From ad326fa290c73a6ca5c9c07ddf607b8007111f12 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Fri, 19 Aug 2022 12:34:07 -0400 Subject: [PATCH] feat: wakuv2 store (#2780) Allows runnning a store node depending on node config settings. --- appdatabase/migrations/bindata.go | 253 +- .../sql/1660134070_add_wakuv2_store.up.sql | 5 + .../1660134072_waku2_store_messages.up.sql | 13 + go.mod | 177 +- go.sum | 1371 +- mailserver/migrations/bindata.go | 19 +- node/status_node_services.go | 3 + nodecfg/node_config.go | 12 + params/config.go | 9 + vendor/github.com/benbjohnson/clock/README.md | 9 +- vendor/github.com/benbjohnson/clock/clock.go | 46 +- .../github.com/benbjohnson/clock/context.go | 86 + .../github.com/btcsuite/btcd/btcec/v2/LICENSE | 16 + .../btcsuite/btcd/btcec/v2/README.md | 40 + .../btcsuite/btcd/btcec/v2/btcec.go | 41 + .../btcsuite/btcd/btcec/v2/ciphering.go | 16 + .../btcsuite/btcd/btcec/v2/curve.go | 63 + .../github.com/btcsuite/btcd/btcec/v2/doc.go | 21 + .../btcsuite/btcd/btcec/v2/ecdsa/error.go | 18 + .../btcsuite/btcd/btcec/v2/ecdsa/signature.go | 240 + .../btcsuite/btcd/btcec/v2/error.go | 19 + .../btcsuite/btcd/btcec/v2/field.go | 43 + .../btcsuite/btcd/btcec/v2/modnscalar.go | 45 + .../btcsuite/btcd/btcec/v2/privkey.go | 37 + .../btcsuite/btcd/btcec/v2/pubkey.go | 51 + .../btcsuite/btcd/chaincfg/chainhash/LICENSE | 16 + .../btcsuite/btcd/chaincfg/chainhash/hash.go | 70 + .../github.com/cespare/xxhash/v2/.travis.yml | 8 - vendor/github.com/cespare/xxhash/v2/README.md | 6 +- vendor/github.com/cespare/xxhash/v2/xxhash.go | 1 - .../cespare/xxhash/v2/xxhash_amd64.s | 62 +- .../cespare/xxhash/v2/xxhash_unsafe.go | 55 +- .../github.com/containerd/cgroups/README.md | 10 +- .../github.com/containerd/cgroups/Vagrantfile | 8 +- vendor/github.com/containerd/cgroups/blkio.go | 9 +- .../github.com/containerd/cgroups/cgroup.go | 161 +- .../github.com/containerd/cgroups/control.go | 43 +- vendor/github.com/containerd/cgroups/opts.go | 2 +- vendor/github.com/containerd/cgroups/paths.go | 9 +- vendor/github.com/containerd/cgroups/rdma.go | 1 + .../containerd/cgroups/stats/v1/metrics.pb.go | 2094 +- .../cgroups/stats/v1/metrics.pb.txt | 6 +- .../containerd/cgroups/subsystem.go | 5 +- .../github.com/containerd/cgroups/systemd.go | 15 +- vendor/github.com/containerd/cgroups/utils.go | 78 +- .../coreos/go-systemd/v22/dbus/dbus.go | 61 +- .../coreos/go-systemd/v22/dbus/methods.go | 452 +- .../decred/dcrd/dcrec/secp256k1/v4/LICENSE | 17 + .../decred/dcrd/dcrec/secp256k1/v4/README.md | 72 + .../secp256k1/v4/compressedbytepoints.go | 11 + .../decred/dcrd/dcrec/secp256k1/v4/curve.go | 943 + .../decred/dcrd/dcrec/secp256k1/v4/doc.go | 58 + .../decred/dcrd/dcrec/secp256k1/v4/ecdh.go | 21 + .../dcrd/dcrec/secp256k1/v4/ecdsa/README.md | 52 + .../dcrd/dcrec/secp256k1/v4/ecdsa/doc.go | 42 + .../dcrd/dcrec/secp256k1/v4/ecdsa/error.go | 116 + .../dcrec/secp256k1/v4/ecdsa/signature.go | 925 + .../dcrec/secp256k1/v4/ellipticadaptor.go | 255 + .../decred/dcrd/dcrec/secp256k1/v4/error.go | 67 + .../decred/dcrd/dcrec/secp256k1/v4/field.go | 1680 + .../dcrd/dcrec/secp256k1/v4/genstatics.go | 196 + .../dcrec/secp256k1/v4/loadprecomputed.go | 91 + .../dcrd/dcrec/secp256k1/v4/modnscalar.go | 1088 + .../decred/dcrd/dcrec/secp256k1/v4/nonce.go | 263 + .../decred/dcrd/dcrec/secp256k1/v4/privkey.go | 77 + .../decred/dcrd/dcrec/secp256k1/v4/pubkey.go | 232 + .../github.com/elastic/gosigar/CHANGELOG.md | 6 + .../elastic/gosigar/sigar_windows.go | 15 +- .../gosigar/sys/windows/syscall_windows.go | 14 +- vendor/github.com/flynn/noise/state.go | 109 + .../github.com/fsnotify/fsnotify/CHANGELOG.md | 20 +- .../fsnotify/fsnotify/CONTRIBUTING.md | 17 - vendor/github.com/fsnotify/fsnotify/README.md | 24 +- .../fsnotify/fsnotify/fsnotify_unsupported.go | 36 + .../github.com/fsnotify/fsnotify/inotify.go | 13 + .../fsnotify/fsnotify/inotify_poller.go | 1 - vendor/github.com/fsnotify/fsnotify/kqueue.go | 13 + .../github.com/fsnotify/fsnotify/windows.go | 28 +- .../go-playground/locales/README.md | 4 +- .../locales/currency/currency.go | 3 + .../universal-translator/Makefile | 18 + .../universal-translator/README.md | 6 +- .../universal-translator/import_export.go | 2 + .../universal-translator/translator.go | 12 +- vendor/github.com/godbus/dbus/v5/.travis.yml | 50 - .../dbus/v5/{README.markdown => README.md} | 14 +- vendor/github.com/godbus/dbus/v5/auth.go | 27 +- vendor/github.com/godbus/dbus/v5/call.go | 9 + vendor/github.com/godbus/dbus/v5/conn.go | 220 +- .../github.com/godbus/dbus/v5/conn_other.go | 9 +- vendor/github.com/godbus/dbus/v5/dbus.go | 18 +- vendor/github.com/godbus/dbus/v5/decoder.go | 16 +- .../godbus/dbus/v5/default_handler.go | 22 +- vendor/github.com/godbus/dbus/v5/doc.go | 10 +- vendor/github.com/godbus/dbus/v5/encoder.go | 61 +- vendor/github.com/godbus/dbus/v5/escape.go | 84 + vendor/github.com/godbus/dbus/v5/export.go | 117 +- vendor/github.com/godbus/dbus/v5/homedir.go | 29 +- .../godbus/dbus/v5/homedir_dynamic.go | 15 - .../godbus/dbus/v5/homedir_static.go | 45 - vendor/github.com/godbus/dbus/v5/match.go | 27 + vendor/github.com/godbus/dbus/v5/message.go | 83 +- vendor/github.com/godbus/dbus/v5/object.go | 65 +- vendor/github.com/godbus/dbus/v5/sequence.go | 24 + .../godbus/dbus/v5/sequential_handler.go | 125 + .../godbus/dbus/v5/server_interfaces.go | 2 +- vendor/github.com/godbus/dbus/v5/sig.go | 68 +- .../godbus/dbus/v5/transport_generic.go | 10 +- .../godbus/dbus/v5/transport_unix.go | 36 +- .../dbus/v5/transport_unixcred_freebsd.go | 1 + .../dbus/v5/transport_unixcred_netbsd.go | 14 + .../godbus/dbus/v5/transport_zos.go | 6 + vendor/github.com/godbus/dbus/v5/variant.go | 8 +- .../golang-migrate/migrate/v4/.dockerignore | 1 - .../golang-migrate/migrate/v4/.gitignore | 2 + .../golang-migrate/migrate/v4/.golangci.yml | 7 +- .../golang-migrate/migrate/v4/.goreleaser.yml | 102 + .../golang-migrate/migrate/v4/.travis.yml | 23 +- .../golang-migrate/migrate/v4/Dockerfile | 23 +- .../migrate/v4/Dockerfile.circleci | 17 + .../migrate/v4/Dockerfile.github-actions | 11 + .../golang-migrate/migrate/v4/FAQ.md | 9 +- .../migrate/v4/GETTING_STARTED.md | 12 +- .../golang-migrate/migrate/v4/Makefile | 25 +- .../golang-migrate/migrate/v4/README.md | 30 +- .../migrate/v4/database/driver.go | 7 +- .../migrate/v4/database/sqlite3/README.md | 16 + .../migrate/v4/database/sqlite3/sqlite3.go | 269 + .../migrate/v4/database/util.go | 14 + .../golang-migrate/migrate/v4/migrate.go | 25 +- .../migrate/v4/source/driver.go | 4 +- .../migrate/v4/source/go_bindata/README.md | 43 + .../v4/source/go_bindata/go-bindata.go | 119 + .../migrate/v4/source/migration.go | 18 +- .../golang-migrate/migrate/v4/util.go | 2 +- vendor/github.com/gorilla/websocket/README.md | 39 +- vendor/github.com/gorilla/websocket/client.go | 77 +- .../gorilla/websocket/client_clone.go | 16 - .../gorilla/websocket/client_clone_legacy.go | 38 - vendor/github.com/gorilla/websocket/conn.go | 63 +- .../gorilla/websocket/conn_write.go | 15 - .../gorilla/websocket/conn_write_legacy.go | 18 - vendor/github.com/gorilla/websocket/mask.go | 1 + .../github.com/gorilla/websocket/mask_safe.go | 1 + vendor/github.com/gorilla/websocket/proxy.go | 2 +- vendor/github.com/gorilla/websocket/server.go | 8 +- .../gorilla/websocket/tls_handshake.go | 21 + .../gorilla/websocket/tls_handshake_116.go | 21 + vendor/github.com/gorilla/websocket/trace.go | 19 - .../github.com/gorilla/websocket/trace_17.go | 12 - .../github.com/hashicorp/errwrap/errwrap.go | 9 + .../hashicorp/go-multierror/.travis.yml | 12 - .../hashicorp/go-multierror/README.md | 69 +- .../hashicorp/go-multierror/append.go | 2 + .../hashicorp/go-multierror/group.go | 38 + .../hashicorp/go-multierror/multierror.go | 82 +- vendor/github.com/huin/goupnp/.gitignore | 3 +- vendor/github.com/huin/goupnp/Makefile | 2 + .../dcps/internetgateway1/internetgateway1.go | 4881 +- .../dcps/internetgateway2/internetgateway2.go | 6977 +- vendor/github.com/huin/goupnp/device.go | 8 +- vendor/github.com/huin/goupnp/goupnp.go | 8 + vendor/github.com/huin/goupnp/httpu/httpu.go | 7 + vendor/github.com/huin/goupnp/scpd/scpd.go | 9 + .../github.com/huin/goupnp/service_client.go | 19 +- vendor/github.com/huin/goupnp/soap/soap.go | 3 +- vendor/github.com/ipfs/go-cid/.travis.yml | 30 - vendor/github.com/ipfs/go-cid/README.md | 9 +- vendor/github.com/ipfs/go-cid/cid.go | 248 +- vendor/github.com/ipfs/go-cid/cid_fuzz.go | 2 +- vendor/github.com/ipfs/go-cid/varint.go | 17 +- vendor/github.com/ipfs/go-cid/version.json | 3 + .../github.com/ipfs/go-ipfs-util/.gitignore | 1 - .../github.com/ipfs/go-ipfs-util/.travis.yml | 32 - vendor/github.com/ipfs/go-ipfs-util/LICENSE | 21 - vendor/github.com/ipfs/go-ipfs-util/README.md | 49 - vendor/github.com/ipfs/go-ipfs-util/file.go | 12 - .../github.com/ipfs/go-ipfs-util/package.json | 28 - vendor/github.com/ipfs/go-ipfs-util/time.go | 22 - vendor/github.com/ipfs/go-ipfs-util/util.go | 158 - vendor/github.com/ipfs/go-log/v2/log.go | 10 + .../karalabe/usb/hidapi/libusb/hid.c | 2 +- .../github.com/karalabe/usb/hidapi/mac/hid.c | 2 +- .../usb/libusb/libusb/os/darwin_usb.c | 6 +- .../usb/libusb/libusb/os/darwin_usb.h | 4 + .../klauspost/compress/.goreleaser.yml | 4 + .../github.com/klauspost/compress/README.md | 65 +- .../klauspost/compress/huff0/autogen.go | 5 + .../klauspost/compress/huff0/bitreader.go | 126 +- .../klauspost/compress/huff0/compress.go | 9 + .../klauspost/compress/huff0/decompress.go | 599 +- .../compress/huff0/decompress_8b_amd64.s | 488 + .../compress/huff0/decompress_8b_amd64.s.in | 197 + .../compress/huff0/decompress_amd64.go | 181 + .../compress/huff0/decompress_amd64.s | 506 + .../compress/huff0/decompress_amd64.s.in | 195 + .../compress/huff0/decompress_generic.go | 193 + .../klauspost/compress/huff0/huff0.go | 2 + .../klauspost/compress/zstd/README.md | 112 +- .../klauspost/compress/zstd/bitreader.go | 19 +- .../klauspost/compress/zstd/bitwriter.go | 22 +- .../klauspost/compress/zstd/blockdec.go | 458 +- .../klauspost/compress/zstd/blockenc.go | 98 +- .../klauspost/compress/zstd/bytebuf.go | 3 + .../klauspost/compress/zstd/decodeheader.go | 98 +- .../klauspost/compress/zstd/decoder.go | 649 +- .../compress/zstd/decoder_options.go | 24 +- .../klauspost/compress/zstd/enc_base.go | 24 +- .../klauspost/compress/zstd/enc_fast.go | 143 +- .../klauspost/compress/zstd/encoder.go | 66 +- .../compress/zstd/encoder_options.go | 11 +- .../klauspost/compress/zstd/framedec.go | 203 +- .../klauspost/compress/zstd/fse_decoder.go | 2 +- .../klauspost/compress/zstd/fse_encoder.go | 5 +- .../klauspost/compress/zstd/fuzz.go | 11 + .../klauspost/compress/zstd/fuzz_none.go | 11 + .../klauspost/compress/zstd/history.go | 46 +- .../zstd/internal/xxhash/xxhash_amd64.s | 1 + .../zstd/internal/xxhash/xxhash_arm64.s | 186 + .../xxhash/{xxhash_amd64.go => xxhash_asm.go} | 8 +- .../zstd/internal/xxhash/xxhash_other.go | 4 +- .../klauspost/compress/zstd/seqdec.go | 353 +- .../github.com/klauspost/compress/zstd/zip.go | 18 +- .../klauspost/compress/zstd/zstd.go | 11 + .../github.com/klauspost/cpuid/v2/README.md | 125 +- vendor/github.com/klauspost/cpuid/v2/cpuid.go | 164 +- .../klauspost/cpuid/v2/detect_arm64.go | 3 +- .../klauspost/cpuid/v2/detect_ref.go | 3 +- .../klauspost/cpuid/v2/detect_x86.go | 3 +- .../klauspost/cpuid/v2/featureid_string.go | 217 +- .../klauspost/cpuid/v2/os_other_arm64.go | 5 +- .../klauspost/cpuid/v2/os_safe_linux_arm64.go | 3 +- .../cpuid/v2/os_unsafe_linux_arm64.go | 3 +- vendor/github.com/leodido/go-urn/.travis.yml | 6 +- vendor/github.com/leodido/go-urn/urn.go | 23 + vendor/github.com/lib/pq/ssl.go | 32 +- vendor/github.com/lib/pq/url.go | 4 +- .../libp2p/go-buffer-pool/.travis.yml | 30 - .../github.com/libp2p/go-buffer-pool/pool.go | 4 +- .../libp2p/go-buffer-pool/version.json | 3 + .../go-conn-security-multistream/README.md | 54 - .../libp2p/go-libp2p-asn-util/asn.go | 10 +- .../go-libp2p-asn-util/ipv6_asn_map.gen.go | 151098 +++++----- .../libp2p/go-libp2p-asn-util/version.json | 3 + .../libp2p/go-libp2p-blankhost/README.md | 38 - .../libp2p/go-libp2p-blankhost/codecov.yml | 3 - .../libp2p/go-libp2p-connmgr/LICENSE | 21 - .../libp2p/go-libp2p-connmgr/README.md | 38 - .../libp2p/go-libp2p-connmgr/connmgr.go | 695 - .../libp2p/go-libp2p-connmgr/decay.go | 355 - .../libp2p/go-libp2p-connmgr/options.go | 61 - .../libp2p/go-libp2p-connmgr/version.json | 3 - .../canonicallog/canonicallog.go | 56 + .../libp2p/go-libp2p-core/crypto/ecdsa.go | 35 +- .../libp2p/go-libp2p-core/crypto/ed25519.go | 15 +- .../go-libp2p-core/crypto/key_not_openssl.go | 2 +- .../go-libp2p-core/crypto/key_openssl.go | 14 +- .../libp2p/go-libp2p-core/crypto/rsa_go.go | 28 +- .../libp2p/go-libp2p-core/crypto/secp256k1.go | 40 +- .../go-libp2p-core/internal/catch/catch.go | 18 + .../libp2p/go-libp2p-core/mux/mux.go | 21 - .../libp2p/go-libp2p-core/network/notifee.go | 25 - .../libp2p/go-libp2p-core/network/rcmgr.go | 5 +- .../go-libp2p-core/peer/addrinfo_serde.go | 8 +- .../libp2p/go-libp2p-core/peer/peer.go | 19 +- .../libp2p/go-libp2p-core/peer/record.go | 11 +- .../libp2p/go-libp2p-core/peer/set.go | 71 - .../libp2p/go-libp2p-core/protocol/switch.go | 3 +- .../libp2p/go-libp2p-core/record/envelope.go | 4 +- .../libp2p/go-libp2p-core/record/record.go | 6 +- .../libp2p/go-libp2p-discovery/.gitignore | 12 - .../libp2p/go-libp2p-discovery/README.md | 32 - .../libp2p/go-libp2p-discovery/routing.go | 113 - .../libp2p/go-libp2p-discovery/util.go | 58 - .../libp2p/go-libp2p-mplex/.gitignore | 1 - .../github.com/libp2p/go-libp2p-mplex/LICENSE | 21 - .../libp2p/go-libp2p-mplex/README.md | 13 - .../libp2p/go-libp2p-mplex/version.json | 3 - .../github.com/libp2p/go-libp2p-nat/LICENSE | 21 - .../github.com/libp2p/go-libp2p-nat/README.md | 46 - .../libp2p/go-libp2p-noise/README.md | 98 - .../go-libp2p-peerstore/addr/addrsrcs.go | 70 - .../go-libp2p-peerstore/pstoreds/addr_book.go | 52 +- .../pstoreds/addr_book_gc.go | 36 +- .../go-libp2p-peerstore/pstoreds/metadata.go | 6 - .../go-libp2p-peerstore/pstoreds/peerstore.go | 3 + .../go-libp2p-peerstore/pstoreds/protobook.go | 23 - .../pstoremem/addr_book.go | 135 +- .../go-libp2p-peerstore/pstoremem/metadata.go | 6 - .../pstoremem/peerstore.go | 13 +- .../pstoremem/protobook.go | 25 +- .../{addr => pstoremem}/sorting.go | 21 +- .../libp2p/go-libp2p-peerstore/version.json | 2 +- .../libp2p/go-libp2p-pnet/.travis.yml | 30 - .../github.com/libp2p/go-libp2p-pnet/LICENSE | 21 - .../libp2p/go-libp2p-pnet/README.md | 36 - .../libp2p/go-libp2p-pnet/codecov.yml | 3 - .../libp2p/go-libp2p-pubsub/.gitignore | 2 + .../libp2p/go-libp2p-pubsub/README.md | 2 +- .../libp2p/go-libp2p-pubsub/backoff.go | 107 + .../libp2p/go-libp2p-pubsub/comm.go | 10 + .../libp2p/go-libp2p-pubsub/discovery.go | 2 +- .../libp2p/go-libp2p-pubsub/gossip_tracer.go | 8 +- .../libp2p/go-libp2p-pubsub/gossipsub.go | 73 +- .../libp2p/go-libp2p-pubsub/mcache.go | 20 +- .../libp2p/go-libp2p-pubsub/midgen.go | 52 + .../libp2p/go-libp2p-pubsub/peer_gater.go | 2 +- .../libp2p/go-libp2p-pubsub/pubsub.go | 84 +- .../libp2p/go-libp2p-pubsub/score.go | 24 +- .../libp2p/go-libp2p-pubsub/score_params.go | 3 + .../libp2p/go-libp2p-pubsub/tag_tracer.go | 16 +- .../libp2p/go-libp2p-pubsub/topic.go | 79 +- .../libp2p/go-libp2p-pubsub/trace.go | 12 +- .../libp2p/go-libp2p-pubsub/validation.go | 2 +- .../go-libp2p-quic-transport/.gitignore | 3 - .../libp2p/go-libp2p-quic-transport/LICENSE | 21 - .../libp2p/go-libp2p-quic-transport/README.md | 35 - .../go-libp2p-quic-transport/version.json | 3 - .../go-libp2p-resource-manager/README.md | 108 +- .../go-libp2p-resource-manager/allowlist.go | 215 + .../go-libp2p-resource-manager/error.go | 81 + .../go-libp2p-resource-manager/extapi.go | 2 +- .../go-libp2p-resource-manager/limit.go | 226 +- .../limit_config.go | 305 - .../limit_config_test.json | 34 +- .../limit_defaults.go | 606 +- .../limit_dynamic.go | 128 - .../limit_static.go | 138 - .../go-libp2p-resource-manager/metrics.go | 8 +- .../go-libp2p-resource-manager/rcmgr.go | 282 +- .../go-libp2p-resource-manager/scope.go | 156 +- .../sys_not_unix.go | 11 + .../go-libp2p-resource-manager/sys_unix.go | 17 + .../go-libp2p-resource-manager/sys_windows.go | 11 + .../go-libp2p-resource-manager/trace.go | 360 +- .../go-libp2p-resource-manager/version.json | 2 +- .../github.com/libp2p/go-libp2p-swarm/LICENSE | 21 - .../libp2p/go-libp2p-swarm/README.md | 75 - .../libp2p/go-libp2p-swarm/version.json | 3 - .../github.com/libp2p/go-libp2p-tls/README.md | 44 - .../libp2p/go-libp2p-tls/codecov.yml | 7 - .../libp2p/go-libp2p-tls/version.json | 3 - .../go-libp2p-transport-upgrader/README.md | 173 - .../go-libp2p-transport-upgrader/version.json | 3 - .../libp2p/go-libp2p-yamux/.gitignore | 1 - .../github.com/libp2p/go-libp2p-yamux/LICENSE | 21 - .../libp2p/go-libp2p-yamux/README.md | 25 - .../libp2p/go-libp2p-yamux/version.json | 3 - vendor/github.com/libp2p/go-libp2p/README.md | 102 +- .../libp2p/go-libp2p/config/config.go | 29 +- .../libp2p/go-libp2p/config/muxer.go | 2 +- .../libp2p/go-libp2p/config/security.go | 4 +- .../github.com/libp2p/go-libp2p/defaults.go | 35 +- vendor/github.com/libp2p/go-libp2p/limits.go | 215 +- vendor/github.com/libp2p/go-libp2p/options.go | 13 +- .../p2p/discovery/backoff}/backoff.go | 6 +- .../p2p/discovery/backoff}/backoffcache.go | 67 +- .../discovery/backoff}/backoffconnector.go | 5 +- .../p2p/discovery/routing/routing.go | 112 - .../go-libp2p/p2p/host/autonat/client.go | 4 + .../go-libp2p/p2p/host/autonat/notify.go | 6 - .../libp2p/go-libp2p/p2p/host/autonat/svc.go | 6 +- .../go-libp2p/p2p/host/autorelay/autorelay.go | 563 +- .../go-libp2p/p2p/host/autorelay/doc.go | 28 - .../go-libp2p/p2p/host/autorelay/log.go | 7 - .../go-libp2p/p2p/host/autorelay/options.go | 155 + .../go-libp2p/p2p/host/autorelay/relay.go | 46 - .../p2p/host/autorelay/relay_finder.go | 612 + .../go-libp2p/p2p/host/basic/basic_host.go | 24 +- .../libp2p/go-libp2p/p2p/host/basic/natmgr.go | 28 +- .../p2p/host/basic/peer_connectedness.go | 6 +- .../p2p/host/blank}/blank.go | 0 .../p2p/host/blank}/peer_connectedness.go | 6 +- .../go-libp2p/p2p/host/routed/routed.go | 8 +- .../p2p/muxer/mplex}/conn.go | 7 +- .../p2p/muxer/mplex}/stream.go | 2 +- .../p2p/muxer/mplex}/transport.go | 4 +- .../muxer/muxer-multistream}/multistream.go | 4 +- .../p2p/muxer/yamux}/conn.go | 7 +- .../p2p/muxer/yamux}/stream.go | 2 +- .../p2p/muxer/yamux}/transport.go | 7 +- .../net/conn-security-multistream}/ssms.go | 0 .../go-libp2p/p2p/net/connmgr/connmgr.go | 6 - .../p2p/net/nat}/mapping.go | 0 .../p2p/net/nat}/nat.go | 6 +- .../p2p/net/pnet}/protector.go | 0 .../p2p/net/pnet}/psk_conn.go | 0 .../p2p/net/reuseport}/dial.go | 2 +- .../p2p/net/reuseport}/listen.go | 2 +- .../p2p/net/reuseport}/multidialer.go | 2 +- .../p2p/net/reuseport}/reuseport.go | 4 +- .../p2p/net/reuseport}/reuseport_plan9.go | 2 +- .../p2p/net/reuseport}/reuseport_posix.go | 2 +- .../p2p/net/reuseport}/singledialer.go | 2 +- .../go-libp2p/p2p/net/reuseport/transport.go | 35 + .../p2p/net/swarm}/addrs.go | 10 +- .../p2p/net/swarm}/dial_error.go | 0 .../p2p/net/swarm}/dial_sync.go | 0 .../p2p/net/swarm}/dial_worker.go | 8 +- .../p2p/net/swarm}/limiter.go | 0 .../p2p/net/swarm}/swarm.go | 41 +- .../p2p/net/swarm}/swarm_addr.go | 0 .../p2p/net/swarm}/swarm_conn.go | 10 - .../p2p/net/swarm}/swarm_dial.go | 39 +- .../p2p/net/swarm}/swarm_listen.go | 52 +- .../p2p/net/swarm}/swarm_stream.go | 19 +- .../p2p/net/swarm}/swarm_transport.go | 0 .../p2p/net/upgrader}/conn.go | 3 +- .../p2p/net/upgrader}/listener.go | 2 +- .../p2p/net/upgrader}/threshold.go | 0 .../p2p/net/upgrader}/upgrader.go | 3 +- .../protocol/circuitv2/client/transport.go | 2 +- .../p2p/protocol/holepunch/coordination.go | 511 - .../p2p/protocol/holepunch/holepuncher.go | 273 + .../go-libp2p/p2p/protocol/holepunch/svc.go | 273 + .../go-libp2p/p2p/protocol/holepunch/util.go | 69 + .../go-libp2p/p2p/protocol/identify/id.go | 30 +- .../p2p/protocol/identify/id_go117.go | 23 + .../p2p/protocol/identify/id_go118.go | 46 + .../p2p/protocol/identify/obsaddr.go | 4 +- .../go-libp2p/p2p/protocol/ping/ping.go | 26 +- .../p2p/security/noise}/LICENSE.md | 0 .../p2p/security/noise}/crypto.go | 0 .../p2p/security/noise}/handshake.go | 36 +- .../p2p/security/noise}/pb/Makefile | 0 .../p2p/security/noise}/pb/payload.pb.go | 0 .../p2p/security/noise}/pb/payload.proto | 0 .../p2p/security/noise}/rw.go | 7 +- .../p2p/security/noise}/session.go | 0 .../p2p/security/noise}/transport.go | 11 +- .../p2p/security/tls}/LICENSE.md | 0 .../p2p/security/tls}/conn.go | 0 .../p2p/security/tls}/crypto.go | 12 +- .../p2p/security/tls}/extension.go | 0 .../p2p/security/tls}/transport.go | 62 +- .../p2p/transport/quic}/conn.go | 12 +- .../p2p/transport/quic}/listener.go | 38 +- .../p2p/transport/quic}/quic_multiaddr.go | 0 .../p2p/transport/quic}/reuse.go | 0 .../p2p/transport/quic}/stream.go | 0 .../p2p/transport/quic}/tracer.go | 0 .../p2p/transport/quic}/tracer_metrics.go | 0 .../p2p/transport/quic}/transport.go | 42 +- .../p2p/transport/tcp}/metrics.go | 0 .../p2p/transport/tcp}/metrics_darwin.go | 0 .../p2p/transport/tcp}/metrics_general.go | 0 .../p2p/transport/tcp}/metrics_linux.go | 0 .../p2p/transport/tcp}/metrics_windows.go | 0 .../p2p/transport/tcp}/reuseport.go | 0 .../p2p/transport/tcp}/tcp.go | 18 +- .../p2p/transport/websocket}/LICENSE-APACHE | 0 .../p2p/transport/websocket}/LICENSE-MIT | 0 .../p2p/transport/websocket}/addrs.go | 0 .../p2p/transport/websocket}/conn.go | 0 .../p2p/transport/websocket}/listener.go | 0 .../p2p/transport/websocket}/websocket.go | 4 +- .../github.com/libp2p/go-libp2p/version.json | 2 +- .../github.com/libp2p/go-mplex/multiplex.go | 14 + .../github.com/libp2p/go-mplex/version.json | 2 +- vendor/github.com/libp2p/go-msgio/README.md | 19 - .../libp2p/go-msgio/protoio/uvarint_reader.go | 12 +- .../libp2p/go-msgio/protoio/uvarint_writer.go | 10 + .../github.com/libp2p/go-msgio/version.json | 3 + .../libp2p/go-reuseport-transport/LICENSE | 21 - .../libp2p/go-reuseport-transport/README.md | 49 - .../go-reuseport-transport/transport.go | 25 - .../libp2p/go-reuseport/version.json | 3 + .../go-stream-muxer-multistream/.gitignore | 1 - .../go-stream-muxer-multistream/LICENSE | 21 - .../go-stream-muxer-multistream/Makefile | 19 - .../go-stream-muxer-multistream/README.md | 13 - .../go-stream-muxer-multistream/version.json | 3 - .../libp2p/go-tcp-transport/LICENSE | 21 - .../libp2p/go-tcp-transport/README.md | 144 - .../libp2p/go-tcp-transport/codecov.yml | 3 - .../libp2p/go-tcp-transport/version.json | 3 - .../libp2p/go-ws-transport/.gitignore | 1 - .../libp2p/go-ws-transport/README.md | 140 - .../libp2p/go-ws-transport/version.json | 3 - .../github.com/libp2p/go-yamux/v3/session.go | 46 +- .../github.com/libp2p/go-yamux/v3/stream.go | 8 +- .../libp2p/go-yamux/v3/version.json | 2 +- .../lucas-clemente/quic-go/.golangci.yml | 1 - .../lucas-clemente/quic-go/README.md | 13 +- .../lucas-clemente/quic-go/client.go | 68 +- .../{closed_session.go => closed_conn.go} | 48 +- .../lucas-clemente/quic-go/config.go | 2 +- .../quic-go/{session.go => connection.go} | 279 +- .../lucas-clemente/quic-go/interface.go | 76 +- .../quic-go/internal/handshake/aead.go | 12 +- .../internal/handshake/crypto_setup.go | 49 +- .../internal/handshake/header_protector.go | 23 +- .../internal/handshake/initial_aead.go | 35 +- .../internal/handshake/updatable_aead.go | 24 +- .../quic-go/internal/protocol/params.go | 22 +- .../quic-go/internal/protocol/version.go | 5 +- .../quic-go/internal/qtls/go118.go | 4 +- .../quic-go/internal/qtls/go119.go | 96 +- .../quic-go/internal/qtls/go120.go | 6 + .../quic-go/internal/qtls/go_oldversion.go | 7 + .../quic-go/internal/wire/extended_header.go | 36 +- .../quic-go/internal/wire/header.go | 39 +- .../internal/wire/transport_parameters.go | 2 +- .../internal/wire/version_negotiation.go | 4 +- .../lucas-clemente/quic-go/logging/types.go | 8 +- .../lucas-clemente/quic-go/mockgen.go | 4 +- .../lucas-clemente/quic-go/mtu_discoverer.go | 12 +- .../lucas-clemente/quic-go/multiplexer.go | 2 +- .../quic-go/packet_handler_map.go | 82 +- .../lucas-clemente/quic-go/quicvarint/io.go | 5 +- .../lucas-clemente/quic-go/receive_stream.go | 10 +- .../lucas-clemente/quic-go/send_conn.go | 8 +- .../lucas-clemente/quic-go/send_queue.go | 8 +- .../lucas-clemente/quic-go/send_stream.go | 8 + .../lucas-clemente/quic-go/server.go | 147 +- .../quic-go/{conn.go => sys_conn.go} | 37 +- .../lucas-clemente/quic-go/sys_conn_df.go | 16 + .../quic-go/sys_conn_df_linux.go | 40 + .../quic-go/sys_conn_df_windows.go | 46 + ...er_darwin.go => sys_conn_helper_darwin.go} | 5 +- ..._freebsd.go => sys_conn_helper_freebsd.go} | 3 +- ...lper_linux.go => sys_conn_helper_linux.go} | 5 +- .../{conn_generic.go => sys_conn_no_oob.go} | 4 +- .../quic-go/{conn_oob.go => sys_conn_oob.go} | 2 +- .../{conn_windows.go => sys_conn_windows.go} | 19 +- .../marten-seemann/qtls-go1-16/common.go | 14 - .../marten-seemann/qtls-go1-16/common_js.go | 12 + .../marten-seemann/qtls-go1-16/common_nojs.go | 20 + .../qtls-go1-17/cipher_suites.go | 14 - .../marten-seemann/qtls-go1-17/conn.go | 11 + .../marten-seemann/qtls-go1-17/cpu.go | 22 + .../marten-seemann/qtls-go1-17/cpu_other.go | 12 + .../qtls-go1-17/handshake_server_tls13.go | 1 + .../marten-seemann/qtls-go1-17/ticket.go | 15 + .../qtls-go1-18/cipher_suites.go | 14 - .../marten-seemann/qtls-go1-18/conn.go | 11 + .../marten-seemann/qtls-go1-18/cpu.go | 22 + .../marten-seemann/qtls-go1-18/cpu_other.go | 12 + .../qtls-go1-18/handshake_server_tls13.go | 1 + .../marten-seemann/qtls-go1-18/ticket.go | 15 + .../marten-seemann/qtls-go1-19/LICENSE | 27 + .../marten-seemann/qtls-go1-19/README.md | 6 + .../marten-seemann/qtls-go1-19/alert.go | 102 + .../marten-seemann/qtls-go1-19/auth.go | 293 + .../qtls-go1-19/cipher_suites.go | 693 + .../marten-seemann/qtls-go1-19/common.go | 1512 + .../marten-seemann/qtls-go1-19/conn.go | 1610 + .../marten-seemann/qtls-go1-19/cpu.go | 22 + .../marten-seemann/qtls-go1-19/cpu_other.go | 12 + .../qtls-go1-19/handshake_client.go | 1117 + .../qtls-go1-19/handshake_client_tls13.go | 736 + .../qtls-go1-19/handshake_messages.go | 1843 + .../qtls-go1-19/handshake_server.go | 905 + .../qtls-go1-19/handshake_server_tls13.go | 900 + .../qtls-go1-19/key_agreement.go | 357 + .../qtls-go1-19/key_schedule.go | 199 + .../marten-seemann/qtls-go1-19/notboring.go | 18 + .../marten-seemann/qtls-go1-19/prf.go | 283 + .../marten-seemann/qtls-go1-19/ticket.go | 274 + .../marten-seemann/qtls-go1-19/tls.go | 362 + .../marten-seemann/qtls-go1-19/unsafe.go | 96 + vendor/github.com/mattn/go-sqlite3/.gitignore | 14 + .../github.com/mattn/go-sqlite3/.travis.yml | 33 + .../go-sqlite3}/LICENSE | 10 +- vendor/github.com/mattn/go-sqlite3/README.md | 570 + .../_example/mod_regexp/sqlite3_mod_regexp.c | 31 + .../go-sqlite3/_example/mod_vtable/picojson.h | 1040 + vendor/github.com/mattn/go-sqlite3/backup.go | 85 + .../github.com/mattn/go-sqlite3/callback.go | 398 + vendor/github.com/mattn/go-sqlite3/convert.go | 299 + vendor/github.com/mattn/go-sqlite3/doc.go | 112 + vendor/github.com/mattn/go-sqlite3/error.go | 150 + .../mattn/go-sqlite3/sqlite3-binding.c | 225422 +++++++++++++++ .../mattn/go-sqlite3/sqlite3-binding.h | 11958 + vendor/github.com/mattn/go-sqlite3/sqlite3.go | 2112 + .../mattn/go-sqlite3/sqlite3_context.go | 103 + .../mattn/go-sqlite3/sqlite3_func_crypt.go | 120 + .../mattn/go-sqlite3/sqlite3_go18.go | 70 + .../mattn/go-sqlite3/sqlite3_libsqlite3.go | 18 + .../go-sqlite3/sqlite3_load_extension.go | 70 + .../go-sqlite3/sqlite3_load_extension_omit.go | 24 + .../sqlite3_opt_allow_uri_authority.go | 15 + .../mattn/go-sqlite3/sqlite3_opt_app_armor.go | 16 + .../go-sqlite3/sqlite3_opt_foreign_keys.go | 15 + .../mattn/go-sqlite3/sqlite3_opt_fts5.go | 14 + .../mattn/go-sqlite3/sqlite3_opt_icu.go | 17 + .../go-sqlite3/sqlite3_opt_introspect.go | 15 + .../mattn/go-sqlite3/sqlite3_opt_json1.go | 13 + .../mattn/go-sqlite3/sqlite3_opt_preupdate.go | 20 + .../go-sqlite3/sqlite3_opt_preupdate_hook.go | 112 + .../go-sqlite3/sqlite3_opt_preupdate_omit.go | 21 + .../go-sqlite3/sqlite3_opt_secure_delete.go | 15 + .../sqlite3_opt_secure_delete_fast.go | 15 + .../mattn/go-sqlite3/sqlite3_opt_stat4.go | 15 + .../go-sqlite3/sqlite3_opt_unlock_notify.c | 85 + .../go-sqlite3/sqlite3_opt_unlock_notify.go | 93 + .../mattn/go-sqlite3/sqlite3_opt_userauth.go | 289 + .../go-sqlite3/sqlite3_opt_userauth_omit.go | 152 + .../go-sqlite3/sqlite3_opt_vacuum_full.go | 15 + .../go-sqlite3/sqlite3_opt_vacuum_incr.go | 15 + .../mattn/go-sqlite3/sqlite3_opt_vtable.go | 650 + .../mattn/go-sqlite3/sqlite3_other.go | 17 + .../mattn/go-sqlite3/sqlite3_solaris.go | 14 + .../mattn/go-sqlite3/sqlite3_trace.go | 289 + .../mattn/go-sqlite3/sqlite3_type.go | 62 + .../go-sqlite3/sqlite3_usleep_windows.go | 39 + .../mattn/go-sqlite3/sqlite3_windows.go | 18 + .../github.com/mattn/go-sqlite3/sqlite3ext.h | 643 + .../mattn/go-sqlite3/static_mock.go | 26 + vendor/github.com/miekg/dns/README.md | 4 + vendor/github.com/miekg/dns/acceptfunc.go | 2 +- vendor/github.com/miekg/dns/client.go | 127 +- vendor/github.com/miekg/dns/defaults.go | 5 + vendor/github.com/miekg/dns/dnssec.go | 48 +- vendor/github.com/miekg/dns/doc.go | 2 +- vendor/github.com/miekg/dns/edns.go | 98 +- vendor/github.com/miekg/dns/hash.go | 31 + vendor/github.com/miekg/dns/msg.go | 14 +- vendor/github.com/miekg/dns/msg_helpers.go | 26 +- vendor/github.com/miekg/dns/server.go | 42 +- vendor/github.com/miekg/dns/sig0.go | 51 +- vendor/github.com/miekg/dns/svcb.go | 330 +- vendor/github.com/miekg/dns/tools.go | 9 + vendor/github.com/miekg/dns/tsig.go | 65 +- vendor/github.com/miekg/dns/update.go | 4 +- vendor/github.com/miekg/dns/version.go | 2 +- vendor/github.com/miekg/dns/xfr.go | 27 +- .../github.com/minio/blake2b-simd/.gitignore | 1 - .../github.com/minio/blake2b-simd/.travis.yml | 21 - vendor/github.com/minio/blake2b-simd/LICENSE | 202 - .../github.com/minio/blake2b-simd/README.md | 144 - .../minio/blake2b-simd/appveyor.yml | 32 - .../github.com/minio/blake2b-simd/blake2b.go | 301 - .../minio/blake2b-simd/compressAvx2_amd64.go | 47 - .../minio/blake2b-simd/compressAvx2_amd64.s | 671 - .../minio/blake2b-simd/compressAvx_amd64.go | 41 - .../minio/blake2b-simd/compressAvx_amd64.s | 682 - .../minio/blake2b-simd/compressSse_amd64.go | 41 - .../minio/blake2b-simd/compressSse_amd64.s | 770 - .../minio/blake2b-simd/compress_amd64.go | 30 - .../minio/blake2b-simd/compress_generic.go | 1419 - .../minio/blake2b-simd/compress_noasm.go | 23 - vendor/github.com/minio/blake2b-simd/cpuid.go | 60 - .../github.com/minio/blake2b-simd/cpuid_386.s | 33 - .../minio/blake2b-simd/cpuid_amd64.s | 34 - .../multiformats/go-base32/base32.go | 97 +- .../multiformats/go-multiaddr/multiaddr.go | 10 + .../multiformats/go-multiaddr/net/convert.go | 28 + .../multiformats/go-multiaddr/protocols.go | 25 + .../multiformats/go-multiaddr/transcoders.go | 34 + .../multiformats/go-multiaddr/version.json | 2 +- .../multiformats/go-multibase/.travis.yml | 30 - .../multiformats/go-multibase/base256emoji.go | 95 + .../multiformats/go-multibase/encoder.go | 14 +- .../multiformats/go-multibase/multibase.go | 53 +- .../multiformats/go-multibase/version.json | 3 + .../multiformats/go-multicodec/.gitmodules | 3 + .../multiformats/go-multicodec/LICENSE | 14 + .../multiformats/go-multicodec/LICENSE-APACHE | 7 + .../go-multicodec/LICENSE-MIT} | 4 +- .../multiformats/go-multicodec/README.md | 87 + .../multiformats/go-multicodec/code.go | 88 + .../multiformats/go-multicodec/code_string.go | 998 + .../multiformats/go-multicodec/code_table.go | 2479 + .../multiformats/go-multicodec/version.json | 3 + .../multiformats/go-multihash/.travis.yml | 30 - .../multiformats/go-multihash/Makefile | 11 - .../multiformats/go-multihash/core/magic.go | 38 +- .../go-multihash/core/registry.go | 4 + .../multiformats/go-multihash/multihash.go | 19 +- .../register/all/multihash_all.go | 2 + .../register/blake2/multihash_blake2.go | 40 +- .../register/blake3/multihash_blake3.go | 23 + .../register/murmur3/multihash_murmur3.go | 40 + .../multiformats/go-multihash/sum.go | 28 +- .../multiformats/go-multihash/version.json | 3 + .../multiformats/go-multistream/.gitignore | 1 + .../multiformats/go-multistream/.travis.yml | 30 - .../multiformats/go-multistream/Makefile | 13 - .../multiformats/go-multistream/README.md | 4 - .../multiformats/go-multistream/cases.md | 0 .../multiformats/go-multistream/client.go | 49 +- .../multiformats/go-multistream/lazyClient.go | 4 + .../multiformats/go-multistream/lazyServer.go | 51 - .../go-multistream/multistream-fuzz.zip | Bin 2339352 -> 0 bytes .../go-multistream/multistream.go | 207 +- .../go-multistream/multistream_fuzz.go | 1 + .../multiformats/go-multistream/version.json | 3 + .../runtime-spec/specs-go/config.go | 45 +- .../runtime-spec/specs-go/state.go | 41 +- .../runtime-spec/specs-go/version.go | 2 +- .../client_golang/prometheus/README.md | 2 +- .../prometheus/build_info_collector.go | 38 + .../client_golang/prometheus/collector.go | 8 + .../client_golang/prometheus/counter.go | 8 +- .../client_golang/prometheus/go_collector.go | 494 +- .../prometheus/go_collector_go116.go | 107 + .../prometheus/go_collector_go117.go | 408 + .../client_golang/prometheus/histogram.go | 28 + .../prometheus/internal/go_runtime_metrics.go | 142 + .../prometheus/process_collector_other.go | 1 + .../client_golang/prometheus/value.go | 6 +- .../prometheus/common/expfmt/fuzz.go | 1 + .../common/expfmt/openmetrics_create.go | 4 +- .../prometheus/common/model/time.go | 2 +- .../github.com/shopspring/decimal/.gitignore | 4 + .../github.com/shopspring/decimal/.travis.yml | 6 +- .../shopspring/decimal/CHANGELOG.md | 19 + .../github.com/shopspring/decimal/README.md | 22 +- .../shopspring/decimal/decimal-go.go | 1 + .../github.com/shopspring/decimal/decimal.go | 475 +- .../github.com/shopspring/decimal/rounding.go | 1 + .../github.com/spaolacci/murmur3/.gitignore | 22 + .../github.com/spaolacci/murmur3/.travis.yml | 7 + vendor/github.com/spaolacci/murmur3/LICENSE | 24 + vendor/github.com/spaolacci/murmur3/README.md | 86 + vendor/github.com/spaolacci/murmur3/murmur.go | 64 + .../github.com/spaolacci/murmur3/murmur128.go | 203 + .../github.com/spaolacci/murmur3/murmur32.go | 167 + .../github.com/spaolacci/murmur3/murmur64.go | 57 + .../github.com/status-im/go-discover/COPYING | 674 - .../status-im/go-discover/COPYING.LESSER | 165 + .../status-im/go-multiaddr-ethv4/protocol.go | 6 +- .../go-rln}/LICENSE | 13 +- .../github.com/status-im/go-rln/rln/librln.h | 37 + .../github.com/status-im/go-rln/rln/link.go | 25 + vendor/github.com/status-im/go-rln/rln/rln.go | 294 + .../status-im/go-rln/rln/serialize.go | 38 + .../github.com/status-im/go-rln/rln/types.go | 233 + .../github.com/status-im/go-rln/rln/utils.go | 36 + .../status-im/go-waku/logging/README.md | 27 + .../status-im/go-waku/logging/context.go | 22 + .../status-im/go-waku/logging/logging.go | 129 + .../go-waku/waku/persistence/db_key.go | 50 + .../waku/persistence/migrations/bindata.go | 320 + .../waku/persistence/migrations/migrate.go | 51 + .../persistence/migrations/no_migrations.go | 13 + .../go-waku/waku/persistence/rendezvous.go | 6 + .../go-waku/waku/persistence/store.go | 341 +- .../status-im/go-waku/waku/v2/broadcast.go | 95 +- .../go-waku/waku/v2/discv5/discover.go | 183 +- .../status-im/go-waku/waku/v2/dnsdisc/enr.go | 43 +- .../go-waku/waku/v2/metrics/metrics.go | 6 +- .../go-waku/waku/v2/node/connectedness.go | 33 +- .../status-im/go-waku/waku/v2/node/const.go | 7 + .../go-waku/waku/v2/node/keepalive.go | 26 +- .../go-waku/waku/v2/node/localnode.go | 236 + .../go-waku/waku/v2/node/waku_payload.go | 29 +- .../go-waku/waku/v2/node/wakunode2.go | 196 +- .../go-waku/waku/v2/node/wakunode2_no_rln.go | 13 + .../go-waku/waku/v2/node/wakunode2_rln.go | 96 + .../go-waku/waku/v2/node/wakuoptions.go | 122 +- .../go-waku/waku/v2/node/wakuoptions_rln.go | 41 + .../go-waku/waku/v2/noise/handshake.go | 248 + .../go-waku/waku/v2/noise/patterns.go | 73 + .../go-waku/waku/v2/noise/payload.go | 306 + .../go-waku/waku/v2/protocol/envelope.go | 37 +- .../waku/v2/protocol/filter/filter_map.go | 3 +- .../v2/protocol/filter/filter_subscribers.go | 46 +- .../waku/v2/protocol/filter/waku_filter.go | 106 +- .../v2/protocol/filter/waku_filter_option.go | 6 +- .../v2/protocol/lightpush/waku_lightpush.go | 43 +- .../lightpush/waku_lightpush_option.go | 22 +- .../waku/v2/protocol/pb/waku_message.pb.go | 534 +- .../waku/v2/protocol/pb/waku_message.proto | 11 +- .../waku/v2/protocol/relay/waku_relay.go | 45 +- .../go-waku/waku/v2/protocol/rln/bindata.go | 274 + .../waku/v2/protocol/rln/contracts/RLN.go | 1186 + .../waku/v2/protocol/rln/contracts/RLN.sol | 96 + .../v2/protocol/rln/contracts/generate.go | 3 + .../go-waku/waku/v2/protocol/rln/doc.go | 3 + .../waku/v2/protocol/rln/parameters.key | Bin 0 -> 2392664 bytes .../waku/v2/protocol/rln/rln_relay_builder.go | 170 + .../go-waku/waku/v2/protocol/rln/types.go | 10 + .../waku/v2/protocol/rln/waku_rln_relay.go | 406 + .../go-waku/waku/v2/protocol/rln/web3.go | 205 + .../waku/v2/protocol/store/message_queue.go | 139 - .../waku/v2/protocol/store/waku_store.go | 451 +- .../waku/v2/protocol/swap/waku_swap.go | 9 +- .../status-im/go-waku/waku/v2/utils/crypto.go | 23 + .../status-im/go-waku/waku/v2/utils/enr.go | 46 +- .../status-im/go-waku/waku/v2/utils/logger.go | 53 +- .../status-im/go-waku/waku/v2/utils/peer.go | 17 +- .../status-im/go-waku/waku/v2/utils/time.go | 2 +- .../testify/assert/assertion_compare.go | 24 +- .../assert/assertion_compare_can_convert.go | 2 +- .../testify/assert/assertion_format.go | 10 + .../testify/assert/assertion_forward.go | 20 + .../stretchr/testify/assert/assertions.go | 78 +- .../stretchr/testify/require/require.go | 26 + .../testify/require/require_forward.go | 20 + .../stretchr/testify/suite/suite.go | 25 +- .../syndtr/goleveldb/leveldb/batch.go | 68 +- .../syndtr/goleveldb/leveldb/cache/cache.go | 527 +- .../syndtr/goleveldb/leveldb/cache/lru.go | 41 +- .../github.com/syndtr/goleveldb/leveldb/db.go | 64 +- .../syndtr/goleveldb/leveldb/db_compaction.go | 49 +- .../syndtr/goleveldb/leveldb/db_iter.go | 5 - .../syndtr/goleveldb/leveldb/db_state.go | 15 +- .../goleveldb/leveldb/db_transaction.go | 4 +- .../syndtr/goleveldb/leveldb/db_write.go | 5 +- .../syndtr/goleveldb/leveldb/errors/errors.go | 3 +- .../goleveldb/leveldb/iterator/array_iter.go | 5 +- .../leveldb/iterator/indexed_iter.go | 7 +- .../goleveldb/leveldb/iterator/merged_iter.go | 102 +- .../goleveldb/leveldb/journal/journal.go | 14 +- .../syndtr/goleveldb/leveldb/key.go | 6 +- .../syndtr/goleveldb/leveldb/opt/options.go | 63 +- .../goleveldb/leveldb/opt/options_darwin.go | 1 + .../goleveldb/leveldb/opt/options_default.go | 1 + .../syndtr/goleveldb/leveldb/session.go | 8 +- .../goleveldb/leveldb/session_compaction.go | 6 +- .../goleveldb/leveldb/session_record.go | 2 +- .../syndtr/goleveldb/leveldb/session_util.go | 18 +- .../goleveldb/leveldb/storage/file_storage.go | 22 +- .../leveldb/storage/file_storage_nacl.go | 1 + .../leveldb/storage/file_storage_solaris.go | 1 + .../leveldb/storage/file_storage_unix.go | 1 + .../goleveldb/leveldb/storage/mem_storage.go | 1 - .../goleveldb/leveldb/storage/storage.go | 3 +- .../syndtr/goleveldb/leveldb/table.go | 102 +- .../syndtr/goleveldb/leveldb/table/reader.go | 2 +- .../syndtr/goleveldb/leveldb/table/writer.go | 65 +- .../syndtr/goleveldb/leveldb/util.go | 11 +- .../goleveldb/leveldb/util/buffer_pool.go | 12 +- .../syndtr/goleveldb/leveldb/version.go | 6 +- .../multiaddr-filter/.gxlastpubver | 1 - .../whyrusleeping/multiaddr-filter/LICENSE | 21 - .../whyrusleeping/multiaddr-filter/README.md | 15 - .../whyrusleeping/multiaddr-filter/mask.go | 47 - .../multiaddr-filter/package.json | 12 - vendor/go.uber.org/multierr/CHANGELOG.md | 6 + vendor/go.uber.org/multierr/error.go | 19 +- vendor/go.uber.org/zap/CHANGELOG.md | 28 + vendor/go.uber.org/zap/CONTRIBUTING.md | 21 +- vendor/go.uber.org/zap/README.md | 59 +- vendor/go.uber.org/zap/array_go118.go | 124 + vendor/go.uber.org/zap/config.go | 4 +- vendor/go.uber.org/zap/doc.go | 60 +- vendor/go.uber.org/zap/encoder.go | 2 +- vendor/go.uber.org/zap/http_handler.go | 25 +- vendor/go.uber.org/zap/internal/exit/exit.go | 22 +- vendor/go.uber.org/zap/logger.go | 48 +- vendor/go.uber.org/zap/options.go | 20 +- vendor/go.uber.org/zap/sugar.go | 116 +- vendor/go.uber.org/zap/writer.go | 5 +- .../zap/zapcore/buffered_write_syncer.go | 31 + vendor/go.uber.org/zap/zapcore/encoder.go | 9 +- vendor/go.uber.org/zap/zapcore/entry.go | 71 +- vendor/go.uber.org/zap/zapcore/error.go | 14 +- .../go.uber.org/zap/zapcore/json_encoder.go | 4 +- vendor/go.uber.org/zap/zapcore/sampler.go | 14 +- .../x/crypto/chacha20/chacha_s390x.go | 1 + .../golang.org/x/crypto/cryptobyte/builder.go | 14 +- .../curve25519/internal/field/fe_amd64.go | 3 + .../x/crypto/internal/poly1305/sum_generic.go | 5 +- .../x/crypto/internal/poly1305/sum_s390x.go | 1 + vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go | 2 +- .../x/crypto/poly1305/poly1305_compat.go | 91 - vendor/golang.org/x/crypto/scrypt/scrypt.go | 2 +- vendor/golang.org/x/crypto/sha3/doc.go | 12 +- vendor/golang.org/x/crypto/sha3/sha3.go | 2 +- vendor/golang.org/x/crypto/sha3/sha3_s390x.go | 2 + .../x/mod/internal/lazyregexp/lazyre.go | 78 + vendor/golang.org/x/mod/module/module.go | 69 +- vendor/golang.org/x/mod/module/pseudo.go | 250 + vendor/golang.org/x/mod/semver/semver.go | 30 +- vendor/golang.org/x/net/bpf/doc.go | 6 +- vendor/golang.org/x/net/context/context.go | 6 +- vendor/golang.org/x/net/context/go17.go | 10 +- vendor/golang.org/x/net/context/pre_go17.go | 10 +- .../x/net/dns/dnsmessage/message.go | 1 + vendor/golang.org/x/net/idna/trieval.go | 34 +- .../x/net/internal/socket/zsys_linux_ppc.go | 32 +- vendor/golang.org/x/net/ipv4/doc.go | 12 +- vendor/golang.org/x/net/ipv6/doc.go | 12 +- vendor/golang.org/x/net/publicsuffix/list.go | 7 +- vendor/golang.org/x/net/publicsuffix/table.go | 2 + vendor/golang.org/x/sync/errgroup/errgroup.go | 69 +- vendor/golang.org/x/sys/cpu/byteorder.go | 1 + vendor/golang.org/x/sys/cpu/cpu.go | 4 +- vendor/golang.org/x/sys/cpu/cpu_loong64.go | 13 + .../golang.org/x/sys/cpu/syscall_aix_gccgo.go | 2 +- vendor/golang.org/x/sys/execabs/execabs.go | 2 +- .../golang.org/x/sys/execabs/execabs_go118.go | 12 + .../golang.org/x/sys/execabs/execabs_go119.go | 15 + vendor/golang.org/x/sys/plan9/syscall.go | 1 + .../golang.org/x/sys/plan9/syscall_plan9.go | 10 + .../golang.org/x/sys/unix/asm_linux_loong64.s | 54 + vendor/golang.org/x/sys/unix/endian_little.go | 4 +- vendor/golang.org/x/sys/unix/ifreq_linux.go | 9 +- vendor/golang.org/x/sys/unix/ioctl_linux.go | 23 + vendor/golang.org/x/sys/unix/mkerrors.sh | 7 + vendor/golang.org/x/sys/unix/syscall_aix.go | 22 +- vendor/golang.org/x/sys/unix/syscall_bsd.go | 35 +- .../golang.org/x/sys/unix/syscall_darwin.go | 47 +- .../x/sys/unix/syscall_dragonfly.go | 11 +- .../golang.org/x/sys/unix/syscall_freebsd.go | 9 +- vendor/golang.org/x/sys/unix/syscall_linux.go | 204 +- .../x/sys/unix/syscall_linux_386.go | 12 +- .../x/sys/unix/syscall_linux_alarm.go | 14 + .../x/sys/unix/syscall_linux_amd64.go | 6 +- .../x/sys/unix/syscall_linux_arm.go | 5 +- .../x/sys/unix/syscall_linux_arm64.go | 6 +- .../x/sys/unix/syscall_linux_loong64.go | 191 + .../x/sys/unix/syscall_linux_mips64x.go | 5 +- .../x/sys/unix/syscall_linux_mipsx.go | 5 +- .../x/sys/unix/syscall_linux_ppc.go | 5 +- .../x/sys/unix/syscall_linux_ppc64x.go | 5 +- .../x/sys/unix/syscall_linux_riscv64.go | 5 +- .../x/sys/unix/syscall_linux_s390x.go | 13 +- .../x/sys/unix/syscall_linux_sparc64.go | 5 +- .../golang.org/x/sys/unix/syscall_netbsd.go | 9 +- .../golang.org/x/sys/unix/syscall_openbsd.go | 11 +- .../golang.org/x/sys/unix/syscall_solaris.go | 152 +- vendor/golang.org/x/sys/unix/syscall_unix.go | 51 + vendor/golang.org/x/sys/unix/zerrors_linux.go | 76 +- .../x/sys/unix/zerrors_linux_386.go | 5 +- .../x/sys/unix/zerrors_linux_amd64.go | 5 +- .../x/sys/unix/zerrors_linux_arm.go | 5 +- .../x/sys/unix/zerrors_linux_arm64.go | 5 +- .../x/sys/unix/zerrors_linux_loong64.go | 818 + .../x/sys/unix/zerrors_linux_mips.go | 5 +- .../x/sys/unix/zerrors_linux_mips64.go | 5 +- .../x/sys/unix/zerrors_linux_mips64le.go | 5 +- .../x/sys/unix/zerrors_linux_mipsle.go | 5 +- .../x/sys/unix/zerrors_linux_ppc.go | 5 +- .../x/sys/unix/zerrors_linux_ppc64.go | 5 +- .../x/sys/unix/zerrors_linux_ppc64le.go | 5 +- .../x/sys/unix/zerrors_linux_riscv64.go | 5 +- .../x/sys/unix/zerrors_linux_s390x.go | 5 +- .../x/sys/unix/zerrors_linux_sparc64.go | 5 +- .../golang.org/x/sys/unix/zsyscall_aix_ppc.go | 4 +- .../x/sys/unix/zsyscall_aix_ppc64.go | 4 +- .../x/sys/unix/zsyscall_darwin_amd64.go | 41 +- .../x/sys/unix/zsyscall_darwin_amd64.s | 14 +- .../x/sys/unix/zsyscall_darwin_arm64.go | 41 +- .../x/sys/unix/zsyscall_darwin_arm64.s | 14 +- .../x/sys/unix/zsyscall_freebsd_386.go | 4 +- .../x/sys/unix/zsyscall_freebsd_amd64.go | 4 +- .../x/sys/unix/zsyscall_freebsd_arm.go | 4 +- .../x/sys/unix/zsyscall_freebsd_arm64.go | 4 +- .../golang.org/x/sys/unix/zsyscall_linux.go | 119 + .../x/sys/unix/zsyscall_linux_386.go | 17 +- .../x/sys/unix/zsyscall_linux_amd64.go | 39 +- .../x/sys/unix/zsyscall_linux_arm.go | 15 +- .../x/sys/unix/zsyscall_linux_arm64.go | 26 +- .../x/sys/unix/zsyscall_linux_loong64.go | 552 + .../x/sys/unix/zsyscall_linux_mips.go | 28 +- .../x/sys/unix/zsyscall_linux_mips64.go | 28 +- .../x/sys/unix/zsyscall_linux_mips64le.go | 15 +- .../x/sys/unix/zsyscall_linux_mipsle.go | 28 +- .../x/sys/unix/zsyscall_linux_ppc.go | 28 +- .../x/sys/unix/zsyscall_linux_ppc64.go | 28 +- .../x/sys/unix/zsyscall_linux_ppc64le.go | 28 +- .../x/sys/unix/zsyscall_linux_riscv64.go | 15 +- .../x/sys/unix/zsyscall_linux_s390x.go | 17 +- .../x/sys/unix/zsyscall_linux_sparc64.go | 28 +- .../x/sys/unix/zsyscall_netbsd_386.go | 4 +- .../x/sys/unix/zsyscall_netbsd_amd64.go | 4 +- .../x/sys/unix/zsyscall_netbsd_arm.go | 4 +- .../x/sys/unix/zsyscall_netbsd_arm64.go | 4 +- .../x/sys/unix/zsyscall_openbsd_386.go | 4 +- .../x/sys/unix/zsyscall_openbsd_amd64.go | 4 +- .../x/sys/unix/zsyscall_openbsd_arm.go | 4 +- .../x/sys/unix/zsyscall_openbsd_arm64.go | 4 +- .../x/sys/unix/zsyscall_openbsd_mips64.go | 4 +- .../x/sys/unix/zsyscall_solaris_amd64.go | 16 +- .../x/sys/unix/zsysnum_linux_386.go | 2 + .../x/sys/unix/zsysnum_linux_amd64.go | 2 + .../x/sys/unix/zsysnum_linux_arm.go | 2 + .../x/sys/unix/zsysnum_linux_arm64.go | 2 + .../x/sys/unix/zsysnum_linux_loong64.go | 313 + .../x/sys/unix/zsysnum_linux_mips.go | 2 + .../x/sys/unix/zsysnum_linux_mips64.go | 2 + .../x/sys/unix/zsysnum_linux_mips64le.go | 2 + .../x/sys/unix/zsysnum_linux_mipsle.go | 2 + .../x/sys/unix/zsysnum_linux_ppc.go | 2 + .../x/sys/unix/zsysnum_linux_ppc64.go | 2 + .../x/sys/unix/zsysnum_linux_ppc64le.go | 2 + .../x/sys/unix/zsysnum_linux_riscv64.go | 2 + .../x/sys/unix/zsysnum_linux_s390x.go | 2 + .../x/sys/unix/zsysnum_linux_sparc64.go | 2 + vendor/golang.org/x/sys/unix/ztypes_linux.go | 1557 +- .../golang.org/x/sys/unix/ztypes_linux_386.go | 15 +- .../x/sys/unix/ztypes_linux_amd64.go | 16 +- .../golang.org/x/sys/unix/ztypes_linux_arm.go | 15 +- .../x/sys/unix/ztypes_linux_arm64.go | 16 +- .../x/sys/unix/ztypes_linux_loong64.go | 679 + .../x/sys/unix/ztypes_linux_mips.go | 15 +- .../x/sys/unix/ztypes_linux_mips64.go | 16 +- .../x/sys/unix/ztypes_linux_mips64le.go | 16 +- .../x/sys/unix/ztypes_linux_mipsle.go | 15 +- .../golang.org/x/sys/unix/ztypes_linux_ppc.go | 15 +- .../x/sys/unix/ztypes_linux_ppc64.go | 16 +- .../x/sys/unix/ztypes_linux_ppc64le.go | 16 +- .../x/sys/unix/ztypes_linux_riscv64.go | 16 +- .../x/sys/unix/ztypes_linux_s390x.go | 20 +- .../x/sys/unix/ztypes_linux_sparc64.go | 16 +- .../x/sys/unix/ztypes_openbsd_386.go | 8 +- .../x/sys/unix/ztypes_openbsd_amd64.go | 8 +- .../x/sys/unix/ztypes_openbsd_arm.go | 8 +- .../x/sys/unix/ztypes_openbsd_arm64.go | 8 +- .../x/sys/unix/ztypes_openbsd_mips64.go | 8 +- .../golang.org/x/sys/windows/exec_windows.go | 10 +- .../x/sys/windows/syscall_windows.go | 45 +- .../golang.org/x/sys/windows/types_windows.go | 2 + .../x/sys/windows/zsyscall_windows.go | 18 +- vendor/golang.org/x/time/rate/rate.go | 21 +- .../x/tools/go/ast/astutil/enclosing.go | 49 +- .../x/tools/go/ast/astutil/imports.go | 7 +- .../x/tools/go/ast/astutil/rewrite.go | 21 +- .../x/tools/go/ast/inspector/typeof.go | 24 +- .../x/tools/go/gcexportdata/gcexportdata.go | 145 + .../x/tools/go/gcexportdata/importer.go | 72 + .../x/tools/go/internal/gcimporter/bexport.go | 853 + .../x/tools/go/internal/gcimporter/bimport.go | 1053 + .../go/internal/gcimporter/exportdata.go | 99 + .../go/internal/gcimporter/gcimporter.go | 1107 + .../x/tools/go/internal/gcimporter/iexport.go | 1010 + .../x/tools/go/internal/gcimporter/iimport.go | 898 + .../go/internal/gcimporter/newInterface10.go | 22 + .../go/internal/gcimporter/newInterface11.go | 14 + .../go/internal/gcimporter/support_go117.go | 16 + .../go/internal/gcimporter/support_go118.go | 23 + .../tools/go/internal/packagesdriver/sizes.go | 49 + vendor/golang.org/x/tools/go/packages/doc.go | 220 + .../x/tools/go/packages/external.go | 101 + .../golang.org/x/tools/go/packages/golist.go | 1172 + .../x/tools/go/packages/golist_overlay.go | 575 + .../x/tools/go/packages/loadmode_string.go | 57 + .../x/tools/go/packages/packages.go | 1273 + .../golang.org/x/tools/go/packages/visit.go | 59 + vendor/golang.org/x/tools/imports/forward.go | 2 +- .../x/tools/internal/fastwalk/fastwalk.go | 6 +- .../x/tools/internal/gocommand/invoke.go | 22 +- .../x/tools/internal/gocommand/vendor.go | 22 +- .../x/tools/internal/gopathwalk/walk.go | 20 +- .../x/tools/internal/imports/imports.go | 29 +- .../x/tools/internal/imports/mod.go | 25 +- .../x/tools/internal/imports/sortimports.go | 48 +- .../x/tools/internal/imports/zstdlib.go | 84 +- .../internal/packagesinternal/packages.go | 30 + .../x/tools/internal/typeparams/common.go | 179 + .../x/tools/internal/typeparams/coretype.go | 122 + .../x/tools/internal/typeparams/doc.go | 11 - .../internal/typeparams/enabled_go117.go | 12 + .../internal/typeparams/enabled_go118.go | 15 + .../x/tools/internal/typeparams/normalize.go | 218 + .../tools/internal/typeparams/notypeparams.go | 90 - .../x/tools/internal/typeparams/termlist.go | 163 + .../x/tools/internal/typeparams/typeparams.go | 105 - .../internal/typeparams/typeparams_go117.go | 197 + .../internal/typeparams/typeparams_go118.go | 151 + .../x/tools/internal/typeparams/typeterm.go | 170 + .../tools/internal/typesinternal/errorcode.go | 1526 + .../typesinternal/errorcode_string.go | 167 + .../x/tools/internal/typesinternal/types.go | 52 + .../tools/internal/typesinternal/types_118.go | 19 + vendor/golang.org/x/xerrors/doc.go | 3 +- vendor/golang.org/x/xerrors/fmt.go | 3 + vendor/golang.org/x/xerrors/wrap.go | 6 + .../protobuf/encoding/protowire/wire.go | 19 +- .../protobuf/internal/encoding/text/decode.go | 2 +- .../protobuf/internal/errors/is_go112.go | 1 + .../protobuf/internal/errors/is_go113.go | 1 + .../internal/flags/proto_legacy_disable.go | 1 + .../internal/flags/proto_legacy_enable.go | 1 + .../protobuf/internal/impl/codec_map_go111.go | 1 + .../protobuf/internal/impl/codec_map_go112.go | 1 + .../protobuf/internal/impl/codec_reflect.go | 1 + .../protobuf/internal/impl/codec_unsafe.go | 1 + .../protobuf/internal/impl/decode.go | 8 + .../protobuf/internal/impl/pointer_reflect.go | 1 + .../protobuf/internal/impl/pointer_unsafe.go | 1 + .../protobuf/internal/strs/strings_pure.go | 1 + .../protobuf/internal/strs/strings_unsafe.go | 1 + .../protobuf/internal/version/version.go | 4 +- .../protobuf/proto/decode.go | 17 +- .../protobuf/proto/proto_methods.go | 1 + .../protobuf/proto/proto_reflect.go | 1 + .../protobuf/reflect/protoreflect/methods.go | 1 + .../reflect/protoreflect/value_pure.go | 1 + .../reflect/protoreflect/value_union.go | 25 + .../reflect/protoreflect/value_unsafe.go | 1 + .../protobuf/runtime/protoiface/methods.go | 1 + vendor/gopkg.in/yaml.v3/decode.go | 78 +- vendor/gopkg.in/yaml.v3/parserc.go | 11 +- .../blake3}/LICENSE | 2 +- vendor/lukechampine.com/blake3/README.md | 66 + vendor/lukechampine.com/blake3/blake3.go | 296 + vendor/lukechampine.com/blake3/blake3_amd64.s | 5564 + .../lukechampine.com/blake3/compress_amd64.go | 136 + .../blake3/compress_generic.go | 143 + .../lukechampine.com/blake3/compress_noasm.go | 76 + vendor/lukechampine.com/blake3/cpu.go | 10 + vendor/lukechampine.com/blake3/cpu_darwin.go | 22 + vendor/modules.txt | 334 +- wakuv2/config.go | 3 + wakuv2/persistence/dbstore.go | 354 + wakuv2/waku.go | 26 +- 1101 files changed, 403907 insertions(+), 98868 deletions(-) create mode 100644 appdatabase/migrations/sql/1660134070_add_wakuv2_store.up.sql create mode 100644 appdatabase/migrations/sql/1660134072_waku2_store_messages.up.sql create mode 100644 vendor/github.com/benbjohnson/clock/context.go create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/LICENSE create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/README.md create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/btcec.go create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/ciphering.go create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/curve.go create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/doc.go create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/ecdsa/error.go create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/ecdsa/signature.go create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/error.go create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/field.go create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/modnscalar.go create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/privkey.go create mode 100644 vendor/github.com/btcsuite/btcd/btcec/v2/pubkey.go create mode 100644 vendor/github.com/btcsuite/btcd/chaincfg/chainhash/LICENSE delete mode 100644 vendor/github.com/cespare/xxhash/v2/.travis.yml create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/LICENSE create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/README.md create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/compressedbytepoints.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/curve.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/doc.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdh.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/README.md create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/doc.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/error.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/signature.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ellipticadaptor.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/error.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/field.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/genstatics.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/loadprecomputed.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/modnscalar.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/nonce.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/privkey.go create mode 100644 vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/pubkey.go create mode 100644 vendor/github.com/fsnotify/fsnotify/fsnotify_unsupported.go create mode 100644 vendor/github.com/go-playground/universal-translator/Makefile delete mode 100644 vendor/github.com/godbus/dbus/v5/.travis.yml rename vendor/github.com/godbus/dbus/v5/{README.markdown => README.md} (66%) create mode 100644 vendor/github.com/godbus/dbus/v5/escape.go delete mode 100644 vendor/github.com/godbus/dbus/v5/homedir_dynamic.go delete mode 100644 vendor/github.com/godbus/dbus/v5/homedir_static.go create mode 100644 vendor/github.com/godbus/dbus/v5/sequence.go create mode 100644 vendor/github.com/godbus/dbus/v5/sequential_handler.go create mode 100644 vendor/github.com/godbus/dbus/v5/transport_unixcred_netbsd.go create mode 100644 vendor/github.com/godbus/dbus/v5/transport_zos.go create mode 100644 vendor/github.com/golang-migrate/migrate/v4/.goreleaser.yml create mode 100644 vendor/github.com/golang-migrate/migrate/v4/Dockerfile.circleci create mode 100644 vendor/github.com/golang-migrate/migrate/v4/Dockerfile.github-actions create mode 100644 vendor/github.com/golang-migrate/migrate/v4/database/sqlite3/README.md create mode 100644 vendor/github.com/golang-migrate/migrate/v4/database/sqlite3/sqlite3.go create mode 100644 vendor/github.com/golang-migrate/migrate/v4/source/go_bindata/README.md create mode 100644 vendor/github.com/golang-migrate/migrate/v4/source/go_bindata/go-bindata.go delete mode 100644 vendor/github.com/gorilla/websocket/client_clone.go delete mode 100644 vendor/github.com/gorilla/websocket/client_clone_legacy.go delete mode 100644 vendor/github.com/gorilla/websocket/conn_write.go delete mode 100644 vendor/github.com/gorilla/websocket/conn_write_legacy.go create mode 100644 vendor/github.com/gorilla/websocket/tls_handshake.go create mode 100644 vendor/github.com/gorilla/websocket/tls_handshake_116.go delete mode 100644 vendor/github.com/gorilla/websocket/trace.go delete mode 100644 vendor/github.com/gorilla/websocket/trace_17.go delete mode 100644 vendor/github.com/hashicorp/go-multierror/.travis.yml create mode 100644 vendor/github.com/hashicorp/go-multierror/group.go create mode 100644 vendor/github.com/huin/goupnp/Makefile delete mode 100644 vendor/github.com/ipfs/go-cid/.travis.yml create mode 100644 vendor/github.com/ipfs/go-cid/version.json delete mode 100644 vendor/github.com/ipfs/go-ipfs-util/.gitignore delete mode 100644 vendor/github.com/ipfs/go-ipfs-util/.travis.yml delete mode 100644 vendor/github.com/ipfs/go-ipfs-util/LICENSE delete mode 100644 vendor/github.com/ipfs/go-ipfs-util/README.md delete mode 100644 vendor/github.com/ipfs/go-ipfs-util/file.go delete mode 100644 vendor/github.com/ipfs/go-ipfs-util/package.json delete mode 100644 vendor/github.com/ipfs/go-ipfs-util/time.go delete mode 100644 vendor/github.com/ipfs/go-ipfs-util/util.go create mode 100644 vendor/github.com/klauspost/compress/huff0/autogen.go create mode 100644 vendor/github.com/klauspost/compress/huff0/decompress_8b_amd64.s create mode 100644 vendor/github.com/klauspost/compress/huff0/decompress_8b_amd64.s.in create mode 100644 vendor/github.com/klauspost/compress/huff0/decompress_amd64.go create mode 100644 vendor/github.com/klauspost/compress/huff0/decompress_amd64.s create mode 100644 vendor/github.com/klauspost/compress/huff0/decompress_amd64.s.in create mode 100644 vendor/github.com/klauspost/compress/huff0/decompress_generic.go create mode 100644 vendor/github.com/klauspost/compress/zstd/fuzz.go create mode 100644 vendor/github.com/klauspost/compress/zstd/fuzz_none.go create mode 100644 vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_arm64.s rename vendor/github.com/klauspost/compress/zstd/internal/xxhash/{xxhash_amd64.go => xxhash_asm.go} (51%) delete mode 100644 vendor/github.com/libp2p/go-buffer-pool/.travis.yml create mode 100644 vendor/github.com/libp2p/go-buffer-pool/version.json delete mode 100644 vendor/github.com/libp2p/go-conn-security-multistream/README.md create mode 100644 vendor/github.com/libp2p/go-libp2p-asn-util/version.json delete mode 100644 vendor/github.com/libp2p/go-libp2p-blankhost/README.md delete mode 100644 vendor/github.com/libp2p/go-libp2p-blankhost/codecov.yml delete mode 100644 vendor/github.com/libp2p/go-libp2p-connmgr/LICENSE delete mode 100644 vendor/github.com/libp2p/go-libp2p-connmgr/README.md delete mode 100644 vendor/github.com/libp2p/go-libp2p-connmgr/connmgr.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-connmgr/decay.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-connmgr/options.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-connmgr/version.json create mode 100644 vendor/github.com/libp2p/go-libp2p-core/canonicallog/canonicallog.go create mode 100644 vendor/github.com/libp2p/go-libp2p-core/internal/catch/catch.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-core/mux/mux.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-core/peer/set.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-discovery/.gitignore delete mode 100644 vendor/github.com/libp2p/go-libp2p-discovery/README.md delete mode 100644 vendor/github.com/libp2p/go-libp2p-discovery/routing.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-discovery/util.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-mplex/.gitignore delete mode 100644 vendor/github.com/libp2p/go-libp2p-mplex/LICENSE delete mode 100644 vendor/github.com/libp2p/go-libp2p-mplex/README.md delete mode 100644 vendor/github.com/libp2p/go-libp2p-mplex/version.json delete mode 100644 vendor/github.com/libp2p/go-libp2p-nat/LICENSE delete mode 100644 vendor/github.com/libp2p/go-libp2p-nat/README.md delete mode 100644 vendor/github.com/libp2p/go-libp2p-noise/README.md delete mode 100644 vendor/github.com/libp2p/go-libp2p-peerstore/addr/addrsrcs.go rename vendor/github.com/libp2p/go-libp2p-peerstore/{addr => pstoremem}/sorting.go (76%) delete mode 100644 vendor/github.com/libp2p/go-libp2p-pnet/.travis.yml delete mode 100644 vendor/github.com/libp2p/go-libp2p-pnet/LICENSE delete mode 100644 vendor/github.com/libp2p/go-libp2p-pnet/README.md delete mode 100644 vendor/github.com/libp2p/go-libp2p-pnet/codecov.yml create mode 100644 vendor/github.com/libp2p/go-libp2p-pubsub/backoff.go create mode 100644 vendor/github.com/libp2p/go-libp2p-pubsub/midgen.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-quic-transport/.gitignore delete mode 100644 vendor/github.com/libp2p/go-libp2p-quic-transport/LICENSE delete mode 100644 vendor/github.com/libp2p/go-libp2p-quic-transport/README.md delete mode 100644 vendor/github.com/libp2p/go-libp2p-quic-transport/version.json create mode 100644 vendor/github.com/libp2p/go-libp2p-resource-manager/allowlist.go create mode 100644 vendor/github.com/libp2p/go-libp2p-resource-manager/error.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-resource-manager/limit_config.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-resource-manager/limit_dynamic.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-resource-manager/limit_static.go create mode 100644 vendor/github.com/libp2p/go-libp2p-resource-manager/sys_not_unix.go create mode 100644 vendor/github.com/libp2p/go-libp2p-resource-manager/sys_unix.go create mode 100644 vendor/github.com/libp2p/go-libp2p-resource-manager/sys_windows.go delete mode 100644 vendor/github.com/libp2p/go-libp2p-swarm/LICENSE delete mode 100644 vendor/github.com/libp2p/go-libp2p-swarm/README.md delete mode 100644 vendor/github.com/libp2p/go-libp2p-swarm/version.json delete mode 100644 vendor/github.com/libp2p/go-libp2p-tls/README.md delete mode 100644 vendor/github.com/libp2p/go-libp2p-tls/codecov.yml delete mode 100644 vendor/github.com/libp2p/go-libp2p-tls/version.json delete mode 100644 vendor/github.com/libp2p/go-libp2p-transport-upgrader/README.md delete mode 100644 vendor/github.com/libp2p/go-libp2p-transport-upgrader/version.json delete mode 100644 vendor/github.com/libp2p/go-libp2p-yamux/.gitignore delete mode 100644 vendor/github.com/libp2p/go-libp2p-yamux/LICENSE delete mode 100644 vendor/github.com/libp2p/go-libp2p-yamux/README.md delete mode 100644 vendor/github.com/libp2p/go-libp2p-yamux/version.json rename vendor/github.com/libp2p/{go-libp2p-discovery => go-libp2p/p2p/discovery/backoff}/backoff.go (98%) rename vendor/github.com/libp2p/{go-libp2p-discovery => go-libp2p/p2p/discovery/backoff}/backoffcache.go (86%) rename vendor/github.com/libp2p/{go-libp2p-discovery => go-libp2p/p2p/discovery/backoff}/backoffconnector.go (99%) delete mode 100644 vendor/github.com/libp2p/go-libp2p/p2p/discovery/routing/routing.go delete mode 100644 vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/doc.go delete mode 100644 vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/log.go create mode 100644 vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/options.go create mode 100644 vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/relay_finder.go rename vendor/github.com/libp2p/{go-libp2p-blankhost => go-libp2p/p2p/host/blank}/blank.go (100%) rename vendor/github.com/libp2p/{go-libp2p-blankhost => go-libp2p/p2p/host/blank}/peer_connectedness.go (89%) rename vendor/github.com/libp2p/{go-libp2p-mplex => go-libp2p/p2p/muxer/mplex}/conn.go (83%) rename vendor/github.com/libp2p/{go-libp2p-mplex => go-libp2p/p2p/muxer/mplex}/stream.go (97%) rename vendor/github.com/libp2p/{go-libp2p-mplex => go-libp2p/p2p/muxer/mplex}/transport.go (91%) rename vendor/github.com/libp2p/{go-stream-muxer-multistream => go-libp2p/p2p/muxer/muxer-multistream}/multistream.go (94%) rename vendor/github.com/libp2p/{go-libp2p-yamux => go-libp2p/p2p/muxer/yamux}/conn.go (85%) rename vendor/github.com/libp2p/{go-libp2p-yamux => go-libp2p/p2p/muxer/yamux}/stream.go (98%) rename vendor/github.com/libp2p/{go-libp2p-yamux => go-libp2p/p2p/muxer/yamux}/transport.go (94%) rename vendor/github.com/libp2p/{go-conn-security-multistream => go-libp2p/p2p/net/conn-security-multistream}/ssms.go (100%) rename vendor/github.com/libp2p/{go-libp2p-nat => go-libp2p/p2p/net/nat}/mapping.go (100%) rename vendor/github.com/libp2p/{go-libp2p-nat => go-libp2p/p2p/net/nat}/nat.go (96%) rename vendor/github.com/libp2p/{go-libp2p-pnet => go-libp2p/p2p/net/pnet}/protector.go (100%) rename vendor/github.com/libp2p/{go-libp2p-pnet => go-libp2p/p2p/net/pnet}/psk_conn.go (100%) rename vendor/github.com/libp2p/{go-reuseport-transport => go-libp2p/p2p/net/reuseport}/dial.go (99%) rename vendor/github.com/libp2p/{go-reuseport-transport => go-libp2p/p2p/net/reuseport}/listen.go (98%) rename vendor/github.com/libp2p/{go-reuseport-transport => go-libp2p/p2p/net/reuseport}/multidialer.go (99%) rename vendor/github.com/libp2p/{go-reuseport-transport => go-libp2p/p2p/net/reuseport}/reuseport.go (92%) rename vendor/github.com/libp2p/{go-reuseport-transport => go-libp2p/p2p/net/reuseport}/reuseport_plan9.go (97%) rename vendor/github.com/libp2p/{go-reuseport-transport => go-libp2p/p2p/net/reuseport}/reuseport_posix.go (97%) rename vendor/github.com/libp2p/{go-reuseport-transport => go-libp2p/p2p/net/reuseport}/singledialer.go (95%) create mode 100644 vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/transport.go rename vendor/github.com/libp2p/{go-libp2p-swarm => go-libp2p/p2p/net/swarm}/addrs.go (75%) rename vendor/github.com/libp2p/{go-libp2p-swarm => go-libp2p/p2p/net/swarm}/dial_error.go (100%) rename vendor/github.com/libp2p/{go-libp2p-swarm => go-libp2p/p2p/net/swarm}/dial_sync.go (100%) rename vendor/github.com/libp2p/{go-libp2p-swarm => go-libp2p/p2p/net/swarm}/dial_worker.go (97%) rename vendor/github.com/libp2p/{go-libp2p-swarm => go-libp2p/p2p/net/swarm}/limiter.go (100%) rename vendor/github.com/libp2p/{go-libp2p-swarm => go-libp2p/p2p/net/swarm}/swarm.go (95%) rename vendor/github.com/libp2p/{go-libp2p-swarm => go-libp2p/p2p/net/swarm}/swarm_addr.go (100%) rename vendor/github.com/libp2p/{go-libp2p-swarm => go-libp2p/p2p/net/swarm}/swarm_conn.go (95%) rename vendor/github.com/libp2p/{go-libp2p-swarm => go-libp2p/p2p/net/swarm}/swarm_dial.go (94%) rename vendor/github.com/libp2p/{go-libp2p-swarm => go-libp2p/p2p/net/swarm}/swarm_listen.go (66%) rename vendor/github.com/libp2p/{go-libp2p-swarm => go-libp2p/p2p/net/swarm}/swarm_stream.go (88%) rename vendor/github.com/libp2p/{go-libp2p-swarm => go-libp2p/p2p/net/swarm}/swarm_transport.go (100%) rename vendor/github.com/libp2p/{go-libp2p-transport-upgrader => go-libp2p/p2p/net/upgrader}/conn.go (94%) rename vendor/github.com/libp2p/{go-libp2p-transport-upgrader => go-libp2p/p2p/net/upgrader}/listener.go (99%) rename vendor/github.com/libp2p/{go-libp2p-transport-upgrader => go-libp2p/p2p/net/upgrader}/threshold.go (100%) rename vendor/github.com/libp2p/{go-libp2p-transport-upgrader => go-libp2p/p2p/net/upgrader}/upgrader.go (99%) delete mode 100644 vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/coordination.go create mode 100644 vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/holepuncher.go create mode 100644 vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/svc.go create mode 100644 vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/util.go create mode 100644 vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/id_go117.go create mode 100644 vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/id_go118.go rename vendor/github.com/libp2p/{go-libp2p-noise => go-libp2p/p2p/security/noise}/LICENSE.md (100%) rename vendor/github.com/libp2p/{go-libp2p-noise => go-libp2p/p2p/security/noise}/crypto.go (100%) rename vendor/github.com/libp2p/{go-libp2p-noise => go-libp2p/p2p/security/noise}/handshake.go (91%) rename vendor/github.com/libp2p/{go-libp2p-noise => go-libp2p/p2p/security/noise}/pb/Makefile (100%) rename vendor/github.com/libp2p/{go-libp2p-noise => go-libp2p/p2p/security/noise}/pb/payload.pb.go (100%) rename vendor/github.com/libp2p/{go-libp2p-noise => go-libp2p/p2p/security/noise}/pb/payload.proto (100%) rename vendor/github.com/libp2p/{go-libp2p-noise => go-libp2p/p2p/security/noise}/rw.go (96%) rename vendor/github.com/libp2p/{go-libp2p-noise => go-libp2p/p2p/security/noise}/session.go (100%) rename vendor/github.com/libp2p/{go-libp2p-noise => go-libp2p/p2p/security/noise}/transport.go (77%) rename vendor/github.com/libp2p/{go-libp2p-tls => go-libp2p/p2p/security/tls}/LICENSE.md (100%) rename vendor/github.com/libp2p/{go-libp2p-tls => go-libp2p/p2p/security/tls}/conn.go (100%) rename vendor/github.com/libp2p/{go-libp2p-tls => go-libp2p/p2p/security/tls}/crypto.go (95%) rename vendor/github.com/libp2p/{go-libp2p-tls => go-libp2p/p2p/security/tls}/extension.go (100%) rename vendor/github.com/libp2p/{go-libp2p-tls => go-libp2p/p2p/security/tls}/transport.go (69%) rename vendor/github.com/libp2p/{go-libp2p-quic-transport => go-libp2p/p2p/transport/quic}/conn.go (89%) rename vendor/github.com/libp2p/{go-libp2p-quic-transport => go-libp2p/p2p/transport/quic}/listener.go (83%) rename vendor/github.com/libp2p/{go-libp2p-quic-transport => go-libp2p/p2p/transport/quic}/quic_multiaddr.go (100%) rename vendor/github.com/libp2p/{go-libp2p-quic-transport => go-libp2p/p2p/transport/quic}/reuse.go (100%) rename vendor/github.com/libp2p/{go-libp2p-quic-transport => go-libp2p/p2p/transport/quic}/stream.go (100%) rename vendor/github.com/libp2p/{go-libp2p-quic-transport => go-libp2p/p2p/transport/quic}/tracer.go (100%) rename vendor/github.com/libp2p/{go-libp2p-quic-transport => go-libp2p/p2p/transport/quic}/tracer_metrics.go (100%) rename vendor/github.com/libp2p/{go-libp2p-quic-transport => go-libp2p/p2p/transport/quic}/transport.go (90%) rename vendor/github.com/libp2p/{go-tcp-transport => go-libp2p/p2p/transport/tcp}/metrics.go (100%) rename vendor/github.com/libp2p/{go-tcp-transport => go-libp2p/p2p/transport/tcp}/metrics_darwin.go (100%) rename vendor/github.com/libp2p/{go-tcp-transport => go-libp2p/p2p/transport/tcp}/metrics_general.go (100%) rename vendor/github.com/libp2p/{go-tcp-transport => go-libp2p/p2p/transport/tcp}/metrics_linux.go (100%) rename vendor/github.com/libp2p/{go-tcp-transport => go-libp2p/p2p/transport/tcp}/metrics_windows.go (100%) rename vendor/github.com/libp2p/{go-tcp-transport => go-libp2p/p2p/transport/tcp}/reuseport.go (100%) rename vendor/github.com/libp2p/{go-tcp-transport => go-libp2p/p2p/transport/tcp}/tcp.go (94%) rename vendor/github.com/libp2p/{go-ws-transport => go-libp2p/p2p/transport/websocket}/LICENSE-APACHE (100%) rename vendor/github.com/libp2p/{go-ws-transport => go-libp2p/p2p/transport/websocket}/LICENSE-MIT (100%) rename vendor/github.com/libp2p/{go-ws-transport => go-libp2p/p2p/transport/websocket}/addrs.go (100%) rename vendor/github.com/libp2p/{go-ws-transport => go-libp2p/p2p/transport/websocket}/conn.go (100%) rename vendor/github.com/libp2p/{go-ws-transport => go-libp2p/p2p/transport/websocket}/listener.go (100%) rename vendor/github.com/libp2p/{go-ws-transport => go-libp2p/p2p/transport/websocket}/websocket.go (96%) create mode 100644 vendor/github.com/libp2p/go-msgio/version.json delete mode 100644 vendor/github.com/libp2p/go-reuseport-transport/LICENSE delete mode 100644 vendor/github.com/libp2p/go-reuseport-transport/README.md delete mode 100644 vendor/github.com/libp2p/go-reuseport-transport/transport.go create mode 100644 vendor/github.com/libp2p/go-reuseport/version.json delete mode 100644 vendor/github.com/libp2p/go-stream-muxer-multistream/.gitignore delete mode 100644 vendor/github.com/libp2p/go-stream-muxer-multistream/LICENSE delete mode 100644 vendor/github.com/libp2p/go-stream-muxer-multistream/Makefile delete mode 100644 vendor/github.com/libp2p/go-stream-muxer-multistream/README.md delete mode 100644 vendor/github.com/libp2p/go-stream-muxer-multistream/version.json delete mode 100644 vendor/github.com/libp2p/go-tcp-transport/LICENSE delete mode 100644 vendor/github.com/libp2p/go-tcp-transport/README.md delete mode 100644 vendor/github.com/libp2p/go-tcp-transport/codecov.yml delete mode 100644 vendor/github.com/libp2p/go-tcp-transport/version.json delete mode 100644 vendor/github.com/libp2p/go-ws-transport/.gitignore delete mode 100644 vendor/github.com/libp2p/go-ws-transport/README.md delete mode 100644 vendor/github.com/libp2p/go-ws-transport/version.json rename vendor/github.com/lucas-clemente/quic-go/{closed_session.go => closed_conn.go} (51%) rename vendor/github.com/lucas-clemente/quic-go/{session.go => connection.go} (86%) create mode 100644 vendor/github.com/lucas-clemente/quic-go/internal/qtls/go120.go create mode 100644 vendor/github.com/lucas-clemente/quic-go/internal/qtls/go_oldversion.go rename vendor/github.com/lucas-clemente/quic-go/{conn.go => sys_conn.go} (64%) create mode 100644 vendor/github.com/lucas-clemente/quic-go/sys_conn_df.go create mode 100644 vendor/github.com/lucas-clemente/quic-go/sys_conn_df_linux.go create mode 100644 vendor/github.com/lucas-clemente/quic-go/sys_conn_df_windows.go rename vendor/github.com/lucas-clemente/quic-go/{conn_helper_darwin.go => sys_conn_helper_darwin.go} (81%) rename vendor/github.com/lucas-clemente/quic-go/{conn_helper_freebsd.go => sys_conn_helper_freebsd.go} (75%) rename vendor/github.com/lucas-clemente/quic-go/{conn_helper_linux.go => sys_conn_helper_linux.go} (81%) rename vendor/github.com/lucas-clemente/quic-go/{conn_generic.go => sys_conn_no_oob.go} (75%) rename vendor/github.com/lucas-clemente/quic-go/{conn_oob.go => sys_conn_oob.go} (99%) rename vendor/github.com/lucas-clemente/quic-go/{conn_windows.go => sys_conn_windows.go} (56%) create mode 100644 vendor/github.com/marten-seemann/qtls-go1-16/common_js.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-16/common_nojs.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-17/cpu.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-17/cpu_other.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-18/cpu.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-18/cpu_other.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/LICENSE create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/README.md create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/alert.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/auth.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/cipher_suites.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/common.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/conn.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/cpu.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/cpu_other.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/handshake_client.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/handshake_client_tls13.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/handshake_messages.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/handshake_server.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/handshake_server_tls13.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/key_agreement.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/key_schedule.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/notboring.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/prf.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/ticket.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/tls.go create mode 100644 vendor/github.com/marten-seemann/qtls-go1-19/unsafe.go create mode 100644 vendor/github.com/mattn/go-sqlite3/.gitignore create mode 100644 vendor/github.com/mattn/go-sqlite3/.travis.yml rename vendor/github.com/{libp2p/go-conn-security-multistream => mattn/go-sqlite3}/LICENSE (88%) create mode 100644 vendor/github.com/mattn/go-sqlite3/README.md create mode 100644 vendor/github.com/mattn/go-sqlite3/_example/mod_regexp/sqlite3_mod_regexp.c create mode 100644 vendor/github.com/mattn/go-sqlite3/_example/mod_vtable/picojson.h create mode 100644 vendor/github.com/mattn/go-sqlite3/backup.go create mode 100644 vendor/github.com/mattn/go-sqlite3/callback.go create mode 100644 vendor/github.com/mattn/go-sqlite3/convert.go create mode 100644 vendor/github.com/mattn/go-sqlite3/doc.go create mode 100644 vendor/github.com/mattn/go-sqlite3/error.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_context.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_func_crypt.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_go18.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_libsqlite3.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_allow_uri_authority.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_app_armor.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_foreign_keys.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_fts5.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_icu.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_introspect.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_json1.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_hook.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_omit.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete_fast.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_stat4.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.c create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth_omit.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_incr.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vtable.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_other.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_solaris.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_trace.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_type.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_usleep_windows.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_windows.go create mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3ext.h create mode 100644 vendor/github.com/mattn/go-sqlite3/static_mock.go create mode 100644 vendor/github.com/miekg/dns/hash.go create mode 100644 vendor/github.com/miekg/dns/tools.go delete mode 100644 vendor/github.com/minio/blake2b-simd/.gitignore delete mode 100644 vendor/github.com/minio/blake2b-simd/.travis.yml delete mode 100644 vendor/github.com/minio/blake2b-simd/LICENSE delete mode 100644 vendor/github.com/minio/blake2b-simd/README.md delete mode 100644 vendor/github.com/minio/blake2b-simd/appveyor.yml delete mode 100644 vendor/github.com/minio/blake2b-simd/blake2b.go delete mode 100644 vendor/github.com/minio/blake2b-simd/compressAvx2_amd64.go delete mode 100644 vendor/github.com/minio/blake2b-simd/compressAvx2_amd64.s delete mode 100644 vendor/github.com/minio/blake2b-simd/compressAvx_amd64.go delete mode 100644 vendor/github.com/minio/blake2b-simd/compressAvx_amd64.s delete mode 100644 vendor/github.com/minio/blake2b-simd/compressSse_amd64.go delete mode 100644 vendor/github.com/minio/blake2b-simd/compressSse_amd64.s delete mode 100644 vendor/github.com/minio/blake2b-simd/compress_amd64.go delete mode 100644 vendor/github.com/minio/blake2b-simd/compress_generic.go delete mode 100644 vendor/github.com/minio/blake2b-simd/compress_noasm.go delete mode 100644 vendor/github.com/minio/blake2b-simd/cpuid.go delete mode 100644 vendor/github.com/minio/blake2b-simd/cpuid_386.s delete mode 100644 vendor/github.com/minio/blake2b-simd/cpuid_amd64.s delete mode 100644 vendor/github.com/multiformats/go-multibase/.travis.yml create mode 100644 vendor/github.com/multiformats/go-multibase/base256emoji.go create mode 100644 vendor/github.com/multiformats/go-multibase/version.json create mode 100644 vendor/github.com/multiformats/go-multicodec/.gitmodules create mode 100644 vendor/github.com/multiformats/go-multicodec/LICENSE create mode 100644 vendor/github.com/multiformats/go-multicodec/LICENSE-APACHE rename vendor/github.com/{libp2p/go-libp2p-discovery/LICENSE => multiformats/go-multicodec/LICENSE-MIT} (94%) create mode 100644 vendor/github.com/multiformats/go-multicodec/README.md create mode 100644 vendor/github.com/multiformats/go-multicodec/code.go create mode 100644 vendor/github.com/multiformats/go-multicodec/code_string.go create mode 100644 vendor/github.com/multiformats/go-multicodec/code_table.go create mode 100644 vendor/github.com/multiformats/go-multicodec/version.json delete mode 100644 vendor/github.com/multiformats/go-multihash/.travis.yml delete mode 100644 vendor/github.com/multiformats/go-multihash/Makefile create mode 100644 vendor/github.com/multiformats/go-multihash/register/blake3/multihash_blake3.go create mode 100644 vendor/github.com/multiformats/go-multihash/register/murmur3/multihash_murmur3.go create mode 100644 vendor/github.com/multiformats/go-multihash/version.json create mode 100644 vendor/github.com/multiformats/go-multistream/.gitignore delete mode 100644 vendor/github.com/multiformats/go-multistream/.travis.yml delete mode 100644 vendor/github.com/multiformats/go-multistream/Makefile delete mode 100644 vendor/github.com/multiformats/go-multistream/cases.md delete mode 100644 vendor/github.com/multiformats/go-multistream/lazyServer.go delete mode 100644 vendor/github.com/multiformats/go-multistream/multistream-fuzz.zip create mode 100644 vendor/github.com/multiformats/go-multistream/version.json create mode 100644 vendor/github.com/prometheus/client_golang/prometheus/build_info_collector.go create mode 100644 vendor/github.com/prometheus/client_golang/prometheus/go_collector_go116.go create mode 100644 vendor/github.com/prometheus/client_golang/prometheus/go_collector_go117.go create mode 100644 vendor/github.com/prometheus/client_golang/prometheus/internal/go_runtime_metrics.go create mode 100644 vendor/github.com/shopspring/decimal/CHANGELOG.md create mode 100644 vendor/github.com/spaolacci/murmur3/.gitignore create mode 100644 vendor/github.com/spaolacci/murmur3/.travis.yml create mode 100644 vendor/github.com/spaolacci/murmur3/LICENSE create mode 100644 vendor/github.com/spaolacci/murmur3/README.md create mode 100644 vendor/github.com/spaolacci/murmur3/murmur.go create mode 100644 vendor/github.com/spaolacci/murmur3/murmur128.go create mode 100644 vendor/github.com/spaolacci/murmur3/murmur32.go create mode 100644 vendor/github.com/spaolacci/murmur3/murmur64.go delete mode 100644 vendor/github.com/status-im/go-discover/COPYING create mode 100644 vendor/github.com/status-im/go-discover/COPYING.LESSER rename vendor/github.com/{libp2p/go-libp2p-blankhost => status-im/go-rln}/LICENSE (83%) create mode 100644 vendor/github.com/status-im/go-rln/rln/librln.h create mode 100644 vendor/github.com/status-im/go-rln/rln/link.go create mode 100644 vendor/github.com/status-im/go-rln/rln/rln.go create mode 100644 vendor/github.com/status-im/go-rln/rln/serialize.go create mode 100644 vendor/github.com/status-im/go-rln/rln/types.go create mode 100644 vendor/github.com/status-im/go-rln/rln/utils.go create mode 100644 vendor/github.com/status-im/go-waku/logging/README.md create mode 100644 vendor/github.com/status-im/go-waku/logging/context.go create mode 100644 vendor/github.com/status-im/go-waku/logging/logging.go create mode 100644 vendor/github.com/status-im/go-waku/waku/persistence/db_key.go create mode 100644 vendor/github.com/status-im/go-waku/waku/persistence/migrations/bindata.go create mode 100644 vendor/github.com/status-im/go-waku/waku/persistence/migrations/migrate.go create mode 100644 vendor/github.com/status-im/go-waku/waku/persistence/migrations/no_migrations.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/node/const.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/node/localnode.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/node/wakunode2_no_rln.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/node/wakunode2_rln.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/node/wakuoptions_rln.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/noise/handshake.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/noise/patterns.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/noise/payload.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/protocol/rln/bindata.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/protocol/rln/contracts/RLN.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/protocol/rln/contracts/RLN.sol create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/protocol/rln/contracts/generate.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/protocol/rln/doc.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/protocol/rln/parameters.key create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/protocol/rln/rln_relay_builder.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/protocol/rln/types.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/protocol/rln/waku_rln_relay.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/protocol/rln/web3.go delete mode 100644 vendor/github.com/status-im/go-waku/waku/v2/protocol/store/message_queue.go create mode 100644 vendor/github.com/status-im/go-waku/waku/v2/utils/crypto.go delete mode 100644 vendor/github.com/whyrusleeping/multiaddr-filter/.gxlastpubver delete mode 100644 vendor/github.com/whyrusleeping/multiaddr-filter/LICENSE delete mode 100644 vendor/github.com/whyrusleeping/multiaddr-filter/README.md delete mode 100644 vendor/github.com/whyrusleeping/multiaddr-filter/mask.go delete mode 100644 vendor/github.com/whyrusleeping/multiaddr-filter/package.json create mode 100644 vendor/go.uber.org/zap/array_go118.go delete mode 100644 vendor/golang.org/x/crypto/poly1305/poly1305_compat.go create mode 100644 vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go create mode 100644 vendor/golang.org/x/mod/module/pseudo.go create mode 100644 vendor/golang.org/x/sys/cpu/cpu_loong64.go create mode 100644 vendor/golang.org/x/sys/execabs/execabs_go118.go create mode 100644 vendor/golang.org/x/sys/execabs/execabs_go119.go create mode 100644 vendor/golang.org/x/sys/unix/asm_linux_loong64.s create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_alarm.go create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_loong64.go create mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go create mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go create mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go create mode 100644 vendor/golang.org/x/tools/go/gcexportdata/gcexportdata.go create mode 100644 vendor/golang.org/x/tools/go/gcexportdata/importer.go create mode 100644 vendor/golang.org/x/tools/go/internal/gcimporter/bexport.go create mode 100644 vendor/golang.org/x/tools/go/internal/gcimporter/bimport.go create mode 100644 vendor/golang.org/x/tools/go/internal/gcimporter/exportdata.go create mode 100644 vendor/golang.org/x/tools/go/internal/gcimporter/gcimporter.go create mode 100644 vendor/golang.org/x/tools/go/internal/gcimporter/iexport.go create mode 100644 vendor/golang.org/x/tools/go/internal/gcimporter/iimport.go create mode 100644 vendor/golang.org/x/tools/go/internal/gcimporter/newInterface10.go create mode 100644 vendor/golang.org/x/tools/go/internal/gcimporter/newInterface11.go create mode 100644 vendor/golang.org/x/tools/go/internal/gcimporter/support_go117.go create mode 100644 vendor/golang.org/x/tools/go/internal/gcimporter/support_go118.go create mode 100644 vendor/golang.org/x/tools/go/internal/packagesdriver/sizes.go create mode 100644 vendor/golang.org/x/tools/go/packages/doc.go create mode 100644 vendor/golang.org/x/tools/go/packages/external.go create mode 100644 vendor/golang.org/x/tools/go/packages/golist.go create mode 100644 vendor/golang.org/x/tools/go/packages/golist_overlay.go create mode 100644 vendor/golang.org/x/tools/go/packages/loadmode_string.go create mode 100644 vendor/golang.org/x/tools/go/packages/packages.go create mode 100644 vendor/golang.org/x/tools/go/packages/visit.go create mode 100644 vendor/golang.org/x/tools/internal/packagesinternal/packages.go create mode 100644 vendor/golang.org/x/tools/internal/typeparams/common.go create mode 100644 vendor/golang.org/x/tools/internal/typeparams/coretype.go delete mode 100644 vendor/golang.org/x/tools/internal/typeparams/doc.go create mode 100644 vendor/golang.org/x/tools/internal/typeparams/enabled_go117.go create mode 100644 vendor/golang.org/x/tools/internal/typeparams/enabled_go118.go create mode 100644 vendor/golang.org/x/tools/internal/typeparams/normalize.go delete mode 100644 vendor/golang.org/x/tools/internal/typeparams/notypeparams.go create mode 100644 vendor/golang.org/x/tools/internal/typeparams/termlist.go delete mode 100644 vendor/golang.org/x/tools/internal/typeparams/typeparams.go create mode 100644 vendor/golang.org/x/tools/internal/typeparams/typeparams_go117.go create mode 100644 vendor/golang.org/x/tools/internal/typeparams/typeparams_go118.go create mode 100644 vendor/golang.org/x/tools/internal/typeparams/typeterm.go create mode 100644 vendor/golang.org/x/tools/internal/typesinternal/errorcode.go create mode 100644 vendor/golang.org/x/tools/internal/typesinternal/errorcode_string.go create mode 100644 vendor/golang.org/x/tools/internal/typesinternal/types.go create mode 100644 vendor/golang.org/x/tools/internal/typesinternal/types_118.go rename vendor/{github.com/libp2p/go-libp2p-transport-upgrader => lukechampine.com/blake3}/LICENSE (96%) create mode 100644 vendor/lukechampine.com/blake3/README.md create mode 100644 vendor/lukechampine.com/blake3/blake3.go create mode 100644 vendor/lukechampine.com/blake3/blake3_amd64.s create mode 100644 vendor/lukechampine.com/blake3/compress_amd64.go create mode 100644 vendor/lukechampine.com/blake3/compress_generic.go create mode 100644 vendor/lukechampine.com/blake3/compress_noasm.go create mode 100644 vendor/lukechampine.com/blake3/cpu.go create mode 100644 vendor/lukechampine.com/blake3/cpu_darwin.go create mode 100644 wakuv2/persistence/dbstore.go diff --git a/appdatabase/migrations/bindata.go b/appdatabase/migrations/bindata.go index e48bd4da1..8249367d0 100644 --- a/appdatabase/migrations/bindata.go +++ b/appdatabase/migrations/bindata.go @@ -28,6 +28,8 @@ // 1657617291_add_multi_transactions_table.up.sql (412B) // 1660134042_add_social_links_settings_table.up.sql (334B) // 1660134060_settings_bio.up.sql (91B) +// 1660134070_add_wakuv2_store.up.sql (269B) +// 1660134072_waku2_store_messages.up.sql (497B) // doc.go (74B) package migrations @@ -48,7 +50,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %v", name, err) + return nil, fmt.Errorf("read %q: %w", name, err) } var buf bytes.Buffer @@ -56,7 +58,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %v", name, err) + return nil, fmt.Errorf("read %q: %w", name, err) } if clErr != nil { return nil, err @@ -112,7 +114,7 @@ func _1640111208_dummyUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1640111208_dummy.up.sql", size: 258, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1640111208_dummy.up.sql", size: 258, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3e, 0xf0, 0xae, 0x20, 0x6e, 0x75, 0xd1, 0x36, 0x14, 0xf2, 0x40, 0xe5, 0xd6, 0x7a, 0xc4, 0xa5, 0x72, 0xaa, 0xb5, 0x4d, 0x71, 0x97, 0xb8, 0xe8, 0x95, 0x22, 0x95, 0xa2, 0xac, 0xaf, 0x48, 0x58}} return a, nil } @@ -132,7 +134,7 @@ func _1642666031_add_removed_clock_to_bookmarksUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1642666031_add_removed_clock_to_bookmarks.up.sql", size: 117, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1642666031_add_removed_clock_to_bookmarks.up.sql", size: 117, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x84, 0x4e, 0x38, 0x99, 0x7a, 0xc, 0x90, 0x13, 0xec, 0xfe, 0x2f, 0x55, 0xff, 0xb7, 0xb6, 0xaa, 0x96, 0xc6, 0x92, 0x79, 0xcc, 0xee, 0x4e, 0x99, 0x53, 0xfe, 0x1c, 0xbb, 0x32, 0x2, 0xa4, 0x27}} return a, nil } @@ -152,7 +154,7 @@ func _1643644541_gif_api_key_settingUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1643644541_gif_api_key_setting.up.sql", size: 108, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1643644541_gif_api_key_setting.up.sql", size: 108, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1b, 0x94, 0x28, 0xfb, 0x66, 0xd1, 0x7c, 0xb8, 0x89, 0xe2, 0xb4, 0x71, 0x65, 0x24, 0x57, 0x22, 0x95, 0x38, 0x97, 0x3, 0x9b, 0xc6, 0xa4, 0x41, 0x7b, 0xba, 0xf7, 0xdb, 0x70, 0xf7, 0x20, 0x3a}} return a, nil } @@ -172,7 +174,7 @@ func _1644188994_recent_stickersUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1644188994_recent_stickers.up.sql", size: 79, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1644188994_recent_stickers.up.sql", size: 79, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1e, 0xad, 0xaa, 0x30, 0xbf, 0x4, 0x7, 0xf8, 0xc3, 0x3, 0xb8, 0x97, 0x23, 0x2b, 0xbd, 0x1c, 0x60, 0x69, 0xb0, 0x42, 0x5e, 0x6b, 0xd, 0xa7, 0xa3, 0x6b, 0x2e, 0xdc, 0x70, 0x13, 0x72, 0x7}} return a, nil } @@ -192,7 +194,7 @@ func _1646659233_add_address_to_dapp_permisssionUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1646659233_add_address_to_dapp_permisssion.up.sql", size: 700, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1646659233_add_address_to_dapp_permisssion.up.sql", size: 700, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xed, 0xb0, 0x35, 0xcc, 0x2e, 0x16, 0xe6, 0x15, 0x86, 0x2c, 0x37, 0x80, 0xae, 0xa3, 0xc5, 0x31, 0x78, 0x5, 0x9d, 0xcd, 0x7b, 0xeb, 0x5f, 0xf2, 0xb3, 0x74, 0x72, 0xdf, 0xcf, 0x88, 0xb, 0x40}} return a, nil } @@ -212,7 +214,7 @@ func _1646841105_add_emoji_accountUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1646841105_add_emoji_account.up.sql", size: 96, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1646841105_add_emoji_account.up.sql", size: 96, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe6, 0x77, 0x29, 0x95, 0x18, 0x64, 0x82, 0x63, 0xe7, 0xaf, 0x6c, 0xa9, 0x15, 0x7d, 0x46, 0xa6, 0xbc, 0xdf, 0xa7, 0xd, 0x2b, 0xd2, 0x2d, 0x97, 0x4d, 0xa, 0x6b, 0xd, 0x6e, 0x90, 0x42, 0x5c}} return a, nil } @@ -232,7 +234,7 @@ func _1647278782_display_nameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647278782_display_name.up.sql", size: 110, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1647278782_display_name.up.sql", size: 110, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf4, 0xa1, 0x1f, 0x3e, 0x61, 0x65, 0x8d, 0xff, 0xee, 0xde, 0xc5, 0x91, 0xd9, 0x5c, 0xb5, 0xe2, 0xf0, 0xb7, 0xe7, 0x5c, 0x5c, 0x16, 0x25, 0x89, 0xee, 0x78, 0x12, 0xea, 0x3e, 0x48, 0x41, 0xa6}} return a, nil } @@ -252,7 +254,7 @@ func _1647862838_reset_last_backupUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647862838_reset_last_backup.up.sql", size: 37, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1647862838_reset_last_backup.up.sql", size: 37, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x21, 0xe3, 0xd5, 0xf6, 0x5f, 0xfe, 0x65, 0xfa, 0x1d, 0x88, 0xf8, 0x5f, 0x24, 0x71, 0x34, 0x68, 0x96, 0x2a, 0x60, 0x87, 0x15, 0x82, 0x4d, 0x8a, 0x59, 0x3d, 0x1f, 0xd8, 0x56, 0xd4, 0xfb, 0xda}} return a, nil } @@ -272,7 +274,7 @@ func _1647871652_add_settings_sync_clock_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647871652_add_settings_sync_clock_table.up.sql", size: 1044, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1647871652_add_settings_sync_clock_table.up.sql", size: 1044, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd8, 0x58, 0xec, 0x85, 0x90, 0xfa, 0x30, 0x98, 0x98, 0x9a, 0xa6, 0xa8, 0x96, 0x2b, 0x38, 0x93, 0xf3, 0xae, 0x46, 0x74, 0xa4, 0x41, 0x62, 0x9b, 0x2, 0x86, 0xbf, 0xe5, 0x2a, 0xce, 0xe2, 0xc0}} return a, nil } @@ -292,7 +294,7 @@ func _1647880168_add_torrent_configUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647880168_add_torrent_config.up.sql", size: 211, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1647880168_add_torrent_config.up.sql", size: 211, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0x92, 0x22, 0x37, 0x96, 0xf3, 0xb5, 0x5b, 0x27, 0xd0, 0x7d, 0x43, 0x5, 0x4e, 0x9d, 0xe2, 0x49, 0xbe, 0x86, 0x31, 0xa1, 0x89, 0xff, 0xd6, 0x51, 0xe0, 0x9c, 0xb, 0xda, 0xfc, 0xf2, 0x93}} return a, nil } @@ -312,7 +314,7 @@ func _1647882837_add_communities_settings_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647882837_add_communities_settings_table.up.sql", size: 206, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1647882837_add_communities_settings_table.up.sql", size: 206, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbd, 0x87, 0x78, 0x99, 0xd9, 0x5d, 0xbd, 0xf7, 0x57, 0x9c, 0xca, 0x97, 0xbd, 0xb3, 0xe9, 0xb5, 0x89, 0x31, 0x3f, 0xf6, 0x5c, 0x13, 0xb, 0xc3, 0x54, 0x93, 0x18, 0x40, 0x7, 0x82, 0xfe, 0x7e}} return a, nil } @@ -332,7 +334,7 @@ func _1647956635_add_waku_messages_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1647956635_add_waku_messages_table.up.sql", size: 266, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1647956635_add_waku_messages_table.up.sql", size: 266, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0xe, 0xe1, 0xdc, 0xda, 0x2e, 0x89, 0x8d, 0xdc, 0x2a, 0x1c, 0x13, 0xa1, 0xfc, 0xfe, 0xf, 0xb2, 0xb9, 0x85, 0xc8, 0x45, 0xd6, 0xd1, 0x7, 0x5c, 0xa3, 0x8, 0x47, 0x44, 0x6d, 0x96, 0xe0}} return a, nil } @@ -352,7 +354,7 @@ func _1648554928_network_testUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1648554928_network_test.up.sql", size: 132, mode: os.FileMode(0644), modTime: time.Unix(1650884918, 0)} + info := bindataFileInfo{name: "1648554928_network_test.up.sql", size: 132, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9a, 0xc5, 0x7f, 0x87, 0xf3, 0x2c, 0xf7, 0xbb, 0xd3, 0x3a, 0x4e, 0x76, 0x88, 0xca, 0xaf, 0x73, 0xce, 0x8f, 0xa1, 0xf6, 0x3d, 0x4d, 0xed, 0x6f, 0x49, 0xf2, 0xfe, 0x56, 0x2a, 0x60, 0x68, 0xca}} return a, nil } @@ -372,7 +374,7 @@ func _1649174829_add_visitble_tokenUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1649174829_add_visitble_token.up.sql", size: 84, mode: os.FileMode(0644), modTime: time.Unix(1651569001, 0)} + info := bindataFileInfo{name: "1649174829_add_visitble_token.up.sql", size: 84, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa3, 0x22, 0xc0, 0x2b, 0x3f, 0x4f, 0x3d, 0x5e, 0x4c, 0x68, 0x7c, 0xd0, 0x15, 0x36, 0x9f, 0xec, 0xa1, 0x2a, 0x7b, 0xb4, 0xe3, 0xc6, 0xc9, 0xb4, 0x81, 0x50, 0x4a, 0x11, 0x3b, 0x35, 0x7, 0xcf}} return a, nil } @@ -392,7 +394,7 @@ func _1649882262_add_derived_from_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1649882262_add_derived_from_accounts.up.sql", size: 110, mode: os.FileMode(0644), modTime: time.Unix(1651569001, 0)} + info := bindataFileInfo{name: "1649882262_add_derived_from_accounts.up.sql", size: 110, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x11, 0xb9, 0x44, 0x4d, 0x85, 0x8d, 0x7f, 0xb4, 0xae, 0x4f, 0x5c, 0x66, 0x64, 0xb6, 0xe2, 0xe, 0x3d, 0xad, 0x9d, 0x8, 0x4f, 0xab, 0x6e, 0xa8, 0x7d, 0x76, 0x3, 0xad, 0x96, 0x1, 0xee, 0x5c}} return a, nil } @@ -412,7 +414,7 @@ func _1650612625_add_community_message_archive_hashes_tableUpSql() (*asset, erro return nil, err } - info := bindataFileInfo{name: "1650612625_add_community_message_archive_hashes_table.up.sql", size: 130, mode: os.FileMode(0644), modTime: time.Unix(1652180449, 0)} + info := bindataFileInfo{name: "1650612625_add_community_message_archive_hashes_table.up.sql", size: 130, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x48, 0x31, 0xb3, 0x75, 0x23, 0xe2, 0x45, 0xe, 0x47, 0x1b, 0x35, 0xa5, 0x6e, 0x83, 0x4e, 0x64, 0x7d, 0xd7, 0xa2, 0xda, 0xe9, 0x53, 0xf1, 0x16, 0x86, 0x2c, 0x57, 0xad, 0xfa, 0xca, 0x39, 0xde}} return a, nil } @@ -432,7 +434,7 @@ func _1650616788_add_communities_archives_info_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1650616788_add_communities_archives_info_table.up.sql", size: 208, mode: os.FileMode(0644), modTime: time.Unix(1652180449, 0)} + info := bindataFileInfo{name: "1650616788_add_communities_archives_info_table.up.sql", size: 208, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0x4f, 0x80, 0x45, 0xb9, 0xd9, 0x15, 0xe2, 0x78, 0xd0, 0xcb, 0x71, 0xc1, 0x1b, 0xb7, 0x1b, 0x1b, 0x97, 0xfe, 0x47, 0x53, 0x3c, 0x62, 0xbc, 0xdd, 0x3a, 0x94, 0x1a, 0xc, 0x48, 0x76, 0xe}} return a, nil } @@ -452,7 +454,7 @@ func _1652715604_add_clock_accountsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1652715604_add_clock_accounts.up.sql", size: 62, mode: os.FileMode(0644), modTime: time.Unix(1653314960, 0)} + info := bindataFileInfo{name: "1652715604_add_clock_accounts.up.sql", size: 62, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0xd9, 0x8d, 0x73, 0xc9, 0xef, 0xfa, 0xb1, 0x4b, 0xa5, 0xf3, 0x5, 0x19, 0x26, 0x46, 0xf8, 0x47, 0x93, 0xdb, 0xac, 0x2, 0xef, 0xf9, 0x71, 0x56, 0x83, 0xe6, 0x2d, 0xb0, 0xd7, 0x83, 0x5c}} return a, nil } @@ -472,7 +474,7 @@ func _1653037334_add_notifications_settings_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1653037334_add_notifications_settings_table.up.sql", size: 1276, mode: os.FileMode(0644), modTime: time.Unix(1654616593, 0)} + info := bindataFileInfo{name: "1653037334_add_notifications_settings_table.up.sql", size: 1276, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4b, 0xc4, 0x65, 0xac, 0xa, 0xf2, 0xef, 0xb6, 0x39, 0x3c, 0xc5, 0xb1, 0xb2, 0x9c, 0x86, 0x58, 0xe0, 0x38, 0xcb, 0x57, 0x3c, 0x76, 0x73, 0x87, 0x79, 0x4e, 0xf6, 0xed, 0xb0, 0x8e, 0x9e, 0xa}} return a, nil } @@ -492,7 +494,7 @@ func _1654702119_add_mutual_contact_settingsUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1654702119_add_mutual_contact_settings.up.sql", size: 78, mode: os.FileMode(0644), modTime: time.Unix(1655124437, 0)} + info := bindataFileInfo{name: "1654702119_add_mutual_contact_settings.up.sql", size: 78, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x26, 0x66, 0x67, 0x50, 0xfe, 0xd7, 0xe3, 0x29, 0x8b, 0xff, 0x9d, 0x5a, 0x87, 0xa7, 0x99, 0x6e, 0xd6, 0xcd, 0x2e, 0xbb, 0x17, 0xdf, 0x7f, 0xf7, 0xa3, 0xfa, 0x32, 0x7c, 0x2d, 0x92, 0xc8, 0x74}} return a, nil } @@ -512,7 +514,7 @@ func _1655375270_add_clock_field_to_communities_settings_tableUpSql() (*asset, e return nil, err } - info := bindataFileInfo{name: "1655375270_add_clock_field_to_communities_settings_table.up.sql", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1655479371, 0)} + info := bindataFileInfo{name: "1655375270_add_clock_field_to_communities_settings_table.up.sql", size: 74, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x19, 0xc5, 0xc0, 0xf9, 0x84, 0x53, 0xdf, 0x83, 0xcf, 0xb6, 0x40, 0x6d, 0xf5, 0xdc, 0x77, 0x37, 0xb7, 0xe3, 0xa, 0x75, 0xe7, 0x6, 0x11, 0xca, 0x2b, 0x51, 0x92, 0xdd, 0x7d, 0xdb, 0xc3, 0xf5}} return a, nil } @@ -532,7 +534,7 @@ func _1655385721_drop_networks_configUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1655385721_drop_networks_config.up.sql", size: 27, mode: os.FileMode(0644), modTime: time.Unix(1657891180, 0)} + info := bindataFileInfo{name: "1655385721_drop_networks_config.up.sql", size: 27, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfc, 0xa7, 0x20, 0xbb, 0x67, 0x21, 0xe, 0xc6, 0xc8, 0x21, 0x74, 0xe0, 0xce, 0xc8, 0xe2, 0x2, 0xb4, 0xea, 0xf0, 0xe5, 0xc4, 0x4d, 0xdd, 0xd4, 0x52, 0x31, 0xa9, 0x3d, 0xcd, 0xd8, 0x9b, 0xab}} return a, nil } @@ -552,7 +554,7 @@ func _1655385724_networks_chaincolor_shortnameUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1655385724_networks_chainColor_shortName.up.sql", size: 220, mode: os.FileMode(0644), modTime: time.Unix(1657891180, 0)} + info := bindataFileInfo{name: "1655385724_networks_chainColor_shortName.up.sql", size: 220, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd9, 0xe7, 0x84, 0xbb, 0x5f, 0xd2, 0x2c, 0x42, 0x88, 0x62, 0x52, 0xb6, 0x58, 0x31, 0xac, 0xc, 0x96, 0x2b, 0x1b, 0xe5, 0x4e, 0x9a, 0x3a, 0xf6, 0xf6, 0xfc, 0xa9, 0x1a, 0x35, 0x62, 0x28, 0x88}} return a, nil } @@ -572,7 +574,7 @@ func _1655456688_add_deleted_at_field_to_bookmarks_tableUpSql() (*asset, error) return nil, err } - info := bindataFileInfo{name: "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql", size: 69, mode: os.FileMode(0644), modTime: time.Unix(1657891180, 0)} + info := bindataFileInfo{name: "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql", size: 69, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe7, 0x9a, 0xbd, 0x9a, 0xc9, 0xf, 0xdf, 0x90, 0x0, 0x5d, 0xea, 0x6e, 0x7d, 0x51, 0x95, 0xcd, 0x90, 0xd3, 0x1a, 0x36, 0x6c, 0xf4, 0xbd, 0xa7, 0x6b, 0xbf, 0xe5, 0xdb, 0xa3, 0x88, 0xe3, 0x50}} return a, nil } @@ -592,7 +594,7 @@ func _1655462032_create_bookmarks_deleted_at_indexUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1655462032_create_bookmarks_deleted_at_index.up.sql", size: 81, mode: os.FileMode(0644), modTime: time.Unix(1657891180, 0)} + info := bindataFileInfo{name: "1655462032_create_bookmarks_deleted_at_index.up.sql", size: 81, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf, 0x8e, 0x20, 0x6b, 0x14, 0x9e, 0xcd, 0x97, 0xd3, 0xfe, 0x62, 0x3, 0x26, 0x59, 0x1, 0x6c, 0x99, 0xef, 0x6d, 0x21, 0xd4, 0xb5, 0xa3, 0xf4, 0x39, 0x40, 0x54, 0x6, 0xd, 0x60, 0x13, 0x38}} return a, nil } @@ -612,7 +614,7 @@ func _1657617291_add_multi_transactions_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1657617291_add_multi_transactions_table.up.sql", size: 412, mode: os.FileMode(0644), modTime: time.Unix(1657891180, 0)} + info := bindataFileInfo{name: "1657617291_add_multi_transactions_table.up.sql", size: 412, mode: os.FileMode(0664), modTime: time.Unix(1659444749, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x86, 0xb0, 0x4e, 0x8c, 0x4, 0x82, 0xb4, 0x43, 0xaa, 0xd0, 0x16, 0xdd, 0xcb, 0x88, 0x81, 0xac, 0x4, 0x34, 0x1a, 0x8f, 0x2e, 0xc5, 0x69, 0xb, 0xf0, 0x17, 0xf7, 0xe3, 0x9, 0xe, 0x54, 0xe0}} return a, nil } @@ -632,7 +634,7 @@ func _1660134042_add_social_links_settings_tableUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660134042_add_social_links_settings_table.up.sql", size: 334, mode: os.FileMode(0644), modTime: time.Unix(1660664361, 0)} + info := bindataFileInfo{name: "1660134042_add_social_links_settings_table.up.sql", size: 334, mode: os.FileMode(0664), modTime: time.Unix(1660862195, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x84, 0x73, 0xb6, 0xe7, 0x3f, 0xaa, 0x39, 0x9a, 0x56, 0x56, 0x31, 0xf1, 0x8e, 0x26, 0x23, 0x1, 0xe4, 0xfa, 0x98, 0xfe, 0x78, 0x87, 0x20, 0xcb, 0x52, 0xf4, 0x38, 0x7f, 0xc4, 0x1c, 0x4, 0x22}} return a, nil } @@ -652,11 +654,51 @@ func _1660134060_settings_bioUpSql() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "1660134060_settings_bio.up.sql", size: 91, mode: os.FileMode(0644), modTime: time.Unix(1660664361, 0)} + info := bindataFileInfo{name: "1660134060_settings_bio.up.sql", size: 91, mode: os.FileMode(0664), modTime: time.Unix(1660862195, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x46, 0x25, 0xa0, 0xa6, 0x47, 0xff, 0xbc, 0x2a, 0x0, 0xff, 0x59, 0x4b, 0xb0, 0xc9, 0x4e, 0x15, 0xe4, 0xd9, 0xda, 0xeb, 0xfe, 0x55, 0x98, 0xc3, 0x9d, 0x96, 0xe7, 0xf, 0xd1, 0x5c, 0x93, 0x73}} return a, nil } +var __1660134070_add_wakuv2_storeUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x28\x4f\xcc\x2e\x2d\x33\x8a\x4f\xce\xcf\x4b\xcb\x4c\x57\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\xcd\x4b\x4c\xca\x49\x8d\x2f\x2e\xc9\x2f\x4a\x55\x70\xf2\xf7\xf7\x71\x75\xf4\x53\x70\x71\x75\x73\x0c\xf5\x09\x51\x48\x4b\xcc\x29\x4e\xb5\xe6\x22\xca\x20\xb0\x09\xf1\xc9\x89\x05\x89\xc9\x99\x25\x95\x0a\x9e\x7e\x21\x24\x69\x2c\x4e\x4d\xce\xcf\x4b\x29\x86\xe8\xe3\x0a\x0d\x70\x71\x0c\x41\xd7\x13\xec\x1a\x82\xea\x5c\x5b\x05\x03\x1d\x74\x7b\x91\xc4\x60\x46\xda\x2a\x18\x58\x73\x01\x02\x00\x00\xff\xff\xfc\xb0\x43\xcf\x0d\x01\x00\x00") + +func _1660134070_add_wakuv2_storeUpSqlBytes() ([]byte, error) { + return bindataRead( + __1660134070_add_wakuv2_storeUpSql, + "1660134070_add_wakuv2_store.up.sql", + ) +} + +func _1660134070_add_wakuv2_storeUpSql() (*asset, error) { + bytes, err := _1660134070_add_wakuv2_storeUpSqlBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "1660134070_add_wakuv2_store.up.sql", size: 269, mode: os.FileMode(0664), modTime: time.Unix(1660925347, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1d, 0xe6, 0xc3, 0x9, 0xef, 0xdc, 0xae, 0x49, 0x30, 0x78, 0x54, 0xd6, 0xdb, 0xbf, 0xc0, 0x8e, 0x25, 0x8f, 0xfc, 0x67, 0x80, 0x39, 0x37, 0xd4, 0x86, 0xc1, 0x85, 0xc8, 0x99, 0xc4, 0x59, 0xd4}} + return a, nil +} + +var __1660134072_waku2_store_messagesUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x91\xbd\x6a\xc3\x30\x14\x85\x67\xeb\x29\xee\x68\x83\x87\xee\x9e\xe4\x58\x69\x45\x55\xa9\xc8\xd7\x24\x99\x82\x63\x5f\x8a\xa0\x96\x8c\xe5\x84\xf6\xed\x0b\x21\x94\x60\xd3\x9f\xf9\x1c\xbe\x23\x7d\x77\x63\x05\x47\x01\xc8\x4b\x25\x40\x6e\x41\x1b\x04\xb1\x97\x35\xd6\x10\xe7\x30\xd1\x71\xa0\x18\xdb\x37\x8a\x90\xb2\xc4\xf5\x50\x2a\x53\xe6\x2c\x99\xa8\x23\x77\xa1\x09\xdd\x40\x71\x6e\x87\x11\xa4\x46\xf1\x28\xec\x15\xa0\x1b\xa5\x72\x96\x44\xf2\xfd\x1f\x95\x2e\xf8\x99\xfc\x8c\x61\x74\xdd\x95\x7d\x1f\x8e\xe7\x53\x3c\x9f\x7e\xc8\xda\xcf\xf7\xd0\x7e\xbf\xe7\x42\x53\x74\xc1\xaf\x26\xa0\x12\x5b\xde\x28\x84\x87\x9c\x25\x1b\xa3\x6b\xb4\x5c\x6a\x84\xdb\xaf\xa4\xef\xe9\x03\x5e\xad\x7c\xe1\xf6\x00\xcf\xe2\x00\xa9\xeb\x73\xb8\x1b\xce\x58\x06\x3b\x89\x4f\xa6\x41\xb0\x66\x27\xab\x82\xb1\x9b\x33\xa9\x2b\xb1\xff\xcd\xd9\x71\x29\xc0\xe8\x85\xd4\x74\xd1\xc8\x8a\xff\xc3\xd7\x27\x58\xe3\x57\x9d\xac\xf8\x0a\x00\x00\xff\xff\x55\x11\x6d\x5f\xf1\x01\x00\x00") + +func _1660134072_waku2_store_messagesUpSqlBytes() ([]byte, error) { + return bindataRead( + __1660134072_waku2_store_messagesUpSql, + "1660134072_waku2_store_messages.up.sql", + ) +} + +func _1660134072_waku2_store_messagesUpSql() (*asset, error) { + bytes, err := _1660134072_waku2_store_messagesUpSqlBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "1660134072_waku2_store_messages.up.sql", size: 497, mode: os.FileMode(0664), modTime: time.Unix(1660925347, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3e, 0xeb, 0xb4, 0xa0, 0xa1, 0x2b, 0xcb, 0x4c, 0x3c, 0xc6, 0xd0, 0xe8, 0x96, 0xe3, 0x96, 0xf1, 0x4f, 0x1f, 0xe0, 0xe7, 0x1f, 0x85, 0xa3, 0xe, 0xf7, 0x52, 0x56, 0x63, 0x2b, 0xb0, 0x87, 0x7b}} + return a, nil +} + var _docGo = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x2c\xc9\xb1\x0d\xc4\x20\x0c\x05\xd0\x9e\x29\xfe\x02\xd8\xfd\x6d\xe3\x4b\xac\x2f\x44\x82\x09\x78\x7f\xa5\x49\xfd\xa6\x1d\xdd\xe8\xd8\xcf\x55\x8a\x2a\xe3\x47\x1f\xbe\x2c\x1d\x8c\xfa\x6f\xe3\xb4\x34\xd4\xd9\x89\xbb\x71\x59\xb6\x18\x1b\x35\x20\xa2\x9f\x0a\x03\xa2\xe5\x0d\x00\x00\xff\xff\x60\xcd\x06\xbe\x4a\x00\x00\x00") func docGoBytes() ([]byte, error) { @@ -672,7 +714,7 @@ func docGo() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1648117578, 0)} + info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0664), modTime: time.Unix(1653180231, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x7c, 0x28, 0xcd, 0x47, 0xf2, 0xfa, 0x7c, 0x51, 0x2d, 0xd8, 0x38, 0xb, 0xb0, 0x34, 0x9d, 0x4c, 0x62, 0xa, 0x9e, 0x28, 0xc3, 0x31, 0x23, 0xd9, 0xbb, 0x89, 0x9f, 0xa0, 0x89, 0x1f, 0xe8}} return a, nil } @@ -768,65 +810,42 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "1640111208_dummy.up.sql": _1640111208_dummyUpSql, - - "1642666031_add_removed_clock_to_bookmarks.up.sql": _1642666031_add_removed_clock_to_bookmarksUpSql, - - "1643644541_gif_api_key_setting.up.sql": _1643644541_gif_api_key_settingUpSql, - - "1644188994_recent_stickers.up.sql": _1644188994_recent_stickersUpSql, - - "1646659233_add_address_to_dapp_permisssion.up.sql": _1646659233_add_address_to_dapp_permisssionUpSql, - - "1646841105_add_emoji_account.up.sql": _1646841105_add_emoji_accountUpSql, - - "1647278782_display_name.up.sql": _1647278782_display_nameUpSql, - - "1647862838_reset_last_backup.up.sql": _1647862838_reset_last_backupUpSql, - - "1647871652_add_settings_sync_clock_table.up.sql": _1647871652_add_settings_sync_clock_tableUpSql, - - "1647880168_add_torrent_config.up.sql": _1647880168_add_torrent_configUpSql, - - "1647882837_add_communities_settings_table.up.sql": _1647882837_add_communities_settings_tableUpSql, - - "1647956635_add_waku_messages_table.up.sql": _1647956635_add_waku_messages_tableUpSql, - - "1648554928_network_test.up.sql": _1648554928_network_testUpSql, - - "1649174829_add_visitble_token.up.sql": _1649174829_add_visitble_tokenUpSql, - - "1649882262_add_derived_from_accounts.up.sql": _1649882262_add_derived_from_accountsUpSql, - - "1650612625_add_community_message_archive_hashes_table.up.sql": _1650612625_add_community_message_archive_hashes_tableUpSql, - - "1650616788_add_communities_archives_info_table.up.sql": _1650616788_add_communities_archives_info_tableUpSql, - - "1652715604_add_clock_accounts.up.sql": _1652715604_add_clock_accountsUpSql, - - "1653037334_add_notifications_settings_table.up.sql": _1653037334_add_notifications_settings_tableUpSql, - - "1654702119_add_mutual_contact_settings.up.sql": _1654702119_add_mutual_contact_settingsUpSql, - + "1640111208_dummy.up.sql": _1640111208_dummyUpSql, + "1642666031_add_removed_clock_to_bookmarks.up.sql": _1642666031_add_removed_clock_to_bookmarksUpSql, + "1643644541_gif_api_key_setting.up.sql": _1643644541_gif_api_key_settingUpSql, + "1644188994_recent_stickers.up.sql": _1644188994_recent_stickersUpSql, + "1646659233_add_address_to_dapp_permisssion.up.sql": _1646659233_add_address_to_dapp_permisssionUpSql, + "1646841105_add_emoji_account.up.sql": _1646841105_add_emoji_accountUpSql, + "1647278782_display_name.up.sql": _1647278782_display_nameUpSql, + "1647862838_reset_last_backup.up.sql": _1647862838_reset_last_backupUpSql, + "1647871652_add_settings_sync_clock_table.up.sql": _1647871652_add_settings_sync_clock_tableUpSql, + "1647880168_add_torrent_config.up.sql": _1647880168_add_torrent_configUpSql, + "1647882837_add_communities_settings_table.up.sql": _1647882837_add_communities_settings_tableUpSql, + "1647956635_add_waku_messages_table.up.sql": _1647956635_add_waku_messages_tableUpSql, + "1648554928_network_test.up.sql": _1648554928_network_testUpSql, + "1649174829_add_visitble_token.up.sql": _1649174829_add_visitble_tokenUpSql, + "1649882262_add_derived_from_accounts.up.sql": _1649882262_add_derived_from_accountsUpSql, + "1650612625_add_community_message_archive_hashes_table.up.sql": _1650612625_add_community_message_archive_hashes_tableUpSql, + "1650616788_add_communities_archives_info_table.up.sql": _1650616788_add_communities_archives_info_tableUpSql, + "1652715604_add_clock_accounts.up.sql": _1652715604_add_clock_accountsUpSql, + "1653037334_add_notifications_settings_table.up.sql": _1653037334_add_notifications_settings_tableUpSql, + "1654702119_add_mutual_contact_settings.up.sql": _1654702119_add_mutual_contact_settingsUpSql, "1655375270_add_clock_field_to_communities_settings_table.up.sql": _1655375270_add_clock_field_to_communities_settings_tableUpSql, - - "1655385721_drop_networks_config.up.sql": _1655385721_drop_networks_configUpSql, - - "1655385724_networks_chainColor_shortName.up.sql": _1655385724_networks_chaincolor_shortnameUpSql, - - "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": _1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, - - "1655462032_create_bookmarks_deleted_at_index.up.sql": _1655462032_create_bookmarks_deleted_at_indexUpSql, - - "1657617291_add_multi_transactions_table.up.sql": _1657617291_add_multi_transactions_tableUpSql, - - "1660134042_add_social_links_settings_table.up.sql": _1660134042_add_social_links_settings_tableUpSql, - - "1660134060_settings_bio.up.sql": _1660134060_settings_bioUpSql, - - "doc.go": docGo, + "1655385721_drop_networks_config.up.sql": _1655385721_drop_networks_configUpSql, + "1655385724_networks_chainColor_shortName.up.sql": _1655385724_networks_chaincolor_shortnameUpSql, + "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": _1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, + "1655462032_create_bookmarks_deleted_at_index.up.sql": _1655462032_create_bookmarks_deleted_at_indexUpSql, + "1657617291_add_multi_transactions_table.up.sql": _1657617291_add_multi_transactions_tableUpSql, + "1660134042_add_social_links_settings_table.up.sql": _1660134042_add_social_links_settings_tableUpSql, + "1660134060_settings_bio.up.sql": _1660134060_settings_bioUpSql, + "1660134070_add_wakuv2_store.up.sql": _1660134070_add_wakuv2_storeUpSql, + "1660134072_waku2_store_messages.up.sql": _1660134072_waku2_store_messagesUpSql, + "doc.go": docGo, } +// AssetDebug is true if the assets were built with the debug flag enabled. +const AssetDebug = false + // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the @@ -868,35 +887,37 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "1640111208_dummy.up.sql": &bintree{_1640111208_dummyUpSql, map[string]*bintree{}}, - "1642666031_add_removed_clock_to_bookmarks.up.sql": &bintree{_1642666031_add_removed_clock_to_bookmarksUpSql, map[string]*bintree{}}, - "1643644541_gif_api_key_setting.up.sql": &bintree{_1643644541_gif_api_key_settingUpSql, map[string]*bintree{}}, - "1644188994_recent_stickers.up.sql": &bintree{_1644188994_recent_stickersUpSql, map[string]*bintree{}}, - "1646659233_add_address_to_dapp_permisssion.up.sql": &bintree{_1646659233_add_address_to_dapp_permisssionUpSql, map[string]*bintree{}}, - "1646841105_add_emoji_account.up.sql": &bintree{_1646841105_add_emoji_accountUpSql, map[string]*bintree{}}, - "1647278782_display_name.up.sql": &bintree{_1647278782_display_nameUpSql, map[string]*bintree{}}, - "1647862838_reset_last_backup.up.sql": &bintree{_1647862838_reset_last_backupUpSql, map[string]*bintree{}}, - "1647871652_add_settings_sync_clock_table.up.sql": &bintree{_1647871652_add_settings_sync_clock_tableUpSql, map[string]*bintree{}}, - "1647880168_add_torrent_config.up.sql": &bintree{_1647880168_add_torrent_configUpSql, map[string]*bintree{}}, - "1647882837_add_communities_settings_table.up.sql": &bintree{_1647882837_add_communities_settings_tableUpSql, map[string]*bintree{}}, - "1647956635_add_waku_messages_table.up.sql": &bintree{_1647956635_add_waku_messages_tableUpSql, map[string]*bintree{}}, - "1648554928_network_test.up.sql": &bintree{_1648554928_network_testUpSql, map[string]*bintree{}}, - "1649174829_add_visitble_token.up.sql": &bintree{_1649174829_add_visitble_tokenUpSql, map[string]*bintree{}}, - "1649882262_add_derived_from_accounts.up.sql": &bintree{_1649882262_add_derived_from_accountsUpSql, map[string]*bintree{}}, - "1650612625_add_community_message_archive_hashes_table.up.sql": &bintree{_1650612625_add_community_message_archive_hashes_tableUpSql, map[string]*bintree{}}, - "1650616788_add_communities_archives_info_table.up.sql": &bintree{_1650616788_add_communities_archives_info_tableUpSql, map[string]*bintree{}}, - "1652715604_add_clock_accounts.up.sql": &bintree{_1652715604_add_clock_accountsUpSql, map[string]*bintree{}}, - "1653037334_add_notifications_settings_table.up.sql": &bintree{_1653037334_add_notifications_settings_tableUpSql, map[string]*bintree{}}, - "1654702119_add_mutual_contact_settings.up.sql": &bintree{_1654702119_add_mutual_contact_settingsUpSql, map[string]*bintree{}}, - "1655375270_add_clock_field_to_communities_settings_table.up.sql": &bintree{_1655375270_add_clock_field_to_communities_settings_tableUpSql, map[string]*bintree{}}, - "1655385721_drop_networks_config.up.sql": &bintree{_1655385721_drop_networks_configUpSql, map[string]*bintree{}}, - "1655385724_networks_chainColor_shortName.up.sql": &bintree{_1655385724_networks_chaincolor_shortnameUpSql, map[string]*bintree{}}, - "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": &bintree{_1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, map[string]*bintree{}}, - "1655462032_create_bookmarks_deleted_at_index.up.sql": &bintree{_1655462032_create_bookmarks_deleted_at_indexUpSql, map[string]*bintree{}}, - "1657617291_add_multi_transactions_table.up.sql": &bintree{_1657617291_add_multi_transactions_tableUpSql, map[string]*bintree{}}, - "1660134042_add_social_links_settings_table.up.sql": &bintree{_1660134042_add_social_links_settings_tableUpSql, map[string]*bintree{}}, - "1660134060_settings_bio.up.sql": &bintree{_1660134060_settings_bioUpSql, map[string]*bintree{}}, - "doc.go": &bintree{docGo, map[string]*bintree{}}, + "1640111208_dummy.up.sql": {_1640111208_dummyUpSql, map[string]*bintree{}}, + "1642666031_add_removed_clock_to_bookmarks.up.sql": {_1642666031_add_removed_clock_to_bookmarksUpSql, map[string]*bintree{}}, + "1643644541_gif_api_key_setting.up.sql": {_1643644541_gif_api_key_settingUpSql, map[string]*bintree{}}, + "1644188994_recent_stickers.up.sql": {_1644188994_recent_stickersUpSql, map[string]*bintree{}}, + "1646659233_add_address_to_dapp_permisssion.up.sql": {_1646659233_add_address_to_dapp_permisssionUpSql, map[string]*bintree{}}, + "1646841105_add_emoji_account.up.sql": {_1646841105_add_emoji_accountUpSql, map[string]*bintree{}}, + "1647278782_display_name.up.sql": {_1647278782_display_nameUpSql, map[string]*bintree{}}, + "1647862838_reset_last_backup.up.sql": {_1647862838_reset_last_backupUpSql, map[string]*bintree{}}, + "1647871652_add_settings_sync_clock_table.up.sql": {_1647871652_add_settings_sync_clock_tableUpSql, map[string]*bintree{}}, + "1647880168_add_torrent_config.up.sql": {_1647880168_add_torrent_configUpSql, map[string]*bintree{}}, + "1647882837_add_communities_settings_table.up.sql": {_1647882837_add_communities_settings_tableUpSql, map[string]*bintree{}}, + "1647956635_add_waku_messages_table.up.sql": {_1647956635_add_waku_messages_tableUpSql, map[string]*bintree{}}, + "1648554928_network_test.up.sql": {_1648554928_network_testUpSql, map[string]*bintree{}}, + "1649174829_add_visitble_token.up.sql": {_1649174829_add_visitble_tokenUpSql, map[string]*bintree{}}, + "1649882262_add_derived_from_accounts.up.sql": {_1649882262_add_derived_from_accountsUpSql, map[string]*bintree{}}, + "1650612625_add_community_message_archive_hashes_table.up.sql": {_1650612625_add_community_message_archive_hashes_tableUpSql, map[string]*bintree{}}, + "1650616788_add_communities_archives_info_table.up.sql": {_1650616788_add_communities_archives_info_tableUpSql, map[string]*bintree{}}, + "1652715604_add_clock_accounts.up.sql": {_1652715604_add_clock_accountsUpSql, map[string]*bintree{}}, + "1653037334_add_notifications_settings_table.up.sql": {_1653037334_add_notifications_settings_tableUpSql, map[string]*bintree{}}, + "1654702119_add_mutual_contact_settings.up.sql": {_1654702119_add_mutual_contact_settingsUpSql, map[string]*bintree{}}, + "1655375270_add_clock_field_to_communities_settings_table.up.sql": {_1655375270_add_clock_field_to_communities_settings_tableUpSql, map[string]*bintree{}}, + "1655385721_drop_networks_config.up.sql": {_1655385721_drop_networks_configUpSql, map[string]*bintree{}}, + "1655385724_networks_chainColor_shortName.up.sql": {_1655385724_networks_chaincolor_shortnameUpSql, map[string]*bintree{}}, + "1655456688_add_deleted_at_field_to_bookmarks_table.up.sql": {_1655456688_add_deleted_at_field_to_bookmarks_tableUpSql, map[string]*bintree{}}, + "1655462032_create_bookmarks_deleted_at_index.up.sql": {_1655462032_create_bookmarks_deleted_at_indexUpSql, map[string]*bintree{}}, + "1657617291_add_multi_transactions_table.up.sql": {_1657617291_add_multi_transactions_tableUpSql, map[string]*bintree{}}, + "1660134042_add_social_links_settings_table.up.sql": {_1660134042_add_social_links_settings_tableUpSql, map[string]*bintree{}}, + "1660134060_settings_bio.up.sql": {_1660134060_settings_bioUpSql, map[string]*bintree{}}, + "1660134070_add_wakuv2_store.up.sql": {_1660134070_add_wakuv2_storeUpSql, map[string]*bintree{}}, + "1660134072_waku2_store_messages.up.sql": {_1660134072_waku2_store_messagesUpSql, map[string]*bintree{}}, + "doc.go": {docGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. diff --git a/appdatabase/migrations/sql/1660134070_add_wakuv2_store.up.sql b/appdatabase/migrations/sql/1660134070_add_wakuv2_store.up.sql new file mode 100644 index 000000000..3fe3c0b03 --- /dev/null +++ b/appdatabase/migrations/sql/1660134070_add_wakuv2_store.up.sql @@ -0,0 +1,5 @@ +ALTER TABLE wakuv2_config ADD COLUMN enable_store BOOLEAN DEFAULT false; +ALTER TABLE wakuv2_config ADD COLUMN store_capacity INT; +ALTER TABLE wakuv2_config ADD COLUMN store_seconds INT; + +UPDATE wakuv2_config SET enable_store = 0, store_capacity = 0, store_seconds = 0; diff --git a/appdatabase/migrations/sql/1660134072_waku2_store_messages.up.sql b/appdatabase/migrations/sql/1660134072_waku2_store_messages.up.sql new file mode 100644 index 000000000..e746081f9 --- /dev/null +++ b/appdatabase/migrations/sql/1660134072_waku2_store_messages.up.sql @@ -0,0 +1,13 @@ +CREATE TABLE IF NOT EXISTS store_messages ( + id BLOB, + receiverTimestamp INTEGER NOT NULL, + senderTimestamp INTEGER NOT NULL, + contentTopic BLOB NOT NULL, + pubsubTopic BLOB NOT NULL, + payload BLOB, + version INTEGER NOT NULL DEFAULT 0, + CONSTRAINT messageIndex PRIMARY KEY (id, pubsubTopic) +) WITHOUT ROWID; + +CREATE INDEX IF NOT EXISTS store_message_senderTimestamp ON store_messages(senderTimestamp); +CREATE INDEX IF NOT EXISTS store_message_receiverTimestamp ON store_messages(receiverTimestamp); \ No newline at end of file diff --git a/go.mod b/go.mod index e58081651..54726ab8a 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/status-im/status-go go 1.18 -replace github.com/ethereum/go-ethereum v1.10.16 => github.com/status-im/go-ethereum v1.10.4-status.4 +replace github.com/ethereum/go-ethereum v1.10.21 => github.com/status-im/go-ethereum v1.10.4-status.4 replace github.com/docker/docker => github.com/docker/engine v1.4.2-0.20190717161051-705d9623b7c1 @@ -10,7 +10,9 @@ replace github.com/nfnt/resize => github.com/status-im/resize v0.0.0-20201215164 replace github.com/forPelevin/gomoji => github.com/status-im/gomoji v1.1.3-0.20220213022530-e5ac4a8732d4 -replace github.com/raulk/go-watchdog v1.2.0 => github.com/status-im/go-watchdog v1.2.0-ios-nolibproc +replace github.com/raulk/go-watchdog v1.3.0 => github.com/status-im/go-watchdog v1.2.0-ios-nolibproc + +replace github.com/flynn/noise v1.0.0 => github.com/status-im/noise v1.0.1-handshakeMessages require ( github.com/anacrolix/torrent v1.41.0 @@ -19,29 +21,29 @@ require ( github.com/cenkalti/backoff/v3 v3.2.2 github.com/davecgh/go-spew v1.1.1 github.com/deckarep/golang-set v1.8.0 - github.com/ethereum/go-ethereum v1.10.16 + github.com/ethereum/go-ethereum v1.10.21 github.com/forPelevin/gomoji v1.1.2 github.com/golang/mock v1.6.0 github.com/golang/protobuf v1.5.2 github.com/google/uuid v1.3.0 github.com/hashicorp/go-version v1.2.0 github.com/imdario/mergo v0.3.12 - github.com/ipfs/go-cid v0.0.7 + github.com/ipfs/go-cid v0.2.0 github.com/ipfs/go-ds-sql v0.3.0 github.com/ipfs/go-log v1.0.5 github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a github.com/keighl/metabolize v0.0.0-20150915210303-97ab655d4034 github.com/kilic/bls12-381 v0.0.0-20200607163746-32e1441c8a9f - github.com/lib/pq v1.9.0 - github.com/libp2p/go-libp2p v0.18.0 - github.com/libp2p/go-libp2p-core v0.14.0 - github.com/libp2p/go-libp2p-peerstore v0.6.0 - github.com/libp2p/go-libp2p-pubsub v0.6.1 + github.com/lib/pq v1.10.0 + github.com/libp2p/go-libp2p v0.21.0 + github.com/libp2p/go-libp2p-core v0.19.1 + github.com/libp2p/go-libp2p-peerstore v0.7.1 + github.com/libp2p/go-libp2p-pubsub v0.7.1-0.20220701163738-60cf38003244 github.com/lucasb-eyer/go-colorful v1.0.3 github.com/mat/besticon v0.0.0-20210314201728-1579f269edb7 - github.com/multiformats/go-multiaddr v0.5.0 - github.com/multiformats/go-multibase v0.0.3 - github.com/multiformats/go-multihash v0.0.15 + github.com/multiformats/go-multiaddr v0.6.0 + github.com/multiformats/go-multibase v0.1.1 + github.com/multiformats/go-multihash v0.2.0 github.com/multiformats/go-varint v0.0.6 github.com/mutecomm/go-sqlcipher v0.0.0-20190227152316-55dbde17881f github.com/nfnt/resize v0.0.0-00010101000000-000000000000 @@ -49,30 +51,28 @@ require ( github.com/oliamb/cutter v0.2.2 github.com/pborman/uuid v1.2.0 github.com/pkg/errors v0.9.1 - github.com/prometheus/client_golang v1.11.1 + github.com/prometheus/client_golang v1.12.1 github.com/russolsen/transit v0.0.0-20180705123435-0794b4c4505a github.com/status-im/doubleratchet v3.0.0+incompatible - github.com/status-im/go-waku v0.0.0-20220403002242-f1a40fad73c3 - github.com/status-im/go-waku-rendezvous v0.0.0-20211018070416-a93f3b70c432 + github.com/status-im/go-waku v0.1.1-0.20220819160153-b0761ad70648 + github.com/status-im/go-waku-rendezvous v0.0.0-20220817210730-9b9b02b1e880 github.com/status-im/markdown v0.0.0-20220622180305-7ee4aa8bbc3f github.com/status-im/migrate/v4 v4.6.2-status.2 - github.com/status-im/rendezvous v1.3.5-0.20220406135049-e84f589e197a + github.com/status-im/rendezvous v1.3.5 github.com/status-im/status-go/extkeys v1.1.2 github.com/status-im/tcp-shaker v0.0.0-20191114194237-215893130501 github.com/status-im/zxcvbn-go v0.0.0-20220311183720-5e8676676857 - github.com/stretchr/testify v1.7.1 - github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 + github.com/stretchr/testify v1.8.0 + github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a github.com/tsenart/tb v0.0.0-20181025101425-0d2499c8b6e9 github.com/vacp2p/mvds v0.0.24-0.20201124060106-26d8e94130d8 github.com/wealdtech/go-ens/v3 v3.5.0 github.com/wealdtech/go-multicodec v1.4.0 github.com/xeipuuv/gojsonschema v1.2.0 github.com/zenthangplus/goccm v0.0.0-20211005163543-2f2e522aca15 - go.uber.org/zap v1.21.0 - golang.org/x/crypto v0.0.0-20220131195533-30dcbda58838 + go.uber.org/zap v1.22.0 + golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e golang.org/x/image v0.0.0-20210220032944-ac19c3e999fb - google.golang.org/protobuf v1.27.1 // indirect - gopkg.in/go-playground/assert.v1 v1.2.1 // indirect gopkg.in/go-playground/validator.v9 v9.31.0 gopkg.in/natefinch/lumberjack.v2 v2.0.0 olympos.io/encoding/edn v0.0.0-20201019073823-d3554ca0b0a3 @@ -99,113 +99,100 @@ require ( github.com/anacrolix/upnp v0.1.3-0.20220123035249-922794e51c96 // indirect github.com/anacrolix/utp v0.1.0 // indirect github.com/andybalholm/cascadia v1.2.0 // indirect - github.com/benbjohnson/clock v1.1.0 // indirect + github.com/benbjohnson/clock v1.3.0 // indirect github.com/benbjohnson/immutable v0.3.0 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bits-and-blooms/bitset v1.2.0 // indirect github.com/bradfitz/iter v0.0.0-20191230175014-e8f45d346db8 // indirect - github.com/btcsuite/btcd v0.22.0-beta // indirect - github.com/cespare/xxhash/v2 v2.1.1 // indirect + github.com/btcsuite/btcd v0.22.1 // indirect + github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect + github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect + github.com/cespare/xxhash/v2 v2.1.2 // indirect github.com/cheekybits/genny v1.0.0 // indirect - github.com/containerd/cgroups v0.0.0-20201119153540-4cbc285b3327 // indirect - github.com/coreos/go-systemd/v22 v22.1.0 // indirect + github.com/containerd/cgroups v1.0.4 // indirect + github.com/coreos/go-systemd/v22 v22.3.2 // indirect github.com/cruxic/go-hmac-drbg v0.0.0-20170206035330-84c46983886d // indirect github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect + github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect github.com/docker/go-units v0.4.0 // indirect github.com/dustin/go-humanize v1.0.0 // indirect github.com/edsrzf/mmap-go v1.0.0 // indirect - github.com/elastic/gosigar v0.14.1 // indirect + github.com/elastic/gosigar v0.14.2 // indirect github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 // indirect github.com/flynn/noise v1.0.0 // indirect github.com/francoispqt/gojay v1.2.13 // indirect - github.com/fsnotify/fsnotify v1.5.1 // indirect + github.com/fsnotify/fsnotify v1.5.4 // indirect github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08 // indirect github.com/go-ole/go-ole v1.2.5 // indirect - github.com/go-playground/locales v0.13.0 // indirect - github.com/go-playground/universal-translator v0.17.0 // indirect + github.com/go-playground/locales v0.14.0 // indirect + github.com/go-playground/universal-translator v0.18.0 // indirect github.com/go-stack/stack v1.8.0 // indirect github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect - github.com/godbus/dbus/v5 v5.0.3 // indirect + github.com/godbus/dbus/v5 v5.1.0 // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang-migrate/migrate/v4 v4.8.0 // indirect + github.com/golang-migrate/migrate/v4 v4.15.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/snappy v0.0.4 // indirect github.com/google/btree v1.0.1 // indirect github.com/google/gopacket v1.1.19 // indirect - github.com/gorilla/websocket v1.4.2 // indirect - github.com/hashicorp/errwrap v1.0.0 // indirect - github.com/hashicorp/go-multierror v1.0.0 // indirect + github.com/gorilla/websocket v1.5.0 // indirect + github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect github.com/holiman/bloomfilter/v2 v2.0.3 // indirect github.com/holiman/uint256 v1.2.0 // indirect github.com/huandu/xstrings v1.3.2 // indirect - github.com/huin/goupnp v1.0.2 // indirect + github.com/huin/goupnp v1.0.3 // indirect github.com/ipfs/go-datastore v0.5.1 // indirect - github.com/ipfs/go-ipfs-util v0.0.2 // indirect - github.com/ipfs/go-log/v2 v2.5.0 // indirect + github.com/ipfs/go-log/v2 v2.5.1 // indirect github.com/jackpal/go-nat-pmp v1.0.2 // indirect github.com/jbenet/go-temp-err-catcher v0.1.0 // indirect github.com/jbenet/goprocess v0.1.4 // indirect - github.com/karalabe/usb v0.0.0-20211005121534-4c5740d64559 // indirect - github.com/klauspost/compress v1.13.6 // indirect - github.com/klauspost/cpuid/v2 v2.0.9 // indirect - github.com/koron/go-ssdp v0.0.2 // indirect - github.com/leodido/go-urn v1.2.0 // indirect - github.com/libp2p/go-buffer-pool v0.0.2 // indirect + github.com/karalabe/usb v0.0.2 // indirect + github.com/klauspost/compress v1.15.1 // indirect + github.com/klauspost/cpuid/v2 v2.0.14 // indirect + github.com/koron/go-ssdp v0.0.3 // indirect + github.com/leodido/go-urn v1.2.1 // indirect + github.com/libp2p/go-buffer-pool v0.1.0 // indirect github.com/libp2p/go-cidranger v1.1.0 // indirect - github.com/libp2p/go-conn-security-multistream v0.3.0 // indirect github.com/libp2p/go-eventbus v0.2.1 // indirect github.com/libp2p/go-flow-metrics v0.0.3 // indirect - github.com/libp2p/go-libp2p-asn-util v0.1.0 // indirect - github.com/libp2p/go-libp2p-blankhost v0.3.0 // indirect - github.com/libp2p/go-libp2p-connmgr v0.3.1 // indirect - github.com/libp2p/go-libp2p-discovery v0.6.0 // indirect - github.com/libp2p/go-libp2p-mplex v0.6.0 // indirect - github.com/libp2p/go-libp2p-nat v0.1.0 // indirect - github.com/libp2p/go-libp2p-noise v0.3.0 // indirect - github.com/libp2p/go-libp2p-pnet v0.2.0 // indirect - github.com/libp2p/go-libp2p-quic-transport v0.16.1 // indirect - github.com/libp2p/go-libp2p-resource-manager v0.1.5 // indirect - github.com/libp2p/go-libp2p-swarm v0.10.2 // indirect - github.com/libp2p/go-libp2p-tls v0.3.1 // indirect - github.com/libp2p/go-libp2p-transport-upgrader v0.7.1 // indirect - github.com/libp2p/go-libp2p-yamux v0.8.2 // indirect - github.com/libp2p/go-mplex v0.6.0 // indirect - github.com/libp2p/go-msgio v0.1.0 // indirect + github.com/libp2p/go-libp2p-asn-util v0.2.0 // indirect + github.com/libp2p/go-libp2p-resource-manager v0.5.1 // indirect + github.com/libp2p/go-mplex v0.7.0 // indirect + github.com/libp2p/go-msgio v0.2.0 // indirect github.com/libp2p/go-nat v0.1.0 // indirect github.com/libp2p/go-netroute v0.2.0 // indirect github.com/libp2p/go-openssl v0.0.7 // indirect - github.com/libp2p/go-reuseport v0.1.0 // indirect - github.com/libp2p/go-reuseport-transport v0.1.0 // indirect - github.com/libp2p/go-stream-muxer-multistream v0.4.0 // indirect - github.com/libp2p/go-tcp-transport v0.5.1 // indirect - github.com/libp2p/go-ws-transport v0.6.1-0.20220221074654-eeaddb3c061d // indirect - github.com/libp2p/go-yamux/v3 v3.0.2 // indirect - github.com/lucas-clemente/quic-go v0.25.0 // indirect - github.com/marten-seemann/qtls-go1-16 v0.1.4 // indirect - github.com/marten-seemann/qtls-go1-17 v0.1.0 // indirect - github.com/marten-seemann/qtls-go1-18 v0.1.0-beta.1 // indirect + github.com/libp2p/go-reuseport v0.2.0 // indirect + github.com/libp2p/go-yamux/v3 v3.1.2 // indirect + github.com/lucas-clemente/quic-go v0.28.0 // indirect + github.com/marten-seemann/qtls-go1-16 v0.1.5 // indirect + github.com/marten-seemann/qtls-go1-17 v0.1.2 // indirect + github.com/marten-seemann/qtls-go1-18 v0.1.2 // indirect + github.com/marten-seemann/qtls-go1-19 v0.1.0-beta.1 // indirect github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd // indirect github.com/mattn/go-colorable v0.1.8 // indirect github.com/mattn/go-isatty v0.0.14 // indirect github.com/mattn/go-runewidth v0.0.13 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect - github.com/miekg/dns v1.1.43 // indirect + github.com/mattn/go-sqlite3 v2.0.2+incompatible // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect + github.com/miekg/dns v1.1.50 // indirect github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b // indirect github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc // indirect - github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 // indirect github.com/minio/sha256-simd v1.0.0 // indirect github.com/mr-tron/base58 v1.2.0 // indirect github.com/mschoch/smat v0.2.0 // indirect - github.com/multiformats/go-base32 v0.0.3 // indirect + github.com/multiformats/go-base32 v0.0.4 // indirect github.com/multiformats/go-base36 v0.1.0 // indirect github.com/multiformats/go-multiaddr-dns v0.3.1 // indirect github.com/multiformats/go-multiaddr-fmt v0.1.0 // indirect - github.com/multiformats/go-multistream v0.2.2 // indirect + github.com/multiformats/go-multicodec v0.5.0 // indirect + github.com/multiformats/go-multistream v0.3.3 // indirect github.com/nxadm/tail v1.4.8 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect github.com/onsi/ginkgo v1.16.5 // indirect - github.com/opencontainers/runtime-spec v1.0.2 // indirect + github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect github.com/peterh/liner v1.2.1 // indirect @@ -228,11 +215,11 @@ require ( github.com/pion/webrtc/v3 v3.1.24-0.20220208053747-94262c1b2b38 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/prometheus/client_model v0.2.0 // indirect - github.com/prometheus/common v0.30.0 // indirect + github.com/prometheus/common v0.35.0 // indirect github.com/prometheus/procfs v0.7.3 // indirect github.com/prometheus/tsdb v0.10.0 // indirect github.com/raulk/clock v1.1.0 // indirect - github.com/raulk/go-watchdog v1.2.0 // indirect + github.com/raulk/go-watchdog v1.3.0 // indirect github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect github.com/rivo/uniseg v0.2.0 // indirect github.com/rjeczalik/notify v0.9.2 // indirect @@ -241,35 +228,39 @@ require ( github.com/russolsen/ohyeah v0.0.0-20160324131710-f4938c005315 // indirect github.com/russolsen/same v0.0.0-20160222130632-f089df61f51d // indirect github.com/shirou/gopsutil v3.21.5+incompatible // indirect - github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24 // indirect + github.com/shopspring/decimal v1.2.0 // indirect github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 // indirect - github.com/status-im/go-discover v0.0.0-20220220162124-91b97a3e0efe // indirect - github.com/status-im/go-multiaddr-ethv4 v1.2.1 // indirect + github.com/spaolacci/murmur3 v1.1.0 // indirect + github.com/status-im/go-discover v0.0.0-20220406135310-85a2ce36f63e // indirect + github.com/status-im/go-multiaddr-ethv4 v1.2.3 // indirect + github.com/status-im/go-rln v0.0.9 // indirect github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969 // indirect github.com/tklauser/go-sysconf v0.3.6 // indirect github.com/tklauser/numcpus v0.2.2 // indirect github.com/tyler-smith/go-bip39 v1.1.0 // indirect - github.com/whyrusleeping/multiaddr-filter v0.0.0-20160516205228-e903e4adabd7 // indirect github.com/whyrusleeping/timecache v0.0.0-20160911033111-cfcb2f1abfee // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect go.etcd.io/bbolt v1.3.6 // indirect go.opencensus.io v0.23.0 // indirect go.uber.org/atomic v1.9.0 // indirect - go.uber.org/multierr v1.7.0 // indirect - golang.org/x/mod v0.4.2 // indirect - golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect - golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect - golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect + go.uber.org/multierr v1.8.0 // indirect + golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect + golang.org/x/net v0.0.0-20220630215102-69896b714898 // indirect + golang.org/x/sync v0.0.0-20220513210516-0976fa681c29 // indirect + golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect golang.org/x/text v0.3.7 // indirect - golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect - golang.org/x/tools v0.1.5 // indirect - golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect + golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect + golang.org/x/tools v0.1.11 // indirect + golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect + google.golang.org/protobuf v1.28.0 // indirect + gopkg.in/go-playground/assert.v1 v1.2.1 // indirect gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect gopkg.in/urfave/cli.v1 v1.20.0 // indirect - gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + lukechampine.com/blake3 v1.1.7 // indirect modernc.org/libc v1.11.82 // indirect modernc.org/mathutil v1.4.1 // indirect modernc.org/memory v1.0.5 // indirect diff --git a/go.sum b/go.sum index 55b1588a8..7818b16fc 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,4 @@ +bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= bazil.org/fuse v0.0.0-20180421153158-65cc252bf669/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512/go.mod h1:FbcW6z/2VytnFDhZfumh8Ss8zxHE6qpMP5sHTRe0EaM= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= @@ -20,6 +21,20 @@ cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKV cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= +cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= +cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= +cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= +cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= +cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= +cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= +cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= +cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= +cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= +cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= +cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= +cloud.google.com/go v0.98.0/go.mod h1:ua6Ush4NALrHk5QXDWnjvZHN93OuF0HfuEPq9I1X0cM= +cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -29,17 +44,18 @@ cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM7 cloud.google.com/go/bigtable v1.2.0/go.mod h1:JcVAOl45lrTmQfLj7T6TxyMzIN/3FGGcFm+2xVAli2o= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/spanner v1.28.0/go.mod h1:7m6mtQZn/hMbMfx62ct5EWrGND4DNqkXyrmBPRS+OJo= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= collectd.org v0.3.0/go.mod h1:A/8DzQBkF6abtvrT2j/AU/4tiBgJWYyh0y/oB/4MlWE= -contrib.go.opencensus.io/exporter/prometheus v0.4.0/go.mod h1:o7cosnyfuPVK0tB8q0QmaQNhGnptITnPQB+z1+qeFB0= crawshaw.io/iox v0.0.0-20181124134642-c51c3df30797/go.mod h1:sXBiorCo8c46JlQV3oXPKINnZ8mcqnye1EkVkqsectk= crawshaw.io/sqlite v0.3.2/go.mod h1:igAO5JulrQ1DbdZdtVq48mnZUBAPOeFzer7VhDWNtW4= crawshaw.io/sqlite v0.3.3-0.20210127221821-98b1f83c5508/go.mod h1:igAO5JulrQ1DbdZdtVq48mnZUBAPOeFzer7VhDWNtW4= @@ -50,37 +66,90 @@ dmitri.shuralyov.com/service/change v0.0.0-20181023043359-a85b471d5412/go.mod h1 dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c/go.mod h1:0PRwlb0D6DFvNNtx+9ybjezNCa8XF0xaYcETyp6rHWU= filippo.io/edwards25519 v1.0.0-rc.1 h1:m0VOOB23frXZvAOK44usCgLWvtsxIoMCTBGJZlpmGfU= filippo.io/edwards25519 v1.0.0-rc.1/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= +gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= +github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 h1:cTp8I5+VIoKjsnZuH8vjyaysT/ses3EvZeaV/1UkF2M= github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8= github.com/Azure/azure-pipeline-go v0.2.1/go.mod h1:UGSo8XybXnIGZ3epmeBw7Jdz+HiUVpqIlpz/HKHylF4= github.com/Azure/azure-pipeline-go v0.2.2/go.mod h1:4rQ/NZncSvGqNkkOsNpOU1tgoNuIlp9AfUH5G1tvCHc= +github.com/Azure/azure-pipeline-go v0.2.3/go.mod h1:x841ezTBIMG6O3lAcl8ATHnsOPVl2bqk7S3ta6S6u4k= +github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1/go.mod h1:fBF9PQNqB8scdgpZ3ufzaLntG0AG7C1WjPMsiFOmfHM= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0/go.mod h1:tPaiy8S5bQ+S5sOiDlINkp7+Ef339+Nz5L5XO+cnOHo= github.com/Azure/azure-storage-blob-go v0.7.0/go.mod h1:f9YQKtsG1nMisotuTPpO0tjNuEjKRYAcJU8/ydDI++4= -github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8= +github.com/Azure/azure-storage-blob-go v0.14.0/go.mod h1:SMqIBi+SuiQH32bvyjngEewEeXoPfKMgWlBDaYf6fck= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= +github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= +github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= +github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= +github.com/Azure/go-autorest v10.8.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= +github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= +github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= +github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= github.com/Azure/go-autorest/autorest/adal v0.8.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= +github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= +github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= +github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= +github.com/Azure/go-autorest/autorest/adal v0.9.16/go.mod h1:tGMin8I49Yij6AQ+rvV+Xa/zwxYQB5hmsd6DkfAx2+A= github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+vPmf1Ij9AEBM5FuBIXLmIy0g= +github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= +github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= +github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= +github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= +github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= -github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/toml v1.1.0 h1:ksErzDEI1khOiGPgpwuI7x2ebx/uXQNw7xJpn9Eq1+I= +github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/ClickHouse/clickhouse-go v1.3.12/go.mod h1:EaI/sW7Azgz9UATzd5ZdZHRUhHgv5+JMS9NSr2smCJI= +github.com/ClickHouse/clickhouse-go v1.4.3/go.mod h1:EaI/sW7Azgz9UATzd5ZdZHRUhHgv5+JMS9NSr2smCJI= github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/Julusian/godocdown v0.0.0-20170816220326-6d19f8ff2df8/go.mod h1:INZr5t32rG59/5xeltqoCJoNY7e5x/3xoY9WSWVWg74= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= -github.com/Microsoft/go-winio v0.4.11 h1:zoIOcVf0xPN1tnMVbTtEdI+P8OofVk3NObnwOQ6nK2Q= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= +github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= +github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= +github.com/Microsoft/go-winio v0.4.16-0.20201130162521-d1ffc52c7331/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= +github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= +github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= +github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= +github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= +github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= +github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ= +github.com/Microsoft/hcsshim v0.8.9/go.mod h1:5692vkUqntj1idxauYlpoINNKeqCiG6Sg38RRsjT5y8= +github.com/Microsoft/hcsshim v0.8.14/go.mod h1:NtVKoYxQuTLx6gEq0L96c9Ju4JbRJ4nY2ow3VK6a9Lg= +github.com/Microsoft/hcsshim v0.8.15/go.mod h1:x38A4YbHbdxJtc0sF6oIz+RG0npwSCAvn69iY6URG00= +github.com/Microsoft/hcsshim v0.8.16/go.mod h1:o5/SZqmR7x9JNKsW3pu+nqHm0MF8vbA+VxGOoXdC600= +github.com/Microsoft/hcsshim v0.8.20/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= +github.com/Microsoft/hcsshim v0.8.21/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= +github.com/Microsoft/hcsshim v0.8.23/go.mod h1:4zegtUJth7lAvFyc6cH2gGQ5B3OFQim01nnU2M8jKDg= +github.com/Microsoft/hcsshim v0.9.2/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= +github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5hlzMzRKMLyo42nCZ9oml8AdTlq/0cvIaBv6tK1RehU= +github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= +github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= +github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/goquery v1.6.1 h1:FgjbQZKl5HTmcn4sKBgvx8vv63nhyhIpv7lJpFGCWpk= github.com/PuerkitoBio/goquery v1.6.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc= +github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/RoaringBitmap/roaring v0.4.7/go.mod h1:8khRDP4HmeXns4xIj9oGrKSz7XTQiJx2zgh7AcNke4w= github.com/RoaringBitmap/roaring v0.4.17/go.mod h1:D3qVegWTmfCaX4Bl5CrBE9hfrSrrXIr8KVNvRsDi1NI= github.com/RoaringBitmap/roaring v0.4.18/go.mod h1:D3qVegWTmfCaX4Bl5CrBE9hfrSrrXIr8KVNvRsDi1NI= @@ -90,6 +159,7 @@ github.com/RoaringBitmap/roaring v0.5.5/go.mod h1:puNo5VdzwbaIQxSiDIwfXl4Hnc+fbo github.com/RoaringBitmap/roaring v0.6.0/go.mod h1:WZ83fjBF/7uBHi6QoFyfGL4+xuV4Qn+xFkm4+vSzrhE= github.com/RoaringBitmap/roaring v0.9.4 h1:ckvZSX5gwCRaJYBNe7syNawCU5oruY9gQmjXlp4riwo= github.com/RoaringBitmap/roaring v0.9.4/go.mod h1:icnadbWcNyfEHlYdr+tDlOTih1Bf/h+rzPpv4sbomAA= +github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= @@ -111,6 +181,8 @@ github.com/alexflint/go-arg v1.1.0/go.mod h1:3Rj4baqzWaGGmZA2+bVTV8zQOZEjBQAPBnL github.com/alexflint/go-arg v1.2.0/go.mod h1:3Rj4baqzWaGGmZA2+bVTV8zQOZEjBQAPBnL5xLT+ftY= github.com/alexflint/go-arg v1.3.0/go.mod h1:9iRbDxne7LcR/GSvEr7ma++GLpdIU1zrghf2y2768kM= github.com/alexflint/go-arg v1.4.2/go.mod h1:9iRbDxne7LcR/GSvEr7ma++GLpdIU1zrghf2y2768kM= +github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= +github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk= github.com/alexflint/go-scalar v1.0.0/go.mod h1:GpHzbCOZXEKMEcygYQ5n/aa4Aq84zbxjy3MxYW0gjYw= github.com/alexflint/go-scalar v1.1.0/go.mod h1:LoFvNMqS1CPrMVltza4LvnGKhaSpc3oyLEBUZVhhS2o= github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= @@ -265,6 +337,8 @@ github.com/andybalholm/cascadia v1.2.0/go.mod h1:YCyR8vOZT9aZ1CHEd8ap0gMVm2aFgxB github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/apache/arrow/go/arrow v0.0.0-20191024131854-af6fa24be0db/go.mod h1:VTxUBvSJ3s3eHAg65PNgrsn5BtqCRPdmyXh6rAfdxN0= +github.com/apache/arrow/go/arrow v0.0.0-20210818145353-234c94e4ce64/go.mod h1:2qMFB56yOP3KzkB3PbYZ4AlUFg3a88F67TIx5lB/WwY= +github.com/apache/arrow/go/arrow v0.0.0-20211013220434-5962184e7a30/go.mod h1:Q7yQnSMnLvcXlZ8RV+jwz/6y1rQTqbX6C82SndT52Zs= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/arl/statsviz v0.4.0/go.mod h1:+5inUy/dxy11x/KSmicG3ZrEEy0Yr81AFm3dn4QC04M= @@ -273,53 +347,94 @@ github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5 github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= +github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= +github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.17.7/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/aws/aws-sdk-go-v2 v1.2.0/go.mod h1:zEQs02YRBw1DjK0PoJv3ygDYOFTre1ejlJWl8FwAuQo= +github.com/aws/aws-sdk-go-v2 v1.8.0/go.mod h1:xEFuWz+3TYdlPRuo+CqATbeDWIWyaT5uAPwPaWtgse0= +github.com/aws/aws-sdk-go-v2 v1.9.2/go.mod h1:cK/D0BBs0b/oWPIcX/Z/obahJK1TT7IPVjy53i/mX/4= github.com/aws/aws-sdk-go-v2/config v1.1.1/go.mod h1:0XsVy9lBI/BCXm+2Tuvt39YmdHwS5unDQmxZOYe8F5Y= +github.com/aws/aws-sdk-go-v2/config v1.6.0/go.mod h1:TNtBVmka80lRPk5+S9ZqVfFszOQAGJJ9KbT3EM3CHNU= +github.com/aws/aws-sdk-go-v2/config v1.8.3/go.mod h1:4AEiLtAb8kLs7vgw2ZV3p2VZ1+hBavOc84hqxVNpCyw= github.com/aws/aws-sdk-go-v2/credentials v1.1.1/go.mod h1:mM2iIjwl7LULWtS6JCACyInboHirisUUdkBPoTHMOUo= +github.com/aws/aws-sdk-go-v2/credentials v1.3.2/go.mod h1:PACKuTJdt6AlXvEq8rFI4eDmoqDFC5DpVKQbWysaDgM= +github.com/aws/aws-sdk-go-v2/credentials v1.4.3/go.mod h1:FNNC6nQZQUuyhq5aE5c7ata8o9e4ECGmS4lAXC7o1mQ= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.0.2/go.mod h1:3hGg3PpiEjHnrkrlasTfxFqUsZ2GCk/fMUn4CbKgSkM= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.4.0/go.mod h1:Mj/U8OpDbcVcoctrYwA2bak8k/HFPdcLzI/vaiXMwuM= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.6.0/go.mod h1:gqlclDEZp4aqJOancXK6TN24aKhT0W0Ae9MHk3wzTMM= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.4.0/go.mod h1:eHwXu2+uE/T6gpnYWwBwqoeqRf9IXyCcolyOWDRAErQ= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.5.4/go.mod h1:Ex7XQmbFmgFHrjUX6TN3mApKW5Hglyga+F7wZHTtYhA= +github.com/aws/aws-sdk-go-v2/internal/ini v1.2.0/go.mod h1:Q5jATQc+f1MfZp3PDMhn6ry18hGvE0i8yvbXoKbnZaE= +github.com/aws/aws-sdk-go-v2/internal/ini v1.2.4/go.mod h1:ZcBrrI3zBKlhGFNYWvju0I3TR93I7YIgAfy82Fh4lcQ= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.2.2/go.mod h1:EASdTcM1lGhUe1/p4gkojHwlGJkeoRjjr1sRCzup3Is= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.3.0/go.mod h1:v8ygadNyATSm6elwJ/4gzJwcFhri9RqS8skgHKiwXPU= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.0.2/go.mod h1:45MfaXZ0cNbeuT0KQ1XJylq8A6+OpVV2E5kvY/Kq+u8= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.2.2/go.mod h1:NXmNI41bdEsJMrD0v9rUvbGCB5GwdBEpKvUvIY3vTFg= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.3.2/go.mod h1:72HRZDLMtmVQiLG2tLfQcaWLCssELvGl+Zf2WVxMmR8= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.5.2/go.mod h1:QuL2Ym8BkrLmN4lUofXYq6000/i5jPjosCNK//t6gak= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.7.2/go.mod h1:np7TMuJNT83O0oDOSF8i4dF3dvGqA6hPYYo6YYkzgRA= github.com/aws/aws-sdk-go-v2/service/route53 v1.1.1/go.mod h1:rLiOUrPLW/Er5kRcQ7NkwbjlijluLsrIbu/iyl35RO4= +github.com/aws/aws-sdk-go-v2/service/s3 v1.12.0/go.mod h1:6J++A5xpo7QDsIeSqPK4UHqMSyPOCopa+zKtqAMhqVQ= +github.com/aws/aws-sdk-go-v2/service/s3 v1.16.1/go.mod h1:CQe/KvWV1AqRc65KqeJjrLzr5X2ijnFTTVzJW0VBRCI= github.com/aws/aws-sdk-go-v2/service/sso v1.1.1/go.mod h1:SuZJxklHxLAXgLTc1iFXbEWkXs7QRTQpCLGaKIprQW0= +github.com/aws/aws-sdk-go-v2/service/sso v1.3.2/go.mod h1:J21I6kF+d/6XHVk7kp/cx9YVD2TMD2TbLwtRGVcinXo= +github.com/aws/aws-sdk-go-v2/service/sso v1.4.2/go.mod h1:NBvT9R1MEF+Ud6ApJKM0G+IkPchKS7p7c2YPKwHmBOk= github.com/aws/aws-sdk-go-v2/service/sts v1.1.1/go.mod h1:Wi0EBZwiz/K44YliU0EKxqTCJGUfYTWXrrBwkq736bM= +github.com/aws/aws-sdk-go-v2/service/sts v1.6.1/go.mod h1:hLZ/AnkIKHLuPGjEiyghNEdvJ2PP0MgOxcmv9EBJ4xs= +github.com/aws/aws-sdk-go-v2/service/sts v1.7.2/go.mod h1:8EzeIqfWt2wWT4rJVu3f21TfrhJ8AEMzVybRNSb/b4g= github.com/aws/smithy-go v1.1.0/go.mod h1:EzMw8dbp/YJL4A5/sbhGddag+NPT7q084agLbB9LgIw= +github.com/aws/smithy-go v1.7.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E= +github.com/aws/smithy-go v1.8.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E= github.com/beevik/ntp v0.2.0 h1:sGsd+kAXzT0bfVfzJfce04g+dSRfrs+tbQW8lweuYgw= github.com/beevik/ntp v0.2.0/go.mod h1:hIHWr+l3+/clUnF44zdK+CWW7fO8dR5cIylAQ76NRpg= github.com/benbjohnson/clock v1.0.2/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= -github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= +github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= +github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/benbjohnson/immutable v0.2.0/go.mod h1:uc6OHo6PN2++n98KHLxW8ef4W42ylHiQSENghE1ezxI= github.com/benbjohnson/immutable v0.3.0 h1:TVRhuZx2wG9SZ0LRdqlbs9S5BZ6Y24hJEHTCgWHZEIw= github.com/benbjohnson/immutable v0.3.0/go.mod h1:uc6OHo6PN2++n98KHLxW8ef4W42ylHiQSENghE1ezxI= +github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/bitly/go-hostpool v0.0.0-20171023180738-a3a6125de932/go.mod h1:NOuUCSz6Q9T7+igc/hlvDOUdtWKryOrtFyIVABv/p7k= +github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA= github.com/bits-and-blooms/bitset v1.2.0 h1:Kn4yilvwNtMACtf1eYDlG8H77R07mZSPbMjLyS07ChA= github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= github.com/bkaradzic/go-lz4 v1.0.0/go.mod h1:0YdlkowM3VswSROI7qDxhRvJ3sLhlFrRRwjwegp5jy4= +github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= +github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40/go.mod h1:8rLXio+WjiTceGBHIoTvn60HIbs7Hm7bcHjyrSqYB9c= github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= +github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625/go.mod h1:HYsPBTaaSFSlLx/70C2HPIMNZpVV8+vt/A+FMnYP11g= github.com/bradfitz/iter v0.0.0-20140124041915-454541ec3da2/go.mod h1:PyRFw1Lt2wKX4ZVSQ2mk+PeDa1rxyObEDlApuIsUKuo= github.com/bradfitz/iter v0.0.0-20190303215204-33e6a9893b0c/go.mod h1:PyRFw1Lt2wKX4ZVSQ2mk+PeDa1rxyObEDlApuIsUKuo= github.com/bradfitz/iter v0.0.0-20191230175014-e8f45d346db8 h1:GKTyiRCL6zVf5wWaqKnf+7Qs6GbEPfd4iMOitWzXJx8= github.com/bradfitz/iter v0.0.0-20191230175014-e8f45d346db8/go.mod h1:spo1JLcs67NmW1aVLEgtA8Yy1elc+X8y5SRW1sFW4Og= +github.com/bshuster-repo/logrus-logstash-hook v0.4.1/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= github.com/btcsuite/btcd v0.0.0-20190523000118-16327141da8c/go.mod h1:3J08xEfcugPacsc34/LKRU2yO7YmuT8yt28J8k2+rrI= github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= -github.com/btcsuite/btcd v0.21.0-beta/go.mod h1:ZSWyehm27aAuS9bvkATT+Xte3hjHZ+MRgMY/8NJ7K94= -github.com/btcsuite/btcd v0.22.0-beta h1:LTDpDKUM5EeOFBPM8IXpinEcmZ6FWfNZbE3lfrfdnWo= github.com/btcsuite/btcd v0.22.0-beta/go.mod h1:9n5ntfhhHQBIhUvlhDvD3Qg6fRUj4jkN0VB8L8svzOA= +github.com/btcsuite/btcd v0.22.1 h1:CnwP9LM/M9xuRrGSCGeMVs9iv09uMqwsVX7EeIpgV2c= +github.com/btcsuite/btcd v0.22.1/go.mod h1:wqgTSL29+50LRkmOVknEdmt8ZojIzhuWvgu/iptuN7Y= +github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE= +github.com/btcsuite/btcd/btcec/v2 v2.2.0 h1:fzn1qaOt32TuLjFlkzYSsBC35Q3KUjT1SwPxiMSCF5k= +github.com/btcsuite/btcd/btcec/v2 v2.2.0/go.mod h1:U7MHm051Al6XmscBQ0BoNydpOTsFAn707034b5nY8zU= +github.com/btcsuite/btcd/chaincfg/chainhash v1.0.0/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= +github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U= +github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= -github.com/btcsuite/btcutil v1.0.2/go.mod h1:j9HUFwoQRsZL3V4n+qG+CUnEGHOarIxfC3Le2Yhbcts= github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce h1:YtWJF7RHm2pYCvA5t0RPmAaLUhREsKuKd+SLhxFbFeQ= github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce/go.mod h1:0DVlHczLPewLcPGEIeUEzfOJhqGPQ0mJJRDBtD307+o= github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg= @@ -329,61 +444,203 @@ github.com/btcsuite/snappy-go v0.0.0-20151229074030-0bdef8d06723/go.mod h1:8woku github.com/btcsuite/snappy-go v1.0.0/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg3lh6TiUghc= github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY= github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= +github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= +github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= +github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= +github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50= +github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff/v3 v3.2.2 h1:cfUAAO3yvKMYKPrvhDuHSwQnhZNk/RMHKdZqKTxfm6M= github.com/cenkalti/backoff/v3 v3.2.2/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= +github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= +github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= +github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= github.com/cespare/cp v1.1.1 h1:nCb6ZLdB7NRaqsm91JtQTAme2SKJzXVsdPIPkyJr1MU= github.com/cespare/cp v1.1.1/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= +github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw= +github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= +github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= github.com/cheekybits/genny v1.0.0 h1:uGGa4nei+j20rOSeDeP5Of12XVm7TGUd4dJA9RDitfE= github.com/cheekybits/genny v1.0.0/go.mod h1:+tQajlRqAUrPI7DOSpB0XAqZYtQakVtB7wXkRAgjxjQ= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/cilium/ebpf v0.0.0-20200110133405-4032b1d8aae3/go.mod h1:MA5e5Lr8slmEg9bt0VpxxWqJlO4iwu3FBdHUzV7wQVg= +github.com/cilium/ebpf v0.0.0-20200702112145-1c8d4c9ef775/go.mod h1:7cR51M8ViRLIdUjrmSXlK9pkrsDlLHbO8jiB8X8JnOc= github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX2Qs= +github.com/cilium/ebpf v0.4.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= +github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= +github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA= github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudflare/cloudflare-go v0.14.0/go.mod h1:EnwdgGMaFOruiPZRFSgn+TsQ3hQ7C/YWzIGLeu5c304= github.com/cloudflare/golz4 v0.0.0-20150217214814-ef862a3cdc58/go.mod h1:EOBUe0h4xcZ5GoxqC5SDxFQ8gwyZPKQoEzownBlhI80= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211130200136-a8f946100490/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/cockroach-go v0.0.0-20181001143604-e0a95dfd547c/go.mod h1:XGLbWH/ujMcbPbhZq52Nv6UrCghb1yGn//133kEsvDk= +github.com/cockroachdb/cockroach-go/v2 v2.1.1/go.mod h1:7NtUnP6eK+l6k483WSYNrq3Kb23bWV10IRV1TyeSpwM= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= +github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= +github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= +github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/consensys/bavard v0.1.8-0.20210406032232-f3452dc9b572/go.mod h1:Bpd0/3mZuaj6Sj+PqrmIquiOKy397AKGThQPaGzNXAQ= github.com/consensys/gnark-crypto v0.4.1-0.20210426202927-39ac3d4b3f1f/go.mod h1:815PAHg3wvysy0SyIqanF8gZ0Y1wjk/hrDHD/iT88+Q= -github.com/containerd/cgroups v0.0.0-20201119153540-4cbc285b3327 h1:7grrpcfCtbZLsjtB0DgMuzs1umsJmpzaHMZ6cO6iAWw= +github.com/containerd/aufs v0.0.0-20200908144142-dab0cbea06f4/go.mod h1:nukgQABAEopAHvB6j7cnP5zJ+/3aVcE7hCYqvIwAHyE= +github.com/containerd/aufs v0.0.0-20201003224125-76a6863f2989/go.mod h1:AkGGQs9NM2vtYHaUen+NljV0/baGCAPELGm2q9ZXpWU= +github.com/containerd/aufs v0.0.0-20210316121734-20793ff83c97/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= +github.com/containerd/aufs v1.0.0/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= +github.com/containerd/btrfs v0.0.0-20201111183144-404b9149801e/go.mod h1:jg2QkJcsabfHugurUvvPhS3E08Oxiuh5W/g1ybB4e0E= +github.com/containerd/btrfs v0.0.0-20210316141732-918d888fb676/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss= +github.com/containerd/btrfs v1.0.0/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss= +github.com/containerd/cgroups v0.0.0-20190717030353-c4b9ac5c7601/go.mod h1:X9rLEHIqSf/wfK8NsPqxJmeZgW4pcfzdXITDrUSJ6uI= +github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f/go.mod h1:OApqhQ4XNSNC13gXIwDjhOQxjWa/NxkwZXJ1EvqT0ko= +github.com/containerd/cgroups v0.0.0-20200531161412-0dbf7f05ba59/go.mod h1:pA0z1pT8KYB3TCXK/ocprsh7MAkoW8bZVzPdih9snmM= +github.com/containerd/cgroups v0.0.0-20200710171044-318312a37340/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= +github.com/containerd/cgroups v0.0.0-20200824123100-0b889c03f102/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= github.com/containerd/cgroups v0.0.0-20201119153540-4cbc285b3327/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE= +github.com/containerd/cgroups v0.0.0-20210114181951-8a68de567b68/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE= +github.com/containerd/cgroups v1.0.1/go.mod h1:0SJrPIenamHDcZhEcJMNBB85rHcUsw4f25ZfBiPYRkU= +github.com/containerd/cgroups v1.0.3/go.mod h1:/ofk34relqNjSGyqPrmEULrO4Sc8LJhvJmWbUCUKqj8= +github.com/containerd/cgroups v1.0.4 h1:jN/mbWBEaz+T1pi5OFtnkQ+8qnmEbAr1Oo1FRm5B0dA= +github.com/containerd/cgroups v1.0.4/go.mod h1:nLNQtsF7Sl2HxNebu77i1R0oDlhiTG+kO4JTrUzo6IA= +github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= +github.com/containerd/console v0.0.0-20181022165439-0650fd9eeb50/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= +github.com/containerd/console v0.0.0-20191206165004-02ecf6a7291e/go.mod h1:8Pf4gM6VEbTNRIT26AyyU7hxdQU3MvAvxVI0sc00XBE= +github.com/containerd/console v1.0.1/go.mod h1:XUsP6YE/mKtz6bxc+I8UiKKTP04qjQL4qcS3XoQ5xkw= +github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= +github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= github.com/containerd/containerd v1.2.7/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.2.10/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.2/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.4.0-beta.2.0.20200729163537-40b22ef07410/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.4.1/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.4.3/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.4.9/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.5.0-beta.1/go.mod h1:5HfvG1V2FsKesEGQ17k5/T7V960Tmcumvqn8Mc+pCYQ= +github.com/containerd/containerd v1.5.0-beta.3/go.mod h1:/wr9AVtEM7x9c+n0+stptlo/uBBoBORwEx6ardVcmKU= +github.com/containerd/containerd v1.5.0-beta.4/go.mod h1:GmdgZd2zA2GYIBZ0w09ZvgqEq8EfBp/m3lcVZIvPHhI= +github.com/containerd/containerd v1.5.0-rc.0/go.mod h1:V/IXoMqNGgBlabz3tHD2TWDoTJseu1FGOKuoA4nNb2s= +github.com/containerd/containerd v1.5.1/go.mod h1:0DOxVqwDy2iZvrZp2JUx/E+hS0UNTVn7dJnIOwtYR4g= +github.com/containerd/containerd v1.5.7/go.mod h1:gyvv6+ugqY25TiXxcZC3L5yOeYgEw0QMhscqVp1AR9c= +github.com/containerd/containerd v1.5.8/go.mod h1:YdFSv5bTFLpG2HIYmfqDpSYYTDX+mc5qtSuYx1YUb/s= +github.com/containerd/containerd v1.6.1/go.mod h1:1nJz5xCZPusx6jJU8Frfct988y0NpumIq9ODB0kLtoE= +github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= +github.com/containerd/continuity v0.0.0-20190815185530-f2a389ac0a02/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= +github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= +github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe/go.mod h1:cECdGN1O8G9bgKTlLhuPJimka6Xb/Gg7vYzCTNVxhvo= +github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR3BEg7bDFaEddKm54WSmrol1fKWDU1nKYkgrcgZT7Y= +github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e/go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ= +github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM= +github.com/containerd/continuity v0.2.2/go.mod h1:pWygW9u7LtS1o4N/Tn0FoCFDIXZ7rxcMX7HX1Dmibvk= +github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= +github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= +github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= +github.com/containerd/fifo v0.0.0-20201026212402-0724c46b320c/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= +github.com/containerd/fifo v0.0.0-20210316144830-115abcc95a1d/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= +github.com/containerd/fifo v1.0.0/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= +github.com/containerd/go-cni v1.0.1/go.mod h1:+vUpYxKvAF72G9i1WoDOiPGRtQpqsNW/ZHtSlv++smU= +github.com/containerd/go-cni v1.0.2/go.mod h1:nrNABBHzu0ZwCug9Ije8hL2xBCYh/pjfMb1aZGrrohk= +github.com/containerd/go-cni v1.1.0/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= +github.com/containerd/go-cni v1.1.3/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= +github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= +github.com/containerd/go-runc v0.0.0-20190911050354-e029b79d8cda/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= +github.com/containerd/go-runc v0.0.0-20200220073739-7016d3ce2328/go.mod h1:PpyHrqVs8FTi9vpyHwPwiNEGaACDxT/N/pLcvMSRA9g= +github.com/containerd/go-runc v0.0.0-20201020171139-16b287bc67d0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= +github.com/containerd/go-runc v1.0.0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= +github.com/containerd/imgcrypt v1.0.1/go.mod h1:mdd8cEPW7TPgNG4FpuP3sGBiQ7Yi/zak9TYCG3juvb0= +github.com/containerd/imgcrypt v1.0.4-0.20210301171431-0ae5c75f59ba/go.mod h1:6TNsg0ctmizkrOgXRNQjAPFWpMYRWuiB6dSF4Pfa5SA= +github.com/containerd/imgcrypt v1.1.1-0.20210312161619-7ed62a527887/go.mod h1:5AZJNI6sLHJljKuI9IHnw1pWqo/F0nGDOuR9zgTs7ow= +github.com/containerd/imgcrypt v1.1.1/go.mod h1:xpLnwiQmEUJPvQoAapeb2SNCxz7Xr6PJrXQb0Dpc4ms= +github.com/containerd/imgcrypt v1.1.3/go.mod h1:/TPA1GIDXMzbj01yd8pIbQiLdQxed5ue1wb8bP7PQu4= +github.com/containerd/nri v0.0.0-20201007170849-eb1350a75164/go.mod h1:+2wGSDGFYfE5+So4M5syatU0N0f0LbWpuqyMi4/BE8c= +github.com/containerd/nri v0.0.0-20210316161719-dbaa18c31c14/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= +github.com/containerd/nri v0.1.0/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= +github.com/containerd/stargz-snapshotter/estargz v0.4.1/go.mod h1:x7Q9dg9QYb4+ELgxmo4gBUeJB0tl5dqH1Sdz0nJU1QM= +github.com/containerd/ttrpc v0.0.0-20190828154514-0e0f228740de/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= +github.com/containerd/ttrpc v0.0.0-20190828172938-92c8520ef9f8/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= +github.com/containerd/ttrpc v0.0.0-20191028202541-4f1b8fe65a5c/go.mod h1:LPm1u0xBw8r8NOKoOdNMeVHSawSsltak+Ihv+etqsE8= +github.com/containerd/ttrpc v1.0.1/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= +github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= +github.com/containerd/ttrpc v1.1.0/go.mod h1:XX4ZTnoOId4HklF4edwc4DcqskFZuvXB1Evzy5KFQpQ= +github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc= +github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd/go.mod h1:GeKYzf2pQcqv7tJ0AoCuuhtnqhva5LNU3U+OyKxxJpk= +github.com/containerd/typeurl v1.0.1/go.mod h1:TB1hUtrpaiO88KEK56ijojHS1+NeF0izUACaJW2mdXg= +github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= +github.com/containerd/zfs v0.0.0-20200918131355-0a33824f23a2/go.mod h1:8IgZOBdv8fAgXddBT4dBXJPtxyRsejFIpXoklgxgEjw= +github.com/containerd/zfs v0.0.0-20210301145711-11e8f1707f62/go.mod h1:A9zfAbMlQwE+/is6hi0Xw8ktpL+6glmqZYtevJgaB8Y= +github.com/containerd/zfs v0.0.0-20210315114300-dde8f0fda960/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= +github.com/containerd/zfs v0.0.0-20210324211415-d5c4544f0433/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= +github.com/containerd/zfs v1.0.0/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= +github.com/containernetworking/cni v0.7.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= +github.com/containernetworking/cni v0.8.0/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= +github.com/containernetworking/cni v0.8.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= +github.com/containernetworking/cni v1.0.1/go.mod h1:AKuhXbN5EzmD4yTNtfSsX3tPcmtrBI6QcRV0NiNt15Y= +github.com/containernetworking/plugins v0.8.6/go.mod h1:qnw5mN19D8fIwkqW7oHHYDHVlzhJpcY6TQxn/fUyDDM= +github.com/containernetworking/plugins v0.9.1/go.mod h1:xP/idU2ldlzN6m4p5LmGiwRDjeJr6FLK6vuiUwoH7P8= +github.com/containernetworking/plugins v1.0.1/go.mod h1:QHCfGpaTwYTbbH+nZXKVTxNBDZcxSOplJT5ico8/FLE= +github.com/containers/ocicrypt v1.0.1/go.mod h1:MeJDzk1RJHv89LjsH0Sp5KTY3ZYkjXO/C+bKAeWFIrc= +github.com/containers/ocicrypt v1.1.0/go.mod h1:b8AOe0YR67uU8OqfVNcznfFpAzu3rdgUV4GP9qXPfu4= +github.com/containers/ocicrypt v1.1.1/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= +github.com/containers/ocicrypt v1.1.2/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= +github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= +github.com/coreos/go-iptables v0.4.5/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= +github.com/coreos/go-iptables v0.5.0/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= +github.com/coreos/go-iptables v0.6.0/go.mod h1:Qe8Bv2Xik5FyTXwgIbLAnv2sWSBmvWdFETJConOQ//Q= +github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.0 h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd v0.0.0-20161114122254-48702e0da86b/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd/v22 v22.1.0 h1:kq/SbG2BCKLkDKkjQf5OWwKWUKj1lgs3lFI4PxnR5lg= +github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd/v22 v22.0.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= +github.com/coreos/go-systemd/v22 v22.3.2 h1:D9/bQk5vlXQFZ6Kwuu6zaiXJ9oTPe68++AzAJc1DzSI= +github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/cruxic/go-hmac-drbg v0.0.0-20170206035330-84c46983886d h1:bE1UyBQ5aE6FjhNY4lbPtMqh7VDldoVkvZMtFEbd+CE= github.com/cruxic/go-hmac-drbg v0.0.0-20170206035330-84c46983886d/go.mod h1:HAe1wsCrwH2uFnFaCC2vlcyEohnxs8KeShAFqGIHvmM= github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= +github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= +github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/cznic/b v0.0.0-20180115125044-35e9bbe41f07/go.mod h1:URriBxXwVq5ijiJ12C7iIZqlA69nTlI+LgI6/pwftG8= github.com/cznic/fileutil v0.0.0-20180108211300-6a051e75936f/go.mod h1:8S58EK26zhXSxzv7NQFpnliaOQsmDUxvoQO3rt154Vg= github.com/cznic/golex v0.0.0-20170803123110-4ab7c5e190e4/go.mod h1:+bmmJDNmKlhWNG+gwWCkaBoTy39Fs+bzRxVBzoTQbIc= @@ -394,6 +651,10 @@ github.com/cznic/ql v1.2.0/go.mod h1:FbpzhyZrqr0PVlK6ury+PoW3T0ODUV22OeWIxcaOrSE github.com/cznic/sortutil v0.0.0-20150617083342-4c7342852e65/go.mod h1:q2w6Bg5jeox1B+QkJ6Wp/+Vn0G/bo3f1uY7Fn3vivIQ= github.com/cznic/strutil v0.0.0-20171016134553-529a34b1c186/go.mod h1:AHHPPPXTw0h6pVabbcbyGRK1DckRn7r/STdZEeIDzZc= github.com/cznic/zappy v0.0.0-20160723133515-2533cb5b45cc/go.mod h1:Y1SNZ4dRUOKXshKUbwUapqNncRrho4mkjQebgEHZLj8= +github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= +github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s= +github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8= +github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjIciD2oAxI7DmWRx6gbeqrkoLqv3MV0vzNad+I= github.com/dave/jennifer v1.2.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg= github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -406,35 +667,58 @@ github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea/go.mod h1:93vs github.com/deckarep/golang-set v1.7.1/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= github.com/deckarep/golang-set v1.8.0 h1:sk9/l/KqpunDwP7pSjUg0keiOOLEnOBHzykLrsPppp4= github.com/deckarep/golang-set v1.8.0/go.mod h1:5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo= +github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0= +github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 h1:YLtO71vCjJRCBcrPMtQ9nqBsqpA1m5sE92cU+pd5Mcc= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= github.com/deepmap/oapi-codegen v1.6.0/go.mod h1:ryDa9AgbELGeB+YEXE1dR53yAjHwFvE9iAUlWl9Al3M= github.com/deepmap/oapi-codegen v1.8.2/go.mod h1:YLgSKSDv/bZQB7N4ws6luhozi3cEdRktEqrX88CvjIw= github.com/denisenkom/go-mssqldb v0.0.0-20190515213511-eb9f6a1743f3/go.mod h1:zAg7JM8CkOJ43xKXIj7eRO9kmWm/TW578qo+oDO6tuM= +github.com/denisenkom/go-mssqldb v0.10.0/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= +github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0= github.com/dgraph-io/badger v1.6.2 h1:mNw0qs90GVgGGWylh0umH5iag1j6n/PeJtNvL6KY/x8= github.com/dgraph-io/badger v1.6.2/go.mod h1:JW2yswe3V058sS0kZ2h/AXeDSqFjxnZcRrVH//y2UQE= github.com/dgraph-io/ristretto v0.0.2 h1:a5WaUrDa0qm0YrAAS1tUykT5El3kt62KNZZeMxQn3po= github.com/dgraph-io/ristretto v0.0.2/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E= +github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-bitstream v0.0.0-20180413035011-3522498ce2c8/go.mod h1:VMaSuZ+SZcx/wljOQKvp5srsbCiKDEb6K2wC4+PiBmQ= github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/dhui/dktest v0.3.0/go.mod h1:cyzIUfGsBEbZ6BT7tnXqAShHSXCZhSNmFl70sZ7c1yc= -github.com/dhui/dktest v0.3.1 h1:NVUdB50k8tml431Ho1hcQBNeC52Qe8oSDPAjseA67Y8= -github.com/dhui/dktest v0.3.1/go.mod h1:cyzIUfGsBEbZ6BT7tnXqAShHSXCZhSNmFl70sZ7c1yc= +github.com/dhui/dktest v0.3.10 h1:0frpeeoM9pHouHjhLeZDuDTJ0PqjDTrycaHaMmkJAo8= +github.com/dhui/dktest v0.3.10/go.mod h1:h5Enh0nG3Qbo9WjNFRrwmKUaePEBhXMOygbz3Ww7Sz0= github.com/dlclark/regexp2 v1.2.0/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= -github.com/docker/distribution v2.7.0+incompatible h1:neUDAlf3wX6Ml4HdqTrbcOHXtfRN0TFIwt6YFL7N9RU= +github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= +github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= +github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= +github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= +github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= github.com/docker/distribution v2.7.0+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/distribution v2.8.1+incompatible h1:Q50tZOPR6T/hjNsyc9g8/syEs6bk8XXApsHjKukMl68= +github.com/docker/distribution v2.8.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= github.com/docker/engine v1.4.2-0.20190717161051-705d9623b7c1 h1:HjO0YFIGk26fADKDJYuAoGneX9nrVVotZJ1Ctn15Vv4= github.com/docker/engine v1.4.2-0.20190717161051-705d9623b7c1/go.mod h1:3CPr2caMgTHxxIAZgEMd3uLYPDlRvPqCpyeRf6ncPcY= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= +github.com/docker/go-events v0.0.0-20170721190031-9461782956ad/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= +github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= +github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916/go.mod h1:/u0gXw0Gay3ceNrsHubL3BtdOL2fHf93USgMTe0W5dI= +github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw= github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw= github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= +github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE= +github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dop251/goja v0.0.0-20200721192441-a695b0cdd498/go.mod h1:Mw6PkjjMXWbTj+nnj4s3QPXq1jaT0s5pC0iFD4+BOAA= github.com/dop251/goja v0.0.0-20211011172007-d99e4b8cbf48/go.mod h1:R9ET47fwRVRPZnOGvHxxhuZcbrMCuiqOz3Rlrh4KSnk= +github.com/dop251/goja v0.0.0-20220405120441-9037c2b61cbf/go.mod h1:R9ET47fwRVRPZnOGvHxxhuZcbrMCuiqOz3Rlrh4KSnk= github.com/dop251/goja_nodejs v0.0.0-20210225215109-d91c329300e7/go.mod h1:hn7BA7c8pLvoGndExHudxTDKZ84Pyvv+90pbBjbTz0Y= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v0.0.0-20180421182945-02af3965c54e/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= @@ -449,30 +733,46 @@ github.com/edsrzf/mmap-go v0.0.0-20170320065105-0bce6a688712/go.mod h1:YO35OhQPt github.com/edsrzf/mmap-go v1.0.0 h1:CEBF7HpRnUCSJgGUb5h1Gm7e3VkmVDrR8lvWVLtrOFw= github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/elastic/gosigar v0.12.0/go.mod h1:iXRIGg2tLnu7LBdpqzyQfGDEidKCfWcCMS0WKyPWoMs= -github.com/elastic/gosigar v0.14.1 h1:T0aQ7n/n2ZA9W7DmAnj60v+qzqKERdBgJBO1CG2W6rc= github.com/elastic/gosigar v0.14.1/go.mod h1:iXRIGg2tLnu7LBdpqzyQfGDEidKCfWcCMS0WKyPWoMs= +github.com/elastic/gosigar v0.14.2 h1:Dg80n8cr90OZ7x+bAax/QjoW/XqTI11RmA79ZwIm9/4= +github.com/elastic/gosigar v0.14.2/go.mod h1:iXRIGg2tLnu7LBdpqzyQfGDEidKCfWcCMS0WKyPWoMs= github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4= +github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= github.com/elliotchance/orderedmap v1.2.0/go.mod h1:8hdSl6jmveQw8ScByd3AaNHNk51RhbTazdqtTty+NFw= github.com/elliotchance/orderedmap v1.3.0/go.mod h1:8hdSl6jmveQw8ScByd3AaNHNk51RhbTazdqtTty+NFw= github.com/elliotchance/orderedmap v1.4.0/go.mod h1:wsDwEaX5jEoyhbs7x93zk2H/qv0zwuhg4inXhDkYqys= +github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= +github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= +github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/envoyproxy/protoc-gen-validate v0.6.2/go.mod h1:2t7qjJNvHPx8IjnBOzl9E9/baC+qXE/TeeyBRzgJDws= github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= github.com/ethereum/go-ethereum v1.9.5/go.mod h1:PwpWDrCLZrV+tfrhqqF6kPknbISMHaJv9Ln3kPCZLwY= github.com/ethereum/go-ethereum v1.10.4/go.mod h1:nEE0TP5MtxGzOMd7egIrbPJMQBnhVU3ELNxhBglIzhg= -github.com/ethereum/go-ethereum v1.10.13/go.mod h1:W3yfrFyL9C1pHcwY5hmRHVDaorTiQxhYBkKyu5mEDHw= +github.com/ethereum/go-ethereum v1.10.16/go.mod h1:Anj6cxczl+AHy63o4X9O8yWNHuN5wMpfb8MAnHkWn7Y= +github.com/ethereum/go-ethereum v1.10.20/go.mod h1:LWUN82TCHGpxB3En5HVmLLzPD7YSrEUFmFfN1nKkVN0= +github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= +github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/fjl/gencodec v0.0.0-20220412091415-8bb9e558978c/go.mod h1:AzA8Lj6YtixmJWL+wkKoBGsLWy9gFrAzi4g+5bCKwpY= github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 h1:FtmdgXiUlNeRsoNMFlKLDt+S+6hbjVMEW6RGQ7aUf7c= github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= -github.com/flynn/noise v1.0.0 h1:DlTHqmzmvcEiKj+4RYo/imoswx/4r6iBlCMfVtrMXpQ= -github.com/flynn/noise v1.0.0/go.mod h1:xbMo+0i6+IGbYdJhF31t2eR1BIU0CYc12+BNAKwUTag= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= +github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= +github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/form3tech-oss/jwt-go v3.2.5+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/francoispqt/gojay v1.2.13 h1:d2m3sFjloqoIUQU3TsHBgj6qg/BVGlTBeHDUmyJnXKk= github.com/francoispqt/gojay v1.2.13/go.mod h1:ehT5mTG4ua4581f1++1WLG0vPdaA9HaiDsoyrBGkyDY= github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= @@ -484,14 +784,23 @@ github.com/frankban/quicktest v1.14.0 h1:+cqqvzZV87b4adx/5ayVOaYZ2CrvM4ejQvUdBzP github.com/frankban/quicktest v1.14.0/go.mod h1:NeW+ay9A/U67EYXNFA1nPE8e/tnQv/09mUdL/ijj8og= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI= github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= +github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= +github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= github.com/fsouza/fake-gcs-server v1.7.0/go.mod h1:5XIRs4YvwNbNoz+1JF8j6KLAyDh7RHGAyAK3EP2EsNk= +github.com/fsouza/fake-gcs-server v1.17.0/go.mod h1:D1rTE4YCyHFNa99oyJJ5HyclvN/0uQR+pM/VdlL83bw= +github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA= +github.com/gabriel-vasile/mimetype v1.3.1/go.mod h1:fA8fi6KUiG7MgQQ+mEWotXoEOvmxRtOJlERCzSmRvr8= +github.com/gabriel-vasile/mimetype v1.4.0/go.mod h1:fA8fi6KUiG7MgQQ+mEWotXoEOvmxRtOJlERCzSmRvr8= +github.com/garslo/gogen v0.0.0-20170306192744-1d203ffc1f61/go.mod h1:Q0X6pkwTILDlzrGEckF6HKjXe48EgsY/l7K7vhY4MW8= +github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY= github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08 h1:f6D9Hr8xV8uYKlyuj8XIruxlh9WjVjdh1gIicAS7ays= github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= github.com/getkin/kin-openapi v0.53.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= github.com/getkin/kin-openapi v0.61.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= +github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= +github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gliderlabs/ssh v0.1.1/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd/go.mod h1:/20jfyN9Y5QPEAprSgKAUr+glWDY39ZiUEAYOEv5dsE= @@ -503,53 +812,125 @@ github.com/glycerine/goconvey v0.0.0-20190315024820-982ee783a72e/go.mod h1:Ogl1T github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24= github.com/go-chi/chi/v5 v5.0.0/go.mod h1:BBug9lr0cqtdAhsu6R4AAdvufI0/XBzAQSsUqJpoZOs= github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= +github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g= +github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks= +github.com/go-fonts/liberation v0.1.1/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= +github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmnUIzUY= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-ini/ini v1.25.4/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.10.0 h1:dXFJfIHVvUcpSgDOV+Ne6t7jXri8Tfv2uOLHUZ2XNuo= github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= +github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= +github.com/go-latex/latex v0.0.0-20210118124228-b3d85cf34e07/go.mod h1:CO1AlKB2CSIqUrmQPqA0gdRIlnLEY0gK5JGjh37zN5U= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0 h1:TrB8swr/68K7m9CcGut2g3UOihhbcbiMAYiuTXdEih4= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= +github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= +github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= +github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= +github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= +github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= +github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8= github.com/go-ole/go-ole v1.2.5 h1:t4MGB5xEDZvXI+0rMjjsfBsD7yAgp/s9ZDkL1JndXwY= github.com/go-ole/go-ole v1.2.5/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= +github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= +github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= +github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= +github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= +github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= +github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= +github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= +github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= +github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= +github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-playground/locales v0.13.0 h1:HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8ceBS/t7Q= -github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= -github.com/go-playground/universal-translator v0.17.0 h1:icxd5fm+REJzpZx7ZfpaD876Lmtgy7VtROAbHHXk8no= -github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= +github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU= +github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs= +github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/jYrnRPArHwAcmLoJZxyho= +github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA= github.com/go-sourcemap/sourcemap v2.1.2+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= +github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 h1:p104kn46Q8WdvHunIJ9dAyjPVtrBPhSr3KT2yUst43I= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= +github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0= +github.com/gobuffalo/depgen v0.0.0-20190329151759-d478694a28d3/go.mod h1:3STtPUQYuzV0gBVOY3vy6CfMm/ljR4pABfrTeHNLHUY= +github.com/gobuffalo/depgen v0.1.0/go.mod h1:+ifsuy7fhi15RWncXQQKjWS9JPkdah5sZvtHc2RXGlg= +github.com/gobuffalo/envy v1.6.15/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= +github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= +github.com/gobuffalo/flect v0.1.0/go.mod h1:d2ehjJqGOH/Kjqcoz+F7jHTBbmDb38yXA598Hb50EGs= +github.com/gobuffalo/flect v0.1.1/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= +github.com/gobuffalo/flect v0.1.3/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= +github.com/gobuffalo/genny v0.0.0-20190329151137-27723ad26ef9/go.mod h1:rWs4Z12d1Zbf19rlsn0nurr75KqhYp52EAGGxTbBhNk= +github.com/gobuffalo/genny v0.0.0-20190403191548-3ca520ef0d9e/go.mod h1:80lIj3kVJWwOrXWWMRzzdhW3DsrdjILVil/SFKBzF28= +github.com/gobuffalo/genny v0.1.0/go.mod h1:XidbUqzak3lHdS//TPu2OgiFB+51Ur5f7CSnXZ/JDvo= +github.com/gobuffalo/genny v0.1.1/go.mod h1:5TExbEyY48pfunL4QSXxlDOmdsD44RRq4mVZ0Ex28Xk= +github.com/gobuffalo/gitgen v0.0.0-20190315122116-cc086187d211/go.mod h1:vEHJk/E9DmhejeLeNt7UVvlSGv3ziL+djtTr3yyzcOw= +github.com/gobuffalo/gogen v0.0.0-20190315121717-8f38393713f5/go.mod h1:V9QVDIxsgKNZs6L2IYiGR8datgMhB577vzTDqypH360= +github.com/gobuffalo/gogen v0.1.0/go.mod h1:8NTelM5qd8RZ15VjQTFkAW6qOMx5wBbW4dSCS3BY8gg= +github.com/gobuffalo/gogen v0.1.1/go.mod h1:y8iBtmHmGc4qa3urIyo1shvOD8JftTtfcKi+71xfDNE= +github.com/gobuffalo/here v0.6.0/go.mod h1:wAG085dHOYqUpf+Ap+WOdrPTp5IYcDAs/x7PLa8Y5fM= +github.com/gobuffalo/logger v0.0.0-20190315122211-86e12af44bc2/go.mod h1:QdxcLw541hSGtBnhUc4gaNIXRjiDppFGaDqzbrBd3v8= +github.com/gobuffalo/mapi v1.0.1/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= +github.com/gobuffalo/mapi v1.0.2/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= +github.com/gobuffalo/packd v0.0.0-20190315124812-a385830c7fc0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= +github.com/gobuffalo/packd v0.1.0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= +github.com/gobuffalo/packr/v2 v2.0.9/go.mod h1:emmyGweYTm6Kdper+iywB6YK5YzuKchGtJQZ0Odn4pQ= +github.com/gobuffalo/packr/v2 v2.2.0/go.mod h1:CaAwI0GPIAv+5wKLtv8Afwl+Cm78K/I/VCm/3ptBN+0= +github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY95UYwwW3uSASeV7vtgYkT2t16hJgV3AEPUpw= github.com/gocql/gocql v0.0.0-20190301043612-f6df8288f9b4/go.mod h1:4Fw1eo5iaEhDUs8XyuhSVCVy52Jq3L+/3GJgYkwc+/0= -github.com/godbus/dbus/v5 v5.0.3 h1:ZqHaoEF7TBzh4jzPmqVhE/5A1z9of6orkAe5uHoAeME= +github.com/gocql/gocql v0.0.0-20210515062232-b7ef815b4556/go.mod h1:DL0ekTmBSTdlNF25Orwt/JMzqIq3EJ4MVa/J/uK64OY= +github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= +github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= +github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/godbus/dbus/v5 v5.0.6/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= +github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= +github.com/gogo/googleapis v1.2.0/go.mod h1:Njal3psf3qN6dwBtQfUmBZh2ybovJ0tlu3o/AC7HYjU= +github.com/gogo/googleapis v1.4.0/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.1.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.3.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-migrate/migrate/v4 v4.6.2/go.mod h1:JYi6reN3+Z734VZ0akNuyOJNcrg45ZL7LDBMW3WGJL0= -github.com/golang-migrate/migrate/v4 v4.8.0 h1:zcamXqBH0W8hHwpaikOGnaFTRrQWU+X8ukBeY1dYucU= -github.com/golang-migrate/migrate/v4 v4.8.0/go.mod h1:F6bGIGAA7xSb2k17sF1+eHl2gRHa+DWNZpoIKbThPLE= +github.com/golang-migrate/migrate/v4 v4.15.2 h1:vU+M05vs6jWHKDdmE1Ecwj0BznygFc4QsdRe2E/L7kc= +github.com/golang-migrate/migrate/v4 v4.15.2/go.mod h1:f2toGLkYqD3JH+Todi4aZ2ZdbeUNx4sIwiOK96rE9Lw= +github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -564,8 +945,10 @@ github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= +github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= +github.com/golang/protobuf v1.0.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -581,6 +964,7 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.0-20170215233205-553a64147049/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= @@ -597,6 +981,7 @@ github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= github.com/google/flatbuffers v1.11.0/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= +github.com/google/flatbuffers v2.0.0+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -610,15 +995,22 @@ github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ= +github.com/google/go-github/v39 v39.2.0/go.mod h1:C1s8C5aCC9L+JXIYpJM5GYytdX52vC1bLvHEF1IhBrE= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= +github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gopacket v1.1.17/go.mod h1:UdDNZ1OO62aGYVnPhxT1U6aI7ukYtA/kB8vaU0diBUM= github.com/google/gopacket v1.1.19 h1:ves8RnFZPGiFnTS0uPQStjwru6uO6h+nlr9j6fL7kF8= github.com/google/gopacket v1.1.19/go.mod h1:iJ8V8n6KS+z2U1A8pUwu8bW5SyEMkXJB8Yo/Vo+TKTo= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= @@ -626,6 +1018,14 @@ github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -638,28 +1038,42 @@ github.com/googleapis/gax-go v2.0.0+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk github.com/googleapis/gax-go/v2 v2.0.3/go.mod h1:LLvjysVCY1JZeum8Z6l8qUty8fiNwE08qbEPm1M08qg= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= +github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= +github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= +github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= +github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gopherjs/gopherjs v0.0.0-20190309154008-847fc94819f9/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= +github.com/gorilla/handlers v0.0.0-20150720190736-60c7bfde3e33/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= +github.com/gorilla/handlers v1.4.2/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.1/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.7.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/gorilla/rpc v1.2.0/go.mod h1:V4h9r+4sF5HnzqbwIez0fKSpANP0zlYd3qR7p36jkTQ= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= +github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= +github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gosuri/uilive v0.0.0-20170323041506-ac356e6e42cd/go.mod h1:qkLSc0A5EXSP6B04TrN4oQoxqFI7A8XvoXSlJi8cwk8= github.com/gosuri/uilive v0.0.3/go.mod h1:qkLSc0A5EXSP6B04TrN4oQoxqFI7A8XvoXSlJi8cwk8= github.com/gosuri/uiprogress v0.0.0-20170224063937-d0567a9d84a1/go.mod h1:C1RTYn4Sc7iEyf6j8ft5dyoZ4212h8G1ol9QQluh5+0= github.com/gosuri/uiprogress v0.0.1/go.mod h1:C1RTYn4Sc7iEyf6j8ft5dyoZ4212h8G1ol9QQluh5+0= github.com/graph-gophers/graphql-go v0.0.0-20201113091052-beb923fada29/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= +github.com/graph-gophers/graphql-go v1.3.0/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.5.0/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= +github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/gxed/hashland/keccakpg v0.0.1/go.mod h1:kRzw3HkwxFU1mpmPP8v1WyQzwdGfmKFJ6tItnhQ67kU= @@ -667,16 +1081,22 @@ github.com/gxed/hashland/murmur3 v0.0.1/go.mod h1:KjXop02n4/ckmZSnY2+HKcLud/tcmv github.com/gyuho/goraph v0.0.0-20171001060514-a7a4454fd3eb h1:1mTTeUpJ+imP9A0eSfNnzif1pkpiEoy+ait7XiSqGNc= github.com/gyuho/goraph v0.0.0-20171001060514-a7a4454fd3eb/go.mod h1:NtSxZCD+s3sZFwbW6WceOcUD83HM9XD5OE2r4c0P8eg= github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed/go.mod h1:tMWxXQ9wFIaZeTI9F+hmhFiGpFmhOHzyShyFUhRm0H4= +github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= +github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= -github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= +github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= +github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-bexpr v0.1.10/go.mod h1:oxlubA2vC/gFVfX1A6JGp7ls7uCDlfJn732ehYYg+g0= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= -github.com/hashicorp/go-multierror v1.0.0 h1:iVjPR7a6H0tWELX5NxNe7bYopibicUzc7uPribsnS6o= +github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= @@ -711,10 +1131,17 @@ github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmK github.com/huin/goupnp v1.0.0/go.mod h1:n9v9KO1tAxYH82qOn+UTIFQDmx5n1Zxd/ClZDMX7Bnc= github.com/huin/goupnp v1.0.1-0.20210310174557-0ca763054c88/go.mod h1:nNs7wvRfN1eKaMknBydLNQU6146XQim8t4h+q90biWo= github.com/huin/goupnp v1.0.1-0.20210626160114-33cdcbb30dda/go.mod h1:0dxJBVBHqTMjIUMkESDTNgOOx/Mw5wYIfyFmdzSamkM= -github.com/huin/goupnp v1.0.2 h1:RfGLP+h3mvisuWEyybxNq5Eft3NWhHLPeUN72kpKZoI= github.com/huin/goupnp v1.0.2/go.mod h1:0dxJBVBHqTMjIUMkESDTNgOOx/Mw5wYIfyFmdzSamkM= +github.com/huin/goupnp v1.0.3 h1:N8No57ls+MnjlB+JPiCVSOyy/ot7MJTqlo7rn+NYSqQ= +github.com/huin/goupnp v1.0.3/go.mod h1:ZxNlw5WqJj6wSsRK5+YfflQGXYfccj5VgQsMNixHM7Y= github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o= +github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= @@ -730,11 +1157,14 @@ github.com/influxdata/promql/v2 v2.12.0/go.mod h1:fxOPu+DY0bqCTCECchSRtWfc+0X19y github.com/influxdata/roaring v0.4.13-0.20180809181101-fc520f41fab6/go.mod h1:bSgUQ7q5ZLSO+bKBGqJiCBGAl+9DxyW63zLTujjUlOE= github.com/influxdata/tdigest v0.0.0-20181121200506-bf2b5ad3c0a9/go.mod h1:Js0mqiSBE6Ffsg94weZZ2c+v/ciT8QRHFOap7EKDrR0= github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368/go.mod h1:Wbbw6tYNvwa5dlB6304Sd+82Z3f7PmVZHVKU637d4po= +github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ= github.com/ipfs/go-cid v0.0.2/go.mod h1:GHWU/WuQdMPmIosc4Yn1bcCT7dSeX4lBafM7iqUPQvM= github.com/ipfs/go-cid v0.0.3/go.mod h1:GHWU/WuQdMPmIosc4Yn1bcCT7dSeX4lBafM7iqUPQvM= github.com/ipfs/go-cid v0.0.5/go.mod h1:plgt+Y5MnOey4vO4UlUazGqdbEXuFYitED67FexhXog= -github.com/ipfs/go-cid v0.0.7 h1:ysQJVJA3fNDF1qigJbsSQOdjhVLsOEoPdh0+R97k3jY= github.com/ipfs/go-cid v0.0.7/go.mod h1:6Ux9z5e+HpkQdckYoX1PG/6xqKspzlEIR5SDmgqgC/I= +github.com/ipfs/go-cid v0.1.0/go.mod h1:rH5/Xv83Rfy8Rw6xG+id3DYAMUVmem1MowoKwdXmN2o= +github.com/ipfs/go-cid v0.2.0 h1:01JTiihFq9en9Vz0lc0VDWvZe/uBonGpzo4THP0vcQ0= +github.com/ipfs/go-cid v0.2.0/go.mod h1:P+HXFDF4CVhaVayiEb4wkAy7zBHxBwsJyt0Y5U6MLro= github.com/ipfs/go-datastore v0.5.0/go.mod h1:9zhEApYMTl17C8YDp7JmU7sQZi2/wqiYh73hakZ90Bk= github.com/ipfs/go-datastore v0.5.1 h1:WkRhLuISI+XPD0uk3OskB0fYFSyqK8Ob5ZYew9Qa1nQ= github.com/ipfs/go-datastore v0.5.1/go.mod h1:9zhEApYMTl17C8YDp7JmU7sQZi2/wqiYh73hakZ90Bk= @@ -747,22 +1177,63 @@ github.com/ipfs/go-ds-leveldb v0.5.0/go.mod h1:d3XG9RUDzQ6V4SHi8+Xgj9j1XuEk1z82l github.com/ipfs/go-ds-sql v0.3.0 h1:PLBbl0Rt0tBwWhQ0b3GCQbH+Bgd6aj2srKG6vJ7nYl4= github.com/ipfs/go-ds-sql v0.3.0/go.mod h1:jE3bhmuUnMPXFftc4NEAiPUfgiwiv7fIdjozuX+m1/E= github.com/ipfs/go-ipfs-delay v0.0.0-20181109222059-70721b86a9a8/go.mod h1:8SP1YXK1M1kXuc4KJZINY3TQQ03J2rwBG9QfXmbRPrw= -github.com/ipfs/go-ipfs-util v0.0.2 h1:59Sswnk1MFaiq+VcaknX7aYEyGyGDAA73ilhEK2POp8= github.com/ipfs/go-ipfs-util v0.0.2/go.mod h1:CbPtkWJzjLdEcezDns2XYaehFVNXG9zrdrtMecczcsQ= -github.com/ipfs/go-log v0.0.1/go.mod h1:kL1d2/hzSpI0thNYjiKfjanbVNU+IIGA/WnNESY9leM= github.com/ipfs/go-log v1.0.4/go.mod h1:oDCg2FkjogeFOhqqb+N39l2RpTNPL6F/StPkB3kPgcs= github.com/ipfs/go-log v1.0.5 h1:2dOuUCB1Z7uoczMWgAyDck5JLb72zHzrMnGnCNNbvY8= github.com/ipfs/go-log v1.0.5/go.mod h1:j0b8ZoR+7+R99LD9jZ6+AJsrzkPbSXbZfGakb5JPtIo= -github.com/ipfs/go-log/v2 v2.0.3/go.mod h1:O7P1lJt27vWHhOwQmcFEvlmo49ry2VY2+JfBWFaa9+0= github.com/ipfs/go-log/v2 v2.0.5/go.mod h1:eZs4Xt4ZUJQFM3DlanGhy7TkwwawCZcSByscwkWG+dw= -github.com/ipfs/go-log/v2 v2.1.1/go.mod h1:2v2nsGfZsvvAJz13SyFzf9ObaqwHiHxsPLEHntrv9KM= github.com/ipfs/go-log/v2 v2.1.3/go.mod h1:/8d0SH3Su5Ooc31QlL1WysJhvyOTDCjcCZ9Axpmri6g= github.com/ipfs/go-log/v2 v2.3.0/go.mod h1:QqGoj30OTpnKaG/LKTGTxoP2mmQtjVMEnK72gynbe/g= -github.com/ipfs/go-log/v2 v2.4.0/go.mod h1:nPZnh7Cj7lwS3LpRU5Mwr2ol1c2gXIEXuF6aywqrtmo= -github.com/ipfs/go-log/v2 v2.5.0 h1:+MhAooFd9XZNvR0i9FriKW6HB0ql7HNXUuflWtc0dd4= github.com/ipfs/go-log/v2 v2.5.0/go.mod h1:prSpmC1Gpllc9UYWxDiZDreBYw7zp4Iqp1kOLU9U5UI= +github.com/ipfs/go-log/v2 v2.5.1 h1:1XdUzF7048prq4aBjDQQ4SL5RxftpRGdXhNRwKSAlcY= +github.com/ipfs/go-log/v2 v2.5.1/go.mod h1:prSpmC1Gpllc9UYWxDiZDreBYw7zp4Iqp1kOLU9U5UI= +github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA= +github.com/j-keck/arping v1.0.2/go.mod h1:aJbELhR92bSk7tp79AWM/ftfc90EfEi2bQJrbBFOsPw= +github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= +github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= github.com/jackc/fake v0.0.0-20150926172116-812a484cc733/go.mod h1:WrMFNQdiFJ80sQsxDoMokWK1W5TQtxBFNpzWTD84ibQ= +github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9qN5YIfX0fl88Ehu4XC3keFuOJJk9pcnA= +github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE= +github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= +github.com/jackc/pgconn v1.4.0/go.mod h1:Y2O3ZDF0q4mMacyWV3AstPJpeHXWGEetiFttmq5lahk= +github.com/jackc/pgconn v1.5.0/go.mod h1:QeD3lBfpTFe8WUnPZWN5KY/mB8FGMIYRdd8P8Jr0fAI= +github.com/jackc/pgconn v1.5.1-0.20200601181101-fa742c524853/go.mod h1:QeD3lBfpTFe8WUnPZWN5KY/mB8FGMIYRdd8P8Jr0fAI= +github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= +github.com/jackc/pgerrcode v0.0.0-20201024163028-a0d42d470451/go.mod h1:a/s9Lp5W7n/DD0VrVoyJ00FbP2ytTPDVOivvn2bMlds= +github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= +github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= +github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod h1:bhq50y+xrl9n5mRYyCBFKkpRVTLYJVWeCc+mEAI3yXA= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190609003834-432c2951c711/go.mod h1:uH0AWtUmuShn0bcesswc4aBTWGvw0cAxIJp+6OB//Wg= +github.com/jackc/pgproto3/v2 v2.0.0-rc3/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.0.7/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgservicefile v0.0.0-20200307190119-3430c5407db8/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= +github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= +github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= +github.com/jackc/pgtype v1.2.0/go.mod h1:5m2OfMh1wTK7x+Fk952IDmI4nw3nPrvtQdM0ZT4WpC0= +github.com/jackc/pgtype v1.3.1-0.20200510190516-8cd94a14c75a/go.mod h1:vaogEUkALtxZMCH411K+tKzNpwzCKU+AnPzBKZ+I+Po= +github.com/jackc/pgtype v1.3.1-0.20200606141011-f6355165a91c/go.mod h1:cvk9Bgu/VzJ9/lxTO5R5sf80p0DiucVtN7ZxvaC4GmQ= +github.com/jackc/pgtype v1.6.2/go.mod h1:JCULISAZBFGrHaOXIIFiyfzW5VY0GRitRr8NeJsrdig= github.com/jackc/pgx v3.2.0+incompatible/go.mod h1:0ZGrqGqkRlliWnWB4zKnWtjbSWbGkVEFm4TeybAXq+I= +github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= +github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= +github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= +github.com/jackc/pgx/v4 v4.5.0/go.mod h1:EpAKPLdnTorwmPUUsqrPxy5fphV18j9q3wrfRXgo+kA= +github.com/jackc/pgx/v4 v4.6.1-0.20200510190926-94ba730bb1e9/go.mod h1:t3/cdRQl6fOLDxqtlyhe9UWgfIi9R8+8v8GKV5TRA/o= +github.com/jackc/pgx/v4 v4.6.1-0.20200606145419-4e5062306904/go.mod h1:ZDaNWkt9sW1JMiNn0kdYBaLelIhw7Pg4qd+Vk6tw7Hg= +github.com/jackc/pgx/v4 v4.10.1/go.mod h1:QlrWebbs3kqEZPHCTGyxecvzG6tvIsYu+A5b1raylkA= +github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.1/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackpal/go-nat-pmp v1.0.2-0.20160603034137-1fa385a6f458/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= github.com/jackpal/go-nat-pmp v1.0.2 h1:KzKSgb7qkJvOUTqYl9/Hg/me3pWgBmERKrTGD7BdWus= github.com/jackpal/go-nat-pmp v1.0.2/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= @@ -779,11 +1250,20 @@ github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJS github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a h1:zPPuIq2jAWWPTrGt70eK/BSch+gFAGrNzecsoENgu2o= github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a/go.mod h1:yL958EeXv8Ylng6IfnvG4oflryUi3vgA3xPs9hmII1s= +github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= +github.com/jinzhu/now v1.1.1/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= +github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= +github.com/jmoiron/sqlx v1.3.1/go.mod h1:2BljVx/86SuTyjE+aPYlHCTNvZrnJXghYGpNiXLBMCQ= +github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52CupLJyoVwB10FQ/IQlF1pdL8= +github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= +github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= @@ -792,6 +1272,7 @@ github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/u github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/jsternberg/zap-logfmt v1.0.0/go.mod h1:uvPs/4X51zdkcm5jXl5SYoN+4RK21K8mysFmDaM/h+o= @@ -799,14 +1280,19 @@ github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVY github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/jung-kurt/gofpdf v1.0.0/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= github.com/jwilder/encoding v0.0.0-20170811194829-b4e1701a28ef/go.mod h1:Ct9fl0F6iIOGgxJ5npU/IUOhOhqlVrGjyIZc8/MagT0= +github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88/go.mod h1:3w7q1U84EfirKl04SVQ/s7nPm1ZPhiXd34z40TNz36k= +github.com/k0kubun/pp v2.3.0+incompatible/go.mod h1:GWse8YhT0p8pT4ir3ZgBbfZild3tgzSScAn6HmfYukg= github.com/kami-zh/go-capturer v0.0.0-20171211120116-e492ea43421d/go.mod h1:P2viExyCEfeWGU259JnaQ34Inuec4R38JCyBx2edgD0= github.com/karalabe/usb v0.0.0-20190919080040-51dc0efba356/go.mod h1:Od972xHfMJowv7NGVDiWVxk2zxnWgjLlJzE+F4F7AGU= github.com/karalabe/usb v0.0.0-20210518091819-4ea20957c210/go.mod h1:Od972xHfMJowv7NGVDiWVxk2zxnWgjLlJzE+F4F7AGU= -github.com/karalabe/usb v0.0.0-20211005121534-4c5740d64559 h1:0VWDXPNE0brOek1Q8bLfzKkvOzwbQE/snjGojlCr8CY= -github.com/karalabe/usb v0.0.0-20211005121534-4c5740d64559/go.mod h1:Od972xHfMJowv7NGVDiWVxk2zxnWgjLlJzE+F4F7AGU= +github.com/karalabe/usb v0.0.2 h1:M6QQBNxF+CQ8OFvxrT90BA0qBOXymndZnk5q235mFc4= +github.com/karalabe/usb v0.0.2/go.mod h1:Od972xHfMJowv7NGVDiWVxk2zxnWgjLlJzE+F4F7AGU= github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod h1:1NbS8ALrpOvjt0rHPNLyCIeMtbizbir8U//inJ+zuB8= +github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= +github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/keighl/metabolize v0.0.0-20150915210303-97ab655d4034 h1:1ijjWJbbN7za3tZ7eXUO5fVcC9ogGYShQh+zM6YiCYE= github.com/keighl/metabolize v0.0.0-20150915210303-97ab655d4034/go.mod h1:xxAJtNhpzBtSWAYybYGKfMFYx71aqCyNe/8FraO/1ac= @@ -818,22 +1304,29 @@ github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= -github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.13.6 h1:P76CopJELS0TiO2mebmnzgWaajssP/EszplttgQxcgc= +github.com/klauspost/compress v1.9.5/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= +github.com/klauspost/compress v1.11.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= +github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= +github.com/klauspost/compress v1.13.1/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= +github.com/klauspost/compress v1.13.4/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/compress v1.15.1 h1:y9FcTHGyrebwfP0ZZqFiaxTaiDnUrGkJkI+f583BL1A= +github.com/klauspost/compress v1.15.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/klauspost/cpuid/v2 v2.0.4/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/klauspost/cpuid/v2 v2.0.6/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= -github.com/klauspost/cpuid/v2 v2.0.9 h1:lgaqFMSdTdQYdZ04uHyN2d/eKdOMyi2YLSvlQIBFYa4= github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/klauspost/cpuid/v2 v2.0.14 h1:QRqdp6bb9M9S5yyKeYteXKuoKE4p0tGlra81fKOpWH8= +github.com/klauspost/cpuid/v2 v2.0.14/go.mod h1:g2LTdtYhdyuGPqyWyv7qRAmj1WBqxuObKfj5c0PQa7c= github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6/go.mod h1:+ZoRqAPRLkC4NPOvfYeR5KNOrY6TD+/sAC3HXPZgDYg= github.com/klauspost/pgzip v1.0.2-0.20170402124221-0bf5dcad4ada/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/koron/go-ssdp v0.0.0-20191105050749-2e1c40ed0b5d/go.mod h1:5Ky9EC2xfoUKUor0Hjgi2BJhCSXJfMOFlmyYrVKGQMk= -github.com/koron/go-ssdp v0.0.2 h1:fL3wAoyT6hXHQlORyXUW4Q23kkQpJRgEAYcZB5BR71o= -github.com/koron/go-ssdp v0.0.2/go.mod h1:XoLfkAiA2KeZsYh4DbHxD7h3nR2AZNqVQOa+LJuqPYs= +github.com/koron/go-ssdp v0.0.3 h1:JivLMY45N76b4p/vsWGOKewBQu6uf39y8l+AQ7sDKx8= +github.com/koron/go-ssdp v0.0.3/go.mod h1:b2MxI6yh02pKrsyNoQUsk4+YNikaGhe4894J+Q5lDvA= +github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= @@ -842,118 +1335,91 @@ github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.3/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kshvakov/clickhouse v1.3.5/go.mod h1:DMzX7FxRymoNkVgizH0DWAL8Cur7wHLgx3MUnGwJqpE= +github.com/ktrysmt/go-bitbucket v0.6.4/go.mod h1:9u0v3hsd2rqCHRIpbir1oP7F58uo5dq19sBYvuMoyQ4= +github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/labstack/echo/v4 v4.2.1/go.mod h1:AA49e0DZ8kk5jTOOCKNuPR6oTnBS0dYiM4FW1e6jwpg= github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k= github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8= -github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y= -github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= +github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= +github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.3.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.9.0 h1:L8nSXQQzAYByakOFMTwpjRoHsMJklur4Gi59b6VivR8= -github.com/lib/pq v1.9.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/libp2p/go-addr-util v0.1.0/go.mod h1:6I3ZYuFr2O/9D+SoyM0zEw0EF3YkldtTX406BpdQMqw= +github.com/lib/pq v1.8.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lib/pq v1.10.0 h1:Zx5DJFEYQXio93kgXnQ09fXNiUKsqv4OUEu2UtGcB1E= +github.com/lib/pq v1.10.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/libp2p/go-buffer-pool v0.0.1/go.mod h1:xtyIz9PMobb13WaxR6Zo1Pd1zXJKYg0a8KiIvDp3TzQ= -github.com/libp2p/go-buffer-pool v0.0.2 h1:QNK2iAFa8gjAe1SPz6mHSMuCcjs+X1wlHzeOSqcmlfs= github.com/libp2p/go-buffer-pool v0.0.2/go.mod h1:MvaB6xw5vOrDl8rYZGLFdKAuk/hRoRZd1Vi32+RXyFM= +github.com/libp2p/go-buffer-pool v0.1.0 h1:oK4mSFcQz7cTQIfqbe4MIj9gLW+mnanjyFtc6cdF0Y8= +github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QTWy5HSiZacSbPg= github.com/libp2p/go-cidranger v1.1.0 h1:ewPN8EZ0dd1LSnrtuwd4709PXVcITVeuwbag38yPW7c= github.com/libp2p/go-cidranger v1.1.0/go.mod h1:KWZTfSr+r9qEo9OkI9/SIEeAtw+NNoU0dXIXt15Okic= -github.com/libp2p/go-conn-security-multistream v0.3.0 h1:9UCIKlBL1hC9u7nkMXpD1nkc/T53PKMAn3/k9ivBAVc= github.com/libp2p/go-conn-security-multistream v0.3.0/go.mod h1:EEP47t4fw/bTelVmEzIDqSe69hO/ip52xBEhZMLWAHM= github.com/libp2p/go-eventbus v0.2.1 h1:VanAdErQnpTioN2TowqNcOijf6YwhuODe4pPKSDpxGc= github.com/libp2p/go-eventbus v0.2.1/go.mod h1:jc2S4SoEVPP48H9Wpzm5aiGwUCBMfGhVhhBjyhhCJs8= github.com/libp2p/go-flow-metrics v0.0.1/go.mod h1:Iv1GH0sG8DtYN3SVJ2eG221wMiNpZxBdp967ls1g+k8= github.com/libp2p/go-flow-metrics v0.0.3 h1:8tAs/hSdNvUiLgtlSy3mxwxWP4I9y/jlkPFT7epKdeM= github.com/libp2p/go-flow-metrics v0.0.3/go.mod h1:HeoSNUrOJVK1jEpDqVEiUOIXqhbnS27omG0uWU5slZs= -github.com/libp2p/go-libp2p v0.18.0-rc6/go.mod h1:oOUOAlBrm1L0+jxT10h2TMUMTDz6pV3EvmkJ3beDYGQ= -github.com/libp2p/go-libp2p v0.18.0 h1:moKKKG875KNGsCjZxTIFB75ihHiVjFeWg5I4aR1pDLk= -github.com/libp2p/go-libp2p v0.18.0/go.mod h1:+veaZ9z1SZQhmc5PW78jvnnxZ89Mgvmh4cggO11ETmw= -github.com/libp2p/go-libp2p-asn-util v0.1.0 h1:rABPCO77SjdbJ/eJ/ynIo8vWICy1VEnL5JAxJbQLo1E= -github.com/libp2p/go-libp2p-asn-util v0.1.0/go.mod h1:wu+AnM9Ii2KgO5jMmS1rz9dvzTdj8BXqsPR9HR0XB7I= +github.com/libp2p/go-libp2p v0.20.3/go.mod h1:I+vndVanE/p/SjFbnA+BEmmfAUEpWxrdXZeyQ1Dus5c= +github.com/libp2p/go-libp2p v0.21.0 h1:s9yYScuIFY33FOOzwTXbc8QqbvsRyKIWFf0FCSJKrfM= +github.com/libp2p/go-libp2p v0.21.0/go.mod h1:zvcA6/C4mr5/XQarRICh+L1SN9dAHHlSWDq4x5VYxg4= +github.com/libp2p/go-libp2p-asn-util v0.2.0 h1:rg3+Os8jbnO5DxkC7K/Utdi+DkY3q/d1/1q+8WeNAsw= +github.com/libp2p/go-libp2p-asn-util v0.2.0/go.mod h1:WoaWxbHKBymSN41hWSq/lGKJEca7TNm58+gGJi2WsLI= github.com/libp2p/go-libp2p-blankhost v0.2.0/go.mod h1:eduNKXGTioTuQAUcZ5epXi9vMl+t4d8ugUBRQ4SqaNQ= -github.com/libp2p/go-libp2p-blankhost v0.3.0 h1:kTnLArltMabZlzY63pgGDA4kkUcLkBFSM98zBssn/IY= -github.com/libp2p/go-libp2p-blankhost v0.3.0/go.mod h1:urPC+7U01nCGgJ3ZsV8jdwTp6Ji9ID0dMTvq+aJ+nZU= -github.com/libp2p/go-libp2p-circuit v0.6.0 h1:rw/HlhmUB3OktS/Ygz6+2XABOmHKzZpPUuMNUMosj8w= github.com/libp2p/go-libp2p-circuit v0.6.0/go.mod h1:kB8hY+zCpMeScyvFrKrGicRdid6vNXbunKE4rXATZ0M= github.com/libp2p/go-libp2p-connmgr v0.2.4/go.mod h1:YV0b/RIm8NGPnnNWM7hG9Q38OeQiQfKhHCCs1++ufn0= github.com/libp2p/go-libp2p-connmgr v0.3.1 h1:alEy2fpGKFu+7ZhQF4GF0dvKLyVHeLtIfS/KziwoiZw= -github.com/libp2p/go-libp2p-connmgr v0.3.1/go.mod h1:RVoyPjJm0J9Vd1m6qUN2Tn7kJm4rL1Ml20pFsFgPGik= github.com/libp2p/go-libp2p-core v0.2.0/go.mod h1:X0eyB0Gy93v0DZtSYbEM7RnMChm9Uv3j7yRXjO77xSI= github.com/libp2p/go-libp2p-core v0.3.0/go.mod h1:ACp3DmS3/N64c2jDzcV429ukDpicbL6+TrrxANBjPGw= github.com/libp2p/go-libp2p-core v0.5.0/go.mod h1:49XGI+kc38oGVwqSBhDEwytaAxgZasHhFfQKibzTls0= -github.com/libp2p/go-libp2p-core v0.5.1/go.mod h1:uN7L2D4EvPCvzSH5SrhR72UWbnSGpt5/a35Sm4upn4Y= github.com/libp2p/go-libp2p-core v0.5.7/go.mod h1:txwbVEhHEXikXn9gfC7/UDDw7rkxuX0bJvM49Ykaswo= github.com/libp2p/go-libp2p-core v0.6.0/go.mod h1:txwbVEhHEXikXn9gfC7/UDDw7rkxuX0bJvM49Ykaswo= -github.com/libp2p/go-libp2p-core v0.8.0/go.mod h1:FfewUH/YpvWbEB+ZY9AQRQ4TAD8sJBt/G1rVvhz5XT8= -github.com/libp2p/go-libp2p-core v0.8.5/go.mod h1:FfewUH/YpvWbEB+ZY9AQRQ4TAD8sJBt/G1rVvhz5XT8= -github.com/libp2p/go-libp2p-core v0.8.6/go.mod h1:dgHr0l0hIKfWpGpqAMbpo19pen9wJfdCGv51mTmdpmM= -github.com/libp2p/go-libp2p-core v0.9.0/go.mod h1:ESsbz31oC3C1AvMJoGx26RTuCkNhmkSRCqZ0kQtJ2/8= github.com/libp2p/go-libp2p-core v0.10.0/go.mod h1:ECdxehoYosLYHgDDFa2N4yE8Y7aQRAMf0sX9mf2sbGg= -github.com/libp2p/go-libp2p-core v0.11.0/go.mod h1:ECdxehoYosLYHgDDFa2N4yE8Y7aQRAMf0sX9mf2sbGg= github.com/libp2p/go-libp2p-core v0.12.0/go.mod h1:ECdxehoYosLYHgDDFa2N4yE8Y7aQRAMf0sX9mf2sbGg= -github.com/libp2p/go-libp2p-core v0.13.0/go.mod h1:ECdxehoYosLYHgDDFa2N4yE8Y7aQRAMf0sX9mf2sbGg= -github.com/libp2p/go-libp2p-core v0.14.0 h1:0kYSgiK/D7Eo28GTuRXo5YHsWwAisVpFCqCVPUd/vJs= github.com/libp2p/go-libp2p-core v0.14.0/go.mod h1:tLasfcVdTXnixsLB0QYaT1syJOhsbrhG7q6pGrHtBg8= -github.com/libp2p/go-libp2p-discovery v0.6.0 h1:1XdPmhMJr8Tmj/yUfkJMIi8mgwWrLUsCB3bMxdT+DSo= -github.com/libp2p/go-libp2p-discovery v0.6.0/go.mod h1:/u1voHt0tKIe5oIA1RHBKQLVCWPna2dXmPNHc2zR9S8= -github.com/libp2p/go-libp2p-mplex v0.4.1/go.mod h1:cmy+3GfqfM1PceHTLL7zQzAAYaryDu6iPSC+CIb094g= +github.com/libp2p/go-libp2p-core v0.16.1/go.mod h1:O3i/7y+LqUb0N+qhzXjBjjpchgptWAVMG1Voegk7b4c= +github.com/libp2p/go-libp2p-core v0.17.0/go.mod h1:h/iAbFij28ASmI+tvXfjoipg1g2N33O4UN6LIb6QfoU= +github.com/libp2p/go-libp2p-core v0.19.0/go.mod h1:AkA+FUKQfYt1FLNef5fOPlo/naAWjKy/RCjkcPjqzYg= +github.com/libp2p/go-libp2p-core v0.19.1 h1:zaZQQCeCrFMtxFa1wHy6AhsVynyNmZAvwgWqSSPT3WE= +github.com/libp2p/go-libp2p-core v0.19.1/go.mod h1:2uLhmmqDiFY+dw+70KkBLeKvvsJHGWUINRDdeV1ip7k= github.com/libp2p/go-libp2p-mplex v0.5.0/go.mod h1:eLImPJLkj3iG5t5lq68w3Vm5NAQ5BcKwrrb2VmOYb3M= -github.com/libp2p/go-libp2p-mplex v0.6.0 h1:5ubK4/vLE2JkogKlJ2JLeXcSfA6qY6mE2HMJV9ve/Sk= -github.com/libp2p/go-libp2p-mplex v0.6.0/go.mod h1:i3usuPrBbh9FD2fLZjGpotyNkwr42KStYZQY7BeTiu4= -github.com/libp2p/go-libp2p-nat v0.1.0 h1:vigUi2MEN+fwghe5ijpScxtbbDz+L/6y8XwlzYOJgSY= -github.com/libp2p/go-libp2p-nat v0.1.0/go.mod h1:DQzAG+QbDYjN1/C3B6vXucLtz3u9rEonLVPtZVzQqks= -github.com/libp2p/go-libp2p-noise v0.3.0 h1:NCVH7evhVt9njbTQshzT7N1S3Q6fjj9M11FCgfH5+cA= -github.com/libp2p/go-libp2p-noise v0.3.0/go.mod h1:JNjHbociDJKHD64KTkzGnzqJ0FEV5gHJa6AB00kbCNQ= -github.com/libp2p/go-libp2p-peerstore v0.4.0/go.mod h1:rDJUFyzEWPpXpEwywkcTYYzDHlwza8riYMaUzaN6hX0= -github.com/libp2p/go-libp2p-peerstore v0.6.0 h1:HJminhQSGISBIRb93N6WK3t6Fa8OOTnHd/VBjL4mY5A= github.com/libp2p/go-libp2p-peerstore v0.6.0/go.mod h1:DGEmKdXrcYpK9Jha3sS7MhqYdInxJy84bIPtSu65bKc= -github.com/libp2p/go-libp2p-pnet v0.2.0 h1:J6htxttBipJujEjz1y0a5+eYoiPcFHhSYHH6na5f0/k= +github.com/libp2p/go-libp2p-peerstore v0.7.1 h1:7FpALlqR+3+oOBXdzm3AVt0vjMYLW1b7jM03E4iEHlw= +github.com/libp2p/go-libp2p-peerstore v0.7.1/go.mod h1:cdUWTHro83vpg6unCpGUr8qJoX3e93Vy8o97u5ppIM0= github.com/libp2p/go-libp2p-pnet v0.2.0/go.mod h1:Qqvq6JH/oMZGwqs3N1Fqhv8NVhrdYcO0BW4wssv21LA= -github.com/libp2p/go-libp2p-pubsub v0.6.1 h1:wycbV+f4rreCoVY61Do6g/BUk0RIrbNRcYVbn+QkjGk= -github.com/libp2p/go-libp2p-pubsub v0.6.1/go.mod h1:nJv87QM2cU0w45KPR1rZicq+FmFIOD16zmT+ep1nOmg= -github.com/libp2p/go-libp2p-quic-transport v0.13.0/go.mod h1:39/ZWJ1TW/jx1iFkKzzUg00W6tDJh73FC0xYudjr7Hc= +github.com/libp2p/go-libp2p-pubsub v0.7.1-0.20220701163738-60cf38003244 h1:Om2zX4v6lQo7CIT99xkCVTSXeSwjfPtzzN3nzQRlApA= +github.com/libp2p/go-libp2p-pubsub v0.7.1-0.20220701163738-60cf38003244/go.mod h1:y+eARQ8AoaWpe0mlz3/uYKdl+GhFOtIxjG5xeek2kbM= github.com/libp2p/go-libp2p-quic-transport v0.16.0/go.mod h1:1BXjVMzr+w7EkPfiHkKnwsWjPjtfaNT0q8RS3tGDvEQ= -github.com/libp2p/go-libp2p-quic-transport v0.16.1 h1:N/XqYXHurphPLDfXYhll8NyqzdZYQqAF4GIr7+SmLV8= -github.com/libp2p/go-libp2p-quic-transport v0.16.1/go.mod h1:1BXjVMzr+w7EkPfiHkKnwsWjPjtfaNT0q8RS3tGDvEQ= -github.com/libp2p/go-libp2p-resource-manager v0.1.3/go.mod h1:wJPNjeE4XQlxeidwqVY5G6DLOKqFK33u2n8blpl0I6Y= -github.com/libp2p/go-libp2p-resource-manager v0.1.5 h1:7J6t9KLFS0MxXDTfqA6rwfVCZl/yLQnXW5LpZjHAANI= -github.com/libp2p/go-libp2p-resource-manager v0.1.5/go.mod h1:wJPNjeE4XQlxeidwqVY5G6DLOKqFK33u2n8blpl0I6Y= -github.com/libp2p/go-libp2p-swarm v0.8.0/go.mod h1:sOMp6dPuqco0r0GHTzfVheVBh6UEL0L1lXUZ5ot2Fvc= +github.com/libp2p/go-libp2p-resource-manager v0.3.0/go.mod h1:K+eCkiapf+ey/LADO4TaMpMTP9/Qde/uLlrnRqV4PLQ= +github.com/libp2p/go-libp2p-resource-manager v0.5.1 h1:jm0mdqn7yfh7wbUzlj948BYZX0KZ3RW7OqerkGQ5rYY= +github.com/libp2p/go-libp2p-resource-manager v0.5.1/go.mod h1:CggtV6EZb+Y0dGh41q5ezO4udcVKyhcEFpydHD8EMe0= github.com/libp2p/go-libp2p-swarm v0.10.0/go.mod h1:71ceMcV6Rg/0rIQ97rsZWMzto1l9LnNquef+efcRbmA= -github.com/libp2p/go-libp2p-swarm v0.10.2 h1:UaXf+CTq6Ns1N2V1EgqJ9Q3xaRsiN7ImVlDMpirMAWw= -github.com/libp2p/go-libp2p-swarm v0.10.2/go.mod h1:Pdkq0QU5a+qu+oyqIV3bknMsnzk9lnNyKvB9acJ5aZs= github.com/libp2p/go-libp2p-testing v0.1.1/go.mod h1:xaZWMJrPUM5GlDBxCeGUi7kI4eqnjVyavGroI2nxEM0= github.com/libp2p/go-libp2p-testing v0.1.2-0.20200422005655-8775583591d8/go.mod h1:Qy8sAncLKpwXtS2dSnDOP8ktexIAHKu+J+pnZOFZLTc= -github.com/libp2p/go-libp2p-testing v0.4.0/go.mod h1:Q+PFXYoiYFN5CAEG2w3gLPEzotlKsNSbKQ/lImlOWF0= github.com/libp2p/go-libp2p-testing v0.5.0/go.mod h1:QBk8fqIL1XNcno/l3/hhaIEn4aLRijpYOR+zVjjlh+A= github.com/libp2p/go-libp2p-testing v0.7.0/go.mod h1:OLbdn9DbgdMwv00v+tlp1l3oe2Cl+FAjoWIA2pa0X6E= -github.com/libp2p/go-libp2p-testing v0.8.0 h1:/te8SOIyj5sGH5Jr1Uoo+qYB00aK8O4+yHGzLgfE3kc= -github.com/libp2p/go-libp2p-testing v0.8.0/go.mod h1:gRdsNxQSxAZowTgcLY7CC33xPmleZzoBpqSYbWenqPc= +github.com/libp2p/go-libp2p-testing v0.9.2/go.mod h1:Td7kbdkWqYTJYQGTwzlgXwaqldraIanyjuRiAbK/XQU= +github.com/libp2p/go-libp2p-testing v0.11.0 h1:+R7FRl/U3Y00neyBSM2qgDzqz3HkWH24U9nMlascHL4= +github.com/libp2p/go-libp2p-testing v0.11.0/go.mod h1:qG4sF27dfKFoK9KlVzK2y52LQKhp0VEmLjV5aDqr1Hg= github.com/libp2p/go-libp2p-tls v0.3.0/go.mod h1:fwF5X6PWGxm6IDRwF3V8AVCCj/hOd5oFlg+wo2FxJDY= -github.com/libp2p/go-libp2p-tls v0.3.1 h1:lsE2zYte+rZCEOHF72J1Fg3XK3dGQyKvI6i5ehJfEp0= -github.com/libp2p/go-libp2p-tls v0.3.1/go.mod h1:fwF5X6PWGxm6IDRwF3V8AVCCj/hOd5oFlg+wo2FxJDY= -github.com/libp2p/go-libp2p-transport-upgrader v0.5.0/go.mod h1:Rc+XODlB3yce7dvFV4q/RmyJGsFcCZRkeZMu/Zdg0mo= github.com/libp2p/go-libp2p-transport-upgrader v0.7.0/go.mod h1:GIR2aTRp1J5yjVlkUoFqMkdobfob6RnAwYg/RZPhrzg= -github.com/libp2p/go-libp2p-transport-upgrader v0.7.1 h1:MSMe+tUfxpC9GArTz7a4G5zQKQgGh00Vio87d3j3xIg= -github.com/libp2p/go-libp2p-transport-upgrader v0.7.1/go.mod h1:GIR2aTRp1J5yjVlkUoFqMkdobfob6RnAwYg/RZPhrzg= -github.com/libp2p/go-libp2p-yamux v0.5.0/go.mod h1:AyR8k5EzyM2QN9Bbdg6X1SkVVuqLwTGf0L4DFq9g6po= github.com/libp2p/go-libp2p-yamux v0.8.0/go.mod h1:yTkPgN2ib8FHyU1ZcVD7aelzyAqXXwEPbyx+aSKm9h8= -github.com/libp2p/go-libp2p-yamux v0.8.1/go.mod h1:rUozF8Jah2dL9LLGyBaBeTQeARdwhefMCTQVQt6QobE= -github.com/libp2p/go-libp2p-yamux v0.8.2 h1:6GKWntresp0TFxMP/oSoH96nV8XKJRdynXsdp43dn0Y= -github.com/libp2p/go-libp2p-yamux v0.8.2/go.mod h1:rUozF8Jah2dL9LLGyBaBeTQeARdwhefMCTQVQt6QobE= github.com/libp2p/go-maddr-filter v0.1.0/go.mod h1:VzZhTXkMucEGGEOSKddrwGiOv0tUhgnKqNEmIAz/bPU= -github.com/libp2p/go-mplex v0.3.0/go.mod h1:0Oy/A9PQlwBytDRp4wSkFnzHYDKcpLot35JQ6msjvYQ= github.com/libp2p/go-mplex v0.4.0/go.mod h1:y26Lx+wNVtMYMaPu300Cbot5LkEZ4tJaNYeHeT9dh6E= -github.com/libp2p/go-mplex v0.6.0 h1:5kKp029zrsLVJT5q6ASt4LwuZFxj3B13wXXaGmFrWg0= -github.com/libp2p/go-mplex v0.6.0/go.mod h1:y26Lx+wNVtMYMaPu300Cbot5LkEZ4tJaNYeHeT9dh6E= +github.com/libp2p/go-mplex v0.7.0 h1:BDhFZdlk5tbr0oyFq/xv/NPGfjbnrsDam1EvutpBDbY= +github.com/libp2p/go-mplex v0.7.0/go.mod h1:rW8ThnRcYWft/Jb2jeORBmPd6xuG3dGxWN/W168L9EU= github.com/libp2p/go-msgio v0.0.4/go.mod h1:63lBBgOTDKQL6EWazRMCwXsEeEeK9O2Cd+0+6OOuipQ= github.com/libp2p/go-msgio v0.0.6/go.mod h1:4ecVB6d9f4BDSL5fqvPiC4A3KivjWn+Venn/1ALLMWA= -github.com/libp2p/go-msgio v0.1.0 h1:8Q7g/528ivAlfXTFWvWhVjTE8XG8sDTkRUKPYh9+5Q8= -github.com/libp2p/go-msgio v0.1.0/go.mod h1:eNlv2vy9V2X/kNldcZ+SShFE++o2Yjxwx6RAYsmgJnE= +github.com/libp2p/go-msgio v0.2.0 h1:W6shmB+FeynDrUVl2dgFQvzfBZcXiyqY4VmpQLu9FqU= +github.com/libp2p/go-msgio v0.2.0/go.mod h1:dBVM1gW3Jk9XqHkU4eKdGvVHdLa51hoGfll6jMJMSlY= github.com/libp2p/go-nat v0.1.0 h1:MfVsH6DLcpa04Xr+p8hmVRG4juse0s3J8HyNWYHffXg= github.com/libp2p/go-nat v0.1.0/go.mod h1:X7teVkwRHNInVNWQiO/tAiAVRwSr5zoRz4YSTC3uRBM= github.com/libp2p/go-netroute v0.1.2/go.mod h1:jZLDV+1PE8y5XxBySEBgbuVAXbhtuHSdmLPL2n9MKbk= @@ -965,45 +1431,47 @@ github.com/libp2p/go-openssl v0.0.4/go.mod h1:unDrJpgy3oFr+rqXsarWifmJuNnJR4chtO github.com/libp2p/go-openssl v0.0.5/go.mod h1:unDrJpgy3oFr+rqXsarWifmJuNnJR4chtO1HmaZjggc= github.com/libp2p/go-openssl v0.0.7 h1:eCAzdLejcNVBzP/iZM9vqHnQm+XyCEbSSIheIPRGNsw= github.com/libp2p/go-openssl v0.0.7/go.mod h1:unDrJpgy3oFr+rqXsarWifmJuNnJR4chtO1HmaZjggc= -github.com/libp2p/go-reuseport v0.1.0 h1:0ooKOx2iwyIkf339WCZ2HN3ujTDbkK0PjC7JVoP1AiM= github.com/libp2p/go-reuseport v0.1.0/go.mod h1:bQVn9hmfcTaoo0c9v5pBhOarsU1eNOBZdaAd2hzXRKU= -github.com/libp2p/go-reuseport-transport v0.1.0 h1:C3PHeHjmnz8m6f0uydObj02tMEoi7CyD1zuN7xQT8gc= +github.com/libp2p/go-reuseport v0.2.0 h1:18PRvIMlpY6ZK85nIAicSBuXXvrYoSw3dsBAR7zc560= +github.com/libp2p/go-reuseport v0.2.0/go.mod h1:bvVho6eLMm6Bz5hmU0LYN3ixd3nPPvtIlaURZZgOY4k= github.com/libp2p/go-reuseport-transport v0.1.0/go.mod h1:vev0C0uMkzriDY59yFHD9v+ujJvYmDQVLowvAjEOmfw= github.com/libp2p/go-sockaddr v0.0.2/go.mod h1:syPvOmNs24S3dFVGJA1/mrqdeijPxLV2Le3BRLKd68k= github.com/libp2p/go-sockaddr v0.1.0/go.mod h1:syPvOmNs24S3dFVGJA1/mrqdeijPxLV2Le3BRLKd68k= -github.com/libp2p/go-stream-muxer-multistream v0.3.0/go.mod h1:yDh8abSIzmZtqtOt64gFJUXEryejzNb0lisTt+fAMJA= -github.com/libp2p/go-stream-muxer-multistream v0.4.0 h1:HsM/9OdtqnIzjVXcxTXjmqKrj3gJ8kacaOJwJS1ipaY= github.com/libp2p/go-stream-muxer-multistream v0.4.0/go.mod h1:nb+dGViZleRP4XcyHuZSVrJCBl55nRBOMmiSL/dyziw= -github.com/libp2p/go-tcp-transport v0.4.0/go.mod h1:0y52Rwrn4076xdJYu/51/qJIdxz+EWDAOG2S45sV3VI= github.com/libp2p/go-tcp-transport v0.5.0/go.mod h1:UPPL0DIjQqiWRwVAb+CEQlaAG0rp/mCqJfIhFcLHc4Y= -github.com/libp2p/go-tcp-transport v0.5.1 h1:edOOs688VLZAozWC7Kj5/6HHXKNwi9M6wgRmmLa8M6Q= -github.com/libp2p/go-tcp-transport v0.5.1/go.mod h1:UPPL0DIjQqiWRwVAb+CEQlaAG0rp/mCqJfIhFcLHc4Y= -github.com/libp2p/go-ws-transport v0.6.0/go.mod h1:dXqtI9e2JV9FtF1NOtWVZSKXh5zXvnuwPXfj8GPBbYU= -github.com/libp2p/go-ws-transport v0.6.1-0.20220221074654-eeaddb3c061d h1:pPzKsjOFd9xWCy6kBZWsJtOtHC/FParU3n2TjEb8MmE= -github.com/libp2p/go-ws-transport v0.6.1-0.20220221074654-eeaddb3c061d/go.mod h1:hnOHOq1pG8ljdU1gpxCIlsjaA+zKflUWSQzikIbmPHA= -github.com/libp2p/go-yamux v1.4.1/go.mod h1:fr7aVgmdNGJK+N1g+b6DW6VxzbRCjCOejR/hkmpooHE= github.com/libp2p/go-yamux/v3 v3.0.1/go.mod h1:s2LsDhHbh+RfCsQoICSYt58U2f8ijtPANFD8BmE74Bo= -github.com/libp2p/go-yamux/v3 v3.0.2 h1:LW0q5+A1Wy0npEsPJP9wmare2NH4ohNluN5EWVwv2mE= -github.com/libp2p/go-yamux/v3 v3.0.2/go.mod h1:s2LsDhHbh+RfCsQoICSYt58U2f8ijtPANFD8BmE74Bo= +github.com/libp2p/go-yamux/v3 v3.1.2 h1:lNEy28MBk1HavUAlzKgShp+F6mn/ea1nDYWftZhFW9Q= +github.com/libp2p/go-yamux/v3 v3.1.2/go.mod h1:jeLEQgLXqE2YqX1ilAClIfCMDY+0uXQUKmmb/qp0gT4= github.com/libp2p/zeroconf/v2 v2.1.1/go.mod h1:fuJqLnUwZTshS3U/bMRJ3+ow/v9oid1n0DmyYyNO1Xs= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= +github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo= github.com/lucas-clemente/quic-go v0.7.1-0.20190401152353-907071221cf9/go.mod h1:PpMmPfPKO9nKJ/psF49ESTAGQSdfXxlg1otPbEB2nOw= github.com/lucas-clemente/quic-go v0.18.0/go.mod h1:yXttHsSNxQi8AWijC/vLP+OJczXqzHSOcJrM5ITUlCg= github.com/lucas-clemente/quic-go v0.19.3/go.mod h1:ADXpNbTQjq1hIzCpB+y/k5iz4n4z4IwqoLb94Kh5Hu8= -github.com/lucas-clemente/quic-go v0.23.0/go.mod h1:paZuzjXCE5mj6sikVLMvqXk8lJV2AsqtJ6bDhjEfxx0= -github.com/lucas-clemente/quic-go v0.25.0 h1:K+X9Gvd7JXsOHtU0N2icZ2Nw3rx82uBej3mP4CLgibc= github.com/lucas-clemente/quic-go v0.25.0/go.mod h1:YtzP8bxRVCBlO77yRanE264+fY/T2U9ZlW1AaHOsMOg= +github.com/lucas-clemente/quic-go v0.27.1/go.mod h1:AzgQoPda7N+3IqMMMkywBKggIFo2KT6pfnlrQ2QieeI= +github.com/lucas-clemente/quic-go v0.28.0 h1:9eXVRgIkMQQyiyorz/dAaOYIx3TFzXsIFkNFz4cxuJM= +github.com/lucas-clemente/quic-go v0.28.0/go.mod h1:oGz5DKK41cJt5+773+BSO9BXDsREY4HLf7+0odGAPO0= github.com/lucasb-eyer/go-colorful v1.0.3 h1:QIbQXiugsb+q10B+MI+7DI1oQLdmnep86tWFlaaUAac= github.com/lucasb-eyer/go-colorful v1.0.3/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= github.com/lukechampine/stm v0.0.0-20191022212748-05486c32d236/go.mod h1:wTLsd5FC9rts7GkMpsPGk64CIuea+03yaLAp19Jmlg8= github.com/lunixbochs/vtclean v1.0.0/go.mod h1:pHhQNgMf3btfWnGBVipUOjRYhoOsdGqdm/+2c2E2WMI= +github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc87/1qhoTACD8w= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= +github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE= +github.com/markbates/pkger v0.15.1/go.mod h1:0JoVlrol20BSywW79rN3kdFFsE5xYM+rSCQDXbLhiuI= +github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0= +github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho= github.com/marten-seemann/qpack v0.2.0/go.mod h1:F7Gl5L1jIgN1D11ucXefiuJS9UMVP2opoCp2jDKb7wc= github.com/marten-seemann/qpack v0.2.1/go.mod h1:F7Gl5L1jIgN1D11ucXefiuJS9UMVP2opoCp2jDKb7wc= github.com/marten-seemann/qtls v0.2.3/go.mod h1:xzjG7avBwGGbdZ8dTGxlBnLArsVKLvwmjgmPuiQEcYk= @@ -1011,12 +1479,19 @@ github.com/marten-seemann/qtls v0.10.0/go.mod h1:UvMd1oaYDACI99/oZUYLzMCkBXQVT0a github.com/marten-seemann/qtls-go1-15 v0.1.0/go.mod h1:GyFwywLKkRt+6mfU99csTEY1joMZz5vmB1WNZH3P81I= github.com/marten-seemann/qtls-go1-15 v0.1.1/go.mod h1:GyFwywLKkRt+6mfU99csTEY1joMZz5vmB1WNZH3P81I= github.com/marten-seemann/qtls-go1-15 v0.1.4/go.mod h1:GyFwywLKkRt+6mfU99csTEY1joMZz5vmB1WNZH3P81I= -github.com/marten-seemann/qtls-go1-16 v0.1.4 h1:xbHbOGGhrenVtII6Co8akhLEdrawwB2iHl5yhJRpnco= github.com/marten-seemann/qtls-go1-16 v0.1.4/go.mod h1:gNpI2Ol+lRS3WwSOtIUUtRwZEQMXjYK+dQSBFbethAk= -github.com/marten-seemann/qtls-go1-17 v0.1.0 h1:P9ggrs5xtwiqXv/FHNwntmuLMNq3KaSIG93AtAZ48xk= +github.com/marten-seemann/qtls-go1-16 v0.1.5 h1:o9JrYPPco/Nukd/HpOHMHZoBDXQqoNtUCmny98/1uqQ= +github.com/marten-seemann/qtls-go1-16 v0.1.5/go.mod h1:gNpI2Ol+lRS3WwSOtIUUtRwZEQMXjYK+dQSBFbethAk= github.com/marten-seemann/qtls-go1-17 v0.1.0/go.mod h1:fz4HIxByo+LlWcreM4CZOYNuz3taBQ8rN2X6FqvaWo8= -github.com/marten-seemann/qtls-go1-18 v0.1.0-beta.1 h1:EnzzN9fPUkUck/1CuY1FlzBaIYMoiBsdwTNmNGkwUUM= +github.com/marten-seemann/qtls-go1-17 v0.1.1/go.mod h1:C2ekUKcDdz9SDWxec1N/MvcXBpaX9l3Nx67XaR84L5s= +github.com/marten-seemann/qtls-go1-17 v0.1.2 h1:JADBlm0LYiVbuSySCHeY863dNkcpMmDR7s0bLKJeYlQ= +github.com/marten-seemann/qtls-go1-17 v0.1.2/go.mod h1:C2ekUKcDdz9SDWxec1N/MvcXBpaX9l3Nx67XaR84L5s= github.com/marten-seemann/qtls-go1-18 v0.1.0-beta.1/go.mod h1:PUhIQk19LoFt2174H4+an8TYvWOGjb/hHwphBeaDHwI= +github.com/marten-seemann/qtls-go1-18 v0.1.1/go.mod h1:mJttiymBAByA49mhlNZZGrH5u1uXYZJ+RW28Py7f4m4= +github.com/marten-seemann/qtls-go1-18 v0.1.2 h1:JH6jmzbduz0ITVQ7ShevK10Av5+jBEKAHMntXmIV7kM= +github.com/marten-seemann/qtls-go1-18 v0.1.2/go.mod h1:mJttiymBAByA49mhlNZZGrH5u1uXYZJ+RW28Py7f4m4= +github.com/marten-seemann/qtls-go1-19 v0.1.0-beta.1 h1:7m/WlWcSROrcK5NxuXaxYD32BZqe/LEEnBrWcH/cOqQ= +github.com/marten-seemann/qtls-go1-19 v0.1.0-beta.1/go.mod h1:5HTDWtVudo/WFsHKRNuOhWlbdjrfs5JHrYb0wIJqGpI= github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd h1:br0buuQ854V8u83wA0rVZ8ttrq5CpaPZdvrK0LP2lOk= github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd/go.mod h1:QuCEs1Nt24+FYQEqAAncTDPJIuGs+LxK1MCiFL25pMU= github.com/mat/besticon v0.0.0-20210314201728-1579f269edb7 h1:nxEXqXZcqWABJ8BudZJwrkdfKqCsSsGeo5IPQCbDKTw= @@ -1026,11 +1501,13 @@ github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaO github.com/mattn/go-colorable v0.1.0/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.7/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= github.com/mattn/go-ieproxy v0.0.0-20190702010315-6dee0af9227d/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= +github.com/mattn/go-ieproxy v0.0.1/go.mod h1:pYabZ6IHcRpFh7vIaLfK7rdcWgFEb3SFJ6/gNWuh88E= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.5-0.20180830101745-3fb116b82035/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= @@ -1048,6 +1525,9 @@ github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzp github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= +github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= +github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= github.com/mattn/go-sqlite3 v1.7.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/go-sqlite3 v1.10.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= @@ -1056,25 +1536,28 @@ github.com/mattn/go-sqlite3 v1.13.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsO github.com/mattn/go-sqlite3 v1.14.6/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/mattn/go-sqlite3 v1.14.8/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/mattn/go-sqlite3 v1.14.9/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= -github.com/mattn/go-sqlite3 v1.14.11/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= +github.com/mattn/go-sqlite3 v1.14.10/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/mattn/go-sqlite3 v2.0.2+incompatible h1:qzw9c2GNT8UFrgWNDhCTqRqYUSmu/Dav/9Z58LGpk7U= github.com/mattn/go-sqlite3 v2.0.2+incompatible/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104/go.mod h1:XPvLUNfbS4fJH25nqRHfWLMa1ONC8Amw+mIA639KxkE= -github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= +github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/microcosm-cc/bluemonday v1.0.1/go.mod h1:hsXNsILzKxV+sX77C5b8FSuKF00vh2OMYv+xgHpAMF4= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= -github.com/miekg/dns v1.1.43 h1:JKfpVSCB84vrAmHzyrsxB5NAr5kLoMXZArPSw7Qlgyg= github.com/miekg/dns v1.1.43/go.mod h1:+evo5L0630/F6ca/Z9+GAqzhjGyn8/c+TBaOyfEl0V4= +github.com/miekg/dns v1.1.50 h1:DQUfb9uc6smULcREF09Uc+/Gd46YWqJd5DbpPE9xkcA= +github.com/miekg/dns v1.1.50/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME= +github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= github.com/mikioh/tcp v0.0.0-20190314235350-803a9b46060c h1:bzE/A84HN25pxAuk9Eej1Kz9OUelF97nAc82bDquQI8= github.com/mikioh/tcp v0.0.0-20190314235350-803a9b46060c/go.mod h1:0SQS9kMwD2VsyFEB++InYyBJroV/FRmBgcydeSUcJms= github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b h1:z78hV3sbSMAUoyUMM0I83AUIT6Hu17AWfgjzIbtrYFc= github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b/go.mod h1:lxPUiZwKoFL8DUUmalo2yJJUCxbPKtm8OKfqr2/FTNU= github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc h1:PTfri+PuQmWDqERdnNMiD9ZejrlswWrCpBEZgWOiTrc= github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc/go.mod h1:cGKTAVKx4SxOuR/czcZ/E2RSJ3sfHs8FpHhQ5CWMf9s= -github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 h1:lYpkrQH5ajf0OXOcUbGjvZxxijuBwbbmlSxLiuofa+g= github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1/go.mod h1:pD8RvIylQ358TN4wwqatJ8rNavkEINozVn9DtGI3dfQ= github.com/minio/sha256-simd v0.0.0-20190131020904-2d45a736cd16/go.mod h1:2FMWW+8GMoPweT6+pI63m9YE3Lmw4J71hV56Chs1E/U= github.com/minio/sha256-simd v0.0.0-20190328051042-05b4dd3047e5/go.mod h1:2FMWW+8GMoPweT6+pI63m9YE3Lmw4J71hV56Chs1E/U= @@ -1083,6 +1566,7 @@ github.com/minio/sha256-simd v0.1.1-0.20190913151208-6de447530771/go.mod h1:B5e1 github.com/minio/sha256-simd v0.1.1/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM= github.com/minio/sha256-simd v1.0.0 h1:v1ta+49hkWZyvaKwrQB8elexRqm6Y0aMLjCNsrYxo6g= github.com/minio/sha256-simd v1.0.0/go.mod h1:OuYzVNI5vcoYIAmbIvHPl3N3jUzVedXbKy5RFepssQM= +github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= @@ -1090,25 +1574,44 @@ github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eI github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A= github.com/mitchellh/pointerstructure v1.2.0/go.mod h1:BRAsLI5zgXmw97Lf6s25bs8ohIXc3tViBH44KcwB2g4= +github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= +github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= +github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= +github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= +github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU= +github.com/moby/sys/signal v0.6.0/go.mod h1:GQ6ObYZfqacOwTtlXvcmh9A26dVRul/hbOZn88Kg8Tg= +github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ= +github.com/moby/sys/symlink v0.2.0/go.mod h1:7uZVF2dqJjG/NsClqul95CqKOBRQyYSNnJ6BMgR/gFs= +github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo= +github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A= +github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c h1:nXxl5PrvVm2L/wCy8dQu6DMTwH4oIuGN8GJDAlqDdVE= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= +github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= +github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= +github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/mr-tron/base58 v1.1.0/go.mod h1:xcD2VGqlgYjBdcBLw+TuYLr8afG+Hj8g2eTVqeSzSU8= github.com/mr-tron/base58 v1.1.2/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc= github.com/mr-tron/base58 v1.1.3/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc= github.com/mr-tron/base58 v1.2.0 h1:T/HDJBh4ZCPbU39/+c3rRvE0uKBQlU27+QI8LJ4t64o= github.com/mr-tron/base58 v1.2.0/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc= +github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg= github.com/mschoch/smat v0.2.0 h1:8imxQsjDm8yFEAVBe7azKmKSgzSkZXDuKkSq9374khM= github.com/mschoch/smat v0.2.0/go.mod h1:kc9mz7DoBKqDyiRL7VZN8KvXQMWeTaVnttLRXOlotKw= -github.com/multiformats/go-base32 v0.0.3 h1:tw5+NhuwaOjJCC5Pp82QuXbrmLzWg7uxlMFp8Nq/kkI= github.com/multiformats/go-base32 v0.0.3/go.mod h1:pLiuGC8y0QR3Ue4Zug5UzK9LjgbkL8NSQj0zQ5Nz/AA= +github.com/multiformats/go-base32 v0.0.4 h1:+qMh4a2f37b4xTNs6mqitDinryCI+tfO2dRVMN9mjSE= +github.com/multiformats/go-base32 v0.0.4/go.mod h1:jNLFzjPZtp3aIARHbJRZIaPuspdH0J6q39uUM5pnABM= github.com/multiformats/go-base36 v0.1.0 h1:JR6TyF7JjGd3m6FbLU2cOxhC0Li8z8dLNGQ89tUg4F4= github.com/multiformats/go-base36 v0.1.0/go.mod h1:kFGE83c6s80PklsHO9sRn2NCoffoRdUUOENyW/Vv6sM= github.com/multiformats/go-multiaddr v0.0.4/go.mod h1:xKVEak1K9cS1VdmPZW3LSIb6lgmoS58qz/pzqmAxV44= @@ -1122,37 +1625,48 @@ github.com/multiformats/go-multiaddr v0.3.2/go.mod h1:lCKNGP1EQ1eZ35Za2wlqnabm9x github.com/multiformats/go-multiaddr v0.3.3/go.mod h1:lCKNGP1EQ1eZ35Za2wlqnabm9xQkib3fyB+nZXHLag0= github.com/multiformats/go-multiaddr v0.4.0/go.mod h1:YcpyLH8ZPudLxQlemYBPhSm0/oCXAT8Z4mzFpyoPyRc= github.com/multiformats/go-multiaddr v0.4.1/go.mod h1:3afI9HfVW8csiF8UZqtpYRiDyew8pRX7qLIGHu9FLuM= -github.com/multiformats/go-multiaddr v0.5.0 h1:i/JuOoVg4szYQ4YEzDGtb2h0o8M7CG/Yq6cGlcjWZpM= github.com/multiformats/go-multiaddr v0.5.0/go.mod h1:3KAxNkUqLTJ20AAwN4XVX4kZar+bR+gh4zgbfr3SNug= +github.com/multiformats/go-multiaddr v0.6.0 h1:qMnoOPj2s8xxPU5kZ57Cqdr0hHhARz7mFsPMIiYNqzg= +github.com/multiformats/go-multiaddr v0.6.0/go.mod h1:F4IpaKZuPP360tOMn2Tpyu0At8w23aRyVqeK0DbFeGM= github.com/multiformats/go-multiaddr-dns v0.3.1 h1:QgQgR+LQVt3NPTjbrLLpsaT2ufAA2y0Mkk+QRVJbW3A= github.com/multiformats/go-multiaddr-dns v0.3.1/go.mod h1:G/245BRQ6FJGmryJCrOuTdB37AMA5AMOVuO6NY3JwTk= github.com/multiformats/go-multiaddr-fmt v0.1.0 h1:WLEFClPycPkp4fnIzoFoV9FVd49/eQsuaL3/CWe167E= github.com/multiformats/go-multiaddr-fmt v0.1.0/go.mod h1:hGtDIW4PU4BqJ50gW2quDuPVjyWNZxToGUh/HwTZYJo= github.com/multiformats/go-multiaddr-net v0.2.0/go.mod h1:gGdH3UXny6U3cKKYCvpXI5rnK7YaOIEOPVDI9tsJbEA= github.com/multiformats/go-multibase v0.0.1/go.mod h1:bja2MqRZ3ggyXtZSEDKpl0uO/gviWFaSteVbWT51qgs= -github.com/multiformats/go-multibase v0.0.3 h1:l/B6bJDQjvQ5G52jw4QGSYeOTZoAwIO77RblWplfIqk= github.com/multiformats/go-multibase v0.0.3/go.mod h1:5+1R4eQrT3PkYZ24C3W2Ue2tPwIdYQD509ZjSb5y9Oc= +github.com/multiformats/go-multibase v0.1.1 h1:3ASCDsuLX8+j4kx58qnJ4YFq/JWTJpCyDW27ztsVTOI= +github.com/multiformats/go-multibase v0.1.1/go.mod h1:ZEjHE+IsUrgp5mhlEAYjMtZwK1k4haNkcaPg9aoe1a8= +github.com/multiformats/go-multicodec v0.4.1/go.mod h1:1Hj/eHRaVWSXiSNNfcEPcwZleTmdNP81xlxDLnWU9GQ= +github.com/multiformats/go-multicodec v0.5.0 h1:EgU6cBe/D7WRwQb1KmnBvU7lrcFGMggZVTPtOW9dDHs= +github.com/multiformats/go-multicodec v0.5.0/go.mod h1:DiY2HFaEp5EhEXb/iYzVAunmyX/aSFMxq2KMKfWEues= github.com/multiformats/go-multihash v0.0.1/go.mod h1:w/5tugSrLEbWqlcgJabL3oHFKTwfvkofsjW2Qa1ct4U= github.com/multiformats/go-multihash v0.0.5/go.mod h1:lt/HCbqlQwlPBz7lv0sQCdtfcMtlJvakRUn/0Ual8po= github.com/multiformats/go-multihash v0.0.8/go.mod h1:YSLudS+Pi8NHE7o6tb3D8vrpKa63epEDmG8nTduyAew= github.com/multiformats/go-multihash v0.0.10/go.mod h1:YSLudS+Pi8NHE7o6tb3D8vrpKa63epEDmG8nTduyAew= github.com/multiformats/go-multihash v0.0.13/go.mod h1:VdAWLKTwram9oKAatUcLxBNUjdtcVwxObEQBtRfuyjc= github.com/multiformats/go-multihash v0.0.14/go.mod h1:VdAWLKTwram9oKAatUcLxBNUjdtcVwxObEQBtRfuyjc= -github.com/multiformats/go-multihash v0.0.15 h1:hWOPdrNqDjwHDx82vsYGSDZNyktOJJ2dzZJzFkOV1jM= github.com/multiformats/go-multihash v0.0.15/go.mod h1:D6aZrWNLFTV/ynMpKsNtB40mJzmCl4jb1alC0OvHiHg= +github.com/multiformats/go-multihash v0.1.0/go.mod h1:RJlXsxt6vHGaia+S8We0ErjhojtKzPP2AH4+kYM7k84= +github.com/multiformats/go-multihash v0.2.0 h1:oytJb9ZA1OUW0r0f9ea18GiaPOo4SXyc7p2movyUuo4= +github.com/multiformats/go-multihash v0.2.0/go.mod h1:WxoMcYG85AZVQUyRyo9s4wULvW5qrI9vb2Lt6evduFc= github.com/multiformats/go-multistream v0.1.1/go.mod h1:KmHZ40hzVxiaiwlj3MEbYgK9JFk2/9UktWZAF54Du38= github.com/multiformats/go-multistream v0.2.1/go.mod h1:5GZPQZbkWOLOn3J2y4Y99vVW7vOfsAflxARk3x14o6k= -github.com/multiformats/go-multistream v0.2.2 h1:TCYu1BHTDr1F/Qm75qwYISQdzGcRdC21nFgQW7l7GBo= -github.com/multiformats/go-multistream v0.2.2/go.mod h1:UIcnm7Zuo8HKG+HkWgfQsGL+/MIEhyTqbODbIUwSXKs= +github.com/multiformats/go-multistream v0.3.3 h1:d5PZpjwRgVlbwfdTDjife7XszfZd8KYWfROYFlGcR8o= +github.com/multiformats/go-multistream v0.3.3/go.mod h1:ODRoqamLUsETKS9BNcII4gcRsJBU5VAwRIv7O39cEXg= github.com/multiformats/go-varint v0.0.1/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= github.com/multiformats/go-varint v0.0.2/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= github.com/multiformats/go-varint v0.0.5/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= github.com/multiformats/go-varint v0.0.6 h1:gk85QWKxh3TazbLxED/NlDVv8+q+ReFJk7Y2W/KhfNY= github.com/multiformats/go-varint v0.0.6/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= +github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mutecomm/go-sqlcipher v0.0.0-20190227152316-55dbde17881f h1:hd3r+uv9DNLScbOrnlj82rBldHQf3XWmCeXAWbw8euQ= github.com/mutecomm/go-sqlcipher v0.0.0-20190227152316-55dbde17881f/go.mod h1:MyUWrZlB1aI5bs7j9/pJ8ckLLZ4QcCYcNiSbsAW32D4= +github.com/mutecomm/go-sqlcipher/v4 v4.4.0/go.mod h1:PyN04SaWalavxRGH9E8ZftG6Ju7rsPrGmQRjrEaVpiY= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/nakagami/firebirdsql v0.0.0-20190310045651-3c02a58cfed8/go.mod h1:86wM1zFnC6/uDBfZGNwB65O+pR2OFi5q/YQaEUid1qA= github.com/naoina/go-stringutil v0.1.0/go.mod h1:XJ2SJL9jCtBh+P9q5btrd/Ylo8XwT/h1USek5+NqSA0= github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416/go.mod h1:NBIhNtsFMo3G2szEBne+bO4gS192HuIYRqfvOWb4i1E= @@ -1163,8 +1677,11 @@ github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzE github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= +github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86/go.mod h1:kHJEU3ofeGjhHklVoIGuVj85JJwZ6kWPaJwCIxgnFmo= github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab/go.mod h1:Qr6/a/Q4r9LP1IltGz7tA7iOK1WonHEYhu1HRBA7ZiM= +github.com/neo4j/neo4j-go-driver v1.8.1-0.20200803113522-b626aa943eba/go.mod h1:ncO5VaFWh0Nrt+4KT4mOZboaczBZcLuHrG+/sUeP8gI= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= @@ -1178,10 +1695,17 @@ github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/oliamb/cutter v0.2.2 h1:Lfwkya0HHNU1YLnGv2hTkzHfasrSMkgv4Dn+5rmlk3k= github.com/oliamb/cutter v0.2.2/go.mod h1:4BenG2/4GuRBDbVm/OPahDVqbrOemzpPiG5mi1iryBU= +github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.13.0/go.mod h1:+REjRxOmWfHCjfv9TTWB1jD1Frx4XydAD3zm1lskyM0= github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= github.com/onsi/ginkgo v1.14.2/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= github.com/onsi/ginkgo v1.16.1/go.mod h1:CObGmKUOKaSC0RjmoAK7tKyn4Azo5P2IWuoMnvwxz1E= @@ -1189,23 +1713,54 @@ github.com/onsi/ginkgo v1.16.2/go.mod h1:CObGmKUOKaSC0RjmoAK7tKyn4Azo5P2IWuoMnvw github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= +github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= +github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= github.com/onsi/gomega v1.11.0/go.mod h1:azGKhqFUon9Vuj0YmTfLSmx0FUwqXYSTl5re8lQLTUg= github.com/onsi/gomega v1.13.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je41yGY= -github.com/onsi/gomega v1.17.0 h1:9Luw4uT5HTjHTN8+aNcSThgH1vdXnmdJ8xIfZ4wyTRE= +github.com/onsi/gomega v1.15.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0= github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= +github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw= +github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= -github.com/opencontainers/go-digest v1.0.0-rc1 h1:WzifXhOVOEOuFYOJAW6aQqW0TooG2iki3E3Ii+WN7gQ= +github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= +github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/image-spec v1.0.1 h1:JMemWkRwHx4Zj+fVxWoMCFm/8sYGGrUVojFA6h/TRcI= +github.com/opencontainers/go-digest v1.0.0-rc1.0.20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= +github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= +github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= +github.com/opencontainers/image-spec v1.0.0/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/runtime-spec v1.0.2 h1:UfAcuLBJB9Coz72x1hgl8O5RVzTdNiaglX6v2DM6FI0= +github.com/opencontainers/image-spec v1.0.2-0.20211117181255-693428a734f5/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM= +github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runc v1.0.0-rc8.0.20190926000215-3e425f80a8c9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runc v1.0.0-rc9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runc v1.0.0-rc93/go.mod h1:3NOsor4w32B2tC0Zbl8Knk4Wg84SM2ImC1fxBuqJ/H0= +github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04suvGRQFzWTD0= +github.com/opencontainers/runc v1.1.0/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= +github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.2-0.20190207185410-29686dbc5559/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 h1:3snG66yBm59tKhhSPQrQ/0bCrv1LQbKt40LnUPiUxdc= +github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs= +github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqiriPsEqVhc+svHE= +github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo= +github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8= +github.com/opencontainers/selinux v1.10.0/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI= github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= @@ -1226,15 +1781,22 @@ github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhM github.com/pborman/uuid v1.2.0 h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE= +github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc= +github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= +github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= github.com/peterh/liner v1.2.1 h1:O4BlKaq/LWu6VRWmol4ByWfzx6MfXc5Op5HETyIy5yg= github.com/peterh/liner v1.2.1/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= github.com/philhofer/fwd v1.1.1/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= +github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= +github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pierrec/lz4/v4 v4.1.8/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pion/datachannel v1.4.21/go.mod h1:oiNyP4gHx2DIwRzX/MFyH0Rz/Gz05OgBlayAI2hAWjg= github.com/pion/datachannel v1.5.2 h1:piB93s8LGmbECrpO84DnkIVWasRMk3IimbcXkTQLE6E= github.com/pion/datachannel v1.5.2/go.mod h1:FTGQWaHrdCwIJ1rw6xBIfZVkslikjShim5yr05XFuCQ= @@ -1321,28 +1883,37 @@ github.com/pion/webrtc/v3 v3.0.27/go.mod h1:QpLDmsU5a/a05n230gRtxZRvfHhFzn9ukGUL github.com/pion/webrtc/v3 v3.0.32/go.mod h1:wX3V5dQQUGCifhT1mYftC2kCrDQX6ZJ3B7Yad0R9JK0= github.com/pion/webrtc/v3 v3.1.24-0.20220208053747-94262c1b2b38 h1:+IEql+S+YAj3S5e7Ftl/u4xPcZGG0WwLFsyFj6NRTz4= github.com/pion/webrtc/v3 v3.1.24-0.20220208053747-94262c1b2b38/go.mod h1:L5S/oAhL0Fzt/rnftVQRrP80/j5jygY7XRZzWwFx6P4= +github.com/pkg/browser v0.0.0-20210706143420-7d21f8c997e2/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= +github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5/go.mod h1:eCbImbZ95eXtAUIbLAuAVnBnwf83mjf6QIVH8SHYwqQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= +github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= +github.com/prometheus/client_golang v0.0.0-20180209125602-c332b6f63c06/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.8.0/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= +github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.5.1/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= github.com/prometheus/client_golang v1.9.0/go.mod h1:FqZLKOZnGdFAhOK4nqGHa7D66IdsO+O441Eve7ptJDU= github.com/prometheus/client_golang v1.10.0/go.mod h1:WJM3cc3yu7XKBKa/I8WeZm+V3eltZnBwfENSU7mdogU= github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.11.1 h1:+4eQaD7vAZ6DsfsxB15hbE0odUjGI5ARs9yskGu1v4s= -github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.12.1 h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk= +github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= @@ -1350,9 +1921,11 @@ github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1: github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= @@ -1361,13 +1934,19 @@ github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB8 github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= github.com/prometheus/common v0.18.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.28.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/common v0.30.0 h1:JEkYlQnpzrzQFxi6gnukFPdQ+ac82oRhzMcIduJu/Ug= github.com/prometheus/common v0.30.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.35.0 h1:Eyr+Pw2VymWejHqCugNaQXkAi6KayVNxaHeu6khmFBE= +github.com/prometheus/common v0.35.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= +github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= +github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.0.11/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= @@ -1377,12 +1956,12 @@ github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/procfs v0.7.2/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU= github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/statsd_exporter v0.21.0/go.mod h1:rbT83sZq2V+p73lHhPZfMc3MLCHmSHelCh9hSGYNLTQ= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/prometheus/tsdb v0.10.0 h1:If5rVCMTp6W2SiRAQFlbpJNgVlgMEd+U2GZckwK38ic= github.com/prometheus/tsdb v0.10.0/go.mod h1:oi49uRhEe9dPUTlS3JRZOwJuVi6tmh10QSgwXEyGCt4= github.com/raulk/clock v1.1.0 h1:dpb29+UKMbLqiU/jqIJptgLR1nn23HLgMY0sTCDza5Y= github.com/raulk/clock v1.1.0/go.mod h1:3MpVxdZ/ODBQDxbN+kzshf5OSZwPjtMDx6BBXBmOeY0= +github.com/raulk/go-watchdog v1.2.0/go.mod h1:lzSbAl5sh4rtI8tYHU01BWIDzgzqaQLj6RcA1i4mlqI= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/remyoudompheng/bigfft v0.0.0-20190728182440-6a916e37a237/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 h1:OdAsTTz6OkFY5QxjkYwrChwuRruF69c169dPK26NUlk= @@ -1396,6 +1975,8 @@ github.com/rjeczalik/notify v0.9.2/go.mod h1:aErll2f0sUX9PXZnVNyeiObbmTlk5jnMoCa github.com/robertkrimen/godocdown v0.0.0-20130622164427-0bfa04905481/go.mod h1:C9WhFzY47SzYBIvzFqSvHIR6ROgDo4TtdTuRaOMjF/s= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= +github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.8.0 h1:FCbCCtXNOY3UtUuHUYaghJg4y7Fd14rXifAYUAtL9R8= @@ -1405,6 +1986,9 @@ github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/dnscache v0.0.0-20190621150935-06bb5526f76b/go.mod h1:qe5TWALJ8/a1Lqznoc5BDHpYX/8HU60Hm2AwRmqzxqA= github.com/rs/dnscache v0.0.0-20210201191234-295bba877686 h1:IJ6Df0uxPDtNoByV0KkzVKNseWvZFCNM/S9UoyOMCSI= github.com/rs/dnscache v0.0.0-20210201191234-295bba877686/go.mod h1:qe5TWALJ8/a1Lqznoc5BDHpYX/8HU60Hm2AwRmqzxqA= +github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= +github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= +github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/russolsen/ohyeah v0.0.0-20160324131710-f4938c005315 h1:H3hCXwP92pH/hSgNrCLtjxvsKJ50sq26nICbZuoR1tQ= github.com/russolsen/ohyeah v0.0.0-20160324131710-f4938c005315/go.mod h1:ZbKa3zlLnhGF1dAeJtMSoNtM5LgFQnqzq8eYH3uYYkU= github.com/russolsen/same v0.0.0-20160222130632-f089df61f51d h1:A926QrjwToaPS7giC4UOBjHhdukq9l1Y15r3qkXYwCY= @@ -1414,21 +1998,29 @@ github.com/russolsen/transit v0.0.0-20180705123435-0794b4c4505a/go.mod h1:TPq+fc github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryszard/goskiplist v0.0.0-20150312221310-2dfbae5fcf46 h1:GHRpF1pTW19a8tTFrMLUcfWwyC0pnifVo2ClaLq+hP8= github.com/ryszard/goskiplist v0.0.0-20150312221310-2dfbae5fcf46/go.mod h1:uAQ5PCi+MFsC7HjREoAz1BU+Mq60+05gifQSsHSDG/8= +github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= +github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= +github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= +github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo= +github.com/seccomp/libseccomp-golang v0.9.2-0.20210429002308-3879420cc921/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= github.com/segmentio/kafka-go v0.1.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= github.com/segmentio/kafka-go v0.2.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= github.com/shirou/gopsutil v3.21.5+incompatible h1:OloQyEerMi7JUrXiNzy8wQ5XN+baemxSl12QgIzt0jc= github.com/shirou/gopsutil v3.21.5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= -github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24 h1:pntxY8Ary0t43dCZ5dqY4YTJCObLY1kIXl0uzMv+7DE= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= +github.com/shopspring/decimal v0.0.0-20200227202807-02e2044944cc/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= +github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ= +github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/component v0.0.0-20170202220835-f88ec8f54cc4/go.mod h1:XhFIlyj5a1fBNx5aJTbKoIq0mNaPvOagO+HjB3EtxrY= github.com/shurcooL/events v0.0.0-20181021180414-410e4ca65f48/go.mod h1:5u70Mqkb5O5cxEA8nxTsgrgLehJeAw6Oc4Ab1c/P1HM= github.com/shurcooL/github_flavored_markdown v0.0.0-20181002035957-2122de532470/go.mod h1:2dOwnU2uBioM+SGy2aZoq1f/Sd1l9OkAeAUvjSyvgU0= @@ -1452,19 +2044,26 @@ github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95/go. github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537/go.mod h1:QJTqeLYEDaXHZDBsXlPCDqdhQuJkuw4NOtaxYe3xii4= github.com/shurcooL/webdavfs v0.0.0-20170829043945-18c3829fa133/go.mod h1:hKmq5kWdCj2z2KEozexVbfEZIWiTjhE0+UjmZgPqehw= +github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= +github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE= +github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/assertions v0.0.0-20190215210624-980c5ac6f3ac/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s= github.com/smartystreets/goconvey v0.0.0-20190306220146-200a235640ff/go.mod h1:KSQcGKpxUMHk3nbYzs/tIBAM2iDooCn0BmttHOJEbLs= +github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smola/gocompat v0.2.0/go.mod h1:1B0MlxbmoZNo3h8guHp8HztB3BSYR5itql9qtVc0ypY= +github.com/snowflakedb/gosnowflake v1.6.3/go.mod h1:6hLajn6yxuJ4xUHZegMekpq9rnQbGJ7TMwXjgTmA6lg= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d/go.mod h1:UdhH50NIW0fCiwBSr0co2m7BnFLdv4fQTgdqdJTHFeE= github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e/go.mod h1:HuIsMU8RRBOtsCgI77wP899iHVBQpCmg4ErYMZB+2IA= @@ -1472,28 +2071,42 @@ github.com/spacemonkeygo/openssl v0.0.0-20181017203307-c2dcc5cca94a/go.mod h1:7A github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 h1:RC6RW7j+1+HkWaX/Yh71Ee5ZHaHYt7ZP4sQgUrm6cDU= github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572/go.mod h1:w0SWMsp6j9O/dk4/ZpIhL+3CkG8ofA2vuv7k+ltqUMc= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= +github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= +github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= +github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= +github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= +github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= +github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= +github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= +github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= github.com/src-d/envconfig v1.0.0/go.mod h1:Q9YQZ7BKITldTBnoxsE5gOeB5y66RyPXeue/R4aaNBc= github.com/status-im/doubleratchet v3.0.0+incompatible h1:aJ1ejcSERpSzmWZBgtfYtiU2nF0Q8ZkGyuEPYETXkCY= github.com/status-im/doubleratchet v3.0.0+incompatible/go.mod h1:1sqR0+yhiM/bd+wrdX79AOt2csZuJOni0nUDzKNuqOU= -github.com/status-im/go-discover v0.0.0-20220220162124-91b97a3e0efe h1:Wz82CcseYsvh71f5tbomwjOc3lMohohqjyvfOhplLsI= -github.com/status-im/go-discover v0.0.0-20220220162124-91b97a3e0efe/go.mod h1:sfq3nyUDYY7Z4SnmDZ/KxTNj/7vu+Eyp4bsm1Hfj1QQ= +github.com/status-im/go-discover v0.0.0-20220406135310-85a2ce36f63e h1:fDm8hqKGFy8LMNV8zedT3W+QYVPVDfb0F9Fr7fVf9rQ= +github.com/status-im/go-discover v0.0.0-20220406135310-85a2ce36f63e/go.mod h1:u1s0ACIlweIjmJrgXyljRPSOflZLaS6ezb044+92W3c= github.com/status-im/go-ethereum v1.10.4-status.4 h1:Cs0MoHEhF0LEwii2R8U8jMSEW/gycbHvSJt//KSdP8c= github.com/status-im/go-ethereum v1.10.4-status.4/go.mod h1:GvIhpdCOgMHI6i5xVPEZOrv/qSMeOFHbZh77AoyZUoE= -github.com/status-im/go-multiaddr-ethv4 v1.2.1 h1:09v9n6426NAojNOvdgegqrAotgffWW/UPDwrpJ85DNE= -github.com/status-im/go-multiaddr-ethv4 v1.2.1/go.mod h1:SlBebvQcSUM5+/R/YfpfMuu5WyraW47XFmIqLYBmlKU= -github.com/status-im/go-waku v0.0.0-20220403002242-f1a40fad73c3 h1:5hYhqV+K6iFcdoJ6fwexfqYd9147rSpMEC2Urs/0yQU= -github.com/status-im/go-waku v0.0.0-20220403002242-f1a40fad73c3/go.mod h1:Te9z6pA/5yJWyOsBd5a32oeP57nJyBpl4/s8A6YclNU= -github.com/status-im/go-waku-rendezvous v0.0.0-20211018070416-a93f3b70c432 h1:cbNFU38iimo9fY4B7CdF/fvIF6tNPJIZjBbpfmW2EY4= -github.com/status-im/go-waku-rendezvous v0.0.0-20211018070416-a93f3b70c432/go.mod h1:A8t3i0CUGtXCA0aiLsP7iyikmk/KaD/2XVvNJqGCU20= +github.com/status-im/go-multiaddr-ethv4 v1.2.3 h1:EdMt0rCVcue9zQ3TZoUVrKel0HG+RfbuqY94PXd3AWk= +github.com/status-im/go-multiaddr-ethv4 v1.2.3/go.mod h1:xgjMcsI3pNezwNVlUnUmaDLVmtT871/OOqnEUublHKQ= +github.com/status-im/go-rln v0.0.9 h1:qDmFJoFS/1PGNDB0pEjlRDRNZUpIFBAde2f3fIixCbA= +github.com/status-im/go-rln v0.0.9/go.mod h1:t8Bf4nNAuQh9VlEiz/rgFVtEz7sjEfcd62MIuEnZn8U= +github.com/status-im/go-waku v0.1.1-0.20220819160153-b0761ad70648 h1:WxLTpw+waqh21ykspOQAK688MbfpRrWO6wbJeljstgg= +github.com/status-im/go-waku v0.1.1-0.20220819160153-b0761ad70648/go.mod h1:Z4K27xrsvQvOI23hX92wDJDPtaEHeiTLn7cSNOHzq44= +github.com/status-im/go-waku-rendezvous v0.0.0-20220817210730-9b9b02b1e880 h1:Ggyf88sYbHV3q/qVNMNsq+JMiar1WRkiDTr+VdTPyVk= +github.com/status-im/go-waku-rendezvous v0.0.0-20220817210730-9b9b02b1e880/go.mod h1:lYUCd41Gzh6bw8RYlbADWe+LQCvhxnq2e19QWxdDM0k= github.com/status-im/go-watchdog v1.2.0-ios-nolibproc h1:BJwZEF7OVKaXc2zErBUAolFSGzwrTBbWnN8e/6MER5E= github.com/status-im/go-watchdog v1.2.0-ios-nolibproc/go.mod h1:lzSbAl5sh4rtI8tYHU01BWIDzgzqaQLj6RcA1i4mlqI= github.com/status-im/gomoji v1.1.3-0.20220213022530-e5ac4a8732d4 h1:CtobZoiNdHpx+xurFxnuJ1xsGm3oKMfcZkB3vmomJmA= @@ -1505,8 +2118,10 @@ github.com/status-im/markdown v0.0.0-20220622180305-7ee4aa8bbc3f h1:uLIn523HVfEA github.com/status-im/markdown v0.0.0-20220622180305-7ee4aa8bbc3f/go.mod h1:5rjPyv3KffPNVbFjnsVy0NGj9+JeW40WvXLdxH1VKuE= github.com/status-im/migrate/v4 v4.6.2-status.2 h1:SdC+sMDl/aI7vUlwD2qj2p7KsK4T60IS9z4/rYCCbI8= github.com/status-im/migrate/v4 v4.6.2-status.2/go.mod h1:c/kc90n47GZu/58nnz1OMLTf7uE4Da4gZP5qmU+A/v8= -github.com/status-im/rendezvous v1.3.5-0.20220406135049-e84f589e197a h1:ygmvqX9sTlX0Nu3niDcEveTadTGh1/mhTcfRqARmGrY= -github.com/status-im/rendezvous v1.3.5-0.20220406135049-e84f589e197a/go.mod h1:r5C9HIX85lziDT70hnSqq7MTWd2alKkCVxTR6pbCOv0= +github.com/status-im/noise v1.0.1-handshakeMessages h1:mj1btE58Qk2pS0qz+BHE22HYIOhZoEFNTnRpQeMfHYk= +github.com/status-im/noise v1.0.1-handshakeMessages/go.mod h1:xbMo+0i6+IGbYdJhF31t2eR1BIU0CYc12+BNAKwUTag= +github.com/status-im/rendezvous v1.3.5 h1:AoiHx+teqrE8UB9ao9BnIwy7XfB7U6zkcdve8EZzDjI= +github.com/status-im/rendezvous v1.3.5/go.mod h1:yH/ixfGmO92OT8YZui4T+yIrXAHnF/NzhkEeJ4SbMgM= github.com/status-im/resize v0.0.0-20201215164250-7c6d9f0d3088 h1:ClCAP2FPCvl8hGMhbUx/tq/sOu2wibztAa5jAvQEe4Q= github.com/status-im/resize v0.0.0-20201215164250-7c6d9f0d3088/go.mod h1:+92j1tN27DypDeBFxkg0uzkqfh1bNHTZe3Bv2PjvxpM= github.com/status-im/status-go/extkeys v1.1.2 h1:FSjARgDathJ3rIapJt851LsIXP9Oyuu2M2jPJKuzloU= @@ -1515,12 +2130,18 @@ github.com/status-im/tcp-shaker v0.0.0-20191114194237-215893130501 h1:oa0KU5jJRN github.com/status-im/tcp-shaker v0.0.0-20191114194237-215893130501/go.mod h1:RYo/itke1oU5k/6sj9DNM3QAwtE5rZSgg5JnkOv83hk= github.com/status-im/zxcvbn-go v0.0.0-20220311183720-5e8676676857 h1:sPkzT7Z7uLmejOsBRlZ0kwDWpqjpHJsp834o5nbhqho= github.com/status-im/zxcvbn-go v0.0.0-20220311183720-5e8676676857/go.mod h1:lq9I5ROto5tcua65GmCE6SIW7VE0ucdEBs1fn4z7uWU= +github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8= github.com/stephens2424/writerset v1.0.2/go.mod h1:aS2JhsMn6eA7e82oNmW4rfsgAOp9COBTTl8mzkwADnc= +github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= +github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.1.4/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.0/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= @@ -1531,15 +2152,25 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= +github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= +github.com/supranational/blst v0.3.8-0.20220526154634-513d2456b344/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= github.com/syncthing/syncthing v0.14.48-rc.4/go.mod h1:nw3siZwHPA6M8iSfjDCWQ402eqvEIasMQOE8nFOxy7M= +github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= +github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= +github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ= github.com/syndtr/goleveldb v1.0.1-0.20210305035536-64b5b1c73954/go.mod h1:u2MKkTVTVJWe5D1rCvame8WqhBd88EuIwODJZ1VHCPM= -github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= +github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a h1:1ur3QoCqvE5fl+nylMaIr9PVV1w343YRDtsy+Rwu7XI= +github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a/go.mod h1:RRCYJbIwD5jmqPI9XoAFR0OcDxqUctll6zUj/+B4S48= github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07/go.mod h1:kDXzergiv9cbyO7IOYJZWg1U88JhDg3PB6klq9Hg2pA= +github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ23RP/odRBOTVjwp2cDyi6I= github.com/tidwall/pretty v0.0.0-20180105212114-65a9db5fad51/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= github.com/tinylib/msgp v1.1.0/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= github.com/tinylib/msgp v1.1.1/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= @@ -1551,6 +2182,8 @@ github.com/tklauser/go-sysconf v0.3.6/go.mod h1:MkWzOF4RMCshBAMXuhXJs64Rte09mITn github.com/tklauser/numcpus v0.2.2 h1:oyhllyrScuYI6g+h/zUvNXNp1wy7x8qQy3t/piefldA= github.com/tklauser/numcpus v0.2.2/go.mod h1:x3qojaO3uyYt0i56EW/VUYs7uBvdl2fkfZFu0T9wgjM= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tsenart/tb v0.0.0-20181025101425-0d2499c8b6e9 h1:kjbwitOGH46vD01f2s3leBfrMnePQa3NSAIlW35MvY8= github.com/tsenart/tb v0.0.0-20181025101425-0d2499c8b6e9/go.mod h1:EcGP24b8DY+bWHnpfJDP7fM+o8Nmz4fYH0l2xTtNr3I= github.com/ttacon/chalk v0.0.0-20160626202418-22c06c80ed31/go.mod h1:onvgF043R+lC5RZ8IT9rBXDaEDnpnw/Cl+HFiw+v/7Q= @@ -1558,11 +2191,14 @@ github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod h1:hzIxponao9 github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/tyler-smith/go-bip39 v1.1.0 h1:5eUemwrMargf3BSLRRCalXT93Ns6pQJIjYQN2nyfOP8= github.com/tyler-smith/go-bip39 v1.1.0/go.mod h1:gUYDtqQw1JS3ZJ8UWVcGTGqqr6YIN3CWg+kkNaLt55U= +github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= +github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= +github.com/urfave/cli/v2 v2.10.2/go.mod h1:f8iq5LtQ/bLxafbdBSLPPNsgaW0l/2fYYEHhAyPlwvo= github.com/vacp2p/mvds v0.0.24-0.20201124060106-26d8e94130d8 h1:aSQuY64yglPb7I6lZRXt/xWD4ExM1DZo8Gpb7xCz6zk= github.com/vacp2p/mvds v0.0.24-0.20201124060106-26d8e94130d8/go.mod h1:uUmtiahU7efOVl/5w5yk9jOze5xYpDZDrSrT8TvHXjQ= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= @@ -1570,52 +2206,81 @@ github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPU github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= github.com/viant/assertly v0.4.8/go.mod h1:aGifi++jvCrUaklKEKT0BU95igDNaqkvz+49uaYMPRU= github.com/viant/toolbox v0.24.0/go.mod h1:OxMCG57V0PXuIP2HNQrtJf2CjqdmbrOx5EkMILuUhzM= +github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk= +github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= +github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= +github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= +github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc/go.mod h1:ZjcWmFBXmLKZu9Nxj3WKYEafiSqer2rnvPr0en9UNpI= +github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= +github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= +github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= github.com/wealdtech/go-ens/v3 v3.5.0 h1:Huc9GxBgiGweCOGTYomvsg07K2QggAqZpZ5SuiZdC8o= github.com/wealdtech/go-ens/v3 v3.5.0/go.mod h1:bVuYoWYEEeEu7Zy95rIMjPR34QFJarxt8p84ywSo0YM= github.com/wealdtech/go-multicodec v1.4.0 h1:iq5PgxwssxnXGGPTIK1srvt6U5bJwIp7k6kBrudIWxg= github.com/wealdtech/go-multicodec v1.4.0/go.mod h1:aedGMaTeYkIqi/KCPre1ho5rTb3hGpu/snBOS3GQLw4= github.com/wealdtech/go-string2eth v1.1.0 h1:USJQmysUrBYYmZs7d45pMb90hRSyEwizP7lZaOZLDAw= github.com/wealdtech/go-string2eth v1.1.0/go.mod h1:RUzsLjJtbZaJ/3UKn9kY19a/vCCUHtEWoUW3uiK6yGU= -github.com/whyrusleeping/go-logging v0.0.0-20170515211332-0457bb6b88fc/go.mod h1:bopw91TMyo8J3tvftk8xmU2kPmlrt4nScJQZU2hE5EM= github.com/whyrusleeping/mdns v0.0.0-20190826153040-b9b60ed33aa9/go.mod h1:j4l84WPFclQPj320J9gp0XwNKBb3U0zt5CBqjPp22G4= -github.com/whyrusleeping/multiaddr-filter v0.0.0-20160516205228-e903e4adabd7 h1:E9S12nwJwEOXe2d6gT6qxdvqMnNq+VnSsKPgm2ZZNds= github.com/whyrusleeping/multiaddr-filter v0.0.0-20160516205228-e903e4adabd7/go.mod h1:X2c0RVCI1eSUFI8eLcY3c0423ykwiUdxLJtkDvruhjI= github.com/whyrusleeping/timecache v0.0.0-20160911033111-cfcb2f1abfee h1:lYbXeSvJi5zk5GLKVuid9TVjS9a0OmLIDKTfoZBL6Ow= github.com/whyrusleeping/timecache v0.0.0-20160911033111-cfcb2f1abfee/go.mod h1:m2aV4LZI4Aez7dP5PMyVKEHhUyEJ/RjmPEDOpDvudHg= github.com/willf/bitset v1.1.3/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= github.com/willf/bitset v1.1.9/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= github.com/willf/bitset v1.1.10/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= +github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr3+MjI= github.com/willf/bloom v0.0.0-20170505221640-54e3b963ee16/go.mod h1:MmAltL9pDMNTrvUkxdg0k0q5I0suxmuwp3KbyrZLOZ8= github.com/willf/bloom v2.0.3+incompatible/go.mod h1:MmAltL9pDMNTrvUkxdg0k0q5I0suxmuwp3KbyrZLOZ8= github.com/x-cray/logrus-prefixed-formatter v0.5.2/go.mod h1:2duySbKsL6M18s5GU7VPsoEPHyzalCE06qoARUCeBBE= github.com/xanzy/go-gitlab v0.15.0/go.mod h1:8zdQa/ri1dfn8eS3Ir1SyfvOKlw7WBJ8DVThkpGiXrs= +github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= +github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= +github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c/go.mod h1:lB8K/P019DLNhemzwFU4jHLhdvlE6uDZjXFejJXr49I= github.com/xdg/stringprep v1.0.0/go.mod h1:Jhud4/sHMO4oL310DaZAKk9ZaJ08SJfe+sJh0HrGL1Y= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= +github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs= github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xlab/treeprint v0.0.0-20180616005107-d6fb6747feb6/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8= +github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs= +github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA= +github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg= +github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= github.com/zenthangplus/goccm v0.0.0-20211005163543-2f2e522aca15 h1:0UwX38TojH86Dl0n4OwPMNYy8hNs2NhtzwY4RlvANlA= github.com/zenthangplus/goccm v0.0.0-20211005163543-2f2e522aca15/go.mod h1:DUzu/BC4TkgUfXP8J1P6Md73Djt+0l0CHq001Pt4weA= gitlab.com/nyarla/go-crypt v0.0.0-20160106005555-d9a5dc2b789b/go.mod h1:T3BPAOm2cqquPa0MKWeNkmOM5RQsRhkrwMWonFMN7fE= +go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU= go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= +go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= +go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= +go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= +go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= +go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0= +go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE= +go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD00Szc= +go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4= go.mongodb.org/mongo-driver v1.1.0/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= +go.mongodb.org/mongo-driver v1.7.0/go.mod h1:Q4oFMbo1+MSNqICAdYMlC/zSTrwCogR4R8NzkI+yfU8= +go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk= go.opencensus.io v0.18.0/go.mod h1:vKdFvxhtzZ9onBp9VKHK8z/sRpBMnKAsufL7wlDrCOA= go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= @@ -1624,9 +2289,30 @@ go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= +go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0/go.mod h1:vEhqr0m4eTc+DWxfsXoXue2GBgV2uUwVznkGIHW/e5w= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= +go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= +go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVjb2PTs= +go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.3.0/go.mod h1:hO1KLR7jcKaDDKDkvI9dP/FIhpmna5lkqPUQdEjFAM8= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.3.0/go.mod h1:keUU7UfnwWTWpJ+FWnyqmogPa82nuU5VUANFq49hlMY= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.3.0/go.mod h1:QNX1aly8ehqqX1LEa6YniTU7VY9I6R3X/oPxhGdTceE= +go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= +go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= +go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= +go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs= +go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= +go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= +go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= +go.opentelemetry.io/otel/trace v1.3.0/go.mod h1:c/VDhno8888bvQYmbYLqe41/Ldmr/KKunbvWM4/fEjk= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= @@ -1636,28 +2322,32 @@ go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= -go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= +go.uber.org/goleak v1.1.12 h1:gZAh5/EyT/HQwlpkCy6wTpqfH9H8Lz8zbm3dZh+OyzA= +go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/multierr v1.7.0 h1:zaiO/rmgFjbmCXdSYJWQcdvOCsthmdaHfr3Gm2Kx4Ec= -go.uber.org/multierr v1.7.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= +go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= +go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= go.uber.org/zap v1.14.1/go.mod h1:Mb2vm2krFEG5DV0W9qcHBYFtp/Wku1cvYaqPsS/WYfc= -go.uber.org/zap v1.15.0/go.mod h1:Mb2vm2krFEG5DV0W9qcHBYFtp/Wku1cvYaqPsS/WYfc= go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ= +go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= go.uber.org/zap v1.19.1/go.mod h1:j3DNczoxDZroyBnOT1L/Q79cfUMGZxlv/9dzN7SM1rI= -go.uber.org/zap v1.21.0 h1:WefMeulhovoZ2sYXz7st6K0sLj7bBhpiFaud4r4zST8= go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= +go.uber.org/zap v1.22.0 h1:Zcye5DUgBloQ9BaT4qc9BnjOFog5TvBSAGkJ3Nf70c0= +go.uber.org/zap v1.22.0/go.mod h1:H4siCOZOrAolnUPJEkfaSjDqyP+BDS0DdDWzwcgt3+U= go4.org v0.0.0-20180809161055-417644f6feb5/go.mod h1:MkTOUMDaeVYJUOUsaDXIhWPZYa1yOyC1qaOBpL57BhE= golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d/go.mod h1:OWs+y06UdEOHN4y+MfF/py+xQ/tYqIWW03b70/CG9Rw= golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= @@ -1666,22 +2356,30 @@ golang.org/x/crypto v0.0.0-20190228161510-8dd112bcdc25/go.mod h1:djNgcEr1/C05ACk golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190618222545-ea8f1a30c443/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190909091759-094676da4a83/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190911031432-227b76d455e7/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191122220453-ac88ee75c92c/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200115085410-6d4e4cb37c7d/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200221231518-2aa609cf4a9d/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200602180216-279210d13fed/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= @@ -1690,10 +2388,14 @@ golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm golang.org/x/crypto v0.0.0-20210506145944-38f3c27a63bf/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210813211128-0a44fdfbc16e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220131195533-30dcbda58838 h1:71vQrMauZZhcTVK6KdYM+rklehEEwb3E+ZhaE5jrPrE= golang.org/x/crypto v0.0.0-20220131195533-30dcbda58838/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220331220935-ae2d96664a29/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e h1:T8NU3HyQ8ClP4SEE+KbFlg6n0NhuTsN4MyznaarGsZM= +golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1701,15 +2403,23 @@ golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191002040644-a1355ae1e2c3/go.mod h1:NOZ3BPKG0ec/BKJQgnvsSFpcKLM5xXVWnvZS97DWHgE= golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/exp v0.0.0-20220426173459-3bcf042a4bf5/go.mod h1:lgLbSvA5ygNOMpwM/9anMpWVlVJ7Z+cHWq/eFuinpGE= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20190910094157-69e4b8554b2a/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20200119044424-58c23975cae1/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20200430140353-33d19683fad8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20200618115811-c13761719519/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20201208152932-35266b937fa6/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20210216034530-4410531fe030/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/image v0.0.0-20210220032944-ac19c3e999fb h1:fqpd0EBDzlHRCjiphRR5Zo/RSWWQlWv34418dnEixWk= golang.org/x/image v0.0.0-20210220032944-ac19c3e999fb/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1723,6 +2433,8 @@ golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= @@ -1731,8 +2443,14 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo= +golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= +golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= +golang.org/x/mod v0.6.0-dev.0.20211013180041-c96bc1413d57/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 h1:6zppjxzCulZykYSLyVDYbneBfbaBIQPYMevg0bEwv2s= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180524181706-dfa909b99c79/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1751,7 +2469,6 @@ golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190225153610-fe579d43d832/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190227160552-c95aed5357e7/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190313220215-9f648a60d977/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190318221613-d196dffd7c2b/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= @@ -1759,12 +2476,17 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190424112056-4829fb13d2c6/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190619014844-b5b0513f8c1b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191112182307-2180aed22343/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191125084936-ffdde1057850/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -1784,13 +2506,15 @@ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81R golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200904194848-62affa334b73/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201201195509-5d6afe98e0b7/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210220033124-5f55cee0dc0d/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= @@ -1801,15 +2525,30 @@ golang.org/x/net v0.0.0-20210420210106-798c2154c571/go.mod h1:72T/g9IO56b78aLF+1 golang.org/x/net v0.0.0-20210423184538-5f58ad60dda6/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210427231257-85d9c07bbe3a/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= +golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211201190559-0a0e4e1bb54c/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk= +golang.org/x/net v0.0.0-20220111093109-d55c255bac03/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220630215102-69896b714898 h1:K7wO6V1IrczY9QOQ2WkVpw4JQSwCd52UsxVEirZUfiw= +golang.org/x/net v0.0.0-20220630215102-69896b714898/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/oauth2 v0.0.0-20180227000427-d7d64896b5ff/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181106182150-f42d05182288/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -1819,20 +2558,34 @@ golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4Iltr golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852/go.mod h1:JLpeXjPJfIyPr5TlbXLkXWLhP8nz10XfvxElABhCtcw= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220513210516-0976fa681c29 h1:w8s32wxx3sY+OjLlv9qltkLU5yvJzxjjgiHWLjdIcw4= +golang.org/x/sync v0.0.0-20220513210516-0976fa681c29/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180224232135-f6cff0780e54/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180810173357-98c5dad5d1a0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1852,17 +2605,27 @@ golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190316082340-a2f829d7f35f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190405154228-4b34438f7a67/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190426135247-a129542de9ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190712062909-fae7ac547cb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190812073006-9eafafc0a87e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1871,10 +2634,13 @@ golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191025090151-53bf42e6b339/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191105231009-c1f44814a5cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191112214154-59a1497f0cea/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191113165036-4c7a9d0fe056/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191126131656-8a8471f7e56d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1886,10 +2652,12 @@ golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200107162124-548cf772de50/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200120151820-655fe14d7479/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200217220822-9197077df867/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1902,21 +2670,38 @@ golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200724161237-0e2f3a69832c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200817155316-9781c653f443/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200826173525-f9321e4c35a6/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200828194041-157a740278f4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200922070232-aee5d888a860/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201117170446-d9b008d0a637/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201126233918-771906719818/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201202213521-69691e467435/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210301091718-77cc2087c03b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210304124612-50617c2ba197/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210309074719-68d13333faf2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1924,26 +2709,50 @@ golang.org/x/sys v0.0.0-20210317225723-c4fcb01b228e/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210420205809-ac73e9fd8988/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210426080607-c94f62235c83/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210511113859-b0526f3d8744/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210818153620-00dd8d7831e7/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210902050250-f475640dd07b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210903071746-97244b99971b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211023085530-d6a326fbbf70/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e h1:fLOSk5Q00efkSvAm+4xcoXD+RRmLmmulPn5I3Y9F2EM= +golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220111092808-5a964db01320/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220317061510-51cd9980dadf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a h1:dGzPydgVsqGcTRVwiLJ1jVbufYwmzD3LfVPLKsKg+0k= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1960,14 +2769,18 @@ golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac h1:7zkz7BUtwNFFqcowJ+RIgu2MaV/MapERkDIy+mwPyjs= golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 h1:M73Iuj3xbbb9Uk1DYhzydthsj6oOd6l9bpuFcNoUvTs= +golang.org/x/time v0.0.0-20220224211638-0e9765cccd65/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030000716-a0a13e073c7b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181130052023-1c3d964395ce/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -1978,23 +2791,35 @@ golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3 golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190329151228-23e29df326fe/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190416151739-9c9e1878f421/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190420181800-aa740d480789/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190425163242-31fd60d6bfdc/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190425222832-ad9eeb80039a/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190531172133-b3315ee88b7d/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190927191325-030b2cf1153e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191126055441-b0650ceb63d9/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -2013,33 +2838,55 @@ golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjs golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200423201157-2723c5de0d66/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200616133436-c1934b75d054/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= +golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= golang.org/x/tools v0.0.0-20200928182047-19e03678916f/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= golang.org/x/tools v0.0.0-20201022035929-9cf592e881e9/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.5 h1:ouewzE6p+/VEB31YYnTbEJdi8pFqKp4P4n85vwo3DHA= +golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.6-0.20210726203631-07bc1bf47fb2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.8-0.20211029000441-d6a9af8af023/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= +golang.org/x/tools v0.1.11 h1:loJ25fNOEhSXfHrpoGj91eCUThwdNX6u24rO1xnNteY= +golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= +golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f h1:uF6paiQQebLeSXkrTqHqz0MXhXXS1KgF41eUdBNvxK0= +golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= gonum.org/v1/gonum v0.0.0-20181121035319-3f7ecaa7e8ca/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= gonum.org/v1/gonum v0.6.0/go.mod h1:9mxDZsDKxgMAuccQkewq682L+0eCu4dCN2yonUJTCLU= +gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= +gonum.org/v1/gonum v0.9.3/go.mod h1:TZumC3NeyVQskjXqmyWt4S3bINhy7B4eYwW69EbyX+0= gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= +gonum.org/v1/plot v0.9.0/go.mod h1:3Pcqqmp6RHvJI72kgb8fThyUnav364FOsdDo2aGW5lY= +google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.0.0-20181030000543-1d582fd0359e/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.1.0/go.mod h1:UGEZY7KEX120AnNLIHFMKIo4obdJhkp2tPbaPlQx13Y= @@ -2061,6 +2908,22 @@ google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0M google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= +google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= +google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= +google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= +google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= +google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= +google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= +google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= +google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= +google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= +google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= +google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= +google.golang.org/api v0.62.0/go.mod h1:dKmwPCydfsad4qCH08MSdgWjfHOyfpd4VtDGgRFdavw= +google.golang.org/appengine v1.0.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -2069,6 +2932,8 @@ google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7 google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20181029155118-b69ba1387ce2/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -2079,6 +2944,7 @@ google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107/go.mod h1:VzzqZJRn google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= @@ -2090,6 +2956,7 @@ google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvx google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200108215221-bd8f9a0ef82f/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= @@ -2098,16 +2965,55 @@ google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 h1:PDIOdWxZ8eRizhKa1AAvY53xsvLB1cWorMjslvY3VA8= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= +google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= +google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= +google.golang.org/genproto v0.0.0-20210630183607-d20f26d13c79/go.mod h1:yiaVoXHpRzHGyxV3o4DktVWY4mSUErTKaeEOq6C3t3U= +google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= +google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211129164237-f09f9a12af12/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211203200212-54befc351ae9/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220111164026-67b88f271998/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106 h1:ErU+UA6wxadoU8nWrsy5MZUVBs75K17zUCsUCIfrXCE= +google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= +google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= @@ -2119,6 +3025,7 @@ google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ij google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= @@ -2131,9 +3038,22 @@ google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= +google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.40.0 h1:AGJ0Ih4mHjSeibYkFGh1dD9KJ/eOtZ93I6hoHhukQ5Q= +google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.45.0 h1:NEpgUqV3Z+ZjkqMsxMg11IaDrXY4RY6CQukSGK0uI1M= +google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -2146,29 +3066,39 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20141024133853-64131543e789/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= +gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo= gopkg.in/go-playground/assert.v1 v1.2.1 h1:xoYuJVE7KT85PYWrN730RguIQO0ePzVRfFMXadIrXTM= gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE= gopkg.in/go-playground/validator.v9 v9.31.0 h1:bmXmP2RSNtFES+bn4uYuHT7iJFJv7Vj+an+ZQdDaD1M= gopkg.in/go-playground/validator.v9 v9.31.0/go.mod h1:+c9/zcJMFNgbLvly1L1V+PpxWdVbfP1avr/N00E2vyQ= +gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/natefinch/lumberjack.v2 v2.0.0 h1:1Lc07Kr7qY4U2YPouBjpCLxpiyxIVoxqXgkXLknAOE8= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce h1:+JknDZhAj8YMt7GC73Ei8pv4MzjDUNPHgQWJdtMAaDU= gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c= gopkg.in/olebedev/go-duktape.v3 v3.0.0-20200619000410-60c24ae608a6/go.mod h1:uAJfkITjFhyEEuUfm7bsmCZRbW5WRq8s9EY8HZ6hCns= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/src-d/go-cli.v0 v0.0.0-20181105080154-d492247bbc0d/go.mod h1:z+K8VcOYVYcSwSjGebuDL6176A1XskgbtNl64NSg+n8= gopkg.in/src-d/go-log.v1 v1.0.1/go.mod h1:GN34hKP0g305ysm2/hctJ0Y8nWP3zxXXJ8GFabTyABE= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= @@ -2188,9 +3118,17 @@ gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= +gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gorm.io/driver/postgres v1.0.8/go.mod h1:4eOzrI1MUfm6ObJU/UcmbXyiHSs8jSwH95G5P5dxcAg= +gorm.io/gorm v1.20.12/go.mod h1:0HFTzE/SqkGTzK6TlDPPQbAYCluiVvhzoA1+aVyzenw= +gorm.io/gorm v1.21.4/go.mod h1:0HFTzE/SqkGTzK6TlDPPQbAYCluiVvhzoA1+aVyzenw= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= +gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= +gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= +gotest.tools/v3 v3.1.0/go.mod h1:fHy7eyTmJFO5bQbUsEGQ1v4m2J3Jz9eWL54TP2/ZuYQ= grpc.go4.org v0.0.0-20170609214715-11d0a25b4919/go.mod h1:77eQGdRu53HpSqPFJFmuJdjuHRquDANNeA4x7B8WQ9o= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -2201,9 +3139,56 @@ honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= +k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo= +k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ= +k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8= +k8s.io/api v0.22.5/go.mod h1:mEhXyLaSD1qTOf40rRiKXkc+2iCem09rWLlFwhCEiAs= +k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= +k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= +k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc= +k8s.io/apimachinery v0.22.1/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0= +k8s.io/apimachinery v0.22.5/go.mod h1:xziclGKwuuJ2RM5/rSFQSYAj0zdbci3DH8kj+WvyN0U= +k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU= +k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM= +k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q= +k8s.io/apiserver v0.22.5/go.mod h1:s2WbtgZAkTKt679sYtSudEQrTGWUSQAPe6MupLnlmaQ= +k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y= +k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k= +k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0= +k8s.io/client-go v0.22.5/go.mod h1:cs6yf/61q2T1SdQL5Rdcjg9J1ElXSwbjSrW2vFImM4Y= +k8s.io/code-generator v0.19.7/go.mod h1:lwEq3YnLYb/7uVXLorOJfxg+cUu2oihFhHZ0n9NIla0= +k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk= +k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI= +k8s.io/component-base v0.20.6/go.mod h1:6f1MPBAeI+mvuts3sIdtpjljHWBQ2cIy38oBIWMYnrM= +k8s.io/component-base v0.22.5/go.mod h1:VK3I+TjuF9eaa+Ln67dKxhGar5ynVbwnGrUiNF4MqCI= +k8s.io/cri-api v0.17.3/go.mod h1:X1sbHmuXhwaHs9xxYffLqJogVsnI+f6cPRcgPel7ywM= +k8s.io/cri-api v0.20.1/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= +k8s.io/cri-api v0.20.4/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= +k8s.io/cri-api v0.20.6/go.mod h1:ew44AjNXwyn1s0U4xCKGodU7J1HzBeZ1MpGrpa5r8Yc= +k8s.io/cri-api v0.23.1/go.mod h1:REJE3PSU0h/LOV1APBrupxrEJqnoxZC8KWzkBUHwrK4= +k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/gengo v0.0.0-20200428234225-8167cfdcfc14/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/gengo v0.0.0-20201113003025-83324d819ded/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= +k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= +k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= +k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= +k8s.io/klog/v2 v2.9.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= +k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o= +k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= +k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= +k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= +k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= +k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +lukechampine.com/blake3 v1.1.6/go.mod h1:tkKEOtDkNtklkXtLNEOGNq5tcV90tJiA1vAA12R78LA= +lukechampine.com/blake3 v1.1.7 h1:GgRMhmdsuK8+ii6UZFDL8Nb+VyMwadAgcJyfYHxG6n0= +lukechampine.com/blake3 v1.1.7/go.mod h1:tkKEOtDkNtklkXtLNEOGNq5tcV90tJiA1vAA12R78LA= lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= modernc.org/b v1.0.0/go.mod h1:uZWcZfRj1BpYzfN9JTerzlNUnnPsV9O2ZA8JsRcubNg= modernc.org/cc/v3 v3.31.5-0.20210308123301-7a3e9dab9009/go.mod h1:0R6jl1aZlIl2avnYfbfHBS1QB6/f+16mihBObaBC878= +modernc.org/cc/v3 v3.32.4/go.mod h1:0R6jl1aZlIl2avnYfbfHBS1QB6/f+16mihBObaBC878= modernc.org/cc/v3 v3.33.6/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= modernc.org/cc/v3 v3.33.9/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= modernc.org/cc/v3 v3.33.11/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= @@ -2219,6 +3204,7 @@ modernc.org/cc/v3 v3.35.16/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g modernc.org/cc/v3 v3.35.17/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= modernc.org/cc/v3 v3.35.18/go.mod h1:iPJg1pkwXqAV16SNgFBVYmggfMg6xhs+2oiO0vclK3g= modernc.org/ccgo/v3 v3.9.0/go.mod h1:nQbgkn8mwzPdp4mm6BT6+p85ugQ7FrGgIcYaE7nSrpY= +modernc.org/ccgo/v3 v3.9.2/go.mod h1:gnJpy6NIVqkETT+L5zPsQFj7L2kkhfPMzOghRNv/CFo= modernc.org/ccgo/v3 v3.9.5/go.mod h1:umuo2EP2oDSBnD3ckjaVUXMrmeAw8C8OSICVa0iFf60= modernc.org/ccgo/v3 v3.10.0/go.mod h1:c0yBmkRFi7uW4J7fwx/JiijwOjeAeR2NoSaRVFPmjMw= modernc.org/ccgo/v3 v3.11.0/go.mod h1:dGNposbDp9TOZ/1KBxghxtUp/bzErD0/0QW4hhSaBMI= @@ -2261,6 +3247,7 @@ modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= modernc.org/internal v1.0.0/go.mod h1:VUD/+JAkhCpvkUitlEOnhpVxCgsBI90oTzSCRcqQVSM= modernc.org/libc v1.7.13-0.20210308123627-12f642a52bb8/go.mod h1:U1eq8YWr/Kc1RWCMFUWEdkTg8OTcfLw2kY8EDwl039w= modernc.org/libc v1.8.0/go.mod h1:U1eq8YWr/Kc1RWCMFUWEdkTg8OTcfLw2kY8EDwl039w= +modernc.org/libc v1.9.5/go.mod h1:U1eq8YWr/Kc1RWCMFUWEdkTg8OTcfLw2kY8EDwl039w= modernc.org/libc v1.9.8/go.mod h1:U1eq8YWr/Kc1RWCMFUWEdkTg8OTcfLw2kY8EDwl039w= modernc.org/libc v1.9.11/go.mod h1:NyF3tsA5ArIjJ83XB0JlqhjTabTCHm9aX4XMPHyQn0Q= modernc.org/libc v1.11.0/go.mod h1:2lOfPmj7cz+g1MrPNmX65QCzVxgNq2C5o0jdLY2gAYg= @@ -2310,12 +3297,14 @@ modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= modernc.org/ql v1.0.0/go.mod h1:xGVyrLIatPcO2C1JvI/Co8c0sr6y91HKFNy4pt9JXEY= modernc.org/sortutil v1.1.0/go.mod h1:ZyL98OQHJgH9IEfN71VsamvJgrtRX9Dj2gX+vH86L1k= modernc.org/sqlite v1.10.0/go.mod h1:PGzq6qlhyYjL6uVbSgS6WoF7ZopTW/sI7+7p+mb4ZVU= +modernc.org/sqlite v1.10.6/go.mod h1:Z9FEjUtZP4qFEg6/SiADg9XCER7aYy9a/j7Pg9P7CPs= modernc.org/sqlite v1.13.0/go.mod h1:2qO/6jZJrcQaxFUHxOwa6Q6WfiGSsiVj6GXX0Ker+Jg= modernc.org/sqlite v1.14.2-0.20211125151325-d4ed92c0a70f h1:yQwkmqKCIgLzFIfjfPfZAAxLZernckpo7zGTv37Ahv0= modernc.org/sqlite v1.14.2-0.20211125151325-d4ed92c0a70f/go.mod h1:YT5XFRKOueohjppHO4cHb54eQlnaUGsZMHoryaCpNo4= modernc.org/strutil v1.1.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs= modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw= modernc.org/tcl v1.5.0/go.mod h1:gb57hj4pO8fRrK54zveIfFXBaMHK3SKJNWcmRw1cRzc= +modernc.org/tcl v1.5.2/go.mod h1:pmJYOLgpiys3oI4AeAafkcUfE+TKKilminxNyU/+Zlo= modernc.org/tcl v1.5.9/go.mod h1:bcwjvBJ2u0exY6K35eAmxXBBij5kXb1dHlAWmfhqThE= modernc.org/tcl v1.8.13/go.mod h1:V+q/Ef0IJaNUSECieLU4o+8IScapxnMyFV6i/7uQlAY= modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= @@ -2330,7 +3319,15 @@ rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8 rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.22/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= +sigs.k8s.io/structured-merge-diff/v4 v4.0.1/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= +sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= sourcegraph.com/sourcegraph/go-diff v0.5.0/go.mod h1:kuch7UrkMzY0X+p9CRK03kfuPQ2zzQcaEFbx8wA8rck= sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4/go.mod h1:ketZ/q3QxT9HOBeFhu6RdvsftgpsbFHBF5Cas6cDKZ0= diff --git a/mailserver/migrations/bindata.go b/mailserver/migrations/bindata.go index baa514686..40d47d94a 100644 --- a/mailserver/migrations/bindata.go +++ b/mailserver/migrations/bindata.go @@ -22,7 +22,7 @@ import ( func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { - return nil, fmt.Errorf("read %q: %v", name, err) + return nil, fmt.Errorf("read %q: %w", name, err) } var buf bytes.Buffer @@ -30,7 +30,7 @@ func bindataRead(data []byte, name string) ([]byte, error) { clErr := gz.Close() if err != nil { - return nil, fmt.Errorf("read %q: %v", name, err) + return nil, fmt.Errorf("read %q: %w", name, err) } if clErr != nil { return nil, err @@ -223,12 +223,13 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ "1557732988_initialize_db.down.sql": _1557732988_initialize_dbDownSql, - - "1557732988_initialize_db.up.sql": _1557732988_initialize_dbUpSql, - - "static.go": staticGo, + "1557732988_initialize_db.up.sql": _1557732988_initialize_dbUpSql, + "static.go": staticGo, } +// AssetDebug is true if the assets were built with the debug flag enabled. +const AssetDebug = false + // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the @@ -270,9 +271,9 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ - "1557732988_initialize_db.down.sql": &bintree{_1557732988_initialize_dbDownSql, map[string]*bintree{}}, - "1557732988_initialize_db.up.sql": &bintree{_1557732988_initialize_dbUpSql, map[string]*bintree{}}, - "static.go": &bintree{staticGo, map[string]*bintree{}}, + "1557732988_initialize_db.down.sql": {_1557732988_initialize_dbDownSql, map[string]*bintree{}}, + "1557732988_initialize_db.up.sql": {_1557732988_initialize_dbUpSql, map[string]*bintree{}}, + "static.go": {staticGo, map[string]*bintree{}}, }} // RestoreAsset restores an asset under the given directory. diff --git a/node/status_node_services.go b/node/status_node_services.go index 364d1281e..7a2bf5b63 100644 --- a/node/status_node_services.go +++ b/node/status_node_services.go @@ -287,6 +287,9 @@ func (b *StatusNode) wakuV2Service(nodeConfig *params.NodeConfig) (*wakuv2.Waku, Rendezvous: nodeConfig.Rendezvous, WakuRendezvousNodes: nodeConfig.ClusterConfig.WakuRendezvousNodes, PeerExchange: nodeConfig.WakuV2Config.PeerExchange, + EnableStore: nodeConfig.WakuV2Config.EnableStore, + StoreCapacity: nodeConfig.WakuV2Config.StoreCapacity, + StoreSeconds: nodeConfig.WakuV2Config.StoreSeconds, DiscoveryLimit: nodeConfig.WakuV2Config.DiscoveryLimit, PersistPeers: nodeConfig.WakuV2Config.PersistPeers, DiscV5BootstrapNodes: nodeConfig.ClusterConfig.DiscV5BootstrapNodes, diff --git a/nodecfg/node_config.go b/nodecfg/node_config.go index 97b064b9e..37a0eb1fc 100644 --- a/nodecfg/node_config.go +++ b/nodecfg/node_config.go @@ -272,6 +272,17 @@ func insertWakuV2Config(tx *sql.Tx, c *params.NodeConfig) error { return nil } +func insertWakuV2StoreConfig(tx *sql.Tx, c *params.NodeConfig) error { + _, err := tx.Exec(` + UPDATE wakuv2_config + SET enable_store = ?, store_capacity = ?, store_seconds = ? + WHERE synthetic_id = 'id'`, + c.WakuV2Config.EnableStore, c.WakuV2Config.StoreCapacity, c.WakuV2Config.StoreSeconds, + ) + + return err +} + func insertWakuConfig(tx *sql.Tx, c *params.NodeConfig) error { _, err := tx.Exec(` INSERT OR REPLACE INTO waku_config ( @@ -390,6 +401,7 @@ func nodeConfigNormalInserts() []insertFn { insertWakuConfig, insertWakuV2Config, insertTorrentConfig, + insertWakuV2StoreConfig, } } diff --git a/params/config.go b/params/config.go index 286e77ba7..f0e1eb567 100644 --- a/params/config.go +++ b/params/config.go @@ -203,6 +203,15 @@ type WakuV2Config struct { // AutoUpdate instructs the node to update their own ip address and port with the values seen by other nodes AutoUpdate bool + + // EnableStore indicates if WakuStore protocol should be enabled or not + EnableStore bool + + // StoreCapacity indicates the max number of messages to store + StoreCapacity int + + // StoreSeconds indicates the maximum number of seconds before a message is removed from the store + StoreSeconds int } // ---------- diff --git a/vendor/github.com/benbjohnson/clock/README.md b/vendor/github.com/benbjohnson/clock/README.md index ee37dfe1b..4f1f82fc6 100644 --- a/vendor/github.com/benbjohnson/clock/README.md +++ b/vendor/github.com/benbjohnson/clock/README.md @@ -1,12 +1,15 @@ clock ===== +[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square)](https://pkg.go.dev/mod/github.com/benbjohnson/clock) + Clock is a small library for mocking time in Go. It provides an interface around the standard library's [`time`][time] package so that the application can use the realtime clock while tests can use the mock clock. -[time]: http://golang.org/pkg/time/ +The module is currently maintained by @djmitche. +[time]: https://pkg.go.dev/github.com/benbjohnson/clock ## Usage @@ -86,7 +89,7 @@ count := 0 // Kick off a timer to increment every 1 mock second. go func() { - ticker := clock.Ticker(1 * time.Second) + ticker := mock.Ticker(1 * time.Second) for { <-ticker.C count++ @@ -100,5 +103,3 @@ mock.Add(10 * time.Second) // This prints 10. fmt.Println(count) ``` - - diff --git a/vendor/github.com/benbjohnson/clock/clock.go b/vendor/github.com/benbjohnson/clock/clock.go index 6a4edb2e8..40555b303 100644 --- a/vendor/github.com/benbjohnson/clock/clock.go +++ b/vendor/github.com/benbjohnson/clock/clock.go @@ -1,11 +1,15 @@ package clock import ( + "context" "sort" "sync" "time" ) +// Re-export of time.Duration +type Duration = time.Duration + // Clock represents an interface to the functions in the standard library time // package. Two implementations are available in the clock package. The first // is a real-time clock which simply wraps the time package's functions. The @@ -16,10 +20,13 @@ type Clock interface { AfterFunc(d time.Duration, f func()) *Timer Now() time.Time Since(t time.Time) time.Duration + Until(t time.Time) time.Duration Sleep(d time.Duration) Tick(d time.Duration) <-chan time.Time Ticker(d time.Duration) *Ticker Timer(d time.Duration) *Timer + WithDeadline(parent context.Context, d time.Time) (context.Context, context.CancelFunc) + WithTimeout(parent context.Context, t time.Duration) (context.Context, context.CancelFunc) } // New returns an instance of a real-time clock. @@ -40,6 +47,8 @@ func (c *clock) Now() time.Time { return time.Now() } func (c *clock) Since(t time.Time) time.Duration { return time.Since(t) } +func (c *clock) Until(t time.Time) time.Duration { return time.Until(t) } + func (c *clock) Sleep(d time.Duration) { time.Sleep(d) } func (c *clock) Tick(d time.Duration) <-chan time.Time { return time.Tick(d) } @@ -54,7 +63,15 @@ func (c *clock) Timer(d time.Duration) *Timer { return &Timer{C: t.C, timer: t} } -// Mock represents a mock clock that only moves forward programmatically. +func (c *clock) WithDeadline(parent context.Context, d time.Time) (context.Context, context.CancelFunc) { + return context.WithDeadline(parent, d) +} + +func (c *clock) WithTimeout(parent context.Context, t time.Duration) (context.Context, context.CancelFunc) { + return context.WithTimeout(parent, t) +} + +// Mock represents a mock clock that only moves forward programmically. // It can be preferable to a real-time clock when testing time-based functionality. type Mock struct { mu sync.Mutex @@ -161,11 +178,16 @@ func (m *Mock) Now() time.Time { return m.now } -// Since returns time since the mock clock's wall time. +// Since returns time since `t` using the mock clock's wall time. func (m *Mock) Since(t time.Time) time.Duration { return m.Now().Sub(t) } +// Until returns time until `t` using the mock clock's wall time. +func (m *Mock) Until(t time.Time) time.Duration { + return t.Sub(m.Now()) +} + // Sleep pauses the goroutine for the given duration on the mock clock. // The clock must be moved forward in a separate goroutine. func (m *Mock) Sleep(d time.Duration) { @@ -284,16 +306,20 @@ type internalTimer Timer func (t *internalTimer) Next() time.Time { return t.next } func (t *internalTimer) Tick(now time.Time) { + // a gosched() after ticking, to allow any consequences of the + // tick to complete + defer gosched() + t.mock.mu.Lock() if t.fn != nil { - t.fn() + // defer function execution until the lock is released, and + defer t.fn() } else { t.c <- now } t.mock.removeClockTimer((*internalTimer)(t)) t.stopped = true t.mock.mu.Unlock() - gosched() } // Ticker holds a channel that receives "ticks" at regular intervals. @@ -321,7 +347,14 @@ func (t *Ticker) Stop() { func (t *Ticker) Reset(dur time.Duration) { if t.ticker != nil { t.ticker.Reset(dur) + return } + + t.mock.mu.Lock() + defer t.mock.mu.Unlock() + + t.d = dur + t.next = t.mock.now.Add(dur) } type internalTicker Ticker @@ -338,3 +371,8 @@ func (t *internalTicker) Tick(now time.Time) { // Sleep momentarily so that other goroutines can process. func gosched() { time.Sleep(1 * time.Millisecond) } + +var ( + // type checking + _ Clock = &Mock{} +) diff --git a/vendor/github.com/benbjohnson/clock/context.go b/vendor/github.com/benbjohnson/clock/context.go new file mode 100644 index 000000000..eb67594f2 --- /dev/null +++ b/vendor/github.com/benbjohnson/clock/context.go @@ -0,0 +1,86 @@ +package clock + +import ( + "context" + "fmt" + "sync" + "time" +) + +func (m *Mock) WithTimeout(parent context.Context, timeout time.Duration) (context.Context, context.CancelFunc) { + return m.WithDeadline(parent, m.Now().Add(timeout)) +} + +func (m *Mock) WithDeadline(parent context.Context, deadline time.Time) (context.Context, context.CancelFunc) { + if cur, ok := parent.Deadline(); ok && cur.Before(deadline) { + // The current deadline is already sooner than the new one. + return context.WithCancel(parent) + } + ctx := &timerCtx{clock: m, parent: parent, deadline: deadline, done: make(chan struct{})} + propagateCancel(parent, ctx) + dur := m.Until(deadline) + if dur <= 0 { + ctx.cancel(context.DeadlineExceeded) // deadline has already passed + return ctx, func() {} + } + ctx.Lock() + defer ctx.Unlock() + if ctx.err == nil { + ctx.timer = m.AfterFunc(dur, func() { + ctx.cancel(context.DeadlineExceeded) + }) + } + return ctx, func() { ctx.cancel(context.Canceled) } +} + +// propagateCancel arranges for child to be canceled when parent is. +func propagateCancel(parent context.Context, child *timerCtx) { + if parent.Done() == nil { + return // parent is never canceled + } + go func() { + select { + case <-parent.Done(): + child.cancel(parent.Err()) + case <-child.Done(): + } + }() +} + +type timerCtx struct { + sync.Mutex + + clock Clock + parent context.Context + deadline time.Time + done chan struct{} + + err error + timer *Timer +} + +func (c *timerCtx) cancel(err error) { + c.Lock() + defer c.Unlock() + if c.err != nil { + return // already canceled + } + c.err = err + close(c.done) + if c.timer != nil { + c.timer.Stop() + c.timer = nil + } +} + +func (c *timerCtx) Deadline() (deadline time.Time, ok bool) { return c.deadline, true } + +func (c *timerCtx) Done() <-chan struct{} { return c.done } + +func (c *timerCtx) Err() error { return c.err } + +func (c *timerCtx) Value(key interface{}) interface{} { return c.parent.Value(key) } + +func (c *timerCtx) String() string { + return fmt.Sprintf("clock.WithDeadline(%s [%s])", c.deadline, c.deadline.Sub(c.clock.Now())) +} diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/LICENSE b/vendor/github.com/btcsuite/btcd/btcec/v2/LICENSE new file mode 100644 index 000000000..23190babb --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/LICENSE @@ -0,0 +1,16 @@ +ISC License + +Copyright (c) 2013-2022 The btcsuite developers +Copyright (c) 2015-2016 The Decred developers + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/README.md b/vendor/github.com/btcsuite/btcd/btcec/v2/README.md new file mode 100644 index 000000000..cbf63dd04 --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/README.md @@ -0,0 +1,40 @@ +btcec +===== + +[![Build Status](https://github.com/btcsuite/btcd/workflows/Build%20and%20Test/badge.svg)](https://github.com/btcsuite/btcd/actions) +[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://pkg.go.dev/github.com/btcsuite/btcd/btcec/v2?status.png)](https://pkg.go.dev/github.com/btcsuite/btcd/btcec/v2) + +Package btcec implements elliptic curve cryptography needed for working with +Bitcoin (secp256k1 only for now). It is designed so that it may be used with the +standard crypto/ecdsa packages provided with go. A comprehensive suite of test +is provided to ensure proper functionality. Package btcec was originally based +on work from ThePiachu which is licensed under the same terms as Go, but it has +signficantly diverged since then. The btcsuite developers original is licensed +under the liberal ISC license. + +Although this package was primarily written for btcd, it has intentionally been +designed so it can be used as a standalone package for any projects needing to +use secp256k1 elliptic curve cryptography. + +## Installation and Updating + +```bash +$ go install -u -v github.com/btcsuite/btcd/btcec/v2 +``` + +## Examples + +* [Sign Message](https://pkg.go.dev/github.com/btcsuite/btcd/btcec/v2#example-package--SignMessage) + Demonstrates signing a message with a secp256k1 private key that is first + parsed form raw bytes and serializing the generated signature. + +* [Verify Signature](https://pkg.go.dev/github.com/btcsuite/btcd/btcec/v2#example-package--VerifySignature) + Demonstrates verifying a secp256k1 signature against a public key that is + first parsed from raw bytes. The signature is also parsed from raw bytes. + +## License + +Package btcec is licensed under the [copyfree](http://copyfree.org) ISC License +except for btcec.go and btcec_test.go which is under the same license as Go. + diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/btcec.go b/vendor/github.com/btcsuite/btcd/btcec/v2/btcec.go new file mode 100644 index 000000000..efde8d6a8 --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/btcec.go @@ -0,0 +1,41 @@ +// Copyright 2010 The Go Authors. All rights reserved. +// Copyright 2011 ThePiachu. All rights reserved. +// Copyright 2013-2014 The btcsuite developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package btcec + +// References: +// [SECG]: Recommended Elliptic Curve Domain Parameters +// http://www.secg.org/sec2-v2.pdf +// +// [GECC]: Guide to Elliptic Curve Cryptography (Hankerson, Menezes, Vanstone) + +// This package operates, internally, on Jacobian coordinates. For a given +// (x, y) position on the curve, the Jacobian coordinates are (x1, y1, z1) +// where x = x1/z1² and y = y1/z1³. The greatest speedups come when the whole +// calculation can be performed within the transform (as in ScalarMult and +// ScalarBaseMult). But even for Add and Double, it's faster to apply and +// reverse the transform than to operate in affine coordinates. + +import ( + secp "github.com/decred/dcrd/dcrec/secp256k1/v4" +) + +// KoblitzCurve provides an implementation for secp256k1 that fits the ECC +// Curve interface from crypto/elliptic. +type KoblitzCurve = secp.KoblitzCurve + +// S256 returns a Curve which implements secp256k1. +func S256() *KoblitzCurve { + return secp.S256() +} + +// CurveParams contains the parameters for the secp256k1 curve. +type CurveParams = secp.CurveParams + +// Params returns the secp256k1 curve parameters for convenience. +func Params() *CurveParams { + return secp.Params() +} diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/ciphering.go b/vendor/github.com/btcsuite/btcd/btcec/v2/ciphering.go new file mode 100644 index 000000000..88d93e276 --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/ciphering.go @@ -0,0 +1,16 @@ +// Copyright (c) 2015-2016 The btcsuite developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package btcec + +import ( + secp "github.com/decred/dcrd/dcrec/secp256k1/v4" +) + +// GenerateSharedSecret generates a shared secret based on a private key and a +// public key using Diffie-Hellman key exchange (ECDH) (RFC 4753). +// RFC5903 Section 9 states we should only return x. +func GenerateSharedSecret(privkey *PrivateKey, pubkey *PublicKey) []byte { + return secp.GenerateSharedSecret(privkey, pubkey) +} diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/curve.go b/vendor/github.com/btcsuite/btcd/btcec/v2/curve.go new file mode 100644 index 000000000..5224e35c8 --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/curve.go @@ -0,0 +1,63 @@ +// Copyright (c) 2015-2021 The btcsuite developers +// Copyright (c) 2015-2021 The Decred developers + +package btcec + +import ( + secp "github.com/decred/dcrd/dcrec/secp256k1/v4" +) + +// JacobianPoint is an element of the group formed by the secp256k1 curve in +// Jacobian projective coordinates and thus represents a point on the curve. +type JacobianPoint = secp.JacobianPoint + +// MakeJacobianPoint returns a Jacobian point with the provided X, Y, and Z +// coordinates. +func MakeJacobianPoint(x, y, z *FieldVal) JacobianPoint { + return secp.MakeJacobianPoint(x, y, z) +} + +// AddNonConst adds the passed Jacobian points together and stores the result +// in the provided result param in *non-constant* time. +func AddNonConst(p1, p2, result *JacobianPoint) { + secp.AddNonConst(p1, p2, result) +} + +// DecompressY attempts to calculate the Y coordinate for the given X +// coordinate such that the result pair is a point on the secp256k1 curve. It +// adjusts Y based on the desired oddness and returns whether or not it was +// successful since not all X coordinates are valid. +// +// The magnitude of the provided X coordinate field val must be a max of 8 for +// a correct result. The resulting Y field val will have a max magnitude of 2. +func DecompressY(x *FieldVal, odd bool, resultY *FieldVal) bool { + return secp.DecompressY(x, odd, resultY) +} + +// DoubleNonConst doubles the passed Jacobian point and stores the result in +// the provided result parameter in *non-constant* time. +// +// NOTE: The point must be normalized for this function to return the correct +// result. The resulting point will be normalized. +func DoubleNonConst(p, result *JacobianPoint) { + secp.DoubleNonConst(p, result) +} + +// ScalarBaseMultNonConst multiplies k*G where G is the base point of the group +// and k is a big endian integer. The result is stored in Jacobian coordinates +// (x1, y1, z1). +// +// NOTE: The resulting point will be normalized. +func ScalarBaseMultNonConst(k *ModNScalar, result *JacobianPoint) { + secp.ScalarBaseMultNonConst(k, result) +} + +// ScalarMultNonConst multiplies k*P where k is a big endian integer modulo the +// curve order and P is a point in Jacobian projective coordinates and stores +// the result in the provided Jacobian point. +// +// NOTE: The point must be normalized for this function to return the correct +// result. The resulting point will be normalized. +func ScalarMultNonConst(k *ModNScalar, point, result *JacobianPoint) { + secp.ScalarMultNonConst(k, point, result) +} diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/doc.go b/vendor/github.com/btcsuite/btcd/btcec/v2/doc.go new file mode 100644 index 000000000..fa8346ab0 --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/doc.go @@ -0,0 +1,21 @@ +// Copyright (c) 2013-2014 The btcsuite developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +/* +Package btcec implements support for the elliptic curves needed for bitcoin. + +Bitcoin uses elliptic curve cryptography using koblitz curves +(specifically secp256k1) for cryptographic functions. See +http://www.secg.org/collateral/sec2_final.pdf for details on the +standard. + +This package provides the data structures and functions implementing the +crypto/elliptic Curve interface in order to permit using these curves +with the standard crypto/ecdsa package provided with go. Helper +functionality is provided to parse signatures and public keys from +standard formats. It was designed for use with btcd, but should be +general enough for other uses of elliptic curve crypto. It was originally based +on some initial work by ThePiachu, but has significantly diverged since then. +*/ +package btcec diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/ecdsa/error.go b/vendor/github.com/btcsuite/btcd/btcec/v2/ecdsa/error.go new file mode 100644 index 000000000..a30d63b63 --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/ecdsa/error.go @@ -0,0 +1,18 @@ +// Copyright (c) 2013-2021 The btcsuite developers +// Copyright (c) 2015-2021 The Decred developers + +package ecdsa + +import ( + secp_ecdsa "github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa" +) + +// ErrorKind identifies a kind of error. It has full support for +// errors.Is and errors.As, so the caller can directly check against +// an error kind when determining the reason for an error. +type ErrorKind = secp_ecdsa.ErrorKind + +// Error identifies an error related to an ECDSA signature. It has full +// support for errors.Is and errors.As, so the caller can ascertain the +// specific reason for the error by checking the underlying error. +type Error = secp_ecdsa.ErrorKind diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/ecdsa/signature.go b/vendor/github.com/btcsuite/btcd/btcec/v2/ecdsa/signature.go new file mode 100644 index 000000000..092e4ceb1 --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/ecdsa/signature.go @@ -0,0 +1,240 @@ +// Copyright (c) 2013-2017 The btcsuite developers +// Copyright (c) 2015-2021 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package ecdsa + +import ( + "errors" + "fmt" + "math/big" + + "github.com/btcsuite/btcd/btcec/v2" + secp_ecdsa "github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa" +) + +// Errors returned by canonicalPadding. +var ( + errNegativeValue = errors.New("value may be interpreted as negative") + errExcessivelyPaddedValue = errors.New("value is excessively padded") +) + +// Signature is a type representing an ecdsa signature. +type Signature = secp_ecdsa.Signature + +// NewSignature instantiates a new signature given some r and s values. +func NewSignature(r, s *btcec.ModNScalar) *Signature { + return secp_ecdsa.NewSignature(r, s) +} + +var ( + // Used in RFC6979 implementation when testing the nonce for correctness + one = big.NewInt(1) + + // oneInitializer is used to fill a byte slice with byte 0x01. It is provided + // here to avoid the need to create it multiple times. + oneInitializer = []byte{0x01} +) + +// MinSigLen is the minimum length of a DER encoded signature and is when both R +// and S are 1 byte each. +// 0x30 + <1-byte> + 0x02 + 0x01 + + 0x2 + 0x01 + +const MinSigLen = 8 + +// canonicalPadding checks whether a big-endian encoded integer could +// possibly be misinterpreted as a negative number (even though OpenSSL +// treats all numbers as unsigned), or if there is any unnecessary +// leading zero padding. +func canonicalPadding(b []byte) error { + switch { + case b[0]&0x80 == 0x80: + return errNegativeValue + case len(b) > 1 && b[0] == 0x00 && b[1]&0x80 != 0x80: + return errExcessivelyPaddedValue + default: + return nil + } +} + +func parseSig(sigStr []byte, der bool) (*Signature, error) { + // Originally this code used encoding/asn1 in order to parse the + // signature, but a number of problems were found with this approach. + // Despite the fact that signatures are stored as DER, the difference + // between go's idea of a bignum (and that they have sign) doesn't agree + // with the openssl one (where they do not). The above is true as of + // Go 1.1. In the end it was simpler to rewrite the code to explicitly + // understand the format which is this: + // 0x30 <0x02> 0x2 + // . + + if len(sigStr) < MinSigLen { + return nil, errors.New("malformed signature: too short") + } + // 0x30 + index := 0 + if sigStr[index] != 0x30 { + return nil, errors.New("malformed signature: no header magic") + } + index++ + // length of remaining message + siglen := sigStr[index] + index++ + + // siglen should be less than the entire message and greater than + // the minimal message size. + if int(siglen+2) > len(sigStr) || int(siglen+2) < MinSigLen { + return nil, errors.New("malformed signature: bad length") + } + // trim the slice we're working on so we only look at what matters. + sigStr = sigStr[:siglen+2] + + // 0x02 + if sigStr[index] != 0x02 { + return nil, + errors.New("malformed signature: no 1st int marker") + } + index++ + + // Length of signature R. + rLen := int(sigStr[index]) + // must be positive, must be able to fit in another 0x2, + // hence the -3. We assume that the length must be at least one byte. + index++ + if rLen <= 0 || rLen > len(sigStr)-index-3 { + return nil, errors.New("malformed signature: bogus R length") + } + + // Then R itself. + rBytes := sigStr[index : index+rLen] + if der { + switch err := canonicalPadding(rBytes); err { + case errNegativeValue: + return nil, errors.New("signature R is negative") + case errExcessivelyPaddedValue: + return nil, errors.New("signature R is excessively padded") + } + } + + // Strip leading zeroes from R. + for len(rBytes) > 0 && rBytes[0] == 0x00 { + rBytes = rBytes[1:] + } + + // R must be in the range [1, N-1]. Notice the check for the maximum number + // of bytes is required because SetByteSlice truncates as noted in its + // comment so it could otherwise fail to detect the overflow. + var r btcec.ModNScalar + if len(rBytes) > 32 { + str := "invalid signature: R is larger than 256 bits" + return nil, errors.New(str) + } + if overflow := r.SetByteSlice(rBytes); overflow { + str := "invalid signature: R >= group order" + return nil, errors.New(str) + } + if r.IsZero() { + str := "invalid signature: R is 0" + return nil, errors.New(str) + } + index += rLen + // 0x02. length already checked in previous if. + if sigStr[index] != 0x02 { + return nil, errors.New("malformed signature: no 2nd int marker") + } + index++ + + // Length of signature S. + sLen := int(sigStr[index]) + index++ + // S should be the rest of the string. + if sLen <= 0 || sLen > len(sigStr)-index { + return nil, errors.New("malformed signature: bogus S length") + } + + // Then S itself. + sBytes := sigStr[index : index+sLen] + if der { + switch err := canonicalPadding(sBytes); err { + case errNegativeValue: + return nil, errors.New("signature S is negative") + case errExcessivelyPaddedValue: + return nil, errors.New("signature S is excessively padded") + } + } + + // Strip leading zeroes from S. + for len(sBytes) > 0 && sBytes[0] == 0x00 { + sBytes = sBytes[1:] + } + + // S must be in the range [1, N-1]. Notice the check for the maximum number + // of bytes is required because SetByteSlice truncates as noted in its + // comment so it could otherwise fail to detect the overflow. + var s btcec.ModNScalar + if len(sBytes) > 32 { + str := "invalid signature: S is larger than 256 bits" + return nil, errors.New(str) + } + if overflow := s.SetByteSlice(sBytes); overflow { + str := "invalid signature: S >= group order" + return nil, errors.New(str) + } + if s.IsZero() { + str := "invalid signature: S is 0" + return nil, errors.New(str) + } + index += sLen + + // sanity check length parsing + if index != len(sigStr) { + return nil, fmt.Errorf("malformed signature: bad final length %v != %v", + index, len(sigStr)) + } + + return NewSignature(&r, &s), nil +} + +// ParseSignature parses a signature in BER format for the curve type `curve' +// into a Signature type, perfoming some basic sanity checks. If parsing +// according to the more strict DER format is needed, use ParseDERSignature. +func ParseSignature(sigStr []byte) (*Signature, error) { + return parseSig(sigStr, false) +} + +// ParseDERSignature parses a signature in DER format for the curve type +// `curve` into a Signature type. If parsing according to the less strict +// BER format is needed, use ParseSignature. +func ParseDERSignature(sigStr []byte) (*Signature, error) { + return parseSig(sigStr, true) +} + +// SignCompact produces a compact signature of the data in hash with the given +// private key on the given koblitz curve. The isCompressed parameter should +// be used to detail if the given signature should reference a compressed +// public key or not. If successful the bytes of the compact signature will be +// returned in the format: +// <(byte of 27+public key solution)+4 if compressed >< padded bytes for signature R> +// where the R and S parameters are padde up to the bitlengh of the curve. +func SignCompact(key *btcec.PrivateKey, hash []byte, + isCompressedKey bool) ([]byte, error) { + + return secp_ecdsa.SignCompact(key, hash, isCompressedKey), nil +} + +// RecoverCompact verifies the compact signature "signature" of "hash" for the +// Koblitz curve in "curve". If the signature matches then the recovered public +// key will be returned as well as a boolean if the original key was compressed +// or not, else an error will be returned. +func RecoverCompact(signature, hash []byte) (*btcec.PublicKey, bool, error) { + return secp_ecdsa.RecoverCompact(signature, hash) +} + +// Sign generates an ECDSA signature over the secp256k1 curve for the provided +// hash (which should be the result of hashing a larger message) using the +// given private key. The produced signature is deterministic (same message and +// same key yield the same signature) and canonical in accordance with RFC6979 +// and BIP0062. +func Sign(key *btcec.PrivateKey, hash []byte) *Signature { + return secp_ecdsa.Sign(key, hash) +} diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/error.go b/vendor/github.com/btcsuite/btcd/btcec/v2/error.go new file mode 100644 index 000000000..81ca2b044 --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/error.go @@ -0,0 +1,19 @@ +// Copyright (c) 2013-2021 The btcsuite developers +// Copyright (c) 2015-2021 The Decred developers + +package btcec + +import ( + secp "github.com/decred/dcrd/dcrec/secp256k1/v4" +) + +// Error identifies an error related to public key cryptography using a +// sec256k1 curve. It has full support for errors.Is and errors.As, so the +// caller can ascertain the specific reason for the error by checking the +// underlying error. +type Error = secp.Error + +// ErrorKind identifies a kind of error. It has full support for errors.Is and +// errors.As, so the caller can directly check against an error kind when +// determining the reason for an error. +type ErrorKind = secp.ErrorKind diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/field.go b/vendor/github.com/btcsuite/btcd/btcec/v2/field.go new file mode 100644 index 000000000..fef6f345d --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/field.go @@ -0,0 +1,43 @@ +package btcec + +import secp "github.com/decred/dcrd/dcrec/secp256k1/v4" + +// FieldVal implements optimized fixed-precision arithmetic over the secp256k1 +// finite field. This means all arithmetic is performed modulo +// '0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f'. +// +// WARNING: Since it is so important for the field arithmetic to be extremely +// fast for high performance crypto, this type does not perform any validation +// of documented preconditions where it ordinarily would. As a result, it is +// IMPERATIVE for callers to understand some key concepts that are described +// below and ensure the methods are called with the necessary preconditions +// that each method is documented with. For example, some methods only give the +// correct result if the field value is normalized and others require the field +// values involved to have a maximum magnitude and THERE ARE NO EXPLICIT CHECKS +// TO ENSURE THOSE PRECONDITIONS ARE SATISFIED. This does, unfortunately, make +// the type more difficult to use correctly and while I typically prefer to +// ensure all state and input is valid for most code, this is a bit of an +// exception because those extra checks really add up in what ends up being +// critical hot paths. +// +// The first key concept when working with this type is normalization. In order +// to avoid the need to propagate a ton of carries, the internal representation +// provides additional overflow bits for each word of the overall 256-bit +// value. This means that there are multiple internal representations for the +// same value and, as a result, any methods that rely on comparison of the +// value, such as equality and oddness determination, require the caller to +// provide a normalized value. +// +// The second key concept when working with this type is magnitude. As +// previously mentioned, the internal representation provides additional +// overflow bits which means that the more math operations that are performed +// on the field value between normalizations, the more those overflow bits +// accumulate. The magnitude is effectively that maximum possible number of +// those overflow bits that could possibly be required as a result of a given +// operation. Since there are only a limited number of overflow bits available, +// this implies that the max possible magnitude MUST be tracked by the caller +// and the caller MUST normalize the field value if a given operation would +// cause the magnitude of the result to exceed the max allowed value. +// +// IMPORTANT: The max allowed magnitude of a field value is 64. +type FieldVal = secp.FieldVal diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/modnscalar.go b/vendor/github.com/btcsuite/btcd/btcec/v2/modnscalar.go new file mode 100644 index 000000000..b18b2c1d4 --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/modnscalar.go @@ -0,0 +1,45 @@ +// Copyright (c) 2013-2021 The btcsuite developers +// Copyright (c) 2015-2021 The Decred developers + +package btcec + +import ( + secp "github.com/decred/dcrd/dcrec/secp256k1/v4" +) + +// ModNScalar implements optimized 256-bit constant-time fixed-precision +// arithmetic over the secp256k1 group order. This means all arithmetic is +// performed modulo: +// +// 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141 +// +// It only implements the arithmetic needed for elliptic curve operations, +// however, the operations that are not implemented can typically be worked +// around if absolutely needed. For example, subtraction can be performed by +// adding the negation. +// +// Should it be absolutely necessary, conversion to the standard library +// math/big.Int can be accomplished by using the Bytes method, slicing the +// resulting fixed-size array, and feeding it to big.Int.SetBytes. However, +// that should typically be avoided when possible as conversion to big.Ints +// requires allocations, is not constant time, and is slower when working modulo +// the group order. +type ModNScalar = secp.ModNScalar + +// NonceRFC6979 generates a nonce deterministically according to RFC 6979 using +// HMAC-SHA256 for the hashing function. It takes a 32-byte hash as an input +// and returns a 32-byte nonce to be used for deterministic signing. The extra +// and version arguments are optional, but allow additional data to be added to +// the input of the HMAC. When provided, the extra data must be 32-bytes and +// version must be 16 bytes or they will be ignored. +// +// Finally, the extraIterations parameter provides a method to produce a stream +// of deterministic nonces to ensure the signing code is able to produce a nonce +// that results in a valid signature in the extremely unlikely event the +// original nonce produced results in an invalid signature (e.g. R == 0). +// Signing code should start with 0 and increment it if necessary. +func NonceRFC6979(privKey []byte, hash []byte, extra []byte, version []byte, + extraIterations uint32) *ModNScalar { + + return secp.NonceRFC6979(privKey, hash, extra, version, extraIterations) +} diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/privkey.go b/vendor/github.com/btcsuite/btcd/btcec/v2/privkey.go new file mode 100644 index 000000000..4efa806c5 --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/privkey.go @@ -0,0 +1,37 @@ +// Copyright (c) 2013-2016 The btcsuite developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package btcec + +import ( + secp "github.com/decred/dcrd/dcrec/secp256k1/v4" +) + +// PrivateKey wraps an ecdsa.PrivateKey as a convenience mainly for signing +// things with the the private key without having to directly import the ecdsa +// package. +type PrivateKey = secp.PrivateKey + +// PrivKeyFromBytes returns a private and public key for `curve' based on the +// private key passed as an argument as a byte slice. +func PrivKeyFromBytes(pk []byte) (*PrivateKey, *PublicKey) { + privKey := secp.PrivKeyFromBytes(pk) + + return privKey, privKey.PubKey() +} + +// NewPrivateKey is a wrapper for ecdsa.GenerateKey that returns a PrivateKey +// instead of the normal ecdsa.PrivateKey. +func NewPrivateKey() (*PrivateKey, error) { + return secp.GeneratePrivateKey() +} + +// PrivKeyFromScalar instantiates a new private key from a scalar encoded as a +// big integer. +func PrivKeyFromScalar(key *ModNScalar) *PrivateKey { + return &PrivateKey{Key: *key} +} + +// PrivKeyBytesLen defines the length in bytes of a serialized private key. +const PrivKeyBytesLen = 32 diff --git a/vendor/github.com/btcsuite/btcd/btcec/v2/pubkey.go b/vendor/github.com/btcsuite/btcd/btcec/v2/pubkey.go new file mode 100644 index 000000000..7968ed042 --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/btcec/v2/pubkey.go @@ -0,0 +1,51 @@ +// Copyright (c) 2013-2014 The btcsuite developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package btcec + +import ( + secp "github.com/decred/dcrd/dcrec/secp256k1/v4" +) + +// These constants define the lengths of serialized public keys. +const ( + PubKeyBytesLenCompressed = 33 +) + +const ( + pubkeyCompressed byte = 0x2 // y_bit + x coord + pubkeyUncompressed byte = 0x4 // x coord + y coord + pubkeyHybrid byte = 0x6 // y_bit + x coord + y coord +) + +// IsCompressedPubKey returns true the the passed serialized public key has +// been encoded in compressed format, and false otherwise. +func IsCompressedPubKey(pubKey []byte) bool { + // The public key is only compressed if it is the correct length and + // the format (first byte) is one of the compressed pubkey values. + return len(pubKey) == PubKeyBytesLenCompressed && + (pubKey[0]&^byte(0x1) == pubkeyCompressed) +} + +// ParsePubKey parses a public key for a koblitz curve from a bytestring into a +// ecdsa.Publickey, verifying that it is valid. It supports compressed, +// uncompressed and hybrid signature formats. +func ParsePubKey(pubKeyStr []byte) (*PublicKey, error) { + return secp.ParsePubKey(pubKeyStr) +} + +// PublicKey is an ecdsa.PublicKey with additional functions to +// serialize in uncompressed, compressed, and hybrid formats. +type PublicKey = secp.PublicKey + +// NewPublicKey instantiates a new public key with the given x and y +// coordinates. +// +// It should be noted that, unlike ParsePubKey, since this accepts arbitrary x +// and y coordinates, it allows creation of public keys that are not valid +// points on the secp256k1 curve. The IsOnCurve method of the returned instance +// can be used to determine validity. +func NewPublicKey(x, y *FieldVal) *PublicKey { + return secp.NewPublicKey(x, y) +} diff --git a/vendor/github.com/btcsuite/btcd/chaincfg/chainhash/LICENSE b/vendor/github.com/btcsuite/btcd/chaincfg/chainhash/LICENSE new file mode 100644 index 000000000..23190babb --- /dev/null +++ b/vendor/github.com/btcsuite/btcd/chaincfg/chainhash/LICENSE @@ -0,0 +1,16 @@ +ISC License + +Copyright (c) 2013-2022 The btcsuite developers +Copyright (c) 2015-2016 The Decred developers + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/vendor/github.com/btcsuite/btcd/chaincfg/chainhash/hash.go b/vendor/github.com/btcsuite/btcd/chaincfg/chainhash/hash.go index 2b1cec022..764ec3c40 100644 --- a/vendor/github.com/btcsuite/btcd/chaincfg/chainhash/hash.go +++ b/vendor/github.com/btcsuite/btcd/chaincfg/chainhash/hash.go @@ -6,6 +6,7 @@ package chainhash import ( + "crypto/sha256" "encoding/hex" "fmt" ) @@ -16,6 +17,46 @@ const HashSize = 32 // MaxHashStringSize is the maximum length of a Hash hash string. const MaxHashStringSize = HashSize * 2 +var ( + // TagBIP0340Challenge is the BIP-0340 tag for challenges. + TagBIP0340Challenge = []byte("BIP0340/challenge") + + // TagBIP0340Aux is the BIP-0340 tag for aux data. + TagBIP0340Aux = []byte("BIP0340/aux") + + // TagBIP0340Nonce is the BIP-0340 tag for nonces. + TagBIP0340Nonce = []byte("BIP0340/nonce") + + // TagTapSighash is the tag used by BIP 341 to generate the sighash + // flags. + TagTapSighash = []byte("TapSighash") + + // TagTagTapLeaf is the message tag prefix used to compute the hash + // digest of a tapscript leaf. + TagTapLeaf = []byte("TapLeaf") + + // TagTapBranch is the message tag prefix used to compute the + // hash digest of two tap leaves into a taproot branch node. + TagTapBranch = []byte("TapBranch") + + // TagTapTweak is the message tag prefix used to compute the hash tweak + // used to enable a public key to commit to the taproot branch root + // for the witness program. + TagTapTweak = []byte("TapTweak") + + // precomputedTags is a map containing the SHA-256 hash of the BIP-0340 + // tags. + precomputedTags = map[string]Hash{ + string(TagBIP0340Challenge): sha256.Sum256(TagBIP0340Challenge), + string(TagBIP0340Aux): sha256.Sum256(TagBIP0340Aux), + string(TagBIP0340Nonce): sha256.Sum256(TagBIP0340Nonce), + string(TagTapSighash): sha256.Sum256(TagTapSighash), + string(TagTapLeaf): sha256.Sum256(TagTapLeaf), + string(TagTapBranch): sha256.Sum256(TagTapBranch), + string(TagTapTweak): sha256.Sum256(TagTapTweak), + } +) + // ErrHashStrSize describes an error that indicates the caller specified a hash // string that has too many characters. var ErrHashStrSize = fmt.Errorf("max hash string length is %v bytes", MaxHashStringSize) @@ -80,6 +121,35 @@ func NewHash(newHash []byte) (*Hash, error) { return &sh, err } +// TaggedHash implements the tagged hash scheme described in BIP-340. We use +// sha-256 to bind a message hash to a specific context using a tag: +// sha256(sha256(tag) || sha256(tag) || msg). +func TaggedHash(tag []byte, msgs ...[]byte) *Hash { + // Check to see if we've already pre-computed the hash of the tag. If + // so then this'll save us an extra sha256 hash. + shaTag, ok := precomputedTags[string(tag)] + if !ok { + shaTag = sha256.Sum256(tag) + } + + // h = sha256(sha256(tag) || sha256(tag) || msg) + h := sha256.New() + h.Write(shaTag[:]) + h.Write(shaTag[:]) + + for _, msg := range msgs { + h.Write(msg) + } + + taggedHash := h.Sum(nil) + + // The function can't error out since the above hash is guaranteed to + // be 32 bytes. + hash, _ := NewHash(taggedHash) + + return hash +} + // NewHashFromStr creates a Hash from a hash string. The string should be // the hexadecimal string of a byte-reversed hash, but any missing characters // result in zero padding at the end of the Hash. diff --git a/vendor/github.com/cespare/xxhash/v2/.travis.yml b/vendor/github.com/cespare/xxhash/v2/.travis.yml deleted file mode 100644 index c516ea88d..000000000 --- a/vendor/github.com/cespare/xxhash/v2/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: go -go: - - "1.x" - - master -env: - - TAGS="" - - TAGS="-tags purego" -script: go test $TAGS -v ./... diff --git a/vendor/github.com/cespare/xxhash/v2/README.md b/vendor/github.com/cespare/xxhash/v2/README.md index 2fd8693c2..792b4a60b 100644 --- a/vendor/github.com/cespare/xxhash/v2/README.md +++ b/vendor/github.com/cespare/xxhash/v2/README.md @@ -1,7 +1,7 @@ # xxhash -[![GoDoc](https://godoc.org/github.com/cespare/xxhash?status.svg)](https://godoc.org/github.com/cespare/xxhash) -[![Build Status](https://travis-ci.org/cespare/xxhash.svg?branch=master)](https://travis-ci.org/cespare/xxhash) +[![Go Reference](https://pkg.go.dev/badge/github.com/cespare/xxhash/v2.svg)](https://pkg.go.dev/github.com/cespare/xxhash/v2) +[![Test](https://github.com/cespare/xxhash/actions/workflows/test.yml/badge.svg)](https://github.com/cespare/xxhash/actions/workflows/test.yml) xxhash is a Go implementation of the 64-bit [xxHash](http://cyan4973.github.io/xxHash/) algorithm, XXH64. This is a @@ -64,4 +64,6 @@ $ go test -benchtime 10s -bench '/xxhash,direct,bytes' - [InfluxDB](https://github.com/influxdata/influxdb) - [Prometheus](https://github.com/prometheus/prometheus) +- [VictoriaMetrics](https://github.com/VictoriaMetrics/VictoriaMetrics) - [FreeCache](https://github.com/coocood/freecache) +- [FastCache](https://github.com/VictoriaMetrics/fastcache) diff --git a/vendor/github.com/cespare/xxhash/v2/xxhash.go b/vendor/github.com/cespare/xxhash/v2/xxhash.go index db0b35fbe..15c835d54 100644 --- a/vendor/github.com/cespare/xxhash/v2/xxhash.go +++ b/vendor/github.com/cespare/xxhash/v2/xxhash.go @@ -193,7 +193,6 @@ func (d *Digest) UnmarshalBinary(b []byte) error { b, d.v4 = consumeUint64(b) b, d.total = consumeUint64(b) copy(d.mem[:], b) - b = b[len(d.mem):] d.n = int(d.total % uint64(len(d.mem))) return nil } diff --git a/vendor/github.com/cespare/xxhash/v2/xxhash_amd64.s b/vendor/github.com/cespare/xxhash/v2/xxhash_amd64.s index d580e32ae..be8db5bf7 100644 --- a/vendor/github.com/cespare/xxhash/v2/xxhash_amd64.s +++ b/vendor/github.com/cespare/xxhash/v2/xxhash_amd64.s @@ -6,7 +6,7 @@ // Register allocation: // AX h -// CX pointer to advance through b +// SI pointer to advance through b // DX n // BX loop end // R8 v1, k1 @@ -16,39 +16,39 @@ // R12 tmp // R13 prime1v // R14 prime2v -// R15 prime4v +// DI prime4v -// round reads from and advances the buffer pointer in CX. +// round reads from and advances the buffer pointer in SI. // It assumes that R13 has prime1v and R14 has prime2v. #define round(r) \ - MOVQ (CX), R12 \ - ADDQ $8, CX \ + MOVQ (SI), R12 \ + ADDQ $8, SI \ IMULQ R14, R12 \ ADDQ R12, r \ ROLQ $31, r \ IMULQ R13, r // mergeRound applies a merge round on the two registers acc and val. -// It assumes that R13 has prime1v, R14 has prime2v, and R15 has prime4v. +// It assumes that R13 has prime1v, R14 has prime2v, and DI has prime4v. #define mergeRound(acc, val) \ IMULQ R14, val \ ROLQ $31, val \ IMULQ R13, val \ XORQ val, acc \ IMULQ R13, acc \ - ADDQ R15, acc + ADDQ DI, acc // func Sum64(b []byte) uint64 TEXT ·Sum64(SB), NOSPLIT, $0-32 // Load fixed primes. MOVQ ·prime1v(SB), R13 MOVQ ·prime2v(SB), R14 - MOVQ ·prime4v(SB), R15 + MOVQ ·prime4v(SB), DI // Load slice. - MOVQ b_base+0(FP), CX + MOVQ b_base+0(FP), SI MOVQ b_len+8(FP), DX - LEAQ (CX)(DX*1), BX + LEAQ (SI)(DX*1), BX // The first loop limit will be len(b)-32. SUBQ $32, BX @@ -65,14 +65,14 @@ TEXT ·Sum64(SB), NOSPLIT, $0-32 XORQ R11, R11 SUBQ R13, R11 - // Loop until CX > BX. + // Loop until SI > BX. blockLoop: round(R8) round(R9) round(R10) round(R11) - CMPQ CX, BX + CMPQ SI, BX JLE blockLoop MOVQ R8, AX @@ -100,16 +100,16 @@ noBlocks: afterBlocks: ADDQ DX, AX - // Right now BX has len(b)-32, and we want to loop until CX > len(b)-8. + // Right now BX has len(b)-32, and we want to loop until SI > len(b)-8. ADDQ $24, BX - CMPQ CX, BX + CMPQ SI, BX JG fourByte wordLoop: // Calculate k1. - MOVQ (CX), R8 - ADDQ $8, CX + MOVQ (SI), R8 + ADDQ $8, SI IMULQ R14, R8 ROLQ $31, R8 IMULQ R13, R8 @@ -117,18 +117,18 @@ wordLoop: XORQ R8, AX ROLQ $27, AX IMULQ R13, AX - ADDQ R15, AX + ADDQ DI, AX - CMPQ CX, BX + CMPQ SI, BX JLE wordLoop fourByte: ADDQ $4, BX - CMPQ CX, BX + CMPQ SI, BX JG singles - MOVL (CX), R8 - ADDQ $4, CX + MOVL (SI), R8 + ADDQ $4, SI IMULQ R13, R8 XORQ R8, AX @@ -138,19 +138,19 @@ fourByte: singles: ADDQ $4, BX - CMPQ CX, BX + CMPQ SI, BX JGE finalize singlesLoop: - MOVBQZX (CX), R12 - ADDQ $1, CX + MOVBQZX (SI), R12 + ADDQ $1, SI IMULQ ·prime5v(SB), R12 XORQ R12, AX ROLQ $11, AX IMULQ R13, AX - CMPQ CX, BX + CMPQ SI, BX JL singlesLoop finalize: @@ -179,9 +179,9 @@ TEXT ·writeBlocks(SB), NOSPLIT, $0-40 MOVQ ·prime2v(SB), R14 // Load slice. - MOVQ b_base+8(FP), CX + MOVQ b_base+8(FP), SI MOVQ b_len+16(FP), DX - LEAQ (CX)(DX*1), BX + LEAQ (SI)(DX*1), BX SUBQ $32, BX // Load vN from d. @@ -199,7 +199,7 @@ blockLoop: round(R10) round(R11) - CMPQ CX, BX + CMPQ SI, BX JLE blockLoop // Copy vN back to d. @@ -208,8 +208,8 @@ blockLoop: MOVQ R10, 16(AX) MOVQ R11, 24(AX) - // The number of bytes written is CX minus the old base pointer. - SUBQ b_base+8(FP), CX - MOVQ CX, ret+32(FP) + // The number of bytes written is SI minus the old base pointer. + SUBQ b_base+8(FP), SI + MOVQ SI, ret+32(FP) RET diff --git a/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go b/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go index 53bf76efb..376e0ca2e 100644 --- a/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go +++ b/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go @@ -6,41 +6,52 @@ package xxhash import ( - "reflect" "unsafe" ) -// Notes: -// -// See https://groups.google.com/d/msg/golang-nuts/dcjzJy-bSpw/tcZYBzQqAQAJ -// for some discussion about these unsafe conversions. -// // In the future it's possible that compiler optimizations will make these -// unsafe operations unnecessary: https://golang.org/issue/2205. +// XxxString functions unnecessary by realizing that calls such as +// Sum64([]byte(s)) don't need to copy s. See https://golang.org/issue/2205. +// If that happens, even if we keep these functions they can be replaced with +// the trivial safe code. + +// NOTE: The usual way of doing an unsafe string-to-[]byte conversion is: // -// Both of these wrapper functions still incur function call overhead since they -// will not be inlined. We could write Go/asm copies of Sum64 and Digest.Write -// for strings to squeeze out a bit more speed. Mid-stack inlining should -// eventually fix this. +// var b []byte +// bh := (*reflect.SliceHeader)(unsafe.Pointer(&b)) +// bh.Data = (*reflect.StringHeader)(unsafe.Pointer(&s)).Data +// bh.Len = len(s) +// bh.Cap = len(s) +// +// Unfortunately, as of Go 1.15.3 the inliner's cost model assigns a high enough +// weight to this sequence of expressions that any function that uses it will +// not be inlined. Instead, the functions below use a different unsafe +// conversion designed to minimize the inliner weight and allow both to be +// inlined. There is also a test (TestInlining) which verifies that these are +// inlined. +// +// See https://github.com/golang/go/issues/42739 for discussion. // Sum64String computes the 64-bit xxHash digest of s. // It may be faster than Sum64([]byte(s)) by avoiding a copy. func Sum64String(s string) uint64 { - var b []byte - bh := (*reflect.SliceHeader)(unsafe.Pointer(&b)) - bh.Data = (*reflect.StringHeader)(unsafe.Pointer(&s)).Data - bh.Len = len(s) - bh.Cap = len(s) + b := *(*[]byte)(unsafe.Pointer(&sliceHeader{s, len(s)})) return Sum64(b) } // WriteString adds more data to d. It always returns len(s), nil. // It may be faster than Write([]byte(s)) by avoiding a copy. func (d *Digest) WriteString(s string) (n int, err error) { - var b []byte - bh := (*reflect.SliceHeader)(unsafe.Pointer(&b)) - bh.Data = (*reflect.StringHeader)(unsafe.Pointer(&s)).Data - bh.Len = len(s) - bh.Cap = len(s) - return d.Write(b) + d.Write(*(*[]byte)(unsafe.Pointer(&sliceHeader{s, len(s)}))) + // d.Write always returns len(s), nil. + // Ignoring the return output and returning these fixed values buys a + // savings of 6 in the inliner's cost model. + return len(s), nil +} + +// sliceHeader is similar to reflect.SliceHeader, but it assumes that the layout +// of the first two words is the same as the layout of a string. +type sliceHeader struct { + s string + cap int } diff --git a/vendor/github.com/containerd/cgroups/README.md b/vendor/github.com/containerd/cgroups/README.md index d4b09f3d6..eccb9d984 100644 --- a/vendor/github.com/containerd/cgroups/README.md +++ b/vendor/github.com/containerd/cgroups/README.md @@ -1,7 +1,7 @@ # cgroups [![Build Status](https://github.com/containerd/cgroups/workflows/CI/badge.svg)](https://github.com/containerd/cgroups/actions?query=workflow%3ACI) -[![codecov](https://codecov.io/gh/containerd/cgroups/branch/master/graph/badge.svg)](https://codecov.io/gh/containerd/cgroups) +[![codecov](https://codecov.io/gh/containerd/cgroups/branch/main/graph/badge.svg)](https://codecov.io/gh/containerd/cgroups) [![GoDoc](https://godoc.org/github.com/containerd/cgroups?status.svg)](https://godoc.org/github.com/containerd/cgroups) [![Go Report Card](https://goreportcard.com/badge/github.com/containerd/cgroups)](https://goreportcard.com/report/github.com/containerd/cgroups) @@ -26,7 +26,7 @@ uses the v1 implementation of cgroups. ```go shares := uint64(100) control, err := cgroups.New(cgroups.V1, cgroups.StaticPath("/test"), &specs.LinuxResources{ - CPU: &specs.CPU{ + CPU: &specs.LinuxCPU{ Shares: &shares, }, }) @@ -142,8 +142,8 @@ All static path should not include `/sys/fs/cgroup/` prefix, it should start wit Cgroups is a containerd sub-project, licensed under the [Apache 2.0 license](./LICENSE). As a containerd sub-project, you will find the: - * [Project governance](https://github.com/containerd/project/blob/master/GOVERNANCE.md), - * [Maintainers](https://github.com/containerd/project/blob/master/MAINTAINERS), - * and [Contributing guidelines](https://github.com/containerd/project/blob/master/CONTRIBUTING.md) + * [Project governance](https://github.com/containerd/project/blob/main/GOVERNANCE.md), + * [Maintainers](https://github.com/containerd/project/blob/main/MAINTAINERS), + * and [Contributing guidelines](https://github.com/containerd/project/blob/main/CONTRIBUTING.md) information in our [`containerd/project`](https://github.com/containerd/project) repository. diff --git a/vendor/github.com/containerd/cgroups/Vagrantfile b/vendor/github.com/containerd/cgroups/Vagrantfile index 4596ad8a7..9a4aac8cb 100644 --- a/vendor/github.com/containerd/cgroups/Vagrantfile +++ b/vendor/github.com/containerd/cgroups/Vagrantfile @@ -3,19 +3,19 @@ Vagrant.configure("2") do |config| # Fedora box is used for testing cgroup v2 support - config.vm.box = "fedora/32-cloud-base" + config.vm.box = "fedora/35-cloud-base" config.vm.provider :virtualbox do |v| - v.memory = 2048 + v.memory = 4096 v.cpus = 2 end config.vm.provider :libvirt do |v| - v.memory = 2048 + v.memory = 4096 v.cpus = 2 end config.vm.provision "shell", inline: <<-SHELL set -eux -o pipefail # configuration - GO_VERSION="1.15" + GO_VERSION="1.17.7" # install gcc and Golang dnf -y install gcc diff --git a/vendor/github.com/containerd/cgroups/blkio.go b/vendor/github.com/containerd/cgroups/blkio.go index a837e19fb..f59c75bb5 100644 --- a/vendor/github.com/containerd/cgroups/blkio.go +++ b/vendor/github.com/containerd/cgroups/blkio.go @@ -130,7 +130,7 @@ func (b *blkioController) Stat(path string, stats *v1.Metrics) error { } } - f, err := os.Open(filepath.Join(b.procRoot, "diskstats")) + f, err := os.Open(filepath.Join(b.procRoot, "partitions")) if err != nil { return err } @@ -335,7 +335,10 @@ func getDevices(r io.Reader) (map[deviceKey]string, error) { s = bufio.NewScanner(r) devices = make(map[deviceKey]string) ) - for s.Scan() { + for i := 0; s.Scan(); i++ { + if i < 2 { + continue + } fields := strings.Fields(s.Text()) major, err := strconv.Atoi(fields[0]) if err != nil { @@ -352,7 +355,7 @@ func getDevices(r io.Reader) (map[deviceKey]string, error) { if _, ok := devices[key]; ok { continue } - devices[key] = filepath.Join("/dev", fields[2]) + devices[key] = filepath.Join("/dev", fields[3]) } return devices, s.Err() } diff --git a/vendor/github.com/containerd/cgroups/cgroup.go b/vendor/github.com/containerd/cgroups/cgroup.go index e0e014b28..0fab1cecf 100644 --- a/vendor/github.com/containerd/cgroups/cgroup.go +++ b/vendor/github.com/containerd/cgroups/cgroup.go @@ -17,6 +17,7 @@ package cgroups import ( + "errors" "fmt" "os" "path/filepath" @@ -25,8 +26,8 @@ import ( "sync" v1 "github.com/containerd/cgroups/stats/v1" - specs "github.com/opencontainers/runtime-spec/specs-go" - "github.com/pkg/errors" + + "github.com/opencontainers/runtime-spec/specs-go" ) // New returns a new control via the cgroup cgroups interface @@ -83,7 +84,7 @@ func Load(hierarchy Hierarchy, path Path, opts ...InitOpts) (Cgroup, error) { for _, s := range pathers(subsystems) { p, err := path(s.Name()) if err != nil { - if os.IsNotExist(errors.Cause(err)) { + if errors.Is(err, os.ErrNotExist) { return nil, ErrCgroupDeleted } if err == ErrControllerNotActive { @@ -149,8 +150,50 @@ func (c *cgroup) Subsystems() []Subsystem { return c.subsystems } -// Add moves the provided process into the new cgroup -func (c *cgroup) Add(process Process) error { +func (c *cgroup) subsystemsFilter(subsystems ...Name) []Subsystem { + if len(subsystems) == 0 { + return c.subsystems + } + + var filteredSubsystems = []Subsystem{} + for _, s := range c.subsystems { + for _, f := range subsystems { + if s.Name() == f { + filteredSubsystems = append(filteredSubsystems, s) + break + } + } + } + + return filteredSubsystems +} + +// Add moves the provided process into the new cgroup. +// Without additional arguments, the process is added to all the cgroup subsystems. +// When giving Add a list of subsystem names, the process is only added to those +// subsystems, provided that they are active in the targeted cgroup. +func (c *cgroup) Add(process Process, subsystems ...Name) error { + return c.add(process, cgroupProcs, subsystems...) +} + +// AddProc moves the provided process id into the new cgroup. +// Without additional arguments, the process with the given id is added to all +// the cgroup subsystems. When giving AddProc a list of subsystem names, the process +// id is only added to those subsystems, provided that they are active in the targeted +// cgroup. +func (c *cgroup) AddProc(pid uint64, subsystems ...Name) error { + return c.add(Process{Pid: int(pid)}, cgroupProcs, subsystems...) +} + +// AddTask moves the provided tasks (threads) into the new cgroup. +// Without additional arguments, the task is added to all the cgroup subsystems. +// When giving AddTask a list of subsystem names, the task is only added to those +// subsystems, provided that they are active in the targeted cgroup. +func (c *cgroup) AddTask(process Process, subsystems ...Name) error { + return c.add(process, cgroupTasks, subsystems...) +} + +func (c *cgroup) add(process Process, pType procType, subsystems ...Name) error { if process.Pid <= 0 { return ErrInvalidPid } @@ -159,52 +202,19 @@ func (c *cgroup) Add(process Process) error { if c.err != nil { return c.err } - return c.add(process) -} - -func (c *cgroup) add(process Process) error { - for _, s := range pathers(c.subsystems) { + for _, s := range pathers(c.subsystemsFilter(subsystems...)) { p, err := c.path(s.Name()) if err != nil { return err } - if err := retryingWriteFile( - filepath.Join(s.Path(p), cgroupProcs), + err = retryingWriteFile( + filepath.Join(s.Path(p), pType), []byte(strconv.Itoa(process.Pid)), defaultFilePerm, - ); err != nil { - return err - } - } - return nil -} - -// AddTask moves the provided tasks (threads) into the new cgroup -func (c *cgroup) AddTask(process Process) error { - if process.Pid <= 0 { - return ErrInvalidPid - } - c.mu.Lock() - defer c.mu.Unlock() - if c.err != nil { - return c.err - } - return c.addTask(process) -} - -func (c *cgroup) addTask(process Process) error { - for _, s := range pathers(c.subsystems) { - p, err := c.path(s.Name()) + ) if err != nil { return err } - if err := retryingWriteFile( - filepath.Join(s.Path(p), cgroupTasks), - []byte(strconv.Itoa(process.Pid)), - defaultFilePerm, - ); err != nil { - return err - } } return nil } @@ -326,15 +336,29 @@ func (c *cgroup) Processes(subsystem Name, recursive bool) ([]Process, error) { if c.err != nil { return nil, c.err } - return c.processes(subsystem, recursive) + return c.processes(subsystem, recursive, cgroupProcs) } -func (c *cgroup) processes(subsystem Name, recursive bool) ([]Process, error) { +// Tasks returns the tasks running inside the cgroup along +// with the subsystem used, pid, and path +func (c *cgroup) Tasks(subsystem Name, recursive bool) ([]Task, error) { + c.mu.Lock() + defer c.mu.Unlock() + if c.err != nil { + return nil, c.err + } + return c.processes(subsystem, recursive, cgroupTasks) +} + +func (c *cgroup) processes(subsystem Name, recursive bool, pType procType) ([]Process, error) { s := c.getSubsystem(subsystem) sp, err := c.path(subsystem) if err != nil { return nil, err } + if s == nil { + return nil, fmt.Errorf("cgroups: %s doesn't exist in %s subsystem", sp, subsystem) + } path := s.(pather).Path(sp) var processes []Process err = filepath.Walk(path, func(p string, info os.FileInfo, err error) error { @@ -348,10 +372,10 @@ func (c *cgroup) processes(subsystem Name, recursive bool) ([]Process, error) { return filepath.SkipDir } dir, name := filepath.Split(p) - if name != cgroupProcs { + if name != pType { return nil } - procs, err := readPids(dir, subsystem) + procs, err := readPids(dir, subsystem, pType) if err != nil { return err } @@ -361,49 +385,6 @@ func (c *cgroup) processes(subsystem Name, recursive bool) ([]Process, error) { return processes, err } -// Tasks returns the tasks running inside the cgroup along -// with the subsystem used, pid, and path -func (c *cgroup) Tasks(subsystem Name, recursive bool) ([]Task, error) { - c.mu.Lock() - defer c.mu.Unlock() - if c.err != nil { - return nil, c.err - } - return c.tasks(subsystem, recursive) -} - -func (c *cgroup) tasks(subsystem Name, recursive bool) ([]Task, error) { - s := c.getSubsystem(subsystem) - sp, err := c.path(subsystem) - if err != nil { - return nil, err - } - path := s.(pather).Path(sp) - var tasks []Task - err = filepath.Walk(path, func(p string, info os.FileInfo, err error) error { - if err != nil { - return err - } - if !recursive && info.IsDir() { - if p == path { - return nil - } - return filepath.SkipDir - } - dir, name := filepath.Split(p) - if name != cgroupTasks { - return nil - } - procs, err := readTasksPids(dir, subsystem) - if err != nil { - return err - } - tasks = append(tasks, procs...) - return nil - }) - return tasks, err -} - // Freeze freezes the entire cgroup and all the processes inside it func (c *cgroup) Freeze() error { c.mu.Lock() @@ -511,7 +492,7 @@ func (c *cgroup) MoveTo(destination Cgroup) error { return c.err } for _, s := range c.subsystems { - processes, err := c.processes(s.Name(), true) + processes, err := c.processes(s.Name(), true, cgroupProcs) if err != nil { return err } diff --git a/vendor/github.com/containerd/cgroups/control.go b/vendor/github.com/containerd/cgroups/control.go index a4cb9b832..5fcaac6d0 100644 --- a/vendor/github.com/containerd/cgroups/control.go +++ b/vendor/github.com/containerd/cgroups/control.go @@ -23,10 +23,12 @@ import ( specs "github.com/opencontainers/runtime-spec/specs-go" ) +type procType = string + const ( - cgroupProcs = "cgroup.procs" - cgroupTasks = "tasks" - defaultDirPerm = 0755 + cgroupProcs procType = "cgroup.procs" + cgroupTasks procType = "tasks" + defaultDirPerm = 0755 ) // defaultFilePerm is a var so that the test framework can change the filemode @@ -37,32 +39,37 @@ const ( var defaultFilePerm = os.FileMode(0) type Process struct { - // Subsystem is the name of the subsystem that the process is in + // Subsystem is the name of the subsystem that the process / task is in. Subsystem Name - // Pid is the process id of the process + // Pid is the process id of the process / task. Pid int - // Path is the full path of the subsystem and location that the process is in + // Path is the full path of the subsystem and location that the process / task is in. Path string } -type Task struct { - // Subsystem is the name of the subsystem that the task is in - Subsystem Name - // Pid is the process id of the task - Pid int - // Path is the full path of the subsystem and location that the task is in - Path string -} +type Task = Process // Cgroup handles interactions with the individual groups to perform // actions on them as them main interface to this cgroup package type Cgroup interface { // New creates a new cgroup under the calling cgroup New(string, *specs.LinuxResources) (Cgroup, error) - // Add adds a process to the cgroup (cgroup.procs) - Add(Process) error - // AddTask adds a process to the cgroup (tasks) - AddTask(Process) error + // Add adds a process to the cgroup (cgroup.procs). Without additional arguments, + // the process is added to all the cgroup subsystems. When giving Add a list of + // subsystem names, the process is only added to those subsystems, provided that + // they are active in the targeted cgroup. + Add(Process, ...Name) error + // AddProc adds the process with the given id to the cgroup (cgroup.procs). + // Without additional arguments, the process with the given id is added to all + // the cgroup subsystems. When giving AddProc a list of subsystem names, the process + // id is only added to those subsystems, provided that they are active in the targeted + // cgroup. + AddProc(uint64, ...Name) error + // AddTask adds a process to the cgroup (tasks). Without additional arguments, the + // task is added to all the cgroup subsystems. When giving AddTask a list of subsystem + // names, the task is only added to those subsystems, provided that they are active in + // the targeted cgroup. + AddTask(Process, ...Name) error // Delete removes the cgroup as a whole Delete() error // MoveTo moves all the processes under the calling cgroup to the provided one diff --git a/vendor/github.com/containerd/cgroups/opts.go b/vendor/github.com/containerd/cgroups/opts.go index a1449e298..1e428d048 100644 --- a/vendor/github.com/containerd/cgroups/opts.go +++ b/vendor/github.com/containerd/cgroups/opts.go @@ -17,7 +17,7 @@ package cgroups import ( - "github.com/pkg/errors" + "errors" ) var ( diff --git a/vendor/github.com/containerd/cgroups/paths.go b/vendor/github.com/containerd/cgroups/paths.go index 27197ecad..bddc4e9cd 100644 --- a/vendor/github.com/containerd/cgroups/paths.go +++ b/vendor/github.com/containerd/cgroups/paths.go @@ -17,10 +17,9 @@ package cgroups import ( + "errors" "fmt" "path/filepath" - - "github.com/pkg/errors" ) type Path func(subsystem Name) (string, error) @@ -39,7 +38,7 @@ func StaticPath(path string) Path { // NestedPath will nest the cgroups based on the calling processes cgroup // placing its child processes inside its own path func NestedPath(suffix string) Path { - paths, err := parseCgroupFile("/proc/self/cgroup") + paths, err := ParseCgroupFile("/proc/self/cgroup") if err != nil { return errorPath(err) } @@ -50,9 +49,9 @@ func NestedPath(suffix string) Path { // This is commonly used for the Load function to restore an existing container func PidPath(pid int) Path { p := fmt.Sprintf("/proc/%d/cgroup", pid) - paths, err := parseCgroupFile(p) + paths, err := ParseCgroupFile(p) if err != nil { - return errorPath(errors.Wrapf(err, "parse cgroup file %s", p)) + return errorPath(fmt.Errorf("parse cgroup file %s: %w", p, err)) } return existingPath(paths, "") } diff --git a/vendor/github.com/containerd/cgroups/rdma.go b/vendor/github.com/containerd/cgroups/rdma.go index b6f0d416c..3b59b1071 100644 --- a/vendor/github.com/containerd/cgroups/rdma.go +++ b/vendor/github.com/containerd/cgroups/rdma.go @@ -67,6 +67,7 @@ func (p *rdmaController) Create(path string, resources *specs.LinuxResources) er for device, limit := range resources.Rdma { if device != "" && (limit.HcaHandles != nil || limit.HcaObjects != nil) { + limit := limit return retryingWriteFile( filepath.Join(p.Path(path), "rdma.max"), []byte(createCmdString(device, &limit)), diff --git a/vendor/github.com/containerd/cgroups/stats/v1/metrics.pb.go b/vendor/github.com/containerd/cgroups/stats/v1/metrics.pb.go index a530f1d8f..6d2d41770 100644 --- a/vendor/github.com/containerd/cgroups/stats/v1/metrics.pb.go +++ b/vendor/github.com/containerd/cgroups/stats/v1/metrics.pb.go @@ -9,6 +9,7 @@ import ( proto "github.com/gogo/protobuf/proto" io "io" math "math" + math_bits "math/bits" reflect "reflect" strings "strings" ) @@ -22,21 +23,21 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type Metrics struct { - Hugetlb []*HugetlbStat `protobuf:"bytes,1,rep,name=hugetlb,proto3" json:"hugetlb,omitempty"` - Pids *PidsStat `protobuf:"bytes,2,opt,name=pids,proto3" json:"pids,omitempty"` - CPU *CPUStat `protobuf:"bytes,3,opt,name=cpu,proto3" json:"cpu,omitempty"` - Memory *MemoryStat `protobuf:"bytes,4,opt,name=memory,proto3" json:"memory,omitempty"` - Blkio *BlkIOStat `protobuf:"bytes,5,opt,name=blkio,proto3" json:"blkio,omitempty"` - Rdma *RdmaStat `protobuf:"bytes,6,opt,name=rdma,proto3" json:"rdma,omitempty"` - Network []*NetworkStat `protobuf:"bytes,7,rep,name=network,proto3" json:"network,omitempty"` - CgroupStats *CgroupStats `protobuf:"bytes,8,opt,name=cgroup_stats,json=cgroupStats,proto3" json:"cgroup_stats,omitempty"` - MemoryOomControl *MemoryOomControl `protobuf:"bytes,9,opt,name=memory_oom_control,json=MemoryOomControl,proto3" json:"memory_oom_control,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Hugetlb []*HugetlbStat `protobuf:"bytes,1,rep,name=hugetlb,proto3" json:"hugetlb,omitempty"` + Pids *PidsStat `protobuf:"bytes,2,opt,name=pids,proto3" json:"pids,omitempty"` + CPU *CPUStat `protobuf:"bytes,3,opt,name=cpu,proto3" json:"cpu,omitempty"` + Memory *MemoryStat `protobuf:"bytes,4,opt,name=memory,proto3" json:"memory,omitempty"` + Blkio *BlkIOStat `protobuf:"bytes,5,opt,name=blkio,proto3" json:"blkio,omitempty"` + Rdma *RdmaStat `protobuf:"bytes,6,opt,name=rdma,proto3" json:"rdma,omitempty"` + Network []*NetworkStat `protobuf:"bytes,7,rep,name=network,proto3" json:"network,omitempty"` + CgroupStats *CgroupStats `protobuf:"bytes,8,opt,name=cgroup_stats,json=cgroupStats,proto3" json:"cgroup_stats,omitempty"` + MemoryOomControl *MemoryOomControl `protobuf:"bytes,9,opt,name=memory_oom_control,json=memoryOomControl,proto3" json:"memory_oom_control,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Metrics) Reset() { *m = Metrics{} } @@ -52,7 +53,7 @@ func (m *Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Metrics.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -94,7 +95,7 @@ func (m *HugetlbStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return xxx_messageInfo_HugetlbStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -134,7 +135,7 @@ func (m *PidsStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PidsStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -174,7 +175,7 @@ func (m *CPUStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CPUStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -217,7 +218,7 @@ func (m *CPUUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CPUUsage.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -258,7 +259,7 @@ func (m *Throttle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Throttle.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -332,7 +333,7 @@ func (m *MemoryStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MemoryStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -374,7 +375,7 @@ func (m *MemoryEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return xxx_messageInfo_MemoryEntry.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -394,15 +395,15 @@ func (m *MemoryEntry) XXX_DiscardUnknown() { var xxx_messageInfo_MemoryEntry proto.InternalMessageInfo type MemoryOomControl struct { - OomKillDisable uint64 `protobuf:"varint,1,opt,name=oom_kill_disable,proto3" json:oom_kill_disable",omitempty"` - UnderOom uint64 `protobuf:"varint,2,opt,name=under_oom,proto3" json:"under_oom,omitempty"` - OomKill uint64 `protobuf:"varint,3,opt,name=oom_kill,proto3" json:"oom_kill,omitempty"` + OomKillDisable uint64 `protobuf:"varint,1,opt,name=oom_kill_disable,json=oomKillDisable,proto3" json:"oom_kill_disable,omitempty"` + UnderOom uint64 `protobuf:"varint,2,opt,name=under_oom,json=underOom,proto3" json:"under_oom,omitempty"` + OomKill uint64 `protobuf:"varint,3,opt,name=oom_kill,json=oomKill,proto3" json:"oom_kill,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *MemoryOomControl) Reset() { *m = MemoryOomControl{} } +func (m *MemoryOomControl) Reset() { *m = MemoryOomControl{} } func (*MemoryOomControl) ProtoMessage() {} func (*MemoryOomControl) Descriptor() ([]byte, []int) { return fileDescriptor_a17b2d87c332bfaa, []int{8} @@ -415,7 +416,7 @@ func (m *MemoryOomControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return xxx_messageInfo_MemoryOomControl.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -461,7 +462,7 @@ func (m *BlkIOStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BlkIOStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -504,7 +505,7 @@ func (m *BlkIOEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BlkIOEntry.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -544,7 +545,7 @@ func (m *RdmaStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RdmaStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -585,7 +586,7 @@ func (m *RdmaEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RdmaEntry.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -632,7 +633,7 @@ func (m *NetworkStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return xxx_messageInfo_NetworkStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -681,7 +682,7 @@ func (m *CgroupStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return xxx_messageInfo_CgroupStats.Marshal(b, m, deterministic) } else { b = b[:cap(b)] - n, err := m.MarshalTo(b) + n, err := m.MarshalToSizedBuffer(b) if err != nil { return nil, err } @@ -723,118 +724,123 @@ func init() { } var fileDescriptor_a17b2d87c332bfaa = []byte{ - // 1669 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0x4f, 0x73, 0x1b, 0xb7, - 0x15, 0x0f, 0xc5, 0x95, 0xc8, 0x7d, 0x94, 0x6c, 0x09, 0xfe, 0xb7, 0x52, 0x1c, 0x51, 0xa1, 0xec, - 0xd6, 0xad, 0xa7, 0xd2, 0x24, 0xed, 0x78, 0xea, 0x34, 0x99, 0x4e, 0xa4, 0x24, 0x63, 0x4f, 0xab, - 0x9a, 0x59, 0x4a, 0x93, 0xf6, 0xb4, 0x03, 0x2e, 0xe1, 0x25, 0xac, 0xe5, 0x62, 0x83, 0xc5, 0x52, - 0x74, 0x4f, 0x3d, 0x74, 0xa6, 0xa7, 0x7e, 0xa0, 0x7e, 0x83, 0x1c, 0x7b, 0xe9, 0x4c, 0x7b, 0xd1, - 0x34, 0xfc, 0x1c, 0x3d, 0x74, 0x80, 0x87, 0xfd, 0x43, 0xc7, 0xb2, 0xc2, 0xdb, 0xe2, 0xe1, 0xf7, - 0x7e, 0xef, 0xe1, 0xe1, 0x07, 0xe0, 0x91, 0xf0, 0xab, 0x88, 0xab, 0x71, 0x3e, 0x3c, 0x08, 0xc5, - 0xe4, 0x30, 0x14, 0x89, 0xa2, 0x3c, 0x61, 0x72, 0x74, 0x18, 0x46, 0x52, 0xe4, 0x69, 0x76, 0x98, - 0x29, 0xaa, 0xb2, 0xc3, 0xe9, 0x47, 0x87, 0x13, 0xa6, 0x24, 0x0f, 0xb3, 0x83, 0x54, 0x0a, 0x25, - 0x88, 0xc7, 0xc5, 0x41, 0x85, 0x3e, 0xb0, 0xe8, 0x83, 0xe9, 0x47, 0x3b, 0xb7, 0x23, 0x11, 0x09, - 0x03, 0x3a, 0xd4, 0x5f, 0x88, 0xef, 0xfd, 0xaf, 0x09, 0xad, 0x13, 0x64, 0x20, 0xbf, 0x85, 0xd6, - 0x38, 0x8f, 0x98, 0x8a, 0x87, 0x5e, 0x63, 0xaf, 0xf9, 0xa8, 0xf3, 0xf1, 0xc3, 0x83, 0xab, 0xd8, - 0x0e, 0x9e, 0x21, 0x70, 0xa0, 0xa8, 0xf2, 0x0b, 0x2f, 0xf2, 0x04, 0x9c, 0x94, 0x8f, 0x32, 0x6f, - 0x65, 0xaf, 0xf1, 0xa8, 0xf3, 0x71, 0xef, 0x6a, 0xef, 0x3e, 0x1f, 0x65, 0xc6, 0xd5, 0xe0, 0xc9, - 0xa7, 0xd0, 0x0c, 0xd3, 0xdc, 0x6b, 0x1a, 0xb7, 0x0f, 0xaf, 0x76, 0x3b, 0xee, 0x9f, 0x69, 0xaf, - 0xa3, 0xd6, 0xfc, 0xb2, 0xdb, 0x3c, 0xee, 0x9f, 0xf9, 0xda, 0x8d, 0x7c, 0x0a, 0x6b, 0x13, 0x36, - 0x11, 0xf2, 0xb5, 0xe7, 0x18, 0x82, 0x07, 0x57, 0x13, 0x9c, 0x18, 0x9c, 0x89, 0x6c, 0x7d, 0xc8, - 0x53, 0x58, 0x1d, 0xc6, 0xe7, 0x5c, 0x78, 0xab, 0xc6, 0x79, 0xff, 0x6a, 0xe7, 0xa3, 0xf8, 0xfc, - 0xf9, 0x0b, 0xe3, 0x8b, 0x1e, 0x7a, 0xb9, 0x72, 0x34, 0xa1, 0xde, 0xda, 0x75, 0xcb, 0xf5, 0x47, - 0x13, 0x8a, 0xcb, 0xd5, 0x78, 0x5d, 0xe7, 0x84, 0xa9, 0x0b, 0x21, 0xcf, 0xbd, 0xd6, 0x75, 0x75, - 0xfe, 0x03, 0x02, 0xb1, 0xce, 0xd6, 0x8b, 0x3c, 0x83, 0x75, 0x84, 0x04, 0x46, 0x05, 0x5e, 0xdb, - 0x24, 0xf0, 0x0e, 0x96, 0x63, 0xf3, 0xa9, 0x49, 0x32, 0xbf, 0x13, 0x56, 0x83, 0xde, 0x39, 0x74, - 0x6a, 0x3b, 0x49, 0x6e, 0xc3, 0x6a, 0x9e, 0xd1, 0x88, 0x79, 0x8d, 0xbd, 0xc6, 0x23, 0xc7, 0xc7, - 0x01, 0xd9, 0x84, 0xe6, 0x84, 0xce, 0xcc, 0xae, 0x3a, 0xbe, 0xfe, 0x24, 0x1e, 0xb4, 0x5e, 0x52, - 0x1e, 0x87, 0x89, 0x32, 0x9b, 0xe6, 0xf8, 0xc5, 0x90, 0xec, 0x40, 0x3b, 0xa5, 0x11, 0xcb, 0xf8, - 0x9f, 0x99, 0xd9, 0x0e, 0xd7, 0x2f, 0xc7, 0xbd, 0x4f, 0xa0, 0x5d, 0x6c, 0xbc, 0x66, 0x08, 0x73, - 0x29, 0x59, 0xa2, 0x6c, 0xac, 0x62, 0xa8, 0x73, 0x88, 0xf9, 0x84, 0x2b, 0x1b, 0x0f, 0x07, 0xbd, - 0xbf, 0x35, 0xa0, 0x65, 0xb7, 0x9f, 0xfc, 0xba, 0x9e, 0xe5, 0x3b, 0x0b, 0x7f, 0xdc, 0x3f, 0x3b, - 0xd3, 0xc8, 0x62, 0x25, 0x47, 0x00, 0x6a, 0x2c, 0x85, 0x52, 0x31, 0x4f, 0xa2, 0xeb, 0x65, 0x7a, - 0x8a, 0x58, 0xe6, 0xd7, 0xbc, 0x7a, 0xdf, 0x42, 0xbb, 0xa0, 0xd5, 0xb9, 0x2a, 0xa1, 0x68, 0x5c, - 0xd4, 0xcb, 0x0c, 0xc8, 0x5d, 0x58, 0x3b, 0x67, 0x32, 0x61, 0xb1, 0x5d, 0x82, 0x1d, 0x11, 0x02, - 0x4e, 0x9e, 0x31, 0x69, 0x4b, 0x66, 0xbe, 0xc9, 0x3e, 0xb4, 0x52, 0x26, 0x03, 0x2d, 0x7f, 0x67, - 0xaf, 0xf9, 0xc8, 0x39, 0x82, 0xf9, 0x65, 0x77, 0xad, 0xcf, 0xa4, 0x96, 0xf7, 0x5a, 0xca, 0xe4, - 0x71, 0x9a, 0xf7, 0x66, 0xd0, 0x2e, 0x52, 0xd1, 0x85, 0x4b, 0x99, 0xe4, 0x62, 0x94, 0x15, 0x85, - 0xb3, 0x43, 0xf2, 0x18, 0xb6, 0x6c, 0x9a, 0x6c, 0x14, 0x14, 0x18, 0xcc, 0x60, 0xb3, 0x9c, 0xe8, - 0x5b, 0xf0, 0x43, 0xb8, 0x51, 0x81, 0x15, 0x9f, 0x30, 0x9b, 0xd5, 0x46, 0x69, 0x3d, 0xe5, 0x13, - 0xd6, 0xfb, 0x4f, 0x07, 0xa0, 0x3a, 0x34, 0x7a, 0xbd, 0x21, 0x0d, 0xc7, 0xa5, 0x3e, 0xcc, 0x80, - 0x6c, 0x43, 0x53, 0x66, 0x36, 0x14, 0x9e, 0x4d, 0x7f, 0x30, 0xf0, 0xb5, 0x8d, 0xfc, 0x04, 0xda, - 0x32, 0xcb, 0x02, 0x7d, 0x41, 0x60, 0x80, 0xa3, 0xce, 0xfc, 0xb2, 0xdb, 0xf2, 0x07, 0x03, 0x2d, - 0x3b, 0xbf, 0x25, 0xb3, 0x4c, 0x7f, 0x90, 0x2e, 0x74, 0x26, 0x34, 0x4d, 0xd9, 0x28, 0x78, 0xc9, - 0x63, 0x54, 0x8e, 0xe3, 0x03, 0x9a, 0xbe, 0xe2, 0xb1, 0xa9, 0xf4, 0x88, 0x4b, 0xf5, 0xda, 0x1c, - 0x53, 0xc7, 0xc7, 0x01, 0xb9, 0x0f, 0xee, 0x85, 0xe4, 0x8a, 0x0d, 0x69, 0x78, 0x6e, 0x8e, 0xa1, - 0xe3, 0x57, 0x06, 0xe2, 0x41, 0x3b, 0x8d, 0x82, 0x34, 0x0a, 0x78, 0xe2, 0xb5, 0x70, 0x27, 0xd2, - 0xa8, 0x1f, 0x3d, 0x4f, 0xc8, 0x0e, 0xb8, 0x38, 0x23, 0x72, 0x65, 0x4e, 0x8f, 0x2e, 0x63, 0xd4, - 0x8f, 0x5e, 0xe4, 0x8a, 0x6c, 0x1b, 0xaf, 0x97, 0x34, 0x8f, 0x95, 0xe7, 0x16, 0x53, 0x5f, 0xe9, - 0x21, 0xd9, 0x83, 0xf5, 0x34, 0x0a, 0x26, 0xf4, 0x95, 0x9d, 0x06, 0x4c, 0x33, 0x8d, 0x4e, 0xe8, - 0x2b, 0x44, 0xec, 0xc3, 0x06, 0x4f, 0x68, 0xa8, 0xf8, 0x94, 0x05, 0x34, 0x11, 0x89, 0xd7, 0x31, - 0x90, 0xf5, 0xc2, 0xf8, 0x79, 0x22, 0x12, 0xbd, 0xd8, 0x3a, 0x64, 0x1d, 0x59, 0x6a, 0x80, 0x3a, - 0x8b, 0xa9, 0xc7, 0xc6, 0x22, 0x8b, 0xa9, 0x48, 0xc5, 0x62, 0x20, 0x37, 0xea, 0x2c, 0x06, 0xb0, - 0x07, 0x9d, 0x3c, 0x61, 0x53, 0x1e, 0x2a, 0x3a, 0x8c, 0x99, 0x77, 0xd3, 0x00, 0xea, 0x26, 0xf2, - 0x09, 0x6c, 0x8f, 0x39, 0x93, 0x54, 0x86, 0x63, 0x1e, 0xd2, 0x38, 0xc0, 0x2b, 0x31, 0xc0, 0xe3, - 0xb7, 0x69, 0xf0, 0xf7, 0xea, 0x00, 0x54, 0xc2, 0xef, 0xf5, 0x34, 0x79, 0x02, 0x0b, 0x53, 0x41, - 0x76, 0x41, 0x53, 0xeb, 0xb9, 0x65, 0x3c, 0xef, 0xd4, 0xa7, 0x07, 0x17, 0x34, 0x45, 0xbf, 0x2e, - 0x74, 0xcc, 0x29, 0x09, 0x50, 0x48, 0x04, 0xd3, 0x36, 0xa6, 0x63, 0xa3, 0xa6, 0x9f, 0x81, 0x8b, - 0x00, 0xad, 0xa9, 0x5b, 0x46, 0x33, 0xeb, 0xf3, 0xcb, 0x6e, 0xfb, 0x54, 0x1b, 0xb5, 0xb0, 0xda, - 0x66, 0xda, 0xcf, 0x32, 0xf2, 0x04, 0x6e, 0x94, 0x50, 0xd4, 0xd8, 0x6d, 0x83, 0xdf, 0x9c, 0x5f, - 0x76, 0xd7, 0x0b, 0xbc, 0x11, 0xda, 0x7a, 0xe1, 0x63, 0xd4, 0xf6, 0x73, 0xd8, 0x42, 0xbf, 0xba, - 0xe6, 0xee, 0x98, 0x4c, 0x6e, 0x9a, 0x89, 0x93, 0x4a, 0x78, 0x65, 0xbe, 0x28, 0xbf, 0xbb, 0xb5, - 0x7c, 0xbf, 0x30, 0x1a, 0xfc, 0x29, 0xa0, 0x4f, 0x50, 0x29, 0xf1, 0x9e, 0x01, 0x61, 0x6e, 0xdf, - 0x94, 0x72, 0xdc, 0x2f, 0xb2, 0x2d, 0x45, 0xe9, 0xe1, 0x96, 0x18, 0x6b, 0x1f, 0x95, 0xf9, 0xb0, - 0x60, 0xab, 0xf4, 0xb9, 0x8d, 0x9b, 0x5f, 0xa2, 0xb4, 0x48, 0x1f, 0xd4, 0xb8, 0x50, 0x8b, 0x3b, - 0x0b, 0x28, 0x54, 0xe3, 0x63, 0x20, 0x25, 0xaa, 0x52, 0xed, 0xfb, 0xb5, 0x85, 0xf6, 0x2b, 0xe9, - 0x1e, 0xc0, 0x2d, 0x04, 0x2f, 0x0a, 0xf8, 0xbe, 0x41, 0x63, 0xbd, 0x9e, 0xd7, 0x55, 0x5c, 0x16, - 0xb1, 0x8e, 0xfe, 0xa0, 0xc6, 0xfd, 0x79, 0x85, 0xfd, 0x21, 0xb7, 0x29, 0xf9, 0xee, 0x5b, 0xb8, - 0x4d, 0xd1, 0xdf, 0xe4, 0x36, 0xe8, 0xee, 0x0f, 0xb8, 0x0d, 0xf6, 0x71, 0x81, 0xad, 0x8b, 0x7d, - 0xcf, 0x5e, 0x7b, 0x7a, 0xe2, 0xac, 0xa6, 0xf8, 0xdf, 0x14, 0x4f, 0xc7, 0x87, 0xd7, 0x3d, 0x99, - 0xa8, 0xf5, 0x2f, 0x13, 0x25, 0x5f, 0x17, 0xaf, 0xc7, 0x53, 0x70, 0xb4, 0xca, 0xbd, 0xde, 0x32, - 0xbe, 0xc6, 0x85, 0x7c, 0x56, 0x3e, 0x09, 0xfb, 0xcb, 0x38, 0x17, 0x2f, 0xc7, 0x00, 0x00, 0xbf, - 0x02, 0x15, 0xa6, 0xde, 0x83, 0x25, 0x28, 0x8e, 0x36, 0xe6, 0x97, 0x5d, 0xf7, 0x77, 0xc6, 0xf9, - 0xf4, 0xb8, 0xef, 0xbb, 0xc8, 0x73, 0x1a, 0xa6, 0x3d, 0x06, 0x9d, 0x1a, 0xb0, 0x7a, 0x77, 0x1b, - 0xb5, 0x77, 0xb7, 0xea, 0x08, 0x56, 0xde, 0xd2, 0x11, 0x34, 0xdf, 0xda, 0x11, 0x38, 0x0b, 0x1d, - 0x41, 0xef, 0x5f, 0xab, 0xe0, 0x96, 0xad, 0x13, 0xa1, 0xb0, 0xc3, 0x45, 0x90, 0x31, 0x39, 0xe5, - 0x21, 0x0b, 0x86, 0xaf, 0x15, 0xcb, 0x02, 0xc9, 0xc2, 0x5c, 0x66, 0x7c, 0xca, 0x6c, 0xdb, 0xf9, - 0xe0, 0x9a, 0x1e, 0x0c, 0x6b, 0x73, 0x8f, 0x8b, 0x01, 0xd2, 0x1c, 0x69, 0x16, 0xbf, 0x20, 0x21, - 0x7f, 0x84, 0x3b, 0x55, 0x88, 0x51, 0x8d, 0x7d, 0x65, 0x09, 0xf6, 0x5b, 0x25, 0xfb, 0xa8, 0x62, - 0x3e, 0x85, 0x5b, 0x5c, 0x04, 0xdf, 0xe6, 0x2c, 0x5f, 0xe0, 0x6d, 0x2e, 0xc1, 0xbb, 0xc5, 0xc5, - 0xd7, 0xc6, 0xbf, 0x62, 0x0d, 0x60, 0xbb, 0x56, 0x12, 0xfd, 0x16, 0xd7, 0xb8, 0x9d, 0x25, 0xb8, - 0xef, 0x96, 0x39, 0xeb, 0xb7, 0xbb, 0x0a, 0xf0, 0x27, 0xb8, 0xcb, 0x45, 0x70, 0x41, 0xb9, 0x7a, - 0x93, 0x7d, 0x75, 0xb9, 0x8a, 0x7c, 0x43, 0xb9, 0x5a, 0xa4, 0xc6, 0x8a, 0x4c, 0x98, 0x8c, 0x16, - 0x2a, 0xb2, 0xb6, 0x5c, 0x45, 0x4e, 0x8c, 0x7f, 0xc5, 0xda, 0x87, 0x2d, 0x2e, 0xde, 0xcc, 0xb5, - 0xb5, 0x04, 0xe7, 0x4d, 0x2e, 0x16, 0xf3, 0xfc, 0x1a, 0xb6, 0x32, 0x16, 0x2a, 0x21, 0xeb, 0x6a, - 0x6b, 0x2f, 0xc1, 0xb8, 0x69, 0xdd, 0x4b, 0xca, 0xde, 0x14, 0xa0, 0x9a, 0x27, 0x37, 0x60, 0x45, - 0xa4, 0xe6, 0xe8, 0xb8, 0xfe, 0x8a, 0x48, 0x75, 0x0f, 0x38, 0xd2, 0xd7, 0x0e, 0x1e, 0x1c, 0xd7, - 0xb7, 0x23, 0x7d, 0x9e, 0x26, 0xf4, 0x95, 0x28, 0x9a, 0x40, 0x1c, 0x18, 0x2b, 0x4f, 0x84, 0xb4, - 0x67, 0x07, 0x07, 0xda, 0x3a, 0xa5, 0x71, 0xce, 0x8a, 0x9e, 0xc7, 0x0c, 0x7a, 0x7f, 0x6d, 0x40, - 0xbb, 0xf8, 0x41, 0x41, 0x3e, 0xab, 0xb7, 0xd1, 0xcd, 0x77, 0xff, 0x7e, 0xd1, 0x4e, 0xb8, 0x98, - 0xb2, 0xd7, 0x7e, 0x5a, 0xf5, 0xda, 0x3f, 0xda, 0xd9, 0x36, 0xe4, 0x0c, 0xdc, 0xd2, 0x56, 0x5b, - 0x6d, 0x63, 0x61, 0xb5, 0x5d, 0xe8, 0x8c, 0x43, 0x1a, 0x8c, 0x69, 0x32, 0x8a, 0x19, 0x76, 0x88, - 0x1b, 0x3e, 0x8c, 0x43, 0xfa, 0x0c, 0x2d, 0x05, 0x40, 0x0c, 0x5f, 0xb1, 0x50, 0x65, 0xa6, 0x28, - 0x08, 0x78, 0x81, 0x96, 0xde, 0xdf, 0x57, 0xa0, 0x53, 0xfb, 0x0d, 0xa4, 0x7b, 0xe8, 0x84, 0x4e, - 0x8a, 0x38, 0xe6, 0x5b, 0x77, 0x6c, 0x72, 0x86, 0x77, 0x89, 0xbd, 0xa6, 0x5a, 0x72, 0x66, 0x2e, - 0x05, 0xf2, 0x01, 0x80, 0x9c, 0x05, 0x29, 0x0d, 0xcf, 0x99, 0xa5, 0x77, 0x7c, 0x57, 0xce, 0xfa, - 0x68, 0x20, 0xef, 0x83, 0x2b, 0x67, 0x01, 0x93, 0x52, 0xc8, 0xcc, 0xd6, 0xbe, 0x2d, 0x67, 0x5f, - 0x9a, 0xb1, 0xf5, 0x1d, 0x49, 0xa1, 0x7b, 0x01, 0xbb, 0x07, 0xae, 0x9c, 0x7d, 0x81, 0x06, 0x1d, - 0x55, 0x15, 0x51, 0xb1, 0xf5, 0x6c, 0xa9, 0x2a, 0xaa, 0xaa, 0xa2, 0x62, 0xeb, 0xe9, 0xaa, 0x7a, - 0x54, 0x55, 0x46, 0xc5, 0xee, 0xb3, 0xad, 0x6a, 0x51, 0x55, 0x15, 0xd5, 0x2d, 0x7c, 0x6d, 0xd4, - 0xde, 0x3f, 0x1a, 0xd0, 0xa9, 0xfd, 0x9a, 0xd3, 0x05, 0x4c, 0x64, 0x90, 0xc5, 0x8c, 0xa5, 0xfa, - 0x27, 0x0d, 0xde, 0xdd, 0x90, 0xc8, 0x81, 0xb5, 0x68, 0xbe, 0x44, 0x06, 0x32, 0x4f, 0x92, 0xe2, - 0x27, 0x8f, 0xe3, 0xbb, 0x89, 0xf4, 0xd1, 0x60, 0xa7, 0x33, 0x85, 0xe1, 0x9a, 0xc5, 0xf4, 0x00, - 0x0d, 0xe4, 0x17, 0x40, 0x12, 0x19, 0xe4, 0x09, 0x4f, 0x14, 0x93, 0x32, 0x4f, 0x15, 0x1f, 0x96, - 0xed, 0xf9, 0x56, 0x22, 0xcf, 0x16, 0x27, 0xc8, 0x7d, 0xc3, 0x66, 0x2f, 0x1b, 0x5b, 0xb2, 0x76, - 0x22, 0x9f, 0x9b, 0x9b, 0xe3, 0xc8, 0xfb, 0xee, 0xfb, 0xdd, 0xf7, 0xfe, 0xfd, 0xfd, 0xee, 0x7b, - 0x7f, 0x99, 0xef, 0x36, 0xbe, 0x9b, 0xef, 0x36, 0xfe, 0x39, 0xdf, 0x6d, 0xfc, 0x77, 0xbe, 0xdb, - 0x18, 0xae, 0x99, 0x3f, 0x23, 0x7e, 0xf9, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x78, 0x66, - 0x06, 0xf4, 0x10, 0x00, 0x00, + // 1749 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0xcd, 0x72, 0xe3, 0xc6, + 0x11, 0x36, 0x45, 0x48, 0x24, 0x9a, 0x92, 0x56, 0x9a, 0xfd, 0x83, 0xe4, 0xb5, 0x28, 0x53, 0xbb, + 0x89, 0xe2, 0xad, 0x48, 0x65, 0x27, 0xb5, 0x95, 0x75, 0xec, 0x4a, 0x59, 0x5a, 0xbb, 0x76, 0xcb, + 0x51, 0x44, 0x83, 0x52, 0xd9, 0x39, 0xa1, 0x40, 0x70, 0x16, 0x9c, 0x15, 0x80, 0x81, 0x07, 0x03, + 0x89, 0xca, 0x29, 0x87, 0x54, 0xe5, 0x94, 0x07, 0xca, 0x1b, 0xf8, 0x98, 0x4b, 0x52, 0xc9, 0x45, + 0x15, 0xf3, 0x49, 0x52, 0x33, 0x3d, 0xf8, 0xa1, 0xbc, 0x5a, 0x85, 0x37, 0x76, 0xcf, 0xd7, 0x5f, + 0xf7, 0x34, 0xbe, 0x19, 0x34, 0x08, 0xbf, 0x0e, 0x99, 0x1c, 0xe7, 0xc3, 0xbd, 0x80, 0xc7, 0xfb, + 0x01, 0x4f, 0xa4, 0xcf, 0x12, 0x2a, 0x46, 0xfb, 0x41, 0x28, 0x78, 0x9e, 0x66, 0xfb, 0x99, 0xf4, + 0x65, 0xb6, 0x7f, 0xfe, 0xf1, 0x7e, 0x4c, 0xa5, 0x60, 0x41, 0xb6, 0x97, 0x0a, 0x2e, 0x39, 0x71, + 0x18, 0xdf, 0xab, 0xd0, 0x7b, 0x06, 0xbd, 0x77, 0xfe, 0xf1, 0xe6, 0xbd, 0x90, 0x87, 0x5c, 0x83, + 0xf6, 0xd5, 0x2f, 0xc4, 0xf7, 0xfe, 0x65, 0x41, 0xeb, 0x08, 0x19, 0xc8, 0xef, 0xa0, 0x35, 0xce, + 0x43, 0x2a, 0xa3, 0xa1, 0xd3, 0xd8, 0x6e, 0xee, 0x76, 0x3e, 0x79, 0xb2, 0x77, 0x13, 0xdb, 0xde, + 0x4b, 0x04, 0x0e, 0xa4, 0x2f, 0xdd, 0x22, 0x8a, 0x3c, 0x03, 0x2b, 0x65, 0xa3, 0xcc, 0x59, 0xd8, + 0x6e, 0xec, 0x76, 0x3e, 0xe9, 0xdd, 0x1c, 0xdd, 0x67, 0xa3, 0x4c, 0x87, 0x6a, 0x3c, 0xf9, 0x0c, + 0x9a, 0x41, 0x9a, 0x3b, 0x4d, 0x1d, 0xf6, 0xe1, 0xcd, 0x61, 0x87, 0xfd, 0x53, 0x15, 0x75, 0xd0, + 0x9a, 0x5e, 0x75, 0x9b, 0x87, 0xfd, 0x53, 0x57, 0x85, 0x91, 0xcf, 0x60, 0x29, 0xa6, 0x31, 0x17, + 0x97, 0x8e, 0xa5, 0x09, 0x1e, 0xdf, 0x4c, 0x70, 0xa4, 0x71, 0x3a, 0xb3, 0x89, 0x21, 0xcf, 0x61, + 0x71, 0x18, 0x9d, 0x31, 0xee, 0x2c, 0xea, 0xe0, 0x9d, 0x9b, 0x83, 0x0f, 0xa2, 0xb3, 0x57, 0xc7, + 0x3a, 0x16, 0x23, 0xd4, 0x76, 0xc5, 0x28, 0xf6, 0x9d, 0xa5, 0xdb, 0xb6, 0xeb, 0x8e, 0x62, 0x1f, + 0xb7, 0xab, 0xf0, 0xaa, 0xcf, 0x09, 0x95, 0x17, 0x5c, 0x9c, 0x39, 0xad, 0xdb, 0xfa, 0xfc, 0x07, + 0x04, 0x62, 0x9f, 0x4d, 0x14, 0x79, 0x09, 0xcb, 0x08, 0xf1, 0xb4, 0x0a, 0x9c, 0xb6, 0x2e, 0xe0, + 0x1d, 0x2c, 0x87, 0xfa, 0xa7, 0x22, 0xc9, 0xdc, 0x4e, 0x50, 0x19, 0xe4, 0x3b, 0x20, 0xd8, 0x07, + 0x8f, 0xf3, 0xd8, 0x53, 0xc1, 0x82, 0x47, 0x8e, 0xad, 0xf9, 0x3e, 0xba, 0xad, 0x8f, 0xc7, 0x3c, + 0x3e, 0xc4, 0x08, 0x77, 0x2d, 0xbe, 0xe6, 0xe9, 0x9d, 0x41, 0xa7, 0xa6, 0x11, 0x72, 0x0f, 0x16, + 0xf3, 0xcc, 0x0f, 0xa9, 0xd3, 0xd8, 0x6e, 0xec, 0x5a, 0x2e, 0x1a, 0x64, 0x0d, 0x9a, 0xb1, 0x3f, + 0xd1, 0x7a, 0xb1, 0x5c, 0xf5, 0x93, 0x38, 0xd0, 0x7a, 0xed, 0xb3, 0x28, 0x48, 0xa4, 0x96, 0x83, + 0xe5, 0x16, 0x26, 0xd9, 0x84, 0x76, 0xea, 0x87, 0x34, 0x63, 0x7f, 0xa2, 0xfa, 0x41, 0xdb, 0x6e, + 0x69, 0xf7, 0x3e, 0x85, 0x76, 0x21, 0x29, 0xc5, 0x10, 0xe4, 0x42, 0xd0, 0x44, 0x9a, 0x5c, 0x85, + 0xa9, 0x6a, 0x88, 0x58, 0xcc, 0xa4, 0xc9, 0x87, 0x46, 0xef, 0xaf, 0x0d, 0x68, 0x19, 0x61, 0x91, + 0xdf, 0xd4, 0xab, 0x7c, 0xe7, 0x23, 0x3d, 0xec, 0x9f, 0x9e, 0x2a, 0x64, 0xb1, 0x93, 0x03, 0x00, + 0x39, 0x16, 0x5c, 0xca, 0x88, 0x25, 0xe1, 0xed, 0x07, 0xe0, 0x04, 0xb1, 0xd4, 0xad, 0x45, 0xf5, + 0xbe, 0x87, 0x76, 0x41, 0xab, 0x6a, 0x95, 0x5c, 0xfa, 0x51, 0xd1, 0x2f, 0x6d, 0x90, 0x07, 0xb0, + 0x74, 0x46, 0x45, 0x42, 0x23, 0xb3, 0x05, 0x63, 0x11, 0x02, 0x56, 0x9e, 0x51, 0x61, 0x5a, 0xa6, + 0x7f, 0x93, 0x1d, 0x68, 0xa5, 0x54, 0x78, 0xea, 0x60, 0x59, 0xdb, 0xcd, 0x5d, 0xeb, 0x00, 0xa6, + 0x57, 0xdd, 0xa5, 0x3e, 0x15, 0xea, 0xe0, 0x2c, 0xa5, 0x54, 0x1c, 0xa6, 0x79, 0x6f, 0x02, 0xed, + 0xa2, 0x14, 0xd5, 0xb8, 0x94, 0x0a, 0xc6, 0x47, 0x59, 0xd1, 0x38, 0x63, 0x92, 0xa7, 0xb0, 0x6e, + 0xca, 0xa4, 0x23, 0xaf, 0xc0, 0x60, 0x05, 0x6b, 0xe5, 0x42, 0xdf, 0x80, 0x9f, 0xc0, 0x6a, 0x05, + 0x96, 0x2c, 0xa6, 0xa6, 0xaa, 0x95, 0xd2, 0x7b, 0xc2, 0x62, 0xda, 0xfb, 0x4f, 0x07, 0xa0, 0x3a, + 0x8e, 0x6a, 0xbf, 0x81, 0x1f, 0x8c, 0x4b, 0x7d, 0x68, 0x83, 0x6c, 0x40, 0x53, 0x64, 0x26, 0x15, + 0x9e, 0x7a, 0x77, 0x30, 0x70, 0x95, 0x8f, 0xfc, 0x0c, 0xda, 0x22, 0xcb, 0x3c, 0x75, 0xf5, 0x60, + 0x82, 0x83, 0xce, 0xf4, 0xaa, 0xdb, 0x72, 0x07, 0x03, 0x25, 0x3b, 0xb7, 0x25, 0xb2, 0x4c, 0xfd, + 0x20, 0x5d, 0xe8, 0xc4, 0x7e, 0x9a, 0xd2, 0x91, 0xf7, 0x9a, 0x45, 0xa8, 0x1c, 0xcb, 0x05, 0x74, + 0x7d, 0xc5, 0x22, 0xdd, 0xe9, 0x11, 0x13, 0xf2, 0x52, 0x5f, 0x00, 0x96, 0x8b, 0x06, 0x79, 0x04, + 0xf6, 0x85, 0x60, 0x92, 0x0e, 0xfd, 0xe0, 0x4c, 0x1f, 0x70, 0xcb, 0xad, 0x1c, 0xc4, 0x81, 0x76, + 0x1a, 0x7a, 0x69, 0xe8, 0xb1, 0xc4, 0x69, 0xe1, 0x93, 0x48, 0xc3, 0x7e, 0xf8, 0x2a, 0x21, 0x9b, + 0x60, 0xe3, 0x0a, 0xcf, 0xa5, 0x3e, 0x97, 0xaa, 0x8d, 0x61, 0x3f, 0x3c, 0xce, 0x25, 0xd9, 0xd0, + 0x51, 0xaf, 0xfd, 0x3c, 0x92, 0xfa, 0x88, 0xe9, 0xa5, 0xaf, 0x94, 0x49, 0xb6, 0x61, 0x39, 0x0d, + 0xbd, 0xd8, 0x7f, 0x63, 0x96, 0x01, 0xcb, 0x4c, 0xc3, 0x23, 0xff, 0x0d, 0x22, 0x76, 0x60, 0x85, + 0x25, 0x7e, 0x20, 0xd9, 0x39, 0xf5, 0xfc, 0x84, 0x27, 0x4e, 0x47, 0x43, 0x96, 0x0b, 0xe7, 0x17, + 0x09, 0x4f, 0xd4, 0x66, 0xeb, 0x90, 0x65, 0x64, 0xa9, 0x01, 0xea, 0x2c, 0xba, 0x1f, 0x2b, 0xb3, + 0x2c, 0xba, 0x23, 0x15, 0x8b, 0x86, 0xac, 0xd6, 0x59, 0x34, 0x60, 0x1b, 0x3a, 0x79, 0x42, 0xcf, + 0x59, 0x20, 0xfd, 0x61, 0x44, 0x9d, 0x3b, 0x1a, 0x50, 0x77, 0x91, 0x4f, 0x61, 0x63, 0xcc, 0xa8, + 0xf0, 0x45, 0x30, 0x66, 0x81, 0x1f, 0x79, 0xe6, 0x92, 0xc1, 0xe3, 0xb7, 0xa6, 0xf1, 0x0f, 0xeb, + 0x00, 0x54, 0xc2, 0xef, 0xd5, 0x32, 0x79, 0x06, 0x33, 0x4b, 0x5e, 0x76, 0xe1, 0xa7, 0x26, 0x72, + 0x5d, 0x47, 0xde, 0xaf, 0x2f, 0x0f, 0x2e, 0xfc, 0x14, 0xe3, 0xba, 0xd0, 0xd1, 0xa7, 0xc4, 0x43, + 0x21, 0x11, 0x2c, 0x5b, 0xbb, 0x0e, 0xb5, 0x9a, 0x7e, 0x01, 0x36, 0x02, 0x94, 0xa6, 0xee, 0x6a, + 0xcd, 0x2c, 0x4f, 0xaf, 0xba, 0xed, 0x13, 0xe5, 0x54, 0xc2, 0x6a, 0xeb, 0x65, 0x37, 0xcb, 0xc8, + 0x33, 0x58, 0x2d, 0xa1, 0xa8, 0xb1, 0x7b, 0x1a, 0xbf, 0x36, 0xbd, 0xea, 0x2e, 0x17, 0x78, 0x2d, + 0xb4, 0xe5, 0x22, 0x46, 0xab, 0xed, 0x23, 0x58, 0xc7, 0xb8, 0xba, 0xe6, 0xee, 0xeb, 0x4a, 0xee, + 0xe8, 0x85, 0xa3, 0x4a, 0x78, 0x65, 0xbd, 0x28, 0xbf, 0x07, 0xb5, 0x7a, 0x5f, 0x68, 0x0d, 0xfe, + 0x1c, 0x30, 0xc6, 0xab, 0x94, 0xf8, 0x50, 0x83, 0xb0, 0xb6, 0x6f, 0x4b, 0x39, 0xee, 0x14, 0xd5, + 0x96, 0xa2, 0x74, 0xf0, 0x91, 0x68, 0x6f, 0x1f, 0x95, 0xf9, 0xa4, 0x60, 0xab, 0xf4, 0xb9, 0x81, + 0x0f, 0xbf, 0x44, 0x29, 0x91, 0x3e, 0xae, 0x71, 0xa1, 0x16, 0x37, 0x67, 0x50, 0xa8, 0xc6, 0xa7, + 0x40, 0x4a, 0x54, 0xa5, 0xda, 0xf7, 0x6b, 0x1b, 0xed, 0x57, 0xd2, 0xdd, 0x83, 0xbb, 0x08, 0x9e, + 0x15, 0xf0, 0x23, 0x8d, 0xc6, 0x7e, 0xbd, 0xaa, 0xab, 0xb8, 0x6c, 0x62, 0x1d, 0xfd, 0x41, 0x8d, + 0xfb, 0x8b, 0x0a, 0xfb, 0x53, 0x6e, 0xdd, 0xf2, 0xad, 0xb7, 0x70, 0xeb, 0xa6, 0x5f, 0xe7, 0xd6, + 0xe8, 0xee, 0x4f, 0xb8, 0x35, 0xf6, 0x69, 0x81, 0xad, 0x8b, 0x7d, 0xdb, 0x5c, 0x7b, 0x6a, 0xe1, + 0xb4, 0xa6, 0xf8, 0xdf, 0x16, 0xaf, 0x8e, 0x0f, 0x6f, 0x7b, 0x19, 0xa3, 0xd6, 0xbf, 0x4c, 0xa4, + 0xb8, 0x2c, 0xde, 0x1e, 0xcf, 0xc1, 0x52, 0x2a, 0x77, 0x7a, 0xf3, 0xc4, 0xea, 0x10, 0xf2, 0x79, + 0xf9, 0x4a, 0xd8, 0x99, 0x27, 0xb8, 0x78, 0x73, 0x0c, 0x00, 0xf0, 0x97, 0x27, 0x83, 0xd4, 0x79, + 0x3c, 0x07, 0xc5, 0xc1, 0xca, 0xf4, 0xaa, 0x6b, 0x7f, 0xad, 0x83, 0x4f, 0x0e, 0xfb, 0xae, 0x8d, + 0x3c, 0x27, 0x41, 0xda, 0xa3, 0xd0, 0xa9, 0x01, 0xab, 0xf7, 0x6e, 0xa3, 0xf6, 0xde, 0xad, 0x26, + 0x82, 0x85, 0xb7, 0x4c, 0x04, 0xcd, 0xb7, 0x4e, 0x04, 0xd6, 0xcc, 0x44, 0xd0, 0x93, 0xb0, 0x76, + 0x7d, 0x10, 0x21, 0xbb, 0xb0, 0xa6, 0x26, 0x99, 0x33, 0x16, 0xa9, 0x73, 0x95, 0xe9, 0x47, 0x86, + 0x69, 0x57, 0x39, 0x8f, 0xbf, 0x66, 0x51, 0xf4, 0x02, 0xbd, 0xe4, 0x7d, 0xb0, 0xf3, 0x64, 0x44, + 0x85, 0x9a, 0x7c, 0x4c, 0x0d, 0x6d, 0xed, 0x38, 0xe6, 0xb1, 0xba, 0xaa, 0x0b, 0x9a, 0x62, 0x0e, + 0x31, 0xe1, 0xbd, 0x7f, 0x2e, 0x82, 0x5d, 0x8e, 0x82, 0xc4, 0x87, 0x4d, 0xc6, 0xbd, 0x8c, 0x8a, + 0x73, 0x16, 0x50, 0x6f, 0x78, 0x29, 0x69, 0xe6, 0x09, 0x1a, 0xe4, 0x22, 0x63, 0xe7, 0xd4, 0x8c, + 0xd1, 0x8f, 0x6f, 0x99, 0x29, 0xf1, 0x89, 0x3c, 0x64, 0x7c, 0x80, 0x34, 0x07, 0x8a, 0xc5, 0x2d, + 0x48, 0xc8, 0x77, 0x70, 0xbf, 0x4a, 0x31, 0xaa, 0xb1, 0x2f, 0xcc, 0xc1, 0x7e, 0xb7, 0x64, 0x1f, + 0x55, 0xcc, 0x27, 0x70, 0x97, 0x71, 0xef, 0xfb, 0x9c, 0xe6, 0x33, 0xbc, 0xcd, 0x39, 0x78, 0xd7, + 0x19, 0xff, 0x46, 0xc7, 0x57, 0xac, 0x1e, 0x6c, 0xd4, 0x5a, 0xa2, 0x26, 0x80, 0x1a, 0xb7, 0x35, + 0x07, 0xf7, 0x83, 0xb2, 0x66, 0x35, 0x31, 0x54, 0x09, 0xfe, 0x08, 0x0f, 0x18, 0xf7, 0x2e, 0x7c, + 0x26, 0xaf, 0xb3, 0x2f, 0xce, 0xd7, 0x91, 0x6f, 0x7d, 0x26, 0x67, 0xa9, 0xb1, 0x23, 0x31, 0x15, + 0xe1, 0x4c, 0x47, 0x96, 0xe6, 0xeb, 0xc8, 0x91, 0x8e, 0xaf, 0x58, 0xfb, 0xb0, 0xce, 0xf8, 0xf5, + 0x5a, 0x5b, 0x73, 0x70, 0xde, 0x61, 0x7c, 0xb6, 0xce, 0x6f, 0x60, 0x3d, 0xa3, 0x81, 0xe4, 0xa2, + 0xae, 0xb6, 0xf6, 0x1c, 0x8c, 0x6b, 0x26, 0xbc, 0xa4, 0xec, 0x9d, 0x03, 0x54, 0xeb, 0x64, 0x15, + 0x16, 0x78, 0xaa, 0x4f, 0x8e, 0xed, 0x2e, 0xf0, 0x54, 0x4d, 0x9e, 0x23, 0x75, 0xd9, 0xe1, 0x71, + 0xb5, 0x5d, 0x63, 0xa9, 0x53, 0x1c, 0xfb, 0x6f, 0x78, 0x31, 0x7a, 0xa2, 0xa1, 0xbd, 0x2c, 0xe1, + 0xc2, 0x9c, 0x58, 0x34, 0x94, 0xf7, 0xdc, 0x8f, 0x72, 0x5a, 0x4c, 0x5a, 0xda, 0xe8, 0xfd, 0xa5, + 0x01, 0xed, 0xe2, 0x03, 0x89, 0x7c, 0x5e, 0x1f, 0xde, 0x9b, 0xef, 0xfe, 0x1e, 0x53, 0x41, 0xb8, + 0x99, 0x72, 0xc2, 0x7f, 0x5e, 0x4d, 0xf8, 0xff, 0x77, 0xb0, 0xf9, 0x0c, 0xa0, 0x60, 0x97, 0xbe, + 0xda, 0x6e, 0x1b, 0x33, 0xbb, 0xed, 0x42, 0x67, 0x1c, 0xf8, 0xde, 0xd8, 0x4f, 0x46, 0x11, 0xc5, + 0xb9, 0x74, 0xc5, 0x85, 0x71, 0xe0, 0xbf, 0x44, 0x4f, 0x01, 0xe0, 0xc3, 0x37, 0x34, 0x90, 0x99, + 0x6e, 0x0a, 0x02, 0x8e, 0xd1, 0xd3, 0xfb, 0xdb, 0x02, 0x74, 0x6a, 0xdf, 0x74, 0x6a, 0x72, 0x4f, + 0xfc, 0xb8, 0xc8, 0xa3, 0x7f, 0xab, 0xcb, 0x47, 0x4c, 0xf0, 0x2e, 0x31, 0x17, 0x53, 0x4b, 0x4c, + 0xf4, 0xa5, 0x40, 0x3e, 0x00, 0x10, 0x13, 0x2f, 0xf5, 0x83, 0x33, 0x6a, 0xe8, 0x2d, 0xd7, 0x16, + 0x93, 0x3e, 0x3a, 0xd4, 0x9d, 0x26, 0x26, 0x1e, 0x15, 0x82, 0x8b, 0xcc, 0xf4, 0xbe, 0x2d, 0x26, + 0x5f, 0x6a, 0xdb, 0xc4, 0x8e, 0x04, 0x57, 0x13, 0x88, 0x79, 0x06, 0xb6, 0x98, 0xbc, 0x40, 0x87, + 0xca, 0x2a, 0x8b, 0xac, 0x38, 0xf0, 0xb6, 0x64, 0x95, 0x55, 0x56, 0x59, 0x71, 0xe0, 0xb5, 0x65, + 0x3d, 0xab, 0x2c, 0xb3, 0xe2, 0xcc, 0xdb, 0x96, 0xb5, 0xac, 0xb2, 0xca, 0x6a, 0x17, 0xb1, 0x26, + 0x6b, 0xef, 0xef, 0x0d, 0xe8, 0xd4, 0xbe, 0x4e, 0x55, 0x03, 0x13, 0xe1, 0x65, 0x11, 0xa5, 0xa9, + 0xfa, 0x90, 0xc2, 0xab, 0x1b, 0x12, 0x31, 0x30, 0x1e, 0xc5, 0x97, 0x08, 0x4f, 0xe4, 0x49, 0x52, + 0x7c, 0x68, 0x59, 0xae, 0x9d, 0x08, 0x17, 0x1d, 0x66, 0x39, 0x93, 0x98, 0xae, 0x59, 0x2c, 0x0f, + 0xd0, 0x41, 0x7e, 0x09, 0x24, 0x11, 0x5e, 0x9e, 0xb0, 0x44, 0x52, 0x21, 0xf2, 0x54, 0xb2, 0x61, + 0xf9, 0x51, 0xb0, 0x9e, 0x88, 0xd3, 0xd9, 0x05, 0xf2, 0x48, 0xb3, 0x99, 0xcb, 0xc6, 0xb4, 0xac, + 0x9d, 0x88, 0x57, 0xfa, 0xe6, 0x38, 0x70, 0x7e, 0xf8, 0x71, 0xeb, 0xbd, 0x7f, 0xff, 0xb8, 0xf5, + 0xde, 0x9f, 0xa7, 0x5b, 0x8d, 0x1f, 0xa6, 0x5b, 0x8d, 0x7f, 0x4c, 0xb7, 0x1a, 0xff, 0x9d, 0x6e, + 0x35, 0x86, 0x4b, 0xfa, 0xcf, 0x95, 0x5f, 0xfd, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xc4, 0x4e, 0x24, + 0x22, 0xc4, 0x11, 0x00, 0x00, } func (m *Metrics) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -842,114 +848,138 @@ func (m *Metrics) Marshal() (dAtA []byte, err error) { } func (m *Metrics) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if len(m.Hugetlb) > 0 { - for _, msg := range m.Hugetlb { - dAtA[i] = 0xa - i++ - i = encodeVarintMetrics(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n - } - } - if m.Pids != nil { - dAtA[i] = 0x12 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Pids.Size())) - n1, err := m.Pids.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n1 - } - if m.CPU != nil { - dAtA[i] = 0x1a - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.CPU.Size())) - n2, err := m.CPU.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n2 - } - if m.Memory != nil { - dAtA[i] = 0x22 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Memory.Size())) - n3, err := m.Memory.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n3 - } - if m.Blkio != nil { - dAtA[i] = 0x2a - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Blkio.Size())) - n4, err := m.Blkio.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n4 - } - if m.Rdma != nil { - dAtA[i] = 0x32 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Rdma.Size())) - n5, err := m.Rdma.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n5 - } - if len(m.Network) > 0 { - for _, msg := range m.Network { - dAtA[i] = 0x3a - i++ - i = encodeVarintMetrics(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n - } - } - if m.CgroupStats != nil { - dAtA[i] = 0x42 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.CgroupStats.Size())) - n6, err := m.CgroupStats.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n6 + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if m.MemoryOomControl != nil { - dAtA[i] = 0x4a - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.MemoryOomControl.Size())) - n7, err := m.MemoryOomControl.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err + { + size, err := m.MemoryOomControl.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) } - i += n7 + i-- + dAtA[i] = 0x4a } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if m.CgroupStats != nil { + { + size, err := m.CgroupStats.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 } - return i, nil + if len(m.Network) > 0 { + for iNdEx := len(m.Network) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Network[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + } + if m.Rdma != nil { + { + size, err := m.Rdma.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.Blkio != nil { + { + size, err := m.Blkio.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.Memory != nil { + { + size, err := m.Memory.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.CPU != nil { + { + size, err := m.CPU.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Pids != nil { + { + size, err := m.Pids.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Hugetlb) > 0 { + for iNdEx := len(m.Hugetlb) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Hugetlb[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil } func (m *HugetlbStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -957,41 +987,48 @@ func (m *HugetlbStat) Marshal() (dAtA []byte, err error) { } func (m *HugetlbStat) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HugetlbStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if m.Usage != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Usage)) - } - if m.Max != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Max)) - } - if m.Failcnt != 0 { - dAtA[i] = 0x18 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Failcnt)) + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if len(m.Pagesize) > 0 { - dAtA[i] = 0x22 - i++ + i -= len(m.Pagesize) + copy(dAtA[i:], m.Pagesize) i = encodeVarintMetrics(dAtA, i, uint64(len(m.Pagesize))) - i += copy(dAtA[i:], m.Pagesize) + i-- + dAtA[i] = 0x22 } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if m.Failcnt != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Failcnt)) + i-- + dAtA[i] = 0x18 } - return i, nil + if m.Max != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Max)) + i-- + dAtA[i] = 0x10 + } + if m.Usage != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Usage)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil } func (m *PidsStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -999,30 +1036,36 @@ func (m *PidsStat) Marshal() (dAtA []byte, err error) { } func (m *PidsStat) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PidsStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if m.Current != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Current)) + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if m.Limit != 0 { - dAtA[i] = 0x10 - i++ i = encodeVarintMetrics(dAtA, i, uint64(m.Limit)) + i-- + dAtA[i] = 0x10 } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if m.Current != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Current)) + i-- + dAtA[i] = 0x8 } - return i, nil + return len(dAtA) - i, nil } func (m *CPUStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -1030,40 +1073,50 @@ func (m *CPUStat) Marshal() (dAtA []byte, err error) { } func (m *CPUStat) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CPUStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if m.Usage != nil { - dAtA[i] = 0xa - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Usage.Size())) - n7, err := m.Usage.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n7 + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if m.Throttling != nil { - dAtA[i] = 0x12 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Throttling.Size())) - n8, err := m.Throttling.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err + { + size, err := m.Throttling.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) } - i += n8 + i-- + dAtA[i] = 0x12 } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if m.Usage != nil { + { + size, err := m.Usage.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return i, nil + return len(dAtA) - i, nil } func (m *CPUUsage) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -1071,52 +1124,59 @@ func (m *CPUUsage) Marshal() (dAtA []byte, err error) { } func (m *CPUUsage) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CPUUsage) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if m.Total != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Total)) - } - if m.Kernel != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Kernel)) - } - if m.User != 0 { - dAtA[i] = 0x18 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.User)) + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if len(m.PerCPU) > 0 { - dAtA10 := make([]byte, len(m.PerCPU)*10) - var j9 int + dAtA11 := make([]byte, len(m.PerCPU)*10) + var j10 int for _, num := range m.PerCPU { for num >= 1<<7 { - dAtA10[j9] = uint8(uint64(num)&0x7f | 0x80) + dAtA11[j10] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j9++ + j10++ } - dAtA10[j9] = uint8(num) - j9++ + dAtA11[j10] = uint8(num) + j10++ } + i -= j10 + copy(dAtA[i:], dAtA11[:j10]) + i = encodeVarintMetrics(dAtA, i, uint64(j10)) + i-- dAtA[i] = 0x22 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(j9)) - i += copy(dAtA[i:], dAtA10[:j9]) } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if m.User != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.User)) + i-- + dAtA[i] = 0x18 } - return i, nil + if m.Kernel != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Kernel)) + i-- + dAtA[i] = 0x10 + } + if m.Total != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Total)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil } func (m *Throttle) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -1124,35 +1184,41 @@ func (m *Throttle) Marshal() (dAtA []byte, err error) { } func (m *Throttle) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Throttle) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if m.Periods != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Periods)) - } - if m.ThrottledPeriods != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.ThrottledPeriods)) + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if m.ThrottledTime != 0 { - dAtA[i] = 0x18 - i++ i = encodeVarintMetrics(dAtA, i, uint64(m.ThrottledTime)) + i-- + dAtA[i] = 0x18 } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if m.ThrottledPeriods != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.ThrottledPeriods)) + i-- + dAtA[i] = 0x10 } - return i, nil + if m.Periods != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Periods)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil } func (m *MemoryStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -1160,262 +1226,276 @@ func (m *MemoryStat) Marshal() (dAtA []byte, err error) { } func (m *MemoryStat) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MemoryStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if m.Cache != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Cache)) - } - if m.RSS != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.RSS)) - } - if m.RSSHuge != 0 { - dAtA[i] = 0x18 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.RSSHuge)) - } - if m.MappedFile != 0 { - dAtA[i] = 0x20 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.MappedFile)) - } - if m.Dirty != 0 { - dAtA[i] = 0x28 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Dirty)) - } - if m.Writeback != 0 { - dAtA[i] = 0x30 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Writeback)) - } - if m.PgPgIn != 0 { - dAtA[i] = 0x38 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.PgPgIn)) - } - if m.PgPgOut != 0 { - dAtA[i] = 0x40 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.PgPgOut)) - } - if m.PgFault != 0 { - dAtA[i] = 0x48 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.PgFault)) - } - if m.PgMajFault != 0 { - dAtA[i] = 0x50 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.PgMajFault)) - } - if m.InactiveAnon != 0 { - dAtA[i] = 0x58 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.InactiveAnon)) - } - if m.ActiveAnon != 0 { - dAtA[i] = 0x60 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.ActiveAnon)) - } - if m.InactiveFile != 0 { - dAtA[i] = 0x68 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.InactiveFile)) - } - if m.ActiveFile != 0 { - dAtA[i] = 0x70 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.ActiveFile)) - } - if m.Unevictable != 0 { - dAtA[i] = 0x78 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Unevictable)) - } - if m.HierarchicalMemoryLimit != 0 { - dAtA[i] = 0x80 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.HierarchicalMemoryLimit)) - } - if m.HierarchicalSwapLimit != 0 { - dAtA[i] = 0x88 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.HierarchicalSwapLimit)) - } - if m.TotalCache != 0 { - dAtA[i] = 0x90 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalCache)) - } - if m.TotalRSS != 0 { - dAtA[i] = 0x98 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalRSS)) - } - if m.TotalRSSHuge != 0 { - dAtA[i] = 0xa0 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalRSSHuge)) - } - if m.TotalMappedFile != 0 { - dAtA[i] = 0xa8 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalMappedFile)) - } - if m.TotalDirty != 0 { - dAtA[i] = 0xb0 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalDirty)) - } - if m.TotalWriteback != 0 { - dAtA[i] = 0xb8 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalWriteback)) - } - if m.TotalPgPgIn != 0 { - dAtA[i] = 0xc0 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalPgPgIn)) - } - if m.TotalPgPgOut != 0 { - dAtA[i] = 0xc8 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalPgPgOut)) - } - if m.TotalPgFault != 0 { - dAtA[i] = 0xd0 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalPgFault)) - } - if m.TotalPgMajFault != 0 { - dAtA[i] = 0xd8 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalPgMajFault)) - } - if m.TotalInactiveAnon != 0 { - dAtA[i] = 0xe0 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalInactiveAnon)) - } - if m.TotalActiveAnon != 0 { - dAtA[i] = 0xe8 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalActiveAnon)) - } - if m.TotalInactiveFile != 0 { - dAtA[i] = 0xf0 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalInactiveFile)) - } - if m.TotalActiveFile != 0 { - dAtA[i] = 0xf8 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalActiveFile)) - } - if m.TotalUnevictable != 0 { - dAtA[i] = 0x80 - i++ - dAtA[i] = 0x2 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TotalUnevictable)) - } - if m.Usage != nil { - dAtA[i] = 0x8a - i++ - dAtA[i] = 0x2 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Usage.Size())) - n11, err := m.Usage.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n11 - } - if m.Swap != nil { - dAtA[i] = 0x92 - i++ - dAtA[i] = 0x2 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Swap.Size())) - n12, err := m.Swap.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n12 - } - if m.Kernel != nil { - dAtA[i] = 0x9a - i++ - dAtA[i] = 0x2 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Kernel.Size())) - n13, err := m.Kernel.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n13 + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if m.KernelTCP != nil { - dAtA[i] = 0xa2 - i++ - dAtA[i] = 0x2 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.KernelTCP.Size())) - n14, err := m.KernelTCP.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err + { + size, err := m.KernelTCP.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) } - i += n14 + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xa2 } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if m.Kernel != nil { + { + size, err := m.Kernel.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x9a } - return i, nil + if m.Swap != nil { + { + size, err := m.Swap.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x92 + } + if m.Usage != nil { + { + size, err := m.Usage.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x8a + } + if m.TotalUnevictable != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalUnevictable)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x80 + } + if m.TotalActiveFile != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalActiveFile)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf8 + } + if m.TotalInactiveFile != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalInactiveFile)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf0 + } + if m.TotalActiveAnon != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalActiveAnon)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe8 + } + if m.TotalInactiveAnon != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalInactiveAnon)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe0 + } + if m.TotalPgMajFault != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalPgMajFault)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd8 + } + if m.TotalPgFault != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalPgFault)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd0 + } + if m.TotalPgPgOut != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalPgPgOut)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc8 + } + if m.TotalPgPgIn != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalPgPgIn)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc0 + } + if m.TotalWriteback != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalWriteback)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb8 + } + if m.TotalDirty != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalDirty)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb0 + } + if m.TotalMappedFile != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalMappedFile)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa8 + } + if m.TotalRSSHuge != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalRSSHuge)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa0 + } + if m.TotalRSS != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalRSS)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 + } + if m.TotalCache != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TotalCache)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 + } + if m.HierarchicalSwapLimit != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.HierarchicalSwapLimit)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 + } + if m.HierarchicalMemoryLimit != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.HierarchicalMemoryLimit)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.Unevictable != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Unevictable)) + i-- + dAtA[i] = 0x78 + } + if m.ActiveFile != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.ActiveFile)) + i-- + dAtA[i] = 0x70 + } + if m.InactiveFile != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.InactiveFile)) + i-- + dAtA[i] = 0x68 + } + if m.ActiveAnon != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.ActiveAnon)) + i-- + dAtA[i] = 0x60 + } + if m.InactiveAnon != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.InactiveAnon)) + i-- + dAtA[i] = 0x58 + } + if m.PgMajFault != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.PgMajFault)) + i-- + dAtA[i] = 0x50 + } + if m.PgFault != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.PgFault)) + i-- + dAtA[i] = 0x48 + } + if m.PgPgOut != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.PgPgOut)) + i-- + dAtA[i] = 0x40 + } + if m.PgPgIn != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.PgPgIn)) + i-- + dAtA[i] = 0x38 + } + if m.Writeback != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Writeback)) + i-- + dAtA[i] = 0x30 + } + if m.Dirty != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Dirty)) + i-- + dAtA[i] = 0x28 + } + if m.MappedFile != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.MappedFile)) + i-- + dAtA[i] = 0x20 + } + if m.RSSHuge != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.RSSHuge)) + i-- + dAtA[i] = 0x18 + } + if m.RSS != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.RSS)) + i-- + dAtA[i] = 0x10 + } + if m.Cache != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Cache)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil } func (m *MemoryEntry) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -1423,40 +1503,46 @@ func (m *MemoryEntry) Marshal() (dAtA []byte, err error) { } func (m *MemoryEntry) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MemoryEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if m.Limit != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Limit)) - } - if m.Usage != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Usage)) - } - if m.Max != 0 { - dAtA[i] = 0x18 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Max)) + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if m.Failcnt != 0 { - dAtA[i] = 0x20 - i++ i = encodeVarintMetrics(dAtA, i, uint64(m.Failcnt)) + i-- + dAtA[i] = 0x20 } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if m.Max != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Max)) + i-- + dAtA[i] = 0x18 } - return i, nil + if m.Usage != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Usage)) + i-- + dAtA[i] = 0x10 + } + if m.Limit != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Limit)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil } func (m *MemoryOomControl) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -1464,32 +1550,41 @@ func (m *MemoryOomControl) Marshal() (dAtA []byte, err error) { } func (m *MemoryOomControl) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MemoryOomControl) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if m.OomKillDisable != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.OomKillDisable)) - } - if m.UnderOom != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.UnderOom)) + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if m.OomKill != 0 { - dAtA[i] = 0x18 - i++ i = encodeVarintMetrics(dAtA, i, uint64(m.OomKill)) + i-- + dAtA[i] = 0x18 } - return i, nil + if m.UnderOom != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.UnderOom)) + i-- + dAtA[i] = 0x10 + } + if m.OomKillDisable != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.OomKillDisable)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil } func (m *BlkIOStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -1497,116 +1592,138 @@ func (m *BlkIOStat) Marshal() (dAtA []byte, err error) { } func (m *BlkIOStat) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *BlkIOStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if len(m.IoServiceBytesRecursive) > 0 { - for _, msg := range m.IoServiceBytesRecursive { - dAtA[i] = 0xa - i++ - i = encodeVarintMetrics(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n - } + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.IoServicedRecursive) > 0 { - for _, msg := range m.IoServicedRecursive { - dAtA[i] = 0x12 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err + if len(m.SectorsRecursive) > 0 { + for iNdEx := len(m.SectorsRecursive) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.SectorsRecursive[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) } - i += n - } - } - if len(m.IoQueuedRecursive) > 0 { - for _, msg := range m.IoQueuedRecursive { - dAtA[i] = 0x1a - i++ - i = encodeVarintMetrics(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n - } - } - if len(m.IoServiceTimeRecursive) > 0 { - for _, msg := range m.IoServiceTimeRecursive { - dAtA[i] = 0x22 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n - } - } - if len(m.IoWaitTimeRecursive) > 0 { - for _, msg := range m.IoWaitTimeRecursive { - dAtA[i] = 0x2a - i++ - i = encodeVarintMetrics(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n - } - } - if len(m.IoMergedRecursive) > 0 { - for _, msg := range m.IoMergedRecursive { - dAtA[i] = 0x32 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n + i-- + dAtA[i] = 0x42 } } if len(m.IoTimeRecursive) > 0 { - for _, msg := range m.IoTimeRecursive { + for iNdEx := len(m.IoTimeRecursive) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.IoTimeRecursive[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- dAtA[i] = 0x3a - i++ - i = encodeVarintMetrics(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n } } - if len(m.SectorsRecursive) > 0 { - for _, msg := range m.SectorsRecursive { - dAtA[i] = 0x42 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err + if len(m.IoMergedRecursive) > 0 { + for iNdEx := len(m.IoMergedRecursive) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.IoMergedRecursive[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) } - i += n + i-- + dAtA[i] = 0x32 } } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if len(m.IoWaitTimeRecursive) > 0 { + for iNdEx := len(m.IoWaitTimeRecursive) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.IoWaitTimeRecursive[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } } - return i, nil + if len(m.IoServiceTimeRecursive) > 0 { + for iNdEx := len(m.IoServiceTimeRecursive) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.IoServiceTimeRecursive[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if len(m.IoQueuedRecursive) > 0 { + for iNdEx := len(m.IoQueuedRecursive) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.IoQueuedRecursive[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if len(m.IoServicedRecursive) > 0 { + for iNdEx := len(m.IoServicedRecursive) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.IoServicedRecursive[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.IoServiceBytesRecursive) > 0 { + for iNdEx := len(m.IoServiceBytesRecursive) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.IoServiceBytesRecursive[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil } func (m *BlkIOEntry) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -1614,47 +1731,55 @@ func (m *BlkIOEntry) Marshal() (dAtA []byte, err error) { } func (m *BlkIOEntry) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *BlkIOEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if len(m.Op) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMetrics(dAtA, i, uint64(len(m.Op))) - i += copy(dAtA[i:], m.Op) - } - if len(m.Device) > 0 { - dAtA[i] = 0x12 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(len(m.Device))) - i += copy(dAtA[i:], m.Device) - } - if m.Major != 0 { - dAtA[i] = 0x18 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Major)) - } - if m.Minor != 0 { - dAtA[i] = 0x20 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.Minor)) + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if m.Value != 0 { - dAtA[i] = 0x28 - i++ i = encodeVarintMetrics(dAtA, i, uint64(m.Value)) + i-- + dAtA[i] = 0x28 } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if m.Minor != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Minor)) + i-- + dAtA[i] = 0x20 } - return i, nil + if m.Major != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.Major)) + i-- + dAtA[i] = 0x18 + } + if len(m.Device) > 0 { + i -= len(m.Device) + copy(dAtA[i:], m.Device) + i = encodeVarintMetrics(dAtA, i, uint64(len(m.Device))) + i-- + dAtA[i] = 0x12 + } + if len(m.Op) > 0 { + i -= len(m.Op) + copy(dAtA[i:], m.Op) + i = encodeVarintMetrics(dAtA, i, uint64(len(m.Op))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } func (m *RdmaStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -1662,44 +1787,54 @@ func (m *RdmaStat) Marshal() (dAtA []byte, err error) { } func (m *RdmaStat) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RdmaStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if len(m.Current) > 0 { - for _, msg := range m.Current { - dAtA[i] = 0xa - i++ - i = encodeVarintMetrics(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n - } + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if len(m.Limit) > 0 { - for _, msg := range m.Limit { - dAtA[i] = 0x12 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err + for iNdEx := len(m.Limit) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Limit[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) } - i += n + i-- + dAtA[i] = 0x12 } } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if len(m.Current) > 0 { + for iNdEx := len(m.Current) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Current[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetrics(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } } - return i, nil + return len(dAtA) - i, nil } func (m *RdmaEntry) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -1707,36 +1842,43 @@ func (m *RdmaEntry) Marshal() (dAtA []byte, err error) { } func (m *RdmaEntry) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RdmaEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if len(m.Device) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMetrics(dAtA, i, uint64(len(m.Device))) - i += copy(dAtA[i:], m.Device) - } - if m.HcaHandles != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.HcaHandles)) + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if m.HcaObjects != 0 { - dAtA[i] = 0x18 - i++ i = encodeVarintMetrics(dAtA, i, uint64(m.HcaObjects)) + i-- + dAtA[i] = 0x18 } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if m.HcaHandles != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.HcaHandles)) + i-- + dAtA[i] = 0x10 } - return i, nil + if len(m.Device) > 0 { + i -= len(m.Device) + copy(dAtA[i:], m.Device) + i = encodeVarintMetrics(dAtA, i, uint64(len(m.Device))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } func (m *NetworkStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -1744,66 +1886,73 @@ func (m *NetworkStat) Marshal() (dAtA []byte, err error) { } func (m *NetworkStat) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NetworkStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if len(m.Name) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMetrics(dAtA, i, uint64(len(m.Name))) - i += copy(dAtA[i:], m.Name) - } - if m.RxBytes != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.RxBytes)) - } - if m.RxPackets != 0 { - dAtA[i] = 0x18 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.RxPackets)) - } - if m.RxErrors != 0 { - dAtA[i] = 0x20 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.RxErrors)) - } - if m.RxDropped != 0 { - dAtA[i] = 0x28 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.RxDropped)) - } - if m.TxBytes != 0 { - dAtA[i] = 0x30 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TxBytes)) - } - if m.TxPackets != 0 { - dAtA[i] = 0x38 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TxPackets)) - } - if m.TxErrors != 0 { - dAtA[i] = 0x40 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.TxErrors)) + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if m.TxDropped != 0 { - dAtA[i] = 0x48 - i++ i = encodeVarintMetrics(dAtA, i, uint64(m.TxDropped)) + i-- + dAtA[i] = 0x48 } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if m.TxErrors != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TxErrors)) + i-- + dAtA[i] = 0x40 } - return i, nil + if m.TxPackets != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TxPackets)) + i-- + dAtA[i] = 0x38 + } + if m.TxBytes != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.TxBytes)) + i-- + dAtA[i] = 0x30 + } + if m.RxDropped != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.RxDropped)) + i-- + dAtA[i] = 0x28 + } + if m.RxErrors != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.RxErrors)) + i-- + dAtA[i] = 0x20 + } + if m.RxPackets != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.RxPackets)) + i-- + dAtA[i] = 0x18 + } + if m.RxBytes != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.RxBytes)) + i-- + dAtA[i] = 0x10 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintMetrics(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } func (m *CgroupStats) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } @@ -1811,49 +1960,57 @@ func (m *CgroupStats) Marshal() (dAtA []byte, err error) { } func (m *CgroupStats) MarshalTo(dAtA []byte) (int, error) { - var i int + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CgroupStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) _ = i var l int _ = l - if m.NrSleeping != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.NrSleeping)) - } - if m.NrRunning != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.NrRunning)) - } - if m.NrStopped != 0 { - dAtA[i] = 0x18 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.NrStopped)) - } - if m.NrUninterruptible != 0 { - dAtA[i] = 0x20 - i++ - i = encodeVarintMetrics(dAtA, i, uint64(m.NrUninterruptible)) + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) } if m.NrIoWait != 0 { - dAtA[i] = 0x28 - i++ i = encodeVarintMetrics(dAtA, i, uint64(m.NrIoWait)) + i-- + dAtA[i] = 0x28 } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) + if m.NrUninterruptible != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.NrUninterruptible)) + i-- + dAtA[i] = 0x20 } - return i, nil + if m.NrStopped != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.NrStopped)) + i-- + dAtA[i] = 0x18 + } + if m.NrRunning != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.NrRunning)) + i-- + dAtA[i] = 0x10 + } + if m.NrSleeping != 0 { + i = encodeVarintMetrics(dAtA, i, uint64(m.NrSleeping)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil } func encodeVarintMetrics(dAtA []byte, offset int, v uint64) int { + offset -= sovMetrics(v) + base := offset for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) v >>= 7 offset++ } dAtA[offset] = uint8(v) - return offset + 1 + return base } func (m *Metrics) Size() (n int) { if m == nil { @@ -2391,14 +2548,7 @@ func (m *CgroupStats) Size() (n int) { } func sovMetrics(x uint64) (n int) { - for { - n++ - x >>= 7 - if x == 0 { - break - } - } - return n + return (math_bits.Len64(x|1) + 6) / 7 } func sozMetrics(x uint64) (n int) { return sovMetrics(uint64((x << 1) ^ uint64((int64(x) >> 63)))) @@ -2407,16 +2557,26 @@ func (this *Metrics) String() string { if this == nil { return "nil" } + repeatedStringForHugetlb := "[]*HugetlbStat{" + for _, f := range this.Hugetlb { + repeatedStringForHugetlb += strings.Replace(f.String(), "HugetlbStat", "HugetlbStat", 1) + "," + } + repeatedStringForHugetlb += "}" + repeatedStringForNetwork := "[]*NetworkStat{" + for _, f := range this.Network { + repeatedStringForNetwork += strings.Replace(f.String(), "NetworkStat", "NetworkStat", 1) + "," + } + repeatedStringForNetwork += "}" s := strings.Join([]string{`&Metrics{`, - `Hugetlb:` + strings.Replace(fmt.Sprintf("%v", this.Hugetlb), "HugetlbStat", "HugetlbStat", 1) + `,`, - `Pids:` + strings.Replace(fmt.Sprintf("%v", this.Pids), "PidsStat", "PidsStat", 1) + `,`, - `CPU:` + strings.Replace(fmt.Sprintf("%v", this.CPU), "CPUStat", "CPUStat", 1) + `,`, - `Memory:` + strings.Replace(fmt.Sprintf("%v", this.Memory), "MemoryStat", "MemoryStat", 1) + `,`, - `MemoryOomControl:` + strings.Replace(fmt.Sprintf("%v", this.MemoryOomControl), "MemoryOomControl", "MemoryOomControl", 1) + `,`, - `Blkio:` + strings.Replace(fmt.Sprintf("%v", this.Blkio), "BlkIOStat", "BlkIOStat", 1) + `,`, - `Rdma:` + strings.Replace(fmt.Sprintf("%v", this.Rdma), "RdmaStat", "RdmaStat", 1) + `,`, - `Network:` + strings.Replace(fmt.Sprintf("%v", this.Network), "NetworkStat", "NetworkStat", 1) + `,`, - `CgroupStats:` + strings.Replace(fmt.Sprintf("%v", this.CgroupStats), "CgroupStats", "CgroupStats", 1) + `,`, + `Hugetlb:` + repeatedStringForHugetlb + `,`, + `Pids:` + strings.Replace(this.Pids.String(), "PidsStat", "PidsStat", 1) + `,`, + `CPU:` + strings.Replace(this.CPU.String(), "CPUStat", "CPUStat", 1) + `,`, + `Memory:` + strings.Replace(this.Memory.String(), "MemoryStat", "MemoryStat", 1) + `,`, + `Blkio:` + strings.Replace(this.Blkio.String(), "BlkIOStat", "BlkIOStat", 1) + `,`, + `Rdma:` + strings.Replace(this.Rdma.String(), "RdmaStat", "RdmaStat", 1) + `,`, + `Network:` + repeatedStringForNetwork + `,`, + `CgroupStats:` + strings.Replace(this.CgroupStats.String(), "CgroupStats", "CgroupStats", 1) + `,`, + `MemoryOomControl:` + strings.Replace(this.MemoryOomControl.String(), "MemoryOomControl", "MemoryOomControl", 1) + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") @@ -2453,8 +2613,8 @@ func (this *CPUStat) String() string { return "nil" } s := strings.Join([]string{`&CPUStat{`, - `Usage:` + strings.Replace(fmt.Sprintf("%v", this.Usage), "CPUUsage", "CPUUsage", 1) + `,`, - `Throttling:` + strings.Replace(fmt.Sprintf("%v", this.Throttling), "Throttle", "Throttle", 1) + `,`, + `Usage:` + strings.Replace(this.Usage.String(), "CPUUsage", "CPUUsage", 1) + `,`, + `Throttling:` + strings.Replace(this.Throttling.String(), "Throttle", "Throttle", 1) + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") @@ -2524,10 +2684,10 @@ func (this *MemoryStat) String() string { `TotalInactiveFile:` + fmt.Sprintf("%v", this.TotalInactiveFile) + `,`, `TotalActiveFile:` + fmt.Sprintf("%v", this.TotalActiveFile) + `,`, `TotalUnevictable:` + fmt.Sprintf("%v", this.TotalUnevictable) + `,`, - `Usage:` + strings.Replace(fmt.Sprintf("%v", this.Usage), "MemoryEntry", "MemoryEntry", 1) + `,`, - `Swap:` + strings.Replace(fmt.Sprintf("%v", this.Swap), "MemoryEntry", "MemoryEntry", 1) + `,`, - `Kernel:` + strings.Replace(fmt.Sprintf("%v", this.Kernel), "MemoryEntry", "MemoryEntry", 1) + `,`, - `KernelTCP:` + strings.Replace(fmt.Sprintf("%v", this.KernelTCP), "MemoryEntry", "MemoryEntry", 1) + `,`, + `Usage:` + strings.Replace(this.Usage.String(), "MemoryEntry", "MemoryEntry", 1) + `,`, + `Swap:` + strings.Replace(this.Swap.String(), "MemoryEntry", "MemoryEntry", 1) + `,`, + `Kernel:` + strings.Replace(this.Kernel.String(), "MemoryEntry", "MemoryEntry", 1) + `,`, + `KernelTCP:` + strings.Replace(this.KernelTCP.String(), "MemoryEntry", "MemoryEntry", 1) + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") @@ -2564,15 +2724,55 @@ func (this *BlkIOStat) String() string { if this == nil { return "nil" } + repeatedStringForIoServiceBytesRecursive := "[]*BlkIOEntry{" + for _, f := range this.IoServiceBytesRecursive { + repeatedStringForIoServiceBytesRecursive += strings.Replace(f.String(), "BlkIOEntry", "BlkIOEntry", 1) + "," + } + repeatedStringForIoServiceBytesRecursive += "}" + repeatedStringForIoServicedRecursive := "[]*BlkIOEntry{" + for _, f := range this.IoServicedRecursive { + repeatedStringForIoServicedRecursive += strings.Replace(f.String(), "BlkIOEntry", "BlkIOEntry", 1) + "," + } + repeatedStringForIoServicedRecursive += "}" + repeatedStringForIoQueuedRecursive := "[]*BlkIOEntry{" + for _, f := range this.IoQueuedRecursive { + repeatedStringForIoQueuedRecursive += strings.Replace(f.String(), "BlkIOEntry", "BlkIOEntry", 1) + "," + } + repeatedStringForIoQueuedRecursive += "}" + repeatedStringForIoServiceTimeRecursive := "[]*BlkIOEntry{" + for _, f := range this.IoServiceTimeRecursive { + repeatedStringForIoServiceTimeRecursive += strings.Replace(f.String(), "BlkIOEntry", "BlkIOEntry", 1) + "," + } + repeatedStringForIoServiceTimeRecursive += "}" + repeatedStringForIoWaitTimeRecursive := "[]*BlkIOEntry{" + for _, f := range this.IoWaitTimeRecursive { + repeatedStringForIoWaitTimeRecursive += strings.Replace(f.String(), "BlkIOEntry", "BlkIOEntry", 1) + "," + } + repeatedStringForIoWaitTimeRecursive += "}" + repeatedStringForIoMergedRecursive := "[]*BlkIOEntry{" + for _, f := range this.IoMergedRecursive { + repeatedStringForIoMergedRecursive += strings.Replace(f.String(), "BlkIOEntry", "BlkIOEntry", 1) + "," + } + repeatedStringForIoMergedRecursive += "}" + repeatedStringForIoTimeRecursive := "[]*BlkIOEntry{" + for _, f := range this.IoTimeRecursive { + repeatedStringForIoTimeRecursive += strings.Replace(f.String(), "BlkIOEntry", "BlkIOEntry", 1) + "," + } + repeatedStringForIoTimeRecursive += "}" + repeatedStringForSectorsRecursive := "[]*BlkIOEntry{" + for _, f := range this.SectorsRecursive { + repeatedStringForSectorsRecursive += strings.Replace(f.String(), "BlkIOEntry", "BlkIOEntry", 1) + "," + } + repeatedStringForSectorsRecursive += "}" s := strings.Join([]string{`&BlkIOStat{`, - `IoServiceBytesRecursive:` + strings.Replace(fmt.Sprintf("%v", this.IoServiceBytesRecursive), "BlkIOEntry", "BlkIOEntry", 1) + `,`, - `IoServicedRecursive:` + strings.Replace(fmt.Sprintf("%v", this.IoServicedRecursive), "BlkIOEntry", "BlkIOEntry", 1) + `,`, - `IoQueuedRecursive:` + strings.Replace(fmt.Sprintf("%v", this.IoQueuedRecursive), "BlkIOEntry", "BlkIOEntry", 1) + `,`, - `IoServiceTimeRecursive:` + strings.Replace(fmt.Sprintf("%v", this.IoServiceTimeRecursive), "BlkIOEntry", "BlkIOEntry", 1) + `,`, - `IoWaitTimeRecursive:` + strings.Replace(fmt.Sprintf("%v", this.IoWaitTimeRecursive), "BlkIOEntry", "BlkIOEntry", 1) + `,`, - `IoMergedRecursive:` + strings.Replace(fmt.Sprintf("%v", this.IoMergedRecursive), "BlkIOEntry", "BlkIOEntry", 1) + `,`, - `IoTimeRecursive:` + strings.Replace(fmt.Sprintf("%v", this.IoTimeRecursive), "BlkIOEntry", "BlkIOEntry", 1) + `,`, - `SectorsRecursive:` + strings.Replace(fmt.Sprintf("%v", this.SectorsRecursive), "BlkIOEntry", "BlkIOEntry", 1) + `,`, + `IoServiceBytesRecursive:` + repeatedStringForIoServiceBytesRecursive + `,`, + `IoServicedRecursive:` + repeatedStringForIoServicedRecursive + `,`, + `IoQueuedRecursive:` + repeatedStringForIoQueuedRecursive + `,`, + `IoServiceTimeRecursive:` + repeatedStringForIoServiceTimeRecursive + `,`, + `IoWaitTimeRecursive:` + repeatedStringForIoWaitTimeRecursive + `,`, + `IoMergedRecursive:` + repeatedStringForIoMergedRecursive + `,`, + `IoTimeRecursive:` + repeatedStringForIoTimeRecursive + `,`, + `SectorsRecursive:` + repeatedStringForSectorsRecursive + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") @@ -2597,9 +2797,19 @@ func (this *RdmaStat) String() string { if this == nil { return "nil" } + repeatedStringForCurrent := "[]*RdmaEntry{" + for _, f := range this.Current { + repeatedStringForCurrent += strings.Replace(f.String(), "RdmaEntry", "RdmaEntry", 1) + "," + } + repeatedStringForCurrent += "}" + repeatedStringForLimit := "[]*RdmaEntry{" + for _, f := range this.Limit { + repeatedStringForLimit += strings.Replace(f.String(), "RdmaEntry", "RdmaEntry", 1) + "," + } + repeatedStringForLimit += "}" s := strings.Join([]string{`&RdmaStat{`, - `Current:` + strings.Replace(fmt.Sprintf("%v", this.Current), "RdmaEntry", "RdmaEntry", 1) + `,`, - `Limit:` + strings.Replace(fmt.Sprintf("%v", this.Limit), "RdmaEntry", "RdmaEntry", 1) + `,`, + `Current:` + repeatedStringForCurrent + `,`, + `Limit:` + repeatedStringForLimit + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") @@ -3008,16 +3218,14 @@ func (m *Metrics) Unmarshal(dAtA []byte) error { if err := m.MemoryOomControl.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMetrics(dAtA[iNdEx:]) if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -3157,10 +3365,7 @@ func (m *HugetlbStat) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -3249,10 +3454,7 @@ func (m *PidsStat) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -3375,10 +3577,7 @@ func (m *CPUStat) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -3562,10 +3761,7 @@ func (m *CPUUsage) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -3673,10 +3869,7 @@ func (m *Throttle) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -4479,10 +4672,7 @@ func (m *MemoryStat) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -4609,10 +4799,7 @@ func (m *MemoryEntry) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -4720,10 +4907,7 @@ func (m *MemoryOomControl) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -5046,10 +5230,7 @@ func (m *BlkIOStat) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -5221,10 +5402,7 @@ func (m *BlkIOEntry) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -5343,10 +5521,7 @@ func (m *RdmaStat) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -5467,10 +5642,7 @@ func (m *RdmaEntry) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -5705,10 +5877,7 @@ func (m *NetworkStat) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -5854,10 +6023,7 @@ func (m *CgroupStats) Unmarshal(dAtA []byte) error { if err != nil { return err } - if skippy < 0 { - return ErrInvalidLengthMetrics - } - if (iNdEx + skippy) < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthMetrics } if (iNdEx + skippy) > l { @@ -5876,6 +6042,7 @@ func (m *CgroupStats) Unmarshal(dAtA []byte) error { func skipMetrics(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 + depth := 0 for iNdEx < l { var wire uint64 for shift := uint(0); ; shift += 7 { @@ -5907,10 +6074,8 @@ func skipMetrics(dAtA []byte) (n int, err error) { break } } - return iNdEx, nil case 1: iNdEx += 8 - return iNdEx, nil case 2: var length int for shift := uint(0); ; shift += 7 { @@ -5931,55 +6096,30 @@ func skipMetrics(dAtA []byte) (n int, err error) { return 0, ErrInvalidLengthMetrics } iNdEx += length - if iNdEx < 0 { - return 0, ErrInvalidLengthMetrics - } - return iNdEx, nil case 3: - for { - var innerWire uint64 - var start int = iNdEx - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMetrics - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - innerWire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - innerWireType := int(innerWire & 0x7) - if innerWireType == 4 { - break - } - next, err := skipMetrics(dAtA[start:]) - if err != nil { - return 0, err - } - iNdEx = start + next - if iNdEx < 0 { - return 0, ErrInvalidLengthMetrics - } - } - return iNdEx, nil + depth++ case 4: - return iNdEx, nil + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupMetrics + } + depth-- case 5: iNdEx += 4 - return iNdEx, nil default: return 0, fmt.Errorf("proto: illegal wireType %d", wireType) } + if iNdEx < 0 { + return 0, ErrInvalidLengthMetrics + } + if depth == 0 { + return iNdEx, nil + } } - panic("unreachable") + return 0, io.ErrUnexpectedEOF } var ( - ErrInvalidLengthMetrics = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMetrics = fmt.Errorf("proto: integer overflow") + ErrInvalidLengthMetrics = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowMetrics = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupMetrics = fmt.Errorf("proto: unexpected end of group") ) diff --git a/vendor/github.com/containerd/cgroups/stats/v1/metrics.pb.txt b/vendor/github.com/containerd/cgroups/stats/v1/metrics.pb.txt index 3ed0898cc..e476cea64 100644 --- a/vendor/github.com/containerd/cgroups/stats/v1/metrics.pb.txt +++ b/vendor/github.com/containerd/cgroups/stats/v1/metrics.pb.txt @@ -517,21 +517,21 @@ file { number: 1 label: LABEL_OPTIONAL type: TYPE_UINT64 - json_name: "oom_kill_disable" + json_name: "oomKillDisable" } field { name: "under_oom" number: 2 label: LABEL_OPTIONAL type: TYPE_UINT64 - json_name: "under_oom" + json_name: "underOom" } field { name: "oom_kill" number: 3 label: LABEL_OPTIONAL type: TYPE_UINT64 - json_name: "oom_kill" + json_name: "oomKill" } } message_type { diff --git a/vendor/github.com/containerd/cgroups/subsystem.go b/vendor/github.com/containerd/cgroups/subsystem.go index f089ea4c0..b2f41854d 100644 --- a/vendor/github.com/containerd/cgroups/subsystem.go +++ b/vendor/github.com/containerd/cgroups/subsystem.go @@ -18,6 +18,7 @@ package cgroups import ( "fmt" + "os" v1 "github.com/containerd/cgroups/stats/v1" specs "github.com/opencontainers/runtime-spec/specs-go" @@ -46,7 +47,6 @@ const ( // available on most linux systems func Subsystems() []Name { n := []Name{ - Hugetlb, Freezer, Pids, NetCLS, @@ -62,6 +62,9 @@ func Subsystems() []Name { if !RunningInUserNS() { n = append(n, Devices) } + if _, err := os.Stat("/sys/kernel/mm/hugepages"); err == nil { + n = append(n, Hugetlb) + } return n } diff --git a/vendor/github.com/containerd/cgroups/systemd.go b/vendor/github.com/containerd/cgroups/systemd.go index c17f34a62..4da57cb4b 100644 --- a/vendor/github.com/containerd/cgroups/systemd.go +++ b/vendor/github.com/containerd/cgroups/systemd.go @@ -17,6 +17,7 @@ package cgroups import ( + "context" "path/filepath" "strings" "sync" @@ -78,7 +79,8 @@ func (s *SystemdController) Name() Name { } func (s *SystemdController) Create(path string, _ *specs.LinuxResources) error { - conn, err := systemdDbus.New() + ctx := context.TODO() + conn, err := systemdDbus.NewWithContext(ctx) if err != nil { return err } @@ -90,7 +92,7 @@ func (s *SystemdController) Create(path string, _ *specs.LinuxResources) error { checkDelegate := func() { canDelegate = true dlSlice := newProperty("Delegate", true) - if _, err := conn.StartTransientUnit(slice, "testdelegate", []systemdDbus.Property{dlSlice}, nil); err != nil { + if _, err := conn.StartTransientUnitContext(ctx, slice, "testdelegate", []systemdDbus.Property{dlSlice}, nil); err != nil { if dbusError, ok := err.(dbus.Error); ok { // Starting with systemd v237, Delegate is not even a property of slices anymore, // so the D-Bus call fails with "InvalidArgs" error. @@ -100,7 +102,7 @@ func (s *SystemdController) Create(path string, _ *specs.LinuxResources) error { } } - conn.StopUnit(slice, "testDelegate", nil) + _, _ = conn.StopUnitContext(ctx, slice, "testDelegate", nil) } once.Do(checkDelegate) properties := []systemdDbus.Property{ @@ -118,7 +120,7 @@ func (s *SystemdController) Create(path string, _ *specs.LinuxResources) error { } ch := make(chan string) - _, err = conn.StartTransientUnit(name, "replace", properties, ch) + _, err = conn.StartTransientUnitContext(ctx, name, "replace", properties, ch) if err != nil { return err } @@ -127,14 +129,15 @@ func (s *SystemdController) Create(path string, _ *specs.LinuxResources) error { } func (s *SystemdController) Delete(path string) error { - conn, err := systemdDbus.New() + ctx := context.TODO() + conn, err := systemdDbus.NewWithContext(ctx) if err != nil { return err } defer conn.Close() _, name := splitName(path) ch := make(chan string) - _, err = conn.StopUnit(name, "replace", ch) + _, err = conn.StopUnitContext(ctx, name, "replace", ch) if err != nil { return err } diff --git a/vendor/github.com/containerd/cgroups/utils.go b/vendor/github.com/containerd/cgroups/utils.go index ed894b3ec..217138975 100644 --- a/vendor/github.com/containerd/cgroups/utils.go +++ b/vendor/github.com/containerd/cgroups/utils.go @@ -164,9 +164,9 @@ func remove(path string) error { return fmt.Errorf("cgroups: unable to remove path %q", path) } -// readPids will read all the pids of processes in a cgroup by the provided path -func readPids(path string, subsystem Name) ([]Process, error) { - f, err := os.Open(filepath.Join(path, cgroupProcs)) +// readPids will read all the pids of processes or tasks in a cgroup by the provided path +func readPids(path string, subsystem Name, pType procType) ([]Process, error) { + f, err := os.Open(filepath.Join(path, pType)) if err != nil { return nil, err } @@ -195,36 +195,6 @@ func readPids(path string, subsystem Name) ([]Process, error) { return out, nil } -// readTasksPids will read all the pids of tasks in a cgroup by the provided path -func readTasksPids(path string, subsystem Name) ([]Task, error) { - f, err := os.Open(filepath.Join(path, cgroupTasks)) - if err != nil { - return nil, err - } - defer f.Close() - var ( - out []Task - s = bufio.NewScanner(f) - ) - for s.Scan() { - if t := s.Text(); t != "" { - pid, err := strconv.Atoi(t) - if err != nil { - return nil, err - } - out = append(out, Task{ - Pid: pid, - Subsystem: subsystem, - Path: path, - }) - } - } - if err := s.Err(); err != nil { - return nil, err - } - return out, nil -} - func hugePageSizes() ([]string, error) { var ( pageSizes []string @@ -285,18 +255,34 @@ func parseKV(raw string) (string, uint64, error) { } } -func parseCgroupFile(path string) (map[string]string, error) { - f, err := os.Open(path) - if err != nil { - return nil, err - } - defer f.Close() - return parseCgroupFromReader(f) +// ParseCgroupFile parses the given cgroup file, typically /proc/self/cgroup +// or /proc//cgroup, into a map of subsystems to cgroup paths, e.g. +// "cpu": "/user.slice/user-1000.slice" +// "pids": "/user.slice/user-1000.slice" +// etc. +// +// The resulting map does not have an element for cgroup v2 unified hierarchy. +// Use ParseCgroupFileUnified to get the unified path. +func ParseCgroupFile(path string) (map[string]string, error) { + x, _, err := ParseCgroupFileUnified(path) + return x, err } -func parseCgroupFromReader(r io.Reader) (map[string]string, error) { +// ParseCgroupFileUnified returns legacy subsystem paths as the first value, +// and returns the unified path as the second value. +func ParseCgroupFileUnified(path string) (map[string]string, string, error) { + f, err := os.Open(path) + if err != nil { + return nil, "", err + } + defer f.Close() + return parseCgroupFromReaderUnified(f) +} + +func parseCgroupFromReaderUnified(r io.Reader) (map[string]string, string, error) { var ( cgroups = make(map[string]string) + unified = "" s = bufio.NewScanner(r) ) for s.Scan() { @@ -305,18 +291,20 @@ func parseCgroupFromReader(r io.Reader) (map[string]string, error) { parts = strings.SplitN(text, ":", 3) ) if len(parts) < 3 { - return nil, fmt.Errorf("invalid cgroup entry: %q", text) + return nil, unified, fmt.Errorf("invalid cgroup entry: %q", text) } for _, subs := range strings.Split(parts[1], ",") { - if subs != "" { + if subs == "" { + unified = parts[2] + } else { cgroups[subs] = parts[2] } } } if err := s.Err(); err != nil { - return nil, err + return nil, unified, err } - return cgroups, nil + return cgroups, unified, nil } func getCgroupDestination(subsystem string) (string, error) { diff --git a/vendor/github.com/coreos/go-systemd/v22/dbus/dbus.go b/vendor/github.com/coreos/go-systemd/v22/dbus/dbus.go index 91584a166..cff5af1a6 100644 --- a/vendor/github.com/coreos/go-systemd/v22/dbus/dbus.go +++ b/vendor/github.com/coreos/go-systemd/v22/dbus/dbus.go @@ -16,6 +16,7 @@ package dbus import ( + "context" "encoding/hex" "fmt" "os" @@ -110,46 +111,66 @@ type Conn struct { } } -// New establishes a connection to any available bus and authenticates. -// Callers should call Close() when done with the connection. +// Deprecated: use NewWithContext instead. func New() (*Conn, error) { - conn, err := NewSystemConnection() + return NewWithContext(context.Background()) +} + +// NewWithContext establishes a connection to any available bus and authenticates. +// Callers should call Close() when done with the connection. +func NewWithContext(ctx context.Context) (*Conn, error) { + conn, err := NewSystemConnectionContext(ctx) if err != nil && os.Geteuid() == 0 { - return NewSystemdConnection() + return NewSystemdConnectionContext(ctx) } return conn, err } -// NewSystemConnection establishes a connection to the system bus and authenticates. -// Callers should call Close() when done with the connection +// Deprecated: use NewSystemConnectionContext instead. func NewSystemConnection() (*Conn, error) { + return NewSystemConnectionContext(context.Background()) +} + +// NewSystemConnectionContext establishes a connection to the system bus and authenticates. +// Callers should call Close() when done with the connection. +func NewSystemConnectionContext(ctx context.Context) (*Conn, error) { return NewConnection(func() (*dbus.Conn, error) { - return dbusAuthHelloConnection(dbus.SystemBusPrivate) + return dbusAuthHelloConnection(ctx, dbus.SystemBusPrivate) }) } -// NewUserConnection establishes a connection to the session bus and +// Deprecated: use NewUserConnectionContext instead. +func NewUserConnection() (*Conn, error) { + return NewUserConnectionContext(context.Background()) +} + +// NewUserConnectionContext establishes a connection to the session bus and // authenticates. This can be used to connect to systemd user instances. // Callers should call Close() when done with the connection. -func NewUserConnection() (*Conn, error) { +func NewUserConnectionContext(ctx context.Context) (*Conn, error) { return NewConnection(func() (*dbus.Conn, error) { - return dbusAuthHelloConnection(dbus.SessionBusPrivate) + return dbusAuthHelloConnection(ctx, dbus.SessionBusPrivate) }) } -// NewSystemdConnection establishes a private, direct connection to systemd. +// Deprecated: use NewSystemdConnectionContext instead. +func NewSystemdConnection() (*Conn, error) { + return NewSystemdConnectionContext(context.Background()) +} + +// NewSystemdConnectionContext establishes a private, direct connection to systemd. // This can be used for communicating with systemd without a dbus daemon. // Callers should call Close() when done with the connection. -func NewSystemdConnection() (*Conn, error) { +func NewSystemdConnectionContext(ctx context.Context) (*Conn, error) { return NewConnection(func() (*dbus.Conn, error) { // We skip Hello when talking directly to systemd. - return dbusAuthConnection(func(opts ...dbus.ConnOption) (*dbus.Conn, error) { - return dbus.Dial("unix:path=/run/systemd/private") + return dbusAuthConnection(ctx, func(opts ...dbus.ConnOption) (*dbus.Conn, error) { + return dbus.Dial("unix:path=/run/systemd/private", opts...) }) }) } -// Close closes an established connection +// Close closes an established connection. func (c *Conn) Close() { c.sysconn.Close() c.sigconn.Close() @@ -192,7 +213,7 @@ func NewConnection(dialBus func() (*dbus.Conn, error)) (*Conn, error) { // GetManagerProperty returns the value of a property on the org.freedesktop.systemd1.Manager // interface. The value is returned in its string representation, as defined at -// https://developer.gnome.org/glib/unstable/gvariant-text.html +// https://developer.gnome.org/glib/unstable/gvariant-text.html. func (c *Conn) GetManagerProperty(prop string) (string, error) { variant, err := c.sysobj.GetProperty("org.freedesktop.systemd1.Manager." + prop) if err != nil { @@ -201,8 +222,8 @@ func (c *Conn) GetManagerProperty(prop string) (string, error) { return variant.String(), nil } -func dbusAuthConnection(createBus func(opts ...dbus.ConnOption) (*dbus.Conn, error)) (*dbus.Conn, error) { - conn, err := createBus() +func dbusAuthConnection(ctx context.Context, createBus func(opts ...dbus.ConnOption) (*dbus.Conn, error)) (*dbus.Conn, error) { + conn, err := createBus(dbus.WithContext(ctx)) if err != nil { return nil, err } @@ -221,8 +242,8 @@ func dbusAuthConnection(createBus func(opts ...dbus.ConnOption) (*dbus.Conn, err return conn, nil } -func dbusAuthHelloConnection(createBus func(opts ...dbus.ConnOption) (*dbus.Conn, error)) (*dbus.Conn, error) { - conn, err := dbusAuthConnection(createBus) +func dbusAuthHelloConnection(ctx context.Context, createBus func(opts ...dbus.ConnOption) (*dbus.Conn, error)) (*dbus.Conn, error) { + conn, err := dbusAuthConnection(ctx, createBus) if err != nil { return nil, err } diff --git a/vendor/github.com/coreos/go-systemd/v22/dbus/methods.go b/vendor/github.com/coreos/go-systemd/v22/dbus/methods.go index e38659d7b..fa04afc70 100644 --- a/vendor/github.com/coreos/go-systemd/v22/dbus/methods.go +++ b/vendor/github.com/coreos/go-systemd/v22/dbus/methods.go @@ -15,6 +15,7 @@ package dbus import ( + "context" "errors" "fmt" "path" @@ -23,6 +24,18 @@ import ( "github.com/godbus/dbus/v5" ) +// Who can be used to specify which process to kill in the unit via the KillUnitWithTarget API +type Who string + +const ( + // All sends the signal to all processes in the unit + All Who = "all" + // Main sends the signal to the main process of the unit + Main Who = "main" + // Control sends the signal to the control process of the unit + Control Who = "control" +) + func (c *Conn) jobComplete(signal *dbus.Signal) { var id uint32 var job dbus.ObjectPath @@ -38,14 +51,14 @@ func (c *Conn) jobComplete(signal *dbus.Signal) { c.jobListener.Unlock() } -func (c *Conn) startJob(ch chan<- string, job string, args ...interface{}) (int, error) { +func (c *Conn) startJob(ctx context.Context, ch chan<- string, job string, args ...interface{}) (int, error) { if ch != nil { c.jobListener.Lock() defer c.jobListener.Unlock() } var p dbus.ObjectPath - err := c.sysobj.Call(job, 0, args...).Store(&p) + err := c.sysobj.CallWithContext(ctx, job, 0, args...).Store(&p) if err != nil { return 0, err } @@ -60,7 +73,12 @@ func (c *Conn) startJob(ch chan<- string, job string, args ...interface{}) (int, return jobID, nil } -// StartUnit enqueues a start job and depending jobs, if any (unless otherwise +// Deprecated: use StartUnitContext instead. +func (c *Conn) StartUnit(name string, mode string, ch chan<- string) (int, error) { + return c.StartUnitContext(context.Background(), name, mode, ch) +} + +// StartUnitContext enqueues a start job and depending jobs, if any (unless otherwise // specified by the mode string). // // Takes the unit to activate, plus a mode string. The mode needs to be one of @@ -90,72 +108,130 @@ func (c *Conn) startJob(ch chan<- string, job string, args ...interface{}) (int, // should not be considered authoritative. // // If an error does occur, it will be returned to the user alongside a job ID of 0. -func (c *Conn) StartUnit(name string, mode string, ch chan<- string) (int, error) { - return c.startJob(ch, "org.freedesktop.systemd1.Manager.StartUnit", name, mode) +func (c *Conn) StartUnitContext(ctx context.Context, name string, mode string, ch chan<- string) (int, error) { + return c.startJob(ctx, ch, "org.freedesktop.systemd1.Manager.StartUnit", name, mode) } -// StopUnit is similar to StartUnit but stops the specified unit rather -// than starting it. +// Deprecated: use StopUnitContext instead. func (c *Conn) StopUnit(name string, mode string, ch chan<- string) (int, error) { - return c.startJob(ch, "org.freedesktop.systemd1.Manager.StopUnit", name, mode) + return c.StopUnitContext(context.Background(), name, mode, ch) } -// ReloadUnit reloads a unit. Reloading is done only if the unit is already running and fails otherwise. +// StopUnitContext is similar to StartUnitContext, but stops the specified unit +// rather than starting it. +func (c *Conn) StopUnitContext(ctx context.Context, name string, mode string, ch chan<- string) (int, error) { + return c.startJob(ctx, ch, "org.freedesktop.systemd1.Manager.StopUnit", name, mode) +} + +// Deprecated: use ReloadUnitContext instead. func (c *Conn) ReloadUnit(name string, mode string, ch chan<- string) (int, error) { - return c.startJob(ch, "org.freedesktop.systemd1.Manager.ReloadUnit", name, mode) + return c.ReloadUnitContext(context.Background(), name, mode, ch) } -// RestartUnit restarts a service. If a service is restarted that isn't -// running it will be started. +// ReloadUnitContext reloads a unit. Reloading is done only if the unit +// is already running, and fails otherwise. +func (c *Conn) ReloadUnitContext(ctx context.Context, name string, mode string, ch chan<- string) (int, error) { + return c.startJob(ctx, ch, "org.freedesktop.systemd1.Manager.ReloadUnit", name, mode) +} + +// Deprecated: use RestartUnitContext instead. func (c *Conn) RestartUnit(name string, mode string, ch chan<- string) (int, error) { - return c.startJob(ch, "org.freedesktop.systemd1.Manager.RestartUnit", name, mode) + return c.RestartUnitContext(context.Background(), name, mode, ch) } -// TryRestartUnit is like RestartUnit, except that a service that isn't running -// is not affected by the restart. +// RestartUnitContext restarts a service. If a service is restarted that isn't +// running it will be started. +func (c *Conn) RestartUnitContext(ctx context.Context, name string, mode string, ch chan<- string) (int, error) { + return c.startJob(ctx, ch, "org.freedesktop.systemd1.Manager.RestartUnit", name, mode) +} + +// Deprecated: use TryRestartUnitContext instead. func (c *Conn) TryRestartUnit(name string, mode string, ch chan<- string) (int, error) { - return c.startJob(ch, "org.freedesktop.systemd1.Manager.TryRestartUnit", name, mode) + return c.TryRestartUnitContext(context.Background(), name, mode, ch) } -// ReloadOrRestartUnit attempts a reload if the unit supports it and use a restart -// otherwise. +// TryRestartUnitContext is like RestartUnitContext, except that a service that +// isn't running is not affected by the restart. +func (c *Conn) TryRestartUnitContext(ctx context.Context, name string, mode string, ch chan<- string) (int, error) { + return c.startJob(ctx, ch, "org.freedesktop.systemd1.Manager.TryRestartUnit", name, mode) +} + +// Deprecated: use ReloadOrRestartUnitContext instead. func (c *Conn) ReloadOrRestartUnit(name string, mode string, ch chan<- string) (int, error) { - return c.startJob(ch, "org.freedesktop.systemd1.Manager.ReloadOrRestartUnit", name, mode) + return c.ReloadOrRestartUnitContext(context.Background(), name, mode, ch) } -// ReloadOrTryRestartUnit attempts a reload if the unit supports it and use a "Try" -// flavored restart otherwise. +// ReloadOrRestartUnitContext attempts a reload if the unit supports it and use +// a restart otherwise. +func (c *Conn) ReloadOrRestartUnitContext(ctx context.Context, name string, mode string, ch chan<- string) (int, error) { + return c.startJob(ctx, ch, "org.freedesktop.systemd1.Manager.ReloadOrRestartUnit", name, mode) +} + +// Deprecated: use ReloadOrTryRestartUnitContext instead. func (c *Conn) ReloadOrTryRestartUnit(name string, mode string, ch chan<- string) (int, error) { - return c.startJob(ch, "org.freedesktop.systemd1.Manager.ReloadOrTryRestartUnit", name, mode) + return c.ReloadOrTryRestartUnitContext(context.Background(), name, mode, ch) } -// StartTransientUnit() may be used to create and start a transient unit, which +// ReloadOrTryRestartUnitContext attempts a reload if the unit supports it, +// and use a "Try" flavored restart otherwise. +func (c *Conn) ReloadOrTryRestartUnitContext(ctx context.Context, name string, mode string, ch chan<- string) (int, error) { + return c.startJob(ctx, ch, "org.freedesktop.systemd1.Manager.ReloadOrTryRestartUnit", name, mode) +} + +// Deprecated: use StartTransientUnitContext instead. +func (c *Conn) StartTransientUnit(name string, mode string, properties []Property, ch chan<- string) (int, error) { + return c.StartTransientUnitContext(context.Background(), name, mode, properties, ch) +} + +// StartTransientUnitContext may be used to create and start a transient unit, which // will be released as soon as it is not running or referenced anymore or the // system is rebooted. name is the unit name including suffix, and must be -// unique. mode is the same as in StartUnit(), properties contains properties +// unique. mode is the same as in StartUnitContext, properties contains properties // of the unit. -func (c *Conn) StartTransientUnit(name string, mode string, properties []Property, ch chan<- string) (int, error) { - return c.startJob(ch, "org.freedesktop.systemd1.Manager.StartTransientUnit", name, mode, properties, make([]PropertyCollection, 0)) +func (c *Conn) StartTransientUnitContext(ctx context.Context, name string, mode string, properties []Property, ch chan<- string) (int, error) { + return c.startJob(ctx, ch, "org.freedesktop.systemd1.Manager.StartTransientUnit", name, mode, properties, make([]PropertyCollection, 0)) } -// KillUnit takes the unit name and a UNIX signal number to send. All of the unit's -// processes are killed. +// Deprecated: use KillUnitContext instead. func (c *Conn) KillUnit(name string, signal int32) { - c.sysobj.Call("org.freedesktop.systemd1.Manager.KillUnit", 0, name, "all", signal).Store() + c.KillUnitContext(context.Background(), name, signal) } -// ResetFailedUnit resets the "failed" state of a specific unit. +// KillUnitContext takes the unit name and a UNIX signal number to send. +// All of the unit's processes are killed. +func (c *Conn) KillUnitContext(ctx context.Context, name string, signal int32) { + c.KillUnitWithTarget(ctx, name, All, signal) +} + +// KillUnitWithTarget is like KillUnitContext, but allows you to specify which +// process in the unit to send the signal to. +func (c *Conn) KillUnitWithTarget(ctx context.Context, name string, target Who, signal int32) error { + return c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.KillUnit", 0, name, string(target), signal).Store() +} + +// Deprecated: use ResetFailedUnitContext instead. func (c *Conn) ResetFailedUnit(name string) error { - return c.sysobj.Call("org.freedesktop.systemd1.Manager.ResetFailedUnit", 0, name).Store() + return c.ResetFailedUnitContext(context.Background(), name) } -// SystemState returns the systemd state. Equivalent to `systemctl is-system-running`. +// ResetFailedUnitContext resets the "failed" state of a specific unit. +func (c *Conn) ResetFailedUnitContext(ctx context.Context, name string) error { + return c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.ResetFailedUnit", 0, name).Store() +} + +// Deprecated: use SystemStateContext instead. func (c *Conn) SystemState() (*Property, error) { + return c.SystemStateContext(context.Background()) +} + +// SystemStateContext returns the systemd state. Equivalent to +// systemctl is-system-running. +func (c *Conn) SystemStateContext(ctx context.Context) (*Property, error) { var err error var prop dbus.Variant obj := c.sysconn.Object("org.freedesktop.systemd1", "/org/freedesktop/systemd1") - err = obj.Call("org.freedesktop.DBus.Properties.Get", 0, "org.freedesktop.systemd1.Manager", "SystemState").Store(&prop) + err = obj.CallWithContext(ctx, "org.freedesktop.DBus.Properties.Get", 0, "org.freedesktop.systemd1.Manager", "SystemState").Store(&prop) if err != nil { return nil, err } @@ -163,8 +239,8 @@ func (c *Conn) SystemState() (*Property, error) { return &Property{Name: "SystemState", Value: prop}, nil } -// getProperties takes the unit path and returns all of its dbus object properties, for the given dbus interface -func (c *Conn) getProperties(path dbus.ObjectPath, dbusInterface string) (map[string]interface{}, error) { +// getProperties takes the unit path and returns all of its dbus object properties, for the given dbus interface. +func (c *Conn) getProperties(ctx context.Context, path dbus.ObjectPath, dbusInterface string) (map[string]interface{}, error) { var err error var props map[string]dbus.Variant @@ -173,7 +249,7 @@ func (c *Conn) getProperties(path dbus.ObjectPath, dbusInterface string) (map[st } obj := c.sysconn.Object("org.freedesktop.systemd1", path) - err = obj.Call("org.freedesktop.DBus.Properties.GetAll", 0, dbusInterface).Store(&props) + err = obj.CallWithContext(ctx, "org.freedesktop.DBus.Properties.GetAll", 0, dbusInterface).Store(&props) if err != nil { return nil, err } @@ -186,24 +262,42 @@ func (c *Conn) getProperties(path dbus.ObjectPath, dbusInterface string) (map[st return out, nil } -// GetUnitProperties takes the (unescaped) unit name and returns all of its dbus object properties. +// Deprecated: use GetUnitPropertiesContext instead. func (c *Conn) GetUnitProperties(unit string) (map[string]interface{}, error) { - path := unitPath(unit) - return c.getProperties(path, "org.freedesktop.systemd1.Unit") + return c.GetUnitPropertiesContext(context.Background(), unit) } -// GetUnitPathProperties takes the (escaped) unit path and returns all of its dbus object properties. +// GetUnitPropertiesContext takes the (unescaped) unit name and returns all of +// its dbus object properties. +func (c *Conn) GetUnitPropertiesContext(ctx context.Context, unit string) (map[string]interface{}, error) { + path := unitPath(unit) + return c.getProperties(ctx, path, "org.freedesktop.systemd1.Unit") +} + +// Deprecated: use GetUnitPathPropertiesContext instead. func (c *Conn) GetUnitPathProperties(path dbus.ObjectPath) (map[string]interface{}, error) { - return c.getProperties(path, "org.freedesktop.systemd1.Unit") + return c.GetUnitPathPropertiesContext(context.Background(), path) } -// GetAllProperties takes the (unescaped) unit name and returns all of its dbus object properties. +// GetUnitPathPropertiesContext takes the (escaped) unit path and returns all +// of its dbus object properties. +func (c *Conn) GetUnitPathPropertiesContext(ctx context.Context, path dbus.ObjectPath) (map[string]interface{}, error) { + return c.getProperties(ctx, path, "org.freedesktop.systemd1.Unit") +} + +// Deprecated: use GetAllPropertiesContext instead. func (c *Conn) GetAllProperties(unit string) (map[string]interface{}, error) { - path := unitPath(unit) - return c.getProperties(path, "") + return c.GetAllPropertiesContext(context.Background(), unit) } -func (c *Conn) getProperty(unit string, dbusInterface string, propertyName string) (*Property, error) { +// GetAllPropertiesContext takes the (unescaped) unit name and returns all of +// its dbus object properties. +func (c *Conn) GetAllPropertiesContext(ctx context.Context, unit string) (map[string]interface{}, error) { + path := unitPath(unit) + return c.getProperties(ctx, path, "") +} + +func (c *Conn) getProperty(ctx context.Context, unit string, dbusInterface string, propertyName string) (*Property, error) { var err error var prop dbus.Variant @@ -213,7 +307,7 @@ func (c *Conn) getProperty(unit string, dbusInterface string, propertyName strin } obj := c.sysconn.Object("org.freedesktop.systemd1", path) - err = obj.Call("org.freedesktop.DBus.Properties.Get", 0, dbusInterface, propertyName).Store(&prop) + err = obj.CallWithContext(ctx, "org.freedesktop.DBus.Properties.Get", 0, dbusInterface, propertyName).Store(&prop) if err != nil { return nil, err } @@ -221,36 +315,65 @@ func (c *Conn) getProperty(unit string, dbusInterface string, propertyName strin return &Property{Name: propertyName, Value: prop}, nil } +// Deprecated: use GetUnitPropertyContext instead. func (c *Conn) GetUnitProperty(unit string, propertyName string) (*Property, error) { - return c.getProperty(unit, "org.freedesktop.systemd1.Unit", propertyName) + return c.GetUnitPropertyContext(context.Background(), unit, propertyName) } -// GetServiceProperty returns property for given service name and property name +// GetUnitPropertyContext takes an (unescaped) unit name, and a property name, +// and returns the property value. +func (c *Conn) GetUnitPropertyContext(ctx context.Context, unit string, propertyName string) (*Property, error) { + return c.getProperty(ctx, unit, "org.freedesktop.systemd1.Unit", propertyName) +} + +// Deprecated: use GetServicePropertyContext instead. func (c *Conn) GetServiceProperty(service string, propertyName string) (*Property, error) { - return c.getProperty(service, "org.freedesktop.systemd1.Service", propertyName) + return c.GetServicePropertyContext(context.Background(), service, propertyName) } -// GetUnitTypeProperties returns the extra properties for a unit, specific to the unit type. -// Valid values for unitType: Service, Socket, Target, Device, Mount, Automount, Snapshot, Timer, Swap, Path, Slice, Scope -// return "dbus.Error: Unknown interface" if the unitType is not the correct type of the unit +// GetServiceProperty returns property for given service name and property name. +func (c *Conn) GetServicePropertyContext(ctx context.Context, service string, propertyName string) (*Property, error) { + return c.getProperty(ctx, service, "org.freedesktop.systemd1.Service", propertyName) +} + +// Deprecated: use GetUnitTypePropertiesContext instead. func (c *Conn) GetUnitTypeProperties(unit string, unitType string) (map[string]interface{}, error) { - path := unitPath(unit) - return c.getProperties(path, "org.freedesktop.systemd1."+unitType) + return c.GetUnitTypePropertiesContext(context.Background(), unit, unitType) } -// SetUnitProperties() may be used to modify certain unit properties at runtime. +// GetUnitTypePropertiesContext returns the extra properties for a unit, specific to the unit type. +// Valid values for unitType: Service, Socket, Target, Device, Mount, Automount, Snapshot, Timer, Swap, Path, Slice, Scope. +// Returns "dbus.Error: Unknown interface" error if the unitType is not the correct type of the unit. +func (c *Conn) GetUnitTypePropertiesContext(ctx context.Context, unit string, unitType string) (map[string]interface{}, error) { + path := unitPath(unit) + return c.getProperties(ctx, path, "org.freedesktop.systemd1."+unitType) +} + +// Deprecated: use SetUnitPropertiesContext instead. +func (c *Conn) SetUnitProperties(name string, runtime bool, properties ...Property) error { + return c.SetUnitPropertiesContext(context.Background(), name, runtime, properties...) +} + +// SetUnitPropertiesContext may be used to modify certain unit properties at runtime. // Not all properties may be changed at runtime, but many resource management // settings (primarily those in systemd.cgroup(5)) may. The changes are applied // instantly, and stored on disk for future boots, unless runtime is true, in which // case the settings only apply until the next reboot. name is the name of the unit // to modify. properties are the settings to set, encoded as an array of property // name and value pairs. -func (c *Conn) SetUnitProperties(name string, runtime bool, properties ...Property) error { - return c.sysobj.Call("org.freedesktop.systemd1.Manager.SetUnitProperties", 0, name, runtime, properties).Store() +func (c *Conn) SetUnitPropertiesContext(ctx context.Context, name string, runtime bool, properties ...Property) error { + return c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.SetUnitProperties", 0, name, runtime, properties).Store() } +// Deprecated: use GetUnitTypePropertyContext instead. func (c *Conn) GetUnitTypeProperty(unit string, unitType string, propertyName string) (*Property, error) { - return c.getProperty(unit, "org.freedesktop.systemd1."+unitType, propertyName) + return c.GetUnitTypePropertyContext(context.Background(), unit, unitType, propertyName) +} + +// GetUnitTypePropertyContext takes a property name, a unit name, and a unit type, +// and returns a property value. For valid values of unitType, see GetUnitTypePropertiesContext. +func (c *Conn) GetUnitTypePropertyContext(ctx context.Context, unit string, unitType string, propertyName string) (*Property, error) { + return c.getProperty(ctx, unit, "org.freedesktop.systemd1."+unitType, propertyName) } type UnitStatus struct { @@ -294,36 +417,57 @@ func (c *Conn) listUnitsInternal(f storeFunc) ([]UnitStatus, error) { return status, nil } -// ListUnits returns an array with all currently loaded units. Note that +// Deprecated: use ListUnitsContext instead. +func (c *Conn) ListUnits() ([]UnitStatus, error) { + return c.ListUnitsContext(context.Background()) +} + +// ListUnitsContext returns an array with all currently loaded units. Note that // units may be known by multiple names at the same time, and hence there might // be more unit names loaded than actual units behind them. // Also note that a unit is only loaded if it is active and/or enabled. // Units that are both disabled and inactive will thus not be returned. -func (c *Conn) ListUnits() ([]UnitStatus, error) { - return c.listUnitsInternal(c.sysobj.Call("org.freedesktop.systemd1.Manager.ListUnits", 0).Store) +func (c *Conn) ListUnitsContext(ctx context.Context) ([]UnitStatus, error) { + return c.listUnitsInternal(c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.ListUnits", 0).Store) } -// ListUnitsFiltered returns an array with units filtered by state. -// It takes a list of units' statuses to filter. +// Deprecated: use ListUnitsFilteredContext instead. func (c *Conn) ListUnitsFiltered(states []string) ([]UnitStatus, error) { - return c.listUnitsInternal(c.sysobj.Call("org.freedesktop.systemd1.Manager.ListUnitsFiltered", 0, states).Store) + return c.ListUnitsFilteredContext(context.Background(), states) } -// ListUnitsByPatterns returns an array with units. +// ListUnitsFilteredContext returns an array with units filtered by state. +// It takes a list of units' statuses to filter. +func (c *Conn) ListUnitsFilteredContext(ctx context.Context, states []string) ([]UnitStatus, error) { + return c.listUnitsInternal(c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.ListUnitsFiltered", 0, states).Store) +} + +// Deprecated: use ListUnitsByPatternsContext instead. +func (c *Conn) ListUnitsByPatterns(states []string, patterns []string) ([]UnitStatus, error) { + return c.ListUnitsByPatternsContext(context.Background(), states, patterns) +} + +// ListUnitsByPatternsContext returns an array with units. // It takes a list of units' statuses and names to filter. // Note that units may be known by multiple names at the same time, // and hence there might be more unit names loaded than actual units behind them. -func (c *Conn) ListUnitsByPatterns(states []string, patterns []string) ([]UnitStatus, error) { - return c.listUnitsInternal(c.sysobj.Call("org.freedesktop.systemd1.Manager.ListUnitsByPatterns", 0, states, patterns).Store) +func (c *Conn) ListUnitsByPatternsContext(ctx context.Context, states []string, patterns []string) ([]UnitStatus, error) { + return c.listUnitsInternal(c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.ListUnitsByPatterns", 0, states, patterns).Store) } -// ListUnitsByNames returns an array with units. It takes a list of units' -// names and returns an UnitStatus array. Comparing to ListUnitsByPatterns +// Deprecated: use ListUnitsByNamesContext instead. +func (c *Conn) ListUnitsByNames(units []string) ([]UnitStatus, error) { + return c.ListUnitsByNamesContext(context.Background(), units) +} + +// ListUnitsByNamesContext returns an array with units. It takes a list of units' +// names and returns an UnitStatus array. Comparing to ListUnitsByPatternsContext // method, this method returns statuses even for inactive or non-existing // units. Input array should contain exact unit names, but not patterns. -// Note: Requires systemd v230 or higher -func (c *Conn) ListUnitsByNames(units []string) ([]UnitStatus, error) { - return c.listUnitsInternal(c.sysobj.Call("org.freedesktop.systemd1.Manager.ListUnitsByNames", 0, units).Store) +// +// Requires systemd v230 or higher. +func (c *Conn) ListUnitsByNamesContext(ctx context.Context, units []string) ([]UnitStatus, error) { + return c.listUnitsInternal(c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.ListUnitsByNames", 0, units).Store) } type UnitFile struct { @@ -357,25 +501,43 @@ func (c *Conn) listUnitFilesInternal(f storeFunc) ([]UnitFile, error) { return files, nil } -// ListUnitFiles returns an array of all available units on disk. +// Deprecated: use ListUnitFilesContext instead. func (c *Conn) ListUnitFiles() ([]UnitFile, error) { - return c.listUnitFilesInternal(c.sysobj.Call("org.freedesktop.systemd1.Manager.ListUnitFiles", 0).Store) + return c.ListUnitFilesContext(context.Background()) } -// ListUnitFilesByPatterns returns an array of all available units on disk matched the patterns. +// ListUnitFiles returns an array of all available units on disk. +func (c *Conn) ListUnitFilesContext(ctx context.Context) ([]UnitFile, error) { + return c.listUnitFilesInternal(c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.ListUnitFiles", 0).Store) +} + +// Deprecated: use ListUnitFilesByPatternsContext instead. func (c *Conn) ListUnitFilesByPatterns(states []string, patterns []string) ([]UnitFile, error) { - return c.listUnitFilesInternal(c.sysobj.Call("org.freedesktop.systemd1.Manager.ListUnitFilesByPatterns", 0, states, patterns).Store) + return c.ListUnitFilesByPatternsContext(context.Background(), states, patterns) +} + +// ListUnitFilesByPatternsContext returns an array of all available units on disk matched the patterns. +func (c *Conn) ListUnitFilesByPatternsContext(ctx context.Context, states []string, patterns []string) ([]UnitFile, error) { + return c.listUnitFilesInternal(c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.ListUnitFilesByPatterns", 0, states, patterns).Store) } type LinkUnitFileChange EnableUnitFileChange -// LinkUnitFiles() links unit files (that are located outside of the +// Deprecated: use LinkUnitFilesContext instead. +func (c *Conn) LinkUnitFiles(files []string, runtime bool, force bool) ([]LinkUnitFileChange, error) { + return c.LinkUnitFilesContext(context.Background(), files, runtime, force) +} + +// LinkUnitFilesContext links unit files (that are located outside of the // usual unit search paths) into the unit search path. // // It takes a list of absolute paths to unit files to link and two -// booleans. The first boolean controls whether the unit shall be +// booleans. +// +// The first boolean controls whether the unit shall be // enabled for runtime only (true, /run), or persistently (false, // /etc). +// // The second controls whether symlinks pointing to other units shall // be replaced if necessary. // @@ -383,9 +545,9 @@ type LinkUnitFileChange EnableUnitFileChange // structures with three strings: the type of the change (one of symlink // or unlink), the file name of the symlink and the destination of the // symlink. -func (c *Conn) LinkUnitFiles(files []string, runtime bool, force bool) ([]LinkUnitFileChange, error) { +func (c *Conn) LinkUnitFilesContext(ctx context.Context, files []string, runtime bool, force bool) ([]LinkUnitFileChange, error) { result := make([][]interface{}, 0) - err := c.sysobj.Call("org.freedesktop.systemd1.Manager.LinkUnitFiles", 0, files, runtime, force).Store(&result) + err := c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.LinkUnitFiles", 0, files, runtime, force).Store(&result) if err != nil { return nil, err } @@ -409,8 +571,13 @@ func (c *Conn) LinkUnitFiles(files []string, runtime bool, force bool) ([]LinkUn return changes, nil } -// EnableUnitFiles() may be used to enable one or more units in the system (by -// creating symlinks to them in /etc or /run). +// Deprecated: use EnableUnitFilesContext instead. +func (c *Conn) EnableUnitFiles(files []string, runtime bool, force bool) (bool, []EnableUnitFileChange, error) { + return c.EnableUnitFilesContext(context.Background(), files, runtime, force) +} + +// EnableUnitFilesContext may be used to enable one or more units in the system +// (by creating symlinks to them in /etc or /run). // // It takes a list of unit files to enable (either just file names or full // absolute paths if the unit files are residing outside the usual unit @@ -425,11 +592,11 @@ func (c *Conn) LinkUnitFiles(files []string, runtime bool, force bool) ([]LinkUn // structures with three strings: the type of the change (one of symlink // or unlink), the file name of the symlink and the destination of the // symlink. -func (c *Conn) EnableUnitFiles(files []string, runtime bool, force bool) (bool, []EnableUnitFileChange, error) { +func (c *Conn) EnableUnitFilesContext(ctx context.Context, files []string, runtime bool, force bool) (bool, []EnableUnitFileChange, error) { var carries_install_info bool result := make([][]interface{}, 0) - err := c.sysobj.Call("org.freedesktop.systemd1.Manager.EnableUnitFiles", 0, files, runtime, force).Store(&carries_install_info, &result) + err := c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.EnableUnitFiles", 0, files, runtime, force).Store(&carries_install_info, &result) if err != nil { return false, nil, err } @@ -459,8 +626,13 @@ type EnableUnitFileChange struct { Destination string // Destination of the symlink } -// DisableUnitFiles() may be used to disable one or more units in the system (by -// removing symlinks to them from /etc or /run). +// Deprecated: use DisableUnitFilesContext instead. +func (c *Conn) DisableUnitFiles(files []string, runtime bool) ([]DisableUnitFileChange, error) { + return c.DisableUnitFilesContext(context.Background(), files, runtime) +} + +// DisableUnitFilesContext may be used to disable one or more units in the +// system (by removing symlinks to them from /etc or /run). // // It takes a list of unit files to disable (either just file names or full // absolute paths if the unit files are residing outside the usual unit @@ -471,9 +643,9 @@ type EnableUnitFileChange struct { // consists of structures with three strings: the type of the change (one of // symlink or unlink), the file name of the symlink and the destination of the // symlink. -func (c *Conn) DisableUnitFiles(files []string, runtime bool) ([]DisableUnitFileChange, error) { +func (c *Conn) DisableUnitFilesContext(ctx context.Context, files []string, runtime bool) ([]DisableUnitFileChange, error) { result := make([][]interface{}, 0) - err := c.sysobj.Call("org.freedesktop.systemd1.Manager.DisableUnitFiles", 0, files, runtime).Store(&result) + err := c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.DisableUnitFiles", 0, files, runtime).Store(&result) if err != nil { return nil, err } @@ -503,18 +675,23 @@ type DisableUnitFileChange struct { Destination string // Destination of the symlink } -// MaskUnitFiles masks one or more units in the system -// -// It takes three arguments: -// * list of units to mask (either just file names or full -// absolute paths if the unit files are residing outside -// the usual unit search paths) -// * runtime to specify whether the unit was enabled for runtime -// only (true, /run/systemd/..), or persistently (false, /etc/systemd/..) -// * force flag +// Deprecated: use MaskUnitFilesContext instead. func (c *Conn) MaskUnitFiles(files []string, runtime bool, force bool) ([]MaskUnitFileChange, error) { + return c.MaskUnitFilesContext(context.Background(), files, runtime, force) +} + +// MaskUnitFilesContext masks one or more units in the system. +// +// The files argument contains a list of units to mask (either just file names +// or full absolute paths if the unit files are residing outside the usual unit +// search paths). +// +// The runtime argument is used to specify whether the unit was enabled for +// runtime only (true, /run/systemd/..), or persistently (false, +// /etc/systemd/..). +func (c *Conn) MaskUnitFilesContext(ctx context.Context, files []string, runtime bool, force bool) ([]MaskUnitFileChange, error) { result := make([][]interface{}, 0) - err := c.sysobj.Call("org.freedesktop.systemd1.Manager.MaskUnitFiles", 0, files, runtime, force).Store(&result) + err := c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.MaskUnitFiles", 0, files, runtime, force).Store(&result) if err != nil { return nil, err } @@ -544,17 +721,21 @@ type MaskUnitFileChange struct { Destination string // Destination of the symlink } -// UnmaskUnitFiles unmasks one or more units in the system -// -// It takes two arguments: -// * list of unit files to mask (either just file names or full -// absolute paths if the unit files are residing outside -// the usual unit search paths) -// * runtime to specify whether the unit was enabled for runtime -// only (true, /run/systemd/..), or persistently (false, /etc/systemd/..) +// Deprecated: use UnmaskUnitFilesContext instead. func (c *Conn) UnmaskUnitFiles(files []string, runtime bool) ([]UnmaskUnitFileChange, error) { + return c.UnmaskUnitFilesContext(context.Background(), files, runtime) +} + +// UnmaskUnitFilesContext unmasks one or more units in the system. +// +// It takes the list of unit files to mask (either just file names or full +// absolute paths if the unit files are residing outside the usual unit search +// paths), and a boolean runtime flag to specify whether the unit was enabled +// for runtime only (true, /run/systemd/..), or persistently (false, +// /etc/systemd/..). +func (c *Conn) UnmaskUnitFilesContext(ctx context.Context, files []string, runtime bool) ([]UnmaskUnitFileChange, error) { result := make([][]interface{}, 0) - err := c.sysobj.Call("org.freedesktop.systemd1.Manager.UnmaskUnitFiles", 0, files, runtime).Store(&result) + err := c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.UnmaskUnitFiles", 0, files, runtime).Store(&result) if err != nil { return nil, err } @@ -584,17 +765,66 @@ type UnmaskUnitFileChange struct { Destination string // Destination of the symlink } -// Reload instructs systemd to scan for and reload unit files. This is -// equivalent to a 'systemctl daemon-reload'. +// Deprecated: use ReloadContext instead. func (c *Conn) Reload() error { - return c.sysobj.Call("org.freedesktop.systemd1.Manager.Reload", 0).Store() + return c.ReloadContext(context.Background()) +} + +// ReloadContext instructs systemd to scan for and reload unit files. This is +// an equivalent to systemctl daemon-reload. +func (c *Conn) ReloadContext(ctx context.Context) error { + return c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.Reload", 0).Store() } func unitPath(name string) dbus.ObjectPath { return dbus.ObjectPath("/org/freedesktop/systemd1/unit/" + PathBusEscape(name)) } -// unitName returns the unescaped base element of the supplied escaped path +// unitName returns the unescaped base element of the supplied escaped path. func unitName(dpath dbus.ObjectPath) string { return pathBusUnescape(path.Base(string(dpath))) } + +// JobStatus holds a currently queued job definition. +type JobStatus struct { + Id uint32 // The numeric job id + Unit string // The primary unit name for this job + JobType string // The job type as string + Status string // The job state as string + JobPath dbus.ObjectPath // The job object path + UnitPath dbus.ObjectPath // The unit object path +} + +// Deprecated: use ListJobsContext instead. +func (c *Conn) ListJobs() ([]JobStatus, error) { + return c.ListJobsContext(context.Background()) +} + +// ListJobsContext returns an array with all currently queued jobs. +func (c *Conn) ListJobsContext(ctx context.Context) ([]JobStatus, error) { + return c.listJobsInternal(ctx) +} + +func (c *Conn) listJobsInternal(ctx context.Context) ([]JobStatus, error) { + result := make([][]interface{}, 0) + if err := c.sysobj.CallWithContext(ctx, "org.freedesktop.systemd1.Manager.ListJobs", 0).Store(&result); err != nil { + return nil, err + } + + resultInterface := make([]interface{}, len(result)) + for i := range result { + resultInterface[i] = result[i] + } + + status := make([]JobStatus, len(result)) + statusInterface := make([]interface{}, len(status)) + for i := range status { + statusInterface[i] = &status[i] + } + + if err := dbus.Store(resultInterface, statusInterface...); err != nil { + return nil, err + } + + return status, nil +} diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/LICENSE b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/LICENSE new file mode 100644 index 000000000..d2d1dd933 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/LICENSE @@ -0,0 +1,17 @@ +ISC License + +Copyright (c) 2013-2017 The btcsuite developers +Copyright (c) 2015-2020 The Decred developers +Copyright (c) 2017 The Lightning Network Developers + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/README.md b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/README.md new file mode 100644 index 000000000..b84bcdb77 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/README.md @@ -0,0 +1,72 @@ +secp256k1 +========= + +[![Build Status](https://github.com/decred/dcrd/workflows/Build%20and%20Test/badge.svg)](https://github.com/decred/dcrd/actions) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![Doc](https://img.shields.io/badge/doc-reference-blue.svg)](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4) + +Package secp256k1 implements optimized secp256k1 elliptic curve operations. + +This package provides an optimized pure Go implementation of elliptic curve +cryptography operations over the secp256k1 curve as well as data structures and +functions for working with public and private secp256k1 keys. See +https://www.secg.org/sec2-v2.pdf for details on the standard. + +In addition, sub packages are provided to produce, verify, parse, and serialize +ECDSA signatures and EC-Schnorr-DCRv0 (a custom Schnorr-based signature scheme +specific to Decred) signatures. See the README.md files in the relevant sub +packages for more details about those aspects. + +An overview of the features provided by this package are as follows: + +- Private key generation, serialization, and parsing +- Public key generation, serialization and parsing per ANSI X9.62-1998 + - Parses uncompressed, compressed, and hybrid public keys + - Serializes uncompressed and compressed public keys +- Specialized types for performing optimized and constant time field operations + - `FieldVal` type for working modulo the secp256k1 field prime + - `ModNScalar` type for working modulo the secp256k1 group order +- Elliptic curve operations in Jacobian projective coordinates + - Point addition + - Point doubling + - Scalar multiplication with an arbitrary point + - Scalar multiplication with the base point (group generator) +- Point decompression from a given x coordinate +- Nonce generation via RFC6979 with support for extra data and version + information that can be used to prevent nonce reuse between signing algorithms + +It also provides an implementation of the Go standard library `crypto/elliptic` +`Curve` interface via the `S256` function so that it may be used with other +packages in the standard library such as `crypto/tls`, `crypto/x509`, and +`crypto/ecdsa`. However, in the case of ECDSA, it is highly recommended to use +the `ecdsa` sub package of this package instead since it is optimized +specifically for secp256k1 and is significantly faster as a result. + +Although this package was primarily written for dcrd, it has intentionally been +designed so it can be used as a standalone package for any projects needing to +use optimized secp256k1 elliptic curve cryptography. + +Finally, a comprehensive suite of tests is provided to provide a high level of +quality assurance. + +## secp256k1 use in Decred + +At the time of this writing, the primary public key cryptography in widespread +use on the Decred network used to secure coins is based on elliptic curves +defined by the secp256k1 domain parameters. + +## Installation and Updating + +This package is part of the `github.com/decred/dcrd/dcrec/secp256k1/v4` module. +Use the standard go tooling for working with modules to incorporate it. + +## Examples + +* [Encryption](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4#example-package-EncryptDecryptMessage) + Demonstrates encrypting and decrypting a message using a shared key derived + through ECDHE. + +## License + +Package secp256k1 is licensed under the [copyfree](http://copyfree.org) ISC +License. diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/compressedbytepoints.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/compressedbytepoints.go new file mode 100644 index 000000000..ca4be1218 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/compressedbytepoints.go @@ -0,0 +1,11 @@ +// Copyright (c) 2015 The btcsuite developers +// Copyright (c) 2015-2021 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package secp256k1 + +// Auto-generated file (see genprecomps.go) +// DO NOT EDIT + +var compressedBytePoints = "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" diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/curve.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/curve.go new file mode 100644 index 000000000..e8620608f --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/curve.go @@ -0,0 +1,943 @@ +// Copyright (c) 2015-2021 The Decred developers +// Copyright 2013-2014 The btcsuite developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package secp256k1 + +import ( + "encoding/hex" + "math/big" +) + +// References: +// [SECG]: Recommended Elliptic Curve Domain Parameters +// https://www.secg.org/sec2-v2.pdf +// +// [GECC]: Guide to Elliptic Curve Cryptography (Hankerson, Menezes, Vanstone) +// +// [BRID]: On Binary Representations of Integers with Digits -1, 0, 1 +// (Prodinger, Helmut) + +// All group operations are performed using Jacobian coordinates. For a given +// (x, y) position on the curve, the Jacobian coordinates are (x1, y1, z1) +// where x = x1/z1^2 and y = y1/z1^3. + +// hexToFieldVal converts the passed hex string into a FieldVal and will panic +// if there is an error. This is only provided for the hard-coded constants so +// errors in the source code can be detected. It will only (and must only) be +// called with hard-coded values. +func hexToFieldVal(s string) *FieldVal { + b, err := hex.DecodeString(s) + if err != nil { + panic("invalid hex in source file: " + s) + } + var f FieldVal + if overflow := f.SetByteSlice(b); overflow { + panic("hex in source file overflows mod P: " + s) + } + return &f +} + +var ( + // Next 6 constants are from Hal Finney's bitcointalk.org post: + // https://bitcointalk.org/index.php?topic=3238.msg45565#msg45565 + // May he rest in peace. + // + // They have also been independently derived from the code in the + // EndomorphismVectors function in genstatics.go. + endomorphismLambda = fromHex("5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72") + endomorphismBeta = hexToFieldVal("7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee") + endomorphismA1 = fromHex("3086d221a7d46bcde86c90e49284eb15") + endomorphismB1 = fromHex("-e4437ed6010e88286f547fa90abfe4c3") + endomorphismA2 = fromHex("114ca50f7a8e2f3f657c1108d9d44cfd8") + endomorphismB2 = fromHex("3086d221a7d46bcde86c90e49284eb15") + + // Alternatively, the following parameters are valid as well, however, they + // seem to be about 8% slower in practice. + // + // endomorphismLambda = fromHex("AC9C52B33FA3CF1F5AD9E3FD77ED9BA4A880B9FC8EC739C2E0CFC810B51283CE") + // endomorphismBeta = hexToFieldVal("851695D49A83F8EF919BB86153CBCB16630FB68AED0A766A3EC693D68E6AFA40") + // endomorphismA1 = fromHex("E4437ED6010E88286F547FA90ABFE4C3") + // endomorphismB1 = fromHex("-3086D221A7D46BCDE86C90E49284EB15") + // endomorphismA2 = fromHex("3086D221A7D46BCDE86C90E49284EB15") + // endomorphismB2 = fromHex("114CA50F7A8E2F3F657C1108D9D44CFD8") +) + +// JacobianPoint is an element of the group formed by the secp256k1 curve in +// Jacobian projective coordinates and thus represents a point on the curve. +type JacobianPoint struct { + // The X coordinate in Jacobian projective coordinates. The affine point is + // X/z^2. + X FieldVal + + // The Y coordinate in Jacobian projective coordinates. The affine point is + // Y/z^3. + Y FieldVal + + // The Z coordinate in Jacobian projective coordinates. + Z FieldVal +} + +// MakeJacobianPoint returns a Jacobian point with the provided X, Y, and Z +// coordinates. +func MakeJacobianPoint(x, y, z *FieldVal) JacobianPoint { + var p JacobianPoint + p.X.Set(x) + p.Y.Set(y) + p.Z.Set(z) + return p +} + +// Set sets the Jacobian point to the provided point. +func (p *JacobianPoint) Set(other *JacobianPoint) { + p.X.Set(&other.X) + p.Y.Set(&other.Y) + p.Z.Set(&other.Z) +} + +// ToAffine reduces the Z value of the existing point to 1 effectively +// making it an affine coordinate in constant time. The point will be +// normalized. +func (p *JacobianPoint) ToAffine() { + // Inversions are expensive and both point addition and point doubling + // are faster when working with points that have a z value of one. So, + // if the point needs to be converted to affine, go ahead and normalize + // the point itself at the same time as the calculation is the same. + var zInv, tempZ FieldVal + zInv.Set(&p.Z).Inverse() // zInv = Z^-1 + tempZ.SquareVal(&zInv) // tempZ = Z^-2 + p.X.Mul(&tempZ) // X = X/Z^2 (mag: 1) + p.Y.Mul(tempZ.Mul(&zInv)) // Y = Y/Z^3 (mag: 1) + p.Z.SetInt(1) // Z = 1 (mag: 1) + + // Normalize the x and y values. + p.X.Normalize() + p.Y.Normalize() +} + +// addZ1AndZ2EqualsOne adds two Jacobian points that are already known to have +// z values of 1 and stores the result in the provided result param. That is to +// say result = p1 + p2. It performs faster addition than the generic add +// routine since less arithmetic is needed due to the ability to avoid the z +// value multiplications. +// +// NOTE: The points must be normalized for this function to return the correct +// result. The resulting point will be normalized. +func addZ1AndZ2EqualsOne(p1, p2, result *JacobianPoint) { + // To compute the point addition efficiently, this implementation splits + // the equation into intermediate elements which are used to minimize + // the number of field multiplications using the method shown at: + // https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-mmadd-2007-bl + // + // In particular it performs the calculations using the following: + // H = X2-X1, HH = H^2, I = 4*HH, J = H*I, r = 2*(Y2-Y1), V = X1*I + // X3 = r^2-J-2*V, Y3 = r*(V-X3)-2*Y1*J, Z3 = 2*H + // + // This results in a cost of 4 field multiplications, 2 field squarings, + // 6 field additions, and 5 integer multiplications. + x1, y1 := &p1.X, &p1.Y + x2, y2 := &p2.X, &p2.Y + x3, y3, z3 := &result.X, &result.Y, &result.Z + + // When the x coordinates are the same for two points on the curve, the + // y coordinates either must be the same, in which case it is point + // doubling, or they are opposite and the result is the point at + // infinity per the group law for elliptic curve cryptography. + if x1.Equals(x2) { + if y1.Equals(y2) { + // Since x1 == x2 and y1 == y2, point doubling must be + // done, otherwise the addition would end up dividing + // by zero. + DoubleNonConst(p1, result) + return + } + + // Since x1 == x2 and y1 == -y2, the sum is the point at + // infinity per the group law. + x3.SetInt(0) + y3.SetInt(0) + z3.SetInt(0) + return + } + + // Calculate X3, Y3, and Z3 according to the intermediate elements + // breakdown above. + var h, i, j, r, v FieldVal + var negJ, neg2V, negX3 FieldVal + h.Set(x1).Negate(1).Add(x2) // H = X2-X1 (mag: 3) + i.SquareVal(&h).MulInt(4) // I = 4*H^2 (mag: 4) + j.Mul2(&h, &i) // J = H*I (mag: 1) + r.Set(y1).Negate(1).Add(y2).MulInt(2) // r = 2*(Y2-Y1) (mag: 6) + v.Mul2(x1, &i) // V = X1*I (mag: 1) + negJ.Set(&j).Negate(1) // negJ = -J (mag: 2) + neg2V.Set(&v).MulInt(2).Negate(2) // neg2V = -(2*V) (mag: 3) + x3.Set(&r).Square().Add(&negJ).Add(&neg2V) // X3 = r^2-J-2*V (mag: 6) + negX3.Set(x3).Negate(6) // negX3 = -X3 (mag: 7) + j.Mul(y1).MulInt(2).Negate(2) // J = -(2*Y1*J) (mag: 3) + y3.Set(&v).Add(&negX3).Mul(&r).Add(&j) // Y3 = r*(V-X3)-2*Y1*J (mag: 4) + z3.Set(&h).MulInt(2) // Z3 = 2*H (mag: 6) + + // Normalize the resulting field values to a magnitude of 1 as needed. + x3.Normalize() + y3.Normalize() + z3.Normalize() +} + +// addZ1EqualsZ2 adds two Jacobian points that are already known to have the +// same z value and stores the result in the provided result param. That is to +// say result = p1 + p2. It performs faster addition than the generic add +// routine since less arithmetic is needed due to the known equivalence. +// +// NOTE: The points must be normalized for this function to return the correct +// result. The resulting point will be normalized. +func addZ1EqualsZ2(p1, p2, result *JacobianPoint) { + // To compute the point addition efficiently, this implementation splits + // the equation into intermediate elements which are used to minimize + // the number of field multiplications using a slightly modified version + // of the method shown at: + // https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-mmadd-2007-bl + // + // In particular it performs the calculations using the following: + // A = X2-X1, B = A^2, C=Y2-Y1, D = C^2, E = X1*B, F = X2*B + // X3 = D-E-F, Y3 = C*(E-X3)-Y1*(F-E), Z3 = Z1*A + // + // This results in a cost of 5 field multiplications, 2 field squarings, + // 9 field additions, and 0 integer multiplications. + x1, y1, z1 := &p1.X, &p1.Y, &p1.Z + x2, y2 := &p2.X, &p2.Y + x3, y3, z3 := &result.X, &result.Y, &result.Z + + // When the x coordinates are the same for two points on the curve, the + // y coordinates either must be the same, in which case it is point + // doubling, or they are opposite and the result is the point at + // infinity per the group law for elliptic curve cryptography. + if x1.Equals(x2) { + if y1.Equals(y2) { + // Since x1 == x2 and y1 == y2, point doubling must be + // done, otherwise the addition would end up dividing + // by zero. + DoubleNonConst(p1, result) + return + } + + // Since x1 == x2 and y1 == -y2, the sum is the point at + // infinity per the group law. + x3.SetInt(0) + y3.SetInt(0) + z3.SetInt(0) + return + } + + // Calculate X3, Y3, and Z3 according to the intermediate elements + // breakdown above. + var a, b, c, d, e, f FieldVal + var negX1, negY1, negE, negX3 FieldVal + negX1.Set(x1).Negate(1) // negX1 = -X1 (mag: 2) + negY1.Set(y1).Negate(1) // negY1 = -Y1 (mag: 2) + a.Set(&negX1).Add(x2) // A = X2-X1 (mag: 3) + b.SquareVal(&a) // B = A^2 (mag: 1) + c.Set(&negY1).Add(y2) // C = Y2-Y1 (mag: 3) + d.SquareVal(&c) // D = C^2 (mag: 1) + e.Mul2(x1, &b) // E = X1*B (mag: 1) + negE.Set(&e).Negate(1) // negE = -E (mag: 2) + f.Mul2(x2, &b) // F = X2*B (mag: 1) + x3.Add2(&e, &f).Negate(3).Add(&d) // X3 = D-E-F (mag: 5) + negX3.Set(x3).Negate(5).Normalize() // negX3 = -X3 (mag: 1) + y3.Set(y1).Mul(f.Add(&negE)).Negate(3) // Y3 = -(Y1*(F-E)) (mag: 4) + y3.Add(e.Add(&negX3).Mul(&c)) // Y3 = C*(E-X3)+Y3 (mag: 5) + z3.Mul2(z1, &a) // Z3 = Z1*A (mag: 1) + + // Normalize the resulting field values to a magnitude of 1 as needed. + x3.Normalize() + y3.Normalize() + z3.Normalize() +} + +// addZ2EqualsOne adds two Jacobian points when the second point is already +// known to have a z value of 1 (and the z value for the first point is not 1) +// and stores the result in the provided result param. That is to say result = +// p1 + p2. It performs faster addition than the generic add routine since +// less arithmetic is needed due to the ability to avoid multiplications by the +// second point's z value. +// +// NOTE: The points must be normalized for this function to return the correct +// result. The resulting point will be normalized. +func addZ2EqualsOne(p1, p2, result *JacobianPoint) { + // To compute the point addition efficiently, this implementation splits + // the equation into intermediate elements which are used to minimize + // the number of field multiplications using the method shown at: + // https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-madd-2007-bl + // + // In particular it performs the calculations using the following: + // Z1Z1 = Z1^2, U2 = X2*Z1Z1, S2 = Y2*Z1*Z1Z1, H = U2-X1, HH = H^2, + // I = 4*HH, J = H*I, r = 2*(S2-Y1), V = X1*I + // X3 = r^2-J-2*V, Y3 = r*(V-X3)-2*Y1*J, Z3 = (Z1+H)^2-Z1Z1-HH + // + // This results in a cost of 7 field multiplications, 4 field squarings, + // 9 field additions, and 4 integer multiplications. + x1, y1, z1 := &p1.X, &p1.Y, &p1.Z + x2, y2 := &p2.X, &p2.Y + x3, y3, z3 := &result.X, &result.Y, &result.Z + + // When the x coordinates are the same for two points on the curve, the + // y coordinates either must be the same, in which case it is point + // doubling, or they are opposite and the result is the point at + // infinity per the group law for elliptic curve cryptography. Since + // any number of Jacobian coordinates can represent the same affine + // point, the x and y values need to be converted to like terms. Due to + // the assumption made for this function that the second point has a z + // value of 1 (z2=1), the first point is already "converted". + var z1z1, u2, s2 FieldVal + z1z1.SquareVal(z1) // Z1Z1 = Z1^2 (mag: 1) + u2.Set(x2).Mul(&z1z1).Normalize() // U2 = X2*Z1Z1 (mag: 1) + s2.Set(y2).Mul(&z1z1).Mul(z1).Normalize() // S2 = Y2*Z1*Z1Z1 (mag: 1) + if x1.Equals(&u2) { + if y1.Equals(&s2) { + // Since x1 == x2 and y1 == y2, point doubling must be + // done, otherwise the addition would end up dividing + // by zero. + DoubleNonConst(p1, result) + return + } + + // Since x1 == x2 and y1 == -y2, the sum is the point at + // infinity per the group law. + x3.SetInt(0) + y3.SetInt(0) + z3.SetInt(0) + return + } + + // Calculate X3, Y3, and Z3 according to the intermediate elements + // breakdown above. + var h, hh, i, j, r, rr, v FieldVal + var negX1, negY1, negX3 FieldVal + negX1.Set(x1).Negate(1) // negX1 = -X1 (mag: 2) + h.Add2(&u2, &negX1) // H = U2-X1 (mag: 3) + hh.SquareVal(&h) // HH = H^2 (mag: 1) + i.Set(&hh).MulInt(4) // I = 4 * HH (mag: 4) + j.Mul2(&h, &i) // J = H*I (mag: 1) + negY1.Set(y1).Negate(1) // negY1 = -Y1 (mag: 2) + r.Set(&s2).Add(&negY1).MulInt(2) // r = 2*(S2-Y1) (mag: 6) + rr.SquareVal(&r) // rr = r^2 (mag: 1) + v.Mul2(x1, &i) // V = X1*I (mag: 1) + x3.Set(&v).MulInt(2).Add(&j).Negate(3) // X3 = -(J+2*V) (mag: 4) + x3.Add(&rr) // X3 = r^2+X3 (mag: 5) + negX3.Set(x3).Negate(5) // negX3 = -X3 (mag: 6) + y3.Set(y1).Mul(&j).MulInt(2).Negate(2) // Y3 = -(2*Y1*J) (mag: 3) + y3.Add(v.Add(&negX3).Mul(&r)) // Y3 = r*(V-X3)+Y3 (mag: 4) + z3.Add2(z1, &h).Square() // Z3 = (Z1+H)^2 (mag: 1) + z3.Add(z1z1.Add(&hh).Negate(2)) // Z3 = Z3-(Z1Z1+HH) (mag: 4) + + // Normalize the resulting field values to a magnitude of 1 as needed. + x3.Normalize() + y3.Normalize() + z3.Normalize() +} + +// addGeneric adds two Jacobian points without any assumptions about the z +// values of the two points and stores the result in the provided result param. +// That is to say result = p1 + p2. It is the slowest of the add routines due +// to requiring the most arithmetic. +// +// NOTE: The points must be normalized for this function to return the correct +// result. The resulting point will be normalized. +func addGeneric(p1, p2, result *JacobianPoint) { + // To compute the point addition efficiently, this implementation splits + // the equation into intermediate elements which are used to minimize + // the number of field multiplications using the method shown at: + // https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-add-2007-bl + // + // In particular it performs the calculations using the following: + // Z1Z1 = Z1^2, Z2Z2 = Z2^2, U1 = X1*Z2Z2, U2 = X2*Z1Z1, S1 = Y1*Z2*Z2Z2 + // S2 = Y2*Z1*Z1Z1, H = U2-U1, I = (2*H)^2, J = H*I, r = 2*(S2-S1) + // V = U1*I + // X3 = r^2-J-2*V, Y3 = r*(V-X3)-2*S1*J, Z3 = ((Z1+Z2)^2-Z1Z1-Z2Z2)*H + // + // This results in a cost of 11 field multiplications, 5 field squarings, + // 9 field additions, and 4 integer multiplications. + x1, y1, z1 := &p1.X, &p1.Y, &p1.Z + x2, y2, z2 := &p2.X, &p2.Y, &p2.Z + x3, y3, z3 := &result.X, &result.Y, &result.Z + + // When the x coordinates are the same for two points on the curve, the + // y coordinates either must be the same, in which case it is point + // doubling, or they are opposite and the result is the point at + // infinity. Since any number of Jacobian coordinates can represent the + // same affine point, the x and y values need to be converted to like + // terms. + var z1z1, z2z2, u1, u2, s1, s2 FieldVal + z1z1.SquareVal(z1) // Z1Z1 = Z1^2 (mag: 1) + z2z2.SquareVal(z2) // Z2Z2 = Z2^2 (mag: 1) + u1.Set(x1).Mul(&z2z2).Normalize() // U1 = X1*Z2Z2 (mag: 1) + u2.Set(x2).Mul(&z1z1).Normalize() // U2 = X2*Z1Z1 (mag: 1) + s1.Set(y1).Mul(&z2z2).Mul(z2).Normalize() // S1 = Y1*Z2*Z2Z2 (mag: 1) + s2.Set(y2).Mul(&z1z1).Mul(z1).Normalize() // S2 = Y2*Z1*Z1Z1 (mag: 1) + if u1.Equals(&u2) { + if s1.Equals(&s2) { + // Since x1 == x2 and y1 == y2, point doubling must be + // done, otherwise the addition would end up dividing + // by zero. + DoubleNonConst(p1, result) + return + } + + // Since x1 == x2 and y1 == -y2, the sum is the point at + // infinity per the group law. + x3.SetInt(0) + y3.SetInt(0) + z3.SetInt(0) + return + } + + // Calculate X3, Y3, and Z3 according to the intermediate elements + // breakdown above. + var h, i, j, r, rr, v FieldVal + var negU1, negS1, negX3 FieldVal + negU1.Set(&u1).Negate(1) // negU1 = -U1 (mag: 2) + h.Add2(&u2, &negU1) // H = U2-U1 (mag: 3) + i.Set(&h).MulInt(2).Square() // I = (2*H)^2 (mag: 2) + j.Mul2(&h, &i) // J = H*I (mag: 1) + negS1.Set(&s1).Negate(1) // negS1 = -S1 (mag: 2) + r.Set(&s2).Add(&negS1).MulInt(2) // r = 2*(S2-S1) (mag: 6) + rr.SquareVal(&r) // rr = r^2 (mag: 1) + v.Mul2(&u1, &i) // V = U1*I (mag: 1) + x3.Set(&v).MulInt(2).Add(&j).Negate(3) // X3 = -(J+2*V) (mag: 4) + x3.Add(&rr) // X3 = r^2+X3 (mag: 5) + negX3.Set(x3).Negate(5) // negX3 = -X3 (mag: 6) + y3.Mul2(&s1, &j).MulInt(2).Negate(2) // Y3 = -(2*S1*J) (mag: 3) + y3.Add(v.Add(&negX3).Mul(&r)) // Y3 = r*(V-X3)+Y3 (mag: 4) + z3.Add2(z1, z2).Square() // Z3 = (Z1+Z2)^2 (mag: 1) + z3.Add(z1z1.Add(&z2z2).Negate(2)) // Z3 = Z3-(Z1Z1+Z2Z2) (mag: 4) + z3.Mul(&h) // Z3 = Z3*H (mag: 1) + + // Normalize the resulting field values to a magnitude of 1 as needed. + x3.Normalize() + y3.Normalize() + z3.Normalize() +} + +// AddNonConst adds the passed Jacobian points together and stores the result in +// the provided result param in *non-constant* time. +// +// NOTE: The points must be normalized for this function to return the correct +// result. The resulting point will be normalized. +func AddNonConst(p1, p2, result *JacobianPoint) { + // A point at infinity is the identity according to the group law for + // elliptic curve cryptography. Thus, ∞ + P = P and P + ∞ = P. + if (p1.X.IsZero() && p1.Y.IsZero()) || p1.Z.IsZero() { + result.Set(p2) + return + } + if (p2.X.IsZero() && p2.Y.IsZero()) || p2.Z.IsZero() { + result.Set(p1) + return + } + + // Faster point addition can be achieved when certain assumptions are + // met. For example, when both points have the same z value, arithmetic + // on the z values can be avoided. This section thus checks for these + // conditions and calls an appropriate add function which is accelerated + // by using those assumptions. + isZ1One := p1.Z.IsOne() + isZ2One := p2.Z.IsOne() + switch { + case isZ1One && isZ2One: + addZ1AndZ2EqualsOne(p1, p2, result) + return + case p1.Z.Equals(&p2.Z): + addZ1EqualsZ2(p1, p2, result) + return + case isZ2One: + addZ2EqualsOne(p1, p2, result) + return + } + + // None of the above assumptions are true, so fall back to generic + // point addition. + addGeneric(p1, p2, result) +} + +// doubleZ1EqualsOne performs point doubling on the passed Jacobian point when +// the point is already known to have a z value of 1 and stores the result in +// the provided result param. That is to say result = 2*p. It performs faster +// point doubling than the generic routine since less arithmetic is needed due +// to the ability to avoid multiplication by the z value. +// +// NOTE: The resulting point will be normalized. +func doubleZ1EqualsOne(p, result *JacobianPoint) { + // This function uses the assumptions that z1 is 1, thus the point + // doubling formulas reduce to: + // + // X3 = (3*X1^2)^2 - 8*X1*Y1^2 + // Y3 = (3*X1^2)*(4*X1*Y1^2 - X3) - 8*Y1^4 + // Z3 = 2*Y1 + // + // To compute the above efficiently, this implementation splits the + // equation into intermediate elements which are used to minimize the + // number of field multiplications in favor of field squarings which + // are roughly 35% faster than field multiplications with the current + // implementation at the time this was written. + // + // This uses a slightly modified version of the method shown at: + // https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#doubling-mdbl-2007-bl + // + // In particular it performs the calculations using the following: + // A = X1^2, B = Y1^2, C = B^2, D = 2*((X1+B)^2-A-C) + // E = 3*A, F = E^2, X3 = F-2*D, Y3 = E*(D-X3)-8*C + // Z3 = 2*Y1 + // + // This results in a cost of 1 field multiplication, 5 field squarings, + // 6 field additions, and 5 integer multiplications. + x1, y1 := &p.X, &p.Y + x3, y3, z3 := &result.X, &result.Y, &result.Z + var a, b, c, d, e, f FieldVal + z3.Set(y1).MulInt(2) // Z3 = 2*Y1 (mag: 2) + a.SquareVal(x1) // A = X1^2 (mag: 1) + b.SquareVal(y1) // B = Y1^2 (mag: 1) + c.SquareVal(&b) // C = B^2 (mag: 1) + b.Add(x1).Square() // B = (X1+B)^2 (mag: 1) + d.Set(&a).Add(&c).Negate(2) // D = -(A+C) (mag: 3) + d.Add(&b).MulInt(2) // D = 2*(B+D)(mag: 8) + e.Set(&a).MulInt(3) // E = 3*A (mag: 3) + f.SquareVal(&e) // F = E^2 (mag: 1) + x3.Set(&d).MulInt(2).Negate(16) // X3 = -(2*D) (mag: 17) + x3.Add(&f) // X3 = F+X3 (mag: 18) + f.Set(x3).Negate(18).Add(&d).Normalize() // F = D-X3 (mag: 1) + y3.Set(&c).MulInt(8).Negate(8) // Y3 = -(8*C) (mag: 9) + y3.Add(f.Mul(&e)) // Y3 = E*F+Y3 (mag: 10) + + // Normalize the field values back to a magnitude of 1. + x3.Normalize() + y3.Normalize() + z3.Normalize() +} + +// doubleGeneric performs point doubling on the passed Jacobian point without +// any assumptions about the z value and stores the result in the provided +// result param. That is to say result = 2*p. It is the slowest of the point +// doubling routines due to requiring the most arithmetic. +// +// NOTE: The resulting point will be normalized. +func doubleGeneric(p, result *JacobianPoint) { + // Point doubling formula for Jacobian coordinates for the secp256k1 + // curve: + // + // X3 = (3*X1^2)^2 - 8*X1*Y1^2 + // Y3 = (3*X1^2)*(4*X1*Y1^2 - X3) - 8*Y1^4 + // Z3 = 2*Y1*Z1 + // + // To compute the above efficiently, this implementation splits the + // equation into intermediate elements which are used to minimize the + // number of field multiplications in favor of field squarings which + // are roughly 35% faster than field multiplications with the current + // implementation at the time this was written. + // + // This uses a slightly modified version of the method shown at: + // https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#doubling-dbl-2009-l + // + // In particular it performs the calculations using the following: + // A = X1^2, B = Y1^2, C = B^2, D = 2*((X1+B)^2-A-C) + // E = 3*A, F = E^2, X3 = F-2*D, Y3 = E*(D-X3)-8*C + // Z3 = 2*Y1*Z1 + // + // This results in a cost of 1 field multiplication, 5 field squarings, + // 6 field additions, and 5 integer multiplications. + x1, y1, z1 := &p.X, &p.Y, &p.Z + x3, y3, z3 := &result.X, &result.Y, &result.Z + var a, b, c, d, e, f FieldVal + z3.Mul2(y1, z1).MulInt(2) // Z3 = 2*Y1*Z1 (mag: 2) + a.SquareVal(x1) // A = X1^2 (mag: 1) + b.SquareVal(y1) // B = Y1^2 (mag: 1) + c.SquareVal(&b) // C = B^2 (mag: 1) + b.Add(x1).Square() // B = (X1+B)^2 (mag: 1) + d.Set(&a).Add(&c).Negate(2) // D = -(A+C) (mag: 3) + d.Add(&b).MulInt(2) // D = 2*(B+D)(mag: 8) + e.Set(&a).MulInt(3) // E = 3*A (mag: 3) + f.SquareVal(&e) // F = E^2 (mag: 1) + x3.Set(&d).MulInt(2).Negate(16) // X3 = -(2*D) (mag: 17) + x3.Add(&f) // X3 = F+X3 (mag: 18) + f.Set(x3).Negate(18).Add(&d).Normalize() // F = D-X3 (mag: 1) + y3.Set(&c).MulInt(8).Negate(8) // Y3 = -(8*C) (mag: 9) + y3.Add(f.Mul(&e)) // Y3 = E*F+Y3 (mag: 10) + + // Normalize the field values back to a magnitude of 1. + x3.Normalize() + y3.Normalize() + z3.Normalize() +} + +// DoubleNonConst doubles the passed Jacobian point and stores the result in the +// provided result parameter in *non-constant* time. +// +// NOTE: The point must be normalized for this function to return the correct +// result. The resulting point will be normalized. +func DoubleNonConst(p, result *JacobianPoint) { + // Doubling a point at infinity is still infinity. + if p.Y.IsZero() || p.Z.IsZero() { + result.X.SetInt(0) + result.Y.SetInt(0) + result.Z.SetInt(0) + return + } + + // Slightly faster point doubling can be achieved when the z value is 1 + // by avoiding the multiplication on the z value. This section calls + // a point doubling function which is accelerated by using that + // assumption when possible. + if p.Z.IsOne() { + doubleZ1EqualsOne(p, result) + return + } + + // Fall back to generic point doubling which works with arbitrary z + // values. + doubleGeneric(p, result) +} + +// splitK returns a balanced length-two representation of k and their signs. +// This is algorithm 3.74 from [GECC]. +// +// One thing of note about this algorithm is that no matter what c1 and c2 are, +// the final equation of k = k1 + k2 * lambda (mod n) will hold. This is +// provable mathematically due to how a1/b1/a2/b2 are computed. +// +// c1 and c2 are chosen to minimize the max(k1,k2). +func splitK(k []byte) ([]byte, []byte, int, int) { + // All math here is done with big.Int, which is slow. + // At some point, it might be useful to write something similar to + // FieldVal but for N instead of P as the prime field if this ends up + // being a bottleneck. + bigIntK := new(big.Int) + c1, c2 := new(big.Int), new(big.Int) + tmp1, tmp2 := new(big.Int), new(big.Int) + k1, k2 := new(big.Int), new(big.Int) + + bigIntK.SetBytes(k) + // c1 = round(b2 * k / n) from step 4. + // Rounding isn't really necessary and costs too much, hence skipped + c1.Mul(endomorphismB2, bigIntK) + c1.Div(c1, curveParams.N) + // c2 = round(b1 * k / n) from step 4 (sign reversed to optimize one step) + // Rounding isn't really necessary and costs too much, hence skipped + c2.Mul(endomorphismB1, bigIntK) + c2.Div(c2, curveParams.N) + // k1 = k - c1 * a1 - c2 * a2 from step 5 (note c2's sign is reversed) + tmp1.Mul(c1, endomorphismA1) + tmp2.Mul(c2, endomorphismA2) + k1.Sub(bigIntK, tmp1) + k1.Add(k1, tmp2) + // k2 = - c1 * b1 - c2 * b2 from step 5 (note c2's sign is reversed) + tmp1.Mul(c1, endomorphismB1) + tmp2.Mul(c2, endomorphismB2) + k2.Sub(tmp2, tmp1) + + // Note Bytes() throws out the sign of k1 and k2. This matters + // since k1 and/or k2 can be negative. Hence, we pass that + // back separately. + return k1.Bytes(), k2.Bytes(), k1.Sign(), k2.Sign() +} + +// nafScalar represents a positive integer up to a maximum value of 2^256 - 1 +// encoded in non-adjacent form. +// +// NAF is a signed-digit representation where each digit can be +1, 0, or -1. +// +// In order to efficiently encode that information, this type uses two arrays, a +// "positive" array where set bits represent the +1 signed digits and a +// "negative" array where set bits represent the -1 signed digits. 0 is +// represented by neither array having a bit set in that position. +// +// The Pos and Neg methods return the aforementioned positive and negative +// arrays, respectively. +type nafScalar struct { + // pos houses the positive portion of the representation. An additional + // byte is required for the positive portion because the NAF encoding can be + // up to 1 bit longer than the normal binary encoding of the value. + // + // neg houses the negative portion of the representation. Even though the + // additional byte is not required for the negative portion, since it can + // never exceed the length of the normal binary encoding of the value, + // keeping the same length for positive and negative portions simplifies + // working with the representation and allows extra conditional branches to + // be avoided. + // + // start and end specify the starting and ending index to use within the pos + // and neg arrays, respectively. This allows fixed size arrays to be used + // versus needing to dynamically allocate space on the heap. + // + // NOTE: The fields are defined in the order that they are to minimize the + // padding on 32-bit and 64-bit platforms. + pos [33]byte + start, end uint8 + neg [33]byte +} + +// Pos returns the bytes of the encoded value with bits set in the positions +// that represent a signed digit of +1. +func (s *nafScalar) Pos() []byte { + return s.pos[s.start:s.end] +} + +// Neg returns the bytes of the encoded value with bits set in the positions +// that represent a signed digit of -1. +func (s *nafScalar) Neg() []byte { + return s.neg[s.start:s.end] +} + +// naf takes a positive integer up to a maximum value of 2^256 - 1 and returns +// its non-adjacent form (NAF), which is a unique signed-digit representation +// such that no two consecutive digits are nonzero. See the documentation for +// the returned type for details on how the representation is encoded +// efficiently and how to interpret it +// +// NAF is useful in that it has the fewest nonzero digits of any signed digit +// representation, only 1/3rd of its digits are nonzero on average, and at least +// half of the digits will be 0. +// +// The aforementioned properties are particularly beneficial for optimizing +// elliptic curve point multiplication because they effectively minimize the +// number of required point additions in exchange for needing to perform a mix +// of fewer point additions and subtractions and possibly one additional point +// doubling. This is an excellent tradeoff because subtraction of points has +// the same computational complexity as addition of points and point doubling is +// faster than both. +func naf(k []byte) nafScalar { + // Strip leading zero bytes. + for len(k) > 0 && k[0] == 0x00 { + k = k[1:] + } + + // The non-adjacent form (NAF) of a positive integer k is an expression + // k = ∑_(i=0, l-1) k_i * 2^i where k_i ∈ {0,±1}, k_(l-1) != 0, and no two + // consecutive digits k_i are nonzero. + // + // The traditional method of computing the NAF of a positive integer is + // given by algorithm 3.30 in [GECC]. It consists of repeatedly dividing k + // by 2 and choosing the remainder so that the quotient (k−r)/2 is even + // which ensures the next NAF digit is 0. This requires log_2(k) steps. + // + // However, in [BRID], Prodinger notes that a closed form expression for the + // NAF representation is the bitwise difference 3k/2 - k/2. This is more + // efficient as it can be computed in O(1) versus the O(log(n)) of the + // traditional approach. + // + // The following code makes use of that formula to compute the NAF more + // efficiently. + // + // To understand the logic here, observe that the only way the NAF has a + // nonzero digit at a given bit is when either 3k/2 or k/2 has a bit set in + // that position, but not both. In other words, the result of a bitwise + // xor. This can be seen simply by considering that when the bits are the + // same, the subtraction is either 0-0 or 1-1, both of which are 0. + // + // Further, observe that the "+1" digits in the result are contributed by + // 3k/2 while the "-1" digits are from k/2. So, they can be determined by + // taking the bitwise and of each respective value with the result of the + // xor which identifies which bits are nonzero. + // + // Using that information, this loops backwards from the least significant + // byte to the most significant byte while performing the aforementioned + // calculations by propagating the potential carry and high order bit from + // the next word during the right shift. + kLen := len(k) + var result nafScalar + var carry uint8 + for byteNum := kLen - 1; byteNum >= 0; byteNum-- { + // Calculate k/2. Notice the carry from the previous word is added and + // the low order bit from the next word is shifted in accordingly. + kc := uint16(k[byteNum]) + uint16(carry) + var nextWord uint8 + if byteNum > 0 { + nextWord = k[byteNum-1] + } + halfK := kc>>1 | uint16(nextWord<<7) + + // Calculate 3k/2 and determine the non-zero digits in the result. + threeHalfK := kc + halfK + nonZeroResultDigits := threeHalfK ^ halfK + + // Determine the signed digits {0, ±1}. + result.pos[byteNum+1] = uint8(threeHalfK & nonZeroResultDigits) + result.neg[byteNum+1] = uint8(halfK & nonZeroResultDigits) + + // Propagate the potential carry from the 3k/2 calculation. + carry = uint8(threeHalfK >> 8) + } + result.pos[0] = carry + + // Set the starting and ending positions within the fixed size arrays to + // identify the bytes that are actually used. This is important since the + // encoding is big endian and thus trailing zero bytes changes its value. + result.start = 1 - carry + result.end = uint8(kLen + 1) + return result +} + +// ScalarMultNonConst multiplies k*P where k is a big endian integer modulo the +// curve order and P is a point in Jacobian projective coordinates and stores +// the result in the provided Jacobian point. +// +// NOTE: The point must be normalized for this function to return the correct +// result. The resulting point will be normalized. +func ScalarMultNonConst(k *ModNScalar, point, result *JacobianPoint) { + // Decompose K into k1 and k2 in order to halve the number of EC ops. + // See Algorithm 3.74 in [GECC]. + kBytes := k.Bytes() + k1, k2, signK1, signK2 := splitK(kBytes[:]) + zeroArray32(&kBytes) + + // The main equation here to remember is: + // k * P = k1 * P + k2 * ϕ(P) + // + // P1 below is P in the equation, P2 below is ϕ(P) in the equation + p1, p1Neg := new(JacobianPoint), new(JacobianPoint) + p1.Set(point) + p1Neg.Set(p1) + p1Neg.Y.Negate(1).Normalize() + + // NOTE: ϕ(x,y) = (βx,y). The Jacobian z coordinates are the same, so this + // math goes through. + p2, p2Neg := new(JacobianPoint), new(JacobianPoint) + p2.Set(p1) + p2.X.Mul(endomorphismBeta).Normalize() + p2Neg.Set(p2) + p2Neg.Y.Negate(1).Normalize() + + // Flip the positive and negative values of the points as needed + // depending on the signs of k1 and k2. As mentioned in the equation + // above, each of k1 and k2 are multiplied by the respective point. + // Since -k * P is the same thing as k * -P, and the group law for + // elliptic curves states that P(x, y) = -P(x, -y), it's faster and + // simplifies the code to just make the point negative. + if signK1 == -1 { + p1, p1Neg = p1Neg, p1 + } + if signK2 == -1 { + p2, p2Neg = p2Neg, p2 + } + + // NAF versions of k1 and k2 should have a lot more zeros. + // + // The Pos version of the bytes contain the +1s and the Neg versions + // contain the -1s. + k1NAF, k2NAF := naf(k1), naf(k2) + k1PosNAF, k1NegNAF := k1NAF.Pos(), k1NAF.Neg() + k2PosNAF, k2NegNAF := k2NAF.Pos(), k2NAF.Neg() + k1Len, k2Len := len(k1PosNAF), len(k2PosNAF) + + m := k1Len + if m < k2Len { + m = k2Len + } + + // Point Q = ∞ (point at infinity). + var q JacobianPoint + + // Add left-to-right using the NAF optimization. See algorithm 3.77 + // from [GECC]. This should be faster overall since there will be a lot + // more instances of 0, hence reducing the number of Jacobian additions + // at the cost of 1 possible extra doubling. + for i := 0; i < m; i++ { + // Since k1 and k2 are potentially different lengths and the calculation + // is being done left to right, pad the front of the shorter one with + // 0s. + var k1BytePos, k1ByteNeg, k2BytePos, k2ByteNeg byte + if i >= m-k1Len { + k1BytePos, k1ByteNeg = k1PosNAF[i-(m-k1Len)], k1NegNAF[i-(m-k1Len)] + } + if i >= m-k2Len { + k2BytePos, k2ByteNeg = k2PosNAF[i-(m-k2Len)], k2NegNAF[i-(m-k2Len)] + } + for bit, mask := 7, uint8(1<<7); bit >= 0; bit, mask = bit-1, mask>>1 { + // Q = 2 * Q + DoubleNonConst(&q, &q) + + // Add or subtract the first point based on the signed digit of the + // NAF representation of k1 at this bit position. + // + // +1: Q = Q + p1 + // -1: Q = Q - p1 + // 0: Q = Q (no change) + if k1BytePos&mask == mask { + AddNonConst(&q, p1, &q) + } else if k1ByteNeg&mask == mask { + AddNonConst(&q, p1Neg, &q) + } + + // Add or subtract the second point based on the signed digit of the + // NAF representation of k2 at this bit position. + // + // +1: Q = Q + p2 + // -1: Q = Q - p2 + // 0: Q = Q (no change) + if k2BytePos&mask == mask { + AddNonConst(&q, p2, &q) + } else if k2ByteNeg&mask == mask { + AddNonConst(&q, p2Neg, &q) + } + } + } + + result.Set(&q) +} + +// ScalarBaseMultNonConst multiplies k*G where G is the base point of the group +// and k is a big endian integer. The result is stored in Jacobian coordinates +// (x1, y1, z1). +// +// NOTE: The resulting point will be normalized. +func ScalarBaseMultNonConst(k *ModNScalar, result *JacobianPoint) { + bytePoints := s256BytePoints() + + // Point Q = ∞ (point at infinity). + var q JacobianPoint + + // curve.bytePoints has all 256 byte points for each 8-bit window. The + // strategy is to add up the byte points. This is best understood by + // expressing k in base-256 which it already sort of is. Each "digit" in + // the 8-bit window can be looked up using bytePoints and added together. + var pt JacobianPoint + for i, byteVal := range k.Bytes() { + p := bytePoints[i][byteVal] + pt.X.Set(&p[0]) + pt.Y.Set(&p[1]) + pt.Z.SetInt(1) + AddNonConst(&q, &pt, &q) + } + + result.Set(&q) +} + +// isOnCurve returns whether or not the affine point (x,y) is on the curve. +func isOnCurve(fx, fy *FieldVal) bool { + // Elliptic curve equation for secp256k1 is: y^2 = x^3 + 7 + y2 := new(FieldVal).SquareVal(fy).Normalize() + result := new(FieldVal).SquareVal(fx).Mul(fx).AddInt(7).Normalize() + return y2.Equals(result) +} + +// DecompressY attempts to calculate the Y coordinate for the given X coordinate +// such that the result pair is a point on the secp256k1 curve. It adjusts Y +// based on the desired oddness and returns whether or not it was successful +// since not all X coordinates are valid. +// +// The magnitude of the provided X coordinate field val must be a max of 8 for a +// correct result. The resulting Y field val will have a max magnitude of 2. +func DecompressY(x *FieldVal, odd bool, resultY *FieldVal) bool { + // The curve equation for secp256k1 is: y^2 = x^3 + 7. Thus + // y = +-sqrt(x^3 + 7). + // + // The x coordinate must be invalid if there is no square root for the + // calculated rhs because it means the X coordinate is not for a point on + // the curve. + x3PlusB := new(FieldVal).SquareVal(x).Mul(x).AddInt(7) + if hasSqrt := resultY.SquareRootVal(x3PlusB); !hasSqrt { + return false + } + if resultY.Normalize().IsOdd() != odd { + resultY.Negate(1) + } + return true +} diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/doc.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/doc.go new file mode 100644 index 000000000..91a670e51 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/doc.go @@ -0,0 +1,58 @@ +// Copyright (c) 2013-2014 The btcsuite developers +// Copyright (c) 2015-2019 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +/* +Package secp256k1 implements optimized secp256k1 elliptic curve operations. + +This package provides an optimized pure Go implementation of elliptic curve +cryptography operations over the secp256k1 curve as well as data structures and +functions for working with public and private secp256k1 keys. See +https://www.secg.org/sec2-v2.pdf for details on the standard. + +In addition, sub packages are provided to produce, verify, parse, and serialize +ECDSA signatures and EC-Schnorr-DCRv0 (a custom Schnorr-based signature scheme +specific to Decred) signatures. See the README.md files in the relevant sub +packages for more details about those aspects. + +An overview of the features provided by this package are as follows: + + - Private key generation, serialization, and parsing + - Public key generation, serialization and parsing per ANSI X9.62-1998 + - Parses uncompressed, compressed, and hybrid public keys + - Serializes uncompressed and compressed public keys + - Specialized types for performing optimized and constant time field operations + - FieldVal type for working modulo the secp256k1 field prime + - ModNScalar type for working modulo the secp256k1 group order + - Elliptic curve operations in Jacobian projective coordinates + - Point addition + - Point doubling + - Scalar multiplication with an arbitrary point + - Scalar multiplication with the base point (group generator) + - Point decompression from a given x coordinate + - Nonce generation via RFC6979 with support for extra data and version + information that can be used to prevent nonce reuse between signing + algorithms + +It also provides an implementation of the Go standard library crypto/elliptic +Curve interface via the S256 function so that it may be used with other packages +in the standard library such as crypto/tls, crypto/x509, and crypto/ecdsa. +However, in the case of ECDSA, it is highly recommended to use the ecdsa sub +package of this package instead since it is optimized specifically for secp256k1 +and is significantly faster as a result. + +Although this package was primarily written for dcrd, it has intentionally been +designed so it can be used as a standalone package for any projects needing to +use optimized secp256k1 elliptic curve cryptography. + +Finally, a comprehensive suite of tests is provided to provide a high level of +quality assurance. + +Use of secp256k1 in Decred + +At the time of this writing, the primary public key cryptography in widespread +use on the Decred network used to secure coins is based on elliptic curves +defined by the secp256k1 domain parameters. +*/ +package secp256k1 diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdh.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdh.go new file mode 100644 index 000000000..ebbdfc541 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdh.go @@ -0,0 +1,21 @@ +// Copyright (c) 2015 The btcsuite developers +// Copyright (c) 2015-2016 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package secp256k1 + +// GenerateSharedSecret generates a shared secret based on a private key and a +// public key using Diffie-Hellman key exchange (ECDH) (RFC 5903). +// RFC5903 Section 9 states we should only return x. +// +// It is recommended to securily hash the result before using as a cryptographic +// key. +func GenerateSharedSecret(privkey *PrivateKey, pubkey *PublicKey) []byte { + var point, result JacobianPoint + pubkey.AsJacobian(&point) + ScalarMultNonConst(&privkey.Key, &point, &result) + result.ToAffine() + xBytes := result.X.Bytes() + return xBytes[:] +} diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/README.md b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/README.md new file mode 100644 index 000000000..cc3c0aad8 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/README.md @@ -0,0 +1,52 @@ +ecdsa +===== + +[![Build Status](https://github.com/decred/dcrd/workflows/Build%20and%20Test/badge.svg)](https://github.com/decred/dcrd/actions) +[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa) + +Package ecdsa provides secp256k1-optimized ECDSA signing and verification. + +This package provides data structures and functions necessary to produce and +verify deterministic canonical signatures in accordance with RFC6979 and +BIP0062, optimized specifically for the secp256k1 curve using the Elliptic Curve +Digital Signature Algorithm (ECDSA), as defined in FIPS 186-3. See +https://www.secg.org/sec2-v2.pdf for details on the secp256k1 standard. + +It also provides functions to parse and serialize the ECDSA signatures with the +more strict Distinguished Encoding Rules (DER) of ISO/IEC 8825-1 and some +additional restrictions specific to secp256k1. + +In addition, it supports a custom "compact" signature format which allows +efficient recovery of the public key from a given valid signature and message +hash combination. + +A comprehensive suite of tests is provided to ensure proper functionality. + +## ECDSA use in Decred + +At the time of this writing, ECDSA signatures are heavily used for proving coin +ownership in Decred as the vast majority of transactions consist of what is +effectively transferring ownership of coins to a public key associated with a +private key only known to the recipient of the coins along with an encumbrance +that requires an ECDSA signature that proves the new owner possesses the private +key without actually revealing it. + +## Installation and Updating + +This package is part of the `github.com/decred/dcrd/dcrec/secp256k1/v4` module. +Use the standard go tooling for working with modules to incorporate it. + +## Examples + +* [Sign Message](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa#example-package-SignMessage) + Demonstrates signing a message with a secp256k1 private key that is first + parsed from raw bytes and serializing the generated signature. + +* [Verify Signature](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa#example-Signature.Verify) + Demonstrates verifying a secp256k1 signature against a public key that is + first parsed from raw bytes. The signature is also parsed from raw bytes. + +## License + +Package ecdsa is licensed under the [copyfree](http://copyfree.org) ISC License. diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/doc.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/doc.go new file mode 100644 index 000000000..14f38ef30 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/doc.go @@ -0,0 +1,42 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +/* +Package ecdsa provides secp256k1-optimized ECDSA signing and verification. + +This package provides data structures and functions necessary to produce and +verify deterministic canonical signatures in accordance with RFC6979 and +BIP0062, optimized specifically for the secp256k1 curve using the Elliptic Curve +Digital Signature Algorithm (ECDSA), as defined in FIPS 186-3. See +https://www.secg.org/sec2-v2.pdf for details on the secp256k1 standard. + +It also provides functions to parse and serialize the ECDSA signatures with the +more strict Distinguished Encoding Rules (DER) of ISO/IEC 8825-1 and some +additional restrictions specific to secp256k1. + +In addition, it supports a custom "compact" signature format which allows +efficient recovery of the public key from a given valid signature and message +hash combination. + +A comprehensive suite of tests is provided to ensure proper functionality. + +ECDSA use in Decred + +At the time of this writing, ECDSA signatures are heavily used for proving coin +ownership in Decred as the vast majority of transactions consist of what is +effectively transferring ownership of coins to a public key associated with a +private key only known to the recipient of the coins along with an encumbrance +that requires an ECDSA signature that proves the new owner possesses the private +key without actually revealing it. + +Errors + +Errors returned by this package are of type ecdsa.Error and fully support the +standard library errors.Is and errors.As functions. This allows the caller to +programmatically determine the specific error by examining the ErrorKind field +of the type asserted ecdsa.Error while still providing rich error messages with +contextual information. See ErrorKind in the package documentation for a full +list. +*/ +package ecdsa diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/error.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/error.go new file mode 100644 index 000000000..45f82525b --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/error.go @@ -0,0 +1,116 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package ecdsa + +// ErrorKind identifies a kind of error. It has full support for +// errors.Is and errors.As, so the caller can directly check against +// an error kind when determining the reason for an error. +type ErrorKind string + +// These constants are used to identify a specific Error. +const ( + // ErrSigTooShort is returned when a signature that should be a DER + // signature is too short. + ErrSigTooShort = ErrorKind("ErrSigTooShort") + + // ErrSigTooLong is returned when a signature that should be a DER signature + // is too long. + ErrSigTooLong = ErrorKind("ErrSigTooLong") + + // ErrSigInvalidSeqID is returned when a signature that should be a DER + // signature does not have the expected ASN.1 sequence ID. + ErrSigInvalidSeqID = ErrorKind("ErrSigInvalidSeqID") + + // ErrSigInvalidDataLen is returned when a signature that should be a DER + // signature does not specify the correct number of remaining bytes for the + // R and S portions. + ErrSigInvalidDataLen = ErrorKind("ErrSigInvalidDataLen") + + // ErrSigMissingSTypeID is returned when a signature that should be a DER + // signature does not provide the ASN.1 type ID for S. + ErrSigMissingSTypeID = ErrorKind("ErrSigMissingSTypeID") + + // ErrSigMissingSLen is returned when a signature that should be a DER + // signature does not provide the length of S. + ErrSigMissingSLen = ErrorKind("ErrSigMissingSLen") + + // ErrSigInvalidSLen is returned when a signature that should be a DER + // signature does not specify the correct number of bytes for the S portion. + ErrSigInvalidSLen = ErrorKind("ErrSigInvalidSLen") + + // ErrSigInvalidRIntID is returned when a signature that should be a DER + // signature does not have the expected ASN.1 integer ID for R. + ErrSigInvalidRIntID = ErrorKind("ErrSigInvalidRIntID") + + // ErrSigZeroRLen is returned when a signature that should be a DER + // signature has an R length of zero. + ErrSigZeroRLen = ErrorKind("ErrSigZeroRLen") + + // ErrSigNegativeR is returned when a signature that should be a DER + // signature has a negative value for R. + ErrSigNegativeR = ErrorKind("ErrSigNegativeR") + + // ErrSigTooMuchRPadding is returned when a signature that should be a DER + // signature has too much padding for R. + ErrSigTooMuchRPadding = ErrorKind("ErrSigTooMuchRPadding") + + // ErrSigRIsZero is returned when a signature has R set to the value zero. + ErrSigRIsZero = ErrorKind("ErrSigRIsZero") + + // ErrSigRTooBig is returned when a signature has R with a value that is + // greater than or equal to the group order. + ErrSigRTooBig = ErrorKind("ErrSigRTooBig") + + // ErrSigInvalidSIntID is returned when a signature that should be a DER + // signature does not have the expected ASN.1 integer ID for S. + ErrSigInvalidSIntID = ErrorKind("ErrSigInvalidSIntID") + + // ErrSigZeroSLen is returned when a signature that should be a DER + // signature has an S length of zero. + ErrSigZeroSLen = ErrorKind("ErrSigZeroSLen") + + // ErrSigNegativeS is returned when a signature that should be a DER + // signature has a negative value for S. + ErrSigNegativeS = ErrorKind("ErrSigNegativeS") + + // ErrSigTooMuchSPadding is returned when a signature that should be a DER + // signature has too much padding for S. + ErrSigTooMuchSPadding = ErrorKind("ErrSigTooMuchSPadding") + + // ErrSigSIsZero is returned when a signature has S set to the value zero. + ErrSigSIsZero = ErrorKind("ErrSigSIsZero") + + // ErrSigSTooBig is returned when a signature has S with a value that is + // greater than or equal to the group order. + ErrSigSTooBig = ErrorKind("ErrSigSTooBig") +) + +// Error satisfies the error interface and prints human-readable errors. +func (e ErrorKind) Error() string { + return string(e) +} + +// Error identifies an error related to an ECDSA signature. It has full +// support for errors.Is and errors.As, so the caller can ascertain the +// specific reason for the error by checking the underlying error. +type Error struct { + Err error + Description string +} + +// Error satisfies the error interface and prints human-readable errors. +func (e Error) Error() string { + return e.Description +} + +// Unwrap returns the underlying wrapped error. +func (e Error) Unwrap() error { + return e.Err +} + +// signatureError creates an Error given a set of arguments. +func signatureError(kind ErrorKind, desc string) Error { + return Error{Err: kind, Description: desc} +} diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/signature.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/signature.go new file mode 100644 index 000000000..50f1721a9 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa/signature.go @@ -0,0 +1,925 @@ +// Copyright (c) 2013-2014 The btcsuite developers +// Copyright (c) 2015-2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package ecdsa + +import ( + "errors" + "fmt" + + "github.com/decred/dcrd/dcrec/secp256k1/v4" +) + +// References: +// [GECC]: Guide to Elliptic Curve Cryptography (Hankerson, Menezes, Vanstone) +// +// [ISO/IEC 8825-1]: Information technology — ASN.1 encoding rules: +// Specification of Basic Encoding Rules (BER), Canonical Encoding Rules +// (CER) and Distinguished Encoding Rules (DER) +// +// [SEC1]: Elliptic Curve Cryptography (May 31, 2009, Version 2.0) +// https://www.secg.org/sec1-v2.pdf + +var ( + // zero32 is an array of 32 bytes used for the purposes of zeroing and is + // defined here to avoid extra allocations. + zero32 = [32]byte{} + + // orderAsFieldVal is the order of the secp256k1 curve group stored as a + // field value. It is provided here to avoid the need to create it multiple + // times. + orderAsFieldVal = func() *secp256k1.FieldVal { + var f secp256k1.FieldVal + f.SetByteSlice(secp256k1.Params().N.Bytes()) + return &f + }() +) + +const ( + // asn1SequenceID is the ASN.1 identifier for a sequence and is used when + // parsing and serializing signatures encoded with the Distinguished + // Encoding Rules (DER) format per section 10 of [ISO/IEC 8825-1]. + asn1SequenceID = 0x30 + + // asn1IntegerID is the ASN.1 identifier for an integer and is used when + // parsing and serializing signatures encoded with the Distinguished + // Encoding Rules (DER) format per section 10 of [ISO/IEC 8825-1]. + asn1IntegerID = 0x02 +) + +// Signature is a type representing an ECDSA signature. +type Signature struct { + r secp256k1.ModNScalar + s secp256k1.ModNScalar +} + +// NewSignature instantiates a new signature given some r and s values. +func NewSignature(r, s *secp256k1.ModNScalar) *Signature { + return &Signature{*r, *s} +} + +// Serialize returns the ECDSA signature in the Distinguished Encoding Rules +// (DER) format per section 10 of [ISO/IEC 8825-1] and such that the S component +// of the signature is less than or equal to the half order of the group. +// +// Note that the serialized bytes returned do not include the appended hash type +// used in Decred signature scripts. +func (sig *Signature) Serialize() []byte { + // The format of a DER encoded signature is as follows: + // + // 0x30 0x02 0x02 + // - 0x30 is the ASN.1 identifier for a sequence. + // - Total length is 1 byte and specifies length of all remaining data. + // - 0x02 is the ASN.1 identifier that specifies an integer follows. + // - Length of R is 1 byte and specifies how many bytes R occupies. + // - R is the arbitrary length big-endian encoded number which + // represents the R value of the signature. DER encoding dictates + // that the value must be encoded using the minimum possible number + // of bytes. This implies the first byte can only be null if the + // highest bit of the next byte is set in order to prevent it from + // being interpreted as a negative number. + // - 0x02 is once again the ASN.1 integer identifier. + // - Length of S is 1 byte and specifies how many bytes S occupies. + // - S is the arbitrary length big-endian encoded number which + // represents the S value of the signature. The encoding rules are + // identical as those for R. + + // Ensure the S component of the signature is less than or equal to the half + // order of the group because both S and its negation are valid signatures + // modulo the order, so this forces a consistent choice to reduce signature + // malleability. + sigS := new(secp256k1.ModNScalar).Set(&sig.s) + if sigS.IsOverHalfOrder() { + sigS.Negate() + } + + // Serialize the R and S components of the signature into their fixed + // 32-byte big-endian encoding. Note that the extra leading zero byte is + // used to ensure it is canonical per DER and will be stripped if needed + // below. + var rBuf, sBuf [33]byte + sig.r.PutBytesUnchecked(rBuf[1:33]) + sigS.PutBytesUnchecked(sBuf[1:33]) + + // Ensure the encoded bytes for the R and S components are canonical per DER + // by trimming all leading zero bytes so long as the next byte does not have + // the high bit set and it's not the final byte. + canonR, canonS := rBuf[:], sBuf[:] + for len(canonR) > 1 && canonR[0] == 0x00 && canonR[1]&0x80 == 0 { + canonR = canonR[1:] + } + for len(canonS) > 1 && canonS[0] == 0x00 && canonS[1]&0x80 == 0 { + canonS = canonS[1:] + } + + // Total length of returned signature is 1 byte for each magic and length + // (6 total), plus lengths of R and S. + totalLen := 6 + len(canonR) + len(canonS) + b := make([]byte, 0, totalLen) + b = append(b, asn1SequenceID) + b = append(b, byte(totalLen-2)) + b = append(b, asn1IntegerID) + b = append(b, byte(len(canonR))) + b = append(b, canonR...) + b = append(b, asn1IntegerID) + b = append(b, byte(len(canonS))) + b = append(b, canonS...) + return b +} + +// zeroArray32 zeroes the provided 32-byte buffer. +func zeroArray32(b *[32]byte) { + copy(b[:], zero32[:]) +} + +// fieldToModNScalar converts a field value to scalar modulo the group order and +// returns the scalar along with either 1 if it was reduced (aka it overflowed) +// or 0 otherwise. +// +// Note that a bool is not used here because it is not possible in Go to convert +// from a bool to numeric value in constant time and many constant-time +// operations require a numeric value. +func fieldToModNScalar(v *secp256k1.FieldVal) (secp256k1.ModNScalar, uint32) { + var buf [32]byte + v.PutBytes(&buf) + var s secp256k1.ModNScalar + overflow := s.SetBytes(&buf) + zeroArray32(&buf) + return s, overflow +} + +// modNScalarToField converts a scalar modulo the group order to a field value. +func modNScalarToField(v *secp256k1.ModNScalar) secp256k1.FieldVal { + var buf [32]byte + v.PutBytes(&buf) + var fv secp256k1.FieldVal + fv.SetBytes(&buf) + return fv +} + +// Verify returns whether or not the signature is valid for the provided hash +// and secp256k1 public key. +func (sig *Signature) Verify(hash []byte, pubKey *secp256k1.PublicKey) bool { + // The algorithm for verifying an ECDSA signature is given as algorithm 4.30 + // in [GECC]. + // + // The following is a paraphrased version for reference: + // + // G = curve generator + // N = curve order + // Q = public key + // m = message + // R, S = signature + // + // 1. Fail if R and S are not in [1, N-1] + // 2. e = H(m) + // 3. w = S^-1 mod N + // 4. u1 = e * w mod N + // u2 = R * w mod N + // 5. X = u1G + u2Q + // 6. Fail if X is the point at infinity + // 7. x = X.x mod N (X.x is the x coordinate of X) + // 8. Verified if x == R + // + // However, since all group operations are done internally in Jacobian + // projective space, the algorithm is modified slightly here in order to + // avoid an expensive inversion back into affine coordinates at step 7. + // Credits to Greg Maxwell for originally suggesting this optimization. + // + // Ordinarily, step 7 involves converting the x coordinate to affine by + // calculating x = x / z^2 (mod P) and then calculating the remainder as + // x = x (mod N). Then step 8 compares it to R. + // + // Note that since R is the x coordinate mod N from a random point that was + // originally mod P, and the cofactor of the secp256k1 curve is 1, there are + // only two possible x coordinates that the original random point could have + // been to produce R: x, where x < N, and x+N, where x+N < P. + // + // This implies that the signature is valid if either: + // a) R == X.x / X.z^2 (mod P) + // => R * X.z^2 == X.x (mod P) + // --or-- + // b) R + N < P && R + N == X.x / X.z^2 (mod P) + // => R + N < P && (R + N) * X.z^2 == X.x (mod P) + // + // Therefore the following modified algorithm is used: + // + // 1. Fail if R and S are not in [1, N-1] + // 2. e = H(m) + // 3. w = S^-1 mod N + // 4. u1 = e * w mod N + // u2 = R * w mod N + // 5. X = u1G + u2Q + // 6. Fail if X is the point at infinity + // 7. z = (X.z)^2 mod P (X.z is the z coordinate of X) + // 8. Verified if R * z == X.x (mod P) + // 9. Fail if R + N >= P + // 10. Verified if (R + N) * z == X.x (mod P) + + // Step 1. + // + // Fail if R and S are not in [1, N-1]. + if sig.r.IsZero() || sig.s.IsZero() { + return false + } + + // Step 2. + // + // e = H(m) + var e secp256k1.ModNScalar + e.SetByteSlice(hash) + + // Step 3. + // + // w = S^-1 mod N + w := new(secp256k1.ModNScalar).InverseValNonConst(&sig.s) + + // Step 4. + // + // u1 = e * w mod N + // u2 = R * w mod N + u1 := new(secp256k1.ModNScalar).Mul2(&e, w) + u2 := new(secp256k1.ModNScalar).Mul2(&sig.r, w) + + // Step 5. + // + // X = u1G + u2Q + var X, Q, u1G, u2Q secp256k1.JacobianPoint + pubKey.AsJacobian(&Q) + secp256k1.ScalarBaseMultNonConst(u1, &u1G) + secp256k1.ScalarMultNonConst(u2, &Q, &u2Q) + secp256k1.AddNonConst(&u1G, &u2Q, &X) + + // Step 6. + // + // Fail if X is the point at infinity + if (X.X.IsZero() && X.Y.IsZero()) || X.Z.IsZero() { + return false + } + + // Step 7. + // + // z = (X.z)^2 mod P (X.z is the z coordinate of X) + z := new(secp256k1.FieldVal).SquareVal(&X.Z) + + // Step 8. + // + // Verified if R * z == X.x (mod P) + sigRModP := modNScalarToField(&sig.r) + result := new(secp256k1.FieldVal).Mul2(&sigRModP, z).Normalize() + if result.Equals(&X.X) { + return true + } + + // Step 9. + // + // Fail if R + N >= P + if sigRModP.IsGtOrEqPrimeMinusOrder() { + return false + } + + // Step 10. + // + // Verified if (R + N) * z == X.x (mod P) + sigRModP.Add(orderAsFieldVal) + result.Mul2(&sigRModP, z).Normalize() + return result.Equals(&X.X) +} + +// IsEqual compares this Signature instance to the one passed, returning true if +// both Signatures are equivalent. A signature is equivalent to another, if +// they both have the same scalar value for R and S. +func (sig *Signature) IsEqual(otherSig *Signature) bool { + return sig.r.Equals(&otherSig.r) && sig.s.Equals(&otherSig.s) +} + +// ParseDERSignature parses a signature in the Distinguished Encoding Rules +// (DER) format per section 10 of [ISO/IEC 8825-1] and enforces the following +// additional restrictions specific to secp256k1: +// +// - The R and S values must be in the valid range for secp256k1 scalars: +// - Negative values are rejected +// - Zero is rejected +// - Values greater than or equal to the secp256k1 group order are rejected +func ParseDERSignature(sig []byte) (*Signature, error) { + // The format of a DER encoded signature for secp256k1 is as follows: + // + // 0x30 0x02 0x02 + // - 0x30 is the ASN.1 identifier for a sequence + // - Total length is 1 byte and specifies length of all remaining data + // - 0x02 is the ASN.1 identifier that specifies an integer follows + // - Length of R is 1 byte and specifies how many bytes R occupies + // - R is the arbitrary length big-endian encoded number which + // represents the R value of the signature. DER encoding dictates + // that the value must be encoded using the minimum possible number + // of bytes. This implies the first byte can only be null if the + // highest bit of the next byte is set in order to prevent it from + // being interpreted as a negative number. + // - 0x02 is once again the ASN.1 integer identifier + // - Length of S is 1 byte and specifies how many bytes S occupies + // - S is the arbitrary length big-endian encoded number which + // represents the S value of the signature. The encoding rules are + // identical as those for R. + // + // NOTE: The DER specification supports specifying lengths that can occupy + // more than 1 byte, however, since this is specific to secp256k1 + // signatures, all lengths will be a single byte. + const ( + // minSigLen is the minimum length of a DER encoded signature and is + // when both R and S are 1 byte each. + // + // 0x30 + <1-byte> + 0x02 + 0x01 + + 0x2 + 0x01 + + minSigLen = 8 + + // maxSigLen is the maximum length of a DER encoded signature and is + // when both R and S are 33 bytes each. It is 33 bytes because a + // 256-bit integer requires 32 bytes and an additional leading null byte + // might be required if the high bit is set in the value. + // + // 0x30 + <1-byte> + 0x02 + 0x21 + <33 bytes> + 0x2 + 0x21 + <33 bytes> + maxSigLen = 72 + + // sequenceOffset is the byte offset within the signature of the + // expected ASN.1 sequence identifier. + sequenceOffset = 0 + + // dataLenOffset is the byte offset within the signature of the expected + // total length of all remaining data in the signature. + dataLenOffset = 1 + + // rTypeOffset is the byte offset within the signature of the ASN.1 + // identifier for R and is expected to indicate an ASN.1 integer. + rTypeOffset = 2 + + // rLenOffset is the byte offset within the signature of the length of + // R. + rLenOffset = 3 + + // rOffset is the byte offset within the signature of R. + rOffset = 4 + ) + + // The signature must adhere to the minimum and maximum allowed length. + sigLen := len(sig) + if sigLen < minSigLen { + str := fmt.Sprintf("malformed signature: too short: %d < %d", sigLen, + minSigLen) + return nil, signatureError(ErrSigTooShort, str) + } + if sigLen > maxSigLen { + str := fmt.Sprintf("malformed signature: too long: %d > %d", sigLen, + maxSigLen) + return nil, signatureError(ErrSigTooLong, str) + } + + // The signature must start with the ASN.1 sequence identifier. + if sig[sequenceOffset] != asn1SequenceID { + str := fmt.Sprintf("malformed signature: format has wrong type: %#x", + sig[sequenceOffset]) + return nil, signatureError(ErrSigInvalidSeqID, str) + } + + // The signature must indicate the correct amount of data for all elements + // related to R and S. + if int(sig[dataLenOffset]) != sigLen-2 { + str := fmt.Sprintf("malformed signature: bad length: %d != %d", + sig[dataLenOffset], sigLen-2) + return nil, signatureError(ErrSigInvalidDataLen, str) + } + + // Calculate the offsets of the elements related to S and ensure S is inside + // the signature. + // + // rLen specifies the length of the big-endian encoded number which + // represents the R value of the signature. + // + // sTypeOffset is the offset of the ASN.1 identifier for S and, like its R + // counterpart, is expected to indicate an ASN.1 integer. + // + // sLenOffset and sOffset are the byte offsets within the signature of the + // length of S and S itself, respectively. + rLen := int(sig[rLenOffset]) + sTypeOffset := rOffset + rLen + sLenOffset := sTypeOffset + 1 + if sTypeOffset >= sigLen { + str := "malformed signature: S type indicator missing" + return nil, signatureError(ErrSigMissingSTypeID, str) + } + if sLenOffset >= sigLen { + str := "malformed signature: S length missing" + return nil, signatureError(ErrSigMissingSLen, str) + } + + // The lengths of R and S must match the overall length of the signature. + // + // sLen specifies the length of the big-endian encoded number which + // represents the S value of the signature. + sOffset := sLenOffset + 1 + sLen := int(sig[sLenOffset]) + if sOffset+sLen != sigLen { + str := "malformed signature: invalid S length" + return nil, signatureError(ErrSigInvalidSLen, str) + } + + // R elements must be ASN.1 integers. + if sig[rTypeOffset] != asn1IntegerID { + str := fmt.Sprintf("malformed signature: R integer marker: %#x != %#x", + sig[rTypeOffset], asn1IntegerID) + return nil, signatureError(ErrSigInvalidRIntID, str) + } + + // Zero-length integers are not allowed for R. + if rLen == 0 { + str := "malformed signature: R length is zero" + return nil, signatureError(ErrSigZeroRLen, str) + } + + // R must not be negative. + if sig[rOffset]&0x80 != 0 { + str := "malformed signature: R is negative" + return nil, signatureError(ErrSigNegativeR, str) + } + + // Null bytes at the start of R are not allowed, unless R would otherwise be + // interpreted as a negative number. + if rLen > 1 && sig[rOffset] == 0x00 && sig[rOffset+1]&0x80 == 0 { + str := "malformed signature: R value has too much padding" + return nil, signatureError(ErrSigTooMuchRPadding, str) + } + + // S elements must be ASN.1 integers. + if sig[sTypeOffset] != asn1IntegerID { + str := fmt.Sprintf("malformed signature: S integer marker: %#x != %#x", + sig[sTypeOffset], asn1IntegerID) + return nil, signatureError(ErrSigInvalidSIntID, str) + } + + // Zero-length integers are not allowed for S. + if sLen == 0 { + str := "malformed signature: S length is zero" + return nil, signatureError(ErrSigZeroSLen, str) + } + + // S must not be negative. + if sig[sOffset]&0x80 != 0 { + str := "malformed signature: S is negative" + return nil, signatureError(ErrSigNegativeS, str) + } + + // Null bytes at the start of S are not allowed, unless S would otherwise be + // interpreted as a negative number. + if sLen > 1 && sig[sOffset] == 0x00 && sig[sOffset+1]&0x80 == 0 { + str := "malformed signature: S value has too much padding" + return nil, signatureError(ErrSigTooMuchSPadding, str) + } + + // The signature is validly encoded per DER at this point, however, enforce + // additional restrictions to ensure R and S are in the range [1, N-1] since + // valid ECDSA signatures are required to be in that range per spec. + // + // Also note that while the overflow checks are required to make use of the + // specialized mod N scalar type, rejecting zero here is not strictly + // required because it is also checked when verifying the signature, but + // there really isn't a good reason not to fail early here on signatures + // that do not conform to the ECDSA spec. + + // Strip leading zeroes from R. + rBytes := sig[rOffset : rOffset+rLen] + for len(rBytes) > 0 && rBytes[0] == 0x00 { + rBytes = rBytes[1:] + } + + // R must be in the range [1, N-1]. Notice the check for the maximum number + // of bytes is required because SetByteSlice truncates as noted in its + // comment so it could otherwise fail to detect the overflow. + var r secp256k1.ModNScalar + if len(rBytes) > 32 { + str := "invalid signature: R is larger than 256 bits" + return nil, signatureError(ErrSigRTooBig, str) + } + if overflow := r.SetByteSlice(rBytes); overflow { + str := "invalid signature: R >= group order" + return nil, signatureError(ErrSigRTooBig, str) + } + if r.IsZero() { + str := "invalid signature: R is 0" + return nil, signatureError(ErrSigRIsZero, str) + } + + // Strip leading zeroes from S. + sBytes := sig[sOffset : sOffset+sLen] + for len(sBytes) > 0 && sBytes[0] == 0x00 { + sBytes = sBytes[1:] + } + + // S must be in the range [1, N-1]. Notice the check for the maximum number + // of bytes is required because SetByteSlice truncates as noted in its + // comment so it could otherwise fail to detect the overflow. + var s secp256k1.ModNScalar + if len(sBytes) > 32 { + str := "invalid signature: S is larger than 256 bits" + return nil, signatureError(ErrSigSTooBig, str) + } + if overflow := s.SetByteSlice(sBytes); overflow { + str := "invalid signature: S >= group order" + return nil, signatureError(ErrSigSTooBig, str) + } + if s.IsZero() { + str := "invalid signature: S is 0" + return nil, signatureError(ErrSigSIsZero, str) + } + + // Create and return the signature. + return NewSignature(&r, &s), nil +} + +// signRFC6979 generates a deterministic ECDSA signature according to RFC 6979 +// and BIP 62 and returns it along with an additional public key recovery code +// for efficiently recovering the public key from the signature. +func signRFC6979(privKey *secp256k1.PrivateKey, hash []byte) (*Signature, byte) { + // The algorithm for producing an ECDSA signature is given as algorithm 4.29 + // in [GECC]. + // + // The following is a paraphrased version for reference: + // + // G = curve generator + // N = curve order + // d = private key + // m = message + // r, s = signature + // + // 1. Select random nonce k in [1, N-1] + // 2. Compute kG + // 3. r = kG.x mod N (kG.x is the x coordinate of the point kG) + // Repeat from step 1 if r = 0 + // 4. e = H(m) + // 5. s = k^-1(e + dr) mod N + // Repeat from step 1 if s = 0 + // 6. Return (r,s) + // + // This is slightly modified here to conform to RFC6979 and BIP 62 as + // follows: + // + // A. Instead of selecting a random nonce in step 1, use RFC6979 to generate + // a deterministic nonce in [1, N-1] parameterized by the private key, + // message being signed, and an iteration count for the repeat cases + // B. Negate s calculated in step 5 if it is > N/2 + // This is done because both s and its negation are valid signatures + // modulo the curve order N, so it forces a consistent choice to reduce + // signature malleability + + privKeyScalar := &privKey.Key + var privKeyBytes [32]byte + privKeyScalar.PutBytes(&privKeyBytes) + defer zeroArray32(&privKeyBytes) + for iteration := uint32(0); ; iteration++ { + // Step 1 with modification A. + // + // Generate a deterministic nonce in [1, N-1] parameterized by the + // private key, message being signed, and iteration count. + k := secp256k1.NonceRFC6979(privKeyBytes[:], hash, nil, nil, iteration) + + // Step 2. + // + // Compute kG + // + // Note that the point must be in affine coordinates. + var kG secp256k1.JacobianPoint + secp256k1.ScalarBaseMultNonConst(k, &kG) + kG.ToAffine() + + // Step 3. + // + // r = kG.x mod N + // Repeat from step 1 if r = 0 + r, overflow := fieldToModNScalar(&kG.X) + if r.IsZero() { + k.Zero() + continue + } + + // Since the secp256k1 curve has a cofactor of 1, when recovering a + // public key from an ECDSA signature over it, there are four possible + // candidates corresponding to the following cases: + // + // 1) The X coord of the random point is < N and its Y coord even + // 2) The X coord of the random point is < N and its Y coord is odd + // 3) The X coord of the random point is >= N and its Y coord is even + // 4) The X coord of the random point is >= N and its Y coord is odd + // + // Rather than forcing the recovery procedure to check all possible + // cases, this creates a recovery code that uniquely identifies which of + // the cases apply by making use of 2 bits. Bit 0 identifies the + // oddness case and Bit 1 identifies the overflow case (aka when the X + // coord >= N). + // + // It is also worth noting that making use of Hasse's theorem shows + // there are around log_2((p-n)/p) ~= -127.65 ~= 1 in 2^127 points where + // the X coordinate is >= N. It is not possible to calculate these + // points since that would require breaking the ECDLP, but, in practice + // this strongly implies with extremely high probability that there are + // only a few actual points for which this case is true. + pubKeyRecoveryCode := byte(overflow<<1) | byte(kG.Y.IsOddBit()) + + // Step 4. + // + // e = H(m) + // + // Note that this actually sets e = H(m) mod N which is correct since + // it is only used in step 5 which itself is mod N. + var e secp256k1.ModNScalar + e.SetByteSlice(hash) + + // Step 5 with modification B. + // + // s = k^-1(e + dr) mod N + // Repeat from step 1 if s = 0 + // s = -s if s > N/2 + kInv := new(secp256k1.ModNScalar).InverseValNonConst(k) + k.Zero() + s := new(secp256k1.ModNScalar).Mul2(privKeyScalar, &r).Add(&e).Mul(kInv) + if s.IsZero() { + continue + } + if s.IsOverHalfOrder() { + s.Negate() + + // Negating s corresponds to the random point that would have been + // generated by -k (mod N), which necessarily has the opposite + // oddness since N is prime, thus flip the pubkey recovery code + // oddness bit accordingly. + pubKeyRecoveryCode ^= 0x01 + } + + // Step 6. + // + // Return (r,s) + return NewSignature(&r, s), pubKeyRecoveryCode + } +} + +// Sign generates an ECDSA signature over the secp256k1 curve for the provided +// hash (which should be the result of hashing a larger message) using the given +// private key. The produced signature is deterministic (same message and same +// key yield the same signature) and canonical in accordance with RFC6979 and +// BIP0062. +func Sign(key *secp256k1.PrivateKey, hash []byte) *Signature { + signature, _ := signRFC6979(key, hash) + return signature +} + +const ( + // compactSigSize is the size of a compact signature. It consists of a + // compact signature recovery code byte followed by the R and S components + // serialized as 32-byte big-endian values. 1+32*2 = 65. + // for the R and S components. 1+32+32=65. + compactSigSize = 65 + + // compactSigMagicOffset is a value used when creating the compact signature + // recovery code inherited from Bitcoin and has no meaning, but has been + // retained for compatibility. For historical purposes, it was originally + // picked to avoid a binary representation that would allow compact + // signatures to be mistaken for other components. + compactSigMagicOffset = 27 + + // compactSigCompPubKey is a value used when creating the compact signature + // recovery code to indicate the original public key was compressed. + compactSigCompPubKey = 4 + + // pubKeyRecoveryCodeOddnessBit specifies the bit that indicates the oddess + // of the Y coordinate of the random point calculated when creating a + // signature. + pubKeyRecoveryCodeOddnessBit = 1 << 0 + + // pubKeyRecoveryCodeOverflowBit specifies the bit that indicates the X + // coordinate of the random point calculated when creating a signature was + // >= N, where N is the order of the group. + pubKeyRecoveryCodeOverflowBit = 1 << 1 +) + +// SignCompact produces a compact ECDSA signature over the secp256k1 curve for +// the provided hash (which should be the result of hashing a larger message) +// using the given private key. The isCompressedKey parameter specifies if the +// produced signature should reference a compressed public key or not. +// +// Compact signature format: +// <1-byte compact sig recovery code><32-byte R><32-byte S> +// +// The compact sig recovery code is the value 27 + public key recovery code + 4 +// if the compact signature was created with a compressed public key. +func SignCompact(key *secp256k1.PrivateKey, hash []byte, isCompressedKey bool) []byte { + // Create the signature and associated pubkey recovery code and calculate + // the compact signature recovery code. + sig, pubKeyRecoveryCode := signRFC6979(key, hash) + compactSigRecoveryCode := compactSigMagicOffset + pubKeyRecoveryCode + if isCompressedKey { + compactSigRecoveryCode += compactSigCompPubKey + } + + // Output <32-byte R><32-byte S>. + var b [compactSigSize]byte + b[0] = compactSigRecoveryCode + sig.r.PutBytesUnchecked(b[1:33]) + sig.s.PutBytesUnchecked(b[33:65]) + return b[:] +} + +// RecoverCompact attempts to recover the secp256k1 public key from the provided +// compact signature and message hash. It first verifies the signature, and, if +// the signature matches then the recovered public key will be returned as well +// as a boolean indicating whether or not the original key was compressed. +func RecoverCompact(signature, hash []byte) (*secp256k1.PublicKey, bool, error) { + // The following is very loosely based on the information and algorithm that + // describes recovering a public key from and ECDSA signature in section + // 4.1.6 of [SEC1]. + // + // Given the following parameters: + // + // G = curve generator + // N = group order + // P = field prime + // Q = public key + // m = message + // e = hash of the message + // r, s = signature + // X = random point used when creating signature whose x coordinate is r + // + // The equation to recover a public key candidate from an ECDSA signature + // is: + // Q = r^-1(sX - eG). + // + // This can be verified by plugging it in for Q in the sig verification + // equation: + // X = s^-1(eG + rQ) (mod N) + // => s^-1(eG + r(r^-1(sX - eG))) (mod N) + // => s^-1(eG + sX - eG) (mod N) + // => s^-1(sX) (mod N) + // => X (mod N) + // + // However, note that since r is the x coordinate mod N from a random point + // that was originally mod P, and the cofactor of the secp256k1 curve is 1, + // there are four possible points that the original random point could have + // been to produce r: (r,y), (r,-y), (r+N,y), and (r+N,-y). At least 2 of + // those points will successfully verify, and all 4 will successfully verify + // when the original x coordinate was in the range [N+1, P-1], but in any + // case, only one of them corresponds to the original private key used. + // + // The method described by section 4.1.6 of [SEC1] to determine which one is + // the correct one involves calculating each possibility as a candidate + // public key and comparing the candidate to the authentic public key. It + // also hints that is is possible to generate the signature in a such a + // way that only one of the candidate public keys is viable. + // + // A more efficient approach that is specific to the secp256k1 curve is used + // here instead which is to produce a "pubkey recovery code" when signing + // that uniquely identifies which of the 4 possibilities is correct for the + // original random point and using that to recover the pubkey directly as + // follows: + // + // 1. Fail if r and s are not in [1, N-1] + // 2. Convert r to integer mod P + // 3. If pubkey recovery code overflow bit is set: + // 3.1 Fail if r + N >= P + // 3.2 r = r + N (mod P) + // 4. y = +sqrt(r^3 + 7) (mod P) + // 4.1 Fail if y does not exist + // 4.2 y = -y if needed to match pubkey recovery code oddness bit + // 5. X = (r, y) + // 6. e = H(m) mod N + // 7. w = r^-1 mod N + // 8. u1 = -(e * w) mod N + // u2 = s * w mod N + // 9. Q = u1G + u2X + // 10. Fail if Q is the point at infinity + + // A compact signature consists of a recovery byte followed by the R and + // S components serialized as 32-byte big-endian values. + if len(signature) != compactSigSize { + return nil, false, errors.New("invalid compact signature size") + } + + // Parse and validate the compact signature recovery code. + const ( + minValidCode = compactSigMagicOffset + maxValidCode = compactSigMagicOffset + compactSigCompPubKey + 3 + ) + sigRecoveryCode := signature[0] + if sigRecoveryCode < minValidCode || sigRecoveryCode > maxValidCode { + return nil, false, errors.New("invalid compact signature recovery code") + } + sigRecoveryCode -= compactSigMagicOffset + wasCompressed := sigRecoveryCode&compactSigCompPubKey != 0 + pubKeyRecoveryCode := sigRecoveryCode & 3 + + // Step 1. + // + // Parse and validate the R and S signature components. + // + // Fail if r and s are not in [1, N-1]. + var r, s secp256k1.ModNScalar + if overflow := r.SetByteSlice(signature[1:33]); overflow { + return nil, false, errors.New("signature R is >= curve order") + } + if r.IsZero() { + return nil, false, errors.New("signature R is 0") + } + if overflow := s.SetByteSlice(signature[33:]); overflow { + return nil, false, errors.New("signature S is >= curve order") + } + if s.IsZero() { + return nil, false, errors.New("signature S is 0") + } + + // Step 2. + // + // Convert r to integer mod P. + fieldR := modNScalarToField(&r) + + // Step 3. + // + // If pubkey recovery code overflow bit is set: + if pubKeyRecoveryCode&pubKeyRecoveryCodeOverflowBit != 0 { + // Step 3.1. + // + // Fail if r + N >= P + // + // Either the signature or the recovery code must be invalid if the + // recovery code overflow bit is set and adding N to the R component + // would exceed the field prime since R originally came from the X + // coordinate of a random point on the curve. + if fieldR.IsGtOrEqPrimeMinusOrder() { + return nil, false, errors.New("signature R + N >= P") + } + + // Step 3.2. + // + // r = r + N (mod P) + fieldR.Add(orderAsFieldVal) + } + + // Step 4. + // + // y = +sqrt(r^3 + 7) (mod P) + // Fail if y does not exist. + // y = -y if needed to match pubkey recovery code oddness bit + // + // The signature must be invalid if the calculation fails because the X + // coord originally came from a random point on the curve which means there + // must be a Y coord that satisfies the equation for a valid signature. + oddY := pubKeyRecoveryCode&pubKeyRecoveryCodeOddnessBit != 0 + var y secp256k1.FieldVal + if valid := secp256k1.DecompressY(&fieldR, oddY, &y); !valid { + return nil, false, errors.New("signature is not for a valid curve point") + } + + // Step 5. + // + // X = (r, y) + var X secp256k1.JacobianPoint + X.X.Set(&fieldR) + X.Y.Set(&y) + X.Z.SetInt(1) + + // Step 6. + // + // e = H(m) mod N + var e secp256k1.ModNScalar + e.SetByteSlice(hash) + + // Step 7. + // + // w = r^-1 mod N + w := new(secp256k1.ModNScalar).InverseValNonConst(&r) + + // Step 8. + // + // u1 = -(e * w) mod N + // u2 = s * w mod N + u1 := new(secp256k1.ModNScalar).Mul2(&e, w).Negate() + u2 := new(secp256k1.ModNScalar).Mul2(&s, w) + + // Step 9. + // + // Q = u1G + u2X + var Q, u1G, u2X secp256k1.JacobianPoint + secp256k1.ScalarBaseMultNonConst(u1, &u1G) + secp256k1.ScalarMultNonConst(u2, &X, &u2X) + secp256k1.AddNonConst(&u1G, &u2X, &Q) + + // Step 10. + // + // Fail if Q is the point at infinity. + // + // Either the signature or the pubkey recovery code must be invalid if the + // recovered pubkey is the point at infinity. + if (Q.X.IsZero() && Q.Y.IsZero()) || Q.Z.IsZero() { + return nil, false, errors.New("recovered pubkey is the point at infinity") + } + + // Notice that the public key is in affine coordinates. + Q.ToAffine() + pubKey := secp256k1.NewPublicKey(&Q.X, &Q.Y) + return pubKey, wasCompressed, nil +} diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ellipticadaptor.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ellipticadaptor.go new file mode 100644 index 000000000..a271ff6b3 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/ellipticadaptor.go @@ -0,0 +1,255 @@ +// Copyright 2020-2021 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package secp256k1 + +// References: +// [SECG]: Recommended Elliptic Curve Domain Parameters +// https://www.secg.org/sec2-v2.pdf +// +// [GECC]: Guide to Elliptic Curve Cryptography (Hankerson, Menezes, Vanstone) + +import ( + "crypto/ecdsa" + "crypto/elliptic" + "math/big" +) + +// CurveParams contains the parameters for the secp256k1 curve. +type CurveParams struct { + // P is the prime used in the secp256k1 field. + P *big.Int + + // N is the order of the secp256k1 curve group generated by the base point. + N *big.Int + + // Gx and Gy are the x and y coordinate of the base point, respectively. + Gx, Gy *big.Int + + // BitSize is the size of the underlying secp256k1 field in bits. + BitSize int + + // H is the cofactor of the secp256k1 curve. + H int + + // ByteSize is simply the bit size / 8 and is provided for convenience + // since it is calculated repeatedly. + ByteSize int +} + +// Curve parameters taken from [SECG] section 2.4.1. +var curveParams = CurveParams{ + P: fromHex("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"), + N: fromHex("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"), + Gx: fromHex("79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"), + Gy: fromHex("483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"), + BitSize: 256, + H: 1, + ByteSize: 256 / 8, +} + +// Params returns the secp256k1 curve parameters for convenience. +func Params() *CurveParams { + return &curveParams +} + +// KoblitzCurve provides an implementation for secp256k1 that fits the ECC Curve +// interface from crypto/elliptic. +type KoblitzCurve struct { + *elliptic.CurveParams +} + +// bigAffineToJacobian takes an affine point (x, y) as big integers and converts +// it to Jacobian point with Z=1. +func bigAffineToJacobian(x, y *big.Int, result *JacobianPoint) { + result.X.SetByteSlice(x.Bytes()) + result.Y.SetByteSlice(y.Bytes()) + result.Z.SetInt(1) +} + +// jacobianToBigAffine takes a Jacobian point (x, y, z) as field values and +// converts it to an affine point as big integers. +func jacobianToBigAffine(point *JacobianPoint) (*big.Int, *big.Int) { + point.ToAffine() + + // Convert the field values for the now affine point to big.Ints. + x3, y3 := new(big.Int), new(big.Int) + x3.SetBytes(point.X.Bytes()[:]) + y3.SetBytes(point.Y.Bytes()[:]) + return x3, y3 +} + +// Params returns the parameters for the curve. +// +// This is part of the elliptic.Curve interface implementation. +func (curve *KoblitzCurve) Params() *elliptic.CurveParams { + return curve.CurveParams +} + +// IsOnCurve returns whether or not the affine point (x,y) is on the curve. +// +// This is part of the elliptic.Curve interface implementation. This function +// differs from the crypto/elliptic algorithm since a = 0 not -3. +func (curve *KoblitzCurve) IsOnCurve(x, y *big.Int) bool { + // Convert big ints to a Jacobian point for faster arithmetic. + var point JacobianPoint + bigAffineToJacobian(x, y, &point) + return isOnCurve(&point.X, &point.Y) +} + +// Add returns the sum of (x1,y1) and (x2,y2). +// +// This is part of the elliptic.Curve interface implementation. +func (curve *KoblitzCurve) Add(x1, y1, x2, y2 *big.Int) (*big.Int, *big.Int) { + // A point at infinity is the identity according to the group law for + // elliptic curve cryptography. Thus, ∞ + P = P and P + ∞ = P. + if x1.Sign() == 0 && y1.Sign() == 0 { + return x2, y2 + } + if x2.Sign() == 0 && y2.Sign() == 0 { + return x1, y1 + } + + // Convert the affine coordinates from big integers to Jacobian points, + // do the point addition in Jacobian projective space, and convert the + // Jacobian point back to affine big.Ints. + var p1, p2, result JacobianPoint + bigAffineToJacobian(x1, y1, &p1) + bigAffineToJacobian(x2, y2, &p2) + AddNonConst(&p1, &p2, &result) + return jacobianToBigAffine(&result) +} + +// Double returns 2*(x1,y1). +// +// This is part of the elliptic.Curve interface implementation. +func (curve *KoblitzCurve) Double(x1, y1 *big.Int) (*big.Int, *big.Int) { + if y1.Sign() == 0 { + return new(big.Int), new(big.Int) + } + + // Convert the affine coordinates from big integers to Jacobian points, + // do the point doubling in Jacobian projective space, and convert the + // Jacobian point back to affine big.Ints. + var point, result JacobianPoint + bigAffineToJacobian(x1, y1, &point) + DoubleNonConst(&point, &result) + return jacobianToBigAffine(&result) +} + +// moduloReduce reduces k from more than 32 bytes to 32 bytes and under. This +// is done by doing a simple modulo curve.N. We can do this since G^N = 1 and +// thus any other valid point on the elliptic curve has the same order. +func moduloReduce(k []byte) []byte { + // Since the order of G is curve.N, we can use a much smaller number by + // doing modulo curve.N + if len(k) > curveParams.ByteSize { + tmpK := new(big.Int).SetBytes(k) + tmpK.Mod(tmpK, curveParams.N) + return tmpK.Bytes() + } + + return k +} + +// ScalarMult returns k*(Bx, By) where k is a big endian integer. +// +// This is part of the elliptic.Curve interface implementation. +func (curve *KoblitzCurve) ScalarMult(Bx, By *big.Int, k []byte) (*big.Int, *big.Int) { + // Convert the affine coordinates from big integers to Jacobian points, + // do the multiplication in Jacobian projective space, and convert the + // Jacobian point back to affine big.Ints. + var kModN ModNScalar + kModN.SetByteSlice(moduloReduce(k)) + var point, result JacobianPoint + bigAffineToJacobian(Bx, By, &point) + ScalarMultNonConst(&kModN, &point, &result) + return jacobianToBigAffine(&result) +} + +// ScalarBaseMult returns k*G where G is the base point of the group and k is a +// big endian integer. +// +// This is part of the elliptic.Curve interface implementation. +func (curve *KoblitzCurve) ScalarBaseMult(k []byte) (*big.Int, *big.Int) { + // Perform the multiplication and convert the Jacobian point back to affine + // big.Ints. + var kModN ModNScalar + kModN.SetByteSlice(moduloReduce(k)) + var result JacobianPoint + ScalarBaseMultNonConst(&kModN, &result) + return jacobianToBigAffine(&result) +} + +// X returns the x coordinate of the public key. +func (p *PublicKey) X() *big.Int { + return new(big.Int).SetBytes(p.x.Bytes()[:]) +} + +// Y returns the y coordinate of the public key. +func (p *PublicKey) Y() *big.Int { + return new(big.Int).SetBytes(p.y.Bytes()[:]) +} + +// ToECDSA returns the public key as a *ecdsa.PublicKey. +func (p *PublicKey) ToECDSA() *ecdsa.PublicKey { + return &ecdsa.PublicKey{ + Curve: S256(), + X: p.X(), + Y: p.Y(), + } +} + +// ToECDSA returns the private key as a *ecdsa.PrivateKey. +func (p *PrivateKey) ToECDSA() *ecdsa.PrivateKey { + var privKeyBytes [PrivKeyBytesLen]byte + p.Key.PutBytes(&privKeyBytes) + var result JacobianPoint + ScalarBaseMultNonConst(&p.Key, &result) + x, y := jacobianToBigAffine(&result) + newPrivKey := &ecdsa.PrivateKey{ + PublicKey: ecdsa.PublicKey{ + Curve: S256(), + X: x, + Y: y, + }, + D: new(big.Int).SetBytes(privKeyBytes[:]), + } + zeroArray32(&privKeyBytes) + return newPrivKey +} + +// fromHex converts the passed hex string into a big integer pointer and will +// panic is there is an error. This is only provided for the hard-coded +// constants so errors in the source code can bet detected. It will only (and +// must only) be called for initialization purposes. +func fromHex(s string) *big.Int { + if s == "" { + return big.NewInt(0) + } + r, ok := new(big.Int).SetString(s, 16) + if !ok { + panic("invalid hex in source file: " + s) + } + return r +} + +// secp256k1 is a global instance of the KoblitzCurve implementation which in +// turn embeds and implements elliptic.CurveParams. +var secp256k1 = &KoblitzCurve{ + CurveParams: &elliptic.CurveParams{ + P: curveParams.P, + N: curveParams.N, + B: fromHex("0000000000000000000000000000000000000000000000000000000000000007"), + Gx: curveParams.Gx, + Gy: curveParams.Gy, + BitSize: curveParams.BitSize, + Name: "secp256k1", + }, +} + +// S256 returns a Curve which implements secp256k1. +func S256() *KoblitzCurve { + return secp256k1 +} diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/error.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/error.go new file mode 100644 index 000000000..ac8c45127 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/error.go @@ -0,0 +1,67 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package secp256k1 + +// ErrorKind identifies a kind of error. It has full support for errors.Is and +// errors.As, so the caller can directly check against an error kind when +// determining the reason for an error. +type ErrorKind string + +// These constants are used to identify a specific RuleError. +const ( + // ErrPubKeyInvalidLen indicates that the length of a serialized public + // key is not one of the allowed lengths. + ErrPubKeyInvalidLen = ErrorKind("ErrPubKeyInvalidLen") + + // ErrPubKeyInvalidFormat indicates an attempt was made to parse a public + // key that does not specify one of the supported formats. + ErrPubKeyInvalidFormat = ErrorKind("ErrPubKeyInvalidFormat") + + // ErrPubKeyXTooBig indicates that the x coordinate for a public key + // is greater than or equal to the prime of the field underlying the group. + ErrPubKeyXTooBig = ErrorKind("ErrPubKeyXTooBig") + + // ErrPubKeyYTooBig indicates that the y coordinate for a public key is + // greater than or equal to the prime of the field underlying the group. + ErrPubKeyYTooBig = ErrorKind("ErrPubKeyYTooBig") + + // ErrPubKeyNotOnCurve indicates that a public key is not a point on the + // secp256k1 curve. + ErrPubKeyNotOnCurve = ErrorKind("ErrPubKeyNotOnCurve") + + // ErrPubKeyMismatchedOddness indicates that a hybrid public key specified + // an oddness of the y coordinate that does not match the actual oddness of + // the provided y coordinate. + ErrPubKeyMismatchedOddness = ErrorKind("ErrPubKeyMismatchedOddness") +) + +// Error satisfies the error interface and prints human-readable errors. +func (e ErrorKind) Error() string { + return string(e) +} + +// Error identifies an error related to public key cryptography using a +// sec256k1 curve. It has full support for errors.Is and errors.As, so the +// caller can ascertain the specific reason for the error by checking +// the underlying error. +type Error struct { + Err error + Description string +} + +// Error satisfies the error interface and prints human-readable errors. +func (e Error) Error() string { + return e.Description +} + +// Unwrap returns the underlying wrapped error. +func (e Error) Unwrap() error { + return e.Err +} + +// makeError creates an Error given a set of arguments. +func makeError(kind ErrorKind, desc string) Error { + return Error{Err: kind, Description: desc} +} diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/field.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/field.go new file mode 100644 index 000000000..43e27a91d --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/field.go @@ -0,0 +1,1680 @@ +// Copyright (c) 2013-2014 The btcsuite developers +// Copyright (c) 2015-2021 The Decred developers +// Copyright (c) 2013-2021 Dave Collins +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package secp256k1 + +// References: +// [HAC]: Handbook of Applied Cryptography Menezes, van Oorschot, Vanstone. +// http://cacr.uwaterloo.ca/hac/ + +// All elliptic curve operations for secp256k1 are done in a finite field +// characterized by a 256-bit prime. Given this precision is larger than the +// biggest available native type, obviously some form of bignum math is needed. +// This package implements specialized fixed-precision field arithmetic rather +// than relying on an arbitrary-precision arithmetic package such as math/big +// for dealing with the field math since the size is known. As a result, rather +// large performance gains are achieved by taking advantage of many +// optimizations not available to arbitrary-precision arithmetic and generic +// modular arithmetic algorithms. +// +// There are various ways to internally represent each finite field element. +// For example, the most obvious representation would be to use an array of 4 +// uint64s (64 bits * 4 = 256 bits). However, that representation suffers from +// a couple of issues. First, there is no native Go type large enough to handle +// the intermediate results while adding or multiplying two 64-bit numbers, and +// second there is no space left for overflows when performing the intermediate +// arithmetic between each array element which would lead to expensive carry +// propagation. +// +// Given the above, this implementation represents the field elements as +// 10 uint32s with each word (array entry) treated as base 2^26. This was +// chosen for the following reasons: +// 1) Most systems at the current time are 64-bit (or at least have 64-bit +// registers available for specialized purposes such as MMX) so the +// intermediate results can typically be done using a native register (and +// using uint64s to avoid the need for additional half-word arithmetic) +// 2) In order to allow addition of the internal words without having to +// propagate the carry, the max normalized value for each register must +// be less than the number of bits available in the register +// 3) Since we're dealing with 32-bit values, 64-bits of overflow is a +// reasonable choice for #2 +// 4) Given the need for 256-bits of precision and the properties stated in #1, +// #2, and #3, the representation which best accommodates this is 10 uint32s +// with base 2^26 (26 bits * 10 = 260 bits, so the final word only needs 22 +// bits) which leaves the desired 64 bits (32 * 10 = 320, 320 - 256 = 64) for +// overflow +// +// Since it is so important that the field arithmetic is extremely fast for high +// performance crypto, this type does not perform any validation where it +// ordinarily would. See the documentation for FieldVal for more details. + +import ( + "encoding/hex" +) + +// Constants used to make the code more readable. +const ( + twoBitsMask = 0x3 + fourBitsMask = 0xf + sixBitsMask = 0x3f + eightBitsMask = 0xff +) + +// Constants related to the field representation. +const ( + // fieldWords is the number of words used to internally represent the + // 256-bit value. + fieldWords = 10 + + // fieldBase is the exponent used to form the numeric base of each word. + // 2^(fieldBase*i) where i is the word position. + fieldBase = 26 + + // fieldBaseMask is the mask for the bits in each word needed to + // represent the numeric base of each word (except the most significant + // word). + fieldBaseMask = (1 << fieldBase) - 1 + + // fieldMSBBits is the number of bits in the most significant word used + // to represent the value. + fieldMSBBits = 256 - (fieldBase * (fieldWords - 1)) + + // fieldMSBMask is the mask for the bits in the most significant word + // needed to represent the value. + fieldMSBMask = (1 << fieldMSBBits) - 1 + + // These fields provide convenient access to each of the words of the + // secp256k1 prime in the internal field representation to improve code + // readability. + fieldPrimeWordZero = 0x03fffc2f + fieldPrimeWordOne = 0x03ffffbf + fieldPrimeWordTwo = 0x03ffffff + fieldPrimeWordThree = 0x03ffffff + fieldPrimeWordFour = 0x03ffffff + fieldPrimeWordFive = 0x03ffffff + fieldPrimeWordSix = 0x03ffffff + fieldPrimeWordSeven = 0x03ffffff + fieldPrimeWordEight = 0x03ffffff + fieldPrimeWordNine = 0x003fffff +) + +// FieldVal implements optimized fixed-precision arithmetic over the +// secp256k1 finite field. This means all arithmetic is performed modulo +// 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f. +// +// WARNING: Since it is so important for the field arithmetic to be extremely +// fast for high performance crypto, this type does not perform any validation +// of documented preconditions where it ordinarily would. As a result, it is +// IMPERATIVE for callers to understand some key concepts that are described +// below and ensure the methods are called with the necessary preconditions that +// each method is documented with. For example, some methods only give the +// correct result if the field value is normalized and others require the field +// values involved to have a maximum magnitude and THERE ARE NO EXPLICIT CHECKS +// TO ENSURE THOSE PRECONDITIONS ARE SATISFIED. This does, unfortunately, make +// the type more difficult to use correctly and while I typically prefer to +// ensure all state and input is valid for most code, this is a bit of an +// exception because those extra checks really add up in what ends up being +// critical hot paths. +// +// The first key concept when working with this type is normalization. In order +// to avoid the need to propagate a ton of carries, the internal representation +// provides additional overflow bits for each word of the overall 256-bit value. +// This means that there are multiple internal representations for the same +// value and, as a result, any methods that rely on comparison of the value, +// such as equality and oddness determination, require the caller to provide a +// normalized value. +// +// The second key concept when working with this type is magnitude. As +// previously mentioned, the internal representation provides additional +// overflow bits which means that the more math operations that are performed on +// the field value between normalizations, the more those overflow bits +// accumulate. The magnitude is effectively that maximum possible number of +// those overflow bits that could possibly be required as a result of a given +// operation. Since there are only a limited number of overflow bits available, +// this implies that the max possible magnitude MUST be tracked by the caller +// and the caller MUST normalize the field value if a given operation would +// cause the magnitude of the result to exceed the max allowed value. +// +// IMPORTANT: The max allowed magnitude of a field value is 64. +type FieldVal struct { + // Each 256-bit value is represented as 10 32-bit integers in base 2^26. + // This provides 6 bits of overflow in each word (10 bits in the most + // significant word) for a total of 64 bits of overflow (9*6 + 10 = 64). It + // only implements the arithmetic needed for elliptic curve operations. + // + // The following depicts the internal representation: + // ----------------------------------------------------------------- + // | n[9] | n[8] | ... | n[0] | + // | 32 bits available | 32 bits available | ... | 32 bits available | + // | 22 bits for value | 26 bits for value | ... | 26 bits for value | + // | 10 bits overflow | 6 bits overflow | ... | 6 bits overflow | + // | Mult: 2^(26*9) | Mult: 2^(26*8) | ... | Mult: 2^(26*0) | + // ----------------------------------------------------------------- + // + // For example, consider the number 2^49 + 1. It would be represented as: + // n[0] = 1 + // n[1] = 2^23 + // n[2..9] = 0 + // + // The full 256-bit value is then calculated by looping i from 9..0 and + // doing sum(n[i] * 2^(26i)) like so: + // n[9] * 2^(26*9) = 0 * 2^234 = 0 + // n[8] * 2^(26*8) = 0 * 2^208 = 0 + // ... + // n[1] * 2^(26*1) = 2^23 * 2^26 = 2^49 + // n[0] * 2^(26*0) = 1 * 2^0 = 1 + // Sum: 0 + 0 + ... + 2^49 + 1 = 2^49 + 1 + n [10]uint32 +} + +// String returns the field value as a normalized human-readable hex string. +// +// Preconditions: None +// Output Normalized: Field is not modified -- same as input value +// Output Max Magnitude: Field is not modified -- same as input value +func (f FieldVal) String() string { + // f is a copy, so it's safe to normalize it without mutating the original. + f.Normalize() + return hex.EncodeToString(f.Bytes()[:]) +} + +// Zero sets the field value to zero in constant time. A newly created field +// value is already set to zero. This function can be useful to clear an +// existing field value for reuse. +// +// Preconditions: None +// Output Normalized: Yes +// Output Max Magnitude: 1 +func (f *FieldVal) Zero() { + f.n[0] = 0 + f.n[1] = 0 + f.n[2] = 0 + f.n[3] = 0 + f.n[4] = 0 + f.n[5] = 0 + f.n[6] = 0 + f.n[7] = 0 + f.n[8] = 0 + f.n[9] = 0 +} + +// Set sets the field value equal to the passed value in constant time. The +// normalization and magnitude of the two fields will be identical. +// +// The field value is returned to support chaining. This enables syntax like: +// f := new(FieldVal).Set(f2).Add(1) so that f = f2 + 1 where f2 is not +// modified. +// +// Preconditions: None +// Output Normalized: Same as input value +// Output Max Magnitude: Same as input value +func (f *FieldVal) Set(val *FieldVal) *FieldVal { + *f = *val + return f +} + +// SetInt sets the field value to the passed integer in constant time. This is +// a convenience function since it is fairly common to perform some arithmetic +// with small native integers. +// +// The field value is returned to support chaining. This enables syntax such +// as f := new(FieldVal).SetInt(2).Mul(f2) so that f = 2 * f2. +// +// Preconditions: None +// Output Normalized: Yes +// Output Max Magnitude: 1 +func (f *FieldVal) SetInt(ui uint16) *FieldVal { + f.Zero() + f.n[0] = uint32(ui) + return f +} + +// SetBytes packs the passed 32-byte big-endian value into the internal field +// value representation in constant time. SetBytes interprets the provided +// array as a 256-bit big-endian unsigned integer, packs it into the internal +// field value representation, and returns either 1 if it is greater than or +// equal to the field prime (aka it overflowed) or 0 otherwise in constant time. +// +// Note that a bool is not used here because it is not possible in Go to convert +// from a bool to numeric value in constant time and many constant-time +// operations require a numeric value. +// +// Preconditions: None +// Output Normalized: Yes if no overflow, no otherwise +// Output Max Magnitude: 1 +func (f *FieldVal) SetBytes(b *[32]byte) uint32 { + // Pack the 256 total bits across the 10 uint32 words with a max of + // 26-bits per word. This could be done with a couple of for loops, + // but this unrolled version is significantly faster. Benchmarks show + // this is about 34 times faster than the variant which uses loops. + f.n[0] = uint32(b[31]) | uint32(b[30])<<8 | uint32(b[29])<<16 | + (uint32(b[28])&twoBitsMask)<<24 + f.n[1] = uint32(b[28])>>2 | uint32(b[27])<<6 | uint32(b[26])<<14 | + (uint32(b[25])&fourBitsMask)<<22 + f.n[2] = uint32(b[25])>>4 | uint32(b[24])<<4 | uint32(b[23])<<12 | + (uint32(b[22])&sixBitsMask)<<20 + f.n[3] = uint32(b[22])>>6 | uint32(b[21])<<2 | uint32(b[20])<<10 | + uint32(b[19])<<18 + f.n[4] = uint32(b[18]) | uint32(b[17])<<8 | uint32(b[16])<<16 | + (uint32(b[15])&twoBitsMask)<<24 + f.n[5] = uint32(b[15])>>2 | uint32(b[14])<<6 | uint32(b[13])<<14 | + (uint32(b[12])&fourBitsMask)<<22 + f.n[6] = uint32(b[12])>>4 | uint32(b[11])<<4 | uint32(b[10])<<12 | + (uint32(b[9])&sixBitsMask)<<20 + f.n[7] = uint32(b[9])>>6 | uint32(b[8])<<2 | uint32(b[7])<<10 | + uint32(b[6])<<18 + f.n[8] = uint32(b[5]) | uint32(b[4])<<8 | uint32(b[3])<<16 | + (uint32(b[2])&twoBitsMask)<<24 + f.n[9] = uint32(b[2])>>2 | uint32(b[1])<<6 | uint32(b[0])<<14 + + // The intuition here is that the field value is greater than the prime if + // one of the higher individual words is greater than corresponding word of + // the prime and all higher words in the field value are equal to their + // corresponding word of the prime. Since this type is modulo the prime, + // being equal is also an overflow back to 0. + // + // Note that because the input is 32 bytes and it was just packed into the + // field representation, the only words that can possibly be greater are + // zero and one, because ceil(log_2(2^256 - 1 - P)) = 33 bits max and the + // internal field representation encodes 26 bits with each word. + // + // Thus, there is no need to test if the upper words of the field value + // exceeds them, hence, only equality is checked for them. + highWordsEq := constantTimeEq(f.n[9], fieldPrimeWordNine) + highWordsEq &= constantTimeEq(f.n[8], fieldPrimeWordEight) + highWordsEq &= constantTimeEq(f.n[7], fieldPrimeWordSeven) + highWordsEq &= constantTimeEq(f.n[6], fieldPrimeWordSix) + highWordsEq &= constantTimeEq(f.n[5], fieldPrimeWordFive) + highWordsEq &= constantTimeEq(f.n[4], fieldPrimeWordFour) + highWordsEq &= constantTimeEq(f.n[3], fieldPrimeWordThree) + highWordsEq &= constantTimeEq(f.n[2], fieldPrimeWordTwo) + overflow := highWordsEq & constantTimeGreater(f.n[1], fieldPrimeWordOne) + highWordsEq &= constantTimeEq(f.n[1], fieldPrimeWordOne) + overflow |= highWordsEq & constantTimeGreaterOrEq(f.n[0], fieldPrimeWordZero) + + return overflow +} + +// SetByteSlice interprets the provided slice as a 256-bit big-endian unsigned +// integer (meaning it is truncated to the first 32 bytes), packs it into the +// internal field value representation, and returns whether or not the resulting +// truncated 256-bit integer is greater than or equal to the field prime (aka it +// overflowed) in constant time. +// +// Note that since passing a slice with more than 32 bytes is truncated, it is +// possible that the truncated value is less than the field prime and hence it +// will not be reported as having overflowed in that case. It is up to the +// caller to decide whether it needs to provide numbers of the appropriate size +// or it if is acceptable to use this function with the described truncation and +// overflow behavior. +// +// Preconditions: None +// Output Normalized: Yes if no overflow, no otherwise +// Output Max Magnitude: 1 +func (f *FieldVal) SetByteSlice(b []byte) bool { + var b32 [32]byte + b = b[:constantTimeMin(uint32(len(b)), 32)] + copy(b32[:], b32[:32-len(b)]) + copy(b32[32-len(b):], b) + result := f.SetBytes(&b32) + zeroArray32(&b32) + return result != 0 +} + +// Normalize normalizes the internal field words into the desired range and +// performs fast modular reduction over the secp256k1 prime by making use of the +// special form of the prime in constant time. +// +// Preconditions: None +// Output Normalized: Yes +// Output Max Magnitude: 1 +func (f *FieldVal) Normalize() *FieldVal { + // The field representation leaves 6 bits of overflow in each word so + // intermediate calculations can be performed without needing to + // propagate the carry to each higher word during the calculations. In + // order to normalize, we need to "compact" the full 256-bit value to + // the right while propagating any carries through to the high order + // word. + // + // Since this field is doing arithmetic modulo the secp256k1 prime, we + // also need to perform modular reduction over the prime. + // + // Per [HAC] section 14.3.4: Reduction method of moduli of special form, + // when the modulus is of the special form m = b^t - c, highly efficient + // reduction can be achieved. + // + // The secp256k1 prime is equivalent to 2^256 - 4294968273, so it fits + // this criteria. + // + // 4294968273 in field representation (base 2^26) is: + // n[0] = 977 + // n[1] = 64 + // That is to say (2^26 * 64) + 977 = 4294968273 + // + // The algorithm presented in the referenced section typically repeats + // until the quotient is zero. However, due to our field representation + // we already know to within one reduction how many times we would need + // to repeat as it's the uppermost bits of the high order word. Thus we + // can simply multiply the magnitude by the field representation of the + // prime and do a single iteration. After this step there might be an + // additional carry to bit 256 (bit 22 of the high order word). + t9 := f.n[9] + m := t9 >> fieldMSBBits + t9 = t9 & fieldMSBMask + t0 := f.n[0] + m*977 + t1 := (t0 >> fieldBase) + f.n[1] + (m << 6) + t0 = t0 & fieldBaseMask + t2 := (t1 >> fieldBase) + f.n[2] + t1 = t1 & fieldBaseMask + t3 := (t2 >> fieldBase) + f.n[3] + t2 = t2 & fieldBaseMask + t4 := (t3 >> fieldBase) + f.n[4] + t3 = t3 & fieldBaseMask + t5 := (t4 >> fieldBase) + f.n[5] + t4 = t4 & fieldBaseMask + t6 := (t5 >> fieldBase) + f.n[6] + t5 = t5 & fieldBaseMask + t7 := (t6 >> fieldBase) + f.n[7] + t6 = t6 & fieldBaseMask + t8 := (t7 >> fieldBase) + f.n[8] + t7 = t7 & fieldBaseMask + t9 = (t8 >> fieldBase) + t9 + t8 = t8 & fieldBaseMask + + // At this point, the magnitude is guaranteed to be one, however, the + // value could still be greater than the prime if there was either a + // carry through to bit 256 (bit 22 of the higher order word) or the + // value is greater than or equal to the field characteristic. The + // following determines if either or these conditions are true and does + // the final reduction in constant time. + // + // Also note that 'm' will be zero when neither of the aforementioned + // conditions are true and the value will not be changed when 'm' is zero. + m = constantTimeEq(t9, fieldMSBMask) + m &= constantTimeEq(t8&t7&t6&t5&t4&t3&t2, fieldBaseMask) + m &= constantTimeGreater(t1+64+((t0+977)>>fieldBase), fieldBaseMask) + m |= t9 >> fieldMSBBits + t0 = t0 + m*977 + t1 = (t0 >> fieldBase) + t1 + (m << 6) + t0 = t0 & fieldBaseMask + t2 = (t1 >> fieldBase) + t2 + t1 = t1 & fieldBaseMask + t3 = (t2 >> fieldBase) + t3 + t2 = t2 & fieldBaseMask + t4 = (t3 >> fieldBase) + t4 + t3 = t3 & fieldBaseMask + t5 = (t4 >> fieldBase) + t5 + t4 = t4 & fieldBaseMask + t6 = (t5 >> fieldBase) + t6 + t5 = t5 & fieldBaseMask + t7 = (t6 >> fieldBase) + t7 + t6 = t6 & fieldBaseMask + t8 = (t7 >> fieldBase) + t8 + t7 = t7 & fieldBaseMask + t9 = (t8 >> fieldBase) + t9 + t8 = t8 & fieldBaseMask + t9 = t9 & fieldMSBMask // Remove potential multiple of 2^256. + + // Finally, set the normalized and reduced words. + f.n[0] = t0 + f.n[1] = t1 + f.n[2] = t2 + f.n[3] = t3 + f.n[4] = t4 + f.n[5] = t5 + f.n[6] = t6 + f.n[7] = t7 + f.n[8] = t8 + f.n[9] = t9 + return f +} + +// PutBytesUnchecked unpacks the field value to a 32-byte big-endian value +// directly into the passed byte slice in constant time. The target slice must +// must have at least 32 bytes available or it will panic. +// +// There is a similar function, PutBytes, which unpacks the field value into a +// 32-byte array directly. This version is provided since it can be useful +// to write directly into part of a larger buffer without needing a separate +// allocation. +// +// Preconditions: +// - The field value MUST be normalized +// - The target slice MUST have at least 32 bytes available +func (f *FieldVal) PutBytesUnchecked(b []byte) { + // Unpack the 256 total bits from the 10 uint32 words with a max of + // 26-bits per word. This could be done with a couple of for loops, + // but this unrolled version is a bit faster. Benchmarks show this is + // about 10 times faster than the variant which uses loops. + b[31] = byte(f.n[0] & eightBitsMask) + b[30] = byte((f.n[0] >> 8) & eightBitsMask) + b[29] = byte((f.n[0] >> 16) & eightBitsMask) + b[28] = byte((f.n[0]>>24)&twoBitsMask | (f.n[1]&sixBitsMask)<<2) + b[27] = byte((f.n[1] >> 6) & eightBitsMask) + b[26] = byte((f.n[1] >> 14) & eightBitsMask) + b[25] = byte((f.n[1]>>22)&fourBitsMask | (f.n[2]&fourBitsMask)<<4) + b[24] = byte((f.n[2] >> 4) & eightBitsMask) + b[23] = byte((f.n[2] >> 12) & eightBitsMask) + b[22] = byte((f.n[2]>>20)&sixBitsMask | (f.n[3]&twoBitsMask)<<6) + b[21] = byte((f.n[3] >> 2) & eightBitsMask) + b[20] = byte((f.n[3] >> 10) & eightBitsMask) + b[19] = byte((f.n[3] >> 18) & eightBitsMask) + b[18] = byte(f.n[4] & eightBitsMask) + b[17] = byte((f.n[4] >> 8) & eightBitsMask) + b[16] = byte((f.n[4] >> 16) & eightBitsMask) + b[15] = byte((f.n[4]>>24)&twoBitsMask | (f.n[5]&sixBitsMask)<<2) + b[14] = byte((f.n[5] >> 6) & eightBitsMask) + b[13] = byte((f.n[5] >> 14) & eightBitsMask) + b[12] = byte((f.n[5]>>22)&fourBitsMask | (f.n[6]&fourBitsMask)<<4) + b[11] = byte((f.n[6] >> 4) & eightBitsMask) + b[10] = byte((f.n[6] >> 12) & eightBitsMask) + b[9] = byte((f.n[6]>>20)&sixBitsMask | (f.n[7]&twoBitsMask)<<6) + b[8] = byte((f.n[7] >> 2) & eightBitsMask) + b[7] = byte((f.n[7] >> 10) & eightBitsMask) + b[6] = byte((f.n[7] >> 18) & eightBitsMask) + b[5] = byte(f.n[8] & eightBitsMask) + b[4] = byte((f.n[8] >> 8) & eightBitsMask) + b[3] = byte((f.n[8] >> 16) & eightBitsMask) + b[2] = byte((f.n[8]>>24)&twoBitsMask | (f.n[9]&sixBitsMask)<<2) + b[1] = byte((f.n[9] >> 6) & eightBitsMask) + b[0] = byte((f.n[9] >> 14) & eightBitsMask) +} + +// PutBytes unpacks the field value to a 32-byte big-endian value using the +// passed byte array in constant time. +// +// There is a similar function, PutBytesUnchecked, which unpacks the field value +// into a slice that must have at least 32 bytes available. This version is +// provided since it can be useful to write directly into an array that is type +// checked. +// +// Alternatively, there is also Bytes, which unpacks the field value into a new +// array and returns that which can sometimes be more ergonomic in applications +// that aren't concerned about an additional copy. +// +// Preconditions: +// - The field value MUST be normalized +func (f *FieldVal) PutBytes(b *[32]byte) { + f.PutBytesUnchecked(b[:]) +} + +// Bytes unpacks the field value to a 32-byte big-endian value in constant time. +// +// See PutBytes and PutBytesUnchecked for variants that allow an array or slice +// to be passed which can be useful to cut down on the number of allocations by +// allowing the caller to reuse a buffer or write directly into part of a larger +// buffer. +// +// Preconditions: +// - The field value MUST be normalized +func (f *FieldVal) Bytes() *[32]byte { + b := new([32]byte) + f.PutBytesUnchecked(b[:]) + return b +} + +// IsZeroBit returns 1 when the field value is equal to zero or 0 otherwise in +// constant time. +// +// Note that a bool is not used here because it is not possible in Go to convert +// from a bool to numeric value in constant time and many constant-time +// operations require a numeric value. See IsZero for the version that returns +// a bool. +// +// Preconditions: +// - The field value MUST be normalized +func (f *FieldVal) IsZeroBit() uint32 { + // The value can only be zero if no bits are set in any of the words. + // This is a constant time implementation. + bits := f.n[0] | f.n[1] | f.n[2] | f.n[3] | f.n[4] | + f.n[5] | f.n[6] | f.n[7] | f.n[8] | f.n[9] + + return constantTimeEq(bits, 0) +} + +// IsZero returns whether or not the field value is equal to zero in constant +// time. +// +// Preconditions: +// - The field value MUST be normalized +func (f *FieldVal) IsZero() bool { + // The value can only be zero if no bits are set in any of the words. + // This is a constant time implementation. + bits := f.n[0] | f.n[1] | f.n[2] | f.n[3] | f.n[4] | + f.n[5] | f.n[6] | f.n[7] | f.n[8] | f.n[9] + + return bits == 0 +} + +// IsOneBit returns 1 when the field value is equal to one or 0 otherwise in +// constant time. +// +// Note that a bool is not used here because it is not possible in Go to convert +// from a bool to numeric value in constant time and many constant-time +// operations require a numeric value. See IsOne for the version that returns a +// bool. +// +// Preconditions: +// - The field value MUST be normalized +func (f *FieldVal) IsOneBit() uint32 { + // The value can only be one if the single lowest significant bit is set in + // the first word and no other bits are set in any of the other words. + // This is a constant time implementation. + bits := (f.n[0] ^ 1) | f.n[1] | f.n[2] | f.n[3] | f.n[4] | f.n[5] | + f.n[6] | f.n[7] | f.n[8] | f.n[9] + + return constantTimeEq(bits, 0) +} + +// IsOne returns whether or not the field value is equal to one in constant +// time. +// +// Preconditions: +// - The field value MUST be normalized +func (f *FieldVal) IsOne() bool { + // The value can only be one if the single lowest significant bit is set in + // the first word and no other bits are set in any of the other words. + // This is a constant time implementation. + bits := (f.n[0] ^ 1) | f.n[1] | f.n[2] | f.n[3] | f.n[4] | f.n[5] | + f.n[6] | f.n[7] | f.n[8] | f.n[9] + + return bits == 0 +} + +// IsOddBit returns 1 when the field value is an odd number or 0 otherwise in +// constant time. +// +// Note that a bool is not used here because it is not possible in Go to convert +// from a bool to numeric value in constant time and many constant-time +// operations require a numeric value. See IsOdd for the version that returns a +// bool. +// +// Preconditions: +// - The field value MUST be normalized +func (f *FieldVal) IsOddBit() uint32 { + // Only odd numbers have the bottom bit set. + return f.n[0] & 1 +} + +// IsOdd returns whether or not the field value is an odd number in constant +// time. +// +// Preconditions: +// - The field value MUST be normalized +func (f *FieldVal) IsOdd() bool { + // Only odd numbers have the bottom bit set. + return f.n[0]&1 == 1 +} + +// Equals returns whether or not the two field values are the same in constant +// time. +// +// Preconditions: +// - Both field values being compared MUST be normalized +func (f *FieldVal) Equals(val *FieldVal) bool { + // Xor only sets bits when they are different, so the two field values + // can only be the same if no bits are set after xoring each word. + // This is a constant time implementation. + bits := (f.n[0] ^ val.n[0]) | (f.n[1] ^ val.n[1]) | (f.n[2] ^ val.n[2]) | + (f.n[3] ^ val.n[3]) | (f.n[4] ^ val.n[4]) | (f.n[5] ^ val.n[5]) | + (f.n[6] ^ val.n[6]) | (f.n[7] ^ val.n[7]) | (f.n[8] ^ val.n[8]) | + (f.n[9] ^ val.n[9]) + + return bits == 0 +} + +// NegateVal negates the passed value and stores the result in f in constant +// time. The caller must provide the magnitude of the passed value for a +// correct result. +// +// The field value is returned to support chaining. This enables syntax like: +// f.NegateVal(f2).AddInt(1) so that f = -f2 + 1. +// +// Preconditions: +// - The max magnitude MUST be 63 +// Output Normalized: No +// Output Max Magnitude: Input magnitude + 1 +func (f *FieldVal) NegateVal(val *FieldVal, magnitude uint32) *FieldVal { + // Negation in the field is just the prime minus the value. However, + // in order to allow negation against a field value without having to + // normalize/reduce it first, multiply by the magnitude (that is how + // "far" away it is from the normalized value) to adjust. Also, since + // negating a value pushes it one more order of magnitude away from the + // normalized range, add 1 to compensate. + // + // For some intuition here, imagine you're performing mod 12 arithmetic + // (picture a clock) and you are negating the number 7. So you start at + // 12 (which is of course 0 under mod 12) and count backwards (left on + // the clock) 7 times to arrive at 5. Notice this is just 12-7 = 5. + // Now, assume you're starting with 19, which is a number that is + // already larger than the modulus and congruent to 7 (mod 12). When a + // value is already in the desired range, its magnitude is 1. Since 19 + // is an additional "step", its magnitude (mod 12) is 2. Since any + // multiple of the modulus is congruent to zero (mod m), the answer can + // be shortcut by simply multiplying the magnitude by the modulus and + // subtracting. Keeping with the example, this would be (2*12)-19 = 5. + f.n[0] = (magnitude+1)*fieldPrimeWordZero - val.n[0] + f.n[1] = (magnitude+1)*fieldPrimeWordOne - val.n[1] + f.n[2] = (magnitude+1)*fieldBaseMask - val.n[2] + f.n[3] = (magnitude+1)*fieldBaseMask - val.n[3] + f.n[4] = (magnitude+1)*fieldBaseMask - val.n[4] + f.n[5] = (magnitude+1)*fieldBaseMask - val.n[5] + f.n[6] = (magnitude+1)*fieldBaseMask - val.n[6] + f.n[7] = (magnitude+1)*fieldBaseMask - val.n[7] + f.n[8] = (magnitude+1)*fieldBaseMask - val.n[8] + f.n[9] = (magnitude+1)*fieldMSBMask - val.n[9] + + return f +} + +// Negate negates the field value in constant time. The existing field value is +// modified. The caller must provide the magnitude of the field value for a +// correct result. +// +// The field value is returned to support chaining. This enables syntax like: +// f.Negate().AddInt(1) so that f = -f + 1. +// +// Preconditions: +// - The max magnitude MUST be 63 +// Output Normalized: No +// Output Max Magnitude: Input magnitude + 1 +func (f *FieldVal) Negate(magnitude uint32) *FieldVal { + return f.NegateVal(f, magnitude) +} + +// AddInt adds the passed integer to the existing field value and stores the +// result in f in constant time. This is a convenience function since it is +// fairly common to perform some arithmetic with small native integers. +// +// The field value is returned to support chaining. This enables syntax like: +// f.AddInt(1).Add(f2) so that f = f + 1 + f2. +// +// Preconditions: +// - The field value MUST have a max magnitude of 63 +// Output Normalized: No +// Output Max Magnitude: Existing field magnitude + 1 +func (f *FieldVal) AddInt(ui uint16) *FieldVal { + // Since the field representation intentionally provides overflow bits, + // it's ok to use carryless addition as the carry bit is safely part of + // the word and will be normalized out. + f.n[0] += uint32(ui) + + return f +} + +// Add adds the passed value to the existing field value and stores the result +// in f in constant time. +// +// The field value is returned to support chaining. This enables syntax like: +// f.Add(f2).AddInt(1) so that f = f + f2 + 1. +// +// Preconditions: +// - The sum of the magnitudes of the two field values MUST be a max of 64 +// Output Normalized: No +// Output Max Magnitude: Sum of the magnitude of the two individual field values +func (f *FieldVal) Add(val *FieldVal) *FieldVal { + // Since the field representation intentionally provides overflow bits, + // it's ok to use carryless addition as the carry bit is safely part of + // each word and will be normalized out. This could obviously be done + // in a loop, but the unrolled version is faster. + f.n[0] += val.n[0] + f.n[1] += val.n[1] + f.n[2] += val.n[2] + f.n[3] += val.n[3] + f.n[4] += val.n[4] + f.n[5] += val.n[5] + f.n[6] += val.n[6] + f.n[7] += val.n[7] + f.n[8] += val.n[8] + f.n[9] += val.n[9] + + return f +} + +// Add2 adds the passed two field values together and stores the result in f in +// constant time. +// +// The field value is returned to support chaining. This enables syntax like: +// f3.Add2(f, f2).AddInt(1) so that f3 = f + f2 + 1. +// +// Preconditions: +// - The sum of the magnitudes of the two field values MUST be a max of 64 +// Output Normalized: No +// Output Max Magnitude: Sum of the magnitude of the two field values +func (f *FieldVal) Add2(val *FieldVal, val2 *FieldVal) *FieldVal { + // Since the field representation intentionally provides overflow bits, + // it's ok to use carryless addition as the carry bit is safely part of + // each word and will be normalized out. This could obviously be done + // in a loop, but the unrolled version is faster. + f.n[0] = val.n[0] + val2.n[0] + f.n[1] = val.n[1] + val2.n[1] + f.n[2] = val.n[2] + val2.n[2] + f.n[3] = val.n[3] + val2.n[3] + f.n[4] = val.n[4] + val2.n[4] + f.n[5] = val.n[5] + val2.n[5] + f.n[6] = val.n[6] + val2.n[6] + f.n[7] = val.n[7] + val2.n[7] + f.n[8] = val.n[8] + val2.n[8] + f.n[9] = val.n[9] + val2.n[9] + + return f +} + +// MulInt multiplies the field value by the passed int and stores the result in +// f in constant time. Note that this function can overflow if multiplying the +// value by any of the individual words exceeds a max uint32. Therefore it is +// important that the caller ensures no overflows will occur before using this +// function. +// +// The field value is returned to support chaining. This enables syntax like: +// f.MulInt(2).Add(f2) so that f = 2 * f + f2. +// +// Preconditions: +// - The field value magnitude multiplied by given val MUST be a max of 64 +// Output Normalized: No +// Output Max Magnitude: Existing field magnitude times the provided integer val +func (f *FieldVal) MulInt(val uint8) *FieldVal { + // Since each word of the field representation can hold up to + // 32 - fieldBase extra bits which will be normalized out, it's safe + // to multiply each word without using a larger type or carry + // propagation so long as the values won't overflow a uint32. This + // could obviously be done in a loop, but the unrolled version is + // faster. + ui := uint32(val) + f.n[0] *= ui + f.n[1] *= ui + f.n[2] *= ui + f.n[3] *= ui + f.n[4] *= ui + f.n[5] *= ui + f.n[6] *= ui + f.n[7] *= ui + f.n[8] *= ui + f.n[9] *= ui + + return f +} + +// Mul multiplies the passed value to the existing field value and stores the +// result in f in constant time. Note that this function can overflow if +// multiplying any of the individual words exceeds a max uint32. In practice, +// this means the magnitude of either value involved in the multiplication must +// be a max of 8. +// +// The field value is returned to support chaining. This enables syntax like: +// f.Mul(f2).AddInt(1) so that f = (f * f2) + 1. +// +// Preconditions: +// - Both field values MUST have a max magnitude of 8 +// Output Normalized: No +// Output Max Magnitude: 1 +func (f *FieldVal) Mul(val *FieldVal) *FieldVal { + return f.Mul2(f, val) +} + +// Mul2 multiplies the passed two field values together and stores the result +// result in f in constant time. Note that this function can overflow if +// multiplying any of the individual words exceeds a max uint32. In practice, +// this means the magnitude of either value involved in the multiplication must +// be a max of 8. +// +// The field value is returned to support chaining. This enables syntax like: +// f3.Mul2(f, f2).AddInt(1) so that f3 = (f * f2) + 1. +// +// Preconditions: +// - Both input field values MUST have a max magnitude of 8 +// Output Normalized: No +// Output Max Magnitude: 1 +func (f *FieldVal) Mul2(val *FieldVal, val2 *FieldVal) *FieldVal { + // This could be done with a couple of for loops and an array to store + // the intermediate terms, but this unrolled version is significantly + // faster. + + // Terms for 2^(fieldBase*0). + m := uint64(val.n[0]) * uint64(val2.n[0]) + t0 := m & fieldBaseMask + + // Terms for 2^(fieldBase*1). + m = (m >> fieldBase) + + uint64(val.n[0])*uint64(val2.n[1]) + + uint64(val.n[1])*uint64(val2.n[0]) + t1 := m & fieldBaseMask + + // Terms for 2^(fieldBase*2). + m = (m >> fieldBase) + + uint64(val.n[0])*uint64(val2.n[2]) + + uint64(val.n[1])*uint64(val2.n[1]) + + uint64(val.n[2])*uint64(val2.n[0]) + t2 := m & fieldBaseMask + + // Terms for 2^(fieldBase*3). + m = (m >> fieldBase) + + uint64(val.n[0])*uint64(val2.n[3]) + + uint64(val.n[1])*uint64(val2.n[2]) + + uint64(val.n[2])*uint64(val2.n[1]) + + uint64(val.n[3])*uint64(val2.n[0]) + t3 := m & fieldBaseMask + + // Terms for 2^(fieldBase*4). + m = (m >> fieldBase) + + uint64(val.n[0])*uint64(val2.n[4]) + + uint64(val.n[1])*uint64(val2.n[3]) + + uint64(val.n[2])*uint64(val2.n[2]) + + uint64(val.n[3])*uint64(val2.n[1]) + + uint64(val.n[4])*uint64(val2.n[0]) + t4 := m & fieldBaseMask + + // Terms for 2^(fieldBase*5). + m = (m >> fieldBase) + + uint64(val.n[0])*uint64(val2.n[5]) + + uint64(val.n[1])*uint64(val2.n[4]) + + uint64(val.n[2])*uint64(val2.n[3]) + + uint64(val.n[3])*uint64(val2.n[2]) + + uint64(val.n[4])*uint64(val2.n[1]) + + uint64(val.n[5])*uint64(val2.n[0]) + t5 := m & fieldBaseMask + + // Terms for 2^(fieldBase*6). + m = (m >> fieldBase) + + uint64(val.n[0])*uint64(val2.n[6]) + + uint64(val.n[1])*uint64(val2.n[5]) + + uint64(val.n[2])*uint64(val2.n[4]) + + uint64(val.n[3])*uint64(val2.n[3]) + + uint64(val.n[4])*uint64(val2.n[2]) + + uint64(val.n[5])*uint64(val2.n[1]) + + uint64(val.n[6])*uint64(val2.n[0]) + t6 := m & fieldBaseMask + + // Terms for 2^(fieldBase*7). + m = (m >> fieldBase) + + uint64(val.n[0])*uint64(val2.n[7]) + + uint64(val.n[1])*uint64(val2.n[6]) + + uint64(val.n[2])*uint64(val2.n[5]) + + uint64(val.n[3])*uint64(val2.n[4]) + + uint64(val.n[4])*uint64(val2.n[3]) + + uint64(val.n[5])*uint64(val2.n[2]) + + uint64(val.n[6])*uint64(val2.n[1]) + + uint64(val.n[7])*uint64(val2.n[0]) + t7 := m & fieldBaseMask + + // Terms for 2^(fieldBase*8). + m = (m >> fieldBase) + + uint64(val.n[0])*uint64(val2.n[8]) + + uint64(val.n[1])*uint64(val2.n[7]) + + uint64(val.n[2])*uint64(val2.n[6]) + + uint64(val.n[3])*uint64(val2.n[5]) + + uint64(val.n[4])*uint64(val2.n[4]) + + uint64(val.n[5])*uint64(val2.n[3]) + + uint64(val.n[6])*uint64(val2.n[2]) + + uint64(val.n[7])*uint64(val2.n[1]) + + uint64(val.n[8])*uint64(val2.n[0]) + t8 := m & fieldBaseMask + + // Terms for 2^(fieldBase*9). + m = (m >> fieldBase) + + uint64(val.n[0])*uint64(val2.n[9]) + + uint64(val.n[1])*uint64(val2.n[8]) + + uint64(val.n[2])*uint64(val2.n[7]) + + uint64(val.n[3])*uint64(val2.n[6]) + + uint64(val.n[4])*uint64(val2.n[5]) + + uint64(val.n[5])*uint64(val2.n[4]) + + uint64(val.n[6])*uint64(val2.n[3]) + + uint64(val.n[7])*uint64(val2.n[2]) + + uint64(val.n[8])*uint64(val2.n[1]) + + uint64(val.n[9])*uint64(val2.n[0]) + t9 := m & fieldBaseMask + + // Terms for 2^(fieldBase*10). + m = (m >> fieldBase) + + uint64(val.n[1])*uint64(val2.n[9]) + + uint64(val.n[2])*uint64(val2.n[8]) + + uint64(val.n[3])*uint64(val2.n[7]) + + uint64(val.n[4])*uint64(val2.n[6]) + + uint64(val.n[5])*uint64(val2.n[5]) + + uint64(val.n[6])*uint64(val2.n[4]) + + uint64(val.n[7])*uint64(val2.n[3]) + + uint64(val.n[8])*uint64(val2.n[2]) + + uint64(val.n[9])*uint64(val2.n[1]) + t10 := m & fieldBaseMask + + // Terms for 2^(fieldBase*11). + m = (m >> fieldBase) + + uint64(val.n[2])*uint64(val2.n[9]) + + uint64(val.n[3])*uint64(val2.n[8]) + + uint64(val.n[4])*uint64(val2.n[7]) + + uint64(val.n[5])*uint64(val2.n[6]) + + uint64(val.n[6])*uint64(val2.n[5]) + + uint64(val.n[7])*uint64(val2.n[4]) + + uint64(val.n[8])*uint64(val2.n[3]) + + uint64(val.n[9])*uint64(val2.n[2]) + t11 := m & fieldBaseMask + + // Terms for 2^(fieldBase*12). + m = (m >> fieldBase) + + uint64(val.n[3])*uint64(val2.n[9]) + + uint64(val.n[4])*uint64(val2.n[8]) + + uint64(val.n[5])*uint64(val2.n[7]) + + uint64(val.n[6])*uint64(val2.n[6]) + + uint64(val.n[7])*uint64(val2.n[5]) + + uint64(val.n[8])*uint64(val2.n[4]) + + uint64(val.n[9])*uint64(val2.n[3]) + t12 := m & fieldBaseMask + + // Terms for 2^(fieldBase*13). + m = (m >> fieldBase) + + uint64(val.n[4])*uint64(val2.n[9]) + + uint64(val.n[5])*uint64(val2.n[8]) + + uint64(val.n[6])*uint64(val2.n[7]) + + uint64(val.n[7])*uint64(val2.n[6]) + + uint64(val.n[8])*uint64(val2.n[5]) + + uint64(val.n[9])*uint64(val2.n[4]) + t13 := m & fieldBaseMask + + // Terms for 2^(fieldBase*14). + m = (m >> fieldBase) + + uint64(val.n[5])*uint64(val2.n[9]) + + uint64(val.n[6])*uint64(val2.n[8]) + + uint64(val.n[7])*uint64(val2.n[7]) + + uint64(val.n[8])*uint64(val2.n[6]) + + uint64(val.n[9])*uint64(val2.n[5]) + t14 := m & fieldBaseMask + + // Terms for 2^(fieldBase*15). + m = (m >> fieldBase) + + uint64(val.n[6])*uint64(val2.n[9]) + + uint64(val.n[7])*uint64(val2.n[8]) + + uint64(val.n[8])*uint64(val2.n[7]) + + uint64(val.n[9])*uint64(val2.n[6]) + t15 := m & fieldBaseMask + + // Terms for 2^(fieldBase*16). + m = (m >> fieldBase) + + uint64(val.n[7])*uint64(val2.n[9]) + + uint64(val.n[8])*uint64(val2.n[8]) + + uint64(val.n[9])*uint64(val2.n[7]) + t16 := m & fieldBaseMask + + // Terms for 2^(fieldBase*17). + m = (m >> fieldBase) + + uint64(val.n[8])*uint64(val2.n[9]) + + uint64(val.n[9])*uint64(val2.n[8]) + t17 := m & fieldBaseMask + + // Terms for 2^(fieldBase*18). + m = (m >> fieldBase) + uint64(val.n[9])*uint64(val2.n[9]) + t18 := m & fieldBaseMask + + // What's left is for 2^(fieldBase*19). + t19 := m >> fieldBase + + // At this point, all of the terms are grouped into their respective + // base. + // + // Per [HAC] section 14.3.4: Reduction method of moduli of special form, + // when the modulus is of the special form m = b^t - c, highly efficient + // reduction can be achieved per the provided algorithm. + // + // The secp256k1 prime is equivalent to 2^256 - 4294968273, so it fits + // this criteria. + // + // 4294968273 in field representation (base 2^26) is: + // n[0] = 977 + // n[1] = 64 + // That is to say (2^26 * 64) + 977 = 4294968273 + // + // Since each word is in base 26, the upper terms (t10 and up) start + // at 260 bits (versus the final desired range of 256 bits), so the + // field representation of 'c' from above needs to be adjusted for the + // extra 4 bits by multiplying it by 2^4 = 16. 4294968273 * 16 = + // 68719492368. Thus, the adjusted field representation of 'c' is: + // n[0] = 977 * 16 = 15632 + // n[1] = 64 * 16 = 1024 + // That is to say (2^26 * 1024) + 15632 = 68719492368 + // + // To reduce the final term, t19, the entire 'c' value is needed instead + // of only n[0] because there are no more terms left to handle n[1]. + // This means there might be some magnitude left in the upper bits that + // is handled below. + m = t0 + t10*15632 + t0 = m & fieldBaseMask + m = (m >> fieldBase) + t1 + t10*1024 + t11*15632 + t1 = m & fieldBaseMask + m = (m >> fieldBase) + t2 + t11*1024 + t12*15632 + t2 = m & fieldBaseMask + m = (m >> fieldBase) + t3 + t12*1024 + t13*15632 + t3 = m & fieldBaseMask + m = (m >> fieldBase) + t4 + t13*1024 + t14*15632 + t4 = m & fieldBaseMask + m = (m >> fieldBase) + t5 + t14*1024 + t15*15632 + t5 = m & fieldBaseMask + m = (m >> fieldBase) + t6 + t15*1024 + t16*15632 + t6 = m & fieldBaseMask + m = (m >> fieldBase) + t7 + t16*1024 + t17*15632 + t7 = m & fieldBaseMask + m = (m >> fieldBase) + t8 + t17*1024 + t18*15632 + t8 = m & fieldBaseMask + m = (m >> fieldBase) + t9 + t18*1024 + t19*68719492368 + t9 = m & fieldMSBMask + m = m >> fieldMSBBits + + // At this point, if the magnitude is greater than 0, the overall value + // is greater than the max possible 256-bit value. In particular, it is + // "how many times larger" than the max value it is. + // + // The algorithm presented in [HAC] section 14.3.4 repeats until the + // quotient is zero. However, due to the above, we already know at + // least how many times we would need to repeat as it's the value + // currently in m. Thus we can simply multiply the magnitude by the + // field representation of the prime and do a single iteration. Notice + // that nothing will be changed when the magnitude is zero, so we could + // skip this in that case, however always running regardless allows it + // to run in constant time. The final result will be in the range + // 0 <= result <= prime + (2^64 - c), so it is guaranteed to have a + // magnitude of 1, but it is denormalized. + d := t0 + m*977 + f.n[0] = uint32(d & fieldBaseMask) + d = (d >> fieldBase) + t1 + m*64 + f.n[1] = uint32(d & fieldBaseMask) + f.n[2] = uint32((d >> fieldBase) + t2) + f.n[3] = uint32(t3) + f.n[4] = uint32(t4) + f.n[5] = uint32(t5) + f.n[6] = uint32(t6) + f.n[7] = uint32(t7) + f.n[8] = uint32(t8) + f.n[9] = uint32(t9) + + return f +} + +// SquareRootVal either calculates the square root of the passed value when it +// exists or the square root of the negation of the value when it does not exist +// and stores the result in f in constant time. The return flag is true when +// the calculated square root is for the passed value itself and false when it +// is for its negation. +// +// Note that this function can overflow if multiplying any of the individual +// words exceeds a max uint32. In practice, this means the magnitude of the +// field must be a max of 8 to prevent overflow. The magnitude of the result +// will be 1. +// +// Preconditions: +// - The input field value MUST have a max magnitude of 8 +// Output Normalized: No +// Output Max Magnitude: 1 +func (f *FieldVal) SquareRootVal(val *FieldVal) bool { + // This uses the Tonelli-Shanks method for calculating the square root of + // the value when it exists. The key principles of the method follow. + // + // Fermat's little theorem states that for a nonzero number 'a' and prime + // 'p', a^(p-1) ≡ 1 (mod p). + // + // Further, Euler's criterion states that an integer 'a' has a square root + // (aka is a quadratic residue) modulo a prime if a^((p-1)/2) ≡ 1 (mod p) + // and, conversely, when it does NOT have a square root (aka 'a' is a + // non-residue) a^((p-1)/2) ≡ -1 (mod p). + // + // This can be seen by considering that Fermat's little theorem can be + // written as (a^((p-1)/2) - 1)(a^((p-1)/2) + 1) ≡ 0 (mod p). Therefore, + // one of the two factors must be 0. Then, when a ≡ x^2 (aka 'a' is a + // quadratic residue), (x^2)^((p-1)/2) ≡ x^(p-1) ≡ 1 (mod p) which implies + // the first factor must be zero. Finally, per Lagrange's theorem, the + // non-residues are the only remaining possible solutions and thus must make + // the second factor zero to satisfy Fermat's little theorem implying that + // a^((p-1)/2) ≡ -1 (mod p) for that case. + // + // The Tonelli-Shanks method uses these facts along with factoring out + // powers of two to solve a congruence that results in either the solution + // when the square root exists or the square root of the negation of the + // value when it does not. In the case of primes that are ≡ 3 (mod 4), the + // possible solutions are r = ±a^((p+1)/4) (mod p). Therefore, either r^2 ≡ + // a (mod p) is true in which case ±r are the two solutions, or r^2 ≡ -a + // (mod p) in which case 'a' is a non-residue and there are no solutions. + // + // The secp256k1 prime is ≡ 3 (mod 4), so this result applies. + // + // In other words, calculate a^((p+1)/4) and then square it and check it + // against the original value to determine if it is actually the square + // root. + // + // In order to efficiently compute a^((p+1)/4), (p+1)/4 needs to be split + // into a sequence of squares and multiplications that minimizes the number + // of multiplications needed (since they are more costly than squarings). + // + // The secp256k1 prime + 1 / 4 is 2^254 - 2^30 - 244. In binary, that is: + // + // 00111111 11111111 11111111 11111111 + // 11111111 11111111 11111111 11111111 + // 11111111 11111111 11111111 11111111 + // 11111111 11111111 11111111 11111111 + // 11111111 11111111 11111111 11111111 + // 11111111 11111111 11111111 11111111 + // 11111111 11111111 11111111 11111111 + // 10111111 11111111 11111111 00001100 + // + // Notice that can be broken up into three windows of consecutive 1s (in + // order of least to most signifcant) as: + // + // 6-bit window with two bits set (bits 4, 5, 6, 7 unset) + // 23-bit window with 22 bits set (bit 30 unset) + // 223-bit window with all 223 bits set + // + // Thus, the groups of 1 bits in each window forms the set: + // S = {2, 22, 223}. + // + // The strategy is to calculate a^(2^n - 1) for each grouping via an + // addition chain with a sliding window. + // + // The addition chain used is (credits to Peter Dettman): + // (0,0),(1,0),(2,2),(3,2),(4,1),(5,5),(6,6),(7,7),(8,8),(9,7),(10,2) + // => 2^1 2^[2] 2^3 2^6 2^9 2^11 2^[22] 2^44 2^88 2^176 2^220 2^[223] + // + // This has a cost of 254 field squarings and 13 field multiplications. + var a, a2, a3, a6, a9, a11, a22, a44, a88, a176, a220, a223 FieldVal + a.Set(val) + a2.SquareVal(&a).Mul(&a) // a2 = a^(2^2 - 1) + a3.SquareVal(&a2).Mul(&a) // a3 = a^(2^3 - 1) + a6.SquareVal(&a3).Square().Square() // a6 = a^(2^6 - 2^3) + a6.Mul(&a3) // a6 = a^(2^6 - 1) + a9.SquareVal(&a6).Square().Square() // a9 = a^(2^9 - 2^3) + a9.Mul(&a3) // a9 = a^(2^9 - 1) + a11.SquareVal(&a9).Square() // a11 = a^(2^11 - 2^2) + a11.Mul(&a2) // a11 = a^(2^11 - 1) + a22.SquareVal(&a11).Square().Square().Square().Square() // a22 = a^(2^16 - 2^5) + a22.Square().Square().Square().Square().Square() // a22 = a^(2^21 - 2^10) + a22.Square() // a22 = a^(2^22 - 2^11) + a22.Mul(&a11) // a22 = a^(2^22 - 1) + a44.SquareVal(&a22).Square().Square().Square().Square() // a44 = a^(2^27 - 2^5) + a44.Square().Square().Square().Square().Square() // a44 = a^(2^32 - 2^10) + a44.Square().Square().Square().Square().Square() // a44 = a^(2^37 - 2^15) + a44.Square().Square().Square().Square().Square() // a44 = a^(2^42 - 2^20) + a44.Square().Square() // a44 = a^(2^44 - 2^22) + a44.Mul(&a22) // a44 = a^(2^44 - 1) + a88.SquareVal(&a44).Square().Square().Square().Square() // a88 = a^(2^49 - 2^5) + a88.Square().Square().Square().Square().Square() // a88 = a^(2^54 - 2^10) + a88.Square().Square().Square().Square().Square() // a88 = a^(2^59 - 2^15) + a88.Square().Square().Square().Square().Square() // a88 = a^(2^64 - 2^20) + a88.Square().Square().Square().Square().Square() // a88 = a^(2^69 - 2^25) + a88.Square().Square().Square().Square().Square() // a88 = a^(2^74 - 2^30) + a88.Square().Square().Square().Square().Square() // a88 = a^(2^79 - 2^35) + a88.Square().Square().Square().Square().Square() // a88 = a^(2^84 - 2^40) + a88.Square().Square().Square().Square() // a88 = a^(2^88 - 2^44) + a88.Mul(&a44) // a88 = a^(2^88 - 1) + a176.SquareVal(&a88).Square().Square().Square().Square() // a176 = a^(2^93 - 2^5) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^98 - 2^10) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^103 - 2^15) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^108 - 2^20) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^113 - 2^25) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^118 - 2^30) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^123 - 2^35) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^128 - 2^40) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^133 - 2^45) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^138 - 2^50) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^143 - 2^55) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^148 - 2^60) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^153 - 2^65) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^158 - 2^70) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^163 - 2^75) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^168 - 2^80) + a176.Square().Square().Square().Square().Square() // a176 = a^(2^173 - 2^85) + a176.Square().Square().Square() // a176 = a^(2^176 - 2^88) + a176.Mul(&a88) // a176 = a^(2^176 - 1) + a220.SquareVal(&a176).Square().Square().Square().Square() // a220 = a^(2^181 - 2^5) + a220.Square().Square().Square().Square().Square() // a220 = a^(2^186 - 2^10) + a220.Square().Square().Square().Square().Square() // a220 = a^(2^191 - 2^15) + a220.Square().Square().Square().Square().Square() // a220 = a^(2^196 - 2^20) + a220.Square().Square().Square().Square().Square() // a220 = a^(2^201 - 2^25) + a220.Square().Square().Square().Square().Square() // a220 = a^(2^206 - 2^30) + a220.Square().Square().Square().Square().Square() // a220 = a^(2^211 - 2^35) + a220.Square().Square().Square().Square().Square() // a220 = a^(2^216 - 2^40) + a220.Square().Square().Square().Square() // a220 = a^(2^220 - 2^44) + a220.Mul(&a44) // a220 = a^(2^220 - 1) + a223.SquareVal(&a220).Square().Square() // a223 = a^(2^223 - 2^3) + a223.Mul(&a3) // a223 = a^(2^223 - 1) + + f.SquareVal(&a223).Square().Square().Square().Square() // f = a^(2^228 - 2^5) + f.Square().Square().Square().Square().Square() // f = a^(2^233 - 2^10) + f.Square().Square().Square().Square().Square() // f = a^(2^238 - 2^15) + f.Square().Square().Square().Square().Square() // f = a^(2^243 - 2^20) + f.Square().Square().Square() // f = a^(2^246 - 2^23) + f.Mul(&a22) // f = a^(2^246 - 2^22 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^251 - 2^27 - 2^5) + f.Square() // f = a^(2^252 - 2^28 - 2^6) + f.Mul(&a2) // f = a^(2^252 - 2^28 - 2^6 - 2^1 - 1) + f.Square().Square() // f = a^(2^254 - 2^30 - 2^8 - 2^3 - 2^2) + // // = a^(2^254 - 2^30 - 244) + // // = a^((p+1)/4) + + // Ensure the calculated result is actually the square root by squaring it + // and checking against the original value. + var sqr FieldVal + return sqr.SquareVal(f).Normalize().Equals(val.Normalize()) +} + +// Square squares the field value in constant time. The existing field value is +// modified. Note that this function can overflow if multiplying any of the +// individual words exceeds a max uint32. In practice, this means the magnitude +// of the field must be a max of 8 to prevent overflow. +// +// The field value is returned to support chaining. This enables syntax like: +// f.Square().Mul(f2) so that f = f^2 * f2. +// +// Preconditions: +// - The field value MUST have a max magnitude of 8 +// Output Normalized: No +// Output Max Magnitude: 1 +func (f *FieldVal) Square() *FieldVal { + return f.SquareVal(f) +} + +// SquareVal squares the passed value and stores the result in f in constant +// time. Note that this function can overflow if multiplying any of the +// individual words exceeds a max uint32. In practice, this means the magnitude +// of the field being squared must be a max of 8 to prevent overflow. +// +// The field value is returned to support chaining. This enables syntax like: +// f3.SquareVal(f).Mul(f) so that f3 = f^2 * f = f^3. +// +// Preconditions: +// - The input field value MUST have a max magnitude of 8 +// Output Normalized: No +// Output Max Magnitude: 1 +func (f *FieldVal) SquareVal(val *FieldVal) *FieldVal { + // This could be done with a couple of for loops and an array to store + // the intermediate terms, but this unrolled version is significantly + // faster. + + // Terms for 2^(fieldBase*0). + m := uint64(val.n[0]) * uint64(val.n[0]) + t0 := m & fieldBaseMask + + // Terms for 2^(fieldBase*1). + m = (m >> fieldBase) + 2*uint64(val.n[0])*uint64(val.n[1]) + t1 := m & fieldBaseMask + + // Terms for 2^(fieldBase*2). + m = (m >> fieldBase) + + 2*uint64(val.n[0])*uint64(val.n[2]) + + uint64(val.n[1])*uint64(val.n[1]) + t2 := m & fieldBaseMask + + // Terms for 2^(fieldBase*3). + m = (m >> fieldBase) + + 2*uint64(val.n[0])*uint64(val.n[3]) + + 2*uint64(val.n[1])*uint64(val.n[2]) + t3 := m & fieldBaseMask + + // Terms for 2^(fieldBase*4). + m = (m >> fieldBase) + + 2*uint64(val.n[0])*uint64(val.n[4]) + + 2*uint64(val.n[1])*uint64(val.n[3]) + + uint64(val.n[2])*uint64(val.n[2]) + t4 := m & fieldBaseMask + + // Terms for 2^(fieldBase*5). + m = (m >> fieldBase) + + 2*uint64(val.n[0])*uint64(val.n[5]) + + 2*uint64(val.n[1])*uint64(val.n[4]) + + 2*uint64(val.n[2])*uint64(val.n[3]) + t5 := m & fieldBaseMask + + // Terms for 2^(fieldBase*6). + m = (m >> fieldBase) + + 2*uint64(val.n[0])*uint64(val.n[6]) + + 2*uint64(val.n[1])*uint64(val.n[5]) + + 2*uint64(val.n[2])*uint64(val.n[4]) + + uint64(val.n[3])*uint64(val.n[3]) + t6 := m & fieldBaseMask + + // Terms for 2^(fieldBase*7). + m = (m >> fieldBase) + + 2*uint64(val.n[0])*uint64(val.n[7]) + + 2*uint64(val.n[1])*uint64(val.n[6]) + + 2*uint64(val.n[2])*uint64(val.n[5]) + + 2*uint64(val.n[3])*uint64(val.n[4]) + t7 := m & fieldBaseMask + + // Terms for 2^(fieldBase*8). + m = (m >> fieldBase) + + 2*uint64(val.n[0])*uint64(val.n[8]) + + 2*uint64(val.n[1])*uint64(val.n[7]) + + 2*uint64(val.n[2])*uint64(val.n[6]) + + 2*uint64(val.n[3])*uint64(val.n[5]) + + uint64(val.n[4])*uint64(val.n[4]) + t8 := m & fieldBaseMask + + // Terms for 2^(fieldBase*9). + m = (m >> fieldBase) + + 2*uint64(val.n[0])*uint64(val.n[9]) + + 2*uint64(val.n[1])*uint64(val.n[8]) + + 2*uint64(val.n[2])*uint64(val.n[7]) + + 2*uint64(val.n[3])*uint64(val.n[6]) + + 2*uint64(val.n[4])*uint64(val.n[5]) + t9 := m & fieldBaseMask + + // Terms for 2^(fieldBase*10). + m = (m >> fieldBase) + + 2*uint64(val.n[1])*uint64(val.n[9]) + + 2*uint64(val.n[2])*uint64(val.n[8]) + + 2*uint64(val.n[3])*uint64(val.n[7]) + + 2*uint64(val.n[4])*uint64(val.n[6]) + + uint64(val.n[5])*uint64(val.n[5]) + t10 := m & fieldBaseMask + + // Terms for 2^(fieldBase*11). + m = (m >> fieldBase) + + 2*uint64(val.n[2])*uint64(val.n[9]) + + 2*uint64(val.n[3])*uint64(val.n[8]) + + 2*uint64(val.n[4])*uint64(val.n[7]) + + 2*uint64(val.n[5])*uint64(val.n[6]) + t11 := m & fieldBaseMask + + // Terms for 2^(fieldBase*12). + m = (m >> fieldBase) + + 2*uint64(val.n[3])*uint64(val.n[9]) + + 2*uint64(val.n[4])*uint64(val.n[8]) + + 2*uint64(val.n[5])*uint64(val.n[7]) + + uint64(val.n[6])*uint64(val.n[6]) + t12 := m & fieldBaseMask + + // Terms for 2^(fieldBase*13). + m = (m >> fieldBase) + + 2*uint64(val.n[4])*uint64(val.n[9]) + + 2*uint64(val.n[5])*uint64(val.n[8]) + + 2*uint64(val.n[6])*uint64(val.n[7]) + t13 := m & fieldBaseMask + + // Terms for 2^(fieldBase*14). + m = (m >> fieldBase) + + 2*uint64(val.n[5])*uint64(val.n[9]) + + 2*uint64(val.n[6])*uint64(val.n[8]) + + uint64(val.n[7])*uint64(val.n[7]) + t14 := m & fieldBaseMask + + // Terms for 2^(fieldBase*15). + m = (m >> fieldBase) + + 2*uint64(val.n[6])*uint64(val.n[9]) + + 2*uint64(val.n[7])*uint64(val.n[8]) + t15 := m & fieldBaseMask + + // Terms for 2^(fieldBase*16). + m = (m >> fieldBase) + + 2*uint64(val.n[7])*uint64(val.n[9]) + + uint64(val.n[8])*uint64(val.n[8]) + t16 := m & fieldBaseMask + + // Terms for 2^(fieldBase*17). + m = (m >> fieldBase) + 2*uint64(val.n[8])*uint64(val.n[9]) + t17 := m & fieldBaseMask + + // Terms for 2^(fieldBase*18). + m = (m >> fieldBase) + uint64(val.n[9])*uint64(val.n[9]) + t18 := m & fieldBaseMask + + // What's left is for 2^(fieldBase*19). + t19 := m >> fieldBase + + // At this point, all of the terms are grouped into their respective + // base. + // + // Per [HAC] section 14.3.4: Reduction method of moduli of special form, + // when the modulus is of the special form m = b^t - c, highly efficient + // reduction can be achieved per the provided algorithm. + // + // The secp256k1 prime is equivalent to 2^256 - 4294968273, so it fits + // this criteria. + // + // 4294968273 in field representation (base 2^26) is: + // n[0] = 977 + // n[1] = 64 + // That is to say (2^26 * 64) + 977 = 4294968273 + // + // Since each word is in base 26, the upper terms (t10 and up) start + // at 260 bits (versus the final desired range of 256 bits), so the + // field representation of 'c' from above needs to be adjusted for the + // extra 4 bits by multiplying it by 2^4 = 16. 4294968273 * 16 = + // 68719492368. Thus, the adjusted field representation of 'c' is: + // n[0] = 977 * 16 = 15632 + // n[1] = 64 * 16 = 1024 + // That is to say (2^26 * 1024) + 15632 = 68719492368 + // + // To reduce the final term, t19, the entire 'c' value is needed instead + // of only n[0] because there are no more terms left to handle n[1]. + // This means there might be some magnitude left in the upper bits that + // is handled below. + m = t0 + t10*15632 + t0 = m & fieldBaseMask + m = (m >> fieldBase) + t1 + t10*1024 + t11*15632 + t1 = m & fieldBaseMask + m = (m >> fieldBase) + t2 + t11*1024 + t12*15632 + t2 = m & fieldBaseMask + m = (m >> fieldBase) + t3 + t12*1024 + t13*15632 + t3 = m & fieldBaseMask + m = (m >> fieldBase) + t4 + t13*1024 + t14*15632 + t4 = m & fieldBaseMask + m = (m >> fieldBase) + t5 + t14*1024 + t15*15632 + t5 = m & fieldBaseMask + m = (m >> fieldBase) + t6 + t15*1024 + t16*15632 + t6 = m & fieldBaseMask + m = (m >> fieldBase) + t7 + t16*1024 + t17*15632 + t7 = m & fieldBaseMask + m = (m >> fieldBase) + t8 + t17*1024 + t18*15632 + t8 = m & fieldBaseMask + m = (m >> fieldBase) + t9 + t18*1024 + t19*68719492368 + t9 = m & fieldMSBMask + m = m >> fieldMSBBits + + // At this point, if the magnitude is greater than 0, the overall value + // is greater than the max possible 256-bit value. In particular, it is + // "how many times larger" than the max value it is. + // + // The algorithm presented in [HAC] section 14.3.4 repeats until the + // quotient is zero. However, due to the above, we already know at + // least how many times we would need to repeat as it's the value + // currently in m. Thus we can simply multiply the magnitude by the + // field representation of the prime and do a single iteration. Notice + // that nothing will be changed when the magnitude is zero, so we could + // skip this in that case, however always running regardless allows it + // to run in constant time. The final result will be in the range + // 0 <= result <= prime + (2^64 - c), so it is guaranteed to have a + // magnitude of 1, but it is denormalized. + n := t0 + m*977 + f.n[0] = uint32(n & fieldBaseMask) + n = (n >> fieldBase) + t1 + m*64 + f.n[1] = uint32(n & fieldBaseMask) + f.n[2] = uint32((n >> fieldBase) + t2) + f.n[3] = uint32(t3) + f.n[4] = uint32(t4) + f.n[5] = uint32(t5) + f.n[6] = uint32(t6) + f.n[7] = uint32(t7) + f.n[8] = uint32(t8) + f.n[9] = uint32(t9) + + return f +} + +// Inverse finds the modular multiplicative inverse of the field value in +// constant time. The existing field value is modified. +// +// The field value is returned to support chaining. This enables syntax like: +// f.Inverse().Mul(f2) so that f = f^-1 * f2. +// +// Preconditions: +// - The field value MUST have a max magnitude of 8 +// Output Normalized: No +// Output Max Magnitude: 1 +func (f *FieldVal) Inverse() *FieldVal { + // Fermat's little theorem states that for a nonzero number a and prime + // prime p, a^(p-1) = 1 (mod p). Since the multiplicative inverse is + // a*b = 1 (mod p), it follows that b = a*a^(p-2) = a^(p-1) = 1 (mod p). + // Thus, a^(p-2) is the multiplicative inverse. + // + // In order to efficiently compute a^(p-2), p-2 needs to be split into + // a sequence of squares and multiplications that minimizes the number + // of multiplications needed (since they are more costly than + // squarings). Intermediate results are saved and reused as well. + // + // The secp256k1 prime - 2 is 2^256 - 4294968275. + // + // This has a cost of 258 field squarings and 33 field multiplications. + var a2, a3, a4, a10, a11, a21, a42, a45, a63, a1019, a1023 FieldVal + a2.SquareVal(f) + a3.Mul2(&a2, f) + a4.SquareVal(&a2) + a10.SquareVal(&a4).Mul(&a2) + a11.Mul2(&a10, f) + a21.Mul2(&a10, &a11) + a42.SquareVal(&a21) + a45.Mul2(&a42, &a3) + a63.Mul2(&a42, &a21) + a1019.SquareVal(&a63).Square().Square().Square().Mul(&a11) + a1023.Mul2(&a1019, &a4) + f.Set(&a63) // f = a^(2^6 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^11 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^16 - 1024) + f.Mul(&a1023) // f = a^(2^16 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^21 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^26 - 1024) + f.Mul(&a1023) // f = a^(2^26 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^31 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^36 - 1024) + f.Mul(&a1023) // f = a^(2^36 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^41 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^46 - 1024) + f.Mul(&a1023) // f = a^(2^46 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^51 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^56 - 1024) + f.Mul(&a1023) // f = a^(2^56 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^61 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^66 - 1024) + f.Mul(&a1023) // f = a^(2^66 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^71 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^76 - 1024) + f.Mul(&a1023) // f = a^(2^76 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^81 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^86 - 1024) + f.Mul(&a1023) // f = a^(2^86 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^91 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^96 - 1024) + f.Mul(&a1023) // f = a^(2^96 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^101 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^106 - 1024) + f.Mul(&a1023) // f = a^(2^106 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^111 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^116 - 1024) + f.Mul(&a1023) // f = a^(2^116 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^121 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^126 - 1024) + f.Mul(&a1023) // f = a^(2^126 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^131 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^136 - 1024) + f.Mul(&a1023) // f = a^(2^136 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^141 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^146 - 1024) + f.Mul(&a1023) // f = a^(2^146 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^151 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^156 - 1024) + f.Mul(&a1023) // f = a^(2^156 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^161 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^166 - 1024) + f.Mul(&a1023) // f = a^(2^166 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^171 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^176 - 1024) + f.Mul(&a1023) // f = a^(2^176 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^181 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^186 - 1024) + f.Mul(&a1023) // f = a^(2^186 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^191 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^196 - 1024) + f.Mul(&a1023) // f = a^(2^196 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^201 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^206 - 1024) + f.Mul(&a1023) // f = a^(2^206 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^211 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^216 - 1024) + f.Mul(&a1023) // f = a^(2^216 - 1) + f.Square().Square().Square().Square().Square() // f = a^(2^221 - 32) + f.Square().Square().Square().Square().Square() // f = a^(2^226 - 1024) + f.Mul(&a1019) // f = a^(2^226 - 5) + f.Square().Square().Square().Square().Square() // f = a^(2^231 - 160) + f.Square().Square().Square().Square().Square() // f = a^(2^236 - 5120) + f.Mul(&a1023) // f = a^(2^236 - 4097) + f.Square().Square().Square().Square().Square() // f = a^(2^241 - 131104) + f.Square().Square().Square().Square().Square() // f = a^(2^246 - 4195328) + f.Mul(&a1023) // f = a^(2^246 - 4194305) + f.Square().Square().Square().Square().Square() // f = a^(2^251 - 134217760) + f.Square().Square().Square().Square().Square() // f = a^(2^256 - 4294968320) + return f.Mul(&a45) // f = a^(2^256 - 4294968275) = a^(p-2) +} + +// IsGtOrEqPrimeMinusOrder returns whether or not the field value exceeds the +// group order divided by 2 in constant time. +// +// Preconditions: +// - The field value MUST be normalized +func (f *FieldVal) IsGtOrEqPrimeMinusOrder() bool { + // The secp256k1 prime is equivalent to 2^256 - 4294968273 and the group + // order is 2^256 - 432420386565659656852420866394968145599. Thus, + // the prime minus the group order is: + // 432420386565659656852420866390673177326 + // + // In hex that is: + // 0x00000000 00000000 00000000 00000001 45512319 50b75fc4 402da172 2fc9baee + // + // Converting that to field representation (base 2^26) is: + // + // n[0] = 0x03c9baee + // n[1] = 0x03685c8b + // n[2] = 0x01fc4402 + // n[3] = 0x006542dd + // n[4] = 0x01455123 + // + // This can be verified with the following test code: + // pMinusN := new(big.Int).Sub(curveParams.P, curveParams.N) + // var fv FieldVal + // fv.SetByteSlice(pMinusN.Bytes()) + // t.Logf("%x", fv.n) + // + // Outputs: [3c9baee 3685c8b 1fc4402 6542dd 1455123 0 0 0 0 0] + const ( + pMinusNWordZero = 0x03c9baee + pMinusNWordOne = 0x03685c8b + pMinusNWordTwo = 0x01fc4402 + pMinusNWordThree = 0x006542dd + pMinusNWordFour = 0x01455123 + pMinusNWordFive = 0x00000000 + pMinusNWordSix = 0x00000000 + pMinusNWordSeven = 0x00000000 + pMinusNWordEight = 0x00000000 + pMinusNWordNine = 0x00000000 + ) + + // The intuition here is that the value is greater than field prime minus + // the group order if one of the higher individual words is greater than the + // corresponding word and all higher words in the value are equal. + result := constantTimeGreater(f.n[9], pMinusNWordNine) + highWordsEqual := constantTimeEq(f.n[9], pMinusNWordNine) + result |= highWordsEqual & constantTimeGreater(f.n[8], pMinusNWordEight) + highWordsEqual &= constantTimeEq(f.n[8], pMinusNWordEight) + result |= highWordsEqual & constantTimeGreater(f.n[7], pMinusNWordSeven) + highWordsEqual &= constantTimeEq(f.n[7], pMinusNWordSeven) + result |= highWordsEqual & constantTimeGreater(f.n[6], pMinusNWordSix) + highWordsEqual &= constantTimeEq(f.n[6], pMinusNWordSix) + result |= highWordsEqual & constantTimeGreater(f.n[5], pMinusNWordFive) + highWordsEqual &= constantTimeEq(f.n[5], pMinusNWordFive) + result |= highWordsEqual & constantTimeGreater(f.n[4], pMinusNWordFour) + highWordsEqual &= constantTimeEq(f.n[4], pMinusNWordFour) + result |= highWordsEqual & constantTimeGreater(f.n[3], pMinusNWordThree) + highWordsEqual &= constantTimeEq(f.n[3], pMinusNWordThree) + result |= highWordsEqual & constantTimeGreater(f.n[2], pMinusNWordTwo) + highWordsEqual &= constantTimeEq(f.n[2], pMinusNWordTwo) + result |= highWordsEqual & constantTimeGreater(f.n[1], pMinusNWordOne) + highWordsEqual &= constantTimeEq(f.n[1], pMinusNWordOne) + result |= highWordsEqual & constantTimeGreaterOrEq(f.n[0], pMinusNWordZero) + + return result != 0 +} diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/genstatics.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/genstatics.go new file mode 100644 index 000000000..fa613deb7 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/genstatics.go @@ -0,0 +1,196 @@ +// Copyright (c) 2014-2015 The btcsuite developers +// Copyright (c) 2015-2021 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +// This file is ignored during the regular build due to the following build tag. +// This build tag is set during go generate. +//go:build gensecp256k1 +// +build gensecp256k1 + +package secp256k1 + +// References: +// [GECC]: Guide to Elliptic Curve Cryptography (Hankerson, Menezes, Vanstone) + +import ( + "encoding/binary" + "math/big" +) + +// compressedBytePoints are dummy points used so the code which generates the +// real values can compile. +var compressedBytePoints = "" + +// SerializedBytePoints returns a serialized byte slice which contains all of +// the possible points per 8-bit window. This is used to when generating +// compressedbytepoints.go. +func SerializedBytePoints() []byte { + // Calculate G^(2^i) for i in 0..255. These are used to avoid recomputing + // them for each digit of the 8-bit windows. + doublingPoints := make([]JacobianPoint, curveParams.BitSize) + var q JacobianPoint + bigAffineToJacobian(curveParams.Gx, curveParams.Gy, &q) + for i := 0; i < curveParams.BitSize; i++ { + // Q = 2*Q. + doublingPoints[i] = q + DoubleNonConst(&q, &q) + } + + // Separate the bits into byte-sized windows. + curveByteSize := curveParams.BitSize / 8 + serialized := make([]byte, curveByteSize*256*2*10*4) + offset := 0 + for byteNum := 0; byteNum < curveByteSize; byteNum++ { + // Grab the 8 bits that make up this byte from doubling points. + startingBit := 8 * (curveByteSize - byteNum - 1) + windowPoints := doublingPoints[startingBit : startingBit+8] + + // Compute all points in this window, convert them to affine, and + // serialize them. + for i := 0; i < 256; i++ { + var point JacobianPoint + for bit := 0; bit < 8; bit++ { + if i>>uint(bit)&1 == 1 { + AddNonConst(&point, &windowPoints[bit], &point) + } + } + point.ToAffine() + + for i := 0; i < len(point.X.n); i++ { + binary.LittleEndian.PutUint32(serialized[offset:], point.X.n[i]) + offset += 4 + } + for i := 0; i < len(point.Y.n); i++ { + binary.LittleEndian.PutUint32(serialized[offset:], point.Y.n[i]) + offset += 4 + } + } + } + + return serialized +} + +// sqrt returns the square root of the provided big integer using Newton's +// method. It's only compiled and used during generation of pre-computed +// values, so speed is not a huge concern. +func sqrt(n *big.Int) *big.Int { + // Initial guess = 2^(log_2(n)/2) + guess := big.NewInt(2) + guess.Exp(guess, big.NewInt(int64(n.BitLen()/2)), nil) + + // Now refine using Newton's method. + big2 := big.NewInt(2) + prevGuess := big.NewInt(0) + for { + prevGuess.Set(guess) + guess.Add(guess, new(big.Int).Div(n, guess)) + guess.Div(guess, big2) + if guess.Cmp(prevGuess) == 0 { + break + } + } + return guess +} + +// EndomorphismVectors runs the first 3 steps of algorithm 3.74 from [GECC] to +// generate the linearly independent vectors needed to generate a balanced +// length-two representation of a multiplier such that k = k1 + k2λ (mod N) and +// returns them. Since the values will always be the same given the fact that N +// and λ are fixed, the final results can be accelerated by storing the +// precomputed values. +func EndomorphismVectors() (a1, b1, a2, b2 *big.Int) { + bigMinus1 := big.NewInt(-1) + + // This section uses an extended Euclidean algorithm to generate a + // sequence of equations: + // s[i] * N + t[i] * λ = r[i] + + nSqrt := sqrt(curveParams.N) + u, v := new(big.Int).Set(curveParams.N), new(big.Int).Set(endomorphismLambda) + x1, y1 := big.NewInt(1), big.NewInt(0) + x2, y2 := big.NewInt(0), big.NewInt(1) + q, r := new(big.Int), new(big.Int) + qu, qx1, qy1 := new(big.Int), new(big.Int), new(big.Int) + s, t := new(big.Int), new(big.Int) + ri, ti := new(big.Int), new(big.Int) + a1, b1, a2, b2 = new(big.Int), new(big.Int), new(big.Int), new(big.Int) + found, oneMore := false, false + for u.Sign() != 0 { + // q = v/u + q.Div(v, u) + + // r = v - q*u + qu.Mul(q, u) + r.Sub(v, qu) + + // s = x2 - q*x1 + qx1.Mul(q, x1) + s.Sub(x2, qx1) + + // t = y2 - q*y1 + qy1.Mul(q, y1) + t.Sub(y2, qy1) + + // v = u, u = r, x2 = x1, x1 = s, y2 = y1, y1 = t + v.Set(u) + u.Set(r) + x2.Set(x1) + x1.Set(s) + y2.Set(y1) + y1.Set(t) + + // As soon as the remainder is less than the sqrt of n, the + // values of a1 and b1 are known. + if !found && r.Cmp(nSqrt) < 0 { + // When this condition executes ri and ti represent the + // r[i] and t[i] values such that i is the greatest + // index for which r >= sqrt(n). Meanwhile, the current + // r and t values are r[i+1] and t[i+1], respectively. + + // a1 = r[i+1], b1 = -t[i+1] + a1.Set(r) + b1.Mul(t, bigMinus1) + found = true + oneMore = true + + // Skip to the next iteration so ri and ti are not + // modified. + continue + + } else if oneMore { + // When this condition executes ri and ti still + // represent the r[i] and t[i] values while the current + // r and t are r[i+2] and t[i+2], respectively. + + // sum1 = r[i]^2 + t[i]^2 + rSquared := new(big.Int).Mul(ri, ri) + tSquared := new(big.Int).Mul(ti, ti) + sum1 := new(big.Int).Add(rSquared, tSquared) + + // sum2 = r[i+2]^2 + t[i+2]^2 + r2Squared := new(big.Int).Mul(r, r) + t2Squared := new(big.Int).Mul(t, t) + sum2 := new(big.Int).Add(r2Squared, t2Squared) + + // if (r[i]^2 + t[i]^2) <= (r[i+2]^2 + t[i+2]^2) + if sum1.Cmp(sum2) <= 0 { + // a2 = r[i], b2 = -t[i] + a2.Set(ri) + b2.Mul(ti, bigMinus1) + } else { + // a2 = r[i+2], b2 = -t[i+2] + a2.Set(r) + b2.Mul(t, bigMinus1) + } + + // All done. + break + } + + ri.Set(r) + ti.Set(t) + } + + return a1, b1, a2, b2 +} diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/loadprecomputed.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/loadprecomputed.go new file mode 100644 index 000000000..9f975b52a --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/loadprecomputed.go @@ -0,0 +1,91 @@ +// Copyright 2015 The btcsuite developers +// Copyright (c) 2015-2021 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package secp256k1 + +import ( + "compress/zlib" + "encoding/base64" + "encoding/binary" + "io" + "strings" + "sync" +) + +//go:generate go run -tags gensecp256k1 genprecomps.go + +// bytePointTable describes a table used to house pre-computed values for +// accelerating scalar base multiplication. +type bytePointTable [32][256][2]FieldVal + +// s256BytePoints houses pre-computed values used to accelerate scalar base +// multiplication such that they are only loaded on first use. +var s256BytePoints = func() func() *bytePointTable { + // mustLoadBytePoints decompresses and deserializes the pre-computed byte + // points used to accelerate scalar base multiplication for the secp256k1 + // curve. + // + // This approach is used since it allows the compile to use significantly + // less ram and be performed much faster than it is with hard-coding the + // final in-memory data structure. At the same time, it is quite fast to + // generate the in-memory data structure on first use with this approach + // versus computing the table. + // + // It will panic on any errors because the data is hard coded and thus any + // errors means something is wrong in the source code. + var data *bytePointTable + mustLoadBytePoints := func() { + // There will be no byte points to load when generating them. + bp := compressedBytePoints + if len(bp) == 0 { + return + } + + // Decompress the pre-computed table used to accelerate scalar base + // multiplication. + decoder := base64.NewDecoder(base64.StdEncoding, strings.NewReader(bp)) + r, err := zlib.NewReader(decoder) + if err != nil { + panic(err) + } + serialized, err := io.ReadAll(r) + if err != nil { + panic(err) + } + + // Deserialize the precomputed byte points and set the memory table to + // them. + offset := 0 + var bytePoints bytePointTable + for byteNum := 0; byteNum < len(bytePoints); byteNum++ { + // All points in this window. + for i := 0; i < len(bytePoints[byteNum]); i++ { + px := &bytePoints[byteNum][i][0] + py := &bytePoints[byteNum][i][1] + for i := 0; i < len(px.n); i++ { + px.n[i] = binary.LittleEndian.Uint32(serialized[offset:]) + offset += 4 + } + for i := 0; i < len(py.n); i++ { + py.n[i] = binary.LittleEndian.Uint32(serialized[offset:]) + offset += 4 + } + } + } + data = &bytePoints + } + + // Return a closure that initializes the data on first access. This is done + // because the table takes a non-trivial amount of memory and initializing + // it unconditionally would cause anything that imports the package, either + // directly, or indirectly via transitive deps, to use that memory even if + // the caller never accesses any parts of the package that actually needs + // access to it. + var loadBytePointsOnce sync.Once + return func() *bytePointTable { + loadBytePointsOnce.Do(mustLoadBytePoints) + return data + } +}() diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/modnscalar.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/modnscalar.go new file mode 100644 index 000000000..8125d9a99 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/modnscalar.go @@ -0,0 +1,1088 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package secp256k1 + +import ( + "encoding/hex" + "math/big" +) + +// References: +// [SECG]: Recommended Elliptic Curve Domain Parameters +// https://www.secg.org/sec2-v2.pdf +// +// [HAC]: Handbook of Applied Cryptography Menezes, van Oorschot, Vanstone. +// http://cacr.uwaterloo.ca/hac/ + +// Many elliptic curve operations require working with scalars in a finite field +// characterized by the order of the group underlying the secp256k1 curve. +// Given this precision is larger than the biggest available native type, +// obviously some form of bignum math is needed. This code implements +// specialized fixed-precision field arithmetic rather than relying on an +// arbitrary-precision arithmetic package such as math/big for dealing with the +// math modulo the group order since the size is known. As a result, rather +// large performance gains are achieved by taking advantage of many +// optimizations not available to arbitrary-precision arithmetic and generic +// modular arithmetic algorithms. +// +// There are various ways to internally represent each element. For example, +// the most obvious representation would be to use an array of 4 uint64s (64 +// bits * 4 = 256 bits). However, that representation suffers from the fact +// that there is no native Go type large enough to handle the intermediate +// results while adding or multiplying two 64-bit numbers. +// +// Given the above, this implementation represents the field elements as 8 +// uint32s with each word (array entry) treated as base 2^32. This was chosen +// because most systems at the current time are 64-bit (or at least have 64-bit +// registers available for specialized purposes such as MMX) so the intermediate +// results can typically be done using a native register (and using uint64s to +// avoid the need for additional half-word arithmetic) + +const ( + // These fields provide convenient access to each of the words of the + // secp256k1 curve group order N to improve code readability. + // + // The group order of the curve per [SECG] is: + // 0xffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141 + orderWordZero uint32 = 0xd0364141 + orderWordOne uint32 = 0xbfd25e8c + orderWordTwo uint32 = 0xaf48a03b + orderWordThree uint32 = 0xbaaedce6 + orderWordFour uint32 = 0xfffffffe + orderWordFive uint32 = 0xffffffff + orderWordSix uint32 = 0xffffffff + orderWordSeven uint32 = 0xffffffff + + // These fields provide convenient access to each of the words of the two's + // complement of the secp256k1 curve group order N to improve code + // readability. + // + // The two's complement of the group order is: + // 0x00000000 00000000 00000000 00000001 45512319 50b75fc4 402da173 2fc9bebf + orderComplementWordZero uint32 = (^orderWordZero) + 1 + orderComplementWordOne uint32 = ^orderWordOne + orderComplementWordTwo uint32 = ^orderWordTwo + orderComplementWordThree uint32 = ^orderWordThree + //orderComplementWordFour uint32 = ^orderWordFour // unused + //orderComplementWordFive uint32 = ^orderWordFive // unused + //orderComplementWordSix uint32 = ^orderWordSix // unused + //orderComplementWordSeven uint32 = ^orderWordSeven // unused + + // These fields provide convenient access to each of the words of the + // secp256k1 curve group order N / 2 to improve code readability and avoid + // the need to recalculate them. + // + // The half order of the secp256k1 curve group is: + // 0x7fffffff ffffffff ffffffff ffffffff 5d576e73 57a4501d dfe92f46 681b20a0 + halfOrderWordZero uint32 = 0x681b20a0 + halfOrderWordOne uint32 = 0xdfe92f46 + halfOrderWordTwo uint32 = 0x57a4501d + halfOrderWordThree uint32 = 0x5d576e73 + halfOrderWordFour uint32 = 0xffffffff + halfOrderWordFive uint32 = 0xffffffff + halfOrderWordSix uint32 = 0xffffffff + halfOrderWordSeven uint32 = 0x7fffffff + + // uint32Mask is simply a mask with all bits set for a uint32 and is used to + // improve the readability of the code. + uint32Mask = 0xffffffff +) + +var ( + // zero32 is an array of 32 bytes used for the purposes of zeroing and is + // defined here to avoid extra allocations. + zero32 = [32]byte{} +) + +// ModNScalar implements optimized 256-bit constant-time fixed-precision +// arithmetic over the secp256k1 group order. This means all arithmetic is +// performed modulo: +// +// 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141 +// +// It only implements the arithmetic needed for elliptic curve operations, +// however, the operations that are not implemented can typically be worked +// around if absolutely needed. For example, subtraction can be performed by +// adding the negation. +// +// Should it be absolutely necessary, conversion to the standard library +// math/big.Int can be accomplished by using the Bytes method, slicing the +// resulting fixed-size array, and feeding it to big.Int.SetBytes. However, +// that should typically be avoided when possible as conversion to big.Ints +// requires allocations, is not constant time, and is slower when working modulo +// the group order. +type ModNScalar struct { + // The scalar is represented as 8 32-bit integers in base 2^32. + // + // The following depicts the internal representation: + // --------------------------------------------------------- + // | n[7] | n[6] | ... | n[0] | + // | 32 bits | 32 bits | ... | 32 bits | + // | Mult: 2^(32*7) | Mult: 2^(32*6) | ... | Mult: 2^(32*0) | + // --------------------------------------------------------- + // + // For example, consider the number 2^87 + 2^42 + 1. It would be + // represented as: + // n[0] = 1 + // n[1] = 2^10 + // n[2] = 2^23 + // n[3..7] = 0 + // + // The full 256-bit value is then calculated by looping i from 7..0 and + // doing sum(n[i] * 2^(32i)) like so: + // n[7] * 2^(32*7) = 0 * 2^224 = 0 + // n[6] * 2^(32*6) = 0 * 2^192 = 0 + // ... + // n[2] * 2^(32*2) = 2^23 * 2^64 = 2^87 + // n[1] * 2^(32*1) = 2^10 * 2^32 = 2^42 + // n[0] * 2^(32*0) = 1 * 2^0 = 1 + // Sum: 0 + 0 + ... + 2^87 + 2^42 + 1 = 2^87 + 2^42 + 1 + n [8]uint32 +} + +// String returns the scalar as a human-readable hex string. +// +// This is NOT constant time. +func (s ModNScalar) String() string { + b := s.Bytes() + return hex.EncodeToString(b[:]) +} + +// Set sets the scalar equal to a copy of the passed one in constant time. +// +// The scalar is returned to support chaining. This enables syntax like: +// s := new(ModNScalar).Set(s2).Add(1) so that s = s2 + 1 where s2 is not +// modified. +func (s *ModNScalar) Set(val *ModNScalar) *ModNScalar { + *s = *val + return s +} + +// Zero sets the scalar to zero in constant time. A newly created scalar is +// already set to zero. This function can be useful to clear an existing scalar +// for reuse. +func (s *ModNScalar) Zero() { + s.n[0] = 0 + s.n[1] = 0 + s.n[2] = 0 + s.n[3] = 0 + s.n[4] = 0 + s.n[5] = 0 + s.n[6] = 0 + s.n[7] = 0 +} + +// IsZero returns whether or not the scalar is equal to zero in constant time. +func (s *ModNScalar) IsZero() bool { + // The scalar can only be zero if no bits are set in any of the words. + bits := s.n[0] | s.n[1] | s.n[2] | s.n[3] | s.n[4] | s.n[5] | s.n[6] | s.n[7] + return bits == 0 +} + +// SetInt sets the scalar to the passed integer in constant time. This is a +// convenience function since it is fairly common to perform some arithmetic +// with small native integers. +// +// The scalar is returned to support chaining. This enables syntax like: +// s := new(ModNScalar).SetInt(2).Mul(s2) so that s = 2 * s2. +func (s *ModNScalar) SetInt(ui uint32) *ModNScalar { + s.Zero() + s.n[0] = ui + return s +} + +// constantTimeEq returns 1 if a == b or 0 otherwise in constant time. +func constantTimeEq(a, b uint32) uint32 { + return uint32((uint64(a^b) - 1) >> 63) +} + +// constantTimeNotEq returns 1 if a != b or 0 otherwise in constant time. +func constantTimeNotEq(a, b uint32) uint32 { + return ^uint32((uint64(a^b)-1)>>63) & 1 +} + +// constantTimeLess returns 1 if a < b or 0 otherwise in constant time. +func constantTimeLess(a, b uint32) uint32 { + return uint32((uint64(a) - uint64(b)) >> 63) +} + +// constantTimeLessOrEq returns 1 if a <= b or 0 otherwise in constant time. +func constantTimeLessOrEq(a, b uint32) uint32 { + return uint32((uint64(a) - uint64(b) - 1) >> 63) +} + +// constantTimeGreater returns 1 if a > b or 0 otherwise in constant time. +func constantTimeGreater(a, b uint32) uint32 { + return constantTimeLess(b, a) +} + +// constantTimeGreaterOrEq returns 1 if a >= b or 0 otherwise in constant time. +func constantTimeGreaterOrEq(a, b uint32) uint32 { + return constantTimeLessOrEq(b, a) +} + +// constantTimeMin returns min(a,b) in constant time. +func constantTimeMin(a, b uint32) uint32 { + return b ^ ((a ^ b) & -constantTimeLess(a, b)) +} + +// overflows determines if the current scalar is greater than or equal to the +// group order in constant time and returns 1 if it is or 0 otherwise. +func (s *ModNScalar) overflows() uint32 { + // The intuition here is that the scalar is greater than the group order if + // one of the higher individual words is greater than corresponding word of + // the group order and all higher words in the scalar are equal to their + // corresponding word of the group order. Since this type is modulo the + // group order, being equal is also an overflow back to 0. + // + // Note that the words 5, 6, and 7 are all the max uint32 value, so there is + // no need to test if those individual words of the scalar exceeds them, + // hence, only equality is checked for them. + highWordsEqual := constantTimeEq(s.n[7], orderWordSeven) + highWordsEqual &= constantTimeEq(s.n[6], orderWordSix) + highWordsEqual &= constantTimeEq(s.n[5], orderWordFive) + overflow := highWordsEqual & constantTimeGreater(s.n[4], orderWordFour) + highWordsEqual &= constantTimeEq(s.n[4], orderWordFour) + overflow |= highWordsEqual & constantTimeGreater(s.n[3], orderWordThree) + highWordsEqual &= constantTimeEq(s.n[3], orderWordThree) + overflow |= highWordsEqual & constantTimeGreater(s.n[2], orderWordTwo) + highWordsEqual &= constantTimeEq(s.n[2], orderWordTwo) + overflow |= highWordsEqual & constantTimeGreater(s.n[1], orderWordOne) + highWordsEqual &= constantTimeEq(s.n[1], orderWordOne) + overflow |= highWordsEqual & constantTimeGreaterOrEq(s.n[0], orderWordZero) + + return overflow +} + +// reduce256 reduces the current scalar modulo the group order in accordance +// with the overflows parameter in constant time. The overflows parameter +// specifies whether or not the scalar is known to be greater than the group +// order and MUST either be 1 in the case it is or 0 in the case it is not for a +// correct result. +func (s *ModNScalar) reduce256(overflows uint32) { + // Notice that since s < 2^256 < 2N (where N is the group order), the max + // possible number of reductions required is one. Therefore, in the case a + // reduction is needed, it can be performed with a single subtraction of N. + // Also, recall that subtraction is equivalent to addition by the two's + // complement while ignoring the carry. + // + // When s >= N, the overflows parameter will be 1. Conversely, it will be 0 + // when s < N. Thus multiplying by the overflows parameter will either + // result in 0 or the multiplicand itself. + // + // Combining the above along with the fact that s + 0 = s, the following is + // a constant time implementation that works by either adding 0 or the two's + // complement of N as needed. + // + // The final result will be in the range 0 <= s < N as expected. + overflows64 := uint64(overflows) + c := uint64(s.n[0]) + overflows64*uint64(orderComplementWordZero) + s.n[0] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(s.n[1]) + overflows64*uint64(orderComplementWordOne) + s.n[1] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(s.n[2]) + overflows64*uint64(orderComplementWordTwo) + s.n[2] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(s.n[3]) + overflows64*uint64(orderComplementWordThree) + s.n[3] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(s.n[4]) + overflows64 // * 1 + s.n[4] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(s.n[5]) // + overflows64 * 0 + s.n[5] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(s.n[6]) // + overflows64 * 0 + s.n[6] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(s.n[7]) // + overflows64 * 0 + s.n[7] = uint32(c & uint32Mask) +} + +// SetBytes interprets the provided array as a 256-bit big-endian unsigned +// integer, reduces it modulo the group order, sets the scalar to the result, +// and returns either 1 if it was reduced (aka it overflowed) or 0 otherwise in +// constant time. +// +// Note that a bool is not used here because it is not possible in Go to convert +// from a bool to numeric value in constant time and many constant-time +// operations require a numeric value. +func (s *ModNScalar) SetBytes(b *[32]byte) uint32 { + // Pack the 256 total bits across the 8 uint32 words. This could be done + // with a for loop, but benchmarks show this unrolled version is about 2 + // times faster than the variant that uses a loop. + s.n[0] = uint32(b[31]) | uint32(b[30])<<8 | uint32(b[29])<<16 | uint32(b[28])<<24 + s.n[1] = uint32(b[27]) | uint32(b[26])<<8 | uint32(b[25])<<16 | uint32(b[24])<<24 + s.n[2] = uint32(b[23]) | uint32(b[22])<<8 | uint32(b[21])<<16 | uint32(b[20])<<24 + s.n[3] = uint32(b[19]) | uint32(b[18])<<8 | uint32(b[17])<<16 | uint32(b[16])<<24 + s.n[4] = uint32(b[15]) | uint32(b[14])<<8 | uint32(b[13])<<16 | uint32(b[12])<<24 + s.n[5] = uint32(b[11]) | uint32(b[10])<<8 | uint32(b[9])<<16 | uint32(b[8])<<24 + s.n[6] = uint32(b[7]) | uint32(b[6])<<8 | uint32(b[5])<<16 | uint32(b[4])<<24 + s.n[7] = uint32(b[3]) | uint32(b[2])<<8 | uint32(b[1])<<16 | uint32(b[0])<<24 + + // The value might be >= N, so reduce it as required and return whether or + // not it was reduced. + needsReduce := s.overflows() + s.reduce256(needsReduce) + return needsReduce +} + +// zeroArray32 zeroes the provided 32-byte buffer. +func zeroArray32(b *[32]byte) { + copy(b[:], zero32[:]) +} + +// SetByteSlice interprets the provided slice as a 256-bit big-endian unsigned +// integer (meaning it is truncated to the first 32 bytes), reduces it modulo +// the group order, sets the scalar to the result, and returns whether or not +// the resulting truncated 256-bit integer overflowed in constant time. +// +// Note that since passing a slice with more than 32 bytes is truncated, it is +// possible that the truncated value is less than the order of the curve and +// hence it will not be reported as having overflowed in that case. It is up to +// the caller to decide whether it needs to provide numbers of the appropriate +// size or it is acceptable to use this function with the described truncation +// and overflow behavior. +func (s *ModNScalar) SetByteSlice(b []byte) bool { + var b32 [32]byte + b = b[:constantTimeMin(uint32(len(b)), 32)] + copy(b32[:], b32[:32-len(b)]) + copy(b32[32-len(b):], b) + result := s.SetBytes(&b32) + zeroArray32(&b32) + return result != 0 +} + +// PutBytesUnchecked unpacks the scalar to a 32-byte big-endian value directly +// into the passed byte slice in constant time. The target slice must must have +// at least 32 bytes available or it will panic. +// +// There is a similar function, PutBytes, which unpacks the scalar into a +// 32-byte array directly. This version is provided since it can be useful to +// write directly into part of a larger buffer without needing a separate +// allocation. +// +// Preconditions: +// - The target slice MUST have at least 32 bytes available +func (s *ModNScalar) PutBytesUnchecked(b []byte) { + // Unpack the 256 total bits from the 8 uint32 words. This could be done + // with a for loop, but benchmarks show this unrolled version is about 2 + // times faster than the variant which uses a loop. + b[31] = byte(s.n[0]) + b[30] = byte(s.n[0] >> 8) + b[29] = byte(s.n[0] >> 16) + b[28] = byte(s.n[0] >> 24) + b[27] = byte(s.n[1]) + b[26] = byte(s.n[1] >> 8) + b[25] = byte(s.n[1] >> 16) + b[24] = byte(s.n[1] >> 24) + b[23] = byte(s.n[2]) + b[22] = byte(s.n[2] >> 8) + b[21] = byte(s.n[2] >> 16) + b[20] = byte(s.n[2] >> 24) + b[19] = byte(s.n[3]) + b[18] = byte(s.n[3] >> 8) + b[17] = byte(s.n[3] >> 16) + b[16] = byte(s.n[3] >> 24) + b[15] = byte(s.n[4]) + b[14] = byte(s.n[4] >> 8) + b[13] = byte(s.n[4] >> 16) + b[12] = byte(s.n[4] >> 24) + b[11] = byte(s.n[5]) + b[10] = byte(s.n[5] >> 8) + b[9] = byte(s.n[5] >> 16) + b[8] = byte(s.n[5] >> 24) + b[7] = byte(s.n[6]) + b[6] = byte(s.n[6] >> 8) + b[5] = byte(s.n[6] >> 16) + b[4] = byte(s.n[6] >> 24) + b[3] = byte(s.n[7]) + b[2] = byte(s.n[7] >> 8) + b[1] = byte(s.n[7] >> 16) + b[0] = byte(s.n[7] >> 24) +} + +// PutBytes unpacks the scalar to a 32-byte big-endian value using the passed +// byte array in constant time. +// +// There is a similar function, PutBytesUnchecked, which unpacks the scalar into +// a slice that must have at least 32 bytes available. This version is provided +// since it can be useful to write directly into an array that is type checked. +// +// Alternatively, there is also Bytes, which unpacks the scalar into a new array +// and returns that which can sometimes be more ergonomic in applications that +// aren't concerned about an additional copy. +func (s *ModNScalar) PutBytes(b *[32]byte) { + s.PutBytesUnchecked(b[:]) +} + +// Bytes unpacks the scalar to a 32-byte big-endian value in constant time. +// +// See PutBytes and PutBytesUnchecked for variants that allow an array or slice +// to be passed which can be useful to cut down on the number of allocations +// by allowing the caller to reuse a buffer or write directly into part of a +// larger buffer. +func (s *ModNScalar) Bytes() [32]byte { + var b [32]byte + s.PutBytesUnchecked(b[:]) + return b +} + +// IsOdd returns whether or not the scalar is an odd number in constant time. +func (s *ModNScalar) IsOdd() bool { + // Only odd numbers have the bottom bit set. + return s.n[0]&1 == 1 +} + +// Equals returns whether or not the two scalars are the same in constant time. +func (s *ModNScalar) Equals(val *ModNScalar) bool { + // Xor only sets bits when they are different, so the two scalars can only + // be the same if no bits are set after xoring each word. + bits := (s.n[0] ^ val.n[0]) | (s.n[1] ^ val.n[1]) | (s.n[2] ^ val.n[2]) | + (s.n[3] ^ val.n[3]) | (s.n[4] ^ val.n[4]) | (s.n[5] ^ val.n[5]) | + (s.n[6] ^ val.n[6]) | (s.n[7] ^ val.n[7]) + + return bits == 0 +} + +// Add2 adds the passed two scalars together modulo the group order in constant +// time and stores the result in s. +// +// The scalar is returned to support chaining. This enables syntax like: +// s3.Add2(s, s2).AddInt(1) so that s3 = s + s2 + 1. +func (s *ModNScalar) Add2(val1, val2 *ModNScalar) *ModNScalar { + c := uint64(val1.n[0]) + uint64(val2.n[0]) + s.n[0] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(val1.n[1]) + uint64(val2.n[1]) + s.n[1] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(val1.n[2]) + uint64(val2.n[2]) + s.n[2] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(val1.n[3]) + uint64(val2.n[3]) + s.n[3] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(val1.n[4]) + uint64(val2.n[4]) + s.n[4] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(val1.n[5]) + uint64(val2.n[5]) + s.n[5] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(val1.n[6]) + uint64(val2.n[6]) + s.n[6] = uint32(c & uint32Mask) + c = (c >> 32) + uint64(val1.n[7]) + uint64(val2.n[7]) + s.n[7] = uint32(c & uint32Mask) + + // The result is now 256 bits, but it might still be >= N, so use the + // existing normal reduce method for 256-bit values. + s.reduce256(uint32(c>>32) + s.overflows()) + return s +} + +// Add adds the passed scalar to the existing one modulo the group order in +// constant time and stores the result in s. +// +// The scalar is returned to support chaining. This enables syntax like: +// s.Add(s2).AddInt(1) so that s = s + s2 + 1. +func (s *ModNScalar) Add(val *ModNScalar) *ModNScalar { + return s.Add2(s, val) +} + +// accumulator96 provides a 96-bit accumulator for use in the intermediate +// calculations requiring more than 64-bits. +type accumulator96 struct { + n [3]uint32 +} + +// Add adds the passed unsigned 64-bit value to the accumulator. +func (a *accumulator96) Add(v uint64) { + low := uint32(v & uint32Mask) + hi := uint32(v >> 32) + a.n[0] += low + hi += constantTimeLess(a.n[0], low) // Carry if overflow in n[0]. + a.n[1] += hi + a.n[2] += constantTimeLess(a.n[1], hi) // Carry if overflow in n[1]. +} + +// Rsh32 right shifts the accumulator by 32 bits. +func (a *accumulator96) Rsh32() { + a.n[0] = a.n[1] + a.n[1] = a.n[2] + a.n[2] = 0 +} + +// reduce385 reduces the 385-bit intermediate result in the passed terms modulo +// the group order in constant time and stores the result in s. +func (s *ModNScalar) reduce385(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12 uint64) { + // At this point, the intermediate result in the passed terms has been + // reduced to fit within 385 bits, so reduce it again using the same method + // described in reduce512. As before, the intermediate result will end up + // being reduced by another 127 bits to 258 bits, thus 9 32-bit terms are + // needed for this iteration. The reduced terms are assigned back to t0 + // through t8. + // + // Note that several of the intermediate calculations require adding 64-bit + // products together which would overflow a uint64, so a 96-bit accumulator + // is used instead until the value is reduced enough to use native uint64s. + + // Terms for 2^(32*0). + var acc accumulator96 + acc.n[0] = uint32(t0) // == acc.Add(t0) because acc is guaranteed to be 0. + acc.Add(t8 * uint64(orderComplementWordZero)) + t0 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*1). + acc.Add(t1) + acc.Add(t8 * uint64(orderComplementWordOne)) + acc.Add(t9 * uint64(orderComplementWordZero)) + t1 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*2). + acc.Add(t2) + acc.Add(t8 * uint64(orderComplementWordTwo)) + acc.Add(t9 * uint64(orderComplementWordOne)) + acc.Add(t10 * uint64(orderComplementWordZero)) + t2 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*3). + acc.Add(t3) + acc.Add(t8 * uint64(orderComplementWordThree)) + acc.Add(t9 * uint64(orderComplementWordTwo)) + acc.Add(t10 * uint64(orderComplementWordOne)) + acc.Add(t11 * uint64(orderComplementWordZero)) + t3 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*4). + acc.Add(t4) + acc.Add(t8) // * uint64(orderComplementWordFour) // * 1 + acc.Add(t9 * uint64(orderComplementWordThree)) + acc.Add(t10 * uint64(orderComplementWordTwo)) + acc.Add(t11 * uint64(orderComplementWordOne)) + acc.Add(t12 * uint64(orderComplementWordZero)) + t4 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*5). + acc.Add(t5) + // acc.Add(t8 * uint64(orderComplementWordFive)) // 0 + acc.Add(t9) // * uint64(orderComplementWordFour) // * 1 + acc.Add(t10 * uint64(orderComplementWordThree)) + acc.Add(t11 * uint64(orderComplementWordTwo)) + acc.Add(t12 * uint64(orderComplementWordOne)) + t5 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*6). + acc.Add(t6) + // acc.Add(t8 * uint64(orderComplementWordSix)) // 0 + // acc.Add(t9 * uint64(orderComplementWordFive)) // 0 + acc.Add(t10) // * uint64(orderComplementWordFour) // * 1 + acc.Add(t11 * uint64(orderComplementWordThree)) + acc.Add(t12 * uint64(orderComplementWordTwo)) + t6 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*7). + acc.Add(t7) + // acc.Add(t8 * uint64(orderComplementWordSeven)) // 0 + // acc.Add(t9 * uint64(orderComplementWordSix)) // 0 + // acc.Add(t10 * uint64(orderComplementWordFive)) // 0 + acc.Add(t11) // * uint64(orderComplementWordFour) // * 1 + acc.Add(t12 * uint64(orderComplementWordThree)) + t7 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*8). + // acc.Add(t9 * uint64(orderComplementWordSeven)) // 0 + // acc.Add(t10 * uint64(orderComplementWordSix)) // 0 + // acc.Add(t11 * uint64(orderComplementWordFive)) // 0 + acc.Add(t12) // * uint64(orderComplementWordFour) // * 1 + t8 = uint64(acc.n[0]) + // acc.Rsh32() // No need since not used after this. Guaranteed to be 0. + + // NOTE: All of the remaining multiplications for this iteration result in 0 + // as they all involve multiplying by combinations of the fifth, sixth, and + // seventh words of the two's complement of N, which are 0, so skip them. + + // At this point, the result is reduced to fit within 258 bits, so reduce it + // again using a slightly modified version of the same method. The maximum + // value in t8 is 2 at this point and therefore multiplying it by each word + // of the two's complement of N and adding it to a 32-bit term will result + // in a maximum requirement of 33 bits, so it is safe to use native uint64s + // here for the intermediate term carry propagation. + // + // Also, since the maximum value in t8 is 2, this ends up reducing by + // another 2 bits to 256 bits. + c := t0 + t8*uint64(orderComplementWordZero) + s.n[0] = uint32(c & uint32Mask) + c = (c >> 32) + t1 + t8*uint64(orderComplementWordOne) + s.n[1] = uint32(c & uint32Mask) + c = (c >> 32) + t2 + t8*uint64(orderComplementWordTwo) + s.n[2] = uint32(c & uint32Mask) + c = (c >> 32) + t3 + t8*uint64(orderComplementWordThree) + s.n[3] = uint32(c & uint32Mask) + c = (c >> 32) + t4 + t8 // * uint64(orderComplementWordFour) == * 1 + s.n[4] = uint32(c & uint32Mask) + c = (c >> 32) + t5 // + t8*uint64(orderComplementWordFive) == 0 + s.n[5] = uint32(c & uint32Mask) + c = (c >> 32) + t6 // + t8*uint64(orderComplementWordSix) == 0 + s.n[6] = uint32(c & uint32Mask) + c = (c >> 32) + t7 // + t8*uint64(orderComplementWordSeven) == 0 + s.n[7] = uint32(c & uint32Mask) + + // The result is now 256 bits, but it might still be >= N, so use the + // existing normal reduce method for 256-bit values. + s.reduce256(uint32(c>>32) + s.overflows()) +} + +// reduce512 reduces the 512-bit intermediate result in the passed terms modulo +// the group order down to 385 bits in constant time and stores the result in s. +func (s *ModNScalar) reduce512(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15 uint64) { + // At this point, the intermediate result in the passed terms is grouped + // into the respective bases. + // + // Per [HAC] section 14.3.4: Reduction method of moduli of special form, + // when the modulus is of the special form m = b^t - c, where log_2(c) < t, + // highly efficient reduction can be achieved per the provided algorithm. + // + // The secp256k1 group order fits this criteria since it is: + // 2^256 - 432420386565659656852420866394968145599 + // + // Technically the max possible value here is (N-1)^2 since the two scalars + // being multiplied are always mod N. Nevertheless, it is safer to consider + // it to be (2^256-1)^2 = 2^512 - 2^256 + 1 since it is the product of two + // 256-bit values. + // + // The algorithm is to reduce the result modulo the prime by subtracting + // multiples of the group order N. However, in order simplify carry + // propagation, this adds with the two's complement of N to achieve the same + // result. + // + // Since the two's complement of N has 127 leading zero bits, this will end + // up reducing the intermediate result from 512 bits to 385 bits, resulting + // in 13 32-bit terms. The reduced terms are assigned back to t0 through + // t12. + // + // Note that several of the intermediate calculations require adding 64-bit + // products together which would overflow a uint64, so a 96-bit accumulator + // is used instead. + + // Terms for 2^(32*0). + var acc accumulator96 + acc.n[0] = uint32(t0) // == acc.Add(t0) because acc is guaranteed to be 0. + acc.Add(t8 * uint64(orderComplementWordZero)) + t0 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*1). + acc.Add(t1) + acc.Add(t8 * uint64(orderComplementWordOne)) + acc.Add(t9 * uint64(orderComplementWordZero)) + t1 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*2). + acc.Add(t2) + acc.Add(t8 * uint64(orderComplementWordTwo)) + acc.Add(t9 * uint64(orderComplementWordOne)) + acc.Add(t10 * uint64(orderComplementWordZero)) + t2 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*3). + acc.Add(t3) + acc.Add(t8 * uint64(orderComplementWordThree)) + acc.Add(t9 * uint64(orderComplementWordTwo)) + acc.Add(t10 * uint64(orderComplementWordOne)) + acc.Add(t11 * uint64(orderComplementWordZero)) + t3 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*4). + acc.Add(t4) + acc.Add(t8) // * uint64(orderComplementWordFour) // * 1 + acc.Add(t9 * uint64(orderComplementWordThree)) + acc.Add(t10 * uint64(orderComplementWordTwo)) + acc.Add(t11 * uint64(orderComplementWordOne)) + acc.Add(t12 * uint64(orderComplementWordZero)) + t4 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*5). + acc.Add(t5) + // acc.Add(t8 * uint64(orderComplementWordFive)) // 0 + acc.Add(t9) // * uint64(orderComplementWordFour) // * 1 + acc.Add(t10 * uint64(orderComplementWordThree)) + acc.Add(t11 * uint64(orderComplementWordTwo)) + acc.Add(t12 * uint64(orderComplementWordOne)) + acc.Add(t13 * uint64(orderComplementWordZero)) + t5 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*6). + acc.Add(t6) + // acc.Add(t8 * uint64(orderComplementWordSix)) // 0 + // acc.Add(t9 * uint64(orderComplementWordFive)) // 0 + acc.Add(t10) // * uint64(orderComplementWordFour)) // * 1 + acc.Add(t11 * uint64(orderComplementWordThree)) + acc.Add(t12 * uint64(orderComplementWordTwo)) + acc.Add(t13 * uint64(orderComplementWordOne)) + acc.Add(t14 * uint64(orderComplementWordZero)) + t6 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*7). + acc.Add(t7) + // acc.Add(t8 * uint64(orderComplementWordSeven)) // 0 + // acc.Add(t9 * uint64(orderComplementWordSix)) // 0 + // acc.Add(t10 * uint64(orderComplementWordFive)) // 0 + acc.Add(t11) // * uint64(orderComplementWordFour) // * 1 + acc.Add(t12 * uint64(orderComplementWordThree)) + acc.Add(t13 * uint64(orderComplementWordTwo)) + acc.Add(t14 * uint64(orderComplementWordOne)) + acc.Add(t15 * uint64(orderComplementWordZero)) + t7 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*8). + // acc.Add(t9 * uint64(orderComplementWordSeven)) // 0 + // acc.Add(t10 * uint64(orderComplementWordSix)) // 0 + // acc.Add(t11 * uint64(orderComplementWordFive)) // 0 + acc.Add(t12) // * uint64(orderComplementWordFour) // * 1 + acc.Add(t13 * uint64(orderComplementWordThree)) + acc.Add(t14 * uint64(orderComplementWordTwo)) + acc.Add(t15 * uint64(orderComplementWordOne)) + t8 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*9). + // acc.Add(t10 * uint64(orderComplementWordSeven)) // 0 + // acc.Add(t11 * uint64(orderComplementWordSix)) // 0 + // acc.Add(t12 * uint64(orderComplementWordFive)) // 0 + acc.Add(t13) // * uint64(orderComplementWordFour) // * 1 + acc.Add(t14 * uint64(orderComplementWordThree)) + acc.Add(t15 * uint64(orderComplementWordTwo)) + t9 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*10). + // acc.Add(t11 * uint64(orderComplementWordSeven)) // 0 + // acc.Add(t12 * uint64(orderComplementWordSix)) // 0 + // acc.Add(t13 * uint64(orderComplementWordFive)) // 0 + acc.Add(t14) // * uint64(orderComplementWordFour) // * 1 + acc.Add(t15 * uint64(orderComplementWordThree)) + t10 = uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*11). + // acc.Add(t12 * uint64(orderComplementWordSeven)) // 0 + // acc.Add(t13 * uint64(orderComplementWordSix)) // 0 + // acc.Add(t14 * uint64(orderComplementWordFive)) // 0 + acc.Add(t15) // * uint64(orderComplementWordFour) // * 1 + t11 = uint64(acc.n[0]) + acc.Rsh32() + + // NOTE: All of the remaining multiplications for this iteration result in 0 + // as they all involve multiplying by combinations of the fifth, sixth, and + // seventh words of the two's complement of N, which are 0, so skip them. + + // Terms for 2^(32*12). + t12 = uint64(acc.n[0]) + // acc.Rsh32() // No need since not used after this. Guaranteed to be 0. + + // At this point, the result is reduced to fit within 385 bits, so reduce it + // again using the same method accordingly. + s.reduce385(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) +} + +// Mul2 multiplies the passed two scalars together modulo the group order in +// constant time and stores the result in s. +// +// The scalar is returned to support chaining. This enables syntax like: +// s3.Mul2(s, s2).AddInt(1) so that s3 = (s * s2) + 1. +func (s *ModNScalar) Mul2(val, val2 *ModNScalar) *ModNScalar { + // This could be done with for loops and an array to store the intermediate + // terms, but this unrolled version is significantly faster. + + // The overall strategy employed here is: + // 1) Calculate the 512-bit product of the two scalars using the standard + // pencil-and-paper method. + // 2) Reduce the result modulo the prime by effectively subtracting + // multiples of the group order N (actually performed by adding multiples + // of the two's complement of N to avoid implementing subtraction). + // 3) Repeat step 2 noting that each iteration reduces the required number + // of bits by 127 because the two's complement of N has 127 leading zero + // bits. + // 4) Once reduced to 256 bits, call the existing reduce method to perform + // a final reduction as needed. + // + // Note that several of the intermediate calculations require adding 64-bit + // products together which would overflow a uint64, so a 96-bit accumulator + // is used instead. + + // Terms for 2^(32*0). + var acc accumulator96 + acc.Add(uint64(val.n[0]) * uint64(val2.n[0])) + t0 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*1). + acc.Add(uint64(val.n[0]) * uint64(val2.n[1])) + acc.Add(uint64(val.n[1]) * uint64(val2.n[0])) + t1 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*2). + acc.Add(uint64(val.n[0]) * uint64(val2.n[2])) + acc.Add(uint64(val.n[1]) * uint64(val2.n[1])) + acc.Add(uint64(val.n[2]) * uint64(val2.n[0])) + t2 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*3). + acc.Add(uint64(val.n[0]) * uint64(val2.n[3])) + acc.Add(uint64(val.n[1]) * uint64(val2.n[2])) + acc.Add(uint64(val.n[2]) * uint64(val2.n[1])) + acc.Add(uint64(val.n[3]) * uint64(val2.n[0])) + t3 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*4). + acc.Add(uint64(val.n[0]) * uint64(val2.n[4])) + acc.Add(uint64(val.n[1]) * uint64(val2.n[3])) + acc.Add(uint64(val.n[2]) * uint64(val2.n[2])) + acc.Add(uint64(val.n[3]) * uint64(val2.n[1])) + acc.Add(uint64(val.n[4]) * uint64(val2.n[0])) + t4 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*5). + acc.Add(uint64(val.n[0]) * uint64(val2.n[5])) + acc.Add(uint64(val.n[1]) * uint64(val2.n[4])) + acc.Add(uint64(val.n[2]) * uint64(val2.n[3])) + acc.Add(uint64(val.n[3]) * uint64(val2.n[2])) + acc.Add(uint64(val.n[4]) * uint64(val2.n[1])) + acc.Add(uint64(val.n[5]) * uint64(val2.n[0])) + t5 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*6). + acc.Add(uint64(val.n[0]) * uint64(val2.n[6])) + acc.Add(uint64(val.n[1]) * uint64(val2.n[5])) + acc.Add(uint64(val.n[2]) * uint64(val2.n[4])) + acc.Add(uint64(val.n[3]) * uint64(val2.n[3])) + acc.Add(uint64(val.n[4]) * uint64(val2.n[2])) + acc.Add(uint64(val.n[5]) * uint64(val2.n[1])) + acc.Add(uint64(val.n[6]) * uint64(val2.n[0])) + t6 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*7). + acc.Add(uint64(val.n[0]) * uint64(val2.n[7])) + acc.Add(uint64(val.n[1]) * uint64(val2.n[6])) + acc.Add(uint64(val.n[2]) * uint64(val2.n[5])) + acc.Add(uint64(val.n[3]) * uint64(val2.n[4])) + acc.Add(uint64(val.n[4]) * uint64(val2.n[3])) + acc.Add(uint64(val.n[5]) * uint64(val2.n[2])) + acc.Add(uint64(val.n[6]) * uint64(val2.n[1])) + acc.Add(uint64(val.n[7]) * uint64(val2.n[0])) + t7 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*8). + acc.Add(uint64(val.n[1]) * uint64(val2.n[7])) + acc.Add(uint64(val.n[2]) * uint64(val2.n[6])) + acc.Add(uint64(val.n[3]) * uint64(val2.n[5])) + acc.Add(uint64(val.n[4]) * uint64(val2.n[4])) + acc.Add(uint64(val.n[5]) * uint64(val2.n[3])) + acc.Add(uint64(val.n[6]) * uint64(val2.n[2])) + acc.Add(uint64(val.n[7]) * uint64(val2.n[1])) + t8 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*9). + acc.Add(uint64(val.n[2]) * uint64(val2.n[7])) + acc.Add(uint64(val.n[3]) * uint64(val2.n[6])) + acc.Add(uint64(val.n[4]) * uint64(val2.n[5])) + acc.Add(uint64(val.n[5]) * uint64(val2.n[4])) + acc.Add(uint64(val.n[6]) * uint64(val2.n[3])) + acc.Add(uint64(val.n[7]) * uint64(val2.n[2])) + t9 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*10). + acc.Add(uint64(val.n[3]) * uint64(val2.n[7])) + acc.Add(uint64(val.n[4]) * uint64(val2.n[6])) + acc.Add(uint64(val.n[5]) * uint64(val2.n[5])) + acc.Add(uint64(val.n[6]) * uint64(val2.n[4])) + acc.Add(uint64(val.n[7]) * uint64(val2.n[3])) + t10 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*11). + acc.Add(uint64(val.n[4]) * uint64(val2.n[7])) + acc.Add(uint64(val.n[5]) * uint64(val2.n[6])) + acc.Add(uint64(val.n[6]) * uint64(val2.n[5])) + acc.Add(uint64(val.n[7]) * uint64(val2.n[4])) + t11 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*12). + acc.Add(uint64(val.n[5]) * uint64(val2.n[7])) + acc.Add(uint64(val.n[6]) * uint64(val2.n[6])) + acc.Add(uint64(val.n[7]) * uint64(val2.n[5])) + t12 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*13). + acc.Add(uint64(val.n[6]) * uint64(val2.n[7])) + acc.Add(uint64(val.n[7]) * uint64(val2.n[6])) + t13 := uint64(acc.n[0]) + acc.Rsh32() + + // Terms for 2^(32*14). + acc.Add(uint64(val.n[7]) * uint64(val2.n[7])) + t14 := uint64(acc.n[0]) + acc.Rsh32() + + // What's left is for 2^(32*15). + t15 := uint64(acc.n[0]) + // acc.Rsh32() // No need since not used after this. Guaranteed to be 0. + + // At this point, all of the terms are grouped into their respective base + // and occupy up to 512 bits. Reduce the result accordingly. + s.reduce512(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, + t15) + return s +} + +// Mul multiplies the passed scalar with the existing one modulo the group order +// in constant time and stores the result in s. +// +// The scalar is returned to support chaining. This enables syntax like: +// s.Mul(s2).AddInt(1) so that s = (s * s2) + 1. +func (s *ModNScalar) Mul(val *ModNScalar) *ModNScalar { + return s.Mul2(s, val) +} + +// SquareVal squares the passed scalar modulo the group order in constant time +// and stores the result in s. +// +// The scalar is returned to support chaining. This enables syntax like: +// s3.SquareVal(s).Mul(s) so that s3 = s^2 * s = s^3. +func (s *ModNScalar) SquareVal(val *ModNScalar) *ModNScalar { + // This could technically be optimized slightly to take advantage of the + // fact that many of the intermediate calculations in squaring are just + // doubling, however, benchmarking has shown that due to the need to use a + // 96-bit accumulator, any savings are essentially offset by that and + // consequently there is no real difference in performance over just + // multiplying the value by itself to justify the extra code for now. This + // can be revisited in the future if it becomes a bottleneck in practice. + + return s.Mul2(val, val) +} + +// Square squares the scalar modulo the group order in constant time. The +// existing scalar is modified. +// +// The scalar is returned to support chaining. This enables syntax like: +// s.Square().Mul(s2) so that s = s^2 * s2. +func (s *ModNScalar) Square() *ModNScalar { + return s.SquareVal(s) +} + +// NegateVal negates the passed scalar modulo the group order and stores the +// result in s in constant time. +// +// The scalar is returned to support chaining. This enables syntax like: +// s.NegateVal(s2).AddInt(1) so that s = -s2 + 1. +func (s *ModNScalar) NegateVal(val *ModNScalar) *ModNScalar { + // Since the scalar is already in the range 0 <= val < N, where N is the + // group order, negation modulo the group order is just the group order + // minus the value. This implies that the result will always be in the + // desired range with the sole exception of 0 because N - 0 = N itself. + // + // Therefore, in order to avoid the need to reduce the result for every + // other case in order to achieve constant time, this creates a mask that is + // all 0s in the case of the scalar being negated is 0 and all 1s otherwise + // and bitwise ands that mask with each word. + // + // Finally, to simplify the carry propagation, this adds the two's + // complement of the scalar to N in order to achieve the same result. + bits := val.n[0] | val.n[1] | val.n[2] | val.n[3] | val.n[4] | val.n[5] | + val.n[6] | val.n[7] + mask := uint64(uint32Mask * constantTimeNotEq(bits, 0)) + c := uint64(orderWordZero) + (uint64(^val.n[0]) + 1) + s.n[0] = uint32(c & mask) + c = (c >> 32) + uint64(orderWordOne) + uint64(^val.n[1]) + s.n[1] = uint32(c & mask) + c = (c >> 32) + uint64(orderWordTwo) + uint64(^val.n[2]) + s.n[2] = uint32(c & mask) + c = (c >> 32) + uint64(orderWordThree) + uint64(^val.n[3]) + s.n[3] = uint32(c & mask) + c = (c >> 32) + uint64(orderWordFour) + uint64(^val.n[4]) + s.n[4] = uint32(c & mask) + c = (c >> 32) + uint64(orderWordFive) + uint64(^val.n[5]) + s.n[5] = uint32(c & mask) + c = (c >> 32) + uint64(orderWordSix) + uint64(^val.n[6]) + s.n[6] = uint32(c & mask) + c = (c >> 32) + uint64(orderWordSeven) + uint64(^val.n[7]) + s.n[7] = uint32(c & mask) + return s +} + +// Negate negates the scalar modulo the group order in constant time. The +// existing scalar is modified. +// +// The scalar is returned to support chaining. This enables syntax like: +// s.Negate().AddInt(1) so that s = -s + 1. +func (s *ModNScalar) Negate() *ModNScalar { + return s.NegateVal(s) +} + +// InverseValNonConst finds the modular multiplicative inverse of the passed +// scalar and stores result in s in *non-constant* time. +// +// The scalar is returned to support chaining. This enables syntax like: +// s3.InverseVal(s1).Mul(s2) so that s3 = s1^-1 * s2. +func (s *ModNScalar) InverseValNonConst(val *ModNScalar) *ModNScalar { + // This is making use of big integers for now. Ideally it will be replaced + // with an implementation that does not depend on big integers. + valBytes := val.Bytes() + bigVal := new(big.Int).SetBytes(valBytes[:]) + bigVal.ModInverse(bigVal, curveParams.N) + s.SetByteSlice(bigVal.Bytes()) + return s +} + +// InverseNonConst finds the modular multiplicative inverse of the scalar in +// *non-constant* time. The existing scalar is modified. +// +// The scalar is returned to support chaining. This enables syntax like: +// s.Inverse().Mul(s2) so that s = s^-1 * s2. +func (s *ModNScalar) InverseNonConst() *ModNScalar { + return s.InverseValNonConst(s) +} + +// IsOverHalfOrder returns whether or not the scalar exceeds the group order +// divided by 2 in constant time. +func (s *ModNScalar) IsOverHalfOrder() bool { + // The intuition here is that the scalar is greater than half of the group + // order if one of the higher individual words is greater than the + // corresponding word of the half group order and all higher words in the + // scalar are equal to their corresponding word of the half group order. + // + // Note that the words 4, 5, and 6 are all the max uint32 value, so there is + // no need to test if those individual words of the scalar exceeds them, + // hence, only equality is checked for them. + result := constantTimeGreater(s.n[7], halfOrderWordSeven) + highWordsEqual := constantTimeEq(s.n[7], halfOrderWordSeven) + highWordsEqual &= constantTimeEq(s.n[6], halfOrderWordSix) + highWordsEqual &= constantTimeEq(s.n[5], halfOrderWordFive) + highWordsEqual &= constantTimeEq(s.n[4], halfOrderWordFour) + result |= highWordsEqual & constantTimeGreater(s.n[3], halfOrderWordThree) + highWordsEqual &= constantTimeEq(s.n[3], halfOrderWordThree) + result |= highWordsEqual & constantTimeGreater(s.n[2], halfOrderWordTwo) + highWordsEqual &= constantTimeEq(s.n[2], halfOrderWordTwo) + result |= highWordsEqual & constantTimeGreater(s.n[1], halfOrderWordOne) + highWordsEqual &= constantTimeEq(s.n[1], halfOrderWordOne) + result |= highWordsEqual & constantTimeGreater(s.n[0], halfOrderWordZero) + + return result != 0 +} diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/nonce.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/nonce.go new file mode 100644 index 000000000..81b205d9c --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/nonce.go @@ -0,0 +1,263 @@ +// Copyright (c) 2013-2014 The btcsuite developers +// Copyright (c) 2015-2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package secp256k1 + +import ( + "bytes" + "crypto/sha256" + "hash" +) + +// References: +// [GECC]: Guide to Elliptic Curve Cryptography (Hankerson, Menezes, Vanstone) +// +// [ISO/IEC 8825-1]: Information technology — ASN.1 encoding rules: +// Specification of Basic Encoding Rules (BER), Canonical Encoding Rules +// (CER) and Distinguished Encoding Rules (DER) +// +// [SEC1]: Elliptic Curve Cryptography (May 31, 2009, Version 2.0) +// https://www.secg.org/sec1-v2.pdf + +var ( + // singleZero is used during RFC6979 nonce generation. It is provided + // here to avoid the need to create it multiple times. + singleZero = []byte{0x00} + + // zeroInitializer is used during RFC6979 nonce generation. It is provided + // here to avoid the need to create it multiple times. + zeroInitializer = bytes.Repeat([]byte{0x00}, sha256.BlockSize) + + // singleOne is used during RFC6979 nonce generation. It is provided + // here to avoid the need to create it multiple times. + singleOne = []byte{0x01} + + // oneInitializer is used during RFC6979 nonce generation. It is provided + // here to avoid the need to create it multiple times. + oneInitializer = bytes.Repeat([]byte{0x01}, sha256.Size) +) + +// hmacsha256 implements a resettable version of HMAC-SHA256. +type hmacsha256 struct { + inner, outer hash.Hash + ipad, opad [sha256.BlockSize]byte +} + +// Write adds data to the running hash. +func (h *hmacsha256) Write(p []byte) { + h.inner.Write(p) +} + +// initKey initializes the HMAC-SHA256 instance to the provided key. +func (h *hmacsha256) initKey(key []byte) { + // Hash the key if it is too large. + if len(key) > sha256.BlockSize { + h.outer.Write(key) + key = h.outer.Sum(nil) + } + copy(h.ipad[:], key) + copy(h.opad[:], key) + for i := range h.ipad { + h.ipad[i] ^= 0x36 + } + for i := range h.opad { + h.opad[i] ^= 0x5c + } + h.inner.Write(h.ipad[:]) +} + +// ResetKey resets the HMAC-SHA256 to its initial state and then initializes it +// with the provided key. It is equivalent to creating a new instance with the +// provided key without allocating more memory. +func (h *hmacsha256) ResetKey(key []byte) { + h.inner.Reset() + h.outer.Reset() + copy(h.ipad[:], zeroInitializer) + copy(h.opad[:], zeroInitializer) + h.initKey(key) +} + +// Resets the HMAC-SHA256 to its initial state using the current key. +func (h *hmacsha256) Reset() { + h.inner.Reset() + h.inner.Write(h.ipad[:]) +} + +// Sum returns the hash of the written data. +func (h *hmacsha256) Sum() []byte { + h.outer.Reset() + h.outer.Write(h.opad[:]) + h.outer.Write(h.inner.Sum(nil)) + return h.outer.Sum(nil) +} + +// newHMACSHA256 returns a new HMAC-SHA256 hasher using the provided key. +func newHMACSHA256(key []byte) *hmacsha256 { + h := new(hmacsha256) + h.inner = sha256.New() + h.outer = sha256.New() + h.initKey(key) + return h +} + +// NonceRFC6979 generates a nonce deterministically according to RFC 6979 using +// HMAC-SHA256 for the hashing function. It takes a 32-byte hash as an input +// and returns a 32-byte nonce to be used for deterministic signing. The extra +// and version arguments are optional, but allow additional data to be added to +// the input of the HMAC. When provided, the extra data must be 32-bytes and +// version must be 16 bytes or they will be ignored. +// +// Finally, the extraIterations parameter provides a method to produce a stream +// of deterministic nonces to ensure the signing code is able to produce a nonce +// that results in a valid signature in the extremely unlikely event the +// original nonce produced results in an invalid signature (e.g. R == 0). +// Signing code should start with 0 and increment it if necessary. +func NonceRFC6979(privKey []byte, hash []byte, extra []byte, version []byte, extraIterations uint32) *ModNScalar { + // Input to HMAC is the 32-byte private key and the 32-byte hash. In + // addition, it may include the optional 32-byte extra data and 16-byte + // version. Create a fixed-size array to avoid extra allocs and slice it + // properly. + const ( + privKeyLen = 32 + hashLen = 32 + extraLen = 32 + versionLen = 16 + ) + var keyBuf [privKeyLen + hashLen + extraLen + versionLen]byte + + // Truncate rightmost bytes of private key and hash if they are too long and + // leave left padding of zeros when they're too short. + if len(privKey) > privKeyLen { + privKey = privKey[:privKeyLen] + } + if len(hash) > hashLen { + hash = hash[:hashLen] + } + offset := privKeyLen - len(privKey) // Zero left padding if needed. + offset += copy(keyBuf[offset:], privKey) + offset += hashLen - len(hash) // Zero left padding if needed. + offset += copy(keyBuf[offset:], hash) + if len(extra) == extraLen { + offset += copy(keyBuf[offset:], extra) + if len(version) == versionLen { + offset += copy(keyBuf[offset:], version) + } + } else if len(version) == versionLen { + // When the version was specified, but not the extra data, leave the + // extra data portion all zero. + offset += privKeyLen + offset += copy(keyBuf[offset:], version) + } + key := keyBuf[:offset] + + // Step B. + // + // V = 0x01 0x01 0x01 ... 0x01 such that the length of V, in bits, is + // equal to 8*ceil(hashLen/8). + // + // Note that since the hash length is a multiple of 8 for the chosen hash + // function in this optimized implementation, the result is just the hash + // length, so avoid the extra calculations. Also, since it isn't modified, + // start with a global value. + v := oneInitializer + + // Step C (Go zeroes all allocated memory). + // + // K = 0x00 0x00 0x00 ... 0x00 such that the length of K, in bits, is + // equal to 8*ceil(hashLen/8). + // + // As above, since the hash length is a multiple of 8 for the chosen hash + // function in this optimized implementation, the result is just the hash + // length, so avoid the extra calculations. + k := zeroInitializer[:hashLen] + + // Step D. + // + // K = HMAC_K(V || 0x00 || int2octets(x) || bits2octets(h1)) + // + // Note that key is the "int2octets(x) || bits2octets(h1)" portion along + // with potential additional data as described by section 3.6 of the RFC. + hasher := newHMACSHA256(k) + hasher.Write(oneInitializer) + hasher.Write(singleZero[:]) + hasher.Write(key) + k = hasher.Sum() + + // Step E. + // + // V = HMAC_K(V) + hasher.ResetKey(k) + hasher.Write(v) + v = hasher.Sum() + + // Step F. + // + // K = HMAC_K(V || 0x01 || int2octets(x) || bits2octets(h1)) + // + // Note that key is the "int2octets(x) || bits2octets(h1)" portion along + // with potential additional data as described by section 3.6 of the RFC. + hasher.Reset() + hasher.Write(v) + hasher.Write(singleOne[:]) + hasher.Write(key[:]) + k = hasher.Sum() + + // Step G. + // + // V = HMAC_K(V) + hasher.ResetKey(k) + hasher.Write(v) + v = hasher.Sum() + + // Step H. + // + // Repeat until the value is nonzero and less than the curve order. + var generated uint32 + for { + // Step H1 and H2. + // + // Set T to the empty sequence. The length of T (in bits) is denoted + // tlen; thus, at that point, tlen = 0. + // + // While tlen < qlen, do the following: + // V = HMAC_K(V) + // T = T || V + // + // Note that because the hash function output is the same length as the + // private key in this optimized implementation, there is no need to + // loop or create an intermediate T. + hasher.Reset() + hasher.Write(v) + v = hasher.Sum() + + // Step H3. + // + // k = bits2int(T) + // If k is within the range [1,q-1], return it. + // + // Otherwise, compute: + // K = HMAC_K(V || 0x00) + // V = HMAC_K(V) + var secret ModNScalar + overflow := secret.SetByteSlice(v) + if !overflow && !secret.IsZero() { + generated++ + if generated > extraIterations { + return &secret + } + } + + // K = HMAC_K(V || 0x00) + hasher.Reset() + hasher.Write(v) + hasher.Write(singleZero[:]) + k = hasher.Sum() + + // V = HMAC_K(V) + hasher.ResetKey(k) + hasher.Write(v) + v = hasher.Sum() + } +} diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/privkey.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/privkey.go new file mode 100644 index 000000000..3590346c6 --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/privkey.go @@ -0,0 +1,77 @@ +// Copyright (c) 2013-2014 The btcsuite developers +// Copyright (c) 2015-2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package secp256k1 + +import ( + "crypto/ecdsa" + "crypto/rand" +) + +// PrivateKey provides facilities for working with secp256k1 private keys within +// this package and includes functionality such as serializing and parsing them +// as well as computing their associated public key. +type PrivateKey struct { + Key ModNScalar +} + +// NewPrivateKey instantiates a new private key from a scalar encoded as a +// big integer. +func NewPrivateKey(key *ModNScalar) *PrivateKey { + return &PrivateKey{Key: *key} +} + +// PrivKeyFromBytes returns a private based on the provided byte slice which is +// interpreted as an unsigned 256-bit big-endian integer in the range [0, N-1], +// where N is the order of the curve. +// +// Note that this means passing a slice with more than 32 bytes is truncated and +// that truncated value is reduced modulo N. It is up to the caller to either +// provide a value in the appropriate range or choose to accept the described +// behavior. +// +// Typically callers should simply make use of GeneratePrivateKey when creating +// private keys which properly handles generation of appropriate values. +func PrivKeyFromBytes(privKeyBytes []byte) *PrivateKey { + var privKey PrivateKey + privKey.Key.SetByteSlice(privKeyBytes) + return &privKey +} + +// GeneratePrivateKey returns a private key that is suitable for use with +// secp256k1. +func GeneratePrivateKey() (*PrivateKey, error) { + key, err := ecdsa.GenerateKey(S256(), rand.Reader) + if err != nil { + return nil, err + } + return PrivKeyFromBytes(key.D.Bytes()), nil +} + +// PubKey computes and returns the public key corresponding to this private key. +func (p *PrivateKey) PubKey() *PublicKey { + var result JacobianPoint + ScalarBaseMultNonConst(&p.Key, &result) + result.ToAffine() + return NewPublicKey(&result.X, &result.Y) +} + +// Zero manually clears the memory associated with the private key. This can be +// used to explicitly clear key material from memory for enhanced security +// against memory scraping. +func (p *PrivateKey) Zero() { + p.Key.Zero() +} + +// PrivKeyBytesLen defines the length in bytes of a serialized private key. +const PrivKeyBytesLen = 32 + +// Serialize returns the private key as a 256-bit big-endian binary-encoded +// number, padded to a length of 32 bytes. +func (p PrivateKey) Serialize() []byte { + var privKeyBytes [PrivKeyBytesLen]byte + p.Key.PutBytes(&privKeyBytes) + return privKeyBytes[:] +} diff --git a/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/pubkey.go b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/pubkey.go new file mode 100644 index 000000000..67165833f --- /dev/null +++ b/vendor/github.com/decred/dcrd/dcrec/secp256k1/v4/pubkey.go @@ -0,0 +1,232 @@ +// Copyright (c) 2013-2014 The btcsuite developers +// Copyright (c) 2015-2021 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + +package secp256k1 + +// References: +// [SEC1] Elliptic Curve Cryptography +// https://www.secg.org/sec1-v2.pdf +// +// [SEC2] Recommended Elliptic Curve Domain Parameters +// https://www.secg.org/sec2-v2.pdf +// +// [ANSI X9.62-1998] Public Key Cryptography For The Financial Services +// Industry: The Elliptic Curve Digital Signature Algorithm (ECDSA) + +import ( + "fmt" +) + +const ( + // PubKeyBytesLenCompressed is the number of bytes of a serialized + // compressed public key. + PubKeyBytesLenCompressed = 33 + + // PubKeyBytesLenUncompressed is the number of bytes of a serialized + // uncompressed public key. + PubKeyBytesLenUncompressed = 65 + + // PubKeyFormatCompressedEven is the identifier prefix byte for a public key + // whose Y coordinate is even when serialized in the compressed format per + // section 2.3.4 of [SEC1](https://secg.org/sec1-v2.pdf#subsubsection.2.3.4). + PubKeyFormatCompressedEven byte = 0x02 + + // PubKeyFormatCompressedOdd is the identifier prefix byte for a public key + // whose Y coordinate is odd when serialized in the compressed format per + // section 2.3.4 of [SEC1](https://secg.org/sec1-v2.pdf#subsubsection.2.3.4). + PubKeyFormatCompressedOdd byte = 0x03 + + // PubKeyFormatUncompressed is the identifier prefix byte for a public key + // when serialized according in the uncompressed format per section 2.3.3 of + // [SEC1](https://secg.org/sec1-v2.pdf#subsubsection.2.3.3). + PubKeyFormatUncompressed byte = 0x04 + + // PubKeyFormatHybridEven is the identifier prefix byte for a public key + // whose Y coordinate is even when serialized according to the hybrid format + // per section 4.3.6 of [ANSI X9.62-1998]. + // + // NOTE: This format makes little sense in practice an therefore this + // package will not produce public keys serialized in this format. However, + // it will parse them since they exist in the wild. + PubKeyFormatHybridEven byte = 0x06 + + // PubKeyFormatHybridOdd is the identifier prefix byte for a public key + // whose Y coordingate is odd when serialized according to the hybrid format + // per section 4.3.6 of [ANSI X9.62-1998]. + // + // NOTE: This format makes little sense in practice an therefore this + // package will not produce public keys serialized in this format. However, + // it will parse them since they exist in the wild. + PubKeyFormatHybridOdd byte = 0x07 +) + +// PublicKey provides facilities for efficiently working with secp256k1 public +// keys within this package and includes functions to serialize in both +// uncompressed and compressed SEC (Standards for Efficient Cryptography) +// formats. +type PublicKey struct { + x FieldVal + y FieldVal +} + +// NewPublicKey instantiates a new public key with the given x and y +// coordinates. +// +// It should be noted that, unlike ParsePubKey, since this accepts arbitrary x +// and y coordinates, it allows creation of public keys that are not valid +// points on the secp256k1 curve. The IsOnCurve method of the returned instance +// can be used to determine validity. +func NewPublicKey(x, y *FieldVal) *PublicKey { + var pubKey PublicKey + pubKey.x.Set(x) + pubKey.y.Set(y) + return &pubKey +} + +// ParsePubKey parses a secp256k1 public key encoded according to the format +// specified by ANSI X9.62-1998, which means it is also compatible with the +// SEC (Standards for Efficient Cryptography) specification which is a subset of +// the former. In other words, it supports the uncompressed, compressed, and +// hybrid formats as follows: +// +// Compressed: +// <32-byte X coordinate> +// Uncompressed: +// <32-byte X coordinate><32-byte Y coordinate> +// Hybrid: +// <32-byte X coordinate><32-byte Y coordinate> +// +// NOTE: The hybrid format makes little sense in practice an therefore this +// package will not produce public keys serialized in this format. However, +// this function will properly parse them since they exist in the wild. +func ParsePubKey(serialized []byte) (key *PublicKey, err error) { + var x, y FieldVal + switch len(serialized) { + case PubKeyBytesLenUncompressed: + // Reject unsupported public key formats for the given length. + format := serialized[0] + switch format { + case PubKeyFormatUncompressed: + case PubKeyFormatHybridEven, PubKeyFormatHybridOdd: + default: + str := fmt.Sprintf("invalid public key: unsupported format: %x", + format) + return nil, makeError(ErrPubKeyInvalidFormat, str) + } + + // Parse the x and y coordinates while ensuring that they are in the + // allowed range. + if overflow := x.SetByteSlice(serialized[1:33]); overflow { + str := "invalid public key: x >= field prime" + return nil, makeError(ErrPubKeyXTooBig, str) + } + if overflow := y.SetByteSlice(serialized[33:]); overflow { + str := "invalid public key: y >= field prime" + return nil, makeError(ErrPubKeyYTooBig, str) + } + + // Ensure the oddness of the y coordinate matches the specified format + // for hybrid public keys. + if format == PubKeyFormatHybridEven || format == PubKeyFormatHybridOdd { + wantOddY := format == PubKeyFormatHybridOdd + if y.IsOdd() != wantOddY { + str := fmt.Sprintf("invalid public key: y oddness does not "+ + "match specified value of %v", wantOddY) + return nil, makeError(ErrPubKeyMismatchedOddness, str) + } + } + + // Reject public keys that are not on the secp256k1 curve. + if !isOnCurve(&x, &y) { + str := fmt.Sprintf("invalid public key: [%v,%v] not on secp256k1 "+ + "curve", x, y) + return nil, makeError(ErrPubKeyNotOnCurve, str) + } + + case PubKeyBytesLenCompressed: + // Reject unsupported public key formats for the given length. + format := serialized[0] + switch format { + case PubKeyFormatCompressedEven, PubKeyFormatCompressedOdd: + default: + str := fmt.Sprintf("invalid public key: unsupported format: %x", + format) + return nil, makeError(ErrPubKeyInvalidFormat, str) + } + + // Parse the x coordinate while ensuring that it is in the allowed + // range. + if overflow := x.SetByteSlice(serialized[1:33]); overflow { + str := "invalid public key: x >= field prime" + return nil, makeError(ErrPubKeyXTooBig, str) + } + + // Attempt to calculate the y coordinate for the given x coordinate such + // that the result pair is a point on the secp256k1 curve and the + // solution with desired oddness is chosen. + wantOddY := format == PubKeyFormatCompressedOdd + if !DecompressY(&x, wantOddY, &y) { + str := fmt.Sprintf("invalid public key: x coordinate %v is not on "+ + "the secp256k1 curve", x) + return nil, makeError(ErrPubKeyNotOnCurve, str) + } + y.Normalize() + + default: + str := fmt.Sprintf("malformed public key: invalid length: %d", + len(serialized)) + return nil, makeError(ErrPubKeyInvalidLen, str) + } + + return NewPublicKey(&x, &y), nil +} + +// SerializeUncompressed serializes a public key in the 65-byte uncompressed +// format. +func (p PublicKey) SerializeUncompressed() []byte { + // 0x04 || 32-byte x coordinate || 32-byte y coordinate + var b [PubKeyBytesLenUncompressed]byte + b[0] = PubKeyFormatUncompressed + p.x.PutBytesUnchecked(b[1:33]) + p.y.PutBytesUnchecked(b[33:65]) + return b[:] +} + +// SerializeCompressed serializes a public key in the 33-byte compressed format. +func (p PublicKey) SerializeCompressed() []byte { + // Choose the format byte depending on the oddness of the Y coordinate. + format := PubKeyFormatCompressedEven + if p.y.IsOdd() { + format = PubKeyFormatCompressedOdd + } + + // 0x02 or 0x03 || 32-byte x coordinate + var b [PubKeyBytesLenCompressed]byte + b[0] = format + p.x.PutBytesUnchecked(b[1:33]) + return b[:] +} + +// IsEqual compares this PublicKey instance to the one passed, returning true if +// both PublicKeys are equivalent. A PublicKey is equivalent to another, if they +// both have the same X and Y coordinate. +func (p *PublicKey) IsEqual(otherPubKey *PublicKey) bool { + return p.x.Equals(&otherPubKey.x) && p.y.Equals(&otherPubKey.y) +} + +// AsJacobian converts the public key into a Jacobian point with Z=1 and stores +// the result in the provided result param. This allows the public key to be +// treated a Jacobian point in the secp256k1 group in calculations. +func (p *PublicKey) AsJacobian(result *JacobianPoint) { + result.X.Set(&p.x) + result.Y.Set(&p.y) + result.Z.SetInt(1) +} + +// IsOnCurve returns whether or not the public key represents a point on the +// secp256k1 curve. +func (p *PublicKey) IsOnCurve() bool { + return isOnCurve(&p.x, &p.y) +} diff --git a/vendor/github.com/elastic/gosigar/CHANGELOG.md b/vendor/github.com/elastic/gosigar/CHANGELOG.md index 8bb96701a..ebc11d816 100644 --- a/vendor/github.com/elastic/gosigar/CHANGELOG.md +++ b/vendor/github.com/elastic/gosigar/CHANGELOG.md @@ -15,6 +15,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Deprecated +## [0.14.2] + +### Fixed + +- Fix again unsupported devices for filesystem. [#164](https://github.com/elastic/gosigar/pull/164) + ## [0.14.1] ### Fixed diff --git a/vendor/github.com/elastic/gosigar/sigar_windows.go b/vendor/github.com/elastic/gosigar/sigar_windows.go index 70abb13b5..7d9652686 100644 --- a/vendor/github.com/elastic/gosigar/sigar_windows.go +++ b/vendor/github.com/elastic/gosigar/sigar_windows.go @@ -130,7 +130,6 @@ func (self *FileSystemList) Get() error { if err != nil { return errors.Wrap(err, "GetAccessPaths failed") } - for _, drive := range drives { dt, err := windows.GetDriveType(drive) if err != nil { @@ -140,14 +139,12 @@ func (self *FileSystemList) Get() error { if err != nil { return errors.Wrapf(err, "GetFilesystemType failed") } - if fsType != "" { - self.List = append(self.List, FileSystem{ - DirName: drive, - DevName: drive, - TypeName: dt.String(), - SysTypeName: fsType, - }) - } + self.List = append(self.List, FileSystem{ + DirName: drive, + DevName: drive, + TypeName: dt.String(), + SysTypeName: fsType, + }) } return nil } diff --git a/vendor/github.com/elastic/gosigar/sys/windows/syscall_windows.go b/vendor/github.com/elastic/gosigar/sys/windows/syscall_windows.go index 12695fa6c..b5c1b064c 100644 --- a/vendor/github.com/elastic/gosigar/sys/windows/syscall_windows.go +++ b/vendor/github.com/elastic/gosigar/sys/windows/syscall_windows.go @@ -346,21 +346,17 @@ func GetDriveType(rootPathName string) (DriveType, error) { // https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getvolumeinformationw func GetFilesystemType(rootPathName string) (string, error) { rootPathNamePtr, err := syscall.UTF16PtrFromString(rootPathName) + var systemType = "unavailable" if err != nil { return "", errors.Wrapf(err, "UTF16PtrFromString failed for rootPathName=%v", rootPathName) } - buffer := make([]uint16, MAX_PATH+1) + // _GetVolumeInformation will fail for external drives like CD-ROM or other type with error codes as ERROR_NOT_READY. ERROR_INVALID_FUNCTION, ERROR_INVALID_PARAMETER, etc., these types of errors will be ignored success, err := _GetVolumeInformation(rootPathNamePtr, nil, 0, nil, nil, nil, &buffer[0], MAX_PATH) - // check if CD-ROM or other type that is not supported in GetVolumeInformation function - if err == ERROR_NOT_READY || err == ERROR_INVALID_FUNCTION { - return "", nil + if success { + systemType = strings.ToLower(syscall.UTF16ToString(buffer)) } - if !success { - return "", errors.Wrap(err, "GetVolumeInformationW failed") - } - - return strings.ToLower(syscall.UTF16ToString(buffer)), nil + return systemType, nil } // EnumProcesses retrieves the process identifier for each process object in the diff --git a/vendor/github.com/flynn/noise/state.go b/vendor/github.com/flynn/noise/state.go index 6e9577fa9..0995ec3d2 100644 --- a/vendor/github.com/flynn/noise/state.go +++ b/vendor/github.com/flynn/noise/state.go @@ -86,6 +86,11 @@ func (s *CipherState) Nonce() uint64 { return s.n } +// SetNonce sets the current value of n. +func (s *CipherState) SetNonce(n uint64) { + s.n = n +} + func (s *CipherState) Rekey() { var zeros [32]byte var out []byte @@ -448,6 +453,110 @@ func (s *HandshakeState) WriteMessage(out, payload []byte) ([]byte, *CipherState return out, nil, nil, nil } +// WriteMessageAndGetPK appends a handshake message to out. outPK can possibly contain the +// party public keys. The message will include the optional payload if provided. +// If the handshake is completed by the call, two CipherStates will be returned, +// one is used for encryption of messages to the remote peer, the other is used +// for decryption of messages from the remote peer. It is an error to call this +// method out of sync with the handshake pattern. +func (s *HandshakeState) WriteMessageAndGetPK(out []byte, outNoisePK *[][]byte, payload []byte) ([]byte, *CipherState, *CipherState, error) { + if !s.shouldWrite { + return nil, nil, nil, errors.New("noise: unexpected call to WriteMessage should be ReadMessage") + } + if s.msgIdx > len(s.messagePatterns)-1 { + return nil, nil, nil, errors.New("noise: no handshake messages left") + } + if len(payload) > MaxMsgLen { + return nil, nil, nil, errors.New("noise: message is too long") + } + + var err error + for _, msg := range s.messagePatterns[s.msgIdx] { + switch msg { + case MessagePatternE: + e, err := s.ss.cs.GenerateKeypair(s.rng) + if err != nil { + return nil, nil, nil, err + } + s.e = e + out = append(out, s.e.Public...) + if outNoisePK != nil { + *outNoisePK = append(*outNoisePK, s.e.Public) + } + s.ss.MixHash(s.e.Public) + if len(s.psk) > 0 { + s.ss.MixKey(s.e.Public) + } + case MessagePatternS: + if len(s.s.Public) == 0 { + return nil, nil, nil, errors.New("noise: invalid state, s.Public is nil") + } + out, err = s.ss.EncryptAndHash(out, s.s.Public) + if err != nil { + return nil, nil, nil, err + } + if outNoisePK != nil { + *outNoisePK = append(*outNoisePK, out) + } + case MessagePatternDHEE: + dh, err := s.ss.cs.DH(s.e.Private, s.re) + if err != nil { + return nil, nil, nil, err + } + s.ss.MixKey(dh) + case MessagePatternDHES: + if s.initiator { + dh, err := s.ss.cs.DH(s.e.Private, s.rs) + if err != nil { + return nil, nil, nil, err + } + s.ss.MixKey(dh) + } else { + dh, err := s.ss.cs.DH(s.s.Private, s.re) + if err != nil { + return nil, nil, nil, err + } + s.ss.MixKey(dh) + } + case MessagePatternDHSE: + if s.initiator { + dh, err := s.ss.cs.DH(s.s.Private, s.re) + if err != nil { + return nil, nil, nil, err + } + s.ss.MixKey(dh) + } else { + dh, err := s.ss.cs.DH(s.e.Private, s.rs) + if err != nil { + return nil, nil, nil, err + } + s.ss.MixKey(dh) + } + case MessagePatternDHSS: + dh, err := s.ss.cs.DH(s.s.Private, s.rs) + if err != nil { + return nil, nil, nil, err + } + s.ss.MixKey(dh) + case MessagePatternPSK: + s.ss.MixKeyAndHash(s.psk) + } + } + s.shouldWrite = false + s.msgIdx++ + out, err = s.ss.EncryptAndHash(out, payload) + if err != nil { + return nil, nil, nil, err + } + + if s.msgIdx >= len(s.messagePatterns) { + cs1, cs2 := s.ss.Split() + return out, cs1, cs2, nil + } + + return out, nil, nil, nil +} + // ErrShortMessage is returned by ReadMessage if a message is not as long as it should be. var ErrShortMessage = errors.New("noise: message is too short") diff --git a/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md b/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md index a438fe4b4..cc01c08f5 100644 --- a/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md +++ b/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md @@ -7,9 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.5.4] - 2022-04-25 + +* Windows: add missing defer to `Watcher.WatchList` [#447](https://github.com/fsnotify/fsnotify/pull/447) +* go.mod: use latest x/sys [#444](https://github.com/fsnotify/fsnotify/pull/444) +* Fix compilation for OpenBSD [#443](https://github.com/fsnotify/fsnotify/pull/443) + +## [1.5.3] - 2022-04-22 + +* This version is retracted. An incorrect branch is published accidentally [#445](https://github.com/fsnotify/fsnotify/issues/445) + +## [1.5.2] - 2022-04-21 + +* Add a feature to return the directories and files that are being monitored [#374](https://github.com/fsnotify/fsnotify/pull/374) +* Fix potential crash on windows if `raw.FileNameLength` exceeds `syscall.MAX_PATH` [#361](https://github.com/fsnotify/fsnotify/pull/361) +* Allow build on unsupported GOOS [#424](https://github.com/fsnotify/fsnotify/pull/424) +* Don't set `poller.fd` twice in `newFdPoller` [#406](https://github.com/fsnotify/fsnotify/pull/406) +* fix go vet warnings: call to `(*T).Fatalf` from a non-test goroutine [#416](https://github.com/fsnotify/fsnotify/pull/416) + ## [1.5.1] - 2021-08-24 -* Revert Add AddRaw to not follow symlinks +* Revert Add AddRaw to not follow symlinks [#394](https://github.com/fsnotify/fsnotify/pull/394) ## [1.5.0] - 2021-08-20 diff --git a/vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md b/vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md index 828a60b24..8a642563d 100644 --- a/vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md +++ b/vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md @@ -48,18 +48,6 @@ fsnotify uses build tags to compile different code on Linux, BSD, macOS, and Win Before doing a pull request, please do your best to test your changes on multiple platforms, and list which platforms you were able/unable to test on. -To aid in cross-platform testing there is a Vagrantfile for Linux and BSD. - -* Install [Vagrant](http://www.vagrantup.com/) and [VirtualBox](https://www.virtualbox.org/) -* Setup [Vagrant Gopher](https://github.com/nathany/vagrant-gopher) in your `src` folder. -* Run `vagrant up` from the project folder. You can also setup just one box with `vagrant up linux` or `vagrant up bsd` (note: the BSD box doesn't support Windows hosts at this time, and NFS may prompt for your host OS password) -* Once setup, you can run the test suite on a given OS with a single command `vagrant ssh linux -c 'cd fsnotify/fsnotify; go test'`. -* When you're done, you will want to halt or destroy the Vagrant boxes. - -Notice: fsnotify file system events won't trigger in shared folders. The tests get around this limitation by using the /tmp directory. - -Right now there is no equivalent solution for Windows and macOS, but there are Windows VMs [freely available from Microsoft](http://www.modern.ie/en-us/virtualization-tools#downloads). - ### Maintainers Help maintaining fsnotify is welcome. To be a maintainer: @@ -67,11 +55,6 @@ Help maintaining fsnotify is welcome. To be a maintainer: * Submit a pull request and sign the CLA as above. * You must be able to run the test suite on Mac, Windows, Linux and BSD. -To keep master clean, the fsnotify project uses the "apply mail" workflow outlined in Nathaniel Talbott's post ["Merge pull request" Considered Harmful][am]. This requires installing [hub][]. - All code changes should be internal pull requests. Releases are tagged using [Semantic Versioning](http://semver.org/). - -[hub]: https://github.com/github/hub -[am]: http://blog.spreedly.com/2014/06/24/merge-pull-request-considered-harmful/#.VGa5yZPF_Zs diff --git a/vendor/github.com/fsnotify/fsnotify/README.md b/vendor/github.com/fsnotify/fsnotify/README.md index df57b1b28..0731c5ef8 100644 --- a/vendor/github.com/fsnotify/fsnotify/README.md +++ b/vendor/github.com/fsnotify/fsnotify/README.md @@ -1,12 +1,8 @@ # File system notifications for Go -[![GoDoc](https://godoc.org/github.com/fsnotify/fsnotify?status.svg)](https://godoc.org/github.com/fsnotify/fsnotify) [![Go Report Card](https://goreportcard.com/badge/github.com/fsnotify/fsnotify)](https://goreportcard.com/report/github.com/fsnotify/fsnotify) +[![Go Reference](https://pkg.go.dev/badge/github.com/fsnotify/fsnotify.svg)](https://pkg.go.dev/github.com/fsnotify/fsnotify) [![Go Report Card](https://goreportcard.com/badge/github.com/fsnotify/fsnotify)](https://goreportcard.com/report/github.com/fsnotify/fsnotify) [![Maintainers Wanted](https://img.shields.io/badge/maintainers-wanted-red.svg)](https://github.com/fsnotify/fsnotify/issues/413) -fsnotify utilizes [golang.org/x/sys](https://godoc.org/golang.org/x/sys) rather than `syscall` from the standard library. Ensure you have the latest version installed by running: - -```console -go get -u golang.org/x/sys/... -``` +fsnotify utilizes [`golang.org/x/sys`](https://pkg.go.dev/golang.org/x/sys) rather than [`syscall`](https://pkg.go.dev/syscall) from the standard library. Cross platform: Windows, Linux, BSD and macOS. @@ -16,22 +12,20 @@ Cross platform: Windows, Linux, BSD and macOS. | kqueue | BSD, macOS, iOS\* | Supported | | ReadDirectoryChangesW | Windows | Supported | | FSEvents | macOS | [Planned](https://github.com/fsnotify/fsnotify/issues/11) | -| FEN | Solaris 11 | [In Progress](https://github.com/fsnotify/fsnotify/issues/12) | -| fanotify | Linux 2.6.37+ | [Planned](https://github.com/fsnotify/fsnotify/issues/114) | +| FEN | Solaris 11 | [In Progress](https://github.com/fsnotify/fsnotify/pull/371) | +| fanotify | Linux 2.6.37+ | [Maybe](https://github.com/fsnotify/fsnotify/issues/114) | | USN Journals | Windows | [Maybe](https://github.com/fsnotify/fsnotify/issues/53) | | Polling | *All* | [Maybe](https://github.com/fsnotify/fsnotify/issues/9) | \* Android and iOS are untested. -Please see [the documentation](https://godoc.org/github.com/fsnotify/fsnotify) and consult the [FAQ](#faq) for usage information. +Please see [the documentation](https://pkg.go.dev/github.com/fsnotify/fsnotify) and consult the [FAQ](#faq) for usage information. ## API stability -fsnotify is a fork of [howeyc/fsnotify](https://godoc.org/github.com/howeyc/fsnotify) with a new API as of v1.0. The API is based on [this design document](http://goo.gl/MrYxyA). +fsnotify is a fork of [howeyc/fsnotify](https://github.com/howeyc/fsnotify) with a new API as of v1.0. The API is based on [this design document](http://goo.gl/MrYxyA). -All [releases](https://github.com/fsnotify/fsnotify/releases) are tagged based on [Semantic Versioning](http://semver.org/). Further API changes are [planned](https://github.com/fsnotify/fsnotify/milestones), and will be tagged with a new major revision number. - -Go 1.6 supports dependencies located in the `vendor/` folder. Unless you are creating a library, it is recommended that you copy fsnotify into `vendor/github.com/fsnotify/fsnotify` within your project, and likewise for `golang.org/x/sys`. +All [releases](https://github.com/fsnotify/fsnotify/releases) are tagged based on [Semantic Versioning](http://semver.org/). ## Usage @@ -84,10 +78,6 @@ func main() { Please refer to [CONTRIBUTING][] before opening an issue or pull request. -## Example - -See [example_test.go](https://github.com/fsnotify/fsnotify/blob/master/example_test.go). - ## FAQ **When a file is moved to another directory is it still being watched?** diff --git a/vendor/github.com/fsnotify/fsnotify/fsnotify_unsupported.go b/vendor/github.com/fsnotify/fsnotify/fsnotify_unsupported.go new file mode 100644 index 000000000..596885598 --- /dev/null +++ b/vendor/github.com/fsnotify/fsnotify/fsnotify_unsupported.go @@ -0,0 +1,36 @@ +// Copyright 2022 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build !darwin && !dragonfly && !freebsd && !openbsd && !linux && !netbsd && !solaris && !windows +// +build !darwin,!dragonfly,!freebsd,!openbsd,!linux,!netbsd,!solaris,!windows + +package fsnotify + +import ( + "fmt" + "runtime" +) + +// Watcher watches a set of files, delivering events to a channel. +type Watcher struct{} + +// NewWatcher establishes a new watcher with the underlying OS and begins waiting for events. +func NewWatcher() (*Watcher, error) { + return nil, fmt.Errorf("fsnotify not supported on %s", runtime.GOOS) +} + +// Close removes all watches and closes the events channel. +func (w *Watcher) Close() error { + return nil +} + +// Add starts watching the named file or directory (non-recursively). +func (w *Watcher) Add(name string) error { + return nil +} + +// Remove stops watching the the named file or directory (non-recursively). +func (w *Watcher) Remove(name string) error { + return nil +} diff --git a/vendor/github.com/fsnotify/fsnotify/inotify.go b/vendor/github.com/fsnotify/fsnotify/inotify.go index eb87699b5..a6d0e0ec8 100644 --- a/vendor/github.com/fsnotify/fsnotify/inotify.go +++ b/vendor/github.com/fsnotify/fsnotify/inotify.go @@ -163,6 +163,19 @@ func (w *Watcher) Remove(name string) error { return nil } +// WatchList returns the directories and files that are being monitered. +func (w *Watcher) WatchList() []string { + w.mu.Lock() + defer w.mu.Unlock() + + entries := make([]string, 0, len(w.watches)) + for pathname := range w.watches { + entries = append(entries, pathname) + } + + return entries +} + type watch struct { wd uint32 // Watch descriptor (as returned by the inotify_add_watch() syscall) flags uint32 // inotify flags of this watch (see inotify(7) for the list of valid flags) diff --git a/vendor/github.com/fsnotify/fsnotify/inotify_poller.go b/vendor/github.com/fsnotify/fsnotify/inotify_poller.go index e9ff9439f..b572a37c3 100644 --- a/vendor/github.com/fsnotify/fsnotify/inotify_poller.go +++ b/vendor/github.com/fsnotify/fsnotify/inotify_poller.go @@ -38,7 +38,6 @@ func newFdPoller(fd int) (*fdPoller, error) { poller.close() } }() - poller.fd = fd // Create epoll fd poller.epfd, errno = unix.EpollCreate1(unix.EPOLL_CLOEXEC) diff --git a/vendor/github.com/fsnotify/fsnotify/kqueue.go b/vendor/github.com/fsnotify/fsnotify/kqueue.go index 368f5b790..6fb8d8532 100644 --- a/vendor/github.com/fsnotify/fsnotify/kqueue.go +++ b/vendor/github.com/fsnotify/fsnotify/kqueue.go @@ -148,6 +148,19 @@ func (w *Watcher) Remove(name string) error { return nil } +// WatchList returns the directories and files that are being monitered. +func (w *Watcher) WatchList() []string { + w.mu.Lock() + defer w.mu.Unlock() + + entries := make([]string, 0, len(w.watches)) + for pathname := range w.watches { + entries = append(entries, pathname) + } + + return entries +} + // Watch all events (except NOTE_EXTEND, NOTE_LINK, NOTE_REVOKE) const noteAllEvents = unix.NOTE_DELETE | unix.NOTE_WRITE | unix.NOTE_ATTRIB | unix.NOTE_RENAME diff --git a/vendor/github.com/fsnotify/fsnotify/windows.go b/vendor/github.com/fsnotify/fsnotify/windows.go index c02b75f7c..02ce7deb0 100644 --- a/vendor/github.com/fsnotify/fsnotify/windows.go +++ b/vendor/github.com/fsnotify/fsnotify/windows.go @@ -12,6 +12,7 @@ import ( "fmt" "os" "path/filepath" + "reflect" "runtime" "sync" "syscall" @@ -96,6 +97,21 @@ func (w *Watcher) Remove(name string) error { return <-in.reply } +// WatchList returns the directories and files that are being monitered. +func (w *Watcher) WatchList() []string { + w.mu.Lock() + defer w.mu.Unlock() + + entries := make([]string, 0, len(w.watches)) + for _, entry := range w.watches { + for _, watchEntry := range entry { + entries = append(entries, watchEntry.path) + } + } + + return entries +} + const ( // Options for AddWatch sysFSONESHOT = 0x80000000 @@ -452,8 +468,16 @@ func (w *Watcher) readEvents() { // Point "raw" to the event in the buffer raw := (*syscall.FileNotifyInformation)(unsafe.Pointer(&watch.buf[offset])) - buf := (*[syscall.MAX_PATH]uint16)(unsafe.Pointer(&raw.FileName)) - name := syscall.UTF16ToString(buf[:raw.FileNameLength/2]) + // TODO: Consider using unsafe.Slice that is available from go1.17 + // https://stackoverflow.com/questions/51187973/how-to-create-an-array-or-a-slice-from-an-array-unsafe-pointer-in-golang + // instead of using a fixed syscall.MAX_PATH buf, we create a buf that is the size of the path name + size := int(raw.FileNameLength / 2) + var buf []uint16 + sh := (*reflect.SliceHeader)(unsafe.Pointer(&buf)) + sh.Data = uintptr(unsafe.Pointer(&raw.FileName)) + sh.Len = size + sh.Cap = size + name := syscall.UTF16ToString(buf) fullname := filepath.Join(watch.path, name) var mask uint64 diff --git a/vendor/github.com/go-playground/locales/README.md b/vendor/github.com/go-playground/locales/README.md index ba1b0680c..5b0694fd1 100644 --- a/vendor/github.com/go-playground/locales/README.md +++ b/vendor/github.com/go-playground/locales/README.md @@ -1,5 +1,5 @@ ## locales -![Project status](https://img.shields.io/badge/version-0.13.0-green.svg) +![Project status](https://img.shields.io/badge/version-0.14.0-green.svg) [![Build Status](https://travis-ci.org/go-playground/locales.svg?branch=master)](https://travis-ci.org/go-playground/locales) [![Go Report Card](https://goreportcard.com/badge/github.com/go-playground/locales)](https://goreportcard.com/report/github.com/go-playground/locales) [![GoDoc](https://godoc.org/github.com/go-playground/locales?status.svg)](https://godoc.org/github.com/go-playground/locales) @@ -11,7 +11,7 @@ an i18n package; these were built for use with, but not exclusive to, [Universal Features -------- -- [x] Rules generated from the latest [CLDR](http://cldr.unicode.org/index/downloads) data, v31.0.1 +- [x] Rules generated from the latest [CLDR](http://cldr.unicode.org/index/downloads) data, v36.0.1 - [x] Contains Cardinal, Ordinal and Range Plural Rules - [x] Contains Month, Weekday and Timezone translations built in - [x] Contains Date & Time formatting functions diff --git a/vendor/github.com/go-playground/locales/currency/currency.go b/vendor/github.com/go-playground/locales/currency/currency.go index cdaba596b..b5a95fb07 100644 --- a/vendor/github.com/go-playground/locales/currency/currency.go +++ b/vendor/github.com/go-playground/locales/currency/currency.go @@ -176,6 +176,7 @@ const ( MNT MOP MRO + MRU MTL MTP MUR @@ -262,9 +263,11 @@ const ( UYI UYP UYU + UYW UZS VEB VEF + VES VND VNN VUV diff --git a/vendor/github.com/go-playground/universal-translator/Makefile b/vendor/github.com/go-playground/universal-translator/Makefile new file mode 100644 index 000000000..ec3455bd5 --- /dev/null +++ b/vendor/github.com/go-playground/universal-translator/Makefile @@ -0,0 +1,18 @@ +GOCMD=GO111MODULE=on go + +linters-install: + @golangci-lint --version >/dev/null 2>&1 || { \ + echo "installing linting tools..."; \ + curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.41.1; \ + } + +lint: linters-install + golangci-lint run + +test: + $(GOCMD) test -cover -race ./... + +bench: + $(GOCMD) test -bench=. -benchmem ./... + +.PHONY: test lint linters-install \ No newline at end of file diff --git a/vendor/github.com/go-playground/universal-translator/README.md b/vendor/github.com/go-playground/universal-translator/README.md index 071f33ab2..46dec6d2b 100644 --- a/vendor/github.com/go-playground/universal-translator/README.md +++ b/vendor/github.com/go-playground/universal-translator/README.md @@ -1,5 +1,5 @@ ## universal-translator -![Project status](https://img.shields.io/badge/version-0.17.0-green.svg) +![Project status](https://img.shields.io/badge/version-0.18.0-green.svg) [![Build Status](https://travis-ci.org/go-playground/universal-translator.svg?branch=master)](https://travis-ci.org/go-playground/universal-translator) [![Coverage Status](https://coveralls.io/repos/github/go-playground/universal-translator/badge.svg)](https://coveralls.io/github/go-playground/universal-translator) [![Go Report Card](https://goreportcard.com/badge/github.com/go-playground/universal-translator)](https://goreportcard.com/report/github.com/go-playground/universal-translator) @@ -18,7 +18,7 @@ use in your applications. Features -------- -- [x] Rules generated from the [CLDR](http://cldr.unicode.org/index/downloads) data, v30.0.3 +- [x] Rules generated from the [CLDR](http://cldr.unicode.org/index/downloads) data, v36.0.1 - [x] Contains Cardinal, Ordinal and Range Plural Rules - [x] Contains Month, Weekday and Timezone translations built in - [x] Contains Date & Time formatting functions @@ -51,7 +51,7 @@ Please see https://godoc.org/github.com/go-playground/universal-translator for u File formatting -------------- -All types, Plain substitution, Cardinal, Ordinal and Range translations can all be contained withing the same file(s); +All types, Plain substitution, Cardinal, Ordinal and Range translations can all be contained within the same file(s); they are only separated for easy viewing. ##### Examples: diff --git a/vendor/github.com/go-playground/universal-translator/import_export.go b/vendor/github.com/go-playground/universal-translator/import_export.go index 7bd76f26b..1216f1923 100644 --- a/vendor/github.com/go-playground/universal-translator/import_export.go +++ b/vendor/github.com/go-playground/universal-translator/import_export.go @@ -257,6 +257,8 @@ func (t *UniversalTranslator) ImportByReader(format ImportExportFormat, reader i func stringToPR(s string) locales.PluralRule { switch s { + case "Zero": + return locales.PluralRuleZero case "One": return locales.PluralRuleOne case "Two": diff --git a/vendor/github.com/go-playground/universal-translator/translator.go b/vendor/github.com/go-playground/universal-translator/translator.go index cfafce8a0..24b18db92 100644 --- a/vendor/github.com/go-playground/universal-translator/translator.go +++ b/vendor/github.com/go-playground/universal-translator/translator.go @@ -159,13 +159,13 @@ func (t *translator) AddCardinal(key interface{}, text string, rule locales.Plur } } else { - tarr = make([]*transText, 7, 7) + tarr = make([]*transText, 7) t.cardinalTanslations[key] = tarr } trans := &transText{ text: text, - indexes: make([]int, 2, 2), + indexes: make([]int, 2), } tarr[rule] = trans @@ -211,13 +211,13 @@ func (t *translator) AddOrdinal(key interface{}, text string, rule locales.Plura } } else { - tarr = make([]*transText, 7, 7) + tarr = make([]*transText, 7) t.ordinalTanslations[key] = tarr } trans := &transText{ text: text, - indexes: make([]int, 2, 2), + indexes: make([]int, 2), } tarr[rule] = trans @@ -261,13 +261,13 @@ func (t *translator) AddRange(key interface{}, text string, rule locales.PluralR } } else { - tarr = make([]*transText, 7, 7) + tarr = make([]*transText, 7) t.rangeTanslations[key] = tarr } trans := &transText{ text: text, - indexes: make([]int, 4, 4), + indexes: make([]int, 4), } tarr[rule] = trans diff --git a/vendor/github.com/godbus/dbus/v5/.travis.yml b/vendor/github.com/godbus/dbus/v5/.travis.yml deleted file mode 100644 index dd6767204..000000000 --- a/vendor/github.com/godbus/dbus/v5/.travis.yml +++ /dev/null @@ -1,50 +0,0 @@ -dist: bionic -language: go -go_import_path: github.com/godbus/dbus - -go: - - 1.11.x - - 1.12.x - - 1.13.x - - tip - -matrix: - fast_finish: true - allow_failures: - - go: tip - -addons: - apt: - packages: - - dbus - - dbus-x11 - -before_install: - - export GO111MODULE=on - -script: - - go test -v -race -mod=readonly ./... # Run all the tests with the race detector enabled - - go vet ./... # go vet is the official Go static analyzer - -jobs: - include: - # The build matrix doesn't cover build stages, so manually expand - # the jobs with anchors - - &multiarch - stage: "Multiarch Test" - go: 1.11.x - env: TARGETS="386 arm arm64 ppc64le" - before_install: - - docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - script: - - | - set -e - for target in $TARGETS; do - printf "\e[1mRunning test suite under ${target}.\e[0m\n" - GOARCH="$target" go test -v ./... - printf "\n\n" - done - - <<: *multiarch - go: 1.12.x - - <<: *multiarch - go: 1.13.x diff --git a/vendor/github.com/godbus/dbus/v5/README.markdown b/vendor/github.com/godbus/dbus/v5/README.md similarity index 66% rename from vendor/github.com/godbus/dbus/v5/README.markdown rename to vendor/github.com/godbus/dbus/v5/README.md index fd2964875..5c2412583 100644 --- a/vendor/github.com/godbus/dbus/v5/README.markdown +++ b/vendor/github.com/godbus/dbus/v5/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/godbus/dbus.svg?branch=master)](https://travis-ci.org/godbus/dbus) +![Build Status](https://github.com/godbus/dbus/workflows/Go/badge.svg) dbus ---- @@ -14,14 +14,12 @@ D-Bus message bus system. ### Installation -This packages requires Go 1.7. If you installed it and set up your GOPATH, just run: +This packages requires Go 1.12 or later. It can be installed by running the command below: ``` -go get github.com/godbus/dbus +go get github.com/godbus/dbus/v5 ``` -If you want to use the subpackages, you can install them the same way. - ### Usage The complete package documentation and some simple examples are available at @@ -30,8 +28,12 @@ The complete package documentation and some simple examples are available at gives a short overview over the basic usage. #### Projects using godbus -- [notify](https://github.com/esiqveland/notify) provides desktop notifications over dbus into a library. +- [fyne](https://github.com/fyne-io/fyne) a cross platform GUI in Go inspired by Material Design. +- [fynedesk](https://github.com/fyne-io/fynedesk) a full desktop environment for Linux/Unix using Fyne. - [go-bluetooth](https://github.com/muka/go-bluetooth) provides a bluetooth client over bluez dbus API. +- [iwd](https://github.com/shibumi/iwd) go bindings for the internet wireless daemon "iwd". +- [notify](https://github.com/esiqveland/notify) provides desktop notifications over dbus into a library. +- [playerbm](https://github.com/altdesktop/playerbm) a bookmark utility for media players. Please note that the API is considered unstable for now and may change without further notice. diff --git a/vendor/github.com/godbus/dbus/v5/auth.go b/vendor/github.com/godbus/dbus/v5/auth.go index 31abac629..0f3b252c0 100644 --- a/vendor/github.com/godbus/dbus/v5/auth.go +++ b/vendor/github.com/godbus/dbus/v5/auth.go @@ -37,7 +37,7 @@ const ( // Auth defines the behaviour of an authentication mechanism. type Auth interface { - // Return the name of the mechnism, the argument to the first AUTH command + // Return the name of the mechanism, the argument to the first AUTH command // and the next status. FirstData() (name, resp []byte, status AuthStatus) @@ -53,7 +53,7 @@ type Auth interface { // bus. Auth must not be called on shared connections. func (conn *Conn) Auth(methods []Auth) error { if methods == nil { - uid := strconv.Itoa(os.Getuid()) + uid := strconv.Itoa(os.Geteuid()) methods = []Auth{AuthExternal(uid), AuthCookieSha1(uid, getHomeDir())} } in := bufio.NewReader(conn.transport) @@ -75,9 +75,9 @@ func (conn *Conn) Auth(methods []Auth) error { s = s[1:] for _, v := range s { for _, m := range methods { - if name, data, status := m.FirstData(); bytes.Equal(v, name) { + if name, _, status := m.FirstData(); bytes.Equal(v, name) { var ok bool - err = authWriteLine(conn.transport, []byte("AUTH"), v, data) + err = authWriteLine(conn.transport, []byte("AUTH"), v) if err != nil { return err } @@ -176,9 +176,10 @@ func (conn *Conn) tryAuth(m Auth, state authState, in *bufio.Reader) (error, boo return err, false } state = waitingForReject + } else { + conn.uuid = string(s[1]) + return nil, true } - conn.uuid = string(s[1]) - return nil, true case state == waitingForData: err = authWriteLine(conn.transport, []byte("ERROR")) if err != nil { @@ -191,14 +192,18 @@ func (conn *Conn) tryAuth(m Auth, state authState, in *bufio.Reader) (error, boo return err, false } state = waitingForReject + } else { + conn.uuid = string(s[1]) + return nil, true + } + case state == waitingForOk && string(s[0]) == "DATA": + err = authWriteLine(conn.transport, []byte("DATA")) + if err != nil { + return err, false } - conn.uuid = string(s[1]) - return nil, true case state == waitingForOk && string(s[0]) == "REJECTED": return nil, false - case state == waitingForOk && (string(s[0]) == "DATA" || - string(s[0]) == "ERROR"): - + case state == waitingForOk && string(s[0]) == "ERROR": err = authWriteLine(conn.transport, []byte("CANCEL")) if err != nil { return err, false diff --git a/vendor/github.com/godbus/dbus/v5/call.go b/vendor/github.com/godbus/dbus/v5/call.go index 2cb189012..b06b06358 100644 --- a/vendor/github.com/godbus/dbus/v5/call.go +++ b/vendor/github.com/godbus/dbus/v5/call.go @@ -24,6 +24,15 @@ type Call struct { // Holds the response once the call is done. Body []interface{} + // ResponseSequence stores the sequence number of the DBus message containing + // the call response (or error). This can be compared to the sequence number + // of other call responses and signals on this connection to determine their + // relative ordering on the underlying DBus connection. + // For errors, ResponseSequence is populated only if the error came from a + // DBusMessage that was received or if there was an error receiving. In case of + // failure to make the call, ResponseSequence will be NoSequence. + ResponseSequence Sequence + // tracks context and canceler ctx context.Context ctxCanceler context.CancelFunc diff --git a/vendor/github.com/godbus/dbus/v5/conn.go b/vendor/github.com/godbus/dbus/v5/conn.go index b55bc99c8..69978ea26 100644 --- a/vendor/github.com/godbus/dbus/v5/conn.go +++ b/vendor/github.com/godbus/dbus/v5/conn.go @@ -45,6 +45,7 @@ type Conn struct { serialGen SerialGenerator inInt Interceptor outInt Interceptor + auth []Auth names *nameTracker calls *callTracker @@ -59,7 +60,8 @@ type Conn struct { func SessionBus() (conn *Conn, err error) { sessionBusLck.Lock() defer sessionBusLck.Unlock() - if sessionBus != nil { + if sessionBus != nil && + sessionBus.Connected() { return sessionBus, nil } defer func() { @@ -67,23 +69,11 @@ func SessionBus() (conn *Conn, err error) { sessionBus = conn } }() - conn, err = SessionBusPrivate() - if err != nil { - return - } - if err = conn.Auth(nil); err != nil { - conn.Close() - conn = nil - return - } - if err = conn.Hello(); err != nil { - conn.Close() - conn = nil - } + conn, err = ConnectSessionBus() return } -func getSessionBusAddress() (string, error) { +func getSessionBusAddress(autolaunch bool) (string, error) { if address := os.Getenv("DBUS_SESSION_BUS_ADDRESS"); address != "" && address != "autolaunch:" { return address, nil @@ -91,12 +81,26 @@ func getSessionBusAddress() (string, error) { os.Setenv("DBUS_SESSION_BUS_ADDRESS", address) return address, nil } + if !autolaunch { + return "", errors.New("dbus: couldn't determine address of session bus") + } return getSessionBusPlatformAddress() } // SessionBusPrivate returns a new private connection to the session bus. func SessionBusPrivate(opts ...ConnOption) (*Conn, error) { - address, err := getSessionBusAddress() + address, err := getSessionBusAddress(true) + if err != nil { + return nil, err + } + + return Dial(address, opts...) +} + +// SessionBusPrivate returns a new private connection to the session bus. If +// the session bus is not already open, do not attempt to launch it. +func SessionBusPrivateNoAutoStartup(opts ...ConnOption) (*Conn, error) { + address, err := getSessionBusAddress(false) if err != nil { return nil, err } @@ -116,7 +120,8 @@ func SessionBusPrivateHandler(handler Handler, signalHandler SignalHandler) (*Co func SystemBus() (conn *Conn, err error) { systemBusLck.Lock() defer systemBusLck.Unlock() - if systemBus != nil { + if systemBus != nil && + systemBus.Connected() { return systemBus, nil } defer func() { @@ -124,25 +129,47 @@ func SystemBus() (conn *Conn, err error) { systemBus = conn } }() - conn, err = SystemBusPrivate() + conn, err = ConnectSystemBus() + return +} + +// ConnectSessionBus connects to the session bus. +func ConnectSessionBus(opts ...ConnOption) (*Conn, error) { + address, err := getSessionBusAddress(true) if err != nil { - return + return nil, err } - if err = conn.Auth(nil); err != nil { - conn.Close() - conn = nil - return + return Connect(address, opts...) +} + +// ConnectSystemBus connects to the system bus. +func ConnectSystemBus(opts ...ConnOption) (*Conn, error) { + return Connect(getSystemBusPlatformAddress(), opts...) +} + +// Connect connects to the given address. +// +// Returned connection is ready to use and doesn't require calling +// Auth and Hello methods to make it usable. +func Connect(address string, opts ...ConnOption) (*Conn, error) { + conn, err := Dial(address, opts...) + if err != nil { + return nil, err + } + if err = conn.Auth(conn.auth); err != nil { + _ = conn.Close() + return nil, err } if err = conn.Hello(); err != nil { - conn.Close() - conn = nil + _ = conn.Close() + return nil, err } - return + return conn, nil } // SystemBusPrivate returns a new private connection to the system bus. // Note: this connection is not ready to use. One must perform Auth and Hello -// on the connection before it is useable. +// on the connection before it is usable. func SystemBusPrivate(opts ...ConnOption) (*Conn, error) { return Dial(getSystemBusPlatformAddress(), opts...) } @@ -167,7 +194,7 @@ func Dial(address string, opts ...ConnOption) (*Conn, error) { // // Deprecated: use Dial with options instead. func DialHandler(address string, handler Handler, signalHandler SignalHandler) (*Conn, error) { - return Dial(address, WithSignalHandler(signalHandler)) + return Dial(address, WithHandler(handler), WithSignalHandler(signalHandler)) } // ConnOption is a connection option. @@ -197,6 +224,14 @@ func WithSerialGenerator(gen SerialGenerator) ConnOption { } } +// WithAuth sets authentication methods for the auth conversation. +func WithAuth(methods ...Auth) ConnOption { + return func(conn *Conn) error { + conn.auth = methods + return nil + } +} + // Interceptor intercepts incoming and outgoing messages. type Interceptor func(msg *Message) @@ -249,10 +284,6 @@ func newConn(tr transport, opts ...ConnOption) (*Conn, error) { conn.ctx = context.Background() } conn.ctx, conn.cancelCtx = context.WithCancel(conn.ctx) - go func() { - <-conn.ctx.Done() - conn.Close() - }() conn.calls = newCallTracker() if conn.handler == nil { @@ -267,6 +298,11 @@ func newConn(tr transport, opts ...ConnOption) (*Conn, error) { conn.outHandler = &outputHandler{conn: conn} conn.names = newNameTracker() conn.busObj = conn.Object("org.freedesktop.DBus", "/org/freedesktop/DBus") + + go func() { + <-conn.ctx.Done() + conn.Close() + }() return conn, nil } @@ -309,6 +345,11 @@ func (conn *Conn) Context() context.Context { return conn.ctx } +// Connected returns whether conn is connected +func (conn *Conn) Connected() bool { + return conn.ctx.Err() == nil +} + // Eavesdrop causes conn to send all incoming messages to the given channel // without further processing. Method replies, errors and signals will not be // sent to the appropriate channels and method calls will not be handled. If nil @@ -342,8 +383,9 @@ func (conn *Conn) Hello() error { } // inWorker runs in an own goroutine, reading incoming messages from the -// transport and dispatching them appropiately. +// transport and dispatching them appropriately. func (conn *Conn) inWorker() { + sequenceGen := newSequenceGenerator() for { msg, err := conn.ReadMessage() if err != nil { @@ -352,7 +394,7 @@ func (conn *Conn) inWorker() { // anything but to shut down all stuff and returns errors to all // pending replies. conn.Close() - conn.calls.finalizeAllWithError(err) + conn.calls.finalizeAllWithError(sequenceGen, err) return } // invalid messages are ignored @@ -381,13 +423,14 @@ func (conn *Conn) inWorker() { if conn.inInt != nil { conn.inInt(msg) } + sequence := sequenceGen.next() switch msg.Type { case TypeError: - conn.serialGen.RetireSerial(conn.calls.handleDBusError(msg)) + conn.serialGen.RetireSerial(conn.calls.handleDBusError(sequence, msg)) case TypeMethodReply: - conn.serialGen.RetireSerial(conn.calls.handleReply(msg)) + conn.serialGen.RetireSerial(conn.calls.handleReply(sequence, msg)) case TypeSignal: - conn.handleSignal(msg) + conn.handleSignal(sequence, msg) case TypeMethodCall: go conn.handleCall(msg) } @@ -395,7 +438,7 @@ func (conn *Conn) inWorker() { } } -func (conn *Conn) handleSignal(msg *Message) { +func (conn *Conn) handleSignal(sequence Sequence, msg *Message) { iface := msg.Headers[FieldInterface].value.(string) member := msg.Headers[FieldMember].value.(string) // as per http://dbus.freedesktop.org/doc/dbus-specification.html , @@ -421,10 +464,11 @@ func (conn *Conn) handleSignal(msg *Message) { } } signal := &Signal{ - Sender: sender, - Path: msg.Headers[FieldPath].value.(ObjectPath), - Name: iface + "." + member, - Body: msg.Body, + Sender: sender, + Path: msg.Headers[FieldPath].value.(ObjectPath), + Name: iface + "." + member, + Body: msg.Body, + Sequence: sequence, } conn.signalHandler.DeliverSignal(iface, member, signal) } @@ -442,18 +486,31 @@ func (conn *Conn) Object(dest string, path ObjectPath) BusObject { } func (conn *Conn) sendMessageAndIfClosed(msg *Message, ifClosed func()) { + if msg.serial == 0 { + msg.serial = conn.getSerial() + } if conn.outInt != nil { conn.outInt(msg) } err := conn.outHandler.sendAndIfClosed(msg, ifClosed) - conn.calls.handleSendError(msg, err) if err != nil { - conn.serialGen.RetireSerial(msg.serial) + conn.handleSendError(msg, err) } else if msg.Type != TypeMethodCall { conn.serialGen.RetireSerial(msg.serial) } } +func (conn *Conn) handleSendError(msg *Message, err error) { + if msg.Type == TypeMethodCall { + conn.calls.handleSendError(msg, err) + } else if msg.Type == TypeMethodReply { + if _, ok := err.(FormatError); ok { + conn.sendError(err, msg.Headers[FieldDestination].value.(string), msg.Headers[FieldReplySerial].value.(uint32)) + } + } + conn.serialGen.RetireSerial(msg.serial) +} + // Send sends the given message to the message bus. You usually don't need to // use this; use the higher-level equivalents (Call / Go, Emit and Export) // instead. If msg is a method call and NoReplyExpected is not set, a non-nil @@ -473,16 +530,16 @@ func (conn *Conn) send(ctx context.Context, msg *Message, ch chan *Call) *Call { if ctx == nil { panic("nil context") } + if ch == nil { + ch = make(chan *Call, 1) + } else if cap(ch) == 0 { + panic("dbus: unbuffered channel passed to (*Conn).Send") + } var call *Call ctx, canceler := context.WithCancel(ctx) msg.serial = conn.getSerial() if msg.Type == TypeMethodCall && msg.Flags&FlagNoReplyExpected == 0 { - if ch == nil { - ch = make(chan *Call, 5) - } else if cap(ch) == 0 { - panic("dbus: unbuffered channel passed to (*Conn).Send") - } call = new(Call) call.Destination, _ = msg.Headers[FieldDestination].value.(string) call.Path, _ = msg.Headers[FieldPath].value.(ObjectPath) @@ -494,6 +551,11 @@ func (conn *Conn) send(ctx context.Context, msg *Message, ch chan *Call) *Call { call.ctx = ctx call.ctxCanceler = canceler conn.calls.track(msg.serial, call) + if ctx.Err() != nil { + // short path: don't even send the message if context already cancelled + conn.calls.handleSendError(msg, ctx.Err()) + return call + } go func() { <-ctx.Done() conn.calls.handleSendError(msg, ctx.Err()) @@ -504,7 +566,8 @@ func (conn *Conn) send(ctx context.Context, msg *Message, ch chan *Call) *Call { }) } else { canceler() - call = &Call{Err: nil} + call = &Call{Err: nil, Done: ch} + ch <- call conn.sendMessageAndIfClosed(msg, func() { call = &Call{Err: ErrClosed} }) @@ -529,7 +592,6 @@ func (conn *Conn) sendError(err error, dest string, serial uint32) { } msg := new(Message) msg.Type = TypeError - msg.serial = conn.getSerial() msg.Headers = make(map[HeaderField]Variant) if dest != "" { msg.Headers[FieldDestination] = MakeVariant(dest) @@ -548,7 +610,6 @@ func (conn *Conn) sendError(err error, dest string, serial uint32) { func (conn *Conn) sendReply(dest string, serial uint32, values ...interface{}) { msg := new(Message) msg.Type = TypeMethodReply - msg.serial = conn.getSerial() msg.Headers = make(map[HeaderField]Variant) if dest != "" { msg.Headers[FieldDestination] = MakeVariant(dest) @@ -564,8 +625,14 @@ func (conn *Conn) sendReply(dest string, serial uint32, values ...interface{}) { // AddMatchSignal registers the given match rule to receive broadcast // signals based on their contents. func (conn *Conn) AddMatchSignal(options ...MatchOption) error { + return conn.AddMatchSignalContext(context.Background(), options...) +} + +// AddMatchSignalContext acts like AddMatchSignal but takes a context. +func (conn *Conn) AddMatchSignalContext(ctx context.Context, options ...MatchOption) error { options = append([]MatchOption{withMatchType("signal")}, options...) - return conn.busObj.Call( + return conn.busObj.CallWithContext( + ctx, "org.freedesktop.DBus.AddMatch", 0, formatMatchOptions(options), ).Store() @@ -573,8 +640,14 @@ func (conn *Conn) AddMatchSignal(options ...MatchOption) error { // RemoveMatchSignal removes the first rule that matches previously registered with AddMatchSignal. func (conn *Conn) RemoveMatchSignal(options ...MatchOption) error { + return conn.RemoveMatchSignalContext(context.Background(), options...) +} + +// RemoveMatchSignalContext acts like RemoveMatchSignal but takes a context. +func (conn *Conn) RemoveMatchSignalContext(ctx context.Context, options ...MatchOption) error { options = append([]MatchOption{withMatchType("signal")}, options...) - return conn.busObj.Call( + return conn.busObj.CallWithContext( + ctx, "org.freedesktop.DBus.RemoveMatch", 0, formatMatchOptions(options), ).Store() @@ -582,7 +655,9 @@ func (conn *Conn) RemoveMatchSignal(options ...MatchOption) error { // Signal registers the given channel to be passed all received signal messages. // -// Multiple of these channels can be registered at the same time. +// Multiple of these channels can be registered at the same time. The channel is +// closed if the Conn is closed; it should not be closed by the caller before +// RemoveSignal was called on it. // // These channels are "overwritten" by Eavesdrop; i.e., if there currently is a // channel for eavesdropped messages, this channel receives all signals, and @@ -639,10 +714,11 @@ func (e Error) Error() string { // Signal represents a D-Bus message of type Signal. The name member is given in // "interface.member" notation, e.g. org.freedesktop.D-Bus.NameLost. type Signal struct { - Sender string - Path ObjectPath - Name string - Body []interface{} + Sender string + Path ObjectPath + Name string + Body []interface{} + Sequence Sequence } // transport is a D-Bus transport. @@ -697,7 +773,12 @@ func getKey(s, key string) string { for _, keyEqualsValue := range strings.Split(s, ",") { keyValue := strings.SplitN(keyEqualsValue, "=", 2) if len(keyValue) == 2 && keyValue[0] == key { - return keyValue[1] + val, err := UnescapeBusAddressValue(keyValue[1]) + if err != nil { + // No way to return an error. + return "" + } + return val } } return "" @@ -825,25 +906,25 @@ func (tracker *callTracker) track(sn uint32, call *Call) { tracker.lck.Unlock() } -func (tracker *callTracker) handleReply(msg *Message) uint32 { +func (tracker *callTracker) handleReply(sequence Sequence, msg *Message) uint32 { serial := msg.Headers[FieldReplySerial].value.(uint32) tracker.lck.RLock() _, ok := tracker.calls[serial] tracker.lck.RUnlock() if ok { - tracker.finalizeWithBody(serial, msg.Body) + tracker.finalizeWithBody(serial, sequence, msg.Body) } return serial } -func (tracker *callTracker) handleDBusError(msg *Message) uint32 { +func (tracker *callTracker) handleDBusError(sequence Sequence, msg *Message) uint32 { serial := msg.Headers[FieldReplySerial].value.(uint32) tracker.lck.RLock() _, ok := tracker.calls[serial] tracker.lck.RUnlock() if ok { name, _ := msg.Headers[FieldErrorName].value.(string) - tracker.finalizeWithError(serial, Error{name, msg.Body}) + tracker.finalizeWithError(serial, sequence, Error{name, msg.Body}) } return serial } @@ -856,7 +937,7 @@ func (tracker *callTracker) handleSendError(msg *Message, err error) { _, ok := tracker.calls[msg.serial] tracker.lck.RUnlock() if ok { - tracker.finalizeWithError(msg.serial, err) + tracker.finalizeWithError(msg.serial, NoSequence, err) } } @@ -871,7 +952,7 @@ func (tracker *callTracker) finalize(sn uint32) { } } -func (tracker *callTracker) finalizeWithBody(sn uint32, body []interface{}) { +func (tracker *callTracker) finalizeWithBody(sn uint32, sequence Sequence, body []interface{}) { tracker.lck.Lock() c, ok := tracker.calls[sn] if ok { @@ -880,11 +961,12 @@ func (tracker *callTracker) finalizeWithBody(sn uint32, body []interface{}) { tracker.lck.Unlock() if ok { c.Body = body + c.ResponseSequence = sequence c.done() } } -func (tracker *callTracker) finalizeWithError(sn uint32, err error) { +func (tracker *callTracker) finalizeWithError(sn uint32, sequence Sequence, err error) { tracker.lck.Lock() c, ok := tracker.calls[sn] if ok { @@ -893,11 +975,12 @@ func (tracker *callTracker) finalizeWithError(sn uint32, err error) { tracker.lck.Unlock() if ok { c.Err = err + c.ResponseSequence = sequence c.done() } } -func (tracker *callTracker) finalizeAllWithError(err error) { +func (tracker *callTracker) finalizeAllWithError(sequenceGen *sequenceGenerator, err error) { tracker.lck.Lock() closedCalls := make([]*Call, 0, len(tracker.calls)) for sn := range tracker.calls { @@ -907,6 +990,7 @@ func (tracker *callTracker) finalizeAllWithError(err error) { tracker.lck.Unlock() for _, call := range closedCalls { call.Err = err + call.ResponseSequence = sequenceGen.next() call.done() } } diff --git a/vendor/github.com/godbus/dbus/v5/conn_other.go b/vendor/github.com/godbus/dbus/v5/conn_other.go index 616dcf664..90289ca85 100644 --- a/vendor/github.com/godbus/dbus/v5/conn_other.go +++ b/vendor/github.com/godbus/dbus/v5/conn_other.go @@ -54,7 +54,7 @@ func tryDiscoverDbusSessionBusAddress() string { if runUserBusFile := path.Join(runtimeDirectory, "bus"); fileExists(runUserBusFile) { // if /run/user//bus exists, that file itself // *is* the unix socket, so return its path - return fmt.Sprintf("unix:path=%s", runUserBusFile) + return fmt.Sprintf("unix:path=%s", EscapeBusAddressValue(runUserBusFile)) } if runUserSessionDbusFile := path.Join(runtimeDirectory, "dbus-session"); fileExists(runUserSessionDbusFile) { // if /run/user//dbus-session exists, it's a @@ -85,9 +85,6 @@ func getRuntimeDirectory() (string, error) { } func fileExists(filename string) bool { - if _, err := os.Stat(filename); !os.IsNotExist(err) { - return true - } else { - return false - } + _, err := os.Stat(filename) + return !os.IsNotExist(err) } diff --git a/vendor/github.com/godbus/dbus/v5/dbus.go b/vendor/github.com/godbus/dbus/v5/dbus.go index 428923d26..c188d1048 100644 --- a/vendor/github.com/godbus/dbus/v5/dbus.go +++ b/vendor/github.com/godbus/dbus/v5/dbus.go @@ -28,6 +28,7 @@ var ( interfaceType = reflect.TypeOf((*interface{})(nil)).Elem() unixFDType = reflect.TypeOf(UnixFD(0)) unixFDIndexType = reflect.TypeOf(UnixFDIndex(0)) + errType = reflect.TypeOf((*error)(nil)).Elem() ) // An InvalidTypeError signals that a value which cannot be represented in the @@ -63,6 +64,9 @@ func storeInterfaces(src, dest interface{}) error { func store(dest, src reflect.Value) error { if dest.Kind() == reflect.Ptr { + if dest.IsNil() { + dest.Set(reflect.New(dest.Type().Elem())) + } return store(dest.Elem(), src) } switch src.Kind() { @@ -118,8 +122,11 @@ func isConvertibleTo(dest, src reflect.Type) bool { case dest.Kind() == reflect.Slice: return src.Kind() == reflect.Slice && isConvertibleTo(dest.Elem(), src.Elem()) + case dest.Kind() == reflect.Ptr: + dest = dest.Elem() + return isConvertibleTo(dest, src) case dest.Kind() == reflect.Struct: - return src == interfacesType + return src == interfacesType || dest.Kind() == src.Kind() default: return src.ConvertibleTo(dest) } @@ -270,13 +277,8 @@ func storeSliceIntoInterface(dest, src reflect.Value) error { func storeSliceIntoSlice(dest, src reflect.Value) error { if dest.IsNil() || dest.Len() < src.Len() { dest.Set(reflect.MakeSlice(dest.Type(), src.Len(), src.Cap())) - } - if dest.Len() != src.Len() { - return fmt.Errorf( - "dbus.Store: type mismatch: "+ - "slices are different lengths "+ - "need: %d have: %d", - src.Len(), dest.Len()) + } else if dest.Len() > src.Len() { + dest.Set(dest.Slice(0, src.Len())) } for i := 0; i < src.Len(); i++ { err := store(dest.Index(i), getVariantValue(src.Index(i))) diff --git a/vendor/github.com/godbus/dbus/v5/decoder.go b/vendor/github.com/godbus/dbus/v5/decoder.go index ede91575b..89bfed9d1 100644 --- a/vendor/github.com/godbus/dbus/v5/decoder.go +++ b/vendor/github.com/godbus/dbus/v5/decoder.go @@ -10,14 +10,16 @@ type decoder struct { in io.Reader order binary.ByteOrder pos int + fds []int } // newDecoder returns a new decoder that reads values from in. The input is // expected to be in the given byte order. -func newDecoder(in io.Reader, order binary.ByteOrder) *decoder { +func newDecoder(in io.Reader, order binary.ByteOrder, fds []int) *decoder { dec := new(decoder) dec.in = in dec.order = order + dec.fds = fds return dec } @@ -53,7 +55,7 @@ func (dec *decoder) Decode(sig Signature) (vs []interface{}, err error) { vs = make([]interface{}, 0) s := sig.str for s != "" { - err, rem := validSingle(s, 0) + err, rem := validSingle(s, &depthCounter{}) if err != nil { return nil, err } @@ -150,7 +152,7 @@ func (dec *decoder) decode(s string, depth int) interface{} { if len(sig.str) == 0 { panic(FormatError("variant signature is empty")) } - err, rem := validSingle(sig.str, 0) + err, rem := validSingle(sig.str, &depthCounter{}) if err != nil { panic(err) } @@ -161,7 +163,11 @@ func (dec *decoder) decode(s string, depth int) interface{} { variant.value = dec.decode(sig.str, depth+1) return variant case 'h': - return UnixFDIndex(dec.decode("u", depth).(uint32)) + idx := dec.decode("u", depth).(uint32) + if int(idx) < len(dec.fds) { + return UnixFD(dec.fds[idx]) + } + return UnixFDIndex(idx) case 'a': if len(s) > 1 && s[1] == '{' { ksig := s[2:3] @@ -219,7 +225,7 @@ func (dec *decoder) decode(s string, depth int) interface{} { v := make([]interface{}, 0) s = s[1 : len(s)-1] for s != "" { - err, rem := validSingle(s, 0) + err, rem := validSingle(s, &depthCounter{}) if err != nil { panic(err) } diff --git a/vendor/github.com/godbus/dbus/v5/default_handler.go b/vendor/github.com/godbus/dbus/v5/default_handler.go index 6d8bf32f9..13132c6b4 100644 --- a/vendor/github.com/godbus/dbus/v5/default_handler.go +++ b/vendor/github.com/godbus/dbus/v5/default_handler.go @@ -126,14 +126,28 @@ func (m exportedMethod) Call(args ...interface{}) ([]interface{}, error) { } ret := m.Value.Call(params) - - err := ret[t.NumOut()-1].Interface().(*Error) - ret = ret[:t.NumOut()-1] + var err error + nilErr := false // The reflection will find almost-nils, let's only pass back clean ones! + if t.NumOut() > 0 { + if e, ok := ret[t.NumOut()-1].Interface().(*Error); ok { // godbus *Error + nilErr = ret[t.NumOut()-1].IsNil() + ret = ret[:t.NumOut()-1] + err = e + } else if ret[t.NumOut()-1].Type().Implements(errType) { // Go error + i := ret[t.NumOut()-1].Interface() + if i == nil { + nilErr = ret[t.NumOut()-1].IsNil() + } else { + err = i.(error) + } + ret = ret[:t.NumOut()-1] + } + } out := make([]interface{}, len(ret)) for i, val := range ret { out[i] = val.Interface() } - if err == nil { + if nilErr || err == nil { //concrete type to interface nil is a special case return out, nil } diff --git a/vendor/github.com/godbus/dbus/v5/doc.go b/vendor/github.com/godbus/dbus/v5/doc.go index ade1df951..8f25a00d6 100644 --- a/vendor/github.com/godbus/dbus/v5/doc.go +++ b/vendor/github.com/godbus/dbus/v5/doc.go @@ -10,8 +10,10 @@ value. Conversion Rules For outgoing messages, Go types are automatically converted to the -corresponding D-Bus types. The following types are directly encoded as their -respective D-Bus equivalents: +corresponding D-Bus types. See the official specification at +https://dbus.freedesktop.org/doc/dbus-specification.html#type-system for more +information on the D-Bus type system. The following types are directly encoded +as their respective D-Bus equivalents: Go type | D-Bus type ------------+----------- @@ -39,8 +41,8 @@ Maps encode as DICTs, provided that their key type can be used as a key for a DICT. Structs other than Variant and Signature encode as a STRUCT containing their -exported fields. Fields whose tags contain `dbus:"-"` and unexported fields will -be skipped. +exported fields in order. Fields whose tags contain `dbus:"-"` and unexported +fields will be skipped. Pointers encode as the value they're pointed to. diff --git a/vendor/github.com/godbus/dbus/v5/encoder.go b/vendor/github.com/godbus/dbus/v5/encoder.go index adfbb75c5..015b26cd5 100644 --- a/vendor/github.com/godbus/dbus/v5/encoder.go +++ b/vendor/github.com/godbus/dbus/v5/encoder.go @@ -5,28 +5,33 @@ import ( "encoding/binary" "io" "reflect" + "strings" + "unicode/utf8" ) // An encoder encodes values to the D-Bus wire format. type encoder struct { out io.Writer + fds []int order binary.ByteOrder pos int } // NewEncoder returns a new encoder that writes to out in the given byte order. -func newEncoder(out io.Writer, order binary.ByteOrder) *encoder { - return newEncoderAtOffset(out, 0, order) +func newEncoder(out io.Writer, order binary.ByteOrder, fds []int) *encoder { + enc := newEncoderAtOffset(out, 0, order, fds) + return enc } // newEncoderAtOffset returns a new encoder that writes to out in the given // byte order. Specify the offset to initialize pos for proper alignment // computation. -func newEncoderAtOffset(out io.Writer, offset int, order binary.ByteOrder) *encoder { +func newEncoderAtOffset(out io.Writer, offset int, order binary.ByteOrder, fds []int) *encoder { enc := new(encoder) enc.out = out enc.order = order enc.pos = offset + enc.fds = fds return enc } @@ -75,6 +80,9 @@ func (enc *encoder) Encode(vs ...interface{}) (err error) { // encode encodes the given value to the writer and panics on error. depth holds // the depth of the container nesting. func (enc *encoder) encode(v reflect.Value, depth int) { + if depth > 64 { + panic(FormatError("input exceeds depth limitation")) + } enc.align(alignment(v.Type())) switch v.Kind() { case reflect.Uint8: @@ -97,7 +105,14 @@ func (enc *encoder) encode(v reflect.Value, depth int) { enc.binwrite(uint16(v.Uint())) enc.pos += 2 case reflect.Int, reflect.Int32: - enc.binwrite(int32(v.Int())) + if v.Type() == unixFDType { + fd := v.Int() + idx := len(enc.fds) + enc.fds = append(enc.fds, int(fd)) + enc.binwrite(uint32(idx)) + } else { + enc.binwrite(int32(v.Int())) + } enc.pos += 4 case reflect.Uint, reflect.Uint32: enc.binwrite(uint32(v.Uint())) @@ -112,9 +127,21 @@ func (enc *encoder) encode(v reflect.Value, depth int) { enc.binwrite(v.Float()) enc.pos += 8 case reflect.String: - enc.encode(reflect.ValueOf(uint32(len(v.String()))), depth) + str := v.String() + if !utf8.ValidString(str) { + panic(FormatError("input has a not-utf8 char in string")) + } + if strings.IndexByte(str, byte(0)) != -1 { + panic(FormatError("input has a null char('\\000') in string")) + } + if v.Type() == objectPathType { + if !ObjectPath(str).IsValid() { + panic(FormatError("invalid object path")) + } + } + enc.encode(reflect.ValueOf(uint32(len(str))), depth) b := make([]byte, v.Len()+1) - copy(b, v.String()) + copy(b, str) b[len(b)-1] = 0 n, err := enc.out.Write(b) if err != nil { @@ -124,20 +151,23 @@ func (enc *encoder) encode(v reflect.Value, depth int) { case reflect.Ptr: enc.encode(v.Elem(), depth) case reflect.Slice, reflect.Array: - if depth >= 64 { - panic(FormatError("input exceeds container depth limit")) - } // Lookahead offset: 4 bytes for uint32 length (with alignment), // plus alignment for elements. n := enc.padding(0, 4) + 4 offset := enc.pos + n + enc.padding(n, alignment(v.Type().Elem())) var buf bytes.Buffer - bufenc := newEncoderAtOffset(&buf, offset, enc.order) + bufenc := newEncoderAtOffset(&buf, offset, enc.order, enc.fds) for i := 0; i < v.Len(); i++ { bufenc.encode(v.Index(i), depth+1) } + + if buf.Len() > 1<<26 { + panic(FormatError("input exceeds array size limitation")) + } + + enc.fds = bufenc.fds enc.encode(reflect.ValueOf(uint32(buf.Len())), depth) length := buf.Len() enc.align(alignment(v.Type().Elem())) @@ -146,13 +176,10 @@ func (enc *encoder) encode(v reflect.Value, depth int) { } enc.pos += length case reflect.Struct: - if depth >= 64 && v.Type() != signatureType { - panic(FormatError("input exceeds container depth limit")) - } switch t := v.Type(); t { case signatureType: str := v.Field(0) - enc.encode(reflect.ValueOf(byte(str.Len())), depth+1) + enc.encode(reflect.ValueOf(byte(str.Len())), depth) b := make([]byte, str.Len()+1) copy(b, str.String()) b[len(b)-1] = 0 @@ -176,9 +203,6 @@ func (enc *encoder) encode(v reflect.Value, depth int) { case reflect.Map: // Maps are arrays of structures, so they actually increase the depth by // 2. - if depth >= 63 { - panic(FormatError("input exceeds container depth limit")) - } if !isKeyType(v.Type().Key()) { panic(InvalidTypeError{v.Type()}) } @@ -189,12 +213,13 @@ func (enc *encoder) encode(v reflect.Value, depth int) { offset := enc.pos + n + enc.padding(n, 8) var buf bytes.Buffer - bufenc := newEncoderAtOffset(&buf, offset, enc.order) + bufenc := newEncoderAtOffset(&buf, offset, enc.order, enc.fds) for _, k := range keys { bufenc.align(8) bufenc.encode(k, depth+2) bufenc.encode(v.MapIndex(k), depth+2) } + enc.fds = bufenc.fds enc.encode(reflect.ValueOf(uint32(buf.Len())), depth) length := buf.Len() enc.align(8) diff --git a/vendor/github.com/godbus/dbus/v5/escape.go b/vendor/github.com/godbus/dbus/v5/escape.go new file mode 100644 index 000000000..d1509d945 --- /dev/null +++ b/vendor/github.com/godbus/dbus/v5/escape.go @@ -0,0 +1,84 @@ +package dbus + +import "net/url" + +// EscapeBusAddressValue implements a requirement to escape the values +// in D-Bus server addresses, as defined by the D-Bus specification at +// https://dbus.freedesktop.org/doc/dbus-specification.html#addresses. +func EscapeBusAddressValue(val string) string { + toEsc := strNeedsEscape(val) + if toEsc == 0 { + // Avoid unneeded allocation/copying. + return val + } + + // Avoid allocation for short paths. + var buf [64]byte + var out []byte + // Every to-be-escaped byte needs 2 extra bytes. + required := len(val) + 2*toEsc + if required <= len(buf) { + out = buf[:required] + } else { + out = make([]byte, required) + } + + j := 0 + for i := 0; i < len(val); i++ { + if ch := val[i]; needsEscape(ch) { + // Convert ch to %xx, where xx is hex value. + out[j] = '%' + out[j+1] = hexchar(ch >> 4) + out[j+2] = hexchar(ch & 0x0F) + j += 3 + } else { + out[j] = ch + j++ + } + } + + return string(out) +} + +// UnescapeBusAddressValue unescapes values in D-Bus server addresses, +// as defined by the D-Bus specification at +// https://dbus.freedesktop.org/doc/dbus-specification.html#addresses. +func UnescapeBusAddressValue(val string) (string, error) { + // Looks like url.PathUnescape does exactly what is required. + return url.PathUnescape(val) +} + +// hexchar returns an octal representation of a n, where n < 16. +// For invalid values of n, the function panics. +func hexchar(n byte) byte { + const hex = "0123456789abcdef" + + // For n >= len(hex), runtime will panic. + return hex[n] +} + +// needsEscape tells if a byte is NOT one of optionally-escaped bytes. +func needsEscape(c byte) bool { + if 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z' || '0' <= c && c <= '9' { + return false + } + switch c { + case '-', '_', '/', '\\', '.', '*': + return false + } + + return true +} + +// strNeedsEscape tells how many bytes in the string need escaping. +func strNeedsEscape(val string) int { + count := 0 + + for i := 0; i < len(val); i++ { + if needsEscape(val[i]) { + count++ + } + } + + return count +} diff --git a/vendor/github.com/godbus/dbus/v5/export.go b/vendor/github.com/godbus/dbus/v5/export.go index c277ab142..d3dd9f7cd 100644 --- a/vendor/github.com/godbus/dbus/v5/export.go +++ b/vendor/github.com/godbus/dbus/v5/export.go @@ -3,6 +3,7 @@ package dbus import ( "errors" "fmt" + "os" "reflect" "strings" ) @@ -26,6 +27,27 @@ var ( } ) +func MakeNoObjectError(path ObjectPath) Error { + return Error{ + "org.freedesktop.DBus.Error.NoSuchObject", + []interface{}{fmt.Sprintf("No such object '%s'", string(path))}, + } +} + +func MakeUnknownMethodError(methodName string) Error { + return Error{ + "org.freedesktop.DBus.Error.UnknownMethod", + []interface{}{fmt.Sprintf("Unknown / invalid method '%s'", methodName)}, + } +} + +func MakeUnknownInterfaceError(ifaceName string) Error { + return Error{ + "org.freedesktop.DBus.Error.UnknownInterface", + []interface{}{fmt.Sprintf("Object does not implement the interface '%s'", ifaceName)}, + } +} + func MakeFailedError(err error) *Error { return &Error{ "org.freedesktop.DBus.Error.Failed", @@ -69,6 +91,22 @@ func getMethods(in interface{}, mapping map[string]string) map[string]reflect.Va return methods } +func getAllMethods(in interface{}, mapping map[string]string) map[string]reflect.Value { + if in == nil { + return nil + } + methods := make(map[string]reflect.Value) + val := reflect.ValueOf(in) + typ := val.Type() + for i := 0; i < typ.NumMethod(); i++ { + methtype := typ.Method(i) + method := val.Method(i) + // map names while building table + methods[computeMethodName(methtype.Name, mapping)] = method + } + return methods +} + func standardMethodArgumentDecode(m Method, sender string, msg *Message, body []interface{}) ([]interface{}, error) { pointers := make([]interface{}, m.NumArguments()) decode := make([]interface{}, 0, len(body)) @@ -112,6 +150,11 @@ func (conn *Conn) handleCall(msg *Message) { ifaceName, _ := msg.Headers[FieldInterface].value.(string) sender, hasSender := msg.Headers[FieldSender].value.(string) serial := msg.serial + + if len(name) == 0 { + conn.sendError(ErrMsgUnknownMethod, sender, serial) + } + if ifaceName == "org.freedesktop.DBus.Peer" { switch name { case "Ping": @@ -119,29 +162,26 @@ func (conn *Conn) handleCall(msg *Message) { case "GetMachineId": conn.sendReply(sender, serial, conn.uuid) default: - conn.sendError(ErrMsgUnknownMethod, sender, serial) + conn.sendError(MakeUnknownMethodError(name), sender, serial) } return } - if len(name) == 0 { - conn.sendError(ErrMsgUnknownMethod, sender, serial) - } object, ok := conn.handler.LookupObject(path) if !ok { - conn.sendError(ErrMsgNoObject, sender, serial) + conn.sendError(MakeNoObjectError(path), sender, serial) return } iface, exists := object.LookupInterface(ifaceName) if !exists { - conn.sendError(ErrMsgUnknownInterface, sender, serial) + conn.sendError(MakeUnknownInterfaceError(ifaceName), sender, serial) return } m, exists := iface.LookupMethod(name) if !exists { - conn.sendError(ErrMsgUnknownMethod, sender, serial) + conn.sendError(MakeUnknownMethodError(name), sender, serial) return } args, err := conn.decodeArguments(m, sender, msg) @@ -159,7 +199,6 @@ func (conn *Conn) handleCall(msg *Message) { if msg.Flags&FlagNoReplyExpected == 0 { reply := new(Message) reply.Type = TypeMethodReply - reply.serial = conn.getSerial() reply.Headers = make(map[HeaderField]Variant) if hasSender { reply.Headers[FieldDestination] = msg.Headers[FieldSender] @@ -171,31 +210,25 @@ func (conn *Conn) handleCall(msg *Message) { } reply.Headers[FieldSignature] = MakeVariant(SignatureOf(reply.Body...)) - conn.sendMessageAndIfClosed(reply, nil) + if err := reply.IsValid(); err != nil { + fmt.Fprintf(os.Stderr, "dbus: dropping invalid reply to %s.%s on obj %s: %s\n", ifaceName, name, path, err) + } else { + conn.sendMessageAndIfClosed(reply, nil) + } } } // Emit emits the given signal on the message bus. The name parameter must be // formatted as "interface.member", e.g., "org.freedesktop.DBus.NameLost". func (conn *Conn) Emit(path ObjectPath, name string, values ...interface{}) error { - if !path.IsValid() { - return errors.New("dbus: invalid object path") - } i := strings.LastIndex(name, ".") if i == -1 { return errors.New("dbus: invalid method name") } iface := name[:i] member := name[i+1:] - if !isValidMember(member) { - return errors.New("dbus: invalid method name") - } - if !isValidInterface(iface) { - return errors.New("dbus: invalid interface name") - } msg := new(Message) msg.Type = TypeSignal - msg.serial = conn.getSerial() msg.Headers = make(map[HeaderField]Variant) msg.Headers[FieldInterface] = MakeVariant(iface) msg.Headers[FieldMember] = MakeVariant(member) @@ -204,6 +237,9 @@ func (conn *Conn) Emit(path ObjectPath, name string, values ...interface{}) erro if len(values) > 0 { msg.Headers[FieldSignature] = MakeVariant(SignatureOf(values...)) } + if err := msg.IsValid(); err != nil { + return err + } var closed bool conn.sendMessageAndIfClosed(msg, func() { @@ -247,6 +283,18 @@ func (conn *Conn) Export(v interface{}, path ObjectPath, iface string) error { return conn.ExportWithMap(v, nil, path, iface) } +// ExportAll registers all exported methods defined by the given object on +// the message bus. +// +// Unlike Export there is no requirement to have the last parameter as type +// *Error. If you want to be able to return error then you can append an error +// type parameter to your method signature. If the error returned is not nil, +// it is sent back to the caller as an error. Otherwise, a method reply is +// sent with the other return values as its body. +func (conn *Conn) ExportAll(v interface{}, path ObjectPath, iface string) error { + return conn.export(getAllMethods(v, nil), path, iface, false) +} + // ExportWithMap works exactly like Export but provides the ability to remap // method names (e.g. export a lower-case method). // @@ -299,19 +347,22 @@ func (conn *Conn) ExportSubtreeMethodTable(methods map[string]interface{}, path } func (conn *Conn) exportMethodTable(methods map[string]interface{}, path ObjectPath, iface string, includeSubtree bool) error { - out := make(map[string]reflect.Value) - for name, method := range methods { - rval := reflect.ValueOf(method) - if rval.Kind() != reflect.Func { - continue + var out map[string]reflect.Value + if methods != nil { + out = make(map[string]reflect.Value) + for name, method := range methods { + rval := reflect.ValueOf(method) + if rval.Kind() != reflect.Func { + continue + } + t := rval.Type() + // only track valid methods must return *Error as last arg + if t.NumOut() == 0 || + t.Out(t.NumOut()-1) != reflect.TypeOf(&ErrMsgInvalidArg) { + continue + } + out[name] = rval } - t := rval.Type() - // only track valid methods must return *Error as last arg - if t.NumOut() == 0 || - t.Out(t.NumOut()-1) != reflect.TypeOf(&ErrMsgInvalidArg) { - continue - } - out[name] = rval } return conn.export(out, path, iface, includeSubtree) } @@ -327,12 +378,12 @@ func (conn *Conn) unexport(h *defaultHandler, path ObjectPath, iface string) err return nil } -// exportWithMap is the worker function for all exports/registrations. +// export is the worker function for all exports/registrations. func (conn *Conn) export(methods map[string]reflect.Value, path ObjectPath, iface string, includeSubtree bool) error { h, ok := conn.handler.(*defaultHandler) if !ok { return fmt.Errorf( - `dbus: export only allowed on the default hander handler have %T"`, + `dbus: export only allowed on the default handler. Received: %T"`, conn.handler) } diff --git a/vendor/github.com/godbus/dbus/v5/homedir.go b/vendor/github.com/godbus/dbus/v5/homedir.go index 0b745f931..c44d9b5fc 100644 --- a/vendor/github.com/godbus/dbus/v5/homedir.go +++ b/vendor/github.com/godbus/dbus/v5/homedir.go @@ -2,27 +2,24 @@ package dbus import ( "os" - "sync" -) - -var ( - homeDir string - homeDirLock sync.Mutex + "os/user" ) +// Get returns the home directory of the current user, which is usually the +// value of HOME environment variable. In case it is not set or empty, os/user +// package is used. +// +// If linking statically with cgo enabled against glibc, make sure the +// osusergo build tag is used. +// +// If needing to do nss lookups, do not disable cgo or set osusergo. func getHomeDir() string { - homeDirLock.Lock() - defer homeDirLock.Unlock() - + homeDir := os.Getenv("HOME") if homeDir != "" { return homeDir } - - homeDir = os.Getenv("HOME") - if homeDir != "" { - return homeDir + if u, err := user.Current(); err == nil { + return u.HomeDir } - - homeDir = lookupHomeDir() - return homeDir + return "/" } diff --git a/vendor/github.com/godbus/dbus/v5/homedir_dynamic.go b/vendor/github.com/godbus/dbus/v5/homedir_dynamic.go deleted file mode 100644 index 2732081e7..000000000 --- a/vendor/github.com/godbus/dbus/v5/homedir_dynamic.go +++ /dev/null @@ -1,15 +0,0 @@ -// +build !static_build - -package dbus - -import ( - "os/user" -) - -func lookupHomeDir() string { - u, err := user.Current() - if err != nil { - return "/" - } - return u.HomeDir -} diff --git a/vendor/github.com/godbus/dbus/v5/homedir_static.go b/vendor/github.com/godbus/dbus/v5/homedir_static.go deleted file mode 100644 index b9d9cb552..000000000 --- a/vendor/github.com/godbus/dbus/v5/homedir_static.go +++ /dev/null @@ -1,45 +0,0 @@ -// +build static_build - -package dbus - -import ( - "bufio" - "os" - "strconv" - "strings" -) - -func lookupHomeDir() string { - myUid := os.Getuid() - - f, err := os.Open("/etc/passwd") - if err != nil { - return "/" - } - defer f.Close() - - s := bufio.NewScanner(f) - - for s.Scan() { - if err := s.Err(); err != nil { - break - } - - line := strings.TrimSpace(s.Text()) - if line == "" { - continue - } - - parts := strings.Split(line, ":") - - if len(parts) >= 6 { - uid, err := strconv.Atoi(parts[2]) - if err == nil && uid == myUid { - return parts[5] - } - } - } - - // Default to / if we can't get a better value - return "/" -} diff --git a/vendor/github.com/godbus/dbus/v5/match.go b/vendor/github.com/godbus/dbus/v5/match.go index 086ee336a..5a607e53e 100644 --- a/vendor/github.com/godbus/dbus/v5/match.go +++ b/vendor/github.com/godbus/dbus/v5/match.go @@ -1,6 +1,7 @@ package dbus import ( + "strconv" "strings" ) @@ -60,3 +61,29 @@ func WithMatchPathNamespace(namespace ObjectPath) MatchOption { func WithMatchDestination(destination string) MatchOption { return WithMatchOption("destination", destination) } + +// WithMatchArg sets argN match option, range of N is 0 to 63. +func WithMatchArg(argIdx int, value string) MatchOption { + if argIdx < 0 || argIdx > 63 { + panic("range of argument index is 0 to 63") + } + return WithMatchOption("arg"+strconv.Itoa(argIdx), value) +} + +// WithMatchArgPath sets argN path match option, range of N is 0 to 63. +func WithMatchArgPath(argIdx int, path string) MatchOption { + if argIdx < 0 || argIdx > 63 { + panic("range of argument index is 0 to 63") + } + return WithMatchOption("arg"+strconv.Itoa(argIdx)+"path", path) +} + +// WithMatchArg0Namespace sets arg0namespace match option. +func WithMatchArg0Namespace(arg0Namespace string) MatchOption { + return WithMatchOption("arg0namespace", arg0Namespace) +} + +// WithMatchEavesdrop sets eavesdrop match option. +func WithMatchEavesdrop(eavesdrop bool) MatchOption { + return WithMatchOption("eavesdrop", strconv.FormatBool(eavesdrop)) +} diff --git a/vendor/github.com/godbus/dbus/v5/message.go b/vendor/github.com/godbus/dbus/v5/message.go index 6a925367e..bdf43fdd6 100644 --- a/vendor/github.com/godbus/dbus/v5/message.go +++ b/vendor/github.com/godbus/dbus/v5/message.go @@ -118,11 +118,7 @@ type header struct { Variant } -// DecodeMessage tries to decode a single message in the D-Bus wire format -// from the given reader. The byte order is figured out from the first byte. -// The possibly returned error can be an error of the underlying reader, an -// InvalidMessageError or a FormatError. -func DecodeMessage(rd io.Reader) (msg *Message, err error) { +func DecodeMessageWithFDs(rd io.Reader, fds []int) (msg *Message, err error) { var order binary.ByteOrder var hlength, length uint32 var typ, flags, proto byte @@ -142,7 +138,7 @@ func DecodeMessage(rd io.Reader) (msg *Message, err error) { return nil, InvalidMessageError("invalid byte order") } - dec := newDecoder(rd, order) + dec := newDecoder(rd, order, fds) dec.pos = 1 msg = new(Message) @@ -166,7 +162,7 @@ func DecodeMessage(rd io.Reader) (msg *Message, err error) { if hlength+length+16 > 1<<27 { return nil, InvalidMessageError("message is too long") } - dec = newDecoder(io.MultiReader(bytes.NewBuffer(b), rd), order) + dec = newDecoder(io.MultiReader(bytes.NewBuffer(b), rd), order, fds) dec.pos = 12 vs, err = dec.Decode(Signature{"a(yv)"}) if err != nil { @@ -196,7 +192,7 @@ func DecodeMessage(rd io.Reader) (msg *Message, err error) { sig, _ := msg.Headers[FieldSignature].value.(Signature) if sig.str != "" { buf := bytes.NewBuffer(body) - dec = newDecoder(buf, order) + dec = newDecoder(buf, order, fds) vs, err := dec.Decode(sig) if err != nil { return nil, err @@ -207,12 +203,32 @@ func DecodeMessage(rd io.Reader) (msg *Message, err error) { return } -// EncodeTo encodes and sends a message to the given writer. The byte order must -// be either binary.LittleEndian or binary.BigEndian. If the message is not -// valid or an error occurs when writing, an error is returned. -func (msg *Message) EncodeTo(out io.Writer, order binary.ByteOrder) error { - if err := msg.IsValid(); err != nil { - return err +// DecodeMessage tries to decode a single message in the D-Bus wire format +// from the given reader. The byte order is figured out from the first byte. +// The possibly returned error can be an error of the underlying reader, an +// InvalidMessageError or a FormatError. +func DecodeMessage(rd io.Reader) (msg *Message, err error) { + return DecodeMessageWithFDs(rd, make([]int, 0)) +} + +type nullwriter struct{} + +func (nullwriter) Write(p []byte) (cnt int, err error) { + return len(p), nil +} + +func (msg *Message) CountFds() (int, error) { + if len(msg.Body) == 0 { + return 0, nil + } + enc := newEncoder(nullwriter{}, nativeEndian, make([]int, 0)) + err := enc.Encode(msg.Body...) + return len(enc.fds), err +} + +func (msg *Message) EncodeToWithFDs(out io.Writer, order binary.ByteOrder) (fds []int, err error) { + if err := msg.validateHeader(); err != nil { + return nil, err } var vs [7]interface{} switch order { @@ -221,12 +237,16 @@ func (msg *Message) EncodeTo(out io.Writer, order binary.ByteOrder) error { case binary.BigEndian: vs[0] = byte('B') default: - return errors.New("dbus: invalid byte order") + return nil, errors.New("dbus: invalid byte order") } body := new(bytes.Buffer) - enc := newEncoder(body, order) + fds = make([]int, 0) + enc := newEncoder(body, order, fds) if len(msg.Body) != 0 { - enc.Encode(msg.Body...) + err = enc.Encode(msg.Body...) + if err != nil { + return + } } vs[1] = msg.Type vs[2] = msg.Flags @@ -239,22 +259,38 @@ func (msg *Message) EncodeTo(out io.Writer, order binary.ByteOrder) error { } vs[6] = headers var buf bytes.Buffer - enc = newEncoder(&buf, order) - enc.Encode(vs[:]...) + enc = newEncoder(&buf, order, enc.fds) + err = enc.Encode(vs[:]...) + if err != nil { + return + } enc.align(8) body.WriteTo(&buf) if buf.Len() > 1<<27 { - return InvalidMessageError("message is too long") + return make([]int, 0), InvalidMessageError("message is too long") } if _, err := buf.WriteTo(out); err != nil { - return err + return make([]int, 0), err } - return nil + return enc.fds, nil +} + +// EncodeTo encodes and sends a message to the given writer. The byte order must +// be either binary.LittleEndian or binary.BigEndian. If the message is not +// valid or an error occurs when writing, an error is returned. +func (msg *Message) EncodeTo(out io.Writer, order binary.ByteOrder) (err error) { + _, err = msg.EncodeToWithFDs(out, order) + return err } // IsValid checks whether msg is a valid message and returns an -// InvalidMessageError if it is not. +// InvalidMessageError or FormatError if it is not. func (msg *Message) IsValid() error { + var b bytes.Buffer + return msg.EncodeTo(&b, nativeEndian) +} + +func (msg *Message) validateHeader() error { if msg.Flags & ^(FlagNoAutoStart|FlagNoReplyExpected|FlagAllowInteractiveAuthorization) != 0 { return InvalidMessageError("invalid flags") } @@ -299,6 +335,7 @@ func (msg *Message) IsValid() error { return InvalidMessageError("missing signature") } } + return nil } diff --git a/vendor/github.com/godbus/dbus/v5/object.go b/vendor/github.com/godbus/dbus/v5/object.go index 8acd7fc8b..664abb7fb 100644 --- a/vendor/github.com/godbus/dbus/v5/object.go +++ b/vendor/github.com/godbus/dbus/v5/object.go @@ -16,6 +16,7 @@ type BusObject interface { AddMatchSignal(iface, member string, options ...MatchOption) *Call RemoveMatchSignal(iface, member string, options ...MatchOption) *Call GetProperty(p string) (Variant, error) + StoreProperty(p string, value interface{}) error SetProperty(p string, v interface{}) error Destination() string Path() ObjectPath @@ -109,7 +110,6 @@ func (o *Object) createCall(ctx context.Context, method string, flags Flags, ch method = method[i+1:] msg := new(Message) msg.Type = TypeMethodCall - msg.serial = o.conn.getSerial() msg.Flags = flags & (FlagNoAutoStart | FlagNoReplyExpected) msg.Headers = make(map[HeaderField]Variant) msg.Headers[FieldPath] = MakeVariant(o.path) @@ -122,68 +122,31 @@ func (o *Object) createCall(ctx context.Context, method string, flags Flags, ch if len(args) > 0 { msg.Headers[FieldSignature] = MakeVariant(SignatureOf(args...)) } - if msg.Flags&FlagNoReplyExpected == 0 { - if ch == nil { - ch = make(chan *Call, 1) - } else if cap(ch) == 0 { - panic("dbus: unbuffered channel passed to (*Object).Go") - } - ctx, cancel := context.WithCancel(ctx) - call := &Call{ - Destination: o.dest, - Path: o.path, - Method: method, - Args: args, - Done: ch, - ctxCanceler: cancel, - ctx: ctx, - } - o.conn.calls.track(msg.serial, call) - o.conn.sendMessageAndIfClosed(msg, func() { - o.conn.calls.handleSendError(msg, ErrClosed) - cancel() - }) - go func() { - <-ctx.Done() - o.conn.calls.handleSendError(msg, ctx.Err()) - }() - - return call - } - done := make(chan *Call, 1) - call := &Call{ - Err: nil, - Done: done, - } - defer func() { - call.Done <- call - close(done) - }() - o.conn.sendMessageAndIfClosed(msg, func() { - call.Err = ErrClosed - }) - return call + return o.conn.SendWithContext(ctx, msg, ch) } // GetProperty calls org.freedesktop.DBus.Properties.Get on the given // object. The property name must be given in interface.member notation. func (o *Object) GetProperty(p string) (Variant, error) { + var result Variant + err := o.StoreProperty(p, &result) + return result, err +} + +// StoreProperty calls org.freedesktop.DBus.Properties.Get on the given +// object. The property name must be given in interface.member notation. +// It stores the returned property into the provided value. +func (o *Object) StoreProperty(p string, value interface{}) error { idx := strings.LastIndex(p, ".") if idx == -1 || idx+1 == len(p) { - return Variant{}, errors.New("dbus: invalid property " + p) + return errors.New("dbus: invalid property " + p) } iface := p[:idx] prop := p[idx+1:] - result := Variant{} - err := o.Call("org.freedesktop.DBus.Properties.Get", 0, iface, prop).Store(&result) - - if err != nil { - return Variant{}, err - } - - return result, nil + return o.Call("org.freedesktop.DBus.Properties.Get", 0, iface, prop). + Store(value) } // SetProperty calls org.freedesktop.DBus.Properties.Set on the given diff --git a/vendor/github.com/godbus/dbus/v5/sequence.go b/vendor/github.com/godbus/dbus/v5/sequence.go new file mode 100644 index 000000000..89435d393 --- /dev/null +++ b/vendor/github.com/godbus/dbus/v5/sequence.go @@ -0,0 +1,24 @@ +package dbus + +// Sequence represents the value of a monotonically increasing counter. +type Sequence uint64 + +const ( + // NoSequence indicates the absence of a sequence value. + NoSequence Sequence = 0 +) + +// sequenceGenerator represents a monotonically increasing counter. +type sequenceGenerator struct { + nextSequence Sequence +} + +func (generator *sequenceGenerator) next() Sequence { + result := generator.nextSequence + generator.nextSequence++ + return result +} + +func newSequenceGenerator() *sequenceGenerator { + return &sequenceGenerator{nextSequence: 1} +} diff --git a/vendor/github.com/godbus/dbus/v5/sequential_handler.go b/vendor/github.com/godbus/dbus/v5/sequential_handler.go new file mode 100644 index 000000000..ef2fcdba1 --- /dev/null +++ b/vendor/github.com/godbus/dbus/v5/sequential_handler.go @@ -0,0 +1,125 @@ +package dbus + +import ( + "sync" +) + +// NewSequentialSignalHandler returns an instance of a new +// signal handler that guarantees sequential processing of signals. It is a +// guarantee of this signal handler that signals will be written to +// channels in the order they are received on the DBus connection. +func NewSequentialSignalHandler() SignalHandler { + return &sequentialSignalHandler{} +} + +type sequentialSignalHandler struct { + mu sync.RWMutex + closed bool + signals []*sequentialSignalChannelData +} + +func (sh *sequentialSignalHandler) DeliverSignal(intf, name string, signal *Signal) { + sh.mu.RLock() + defer sh.mu.RUnlock() + if sh.closed { + return + } + for _, scd := range sh.signals { + scd.deliver(signal) + } +} + +func (sh *sequentialSignalHandler) Terminate() { + sh.mu.Lock() + defer sh.mu.Unlock() + if sh.closed { + return + } + + for _, scd := range sh.signals { + scd.close() + close(scd.ch) + } + sh.closed = true + sh.signals = nil +} + +func (sh *sequentialSignalHandler) AddSignal(ch chan<- *Signal) { + sh.mu.Lock() + defer sh.mu.Unlock() + if sh.closed { + return + } + sh.signals = append(sh.signals, newSequentialSignalChannelData(ch)) +} + +func (sh *sequentialSignalHandler) RemoveSignal(ch chan<- *Signal) { + sh.mu.Lock() + defer sh.mu.Unlock() + if sh.closed { + return + } + for i := len(sh.signals) - 1; i >= 0; i-- { + if ch == sh.signals[i].ch { + sh.signals[i].close() + copy(sh.signals[i:], sh.signals[i+1:]) + sh.signals[len(sh.signals)-1] = nil + sh.signals = sh.signals[:len(sh.signals)-1] + } + } +} + +type sequentialSignalChannelData struct { + ch chan<- *Signal + in chan *Signal + done chan struct{} +} + +func newSequentialSignalChannelData(ch chan<- *Signal) *sequentialSignalChannelData { + scd := &sequentialSignalChannelData{ + ch: ch, + in: make(chan *Signal), + done: make(chan struct{}), + } + go scd.bufferSignals() + return scd +} + +func (scd *sequentialSignalChannelData) bufferSignals() { + defer close(scd.done) + + // Ensure that signals are delivered to scd.ch in the same + // order they are received from scd.in. + var queue []*Signal + for { + if len(queue) == 0 { + signal, ok := <- scd.in + if !ok { + return + } + queue = append(queue, signal) + } + select { + case scd.ch <- queue[0]: + copy(queue, queue[1:]) + queue[len(queue)-1] = nil + queue = queue[:len(queue)-1] + case signal, ok := <-scd.in: + if !ok { + return + } + queue = append(queue, signal) + } + } +} + +func (scd *sequentialSignalChannelData) deliver(signal *Signal) { + scd.in <- signal +} + +func (scd *sequentialSignalChannelData) close() { + close(scd.in) + // Ensure that bufferSignals() has exited and won't attempt + // any future sends on scd.ch + <-scd.done +} diff --git a/vendor/github.com/godbus/dbus/v5/server_interfaces.go b/vendor/github.com/godbus/dbus/v5/server_interfaces.go index 79d97edf3..e4e0389fd 100644 --- a/vendor/github.com/godbus/dbus/v5/server_interfaces.go +++ b/vendor/github.com/godbus/dbus/v5/server_interfaces.go @@ -63,7 +63,7 @@ type Method interface { // any other decoding scheme. type ArgumentDecoder interface { // To decode the arguments of a method the sender and message are - // provided incase the semantics of the implementer provides access + // provided in case the semantics of the implementer provides access // to these as part of the method invocation. DecodeArguments(conn *Conn, sender string, msg *Message, args []interface{}) ([]interface{}, error) } diff --git a/vendor/github.com/godbus/dbus/v5/sig.go b/vendor/github.com/godbus/dbus/v5/sig.go index c1b809202..6b9cadb5f 100644 --- a/vendor/github.com/godbus/dbus/v5/sig.go +++ b/vendor/github.com/godbus/dbus/v5/sig.go @@ -34,7 +34,7 @@ type Signature struct { func SignatureOf(vs ...interface{}) Signature { var s string for _, v := range vs { - s += getSignature(reflect.TypeOf(v)) + s += getSignature(reflect.TypeOf(v), &depthCounter{}) } return Signature{s} } @@ -42,11 +42,19 @@ func SignatureOf(vs ...interface{}) Signature { // SignatureOfType returns the signature of the given type. It panics if the // type is not representable in D-Bus. func SignatureOfType(t reflect.Type) Signature { - return Signature{getSignature(t)} + return Signature{getSignature(t, &depthCounter{})} } // getSignature returns the signature of the given type and panics on unknown types. -func getSignature(t reflect.Type) string { +func getSignature(t reflect.Type, depth *depthCounter) (sig string) { + if !depth.Valid() { + panic("container nesting too deep") + } + defer func() { + if len(sig) > 255 { + panic("signature exceeds the length limitation") + } + }() // handle simple types first switch t.Kind() { case reflect.Uint8: @@ -74,7 +82,7 @@ func getSignature(t reflect.Type) string { case reflect.Float64: return "d" case reflect.Ptr: - return getSignature(t.Elem()) + return getSignature(t.Elem(), depth) case reflect.String: if t == objectPathType { return "o" @@ -90,17 +98,20 @@ func getSignature(t reflect.Type) string { for i := 0; i < t.NumField(); i++ { field := t.Field(i) if field.PkgPath == "" && field.Tag.Get("dbus") != "-" { - s += getSignature(t.Field(i).Type) + s += getSignature(t.Field(i).Type, depth.EnterStruct()) } } + if len(s) == 0 { + panic(InvalidTypeError{t}) + } return "(" + s + ")" case reflect.Array, reflect.Slice: - return "a" + getSignature(t.Elem()) + return "a" + getSignature(t.Elem(), depth.EnterArray()) case reflect.Map: if !isKeyType(t.Key()) { panic(InvalidTypeError{t}) } - return "a{" + getSignature(t.Key()) + getSignature(t.Elem()) + "}" + return "a{" + getSignature(t.Key(), depth.EnterArray().EnterDictEntry()) + getSignature(t.Elem(), depth.EnterArray().EnterDictEntry()) + "}" case reflect.Interface: return "v" } @@ -118,7 +129,7 @@ func ParseSignature(s string) (sig Signature, err error) { } sig.str = s for err == nil && len(s) != 0 { - err, s = validSingle(s, 0) + err, s = validSingle(s, &depthCounter{}) } if err != nil { sig = Signature{""} @@ -137,14 +148,14 @@ func ParseSignatureMust(s string) Signature { return sig } -// Empty retruns whether the signature is the empty signature. +// Empty returns whether the signature is the empty signature. func (s Signature) Empty() bool { return s.str == "" } // Single returns whether the signature represents a single, complete type. func (s Signature) Single() bool { - err, r := validSingle(s.str, 0) + err, r := validSingle(s.str, &depthCounter{}) return err != nil && r == "" } @@ -164,15 +175,38 @@ func (e SignatureError) Error() string { return fmt.Sprintf("dbus: invalid signature: %q (%s)", e.Sig, e.Reason) } +type depthCounter struct { + arrayDepth, structDepth, dictEntryDepth int +} + +func (cnt *depthCounter) Valid() bool { + return cnt.arrayDepth <= 32 && cnt.structDepth <= 32 && cnt.dictEntryDepth <= 32 +} + +func (cnt depthCounter) EnterArray() *depthCounter { + cnt.arrayDepth++ + return &cnt +} + +func (cnt depthCounter) EnterStruct() *depthCounter { + cnt.structDepth++ + return &cnt +} + +func (cnt depthCounter) EnterDictEntry() *depthCounter { + cnt.dictEntryDepth++ + return &cnt +} + // Try to read a single type from this string. If it was successful, err is nil // and rem is the remaining unparsed part. Otherwise, err is a non-nil // SignatureError and rem is "". depth is the current recursion depth which may // not be greater than 64 and should be given as 0 on the first call. -func validSingle(s string, depth int) (err error, rem string) { +func validSingle(s string, depth *depthCounter) (err error, rem string) { if s == "" { return SignatureError{Sig: s, Reason: "empty signature"}, "" } - if depth > 64 { + if !depth.Valid() { return SignatureError{Sig: s, Reason: "container nesting too deep"}, "" } switch s[0] { @@ -187,10 +221,10 @@ func validSingle(s string, depth int) (err error, rem string) { i++ rem = s[i+1:] s = s[2:i] - if err, _ = validSingle(s[:1], depth+1); err != nil { + if err, _ = validSingle(s[:1], depth.EnterArray().EnterDictEntry()); err != nil { return err, "" } - err, nr := validSingle(s[1:], depth+1) + err, nr := validSingle(s[1:], depth.EnterArray().EnterDictEntry()) if err != nil { return err, "" } @@ -199,7 +233,7 @@ func validSingle(s string, depth int) (err error, rem string) { } return nil, rem } - return validSingle(s[1:], depth+1) + return validSingle(s[1:], depth.EnterArray()) case '(': i := findMatching(s, '(', ')') if i == -1 { @@ -208,7 +242,7 @@ func validSingle(s string, depth int) (err error, rem string) { rem = s[i+1:] s = s[1:i] for err == nil && s != "" { - err, s = validSingle(s, depth+1) + err, s = validSingle(s, depth.EnterStruct()) } if err != nil { rem = "" @@ -236,7 +270,7 @@ func findMatching(s string, left, right rune) int { // typeFor returns the type of the given signature. It ignores any left over // characters and panics if s doesn't start with a valid type signature. func typeFor(s string) (t reflect.Type) { - err, _ := validSingle(s, 0) + err, _ := validSingle(s, &depthCounter{}) if err != nil { panic(err) } diff --git a/vendor/github.com/godbus/dbus/v5/transport_generic.go b/vendor/github.com/godbus/dbus/v5/transport_generic.go index 718a1ff02..a08e2813c 100644 --- a/vendor/github.com/godbus/dbus/v5/transport_generic.go +++ b/vendor/github.com/godbus/dbus/v5/transport_generic.go @@ -41,10 +41,12 @@ func (t genericTransport) ReadMessage() (*Message, error) { } func (t genericTransport) SendMessage(msg *Message) error { - for _, v := range msg.Body { - if _, ok := v.(UnixFD); ok { - return errors.New("dbus: unix fd passing not enabled") - } + fds, err := msg.CountFds() + if err != nil { + return err + } + if fds != 0 { + return errors.New("dbus: unix fd passing not enabled") } return msg.EncodeTo(t, nativeEndian) } diff --git a/vendor/github.com/godbus/dbus/v5/transport_unix.go b/vendor/github.com/godbus/dbus/v5/transport_unix.go index c7cd02f97..0a8c712eb 100644 --- a/vendor/github.com/godbus/dbus/v5/transport_unix.go +++ b/vendor/github.com/godbus/dbus/v5/transport_unix.go @@ -113,7 +113,7 @@ func (t *unixTransport) ReadMessage() (*Message, error) { if _, err := io.ReadFull(t.rdr, headerdata[4:]); err != nil { return nil, err } - dec := newDecoder(bytes.NewBuffer(headerdata), order) + dec := newDecoder(bytes.NewBuffer(headerdata), order, make([]int, 0)) dec.pos = 12 vs, err := dec.Decode(Signature{"a(yv)"}) if err != nil { @@ -147,24 +147,22 @@ func (t *unixTransport) ReadMessage() (*Message, error) { if err != nil { return nil, err } - msg, err := DecodeMessage(bytes.NewBuffer(all)) + msg, err := DecodeMessageWithFDs(bytes.NewBuffer(all), fds) if err != nil { return nil, err } // substitute the values in the message body (which are indices for the // array receiver via OOB) with the actual values for i, v := range msg.Body { - switch v.(type) { + switch index := v.(type) { case UnixFDIndex: - j := v.(UnixFDIndex) - if uint32(j) >= unixfds { + if uint32(index) >= unixfds { return nil, InvalidMessageError("invalid index for unix fd") } - msg.Body[i] = UnixFD(fds[j]) + msg.Body[i] = UnixFD(fds[index]) case []UnixFDIndex: - idxArray := v.([]UnixFDIndex) - fdArray := make([]UnixFD, len(idxArray)) - for k, j := range idxArray { + fdArray := make([]UnixFD, len(index)) + for k, j := range index { if uint32(j) >= unixfds { return nil, InvalidMessageError("invalid index for unix fd") } @@ -179,21 +177,21 @@ func (t *unixTransport) ReadMessage() (*Message, error) { } func (t *unixTransport) SendMessage(msg *Message) error { - fds := make([]int, 0) - for i, v := range msg.Body { - if fd, ok := v.(UnixFD); ok { - msg.Body[i] = UnixFDIndex(len(fds)) - fds = append(fds, int(fd)) - } + fdcnt, err := msg.CountFds() + if err != nil { + return err } - if len(fds) != 0 { + if fdcnt != 0 { if !t.hasUnixFDs { return errors.New("dbus: unix fd passing not enabled") } - msg.Headers[FieldUnixFDs] = MakeVariant(uint32(len(fds))) - oob := syscall.UnixRights(fds...) + msg.Headers[FieldUnixFDs] = MakeVariant(uint32(fdcnt)) buf := new(bytes.Buffer) - msg.EncodeTo(buf, nativeEndian) + fds, err := msg.EncodeToWithFDs(buf, nativeEndian) + if err != nil { + return err + } + oob := syscall.UnixRights(fds...) n, oobn, err := t.UnixConn.WriteMsgUnix(buf.Bytes(), oob, nil) if err != nil { return err diff --git a/vendor/github.com/godbus/dbus/v5/transport_unixcred_freebsd.go b/vendor/github.com/godbus/dbus/v5/transport_unixcred_freebsd.go index 0fc5b9273..1b5ed2089 100644 --- a/vendor/github.com/godbus/dbus/v5/transport_unixcred_freebsd.go +++ b/vendor/github.com/godbus/dbus/v5/transport_unixcred_freebsd.go @@ -10,6 +10,7 @@ package dbus /* const int sizeofPtr = sizeof(void*); #define _WANT_UCRED +#include #include */ import "C" diff --git a/vendor/github.com/godbus/dbus/v5/transport_unixcred_netbsd.go b/vendor/github.com/godbus/dbus/v5/transport_unixcred_netbsd.go new file mode 100644 index 000000000..af7bafdf9 --- /dev/null +++ b/vendor/github.com/godbus/dbus/v5/transport_unixcred_netbsd.go @@ -0,0 +1,14 @@ +package dbus + +import "io" + +func (t *unixTransport) SendNullByte() error { + n, _, err := t.UnixConn.WriteMsgUnix([]byte{0}, nil, nil) + if err != nil { + return err + } + if n != 1 { + return io.ErrShortWrite + } + return nil +} diff --git a/vendor/github.com/godbus/dbus/v5/transport_zos.go b/vendor/github.com/godbus/dbus/v5/transport_zos.go new file mode 100644 index 000000000..1bba0d6bf --- /dev/null +++ b/vendor/github.com/godbus/dbus/v5/transport_zos.go @@ -0,0 +1,6 @@ +package dbus + +func (t *unixTransport) SendNullByte() error { + _, err := t.Write([]byte{0}) + return err +} diff --git a/vendor/github.com/godbus/dbus/v5/variant.go b/vendor/github.com/godbus/dbus/v5/variant.go index 5b51828c8..ca3dbe16a 100644 --- a/vendor/github.com/godbus/dbus/v5/variant.go +++ b/vendor/github.com/godbus/dbus/v5/variant.go @@ -49,7 +49,7 @@ func ParseVariant(s string, sig Signature) (Variant, error) { } // format returns a formatted version of v and whether this string can be parsed -// unambigously. +// unambiguously. func (v Variant) format() (string, bool) { switch v.sig.str[0] { case 'b', 'i': @@ -142,3 +142,9 @@ func (v Variant) String() string { func (v Variant) Value() interface{} { return v.value } + +// Store converts the variant into a native go type using the same +// mechanism as the "Store" function. +func (v Variant) Store(value interface{}) error { + return storeInterfaces(v.value, value) +} diff --git a/vendor/github.com/golang-migrate/migrate/v4/.dockerignore b/vendor/github.com/golang-migrate/migrate/v4/.dockerignore index df33687f9..f12dc01d3 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/.dockerignore +++ b/vendor/github.com/golang-migrate/migrate/v4/.dockerignore @@ -2,7 +2,6 @@ FAQ.md README.md LICENSE -Makefile .gitignore .travis.yml CONTRIBUTING.md diff --git a/vendor/github.com/golang-migrate/migrate/v4/.gitignore b/vendor/github.com/golang-migrate/migrate/v4/.gitignore index acb4088f2..23b56045c 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/.gitignore +++ b/vendor/github.com/golang-migrate/migrate/v4/.gitignore @@ -6,3 +6,5 @@ cli/migrate .godoc.pid vendor/ .vscode/ +.idea +dist/ diff --git a/vendor/github.com/golang-migrate/migrate/v4/.golangci.yml b/vendor/github.com/golang-migrate/migrate/v4/.golangci.yml index f447ee1ce..0419e32be 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/.golangci.yml +++ b/vendor/github.com/golang-migrate/migrate/v4/.golangci.yml @@ -1,6 +1,6 @@ run: # timeout for analysis, e.g. 30s, 5m, default is 1m - timeout: 2m + timeout: 5m linters: enable: #- golint @@ -10,7 +10,6 @@ linters: - goconst - gofmt - misspell - - maligned - unparam - nakedret - prealloc @@ -19,8 +18,8 @@ linters-settings: misspell: locale: US issues: - max-same: 0 - max-per-linter: 0 + max-same-issues: 0 + max-issues-per-linter: 0 exclude-use-default: false exclude: # gosec: Duplicated errcheck checks diff --git a/vendor/github.com/golang-migrate/migrate/v4/.goreleaser.yml b/vendor/github.com/golang-migrate/migrate/v4/.goreleaser.yml new file mode 100644 index 000000000..682248f65 --- /dev/null +++ b/vendor/github.com/golang-migrate/migrate/v4/.goreleaser.yml @@ -0,0 +1,102 @@ +project_name: migrate +before: + hooks: + - go mod tidy +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - amd64 + - arm + - arm64 + - 386 + goarm: + - 7 + main: ./cmd/migrate + ldflags: + - '-w -s -X main.Version={{ .Version }} -extldflags "static"' + flags: + - "-tags={{ .Env.DATABASE }} {{ .Env.SOURCE }}" + - "-trimpath" +nfpms: + - homepage: "https://github.com/golang-migrate/migrate" + maintainer: "dhui@users.noreply.github.com" + license: MIT + description: "Database migrations" + formats: + - deb + file_name_template: "{{ .ProjectName }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" +dockers: + - goos: linux + goarch: amd64 + dockerfile: Dockerfile.github-actions + use: buildx + ids: + - migrate + image_templates: + - 'migrate/migrate:{{ .Tag }}-amd64' + build_flag_templates: + - '--label=org.opencontainers.image.created={{ .Date }}' + - '--label=org.opencontainers.image.title={{ .ProjectName }}' + - '--label=org.opencontainers.image.revision={{ .FullCommit }}' + - '--label=org.opencontainers.image.version={{ .Version }}' + - "--label=org.opencontainers.image.source={{ .GitURL }}" + - "--platform=linux/amd64" + - goos: linux + goarch: arm64 + dockerfile: Dockerfile.github-actions + use: buildx + ids: + - migrate + image_templates: + - 'migrate/migrate:{{ .Tag }}-arm64' + build_flag_templates: + - '--label=org.opencontainers.image.created={{ .Date }}' + - '--label=org.opencontainers.image.title={{ .ProjectName }}' + - '--label=org.opencontainers.image.revision={{ .FullCommit }}' + - '--label=org.opencontainers.image.version={{ .Version }}' + - "--label=org.opencontainers.image.source={{ .GitURL }}" + - "--platform=linux/arm64" + +docker_manifests: +- name_template: 'migrate/migrate:{{ .Tag }}' + image_templates: + - 'migrate/migrate:{{ .Tag }}-amd64' + - 'migrate/migrate:{{ .Tag }}-arm64' +- name_template: 'migrate/migrate:{{ .Major }}' + image_templates: + - 'migrate/migrate:{{ .Tag }}-amd64' + - 'migrate/migrate:{{ .Tag }}-arm64' +- name_template: 'migrate/migrate:latest' + image_templates: + - 'migrate/migrate:{{ .Tag }}-amd64' + - 'migrate/migrate:{{ .Tag }}-arm64' +archives: + - name_template: "{{ .ProjectName }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" + format_overrides: + - goos: windows + format: zip +checksum: + name_template: 'sha256sum.txt' +release: + draft: true + prerelease: auto +source: + enabled: true + format: zip +changelog: + skip: false + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' + - Merge pull request + - Merge branch + - go mod tidy +snapshot: + name_template: "{{ .Tag }}-next" diff --git a/vendor/github.com/golang-migrate/migrate/v4/.travis.yml b/vendor/github.com/golang-migrate/migrate/v4/.travis.yml index c2367b3e1..fdaea8cbd 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/.travis.yml +++ b/vendor/github.com/golang-migrate/migrate/v4/.travis.yml @@ -6,8 +6,8 @@ matrix: - go: master include: # Supported versions of Go: https://golang.org/dl/ - - go: "1.12.x" - - go: "1.13.x" + - go: "1.14.x" + - go: "1.15.x" - go: master go_import_path: github.com/golang-migrate/migrate @@ -34,7 +34,7 @@ before_install: - sudo apt-get update - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce # Install golangci-lint - - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.22.2 + - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0 - echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}" install: @@ -57,7 +57,7 @@ deploy: secure: hWH1HLPpzpfA8pXQ93T1qKQVFSpQp0as/JLQ7D91jHuJ8p+RxVeqblDrR6HQY/95R/nyiE9GJmvUolSuw5h449LSrGxPtVWhdh6EnkxlQHlen5XeMhVjRjFV0sE9qGe8v7uAkiTfRO61ktTWHrEAvw5qpyqnNISodmZS78XIasPODQbNlzwINhWhDTHIjXGb4FpizYaL3OGCanrxfR9fQyCaqKGGBjRq3Mfq8U6Yd4mApmsE+uJxgaZV8K5zBqpkSzQRWhcVGNL5DuLsU3gfSJOo7kZeA2G71SHffH577dBoqtCZ4VFv169CoUZehLWCb+7XKJZmHXVujCURATSySLGUOPc6EoLFAn3YtsCA04mS4bZVo5FZPWVwfhjmkhtDR4f6wscKp7r1HsFHSOgm59QfETQdrn4MnZ44H2Jd39axqndn5DvK9EcZVjPHynOPnueXP2u6mTuUgh2VyyWBCDO3CNo0fGlo7VJI69IkIWNSD87K9cHZWYMClyKZkUzS+PmRAhHRYbVd+9ZjKOmnU36kUHNDG/ft1D4ogsY+rhVtXB4lgWDM5adri+EIScYdYnB1/pQexLBigcJY9uE7nQTR0U6QgVNYvun7uRNs40E0c4voSfmPdFO0FlOD2y1oQhnaXfWLbu9nMcTcs4RFGrcC7NzkUN4/WjG8s285V6w= skip_cleanup: true on: - go: "1.13.x" + go: "1.15.x" repo: golang-migrate/migrate tags: true file: @@ -66,6 +66,7 @@ deploy: - cli/build/migrate.linux-arm64.tar.gz - cli/build/migrate.darwin-amd64.tar.gz - cli/build/migrate.windows-amd64.exe.tar.gz + - cli/build/migrate.windows-386.exe.tar.gz - cli/build/sha256sum.txt - dependency_tree.txt - provider: packagecloud @@ -77,7 +78,7 @@ deploy: package_glob: '*.deb' skip_cleanup: true on: - go: "1.13.x" + go: "1.15.x" repo: golang-migrate/migrate tags: true - provider: packagecloud @@ -89,7 +90,7 @@ deploy: package_glob: '*.deb' skip_cleanup: true on: - go: "1.13.x" + go: "1.15.x" repo: golang-migrate/migrate tags: true - provider: packagecloud @@ -97,11 +98,11 @@ deploy: username: golang-migrate token: secure: aICwu3gJ1sJ1QVCD3elpg+Jxzt4P+Zj1uoh5f0sOwnjDNIZ4FwUT1cMrWloP8P2KD0iyCOawuZER27o/kQ21oX2OxHvQbYPReA2znLm7lHzCmypAAOHPxpgnQ4rMGHHJXd+OsxtdclGs67c+EbdBfoRRbK400Qz/vjPJEDeH4mh02ZHC2nw4Nk/wV4jjBIkIt9dGEx6NgOA17FCMa3MaPHlHeFIzU7IfTlDHbS0mCCYbg/wafWBWcbGqtZLWAYtJDmfjrAStmDLdAX5J5PsB7taGSGPZHmPmpGoVgrKt/tb9Xz1rFBGslTpGROOiO4CiMAvkEKFn8mxrBGjfSBqp7Dp3eeSalKXB1DJAbEXx2sEbMcvmnoR9o43meaAn+ZRts8lRL8S/skBloe6Nk8bx3NlJCGB9WPK1G56b7c/fZnJxQbrCw6hxDfbZwm8S2YPviFTo/z1BfZDhRsL74reKsN2kgnGo2W/k38vvzIpsssQ9DHN1b0TLCxolCNPtQ7oHcQ1ohcjP2UgYXk0FhqDoL+9LQva/DU4N9sKH0UbAaqsMVSErLeG8A4aauuFcVrWRBaDYyTag4dQqzTulEy7iru2kDDIBgSQ1gMW/yoBOIPK4oi6MtbTf1X39fzXFLS1cDd3LW61yAu3YrbjAetpfx2frIvrRAiL9TxWA1gnrs5o= - dist: ubuntu/cosmic + dist: ubuntu/focal package_glob: '*.deb' skip_cleanup: true on: - go: "1.13.x" + go: "1.15.x" repo: golang-migrate/migrate tags: true - provider: packagecloud @@ -113,7 +114,7 @@ deploy: package_glob: '*.deb' skip_cleanup: true on: - go: "1.13.x" + go: "1.15.x" repo: golang-migrate/migrate tags: true - provider: packagecloud @@ -125,13 +126,13 @@ deploy: package_glob: '*.deb' skip_cleanup: true on: - go: "1.13.x" + go: "1.15.x" repo: golang-migrate/migrate tags: true - provider: script script: ./docker-deploy.sh skip_cleanup: true on: - go: "1.13.x" + go: "1.15.x" repo: golang-migrate/migrate tags: true diff --git a/vendor/github.com/golang-migrate/migrate/v4/Dockerfile b/vendor/github.com/golang-migrate/migrate/v4/Dockerfile index bd37e5f14..eb8188211 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/Dockerfile +++ b/vendor/github.com/golang-migrate/migrate/v4/Dockerfile @@ -1,23 +1,26 @@ -FROM golang:1.13-alpine3.11 AS downloader +FROM golang:1.16-alpine3.13 AS builder ARG VERSION -RUN apk add --no-cache git gcc musl-dev +RUN apk add --no-cache git gcc musl-dev make WORKDIR /go/src/github.com/golang-migrate/migrate +ENV GO111MODULE=on + +COPY go.mod go.sum ./ + +RUN go mod download + COPY . ./ -ENV GO111MODULE=on -ENV DATABASES="postgres mysql redshift cassandra spanner cockroachdb clickhouse mongodb sqlserver firebird" -ENV SOURCES="file go_bindata github github_ee aws_s3 google_cloud_storage godoc_vfs gitlab" +RUN make build-docker -RUN go build -a -o build/migrate.linux-386 -ldflags="-s -w -X main.Version=${VERSION}" -tags "$DATABASES $SOURCES" ./cmd/migrate - -FROM alpine:3.11 +FROM alpine:3.13 RUN apk add --no-cache ca-certificates -COPY --from=downloader /go/src/github.com/golang-migrate/migrate/build/migrate.linux-386 /migrate +COPY --from=builder /go/src/github.com/golang-migrate/migrate/build/migrate.linux-386 /usr/local/bin/migrate +RUN ln -s /usr/local/bin/migrate /migrate -ENTRYPOINT ["/migrate"] +ENTRYPOINT ["migrate"] CMD ["--help"] diff --git a/vendor/github.com/golang-migrate/migrate/v4/Dockerfile.circleci b/vendor/github.com/golang-migrate/migrate/v4/Dockerfile.circleci new file mode 100644 index 000000000..b6b244d19 --- /dev/null +++ b/vendor/github.com/golang-migrate/migrate/v4/Dockerfile.circleci @@ -0,0 +1,17 @@ +ARG DOCKER_IMAGE +FROM $DOCKER_IMAGE + +RUN apk add --no-cache git gcc musl-dev make + +WORKDIR /go/src/github.com/golang-migrate/migrate + +ENV GO111MODULE=on +ENV COVERAGE_DIR=/tmp/coverage + +COPY go.mod go.sum ./ + +RUN go mod download + +COPY . ./ + +CMD ["make", "test"] diff --git a/vendor/github.com/golang-migrate/migrate/v4/Dockerfile.github-actions b/vendor/github.com/golang-migrate/migrate/v4/Dockerfile.github-actions new file mode 100644 index 000000000..559c1e79c --- /dev/null +++ b/vendor/github.com/golang-migrate/migrate/v4/Dockerfile.github-actions @@ -0,0 +1,11 @@ +FROM alpine:3.13 + +RUN apk add --no-cache ca-certificates + +COPY migrate /usr/local/bin/migrate + +RUN ln -s /usr/local/bin/migrate /usr/bin/migrate +RUN ln -s /usr/local/bin/migrate /migrate + +ENTRYPOINT ["migrate"] +CMD ["--help"] \ No newline at end of file diff --git a/vendor/github.com/golang-migrate/migrate/v4/FAQ.md b/vendor/github.com/golang-migrate/migrate/v4/FAQ.md index 82ae4bf21..283162819 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/FAQ.md +++ b/vendor/github.com/golang-migrate/migrate/v4/FAQ.md @@ -16,7 +16,7 @@ NilMigration defines a migration without a body. NilVersion is defined as const -1. #### What is the difference between uint(version) and int(targetVersion)? - version refers to an existing migration version coming from a source and therefor can never be negative. + version refers to an existing migration version coming from a source and therefore can never be negative. targetVersion can either be a version OR represent a NilVersion, which equals -1. #### What's the difference between Next/Previous and Up/Down? @@ -53,7 +53,7 @@ Yes, technically thats possible. We want to encourage you to contribute your driver to this respository though. The driver's functionality is dictated by migrate's interfaces. That means there should really just be one driver for a database/ source. We want to prevent a future where several drivers doing the exact same thing, - just implemented a bit differently, co-exist somewhere on Github. If users have to do research first to find the + just implemented a bit differently, co-exist somewhere on GitHub. If users have to do research first to find the "best" available driver for a database in order to get started, we would have failed as an open source community. #### Can I mix multiple sources during a batch of migrations? @@ -73,4 +73,7 @@ Database-specific locking features are used by *some* database drivers to preven No, it is done automatically. #### Can I use migrate with a non-Go project? -Yes, you can use the migrate CLI in a non-Go project, but there are probably other libraries/frameworks available that offer better test and deploy integrations in that language/framework. \ No newline at end of file +Yes, you can use the migrate CLI in a non-Go project, but there are probably other libraries/frameworks available that offer better test and deploy integrations in that language/framework. + +#### I have got an error `Dirty database version 1. Fix and force version`. What should I do? +Keep calm and refer to [the getting started docs](GETTING_STARTED.md#forcing-your-database-version). diff --git a/vendor/github.com/golang-migrate/migrate/v4/GETTING_STARTED.md b/vendor/github.com/golang-migrate/migrate/v4/GETTING_STARTED.md index 41f293cc7..5946005cd 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/GETTING_STARTED.md +++ b/vendor/github.com/golang-migrate/migrate/v4/GETTING_STARTED.md @@ -23,7 +23,7 @@ This way if one of commands fails, our database will remain unchanged. Run your migrations through the CLI or your app and check if they applied expected changes. Just to give you an idea: ``` -migrate -database YOUR_DATBASE_URL -path PATH_TO_YOUR_MIGRATIONS up +migrate -database YOUR_DATABASE_URL -path PATH_TO_YOUR_MIGRATIONS up ``` Just add the code to your app and you're ready to go! @@ -34,6 +34,16 @@ It's also worth checking your migrations in a separate, containerized environmen **IMPORTANT:** If you would like to run multiple instances of your app on different machines be sure to use a database that supports locking when running migrations. Otherwise you may encounter issues. +## Forcing your database version +In case you run a migration that contained an error, migrate will not let you run other migrations on the same database. You will see an error like `Dirty database version 1. Fix and force version`, even when you fix the erred migration. This means your database was marked as 'dirty'. +You need to investigate the migration error - was your migration applied partially, or was it not applied at all? Once you know, you should force your database to a version reflecting it's real state. You can do so with `force` command: +``` +migrate -path PATH_TO_YOUR_MIGRATIONS -database YOUR_DATABASE_URL force VERSION +``` +Once you force the version and your migration was fixed, your database is 'clean' again and you can proceed with your migrations. + +For details and example of usage see [this comment](https://github.com/golang-migrate/migrate/issues/282#issuecomment-530743258). + ## Further reading: - [PostgreSQL tutorial](database/postgres/TUTORIAL.md) - [Best practices](MIGRATIONS.md) diff --git a/vendor/github.com/golang-migrate/migrate/v4/Makefile b/vendor/github.com/golang-migrate/migrate/v4/Makefile index 426f27a5a..79fa85ffb 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/Makefile +++ b/vendor/github.com/golang-migrate/migrate/v4/Makefile @@ -1,10 +1,16 @@ -SOURCE ?= file go_bindata github github_ee aws_s3 google_cloud_storage godoc_vfs gitlab -DATABASE ?= postgres mysql redshift cassandra spanner cockroachdb clickhouse mongodb sqlserver firebird +SOURCE ?= file go_bindata github github_ee bitbucket aws_s3 google_cloud_storage godoc_vfs gitlab +DATABASE ?= postgres mysql redshift cassandra spanner cockroachdb clickhouse mongodb sqlserver firebird neo4j pgx +DATABASE_TEST ?= $(DATABASE) sqlite sqlite3 sqlcipher VERSION ?= $(shell git describe --tags 2>/dev/null | cut -c 2-) TEST_FLAGS ?= REPO_OWNER ?= $(shell cd .. && basename "$$(pwd)") COVERAGE_DIR ?= .coverage +build: + CGO_ENABLED=0 go build -ldflags='-X main.Version=$(VERSION)' -tags '$(DATABASE) $(SOURCE)' ./cmd/migrate + +build-docker: + CGO_ENABLED=0 go build -a -o build/migrate.linux-386 -ldflags="-s -w -X main.Version=${VERSION}" -tags "$(DATABASE) $(SOURCE)" ./cmd/migrate build-cli: clean -mkdir ./cli/build @@ -12,6 +18,7 @@ build-cli: clean cd ./cmd/migrate && CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -a -o ../../cli/build/migrate.linux-armv7 -ldflags='-X main.Version=$(VERSION) -extldflags "-static"' -tags '$(DATABASE) $(SOURCE)' . cd ./cmd/migrate && CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -a -o ../../cli/build/migrate.linux-arm64 -ldflags='-X main.Version=$(VERSION) -extldflags "-static"' -tags '$(DATABASE) $(SOURCE)' . cd ./cmd/migrate && CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -a -o ../../cli/build/migrate.darwin-amd64 -ldflags='-X main.Version=$(VERSION) -extldflags "-static"' -tags '$(DATABASE) $(SOURCE)' . + cd ./cmd/migrate && CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -a -o ../../cli/build/migrate.windows-386.exe -ldflags='-X main.Version=$(VERSION) -extldflags "-static"' -tags '$(DATABASE) $(SOURCE)' . cd ./cmd/migrate && CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -a -o ../../cli/build/migrate.windows-amd64.exe -ldflags='-X main.Version=$(VERSION) -extldflags "-static"' -tags '$(DATABASE) $(SOURCE)' . cd ./cli/build && find . -name 'migrate*' | xargs -I{} tar czf {}.tar.gz {} cd ./cli/build && shasum -a 256 * > sha256sum.txt @@ -34,7 +41,7 @@ test: test-with-flags: @echo SOURCE: $(SOURCE) - @echo DATABASE: $(DATABASE) + @echo DATABASE_TEST: $(DATABASE_TEST) @go test $(TEST_FLAGS) ./... @@ -91,6 +98,12 @@ release: git tag v$(V) @read -p "Press enter to confirm and push to origin ..." && git push origin v$(V) +echo-source: + @echo "$(SOURCE)" + +echo-database: + @echo "$(DATABASE)" + define external_deps @echo '-- $(1)'; go list -f '{{join .Deps "\n"}}' $(1) | grep -v github.com/$(REPO_OWNER)/migrate | xargs go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}' @@ -98,10 +111,10 @@ define external_deps endef -.PHONY: build-cli clean test-short test test-with-flags html-coverage \ +.PHONY: build build-docker build-cli clean test-short test test-with-flags html-coverage \ restore-import-paths rewrite-import-paths list-external-deps release \ - docs kill-docs open-docs kill-orphaned-docker-containers + docs kill-docs open-docs kill-orphaned-docker-containers echo-source echo-database -SHELL = /bin/bash +SHELL = /bin/sh RAND = $(shell echo $$RANDOM) diff --git a/vendor/github.com/golang-migrate/migrate/v4/README.md b/vendor/github.com/golang-migrate/migrate/v4/README.md index c9076cb3e..be2a83116 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/README.md +++ b/vendor/github.com/golang-migrate/migrate/v4/README.md @@ -1,11 +1,11 @@ -[![Build Status](https://img.shields.io/travis/com/golang-migrate/migrate/master.svg)](https://travis-ci.com/golang-migrate/migrate) -[![GoDoc](https://godoc.org/github.com/golang-migrate/migrate?status.svg)](https://godoc.org/github.com/golang-migrate/migrate) +[![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/golang-migrate/migrate/CI/master)](https://github.com/golang-migrate/migrate/actions/workflows/ci.yaml?query=branch%3Amaster) +[![GoDoc](https://pkg.go.dev/badge/github.com/golang-migrate/migrate)](https://pkg.go.dev/github.com/golang-migrate/migrate/v4) [![Coverage Status](https://img.shields.io/coveralls/github/golang-migrate/migrate/master.svg)](https://coveralls.io/github/golang-migrate/migrate?branch=master) [![packagecloud.io](https://img.shields.io/badge/deb-packagecloud.io-844fec.svg)](https://packagecloud.io/golang-migrate/migrate?filter=debs) [![Docker Pulls](https://img.shields.io/docker/pulls/migrate/migrate.svg)](https://hub.docker.com/r/migrate/migrate/) -![Supported Go Versions](https://img.shields.io/badge/Go-1.12%2C%201.13-lightgrey.svg) +![Supported Go Versions](https://img.shields.io/badge/Go-1.16%2C%201.17-lightgrey.svg) [![GitHub Release](https://img.shields.io/github/release/golang-migrate/migrate.svg)](https://github.com/golang-migrate/migrate/releases) -[![Go Report Card](https://goreportcard.com/badge/github.com/golang-migrate/migrate)](https://goreportcard.com/report/github.com/golang-migrate/migrate) +[![Go Report Card](https://goreportcard.com/badge/github.com/golang-migrate/migrate)](https://goreportcard.com/report/github.com/golang-migrate/migrate) # migrate @@ -24,12 +24,15 @@ Forked from [mattes/migrate](https://github.com/mattes/migrate) Database drivers run migrations. [Add a new database?](database/driver.go) * [PostgreSQL](database/postgres) +* [PGX](database/pgx) * [Redshift](database/redshift) * [Ql](database/ql) * [Cassandra](database/cassandra) -* [SQLite](database/sqlite3) ([todo #165](https://github.com/mattes/migrate/issues/165)) +* [SQLite](database/sqlite) +* [SQLite3](database/sqlite3) ([todo #165](https://github.com/mattes/migrate/issues/165)) +* [SQLCipher](database/sqlcipher) * [MySQL/ MariaDB](database/mysql) -* [Neo4j](database/neo4j) ([todo #167](https://github.com/mattes/migrate/issues/167)) +* [Neo4j](database/neo4j) * [MongoDB](database/mongodb) * [CrateDB](database/crate) ([todo #170](https://github.com/mattes/migrate/issues/170)) * [Shell](database/shell) ([todo #171](https://github.com/mattes/migrate/issues/171)) @@ -41,7 +44,7 @@ Database drivers run migrations. [Add a new database?](database/driver.go) ### Database URLs -Database connection strings are specified via URLs. The URL format is driver dependent but generally has the form: `dbdriver://username:password@host:port/dbname?option1=true&option2=false` +Database connection strings are specified via URLs. The URL format is driver dependent but generally has the form: `dbdriver://username:password@host:port/dbname?param1=true¶m2=false` Any [reserved URL characters](https://en.wikipedia.org/wiki/Percent-encoding#Percent-encoding_reserved_characters) need to be escaped. Note, the `%` character also [needs to be escaped](https://en.wikipedia.org/wiki/Percent-encoding#Percent-encoding_the_percent_character) @@ -65,9 +68,12 @@ $ Source drivers read migrations from local or remote sources. [Add a new source?](source/driver.go) * [Filesystem](source/file) - read from filesystem +* [io/fs](source/iofs) - read from a Go [io/fs](https://pkg.go.dev/io/fs#FS) * [Go-Bindata](source/go_bindata) - read from embedded binary data ([jteeuwen/go-bindata](https://github.com/jteeuwen/go-bindata)) -* [Github](source/github) - read from remote Github repositories -* [Github Enterprise](source/github_ee) - read from remote Github Enterprise repositories +* [pkger](source/pkger) - read from embedded binary data ([markbates/pkger](https://github.com/markbates/pkger)) +* [GitHub](source/github) - read from remote GitHub repositories +* [GitHub Enterprise](source/github_ee) - read from remote GitHub Enterprise repositories +* [Bitbucket](source/bitbucket) - read from remote Bitbucket repositories * [Gitlab](source/gitlab) - read from remote Gitlab repositories * [AWS S3](source/aws_s3) - read from Amazon Web Services S3 * [Google Cloud Storage](source/google_cloud_storage) - read from Google Cloud Platform Storage @@ -136,7 +142,7 @@ func main() { m, err := migrate.NewWithDatabaseInstance( "file:///migrations", "postgres", driver) - m.Steps(2) + m.Up() // or m.Step(2) if you want to explicitly set the number of migrations to run } ``` @@ -146,8 +152,8 @@ Go to [getting started](GETTING_STARTED.md) ## Tutorials -- [CockroachDB](database/cockroachdb/TUTORIAL.md) -- [PostgreSQL](database/postgres/TUTORIAL.md) +* [CockroachDB](database/cockroachdb/TUTORIAL.md) +* [PostgreSQL](database/postgres/TUTORIAL.md) (more tutorials to come) diff --git a/vendor/github.com/golang-migrate/migrate/v4/database/driver.go b/vendor/github.com/golang-migrate/migrate/v4/database/driver.go index 2c673caaf..fa80f455c 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/database/driver.go +++ b/vendor/github.com/golang-migrate/migrate/v4/database/driver.go @@ -13,7 +13,8 @@ import ( ) var ( - ErrLocked = fmt.Errorf("can't acquire lock") + ErrLocked = fmt.Errorf("can't acquire lock") + ErrNotLocked = fmt.Errorf("can't unlock, as not currently locked") ) const NilVersion int = -1 @@ -33,7 +34,7 @@ var drivers = make(map[string]Driver) // All other functions are tested by tests in database/testing. // Saves you some time and makes sure all database drivers behave the same way. // 5. Call Register in init(). -// 6. Create a migrate/cli/build_.go file +// 6. Create a internal/cli/build_.go file // 7. Add driver name in 'DATABASE' variable in Makefile // // Guidelines: @@ -61,7 +62,7 @@ type Driver interface { // all migrations have been run. Unlock() error - // Run applies a migration to the database. migration is garantueed to be not nil. + // Run applies a migration to the database. migration is guaranteed to be not nil. Run(migration io.Reader) error // SetVersion saves version and dirty state. diff --git a/vendor/github.com/golang-migrate/migrate/v4/database/sqlite3/README.md b/vendor/github.com/golang-migrate/migrate/v4/database/sqlite3/README.md new file mode 100644 index 000000000..13f3f0d14 --- /dev/null +++ b/vendor/github.com/golang-migrate/migrate/v4/database/sqlite3/README.md @@ -0,0 +1,16 @@ +# sqlite3 + +`sqlite3://path/to/database?query` + +Unlike other migrate database drivers, the sqlite3 driver will automatically wrap each migration in an implicit transaction by default. Migrations must not contain explicit `BEGIN` or `COMMIT` statements. This behavior may change in a future major release. (See below for a workaround.) + +Refer to [upstream documentation](https://github.com/mattn/go-sqlite3/blob/master/README.md#connection-string) for a complete list of query parameters supported by the sqlite3 database driver. The auxiliary query parameters listed below may be supplied to tailor migrate behavior. All auxiliary query parameters are optional. + +| URL Query | WithInstance Config | Description | +|------------|---------------------|-------------| +| `x-migrations-table` | `MigrationsTable` | Name of the migrations table. Defaults to `schema_migrations`. | +| `x-no-tx-wrap` | `NoTxWrap` | Disable implicit transactions when `true`. Migrations may, and should, contain explicit `BEGIN` and `COMMIT` statements. | + +## Notes + +* Uses the `github.com/mattn/go-sqlite3` sqlite db driver (cgo) diff --git a/vendor/github.com/golang-migrate/migrate/v4/database/sqlite3/sqlite3.go b/vendor/github.com/golang-migrate/migrate/v4/database/sqlite3/sqlite3.go new file mode 100644 index 000000000..65aa6e74c --- /dev/null +++ b/vendor/github.com/golang-migrate/migrate/v4/database/sqlite3/sqlite3.go @@ -0,0 +1,269 @@ +package sqlite3 + +import ( + "database/sql" + "fmt" + "go.uber.org/atomic" + "io" + "io/ioutil" + nurl "net/url" + "strconv" + "strings" + + "github.com/golang-migrate/migrate/v4" + "github.com/golang-migrate/migrate/v4/database" + "github.com/hashicorp/go-multierror" + _ "github.com/mattn/go-sqlite3" +) + +func init() { + database.Register("sqlite3", &Sqlite{}) +} + +var DefaultMigrationsTable = "schema_migrations" +var ( + ErrDatabaseDirty = fmt.Errorf("database is dirty") + ErrNilConfig = fmt.Errorf("no config") + ErrNoDatabaseName = fmt.Errorf("no database name") +) + +type Config struct { + MigrationsTable string + DatabaseName string + NoTxWrap bool +} + +type Sqlite struct { + db *sql.DB + isLocked atomic.Bool + + config *Config +} + +func WithInstance(instance *sql.DB, config *Config) (database.Driver, error) { + if config == nil { + return nil, ErrNilConfig + } + + if err := instance.Ping(); err != nil { + return nil, err + } + + if len(config.MigrationsTable) == 0 { + config.MigrationsTable = DefaultMigrationsTable + } + + mx := &Sqlite{ + db: instance, + config: config, + } + if err := mx.ensureVersionTable(); err != nil { + return nil, err + } + return mx, nil +} + +// ensureVersionTable checks if versions table exists and, if not, creates it. +// Note that this function locks the database, which deviates from the usual +// convention of "caller locks" in the Sqlite type. +func (m *Sqlite) ensureVersionTable() (err error) { + if err = m.Lock(); err != nil { + return err + } + + defer func() { + if e := m.Unlock(); e != nil { + if err == nil { + err = e + } else { + err = multierror.Append(err, e) + } + } + }() + + query := fmt.Sprintf(` + CREATE TABLE IF NOT EXISTS %s (version uint64,dirty bool); + CREATE UNIQUE INDEX IF NOT EXISTS version_unique ON %s (version); + `, m.config.MigrationsTable, m.config.MigrationsTable) + + if _, err := m.db.Exec(query); err != nil { + return err + } + return nil +} + +func (m *Sqlite) Open(url string) (database.Driver, error) { + purl, err := nurl.Parse(url) + if err != nil { + return nil, err + } + dbfile := strings.Replace(migrate.FilterCustomQuery(purl).String(), "sqlite3://", "", 1) + db, err := sql.Open("sqlite3", dbfile) + if err != nil { + return nil, err + } + + qv := purl.Query() + + migrationsTable := qv.Get("x-migrations-table") + if len(migrationsTable) == 0 { + migrationsTable = DefaultMigrationsTable + } + + noTxWrap := false + if v := qv.Get("x-no-tx-wrap"); v != "" { + noTxWrap, err = strconv.ParseBool(v) + if err != nil { + return nil, fmt.Errorf("x-no-tx-wrap: %s", err) + } + } + + mx, err := WithInstance(db, &Config{ + DatabaseName: purl.Path, + MigrationsTable: migrationsTable, + NoTxWrap: noTxWrap, + }) + if err != nil { + return nil, err + } + return mx, nil +} + +func (m *Sqlite) Close() error { + return m.db.Close() +} + +func (m *Sqlite) Drop() (err error) { + query := `SELECT name FROM sqlite_master WHERE type = 'table';` + tables, err := m.db.Query(query) + if err != nil { + return &database.Error{OrigErr: err, Query: []byte(query)} + } + defer func() { + if errClose := tables.Close(); errClose != nil { + err = multierror.Append(err, errClose) + } + }() + + tableNames := make([]string, 0) + for tables.Next() { + var tableName string + if err := tables.Scan(&tableName); err != nil { + return err + } + if len(tableName) > 0 { + tableNames = append(tableNames, tableName) + } + } + if err := tables.Err(); err != nil { + return &database.Error{OrigErr: err, Query: []byte(query)} + } + + if len(tableNames) > 0 { + for _, t := range tableNames { + query := "DROP TABLE " + t + err = m.executeQuery(query) + if err != nil { + return &database.Error{OrigErr: err, Query: []byte(query)} + } + } + query := "VACUUM" + _, err = m.db.Query(query) + if err != nil { + return &database.Error{OrigErr: err, Query: []byte(query)} + } + } + + return nil +} + +func (m *Sqlite) Lock() error { + if !m.isLocked.CAS(false, true) { + return database.ErrLocked + } + return nil +} + +func (m *Sqlite) Unlock() error { + if !m.isLocked.CAS(true, false) { + return database.ErrNotLocked + } + return nil +} + +func (m *Sqlite) Run(migration io.Reader) error { + migr, err := ioutil.ReadAll(migration) + if err != nil { + return err + } + query := string(migr[:]) + + if m.config.NoTxWrap { + return m.executeQueryNoTx(query) + } + return m.executeQuery(query) +} + +func (m *Sqlite) executeQuery(query string) error { + tx, err := m.db.Begin() + if err != nil { + return &database.Error{OrigErr: err, Err: "transaction start failed"} + } + if _, err := tx.Exec(query); err != nil { + if errRollback := tx.Rollback(); errRollback != nil { + err = multierror.Append(err, errRollback) + } + return &database.Error{OrigErr: err, Query: []byte(query)} + } + if err := tx.Commit(); err != nil { + return &database.Error{OrigErr: err, Err: "transaction commit failed"} + } + return nil +} + +func (m *Sqlite) executeQueryNoTx(query string) error { + if _, err := m.db.Exec(query); err != nil { + return &database.Error{OrigErr: err, Query: []byte(query)} + } + return nil +} + +func (m *Sqlite) SetVersion(version int, dirty bool) error { + tx, err := m.db.Begin() + if err != nil { + return &database.Error{OrigErr: err, Err: "transaction start failed"} + } + + query := "DELETE FROM " + m.config.MigrationsTable + if _, err := tx.Exec(query); err != nil { + return &database.Error{OrigErr: err, Query: []byte(query)} + } + + // Also re-write the schema version for nil dirty versions to prevent + // empty schema version for failed down migration on the first migration + // See: https://github.com/golang-migrate/migrate/issues/330 + if version >= 0 || (version == database.NilVersion && dirty) { + query := fmt.Sprintf(`INSERT INTO %s (version, dirty) VALUES (?, ?)`, m.config.MigrationsTable) + if _, err := tx.Exec(query, version, dirty); err != nil { + if errRollback := tx.Rollback(); errRollback != nil { + err = multierror.Append(err, errRollback) + } + return &database.Error{OrigErr: err, Query: []byte(query)} + } + } + + if err := tx.Commit(); err != nil { + return &database.Error{OrigErr: err, Err: "transaction commit failed"} + } + + return nil +} + +func (m *Sqlite) Version() (version int, dirty bool, err error) { + query := "SELECT version, dirty FROM " + m.config.MigrationsTable + " LIMIT 1" + err = m.db.QueryRow(query).Scan(&version, &dirty) + if err != nil { + return database.NilVersion, false, nil + } + return version, dirty, nil +} diff --git a/vendor/github.com/golang-migrate/migrate/v4/database/util.go b/vendor/github.com/golang-migrate/migrate/v4/database/util.go index 976ad3534..de66d5b80 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/database/util.go +++ b/vendor/github.com/golang-migrate/migrate/v4/database/util.go @@ -2,6 +2,7 @@ package database import ( "fmt" + "go.uber.org/atomic" "hash/crc32" "strings" ) @@ -17,3 +18,16 @@ func GenerateAdvisoryLockId(databaseName string, additionalNames ...string) (str sum = sum * uint32(advisoryLockIDSalt) return fmt.Sprint(sum), nil } + +// CasRestoreOnErr CAS wrapper to automatically restore the lock state on error +func CasRestoreOnErr(lock *atomic.Bool, o, n bool, casErr error, f func() error) error { + if !lock.CAS(o, n) { + return casErr + } + if err := f(); err != nil { + // Automatically unlock/lock on error + lock.Store(o) + return err + } + return nil +} diff --git a/vendor/github.com/golang-migrate/migrate/v4/migrate.go b/vendor/github.com/golang-migrate/migrate/v4/migrate.go index 1478bc2a0..a57dceb5d 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/migrate.go +++ b/vendor/github.com/golang-migrate/migrate/v4/migrate.go @@ -1,6 +1,6 @@ // Package migrate reads migrations from sources and runs them against databases. // Sources are defined by the `source.Driver` and databases by the `database.Driver` -// interface. The driver interfaces are kept "dump", all migration logic is kept +// interface. The driver interfaces are kept "dumb", all migration logic is kept // in this package. package migrate @@ -487,7 +487,7 @@ func (m *Migrate) read(from int, to int, ret chan<- interface{}) { } prev, err := m.sourceDrv.Prev(suint(from)) - if os.IsNotExist(err) && to == -1 { + if errors.Is(err, os.ErrNotExist) && to == -1 { // apply nil migration migr, err := m.newMigration(suint(from), -1) if err != nil { @@ -580,7 +580,7 @@ func (m *Migrate) readUp(from int, limit int, ret chan<- interface{}) { // apply next migration next, err := m.sourceDrv.Next(suint(from)) - if os.IsNotExist(err) { + if errors.Is(err, os.ErrNotExist) { // no limit, but no migrations applied? if limit == -1 && count == 0 { ret <- ErrNoChange @@ -666,7 +666,7 @@ func (m *Migrate) readDown(from int, limit int, ret chan<- interface{}) { } prev, err := m.sourceDrv.Prev(suint(from)) - if os.IsNotExist(err) { + if errors.Is(err, os.ErrNotExist) { // no limit or haven't reached limit, apply "first" migration if limit == -1 || limit-count > 0 { firstVersion, err := m.sourceDrv.First() @@ -785,9 +785,9 @@ func (m *Migrate) versionExists(version uint) (result error) { } }() } - if os.IsExist(err) { + if errors.Is(err, os.ErrExist) { return nil - } else if !os.IsNotExist(err) { + } else if !errors.Is(err, os.ErrNotExist) { return err } @@ -800,14 +800,15 @@ func (m *Migrate) versionExists(version uint) (result error) { } }() } - if os.IsExist(err) { + if errors.Is(err, os.ErrExist) { return nil - } else if !os.IsNotExist(err) { + } else if !errors.Is(err, os.ErrNotExist) { return err } - m.logErr(fmt.Errorf("no migration found for version %d", version)) - return os.ErrNotExist + err = fmt.Errorf("no migration found for version %d: %w", version, err) + m.logErr(err) + return err } // stop returns true if no more migrations should be run against the database @@ -835,7 +836,7 @@ func (m *Migrate) newMigration(version uint, targetVersion int) (*Migration, err if targetVersion >= int(version) { r, identifier, err := m.sourceDrv.ReadUp(version) - if os.IsNotExist(err) { + if errors.Is(err, os.ErrNotExist) { // create "empty" migration migr, err = NewMigration(nil, "", version, targetVersion) if err != nil { @@ -855,7 +856,7 @@ func (m *Migrate) newMigration(version uint, targetVersion int) (*Migration, err } else { r, identifier, err := m.sourceDrv.ReadDown(version) - if os.IsNotExist(err) { + if errors.Is(err, os.ErrNotExist) { // create "empty" migration migr, err = NewMigration(nil, "", version, targetVersion) if err != nil { diff --git a/vendor/github.com/golang-migrate/migrate/v4/source/driver.go b/vendor/github.com/golang-migrate/migrate/v4/source/driver.go index 05f97adab..94bdef317 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/source/driver.go +++ b/vendor/github.com/golang-migrate/migrate/v4/source/driver.go @@ -33,7 +33,7 @@ var drivers = make(map[string]Driver) // * Drivers are supposed to be read only. // * Ideally don't load any contents (into memory) in Open or WithInstance. type Driver interface { - // Open returns a a new driver instance configured with parameters + // Open returns a new driver instance configured with parameters // coming from the URL string. Migrate will call this function // only once per instance. Open(url string) (Driver, error) @@ -87,7 +87,7 @@ func Open(url string) (Driver, error) { d, ok := drivers[u.Scheme] driversMu.RUnlock() if !ok { - return nil, fmt.Errorf("source driver: unknown driver %v (forgotten import?)", u.Scheme) + return nil, fmt.Errorf("source driver: unknown driver '%s' (forgotten import?)", u.Scheme) } return d.Open(url) diff --git a/vendor/github.com/golang-migrate/migrate/v4/source/go_bindata/README.md b/vendor/github.com/golang-migrate/migrate/v4/source/go_bindata/README.md new file mode 100644 index 000000000..a927cb8af --- /dev/null +++ b/vendor/github.com/golang-migrate/migrate/v4/source/go_bindata/README.md @@ -0,0 +1,43 @@ +# go_bindata + +## Usage + + + +### Read bindata with NewWithSourceInstance + +```shell +go get -u github.com/jteeuwen/go-bindata/... +cd examples/migrations && go-bindata -pkg migrations . +``` + +```go +import ( + "github.com/golang-migrate/migrate/v4" + "github.com/golang-migrate/migrate/v4/source/go_bindata" + "github.com/golang-migrate/migrate/v4/source/go_bindata/examples/migrations" +) + +func main() { + // wrap assets into Resource + s := bindata.Resource(migrations.AssetNames(), + func(name string) ([]byte, error) { + return migrations.Asset(name) + }) + + d, err := bindata.WithInstance(s) + m, err := migrate.NewWithSourceInstance("go-bindata", d, "database://foobar") + m.Up() // run your migrations and handle the errors above of course +} +``` + +### Read bindata with URL (todo) + +This will restore the assets in a tmp directory and then +proxy to source/file. go-bindata must be in your `$PATH`. + +``` +migrate -source go-bindata://examples/migrations/bindata.go +``` + + diff --git a/vendor/github.com/golang-migrate/migrate/v4/source/go_bindata/go-bindata.go b/vendor/github.com/golang-migrate/migrate/v4/source/go_bindata/go-bindata.go new file mode 100644 index 000000000..5bd7bd853 --- /dev/null +++ b/vendor/github.com/golang-migrate/migrate/v4/source/go_bindata/go-bindata.go @@ -0,0 +1,119 @@ +package bindata + +import ( + "bytes" + "fmt" + "io" + "io/ioutil" + "os" + + "github.com/golang-migrate/migrate/v4/source" +) + +type AssetFunc func(name string) ([]byte, error) + +func Resource(names []string, afn AssetFunc) *AssetSource { + return &AssetSource{ + Names: names, + AssetFunc: afn, + } +} + +type AssetSource struct { + Names []string + AssetFunc AssetFunc +} + +func init() { + source.Register("go-bindata", &Bindata{}) +} + +type Bindata struct { + path string + assetSource *AssetSource + migrations *source.Migrations +} + +func (b *Bindata) Open(url string) (source.Driver, error) { + return nil, fmt.Errorf("not yet implemented") +} + +var ( + ErrNoAssetSource = fmt.Errorf("expects *AssetSource") +) + +func WithInstance(instance interface{}) (source.Driver, error) { + if _, ok := instance.(*AssetSource); !ok { + return nil, ErrNoAssetSource + } + as := instance.(*AssetSource) + + bn := &Bindata{ + path: "", + assetSource: as, + migrations: source.NewMigrations(), + } + + for _, fi := range as.Names { + m, err := source.DefaultParse(fi) + if err != nil { + continue // ignore files that we can't parse + } + + if !bn.migrations.Append(m) { + return nil, fmt.Errorf("unable to parse file %v", fi) + } + } + + return bn, nil +} + +func (b *Bindata) Close() error { + return nil +} + +func (b *Bindata) First() (version uint, err error) { + if v, ok := b.migrations.First(); !ok { + return 0, &os.PathError{Op: "first", Path: b.path, Err: os.ErrNotExist} + } else { + return v, nil + } +} + +func (b *Bindata) Prev(version uint) (prevVersion uint, err error) { + if v, ok := b.migrations.Prev(version); !ok { + return 0, &os.PathError{Op: fmt.Sprintf("prev for version %v", version), Path: b.path, Err: os.ErrNotExist} + } else { + return v, nil + } +} + +func (b *Bindata) Next(version uint) (nextVersion uint, err error) { + if v, ok := b.migrations.Next(version); !ok { + return 0, &os.PathError{Op: fmt.Sprintf("next for version %v", version), Path: b.path, Err: os.ErrNotExist} + } else { + return v, nil + } +} + +func (b *Bindata) ReadUp(version uint) (r io.ReadCloser, identifier string, err error) { + if m, ok := b.migrations.Up(version); ok { + body, err := b.assetSource.AssetFunc(m.Raw) + if err != nil { + return nil, "", err + } + return ioutil.NopCloser(bytes.NewReader(body)), m.Identifier, nil + } + return nil, "", &os.PathError{Op: fmt.Sprintf("read version %v", version), Path: b.path, Err: os.ErrNotExist} +} + +func (b *Bindata) ReadDown(version uint) (r io.ReadCloser, identifier string, err error) { + if m, ok := b.migrations.Down(version); ok { + body, err := b.assetSource.AssetFunc(m.Raw) + if err != nil { + return nil, "", err + } + return ioutil.NopCloser(bytes.NewReader(body)), m.Identifier, nil + } + return nil, "", &os.PathError{Op: fmt.Sprintf("read version %v", version), Path: b.path, Err: os.ErrNotExist} +} diff --git a/vendor/github.com/golang-migrate/migrate/v4/source/migration.go b/vendor/github.com/golang-migrate/migrate/v4/source/migration.go index b8bb79020..74f6523cb 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/source/migration.go +++ b/vendor/github.com/golang-migrate/migrate/v4/source/migration.go @@ -66,11 +66,13 @@ func (i *Migrations) Append(m *Migration) (ok bool) { } func (i *Migrations) buildIndex() { - i.index = make(uintSlice, 0) + i.index = make(uintSlice, 0, len(i.migrations)) for version := range i.migrations { i.index = append(i.index, version) } - sort.Sort(i.index) + sort.Slice(i.index, func(x, y int) bool { + return i.index[x] < i.index[y] + }) } func (i *Migrations) First() (version uint, ok bool) { @@ -126,18 +128,6 @@ func (i *Migrations) findPos(version uint) int { type uintSlice []uint -func (s uintSlice) Len() int { - return len(s) -} - -func (s uintSlice) Swap(i, j int) { - s[i], s[j] = s[j], s[i] -} - -func (s uintSlice) Less(i, j int) bool { - return s[i] < s[j] -} - func (s uintSlice) Search(x uint) int { return sort.Search(len(s), func(i int) bool { return s[i] >= x }) } diff --git a/vendor/github.com/golang-migrate/migrate/v4/util.go b/vendor/github.com/golang-migrate/migrate/v4/util.go index 26131a3ff..bcf90077d 100644 --- a/vendor/github.com/golang-migrate/migrate/v4/util.go +++ b/vendor/github.com/golang-migrate/migrate/v4/util.go @@ -53,7 +53,7 @@ func FilterCustomQuery(u *nurl.URL) *nurl.URL { ux := *u vx := make(nurl.Values) for k, v := range ux.Query() { - if len(k) <= 1 || (len(k) > 1 && k[0:2] != "x-") { + if len(k) <= 1 || k[0:2] != "x-" { vx[k] = v } } diff --git a/vendor/github.com/gorilla/websocket/README.md b/vendor/github.com/gorilla/websocket/README.md index 19aa2e75c..2517a2871 100644 --- a/vendor/github.com/gorilla/websocket/README.md +++ b/vendor/github.com/gorilla/websocket/README.md @@ -6,6 +6,13 @@ Gorilla WebSocket is a [Go](http://golang.org/) implementation of the [WebSocket](http://www.rfc-editor.org/rfc/rfc6455.txt) protocol. + +--- + +⚠️ **[The Gorilla WebSocket Package is looking for a new maintainer](https://github.com/gorilla/websocket/issues/370)** + +--- + ### Documentation * [API Reference](https://pkg.go.dev/github.com/gorilla/websocket?tab=doc) @@ -30,35 +37,3 @@ The Gorilla WebSocket package passes the server tests in the [Autobahn Test Suite](https://github.com/crossbario/autobahn-testsuite) using the application in the [examples/autobahn subdirectory](https://github.com/gorilla/websocket/tree/master/examples/autobahn). -### Gorilla WebSocket compared with other packages - - - - - - - - - - - - - - - - - - -
github.com/gorillagolang.org/x/net
RFC 6455 Features
Passes Autobahn Test SuiteYesNo
Receive fragmented messageYesNo, see note 1
Send close messageYesNo
Send pings and receive pongsYesNo
Get the type of a received data messageYesYes, see note 2
Other Features
Compression ExtensionsExperimentalNo
Read message using io.ReaderYesNo, see note 3
Write message using io.WriteCloserYesNo, see note 3
- -Notes: - -1. Large messages are fragmented in [Chrome's new WebSocket implementation](http://www.ietf.org/mail-archive/web/hybi/current/msg10503.html). -2. The application can get the type of a received data message by implementing - a [Codec marshal](http://godoc.org/golang.org/x/net/websocket#Codec.Marshal) - function. -3. The go.net io.Reader and io.Writer operate across WebSocket frame boundaries. - Read returns when the input buffer is full or a frame boundary is - encountered. Each call to Write sends a single frame message. The Gorilla - io.Reader and io.WriteCloser operate on a single WebSocket message. - diff --git a/vendor/github.com/gorilla/websocket/client.go b/vendor/github.com/gorilla/websocket/client.go index 962c06a39..2efd83555 100644 --- a/vendor/github.com/gorilla/websocket/client.go +++ b/vendor/github.com/gorilla/websocket/client.go @@ -48,15 +48,23 @@ func NewClient(netConn net.Conn, u *url.URL, requestHeader http.Header, readBufS } // A Dialer contains options for connecting to WebSocket server. +// +// It is safe to call Dialer's methods concurrently. type Dialer struct { // NetDial specifies the dial function for creating TCP connections. If // NetDial is nil, net.Dial is used. NetDial func(network, addr string) (net.Conn, error) // NetDialContext specifies the dial function for creating TCP connections. If - // NetDialContext is nil, net.DialContext is used. + // NetDialContext is nil, NetDial is used. NetDialContext func(ctx context.Context, network, addr string) (net.Conn, error) + // NetDialTLSContext specifies the dial function for creating TLS/TCP connections. If + // NetDialTLSContext is nil, NetDialContext is used. + // If NetDialTLSContext is set, Dial assumes the TLS handshake is done there and + // TLSClientConfig is ignored. + NetDialTLSContext func(ctx context.Context, network, addr string) (net.Conn, error) + // Proxy specifies a function to return a proxy for a given // Request. If the function returns a non-nil error, the // request is aborted with the provided error. @@ -65,6 +73,8 @@ type Dialer struct { // TLSClientConfig specifies the TLS configuration to use with tls.Client. // If nil, the default configuration is used. + // If either NetDialTLS or NetDialTLSContext are set, Dial assumes the TLS handshake + // is done there and TLSClientConfig is ignored. TLSClientConfig *tls.Config // HandshakeTimeout specifies the duration for the handshake to complete. @@ -176,7 +186,7 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h } req := &http.Request{ - Method: "GET", + Method: http.MethodGet, URL: u, Proto: "HTTP/1.1", ProtoMajor: 1, @@ -237,13 +247,32 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h // Get network dial function. var netDial func(network, add string) (net.Conn, error) - if d.NetDialContext != nil { - netDial = func(network, addr string) (net.Conn, error) { - return d.NetDialContext(ctx, network, addr) + switch u.Scheme { + case "http": + if d.NetDialContext != nil { + netDial = func(network, addr string) (net.Conn, error) { + return d.NetDialContext(ctx, network, addr) + } + } else if d.NetDial != nil { + netDial = d.NetDial } - } else if d.NetDial != nil { - netDial = d.NetDial - } else { + case "https": + if d.NetDialTLSContext != nil { + netDial = func(network, addr string) (net.Conn, error) { + return d.NetDialTLSContext(ctx, network, addr) + } + } else if d.NetDialContext != nil { + netDial = func(network, addr string) (net.Conn, error) { + return d.NetDialContext(ctx, network, addr) + } + } else if d.NetDial != nil { + netDial = d.NetDial + } + default: + return nil, nil, errMalformedURL + } + + if netDial == nil { netDialer := &net.Dialer{} netDial = func(network, addr string) (net.Conn, error) { return netDialer.DialContext(ctx, network, addr) @@ -304,7 +333,9 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h } }() - if u.Scheme == "https" { + if u.Scheme == "https" && d.NetDialTLSContext == nil { + // If NetDialTLSContext is set, assume that the TLS handshake has already been done + cfg := cloneTLSConfig(d.TLSClientConfig) if cfg.ServerName == "" { cfg.ServerName = hostNoPort @@ -312,11 +343,12 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h tlsConn := tls.Client(netConn, cfg) netConn = tlsConn - var err error - if trace != nil { - err = doHandshakeWithTrace(trace, tlsConn, cfg) - } else { - err = doHandshake(tlsConn, cfg) + if trace != nil && trace.TLSHandshakeStart != nil { + trace.TLSHandshakeStart() + } + err := doHandshake(ctx, tlsConn, cfg) + if trace != nil && trace.TLSHandshakeDone != nil { + trace.TLSHandshakeDone(tlsConn.ConnectionState(), err) } if err != nil { @@ -348,8 +380,8 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h } if resp.StatusCode != 101 || - !strings.EqualFold(resp.Header.Get("Upgrade"), "websocket") || - !strings.EqualFold(resp.Header.Get("Connection"), "upgrade") || + !tokenListContainsValue(resp.Header, "Upgrade", "websocket") || + !tokenListContainsValue(resp.Header, "Connection", "upgrade") || resp.Header.Get("Sec-Websocket-Accept") != computeAcceptKey(challengeKey) { // Before closing the network connection on return from this // function, slurp up some of the response to aid application @@ -382,14 +414,9 @@ func (d *Dialer) DialContext(ctx context.Context, urlStr string, requestHeader h return conn, resp, nil } -func doHandshake(tlsConn *tls.Conn, cfg *tls.Config) error { - if err := tlsConn.Handshake(); err != nil { - return err +func cloneTLSConfig(cfg *tls.Config) *tls.Config { + if cfg == nil { + return &tls.Config{} } - if !cfg.InsecureSkipVerify { - if err := tlsConn.VerifyHostname(cfg.ServerName); err != nil { - return err - } - } - return nil + return cfg.Clone() } diff --git a/vendor/github.com/gorilla/websocket/client_clone.go b/vendor/github.com/gorilla/websocket/client_clone.go deleted file mode 100644 index 4f0d94372..000000000 --- a/vendor/github.com/gorilla/websocket/client_clone.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2013 The Gorilla WebSocket Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// +build go1.8 - -package websocket - -import "crypto/tls" - -func cloneTLSConfig(cfg *tls.Config) *tls.Config { - if cfg == nil { - return &tls.Config{} - } - return cfg.Clone() -} diff --git a/vendor/github.com/gorilla/websocket/client_clone_legacy.go b/vendor/github.com/gorilla/websocket/client_clone_legacy.go deleted file mode 100644 index babb007fb..000000000 --- a/vendor/github.com/gorilla/websocket/client_clone_legacy.go +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2013 The Gorilla WebSocket Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// +build !go1.8 - -package websocket - -import "crypto/tls" - -// cloneTLSConfig clones all public fields except the fields -// SessionTicketsDisabled and SessionTicketKey. This avoids copying the -// sync.Mutex in the sync.Once and makes it safe to call cloneTLSConfig on a -// config in active use. -func cloneTLSConfig(cfg *tls.Config) *tls.Config { - if cfg == nil { - return &tls.Config{} - } - return &tls.Config{ - Rand: cfg.Rand, - Time: cfg.Time, - Certificates: cfg.Certificates, - NameToCertificate: cfg.NameToCertificate, - GetCertificate: cfg.GetCertificate, - RootCAs: cfg.RootCAs, - NextProtos: cfg.NextProtos, - ServerName: cfg.ServerName, - ClientAuth: cfg.ClientAuth, - ClientCAs: cfg.ClientCAs, - InsecureSkipVerify: cfg.InsecureSkipVerify, - CipherSuites: cfg.CipherSuites, - PreferServerCipherSuites: cfg.PreferServerCipherSuites, - ClientSessionCache: cfg.ClientSessionCache, - MinVersion: cfg.MinVersion, - MaxVersion: cfg.MaxVersion, - CurvePreferences: cfg.CurvePreferences, - } -} diff --git a/vendor/github.com/gorilla/websocket/conn.go b/vendor/github.com/gorilla/websocket/conn.go index ca46d2f79..331eebc85 100644 --- a/vendor/github.com/gorilla/websocket/conn.go +++ b/vendor/github.com/gorilla/websocket/conn.go @@ -13,6 +13,7 @@ import ( "math/rand" "net" "strconv" + "strings" "sync" "time" "unicode/utf8" @@ -401,6 +402,12 @@ func (c *Conn) write(frameType int, deadline time.Time, buf0, buf1 []byte) error return nil } +func (c *Conn) writeBufs(bufs ...[]byte) error { + b := net.Buffers(bufs) + _, err := b.WriteTo(c.conn) + return err +} + // WriteControl writes a control message with the given deadline. The allowed // message types are CloseMessage, PingMessage and PongMessage. func (c *Conn) WriteControl(messageType int, data []byte, deadline time.Time) error { @@ -794,47 +801,69 @@ func (c *Conn) advanceFrame() (int, error) { } // 2. Read and parse first two bytes of frame header. + // To aid debugging, collect and report all errors in the first two bytes + // of the header. + + var errors []string p, err := c.read(2) if err != nil { return noFrame, err } - final := p[0]&finalBit != 0 frameType := int(p[0] & 0xf) + final := p[0]&finalBit != 0 + rsv1 := p[0]&rsv1Bit != 0 + rsv2 := p[0]&rsv2Bit != 0 + rsv3 := p[0]&rsv3Bit != 0 mask := p[1]&maskBit != 0 c.setReadRemaining(int64(p[1] & 0x7f)) c.readDecompress = false - if c.newDecompressionReader != nil && (p[0]&rsv1Bit) != 0 { - c.readDecompress = true - p[0] &^= rsv1Bit + if rsv1 { + if c.newDecompressionReader != nil { + c.readDecompress = true + } else { + errors = append(errors, "RSV1 set") + } } - if rsv := p[0] & (rsv1Bit | rsv2Bit | rsv3Bit); rsv != 0 { - return noFrame, c.handleProtocolError("unexpected reserved bits 0x" + strconv.FormatInt(int64(rsv), 16)) + if rsv2 { + errors = append(errors, "RSV2 set") + } + + if rsv3 { + errors = append(errors, "RSV3 set") } switch frameType { case CloseMessage, PingMessage, PongMessage: if c.readRemaining > maxControlFramePayloadSize { - return noFrame, c.handleProtocolError("control frame length > 125") + errors = append(errors, "len > 125 for control") } if !final { - return noFrame, c.handleProtocolError("control frame not final") + errors = append(errors, "FIN not set on control") } case TextMessage, BinaryMessage: if !c.readFinal { - return noFrame, c.handleProtocolError("message start before final message frame") + errors = append(errors, "data before FIN") } c.readFinal = final case continuationFrame: if c.readFinal { - return noFrame, c.handleProtocolError("continuation after final message frame") + errors = append(errors, "continuation after FIN") } c.readFinal = final default: - return noFrame, c.handleProtocolError("unknown opcode " + strconv.Itoa(frameType)) + errors = append(errors, "bad opcode "+strconv.Itoa(frameType)) + } + + if mask != c.isServer { + errors = append(errors, "bad MASK") + } + + if len(errors) > 0 { + return noFrame, c.handleProtocolError(strings.Join(errors, ", ")) } // 3. Read and parse frame length as per @@ -872,10 +901,6 @@ func (c *Conn) advanceFrame() (int, error) { // 4. Handle frame masking. - if mask != c.isServer { - return noFrame, c.handleProtocolError("incorrect mask flag") - } - if mask { c.readMaskPos = 0 p, err := c.read(len(c.readMaskKey)) @@ -935,7 +960,7 @@ func (c *Conn) advanceFrame() (int, error) { if len(payload) >= 2 { closeCode = int(binary.BigEndian.Uint16(payload)) if !isValidReceivedCloseCode(closeCode) { - return noFrame, c.handleProtocolError("invalid close code") + return noFrame, c.handleProtocolError("bad close code " + strconv.Itoa(closeCode)) } closeText = string(payload[2:]) if !utf8.ValidString(closeText) { @@ -952,7 +977,11 @@ func (c *Conn) advanceFrame() (int, error) { } func (c *Conn) handleProtocolError(message string) error { - c.WriteControl(CloseMessage, FormatCloseMessage(CloseProtocolError, message), time.Now().Add(writeWait)) + data := FormatCloseMessage(CloseProtocolError, message) + if len(data) > maxControlFramePayloadSize { + data = data[:maxControlFramePayloadSize] + } + c.WriteControl(CloseMessage, data, time.Now().Add(writeWait)) return errors.New("websocket: " + message) } diff --git a/vendor/github.com/gorilla/websocket/conn_write.go b/vendor/github.com/gorilla/websocket/conn_write.go deleted file mode 100644 index a509a21f8..000000000 --- a/vendor/github.com/gorilla/websocket/conn_write.go +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2016 The Gorilla WebSocket Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// +build go1.8 - -package websocket - -import "net" - -func (c *Conn) writeBufs(bufs ...[]byte) error { - b := net.Buffers(bufs) - _, err := b.WriteTo(c.conn) - return err -} diff --git a/vendor/github.com/gorilla/websocket/conn_write_legacy.go b/vendor/github.com/gorilla/websocket/conn_write_legacy.go deleted file mode 100644 index 37edaff5a..000000000 --- a/vendor/github.com/gorilla/websocket/conn_write_legacy.go +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2016 The Gorilla WebSocket Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// +build !go1.8 - -package websocket - -func (c *Conn) writeBufs(bufs ...[]byte) error { - for _, buf := range bufs { - if len(buf) > 0 { - if _, err := c.conn.Write(buf); err != nil { - return err - } - } - } - return nil -} diff --git a/vendor/github.com/gorilla/websocket/mask.go b/vendor/github.com/gorilla/websocket/mask.go index 577fce9ef..d0742bf2a 100644 --- a/vendor/github.com/gorilla/websocket/mask.go +++ b/vendor/github.com/gorilla/websocket/mask.go @@ -2,6 +2,7 @@ // this source code is governed by a BSD-style license that can be found in the // LICENSE file. +//go:build !appengine // +build !appengine package websocket diff --git a/vendor/github.com/gorilla/websocket/mask_safe.go b/vendor/github.com/gorilla/websocket/mask_safe.go index 2aac060e5..36250ca7c 100644 --- a/vendor/github.com/gorilla/websocket/mask_safe.go +++ b/vendor/github.com/gorilla/websocket/mask_safe.go @@ -2,6 +2,7 @@ // this source code is governed by a BSD-style license that can be found in the // LICENSE file. +//go:build appengine // +build appengine package websocket diff --git a/vendor/github.com/gorilla/websocket/proxy.go b/vendor/github.com/gorilla/websocket/proxy.go index e87a8c9f0..e0f466b72 100644 --- a/vendor/github.com/gorilla/websocket/proxy.go +++ b/vendor/github.com/gorilla/websocket/proxy.go @@ -48,7 +48,7 @@ func (hpd *httpProxyDialer) Dial(network string, addr string) (net.Conn, error) } connectReq := &http.Request{ - Method: "CONNECT", + Method: http.MethodConnect, URL: &url.URL{Opaque: addr}, Host: addr, Header: connectHeader, diff --git a/vendor/github.com/gorilla/websocket/server.go b/vendor/github.com/gorilla/websocket/server.go index 887d55891..24d53b38a 100644 --- a/vendor/github.com/gorilla/websocket/server.go +++ b/vendor/github.com/gorilla/websocket/server.go @@ -23,6 +23,8 @@ func (e HandshakeError) Error() string { return e.message } // Upgrader specifies parameters for upgrading an HTTP connection to a // WebSocket connection. +// +// It is safe to call Upgrader's methods concurrently. type Upgrader struct { // HandshakeTimeout specifies the duration for the handshake to complete. HandshakeTimeout time.Duration @@ -115,8 +117,8 @@ func (u *Upgrader) selectSubprotocol(r *http.Request, responseHeader http.Header // Upgrade upgrades the HTTP server connection to the WebSocket protocol. // // The responseHeader is included in the response to the client's upgrade -// request. Use the responseHeader to specify cookies (Set-Cookie) and the -// application negotiated subprotocol (Sec-WebSocket-Protocol). +// request. Use the responseHeader to specify cookies (Set-Cookie). To specify +// subprotocols supported by the server, set Upgrader.Subprotocols directly. // // If the upgrade fails, then Upgrade replies to the client with an HTTP error // response. @@ -131,7 +133,7 @@ func (u *Upgrader) Upgrade(w http.ResponseWriter, r *http.Request, responseHeade return u.returnError(w, r, http.StatusBadRequest, badHandshake+"'websocket' token not found in 'Upgrade' header") } - if r.Method != "GET" { + if r.Method != http.MethodGet { return u.returnError(w, r, http.StatusMethodNotAllowed, badHandshake+"request method is not GET") } diff --git a/vendor/github.com/gorilla/websocket/tls_handshake.go b/vendor/github.com/gorilla/websocket/tls_handshake.go new file mode 100644 index 000000000..a62b68ccb --- /dev/null +++ b/vendor/github.com/gorilla/websocket/tls_handshake.go @@ -0,0 +1,21 @@ +//go:build go1.17 +// +build go1.17 + +package websocket + +import ( + "context" + "crypto/tls" +) + +func doHandshake(ctx context.Context, tlsConn *tls.Conn, cfg *tls.Config) error { + if err := tlsConn.HandshakeContext(ctx); err != nil { + return err + } + if !cfg.InsecureSkipVerify { + if err := tlsConn.VerifyHostname(cfg.ServerName); err != nil { + return err + } + } + return nil +} diff --git a/vendor/github.com/gorilla/websocket/tls_handshake_116.go b/vendor/github.com/gorilla/websocket/tls_handshake_116.go new file mode 100644 index 000000000..e1b2b44f6 --- /dev/null +++ b/vendor/github.com/gorilla/websocket/tls_handshake_116.go @@ -0,0 +1,21 @@ +//go:build !go1.17 +// +build !go1.17 + +package websocket + +import ( + "context" + "crypto/tls" +) + +func doHandshake(ctx context.Context, tlsConn *tls.Conn, cfg *tls.Config) error { + if err := tlsConn.Handshake(); err != nil { + return err + } + if !cfg.InsecureSkipVerify { + if err := tlsConn.VerifyHostname(cfg.ServerName); err != nil { + return err + } + } + return nil +} diff --git a/vendor/github.com/gorilla/websocket/trace.go b/vendor/github.com/gorilla/websocket/trace.go deleted file mode 100644 index 834f122a0..000000000 --- a/vendor/github.com/gorilla/websocket/trace.go +++ /dev/null @@ -1,19 +0,0 @@ -// +build go1.8 - -package websocket - -import ( - "crypto/tls" - "net/http/httptrace" -) - -func doHandshakeWithTrace(trace *httptrace.ClientTrace, tlsConn *tls.Conn, cfg *tls.Config) error { - if trace.TLSHandshakeStart != nil { - trace.TLSHandshakeStart() - } - err := doHandshake(tlsConn, cfg) - if trace.TLSHandshakeDone != nil { - trace.TLSHandshakeDone(tlsConn.ConnectionState(), err) - } - return err -} diff --git a/vendor/github.com/gorilla/websocket/trace_17.go b/vendor/github.com/gorilla/websocket/trace_17.go deleted file mode 100644 index 77d05a0b5..000000000 --- a/vendor/github.com/gorilla/websocket/trace_17.go +++ /dev/null @@ -1,12 +0,0 @@ -// +build !go1.8 - -package websocket - -import ( - "crypto/tls" - "net/http/httptrace" -) - -func doHandshakeWithTrace(trace *httptrace.ClientTrace, tlsConn *tls.Conn, cfg *tls.Config) error { - return doHandshake(tlsConn, cfg) -} diff --git a/vendor/github.com/hashicorp/errwrap/errwrap.go b/vendor/github.com/hashicorp/errwrap/errwrap.go index a733bef18..44e368e56 100644 --- a/vendor/github.com/hashicorp/errwrap/errwrap.go +++ b/vendor/github.com/hashicorp/errwrap/errwrap.go @@ -44,6 +44,8 @@ func Wrap(outer, inner error) error { // // format is the format of the error message. The string '{{err}}' will // be replaced with the original error message. +// +// Deprecated: Use fmt.Errorf() func Wrapf(format string, err error) error { outerMsg := "" if err != nil { @@ -148,6 +150,9 @@ func Walk(err error, cb WalkFunc) { for _, err := range e.WrappedErrors() { Walk(err, cb) } + case interface{ Unwrap() error }: + cb(err) + Walk(e.Unwrap(), cb) default: cb(err) } @@ -167,3 +172,7 @@ func (w *wrappedError) Error() string { func (w *wrappedError) WrappedErrors() []error { return []error{w.Outer, w.Inner} } + +func (w *wrappedError) Unwrap() error { + return w.Inner +} diff --git a/vendor/github.com/hashicorp/go-multierror/.travis.yml b/vendor/github.com/hashicorp/go-multierror/.travis.yml deleted file mode 100644 index 304a83595..000000000 --- a/vendor/github.com/hashicorp/go-multierror/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -sudo: false - -language: go - -go: - - 1.x - -branches: - only: - - master - -script: make test testrace diff --git a/vendor/github.com/hashicorp/go-multierror/README.md b/vendor/github.com/hashicorp/go-multierror/README.md index ead5830f7..71dd308ed 100644 --- a/vendor/github.com/hashicorp/go-multierror/README.md +++ b/vendor/github.com/hashicorp/go-multierror/README.md @@ -1,10 +1,11 @@ # go-multierror -[![Build Status](http://img.shields.io/travis/hashicorp/go-multierror.svg?style=flat-square)][travis] -[![Go Documentation](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)][godocs] +[![CircleCI](https://img.shields.io/circleci/build/github/hashicorp/go-multierror/master)](https://circleci.com/gh/hashicorp/go-multierror) +[![Go Reference](https://pkg.go.dev/badge/github.com/hashicorp/go-multierror.svg)](https://pkg.go.dev/github.com/hashicorp/go-multierror) +![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/hashicorp/go-multierror) -[travis]: https://travis-ci.org/hashicorp/go-multierror -[godocs]: https://godoc.org/github.com/hashicorp/go-multierror +[circleci]: https://app.circleci.com/pipelines/github/hashicorp/go-multierror +[godocs]: https://pkg.go.dev/github.com/hashicorp/go-multierror `go-multierror` is a package for Go that provides a mechanism for representing a list of `error` values as a single `error`. @@ -14,16 +15,35 @@ be a list of errors. If the caller knows this, they can unwrap the list and access the errors. If the caller doesn't know, the error formats to a nice human-readable format. -`go-multierror` implements the -[errwrap](https://github.com/hashicorp/errwrap) interface so that it can -be used with that library, as well. +`go-multierror` is fully compatible with the Go standard library +[errors](https://golang.org/pkg/errors/) package, including the +functions `As`, `Is`, and `Unwrap`. This provides a standardized approach +for introspecting on error values. ## Installation and Docs Install using `go get github.com/hashicorp/go-multierror`. Full documentation is available at -http://godoc.org/github.com/hashicorp/go-multierror +https://pkg.go.dev/github.com/hashicorp/go-multierror + +### Requires go version 1.13 or newer + +`go-multierror` requires go version 1.13 or newer. Go 1.13 introduced +[error wrapping](https://golang.org/doc/go1.13#error_wrapping), which +this library takes advantage of. + +If you need to use an earlier version of go, you can use the +[v1.0.0](https://github.com/hashicorp/go-multierror/tree/v1.0.0) +tag, which doesn't rely on features in go 1.13. + +If you see compile errors that look like the below, it's likely that +you're on an older version of go: + +``` +/go/src/github.com/hashicorp/go-multierror/multierror.go:112:9: undefined: errors.As +/go/src/github.com/hashicorp/go-multierror/multierror.go:117:9: undefined: errors.Is +``` ## Usage @@ -81,6 +101,39 @@ if err := something(); err != nil { } ``` +You can also use the standard [`errors.Unwrap`](https://golang.org/pkg/errors/#Unwrap) +function. This will continue to unwrap into subsequent errors until none exist. + +**Extracting an error** + +The standard library [`errors.As`](https://golang.org/pkg/errors/#As) +function can be used directly with a multierror to extract a specific error: + +```go +// Assume err is a multierror value +err := somefunc() + +// We want to know if "err" has a "RichErrorType" in it and extract it. +var errRich RichErrorType +if errors.As(err, &errRich) { + // It has it, and now errRich is populated. +} +``` + +**Checking for an exact error value** + +Some errors are returned as exact errors such as the [`ErrNotExist`](https://golang.org/pkg/os/#pkg-variables) +error in the `os` package. You can check if this error is present by using +the standard [`errors.Is`](https://golang.org/pkg/errors/#Is) function. + +```go +// Assume err is a multierror value +err := somefunc() +if errors.Is(err, os.ErrNotExist) { + // err contains os.ErrNotExist +} +``` + **Returning a multierror only if there are errors** If you build a `multierror.Error`, you can use the `ErrorOrNil` function diff --git a/vendor/github.com/hashicorp/go-multierror/append.go b/vendor/github.com/hashicorp/go-multierror/append.go index 775b6e753..3e2589bfd 100644 --- a/vendor/github.com/hashicorp/go-multierror/append.go +++ b/vendor/github.com/hashicorp/go-multierror/append.go @@ -6,6 +6,8 @@ package multierror // If err is not a multierror.Error, then it will be turned into // one. If any of the errs are multierr.Error, they will be flattened // one level into err. +// Any nil errors within errs will be ignored. If err is nil, a new +// *Error will be returned. func Append(err error, errs ...error) *Error { switch err := err.(type) { case *Error: diff --git a/vendor/github.com/hashicorp/go-multierror/group.go b/vendor/github.com/hashicorp/go-multierror/group.go new file mode 100644 index 000000000..9c29efb7f --- /dev/null +++ b/vendor/github.com/hashicorp/go-multierror/group.go @@ -0,0 +1,38 @@ +package multierror + +import "sync" + +// Group is a collection of goroutines which return errors that need to be +// coalesced. +type Group struct { + mutex sync.Mutex + err *Error + wg sync.WaitGroup +} + +// Go calls the given function in a new goroutine. +// +// If the function returns an error it is added to the group multierror which +// is returned by Wait. +func (g *Group) Go(f func() error) { + g.wg.Add(1) + + go func() { + defer g.wg.Done() + + if err := f(); err != nil { + g.mutex.Lock() + g.err = Append(g.err, err) + g.mutex.Unlock() + } + }() +} + +// Wait blocks until all function calls from the Go method have returned, then +// returns the multierror. +func (g *Group) Wait() *Error { + g.wg.Wait() + g.mutex.Lock() + defer g.mutex.Unlock() + return g.err +} diff --git a/vendor/github.com/hashicorp/go-multierror/multierror.go b/vendor/github.com/hashicorp/go-multierror/multierror.go index 89b1422d1..f54574326 100644 --- a/vendor/github.com/hashicorp/go-multierror/multierror.go +++ b/vendor/github.com/hashicorp/go-multierror/multierror.go @@ -1,6 +1,7 @@ package multierror import ( + "errors" "fmt" ) @@ -39,13 +40,82 @@ func (e *Error) GoString() string { return fmt.Sprintf("*%#v", *e) } -// WrappedErrors returns the list of errors that this Error is wrapping. -// It is an implementation of the errwrap.Wrapper interface so that -// multierror.Error can be used with that library. +// WrappedErrors returns the list of errors that this Error is wrapping. It is +// an implementation of the errwrap.Wrapper interface so that multierror.Error +// can be used with that library. // -// This method is not safe to be called concurrently and is no different -// than accessing the Errors field directly. It is implemented only to -// satisfy the errwrap.Wrapper interface. +// This method is not safe to be called concurrently. Unlike accessing the +// Errors field directly, this function also checks if the multierror is nil to +// prevent a null-pointer panic. It satisfies the errwrap.Wrapper interface. func (e *Error) WrappedErrors() []error { + if e == nil { + return nil + } return e.Errors } + +// Unwrap returns an error from Error (or nil if there are no errors). +// This error returned will further support Unwrap to get the next error, +// etc. The order will match the order of Errors in the multierror.Error +// at the time of calling. +// +// The resulting error supports errors.As/Is/Unwrap so you can continue +// to use the stdlib errors package to introspect further. +// +// This will perform a shallow copy of the errors slice. Any errors appended +// to this error after calling Unwrap will not be available until a new +// Unwrap is called on the multierror.Error. +func (e *Error) Unwrap() error { + // If we have no errors then we do nothing + if e == nil || len(e.Errors) == 0 { + return nil + } + + // If we have exactly one error, we can just return that directly. + if len(e.Errors) == 1 { + return e.Errors[0] + } + + // Shallow copy the slice + errs := make([]error, len(e.Errors)) + copy(errs, e.Errors) + return chain(errs) +} + +// chain implements the interfaces necessary for errors.Is/As/Unwrap to +// work in a deterministic way with multierror. A chain tracks a list of +// errors while accounting for the current represented error. This lets +// Is/As be meaningful. +// +// Unwrap returns the next error. In the cleanest form, Unwrap would return +// the wrapped error here but we can't do that if we want to properly +// get access to all the errors. Instead, users are recommended to use +// Is/As to get the correct error type out. +// +// Precondition: []error is non-empty (len > 0) +type chain []error + +// Error implements the error interface +func (e chain) Error() string { + return e[0].Error() +} + +// Unwrap implements errors.Unwrap by returning the next error in the +// chain or nil if there are no more errors. +func (e chain) Unwrap() error { + if len(e) == 1 { + return nil + } + + return e[1:] +} + +// As implements errors.As by attempting to map to the current value. +func (e chain) As(target interface{}) bool { + return errors.As(e[0], target) +} + +// Is implements errors.Is by comparing the current value directly. +func (e chain) Is(target error) bool { + return errors.Is(e[0], target) +} diff --git a/vendor/github.com/huin/goupnp/.gitignore b/vendor/github.com/huin/goupnp/.gitignore index 7a6e0ebe3..26031b608 100644 --- a/vendor/github.com/huin/goupnp/.gitignore +++ b/vendor/github.com/huin/goupnp/.gitignore @@ -1,2 +1,3 @@ *.zip -*.sublime-workspace \ No newline at end of file +*.sublime-workspace +*.download \ No newline at end of file diff --git a/vendor/github.com/huin/goupnp/Makefile b/vendor/github.com/huin/goupnp/Makefile new file mode 100644 index 000000000..3ddd8695c --- /dev/null +++ b/vendor/github.com/huin/goupnp/Makefile @@ -0,0 +1,2 @@ +gen: + (cd cmd/goupnpdcpgen/; go install); go generate ./... \ No newline at end of file diff --git a/vendor/github.com/huin/goupnp/dcps/internetgateway1/internetgateway1.go b/vendor/github.com/huin/goupnp/dcps/internetgateway1/internetgateway1.go index 0ac9d5458..942bb0921 100644 --- a/vendor/github.com/huin/goupnp/dcps/internetgateway1/internetgateway1.go +++ b/vendor/github.com/huin/goupnp/dcps/internetgateway1/internetgateway1.go @@ -1,6 +1,7 @@ // Client for UPnP Device Control Protocol Internet Gateway Device v1. // -// This DCP is documented in detail at: http://upnp.org/specs/gw/UPnP-gw-InternetGatewayDevice-v1-Device.pdf +// This DCP is documented in detail at: +// - http://upnp.org/specs/gw/UPnP-gw-InternetGatewayDevice-v1-Device.pdf // // Typically, use one of the New* functions to create clients for services. package internetgateway1 @@ -101,17 +102,17 @@ func newLANHostConfigManagement1ClientsFromGenericClients(genericClients []goupn return clients } -func (client *LANHostConfigManagement1) SetDHCPServerConfigurableCtx( +func (client *LANHostConfigManagement1) DeleteDNSServerCtx( ctx context.Context, - NewDHCPServerConfigurable bool, + NewDNSServers string, ) (err error) { // Request structure. request := &struct { - NewDHCPServerConfigurable string + NewDNSServers string }{} // BEGIN Marshal arguments into request. - if request.NewDHCPServerConfigurable, err = soap.MarshalBoolean(NewDHCPServerConfigurable); err != nil { + if request.NewDNSServers, err = soap.MarshalString(NewDNSServers); err != nil { return } // END Marshal arguments into request. @@ -120,7 +121,7 @@ func (client *LANHostConfigManagement1) SetDHCPServerConfigurableCtx( response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetDHCPServerConfigurable", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "DeleteDNSServer", request, response); err != nil { return } @@ -130,224 +131,11 @@ func (client *LANHostConfigManagement1) SetDHCPServerConfigurableCtx( return } -// SetDHCPServerConfigurable is the legacy version of SetDHCPServerConfigurableCtx, but uses +// DeleteDNSServer is the legacy version of DeleteDNSServerCtx, but uses // context.Background() as the context. -func (client *LANHostConfigManagement1) SetDHCPServerConfigurable(NewDHCPServerConfigurable bool) (err error) { - return client.SetDHCPServerConfigurableCtx(context.Background(), - NewDHCPServerConfigurable, - ) -} - -func (client *LANHostConfigManagement1) GetDHCPServerConfigurableCtx( - ctx context.Context, -) (NewDHCPServerConfigurable bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewDHCPServerConfigurable string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetDHCPServerConfigurable", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewDHCPServerConfigurable, err = soap.UnmarshalBoolean(response.NewDHCPServerConfigurable); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetDHCPServerConfigurable is the legacy version of GetDHCPServerConfigurableCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) GetDHCPServerConfigurable() (NewDHCPServerConfigurable bool, err error) { - return client.GetDHCPServerConfigurableCtx(context.Background()) -} - -func (client *LANHostConfigManagement1) SetDHCPRelayCtx( - ctx context.Context, - NewDHCPRelay bool, -) (err error) { - // Request structure. - request := &struct { - NewDHCPRelay string - }{} - // BEGIN Marshal arguments into request. - - if request.NewDHCPRelay, err = soap.MarshalBoolean(NewDHCPRelay); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetDHCPRelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetDHCPRelay is the legacy version of SetDHCPRelayCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) SetDHCPRelay(NewDHCPRelay bool) (err error) { - return client.SetDHCPRelayCtx(context.Background(), - NewDHCPRelay, - ) -} - -func (client *LANHostConfigManagement1) GetDHCPRelayCtx( - ctx context.Context, -) (NewDHCPRelay bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewDHCPRelay string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetDHCPRelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewDHCPRelay, err = soap.UnmarshalBoolean(response.NewDHCPRelay); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetDHCPRelay is the legacy version of GetDHCPRelayCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) GetDHCPRelay() (NewDHCPRelay bool, err error) { - return client.GetDHCPRelayCtx(context.Background()) -} - -func (client *LANHostConfigManagement1) SetSubnetMaskCtx( - ctx context.Context, - NewSubnetMask string, -) (err error) { - // Request structure. - request := &struct { - NewSubnetMask string - }{} - // BEGIN Marshal arguments into request. - - if request.NewSubnetMask, err = soap.MarshalString(NewSubnetMask); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetSubnetMask", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetSubnetMask is the legacy version of SetSubnetMaskCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) SetSubnetMask(NewSubnetMask string) (err error) { - return client.SetSubnetMaskCtx(context.Background(), - NewSubnetMask, - ) -} - -func (client *LANHostConfigManagement1) GetSubnetMaskCtx( - ctx context.Context, -) (NewSubnetMask string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewSubnetMask string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetSubnetMask", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewSubnetMask, err = soap.UnmarshalString(response.NewSubnetMask); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetSubnetMask is the legacy version of GetSubnetMaskCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) GetSubnetMask() (NewSubnetMask string, err error) { - return client.GetSubnetMaskCtx(context.Background()) -} - -func (client *LANHostConfigManagement1) SetIPRouterCtx( - ctx context.Context, - NewIPRouters string, -) (err error) { - // Request structure. - request := &struct { - NewIPRouters string - }{} - // BEGIN Marshal arguments into request. - - if request.NewIPRouters, err = soap.MarshalString(NewIPRouters); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetIPRouter", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetIPRouter is the legacy version of SetIPRouterCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) SetIPRouter(NewIPRouters string) (err error) { - return client.SetIPRouterCtx(context.Background(), - NewIPRouters, +func (client *LANHostConfigManagement1) DeleteDNSServer(NewDNSServers string) (err error) { + return client.DeleteDNSServerCtx(context.Background(), + NewDNSServers, ) } @@ -388,51 +176,17 @@ func (client *LANHostConfigManagement1) DeleteIPRouter(NewIPRouters string) (err ) } -func (client *LANHostConfigManagement1) GetIPRoutersListCtx( +func (client *LANHostConfigManagement1) DeleteReservedAddressCtx( ctx context.Context, -) (NewIPRouters string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewIPRouters string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetIPRoutersList", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewIPRouters, err = soap.UnmarshalString(response.NewIPRouters); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetIPRoutersList is the legacy version of GetIPRoutersListCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) GetIPRoutersList() (NewIPRouters string, err error) { - return client.GetIPRoutersListCtx(context.Background()) -} - -func (client *LANHostConfigManagement1) SetDomainNameCtx( - ctx context.Context, - NewDomainName string, + NewReservedAddresses string, ) (err error) { // Request structure. request := &struct { - NewDomainName string + NewReservedAddresses string }{} // BEGIN Marshal arguments into request. - if request.NewDomainName, err = soap.MarshalString(NewDomainName); err != nil { + if request.NewReservedAddresses, err = soap.MarshalString(NewReservedAddresses); err != nil { return } // END Marshal arguments into request. @@ -441,7 +195,7 @@ func (client *LANHostConfigManagement1) SetDomainNameCtx( response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetDomainName", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "DeleteReservedAddress", request, response); err != nil { return } @@ -451,14 +205,154 @@ func (client *LANHostConfigManagement1) SetDomainNameCtx( return } -// SetDomainName is the legacy version of SetDomainNameCtx, but uses +// DeleteReservedAddress is the legacy version of DeleteReservedAddressCtx, but uses // context.Background() as the context. -func (client *LANHostConfigManagement1) SetDomainName(NewDomainName string) (err error) { - return client.SetDomainNameCtx(context.Background(), - NewDomainName, +func (client *LANHostConfigManagement1) DeleteReservedAddress(NewReservedAddresses string) (err error) { + return client.DeleteReservedAddressCtx(context.Background(), + NewReservedAddresses, ) } +func (client *LANHostConfigManagement1) GetAddressRangeCtx( + ctx context.Context, +) (NewMinAddress string, NewMaxAddress string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewMinAddress string + NewMaxAddress string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetAddressRange", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewMinAddress, err = soap.UnmarshalString(response.NewMinAddress); err != nil { + return + } + if NewMaxAddress, err = soap.UnmarshalString(response.NewMaxAddress); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetAddressRange is the legacy version of GetAddressRangeCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetAddressRange() (NewMinAddress string, NewMaxAddress string, err error) { + return client.GetAddressRangeCtx(context.Background()) +} + +func (client *LANHostConfigManagement1) GetDHCPRelayCtx( + ctx context.Context, +) (NewDHCPRelay bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewDHCPRelay string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetDHCPRelay", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewDHCPRelay, err = soap.UnmarshalBoolean(response.NewDHCPRelay); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetDHCPRelay is the legacy version of GetDHCPRelayCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetDHCPRelay() (NewDHCPRelay bool, err error) { + return client.GetDHCPRelayCtx(context.Background()) +} + +func (client *LANHostConfigManagement1) GetDHCPServerConfigurableCtx( + ctx context.Context, +) (NewDHCPServerConfigurable bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewDHCPServerConfigurable string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetDHCPServerConfigurable", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewDHCPServerConfigurable, err = soap.UnmarshalBoolean(response.NewDHCPServerConfigurable); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetDHCPServerConfigurable is the legacy version of GetDHCPServerConfigurableCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetDHCPServerConfigurable() (NewDHCPServerConfigurable bool, err error) { + return client.GetDHCPServerConfigurableCtx(context.Background()) +} + +func (client *LANHostConfigManagement1) GetDNSServersCtx( + ctx context.Context, +) (NewDNSServers string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewDNSServers string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetDNSServers", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewDNSServers, err = soap.UnmarshalString(response.NewDNSServers); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetDNSServers is the legacy version of GetDNSServersCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetDNSServers() (NewDNSServers string, err error) { + return client.GetDNSServersCtx(context.Background()) +} + func (client *LANHostConfigManagement1) GetDomainNameCtx( ctx context.Context, ) (NewDomainName string, err error) { @@ -493,6 +387,108 @@ func (client *LANHostConfigManagement1) GetDomainName() (NewDomainName string, e return client.GetDomainNameCtx(context.Background()) } +func (client *LANHostConfigManagement1) GetIPRoutersListCtx( + ctx context.Context, +) (NewIPRouters string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewIPRouters string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetIPRoutersList", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewIPRouters, err = soap.UnmarshalString(response.NewIPRouters); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetIPRoutersList is the legacy version of GetIPRoutersListCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetIPRoutersList() (NewIPRouters string, err error) { + return client.GetIPRoutersListCtx(context.Background()) +} + +func (client *LANHostConfigManagement1) GetReservedAddressesCtx( + ctx context.Context, +) (NewReservedAddresses string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewReservedAddresses string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetReservedAddresses", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewReservedAddresses, err = soap.UnmarshalString(response.NewReservedAddresses); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetReservedAddresses is the legacy version of GetReservedAddressesCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetReservedAddresses() (NewReservedAddresses string, err error) { + return client.GetReservedAddressesCtx(context.Background()) +} + +func (client *LANHostConfigManagement1) GetSubnetMaskCtx( + ctx context.Context, +) (NewSubnetMask string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewSubnetMask string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetSubnetMask", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewSubnetMask, err = soap.UnmarshalString(response.NewSubnetMask); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetSubnetMask is the legacy version of GetSubnetMaskCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetSubnetMask() (NewSubnetMask string, err error) { + return client.GetSubnetMaskCtx(context.Background()) +} + func (client *LANHostConfigManagement1) SetAddressRangeCtx( ctx context.Context, NewMinAddress string, @@ -536,55 +532,17 @@ func (client *LANHostConfigManagement1) SetAddressRange(NewMinAddress string, Ne ) } -func (client *LANHostConfigManagement1) GetAddressRangeCtx( +func (client *LANHostConfigManagement1) SetDHCPRelayCtx( ctx context.Context, -) (NewMinAddress string, NewMaxAddress string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewMinAddress string - NewMaxAddress string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetAddressRange", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewMinAddress, err = soap.UnmarshalString(response.NewMinAddress); err != nil { - return - } - if NewMaxAddress, err = soap.UnmarshalString(response.NewMaxAddress); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetAddressRange is the legacy version of GetAddressRangeCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) GetAddressRange() (NewMinAddress string, NewMaxAddress string, err error) { - return client.GetAddressRangeCtx(context.Background()) -} - -func (client *LANHostConfigManagement1) SetReservedAddressCtx( - ctx context.Context, - NewReservedAddresses string, + NewDHCPRelay bool, ) (err error) { // Request structure. request := &struct { - NewReservedAddresses string + NewDHCPRelay string }{} // BEGIN Marshal arguments into request. - if request.NewReservedAddresses, err = soap.MarshalString(NewReservedAddresses); err != nil { + if request.NewDHCPRelay, err = soap.MarshalBoolean(NewDHCPRelay); err != nil { return } // END Marshal arguments into request. @@ -593,7 +551,7 @@ func (client *LANHostConfigManagement1) SetReservedAddressCtx( response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetReservedAddress", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetDHCPRelay", request, response); err != nil { return } @@ -603,25 +561,25 @@ func (client *LANHostConfigManagement1) SetReservedAddressCtx( return } -// SetReservedAddress is the legacy version of SetReservedAddressCtx, but uses +// SetDHCPRelay is the legacy version of SetDHCPRelayCtx, but uses // context.Background() as the context. -func (client *LANHostConfigManagement1) SetReservedAddress(NewReservedAddresses string) (err error) { - return client.SetReservedAddressCtx(context.Background(), - NewReservedAddresses, +func (client *LANHostConfigManagement1) SetDHCPRelay(NewDHCPRelay bool) (err error) { + return client.SetDHCPRelayCtx(context.Background(), + NewDHCPRelay, ) } -func (client *LANHostConfigManagement1) DeleteReservedAddressCtx( +func (client *LANHostConfigManagement1) SetDHCPServerConfigurableCtx( ctx context.Context, - NewReservedAddresses string, + NewDHCPServerConfigurable bool, ) (err error) { // Request structure. request := &struct { - NewReservedAddresses string + NewDHCPServerConfigurable string }{} // BEGIN Marshal arguments into request. - if request.NewReservedAddresses, err = soap.MarshalString(NewReservedAddresses); err != nil { + if request.NewDHCPServerConfigurable, err = soap.MarshalBoolean(NewDHCPServerConfigurable); err != nil { return } // END Marshal arguments into request. @@ -630,7 +588,7 @@ func (client *LANHostConfigManagement1) DeleteReservedAddressCtx( response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "DeleteReservedAddress", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetDHCPServerConfigurable", request, response); err != nil { return } @@ -640,48 +598,14 @@ func (client *LANHostConfigManagement1) DeleteReservedAddressCtx( return } -// DeleteReservedAddress is the legacy version of DeleteReservedAddressCtx, but uses +// SetDHCPServerConfigurable is the legacy version of SetDHCPServerConfigurableCtx, but uses // context.Background() as the context. -func (client *LANHostConfigManagement1) DeleteReservedAddress(NewReservedAddresses string) (err error) { - return client.DeleteReservedAddressCtx(context.Background(), - NewReservedAddresses, +func (client *LANHostConfigManagement1) SetDHCPServerConfigurable(NewDHCPServerConfigurable bool) (err error) { + return client.SetDHCPServerConfigurableCtx(context.Background(), + NewDHCPServerConfigurable, ) } -func (client *LANHostConfigManagement1) GetReservedAddressesCtx( - ctx context.Context, -) (NewReservedAddresses string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewReservedAddresses string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetReservedAddresses", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewReservedAddresses, err = soap.UnmarshalString(response.NewReservedAddresses); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetReservedAddresses is the legacy version of GetReservedAddressesCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) GetReservedAddresses() (NewReservedAddresses string, err error) { - return client.GetReservedAddressesCtx(context.Background()) -} - func (client *LANHostConfigManagement1) SetDNSServerCtx( ctx context.Context, NewDNSServers string, @@ -719,17 +643,17 @@ func (client *LANHostConfigManagement1) SetDNSServer(NewDNSServers string) (err ) } -func (client *LANHostConfigManagement1) DeleteDNSServerCtx( +func (client *LANHostConfigManagement1) SetDomainNameCtx( ctx context.Context, - NewDNSServers string, + NewDomainName string, ) (err error) { // Request structure. request := &struct { - NewDNSServers string + NewDomainName string }{} // BEGIN Marshal arguments into request. - if request.NewDNSServers, err = soap.MarshalString(NewDNSServers); err != nil { + if request.NewDomainName, err = soap.MarshalString(NewDomainName); err != nil { return } // END Marshal arguments into request. @@ -738,7 +662,7 @@ func (client *LANHostConfigManagement1) DeleteDNSServerCtx( response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "DeleteDNSServer", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetDomainName", request, response); err != nil { return } @@ -748,46 +672,123 @@ func (client *LANHostConfigManagement1) DeleteDNSServerCtx( return } -// DeleteDNSServer is the legacy version of DeleteDNSServerCtx, but uses +// SetDomainName is the legacy version of SetDomainNameCtx, but uses // context.Background() as the context. -func (client *LANHostConfigManagement1) DeleteDNSServer(NewDNSServers string) (err error) { - return client.DeleteDNSServerCtx(context.Background(), - NewDNSServers, +func (client *LANHostConfigManagement1) SetDomainName(NewDomainName string) (err error) { + return client.SetDomainNameCtx(context.Background(), + NewDomainName, ) } -func (client *LANHostConfigManagement1) GetDNSServersCtx( +func (client *LANHostConfigManagement1) SetIPRouterCtx( ctx context.Context, -) (NewDNSServers string, err error) { + NewIPRouters string, +) (err error) { // Request structure. - request := interface{}(nil) + request := &struct { + NewIPRouters string + }{} // BEGIN Marshal arguments into request. + if request.NewIPRouters, err = soap.MarshalString(NewIPRouters); err != nil { + return + } // END Marshal arguments into request. // Response structure. - response := &struct { - NewDNSServers string - }{} + response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetDNSServers", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetIPRouter", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewDNSServers, err = soap.UnmarshalString(response.NewDNSServers); err != nil { - return - } // END Unmarshal arguments from response. return } -// GetDNSServers is the legacy version of GetDNSServersCtx, but uses +// SetIPRouter is the legacy version of SetIPRouterCtx, but uses // context.Background() as the context. -func (client *LANHostConfigManagement1) GetDNSServers() (NewDNSServers string, err error) { - return client.GetDNSServersCtx(context.Background()) +func (client *LANHostConfigManagement1) SetIPRouter(NewIPRouters string) (err error) { + return client.SetIPRouterCtx(context.Background(), + NewIPRouters, + ) +} + +func (client *LANHostConfigManagement1) SetReservedAddressCtx( + ctx context.Context, + NewReservedAddresses string, +) (err error) { + // Request structure. + request := &struct { + NewReservedAddresses string + }{} + // BEGIN Marshal arguments into request. + + if request.NewReservedAddresses, err = soap.MarshalString(NewReservedAddresses); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetReservedAddress", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetReservedAddress is the legacy version of SetReservedAddressCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) SetReservedAddress(NewReservedAddresses string) (err error) { + return client.SetReservedAddressCtx(context.Background(), + NewReservedAddresses, + ) +} + +func (client *LANHostConfigManagement1) SetSubnetMaskCtx( + ctx context.Context, + NewSubnetMask string, +) (err error) { + // Request structure. + request := &struct { + NewSubnetMask string + }{} + // BEGIN Marshal arguments into request. + + if request.NewSubnetMask, err = soap.MarshalString(NewSubnetMask); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetSubnetMask", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetSubnetMask is the legacy version of SetSubnetMaskCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) SetSubnetMask(NewSubnetMask string) (err error) { + return client.SetSubnetMaskCtx(context.Background(), + NewSubnetMask, + ) } // Layer3Forwarding1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:Layer3Forwarding:1". See @@ -850,6 +851,40 @@ func newLayer3Forwarding1ClientsFromGenericClients(genericClients []goupnp.Servi return clients } +func (client *Layer3Forwarding1) GetDefaultConnectionServiceCtx( + ctx context.Context, +) (NewDefaultConnectionService string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewDefaultConnectionService string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_Layer3Forwarding_1, "GetDefaultConnectionService", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewDefaultConnectionService, err = soap.UnmarshalString(response.NewDefaultConnectionService); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetDefaultConnectionService is the legacy version of GetDefaultConnectionServiceCtx, but uses +// context.Background() as the context. +func (client *Layer3Forwarding1) GetDefaultConnectionService() (NewDefaultConnectionService string, err error) { + return client.GetDefaultConnectionServiceCtx(context.Background()) +} + func (client *Layer3Forwarding1) SetDefaultConnectionServiceCtx( ctx context.Context, NewDefaultConnectionService string, @@ -887,40 +922,6 @@ func (client *Layer3Forwarding1) SetDefaultConnectionService(NewDefaultConnectio ) } -func (client *Layer3Forwarding1) GetDefaultConnectionServiceCtx( - ctx context.Context, -) (NewDefaultConnectionService string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewDefaultConnectionService string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_Layer3Forwarding_1, "GetDefaultConnectionService", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewDefaultConnectionService, err = soap.UnmarshalString(response.NewDefaultConnectionService); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetDefaultConnectionService is the legacy version of GetDefaultConnectionServiceCtx, but uses -// context.Background() as the context. -func (client *Layer3Forwarding1) GetDefaultConnectionService() (NewDefaultConnectionService string, err error) { - return client.GetDefaultConnectionServiceCtx(context.Background()) -} - // WANCableLinkConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANCableLinkConfig:1". See // goupnp.ServiceClient, which contains RootDevice and Service attributes which // are provided for informational value. @@ -981,6 +982,40 @@ func newWANCableLinkConfig1ClientsFromGenericClients(genericClients []goupnp.Ser return clients } +func (client *WANCableLinkConfig1) GetBPIEncryptionEnabledCtx( + ctx context.Context, +) (NewBPIEncryptionEnabled bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewBPIEncryptionEnabled string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetBPIEncryptionEnabled", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewBPIEncryptionEnabled, err = soap.UnmarshalBoolean(response.NewBPIEncryptionEnabled); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetBPIEncryptionEnabled is the legacy version of GetBPIEncryptionEnabledCtx, but uses +// context.Background() as the context. +func (client *WANCableLinkConfig1) GetBPIEncryptionEnabled() (NewBPIEncryptionEnabled bool, err error) { + return client.GetBPIEncryptionEnabledCtx(context.Background()) +} + // // Return values: // @@ -1025,6 +1060,40 @@ func (client *WANCableLinkConfig1) GetCableLinkConfigInfo() (NewCableLinkConfigS return client.GetCableLinkConfigInfoCtx(context.Background()) } +func (client *WANCableLinkConfig1) GetConfigFileCtx( + ctx context.Context, +) (NewConfigFile string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewConfigFile string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetConfigFile", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewConfigFile, err = soap.UnmarshalString(response.NewConfigFile); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetConfigFile is the legacy version of GetConfigFileCtx, but uses +// context.Background() as the context. +func (client *WANCableLinkConfig1) GetConfigFile() (NewConfigFile string, err error) { + return client.GetConfigFileCtx(context.Background()) +} + func (client *WANCableLinkConfig1) GetDownstreamFrequencyCtx( ctx context.Context, ) (NewDownstreamFrequency uint32, err error) { @@ -1097,6 +1166,74 @@ func (client *WANCableLinkConfig1) GetDownstreamModulation() (NewDownstreamModul return client.GetDownstreamModulationCtx(context.Background()) } +func (client *WANCableLinkConfig1) GetTFTPServerCtx( + ctx context.Context, +) (NewTFTPServer string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewTFTPServer string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetTFTPServer", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewTFTPServer, err = soap.UnmarshalString(response.NewTFTPServer); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetTFTPServer is the legacy version of GetTFTPServerCtx, but uses +// context.Background() as the context. +func (client *WANCableLinkConfig1) GetTFTPServer() (NewTFTPServer string, err error) { + return client.GetTFTPServerCtx(context.Background()) +} + +func (client *WANCableLinkConfig1) GetUpstreamChannelIDCtx( + ctx context.Context, +) (NewUpstreamChannelID uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewUpstreamChannelID string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetUpstreamChannelID", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewUpstreamChannelID, err = soap.UnmarshalUi4(response.NewUpstreamChannelID); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetUpstreamChannelID is the legacy version of GetUpstreamChannelIDCtx, but uses +// context.Background() as the context. +func (client *WANCableLinkConfig1) GetUpstreamChannelID() (NewUpstreamChannelID uint32, err error) { + return client.GetUpstreamChannelIDCtx(context.Background()) +} + func (client *WANCableLinkConfig1) GetUpstreamFrequencyCtx( ctx context.Context, ) (NewUpstreamFrequency uint32, err error) { @@ -1169,40 +1306,6 @@ func (client *WANCableLinkConfig1) GetUpstreamModulation() (NewUpstreamModulatio return client.GetUpstreamModulationCtx(context.Background()) } -func (client *WANCableLinkConfig1) GetUpstreamChannelIDCtx( - ctx context.Context, -) (NewUpstreamChannelID uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewUpstreamChannelID string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetUpstreamChannelID", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewUpstreamChannelID, err = soap.UnmarshalUi4(response.NewUpstreamChannelID); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetUpstreamChannelID is the legacy version of GetUpstreamChannelIDCtx, but uses -// context.Background() as the context. -func (client *WANCableLinkConfig1) GetUpstreamChannelID() (NewUpstreamChannelID uint32, err error) { - return client.GetUpstreamChannelIDCtx(context.Background()) -} - func (client *WANCableLinkConfig1) GetUpstreamPowerLevelCtx( ctx context.Context, ) (NewUpstreamPowerLevel uint32, err error) { @@ -1237,108 +1340,6 @@ func (client *WANCableLinkConfig1) GetUpstreamPowerLevel() (NewUpstreamPowerLeve return client.GetUpstreamPowerLevelCtx(context.Background()) } -func (client *WANCableLinkConfig1) GetBPIEncryptionEnabledCtx( - ctx context.Context, -) (NewBPIEncryptionEnabled bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewBPIEncryptionEnabled string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetBPIEncryptionEnabled", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewBPIEncryptionEnabled, err = soap.UnmarshalBoolean(response.NewBPIEncryptionEnabled); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetBPIEncryptionEnabled is the legacy version of GetBPIEncryptionEnabledCtx, but uses -// context.Background() as the context. -func (client *WANCableLinkConfig1) GetBPIEncryptionEnabled() (NewBPIEncryptionEnabled bool, err error) { - return client.GetBPIEncryptionEnabledCtx(context.Background()) -} - -func (client *WANCableLinkConfig1) GetConfigFileCtx( - ctx context.Context, -) (NewConfigFile string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewConfigFile string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetConfigFile", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewConfigFile, err = soap.UnmarshalString(response.NewConfigFile); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetConfigFile is the legacy version of GetConfigFileCtx, but uses -// context.Background() as the context. -func (client *WANCableLinkConfig1) GetConfigFile() (NewConfigFile string, err error) { - return client.GetConfigFileCtx(context.Background()) -} - -func (client *WANCableLinkConfig1) GetTFTPServerCtx( - ctx context.Context, -) (NewTFTPServer string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewTFTPServer string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetTFTPServer", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewTFTPServer, err = soap.UnmarshalString(response.NewTFTPServer); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetTFTPServer is the legacy version of GetTFTPServerCtx, but uses -// context.Background() as the context. -func (client *WANCableLinkConfig1) GetTFTPServer() (NewTFTPServer string, err error) { - return client.GetTFTPServerCtx(context.Background()) -} - // WANCommonInterfaceConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1". See // goupnp.ServiceClient, which contains RootDevice and Service attributes which // are provided for informational value. @@ -1399,75 +1400,50 @@ func newWANCommonInterfaceConfig1ClientsFromGenericClients(genericClients []goup return clients } -func (client *WANCommonInterfaceConfig1) SetEnabledForInternetCtx( +func (client *WANCommonInterfaceConfig1) GetActiveConnectionCtx( ctx context.Context, - NewEnabledForInternet bool, -) (err error) { + NewActiveConnectionIndex uint16, +) (NewActiveConnDeviceContainer string, NewActiveConnectionServiceID string, err error) { // Request structure. request := &struct { - NewEnabledForInternet string + NewActiveConnectionIndex string }{} // BEGIN Marshal arguments into request. - if request.NewEnabledForInternet, err = soap.MarshalBoolean(NewEnabledForInternet); err != nil { + if request.NewActiveConnectionIndex, err = soap.MarshalUi2(NewActiveConnectionIndex); err != nil { return } // END Marshal arguments into request. - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "SetEnabledForInternet", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetEnabledForInternet is the legacy version of SetEnabledForInternetCtx, but uses -// context.Background() as the context. -func (client *WANCommonInterfaceConfig1) SetEnabledForInternet(NewEnabledForInternet bool) (err error) { - return client.SetEnabledForInternetCtx(context.Background(), - NewEnabledForInternet, - ) -} - -func (client *WANCommonInterfaceConfig1) GetEnabledForInternetCtx( - ctx context.Context, -) (NewEnabledForInternet bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - // Response structure. response := &struct { - NewEnabledForInternet string + NewActiveConnDeviceContainer string + NewActiveConnectionServiceID string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetEnabledForInternet", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetActiveConnection", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewEnabledForInternet, err = soap.UnmarshalBoolean(response.NewEnabledForInternet); err != nil { + if NewActiveConnDeviceContainer, err = soap.UnmarshalString(response.NewActiveConnDeviceContainer); err != nil { + return + } + if NewActiveConnectionServiceID, err = soap.UnmarshalString(response.NewActiveConnectionServiceID); err != nil { return } // END Unmarshal arguments from response. return } -// GetEnabledForInternet is the legacy version of GetEnabledForInternetCtx, but uses +// GetActiveConnection is the legacy version of GetActiveConnectionCtx, but uses // context.Background() as the context. -func (client *WANCommonInterfaceConfig1) GetEnabledForInternet() (NewEnabledForInternet bool, err error) { - return client.GetEnabledForInternetCtx(context.Background()) +func (client *WANCommonInterfaceConfig1) GetActiveConnection(NewActiveConnectionIndex uint16) (NewActiveConnDeviceContainer string, NewActiveConnectionServiceID string, err error) { + return client.GetActiveConnectionCtx(context.Background(), + NewActiveConnectionIndex, + ) } // @@ -1522,9 +1498,9 @@ func (client *WANCommonInterfaceConfig1) GetCommonLinkProperties() (NewWANAccess return client.GetCommonLinkPropertiesCtx(context.Background()) } -func (client *WANCommonInterfaceConfig1) GetWANAccessProviderCtx( +func (client *WANCommonInterfaceConfig1) GetEnabledForInternetCtx( ctx context.Context, -) (NewWANAccessProvider string, err error) { +) (NewEnabledForInternet bool, err error) { // Request structure. request := interface{}(nil) // BEGIN Marshal arguments into request. @@ -1533,27 +1509,27 @@ func (client *WANCommonInterfaceConfig1) GetWANAccessProviderCtx( // Response structure. response := &struct { - NewWANAccessProvider string + NewEnabledForInternet string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetWANAccessProvider", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetEnabledForInternet", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewWANAccessProvider, err = soap.UnmarshalString(response.NewWANAccessProvider); err != nil { + if NewEnabledForInternet, err = soap.UnmarshalBoolean(response.NewEnabledForInternet); err != nil { return } // END Unmarshal arguments from response. return } -// GetWANAccessProvider is the legacy version of GetWANAccessProviderCtx, but uses +// GetEnabledForInternet is the legacy version of GetEnabledForInternetCtx, but uses // context.Background() as the context. -func (client *WANCommonInterfaceConfig1) GetWANAccessProvider() (NewWANAccessProvider string, err error) { - return client.GetWANAccessProviderCtx(context.Background()) +func (client *WANCommonInterfaceConfig1) GetEnabledForInternet() (NewEnabledForInternet bool, err error) { + return client.GetEnabledForInternetCtx(context.Background()) } // @@ -1594,40 +1570,6 @@ func (client *WANCommonInterfaceConfig1) GetMaximumActiveConnections() (NewMaxim return client.GetMaximumActiveConnectionsCtx(context.Background()) } -func (client *WANCommonInterfaceConfig1) GetTotalBytesSentCtx( - ctx context.Context, -) (NewTotalBytesSent uint64, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewTotalBytesSent string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetTotalBytesSent", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewTotalBytesSent, err = soap.UnmarshalUi8(response.NewTotalBytesSent); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetTotalBytesSent is the legacy version of GetTotalBytesSentCtx, but uses -// context.Background() as the context. -func (client *WANCommonInterfaceConfig1) GetTotalBytesSent() (NewTotalBytesSent uint64, err error) { - return client.GetTotalBytesSentCtx(context.Background()) -} - func (client *WANCommonInterfaceConfig1) GetTotalBytesReceivedCtx( ctx context.Context, ) (NewTotalBytesReceived uint64, err error) { @@ -1662,9 +1604,9 @@ func (client *WANCommonInterfaceConfig1) GetTotalBytesReceived() (NewTotalBytesR return client.GetTotalBytesReceivedCtx(context.Background()) } -func (client *WANCommonInterfaceConfig1) GetTotalPacketsSentCtx( +func (client *WANCommonInterfaceConfig1) GetTotalBytesSentCtx( ctx context.Context, -) (NewTotalPacketsSent uint32, err error) { +) (NewTotalBytesSent uint64, err error) { // Request structure. request := interface{}(nil) // BEGIN Marshal arguments into request. @@ -1673,27 +1615,27 @@ func (client *WANCommonInterfaceConfig1) GetTotalPacketsSentCtx( // Response structure. response := &struct { - NewTotalPacketsSent string + NewTotalBytesSent string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetTotalPacketsSent", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetTotalBytesSent", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewTotalPacketsSent, err = soap.UnmarshalUi4(response.NewTotalPacketsSent); err != nil { + if NewTotalBytesSent, err = soap.UnmarshalUi8(response.NewTotalBytesSent); err != nil { return } // END Unmarshal arguments from response. return } -// GetTotalPacketsSent is the legacy version of GetTotalPacketsSentCtx, but uses +// GetTotalBytesSent is the legacy version of GetTotalBytesSentCtx, but uses // context.Background() as the context. -func (client *WANCommonInterfaceConfig1) GetTotalPacketsSent() (NewTotalPacketsSent uint32, err error) { - return client.GetTotalPacketsSentCtx(context.Background()) +func (client *WANCommonInterfaceConfig1) GetTotalBytesSent() (NewTotalBytesSent uint64, err error) { + return client.GetTotalBytesSentCtx(context.Background()) } func (client *WANCommonInterfaceConfig1) GetTotalPacketsReceivedCtx( @@ -1730,49 +1672,108 @@ func (client *WANCommonInterfaceConfig1) GetTotalPacketsReceived() (NewTotalPack return client.GetTotalPacketsReceivedCtx(context.Background()) } -func (client *WANCommonInterfaceConfig1) GetActiveConnectionCtx( +func (client *WANCommonInterfaceConfig1) GetTotalPacketsSentCtx( ctx context.Context, - NewActiveConnectionIndex uint16, -) (NewActiveConnDeviceContainer string, NewActiveConnectionServiceID string, err error) { +) (NewTotalPacketsSent uint32, err error) { // Request structure. - request := &struct { - NewActiveConnectionIndex string - }{} + request := interface{}(nil) // BEGIN Marshal arguments into request. - if request.NewActiveConnectionIndex, err = soap.MarshalUi2(NewActiveConnectionIndex); err != nil { - return - } // END Marshal arguments into request. // Response structure. response := &struct { - NewActiveConnDeviceContainer string - NewActiveConnectionServiceID string + NewTotalPacketsSent string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetActiveConnection", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetTotalPacketsSent", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewActiveConnDeviceContainer, err = soap.UnmarshalString(response.NewActiveConnDeviceContainer); err != nil { - return - } - if NewActiveConnectionServiceID, err = soap.UnmarshalString(response.NewActiveConnectionServiceID); err != nil { + if NewTotalPacketsSent, err = soap.UnmarshalUi4(response.NewTotalPacketsSent); err != nil { return } // END Unmarshal arguments from response. return } -// GetActiveConnection is the legacy version of GetActiveConnectionCtx, but uses +// GetTotalPacketsSent is the legacy version of GetTotalPacketsSentCtx, but uses // context.Background() as the context. -func (client *WANCommonInterfaceConfig1) GetActiveConnection(NewActiveConnectionIndex uint16) (NewActiveConnDeviceContainer string, NewActiveConnectionServiceID string, err error) { - return client.GetActiveConnectionCtx(context.Background(), - NewActiveConnectionIndex, +func (client *WANCommonInterfaceConfig1) GetTotalPacketsSent() (NewTotalPacketsSent uint32, err error) { + return client.GetTotalPacketsSentCtx(context.Background()) +} + +func (client *WANCommonInterfaceConfig1) GetWANAccessProviderCtx( + ctx context.Context, +) (NewWANAccessProvider string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewWANAccessProvider string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetWANAccessProvider", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewWANAccessProvider, err = soap.UnmarshalString(response.NewWANAccessProvider); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetWANAccessProvider is the legacy version of GetWANAccessProviderCtx, but uses +// context.Background() as the context. +func (client *WANCommonInterfaceConfig1) GetWANAccessProvider() (NewWANAccessProvider string, err error) { + return client.GetWANAccessProviderCtx(context.Background()) +} + +func (client *WANCommonInterfaceConfig1) SetEnabledForInternetCtx( + ctx context.Context, + NewEnabledForInternet bool, +) (err error) { + // Request structure. + request := &struct { + NewEnabledForInternet string + }{} + // BEGIN Marshal arguments into request. + + if request.NewEnabledForInternet, err = soap.MarshalBoolean(NewEnabledForInternet); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "SetEnabledForInternet", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetEnabledForInternet is the legacy version of SetEnabledForInternetCtx, but uses +// context.Background() as the context. +func (client *WANCommonInterfaceConfig1) SetEnabledForInternet(NewEnabledForInternet bool) (err error) { + return client.SetEnabledForInternetCtx(context.Background(), + NewEnabledForInternet, ) } @@ -1836,41 +1837,72 @@ func newWANDSLLinkConfig1ClientsFromGenericClients(genericClients []goupnp.Servi return clients } -func (client *WANDSLLinkConfig1) SetDSLLinkTypeCtx( +func (client *WANDSLLinkConfig1) GetATMEncapsulationCtx( ctx context.Context, - NewLinkType string, -) (err error) { +) (NewATMEncapsulation string, err error) { // Request structure. - request := &struct { - NewLinkType string - }{} + request := interface{}(nil) // BEGIN Marshal arguments into request. - if request.NewLinkType, err = soap.MarshalString(NewLinkType); err != nil { - return - } // END Marshal arguments into request. // Response structure. - response := interface{}(nil) + response := &struct { + NewATMEncapsulation string + }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "SetDSLLinkType", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetATMEncapsulation", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. + if NewATMEncapsulation, err = soap.UnmarshalString(response.NewATMEncapsulation); err != nil { + return + } // END Unmarshal arguments from response. return } -// SetDSLLinkType is the legacy version of SetDSLLinkTypeCtx, but uses +// GetATMEncapsulation is the legacy version of GetATMEncapsulationCtx, but uses // context.Background() as the context. -func (client *WANDSLLinkConfig1) SetDSLLinkType(NewLinkType string) (err error) { - return client.SetDSLLinkTypeCtx(context.Background(), - NewLinkType, - ) +func (client *WANDSLLinkConfig1) GetATMEncapsulation() (NewATMEncapsulation string, err error) { + return client.GetATMEncapsulationCtx(context.Background()) +} + +func (client *WANDSLLinkConfig1) GetAutoConfigCtx( + ctx context.Context, +) (NewAutoConfig bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewAutoConfig string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetAutoConfig", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewAutoConfig, err = soap.UnmarshalBoolean(response.NewAutoConfig); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetAutoConfig is the legacy version of GetAutoConfigCtx, but uses +// context.Background() as the context. +func (client *WANDSLLinkConfig1) GetAutoConfig() (NewAutoConfig bool, err error) { + return client.GetAutoConfigCtx(context.Background()) } // @@ -1915,9 +1947,9 @@ func (client *WANDSLLinkConfig1) GetDSLLinkInfo() (NewLinkType string, NewLinkSt return client.GetDSLLinkInfoCtx(context.Background()) } -func (client *WANDSLLinkConfig1) GetAutoConfigCtx( +func (client *WANDSLLinkConfig1) GetDestinationAddressCtx( ctx context.Context, -) (NewAutoConfig bool, err error) { +) (NewDestinationAddress string, err error) { // Request structure. request := interface{}(nil) // BEGIN Marshal arguments into request. @@ -1926,27 +1958,61 @@ func (client *WANDSLLinkConfig1) GetAutoConfigCtx( // Response structure. response := &struct { - NewAutoConfig string + NewDestinationAddress string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetAutoConfig", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetDestinationAddress", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewAutoConfig, err = soap.UnmarshalBoolean(response.NewAutoConfig); err != nil { + if NewDestinationAddress, err = soap.UnmarshalString(response.NewDestinationAddress); err != nil { return } // END Unmarshal arguments from response. return } -// GetAutoConfig is the legacy version of GetAutoConfigCtx, but uses +// GetDestinationAddress is the legacy version of GetDestinationAddressCtx, but uses // context.Background() as the context. -func (client *WANDSLLinkConfig1) GetAutoConfig() (NewAutoConfig bool, err error) { - return client.GetAutoConfigCtx(context.Background()) +func (client *WANDSLLinkConfig1) GetDestinationAddress() (NewDestinationAddress string, err error) { + return client.GetDestinationAddressCtx(context.Background()) +} + +func (client *WANDSLLinkConfig1) GetFCSPreservedCtx( + ctx context.Context, +) (NewFCSPreserved bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewFCSPreserved string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetFCSPreserved", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewFCSPreserved, err = soap.UnmarshalBoolean(response.NewFCSPreserved); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetFCSPreserved is the legacy version of GetFCSPreservedCtx, but uses +// context.Background() as the context. +func (client *WANDSLLinkConfig1) GetFCSPreserved() (NewFCSPreserved bool, err error) { + return client.GetFCSPreservedCtx(context.Background()) } func (client *WANDSLLinkConfig1) GetModulationTypeCtx( @@ -1983,77 +2049,6 @@ func (client *WANDSLLinkConfig1) GetModulationType() (NewModulationType string, return client.GetModulationTypeCtx(context.Background()) } -func (client *WANDSLLinkConfig1) SetDestinationAddressCtx( - ctx context.Context, - NewDestinationAddress string, -) (err error) { - // Request structure. - request := &struct { - NewDestinationAddress string - }{} - // BEGIN Marshal arguments into request. - - if request.NewDestinationAddress, err = soap.MarshalString(NewDestinationAddress); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "SetDestinationAddress", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetDestinationAddress is the legacy version of SetDestinationAddressCtx, but uses -// context.Background() as the context. -func (client *WANDSLLinkConfig1) SetDestinationAddress(NewDestinationAddress string) (err error) { - return client.SetDestinationAddressCtx(context.Background(), - NewDestinationAddress, - ) -} - -func (client *WANDSLLinkConfig1) GetDestinationAddressCtx( - ctx context.Context, -) (NewDestinationAddress string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewDestinationAddress string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetDestinationAddress", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewDestinationAddress, err = soap.UnmarshalString(response.NewDestinationAddress); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetDestinationAddress is the legacy version of GetDestinationAddressCtx, but uses -// context.Background() as the context. -func (client *WANDSLLinkConfig1) GetDestinationAddress() (NewDestinationAddress string, err error) { - return client.GetDestinationAddressCtx(context.Background()) -} - func (client *WANDSLLinkConfig1) SetATMEncapsulationCtx( ctx context.Context, NewATMEncapsulation string, @@ -2091,38 +2086,78 @@ func (client *WANDSLLinkConfig1) SetATMEncapsulation(NewATMEncapsulation string) ) } -func (client *WANDSLLinkConfig1) GetATMEncapsulationCtx( +func (client *WANDSLLinkConfig1) SetDSLLinkTypeCtx( ctx context.Context, -) (NewATMEncapsulation string, err error) { + NewLinkType string, +) (err error) { // Request structure. - request := interface{}(nil) + request := &struct { + NewLinkType string + }{} // BEGIN Marshal arguments into request. + if request.NewLinkType, err = soap.MarshalString(NewLinkType); err != nil { + return + } // END Marshal arguments into request. // Response structure. - response := &struct { - NewATMEncapsulation string - }{} + response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetATMEncapsulation", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "SetDSLLinkType", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewATMEncapsulation, err = soap.UnmarshalString(response.NewATMEncapsulation); err != nil { - return - } // END Unmarshal arguments from response. return } -// GetATMEncapsulation is the legacy version of GetATMEncapsulationCtx, but uses +// SetDSLLinkType is the legacy version of SetDSLLinkTypeCtx, but uses // context.Background() as the context. -func (client *WANDSLLinkConfig1) GetATMEncapsulation() (NewATMEncapsulation string, err error) { - return client.GetATMEncapsulationCtx(context.Background()) +func (client *WANDSLLinkConfig1) SetDSLLinkType(NewLinkType string) (err error) { + return client.SetDSLLinkTypeCtx(context.Background(), + NewLinkType, + ) +} + +func (client *WANDSLLinkConfig1) SetDestinationAddressCtx( + ctx context.Context, + NewDestinationAddress string, +) (err error) { + // Request structure. + request := &struct { + NewDestinationAddress string + }{} + // BEGIN Marshal arguments into request. + + if request.NewDestinationAddress, err = soap.MarshalString(NewDestinationAddress); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "SetDestinationAddress", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetDestinationAddress is the legacy version of SetDestinationAddressCtx, but uses +// context.Background() as the context. +func (client *WANDSLLinkConfig1) SetDestinationAddress(NewDestinationAddress string) (err error) { + return client.SetDestinationAddressCtx(context.Background(), + NewDestinationAddress, + ) } func (client *WANDSLLinkConfig1) SetFCSPreservedCtx( @@ -2162,40 +2197,6 @@ func (client *WANDSLLinkConfig1) SetFCSPreserved(NewFCSPreserved bool) (err erro ) } -func (client *WANDSLLinkConfig1) GetFCSPreservedCtx( - ctx context.Context, -) (NewFCSPreserved bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewFCSPreserved string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetFCSPreserved", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewFCSPreserved, err = soap.UnmarshalBoolean(response.NewFCSPreserved); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetFCSPreserved is the legacy version of GetFCSPreservedCtx, but uses -// context.Background() as the context. -func (client *WANDSLLinkConfig1) GetFCSPreserved() (NewFCSPreserved bool, err error) { - return client.GetFCSPreservedCtx(context.Background()) -} - // WANEthernetLinkConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANEthernetLinkConfig:1". See // goupnp.ServiceClient, which contains RootDevice and Service attributes which // are provided for informational value. @@ -2354,620 +2355,6 @@ func newWANIPConnection1ClientsFromGenericClients(genericClients []goupnp.Servic return clients } -func (client *WANIPConnection1) SetConnectionTypeCtx( - ctx context.Context, - NewConnectionType string, -) (err error) { - // Request structure. - request := &struct { - NewConnectionType string - }{} - // BEGIN Marshal arguments into request. - - if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetConnectionType", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) SetConnectionType(NewConnectionType string) (err error) { - return client.SetConnectionTypeCtx(context.Background(), - NewConnectionType, - ) -} - -// -// Return values: -// -// * NewPossibleConnectionTypes: allowed values: Unconfigured, IP_Routed, IP_Bridged -func (client *WANIPConnection1) GetConnectionTypeInfoCtx( - ctx context.Context, -) (NewConnectionType string, NewPossibleConnectionTypes string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewConnectionType string - NewPossibleConnectionTypes string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetConnectionTypeInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewConnectionType, err = soap.UnmarshalString(response.NewConnectionType); err != nil { - return - } - if NewPossibleConnectionTypes, err = soap.UnmarshalString(response.NewPossibleConnectionTypes); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetConnectionTypeInfo() (NewConnectionType string, NewPossibleConnectionTypes string, err error) { - return client.GetConnectionTypeInfoCtx(context.Background()) -} - -func (client *WANIPConnection1) RequestConnectionCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "RequestConnection", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// RequestConnection is the legacy version of RequestConnectionCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) RequestConnection() (err error) { - return client.RequestConnectionCtx(context.Background()) -} - -func (client *WANIPConnection1) RequestTerminationCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "RequestTermination", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// RequestTermination is the legacy version of RequestTerminationCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) RequestTermination() (err error) { - return client.RequestTerminationCtx(context.Background()) -} - -func (client *WANIPConnection1) ForceTerminationCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "ForceTermination", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// ForceTermination is the legacy version of ForceTerminationCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) ForceTermination() (err error) { - return client.ForceTerminationCtx(context.Background()) -} - -func (client *WANIPConnection1) SetAutoDisconnectTimeCtx( - ctx context.Context, - NewAutoDisconnectTime uint32, -) (err error) { - // Request structure. - request := &struct { - NewAutoDisconnectTime string - }{} - // BEGIN Marshal arguments into request. - - if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetAutoDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) SetAutoDisconnectTime(NewAutoDisconnectTime uint32) (err error) { - return client.SetAutoDisconnectTimeCtx(context.Background(), - NewAutoDisconnectTime, - ) -} - -func (client *WANIPConnection1) SetIdleDisconnectTimeCtx( - ctx context.Context, - NewIdleDisconnectTime uint32, -) (err error) { - // Request structure. - request := &struct { - NewIdleDisconnectTime string - }{} - // BEGIN Marshal arguments into request. - - if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetIdleDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) SetIdleDisconnectTime(NewIdleDisconnectTime uint32) (err error) { - return client.SetIdleDisconnectTimeCtx(context.Background(), - NewIdleDisconnectTime, - ) -} - -func (client *WANIPConnection1) SetWarnDisconnectDelayCtx( - ctx context.Context, - NewWarnDisconnectDelay uint32, -) (err error) { - // Request structure. - request := &struct { - NewWarnDisconnectDelay string - }{} - // BEGIN Marshal arguments into request. - - if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetWarnDisconnectDelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) SetWarnDisconnectDelay(NewWarnDisconnectDelay uint32) (err error) { - return client.SetWarnDisconnectDelayCtx(context.Background(), - NewWarnDisconnectDelay, - ) -} - -// -// Return values: -// -// * NewConnectionStatus: allowed values: Unconfigured, Connected, Disconnected -// -// * NewLastConnectionError: allowed values: ERROR_NONE -func (client *WANIPConnection1) GetStatusInfoCtx( - ctx context.Context, -) (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewConnectionStatus string - NewLastConnectionError string - NewUptime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetStatusInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewConnectionStatus, err = soap.UnmarshalString(response.NewConnectionStatus); err != nil { - return - } - if NewLastConnectionError, err = soap.UnmarshalString(response.NewLastConnectionError); err != nil { - return - } - if NewUptime, err = soap.UnmarshalUi4(response.NewUptime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetStatusInfo() (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { - return client.GetStatusInfoCtx(context.Background()) -} - -func (client *WANIPConnection1) GetAutoDisconnectTimeCtx( - ctx context.Context, -) (NewAutoDisconnectTime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewAutoDisconnectTime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetAutoDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewAutoDisconnectTime, err = soap.UnmarshalUi4(response.NewAutoDisconnectTime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetAutoDisconnectTime() (NewAutoDisconnectTime uint32, err error) { - return client.GetAutoDisconnectTimeCtx(context.Background()) -} - -func (client *WANIPConnection1) GetIdleDisconnectTimeCtx( - ctx context.Context, -) (NewIdleDisconnectTime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewIdleDisconnectTime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetIdleDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewIdleDisconnectTime, err = soap.UnmarshalUi4(response.NewIdleDisconnectTime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetIdleDisconnectTime() (NewIdleDisconnectTime uint32, err error) { - return client.GetIdleDisconnectTimeCtx(context.Background()) -} - -func (client *WANIPConnection1) GetWarnDisconnectDelayCtx( - ctx context.Context, -) (NewWarnDisconnectDelay uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewWarnDisconnectDelay string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetWarnDisconnectDelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewWarnDisconnectDelay, err = soap.UnmarshalUi4(response.NewWarnDisconnectDelay); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetWarnDisconnectDelay() (NewWarnDisconnectDelay uint32, err error) { - return client.GetWarnDisconnectDelayCtx(context.Background()) -} - -func (client *WANIPConnection1) GetNATRSIPStatusCtx( - ctx context.Context, -) (NewRSIPAvailable bool, NewNATEnabled bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewRSIPAvailable string - NewNATEnabled string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetNATRSIPStatus", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewRSIPAvailable, err = soap.UnmarshalBoolean(response.NewRSIPAvailable); err != nil { - return - } - if NewNATEnabled, err = soap.UnmarshalBoolean(response.NewNATEnabled); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetNATRSIPStatus() (NewRSIPAvailable bool, NewNATEnabled bool, err error) { - return client.GetNATRSIPStatusCtx(context.Background()) -} - -// -// Return values: -// -// * NewProtocol: allowed values: TCP, UDP -func (client *WANIPConnection1) GetGenericPortMappingEntryCtx( - ctx context.Context, - NewPortMappingIndex uint16, -) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - // Request structure. - request := &struct { - NewPortMappingIndex string - }{} - // BEGIN Marshal arguments into request. - - if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewRemoteHost string - NewExternalPort string - NewProtocol string - NewInternalPort string - NewInternalClient string - NewEnabled string - NewPortMappingDescription string - NewLeaseDuration string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetGenericPortMappingEntry", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewRemoteHost, err = soap.UnmarshalString(response.NewRemoteHost); err != nil { - return - } - if NewExternalPort, err = soap.UnmarshalUi2(response.NewExternalPort); err != nil { - return - } - if NewProtocol, err = soap.UnmarshalString(response.NewProtocol); err != nil { - return - } - if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { - return - } - if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { - return - } - if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { - return - } - if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { - return - } - if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetGenericPortMappingEntry(NewPortMappingIndex uint16) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - return client.GetGenericPortMappingEntryCtx(context.Background(), - NewPortMappingIndex, - ) -} - -// -// Arguments: -// -// * NewProtocol: allowed values: TCP, UDP - -func (client *WANIPConnection1) GetSpecificPortMappingEntryCtx( - ctx context.Context, - NewRemoteHost string, - NewExternalPort uint16, - NewProtocol string, -) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - // Request structure. - request := &struct { - NewRemoteHost string - NewExternalPort string - NewProtocol string - }{} - // BEGIN Marshal arguments into request. - - if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { - return - } - if request.NewExternalPort, err = soap.MarshalUi2(NewExternalPort); err != nil { - return - } - if request.NewProtocol, err = soap.MarshalString(NewProtocol); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewInternalPort string - NewInternalClient string - NewEnabled string - NewPortMappingDescription string - NewLeaseDuration string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetSpecificPortMappingEntry", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { - return - } - if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { - return - } - if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { - return - } - if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { - return - } - if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - return client.GetSpecificPortMappingEntryCtx(context.Background(), - NewRemoteHost, - NewExternalPort, - NewProtocol, - ) -} - // // Arguments: // @@ -3106,6 +2493,111 @@ func (client *WANIPConnection1) DeletePortMapping(NewRemoteHost string, NewExter ) } +func (client *WANIPConnection1) ForceTerminationCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "ForceTermination", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// ForceTermination is the legacy version of ForceTerminationCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) ForceTermination() (err error) { + return client.ForceTerminationCtx(context.Background()) +} + +func (client *WANIPConnection1) GetAutoDisconnectTimeCtx( + ctx context.Context, +) (NewAutoDisconnectTime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewAutoDisconnectTime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetAutoDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewAutoDisconnectTime, err = soap.UnmarshalUi4(response.NewAutoDisconnectTime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetAutoDisconnectTime() (NewAutoDisconnectTime uint32, err error) { + return client.GetAutoDisconnectTimeCtx(context.Background()) +} + +// +// Return values: +// +// * NewPossibleConnectionTypes: allowed values: Unconfigured, IP_Routed, IP_Bridged +func (client *WANIPConnection1) GetConnectionTypeInfoCtx( + ctx context.Context, +) (NewConnectionType string, NewPossibleConnectionTypes string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewConnectionType string + NewPossibleConnectionTypes string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetConnectionTypeInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewConnectionType, err = soap.UnmarshalString(response.NewConnectionType); err != nil { + return + } + if NewPossibleConnectionTypes, err = soap.UnmarshalString(response.NewPossibleConnectionTypes); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetConnectionTypeInfo() (NewConnectionType string, NewPossibleConnectionTypes string, err error) { + return client.GetConnectionTypeInfoCtx(context.Background()) +} + func (client *WANIPConnection1) GetExternalIPAddressCtx( ctx context.Context, ) (NewExternalIPAddress string, err error) { @@ -3140,6 +2632,515 @@ func (client *WANIPConnection1) GetExternalIPAddress() (NewExternalIPAddress str return client.GetExternalIPAddressCtx(context.Background()) } +// +// Return values: +// +// * NewProtocol: allowed values: TCP, UDP +func (client *WANIPConnection1) GetGenericPortMappingEntryCtx( + ctx context.Context, + NewPortMappingIndex uint16, +) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + // Request structure. + request := &struct { + NewPortMappingIndex string + }{} + // BEGIN Marshal arguments into request. + + if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetGenericPortMappingEntry", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewRemoteHost, err = soap.UnmarshalString(response.NewRemoteHost); err != nil { + return + } + if NewExternalPort, err = soap.UnmarshalUi2(response.NewExternalPort); err != nil { + return + } + if NewProtocol, err = soap.UnmarshalString(response.NewProtocol); err != nil { + return + } + if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { + return + } + if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { + return + } + if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { + return + } + if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { + return + } + if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetGenericPortMappingEntry(NewPortMappingIndex uint16) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + return client.GetGenericPortMappingEntryCtx(context.Background(), + NewPortMappingIndex, + ) +} + +func (client *WANIPConnection1) GetIdleDisconnectTimeCtx( + ctx context.Context, +) (NewIdleDisconnectTime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewIdleDisconnectTime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetIdleDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewIdleDisconnectTime, err = soap.UnmarshalUi4(response.NewIdleDisconnectTime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetIdleDisconnectTime() (NewIdleDisconnectTime uint32, err error) { + return client.GetIdleDisconnectTimeCtx(context.Background()) +} + +func (client *WANIPConnection1) GetNATRSIPStatusCtx( + ctx context.Context, +) (NewRSIPAvailable bool, NewNATEnabled bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewRSIPAvailable string + NewNATEnabled string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetNATRSIPStatus", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewRSIPAvailable, err = soap.UnmarshalBoolean(response.NewRSIPAvailable); err != nil { + return + } + if NewNATEnabled, err = soap.UnmarshalBoolean(response.NewNATEnabled); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetNATRSIPStatus() (NewRSIPAvailable bool, NewNATEnabled bool, err error) { + return client.GetNATRSIPStatusCtx(context.Background()) +} + +// +// Arguments: +// +// * NewProtocol: allowed values: TCP, UDP + +func (client *WANIPConnection1) GetSpecificPortMappingEntryCtx( + ctx context.Context, + NewRemoteHost string, + NewExternalPort uint16, + NewProtocol string, +) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + // Request structure. + request := &struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + }{} + // BEGIN Marshal arguments into request. + + if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { + return + } + if request.NewExternalPort, err = soap.MarshalUi2(NewExternalPort); err != nil { + return + } + if request.NewProtocol, err = soap.MarshalString(NewProtocol); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetSpecificPortMappingEntry", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { + return + } + if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { + return + } + if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { + return + } + if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { + return + } + if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + return client.GetSpecificPortMappingEntryCtx(context.Background(), + NewRemoteHost, + NewExternalPort, + NewProtocol, + ) +} + +// +// Return values: +// +// * NewConnectionStatus: allowed values: Unconfigured, Connected, Disconnected +// +// * NewLastConnectionError: allowed values: ERROR_NONE +func (client *WANIPConnection1) GetStatusInfoCtx( + ctx context.Context, +) (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewConnectionStatus string + NewLastConnectionError string + NewUptime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetStatusInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewConnectionStatus, err = soap.UnmarshalString(response.NewConnectionStatus); err != nil { + return + } + if NewLastConnectionError, err = soap.UnmarshalString(response.NewLastConnectionError); err != nil { + return + } + if NewUptime, err = soap.UnmarshalUi4(response.NewUptime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetStatusInfo() (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { + return client.GetStatusInfoCtx(context.Background()) +} + +func (client *WANIPConnection1) GetWarnDisconnectDelayCtx( + ctx context.Context, +) (NewWarnDisconnectDelay uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewWarnDisconnectDelay string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetWarnDisconnectDelay", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewWarnDisconnectDelay, err = soap.UnmarshalUi4(response.NewWarnDisconnectDelay); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetWarnDisconnectDelay() (NewWarnDisconnectDelay uint32, err error) { + return client.GetWarnDisconnectDelayCtx(context.Background()) +} + +func (client *WANIPConnection1) RequestConnectionCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "RequestConnection", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// RequestConnection is the legacy version of RequestConnectionCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) RequestConnection() (err error) { + return client.RequestConnectionCtx(context.Background()) +} + +func (client *WANIPConnection1) RequestTerminationCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "RequestTermination", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// RequestTermination is the legacy version of RequestTerminationCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) RequestTermination() (err error) { + return client.RequestTerminationCtx(context.Background()) +} + +func (client *WANIPConnection1) SetAutoDisconnectTimeCtx( + ctx context.Context, + NewAutoDisconnectTime uint32, +) (err error) { + // Request structure. + request := &struct { + NewAutoDisconnectTime string + }{} + // BEGIN Marshal arguments into request. + + if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetAutoDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) SetAutoDisconnectTime(NewAutoDisconnectTime uint32) (err error) { + return client.SetAutoDisconnectTimeCtx(context.Background(), + NewAutoDisconnectTime, + ) +} + +func (client *WANIPConnection1) SetConnectionTypeCtx( + ctx context.Context, + NewConnectionType string, +) (err error) { + // Request structure. + request := &struct { + NewConnectionType string + }{} + // BEGIN Marshal arguments into request. + + if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetConnectionType", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) SetConnectionType(NewConnectionType string) (err error) { + return client.SetConnectionTypeCtx(context.Background(), + NewConnectionType, + ) +} + +func (client *WANIPConnection1) SetIdleDisconnectTimeCtx( + ctx context.Context, + NewIdleDisconnectTime uint32, +) (err error) { + // Request structure. + request := &struct { + NewIdleDisconnectTime string + }{} + // BEGIN Marshal arguments into request. + + if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetIdleDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) SetIdleDisconnectTime(NewIdleDisconnectTime uint32) (err error) { + return client.SetIdleDisconnectTimeCtx(context.Background(), + NewIdleDisconnectTime, + ) +} + +func (client *WANIPConnection1) SetWarnDisconnectDelayCtx( + ctx context.Context, + NewWarnDisconnectDelay uint32, +) (err error) { + // Request structure. + request := &struct { + NewWarnDisconnectDelay string + }{} + // BEGIN Marshal arguments into request. + + if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetWarnDisconnectDelay", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) SetWarnDisconnectDelay(NewWarnDisconnectDelay uint32) (err error) { + return client.SetWarnDisconnectDelayCtx(context.Background(), + NewWarnDisconnectDelay, + ) +} + // WANPOTSLinkConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANPOTSLinkConfig:1". See // goupnp.ServiceClient, which contains RootDevice and Service attributes which // are provided for informational value. @@ -3200,149 +3201,6 @@ func newWANPOTSLinkConfig1ClientsFromGenericClients(genericClients []goupnp.Serv return clients } -// -// Arguments: -// -// * NewLinkType: allowed values: PPP_Dialup - -func (client *WANPOTSLinkConfig1) SetISPInfoCtx( - ctx context.Context, - NewISPPhoneNumber string, - NewISPInfo string, - NewLinkType string, -) (err error) { - // Request structure. - request := &struct { - NewISPPhoneNumber string - NewISPInfo string - NewLinkType string - }{} - // BEGIN Marshal arguments into request. - - if request.NewISPPhoneNumber, err = soap.MarshalString(NewISPPhoneNumber); err != nil { - return - } - if request.NewISPInfo, err = soap.MarshalString(NewISPInfo); err != nil { - return - } - if request.NewLinkType, err = soap.MarshalString(NewLinkType); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "SetISPInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetISPInfo is the legacy version of SetISPInfoCtx, but uses -// context.Background() as the context. -func (client *WANPOTSLinkConfig1) SetISPInfo(NewISPPhoneNumber string, NewISPInfo string, NewLinkType string) (err error) { - return client.SetISPInfoCtx(context.Background(), - NewISPPhoneNumber, - NewISPInfo, - NewLinkType, - ) -} - -func (client *WANPOTSLinkConfig1) SetCallRetryInfoCtx( - ctx context.Context, - NewNumberOfRetries uint32, - NewDelayBetweenRetries uint32, -) (err error) { - // Request structure. - request := &struct { - NewNumberOfRetries string - NewDelayBetweenRetries string - }{} - // BEGIN Marshal arguments into request. - - if request.NewNumberOfRetries, err = soap.MarshalUi4(NewNumberOfRetries); err != nil { - return - } - if request.NewDelayBetweenRetries, err = soap.MarshalUi4(NewDelayBetweenRetries); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "SetCallRetryInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetCallRetryInfo is the legacy version of SetCallRetryInfoCtx, but uses -// context.Background() as the context. -func (client *WANPOTSLinkConfig1) SetCallRetryInfo(NewNumberOfRetries uint32, NewDelayBetweenRetries uint32) (err error) { - return client.SetCallRetryInfoCtx(context.Background(), - NewNumberOfRetries, - NewDelayBetweenRetries, - ) -} - -// -// Return values: -// -// * NewLinkType: allowed values: PPP_Dialup -func (client *WANPOTSLinkConfig1) GetISPInfoCtx( - ctx context.Context, -) (NewISPPhoneNumber string, NewISPInfo string, NewLinkType string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewISPPhoneNumber string - NewISPInfo string - NewLinkType string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "GetISPInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewISPPhoneNumber, err = soap.UnmarshalString(response.NewISPPhoneNumber); err != nil { - return - } - if NewISPInfo, err = soap.UnmarshalString(response.NewISPInfo); err != nil { - return - } - if NewLinkType, err = soap.UnmarshalString(response.NewLinkType); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetISPInfo is the legacy version of GetISPInfoCtx, but uses -// context.Background() as the context. -func (client *WANPOTSLinkConfig1) GetISPInfo() (NewISPPhoneNumber string, NewISPInfo string, NewLinkType string, err error) { - return client.GetISPInfoCtx(context.Background()) -} - func (client *WANPOTSLinkConfig1) GetCallRetryInfoCtx( ctx context.Context, ) (NewNumberOfRetries uint32, NewDelayBetweenRetries uint32, err error) { @@ -3381,9 +3239,9 @@ func (client *WANPOTSLinkConfig1) GetCallRetryInfo() (NewNumberOfRetries uint32, return client.GetCallRetryInfoCtx(context.Background()) } -func (client *WANPOTSLinkConfig1) GetFclassCtx( +func (client *WANPOTSLinkConfig1) GetDataCompressionCtx( ctx context.Context, -) (NewFclass string, err error) { +) (NewDataCompression string, err error) { // Request structure. request := interface{}(nil) // BEGIN Marshal arguments into request. @@ -3392,27 +3250,27 @@ func (client *WANPOTSLinkConfig1) GetFclassCtx( // Response structure. response := &struct { - NewFclass string + NewDataCompression string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "GetFclass", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "GetDataCompression", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewFclass, err = soap.UnmarshalString(response.NewFclass); err != nil { + if NewDataCompression, err = soap.UnmarshalString(response.NewDataCompression); err != nil { return } // END Unmarshal arguments from response. return } -// GetFclass is the legacy version of GetFclassCtx, but uses +// GetDataCompression is the legacy version of GetDataCompressionCtx, but uses // context.Background() as the context. -func (client *WANPOTSLinkConfig1) GetFclass() (NewFclass string, err error) { - return client.GetFclassCtx(context.Background()) +func (client *WANPOTSLinkConfig1) GetDataCompression() (NewDataCompression string, err error) { + return client.GetDataCompressionCtx(context.Background()) } func (client *WANPOTSLinkConfig1) GetDataModulationSupportedCtx( @@ -3483,9 +3341,9 @@ func (client *WANPOTSLinkConfig1) GetDataProtocol() (NewDataProtocol string, err return client.GetDataProtocolCtx(context.Background()) } -func (client *WANPOTSLinkConfig1) GetDataCompressionCtx( +func (client *WANPOTSLinkConfig1) GetFclassCtx( ctx context.Context, -) (NewDataCompression string, err error) { +) (NewFclass string, err error) { // Request structure. request := interface{}(nil) // BEGIN Marshal arguments into request. @@ -3494,27 +3352,73 @@ func (client *WANPOTSLinkConfig1) GetDataCompressionCtx( // Response structure. response := &struct { - NewDataCompression string + NewFclass string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "GetDataCompression", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "GetFclass", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewDataCompression, err = soap.UnmarshalString(response.NewDataCompression); err != nil { + if NewFclass, err = soap.UnmarshalString(response.NewFclass); err != nil { return } // END Unmarshal arguments from response. return } -// GetDataCompression is the legacy version of GetDataCompressionCtx, but uses +// GetFclass is the legacy version of GetFclassCtx, but uses // context.Background() as the context. -func (client *WANPOTSLinkConfig1) GetDataCompression() (NewDataCompression string, err error) { - return client.GetDataCompressionCtx(context.Background()) +func (client *WANPOTSLinkConfig1) GetFclass() (NewFclass string, err error) { + return client.GetFclassCtx(context.Background()) +} + +// +// Return values: +// +// * NewLinkType: allowed values: PPP_Dialup +func (client *WANPOTSLinkConfig1) GetISPInfoCtx( + ctx context.Context, +) (NewISPPhoneNumber string, NewISPInfo string, NewLinkType string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewISPPhoneNumber string + NewISPInfo string + NewLinkType string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "GetISPInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewISPPhoneNumber, err = soap.UnmarshalString(response.NewISPPhoneNumber); err != nil { + return + } + if NewISPInfo, err = soap.UnmarshalString(response.NewISPInfo); err != nil { + return + } + if NewLinkType, err = soap.UnmarshalString(response.NewLinkType); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetISPInfo is the legacy version of GetISPInfoCtx, but uses +// context.Background() as the context. +func (client *WANPOTSLinkConfig1) GetISPInfo() (NewISPPhoneNumber string, NewISPInfo string, NewLinkType string, err error) { + return client.GetISPInfoCtx(context.Background()) } func (client *WANPOTSLinkConfig1) GetPlusVTRCommandSupportedCtx( @@ -3551,6 +3455,103 @@ func (client *WANPOTSLinkConfig1) GetPlusVTRCommandSupported() (NewPlusVTRComman return client.GetPlusVTRCommandSupportedCtx(context.Background()) } +func (client *WANPOTSLinkConfig1) SetCallRetryInfoCtx( + ctx context.Context, + NewNumberOfRetries uint32, + NewDelayBetweenRetries uint32, +) (err error) { + // Request structure. + request := &struct { + NewNumberOfRetries string + NewDelayBetweenRetries string + }{} + // BEGIN Marshal arguments into request. + + if request.NewNumberOfRetries, err = soap.MarshalUi4(NewNumberOfRetries); err != nil { + return + } + if request.NewDelayBetweenRetries, err = soap.MarshalUi4(NewDelayBetweenRetries); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "SetCallRetryInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetCallRetryInfo is the legacy version of SetCallRetryInfoCtx, but uses +// context.Background() as the context. +func (client *WANPOTSLinkConfig1) SetCallRetryInfo(NewNumberOfRetries uint32, NewDelayBetweenRetries uint32) (err error) { + return client.SetCallRetryInfoCtx(context.Background(), + NewNumberOfRetries, + NewDelayBetweenRetries, + ) +} + +// +// Arguments: +// +// * NewLinkType: allowed values: PPP_Dialup + +func (client *WANPOTSLinkConfig1) SetISPInfoCtx( + ctx context.Context, + NewISPPhoneNumber string, + NewISPInfo string, + NewLinkType string, +) (err error) { + // Request structure. + request := &struct { + NewISPPhoneNumber string + NewISPInfo string + NewLinkType string + }{} + // BEGIN Marshal arguments into request. + + if request.NewISPPhoneNumber, err = soap.MarshalString(NewISPPhoneNumber); err != nil { + return + } + if request.NewISPInfo, err = soap.MarshalString(NewISPInfo); err != nil { + return + } + if request.NewLinkType, err = soap.MarshalString(NewLinkType); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "SetISPInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetISPInfo is the legacy version of SetISPInfoCtx, but uses +// context.Background() as the context. +func (client *WANPOTSLinkConfig1) SetISPInfo(NewISPPhoneNumber string, NewISPInfo string, NewLinkType string) (err error) { + return client.SetISPInfoCtx(context.Background(), + NewISPPhoneNumber, + NewISPInfo, + NewLinkType, + ) +} + // WANPPPConnection1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANPPPConnection:1". See // goupnp.ServiceClient, which contains RootDevice and Service attributes which // are provided for informational value. @@ -3611,871 +3612,6 @@ func newWANPPPConnection1ClientsFromGenericClients(genericClients []goupnp.Servi return clients } -func (client *WANPPPConnection1) SetConnectionTypeCtx( - ctx context.Context, - NewConnectionType string, -) (err error) { - // Request structure. - request := &struct { - NewConnectionType string - }{} - // BEGIN Marshal arguments into request. - - if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetConnectionType", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) SetConnectionType(NewConnectionType string) (err error) { - return client.SetConnectionTypeCtx(context.Background(), - NewConnectionType, - ) -} - -// -// Return values: -// -// * NewPossibleConnectionTypes: allowed values: Unconfigured, IP_Routed, DHCP_Spoofed, PPPoE_Bridged, PPTP_Relay, L2TP_Relay, PPPoE_Relay -func (client *WANPPPConnection1) GetConnectionTypeInfoCtx( - ctx context.Context, -) (NewConnectionType string, NewPossibleConnectionTypes string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewConnectionType string - NewPossibleConnectionTypes string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetConnectionTypeInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewConnectionType, err = soap.UnmarshalString(response.NewConnectionType); err != nil { - return - } - if NewPossibleConnectionTypes, err = soap.UnmarshalString(response.NewPossibleConnectionTypes); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetConnectionTypeInfo() (NewConnectionType string, NewPossibleConnectionTypes string, err error) { - return client.GetConnectionTypeInfoCtx(context.Background()) -} - -func (client *WANPPPConnection1) ConfigureConnectionCtx( - ctx context.Context, - NewUserName string, - NewPassword string, -) (err error) { - // Request structure. - request := &struct { - NewUserName string - NewPassword string - }{} - // BEGIN Marshal arguments into request. - - if request.NewUserName, err = soap.MarshalString(NewUserName); err != nil { - return - } - if request.NewPassword, err = soap.MarshalString(NewPassword); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "ConfigureConnection", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// ConfigureConnection is the legacy version of ConfigureConnectionCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) ConfigureConnection(NewUserName string, NewPassword string) (err error) { - return client.ConfigureConnectionCtx(context.Background(), - NewUserName, - NewPassword, - ) -} - -func (client *WANPPPConnection1) RequestConnectionCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "RequestConnection", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// RequestConnection is the legacy version of RequestConnectionCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) RequestConnection() (err error) { - return client.RequestConnectionCtx(context.Background()) -} - -func (client *WANPPPConnection1) RequestTerminationCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "RequestTermination", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// RequestTermination is the legacy version of RequestTerminationCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) RequestTermination() (err error) { - return client.RequestTerminationCtx(context.Background()) -} - -func (client *WANPPPConnection1) ForceTerminationCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "ForceTermination", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// ForceTermination is the legacy version of ForceTerminationCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) ForceTermination() (err error) { - return client.ForceTerminationCtx(context.Background()) -} - -func (client *WANPPPConnection1) SetAutoDisconnectTimeCtx( - ctx context.Context, - NewAutoDisconnectTime uint32, -) (err error) { - // Request structure. - request := &struct { - NewAutoDisconnectTime string - }{} - // BEGIN Marshal arguments into request. - - if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetAutoDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) SetAutoDisconnectTime(NewAutoDisconnectTime uint32) (err error) { - return client.SetAutoDisconnectTimeCtx(context.Background(), - NewAutoDisconnectTime, - ) -} - -func (client *WANPPPConnection1) SetIdleDisconnectTimeCtx( - ctx context.Context, - NewIdleDisconnectTime uint32, -) (err error) { - // Request structure. - request := &struct { - NewIdleDisconnectTime string - }{} - // BEGIN Marshal arguments into request. - - if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetIdleDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) SetIdleDisconnectTime(NewIdleDisconnectTime uint32) (err error) { - return client.SetIdleDisconnectTimeCtx(context.Background(), - NewIdleDisconnectTime, - ) -} - -func (client *WANPPPConnection1) SetWarnDisconnectDelayCtx( - ctx context.Context, - NewWarnDisconnectDelay uint32, -) (err error) { - // Request structure. - request := &struct { - NewWarnDisconnectDelay string - }{} - // BEGIN Marshal arguments into request. - - if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetWarnDisconnectDelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) SetWarnDisconnectDelay(NewWarnDisconnectDelay uint32) (err error) { - return client.SetWarnDisconnectDelayCtx(context.Background(), - NewWarnDisconnectDelay, - ) -} - -// -// Return values: -// -// * NewConnectionStatus: allowed values: Unconfigured, Connected, Disconnected -// -// * NewLastConnectionError: allowed values: ERROR_NONE -func (client *WANPPPConnection1) GetStatusInfoCtx( - ctx context.Context, -) (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewConnectionStatus string - NewLastConnectionError string - NewUptime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetStatusInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewConnectionStatus, err = soap.UnmarshalString(response.NewConnectionStatus); err != nil { - return - } - if NewLastConnectionError, err = soap.UnmarshalString(response.NewLastConnectionError); err != nil { - return - } - if NewUptime, err = soap.UnmarshalUi4(response.NewUptime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetStatusInfo() (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { - return client.GetStatusInfoCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetLinkLayerMaxBitRatesCtx( - ctx context.Context, -) (NewUpstreamMaxBitRate uint32, NewDownstreamMaxBitRate uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewUpstreamMaxBitRate string - NewDownstreamMaxBitRate string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetLinkLayerMaxBitRates", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewUpstreamMaxBitRate, err = soap.UnmarshalUi4(response.NewUpstreamMaxBitRate); err != nil { - return - } - if NewDownstreamMaxBitRate, err = soap.UnmarshalUi4(response.NewDownstreamMaxBitRate); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetLinkLayerMaxBitRates is the legacy version of GetLinkLayerMaxBitRatesCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetLinkLayerMaxBitRates() (NewUpstreamMaxBitRate uint32, NewDownstreamMaxBitRate uint32, err error) { - return client.GetLinkLayerMaxBitRatesCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetPPPEncryptionProtocolCtx( - ctx context.Context, -) (NewPPPEncryptionProtocol string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewPPPEncryptionProtocol string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPPPEncryptionProtocol", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewPPPEncryptionProtocol, err = soap.UnmarshalString(response.NewPPPEncryptionProtocol); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetPPPEncryptionProtocol is the legacy version of GetPPPEncryptionProtocolCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetPPPEncryptionProtocol() (NewPPPEncryptionProtocol string, err error) { - return client.GetPPPEncryptionProtocolCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetPPPCompressionProtocolCtx( - ctx context.Context, -) (NewPPPCompressionProtocol string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewPPPCompressionProtocol string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPPPCompressionProtocol", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewPPPCompressionProtocol, err = soap.UnmarshalString(response.NewPPPCompressionProtocol); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetPPPCompressionProtocol is the legacy version of GetPPPCompressionProtocolCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetPPPCompressionProtocol() (NewPPPCompressionProtocol string, err error) { - return client.GetPPPCompressionProtocolCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetPPPAuthenticationProtocolCtx( - ctx context.Context, -) (NewPPPAuthenticationProtocol string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewPPPAuthenticationProtocol string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPPPAuthenticationProtocol", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewPPPAuthenticationProtocol, err = soap.UnmarshalString(response.NewPPPAuthenticationProtocol); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetPPPAuthenticationProtocol is the legacy version of GetPPPAuthenticationProtocolCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetPPPAuthenticationProtocol() (NewPPPAuthenticationProtocol string, err error) { - return client.GetPPPAuthenticationProtocolCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetUserNameCtx( - ctx context.Context, -) (NewUserName string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewUserName string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetUserName", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewUserName, err = soap.UnmarshalString(response.NewUserName); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetUserName is the legacy version of GetUserNameCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetUserName() (NewUserName string, err error) { - return client.GetUserNameCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetPasswordCtx( - ctx context.Context, -) (NewPassword string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewPassword string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPassword", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewPassword, err = soap.UnmarshalString(response.NewPassword); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetPassword is the legacy version of GetPasswordCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetPassword() (NewPassword string, err error) { - return client.GetPasswordCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetAutoDisconnectTimeCtx( - ctx context.Context, -) (NewAutoDisconnectTime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewAutoDisconnectTime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetAutoDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewAutoDisconnectTime, err = soap.UnmarshalUi4(response.NewAutoDisconnectTime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetAutoDisconnectTime() (NewAutoDisconnectTime uint32, err error) { - return client.GetAutoDisconnectTimeCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetIdleDisconnectTimeCtx( - ctx context.Context, -) (NewIdleDisconnectTime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewIdleDisconnectTime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetIdleDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewIdleDisconnectTime, err = soap.UnmarshalUi4(response.NewIdleDisconnectTime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetIdleDisconnectTime() (NewIdleDisconnectTime uint32, err error) { - return client.GetIdleDisconnectTimeCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetWarnDisconnectDelayCtx( - ctx context.Context, -) (NewWarnDisconnectDelay uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewWarnDisconnectDelay string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetWarnDisconnectDelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewWarnDisconnectDelay, err = soap.UnmarshalUi4(response.NewWarnDisconnectDelay); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetWarnDisconnectDelay() (NewWarnDisconnectDelay uint32, err error) { - return client.GetWarnDisconnectDelayCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetNATRSIPStatusCtx( - ctx context.Context, -) (NewRSIPAvailable bool, NewNATEnabled bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewRSIPAvailable string - NewNATEnabled string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetNATRSIPStatus", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewRSIPAvailable, err = soap.UnmarshalBoolean(response.NewRSIPAvailable); err != nil { - return - } - if NewNATEnabled, err = soap.UnmarshalBoolean(response.NewNATEnabled); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetNATRSIPStatus() (NewRSIPAvailable bool, NewNATEnabled bool, err error) { - return client.GetNATRSIPStatusCtx(context.Background()) -} - -// -// Return values: -// -// * NewProtocol: allowed values: TCP, UDP -func (client *WANPPPConnection1) GetGenericPortMappingEntryCtx( - ctx context.Context, - NewPortMappingIndex uint16, -) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - // Request structure. - request := &struct { - NewPortMappingIndex string - }{} - // BEGIN Marshal arguments into request. - - if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewRemoteHost string - NewExternalPort string - NewProtocol string - NewInternalPort string - NewInternalClient string - NewEnabled string - NewPortMappingDescription string - NewLeaseDuration string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetGenericPortMappingEntry", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewRemoteHost, err = soap.UnmarshalString(response.NewRemoteHost); err != nil { - return - } - if NewExternalPort, err = soap.UnmarshalUi2(response.NewExternalPort); err != nil { - return - } - if NewProtocol, err = soap.UnmarshalString(response.NewProtocol); err != nil { - return - } - if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { - return - } - if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { - return - } - if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { - return - } - if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { - return - } - if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetGenericPortMappingEntry(NewPortMappingIndex uint16) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - return client.GetGenericPortMappingEntryCtx(context.Background(), - NewPortMappingIndex, - ) -} - -// -// Arguments: -// -// * NewProtocol: allowed values: TCP, UDP - -func (client *WANPPPConnection1) GetSpecificPortMappingEntryCtx( - ctx context.Context, - NewRemoteHost string, - NewExternalPort uint16, - NewProtocol string, -) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - // Request structure. - request := &struct { - NewRemoteHost string - NewExternalPort string - NewProtocol string - }{} - // BEGIN Marshal arguments into request. - - if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { - return - } - if request.NewExternalPort, err = soap.MarshalUi2(NewExternalPort); err != nil { - return - } - if request.NewProtocol, err = soap.MarshalString(NewProtocol); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewInternalPort string - NewInternalClient string - NewEnabled string - NewPortMappingDescription string - NewLeaseDuration string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetSpecificPortMappingEntry", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { - return - } - if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { - return - } - if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { - return - } - if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { - return - } - if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - return client.GetSpecificPortMappingEntryCtx(context.Background(), - NewRemoteHost, - NewExternalPort, - NewProtocol, - ) -} - // // Arguments: // @@ -4560,6 +3696,49 @@ func (client *WANPPPConnection1) AddPortMapping(NewRemoteHost string, NewExterna ) } +func (client *WANPPPConnection1) ConfigureConnectionCtx( + ctx context.Context, + NewUserName string, + NewPassword string, +) (err error) { + // Request structure. + request := &struct { + NewUserName string + NewPassword string + }{} + // BEGIN Marshal arguments into request. + + if request.NewUserName, err = soap.MarshalString(NewUserName); err != nil { + return + } + if request.NewPassword, err = soap.MarshalString(NewPassword); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "ConfigureConnection", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// ConfigureConnection is the legacy version of ConfigureConnectionCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) ConfigureConnection(NewUserName string, NewPassword string) (err error) { + return client.ConfigureConnectionCtx(context.Background(), + NewUserName, + NewPassword, + ) +} + // // Arguments: // @@ -4614,6 +3793,111 @@ func (client *WANPPPConnection1) DeletePortMapping(NewRemoteHost string, NewExte ) } +func (client *WANPPPConnection1) ForceTerminationCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "ForceTermination", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// ForceTermination is the legacy version of ForceTerminationCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) ForceTermination() (err error) { + return client.ForceTerminationCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetAutoDisconnectTimeCtx( + ctx context.Context, +) (NewAutoDisconnectTime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewAutoDisconnectTime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetAutoDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewAutoDisconnectTime, err = soap.UnmarshalUi4(response.NewAutoDisconnectTime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetAutoDisconnectTime() (NewAutoDisconnectTime uint32, err error) { + return client.GetAutoDisconnectTimeCtx(context.Background()) +} + +// +// Return values: +// +// * NewPossibleConnectionTypes: allowed values: Unconfigured, IP_Routed, DHCP_Spoofed, PPPoE_Bridged, PPTP_Relay, L2TP_Relay, PPPoE_Relay +func (client *WANPPPConnection1) GetConnectionTypeInfoCtx( + ctx context.Context, +) (NewConnectionType string, NewPossibleConnectionTypes string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewConnectionType string + NewPossibleConnectionTypes string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetConnectionTypeInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewConnectionType, err = soap.UnmarshalString(response.NewConnectionType); err != nil { + return + } + if NewPossibleConnectionTypes, err = soap.UnmarshalString(response.NewPossibleConnectionTypes); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetConnectionTypeInfo() (NewConnectionType string, NewPossibleConnectionTypes string, err error) { + return client.GetConnectionTypeInfoCtx(context.Background()) +} + func (client *WANPPPConnection1) GetExternalIPAddressCtx( ctx context.Context, ) (NewExternalIPAddress string, err error) { @@ -4647,3 +3931,720 @@ func (client *WANPPPConnection1) GetExternalIPAddressCtx( func (client *WANPPPConnection1) GetExternalIPAddress() (NewExternalIPAddress string, err error) { return client.GetExternalIPAddressCtx(context.Background()) } + +// +// Return values: +// +// * NewProtocol: allowed values: TCP, UDP +func (client *WANPPPConnection1) GetGenericPortMappingEntryCtx( + ctx context.Context, + NewPortMappingIndex uint16, +) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + // Request structure. + request := &struct { + NewPortMappingIndex string + }{} + // BEGIN Marshal arguments into request. + + if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetGenericPortMappingEntry", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewRemoteHost, err = soap.UnmarshalString(response.NewRemoteHost); err != nil { + return + } + if NewExternalPort, err = soap.UnmarshalUi2(response.NewExternalPort); err != nil { + return + } + if NewProtocol, err = soap.UnmarshalString(response.NewProtocol); err != nil { + return + } + if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { + return + } + if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { + return + } + if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { + return + } + if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { + return + } + if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetGenericPortMappingEntry(NewPortMappingIndex uint16) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + return client.GetGenericPortMappingEntryCtx(context.Background(), + NewPortMappingIndex, + ) +} + +func (client *WANPPPConnection1) GetIdleDisconnectTimeCtx( + ctx context.Context, +) (NewIdleDisconnectTime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewIdleDisconnectTime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetIdleDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewIdleDisconnectTime, err = soap.UnmarshalUi4(response.NewIdleDisconnectTime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetIdleDisconnectTime() (NewIdleDisconnectTime uint32, err error) { + return client.GetIdleDisconnectTimeCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetLinkLayerMaxBitRatesCtx( + ctx context.Context, +) (NewUpstreamMaxBitRate uint32, NewDownstreamMaxBitRate uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewUpstreamMaxBitRate string + NewDownstreamMaxBitRate string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetLinkLayerMaxBitRates", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewUpstreamMaxBitRate, err = soap.UnmarshalUi4(response.NewUpstreamMaxBitRate); err != nil { + return + } + if NewDownstreamMaxBitRate, err = soap.UnmarshalUi4(response.NewDownstreamMaxBitRate); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetLinkLayerMaxBitRates is the legacy version of GetLinkLayerMaxBitRatesCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetLinkLayerMaxBitRates() (NewUpstreamMaxBitRate uint32, NewDownstreamMaxBitRate uint32, err error) { + return client.GetLinkLayerMaxBitRatesCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetNATRSIPStatusCtx( + ctx context.Context, +) (NewRSIPAvailable bool, NewNATEnabled bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewRSIPAvailable string + NewNATEnabled string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetNATRSIPStatus", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewRSIPAvailable, err = soap.UnmarshalBoolean(response.NewRSIPAvailable); err != nil { + return + } + if NewNATEnabled, err = soap.UnmarshalBoolean(response.NewNATEnabled); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetNATRSIPStatus() (NewRSIPAvailable bool, NewNATEnabled bool, err error) { + return client.GetNATRSIPStatusCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetPPPAuthenticationProtocolCtx( + ctx context.Context, +) (NewPPPAuthenticationProtocol string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewPPPAuthenticationProtocol string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPPPAuthenticationProtocol", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewPPPAuthenticationProtocol, err = soap.UnmarshalString(response.NewPPPAuthenticationProtocol); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetPPPAuthenticationProtocol is the legacy version of GetPPPAuthenticationProtocolCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetPPPAuthenticationProtocol() (NewPPPAuthenticationProtocol string, err error) { + return client.GetPPPAuthenticationProtocolCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetPPPCompressionProtocolCtx( + ctx context.Context, +) (NewPPPCompressionProtocol string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewPPPCompressionProtocol string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPPPCompressionProtocol", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewPPPCompressionProtocol, err = soap.UnmarshalString(response.NewPPPCompressionProtocol); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetPPPCompressionProtocol is the legacy version of GetPPPCompressionProtocolCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetPPPCompressionProtocol() (NewPPPCompressionProtocol string, err error) { + return client.GetPPPCompressionProtocolCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetPPPEncryptionProtocolCtx( + ctx context.Context, +) (NewPPPEncryptionProtocol string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewPPPEncryptionProtocol string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPPPEncryptionProtocol", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewPPPEncryptionProtocol, err = soap.UnmarshalString(response.NewPPPEncryptionProtocol); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetPPPEncryptionProtocol is the legacy version of GetPPPEncryptionProtocolCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetPPPEncryptionProtocol() (NewPPPEncryptionProtocol string, err error) { + return client.GetPPPEncryptionProtocolCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetPasswordCtx( + ctx context.Context, +) (NewPassword string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewPassword string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPassword", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewPassword, err = soap.UnmarshalString(response.NewPassword); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetPassword is the legacy version of GetPasswordCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetPassword() (NewPassword string, err error) { + return client.GetPasswordCtx(context.Background()) +} + +// +// Arguments: +// +// * NewProtocol: allowed values: TCP, UDP + +func (client *WANPPPConnection1) GetSpecificPortMappingEntryCtx( + ctx context.Context, + NewRemoteHost string, + NewExternalPort uint16, + NewProtocol string, +) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + // Request structure. + request := &struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + }{} + // BEGIN Marshal arguments into request. + + if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { + return + } + if request.NewExternalPort, err = soap.MarshalUi2(NewExternalPort); err != nil { + return + } + if request.NewProtocol, err = soap.MarshalString(NewProtocol); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetSpecificPortMappingEntry", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { + return + } + if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { + return + } + if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { + return + } + if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { + return + } + if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + return client.GetSpecificPortMappingEntryCtx(context.Background(), + NewRemoteHost, + NewExternalPort, + NewProtocol, + ) +} + +// +// Return values: +// +// * NewConnectionStatus: allowed values: Unconfigured, Connected, Disconnected +// +// * NewLastConnectionError: allowed values: ERROR_NONE +func (client *WANPPPConnection1) GetStatusInfoCtx( + ctx context.Context, +) (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewConnectionStatus string + NewLastConnectionError string + NewUptime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetStatusInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewConnectionStatus, err = soap.UnmarshalString(response.NewConnectionStatus); err != nil { + return + } + if NewLastConnectionError, err = soap.UnmarshalString(response.NewLastConnectionError); err != nil { + return + } + if NewUptime, err = soap.UnmarshalUi4(response.NewUptime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetStatusInfo() (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { + return client.GetStatusInfoCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetUserNameCtx( + ctx context.Context, +) (NewUserName string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewUserName string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetUserName", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewUserName, err = soap.UnmarshalString(response.NewUserName); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetUserName is the legacy version of GetUserNameCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetUserName() (NewUserName string, err error) { + return client.GetUserNameCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetWarnDisconnectDelayCtx( + ctx context.Context, +) (NewWarnDisconnectDelay uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewWarnDisconnectDelay string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetWarnDisconnectDelay", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewWarnDisconnectDelay, err = soap.UnmarshalUi4(response.NewWarnDisconnectDelay); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetWarnDisconnectDelay() (NewWarnDisconnectDelay uint32, err error) { + return client.GetWarnDisconnectDelayCtx(context.Background()) +} + +func (client *WANPPPConnection1) RequestConnectionCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "RequestConnection", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// RequestConnection is the legacy version of RequestConnectionCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) RequestConnection() (err error) { + return client.RequestConnectionCtx(context.Background()) +} + +func (client *WANPPPConnection1) RequestTerminationCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "RequestTermination", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// RequestTermination is the legacy version of RequestTerminationCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) RequestTermination() (err error) { + return client.RequestTerminationCtx(context.Background()) +} + +func (client *WANPPPConnection1) SetAutoDisconnectTimeCtx( + ctx context.Context, + NewAutoDisconnectTime uint32, +) (err error) { + // Request structure. + request := &struct { + NewAutoDisconnectTime string + }{} + // BEGIN Marshal arguments into request. + + if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetAutoDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) SetAutoDisconnectTime(NewAutoDisconnectTime uint32) (err error) { + return client.SetAutoDisconnectTimeCtx(context.Background(), + NewAutoDisconnectTime, + ) +} + +func (client *WANPPPConnection1) SetConnectionTypeCtx( + ctx context.Context, + NewConnectionType string, +) (err error) { + // Request structure. + request := &struct { + NewConnectionType string + }{} + // BEGIN Marshal arguments into request. + + if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetConnectionType", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) SetConnectionType(NewConnectionType string) (err error) { + return client.SetConnectionTypeCtx(context.Background(), + NewConnectionType, + ) +} + +func (client *WANPPPConnection1) SetIdleDisconnectTimeCtx( + ctx context.Context, + NewIdleDisconnectTime uint32, +) (err error) { + // Request structure. + request := &struct { + NewIdleDisconnectTime string + }{} + // BEGIN Marshal arguments into request. + + if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetIdleDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) SetIdleDisconnectTime(NewIdleDisconnectTime uint32) (err error) { + return client.SetIdleDisconnectTimeCtx(context.Background(), + NewIdleDisconnectTime, + ) +} + +func (client *WANPPPConnection1) SetWarnDisconnectDelayCtx( + ctx context.Context, + NewWarnDisconnectDelay uint32, +) (err error) { + // Request structure. + request := &struct { + NewWarnDisconnectDelay string + }{} + // BEGIN Marshal arguments into request. + + if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetWarnDisconnectDelay", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) SetWarnDisconnectDelay(NewWarnDisconnectDelay uint32) (err error) { + return client.SetWarnDisconnectDelayCtx(context.Background(), + NewWarnDisconnectDelay, + ) +} diff --git a/vendor/github.com/huin/goupnp/dcps/internetgateway2/internetgateway2.go b/vendor/github.com/huin/goupnp/dcps/internetgateway2/internetgateway2.go index 0e7a18fa7..e79d7824f 100644 --- a/vendor/github.com/huin/goupnp/dcps/internetgateway2/internetgateway2.go +++ b/vendor/github.com/huin/goupnp/dcps/internetgateway2/internetgateway2.go @@ -1,6 +1,7 @@ // Client for UPnP Device Control Protocol Internet Gateway Device v2. // -// This DCP is documented in detail at: http://upnp.org/specs/gw/UPnP-gw-InternetGatewayDevice-v2-Device.pdf +// This DCP is documented in detail at: +// - http://upnp.org/specs/gw/UPnP-gw-InternetGatewayDevice-v2-Device.pdf // // Typically, use one of the New* functions to create clients for services. package internetgateway2 @@ -106,57 +107,94 @@ func newDeviceProtection1ClientsFromGenericClients(genericClients []goupnp.Servi return clients } -func (client *DeviceProtection1) SendSetupMessageCtx( +func (client *DeviceProtection1) AddIdentityListCtx( ctx context.Context, - ProtocolType string, - InMessage []byte, -) (OutMessage []byte, err error) { + IdentityList string, +) (IdentityListResult string, err error) { // Request structure. request := &struct { - ProtocolType string - InMessage string + IdentityList string }{} // BEGIN Marshal arguments into request. - if request.ProtocolType, err = soap.MarshalString(ProtocolType); err != nil { - return - } - if request.InMessage, err = soap.MarshalBinBase64(InMessage); err != nil { + if request.IdentityList, err = soap.MarshalString(IdentityList); err != nil { return } // END Marshal arguments into request. // Response structure. response := &struct { - OutMessage string + IdentityListResult string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "SendSetupMessage", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "AddIdentityList", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if OutMessage, err = soap.UnmarshalBinBase64(response.OutMessage); err != nil { + if IdentityListResult, err = soap.UnmarshalString(response.IdentityListResult); err != nil { return } // END Unmarshal arguments from response. return } -// SendSetupMessage is the legacy version of SendSetupMessageCtx, but uses +// AddIdentityList is the legacy version of AddIdentityListCtx, but uses // context.Background() as the context. -func (client *DeviceProtection1) SendSetupMessage(ProtocolType string, InMessage []byte) (OutMessage []byte, err error) { - return client.SendSetupMessageCtx(context.Background(), - ProtocolType, - InMessage, +func (client *DeviceProtection1) AddIdentityList(IdentityList string) (IdentityListResult string, err error) { + return client.AddIdentityListCtx(context.Background(), + IdentityList, ) } -func (client *DeviceProtection1) GetSupportedProtocolsCtx( +func (client *DeviceProtection1) AddRolesForIdentityCtx( ctx context.Context, -) (ProtocolList string, err error) { + Identity string, + RoleList string, +) (err error) { + // Request structure. + request := &struct { + Identity string + RoleList string + }{} + // BEGIN Marshal arguments into request. + + if request.Identity, err = soap.MarshalString(Identity); err != nil { + return + } + if request.RoleList, err = soap.MarshalString(RoleList); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "AddRolesForIdentity", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// AddRolesForIdentity is the legacy version of AddRolesForIdentityCtx, but uses +// context.Background() as the context. +func (client *DeviceProtection1) AddRolesForIdentity(Identity string, RoleList string) (err error) { + return client.AddRolesForIdentityCtx(context.Background(), + Identity, + RoleList, + ) +} + +func (client *DeviceProtection1) GetACLDataCtx( + ctx context.Context, +) (ACL string, err error) { // Request structure. request := interface{}(nil) // BEGIN Marshal arguments into request. @@ -165,27 +203,27 @@ func (client *DeviceProtection1) GetSupportedProtocolsCtx( // Response structure. response := &struct { - ProtocolList string + ACL string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "GetSupportedProtocols", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "GetACLData", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if ProtocolList, err = soap.UnmarshalString(response.ProtocolList); err != nil { + if ACL, err = soap.UnmarshalString(response.ACL); err != nil { return } // END Unmarshal arguments from response. return } -// GetSupportedProtocols is the legacy version of GetSupportedProtocolsCtx, but uses +// GetACLData is the legacy version of GetACLDataCtx, but uses // context.Background() as the context. -func (client *DeviceProtection1) GetSupportedProtocols() (ProtocolList string, err error) { - return client.GetSupportedProtocolsCtx(context.Background()) +func (client *DeviceProtection1) GetACLData() (ACL string, err error) { + return client.GetACLDataCtx(context.Background()) } func (client *DeviceProtection1) GetAssignedRolesCtx( @@ -280,6 +318,40 @@ func (client *DeviceProtection1) GetRolesForAction(DeviceUDN string, ServiceId s ) } +func (client *DeviceProtection1) GetSupportedProtocolsCtx( + ctx context.Context, +) (ProtocolList string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + ProtocolList string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "GetSupportedProtocols", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if ProtocolList, err = soap.UnmarshalString(response.ProtocolList); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetSupportedProtocols is the legacy version of GetSupportedProtocolsCtx, but uses +// context.Background() as the context. +func (client *DeviceProtection1) GetSupportedProtocols() (ProtocolList string, err error) { + return client.GetSupportedProtocolsCtx(context.Background()) +} + func (client *DeviceProtection1) GetUserLoginChallengeCtx( ctx context.Context, ProtocolType string, @@ -332,6 +404,189 @@ func (client *DeviceProtection1) GetUserLoginChallenge(ProtocolType string, Name ) } +func (client *DeviceProtection1) RemoveIdentityCtx( + ctx context.Context, + Identity string, +) (err error) { + // Request structure. + request := &struct { + Identity string + }{} + // BEGIN Marshal arguments into request. + + if request.Identity, err = soap.MarshalString(Identity); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "RemoveIdentity", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// RemoveIdentity is the legacy version of RemoveIdentityCtx, but uses +// context.Background() as the context. +func (client *DeviceProtection1) RemoveIdentity(Identity string) (err error) { + return client.RemoveIdentityCtx(context.Background(), + Identity, + ) +} + +func (client *DeviceProtection1) RemoveRolesForIdentityCtx( + ctx context.Context, + Identity string, + RoleList string, +) (err error) { + // Request structure. + request := &struct { + Identity string + RoleList string + }{} + // BEGIN Marshal arguments into request. + + if request.Identity, err = soap.MarshalString(Identity); err != nil { + return + } + if request.RoleList, err = soap.MarshalString(RoleList); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "RemoveRolesForIdentity", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// RemoveRolesForIdentity is the legacy version of RemoveRolesForIdentityCtx, but uses +// context.Background() as the context. +func (client *DeviceProtection1) RemoveRolesForIdentity(Identity string, RoleList string) (err error) { + return client.RemoveRolesForIdentityCtx(context.Background(), + Identity, + RoleList, + ) +} + +func (client *DeviceProtection1) SendSetupMessageCtx( + ctx context.Context, + ProtocolType string, + InMessage []byte, +) (OutMessage []byte, err error) { + // Request structure. + request := &struct { + ProtocolType string + InMessage string + }{} + // BEGIN Marshal arguments into request. + + if request.ProtocolType, err = soap.MarshalString(ProtocolType); err != nil { + return + } + if request.InMessage, err = soap.MarshalBinBase64(InMessage); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := &struct { + OutMessage string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "SendSetupMessage", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if OutMessage, err = soap.UnmarshalBinBase64(response.OutMessage); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// SendSetupMessage is the legacy version of SendSetupMessageCtx, but uses +// context.Background() as the context. +func (client *DeviceProtection1) SendSetupMessage(ProtocolType string, InMessage []byte) (OutMessage []byte, err error) { + return client.SendSetupMessageCtx(context.Background(), + ProtocolType, + InMessage, + ) +} + +func (client *DeviceProtection1) SetUserLoginPasswordCtx( + ctx context.Context, + ProtocolType string, + Name string, + Stored []byte, + Salt []byte, +) (err error) { + // Request structure. + request := &struct { + ProtocolType string + Name string + Stored string + Salt string + }{} + // BEGIN Marshal arguments into request. + + if request.ProtocolType, err = soap.MarshalString(ProtocolType); err != nil { + return + } + if request.Name, err = soap.MarshalString(Name); err != nil { + return + } + if request.Stored, err = soap.MarshalBinBase64(Stored); err != nil { + return + } + if request.Salt, err = soap.MarshalBinBase64(Salt); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "SetUserLoginPassword", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetUserLoginPassword is the legacy version of SetUserLoginPasswordCtx, but uses +// context.Background() as the context. +func (client *DeviceProtection1) SetUserLoginPassword(ProtocolType string, Name string, Stored []byte, Salt []byte) (err error) { + return client.SetUserLoginPasswordCtx(context.Background(), + ProtocolType, + Name, + Stored, + Salt, + ) +} + func (client *DeviceProtection1) UserLoginCtx( ctx context.Context, ProtocolType string, @@ -410,260 +665,6 @@ func (client *DeviceProtection1) UserLogout() (err error) { return client.UserLogoutCtx(context.Background()) } -func (client *DeviceProtection1) GetACLDataCtx( - ctx context.Context, -) (ACL string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - ACL string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "GetACLData", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if ACL, err = soap.UnmarshalString(response.ACL); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetACLData is the legacy version of GetACLDataCtx, but uses -// context.Background() as the context. -func (client *DeviceProtection1) GetACLData() (ACL string, err error) { - return client.GetACLDataCtx(context.Background()) -} - -func (client *DeviceProtection1) AddIdentityListCtx( - ctx context.Context, - IdentityList string, -) (IdentityListResult string, err error) { - // Request structure. - request := &struct { - IdentityList string - }{} - // BEGIN Marshal arguments into request. - - if request.IdentityList, err = soap.MarshalString(IdentityList); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := &struct { - IdentityListResult string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "AddIdentityList", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if IdentityListResult, err = soap.UnmarshalString(response.IdentityListResult); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// AddIdentityList is the legacy version of AddIdentityListCtx, but uses -// context.Background() as the context. -func (client *DeviceProtection1) AddIdentityList(IdentityList string) (IdentityListResult string, err error) { - return client.AddIdentityListCtx(context.Background(), - IdentityList, - ) -} - -func (client *DeviceProtection1) RemoveIdentityCtx( - ctx context.Context, - Identity string, -) (err error) { - // Request structure. - request := &struct { - Identity string - }{} - // BEGIN Marshal arguments into request. - - if request.Identity, err = soap.MarshalString(Identity); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "RemoveIdentity", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// RemoveIdentity is the legacy version of RemoveIdentityCtx, but uses -// context.Background() as the context. -func (client *DeviceProtection1) RemoveIdentity(Identity string) (err error) { - return client.RemoveIdentityCtx(context.Background(), - Identity, - ) -} - -func (client *DeviceProtection1) SetUserLoginPasswordCtx( - ctx context.Context, - ProtocolType string, - Name string, - Stored []byte, - Salt []byte, -) (err error) { - // Request structure. - request := &struct { - ProtocolType string - Name string - Stored string - Salt string - }{} - // BEGIN Marshal arguments into request. - - if request.ProtocolType, err = soap.MarshalString(ProtocolType); err != nil { - return - } - if request.Name, err = soap.MarshalString(Name); err != nil { - return - } - if request.Stored, err = soap.MarshalBinBase64(Stored); err != nil { - return - } - if request.Salt, err = soap.MarshalBinBase64(Salt); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "SetUserLoginPassword", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetUserLoginPassword is the legacy version of SetUserLoginPasswordCtx, but uses -// context.Background() as the context. -func (client *DeviceProtection1) SetUserLoginPassword(ProtocolType string, Name string, Stored []byte, Salt []byte) (err error) { - return client.SetUserLoginPasswordCtx(context.Background(), - ProtocolType, - Name, - Stored, - Salt, - ) -} - -func (client *DeviceProtection1) AddRolesForIdentityCtx( - ctx context.Context, - Identity string, - RoleList string, -) (err error) { - // Request structure. - request := &struct { - Identity string - RoleList string - }{} - // BEGIN Marshal arguments into request. - - if request.Identity, err = soap.MarshalString(Identity); err != nil { - return - } - if request.RoleList, err = soap.MarshalString(RoleList); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "AddRolesForIdentity", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// AddRolesForIdentity is the legacy version of AddRolesForIdentityCtx, but uses -// context.Background() as the context. -func (client *DeviceProtection1) AddRolesForIdentity(Identity string, RoleList string) (err error) { - return client.AddRolesForIdentityCtx(context.Background(), - Identity, - RoleList, - ) -} - -func (client *DeviceProtection1) RemoveRolesForIdentityCtx( - ctx context.Context, - Identity string, - RoleList string, -) (err error) { - // Request structure. - request := &struct { - Identity string - RoleList string - }{} - // BEGIN Marshal arguments into request. - - if request.Identity, err = soap.MarshalString(Identity); err != nil { - return - } - if request.RoleList, err = soap.MarshalString(RoleList); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_DeviceProtection_1, "RemoveRolesForIdentity", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// RemoveRolesForIdentity is the legacy version of RemoveRolesForIdentityCtx, but uses -// context.Background() as the context. -func (client *DeviceProtection1) RemoveRolesForIdentity(Identity string, RoleList string) (err error) { - return client.RemoveRolesForIdentityCtx(context.Background(), - Identity, - RoleList, - ) -} - // LANHostConfigManagement1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:LANHostConfigManagement:1". See // goupnp.ServiceClient, which contains RootDevice and Service attributes which // are provided for informational value. @@ -724,17 +725,17 @@ func newLANHostConfigManagement1ClientsFromGenericClients(genericClients []goupn return clients } -func (client *LANHostConfigManagement1) SetDHCPServerConfigurableCtx( +func (client *LANHostConfigManagement1) DeleteDNSServerCtx( ctx context.Context, - NewDHCPServerConfigurable bool, + NewDNSServers string, ) (err error) { // Request structure. request := &struct { - NewDHCPServerConfigurable string + NewDNSServers string }{} // BEGIN Marshal arguments into request. - if request.NewDHCPServerConfigurable, err = soap.MarshalBoolean(NewDHCPServerConfigurable); err != nil { + if request.NewDNSServers, err = soap.MarshalString(NewDNSServers); err != nil { return } // END Marshal arguments into request. @@ -743,7 +744,7 @@ func (client *LANHostConfigManagement1) SetDHCPServerConfigurableCtx( response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetDHCPServerConfigurable", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "DeleteDNSServer", request, response); err != nil { return } @@ -753,224 +754,11 @@ func (client *LANHostConfigManagement1) SetDHCPServerConfigurableCtx( return } -// SetDHCPServerConfigurable is the legacy version of SetDHCPServerConfigurableCtx, but uses +// DeleteDNSServer is the legacy version of DeleteDNSServerCtx, but uses // context.Background() as the context. -func (client *LANHostConfigManagement1) SetDHCPServerConfigurable(NewDHCPServerConfigurable bool) (err error) { - return client.SetDHCPServerConfigurableCtx(context.Background(), - NewDHCPServerConfigurable, - ) -} - -func (client *LANHostConfigManagement1) GetDHCPServerConfigurableCtx( - ctx context.Context, -) (NewDHCPServerConfigurable bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewDHCPServerConfigurable string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetDHCPServerConfigurable", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewDHCPServerConfigurable, err = soap.UnmarshalBoolean(response.NewDHCPServerConfigurable); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetDHCPServerConfigurable is the legacy version of GetDHCPServerConfigurableCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) GetDHCPServerConfigurable() (NewDHCPServerConfigurable bool, err error) { - return client.GetDHCPServerConfigurableCtx(context.Background()) -} - -func (client *LANHostConfigManagement1) SetDHCPRelayCtx( - ctx context.Context, - NewDHCPRelay bool, -) (err error) { - // Request structure. - request := &struct { - NewDHCPRelay string - }{} - // BEGIN Marshal arguments into request. - - if request.NewDHCPRelay, err = soap.MarshalBoolean(NewDHCPRelay); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetDHCPRelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetDHCPRelay is the legacy version of SetDHCPRelayCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) SetDHCPRelay(NewDHCPRelay bool) (err error) { - return client.SetDHCPRelayCtx(context.Background(), - NewDHCPRelay, - ) -} - -func (client *LANHostConfigManagement1) GetDHCPRelayCtx( - ctx context.Context, -) (NewDHCPRelay bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewDHCPRelay string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetDHCPRelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewDHCPRelay, err = soap.UnmarshalBoolean(response.NewDHCPRelay); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetDHCPRelay is the legacy version of GetDHCPRelayCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) GetDHCPRelay() (NewDHCPRelay bool, err error) { - return client.GetDHCPRelayCtx(context.Background()) -} - -func (client *LANHostConfigManagement1) SetSubnetMaskCtx( - ctx context.Context, - NewSubnetMask string, -) (err error) { - // Request structure. - request := &struct { - NewSubnetMask string - }{} - // BEGIN Marshal arguments into request. - - if request.NewSubnetMask, err = soap.MarshalString(NewSubnetMask); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetSubnetMask", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetSubnetMask is the legacy version of SetSubnetMaskCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) SetSubnetMask(NewSubnetMask string) (err error) { - return client.SetSubnetMaskCtx(context.Background(), - NewSubnetMask, - ) -} - -func (client *LANHostConfigManagement1) GetSubnetMaskCtx( - ctx context.Context, -) (NewSubnetMask string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewSubnetMask string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetSubnetMask", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewSubnetMask, err = soap.UnmarshalString(response.NewSubnetMask); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetSubnetMask is the legacy version of GetSubnetMaskCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) GetSubnetMask() (NewSubnetMask string, err error) { - return client.GetSubnetMaskCtx(context.Background()) -} - -func (client *LANHostConfigManagement1) SetIPRouterCtx( - ctx context.Context, - NewIPRouters string, -) (err error) { - // Request structure. - request := &struct { - NewIPRouters string - }{} - // BEGIN Marshal arguments into request. - - if request.NewIPRouters, err = soap.MarshalString(NewIPRouters); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetIPRouter", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetIPRouter is the legacy version of SetIPRouterCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) SetIPRouter(NewIPRouters string) (err error) { - return client.SetIPRouterCtx(context.Background(), - NewIPRouters, +func (client *LANHostConfigManagement1) DeleteDNSServer(NewDNSServers string) (err error) { + return client.DeleteDNSServerCtx(context.Background(), + NewDNSServers, ) } @@ -1011,51 +799,17 @@ func (client *LANHostConfigManagement1) DeleteIPRouter(NewIPRouters string) (err ) } -func (client *LANHostConfigManagement1) GetIPRoutersListCtx( +func (client *LANHostConfigManagement1) DeleteReservedAddressCtx( ctx context.Context, -) (NewIPRouters string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewIPRouters string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetIPRoutersList", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewIPRouters, err = soap.UnmarshalString(response.NewIPRouters); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetIPRoutersList is the legacy version of GetIPRoutersListCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) GetIPRoutersList() (NewIPRouters string, err error) { - return client.GetIPRoutersListCtx(context.Background()) -} - -func (client *LANHostConfigManagement1) SetDomainNameCtx( - ctx context.Context, - NewDomainName string, + NewReservedAddresses string, ) (err error) { // Request structure. request := &struct { - NewDomainName string + NewReservedAddresses string }{} // BEGIN Marshal arguments into request. - if request.NewDomainName, err = soap.MarshalString(NewDomainName); err != nil { + if request.NewReservedAddresses, err = soap.MarshalString(NewReservedAddresses); err != nil { return } // END Marshal arguments into request. @@ -1064,7 +818,7 @@ func (client *LANHostConfigManagement1) SetDomainNameCtx( response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetDomainName", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "DeleteReservedAddress", request, response); err != nil { return } @@ -1074,14 +828,154 @@ func (client *LANHostConfigManagement1) SetDomainNameCtx( return } -// SetDomainName is the legacy version of SetDomainNameCtx, but uses +// DeleteReservedAddress is the legacy version of DeleteReservedAddressCtx, but uses // context.Background() as the context. -func (client *LANHostConfigManagement1) SetDomainName(NewDomainName string) (err error) { - return client.SetDomainNameCtx(context.Background(), - NewDomainName, +func (client *LANHostConfigManagement1) DeleteReservedAddress(NewReservedAddresses string) (err error) { + return client.DeleteReservedAddressCtx(context.Background(), + NewReservedAddresses, ) } +func (client *LANHostConfigManagement1) GetAddressRangeCtx( + ctx context.Context, +) (NewMinAddress string, NewMaxAddress string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewMinAddress string + NewMaxAddress string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetAddressRange", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewMinAddress, err = soap.UnmarshalString(response.NewMinAddress); err != nil { + return + } + if NewMaxAddress, err = soap.UnmarshalString(response.NewMaxAddress); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetAddressRange is the legacy version of GetAddressRangeCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetAddressRange() (NewMinAddress string, NewMaxAddress string, err error) { + return client.GetAddressRangeCtx(context.Background()) +} + +func (client *LANHostConfigManagement1) GetDHCPRelayCtx( + ctx context.Context, +) (NewDHCPRelay bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewDHCPRelay string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetDHCPRelay", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewDHCPRelay, err = soap.UnmarshalBoolean(response.NewDHCPRelay); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetDHCPRelay is the legacy version of GetDHCPRelayCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetDHCPRelay() (NewDHCPRelay bool, err error) { + return client.GetDHCPRelayCtx(context.Background()) +} + +func (client *LANHostConfigManagement1) GetDHCPServerConfigurableCtx( + ctx context.Context, +) (NewDHCPServerConfigurable bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewDHCPServerConfigurable string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetDHCPServerConfigurable", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewDHCPServerConfigurable, err = soap.UnmarshalBoolean(response.NewDHCPServerConfigurable); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetDHCPServerConfigurable is the legacy version of GetDHCPServerConfigurableCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetDHCPServerConfigurable() (NewDHCPServerConfigurable bool, err error) { + return client.GetDHCPServerConfigurableCtx(context.Background()) +} + +func (client *LANHostConfigManagement1) GetDNSServersCtx( + ctx context.Context, +) (NewDNSServers string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewDNSServers string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetDNSServers", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewDNSServers, err = soap.UnmarshalString(response.NewDNSServers); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetDNSServers is the legacy version of GetDNSServersCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetDNSServers() (NewDNSServers string, err error) { + return client.GetDNSServersCtx(context.Background()) +} + func (client *LANHostConfigManagement1) GetDomainNameCtx( ctx context.Context, ) (NewDomainName string, err error) { @@ -1116,6 +1010,108 @@ func (client *LANHostConfigManagement1) GetDomainName() (NewDomainName string, e return client.GetDomainNameCtx(context.Background()) } +func (client *LANHostConfigManagement1) GetIPRoutersListCtx( + ctx context.Context, +) (NewIPRouters string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewIPRouters string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetIPRoutersList", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewIPRouters, err = soap.UnmarshalString(response.NewIPRouters); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetIPRoutersList is the legacy version of GetIPRoutersListCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetIPRoutersList() (NewIPRouters string, err error) { + return client.GetIPRoutersListCtx(context.Background()) +} + +func (client *LANHostConfigManagement1) GetReservedAddressesCtx( + ctx context.Context, +) (NewReservedAddresses string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewReservedAddresses string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetReservedAddresses", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewReservedAddresses, err = soap.UnmarshalString(response.NewReservedAddresses); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetReservedAddresses is the legacy version of GetReservedAddressesCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetReservedAddresses() (NewReservedAddresses string, err error) { + return client.GetReservedAddressesCtx(context.Background()) +} + +func (client *LANHostConfigManagement1) GetSubnetMaskCtx( + ctx context.Context, +) (NewSubnetMask string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewSubnetMask string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetSubnetMask", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewSubnetMask, err = soap.UnmarshalString(response.NewSubnetMask); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetSubnetMask is the legacy version of GetSubnetMaskCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) GetSubnetMask() (NewSubnetMask string, err error) { + return client.GetSubnetMaskCtx(context.Background()) +} + func (client *LANHostConfigManagement1) SetAddressRangeCtx( ctx context.Context, NewMinAddress string, @@ -1159,55 +1155,17 @@ func (client *LANHostConfigManagement1) SetAddressRange(NewMinAddress string, Ne ) } -func (client *LANHostConfigManagement1) GetAddressRangeCtx( +func (client *LANHostConfigManagement1) SetDHCPRelayCtx( ctx context.Context, -) (NewMinAddress string, NewMaxAddress string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewMinAddress string - NewMaxAddress string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetAddressRange", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewMinAddress, err = soap.UnmarshalString(response.NewMinAddress); err != nil { - return - } - if NewMaxAddress, err = soap.UnmarshalString(response.NewMaxAddress); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetAddressRange is the legacy version of GetAddressRangeCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) GetAddressRange() (NewMinAddress string, NewMaxAddress string, err error) { - return client.GetAddressRangeCtx(context.Background()) -} - -func (client *LANHostConfigManagement1) SetReservedAddressCtx( - ctx context.Context, - NewReservedAddresses string, + NewDHCPRelay bool, ) (err error) { // Request structure. request := &struct { - NewReservedAddresses string + NewDHCPRelay string }{} // BEGIN Marshal arguments into request. - if request.NewReservedAddresses, err = soap.MarshalString(NewReservedAddresses); err != nil { + if request.NewDHCPRelay, err = soap.MarshalBoolean(NewDHCPRelay); err != nil { return } // END Marshal arguments into request. @@ -1216,7 +1174,7 @@ func (client *LANHostConfigManagement1) SetReservedAddressCtx( response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetReservedAddress", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetDHCPRelay", request, response); err != nil { return } @@ -1226,25 +1184,25 @@ func (client *LANHostConfigManagement1) SetReservedAddressCtx( return } -// SetReservedAddress is the legacy version of SetReservedAddressCtx, but uses +// SetDHCPRelay is the legacy version of SetDHCPRelayCtx, but uses // context.Background() as the context. -func (client *LANHostConfigManagement1) SetReservedAddress(NewReservedAddresses string) (err error) { - return client.SetReservedAddressCtx(context.Background(), - NewReservedAddresses, +func (client *LANHostConfigManagement1) SetDHCPRelay(NewDHCPRelay bool) (err error) { + return client.SetDHCPRelayCtx(context.Background(), + NewDHCPRelay, ) } -func (client *LANHostConfigManagement1) DeleteReservedAddressCtx( +func (client *LANHostConfigManagement1) SetDHCPServerConfigurableCtx( ctx context.Context, - NewReservedAddresses string, + NewDHCPServerConfigurable bool, ) (err error) { // Request structure. request := &struct { - NewReservedAddresses string + NewDHCPServerConfigurable string }{} // BEGIN Marshal arguments into request. - if request.NewReservedAddresses, err = soap.MarshalString(NewReservedAddresses); err != nil { + if request.NewDHCPServerConfigurable, err = soap.MarshalBoolean(NewDHCPServerConfigurable); err != nil { return } // END Marshal arguments into request. @@ -1253,7 +1211,7 @@ func (client *LANHostConfigManagement1) DeleteReservedAddressCtx( response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "DeleteReservedAddress", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetDHCPServerConfigurable", request, response); err != nil { return } @@ -1263,48 +1221,14 @@ func (client *LANHostConfigManagement1) DeleteReservedAddressCtx( return } -// DeleteReservedAddress is the legacy version of DeleteReservedAddressCtx, but uses +// SetDHCPServerConfigurable is the legacy version of SetDHCPServerConfigurableCtx, but uses // context.Background() as the context. -func (client *LANHostConfigManagement1) DeleteReservedAddress(NewReservedAddresses string) (err error) { - return client.DeleteReservedAddressCtx(context.Background(), - NewReservedAddresses, +func (client *LANHostConfigManagement1) SetDHCPServerConfigurable(NewDHCPServerConfigurable bool) (err error) { + return client.SetDHCPServerConfigurableCtx(context.Background(), + NewDHCPServerConfigurable, ) } -func (client *LANHostConfigManagement1) GetReservedAddressesCtx( - ctx context.Context, -) (NewReservedAddresses string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewReservedAddresses string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetReservedAddresses", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewReservedAddresses, err = soap.UnmarshalString(response.NewReservedAddresses); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetReservedAddresses is the legacy version of GetReservedAddressesCtx, but uses -// context.Background() as the context. -func (client *LANHostConfigManagement1) GetReservedAddresses() (NewReservedAddresses string, err error) { - return client.GetReservedAddressesCtx(context.Background()) -} - func (client *LANHostConfigManagement1) SetDNSServerCtx( ctx context.Context, NewDNSServers string, @@ -1342,17 +1266,17 @@ func (client *LANHostConfigManagement1) SetDNSServer(NewDNSServers string) (err ) } -func (client *LANHostConfigManagement1) DeleteDNSServerCtx( +func (client *LANHostConfigManagement1) SetDomainNameCtx( ctx context.Context, - NewDNSServers string, + NewDomainName string, ) (err error) { // Request structure. request := &struct { - NewDNSServers string + NewDomainName string }{} // BEGIN Marshal arguments into request. - if request.NewDNSServers, err = soap.MarshalString(NewDNSServers); err != nil { + if request.NewDomainName, err = soap.MarshalString(NewDomainName); err != nil { return } // END Marshal arguments into request. @@ -1361,7 +1285,7 @@ func (client *LANHostConfigManagement1) DeleteDNSServerCtx( response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "DeleteDNSServer", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetDomainName", request, response); err != nil { return } @@ -1371,46 +1295,123 @@ func (client *LANHostConfigManagement1) DeleteDNSServerCtx( return } -// DeleteDNSServer is the legacy version of DeleteDNSServerCtx, but uses +// SetDomainName is the legacy version of SetDomainNameCtx, but uses // context.Background() as the context. -func (client *LANHostConfigManagement1) DeleteDNSServer(NewDNSServers string) (err error) { - return client.DeleteDNSServerCtx(context.Background(), - NewDNSServers, +func (client *LANHostConfigManagement1) SetDomainName(NewDomainName string) (err error) { + return client.SetDomainNameCtx(context.Background(), + NewDomainName, ) } -func (client *LANHostConfigManagement1) GetDNSServersCtx( +func (client *LANHostConfigManagement1) SetIPRouterCtx( ctx context.Context, -) (NewDNSServers string, err error) { + NewIPRouters string, +) (err error) { // Request structure. - request := interface{}(nil) + request := &struct { + NewIPRouters string + }{} // BEGIN Marshal arguments into request. + if request.NewIPRouters, err = soap.MarshalString(NewIPRouters); err != nil { + return + } // END Marshal arguments into request. // Response structure. - response := &struct { - NewDNSServers string - }{} + response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "GetDNSServers", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetIPRouter", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewDNSServers, err = soap.UnmarshalString(response.NewDNSServers); err != nil { - return - } // END Unmarshal arguments from response. return } -// GetDNSServers is the legacy version of GetDNSServersCtx, but uses +// SetIPRouter is the legacy version of SetIPRouterCtx, but uses // context.Background() as the context. -func (client *LANHostConfigManagement1) GetDNSServers() (NewDNSServers string, err error) { - return client.GetDNSServersCtx(context.Background()) +func (client *LANHostConfigManagement1) SetIPRouter(NewIPRouters string) (err error) { + return client.SetIPRouterCtx(context.Background(), + NewIPRouters, + ) +} + +func (client *LANHostConfigManagement1) SetReservedAddressCtx( + ctx context.Context, + NewReservedAddresses string, +) (err error) { + // Request structure. + request := &struct { + NewReservedAddresses string + }{} + // BEGIN Marshal arguments into request. + + if request.NewReservedAddresses, err = soap.MarshalString(NewReservedAddresses); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetReservedAddress", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetReservedAddress is the legacy version of SetReservedAddressCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) SetReservedAddress(NewReservedAddresses string) (err error) { + return client.SetReservedAddressCtx(context.Background(), + NewReservedAddresses, + ) +} + +func (client *LANHostConfigManagement1) SetSubnetMaskCtx( + ctx context.Context, + NewSubnetMask string, +) (err error) { + // Request structure. + request := &struct { + NewSubnetMask string + }{} + // BEGIN Marshal arguments into request. + + if request.NewSubnetMask, err = soap.MarshalString(NewSubnetMask); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_LANHostConfigManagement_1, "SetSubnetMask", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetSubnetMask is the legacy version of SetSubnetMaskCtx, but uses +// context.Background() as the context. +func (client *LANHostConfigManagement1) SetSubnetMask(NewSubnetMask string) (err error) { + return client.SetSubnetMaskCtx(context.Background(), + NewSubnetMask, + ) } // Layer3Forwarding1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:Layer3Forwarding:1". See @@ -1473,6 +1474,40 @@ func newLayer3Forwarding1ClientsFromGenericClients(genericClients []goupnp.Servi return clients } +func (client *Layer3Forwarding1) GetDefaultConnectionServiceCtx( + ctx context.Context, +) (NewDefaultConnectionService string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewDefaultConnectionService string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_Layer3Forwarding_1, "GetDefaultConnectionService", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewDefaultConnectionService, err = soap.UnmarshalString(response.NewDefaultConnectionService); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetDefaultConnectionService is the legacy version of GetDefaultConnectionServiceCtx, but uses +// context.Background() as the context. +func (client *Layer3Forwarding1) GetDefaultConnectionService() (NewDefaultConnectionService string, err error) { + return client.GetDefaultConnectionServiceCtx(context.Background()) +} + func (client *Layer3Forwarding1) SetDefaultConnectionServiceCtx( ctx context.Context, NewDefaultConnectionService string, @@ -1510,40 +1545,6 @@ func (client *Layer3Forwarding1) SetDefaultConnectionService(NewDefaultConnectio ) } -func (client *Layer3Forwarding1) GetDefaultConnectionServiceCtx( - ctx context.Context, -) (NewDefaultConnectionService string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewDefaultConnectionService string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_Layer3Forwarding_1, "GetDefaultConnectionService", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewDefaultConnectionService, err = soap.UnmarshalString(response.NewDefaultConnectionService); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetDefaultConnectionService is the legacy version of GetDefaultConnectionServiceCtx, but uses -// context.Background() as the context. -func (client *Layer3Forwarding1) GetDefaultConnectionService() (NewDefaultConnectionService string, err error) { - return client.GetDefaultConnectionServiceCtx(context.Background()) -} - // WANCableLinkConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANCableLinkConfig:1". See // goupnp.ServiceClient, which contains RootDevice and Service attributes which // are provided for informational value. @@ -1604,6 +1605,40 @@ func newWANCableLinkConfig1ClientsFromGenericClients(genericClients []goupnp.Ser return clients } +func (client *WANCableLinkConfig1) GetBPIEncryptionEnabledCtx( + ctx context.Context, +) (NewBPIEncryptionEnabled bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewBPIEncryptionEnabled string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetBPIEncryptionEnabled", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewBPIEncryptionEnabled, err = soap.UnmarshalBoolean(response.NewBPIEncryptionEnabled); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetBPIEncryptionEnabled is the legacy version of GetBPIEncryptionEnabledCtx, but uses +// context.Background() as the context. +func (client *WANCableLinkConfig1) GetBPIEncryptionEnabled() (NewBPIEncryptionEnabled bool, err error) { + return client.GetBPIEncryptionEnabledCtx(context.Background()) +} + // // Return values: // @@ -1648,6 +1683,40 @@ func (client *WANCableLinkConfig1) GetCableLinkConfigInfo() (NewCableLinkConfigS return client.GetCableLinkConfigInfoCtx(context.Background()) } +func (client *WANCableLinkConfig1) GetConfigFileCtx( + ctx context.Context, +) (NewConfigFile string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewConfigFile string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetConfigFile", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewConfigFile, err = soap.UnmarshalString(response.NewConfigFile); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetConfigFile is the legacy version of GetConfigFileCtx, but uses +// context.Background() as the context. +func (client *WANCableLinkConfig1) GetConfigFile() (NewConfigFile string, err error) { + return client.GetConfigFileCtx(context.Background()) +} + func (client *WANCableLinkConfig1) GetDownstreamFrequencyCtx( ctx context.Context, ) (NewDownstreamFrequency uint32, err error) { @@ -1720,6 +1789,74 @@ func (client *WANCableLinkConfig1) GetDownstreamModulation() (NewDownstreamModul return client.GetDownstreamModulationCtx(context.Background()) } +func (client *WANCableLinkConfig1) GetTFTPServerCtx( + ctx context.Context, +) (NewTFTPServer string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewTFTPServer string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetTFTPServer", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewTFTPServer, err = soap.UnmarshalString(response.NewTFTPServer); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetTFTPServer is the legacy version of GetTFTPServerCtx, but uses +// context.Background() as the context. +func (client *WANCableLinkConfig1) GetTFTPServer() (NewTFTPServer string, err error) { + return client.GetTFTPServerCtx(context.Background()) +} + +func (client *WANCableLinkConfig1) GetUpstreamChannelIDCtx( + ctx context.Context, +) (NewUpstreamChannelID uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewUpstreamChannelID string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetUpstreamChannelID", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewUpstreamChannelID, err = soap.UnmarshalUi4(response.NewUpstreamChannelID); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetUpstreamChannelID is the legacy version of GetUpstreamChannelIDCtx, but uses +// context.Background() as the context. +func (client *WANCableLinkConfig1) GetUpstreamChannelID() (NewUpstreamChannelID uint32, err error) { + return client.GetUpstreamChannelIDCtx(context.Background()) +} + func (client *WANCableLinkConfig1) GetUpstreamFrequencyCtx( ctx context.Context, ) (NewUpstreamFrequency uint32, err error) { @@ -1792,40 +1929,6 @@ func (client *WANCableLinkConfig1) GetUpstreamModulation() (NewUpstreamModulatio return client.GetUpstreamModulationCtx(context.Background()) } -func (client *WANCableLinkConfig1) GetUpstreamChannelIDCtx( - ctx context.Context, -) (NewUpstreamChannelID uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewUpstreamChannelID string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetUpstreamChannelID", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewUpstreamChannelID, err = soap.UnmarshalUi4(response.NewUpstreamChannelID); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetUpstreamChannelID is the legacy version of GetUpstreamChannelIDCtx, but uses -// context.Background() as the context. -func (client *WANCableLinkConfig1) GetUpstreamChannelID() (NewUpstreamChannelID uint32, err error) { - return client.GetUpstreamChannelIDCtx(context.Background()) -} - func (client *WANCableLinkConfig1) GetUpstreamPowerLevelCtx( ctx context.Context, ) (NewUpstreamPowerLevel uint32, err error) { @@ -1860,108 +1963,6 @@ func (client *WANCableLinkConfig1) GetUpstreamPowerLevel() (NewUpstreamPowerLeve return client.GetUpstreamPowerLevelCtx(context.Background()) } -func (client *WANCableLinkConfig1) GetBPIEncryptionEnabledCtx( - ctx context.Context, -) (NewBPIEncryptionEnabled bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewBPIEncryptionEnabled string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetBPIEncryptionEnabled", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewBPIEncryptionEnabled, err = soap.UnmarshalBoolean(response.NewBPIEncryptionEnabled); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetBPIEncryptionEnabled is the legacy version of GetBPIEncryptionEnabledCtx, but uses -// context.Background() as the context. -func (client *WANCableLinkConfig1) GetBPIEncryptionEnabled() (NewBPIEncryptionEnabled bool, err error) { - return client.GetBPIEncryptionEnabledCtx(context.Background()) -} - -func (client *WANCableLinkConfig1) GetConfigFileCtx( - ctx context.Context, -) (NewConfigFile string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewConfigFile string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetConfigFile", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewConfigFile, err = soap.UnmarshalString(response.NewConfigFile); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetConfigFile is the legacy version of GetConfigFileCtx, but uses -// context.Background() as the context. -func (client *WANCableLinkConfig1) GetConfigFile() (NewConfigFile string, err error) { - return client.GetConfigFileCtx(context.Background()) -} - -func (client *WANCableLinkConfig1) GetTFTPServerCtx( - ctx context.Context, -) (NewTFTPServer string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewTFTPServer string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCableLinkConfig_1, "GetTFTPServer", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewTFTPServer, err = soap.UnmarshalString(response.NewTFTPServer); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetTFTPServer is the legacy version of GetTFTPServerCtx, but uses -// context.Background() as the context. -func (client *WANCableLinkConfig1) GetTFTPServer() (NewTFTPServer string, err error) { - return client.GetTFTPServerCtx(context.Background()) -} - // WANCommonInterfaceConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1". See // goupnp.ServiceClient, which contains RootDevice and Service attributes which // are provided for informational value. @@ -2022,75 +2023,50 @@ func newWANCommonInterfaceConfig1ClientsFromGenericClients(genericClients []goup return clients } -func (client *WANCommonInterfaceConfig1) SetEnabledForInternetCtx( +func (client *WANCommonInterfaceConfig1) GetActiveConnectionCtx( ctx context.Context, - NewEnabledForInternet bool, -) (err error) { + NewActiveConnectionIndex uint16, +) (NewActiveConnDeviceContainer string, NewActiveConnectionServiceID string, err error) { // Request structure. request := &struct { - NewEnabledForInternet string + NewActiveConnectionIndex string }{} // BEGIN Marshal arguments into request. - if request.NewEnabledForInternet, err = soap.MarshalBoolean(NewEnabledForInternet); err != nil { + if request.NewActiveConnectionIndex, err = soap.MarshalUi2(NewActiveConnectionIndex); err != nil { return } // END Marshal arguments into request. - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "SetEnabledForInternet", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetEnabledForInternet is the legacy version of SetEnabledForInternetCtx, but uses -// context.Background() as the context. -func (client *WANCommonInterfaceConfig1) SetEnabledForInternet(NewEnabledForInternet bool) (err error) { - return client.SetEnabledForInternetCtx(context.Background(), - NewEnabledForInternet, - ) -} - -func (client *WANCommonInterfaceConfig1) GetEnabledForInternetCtx( - ctx context.Context, -) (NewEnabledForInternet bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - // Response structure. response := &struct { - NewEnabledForInternet string + NewActiveConnDeviceContainer string + NewActiveConnectionServiceID string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetEnabledForInternet", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetActiveConnection", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewEnabledForInternet, err = soap.UnmarshalBoolean(response.NewEnabledForInternet); err != nil { + if NewActiveConnDeviceContainer, err = soap.UnmarshalString(response.NewActiveConnDeviceContainer); err != nil { + return + } + if NewActiveConnectionServiceID, err = soap.UnmarshalString(response.NewActiveConnectionServiceID); err != nil { return } // END Unmarshal arguments from response. return } -// GetEnabledForInternet is the legacy version of GetEnabledForInternetCtx, but uses +// GetActiveConnection is the legacy version of GetActiveConnectionCtx, but uses // context.Background() as the context. -func (client *WANCommonInterfaceConfig1) GetEnabledForInternet() (NewEnabledForInternet bool, err error) { - return client.GetEnabledForInternetCtx(context.Background()) +func (client *WANCommonInterfaceConfig1) GetActiveConnection(NewActiveConnectionIndex uint16) (NewActiveConnDeviceContainer string, NewActiveConnectionServiceID string, err error) { + return client.GetActiveConnectionCtx(context.Background(), + NewActiveConnectionIndex, + ) } // @@ -2145,9 +2121,9 @@ func (client *WANCommonInterfaceConfig1) GetCommonLinkProperties() (NewWANAccess return client.GetCommonLinkPropertiesCtx(context.Background()) } -func (client *WANCommonInterfaceConfig1) GetWANAccessProviderCtx( +func (client *WANCommonInterfaceConfig1) GetEnabledForInternetCtx( ctx context.Context, -) (NewWANAccessProvider string, err error) { +) (NewEnabledForInternet bool, err error) { // Request structure. request := interface{}(nil) // BEGIN Marshal arguments into request. @@ -2156,27 +2132,27 @@ func (client *WANCommonInterfaceConfig1) GetWANAccessProviderCtx( // Response structure. response := &struct { - NewWANAccessProvider string + NewEnabledForInternet string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetWANAccessProvider", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetEnabledForInternet", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewWANAccessProvider, err = soap.UnmarshalString(response.NewWANAccessProvider); err != nil { + if NewEnabledForInternet, err = soap.UnmarshalBoolean(response.NewEnabledForInternet); err != nil { return } // END Unmarshal arguments from response. return } -// GetWANAccessProvider is the legacy version of GetWANAccessProviderCtx, but uses +// GetEnabledForInternet is the legacy version of GetEnabledForInternetCtx, but uses // context.Background() as the context. -func (client *WANCommonInterfaceConfig1) GetWANAccessProvider() (NewWANAccessProvider string, err error) { - return client.GetWANAccessProviderCtx(context.Background()) +func (client *WANCommonInterfaceConfig1) GetEnabledForInternet() (NewEnabledForInternet bool, err error) { + return client.GetEnabledForInternetCtx(context.Background()) } // @@ -2217,40 +2193,6 @@ func (client *WANCommonInterfaceConfig1) GetMaximumActiveConnections() (NewMaxim return client.GetMaximumActiveConnectionsCtx(context.Background()) } -func (client *WANCommonInterfaceConfig1) GetTotalBytesSentCtx( - ctx context.Context, -) (NewTotalBytesSent uint64, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewTotalBytesSent string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetTotalBytesSent", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewTotalBytesSent, err = soap.UnmarshalUi8(response.NewTotalBytesSent); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetTotalBytesSent is the legacy version of GetTotalBytesSentCtx, but uses -// context.Background() as the context. -func (client *WANCommonInterfaceConfig1) GetTotalBytesSent() (NewTotalBytesSent uint64, err error) { - return client.GetTotalBytesSentCtx(context.Background()) -} - func (client *WANCommonInterfaceConfig1) GetTotalBytesReceivedCtx( ctx context.Context, ) (NewTotalBytesReceived uint64, err error) { @@ -2285,9 +2227,9 @@ func (client *WANCommonInterfaceConfig1) GetTotalBytesReceived() (NewTotalBytesR return client.GetTotalBytesReceivedCtx(context.Background()) } -func (client *WANCommonInterfaceConfig1) GetTotalPacketsSentCtx( +func (client *WANCommonInterfaceConfig1) GetTotalBytesSentCtx( ctx context.Context, -) (NewTotalPacketsSent uint32, err error) { +) (NewTotalBytesSent uint64, err error) { // Request structure. request := interface{}(nil) // BEGIN Marshal arguments into request. @@ -2296,27 +2238,27 @@ func (client *WANCommonInterfaceConfig1) GetTotalPacketsSentCtx( // Response structure. response := &struct { - NewTotalPacketsSent string + NewTotalBytesSent string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetTotalPacketsSent", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetTotalBytesSent", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewTotalPacketsSent, err = soap.UnmarshalUi4(response.NewTotalPacketsSent); err != nil { + if NewTotalBytesSent, err = soap.UnmarshalUi8(response.NewTotalBytesSent); err != nil { return } // END Unmarshal arguments from response. return } -// GetTotalPacketsSent is the legacy version of GetTotalPacketsSentCtx, but uses +// GetTotalBytesSent is the legacy version of GetTotalBytesSentCtx, but uses // context.Background() as the context. -func (client *WANCommonInterfaceConfig1) GetTotalPacketsSent() (NewTotalPacketsSent uint32, err error) { - return client.GetTotalPacketsSentCtx(context.Background()) +func (client *WANCommonInterfaceConfig1) GetTotalBytesSent() (NewTotalBytesSent uint64, err error) { + return client.GetTotalBytesSentCtx(context.Background()) } func (client *WANCommonInterfaceConfig1) GetTotalPacketsReceivedCtx( @@ -2353,49 +2295,108 @@ func (client *WANCommonInterfaceConfig1) GetTotalPacketsReceived() (NewTotalPack return client.GetTotalPacketsReceivedCtx(context.Background()) } -func (client *WANCommonInterfaceConfig1) GetActiveConnectionCtx( +func (client *WANCommonInterfaceConfig1) GetTotalPacketsSentCtx( ctx context.Context, - NewActiveConnectionIndex uint16, -) (NewActiveConnDeviceContainer string, NewActiveConnectionServiceID string, err error) { +) (NewTotalPacketsSent uint32, err error) { // Request structure. - request := &struct { - NewActiveConnectionIndex string - }{} + request := interface{}(nil) // BEGIN Marshal arguments into request. - if request.NewActiveConnectionIndex, err = soap.MarshalUi2(NewActiveConnectionIndex); err != nil { - return - } // END Marshal arguments into request. // Response structure. response := &struct { - NewActiveConnDeviceContainer string - NewActiveConnectionServiceID string + NewTotalPacketsSent string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetActiveConnection", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetTotalPacketsSent", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewActiveConnDeviceContainer, err = soap.UnmarshalString(response.NewActiveConnDeviceContainer); err != nil { - return - } - if NewActiveConnectionServiceID, err = soap.UnmarshalString(response.NewActiveConnectionServiceID); err != nil { + if NewTotalPacketsSent, err = soap.UnmarshalUi4(response.NewTotalPacketsSent); err != nil { return } // END Unmarshal arguments from response. return } -// GetActiveConnection is the legacy version of GetActiveConnectionCtx, but uses +// GetTotalPacketsSent is the legacy version of GetTotalPacketsSentCtx, but uses // context.Background() as the context. -func (client *WANCommonInterfaceConfig1) GetActiveConnection(NewActiveConnectionIndex uint16) (NewActiveConnDeviceContainer string, NewActiveConnectionServiceID string, err error) { - return client.GetActiveConnectionCtx(context.Background(), - NewActiveConnectionIndex, +func (client *WANCommonInterfaceConfig1) GetTotalPacketsSent() (NewTotalPacketsSent uint32, err error) { + return client.GetTotalPacketsSentCtx(context.Background()) +} + +func (client *WANCommonInterfaceConfig1) GetWANAccessProviderCtx( + ctx context.Context, +) (NewWANAccessProvider string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewWANAccessProvider string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "GetWANAccessProvider", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewWANAccessProvider, err = soap.UnmarshalString(response.NewWANAccessProvider); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetWANAccessProvider is the legacy version of GetWANAccessProviderCtx, but uses +// context.Background() as the context. +func (client *WANCommonInterfaceConfig1) GetWANAccessProvider() (NewWANAccessProvider string, err error) { + return client.GetWANAccessProviderCtx(context.Background()) +} + +func (client *WANCommonInterfaceConfig1) SetEnabledForInternetCtx( + ctx context.Context, + NewEnabledForInternet bool, +) (err error) { + // Request structure. + request := &struct { + NewEnabledForInternet string + }{} + // BEGIN Marshal arguments into request. + + if request.NewEnabledForInternet, err = soap.MarshalBoolean(NewEnabledForInternet); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANCommonInterfaceConfig_1, "SetEnabledForInternet", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetEnabledForInternet is the legacy version of SetEnabledForInternetCtx, but uses +// context.Background() as the context. +func (client *WANCommonInterfaceConfig1) SetEnabledForInternet(NewEnabledForInternet bool) (err error) { + return client.SetEnabledForInternetCtx(context.Background(), + NewEnabledForInternet, ) } @@ -2459,41 +2460,72 @@ func newWANDSLLinkConfig1ClientsFromGenericClients(genericClients []goupnp.Servi return clients } -func (client *WANDSLLinkConfig1) SetDSLLinkTypeCtx( +func (client *WANDSLLinkConfig1) GetATMEncapsulationCtx( ctx context.Context, - NewLinkType string, -) (err error) { +) (NewATMEncapsulation string, err error) { // Request structure. - request := &struct { - NewLinkType string - }{} + request := interface{}(nil) // BEGIN Marshal arguments into request. - if request.NewLinkType, err = soap.MarshalString(NewLinkType); err != nil { - return - } // END Marshal arguments into request. // Response structure. - response := interface{}(nil) + response := &struct { + NewATMEncapsulation string + }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "SetDSLLinkType", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetATMEncapsulation", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. + if NewATMEncapsulation, err = soap.UnmarshalString(response.NewATMEncapsulation); err != nil { + return + } // END Unmarshal arguments from response. return } -// SetDSLLinkType is the legacy version of SetDSLLinkTypeCtx, but uses +// GetATMEncapsulation is the legacy version of GetATMEncapsulationCtx, but uses // context.Background() as the context. -func (client *WANDSLLinkConfig1) SetDSLLinkType(NewLinkType string) (err error) { - return client.SetDSLLinkTypeCtx(context.Background(), - NewLinkType, - ) +func (client *WANDSLLinkConfig1) GetATMEncapsulation() (NewATMEncapsulation string, err error) { + return client.GetATMEncapsulationCtx(context.Background()) +} + +func (client *WANDSLLinkConfig1) GetAutoConfigCtx( + ctx context.Context, +) (NewAutoConfig bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewAutoConfig string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetAutoConfig", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewAutoConfig, err = soap.UnmarshalBoolean(response.NewAutoConfig); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetAutoConfig is the legacy version of GetAutoConfigCtx, but uses +// context.Background() as the context. +func (client *WANDSLLinkConfig1) GetAutoConfig() (NewAutoConfig bool, err error) { + return client.GetAutoConfigCtx(context.Background()) } // @@ -2538,9 +2570,9 @@ func (client *WANDSLLinkConfig1) GetDSLLinkInfo() (NewLinkType string, NewLinkSt return client.GetDSLLinkInfoCtx(context.Background()) } -func (client *WANDSLLinkConfig1) GetAutoConfigCtx( +func (client *WANDSLLinkConfig1) GetDestinationAddressCtx( ctx context.Context, -) (NewAutoConfig bool, err error) { +) (NewDestinationAddress string, err error) { // Request structure. request := interface{}(nil) // BEGIN Marshal arguments into request. @@ -2549,27 +2581,61 @@ func (client *WANDSLLinkConfig1) GetAutoConfigCtx( // Response structure. response := &struct { - NewAutoConfig string + NewDestinationAddress string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetAutoConfig", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetDestinationAddress", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewAutoConfig, err = soap.UnmarshalBoolean(response.NewAutoConfig); err != nil { + if NewDestinationAddress, err = soap.UnmarshalString(response.NewDestinationAddress); err != nil { return } // END Unmarshal arguments from response. return } -// GetAutoConfig is the legacy version of GetAutoConfigCtx, but uses +// GetDestinationAddress is the legacy version of GetDestinationAddressCtx, but uses // context.Background() as the context. -func (client *WANDSLLinkConfig1) GetAutoConfig() (NewAutoConfig bool, err error) { - return client.GetAutoConfigCtx(context.Background()) +func (client *WANDSLLinkConfig1) GetDestinationAddress() (NewDestinationAddress string, err error) { + return client.GetDestinationAddressCtx(context.Background()) +} + +func (client *WANDSLLinkConfig1) GetFCSPreservedCtx( + ctx context.Context, +) (NewFCSPreserved bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewFCSPreserved string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetFCSPreserved", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewFCSPreserved, err = soap.UnmarshalBoolean(response.NewFCSPreserved); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetFCSPreserved is the legacy version of GetFCSPreservedCtx, but uses +// context.Background() as the context. +func (client *WANDSLLinkConfig1) GetFCSPreserved() (NewFCSPreserved bool, err error) { + return client.GetFCSPreservedCtx(context.Background()) } func (client *WANDSLLinkConfig1) GetModulationTypeCtx( @@ -2606,77 +2672,6 @@ func (client *WANDSLLinkConfig1) GetModulationType() (NewModulationType string, return client.GetModulationTypeCtx(context.Background()) } -func (client *WANDSLLinkConfig1) SetDestinationAddressCtx( - ctx context.Context, - NewDestinationAddress string, -) (err error) { - // Request structure. - request := &struct { - NewDestinationAddress string - }{} - // BEGIN Marshal arguments into request. - - if request.NewDestinationAddress, err = soap.MarshalString(NewDestinationAddress); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "SetDestinationAddress", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetDestinationAddress is the legacy version of SetDestinationAddressCtx, but uses -// context.Background() as the context. -func (client *WANDSLLinkConfig1) SetDestinationAddress(NewDestinationAddress string) (err error) { - return client.SetDestinationAddressCtx(context.Background(), - NewDestinationAddress, - ) -} - -func (client *WANDSLLinkConfig1) GetDestinationAddressCtx( - ctx context.Context, -) (NewDestinationAddress string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewDestinationAddress string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetDestinationAddress", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewDestinationAddress, err = soap.UnmarshalString(response.NewDestinationAddress); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetDestinationAddress is the legacy version of GetDestinationAddressCtx, but uses -// context.Background() as the context. -func (client *WANDSLLinkConfig1) GetDestinationAddress() (NewDestinationAddress string, err error) { - return client.GetDestinationAddressCtx(context.Background()) -} - func (client *WANDSLLinkConfig1) SetATMEncapsulationCtx( ctx context.Context, NewATMEncapsulation string, @@ -2714,38 +2709,78 @@ func (client *WANDSLLinkConfig1) SetATMEncapsulation(NewATMEncapsulation string) ) } -func (client *WANDSLLinkConfig1) GetATMEncapsulationCtx( +func (client *WANDSLLinkConfig1) SetDSLLinkTypeCtx( ctx context.Context, -) (NewATMEncapsulation string, err error) { + NewLinkType string, +) (err error) { // Request structure. - request := interface{}(nil) + request := &struct { + NewLinkType string + }{} // BEGIN Marshal arguments into request. + if request.NewLinkType, err = soap.MarshalString(NewLinkType); err != nil { + return + } // END Marshal arguments into request. // Response structure. - response := &struct { - NewATMEncapsulation string - }{} + response := interface{}(nil) // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetATMEncapsulation", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "SetDSLLinkType", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewATMEncapsulation, err = soap.UnmarshalString(response.NewATMEncapsulation); err != nil { - return - } // END Unmarshal arguments from response. return } -// GetATMEncapsulation is the legacy version of GetATMEncapsulationCtx, but uses +// SetDSLLinkType is the legacy version of SetDSLLinkTypeCtx, but uses // context.Background() as the context. -func (client *WANDSLLinkConfig1) GetATMEncapsulation() (NewATMEncapsulation string, err error) { - return client.GetATMEncapsulationCtx(context.Background()) +func (client *WANDSLLinkConfig1) SetDSLLinkType(NewLinkType string) (err error) { + return client.SetDSLLinkTypeCtx(context.Background(), + NewLinkType, + ) +} + +func (client *WANDSLLinkConfig1) SetDestinationAddressCtx( + ctx context.Context, + NewDestinationAddress string, +) (err error) { + // Request structure. + request := &struct { + NewDestinationAddress string + }{} + // BEGIN Marshal arguments into request. + + if request.NewDestinationAddress, err = soap.MarshalString(NewDestinationAddress); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "SetDestinationAddress", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetDestinationAddress is the legacy version of SetDestinationAddressCtx, but uses +// context.Background() as the context. +func (client *WANDSLLinkConfig1) SetDestinationAddress(NewDestinationAddress string) (err error) { + return client.SetDestinationAddressCtx(context.Background(), + NewDestinationAddress, + ) } func (client *WANDSLLinkConfig1) SetFCSPreservedCtx( @@ -2785,40 +2820,6 @@ func (client *WANDSLLinkConfig1) SetFCSPreserved(NewFCSPreserved bool) (err erro ) } -func (client *WANDSLLinkConfig1) GetFCSPreservedCtx( - ctx context.Context, -) (NewFCSPreserved bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewFCSPreserved string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANDSLLinkConfig_1, "GetFCSPreserved", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewFCSPreserved, err = soap.UnmarshalBoolean(response.NewFCSPreserved); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetFCSPreserved is the legacy version of GetFCSPreservedCtx, but uses -// context.Background() as the context. -func (client *WANDSLLinkConfig1) GetFCSPreserved() (NewFCSPreserved bool, err error) { - return client.GetFCSPreservedCtx(context.Background()) -} - // WANEthernetLinkConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANEthernetLinkConfig:1". See // goupnp.ServiceClient, which contains RootDevice and Service attributes which // are provided for informational value. @@ -2977,620 +2978,6 @@ func newWANIPConnection1ClientsFromGenericClients(genericClients []goupnp.Servic return clients } -func (client *WANIPConnection1) SetConnectionTypeCtx( - ctx context.Context, - NewConnectionType string, -) (err error) { - // Request structure. - request := &struct { - NewConnectionType string - }{} - // BEGIN Marshal arguments into request. - - if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetConnectionType", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) SetConnectionType(NewConnectionType string) (err error) { - return client.SetConnectionTypeCtx(context.Background(), - NewConnectionType, - ) -} - -// -// Return values: -// -// * NewPossibleConnectionTypes: allowed values: Unconfigured, IP_Routed, IP_Bridged -func (client *WANIPConnection1) GetConnectionTypeInfoCtx( - ctx context.Context, -) (NewConnectionType string, NewPossibleConnectionTypes string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewConnectionType string - NewPossibleConnectionTypes string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetConnectionTypeInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewConnectionType, err = soap.UnmarshalString(response.NewConnectionType); err != nil { - return - } - if NewPossibleConnectionTypes, err = soap.UnmarshalString(response.NewPossibleConnectionTypes); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetConnectionTypeInfo() (NewConnectionType string, NewPossibleConnectionTypes string, err error) { - return client.GetConnectionTypeInfoCtx(context.Background()) -} - -func (client *WANIPConnection1) RequestConnectionCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "RequestConnection", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// RequestConnection is the legacy version of RequestConnectionCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) RequestConnection() (err error) { - return client.RequestConnectionCtx(context.Background()) -} - -func (client *WANIPConnection1) RequestTerminationCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "RequestTermination", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// RequestTermination is the legacy version of RequestTerminationCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) RequestTermination() (err error) { - return client.RequestTerminationCtx(context.Background()) -} - -func (client *WANIPConnection1) ForceTerminationCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "ForceTermination", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// ForceTermination is the legacy version of ForceTerminationCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) ForceTermination() (err error) { - return client.ForceTerminationCtx(context.Background()) -} - -func (client *WANIPConnection1) SetAutoDisconnectTimeCtx( - ctx context.Context, - NewAutoDisconnectTime uint32, -) (err error) { - // Request structure. - request := &struct { - NewAutoDisconnectTime string - }{} - // BEGIN Marshal arguments into request. - - if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetAutoDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) SetAutoDisconnectTime(NewAutoDisconnectTime uint32) (err error) { - return client.SetAutoDisconnectTimeCtx(context.Background(), - NewAutoDisconnectTime, - ) -} - -func (client *WANIPConnection1) SetIdleDisconnectTimeCtx( - ctx context.Context, - NewIdleDisconnectTime uint32, -) (err error) { - // Request structure. - request := &struct { - NewIdleDisconnectTime string - }{} - // BEGIN Marshal arguments into request. - - if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetIdleDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) SetIdleDisconnectTime(NewIdleDisconnectTime uint32) (err error) { - return client.SetIdleDisconnectTimeCtx(context.Background(), - NewIdleDisconnectTime, - ) -} - -func (client *WANIPConnection1) SetWarnDisconnectDelayCtx( - ctx context.Context, - NewWarnDisconnectDelay uint32, -) (err error) { - // Request structure. - request := &struct { - NewWarnDisconnectDelay string - }{} - // BEGIN Marshal arguments into request. - - if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetWarnDisconnectDelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) SetWarnDisconnectDelay(NewWarnDisconnectDelay uint32) (err error) { - return client.SetWarnDisconnectDelayCtx(context.Background(), - NewWarnDisconnectDelay, - ) -} - -// -// Return values: -// -// * NewConnectionStatus: allowed values: Unconfigured, Connected, Disconnected -// -// * NewLastConnectionError: allowed values: ERROR_NONE -func (client *WANIPConnection1) GetStatusInfoCtx( - ctx context.Context, -) (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewConnectionStatus string - NewLastConnectionError string - NewUptime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetStatusInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewConnectionStatus, err = soap.UnmarshalString(response.NewConnectionStatus); err != nil { - return - } - if NewLastConnectionError, err = soap.UnmarshalString(response.NewLastConnectionError); err != nil { - return - } - if NewUptime, err = soap.UnmarshalUi4(response.NewUptime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetStatusInfo() (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { - return client.GetStatusInfoCtx(context.Background()) -} - -func (client *WANIPConnection1) GetAutoDisconnectTimeCtx( - ctx context.Context, -) (NewAutoDisconnectTime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewAutoDisconnectTime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetAutoDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewAutoDisconnectTime, err = soap.UnmarshalUi4(response.NewAutoDisconnectTime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetAutoDisconnectTime() (NewAutoDisconnectTime uint32, err error) { - return client.GetAutoDisconnectTimeCtx(context.Background()) -} - -func (client *WANIPConnection1) GetIdleDisconnectTimeCtx( - ctx context.Context, -) (NewIdleDisconnectTime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewIdleDisconnectTime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetIdleDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewIdleDisconnectTime, err = soap.UnmarshalUi4(response.NewIdleDisconnectTime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetIdleDisconnectTime() (NewIdleDisconnectTime uint32, err error) { - return client.GetIdleDisconnectTimeCtx(context.Background()) -} - -func (client *WANIPConnection1) GetWarnDisconnectDelayCtx( - ctx context.Context, -) (NewWarnDisconnectDelay uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewWarnDisconnectDelay string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetWarnDisconnectDelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewWarnDisconnectDelay, err = soap.UnmarshalUi4(response.NewWarnDisconnectDelay); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetWarnDisconnectDelay() (NewWarnDisconnectDelay uint32, err error) { - return client.GetWarnDisconnectDelayCtx(context.Background()) -} - -func (client *WANIPConnection1) GetNATRSIPStatusCtx( - ctx context.Context, -) (NewRSIPAvailable bool, NewNATEnabled bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewRSIPAvailable string - NewNATEnabled string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetNATRSIPStatus", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewRSIPAvailable, err = soap.UnmarshalBoolean(response.NewRSIPAvailable); err != nil { - return - } - if NewNATEnabled, err = soap.UnmarshalBoolean(response.NewNATEnabled); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetNATRSIPStatus() (NewRSIPAvailable bool, NewNATEnabled bool, err error) { - return client.GetNATRSIPStatusCtx(context.Background()) -} - -// -// Return values: -// -// * NewProtocol: allowed values: TCP, UDP -func (client *WANIPConnection1) GetGenericPortMappingEntryCtx( - ctx context.Context, - NewPortMappingIndex uint16, -) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - // Request structure. - request := &struct { - NewPortMappingIndex string - }{} - // BEGIN Marshal arguments into request. - - if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewRemoteHost string - NewExternalPort string - NewProtocol string - NewInternalPort string - NewInternalClient string - NewEnabled string - NewPortMappingDescription string - NewLeaseDuration string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetGenericPortMappingEntry", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewRemoteHost, err = soap.UnmarshalString(response.NewRemoteHost); err != nil { - return - } - if NewExternalPort, err = soap.UnmarshalUi2(response.NewExternalPort); err != nil { - return - } - if NewProtocol, err = soap.UnmarshalString(response.NewProtocol); err != nil { - return - } - if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { - return - } - if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { - return - } - if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { - return - } - if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { - return - } - if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetGenericPortMappingEntry(NewPortMappingIndex uint16) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - return client.GetGenericPortMappingEntryCtx(context.Background(), - NewPortMappingIndex, - ) -} - -// -// Arguments: -// -// * NewProtocol: allowed values: TCP, UDP - -func (client *WANIPConnection1) GetSpecificPortMappingEntryCtx( - ctx context.Context, - NewRemoteHost string, - NewExternalPort uint16, - NewProtocol string, -) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - // Request structure. - request := &struct { - NewRemoteHost string - NewExternalPort string - NewProtocol string - }{} - // BEGIN Marshal arguments into request. - - if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { - return - } - if request.NewExternalPort, err = soap.MarshalUi2(NewExternalPort); err != nil { - return - } - if request.NewProtocol, err = soap.MarshalString(NewProtocol); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewInternalPort string - NewInternalClient string - NewEnabled string - NewPortMappingDescription string - NewLeaseDuration string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetSpecificPortMappingEntry", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { - return - } - if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { - return - } - if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { - return - } - if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { - return - } - if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - return client.GetSpecificPortMappingEntryCtx(context.Background(), - NewRemoteHost, - NewExternalPort, - NewProtocol, - ) -} - // // Arguments: // @@ -3729,6 +3116,111 @@ func (client *WANIPConnection1) DeletePortMapping(NewRemoteHost string, NewExter ) } +func (client *WANIPConnection1) ForceTerminationCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "ForceTermination", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// ForceTermination is the legacy version of ForceTerminationCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) ForceTermination() (err error) { + return client.ForceTerminationCtx(context.Background()) +} + +func (client *WANIPConnection1) GetAutoDisconnectTimeCtx( + ctx context.Context, +) (NewAutoDisconnectTime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewAutoDisconnectTime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetAutoDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewAutoDisconnectTime, err = soap.UnmarshalUi4(response.NewAutoDisconnectTime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetAutoDisconnectTime() (NewAutoDisconnectTime uint32, err error) { + return client.GetAutoDisconnectTimeCtx(context.Background()) +} + +// +// Return values: +// +// * NewPossibleConnectionTypes: allowed values: Unconfigured, IP_Routed, IP_Bridged +func (client *WANIPConnection1) GetConnectionTypeInfoCtx( + ctx context.Context, +) (NewConnectionType string, NewPossibleConnectionTypes string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewConnectionType string + NewPossibleConnectionTypes string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetConnectionTypeInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewConnectionType, err = soap.UnmarshalString(response.NewConnectionType); err != nil { + return + } + if NewPossibleConnectionTypes, err = soap.UnmarshalString(response.NewPossibleConnectionTypes); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetConnectionTypeInfo() (NewConnectionType string, NewPossibleConnectionTypes string, err error) { + return client.GetConnectionTypeInfoCtx(context.Background()) +} + func (client *WANIPConnection1) GetExternalIPAddressCtx( ctx context.Context, ) (NewExternalIPAddress string, err error) { @@ -3763,6 +3255,515 @@ func (client *WANIPConnection1) GetExternalIPAddress() (NewExternalIPAddress str return client.GetExternalIPAddressCtx(context.Background()) } +// +// Return values: +// +// * NewProtocol: allowed values: TCP, UDP +func (client *WANIPConnection1) GetGenericPortMappingEntryCtx( + ctx context.Context, + NewPortMappingIndex uint16, +) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + // Request structure. + request := &struct { + NewPortMappingIndex string + }{} + // BEGIN Marshal arguments into request. + + if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetGenericPortMappingEntry", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewRemoteHost, err = soap.UnmarshalString(response.NewRemoteHost); err != nil { + return + } + if NewExternalPort, err = soap.UnmarshalUi2(response.NewExternalPort); err != nil { + return + } + if NewProtocol, err = soap.UnmarshalString(response.NewProtocol); err != nil { + return + } + if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { + return + } + if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { + return + } + if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { + return + } + if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { + return + } + if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetGenericPortMappingEntry(NewPortMappingIndex uint16) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + return client.GetGenericPortMappingEntryCtx(context.Background(), + NewPortMappingIndex, + ) +} + +func (client *WANIPConnection1) GetIdleDisconnectTimeCtx( + ctx context.Context, +) (NewIdleDisconnectTime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewIdleDisconnectTime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetIdleDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewIdleDisconnectTime, err = soap.UnmarshalUi4(response.NewIdleDisconnectTime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetIdleDisconnectTime() (NewIdleDisconnectTime uint32, err error) { + return client.GetIdleDisconnectTimeCtx(context.Background()) +} + +func (client *WANIPConnection1) GetNATRSIPStatusCtx( + ctx context.Context, +) (NewRSIPAvailable bool, NewNATEnabled bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewRSIPAvailable string + NewNATEnabled string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetNATRSIPStatus", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewRSIPAvailable, err = soap.UnmarshalBoolean(response.NewRSIPAvailable); err != nil { + return + } + if NewNATEnabled, err = soap.UnmarshalBoolean(response.NewNATEnabled); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetNATRSIPStatus() (NewRSIPAvailable bool, NewNATEnabled bool, err error) { + return client.GetNATRSIPStatusCtx(context.Background()) +} + +// +// Arguments: +// +// * NewProtocol: allowed values: TCP, UDP + +func (client *WANIPConnection1) GetSpecificPortMappingEntryCtx( + ctx context.Context, + NewRemoteHost string, + NewExternalPort uint16, + NewProtocol string, +) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + // Request structure. + request := &struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + }{} + // BEGIN Marshal arguments into request. + + if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { + return + } + if request.NewExternalPort, err = soap.MarshalUi2(NewExternalPort); err != nil { + return + } + if request.NewProtocol, err = soap.MarshalString(NewProtocol); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetSpecificPortMappingEntry", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { + return + } + if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { + return + } + if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { + return + } + if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { + return + } + if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + return client.GetSpecificPortMappingEntryCtx(context.Background(), + NewRemoteHost, + NewExternalPort, + NewProtocol, + ) +} + +// +// Return values: +// +// * NewConnectionStatus: allowed values: Unconfigured, Connected, Disconnected +// +// * NewLastConnectionError: allowed values: ERROR_NONE +func (client *WANIPConnection1) GetStatusInfoCtx( + ctx context.Context, +) (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewConnectionStatus string + NewLastConnectionError string + NewUptime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetStatusInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewConnectionStatus, err = soap.UnmarshalString(response.NewConnectionStatus); err != nil { + return + } + if NewLastConnectionError, err = soap.UnmarshalString(response.NewLastConnectionError); err != nil { + return + } + if NewUptime, err = soap.UnmarshalUi4(response.NewUptime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetStatusInfo() (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { + return client.GetStatusInfoCtx(context.Background()) +} + +func (client *WANIPConnection1) GetWarnDisconnectDelayCtx( + ctx context.Context, +) (NewWarnDisconnectDelay uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewWarnDisconnectDelay string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "GetWarnDisconnectDelay", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewWarnDisconnectDelay, err = soap.UnmarshalUi4(response.NewWarnDisconnectDelay); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) GetWarnDisconnectDelay() (NewWarnDisconnectDelay uint32, err error) { + return client.GetWarnDisconnectDelayCtx(context.Background()) +} + +func (client *WANIPConnection1) RequestConnectionCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "RequestConnection", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// RequestConnection is the legacy version of RequestConnectionCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) RequestConnection() (err error) { + return client.RequestConnectionCtx(context.Background()) +} + +func (client *WANIPConnection1) RequestTerminationCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "RequestTermination", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// RequestTermination is the legacy version of RequestTerminationCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) RequestTermination() (err error) { + return client.RequestTerminationCtx(context.Background()) +} + +func (client *WANIPConnection1) SetAutoDisconnectTimeCtx( + ctx context.Context, + NewAutoDisconnectTime uint32, +) (err error) { + // Request structure. + request := &struct { + NewAutoDisconnectTime string + }{} + // BEGIN Marshal arguments into request. + + if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetAutoDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) SetAutoDisconnectTime(NewAutoDisconnectTime uint32) (err error) { + return client.SetAutoDisconnectTimeCtx(context.Background(), + NewAutoDisconnectTime, + ) +} + +func (client *WANIPConnection1) SetConnectionTypeCtx( + ctx context.Context, + NewConnectionType string, +) (err error) { + // Request structure. + request := &struct { + NewConnectionType string + }{} + // BEGIN Marshal arguments into request. + + if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetConnectionType", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) SetConnectionType(NewConnectionType string) (err error) { + return client.SetConnectionTypeCtx(context.Background(), + NewConnectionType, + ) +} + +func (client *WANIPConnection1) SetIdleDisconnectTimeCtx( + ctx context.Context, + NewIdleDisconnectTime uint32, +) (err error) { + // Request structure. + request := &struct { + NewIdleDisconnectTime string + }{} + // BEGIN Marshal arguments into request. + + if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetIdleDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) SetIdleDisconnectTime(NewIdleDisconnectTime uint32) (err error) { + return client.SetIdleDisconnectTimeCtx(context.Background(), + NewIdleDisconnectTime, + ) +} + +func (client *WANIPConnection1) SetWarnDisconnectDelayCtx( + ctx context.Context, + NewWarnDisconnectDelay uint32, +) (err error) { + // Request structure. + request := &struct { + NewWarnDisconnectDelay string + }{} + // BEGIN Marshal arguments into request. + + if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_1, "SetWarnDisconnectDelay", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection1) SetWarnDisconnectDelay(NewWarnDisconnectDelay uint32) (err error) { + return client.SetWarnDisconnectDelayCtx(context.Background(), + NewWarnDisconnectDelay, + ) +} + // WANIPConnection2 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANIPConnection:2". See // goupnp.ServiceClient, which contains RootDevice and Service attributes which // are provided for informational value. @@ -3823,488 +3824,24 @@ func newWANIPConnection2ClientsFromGenericClients(genericClients []goupnp.Servic return clients } -func (client *WANIPConnection2) SetConnectionTypeCtx( - ctx context.Context, - NewConnectionType string, -) (err error) { - // Request structure. - request := &struct { - NewConnectionType string - }{} - // BEGIN Marshal arguments into request. - - if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "SetConnectionType", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) SetConnectionType(NewConnectionType string) (err error) { - return client.SetConnectionTypeCtx(context.Background(), - NewConnectionType, - ) -} - -func (client *WANIPConnection2) GetConnectionTypeInfoCtx( - ctx context.Context, -) (NewConnectionType string, NewPossibleConnectionTypes string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewConnectionType string - NewPossibleConnectionTypes string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetConnectionTypeInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewConnectionType, err = soap.UnmarshalString(response.NewConnectionType); err != nil { - return - } - if NewPossibleConnectionTypes, err = soap.UnmarshalString(response.NewPossibleConnectionTypes); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) GetConnectionTypeInfo() (NewConnectionType string, NewPossibleConnectionTypes string, err error) { - return client.GetConnectionTypeInfoCtx(context.Background()) -} - -func (client *WANIPConnection2) RequestConnectionCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "RequestConnection", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// RequestConnection is the legacy version of RequestConnectionCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) RequestConnection() (err error) { - return client.RequestConnectionCtx(context.Background()) -} - -func (client *WANIPConnection2) RequestTerminationCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "RequestTermination", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// RequestTermination is the legacy version of RequestTerminationCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) RequestTermination() (err error) { - return client.RequestTerminationCtx(context.Background()) -} - -func (client *WANIPConnection2) ForceTerminationCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "ForceTermination", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// ForceTermination is the legacy version of ForceTerminationCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) ForceTermination() (err error) { - return client.ForceTerminationCtx(context.Background()) -} - -func (client *WANIPConnection2) SetAutoDisconnectTimeCtx( - ctx context.Context, - NewAutoDisconnectTime uint32, -) (err error) { - // Request structure. - request := &struct { - NewAutoDisconnectTime string - }{} - // BEGIN Marshal arguments into request. - - if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "SetAutoDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) SetAutoDisconnectTime(NewAutoDisconnectTime uint32) (err error) { - return client.SetAutoDisconnectTimeCtx(context.Background(), - NewAutoDisconnectTime, - ) -} - -func (client *WANIPConnection2) SetIdleDisconnectTimeCtx( - ctx context.Context, - NewIdleDisconnectTime uint32, -) (err error) { - // Request structure. - request := &struct { - NewIdleDisconnectTime string - }{} - // BEGIN Marshal arguments into request. - - if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "SetIdleDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) SetIdleDisconnectTime(NewIdleDisconnectTime uint32) (err error) { - return client.SetIdleDisconnectTimeCtx(context.Background(), - NewIdleDisconnectTime, - ) -} - -func (client *WANIPConnection2) SetWarnDisconnectDelayCtx( - ctx context.Context, - NewWarnDisconnectDelay uint32, -) (err error) { - // Request structure. - request := &struct { - NewWarnDisconnectDelay string - }{} - // BEGIN Marshal arguments into request. - - if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "SetWarnDisconnectDelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) SetWarnDisconnectDelay(NewWarnDisconnectDelay uint32) (err error) { - return client.SetWarnDisconnectDelayCtx(context.Background(), - NewWarnDisconnectDelay, - ) -} - // -// Return values: -// -// * NewConnectionStatus: allowed values: Unconfigured, Connecting, Connected, PendingDisconnect, Disconnecting, Disconnected -// -// * NewLastConnectionError: allowed values: ERROR_NONE, ERROR_COMMAND_ABORTED, ERROR_NOT_ENABLED_FOR_INTERNET, ERROR_USER_DISCONNECT, ERROR_ISP_DISCONNECT, ERROR_IDLE_DISCONNECT, ERROR_FORCED_DISCONNECT, ERROR_NO_CARRIER, ERROR_IP_CONFIGURATION, ERROR_UNKNOWN -func (client *WANIPConnection2) GetStatusInfoCtx( - ctx context.Context, -) (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewConnectionStatus string - NewLastConnectionError string - NewUptime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetStatusInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewConnectionStatus, err = soap.UnmarshalString(response.NewConnectionStatus); err != nil { - return - } - if NewLastConnectionError, err = soap.UnmarshalString(response.NewLastConnectionError); err != nil { - return - } - if NewUptime, err = soap.UnmarshalUi4(response.NewUptime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) GetStatusInfo() (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { - return client.GetStatusInfoCtx(context.Background()) -} - -func (client *WANIPConnection2) GetAutoDisconnectTimeCtx( - ctx context.Context, -) (NewAutoDisconnectTime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewAutoDisconnectTime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetAutoDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewAutoDisconnectTime, err = soap.UnmarshalUi4(response.NewAutoDisconnectTime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) GetAutoDisconnectTime() (NewAutoDisconnectTime uint32, err error) { - return client.GetAutoDisconnectTimeCtx(context.Background()) -} - -func (client *WANIPConnection2) GetIdleDisconnectTimeCtx( - ctx context.Context, -) (NewIdleDisconnectTime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewIdleDisconnectTime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetIdleDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewIdleDisconnectTime, err = soap.UnmarshalUi4(response.NewIdleDisconnectTime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) GetIdleDisconnectTime() (NewIdleDisconnectTime uint32, err error) { - return client.GetIdleDisconnectTimeCtx(context.Background()) -} - -func (client *WANIPConnection2) GetWarnDisconnectDelayCtx( - ctx context.Context, -) (NewWarnDisconnectDelay uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewWarnDisconnectDelay string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetWarnDisconnectDelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewWarnDisconnectDelay, err = soap.UnmarshalUi4(response.NewWarnDisconnectDelay); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) GetWarnDisconnectDelay() (NewWarnDisconnectDelay uint32, err error) { - return client.GetWarnDisconnectDelayCtx(context.Background()) -} - -func (client *WANIPConnection2) GetNATRSIPStatusCtx( - ctx context.Context, -) (NewRSIPAvailable bool, NewNATEnabled bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewRSIPAvailable string - NewNATEnabled string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetNATRSIPStatus", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewRSIPAvailable, err = soap.UnmarshalBoolean(response.NewRSIPAvailable); err != nil { - return - } - if NewNATEnabled, err = soap.UnmarshalBoolean(response.NewNATEnabled); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) GetNATRSIPStatus() (NewRSIPAvailable bool, NewNATEnabled bool, err error) { - return client.GetNATRSIPStatusCtx(context.Background()) -} - -// -// Return values: +// Arguments: // // * NewProtocol: allowed values: TCP, UDP -func (client *WANIPConnection2) GetGenericPortMappingEntryCtx( + +func (client *WANIPConnection2) AddAnyPortMappingCtx( ctx context.Context, - NewPortMappingIndex uint16, -) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + NewRemoteHost string, + NewExternalPort uint16, + NewProtocol string, + NewInternalPort uint16, + NewInternalClient string, + NewEnabled bool, + NewPortMappingDescription string, + NewLeaseDuration uint32, +) (NewReservedPort uint16, err error) { // Request structure. request := &struct { - NewPortMappingIndex string - }{} - // BEGIN Marshal arguments into request. - - if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := &struct { NewRemoteHost string NewExternalPort string NewProtocol string @@ -4314,67 +3851,6 @@ func (client *WANIPConnection2) GetGenericPortMappingEntryCtx( NewPortMappingDescription string NewLeaseDuration string }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetGenericPortMappingEntry", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewRemoteHost, err = soap.UnmarshalString(response.NewRemoteHost); err != nil { - return - } - if NewExternalPort, err = soap.UnmarshalUi2(response.NewExternalPort); err != nil { - return - } - if NewProtocol, err = soap.UnmarshalString(response.NewProtocol); err != nil { - return - } - if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { - return - } - if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { - return - } - if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { - return - } - if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { - return - } - if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses -// context.Background() as the context. -func (client *WANIPConnection2) GetGenericPortMappingEntry(NewPortMappingIndex uint16) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - return client.GetGenericPortMappingEntryCtx(context.Background(), - NewPortMappingIndex, - ) -} - -// -// Arguments: -// -// * NewProtocol: allowed values: TCP, UDP - -func (client *WANIPConnection2) GetSpecificPortMappingEntryCtx( - ctx context.Context, - NewRemoteHost string, - NewExternalPort uint16, - NewProtocol string, -) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - // Request structure. - request := &struct { - NewRemoteHost string - NewExternalPort string - NewProtocol string - }{} // BEGIN Marshal arguments into request. if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { @@ -4386,50 +3862,54 @@ func (client *WANIPConnection2) GetSpecificPortMappingEntryCtx( if request.NewProtocol, err = soap.MarshalString(NewProtocol); err != nil { return } + if request.NewInternalPort, err = soap.MarshalUi2(NewInternalPort); err != nil { + return + } + if request.NewInternalClient, err = soap.MarshalString(NewInternalClient); err != nil { + return + } + if request.NewEnabled, err = soap.MarshalBoolean(NewEnabled); err != nil { + return + } + if request.NewPortMappingDescription, err = soap.MarshalString(NewPortMappingDescription); err != nil { + return + } + if request.NewLeaseDuration, err = soap.MarshalUi4(NewLeaseDuration); err != nil { + return + } // END Marshal arguments into request. // Response structure. response := &struct { - NewInternalPort string - NewInternalClient string - NewEnabled string - NewPortMappingDescription string - NewLeaseDuration string + NewReservedPort string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetSpecificPortMappingEntry", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "AddAnyPortMapping", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { - return - } - if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { - return - } - if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { - return - } - if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { - return - } - if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { + if NewReservedPort, err = soap.UnmarshalUi2(response.NewReservedPort); err != nil { return } // END Unmarshal arguments from response. return } -// GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses +// AddAnyPortMapping is the legacy version of AddAnyPortMappingCtx, but uses // context.Background() as the context. -func (client *WANIPConnection2) GetSpecificPortMappingEntry(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - return client.GetSpecificPortMappingEntryCtx(context.Background(), +func (client *WANIPConnection2) AddAnyPortMapping(NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32) (NewReservedPort uint16, err error) { + return client.AddAnyPortMappingCtx(context.Background(), NewRemoteHost, NewExternalPort, NewProtocol, + NewInternalPort, + NewInternalClient, + NewEnabled, + NewPortMappingDescription, + NewLeaseDuration, ) } @@ -4631,6 +4111,107 @@ func (client *WANIPConnection2) DeletePortMappingRange(NewStartPort uint16, NewE ) } +func (client *WANIPConnection2) ForceTerminationCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "ForceTermination", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// ForceTermination is the legacy version of ForceTerminationCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) ForceTermination() (err error) { + return client.ForceTerminationCtx(context.Background()) +} + +func (client *WANIPConnection2) GetAutoDisconnectTimeCtx( + ctx context.Context, +) (NewAutoDisconnectTime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewAutoDisconnectTime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetAutoDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewAutoDisconnectTime, err = soap.UnmarshalUi4(response.NewAutoDisconnectTime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) GetAutoDisconnectTime() (NewAutoDisconnectTime uint32, err error) { + return client.GetAutoDisconnectTimeCtx(context.Background()) +} + +func (client *WANIPConnection2) GetConnectionTypeInfoCtx( + ctx context.Context, +) (NewConnectionType string, NewPossibleConnectionTypes string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewConnectionType string + NewPossibleConnectionTypes string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetConnectionTypeInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewConnectionType, err = soap.UnmarshalString(response.NewConnectionType); err != nil { + return + } + if NewPossibleConnectionTypes, err = soap.UnmarshalString(response.NewPossibleConnectionTypes); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) GetConnectionTypeInfo() (NewConnectionType string, NewPossibleConnectionTypes string, err error) { + return client.GetConnectionTypeInfoCtx(context.Background()) +} + func (client *WANIPConnection2) GetExternalIPAddressCtx( ctx context.Context, ) (NewExternalIPAddress string, err error) { @@ -4665,6 +4246,114 @@ func (client *WANIPConnection2) GetExternalIPAddress() (NewExternalIPAddress str return client.GetExternalIPAddressCtx(context.Background()) } +// +// Return values: +// +// * NewProtocol: allowed values: TCP, UDP +func (client *WANIPConnection2) GetGenericPortMappingEntryCtx( + ctx context.Context, + NewPortMappingIndex uint16, +) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + // Request structure. + request := &struct { + NewPortMappingIndex string + }{} + // BEGIN Marshal arguments into request. + + if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetGenericPortMappingEntry", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewRemoteHost, err = soap.UnmarshalString(response.NewRemoteHost); err != nil { + return + } + if NewExternalPort, err = soap.UnmarshalUi2(response.NewExternalPort); err != nil { + return + } + if NewProtocol, err = soap.UnmarshalString(response.NewProtocol); err != nil { + return + } + if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { + return + } + if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { + return + } + if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { + return + } + if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { + return + } + if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) GetGenericPortMappingEntry(NewPortMappingIndex uint16) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + return client.GetGenericPortMappingEntryCtx(context.Background(), + NewPortMappingIndex, + ) +} + +func (client *WANIPConnection2) GetIdleDisconnectTimeCtx( + ctx context.Context, +) (NewIdleDisconnectTime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewIdleDisconnectTime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetIdleDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewIdleDisconnectTime, err = soap.UnmarshalUi4(response.NewIdleDisconnectTime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) GetIdleDisconnectTime() (NewIdleDisconnectTime uint32, err error) { + return client.GetIdleDisconnectTimeCtx(context.Background()) +} + // // Arguments: // @@ -4736,32 +4425,60 @@ func (client *WANIPConnection2) GetListOfPortMappings(NewStartPort uint16, NewEn ) } +func (client *WANIPConnection2) GetNATRSIPStatusCtx( + ctx context.Context, +) (NewRSIPAvailable bool, NewNATEnabled bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewRSIPAvailable string + NewNATEnabled string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetNATRSIPStatus", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewRSIPAvailable, err = soap.UnmarshalBoolean(response.NewRSIPAvailable); err != nil { + return + } + if NewNATEnabled, err = soap.UnmarshalBoolean(response.NewNATEnabled); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) GetNATRSIPStatus() (NewRSIPAvailable bool, NewNATEnabled bool, err error) { + return client.GetNATRSIPStatusCtx(context.Background()) +} + // // Arguments: // // * NewProtocol: allowed values: TCP, UDP -func (client *WANIPConnection2) AddAnyPortMappingCtx( +func (client *WANIPConnection2) GetSpecificPortMappingEntryCtx( ctx context.Context, NewRemoteHost string, NewExternalPort uint16, NewProtocol string, - NewInternalPort uint16, - NewInternalClient string, - NewEnabled bool, - NewPortMappingDescription string, - NewLeaseDuration uint32, -) (NewReservedPort uint16, err error) { +) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { // Request structure. request := &struct { - NewRemoteHost string - NewExternalPort string - NewProtocol string - NewInternalPort string - NewInternalClient string - NewEnabled string - NewPortMappingDescription string - NewLeaseDuration string + NewRemoteHost string + NewExternalPort string + NewProtocol string }{} // BEGIN Marshal arguments into request. @@ -4774,54 +4491,338 @@ func (client *WANIPConnection2) AddAnyPortMappingCtx( if request.NewProtocol, err = soap.MarshalString(NewProtocol); err != nil { return } - if request.NewInternalPort, err = soap.MarshalUi2(NewInternalPort); err != nil { - return - } - if request.NewInternalClient, err = soap.MarshalString(NewInternalClient); err != nil { - return - } - if request.NewEnabled, err = soap.MarshalBoolean(NewEnabled); err != nil { - return - } - if request.NewPortMappingDescription, err = soap.MarshalString(NewPortMappingDescription); err != nil { - return - } - if request.NewLeaseDuration, err = soap.MarshalUi4(NewLeaseDuration); err != nil { - return - } // END Marshal arguments into request. // Response structure. response := &struct { - NewReservedPort string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "AddAnyPortMapping", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetSpecificPortMappingEntry", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewReservedPort, err = soap.UnmarshalUi2(response.NewReservedPort); err != nil { + if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { + return + } + if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { + return + } + if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { + return + } + if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { + return + } + if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { return } // END Unmarshal arguments from response. return } -// AddAnyPortMapping is the legacy version of AddAnyPortMappingCtx, but uses +// GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses // context.Background() as the context. -func (client *WANIPConnection2) AddAnyPortMapping(NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32) (NewReservedPort uint16, err error) { - return client.AddAnyPortMappingCtx(context.Background(), +func (client *WANIPConnection2) GetSpecificPortMappingEntry(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + return client.GetSpecificPortMappingEntryCtx(context.Background(), NewRemoteHost, NewExternalPort, NewProtocol, - NewInternalPort, - NewInternalClient, - NewEnabled, - NewPortMappingDescription, - NewLeaseDuration, + ) +} + +// +// Return values: +// +// * NewConnectionStatus: allowed values: Unconfigured, Connecting, Connected, PendingDisconnect, Disconnecting, Disconnected +// +// * NewLastConnectionError: allowed values: ERROR_NONE, ERROR_COMMAND_ABORTED, ERROR_NOT_ENABLED_FOR_INTERNET, ERROR_USER_DISCONNECT, ERROR_ISP_DISCONNECT, ERROR_IDLE_DISCONNECT, ERROR_FORCED_DISCONNECT, ERROR_NO_CARRIER, ERROR_IP_CONFIGURATION, ERROR_UNKNOWN +func (client *WANIPConnection2) GetStatusInfoCtx( + ctx context.Context, +) (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewConnectionStatus string + NewLastConnectionError string + NewUptime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetStatusInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewConnectionStatus, err = soap.UnmarshalString(response.NewConnectionStatus); err != nil { + return + } + if NewLastConnectionError, err = soap.UnmarshalString(response.NewLastConnectionError); err != nil { + return + } + if NewUptime, err = soap.UnmarshalUi4(response.NewUptime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) GetStatusInfo() (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { + return client.GetStatusInfoCtx(context.Background()) +} + +func (client *WANIPConnection2) GetWarnDisconnectDelayCtx( + ctx context.Context, +) (NewWarnDisconnectDelay uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewWarnDisconnectDelay string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "GetWarnDisconnectDelay", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewWarnDisconnectDelay, err = soap.UnmarshalUi4(response.NewWarnDisconnectDelay); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) GetWarnDisconnectDelay() (NewWarnDisconnectDelay uint32, err error) { + return client.GetWarnDisconnectDelayCtx(context.Background()) +} + +func (client *WANIPConnection2) RequestConnectionCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "RequestConnection", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// RequestConnection is the legacy version of RequestConnectionCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) RequestConnection() (err error) { + return client.RequestConnectionCtx(context.Background()) +} + +func (client *WANIPConnection2) RequestTerminationCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "RequestTermination", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// RequestTermination is the legacy version of RequestTerminationCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) RequestTermination() (err error) { + return client.RequestTerminationCtx(context.Background()) +} + +func (client *WANIPConnection2) SetAutoDisconnectTimeCtx( + ctx context.Context, + NewAutoDisconnectTime uint32, +) (err error) { + // Request structure. + request := &struct { + NewAutoDisconnectTime string + }{} + // BEGIN Marshal arguments into request. + + if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "SetAutoDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) SetAutoDisconnectTime(NewAutoDisconnectTime uint32) (err error) { + return client.SetAutoDisconnectTimeCtx(context.Background(), + NewAutoDisconnectTime, + ) +} + +func (client *WANIPConnection2) SetConnectionTypeCtx( + ctx context.Context, + NewConnectionType string, +) (err error) { + // Request structure. + request := &struct { + NewConnectionType string + }{} + // BEGIN Marshal arguments into request. + + if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "SetConnectionType", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) SetConnectionType(NewConnectionType string) (err error) { + return client.SetConnectionTypeCtx(context.Background(), + NewConnectionType, + ) +} + +func (client *WANIPConnection2) SetIdleDisconnectTimeCtx( + ctx context.Context, + NewIdleDisconnectTime uint32, +) (err error) { + // Request structure. + request := &struct { + NewIdleDisconnectTime string + }{} + // BEGIN Marshal arguments into request. + + if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "SetIdleDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) SetIdleDisconnectTime(NewIdleDisconnectTime uint32) (err error) { + return client.SetIdleDisconnectTimeCtx(context.Background(), + NewIdleDisconnectTime, + ) +} + +func (client *WANIPConnection2) SetWarnDisconnectDelayCtx( + ctx context.Context, + NewWarnDisconnectDelay uint32, +) (err error) { + // Request structure. + request := &struct { + NewWarnDisconnectDelay string + }{} + // BEGIN Marshal arguments into request. + + if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPConnection_2, "SetWarnDisconnectDelay", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses +// context.Background() as the context. +func (client *WANIPConnection2) SetWarnDisconnectDelay(NewWarnDisconnectDelay uint32) (err error) { + return client.SetWarnDisconnectDelayCtx(context.Background(), + NewWarnDisconnectDelay, ) } @@ -4885,6 +4886,162 @@ func newWANIPv6FirewallControl1ClientsFromGenericClients(genericClients []goupnp return clients } +// +// Arguments: +// +// * LeaseTime: allowed value range: minimum=1, maximum=86400 + +func (client *WANIPv6FirewallControl1) AddPinholeCtx( + ctx context.Context, + RemoteHost string, + RemotePort uint16, + InternalClient string, + InternalPort uint16, + Protocol uint16, + LeaseTime uint32, +) (UniqueID uint16, err error) { + // Request structure. + request := &struct { + RemoteHost string + RemotePort string + InternalClient string + InternalPort string + Protocol string + LeaseTime string + }{} + // BEGIN Marshal arguments into request. + + if request.RemoteHost, err = soap.MarshalString(RemoteHost); err != nil { + return + } + if request.RemotePort, err = soap.MarshalUi2(RemotePort); err != nil { + return + } + if request.InternalClient, err = soap.MarshalString(InternalClient); err != nil { + return + } + if request.InternalPort, err = soap.MarshalUi2(InternalPort); err != nil { + return + } + if request.Protocol, err = soap.MarshalUi2(Protocol); err != nil { + return + } + if request.LeaseTime, err = soap.MarshalUi4(LeaseTime); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := &struct { + UniqueID string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPv6FirewallControl_1, "AddPinhole", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if UniqueID, err = soap.UnmarshalUi2(response.UniqueID); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// AddPinhole is the legacy version of AddPinholeCtx, but uses +// context.Background() as the context. +func (client *WANIPv6FirewallControl1) AddPinhole(RemoteHost string, RemotePort uint16, InternalClient string, InternalPort uint16, Protocol uint16, LeaseTime uint32) (UniqueID uint16, err error) { + return client.AddPinholeCtx(context.Background(), + RemoteHost, + RemotePort, + InternalClient, + InternalPort, + Protocol, + LeaseTime, + ) +} + +func (client *WANIPv6FirewallControl1) CheckPinholeWorkingCtx( + ctx context.Context, + UniqueID uint16, +) (IsWorking bool, err error) { + // Request structure. + request := &struct { + UniqueID string + }{} + // BEGIN Marshal arguments into request. + + if request.UniqueID, err = soap.MarshalUi2(UniqueID); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := &struct { + IsWorking string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPv6FirewallControl_1, "CheckPinholeWorking", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if IsWorking, err = soap.UnmarshalBoolean(response.IsWorking); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// CheckPinholeWorking is the legacy version of CheckPinholeWorkingCtx, but uses +// context.Background() as the context. +func (client *WANIPv6FirewallControl1) CheckPinholeWorking(UniqueID uint16) (IsWorking bool, err error) { + return client.CheckPinholeWorkingCtx(context.Background(), + UniqueID, + ) +} + +func (client *WANIPv6FirewallControl1) DeletePinholeCtx( + ctx context.Context, + UniqueID uint16, +) (err error) { + // Request structure. + request := &struct { + UniqueID string + }{} + // BEGIN Marshal arguments into request. + + if request.UniqueID, err = soap.MarshalUi2(UniqueID); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPv6FirewallControl_1, "DeletePinhole", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// DeletePinhole is the legacy version of DeletePinholeCtx, but uses +// context.Background() as the context. +func (client *WANIPv6FirewallControl1) DeletePinhole(UniqueID uint16) (err error) { + return client.DeletePinholeCtx(context.Background(), + UniqueID, + ) +} + func (client *WANIPv6FirewallControl1) GetFirewallStatusCtx( ctx context.Context, ) (FirewallEnabled bool, InboundPinholeAllowed bool, err error) { @@ -4989,80 +5146,45 @@ func (client *WANIPv6FirewallControl1) GetOutboundPinholeTimeout(RemoteHost stri ) } -// -// Arguments: -// -// * LeaseTime: allowed value range: minimum=1, maximum=86400 - -func (client *WANIPv6FirewallControl1) AddPinholeCtx( +func (client *WANIPv6FirewallControl1) GetPinholePacketsCtx( ctx context.Context, - RemoteHost string, - RemotePort uint16, - InternalClient string, - InternalPort uint16, - Protocol uint16, - LeaseTime uint32, -) (UniqueID uint16, err error) { + UniqueID uint16, +) (PinholePackets uint32, err error) { // Request structure. request := &struct { - RemoteHost string - RemotePort string - InternalClient string - InternalPort string - Protocol string - LeaseTime string + UniqueID string }{} // BEGIN Marshal arguments into request. - if request.RemoteHost, err = soap.MarshalString(RemoteHost); err != nil { - return - } - if request.RemotePort, err = soap.MarshalUi2(RemotePort); err != nil { - return - } - if request.InternalClient, err = soap.MarshalString(InternalClient); err != nil { - return - } - if request.InternalPort, err = soap.MarshalUi2(InternalPort); err != nil { - return - } - if request.Protocol, err = soap.MarshalUi2(Protocol); err != nil { - return - } - if request.LeaseTime, err = soap.MarshalUi4(LeaseTime); err != nil { + if request.UniqueID, err = soap.MarshalUi2(UniqueID); err != nil { return } // END Marshal arguments into request. // Response structure. response := &struct { - UniqueID string + PinholePackets string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPv6FirewallControl_1, "AddPinhole", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPv6FirewallControl_1, "GetPinholePackets", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if UniqueID, err = soap.UnmarshalUi2(response.UniqueID); err != nil { + if PinholePackets, err = soap.UnmarshalUi4(response.PinholePackets); err != nil { return } // END Unmarshal arguments from response. return } -// AddPinhole is the legacy version of AddPinholeCtx, but uses +// GetPinholePackets is the legacy version of GetPinholePacketsCtx, but uses // context.Background() as the context. -func (client *WANIPv6FirewallControl1) AddPinhole(RemoteHost string, RemotePort uint16, InternalClient string, InternalPort uint16, Protocol uint16, LeaseTime uint32) (UniqueID uint16, err error) { - return client.AddPinholeCtx(context.Background(), - RemoteHost, - RemotePort, - InternalClient, - InternalPort, - Protocol, - LeaseTime, +func (client *WANIPv6FirewallControl1) GetPinholePackets(UniqueID uint16) (PinholePackets uint32, err error) { + return client.GetPinholePacketsCtx(context.Background(), + UniqueID, ) } @@ -5114,127 +5236,6 @@ func (client *WANIPv6FirewallControl1) UpdatePinhole(UniqueID uint16, NewLeaseTi ) } -func (client *WANIPv6FirewallControl1) DeletePinholeCtx( - ctx context.Context, - UniqueID uint16, -) (err error) { - // Request structure. - request := &struct { - UniqueID string - }{} - // BEGIN Marshal arguments into request. - - if request.UniqueID, err = soap.MarshalUi2(UniqueID); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPv6FirewallControl_1, "DeletePinhole", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// DeletePinhole is the legacy version of DeletePinholeCtx, but uses -// context.Background() as the context. -func (client *WANIPv6FirewallControl1) DeletePinhole(UniqueID uint16) (err error) { - return client.DeletePinholeCtx(context.Background(), - UniqueID, - ) -} - -func (client *WANIPv6FirewallControl1) GetPinholePacketsCtx( - ctx context.Context, - UniqueID uint16, -) (PinholePackets uint32, err error) { - // Request structure. - request := &struct { - UniqueID string - }{} - // BEGIN Marshal arguments into request. - - if request.UniqueID, err = soap.MarshalUi2(UniqueID); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := &struct { - PinholePackets string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPv6FirewallControl_1, "GetPinholePackets", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if PinholePackets, err = soap.UnmarshalUi4(response.PinholePackets); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetPinholePackets is the legacy version of GetPinholePacketsCtx, but uses -// context.Background() as the context. -func (client *WANIPv6FirewallControl1) GetPinholePackets(UniqueID uint16) (PinholePackets uint32, err error) { - return client.GetPinholePacketsCtx(context.Background(), - UniqueID, - ) -} - -func (client *WANIPv6FirewallControl1) CheckPinholeWorkingCtx( - ctx context.Context, - UniqueID uint16, -) (IsWorking bool, err error) { - // Request structure. - request := &struct { - UniqueID string - }{} - // BEGIN Marshal arguments into request. - - if request.UniqueID, err = soap.MarshalUi2(UniqueID); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := &struct { - IsWorking string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANIPv6FirewallControl_1, "CheckPinholeWorking", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if IsWorking, err = soap.UnmarshalBoolean(response.IsWorking); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// CheckPinholeWorking is the legacy version of CheckPinholeWorkingCtx, but uses -// context.Background() as the context. -func (client *WANIPv6FirewallControl1) CheckPinholeWorking(UniqueID uint16) (IsWorking bool, err error) { - return client.CheckPinholeWorkingCtx(context.Background(), - UniqueID, - ) -} - // WANPOTSLinkConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANPOTSLinkConfig:1". See // goupnp.ServiceClient, which contains RootDevice and Service attributes which // are provided for informational value. @@ -5295,149 +5296,6 @@ func newWANPOTSLinkConfig1ClientsFromGenericClients(genericClients []goupnp.Serv return clients } -// -// Arguments: -// -// * NewLinkType: allowed values: PPP_Dialup - -func (client *WANPOTSLinkConfig1) SetISPInfoCtx( - ctx context.Context, - NewISPPhoneNumber string, - NewISPInfo string, - NewLinkType string, -) (err error) { - // Request structure. - request := &struct { - NewISPPhoneNumber string - NewISPInfo string - NewLinkType string - }{} - // BEGIN Marshal arguments into request. - - if request.NewISPPhoneNumber, err = soap.MarshalString(NewISPPhoneNumber); err != nil { - return - } - if request.NewISPInfo, err = soap.MarshalString(NewISPInfo); err != nil { - return - } - if request.NewLinkType, err = soap.MarshalString(NewLinkType); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "SetISPInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetISPInfo is the legacy version of SetISPInfoCtx, but uses -// context.Background() as the context. -func (client *WANPOTSLinkConfig1) SetISPInfo(NewISPPhoneNumber string, NewISPInfo string, NewLinkType string) (err error) { - return client.SetISPInfoCtx(context.Background(), - NewISPPhoneNumber, - NewISPInfo, - NewLinkType, - ) -} - -func (client *WANPOTSLinkConfig1) SetCallRetryInfoCtx( - ctx context.Context, - NewNumberOfRetries uint32, - NewDelayBetweenRetries uint32, -) (err error) { - // Request structure. - request := &struct { - NewNumberOfRetries string - NewDelayBetweenRetries string - }{} - // BEGIN Marshal arguments into request. - - if request.NewNumberOfRetries, err = soap.MarshalUi4(NewNumberOfRetries); err != nil { - return - } - if request.NewDelayBetweenRetries, err = soap.MarshalUi4(NewDelayBetweenRetries); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "SetCallRetryInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetCallRetryInfo is the legacy version of SetCallRetryInfoCtx, but uses -// context.Background() as the context. -func (client *WANPOTSLinkConfig1) SetCallRetryInfo(NewNumberOfRetries uint32, NewDelayBetweenRetries uint32) (err error) { - return client.SetCallRetryInfoCtx(context.Background(), - NewNumberOfRetries, - NewDelayBetweenRetries, - ) -} - -// -// Return values: -// -// * NewLinkType: allowed values: PPP_Dialup -func (client *WANPOTSLinkConfig1) GetISPInfoCtx( - ctx context.Context, -) (NewISPPhoneNumber string, NewISPInfo string, NewLinkType string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewISPPhoneNumber string - NewISPInfo string - NewLinkType string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "GetISPInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewISPPhoneNumber, err = soap.UnmarshalString(response.NewISPPhoneNumber); err != nil { - return - } - if NewISPInfo, err = soap.UnmarshalString(response.NewISPInfo); err != nil { - return - } - if NewLinkType, err = soap.UnmarshalString(response.NewLinkType); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetISPInfo is the legacy version of GetISPInfoCtx, but uses -// context.Background() as the context. -func (client *WANPOTSLinkConfig1) GetISPInfo() (NewISPPhoneNumber string, NewISPInfo string, NewLinkType string, err error) { - return client.GetISPInfoCtx(context.Background()) -} - func (client *WANPOTSLinkConfig1) GetCallRetryInfoCtx( ctx context.Context, ) (NewNumberOfRetries uint32, NewDelayBetweenRetries uint32, err error) { @@ -5476,9 +5334,9 @@ func (client *WANPOTSLinkConfig1) GetCallRetryInfo() (NewNumberOfRetries uint32, return client.GetCallRetryInfoCtx(context.Background()) } -func (client *WANPOTSLinkConfig1) GetFclassCtx( +func (client *WANPOTSLinkConfig1) GetDataCompressionCtx( ctx context.Context, -) (NewFclass string, err error) { +) (NewDataCompression string, err error) { // Request structure. request := interface{}(nil) // BEGIN Marshal arguments into request. @@ -5487,27 +5345,27 @@ func (client *WANPOTSLinkConfig1) GetFclassCtx( // Response structure. response := &struct { - NewFclass string + NewDataCompression string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "GetFclass", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "GetDataCompression", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewFclass, err = soap.UnmarshalString(response.NewFclass); err != nil { + if NewDataCompression, err = soap.UnmarshalString(response.NewDataCompression); err != nil { return } // END Unmarshal arguments from response. return } -// GetFclass is the legacy version of GetFclassCtx, but uses +// GetDataCompression is the legacy version of GetDataCompressionCtx, but uses // context.Background() as the context. -func (client *WANPOTSLinkConfig1) GetFclass() (NewFclass string, err error) { - return client.GetFclassCtx(context.Background()) +func (client *WANPOTSLinkConfig1) GetDataCompression() (NewDataCompression string, err error) { + return client.GetDataCompressionCtx(context.Background()) } func (client *WANPOTSLinkConfig1) GetDataModulationSupportedCtx( @@ -5578,9 +5436,9 @@ func (client *WANPOTSLinkConfig1) GetDataProtocol() (NewDataProtocol string, err return client.GetDataProtocolCtx(context.Background()) } -func (client *WANPOTSLinkConfig1) GetDataCompressionCtx( +func (client *WANPOTSLinkConfig1) GetFclassCtx( ctx context.Context, -) (NewDataCompression string, err error) { +) (NewFclass string, err error) { // Request structure. request := interface{}(nil) // BEGIN Marshal arguments into request. @@ -5589,27 +5447,73 @@ func (client *WANPOTSLinkConfig1) GetDataCompressionCtx( // Response structure. response := &struct { - NewDataCompression string + NewFclass string }{} // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "GetDataCompression", request, response); err != nil { + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "GetFclass", request, response); err != nil { return } // BEGIN Unmarshal arguments from response. - if NewDataCompression, err = soap.UnmarshalString(response.NewDataCompression); err != nil { + if NewFclass, err = soap.UnmarshalString(response.NewFclass); err != nil { return } // END Unmarshal arguments from response. return } -// GetDataCompression is the legacy version of GetDataCompressionCtx, but uses +// GetFclass is the legacy version of GetFclassCtx, but uses // context.Background() as the context. -func (client *WANPOTSLinkConfig1) GetDataCompression() (NewDataCompression string, err error) { - return client.GetDataCompressionCtx(context.Background()) +func (client *WANPOTSLinkConfig1) GetFclass() (NewFclass string, err error) { + return client.GetFclassCtx(context.Background()) +} + +// +// Return values: +// +// * NewLinkType: allowed values: PPP_Dialup +func (client *WANPOTSLinkConfig1) GetISPInfoCtx( + ctx context.Context, +) (NewISPPhoneNumber string, NewISPInfo string, NewLinkType string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewISPPhoneNumber string + NewISPInfo string + NewLinkType string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "GetISPInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewISPPhoneNumber, err = soap.UnmarshalString(response.NewISPPhoneNumber); err != nil { + return + } + if NewISPInfo, err = soap.UnmarshalString(response.NewISPInfo); err != nil { + return + } + if NewLinkType, err = soap.UnmarshalString(response.NewLinkType); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetISPInfo is the legacy version of GetISPInfoCtx, but uses +// context.Background() as the context. +func (client *WANPOTSLinkConfig1) GetISPInfo() (NewISPPhoneNumber string, NewISPInfo string, NewLinkType string, err error) { + return client.GetISPInfoCtx(context.Background()) } func (client *WANPOTSLinkConfig1) GetPlusVTRCommandSupportedCtx( @@ -5646,6 +5550,103 @@ func (client *WANPOTSLinkConfig1) GetPlusVTRCommandSupported() (NewPlusVTRComman return client.GetPlusVTRCommandSupportedCtx(context.Background()) } +func (client *WANPOTSLinkConfig1) SetCallRetryInfoCtx( + ctx context.Context, + NewNumberOfRetries uint32, + NewDelayBetweenRetries uint32, +) (err error) { + // Request structure. + request := &struct { + NewNumberOfRetries string + NewDelayBetweenRetries string + }{} + // BEGIN Marshal arguments into request. + + if request.NewNumberOfRetries, err = soap.MarshalUi4(NewNumberOfRetries); err != nil { + return + } + if request.NewDelayBetweenRetries, err = soap.MarshalUi4(NewDelayBetweenRetries); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "SetCallRetryInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetCallRetryInfo is the legacy version of SetCallRetryInfoCtx, but uses +// context.Background() as the context. +func (client *WANPOTSLinkConfig1) SetCallRetryInfo(NewNumberOfRetries uint32, NewDelayBetweenRetries uint32) (err error) { + return client.SetCallRetryInfoCtx(context.Background(), + NewNumberOfRetries, + NewDelayBetweenRetries, + ) +} + +// +// Arguments: +// +// * NewLinkType: allowed values: PPP_Dialup + +func (client *WANPOTSLinkConfig1) SetISPInfoCtx( + ctx context.Context, + NewISPPhoneNumber string, + NewISPInfo string, + NewLinkType string, +) (err error) { + // Request structure. + request := &struct { + NewISPPhoneNumber string + NewISPInfo string + NewLinkType string + }{} + // BEGIN Marshal arguments into request. + + if request.NewISPPhoneNumber, err = soap.MarshalString(NewISPPhoneNumber); err != nil { + return + } + if request.NewISPInfo, err = soap.MarshalString(NewISPInfo); err != nil { + return + } + if request.NewLinkType, err = soap.MarshalString(NewLinkType); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPOTSLinkConfig_1, "SetISPInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetISPInfo is the legacy version of SetISPInfoCtx, but uses +// context.Background() as the context. +func (client *WANPOTSLinkConfig1) SetISPInfo(NewISPPhoneNumber string, NewISPInfo string, NewLinkType string) (err error) { + return client.SetISPInfoCtx(context.Background(), + NewISPPhoneNumber, + NewISPInfo, + NewLinkType, + ) +} + // WANPPPConnection1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANPPPConnection:1". See // goupnp.ServiceClient, which contains RootDevice and Service attributes which // are provided for informational value. @@ -5706,871 +5707,6 @@ func newWANPPPConnection1ClientsFromGenericClients(genericClients []goupnp.Servi return clients } -func (client *WANPPPConnection1) SetConnectionTypeCtx( - ctx context.Context, - NewConnectionType string, -) (err error) { - // Request structure. - request := &struct { - NewConnectionType string - }{} - // BEGIN Marshal arguments into request. - - if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetConnectionType", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) SetConnectionType(NewConnectionType string) (err error) { - return client.SetConnectionTypeCtx(context.Background(), - NewConnectionType, - ) -} - -// -// Return values: -// -// * NewPossibleConnectionTypes: allowed values: Unconfigured, IP_Routed, DHCP_Spoofed, PPPoE_Bridged, PPTP_Relay, L2TP_Relay, PPPoE_Relay -func (client *WANPPPConnection1) GetConnectionTypeInfoCtx( - ctx context.Context, -) (NewConnectionType string, NewPossibleConnectionTypes string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewConnectionType string - NewPossibleConnectionTypes string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetConnectionTypeInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewConnectionType, err = soap.UnmarshalString(response.NewConnectionType); err != nil { - return - } - if NewPossibleConnectionTypes, err = soap.UnmarshalString(response.NewPossibleConnectionTypes); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetConnectionTypeInfo() (NewConnectionType string, NewPossibleConnectionTypes string, err error) { - return client.GetConnectionTypeInfoCtx(context.Background()) -} - -func (client *WANPPPConnection1) ConfigureConnectionCtx( - ctx context.Context, - NewUserName string, - NewPassword string, -) (err error) { - // Request structure. - request := &struct { - NewUserName string - NewPassword string - }{} - // BEGIN Marshal arguments into request. - - if request.NewUserName, err = soap.MarshalString(NewUserName); err != nil { - return - } - if request.NewPassword, err = soap.MarshalString(NewPassword); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "ConfigureConnection", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// ConfigureConnection is the legacy version of ConfigureConnectionCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) ConfigureConnection(NewUserName string, NewPassword string) (err error) { - return client.ConfigureConnectionCtx(context.Background(), - NewUserName, - NewPassword, - ) -} - -func (client *WANPPPConnection1) RequestConnectionCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "RequestConnection", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// RequestConnection is the legacy version of RequestConnectionCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) RequestConnection() (err error) { - return client.RequestConnectionCtx(context.Background()) -} - -func (client *WANPPPConnection1) RequestTerminationCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "RequestTermination", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// RequestTermination is the legacy version of RequestTerminationCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) RequestTermination() (err error) { - return client.RequestTerminationCtx(context.Background()) -} - -func (client *WANPPPConnection1) ForceTerminationCtx( - ctx context.Context, -) (err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "ForceTermination", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// ForceTermination is the legacy version of ForceTerminationCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) ForceTermination() (err error) { - return client.ForceTerminationCtx(context.Background()) -} - -func (client *WANPPPConnection1) SetAutoDisconnectTimeCtx( - ctx context.Context, - NewAutoDisconnectTime uint32, -) (err error) { - // Request structure. - request := &struct { - NewAutoDisconnectTime string - }{} - // BEGIN Marshal arguments into request. - - if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetAutoDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) SetAutoDisconnectTime(NewAutoDisconnectTime uint32) (err error) { - return client.SetAutoDisconnectTimeCtx(context.Background(), - NewAutoDisconnectTime, - ) -} - -func (client *WANPPPConnection1) SetIdleDisconnectTimeCtx( - ctx context.Context, - NewIdleDisconnectTime uint32, -) (err error) { - // Request structure. - request := &struct { - NewIdleDisconnectTime string - }{} - // BEGIN Marshal arguments into request. - - if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetIdleDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) SetIdleDisconnectTime(NewIdleDisconnectTime uint32) (err error) { - return client.SetIdleDisconnectTimeCtx(context.Background(), - NewIdleDisconnectTime, - ) -} - -func (client *WANPPPConnection1) SetWarnDisconnectDelayCtx( - ctx context.Context, - NewWarnDisconnectDelay uint32, -) (err error) { - // Request structure. - request := &struct { - NewWarnDisconnectDelay string - }{} - // BEGIN Marshal arguments into request. - - if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := interface{}(nil) - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetWarnDisconnectDelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - // END Unmarshal arguments from response. - return -} - -// SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) SetWarnDisconnectDelay(NewWarnDisconnectDelay uint32) (err error) { - return client.SetWarnDisconnectDelayCtx(context.Background(), - NewWarnDisconnectDelay, - ) -} - -// -// Return values: -// -// * NewConnectionStatus: allowed values: Unconfigured, Connected, Disconnected -// -// * NewLastConnectionError: allowed values: ERROR_NONE -func (client *WANPPPConnection1) GetStatusInfoCtx( - ctx context.Context, -) (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewConnectionStatus string - NewLastConnectionError string - NewUptime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetStatusInfo", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewConnectionStatus, err = soap.UnmarshalString(response.NewConnectionStatus); err != nil { - return - } - if NewLastConnectionError, err = soap.UnmarshalString(response.NewLastConnectionError); err != nil { - return - } - if NewUptime, err = soap.UnmarshalUi4(response.NewUptime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetStatusInfo() (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { - return client.GetStatusInfoCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetLinkLayerMaxBitRatesCtx( - ctx context.Context, -) (NewUpstreamMaxBitRate uint32, NewDownstreamMaxBitRate uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewUpstreamMaxBitRate string - NewDownstreamMaxBitRate string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetLinkLayerMaxBitRates", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewUpstreamMaxBitRate, err = soap.UnmarshalUi4(response.NewUpstreamMaxBitRate); err != nil { - return - } - if NewDownstreamMaxBitRate, err = soap.UnmarshalUi4(response.NewDownstreamMaxBitRate); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetLinkLayerMaxBitRates is the legacy version of GetLinkLayerMaxBitRatesCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetLinkLayerMaxBitRates() (NewUpstreamMaxBitRate uint32, NewDownstreamMaxBitRate uint32, err error) { - return client.GetLinkLayerMaxBitRatesCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetPPPEncryptionProtocolCtx( - ctx context.Context, -) (NewPPPEncryptionProtocol string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewPPPEncryptionProtocol string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPPPEncryptionProtocol", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewPPPEncryptionProtocol, err = soap.UnmarshalString(response.NewPPPEncryptionProtocol); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetPPPEncryptionProtocol is the legacy version of GetPPPEncryptionProtocolCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetPPPEncryptionProtocol() (NewPPPEncryptionProtocol string, err error) { - return client.GetPPPEncryptionProtocolCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetPPPCompressionProtocolCtx( - ctx context.Context, -) (NewPPPCompressionProtocol string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewPPPCompressionProtocol string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPPPCompressionProtocol", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewPPPCompressionProtocol, err = soap.UnmarshalString(response.NewPPPCompressionProtocol); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetPPPCompressionProtocol is the legacy version of GetPPPCompressionProtocolCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetPPPCompressionProtocol() (NewPPPCompressionProtocol string, err error) { - return client.GetPPPCompressionProtocolCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetPPPAuthenticationProtocolCtx( - ctx context.Context, -) (NewPPPAuthenticationProtocol string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewPPPAuthenticationProtocol string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPPPAuthenticationProtocol", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewPPPAuthenticationProtocol, err = soap.UnmarshalString(response.NewPPPAuthenticationProtocol); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetPPPAuthenticationProtocol is the legacy version of GetPPPAuthenticationProtocolCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetPPPAuthenticationProtocol() (NewPPPAuthenticationProtocol string, err error) { - return client.GetPPPAuthenticationProtocolCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetUserNameCtx( - ctx context.Context, -) (NewUserName string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewUserName string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetUserName", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewUserName, err = soap.UnmarshalString(response.NewUserName); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetUserName is the legacy version of GetUserNameCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetUserName() (NewUserName string, err error) { - return client.GetUserNameCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetPasswordCtx( - ctx context.Context, -) (NewPassword string, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewPassword string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPassword", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewPassword, err = soap.UnmarshalString(response.NewPassword); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetPassword is the legacy version of GetPasswordCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetPassword() (NewPassword string, err error) { - return client.GetPasswordCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetAutoDisconnectTimeCtx( - ctx context.Context, -) (NewAutoDisconnectTime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewAutoDisconnectTime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetAutoDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewAutoDisconnectTime, err = soap.UnmarshalUi4(response.NewAutoDisconnectTime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetAutoDisconnectTime() (NewAutoDisconnectTime uint32, err error) { - return client.GetAutoDisconnectTimeCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetIdleDisconnectTimeCtx( - ctx context.Context, -) (NewIdleDisconnectTime uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewIdleDisconnectTime string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetIdleDisconnectTime", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewIdleDisconnectTime, err = soap.UnmarshalUi4(response.NewIdleDisconnectTime); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetIdleDisconnectTime() (NewIdleDisconnectTime uint32, err error) { - return client.GetIdleDisconnectTimeCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetWarnDisconnectDelayCtx( - ctx context.Context, -) (NewWarnDisconnectDelay uint32, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewWarnDisconnectDelay string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetWarnDisconnectDelay", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewWarnDisconnectDelay, err = soap.UnmarshalUi4(response.NewWarnDisconnectDelay); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetWarnDisconnectDelay() (NewWarnDisconnectDelay uint32, err error) { - return client.GetWarnDisconnectDelayCtx(context.Background()) -} - -func (client *WANPPPConnection1) GetNATRSIPStatusCtx( - ctx context.Context, -) (NewRSIPAvailable bool, NewNATEnabled bool, err error) { - // Request structure. - request := interface{}(nil) - // BEGIN Marshal arguments into request. - - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewRSIPAvailable string - NewNATEnabled string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetNATRSIPStatus", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewRSIPAvailable, err = soap.UnmarshalBoolean(response.NewRSIPAvailable); err != nil { - return - } - if NewNATEnabled, err = soap.UnmarshalBoolean(response.NewNATEnabled); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetNATRSIPStatus() (NewRSIPAvailable bool, NewNATEnabled bool, err error) { - return client.GetNATRSIPStatusCtx(context.Background()) -} - -// -// Return values: -// -// * NewProtocol: allowed values: TCP, UDP -func (client *WANPPPConnection1) GetGenericPortMappingEntryCtx( - ctx context.Context, - NewPortMappingIndex uint16, -) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - // Request structure. - request := &struct { - NewPortMappingIndex string - }{} - // BEGIN Marshal arguments into request. - - if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewRemoteHost string - NewExternalPort string - NewProtocol string - NewInternalPort string - NewInternalClient string - NewEnabled string - NewPortMappingDescription string - NewLeaseDuration string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetGenericPortMappingEntry", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewRemoteHost, err = soap.UnmarshalString(response.NewRemoteHost); err != nil { - return - } - if NewExternalPort, err = soap.UnmarshalUi2(response.NewExternalPort); err != nil { - return - } - if NewProtocol, err = soap.UnmarshalString(response.NewProtocol); err != nil { - return - } - if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { - return - } - if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { - return - } - if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { - return - } - if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { - return - } - if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetGenericPortMappingEntry(NewPortMappingIndex uint16) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - return client.GetGenericPortMappingEntryCtx(context.Background(), - NewPortMappingIndex, - ) -} - -// -// Arguments: -// -// * NewProtocol: allowed values: TCP, UDP - -func (client *WANPPPConnection1) GetSpecificPortMappingEntryCtx( - ctx context.Context, - NewRemoteHost string, - NewExternalPort uint16, - NewProtocol string, -) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - // Request structure. - request := &struct { - NewRemoteHost string - NewExternalPort string - NewProtocol string - }{} - // BEGIN Marshal arguments into request. - - if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { - return - } - if request.NewExternalPort, err = soap.MarshalUi2(NewExternalPort); err != nil { - return - } - if request.NewProtocol, err = soap.MarshalString(NewProtocol); err != nil { - return - } - // END Marshal arguments into request. - - // Response structure. - response := &struct { - NewInternalPort string - NewInternalClient string - NewEnabled string - NewPortMappingDescription string - NewLeaseDuration string - }{} - - // Perform the SOAP call. - if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetSpecificPortMappingEntry", request, response); err != nil { - return - } - - // BEGIN Unmarshal arguments from response. - - if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { - return - } - if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { - return - } - if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { - return - } - if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { - return - } - if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { - return - } - // END Unmarshal arguments from response. - return -} - -// GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses -// context.Background() as the context. -func (client *WANPPPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { - return client.GetSpecificPortMappingEntryCtx(context.Background(), - NewRemoteHost, - NewExternalPort, - NewProtocol, - ) -} - // // Arguments: // @@ -6655,6 +5791,49 @@ func (client *WANPPPConnection1) AddPortMapping(NewRemoteHost string, NewExterna ) } +func (client *WANPPPConnection1) ConfigureConnectionCtx( + ctx context.Context, + NewUserName string, + NewPassword string, +) (err error) { + // Request structure. + request := &struct { + NewUserName string + NewPassword string + }{} + // BEGIN Marshal arguments into request. + + if request.NewUserName, err = soap.MarshalString(NewUserName); err != nil { + return + } + if request.NewPassword, err = soap.MarshalString(NewPassword); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "ConfigureConnection", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// ConfigureConnection is the legacy version of ConfigureConnectionCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) ConfigureConnection(NewUserName string, NewPassword string) (err error) { + return client.ConfigureConnectionCtx(context.Background(), + NewUserName, + NewPassword, + ) +} + // // Arguments: // @@ -6709,6 +5888,111 @@ func (client *WANPPPConnection1) DeletePortMapping(NewRemoteHost string, NewExte ) } +func (client *WANPPPConnection1) ForceTerminationCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "ForceTermination", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// ForceTermination is the legacy version of ForceTerminationCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) ForceTermination() (err error) { + return client.ForceTerminationCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetAutoDisconnectTimeCtx( + ctx context.Context, +) (NewAutoDisconnectTime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewAutoDisconnectTime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetAutoDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewAutoDisconnectTime, err = soap.UnmarshalUi4(response.NewAutoDisconnectTime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetAutoDisconnectTime() (NewAutoDisconnectTime uint32, err error) { + return client.GetAutoDisconnectTimeCtx(context.Background()) +} + +// +// Return values: +// +// * NewPossibleConnectionTypes: allowed values: Unconfigured, IP_Routed, DHCP_Spoofed, PPPoE_Bridged, PPTP_Relay, L2TP_Relay, PPPoE_Relay +func (client *WANPPPConnection1) GetConnectionTypeInfoCtx( + ctx context.Context, +) (NewConnectionType string, NewPossibleConnectionTypes string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewConnectionType string + NewPossibleConnectionTypes string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetConnectionTypeInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewConnectionType, err = soap.UnmarshalString(response.NewConnectionType); err != nil { + return + } + if NewPossibleConnectionTypes, err = soap.UnmarshalString(response.NewPossibleConnectionTypes); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetConnectionTypeInfo() (NewConnectionType string, NewPossibleConnectionTypes string, err error) { + return client.GetConnectionTypeInfoCtx(context.Background()) +} + func (client *WANPPPConnection1) GetExternalIPAddressCtx( ctx context.Context, ) (NewExternalIPAddress string, err error) { @@ -6742,3 +6026,720 @@ func (client *WANPPPConnection1) GetExternalIPAddressCtx( func (client *WANPPPConnection1) GetExternalIPAddress() (NewExternalIPAddress string, err error) { return client.GetExternalIPAddressCtx(context.Background()) } + +// +// Return values: +// +// * NewProtocol: allowed values: TCP, UDP +func (client *WANPPPConnection1) GetGenericPortMappingEntryCtx( + ctx context.Context, + NewPortMappingIndex uint16, +) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + // Request structure. + request := &struct { + NewPortMappingIndex string + }{} + // BEGIN Marshal arguments into request. + + if request.NewPortMappingIndex, err = soap.MarshalUi2(NewPortMappingIndex); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetGenericPortMappingEntry", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewRemoteHost, err = soap.UnmarshalString(response.NewRemoteHost); err != nil { + return + } + if NewExternalPort, err = soap.UnmarshalUi2(response.NewExternalPort); err != nil { + return + } + if NewProtocol, err = soap.UnmarshalString(response.NewProtocol); err != nil { + return + } + if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { + return + } + if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { + return + } + if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { + return + } + if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { + return + } + if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetGenericPortMappingEntry(NewPortMappingIndex uint16) (NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + return client.GetGenericPortMappingEntryCtx(context.Background(), + NewPortMappingIndex, + ) +} + +func (client *WANPPPConnection1) GetIdleDisconnectTimeCtx( + ctx context.Context, +) (NewIdleDisconnectTime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewIdleDisconnectTime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetIdleDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewIdleDisconnectTime, err = soap.UnmarshalUi4(response.NewIdleDisconnectTime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetIdleDisconnectTime() (NewIdleDisconnectTime uint32, err error) { + return client.GetIdleDisconnectTimeCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetLinkLayerMaxBitRatesCtx( + ctx context.Context, +) (NewUpstreamMaxBitRate uint32, NewDownstreamMaxBitRate uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewUpstreamMaxBitRate string + NewDownstreamMaxBitRate string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetLinkLayerMaxBitRates", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewUpstreamMaxBitRate, err = soap.UnmarshalUi4(response.NewUpstreamMaxBitRate); err != nil { + return + } + if NewDownstreamMaxBitRate, err = soap.UnmarshalUi4(response.NewDownstreamMaxBitRate); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetLinkLayerMaxBitRates is the legacy version of GetLinkLayerMaxBitRatesCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetLinkLayerMaxBitRates() (NewUpstreamMaxBitRate uint32, NewDownstreamMaxBitRate uint32, err error) { + return client.GetLinkLayerMaxBitRatesCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetNATRSIPStatusCtx( + ctx context.Context, +) (NewRSIPAvailable bool, NewNATEnabled bool, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewRSIPAvailable string + NewNATEnabled string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetNATRSIPStatus", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewRSIPAvailable, err = soap.UnmarshalBoolean(response.NewRSIPAvailable); err != nil { + return + } + if NewNATEnabled, err = soap.UnmarshalBoolean(response.NewNATEnabled); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetNATRSIPStatus() (NewRSIPAvailable bool, NewNATEnabled bool, err error) { + return client.GetNATRSIPStatusCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetPPPAuthenticationProtocolCtx( + ctx context.Context, +) (NewPPPAuthenticationProtocol string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewPPPAuthenticationProtocol string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPPPAuthenticationProtocol", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewPPPAuthenticationProtocol, err = soap.UnmarshalString(response.NewPPPAuthenticationProtocol); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetPPPAuthenticationProtocol is the legacy version of GetPPPAuthenticationProtocolCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetPPPAuthenticationProtocol() (NewPPPAuthenticationProtocol string, err error) { + return client.GetPPPAuthenticationProtocolCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetPPPCompressionProtocolCtx( + ctx context.Context, +) (NewPPPCompressionProtocol string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewPPPCompressionProtocol string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPPPCompressionProtocol", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewPPPCompressionProtocol, err = soap.UnmarshalString(response.NewPPPCompressionProtocol); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetPPPCompressionProtocol is the legacy version of GetPPPCompressionProtocolCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetPPPCompressionProtocol() (NewPPPCompressionProtocol string, err error) { + return client.GetPPPCompressionProtocolCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetPPPEncryptionProtocolCtx( + ctx context.Context, +) (NewPPPEncryptionProtocol string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewPPPEncryptionProtocol string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPPPEncryptionProtocol", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewPPPEncryptionProtocol, err = soap.UnmarshalString(response.NewPPPEncryptionProtocol); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetPPPEncryptionProtocol is the legacy version of GetPPPEncryptionProtocolCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetPPPEncryptionProtocol() (NewPPPEncryptionProtocol string, err error) { + return client.GetPPPEncryptionProtocolCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetPasswordCtx( + ctx context.Context, +) (NewPassword string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewPassword string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetPassword", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewPassword, err = soap.UnmarshalString(response.NewPassword); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetPassword is the legacy version of GetPasswordCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetPassword() (NewPassword string, err error) { + return client.GetPasswordCtx(context.Background()) +} + +// +// Arguments: +// +// * NewProtocol: allowed values: TCP, UDP + +func (client *WANPPPConnection1) GetSpecificPortMappingEntryCtx( + ctx context.Context, + NewRemoteHost string, + NewExternalPort uint16, + NewProtocol string, +) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + // Request structure. + request := &struct { + NewRemoteHost string + NewExternalPort string + NewProtocol string + }{} + // BEGIN Marshal arguments into request. + + if request.NewRemoteHost, err = soap.MarshalString(NewRemoteHost); err != nil { + return + } + if request.NewExternalPort, err = soap.MarshalUi2(NewExternalPort); err != nil { + return + } + if request.NewProtocol, err = soap.MarshalString(NewProtocol); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewInternalPort string + NewInternalClient string + NewEnabled string + NewPortMappingDescription string + NewLeaseDuration string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetSpecificPortMappingEntry", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewInternalPort, err = soap.UnmarshalUi2(response.NewInternalPort); err != nil { + return + } + if NewInternalClient, err = soap.UnmarshalString(response.NewInternalClient); err != nil { + return + } + if NewEnabled, err = soap.UnmarshalBoolean(response.NewEnabled); err != nil { + return + } + if NewPortMappingDescription, err = soap.UnmarshalString(response.NewPortMappingDescription); err != nil { + return + } + if NewLeaseDuration, err = soap.UnmarshalUi4(response.NewLeaseDuration); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetSpecificPortMappingEntry(NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) { + return client.GetSpecificPortMappingEntryCtx(context.Background(), + NewRemoteHost, + NewExternalPort, + NewProtocol, + ) +} + +// +// Return values: +// +// * NewConnectionStatus: allowed values: Unconfigured, Connected, Disconnected +// +// * NewLastConnectionError: allowed values: ERROR_NONE +func (client *WANPPPConnection1) GetStatusInfoCtx( + ctx context.Context, +) (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewConnectionStatus string + NewLastConnectionError string + NewUptime string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetStatusInfo", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewConnectionStatus, err = soap.UnmarshalString(response.NewConnectionStatus); err != nil { + return + } + if NewLastConnectionError, err = soap.UnmarshalString(response.NewLastConnectionError); err != nil { + return + } + if NewUptime, err = soap.UnmarshalUi4(response.NewUptime); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetStatusInfo() (NewConnectionStatus string, NewLastConnectionError string, NewUptime uint32, err error) { + return client.GetStatusInfoCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetUserNameCtx( + ctx context.Context, +) (NewUserName string, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewUserName string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetUserName", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewUserName, err = soap.UnmarshalString(response.NewUserName); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetUserName is the legacy version of GetUserNameCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetUserName() (NewUserName string, err error) { + return client.GetUserNameCtx(context.Background()) +} + +func (client *WANPPPConnection1) GetWarnDisconnectDelayCtx( + ctx context.Context, +) (NewWarnDisconnectDelay uint32, err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := &struct { + NewWarnDisconnectDelay string + }{} + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "GetWarnDisconnectDelay", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + if NewWarnDisconnectDelay, err = soap.UnmarshalUi4(response.NewWarnDisconnectDelay); err != nil { + return + } + // END Unmarshal arguments from response. + return +} + +// GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) GetWarnDisconnectDelay() (NewWarnDisconnectDelay uint32, err error) { + return client.GetWarnDisconnectDelayCtx(context.Background()) +} + +func (client *WANPPPConnection1) RequestConnectionCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "RequestConnection", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// RequestConnection is the legacy version of RequestConnectionCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) RequestConnection() (err error) { + return client.RequestConnectionCtx(context.Background()) +} + +func (client *WANPPPConnection1) RequestTerminationCtx( + ctx context.Context, +) (err error) { + // Request structure. + request := interface{}(nil) + // BEGIN Marshal arguments into request. + + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "RequestTermination", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// RequestTermination is the legacy version of RequestTerminationCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) RequestTermination() (err error) { + return client.RequestTerminationCtx(context.Background()) +} + +func (client *WANPPPConnection1) SetAutoDisconnectTimeCtx( + ctx context.Context, + NewAutoDisconnectTime uint32, +) (err error) { + // Request structure. + request := &struct { + NewAutoDisconnectTime string + }{} + // BEGIN Marshal arguments into request. + + if request.NewAutoDisconnectTime, err = soap.MarshalUi4(NewAutoDisconnectTime); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetAutoDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) SetAutoDisconnectTime(NewAutoDisconnectTime uint32) (err error) { + return client.SetAutoDisconnectTimeCtx(context.Background(), + NewAutoDisconnectTime, + ) +} + +func (client *WANPPPConnection1) SetConnectionTypeCtx( + ctx context.Context, + NewConnectionType string, +) (err error) { + // Request structure. + request := &struct { + NewConnectionType string + }{} + // BEGIN Marshal arguments into request. + + if request.NewConnectionType, err = soap.MarshalString(NewConnectionType); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetConnectionType", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) SetConnectionType(NewConnectionType string) (err error) { + return client.SetConnectionTypeCtx(context.Background(), + NewConnectionType, + ) +} + +func (client *WANPPPConnection1) SetIdleDisconnectTimeCtx( + ctx context.Context, + NewIdleDisconnectTime uint32, +) (err error) { + // Request structure. + request := &struct { + NewIdleDisconnectTime string + }{} + // BEGIN Marshal arguments into request. + + if request.NewIdleDisconnectTime, err = soap.MarshalUi4(NewIdleDisconnectTime); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetIdleDisconnectTime", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) SetIdleDisconnectTime(NewIdleDisconnectTime uint32) (err error) { + return client.SetIdleDisconnectTimeCtx(context.Background(), + NewIdleDisconnectTime, + ) +} + +func (client *WANPPPConnection1) SetWarnDisconnectDelayCtx( + ctx context.Context, + NewWarnDisconnectDelay uint32, +) (err error) { + // Request structure. + request := &struct { + NewWarnDisconnectDelay string + }{} + // BEGIN Marshal arguments into request. + + if request.NewWarnDisconnectDelay, err = soap.MarshalUi4(NewWarnDisconnectDelay); err != nil { + return + } + // END Marshal arguments into request. + + // Response structure. + response := interface{}(nil) + + // Perform the SOAP call. + if err = client.SOAPClient.PerformActionCtx(ctx, URN_WANPPPConnection_1, "SetWarnDisconnectDelay", request, response); err != nil { + return + } + + // BEGIN Unmarshal arguments from response. + + // END Unmarshal arguments from response. + return +} + +// SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses +// context.Background() as the context. +func (client *WANPPPConnection1) SetWarnDisconnectDelay(NewWarnDisconnectDelay uint32) (err error) { + return client.SetWarnDisconnectDelayCtx(context.Background(), + NewWarnDisconnectDelay, + ) +} diff --git a/vendor/github.com/huin/goupnp/device.go b/vendor/github.com/huin/goupnp/device.go index 567ab4cfe..334e787ca 100644 --- a/vendor/github.com/huin/goupnp/device.go +++ b/vendor/github.com/huin/goupnp/device.go @@ -7,6 +7,7 @@ import ( "errors" "fmt" "net/url" + "strings" "github.com/huin/goupnp/scpd" "github.com/huin/goupnp/soap" @@ -178,7 +179,12 @@ type URLField struct { } func (uf *URLField) SetURLBase(urlBase *url.URL) { - refUrl, err := url.Parse(uf.Str) + str := uf.Str + if !strings.Contains(str, "://") && !strings.HasPrefix(str, "/") { + str = "/" + str + } + + refUrl, err := url.Parse(str) if err != nil { uf.URL = url.URL{} uf.Ok = false diff --git a/vendor/github.com/huin/goupnp/goupnp.go b/vendor/github.com/huin/goupnp/goupnp.go index 36081aa20..51963de3b 100644 --- a/vendor/github.com/huin/goupnp/goupnp.go +++ b/vendor/github.com/huin/goupnp/goupnp.go @@ -18,10 +18,12 @@ import ( "encoding/xml" "fmt" "io" + "net" "net/http" "net/url" "time" + "github.com/huin/goupnp/httpu" "github.com/huin/goupnp/ssdp" ) @@ -63,6 +65,9 @@ type MaybeRootDevice struct { // the discovery of a device, regardless of if there was an error probing it. Location *url.URL + // The address from which the device was discovered (if known - otherwise nil). + LocalAddr net.IP + // Any error encountered probing a discovered device. Err error } @@ -99,6 +104,9 @@ func DiscoverDevices(searchTarget string) ([]MaybeRootDevice, error) { } else { maybe.Root = root } + if i := response.Header.Get(httpu.LocalAddressHeader); len(i) > 0 { + maybe.LocalAddr = net.ParseIP(i) + } } return results, nil diff --git a/vendor/github.com/huin/goupnp/httpu/httpu.go b/vendor/github.com/huin/goupnp/httpu/httpu.go index 3367c863e..808d600ab 100644 --- a/vendor/github.com/huin/goupnp/httpu/httpu.go +++ b/vendor/github.com/huin/goupnp/httpu/httpu.go @@ -143,9 +143,16 @@ func (httpu *HTTPUClient) Do( continue } + // Set the related local address used to discover the device. + if a, ok := httpu.conn.LocalAddr().(*net.UDPAddr); ok { + response.Header.Add(LocalAddressHeader, a.IP.String()) + } + responses = append(responses, response) } // Timeout reached - return discovered responses. return responses, nil } + +const LocalAddressHeader = "goupnp-local-address" diff --git a/vendor/github.com/huin/goupnp/scpd/scpd.go b/vendor/github.com/huin/goupnp/scpd/scpd.go index c9d2e69e8..59573cc19 100644 --- a/vendor/github.com/huin/goupnp/scpd/scpd.go +++ b/vendor/github.com/huin/goupnp/scpd/scpd.go @@ -2,6 +2,7 @@ package scpd import ( "encoding/xml" + "sort" "strings" ) @@ -37,6 +38,14 @@ func (scpd *SCPD) Clean() { } } +func (scpd *SCPD) OrderedActions() []Action { + actions := append([]Action{}, scpd.Actions...) + sort.SliceStable(actions, func(i, j int) bool { + return actions[i].Name < actions[j].Name + }) + return actions +} + func (scpd *SCPD) GetStateVariable(variable string) *StateVariable { for i := range scpd.StateVariables { v := &scpd.StateVariables[i] diff --git a/vendor/github.com/huin/goupnp/service_client.go b/vendor/github.com/huin/goupnp/service_client.go index 9111c93cb..79a375d5c 100644 --- a/vendor/github.com/huin/goupnp/service_client.go +++ b/vendor/github.com/huin/goupnp/service_client.go @@ -2,6 +2,7 @@ package goupnp import ( "fmt" + "net" "net/url" "github.com/huin/goupnp/soap" @@ -17,6 +18,7 @@ type ServiceClient struct { RootDevice *RootDevice Location *url.URL Service *Service + localAddr net.IP } // NewServiceClients discovers services, and returns clients for them. err will @@ -36,7 +38,7 @@ func NewServiceClients(searchTarget string) (clients []ServiceClient, errors []e continue } - deviceClients, err := NewServiceClientsFromRootDevice(maybeRootDevice.Root, maybeRootDevice.Location, searchTarget) + deviceClients, err := newServiceClientsFromRootDevice(maybeRootDevice.Root, maybeRootDevice.Location, searchTarget, maybeRootDevice.LocalAddr) if err != nil { errors = append(errors, err) continue @@ -61,6 +63,15 @@ func NewServiceClientsByURL(loc *url.URL, searchTarget string) ([]ServiceClient, // a given root device. The loc parameter is simply assigned to the // Location attribute of the returned ServiceClient(s). func NewServiceClientsFromRootDevice(rootDevice *RootDevice, loc *url.URL, searchTarget string) ([]ServiceClient, error) { + return newServiceClientsFromRootDevice(rootDevice, loc, searchTarget, nil) +} + +func newServiceClientsFromRootDevice( + rootDevice *RootDevice, + loc *url.URL, + searchTarget string, + lAddr net.IP, +) ([]ServiceClient, error) { device := &rootDevice.Device srvs := device.FindService(searchTarget) if len(srvs) == 0 { @@ -75,6 +86,7 @@ func NewServiceClientsFromRootDevice(rootDevice *RootDevice, loc *url.URL, searc RootDevice: rootDevice, Location: loc, Service: srv, + localAddr: lAddr, }) } return clients, nil @@ -86,3 +98,8 @@ func NewServiceClientsFromRootDevice(rootDevice *RootDevice, loc *url.URL, searc func (client *ServiceClient) GetServiceClient() *ServiceClient { return client } + +// LocalAddr returns the address from which the device was discovered (if known - otherwise empty). +func (client *ServiceClient) LocalAddr() net.IP { + return client.localAddr +} diff --git a/vendor/github.com/huin/goupnp/soap/soap.go b/vendor/github.com/huin/goupnp/soap/soap.go index 68deaf670..0d7a7582f 100644 --- a/vendor/github.com/huin/goupnp/soap/soap.go +++ b/vendor/github.com/huin/goupnp/soap/soap.go @@ -202,5 +202,6 @@ type SOAPFaultError struct { } func (err *SOAPFaultError) Error() string { - return fmt.Sprintf("SOAP fault: %s", err.FaultString) + return fmt.Sprintf("SOAP fault. Code: %s | Explanation: %s | Detail: %s", + err.FaultCode, err.FaultString, string(err.Detail.Raw)) } diff --git a/vendor/github.com/ipfs/go-cid/.travis.yml b/vendor/github.com/ipfs/go-cid/.travis.yml deleted file mode 100644 index 5163d693f..000000000 --- a/vendor/github.com/ipfs/go-cid/.travis.yml +++ /dev/null @@ -1,30 +0,0 @@ -os: - - linux - -language: go - -go: - - 1.11.x - -env: - global: - - GOTFLAGS="-race" - matrix: - - BUILD_DEPTYPE=gomod - - -# disable travis install -install: - - true - -script: - - bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh) - - -cache: - directories: - - $GOPATH/pkg/mod - - $HOME/.cache/go-build - -notifications: - email: false diff --git a/vendor/github.com/ipfs/go-cid/README.md b/vendor/github.com/ipfs/go-cid/README.md index 4f54343a9..89da04128 100644 --- a/vendor/github.com/ipfs/go-cid/README.md +++ b/vendor/github.com/ipfs/go-cid/README.md @@ -59,10 +59,17 @@ fmt.Println("Got CID: ", c) #### Creating a CID from scratch ```go + +import ( + cid "github.com/ipfs/go-cid" + mc "github.com/multiformats/go-multicodec" + mh "github.com/multiformats/go-multihash" +) + // Create a cid manually by specifying the 'prefix' parameters pref := cid.Prefix{ Version: 1, - Codec: cid.Raw, + Codec: mc.Raw, MhType: mh.SHA2_256, MhLength: -1, // default length } diff --git a/vendor/github.com/ipfs/go-cid/cid.go b/vendor/github.com/ipfs/go-cid/cid.go index 1268f39e0..bc5704aa2 100644 --- a/vendor/github.com/ipfs/go-cid/cid.go +++ b/vendor/github.com/ipfs/go-cid/cid.go @@ -22,6 +22,7 @@ package cid import ( "bytes" "encoding" + "encoding/binary" "encoding/json" "errors" "fmt" @@ -46,18 +47,21 @@ var ( ErrInvalidEncoding = errors.New("invalid base encoding") ) -// These are multicodec-packed content types. The should match -// the codes described in the authoritative document: -// https://github.com/multiformats/multicodec/blob/master/table.csv +// Consts below are DEPRECATED and left only for legacy reasons: +// +// Modern code should use consts from go-multicodec instead: +// const ( - Raw = 0x55 - - DagProtobuf = 0x70 - DagCBOR = 0x71 - Libp2pKey = 0x72 - - GitRaw = 0x78 + // common ones + Raw = 0x55 + DagProtobuf = 0x70 // https://ipld.io/docs/codecs/known/dag-pb/ + DagCBOR = 0x71 // https://ipld.io/docs/codecs/known/dag-cbor/ + DagJSON = 0x0129 // https://ipld.io/docs/codecs/known/dag-json/ + Libp2pKey = 0x72 // https://github.com/libp2p/specs/blob/master/peer-ids/peer-ids.md#peer-ids + // other + GitRaw = 0x78 + DagJOSE = 0x85 // https://ipld.io/specs/codecs/dag-jose/spec/ EthBlock = 0x90 EthBlockList = 0x91 EthTxTrie = 0x92 @@ -79,62 +83,6 @@ const ( FilCommitmentSealed = 0xf102 ) -// Codecs maps the name of a codec to its type -var Codecs = map[string]uint64{ - "v0": DagProtobuf, - "raw": Raw, - "protobuf": DagProtobuf, - "cbor": DagCBOR, - "libp2p-key": Libp2pKey, - "git-raw": GitRaw, - "eth-block": EthBlock, - "eth-block-list": EthBlockList, - "eth-tx-trie": EthTxTrie, - "eth-tx": EthTx, - "eth-tx-receipt-trie": EthTxReceiptTrie, - "eth-tx-receipt": EthTxReceipt, - "eth-state-trie": EthStateTrie, - "eth-account-snapshot": EthAccountSnapshot, - "eth-storage-trie": EthStorageTrie, - "bitcoin-block": BitcoinBlock, - "bitcoin-tx": BitcoinTx, - "zcash-block": ZcashBlock, - "zcash-tx": ZcashTx, - "decred-block": DecredBlock, - "decred-tx": DecredTx, - "dash-block": DashBlock, - "dash-tx": DashTx, - "fil-commitment-unsealed": FilCommitmentUnsealed, - "fil-commitment-sealed": FilCommitmentSealed, -} - -// CodecToStr maps the numeric codec to its name -var CodecToStr = map[uint64]string{ - Raw: "raw", - DagProtobuf: "protobuf", - DagCBOR: "cbor", - GitRaw: "git-raw", - EthBlock: "eth-block", - EthBlockList: "eth-block-list", - EthTxTrie: "eth-tx-trie", - EthTx: "eth-tx", - EthTxReceiptTrie: "eth-tx-receipt-trie", - EthTxReceipt: "eth-tx-receipt", - EthStateTrie: "eth-state-trie", - EthAccountSnapshot: "eth-account-snapshot", - EthStorageTrie: "eth-storage-trie", - BitcoinBlock: "bitcoin-block", - BitcoinTx: "bitcoin-tx", - ZcashBlock: "zcash-block", - ZcashTx: "zcash-tx", - DecredBlock: "decred-block", - DecredTx: "decred-tx", - DashBlock: "dash-block", - DashTx: "dash-tx", - FilCommitmentUnsealed: "fil-commitment-unsealed", - FilCommitmentSealed: "fil-commitment-sealed", -} - // tryNewCidV0 tries to convert a multihash into a CIDv0 CID and returns an // error on failure. func tryNewCidV0(mhash mh.Multihash) (Cid, error) { @@ -170,22 +118,32 @@ func NewCidV0(mhash mh.Multihash) Cid { // Panics if the multihash is invalid. func NewCidV1(codecType uint64, mhash mh.Multihash) Cid { hashlen := len(mhash) - // two 8 bytes (max) numbers plus hash - buf := make([]byte, 1+varint.UvarintSize(codecType)+hashlen) - n := varint.PutUvarint(buf, 1) - n += varint.PutUvarint(buf[n:], codecType) - cn := copy(buf[n:], mhash) + + // Two 8 bytes (max) numbers plus hash. + // We use strings.Builder to only allocate once. + var b strings.Builder + b.Grow(1 + varint.UvarintSize(codecType) + hashlen) + + b.WriteByte(1) + + var buf [binary.MaxVarintLen64]byte + n := varint.PutUvarint(buf[:], codecType) + b.Write(buf[:n]) + + cn, _ := b.Write(mhash) if cn != hashlen { panic("copy hash length is inconsistent") } - return Cid{string(buf[:n+hashlen])} + return Cid{b.String()} } -var _ encoding.BinaryMarshaler = Cid{} -var _ encoding.BinaryUnmarshaler = (*Cid)(nil) -var _ encoding.TextMarshaler = Cid{} -var _ encoding.TextUnmarshaler = (*Cid)(nil) +var ( + _ encoding.BinaryMarshaler = Cid{} + _ encoding.BinaryUnmarshaler = (*Cid)(nil) + _ encoding.TextMarshaler = Cid{} + _ encoding.TextUnmarshaler = (*Cid)(nil) +) // Cid represents a self-describing content addressed // identifier. It is formed by a Version, a Codec (which indicates @@ -561,7 +519,7 @@ type Prefix struct { // and return a newly constructed Cid with the resulting multihash. func (p Prefix) Sum(data []byte) (Cid, error) { length := p.MhLength - if p.MhType == mh.ID { + if p.MhType == mh.IDENTITY { length = -1 } @@ -675,3 +633,139 @@ func CidFromBytes(data []byte) (int, Cid, error) { return l, Cid{string(data[0:l])}, nil } + +func toBufByteReader(r io.Reader, dst []byte) *bufByteReader { + // If the reader already implements ByteReader, use it directly. + // Otherwise, use a fallback that does 1-byte Reads. + if br, ok := r.(io.ByteReader); ok { + return &bufByteReader{direct: br, dst: dst} + } + return &bufByteReader{fallback: r, dst: dst} +} + +type bufByteReader struct { + direct io.ByteReader + fallback io.Reader + + dst []byte +} + +func (r *bufByteReader) ReadByte() (byte, error) { + // The underlying reader has ReadByte; use it. + if br := r.direct; br != nil { + b, err := br.ReadByte() + if err != nil { + return 0, err + } + r.dst = append(r.dst, b) + return b, nil + } + + // Fall back to a one-byte Read. + // TODO: consider reading straight into dst, + // once we have benchmarks and if they prove that to be faster. + var p [1]byte + if _, err := io.ReadFull(r.fallback, p[:]); err != nil { + return 0, err + } + r.dst = append(r.dst, p[0]) + return p[0], nil +} + +// CidFromReader reads a precise number of bytes for a CID from a given reader. +// It returns the number of bytes read, the CID, and any error encountered. +// The number of bytes read is accurate even if a non-nil error is returned. +// +// It's recommended to supply a reader that buffers and implements io.ByteReader, +// as CidFromReader has to do many single-byte reads to decode varints. +// If the argument only implements io.Reader, single-byte Read calls are used instead. +func CidFromReader(r io.Reader) (int, Cid, error) { + // 64 bytes is enough for any CIDv0, + // and it's enough for most CIDv1s in practice. + // If the digest is too long, we'll allocate more. + br := toBufByteReader(r, make([]byte, 0, 64)) + + // We read the first varint, to tell if this is a CIDv0 or a CIDv1. + // The varint package wants a io.ByteReader, so we must wrap our io.Reader. + vers, err := varint.ReadUvarint(br) + if err != nil { + return len(br.dst), Undef, err + } + + // If we have a CIDv0, read the rest of the bytes and cast the buffer. + if vers == mh.SHA2_256 { + if n, err := io.ReadFull(r, br.dst[1:34]); err != nil { + return len(br.dst) + n, Undef, err + } + + br.dst = br.dst[:34] + h, err := mh.Cast(br.dst) + if err != nil { + return len(br.dst), Undef, err + } + + return len(br.dst), Cid{string(h)}, nil + } + + if vers != 1 { + return len(br.dst), Undef, fmt.Errorf("expected 1 as the cid version number, got: %d", vers) + } + + // CID block encoding multicodec. + _, err = varint.ReadUvarint(br) + if err != nil { + return len(br.dst), Undef, err + } + + // We could replace most of the code below with go-multihash's ReadMultihash. + // Note that it would save code, but prevent reusing buffers. + // Plus, we already have a ByteReader now. + mhStart := len(br.dst) + + // Multihash hash function code. + _, err = varint.ReadUvarint(br) + if err != nil { + return len(br.dst), Undef, err + } + + // Multihash digest length. + mhl, err := varint.ReadUvarint(br) + if err != nil { + return len(br.dst), Undef, err + } + + // Refuse to make large allocations to prevent OOMs due to bugs. + const maxDigestAlloc = 32 << 20 // 32MiB + if mhl > maxDigestAlloc { + return len(br.dst), Undef, fmt.Errorf("refusing to allocate %d bytes for a digest", mhl) + } + + // Fine to convert mhl to int, given maxDigestAlloc. + prefixLength := len(br.dst) + cidLength := prefixLength + int(mhl) + if cidLength > cap(br.dst) { + // If the multihash digest doesn't fit in our initial 64 bytes, + // efficiently extend the slice via append+make. + br.dst = append(br.dst, make([]byte, cidLength-len(br.dst))...) + } else { + // The multihash digest fits inside our buffer, + // so just extend its capacity. + br.dst = br.dst[:cidLength] + } + + if n, err := io.ReadFull(r, br.dst[prefixLength:cidLength]); err != nil { + // We can't use len(br.dst) here, + // as we've only read n bytes past prefixLength. + return prefixLength + n, Undef, err + } + + // This simply ensures the multihash is valid. + // TODO: consider removing this bit, as it's probably redundant; + // for now, it helps ensure consistency with CidFromBytes. + _, _, err = mh.MHFromBytes(br.dst[mhStart:]) + if err != nil { + return len(br.dst), Undef, err + } + + return len(br.dst), Cid{string(br.dst)}, nil +} diff --git a/vendor/github.com/ipfs/go-cid/cid_fuzz.go b/vendor/github.com/ipfs/go-cid/cid_fuzz.go index 99842b535..0b0408c07 100644 --- a/vendor/github.com/ipfs/go-cid/cid_fuzz.go +++ b/vendor/github.com/ipfs/go-cid/cid_fuzz.go @@ -1,10 +1,10 @@ +//go:build gofuzz // +build gofuzz package cid func Fuzz(data []byte) int { cid, err := Cast(data) - if err != nil { return 0 } diff --git a/vendor/github.com/ipfs/go-cid/varint.go b/vendor/github.com/ipfs/go-cid/varint.go index ed5eba1ad..e25c843d6 100644 --- a/vendor/github.com/ipfs/go-cid/varint.go +++ b/vendor/github.com/ipfs/go-cid/varint.go @@ -4,7 +4,7 @@ import ( "github.com/multiformats/go-varint" ) -// Version of varint function that work with a string rather than +// Version of varint function that works with a string rather than // []byte to avoid unnecessary allocation // Copyright 2011 The Go Authors. All rights reserved. @@ -12,23 +12,20 @@ import ( // license as given at https://golang.org/LICENSE // uvarint decodes a uint64 from buf and returns that value and the -// number of characters read (> 0). If an error occurred, the value is 0 -// and the number of bytes n is <= 0 meaning: -// -// n == 0: buf too small -// n < 0: value larger than 64 bits (overflow) -// and -n is the number of bytes read -// +// number of bytes read (> 0). If an error occurred, then 0 is +// returned for both the value and the number of bytes read, and an +// error is returned. func uvarint(buf string) (uint64, int, error) { var x uint64 var s uint - // we have a binary string so we can't use a range loope + // we have a binary string so we can't use a range loop for i := 0; i < len(buf); i++ { b := buf[i] if b < 0x80 { if i > 9 || i == 9 && b > 1 { return 0, 0, varint.ErrOverflow - } else if b == 0 && i > 0 { + } + if b == 0 && i > 0 { return 0, 0, varint.ErrNotMinimal } return x | uint64(b)< Common utilities used by go-ipfs and other related go packages - -## Lead Maintainer - -[Steven Allen](https://github.com/Stebalien) - -## Install - -This is a Go module which can be installed with `go get github.com/ipfs/go-ipfs-util`. `go-ipfs-util` is however packaged with Gx, so it is recommended to use Gx to install it (see Usage section). - -## Usage - -This module is packaged with [Gx](https://github.com/whyrusleeping/gx). -In order to use it in your own project do: - -``` -go get -u github.com/whyrusleeping/gx -go get -u github.com/whyrusleeping/gx-go -cd -gx init -gx import github.com/ipfs/go-ipfs-util -gx install --global -gx-go --rewrite -``` - -Please check [Gx](https://github.com/whyrusleeping/gx) and [Gx-go](https://github.com/whyrusleeping/gx-go) documentation for more information. - - -## Contribute - -Feel free to join in. All welcome. Open an [issue](https://github.com/ipfs/go-ipfs-util/issues)! - -This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md). - -### Want to hack on IPFS? - -[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/contributing.md) - -## License - -MIT diff --git a/vendor/github.com/ipfs/go-ipfs-util/file.go b/vendor/github.com/ipfs/go-ipfs-util/file.go deleted file mode 100644 index e6e30df4d..000000000 --- a/vendor/github.com/ipfs/go-ipfs-util/file.go +++ /dev/null @@ -1,12 +0,0 @@ -package util - -import "os" - -// FileExists check if the file with the given path exits. -func FileExists(filename string) bool { - fi, err := os.Lstat(filename) - if fi != nil || (err != nil && !os.IsNotExist(err)) { - return true - } - return false -} diff --git a/vendor/github.com/ipfs/go-ipfs-util/package.json b/vendor/github.com/ipfs/go-ipfs-util/package.json deleted file mode 100644 index 3c3ed116b..000000000 --- a/vendor/github.com/ipfs/go-ipfs-util/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "author": "whyrusleeping", - "bugs": {}, - "gx": { - "dvcsimport": "github.com/ipfs/go-ipfs-util" - }, - "gxDependencies": [ - { - "author": "multiformats", - "hash": "QmerPMzPk1mJVowm8KgmoknWa4yCYvvugMPsgWmDNUvDLW", - "name": "go-multihash", - "version": "1.0.9" - }, - { - "author": "mr-tron", - "hash": "QmWFAMPqsEyUX7gDUsRVmMWz59FxSpJ1b2v6bJ1yYzo7jY", - "name": "go-base58-fast", - "version": "0.1.1" - } - ], - "gxVersion": "0.9.1", - "language": "go", - "license": "", - "name": "go-ipfs-util", - "releaseCmd": "git commit -a -m \"gx publish $VERSION\"", - "version": "1.2.9" -} - diff --git a/vendor/github.com/ipfs/go-ipfs-util/time.go b/vendor/github.com/ipfs/go-ipfs-util/time.go deleted file mode 100644 index 37d720fb1..000000000 --- a/vendor/github.com/ipfs/go-ipfs-util/time.go +++ /dev/null @@ -1,22 +0,0 @@ -package util - -import "time" - -// TimeFormatIpfs is the format ipfs uses to represent time in string form. -var TimeFormatIpfs = time.RFC3339Nano - -// ParseRFC3339 parses an RFC3339Nano-formatted time stamp and -// returns the UTC time. -func ParseRFC3339(s string) (time.Time, error) { - t, err := time.Parse(TimeFormatIpfs, s) - if err != nil { - return time.Time{}, err - } - return t.UTC(), nil -} - -// FormatRFC3339 returns the string representation of the -// UTC value of the given time in RFC3339Nano format. -func FormatRFC3339(t time.Time) string { - return t.UTC().Format(TimeFormatIpfs) -} diff --git a/vendor/github.com/ipfs/go-ipfs-util/util.go b/vendor/github.com/ipfs/go-ipfs-util/util.go deleted file mode 100644 index 8ebe3c706..000000000 --- a/vendor/github.com/ipfs/go-ipfs-util/util.go +++ /dev/null @@ -1,158 +0,0 @@ -// Package util implements various utility functions used within ipfs -// that do not currently have a better place to live. -package util - -import ( - "errors" - "io" - "math/rand" - "os" - "path/filepath" - "runtime/debug" - "strings" - "time" - - b58 "github.com/mr-tron/base58/base58" - mh "github.com/multiformats/go-multihash" -) - -// DefaultIpfsHash is the current default hash function used by IPFS. -const DefaultIpfsHash = mh.SHA2_256 - -// Debug is a global flag for debugging. -var Debug bool - -// ErrNotImplemented signifies a function has not been implemented yet. -var ErrNotImplemented = errors.New("Error: not implemented yet.") - -// ErrTimeout implies that a timeout has been triggered -var ErrTimeout = errors.New("Error: Call timed out.") - -// ErrSearchIncomplete implies that a search type operation didnt -// find the expected node, but did find 'a' node. -var ErrSearchIncomplete = errors.New("Error: Search Incomplete.") - -// ErrCast is returned when a cast fails AND the program should not panic. -func ErrCast() error { - debug.PrintStack() - return errCast -} - -var errCast = errors.New("cast error") - -// ExpandPathnames takes a set of paths and turns them into absolute paths -func ExpandPathnames(paths []string) ([]string, error) { - var out []string - for _, p := range paths { - abspath, err := filepath.Abs(p) - if err != nil { - return nil, err - } - out = append(out, abspath) - } - return out, nil -} - -type randGen struct { - rand.Rand -} - -// NewTimeSeededRand returns a random bytes reader -// which has been initialized with the current time. -func NewTimeSeededRand() io.Reader { - src := rand.NewSource(time.Now().UnixNano()) - return &randGen{ - Rand: *rand.New(src), - } -} - -// NewSeededRand returns a random bytes reader -// initialized with the given seed. -func NewSeededRand(seed int64) io.Reader { - src := rand.NewSource(seed) - return &randGen{ - Rand: *rand.New(src), - } -} - -func (r *randGen) Read(p []byte) (n int, err error) { - for i := 0; i < len(p); i++ { - p[i] = byte(r.Rand.Intn(255)) - } - return len(p), nil -} - -// GetenvBool is the way to check an env var as a boolean -func GetenvBool(name string) bool { - v := strings.ToLower(os.Getenv(name)) - return v == "true" || v == "t" || v == "1" -} - -// MultiErr is a util to return multiple errors -type MultiErr []error - -func (m MultiErr) Error() string { - if len(m) == 0 { - return "no errors" - } - - s := "Multiple errors: " - for i, e := range m { - if i != 0 { - s += ", " - } - s += e.Error() - } - return s -} - -// Partition splits a subject 3 parts: prefix, separator, suffix. -// The first occurrence of the separator will be matched. -// ie. Partition("Ready, steady, go!", ", ") -> ["Ready", ", ", "steady, go!"] -func Partition(subject string, sep string) (string, string, string) { - if i := strings.Index(subject, sep); i != -1 { - return subject[:i], subject[i : i+len(sep)], subject[i+len(sep):] - } - return subject, "", "" -} - -// RPartition splits a subject 3 parts: prefix, separator, suffix. -// The last occurrence of the separator will be matched. -// ie. RPartition("Ready, steady, go!", ", ") -> ["Ready, steady", ", ", "go!"] -func RPartition(subject string, sep string) (string, string, string) { - if i := strings.LastIndex(subject, sep); i != -1 { - return subject[:i], subject[i : i+len(sep)], subject[i+len(sep):] - } - return subject, "", "" -} - -// Hash is the global IPFS hash function. uses multihash SHA2_256, 256 bits -func Hash(data []byte) mh.Multihash { - h, err := mh.Sum(data, DefaultIpfsHash, -1) - if err != nil { - // this error can be safely ignored (panic) because multihash only fails - // from the selection of hash function. If the fn + length are valid, it - // won't error. - panic("multihash failed to hash using SHA2_256.") - } - return h -} - -// IsValidHash checks whether a given hash is valid (b58 decodable, len > 0) -func IsValidHash(s string) bool { - out, err := b58.Decode(s) - if err != nil { - return false - } - _, err = mh.Cast(out) - return err == nil -} - -// XOR takes two byte slices, XORs them together, returns the resulting slice. -func XOR(a, b []byte) []byte { - c := make([]byte, len(a)) - for i := 0; i < len(a); i++ { - c[i] = a[i] ^ b[i] - } - return c -} diff --git a/vendor/github.com/ipfs/go-log/v2/log.go b/vendor/github.com/ipfs/go-log/v2/log.go index 6b0c444c6..81a7fcbe8 100644 --- a/vendor/github.com/ipfs/go-log/v2/log.go +++ b/vendor/github.com/ipfs/go-log/v2/log.go @@ -82,3 +82,13 @@ func WithStacktrace(l *ZapEventLogger, level LogLevel) *ZapEventLogger { copyLogger.skipLogger = *copyLogger.SugaredLogger.Desugar().WithOptions(zap.AddCallerSkip(1)).Sugar() return ©Logger } + +// WithSkip returns a new logger that skips the specified number of stack frames when reporting the +// line/file. +func WithSkip(l *ZapEventLogger, skip int) *ZapEventLogger { + copyLogger := *l + copyLogger.SugaredLogger = *copyLogger.SugaredLogger.Desugar(). + WithOptions(zap.AddCallerSkip(skip)).Sugar() + copyLogger.skipLogger = *copyLogger.SugaredLogger.Desugar().WithOptions(zap.AddCallerSkip(1)).Sugar() + return ©Logger +} diff --git a/vendor/github.com/karalabe/usb/hidapi/libusb/hid.c b/vendor/github.com/karalabe/usb/hidapi/libusb/hid.c index e91474065..51e266ef0 100644 --- a/vendor/github.com/karalabe/usb/hidapi/libusb/hid.c +++ b/vendor/github.com/karalabe/usb/hidapi/libusb/hid.c @@ -49,7 +49,7 @@ #include "hidapi.h" -#ifdef __ANDROID__ +#if defined(__ANDROID__) && __ANDROID_API__ < __ANDROID_API_N__ /* Barrier implementation because Android/Bionic don't have pthread_barrier. This implementation came from Brent Priddy and was posted on diff --git a/vendor/github.com/karalabe/usb/hidapi/mac/hid.c b/vendor/github.com/karalabe/usb/hidapi/mac/hid.c index e0756a158..f16962ac6 100644 --- a/vendor/github.com/karalabe/usb/hidapi/mac/hid.c +++ b/vendor/github.com/karalabe/usb/hidapi/mac/hid.c @@ -690,7 +690,7 @@ hid_device * HID_API_EXPORT hid_open_path(const char *path) return NULL; /* Get the IORegistry entry for the given path */ - entry = IORegistryEntryFromPath(kIOMasterPortDefault, path); + entry = IORegistryEntryFromPath(kIOMainPortDefault, path); if (entry == MACH_PORT_NULL) { /* Path wasn't valid (maybe device was removed?) */ goto return_error; diff --git a/vendor/github.com/karalabe/usb/libusb/libusb/os/darwin_usb.c b/vendor/github.com/karalabe/usb/libusb/libusb/os/darwin_usb.c index 35ea1c321..83b0e166a 100644 --- a/vendor/github.com/karalabe/usb/libusb/libusb/os/darwin_usb.c +++ b/vendor/github.com/karalabe/usb/libusb/libusb/os/darwin_usb.c @@ -250,7 +250,7 @@ static int usb_setup_device_iterator (io_iterator_t *deviceIterator, UInt32 loca CFRelease (locationCF); } - return IOServiceGetMatchingServices(kIOMasterPortDefault, matchingDict, deviceIterator); + return IOServiceGetMatchingServices(kIOMainPortDefault, matchingDict, deviceIterator); } /* Returns 1 on success, 0 on failure. */ @@ -387,7 +387,7 @@ static void darwin_hotplug_poll (void) /* since a kernel thread may nodify the IOInterators used for * hotplug notidication we can't just clear the iterators. * instead just wait until all IOService providers are quiet */ - (void) IOKitWaitQuiet (kIOMasterPortDefault, &timeout); + (void) IOKitWaitQuiet (kIOMainPortDefault, &timeout); } static void darwin_clear_iterator (io_iterator_t iter) { @@ -438,7 +438,7 @@ static void *darwin_event_thread_main (void *arg0) { CFRunLoopAddSource(runloop, libusb_darwin_acfls, kCFRunLoopDefaultMode); /* add the notification port to the run loop */ - libusb_notification_port = IONotificationPortCreate (kIOMasterPortDefault); + libusb_notification_port = IONotificationPortCreate (kIOMainPortDefault); libusb_notification_cfsource = IONotificationPortGetRunLoopSource (libusb_notification_port); CFRunLoopAddSource(runloop, libusb_notification_cfsource, kCFRunLoopDefaultMode); diff --git a/vendor/github.com/karalabe/usb/libusb/libusb/os/darwin_usb.h b/vendor/github.com/karalabe/usb/libusb/libusb/os/darwin_usb.h index 474567f6a..33bc6d496 100644 --- a/vendor/github.com/karalabe/usb/libusb/libusb/os/darwin_usb.h +++ b/vendor/github.com/karalabe/usb/libusb/libusb/os/darwin_usb.h @@ -29,6 +29,10 @@ /* IOUSBInterfaceInferface */ +#if (MAC_OS_X_VERSION_MAX_ALLOWED < 120000) // Before macOS 12 Monterey + #define kIOMainPortDefault kIOMasterPortDefault +#endif + /* New in OS 10.12.0. */ #if defined (kIOUSBInterfaceInterfaceID800) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) diff --git a/vendor/github.com/klauspost/compress/.goreleaser.yml b/vendor/github.com/klauspost/compress/.goreleaser.yml index c9014ce1d..0af08e65e 100644 --- a/vendor/github.com/klauspost/compress/.goreleaser.yml +++ b/vendor/github.com/klauspost/compress/.goreleaser.yml @@ -3,6 +3,7 @@ before: hooks: - ./gen.sh + - go install mvdan.cc/garble@latest builds: - @@ -31,6 +32,7 @@ builds: - mips64le goarm: - 7 + gobinary: garble - id: "s2d" binary: s2d @@ -57,6 +59,7 @@ builds: - mips64le goarm: - 7 + gobinary: garble - id: "s2sx" binary: s2sx @@ -84,6 +87,7 @@ builds: - mips64le goarm: - 7 + gobinary: garble archives: - diff --git a/vendor/github.com/klauspost/compress/README.md b/vendor/github.com/klauspost/compress/README.md index 3429879eb..0e2dc116a 100644 --- a/vendor/github.com/klauspost/compress/README.md +++ b/vendor/github.com/klauspost/compress/README.md @@ -17,6 +17,49 @@ This package provides various compression algorithms. # changelog +* Mar 3, 2022 (v1.15.0) + * zstd: Refactor decoder by @klauspost in [#498](https://github.com/klauspost/compress/pull/498) + * zstd: Add stream encoding without goroutines by @klauspost in [#505](https://github.com/klauspost/compress/pull/505) + * huff0: Prevent single blocks exceeding 16 bits by @klauspost in[#507](https://github.com/klauspost/compress/pull/507) + * flate: Inline literal emission by @klauspost in [#509](https://github.com/klauspost/compress/pull/509) + * gzhttp: Add zstd to transport by @klauspost in [#400](https://github.com/klauspost/compress/pull/400) + * gzhttp: Make content-type optional by @klauspost in [#510](https://github.com/klauspost/compress/pull/510) + +
+ See Details +Both compression and decompression now supports "synchronous" stream operations. This means that whenever "concurrency" is set to 1, they will operate without spawning goroutines. + +Stream decompression is now faster on asynchronous, since the goroutine allocation much more effectively splits the workload. On typical streams this will typically use 2 cores fully for decompression. When a stream has finished decoding no goroutines will be left over, so decoders can now safely be pooled and still be garbage collected. + +While the release has been extensively tested, it is recommended to testing when upgrading. +
+ +* Feb 22, 2022 (v1.14.4) + * flate: Fix rare huffman only (-2) corruption. [#503](https://github.com/klauspost/compress/pull/503) + * zip: Update deprecated CreateHeaderRaw to correctly call CreateRaw by @saracen in [#502](https://github.com/klauspost/compress/pull/502) + * zip: don't read data descriptor early by @saracen in [#501](https://github.com/klauspost/compress/pull/501) #501 + * huff0: Use static decompression buffer up to 30% faster by @klauspost in [#499](https://github.com/klauspost/compress/pull/499) [#500](https://github.com/klauspost/compress/pull/500) + +* Feb 17, 2022 (v1.14.3) + * flate: Improve fastest levels compression speed ~10% more throughput. [#482](https://github.com/klauspost/compress/pull/482) [#489](https://github.com/klauspost/compress/pull/489) [#490](https://github.com/klauspost/compress/pull/490) [#491](https://github.com/klauspost/compress/pull/491) [#494](https://github.com/klauspost/compress/pull/494) [#478](https://github.com/klauspost/compress/pull/478) + * flate: Faster decompression speed, ~5-10%. [#483](https://github.com/klauspost/compress/pull/483) + * s2: Faster compression with Go v1.18 and amd64 microarch level 3+. [#484](https://github.com/klauspost/compress/pull/484) [#486](https://github.com/klauspost/compress/pull/486) + +* Jan 25, 2022 (v1.14.2) + * zstd: improve header decoder by @dsnet [#476](https://github.com/klauspost/compress/pull/476) + * zstd: Add bigger default blocks [#469](https://github.com/klauspost/compress/pull/469) + * zstd: Remove unused decompression buffer [#470](https://github.com/klauspost/compress/pull/470) + * zstd: Fix logically dead code by @ningmingxiao [#472](https://github.com/klauspost/compress/pull/472) + * flate: Improve level 7-9 [#471](https://github.com/klauspost/compress/pull/471) [#473](https://github.com/klauspost/compress/pull/473) + * zstd: Add noasm tag for xxhash [#475](https://github.com/klauspost/compress/pull/475) + +* Jan 11, 2022 (v1.14.1) + * s2: Add stream index in [#462](https://github.com/klauspost/compress/pull/462) + * flate: Speed and efficiency improvements in [#439](https://github.com/klauspost/compress/pull/439) [#461](https://github.com/klauspost/compress/pull/461) [#455](https://github.com/klauspost/compress/pull/455) [#452](https://github.com/klauspost/compress/pull/452) [#458](https://github.com/klauspost/compress/pull/458) + * zstd: Performance improvement in [#420]( https://github.com/klauspost/compress/pull/420) [#456](https://github.com/klauspost/compress/pull/456) [#437](https://github.com/klauspost/compress/pull/437) [#467](https://github.com/klauspost/compress/pull/467) [#468](https://github.com/klauspost/compress/pull/468) + * zstd: add arm64 xxhash assembly in [#464](https://github.com/klauspost/compress/pull/464) + * Add garbled for binaries for s2 in [#445](https://github.com/klauspost/compress/pull/445) + * Aug 30, 2021 (v1.13.5) * gz/zlib/flate: Alias stdlib errors [#425](https://github.com/klauspost/compress/pull/425) * s2: Add block support to commandline tools [#413](https://github.com/klauspost/compress/pull/413) @@ -46,6 +89,9 @@ This package provides various compression algorithms. * zstd: Detect short invalid signatures [#382](https://github.com/klauspost/compress/pull/382) * zstd: Spawn decoder goroutine only if needed. [#380](https://github.com/klauspost/compress/pull/380) +
+ See changes to v1.12.x + * May 25, 2021 (v1.12.3) * deflate: Better/faster Huffman encoding [#374](https://github.com/klauspost/compress/pull/374) * deflate: Allocate less for history. [#375](https://github.com/klauspost/compress/pull/375) @@ -67,9 +113,10 @@ This package provides various compression algorithms. * s2c/s2d/s2sx: Always truncate when writing files [#352](https://github.com/klauspost/compress/pull/352) * zstd: Reduce memory usage further when using [WithLowerEncoderMem](https://pkg.go.dev/github.com/klauspost/compress/zstd#WithLowerEncoderMem) [#346](https://github.com/klauspost/compress/pull/346) * s2: Fix potential problem with amd64 assembly and profilers [#349](https://github.com/klauspost/compress/pull/349) +
- See changes prior to v1.12.1 + See changes to v1.11.x * Mar 26, 2021 (v1.11.13) * zstd: Big speedup on small dictionary encodes [#344](https://github.com/klauspost/compress/pull/344) [#345](https://github.com/klauspost/compress/pull/345) @@ -128,7 +175,7 @@ This package provides various compression algorithms.
- See changes prior to v1.11.0 + See changes to v1.10.x * July 8, 2020 (v1.10.11) * zstd: Fix extra block when compressing with ReadFrom. [#278](https://github.com/klauspost/compress/pull/278) @@ -290,11 +337,6 @@ This package provides various compression algorithms. # deflate usage -* [High Throughput Benchmark](http://blog.klauspost.com/go-gzipdeflate-benchmarks/). -* [Small Payload/Webserver Benchmarks](http://blog.klauspost.com/gzip-performance-for-go-webservers/). -* [Linear Time Compression](http://blog.klauspost.com/constant-time-gzipzip-compression/). -* [Re-balancing Deflate Compression Levels](https://blog.klauspost.com/rebalancing-deflate-compression-levels/) - The packages are drop-in replacements for standard libraries. Simply replace the import path to use them: | old import | new import | Documentation @@ -316,6 +358,8 @@ Memory usage is typically 1MB for a Writer. stdlib is in the same range. If you expect to have a lot of concurrently allocated Writers consider using the stateless compress described below. +For compression performance, see: [this spreadsheet](https://docs.google.com/spreadsheets/d/1nuNE2nPfuINCZJRMt6wFWhKpToF95I47XjSsc-1rbPQ/edit?usp=sharing). + # Stateless compression This package offers stateless compression as a special option for gzip/deflate. @@ -432,6 +476,13 @@ For more information see my blog post on [Fast Linear Time Compression](http://b This is implemented on Go 1.7 as "Huffman Only" mode, though not exposed for gzip. +# Other packages + +Here are other packages of good quality and pure Go (no cgo wrappers or autoconverted code): + +* [github.com/pierrec/lz4](https://github.com/pierrec/lz4) - strong multithreaded LZ4 compression. +* [github.com/cosnicolaou/pbzip2](https://github.com/cosnicolaou/pbzip2) - multithreaded bzip2 decompression. +* [github.com/dsnet/compress](https://github.com/dsnet/compress) - brotli decompression, bzip2 writer. # license diff --git a/vendor/github.com/klauspost/compress/huff0/autogen.go b/vendor/github.com/klauspost/compress/huff0/autogen.go new file mode 100644 index 000000000..ff2c69d60 --- /dev/null +++ b/vendor/github.com/klauspost/compress/huff0/autogen.go @@ -0,0 +1,5 @@ +package huff0 + +//go:generate go run generate.go +//go:generate asmfmt -w decompress_amd64.s +//go:generate asmfmt -w decompress_8b_amd64.s diff --git a/vendor/github.com/klauspost/compress/huff0/bitreader.go b/vendor/github.com/klauspost/compress/huff0/bitreader.go index a4979e886..451160edd 100644 --- a/vendor/github.com/klauspost/compress/huff0/bitreader.go +++ b/vendor/github.com/klauspost/compress/huff0/bitreader.go @@ -8,115 +8,10 @@ package huff0 import ( "encoding/binary" "errors" + "fmt" "io" ) -// bitReader reads a bitstream in reverse. -// The last set bit indicates the start of the stream and is used -// for aligning the input. -type bitReader struct { - in []byte - off uint // next byte to read is at in[off - 1] - value uint64 - bitsRead uint8 -} - -// init initializes and resets the bit reader. -func (b *bitReader) init(in []byte) error { - if len(in) < 1 { - return errors.New("corrupt stream: too short") - } - b.in = in - b.off = uint(len(in)) - // The highest bit of the last byte indicates where to start - v := in[len(in)-1] - if v == 0 { - return errors.New("corrupt stream, did not find end of stream") - } - b.bitsRead = 64 - b.value = 0 - if len(in) >= 8 { - b.fillFastStart() - } else { - b.fill() - b.fill() - } - b.bitsRead += 8 - uint8(highBit32(uint32(v))) - return nil -} - -// peekBitsFast requires that at least one bit is requested every time. -// There are no checks if the buffer is filled. -func (b *bitReader) peekBitsFast(n uint8) uint16 { - const regMask = 64 - 1 - v := uint16((b.value << (b.bitsRead & regMask)) >> ((regMask + 1 - n) & regMask)) - return v -} - -// fillFast() will make sure at least 32 bits are available. -// There must be at least 4 bytes available. -func (b *bitReader) fillFast() { - if b.bitsRead < 32 { - return - } - - // 2 bounds checks. - v := b.in[b.off-4 : b.off] - v = v[:4] - low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) - b.value = (b.value << 32) | uint64(low) - b.bitsRead -= 32 - b.off -= 4 -} - -func (b *bitReader) advance(n uint8) { - b.bitsRead += n -} - -// fillFastStart() assumes the bitreader is empty and there is at least 8 bytes to read. -func (b *bitReader) fillFastStart() { - // Do single re-slice to avoid bounds checks. - b.value = binary.LittleEndian.Uint64(b.in[b.off-8:]) - b.bitsRead = 0 - b.off -= 8 -} - -// fill() will make sure at least 32 bits are available. -func (b *bitReader) fill() { - if b.bitsRead < 32 { - return - } - if b.off > 4 { - v := b.in[b.off-4:] - v = v[:4] - low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) - b.value = (b.value << 32) | uint64(low) - b.bitsRead -= 32 - b.off -= 4 - return - } - for b.off > 0 { - b.value = (b.value << 8) | uint64(b.in[b.off-1]) - b.bitsRead -= 8 - b.off-- - } -} - -// finished returns true if all bits have been read from the bit stream. -func (b *bitReader) finished() bool { - return b.off == 0 && b.bitsRead >= 64 -} - -// close the bitstream and returns an error if out-of-buffer reads occurred. -func (b *bitReader) close() error { - // Release reference. - b.in = nil - if b.bitsRead > 64 { - return io.ErrUnexpectedEOF - } - return nil -} - // bitReader reads a bitstream in reverse. // The last set bit indicates the start of the stream and is used // for aligning the input. @@ -213,10 +108,17 @@ func (b *bitReaderBytes) finished() bool { return b.off == 0 && b.bitsRead >= 64 } +func (b *bitReaderBytes) remaining() uint { + return b.off*8 + uint(64-b.bitsRead) +} + // close the bitstream and returns an error if out-of-buffer reads occurred. func (b *bitReaderBytes) close() error { // Release reference. b.in = nil + if b.remaining() > 0 { + return fmt.Errorf("corrupt input: %d bits remain on stream", b.remaining()) + } if b.bitsRead > 64 { return io.ErrUnexpectedEOF } @@ -263,6 +165,11 @@ func (b *bitReaderShifted) peekBitsFast(n uint8) uint16 { return uint16(b.value >> ((64 - n) & 63)) } +// peekTopBits(n) is equvialent to peekBitFast(64 - n) +func (b *bitReaderShifted) peekTopBits(n uint8) uint16 { + return uint16(b.value >> n) +} + func (b *bitReaderShifted) advance(n uint8) { b.bitsRead += n b.value <<= n & 63 @@ -318,10 +225,17 @@ func (b *bitReaderShifted) finished() bool { return b.off == 0 && b.bitsRead >= 64 } +func (b *bitReaderShifted) remaining() uint { + return b.off*8 + uint(64-b.bitsRead) +} + // close the bitstream and returns an error if out-of-buffer reads occurred. func (b *bitReaderShifted) close() error { // Release reference. b.in = nil + if b.remaining() > 0 { + return fmt.Errorf("corrupt input: %d bits remain on stream", b.remaining()) + } if b.bitsRead > 64 { return io.ErrUnexpectedEOF } diff --git a/vendor/github.com/klauspost/compress/huff0/compress.go b/vendor/github.com/klauspost/compress/huff0/compress.go index 8323dc053..bc95ac623 100644 --- a/vendor/github.com/klauspost/compress/huff0/compress.go +++ b/vendor/github.com/klauspost/compress/huff0/compress.go @@ -2,6 +2,7 @@ package huff0 import ( "fmt" + "math" "runtime" "sync" ) @@ -289,6 +290,10 @@ func (s *Scratch) compress4X(src []byte) ([]byte, error) { if err != nil { return nil, err } + if len(s.Out)-idx > math.MaxUint16 { + // We cannot store the size in the jump table + return nil, ErrIncompressible + } // Write compressed length as little endian before block. if i < 3 { // Last length is not written. @@ -332,6 +337,10 @@ func (s *Scratch) compress4Xp(src []byte) ([]byte, error) { return nil, errs[i] } o := s.tmpOut[i] + if len(o) > math.MaxUint16 { + // We cannot store the size in the jump table + return nil, ErrIncompressible + } // Write compressed length as little endian before block. if i < 3 { // Last length is not written. diff --git a/vendor/github.com/klauspost/compress/huff0/decompress.go b/vendor/github.com/klauspost/compress/huff0/decompress.go index 9b7cc8e97..04f652995 100644 --- a/vendor/github.com/klauspost/compress/huff0/decompress.go +++ b/vendor/github.com/klauspost/compress/huff0/decompress.go @@ -4,6 +4,7 @@ import ( "errors" "fmt" "io" + "sync" "github.com/klauspost/compress/fse" ) @@ -20,7 +21,7 @@ type dEntrySingle struct { // double-symbols decoding type dEntryDouble struct { - seq uint16 + seq [4]byte nBits uint8 len uint8 } @@ -216,6 +217,7 @@ func (s *Scratch) Decoder() *Decoder { return &Decoder{ dt: s.dt, actualTableLog: s.actualTableLog, + bufs: &s.decPool, } } @@ -223,6 +225,15 @@ func (s *Scratch) Decoder() *Decoder { type Decoder struct { dt dTable actualTableLog uint8 + bufs *sync.Pool +} + +func (d *Decoder) buffer() *[4][256]byte { + buf, ok := d.bufs.Get().(*[4][256]byte) + if ok { + return buf + } + return &[4][256]byte{} } // Decompress1X will decompress a 1X encoded stream. @@ -249,7 +260,8 @@ func (d *Decoder) Decompress1X(dst, src []byte) ([]byte, error) { dt := d.dt.single[:tlSize] // Use temp table to avoid bound checks/append penalty. - var buf [256]byte + bufs := d.buffer() + buf := &bufs[0] var off uint8 for br.off >= 8 { @@ -277,6 +289,7 @@ func (d *Decoder) Decompress1X(dst, src []byte) ([]byte, error) { if off == 0 { if len(dst)+256 > maxDecodedSize { br.close() + d.bufs.Put(bufs) return nil, ErrMaxDecodedSizeExceeded } dst = append(dst, buf[:]...) @@ -284,6 +297,7 @@ func (d *Decoder) Decompress1X(dst, src []byte) ([]byte, error) { } if len(dst)+int(off) > maxDecodedSize { + d.bufs.Put(bufs) br.close() return nil, ErrMaxDecodedSizeExceeded } @@ -310,6 +324,7 @@ func (d *Decoder) Decompress1X(dst, src []byte) ([]byte, error) { } } if len(dst) >= maxDecodedSize { + d.bufs.Put(bufs) br.close() return nil, ErrMaxDecodedSizeExceeded } @@ -319,6 +334,7 @@ func (d *Decoder) Decompress1X(dst, src []byte) ([]byte, error) { bitsLeft -= nBits dst = append(dst, uint8(v.entry>>8)) } + d.bufs.Put(bufs) return dst, br.close() } @@ -341,7 +357,8 @@ func (d *Decoder) decompress1X8Bit(dst, src []byte) ([]byte, error) { dt := d.dt.single[:256] // Use temp table to avoid bound checks/append penalty. - var buf [256]byte + bufs := d.buffer() + buf := &bufs[0] var off uint8 switch d.actualTableLog { @@ -369,6 +386,7 @@ func (d *Decoder) decompress1X8Bit(dst, src []byte) ([]byte, error) { if off == 0 { if len(dst)+256 > maxDecodedSize { br.close() + d.bufs.Put(bufs) return nil, ErrMaxDecodedSizeExceeded } dst = append(dst, buf[:]...) @@ -398,6 +416,7 @@ func (d *Decoder) decompress1X8Bit(dst, src []byte) ([]byte, error) { if off == 0 { if len(dst)+256 > maxDecodedSize { br.close() + d.bufs.Put(bufs) return nil, ErrMaxDecodedSizeExceeded } dst = append(dst, buf[:]...) @@ -426,6 +445,7 @@ func (d *Decoder) decompress1X8Bit(dst, src []byte) ([]byte, error) { off += 4 if off == 0 { if len(dst)+256 > maxDecodedSize { + d.bufs.Put(bufs) br.close() return nil, ErrMaxDecodedSizeExceeded } @@ -455,6 +475,7 @@ func (d *Decoder) decompress1X8Bit(dst, src []byte) ([]byte, error) { off += 4 if off == 0 { if len(dst)+256 > maxDecodedSize { + d.bufs.Put(bufs) br.close() return nil, ErrMaxDecodedSizeExceeded } @@ -484,6 +505,7 @@ func (d *Decoder) decompress1X8Bit(dst, src []byte) ([]byte, error) { off += 4 if off == 0 { if len(dst)+256 > maxDecodedSize { + d.bufs.Put(bufs) br.close() return nil, ErrMaxDecodedSizeExceeded } @@ -513,6 +535,7 @@ func (d *Decoder) decompress1X8Bit(dst, src []byte) ([]byte, error) { off += 4 if off == 0 { if len(dst)+256 > maxDecodedSize { + d.bufs.Put(bufs) br.close() return nil, ErrMaxDecodedSizeExceeded } @@ -542,6 +565,7 @@ func (d *Decoder) decompress1X8Bit(dst, src []byte) ([]byte, error) { off += 4 if off == 0 { if len(dst)+256 > maxDecodedSize { + d.bufs.Put(bufs) br.close() return nil, ErrMaxDecodedSizeExceeded } @@ -571,6 +595,7 @@ func (d *Decoder) decompress1X8Bit(dst, src []byte) ([]byte, error) { off += 4 if off == 0 { if len(dst)+256 > maxDecodedSize { + d.bufs.Put(bufs) br.close() return nil, ErrMaxDecodedSizeExceeded } @@ -578,10 +603,12 @@ func (d *Decoder) decompress1X8Bit(dst, src []byte) ([]byte, error) { } } default: + d.bufs.Put(bufs) return nil, fmt.Errorf("invalid tablelog: %d", d.actualTableLog) } if len(dst)+int(off) > maxDecodedSize { + d.bufs.Put(bufs) br.close() return nil, ErrMaxDecodedSizeExceeded } @@ -601,6 +628,7 @@ func (d *Decoder) decompress1X8Bit(dst, src []byte) ([]byte, error) { } if len(dst) >= maxDecodedSize { br.close() + d.bufs.Put(bufs) return nil, ErrMaxDecodedSizeExceeded } v := dt[br.peekByteFast()>>shift] @@ -609,6 +637,7 @@ func (d *Decoder) decompress1X8Bit(dst, src []byte) ([]byte, error) { bitsLeft -= int8(nBits) dst = append(dst, uint8(v.entry>>8)) } + d.bufs.Put(bufs) return dst, br.close() } @@ -628,7 +657,8 @@ func (d *Decoder) decompress1X8BitExactly(dst, src []byte) ([]byte, error) { dt := d.dt.single[:256] // Use temp table to avoid bound checks/append penalty. - var buf [256]byte + bufs := d.buffer() + buf := &bufs[0] var off uint8 const shift = 56 @@ -655,6 +685,7 @@ func (d *Decoder) decompress1X8BitExactly(dst, src []byte) ([]byte, error) { off += 4 if off == 0 { if len(dst)+256 > maxDecodedSize { + d.bufs.Put(bufs) br.close() return nil, ErrMaxDecodedSizeExceeded } @@ -663,6 +694,7 @@ func (d *Decoder) decompress1X8BitExactly(dst, src []byte) ([]byte, error) { } if len(dst)+int(off) > maxDecodedSize { + d.bufs.Put(bufs) br.close() return nil, ErrMaxDecodedSizeExceeded } @@ -679,6 +711,7 @@ func (d *Decoder) decompress1X8BitExactly(dst, src []byte) ([]byte, error) { } } if len(dst) >= maxDecodedSize { + d.bufs.Put(bufs) br.close() return nil, ErrMaxDecodedSizeExceeded } @@ -688,199 +721,10 @@ func (d *Decoder) decompress1X8BitExactly(dst, src []byte) ([]byte, error) { bitsLeft -= int8(nBits) dst = append(dst, uint8(v.entry>>8)) } + d.bufs.Put(bufs) return dst, br.close() } -// Decompress4X will decompress a 4X encoded stream. -// The length of the supplied input must match the end of a block exactly. -// The *capacity* of the dst slice must match the destination size of -// the uncompressed data exactly. -func (d *Decoder) Decompress4X(dst, src []byte) ([]byte, error) { - if len(d.dt.single) == 0 { - return nil, errors.New("no table loaded") - } - if len(src) < 6+(4*1) { - return nil, errors.New("input too small") - } - if use8BitTables && d.actualTableLog <= 8 { - return d.decompress4X8bit(dst, src) - } - - var br [4]bitReaderShifted - start := 6 - for i := 0; i < 3; i++ { - length := int(src[i*2]) | (int(src[i*2+1]) << 8) - if start+length >= len(src) { - return nil, errors.New("truncated input (or invalid offset)") - } - err := br[i].init(src[start : start+length]) - if err != nil { - return nil, err - } - start += length - } - err := br[3].init(src[start:]) - if err != nil { - return nil, err - } - - // destination, offset to match first output - dstSize := cap(dst) - dst = dst[:dstSize] - out := dst - dstEvery := (dstSize + 3) / 4 - - const tlSize = 1 << tableLogMax - const tlMask = tlSize - 1 - single := d.dt.single[:tlSize] - - // Use temp table to avoid bound checks/append penalty. - var buf [256]byte - var off uint8 - var decoded int - - // Decode 2 values from each decoder/loop. - const bufoff = 256 / 4 - for { - if br[0].off < 4 || br[1].off < 4 || br[2].off < 4 || br[3].off < 4 { - break - } - - { - const stream = 0 - const stream2 = 1 - br[stream].fillFast() - br[stream2].fillFast() - - val := br[stream].peekBitsFast(d.actualTableLog) - v := single[val&tlMask] - br[stream].advance(uint8(v.entry)) - buf[off+bufoff*stream] = uint8(v.entry >> 8) - - val2 := br[stream2].peekBitsFast(d.actualTableLog) - v2 := single[val2&tlMask] - br[stream2].advance(uint8(v2.entry)) - buf[off+bufoff*stream2] = uint8(v2.entry >> 8) - - val = br[stream].peekBitsFast(d.actualTableLog) - v = single[val&tlMask] - br[stream].advance(uint8(v.entry)) - buf[off+bufoff*stream+1] = uint8(v.entry >> 8) - - val2 = br[stream2].peekBitsFast(d.actualTableLog) - v2 = single[val2&tlMask] - br[stream2].advance(uint8(v2.entry)) - buf[off+bufoff*stream2+1] = uint8(v2.entry >> 8) - } - - { - const stream = 2 - const stream2 = 3 - br[stream].fillFast() - br[stream2].fillFast() - - val := br[stream].peekBitsFast(d.actualTableLog) - v := single[val&tlMask] - br[stream].advance(uint8(v.entry)) - buf[off+bufoff*stream] = uint8(v.entry >> 8) - - val2 := br[stream2].peekBitsFast(d.actualTableLog) - v2 := single[val2&tlMask] - br[stream2].advance(uint8(v2.entry)) - buf[off+bufoff*stream2] = uint8(v2.entry >> 8) - - val = br[stream].peekBitsFast(d.actualTableLog) - v = single[val&tlMask] - br[stream].advance(uint8(v.entry)) - buf[off+bufoff*stream+1] = uint8(v.entry >> 8) - - val2 = br[stream2].peekBitsFast(d.actualTableLog) - v2 = single[val2&tlMask] - br[stream2].advance(uint8(v2.entry)) - buf[off+bufoff*stream2+1] = uint8(v2.entry >> 8) - } - - off += 2 - - if off == bufoff { - if bufoff > dstEvery { - return nil, errors.New("corruption detected: stream overrun 1") - } - copy(out, buf[:bufoff]) - copy(out[dstEvery:], buf[bufoff:bufoff*2]) - copy(out[dstEvery*2:], buf[bufoff*2:bufoff*3]) - copy(out[dstEvery*3:], buf[bufoff*3:bufoff*4]) - off = 0 - out = out[bufoff:] - decoded += 256 - // There must at least be 3 buffers left. - if len(out) < dstEvery*3 { - return nil, errors.New("corruption detected: stream overrun 2") - } - } - } - if off > 0 { - ioff := int(off) - if len(out) < dstEvery*3+ioff { - return nil, errors.New("corruption detected: stream overrun 3") - } - copy(out, buf[:off]) - copy(out[dstEvery:dstEvery+ioff], buf[bufoff:bufoff*2]) - copy(out[dstEvery*2:dstEvery*2+ioff], buf[bufoff*2:bufoff*3]) - copy(out[dstEvery*3:dstEvery*3+ioff], buf[bufoff*3:bufoff*4]) - decoded += int(off) * 4 - out = out[off:] - } - - // Decode remaining. - for i := range br { - offset := dstEvery * i - br := &br[i] - bitsLeft := br.off*8 + uint(64-br.bitsRead) - for bitsLeft > 0 { - br.fill() - if false && br.bitsRead >= 32 { - if br.off >= 4 { - v := br.in[br.off-4:] - v = v[:4] - low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) - br.value = (br.value << 32) | uint64(low) - br.bitsRead -= 32 - br.off -= 4 - } else { - for br.off > 0 { - br.value = (br.value << 8) | uint64(br.in[br.off-1]) - br.bitsRead -= 8 - br.off-- - } - } - } - // end inline... - if offset >= len(out) { - return nil, errors.New("corruption detected: stream overrun 4") - } - - // Read value and increment offset. - val := br.peekBitsFast(d.actualTableLog) - v := single[val&tlMask].entry - nBits := uint8(v) - br.advance(nBits) - bitsLeft -= uint(nBits) - out[offset] = uint8(v >> 8) - offset++ - } - decoded += offset - dstEvery*i - err = br.close() - if err != nil { - return nil, err - } - } - if dstSize != decoded { - return nil, errors.New("corruption detected: short output block") - } - return dst, nil -} - // Decompress4X will decompress a 4X encoded stream. // The length of the supplied input must match the end of a block exactly. // The *capacity* of the dst slice must match the destination size of @@ -914,18 +758,18 @@ func (d *Decoder) decompress4X8bit(dst, src []byte) ([]byte, error) { out := dst dstEvery := (dstSize + 3) / 4 - shift := (8 - d.actualTableLog) & 7 + shift := (56 + (8 - d.actualTableLog)) & 63 const tlSize = 1 << 8 single := d.dt.single[:tlSize] // Use temp table to avoid bound checks/append penalty. - var buf [256]byte + buf := d.buffer() var off uint8 var decoded int // Decode 4 values from each decoder/loop. - const bufoff = 256 / 4 + const bufoff = 256 for { if br[0].off < 4 || br[1].off < 4 || br[2].off < 4 || br[3].off < 4 { break @@ -935,96 +779,109 @@ func (d *Decoder) decompress4X8bit(dst, src []byte) ([]byte, error) { // Interleave 2 decodes. const stream = 0 const stream2 = 1 - br[stream].fillFast() - br[stream2].fillFast() + br1 := &br[stream] + br2 := &br[stream2] + br1.fillFast() + br2.fillFast() - v := single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream] = uint8(v >> 8) - br[stream].advance(uint8(v)) + v := single[uint8(br1.value>>shift)].entry + v2 := single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off] = uint8(v >> 8) + buf[stream2][off] = uint8(v2 >> 8) - v2 := single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) + v = single[uint8(br1.value>>shift)].entry + v2 = single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off+1] = uint8(v >> 8) + buf[stream2][off+1] = uint8(v2 >> 8) - v = single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream+1] = uint8(v >> 8) - br[stream].advance(uint8(v)) + v = single[uint8(br1.value>>shift)].entry + v2 = single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off+2] = uint8(v >> 8) + buf[stream2][off+2] = uint8(v2 >> 8) - v2 = single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2+1] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) - - v = single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream+2] = uint8(v >> 8) - br[stream].advance(uint8(v)) - - v2 = single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2+2] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) - - v = single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream+3] = uint8(v >> 8) - br[stream].advance(uint8(v)) - - v2 = single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2+3] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) + v = single[uint8(br1.value>>shift)].entry + v2 = single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off+3] = uint8(v >> 8) + buf[stream2][off+3] = uint8(v2 >> 8) } { const stream = 2 const stream2 = 3 - br[stream].fillFast() - br[stream2].fillFast() + br1 := &br[stream] + br2 := &br[stream2] + br1.fillFast() + br2.fillFast() - v := single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream] = uint8(v >> 8) - br[stream].advance(uint8(v)) + v := single[uint8(br1.value>>shift)].entry + v2 := single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off] = uint8(v >> 8) + buf[stream2][off] = uint8(v2 >> 8) - v2 := single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) + v = single[uint8(br1.value>>shift)].entry + v2 = single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off+1] = uint8(v >> 8) + buf[stream2][off+1] = uint8(v2 >> 8) - v = single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream+1] = uint8(v >> 8) - br[stream].advance(uint8(v)) + v = single[uint8(br1.value>>shift)].entry + v2 = single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off+2] = uint8(v >> 8) + buf[stream2][off+2] = uint8(v2 >> 8) - v2 = single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2+1] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) - - v = single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream+2] = uint8(v >> 8) - br[stream].advance(uint8(v)) - - v2 = single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2+2] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) - - v = single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream+3] = uint8(v >> 8) - br[stream].advance(uint8(v)) - - v2 = single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2+3] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) + v = single[uint8(br1.value>>shift)].entry + v2 = single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off+3] = uint8(v >> 8) + buf[stream2][off+3] = uint8(v2 >> 8) } off += 4 - if off == bufoff { + if off == 0 { if bufoff > dstEvery { + d.bufs.Put(buf) return nil, errors.New("corruption detected: stream overrun 1") } - copy(out, buf[:bufoff]) - copy(out[dstEvery:], buf[bufoff:bufoff*2]) - copy(out[dstEvery*2:], buf[bufoff*2:bufoff*3]) - copy(out[dstEvery*3:], buf[bufoff*3:bufoff*4]) - off = 0 + copy(out, buf[0][:]) + copy(out[dstEvery:], buf[1][:]) + copy(out[dstEvery*2:], buf[2][:]) + copy(out[dstEvery*3:], buf[3][:]) out = out[bufoff:] - decoded += 256 + decoded += bufoff * 4 // There must at least be 3 buffers left. if len(out) < dstEvery*3 { + d.bufs.Put(buf) return nil, errors.New("corruption detected: stream overrun 2") } } @@ -1032,23 +889,31 @@ func (d *Decoder) decompress4X8bit(dst, src []byte) ([]byte, error) { if off > 0 { ioff := int(off) if len(out) < dstEvery*3+ioff { + d.bufs.Put(buf) return nil, errors.New("corruption detected: stream overrun 3") } - copy(out, buf[:off]) - copy(out[dstEvery:dstEvery+ioff], buf[bufoff:bufoff*2]) - copy(out[dstEvery*2:dstEvery*2+ioff], buf[bufoff*2:bufoff*3]) - copy(out[dstEvery*3:dstEvery*3+ioff], buf[bufoff*3:bufoff*4]) + copy(out, buf[0][:off]) + copy(out[dstEvery:], buf[1][:off]) + copy(out[dstEvery*2:], buf[2][:off]) + copy(out[dstEvery*3:], buf[3][:off]) decoded += int(off) * 4 out = out[off:] } // Decode remaining. + // Decode remaining. + remainBytes := dstEvery - (decoded / 4) for i := range br { offset := dstEvery * i + endsAt := offset + remainBytes + if endsAt > len(out) { + endsAt = len(out) + } br := &br[i] - bitsLeft := int(br.off*8) + int(64-br.bitsRead) + bitsLeft := br.remaining() for bitsLeft > 0 { if br.finished() { + d.bufs.Put(buf) return nil, io.ErrUnexpectedEOF } if br.bitsRead >= 56 { @@ -1068,24 +933,31 @@ func (d *Decoder) decompress4X8bit(dst, src []byte) ([]byte, error) { } } // end inline... - if offset >= len(out) { + if offset >= endsAt { + d.bufs.Put(buf) return nil, errors.New("corruption detected: stream overrun 4") } // Read value and increment offset. - v := single[br.peekByteFast()>>shift].entry + v := single[uint8(br.value>>shift)].entry nBits := uint8(v) br.advance(nBits) - bitsLeft -= int(nBits) + bitsLeft -= uint(nBits) out[offset] = uint8(v >> 8) offset++ } + if offset != endsAt { + d.bufs.Put(buf) + return nil, fmt.Errorf("corruption detected: short output block %d, end %d != %d", i, offset, endsAt) + } decoded += offset - dstEvery*i err = br.close() if err != nil { + d.bufs.Put(buf) return nil, err } } + d.bufs.Put(buf) if dstSize != decoded { return nil, errors.New("corruption detected: short output block") } @@ -1121,18 +993,18 @@ func (d *Decoder) decompress4X8bitExactly(dst, src []byte) ([]byte, error) { out := dst dstEvery := (dstSize + 3) / 4 - const shift = 0 + const shift = 56 const tlSize = 1 << 8 const tlMask = tlSize - 1 single := d.dt.single[:tlSize] // Use temp table to avoid bound checks/append penalty. - var buf [256]byte + buf := d.buffer() var off uint8 var decoded int // Decode 4 values from each decoder/loop. - const bufoff = 256 / 4 + const bufoff = 256 for { if br[0].off < 4 || br[1].off < 4 || br[2].off < 4 || br[3].off < 4 { break @@ -1142,96 +1014,109 @@ func (d *Decoder) decompress4X8bitExactly(dst, src []byte) ([]byte, error) { // Interleave 2 decodes. const stream = 0 const stream2 = 1 - br[stream].fillFast() - br[stream2].fillFast() + br1 := &br[stream] + br2 := &br[stream2] + br1.fillFast() + br2.fillFast() - v := single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream] = uint8(v >> 8) - br[stream].advance(uint8(v)) + v := single[uint8(br1.value>>shift)].entry + v2 := single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off] = uint8(v >> 8) + buf[stream2][off] = uint8(v2 >> 8) - v2 := single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) + v = single[uint8(br1.value>>shift)].entry + v2 = single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off+1] = uint8(v >> 8) + buf[stream2][off+1] = uint8(v2 >> 8) - v = single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream+1] = uint8(v >> 8) - br[stream].advance(uint8(v)) + v = single[uint8(br1.value>>shift)].entry + v2 = single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off+2] = uint8(v >> 8) + buf[stream2][off+2] = uint8(v2 >> 8) - v2 = single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2+1] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) - - v = single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream+2] = uint8(v >> 8) - br[stream].advance(uint8(v)) - - v2 = single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2+2] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) - - v = single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream+3] = uint8(v >> 8) - br[stream].advance(uint8(v)) - - v2 = single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2+3] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) + v = single[uint8(br1.value>>shift)].entry + v2 = single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off+3] = uint8(v >> 8) + buf[stream2][off+3] = uint8(v2 >> 8) } { const stream = 2 const stream2 = 3 - br[stream].fillFast() - br[stream2].fillFast() + br1 := &br[stream] + br2 := &br[stream2] + br1.fillFast() + br2.fillFast() - v := single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream] = uint8(v >> 8) - br[stream].advance(uint8(v)) + v := single[uint8(br1.value>>shift)].entry + v2 := single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off] = uint8(v >> 8) + buf[stream2][off] = uint8(v2 >> 8) - v2 := single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) + v = single[uint8(br1.value>>shift)].entry + v2 = single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off+1] = uint8(v >> 8) + buf[stream2][off+1] = uint8(v2 >> 8) - v = single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream+1] = uint8(v >> 8) - br[stream].advance(uint8(v)) + v = single[uint8(br1.value>>shift)].entry + v2 = single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off+2] = uint8(v >> 8) + buf[stream2][off+2] = uint8(v2 >> 8) - v2 = single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2+1] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) - - v = single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream+2] = uint8(v >> 8) - br[stream].advance(uint8(v)) - - v2 = single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2+2] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) - - v = single[br[stream].peekByteFast()>>shift].entry - buf[off+bufoff*stream+3] = uint8(v >> 8) - br[stream].advance(uint8(v)) - - v2 = single[br[stream2].peekByteFast()>>shift].entry - buf[off+bufoff*stream2+3] = uint8(v2 >> 8) - br[stream2].advance(uint8(v2)) + v = single[uint8(br1.value>>shift)].entry + v2 = single[uint8(br2.value>>shift)].entry + br1.bitsRead += uint8(v) + br1.value <<= v & 63 + br2.bitsRead += uint8(v2) + br2.value <<= v2 & 63 + buf[stream][off+3] = uint8(v >> 8) + buf[stream2][off+3] = uint8(v2 >> 8) } off += 4 - if off == bufoff { + if off == 0 { if bufoff > dstEvery { + d.bufs.Put(buf) return nil, errors.New("corruption detected: stream overrun 1") } - copy(out, buf[:bufoff]) - copy(out[dstEvery:], buf[bufoff:bufoff*2]) - copy(out[dstEvery*2:], buf[bufoff*2:bufoff*3]) - copy(out[dstEvery*3:], buf[bufoff*3:bufoff*4]) - off = 0 + copy(out, buf[0][:]) + copy(out[dstEvery:], buf[1][:]) + copy(out[dstEvery*2:], buf[2][:]) + copy(out[dstEvery*3:], buf[3][:]) out = out[bufoff:] - decoded += 256 + decoded += bufoff * 4 // There must at least be 3 buffers left. if len(out) < dstEvery*3 { + d.bufs.Put(buf) return nil, errors.New("corruption detected: stream overrun 2") } } @@ -1241,21 +1126,27 @@ func (d *Decoder) decompress4X8bitExactly(dst, src []byte) ([]byte, error) { if len(out) < dstEvery*3+ioff { return nil, errors.New("corruption detected: stream overrun 3") } - copy(out, buf[:off]) - copy(out[dstEvery:dstEvery+ioff], buf[bufoff:bufoff*2]) - copy(out[dstEvery*2:dstEvery*2+ioff], buf[bufoff*2:bufoff*3]) - copy(out[dstEvery*3:dstEvery*3+ioff], buf[bufoff*3:bufoff*4]) + copy(out, buf[0][:off]) + copy(out[dstEvery:], buf[1][:off]) + copy(out[dstEvery*2:], buf[2][:off]) + copy(out[dstEvery*3:], buf[3][:off]) decoded += int(off) * 4 out = out[off:] } // Decode remaining. + remainBytes := dstEvery - (decoded / 4) for i := range br { offset := dstEvery * i + endsAt := offset + remainBytes + if endsAt > len(out) { + endsAt = len(out) + } br := &br[i] - bitsLeft := int(br.off*8) + int(64-br.bitsRead) + bitsLeft := br.remaining() for bitsLeft > 0 { if br.finished() { + d.bufs.Put(buf) return nil, io.ErrUnexpectedEOF } if br.bitsRead >= 56 { @@ -1275,24 +1166,32 @@ func (d *Decoder) decompress4X8bitExactly(dst, src []byte) ([]byte, error) { } } // end inline... - if offset >= len(out) { + if offset >= endsAt { + d.bufs.Put(buf) return nil, errors.New("corruption detected: stream overrun 4") } // Read value and increment offset. - v := single[br.peekByteFast()>>shift].entry + v := single[br.peekByteFast()].entry nBits := uint8(v) br.advance(nBits) - bitsLeft -= int(nBits) + bitsLeft -= uint(nBits) out[offset] = uint8(v >> 8) offset++ } + if offset != endsAt { + d.bufs.Put(buf) + return nil, fmt.Errorf("corruption detected: short output block %d, end %d != %d", i, offset, endsAt) + } + decoded += offset - dstEvery*i err = br.close() if err != nil { + d.bufs.Put(buf) return nil, err } } + d.bufs.Put(buf) if dstSize != decoded { return nil, errors.New("corruption detected: short output block") } diff --git a/vendor/github.com/klauspost/compress/huff0/decompress_8b_amd64.s b/vendor/github.com/klauspost/compress/huff0/decompress_8b_amd64.s new file mode 100644 index 000000000..0d6cb1a96 --- /dev/null +++ b/vendor/github.com/klauspost/compress/huff0/decompress_8b_amd64.s @@ -0,0 +1,488 @@ +// +build !appengine +// +build gc +// +build !noasm + +#include "textflag.h" +#include "funcdata.h" +#include "go_asm.h" + +#define bufoff 256 // see decompress.go, we're using [4][256]byte table + +// func decompress4x_main_loop_x86(pbr0, pbr1, pbr2, pbr3 *bitReaderShifted, +// peekBits uint8, buf *byte, tbl *dEntrySingle) (int, bool) +TEXT ·decompress4x_8b_loop_x86(SB), NOSPLIT, $8 +#define off R8 +#define buffer DI +#define table SI + +#define br_bits_read R9 +#define br_value R10 +#define br_offset R11 +#define peek_bits R12 +#define exhausted DX + +#define br0 R13 +#define br1 R14 +#define br2 R15 +#define br3 BP + + MOVQ BP, 0(SP) + + XORQ exhausted, exhausted // exhausted = false + XORQ off, off // off = 0 + + MOVBQZX peekBits+32(FP), peek_bits + MOVQ buf+40(FP), buffer + MOVQ tbl+48(FP), table + + MOVQ pbr0+0(FP), br0 + MOVQ pbr1+8(FP), br1 + MOVQ pbr2+16(FP), br2 + MOVQ pbr3+24(FP), br3 + +main_loop: + + // const stream = 0 + // br0.fillFast() + MOVBQZX bitReaderShifted_bitsRead(br0), br_bits_read + MOVQ bitReaderShifted_value(br0), br_value + MOVQ bitReaderShifted_off(br0), br_offset + + // if b.bitsRead >= 32 { + CMPQ br_bits_read, $32 + JB skip_fill0 + + SUBQ $32, br_bits_read // b.bitsRead -= 32 + SUBQ $4, br_offset // b.off -= 4 + + // v := b.in[b.off-4 : b.off] + // v = v[:4] + // low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + MOVQ bitReaderShifted_in(br0), AX + MOVL 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) + + // b.value |= uint64(low) << (b.bitsRead & 63) + MOVQ br_bits_read, CX + SHLQ CL, AX + ORQ AX, br_value + + // exhausted = exhausted || (br0.off < 4) + CMPQ br_offset, $4 + SETLT DL + ORB DL, DH + + // } +skip_fill0: + + // val0 := br0.peekTopBits(peekBits) + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v0 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br0.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // val1 := br0.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v1 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br0.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + MOVBQZX AL, CX + SHLQ CX, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // these two writes get coalesced + // buf[stream][off] = uint8(v0.entry >> 8) + // buf[stream][off+1] = uint8(v1.entry >> 8) + MOVW BX, 0(buffer)(off*1) + + // SECOND PART: + // val2 := br0.peekTopBits(peekBits) + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v2 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br0.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // val3 := br0.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v3 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br0.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + MOVBQZX AL, CX + SHLQ CX, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // these two writes get coalesced + // buf[stream][off+2] = uint8(v2.entry >> 8) + // buf[stream][off+3] = uint8(v3.entry >> 8) + MOVW BX, 0+2(buffer)(off*1) + + // update the bitrader reader structure + MOVB br_bits_read, bitReaderShifted_bitsRead(br0) + MOVQ br_value, bitReaderShifted_value(br0) + MOVQ br_offset, bitReaderShifted_off(br0) + + // const stream = 1 + // br1.fillFast() + MOVBQZX bitReaderShifted_bitsRead(br1), br_bits_read + MOVQ bitReaderShifted_value(br1), br_value + MOVQ bitReaderShifted_off(br1), br_offset + + // if b.bitsRead >= 32 { + CMPQ br_bits_read, $32 + JB skip_fill1 + + SUBQ $32, br_bits_read // b.bitsRead -= 32 + SUBQ $4, br_offset // b.off -= 4 + + // v := b.in[b.off-4 : b.off] + // v = v[:4] + // low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + MOVQ bitReaderShifted_in(br1), AX + MOVL 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) + + // b.value |= uint64(low) << (b.bitsRead & 63) + MOVQ br_bits_read, CX + SHLQ CL, AX + ORQ AX, br_value + + // exhausted = exhausted || (br1.off < 4) + CMPQ br_offset, $4 + SETLT DL + ORB DL, DH + + // } +skip_fill1: + + // val0 := br1.peekTopBits(peekBits) + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v0 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br1.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // val1 := br1.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v1 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br1.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + MOVBQZX AL, CX + SHLQ CX, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // these two writes get coalesced + // buf[stream][off] = uint8(v0.entry >> 8) + // buf[stream][off+1] = uint8(v1.entry >> 8) + MOVW BX, 256(buffer)(off*1) + + // SECOND PART: + // val2 := br1.peekTopBits(peekBits) + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v2 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br1.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // val3 := br1.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v3 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br1.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + MOVBQZX AL, CX + SHLQ CX, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // these two writes get coalesced + // buf[stream][off+2] = uint8(v2.entry >> 8) + // buf[stream][off+3] = uint8(v3.entry >> 8) + MOVW BX, 256+2(buffer)(off*1) + + // update the bitrader reader structure + MOVB br_bits_read, bitReaderShifted_bitsRead(br1) + MOVQ br_value, bitReaderShifted_value(br1) + MOVQ br_offset, bitReaderShifted_off(br1) + + // const stream = 2 + // br2.fillFast() + MOVBQZX bitReaderShifted_bitsRead(br2), br_bits_read + MOVQ bitReaderShifted_value(br2), br_value + MOVQ bitReaderShifted_off(br2), br_offset + + // if b.bitsRead >= 32 { + CMPQ br_bits_read, $32 + JB skip_fill2 + + SUBQ $32, br_bits_read // b.bitsRead -= 32 + SUBQ $4, br_offset // b.off -= 4 + + // v := b.in[b.off-4 : b.off] + // v = v[:4] + // low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + MOVQ bitReaderShifted_in(br2), AX + MOVL 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) + + // b.value |= uint64(low) << (b.bitsRead & 63) + MOVQ br_bits_read, CX + SHLQ CL, AX + ORQ AX, br_value + + // exhausted = exhausted || (br2.off < 4) + CMPQ br_offset, $4 + SETLT DL + ORB DL, DH + + // } +skip_fill2: + + // val0 := br2.peekTopBits(peekBits) + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v0 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br2.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // val1 := br2.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v1 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br2.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + MOVBQZX AL, CX + SHLQ CX, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // these two writes get coalesced + // buf[stream][off] = uint8(v0.entry >> 8) + // buf[stream][off+1] = uint8(v1.entry >> 8) + MOVW BX, 512(buffer)(off*1) + + // SECOND PART: + // val2 := br2.peekTopBits(peekBits) + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v2 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br2.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // val3 := br2.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v3 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br2.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + MOVBQZX AL, CX + SHLQ CX, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // these two writes get coalesced + // buf[stream][off+2] = uint8(v2.entry >> 8) + // buf[stream][off+3] = uint8(v3.entry >> 8) + MOVW BX, 512+2(buffer)(off*1) + + // update the bitrader reader structure + MOVB br_bits_read, bitReaderShifted_bitsRead(br2) + MOVQ br_value, bitReaderShifted_value(br2) + MOVQ br_offset, bitReaderShifted_off(br2) + + // const stream = 3 + // br3.fillFast() + MOVBQZX bitReaderShifted_bitsRead(br3), br_bits_read + MOVQ bitReaderShifted_value(br3), br_value + MOVQ bitReaderShifted_off(br3), br_offset + + // if b.bitsRead >= 32 { + CMPQ br_bits_read, $32 + JB skip_fill3 + + SUBQ $32, br_bits_read // b.bitsRead -= 32 + SUBQ $4, br_offset // b.off -= 4 + + // v := b.in[b.off-4 : b.off] + // v = v[:4] + // low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + MOVQ bitReaderShifted_in(br3), AX + MOVL 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) + + // b.value |= uint64(low) << (b.bitsRead & 63) + MOVQ br_bits_read, CX + SHLQ CL, AX + ORQ AX, br_value + + // exhausted = exhausted || (br3.off < 4) + CMPQ br_offset, $4 + SETLT DL + ORB DL, DH + + // } +skip_fill3: + + // val0 := br3.peekTopBits(peekBits) + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v0 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br3.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // val1 := br3.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v1 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br3.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + MOVBQZX AL, CX + SHLQ CX, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // these two writes get coalesced + // buf[stream][off] = uint8(v0.entry >> 8) + // buf[stream][off+1] = uint8(v1.entry >> 8) + MOVW BX, 768(buffer)(off*1) + + // SECOND PART: + // val2 := br3.peekTopBits(peekBits) + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v2 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br3.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // val3 := br3.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v3 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br3.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + MOVBQZX AL, CX + SHLQ CX, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // these two writes get coalesced + // buf[stream][off+2] = uint8(v2.entry >> 8) + // buf[stream][off+3] = uint8(v3.entry >> 8) + MOVW BX, 768+2(buffer)(off*1) + + // update the bitrader reader structure + MOVB br_bits_read, bitReaderShifted_bitsRead(br3) + MOVQ br_value, bitReaderShifted_value(br3) + MOVQ br_offset, bitReaderShifted_off(br3) + + ADDQ $4, off // off += 2 + + TESTB DH, DH // any br[i].ofs < 4? + JNZ end + + CMPQ off, $bufoff + JL main_loop + +end: + MOVQ 0(SP), BP + + MOVB off, ret+56(FP) + RET + +#undef off +#undef buffer +#undef table + +#undef br_bits_read +#undef br_value +#undef br_offset +#undef peek_bits +#undef exhausted + +#undef br0 +#undef br1 +#undef br2 +#undef br3 diff --git a/vendor/github.com/klauspost/compress/huff0/decompress_8b_amd64.s.in b/vendor/github.com/klauspost/compress/huff0/decompress_8b_amd64.s.in new file mode 100644 index 000000000..6d477a2c1 --- /dev/null +++ b/vendor/github.com/klauspost/compress/huff0/decompress_8b_amd64.s.in @@ -0,0 +1,197 @@ +// +build !appengine +// +build gc +// +build !noasm + +#include "textflag.h" +#include "funcdata.h" +#include "go_asm.h" + + +#define bufoff 256 // see decompress.go, we're using [4][256]byte table + +//func decompress4x_main_loop_x86(pbr0, pbr1, pbr2, pbr3 *bitReaderShifted, +// peekBits uint8, buf *byte, tbl *dEntrySingle) (int, bool) +TEXT ·decompress4x_8b_loop_x86(SB), NOSPLIT, $8 +#define off R8 +#define buffer DI +#define table SI + +#define br_bits_read R9 +#define br_value R10 +#define br_offset R11 +#define peek_bits R12 +#define exhausted DX + +#define br0 R13 +#define br1 R14 +#define br2 R15 +#define br3 BP + + MOVQ BP, 0(SP) + + XORQ exhausted, exhausted // exhausted = false + XORQ off, off // off = 0 + + MOVBQZX peekBits+32(FP), peek_bits + MOVQ buf+40(FP), buffer + MOVQ tbl+48(FP), table + + MOVQ pbr0+0(FP), br0 + MOVQ pbr1+8(FP), br1 + MOVQ pbr2+16(FP), br2 + MOVQ pbr3+24(FP), br3 + +main_loop: +{{ define "decode_2_values_x86" }} + // const stream = {{ var "id" }} + // br{{ var "id"}}.fillFast() + MOVBQZX bitReaderShifted_bitsRead(br{{ var "id" }}), br_bits_read + MOVQ bitReaderShifted_value(br{{ var "id" }}), br_value + MOVQ bitReaderShifted_off(br{{ var "id" }}), br_offset + + // if b.bitsRead >= 32 { + CMPQ br_bits_read, $32 + JB skip_fill{{ var "id" }} + + SUBQ $32, br_bits_read // b.bitsRead -= 32 + SUBQ $4, br_offset // b.off -= 4 + + // v := b.in[b.off-4 : b.off] + // v = v[:4] + // low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + MOVQ bitReaderShifted_in(br{{ var "id" }}), AX + MOVL 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) + + // b.value |= uint64(low) << (b.bitsRead & 63) + MOVQ br_bits_read, CX + SHLQ CL, AX + ORQ AX, br_value + + // exhausted = exhausted || (br{{ var "id"}}.off < 4) + CMPQ br_offset, $4 + SETLT DL + ORB DL, DH + // } +skip_fill{{ var "id" }}: + + // val0 := br{{ var "id"}}.peekTopBits(peekBits) + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v0 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br{{ var "id"}}.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // val1 := br{{ var "id"}}.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v1 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br{{ var "id"}}.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + MOVBQZX AL, CX + SHLQ CX, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + + // these two writes get coalesced + // buf[stream][off] = uint8(v0.entry >> 8) + // buf[stream][off+1] = uint8(v1.entry >> 8) + MOVW BX, {{ var "bufofs" }}(buffer)(off*1) + + // SECOND PART: + // val2 := br{{ var "id"}}.peekTopBits(peekBits) + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v2 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br{{ var "id"}}.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + // val3 := br{{ var "id"}}.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + + // v3 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br{{ var "id"}}.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + MOVBQZX AL, CX + SHLQ CX, br_value // value <<= n + ADDQ CX, br_bits_read // bits_read += n + + + // these two writes get coalesced + // buf[stream][off+2] = uint8(v2.entry >> 8) + // buf[stream][off+3] = uint8(v3.entry >> 8) + MOVW BX, {{ var "bufofs" }}+2(buffer)(off*1) + + // update the bitrader reader structure + MOVB br_bits_read, bitReaderShifted_bitsRead(br{{ var "id" }}) + MOVQ br_value, bitReaderShifted_value(br{{ var "id" }}) + MOVQ br_offset, bitReaderShifted_off(br{{ var "id" }}) +{{ end }} + + {{ set "id" "0" }} + {{ set "ofs" "0" }} + {{ set "bufofs" "0" }} {{/* id * bufoff */}} + {{ template "decode_2_values_x86" . }} + + {{ set "id" "1" }} + {{ set "ofs" "8" }} + {{ set "bufofs" "256" }} + {{ template "decode_2_values_x86" . }} + + {{ set "id" "2" }} + {{ set "ofs" "16" }} + {{ set "bufofs" "512" }} + {{ template "decode_2_values_x86" . }} + + {{ set "id" "3" }} + {{ set "ofs" "24" }} + {{ set "bufofs" "768" }} + {{ template "decode_2_values_x86" . }} + + ADDQ $4, off // off += 2 + + TESTB DH, DH // any br[i].ofs < 4? + JNZ end + + CMPQ off, $bufoff + JL main_loop +end: + MOVQ 0(SP), BP + + MOVB off, ret+56(FP) + RET +#undef off +#undef buffer +#undef table + +#undef br_bits_read +#undef br_value +#undef br_offset +#undef peek_bits +#undef exhausted + +#undef br0 +#undef br1 +#undef br2 +#undef br3 diff --git a/vendor/github.com/klauspost/compress/huff0/decompress_amd64.go b/vendor/github.com/klauspost/compress/huff0/decompress_amd64.go new file mode 100644 index 000000000..d47f6644f --- /dev/null +++ b/vendor/github.com/klauspost/compress/huff0/decompress_amd64.go @@ -0,0 +1,181 @@ +//go:build amd64 && !appengine && !noasm && gc +// +build amd64,!appengine,!noasm,gc + +// This file contains the specialisation of Decoder.Decompress4X +// that uses an asm implementation of its main loop. +package huff0 + +import ( + "errors" + "fmt" +) + +// decompress4x_main_loop_x86 is an x86 assembler implementation +// of Decompress4X when tablelog > 8. +// go:noescape +func decompress4x_main_loop_x86(pbr0, pbr1, pbr2, pbr3 *bitReaderShifted, + peekBits uint8, buf *byte, tbl *dEntrySingle) uint8 + +// decompress4x_8b_loop_x86 is an x86 assembler implementation +// of Decompress4X when tablelog <= 8 which decodes 4 entries +// per loop. +// go:noescape +func decompress4x_8b_loop_x86(pbr0, pbr1, pbr2, pbr3 *bitReaderShifted, + peekBits uint8, buf *byte, tbl *dEntrySingle) uint8 + +// fallback8BitSize is the size where using Go version is faster. +const fallback8BitSize = 800 + +// Decompress4X will decompress a 4X encoded stream. +// The length of the supplied input must match the end of a block exactly. +// The *capacity* of the dst slice must match the destination size of +// the uncompressed data exactly. +func (d *Decoder) Decompress4X(dst, src []byte) ([]byte, error) { + if len(d.dt.single) == 0 { + return nil, errors.New("no table loaded") + } + if len(src) < 6+(4*1) { + return nil, errors.New("input too small") + } + + use8BitTables := d.actualTableLog <= 8 + if cap(dst) < fallback8BitSize && use8BitTables { + return d.decompress4X8bit(dst, src) + } + var br [4]bitReaderShifted + // Decode "jump table" + start := 6 + for i := 0; i < 3; i++ { + length := int(src[i*2]) | (int(src[i*2+1]) << 8) + if start+length >= len(src) { + return nil, errors.New("truncated input (or invalid offset)") + } + err := br[i].init(src[start : start+length]) + if err != nil { + return nil, err + } + start += length + } + err := br[3].init(src[start:]) + if err != nil { + return nil, err + } + + // destination, offset to match first output + dstSize := cap(dst) + dst = dst[:dstSize] + out := dst + dstEvery := (dstSize + 3) / 4 + + const tlSize = 1 << tableLogMax + const tlMask = tlSize - 1 + single := d.dt.single[:tlSize] + + // Use temp table to avoid bound checks/append penalty. + buf := d.buffer() + var off uint8 + var decoded int + + const debug = false + + // see: bitReaderShifted.peekBitsFast() + peekBits := uint8((64 - d.actualTableLog) & 63) + + // Decode 2 values from each decoder/loop. + const bufoff = 256 + for { + if br[0].off < 4 || br[1].off < 4 || br[2].off < 4 || br[3].off < 4 { + break + } + + if use8BitTables { + off = decompress4x_8b_loop_x86(&br[0], &br[1], &br[2], &br[3], peekBits, &buf[0][0], &single[0]) + } else { + off = decompress4x_main_loop_x86(&br[0], &br[1], &br[2], &br[3], peekBits, &buf[0][0], &single[0]) + } + if debug { + fmt.Print("DEBUG: ") + fmt.Printf("off=%d,", off) + for i := 0; i < 4; i++ { + fmt.Printf(" br[%d]={bitsRead=%d, value=%x, off=%d}", + i, br[i].bitsRead, br[i].value, br[i].off) + } + fmt.Println("") + } + + if off != 0 { + break + } + + if bufoff > dstEvery { + d.bufs.Put(buf) + return nil, errors.New("corruption detected: stream overrun 1") + } + copy(out, buf[0][:]) + copy(out[dstEvery:], buf[1][:]) + copy(out[dstEvery*2:], buf[2][:]) + copy(out[dstEvery*3:], buf[3][:]) + out = out[bufoff:] + decoded += bufoff * 4 + // There must at least be 3 buffers left. + if len(out) < dstEvery*3 { + d.bufs.Put(buf) + return nil, errors.New("corruption detected: stream overrun 2") + } + } + if off > 0 { + ioff := int(off) + if len(out) < dstEvery*3+ioff { + d.bufs.Put(buf) + return nil, errors.New("corruption detected: stream overrun 3") + } + copy(out, buf[0][:off]) + copy(out[dstEvery:], buf[1][:off]) + copy(out[dstEvery*2:], buf[2][:off]) + copy(out[dstEvery*3:], buf[3][:off]) + decoded += int(off) * 4 + out = out[off:] + } + + // Decode remaining. + remainBytes := dstEvery - (decoded / 4) + for i := range br { + offset := dstEvery * i + endsAt := offset + remainBytes + if endsAt > len(out) { + endsAt = len(out) + } + br := &br[i] + bitsLeft := br.remaining() + for bitsLeft > 0 { + br.fill() + if offset >= endsAt { + d.bufs.Put(buf) + return nil, errors.New("corruption detected: stream overrun 4") + } + + // Read value and increment offset. + val := br.peekBitsFast(d.actualTableLog) + v := single[val&tlMask].entry + nBits := uint8(v) + br.advance(nBits) + bitsLeft -= uint(nBits) + out[offset] = uint8(v >> 8) + offset++ + } + if offset != endsAt { + d.bufs.Put(buf) + return nil, fmt.Errorf("corruption detected: short output block %d, end %d != %d", i, offset, endsAt) + } + decoded += offset - dstEvery*i + err = br.close() + if err != nil { + return nil, err + } + } + d.bufs.Put(buf) + if dstSize != decoded { + return nil, errors.New("corruption detected: short output block") + } + return dst, nil +} diff --git a/vendor/github.com/klauspost/compress/huff0/decompress_amd64.s b/vendor/github.com/klauspost/compress/huff0/decompress_amd64.s new file mode 100644 index 000000000..2edad3ea5 --- /dev/null +++ b/vendor/github.com/klauspost/compress/huff0/decompress_amd64.s @@ -0,0 +1,506 @@ +// +build !appengine +// +build gc +// +build !noasm + +#include "textflag.h" +#include "funcdata.h" +#include "go_asm.h" + +#ifdef GOAMD64_v4 +#ifndef GOAMD64_v3 +#define GOAMD64_v3 +#endif +#endif + +#define bufoff 256 // see decompress.go, we're using [4][256]byte table + +// func decompress4x_main_loop_x86(pbr0, pbr1, pbr2, pbr3 *bitReaderShifted, +// peekBits uint8, buf *byte, tbl *dEntrySingle) (int, bool) +TEXT ·decompress4x_main_loop_x86(SB), NOSPLIT, $8 +#define off R8 +#define buffer DI +#define table SI + +#define br_bits_read R9 +#define br_value R10 +#define br_offset R11 +#define peek_bits R12 +#define exhausted DX + +#define br0 R13 +#define br1 R14 +#define br2 R15 +#define br3 BP + + MOVQ BP, 0(SP) + + XORQ exhausted, exhausted // exhausted = false + XORQ off, off // off = 0 + + MOVBQZX peekBits+32(FP), peek_bits + MOVQ buf+40(FP), buffer + MOVQ tbl+48(FP), table + + MOVQ pbr0+0(FP), br0 + MOVQ pbr1+8(FP), br1 + MOVQ pbr2+16(FP), br2 + MOVQ pbr3+24(FP), br3 + +main_loop: + + // const stream = 0 + // br0.fillFast() + MOVBQZX bitReaderShifted_bitsRead(br0), br_bits_read + MOVQ bitReaderShifted_value(br0), br_value + MOVQ bitReaderShifted_off(br0), br_offset + + // We must have at least 2 * max tablelog left + CMPQ br_bits_read, $64-22 + JBE skip_fill0 + + SUBQ $32, br_bits_read // b.bitsRead -= 32 + SUBQ $4, br_offset // b.off -= 4 + + // v := b.in[b.off-4 : b.off] + // v = v[:4] + // low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + MOVQ bitReaderShifted_in(br0), AX + + // b.value |= uint64(low) << (b.bitsRead & 63) +#ifdef GOAMD64_v3 + SHLXQ br_bits_read, 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) << (b.bitsRead & 63) + +#else + MOVL 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) + MOVQ br_bits_read, CX + SHLQ CL, AX + +#endif + + ORQ AX, br_value + + // exhausted = exhausted || (br0.off < 4) + CMPQ br_offset, $4 + SETLT DL + ORB DL, DH + + // } +skip_fill0: + + // val0 := br0.peekTopBits(peekBits) +#ifdef GOAMD64_v3 + SHRXQ peek_bits, br_value, AX // AX = (value >> peek_bits) & mask + +#else + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + +#endif + + // v0 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br0.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + +#ifdef GOAMD64_v3 + MOVBQZX AL, CX + SHLXQ AX, br_value, br_value // value <<= n + +#else + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + +#endif + + ADDQ CX, br_bits_read // bits_read += n + +#ifdef GOAMD64_v3 + SHRXQ peek_bits, br_value, AX // AX = (value >> peek_bits) & mask + +#else + // val1 := br0.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + +#endif + + // v1 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br0.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + +#ifdef GOAMD64_v3 + MOVBQZX AL, CX + SHLXQ AX, br_value, br_value // value <<= n + +#else + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + +#endif + + ADDQ CX, br_bits_read // bits_read += n + + // these two writes get coalesced + // buf[stream][off] = uint8(v0.entry >> 8) + // buf[stream][off+1] = uint8(v1.entry >> 8) + MOVW BX, 0(buffer)(off*1) + + // update the bitrader reader structure + MOVB br_bits_read, bitReaderShifted_bitsRead(br0) + MOVQ br_value, bitReaderShifted_value(br0) + MOVQ br_offset, bitReaderShifted_off(br0) + + // const stream = 1 + // br1.fillFast() + MOVBQZX bitReaderShifted_bitsRead(br1), br_bits_read + MOVQ bitReaderShifted_value(br1), br_value + MOVQ bitReaderShifted_off(br1), br_offset + + // We must have at least 2 * max tablelog left + CMPQ br_bits_read, $64-22 + JBE skip_fill1 + + SUBQ $32, br_bits_read // b.bitsRead -= 32 + SUBQ $4, br_offset // b.off -= 4 + + // v := b.in[b.off-4 : b.off] + // v = v[:4] + // low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + MOVQ bitReaderShifted_in(br1), AX + + // b.value |= uint64(low) << (b.bitsRead & 63) +#ifdef GOAMD64_v3 + SHLXQ br_bits_read, 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) << (b.bitsRead & 63) + +#else + MOVL 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) + MOVQ br_bits_read, CX + SHLQ CL, AX + +#endif + + ORQ AX, br_value + + // exhausted = exhausted || (br1.off < 4) + CMPQ br_offset, $4 + SETLT DL + ORB DL, DH + + // } +skip_fill1: + + // val0 := br1.peekTopBits(peekBits) +#ifdef GOAMD64_v3 + SHRXQ peek_bits, br_value, AX // AX = (value >> peek_bits) & mask + +#else + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + +#endif + + // v0 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br1.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + +#ifdef GOAMD64_v3 + MOVBQZX AL, CX + SHLXQ AX, br_value, br_value // value <<= n + +#else + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + +#endif + + ADDQ CX, br_bits_read // bits_read += n + +#ifdef GOAMD64_v3 + SHRXQ peek_bits, br_value, AX // AX = (value >> peek_bits) & mask + +#else + // val1 := br1.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + +#endif + + // v1 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br1.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + +#ifdef GOAMD64_v3 + MOVBQZX AL, CX + SHLXQ AX, br_value, br_value // value <<= n + +#else + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + +#endif + + ADDQ CX, br_bits_read // bits_read += n + + // these two writes get coalesced + // buf[stream][off] = uint8(v0.entry >> 8) + // buf[stream][off+1] = uint8(v1.entry >> 8) + MOVW BX, 256(buffer)(off*1) + + // update the bitrader reader structure + MOVB br_bits_read, bitReaderShifted_bitsRead(br1) + MOVQ br_value, bitReaderShifted_value(br1) + MOVQ br_offset, bitReaderShifted_off(br1) + + // const stream = 2 + // br2.fillFast() + MOVBQZX bitReaderShifted_bitsRead(br2), br_bits_read + MOVQ bitReaderShifted_value(br2), br_value + MOVQ bitReaderShifted_off(br2), br_offset + + // We must have at least 2 * max tablelog left + CMPQ br_bits_read, $64-22 + JBE skip_fill2 + + SUBQ $32, br_bits_read // b.bitsRead -= 32 + SUBQ $4, br_offset // b.off -= 4 + + // v := b.in[b.off-4 : b.off] + // v = v[:4] + // low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + MOVQ bitReaderShifted_in(br2), AX + + // b.value |= uint64(low) << (b.bitsRead & 63) +#ifdef GOAMD64_v3 + SHLXQ br_bits_read, 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) << (b.bitsRead & 63) + +#else + MOVL 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) + MOVQ br_bits_read, CX + SHLQ CL, AX + +#endif + + ORQ AX, br_value + + // exhausted = exhausted || (br2.off < 4) + CMPQ br_offset, $4 + SETLT DL + ORB DL, DH + + // } +skip_fill2: + + // val0 := br2.peekTopBits(peekBits) +#ifdef GOAMD64_v3 + SHRXQ peek_bits, br_value, AX // AX = (value >> peek_bits) & mask + +#else + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + +#endif + + // v0 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br2.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + +#ifdef GOAMD64_v3 + MOVBQZX AL, CX + SHLXQ AX, br_value, br_value // value <<= n + +#else + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + +#endif + + ADDQ CX, br_bits_read // bits_read += n + +#ifdef GOAMD64_v3 + SHRXQ peek_bits, br_value, AX // AX = (value >> peek_bits) & mask + +#else + // val1 := br2.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + +#endif + + // v1 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br2.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + +#ifdef GOAMD64_v3 + MOVBQZX AL, CX + SHLXQ AX, br_value, br_value // value <<= n + +#else + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + +#endif + + ADDQ CX, br_bits_read // bits_read += n + + // these two writes get coalesced + // buf[stream][off] = uint8(v0.entry >> 8) + // buf[stream][off+1] = uint8(v1.entry >> 8) + MOVW BX, 512(buffer)(off*1) + + // update the bitrader reader structure + MOVB br_bits_read, bitReaderShifted_bitsRead(br2) + MOVQ br_value, bitReaderShifted_value(br2) + MOVQ br_offset, bitReaderShifted_off(br2) + + // const stream = 3 + // br3.fillFast() + MOVBQZX bitReaderShifted_bitsRead(br3), br_bits_read + MOVQ bitReaderShifted_value(br3), br_value + MOVQ bitReaderShifted_off(br3), br_offset + + // We must have at least 2 * max tablelog left + CMPQ br_bits_read, $64-22 + JBE skip_fill3 + + SUBQ $32, br_bits_read // b.bitsRead -= 32 + SUBQ $4, br_offset // b.off -= 4 + + // v := b.in[b.off-4 : b.off] + // v = v[:4] + // low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + MOVQ bitReaderShifted_in(br3), AX + + // b.value |= uint64(low) << (b.bitsRead & 63) +#ifdef GOAMD64_v3 + SHLXQ br_bits_read, 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) << (b.bitsRead & 63) + +#else + MOVL 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) + MOVQ br_bits_read, CX + SHLQ CL, AX + +#endif + + ORQ AX, br_value + + // exhausted = exhausted || (br3.off < 4) + CMPQ br_offset, $4 + SETLT DL + ORB DL, DH + + // } +skip_fill3: + + // val0 := br3.peekTopBits(peekBits) +#ifdef GOAMD64_v3 + SHRXQ peek_bits, br_value, AX // AX = (value >> peek_bits) & mask + +#else + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + +#endif + + // v0 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br3.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + +#ifdef GOAMD64_v3 + MOVBQZX AL, CX + SHLXQ AX, br_value, br_value // value <<= n + +#else + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + +#endif + + ADDQ CX, br_bits_read // bits_read += n + +#ifdef GOAMD64_v3 + SHRXQ peek_bits, br_value, AX // AX = (value >> peek_bits) & mask + +#else + // val1 := br3.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask + +#endif + + // v1 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br3.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + +#ifdef GOAMD64_v3 + MOVBQZX AL, CX + SHLXQ AX, br_value, br_value // value <<= n + +#else + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n + +#endif + + ADDQ CX, br_bits_read // bits_read += n + + // these two writes get coalesced + // buf[stream][off] = uint8(v0.entry >> 8) + // buf[stream][off+1] = uint8(v1.entry >> 8) + MOVW BX, 768(buffer)(off*1) + + // update the bitrader reader structure + MOVB br_bits_read, bitReaderShifted_bitsRead(br3) + MOVQ br_value, bitReaderShifted_value(br3) + MOVQ br_offset, bitReaderShifted_off(br3) + + ADDQ $2, off // off += 2 + + TESTB DH, DH // any br[i].ofs < 4? + JNZ end + + CMPQ off, $bufoff + JL main_loop + +end: + MOVQ 0(SP), BP + + MOVB off, ret+56(FP) + RET + +#undef off +#undef buffer +#undef table + +#undef br_bits_read +#undef br_value +#undef br_offset +#undef peek_bits +#undef exhausted + +#undef br0 +#undef br1 +#undef br2 +#undef br3 diff --git a/vendor/github.com/klauspost/compress/huff0/decompress_amd64.s.in b/vendor/github.com/klauspost/compress/huff0/decompress_amd64.s.in new file mode 100644 index 000000000..330d86ae1 --- /dev/null +++ b/vendor/github.com/klauspost/compress/huff0/decompress_amd64.s.in @@ -0,0 +1,195 @@ +// +build !appengine +// +build gc +// +build !noasm + +#include "textflag.h" +#include "funcdata.h" +#include "go_asm.h" + +#ifdef GOAMD64_v4 +#ifndef GOAMD64_v3 +#define GOAMD64_v3 +#endif +#endif + +#define bufoff 256 // see decompress.go, we're using [4][256]byte table + +//func decompress4x_main_loop_x86(pbr0, pbr1, pbr2, pbr3 *bitReaderShifted, +// peekBits uint8, buf *byte, tbl *dEntrySingle) (int, bool) +TEXT ·decompress4x_main_loop_x86(SB), NOSPLIT, $8 +#define off R8 +#define buffer DI +#define table SI + +#define br_bits_read R9 +#define br_value R10 +#define br_offset R11 +#define peek_bits R12 +#define exhausted DX + +#define br0 R13 +#define br1 R14 +#define br2 R15 +#define br3 BP + + MOVQ BP, 0(SP) + + XORQ exhausted, exhausted // exhausted = false + XORQ off, off // off = 0 + + MOVBQZX peekBits+32(FP), peek_bits + MOVQ buf+40(FP), buffer + MOVQ tbl+48(FP), table + + MOVQ pbr0+0(FP), br0 + MOVQ pbr1+8(FP), br1 + MOVQ pbr2+16(FP), br2 + MOVQ pbr3+24(FP), br3 + +main_loop: +{{ define "decode_2_values_x86" }} + // const stream = {{ var "id" }} + // br{{ var "id"}}.fillFast() + MOVBQZX bitReaderShifted_bitsRead(br{{ var "id" }}), br_bits_read + MOVQ bitReaderShifted_value(br{{ var "id" }}), br_value + MOVQ bitReaderShifted_off(br{{ var "id" }}), br_offset + + // We must have at least 2 * max tablelog left + CMPQ br_bits_read, $64-22 + JBE skip_fill{{ var "id" }} + + SUBQ $32, br_bits_read // b.bitsRead -= 32 + SUBQ $4, br_offset // b.off -= 4 + + // v := b.in[b.off-4 : b.off] + // v = v[:4] + // low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + MOVQ bitReaderShifted_in(br{{ var "id" }}), AX + + // b.value |= uint64(low) << (b.bitsRead & 63) +#ifdef GOAMD64_v3 + SHLXQ br_bits_read, 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) << (b.bitsRead & 63) +#else + MOVL 0(br_offset)(AX*1), AX // AX = uint32(b.in[b.off:b.off+4]) + MOVQ br_bits_read, CX + SHLQ CL, AX +#endif + + ORQ AX, br_value + + // exhausted = exhausted || (br{{ var "id"}}.off < 4) + CMPQ br_offset, $4 + SETLT DL + ORB DL, DH + // } +skip_fill{{ var "id" }}: + + // val0 := br{{ var "id"}}.peekTopBits(peekBits) +#ifdef GOAMD64_v3 + SHRXQ peek_bits, br_value, AX // AX = (value >> peek_bits) & mask +#else + MOVQ br_value, AX + MOVQ peek_bits, CX + SHRQ CL, AX // AX = (value >> peek_bits) & mask +#endif + + // v0 := table[val0&mask] + MOVW 0(table)(AX*2), AX // AX - v0 + + // br{{ var "id"}}.advance(uint8(v0.entry)) + MOVB AH, BL // BL = uint8(v0.entry >> 8) + +#ifdef GOAMD64_v3 + MOVBQZX AL, CX + SHLXQ AX, br_value, br_value // value <<= n +#else + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n +#endif + + ADDQ CX, br_bits_read // bits_read += n + + +#ifdef GOAMD64_v3 + SHRXQ peek_bits, br_value, AX // AX = (value >> peek_bits) & mask +#else + // val1 := br{{ var "id"}}.peekTopBits(peekBits) + MOVQ peek_bits, CX + MOVQ br_value, AX + SHRQ CL, AX // AX = (value >> peek_bits) & mask +#endif + + // v1 := table[val1&mask] + MOVW 0(table)(AX*2), AX // AX - v1 + + // br{{ var "id"}}.advance(uint8(v1.entry)) + MOVB AH, BH // BH = uint8(v1.entry >> 8) + +#ifdef GOAMD64_v3 + MOVBQZX AL, CX + SHLXQ AX, br_value, br_value // value <<= n +#else + MOVBQZX AL, CX + SHLQ CL, br_value // value <<= n +#endif + + ADDQ CX, br_bits_read // bits_read += n + + + // these two writes get coalesced + // buf[stream][off] = uint8(v0.entry >> 8) + // buf[stream][off+1] = uint8(v1.entry >> 8) + MOVW BX, {{ var "bufofs" }}(buffer)(off*1) + + // update the bitrader reader structure + MOVB br_bits_read, bitReaderShifted_bitsRead(br{{ var "id" }}) + MOVQ br_value, bitReaderShifted_value(br{{ var "id" }}) + MOVQ br_offset, bitReaderShifted_off(br{{ var "id" }}) +{{ end }} + + {{ set "id" "0" }} + {{ set "ofs" "0" }} + {{ set "bufofs" "0" }} {{/* id * bufoff */}} + {{ template "decode_2_values_x86" . }} + + {{ set "id" "1" }} + {{ set "ofs" "8" }} + {{ set "bufofs" "256" }} + {{ template "decode_2_values_x86" . }} + + {{ set "id" "2" }} + {{ set "ofs" "16" }} + {{ set "bufofs" "512" }} + {{ template "decode_2_values_x86" . }} + + {{ set "id" "3" }} + {{ set "ofs" "24" }} + {{ set "bufofs" "768" }} + {{ template "decode_2_values_x86" . }} + + ADDQ $2, off // off += 2 + + TESTB DH, DH // any br[i].ofs < 4? + JNZ end + + CMPQ off, $bufoff + JL main_loop +end: + MOVQ 0(SP), BP + + MOVB off, ret+56(FP) + RET +#undef off +#undef buffer +#undef table + +#undef br_bits_read +#undef br_value +#undef br_offset +#undef peek_bits +#undef exhausted + +#undef br0 +#undef br1 +#undef br2 +#undef br3 diff --git a/vendor/github.com/klauspost/compress/huff0/decompress_generic.go b/vendor/github.com/klauspost/compress/huff0/decompress_generic.go new file mode 100644 index 000000000..126b4d68a --- /dev/null +++ b/vendor/github.com/klauspost/compress/huff0/decompress_generic.go @@ -0,0 +1,193 @@ +//go:build !amd64 || appengine || !gc || noasm +// +build !amd64 appengine !gc noasm + +// This file contains a generic implementation of Decoder.Decompress4X. +package huff0 + +import ( + "errors" + "fmt" +) + +// Decompress4X will decompress a 4X encoded stream. +// The length of the supplied input must match the end of a block exactly. +// The *capacity* of the dst slice must match the destination size of +// the uncompressed data exactly. +func (d *Decoder) Decompress4X(dst, src []byte) ([]byte, error) { + if len(d.dt.single) == 0 { + return nil, errors.New("no table loaded") + } + if len(src) < 6+(4*1) { + return nil, errors.New("input too small") + } + if use8BitTables && d.actualTableLog <= 8 { + return d.decompress4X8bit(dst, src) + } + + var br [4]bitReaderShifted + // Decode "jump table" + start := 6 + for i := 0; i < 3; i++ { + length := int(src[i*2]) | (int(src[i*2+1]) << 8) + if start+length >= len(src) { + return nil, errors.New("truncated input (or invalid offset)") + } + err := br[i].init(src[start : start+length]) + if err != nil { + return nil, err + } + start += length + } + err := br[3].init(src[start:]) + if err != nil { + return nil, err + } + + // destination, offset to match first output + dstSize := cap(dst) + dst = dst[:dstSize] + out := dst + dstEvery := (dstSize + 3) / 4 + + const tlSize = 1 << tableLogMax + const tlMask = tlSize - 1 + single := d.dt.single[:tlSize] + + // Use temp table to avoid bound checks/append penalty. + buf := d.buffer() + var off uint8 + var decoded int + + // Decode 2 values from each decoder/loop. + const bufoff = 256 + for { + if br[0].off < 4 || br[1].off < 4 || br[2].off < 4 || br[3].off < 4 { + break + } + + { + const stream = 0 + const stream2 = 1 + br[stream].fillFast() + br[stream2].fillFast() + + val := br[stream].peekBitsFast(d.actualTableLog) + val2 := br[stream2].peekBitsFast(d.actualTableLog) + v := single[val&tlMask] + v2 := single[val2&tlMask] + br[stream].advance(uint8(v.entry)) + br[stream2].advance(uint8(v2.entry)) + buf[stream][off] = uint8(v.entry >> 8) + buf[stream2][off] = uint8(v2.entry >> 8) + + val = br[stream].peekBitsFast(d.actualTableLog) + val2 = br[stream2].peekBitsFast(d.actualTableLog) + v = single[val&tlMask] + v2 = single[val2&tlMask] + br[stream].advance(uint8(v.entry)) + br[stream2].advance(uint8(v2.entry)) + buf[stream][off+1] = uint8(v.entry >> 8) + buf[stream2][off+1] = uint8(v2.entry >> 8) + } + + { + const stream = 2 + const stream2 = 3 + br[stream].fillFast() + br[stream2].fillFast() + + val := br[stream].peekBitsFast(d.actualTableLog) + val2 := br[stream2].peekBitsFast(d.actualTableLog) + v := single[val&tlMask] + v2 := single[val2&tlMask] + br[stream].advance(uint8(v.entry)) + br[stream2].advance(uint8(v2.entry)) + buf[stream][off] = uint8(v.entry >> 8) + buf[stream2][off] = uint8(v2.entry >> 8) + + val = br[stream].peekBitsFast(d.actualTableLog) + val2 = br[stream2].peekBitsFast(d.actualTableLog) + v = single[val&tlMask] + v2 = single[val2&tlMask] + br[stream].advance(uint8(v.entry)) + br[stream2].advance(uint8(v2.entry)) + buf[stream][off+1] = uint8(v.entry >> 8) + buf[stream2][off+1] = uint8(v2.entry >> 8) + } + + off += 2 + + if off == 0 { + if bufoff > dstEvery { + d.bufs.Put(buf) + return nil, errors.New("corruption detected: stream overrun 1") + } + copy(out, buf[0][:]) + copy(out[dstEvery:], buf[1][:]) + copy(out[dstEvery*2:], buf[2][:]) + copy(out[dstEvery*3:], buf[3][:]) + out = out[bufoff:] + decoded += bufoff * 4 + // There must at least be 3 buffers left. + if len(out) < dstEvery*3 { + d.bufs.Put(buf) + return nil, errors.New("corruption detected: stream overrun 2") + } + } + } + if off > 0 { + ioff := int(off) + if len(out) < dstEvery*3+ioff { + d.bufs.Put(buf) + return nil, errors.New("corruption detected: stream overrun 3") + } + copy(out, buf[0][:off]) + copy(out[dstEvery:], buf[1][:off]) + copy(out[dstEvery*2:], buf[2][:off]) + copy(out[dstEvery*3:], buf[3][:off]) + decoded += int(off) * 4 + out = out[off:] + } + + // Decode remaining. + remainBytes := dstEvery - (decoded / 4) + for i := range br { + offset := dstEvery * i + endsAt := offset + remainBytes + if endsAt > len(out) { + endsAt = len(out) + } + br := &br[i] + bitsLeft := br.remaining() + for bitsLeft > 0 { + br.fill() + if offset >= endsAt { + d.bufs.Put(buf) + return nil, errors.New("corruption detected: stream overrun 4") + } + + // Read value and increment offset. + val := br.peekBitsFast(d.actualTableLog) + v := single[val&tlMask].entry + nBits := uint8(v) + br.advance(nBits) + bitsLeft -= uint(nBits) + out[offset] = uint8(v >> 8) + offset++ + } + if offset != endsAt { + d.bufs.Put(buf) + return nil, fmt.Errorf("corruption detected: short output block %d, end %d != %d", i, offset, endsAt) + } + decoded += offset - dstEvery*i + err = br.close() + if err != nil { + return nil, err + } + } + d.bufs.Put(buf) + if dstSize != decoded { + return nil, errors.New("corruption detected: short output block") + } + return dst, nil +} diff --git a/vendor/github.com/klauspost/compress/huff0/huff0.go b/vendor/github.com/klauspost/compress/huff0/huff0.go index 3ee00ecb4..e8ad17ad0 100644 --- a/vendor/github.com/klauspost/compress/huff0/huff0.go +++ b/vendor/github.com/klauspost/compress/huff0/huff0.go @@ -8,6 +8,7 @@ import ( "fmt" "math" "math/bits" + "sync" "github.com/klauspost/compress/fse" ) @@ -116,6 +117,7 @@ type Scratch struct { nodes []nodeElt tmpOut [4][]byte fse *fse.Scratch + decPool sync.Pool // *[4][256]byte buffers. huffWeight [maxSymbolValue + 1]byte } diff --git a/vendor/github.com/klauspost/compress/zstd/README.md b/vendor/github.com/klauspost/compress/zstd/README.md index c8f0f16fc..e3445ac19 100644 --- a/vendor/github.com/klauspost/compress/zstd/README.md +++ b/vendor/github.com/klauspost/compress/zstd/README.md @@ -78,6 +78,9 @@ of a stream. This is independent of the `WithEncoderConcurrency(n)`, but that is in the future. So if you want to limit concurrency for future updates, specify the concurrency you would like. +If you would like stream encoding to be done without spawning async goroutines, use `WithEncoderConcurrency(1)` +which will compress input as each block is completed, blocking on writes until each has completed. + You can specify your desired compression level using `WithEncoderLevel()` option. Currently only pre-defined compression settings can be specified. @@ -104,7 +107,8 @@ and seems to ignore concatenated streams, even though [it is part of the spec](h For compressing small blocks, the returned encoder has a function called `EncodeAll(src, dst []byte) []byte`. `EncodeAll` will encode all input in src and append it to dst. -This function can be called concurrently, but each call will only run on a single goroutine. +This function can be called concurrently. +Each call will only run on a same goroutine as the caller. Encoded blocks can be concatenated and the result will be the combined input stream. Data compressed with EncodeAll can be decoded with the Decoder, using either a stream or `DecodeAll`. @@ -149,10 +153,10 @@ http://sun.aei.polsl.pl/~sdeor/corpus/silesia.zip This package: file out level insize outsize millis mb/s -silesia.tar zskp 1 211947520 73101992 643 313.87 -silesia.tar zskp 2 211947520 67504318 969 208.38 -silesia.tar zskp 3 211947520 64595893 2007 100.68 -silesia.tar zskp 4 211947520 60995370 8825 22.90 +silesia.tar zskp 1 211947520 73821326 634 318.47 +silesia.tar zskp 2 211947520 67655404 1508 133.96 +silesia.tar zskp 3 211947520 64746933 3000 67.37 +silesia.tar zskp 4 211947520 60073508 16926 11.94 cgo zstd: silesia.tar zstd 1 211947520 73605392 543 371.56 @@ -161,94 +165,94 @@ silesia.tar zstd 6 211947520 62916450 1913 105.66 silesia.tar zstd 9 211947520 60212393 5063 39.92 gzip, stdlib/this package: -silesia.tar gzstd 1 211947520 80007735 1654 122.21 -silesia.tar gzkp 1 211947520 80136201 1152 175.45 +silesia.tar gzstd 1 211947520 80007735 1498 134.87 +silesia.tar gzkp 1 211947520 80088272 1009 200.31 GOB stream of binary data. Highly compressible. https://files.klauspost.com/compress/gob-stream.7z file out level insize outsize millis mb/s -gob-stream zskp 1 1911399616 235022249 3088 590.30 -gob-stream zskp 2 1911399616 205669791 3786 481.34 -gob-stream zskp 3 1911399616 175034659 9636 189.17 -gob-stream zskp 4 1911399616 165609838 50369 36.19 +gob-stream zskp 1 1911399616 233948096 3230 564.34 +gob-stream zskp 2 1911399616 203997694 4997 364.73 +gob-stream zskp 3 1911399616 173526523 13435 135.68 +gob-stream zskp 4 1911399616 162195235 47559 38.33 gob-stream zstd 1 1911399616 249810424 2637 691.26 gob-stream zstd 3 1911399616 208192146 3490 522.31 gob-stream zstd 6 1911399616 193632038 6687 272.56 gob-stream zstd 9 1911399616 177620386 16175 112.70 -gob-stream gzstd 1 1911399616 357382641 10251 177.82 -gob-stream gzkp 1 1911399616 359753026 5438 335.20 +gob-stream gzstd 1 1911399616 357382013 9046 201.49 +gob-stream gzkp 1 1911399616 359136669 4885 373.08 The test data for the Large Text Compression Benchmark is the first 10^9 bytes of the English Wikipedia dump on Mar. 3, 2006. http://mattmahoney.net/dc/textdata.html file out level insize outsize millis mb/s -enwik9 zskp 1 1000000000 343848582 3609 264.18 -enwik9 zskp 2 1000000000 317276632 5746 165.97 -enwik9 zskp 3 1000000000 292243069 12162 78.41 -enwik9 zskp 4 1000000000 262183768 82837 11.51 +enwik9 zskp 1 1000000000 343833605 3687 258.64 +enwik9 zskp 2 1000000000 317001237 7672 124.29 +enwik9 zskp 3 1000000000 291915823 15923 59.89 +enwik9 zskp 4 1000000000 261710291 77697 12.27 enwik9 zstd 1 1000000000 358072021 3110 306.65 enwik9 zstd 3 1000000000 313734672 4784 199.35 enwik9 zstd 6 1000000000 295138875 10290 92.68 enwik9 zstd 9 1000000000 278348700 28549 33.40 -enwik9 gzstd 1 1000000000 382578136 9604 99.30 -enwik9 gzkp 1 1000000000 383825945 6544 145.73 +enwik9 gzstd 1 1000000000 382578136 8608 110.78 +enwik9 gzkp 1 1000000000 382781160 5628 169.45 Highly compressible JSON file. https://files.klauspost.com/compress/github-june-2days-2019.json.zst file out level insize outsize millis mb/s -github-june-2days-2019.json zskp 1 6273951764 699045015 10620 563.40 -github-june-2days-2019.json zskp 2 6273951764 617881763 11687 511.96 -github-june-2days-2019.json zskp 3 6273951764 524340691 34043 175.75 -github-june-2days-2019.json zskp 4 6273951764 470320075 170190 35.16 +github-june-2days-2019.json zskp 1 6273951764 697439532 9789 611.17 +github-june-2days-2019.json zskp 2 6273951764 610876538 18553 322.49 +github-june-2days-2019.json zskp 3 6273951764 517662858 44186 135.41 +github-june-2days-2019.json zskp 4 6273951764 464617114 165373 36.18 github-june-2days-2019.json zstd 1 6273951764 766284037 8450 708.00 github-june-2days-2019.json zstd 3 6273951764 661889476 10927 547.57 github-june-2days-2019.json zstd 6 6273951764 642756859 22996 260.18 github-june-2days-2019.json zstd 9 6273951764 601974523 52413 114.16 -github-june-2days-2019.json gzstd 1 6273951764 1164400847 29948 199.79 -github-june-2days-2019.json gzkp 1 6273951764 1125417694 21788 274.61 +github-june-2days-2019.json gzstd 1 6273951764 1164397768 26793 223.32 +github-june-2days-2019.json gzkp 1 6273951764 1120631856 17693 338.16 VM Image, Linux mint with a few installed applications: https://files.klauspost.com/compress/rawstudio-mint14.7z file out level insize outsize millis mb/s -rawstudio-mint14.tar zskp 1 8558382592 3667489370 20210 403.84 -rawstudio-mint14.tar zskp 2 8558382592 3364592300 31873 256.07 -rawstudio-mint14.tar zskp 3 8558382592 3158085214 77675 105.08 -rawstudio-mint14.tar zskp 4 8558382592 2965110639 857750 9.52 +rawstudio-mint14.tar zskp 1 8558382592 3718400221 18206 448.29 +rawstudio-mint14.tar zskp 2 8558382592 3326118337 37074 220.15 +rawstudio-mint14.tar zskp 3 8558382592 3163842361 87306 93.49 +rawstudio-mint14.tar zskp 4 8558382592 2970480650 783862 10.41 rawstudio-mint14.tar zstd 1 8558382592 3609250104 17136 476.27 rawstudio-mint14.tar zstd 3 8558382592 3341679997 29262 278.92 rawstudio-mint14.tar zstd 6 8558382592 3235846406 77904 104.77 rawstudio-mint14.tar zstd 9 8558382592 3160778861 140946 57.91 -rawstudio-mint14.tar gzstd 1 8558382592 3926257486 57722 141.40 -rawstudio-mint14.tar gzkp 1 8558382592 3962605659 45113 180.92 +rawstudio-mint14.tar gzstd 1 8558382592 3926234992 51345 158.96 +rawstudio-mint14.tar gzkp 1 8558382592 3960117298 36722 222.26 CSV data: https://files.klauspost.com/compress/nyc-taxi-data-10M.csv.zst file out level insize outsize millis mb/s -nyc-taxi-data-10M.csv zskp 1 3325605752 641339945 8925 355.35 -nyc-taxi-data-10M.csv zskp 2 3325605752 591748091 11268 281.44 -nyc-taxi-data-10M.csv zskp 3 3325605752 530289687 25239 125.66 -nyc-taxi-data-10M.csv zskp 4 3325605752 476268884 135958 23.33 +nyc-taxi-data-10M.csv zskp 1 3325605752 641319332 9462 335.17 +nyc-taxi-data-10M.csv zskp 2 3325605752 588976126 17570 180.50 +nyc-taxi-data-10M.csv zskp 3 3325605752 529329260 32432 97.79 +nyc-taxi-data-10M.csv zskp 4 3325605752 474949772 138025 22.98 nyc-taxi-data-10M.csv zstd 1 3325605752 687399637 8233 385.18 nyc-taxi-data-10M.csv zstd 3 3325605752 598514411 10065 315.07 nyc-taxi-data-10M.csv zstd 6 3325605752 570522953 20038 158.27 nyc-taxi-data-10M.csv zstd 9 3325605752 517554797 64565 49.12 -nyc-taxi-data-10M.csv gzstd 1 3325605752 928656485 23876 132.83 -nyc-taxi-data-10M.csv gzkp 1 3325605752 922257165 16780 189.00 +nyc-taxi-data-10M.csv gzstd 1 3325605752 928654908 21270 149.11 +nyc-taxi-data-10M.csv gzkp 1 3325605752 922273214 13929 227.68 ``` ## Decompressor @@ -283,8 +287,13 @@ func Decompress(in io.Reader, out io.Writer) error { } ``` -It is important to use the "Close" function when you no longer need the Reader to stop running goroutines. -See "Allocation-less operation" below. +It is important to use the "Close" function when you no longer need the Reader to stop running goroutines, +when running with default settings. +Goroutines will exit once an error has been returned, including `io.EOF` at the end of a stream. + +Streams are decoded concurrently in 4 asynchronous stages to give the best possible throughput. +However, if you prefer synchronous decompression, use `WithDecoderConcurrency(1)` which will decompress data +as it is being requested only. For decoding buffers, it could look something like this: @@ -293,7 +302,7 @@ import "github.com/klauspost/compress/zstd" // Create a reader that caches decompressors. // For this operation type we supply a nil Reader. -var decoder, _ = zstd.NewReader(nil) +var decoder, _ = zstd.NewReader(nil, WithDecoderConcurrency(0)) // Decompress a buffer. We don't supply a destination buffer, // so it will be allocated by the decoder. @@ -303,9 +312,12 @@ func Decompress(src []byte) ([]byte, error) { ``` Both of these cases should provide the functionality needed. -The decoder can be used for *concurrent* decompression of multiple buffers. +The decoder can be used for *concurrent* decompression of multiple buffers. +By default 4 decompressors will be created. + It will only allow a certain number of concurrent operations to run. -To tweak that yourself use the `WithDecoderConcurrency(n)` option when creating the decoder. +To tweak that yourself use the `WithDecoderConcurrency(n)` option when creating the decoder. +It is possible to use `WithDecoderConcurrency(0)` to create GOMAXPROCS decoders. ### Dictionaries @@ -357,19 +369,21 @@ In this case no unneeded allocations should be made. The buffer decoder does everything on the same goroutine and does nothing concurrently. It can however decode several buffers concurrently. Use `WithDecoderConcurrency(n)` to limit that. -The stream decoder operates on +The stream decoder will create goroutines that: -* One goroutine reads input and splits the input to several block decoders. -* A number of decoders will decode blocks. -* A goroutine coordinates these blocks and sends history from one to the next. +1) Reads input and splits the input into blocks. +2) Decompression of literals. +3) Decompression of sequences. +4) Reconstruction of output stream. So effectively this also means the decoder will "read ahead" and prepare data to always be available for output. +The concurrency level will, for streams, determine how many blocks ahead the compression will start. + Since "blocks" are quite dependent on the output of the previous block stream decoding will only have limited concurrency. -In practice this means that concurrency is often limited to utilizing about 2 cores effectively. - - +In practice this means that concurrency is often limited to utilizing about 3 cores effectively. + ### Benchmarks These are some examples of performance compared to [datadog cgo library](https://github.com/DataDog/zstd). diff --git a/vendor/github.com/klauspost/compress/zstd/bitreader.go b/vendor/github.com/klauspost/compress/zstd/bitreader.go index 854458537..d7cd15ba2 100644 --- a/vendor/github.com/klauspost/compress/zstd/bitreader.go +++ b/vendor/github.com/klauspost/compress/zstd/bitreader.go @@ -7,6 +7,7 @@ package zstd import ( "encoding/binary" "errors" + "fmt" "io" "math/bits" ) @@ -50,16 +51,23 @@ func (b *bitReader) getBits(n uint8) int { if n == 0 /*|| b.bitsRead >= 64 */ { return 0 } - return b.getBitsFast(n) + return int(b.get32BitsFast(n)) } -// getBitsFast requires that at least one bit is requested every time. +// get32BitsFast requires that at least one bit is requested every time. // There are no checks if the buffer is filled. -func (b *bitReader) getBitsFast(n uint8) int { +func (b *bitReader) get32BitsFast(n uint8) uint32 { const regMask = 64 - 1 v := uint32((b.value << (b.bitsRead & regMask)) >> ((regMask + 1 - n) & regMask)) b.bitsRead += n - return int(v) + return v +} + +func (b *bitReader) get16BitsFast(n uint8) uint16 { + const regMask = 64 - 1 + v := uint16((b.value << (b.bitsRead & regMask)) >> ((regMask + 1 - n) & regMask)) + b.bitsRead += n + return v } // fillFast() will make sure at least 32 bits are available. @@ -125,6 +133,9 @@ func (b *bitReader) remain() uint { func (b *bitReader) close() error { // Release reference. b.in = nil + if !b.finished() { + return fmt.Errorf("%d extra bits on block, should be 0", b.remain()) + } if b.bitsRead > 64 { return io.ErrUnexpectedEOF } diff --git a/vendor/github.com/klauspost/compress/zstd/bitwriter.go b/vendor/github.com/klauspost/compress/zstd/bitwriter.go index 303ae90f9..b36618285 100644 --- a/vendor/github.com/klauspost/compress/zstd/bitwriter.go +++ b/vendor/github.com/klauspost/compress/zstd/bitwriter.go @@ -38,7 +38,7 @@ func (b *bitWriter) addBits16NC(value uint16, bits uint8) { b.nBits += bits } -// addBits32NC will add up to 32 bits. +// addBits32NC will add up to 31 bits. // It will not check if there is space for them, // so the caller must ensure that it has flushed recently. func (b *bitWriter) addBits32NC(value uint32, bits uint8) { @@ -46,6 +46,26 @@ func (b *bitWriter) addBits32NC(value uint32, bits uint8) { b.nBits += bits } +// addBits64NC will add up to 64 bits. +// There must be space for 32 bits. +func (b *bitWriter) addBits64NC(value uint64, bits uint8) { + if bits <= 31 { + b.addBits32Clean(uint32(value), bits) + return + } + b.addBits32Clean(uint32(value), 32) + b.flush32() + b.addBits32Clean(uint32(value>>32), bits-32) +} + +// addBits32Clean will add up to 32 bits. +// It will not check if there is space for them. +// The input must not contain more bits than specified. +func (b *bitWriter) addBits32Clean(value uint32, bits uint8) { + b.bitContainer |= uint64(value) << (b.nBits & 63) + b.nBits += bits +} + // addBits16Clean will add up to 16 bits. value may not contain more set bits than indicated. // It will not check if there is space for them, so the caller must ensure that it has flushed recently. func (b *bitWriter) addBits16Clean(value uint16, bits uint8) { diff --git a/vendor/github.com/klauspost/compress/zstd/blockdec.go b/vendor/github.com/klauspost/compress/zstd/blockdec.go index 8a98c4562..7d567a54a 100644 --- a/vendor/github.com/klauspost/compress/zstd/blockdec.go +++ b/vendor/github.com/klauspost/compress/zstd/blockdec.go @@ -76,17 +76,25 @@ type blockDec struct { // Window size of the block. WindowSize uint64 - history chan *history - input chan struct{} - result chan decodeOutput - sequenceBuf []seq - err error - decWG sync.WaitGroup + err error + + // Check against this crc + checkCRC []byte // Frame to use for singlethreaded decoding. // Should not be used by the decoder itself since parent may be another frame. localFrame *frameDec + sequence []seqVals + + async struct { + newHist *history + literals []byte + seqData []byte + seqSize int // Size of uncompressed sequences + fcs uint64 + } + // Block is RLE, this is the size. RLESize uint32 tmp [4]byte @@ -109,13 +117,8 @@ func (b *blockDec) String() string { func newBlockDec(lowMem bool) *blockDec { b := blockDec{ - lowMem: lowMem, - result: make(chan decodeOutput, 1), - input: make(chan struct{}, 1), - history: make(chan *history, 1), + lowMem: lowMem, } - b.decWG.Add(1) - go b.startDecoder() return &b } @@ -138,6 +141,12 @@ func (b *blockDec) reset(br byteBuffer, windowSize uint64) error { case blockTypeReserved: return ErrReservedBlockType case blockTypeRLE: + if cSize > maxCompressedBlockSize || cSize > int(b.WindowSize) { + if debugDecoder { + printf("rle block too big: csize:%d block: %+v\n", uint64(cSize), b) + } + return ErrWindowSizeExceeded + } b.RLESize = uint32(cSize) if b.lowMem { maxSize = cSize @@ -158,7 +167,19 @@ func (b *blockDec) reset(br byteBuffer, windowSize uint64) error { } return ErrCompressedSizeTooBig } + // Empty compressed blocks must at least be 2 bytes + // for Literals_Block_Type and one for Sequences_Section_Header. + if cSize < 2 { + return ErrBlockTooSmall + } case blockTypeRaw: + if cSize > maxCompressedBlockSize || cSize > int(b.WindowSize) { + if debugDecoder { + printf("rle block too big: csize:%d block: %+v\n", uint64(cSize), b) + } + return ErrWindowSizeExceeded + } + b.RLESize = 0 // We do not need a destination for raw blocks. maxSize = -1 @@ -193,85 +214,14 @@ func (b *blockDec) sendErr(err error) { b.Last = true b.Type = blockTypeReserved b.err = err - b.input <- struct{}{} } // Close will release resources. // Closed blockDec cannot be reset. func (b *blockDec) Close() { - close(b.input) - close(b.history) - close(b.result) - b.decWG.Wait() } -// decodeAsync will prepare decoding the block when it receives input. -// This will separate output and history. -func (b *blockDec) startDecoder() { - defer b.decWG.Done() - for range b.input { - //println("blockDec: Got block input") - switch b.Type { - case blockTypeRLE: - if cap(b.dst) < int(b.RLESize) { - if b.lowMem { - b.dst = make([]byte, b.RLESize) - } else { - b.dst = make([]byte, maxBlockSize) - } - } - o := decodeOutput{ - d: b, - b: b.dst[:b.RLESize], - err: nil, - } - v := b.data[0] - for i := range o.b { - o.b[i] = v - } - hist := <-b.history - hist.append(o.b) - b.result <- o - case blockTypeRaw: - o := decodeOutput{ - d: b, - b: b.data, - err: nil, - } - hist := <-b.history - hist.append(o.b) - b.result <- o - case blockTypeCompressed: - b.dst = b.dst[:0] - err := b.decodeCompressed(nil) - o := decodeOutput{ - d: b, - b: b.dst, - err: err, - } - if debugDecoder { - println("Decompressed to", len(b.dst), "bytes, error:", err) - } - b.result <- o - case blockTypeReserved: - // Used for returning errors. - <-b.history - b.result <- decodeOutput{ - d: b, - b: nil, - err: b.err, - } - default: - panic("Invalid block type") - } - if debugDecoder { - println("blockDec: Finished block") - } - } -} - -// decodeAsync will prepare decoding the block when it receives the history. -// If history is provided, it will not fetch it from the channel. +// decodeBuf func (b *blockDec) decodeBuf(hist *history) error { switch b.Type { case blockTypeRLE: @@ -294,14 +244,23 @@ func (b *blockDec) decodeBuf(hist *history) error { return nil case blockTypeCompressed: saved := b.dst - b.dst = hist.b - hist.b = nil + // Append directly to history + if hist.ignoreBuffer == 0 { + b.dst = hist.b + hist.b = nil + } else { + b.dst = b.dst[:0] + } err := b.decodeCompressed(hist) if debugDecoder { println("Decompressed to total", len(b.dst), "bytes, hash:", xxhash.Sum64(b.dst), "error:", err) } - hist.b = b.dst - b.dst = saved + if hist.ignoreBuffer == 0 { + hist.b = b.dst + b.dst = saved + } else { + hist.appendKeep(b.dst) + } return err case blockTypeReserved: // Used for returning errors. @@ -311,30 +270,18 @@ func (b *blockDec) decodeBuf(hist *history) error { } } -// decodeCompressed will start decompressing a block. -// If no history is supplied the decoder will decodeAsync as much as possible -// before fetching from blockDec.history -func (b *blockDec) decodeCompressed(hist *history) error { - in := b.data - delayedHistory := hist == nil - - if delayedHistory { - // We must always grab history. - defer func() { - if hist == nil { - <-b.history - } - }() - } +func (b *blockDec) decodeLiterals(in []byte, hist *history) (remain []byte, err error) { // There must be at least one byte for Literals_Block_Type and one for Sequences_Section_Header if len(in) < 2 { - return ErrBlockTooSmall + return in, ErrBlockTooSmall } + litType := literalsBlockType(in[0] & 3) var litRegenSize int var litCompSize int sizeFormat := (in[0] >> 2) & 3 var fourStreams bool + var literals []byte switch litType { case literalsBlockRaw, literalsBlockRLE: switch sizeFormat { @@ -350,7 +297,7 @@ func (b *blockDec) decodeCompressed(hist *history) error { // Regenerated_Size uses 20 bits (0-1048575). Literals_Section_Header uses 3 bytes. if len(in) < 3 { println("too small: litType:", litType, " sizeFormat", sizeFormat, len(in)) - return ErrBlockTooSmall + return in, ErrBlockTooSmall } litRegenSize = int(in[0]>>4) + (int(in[1]) << 4) + (int(in[2]) << 12) in = in[3:] @@ -361,7 +308,7 @@ func (b *blockDec) decodeCompressed(hist *history) error { // Both Regenerated_Size and Compressed_Size use 10 bits (0-1023). if len(in) < 3 { println("too small: litType:", litType, " sizeFormat", sizeFormat, len(in)) - return ErrBlockTooSmall + return in, ErrBlockTooSmall } n := uint64(in[0]>>4) + (uint64(in[1]) << 4) + (uint64(in[2]) << 12) litRegenSize = int(n & 1023) @@ -372,7 +319,7 @@ func (b *blockDec) decodeCompressed(hist *history) error { fourStreams = true if len(in) < 4 { println("too small: litType:", litType, " sizeFormat", sizeFormat, len(in)) - return ErrBlockTooSmall + return in, ErrBlockTooSmall } n := uint64(in[0]>>4) + (uint64(in[1]) << 4) + (uint64(in[2]) << 12) + (uint64(in[3]) << 20) litRegenSize = int(n & 16383) @@ -382,7 +329,7 @@ func (b *blockDec) decodeCompressed(hist *history) error { fourStreams = true if len(in) < 5 { println("too small: litType:", litType, " sizeFormat", sizeFormat, len(in)) - return ErrBlockTooSmall + return in, ErrBlockTooSmall } n := uint64(in[0]>>4) + (uint64(in[1]) << 4) + (uint64(in[2]) << 12) + (uint64(in[3]) << 20) + (uint64(in[4]) << 28) litRegenSize = int(n & 262143) @@ -393,13 +340,15 @@ func (b *blockDec) decodeCompressed(hist *history) error { if debugDecoder { println("literals type:", litType, "litRegenSize:", litRegenSize, "litCompSize:", litCompSize, "sizeFormat:", sizeFormat, "4X:", fourStreams) } - var literals []byte - var huff *huff0.Scratch + if litRegenSize > int(b.WindowSize) || litRegenSize > maxCompressedBlockSize { + return in, ErrWindowSizeExceeded + } + switch litType { case literalsBlockRaw: if len(in) < litRegenSize { println("too small: litType:", litType, " sizeFormat", sizeFormat, "remain:", len(in), "want:", litRegenSize) - return ErrBlockTooSmall + return in, ErrBlockTooSmall } literals = in[:litRegenSize] in = in[litRegenSize:] @@ -407,7 +356,7 @@ func (b *blockDec) decodeCompressed(hist *history) error { case literalsBlockRLE: if len(in) < 1 { println("too small: litType:", litType, " sizeFormat", sizeFormat, "remain:", len(in), "want:", 1) - return ErrBlockTooSmall + return in, ErrBlockTooSmall } if cap(b.literalBuf) < litRegenSize { if b.lowMem { @@ -418,7 +367,6 @@ func (b *blockDec) decodeCompressed(hist *history) error { b.literalBuf = make([]byte, litRegenSize) } else { b.literalBuf = make([]byte, litRegenSize, maxCompressedLiteralSize) - } } } @@ -434,7 +382,7 @@ func (b *blockDec) decodeCompressed(hist *history) error { case literalsBlockTreeless: if len(in) < litCompSize { println("too small: litType:", litType, " sizeFormat", sizeFormat, "remain:", len(in), "want:", litCompSize) - return ErrBlockTooSmall + return in, ErrBlockTooSmall } // Store compressed literals, so we defer decoding until we get history. literals = in[:litCompSize] @@ -442,15 +390,10 @@ func (b *blockDec) decodeCompressed(hist *history) error { if debugDecoder { printf("Found %d compressed literals\n", litCompSize) } - case literalsBlockCompressed: - if len(in) < litCompSize { - println("too small: litType:", litType, " sizeFormat", sizeFormat, "remain:", len(in), "want:", litCompSize) - return ErrBlockTooSmall + huff := hist.huffTree + if huff == nil { + return in, errors.New("literal block was treeless, but no history was defined") } - literals = in[:litCompSize] - in = in[litCompSize:] - huff = huffDecoderPool.Get().(*huff0.Scratch) - var err error // Ensure we have space to store it. if cap(b.literalBuf) < litRegenSize { if b.lowMem { @@ -459,14 +402,53 @@ func (b *blockDec) decodeCompressed(hist *history) error { b.literalBuf = make([]byte, 0, maxCompressedLiteralSize) } } - if huff == nil { - huff = &huff0.Scratch{} + var err error + // Use our out buffer. + huff.MaxDecodedSize = maxCompressedBlockSize + if fourStreams { + literals, err = huff.Decoder().Decompress4X(b.literalBuf[:0:litRegenSize], literals) + } else { + literals, err = huff.Decoder().Decompress1X(b.literalBuf[:0:litRegenSize], literals) } + // Make sure we don't leak our literals buffer + if err != nil { + println("decompressing literals:", err) + return in, err + } + if len(literals) != litRegenSize { + return in, fmt.Errorf("literal output size mismatch want %d, got %d", litRegenSize, len(literals)) + } + + case literalsBlockCompressed: + if len(in) < litCompSize { + println("too small: litType:", litType, " sizeFormat", sizeFormat, "remain:", len(in), "want:", litCompSize) + return in, ErrBlockTooSmall + } + literals = in[:litCompSize] + in = in[litCompSize:] + // Ensure we have space to store it. + if cap(b.literalBuf) < litRegenSize { + if b.lowMem { + b.literalBuf = make([]byte, 0, litRegenSize) + } else { + b.literalBuf = make([]byte, 0, maxCompressedBlockSize) + } + } + huff := hist.huffTree + if huff == nil || (hist.dict != nil && huff == hist.dict.litEnc) { + huff = huffDecoderPool.Get().(*huff0.Scratch) + if huff == nil { + huff = &huff0.Scratch{} + } + } + var err error huff, literals, err = huff0.ReadTable(literals, huff) if err != nil { println("reading huffman table:", err) - return err + return in, err } + hist.huffTree = huff + huff.MaxDecodedSize = maxCompressedBlockSize // Use our out buffer. if fourStreams { literals, err = huff.Decoder().Decompress4X(b.literalBuf[:0:litRegenSize], literals) @@ -475,27 +457,56 @@ func (b *blockDec) decodeCompressed(hist *history) error { } if err != nil { println("decoding compressed literals:", err) - return err + return in, err } // Make sure we don't leak our literals buffer if len(literals) != litRegenSize { - return fmt.Errorf("literal output size mismatch want %d, got %d", litRegenSize, len(literals)) + return in, fmt.Errorf("literal output size mismatch want %d, got %d", litRegenSize, len(literals)) } if debugDecoder { printf("Decompressed %d literals into %d bytes\n", litCompSize, litRegenSize) } } + hist.decoders.literals = literals + return in, nil +} +// decodeCompressed will start decompressing a block. +func (b *blockDec) decodeCompressed(hist *history) error { + in := b.data + in, err := b.decodeLiterals(in, hist) + if err != nil { + return err + } + err = b.prepareSequences(in, hist) + if err != nil { + return err + } + if hist.decoders.nSeqs == 0 { + b.dst = append(b.dst, hist.decoders.literals...) + return nil + } + err = hist.decoders.decodeSync(hist) + if err != nil { + return err + } + b.dst = hist.decoders.out + hist.recentOffsets = hist.decoders.prevOffset + return nil +} + +func (b *blockDec) prepareSequences(in []byte, hist *history) (err error) { + if debugDecoder { + printf("prepareSequences: %d byte(s) input\n", len(in)) + } // Decode Sequences // https://github.com/facebook/zstd/blob/dev/doc/zstd_compression_format.md#sequences-section if len(in) < 1 { return ErrBlockTooSmall } + var nSeqs int seqHeader := in[0] - nSeqs := 0 switch { - case seqHeader == 0: - in = in[1:] case seqHeader < 128: nSeqs = int(seqHeader) in = in[1:] @@ -512,19 +523,16 @@ func (b *blockDec) decodeCompressed(hist *history) error { nSeqs = 0x7f00 + int(in[1]) + (int(in[2]) << 8) in = in[3:] } - // Allocate sequences - if cap(b.sequenceBuf) < nSeqs { - if b.lowMem { - b.sequenceBuf = make([]seq, nSeqs) - } else { - // Allocate max - b.sequenceBuf = make([]seq, nSeqs, maxSequences) + if nSeqs == 0 && len(in) != 0 { + // When no sequences, there should not be any more data... + if debugDecoder { + printf("prepareSequences: 0 sequences, but %d byte(s) left on stream\n", len(in)) } - } else { - // Reuse buffer - b.sequenceBuf = b.sequenceBuf[:nSeqs] + return ErrUnexpectedBlockSize } - var seqs = &sequenceDecs{} + + var seqs = &hist.decoders + seqs.nSeqs = nSeqs if nSeqs > 0 { if len(in) < 1 { return ErrBlockTooSmall @@ -553,6 +561,9 @@ func (b *blockDec) decodeCompressed(hist *history) error { } switch mode { case compModePredefined: + if seq.fse != nil && !seq.fse.preDefined { + fseDecoderPool.Put(seq.fse) + } seq.fse = &fsePredef[i] case compModeRLE: if br.remain() < 1 { @@ -560,34 +571,36 @@ func (b *blockDec) decodeCompressed(hist *history) error { } v := br.Uint8() br.advance(1) - dec := fseDecoderPool.Get().(*fseDecoder) + if seq.fse == nil || seq.fse.preDefined { + seq.fse = fseDecoderPool.Get().(*fseDecoder) + } symb, err := decSymbolValue(v, symbolTableX[i]) if err != nil { printf("RLE Transform table (%v) error: %v", tableIndex(i), err) return err } - dec.setRLE(symb) - seq.fse = dec + seq.fse.setRLE(symb) if debugDecoder { printf("RLE set to %+v, code: %v", symb, v) } case compModeFSE: println("Reading table for", tableIndex(i)) - dec := fseDecoderPool.Get().(*fseDecoder) - err := dec.readNCount(&br, uint16(maxTableSymbol[i])) + if seq.fse == nil || seq.fse.preDefined { + seq.fse = fseDecoderPool.Get().(*fseDecoder) + } + err := seq.fse.readNCount(&br, uint16(maxTableSymbol[i])) if err != nil { println("Read table error:", err) return err } - err = dec.transform(symbolTableX[i]) + err = seq.fse.transform(symbolTableX[i]) if err != nil { println("Transform table error:", err) return err } if debugDecoder { - println("Read table ok", "symbolLen:", dec.symbolLen) + println("Read table ok", "symbolLen:", seq.fse.symbolLen) } - seq.fse = dec case compModeRepeat: seq.repeat = true } @@ -597,140 +610,89 @@ func (b *blockDec) decodeCompressed(hist *history) error { } in = br.unread() } - - // Wait for history. - // All time spent after this is critical since it is strictly sequential. - if hist == nil { - hist = <-b.history - if hist.error { - return ErrDecoderClosed - } - } - - // Decode treeless literal block. - if litType == literalsBlockTreeless { - // TODO: We could send the history early WITHOUT the stream history. - // This would allow decoding treeless literals before the byte history is available. - // Silencia stats: Treeless 4393, with: 32775, total: 37168, 11% treeless. - // So not much obvious gain here. - - if hist.huffTree == nil { - return errors.New("literal block was treeless, but no history was defined") - } - // Ensure we have space to store it. - if cap(b.literalBuf) < litRegenSize { - if b.lowMem { - b.literalBuf = make([]byte, 0, litRegenSize) - } else { - b.literalBuf = make([]byte, 0, maxCompressedLiteralSize) - } - } - var err error - // Use our out buffer. - huff = hist.huffTree - if fourStreams { - literals, err = huff.Decoder().Decompress4X(b.literalBuf[:0:litRegenSize], literals) - } else { - literals, err = huff.Decoder().Decompress1X(b.literalBuf[:0:litRegenSize], literals) - } - // Make sure we don't leak our literals buffer - if err != nil { - println("decompressing literals:", err) - return err - } - if len(literals) != litRegenSize { - return fmt.Errorf("literal output size mismatch want %d, got %d", litRegenSize, len(literals)) - } - } else { - if hist.huffTree != nil && huff != nil { - if hist.dict == nil || hist.dict.litEnc != hist.huffTree { - huffDecoderPool.Put(hist.huffTree) - } - hist.huffTree = nil - } - } - if huff != nil { - hist.huffTree = huff - } if debugDecoder { - println("Final literals:", len(literals), "hash:", xxhash.Sum64(literals), "and", nSeqs, "sequences.") + println("Literals:", len(seqs.literals), "hash:", xxhash.Sum64(seqs.literals), "and", seqs.nSeqs, "sequences.") } if nSeqs == 0 { - // Decompressed content is defined entirely as Literals Section content. - b.dst = append(b.dst, literals...) - if delayedHistory { - hist.append(literals) + if len(b.sequence) > 0 { + b.sequence = b.sequence[:0] } return nil } - - seqs, err := seqs.mergeHistory(&hist.decoders) - if err != nil { - return err + br := seqs.br + if br == nil { + br = &bitReader{} } - if debugDecoder { - println("History merged ok") - } - br := &bitReader{} if err := br.init(in); err != nil { return err } - // TODO: Investigate if sending history without decoders are faster. - // This would allow the sequences to be decoded async and only have to construct stream history. - // If only recent offsets were not transferred, this would be an obvious win. - // Also, if first 3 sequences don't reference recent offsets, all sequences can be decoded. + if err := seqs.initialize(br, hist, b.dst); err != nil { + println("initializing sequences:", err) + return err + } + return nil +} +func (b *blockDec) decodeSequences(hist *history) error { + if cap(b.sequence) < hist.decoders.nSeqs { + if b.lowMem { + b.sequence = make([]seqVals, 0, hist.decoders.nSeqs) + } else { + b.sequence = make([]seqVals, 0, 0x7F00+0xffff) + } + } + b.sequence = b.sequence[:hist.decoders.nSeqs] + if hist.decoders.nSeqs == 0 { + hist.decoders.seqSize = len(hist.decoders.literals) + return nil + } + hist.decoders.windowSize = hist.windowSize + hist.decoders.prevOffset = hist.recentOffsets + err := hist.decoders.decode(b.sequence) + hist.recentOffsets = hist.decoders.prevOffset + return err +} + +func (b *blockDec) executeSequences(hist *history) error { hbytes := hist.b if len(hbytes) > hist.windowSize { hbytes = hbytes[len(hbytes)-hist.windowSize:] - // We do not need history any more. + // We do not need history anymore. if hist.dict != nil { hist.dict.content = nil } } - - if err := seqs.initialize(br, hist, literals, b.dst); err != nil { - println("initializing sequences:", err) - return err - } - - err = seqs.decode(nSeqs, br, hbytes) + hist.decoders.windowSize = hist.windowSize + hist.decoders.out = b.dst[:0] + err := hist.decoders.execute(b.sequence, hbytes) if err != nil { return err } - if !br.finished() { - return fmt.Errorf("%d extra bits on block, should be 0", br.remain()) - } + return b.updateHistory(hist) +} - err = br.close() - if err != nil { - printf("Closing sequences: %v, %+v\n", err, *br) - } +func (b *blockDec) updateHistory(hist *history) error { if len(b.data) > maxCompressedBlockSize { return fmt.Errorf("compressed block size too large (%d)", len(b.data)) } // Set output and release references. - b.dst = seqs.out - seqs.out, seqs.literals, seqs.hist = nil, nil, nil + b.dst = hist.decoders.out + hist.recentOffsets = hist.decoders.prevOffset - if !delayedHistory { - // If we don't have delayed history, no need to update. - hist.recentOffsets = seqs.prevOffset - return nil - } if b.Last { // if last block we don't care about history. println("Last block, no history returned") hist.b = hist.b[:0] return nil + } else { + hist.append(b.dst) + if debugDecoder { + println("Finished block with ", len(b.sequence), "sequences. Added", len(b.dst), "to history, now length", len(hist.b)) + } } - hist.append(b.dst) - hist.recentOffsets = seqs.prevOffset - if debugDecoder { - println("Finished block with literals:", len(literals), "and", nSeqs, "sequences.") - } + hist.decoders.out, hist.decoders.literals = nil, nil return nil } diff --git a/vendor/github.com/klauspost/compress/zstd/blockenc.go b/vendor/github.com/klauspost/compress/zstd/blockenc.go index 3df185ee4..12e8f6f0b 100644 --- a/vendor/github.com/klauspost/compress/zstd/blockenc.go +++ b/vendor/github.com/klauspost/compress/zstd/blockenc.go @@ -51,7 +51,7 @@ func (b *blockEnc) init() { if cap(b.literals) < maxCompressedBlockSize { b.literals = make([]byte, 0, maxCompressedBlockSize) } - const defSeqs = 200 + const defSeqs = 2000 if cap(b.sequences) < defSeqs { b.sequences = make([]seq, 0, defSeqs) } @@ -426,7 +426,7 @@ func fuzzFseEncoder(data []byte) int { return 0 } enc := fseEncoder{} - hist := enc.Histogram()[:256] + hist := enc.Histogram() maxSym := uint8(0) for i, v := range data { v = v & 63 @@ -722,52 +722,53 @@ func (b *blockEnc) encode(org []byte, raw, rawAllLits bool) error { println("Encoded seq", seq, s, "codes:", s.llCode, s.mlCode, s.ofCode, "states:", ll.state, ml.state, of.state, "bits:", llB, mlB, ofB) } seq-- - if llEnc.maxBits+mlEnc.maxBits+ofEnc.maxBits <= 32 { - // No need to flush (common) - for seq >= 0 { - s = b.sequences[seq] - wr.flush32() - llB, ofB, mlB := llTT[s.llCode], ofTT[s.ofCode], mlTT[s.mlCode] - // tabelog max is 8 for all. - of.encode(ofB) - ml.encode(mlB) - ll.encode(llB) - wr.flush32() + // Store sequences in reverse... + for seq >= 0 { + s = b.sequences[seq] - // We checked that all can stay within 32 bits - wr.addBits32NC(s.litLen, llB.outBits) - wr.addBits32NC(s.matchLen, mlB.outBits) - wr.addBits32NC(s.offset, ofB.outBits) + ofB := ofTT[s.ofCode] + wr.flush32() // tablelog max is below 8 for each, so it will fill max 24 bits. + //of.encode(ofB) + nbBitsOut := (uint32(of.state) + ofB.deltaNbBits) >> 16 + dstState := int32(of.state>>(nbBitsOut&15)) + int32(ofB.deltaFindState) + wr.addBits16NC(of.state, uint8(nbBitsOut)) + of.state = of.stateTable[dstState] - if debugSequences { - println("Encoded seq", seq, s) - } + // Accumulate extra bits. + outBits := ofB.outBits & 31 + extraBits := uint64(s.offset & bitMask32[outBits]) + extraBitsN := outBits - seq-- + mlB := mlTT[s.mlCode] + //ml.encode(mlB) + nbBitsOut = (uint32(ml.state) + mlB.deltaNbBits) >> 16 + dstState = int32(ml.state>>(nbBitsOut&15)) + int32(mlB.deltaFindState) + wr.addBits16NC(ml.state, uint8(nbBitsOut)) + ml.state = ml.stateTable[dstState] + + outBits = mlB.outBits & 31 + extraBits = extraBits<> 16 + dstState = int32(ll.state>>(nbBitsOut&15)) + int32(llB.deltaFindState) + wr.addBits16NC(ll.state, uint8(nbBitsOut)) + ll.state = ll.stateTable[dstState] + + outBits = llB.outBits & 31 + extraBits = extraBits<= 0 { - s = b.sequences[seq] - wr.flush32() - llB, ofB, mlB := llTT[s.llCode], ofTT[s.ofCode], mlTT[s.mlCode] - // tabelog max is below 8 for each. - of.encode(ofB) - ml.encode(mlB) - ll.encode(llB) - wr.flush32() - // ml+ll = max 32 bits total - wr.addBits32NC(s.litLen, llB.outBits) - wr.addBits32NC(s.matchLen, mlB.outBits) - wr.flush32() - wr.addBits32NC(s.offset, ofB.outBits) - - if debugSequences { - println("Encoded seq", seq, s) - } - - seq-- - } + seq-- } ml.flush(mlEnc.actualTableLog) of.flush(ofEnc.actualTableLog) @@ -801,14 +802,13 @@ func (b *blockEnc) genCodes() { // nothing to do return } - if len(b.sequences) > math.MaxUint16 { panic("can only encode up to 64K sequences") } // No bounds checks after here: - llH := b.coders.llEnc.Histogram()[:256] - ofH := b.coders.ofEnc.Histogram()[:256] - mlH := b.coders.mlEnc.Histogram()[:256] + llH := b.coders.llEnc.Histogram() + ofH := b.coders.ofEnc.Histogram() + mlH := b.coders.mlEnc.Histogram() for i := range llH { llH[i] = 0 } @@ -820,7 +820,8 @@ func (b *blockEnc) genCodes() { } var llMax, ofMax, mlMax uint8 - for i, seq := range b.sequences { + for i := range b.sequences { + seq := &b.sequences[i] v := llCode(seq.litLen) seq.llCode = v llH[v]++ @@ -844,7 +845,6 @@ func (b *blockEnc) genCodes() { panic(fmt.Errorf("mlMax > maxMatchLengthSymbol (%d), matchlen: %d", mlMax, seq.matchLen)) } } - b.sequences[i] = seq } maxCount := func(a []uint32) int { var max uint32 diff --git a/vendor/github.com/klauspost/compress/zstd/bytebuf.go b/vendor/github.com/klauspost/compress/zstd/bytebuf.go index aab71c6cf..b80191e4b 100644 --- a/vendor/github.com/klauspost/compress/zstd/bytebuf.go +++ b/vendor/github.com/klauspost/compress/zstd/bytebuf.go @@ -113,6 +113,9 @@ func (r *readerWrapper) readBig(n int, dst []byte) ([]byte, error) { func (r *readerWrapper) readByte() (byte, error) { n2, err := r.r.Read(r.tmp[:1]) if err != nil { + if err == io.EOF { + err = io.ErrUnexpectedEOF + } return 0, err } if n2 != 1 { diff --git a/vendor/github.com/klauspost/compress/zstd/decodeheader.go b/vendor/github.com/klauspost/compress/zstd/decodeheader.go index 69736e8d4..5022e71c8 100644 --- a/vendor/github.com/klauspost/compress/zstd/decodeheader.go +++ b/vendor/github.com/klauspost/compress/zstd/decodeheader.go @@ -5,6 +5,7 @@ package zstd import ( "bytes" + "encoding/binary" "errors" "io" ) @@ -15,18 +16,50 @@ const HeaderMaxSize = 14 + 3 // Header contains information about the first frame and block within that. type Header struct { - // Window Size the window of data to keep while decoding. - // Will only be set if HasFCS is false. - WindowSize uint64 + // SingleSegment specifies whether the data is to be decompressed into a + // single contiguous memory segment. + // It implies that WindowSize is invalid and that FrameContentSize is valid. + SingleSegment bool - // Frame content size. - // Expected size of the entire frame. - FrameContentSize uint64 + // WindowSize is the window of data to keep while decoding. + // Will only be set if SingleSegment is false. + WindowSize uint64 // Dictionary ID. // If 0, no dictionary. DictionaryID uint32 + // HasFCS specifies whether FrameContentSize has a valid value. + HasFCS bool + + // FrameContentSize is the expected uncompressed size of the entire frame. + FrameContentSize uint64 + + // Skippable will be true if the frame is meant to be skipped. + // This implies that FirstBlock.OK is false. + Skippable bool + + // SkippableID is the user-specific ID for the skippable frame. + // Valid values are between 0 to 15, inclusive. + SkippableID int + + // SkippableSize is the length of the user data to skip following + // the header. + SkippableSize uint32 + + // HeaderSize is the raw size of the frame header. + // + // For normal frames, it includes the size of the magic number and + // the size of the header (per section 3.1.1.1). + // It does not include the size for any data blocks (section 3.1.1.2) nor + // the size for the trailing content checksum. + // + // For skippable frames, this counts the size of the magic number + // along with the size of the size field of the payload. + // It does not include the size of the skippable payload itself. + // The total frame size is the HeaderSize plus the SkippableSize. + HeaderSize int + // First block information. FirstBlock struct { // OK will be set if first block could be decoded. @@ -51,17 +84,9 @@ type Header struct { CompressedSize int } - // Skippable will be true if the frame is meant to be skipped. - // No other information will be populated. - Skippable bool - // If set there is a checksum present for the block content. + // The checksum field at the end is always 4 bytes long. HasCheckSum bool - - // If this is true FrameContentSize will have a valid value - HasFCS bool - - SingleSegment bool } // Decode the header from the beginning of the stream. @@ -71,39 +96,46 @@ type Header struct { // If there isn't enough input, io.ErrUnexpectedEOF is returned. // The FirstBlock.OK will indicate if enough information was available to decode the first block header. func (h *Header) Decode(in []byte) error { + *h = Header{} if len(in) < 4 { return io.ErrUnexpectedEOF } + h.HeaderSize += 4 b, in := in[:4], in[4:] if !bytes.Equal(b, frameMagic) { if !bytes.Equal(b[1:4], skippableFrameMagic) || b[0]&0xf0 != 0x50 { return ErrMagicMismatch } - *h = Header{Skippable: true} + if len(in) < 4 { + return io.ErrUnexpectedEOF + } + h.HeaderSize += 4 + h.Skippable = true + h.SkippableID = int(b[0] & 0xf) + h.SkippableSize = binary.LittleEndian.Uint32(in) return nil } - if len(in) < 1 { - return io.ErrUnexpectedEOF - } - - // Clear output - *h = Header{} - fhd, in := in[0], in[1:] - h.SingleSegment = fhd&(1<<5) != 0 - h.HasCheckSum = fhd&(1<<2) != 0 - - if fhd&(1<<3) != 0 { - return errors.New("reserved bit set on frame header") - } // Read Window_Descriptor // https://github.com/facebook/zstd/blob/dev/doc/zstd_compression_format.md#window_descriptor + if len(in) < 1 { + return io.ErrUnexpectedEOF + } + fhd, in := in[0], in[1:] + h.HeaderSize++ + h.SingleSegment = fhd&(1<<5) != 0 + h.HasCheckSum = fhd&(1<<2) != 0 + if fhd&(1<<3) != 0 { + return errors.New("reserved bit set on frame header") + } + if !h.SingleSegment { if len(in) < 1 { return io.ErrUnexpectedEOF } var wd byte wd, in = in[0], in[1:] + h.HeaderSize++ windowLog := 10 + (wd >> 3) windowBase := uint64(1) << windowLog windowAdd := (windowBase / 8) * uint64(wd&0x7) @@ -120,9 +152,7 @@ func (h *Header) Decode(in []byte) error { return io.ErrUnexpectedEOF } b, in = in[:size], in[size:] - if b == nil { - return io.ErrUnexpectedEOF - } + h.HeaderSize += int(size) switch size { case 1: h.DictionaryID = uint32(b[0]) @@ -152,9 +182,7 @@ func (h *Header) Decode(in []byte) error { return io.ErrUnexpectedEOF } b, in = in[:fcsSize], in[fcsSize:] - if b == nil { - return io.ErrUnexpectedEOF - } + h.HeaderSize += int(fcsSize) switch fcsSize { case 1: h.FrameContentSize = uint64(b[0]) diff --git a/vendor/github.com/klauspost/compress/zstd/decoder.go b/vendor/github.com/klauspost/compress/zstd/decoder.go index f430f58b5..9fcdaac1d 100644 --- a/vendor/github.com/klauspost/compress/zstd/decoder.go +++ b/vendor/github.com/klauspost/compress/zstd/decoder.go @@ -5,9 +5,13 @@ package zstd import ( - "errors" + "bytes" + "context" + "encoding/binary" "io" "sync" + + "github.com/klauspost/compress/zstd/internal/xxhash" ) // Decoder provides decoding of zstandard streams. @@ -22,12 +26,19 @@ type Decoder struct { // Unreferenced decoders, ready for use. decoders chan *blockDec - // Streams ready to be decoded. - stream chan decodeStream - // Current read position used for Reader functionality. current decoderState + // sync stream decoding + syncStream struct { + decodedFrame uint64 + br readerWrapper + enabled bool + inFrame bool + } + + frame *frameDec + // Custom dictionaries. // Always uses copies. dicts map[uint32]dict @@ -46,7 +57,10 @@ type decoderState struct { output chan decodeOutput // cancel remaining output. - cancel chan struct{} + cancel context.CancelFunc + + // crc of current frame + crc *xxhash.Digest flushed bool } @@ -81,7 +95,7 @@ func NewReader(r io.Reader, opts ...DOption) (*Decoder, error) { return nil, err } } - d.current.output = make(chan decodeOutput, d.o.concurrent) + d.current.crc = xxhash.New() d.current.flushed = true if r == nil { @@ -130,7 +144,7 @@ func (d *Decoder) Read(p []byte) (int, error) { break } if !d.nextBlock(n == 0) { - return n, nil + return n, d.current.err } } } @@ -162,6 +176,7 @@ func (d *Decoder) Reset(r io.Reader) error { d.drainOutput() + d.syncStream.br.r = nil if r == nil { d.current.err = ErrDecoderNilInput if len(d.current.b) > 0 { @@ -195,33 +210,39 @@ func (d *Decoder) Reset(r io.Reader) error { } return nil } - - if d.stream == nil { - d.stream = make(chan decodeStream, 1) - d.streamWg.Add(1) - go d.startStreamDecoder(d.stream) - } - // Remove current block. + d.stashDecoder() d.current.decodeOutput = decodeOutput{} d.current.err = nil - d.current.cancel = make(chan struct{}) d.current.flushed = false d.current.d = nil - d.stream <- decodeStream{ - r: r, - output: d.current.output, - cancel: d.current.cancel, + // Ensure no-one else is still running... + d.streamWg.Wait() + if d.frame == nil { + d.frame = newFrameDec(d.o) } + + if d.o.concurrent == 1 { + return d.startSyncDecoder(r) + } + + d.current.output = make(chan decodeOutput, d.o.concurrent) + ctx, cancel := context.WithCancel(context.Background()) + d.current.cancel = cancel + d.streamWg.Add(1) + go d.startStreamDecoder(ctx, r, d.current.output) + return nil } // drainOutput will drain the output until errEndOfStream is sent. func (d *Decoder) drainOutput() { if d.current.cancel != nil { - println("cancelling current") - close(d.current.cancel) + if debugDecoder { + println("cancelling current") + } + d.current.cancel() d.current.cancel = nil } if d.current.d != nil { @@ -243,12 +264,9 @@ func (d *Decoder) drainOutput() { } d.decoders <- v.d } - if v.err == errEndOfStream { - println("current flushed") - d.current.flushed = true - return - } } + d.current.output = nil + d.current.flushed = true } // WriteTo writes data to w until there's no more data to write or when an error occurs. @@ -287,7 +305,7 @@ func (d *Decoder) WriteTo(w io.Writer) (int64, error) { // DecodeAll can be used concurrently. // The Decoder concurrency limits will be respected. func (d *Decoder) DecodeAll(input, dst []byte) ([]byte, error) { - if d.current.err == ErrDecoderClosed { + if d.decoders == nil { return dst, ErrDecoderClosed } @@ -300,6 +318,9 @@ func (d *Decoder) DecodeAll(input, dst []byte) ([]byte, error) { } frame.rawInput = nil frame.bBuf = nil + if frame.history.decoders.br != nil { + frame.history.decoders.br.in = nil + } d.decoders <- block }() frame.bBuf = input @@ -307,27 +328,31 @@ func (d *Decoder) DecodeAll(input, dst []byte) ([]byte, error) { for { frame.history.reset() err := frame.reset(&frame.bBuf) - if err == io.EOF { - if debugDecoder { - println("frame reset return EOF") + if err != nil { + if err == io.EOF { + if debugDecoder { + println("frame reset return EOF") + } + return dst, nil } - return dst, nil + return dst, err } if frame.DictionaryID != nil { dict, ok := d.dicts[*frame.DictionaryID] if !ok { return nil, ErrUnknownDictionary } + if debugDecoder { + println("setting dict", frame.DictionaryID) + } frame.history.setDict(&dict) } - if err != nil { - return dst, err - } - if frame.FrameContentSize > d.o.maxDecodedSize-uint64(len(dst)) { + + if frame.FrameContentSize != fcsUnknown && frame.FrameContentSize > d.o.maxDecodedSize-uint64(len(dst)) { return dst, ErrDecoderSizeExceeded } - if frame.FrameContentSize > 0 && frame.FrameContentSize < 1<<30 { - // Never preallocate moe than 1 GB up front. + if frame.FrameContentSize < 1<<30 { + // Never preallocate more than 1 GB up front. if cap(dst)-len(dst) < int(frame.FrameContentSize) { dst2 := make([]byte, len(dst), len(dst)+int(frame.FrameContentSize)) copy(dst2, dst) @@ -368,6 +393,161 @@ func (d *Decoder) DecodeAll(input, dst []byte) ([]byte, error) { // If non-blocking mode is used the returned boolean will be false // if no data was available without blocking. func (d *Decoder) nextBlock(blocking bool) (ok bool) { + if d.current.err != nil { + // Keep error state. + return false + } + d.current.b = d.current.b[:0] + + // SYNC: + if d.syncStream.enabled { + if !blocking { + return false + } + ok = d.nextBlockSync() + if !ok { + d.stashDecoder() + } + return ok + } + + //ASYNC: + d.stashDecoder() + if blocking { + d.current.decodeOutput, ok = <-d.current.output + } else { + select { + case d.current.decodeOutput, ok = <-d.current.output: + default: + return false + } + } + if !ok { + // This should not happen, so signal error state... + d.current.err = io.ErrUnexpectedEOF + return false + } + next := d.current.decodeOutput + if next.d != nil && next.d.async.newHist != nil { + d.current.crc.Reset() + } + if debugDecoder { + var tmp [4]byte + binary.LittleEndian.PutUint32(tmp[:], uint32(xxhash.Sum64(next.b))) + println("got", len(d.current.b), "bytes, error:", d.current.err, "data crc:", tmp) + } + + if len(next.b) > 0 { + n, err := d.current.crc.Write(next.b) + if err == nil { + if n != len(next.b) { + d.current.err = io.ErrShortWrite + } + } + } + if next.err == nil && next.d != nil && len(next.d.checkCRC) != 0 { + got := d.current.crc.Sum64() + var tmp [4]byte + binary.LittleEndian.PutUint32(tmp[:], uint32(got)) + if !bytes.Equal(tmp[:], next.d.checkCRC) && !ignoreCRC { + if debugDecoder { + println("CRC Check Failed:", tmp[:], " (got) !=", next.d.checkCRC, "(on stream)") + } + d.current.err = ErrCRCMismatch + } else { + if debugDecoder { + println("CRC ok", tmp[:]) + } + } + } + + return true +} + +func (d *Decoder) nextBlockSync() (ok bool) { + if d.current.d == nil { + d.current.d = <-d.decoders + } + for len(d.current.b) == 0 { + if !d.syncStream.inFrame { + d.frame.history.reset() + d.current.err = d.frame.reset(&d.syncStream.br) + if d.current.err != nil { + return false + } + if d.frame.DictionaryID != nil { + dict, ok := d.dicts[*d.frame.DictionaryID] + if !ok { + d.current.err = ErrUnknownDictionary + return false + } else { + d.frame.history.setDict(&dict) + } + } + if d.frame.WindowSize > d.o.maxDecodedSize || d.frame.WindowSize > d.o.maxWindowSize { + d.current.err = ErrDecoderSizeExceeded + return false + } + + d.syncStream.decodedFrame = 0 + d.syncStream.inFrame = true + } + d.current.err = d.frame.next(d.current.d) + if d.current.err != nil { + return false + } + d.frame.history.ensureBlock() + if debugDecoder { + println("History trimmed:", len(d.frame.history.b), "decoded already:", d.syncStream.decodedFrame) + } + histBefore := len(d.frame.history.b) + d.current.err = d.current.d.decodeBuf(&d.frame.history) + + if d.current.err != nil { + println("error after:", d.current.err) + return false + } + d.current.b = d.frame.history.b[histBefore:] + if debugDecoder { + println("history after:", len(d.frame.history.b)) + } + + // Check frame size (before CRC) + d.syncStream.decodedFrame += uint64(len(d.current.b)) + if d.syncStream.decodedFrame > d.frame.FrameContentSize { + if debugDecoder { + printf("DecodedFrame (%d) > FrameContentSize (%d)\n", d.syncStream.decodedFrame, d.frame.FrameContentSize) + } + d.current.err = ErrFrameSizeExceeded + return false + } + + // Check FCS + if d.current.d.Last && d.frame.FrameContentSize != fcsUnknown && d.syncStream.decodedFrame != d.frame.FrameContentSize { + if debugDecoder { + printf("DecodedFrame (%d) != FrameContentSize (%d)\n", d.syncStream.decodedFrame, d.frame.FrameContentSize) + } + d.current.err = ErrFrameSizeMismatch + return false + } + + // Update/Check CRC + if d.frame.HasCheckSum { + d.frame.crc.Write(d.current.b) + if d.current.d.Last { + d.current.err = d.frame.checkCRC() + if d.current.err != nil { + println("CRC error:", d.current.err) + return false + } + } + } + d.syncStream.inFrame = !d.current.d.Last + } + return true +} + +func (d *Decoder) stashDecoder() { if d.current.d != nil { if debugDecoder { printf("re-adding current decoder %p", d.current.d) @@ -375,24 +555,6 @@ func (d *Decoder) nextBlock(blocking bool) (ok bool) { d.decoders <- d.current.d d.current.d = nil } - if d.current.err != nil { - // Keep error state. - return blocking - } - - if blocking { - d.current.decodeOutput = <-d.current.output - } else { - select { - case d.current.decodeOutput = <-d.current.output: - default: - return false - } - } - if debugDecoder { - println("got", len(d.current.b), "bytes, error:", d.current.err) - } - return true } // Close will release all resources. @@ -402,10 +564,10 @@ func (d *Decoder) Close() { return } d.drainOutput() - if d.stream != nil { - close(d.stream) + if d.current.cancel != nil { + d.current.cancel() d.streamWg.Wait() - d.stream = nil + d.current.cancel = nil } if d.decoders != nil { close(d.decoders) @@ -456,100 +618,307 @@ type decodeOutput struct { err error } -type decodeStream struct { - r io.Reader - - // Blocks ready to be written to output. - output chan decodeOutput - - // cancel reading from the input - cancel chan struct{} +func (d *Decoder) startSyncDecoder(r io.Reader) error { + d.frame.history.reset() + d.syncStream.br = readerWrapper{r: r} + d.syncStream.inFrame = false + d.syncStream.enabled = true + d.syncStream.decodedFrame = 0 + return nil } -// errEndOfStream indicates that everything from the stream was read. -var errEndOfStream = errors.New("end-of-stream") - // Create Decoder: -// Spawn n block decoders. These accept tasks to decode a block. -// Create goroutine that handles stream processing, this will send history to decoders as they are available. -// Decoders update the history as they decode. -// When a block is returned: -// a) history is sent to the next decoder, -// b) content written to CRC. -// c) return data to WRITER. -// d) wait for next block to return data. -// Once WRITTEN, the decoders reused by the writer frame decoder for re-use. -func (d *Decoder) startStreamDecoder(inStream chan decodeStream) { +// ASYNC: +// Spawn 4 go routines. +// 0: Read frames and decode blocks. +// 1: Decode block and literals. Receives hufftree and seqdecs, returns seqdecs and huff tree. +// 2: Wait for recentOffsets if needed. Decode sequences, send recentOffsets. +// 3: Wait for stream history, execute sequences, send stream history. +func (d *Decoder) startStreamDecoder(ctx context.Context, r io.Reader, output chan decodeOutput) { defer d.streamWg.Done() - frame := newFrameDec(d.o) - for stream := range inStream { - if debugDecoder { - println("got new stream") + br := readerWrapper{r: r} + + var seqPrepare = make(chan *blockDec, d.o.concurrent) + var seqDecode = make(chan *blockDec, d.o.concurrent) + var seqExecute = make(chan *blockDec, d.o.concurrent) + + // Async 1: Prepare blocks... + go func() { + var hist history + var hasErr bool + for block := range seqPrepare { + if hasErr { + if block != nil { + seqDecode <- block + } + continue + } + if block.async.newHist != nil { + if debugDecoder { + println("Async 1: new history") + } + hist.reset() + if block.async.newHist.dict != nil { + hist.setDict(block.async.newHist.dict) + } + } + if block.err != nil || block.Type != blockTypeCompressed { + hasErr = block.err != nil + seqDecode <- block + continue + } + + remain, err := block.decodeLiterals(block.data, &hist) + block.err = err + hasErr = block.err != nil + if err == nil { + block.async.literals = hist.decoders.literals + block.async.seqData = remain + } else if debugDecoder { + println("decodeLiterals error:", err) + } + seqDecode <- block } - br := readerWrapper{r: stream.r} - decodeStream: - for { - frame.history.reset() - err := frame.reset(&br) - if debugDecoder && err != nil { - println("Frame decoder returned", err) + close(seqDecode) + }() + + // Async 2: Decode sequences... + go func() { + var hist history + var hasErr bool + + for block := range seqDecode { + if hasErr { + if block != nil { + seqExecute <- block + } + continue } - if err == nil && frame.DictionaryID != nil { - dict, ok := d.dicts[*frame.DictionaryID] - if !ok { - err = ErrUnknownDictionary + if block.async.newHist != nil { + if debugDecoder { + println("Async 2: new history, recent:", block.async.newHist.recentOffsets) + } + hist.decoders = block.async.newHist.decoders + hist.recentOffsets = block.async.newHist.recentOffsets + hist.windowSize = block.async.newHist.windowSize + if block.async.newHist.dict != nil { + hist.setDict(block.async.newHist.dict) + } + } + if block.err != nil || block.Type != blockTypeCompressed { + hasErr = block.err != nil + seqExecute <- block + continue + } + + hist.decoders.literals = block.async.literals + block.err = block.prepareSequences(block.async.seqData, &hist) + if debugDecoder && block.err != nil { + println("prepareSequences returned:", block.err) + } + hasErr = block.err != nil + if block.err == nil { + block.err = block.decodeSequences(&hist) + if debugDecoder && block.err != nil { + println("decodeSequences returned:", block.err) + } + hasErr = block.err != nil + // block.async.sequence = hist.decoders.seq[:hist.decoders.nSeqs] + block.async.seqSize = hist.decoders.seqSize + } + seqExecute <- block + } + close(seqExecute) + }() + + var wg sync.WaitGroup + wg.Add(1) + + // Async 3: Execute sequences... + frameHistCache := d.frame.history.b + go func() { + var hist history + var decodedFrame uint64 + var fcs uint64 + var hasErr bool + for block := range seqExecute { + out := decodeOutput{err: block.err, d: block} + if block.err != nil || hasErr { + hasErr = true + output <- out + continue + } + if block.async.newHist != nil { + if debugDecoder { + println("Async 3: new history") + } + hist.windowSize = block.async.newHist.windowSize + hist.allocFrameBuffer = block.async.newHist.allocFrameBuffer + if block.async.newHist.dict != nil { + hist.setDict(block.async.newHist.dict) + } + + if cap(hist.b) < hist.allocFrameBuffer { + if cap(frameHistCache) >= hist.allocFrameBuffer { + hist.b = frameHistCache + } else { + hist.b = make([]byte, 0, hist.allocFrameBuffer) + println("Alloc history sized", hist.allocFrameBuffer) + } + } + hist.b = hist.b[:0] + fcs = block.async.fcs + decodedFrame = 0 + } + do := decodeOutput{err: block.err, d: block} + switch block.Type { + case blockTypeRLE: + if debugDecoder { + println("add rle block length:", block.RLESize) + } + + if cap(block.dst) < int(block.RLESize) { + if block.lowMem { + block.dst = make([]byte, block.RLESize) + } else { + block.dst = make([]byte, maxBlockSize) + } + } + block.dst = block.dst[:block.RLESize] + v := block.data[0] + for i := range block.dst { + block.dst[i] = v + } + hist.append(block.dst) + do.b = block.dst + case blockTypeRaw: + if debugDecoder { + println("add raw block length:", len(block.data)) + } + hist.append(block.data) + do.b = block.data + case blockTypeCompressed: + if debugDecoder { + println("execute with history length:", len(hist.b), "window:", hist.windowSize) + } + hist.decoders.seqSize = block.async.seqSize + hist.decoders.literals = block.async.literals + do.err = block.executeSequences(&hist) + hasErr = do.err != nil + if debugDecoder && hasErr { + println("executeSequences returned:", do.err) + } + do.b = block.dst + } + if !hasErr { + decodedFrame += uint64(len(do.b)) + if decodedFrame > fcs { + println("fcs exceeded", block.Last, fcs, decodedFrame) + do.err = ErrFrameSizeExceeded + hasErr = true + } else if block.Last && fcs != fcsUnknown && decodedFrame != fcs { + do.err = ErrFrameSizeMismatch + hasErr = true } else { - frame.history.setDict(&dict) + if debugDecoder { + println("fcs ok", block.Last, fcs, decodedFrame) + } } } - if err != nil { - stream.output <- decodeOutput{ - err: err, + output <- do + } + close(output) + frameHistCache = hist.b + wg.Done() + if debugDecoder { + println("decoder goroutines finished") + } + }() + +decodeStream: + for { + frame := d.frame + if debugDecoder { + println("New frame...") + } + var historySent bool + frame.history.reset() + err := frame.reset(&br) + if debugDecoder && err != nil { + println("Frame decoder returned", err) + } + if err == nil && frame.DictionaryID != nil { + dict, ok := d.dicts[*frame.DictionaryID] + if !ok { + err = ErrUnknownDictionary + } else { + frame.history.setDict(&dict) + } + } + if err == nil && d.frame.WindowSize > d.o.maxWindowSize { + err = ErrDecoderSizeExceeded + } + if err != nil { + select { + case <-ctx.Done(): + case dec := <-d.decoders: + dec.sendErr(err) + seqPrepare <- dec + } + break decodeStream + } + + // Go through all blocks of the frame. + for { + var dec *blockDec + select { + case <-ctx.Done(): + break decodeStream + case dec = <-d.decoders: + // Once we have a decoder, we MUST return it. + } + err := frame.next(dec) + if !historySent { + h := frame.history + if debugDecoder { + println("Alloc History:", h.allocFrameBuffer) } + dec.async.newHist = &h + dec.async.fcs = frame.FrameContentSize + historySent = true + } else { + dec.async.newHist = nil + } + if debugDecoder && err != nil { + println("next block returned error:", err) + } + dec.err = err + dec.checkCRC = nil + if dec.Last && frame.HasCheckSum && err == nil { + crc, err := frame.rawInput.readSmall(4) + if err != nil { + println("CRC missing?", err) + dec.err = err + } + var tmp [4]byte + copy(tmp[:], crc) + dec.checkCRC = tmp[:] + if debugDecoder { + println("found crc to check:", dec.checkCRC) + } + } + err = dec.err + last := dec.Last + seqPrepare <- dec + if err != nil { + break decodeStream + } + if last { break } - if debugDecoder { - println("starting frame decoder") - } - - // This goroutine will forward history between frames. - frame.frameDone.Add(1) - frame.initAsync() - - go frame.startDecoder(stream.output) - decodeFrame: - // Go through all blocks of the frame. - for { - dec := <-d.decoders - select { - case <-stream.cancel: - if !frame.sendErr(dec, io.EOF) { - // To not let the decoder dangle, send it back. - stream.output <- decodeOutput{d: dec} - } - break decodeStream - default: - } - err := frame.next(dec) - switch err { - case io.EOF: - // End of current frame, no error - println("EOF on next block") - break decodeFrame - case nil: - continue - default: - println("block decoder returned", err) - break decodeStream - } - } - // All blocks have started decoding, check if there are more frames. - println("waiting for done") - frame.frameDone.Wait() - println("done waiting...") } - frame.frameDone.Wait() - println("Sending EOS") - stream.output <- decodeOutput{err: errEndOfStream} } + close(seqPrepare) + wg.Wait() + d.frame.history.b = frameHistCache } diff --git a/vendor/github.com/klauspost/compress/zstd/decoder_options.go b/vendor/github.com/klauspost/compress/zstd/decoder_options.go index 95cc9b8b8..fd05c9bb0 100644 --- a/vendor/github.com/klauspost/compress/zstd/decoder_options.go +++ b/vendor/github.com/klauspost/compress/zstd/decoder_options.go @@ -28,6 +28,9 @@ func (o *decoderOptions) setDefault() { concurrent: runtime.GOMAXPROCS(0), maxWindowSize: MaxWindowSize, } + if o.concurrent > 4 { + o.concurrent = 4 + } o.maxDecodedSize = 1 << 63 } @@ -37,16 +40,25 @@ func WithDecoderLowmem(b bool) DOption { return func(o *decoderOptions) error { o.lowMem = b; return nil } } -// WithDecoderConcurrency will set the concurrency, -// meaning the maximum number of decoders to run concurrently. -// The value supplied must be at least 1. -// By default this will be set to GOMAXPROCS. +// WithDecoderConcurrency sets the number of created decoders. +// When decoding block with DecodeAll, this will limit the number +// of possible concurrently running decodes. +// When decoding streams, this will limit the number of +// inflight blocks. +// When decoding streams and setting maximum to 1, +// no async decoding will be done. +// When a value of 0 is provided GOMAXPROCS will be used. +// By default this will be set to 4 or GOMAXPROCS, whatever is lower. func WithDecoderConcurrency(n int) DOption { return func(o *decoderOptions) error { - if n <= 0 { + if n < 0 { return errors.New("concurrency must be at least 1") } - o.concurrent = n + if n == 0 { + o.concurrent = runtime.GOMAXPROCS(0) + } else { + o.concurrent = n + } return nil } } diff --git a/vendor/github.com/klauspost/compress/zstd/enc_base.go b/vendor/github.com/klauspost/compress/zstd/enc_base.go index 295cd602a..15ae8ee80 100644 --- a/vendor/github.com/klauspost/compress/zstd/enc_base.go +++ b/vendor/github.com/klauspost/compress/zstd/enc_base.go @@ -108,11 +108,6 @@ func (e *fastBase) UseBlock(enc *blockEnc) { e.blk = enc } -func (e *fastBase) matchlenNoHist(s, t int32, src []byte) int32 { - // Extend the match to be as long as possible. - return int32(matchLen(src[s:], src[t:])) -} - func (e *fastBase) matchlen(s, t int32, src []byte) int32 { if debugAsserts { if s < 0 { @@ -131,9 +126,24 @@ func (e *fastBase) matchlen(s, t int32, src []byte) int32 { panic(fmt.Sprintf("len(src)-s (%d) > maxCompressedBlockSize (%d)", len(src)-int(s), maxCompressedBlockSize)) } } + a := src[s:] + b := src[t:] + b = b[:len(a)] + end := int32((len(a) >> 3) << 3) + for i := int32(0); i < end; i += 8 { + if diff := load6432(a, i) ^ load6432(b, i); diff != 0 { + return i + int32(bits.TrailingZeros64(diff)>>3) + } + } - // Extend the match to be as long as possible. - return int32(matchLen(src[s:], src[t:])) + a = a[end:] + b = b[end:] + for i := range a { + if a[i] != b[i] { + return int32(i) + end + } + } + return int32(len(a)) + end } // Reset the encoding table. diff --git a/vendor/github.com/klauspost/compress/zstd/enc_fast.go b/vendor/github.com/klauspost/compress/zstd/enc_fast.go index f2502629b..f51ab529a 100644 --- a/vendor/github.com/klauspost/compress/zstd/enc_fast.go +++ b/vendor/github.com/klauspost/compress/zstd/enc_fast.go @@ -6,8 +6,6 @@ package zstd import ( "fmt" - "math" - "math/bits" ) const ( @@ -87,7 +85,7 @@ func (e *fastEncoder) Encode(blk *blockEnc, src []byte) { // TEMPLATE const hashLog = tableBits // seems global, but would be nice to tweak. - const kSearchStrength = 7 + const kSearchStrength = 6 // nextEmit is where in src the next emitLiteral should start from. nextEmit := s @@ -136,20 +134,7 @@ encodeLoop: // Consider history as well. var seq seq var length int32 - // length = 4 + e.matchlen(s+6, repIndex+4, src) - { - a := src[s+6:] - b := src[repIndex+4:] - endI := len(a) & (math.MaxInt32 - 7) - length = int32(endI) + 4 - for i := 0; i < endI; i += 8 { - if diff := load64(a, i) ^ load64(b, i); diff != 0 { - length = int32(i+bits.TrailingZeros64(diff)>>3) + 4 - break - } - } - } - + length = 4 + e.matchlen(s+6, repIndex+4, src) seq.matchLen = uint32(length - zstdMinMatch) // We might be able to match backwards. @@ -236,20 +221,7 @@ encodeLoop: } // Extend the 4-byte match as long as possible. - //l := e.matchlen(s+4, t+4, src) + 4 - var l int32 - { - a := src[s+4:] - b := src[t+4:] - endI := len(a) & (math.MaxInt32 - 7) - l = int32(endI) + 4 - for i := 0; i < endI; i += 8 { - if diff := load64(a, i) ^ load64(b, i); diff != 0 { - l = int32(i+bits.TrailingZeros64(diff)>>3) + 4 - break - } - } - } + l := e.matchlen(s+4, t+4, src) + 4 // Extend backwards tMin := s - e.maxMatchOff @@ -286,20 +258,7 @@ encodeLoop: if o2 := s - offset2; canRepeat && load3232(src, o2) == uint32(cv) { // We have at least 4 byte match. // No need to check backwards. We come straight from a match - //l := 4 + e.matchlen(s+4, o2+4, src) - var l int32 - { - a := src[s+4:] - b := src[o2+4:] - endI := len(a) & (math.MaxInt32 - 7) - l = int32(endI) + 4 - for i := 0; i < endI; i += 8 { - if diff := load64(a, i) ^ load64(b, i); diff != 0 { - l = int32(i+bits.TrailingZeros64(diff)>>3) + 4 - break - } - } - } + l := 4 + e.matchlen(s+4, o2+4, src) // Store this, since we have it. nextHash := hashLen(cv, hashLog, tableFastHashLen) @@ -375,7 +334,7 @@ func (e *fastEncoder) EncodeNoHist(blk *blockEnc, src []byte) { // TEMPLATE const hashLog = tableBits // seems global, but would be nice to tweak. - const kSearchStrength = 8 + const kSearchStrength = 6 // nextEmit is where in src the next emitLiteral should start from. nextEmit := s @@ -418,21 +377,7 @@ encodeLoop: if len(blk.sequences) > 2 && load3232(src, repIndex) == uint32(cv>>16) { // Consider history as well. var seq seq - // length := 4 + e.matchlen(s+6, repIndex+4, src) - // length := 4 + int32(matchLen(src[s+6:], src[repIndex+4:])) - var length int32 - { - a := src[s+6:] - b := src[repIndex+4:] - endI := len(a) & (math.MaxInt32 - 7) - length = int32(endI) + 4 - for i := 0; i < endI; i += 8 { - if diff := load64(a, i) ^ load64(b, i); diff != 0 { - length = int32(i+bits.TrailingZeros64(diff)>>3) + 4 - break - } - } - } + length := 4 + e.matchlen(s+6, repIndex+4, src) seq.matchLen = uint32(length - zstdMinMatch) @@ -522,21 +467,7 @@ encodeLoop: panic(fmt.Sprintf("t (%d) < 0 ", t)) } // Extend the 4-byte match as long as possible. - //l := e.matchlenNoHist(s+4, t+4, src) + 4 - // l := int32(matchLen(src[s+4:], src[t+4:])) + 4 - var l int32 - { - a := src[s+4:] - b := src[t+4:] - endI := len(a) & (math.MaxInt32 - 7) - l = int32(endI) + 4 - for i := 0; i < endI; i += 8 { - if diff := load64(a, i) ^ load64(b, i); diff != 0 { - l = int32(i+bits.TrailingZeros64(diff)>>3) + 4 - break - } - } - } + l := e.matchlen(s+4, t+4, src) + 4 // Extend backwards tMin := s - e.maxMatchOff @@ -573,21 +504,7 @@ encodeLoop: if o2 := s - offset2; len(blk.sequences) > 2 && load3232(src, o2) == uint32(cv) { // We have at least 4 byte match. // No need to check backwards. We come straight from a match - //l := 4 + e.matchlenNoHist(s+4, o2+4, src) - // l := 4 + int32(matchLen(src[s+4:], src[o2+4:])) - var l int32 - { - a := src[s+4:] - b := src[o2+4:] - endI := len(a) & (math.MaxInt32 - 7) - l = int32(endI) + 4 - for i := 0; i < endI; i += 8 { - if diff := load64(a, i) ^ load64(b, i); diff != 0 { - l = int32(i+bits.TrailingZeros64(diff)>>3) + 4 - break - } - } - } + l := 4 + e.matchlen(s+4, o2+4, src) // Store this, since we have it. nextHash := hashLen(cv, hashLog, tableFastHashLen) @@ -731,19 +648,7 @@ encodeLoop: // Consider history as well. var seq seq var length int32 - // length = 4 + e.matchlen(s+6, repIndex+4, src) - { - a := src[s+6:] - b := src[repIndex+4:] - endI := len(a) & (math.MaxInt32 - 7) - length = int32(endI) + 4 - for i := 0; i < endI; i += 8 { - if diff := load64(a, i) ^ load64(b, i); diff != 0 { - length = int32(i+bits.TrailingZeros64(diff)>>3) + 4 - break - } - } - } + length = 4 + e.matchlen(s+6, repIndex+4, src) seq.matchLen = uint32(length - zstdMinMatch) @@ -831,20 +736,7 @@ encodeLoop: } // Extend the 4-byte match as long as possible. - //l := e.matchlen(s+4, t+4, src) + 4 - var l int32 - { - a := src[s+4:] - b := src[t+4:] - endI := len(a) & (math.MaxInt32 - 7) - l = int32(endI) + 4 - for i := 0; i < endI; i += 8 { - if diff := load64(a, i) ^ load64(b, i); diff != 0 { - l = int32(i+bits.TrailingZeros64(diff)>>3) + 4 - break - } - } - } + l := e.matchlen(s+4, t+4, src) + 4 // Extend backwards tMin := s - e.maxMatchOff @@ -881,20 +773,7 @@ encodeLoop: if o2 := s - offset2; canRepeat && load3232(src, o2) == uint32(cv) { // We have at least 4 byte match. // No need to check backwards. We come straight from a match - //l := 4 + e.matchlen(s+4, o2+4, src) - var l int32 - { - a := src[s+4:] - b := src[o2+4:] - endI := len(a) & (math.MaxInt32 - 7) - l = int32(endI) + 4 - for i := 0; i < endI; i += 8 { - if diff := load64(a, i) ^ load64(b, i); diff != 0 { - l = int32(i+bits.TrailingZeros64(diff)>>3) + 4 - break - } - } - } + l := 4 + e.matchlen(s+4, o2+4, src) // Store this, since we have it. nextHash := hashLen(cv, hashLog, tableFastHashLen) diff --git a/vendor/github.com/klauspost/compress/zstd/encoder.go b/vendor/github.com/klauspost/compress/zstd/encoder.go index e6e315969..dcc987a7c 100644 --- a/vendor/github.com/klauspost/compress/zstd/encoder.go +++ b/vendor/github.com/klauspost/compress/zstd/encoder.go @@ -98,23 +98,25 @@ func (e *Encoder) Reset(w io.Writer) { if cap(s.filling) == 0 { s.filling = make([]byte, 0, e.o.blockSize) } - if cap(s.current) == 0 { - s.current = make([]byte, 0, e.o.blockSize) - } - if cap(s.previous) == 0 { - s.previous = make([]byte, 0, e.o.blockSize) + if e.o.concurrent > 1 { + if cap(s.current) == 0 { + s.current = make([]byte, 0, e.o.blockSize) + } + if cap(s.previous) == 0 { + s.previous = make([]byte, 0, e.o.blockSize) + } + s.current = s.current[:0] + s.previous = s.previous[:0] + if s.writing == nil { + s.writing = &blockEnc{lowMem: e.o.lowMem} + s.writing.init() + } + s.writing.initNewEncode() } if s.encoder == nil { s.encoder = e.o.encoder() } - if s.writing == nil { - s.writing = &blockEnc{lowMem: e.o.lowMem} - s.writing.init() - } - s.writing.initNewEncode() s.filling = s.filling[:0] - s.current = s.current[:0] - s.previous = s.previous[:0] s.encoder.Reset(e.o.dict, false) s.headerWritten = false s.eofWritten = false @@ -258,6 +260,46 @@ func (e *Encoder) nextBlock(final bool) error { return s.err } + // SYNC: + if e.o.concurrent == 1 { + src := s.filling + s.nInput += int64(len(s.filling)) + if debugEncoder { + println("Adding sync block,", len(src), "bytes, final:", final) + } + enc := s.encoder + blk := enc.Block() + blk.reset(nil) + enc.Encode(blk, src) + blk.last = final + if final { + s.eofWritten = true + } + + err := errIncompressible + // If we got the exact same number of literals as input, + // assume the literals cannot be compressed. + if len(src) != len(blk.literals) || len(src) != e.o.blockSize { + err = blk.encode(src, e.o.noEntropy, !e.o.allLitEntropy) + } + switch err { + case errIncompressible: + if debugEncoder { + println("Storing incompressible block as raw") + } + blk.encodeRaw(src) + // In fast mode, we do not transfer offsets, so we don't have to deal with changing the. + case nil: + default: + s.err = err + return err + } + _, s.err = s.w.Write(blk.output) + s.nWritten += int64(len(blk.output)) + s.filling = s.filling[:0] + return s.err + } + // Move blocks forward. s.filling, s.current, s.previous = s.previous[:0], s.filling, s.current s.nInput += int64(len(s.current)) diff --git a/vendor/github.com/klauspost/compress/zstd/encoder_options.go b/vendor/github.com/klauspost/compress/zstd/encoder_options.go index 7d29e1d68..44d8dbd19 100644 --- a/vendor/github.com/klauspost/compress/zstd/encoder_options.go +++ b/vendor/github.com/klauspost/compress/zstd/encoder_options.go @@ -24,6 +24,7 @@ type encoderOptions struct { allLitEntropy bool customWindow bool customALEntropy bool + customBlockSize bool lowMem bool dict *dict } @@ -33,7 +34,7 @@ func (o *encoderOptions) setDefault() { concurrent: runtime.GOMAXPROCS(0), crc: true, single: nil, - blockSize: 1 << 16, + blockSize: maxCompressedBlockSize, windowSize: 8 << 20, level: SpeedDefault, allLitEntropy: true, @@ -75,6 +76,7 @@ func WithEncoderCRC(b bool) EOption { // WithEncoderConcurrency will set the concurrency, // meaning the maximum number of encoders to run concurrently. // The value supplied must be at least 1. +// For streams, setting a value of 1 will disable async compression. // By default this will be set to GOMAXPROCS. func WithEncoderConcurrency(n int) EOption { return func(o *encoderOptions) error { @@ -106,6 +108,7 @@ func WithWindowSize(n int) EOption { o.customWindow = true if o.blockSize > o.windowSize { o.blockSize = o.windowSize + o.customBlockSize = true } return nil } @@ -188,10 +191,9 @@ func EncoderLevelFromZstd(level int) EncoderLevel { return SpeedDefault case level >= 6 && level < 10: return SpeedBetterCompression - case level >= 10: + default: return SpeedBestCompression } - return SpeedDefault } // String provides a string representation of the compression level. @@ -222,6 +224,9 @@ func WithEncoderLevel(l EncoderLevel) EOption { switch o.level { case SpeedFastest: o.windowSize = 4 << 20 + if !o.customBlockSize { + o.blockSize = 1 << 16 + } case SpeedDefault: o.windowSize = 8 << 20 case SpeedBetterCompression: diff --git a/vendor/github.com/klauspost/compress/zstd/framedec.go b/vendor/github.com/klauspost/compress/zstd/framedec.go index 989c79f8c..11089d223 100644 --- a/vendor/github.com/klauspost/compress/zstd/framedec.go +++ b/vendor/github.com/klauspost/compress/zstd/framedec.go @@ -8,23 +8,17 @@ import ( "bytes" "encoding/hex" "errors" - "hash" "io" - "sync" "github.com/klauspost/compress/zstd/internal/xxhash" ) type frameDec struct { - o decoderOptions - crc hash.Hash64 - offset int64 + o decoderOptions + crc *xxhash.Digest WindowSize uint64 - // In order queue of blocks being decoded. - decoding chan *blockDec - // Frame history passed between blocks history history @@ -34,15 +28,10 @@ type frameDec struct { bBuf byteBuf FrameContentSize uint64 - frameDone sync.WaitGroup DictionaryID *uint32 HasCheckSum bool SingleSegment bool - - // asyncRunning indicates whether the async routine processes input on 'decoding'. - asyncRunningMu sync.Mutex - asyncRunning bool } const ( @@ -208,7 +197,7 @@ func (d *frameDec) reset(br byteBuffer) error { default: fcsSize = 1 << v } - d.FrameContentSize = 0 + d.FrameContentSize = fcsUnknown if fcsSize > 0 { b, err := br.readSmall(fcsSize) if err != nil { @@ -229,9 +218,10 @@ func (d *frameDec) reset(br byteBuffer) error { d.FrameContentSize = uint64(d1) | (uint64(d2) << 32) } if debugDecoder { - println("field size bits:", v, "fcsSize:", fcsSize, "FrameContentSize:", d.FrameContentSize, hex.EncodeToString(b[:fcsSize]), "singleseg:", d.SingleSegment, "window:", d.WindowSize) + println("Read FCS:", d.FrameContentSize) } } + // Move this to shared. d.HasCheckSum = fhd&(1<<2) != 0 if d.HasCheckSum { @@ -264,10 +254,16 @@ func (d *frameDec) reset(br byteBuffer) error { } d.history.windowSize = int(d.WindowSize) if d.o.lowMem && d.history.windowSize < maxBlockSize { - d.history.maxSize = d.history.windowSize * 2 + d.history.allocFrameBuffer = d.history.windowSize * 2 + // TODO: Maybe use FrameContent size } else { - d.history.maxSize = d.history.windowSize + maxBlockSize + d.history.allocFrameBuffer = d.history.windowSize + maxBlockSize } + + if debugDecoder { + println("Frame: Dict:", d.DictionaryID, "FrameContentSize:", d.FrameContentSize, "singleseg:", d.SingleSegment, "window:", d.WindowSize, "crc:", d.HasCheckSum) + } + // history contains input - maybe we do something d.rawInput = br return nil @@ -276,49 +272,18 @@ func (d *frameDec) reset(br byteBuffer) error { // next will start decoding the next block from stream. func (d *frameDec) next(block *blockDec) error { if debugDecoder { - printf("decoding new block %p:%p", block, block.data) + println("decoding new block") } err := block.reset(d.rawInput, d.WindowSize) if err != nil { println("block error:", err) // Signal the frame decoder we have a problem. - d.sendErr(block, err) + block.sendErr(err) return err } - block.input <- struct{}{} - if debugDecoder { - println("next block:", block) - } - d.asyncRunningMu.Lock() - defer d.asyncRunningMu.Unlock() - if !d.asyncRunning { - return nil - } - if block.Last { - // We indicate the frame is done by sending io.EOF - d.decoding <- block - return io.EOF - } - d.decoding <- block return nil } -// sendEOF will queue an error block on the frame. -// This will cause the frame decoder to return when it encounters the block. -// Returns true if the decoder was added. -func (d *frameDec) sendErr(block *blockDec, err error) bool { - d.asyncRunningMu.Lock() - defer d.asyncRunningMu.Unlock() - if !d.asyncRunning { - return false - } - - println("sending error", err.Error()) - block.sendErr(err) - d.decoding <- block - return true -} - // checkCRC will check the checksum if the frame has one. // Will return ErrCRCMismatch if crc check failed, otherwise nil. func (d *frameDec) checkCRC() error { @@ -340,7 +305,7 @@ func (d *frameDec) checkCRC() error { return err } - if !bytes.Equal(tmp[:], want) { + if !bytes.Equal(tmp[:], want) && !ignoreCRC { if debugDecoder { println("CRC Check Failed:", tmp[:], "!=", want) } @@ -352,131 +317,13 @@ func (d *frameDec) checkCRC() error { return nil } -func (d *frameDec) initAsync() { - if !d.o.lowMem && !d.SingleSegment { - // set max extra size history to 2MB. - d.history.maxSize = d.history.windowSize + maxBlockSize - } - // re-alloc if more than one extra block size. - if d.o.lowMem && cap(d.history.b) > d.history.maxSize+maxBlockSize { - d.history.b = make([]byte, 0, d.history.maxSize) - } - if cap(d.history.b) < d.history.maxSize { - d.history.b = make([]byte, 0, d.history.maxSize) - } - if cap(d.decoding) < d.o.concurrent { - d.decoding = make(chan *blockDec, d.o.concurrent) - } - if debugDecoder { - h := d.history - printf("history init. len: %d, cap: %d", len(h.b), cap(h.b)) - } - d.asyncRunningMu.Lock() - d.asyncRunning = true - d.asyncRunningMu.Unlock() -} - -// startDecoder will start decoding blocks and write them to the writer. -// The decoder will stop as soon as an error occurs or at end of frame. -// When the frame has finished decoding the *bufio.Reader -// containing the remaining input will be sent on frameDec.frameDone. -func (d *frameDec) startDecoder(output chan decodeOutput) { - written := int64(0) - - defer func() { - d.asyncRunningMu.Lock() - d.asyncRunning = false - d.asyncRunningMu.Unlock() - - // Drain the currently decoding. - d.history.error = true - flushdone: - for { - select { - case b := <-d.decoding: - b.history <- &d.history - output <- <-b.result - default: - break flushdone - } - } - println("frame decoder done, signalling done") - d.frameDone.Done() - }() - // Get decoder for first block. - block := <-d.decoding - block.history <- &d.history - for { - var next *blockDec - // Get result - r := <-block.result - if r.err != nil { - println("Result contained error", r.err) - output <- r - return - } - if debugDecoder { - println("got result, from ", d.offset, "to", d.offset+int64(len(r.b))) - d.offset += int64(len(r.b)) - } - if !block.Last { - // Send history to next block - select { - case next = <-d.decoding: - if debugDecoder { - println("Sending ", len(d.history.b), "bytes as history") - } - next.history <- &d.history - default: - // Wait until we have sent the block, so - // other decoders can potentially get the decoder. - next = nil - } - } - - // Add checksum, async to decoding. - if d.HasCheckSum { - n, err := d.crc.Write(r.b) - if err != nil { - r.err = err - if n != len(r.b) { - r.err = io.ErrShortWrite - } - output <- r - return - } - } - written += int64(len(r.b)) - if d.SingleSegment && uint64(written) > d.FrameContentSize { - println("runDecoder: single segment and", uint64(written), ">", d.FrameContentSize) - r.err = ErrFrameSizeExceeded - output <- r - return - } - if block.Last { - r.err = d.checkCRC() - output <- r - return - } - output <- r - if next == nil { - // There was no decoder available, we wait for one now that we have sent to the writer. - if debugDecoder { - println("Sending ", len(d.history.b), " bytes as history") - } - next = <-d.decoding - next.history <- &d.history - } - block = next - } -} - // runDecoder will create a sync decoder that will decode a block of data. func (d *frameDec) runDecoder(dst []byte, dec *blockDec) ([]byte, error) { saved := d.history.b // We use the history for output to avoid copying it. d.history.b = dst + d.history.ignoreBuffer = len(dst) // Store input length, so we only check new data. crcStart := len(dst) var err error @@ -489,22 +336,30 @@ func (d *frameDec) runDecoder(dst []byte, dec *blockDec) ([]byte, error) { println("next block:", dec) } err = dec.decodeBuf(&d.history) - if err != nil || dec.Last { + if err != nil { break } if uint64(len(d.history.b)) > d.o.maxDecodedSize { err = ErrDecoderSizeExceeded break } - if d.SingleSegment && uint64(len(d.history.b)) > d.o.maxDecodedSize { - println("runDecoder: single segment and", uint64(len(d.history.b)), ">", d.o.maxDecodedSize) + if uint64(len(d.history.b)-crcStart) > d.FrameContentSize { + println("runDecoder: FrameContentSize exceeded", uint64(len(d.history.b)-crcStart), ">", d.FrameContentSize) err = ErrFrameSizeExceeded break } + if dec.Last { + break + } + if debugDecoder { + println("runDecoder: FrameContentSize", uint64(len(d.history.b)-crcStart), "<=", d.FrameContentSize) + } } dst = d.history.b if err == nil { - if d.HasCheckSum { + if d.FrameContentSize != fcsUnknown && uint64(len(d.history.b)-crcStart) != d.FrameContentSize { + err = ErrFrameSizeMismatch + } else if d.HasCheckSum { var n int n, err = d.crc.Write(dst[crcStart:]) if err == nil { diff --git a/vendor/github.com/klauspost/compress/zstd/fse_decoder.go b/vendor/github.com/klauspost/compress/zstd/fse_decoder.go index e6d3d49b3..bb3d4fd6c 100644 --- a/vendor/github.com/klauspost/compress/zstd/fse_decoder.go +++ b/vendor/github.com/klauspost/compress/zstd/fse_decoder.go @@ -379,7 +379,7 @@ func (s decSymbol) final() (int, uint8) { // This can only be used if no symbols are 0 bits. // At least tablelog bits must be available in the bit reader. func (s *fseState) nextFast(br *bitReader) (uint32, uint8) { - lowBits := uint16(br.getBitsFast(s.state.nbBits())) + lowBits := br.get16BitsFast(s.state.nbBits()) s.state = s.dt[s.state.newState()+lowBits] return s.state.baseline(), s.state.addBits() } diff --git a/vendor/github.com/klauspost/compress/zstd/fse_encoder.go b/vendor/github.com/klauspost/compress/zstd/fse_encoder.go index b4757ee3f..5442061b1 100644 --- a/vendor/github.com/klauspost/compress/zstd/fse_encoder.go +++ b/vendor/github.com/klauspost/compress/zstd/fse_encoder.go @@ -62,9 +62,8 @@ func (s symbolTransform) String() string { // To indicate that you have populated the histogram call HistogramFinished // with the value of the highest populated symbol, as well as the number of entries // in the most populated entry. These are accepted at face value. -// The returned slice will always be length 256. -func (s *fseEncoder) Histogram() []uint32 { - return s.count[:] +func (s *fseEncoder) Histogram() *[256]uint32 { + return &s.count } // HistogramFinished can be called to indicate that the histogram has been populated. diff --git a/vendor/github.com/klauspost/compress/zstd/fuzz.go b/vendor/github.com/klauspost/compress/zstd/fuzz.go new file mode 100644 index 000000000..7f2210e05 --- /dev/null +++ b/vendor/github.com/klauspost/compress/zstd/fuzz.go @@ -0,0 +1,11 @@ +//go:build ignorecrc +// +build ignorecrc + +// Copyright 2019+ Klaus Post. All rights reserved. +// License information can be found in the LICENSE file. +// Based on work by Yann Collet, released under BSD License. + +package zstd + +// ignoreCRC can be used for fuzz testing to ignore CRC values... +const ignoreCRC = true diff --git a/vendor/github.com/klauspost/compress/zstd/fuzz_none.go b/vendor/github.com/klauspost/compress/zstd/fuzz_none.go new file mode 100644 index 000000000..6811c68a8 --- /dev/null +++ b/vendor/github.com/klauspost/compress/zstd/fuzz_none.go @@ -0,0 +1,11 @@ +//go:build !ignorecrc +// +build !ignorecrc + +// Copyright 2019+ Klaus Post. All rights reserved. +// License information can be found in the LICENSE file. +// Based on work by Yann Collet, released under BSD License. + +package zstd + +// ignoreCRC can be used for fuzz testing to ignore CRC values... +const ignoreCRC = false diff --git a/vendor/github.com/klauspost/compress/zstd/history.go b/vendor/github.com/klauspost/compress/zstd/history.go index f783e32d2..28b40153c 100644 --- a/vendor/github.com/klauspost/compress/zstd/history.go +++ b/vendor/github.com/klauspost/compress/zstd/history.go @@ -10,20 +10,31 @@ import ( // history contains the information transferred between blocks. type history struct { - b []byte - huffTree *huff0.Scratch - recentOffsets [3]int + // Literal decompression + huffTree *huff0.Scratch + + // Sequence decompression decoders sequenceDecs - windowSize int - maxSize int - error bool - dict *dict + recentOffsets [3]int + + // History buffer... + b []byte + + // ignoreBuffer is meant to ignore a number of bytes + // when checking for matches in history + ignoreBuffer int + + windowSize int + allocFrameBuffer int // needed? + error bool + dict *dict } // reset will reset the history to initial state of a frame. // The history must already have been initialized to the desired size. func (h *history) reset() { h.b = h.b[:0] + h.ignoreBuffer = 0 h.error = false h.recentOffsets = [3]int{1, 4, 8} if f := h.decoders.litLengths.fse; f != nil && !f.preDefined { @@ -35,7 +46,7 @@ func (h *history) reset() { if f := h.decoders.matchLengths.fse; f != nil && !f.preDefined { fseDecoderPool.Put(f) } - h.decoders = sequenceDecs{} + h.decoders = sequenceDecs{br: h.decoders.br} if h.huffTree != nil { if h.dict == nil || h.dict.litEnc != h.huffTree { huffDecoderPool.Put(h.huffTree) @@ -54,6 +65,7 @@ func (h *history) setDict(dict *dict) { h.decoders.litLengths = dict.llDec h.decoders.offsets = dict.ofDec h.decoders.matchLengths = dict.mlDec + h.decoders.dict = dict.content h.recentOffsets = dict.offsets h.huffTree = dict.litEnc } @@ -83,6 +95,24 @@ func (h *history) append(b []byte) { copy(h.b[h.windowSize-len(b):], b) } +// ensureBlock will ensure there is space for at least one block... +func (h *history) ensureBlock() { + if cap(h.b) < h.allocFrameBuffer { + h.b = make([]byte, 0, h.allocFrameBuffer) + return + } + + avail := cap(h.b) - len(h.b) + if avail >= h.windowSize || avail > maxCompressedBlockSize { + return + } + // Move data down so we only have window size left. + // We know we have less than window size in b at this point. + discard := len(h.b) - h.windowSize + copy(h.b, h.b[discard:]) + h.b = h.b[:h.windowSize] +} + // append bytes to history without ever discarding anything. func (h *history) appendKeep(b []byte) { h.b = append(h.b, b...) diff --git a/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_amd64.s b/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_amd64.s index be8db5bf7..cea178561 100644 --- a/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_amd64.s +++ b/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_amd64.s @@ -1,6 +1,7 @@ // +build !appengine // +build gc // +build !purego +// +build !noasm #include "textflag.h" diff --git a/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_arm64.s b/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_arm64.s new file mode 100644 index 000000000..4d64a17d6 --- /dev/null +++ b/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_arm64.s @@ -0,0 +1,186 @@ +// +build gc,!purego,!noasm + +#include "textflag.h" + +// Register allocation. +#define digest R1 +#define h R2 // Return value. +#define p R3 // Input pointer. +#define len R4 +#define nblocks R5 // len / 32. +#define prime1 R7 +#define prime2 R8 +#define prime3 R9 +#define prime4 R10 +#define prime5 R11 +#define v1 R12 +#define v2 R13 +#define v3 R14 +#define v4 R15 +#define x1 R20 +#define x2 R21 +#define x3 R22 +#define x4 R23 + +#define round(acc, x) \ + MADD prime2, acc, x, acc \ + ROR $64-31, acc \ + MUL prime1, acc \ + +// x = round(0, x). +#define round0(x) \ + MUL prime2, x \ + ROR $64-31, x \ + MUL prime1, x \ + +#define mergeRound(x) \ + round0(x) \ + EOR x, h \ + MADD h, prime4, prime1, h \ + +// Update v[1-4] with 32-byte blocks. Assumes len >= 32. +#define blocksLoop() \ + LSR $5, len, nblocks \ + PCALIGN $16 \ + loop: \ + LDP.P 32(p), (x1, x2) \ + round(v1, x1) \ + LDP -16(p), (x3, x4) \ + round(v2, x2) \ + SUB $1, nblocks \ + round(v3, x3) \ + round(v4, x4) \ + CBNZ nblocks, loop \ + +// The primes are repeated here to ensure that they're stored +// in a contiguous array, so we can load them with LDP. +DATA primes<> +0(SB)/8, $11400714785074694791 +DATA primes<> +8(SB)/8, $14029467366897019727 +DATA primes<>+16(SB)/8, $1609587929392839161 +DATA primes<>+24(SB)/8, $9650029242287828579 +DATA primes<>+32(SB)/8, $2870177450012600261 +GLOBL primes<>(SB), NOPTR+RODATA, $40 + +// func Sum64(b []byte) uint64 +TEXT ·Sum64(SB), NOFRAME+NOSPLIT, $0-32 + LDP b_base+0(FP), (p, len) + + LDP primes<> +0(SB), (prime1, prime2) + LDP primes<>+16(SB), (prime3, prime4) + MOVD primes<>+32(SB), prime5 + + CMP $32, len + CSEL LO, prime5, ZR, h // if len < 32 { h = prime5 } else { h = 0 } + BLO afterLoop + + ADD prime1, prime2, v1 + MOVD prime2, v2 + MOVD $0, v3 + NEG prime1, v4 + + blocksLoop() + + ROR $64-1, v1, x1 + ROR $64-7, v2, x2 + ADD x1, x2 + ROR $64-12, v3, x3 + ROR $64-18, v4, x4 + ADD x3, x4 + ADD x2, x4, h + + mergeRound(v1) + mergeRound(v2) + mergeRound(v3) + mergeRound(v4) + +afterLoop: + ADD len, h + + TBZ $4, len, try8 + LDP.P 16(p), (x1, x2) + + round0(x1) + ROR $64-27, h + EOR x1 @> 64-27, h, h + MADD h, prime4, prime1, h + + round0(x2) + ROR $64-27, h + EOR x2 @> 64-27, h + MADD h, prime4, prime1, h + +try8: + TBZ $3, len, try4 + MOVD.P 8(p), x1 + + round0(x1) + ROR $64-27, h + EOR x1 @> 64-27, h + MADD h, prime4, prime1, h + +try4: + TBZ $2, len, try2 + MOVWU.P 4(p), x2 + + MUL prime1, x2 + ROR $64-23, h + EOR x2 @> 64-23, h + MADD h, prime3, prime2, h + +try2: + TBZ $1, len, try1 + MOVHU.P 2(p), x3 + AND $255, x3, x1 + LSR $8, x3, x2 + + MUL prime5, x1 + ROR $64-11, h + EOR x1 @> 64-11, h + MUL prime1, h + + MUL prime5, x2 + ROR $64-11, h + EOR x2 @> 64-11, h + MUL prime1, h + +try1: + TBZ $0, len, end + MOVBU (p), x4 + + MUL prime5, x4 + ROR $64-11, h + EOR x4 @> 64-11, h + MUL prime1, h + +end: + EOR h >> 33, h + MUL prime2, h + EOR h >> 29, h + MUL prime3, h + EOR h >> 32, h + + MOVD h, ret+24(FP) + RET + +// func writeBlocks(d *Digest, b []byte) int +// +// Assumes len(b) >= 32. +TEXT ·writeBlocks(SB), NOFRAME+NOSPLIT, $0-40 + LDP primes<>(SB), (prime1, prime2) + + // Load state. Assume v[1-4] are stored contiguously. + MOVD d+0(FP), digest + LDP 0(digest), (v1, v2) + LDP 16(digest), (v3, v4) + + LDP b_base+8(FP), (p, len) + + blocksLoop() + + // Store updated state. + STP (v1, v2), 0(digest) + STP (v3, v4), 16(digest) + + BIC $31, len + MOVD len, ret+32(FP) + RET diff --git a/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_amd64.go b/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_asm.go similarity index 51% rename from vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_amd64.go rename to vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_asm.go index 0ae847f75..1a1fac9c2 100644 --- a/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_amd64.go +++ b/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_asm.go @@ -1,5 +1,9 @@ -//go:build !appengine && gc && !purego -// +build !appengine,gc,!purego +//go:build (amd64 || arm64) && !appengine && gc && !purego && !noasm +// +build amd64 arm64 +// +build !appengine +// +build gc +// +build !purego +// +build !noasm package xxhash diff --git a/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_other.go b/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_other.go index 1f52f296e..209cb4a99 100644 --- a/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_other.go +++ b/vendor/github.com/klauspost/compress/zstd/internal/xxhash/xxhash_other.go @@ -1,5 +1,5 @@ -//go:build !amd64 || appengine || !gc || purego -// +build !amd64 appengine !gc purego +//go:build (!amd64 && !arm64) || appengine || !gc || purego || noasm +// +build !amd64,!arm64 appengine !gc purego noasm package xxhash diff --git a/vendor/github.com/klauspost/compress/zstd/seqdec.go b/vendor/github.com/klauspost/compress/zstd/seqdec.go index 1dd39e63b..819f1461b 100644 --- a/vendor/github.com/klauspost/compress/zstd/seqdec.go +++ b/vendor/github.com/klauspost/compress/zstd/seqdec.go @@ -20,6 +20,10 @@ type seq struct { llCode, mlCode, ofCode uint8 } +type seqVals struct { + ll, ml, mo int +} + func (s seq) String() string { if s.offset <= 3 { if s.offset == 0 { @@ -61,16 +65,18 @@ type sequenceDecs struct { offsets sequenceDec matchLengths sequenceDec prevOffset [3]int - hist []byte dict []byte literals []byte out []byte + nSeqs int + br *bitReader + seqSize int windowSize int maxBits uint8 } // initialize all 3 decoders from the stream input. -func (s *sequenceDecs) initialize(br *bitReader, hist *history, literals, out []byte) error { +func (s *sequenceDecs) initialize(br *bitReader, hist *history, out []byte) error { if err := s.litLengths.init(br); err != nil { return errors.New("litLengths:" + err.Error()) } @@ -80,8 +86,7 @@ func (s *sequenceDecs) initialize(br *bitReader, hist *history, literals, out [] if err := s.matchLengths.init(br); err != nil { return errors.New("matchLengths:" + err.Error()) } - s.literals = literals - s.hist = hist.b + s.br = br s.prevOffset = hist.recentOffsets s.maxBits = s.litLengths.fse.maxBits + s.offsets.fse.maxBits + s.matchLengths.fse.maxBits s.windowSize = hist.windowSize @@ -94,11 +99,261 @@ func (s *sequenceDecs) initialize(br *bitReader, hist *history, literals, out [] } // decode sequences from the stream with the provided history. -func (s *sequenceDecs) decode(seqs int, br *bitReader, hist []byte) error { +func (s *sequenceDecs) decode(seqs []seqVals) error { + br := s.br + + // Grab full sizes tables, to avoid bounds checks. + llTable, mlTable, ofTable := s.litLengths.fse.dt[:maxTablesize], s.matchLengths.fse.dt[:maxTablesize], s.offsets.fse.dt[:maxTablesize] + llState, mlState, ofState := s.litLengths.state.state, s.matchLengths.state.state, s.offsets.state.state + s.seqSize = 0 + litRemain := len(s.literals) + maxBlockSize := maxCompressedBlockSize + if s.windowSize < maxBlockSize { + maxBlockSize = s.windowSize + } + for i := range seqs { + var ll, mo, ml int + if br.off > 4+((maxOffsetBits+16+16)>>3) { + // inlined function: + // ll, mo, ml = s.nextFast(br, llState, mlState, ofState) + + // Final will not read from stream. + var llB, mlB, moB uint8 + ll, llB = llState.final() + ml, mlB = mlState.final() + mo, moB = ofState.final() + + // extra bits are stored in reverse order. + br.fillFast() + mo += br.getBits(moB) + if s.maxBits > 32 { + br.fillFast() + } + ml += br.getBits(mlB) + ll += br.getBits(llB) + + if moB > 1 { + s.prevOffset[2] = s.prevOffset[1] + s.prevOffset[1] = s.prevOffset[0] + s.prevOffset[0] = mo + } else { + // mo = s.adjustOffset(mo, ll, moB) + // Inlined for rather big speedup + if ll == 0 { + // There is an exception though, when current sequence's literals_length = 0. + // In this case, repeated offsets are shifted by one, so an offset_value of 1 means Repeated_Offset2, + // an offset_value of 2 means Repeated_Offset3, and an offset_value of 3 means Repeated_Offset1 - 1_byte. + mo++ + } + + if mo == 0 { + mo = s.prevOffset[0] + } else { + var temp int + if mo == 3 { + temp = s.prevOffset[0] - 1 + } else { + temp = s.prevOffset[mo] + } + + if temp == 0 { + // 0 is not valid; input is corrupted; force offset to 1 + println("WARNING: temp was 0") + temp = 1 + } + + if mo != 1 { + s.prevOffset[2] = s.prevOffset[1] + } + s.prevOffset[1] = s.prevOffset[0] + s.prevOffset[0] = temp + mo = temp + } + } + br.fillFast() + } else { + if br.overread() { + if debugDecoder { + printf("reading sequence %d, exceeded available data\n", i) + } + return io.ErrUnexpectedEOF + } + ll, mo, ml = s.next(br, llState, mlState, ofState) + br.fill() + } + + if debugSequences { + println("Seq", i, "Litlen:", ll, "mo:", mo, "(abs) ml:", ml) + } + // Evaluate. + // We might be doing this async, so do it early. + if mo == 0 && ml > 0 { + return fmt.Errorf("zero matchoff and matchlen (%d) > 0", ml) + } + if ml > maxMatchLen { + return fmt.Errorf("match len (%d) bigger than max allowed length", ml) + } + s.seqSize += ll + ml + if s.seqSize > maxBlockSize { + return fmt.Errorf("output (%d) bigger than max block size (%d)", s.seqSize, maxBlockSize) + } + litRemain -= ll + if litRemain < 0 { + return fmt.Errorf("unexpected literal count, want %d bytes, but only %d is available", ll, litRemain+ll) + } + seqs[i] = seqVals{ + ll: ll, + ml: ml, + mo: mo, + } + if i == len(seqs)-1 { + // This is the last sequence, so we shouldn't update state. + break + } + + // Manually inlined, ~ 5-20% faster + // Update all 3 states at once. Approx 20% faster. + nBits := llState.nbBits() + mlState.nbBits() + ofState.nbBits() + if nBits == 0 { + llState = llTable[llState.newState()&maxTableMask] + mlState = mlTable[mlState.newState()&maxTableMask] + ofState = ofTable[ofState.newState()&maxTableMask] + } else { + bits := br.get32BitsFast(nBits) + lowBits := uint16(bits >> ((ofState.nbBits() + mlState.nbBits()) & 31)) + llState = llTable[(llState.newState()+lowBits)&maxTableMask] + + lowBits = uint16(bits >> (ofState.nbBits() & 31)) + lowBits &= bitMask[mlState.nbBits()&15] + mlState = mlTable[(mlState.newState()+lowBits)&maxTableMask] + + lowBits = uint16(bits) & bitMask[ofState.nbBits()&15] + ofState = ofTable[(ofState.newState()+lowBits)&maxTableMask] + } + } + s.seqSize += litRemain + if s.seqSize > maxBlockSize { + return fmt.Errorf("output (%d) bigger than max block size (%d)", s.seqSize, maxBlockSize) + } + err := br.close() + if err != nil { + printf("Closing sequences: %v, %+v\n", err, *br) + } + return err +} + +// execute will execute the decoded sequence with the provided history. +// The sequence must be evaluated before being sent. +func (s *sequenceDecs) execute(seqs []seqVals, hist []byte) error { + // Ensure we have enough output size... + if len(s.out)+s.seqSize > cap(s.out) { + addBytes := s.seqSize + len(s.out) + s.out = append(s.out, make([]byte, addBytes)...) + s.out = s.out[:len(s.out)-addBytes] + } + + if debugDecoder { + printf("Execute %d seqs with hist %d, dict %d, literals: %d into %d bytes\n", len(seqs), len(hist), len(s.dict), len(s.literals), s.seqSize) + } + + var t = len(s.out) + out := s.out[:t+s.seqSize] + + for _, seq := range seqs { + // Add literals + copy(out[t:], s.literals[:seq.ll]) + t += seq.ll + s.literals = s.literals[seq.ll:] + + // Copy from dictionary... + if seq.mo > t+len(hist) || seq.mo > s.windowSize { + if len(s.dict) == 0 { + return fmt.Errorf("match offset (%d) bigger than current history (%d)", seq.mo, t+len(hist)) + } + + // we may be in dictionary. + dictO := len(s.dict) - (seq.mo - (t + len(hist))) + if dictO < 0 || dictO >= len(s.dict) { + return fmt.Errorf("match offset (%d) bigger than current history+dict (%d)", seq.mo, t+len(hist)+len(s.dict)) + } + end := dictO + seq.ml + if end > len(s.dict) { + n := len(s.dict) - dictO + copy(out[t:], s.dict[dictO:]) + t += n + seq.ml -= n + } else { + copy(out[t:], s.dict[dictO:end]) + t += end - dictO + continue + } + } + + // Copy from history. + if v := seq.mo - t; v > 0 { + // v is the start position in history from end. + start := len(hist) - v + if seq.ml > v { + // Some goes into current block. + // Copy remainder of history + copy(out[t:], hist[start:]) + t += v + seq.ml -= v + } else { + copy(out[t:], hist[start:start+seq.ml]) + t += seq.ml + continue + } + } + // We must be in current buffer now + if seq.ml > 0 { + start := t - seq.mo + if seq.ml <= t-start { + // No overlap + copy(out[t:], out[start:start+seq.ml]) + t += seq.ml + continue + } else { + // Overlapping copy + // Extend destination slice and copy one byte at the time. + src := out[start : start+seq.ml] + dst := out[t:] + dst = dst[:len(src)] + t += len(src) + // Destination is the space we just added. + for i := range src { + dst[i] = src[i] + } + } + } + } + // Add final literals + copy(out[t:], s.literals) + if debugDecoder { + t += len(s.literals) + if t != len(out) { + panic(fmt.Errorf("length mismatch, want %d, got %d, ss: %d", len(out), t, s.seqSize)) + } + } + s.out = out + + return nil +} + +// decode sequences from the stream with the provided history. +func (s *sequenceDecs) decodeSync(history *history) error { + br := s.br + seqs := s.nSeqs startSize := len(s.out) // Grab full sizes tables, to avoid bounds checks. llTable, mlTable, ofTable := s.litLengths.fse.dt[:maxTablesize], s.matchLengths.fse.dt[:maxTablesize], s.offsets.fse.dt[:maxTablesize] llState, mlState, ofState := s.litLengths.state.state, s.matchLengths.state.state, s.offsets.state.state + hist := history.b[history.ignoreBuffer:] + out := s.out + maxBlockSize := maxCompressedBlockSize + if s.windowSize < maxBlockSize { + maxBlockSize = s.windowSize + } for i := seqs - 1; i >= 0; i-- { if br.overread() { @@ -151,7 +406,7 @@ func (s *sequenceDecs) decode(seqs int, br *bitReader, hist []byte) error { if temp == 0 { // 0 is not valid; input is corrupted; force offset to 1 - println("temp was 0") + println("WARNING: temp was 0") temp = 1 } @@ -176,51 +431,49 @@ func (s *sequenceDecs) decode(seqs int, br *bitReader, hist []byte) error { if ll > len(s.literals) { return fmt.Errorf("unexpected literal count, want %d bytes, but only %d is available", ll, len(s.literals)) } - size := ll + ml + len(s.out) + size := ll + ml + len(out) if size-startSize > maxBlockSize { - return fmt.Errorf("output (%d) bigger than max block size", size) + return fmt.Errorf("output (%d) bigger than max block size (%d)", size, maxBlockSize) } - if size > cap(s.out) { + if size > cap(out) { // Not enough size, which can happen under high volume block streaming conditions // but could be if destination slice is too small for sync operations. // over-allocating here can create a large amount of GC pressure so we try to keep // it as contained as possible - used := len(s.out) - startSize + used := len(out) - startSize addBytes := 256 + ll + ml + used>>2 // Clamp to max block size. if used+addBytes > maxBlockSize { addBytes = maxBlockSize - used } - s.out = append(s.out, make([]byte, addBytes)...) - s.out = s.out[:len(s.out)-addBytes] + out = append(out, make([]byte, addBytes)...) + out = out[:len(out)-addBytes] } if ml > maxMatchLen { return fmt.Errorf("match len (%d) bigger than max allowed length", ml) } // Add literals - s.out = append(s.out, s.literals[:ll]...) + out = append(out, s.literals[:ll]...) s.literals = s.literals[ll:] - out := s.out if mo == 0 && ml > 0 { return fmt.Errorf("zero matchoff and matchlen (%d) > 0", ml) } - if mo > len(s.out)+len(hist) || mo > s.windowSize { + if mo > len(out)+len(hist) || mo > s.windowSize { if len(s.dict) == 0 { - return fmt.Errorf("match offset (%d) bigger than current history (%d)", mo, len(s.out)+len(hist)) + return fmt.Errorf("match offset (%d) bigger than current history (%d)", mo, len(out)+len(hist)) } // we may be in dictionary. - dictO := len(s.dict) - (mo - (len(s.out) + len(hist))) + dictO := len(s.dict) - (mo - (len(out) + len(hist))) if dictO < 0 || dictO >= len(s.dict) { - return fmt.Errorf("match offset (%d) bigger than current history (%d)", mo, len(s.out)+len(hist)) + return fmt.Errorf("match offset (%d) bigger than current history (%d)", mo, len(out)+len(hist)) } end := dictO + ml if end > len(s.dict) { out = append(out, s.dict[dictO:]...) - mo -= len(s.dict) - dictO ml -= len(s.dict) - dictO } else { out = append(out, s.dict[dictO:end]...) @@ -231,26 +484,25 @@ func (s *sequenceDecs) decode(seqs int, br *bitReader, hist []byte) error { // Copy from history. // TODO: Blocks without history could be made to ignore this completely. - if v := mo - len(s.out); v > 0 { + if v := mo - len(out); v > 0 { // v is the start position in history from end. - start := len(s.hist) - v + start := len(hist) - v if ml > v { // Some goes into current block. // Copy remainder of history - out = append(out, s.hist[start:]...) - mo -= v + out = append(out, hist[start:]...) ml -= v } else { - out = append(out, s.hist[start:start+ml]...) + out = append(out, hist[start:start+ml]...) ml = 0 } } // We must be in current buffer now if ml > 0 { - start := len(s.out) - mo - if ml <= len(s.out)-start { + start := len(out) - mo + if ml <= len(out)-start { // No overlap - out = append(out, s.out[start:start+ml]...) + out = append(out, out[start:start+ml]...) } else { // Overlapping copy // Extend destination slice and copy one byte at the time. @@ -264,7 +516,6 @@ func (s *sequenceDecs) decode(seqs int, br *bitReader, hist []byte) error { } } } - s.out = out if i == 0 { // This is the last sequence, so we shouldn't update state. break @@ -278,7 +529,7 @@ func (s *sequenceDecs) decode(seqs int, br *bitReader, hist []byte) error { mlState = mlTable[mlState.newState()&maxTableMask] ofState = ofTable[ofState.newState()&maxTableMask] } else { - bits := br.getBitsFast(nBits) + bits := br.get32BitsFast(nBits) lowBits := uint16(bits >> ((ofState.nbBits() + mlState.nbBits()) & 31)) llState = llTable[(llState.newState()+lowBits)&maxTableMask] @@ -291,9 +542,14 @@ func (s *sequenceDecs) decode(seqs int, br *bitReader, hist []byte) error { } } + // Check if space for literals + if len(s.literals)+len(s.out)-startSize > maxBlockSize { + return fmt.Errorf("output (%d) bigger than max block size (%d)", len(s.out), maxBlockSize) + } + // Add final literals - s.out = append(s.out, s.literals...) - return nil + s.out = append(out, s.literals...) + return br.close() } // update states, at least 27 bits must be available. @@ -326,7 +582,7 @@ func (s *sequenceDecs) updateAlt(br *bitReader) { s.offsets.state.state = s.offsets.state.dt[c.newState()] return } - bits := br.getBitsFast(nBits) + bits := br.get32BitsFast(nBits) lowBits := uint16(bits >> ((c.nbBits() + b.nbBits()) & 31)) s.litLengths.state.state = s.litLengths.state.dt[a.newState()+lowBits] @@ -457,36 +713,3 @@ func (s *sequenceDecs) adjustOffset(offset, litLen int, offsetB uint8) int { s.prevOffset[0] = temp return temp } - -// mergeHistory will merge history. -func (s *sequenceDecs) mergeHistory(hist *sequenceDecs) (*sequenceDecs, error) { - for i := uint(0); i < 3; i++ { - var sNew, sHist *sequenceDec - switch i { - default: - // same as "case 0": - sNew = &s.litLengths - sHist = &hist.litLengths - case 1: - sNew = &s.offsets - sHist = &hist.offsets - case 2: - sNew = &s.matchLengths - sHist = &hist.matchLengths - } - if sNew.repeat { - if sHist.fse == nil { - return nil, fmt.Errorf("sequence stream %d, repeat requested, but no history", i) - } - continue - } - if sNew.fse == nil { - return nil, fmt.Errorf("sequence stream %d, no fse found", i) - } - if sHist.fse != nil && !sHist.fse.preDefined { - fseDecoderPool.Put(sHist.fse) - } - sHist.fse = sNew.fse - } - return hist, nil -} diff --git a/vendor/github.com/klauspost/compress/zstd/zip.go b/vendor/github.com/klauspost/compress/zstd/zip.go index 967f29b31..ffffcbc25 100644 --- a/vendor/github.com/klauspost/compress/zstd/zip.go +++ b/vendor/github.com/klauspost/compress/zstd/zip.go @@ -20,7 +20,7 @@ const ZipMethodPKWare = 20 var zipReaderPool sync.Pool -// newZipReader cannot be used since we would leak goroutines... +// newZipReader creates a pooled zip decompressor. func newZipReader(r io.Reader) io.ReadCloser { dec, ok := zipReaderPool.Get().(*Decoder) if ok { @@ -44,10 +44,14 @@ func (r *pooledZipReader) Read(p []byte) (n int, err error) { r.mu.Lock() defer r.mu.Unlock() if r.dec == nil { - return 0, errors.New("Read after Close") + return 0, errors.New("read after close or EOF") } dec, err := r.dec.Read(p) - + if err == io.EOF { + err = r.dec.Reset(nil) + zipReaderPool.Put(r.dec) + r.dec = nil + } return dec, err } @@ -112,11 +116,5 @@ func ZipCompressor(opts ...EOption) func(w io.Writer) (io.WriteCloser, error) { // ZipDecompressor returns a decompressor that can be registered with zip libraries. // See ZipCompressor for example. func ZipDecompressor() func(r io.Reader) io.ReadCloser { - return func(r io.Reader) io.ReadCloser { - d, err := NewReader(r, WithDecoderConcurrency(1), WithDecoderLowmem(true)) - if err != nil { - panic(err) - } - return d.IOReadCloser() - } + return newZipReader } diff --git a/vendor/github.com/klauspost/compress/zstd/zstd.go b/vendor/github.com/klauspost/compress/zstd/zstd.go index ef1d49a00..c1c90b4a0 100644 --- a/vendor/github.com/klauspost/compress/zstd/zstd.go +++ b/vendor/github.com/klauspost/compress/zstd/zstd.go @@ -39,6 +39,9 @@ const zstdMinMatch = 3 // Reset the buffer offset when reaching this. const bufferReset = math.MaxInt32 - MaxWindowSize +// fcsUnknown is used for unknown frame content size. +const fcsUnknown = math.MaxUint64 + var ( // ErrReservedBlockType is returned when a reserved block type is found. // Typically this indicates wrong or corrupted input. @@ -52,6 +55,10 @@ var ( // Typically returned on invalid input. ErrBlockTooSmall = errors.New("block too small") + // ErrUnexpectedBlockSize is returned when a block has unexpected size. + // Typically returned on invalid input. + ErrUnexpectedBlockSize = errors.New("unexpected block size") + // ErrMagicMismatch is returned when a "magic" number isn't what is expected. // Typically this indicates wrong or corrupted input. ErrMagicMismatch = errors.New("invalid input: magic number mismatch") @@ -75,6 +82,10 @@ var ( // This is only returned if SingleSegment is specified on the frame. ErrFrameSizeExceeded = errors.New("frame size exceeded") + // ErrFrameSizeMismatch is returned if the stated frame size does not match the expected size. + // This is only returned if SingleSegment is specified on the frame. + ErrFrameSizeMismatch = errors.New("frame size does not match size on stream") + // ErrCRCMismatch is returned if CRC mismatches. ErrCRCMismatch = errors.New("CRC check failed") diff --git a/vendor/github.com/klauspost/cpuid/v2/README.md b/vendor/github.com/klauspost/cpuid/v2/README.md index 465f4b77c..ea7df3dd8 100644 --- a/vendor/github.com/klauspost/cpuid/v2/README.md +++ b/vendor/github.com/klauspost/cpuid/v2/README.md @@ -39,10 +39,10 @@ func main() { fmt.Println("ThreadsPerCore:", CPU.ThreadsPerCore) fmt.Println("LogicalCores:", CPU.LogicalCores) fmt.Println("Family", CPU.Family, "Model:", CPU.Model, "Vendor ID:", CPU.VendorID) - fmt.Println("Features:", fmt.Sprintf(strings.Join(CPU.FeatureSet(), ","))) + fmt.Println("Features:", strings.Join(CPU.FeatureSet(), ",")) fmt.Println("Cacheline bytes:", CPU.CacheLine) fmt.Println("L1 Data Cache:", CPU.Cache.L1D, "bytes") - fmt.Println("L1 Instruction Cache:", CPU.Cache.L1D, "bytes") + fmt.Println("L1 Instruction Cache:", CPU.Cache.L1I, "bytes") fmt.Println("L2 Cache:", CPU.Cache.L2, "bytes") fmt.Println("L3 Cache:", CPU.Cache.L3, "bytes") fmt.Println("Frequency", CPU.Hz, "hz") @@ -132,6 +132,127 @@ func main() { } ``` +## commandline + +Download as binary from: https://github.com/klauspost/cpuid/releases + +Install from source: + +`go install github.com/klauspost/cpuid/v2/cmd/cpuid@latest` + +### Example + +``` +λ cpuid +Name: AMD Ryzen 9 3950X 16-Core Processor +Vendor String: AuthenticAMD +Vendor ID: AMD +PhysicalCores: 16 +Threads Per Core: 2 +Logical Cores: 32 +CPU Family 23 Model: 113 +Features: ADX,AESNI,AVX,AVX2,BMI1,BMI2,CLMUL,CLZERO,CMOV,CMPXCHG8,CPBOOST,CX16,F16C,FMA3,FXSR,FXSROPT,HTT,HYPERVISOR,LAHF,LZCNT,MCAOVERFLOW,MMX,MMXEXT,MOVBE,NX,OSXSAVE,POPCNT,RDRAND,RDSEED,RDTSCP,SCE,SHA,SSE,SSE2,SSE3,SSE4,SSE42,SSE4A,SSSE3,SUCCOR,X87,XSAVE +Microarchitecture level: 3 +Cacheline bytes: 64 +L1 Instruction Cache: 32768 bytes +L1 Data Cache: 32768 bytes +L2 Cache: 524288 bytes +L3 Cache: 16777216 bytes + +``` +### JSON Output: + +``` +λ cpuid --json +{ + "BrandName": "AMD Ryzen 9 3950X 16-Core Processor", + "VendorID": 2, + "VendorString": "AuthenticAMD", + "PhysicalCores": 16, + "ThreadsPerCore": 2, + "LogicalCores": 32, + "Family": 23, + "Model": 113, + "CacheLine": 64, + "Hz": 0, + "BoostFreq": 0, + "Cache": { + "L1I": 32768, + "L1D": 32768, + "L2": 524288, + "L3": 16777216 + }, + "SGX": { + "Available": false, + "LaunchControl": false, + "SGX1Supported": false, + "SGX2Supported": false, + "MaxEnclaveSizeNot64": 0, + "MaxEnclaveSize64": 0, + "EPCSections": null + }, + "Features": [ + "ADX", + "AESNI", + "AVX", + "AVX2", + "BMI1", + "BMI2", + "CLMUL", + "CLZERO", + "CMOV", + "CMPXCHG8", + "CPBOOST", + "CX16", + "F16C", + "FMA3", + "FXSR", + "FXSROPT", + "HTT", + "HYPERVISOR", + "LAHF", + "LZCNT", + "MCAOVERFLOW", + "MMX", + "MMXEXT", + "MOVBE", + "NX", + "OSXSAVE", + "POPCNT", + "RDRAND", + "RDSEED", + "RDTSCP", + "SCE", + "SHA", + "SSE", + "SSE2", + "SSE3", + "SSE4", + "SSE42", + "SSE4A", + "SSSE3", + "SUCCOR", + "X87", + "XSAVE" + ], + "X64Level": 3 +} +``` + +### Check CPU microarch level + +``` +λ cpuid --check-level=3 +2022/03/18 17:04:40 AMD Ryzen 9 3950X 16-Core Processor +2022/03/18 17:04:40 Microarchitecture level 3 is supported. Max level is 3. +Exit Code 0 + +λ cpuid --check-level=4 +2022/03/18 17:06:18 AMD Ryzen 9 3950X 16-Core Processor +2022/03/18 17:06:18 Microarchitecture level 4 not supported. Max level is 3. +Exit Code 1 +``` + # license This code is published under an MIT license. See LICENSE file for more information. diff --git a/vendor/github.com/klauspost/cpuid/v2/cpuid.go b/vendor/github.com/klauspost/cpuid/v2/cpuid.go index 1d88736b6..bec4c2494 100644 --- a/vendor/github.com/klauspost/cpuid/v2/cpuid.go +++ b/vendor/github.com/klauspost/cpuid/v2/cpuid.go @@ -14,6 +14,7 @@ import ( "flag" "fmt" "math" + "math/bits" "os" "runtime" "strings" @@ -95,10 +96,13 @@ const ( AVXSLOW // Indicates the CPU performs 2 128 bit operations instead of one. BMI1 // Bit Manipulation Instruction Set 1 BMI2 // Bit Manipulation Instruction Set 2 + CETIBT // Intel CET Indirect Branch Tracking + CETSS // Intel CET Shadow Stack CLDEMOTE // Cache Line Demote CLMUL // Carry-less Multiplication CLZERO // CLZERO instruction supported CMOV // i686 CMOV + CMPXCHG8 // CMPXCHG8 instruction CPBOOST // Core Performance Boost CX16 // CMPXCHG16B Instruction ENQCMD // Enqueue Command @@ -106,6 +110,8 @@ const ( F16C // Half-precision floating-point conversion FMA3 // Intel FMA 3. Does not imply AVX. FMA4 // Bulldozer FMA4 functions + FXSR // FXSAVE, FXRESTOR instructions, CR4 bit 9 + FXSROPT // FXSAVE/FXRSTOR optimizations GFNI // Galois Field New Instructions HLE // Hardware Lock Elision HTT // Hyperthreading (enabled) @@ -121,18 +127,24 @@ const ( IBSOPSAM // Instruction Based Sampling Feature (AMD) IBSRDWROPCNT // Instruction Based Sampling Feature (AMD) IBSRIPINVALIDCHK // Instruction Based Sampling Feature (AMD) + IBS_PREVENTHOST // Disallowing IBS use by the host supported INT_WBINVD // WBINVD/WBNOINVD are interruptible. INVLPGB // NVLPGB and TLBSYNC instruction supported + LAHF // LAHF/SAHF in long mode LZCNT // LZCNT instruction MCAOVERFLOW // MCA overflow recovery support. MCOMMIT // MCOMMIT instruction supported MMX // standard MMX MMXEXT // SSE integer functions or AMD MMX ext + MOVBE // MOVBE instruction (big-endian) MOVDIR64B // Move 64 Bytes as Direct Store MOVDIRI // Move Doubleword as Direct Store MPX // Intel MPX (Memory Protection Extensions) + MSR_PAGEFLUSH // Page Flush MSR available MSRIRC // Instruction Retired Counter MSR available NX // NX (No-Execute) bit + OSXSAVE // XSAVE enabled by OS + PCONFIG // PCONFIG for Intel Multi-Key Total Memory Encryption POPCNT // POPCNT instruction RDPRU // RDPRU instruction supported RDRAND // RDRAND instruction is available @@ -140,10 +152,20 @@ const ( RDTSCP // RDTSCP Instruction RTM // Restricted Transactional Memory RTM_ALWAYS_ABORT // Indicates that the loaded microcode is forcing RTM abort. + SCE // SYSENTER and SYSEXIT instructions SERIALIZE // Serialize Instruction Execution + SEV // AMD Secure Encrypted Virtualization supported + SEV_64BIT // AMD SEV guest execution only allowed from a 64-bit host + SEV_ALTERNATIVE // AMD SEV Alternate Injection supported + SEV_DEBUGSWAP // Full debug state swap supported for SEV-ES guests + SEV_ES // AMD SEV Encrypted State supported + SEV_RESTRICTED // AMD SEV Restricted Injection supported + SEV_SNP // AMD SEV Secure Nested Paging supported SGX // Software Guard Extensions SGXLC // Software Guard Extensions Launch Control SHA // Intel SHA Extensions + SME // AMD Secure Memory Encryption supported + SME_COHERENT // AMD Hardware cache coherency across encryption domains enforced SSE // SSE functions SSE2 // P4 SSE functions SSE3 // Prescott SSE3 functions @@ -154,13 +176,23 @@ const ( STIBP // Single Thread Indirect Branch Predictors SUCCOR // Software uncorrectable error containment and recovery capability. TBM // AMD Trailing Bit Manipulation + TME // Intel Total Memory Encryption. The following MSRs are supported: IA32_TME_CAPABILITY, IA32_TME_ACTIVATE, IA32_TME_EXCLUDE_MASK, and IA32_TME_EXCLUDE_BASE. TSXLDTRK // Intel TSX Suspend Load Address Tracking VAES // Vector AES + VMPL // AMD VM Permission Levels supported + VMSA_REGPROT // AMD VMSA Register Protection supported VMX // Virtual Machine Extensions VPCLMULQDQ // Carry-Less Multiplication Quadword + VTE // AMD Virtual Transparent Encryption supported WAITPKG // TPAUSE, UMONITOR, UMWAIT WBNOINVD // Write Back and Do Not Invalidate Cache + X87 // FPU + XGETBV1 // Supports XGETBV with ECX = 1 XOP // Bulldozer XOP functions + XSAVE // XSAVE, XRESTOR, XSETBV, XGETBV + XSAVEC // Supports XSAVEC and the compacted form of XRSTOR. + XSAVEOPT // XSAVEOPT available + XSAVES // Supports XSAVES/XRSTORS and IA32_XSS // ARM features: AESARM // AES instructions @@ -311,6 +343,31 @@ func (c CPUInfo) Has(id FeatureID) bool { return c.featureSet.inSet(id) } +// https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels +var level1Features = flagSetWith(CMOV, CMPXCHG8, X87, FXSR, MMX, SCE, SSE, SSE2) +var level2Features = flagSetWith(CMOV, CMPXCHG8, X87, FXSR, MMX, SCE, SSE, SSE2, CX16, LAHF, POPCNT, SSE3, SSE4, SSE42, SSSE3) +var level3Features = flagSetWith(CMOV, CMPXCHG8, X87, FXSR, MMX, SCE, SSE, SSE2, CX16, LAHF, POPCNT, SSE3, SSE4, SSE42, SSSE3, AVX, AVX2, BMI1, BMI2, F16C, FMA3, LZCNT, MOVBE, OSXSAVE) +var level4Features = flagSetWith(CMOV, CMPXCHG8, X87, FXSR, MMX, SCE, SSE, SSE2, CX16, LAHF, POPCNT, SSE3, SSE4, SSE42, SSSE3, AVX, AVX2, BMI1, BMI2, F16C, FMA3, LZCNT, MOVBE, OSXSAVE, AVX512F, AVX512BW, AVX512CD, AVX512DQ, AVX512VL) + +// X64Level returns the microarchitecture level detected on the CPU. +// If features are lacking or non x64 mode, 0 is returned. +// See https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels +func (c CPUInfo) X64Level() int { + if c.featureSet.hasSet(level4Features) { + return 4 + } + if c.featureSet.hasSet(level3Features) { + return 3 + } + if c.featureSet.hasSet(level2Features) { + return 2 + } + if c.featureSet.hasSet(level1Features) { + return 1 + } + return 0 +} + // Disable will disable one or several features. func (c *CPUInfo) Disable(ids ...FeatureID) bool { for _, id := range ids { @@ -333,11 +390,10 @@ func (c CPUInfo) IsVendor(v Vendor) bool { return c.VendorID == v } +// FeatureSet returns all available features as strings. func (c CPUInfo) FeatureSet() []string { - s := make([]string, 0) - for _, f := range c.featureSet.Strings() { - s = append(s, f) - } + s := make([]string, 0, c.featureSet.nEnabled()) + s = append(s, c.featureSet.Strings()...) return s } @@ -499,6 +555,32 @@ func (s *flagSet) or(other flagSet) { } } +// hasSet returns whether all features are present. +func (s flagSet) hasSet(other flagSet) bool { + for i, v := range other[:] { + if s[i]&v != v { + return false + } + } + return true +} + +// nEnabled will return the number of enabled flags. +func (s flagSet) nEnabled() (n int) { + for _, v := range s[:] { + n += bits.OnesCount64(uint64(v)) + } + return n +} + +func flagSetWith(feat ...FeatureID) flagSet { + var res flagSet + for _, f := range feat { + res.set(f) + } + return res +} + // ParseFeature will parse the string and return the ID of the matching feature. // Will return UNKNOWN if not found. func ParseFeature(s string) FeatureID { @@ -708,6 +790,7 @@ func (c *CPUInfo) cacheSize() { if maxFunctionID() < 4 { return } + c.Cache.L1I, c.Cache.L1D, c.Cache.L2, c.Cache.L3 = 0, 0, 0, 0 for i := uint32(0); ; i++ { eax, ebx, ecx, _ := cpuidex(4, i) cacheType := eax & 15 @@ -761,6 +844,11 @@ func (c *CPUInfo) cacheSize() { if maxExtendedFunction() < 0x8000001D { return } + + // Xen Hypervisor is buggy and returns the same entry no matter ECX value. + // Hack: When we encounter the same entry 100 times we break. + nSame := 0 + var last uint32 for i := uint32(0); i < math.MaxUint32; i++ { eax, ebx, ecx, _ := cpuidex(0x8000001D, i) @@ -776,6 +864,16 @@ func (c *CPUInfo) cacheSize() { return } + // Check for the same value repeated. + comb := eax ^ ebx ^ ecx + if comb == last { + nSame++ + if nSame == 100 { + return + } + } + last = comb + switch level { case 1: switch typ { @@ -800,8 +898,6 @@ func (c *CPUInfo) cacheSize() { } } } - - return } type SGXEPCSection struct { @@ -865,9 +961,14 @@ func support() flagSet { family, model := familyModel() _, _, c, d := cpuid(1) + fs.setIf((d&(1<<0)) != 0, X87) + fs.setIf((d&(1<<8)) != 0, CMPXCHG8) + fs.setIf((d&(1<<11)) != 0, SCE) fs.setIf((d&(1<<15)) != 0, CMOV) + fs.setIf((d&(1<<22)) != 0, MMXEXT) fs.setIf((d&(1<<23)) != 0, MMX) - fs.setIf((d&(1<<25)) != 0, MMXEXT) + fs.setIf((d&(1<<24)) != 0, FXSR) + fs.setIf((d&(1<<25)) != 0, FXSROPT) fs.setIf((d&(1<<25)) != 0, SSE) fs.setIf((d&(1<<26)) != 0, SSE2) fs.setIf((c&1) != 0, SSE3) @@ -877,6 +978,7 @@ func support() flagSet { fs.setIf((c&0x00100000) != 0, SSE42) fs.setIf((c&(1<<25)) != 0, AESNI) fs.setIf((c&(1<<1)) != 0, CLMUL) + fs.setIf(c&(1<<22) != 0, MOVBE) fs.setIf(c&(1<<23) != 0, POPCNT) fs.setIf(c&(1<<30) != 0, RDRAND) @@ -892,6 +994,8 @@ func support() flagSet { if vend == AMD && (d&(1<<28)) != 0 && mfi >= 4 { fs.setIf(threadsPerCore() > 1, HTT) } + fs.setIf(c&1<<26 != 0, XSAVE) + fs.setIf(c&1<<27 != 0, OSXSAVE) // Check XGETBV/XSAVE (26), OXSAVE (27) and AVX (28) bits const avxCheck = 1<<26 | 1<<27 | 1<<28 if c&avxCheck == avxCheck { @@ -936,6 +1040,8 @@ func support() flagSet { fs.setIf(ebx&(1<<29) != 0, SHA) // CPUID.(EAX=7, ECX=0).ECX fs.setIf(ecx&(1<<5) != 0, WAITPKG) + fs.setIf(ecx&(1<<7) != 0, CETSS) + fs.setIf(ecx&(1<<13) != 0, TME) fs.setIf(ecx&(1<<25) != 0, CLDEMOTE) fs.setIf(ecx&(1<<27) != 0, MOVDIRI) fs.setIf(ecx&(1<<28) != 0, MOVDIR64B) @@ -945,6 +1051,8 @@ func support() flagSet { fs.setIf(edx&(1<<11) != 0, RTM_ALWAYS_ABORT) fs.setIf(edx&(1<<14) != 0, SERIALIZE) fs.setIf(edx&(1<<16) != 0, TSXLDTRK) + fs.setIf(edx&(1<<18) != 0, PCONFIG) + fs.setIf(edx&(1<<20) != 0, CETIBT) fs.setIf(edx&(1<<26) != 0, IBPB) fs.setIf(edx&(1<<27) != 0, STIBP) @@ -989,13 +1097,35 @@ func support() flagSet { } } } - + // Processor Extended State Enumeration Sub-leaf (EAX = 0DH, ECX = 1) + // EAX + // Bit 00: XSAVEOPT is available. + // Bit 01: Supports XSAVEC and the compacted form of XRSTOR if set. + // Bit 02: Supports XGETBV with ECX = 1 if set. + // Bit 03: Supports XSAVES/XRSTORS and IA32_XSS if set. + // Bits 31 - 04: Reserved. + // EBX + // Bits 31 - 00: The size in bytes of the XSAVE area containing all states enabled by XCRO | IA32_XSS. + // ECX + // Bits 31 - 00: Reports the supported bits of the lower 32 bits of the IA32_XSS MSR. IA32_XSS[n] can be set to 1 only if ECX[n] is 1. + // EDX? + // Bits 07 - 00: Used for XCR0. Bit 08: PT state. Bit 09: Used for XCR0. Bits 12 - 10: Reserved. Bit 13: HWP state. Bits 31 - 14: Reserved. + if mfi >= 0xd { + if fs.inSet(XSAVE) { + eax, _, _, _ := cpuidex(0xd, 1) + fs.setIf(eax&(1<<0) != 0, XSAVEOPT) + fs.setIf(eax&(1<<1) != 0, XSAVEC) + fs.setIf(eax&(1<<2) != 0, XGETBV1) + fs.setIf(eax&(1<<3) != 0, XSAVES) + } + } if maxExtendedFunction() >= 0x80000001 { _, _, c, d := cpuid(0x80000001) if (c & (1 << 5)) != 0 { fs.set(LZCNT) fs.set(POPCNT) } + fs.setIf((c&(1<<0)) != 0, LAHF) fs.setIf((c&(1<<10)) != 0, IBS) fs.setIf((d&(1<<31)) != 0, AMD3DNOW) fs.setIf((d&(1<<30)) != 0, AMD3DNOWEXT) @@ -1044,6 +1174,24 @@ func support() flagSet { fs.setIf((eax>>7)&1 == 1, IBSRIPINVALIDCHK) } + if maxExtendedFunction() >= 0x8000001f && vend == AMD { + a, _, _, _ := cpuid(0x8000001f) + fs.setIf((a>>0)&1 == 1, SME) + fs.setIf((a>>1)&1 == 1, SEV) + fs.setIf((a>>2)&1 == 1, MSR_PAGEFLUSH) + fs.setIf((a>>3)&1 == 1, SEV_ES) + fs.setIf((a>>4)&1 == 1, SEV_SNP) + fs.setIf((a>>5)&1 == 1, VMPL) + fs.setIf((a>>10)&1 == 1, SME_COHERENT) + fs.setIf((a>>11)&1 == 1, SEV_64BIT) + fs.setIf((a>>12)&1 == 1, SEV_RESTRICTED) + fs.setIf((a>>13)&1 == 1, SEV_ALTERNATIVE) + fs.setIf((a>>14)&1 == 1, SEV_DEBUGSWAP) + fs.setIf((a>>15)&1 == 1, IBS_PREVENTHOST) + fs.setIf((a>>16)&1 == 1, VTE) + fs.setIf((a>>24)&1 == 1, VMSA_REGPROT) + } + return fs } diff --git a/vendor/github.com/klauspost/cpuid/v2/detect_arm64.go b/vendor/github.com/klauspost/cpuid/v2/detect_arm64.go index 9bf9f77f3..9a53504a0 100644 --- a/vendor/github.com/klauspost/cpuid/v2/detect_arm64.go +++ b/vendor/github.com/klauspost/cpuid/v2/detect_arm64.go @@ -1,6 +1,7 @@ // Copyright (c) 2015 Klaus Post, released under MIT License. See LICENSE file. -//+build arm64,!gccgo,!noasm,!appengine +//go:build arm64 && !gccgo && !noasm && !appengine +// +build arm64,!gccgo,!noasm,!appengine package cpuid diff --git a/vendor/github.com/klauspost/cpuid/v2/detect_ref.go b/vendor/github.com/klauspost/cpuid/v2/detect_ref.go index e9c8606ab..9636c2bc1 100644 --- a/vendor/github.com/klauspost/cpuid/v2/detect_ref.go +++ b/vendor/github.com/klauspost/cpuid/v2/detect_ref.go @@ -1,6 +1,7 @@ // Copyright (c) 2015 Klaus Post, released under MIT License. See LICENSE file. -//+build !amd64,!386,!arm64 gccgo noasm appengine +//go:build (!amd64 && !386 && !arm64) || gccgo || noasm || appengine +// +build !amd64,!386,!arm64 gccgo noasm appengine package cpuid diff --git a/vendor/github.com/klauspost/cpuid/v2/detect_x86.go b/vendor/github.com/klauspost/cpuid/v2/detect_x86.go index 367c35c88..35678d8a3 100644 --- a/vendor/github.com/klauspost/cpuid/v2/detect_x86.go +++ b/vendor/github.com/klauspost/cpuid/v2/detect_x86.go @@ -1,6 +1,7 @@ // Copyright (c) 2015 Klaus Post, released under MIT License. See LICENSE file. -//+build 386,!gccgo,!noasm,!appengine amd64,!gccgo,!noasm,!appengine +//go:build (386 && !gccgo && !noasm && !appengine) || (amd64 && !gccgo && !noasm && !appengine) +// +build 386,!gccgo,!noasm,!appengine amd64,!gccgo,!noasm,!appengine package cpuid diff --git a/vendor/github.com/klauspost/cpuid/v2/featureid_string.go b/vendor/github.com/klauspost/cpuid/v2/featureid_string.go index b1fe42e46..8cf57cae8 100644 --- a/vendor/github.com/klauspost/cpuid/v2/featureid_string.go +++ b/vendor/github.com/klauspost/cpuid/v2/featureid_string.go @@ -36,103 +36,134 @@ func _() { _ = x[AVXSLOW-26] _ = x[BMI1-27] _ = x[BMI2-28] - _ = x[CLDEMOTE-29] - _ = x[CLMUL-30] - _ = x[CLZERO-31] - _ = x[CMOV-32] - _ = x[CPBOOST-33] - _ = x[CX16-34] - _ = x[ENQCMD-35] - _ = x[ERMS-36] - _ = x[F16C-37] - _ = x[FMA3-38] - _ = x[FMA4-39] - _ = x[GFNI-40] - _ = x[HLE-41] - _ = x[HTT-42] - _ = x[HWA-43] - _ = x[HYPERVISOR-44] - _ = x[IBPB-45] - _ = x[IBS-46] - _ = x[IBSBRNTRGT-47] - _ = x[IBSFETCHSAM-48] - _ = x[IBSFFV-49] - _ = x[IBSOPCNT-50] - _ = x[IBSOPCNTEXT-51] - _ = x[IBSOPSAM-52] - _ = x[IBSRDWROPCNT-53] - _ = x[IBSRIPINVALIDCHK-54] - _ = x[INT_WBINVD-55] - _ = x[INVLPGB-56] - _ = x[LZCNT-57] - _ = x[MCAOVERFLOW-58] - _ = x[MCOMMIT-59] - _ = x[MMX-60] - _ = x[MMXEXT-61] - _ = x[MOVDIR64B-62] - _ = x[MOVDIRI-63] - _ = x[MPX-64] - _ = x[MSRIRC-65] - _ = x[NX-66] - _ = x[POPCNT-67] - _ = x[RDPRU-68] - _ = x[RDRAND-69] - _ = x[RDSEED-70] - _ = x[RDTSCP-71] - _ = x[RTM-72] - _ = x[RTM_ALWAYS_ABORT-73] - _ = x[SERIALIZE-74] - _ = x[SGX-75] - _ = x[SGXLC-76] - _ = x[SHA-77] - _ = x[SSE-78] - _ = x[SSE2-79] - _ = x[SSE3-80] - _ = x[SSE4-81] - _ = x[SSE42-82] - _ = x[SSE4A-83] - _ = x[SSSE3-84] - _ = x[STIBP-85] - _ = x[SUCCOR-86] - _ = x[TBM-87] - _ = x[TSXLDTRK-88] - _ = x[VAES-89] - _ = x[VMX-90] - _ = x[VPCLMULQDQ-91] - _ = x[WAITPKG-92] - _ = x[WBNOINVD-93] - _ = x[XOP-94] - _ = x[AESARM-95] - _ = x[ARMCPUID-96] - _ = x[ASIMD-97] - _ = x[ASIMDDP-98] - _ = x[ASIMDHP-99] - _ = x[ASIMDRDM-100] - _ = x[ATOMICS-101] - _ = x[CRC32-102] - _ = x[DCPOP-103] - _ = x[EVTSTRM-104] - _ = x[FCMA-105] - _ = x[FP-106] - _ = x[FPHP-107] - _ = x[GPA-108] - _ = x[JSCVT-109] - _ = x[LRCPC-110] - _ = x[PMULL-111] - _ = x[SHA1-112] - _ = x[SHA2-113] - _ = x[SHA3-114] - _ = x[SHA512-115] - _ = x[SM3-116] - _ = x[SM4-117] - _ = x[SVE-118] - _ = x[lastID-119] + _ = x[CETIBT-29] + _ = x[CETSS-30] + _ = x[CLDEMOTE-31] + _ = x[CLMUL-32] + _ = x[CLZERO-33] + _ = x[CMOV-34] + _ = x[CMPXCHG8-35] + _ = x[CPBOOST-36] + _ = x[CX16-37] + _ = x[ENQCMD-38] + _ = x[ERMS-39] + _ = x[F16C-40] + _ = x[FMA3-41] + _ = x[FMA4-42] + _ = x[FXSR-43] + _ = x[FXSROPT-44] + _ = x[GFNI-45] + _ = x[HLE-46] + _ = x[HTT-47] + _ = x[HWA-48] + _ = x[HYPERVISOR-49] + _ = x[IBPB-50] + _ = x[IBS-51] + _ = x[IBSBRNTRGT-52] + _ = x[IBSFETCHSAM-53] + _ = x[IBSFFV-54] + _ = x[IBSOPCNT-55] + _ = x[IBSOPCNTEXT-56] + _ = x[IBSOPSAM-57] + _ = x[IBSRDWROPCNT-58] + _ = x[IBSRIPINVALIDCHK-59] + _ = x[IBS_PREVENTHOST-60] + _ = x[INT_WBINVD-61] + _ = x[INVLPGB-62] + _ = x[LAHF-63] + _ = x[LZCNT-64] + _ = x[MCAOVERFLOW-65] + _ = x[MCOMMIT-66] + _ = x[MMX-67] + _ = x[MMXEXT-68] + _ = x[MOVBE-69] + _ = x[MOVDIR64B-70] + _ = x[MOVDIRI-71] + _ = x[MPX-72] + _ = x[MSR_PAGEFLUSH-73] + _ = x[MSRIRC-74] + _ = x[NX-75] + _ = x[OSXSAVE-76] + _ = x[PCONFIG-77] + _ = x[POPCNT-78] + _ = x[RDPRU-79] + _ = x[RDRAND-80] + _ = x[RDSEED-81] + _ = x[RDTSCP-82] + _ = x[RTM-83] + _ = x[RTM_ALWAYS_ABORT-84] + _ = x[SCE-85] + _ = x[SERIALIZE-86] + _ = x[SEV-87] + _ = x[SEV_64BIT-88] + _ = x[SEV_ALTERNATIVE-89] + _ = x[SEV_DEBUGSWAP-90] + _ = x[SEV_ES-91] + _ = x[SEV_RESTRICTED-92] + _ = x[SEV_SNP-93] + _ = x[SGX-94] + _ = x[SGXLC-95] + _ = x[SHA-96] + _ = x[SME-97] + _ = x[SME_COHERENT-98] + _ = x[SSE-99] + _ = x[SSE2-100] + _ = x[SSE3-101] + _ = x[SSE4-102] + _ = x[SSE42-103] + _ = x[SSE4A-104] + _ = x[SSSE3-105] + _ = x[STIBP-106] + _ = x[SUCCOR-107] + _ = x[TBM-108] + _ = x[TME-109] + _ = x[TSXLDTRK-110] + _ = x[VAES-111] + _ = x[VMPL-112] + _ = x[VMSA_REGPROT-113] + _ = x[VMX-114] + _ = x[VPCLMULQDQ-115] + _ = x[VTE-116] + _ = x[WAITPKG-117] + _ = x[WBNOINVD-118] + _ = x[X87-119] + _ = x[XGETBV1-120] + _ = x[XOP-121] + _ = x[XSAVE-122] + _ = x[XSAVEC-123] + _ = x[XSAVEOPT-124] + _ = x[XSAVES-125] + _ = x[AESARM-126] + _ = x[ARMCPUID-127] + _ = x[ASIMD-128] + _ = x[ASIMDDP-129] + _ = x[ASIMDHP-130] + _ = x[ASIMDRDM-131] + _ = x[ATOMICS-132] + _ = x[CRC32-133] + _ = x[DCPOP-134] + _ = x[EVTSTRM-135] + _ = x[FCMA-136] + _ = x[FP-137] + _ = x[FPHP-138] + _ = x[GPA-139] + _ = x[JSCVT-140] + _ = x[LRCPC-141] + _ = x[PMULL-142] + _ = x[SHA1-143] + _ = x[SHA2-144] + _ = x[SHA3-145] + _ = x[SHA512-146] + _ = x[SM3-147] + _ = x[SM4-148] + _ = x[SVE-149] + _ = x[lastID-150] _ = x[firstID-0] } -const _FeatureID_name = "firstIDADXAESNIAMD3DNOWAMD3DNOWEXTAMXBF16AMXINT8AMXTILEAVXAVX2AVX512BF16AVX512BITALGAVX512BWAVX512CDAVX512DQAVX512ERAVX512FAVX512FP16AVX512IFMAAVX512PFAVX512VBMIAVX512VBMI2AVX512VLAVX512VNNIAVX512VP2INTERSECTAVX512VPOPCNTDQAVXSLOWBMI1BMI2CLDEMOTECLMULCLZEROCMOVCPBOOSTCX16ENQCMDERMSF16CFMA3FMA4GFNIHLEHTTHWAHYPERVISORIBPBIBSIBSBRNTRGTIBSFETCHSAMIBSFFVIBSOPCNTIBSOPCNTEXTIBSOPSAMIBSRDWROPCNTIBSRIPINVALIDCHKINT_WBINVDINVLPGBLZCNTMCAOVERFLOWMCOMMITMMXMMXEXTMOVDIR64BMOVDIRIMPXMSRIRCNXPOPCNTRDPRURDRANDRDSEEDRDTSCPRTMRTM_ALWAYS_ABORTSERIALIZESGXSGXLCSHASSESSE2SSE3SSE4SSE42SSE4ASSSE3STIBPSUCCORTBMTSXLDTRKVAESVMXVPCLMULQDQWAITPKGWBNOINVDXOPAESARMARMCPUIDASIMDASIMDDPASIMDHPASIMDRDMATOMICSCRC32DCPOPEVTSTRMFCMAFPFPHPGPAJSCVTLRCPCPMULLSHA1SHA2SHA3SHA512SM3SM4SVElastID" +const _FeatureID_name = "firstIDADXAESNIAMD3DNOWAMD3DNOWEXTAMXBF16AMXINT8AMXTILEAVXAVX2AVX512BF16AVX512BITALGAVX512BWAVX512CDAVX512DQAVX512ERAVX512FAVX512FP16AVX512IFMAAVX512PFAVX512VBMIAVX512VBMI2AVX512VLAVX512VNNIAVX512VP2INTERSECTAVX512VPOPCNTDQAVXSLOWBMI1BMI2CETIBTCETSSCLDEMOTECLMULCLZEROCMOVCMPXCHG8CPBOOSTCX16ENQCMDERMSF16CFMA3FMA4FXSRFXSROPTGFNIHLEHTTHWAHYPERVISORIBPBIBSIBSBRNTRGTIBSFETCHSAMIBSFFVIBSOPCNTIBSOPCNTEXTIBSOPSAMIBSRDWROPCNTIBSRIPINVALIDCHKIBS_PREVENTHOSTINT_WBINVDINVLPGBLAHFLZCNTMCAOVERFLOWMCOMMITMMXMMXEXTMOVBEMOVDIR64BMOVDIRIMPXMSR_PAGEFLUSHMSRIRCNXOSXSAVEPCONFIGPOPCNTRDPRURDRANDRDSEEDRDTSCPRTMRTM_ALWAYS_ABORTSCESERIALIZESEVSEV_64BITSEV_ALTERNATIVESEV_DEBUGSWAPSEV_ESSEV_RESTRICTEDSEV_SNPSGXSGXLCSHASMESME_COHERENTSSESSE2SSE3SSE4SSE42SSE4ASSSE3STIBPSUCCORTBMTMETSXLDTRKVAESVMPLVMSA_REGPROTVMXVPCLMULQDQVTEWAITPKGWBNOINVDX87XGETBV1XOPXSAVEXSAVECXSAVEOPTXSAVESAESARMARMCPUIDASIMDASIMDDPASIMDHPASIMDRDMATOMICSCRC32DCPOPEVTSTRMFCMAFPFPHPGPAJSCVTLRCPCPMULLSHA1SHA2SHA3SHA512SM3SM4SVElastID" -var _FeatureID_index = [...]uint16{0, 7, 10, 15, 23, 34, 41, 48, 55, 58, 62, 72, 84, 92, 100, 108, 116, 123, 133, 143, 151, 161, 172, 180, 190, 208, 223, 230, 234, 238, 246, 251, 257, 261, 268, 272, 278, 282, 286, 290, 294, 298, 301, 304, 307, 317, 321, 324, 334, 345, 351, 359, 370, 378, 390, 406, 416, 423, 428, 439, 446, 449, 455, 464, 471, 474, 480, 482, 488, 493, 499, 505, 511, 514, 530, 539, 542, 547, 550, 553, 557, 561, 565, 570, 575, 580, 585, 591, 594, 602, 606, 609, 619, 626, 634, 637, 643, 651, 656, 663, 670, 678, 685, 690, 695, 702, 706, 708, 712, 715, 720, 725, 730, 734, 738, 742, 748, 751, 754, 757, 763} +var _FeatureID_index = [...]uint16{0, 7, 10, 15, 23, 34, 41, 48, 55, 58, 62, 72, 84, 92, 100, 108, 116, 123, 133, 143, 151, 161, 172, 180, 190, 208, 223, 230, 234, 238, 244, 249, 257, 262, 268, 272, 280, 287, 291, 297, 301, 305, 309, 313, 317, 324, 328, 331, 334, 337, 347, 351, 354, 364, 375, 381, 389, 400, 408, 420, 436, 451, 461, 468, 472, 477, 488, 495, 498, 504, 509, 518, 525, 528, 541, 547, 549, 556, 563, 569, 574, 580, 586, 592, 595, 611, 614, 623, 626, 635, 650, 663, 669, 683, 690, 693, 698, 701, 704, 716, 719, 723, 727, 731, 736, 741, 746, 751, 757, 760, 763, 771, 775, 779, 791, 794, 804, 807, 814, 822, 825, 832, 835, 840, 846, 854, 860, 866, 874, 879, 886, 893, 901, 908, 913, 918, 925, 929, 931, 935, 938, 943, 948, 953, 957, 961, 965, 971, 974, 977, 980, 986} func (i FeatureID) String() string { if i < 0 || i >= FeatureID(len(_FeatureID_index)-1) { diff --git a/vendor/github.com/klauspost/cpuid/v2/os_other_arm64.go b/vendor/github.com/klauspost/cpuid/v2/os_other_arm64.go index 1a951e6ca..8733ba343 100644 --- a/vendor/github.com/klauspost/cpuid/v2/os_other_arm64.go +++ b/vendor/github.com/klauspost/cpuid/v2/os_other_arm64.go @@ -1,8 +1,7 @@ // Copyright (c) 2020 Klaus Post, released under MIT License. See LICENSE file. -// +build arm64 -// +build !linux -// +build !darwin +//go:build arm64 && !linux && !darwin +// +build arm64,!linux,!darwin package cpuid diff --git a/vendor/github.com/klauspost/cpuid/v2/os_safe_linux_arm64.go b/vendor/github.com/klauspost/cpuid/v2/os_safe_linux_arm64.go index 4d0b8b465..f8f201b5f 100644 --- a/vendor/github.com/klauspost/cpuid/v2/os_safe_linux_arm64.go +++ b/vendor/github.com/klauspost/cpuid/v2/os_safe_linux_arm64.go @@ -1,6 +1,7 @@ // Copyright (c) 2021 Klaus Post, released under MIT License. See LICENSE file. -//+build nounsafe +//go:build nounsafe +// +build nounsafe package cpuid diff --git a/vendor/github.com/klauspost/cpuid/v2/os_unsafe_linux_arm64.go b/vendor/github.com/klauspost/cpuid/v2/os_unsafe_linux_arm64.go index 329800286..92af622eb 100644 --- a/vendor/github.com/klauspost/cpuid/v2/os_unsafe_linux_arm64.go +++ b/vendor/github.com/klauspost/cpuid/v2/os_unsafe_linux_arm64.go @@ -1,6 +1,7 @@ // Copyright (c) 2021 Klaus Post, released under MIT License. See LICENSE file. -//+build !nounsafe +//go:build !nounsafe +// +build !nounsafe package cpuid diff --git a/vendor/github.com/leodido/go-urn/.travis.yml b/vendor/github.com/leodido/go-urn/.travis.yml index e56cf7cc0..21f348d65 100644 --- a/vendor/github.com/leodido/go-urn/.travis.yml +++ b/vendor/github.com/leodido/go-urn/.travis.yml @@ -1,11 +1,9 @@ language: go go: - - 1.9.x - - 1.10.x - - 1.11.x - - 1.12.x - 1.13.x + - 1.14.x + - 1.15.x - tip before_install: diff --git a/vendor/github.com/leodido/go-urn/urn.go b/vendor/github.com/leodido/go-urn/urn.go index b903b7b3c..d51a6c915 100644 --- a/vendor/github.com/leodido/go-urn/urn.go +++ b/vendor/github.com/leodido/go-urn/urn.go @@ -1,9 +1,13 @@ package urn import ( + "encoding/json" + "fmt" "strings" ) +const errInvalidURN = "invalid URN: %s" + // URN represents an Uniform Resource Name. // // The general form represented is: @@ -61,3 +65,22 @@ func Parse(u []byte) (*URN, bool) { return urn, true } + +// MarshalJSON marshals the URN to JSON string form (e.g. `"urn:oid:1.2.3.4"`). +func (u URN) MarshalJSON() ([]byte, error) { + return json.Marshal(u.String()) +} + +// MarshalJSON unmarshals a URN from JSON string form (e.g. `"urn:oid:1.2.3.4"`). +func (u *URN) UnmarshalJSON(bytes []byte) error { + var str string + if err := json.Unmarshal(bytes, &str); err != nil { + return err + } + if value, ok := Parse([]byte(str)); !ok { + return fmt.Errorf(errInvalidURN, str) + } else { + *u = *value + } + return nil +} \ No newline at end of file diff --git a/vendor/github.com/lib/pq/ssl.go b/vendor/github.com/lib/pq/ssl.go index d90208455..881c2219b 100644 --- a/vendor/github.com/lib/pq/ssl.go +++ b/vendor/github.com/lib/pq/ssl.go @@ -59,6 +59,9 @@ func ssl(o values) (func(net.Conn) (net.Conn, error), error) { return nil, err } + // This pseudo-parameter is not recognized by the PostgreSQL server, so let's delete it after use. + delete(o, "sslinline") + // Accept renegotiation requests initiated by the backend. // // Renegotiation was deprecated then removed from PostgreSQL 9.5, but @@ -83,6 +86,19 @@ func ssl(o values) (func(net.Conn) (net.Conn, error), error) { // in the user's home directory. The configured files must exist and have // the correct permissions. func sslClientCertificates(tlsConf *tls.Config, o values) error { + sslinline := o["sslinline"] + if sslinline == "true" { + cert, err := tls.X509KeyPair([]byte(o["sslcert"]), []byte(o["sslkey"])) + // Clear out these params, in case they were to be sent to the PostgreSQL server by mistake + o["sslcert"] = "" + o["sslkey"] = "" + if err != nil { + return err + } + tlsConf.Certificates = []tls.Certificate{cert} + return nil + } + // user.Current() might fail when cross-compiling. We have to ignore the // error and continue without home directory defaults, since we wouldn't // know from where to load them. @@ -137,9 +153,19 @@ func sslCertificateAuthority(tlsConf *tls.Config, o values) error { if sslrootcert := o["sslrootcert"]; len(sslrootcert) > 0 { tlsConf.RootCAs = x509.NewCertPool() - cert, err := ioutil.ReadFile(sslrootcert) - if err != nil { - return err + sslinline := o["sslinline"] + + var cert []byte + if sslinline == "true" { + // // Clear out this param, in case it were to be sent to the PostgreSQL server by mistake + o["sslrootcert"] = "" + cert = []byte(sslrootcert) + } else { + var err error + cert, err = ioutil.ReadFile(sslrootcert) + if err != nil { + return err + } } if !tlsConf.RootCAs.AppendCertsFromPEM(cert) { diff --git a/vendor/github.com/lib/pq/url.go b/vendor/github.com/lib/pq/url.go index f4d8a7c20..aec6e95be 100644 --- a/vendor/github.com/lib/pq/url.go +++ b/vendor/github.com/lib/pq/url.go @@ -40,10 +40,10 @@ func ParseURL(url string) (string, error) { } var kvs []string - escaper := strings.NewReplacer(` `, `\ `, `'`, `\'`, `\`, `\\`) + escaper := strings.NewReplacer(`'`, `\'`, `\`, `\\`) accrue := func(k, v string) { if v != "" { - kvs = append(kvs, k+"="+escaper.Replace(v)) + kvs = append(kvs, k+"='"+escaper.Replace(v)+"'") } } diff --git a/vendor/github.com/libp2p/go-buffer-pool/.travis.yml b/vendor/github.com/libp2p/go-buffer-pool/.travis.yml deleted file mode 100644 index 5163d693f..000000000 --- a/vendor/github.com/libp2p/go-buffer-pool/.travis.yml +++ /dev/null @@ -1,30 +0,0 @@ -os: - - linux - -language: go - -go: - - 1.11.x - -env: - global: - - GOTFLAGS="-race" - matrix: - - BUILD_DEPTYPE=gomod - - -# disable travis install -install: - - true - -script: - - bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh) - - -cache: - directories: - - $GOPATH/pkg/mod - - $HOME/.cache/go-build - -notifications: - email: false diff --git a/vendor/github.com/libp2p/go-buffer-pool/pool.go b/vendor/github.com/libp2p/go-buffer-pool/pool.go index d812840aa..24a4b9151 100644 --- a/vendor/github.com/libp2p/go-buffer-pool/pool.go +++ b/vendor/github.com/libp2p/go-buffer-pool/pool.go @@ -58,7 +58,9 @@ func (p *BufferPool) Get(length int) []byte { if length == 0 { return nil } - if length > MaxLength { + // Calling this function with a negative length is invalid. + // make will panic if length is negative, so we don't have to. + if length > MaxLength || length < 0 { return make([]byte, length) } idx := nextLogBase2(uint32(length)) diff --git a/vendor/github.com/libp2p/go-buffer-pool/version.json b/vendor/github.com/libp2p/go-buffer-pool/version.json new file mode 100644 index 000000000..557859c53 --- /dev/null +++ b/vendor/github.com/libp2p/go-buffer-pool/version.json @@ -0,0 +1,3 @@ +{ + "version": "v0.1.0" +} diff --git a/vendor/github.com/libp2p/go-conn-security-multistream/README.md b/vendor/github.com/libp2p/go-conn-security-multistream/README.md deleted file mode 100644 index 87df182ab..000000000 --- a/vendor/github.com/libp2p/go-conn-security-multistream/README.md +++ /dev/null @@ -1,54 +0,0 @@ -# go-conn-security-multistream - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) -[![GoDoc](https://godoc.org/github.com/libp2p/go-conn-security-multistream?status.svg)](https://godoc.org/github.com/libp2p/go-conn-security-multistream) - -> Connection security multistream multiplexer - -This package provides a multistream multiplexed [security transport](https://github.com/libp2p/go-conn-security). It: - -1. Selects a security transport using multistream-select. -2. Secures the stream using the selected transport. - -Known libp2p security transports include: - -* [go-libp2p-secio](https://github.com/libp2p/go-libp2p-secio) -* [go-libp2p-tls](https://github.com/libp2p/go-libp2p-tls) - -## Install - -`go-conn-security-multistream` is a standard Go module which can be installed with: - -```sh -go get github.com/libp2p/go-conn-security-multistream -``` - -This repo is [gomod](https://github.com/golang/go/wiki/Modules)-compatible, and users of -go 1.11 and later with modules enabled will automatically pull the latest tagged release -by referencing this package. Upgrades to future releases can be managed using `go get`, -or by editing your `go.mod` file as [described by the gomod documentation](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies). - -## Usage - -For more information about how `go-conn-security-multistream` is used in the libp2p context, you can see the [go-libp2p-conn](https://github.com/libp2p/go-libp2p-conn) module. - -## Contribute - -Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/go-conn-security-multistream/issues)! - -This repository falls under the libp2p [Code of Conduct](https://github.com/libp2p/community/blob/master/code-of-conduct.md). - -### Want to hack on libp2p? - -[![](https://cdn.rawgit.com/libp2p/community/master/img/contribute.gif)](https://github.com/libp2p/community/blob/master/CONTRIBUTE.md) - -## License - -MIT - ---- - -The last gx published version of this module was: 0.1.26: QmZWmFkMm28sWeDr5Xh1LexdKBGYGp946MNCfgtLqfX73z diff --git a/vendor/github.com/libp2p/go-libp2p-asn-util/asn.go b/vendor/github.com/libp2p/go-libp2p-asn-util/asn.go index 421dd08ae..fe67238c6 100644 --- a/vendor/github.com/libp2p/go-libp2p-asn-util/asn.go +++ b/vendor/github.com/libp2p/go-libp2p-asn-util/asn.go @@ -52,14 +52,14 @@ func (a *asnStore) AsnForIPv6(ip net.IP) (string, error) { func newAsnStore() (*asnStore, error) { cr := cidranger.NewPCTrieRanger() - for k, v := range ipv6CidrToAsnMap { - _, nn, err := net.ParseCIDR(k) + for _, v := range ipv6CidrToAsnPairList { + _, nn, err := net.ParseCIDR(v.cidr) if err != nil { - return nil, fmt.Errorf("failed to parse CIDR %s: %w", k, err) + return nil, fmt.Errorf("failed to parse CIDR %s: %w", v.cidr, err) } - if err := cr.Insert(&networkWithAsn{*nn, v}); err != nil { - return nil, fmt.Errorf("failed to insert CIDR %s in Trie store: %w", k, err) + if err := cr.Insert(&networkWithAsn{*nn, v.asn}); err != nil { + return nil, fmt.Errorf("failed to insert CIDR %s in Trie store: %w", v.cidr, err) } } diff --git a/vendor/github.com/libp2p/go-libp2p-asn-util/ipv6_asn_map.gen.go b/vendor/github.com/libp2p/go-libp2p-asn-util/ipv6_asn_map.gen.go index 2503cc1c2..936595f22 100644 --- a/vendor/github.com/libp2p/go-libp2p-asn-util/ipv6_asn_map.gen.go +++ b/vendor/github.com/libp2p/go-libp2p-asn-util/ipv6_asn_map.gen.go @@ -1,72092 +1,79014 @@ package asnutil // Code generated by generate/main.go DO NOT EDIT -var ipv6CidrToAsnMap = map[string]string{ - "2a02:23f8::/32": "24590", - "2001:579:b0de::/39": "22773", - "2001:df0:92::/48": "55479", - "2600:1002:f110::/31": "22394", - "2604:6140::/32": "21818", - "2607:6b80:65::/48": "55081", - "2804:314:3001::/33": "61568", - "2804:59e8::/36": "268733", - "2001:1248:5a78::/45": "11172", - "2402:be80::/32": "131749", - "2803:8d20::/32": "28007", - "2a07:140::/29": "44702", - "2001:44b8:404e::/48": "7545", - "2804:12cc::/32": "263499", - "2a02:26f7:a3::/48": "20940", - "2408:8957:4300::/40": "17816", - "2a03:3100::/32": "29072", - "2402:2a80:4300::/32": "46489", - "2408:8957:4800::/40": "17622", - "2409:8020:3801::/32": "56046", - "2600:9000:11c9::/48": "16509", - "2804:c1c::/32": "52679", - "2402:800:fc10::/42": "7552", - "240e:90d:f000::/37": "137688", - "2804:6100::/32": "269205", - "2a02:26f0:b701::/36": "20940", - "2001:559:8064::/48": "7725", - "2001:fd0:3301::/37": "10029", - "2400:9380:86c0::/44": "136167", - "240e:3b5:7800::/39": "4134", - "2804:112c::/32": "263663", - "2a03:ec0::/47": "199669", - "2a0a:5180::/29": "203231", - "2a02:26f7:d9c1::/46": "20940", - "2001:4b78::/29": "12637", - "2403:8600:c00::/44": "45820", - "240a:a2ae::/32": "143336", - "2600:140a:6000::/48": "812", - "2607:fe60::/32": "11280", - "2803:1100::/32": "60022", - "2804:3f4c::/32": "266651", - "2a06:a880::/48": "39347", - "2408:8256:3d95::/48": "17816", - "2600:1413:c000::/48": "24319", - "2607:1880:ffff::/48": "13499", - "2a00:4800:1d0::/42": "13124", - "2a00:6200::/29": "21502", - "2a02:2578:1910::/38": "51375", - "2a04:4e40:c000::/47": "54113", - "2404:bf40:a141::/48": "7545", - "2602:fdd5::/36": "30685", - "2605:a7c0:110::/48": "14618", - "2a02:26f7:30::/48": "36183", - "2a0e:3f40::/29": "43282", - "2409:8904:8440::/39": "24547", - "240a:a7a4::/32": "144606", - "2600:100e:be1e::/39": "6167", - "2a02:1c8:100::/40": "24955", - "2a04:92c7:36::/41": "62240", - "2408:8957:ec00::/39": "17622", - "2600:400::/35": "15147", - "2605:a401:8385::/41": "33363", - "2804:630c::/32": "269335", - "2806:2f0:96e1::/43": "17072", - "2401:d800:2aa0::/41": "7552", - "2602:fca3:10::/48": "2165", - "2605:a401:8585::/44": "33363", - "2a06:1ec0::/32": "49832", - "2001:559:833a::/48": "33657", - "2001:67c:2f1c::/48": "41847", - "2606:6800:1000::/40": "394634", - "2a00:1588::/33": "25372", - "2001:559:52b::/48": "7922", - "2001:579:1924::/44": "22773", - "2001:44b8:6068::/48": "7545", - "2409:8061:100::/36": "9808", - "2804:14c:dc85::/41": "28573", - "2806:20d:1908::/43": "32098", - "2001:559:755::/48": "33651", - "2404:e4c0:1008::/48": "54201", - "240a:ae53::/32": "146317", - "2602:fda5::/36": "7871", - "2804:6fe0::/32": "270690", - "2a0c:b642:2fff::/48": "34641", - "240a:aca5::/32": "145887", - "2a0c:7500::/29": "205046", - "2400:9380:9240::/47": "4809", - "240a:ab65::/32": "145567", - "2801:1d:4800::/48": "13489", - "2401:1d40:3f02::/48": "58466", - "2602:fcce:145::/36": "399200", - "2804:65e0::/32": "269520", - "2a07:3147::/32": "48408", - "2a0e:3040::/32": "49696", - "2001:559:864c::/48": "33491", - "2a06:e040:7602::/47": "198507", - "2a06:eb40::/29": "205115", - "2001:559:43d::/48": "7922", - "2405:da00:400::/32": "38235", - "2606:1a00::/32": "18973", - "2804:2050:5a9f::/34": "264485", - "2804:4cb8::/32": "267387", - "2804:6a60::/32": "270332", - "2a04:f580:9290::/48": "4809", - "2001:559:c218::/47": "33667", - "2001:788::/32": "6893", - "240a:a541::/32": "143995", - "2803:a640::/32": "27896", - "2806:2f0:2443::/48": "17072", - "2a03:8ea0::/32": "21321", - "2a06:4880::/32": "211298", - "2401:3bc0:f::/37": "137409", - "2409:8924:bb00::/37": "56046", - "2a02:de80::/29": "8595", - "2a04:2dc0::/48": "39216", - "2a0b:a5c0::/29": "205807", - "2001:67c:2d7c::/48": "12859", - "2001:1248:55b3::/41": "11172", - "2001:1380:2000::/36": "19180", - "2606:a600:fff0::/44": "23005", - "2804:21d8::/32": "264577", - "2804:4c94::/32": "267379", - "2a0d:70c0::/29": "47995", - "2001:559:8591::/46": "7016", - "2606:2800:433::/45": "15133", - "2620:13b::/48": "7034", - "2804:4e9c::/32": "268272", - "2a0a:cec0::/29": "47926", - "2a0d:c0c0:4e1::/48": "59439", - "2401:0:c000::/40": "58470", - "2402:800:bf90::/42": "7552", - "240a:a2ed::/32": "143399", - "240e:44d:8080::/27": "4134", - "2605:a404:4b::/45": "33363", - "2610:160::/43": "27325", - "2a04:180::/29": "174", - "2402:800:9ad3::/42": "7552", - "2a01:a560::/32": "21195", - "2001:559:4f0::/47": "7015", - "2a02:5c0::/32": "21232", - "2a05:b680:9::/48": "57136", - "2a0a:69c0::/29": "25375", - "2a0c:a9c7:8::/46": "41740", - "2a0e:cb00::/29": "60377", - "240e:438:6240::/37": "4134", - "240e:473:5600::/41": "140485", - "2804:5ee8::/33": "269064", - "240a:aa21::/32": "145243", - "2a00:1210::/32": "34700", - "2a00:7380::/37": "51906", - "2a0d:e4c5::/30": "208861", - "2401:ff80:130f::/43": "133954", - "2404:8d00:1820::/37": "24378", - "240e:3b5::/35": "134773", - "2600:1402:1a::/45": "35994", - "2804:3a98::/32": "266098", - "2a02:e982:1e::/48": "62571", - "2a04:5c85:4000::/36": "207161", - "2a0e:46c3:700::/48": "207343", - "2408:84f3:2e50::/44": "17816", - "240a:a8fb::/32": "144949", - "2602:fd92:632::/48": "142031", - "2620:10e:d080::/41": "21538", - "2a0c:6f40::/29": "205801", - "240a:a9e4::/32": "145182", - "2803:c1a0::/32": "267693", - "2a02:26f7:f545::/46": "20940", - "2c0f:ef60::/32": "328346", - "2804:2198:280::/32": "52807", - "2001:559:860f::/43": "33667", - "2001:4938::/32": "33554", - "2403:8040::/32": "138184", - "2605:3380:413d::/41": "12025", - "2804:154::/32": "262733", - "2804:378::/32": "28283", - "2804:18c0:10::/32": "61951", - "2a02:26f0:8601::/39": "20940", - "2a02:26f7:b609::/42": "20940", - "2a02:26f7:d84e::/47": "20940", - "2001:67c:510:1165::49:2/48": "15486", - "2001:67c:1534::/48": "208281", - "240a:aa19::/32": "145235", - "2620:11c:5000::/44": "13331", - "2a0f:ae80::/32": "48131", - "240a:aba6::/32": "145632", - "2620:11a:a036::/44": "36040", - "2001:559:8394::/47": "7922", - "2001:df5:b00::/48": "136334", - "2600:1409:8001::/36": "20940", - "2800:200:e2c1::/36": "12252", - "2a02:26f7:bdc9::/46": "20940", - "2404:bf40:a301::/37": "139084", - "2a06:d9c0::/29": "60059", - "2a0e:1d80:9::/48": "9009", - "2a0e:8f02:f001::/48": "213126", - "2a0f:5707:aa50::/44": "206215", - "2600:1016:9050::/39": "6167", - "2a02:26f7:bd4c::/48": "36183", - "2a10:cac0::/29": "43872", - "2001:559:204::/48": "33491", - "2404:2940:4000::/32": "132257", - "2405:8f00:edca::/48": "15133", - "2407:9880::/32": "23856", - "240a:a672::/32": "144300", - "2804:3174:8000::/36": "265016", - "2a00:4f00::/32": "15377", - "2001:67c:4e0::/48": "48550", - "2409:8c20:5600::/42": "56046", - "240a:abc0::/32": "145658", - "2804:3c8c::/32": "266219", - "2804:81dc::/32": "272481", - "2a00:f78::/32": "48451", - "2a0f:b500::/29": "206313", - "2402:db40::/47": "131486", - "240a:a935::/32": "145007", - "2a01:7a00:adac::/33": "51701", - "2401:d800:1c0::/42": "7552", - "240a:ad98::/32": "146130", - "240a:adc2::/32": "146172", - "240e:352:6400::/31": "4134", - "2620:0:5000::/48": "23431", - "2804:1878::/39": "61935", - "2a09:8740::/29": "35426", - "2001:559:3ba::/48": "33657", - "2803:600:cacf::/34": "18809", - "2806:2f0:6001::/42": "17072", - "2a02:e180:8::/48": "15135", - "2400:9380:8bc0::/44": "136167", - "240a:a1f5::/32": "143151", - "240e:96::/28": "4134", - "2001:559:c3ad::/48": "7725", - "2401:d800:5060::/40": "7552", - "2402:5ec0:1200::/36": "23724", - "240a:a4eb::/32": "143909", - "240e:438:9e40::/34": "4134", - "2a02:228::/29": "25400", - "2a0a:4e83:e3f1::/48": "206074", - "2804:2148::/32": "264545", - "2a00:9f00::/44": "29314", - "2001:559:197::/48": "33651", - "2401:4900:880::/44": "45609", - "2409:8c60:ea01::/30": "9808", - "2a02:2698::/42": "12768", - "2a0c:4d80::/29": "208327", - "2a0f:fe80::/29": "60262", - "2a0e:dc0:5::/44": "63473", - "2001:559:c3b1::/48": "7922", - "2001:67c:1bf0::/48": "33885", - "2603:90fb:20::/41": "19115", - "2804:1e88::/32": "264434", - "2a01:47c0::/32": "5588", - "2a03:5e80::/32": "3233", - "2a0c:7e43:a525::/48": "20473", - "2001:559:83ec::/48": "7922", - "2600:6c38:d7::/44": "20115", - "2403:7f40:e001::/48": "57401", - "2409:8062:1100::/36": "9808", - "240a:a0cf::/32": "142857", - "2804:8e8::/32": "262399", - "2001:559:c11a::/48": "33652", - "2405:af80::/32": "135559", - "2801:1b:f000::/48": "267703", - "2a00:cb20:3b00::/32": "60266", - "2a02:26f7:f6fd::/46": "20940", - "2a09:d140::/29": "60781", - "2001:e48:48::/39": "9583", - "2406:4ac0::/32": "55891", - "240a:a6de::/32": "144408", - "2804:3d54::/32": "266268", - "2001:df4:4700::/48": "137107", - "2405:4000:800:8::/48": "38082", - "2602:ffc5:da0::/44": "7489", - "240a:af67::/32": "146593", - "240d:c010:1b::/48": "132203", - "240e:438:1a40::/37": "4134", - "240e:438:a220::/43": "140647", - "2a05:96c0::/29": "47886", - "2a00:f826:a::/48": "204254", - "2001:e48:22:5::/51": "9583", - "2605:db00::/32": "25222", - "2607:fc48:410::/48": "40009", - "2803:7820::/46": "267708", - "2804:18d8::/32": "61583", - "2804:31c0::/32": "262438", - "2804:6990::/32": "270278", - "2a01:d0:8000::/33": "29390", - "2a01:c50f:31c0::/38": "12479", - "2a02:2498::/46": "13213", - "2a02:4060::/29": "202008", - "2607:ff60:7000::/32": "3900", - "2620:13f:f000::/44": "397687", - "2804:100::/32": "28364", - "2001:1578:400::/40": "35003", - "2001:448a:5030::/41": "7713", - "2a02:26f7:eec8::/48": "36183", - "2408:8001:3080::/39": "17816", - "2804:5e0::/32": "262414", - "2400:8b00:800::/42": "45727", - "2409:8a50:f00::/35": "56047", - "2a0e:b105:558::/46": "20473", - "240a:ae34::/32": "146286", - "2a03:c980:beef::/48": "210079", - "2804:6318::/32": "269338", - "2804:5038::/35": "53003", - "2c0f:f918:107::/37": "37002", - "2408:8000:1000::/36": "4808", - "240e:3b7:c000::/37": "140315", - "2803:2210::/36": "271896", - "2a02:4e8::/32": "20738", - "2a04:4e40:2a10::/41": "54113", - "2c0f:f030:4000::/34": "328137", - "2620:120:9000::/44": "26227", - "2a02:26f0:9001::/39": "20940", - "2600:3402:900::/35": "4181", - "2620:83:2000::/48": "13699", - "2a01:4660::/32": "34360", - "2a02:26f0:701::/36": "20940", - "2001:559:855f::/48": "20214", - "2001:67c:5d4::/48": "8422", - "2409:8d14:20::/38": "56044", - "2a0d:3841:1020::/48": "57629", - "2001:559:220::/48": "21508", - "2402:5580::/32": "133817", - "2408:8456:9610::/42": "134543", - "240e:fd:b000::/36": "4134", - "240e:3ba:6400::/35": "140312", - "2804:4f50::/32": "268319", - "2a09:ff40::/32": "209146", - "2001:559:c228::/48": "33491", - "2407:3100:8114::/33": "10118", - "2620:74:91::/48": "11840", - "2a0c:b641:16a::/48": "16509", - "2001:559:83b8::/48": "33652", - "2401:d800:7bd0::/37": "7552", - "240a:a6ee::/32": "144424", - "2800:190:f3::/39": "11664", - "2a00:bfe0::/32": "41088", - "2a04:4e40:6e00::/48": "54113", - "2606:e000::/32": "26531", - "2a03:28a0::/46": "201650", - "2a03:6780::/48": "2119", - "2001:559:5d4::/48": "7015", - "2001:559:c3ef::/48": "7922", - "2803:5fe0::/32": "271785", - "2a09:3a00:3a00::/40": "59795", - "2a0b:9040::/29": "9009", - "2401:4900:4f52::/48": "45609", - "2600:8807:a0c2::/39": "22773", - "2604:4c40::/32": "395555", - "2806:230:1026::/48": "265594", - "2a09:9441::/32": "49981", - "2001:559:82ce::/48": "7922", - "2401:a400:c500::/34": "7477", - "2402:800:3e80::/42": "7552", - "2402:e280:3da7::/43": "134674", - "240e:67d:8c00::/33": "4134", - "2602:fea5::/36": "35859", - "2a01:a880::/29": "29600", - "2401:d800:b520::/40": "7552", - "2405:16c0::/32": "134781", - "2408:8956:8700::/40": "17816", - "2607:f7a8:1c1b::/32": "16657", - "2806:230:302c::/48": "265594", - "2a00:1678:dea1::/48": "49453", - "2a01:3a8::/32": "20507", - "2001:fd8:f0c0::/42": "132199", - "2001:4878:b228::/48": "12222", - "2402:8100:210e::/47": "55644", - "2620:10a:f000::/43": "21869", - "2804:2890::/32": "52731", - "2806:230:4019::/48": "11888", - "2001:67c:12c8::/48": "43028", - "2401:3c0:113::/48": "45528", - "2600:140f:3a01::/39": "20940", - "2806:230:402e::/48": "265594", - "2402:800:f290::/42": "7552", - "2407:c080::/36": "55990", - "2a04:53c0:80::/48": "47784", - "2a10:1c40::/48": "206222", - "2a0f:c00::/29": "48627", - "240a:a218::/32": "143186", - "240a:aa17::/32": "145233", - "2600:140f:1a01::/39": "20940", - "2804:1638:fac4::/44": "263276", - "2a06:5a80::/29": "12488", - "2001:1998:380::/37": "7843", - "2409:8924:5f00::/34": "56046", - "2607:f740:45::/48": "63911", - "2a04:f581:110a::/47": "23764", - "2404:63c0:40::/44": "131645", - "2600:140f:3e00::/48": "9498", - "2605:d780::/32": "30162", - "2804:2994::/32": "264023", - "2806:20d:5037::/41": "32098", - "2a0f:ec0::/29": "52031", - "2600:6c38:24::/47": "20115", - "2620:5f:c000::/48": "39971", - "2804:2314:2::/32": "262811", - "2804:25d4::/32": "264306", - "240a:ab9d::/32": "145623", - "2a04:4e40:2405::/40": "54113", - "2001:579:2024::/37": "22773", - "240e:473:3520::/41": "140486", - "2606:2800:133::/45": "15133", - "2607:700:1700::/32": "22343", - "2620:103:c006::/44": "14203", - "2c0f:fcb0::/34": "36916", - "2401:8800:11::/40": "17439", - "2403:5800:3::/48": "136943", - "2605:a401:80d2::/45": "33363", - "2a0e:fd45:2a0e::/40": "213253", - "2001:468:a00::/39": "11537", - "2001:44b8:2059::/48": "4739", - "2001:49e0::/32": "4581", - "2407:5c40::/32": "142139", - "2408:8459:f300::/37": "17622", - "240a:a0b3::/32": "142829", - "2605:2180:901::/43": "12422", - "2607:f281::/32": "46218", - "2804:154c:c000::/34": "263382", - "2001:559:781::/48": "33287", - "2001:67c:19f4::/48": "198877", - "240a:a78a::/32": "144580", - "2620:44:a000::/48": "33302", - "2803:e40:a00b::/33": "27797", - "2803:15c0:8000::/34": "269822", - "2803:15e0::/32": "270037", - "2a02:188:5109::/37": "31027", - "2a02:26f7:d341::/46": "20940", - "2a0e:c887::/44": "208759", - "2605:9d80:9033::/48": "4809", - "2801:80:3e00::/48": "271213", - "2804:5e34::/32": "269018", - "2a09:bac0:201::/45": "13335", - "2001:6d0:ffd5::/46": "42385", - "2001:dce:8400::/48": "45285", - "2401:7940::/32": "134971", - "2804:1b68::/32": "61726", - "2602:807:9000::/44": "11043", - "2602:fcff:17::/48": "57164", - "2a0a:e5c0:12::/48": "207996", - "2a0c:1580::/29": "204860", - "2a0f:31c0::/29": "60262", - "2c0e::/37": "24863", - "2001:559:84d8::/48": "7922", - "240e:983:1e07::/48": "58543", - "2602:800:c400::/38": "398577", - "2607:9800:c117::/41": "15085", - "2a0f:c480::/29": "56655", - "2001:559:c36b::/48": "7922", - "2001:4540::/31": "9924", - "2803:160::/32": "267932", - "2804:5e88::/32": "269039", - "2a02:2010:2410::/45": "20978", - "2a07:6880::/32": "202872", - "2a0e:8f02:f007::/48": "211828", - "240a:af2a::/32": "146532", - "2600:1407:e801::/35": "20940", - "2607:fa20::/32": "26259", - "2804:808c::/32": "271758", - "2a10:cc40:da8::/48": "20473", - "2001:44b8:37::/48": "4739", - "2401:d800:ab0::/41": "7552", - "2600:40f0:1130::/32": "701", - "2804:7cc:1000::/48": "28669", - "2a07:9200::/29": "62206", - "240a:ab3f::/32": "145529", - "240e:d2::/33": "140330", - "240e:982:5000::/40": "140527", - "2600:5c01:2c0c::/48": "11351", - "2804:8128::/32": "272436", - "2a0b:2300::/32": "30962", - "2a02:2288::/29": "41765", - "2a0e:b107:e80::/44": "39282", - "2c0e:7f80:300::/29": "36974", - "2a09:65c0::/32": "48045", - "240e:3bf:4c00::/35": "136200", - "2607:fc38::/32": "33693", - "2620:10e:1000::/47": "33397", - "2804:6dfc::/32": "270568", - "2a02:26f7:e284::/48": "36183", - "2a06:2900:125::/48": "39063", - "2803:3480::/32": "52419", - "2a03:68c0:2b00::/32": "61327", - "2a03:48c0::/32": "199608", - "2001:4490::/43": "9829", - "2402:800:99a9::/43": "7552", - "2403:bac0::/32": "133815", - "2604:6840:1400::/40": "12989", - "2804:282c::/32": "263945", - "2001:559:8419::/48": "33657", - "2401:ff80:1513::/40": "133954", - "240a:ac7c::/32": "145846", - "2a03:6980::/32": "15830", - "2604:d600:154f::/43": "32098", - "2401:4900:900::/41": "45609", - "240d:c010:41::/46": "139341", - "2a0c:b5c0::/29": "59909", - "2c0f:2d00::/32": "328916", - "2001:4408:4508::/45": "55824", - "2001:4998:ef9a::/41": "10310", - "2400:9380:8dc0::/44": "136167", - "2408:8620::/31": "4837", - "2620:100:f00a::/48": "40068", - "2800:160:14d3::/45": "14259", - "2804:4b54::/32": "267298", - "2001:418:4001:2::/64": "20940", - "2001:460:94::/39": "3561", - "2402:800:b7d0::/36": "7552", - "2409:8d39::/25": "9808", - "2a03:3500::/32": "13054", - "2001:559:743::/45": "7922", - "2400:c180:20::/47": "132513", - "2607:2f80::/32": "2734", - "2804:5a30:3000::/36": "268754", - "2a0a:a980::/29": "31742", - "2a0b:39c0:1000::/43": "12372", - "2001:559:8508::/46": "33287", - "240e:3b9:9200::/36": "140317", - "240e:473:5450::/39": "4134", - "2600:1488:a081::/41": "20940", - "2804:33e8::/32": "265424", - "2405:1c0:7f10::/48": "58810", - "2605:7200::/32": "21804", - "2620:162::/36": "14381", - "2a03:2887:ff27::/44": "63293", - "2a00:1328::/32": "31078", - "2001:559:834d::/48": "33651", - "2001:559:8796::/47": "20214", - "2606:4700:ff01::/48": "394536", - "2803:9800:9543::/36": "11664", - "2a03:9340::/32": "25589", - "2a0a:f000::/32": "207210", - "2a0c:b640:a::/43": "34872", - "2804:3dec::/32": "266563", - "2a02:26f7:cc4d::/42": "20940", - "2001:af0:ffcc::/42": "5588", - "2001:df1:1400::/48": "133296", - "2402:e40::/32": "23943", - "2600:1406:3a01::/37": "20940", - "2607:f948::/32": "6597", - "2803:26c0::/32": "267788", - "2804:6f28::/32": "270642", - "2a02:5ac0::/33": "48424", - "2a0a:54c1:9::/43": "62240", - "2001:579:b04c::/40": "22773", - "2001:9a0::/32": "15879", - "240e:473:50::/39": "4134", - "2600:141b:a::/45": "35994", - "2620:1ec:a::/45": "8068", - "2a02:16c8::/34": "6871", - "2a07:a905:fff0::/30": "46261", - "2a0e:1040:1::/45": "208655", - "2001:67c:22bc::/48": "34086", - "2401:d800:d8d0::/42": "7552", - "2600:140b:5001::/38": "20940", - "2600:3001:12::/42": "13649", - "2a02:21d0::/32": "49677", - "2a03:e400::/32": "45005", - "2a04:cb40::/29": "41552", - "2001:67c:82c::/48": "210881", - "240a:a335::/32": "143471", - "2804:1350::/32": "263528", - "2a0e:6200::/29": "3214", - "2a10:9040::/29": "212795", - "2401:ff80:1a83::/45": "133954", - "240a:a128::/32": "142946", - "2600:1417:4001::/37": "20940", - "240e:438:5c40::/38": "4134", - "2606:f780::/32": "394829", - "2804:4428::/32": "267606", - "2a03:db80:4421::/46": "680", - "2a05:7240::/29": "35784", - "2001:550:4002::/39": "174", - "2408:8256:e66::/39": "17622", - "2409:8c20::/36": "56046", - "240a:a17b::/32": "143029", - "2804:5200::/32": "268489", - "2801:140:fffa::/45": "262249", - "2a03:5a00:9::/48": "59738", - "2a03:85c0:141::/31": "20561", - "240a:a005::/32": "142655", - "2804:4224::/32": "267480", - "2a02:c502::/29": "199246", - "2a0a:e840::/29": "25540", - "2a0c:5500::/45": "205081", - "2a0d:5600:38::/41": "9009", - "2001:1978:802::/48": "13895", - "2402:3bc0::/32": "137225", - "2408:8459:5a10::/42": "17623", - "240a:ad19::/32": "146003", - "2600:9000:1e0c::/48": "16509", - "2804:365c::/32": "266343", - "2a07:d840::/29": "210107", - "2001:559:351::/48": "7922", - "2408:8957:df00::/40": "17816", - "240a:aa24::/32": "145246", - "2001:559:3a5::/48": "7922", - "2408:8956:5c00::/40": "17622", - "2602:feda:c10::/44": "212359", - "2606:a600:7000::/32": "23005", - "2804:3694::/32": "266357", - "2a02:4540:5000::/43": "197207", - "2a05:3580:ec00::/39": "35807", - "2001:67c:2310::/48": "34564", - "2400:adcc:1000::/39": "9541", - "2402:800:3c1d::/41": "7552", - "2404:d540::/47": "2501", - "2408:8756:d100::/28": "17816", - "2803:e40:8b::/32": "27797", - "2804:cf8:c000::/46": "52580", - "2409:8d44::/28": "24445", - "2606:2800:747::/48": "15133", - "2804:3074::/32": "264952", - "2804:7d68::/32": "271559", - "2a02:26f7:e488::/48": "36183", - "2a03:34c0::/32": "9009", - "2a0f:9400:771f::/48": "211767", - "2402:800:5101::/44": "7552", - "2604:d600::/44": "32098", - "2804:7104::/32": "270762", - "2806:261:1300::/41": "13999", - "2a0b:9e00::/29": "35370", - "2001:67c:16d0::/47": "44574", - "2001:df3:3580::/48": "140027", - "240a:a16b::/32": "143013", - "240a:ad57::/32": "146065", - "2804:1c04:8000::/33": "61633", - "2404:af80::/48": "38026", - "240a:a71b::/32": "144469", - "2800:160:1eea::/45": "14259", - "2804:3920:4000::/40": "266013", - "2804:7114:168::/32": "270765", - "2001:648:22b1::/41": "5408", - "2402:800:3ad3::/44": "7552", - "2a0b:cd40::/29": "42336", - "2001:bf7:180::/37": "44194", - "2600:1006:b140::/42": "6167", - "2606:ca00:408::/32": "14537", - "2804:14c:5900::/41": "28573", - "2a01:c50f:eec0::/35": "12479", - "2a0e:3780:c0ca::/48": "61361", - "2001:e60:d3a0::/45": "4766", - "2001:16a2:7d00::/38": "39386", - "2407:7800::/32": "55803", - "2804:1254::/32": "263470", - "2a02:26f7:c544::/48": "36183", - "2a02:6580::/32": "43074", - "2402:800:5655::/42": "7552", - "2607:fc48:c48::/48": "40009", - "2a02:280::/32": "12883", - "2a02:26f7:c580::/48": "36183", - "2a07:4080::/29": "47132", - "2001:559:85::/46": "7922", - "2407:5200:402::/33": "55915", - "2607:f518:172::/44": "46887", - "2804:7ac4::/32": "271391", - "2a02:27d0::/39": "49463", - "2a0a:7980::/32": "41114", - "2a0e:5e84::/32": "44176", - "2001:480:560::/48": "22", - "2001:559:1cc::/48": "7725", - "2804:2c14::/32": "265194", - "2a02:2e0:3ff::/37": "12306", - "2a02:26f7:d340::/48": "36183", - "2a02:7842::/31": "47816", - "2a0a:4540::/48": "203420", - "2401:ccc0::/32": "137236", - "2602:fce1:221::/46": "395886", - "2a01:821::/29": "3209", - "2001:559:c0f9::/48": "7016", - "2600:1011:9110::/34": "6167", - "2801:19:4800::/48": "27951", - "2a01:540:d000::/34": "12389", - "2a02:26f7:e80d::/42": "20940", - "240a:aab1::/32": "145387", - "2804:6178::/32": "269236", - "2a0c:6180::/29": "47648", - "2001:67c:1920::/48": "21195", - "2401:d800:b4f0::/39": "7552", - "2405:1c0:6a21::/46": "135062", - "240a:a42d::/32": "143719", - "2a02:26f7:c4c1::/46": "20940", - "2001:500:40::/45": "207266", - "240a:ae3a::/32": "146292", - "2804:480:1000::/40": "23002", - "2804:707c::/32": "270729", - "240a:a92c::/32": "144998", - "240e:473:a600::/41": "140485", - "2803:3a00:1800::/37": "23243", - "240e:3b5:7600::/39": "140313", - "2a01:298:fe::/32": "30880", - "2607:f8b0:4017::/32": "15169", - "2800:160:1e51::/45": "14259", - "2a02:26f7:e789::/42": "20940", - "2a02:b98::/32": "12897", - "2001:559:1b9::/46": "33652", - "2001:b60::/32": "20836", - "2403:1cc0:1128::/48": "45352", - "2607:fcd0:fa80:3e02::/49": "8100", - "2804:14d:ec00::/40": "28573", - "2804:280::/32": "53219", - "2a01:b000:9::/32": "35266", - "2a02:2e02:3180::/36": "12479", - "2408:8456:e40::/39": "17816", - "2600:1406:a400::/48": "35994", - "2804:cc0::/32": "52550", - "2400:adca::/39": "9541", - "2600:370f:3620::/45": "32261", - "2804:204:247::/43": "28186", - "2806:230:5011::/48": "11888", - "2001:67c:cc::/48": "196870", - "2804:14d:5ca6::/43": "28573", - "240a:acd6::/32": "145936", - "240e:fd:e040::/37": "4134", - "2804:854::/44": "28368", - "2a0a:e200:1911::/38": "33438", - "2405:8a00:2079::/40": "55824", - "2a09:4c2:2d::/48": "58057", - "2001:559:80cc::/48": "7725", - "2a0d:49c0::/29": "43260", - "2405:9800:d002::/48": "45430", - "2804:145c:8810::/40": "263327", - "2a05:3d80::/31": "59414", - "2a0c:1c80::/29": "203119", - "2001:918:dedf::/34": "3303", - "2001:1430::/32": "29243", - "2602:807:50f8::/47": "55136", - "2a06:1307::/32": "49392", - "2a0a:eac2::/48": "60330", - "2001:df3::/48": "132688", - "2800:3a0:7::/39": "23201", - "2a00:1488::/32": "1887", - "2a00:86c0:1035::/41": "2906", - "2a0d:6940::/29": "47447", - "2a0f:4f00::/29": "62412", - "2001:559:84dc::/47": "7015", - "2620:149:234::/41": "714", - "2a01:8840:c2::/45": "12041", - "2a02:26f7:ed49::/42": "20940", - "2c0f:1200::/32": "328820", - "2001:df1:b80::/48": "4764", - "2800:bf0:a803::/35": "27947", - "2a00:4bc0::/37": "31004", - "2a05:9b80::/29": "50083", - "2620:1d5:650::/40": "14773", - "2804:220::/32": "262791", - "2604:4fc0::/32": "20150", - "2604:6040:50::/48": "53698", - "2606:65c0:20::/48": "399804", - "2607:9e80:1381::/32": "397068", - "2804:7230::/32": "270838", - "2a02:248::/32": "8648", - "2806:2f0:31e1::/46": "17072", - "2402:800:32ee::/39": "7552", - "2402:800:b740::/42": "7552", - "240e:980:8800::/40": "38283", - "2600:6:ffc0::/45": "10507", - "2607:f740:e045::/44": "63911", - "2804:1b3:1000::/36": "18881", - "2804:7c0::/32": "262316", - "2a02:26f7:ed08::/48": "36183", - "2401:b400:16::/44": "58811", - "2402:dfc0:50::/44": "4808", - "2602:fdf2::/36": "32639", - "2804:160c:5000::/34": "263264", - "2401:4900:1c26::/44": "24560", - "2402:800:57e0::/44": "7552", - "2405:d440:101::/32": "58813", - "240a:a18d::/32": "143047", - "240e:109:8020::/48": "4134", - "2a0c:9a40:1024::/48": "34927", - "2a00:1e1a::/29": "8896", - "2a00:c580::/32": "47114", - "2a02:26f7:f685::/46": "20940", - "2408:8456:c240::/39": "17816", - "2804:7c0c::/32": "271472", - "2a01:8480::/34": "15704", - "2001:510:203::/45": "376", - "2001:c38:90a5::/44": "135566", - "2001:1978:2300::/37": "13768", - "2a02:26f0:116::/48": "3292", - "2a0d:77c7:f1e5::/37": "7489", - "240a:a2ff::/32": "143417", - "240a:ae90::/32": "146378", - "2402:800:7270::/40": "7552", - "240a:a975::/32": "145071", - "2a0b:20c0:200::/34": "205766", - "2a0c:ad40::/29": "51184", - "2804:14d:ba87::/42": "28573", - "2a03:f80:359::/48": "56630", - "2a03:1ac0:2e00::/48": "34533", - "2a01:6e00:11::/32": "43142", - "2001:678:bc8::/48": "57078", - "2001:67c:18c4::/48": "15576", - "2001:13d2:813::/45": "7303", - "240e:108:1002::/48": "23724", - "2600:1016:f010::/41": "6167", - "2a07:7d40::/29": "202876", - "240a:a2c0::/32": "143354", - "2800:160:1032::/41": "14259", - "2804:5c9c::/32": "268919", - "2a02:26f7:c940::/48": "36183", - "2402:800:7e00::/42": "7552", - "2402:800:f200::/42": "7552", - "240a:a1d6::/32": "143120", - "2600:9000:1e16::/48": "16509", - "2607:4100:8000::/33": "19171", - "2a10:dfc0::/29": "62206", - "2400:cb00:a710::/48": "13335", - "2620:a7:8000::/48": "54111", - "2800:160:1d3d::/46": "14259", - "2804:1d80::/36": "264374", - "2806:2f0:6281::/43": "17072", - "2a02:71a0::/32": "60003", - "2001:858::/32": "8437", - "2406:3000:3:26::/60": "4657", - "2a02:4460::/32": "202032", - "2a02:6900:8208::/48": "4184", - "2a0c:4680::/29": "47945", - "2001:559:a::/48": "33652", - "2408:8406:2400::/39": "4808", - "2408:8459:bc50::/38": "17816", - "2a02:26f7:bd40::/48": "36183", - "2a02:26f7:c355::/48": "36183", - "2402:800:5801::/44": "7552", - "2406:e00:104::/47": "55740", - "2408:8957:5300::/40": "17816", - "2001:559:85ee::/48": "7016", - "2400:adda::/35": "9541", - "2401:2500::/32": "7684", - "2404:4e00:1003::/48": "32787", - "240e:473:3550::/40": "4134", - "2604:fbc0::/36": "13830", - "2402:800:b5f0::/38": "7552", - "2404:3d00:4108::/47": "21433", - "2602:fff9::/40": "54839", - "2606:b400:880c::/48": "7160", - "2001:559:c061::/48": "33287", - "2405:84c0:ff26::/44": "59598", - "2409:803c:900::/37": "9808", - "2607:6400:1101::/32": "30688", - "2001:480:502::/41": "668", - "240a:a3d0::/32": "143626", - "2a04:2e80:6::/48": "59861", - "2001:559:430::/48": "33489", - "2400:8240::/32": "38719", - "2602:ff23:1::/36": "63252", - "2804:7d7c::/39": "271564", - "2a03:d900::/32": "49079", - "2c0f:fa18::/32": "36884", - "2001:4830:100::/40": "27552", - "2604:d600:1650::/46": "32098", - "2a06:9040::/29": "13101", - "2402:9e80:55::/48": "141376", - "240e:108:1196::/42": "4134", - "2a0a:1301::/29": "207028", - "2a10:c947::/32": "206447", - "2406:840:feed::/48": "209306", - "2408:8456:6c40::/39": "17816", - "2600:140b:8001::/37": "20940", - "2620:d4::/48": "6377", - "2a01:4020::/46": "25369", - "2a01:51c0::/31": "29422", - "2001:67c:2d8::/48": "13042", - "2804:2050:6a8c::/35": "264485", - "2a01:8840:85::/48": "207266", - "2a02:2278:211::/45": "28907", - "2402:8100:39cd::/46": "55644", - "2620:124:5000::/40": "18534", - "2a0b:c480::/32": "206374", - "2a10:7a80::/29": "213317", - "2001:1930:d00::/38": "11985", - "2620:1d0:5d::/48": "397218", - "2803:10::/32": "271793", - "2804:51ac::/32": "268469", - "2402:9e80:200::/48": "142561", - "2800:300:85e0::/36": "27986", - "2001:978:1e02::/47": "174", - "240e:900::/42": "137692", - "2600:1413:3000::/48": "24319", - "2801:1f2::/44": "271820", - "2001:559:86d2::/47": "397601", - "2804:23e0::/32": "264189", - "2a01:ce9c::/32": "51964", - "240a:a8f4::/32": "144942", - "2603:c022:8000::/35": "31898", - "2001:470:be::/48": "12266", - "240e:fd:c000::/37": "140310", - "2605:8240::/32": "398113", - "2402:2480::/45": "134177", - "2804:803c::/32": "271738", - "240a:a9b4::/32": "145134", - "2803:c010:3e4::/47": "271799", - "2804:37a8::/35": "266428", - "2001:559:842a::/48": "7016", - "2001:1248:8439::/41": "11172", - "2600:1006:9050::/39": "22394", - "2600:1406:3e::/48": "35994", - "2803:1e80::/32": "28111", - "2c0f:e9c0::/32": "327750", - "2001:559:8403::/48": "7922", - "2001:1388:8461::/44": "6147", - "240a:aac2::/32": "145404", - "2804:d74::/32": "28577", - "2804:1168:1819::/37": "52904", - "2a04:bc40:1dc5::/48": "59947", - "2a09:140::/29": "26636", - "2001:1248:96c5::/43": "11172", - "2407:7f00::/48": "132898", - "2409:8087:7d00::/38": "9808", - "2a02:6604:3::/48": "44933", - "2001:67c:2004::/48": "25173", - "2400:9380:9030::/47": "4809", - "2402:800:bad0::/42": "7552", - "2403:c000:1401::/48": "38228", - "2602:fd32:1::/48": "30496", - "2607:fb08:8001::/33": "32703", - "2800:160:1279::/45": "14259", - "2001:678:334::/48": "48031", - "2403:300:406::/38": "714", - "2403:300:a0c::/48": "6185", - "2804:4158:8001::/33": "267427", - "2001:b68::/32": "2108", - "2402:800:9901::/44": "7552", - "2a02:b90::/32": "16082", - "2a04:4e40:dc00::/48": "54113", - "2001:559:c196::/48": "7922", - "240a:a82b::/32": "144741", - "2620:0:2e64::/48": "29997", - "2804:550c:e000::/35": "268686", - "240a:ac6b::/32": "145829", - "2600:1415:5801::/32": "20940", - "2a00:d200::/29": "56329", - "2a02:5840::/32": "49476", - "2001:559:c22b::/48": "33661", - "2001:44b8:44::/35": "4739", - "2403:f680:a::/45": "58898", - "2409:8904:8140::/38": "24547", - "240e:44d:2180::/41": "4134", - "2803:ab60::/32": "269805", - "2804:5978::/32": "268704", - "2001:fd8:2a0::/48": "132199", - "2001:4878:4001::/48": "35994", - "2804:6290::/32": "269304", - "2a02:2010:2310::/45": "20978", - "2001:4878:8228::/48": "12222", - "2408:80fa:75c0::/32": "17816", - "2804:7dec::/32": "271591", - "2806:21a:1::/39": "262913", - "2a0e:b107:ea7::/48": "212085", - "2001:559:c3a7::/44": "7725", - "2804:749c::/32": "270992", - "2a00:79e1:f02::/45": "395973", - "2a0e:46c4:2800::/47": "213045", - "2001:67c:20d0::/47": "5421", - "2404:2ec0::/44": "131675", - "2a07:45c4::/40": "202521", - "2001:16a2:4028::/46": "39386", - "2404:a800:3002::/48": "137670", - "240e:964:ec00::/31": "4134", - "2a00:8000::/32": "200707", - "2001:df6:9000::/48": "59256", - "2408:8459:c230::/41": "17622", - "2a00:b180::/32": "15557", - "2001:43f8:960::/48": "37691", - "2402:800:5dc5::/43": "7552", - "2607:b400:a03::/32": "40220", - "2a03:db80:4411::/46": "680", - "2a05:1080:10::/48": "61004", - "2402:800:97d3::/44": "7552", - "2001:df3:500::/48": "132381", - "2408:8459:3c10::/44": "17623", - "2610:f0:6b5::/36": "22925", - "2804:4774::/32": "267055", - "2a0f:b100:100::/40": "210118", - "2804:9d4:7000::/32": "262996", - "2a0f:607:1025::/48": "60614", - "2a10:e000:1::/48": "210909", - "2001:559:1e2::/48": "33656", - "2400:8100::/32": "45671", - "2401:d800:40::/42": "7552", - "2a06:7100::/29": "48520", - "2a0f:ae40::/32": "207489", - "2001:df6:aa80::/48": "136421", - "2400:cb00:31::/48": "13335", - "2607:f180:7200::/40": "4213", - "2800:484:7a00::/32": "10620", - "2a01:b140::/29": "24940", - "2602:fca7:4::/48": "399318", - "240a:a627::/32": "144225", - "2600:380:f980::/37": "7018", - "2400:cb00:83::/44": "13335", - "2408:840c:7700::/40": "17621", - "2a0c:e9c0::/29": "197036", - "2a10:9c0::/29": "61272", - "2001:df7:4700::/48": "135957", - "2001:4de0:6102::/48": "33438", - "2405:ba00:8808::/48": "7160", - "2607:6000:500::/40": "12189", - "2800:160:16ea::/39": "14259", - "2a02:2208:2::/29": "6697", - "2a10:df80::/29": "60274", - "2a02:26f7:bc05::/48": "36183", - "2001:1248:566a::/43": "11172", - "2804:14d:7200::/40": "28573", - "2804:2a04::/32": "264051", - "2a0b:cf00::/32": "208683", - "2001:559:c1de::/48": "33287", - "2404:2d80::/32": "134226", - "2408:840d::/42": "17621", - "2806:265:4300::/37": "28481", - "2a01:608::/32": "5577", - "240e:44d:3980::/41": "4134", - "2804:b:c00d::/48": "14840", - "2606:6680:245::/48": "40676", - "2001:67c:454::/48": "62083", - "2403:a280:8000::/36": "36351", - "2403:e800:51b::/36": "4637", - "2620:0:2900::/47": "13916", - "2806:2f0:83c0::/37": "17072", - "2a04:e4c0:51::/46": "36692", - "2402:2dc0::/32": "135607", - "2409:804d:100::/36": "9808", - "240a:ac28::/32": "145762", - "2a0e:be80::/29": "60262", - "2001:df0:8::/48": "18149", - "2804:297c:cf81::/34": "262907", - "2a01:9b60::/32": "30742", - "2001:dc7:5df8::/45": "24151", - "2001:13b0::/32": "3549", - "2804:6d04::/32": "270507", - "2001:559:4cc::/48": "7015", - "2405:d540::/32": "140223", - "2600:100f:f110::/27": "22394", - "2801:1a2::/48": "269845", - "2804:1c4c:1714::/32": "61648", - "2a01:8840:1e::/42": "12041", - "2400:e500:36::/44": "138322", - "2408:883a:700::/40": "140716", - "2600:1010:b170::/36": "22394", - "2600:1407:f001::/36": "20940", - "2603:c0e2::/35": "54253", - "2804:6918:2000::/33": "270248", - "2a02:26f7:d901::/46": "20940", - "2408:8656:2ef0::/48": "17623", - "240a:a738::/32": "144498", - "240e:108:94::/46": "4134", - "240e:44d:3a80::/41": "4134", - "2600:1004:9100::/44": "6167", - "2801:80:19f0::/48": "265392", - "2a00:61c0::/29": "44143", - "2a04:1cc2::/32": "48635", - "2001:1248:70f7::/44": "11172", - "2600:1406:8801::/38": "20940", - "2604:e840:11::/32": "396965", - "2804:765c::/32": "271106", - "2a01:1c8::/32": "15699", - "2a02:e70::/39": "33965", - "2a03:ee40::/32": "3170", - "240a:a4af::/32": "143849", - "240a:a817::/32": "144721", - "2800:bf0:3400::/48": "52257", - "2803:ca80:2::/32": "263249", - "2a02:2e02:8d0::/42": "12479", - "2404:9200::/32": "2516", - "2602:ffc6:100::/37": "21777", - "2806:230:2042::/48": "265594", - "2a02:450:8000::/48": "34372", - "2001:559:866e::/48": "7922", - "2800:3b0:2000::/36": "263173", - "2a06:6280::/29": "209390", - "2a0b:2c0::/32": "205831", - "2001:438:fffd:11f::/58": "6461", - "2402:7400::/34": "38883", - "2405:6e00:2240::/40": "133612", - "2804:ccc::/32": "262827", - "2804:5eb8::/32": "262866", - "2a07:aa00:7::/48": "3356", - "240a:af5d::/32": "146583", - "2600:6c38:b1c::/46": "20115", - "2620:13c:b000::/44": "18531", - "2a00:fc0::/32": "3212", - "2001:978:8802::/39": "174", - "2001:1900:2366::/47": "202818", - "240a:a7a6::/32": "144608", - "240a:a9a2::/32": "145116", - "2600:6c38:ac0::/39": "20115", - "2a0d:8cc0::/29": "43350", - "2400:5200:c00::/40": "55410", - "2400:fc00:30::/36": "45773", - "2804:2164:d009::/45": "264552", - "2a05:4741:6::/48": "51699", - "2800:160:1775::/44": "14259", - "2804:4f0::/32": "22129", - "2a0e:b105:614::/46": "20473", - "2402:8100:25df::/42": "55644", - "2804:1288::/36": "263482", - "2804:3d68::/32": "266529", - "2a03:74c0::/32": "203304", - "2a0d:3842:1160::/48": "57629", - "2402:800:f780::/42": "7552", - "2001:550:c0c::/38": "174", - "2400:9380:8cc0::/44": "136167", - "2604:5c80::/32": "21981", - "2a0c:e000::/31": "31054", - "2a0e:1e00::/29": "15884", - "2001:559:33a::/48": "33287", - "2001:559:720::/48": "21508", - "2001:df0:45d::/48": "132556", - "2001:49f0:d0c1::/44": "174", - "2408:8956:c200::/40": "17622", - "2803:5c80:5598::/48": "64114", - "2804:7df4::/32": "271593", - "2001:df2:d900::/48": "18403", - "2a02:26f7:bb85::/48": "36183", - "2a02:6680:1166::/48": "16116", - "2c0f:eb00:1200::/40": "327941", - "2605:9100::/32": "20295", - "2804:b0::/32": "22431", - "2a06:f740::/29": "203398", - "2a02:26f7:cc84::/48": "36183", - "2001:559:262::/48": "33651", - "2001:559:8732::/48": "7015", - "2001:559:c062::/45": "7922", - "2001:1340::/32": "10569", - "2403:5a00:fff1::/44": "23783", - "240a:a7c8::/32": "144642", - "2804:1ba8::/32": "262738", - "2a06:a780::/29": "28022", - "2a09:2885::/48": "202316", - "2400:3200::/32": "37963", - "2406:840:e500::/47": "211571", - "240a:a7aa::/32": "144612", - "2602:ffaa::/36": "32621", - "2804:6fc:21::/32": "28158", - "2a00:1f08::/32": "28676", - "2a0e:f500:1::/46": "60781", - "2801:80:580::/47": "52740", - "2806:1018:cd00::/34": "8151", - "2a02:ed0::/34": "47956", - "2a03:5880::/39": "12757", - "2001:4978:1002::/45": "13331", - "240a:a0bd::/32": "142839", - "2600:1419:bc01::/33": "20940", - "2620:90:a000::/48": "398989", - "2804:163c::/38": "263277", - "2804:7e50::/32": "271616", - "2a02:26f7:e009::/42": "20940", - "2001:500:a0::/45": "12041", - "2001:be7::/32": "21233", - "2001:1a11:b2::/44": "42298", - "2804:170:9000::/33": "28131", - "2a06:2d40::/47": "20473", - "2a0b:1b82::/31": "206521", - "2001:559:407::/48": "22258", - "2804:1760::/32": "263142", - "2804:58f4::/32": "268160", - "2a00:5ae0:100::/48": "198638", - "2a0e:8f00:f103::/45": "49933", - "2a03:9d40:6000::/36": "41095", - "2405:800:2000::/33": "7545", - "2600:1901:c130::/34": "15169", - "2602:feda:d83::/48": "209645", - "2607:fb90:d700::/36": "21928", - "2801:10:6800::/48": "271821", - "2803:9800:a896::/41": "11664", - "2804:3230::/32": "265061", - "2408:8360::/29": "4837", - "240a:a9c2::/32": "145148", - "2603:c012:e000::/36": "31898", - "2a01:9700:103c::/46": "8376", - "2404:6740::/48": "138608", - "2409:8924:4d00::/38": "56046", - "2801:80:1a70::/48": "268716", - "2804:3584::/32": "266291", - "2a02:cb43:8008::/48": "20546", - "240e:108:43::/48": "63835", - "2600:1010:fe10::/39": "22394", - "2804:17d4::/32": "262778", - "2a02:582:4c00::/35": "6799", - "2a0c:d040::/32": "30781", - "2600:1017:b830::/40": "6167", - "2804:204c::/32": "264484", - "2a00:6901:1005::/48": "20926", - "2001:4490:4400::/40": "9829", - "2600:1413:2000::/48": "24319", - "2a07:a8c0::/33": "34939", - "2405:f080:1e0a::/47": "136907", - "2804:73e8::/32": "270945", - "2a04:76c7:200::/48": "13213", - "2001:67c:2fdc::/48": "42063", - "2400:cb00:a600::/47": "13335", - "2600:100d:b000::/42": "6167", - "2607:f738:d00::/38": "17184", - "2a02:a38::/32": "2119", - "2a0a:bcc0::/29": "41001", - "2408:8410::/29": "4837", - "2a05:ed80::/29": "200278", - "2001:44b8:2042::/48": "4739", - "2401:ff80:188d::/46": "133954", - "2804:235c::/44": "52747", - "2804:5418::/32": "268628", - "2804:6adc::/32": "270362", - "2401:ff80:170d::/46": "133954", - "240e:790::/26": "4134", - "2600:1406:9000::/48": "35994", - "2620:ec:c000::/48": "394683", - "2001:559:44b::/45": "7015", - "2001:579:6028::/43": "22773", - "2408:8459:f150::/38": "17816", - "2804:77c4:8000::/36": "271198", - "2a01:5b40:d::/36": "12996", - "2800:440::/47": "27738", - "2804:1ef8:2400::/32": "264457", - "2a02:26f7:e381::/46": "20940", - "2401:1700::/44": "55666", - "2800:160:1f72::/45": "14259", - "2a06:1b00:98::/47": "8302", - "2001:4878:c219::/48": "12222", - "2407:8a80::/32": "134437", - "2803:8960::/32": "269736", - "2600:1417:7801::/32": "20940", - "2001:67c:1370::/48": "29203", - "2001:49f0:d0e6::/48": "30058", - "2404:2380::/32": "135025", - "2405:7f00:8b00::/35": "133414", - "240a:a205::/32": "143167", - "240a:ae4d::/32": "146311", - "240e:e1:9900::/38": "4811", - "2a00:8640::/30": "203993", - "2a05:ad00::/29": "51395", - "2001:df1:9000::/48": "58820", - "2804:145c:ca10::/37": "263327", - "2804:6638::/32": "269542", - "2a0b:b86:3b::/48": "51992", - "2408:8956:2500::/40": "17816", - "2409:8c34:800::/37": "9808", - "240e:974:e700::/40": "4134", - "2804:1da0::/32": "264382", - "2804:1808::/32": "52993", - "2001:678:100::/48": "47697", - "2001:df0:213::/48": "17477", - "2803:f340:2000::/32": "14754", - "2a05:d050:a040::/44": "16509", - "240a:a859::/32": "144787", - "2a0d:2c80::/29": "204647", - "2001:1998:8e0::/38": "7843", - "240a:aba4::/32": "145630", - "240e:473:3450::/39": "4134", - "2607:9800:c109::/43": "15085", - "2804:14d:1200::/40": "28573", - "2a00:9d40::/32": "196927", - "2a02:26f7:c7c4::/48": "36183", - "2001:4878:3::/48": "12222", - "2406:aa40::/32": "141383", - "2a02:26f7:db40::/48": "36183", - "2401:1700:11::/44": "55666", - "2408:4009:500::/48": "45102", - "2409:8728:4600::/32": "56041", - "2a00:13fa::/32": "42087", - "2a02:26f7:df41::/46": "20940", - "2a07:59c1:30c9::/43": "140731", - "2001:559:c12f::/48": "33656", - "2001:44b8:2048::/48": "7545", - "2607:fca8:534::/35": "17139", - "2804:bdc::/32": "52866", - "2a10:adc0::/29": "59474", - "2408:8956:6500::/40": "17816", - "2a02:26f0:5801::/39": "20940", - "2401:d800:99b0::/41": "7552", - "2402:800:5ad3::/44": "7552", - "240e:3bd:2800::/38": "4134", - "2806:2f0:8121::/41": "17072", - "2a0d:200:1c::/48": "44000", - "2408:8456:5a40::/39": "17816", - "240a:a031::/32": "142699", - "2a00:cc40:1::/46": "8932", - "2a02:288::/32": "16300", - "2a02:26f7:e511::/46": "20940", - "2a11:3c00::/29": "43624", - "2803:6200::/32": "262237", - "2001:67c:195c::/48": "29117", - "2001:4b26:0:100::/31": "34288", - "2402:6640:fcf::/32": "134995", - "2402:8100:20ee::/43": "55644", - "2408:8459:e030::/41": "17622", - "2620:32:4000::/48": "395956", - "2800:160:1c3a::/41": "14259", - "2804:1ccc::/32": "61676", - "2804:4360::/32": "267566", - "2a04:6e80:1::/46": "174", - "2a04:ff00:101::/48": "207616", - "2001:67c:20a0::/47": "50472", - "2001:44b8:2053::/48": "4739", - "240a:ad35::/32": "146031", - "2600:1406:7c00::/48": "35994", - "2607:c00::/32": "3801", - "240a:a878::/32": "144818", - "2602:ff1b::/36": "49981", - "2800:160:2735::/36": "14259", - "2a0f:a302:1000::/40": "212503", - "2001:400:14:3::/38": "293", - "2402:800:be70::/39": "7552", - "240a:a1a1::/32": "143067", - "2603:c012:a000::/36": "31898", - "2610:20:8020::/44": "40623", - "2804:36a8::/32": "266362", - "2a0e:b280::/29": "208794", - "2403:9800:30::/39": "4648", - "2620:139:5002::/48": "32244", - "2804:6b2c::/32": "270383", - "2a01:600::/32": "25148", - "2001:559:7ab::/48": "33659", - "240e:438:a40::/37": "4134", - "2604:ff00:10::/48": "36271", - "2001:4408:1101::/33": "4758", - "2404:e801:2021::/32": "55430", - "240a:a487::/32": "143809", - "240a:a4d8::/32": "143890", - "2620:d1:8000::/48": "36726", - "2001:16a0::/33": "39386", - "2001:44b8:1060::/45": "7545", - "2409:804c:5d00::/31": "9808", - "2600:1417:a801::/35": "20940", - "2803:3b80:55::/42": "263702", - "2a0e:97c5:410::/46": "20473", - "2806:2f0:6241::/42": "17072", - "2a01:8740:2::/45": "57344", - "2a03:db80:4815::/37": "680", - "2400:d840:1::/48": "13813", - "2804:4c20::/32": "267351", - "2804:5868::/32": "268127", - "2a03:f80:381::/48": "9009", - "2001:fd8:a4::/46": "132199", - "2806:103e:5::/46": "8151", - "2a0e:b107:df3::/45": "141237", - "2401:7500:fff7::/48": "133296", - "2a02:5740:4::/48": "58065", - "2a0e:4ac0::/29": "207902", - "2405:203:89b::/45": "55836", - "2407:ca40:30::/48": "142502", - "240e:108:1102::/44": "4134", - "2600:1488:a501::/42": "20940", - "2a03:6080::/45": "16285", - "2402:4e00:8031::/33": "45090", - "2800:160:12a6::/44": "14259", - "2804:1134::/32": "263665", - "2a00:1148:5::/48": "21051", - "2a01:c50e:cf00::/35": "12479", - "2a02:1022::/32": "13128", - "2400:5200:401::/48": "55410", - "2401:4900:5440::/42": "45609", - "2403:2f00::/32": "24466", - "2600:141b:a000::/48": "35994", - "2a10:2980::/29": "209591", - "2001:780::/33": "12337", - "240e:62:e000::/36": "140310", - "240e:980:8b00::/40": "137695", - "2a01:5040:41::/35": "43996", - "2a01:be00::/32": "197248", - "2001:16a3::/29": "39386", - "2400:dd01:3005::/46": "7497", - "240a:acfa::/32": "145972", - "2001:3a0:f008::/36": "7521", - "2001:67c:10d8::/48": "211501", - "2001:df6:3180::/48": "141988", - "2400:cd00:1038::/41": "38794", - "2001:67c:2980::/48": "196948", - "2406:3c0::/32": "132315", - "2408:840c:1300::/40": "17621", - "2804:68ac::/32": "269708", - "2a02:6600:f001::/29": "5377", - "2a06:3100::/29": "51588", - "2a04:5b80:300::/48": "202265", - "2001:14c0::/32": "8520", - "2402:800:3471::/44": "7552", - "2402:800:7d70::/40": "7552", - "240a:a9b1::/32": "145131", - "2a02:26f7:b6c9::/46": "20940", - "2a02:c1c0::/29": "31655", - "2a03:f80:972::/48": "61102", - "2001:df1:5680::/48": "139378", - "2001:4408:4300::/45": "55824", - "240e:6:d140::/37": "4134", - "2620:104:e000:ad::/64": "13536", - "2620:192::/46": "396367", - "2a01:8840:de::/42": "12041", - "2401:4900:5190::/44": "45609", - "2804:14c:41d2::/42": "28573", - "2804:14d:b200::/40": "28573", - "2a02:26f7:fa00::/48": "36183", - "2a09:b280:ff81::/48": "133846", - "2402:3a80:1c88::/43": "38266", - "2600:9000:10e8::/43": "16509", - "2604:d0c0:ecc1::/46": "396871", - "2803:ac10::/32": "271876", - "2804:1ee8::/32": "264453", - "2405:84c0:ff10::/47": "9886", - "2402:3a80:1c00::/42": "38266", - "240e:7:5000::/37": "134420", - "2a00:1ca8:89::/48": "204963", - "2a09:8180::/30": "3320", - "2800:484:5e00::/39": "14080", - "2803:8240::/47": "52511", - "2a00:f440:b::/48": "48347", - "2001:559:75e::/48": "33657", - "2001:df5:9480::/48": "136360", - "2404:af80:10::/47": "38026", - "240a:a426::/32": "143712", - "240a:aa2c::/32": "145254", - "2620:136:d000::/48": "54710", - "2806:21a::/48": "32098", - "2a06:5700::/29": "203020", - "2001:559:272::/47": "33287", - "2001:559:84a0::/46": "33660", - "2001:678:e7c::/48": "49677", - "240a:a56f::/32": "144041", - "240e:3bb:5600::/34": "4134", - "2800:440:9000::/42": "27738", - "2803:9400::/32": "27839", - "2a0a:eb40::/29": "47796", - "2c0f:f598::/47": "327813", - "2001:67c:1b6c::/48": "8767", - "2001:4878:4136::/48": "12222", - "2602:feb4:220::/44": "25961", - "2a00:e26::/32": "25048", - "2a05:f340::/29": "41827", - "2804:5158::/32": "268446", - "2a02:26f7:f6ea::/45": "20940", - "2c0f:f488::/32": "37363", - "240a:adc4::/32": "146174", - "2620:12c:9030::/47": "395359", - "2804:7ad0::/32": "271393", - "2a03:7203:ccd1::/35": "42322", - "2a01:9700:1710::/47": "8376", - "240a:a4ee::/32": "143912", - "2607:f020::/40": "40289", - "2804:1cf8::/32": "61686", - "2001:1248:8470::/45": "11172", - "2001:4388::/32": "8452", - "2408:8456:9210::/42": "134543", - "2804:19ac::/32": "61811", - "2a01:4a60::/32": "6768", - "2a02:2548::/32": "48822", - "2a0d:187::/32": "43203", - "2804:4580:503::/38": "266931", - "2804:5e08::/39": "269007", - "2408:84f3:dc40::/38": "17816", - "2607:6b80:63::/45": "46562", - "2804:e28:c0::/42": "52547", - "2c0f:f158::/32": "328220", - "2001:470:e8::/47": "6939", - "2001:67c:18e8::/48": "49855", - "2801:18:1800::/48": "262186", - "2801:1a2:6::/48": "269845", - "2a01:c50f:cb40::/35": "12479", - "2001:559:39c::/48": "7922", - "2402:e380:30c::/48": "138351", - "2407:0:0:3d::/64": "36040", - "2407:a600:a000::/36": "18004", - "2800:160:185b::/45": "14259", - "2a02:26f7:e948::/48": "36183", - "2001:1248:596d::/40": "11172", - "2408:8024:8000::/30": "17621", - "2804:425c::/32": "267495", - "2a02:26f7:ed85::/46": "20940", - "2606:3c00::/32": "36273", - "2803:b300::/32": "52455", - "2001:678:f::/43": "25192", - "240e:44d:2c80::/41": "4134", - "2620:106:f000::/47": "22964", - "2a03:f8c0::/32": "201973", - "2a04:5a40::/29": "60311", - "2a0e:7180::/29": "200023", - "2804:6564::/32": "269487", - "2001:579:7f07::/32": "22773", - "2401:ff80:1a05::/44": "133954", - "2607:8b00:2::/47": "36454", - "2803:7200:800c::/47": "27696", - "2a0c:d947::/32": "209877", - "2804:5bd8::/32": "268872", - "2804:7c18::/32": "271475", - "2c0f::/32": "328001", - "2401:1780::/32": "18046", - "2600:370f:3528::/47": "32261", - "2605:6840:101::/38": "398041", - "2a02:5400:828::/48": "33353", - "2a0e:3c80::/29": "208909", - "2604:2600::/32": "46209", - "2804:44c::/32": "262761", - "2804:3900::/33": "266517", - "2a00:6901:1002::/47": "20926", - "2001:559:831c::/48": "7922", - "2403:6a40::/48": "135967", - "2600:6c38:60::/46": "20115", - "2604:2e8b:b800::/33": "30036", - "2604:d680::/48": "29757", - "2605:3c00:99::/48": "47", - "2804:2b00::/32": "265130", - "2a03:5e40::/32": "47110", - "2a0f:3104::/32": "56694", - "2408:8656:2ef9::/45": "17816", - "2408:8a06:100::/47": "9929", - "2605:380:53::/44": "42473", - "2001:4190::/32": "5588", - "2a01:4580::/29": "8426", - "2406:cbc0::/48": "135901", - "2600:6c3a:421::/43": "20115", - "2607:f740:e604::/47": "63911", - "2804:b18:c050::/34": "52941", - "2a00:1ec8:64::/40": "2854", - "2a01:c50e:a400::/36": "12479", - "2402:800:31ee::/43": "7552", - "2404:ec:520::/32": "703", - "2408:8456:f000::/42": "17622", - "240a:a8d2::/32": "144908", - "2804:3540::/32": "266277", - "2806:2f0:9002::/42": "17072", - "240a:a79d::/32": "144599", - "240e:473:5550::/40": "4134", - "2600:1f01:4870::/47": "16509", - "2602:feda:ab2::/48": "141011", - "2a07:22c1:ffe0::/45": "57164", - "2a0a:d580::/32": "60602", - "2620:8b:4000::/48": "36407", - "2804:f18::/32": "263566", - "2a02:d38::/29": "50785", - "2a02:26f7:f90c::/48": "36183", - "2001:fd8:33b0::/44": "4775", - "2001:4408:4d00::/44": "55824", - "2408:8409:7800::/40": "4808", - "240a:a868::/32": "144802", - "2801:80:9e0::/48": "263417", - "2804:6740::/33": "269616", - "2804:70f0::/32": "270757", - "2001:559:7e1::/48": "7725", - "2001:559:c36e::/48": "7015", - "240a:ab23::/32": "145501", - "2a06:6541:1241::/48": "8220", - "2408:8456:e00::/42": "17622", - "2607:9b80:400::/43": "46558", - "2a00:1cc8::/30": "15605", - "2a00:8a60::/29": "47610", - "2a03:5120::/40": "6830", - "2c0f:f4f8::/32": "328471", - "2001:559:167::/48": "33652", - "2401:d800:27d0::/36": "7552", - "2403:ba00:202f::/48": "132651", - "2409:8904:5b70::/40": "24547", - "240a:a472::/32": "143788", - "2a00:ec20::/32": "16236", - "2001:559:80fc::/47": "33657", - "2804:28c::/32": "262822", - "2a07:aa40::/29": "59469", - "2a0b:74c0::/48": "49017", - "2001:468:c81::/42": "40220", - "2001:678:850::/48": "20853", - "2001:67c:300::/48": "39387", - "2404:f4c0:5000::/39": "139248", - "2803:b2c0:2301::/48": "264851", - "2a01:6780:1::/48": "15743", - "240e:980:8300::/40": "4811", - "2600:100d:ff10::/40": "22394", - "2a02:26f7:78::/48": "36183", - "2a11:c500::/29": "42375", - "2001:559:c2e1::/46": "33657", - "2602:fd82::/36": "394728", - "2804:540c::/32": "268625", - "2a01:b6c0::/29": "60213", - "2a03:63e0::/29": "197099", - "2001:dc7:ffc2::/48": "24406", - "2406:6e00:f048::/48": "10310", - "2620:dd::/48": "19764", - "2620:11a:e00e::/48": "22300", - "240e:3b3:8200::/35": "140316", - "2606:ae00:a000::/47": "7287", - "2804:37f0:7100::/32": "266445", - "2401:d800:75c0::/42": "7552", - "2408:84f3:9640::/36": "17816", - "2408:8656:30fc::/46": "17623", - "2602:fed2:7701::/48": "53356", - "2804:2164:d00d::/34": "264552", - "2a00:8120::/32": "41480", - "2a01:74c0:20::/32": "15540", - "2001:559:8716::/48": "7922", - "2403:2c00:c002::/36": "4058", - "2404:4a00:7000::/64": "55423", - "2600:4c00:80::/41": "63410", - "2a0c:2f07:29::/48": "206924", - "2001:67c:1850::/48": "16086", - "2402:7500:faff::/48": "24158", - "2600:1806:420::/48": "16552", - "2804:42a8::/32": "267517", - "2806:230:4015::/48": "11888", - "2a04:ea40::/29": "3331", - "2001:559:3b2::/47": "33660", - "2600:1fa0:e0c0::/44": "16509", - "2801:be::/32": "263610", - "2a0f:2a04::/32": "42692", - "2a10:4a40:4ddc::/48": "31463", - "2409:8904:e270::/40": "24547", - "240a:a2ec::/32": "143398", - "2620:123:d001::/48": "3356", - "2800:4b0:4900::/32": "12252", - "2804:2484:8001::/39": "28258", - "2a0a:1780::/29": "206784", - "2a0b:4340:70::/48": "205618", - "2406:3003:1016::/42": "55430", - "2803:b380::/32": "52444", - "2a02:cb80:1020::/48": "43766", - "2a03:c100::/32": "49808", - "2001:13c7:7005::/44": "30133", - "2408:8459:6a30::/41": "17622", - "240e:10:1000::/32": "4134", - "2602:fcb8::/36": "36289", - "2a00:11c0:76::/48": "42473", - "240a:ab4a::/32": "145540", - "2620:1bc::/35": "7726", - "2804:138::/32": "11432", - "2409:8904:4f60::/35": "24547", - "2600:6c38:70c::/46": "20115", - "2600:9000:1180::/48": "16509", - "2803:c0::/32": "264756", - "2a02:26f7:dbc8::/48": "36183", - "2c0f:e8f8::/32": "328699", - "2001:678:f34::/48": "64396", - "2001:14b0:54::/32": "12374", - "2401:d800:26c0::/39": "7552", - "2605:ed00:4c64::/43": "11427", - "2801:84:2::/32": "263300", - "2001:559:83af::/48": "7922", - "2403:5a40:40::/48": "134562", - "240a:a053::/32": "142733", - "2a04:1580::/29": "200155", - "2a02:26f7:e0c0::/48": "36183", - "2001:648:2012::/40": "5408", - "2403:6c40::/32": "131478", - "2408:8957:4400::/40": "17622", - "2409:8704:3f00::/33": "24547", - "2620:10d:1000::/44": "5719", - "2804:269c:fe01::/46": "47065", - "2804:7c54::/32": "271489", - "2402:800:3a63::/43": "7552", - "2409:8038:900::/35": "9808", - "240e:438:ae20::/43": "140647", - "2804:64a0::/32": "269439", - "2a02:2698:7c00::/38": "52207", - "2a0c:9a40:2100::/38": "34927", - "2409:8087:3021::/40": "9808", - "2606:2800:4209::/48": "14210", - "2620:73:2000::/48": "33491", - "2401:a400:400::/33": "7477", - "2407:3000::/45": "17707", - "2800:160:1acc::/46": "14259", - "2804:12fc::/32": "263508", - "2806:250:17::/44": "28509", - "2001:43f8:20::/48": "36944", - "2602:fd64::/40": "394894", - "2804:1918::/39": "52862", - "2a07:3500:1460::/48": "34108", - "2001:559:83bc::/48": "33287", - "2001:678:378::/48": "57294", - "2401:d800:29b0::/41": "7552", - "240e:3c0::/21": "4134", - "240e:473:fc20::/41": "140486", - "2804:294:4100::/32": "28604", - "2a00:4802:1010::/36": "13124", - "2401:d800:b460::/40": "7552", - "2402:a7c1::/32": "133752", - "2804:4b0c::/32": "267280", - "2a0e:6c00::/29": "63023", - "2620:131:1066::/40": "26450", - "2804:3354::/32": "265389", - "2804:67ac:13::/32": "269643", - "2a07:5c0::/29": "211252", - "2a0a:b40::/29": "208861", - "2a0c:b642:1a02::/48": "13830", - "2001:550:2802::/45": "174", - "2406:2000:ff70::/40": "10310", - "2409:8d61::/30": "9808", - "240a:a60b::/32": "144197", - "2607:4280::/32": "36730", - "2a02:26f7:d78d::/42": "20940", - "2a02:26f7:da10::/48": "36183", - "2a03:b2c5::/32": "213291", - "2001:559:370::/48": "7015", - "2001:559:c11b::/48": "33651", - "2402:800:7150::/42": "7552", - "240e:473:7320::/41": "140486", - "2610:68:8000::/33": "5774", - "2804:3160::/46": "265010", - "2a00:1b00::/48": "47862", - "2001:1248:a4de::/42": "11172", - "2400:8400::/32": "18085", - "240e:44d:2800::/41": "140345", - "2602:feb4:70::/44": "25961", - "2803:f0e0::/32": "269864", - "2804:3c80::/32": "266216", - "2001:559:7aa::/48": "33657", - "2001:1248:9658::/47": "11172", - "2409:4056:3000::/26": "55836", - "240a:a8ed::/32": "144935", - "2a00:4300::/32": "44611", - "2a01:8c8::/32": "3329", - "2a02:2658:3000::/32": "20860", - "2001:df0:c8::/48": "139612", - "2001:559:756::/47": "7922", - "2405:a900:ffee::/48": "55992", - "240a:a0e2::/32": "142876", - "2602:fe09::/36": "397072", - "2604:d8c0::/32": "46280", - "2a00:da8::/32": "34086", - "2a02:2668:6700::/35": "16345", - "2001:df1:f180::/48": "139771", - "2a00:7420:8000::/33": "208693", - "2001:550:405::/44": "174", - "2001:559:c1d1::/48": "395676", - "2001:1248:98dc::/46": "11172", - "2001:18c8::/39": "8015", - "2620:3d:c000::/48": "22512", - "2804:14d:1031::/40": "28573", - "2a0b:b583::/48": "208175", - "2400:cb00:2049::/48": "13335", - "240a:ae6f::/32": "146345", - "2620:119:50d2::/48": "13443", - "2a00:1358:c101::/35": "6866", - "2a0d:3ec0::/32": "49981", - "2401:d800:de0::/38": "7552", - "2800:5d0:214::/36": "52302", - "2a01:690::/29": "16326", - "2a0c:5000::/30": "60502", - "240a:a80c::/32": "144710", - "240e:981:1000::/40": "137698", - "2a03:d000:9004::/46": "29648", - "2c0f:f918:530::/38": "37002", - "2001:678:ff8::/48": "207812", - "2401:d800:100::/42": "7552", - "2409:4014:3000::/26": "55836", - "240e:965:ca00::/39": "133776", - "2603:c0f9:4000::/36": "20054", - "2606:2800:420c::/48": "14210", - "2001:16a2:4032::/39": "39386", - "2804:5d9c::/32": "268982", - "240e:1::/37": "17897", - "2605:6300::/32": "27026", - "2605:a401:8501::/40": "33363", - "2605:ef80:6::/43": "36492", - "2804:471c::/32": "267032", - "2a02:45c0:16::/47": "3209", - "2001:1938:2105::/48": "33438", - "2a00:1b50::/47": "8343", - "2a01:488:bb0e::/33": "20773", - "2804:68f8::/32": "270240", - "2806:2f0:3421::/46": "17072", - "2001:480:121::/41": "668", - "2001:13e0::/32": "262178", - "240a:a537::/32": "143985", - "2804:14d:1400::/40": "28573", - "2a00:a8e0:101::/48": "8767", - "2001:67c:2fb4::/48": "200826", - "2403:e100:1001::/32": "58601", - "2a00:17f0::/32": "33808", - "2a02:d80::/32": "12778", - "2a02:e340::/29": "50304", - "2001:fd8:e1::/46": "4775", - "2604:b180::/44": "11192", - "2a06:f900:4000::/36": "56630", - "2408:84f3:4640::/36": "17816", - "2a07:5cc2::/29": "3399", - "2001:579:804::/42": "22773", - "2408:841a::/29": "4837", - "2605:640f:18fc::/48": "53667", - "2804:1e70:8000::/33": "264429", - "2804:75e0::/32": "271075", - "2a01:aea0:dd2::/48": "42473", - "2a03:cf80::/32": "31484", - "2408:8226::/32": "4837", - "2804:6a48::/32": "270324", - "2a0e:b107:88f::/48": "212793", - "240a:a54d::/32": "144007", - "2606:7980::/32": "54182", - "2a02:26f7:e440::/48": "36183", - "2a09:3cc0::/29": "204326", - "2a0f:1e40::/32": "58055", - "2001:559:86ab::/45": "7922", - "2408:8256:32a0::/39": "17816", - "2803:c40::/32": "33182", - "2a09:bac0:134::/44": "13335", - "2a0b:b87:ffa4::/48": "212332", - "2a02:26f0:2101::/40": "20940", - "2a0e:cf40::/29": "8823", - "2a0f:55c7:ffff::/48": "48749", - "2400:c700:a001::/35": "55644", - "2401:ff80:1201::/46": "133954", - "2401:ff80:1691::/46": "133954", - "2a02:2870:8000::/33": "60781", - "2a0a:e5c3::/32": "207996", - "2001:320:4002:1001::/50": "1237", - "2402:1200:156::/32": "24523", - "2620:0:f00::/47": "6431", - "2a02:e30:f00c::/48": "51636", - "240a:aa32::/32": "145260", - "2804:789c::/32": "271254", - "2a02:26e8::/32": "51155", - "2a03:4bc0:3133::/48": "13214", - "240e:978::/40": "137702", - "2604:4300:f1d::/46": "33387", - "2804:4b70::/32": "267306", - "2a0b:b87:ffbd::/48": "398355", - "240a:add4::/32": "146190", - "2620:10a:80ec::/48": "394354", - "2001:4d0:6318::/48": "10343", - "2606:18c0:1::/48": "42831", - "2a02:e58::/46": "209523", - "2a05:25c0::/36": "51254", - "2404:7e80:1000::/36": "132717", - "240a:a034::/32": "142702", - "2a02:26f7:e341::/46": "20940", - "2001:559:8611::/46": "7922", - "2600:1a0e:7be::/48": "10307", - "240a:a553::/32": "144013", - "2804:5b28::/32": "268822", - "2600:2700::/28": "81", - "2804:1e20:19::/48": "264409", - "2804:2324::/32": "262883", - "2a01:800::/31": "12430", - "2600:2000:1000::/46": "33517", - "2605:b81::/32": "395378", - "2605:a401:80be::/41": "33363", - "2620:1f:8006::/48": "10908", - "2a04:4e40:fe10::/44": "54113", - "2001:df0:2ea::/48": "38605", - "2600:1402:3801::/37": "20940", - "2001:67c:2b14::/48": "29107", - "2804:5468::/32": "268648", - "2a04:4e40:6020::/44": "54113", - "2a0e:8f02:f017::/48": "212112", - "2001:559:c280::/47": "7015", - "2405:b40:38::/41": "55674", - "240a:a1af::/32": "143081", - "2604:f040::/32": "395927", - "2804:5e30::/32": "269017", - "2a01:7d20:7d20::/47": "203645", - "2a0a:1e40::/32": "51300", - "2001:579:8d9::/42": "22773", - "2402:1c00:d000::/34": "23838", - "2407:3a40::/32": "58411", - "2600:1003:b1d0::/44": "6167", - "2600:140f:401::/39": "20940", - "2a02:1200::/27": "3303", - "240a:aecf::/32": "146441", - "240e:95:8001::/48": "58542", - "2610:20:1036::/40": "10616", - "2804:fac:8000::/33": "263598", - "2804:7648::/32": "271101", - "2a00:7a60::/32": "200000", - "2a01:8480:2005::/32": "15704", - "2a03:f80:44::/48": "39326", - "2a0b:4f40::/48": "197473", - "2a0e:b107:1030::/48": "213045", - "240e:b6::/36": "58563", - "2804:111c:2::/45": "52818", - "2804:65dc::/32": "269519", - "2a0c:6cc0::/29": "203082", - "240e:423::/32": "140061", - "2801:80:8f0::/48": "61903", - "2a02:430::/32": "12941", - "2405:5740:1::/45": "138277", - "2604:880:64::/47": "29802", - "2804:10a0:e0::/38": "28173", - "2a04:4e40:4c40::/44": "54113", - "2401:4900:3af0::/48": "45609", - "2403:1cc0:1301::/48": "45352", - "2409:8928::/31": "56041", - "240a:a721::/32": "144475", - "2600:6c30::/32": "20115", - "2620:10c:2000::/48": "40931", - "2a03:47c0:2281::/37": "21277", - "2001:b08:e::/48": "9111", - "2001:4868:225::/40": "23148", - "2001:4878:48::/48": "12222", - "2407:7c0:9422::/48": "9422", - "2a04:4e40:7410::/44": "54113", - "2001:dce:5201::/40": "23869", - "2401:d800:df00::/42": "7552", - "2405:1c0:6417::/42": "55303", - "240a:ac87::/32": "145857", - "240e:37b:ac00::/29": "4134", - "2804:2e3c::/32": "265334", - "2804:3ed4::/47": "266623", - "2a01:45c0::/32": "58208", - "2001:500:61::/48": "33080", - "2401:a140:2::/48": "59048", - "2610:b0:c100::/42": "701", - "2804:4678::/32": "266991", - "2a00:11c0:3e::/48": "42473", - "2a02:4780:dead::/48": "204915", - "2a00:5020::/48": "60781", - "2001:559:c37d::/48": "33651", - "2001:67c:170c::/48": "60829", - "2001:df7:5100::/48": "4826", - "2001:1a11:118::/48": "8781", - "240a:a27d::/32": "143287", - "2604:4300:c006::/44": "33387", - "2804:504c:6000::/32": "268380", - "2a04:f800::/29": "201776", - "2605:cb80::/32": "17210", - "2804:64b8:4000::/34": "269444", - "2405:400::/32": "24439", - "2803:3a00:800::/35": "262206", - "2804:18:4808::/42": "26599", - "2804:22c::/46": "22689", - "2806:230:6005::/48": "11888", - "2806:3d0::/32": "265601", - "2001:559:826d::/48": "33287", - "240e:804:3a0::/30": "4134", - "2604:6040:40::/48": "53698", - "2800:200:bd10::/42": "12252", - "2a07:a343:e0f0::/44": "9009", - "2a09:87c0::/48": "59497", - "2001:559:8604::/48": "33287", - "2001:df0:fe::/48": "56098", - "2401:bc40:a300::/40": "136899", - "2406:a00::/32": "4694", - "2405:4802:3190::/42": "18403", - "240a:a979::/32": "145075", - "2a00:5881:4000::/40": "51083", - "2a02:26f7:82::/48": "36183", - "2a03:5700::/32": "5524", - "2a0a:ed40::/29": "8881", - "2804:6118::/32": "269212", - "2a06:e044:10::/48": "198507", - "2001:4370::/32": "36915", - "2404:bf40:f080::/48": "2764", - "240e:473:a320::/41": "140486", - "2602:ff84::/48": "13213", - "2620:b3:4000::/48": "62611", - "2804:45b8::/32": "266945", - "2a01:40e0:3::/32": "8315", - "2a0e:a1c0::/29": "206576", - "2001:550:1205::/46": "174", - "2001:559:724::/48": "33657", - "2001:b400:d208::/45": "17421", - "240a:a7f2::/32": "144684", - "2602:fe6a:f::/48": "60781", - "2607:8700:102::/48": "25820", - "2607:fdf0:5eef::/43": "8008", - "2001:978:3400::/48": "9009", - "2a00:4c00:3::/45": "15632", - "2a02:26f7:e049::/46": "20940", - "2001:559:8274::/48": "33660", - "2400:fc00:8130::/41": "45773", - "2406:f680::/47": "132298", - "2605:b100:1600::/40": "577", - "2620:11f:b003::/45": "394514", - "2800:1e0::/47": "7195", - "2804:d64::/32": "52617", - "2401:d800:d650::/42": "7552", - "2408:8762::/29": "4837", - "2a02:26f7:ca45::/46": "20940", - "2a04:c147::/32": "60786", - "2407:c8c0::/32": "134026", - "240a:a2cc::/32": "143366", - "2a02:26f7:ef84::/48": "36183", - "2a03:4d40::/31": "199610", - "2402:ab00::/40": "24206", - "2804:5454::/32": "268643", - "2a01:5a8:2::/45": "8866", - "2001:559:80d5::/48": "33652", - "2800:bf0:40::/43": "27947", - "2a00:dd00:7::/32": "212573", - "2a05:b680::/48": "33823", - "240e:3b0:d000::/36": "134772", - "2804:998::/47": "28589", - "2a04:3e00:1000::/48": "50311", - "2a0b:d700::/29": "39676", - "2a0f:9400:802b::/48": "53356", - "2a0f:cdc0::/31": "34535", - "2001:559:538::/48": "33659", - "2001:648:2422::/40": "5408", - "2620:0:a12::/47": "71", - "2804:65a8::/32": "269506", - "2a03:4d41:310::/37": "199610", - "2a05:d050:2080::/44": "16509", - "2a06:e881:112::/48": "205897", - "2600:100a:9000::/44": "6167", - "2620:74:1c::/48": "397237", - "2a06:9500:11::/29": "204028", - "2001:428:4803::/48": "19603", - "240e:940:8f00::/33": "4134", - "2607:f7a8:1636::/48": "46887", - "2401:d800:b390::/42": "7552", - "2620:17b:5::/48": "209", - "2803:a100::/32": "262213", - "2804:53f8::/32": "268619", - "2a02:26f7:bc89::/42": "20940", - "2001:56a:10::/31": "852", - "2402:800:b860::/40": "7552", - "2408:8459:8230::/41": "17622", - "240e:5f:6002::/48": "134772", - "240e:438:420::/43": "140647", - "2804:542c:8000::/35": "268633", - "2a0e:a840::/48": "208440", - "2a0e:b107:5d0::/38": "20473", - "2001:df2:8200::/47": "135551", - "2001:1388:49c2::/35": "6147", - "2607:f330:2002::/47": "25996", - "2804:6c0:300::/43": "262418", - "2804:3cec::/32": "266242", - "2a00:ad44:3084::/48": "199875", - "2a0a:e200:1910::/48": "199156", - "2804:6c4::/36": "262893", - "2001:468:1202::/48": "20130", - "2405:d980::/32": "23703", - "2804:35c8::/32": "266306", - "2804:3bb0::/32": "266165", - "2a00:d5c0::/29": "196890", - "2001:559:101::/48": "33491", - "2001:df0:f400::/47": "133657", - "2409:8d01::/32": "9808", - "2600:803:619::/42": "701", - "2603:c002:9a00::/42": "31898", - "2a00:c980::/29": "52148", - "2001:1218::/33": "278", - "2401:ff80:1985::/44": "133954", - "2403:4c0::/33": "17639", - "240e:37d:2600::/32": "4134", - "2600:100f:b1d0::/44": "6167", - "2607:fee0:4100::/32": "3599", - "2800:484:d00::/40": "14080", - "2a0f:85c1:30::/47": "206628", - "2605:2fc0:1000::/39": "31984", - "2001:559:c0dd::/46": "7922", - "2604:d801::/32": "36372", - "2605:3600:1a::/48": "20034", - "2a02:26f7:df89::/46": "20940", - "2001:1248:880c::/43": "11172", - "2401:f000:2:200::/56": "23838", - "2402:e280:213f::/41": "134674", - "2408:84f3:d840::/37": "17816", - "240a:aa98::/32": "145362", - "2620:121:a000::/44": "6082", - "2a00:1ca8:56::/48": "211623", - "2a05:3580:de00::/39": "35807", - "2001:559:5dc::/48": "7922", - "2400:b080::/47": "134618", - "2804:c90:4200::/32": "28198", - "2a02:26f7:ef48::/48": "36183", - "2a0a:54c1:12::/45": "62240", - "2a10:cc44:201::/48": "211522", - "2403:d500::/32": "132029", - "2803:7ca0::/32": "262213", - "2a02:26f7:e708::/48": "36183", - "2001:1878:810::/38": "226", - "2403:8300:8282::/48": "24442", - "2405:6600:704::/44": "45845", - "2600:100d:b100::/42": "6167", - "2804:3b8:1fb::/45": "52965", - "2001:559:c07e::/47": "7922", - "2a03:7fc0::/32": "35717", - "2a05:3580:e000::/38": "35807", - "2001:559:8489::/48": "33287", - "2001:559:8589::/46": "7922", - "2408:8474::/28": "4837", - "2600:140f:5c01::/38": "20940", - "2804:4264::/32": "267497", - "2804:7a40::/32": "271358", - "2406:da70:e000::/40": "16509", - "2804:14c:4e5::/44": "28573", - "2001:67c:1734::/48": "60805", - "2401:4900:3760::/44": "45609", - "2800:68:16::/48": "27947", - "2001:559:193::/48": "33659", - "240a:a534::/32": "143982", - "2605:4300:1213::/40": "22616", - "2803:e880:bff1::/33": "52468", - "2804:358c::/32": "266293", - "2a02:2e02:8530::/41": "12479", - "2a07:7180::/29": "42148", - "2620:134:6000::/46": "30031", - "2001:7fb:fe14::/48": "12654", - "2401:d800:7100::/42": "7552", - "2402:800:f5a0::/41": "7552", - "2409:8750:f00::/35": "56047", - "240a:a0b9::/32": "142835", - "240e:378:ac00::/31": "4134", - "2607:fb91:1500::/33": "21928", - "2a00:1358:df01::/34": "6866", - "2a01:8840:59::/48": "207266", - "2a02:cd8::/32": "42760", - "240e:965:c400::/39": "133775", - "2606:1a40:2000::/44": "398962", - "2a01:be80::/32": "51401", - "2a0a:90c0:1011::/41": "205080", - "2403:300:a0a::/48": "6185", - "2602:ffb7:594::/48": "62874", - "2a02:2398::/47": "9166", - "2001:559:7d7::/48": "33654", - "2406:f680:7101::/32": "132298", - "2a02:3f0::/32": "9189", - "2a02:21b0::/30": "57370", - "2001:67c:10b4::/48": "34891", - "2804:3b0:8306::/44": "53062", - "2a03:2880:f25f::/42": "32934", - "2a0a:7bc7::/32": "44066", - "2001:559:8496::/48": "33667", - "2001:6a0::/34": "8664", - "2001:df4:ce80::/48": "141166", - "240a:a870::/32": "144810", - "2602:ff80::/36": "16545", - "2800:b40:10::/48": "262220", - "2a01:8340:200::/32": "59410", - "2a0c:3c00::/29": "204596", - "240a:a003::/32": "142653", - "240a:a9be::/32": "145144", - "2604:880:3a7::/48": "13820", - "2800:810:107::/28": "27747", - "2a02:2e02:8fb0::/41": "12479", - "2401:8800::/46": "17439", - "240a:ab06::/32": "145472", - "2803:500::/32": "262168", - "2a02:26f7:d6cc::/48": "36183", - "2a10:cc47:100::/40": "39282", - "2402:800:9a1d::/42": "7552", - "2402:8100:20da::/45": "55644", - "2620:1b2::/36": "26673", - "2a0e:c780::/29": "60781", - "240a:ae41::/32": "146299", - "2001:c20:488b::/45": "9255", - "2c0f:f530:20::/44": "61138", - "2001:559:542::/48": "22909", - "2804:32b0::/34": "265093", - "2408:80ea:7780::/43": "17623", - "2a02:26f7:c485::/46": "20940", - "2a0a:2306:e000::/46": "20853", - "2a0c:bf80::/48": "61295", - "240a:a65e::/32": "144280", - "2604:7640::/32": "393796", - "2a01:8020::/32": "199800", - "2001:559:8510::/48": "33657", - "2001:df7:400::/48": "134753", - "2408:8256:3061::/40": "17623", - "240a:a148::/32": "142978", - "2605:c2c0::/32": "398490", - "2a10:b641::/36": "211607", - "2a0f:9405::/32": "40676", - "2001:4c08::/34": "3356", - "240e:438:3e40::/33": "4134", - "240e:473:8550::/40": "4134", - "2600:1415:2801::/37": "20940", - "2605:3040::/32": "12183", - "2a07:4c0::/29": "42306", - "2001:57a:8028::/41": "22773", - "2a0c:29c1::/32": "56465", - "2001:559:8579::/48": "33491", - "2409:8c1e:c340::/31": "9808", - "2a00:e90::/32": "8400", - "2a02:26f7:bd09::/46": "20940", - "2a02:6900:8824::/48": "43898", - "2a02:c840::/29": "8607", - "2a0e:b107:de0::/48": "212580", - "2001:550:a13::/39": "174", - "2605:ea00:1::/48": "26388", - "2402:ef05:1::/28": "7633", - "240a:a7fd::/32": "144695", - "2804:a48::/32": "263084", - "2400:9380:9280::/46": "4809", - "2600:9000:223c::/41": "16509", - "2602:fda8::/36": "397925", - "2804:2f40:f005::/44": "264880", - "2804:4c14:cb01::/35": "267348", - "2001:559:74c::/48": "7922", - "2402:d400:fa30::/37": "17762", - "2404:1fc0:1105::/32": "133217", - "2408:8956:2400::/40": "17622", - "240e:473:2550::/40": "4134", - "2600::/47": "1239", - "2001:559:59f::/48": "33659", - "2001:67c:204c::/48": "34816", - "240a:a31f::/32": "143449", - "240a:afbc::/32": "146678", - "2602:fff9:fff::/48": "54839", - "2804:1874::/32": "61934", - "2806:10c0:ffff::/48": "8151", - "2800:300:9020::/33": "27986", - "2001:c80::/40": "4673", - "2404:a00::/32": "18121", - "2406:840:f895::/46": "212034", - "240a:aff2::/32": "146732", - "2603:803d::/32": "20001", - "2607:f148:6002::/36": "11734", - "2800:160:1caf::/43": "14259", - "2a01:8840:f6::/48": "12041", - "2001:559:83ae::/48": "7015", - "2401:5ac0::/32": "131923", - "240a:a428::/32": "143714", - "2607:f778:c100::/38": "32035", - "2804:5fdc:2000::/32": "269128", - "2001:579:8d4::/44": "22773", - "2407:c080:1800::/37": "58519", - "2408:8957:1700::/40": "17816", - "2804:14a4::/32": "263341", - "2408:8256:196::/38": "17622", - "2408:8459:9030::/41": "17622", - "240e:3b2:dc00::/34": "4134", - "2603:f3e0::/29": "262287", - "2a0a:b706:9992::/47": "204363", - "2a0b:f4c1:2::/48": "60729", - "2a0d:2640::/29": "60501", - "2001:559:84d0::/48": "7725", - "2404:0:87ff:100::/36": "131591", - "2408:8756:d000::/40": "134543", - "2803:33a0::/32": "52471", - "2a03:7380:6400::/42": "13188", - "2a04:b904::/48": "211321", - "2a07:3502:1130::/48": "33915", - "2001:df5:de00::/48": "133680", - "2604:6940:100::/32": "11006", - "2a02:2f0c:8002:3::4/61": "8708", - "2402:f300::/32": "132125", - "2405:3240::/36": "132434", - "2409:8087:400::/40": "24547", - "2806:2f0:6081::/42": "17072", - "2a00:df0::/32": "28717", - "2a01:8840:be::/41": "12041", - "2001:500:a8::/48": "21556", - "2405:55c0::/42": "63991", - "2407:4cc0::/32": "134905", - "240a:a28b::/32": "143301", - "2600:1016:9010::/41": "6167", - "2804:2d2c:fa00::/39": "52971", - "2804:32b0:f302::/36": "265093", - "240a:ada1::/32": "146139", - "2c0f:ef08::/32": "20459", - "2600:3500::/32": "396998", - "2620:119:4043::/48": "7726", - "2803:980:800::/38": "263248", - "2a0d:4d40::/44": "50630", - "2001:559:813f::/48": "20214", - "2408:8256:2d8b::/48": "17623", - "240a:a07e::/32": "142776", - "240a:a36a::/32": "143524", - "2605:a140::/30": "40021", - "2800:440:1a00::/42": "27738", - "2a0a:dc80::/29": "206597", - "2402:800:f3b0::/41": "7552", - "2606:f180:7::/48": "3356", - "2600:140b:a01::/39": "20940", - "2804:1168::/35": "52904", - "2804:8138::/32": "272440", - "2a03:f880::/32": "211700", - "2001:4c0:2::/33": "855", - "2001:678:718::/48": "786", - "2804:6d80::/32": "270537", - "2a01:8840:f9::/48": "207266", - "2001:1248:9a0d::/42": "11172", - "240e:60c:fc00::/27": "4134", - "2610:130:1900::/37": "6122", - "2a02:26f7:c9c1::/46": "20940", - "2a0b:8540::/29": "205572", - "2001:678:2d8::/48": "39285", - "2600:9000:1128::/46": "16509", - "2400:7800::/32": "4713", - "2407:880::/32": "4594", - "240a:a20d::/32": "143175", - "2606:2ec0::/32": "399356", - "2a00:1450::/33": "15169", - "2001:559:c33f::/48": "33660", - "2001:df0:270::/48": "9836", - "2403:4d00::/32": "55785", - "2a10:80c0::/35": "211331", - "2a10:d2c0::/32": "198288", - "2001:559:40a::/48": "21508", - "2607:b580:15::/46": "19754", - "2804:4448::/32": "267622", - "2a05:b0c0::/48": "198412", - "2804:72b8::/32": "270871", - "240e:6b1::/35": "134774", - "2605:b540::/32": "15353", - "2605:c700::/32": "819", - "2c0f:f8e0::/32": "37100", - "2001:559:196::/48": "7016", - "240a:aa12::/32": "145228", - "240a:af21::/32": "146523", - "240e:44d:180::/41": "4134", - "2605:e780::/32": "11142", - "2a0a:56c4::/48": "42649", - "2a01:b740:a00::/48": "6185", - "2602:801:c000::/47": "2639", - "2604:f80::/46": "22458", - "2605:ed80::/32": "20303", - "2607:f9a8::/32": "2685", - "2800:310::/47": "18678", - "2804:1cac::/32": "61668", - "2804:26e8::/32": "262573", - "2a03:380::/32": "13250", - "2a03:4b22::/32": "39835", - "2a0d:5600:1::/44": "9009", - "2a10:8a40:1254::/32": "39405", - "2600:1406:fc01::/31": "20940", - "2608:c143:1::/48": "27066", - "2001:410:8003::/48": "549", - "2404:d0:b::/32": "6648", - "2a02:26f7:cfc4::/48": "36183", - "2a0f:cc80::/29": "208861", - "2001:13b0:d002::/48": "23031", - "2001:1608::/32": "31400", - "240a:a46b::/32": "143781", - "2600:6c34:309::/46": "33588", - "2804:4b18::/32": "267283", - "2408:8656:3900::/38": "17816", - "2804:3008::/32": "264927", - "2a02:e640::/29": "199571", - "2405:8a00:8000::/48": "55847", - "2408:8459:3a30::/44": "17623", - "2600:1002:b0e0::/43": "22394", - "2804:106c::/32": "263635", - "2a04:e00:2::/48": "3257", - "2a07:59c6:eed9::/42": "56382", - "2a0d:7740::/29": "208861", - "2607:fbe8::/32": "7055", - "2800:310:407::/36": "18678", - "2a00:4f40::/32": "29104", - "2a02:1770::/33": "8865", - "2a02:ee80:4176::/47": "2856", - "2001:559:1b7::/48": "7922", - "2806:105e:f::/43": "8151", - "2a10:cc46:100::/44": "58057", - "240e:965:8c00::/35": "4134", - "2606:a500::/32": "10653", - "2607:3580::/32": "33452", - "2804:5a2c::/32": "268753", - "2001:1248:57cd::/46": "11172", - "2001:14f8::/32": "12502", - "2409:8907:7920::/38": "24547", - "2800:160:1abf::/41": "14259", - "2804:1b64::/32": "61725", - "2804:2d48::/32": "265271", - "2a03:b780::/32": "29134", - "2600:1419:601::/36": "20940", - "2a02:ad0::/29": "61157", - "2001:df1:3380::/48": "139600", - "2405:d440::/39": "58813", - "240a:a280::/32": "143290", - "2806:2f0:1061::/46": "17072", - "2402:800:ba70::/40": "7552", - "2a03:6947:1800::/40": "28952", - "2806:2f0:2120::/48": "17072", - "2001:559:86b6::/48": "33660", - "2001:559:c38c::/48": "7016", - "2001:af8::/32": "5385", - "2400:3dc0:701::/32": "134371", - "2600:1408:f801::/31": "20940", - "2602:fd40:ca1::/48": "14618", - "2804:746c::/32": "270980", - "2a02:26f0:2901::/38": "20940", - "2a02:26f7:dac8::/48": "36183", - "2001:559:c16b::/48": "33491", - "2401:d800:d6b0::/41": "7552", - "2402:b400:4090::/41": "45960", - "2a02:26f7:b994::/48": "36183", - "2a03:7203:d100::/34": "42322", - "2001:559:8b::/45": "33667", - "2001:67c:18c::/48": "47682", - "2001:67c:444::/48": "6730", - "2001:4220:800d::/33": "24835", - "2400:10c0:c000::/34": "136007", - "2a05:7640:2100::/41": "174", - "2a0b:2d83::/32": "49542", - "2001:df7:4100::/48": "137621", - "240a:ab63::/32": "145565", - "2a00:1fb0::/29": "34660", - "2a10:2f01:380::/42": "39526", - "2001:4490:4874::/46": "9829", - "2a06:afc0:2::/48": "41011", - "2400:a980:6000::/40": "133512", - "240e:1f:1000::/33": "4134", - "240e:473:e50::/39": "4134", - "2a01:8e20::/32": "12843", - "2a02:26f7:ded0::/48": "36183", - "2403:fdc0:e000::/36": "138460", - "2a00:5580::/29": "5564", - "2001:559:704::/48": "7922", - "2001:1248:5b75::/44": "11172", - "2405:4802:14d0::/34": "18403", - "2804:14d:ba84::/46": "28573", - "2a02:888:400:401::/32": "47794", - "2a03:2460::/32": "59908", - "2a0b:efc0:401::/32": "60893", - "2001:559:108::/48": "33660", - "2a02:26f0:ab::/45": "20940", - "2a02:26f7:c245::/46": "20940", - "2a02:6c00:f00b::/36": "44971", - "2a09:de40::/32": "209198", - "2607:fdc8:400::/48": "30036", - "2001:559:155::/48": "33652", - "2001:559:8069::/48": "7015", - "2408:8957:da00::/40": "17622", - "2607:da00:801::/48": "26793", - "2a00:1620::/32": "137", - "2001:5b0:24f4::/36": "6621", - "2405:d300:400::/48": "38809", - "2806:230:2047::/48": "11888", - "2a02:26f7:b84d::/46": "20940", - "2a07:3506:4c::/48": "29311", - "2001:559:81bf::/48": "21508", - "2401:c300::/32": "55353", - "2600:1405:2801::/35": "20940", - "2620:101:200b::/45": "16417", - "2804:2038::/32": "264478", - "2806:230:2007::/48": "11888", - "2a0e:b107:147a::/48": "142164", - "2804:4bfc::/32": "267341", - "2a00:1d50:4::/32": "47605", - "2a0b:b500:f801::/31": "60764", - "2001:67c:e0::/48": "197000", - "2401:ff80:1701::/45": "133954", - "2600:6c38:b5a::/47": "20115", - "2620:111:103d::/48": "18469", - "2803:cb40::/32": "16906", - "2001:559:8281::/48": "33665", - "2001:559:863e::/48": "7922", - "2408:8256:378c::/43": "17623", - "2605:dd00::/32": "231", - "2a00:9060::/32": "8778", - "2a02:ff0:1400::/40": "12735", - "2001:67c:210::/48": "51066", - "2401:ff80:1105::/44": "133954", - "2a06:41c0:6::/44": "51559", - "2409:801f:3000::/46": "9808", - "2803:5440:face::/48": "264738", - "2804:4510::/32": "267670", - "2a01:5560::/32": "44128", - "2a03:2887:ff25::/48": "63293", - "2a09:4ec0::/48": "47447", - "240e:3b3:2c00::/35": "134774", - "2804:fb0::/32": "262841", - "2804:119c::/32": "263427", - "2804:120c::/32": "263453", - "2804:2c58:1110::/38": "265211", - "2a0c:e2c0::/29": "62275", - "2a0e:97c5:484::/46": "20473", - "2001:1938:4008::/48": "26769", - "2600:1402:c01::/38": "20940", - "2803:1720::/32": "266815", - "2a0e:b101:301::/48": "49459", - "2001:1ba0::/32": "5578", - "2a01:8840:a2::/45": "12041", - "2a0f:23c7::/32": "35425", - "2600:1017:b4b0::/41": "6167", - "2001:559:8106::/48": "20214", - "2400:c600:3320::/41": "24389", - "2401:7c00::/36": "18400", - "2408:8957:4d00::/40": "17816", - "240e:3bc:1800::/34": "4134", - "2001:67c:1380::/48": "61078", - "2620:10a:9027::/48": "11133", - "2a01:63c0::/32": "31319", - "2a02:26f7:c3c1::/46": "20940", - "2a02:c744::/30": "199644", - "2a0e:47c6::/32": "212362", - "2a04:e800:5019::/48": "57976", - "2408:8459:6250::/37": "17816", - "240a:aa3d::/32": "145271", - "240e:44d:4700::/41": "140345", - "240e:473:8a50::/39": "4134", - "2804:6ea0::/33": "270609", - "2a02:3a8::/32": "15965", - "2a04:e00:14::/44": "54103", - "2001:559:4de::/48": "7922", - "2001:559:721::/48": "33657", - "2620:3e::/48": "394271", - "2803:bc40:8102::/45": "52468", - "2804:2504::/32": "52708", - "2804:24b4::/32": "264239", - "2001:d10::/32": "4787", - "2001:16b8:c00::/35": "8881", - "240a:a5c3::/32": "144125", - "240e:44d:8000::/41": "140345", - "2602:fed2:710c::/48": "202479", - "2602:fff6:d::/48": "30475", - "2606:bc00:8001::/36": "19419", - "2a01:667:500::/32": "48951", - "2a02:ff0:2800::/40": "12735", - "2a02:26f7:f501::/46": "20940", - "240e:37e:1a00::/34": "140330", - "2602:fd36::/36": "398547", - "240e:44d:3600::/41": "140345", - "2a02:26f7:c605::/46": "20940", - "2a09:57c0::/29": "63023", - "2a03:1280::/32": "197227", - "240a:a6f5::/32": "144431", - "240e:3b0:ac00::/35": "4134", - "2607:fb90:2100::/36": "21928", - "2804:40a4::/34": "265972", - "2a02:26f7:b808::/48": "36183", - "2a02:26f7:e840::/48": "36183", - "2a02:26f7:fb45::/46": "20940", - "2a0e:ffc0::/29": "47489", - "2001:4d0:6119::/38": "297", - "2804:3278::/32": "265080", - "240e:44d:1980::/41": "4134", - "2a03:eb80::/32": "56704", - "2001:dc7:5d0d::/41": "24151", - "2600:9000:2007::/44": "16509", - "2a0d:dbc0::/29": "212660", - "2001:559:c224::/48": "7016", - "2409:8028:30c1::/42": "56041", - "2804:1408:7100::/32": "28635", - "2804:42e0::/32": "267533", - "2a02:26f0:e601::/36": "20940", - "2a02:26f7:bf09::/42": "20940", - "2a04:4e40:1a20::/43": "54113", - "2404:bf40:85c1::/38": "139084", - "2405:9e40::/32": "139468", - "2604:6800::/32": "36436", - "2803:d000:fffe::/48": "393398", - "2804:4db4::/32": "268214", - "2a0b:4e80::/32": "206491", - "2408:8956:d240::/40": "17622", - "240a:a818::/32": "144722", - "2607:f110:e130::/41": "21889", - "2a10:78c0::/29": "212559", - "2408:8956:d2c0::/37": "17816", - "240a:a384::/32": "143550", - "2800:3e0::/32": "1239", - "2804:eec:1200::/48": "25933", - "2a02:26f7:6c::/48": "36183", - "2a0c:ab07:c000::/34": "208861", - "2001:559:8576::/48": "13367", - "2001:b28:f240::/36": "42065", - "240e:3b6:ec00::/35": "140314", - "2620:12f:6000::/44": "393668", - "2a02:26f7:fb01::/46": "20940", - "2001:4200:5000::/48": "37501", - "2401:160c::/32": "133090", - "2402:9d80::/47": "131429", - "2001:278::/32": "4725", - "2a02:5420:1::/48": "9053", - "2a0c:7840::/29": "50415", - "2001:559:c0e1::/48": "7015", - "2404:e00:65::/46": "15695", - "2405:73c0::/48": "41095", - "2804:301c::/32": "264930", - "2804:154c:501f::/42": "263382", - "2804:4928::/32": "28161", - "2a00:e20:143::/48": "16509", - "2a0e:72c0::/47": "208479", - "2001:57a:ef02::/35": "22773", - "2804:7efc:400::/39": "271659", - "2409:8004:802::/40": "24547", - "240e:438:9220::/43": "140647", - "2600:6c38:74::/46": "20115", - "2600:9000:1025::/48": "16509", - "2602:fed9::/36": "209", - "2605:3380:4163::/44": "12025", - "2a06:1301:4800::/48": "55286", - "2001:559:84c3::/48": "7922", - "2408:8459:f800::/40": "17816", - "240a:a8fc::/32": "144950", - "2a02:26f7:42::/48": "36183", - "2a0d:2900:a::/45": "50069", - "2a0f:9700::/29": "208386", - "2402:f700:4000::/32": "23907", - "2403:f500::/34": "10103", - "240e:2c:c000::/31": "4134", - "2001:67c:5fc::/48": "8447", - "2001:da8:258::/32": "23910", - "2806:2f0:81c1::/43": "17072", - "240a:a6ef::/32": "144425", - "240c:0:1::/29": "45275", - "2804:2cd4:b0::/41": "265246", - "2804:5390::/32": "268592", - "2a0f:a307::/32": "44326", - "2604:4940::/32": "62516", - "2a02:26f7:b642::/47": "20940", - "2001:579:c1d0::/38": "22773", - "2401:ff80:1903::/45": "133954", - "2402:6800:6::/48": "26506", - "2804:7b84::/32": "271436", - "2a07:7840::/29": "207390", - "2600:e000:400::/40": "22995", - "2605:1080::/49": "23367", - "2804:9ec::/37": "263002", - "2403:300:a16::/48": "6185", - "2409:8021:3803::/29": "9808", - "2a0a:5cc0::/29": "60921", - "2001:559:15d::/48": "33491", - "240a:aa0f::/32": "145225", - "2607:ff28::/46": "62904", - "2804:1be0::/32": "61754", - "2804:2cdc::/32": "263069", - "2806:230:6028::/48": "265594", - "2a02:f8c0::/29": "60713", - "2001:559:c036::/47": "20214", - "2405:dc0:8008::/62": "22604", - "2600:1802:8::/43": "16552", - "2804:5ea0::/32": "269046", - "2a02:26f0:1501::/40": "20940", - "2a02:26f7:e081::/46": "20940", - "2a02:26f7:ee04::/48": "36183", - "2001:468:2806::4/48": "396961", - "2001:559:c13d::/48": "7016", - "2001:648:2c00::/48": "6867", - "2001:c38:90a0::/46": "135566", - "240a:a4f2::/32": "143916", - "240a:a68f::/32": "144329", - "2803:4500::/32": "27660", - "2402:bfc0::/44": "136361", - "2408:8456:7400::/42": "17622", - "2408:84f3:f610::/44": "17623", - "2600:6c38:89e::/42": "20115", - "2620:171:6b::/45": "42", - "2803:4580:9100::/38": "52468", - "2803:5300::/32": "264637", - "2804:590c::/32": "268166", - "2a07:a100::/29": "202701", - "2600:380:7b80::/37": "20057", - "2604:bd40::/32": "395236", - "2001:559:5bc::/48": "7016", - "2402:800:58ee::/39": "7552", - "2804:14d:4200::/40": "28573", - "2804:4094::/32": "265968", - "2401:ff80:120b::/45": "133954", - "2408:8956:2840::/40": "17622", - "2a0c:9a40:8280::/48": "207414", - "2402:9e80:2a::/48": "140224", - "2a00:c640::/32": "198612", - "2a0c:b641:200::/45": "209710", - "2c0f:fe58::/32": "33567", - "2402:800:79a0::/41": "7552", - "240a:a7bc::/32": "144630", - "240e:3bd:3e00::/33": "140308", - "2409:8052::/47": "56047", - "2607:fd80::/32": "14103", - "2a02:26f7:e8c4::/48": "36183", - "2a02:2e02:1ba0::/43": "12479", - "2001:2000:1100::/34": "1299", - "2a00:f320::/48": "24586", - "2a0c:a9c7:147::/48": "41740", - "2001:500:46::/44": "207266", - "2001:978:4a01::/37": "174", - "2409:8b3c::/32": "24444", - "2803:7da0:1::/46": "64114", - "2a0c:b642:900::/47": "204625", - "2402:800:398d::/43": "7552", - "240a:a343::/32": "143485", - "2600:6c38:b5c::/42": "20115", - "2a0b:7040::/29": "208819", - "2001:440:1880::/48": "1880", - "2404:24c0::/32": "138520", - "240a:a4d6::/32": "143888", - "2600:380:2100::/37": "20057", - "2605:7380:c000::/34": "25697", - "2a01:288::/33": "8717", - "2a0f:2ac0::/29": "60262", - "2406:4f40:8::/48": "40676", - "2409:802f:2b06::/48": "56041", - "240a:a65a::/32": "144276", - "2806:230:4012::/48": "265594", - "2605:1980:206::/37": "13951", - "2a02:2ad0:520::/38": "702", - "2405:1c0:6243::/43": "55303", - "2408:8957:de00::/40": "17622", - "2804:72f0::/32": "270885", - "2a01:6500::/46": "42925", - "2804:48d4::/32": "267147", - "2409:8702::/32": "38019", - "2600:1f16::/36": "16509", - "2605:7bc0::/32": "395439", - "2606:18c0:3::/48": "61317", - "2a09:a040::/29": "25486", - "2a0a:100::/29": "40970", - "2a01:5e00::/32": "34688", - "2a0d:3842:1290::/48": "57629", - "2001:559:842d::/48": "13367", - "2402:8100:207f::/40": "45271", - "2607:ff78::/32": "20161", - "2804:28e4:403::/32": "28260", - "2804:4688::/32": "266995", - "2a00:6280::/32": "12978", - "2a09:1c40::/32": "209553", - "2001:1248:7000::/46": "11172", - "2404:f4c0:f9c3::/48": "142281", - "2800:160:174c::/43": "14259", - "2803:f840::/45": "269980", - "2605:9dc0::/32": "54665", - "2a02:26f7:d8c4::/48": "36183", - "2a00:1a18::/29": "20755", - "2a02:ee80:4012::/45": "3573", - "2001:510:303::/45": "376", - "240e:3ba:1200::/39": "4134", - "240e:473:3f20::/41": "140486", - "2804:24cc:8003::/33": "264242", - "2a01:6d80::/36": "13307", - "2001:56b:a00c::/33": "852", - "2001:de8:16::/48": "55943", - "240a:a39e::/32": "143576", - "2a0e:ee80::/29": "60262", - "2a11:2800:3::/48": "61317", - "2001:67c:7a8::/48": "57720", - "2001:ec0:5300::/40": "131293", - "2600:140b:14::/48": "24319", - "2804:6e54::/32": "270589", - "2a02:1710:2::/48": "42775", - "2408:8459:ca50::/39": "17816", - "2804:538::/32": "53111", - "2a00:1828::/32": "34240", - "2a09:4bc7:d020::/44": "140096", - "2409:804d:1900::/34": "9808", - "2605:9480:1000::/39": "31775", - "2804:4e64:c000::/34": "268258", - "2a03:65c0::/32": "61331", - "2a03:ab80::/32": "197876", - "2001:559:838c::/48": "7922", - "2001:559:8790::/46": "7922", - "2a01:298:d34d::/48": "33886", - "2a0a:1c80::/29": "44407", - "2406:6140::/32": "137102", - "2606:7100:1cac::/34": "21581", - "2600:1014:9110::/36": "22394", - "2a02:26f7:bbc6::/47": "20940", - "2607:f038:e::/33": "21527", - "2607:f250:c020::/47": "7046", - "2610:20:90e2::/48": "3477", - "2a07:3500:19a8::/48": "38915", - "2001:4d50:fa00::/37": "34309", - "2800:160:10d4::/44": "14259", - "2804:49c:3403::/48": "7162", - "2804:f6c:2021::/41": "263585", - "2a02:26f7:f680::/48": "36183", - "2a0e:97c0:510::/44": "61978", - "2001:4830:2446::/48": "395326", - "2800:160:2b48::/42": "14259", - "2804:1b04:6::/44": "53048", - "2a02:26f7:e140::/48": "36183", - "2001:67c:654::/48": "34244", - "2605:b640:1530::/44": "53736", - "2a00:ec0::/32": "20634", - "2a02:26f7:c601::/46": "20940", - "2a02:2e02:8600::/42": "12479", - "2a0b:4340:3211::/42": "48024", - "2a02:26f7:37::/48": "20940", - "2a02:2e02:17d0::/42": "12479", - "2a10:7fc0::/29": "202505", - "2001:dc7:5e00::/32": "24151", - "2406:daa0:4060::/44": "16509", - "2804:c00:3600::/32": "52655", - "2806:2f0:1063::/48": "22884", - "2a02:730:1::/48": "42964", - "2001:418:8007::/37": "2914", - "240a:afce::/32": "146696", - "2804:3920:4400::/40": "266013", - "2401:5840:600::/32": "132113", - "2404:5740::/48": "395266", - "2405:9800:5a::/45": "131445", - "2407:d6c0:8::/48": "136785", - "2a07:5900:102::/29": "203014", - "240e:3b2:8200::/35": "140316", - "2600:1008:d000::/43": "6167", - "2a02:ee80:40c2::/43": "3573", - "2a03:5a80::/32": "21367", - "2a03:f080:1800::/48": "47515", - "2a06:78c0::/48": "210079", - "2a03:7360:1::/48": "197943", - "2001:628::/37": "1853", - "2001:678:e68::/48": "212567", - "2409:8020:41::/43": "56046", - "240a:a957::/32": "145041", - "2600:1415:4c01::/35": "20940", - "2620:13f:3018::/48": "27538", - "2804:2a6c::/32": "264072", - "2001:559:8430::/46": "33287", - "2001:57a:e020::/40": "22773", - "240a:a680::/32": "144314", - "2606:5cc0:1100::/38": "36263", - "2804:2408:8400::/33": "52705", - "2a09:9cc0::/48": "44364", - "2a0c:7040::/32": "203488", - "2001:67c:2f88::/48": "204082", - "2804:6eb8::/32": "270615", - "2a03:3180:4000::/36": "44453", - "2a0f:5707:ab20::/48": "3280", - "2c0f:fe38:2340::/32": "33771", - "2804:4854::/32": "267114", - "2804:547c::/32": "268653", - "2804:7b20::/32": "271412", - "2a0a:ad40::/32": "211428", - "2001:559:1a4::/48": "33652", - "2401:d800:9b60::/40": "7552", - "2405:7f00:82a0::/37": "133414", - "2600:140b:2c01::/35": "20940", - "2804:2144:309::/36": "52795", - "2a0c:5440:80::/44": "209650", - "2a0e:b107:14c0::/47": "211042", - "2402:800:3371::/44": "7552", - "2402:6c40::/32": "38084", - "240a:ac69::/32": "145827", - "2605:ad80::/40": "62887", - "2001:559:7a4::/48": "7015", - "2401:a240::/32": "17958", - "240a:a826::/32": "144736", - "2605:8480::/32": "11472", - "2804:697c::/32": "270273", - "240a:afb0::/32": "146666", - "2804:10cc::/32": "263650", - "2804:269c:8::/46": "47065", - "2804:804c::/32": "271742", - "2001:559:258::/48": "7922", - "2001:559:484::/48": "33659", - "2001:678:b1c::/48": "20676", - "240e:438:6440::/38": "4134", - "240e:67d:e600::/30": "4134", - "2803:9800:9501::/45": "11664", - "2804:25e0::/32": "264308", - "2a02:1065:1000::/36": "13045", - "2a02:26f7:a::/48": "36183", - "2a00:7b80::/32": "62370", - "2a0f:5701:3505::/48": "206499", - "2408:8459:8e50::/35": "17816", - "2408:8956:aa00::/40": "17622", - "2a03:80c0::/47": "210079", - "2001:6d0:ffc8::/48": "21416", - "2409:8d63::/28": "9808", - "2604:1380:3020::/33": "54825", - "2804:794::/32": "262303", - "2804:1258::/32": "263471", - "2804:35e8::/32": "266314", - "2001:4408:5f00::/34": "4758", - "240a:a45f::/32": "143769", - "2804:1e84::/32": "264433", - "2a00:1750::/32": "3257", - "2408:8456:6440::/39": "17816", - "240a:a574::/32": "144046", - "2804:4870:1c3::/33": "267121", - "2804:4fd8::/33": "268353", - "2a01:518::/32": "25151", - "2a01:c50e:f200::/36": "12479", - "2600:1404:6001::/37": "20940", - "2600:1480:4000::/40": "33905", - "2804:5adc::/32": "268801", - "2a04:c9c0::/29": "202113", - "2a10:8700::/32": "207925", - "2001:559:2b9::/46": "7015", - "2001:559:c100::/48": "33659", - "2a05:d03a:2000::/40": "16509", - "2405:9800:c702::/36": "45430", - "240a:ac64::/32": "145822", - "2605:9500::/45": "14244", - "2605:b640:1101::/48": "53736", - "2a0a:340:e300::/40": "56807", - "2001:559:5f7::/48": "33652", - "2001:559:c249::/46": "33651", - "2401:4900:5cc0::/44": "45069", - "2606:bc00:bf00::/33": "19419", - "2804:54f0::/32": "268679", - "2a0e:3500::/29": "56456", - "2001:559:362::/48": "7725", - "2001:579:524c::/40": "22773", - "2001:4878:a027::/48": "12222", - "2600:140f:ac00::/48": "55836", - "2a05:eb80::/29": "39479", - "2a0a:54c1:2::/45": "62240", - "2001:500:ed30::/48": "7342", - "2400:dcc0:ab04::/37": "38631", - "2405:1c0:6543::/43": "55303", - "2600:1419:201::/37": "20940", - "2a02:22e0::/32": "38987", - "2a02:26f7:e0cc::/48": "36183", - "2401:d800:610::/42": "7552", - "2602:fcd8:10::/46": "399141", - "2800:160:10c4::/46": "14259", - "2804:3a54::/32": "266083", - "2400:d400:1::/46": "45671", - "2408:8956:3400::/40": "17622", - "2620:1:a000::/48": "19770", - "2405:4bc0::/32": "137677", - "240a:a919::/32": "144979", - "2a00:99a0::/33": "28855", - "2001:67c:178c::/48": "34907", - "240e:3ba:ac00::/35": "4134", - "240e:980:9000::/40": "134420", - "2a02:26f7:c2c4::/48": "36183", - "2a02:26f7:ea48::/48": "36183", - "2404:bf40:e403::/38": "139084", - "2a02:26f7:d156::/44": "20940", - "2a07:3500:10c0::/48": "208973", - "2001:1900:2264::/48": "27564", - "2804:8f4:3000::/40": "52875", - "2804:15b4::/32": "263405", - "2a03:8d20:1182::/48": "200849", - "2a06:8000::/29": "50673", - "2001:500:91::/46": "15135", - "2001:559:41b::/45": "7725", - "2001:559:8729::/46": "33652", - "2403:9800:c200::/34": "4648", - "2806:310:31::/46": "16960", - "2a01:8f80:100::/40": "62168", - "2a02:26f7:f600::/48": "36183", - "2402:5840:6::/32": "137403", - "240a:a5c5::/32": "144127", - "240e:924::/36": "132147", - "2606:2800:4044::/48": "14210", - "2a07:6a86::/32": "203568", - "2a0e:97c5:508::/46": "20473", - "2401:d800:bd40::/38": "7552", - "2600:1406:7001::/38": "20940", - "2606:9580:fffa::/48": "394256", - "2a00:55a0:f000::/40": "9009", - "2a05:8880::/46": "34304", - "2804:79c0::/32": "271325", - "2a02:d900::/29": "43809", - "2a06:4e40::/29": "200567", - "2a09:cc80::/29": "35712", - "2a0b:27c0::/31": "34215", - "2402:3a80:20::/47": "38266", - "2600:100a:b130::/40": "22394", - "2c0f:f3f0::/32": "328024", - "2001:7fb:fe00::/47": "12654", - "2405:6600:c01::/41": "45845", - "240a:a088::/32": "142786", - "240e:3b1:c000::/37": "140315", - "2604:ea80::/32": "33438", - "2a01:5b0:2f::/48": "8561", - "2001:470:f9::/45": "6939", - "2001:4478:cc1f::/34": "4802", - "2804:2f50::/32": "264883", - "2a05:7f80::/29": "201213", - "2602:807:d000::/44": "397736", - "2804:cf4::/32": "52579", - "2804:e94:6c0::/44": "262468", - "2804:1080::/32": "28287", - "2c0f:ec88::/32": "328328", - "2409:8915:6000::/39": "56044", - "2606:c480::/32": "22361", - "2607:480::/32": "396443", - "2803:b4c0:9::/32": "264668", - "2a02:ff0:18f2::/44": "12735", - "2001:559:8264::/48": "33651", - "2001:6d0:ffb7::/48": "47445", - "240a:a2d7::/32": "143377", - "2804:7c8:9000::/33": "262323", - "2804:6158::/32": "269229", - "2804:7d70::/32": "271561", - "2001:559:17e::/48": "33651", - "2803:60a0::/32": "266809", - "2001:559:16b::/48": "7015", - "2408:8459:4430::/41": "17622", - "240a:a51e::/32": "143960", - "2804:438c::/32": "262911", - "2a0d:4d80::/29": "1764", - "2a05:3e00::/29": "29484", - "2001:559:8339::/48": "33661", - "2001:6d0:4009::/48": "57503", - "2409:8050:3900::/32": "9808", - "2620:97:e000::/48": "399663", - "2620:11c:f000::/48": "393667", - "2804:54d4::/32": "268672", - "2a00:5881:9000::/40": "198978", - "2a0b:5340::/48": "13030", - "2401:ff80:140f::/43": "133954", - "2804:631c::/32": "269339", - "2a09:ae80::/29": "204537", - "2a0f:3cc0::/29": "207936", - "240e:44d:1080::/41": "4134", - "2804:14c:9b84::/44": "28573", - "2804:297c:aaab::/33": "262907", - "2403:bc00:7fff::/32": "45668", - "2408:8456:4440::/38": "17816", - "2a04:4e42:6000::/32": "54113", - "2001:559:146::/48": "33491", - "2001:4998:68::/48": "5779", - "2401:4900:55a0::/41": "45609", - "2408:8459:a210::/42": "17623", - "240a:a8d8::/32": "144914", - "2604:6600:a4::/39": "40676", - "2a02:26f7:d6cd::/42": "20940", - "2620:114:b000::/48": "18440", - "2c0f:fb60::/32": "12455", - "2001:6d0:6d0b::/48": "45029", - "240e:3b1:1200::/39": "4134", - "2604:3b40::/32": "399494", - "2804:187c:a7::/44": "28258", - "2a07:b8c1:12::/30": "14043", - "2a09:2ac0::/29": "41563", - "2c0f:eae0::/32": "37521", - "2001:8b0:5000::/32": "20712", - "240a:a0ae::/32": "142824", - "2804:6308::/32": "269334", - "2a0a:e5c1:400::/40": "209898", - "2804:682c::/32": "269673", - "2001:678:be0::/48": "207632", - "2001:1248:9abf::/41": "11172", - "2401:d800:5a60::/40": "7552", - "2403:1840::/32": "137845", - "2403:7b40:1::/44": "132931", - "2a02:6b8:23::/40": "208722", - "240e:3bf:9c00::/34": "140310", - "2806:20d:5014::/47": "32098", - "2409:8a34:aa00::/33": "9808", - "2607:4880:a000::/33": "53508", - "2607:f368:1003::/48": "46846", - "2a02:f680:1::/48": "212913", - "2a02:26f7:d305::/46": "20940", - "2409:804b:2a00::/39": "24445", - "240e:37f:ac00::/24": "4134", - "2600:141c:b001::/33": "20940", - "2620:13d:a000::/48": "19712", - "2800:160:133d::/41": "14259", - "2804:2320:11::/32": "264144", - "2804:487c::/38": "267124", - "2a06:6f40::/29": "204109", - "2001:559:8467::/48": "7015", - "2001:1600::/32": "29222", - "2409:8750:d00::/38": "56047", - "240a:ade4::/32": "146206", - "2605:52c0:5::/48": "54574", - "2a01:488:bb05::/48": "20773", - "2a02:26f7:fc05::/46": "20940", - "2001:559:5e0::/48": "33287", - "2001:559:c3a4::/47": "33651", - "240a:a1d8::/32": "143122", - "2804:1834::/32": "61923", - "2a02:26f7:f2c4::/48": "36183", - "2401:8500::/32": "55350", - "2403:d300::/34": "15932", - "240e:978:4000::/40": "137702", - "2607:fcd0:fa80:2104::/62": "8100", - "2620:11a:c081::/48": "394192", - "2620:131:4000::/40": "394015", - "2a02:e80::/32": "39823", - "2001:559:84d9::/46": "7015", - "2001:678:210::/48": "204506", - "2402:8100:30d0::/44": "45271", - "2404:3d00:40ca::/43": "3573", - "2804:12ac::/32": "263491", - "2a0e:b107:dc6::/48": "211486", - "2a0e:fd45:b31::/41": "44103", - "2001:1250::/44": "22894", - "2a02:26f7:bc85::/46": "20940", - "2a10:46c0::/32": "208367", - "2402:d000:8115::/44": "9329", - "2406:2ac0::/32": "140736", - "2a02:26f0:83::/48": "20940", - "2a07:a240::/29": "6786", - "2001:559:7b3::/48": "7922", - "2001:49f0:d100::/47": "30058", - "240e:108:11d3::/48": "134756", - "2804:9f8::/32": "262773", - "2001:4888:8030::/44": "22394", - "240a:a5b5::/32": "144111", - "2804:26a0::/32": "263845", - "2a01:8840:2d::/48": "207266", - "2001:2000::/48": "3301", - "240a:a129::/32": "142947", - "2a05:e380:3::/29": "15739", - "2001:440:1800::/48": "1880", - "2001:44b8:4046::/48": "7545", - "2804:828c::/32": "263060", - "2001:5f8:7d03::/48": "30325", - "2600:1402:b::/45": "20940", - "2620:138:3020::/48": "11251", - "2a02:26f7:e80c::/48": "36183", - "2a0f:607:1024::/48": "212359", - "2402:8400:100::/38": "17820", - "2409:8924:7b00::/37": "56046", - "2602:809:3008::/47": "34553", - "2607:1280:1340::/40": "394972", - "2620:1ff::/36": "10497", - "2804:6fc8:2000::/37": "270684", - "2a0c:4380:14e::/48": "51945", - "2403:e800:e80c::/35": "4637", - "240a:ae1c::/32": "146262", - "2804:62c:2011::/32": "262569", - "2a02:b20::/32": "29321", - "2a03:c300::/32": "20514", - "2603:4:1006::/47": "44273", - "2620:125:9003::/48": "10780", - "2620:1ec:28::/47": "8068", - "2804:203c::/32": "264479", - "2a02:e740::/29": "61157", - "2001:559:1ef::/48": "33668", - "2001:4420::/32": "4782", - "2a09:a080::/48": "44364", - "2a03:ad60::/32": "203908", - "2001:67c:258::/48": "29067", - "2001:44b8:2047::/48": "4739", - "2405:9800:d004::/46": "45430", - "2a02:530::/43": "21191", - "240a:a0f3::/32": "142893", - "240a:a351::/32": "143499", - "2607:fcd0:fa80:8501::/52": "8100", - "2610:1a0:7000::/32": "40193", - "2804:e30:411::/45": "11338", - "240a:ad33::/32": "146029", - "2804:7538::/32": "271032", - "240a:a016::/32": "142672", - "2604:bb00::/32": "46692", - "2a06:3580::/29": "62183", - "2402:9900::/48": "27435", - "2806:230:403a::/48": "265594", - "2a0e:e2c2::/29": "42282", - "2a10:9200::/47": "48282", - "2001:559:8412::/48": "7015", - "2804:6854::/32": "269685", - "2a03:c280::/32": "198330", - "2a04:e4c0:12::/48": "36692", - "2001:559:803c::/48": "33491", - "2a04:3b40::/29": "60664", - "2a01:270:eaeb::/37": "29657", - "2001:b08:19::/48": "197467", - "2001:44c8:2001::/35": "45430", - "2405:c400:175::/46": "38880", - "2408:8957:800::/40": "17622", - "2606:6880::/32": "63470", - "2607:f750:2400::/38": "23473", - "2804:ef4::/46": "28642", - "2a02:26f7:e208::/48": "36183", - "2a0b:4340:9e::/48": "205610", - "2a0e:fd40:200::/48": "60557", - "2001:df4:4280::/48": "140920", - "2402:7d80:7778::/32": "63582", - "2405:9800:9811::/48": "45458", - "2603:6000::/32": "10796", - "2607:fb58:f000::/46": "36086", - "2a0e:8f02:2120::/47": "211635", - "2405:1c0:6217::/42": "55303", - "2409:8d1a::/32": "132525", - "240a:aa35::/32": "145263", - "2607:7c00::/32": "21898", - "2804:49d4::/32": "52631", - "2806:1030::/32": "8151", - "2a02:2e02:8680::/41": "12479", - "2403:780:e400::/35": "64098", - "2409:8915:3800::/39": "56044", - "2620:98:e006::/48": "399728", - "2804:6868::/32": "269690", - "2001:579:f130::/45": "22773", - "2001:678:30::/48": "48283", - "2a07:a40:c::/48": "205112", - "2a0e:b540:ff04::/29": "30823", - "2a0f:e040:1::/48": "60781", - "2408:8656:3aff::/48": "17623", - "2409:8000:5100::/40": "56048", - "240a:ab73::/32": "145581", - "2804:2f30:4800::/34": "53096", - "2a02:cb80:2910::/48": "43766", - "2401:d800:24f0::/39": "7552", - "2409:8028:100::/37": "9808", - "2804:4ef8::/32": "268295", - "2a0e:46c4:101::/48": "137490", - "2401:4900:4d20::/44": "45609", - "2409:8907:7c20::/39": "24547", - "240a:a459::/32": "143763", - "240e:438:e40::/35": "4134", - "240e:473:2250::/39": "4134", - "2804:5bf4::/32": "268879", - "2a02:2330:b3::/29": "12578", - "2408:8256:376c::/43": "17623", - "2620:1b:e000::/48": "394805", - "2806:230:6020::/48": "265594", - "2a03:24e0::/48": "15623", - "2a05:3580:2500::/36": "35807", - "2a0b:9100::/32": "201098", - "2405:c5c0::/32": "139976", - "240a:a417::/32": "143697", - "2604:4100::/36": "29713", - "2804:2cd4::/42": "265246", - "2804:7dfc::/32": "271595", - "2a00:f1c0::/32": "21267", - "2001:559:8656::/48": "33659", - "240a:a5dd::/32": "144151", - "2803:ba80::/32": "262932", - "240a:a620::/32": "144218", - "2804:14d:5684::/41": "28573", - "2001:678:190::/48": "62241", - "2409:8904:5340::/42": "24547", - "2a06:1980::/48": "58321", - "2001:df2:3880::/48": "139836", - "2405:4000::/36": "38082", - "240a:a4a1::/32": "143835", - "2600:100c:9010::/38": "22394", - "2804:5fb4::/32": "269118", - "2a00:c2e0:101::/32": "30919", - "2a0d:6840::/29": "210232", - "2408:8256:2d9b::/48": "17816", - "2408:8456:3e40::/33": "17816", - "2408:8456:ae40::/35": "17816", - "2804:1020::/32": "262544", - "2a01:b760::/32": "204281", - "2a09:e240:2::/48": "57706", - "2001:3c8:2705::/48": "132482", - "240a:a89f::/32": "144857", - "2600:370f:72a5::/46": "32261", - "2804:1560::/32": "52711", - "2403:1140::/32": "135719", - "2404:3d00:40c8::/47": "21433", - "2a04:3880::/30": "60721", - "2a07:f980:2::/47": "26338", - "2804:14d:ac92::/47": "28573", - "240a:a8ee::/32": "144936", - "240e:b:f804::/37": "139018", - "2600:1415:2401::/36": "20940", - "2600:9000:11c5::/46": "16509", - "2607:fcd0:fa80:4301::/53": "8100", - "2620:100:900c::/47": "26211", - "2801:80:460::/48": "52915", - "2804:bf8::/33": "52653", - "2804:3e1c::/32": "266574", - "2804:7180::/32": "270793", - "2806:10a0::/32": "8151", - "2620:e8::/48": "14183", - "2804:69f0::/32": "270301", - "2804:7480::/32": "270985", - "2a02:25b0::/32": "51731", - "2a09:7:2003::/48": "35536", - "2001:67c:1901::/46": "6848", - "2804:1c30::/32": "28285", - "2a02:26f7:f581::/46": "20940", - "2620:e7::/48": "398451", - "2a00:fd40:6::/48": "20473", - "2001:67c:1212::/48": "42728", - "2001:67c:2818::/48": "20647", - "2404:bf40:a041::/39": "139084", - "2408:80f1:180::/43": "17621", - "2600:6c7f:10::/48": "20115", - "2404:7f40:ffff::/48": "138645", - "2803:4c80::/32": "263181", - "2402:ab40:1001::/32": "137541", - "2405:17c0::/44": "139331", - "240a:a8ac::/32": "144870", - "240a:aed0::/32": "146442", - "2600:370f:3745::/44": "32261", - "2620:57:a000::/48": "40706", - "2800:5d0:213::/48": "17048", - "2a03:85c0::/39": "20561", - "2a06:7500::/29": "24786", - "2c0f:eb00:400::/40": "37061", - "2401:d800:fe80::/42": "7552", - "2803:e400::/32": "52373", - "2a0a:9b40::/29": "43139", - "2a0f:ee00::/47": "60781", - "2001:559:c2d5::/48": "33652", - "2604:f440:7::/48": "397423", - "2400:cb00:a490::/45": "13335", - "2620:74:4::/48": "11840", - "2001:67c:25a8::/48": "8218", - "240e:438:1020::/43": "140647", - "240e:44d:2e80::/41": "4134", - "2001:df5:2800::/48": "24558", - "2408:8456:1f40::/40": "17816", - "2804:74cc::/32": "271004", - "2c0f:f348:b::/35": "24757", - "2620:131:1046::/44": "26450", - "2804:5d04::/32": "268946", - "2a03:2480:8028::/46": "200107", - "2a05:a940::/29": "20546", - "2001:388:6031::/41": "7575", - "2001:43f8:700::/44": "2018", - "2404:bf40:f200::/48": "7545", - "2409:8c54:b000::/44": "141425", - "2a03:8ac0:249::/48": "47523", - "2001:67c:314::/48": "39628", - "2405:9800:c90c::/46": "45458", - "240a:a4f4::/32": "143918", - "2604:1280:9::/46": "11696", - "2604:e540::/32": "30165", - "2804:4d6c::/32": "268195", - "2a01:358:5f12::/32": "9121", - "2a0e:97c5:4c4::/46": "20473", - "240a:adc7::/32": "146177", - "240a:ae08::/32": "146242", - "2806:230:4007::/48": "11888", - "2a03:b00::/32": "8723", - "2a03:6640::/32": "199562", - "2607:f3a0:a009::/48": "399810", - "2803:e100::/32": "27971", - "2a03:1fc0::/48": "35220", - "2a05:7440:a5ac::/48": "200165", - "2800:160:264c::/39": "14259", - "2001:559:8320::/48": "33661", - "2001:559:865a::/47": "33657", - "2600:8807:982::/38": "22773", - "2804:79a4::/32": "271318", - "2001:559:840c::/48": "7015", - "240e:980:8d00::/40": "137693", - "2600:1007:b1e0::/33": "22394", - "2a0d:c5c0::/32": "210051", - "2001:9e0::/29": "12414", - "240a:a349::/32": "143491", - "240a:aa64::/32": "145310", - "2600:6c38:150::/42": "20115", - "2a01:367:abce::/33": "30823", - "2a0b:d1c0::/32": "9188", - "2408:8459:3e10::/42": "17623", - "240e:a67:2600::/23": "4134", - "2620:34:a000::/48": "62947", - "2800:bf0:1c0::/44": "52257", - "2405:84c0:fade::/48": "138990", - "2406:3400:9d::/41": "10143", - "2001:4878:4219::/48": "12222", - "2602:ff87::/36": "36243", - "2a0d:82c7:1001::/32": "47787", - "2a0f:9441:41::/48": "209808", - "2001:559:80cd::/48": "22258", - "240a:ad54::/32": "146062", - "2600:1417:71::/46": "20940", - "2a0e:97c0:410::/48": "211275", - "2606:cd00::/47": "40845", - "2803:c010:2a::/48": "271799", - "2804:30c::/39": "28343", - "2a04:3200::/47": "30742", - "2a0b:6040::/32": "41821", - "2407:500:4000::/39": "58940", - "2408:8956:6d00::/40": "17816", - "2600:1402:6001::/36": "20940", - "2620:98:2000::/48": "398894", - "2001:df5:e280::/48": "141640", - "2401:3c0:201::/44": "45528", - "2409:8028:3900::/29": "9808", - "2604:8b00::/32": "19554", - "2804:40a4:2200::/32": "265972", - "2a02:cb80:2920::/48": "43766", - "2c0f:faf0::/32": "11259", - "2401:ff80:1383::/45": "133954", - "2600:1403:a402::/36": "20940", - "2602:802:b00c::/43": "397795", - "2605:5640:3000::/36": "25635", - "2804:1c84:7::/37": "61659", - "2a02:ee80:40d4::/46": "21433", - "2a0d:2406:d00::/44": "202418", - "2407:4d40::/45": "142050", - "2a05:680::/29": "201597", - "2001:df7:480a::/48": "131893", - "2001:1248:9cb5::/44": "11172", - "240e:944:4000::/32": "4134", - "2600:8807:4782::/36": "22773", - "2602:fce1:241::/48": "395886", - "2a0a:a1c0::/29": "205998", - "2c0f:f028::/32": "37317", - "2001:4490:4c82::/47": "9829", - "2a0f:300::/32": "397881", - "2a0f:ffc0::/29": "207767", - "2402:800:59e0::/44": "7552", - "2620:139:a000::/44": "31807", - "2a03:1f80::/32": "57188", - "2001:253:10a::/45": "38272", - "240a:a26c::/32": "143270", - "240e:1:7200::/32": "4134", - "2a0f:36c0::/29": "60262", - "2401:d800:7ea0::/41": "7552", - "2600:1802:13::/45": "16552", - "2603:c0f0:2110::/40": "6142", - "2001:1248:5586::/44": "11172", - "2408:8957:1240::/40": "17622", - "2604:a580::/40": "1610", - "2a00:1cb8:2000::/35": "12713", - "2402:800:5ec0::/43": "7552", - "2607:f6f0:5004::/40": "27224", - "2001:559:8349::/48": "7922", - "2401:ff80:1489::/46": "133954", - "2408:8459:b250::/37": "17816", - "2409:8d14:900::/35": "56044", - "2600:6000:fcd2::/42": "12271", - "2605:1700::/32": "40029", - "2a0e:b107:192::/48": "200334", - "2a04:16c0::/39": "48921", - "2001:500:121::/48": "396566", - "240a:61:1000::/36": "9605", - "240a:a126::/32": "142944", - "240a:af15::/32": "146511", - "2803:da60::/32": "267890", - "2806:2f0:9341::/42": "17072", - "2a00:6901:a003::/48": "20926", - "2001:df0:4e00::/48": "134823", - "2804:2630::/32": "264331", - "2804:5614::/32": "267513", - "2a00:9b00::/32": "29282", - "2a01:270:e003::/36": "29657", - "2001:559:3d1::/48": "7922", - "2001:559:82fc::/48": "7922", - "2001:678:968::/48": "206253", - "2001:67c:2c70::/48": "9201", - "2001:be8::/32": "13189", - "2408:8957:d400::/40": "17622", - "2600:5c00:3fca::/32": "20001", - "2a0f:dac0::/47": "60781", - "2606:3080::/32": "16423", - "2607:a000::/32": "22799", - "2800:bf0:8142::/48": "27947", - "2a02:cc4:2100::/41": "8211", - "2a02:2310::/32": "39817", - "2a06:12c0::/29": "33832", - "2001:559:c3f6::/48": "33657", - "240a:a5d2::/32": "144140", - "2804:517c::/32": "268455", - "2a01:a000::/32": "47474", - "2407:c280:da02::/48": "138510", - "2409:8051:3002::/40": "56047", - "2a02:26f7:d2::/48": "36183", - "2400:1a00:b051::/39": "17501", - "240a:aeb7::/32": "146417", - "2a04:4280:20::/48": "43260", - "2a0c:93c0:8000::/48": "212465", - "2a0e:97c1:a8c::/47": "20473", - "2001:559:232::/48": "20214", - "2620:12:4000::/48": "22945", - "2804:4bac::/32": "267323", - "2001:559:c26d::/46": "7922", - "240e:44d:2400::/41": "140345", - "2804:1db8::/32": "264389", - "2a07:9b40:1aa5::/48": "39702", - "2409:8e54::/28": "9808", - "2604:9d40:100::/44": "393290", - "2804:b58::/32": "52767", - "2c0f:ebd0::/34": "328608", - "2404:f4c0:fff0::/48": "140219", - "2a04:b540::/36": "61424", - "2001:1270:3001::/36": "22908", - "2620:107:9024::/48": "22787", - "2620:171:f6::/48": "715", - "2801:14a:c0::/44": "19429", - "2a00:10a0:6::/48": "199234", - "2a00:79e1:800::/45": "36384", - "2a0a:4300::/29": "56655", - "2001:559:471::/48": "7725", - "2001:559:8200::/48": "33659", - "240a:ac8a::/32": "145860", - "2607:f6f0:3000::/48": "19930", - "2620:ad:8000::/40": "52127", - "2806:267:300::/37": "13999", - "2806:2f0:7081::/42": "17072", - "2001:dc7:ffc7::/43": "24151", - "2408:8956:4800::/40": "17622", - "2803:4a10::/32": "271916", - "2a03:c500::/32": "51704", - "2a0b:b600:2000::/38": "57758", - "2a0d:6d80::/29": "204591", - "240a:ae13::/32": "146253", - "2604:d600:15ad::/43": "32098", - "2606:4700:2::/43": "13335", - "2620:1e:2000::/48": "396288", - "2804:6850::/32": "269684", - "2804:7388::/32": "270921", - "2a02:2e02:1210::/42": "12479", - "2400:ac00::/32": "45846", - "2607:fcd0::/39": "8100", - "2804:5194::/32": "268463", - "2001:678:15:8000::/46": "42385", - "2806:230:401b::/48": "11888", - "2a00:74c0:104::/32": "6659", - "2a02:1788::/32": "35838", - "2a0d:c7c1::/32": "43959", - "2a09:8880::/45": "56690", - "2001:df7:6700::/48": "138516", - "240a:a494::/32": "143822", - "2804:184c:104::/32": "61928", - "2804:7f8c:20::/32": "271695", - "2a02:c6c1:1::/48": "10929", - "2403:0:111::/45": "4755", - "2408:8756:4c00::/40": "136959", - "240a:a99b::/32": "145109", - "240e:908:8000::/39": "137698", - "2804:3ae4::/32": "266116", - "2a09:19c0:8000::/48": "56335", - "2c0f:f300::/48": "37153", - "2001:559:83d8::/48": "33661", - "2001:4878:8259::/48": "12222", - "2402:800:9655::/42": "7552", - "2606:4700:8040::/44": "13335", - "2a0f:52c0::/48": "58001", - "2804:14d:4400::/40": "28573", - "2804:1b0:e000::/31": "18881", - "2a0f:3c40::/29": "3175", - "2001:559:8378::/48": "33652", - "2402:800:9aa9::/43": "7552", - "2a0f:600:700::/48": "51044", - "2407:55c0::/32": "17538", - "240e:438:3020::/43": "140647", - "2620:82:6000::/48": "11048", - "2a00:dbc0::/32": "48885", - "2001:df2:7900::/48": "6939", - "2600:1004:f110::/31": "22394", - "2a00:1d32::/32": "9121", - "2a02:a000::/26": "5432", - "2001:559:72c::/47": "33659", - "2001:13c7:601f::/48": "64104", - "2806:310:1c::/46": "16960", - "2a0e:6400::/32": "209094", - "2605:a401:893f::/41": "33363", - "2001:67c:4bc::/48": "204896", - "2001:df7:8400::/48": "134819", - "2401:d800:9bc0::/42": "7552", - "240e:980:4200::/40": "58466", - "2600:6c2e:d0e::/38": "20115", - "2602:fdae::/36": "14106", - "2602:ff6e::/43": "63202", - "2620:135:2000::/40": "19704", - "2620:1d7:2::/48": "7545", - "2800:200:b4b0::/41": "12252", - "2803:1040::/35": "263751", - "2001:420:ffff::/48": "54140", - "2600:6c38:f::/43": "20115", - "2605:12c0::/32": "394743", - "2620:171:800::/44": "42", - "2804:59d8::/32": "268729", - "2806:2f0:2023::/48": "17072", - "2a0a:54c1:2a::/43": "62240", - "240a:adf2::/32": "146220", - "240a:af63::/32": "146589", - "240e:108:8c::/48": "4134", - "2600:1488:41c2::/34": "20940", - "2001:559:807d::/46": "33657", - "2804:248:4008::/32": "28598", - "2804:7cf0::/32": "271528", - "2806:230:3027::/48": "11888", - "2a03:2a81::/30": "47232", - "2a0b:7500::/29": "206859", - "2a0e:97c0:4d0::/48": "211024", - "2402:800:94ee::/43": "7552", - "2a09:bac0:11::/46": "13335", - "2a0b:4341:a0e::/48": "57695", - "2001:450:2015::/48": "3356", - "2a02:26f7:f3c1::/46": "20940", - "2a06:e7c0::/32": "202236", - "2a10:8000::/28": "8551", - "2408:8456:400::/42": "17622", - "2409:8924:2d00::/38": "56046", - "240a:a1ee::/32": "143144", - "2600:1415:d001::/37": "20940", - "2602:fd23:8::/48": "399760", - "2804:7e64::/32": "271621", - "2001:67c:2764::/48": "12552", - "2402:c800:fff8::/48": "37900", - "2405:6e00:440::/44": "133612", - "240e:473:8400::/41": "140485", - "2600:8807:1f62::/40": "22773", - "2a0d:f8c0::/42": "209122", - "240a:a578::/32": "144050", - "2606:c700:6000::/32": "53850", - "2804:494::/32": "52987", - "2a00:8dc0::/32": "57811", - "2001:fd8:a1::/46": "4775", - "2409:8000:1800::/40": "56048", - "2600:140f:2600::/48": "9829", - "2a02:128:10::/48": "48709", - "2a02:26f7:eccd::/42": "20940", - "2a06:9780::/29": "13199", - "2001:678:b40::/48": "208003", - "240e:ff:c004::/48": "134772", - "2605:7c80::/32": "393417", - "2001:dd8:17::/44": "30133", - "2400:cb00:a2c0::/48": "13335", - "2803:f840:6::/32": "269980", - "2a06:4fc0::/29": "3214", - "2001:550:3403::/45": "174", - "2001:559:441::/48": "7922", - "240a:adf9::/32": "146227", - "2600:d01:4000::/29": "20161", - "2620:106:7008::/48": "11795", - "2804:dfc::/32": "263042", - "2a07:a905:ffec::/46": "46261", - "2001:df4:6b00::/48": "136493", - "2409:8e50::/30": "56047", - "2a02:26f7:f6c8::/48": "36183", - "2001:4878:2141::/48": "12222", - "240a:a20b::/32": "143173", - "240a:a858::/32": "144786", - "2604:6600:e900::/40": "201106", - "2607:5d00:5::/46": "53587", - "2801:116::/48": "271827", - "2804:41d8::/32": "267460", - "2a0b:9780::/29": "41847", - "240a:ad2c::/32": "146022", - "2602:fd16:ced::/32": "62611", - "2a02:e183::/36": "33517", - "2a02:e7c0::/29": "50599", - "2001:559:42d::/48": "7015", - "2001:fd8:220b::/35": "4775", - "240a:a92a::/32": "144996", - "2001:559:c090::/48": "20214", - "2409:8948:8e00::/40": "24445", - "2806:2f0:3041::/46": "17072", - "2001:4d78:1900::/40": "15830", - "2602:fdfe::/36": "17177", - "2602:ff4d::/36": "20412", - "2800:550::/46": "7004", - "2804:3f84::/32": "265898", - "2001:559:85bb::/45": "7016", - "2001:67c:27dc::/48": "8426", - "2408:8244::/35": "140726", - "2607:a500:df01::/43": "12025", - "2804:1270:a1::/32": "262851", - "2a01:b740:a01::/48": "714", - "2404:b8c0::/32": "138968", - "240e:4b:4000::/37": "137687", - "2600:140f:5601::/39": "20940", - "2604:a940:1::/48": "54538", - "2607:f358:4::/46": "18779", - "2a02:23b0::/32": "44141", - "2a05:a400::/29": "8492", - "2001:df0:410::/48": "132228", - "240a:a25a::/32": "143252", - "2800:bf0:80e3::/45": "52257", - "2804:c14:4000::/34": "52671", - "2806:36a::/32": "265613", - "2409:8924:6f00::/35": "56046", - "2600:6000:f928::/41": "12271", - "2604:d600:1506::/43": "32098", - "2610:85:3000::/30": "6079", - "2a02:26f7:be80::/48": "36183", - "2a02:26f7:e5c4::/48": "36183", - "2a0f:5707:aaf0::/44": "56876", - "2001:978:2401:1::/36": "174", - "240a:a2b3::/32": "143341", - "240e:328::/32": "17638", - "2600:1007:a110::/36": "22394", - "2600:6c3a:44::/46": "20115", - "2603:c024:4000::/35": "31898", - "2607:fdf0:5e4f::/43": "8008", - "2804:50a0::/32": "268400", - "2a0f:3640::/29": "60262", - "2a10:4f40:1::/48": "28693", - "2402:800:322b::/41": "7552", - "240a:a039::/32": "142707", - "2620:13c:e000::/48": "19382", - "2a0d:4900::/48": "205996", - "2c0f:f050::/32": "327804", - "2001:559:80a8::/48": "7922", - "2804:14c:f42a::/45": "28573", - "2804:3f10:6101::/38": "262566", - "240e:473:9550::/40": "4134", - "2600:6c38:1df::/38": "20115", - "2602:fdcb::/36": "397646", - "2804:1924::/32": "61774", - "2a01:8840:ea::/45": "12041", - "2a02:2e02:8b80::/37": "12479", - "240a:a872::/32": "144812", - "2620:149:923::/40": "714", - "2a01:5b0:3::/48": "8391", - "2a0e:aa06:470::/44": "208618", - "240a:aa8a::/32": "145348", - "2604:8780::/32": "54972", - "2620:11b:4018::/48": "19210", - "2a00:9900::/29": "31252", - "2a02:b50:4000::/43": "30282", - "2001:fd8:2080::/39": "4775", - "2606:5000:3400::/33": "209", - "2a02:fa8:4400::/44": "25751", - "2607:fb20:10::/48": "14230", - "2a00:8740::/47": "49037", - "2001:e60:1000::/33": "4766", - "240a:a48e::/32": "143816", - "2804:d90::/32": "52639", - "2a10:bd80::/29": "212054", - "2001:1548::/38": "8280", - "2409:8053:3100::/37": "9808", - "2c0f:ef00::/32": "327900", - "2a04:4e42:401::/38": "54113", - "2001:559:c240::/48": "7922", - "2402:800:3bee::/43": "7552", - "240a:a1df::/32": "143129", - "2620:fd:8000::/48": "7922", - "2806:2f0:4042::/47": "17072", - "2a02:348:64::/43": "35470", - "2a02:26f0:6300::/48": "34164", - "2406:5ec0::/32": "141014", - "240a:a9c4::/32": "145150", - "2a02:5740:21::/48": "41564", - "2001:559:c06c::/48": "33287", - "2a0e:4980::/32": "15879", - "2001:559:837b::/48": "33652", - "2402:800:b440::/39": "7552", - "240a:a742::/32": "144508", - "2604:5400:8800::/35": "11776", - "240a:af62::/32": "146588", - "2804:7f7:2000::/33": "18881", - "240a:aab6::/32": "145392", - "240a:af4a::/32": "146564", - "2804:4b58::/32": "267299", - "2a00:8140::/35": "60351", - "2001:559:84a4::/48": "7016", - "2804:e94:41::/46": "262468", - "2a0f:5707:ac01::/46": "139589", - "2804:81c4::/32": "272475", - "2001:df2:5380::/48": "48024", - "2402:800:9b01::/44": "7552", - "2407:8440::/32": "135981", - "240a:adb1::/32": "146155", - "240e:947::/36": "139887", - "2620:130:800a::/47": "3356", - "2804:5ccc::/32": "268931", - "2001:559:4aa::/48": "13367", - "2001:559:817a::/47": "33668", - "2604:f500::/47": "16698", - "2804:48e4::/32": "267151", - "2a02:26f7:d644::/48": "36183", - "2600:140f:7401::/38": "20940", - "2804:10a4:4000::/35": "263642", - "2a05:3f00::/29": "201454", - "2a00:7a40::/32": "51945", - "2001:678:894::/48": "209894", - "2602:feda:da0::/44": "142055", - "2602:ff62:20e::/36": "61317", - "2604:6600:2::/45": "40676", - "2607:b580:12::/48": "19754", - "2804:e18::/32": "52544", - "2804:44d8::/32": "267657", - "2a10:7bc0:0:1::/64": "60905", - "2408:8256:2e61::/40": "17623", - "240a:acb6::/32": "145904", - "2804:5b0::/32": "266181", - "2a04:4040::/29": "60610", - "2a0d:a80::/29": "200851", - "2001:559:8406::/48": "7922", - "2404:1ec0::/32": "138511", - "2409:8d7f::/24": "9808", - "240a:a64f::/32": "144265", - "2600:6c38:6c::/43": "20115", - "2606:1000::/32": "20448", - "2804:673c:600::/40": "269615", - "2001:3c8:1702::/34": "4621", - "2001:559:c203::/48": "33667", - "2001:67c:788::/48": "16509", - "2001:67c:2b28::/48": "39489", - "2600:370f:3082::/47": "32261", - "2606:18c0:c::/47": "61317", - "2001:480:254::/39": "668", - "2001:44b8:4048::/48": "7545", - "2408:8856:8200::/28": "17816", - "2408:8956:4200::/40": "17622", - "2600:1011:9010::/39": "6167", - "2804:5958::/32": "268184", - "2a0c:f000::/48": "206976", - "2402:8100:2380::/37": "45271", - "2408:8459:6210::/42": "17623", - "2607:9e80:1201::/40": "397068", - "2620:171:aa::/48": "42", - "2a02:ee80:4272::/32": "3573", - "2a10:7b00::/29": "398559", - "2408:8444:100::/31": "140726", - "240a:acca::/32": "145924", - "2607:8f80::/32": "395470", - "2804:28c4::/32": "263979", - "2a00:7580:10::/48": "8659", - "2a0d:5940::/29": "58212", - "240a:aaca::/32": "145412", - "2606:2800:505b::/48": "14153", - "2806:230:2059::/36": "11888", - "2001:420::/33": "109", - "2804:2014::/32": "264463", - "2a09:da00::/32": "35913", - "2001:df2:b600::/48": "132645", - "2001:1248:5781::/46": "11172", - "2400:cb00:190::/44": "13335", - "2402:800:b620::/41": "7552", - "2a04:3bc0::/29": "34119", - "2a04:c580::/29": "12315", - "2a05:5800::/29": "200924", - "2a02:b48:8900::/30": "39572", - "2402:800:3ee0::/44": "7552", - "2604:6d00:2500::/48": "36223", - "2605:1b80::/32": "26153", - "2a0c:a980::/29": "210198", - "2001:559:c321::/48": "7922", - "2804:5364:2000::/33": "268581", - "2a03:d180:fffe::/48": "13172", - "2400:cb00:a7d0::/46": "13335", - "2403:4c0:8000::/33": "17639", - "2409:8c1f:75c0::/32": "9808", - "2409:8c2f::/34": "56041", - "2804:60::/42": "53066", - "2001:e20::/32": "17435", - "240a:aa01::/32": "145211", - "240a:a7a5::/32": "144607", - "2a01:788:aaac::/48": "34343", - "2a04:4e40:8600::/48": "54113", - "2001:559:30d::/48": "33657", - "2408:8409:1800::/40": "4808", - "2408:8459:2240::/40": "17623", - "2a02:750:11::/45": "42708", - "2a0b:2900:1f00::/40": "48582", - "2a0e:1c80:a::/48": "1299", - "2c0f:f1f0::/32": "328242", - "2001:978:9901::/37": "174", - "2401:bbc0::/32": "133527", - "2408:8459:8450::/38": "17816", - "2a07:c881::/32": "47557", - "240a:ace0::/32": "145946", - "2600:1007:a000::/44": "6167", - "2600:1403:6400::/48": "35994", - "2c0e:220c::/30": "37457", - "2001:559:5cd::/48": "33657", - "2001:678:84::/48": "51955", - "2401:d800:ba0::/41": "7552", - "2402:800:960f::/43": "7552", - "2403:400:600::/36": "23820", - "2404:ab00::/32": "132347", - "2600:380:3200::/33": "20057", - "2804:514:8001::/33": "262490", - "2001:559:72f::/48": "7016", - "2401:a400:5000::/34": "7477", - "2404:3e00:a500::/33": "38758", - "2408:8256:396e::/43": "17623", - "2605:5880::/48": "26167", - "2620:106:7000::/48": "11795", - "2800:160:1f08::/46": "14259", - "2001:559:c29d::/48": "33651", - "2402:800:92c5::/42": "7552", - "2409:8904:a740::/36": "24547", - "240a:a172::/32": "143020", - "2a0e:46c4:2c10::/44": "142289", - "2408:84f3:b040::/38": "17816", - "2804:22a8::/32": "264114", - "2804:482c::/32": "267102", - "2804:6994::/32": "270279", - "2a01:827::/32": "30722", - "2804:3920:4200::/40": "266013", - "2403:71c0:1000::/48": "43959", - "2605:a280:4000::/36": "15008", - "2804:7cd4::/32": "271521", - "2a00:b4a0::/32": "60388", - "2a0e:cc80::/29": "208766", - "2001:559:56e::/48": "7015", - "240e:979:4e00::/40": "134770", - "2600:1fa0:20c0::/44": "8987", - "2606:4880::/32": "26156", - "2a01:9dc0::/32": "11019", - "2a0d:ed80:300::/40": "6830", - "2001:470:69::/43": "6939", - "2001:559:87c7::/48": "7016", - "2404:f4c0:ff06::/48": "139247", - "2408:8256:377f::/48": "17816", - "2a02:26f7:e380::/48": "36183", - "2a02:2e02:39f0::/38": "12479", - "2a04:c940::/29": "25081", - "2804:7804::/32": "271215", - "2001:559:84ba::/48": "7015", - "2001:918:ff75::/48": "3303", - "2409:8a1a::/29": "132525", - "240e:982:3400::/36": "4134", - "2600:805:461::/36": "701", - "2804:6ac::/32": "262601", - "2804:6b58::/32": "270394", - "2001:559:822d::/48": "33652", - "2001:678:56c::/48": "41887", - "2400:9380:9270::/46": "4809", - "2400:ddc0:1001::/34": "4785", - "2409:802f:2b05::/48": "9808", - "2409:8904:8f90::/35": "24547", - "240a:a34d::/32": "143495", - "2001:559:81e6::/48": "7016", - "2001:4218::/32": "16637", - "240e:1:800::/33": "4134", - "2605:3a00::/47": "22768", - "2a01:cde0:c010::/48": "16028", - "2001:14f7:50::/32": "12355", - "2804:103c::/32": "52813", - "2a05:ff80::/29": "8758", - "2a0a:7a00::/29": "61317", - "2001:4e0:1020::/41": "2381", - "2001:67c:430::/48": "51523", - "2001:4b88::/32": "20640", - "240a:a36d::/32": "143527", - "2606:d380::/32": "7829", - "2804:8174::/32": "272455", - "2001:ce0::/47": "3662", - "2402:800:38c5::/43": "7552", - "2402:800:3d2b::/41": "7552", - "2800:160:1afb::/39": "14259", - "2600:1419:d401::/36": "20940", - "2001:559:8302::/48": "33651", - "240a:acae::/32": "145896", - "2620:74:2d::/48": "26415", - "2a01:81e0::/46": "199783", - "2a01:8840:6e::/43": "12041", - "2804:756c::/32": "271045", - "2a02:26f7:d255::/46": "20940", - "2a0c:53c0::/29": "204081", - "2600:1415:1401::/36": "20940", - "2600:1415:d800::/48": "9443", - "2600:6c7f:9022::/48": "20115", - "2604:3d80:200::/40": "11030", - "2804:1778::/32": "263146", - "2804:802c:203::/32": "271734", - "2a00:cc0:3::/44": "13237", - "2402:d000:1075::/33": "9329", - "2405:84c0:fcf5::/48": "211686", - "2408:840d:dd00::/42": "17621", - "2a00:e880::/32": "15557", - "2401:d800:9580::/42": "7552", - "2408:8256:318c::/48": "17816", - "2409:8038:2100::/36": "9808", - "2600:6c38:45e::/39": "20115", - "2801:126::/44": "262589", - "2a02:ee80:4254::/44": "3573", - "2402:800:2100::/35": "7552", - "2402:3d00::/32": "9597", - "2605:e900::/32": "122", - "2a02:6900:8814::/48": "7160", - "2a02:ee80:411e::/42": "3573", - "2001:559:165::/48": "33287", - "2001:559:82e5::/48": "7016", - "2001:1bb0::/32": "8342", - "2001:44b8:105f::/48": "4739", - "2804:49c:4210::/48": "7162", - "2804:1b04:17::/44": "53048", - "2001:67c:28d4::/48": "59467", - "2408:840c:3800::/40": "17621", - "2a02:26f7:2::/48": "36183", - "2a06:8640::/29": "55081", - "2401:ff80:180b::/45": "133954", - "2406:9840:10::/32": "134053", - "2600:140b:9400::/48": "31109", - "2605:3640::/32": "13476", - "2605:a404:962::/40": "33363", - "2800:160:17b4::/44": "14259", - "2a04:4e40:1e00::/48": "54113", - "2402:800:63b1::/41": "7552", - "2600:6c42::/32": "20115", - "2800:381:cccd::/34": "10834", - "2804:14d:68b3::/41": "28573", - "2a00:c0a0::/32": "200154", - "2001:559:84bc::/48": "33657", - "2408:8957:d800::/40": "17622", - "2607:f9a0::/32": "36149", - "2a02:2d8::/47": "9002", - "2001:559:376::/48": "33651", - "2001:559:c2e4::/48": "33287", - "2001:df3:7e00::/48": "135555", - "240a:a0e0::/32": "142874", - "240e:44d:6d00::/41": "140345", - "2600:1403:11::/48": "21342", - "2a03:1aa0::/33": "201730", - "2001:1838:9002::/40": "23352", - "2400:3c00:2::/32": "38258", - "2405:1c0:6283::/39": "55303", - "2804:788::/32": "262300", - "2001:550:5c00:100::/45": "174", - "2405:7f00:92a0::/39": "133414", - "2804:2df4::/32": "265314", - "2a05:fb00::/29": "1257", - "2a0c:1380::/29": "209984", - "2804:518::/32": "262491", - "2a0c:b641:7c0::/44": "206639", - "2a10:b940::/29": "5524", - "2001:6d0:4005::/48": "57503", - "2406:e780::/36": "63679", - "2408:8956:c100::/40": "17816", - "2409:8a50:700::/36": "56047", - "2620:107:90f1::/48": "22787", - "2806:2f0:2423::/48": "17072", - "2600:1406:2201::/37": "20940", - "2804:19c4::/32": "61817", - "2401:8e00:3800::/32": "9260", - "2401:d800:56e0::/39": "7552", - "2409:8062:3900::/28": "9808", - "2a05:b040::/29": "8453", - "2602:fcce:801::/39": "399200", - "2800:5f0:2037::/44": "22724", - "2804:f64::/32": "263583", - "2804:1ac4::/48": "61884", - "2a05:4140:420::/44": "213388", - "2409:8904:4e60::/39": "24547", - "240a:a293::/32": "143309", - "2806:230:100f::/48": "11888", - "2001:67c:15b8::/48": "48345", - "2401:fd80:ff00::/45": "139853", - "2607:f7a8:826::/48": "395749", - "2804:8134::/32": "272439", - "2a00:4900::/32": "12390", - "2a0c:dd41::/32": "197595", - "2001:df7:f300::/48": "138653", - "2401:d800:fdc0::/42": "7552", - "2408:8956:1800::/39": "17622", - "2803:1060::/32": "267809", - "2804:1cd4::/35": "61678", - "2a01:9b80::/32": "12301", - "2a02:26f7:b84c::/48": "36183", - "2a0f:9bc0::/30": "19969", - "2001:1b70:86ae::/48": "158", - "2600:1016:f050::/39": "6167", - "2604:f900::/32": "21779", - "2803:ecc0:3d00::/32": "264814", - "2a02:26f7:c600::/48": "36183", - "2a02:cb80:406a::/45": "43766", - "2a04:4e80:2::/47": "211400", - "2001:8b0::/57": "20712", - "2402:800:5ba9::/41": "7552", - "240a:a31a::/32": "143444", - "2606:65c0:30::/48": "399804", - "2800:1e0:b02::/37": "7195", - "2804:2164::/33": "264552", - "2804:816c::/32": "272453", - "2001:559:5cf::/48": "7015", - "2403:6000:903::/32": "24085", - "2405:2040:234::/34": "48024", - "2a06:f500::/29": "34549", - "2001:dc7::/48": "24406", - "2408:8459:c030::/41": "17622", - "2804:43cc::/35": "267590", - "2804:7654::/32": "271104", - "2a0b:58c0::/29": "42375", - "2a0c:b641:7f7::/44": "213310", - "2804:14d:4c95::/42": "28573", - "2a05:dfc7:8::/48": "200897", - "2402:c800::/40": "38639", - "2620:ba:c000::/48": "6971", - "2804:20b8:300::/35": "264510", - "2001:559:588::/48": "33657", - "2001:dc8::/47": "23902", - "2001:44b8:4042::/47": "4739", - "2607:fd48:d04:2::/34": "13536", - "2a03:4000::/31": "197540", - "240a:ae28::/32": "146274", - "240e:61:2000::/35": "136199", - "2806:230:1013::/48": "11888", - "2a02:26f7:c9c5::/46": "20940", - "2a05:4140:430::/44": "213388", - "2a06:6400::/29": "15576", - "2001:67c:29b8::/48": "48430", - "2404:7180:a000::/48": "23848", - "2a00:f10:ff02::/45": "48635", - "240e:473:6c50::/39": "4134", - "2409:8915:1c00::/39": "56044", - "240c::/48": "45275", - "2804:5d8::/32": "262546", - "2804:5f04::/32": "269071", - "2001:559:c125::/46": "33659", - "2406:e000::/38": "23655", - "2804:359c:6000::/32": "266296", - "2804:77a4::/32": "271190", - "2806:250:d::/46": "28509", - "2a06:5e40:1::/48": "204101", - "2a10:4646:16::/48": "212022", - "2001:67c:1044::/48": "50609", - "2600:100f:a010::/40": "22394", - "2402:93c0::/48": "59073", - "240e:3bc:7600::/39": "140313", - "2602:feb4:250::/44": "25961", - "2804:0:6c01::/32": "2716", - "2804:58b0::/32": "268144", - "2001:1578:200::/40": "12817", - "2408:8456:9410::/42": "134543", - "2801:80:3200::/48": "61572", - "2a02:26f0:b201::/37": "20940", - "2803:5c40::/32": "263796", - "2804:3ec::/32": "61570", - "2a0b:2542::/48": "137256", - "2001:559:841a::/48": "7922", - "2620:52:10::/48": "399140", - "2800:600:212::/37": "52323", - "2001:559:83f4::/48": "7922", - "2600:140f:1e01::/34": "20940", - "2804:61bc::/32": "269253", - "2a0f:280::/29": "57353", - "2001:c20:489b::/45": "3758", - "2406:fb00:1000::/48": "15224", - "2804:29cc::/32": "264035", - "2a0e:8f02:f005::/48": "212983", - "2402:a700::/32": "7575", - "2408:8459:4250::/37": "17816", - "240a:a8dc::/32": "144918", - "2a02:26f7:dfcc::/47": "36183", - "2a02:26f7:f485::/46": "20940", - "2a10:4040::/29": "213300", - "2c0f:f6d8:4004::/47": "3573", - "2001:4457:ff1::/32": "9299", - "2408:805d:1000::/26": "17816", - "240a:aed6::/32": "146448", - "2605:a404:4f::/43": "33363", - "2a01:9700:1100::/43": "8376", - "2a07:f840::/29": "201116", - "240e:978:1100::/37": "4134", - "2600:1417:63::/48": "24319", - "2001:559:8166::/48": "33657", - "2401:3cc0:201::/37": "137409", - "2409:8924:1700::/36": "56046", - "2401:cd81::/48": "63920", - "2401:d800:9980::/42": "7552", - "2408:8956:9200::/40": "17622", - "2800:190::/48": "11664", - "2a02:26f7:6::/48": "36183", - "2600:c0e:3011::/32": "13789", - "2a0a:df00::/29": "201894", - "2804:680:600::/36": "262589", - "2a0f:3000::/29": "12586", - "2001:468:700::/48": "20080", - "2804:1b0:1a84::/37": "18881", - "2001:678:7f8::/48": "200273", - "2620:13a:d000::/36": "395605", - "2001:678:f08::/48": "202325", - "240a:aafb::/32": "145461", - "2a00:16f8:f::/48": "6461", - "2a01:8dc0:109::/48": "29479", - "2a02:e08::/32": "41601", - "2a02:26f7:ca0d::/42": "20940", - "2401:4900:c00::/43": "45609", - "2600:1480:3100::/36": "20940", - "2600:1a0e:1::/37": "46650", - "2804:56cc::/32": "268024", - "2804:6d3c::/32": "270519", - "2a00:11c0:9020::/48": "42473", - "2a03:db80:5460::/48": "200943", - "2a0a:e5c0:14::/48": "207996", - "2001:559:c21c::/48": "13367", - "2001:678:29c::/48": "51143", - "2001:1260:300::/32": "13591", - "2400:7400:e037::/35": "38044", - "2401:ff80:1991::/46": "133954", - "2803:3b80:75::/35": "263702", - "2001:678:e3c::/48": "208169", - "2001:4b20:1000::/64": "65505", - "2600:5c01:319d::/41": "10796", - "2a01:b960:2309::/48": "209485", - "2a07:cf40::/32": "209578", - "2a09:9940::/48": "50007", - "240a:a8bc::/32": "144886", - "240e:438:e20::/43": "140647", - "2600:1010:9010::/39": "22394", - "2602:fd5d:100::/40": "62731", - "2804:51c:7400::/36": "262495", - "2001:503:4872::/48": "7342", - "2001:559:8514::/48": "33491", - "2001:1248:9932::/44": "11172", - "2001:44b8:8::/45": "4739", - "2400:6280:140::/48": "132280", - "2401:d800:f5c0::/38": "7552", - "2001:67c:2700::/48": "43382", - "2001:19d0:700::/32": "2044", - "2a05:7980::/29": "201246", - "2a0c:ce80::/32": "197113", - "240e:438:6e40::/35": "4134", - "2620:130:7004::/47": "27518", - "2a02:20b2::/32": "16278", - "2a0c:a640:20::/48": "42298", - "2a0f:5701:3519::/45": "206499", - "2001:67c:229c::/48": "212002", - "2001:4479::/37": "7545", - "2a00:5740::/32": "56582", - "2a02:26f7:b840::/48": "36183", - "2804:1918:184::/38": "52862", - "2001:4258::/32": "37084", - "240a:a25d::/32": "143255", - "240a:a6bd::/32": "144375", - "240a:a891::/32": "144843", - "240e:982:e300::/40": "134763", - "2605:a404:814::/42": "33363", - "2610:f0:30d7::/32": "22925", - "2a00:1e6b::/29": "42861", - "2a02:17e0::/32": "29164", - "2a04:6000::/29": "50477", - "240a:a700::/32": "144442", - "2607:f3d8::/32": "21513", - "2001:550:220c::/46": "174", - "2001:4878:c257::/48": "12222", - "2606:e600:ffff::/48": "11608", - "2800:160:1b3f::/41": "14259", - "2804:eb0::/32": "262968", - "2a02:26f7:f085::/46": "20940", - "2a02:2af8:405::/44": "702", - "2401:3140::/48": "55482", - "2605:b340::/32": "16713", - "2607:fcd0:fa80:7e01::/55": "8100", - "2001:559:859f::/42": "33659", - "2001:12f0:b0a::/43": "1916", - "2402:800:361d::/42": "7552", - "2604:2d80:6d00::/38": "30036", - "2604:6600:fe7d::/40": "40676", - "2806:2f0:3561::/46": "17072", - "2001:559:c091::/48": "33667", - "2402:800:3401::/44": "7552", - "2409:8904:6670::/40": "24547", - "2a02:610:7502::/32": "2588", - "2804:8:4002::/31": "14840", - "2001:253:121::/48": "142087", - "2001:559:c220::/48": "33667", - "2001:1800::/32": "10381", - "2402:800:5555::/42": "7552", - "2402:800:999b::/42": "7552", - "2409:8729::/27": "9808", - "2602:feb4:e0::/44": "25961", - "2a09:bac0:94::/48": "13335", - "2402:ef03:3::/45": "7633", - "2406:4d00::/48": "4808", - "2602:ff8f:fff::/48": "53274", - "2a02:26f7:d488::/48": "36183", - "2001:df4:d880::/48": "135967", - "2402:5100::/45": "9902", - "2409:8c50::/37": "56047", - "2001:4cf0::/29": "680", - "2408:84f3:f840::/44": "17623", - "240e:3:9000::/33": "4134", - "2604:d600:55f::/42": "32098", - "2605:8600::/32": "26827", - "2607:f110:37::/41": "21889", - "2401:ff80:1b01::/45": "133954", - "2600:140b:9801::/38": "20940", - "2800:160:1310::/45": "14259", - "2806:370:54c0::/43": "28403", - "2a02:e8::/32": "43128", - "2403:8ec0::/32": "134098", - "2604:d600:161c::/42": "32098", - "2607:fdf0:5eb5::/44": "8008", - "2a02:26f7:f5c9::/46": "20940", - "240a:aa83::/32": "145341", - "2600:1407:6800::/48": "35994", - "2800:160:10da::/42": "14259", - "2804:57ac::/32": "268079", - "2a01:7f8::/29": "15925", - "2001:559:47f::/48": "33489", - "2001:559:c334::/48": "33660", - "2408:872b::/38": "4837", - "2600:400:8500::/36": "15147", - "2804:669c::/32": "269571", - "2805:f10:f12::/45": "262182", - "2a00:9b40::/48": "44684", - "2400:89c0:2100::/48": "37936", - "2401:4900:5a30::/41": "45609", - "2401:d800:7cf0::/39": "7552", - "240a:a9f1::/32": "145195", - "2806:2f0:3580::/33": "17072", - "2001:559:87a0::/48": "7922", - "2401:8800:a04::/40": "17439", - "2800:200:b9f0::/37": "12252", - "2804:5aa0::/32": "268785", - "2a02:2b00::/32": "702", - "2603:c0ea::/35": "1218", - "2607:d300::/32": "8059", - "2a03:aa00:1001::/48": "204169", - "2001:678:a80::/48": "56796", - "2401:7200:2102::/48": "55328", - "2403:b100:cd00::/34": "9989", - "2408:84f3:2c40::/44": "17623", - "240a:ae8e::/32": "146376", - "2600:1401:4001::/34": "20940", - "2804:59dc::/32": "268730", - "2a10:2f00:109::/48": "207650", - "2a0c:e040::/39": "200629", - "2001:400:6610::/48": "3380", - "2400:c700:3002::/33": "55644", - "240e:d6:6800::/37": "133775", - "2600:40f1:1::/39": "701", - "2801:80:240::/48": "262511", - "2a04:4e40:1640::/44": "54113", - "2a07:3c80:200::/40": "209322", - "2402:9d80:a20::/41": "131429", - "2404:2280:10d::/48": "24429", - "2600:1008:b1d0::/42": "6167", - "2a02:4560::/46": "60157", - "2a02:45c0:14::/48": "3209", - "2a0f:fc0::/29": "60262", - "2604:d600:156a::/45": "32098", - "2806:2f0:1124::/41": "22884", - "2a03:2880:f15d::/46": "32934", - "2403:6040::/32": "17665", - "2607:f450::/32": "19170", - "2804:5a18::/32": "268748", - "2a01:8840:f7::/48": "207266", - "2001:1248:a566::/43": "11172", - "240a:a971::/32": "145067", - "2600:370f:73a5::/46": "32261", - "2804:5f9c::/32": "269112", - "2a01:9700:1384::/46": "8376", - "2a04:7d82::/32": "44974", - "2408:8459:ee10::/42": "17623", - "2408:870c:3000::/44": "138421", - "240e:980:2100::/40": "4811", - "2600:6c39:409::/39": "20115", - "2804:5a58::/32": "268767", - "2a00:5240::/32": "16331", - "2a01:b740:a20::/48": "6185", - "2a10:e540::/29": "211434", - "2402:7d80:241::/48": "63583", - "2600:1008:b140::/42": "6167", - "2804:50a8::/32": "268402", - "2a03:3a05::/30": "51420", - "240a:a61a::/32": "144212", - "240e:438:8a40::/37": "4134", - "2a04:3f83:4a::/29": "9120", - "2001:16c0:23::/32": "31732", - "2001:4d30::/32": "5555", - "2403:ad80:94::/48": "135309", - "2408:8956:bc00::/40": "17622", - "240a:a3a3::/32": "143581", - "240e:438:4c20::/43": "140647", - "2804:5758::/32": "268060", - "2a04:eb00::/29": "21412", - "2a0d:4300:2::/29": "204920", - "2a04:6680::/48": "198325", - "2a0c:5247:7000::/36": "59504", - "2a0e:68c0:2::/48": "209121", - "2001:559:818a::/48": "7015", - "2401:d800:76a0::/41": "7552", - "2600:9000:222b::/45": "16509", - "2602:ffd1::/45": "29802", - "2803:84c0::/32": "262191", - "2a00:4c40:3000::/32": "197965", - "2a01:540:7000::/32": "12389", - "2001:559:8336::/48": "33657", - "2001:4ba0::/31": "24961", - "2001:4de0:ac10::/46": "20446", - "2804:6af4::/32": "270368", - "2a02:188:5402::/29": "31027", - "2a02:4f00::/32": "44212", - "2a03:d602::/31": "42487", - "2001:500:a7::/48": "55195", - "2001:13b4:4002::/45": "3356", - "2409:8904:6040::/42": "24547", - "2600:9000:2029::/45": "16509", - "2804:7abc:4000::/32": "271389", - "2a03:4f00::/32": "5524", - "2a0b:b87:ffd1::/48": "29802", - "2001:dce:d454::/48": "38064", - "2605:9880:344::/47": "23470", - "2a0c:3000::/32": "34953", - "2a0e:aa07:f09b::/48": "208884", - "2400:cb00:172::/44": "13335", - "2001:49f0:d0dc::/42": "174", - "2401:4900:4dd0::/38": "45609", - "2402:7500:5ff::/38": "24158", - "2407:9e00::/48": "23888", - "2600:1408:7000::/48": "35994", - "2a02:26f7:efc4::/48": "36183", - "2605:8940::/32": "393398", - "2a0d:99c0::/29": "40970", - "2405:f3c0::/44": "140500", - "2408:8459:1a10::/42": "17623", - "2001:579:824::/40": "22773", - "240a:a413::/32": "143693", - "240e:c:7800::/31": "4134", - "2604:9d00::/32": "36489", - "2a09:6380::/32": "51269", - "2a0c:efc0:4::/36": "206356", - "2001:ee0:9740::/36": "45899", - "2406:1400:c100::/48": "24342", - "2607:f1e0:5200::/32": "19092", - "2804:14c:8300::/40": "28573", - "2001:559:8495::/48": "22909", - "2001:f10::/32": "17709", - "2600:1407:9001::/37": "20940", - "2804:204:306::/44": "28186", - "2400:380:9::/48": "4766", - "2401:1801:821::/32": "58683", - "2402:9900:c11::/48": "27435", - "2408:80ea:7580::/43": "17623", - "2604:5cc0::/35": "13351", - "2001:559:382::/47": "7725", - "2001:67c:1434::/48": "29560", - "2001:7f8:6b::/48": "58307", - "2607:fba8::/32": "7029", - "2803:de40::/32": "27879", - "2a0b:1740::/29": "42202", - "2a0e:b105:404::/46": "20473", - "2401:4900:4530::/46": "45609", - "2404:c8:3::/32": "10217", - "2404:a500:7::/48": "45854", - "2605:79c0::/32": "26801", - "2804:4a28::/32": "53194", - "2804:5d4c::/32": "268963", - "2409:805f:100::/36": "9808", - "2804:3700::/32": "262312", - "2a02:2170::/32": "41480", - "2a02:db80::/29": "48720", - "2a0f:f580::/29": "60262", - "240a:a052::/32": "142732", - "240a:ae94::/32": "146382", - "2001:559:25d::/48": "7922", - "2001:18e8:500::/38": "19782", - "2a02:26f7:eb04::/48": "36183", - "2c0f:e938::/32": "328714", - "2804:7534::/32": "271031", - "2a02:2e02:8c50::/40": "12479", - "2a03:90c0:9994::/44": "199524", - "2402:fbc0::/44": "134014", - "2804:14d:4c91::/45": "28573", - "2a04:6600::/29": "33856", - "2a04:f580:9280::/48": "4809", - "2a09:f9c0::/29": "61048", - "2602:805::/44": "53809", - "2602:ff96:1fe::/48": "40676", - "2803:1860::/32": "267823", - "2a0c:b641:2c0::/44": "212510", - "2a0f:3680::/32": "211476", - "2604:ee00:7::/48": "18865", - "2a0c:1a00::/32": "205389", - "2a06:7bc0::/29": "34373", - "2001:559:c36c::/48": "33651", - "2001:67c:6fc::/48": "29551", - "2001:67c:7fc::/48": "201460", - "2001:df3:2680::/48": "134351", - "2403:8600:e080::/43": "45820", - "2607:6480:8000::/35": "54112", - "2a06:7243:1e::/47": "202365", - "2001:559:48c::/48": "22909", - "2402:800:9efe::/39": "7552", - "2620:109::/43": "10753", - "2804:1c8::/32": "53184", - "2a02:582:7400::/29": "6799", - "2a0c:4187:8002::/33": "29854", - "2409:8e10::/30": "9808", - "240a:a66d::/32": "144295", - "2804:14d:8099::/41": "28573", - "2c0e:40:501::/23": "24863", - "2001:a60::/29": "8767", - "2001:4c08:2027::/32": "3356", - "2001:4cc0::/32": "8426", - "2605:7900:10::/47": "19133", - "2800:6a0::/32": "27932", - "2a06:6f00::/29": "197164", - "2a0c:a480::/29": "47777", - "2001:a90::/32": "21119", - "2401:d800:2ca0::/41": "7552", - "240a:a877::/32": "144817", - "2620:135:7001::/48": "7029", - "2804:4000::/32": "265927", - "2a04:b040::/46": "43350", - "2800:160:1656::/47": "14259", - "2804:3828::/32": "266460", - "2804:608c::/32": "269174", - "2a0f:74c0::/29": "207572", - "2600:1418:2001::/33": "20940", - "2604:4a80::/32": "54665", - "2804:2c30::/32": "265201", - "2409:4061:3000::/30": "55836", - "240a:a173::/32": "143021", - "2607:fb90:8e00::/35": "21928", - "2a04:c1::/30": "47123", - "2001:559:8108::/48": "33491", - "2620:9f:c000::/48": "6109", - "2804:1288:f99a::/37": "263482", - "2804:802c:130::/38": "271734", - "2806:230:2022::/48": "265594", - "2602:fca7:1::/46": "399318", - "2801:80:280::/48": "28631", - "2804:e30:409::/43": "11338", - "2803:1840::/32": "265688", - "2804:505c::/32": "268384", - "2a00:10d8::/31": "42005", - "2a05:7640:2090::/44": "174", - "240a:a54e::/32": "144008", - "2606:6c00:4000::/48": "32787", - "2804:7a94::/34": "271380", - "2a00:8a40::/32": "28978", - "2a07:1980:a::/45": "48851", - "2001:678:b0::/46": "6736", - "2602:fcc3::/48": "399135", - "2620:11c:3000::/40": "31764", - "2a00:ff0:fffe::/48": "25409", - "2a02:26f7:c045::/46": "20940", - "2a03:1a20::/48": "207467", - "2a10:92c0::/29": "211786", - "2001:550:8901:2::/37": "174", - "2408:8456:9c40::/38": "17816", - "2804:7db0::/32": "271576", - "2a01:c50f:91c0::/36": "12479", - "2001:678:38::/48": "48283", - "2401:4900:4538::/45": "45609", - "2409:8080:2a30::/41": "9808", - "2607:f1d8:d2::/32": "7795", - "2a06:bdc0:1a40::/29": "62240", - "2400:cb00:348::/47": "132892", - "2409:8d6b::/27": "9808", - "2401:d800:fca0::/41": "7552", - "240e:473:9800::/41": "140485", - "2a02:26f7:cb40::/48": "36183", - "2a02:26f7:dac5::/46": "20940", - "2a05:bec0::/42": "197071", - "2a06:a006:c5::/48": "40676", - "2001:1248:8809::/46": "11172", - "2400:cb00:a4c0::/47": "13335", - "240e:86:8000::/36": "17799", - "2803:be20::/32": "52444", - "2a0d:5085:1::/30": "62240", - "2605:1080:14::/47": "23367", - "2607:fdf8:400::/32": "13649", - "2a00:c020:4000::/36": "199551", - "2a10:e080::/32": "20473", - "2001:559:853e::/48": "7922", - "2001:678:384::/48": "207207", - "2406:c40::/32": "140602", - "2801:0:310::/48": "262238", - "2001:df6:4f00::/48": "136167", - "240a:ab29::/32": "145507", - "2804:71c4::/32": "270810", - "2a02:6900:881c::/48": "43894", - "2a05:9281::/32": "61385", - "2001:470:13e::/48": "14979", - "240e:e:d800::/31": "4134", - "2604:d600:15ee::/43": "32098", - "2800:160:1c58::/42": "14259", - "2001:4888:1a::/47": "22394", - "240e:979:3e00::/40": "134770", - "2610:b0:40ee::/47": "21433", - "2620:aa:c000::/48": "15304", - "2400:8b00:f00::/42": "45727", - "2401:d800:fbf0::/37": "7552", - "2404:b300:23::/48": "59318", - "2804:7060::/32": "270723", - "2a02:2e02:570::/40": "12479", - "2a03:5680::/32": "15495", - "2001:67c:2524::/48": "20626", - "2001:918:f00::/40": "8300", - "2620:f7:4000::/48": "2828", - "2001:15f0::/32": "213211", - "2001:44b8:204f::/48": "4739", - "2401:4900:5000::/44": "64610", - "240a:a785::/32": "144575", - "2001:4f8:c::/43": "1280", - "2407:1e00::/35": "45158", - "2408:8606::/28": "4808", - "2a02:26f7:e388::/48": "36183", - "2a02:ac80:b001::/33": "25145", - "2001:559:825f::/48": "33657", - "2a01:5ae0::/32": "12703", - "2a02:ee80:40c0::/47": "21433", - "2403:2140::/32": "9751", - "2403:2500:8000::/48": "36236", - "2406:2000:98::/48": "38032", - "240a:ad2e::/32": "146024", - "2620:132:e000::/48": "41690", - "2804:67f4::/32": "269661", - "2001:678:f74::/48": "213027", - "2401:d800:72e0::/39": "7552", - "2404:7c00::/47": "45650", - "2408:8245::/35": "140726", - "2a0b:b87:ffea::/48": "201331", - "2600:80c:200::/36": "11486", - "2602:fdb0::/36": "21853", - "2a01:6320::/32": "197580", - "2a02:e220::/30": "61094", - "2401:d800:7420::/41": "7552", - "2408:8256:3175::/48": "17623", - "240a:a681::/32": "144315", - "2804:5238::/32": "268503", - "2a02:ac80:4001::/35": "25145", - "2001:978:6000:1::/37": "174", - "2401:7500:fff4::/47": "133296", - "2406:840:f900::/48": "139833", - "2605:6f40::/32": "207976", - "2001:67c:750::/48": "206170", - "2402:3580:8011::/48": "134118", - "2406:6cc0:a200::/48": "4622", - "2a01:c50e:1900::/37": "12479", - "2001:559:85e7::/48": "33659", - "2001:e60:d8b0::/45": "4766", - "2604:9b00:4800::/38": "14230", - "2806:2f0:94c0::/39": "17072", - "2a06:8280::/43": "51786", - "2001:1248:5f3f::/41": "11172", - "2603:b0a3::/28": "11796", - "2a05:52a0::/30": "201401", - "2a05:aec0::/29": "201026", - "240e:966:ec00::/31": "4134", - "2001:468:d00::/48": "4600", - "2001:559:5b7::/48": "33657", - "2404:7900::/32": "131160", - "2a02:2788::/36": "12392", - "2001:559:81b9::/48": "7015", - "2001:67c:2950::/48": "3303", - "2402:9900:111::/48": "27435", - "2607:fdf0:5e5a::/47": "8008", - "2800:160:16dd::/46": "14259", - "2a00:11c0:d::/42": "42473", - "2a04:4e40:c800::/48": "54113", - "2001:504:35::/48": "14432", - "2600:6000:fd53::/48": "11351", - "2804:57fc::/32": "268099", - "2a00:1c30::/32": "12659", - "2a01:7d20:a00::/40": "203645", - "2407:1300::/32": "132850", - "2804:bb4::/32": "52812", - "2804:51d0::/32": "268479", - "2a03:f280::/29": "42306", - "2001:4478:ff01::/48": "4739", - "2401:ff80:1585::/44": "133954", - "2600:1015:b130::/41": "6167", - "2a02:26f7:f448::/48": "36183", - "2a02:2e02:15c0::/38": "12479", - "2a04:b647::/32": "28979", - "2001:559:14e::/48": "7016", - "2001:16e0::/29": "12611", - "2a04:8900::/29": "38938", - "2001:67c:15b0::/48": "3257", - "2001:4d70::/32": "201210", - "2401:4300:1::/45": "45184", - "2600:1406:5801::/34": "20940", - "2a01:c50f:3180::/42": "5511", - "2001:559:47d::/48": "33491", - "2404:8500::/32": "55470", - "2800:310:3::/43": "18678", - "2a01:b960:2307::/48": "210266", - "2620:74:a9::/45": "7342", - "2001:3c8:1601::/48": "38589", - "2001:559:c138::/48": "33651", - "2401:ff80:1c11::/46": "133954", - "2404:b300:400::/48": "131207", - "2408:8957:ef40::/40": "17816", - "2600:9000:200f::/42": "16509", - "2607:f4b8::/32": "22438", - "2a09:b0c0::/32": "9063", - "2001:4178::/29": "15456", - "240a:a6ab::/32": "144357", - "2604:f640::/32": "19584", - "2a01:1101:6::/28": "5617", - "2001:1a11:10a::/48": "8781", - "2401:c5c0:4::/41": "55492", - "2407:be40::/32": "135717", - "2408:8459:850::/38": "17816", - "2409:8914:6800::/39": "56044", - "240a:a9db::/32": "145173", - "2001:559:c26b::/48": "33659", - "2402:800:7120::/41": "7552", - "240a:ad99::/32": "146131", - "2800:160:168d::/42": "14259", - "2804:219c::/32": "264564", - "2a02:26f7:d5c5::/46": "20940", - "2804:14d:5cf0::/44": "28573", - "2804:7604::/34": "271084", - "2a00:47c0:611::/48": "27435", - "2001:468:301::/41": "11537", - "2001:1388:8a45::/48": "6147", - "2404:c300::/32": "4859", - "240a:ad85::/32": "146111", - "2620:10a:9033::/48": "11133", - "2804:52f4::/36": "268552", - "2804:6fcc::/32": "270685", - "2001:67c:291c::/48": "211935", - "2607:fda8:8005::/46": "6128", - "2a02:26f7:d8c8::/48": "36183", - "2001:67c:2ad8::/48": "198611", - "2001:44b8:30c3::/48": "4739", - "2400:4ec0::/32": "64300", - "240a:a190::/32": "143050", - "2804:2974::/32": "264016", - "2a05:4b80::/29": "59395", - "2c0f:ec40::/35": "327936", - "2400:7700::/32": "56214", - "2401:d800:f9e0::/38": "7552", - "2406:ce00::/29": "9370", - "2a07:8c40::/47": "202810", - "2001:559:c1bd::/48": "7725", - "2a02:f78::/32": "42927", - "2001:559:710::/48": "33657", - "2605:4b00::/32": "33203", - "2607:f220:300::/44": "22828", - "2804:6750::/32": "52648", - "2804:76cc::/35": "271135", - "2a00:5760::/32": "61012", - "2a00:5e80::/32": "15557", - "2a01:c50e:d300::/36": "12479", - "2a04:5200:69::/33": "50113", - "2001:559:517::/48": "7016", - "2001:df7:cc00::/48": "135905", - "2620:114:5073::/40": "1638", - "2402:5c80::/32": "132296", - "2409:8b03::/32": "9808", - "2001:559:fc::/47": "7922", - "2001:559:77b::/48": "20214", - "2804:7c7c::/36": "271499", - "2a02:638::/32": "34803", - "240a:a22d::/32": "143207", - "2803:9ba0::/32": "263750", - "2a03:8900::/32": "1197", - "2a06:6940::/29": "20559", - "2a0c:9a40:c000::/47": "209022", - "2a10:30c0::/30": "208256", - "2a02:6160::/32": "47272", - "2001:579:40ff::/39": "22773", - "2001:a38::/32": "20633", - "2408:8456:b010::/42": "134543", - "2607:fad0:1000::/34": "32244", - "2607:fc48:c18::/48": "40009", - "2804:4afc:c000::/35": "267276", - "2a00:b160::/32": "47586", - "2a03:7a00::/32": "42908", - "2400:fc00:4030::/41": "45773", - "2604:8880::/32": "8304", - "2606:5580::/47": "63242", - "2610:b0:40d8::/47": "21433", - "2001:5a0:5202::/32": "6453", - "2001:6b0:5::/32": "1653", - "2001:4b22::/64": "65505", - "2400:1240::/32": "64098", - "2409:8087:6100::/38": "9808", - "2800:bf0:8085::/44": "27947", - "2a01:6780:7::/48": "8426", - "2408:8406:3c00::/39": "4808", - "240a:a087::/32": "142785", - "2620:102:b001::/48": "7195", - "240a:a799::/32": "144595", - "240a:aad1::/32": "145419", - "2801:18c:10::/32": "28637", - "2a02:ac80:b1::/41": "25145", - "2605:1800::/32": "16863", - "2806:211:40::/48": "28539", - "2a01:6200::/32": "16095", - "2001:6d9::/29": "8323", - "2401:d800:3000::/33": "7552", - "2600:1405:b001::/33": "20940", - "2800:bf0:8090::/45": "52257", - "2001:418:1401:9::/64": "20940", - "2604:e8c0:1::/45": "62805", - "2a00:ef60::/32": "12826", - "2001:67c:22fc::/48": "56848", - "2605:3380:1000::/36": "62947", - "2804:704c::/32": "270718", - "2a02:2e02:f60::/40": "12479", - "2a03:17e0::/32": "15623", - "2a07:5480::/29": "203034", - "2a0e:a680::/48": "8767", - "2001:dc8:3000::/48": "23962", - "2801:80:510::/48": "52652", - "2804:5770::/32": "268065", - "2804:80a4::/32": "271764", - "2a06:f901::/36": "56630", - "2a0c:3800:400::/48": "202410", - "2401:d800:b360::/40": "7552", - "2409:8b34:aa00::/33": "9808", - "240a:ade6::/32": "146208", - "2620:146:d::/48": "16500", - "2001:559:d3::/48": "7015", - "2620:11d:60c0::/46": "30548", - "2806:230:6012::/48": "265594", - "2001:559:c345::/48": "7922", - "240a:aa44::/32": "145278", - "2401:32c0::/32": "136176", - "2408:80c5::/33": "4837", - "2408:8957:4b00::/40": "17816", - "240a:a9c3::/32": "145149", - "2605:a404:32f::/41": "33363", - "2804:47a4:500::/32": "267067", - "2804:4c14:eb01::/35": "267348", - "2404:a800:3001::/48": "9498", - "240e:438:6c40::/38": "4134", - "2801:15:a800::/48": "19429", - "2a01:8a60:200::/32": "60191", - "2001:502:8cc::/48": "397197", - "2408:8256:3491::/46": "17816", - "2800:190:4005::/32": "11664", - "2600:100a:b1e0::/33": "22394", - "2607:b680::/32": "174", - "2001:67c:28d0::/48": "212415", - "2401:d800:f860::/40": "7552", - "2804:3d84::/32": "266536", - "2804:6e48::/32": "270586", - "240e:720::/32": "140061", - "2001:67c:201c::/48": "200577", - "2404:8680:1000::/36": "135161", - "240a:a593::/32": "144077", - "2620:171:d0::/48": "715", - "2a02:cb43:4007::/48": "20546", - "2001:559:c0ec::/48": "7016", - "2001:41d0:fc00::/38": "35540", - "2001:4479:f000::/39": "7545", - "240e:63:8000::/34": "140316", - "2a00:1520::/32": "51815", - "2001:678:560::/48": "49225", - "2401:d800:7b10::/42": "7552", - "2a09:e240:1::/48": "35133", - "2a0d:1a43::/32": "208590", - "2001:579:8c4::/43": "22773", - "2001:678:c70::/48": "47937", - "2001:1291:20fa::/32": "16735", - "2001:4de8::/32": "29208", - "2620:57:4004::/44": "62831", - "2804:2a3c::/32": "264066", - "2a02:26f7:e6c5::/46": "20940", - "2a0e:b105:680::/46": "20473", - "2600:1007:f006::/47": "22394", - "2600:1415:1801::/37": "20940", - "2603:c002:9210::/39": "31898", - "2604:d600:92a::/37": "32098", - "2620:115:6::/41": "18888", - "2a02:2188:2000::/36": "60848", - "2a02:26f7:fac4::/48": "36183", - "2804:25b4::/32": "264297", - "2a09:2900::/48": "212710", - "2403:6d00:2000::/32": "56094", - "240a:a24e::/32": "143240", - "2a01:4520::/32": "25459", - "2a02:26f7:ef01::/46": "20940", - "2001:559:c0b7::/48": "33287", - "2405:7000:500::/34": "9354", - "240a:a937::/32": "145009", - "2804:67b8::/32": "269646", - "2a02:26f7:f6cc::/48": "36183", - "240a:ae6b::/32": "146341", - "2001:468::/40": "11537", - "2001:559:806d::/48": "33287", - "240e:968:3000::/30": "4134", - "2806:286:9000::/34": "265524", - "2a05:3343:d::/42": "36351", - "240e:473:a920::/41": "140486", - "2600:141b:d::/43": "20940", - "2602:feda:d70::/44": "138435", - "2605:9740::/32": "398052", - "2001:559:8517::/48": "33491", - "2402:4200:1100::/48": "24284", - "2404:bf40:a142::/40": "139084", - "2405:1c0:7911::/45": "135062", - "2605:6080::/32": "62833", - "2806:2f0:3284::/42": "17072", - "2402:800:55e0::/44": "7552", - "2804:6ab8::/32": "270355", - "2a0d:7440:22::/48": "64474", - "2001:468:c80::/48": "1312", - "2001:720::/32": "766", - "2402:7d80:6667::/35": "63582", - "2403:1300:3000::/32": "56286", - "240e:44d:6680::/41": "4134", - "240e:b18::/26": "4134", - "2804:40:6000::/36": "28657", - "2001:4998:14::/48": "14777", - "2607:6980:e000::/44": "36351", - "2a05:3343:4::/46": "134433", - "2606:8e80:800::/37": "32133", - "2620:0:2810::/48": "14607", - "2a0c:b642:4000::/36": "39421", - "2408:8456:1f00::/42": "17622", - "2600:1413:4001::/34": "20940", - "2607:f670:111::/32": "10587", - "2a02:26f7:c5c1::/46": "20940", - "2a0e:a600::/29": "209050", - "2001:978:7402::/38": "174", - "2401:d800:7ab0::/41": "7552", - "2408:8256:2c61::/40": "17623", - "2600:6c38:84b::/43": "20115", - "2607:4d00:4000::/35": "33260", - "2806:230:1019::/48": "11888", - "2a0c:9a40:1019::/45": "202479", - "240e:18:10::/47": "4811", - "2804:14c:f431::/40": "28573", - "2804:3138:c000::/35": "265000", - "2804:63e4::/32": "269390", - "240a:a57a::/32": "144052", - "2603:c0e0:2910::/40": "54253", - "2804:d7c:200::/35": "52634", - "2a00:12f8:410::/32": "9198", - "2400:adc0:4311::/48": "9541", - "240a:a069::/32": "142755", - "240a:a441::/32": "143739", - "2603:c012:8000::/36": "31898", - "2800:e03:c000::/28": "27665", - "2a02:4d40::/32": "25394", - "2a02:60a0::/32": "8793", - "2a0f:6580:104::/48": "200334", - "2600:1405:5001::/37": "20940", - "2803:c610::/32": "271941", - "2a02:26f7:1::/48": "20940", - "2408:8256:2f97::/44": "17623", - "240a:71:8000::/35": "2497", - "2600:1003:b030::/40": "22394", - "2804:5a0c::/32": "268742", - "2a00:1808::/32": "196843", - "2001:678:d18::/48": "213343", - "2600:370f:7024::/46": "32261", - "2620:2b:e000::/48": "22697", - "2a01:358::/35": "9121", - "2c0f:fcb8::/32": "37323", - "2001:559:20a::/48": "33660", - "2001:67c:25b0::/48": "29105", - "2001:16d8:ed00::/38": "16150", - "2a06:8040::/29": "41332", - "2001:559:8397::/48": "7015", - "2001:ce0:2800::/40": "7651", - "2402:2500::/45": "13445", - "2408:8957:8c00::/40": "17622", - "2604:5500:e800::/38": "19165", - "2607:f248::/32": "12009", - "2806:2f0:61e1::/43": "17072", - "2600:1408:2001::/36": "20940", - "2800:160:1353::/45": "14259", - "2a02:2e02:1ee0::/39": "12479", - "2001:fd8:18c0::/37": "4775", - "2400:ed00:1::/48": "7595", - "240e:c2:1800::/37": "63835", - "2603:c0e8:1000::/38": "1218", - "2620:10b:7000::/46": "11483", - "2800:bf0:2c6::/35": "27947", - "2804:43f0::/32": "267600", - "2a0a:fa40::/29": "210107", - "2001:678:394::/48": "8995", - "2001:678:e60::/48": "212596", - "240a:a182::/32": "143036", - "240a:a821::/32": "144731", - "2804:1a04:8000::/33": "61832", - "2804:2cac:1112::/32": "265234", - "2a02:26f0:9701::/36": "20940", - "2001:6f8:1903::/48": "3257", - "2403:9140:2::/45": "18101", - "240a:a997::/32": "145105", - "2a0d:40::/29": "39204", - "2401:8e00:801::/34": "9260", - "2404:1a0:2009::/43": "24334", - "2804:5554::/32": "262405", - "2a02:ac87:ac88::/33": "25145", - "2a0c:8f40::/29": "199216", - "240a:a3ab::/32": "143589", - "2604:f940:7::/32": "397134", - "2803:6700:220::/48": "263210", - "2001:559:37e::/48": "33651", - "2001:df1:6001::/48": "4755", - "2400:9bc0::/46": "55313", - "2404:ec:340::/37": "703", - "2c0f:fe38:8::/34": "33771", - "2001:559:26::/48": "33491", - "240a:a966::/32": "145056", - "2605:4a00:310::/44": "14361", - "2804:69d0::/32": "270293", - "2a00:1b40::/32": "47777", - "2a02:26f7:cfc5::/46": "20940", - "2001:559:98::/48": "33652", - "240a:a405::/32": "143679", - "2804:1440::/32": "263321", - "2a00:7940::/32": "20847", - "2a0c:9a40:1091::/46": "34927", - "2402:800:53c5::/43": "7552", - "2a03:49c0::/32": "58081", - "2607:f3f8:8001::/33": "19019", - "2806:230:3026::/48": "265594", - "2001:2092::/32": "3308", - "2404:4600:6::/48": "38099", - "2602:fd7d:200::/36": "16925", - "2804:c28::/32": "262983", - "2606:c280::/32": "394968", - "2c0f:ef28::/32": "328333", - "2001:559:473::/48": "33659", - "2406:9a00::/32": "17649", - "2a03:a960::/47": "61317", - "240a:a93e::/32": "145016", - "2803:8240:db::/32": "52511", - "2a02:26f7:f4c0::/48": "36183", - "240e:640:cf00::/34": "4134", - "240e:982:e100::/40": "134764", - "2606:2680:b000::/48": "7138", - "2001:448a:10b0::/41": "7713", - "2a02:e980:30::/40": "19551", - "2001:67c:2dd8::/48": "43351", - "2001:4300::/32": "31065", - "2409:8915:5c00::/39": "56044", - "240e:940:ce00::/40": "136197", - "240e:965:ea00::/39": "133776", - "2800:160:226e::/47": "14259", - "2001:559:c3f3::/48": "33287", - "2405:1c0:6a81::/48": "135062", - "240a:aa8e::/32": "145352", - "2804:694:4500::/36": "262596", - "2001:550:2801::/48": "63199", - "2001:559:8001::/48": "26868", - "240a:aefb::/32": "146485", - "2804:c90:601::/33": "28198", - "2804:3b38::/32": "266136", - "2a02:26f7:f6d9::/46": "20940", - "2a0c:9a40:8089::/48": "202297", - "2001:559:c293::/48": "7015", - "2a04:ee00::/29": "56724", - "2a10:5c0::/29": "201299", - "2600:1010:ff10::/40": "22394", - "2804:14c:f2::/37": "28573", - "2a02:26f7:e209::/42": "20940", - "2a04:ac00:4::/48": "201848", - "2a09:6980::/29": "56598", - "2a09:8280:50::/42": "40509", - "2a0e:1200::/29": "209112", - "2400:3dc0:401::/39": "134371", - "240a:a5b3::/32": "144109", - "2620:12d:400e::/47": "53988", - "2a02:9b0:a::/43": "35819", - "2001:4878:204::/48": "12222", - "2804:61e8::/32": "269264", - "2804:6254::/32": "269290", - "2a02:26f7:be88::/48": "36183", - "2001:44b8:30a0::/46": "7545", - "2804:6938::/32": "270256", - "2a0f:8340::/29": "29608", - "2a09:2500::/48": "206576", - "2001:559:277::/48": "7016", - "2001:648:2cf0::/38": "5408", - "2402:cf80:1001::/46": "395403", - "2605:5f80::/32": "62900", - "2605:f700:80::/44": "18978", - "2804:12e8::/32": "53082", - "2806:230:5012::/48": "265594", - "2001:559:8669::/48": "33491", - "2402:800:94a9::/43": "7552", - "2404:59c0::/34": "58507", - "2606:ae00:8000::/38": "7287", - "2800:160:1c02::/45": "14259", - "2602:809:8000::/44": "397919", - "2604:d600:103f::/41": "32098", - "2605:f700:40::/46": "18978", - "2620:109:a000::/45": "15294", - "2001:13f0::/32": "28118", - "240a:a5fc::/32": "144182", - "2803:c010:10::/46": "271799", - "2a02:26f7:c746::/47": "20940", - "2a06:c5c0:700::/48": "44709", - "2001:550:9101::/38": "174", - "2402:23c0::/32": "137210", - "2408:8456:4e40::/39": "17816", - "2600:6:ff89::/42": "1239", - "2a03:7580::/34": "28785", - "2606:5e00:f000::/36": "14576", - "2a03:6e60:1::/48": "47720", - "2001:678:80c::/48": "29560", - "2407:c3c0::/32": "142454", - "2408:8957:28c0::/38": "17816", - "240e:5f:6004::/44": "4134", - "2a03:d6c0::/32": "199370", - "2001:559:5b2::/48": "33287", - "2001:559:8391::/48": "33667", - "2405:84c0:ff13::/48": "9886", - "2800:310:2::/48": "262589", - "2804:218:7003::/32": "27715", - "2806:310:2e::/43": "16960", - "2a02:98:d51::/48": "8468", - "2a05:d050:4080::/44": "16509", - "2001:1248:8461::/44": "11172", - "2001:44b8:2045::/48": "4739", - "2001:5014:400:4::/64": "6461", - "2a02:26f7:cf0a::/42": "20940", - "2001:460:90::/46": "7991", - "2001:559:c3c1::/48": "33659", - "2001:b10:6000::/35": "16283", - "240a:a11b::/32": "142933", - "240a:a274::/32": "143278", - "2a02:26f7:ec88::/48": "36183", - "2001:468:100::/40": "11317", - "2408:8957:1b40::/40": "17816", - "2804:6ef4::/32": "270629", - "2001:df0:7::/48": "8075", - "2801:1fc:1a::/48": "27951", - "2804:7f14::/32": "271665", - "2a03:3e80::/32": "50372", - "2a0e:a380::/29": "207902", - "2a09:8680::/29": "38946", - "2402:68c0:a000::/36": "137432", - "2405:1c0:6335::/41": "55303", - "2604:dc00:7409::/41": "19752", - "2605:9cc0:302::/48": "14618", - "2804:cc8::/32": "52554", - "2a02:26f7:e7c0::/48": "36183", - "2a02:26f7:edc8::/48": "36183", - "2001:67c:7b0::/48": "57287", - "2804:301:1000::/36": "53237", - "2a02:2218::/29": "41157", - "2a05:7180::/29": "35684", - "2a0e:fb46::/32": "51837", - "240a:a9a8::/32": "145122", - "2804:7b08::/32": "271407", - "2a04:a802:102::/32": "3549", - "2a01:250:f000::/36": "34511", - "2001:67c:2f80::/48": "42251", - "240a:a922::/32": "144988", - "240a:aa73::/32": "145325", - "240a:af14::/32": "146510", - "2600:1403:9c01::/34": "20940", - "2604:f540::/32": "36435", - "2605:5080:5011::/42": "3367", - "2402:2c80::/32": "134090", - "240a:a1aa::/32": "143076", - "240a:a81d::/32": "144727", - "2602:fc7a::/36": "399612", - "2607:fda8:1015::/46": "6128", - "2a03:c980:e5::/48": "210079", - "2001:1838:1009::/46": "23352", - "2405:1700::/32": "132395", - "240e:fe::/35": "140317", - "2600:c0a::/32": "12180", - "2800:40:32::/47": "16814", - "2804:4368:500::/32": "267568", - "2a07:600::/29": "13030", - "2001:6d0:6d0::/48": "43832", - "2001:df0:cd80::/48": "139279", - "2800:4f0:50::/40": "28006", - "2a0a:de00::/32": "8758", - "2001:1450::/32": "5602", - "2405:a480::/32": "63981", - "2408:861a::/31": "4837", - "2804:7f08::/44": "271662", - "2001:559:250::/46": "33652", - "2607:fdf0:5e5c::/42": "8008", - "2001:559:fa::/47": "33660", - "2607:1380::/47": "6576", - "2804:3e50::/39": "266587", - "2a05:dac0::/46": "44166", - "2001:4c70::/32": "28678", - "2400:e3c0::/32": "45267", - "2404:8d00:1020::/37": "24378", - "2804:2204::/32": "264586", - "2804:3e04::/35": "266568", - "2a02:26f7:fac1::/46": "20940", - "2001:559:5b3::/48": "13367", - "2001:1248:84e4::/44": "11172", - "240e:44d:3780::/41": "4134", - "2602:feda:f4::/48": "38023", - "2602:ffe4:c4b::/48": "21859", - "2806:230:2002::/48": "265594", - "2001:798::/32": "20965", - "2402:9c00::/32": "9676", - "2402:ab40::/35": "137541", - "2a00:8a80::/29": "29119", - "2a02:26f7:c585::/46": "20940", - "2a0d:1080:1::/48": "47215", - "2600:380:f880::/39": "20057", - "2a01:7440::/32": "12739", - "2a02:298::/32": "6908", - "2001:d98:e000:8::/35": "18106", - "2803:7be0::/32": "270093", - "2a0f:b4c7::/32": "47596", - "2a0f:f240::/32": "13282", - "2001:3c8:1202::/48": "4762", - "2001:550:102::/48": "16409", - "2405:1c0:6681::/46": "135062", - "240e:108:89::/48": "4134", - "2605:9780:1800::/40": "36180", - "2a00:6060:ee38::/35": "60983", - "2001:559:300::/48": "33659", - "2406:7340::/32": "132566", - "2606:2400:1002::/48": "16896", - "2804:4644::/32": "266979", - "2a01:6a8::/32": "34554", - "2607:f7a8:163d::/48": "46887", - "2620:a8::/48": "237", - "2600:1408:2c00::/48": "35994", - "2804:1c1c:3001::/33": "61638", - "2804:75f0::/32": "271079", - "2a02:ad40::/29": "21207", - "2001:559:7a::/48": "33657", - "2408:8956:6a00::/40": "17622", - "240a:a2c5::/32": "143359", - "2804:6054::/32": "269160", - "2001:559:c0c7::/48": "33287", - "2001:579:5a64::/40": "22773", - "2804:266c::/32": "12989", - "2a01:a820::/32": "61042", - "2a03:db80:3411::/36": "680", - "240a:adfd::/32": "146231", - "2604:1380:4400::/44": "54825", - "2a01:8840:62::/45": "12041", - "2604:bc0:5::/46": "46562", - "2607:f928:2::/48": "16905", - "2406:140::/32": "398704", - "2620:119:5011::/48": "13443", - "2804:2b88::/32": "265158", - "2a0c:bc00::/29": "205344", - "2403:c00:1000::/40": "17488", - "2804:2050:5a6f::/43": "264485", - "2a05:bec0:41::/29": "197071", - "2a0a:54c1:53::/45": "62240", - "2401:3c0:20d::/46": "45528", - "240a:a21e::/32": "143192", - "2a05:7f00:190::/47": "1921", - "2001:559:810b::/48": "7015", - "2001:568:800::/40": "7861", - "2406:c940::/32": "58972", - "240a:abda::/32": "145684", - "2620:11f:5000::/40": "393869", - "2a0b:2900:7f::/48": "48582", - "2c0f:f230::/32": "328193", - "2402:800:542b::/41": "7552", - "2804:14d:68b1::/46": "28573", - "2a02:26f0:37::/44": "20940", - "2a02:26f7:b880::/48": "36183", - "2001:6c8::/29": "3292", - "2400:8901::/29": "63949", - "2600:140f:9000::/48": "9498", - "2604:fd80::/32": "62688", - "2001:559:1f3::/48": "33652", - "2001:67c:7e4::/48": "57243", - "2620:74:2f::/41": "7342", - "2804:2314::/47": "262811", - "2a04:c444::/32": "2047", - "2401:f200::/32": "9988", - "2602:feda:ae6::/47": "140913", - "2803:84a0::/32": "266820", - "2a02:2010:2120::/45": "20978", - "2a04:7840::/32": "56523", - "2001:410:101::/48": "6509", - "2604:86c0::/32": "63023", - "2804:3698::/32": "266358", - "2a02:26f7:7f::/48": "20940", - "2a0b:f300:4c7::/31": "62240", - "2a0e:97c5:5f4::/46": "20473", - "2a0f:6b40::/29": "60251", - "2605:8d80::/37": "812", - "2607:f6f0:a003::/48": "394749", - "2620:10c:7009::/45": "2906", - "2800:68:dc1::/35": "61468", - "2804:5ac4::/34": "268795", - "2a02:3000::/26": "6805", - "2409:8904:2b40::/37": "24547", - "2604:8700::/36": "19578", - "2a05:3580::/42": "35807", - "2401:af80:9015::/48": "45679", - "2404:8000:10bb::/39": "17451", - "2600:140a:1::/35": "20940", - "2a05:45c7:f000::/36": "28910", - "2600:380:f108::/46": "20057", - "2001:559:83cd::/48": "33651", - "2600:3000:1314::/37": "13649", - "2803:78a0::/32": "266815", - "2001:559:246::/48": "33657", - "2409:8087:5000::/43": "56047", - "2600:803:638::/48": "32982", - "2602:fe10:ff5::/44": "394119", - "2607:f7a8:81c::/48": "46887", - "2a03:77e0:4401::/48": "48305", - "2600:1901:c0d0::/39": "15169", - "2604:ca00:219::/42": "36492", - "2800:160:1855::/46": "14259", - "2806:2f0:3321::/41": "17072", - "2a04:4e40:f610::/44": "54113", - "2001:559:2af::/43": "7016", - "2804:402c::/32": "265942", - "2001:559:198::/48": "33652", - "2001:559:c1e1::/48": "7922", - "2604:5e40::/32": "16409", - "2804:14c:5be1::/43": "28573", - "2a02:26f7:dc41::/46": "20940", - "2001:3b0::/32": "17529", - "2001:559:8222::/48": "33652", - "2408:80f1::/44": "138421", - "2408:8256:c68::/39": "17622", - "240a:a649::/32": "144259", - "2603:8080::/26": "11427", - "2604:4180::/32": "15191", - "240a:a9f7::/32": "145201", - "240e:109:8028::/48": "133775", - "2605:2080:8000::/34": "394844", - "2a02:26f7:e944::/48": "36183", - "2600:141b:2800::/48": "35994", - "2001:b08::/46": "3267", - "2402:3a80:1738::/48": "38266", - "2607:f500::/35": "6181", - "2804:3fd8:7001::/32": "265919", - "2a03:f80:420::/48": "174", - "2a05:d050:c040::/44": "16509", - "2a07:ab42::/48": "44358", - "2001:13d0:1300::/31": "7303", - "2403:9900::/24": "17676", - "2607:ff60:5002::/48": "397110", - "2804:758::/32": "262635", - "2804:7004::/32": "61602", - "2001:559:3f6::/47": "7922", - "2620:13f:7007::/48": "55706", - "2a02:26f7:b684::/48": "36183", - "2a03:fa00::/32": "28760", - "2a0b:de00:32::/40": "6805", - "2620:13f:9000::/44": "14782", - "2001:559:848b::/48": "7922", - "2400:3b00:50::/48": "18229", - "2401:b840::/32": "136956", - "240a:a56c::/32": "144038", - "240e:966:ca00::/39": "133776", - "2600:1417:2d::/46": "20940", - "2607:f040::/32": "14007", - "2804:4098::/32": "265969", - "2a10:2307:ffff::/48": "16509", - "2001:4878:225::/48": "12222", - "2001:4bf0::/48": "34623", - "2801:1da::/44": "270018", - "2a00:6380::/32": "51469", - "2a02:26f7:ec01::/46": "20940", - "2a06:44c0::/29": "200434", - "2a0f:e380::/29": "60262", - "2001:559:10b::/48": "7016", - "240e:449::/32": "140553", - "2a02:26f7:e2c5::/46": "20940", - "2c0f:5e00::/32": "328843", - "2405:85c0::/32": "132622", - "2804:330:5000::/39": "53240", - "2400:ca02:f08a::/41": "23688", - "2804:1638::/32": "263276", - "2804:20c4::/32": "264513", - "2804:6660::/32": "269554", - "2600:1480:6000::/40": "33905", - "2602:feda:184::/48": "38308", - "2602:ffe4::/46": "21859", - "2603:c000:1700::/36": "31898", - "2620:ea:8000::/48": "2386", - "2a00:4802:4e30::/35": "13124", - "2a02:2e02:9660::/43": "12479", - "2001:579:f084::/42": "22773", - "2402:e280:211b::/45": "134674", - "2804:7e7c::/32": "271627", - "2a01:8840:25::/48": "207266", - "2a07:59c6:ec10::/45": "206313", - "2a11:e380::/32": "49778", - "2001:550:2602::/45": "174", - "2001:559:c1b8::/48": "33657", - "2403:6e40:140::/44": "9830", - "2604:200:13::/32": "33132", - "2a00:10b0::/29": "49586", - "2a00:b402::/31": "12857", - "2001:559:8230::/48": "13367", - "2408:843c:1600::/34": "140716", - "2804:e94:300::/42": "262468", - "2804:1034::/32": "263624", - "2c0f:f810::/32": "36907", - "2001:559:845f::/48": "7922", - "2a02:660::/32": "9125", - "2a02:d8a0::/32": "43709", - "240e:473:4d50::/40": "4134", - "2602:feda:c40::/48": "212580", - "2607:cd80::/33": "6528", - "2806:370:8060::/40": "28403", - "2a03:3b80::/32": "3308", - "2402:7280:cfa2::/48": "46014", - "2604:f400:6::/48": "19982", - "2800:160:25d5::/38": "14259", - "2804:72fc:8000::/33": "270888", - "2a00:1288:ef67::/48": "14778", - "2a0b:6dc0::/29": "5482", - "2800:bf0:8160::/45": "52257", - "2001:f00::/32": "3836", - "2407:ba40::/32": "398465", - "2804:6d74::/32": "270534", - "2a0a:b780::/29": "51815", - "2401:f000:8::/48": "23838", - "240a:ae61::/32": "146331", - "240e:18:50::/48": "4811", - "2602:fe65:10::/41": "396872", - "2804:25a4::/32": "52821", - "2a04:7d84::/32": "41110", - "2a0b:cbc0::/32": "57199", - "240a:a95c::/32": "145046", - "2804:774:8400::/33": "52858", - "2804:813c::/32": "272441", - "2001:559:3c2::/48": "33491", - "2401:d800:d900::/42": "7552", - "2404:e00:852::/48": "15695", - "240a:afa8::/32": "146658", - "2804:5d5c::/32": "268967", - "2804:6cf8::/32": "270504", - "2a02:f740::/29": "39834", - "2401:d800:f730::/40": "7552", - "2409:806c:2900::/35": "9808", - "240a:a8de::/32": "144920", - "2a0d:9c40::/29": "210150", - "2001:550:5c08::/34": "174", - "2001:559:870a::/48": "33659", - "2602:ff98:140::/38": "63447", - "2a0a:5900::/29": "30852", - "2404:a800:2002::/36": "9498", - "2408:8456:800::/42": "17622", - "2806:102e:1e::/48": "8151", - "2a0a:d6c0:226::/48": "212014", - "2001:6d0:6d01::/45": "42385", - "2001:8c8::/32": "6700", - "2404:138:4012::/31": "38022", - "2409:8027:2904::/46": "9808", - "2804:6f3c::/32": "270647", - "2a09:6280:3::/48": "203493", - "2001:4078::/29": "16086", - "2404:b9c0::/40": "137409", - "2804:1880::/32": "61936", - "2a04:b580::/29": "30742", - "2a0c:9a40:1005::/48": "34927", - "2001:559:472::/48": "7016", - "2001:559:5d0::/48": "7725", - "2401:b0c0:f000::/48": "136941", - "2409:8924:4f00::/35": "56046", - "2a00:fc8::/32": "34863", - "2a07:ca40::/29": "207242", - "2401:d800:9640::/40": "7552", - "2804:1404::/32": "263309", - "2804:3610::/32": "266324", - "2600:370f:34ea::/39": "32261", - "2604:880:4c::/48": "29802", - "2606:6680:5::/48": "53340", - "2801:12:c800::/48": "10753", - "2a06:fbc0::/29": "48918", - "2001:590:1006::/48": "20940", - "2a02:26f7:fa44::/48": "36183", - "2a04:2b00:14cc::/48": "212222", - "2001:559:c1d9::/45": "7922", - "2403:300:a09::/48": "714", - "2806:230:4016::/48": "265594", - "2a02:168:2197::/31": "13030", - "2001:4d0::/39": "297", - "2001:559:73f::/48": "33491", - "2403:1940:60::/48": "137935", - "2409:8904::/34": "24547", - "240e:3b7:1800::/34": "4134", - "2604:3400:ca01::/48": "29169", - "2801:80:12c0::/48": "263890", - "2804:14d:4491::/41": "28573", - "2804:62dc::/32": "269323", - "2402:800:9d63::/43": "7552", - "2602:fff6:4::/48": "20473", - "2603:c021:c000::/35": "31898", - "2604:d600:ca5::/44": "32098", - "2804:7d7c:120::/43": "271564", - "2a00:1b11:115::/46": "29152", - "2602:feda:d80::/48": "142048", - "2620:15e:7001::/48": "30383", - "2a0e:b107:ae2::/44": "207632", - "2402:800:5b55::/42": "7552", - "2600:1401:2001::/33": "20940", - "2804:1d7c::/32": "264373", - "2a0d:7140::/29": "208861", - "2001:4410:3100::/32": "132040", - "2409:8d02::/32": "38019", - "2605:2980::/32": "11404", - "2606:9c00::/32": "23314", - "2a03:5e20::/32": "15576", - "2a09:51c0::/29": "202053", - "2a10:8a40:fd01::/38": "39405", - "2402:800:590f::/43": "7552", - "240a:adbd::/32": "146167", - "2401:4900:4bdc::/46": "45609", - "2402:e380:300::/48": "132316", - "2407:7a80:28::/43": "132384", - "2a02:26f7:c358::/48": "36183", - "2001:559:8091::/48": "7922", - "2401:ff80:1a93::/39": "133954", - "2600:6c38:892::/44": "20115", - "2602:fc85:ff2::/44": "398875", - "2a0d:fec0:98::/47": "47481", - "2406:840:e509::/46": "211571", - "240a:a76d::/32": "144551", - "2800:484:8a00::/40": "14080", - "2a02:26f7:f989::/42": "20940", - "2a04:6bc0::/36": "48635", - "2001:559:835f::/48": "33287", - "2001:579:c0c4::/43": "22773", - "2a00:12f0::/32": "27970", - "2a02:578:2c00::/35": "9031", - "2a0e:3e80::/29": "204504", - "2c0f:f138::/32": "37577", - "2001:418:1450::/48": "3938", - "2001:4408:5251::/37": "4758", - "2600:1406:d401::/38": "20940", - "2a04:4e40:3a10::/41": "54113", - "2a0c:a500::/41": "209385", - "2804:24e8::/32": "53171", - "2804:5580::/32": "267938", - "2402:800:5763::/43": "7552", - "2404:4a00:8a00:1::/33": "45629", - "2604:d600:105b::/42": "32098", - "2804:240::/34": "262798", - "2806:1018::/32": "8151", - "2a02:26f0:5f01::/34": "20940", - "2804:884::/47": "262375", - "2400:cb00:102::/45": "13335", - "2408:84f3:f660::/40": "17623", - "240a:a853::/32": "144781", - "2600:1408:9c01::/48": "20940", - "2600:1488:a461::/40": "20940", - "2620:5f:8000::/48": "33281", - "2804:28::/32": "28162", - "2a00:cc0:d::/32": "13237", - "2a02:2090:e400::/48": "48287", - "2a0c:9a40:1057::/48": "34927", - "2a02:26f7:f205::/46": "20940", - "2a0c:6580:2::/48": "35365", - "2408:8957:5800::/40": "17622", - "2804:6134::/32": "269220", - "2001:cb0:20c::/47": "4637", - "2001:df2:d780::/48": "132010", - "2001:13b0:d003::/31": "3549", - "2400:6700:ff01::/40": "16509", - "2620:17e::/42": "26072", - "2804:c48:8000::/36": "52687", - "2605:6000:800::/31": "11427", - "2a04:4e40:2c00::/48": "54113", - "2a07:7780::/29": "49191", - "2400:a980:2900::/37": "133111", - "2804:17f8::/32": "262628", - "2804:6068::/32": "269165", - "2a05:f780:1000::/36": "57667", - "2001:1248:5668::/47": "11172", - "2a0f:9240::/35": "49434", - "2a10:4645::/32": "208029", - "2405:a700:1b::/45": "9583", - "2406:840:fc0f::/48": "140938", - "2600:6c50::/30": "20115", - "2804:3084::/32": "264956", - "2804:7ec0::/32": "271645", - "2404:aa00::/32": "10031", - "2800:bf0:80c0::/47": "52257", - "2804:3868:1800::/32": "266475", - "2402:2a80::/33": "46489", - "2409:8008:d7::/48": "24547", - "2602:801:f000::/46": "32590", - "2001:df4:9500::/48": "135938", - "2404:3900:1992::/48": "38320", - "2600:1488:6302::/41": "20940", - "2605:f440::/41": "54874", - "2a07:1980::/46": "25773", - "2a09:4c0:c01::/39": "58057", - "2c0f:f7c0:3001::/32": "30986", - "2001:678:b4c::/48": "50643", - "2001:67c:1b60::/48": "13040", - "2400:cb00:a730::/47": "13335", - "2607:fb90:b100::/38": "21928", - "2804:2cbc::/32": "265240", - "2a0c:9a40:2400::/39": "34927", - "2400:cb00:a4f0::/46": "13335", - "2404:c0:32a0::/39": "23693", - "2408:870c:100::/35": "17621", - "2803:f2c0::/32": "52468", - "2804:5878::/32": "268131", - "2a01:4d60:4::/32": "30870", - "2a02:2498:e005::/35": "13213", - "2001:559:8176::/48": "7725", - "2405:b40::/47": "55674", - "2600:1407:800::/48": "18717", - "2804:34e0::/32": "265486", - "2a0b:6440::/29": "41779", - "2a10:ccc2:37::/36": "35619", - "240a:a230::/32": "143210", - "2804:5934::/32": "268175", - "2409:8087:5c0d::/40": "9808", - "2620:130:1002::/48": "62649", - "2803:f1a0::/32": "267705", - "2001:559:8441::/48": "33668", - "2001:559:c213::/48": "7922", - "2603:b079::/24": "11796", - "2a02:26f7:fb00::/48": "36183", - "2001:648:2300::/46": "8248", - "2401:d800:98f0::/39": "7552", - "240e:473:6950::/40": "4134", - "2800:160:1cb2::/44": "14259", - "2804:25c0::/32": "264300", - "2409:8008:1900::/34": "24547", - "2604:bc0:3::/48": "18779", - "2804:78a8::/32": "271257", - "2a00:86c0:22::/39": "2906", - "2a0e:e640::/29": "202844", - "2a0f:5707:b000::/41": "212895", - "2001:559:2d8::/47": "7922", - "2402:ef1a:1::/32": "7633", - "2409:8a50::/38": "56047", - "2600:1407:2801::/37": "20940", - "2a01:bf20::/32": "39608", - "2a06:6440::/29": "200000", - "2001:da0::/32": "4718", - "2407:2e00::/32": "24436", - "2804:310:3::/32": "262688", - "2804:269c:fe44::/47": "47065", - "2804:7fa8::/32": "271701", - "2804:8190:100::/40": "272462", - "2a00:c20::/32": "29611", - "2402:3a80:c050::/46": "38266", - "2408:8456:6800::/42": "17622", - "2620:11a:c014::/48": "54113", - "2804:ef4:6420::/32": "28642", - "2a03:2440::/32": "199660", - "2402:800:5b2b::/43": "7552", - "2409:4053:3000::/29": "55836", - "2604:1380:4200::/44": "54825", - "2620:115:c007::/44": "2635", - "2401:8e80::/32": "18187", - "2603:c0f0:2910::/40": "6142", - "2605:a3c0::/32": "395731", - "2804:72c4::/32": "270874", - "2804:76b4::/32": "271129", - "2a02:570::/32": "15935", - "2a04:5ec7:1::/32": "60239", - "2401:47c0:2000::/32": "41095", - "2409:806b:3100::/36": "9808", - "2409:8924:7f00::/32": "56046", - "240a:a320::/32": "143450", - "2620:ed::/48": "3660", - "2620:149:241::/45": "714", - "2804:db4::/32": "28257", - "2a02:730:2::/35": "29278", - "2a02:5320:f00::/40": "12189", - "2620:137:d::/46": "396253", - "2001:67c:2b18::/48": "39405", - "2001:1248:5500::/46": "11172", - "240a:a2b5::/32": "143343", - "240a:a4b6::/32": "143856", - "240a:abca::/32": "145668", - "2604:1300:f800::/37": "3833", - "2620:128:2010::/48": "397457", - "2a00:11c0:66::/44": "42473", - "2001:67c:2544::/48": "44574", - "2607:6800::/32": "27258", - "2a05:f507:42::/48": "13443", - "240a:a2dd::/32": "143383", - "2600:1417:6c::/48": "20940", - "2a00:4bc0:2110::/45": "16509", - "2a02:78::/32": "44514", - "2a0b:4340:3000::/38": "48024", - "2804:43fc:ffc0::/42": "267614", - "2806:2f0:41e4::/38": "17072", - "2001:559:8341::/48": "7015", - "2001:559:c1e6::/48": "33652", - "2404:1f00:ffb2::/45": "55947", - "2406:7300::/46": "17559", - "2409:8904:52b0::/39": "24547", - "2001:67c:1770::/48": "3301", - "240a:a936::/32": "145008", - "2600:6c38:1c7::/44": "20115", - "2804:33d4:2::/44": "265419", - "2804:770c::/32": "271151", - "2a0a:31c0::/29": "62098", - "2605:8000:25::/40": "4261", - "2a10:4646:11::/48": "212106", - "2401:e880::/32": "45873", - "2600:6c38:b25::/46": "20115", - "2602:807:4000::/44": "174", - "2803:e600:3::/45": "18809", - "2a03:2680::/32": "39444", - "2a09:bac0:118::/47": "13335", - "240a:a4ca::/32": "143876", - "240a:abb6::/32": "145648", - "2605:9d80:9071::/48": "4809", - "2605:acc0::/32": "23543", - "2a00:da8:fffc::/46": "34086", - "2a00:7100::/32": "8311", - "2a09:9440::/32": "47596", - "240a:a8bf::/32": "144889", - "2a09:be40:4501::/48": "209109", - "240a:aca1::/32": "145883", - "2001:559:806e::/43": "7922", - "2402:800:57b7::/41": "7552", - "2403:eb40::/35": "138418", - "2409:8715:9800::/30": "56044", - "2a02:26f7:e041::/46": "20940", - "2001:559:2ea::/48": "33659", - "2001:678:b50::/48": "62009", - "2402:e380:305::/48": "135103", - "2407:79c0::/32": "212744", - "2a03:a820::/32": "39235", - "2a02:26f7:f905::/46": "20940", - "2001:df5:b480::/56": "137455", - "2408:8956:4c00::/40": "17622", - "240a:aef6::/32": "146480", - "2600:1004:a120::/36": "22394", - "2600:6c2e:36::/40": "20115", - "2607:d500:a00::/40": "54527", - "2804:4a4::/32": "262456", - "2a07:57c0::/32": "50113", - "2a11:6c0:100::/32": "211083", - "2001:49f0:a00b::/43": "174", - "2402:800:9ba9::/43": "7552", - "240a:af5c::/32": "146582", - "2804:4784::/32": "267059", - "2804:5da8::/32": "268985", - "2804:644c::/32": "269419", - "2804:7050::/32": "270719", - "2a03:f080:1001::/37": "42685", - "2a07:9b83::/32": "50113", - "2a0c:9080::/29": "57353", - "2407:8b00::/35": "64073", - "2620:11f:9006::/48": "14746", - "2620:1d6:ff4::/44": "2571", - "2a00:dd80:fb81::/48": "199438", - "2a02:188::/35": "31027", - "2a03:ac60::/32": "199758", - "2409:8730:f000::/31": "9808", - "2804:df0::/47": "262775", - "2a01:aea0:dd3::/45": "40980", - "2001:678:570::/48": "205107", - "2001:44c8:130::/47": "131445", - "2400:9380:81c0::/44": "136167", - "2401:1d40:3f00::/48": "58466", - "2409:8750:b00::/37": "56047", - "2804:314::/44": "61568", - "2a01:56c0::/32": "198864", - "2a06:bc00::/29": "203732", - "2001:678:bb4::/48": "43962", - "2605:3540::/32": "46502", - "2804:eec:4003::/32": "28226", - "2408:8459:7210::/42": "17623", - "2409:8e00::/32": "56048", - "2600:8807:d060::/36": "22773", - "2a07:3501:1050::/48": "39686", - "2a10:d000:15::/44": "35506", - "2001:559:7e9::/48": "33657", - "2801:1e:7000::/48": "266773", - "2804:7434::/32": "270965", - "2001:559:ac::/48": "33489", - "2600:c02:1021::/32": "12182", - "2a05:3340:140::/42": "134433", - "2001:470:de::/48": "8046", - "2001:559:121::/48": "33659", - "2804:14c:3b00::/40": "28573", - "2a02:26f7:c241::/46": "20940", - "2a05:7e40::/29": "203854", - "2402:d000:100d::/41": "9329", - "2607:f740:90::/48": "36236", - "2620:b1:8000::/48": "7018", - "2a00:e68::/29": "15743", - "2001:df0:cf80::/48": "9830", - "2001:43f8:330::/48": "37364", - "2408:8256:3d96::/44": "17623", - "2605:3380:411f::/42": "12025", - "2605:5080::/33": "3367", - "2607:ffc8:1::3/63": "17356", - "2803:780::/32": "8053", - "2408:8957:8100::/40": "17816", - "240a:4092:c000::/35": "58834", - "2602:fcce::/40": "399200", - "2604:2c40:1000::/36": "63252", - "2a04:5c87::/32": "201365", - "2a04:6640::/29": "3257", - "2c0f:f1f8::/32": "32708", - "2604:1580::/32": "54455", - "2620:1ec:8f0::/48": "8068", - "2001:67c:1b50::/48": "211879", - "2408:8459:ef10::/42": "17623", - "2604:a680:5::/48": "55079", - "2620:64:4000::/48": "54480", - "2804:60:40::/32": "53066", - "2804:27fc::/32": "263933", - "2001:6e8::/29": "16086", - "2001:18c8:300::/40": "19149", - "240e:698:4600::/40": "134756", - "2605:b100::/40": "577", - "2a07:a343:cd10::/44": "9009", - "2a0f:c500::/29": "201299", - "2605:a401:8ca2::/41": "33363", - "2804:c68::/32": "52702", - "2804:dd0:400::/32": "28639", - "2a02:828::/48": "44285", - "240a:af36::/32": "146544", - "2607:f038::/44": "21527", - "2620:91:c000::/47": "54900", - "2402:800:511d::/42": "7552", - "240a:a752::/32": "144524", - "2403:5f40:2::/44": "9268", - "2600:1409:c001::/36": "20940", - "2600:370f:3721::/41": "32261", - "2600:6c38:507::/44": "20115", - "2804:1e78::/32": "28658", - "2a02:578:7400::/38": "9031", - "2600:6c7f:9070::/48": "20115", - "2a05:5300::/29": "200562", - "2001:57a:8048::/40": "22773", - "2408:8256:1796::/41": "17622", - "2600:1410:1001::/34": "20940", - "2603:f070::/29": "396356", - "2804:7a30::/32": "271353", - "2403:2e40:10::/48": "137959", - "2620:104:e000:ae::/40": "1351", - "2a02:26f7:db10::/48": "36183", - "2a0c:9180::/48": "13127", - "2605:f500:502::/38": "1828", - "2607:3200:11::/46": "11240", - "2804:269c:fe47::/48": "47065", - "2804:35d8::/32": "266310", - "2600:1009:b000::/42": "6167", - "2804:4be8::/32": "267336", - "2408:84e1:140::/32": "4808", - "2001:400:6441:52::/58": "293", - "2001:559:8556::/47": "7015", - "2001:678:104::/48": "20609", - "2402:4000:b290::/41": "18001", - "2402:c480:7001::/32": "63916", - "2402:f800::/32": "7602", - "2404:7a40:16::/36": "132556", - "2408:8956:8c00::/40": "17622", - "2600:1417:8001::/35": "20940", - "2602:fed2:7708::/48": "208188", - "2804:2ed4::/34": "265369", - "2a00:c660::/32": "60341", - "2402:8100:2220::/43": "55644", - "2a01:40::/33": "5459", - "2a02:2b98::/32": "39642", - "2401:4900:4820::/41": "45609", - "2408:8459:5c10::/42": "17623", - "2a00:4720::/32": "42442", - "2a02:26f7:e0c1::/46": "20940", - "2a0f:ec00:99::/48": "60781", - "2804:2f6c:dc00::/34": "264890", - "2804:33f4::/32": "265427", - "2405:f080:2e00::/47": "136907", - "2408:8456:9a10::/42": "134543", - "2408:8456:a210::/42": "134543", - "240e:44d:1500::/41": "140345", - "2606:a000:3000::/36": "11955", - "2804:2a74::/32": "52948", - "2a0b:4342:2000::/36": "57578", - "240a:ab82::/32": "145596", - "2604:ca00:f013::/45": "36492", - "2a02:26f7:17::/48": "20940", - "2a0b:4d07:301::/48": "44239", - "2a04:4e40:cc00::/48": "54113", - "2001:67c:2bd0::/48": "204847", - "240e:44d:5200::/41": "140345", - "2604:8e80:3400::/32": "32505", - "2800:190:2::/45": "11664", - "2a04:f580:9260::/48": "4809", - "2001:559:314::/48": "33491", - "240a:a9c9::/32": "145155", - "240e:3be:dc00::/34": "4134", - "2804:69f8::/32": "270303", - "2a03:9600::/32": "31562", - "2001:df2:d80::/48": "136284", - "2402:f800:d000::/36": "7602", - "2600:370f:350a::/42": "32261", - "2600:370f:3541::/45": "32261", - "2620:137:4000::/40": "22601", - "2804:7d78::/32": "271563", - "2a04:5202::/29": "50113", - "2001:4b28::/32": "6775", - "2803:9800:a505::/46": "11664", - "2001:df7:af00::/48": "138142", - "2401:c080:1000::/36": "20473", - "2406:3003:3050::/32": "4657", - "2606:62c0:3130::/48": "399686", - "2607:f868::/34": "20141", - "2604:c00::/32": "32875", - "2607:fda8:1006::/44": "54004", - "2001:559:c134::/48": "33668", - "2001:df2:a00::/48": "38760", - "2400:e780:1000::/38": "131198", - "240e:59:8000::/30": "4134", - "2607:f460::/32": "22742", - "2803:6580::/32": "265839", - "2001:4878:c228::/48": "12222", - "2402:800:f0b0::/41": "7552", - "2409:8053:2800::/47": "56047", - "240a:aed1::/32": "146443", - "2600:1000:b0c0::/42": "6167", - "2a02:26f7:d9c9::/42": "20940", - "2001:df2:7f80::/48": "133803", - "2803:5c80:5051::/46": "64114", - "2607:f6f0:3002::/40": "19930", - "2a01:1c0::/32": "29513", - "2604:d600:64b::/45": "32098", - "2606:6240:174::/48": "398447", - "2403:44c0:3::/48": "135814", - "2405:1c0:6003::/39": "55303", - "2406:e900::/48": "132649", - "2800:160:10cc::/46": "14259", - "2804:1b10::/32": "61706", - "2a02:2648::/29": "42514", - "2a0e:aa06::/43": "4842", - "2001:559:85c3::/48": "13367", - "2001:c08::/32": "9264", - "2001:1a11:b9::/48": "8781", - "2001:4408:8609::/33": "4758", - "2402:800:591d::/42": "7552", - "2804:24ac:8000::/33": "264237", - "2804:7250::/32": "270846", - "2001:1248:5621::/45": "11172", - "2406:eb00:132::/48": "132653", - "2620:137:5090::/42": "10851", - "2804:22c:4::/32": "22689", - "2804:372c::/32": "266394", - "2a0d:4340::/29": "3214", - "2a0e:fd45:40f2::/48": "41108", - "2a0f:5707:ab27::/48": "43927", - "2001:418:2::/38": "2914", - "2001:1aa8::/32": "24642", - "2001:41c7::/32": "31459", - "2404:7c0::/32": "138109", - "2408:8459:c410::/42": "17623", - "2803:6e80::/32": "27923", - "2804:5d2c:2::/32": "268955", - "2001:559:228::/43": "33491", - "2001:559:83b9::/48": "33657", - "2001:448a:60d0::/42": "7713", - "2408:8456:8400::/42": "17622", - "2408:8459:cc50::/39": "17816", - "2604:d600:653::/44": "32098", - "2a02:26f0:8a01::/39": "20940", - "2407:f700:4000::/35": "132215", - "2408:8459:cc30::/41": "17622", - "2408:8878::/31": "4837", - "2600:140b:1201::/39": "20940", - "2600:6c38:e10::/42": "20115", - "2405:ec00:1002::/39": "23955", - "240a:aff7::/32": "146737", - "2a00:b840:2::/29": "31472", - "2a09:6800::/29": "50308", - "2001:559:556::/48": "33659", - "2a06:9000::/32": "25386", - "2400:dd02:1013::/31": "7497", - "2409:805c:1100::/36": "9808", - "2602:ff1e::/36": "395688", - "2800:bf0:16f::/43": "52257", - "2804:7ef0::/32": "271656", - "2001:678:ea4::/48": "39704", - "2800:160:12dd::/42": "14259", - "2a02:26f7:ca85::/46": "20940", - "2a0f:8447::/32": "212521", - "2001:559:83d2::/48": "7725", - "2001:678:640::/48": "204302", - "2001:16a2:4020::/45": "25019", - "2001:559:1fb::/48": "33652", - "2600:1806:119::/48": "16552", - "2602:fc64:df1::/48": "50131", - "2804:154c:101::/33": "263382", - "2804:7ea4::/32": "271637", - "2001:559:203::/48": "7015", - "2001:67c:684::/48": "12502", - "2402:800:5301::/44": "7552", - "2402:57c0::/32": "134913", - "240a:a914::/32": "144974", - "2607:e880:1010::/48": "12220", - "240a:ac52::/32": "145804", - "2600:100a:a010::/40": "22394", - "2620:11e:30c7::/48": "393828", - "2804:3994:2::/32": "266037", - "2804:7f5c::/32": "271683", - "2a03:2b80::/29": "33883", - "2a0b:8700::/47": "61317", - "2001:559:c0d0::/47": "20214", - "2804:2e74:fd00::/38": "265347", - "2a00:cce0::/32": "43870", - "2a01:b740:a08::/48": "6185", - "2a0b:1306::/46": "198018", - "2804:748c::/32": "270988", - "2401:d800:a80::/42": "7552", - "2405:4cc0::/32": "139671", - "240a:acbb::/32": "145909", - "240a:afeb::/32": "146725", - "240e:980:9700::/40": "4134", - "2600:1415:b001::/36": "20940", - "2804:f60::/32": "263582", - "2a02:cb80:2120::/48": "43766", - "2a0c:3e00::/29": "49601", - "2a0f:3040::/29": "60262", - "2402:8100:207d::/46": "45271", - "240a:a8e8::/32": "144930", - "2a02:5180::/32": "43247", - "2a04:a7c0::/32": "198785", - "2402:5300:610::/39": "45903", - "240a:a7a1::/32": "144603", - "240a:a834::/32": "144750", - "2804:69b8::/32": "270287", - "2a00:1400::/32": "44764", - "2a00:a680::/32": "61174", - "2a02:26f7:ee48::/48": "36183", - "240a:a976::/32": "145072", - "2a02:26f7:f684::/48": "36183", - "240e:980:8a00::/40": "134238", - "2a02:26f7:c491::/42": "20940", - "2a03:3260::/32": "6829", - "2001:18c8:200::/40": "10464", - "2606:41c0:4::/47": "11448", - "2804:4ef4:4000::/32": "268294", - "2a00:f600::/32": "34946", - "2a02:26f7:ea40::/48": "36183", - "240a:a7d4::/32": "144654", - "2604:fb80:f00a::/47": "15128", - "2803:9f20::/32": "266780", - "2a02:26f7:d20c::/48": "36183", - "2001:470:23::/44": "6939", - "2600:1806:411::/48": "16552", - "2804:3824::/32": "266459", - "2406:2000:a4::/48": "10230", - "2409:8914:1100::/38": "56044", - "2603:b0e0:caff::/34": "11796", - "2804:2814::/32": "263939", - "2600:1016:b130::/40": "6167", - "2804:24d8:c010::/41": "264244", - "2001:df5:5d80::/48": "9930", - "2620:52:2::/48": "22753", - "2a0a:4e00::/29": "57755", - "2001:df4:c00::/48": "133985", - "2804:1408:8001::/35": "28635", - "2a09:1480:200::/29": "35704", - "2a0a:d140::/29": "205919", - "2804:14c:de43::/40": "28573", - "2804:1a04:c::/33": "61832", - "2804:5a3c::/32": "268757", - "2400:aa00:9102::/38": "9873", - "240e:ff:c003::/48": "134774", - "2600:14e0:4::/48": "33905", - "2806:230:4008::/48": "265594", - "2409:8008:900::/35": "24547", - "2409:804e:900::/35": "9808", - "2600:3501:5000::/34": "396998", - "2602:fe69:a00::/40": "36369", - "2604:bf00:210::/48": "397384", - "2804:22b0::/32": "264116", - "2a02:26f7:c244::/48": "36183", - "2001:559:8235::/48": "7015", - "2400:dd00::/31": "7497", - "2620:1:2000::/48": "396152", - "2804:14c:8787::/44": "28573", - "2804:7f7:c000::/34": "18881", - "2804:757c::/32": "261050", - "2a00:79e1:f0e::/48": "395973", - "2001:4430:f::/48": "3786", - "2402:5080::/32": "133959", - "2405:9800:8::/48": "45430", - "2804:14c:d400::/40": "28573", - "2a01:110f:5000::/40": "29535", - "2001:678:148::/48": "16302", - "2001:678:978::/48": "209347", - "2406:840:e840::/44": "209294", - "2406:b2c0::/32": "40676", - "240e:355:6400::/30": "4134", - "2620:3a:4000::/44": "36711", - "2804:954::/42": "263073", - "2a0c:9a40:808e::/48": "60404", - "2001:559:32b::/45": "7922", - "240a:a34f::/32": "143497", - "2800:110:1025::/34": "4270", - "2404:fa80::/32": "132111", - "2600:1fa0:4040::/42": "16509", - "2804:2618::/32": "262362", - "2a01:9700:1470::/45": "8376", - "2a02:26f7:f944::/48": "36183", - "2a0d:3842:1110::/48": "57629", - "2001:559:787::/48": "22909", - "2001:dcc:403::/48": "23599", - "2001:fb0:1075::/48": "55498", - "2603:c024::/35": "31898", - "2801:1fc:32::/48": "27951", - "2a02:26f7:41::/48": "20940", - "2a10:2c80::/32": "58010", - "2602:fed2:7115::/46": "53356", - "2a0f:2100:171::/48": "60781", - "2a02:26f7:c35d::/48": "36183", - "2001:df4:e980::/48": "141086", - "2001:49d0::/40": "2495", - "2402:79c0:1149::/48": "26415", - "240e:3b6:9200::/36": "140317", - "2600:1003:f850::/29": "22394", - "2800:160:116c::/46": "14259", - "2a00:7da0::/32": "15815", - "2400:ac40:c40::/42": "136255", - "2404:3dc0:1::/48": "138552", - "2620:62:c000::/48": "11820", - "2620:102:3000::/44": "3136", - "2a0e:8f02:f004::/48": "213031", - "2a0f:1840::/29": "60262", - "2409:804c:3900::/33": "9808", - "2803:6602:8000::/29": "28075", - "2804:41d0:3600::/33": "267458", - "2806:230:5008::/48": "265594", - "2a0a:f040::/29": "61961", - "2c0f:1500:7000::/32": "328888", - "2001:559:3e7::/48": "7015", - "240a:afc9::/32": "146691", - "240e:44d:6580::/41": "4134", - "2602:80a:2000::/48": "398351", - "2804:6da0::/32": "270545", - "240a:aa94::/32": "145358", - "2a0a:fd00::/32": "206917", - "2403:4f00::/36": "24466", - "2405:6e00:600::/43": "133612", - "2a0e:f0c0::/29": "200713", - "2001:1b70:86c0::/48": "8147", - "2402:2b40:a000::/36": "55967", - "2620:96:8000::/48": "3719", - "2c0e:40:402::/39": "24863", - "2001:468:2808::4/48": "396961", - "2001:559:7ec::/48": "33491", - "2408:8656:3300::/37": "17816", - "2a02:2e0:41d::/46": "12306", - "2a02:530:29::/32": "21191", - "2a02:26f7:c0c9::/42": "20940", - "2a0f:2880:500::/32": "208164", - "2404:b0:1009::/36": "4750", - "2604:4580:202::/47": "26375", - "2607:fc48:810::/48": "40009", - "2a01:6420::/29": "62193", - "2a02:27b0::/33": "9146", - "2a03:3740::/32": "43350", - "2001:67c:1740::/48": "34019", - "2404:3d00::/38": "3573", - "240a:a570::/32": "144042", - "2600:1012:b130::/44": "22394", - "2607:f390:1440::/44": "2055", - "2a01:170:2000::/32": "8820", - "2a02:26f7:f081::/46": "20940", - "2a07:cb81::/32": "15404", - "2400:8500:9d07::/48": "7506", - "240a:aa27::/32": "145249", - "2604:b080::/32": "54665", - "2a02:25a8::/32": "12824", - "2804:70b0::/32": "270742", - "2a01:348:fac::/32": "39326", - "2001:559:807c::/48": "7015", - "2604:c840::/32": "397181", - "2001:550:5403::/39": "174", - "240a:a9d7::/32": "145169", - "2604:4500::/43": "29802", - "2804:3b28::/33": "266132", - "2800:23::/32": "11271", - "2a06:1b00:108::/32": "8302", - "2602:ffc5:10a::/48": "19969", - "2620:8f:8000::/48": "396012", - "2804:4148::/32": "267425", - "2a01:4a0:2000::/46": "51191", - "2a0f:8ac1:b9a1::/48": "205749", - "2a0f:9880::/29": "208861", - "2401:c500:fd01::/48": "13658", - "240a:a94f::/32": "145033", - "2a09:8400::/29": "44016", - "2a00:1988::/32": "5392", - "2a0c:e304::/30": "198985", - "2001:1248:842f::/43": "11172", - "2803:56e0::/32": "269965", - "2a02:26f7:f68d::/42": "20940", - "2400:fc00:8160::/40": "45773", - "2407:8bc0::/32": "137990", - "240a:a555::/32": "144015", - "2804:3c04::/32": "266185", - "2a02:e70:157::/40": "33965", - "2001:559:8365::/48": "33660", - "2001:67c:2e28::/48": "3320", - "2604:240:1::/48": "33724", - "2a0f:340::/29": "16509", - "2001:559:c285::/48": "33660", - "2001:559:c328::/48": "7922", - "2001:559:c3f7::/48": "33655", - "2001:67c:1260::/48": "50398", - "2620:13a:6001::/48": "33491", - "2a00:1fb8::/32": "29462", - "2600:1417:30::/46": "24319", - "2605:8c80::/32": "6391", - "2620:112:f002::/47": "6336", - "2a00:f10:141::/48": "29290", - "2a02:cb43:2001::/48": "20546", - "2a10:2840::/29": "213381", - "2409:8904:8890::/39": "24547", - "2a04:4e40:b400::/47": "54113", - "2a06:4b02::/29": "51191", - "2a0c:f000:2000::/48": "205265", - "2804:21a4::/35": "53190", - "2a00:79e1:f11::/48": "395973", - "2a07:b380::/29": "202604", - "2001:1a60::/32": "2594", - "240e:87c:270::/39": "137692", - "2600:80d:18::/27": "701", - "2801:80:1920::/48": "264971", - "2804:c54::/32": "262650", - "2a00:1d50::/46": "47605", - "2a02:26f0:a501::/38": "20940", - "2a0b:8480::/29": "25341", - "2409:8904:4660::/39": "24547", - "2804:694:4d00::/38": "262596", - "2a0b:4d07:259::/48": "44239", - "2401:ff80:1a11::/46": "133954", - "2405:1c0:6653::/42": "55303", - "240a:a097::/32": "142801", - "2605:9e00::/32": "15082", - "2a02:cb80:4200::/45": "43766", - "2a03:9140::/32": "41023", - "2804:3fd8::/33": "265919", - "2804:5a70::/32": "268773", - "2a02:26f0:3c::/48": "20940", - "2001:789::/32": "29222", - "240a:a34c::/32": "143494", - "2a0d:6fc0::/29": "12400", - "2a02:e980:15c::/48": "19551", - "2001:559:85f7::/48": "7016", - "2408:8459:cb10::/42": "17623", - "240a:ab8c::/32": "145606", - "240a:afe1::/32": "146715", - "2800:160:1dd9::/46": "14259", - "2804:2f1c:a300::/33": "264872", - "2a00:89c0::/32": "197981", - "2a04:4e40::/48": "54113", - "2001:579:1c34::/40": "22773", - "2401:d800:7ae0::/39": "7552", - "2406:4e40:601::/36": "140966", - "240e:6c0::/23": "4134", - "2602:fc8e::/40": "399522", - "2804:e0c::/48": "28176", - "2001:67c:644::/48": "58343", - "2408:880c::/27": "17621", - "2409:8915:7800::/39": "56044", - "2a02:e30:f050::/48": "61056", - "2606:2800:7001::/46": "15133", - "2a02:7a00:7::/32": "39904", - "2407:a2c0::/32": "63791", - "2a0d:c600::/29": "35826", - "2a0f:b100::/46": "202945", - "2a0b:ca80::/32": "57723", - "2001:470:e3::/48": "11282", - "2001:480:50::/48": "6043", - "2001:12f8:c::/47": "14650", - "240a:a531::/32": "143979", - "2a01:8840:a5::/48": "207266", - "2a02:26f7:f880::/48": "36183", - "2a03:b0c0::/123": "14061", - "2a0e:41c0::/29": "208566", - "240a:ad15::/32": "145999", - "2620:66:a000::/48": "30323", - "240a:aebf::/32": "146425", - "2607:f058::/34": "22302", - "2804:3118::/32": "264992", - "2001:559:8359::/46": "33659", - "2a02:26f7:19::/48": "20940", - "2402:9e80:2402::/48": "133752", - "2408:8246:1200::/32": "4837", - "2604:b480:fffd::/48": "36268", - "2804:1680::/35": "263289", - "2a02:26f0:138::/45": "20940", - "2a0e:cd01:2100::/36": "23031", - "2403:400::/38": "23820", - "240a:a1ea::/32": "143140", - "2602:ff83::/36": "29948", - "2605:9300:1::/48": "13768", - "2620:108:d000::/44": "8987", - "2803:7c10::/32": "271884", - "2803:a900:9000::/48": "52420", - "2604:d600:627::/44": "32098", - "2a01:56c1:10::/44": "198864", - "2a06:1e00:30::/48": "60695", - "2a0b:e440::/29": "211774", - "2001:1388:2f06::/44": "6147", - "2402:800:7780::/36": "7552", - "2408:8459:5650::/36": "17816", - "2602:fdc2::/48": "397720", - "2620:171:dc::/46": "42", - "2a00:1b50:11::/32": "8343", - "2a02:26f7:dd45::/46": "20940", - "2a07:b2c0::/32": "56911", - "2001:df6:5a00::/48": "64302", - "240e:9:6000::/36": "134419", - "2804:38fc::/32": "266516", - "2804:3c38::/32": "266197", - "2a00:14a8::/32": "35548", - "2a00:a7c0::/32": "57866", - "2a04:9a03:1010::/44": "48037", - "2401:d800:a50::/42": "7552", - "2a06:3e40::/29": "42102", - "2402:800:971d::/42": "7552", - "2402:6640:1a::/42": "134995", - "2409:8020:3035::/41": "56046", - "240e:6:d020::/48": "140527", - "2605:a401:8d3a::/40": "33363", - "2607:f740:e614::/47": "63911", - "2a02:d107:f001::/48": "200088", - "2a0a:90c0:1059::/40": "205080", - "2409:8704:c500::/35": "24547", - "240a:a283::/32": "143293", - "2a02:26f0:9801::/39": "20940", - "2a0a:7c80::/32": "206672", - "2a02:2e02:1d00::/41": "12479", - "2a03:de40::/32": "21057", - "2a0d:f47::/32": "39080", - "2a0e:fd45:7::/36": "44103", - "2001:468:1800::/40": "10466", - "2001:559:85be::/47": "20214", - "2402:800:92a9::/43": "7552", - "2600:1009:f110::/30": "22394", - "2001:559:8598::/47": "7922", - "2403:300:a08::/48": "6185", - "240a:afb1::/32": "146667", - "2600:1419:4001::/36": "20940", - "2a00:4bc0:700::/34": "31004", - "2a02:26f7:f6d8::/48": "36183", - "2a0b:e900::/29": "13285", - "2001:579:888::/43": "22773", - "2001:4868:300::/37": "701", - "2804:41b0::/32": "267450", - "2a02:26f7:cb89::/42": "20940", - "2001:550:7702:1::/47": "174", - "2600:140f:e801::/38": "20940", - "2602:ff96:3::/48": "31863", - "2a03:3200::/32": "8752", - "2a0b:6b81:205::/48": "203729", - "2001:468:600::/40": "10578", - "2001:67c:22d4::/48": "3320", - "2001:ee0:db00::/37": "45899", - "2401:c680:2100::/32": "133854", - "2a01:4e0::/29": "24651", - "2a01:71a0::/32": "208988", - "2001:fd8:f240::/42": "132199", - "2400:f0c0::/36": "136477", - "240e:473:2c50::/39": "4134", - "2001:1248:5f00::/43": "11172", - "2620:f4:c000::/48": "13543", - "2803:c0c0::/32": "264759", - "2804:764::/32": "10733", - "2804:6410::/32": "269402", - "2a0c:2fc0::/29": "50598", - "2607:f738:400::/39": "17184", - "2620:113:1000::/46": "15224", - "2620:12b::/48": "13993", - "2804:3870::/32": "266477", - "2401:d800:d680::/42": "7552", - "240e:44d:2880::/41": "4134", - "2607:fcd0:fa80:2800::/53": "8100", - "2607:fd78:904::/32": "26677", - "2804:7944::/32": "271295", - "2408:8957:d00::/40": "17816", - "2800:937::/32": "264731", - "2801:13:4800::/48": "269825", - "2a01:6b20::/34": "198296", - "2404:bf40:8642::/47": "7545", - "2620:109:5000::/46": "46435", - "2620:128:f021::/48": "18872", - "2804:2980::/32": "53172", - "2a03:6400:20::/44": "11054", - "2409:8004::/45": "24547", - "2a10:3240::/30": "208256", - "2405:9800:c926::/44": "45430", - "2406:6940:60::/32": "141047", - "2604:2d80:c030::/34": "30036", - "2804:7858:7040::/32": "271236", - "2001:579:b984::/41": "22773", - "2604:6600::/47": "40676", - "2607:fb90:c13f::/41": "21928", - "2804:9b4::/32": "262872", - "2a05:d050:e0c0::/44": "16509", - "2001:678:4b8::/48": "41985", - "2001:c18::/32": "10204", - "240a:ab7c::/32": "145590", - "2001:710::/32": "8419", - "2620:0:167a::/48": "6984", - "2a01:5380::/32": "10474", - "2001:559:126::/48": "33659", - "2600:140b:5c00::/48": "31109", - "2001:388:c::/48": "23859", - "240a:a496::/32": "143824", - "2607:f740:e627::/44": "63911", - "2804:2d50::/32": "265274", - "2a02:26f7:c589::/46": "20940", - "2400:9380:9100::/47": "4809", - "240a:a314::/32": "143438", - "2605:f080:500::/40": "23535", - "2620:7a:6000::/48": "398208", - "2a01:b8c0::/32": "198869", - "2c0f:1500::/32": "328888", - "2001:67c:4c8::/48": "50034", - "2620:10a:8001::/46": "27299", - "2001:678:274::/48": "8220", - "2001:67c:2bb8::/48": "35731", - "2001:df7:f400::/47": "17436", - "2001:1218:6027::/32": "278", - "2806:230:2057::/48": "11888", - "2a05:b680:10::/48": "44682", - "240a:aca6::/32": "145888", - "2a0e:b105:120::/44": "211659", - "2604:a00:17::/39": "19318", - "2a04:bd80::/29": "52004", - "2a07:2400::/29": "48402", - "2a0e:97c5:554::/46": "20473", - "2a0f:9400:700a::/45": "211144", - "2001:1388:a000::/33": "6147", - "2400:6280:10c::/48": "138911", - "2801:0:3c0::/48": "61463", - "2409:8904:5270::/40": "24547", - "240e:980:9a00::/40": "58466", - "2804:14d:2400::/40": "28573", - "2804:6284::/32": "53090", - "2001:559:823c::/48": "13367", - "2001:1938:4009::/40": "12989", - "2605:a404:85a::/40": "33363", - "2803:2a60::/32": "267881", - "2804:20ec::/32": "264521", - "2a04:4e40:5e10::/44": "54113", - "2a06:c005::/32": "45027", - "2001:df6:4080::/48": "141999", - "2400:9800:6026::/47": "139994", - "2804:5ebc::/32": "269053", - "2806:20d:5043::/45": "32098", - "2a02:b80::/29": "30740", - "2400:3dc0:201::/39": "134371", - "2402:53c0:2000::/36": "137144", - "2610:20:5110::/42": "5744", - "2800:200:e890::/35": "12252", - "2801:0:80::/48": "262148", - "2a05:b0c1::/48": "198412", - "2001:67c:1bcc::/48": "41009", - "2806:2f0:2184::/41": "22884", - "2a00:8f00:205::/48": "16349", - "2400:9380:9250::/46": "4809", - "2604:a180::/35": "11139", - "2a06:e881:7100::/46": "207748", - "2001:418:1401:24::/64": "2639", - "2401:d800:7730::/41": "7552", - "2405:23c0::/32": "134325", - "240a:abed::/32": "145703", - "2600:1001:a010::/40": "22394", - "2607:f098:6100::/32": "33363", - "2607:f6f0:9000::/48": "32323", - "2804:4d60::/32": "263096", - "2a07:a8c1::/33": "34939", - "2400:cb00:253::/48": "13335", - "2a02:26f7:c441::/46": "20940", - "2a0a:6340::/32": "42624", - "240e:183:8103::/29": "4134", - "2605:dec0::/32": "17303", - "2620:125:9007::/44": "10780", - "2801:18:9001::/48": "14080", - "2804:30a0::/32": "264965", - "2a02:2368::/32": "50270", - "2a07:6fc6::/32": "204254", - "2404:ea80::/38": "135373", - "2001:559:857d::/48": "33651", - "2607:f368:1000::/46": "32982", - "2804:76c8::/35": "271134", - "2a00:1560:1112::/32": "29684", - "2a02:26f7:da41::/46": "20940", - "2a04:4540::/29": "15943", - "2404:7000::/32": "17557", - "2804:10e0::/38": "263653", - "2804:24c0::/32": "262290", - "2a01:ac00::/32": "9066", - "2a04:4e40:ac30::/41": "54113", - "2a0a:3540::/29": "208861", - "2001:4878:62::/47": "12222", - "2400:cb00:a590::/48": "13335", - "2407:d200::/32": "38532", - "240e:679:8c00::/33": "4134", - "2001:559:c3c7::/48": "7922", - "2001:579:243b::/41": "22773", - "240a:a125::/32": "142943", - "2606:ea00::/32": "32666", - "2a06:1b40::/29": "203762", - "2001:67c:191c::/48": "35445", - "240e:3b8:4c00::/35": "136200", - "2606:38c0::/32": "399307", - "2804:3b20:203::/32": "266131", - "2a02:6a0:4ffe::/47": "4410", - "2a03:2880:f15f::/42": "32934", - "2402:e380:316::/48": "140733", - "240a:a8c1::/32": "144891", - "2607:a280::/32": "394117", - "2607:ff00:100::/40": "20454", - "2a02:d40:7::/44": "197071", - "2a0f:5701:3507::/44": "206499", - "2001:678:110::/48": "57436", - "2620:4e:e000::/48": "36321", - "2a0e:d3c0::/48": "205869", - "2a10:d000:1d::/29": "35506", - "2405:9800:c906::/47": "45458", - "2604:4480::/32": "22552", - "2604:d180::/32": "46573", - "2a0e:fd45:40f4::/48": "49367", - "2a0d:c140::/29": "211332", - "240a:a08a::/32": "142788", - "2a0a:7d80:3::/48": "35594", - "2408:870c:3010::/36": "17621", - "2606:2800:4203::/48": "14210", - "2804:508:ff20::/40": "52999", - "2a03:2c80::/32": "31084", - "2001:67c:25b4::/48": "49217", - "2001:4b20:1000:2514::/64": "65505", - "2607:f5f0::/32": "5739", - "2800:160:2270::/40": "14259", - "2a04:4fe0::/30": "200187", - "2408:8956:a900::/40": "17816", - "2607:7c80:58::/48": "11661", - "2801:10e::/48": "271844", - "2a04:5b82:9::/45": "202265", - "2406:daa0:2080::/44": "16509", - "240a:acf3::/32": "145965", - "2a03:2420::/32": "201682", - "2a04:5d40::/29": "59767", - "2001:559:8277::/48": "7016", - "2600:1008:6010::/32": "22394", - "2602:ffc8:c000::/34": "20278", - "2a07:c40::/29": "2119", - "2a0e:b102:110::/44": "58057", - "2409:801e:2900::/37": "24400", - "2800:160:1c06::/44": "14259", - "2a01:288:4004::/48": "42794", - "2001:67c:1640::/44": "43516", - "2001:df3:d000::/48": "133044", - "2604:c740::/32": "10392", - "2a02:e981:3d::/41": "19551", - "240e:109:8024::/48": "134768", - "2600:140f:c800::/48": "24319", - "2606:f280:8000::/33": "46261", - "2804:6cec::/32": "270501", - "2403:fbc0:4000::/48": "23959", - "2408:840c:d400::/40": "17621", - "240e:473:850::/39": "4134", - "2606:2800:e::/47": "15133", - "2606:ae00:cc41::/35": "7287", - "2800:160:1a84::/46": "14259", - "2804:a0::/32": "262318", - "2a01:1b1::/32": "39292", - "2a02:160::/32": "62183", - "2001:44b8:404a::/48": "7545", - "2600:1409:3801::/37": "20940", - "2804:2144:307::/44": "52795", - "2a00:f90::/32": "34781", - "2a02:2518::/43": "28917", - "2a0b:f4c0:1a4::/48": "205100", - "2a0e:b107:23a::/45": "209419", - "2001:44b8:30cd::/48": "4739", - "2a02:26f7:d980::/48": "36183", - "2a0f:607:140f::/48": "211132", - "2001:1248:9ae6::/39": "11172", - "2804:5534:b000::/37": "268696", - "2a00:6340:4001::/32": "58299", - "2a05:7100::/29": "42673", - "2001:559:818c::/48": "22909", - "2605:f000::/32": "22442", - "2804:5148::/32": "268443", - "2001:3c8:2708::/36": "4621", - "2001:550:2401::/46": "174", - "2407:9440:72::/32": "141626", - "2600:1406:201::/39": "20940", - "2600:370f:6040::/42": "32261", - "2a04:9a02:1000::/36": "42894", - "2001:14e8::/47": "6736", - "2403:780:10::/32": "64098", - "2600:1401:1::/46": "21342", - "2803:5440:ffff::/48": "264738", - "2a01:f8::/32": "39912", - "2a05:2a40::/48": "201411", - "2c0f:f918::/45": "37002", - "2001:428:6402:220::/64": "2639", - "2405:1c0:6753::/42": "55303", - "2a07:1c80::/29": "43065", - "2801:80:a70::/48": "263257", - "2001:1938:2106::/40": "12989", - "2403:5180:1::/48": "138038", - "2408:8957:c700::/40": "17816", - "240c:4086::/28": "38365", - "240e:980:4300::/40": "63835", - "2602:fcd5:8::/47": "397373", - "2620:9b:e000::/48": "399992", - "2804:6bf8::/32": "270437", - "2806:103e:1::/46": "8151", - "2a05:2d01::/32": "64404", - "2a0b:6b86:200::/40": "60271", - "2001:550:3502::/38": "174", - "240a:a645::/32": "144255", - "2806:230:3024::/48": "265594", - "2404:bd00::/44": "58678", - "2406:c00::/32": "45224", - "2804:2fc8::/32": "262611", - "2a02:6680:1::/46": "16116", - "240a:a1dc::/32": "143126", - "2600:1401:6002::/32": "20940", - "2605:5c0:10::/44": "26517", - "2804:6710::/32": "269601", - "2001:559:152::/48": "33652", - "2001:df6:ac00::/48": "58404", - "2a07:6bc0::/29": "197451", - "2a0c:69c0::/32": "202312", - "2001:559:8717::/48": "33659", - "2400:cb00:130::/48": "13335", - "2605:7100::/32": "11238", - "2606:f900:2000::/33": "812", - "2804:5e90::/32": "269041", - "2a01:8840:89::/48": "207266", - "2a04:5b81:2050::/44": "202265", - "2402:800:9b0f::/43": "7552", - "2409:8053:1000::/47": "56047", - "2a02:26f7:dc81::/46": "20940", - "2a10:cc40:918::/46": "20473", - "2001:678:598::/48": "31010", - "240a:a064::/32": "142750", - "2804:34d8::/32": "265484", - "2804:41b8::/32": "267452", - "2a09:bac0:285::/48": "13335", - "2a0c:2f07:9459::/48": "206924", - "2401:d800:bb20::/41": "7552", - "2406:2000:ef66::/48": "10310", - "240a:ac37::/32": "145777", - "2607:9000:a000::/33": "11878", - "2800:300:8940::/40": "27651", - "2a10:c580::/29": "212041", - "2001:67c:c4::/48": "210138", - "2001:df5:6a00::/48": "133742", - "2408:8456:f040::/40": "17816", - "2600:1404:1001::/37": "20940", - "2803:b8c0::/32": "264790", - "2a02:2e02:2590::/38": "12479", - "240a:abdf::/32": "145689", - "2a02:2e02:8d90::/38": "12479", - "2a09:1500:13::/48": "208175", - "2a10:ac80::/31": "29405", - "2001:67c:1b78::/48": "61411", - "2001:4802::/32": "27357", - "2401:d800:7480::/41": "7552", - "2804:7adc::/33": "262674", - "2a00:126f::/32": "57472", - "2a02:26f7:e801::/46": "20940", - "2a06:cd40:cafe::/47": "43927", - "2001:579:7114::/41": "22773", - "2604:bc40:6110::/48": "14618", - "2804:4ebc::/32": "268279", - "2a02:26f7:ed84::/48": "36183", - "2a02:ee80:412d::/43": "3573", - "2a07:9540::/29": "206141", - "2408:8256:2d6d::/43": "17623", - "2a01:198::/32": "34225", - "2a02:26f7:b9a5::/43": "20940", - "2a0d:9340::/37": "35761", - "2a0e:b107:470::/44": "138006", - "2a02:26f7:d385::/46": "20940", - "2001:67c:15d0::/48": "52201", - "240a:a071::/32": "142763", - "240a:a386::/32": "143552", - "240a:a69a::/32": "144340", - "2804:14d:fc40::/44": "28573", - "2a00:1c88:101::/48": "208685", - "2a02:26f7:c200::/48": "36183", - "2401:d800:d570::/40": "7552", - "2607:f128:1::/37": "32748", - "2804:1998::/32": "61805", - "2a05:ccc0::/29": "209288", - "2402:8400:900::/40": "17820", - "2403:8600:8000::/44": "45820", - "2408:4000::/28": "37963", - "2606:2800:4a24::/46": "15133", - "2610:20:8c20::/44": "3477", - "2620:67:a000::/48": "6491", - "2804:214:8558::/38": "26615", - "2a05:dfc7:30::/48": "36351", - "2600:1409:12::/48": "20940", - "2800:160:145c::/42": "14259", - "2804:11c::/32": "28357", - "2a06:4580::/29": "197890", - "2806:2f0:3564::/43": "17072", - "2001:559:332::/47": "7922", - "2001:ee0:c640::/39": "45899", - "2401:f9c0:1111::/48": "132383", - "240e:473:8150::/40": "4134", - "2804:2078::/32": "264492", - "2804:39d4::/32": "266053", - "2804:824c::/35": "272511", - "2a0b:e40:1::/46": "205809", - "2402:ef03:b::/45": "7633", - "2801:96:fff7::/48": "28586", - "2803:c200:c200::/48": "22411", - "2a10:2f00:13f::/48": "212996", - "2406:f400:120::/44": "134451", - "2605:4840:3::/48": "63473", - "2607:f380:829::/41": "2152", - "2804:154c:4407::/44": "263382", - "2a00:dd0:bbbc::/33": "47869", - "2001:550:bb02::/33": "174", - "2001:559:8663::/45": "7922", - "2400:1f00:b0::/48": "45769", - "2600:1419:d801::/34": "20940", - "2804:1e90:a180::/33": "264436", - "2001:448a:4070::/35": "7713", - "2404:130::/32": "24226", - "2602:fd75:1::/46": "46793", - "2c0f:f148::/32": "37542", - "2001:4b27:ffff::49/48": "34288", - "2408:80fa:62c0::/42": "17622", - "2409:8904:53b0::/37": "24547", - "240a:a53c::/32": "143990", - "2a02:2a8::/32": "29655", - "2a02:ebc0::/29": "52126", - "2001:1248:98fb::/45": "11172", - "240a:af00::/32": "146490", - "2602:fccd::/36": "397898", - "2607:f6f0:1001::/48": "394749", - "2a02:26f7:f6dc::/48": "36183", - "2001:49f0:a017::/44": "174", - "2403:9800:c049::/45": "133124", - "2407:9d00::/32": "45179", - "2409:8074:2100::/35": "9808", - "2a02:ee80:4161::/45": "3573", - "2a00:e200::/40": "41313", - "2604:880:207::/43": "29802", - "2a03:25e0:200::/40": "16376", - "2a11:5080::/29": "60935", - "2001:67c:1944::/48": "61430", - "2001:ee0:9e40::/39": "45899", - "2001:1248:97ed::/46": "11172", - "2001:43f8:b61::/48": "328010", - "2804:49c:3106::/48": "15201", - "2804:6e00::/32": "270569", - "2a09:3345::/30": "209509", - "2804:14d:6882::/47": "28573", - "2a02:28:5::/48": "28884", - "2409:8a53:f00::/35": "56047", - "2a10:ac40:2::/48": "397349", - "2606:ae00:beb1::/41": "7287", - "2a02:2088:1000::/36": "57564", - "2001:67c:26b4::/48": "57672", - "2403:fa00::/32": "9474", - "2a00:c6e0::/32": "12552", - "2400:3b00:20::/48": "18229", - "2600:100a:a000::/44": "6167", - "2a03:9120::/32": "43232", - "2a0d:4280::/29": "204630", - "2409:804f:3100::/36": "9808", - "240a:a461::/32": "143771", - "2605:a401:805e::/42": "33363", - "2a0e:b107:1182::/47": "210925", - "2001:559:c0b8::/46": "20214", - "2800:160:1ff2::/45": "14259", - "2a01:190:15e9::/48": "28848", - "2a05:fb40::/32": "208861", - "2001:67c:1988::/48": "198333", - "2001:4cb8:40b::/48": "49685", - "2405:1500::/42": "58717", - "240a:a7b7::/32": "144625", - "2600:140f:1801::/39": "20940", - "2a02:6800::/32": "43205", - "2a03:3ac0::/32": "57077", - "2001:13c7:7010::/48": "52224", - "2402:800:5b63::/43": "7552", - "2405:6940::/48": "139178", - "2408:8459:e630::/41": "17622", - "240a:adce::/32": "146184", - "2600:1015:9010::/39": "6167", - "2409:802f::/34": "56041", - "240e:3b4:1400::/38": "134773", - "2600:6c54::/30": "20115", - "2a02:26f7:f304::/48": "36183", - "2001:559:841d::/48": "33657", - "2404:b300::/48": "59318", - "240a:aacc::/32": "145414", - "2804:aac::/33": "52905", - "2804:f78:cecf::/34": "263587", - "2001:67c:1030::/48": "3257", - "2402:800:56ee::/39": "7552", - "2409:8a28::/33": "56041", - "2803:8920:7000::/32": "266673", - "2a02:7f40::/32": "20860", - "2001:df3:6500::/48": "55379", - "2a03:a860:51::/48": "397192", - "2c0f:eba0::/32": "328596", - "2001:67c:2bc0::/48": "3301", - "2607:fb90:c150::/48": "16509", - "2806:230:403b::/48": "11888", - "2401:d800:b030::/41": "7552", - "2401:d800:f920::/41": "7552", - "2409:8904:30a0::/38": "24547", - "2a00:1d36:c00::/40": "47331", - "2a0f:3240::/29": "60262", - "2001:4878:8007::/44": "12222", - "2804:23e4::/42": "264191", - "2a00:1138:7400::/32": "43782", - "2a02:26f0:4901::/40": "20940", - "2001:559:21f::/48": "33491", - "2001:559:2a8::/48": "7015", - "2001:559:8351::/48": "13367", - "2402:800:31c5::/43": "7552", - "2405:f600:80::/42": "45117", - "2803:a9a0::/32": "267709", - "2804:5214::/32": "268493", - "2001:67c:730::/48": "60754", - "2604:980:7004::/47": "21859", - "2804:2898::/32": "28305", - "2804:47a4::/37": "267067", - "2001:550:300:1::/48": "174", - "240a:af2c::/32": "146534", - "2803:9800:9995::/46": "11664", - "2a03:d780::/32": "49770", - "2a10:d200::/29": "212323", - "2001:4b20:100:668::/48": "34288", - "240a:a5fe::/32": "144184", - "240a:aa5d::/32": "145303", - "240a:ac9d::/32": "145879", - "2607:fd48:3000:100::/32": "13536", - "2a00:97c0::/32": "13243", - "2a09:be40:ba02::/48": "137909", - "2c0f:ef30::/32": "328334", - "240a:acc3::/32": "145917", - "2a0b:6940::/29": "49573", - "2001:43a8::/32": "22351", - "2401:3400:9000::/33": "45352", - "2408:8956:a100::/40": "17816", - "2408:8956:fe00::/39": "17816", - "240a:a3f7::/32": "143665", - "2804:3ab4:7100::/32": "266104", - "2604:6600:fd01::/40": "40676", - "240a:ac38::/32": "145778", - "2604:6d00:1000::/48": "36223", - "2a0f:607:1052::/48": "212425", - "2001:559:c28e::/48": "7922", - "2402:800:97b7::/41": "7552", - "2409:8078:2100::/36": "9808", - "2408:84f3:a640::/36": "17816", - "240e:108:2d::/48": "136197", - "2600:8807:c722::/40": "22773", - "2001:3c8:4007::/48": "137241", - "2602:fed2:711c::/48": "53356", - "2001:1b70:83::/48": "32094", - "2409:8d7d::/30": "9808", - "240a:ab0c::/32": "145478", - "2c0f:f478::/32": "327892", - "2401:d800:900::/42": "7552", - "2409:803d:2900::/38": "24444", - "240a:a202::/32": "143164", - "2600:9000:f110::/48": "16509", - "2a01:7d0::/32": "8612", - "2a02:26f7:db89::/46": "20940", - "2001:559:82b6::/48": "7922", - "2607:6700::/32": "40464", - "2a02:2000:facf::/29": "35297", - "2a02:26f7:dc89::/46": "20940", - "2a09:1b80::/29": "203959", - "2001:67c:1798::/48": "51744", - "2a0b:33c0:6::/48": "57395", - "2402:e380:e000::/35": "201106", - "2001:559:8722::/47": "33657", - "2001:568::/37": "852", - "2a01:bb20::/35": "61969", - "2001:67c:1134::/48": "205915", - "2405:100::/39": "9905", - "2405:2500:25::/46": "136565", - "240a:a4ad::/32": "143847", - "2620:101:d000::/45": "53582", - "2a02:26f7:dc08::/48": "36183", - "2a10:bb00::/29": "47864", - "2001:67c:2844::/48": "51458", - "2400:4d40:2::/38": "134204", - "2405:ce00::/32": "7575", - "2a00:1d58:7400::/36": "47524", - "2a03:4b40::/33": "50710", - "2001:9e8::/34": "8881", - "2402:e580::/44": "40138", - "2a00:74a0::/32": "20904", - "2001:579:40fc::/46": "22773", - "2001:df0:9d80::/48": "139221", - "2001:fd8:31b0::/44": "4775", - "2401:d800:7990::/42": "7552", - "2604:4500:100::/40": "29802", - "2604:d600:698::/45": "32098", - "2401:d800:58e0::/39": "7552", - "2606:62c0:3230::/48": "399686", - "2001:418:1401:3::/64": "2639", - "2402:7840::/32": "206264", - "2a03:f80:971::/48": "9009", - "2a09:7:2001::/48": "43992", - "2001:550:b001::/37": "174", - "2001:4490:7800::/46": "9829", - "2407:6640::/40": "142275", - "2407:ed00:1f00::/32": "9587", - "240a:a556::/32": "144016", - "240a:ac39::/32": "145779", - "2a0e:97c0:f00::/40": "20473", - "2001:559:c065::/48": "33652", - "2602:fffa::/36": "29889", - "2a02:4840:200::/47": "60567", - "2001:3c8:2706::/48": "4621", - "2001:559:1d3::/48": "33287", - "2001:4d78:1300::/40": "15830", - "2400:adc2:600::/39": "9541", - "2405:6400::/35": "23678", - "2600:1403:8c01::/35": "20940", - "2a01:190:15ee::/48": "28839", - "2a0e:b107:db1::/48": "212987", - "2600:1417:6f::/48": "20940", - "2607:f358:25::/48": "398826", - "2804:4d3c:a38::/41": "267420", - "2401:d800:7db0::/41": "7552", - "2600:1417:38::/48": "24319", - "2a02:2230:6300::/37": "25467", - "2a02:26f7:dc4c::/48": "36183", - "2804:3d4:1a::/42": "262401", - "2a02:4722::/29": "201333", - "2c0f:f140:a000::/33": "327700", - "2804:7f2c::/32": "271671", - "2a00:1e6a:7a::/32": "49373", - "2a02:5a60::/32": "12685", - "2001:df5:1700::/48": "18196", - "2405:7f00:81a0::/38": "133414", - "2a00:1850:2e1::/45": "29357", - "2a07:a6c0::/29": "3267", - "2a0b:2900:2100::/41": "48582", - "2001:470:a5::/43": "6939", - "2001:67c:26ec::/48": "6908", - "2600:141b:6001::/36": "20940", - "2604:ae80:1000::/36": "11904", - "2804:14c:4700::/40": "28573", - "2a01:6b80::/32": "8887", - "2a02:26f7:e2c4::/48": "36183", - "2001:559:c0fa::/48": "21508", - "240e:44::/33": "140061", - "2a02:5a0::/29": "9063", - "2a09:6a80::/48": "50007", - "2001:b012::/26": "3462", - "2408:8256:396b::/48": "17816", - "240a:a244::/32": "143230", - "2604:ca00:f00a::/45": "36492", - "2610:120:aab::/32": "33606", - "2406:c800:e001::/35": "38016", - "2800:8a0:a000::/36": "5722", - "2804:9e0::/32": "262999", - "2806:2eb::/32": "265524", - "2a02:2ab0:410::/42": "702", - "2a09:9340::/29": "209824", - "2a0c:55c0:1::/48": "43009", - "2a0c:9a40:8180::/48": "212983", - "2600:370f:2083::/42": "32261", - "2606:2800:6037::/48": "14153", - "2804:50e4::/32": "268417", - "2804:5d60::/32": "268968", - "2a03:a660::/32": "203441", - "2a0e:68c0::/48": "34907", - "2401:d800:b8b0::/41": "7552", - "2001:559:7e2::/48": "33657", - "2a00:d80::/29": "35518", - "2001:fd8:f1c0::/42": "132199", - "2400:6280:113::/45": "132280", - "240e:3bd:1400::/38": "134773", - "2800:d300::/33": "11830", - "2a0b:e680::/29": "49601", - "2001:310:9001::/33": "4694", - "2604:ca00:1000::/48": "36492", - "2605:6ac0:1000::/36": "13789", - "2408:84ee:c000::/27": "4837", - "2408:8956:3d00::/40": "17816", - "2800:bf0:251::/42": "27947", - "2803:db00:a81::/32": "262234", - "2a03:9fc0:1::/46": "200820", - "2001:559:c329::/48": "33659", - "240a:abf0::/32": "145706", - "2800:484:bb00::/40": "10620", - "2804:1b4c::/32": "61720", - "2804:4dcc::/33": "52856", - "2401:d800:5390::/42": "7552", - "240e:44d:7e00::/41": "140345", - "2603:c024:c000::/35": "31898", - "2607:da00::/39": "15164", - "2806:2f0:9161::/48": "17072", - "2600:140f:a401::/38": "20940", - "2a05:1000::/47": "201675", - "2001:559:807f::/48": "7016", - "2409:8907:7b20::/37": "24547", - "2604:4580::/38": "26375", - "2a04:f580:80a0::/48": "4134", - "2001:1688::/29": "3212", - "2402:800:61b8::/38": "7552", - "2600:3400::/30": "4181", - "2607:fad8:c8::/32": "22652", - "2804:1eec::/32": "264455", - "2804:73b4:4000::/32": "270932", - "2a09:6640::/29": "13135", - "2001:a98:8000::/48": "9095", - "240e:e2:2000::/31": "4134", - "2a06:c0c0:2::/29": "41018", - "2409:807e:1900::/34": "9808", - "2600:1002:9110::/36": "22394", - "2804:3614::/32": "266325", - "2a02:2e02:1700::/40": "12479", - "2400:1480::/48": "132425", - "2405:9800:9806::/43": "45430", - "2605:59c0:8000::/33": "36492", - "2804:4c5c:f7c0::/36": "267366", - "2a05:fe80::/29": "39702", - "2a0e:bb80::/30": "58317", - "2402:5300:2110::/38": "45903", - "2409:8a50:500::/38": "56047", - "2606:2800:4226::/44": "15133", - "2804:2e34::/32": "265331", - "2a04:880:afff::/29": "43623", - "2a07:ad40::/29": "206772", - "2407:8100:3::/48": "58436", - "2804:3300::/32": "61587", - "2804:6948::/32": "270260", - "2001:559:7ed::/46": "7016", - "2001:df6:4b00::/48": "135226", - "2605:6c80:2::/48": "14935", - "2a03:9ba0:201::/46": "209082", - "2a0a:67c0::/29": "212796", - "2400:8b00:2000::/42": "45727", - "2600:1002:9000::/44": "6167", - "2600:1413:9001::/34": "20940", - "2620:101:900c::/47": "40934", - "2804:145c:f001::/36": "263327", - "2804:2514::/36": "264259", - "2404:34c0::/46": "138536", - "2a01:c50f:98c0::/37": "12479", - "2c0f:fdf8::/32": "37028", - "2a0f:c081:b11e::/48": "48108", - "2400:a980:5900::/37": "133111", - "2404:8000:79::/40": "17451", - "240a:aa88::/32": "145346", - "2600:1014:a100::/44": "6167", - "2607:a480::/32": "395512", - "2a00:1ba0:2::/48": "6720", - "2a03:4c0::/32": "15405", - "2401:f000:9::/43": "38477", - "2600:1010:b130::/41": "22394", - "2600:1408:d400::/48": "36183", - "2a00:a9a0::/32": "198721", - "2406:840:7::/48": "139317", - "2408:84f3:f890::/37": "17816", - "2602:fd23:1::/48": "62788", - "2a05:d050:a080::/44": "16509", - "2001:fd8:b180::/44": "132199", - "2401:ee00:12a::/43": "23951", - "240e:49:9400::/30": "4134", - "2803:2a01:8400::/48": "27895", - "2a09::/48": "6233", - "2001:1b10::/32": "29259", - "2402:5680::/36": "133798", - "2404:bf40:e006::/40": "139084", - "240a:ab46::/32": "145536", - "2a00:d700::/32": "56438", - "2a02:26f7:b1::/45": "20940", - "2a02:26f7:e3c8::/48": "36183", - "2001:df0:4b00::/48": "9723", - "2602:ff96:17::/48": "35913", - "2607:f110:e060::/39": "21889", - "2401:d800:22c0::/42": "7552", - "2001:559:84ab::/48": "22258", - "2001:678:b8c::/48": "57498", - "2001:dd8:14::/47": "30133", - "2001:ee0:eb00::/40": "45899", - "2001:fd8:ff00::/40": "132199", - "2001:44b8:406b::/48": "4739", - "2401:bcc0::/48": "133311", - "2404:39c0::/32": "138539", - "2804:11bc:8000::/38": "263435", - "2804:4bc:4001::/35": "262462", - "2001:559:110::/48": "33657", - "2001:559:c16f::/48": "33657", - "2001:678:d::/48": "49488", - "2001:c90::/32": "9595", - "2408:8459:ca30::/41": "17622", - "240e:473:ab20::/41": "140486", - "2620:52:6::/47": "21785", - "2a03:1160::/40": "201727", - "2a04:3f83:45::/44": "9120", - "2001:559:4d5::/48": "33657", - "2600:140f:c401::/38": "20940", - "2a07:4300:1609::/48": "209622", - "2a10:3244::/30": "398481", - "2001:67c:2200::/48": "50620", - "2402:800:9b71::/40": "7552", - "240a:ad7f::/32": "146105", - "2600:1405:7801::/32": "20940", - "2a07:de40:1000::/38": "29298", - "2001:67c:1b24::/48": "30931", - "240a:a657::/32": "144273", - "240a:a66e::/32": "144296", - "2001:1310:3121::/48": "26610", - "2001:4888:8020::/46": "22394", - "2402:800:547f::/40": "7552", - "2604:d600:1065::/43": "32098", - "2804:d3c:8110::/33": "52613", - "2001:520:1001::/48": "8103", - "2400:ca02:f122::/43": "23688", - "2400:cb00:346::/47": "13335", - "2409:8e80:9000::/34": "56040", - "240a:a4f6::/32": "143920", - "2620:1d4:501e::/47": "19726", - "2804:c6c:8103::/45": "52704", - "2804:1e2c::/40": "264412", - "2804:31f0::/32": "265046", - "2001:57a:e0e0::/36": "22773", - "2604:d600:132f::/43": "32098", - "2a01:abc0::/32": "12709", - "2a02:fa0::/32": "35191", - "2a03:9e41::/32": "32611", - "2a0c:ff00:2::/29": "204975", - "2001:559:56f::/48": "7016", - "2405:e000:1421::/32": "37963", - "2600:140b:4c00::/48": "31109", - "2605:f440:caff::/34": "54874", - "2607:fcd0:fa80:5d01::/54": "8100", - "2a02:26f7:e8c5::/46": "20940", - "2804:7f00::/32": "271660", - "2620:1ec:8f8::/45": "8068", - "2804:1ca8::/32": "61667", - "2804:2820::/32": "263942", - "2001:df3:fd80::/48": "140442", - "2804:4e1c::/32": "268240", - "2804:5330::/32": "174", - "2a02:ee80:41b6::/41": "3573", - "2400:3840::/33": "23860", - "2804:30dc::/32": "264977", - "2a02:2698:6c00::/38": "51570", - "2a02:26f7:b845::/46": "20940", - "2001:67c:187c::/48": "41496", - "2400:adc7:1800::/39": "9541", - "2403:9800:c031::/44": "4648", - "2804:310c::/32": "264989", - "2a00:d2a0::/29": "15600", - "2a00:fc00::/32": "3255", - "2a0e:97c1:f14::/47": "20473", - "2001:559:827f::/48": "33652", - "2a0b:1b00::/29": "49544", - "2001:c20:486c::/46": "9255", - "2409:8027:2907::/38": "9808", - "2409:8924:4500::/38": "56046", - "240e:3bb:f100::/36": "4134", - "2606:5080::/32": "63343", - "2a02:26f7:ec54::/48": "36183", - "2001:678:b94::/48": "34601", - "2620:0:8a0::/48": "3495", - "2a00:1851:3e21::/39": "29357", - "2404:e680:1102::/42": "18409", - "2603:c002:8150::/38": "31898", - "2806:2f0:2401::/46": "22884", - "2a06:1c5:e6::/36": "207455", - "2a0a:3140:600::/46": "15532", - "2001:550:30f::/37": "174", - "2402:800:569b::/41": "7552", - "2409:8c85:aa02::/48": "38019", - "240a:a619::/32": "144211", - "2804:2984::/32": "53184", - "2a00:86c0:2096::/32": "2906", - "240a:a3c9::/32": "143619", - "2620:0:7f00::/48": "395262", - "2804:4ae0::/39": "267269", - "2a06:cdc0:2006::/44": "49941", - "2a09:4b44:1::/30": "61317", - "2a05:f507:72::/48": "13443", - "2001:1260:113::/44": "13591", - "2001:4490:d000::/46": "9829", - "2408:8256:1196::/37": "17622", - "240e:30d:4a00::/35": "137688", - "2600:100a:9010::/40": "22394", - "2801:80:1a90::/48": "265490", - "2a04:4e42:7a::/45": "54113", - "2a0e:8f02:f00d::/48": "212360", - "2a10:1180::/31": "212181", - "2001:559:8505::/48": "7015", - "2001:678:e8::/48": "41088", - "2401:ff80:1811::/46": "133954", - "2405:600:3::/35": "55805", - "2804:317c::/32": "265018", - "2804:49e8::/32": "267208", - "2806:20d:5807::/39": "32098", - "2602:ffe4:c3e::/41": "21859", - "2606:b400:8004::/48": "792", - "2607:f9e0::/36": "17113", - "2804:f58::/32": "263581", - "2001:678:91c::/48": "206671", - "2001:df1:f080::/48": "139776", - "240a:a4bf::/32": "143865", - "2607:fc18::/36": "13706", - "2001:67c:1090::/48": "199178", - "240e:44d:2b00::/41": "140345", - "2605:dd40:8224::/47": "398549", - "2800:160:132e::/43": "14259", - "2a01:9c00::/32": "44567", - "2a01:ce9e:1000::/31": "51964", - "2602:fcf6:105::/48": "210930", - "2a06:c400::/44": "51559", - "2400:cb00:302::/48": "395747", - "2401:d800:f6a0::/41": "7552", - "2401:ff80:1203::/45": "133954", - "2404:f4c0:ff0f::/48": "139247", - "2406:7400:48::/46": "131269", - "240a:a6e7::/32": "144417", - "2a09:dec0::/29": "43424", - "2600:380:6900::/35": "20057", - "2001:678:90c::/48": "20473", - "240a:a23f::/32": "143225", - "2600:1406:31::/48": "20940", - "2a02:26f0::/48": "20940", - "2a02:4180::/32": "42334", - "2402:5ac0::/36": "137409", - "2a04:2b00:119::/48": "206925", - "2a07:e01::/32": "210083", - "2a02:1400::/26": "2119", - "2001:559:c3e1::/48": "33660", - "2402:800:9971::/44": "7552", - "2408:8256:398e::/43": "17623", - "240a:a6a2::/32": "144348", - "240e:5a:4540::/40": "140297", - "2602:ff44::/36": "393524", - "2a02:1e0::/29": "39102", - "2a07:f400::/29": "207584", - "2402:8100:259e::/42": "55644", - "240a:a7fa::/32": "144692", - "2607:fcf0:104::/32": "13445", - "2a02:26f7:ef04::/48": "36183", - "2a05:f740::/29": "206119", - "2401:ff80:1993::/38": "133954", - "2404:2f40::/32": "133938", - "240e:3:8002::/36": "134761", - "2804:56e0:40::/32": "268029", - "2a03:1840::/46": "51248", - "2a0d:77c7:748a::/36": "7489", - "2804:44dc::/32": "267658", - "2001:559:7d8::/46": "7922", - "2001:559:8358::/48": "21508", - "2400:adc7:1000::/39": "9541", - "2402:800:fca0::/39": "7552", - "240a:a6c4::/32": "144382", - "240a:ab18::/32": "145490", - "2605:ef80:16::/42": "36492", - "2404:cc00:2223::/32": "24441", - "2a02:21e8::/32": "197036", - "2001:1218:6017::/44": "278", - "2402:4f00:9000::/33": "58453", - "2408:8456:8840::/39": "17816", - "2600:1406:a::/48": "35994", - "2600:6c38:7d::/40": "20115", - "2800:24::/32": "14187", - "2a00:c30::/32": "5391", - "2001:559:55a::/48": "33651", - "2001:559:80d6::/48": "33287", - "2001:44b8:6069::/48": "4739", - "2600:1009:d020::/34": "22394", - "2607:700:900::/35": "22343", - "2610:20::/37": "33343", - "2a00:dd8::/48": "31012", - "2001:559:33c::/48": "7016", - "2408:8256:398d::/48": "17816", - "2409:8914:6a00::/39": "56044", - "240e:37f:aa00::/39": "140330", - "2602:ffe4:c32::/48": "21859", - "2a06:bc40::/29": "203939", - "2a0a:d840::/29": "42383", - "2001:12a0:5000::/32": "28292", - "2001:4878:4220::/48": "12222", - "2402:6800:0:3014::/64": "7473", - "2607:f020:2000::/40": "40289", - "2407:d0c0::/32": "133434", - "2409:4012:3000::/29": "55836", - "2607:fb58:9000::/33": "36086", - "2001:df5:fd00::/48": "138034", - "2600:100d:9000::/44": "6167", - "2a00:1ee0::/32": "41357", - "2a02:6c60::/32": "49223", - "2001:44b8:3082::/48": "7545", - "240e:3bb:dc00::/34": "4134", - "2607:f6f0:7002::/40": "27330", - "2620:65:8000::/46": "20306", - "2804:741c::/32": "270959", - "2806:2f0:5141::/42": "17072", - "2a02:26f7:c789::/42": "20940", - "2800:160:152e::/43": "14259", - "2404:4a00:7500::/64": "55423", - "2600:1002:a000::/44": "6167", - "2600:100a:b030::/40": "22394", - "2a00:1298:8017::/33": "5578", - "2001:ee0:324b::/37": "45899", - "2407:d300::/32": "17819", - "240e:183:8101::/46": "140647", - "2a02:26f7:f749::/42": "20940", - "2402:b800::/32": "7718", - "2600:6c38:8d2::/42": "20115", - "2a01:7a80::/29": "197301", - "2001:fd8:1e4::/46": "132199", - "2604:e580:ffff::/48": "2900", - "2a0b:6b81:3::/45": "42615", - "2a0c:4481:1::/46": "204720", - "2a0d:7c80::/32": "204425", - "2401:4900:4c10::/44": "45609", - "2804:568::/37": "262514", - "2a02:950::/30": "31229", - "2404:b740::/48": "18403", - "240a:ae80::/32": "146362", - "2600:1417:d801::/37": "20940", - "2806:230:302a::/48": "265594", - "2a11:a500::/32": "60505", - "2600:1012:b140::/42": "6167", - "2001:67c:173c::/48": "60481", - "2402:800:f9f0::/38": "7552", - "2402:c0c0::/32": "135071", - "2408:84f3:9a10::/42": "134543", - "2402:800:36e0::/44": "7552", - "240a:a888::/32": "144834", - "2803:2540:10::/40": "264668", - "2804:2d20::/32": "265263", - "2a05:f6c0::/29": "203953", - "2a00:1990::/32": "34442", - "2001:559:84df::/48": "33659", - "2001:1900:23ce::/35": "3356", - "2409:40f1::/30": "55836", - "240a:a13a::/32": "142964", - "2800:160:1d4d::/43": "14259", - "2804:51ec::/32": "268485", - "2804:7fa0::/35": "271699", - "2a02:46e0::/39": "60049", - "2405:6ac0::/32": "139736", - "2605:a404:cf4::/32": "33363", - "2803:af80:1100::/32": "263732", - "2804:5944::/32": "268180", - "2a00:1c10:cd0::/44": "50300", - "2001:550:8d02::/38": "174", - "2804:3404::/32": "52539", - "2806:101e:6::/44": "8151", - "2a02:26f7:c904::/48": "36183", - "2a03:6540::/32": "61316", - "2a01:c50f:b000::/40": "12479", - "2a02:26f7:b9c9::/42": "20940", - "2a07:b5c0::/29": "41046", - "2409:806c:3900::/27": "9808", - "240e:979:7e00::/40": "134770", - "2606:21c0::/32": "36698", - "2804:30fc::/46": "263009", - "2a0c:5244::/30": "208861", - "2800:110:301::/35": "4270", - "2a00:4802:3d00::/38": "13124", - "2a02:26f7:be04::/48": "36183", - "2a02:26f7:f7c8::/48": "36183", - "2001:559:346::/44": "33491", - "2001:559:766::/47": "33491", - "2409:8053:3002::/40": "56047", - "240e:1f:8002::/36": "4813", - "2600:140f:6800::/48": "9498", - "240e:473:3e50::/39": "4134", - "2001:559:2c2::/48": "7922", - "2001:d30::/46": "4717", - "2804:2b54::/32": "265147", - "2001:12f0:300::/48": "2716", - "2602:fd0d::/36": "47085", - "2a02:680:8000::/36": "20539", - "2a06:5240:1ff0::/44": "50629", - "2001:678:b48::/48": "208008", - "2401:1740::/39": "136600", - "2604:5cc0:100e::/36": "13351", - "2604:d600:1818::/39": "32098", - "2804:14d:5c21::/41": "28573", - "2a0c:da85::/32": "208861", - "2605:9600::/32": "62", - "2804:6790:8000::/34": "269636", - "2a00:54a0::/32": "50941", - "2a00:e300::/32": "43711", - "240e:438:8840::/38": "4134", - "2a02:26f7:de8d::/46": "20940", - "2a0a:4440::/32": "207242", - "2409:8904:e2b0::/31": "24547", - "2801:80:17a1::/43": "61580", - "2001:559:7d5::/48": "7015", - "2404:8d02:1045::/36": "10089", - "2804:8194::/32": "272463", - "2a02:970:1209::/41": "44002", - "2401:d100:d::/32": "18705", - "2405:2d00::/32": "58877", - "2606:ed00:2::/32": "47869", - "2a0e:cb80::/29": "44486", - "2a10:45c0::/32": "212808", - "2402:800:f380::/42": "7552", - "2404:1b00::/32": "55912", - "240a:a475::/32": "143791", - "2a02:26f0:d600::/48": "34164", - "2408:8256:3776::/44": "17623", - "240a:a9d4::/32": "145166", - "2803:9800:901c::/42": "11664", - "2a04:3280::/29": "21176", - "2a10:2f00:169::/48": "211665", - "2404:ef80::/48": "135944", - "2407:9000::/32": "24130", - "2408:8456:9000::/42": "17622", - "240e:3b8:7600::/39": "140313", - "2620:13a:c003::/43": "53356", - "2804:1b3:6000::/36": "18881", - "2804:4038::/32": "265945", - "2400:9800:11::/46": "24203", - "2408:8456:8240::/39": "17816", - "240a:a662::/32": "144284", - "2605:4a00:111::/44": "14361", - "2406:6e00:f03b::/41": "17457", - "2001:678:b30::/48": "41634", - "2001:4878:8010::/48": "12222", - "2600:1480:3000::/40": "33905", - "2a02:16e0::/32": "12703", - "2001:528::/32": "46742", - "2402:800:6239::/41": "7552", - "2409:807c:4100::/32": "9808", - "2600:140f:1600::/48": "9498", - "2a05:fdc2:a000::/29": "42313", - "2804:1b3:4000::/39": "18881", - "2a02:128:6::/48": "50765", - "2001:559:35c::/48": "33491", - "2408:8256:3b80::/44": "17623", - "2a06:cb00::/29": "203615", - "2a0d:1600::/32": "57354", - "240e:3b2:3e00::/33": "140308", - "2803:7260:21::/32": "52238", - "2804:6fc:c100::/36": "28158", - "2806:2f0:7201::/42": "17072", - "2a02:26f7:db8c::/48": "36183", - "2a0e:fd45:d30::/44": "207803", - "240a:a9c5::/32": "145151", - "2404:160:a440::/33": "10030", - "240a:a631::/32": "144235", - "2600:40ff:fffc::/46": "701", - "2a0b:9ec0::/32": "44330", - "2001:4878:a259::/48": "12222", - "2408:8456:ca40::/40": "17816", - "2409:8924:b00::/37": "56046", - "2602:ffa7::/36": "46378", - "2620:1d6:ffe::/47": "2571", - "2a0f:8740::/29": "34596", - "2401:d800:7ba0::/41": "7552", - "2402:b500::/48": "38203", - "2600:100f:d040::/34": "22394", - "2610:20:8808::/37": "3477", - "2806:230:3029::/48": "11888", - "2a02:2d8:1:780b::/32": "9002", - "2a02:2861::/32": "25255", - "2404:b300:11::/46": "131207", - "2800:160:1b28::/43": "14259", - "2804:25bc:21::/32": "264299", - "2804:26b0::/32": "263849", - "2620:0:360::/48": "14182", - "2800:160:1e9b::/42": "14259", - "2804:f84::/32": "263589", - "2a02:23c0::/32": "45011", - "2001:df2:e900::/48": "137035", - "2803:7410::/32": "271857", - "2401:ff80:1293::/39": "133954", - "2402:8d03:ffee::/48": "135008", - "2804:8178::/32": "272456", - "2a0e:8f02:1025::/41": "204446", - "2001:4878:220::/48": "12222", - "240e:44d:1680::/41": "4134", - "2804:dec::/32": "52527", - "2a0c:1a40:1::/48": "48362", - "2a0c:a9c7:177::/48": "42385", - "2a07:39c0::/29": "60111", - "2001:559:5ea::/48": "33651", - "2001:559:779::/48": "22909", - "2001:678:78c::/48": "12360", - "2401:4900:a80::/39": "45609", - "2620:138:3018::/45": "22604", - "2804:490:8600::/40": "265705", - "2a01:9700:126c::/46": "8376", - "2a0f:d500::/29": "201978", - "2409:805c:30b1::/41": "9808", - "240e:44d:2200::/41": "140345", - "2600:1005:9110::/34": "22394", - "2001:df6:c00::/48": "55451", - "240e:1d:4000::/36": "136190", - "2a03:16a0::/32": "15397", - "2a0a:340::/40": "48043", - "2001:67c:26d0::/48": "198476", - "2620:118:a004::/47": "26342", - "2a00:8740:10::/47": "49037", - "2001:2d8::/32": "9644", - "2001:13d2:811::/46": "7303", - "2001:4457:ff0::/48": "20940", - "2620:133:c000::/44": "22992", - "2a01:308::/32": "42009", - "2a02:26f7:bf08::/48": "36183", - "2a02:26f7:ed41::/46": "20940", - "2a02:7a00::/47": "39904", - "2408:84f3:f690::/36": "17816", - "240a:a505::/32": "143935", - "240e:44d:1d00::/41": "140345", - "240e:473:6800::/41": "140485", - "2604:d600:1554::/46": "32098", - "2a00:9460::/31": "47631", - "2a02:310::/32": "34106", - "2001:559:c298::/48": "33287", - "2403:2800::/47": "38566", - "2a05:f280::/29": "30884", - "2a0e:7d40:44::/44": "209833", - "2001:559:8564::/48": "33652", - "2001:67c:1950::/48": "29037", - "240a:a9ee::/32": "145192", - "240a:ae74::/32": "146350", - "2001:678:6e0::/46": "202329", - "2620:11a:c000::/43": "54113", - "2a01:4dc0:11::/42": "206618", - "2a02:26f7:9e::/48": "36183", - "2401:3b00::/32": "9363", - "2604:3d80:400::/40": "11030", - "2607:6980:3a70::/44": "32931", - "2a02:c200:2::/32": "51167", - "2804:21e4::/32": "264580", - "2a00:1120::/32": "34574", - "2a01:cd01:8080::/48": "28708", - "2804:45d8::/32": "266953", - "2806:230:4023::/48": "11888", - "2607:fb10:7012::/42": "2906", - "2001:559:541::/48": "33651", - "2400:8f80:ac::/48": "45638", - "2404:5580::/48": "213059", - "2405:6e00:2680::/44": "18291", - "240e:698:2100::/40": "4811", - "2600:1014:9000::/44": "6167", - "2605:1640:12:21::/32": "19681", - "2a03:5a00:a::/48": "198778", - "240e:3bd:7800::/39": "4134", - "2605:9d80:9023::/48": "4809", - "2610:a1:3034::/48": "12008", - "2a02:598:3334::/33": "43037", - "2a0b:40::/29": "205930", - "2401:fa00::/42": "45566", - "2402:d000:811d::/42": "9329", - "2604:6940::/40": "11006", - "2620:171:d1::/46": "42", - "2a00:d480::/32": "16246", - "2001:559:8795::/48": "33489", - "2001:1620:2015::/48": "35663", - "2409:8c50:ffff::/48": "9808", - "2a00:f41::/30": "43447", - "2001:4de0:4008::/48": "26769", - "2402:800:3de0::/44": "7552", - "2405:6e00:a00::/35": "133612", - "2602:feda:e30::/48": "147028", - "2604:d600:ca1::/45": "32098", - "2804:5c08::/32": "52548", - "2401:5400::/34": "4434", - "2405:6600:70a::/36": "45845", - "2a0c:e6c0::/29": "39259", - "240a:acd1::/32": "145931", - "2001:559:d7::/44": "7922", - "2001:559:8080::/45": "7922", - "2001:678:302::/48": "35684", - "2401:d800:bf50::/42": "7552", - "2406:3a40::/32": "131677", - "2409:8053:2002::/40": "56047", - "240a:a6b0::/32": "144362", - "2603:c020::/35": "31898", - "2604:880:5e::/48": "29802", - "2804:180::/32": "26615", - "2001:19f0:8000::/38": "20473", - "2001:44b8:4057::/48": "4739", - "240a:a972::/32": "145068", - "2600:1fa0:40c0::/44": "16509", - "2605:7840:2000::/36": "32482", - "2602:ff99::/46": "14333", - "2800:68:36::/48": "61468", - "2a00:1478::/32": "43190", - "2a04:ac00::/48": "56534", - "2a0d:7080::/29": "200322", - "2001:c20:c84c::/46": "9255", - "2407:d080::/32": "133120", - "2603:1061:7::/30": "8075", - "2a01:7e20::/31": "199805", - "2a0b:3cc0::/29": "48147", - "2a02:6900:8804::/48": "43898", - "2001:500:99::/46": "30133", - "2001:550:90a::/48": "32489", - "2001:4bd8:53::/29": "15725", - "2405:8740::/32": "46019", - "2804:1d48::/32": "264358", - "2804:2b64::/32": "265151", - "2806:230:2021::/48": "11888", - "2a02:e240::/29": "20676", - "2a06:afc0:1::/48": "58286", - "2001:1248:84dc::/46": "11172", - "2401:ff80:1b0f::/43": "133954", - "2600:9000:1148::/48": "16509", - "2a0c:1340::/29": "43260", - "2001:67c:12c0::/47": "202033", - "2403:9d40::/32": "137263", - "2409:802f:2a05::/48": "9808", - "240a:a557::/32": "144017", - "2620:135:7002::/48": "3356", - "2a0c:eb00::/32": "204983", - "2a0f:5707:ab2a::/48": "53356", - "2406:3800::/32": "24245", - "2620:fc:c000::/48": "64241", - "2a02:26f7:f54d::/42": "20940", - "2403:4c0:7800::/37": "56207", - "2408:8957:a500::/40": "17816", - "2804:f78::/32": "263587", - "2804:894::/32": "262379", - "2804:3b98::/32": "266159", - "2a02:ee80::/34": "3573", - "2a0f:9400:8011::/48": "207445", - "2409:4042:5000::/31": "55836", - "240a:a2c9::/32": "143363", - "2804:172c::/32": "263129", - "2a02:8300::/28": "16019", - "2a02:26f7:80::/48": "36183", - "2a02:26f7:bcc5::/46": "20940", - "2a07:a740::/29": "57795", - "2a0e:b704::/47": "210960", - "2401:d800:5e0::/38": "7552", - "2401:ff80:1813::/40": "133954", - "2603:90b9::/32": "10838", - "2c0f:f918:25c0::/32": "37002", - "2001:dce:5100::/48": "38064", - "2400:7e80::/32": "59258", - "2406:3000:43::/44": "4657", - "2607:f868:8008::/34": "20141", - "2001:678:318::/48": "51597", - "2001:1a11:84::/48": "42298", - "240a:a4b7::/32": "143857", - "2607:f7c0:8100::/34": "36444", - "2804:1698::/32": "263295", - "2804:6768::/32": "269626", - "2a03:4340::/32": "47279", - "2a0e:c80:743::/48": "40676", - "2001:67c:130c::/48": "41281", - "2400:9380:97c0::/44": "136167", - "2408:8957:bf00::/40": "17816", - "2800:300:8a00::/37": "27986", - "2806:2f0:9700::/36": "17072", - "2a02:26f7:aa::/48": "36183", - "2001:df2:a300::/48": "6336", - "2001:df5:3180::/48": "135905", - "2405:e100::/43": "132116", - "2804:884:2::/32": "262375", - "2a06:c3c0::/48": "52048", - "2a0f:60c0::/29": "6673", - "240a:a6d0::/32": "144394", - "240a:af20::/32": "146522", - "2a0a:aec0::/29": "6830", - "2400:bf40::/32": "135003", - "2800:26f::/32": "19429", - "2804:14d:5cbd::/41": "28573", - "2a04:f580:8010::/47": "4134", - "2a0c:c080::/29": "57866", - "240a:a883::/32": "144829", - "2001:67c:2b10::/48": "60275", - "2001:448a:1050::/42": "7713", - "240a:adc9::/32": "146179", - "2605:6500::/48": "26512", - "2801:154:10::/42": "266669", - "2804:5374::/32": "268585", - "2402:800:540f::/43": "7552", - "2404:8d00:1410::/36": "24378", - "2a03:ffc0::/32": "199354", - "2a05:1080:40::/48": "61004", - "2001:7fc::/48": "211321", - "240e:5a:7000::/29": "4134", - "240e:473:3650::/39": "4134", - "2600:380:ea00::/37": "7018", - "2606:62c0:3530::/48": "399686", - "2610:18:8802::/33": "2828", - "2a02:2498:8100::/33": "13213", - "2402:800:5363::/43": "7552", - "2409:8008:d9::/36": "24547", - "240e:438:3c20::/43": "140647", - "2801:80:1c80::/48": "266161", - "2001:67c:2d9c::/48": "29436", - "2800:160:1dd2::/45": "14259", - "2001:67c:434::/48": "8422", - "2606:5200::/32": "32477", - "2a02:26f7:d585::/46": "20940", - "2a03:3f00::/47": "21245", - "2a07:cb40::/29": "28999", - "2a09:cd45::/30": "202448", - "240a:aad5::/32": "145423", - "2602:ff23::/48": "398019", - "2620:12d:400b::/45": "395853", - "2804:1410::/32": "262360", - "2804:3270::/32": "265078", - "2806:230:601c::/48": "265594", - "2a02:26f0:1e01::/34": "20940", - "2001:fd8:61::/46": "4775", - "2600:140b:3400::/48": "31109", - "2804:2874::/32": "263962", - "2804:6c10::/32": "270443", - "2a00:1018::/37": "25394", - "2600:6c38:b47::/44": "20115", - "2603:c002:1a00::/42": "31898", - "2a01:8840:e1::/48": "207266", - "2a01:a8c0::/29": "44712", - "2804:1a80::/32": "262333", - "2a0f:c940::/29": "210107", - "2001:dc0::/35": "4777", - "2605:2a00::/32": "16532", - "2a00:8dc0:fffe::/47": "201029", - "2406:c500:ff4::/48": "58534", - "2408:8207:a840::/28": "4808", - "240a:a2f7::/32": "143409", - "240e:438:820::/43": "140647", - "2804:145c:8050::/40": "263327", - "2c0f:eca0::/32": "37415", - "2a04:a802::/39": "3549", - "2a06:ffc0::/29": "203376", - "2a07:6c80::/29": "27176", - "2620:100:6051::/40": "19679", - "2001:67c:1688::/48": "42632", - "2406:840:fd00::/48": "134993", - "2407:d140::/36": "8849", - "240a:a10a::/32": "142916", - "240a:a9d8::/32": "145170", - "2607:f220:402::/48": "30387", - "2620:f0:c00a::/48": "14148", - "2804:d8c:a09::/32": "52638", - "2a04:1200::/29": "33951", - "2001:559:702::/47": "7016", - "240a:a926::/32": "144992", - "2409:8915:4e00::/39": "56044", - "2606:2800:400b::/48": "14153", - "2620:0:ed0::/48": "22787", - "2804:2e94::/32": "52780", - "2804:591c::/42": "28370", - "2a05:9cc3::/29": "2116", - "2001:559:c313::/48": "33652", - "2603:c0f0:1210::/39": "6142", - "2800:440:106::/48": "27738", - "2a01:540::/33": "12389", - "2a03:1360::/32": "31736", - "240e:244:200::/40": "136195", - "2800:320:840c::/48": "27882", - "2a07:f00::/29": "203412", - "2001:559:8727::/44": "7922", - "2001:df0:273::/48": "58477", - "2001:df5::/48": "58869", - "2402:800:5a01::/44": "7552", - "2a0e:b107:12c0::/44": "141445", - "2402:800:528d::/43": "7552", - "2600:1406:a401::/36": "20940", - "2804:2298::/32": "264110", - "2a04:8240::/29": "6694", - "2001:559:8292::/48": "33657", - "2403:b300:ff01::/40": "16509", - "2001:67c:2d70::/48": "57118", - "2402:800:58e0::/44": "7552", - "2804:2a0::/38": "28272", - "2804:4c14:fb01::/37": "267348", - "2a03:c600::/32": "3262", - "2a05:d050:c0c0::/44": "16509", - "2406:840:fd07::/48": "134993", - "2409:805c:2c00::/35": "9808", - "2606:5580:c000::/38": "63242", - "2620:2e:40ce::/47": "394506", - "2001:67c:19c4::/48": "62159", - "240a:aeb5::/32": "146415", - "2804:2af0::/45": "265126", - "2806:230::/36": "11888", - "2001:559:8477::/48": "33659", - "240a:ad6f::/32": "146089", - "2602:fed3:1::/45": "19969", - "2a00:1d36:cc0::/38": "9121", - "2a02:26f0:c1::/46": "20940", - "2001:3c8:5505::/48": "137850", - "2001:44b8:406c::/48": "7545", - "2404:1f00:ffa8::/43": "55947", - "240a:a844::/32": "144766", - "2620:8b:c000::/48": "14382", - "2a0c:5e00::/32": "205053", - "2401:d800:b850::/40": "7552", - "2406:da1e::/36": "16509", - "2602:fed2:710a::/48": "53356", - "2604:2940::/32": "395719", - "2806:230:2035::/48": "11888", - "2405:9800:c903::/45": "45430", - "240a:af30::/32": "146538", - "2a02:26f7:dfc1::/46": "20940", - "2a11:6c0:caff::/29": "211083", - "2001:4528:9100::/37": "18101", - "2800:860:9::/48": "262197", - "2a05:e800:1::/48": "50881", - "2a0e:a180::/29": "208591", - "240a:a519::/32": "143955", - "2804:4244::/32": "267489", - "2a02:26f0:201::/39": "20940", - "2a02:26f7:eac5::/46": "20940", - "2a10:4580::/29": "398559", - "2408:8956:eb00::/40": "17816", - "2a03:5840:100::/48": "213073", - "2a0d:1c0::/29": "49095", - "2800:a40:a000::/35": "22080", - "2804:22e0::/32": "264128", - "2804:4a78:a200::/33": "267242", - "2a0a:9202::/29": "61317", - "2a0a:ce80::/29": "40970", - "2408:8000:a019::/33": "4837", - "240a:aceb::/32": "145957", - "240a:afbb::/32": "146677", - "2a02:1698::/32": "51127", - "2c0f:ef78:9::/48": "63293", - "2001:200::/37": "2500", - "240a:a513::/32": "143949", - "2600:1419:19::/48": "4230", - "2a06:a100::/29": "48685", - "2a0e:fd45:1000::/48": "207852", - "2001:559:2e7::/48": "33668", - "2405:f5c0::/48": "135932", - "2a05:7380::/29": "201283", - "2a06:5b80::/32": "207083", - "2c0f:eaa8::/32": "37540", - "2001:67c:3a8::/48": "51839", - "2a0d:f840::/29": "47489", - "240a:aacd::/32": "145415", - "2605:cf80::/32": "63297", - "2804:2428::/32": "264205", - "2a0f:6a40::/29": "29329", - "2800:160:1ddc::/42": "14259", - "2a00:c820::/32": "60330", - "2a02:26f7:e304::/48": "36183", - "2c0f:f528::/46": "327782", - "240a:aea1::/32": "146395", - "2800:70::/32": "27789", - "2a05:7640:21c0::/38": "174", - "2001:559:c1a9::/48": "7725", - "2605:2b40:4000::/34": "394851", - "2a01:6e00:a::/43": "43142", - "2a02:26f7:ca41::/46": "20940", - "2c0e:2200:8000::/33": "37457", - "2a10:2f00:10a::/48": "207632", - "2001:470:50::/48": "36791", - "2001:c20:4872::/47": "3758", - "2603:1062:2::/27": "8075", - "2804:2c84::/32": "265224", - "2a03:8a0::/32": "200691", - "2a03:ae60::/45": "202847", - "2a0e:b107:12d3::/48": "211358", - "2001:df1:bf00::/48": "136773", - "2001:df4:9800::/48": "38775", - "2801:144::/42": "264835", - "2803:6700:201::/46": "263210", - "2a00:e040:c0c::/48": "60436", - "2a04:15c0::/29": "34134", - "2a0d:3585::/32": "200303", - "2001:600::/32": "702", - "2001:67c:2bf4::/48": "39036", - "2001:1248:997a::/40": "11172", - "2401:d800:9f70::/40": "7552", - "2402:800:5471::/44": "7552", - "240e:473:aa50::/39": "4134", - "2a06:34c0::/29": "211873", - "2001:559:734::/48": "7016", - "2401:ff80:1509::/46": "133954", - "2607:fc48:bc4b::/48": "40009", - "2a0b:b600:110::/44": "43350", - "2c0f:fc98::/32": "37282", - "2405:5440::/48": "135905", - "240a:a07f::/32": "142777", - "240a:a73b::/32": "144501", - "2800:110:11::/38": "4270", - "2804:38cc::/32": "266502", - "2c0f:f6d0:8b::/42": "327687", - "2409:8771::/29": "9808", - "240a:a065::/32": "142751", - "2600:2c01::/36": "16695", - "2804:6188::/32": "269240", - "2a00:6180::/32": "29062", - "2a02:26f7:bec4::/48": "36183", - "2a09:c140:3::/48": "210079", - "2001:579:a17d::/40": "22773", - "2401:d180:2120::/48": "133865", - "2402:c000::/47": "9230", - "2600:140f:a801::/38": "20940", - "2804:640:112::/34": "262713", - "2001:df1:fe00::/48": "141107", - "2405:9800:b500::/38": "133481", - "240a:a15b::/32": "142997", - "2607:6480:6000::/35": "30377", - "2620:115:81::/46": "18888", - "2804:204:222::/47": "28186", - "2804:67e0::/32": "269656", - "2001:1388:5544::/46": "6147", - "2600:802:100::/48": "12234", - "2403:8700::/32": "132232", - "2a04:5b81:1fff::/48": "202265", - "2404:fd00:c::/32": "58552", - "240a:aac1::/32": "145403", - "2800:400:4000::/48": "27668", - "2a10:4646:a0::/48": "210864", - "2001:6d0:ffd4::/48": "43832", - "2001:16f8:4000::/48": "199522", - "2001:4408:4510::/36": "4758", - "2402:800:3355::/42": "7552", - "2803:3b80:2::/44": "263702", - "2a01:230::/45": "29182", - "240a:aa77::/32": "145329", - "2001:559:2c9::/48": "7015", - "2001:2030:c006::/28": "1299", - "240e:698:4400::/40": "134768", - "2804:23c0:2500::/32": "26218", - "2001:1af0:9021::/29": "13046", - "2402:800:3a7f::/40": "7552", - "240e:109:8043::/48": "63835", - "2a02:26f7:d3c1::/46": "20940", - "2001:df2:9980::/48": "139889", - "2607:f740:e03a::/48": "63911", - "2620:13d:c000::/48": "399086", - "2804:204:270::/39": "28186", - "2404:138:4004::/48": "9431", - "2607:7e80:f000::/36": "395354", - "2402:800:5d0f::/43": "7552", - "2409:408a:1000::/29": "55836", - "240a:a761::/32": "144539", - "2600:1403:6c01::/32": "20940", - "2801:18a::/44": "19429", - "2a02:26f7:cf88::/48": "36183", - "2001:559:c205::/48": "33491", - "2800:8e0:2::/32": "14259", - "2a10:e580:2000::/48": "399114", - "2001:49f0:a01a::/47": "174", - "2804:30b8::/40": "28154", - "2a02:26f7:bc81::/46": "20940", - "2a02:6b00::/36": "28757", - "2a07:8142::/36": "209677", - "2600:1410:3001::/33": "20940", - "2605:4d80::/32": "27626", - "2605:f500:202::/39": "1828", - "2803:7180:4000::/36": "21575", - "2a02:26f7:d6c2::/47": "20940", - "2a02:26f7:dcc8::/48": "36183", - "2402:3a80:1710::/46": "38266", - "240a:a26f::/32": "143273", - "2600:1008:b130::/44": "22394", - "2a02:ff0:2fc::/47": "12735", - "2804:7330::/32": "270901", - "2405:2200::/32": "55853", - "2409:8a14:7000::/32": "56044", - "240a:a3eb::/32": "143653", - "2602:ffc8:3e8::/34": "20278", - "2620:83:8001::/48": "63331", - "2804:c94::/32": "262720", - "2804:1b44::/32": "61717", - "2804:7704::/32": "271149", - "2a01:a280:103::/30": "35000", - "2a03:db80:3825::/33": "680", - "2a05:7880::/32": "209242", - "2c0f:fc89:8023::/43": "36992", - "2001:504:b::/48": "101", - "2607:f8f0:200::/48": "271", - "2001:559:3d2::/48": "33657", - "2404:e801:1008::/46": "55430", - "2604:ca00:106::/43": "36492", - "2804:4670::/32": "266989", - "2a01:77c0:1180::/47": "34848", - "2a02:888:0:605::/40": "47794", - "2001:500:200::/47": "394353", - "2001:67c:20d8::/48": "5603", - "2405:b000:411::/39": "6262", - "2409:803c:3100::/37": "9808", - "2620:105:3000::/44": "20109", - "2a02:2c8::/32": "44381", - "2a02:26f7:f9c1::/46": "20940", - "2001:678:900::/48": "39602", - "2001:c20:486a::/48": "9255", - "2001:c20:c838::/48": "3758", - "2400:c540:5::/42": "59238", - "240a:a91e::/32": "144984", - "2a00:1780:dc00::/40": "210213", - "2a02:26f7:b848::/48": "36183", - "2001:559:82e1::/48": "33651", - "2001:df6:1800::/48": "131755", - "2604:d600:1d0c::/38": "32098", - "2001:df5:3680::/48": "141381", - "240e:473:d50::/40": "4134", - "2620:13a:c011::/46": "53356", - "2801:80:1a50::/48": "265450", - "2001:550:4f02::/35": "174", - "2403:300:a04::/46": "6185", - "2408:8957:5e00::/40": "17622", - "2804:32e8::/32": "265104", - "2804:673c:2000::/40": "264598", - "240e:264:3000::/28": "4134", - "2620:11c:c000::/48": "54830", - "2a0c:15c0::/29": "59965", - "240a:a116::/32": "142928", - "2804:14d:5c9c::/42": "28573", - "2804:554::/32": "53143", - "2a00:8a03:8000::/43": "28723", - "2a0b:440:880::/32": "39921", - "2a0e:1d80:2::/45": "9009", - "2001:1248:9922::/43": "11172", - "2804:4324::/32": "267551", - "2a07:a905:ffe0::/46": "202297", - "2a0a:11c0::/29": "43129", - "240e:3ba:7a00::/32": "140313", - "2604:b180:40::/44": "23278", - "2610::/32": "11084", - "2804:7bf8:a000::/33": "271466", - "2a01:6ec0::/32": "198904", - "2a00:1dc8::/32": "34352", - "2a07:42c0::/29": "34670", - "2a0f:29c0::/30": "208256", - "240a:a33f::/32": "143481", - "2804:1e3c::/32": "264416", - "2a03:4bc0:3150::/47": "209454", - "2001:559:868c::/48": "22909", - "2001:678:630::/48": "197574", - "2001:129c::/33": "22356", - "2400:6c00::/32": "45838", - "240a:a214::/32": "143182", - "2607:f750:fe01::/46": "23473", - "2a02:2a70::/43": "702", - "2001:520:101c::/42": "8103", - "2603:c0fa::/35": "20054", - "2804:45fc:c002::/34": "266959", - "2a02:5500::/32": "40993", - "2604:4840::/32": "17252", - "2804:5444::/32": "268638", - "2a02:2430:40::/42": "59491", - "2a0e:b107:450::/45": "57883", - "2607:4880:e000::/36": "53508", - "2608:129:b::/48": "27064", - "2803:f00:680::/42": "262182", - "2804:4c14:bb01::/33": "267348", - "2a0d:d742::/45": "210036", - "2001:2e0:8000::/33": "9293", - "2409:8904:8340::/37": "24547", - "240a:a5da::/32": "144148", - "2803:8080::/32": "12180", - "2a0b:3240::/32": "24971", - "2402:800:fb70::/40": "7552", - "2407:a8c0::/32": "135772", - "2804:220c::/32": "264588", - "2a0e:aa06:11::/40": "4842", - "2001:579:9194::/38": "22773", - "2400:b000:300::/48": "45600", - "2602:fd98::/47": "14770", - "2800:bf0:a001::/36": "27947", - "2804:22c0::/34": "264120", - "2001:559:c15e::/48": "33657", - "2804:f8c:5000::/32": "263591", - "2804:7f20::/32": "271668", - "2a0c:9a40:82c0::/48": "211622", - "2a10:2680::/29": "212813", - "2804:3d58::/32": "266525", - "2a01:8840:a9::/48": "207266", - "2a01:9700:13e0::/44": "8376", - "2a05:3280:43a::/29": "50999", - "2a09:bac0:336::/47": "13335", - "2402:e7c0:840::/38": "59078", - "2405:9800:b012::/48": "45430", - "2600:1406:c801::/37": "20940", - "2606:3580::/32": "46450", - "2803:a10::/32": "265822", - "2804:ba8::/32": "52804", - "2a0e:97c0:520::/44": "57351", - "2001:559:c2c9::/46": "7922", - "2402:a0c0::/47": "137922", - "2408:8256:3194::/48": "17816", - "2a06:5bc0::/32": "56911", - "2a0e:2540::/29": "207902", - "2602:ff62:205::/46": "61317", - "2606:2800:4a7c::/46": "15133", - "2800:160:17fa::/45": "14259", - "2804:14d:a200::/40": "28573", - "2806:2f0:2101::/46": "22884", - "2806:2f0:3264::/40": "17072", - "2a06:8e40::/29": "15083", - "2405:3440::/44": "138311", - "2602:800:900f::/48": "16876", - "2602:ffc8:105::/38": "20278", - "2804:3e8::/47": "28663", - "2804:1e00::/32": "52566", - "2001:4c8:100e::/43": "15290", - "2001:4f8::/44": "1280", - "2404:2340:5000::/36": "134926", - "240a:adf7::/32": "146225", - "2804:5c38::/32": "268895", - "2a01:8840:fa::/48": "12041", - "2804:2f30::/33": "53096", - "2a02:26f7:c501::/46": "20940", - "2402:5300:2040::/39": "45903", - "2604:3400:aaac::/48": "209453", - "2610:28:5030::/48": "13371", - "2806:10b0::/32": "8151", - "2a02:26f7:d284::/48": "36183", - "2001:559:719::/48": "395680", - "2401:4900:4450::/42": "45609", - "2402:6800::/50": "22822", - "2804:2928::/32": "52951", - "2401:6bff:8000::/40": "9466", - "2404:e80::/32": "134697", - "2600:6c38:b0c::/47": "20115", - "2803:c640::/32": "263834", - "2409:8904:3f60::/33": "24547", - "2a01:9700:13c0::/46": "8376", - "2600:6c0c::/31": "20115", - "2804:6a20::/32": "270311", - "2a04:1bc3::/32": "60982", - "2a09:1cc0::/29": "208574", - "2a10:1fc0:1::/48": "59711", - "2001:559:858d::/46": "22909", - "2402:e380:314::/48": "140244", - "2409:8080:2a20::/44": "9808", - "2606:6680:13::/48": "64249", - "2620:1ec:900::/48": "8068", - "2804:698c::/32": "270277", - "2a01:540:b000::/33": "12389", - "2c0f:f9a0:1000::/48": "37098", - "2001:559:811e::/48": "33657", - "240a:a722::/32": "144476", - "2605:ab80::/32": "46792", - "2a00:1a28:1107::/41": "42708", - "2a00:4d80::/32": "25394", - "2a05:18c0::/29": "3257", - "2a0d:b400::/29": "60695", - "2001:559:c244::/48": "33652", - "240a:a7be::/32": "144632", - "240e:690::/29": "4134", - "2600:180b:2002::/33": "16552", - "2607:4f80::/32": "7029", - "2a0a:d340::/29": "56616", - "2001:559:c01e::/48": "7922", - "2a01:8000:1ffb::/48": "60672", - "2a0e:8f02:20fa::/45": "212008", - "2001:43f8:10::/48": "36948", - "2804:14c:3d88::/41": "28573", - "2001:559:c331::/48": "33657", - "2408:84f3:3e10::/42": "134543", - "2600:1406:801::/38": "20940", - "2804:7b8c::/32": "271438", - "2c0f:fc89:12f::/33": "36992", - "2001:559:523::/48": "7016", - "2804:5988::/32": "268708", - "2a02:26f7:f009::/42": "20940", - "2001:503:f261::/48": "26134", - "2001:550:2a02::/39": "174", - "2001:559:5a8::/48": "33287", - "240a:a302::/32": "143420", - "240a:a4b4::/32": "143854", - "240e:438:5220::/43": "140647", - "2607:cc80:2000::/32": "25664", - "2801:80:660::/48": "52520", - "2a05:4200::/47": "21534", - "2a0a:17c0::/29": "206894", - "2001:67c:278::/48": "51278", - "2803:7200:8008::/47": "27696", - "2a00:c560::/29": "62416", - "2a05:78c0::/32": "51975", - "240a:a776::/32": "144560", - "240e:e:b000::/37": "58541", - "2a00:4802:1f00::/34": "13124", - "2a01:86e0::/32": "62136", - "2a02:2b38::/32": "12703", - "2a02:9010:74::/48": "13195", - "2c0f:f7a8:805f::/48": "4134", - "2001:559:5a9::/48": "33491", - "2620:171:23::/48": "42", - "240a:abb3::/32": "145645", - "2605:6400:9004::/33": "53667", - "2605:fbc0::/32": "394303", - "2a02:26f7:e04c::/48": "36183", - "2a0c:681::/29": "200000", - "2001:df0:1580::/48": "138906", - "2620:11e:3083::/48": "7060", - "2605:b800:787::/48": "27435", - "2a06:4c00::/32": "20473", - "2800:bf0:240::/44": "52257", - "2401:8a40:3c::/46": "45326", - "2800:bf0:2807::/40": "27947", - "2801:14:2800::/48": "269966", - "2001:1980:6100::/38": "29838", - "2804:5d78:a000::/35": "268974", - "2a0b:b86:fe02::/47": "205749", - "2001:559:247::/48": "7016", - "2408:896e::/31": "4837", - "240a:a779::/32": "144563", - "2a01:190:39::/48": "199015", - "2a02:26f7:f3cc::/48": "36183", - "2a02:26f7:f5c8::/48": "36183", - "2a0e:1e80::/29": "9119", - "2001:559:433::/45": "7922", - "2604:8900::/48": "40285", - "2605:a000:40f::/38": "10796", - "2620:118:b001::/48": "32110", - "2406:69c0:1000::/34": "17439", - "240e:473:a550::/40": "4134", - "2603:fbd8::/29": "262287", - "2a00:9d20:102::/48": "395954", - "2a0a:1b80::/29": "34773", - "2001:44b8:3081::/48": "4739", - "2402:800:329b::/41": "7552", - "240a:ad14::/32": "145998", - "2804:6b4c::/32": "270391", - "2a01:ad00:7::/39": "51865", - "2a02:24d8::/32": "21473", - "2a02:26f7:d784::/48": "36183", - "2804:30e4::/32": "262772", - "2408:8456:1c00::/42": "17622", - "240a:a7f6::/32": "144688", - "2602:fd47::/36": "398461", - "2605:5c0:c100::/45": "28885", - "2607:fb91::/39": "21928", - "2806:2f0:9541::/42": "17072", - "2a06:1287:3300::/44": "206499", - "2001:559:268::/48": "33651", - "2804:3904::/32": "266518", - "2a06:7e80:4::/48": "12695", - "2a0a:dd40::/32": "206147", - "2a0f:d200::/32": "43069", - "2001:559:c095::/48": "7015", - "2403:3400::/32": "7604", - "2408:8459:5810::/42": "17623", - "2606:7500::/32": "54154", - "2607:3380:1000::/40": "395152", - "2800:160:1b71::/40": "14259", - "2804:5c1c::/32": "268888", - "2a09:adc0:2::/29": "64466", - "2a11:c800::/29": "42375", - "2401:fdc0::/44": "137074", - "2600:1f00:6000::/40": "16509", - "2001:559:428::/48": "7922", - "2800:160:2ce6::/33": "14259", - "2804:3644::/32": "266338", - "2804:794c::/32": "271297", - "2a0e:b107:3f4::/47": "57883", - "2408:8256::/41": "17622", - "2605:5fc1::/30": "1239", - "2606:ae00:bd41::/38": "7287", - "2001:df0:4b::/48": "45881", - "2610:88:3::/38": "14037", - "2800:a10::/34": "11014", - "2402:4600::/40": "45186", - "2804:4814::/32": "267096", - "2804:4cdc::/32": "267397", - "2404:1b0::/32": "18059", - "2804:14c:b500::/40": "28573", - "2804:53c0::/32": "268604", - "2804:7fe0:4000::/34": "271715", - "2a01:c50f:a880::/37": "12479", - "2001:559:104::/48": "33651", - "2600:1408:8c01::/35": "20940", - "2605:a401:8b8e::/42": "33363", - "2400:c700:1086::/39": "55644", - "2408:8459:7030::/41": "17622", - "240a:a89b::/32": "144853", - "240a:a9dd::/32": "145175", - "2610:130::/40": "6122", - "2a02:c6c1:4::/47": "9009", - "2001:18c8:767::/40": "18982", - "240a:a027::/32": "142689", - "2804:47e4::/32": "267083", - "2a02:26f7:d808::/47": "36183", - "2a0a:f280:203::/48": "211157", - "2c0f:ee00::/47": "37721", - "2607:f738:800::/41": "17184", - "2800:bf0:60::/43": "52257", - "2a0e:aa06:100::/48": "138631", - "2001:1248:70b2::/41": "11172", - "2404:6140::/33": "138143", - "2620:120:f000::/40": "394169", - "2a00:1d34::/33": "9121", - "2400:7fc0:2a0::/44": "55960", - "2407:38c0:61::/48": "59204", - "2606:e580::/32": "14237", - "2803:d060::/32": "267813", - "2804:14d:5e81::/41": "28573", - "2620:98:4002::/48": "393949", - "2a10:ac00::/32": "31242", - "240e:473:aa00::/41": "140485", - "2620:138:800e::/47": "62766", - "2a03:4460::/32": "201466", - "2a0c:e640:6660::/47": "17830", - "2a0e:1bc4::/35": "208621", - "2001:559:731::/48": "33661", - "2804:4ff4::/32": "268360", - "2804:518c::/32": "268459", - "2a00:1028::/29": "5610", - "2a0d:fec0:121::/46": "47481", - "2001:67c:23f4::/48": "197982", - "2001:740::/32": "5400", - "2600:1801:14::/30": "16552", - "2610:b0:403a::/47": "3573", - "2806:250:300::/46": "28512", - "2a01:5041:200c::/48": "202196", - "2001:480:2311::/32": "668", - "2400:cb00:504::/47": "13335", - "2408:8456:b610::/42": "134543", - "2804:1f0e::/35": "262366", - "2001:559:8210::/48": "33491", - "2406:cd40::/32": "132202", - "2605:a8c0:10f::/48": "11827", - "2a0b:2180:2::/32": "206502", - "2a0c:fd00::/29": "43541", - "2801:1d:c800::/48": "18747", - "2a03:ca0::/32": "59984", - "2a03:8a80::/32": "12930", - "2a07:6240::/29": "34290", - "2c0f:fe28:1::/48": "36951", - "2001:500:75::/48": "33075", - "240a:a5c4::/32": "144126", - "2a00:1f78::/32": "8893", - "2400:c540:3::/45": "59238", - "2405:9800:c640::/47": "45458", - "2a04:5740::/29": "43857", - "2800:430::/34": "23487", - "2803:9800:9083::/43": "11664", - "2a02:26f7:e785::/46": "20940", - "2408:8456:2140::/40": "17816", - "2600:1003:b000::/42": "6167", - "2600:8807:bc2::/35": "22773", - "2607:f668::/32": "22351", - "2803:f00:3::/45": "262182", - "2804:14c:75ab::/41": "28573", - "2804:45a4::/32": "266940", - "240a:aa91::/32": "145355", - "2607:ff08::/32": "13722", - "2a09:3c00:2::/29": "6939", - "2001:559:49f::/48": "7922", - "2607:f250:d018::/48": "7046", - "2800:c70:402::/32": "23201", - "2804:660::/32": "262581", - "2804:4acc::/32": "267264", - "2806:1016:4::/48": "8151", - "2001:678:a8c::/48": "208727", - "2001:1998:4000::/32": "7843", - "2600:1407:13::/48": "20940", - "2a02:26f7:e509::/46": "20940", - "2a0f:4040::/29": "41332", - "2401:be00:6::/32": "55641", - "2408:8956:c500::/40": "17816", - "2001:438::/42": "6461", - "240e:848:80::/43": "140553", - "2607:fb10:5041::/46": "2906", - "2801:80:1d0::/48": "8075", - "2a01:7d80:c000::/40": "62214", - "2a06:a005:1f0::/48": "204003", - "2001:470:8b::/45": "6939", - "2804:1f06::/32": "52887", - "2804:6ee8:2000::/36": "270626", - "2a04:8300::/29": "34410", - "2001:4878:c048::/48": "12222", - "2a01:cb20:d000::/34": "3215", - "2408:8956:c300::/40": "17816", - "2600:370f:750e::/43": "32261", - "2804:1734::/32": "52869", - "2001:678:2a0::/48": "35292", - "2408:8459:5240::/40": "17623", - "2a02:720:300::/32": "34427", - "2a06:6200::/29": "21500", - "240a:acfb::/32": "145973", - "2607:f4a0:5010::/48": "396926", - "2001:44b8:40d8::/35": "4739", - "2804:204:23f::/41": "28186", - "2804:7bf8:110::/32": "271466", - "2620:109:c001::/46": "14413", - "2804:6fc0::/32": "270682", - "2a02:c50:db9::/32": "51531", - "2401:d800:410::/42": "7552", - "2600:140b:8c00::/48": "31109", - "2001:500:8d::/48": "26710", - "2001:559:804f::/48": "20214", - "2001:559:814a::/48": "33652", - "2406:2d40::/35": "36492", - "2409:4000::/31": "55836", - "2804:e0c:200::/48": "28176", - "2a0e:8f02:2140::/48": "211414", - "2001:559:8105::/48": "7016", - "2605:3380:4dfe::/47": "395174", - "2804:11d4::/32": "263442", - "2804:7094:5000::/32": "270735", - "2a0a:c700::/29": "28788", - "240a:ab76::/32": "145584", - "2803:f500::/32": "60022", - "2a05:e5c0::/29": "200977", - "2001:678:158::/48": "202886", - "2402:3b80::/32": "134128", - "2600:1017:b8e0::/33": "6167", - "2a01:7520::/32": "62167", - "2a02:8389:6000::/30": "8412", - "2a05:b9c0::/29": "201057", - "240e:964:cac0::/42": "133775", - "2804:2558:3::/48": "264275", - "2001:559:c2f5::/46": "7922", - "2402:4e00::/47": "45090", - "2a04:c500::/29": "202146", - "2a0d:f40::/32": "39080", - "2001:ba8::/32": "8943", - "2402:800:55c5::/43": "7552", - "2607:ffb0:2004::/35": "6327", - "2804:14c:b183::/41": "28573", - "2a0b:8f80:300::/48": "200746", - "2408:8956:d00::/40": "17816", - "2804:8074::/32": "271751", - "2a03:4e0::/32": "59897", - "2a0e:2980::/48": "34568", - "2a00:cdc0:11::/48": "200032", - "2a04:f840::/40": "9150", - "2001:67c:13f8::/48": "39057", - "2401:d800:b600::/42": "7552", - "2a05:1940::/29": "203243", - "2a0b:10c0::/48": "48749", - "2402:6940:500::/35": "7645", - "2600:1402:f001::/31": "20940", - "2800:160:1905::/44": "14259", - "2806:230:102e::/48": "265594", - "2a02:fc0::/29": "42428", - "2a00:1ef8::/32": "29690", - "2001:4060:4052::/48": "197439", - "2402:4d40::/32": "24479", - "2403:da40:200::/32": "138385", - "240a:a6ad::/32": "144359", - "2605:7780::/32": "26744", - "2803:980:200::/37": "263248", - "2a00:1288:110::/47": "34010", - "2001:44b8:1a::/47": "4739", - "2600:1006:b030::/44": "22394", - "2600:1419:2c01::/35": "20940", - "2001:550:1906::/38": "174", - "2001:16a2:6e00::/35": "25019", - "240a:a756::/32": "144528", - "2a02:2620::/32": "29124", - "2c0f:eb00::/38": "61266", - "2001:559:8703::/48": "33651", - "2402:9b00:81::/46": "45796", - "2405:4cc1:d00::/40": "9471", - "2602:ffe4:c29::/46": "55836", - "2606:5000:1800::/38": "3908", - "2804:250c:c400::/34": "264255", - "2a04:9640::/30": "59939", - "2a0e:b107:93a::/48": "204446", - "2001:67c:2118::/48": "44033", - "2001:b000:100::/37": "3462", - "2409:803c:2100::/37": "9808", - "240e:67e:8800::/38": "140330", - "2607:f3a0:a000::/48": "399808", - "2804:a78::/32": "262478", - "2a09:d640::/29": "198345", - "2001:1938:0:2002::/64": "12989", - "2a00:86c0:1053::/42": "2906", - "2a02:26f7:db41::/46": "20940", - "2001:388:10e1::/34": "7575", - "2001:559:847f::/40": "7922", - "2605:3d00::/32": "46353", - "2607:fc30::/40": "19740", - "2620:122:1000::/45": "29954", - "2803:5ce0::/37": "54235", - "2804:2fdc:4000::/36": "264917", - "2001:fd8:f080::/42": "132199", - "2407:0:0:3e::/32": "4761", - "2409:8904:6340::/42": "24547", - "2600:1f01:48d0::/46": "16509", - "2a01:60e0::/32": "199935", - "2a04:4e40:2000::/48": "54113", - "2a0e:97c0:260::/44": "58057", - "2001:b08:13::/48": "51352", - "2804:14c:7987::/44": "28573", - "2804:33e4:200::/40": "265423", - "2a00:1b38::/32": "8559", - "2a03:840::/32": "199405", - "2001:67c:45c::/48": "15542", - "2001:1a11:e6::/47": "8781", - "2804:3f48::/32": "266650", - "2400:cb00:250::/47": "13335", - "2401:d800:b970::/40": "7552", - "240a:a516::/32": "143952", - "2a0e:e500:1::/48": "5400", - "2001:dcd:22::/48": "16509", - "240a:a982::/32": "145084", - "2001:fd8:b240::/42": "132199", - "2001:4878:8220::/48": "12222", - "2403:9800:c061::/43": "4648", - "240e:966:c400::/39": "133775", - "2a02:26f7:ed09::/42": "20940", - "2401:3c00:c8::/45": "38322", - "240a:a24a::/32": "143236", - "2605:7940:1000::/44": "30456", - "2a0d:9dc0::/29": "40970", - "2001:559:352::/47": "33651", - "240e:44d:4380::/41": "4134", - "240e:473:1350::/40": "4134", - "2800:160:1bba::/47": "14259", - "2a0b:4d07:e01::/48": "44239", - "2401:4740::/32": "9714", - "240e:628::/32": "17638", - "2602:fed2:7314::/48": "53356", - "2a03:2880:f244::/47": "32934", - "2401:4900:5d63::/48": "45609", - "2408:8456:4840::/38": "17816", - "240a:a630::/32": "144234", - "2600:140f:2801::/39": "20940", - "2606:b780::/32": "14589", - "2a03:1d60::/32": "60294", - "2409:8904:3da0::/38": "24547", - "2603:4:1704::/48": "44273", - "2a0a:7bc0::/32": "44066", - "2001:678:904::/48": "47453", - "2402:800:33c5::/43": "7552", - "2406:8dc0:2005::/48": "211622", - "2a02:24d8:ffff::/48": "15945", - "2a0e:c885::/44": "208759", - "2403:a640:200::/39": "63786", - "2408:840c:1c00::/40": "17621", - "2610:160:11::/48": "30312", - "2401:803e:4001::/42": "9919", - "2600:1fa0:e080::/44": "16509", - "2605:7240::/32": "10352", - "2a0b:4d07:159::/48": "44239", - "2401:4900:3ee0::/44": "45609", - "240a:a28d::/32": "143303", - "240a:ac91::/32": "145867", - "2600:1008:b040::/42": "6167", - "2804:2a4:c000::/34": "262828", - "2001:1838:c100::/34": "23352", - "2a04:f480:8000::/34": "25373", - "2a0b:4340:a0::/48": "205532", - "2405:ec00:9012::/47": "23955", - "2406:daa0:c060::/44": "16509", - "2408:8956:edc0::/38": "17622", - "240a:ac33::/32": "145773", - "2604:5880:2::/45": "10980", - "2800:bf0:2802::/45": "52257", - "2c0f:ea68::/32": "37697", - "2001:4de0:2002::/48": "33438", - "2408:8459:50c0::/38": "17816", - "2600:141b:2801::/37": "20940", - "2607:f650::/32": "32869", - "2804:14d:5a00::/40": "28573", - "2804:7a28:1000::/40": "271351", - "2a02:bf8::/35": "1239", - "2401:c3c0::/32": "136972", - "240a:ab22::/32": "145500", - "2620:0:1aa0::/48": "20464", - "2804:6d8::/46": "262609", - "2a06:4800:2000::/36": "209974", - "2a0f:5f40::/29": "200019", - "2001:4490:d040::/46": "9829", - "2403:5400:1811::/32": "38450", - "240a:a303::/32": "143421", - "2600:1417:3::/45": "20940", - "2400:cd00::/35": "38794", - "240e:473:250::/39": "4134", - "2804:4f7c::/32": "52320", - "2a04:440::/32": "12324", - "2a07:e00:a::/45": "210083", - "2a10:8c00::/32": "20473", - "2402:800:f9c0::/42": "7552", - "2606:1a40:2015::/46": "398962", - "2804:ec4::/32": "262973", - "2a02:26f7:c584::/48": "36183", - "2a02:2e02:3d60::/32": "12479", - "2a02:ee80:41a1::/44": "3573", - "2a10:bbc0::/32": "25234", - "2001:438:fffd:112::/60": "6461", - "240a:acc7::/32": "145921", - "2a00:1248:501f::/32": "3216", - "2a07:cc00::/29": "207988", - "2001:559:53b::/48": "7015", - "2408:8374::/28": "4837", - "2409:8087:560::/36": "24547", - "2804:1800::/32": "28645", - "2a02:26f0:9b01::/37": "20940", - "2a02:26f7:a1::/48": "20940", - "2a06:dd40::/47": "203416", - "2001:579:704c::/40": "22773", - "2001:67c:2ee0::/48": "51214", - "2409:8028:90::/41": "56041", - "2409:8a44::/28": "24445", - "240a:abcc::/32": "145670", - "2a00:cb0::/34": "29624", - "2a03:c980:db::/48": "210079", - "2a09:f900::/48": "29182", - "2a04:7c00::/29": "200023", - "2001:400:241b::/33": "293", - "240e:980:8f00::/40": "137687", - "2600:9000:1136::/44": "16509", - "2606:5c0::/32": "36165", - "2607:1c80::/32": "18615", - "2620:103:e008::/47": "16711", - "2a02:26f7:29::/48": "20940", - "2804:399c::/32": "266039", - "2001:559:236::/48": "7922", - "2001:559:723::/48": "7015", - "2401:ff80:130d::/46": "133954", - "2402:3a80:172b::/45": "38266", - "2600:1409:b001::/36": "20940", - "2600:6c39:d::/38": "20115", - "2803:4040::/32": "10834", - "2a0b:2780::/29": "43260", - "2001:559:777::/48": "33657", - "2400:cb00:131::/48": "395747", - "240e:3bc:7a00::/32": "140313", - "2610:b0:40b1::/44": "3573", - "2a02:cb81:1100::/45": "43766", - "2a04:ac01::/30": "56534", - "2001:1a11:bd::/41": "42298", - "2607:f358:22::/45": "18779", - "2804:6fd4::/32": "270687", - "2a04:92c7:fa11::/37": "62240", - "2607:b400:100::/36": "40220", - "2a02:26f7:bcd1::/42": "20940", - "2001:4408:5201::/46": "4758", - "2408:8459:1830::/41": "17622", - "2a00:9880::/32": "12963", - "2a0f:2c80:1::/48": "25369", - "2402:800:9455::/42": "7552", - "240a:a1db::/32": "143125", - "2804:2e8:a::/32": "262847", - "2001:678:284::/48": "206885", - "2001:dcd:6::/47": "397237", - "240a:a8cb::/32": "144901", - "2404:bf40:a585::/42": "139084", - "2800:bf0:8080::/45": "52257", - "2804:70a8::/37": "270740", - "2001:67c:18a4::/48": "56881", - "2400:cb00:70::/44": "13335", - "2401:1100::/32": "133380", - "2403:2800:3::/32": "38566", - "2a0a:8ec0::/29": "48918", - "2001:480:a0::/47": "5132", - "2001:df5:1280::/48": "141110", - "2804:80c8::/32": "262626", - "2a0b:7c00::/32": "8437", - "2001:d08:2800::/32": "9534", - "2804:5350::/45": "268576", - "2a00:1908:e48::/32": "43586", - "2001:3c8:100f::/48": "133919", - "2400:adc7::/39": "9541", - "240e:95d:2800::/37": "139316", - "2804:43f4:70::/40": "267601", - "2a02:26f7:ef89::/42": "20940", - "2001:550:2a00:2::/47": "174", - "2407:b700::/32": "58708", - "2600:140f:5800::/48": "9498", - "2605:cf40::/32": "15242", - "2620:11f:d000::/44": "393941", - "2806:1020::/32": "8151", - "2a00:1288:114::/40": "10310", - "2a09:4c0:aee1::/33": "58057", - "2a10:9903:301::/48": "60790", - "2408:8957:dac0::/39": "17816", - "2a06:8781::/40": "47447", - "2001:559:759::/48": "7015", - "2001:559:84c9::/46": "33287", - "2001:df2:3680::/48": "131124", - "2401:ff80:168f::/43": "133954", - "240a:a5b7::/32": "144113", - "2a01:cd01:2f2a::/47": "28708", - "2001:4408:8310::/37": "4758", - "240a:a166::/32": "143008", - "2620:1ec:910::/47": "8068", - "2a01:5b0:9::/48": "50611", - "240e:f7::/36": "58461", - "2804:18:6820::/41": "26599", - "2804:39e8:3e90::/32": "266058", - "2a0d:8d06:1001::/48": "60557", - "2a0e:8f02:f000::/48": "213127", - "2a10:fcc0::/29": "62336", - "2001:678:450::/48": "1257", - "2001:16a2:c0f0::/46": "39891", - "2001:4998:6c::/46": "36647", - "2806:2f0:9601::/42": "17072", - "2a00:15b8:400::/40": "31122", - "2a0a:2c00::/29": "48506", - "2a0d:c7c7::/32": "205610", - "240a:a0b8::/32": "142834", - "2605:400:500::/40": "19780", - "2605:c00:100::/40": "46920", - "240e:982:d600::/40": "134756", - "2804:14d:2a79::/45": "28573", - "2804:17d8::/32": "61919", - "2804:7a80::/32": "271375", - "2a02:2010:2520::/45": "20978", - "2001:4878:261::/48": "12222", - "240e:3b1:2800::/38": "4134", - "2620:132:f164::/40": "394977", - "2409:805b:2907::/38": "56040", - "240a:a4f5::/32": "143919", - "240a:a95f::/32": "145049", - "2605:5f00::/32": "15257", - "2804:8230::/32": "272504", - "2a00:11e8::/32": "50399", - "2001:559:c10e::/48": "33659", - "2401:a480:2::/48": "133750", - "240a:a263::/32": "143261", - "240e:698:2b00::/33": "4134", - "2804:22f8::/32": "264135", - "2001:550:2b02::/37": "174", - "2402:800:7a30::/39": "7552", - "2409:8c44:800::/48": "9808", - "240a:a1b2::/32": "143084", - "2001:df4:5c80::/48": "135752", - "2406:840:e800::/48": "134488", - "2600:1009:b0d0::/42": "6167", - "2602:fed2:731e::/48": "53356", - "2a00:4960::/32": "42525", - "2a02:618:8::/32": "20485", - "2c0f:feb0::/31": "37100", - "2001:678:d3c::/48": "206628", - "2a04:41c0::/29": "199952", - "2804:24c4::/36": "264241", - "2001:4430:5210::/39": "17853", - "2800:484:cb00::/40": "10620", - "2a02:360::/32": "42804", - "2a0f:5707:ab29::/48": "398646", - "2401:7400::/38": "4773", - "2600:1000:a120::/36": "22394", - "2803:5440:4050::/47": "264738", - "2804:31cc::/32": "265038", - "2001:df3:3080::/48": "137123", - "2a00:db8::/32": "3058", - "2001:678:fa8::/48": "211564", - "2001:1968::/32": "7029", - "2402:9d80:266::/47": "131429", - "2408:843f:1600::/34": "140716", - "2408:84f3:e210::/42": "134543", - "2600:140b:8401::/36": "20940", - "2804:2c54::/32": "265210", - "2402:6880:2000::/48": "63989", - "240e:44d:2f00::/41": "140345", - "2a00:ddc0::/32": "47836", - "2a02:2ae8:150::/32": "702", - "2001:388:7001::/40": "7575", - "2602:fed2:7f00::/47": "203027", - "2001:56b:400c::/35": "852", - "2409:8031:2a00::/29": "9808", - "2804:7000::/32": "270700", - "2a02:ed00::/31": "50304", - "2600:8808:3a00::/37": "22773", - "2a01:5241:200::/29": "58243", - "2400:cb00:a612::/48": "13335", - "2001:c20:c847::/48": "9255", - "2600:1406:2e01::/39": "20940", - "2a06:4740::/29": "207627", - "2a0e:8f02:f01b::/48": "213326", - "2001:913:3000::/36": "204708", - "2402:ab00:caff::/34": "24206", - "2804:81a4::/32": "272467", - "2001:559:8093::/45": "7922", - "2401:d800:75f0::/38": "7552", - "2a02:26f7:c008::/48": "36183", - "2405:9200:4100::/41": "131596", - "2604:2980::/32": "62943", - "2607:1000::/32": "30263", - "2610:a1:1015::/46": "397228", - "2a03:5e00::/32": "203975", - "2001:559:8268::/48": "13367", - "2001:57a:a801::/38": "22773", - "2401:7000:d902::/34": "45177", - "2406:ec40::/32": "134469", - "2806:2f0:8044::/42": "17072", - "2c0f:f118:2::/32": "328201", - "2001:4de0:2004::/39": "33438", - "2607:f1c0::/40": "8560", - "2804:b34::/32": "52751", - "2804:1810::/34": "263262", - "2a02:988::/32": "30925", - "2a10:ae80::/29": "212131", - "2c0f:f000:a00::/37": "36891", - "240e:473:7d20::/41": "140486", - "2804:a00:12::/36": "262838", - "2a0b:f600::/48": "56647", - "2404:6300:1001::/32": "131310", - "240a:a457::/32": "143761", - "2a02:26f7:8d::/48": "20940", - "2a07:14c7::/32": "208861", - "2801:1c8:8a::/48": "27951", - "2001:559:36a::/48": "7922", - "2001:559:c1bc::/48": "33659", - "2401:d800:7a80::/42": "7552", - "2406:7400:40::/46": "24309", - "2409:8004:3111::/45": "24547", - "2600:180a::/35": "16552", - "2620:13e:500a::/48": "206885", - "2803:ae80::/32": "263197", - "2804:4de8::/32": "268227", - "2a01:53c0:ffd2::/48": "36408", - "2001:559:c269::/48": "13367", - "2001:559:c3f2::/48": "33657", - "2401:4900:5600::/42": "45609", - "2607:2c00:9000::/33": "14265", - "2607:6880::/32": "11554", - "2607:fd48:180:5::/45": "13536", - "2405:f900::/32": "132509", - "2001:559:c2bf::/41": "33660", - "2a02:26f0:9901::/40": "20940", - "2a07:db01:40::/42": "204527", - "2001:678:98c::/48": "31371", - "2607:f3f0::/46": "16724", - "2804:1494::/32": "263338", - "2a00:1288:1a8::/46": "34010", - "2a0c:1dc0::/32": "209310", - "2a0c:b1c0::/32": "202090", - "2001:559:4df::/42": "7725", - "2600:9000:1156::/44": "16509", - "2804:f8c:9000::/33": "263591", - "2804:7b44::/32": "271421", - "2001:4888:a670::/33": "6167", - "2600:1002:d020::/44": "22394", - "2620:121:6000::/44": "40267", - "2804:2bf0::/32": "262740", - "2804:521c:2::/48": "268495", - "2804:5764::/32": "53241", - "2a02:26f7:b7c9::/42": "20940", - "2402:800:3d55::/42": "7552", - "240a:a27b::/32": "143285", - "2800:4b0:8401::/36": "12252", - "2a03:2880:f122::/43": "32934", - "2001:4868:4300::/32": "701", - "240e:473:4200::/41": "140485", - "2600:1003:d400::/43": "6167", - "2001:559:8311::/48": "7922", - "2602:fe92::/36": "13752", - "2404:a140:2::/44": "138915", - "2408:8256:319d::/46": "17623", - "2804:1728::/32": "263128", - "2806:3cf::/32": "270126", - "2a02:2408::/32": "197064", - "2607:a800:408::/48": "15695", - "2001:559:70b::/48": "33287", - "2001:559:817f::/48": "33489", - "2401:d800:2660::/40": "7552", - "2404:8000:e2::/35": "17451", - "240a:a160::/32": "143002", - "240a:abff::/32": "145721", - "2602:fed2:730a::/45": "53356", - "2001:290::/32": "9318", - "2001:67c:680::/48": "202577", - "2804:1810:d000::/34": "263262", - "2a00:c68::/32": "43513", - "2001:559:8145::/46": "7922", - "2408:8459:6050::/38": "17816", - "2a02:26f7:de84::/48": "36183", - "2001:dce:4::/48": "23869", - "2408:80f1:1c0::/42": "138421", - "2620:10d:900f::/48": "25993", - "2804:14d:bad2::/44": "28573", - "2806:230:400f::/48": "11888", - "2400:6280:11a::/48": "132280", - "2604:880:6::/48": "29802", - "2804:18:7a00::/37": "10429", - "2804:768:2000::/32": "52977", - "2804:20c8::/32": "264514", - "2001:559:1f2::/48": "7922", - "2001:559:8328::/48": "7015", - "2804:14d:5495::/41": "28573", - "2a01:7c8::/33": "20857", - "2a04:c442:8000::/38": "2534", - "2a09:bac0:78::/47": "13335", - "2600:1408:8001::/37": "20940", - "2604:ca00:300::/37": "36492", - "2a00:1288:84::/48": "203219", - "2a0d:9880::/29": "41435", - "2620:114:b0ca::/48": "18440", - "2a02:2af8:410::/32": "702", - "2001:67c:2d6c::/48": "16302", - "2402:d400::/45": "17762", - "2403:fbc0:3000::/48": "23959", - "2603:c002:9a30::/39": "31898", - "2800:160:184c::/43": "14259", - "2001:559:127::/48": "7725", - "2408:8957:b100::/40": "17816", - "240a:a17a::/32": "143028", - "240a:acbd::/32": "145911", - "2804:532c:8900::/33": "268568", - "2a00:8a02:90::/44": "8983", - "2a0d:140::/35": "209014", - "240a:a1e9::/32": "143139", - "240a:a419::/32": "143699", - "240a:ac54::/32": "145806", - "2800:160:1d44::/46": "14259", - "2401:2e00::/32": "37963", - "2402:e200::/32": "17961", - "240a:a3fc::/32": "143670", - "2605:8d80:700::/36": "812", - "2607:280::/32": "32365", - "2804:3f58:7000::/32": "265886", - "2600:141c:1001::/36": "20940", - "2a04:3a60:8000::/30": "56467", - "2001:67c:4a4::/48": "3301", - "2001:67c:11f0::/48": "212378", - "2001:df3:a980::/48": "135900", - "2404:0:1100::/36": "17709", - "2a01:4c8:f402::/29": "12576", - "2001:559:1d9::/48": "20214", - "2001:648:24a0::/48": "12402", - "240e:63:b000::/33": "140315", - "2a01:c50f:d140::/37": "12479", - "2a0f:5707:ab91::/48": "208884", - "2402:800:37d3::/44": "7552", - "2804:2ed4:4000::/32": "265369", - "2a05:dfc7:44::/46": "208753", - "2a02:26f0:4d01::/40": "20940", - "2a07:8000::/29": "199575", - "2001:559:4fb::/45": "7922", - "2402:800:9a63::/43": "7552", - "2001:559:178::/48": "33489", - "2001:569:c::/30": "852", - "2804:1644:ff00::/40": "262903", - "2804:50d0::/32": "268412", - "2001:559:c2c3::/48": "7015", - "2001:df1:9180::/48": "139689", - "2403:3800:1230::/40": "4007", - "2600:9000:1182::/45": "16509", - "2804:4e04::/32": "268234", - "2804:5cb4::/32": "268925", - "2602:806:f000::/47": "27217", - "2800:160:1d81::/46": "14259", - "2a09:b280:ffbb::/45": "210025", - "2001:67c:11c::/48": "196883", - "2605:6440:8002::/35": "396356", - "2a00:8900::/32": "41625", - "2001:559:82f1::/48": "7016", - "2001:448a:3030::/41": "7713", - "2405:1c0:6a72::/40": "55303", - "2602:fd10:c00::/48": "19529", - "2607:f220:600::/44": "26810", - "2a03:ed00::/32": "35205", - "2001:559:8484::/47": "33660", - "2600:1407:20::/47": "20940", - "2a0c:47c0::/29": "18779", - "2620:130:3022::/47": "62861", - "2804:14d:5283::/41": "28573", - "2804:4c8:21::/32": "262465", - "2a02:26f7:d448::/48": "36183", - "2a02:26f7:ec55::/42": "20940", - "2404:4a00:6500:1::/48": "45629", - "2404:bf40:8140::/48": "2764", - "240e:44d:4980::/41": "4134", - "240e:44d:7200::/41": "140345", - "2804:2fec::/32": "52991", - "240e:108:11d7::/48": "4134", - "2a00:63c0::/29": "44133", - "2a0c:5247:d000::/36": "208861", - "2001:1a11:10d::/43": "42298", - "2001:44b8:30a4::/48": "7545", - "2a03:7240::/40": "56973", - "2001:df7:aa00::/48": "133800", - "2405:2540::/32": "136332", - "240e:41::/37": "17897", - "2602:fed2:7316::/44": "53356", - "2800:5a0::/32": "27792", - "2804:62c:2006::/43": "262569", - "2408:8256:2f7c::/46": "17623", - "2600:2600::/31": "33362", - "2a03:a800::/32": "34762", - "2a0c:dd80:2000::/48": "52000", - "2001:898::/29": "15879", - "240a:a0a0::/32": "142810", - "2800:160:1936::/47": "14259", - "2804:3c70::/32": "266211", - "2806:230:202d::/48": "11888", - "2a07:9944:10::/48": "58305", - "2a0a:d6c0:efff::/48": "61423", - "2001:559:8704::/47": "7922", - "2403:2200::/48": "45148", - "2600:380:8400::/36": "20057", - "2804:7a7c:1000::/36": "271374", - "2a01:58a0:200::/32": "51018", - "2001:fd8:2050::/42": "4775", - "2a03:8a40::/32": "48173", - "2001:1248:55aa::/45": "11172", - "2401:d800:7810::/41": "7552", - "2404:5c40:5::/48": "136003", - "2409:803c:2c00::/38": "9808", - "240e:438:5a20::/43": "140647", - "2607:6200::/32": "21817", - "2806:261:2300::/37": "13999", - "2804:1a04:7::/44": "61832", - "2a06:bcc0:6::/44": "205272", - "2001:67c:7c2::/48": "57031", - "2001:67c:24a0::/48": "198143", - "2001:978:5302::/37": "174", - "2804:36bc::/32": "266368", - "2a02:1338::/32": "43561", - "2001:470:4a::/48": "6379", - "2607:fdb0::/55": "3361", - "2a0e:b107:710::/48": "206843", - "2a0f:afc0::/29": "50782", - "2801:80:25a0::/48": "268001", - "2a00:bc40::/32": "198731", - "2409:803c::/40": "24444", - "2800:160:1f00::/45": "14259", - "2a0a:7d80:9::/48": "35594", - "2606:ae00:b801::/38": "7287", - "2606:ae80:1430::/44": "19834", - "2a00:f28:3000::/29": "15802", - "2a0e:46c3:200::/47": "208717", - "2001:559:ad::/48": "33659", - "2001:67c:1254::/48": "31216", - "240e:3ba:8200::/35": "140316", - "2602:ff18:221::/48": "21973", - "2607:ffd0::/45": "13767", - "2a01:570::/47": "33941", - "2a02:26f7:bc09::/42": "20940", - "2a11:14c0::/29": "210760", - "2001:7fe::/32": "29216", - "2a0a:4380::/29": "60924", - "2a02:ac80:401::/39": "25145", - "2403:b200:a99c::/48": "38506", - "2409:8014:80a::/35": "56044", - "2607:fc40::/32": "13433", - "2a0e:b107:24::/48": "39753", - "2001:418:143a:200::/47": "2914", - "240e:473:d20::/41": "140486", - "2001:678:558::/48": "50472", - "2408:8459:1930::/41": "17622", - "2605:a401:83ec::/43": "33363", - "2804:6fc:1b::/42": "28158", - "2a05:540::/30": "45027", - "2a02:2250::/32": "196714", - "2402:4000:bbf9::/33": "18001", - "2404:5e40:3::/32": "137703", - "2605:b740:40::/42": "2773", - "2800:1e0:c02::/39": "7195", - "2804:124::/32": "28247", - "2804:356c::/32": "266285", - "2a00:a640::/46": "13445", - "2a02:5c20::/29": "60111", - "2a0b:fd87:ffff::/48": "49419", - "2001:559:c3ea::/48": "33657", - "2001:559:835c::/48": "33657", - "2001:559:c19c::/46": "33491", - "2606:c900::/32": "22834", - "2620:13e:e000::/48": "29802", - "2a03:8c80::/29": "31319", - "2a0e:b107:1130::/46": "212121", - "2001:678:ef8::/48": "202592", - "2600:6c7f:90c0::/48": "20115", - "2a02:26f7:d381::/46": "20940", - "2a0d:77c7:de24::/34": "7489", - "2800:b20:2000::/30": "14754", - "2a03:3180:10::/36": "44453", - "2401:7400:c803::/37": "4773", - "2408:8256:379c::/46": "17623", - "2409:8904:55b0::/38": "24547", - "240a:a45e::/32": "143768", - "2804:2b7c::/32": "265155", - "2001:559:44::/48": "7922", - "2001:1a10:ce::/39": "8781", - "2400:cb00:a260::/47": "13335", - "2403:9800:b013::/45": "4648", - "240a:a8ad::/32": "144871", - "2602:ff5d::/36": "27382", - "2a04:4a00::/29": "47440", - "2402:800:59ee::/38": "7552", - "2408:8957:e100::/40": "17816", - "2800:5f0:a001::/33": "22724", - "2405:1c0:7915::/41": "55303", - "2407:ed00::/35": "9587", - "2804:292c::/32": "264008", - "2804:5fe4::/32": "269130", - "2806:230:2030::/48": "265594", - "2806:230:4041::/46": "11888", - "2600:1404:1401::/36": "20940", - "2a01:aea0:df6::/32": "42473", - "2a02:26f7:b701::/46": "20940", - "2a02:26f7:ba84::/47": "36183", - "2405:1c0:6411::/45": "135062", - "2408:84f3:a840::/38": "17816", - "2600:9000:115e::/48": "16509", - "2a02:2f80::/29": "200064", - "2801:80:e0::/48": "53215", - "2a02:26f7:9b::/48": "20940", - "2001:918:ff45::/43": "3303", - "240a:a3fa::/32": "143668", - "2606:ae00:ac00::/40": "7287", - "2607:fcc8:6000::/32": "10796", - "2001:67c:1b94::/48": "44768", - "2406:f400:40::/44": "38001", - "2408:8256:356e::/48": "17623", - "2408:8656:3cff::/48": "17623", - "240a:ad2d::/32": "146023", - "2800:bf0:80::/44": "52257", - "2001:df1:801::/48": "133752", - "2409:8904:4560::/38": "24547", - "240e:473:2050::/39": "4134", - "2804:848::/32": "262737", - "2804:384c::/32": "266468", - "2a02:ed8::/32": "44898", - "2401:d800:99e0::/38": "7552", - "2620:90:8000::/48": "23371", - "2a02:26f7:c9c9::/46": "20940", - "2a0f:de40::/48": "60781", - "2001:67c:620::/48": "197639", - "2407:680:8000::/33": "7656", - "2409:8000:5d00::/31": "9808", - "2804:6fc:b100::/36": "28158", - "2806:262:501::/48": "13999", - "2a09:be40:1700::/40": "208029", - "2001:559:c0c8::/48": "7922", - "2605:7b00::/32": "22110", - "2620:7b:2000::/48": "398222", - "2a02:26f7:54::/48": "36183", - "2001:67c:1954::/48": "44574", - "240e:473:2b20::/41": "140486", - "2803:6600::/30": "28075", - "2001:6d0:4001::/46": "52016", - "2405:f080:2800::/48": "136907", - "2620:46:4000::/48": "395431", - "2a01:298:d34e::/34": "30880", - "2a10:b9c0::/32": "211623", - "2c0f:fc88:2f::/43": "36992", - "2001:c00:4619::/32": "4618", - "240e:473:2200::/41": "140485", - "2804:5bc4::/32": "268868", - "2a02:26f7:b908::/48": "36183", - "2a03:f80:36::/48": "5483", - "2a07:2918:6000::/36": "60115", - "240a:a4d3::/32": "143885", - "240a:a786::/32": "144576", - "2602:804:d000::/44": "27587", - "2607:f160::/48": "6167", - "2806:2f0::/43": "17072", - "2a02:26f0:fc::/47": "20940", - "240e:473:2750::/40": "4134", - "2001:678:268::/48": "206939", - "2404:fa00::/34": "45780", - "240a:af0b::/32": "146501", - "2607:f368::/36": "32982", - "2620:123:2040::/47": "30103", - "2a0b:e41:1::/46": "205809", - "2001:1248:842d::/46": "11172", - "2402:c100:c001::/34": "23673", - "240a:a73c::/32": "144502", - "240a:aaeb::/32": "145445", - "2a10:3300::/29": "207459", - "2a02:26f7:cd00::/48": "36183", - "2a04:c600::/29": "49544", - "2600:1017:b130::/40": "6167", - "2a01:270:e000::/46": "29657", - "2c0f:fba0::/45": "37333", - "2607:fb50:2100::/32": "46253", - "2804:1644:f760::/36": "262903", - "2a0f:5707:aa23::/44": "207622", - "2400:8000:7::/44": "4800", - "2804:5240::/32": "268505", - "2a02:22a8::/32": "8369", - "2a02:26f7:f34b::/42": "20940", - "2001:4600::/24": "2119", - "2001:4de0:2203::/39": "33438", - "2600:1407:8800::/48": "35994", - "2804:396c::/32": "262846", - "2806:230:4025::/48": "11888", - "2a02:350::/29": "16246", - "2804:3d0c::/32": "266250", - "2a02:ac40::/29": "25459", - "2001:428:3807::/48": "18703", - "2001:559:7ef::/48": "22258", - "2600:8807:43e0::/37": "22773", - "2a01:4a0:2003::/29": "201011", - "2408:8957:400::/40": "17622", - "240a:a3cd::/32": "143623", - "2602:fcf6:a::/48": "48413", - "2605:dd40:8cb0::/44": "398549", - "2a02:850:ffff::/48": "1921", - "2001:67c:2bf0::/48": "200106", - "2001:4478:2300::/33": "4802", - "2804:88:8002::/35": "28135", - "2804:42bc::/32": "267522", - "2a02:26f7:e4c0::/48": "36183", - "2602:233::/32": "7782", - "2803:2880::/32": "262159", - "2a00:1f78:f008::/36": "8893", - "2a02:26f0:801::/38": "20940", - "2a02:26f7:67::/48": "20940", - "2a07:59c6:caca::/48": "205413", - "240a:a1f1::/32": "143147", - "2402:3300:5000::/48": "56300", - "240a:add9::/32": "146195", - "2401:3c00:a4::/44": "38322", - "2402:6880:3000::/48": "63989", - "240a:a99c::/32": "145110", - "2605:a900:9::/46": "46887", - "2804:14c:d885::/41": "28573", - "2001:480:422::/39": "668", - "240e:473:1f20::/41": "140486", - "2a03:ec40::/29": "60800", - "2a07:6fc0::/48": "205948", - "2001:559:58f::/48": "33287", - "2001:559:8220::/47": "7922", - "2001:c30::/32": "4721", - "2001:4430:4f08::/35": "17853", - "2001:4998:128::/45": "10310", - "2406:840:eab4::/48": "142642", - "2a04:b40::/29": "36057", - "2a0e:b105:6f8::/46": "20473", - "2001:559:156::/48": "7015", - "2001:67c:1bd4::/48": "25373", - "2401:1d80:2::/48": "133530", - "2001:7f0:101::/48": "51906", - "2402:800:5463::/43": "7552", - "2402:800:59c5::/43": "7552", - "240a:aa8c::/32": "145350", - "2602:fc5d:252::/48": "399866", - "2606:2800:4aa4::/46": "15133", - "2620:0:1a50::/48": "32360", - "2a00:1728:a::/48": "60230", - "2a04:4e40:fa00::/48": "54113", - "2a0e:e744::/30": "208283", - "2001:468:2650::/48": "22742", - "2001:4998:10::/46": "10310", - "2408:8256:2f9f::/35": "17816", - "2a02:26f7:d4c1::/46": "20940", - "2a0a:2280::/29": "44851", - "2a0e:1cc0::/48": "208612", - "2001:559:730::/48": "7015", - "2001:1248:708c::/46": "11172", - "2600:1404:9c01::/38": "20940", - "2602:fcd8::/48": "14618", - "2605:8d40::/32": "46292", - "2a02:26f7:dc00::/48": "36183", - "2a07:3505:80::/44": "31477", - "2409:8c85:aa19::/42": "9808", - "240a:ac77::/32": "145841", - "2606:6800:2000::/40": "394901", - "2804:74b4::/32": "270998", - "2001:fe8::/46": "24435", - "2409:8915:5000::/39": "56044", - "2607:fe90:8000::/47": "22169", - "2620:171:29::/48": "715", - "2a07:85c0::/48": "174", - "2001:12f0:b3a::/45": "1916", - "240e:108:1170::/48": "134238", - "2001:500:85::/48": "53459", - "240a:a370::/32": "143530", - "2602:feda:3d0::/44": "213361", - "2804:14d:7400::/40": "28573", - "2804:1b94:700::/32": "52974", - "2a00:dd80:3a::/45": "36236", - "2a02:2ac0::/32": "702", - "2001:559:81c0::/48": "7015", - "2a03:efc0:500::/40": "197640", - "2a0b:d9c0:164::/46": "49544", - "2c0f:f118::/47": "328201", - "2400:9380:9060::/47": "4809", - "2a02:26f7:c101::/46": "20940", - "2a10:2c0::/29": "60636", - "2600:6c38:8c3::/44": "20115", - "2607:8500::/32": "14987", - "2800:160:1630::/46": "14259", - "2804:2c98::/32": "265229", - "2a01:c50e:6600::/32": "12479", - "2604:c0c0:2000::/35": "14525", - "2a00:6340::/33": "58299", - "2a06:e881:1708::/48": "49745", - "2a0f:4f40::/48": "48749", - "2001:559:5e5::/48": "7922", - "2402:9e80:43::/48": "138631", - "2409:8c14::/40": "56044", - "240a:acf9::/32": "145971", - "2a00:1c98::/32": "34762", - "2a01:5420::/32": "199947", - "2001:df3:e500::/48": "135934", - "2408:8956:1600::/40": "17622", - "2409:8914:4200::/39": "56044", - "240e:44d:6400::/41": "140345", - "2804:2620::/32": "264323", - "2a02:26f7:f904::/48": "36183", - "240a:abf2::/32": "145708", - "240e:3b8:2800::/38": "4134", - "2606:2800:8::/47": "15133", - "240e:108:11e2::/48": "4816", - "2a0b:740::/29": "200599", - "2a01:5ec0:b000::/36": "44244", - "2001:559:7e0::/48": "7922", - "240a:a4c4::/32": "143870", - "240d:c010:20::/43": "132203", - "2620:fc::/48": "40119", - "2804:2400::/32": "264195", - "2804:3fdc::/32": "265920", - "2804:5af0::/32": "268808", - "2a03:7a0::/29": "43940", - "2001:559:c::/48": "7015", - "2001:559:169::/48": "7016", - "2401:ff80:1301::/46": "133954", - "2606:9000::/32": "18618", - "2804:4ff0::/32": "268359", - "2001:ee0:ed00::/40": "45899", - "2800:68:bacb::/33": "61468", - "2a01:9300::/32": "5602", - "2a09:e200::/48": "49121", - "2001:1248:5595::/42": "11172", - "2001:13b0:c001::/35": "3549", - "2401:95c0::/32": "9678", - "2408:8957:e400::/40": "17622", - "240a:a896::/32": "144848", - "240a:ae78::/32": "146354", - "2604:880:41::/48": "29802", - "2001:1248:55da::/42": "11172", - "2804:df4:8000::/35": "52531", - "2804:446c:8001::/33": "28369", - "2a02:26f7:d258::/48": "36183", - "2a06:8100::/29": "34549", - "2a02:26f7:3f::/48": "20940", - "2001:559:860e::/48": "33668", - "240a:a590::/32": "144074", - "2603:c013:6000::/36": "31898", - "2607:f9d0:f000::/40": "11979", - "2620:11a:a032::/48": "43515", - "2804:14d::/47": "28573", - "2a00:80a::/25": "1257", - "2001:559:843c::/48": "7725", - "2407:3a80::/32": "133045", - "2602:ffc5:158::/48": "40676", - "2620:171:3::/48": "715", - "2803:8d43::/32": "52262", - "2804:2724:150::/32": "263879", - "2001:559:82c2::/48": "7016", - "2403:300:a30::/48": "6185", - "2001:559:dd::/46": "7922", - "240a:aa92::/32": "145356", - "240e:44d:6200::/41": "140345", - "2603:f448::/29": "396356", - "2620:ef:c000::/48": "64233", - "2804:1ca4:8001::/41": "263010", - "2804:7a28::/40": "271351", - "2001:559:84f2::/48": "33657", - "2001:57a:c222::/34": "22773", - "2804:6844::/32": "269681", - "2a02:568:fe01::/48": "8763", - "2a03:fb80::/32": "206920", - "2a0d:5480::/29": "49024", - "2402:8bc0::/32": "59012", - "240a:a74c::/32": "144518", - "2401:d800:5fb0::/41": "7552", - "240a:aed2::/32": "146444", - "2a0b:53c0::/32": "205673", - "2405:9800:c919::/46": "45458", - "2406:e940::/35": "9449", - "240a:af06::/32": "146496", - "2800:160:1a4a::/43": "14259", - "2a02:26f7:d844::/48": "36183", - "2a03:57c0::/32": "48159", - "2600:370f:7421::/46": "32261", - "2620:137::/46": "396253", - "2804:d70:180::/32": "52626", - "2a02:26f7:86::/48": "36183", - "2401:b180:4101::/34": "37963", - "2a00:50c0::/48": "31415", - "2a02:c180:1fff::/48": "701", - "2a0e:b107:bf0::/47": "140938", - "2a01:8840:c6::/44": "12041", - "2001:559:82db::/48": "13367", - "2804:1ab0:8100::/33": "61876", - "2a02:2698:5000::/38": "43478", - "2001:559:83a4::/48": "7922", - "2403:a200::/32": "17428", - "2404:bf40:e402::/48": "2764", - "240a:a105::/32": "142911", - "2602:feda:b8c::/47": "200334", - "2803:58e0::/32": "269878", - "2001:ee0:9940::/38": "45899", - "2a02:27f8::/32": "42755", - "2a0e:8a84::/32": "13559", - "2001:1248:9a4c::/42": "11172", - "240e:58::/32": "4812", - "2602:ff62::/40": "61317", - "2a0b:11c0:4074::/47": "198682", - "2001:ee0:c240::/39": "45899", - "2400:cb00:36::/48": "132892", - "2402:3a80:1cd0::/42": "38266", - "240a:aed9::/32": "146451", - "2600:140a:2001::/33": "20940", - "2804:7d48::/32": "271551", - "2a07:a440::/30": "42927", - "2409:40c1::/30": "55836", - "2600:1480:5000::/40": "33905", - "2804:14c:f427::/44": "28573", - "2a0f:9340:32::/47": "1299", - "2a10:9540::/29": "211784", - "2804:1684::/39": "53169", - "2c0f:e8e0::/32": "327926", - "2001:559:33b::/48": "33657", - "2001:1540:dd06::/34": "47886", - "2400:1f00:b700::/48": "45769", - "2401:d800:5880::/42": "7552", - "2401:d800:f7e0::/36": "7552", - "2607:f778:b100::/33": "32035", - "2804:2894::/32": "263969", - "240e:d9:a500::/38": "38283", - "240e:473:7950::/40": "4134", - "2a02:26f7:be0d::/42": "20940", - "2a03:e880::/32": "20686", - "2001:678:1c8::/48": "47543", - "2001:67c:2fbc::/48": "212467", - "240e:f:c800::/37": "4835", - "2620:13e:7000::/47": "62621", - "2806:20d:3226::/44": "32098", - "2a02:26f0:b501::/38": "20940", - "2a02:f240::/29": "18779", - "2001:559:492::/47": "7922", - "2400:a980:1400::/40": "133515", - "2400:c700:9::/43": "55644", - "240a:af5a::/32": "146580", - "2804:1bbc::/32": "61746", - "2001:559:8507::/48": "33651", - "240e:473:7e50::/39": "4134", - "2801:1c8:200::/40": "19429", - "2a00:6140::/32": "200062", - "2a0f:5701:3502::/45": "205593", - "2001:559:378::/48": "33287", - "2001:dce:8000::/48": "45285", - "2001:43d8::/32": "15022", - "2402:800:41ef::/43": "7552", - "240e:b2:f000::/29": "4134", - "240e:378:2600::/32": "4134", - "2803:d100:a000::/33": "52362", - "2405:f600:61::/48": "45117", - "2804:3d18::/32": "266253", - "2a0d:8800::/29": "205624", - "2001:1248:9aaa::/45": "11172", - "2804:194c::/32": "61785", - "2a01:7b40::/32": "47347", - "2a09:9444::/32": "395092", - "2001:559:7eb::/48": "7015", - "2001:1230::/39": "13579", - "2404:bf40:f081::/39": "139084", - "240e:3b6:7600::/39": "140313", - "2804:5208::/32": "28594", - "2a03:7dc0::/32": "39256", - "2a10:ee40::/29": "47787", - "2607:ffb0:300e::/33": "6327", - "2804:5848::/32": "268119", - "240e:44d:7180::/41": "4134", - "2a0e:1101:2::/44": "51255", - "240e:60c:f800::/38": "137688", - "2604:98c0::/32": "23379", - "2605:3380:416a::/43": "12025", - "2a01:20e::/32": "41051", - "2a01:b780::/32": "43612", - "2001:559:761::/48": "7016", - "240a:a3d5::/32": "143631", - "2804:4a4c::/32": "267231", - "2a07:9780::/29": "202705", - "2001:559:139::/48": "33659", - "2a01:8ca0::/32": "24589", - "2a02:250:4::/33": "39570", - "2001:550:907::/48": "32489", - "2001:559:c3b3::/48": "7016", - "2001:67c:2410::/48": "34755", - "240a:a81f::/32": "144729", - "240a:af31::/32": "146539", - "2a00:17e0::/32": "49983", - "2607:1280:1280::/43": "394972", - "2001:470:59::/48": "6939", - "2001:67c:3e8::/47": "39358", - "240a:40a2:c000::/35": "58834", - "240a:aa46::/32": "145280", - "240a:acd0::/32": "145930", - "2605:9780:1000::/40": "36180", - "2606:4a00::/35": "33154", - "2804:4460::/32": "267629", - "2a02:26f7:ec40::/48": "36183", - "2404:160:8080::/34": "10030", - "2620:171:5::/46": "715", - "2a00:aea0:600::/40": "12678", - "2a09:6381::/30": "62000", - "2408:8459:a450::/38": "17816", - "240a:a696::/32": "144336", - "2604:4200::/32": "36374", - "2620:106:6000::/45": "3562", - "2620:119:1000::/48": "33004", - "2800:4b0:4100::/38": "12252", - "2a05:d050:80e0::/44": "16509", - "2a0c:b642:1a01::/48": "60404", - "2a0c:c9c2:ab::/29": "202414", - "2a02:e10::/32": "43646", - "2a03:b80::/32": "198859", - "2a06:1780::/32": "60781", - "2001:bf2::/29": "12732", - "2a02:17b8::/32": "34040", - "2a04:7140:21::/48": "35584", - "2a0f:34c0::/29": "60262", - "2001:1248:9aa6::/44": "11172", - "2a02:2ab8:330::/32": "702", - "2603:c002:150::/38": "31898", - "2804:3aa4::/40": "266101", - "2c0f:f6d8:4012::/47": "3573", - "2402:e300:4::/32": "131706", - "2403:1cc0:1201::/48": "45352", - "2600:1480:800::/48": "21342", - "2607:6b80:6::/48": "55081", - "2620:116:f000::/46": "14157", - "2a03:720:9::/43": "57073", - "2001:559:65::/48": "33657", - "2600:1406:48::/39": "20940", - "2620:171:c00::/45": "42", - "2803:a900:100::/47": "52420", - "2804:26d8::/32": "53160", - "240e:3b6:1800::/34": "4134", - "2600:3000:5100::/40": "13845", - "2607:fbe0::/32": "40824", - "2a02:fa8:c410::/44": "399104", - "2001:43f8:bc0::/48": "37399", - "2409:8907:7320::/37": "24547", - "2600:1419:f001::/37": "20940", - "2a02:26f7:87::/48": "20940", - "2001:67c:3b4::/48": "52092", - "2600:370f:3445::/44": "32261", - "2804:6d4::/32": "53045", - "2a02:26f7:bfc1::/46": "20940", - "2806:34d:48::/48": "15695", - "2400:cb00:140::/44": "13335", - "240a:a075::/32": "142767", - "240a:a2a0::/32": "143322", - "2602:fe78::/36": "33360", - "2606:2800:4003::/48": "15133", - "2804:290::/32": "28669", - "2804:15d4::/33": "263413", - "2a01:568::/33": "43950", - "2001:67c:7f8::/48": "21221", - "2600:1404:c001::/37": "20940", - "2604:7fc0::/32": "17017", - "2607:e880:1030::/48": "12220", - "2620:107:3001::/48": "16509", - "2620:128:e080::/48": "22317", - "2800:160:11dd::/42": "14259", - "2001:559:8629::/48": "7016", - "240e:473:8250::/39": "4134", - "2605:f500:8111::/33": "1828", - "2605:fec0::/32": "398852", - "2a00:14b0::/32": "13135", - "2a0a:b382::/32": "19318", - "2604:980:d000::/34": "21859", - "2a01:c50f:ca40::/39": "12479", - "2401:1d40:4000::/32": "59019", - "2804:8cc:f::/48": "272413", - "2804:1be4::/32": "61755", - "2a01:40e0::/47": "8315", - "2409:8914:6600::/39": "56044", - "240a:a038::/32": "142706", - "240e:870::/44": "140485", - "2001:500:a::/48": "13901", - "240a:aec2::/32": "146428", - "2607:7c80:54::/48": "7247", - "2001:559:8752::/48": "7922", - "2001:dd8:1::/48": "38283", - "2001:13c7:6014::/48": "52500", - "2806:2f0:8081::/43": "17072", - "2a06:1287:2600::/44": "62217", - "2c0f:f378::/32": "36941", - "2001:fd0:2201::/39": "10029", - "2602:febe::/38": "30405", - "2c0f:fe78:6000::/32": "37239", - "2409:8904:8e90::/39": "24547", - "2001:520:100e::/43": "8103", - "2001:559:840f::/48": "22909", - "2001:df5:5d00::/48": "4770", - "2001:fd8:32f0::/44": "4775", - "2001:1a12::/29": "8781", - "240a:a6dd::/32": "144407", - "2607:fa48::/39": "5769", - "2001:559:77e::/48": "20214", - "2401:ff80:170b::/45": "133954", - "2405:be00::/32": "18148", - "240e:109:8023::/48": "4134", - "2602:fe0b::/36": "23415", - "2803:af80::/35": "263732", - "2a06:e881:5608::/48": "208340", - "2409:8038:2900::/35": "9808", - "240a:a5ed::/32": "144167", - "2804:4df8::/32": "268231", - "2a02:6900:8204::/48": "206209", - "2001:559:843f::/48": "33491", - "2406:b400:f10::/48": "18209", - "2600:1419:1000::/48": "4230", - "2001:470:60::/48": "50763", - "2001:559:84cb::/45": "33657", - "2409:8d80:7000::/32": "9808", - "240e:108:92::/48": "4134", - "240e:938:a10::/32": "4134", - "2a01:79c0::/32": "58326", - "2a10:64c0::/29": "204007", - "2a03:4bc0:1000::/47": "43893", - "240a:a6c5::/32": "144383", - "2620:132::/44": "63027", - "2001:fd8:b370::/33": "4775", - "2408:8406:5400::/39": "4808", - "2803:4610::/32": "271939", - "2804:7204::/32": "270827", - "240a:ac97::/32": "145873", - "2605:cdc0::/48": "398088", - "2804:14c:ca00::/40": "28573", - "2a10:cc44:10a::/45": "38281", - "2406:b400:57::/44": "18209", - "2801:1b8::/45": "28000", - "2a02:2698:6000::/38": "57378", - "2001:678:75c::/48": "199819", - "2001:1248:70cb::/43": "11172", - "2a02:20d0::/29": "34660", - "2001:678:82c::/48": "59776", - "2402:e380:301::/48": "133072", - "2409:8907:8520::/38": "24547", - "2607:8a00::/32": "7212", - "2a01:bb60::/32": "202120", - "2a09:7d80::/29": "16245", - "2001:559:340::/45": "33651", - "2408:8956:b200::/40": "17622", - "2a02:587:50fb::/34": "6799", - "2a02:26f7:e518::/48": "36183", - "2a07:4ac0:2400::/40": "205881", - "2405:4400::/32": "18001", - "2407:bc00::/32": "37963", - "2600:1419:6::/44": "20940", - "2620:126:2000::/40": "18694", - "2804:2264:3000::/32": "264096", - "2804:38d0::/32": "266503", - "240a:a73e::/32": "144504", - "2804:6e9c::/32": "270608", - "2a07:14c0::/47": "59504", - "2800:4d0::/34": "7004", - "2801:80:22a0::/48": "262654", - "2804:204:321::/37": "28186", - "2800:1e0:2000::/40": "7195", - "2804:e94:4d0::/39": "262468", - "2a0b:3380::/29": "28686", - "2a0b:89c0::/31": "3214", - "2a0d:77c7:d795::/36": "7489", - "2001:559:37b::/48": "7922", - "2001:559:848f::/43": "33657", - "2620:f0:4000::/45": "394699", - "2001:1a11:10b::/48": "42298", - "2402:800:fdc0::/42": "7552", - "2408:8a27:4000::/35": "4837", - "2a00:ad87:1302::/48": "15465", - "2a03:6505::/34": "6731", - "2a0d:86c0::/29": "210181", - "240a:a512::/32": "143948", - "240e:473:5950::/40": "4134", - "2605:f440:9f92::/34": "54874", - "2806:2f0:4381::/42": "17072", - "2806:10be:2::/45": "8151", - "2001:3a0::/32": "7521", - "2a02:26f7:e685::/46": "20940", - "2a02:26f7:f005::/46": "20940", - "2001:559:80db::/48": "33287", - "2804:14d:ae00::/40": "28573", - "2804:6a08::/32": "270307", - "2a00:c020::/36": "197588", - "2a02:26f0:9a00::/48": "34164", - "2a11:2800:4::/48": "210907", - "2001:bb8::/32": "3221", - "2a01:7e0::/42": "44066", - "2001:57a:3202::/36": "22773", - "2001:13c7:600a::/48": "52376", - "240e:108:1181::/48": "133775", - "2800:2a0:5101::/34": "27947", - "2804:ffc::/32": "263612", - "2a0b:f5c0::/29": "205377", - "2001:4b58::/32": "6802", - "2402:800:92ee::/39": "7552", - "2804:720::/32": "262621", - "2804:270c::/32": "262732", - "2804:2e84::/44": "265350", - "2a02:26f0:1801::/39": "20940", - "2a03:8180:1000::/37": "36351", - "2001:559:849b::/48": "7016", - "2600:1406:6001::/38": "20940", - "2604:3d09:f400::/29": "6327", - "2c0f:eb48::/32": "328576", - "2001:dc8:2003::/48": "131123", - "2600:370f:7540::/44": "32261", - "2803:fb00::/32": "262248", - "2804:d0::/32": "28145", - "2a02:26f7:bfc9::/42": "20940", - "2a0c:6c40:a4ef::/48": "20705", - "2c0f:fb08:ff00::/40": "12091", - "2a01:790::/32": "42926", - "2001:df0:467::/48": "131893", - "2801:80:16b0::/48": "265325", - "2804:6a10::/32": "270310", - "2a02:5fc0::/48": "13287", - "2401:4900:47f0::/44": "45609", - "2602:fcd8:1c::/46": "399141", - "2806:230:2015::/48": "11888", - "2401:d800:2cd0::/42": "7552", - "2620:110:d000::/44": "26", - "2804:5550:7692::/32": "263067", - "2a0d:2584:f000::/36": "142566", - "2409:8904:aa40::/39": "24547", - "240e:e9:5000::/37": "138950", - "2620:0:9c0::/48": "7941", - "2001:44b8:4055::/48": "4739", - "240a:a465::/32": "143775", - "240a:ab31::/32": "145515", - "2620:119:c000::/44": "46322", - "2a00:d120::/43": "29990", - "2a03:53c0::/32": "197495", - "2a0b:6b86:b00::/47": "206699", - "2001:559:319::/48": "33657", - "2404:1a40:200::/32": "9744", - "2605:8dc0::/32": "55081", - "2804:2b08::/32": "61578", - "2a00:d70::/32": "29097", - "2c0f:fc89:8038::/40": "36992", - "2001:4490:d930::/46": "9829", - "2804:42e4::/32": "267535", - "2806:34f::/32": "265604", - "2a02:f08::/35": "42184", - "2a0d:4600::/29": "204319", - "2603:f3f8::/21": "396356", - "2605:ed00:4c3::/48": "11351", - "2610:88:223::/32": "14037", - "2a06:f7c0::/29": "202505", - "2804:4748::/32": "267043", - "2001:67c:1530::/48": "61283", - "2401:d800:2350::/42": "7552", - "2409:8914:c000::/39": "56044", - "2600:140f:1601::/39": "20940", - "2606:ae80::/44": "41041", - "2407:a800:3e12::/48": "4713", - "2401:3bc0:901::/35": "137409", - "2403:300:701::/43": "714", - "2602:fdab::/36": "397968", - "2806:370:4040::/40": "28403", - "2a00:8a02:8010::/44": "200656", - "2a0e:b107:5a9::/48": "203943", - "2001:559:19c::/48": "33652", - "2400:8906::/31": "63949", - "2402:800:7b80::/42": "7552", - "2402:e280:400::/40": "134674", - "2804:2b1c::/32": "265135", - "2001:470:c6::/48": "396097", - "2001:559:c1fc::/48": "7922", - "2804:38dc::/32": "266506", - "2804:72c8::/32": "270875", - "2a01:90:400::/48": "29668", - "2001:559:8452::/47": "33287", - "2001:559:c376::/48": "33660", - "2001:df0:c0::/48": "55741", - "2405:1c0:6561::/45": "135062", - "240a:aaff::/32": "145465", - "2a03:7f20::/48": "8473", - "2a05:4740::/32": "59741", - "2001:41c8::/31": "35425", - "2404:3d00:4126::/47": "21433", - "2606:b400:8000::/47": "792", - "2803:7420::/32": "265826", - "2a05:d000:2000::/40": "16509", - "2402:800:9347::/43": "7552", - "2409:8a54::/28": "56040", - "2800:490::/36": "27951", - "2804:4b94::/32": "267316", - "2a0f:1000::/29": "200567", - "2c0f:f030:8000::/33": "328137", - "2804:6a1c::/32": "270313", - "2a02:c382::/32": "9108", - "240e:651:4000::/26": "4134", - "2600:1900:4130::/41": "15169", - "2607:f298:b::/48": "26347", - "2a02:26f7:d889::/42": "20940", - "2a0d:3580::/32": "200303", - "2404:4a00:5542::/62": "55423", - "2405:1c0:6635::/41": "55303", - "2408:8957:a700::/40": "17816", - "2620:82:4000::/48": "22098", - "2804:4ad0::/32": "267265", - "240a:a435::/32": "143727", - "2602:ffc5:60::/64": "8100", - "2a02:1320::/32": "34409", - "2a04:c8c0::/29": "28941", - "2401:3600::/32": "131934", - "2607:f5a0:802::/32": "17048", - "2a0b:de02:48::/48": "6805", - "2001:1248:a4d6::/44": "11172", - "2804:56dc::/32": "268028", - "2403:8600:c090::/42": "45820", - "2806:2f0:2404::/43": "22884", - "2a02:5740:9::/48": "58065", - "2a02:f980::/32": "213270", - "2a07:4e00::/29": "203058", - "2a09:1d80::/29": "62563", - "2001:67c:49c::/48": "2799", - "2001:44c8:41fe::/38": "131445", - "2402:800:5201::/44": "7552", - "240a:a594::/32": "144078", - "2001:559:1a8::/48": "7922", - "2405:8a00:21a6::/43": "55824", - "2803:e0e0::/47": "269852", - "2804:4744::/32": "267042", - "2001:4490:d180::/46": "9829", - "2404:ae40::/32": "138932", - "240e:41:c800::/30": "4134", - "2605:ba80::/32": "40473", - "2804:3504::/32": "265495", - "2a00:4802:2a10::/35": "13124", - "240a:a85f::/32": "144793", - "2804:12c8::/32": "263498", - "2001:559:86e8::/47": "33652", - "240a:a0a6::/32": "142816", - "2804:6c20::/32": "270447", - "2a04:bb80::/29": "62040", - "2a05:5440::/29": "58331", - "2a0e:b107:23f::/48": "209419", - "2001:44c8:b000::/33": "45430", - "240a:a7c7::/32": "144641", - "2a01:ce85::/35": "51964", - "2a02:2892:32::/48": "51185", - "2401:4900:4cc0::/44": "45609", - "2a03:2780::/32": "57238", - "2402:800:94b7::/41": "7552", - "240e:3b9:7a00::/32": "140313", - "2804:67a4:3::/32": "269641", - "2001:43f8:11b0::/48": "328030", - "2405:4340::/48": "135987", - "2408:8456:6a00::/42": "17622", - "240a:af82::/32": "146620", - "2804:f90::/32": "263592", - "2a0c:d0c0::/29": "48390", - "2001:df4:6680::/48": "131971", - "2408:821a::/31": "4837", - "2602:ff3a::/36": "62512", - "2a01:4a00::/32": "44395", - "2001:7f9:4::/48": "42409", - "240a:a372::/32": "143532", - "240a:a733::/32": "144493", - "2806:2f0:1041::/46": "22884", - "2a02:26f0:67::/44": "21342", - "2001:559:c10a::/48": "21508", - "240a:a0b4::/32": "142830", - "2607:f220:411::/48": "70", - "2a00:dc00::/32": "47288", - "2620:10a:30f1::/44": "10349", - "2620:124:b000::/47": "32521", - "2801:192::/40": "262589", - "2a02:26f7:5d::/48": "20940", - "2606:2800:501b::/48": "14153", - "2a01:6980::/32": "43291", - "2001:579:1044::/40": "22773", - "2400:cb00:19::/48": "13335", - "2404:e6:910::/32": "703", - "2406:e000:c11::/44": "23655", - "240a:aa4d::/32": "145287", - "240e:44d::/41": "140345", - "2804:6224::/32": "269278", - "2a02:2e02:2ea0::/39": "12479", - "2a0b:4080::/48": "16509", - "2a0d:f107::/32": "208449", - "2a0f:3800::/29": "198211", - "2001:77c::/32": "5479", - "2402:b801:400::/35": "18371", - "240e:67f:1000::/37": "140330", - "2602:ffc5:30::/46": "7489", - "2620:0:2250::/48": "20130", - "2804:339c::/32": "265407", - "2a00:bd80::/32": "51395", - "2a0b:6800:3::/29": "16150", - "2403:e200:405::/36": "45543", - "240a:aa5f::/32": "145305", - "2604:d600:c14::/46": "32098", - "2800:4f0:10::/46": "28006", - "2806:219:509::/48": "28509", - "2a02:26f7:f8c1::/46": "20940", - "2001:470:122::/43": "6939", - "2001:4408:8508::/45": "55824", - "2600:803:271::/37": "701", - "2a0f:543::/29": "207976", - "2604:3680::/32": "10279", - "2607:fb78::/32": "23309", - "2001:1980:6300::/36": "29838", - "240e:ff:d000::/36": "58543", - "240e:978:1900::/40": "137697", - "2600:1404:ec01::/35": "20940", - "2804:1588::/32": "263393", - "2a02:a48:f000::/36": "49025", - "2a0d:f9c2::/32": "39912", - "2001:620::/29": "559", - "2001:43f8:10a0::/48": "328268", - "2406:f00:3::/48": "55824", - "2803:b4c0::/44": "264668", - "2a02:e600::/30": "204260", - "2001:913:1000::/36": "204059", - "2409:8c34:d00::/38": "9808", - "240a:af76::/32": "146608", - "2001:559:1fa::/48": "7922", - "2602:fc69::/36": "399642", - "2804:14d:d600::/40": "28573", - "2a02:26f7:d049::/42": "20940", - "2001:559:1c9::/48": "33652", - "2401:4900:2500::/45": "45609", - "2a0b:35c0::/29": "200005", - "2a0f:b400::/44": "60781", - "2001:43f8:1030::/48": "3067", - "2001:4888:a60e::/41": "22394", - "2405:9800:b820::/41": "133481", - "240a:a301::/32": "143419", - "2602:feb4:100::/44": "25961", - "2a09:bec0::/32": "21195", - "2a0f:1201::/29": "60781", - "2001:559:4c3::/48": "33491", - "2001:678:3f4::/48": "211509", - "2001:df7:6c00::/48": "134633", - "2620:90:c000::/48": "701", - "2620:13b:d001::/46": "3549", - "2a02:214d:f000::/36": "1241", - "2001:559:12e::/43": "7922", - "2001:559:8355::/48": "33287", - "2404:4f01::/32": "23686", - "240a:a3d8::/32": "143634", - "2600:6c38:18c::/43": "20115", - "2806:264:3300::/37": "13999", - "2a02:26f7:d3c4::/48": "36183", - "2404:ffc0:2::/43": "62707", - "2607:f128:800::/32": "32748", - "2a00:c6c0::/48": "47172", - "2a02:26f7:e2c8::/48": "36183", - "2a05:e1c0::/29": "50673", - "2001:678:518::/48": "205423", - "2a0c:9a40:1030::/47": "34927", - "2001:559:369::/48": "33287", - "2001:43f8:a40::/48": "31960", - "240a:a09d::/32": "142807", - "2607:fb90:3300::/37": "21928", - "2610:8::/32": "3999", - "2800:160:175a::/42": "14259", - "2806:3aa::/32": "265627", - "240e:3b2:9200::/36": "140317", - "2804:2fc::/32": "53238", - "2a00:72e0::/32": "201635", - "2a0f:6fc2::/32": "51837", - "2001:559:7a2::/48": "33659", - "2001:559:82cc::/48": "33287", - "2403:1940:20::/48": "137935", - "240a:a9eb::/32": "145189", - "2801:8c::/32": "262857", - "2803:9800:a4c3::/39": "11664", - "2a00:7145:c1::/46": "51430", - "2001:4490:3e00::/42": "9829", - "2406:6e00::/39": "17457", - "2a02:6300:31::/32": "50128", - "2a05:b4c0::/47": "201093", - "2001:559:466::/48": "33659", - "2001:df0:310::/48": "17547", - "2001:fe8:8130::/47": "24435", - "2400:2000:b::/45": "20940", - "2403:da00::/32": "3382", - "2600:1017:b400::/42": "22394", - "2001:67c:a8::/48": "197269", - "2803:7600::/32": "265751", - "2804:4b34::/32": "267290", - "2804:6f1c::/32": "270639", - "240e:982:1000::/39": "137695", - "2408:8956:5f00::/40": "17816", - "240e:f7:4000::/36": "58461", - "2806:2f0:41e1::/46": "17072", - "2a0b:b600:3c04::/48": "43350", - "2001:df6:a480::/48": "141815", - "2408:873d:3000::/32": "4837", - "2600:c09::/32": "12178", - "2804:1828::/32": "61921", - "2a00:6440::/32": "12406", - "2a02:ee80:4155::/48": "3573", - "2001:559:7ca::/48": "7922", - "2001:13b0:800d::/46": "267790", - "240e:3b5:f100::/36": "4134", - "2804:18:5030::/34": "26599", - "2a06:3980::/29": "34694", - "2a09:f0c0::/29": "209169", - "2001:559:85d7::/48": "33662", - "2403:5800:a000::/33": "4764", - "240a:a0ce::/32": "142856", - "2800:970::/32": "27787", - "2a00:4020::/32": "24800", - "2a02:26f7:fb80::/48": "36183", - "2a07:5540::/29": "35346", - "2602:feda:dff::/48": "147071", - "2804:36e4::/32": "266379", - "2a02:ee80:402b::/43": "3573", - "2a09:4b40::/29": "61317", - "2408:84f3::/34": "17816", - "2600:1002:f100::/44": "6167", - "2a02:2f0f:385::/32": "8708", - "2001:559:86a2::/45": "7922", - "2804:c80::/32": "52719", - "2804:e94:4::/44": "262468", - "2600:1006:b0d0::/42": "6167", - "2a0b:4340:22::/48": "205651", - "2a02:4540:c0::/45": "197207", - "2a0b:2080::/32": "36924", - "2001:678:310::/48": "6830", - "2406:2000:efa6::/48": "56173", - "2407:ef00::/36": "12422", - "240a:a7bb::/32": "144629", - "2801:80:810::/48": "263662", - "2a0c:280::/30": "34966", - "2a0c:a880::/29": "204754", - "2001:559:8618::/48": "33651", - "2408:840d:ab00::/42": "17621", - "240e:fb:d000::/34": "4134", - "2607:f8f0:e00::/40": "271", - "2400:cb00:376::/44": "13335", - "2403:9800:c021::/43": "4648", - "2c0f:eee8::/48": "327952", - "2001:559:81f7::/48": "33651", - "2001:90f::/32": "204873", - "2600:1488:6001::/40": "20940", - "2800:bf0:30::/44": "52257", - "2804:70d8::/32": "270743", - "2001:559:786::/48": "33491", - "2a09:2940::/32": "209898", - "2001:559:bc::/48": "33652", - "2001:559:854c::/47": "33652", - "2409:805c:30c1::/42": "9808", - "240a:a61e::/32": "144216", - "240e:108:10e0::/47": "137687", - "240e:44d:5000::/41": "140345", - "2600:250e:f000::/36": "1246", - "2407:500:1000::/48": "58940", - "2408:80ea:75a0::/41": "17816", - "2408:84f3:f810::/44": "17623", - "2404:f4c0:f90a::/48": "139833", - "2408:877c::/32": "137539", - "2800:6f0:9800::/40": "20207", - "2a01:8180:2000::/36": "20594", - "2a02:2160:8000::/36": "44679", - "2001:fd8:1a4::/46": "132199", - "2401:d800:f890::/41": "7552", - "2620:0:50e0::/48": "31859", - "2620:111:1008::/48": "18469", - "2620:149:a11::/48": "714", - "2a02:26f7:b6c0::/48": "36183", - "2606:5600::/32": "33494", - "2001:df4:1e80::/48": "136632", - "2001:fd0:201::/39": "10029", - "2620:74:28::/48": "397195", - "2402:e280:210d::/46": "134674", - "2409:8028:8f5::/44": "56041", - "2804:60d4::/32": "269194", - "2a01:5f60::/32": "199321", - "2a0b:f4c1::/48": "60729", - "2c0f:fe38:2120::/38": "33771", - "2001:550:7707::/48": "174", - "2620:119:5071::/46": "13443", - "2a01:53a0:1::/48": "199953", - "2001:df1:3b80::/48": "139609", - "2402:3a80:1400::/42": "38266", - "2409:8904:c9a0::/38": "24547", - "240a:af99::/32": "146643", - "2610:20:90a0::/44": "3477", - "2402:800:57ee::/36": "7552", - "2600:1404:29::/36": "20940", - "2602:fcec::/36": "16390", - "2a00:1cf8::/35": "44944", - "2a0e:e704:50::/44": "47837", - "2a11:af00::/29": "208861", - "2001:df6:6380::/48": "141866", - "2403:e100::/35": "58601", - "2408:8776::/28": "4837", - "2409:8904:4d60::/38": "24547", - "2801:17a:6::/44": "270105", - "2804:25f0::/32": "264311", - "2804:4dc8::/32": "268219", - "2a02:6680:2133::/44": "16116", - "2c0f:ff40::/26": "10474", - "2001:67c:14c8::/47": "29478", - "2001:c79::/32": "2764", - "2400:ca02:f01f::/40": "23688", - "240a:a3ee::/32": "143656", - "2a02:26f7:c109::/42": "20940", - "2a03:db80:4c84::/48": "5501", - "240a:60:f000::/44": "9605", - "2001:253:110::/48": "142076", - "2001:559:45e::/48": "7922", - "2408:8459:1a50::/39": "17816", - "2a0b:6240::/29": "197637", - "2402:800:3a2b::/41": "7552", - "2402:5300:710::/36": "45903", - "2604:1d40:200::/48": "30612", - "2800:160:1807::/43": "14259", - "2a02:26f0:e401::/39": "20940", - "2a0d:7a00::/29": "205145", - "2402:f180:1::/48": "9293", - "240a:a69c::/32": "144342", - "2a0e:a880::/36": "51561", - "2a0f:8f80::/29": "43414", - "240e:108:8d::/48": "137693", - "240e:950::/36": "137693", - "2603:c001:2010::/37": "31898", - "2804:285c::/32": "263958", - "2804:6ea0:8030::/34": "270609", - "2804:7de4::/32": "271589", - "2a0e:240::/29": "209993", - "2001:4888:8062::/47": "6167", - "2405:7f00:3250::/48": "9716", - "2804:187c:8130::/33": "262673", - "2a02:26f7:e784::/48": "36183", - "2a02:26f7:ea08::/48": "36183", - "2a09:e681::/32": "201702", - "2400:7400:e020::/48": "38044", - "2401:d800:bef0::/39": "7552", - "240a:ad71::/32": "146091", - "2804:2d08::/32": "265258", - "2a02:26f7:b749::/42": "20940", - "2001:67c:16b8::/48": "25166", - "2a00:c5e0::/32": "198399", - "2a02:26f7:e945::/46": "20940", - "2a02:c6c2::/31": "58061", - "2804:4e50::/32": "268253", - "2001:ee0:e300::/37": "45899", - "2604:f400:11::/48": "32654", - "2a02:26f7:e281::/46": "20940", - "2602:808:7000::/44": "14618", - "2605:a401:86cd::/43": "33363", - "2001:1248:a4f4::/39": "11172", - "2405:5500::/32": "54187", - "2600:9000:11d4::/47": "16509", - "2804:351c:1112::/32": "266269", - "2a02:26f7:e8c8::/48": "36183", - "2a02:27e8::/32": "51708", - "2a0d:c040::/29": "210081", - "2001:678:b90::/48": "35407", - "2001:67c:1810::/48": "62392", - "2001:694::/48": "207969", - "2402:8100:3031::/45": "55644", - "2605:5c0:40::/44": "26517", - "2610:1e0::/35": "3714", - "2a02:2638:5::/48": "44788", - "2001:1938:2::/44": "12989", - "2001:448a:6110::/35": "7713", - "2402:800:41e7::/44": "7552", - "2804:1b3:6f42::/32": "18881", - "2804:ad4:d100::/34": "52925", - "2001:df0:411::/48": "17439", - "2001:b031:ae00::/30": "3462", - "2404:c0:31a0::/38": "23693", - "2406:e780:eb0::/48": "63678", - "2605:7fc0::/32": "395846", - "2620:121:d000::/44": "19108", - "2620:149:5b6::/41": "714", - "2001:67c:2808::/48": "197678", - "2001:fd8:2a8::/39": "4775", - "2a00:1308::/32": "16138", - "2001:d50::/32": "7665", - "2406:2000:a9::/41": "10310", - "2408:8956:5000::/40": "17622", - "2a0d:6780::/29": "200899", - "2001:dce:5301::/34": "23869", - "2408:84f3:a410::/42": "134543", - "2604:d600:620::/47": "32098", - "2a02:26f7:ed00::/48": "36183", - "2a04:d480:2400::/35": "25291", - "2001:559:c0d8::/48": "33662", - "2804:10bc::/37": "263646", - "2a0c:3500:3::/48": "42989", - "2a0d:9f40::/29": "204326", - "2409:8904:a340::/37": "24547", - "240a:a3b3::/32": "143597", - "2607:fb08::/45": "32703", - "2620:114:3002::/48": "54391", - "2806:1018:cbff:100::/48": "8151", - "2a02:b18::/32": "35339", - "2a04:4e40:a400::/48": "54113", - "2402:800:9a47::/43": "7552", - "240e:438:1420::/43": "140647", - "2804:14c:4785::/41": "28573", - "2a03:3f40:8a::/32": "50673", - "2a03:e140:35::/48": "56674", - "2a0d:4940::/29": "197706", - "2001:559:c22f::/48": "7922", - "2001:1940::/32": "21947", - "2604:4d40:eff::/48": "213073", - "2001:559:2f::/48": "33491", - "2001:818::/29": "12353", - "2400:adc1::/30": "9541", - "2606:2800:357::/44": "15133", - "2607:f380:a69::/32": "2152", - "2803:7da0:a::/48": "64114", - "2a07:a300::/30": "46723", - "2001:559:c047::/44": "7922", - "2605:a401:884a::/40": "33363", - "2804:3b2c:9000::/33": "266133", - "240a:a4b5::/32": "143855", - "240e:698:2400::/40": "134768", - "2605:9d80:a011::/48": "36678", - "2610:130:1d00::/34": "6122", - "2804:1450::/32": "262861", - "2804:7588::/32": "271053", - "2a02:ce80::/46": "200183", - "240e:438:1820::/43": "140647", - "2604:4d40:70ae::/48": "399196", - "2606:6c00:ffff::/48": "32787", - "2620:114:3000::/48": "54391", - "2800:160:1770::/45": "14259", - "2a02:1370::/32": "39324", - "2620:cc::/48": "40816", - "2001:559:c161::/46": "7922", - "2409:8d06::/28": "9808", - "2804:6d30::/32": "262831", - "2a0b:b87:ffe1::/48": "204994", - "2001:4168::/32": "31424", - "2001:b400:d410::/36": "3462", - "240a:a326::/32": "143456", - "2606:3a80:800::/48": "36007", - "2803:bc40::/32": "52468", - "2a01:94c0::/32": "31370", - "2a03:38a0::/32": "60781", - "2408:8256:318a::/48": "17816", - "240a:a1a7::/32": "143073", - "2602:805:6000::/48": "36127", - "2602:fcd7::/36": "6939", - "2a0d:a280::/29": "206487", - "2001:4d18::/48": "39543", - "2001:480:aa::/48": "5132", - "2001:559:3e3::/45": "33662", - "2001:559:470::/48": "7922", - "2406:e001:a000::/33": "23655", - "240a:a7f9::/32": "144691", - "2a07:e00:bb::/45": "210083", - "2001:418:c06::/48": "262", - "2403:ac80:89::/32": "4785", - "2001:420:4488::/32": "109", - "2001:14c8::/32": "16128", - "2401:df40:2::/48": "38001", - "2804:2d1c::/32": "265262", - "2a00:1288::/41": "10310", - "2a02:e982:53::/48": "19551", - "2800:5b0::/32": "27975", - "2806:230:203c::/48": "265594", - "2a00:1728:d::/48": "198228", - "2a06:1287:330e::/47": "206499", - "2a0b:7dc0::/32": "205494", - "2409:8027:2b07::/32": "9808", - "2606:b400:8824::/46": "14506", - "2a00:4802:270::/40": "13124", - "2001:480:1671::/34": "668", - "2001:df2:7b80::/48": "138530", - "240a:ad97::/32": "146129", - "2804:10c8:caff::/34": "263649", - "2409:8070:2c00::/35": "9808", - "2803:8800::/32": "28022", - "2a02:a58::/32": "8953", - "2a02:26f7:e1c8::/48": "36183", - "2c0f:f448::/39": "327880", - "2001:67c:2f64::/48": "34393", - "2401:d800:3d0::/37": "7552", - "2602:ffdf:400::/36": "63060", - "2a06:f980::/29": "174", - "2001:559:243::/48": "21508", - "2001:559:356::/47": "7015", - "2001:df0:96::/48": "45770", - "240a:a50c::/32": "143942", - "240e:981:8100::/36": "4134", - "2600:380:9400::/39": "20057", - "2a09:4c2:2f::/48": "58133", - "2a0c:5247:3000::/36": "59504", - "2408:870c:10::/44": "17621", - "2408:8956:2a40::/40": "17622", - "2409:8053:1802::/40": "56047", - "240a:acd4::/32": "145934", - "2602:fdb8:1f0::/44": "394151", - "2a01:8840:ba::/45": "12041", - "2a0d:2587::/32": "211398", - "2001:16d8:60::/45": "16150", - "2604:ef00::/32": "18988", - "2a01:52c0::/32": "15644", - "2a0b:aa00::/29": "20811", - "2402:fa00:6000::/32": "55359", - "2405:4803:40a::/36": "18403", - "2602:feb4:190::/44": "25961", - "2a0c:1680::/29": "15874", - "2001:550:a01::/48": "18640", - "2409:8753:d00::/38": "56047", - "2804:ef4:5402::/38": "28642", - "2a0a:c840::/31": "205394", - "2001:3c8:9008::/48": "4621", - "240a:a1e3::/32": "143133", - "240a:aa70::/32": "145322", - "2c0f:f8c0::/32": "37529", - "2001:67c:1288::/48": "29560", - "2001:44b8:6060::/45": "7545", - "2409:8704:7d00::/32": "24547", - "240a:a754::/32": "144526", - "2806:2f0:2484::/43": "22884", - "2a0c:2c00::/29": "205266", - "2a0e:ce40::/29": "209411", - "2604:f400:4800::/37": "29930", - "2a00:8a01::/44": "10455", - "2a05:5cc0::/29": "57877", - "2a0b:b87:ffee::/48": "213361", - "2a01:9c80::/29": "35805", - "2001:67c:2eb4::/48": "207372", - "2401:fa00:42::/43": "24424", - "2402:28c0::/46": "136620", - "2403:a000::/32": "9658", - "2405:1c0:6835::/41": "55303", - "240a:a931::/32": "145003", - "2620:8:8200::/48": "54282", - "2a0b:6800:1::/46": "42695", - "240a:a54f::/32": "144009", - "2600:6c39:9::/45": "20115", - "2a01:4b40:3000::/36": "21299", - "2405:1c0:7f11::/46": "135062", - "2803:c800::/33": "23243", - "2804:45b0::/32": "266943", - "2804:4bc8::/32": "267329", - "2001:c20:c824::/46": "9255", - "2001:44b8:3083::/48": "4739", - "2403:e200:1e::/37": "45543", - "2600:1417:6::/47": "20940", - "2602:fea2:1::/46": "40680", - "2001:559:3f0::/48": "7922", - "2804:14d:8471::/40": "28573", - "2a0f:4ac0::/35": "207921", - "2804:1040::/33": "263626", - "2a04:2b00:100::/48": "42044", - "2a07:c100::/29": "202398", - "2a0d:2406:200::/39": "64425", - "2401:8d00:2::/48": "24149", - "2c0f:f440::/32": "5713", - "2001:550:2210::/48": "397601", - "2001:fb1:fe1::/34": "17552", - "240e:109:8042::/48": "58466", - "2600:1406:2601::/36": "20940", - "2603:90f5:e::/48": "20115", - "2801:11:4000::/48": "10753", - "2804:5864::/32": "268126", - "2600:6c38:31c::/42": "20115", - "2604:b840::/32": "397732", - "2a07:5740::/31": "44901", - "2a0f:9400:802a::/48": "20473", - "2001:df5:4c00::/48": "132711", - "2402:800:57c5::/43": "7552", - "2406:e640::/48": "140766", - "2c0f:f0f8::/32": "36924", - "2001:913:5000::/36": "209090", - "240a:a84d::/32": "144775", - "2620:0:c12::/45": "22317", - "2804:5534::/37": "268696", - "2806:370:5600::/40": "28403", - "2a00:fc00:e001::/46": "3255", - "2409:805e:1900::/34": "9808", - "240a:af85::/32": "146623", - "2a06:1e00:60::/48": "60695", - "2a02:16d8:103::/48": "15133", - "2001:df0:301::/48": "18402", - "2402:a300:8000::/45": "55427", - "2404:7ac0:660::/44": "4842", - "240a:aafc::/32": "145462", - "2600:1480:9801::/37": "20940", - "2600:1f14::/35": "16509", - "2806:2f0:5081::/42": "17072", - "2a02:2110::/32": "57910", - "2a02:26f7:e7c9::/46": "20940", - "2001:df4:fc00::/48": "136557", - "2403:fa40:1::/48": "38001", - "2409:8915:2a00::/40": "56044", - "2409:8c28:a3c1::/33": "56041", - "240a:a474::/32": "143790", - "2800:5f0:2034::/46": "22724", - "2a0e:e704:60::/44": "212469", - "240a:afae::/32": "146664", - "240e:473:3d50::/40": "4134", - "2a05:f507:d::/42": "13443", - "2001:67c:2468::/48": "48894", - "2001:13c7:7014::/48": "28504", - "2001:4bb8::/29": "8447", - "2404:8c80::/32": "55933", - "2404:b180::/32": "135310", - "2600:140f:b001::/37": "20940", - "2602:80b:5000::/47": "18792", - "2a0b:6e80::/29": "30745", - "2001:500:7d::/48": "42", - "2001:678:704::/48": "3246", - "240e:3b5:2200::/37": "136198", - "2806:230:6013::/48": "11888", - "2a01:8840:4a::/45": "12041", - "2a09:1200::/29": "39182", - "2a0c:a80::/29": "200000", - "2a02:20f8::/32": "34510", - "240e:44d:3480::/41": "4134", - "2a02:ee80:4083::/42": "3573", - "2a0c:1480::/29": "16353", - "2001:559:848c::/48": "7015", - "2001:67c:19a4::/48": "51815", - "2806:230:5002::/48": "265594", - "2a05:8900:28::/48": "199159", - "2a0a:4e83:ae40::/48": "206074", - "2a05:2180::/29": "20661", - "2001:678:a5c::/48": "209075", - "2001:67c:2b78::/48": "59516", - "2001:df0:2a7::/48": "55697", - "2403:0:117::/44": "4755", - "2408:8956:a500::/40": "17816", - "2804:673c:1000::/40": "264598", - "2806:2f0:2181::/46": "22884", - "2a0c:7ac0::/29": "203215", - "240a:abeb::/32": "145701", - "2800:3b0:10ff::/48": "6429", - "2804:d7c::/39": "52634", - "2001:559:8149::/48": "7922", - "2404:1c00::/32": "55454", - "240a:af22::/32": "146524", - "240a:ac71::/32": "145835", - "2602:102:1016::/48": "20115", - "2604:5400:8000::/37": "11776", - "2803:6900:1514::/48": "52423", - "2804:2bc::/32": "262832", - "2804:7d64::/32": "271558", - "2a11:4e00::/36": "213042", - "2001:418:1420:300::/44": "2914", - "2001:1b70:b3::/48": "6461", - "2001:4878:8321::/45": "12222", - "2800:160:1623::/44": "14259", - "2804:3d90::/32": "266539", - "2804:4284::/38": "267505", - "2a0c:9a40:8083::/48": "49367", - "2001:559:c118::/48": "33657", - "2407:2bc0::/32": "136380", - "2409:8060:100::/36": "9808", - "2600:1417:41::/48": "24319", - "2a00:8860:500::/40": "207134", - "2a01:758::/48": "15785", - "2001:978:2204::/39": "174", - "2001:fd0:e::/40": "10029", - "2001:4830:c211::/39": "27552", - "240e:978:4100::/36": "4134", - "2605:3380:4171::/40": "12025", - "2804:350c::/32": "265497", - "2001:8a0::/32": "3243", - "2402:bd80::/32": "47787", - "2a05:37c0::/29": "48091", - "2a05:c200::/29": "201050", - "2a10:7080::/48": "41955", - "2800:160:1676::/44": "14259", - "2804:74e8::/32": "271011", - "2001:4408:7c01::/40": "4758", - "2a04:4e40:e000::/48": "54113", - "2a0c:2f40::/30": "59829", - "2001:460:104::/32": "3561", - "2405:6400:5000::/32": "23678", - "2804:1e38:f000::/36": "264415", - "2a05:2500::/32": "31586", - "2401:c680:2::/44": "133854", - "2001:df2:4100::/48": "132304", - "240a:ad87::/32": "146113", - "2600:6c38:202::/42": "20115", - "2804:14d:5c5f::/40": "28573", - "2a03:b000::/40": "42695", - "2001:559:15c::/48": "7922", - "2001:559:c242::/48": "33651", - "2806:2f0:21e1::/43": "22884", - "2402:800:51ee::/38": "7552", - "2405:ff00::/32": "132519", - "240a:a58e::/32": "144072", - "2606:6680:4::/48": "40676", - "2804:257c::/32": "52716", - "2001:19f8:211::/48": "26402", - "2403:5700::/47": "2497", - "2602:feda:b60::/46": "146950", - "2804:c2c::/32": "28191", - "2001:df6:ca00::/48": "136026", - "2600:e00f:4000::/45": "22995", - "2602:fd92:633::/48": "142634", - "2804:14d:8e00::/40": "28573", - "2804:2844:8000::/33": "263951", - "2a02:2108::/32": "43284", - "2a03:7ae0::/32": "200846", - "2001:468:2809::/126": "11537", - "2001:559:8709::/48": "33668", - "2408:862a:9200::/34": "139007", - "2804:407c::/32": "265962", - "2a01:358:401a::/47": "9121", - "2a01:8600::/32": "8636", - "2408:8459:4630::/41": "17622", - "240e:438:8a20::/43": "140647", - "2a00:1288:89::/39": "10310", - "2c0f:fb88::/32": "37143", - "2001:559:2fa::/48": "7015", - "2001:b400:f208::/45": "17421", - "2a06:45c0::/32": "200425", - "2403:cc00:3000::/36": "20860", - "2405:1c0:6611::/45": "135062", - "2604:f980:4300::/44": "19957", - "2a00:b8e0::/48": "29119", - "2a02:26f7:d984::/48": "36183", - "2001:678:938::/48": "29608", - "240a:a015::/32": "142671", - "2602:ffba::/36": "40761", - "2402:af00::/32": "38719", - "2404:ae00:12::/47": "45474", - "2804:6164:8000::/34": "262424", - "2a02:26f7:cb88::/48": "36183", - "2604:4340::/32": "32647", - "2a02:26f0:8a00::/48": "34164", - "2001:559:83cb::/48": "33657", - "2402:800:352b::/41": "7552", - "240a:a49f::/32": "143833", - "2a0f:df00:dead::/48": "41281", - "2001:c20:4860::/45": "3758", - "2602:fdc2:55::/48": "397720", - "2804:13d0:9a40::/33": "263297", - "2804:6268::/32": "269295", - "2a03:2880:f06b::/45": "32934", - "2001:4490:3fe4::/44": "9829", - "2408:80ea:62c0::/42": "17622", - "2804:5c::/32": "28201", - "2a0e:aa07:f093::/45": "208884", - "2804:1b2:d000::/39": "18881", - "2001:559:c00e::/47": "33651", - "240a:a109::/32": "142915", - "240a:a518::/32": "143954", - "240a:ab0e::/32": "145480", - "2804:28a8::/32": "263973", - "2a00:6f00::/32": "31273", - "2a0d:82c7:6::/35": "47787", - "2001:1248:845d::/42": "11172", - "2408:8656:1800::/34": "17816", - "2a03:a100::/32": "56635", - "2401:ff80:1c05::/44": "133954", - "2603:c002:1310::/37": "31898", - "2801:80:2510::/48": "268507", - "2a00:eec0::/32": "3292", - "2408:8256:1666::/39": "17622", - "2804:ce8::/32": "52574", - "2408:840c:2b00::/40": "17621", - "2408:8459:8a30::/41": "17622", - "2801:1f0:4050::/44": "3573", - "2001:418:2401:2::/60": "2914", - "240a:a151::/32": "142987", - "2001:559:4c6::/44": "7922", - "2401:8640::/32": "23884", - "2408:8957:3e00::/40": "17622", - "2409:8a50:300::/37": "56047", - "2600:6c10::/29": "20115", - "2607:f830::/32": "1998", - "2a07:2280::/29": "48909", - "2603:c002:1010::/38": "31898", - "2620:117:80::/48": "10564", - "2800:ba0:16::/48": "263812", - "2804:145c:81d0::/36": "263327", - "2a00:d08::/32": "48218", - "2a0e:8f02:2100::/46": "211870", - "2a0e:b107:30::/48": "209650", - "2001:559:4ab::/48": "33287", - "2409:8051:2c00::/38": "9808", - "2001:57a::/39": "22773", - "2001:dd8:1f::/48": "56088", - "2a02:26f7:89::/48": "20940", - "2001:559:86bf::/41": "7725", - "2001:559:877c::/48": "33287", - "2404:e801:200f::/43": "55430", - "2404:f4c0:ff04::/48": "139247", - "2600:1408:ac01::/38": "20940", - "2804:fc0::/32": "263601", - "2804:4d04::/32": "267407", - "2a02:26f7:ae::/48": "36183", - "2a0c:c181::/32": "46844", - "2001:df5:e780::/48": "141642", - "2403:cc0::/32": "131314", - "2409:8050:800::/47": "56047", - "2620:a7::/48": "17172", - "2a0f:5880::/29": "204860", - "2600:140b:7c00::/48": "31109", - "2a10:1cc0::/48": "57330", - "2c0f:f748:10d::/32": "37662", - "2604:8c0::/32": "209", - "2001:678:b60::/48": "12496", - "2001:1248:57f2::/44": "11172", - "2405:4803:dd98::/34": "18403", - "240a:aba2::/32": "145628", - "2800:160:2034::/41": "14259", - "2804:48e0::/32": "267150", - "2a03:88c0::/32": "9150", - "2001:1af0:9020::/48": "43009", - "2409:8a51:500::/38": "56047", - "240a:afb9::/32": "146675", - "240e:6bb:2000::/36": "140316", - "2804:10e8:1003::/33": "263655", - "2a0e:97c0:1a1::/48": "211868", - "2a0c:b540::/32": "62188", - "2402:800:32c5::/43": "7552", - "240e:5a:4a80::/34": "4134", - "240e:3b0:1200::/39": "4134", - "2803:5200:1000::/36": "28319", - "2a00:1080::/32": "43646", - "2a06:c300::/29": "197660", - "2a09:4740::/48": "44364", - "2402:8100:2012::/41": "45271", - "2605:ed40::/32": "31998", - "2001:559:80af::/48": "33491", - "2a00:4b80::/48": "43833", - "2a01:cb00::/26": "3215", - "2a02:fec0::/29": "58173", - "2a0a:7700::/29": "206984", - "2001:559:c301::/48": "33491", - "240a:aacf::/32": "145417", - "2804:e30:418::/38": "11338", - "2804:79d8::/32": "271331", - "2001:f20:3000::/46": "9875", - "2800:bf0:82d1::/42": "27947", - "2600:1417:3000:300::/48": "24203", - "2602:240::/28": "46375", - "2800:bf0:8000::/44": "52257", - "2804:2554::/32": "264274", - "2a00:8a02:10::/44": "200656", - "2001:559:71c::/48": "20214", - "2001:678:4c0::/48": "41948", - "2806:1070:ceff::/62": "8151", - "2a03:2480:8010::/44": "200107", - "2a0d:5642:104::/48": "35487", - "2804:e30:1c00::/38": "11338", - "2a0b:2281::/29": "43685", - "2402:ce80:3::/48": "133005", - "240a:a067::/32": "142753", - "2604:d600:1603::/43": "32098", - "2a04:8d40::/29": "50304", - "2a10:7b40::/29": "9186", - "2804:190::/38": "53165", - "2001:67c:754::/48": "204254", - "2001:1a11:85::/46": "8781", - "2401:d800:190::/42": "7552", - "2408:8456:3400::/41": "17623", - "240c:6:4::/28": "45275", - "2600:380:7d80::/32": "20057", - "2803:7200:8012::/45": "27696", - "2804:22f0::/32": "264133", - "2a02:26f7:c545::/46": "20940", - "2a04:92c7:16::/48": "49981", - "2a04:d900::/29": "8470", - "2c0f:f980:7000::/32": "33763", - "2804:7bf4::/32": "271465", - "2a04:e8c0::/29": "44486", - "2620:1f:4000::/48": "14086", - "2804:74d4::/32": "271006", - "2a01:5a8::/47": "8866", - "2402:800:3afe::/39": "7552", - "2402:800:5de0::/44": "7552", - "2804:37f0:c100::/35": "266445", - "2a02:26f7:e680::/48": "36183", - "2a09:7d40:9::/32": "209382", - "2a0b:4d07:901::/48": "44239", - "2402:b8c0::/32": "55966", - "2404:200::/32": "7672", - "240e:473:5c00::/41": "140485", - "2600:1009:b0f0::/44": "22394", - "2605:b380::/32": "13333", - "2a0a:4f80::/32": "206281", - "2001:df2:e200::/48": "133661", - "2403:c00:900::/45": "17488", - "2602:feb2:80::/36": "62492", - "2605:b9c0::/34": "30705", - "2800:4b0:880d::/46": "12252", - "2803:e600:bc00::/33": "18809", - "2a02:f38:3::/48": "8422", - "2a0b:59c0::/31": "204945", - "2001:4490:d8c0::/46": "9829", - "2400:dcc0:a304::/37": "38631", - "240a:a1e6::/32": "143136", - "240a:a8b5::/32": "144879", - "2a0b:6b86:f00::/48": "211387", - "2a0c:c8c0::/47": "202315", - "2a02:26f0:b401::/39": "20940", - "2401:d800:930::/41": "7552", - "2401:d800:5510::/42": "7552", - "2408:8456:c840::/40": "17816", - "240a:a59a::/32": "144084", - "2620:107::/40": "11318", - "2800:a0::/29": "6057", - "2803:6900:1500::/47": "52423", - "2a03:a860:53::/48": "397192", - "2a04:e800:5020::/48": "57976", - "2804:29f4::/37": "264047", - "2001:90c::/30": "12618", - "2001:1838:6005::/32": "23352", - "2408:8456:6240::/39": "17816", - "240e:438:1040::/38": "4134", - "2600:1480:c100::/36": "20940", - "2607:fa70:2490::/32": "19855", - "2804:14d:8e8e::/41": "28573", - "2804:5db8::/32": "268988", - "2001:a17::/32": "204679", - "2600:9000:20b5::/41": "16509", - "2804:2214:8008::/46": "28177", - "2804:8330::/32": "272182", - "2a00:9480::/32": "34578", - "2409:8053:900::/37": "9808", - "240a:ab99::/32": "145619", - "2a0a:1240:1100::/32": "12440", - "2602:fef4:200::/48": "54721", - "2001:520:105a::/48": "8103", - "2001:678:428::/48": "24642", - "2400:5280:fc00::/38": "63199", - "2403:300:a0b::/48": "714", - "240a:acb1::/32": "145899", - "240e:44d:1280::/41": "4134", - "2600:1003:b840::/42": "6167", - "2610:a1:30fc::/48": "397228", - "2801:80:13a0::/48": "264080", - "2804:7ab4::/39": "271387", - "2001:1388:5988::/37": "6147", - "2620:10a:80d4::/48": "27299", - "2800:160:116f::/43": "14259", - "2804:26cc::/32": "263858", - "2804:6fc8:8000::/37": "270684", - "240a:a44b::/32": "143749", - "2803:ff20::/32": "262186", - "2a02:26f0:7901::/38": "20940", - "2a03:ad40:140::/48": "199349", - "2a0d:c740:3c::/48": "197226", - "2a0d:cc80::/29": "59493", - "2001:559:8107::/48": "7725", - "2402:1300::/36": "38716", - "2a01:3e0:402::/48": "34164", - "2a02:4bc0::/32": "20618", - "240a:a9f5::/32": "145199", - "2804:3304::/32": "265111", - "2a00:50e0::/48": "41858", - "2a0a:3d00::/48": "1836", - "2402:800:589b::/41": "7552", - "2406:840:edd0::/48": "38173", - "2a02:b50::/34": "15570", - "2a02:26f0:4601::/39": "20940", - "2a02:26f7:b984::/47": "36183", - "2001:df6:3380::/48": "141884", - "2600:1003:f450::/36": "22394", - "2a00:c2c0:ffff::/48": "46844", - "2a03:1e80:ff6::/47": "8767", - "2a0e:97c5:6a0::/46": "20473", - "2001:678:acc::/48": "60404", - "2001:bf7:fc10::/38": "44194", - "2001:2004::/28": "1299", - "2804:52f4:a50::/42": "268552", - "2a02:2278:fffd::/46": "59613", - "2a0a:2340::/30": "46723", - "2400:cb00:a940::/47": "13335", - "2400:dd02:100b::/43": "7497", - "240a:a3ea::/32": "143652", - "240e:3b8:2200::/37": "136198", - "2a00:c40::/32": "34315", - "2a02:ea0::/29": "16218", - "240a:ad6c::/32": "146086", - "240e:438:6840::/38": "4134", - "2620:49:8080::/48": "7046", - "2620:13b:d003::/44": "46691", - "240e:679:8800::/38": "140330", - "2602:808:a003::/45": "16509", - "2605:a401:8089::/46": "33363", - "2a02:1c8::/47": "24955", - "2001:559:803b::/48": "26419", - "2001:13c7:7004::/48": "263779", - "240a:60:f010::/44": "9605", - "2406:7400:70::/45": "24309", - "240e:473:5400::/41": "140485", - "2606:fc00::/32": "12097", - "2804:20c0::/32": "264512", - "2a02:26f7:df00::/48": "36183", - "2a09:be40:b200::/40": "34641", - "2a0b:b87:ffe2::/48": "205036", - "2804:328::/32": "262868", - "2001:559:86c9::/48": "20214", - "2001:678:e24::/48": "212717", - "2001:4b98:dc7::/32": "29169", - "2408:8956:2ac0::/39": "17816", - "2409:8051:2002::/40": "56047", - "240a:a753::/32": "144525", - "2600:8807:ac00::/35": "22773", - "2a11:580::/29": "62206", - "2401:d800:f4d0::/42": "7552", - "2402:8200::/32": "9790", - "2404:c140:154::/47": "138997", - "2605:9380::/32": "32614", - "2800:160:1f1f::/42": "14259", - "2a10:f5c0::/29": "211357", - "2001:559:8366::/47": "7015", - "2001:1248:9a7f::/40": "11172", - "2a03:5640:f561::/36": "2906", - "2a09:5940::/29": "209304", - "2a0e:b107:1480::/48": "57401", - "2a0e:ac00::/32": "48447", - "2001:668:118::/45": "3257", - "2402:800:9671::/40": "7552", - "240a:a67c::/32": "144310", - "240a:aa1f::/32": "145241", - "2607:ff60:4::/43": "3900", - "2804:3bcc::/35": "266171", - "2001:559:163::/48": "33652", - "2001:559:8280::/48": "7016", - "2001:559:c215::/46": "7922", - "2402:3a80:1ee3::/43": "38266", - "240a:a124::/32": "142942", - "2607:f110:e810::/38": "21889", - "2a02:26f7:a7::/48": "20940", - "2a00:4980::/42": "33848", - "2a02:26f7:db0c::/48": "36183", - "2a04:4e40:b000::/48": "54113", - "2a0a:6640::/29": "42658", - "2001:559:c0ce::/48": "33287", - "2400:1701::/32": "4765", - "2407:a3c0::/32": "136742", - "2803:7820:8000::/45": "267708", - "2806:1070:402::/32": "8151", - "2a04:4e40:3810::/41": "54113", - "2800:810::/39": "27747", - "2804:55b4::/32": "267951", - "2a00:13c8:4::/32": "25291", - "2a0d:1100::/29": "200000", - "240a:a5fd::/32": "144183", - "240a:aa28::/32": "145250", - "2a02:24d0::/32": "43545", - "2a06:eac0::/29": "48854", - "2001:480:631::/35": "668", - "2001:559:445::/48": "7016", - "2001:650:cc03::/29": "28748", - "240a:ae0f::/32": "146249", - "2604:10c0:ffff::/48": "40034", - "2610:a1:2016::/48": "19905", - "2804:17b4::/32": "263166", - "2a07:1e00::/32": "197686", - "2610:190:df00::/40": "62", - "2a00:dd8:2::/32": "31012", - "2a02:26f0:301::/37": "20940", - "2a0e:97c5:41c::/46": "20473", - "2001:b400:d408::/45": "17421", - "2a06:941::/48": "202958", - "2a0b:b9c0::/32": "45040", - "2408:8256:327d::/46": "17623", - "2409:8002:2900::/31": "9808", - "240a:a95e::/32": "145048", - "2806:10b8::/32": "8151", - "2a02:26f7:ec10::/48": "36183", - "2402:a000::/32": "24211", - "240a:a734::/32": "144494", - "240a:a9fa::/32": "145204", - "2800:5f0:3001::/42": "22724", - "2a04:2f00::/29": "60256", - "2a07:22c1:c002::/48": "207649", - "2001:559:1e5::/48": "33491", - "2804:14c:7d91::/41": "28573", - "2804:5a5c:6000::/35": "268768", - "2001:559:72::/48": "7725", - "2001:44b8:30ce::/48": "7545", - "2405:fd80:f0::/38": "135391", - "240a:a24c::/32": "143238", - "2a02:c6c1:2::/48": "58061", - "2a0e:97c5:614::/46": "20473", - "2001:67c:828::/48": "210833", - "240a:a2bf::/32": "143353", - "2803:f00::/47": "262182", - "2804:65ec:800::/32": "269523", - "2c0f:f708::/32": "327693", - "2001:559:8733::/45": "7922", - "240a:abfd::/32": "145719", - "240e:44d:7800::/41": "140345", - "2804:454c::/32": "266917", - "2804:4870::/39": "267121", - "2a00:5641::/32": "13030", - "2a0b:f380::/48": "49544", - "2402:800:360f::/43": "7552", - "2402:800:5cc5::/43": "7552", - "2409:8087:6c60::/35": "9808", - "2606:e400::/34": "26271", - "2001:67c:140::/48": "48344", - "240a:af9d::/32": "146647", - "240e:964:9400::/39": "133776", - "2a02:f540::/30": "15692", - "2a04:2200::/31": "60955", - "2a10:a500::/32": "205920", - "2404:f4c0:f944::/48": "142551", - "2405:6e00:f850::/48": "133612", - "240a:ae2f::/32": "146281", - "240e:982:b000::/40": "58461", - "2a02:128:7::/48": "50245", - "2a10:4080::/29": "398559", - "2001:67c:20b0::/48": "49342", - "2408:80c2::/33": "4837", - "2804:25c4::/32": "264301", - "2804:6a4c::/32": "270325", - "2400:8b00:b80::/42": "45727", - "2408:840d:f00::/42": "17621", - "2804:1434::/32": "262492", - "2a00:4802:3810::/37": "13124", - "2404:e4c0:5105::/48": "54201", - "2604:6980:1b0::/47": "26787", - "2a04:6400::/35": "62240", - "2001:b08:a::/48": "29147", - "2408:8459:aa50::/37": "17816", - "2804:18fc::/32": "61767", - "2407:4240::/46": "136678", - "2804:6174::/32": "269235", - "2806:230:6007::/48": "11888", - "2a07:fc0::/29": "203322", - "2a0a:3400::/29": "20473", - "2a0b:b8c0::/31": "60405", - "2a0c:88c0::/46": "202344", - "240a:af7e::/32": "146616", - "2a10:2f00:124::/48": "205635", - "2001:480:421::/48": "518", - "2400:4500::/32": "24167", - "2803:7760:400::/32": "269829", - "2803:77c0::/32": "52290", - "2001:559:5f4::/48": "7922", - "2600:3000:1512::/36": "13649", - "2a00:a900:6aff::/35": "60819", - "2a01:40e0:2::/48": "34012", - "2a0d:1dc0::/29": "197706", - "2001:67c:12f4::/48": "205969", - "2001:1a11:10::/47": "42298", - "2401:d800:a000::/35": "7552", - "240e:473:b050::/39": "4134", - "2801:1bc::/44": "27951", - "240a:ae83::/32": "146365", - "2600:1002:b130::/40": "22394", - "2603:7000::/28": "12271", - "2620:11a:a01d::/46": "43515", - "2804:14c:75a8::/46": "28573", - "2804:5300::/32": "268556", - "2409:8904:5f40::/42": "24547", - "2804:1168:2000::/32": "52904", - "2606:2800:4a5c::/46": "15133", - "2620:6:2004::/44": "395460", - "2804:2a9c::/32": "264084", - "2a01:c50e:e200::/37": "12479", - "2a04:92c1:7::/30": "62240", - "2001:559:815a::/48": "7015", - "2001:67c:98::/48": "15600", - "2600:100d:bf0e::/33": "22394", - "2605:6580::/32": "1832", - "2620:10d:2000::/41": "103", - "2801:12:e800::/48": "271885", - "2806:2f0:20c4::/43": "22884", - "2a00:e08::/32": "16175", - "2001:67c:2b58::/48": "41980", - "2405:1200::/29": "9824", - "2408:8459:6410::/42": "17623", - "240a:a56e::/32": "144040", - "2600:6c38:855::/44": "20115", - "2607:f518:2009::/46": "46887", - "2804:778::/32": "262411", - "2401:d800:d620::/41": "7552", - "240e:44d:3500::/41": "140345", - "2604:6880::/32": "7040", - "2804:30b8:caef::/43": "28154", - "2a02:2ab8:130::/38": "702", - "2a07:5940::/32": "43915", - "2001:559:45d::/48": "7725", - "2403:5200::/32": "18049", - "240a:aaa3::/32": "145373", - "2408:8456:6e00::/42": "17622", - "240e:924:4000::/36": "132153", - "2804:14d:dac2::/42": "28573", - "2a00:86c0:1063::/34": "2906", - "2a02:26f7:db::/48": "20940", - "2a0e:8f02:f010::/48": "212331", - "2a02:7aa0:1619::/48": "52173", - "2001:559:132::/48": "7922", - "2001:559:590::/48": "7016", - "2001:6a8:8a01::/35": "2611", - "2001:df3:2c80::/48": "132670", - "2605:340:cd02::/48": "396986", - "2804:5118::/32": "268430", - "2a01:5c0::/32": "42652", - "2001:4268:201::/40": "15964", - "2406:3001:23:2::/30": "4657", - "2406:e000:38a::/43": "23655", - "2804:51a4::/33": "268467", - "2400:9380:94c0::/44": "136167", - "2607:f4a8:200e::/32": "803", - "2800:160:232f::/40": "14259", - "2804:e30:5800::/37": "11338", - "2a01:4bc0:901::/32": "12422", - "240a:a923::/32": "144989", - "2600:1016:a010::/39": "6167", - "2804:82b4::/32": "272535", - "2a02:26f7:bd00::/48": "36183", - "2a07:e342::/32": "49981", - "2402:800:38e0::/44": "7552", - "2402:2000:9001::/33": "24350", - "240a:ad29::/32": "146019", - "2607:d00::/32": "14325", - "2a02:22c8::/48": "42418", - "2001:1a11:65::/44": "42298", - "2400:6280:4::/44": "132280", - "240a:a021::/32": "142683", - "2804:ea0::/33": "52968", - "2804:3f50::/32": "266652", - "2a02:26f7:cfc8::/48": "36183", - "2a02:fc00::/29": "61207", - "2401:7500:200::/40": "133296", - "2401:e300::/32": "23786", - "240e:3b7:d000::/36": "134772", - "2604:cc00:1a::/48": "53292", - "2607:f180::/34": "35908", - "2804:2478::/32": "264224", - "2401:d800:db10::/42": "7552", - "2405:9800:9801::/48": "45430", - "2406:1600:301::/32": "23871", - "2620:10a:8054::/48": "55195", - "2a05:e740:144::/46": "29108", - "2001:559:c282::/48": "33652", - "2001:df0:ee::/48": "55951", - "2404:f4c0:fc20::/48": "208753", - "240e:67e:e600::/31": "4134", - "2800:381:bbbc::/33": "10834", - "2804:2b10:9::/46": "52916", - "2a04:1120::/30": "3257", - "2001:559:279::/48": "33651", - "2605:9d80:a000::/48": "36678", - "2001:559:c1a8::/48": "33662", - "2a0f:ca00:8002::/48": "209907", - "2001:559:56a::/47": "7015", - "2403:e000::/32": "9555", - "240e:2::/31": "4134", - "2001:559:55d::/48": "7015", - "2001:579:c1c::/35": "22773", - "2400:6300::/48": "17825", - "2001:67c:2594::/48": "57496", - "240a:ac1d::/32": "145751", - "2a02:328::/29": "25279", - "2a04:8000::/29": "200000", - "2a09:580::/29": "209715", - "2804:800:ff01::/40": "16509", - "2a00:1288:efc5::/35": "10310", - "2a07:ae80::/29": "48635", - "2001:559:803e::/48": "7725", - "2403:4e00::/38": "45528", - "2001:df3:a300::/48": "137267", - "2400:9700:111::/42": "24550", - "2606:2800:4150::/48": "15133", - "2804:37f0:4900::/34": "266445", - "2a02:26f7:d349::/42": "20940", - "2001:dce:2::/48": "133745", - "2804:204:206::/44": "28186", - "2804:5af8::/32": "268810", - "2a04:4e40:7c00::/48": "54113", - "2a0e:ba40::/29": "207547", - "2401:be00:1::/45": "55641", - "2402:9900:e11::/48": "27435", - "2402:e000:1::/46": "24499", - "2402:e280:3db4::/33": "134674", - "2408:8459:3630::/44": "17623", - "240a:ad82::/32": "146108", - "2620:13d:c004::/48": "395360", - "2a0e:b107:16::/48": "208191", - "2001:1248:8901::/40": "11172", - "2402:800:f050::/42": "7552", - "2406:2000:100::/40": "10310", - "2408:805d:f9::/36": "17623", - "2804:564c::/32": "267989", - "2a01:a500:1229::/34": "42831", - "2a0b:5480::/29": "50599", - "2620:1d0:5e::/47": "397228", - "2803:2e40:10b::/32": "27796", - "2a00:4140::/32": "34766", - "2a02:26f7:e301::/46": "20940", - "2001:4408:6710::/36": "4758", - "2402:800:bb00::/42": "7552", - "240a:a286::/32": "143296", - "2600:1404:1801::/33": "20940", - "2607:4200::/32": "19214", - "2a00:dd80:3e::/47": "36236", - "2a0f:d000::/29": "35048", - "2409:8c15:2800::/40": "9808", - "240a:a655::/32": "144271", - "240a:a74a::/32": "144516", - "2804:3eec::/32": "266629", - "2a0b:33c0:117::/44": "57395", - "2a0b:7140:2::/48": "212228", - "2a10:2f01:290::/44": "212996", - "2404:c400::/37": "9328", - "2408:840c:3400::/40": "17621", - "2803:9800:b88d::/41": "11664", - "2a00:1f28::/32": "43733", - "2405:22c0::/32": "139470", - "2607:f250:d010::/48": "7046", - "2620:11c:8900::/37": "19", - "2803:b9c0:9000::/36": "265705", - "2804:3f4::/32": "262407", - "2a0b:c340::/29": "205477", - "2a0f:9280::/29": "41407", - "2001:678:f5c::/48": "57483", - "2607:f108::/38": "29838", - "2804:41c0::/32": "267454", - "2806:289::/32": "28418", - "2405:9640::/48": "136557", - "2406:840:eab0::/48": "142642", - "2a00:1908:e000::/48": "199491", - "2001:1248:8000::/43": "11172", - "2402:800:38ee::/39": "7552", - "2800:160:2031::/46": "14259", - "2804:81c::/32": "262346", - "2a02:7ae0::/32": "201659", - "2600:1406:33::/45": "20940", - "2a02:26f7:c8c5::/46": "20940", - "2a02:26f7:cec8::/47": "36183", - "2600:1001:a100::/44": "6167", - "2600:1406:44::/47": "20940", - "2600:370f:7369::/40": "32261", - "2603:b0e0:efad::/35": "11796", - "2604:5500::/42": "19165", - "2800:160:12eb::/39": "14259", - "2804:2fc4::/44": "264911", - "2c0f:ee40:3000::/36": "36666", - "2001:df0:c200::/48": "131182", - "2400:ca04:f024::/43": "23688", - "240a:a763::/32": "144541", - "2607:f690::/32": "7029", - "2800:160:1faf::/41": "14259", - "2804:30d8::/32": "264976", - "2a02:26f7:f3c4::/48": "36183", - "240e:108:8f::/48": "137687", - "2001:438:7d::/48": "14427", - "2408:8756:ce0::/39": "136958", - "2620:34:c000::/48": "32031", - "2804:14d:4ce5::/44": "28573", - "2804:2674:e::/47": "264344", - "2001:dc7:dd05::/40": "24151", - "2604:1100:d200::/39": "11911", - "2a00:edc0:1007::/48": "395403", - "2a02:f840:2::/31": "199483", - "2605:af00::/32": "21782", - "2804:c48:d001::/40": "52687", - "2406:e400::/47": "7642", - "240a:a383::/32": "143549", - "2600:3003::/29": "13649", - "2a03:8c00::/32": "39458", - "2001:678:edc::/48": "3246", - "2001:67c:2e04::/48": "21473", - "2406:2400:c0::/48": "45287", - "2620:cd:c000::/48": "32932", - "2803:b780:a::/43": "27742", - "2a01:4e8::/32": "44314", - "2a02:26f0:1::/48": "34164", - "2a0f:3440::/29": "60262", - "2403:140::/32": "134113", - "2602:fd11::/36": "40895", - "2607:f790:fff7::/44": "12129", - "2001:4888:1c::/32": "6167", - "2402:800:f320::/41": "7552", - "2001:67c:1978::/48": "24956", - "2a00:1d08::/32": "13003", - "2a04:5201:2::/48": "200740", - "2a0f:2cc0::/29": "60262", - "2001:67c:6a4::/48": "50370", - "2400:9380:9040::/47": "4809", - "2401:ff80:1989::/46": "133954", - "2406:3400::/43": "10143", - "240e:3bd:7a00::/32": "140313", - "2804:14c:b300::/40": "28573", - "2a00:5400:1235::/32": "35753", - "2401:d800:580::/42": "7552", - "2406:5d40::/47": "141009", - "2001:1248:5638::/45": "11172", - "2001:1960::/46": "5650", - "2401:d800:640::/42": "7552", - "2804:9d4:5104::/47": "262996", - "2404:4a00:6000::/64": "55423", - "2605:4c40::/41": "30081", - "2001:df5:e000::/48": "132885", - "2605:2480::/32": "53454", - "2a06:4a80::/32": "57685", - "2a02:b48:8113::/38": "39572", - "2a0c:32c0::/48": "61183", - "2401:5400:2001::/44": "4434", - "2604:880:222::/43": "29802", - "2806:230:2058::/48": "265594", - "2001:559:3ca::/48": "33657", - "2001:559:84d3::/48": "7016", - "2001:678:7d4::/48": "13045", - "2402:e280:106::/48": "134674", - "2409:8069:2b06::/47": "9808", - "240a:a099::/32": "142803", - "2804:4140::/33": "267423", - "2c0e:7f80:202:3::/40": "36974", - "2a02:26f0:cb00::/48": "9121", - "2a02:26f7:31::/48": "20940", - "2a07:8980::/39": "198651", - "2606:8e80::/48": "394497", - "2a01:8840:c5::/48": "207266", - "2001:a98:101::/33": "8517", - "2402:a300:800b::/36": "55427", - "2804:b14::/32": "52937", - "2a02:26f7:bf48::/48": "36183", - "2a04:5e80::/29": "60243", - "240a:acef::/32": "145961", - "2600:1413:8000::/48": "24319", - "2620:11b:4000::/48": "19210", - "2a00:ac20::/32": "199581", - "2400:cb00:a8f0::/47": "13335", - "2620:56:a000::/48": "46924", - "2a02:26f0:c200::/48": "34164", - "240a:a6f0::/32": "144426", - "2600:1408:7001::/37": "20940", - "2804:6d9c::/32": "270544", - "2a02:26f7:c5c0::/48": "36183", - "2a02:26f7:c901::/46": "20940", - "2a03:ec00:b900::/40": "24921", - "2a0e:97c0:11de::/42": "20473", - "2001:559:c223::/48": "7922", - "2001:559:c22c::/48": "13367", - "240a:a0bc::/32": "142838", - "240e:438:9040::/38": "4134", - "2800:160:1489::/45": "14259", - "2803:5440:aca::/48": "264738", - "2001:67c:184::/48": "25111", - "2400:4b40::/32": "133425", - "2400:8e80::/32": "58451", - "2402:1c80:4000::/32": "133957", - "2405:9800:b010::/47": "133481", - "2804:404c:67::/35": "265950", - "2a02:67e0::/34": "203148", - "2403:1480:9000::/36": "49544", - "2804:7914::/32": "271283", - "2a06:e881:480f::/48": "134666", - "2a10:cb40::/31": "198328", - "2001:c20:48a0::/48": "9255", - "2409:8020:10a1::/43": "56046", - "240a:a0a9::/32": "142819", - "2607:2f00::/43": "12025", - "2a07:1780::/29": "57696", - "2001:559:80a0::/48": "7016", - "2803:9200::/32": "16592", - "2803:d1a0::/32": "267700", - "2a04:2b40::/29": "56515", - "2c0f:ee78:8006::/33": "61317", - "2001:df5:fa80::/47": "141564", - "2001:16a2:4000::/44": "39386", - "2804:117c::/32": "53061", - "2001:559:c1d0::/48": "33287", - "2001:df5:a300::/48": "137925", - "240a:aa6b::/32": "145317", - "240e:97c:1000::/34": "4134", - "2600:1400:e::/43": "20940", - "2605:2800:c300::/48": "11481", - "2404:8d00::/36": "10089", - "2a02:4d0::/32": "8816", - "2001:67c:2ed8::/48": "6766", - "2001:978:4701::/36": "174", - "2401:4900:3100::/41": "45609", - "240a:a42f::/32": "143721", - "240e:108:29::/48": "4134", - "2602:ffc8:6::/39": "20278", - "2804:6d40::/32": "270520", - "2001:200:e000::/39": "7660", - "2404:95c0::/32": "62900", - "2604:4f00::/36": "47002", - "2607:4480:1::/46": "40470", - "2001:4478:1313::/40": "4802", - "2401:9100::/32": "45918", - "2408:8459:c610::/42": "17623", - "2600:1006:f050::/39": "22394", - "2600:1801:7::/43": "16552", - "2801:80:1ca0::/48": "266212", - "2a06:ba00::/48": "34775", - "2409:8944::/28": "24445", - "2620:100:5000::/45": "19557", - "2800:484:5100::/36": "10620", - "2803:6340::/32": "28007", - "2a03:1e84:abf::/48": "1136", - "2a04:4e40:f200::/48": "54113", - "2001:67c:404::/48": "13008", - "2001:67c:1880::/48": "49949", - "2409:805c:4100::/36": "9808", - "2600:370f:7320::/41": "32261", - "2606:bc00::/33": "19419", - "2607:a800:305::/48": "15695", - "2a0a:c9c0::/32": "205818", - "2a01:9f40::/29": "199101", - "2a02:26f7:b7c1::/46": "20940", - "2001:579:cf08::/35": "22773", - "2401:7500:fffa::/45": "133296", - "2405:4cc1::/36": "55891", - "240a:afa6::/32": "146656", - "2600:140b:e::/43": "20940", - "2804:dcc::/32": "28638", - "2a02:26f7:e510::/48": "36183", - "2001:4498::/32": "24218", - "2402:800:5a9b::/42": "7552", - "2604:880:39f::/42": "29802", - "2001:579:e1a4::/43": "22773", - "2001:67c:748::/48": "202188", - "240a:ad69::/32": "146083", - "2a05:fdc0::/35": "42313", - "2a0f:6940::/32": "207881", - "2406:2000:a8::/48": "18293", - "2600:1001:d060::/40": "22394", - "2a02:26f0:4001::/38": "20940", - "2404:ca00::/32": "24295", - "2405:1c0:6553::/42": "55303", - "2405:1c0:6853::/42": "55303", - "240a:ade0::/32": "146202", - "2604:1300::/34": "3833", - "2606:1400::/32": "10732", - "2804:4db0::/34": "268213", - "2001:559:c257::/48": "33662", - "240a:af38::/32": "146546", - "2600:1401:6001::/48": "20940", - "2604:8b80::/48": "55106", - "2804:5130:4000::/32": "268436", - "2a04:5340:2::/48": "201492", - "2a07:1b40::/31": "48804", - "2001:559:c2cb::/48": "33657", - "2402:800:52e0::/44": "7552", - "2a0a:e5c1:500::/38": "207996", - "2a0e:1c40:1::/48": "208635", - "240a:a5a2::/32": "144092", - "2804:486c::/32": "267120", - "2804:5268:200::/32": "268516", - "2a04:2f81:4::/47": "16509", - "2a07:23c0:8::/47": "13213", - "2001:503:f189::/48": "7342", - "2001:1b60::/44": "31103", - "2405:1e40:2::/32": "58475", - "2406:da16::/36": "16509", - "2408:8956:d640::/40": "17622", - "2001:559:834f::/48": "33659", - "2a05:d050:40a0::/44": "16509", - "2a0a:ec02:401::/48": "42692", - "2a02:ac80:71::/40": "25145", - "2001:1440:204::/32": "8469", - "2001:4968::/32": "30513", - "2405:c9c0:5::/42": "138823", - "2409:8051:2100::/37": "9808", - "2607:8b00:1::/48": "31463", - "2803:7200:7::/34": "27696", - "2a00:fb00::/29": "24951", - "2a07:b8c3:5::/32": "14043", - "2a0b:33c0:50::/47": "57395", - "2001:559:87d6::/48": "33652", - "240a:a12e::/32": "142952", - "240a:afe2::/32": "146716", - "2a05:9400::/29": "204957", - "2404:ccc0::/32": "139021", - "2600:1014:d170::/34": "22394", - "2a01:8b40:2000::/32": "203165", - "2a0a:af00::/29": "206955", - "2c0f:f7b0::/32": "327819", - "2a09:bac0:128::/48": "13335", - "2408:8956:b100::/40": "17816", - "2600:1419:1::/45": "20940", - "2603:90bb::/32": "11426", - "2604:c800:ffff::/48": "6939", - "2800:160:182a::/45": "14259", - "2804:5dcc::/32": "268993", - "2a02:26f7:fc04::/48": "36183", - "2a05:7f00:188::/47": "1921", - "2001:df7:5600::/48": "18087", - "2405:dc00:fe::/47": "4804", - "240a:ace8::/32": "145954", - "2606:a380::/32": "13746", - "2620:0:2280::/48": "26827", - "2620:111:e008::/45": "27367", - "2804:14d:ba57::/40": "28573", - "2001:559:c124::/48": "7016", - "2600:141b:3000::/48": "35994", - "2604:f980:5100::/40": "19957", - "2806:230:300f::/48": "11888", - "2405:7740::/32": "23827", - "2600:6c4e::/32": "20115", - "2a00:e6a0:4::/32": "12303", - "2a06:6d00::/29": "22663", - "2001:9b0::/29": "8473", - "2409:8004:900::/35": "24547", - "2600:1009:9110::/36": "22394", - "2001:1248:5a2d::/46": "11172", - "2604:2e80:c04::/38": "30036", - "2a00:1678:da7a::/48": "49453", - "2a03:2887:ff43::/45": "63293", - "2a04:1b00:c::/47": "61005", - "2001:7f0:3004::/33": "13237", - "2407:1580:1100::/38": "33438", - "240a:a1e4::/32": "143134", - "2a02:340::/32": "48918", - "2a05:7640:20d0::/44": "174", - "2001:559:803a::/48": "33491", - "240a:a6fe::/32": "144440", - "240e:6:d810::/31": "4134", - "2607:fc98::/32": "29854", - "2001:dc5:a::/48": "23600", - "2001:4878:8102::/48": "12222", - "2408:80f1:240::/44": "138421", - "2804:2000:1000::/34": "264459", - "2804:7a8c::/32": "271378", - "2a04:ac06::/32": "56534", - "2a02:7b07:fff::/48": "48328", - "2001:559:112::/48": "7016", - "2001:559:26c::/48": "33660", - "2001:67c:16e4::/48": "197521", - "2404:bf40:a002::/42": "139084", - "2804:854:a::/47": "61832", - "2804:1870::/32": "61932", - "2a02:26f0:a800::/48": "34164", - "2a03:4800::/39": "21286", - "2a0c:b180::/29": "16019", - "2001:df1:be00::/48": "24541", - "2804:2d4c::/32": "265272", - "2804:391c:d::/46": "262287", - "2a02:26f0:100::/45": "20940", - "240a:ae44::/32": "146302", - "240e:3b7:3e00::/33": "140308", - "2a01:6e40::/32": "21274", - "2a02:26f7:c081::/46": "20940", - "2a0f:33c0::/29": "60262", - "2001:1248:701f::/42": "11172", - "2400:1c00:f0::/44": "45143", - "2804:9c8::/32": "262992", - "2804:1754:c004::/34": "263137", - "2806:2f0:2080::/48": "17072", - "2a0d:1a45:27::/32": "57782", - "2a0e:5540::/48": "208258", - "240a:a558::/32": "144018", - "2600:140b:1000::/48": "17511", - "2a02:26f7:45::/48": "20940", - "2a0e:6540:a48::/48": "208364", - "2001:559:809e::/48": "33668", - "2001:559:84db::/48": "7922", - "2405:ec00:111::/35": "23955", - "2607:f740:e002::/44": "63911", - "2a05:3580:2300::/37": "35807", - "240e:473:3b20::/41": "140486", - "2804:188:aaab::/35": "262750", - "2408:8456:de10::/42": "134543", - "2600:380:c180::/37": "20057", - "2607:fb90:9b00::/34": "21928", - "2a01:a240::/32": "49984", - "2401:d800:2bc0::/42": "7552", - "2804:3014::/32": "264929", - "2001:550:a0a::/43": "174", - "240a:ab67::/32": "145569", - "2600:1001:f010::/40": "22394", - "2605:b100:900::/41": "577", - "2804:1db0::/32": "264386", - "2a00:e10:2c00::/32": "61157", - "2a04:cc00::/29": "30781", - "2001:559:c01f::/48": "7725", - "2605:d600::/32": "13823", - "2a02:2090:ec00::/48": "48287", - "2620:176::/32": "32577", - "2001:559:86f2::/48": "33651", - "2a01:8840:3e::/41": "12041", - "2600:380:2600::/36": "20057", - "2a01:7f0::/32": "34685", - "2a0e:97c0:130::/44": "211972", - "2400:1f00:20::/48": "45769", - "2401:7ec0::/32": "59127", - "2607:f3a0:a008::/48": "399812", - "2a00:1960::/32": "47608", - "2001:559:371::/48": "33652", - "2405:84c0:fd15::/48": "51089", - "240e:67b:8c00::/33": "4134", - "2600:380:6880::/41": "7018", - "2602:fc62:ff::/48": "399760", - "2804:40:c000::/36": "28657", - "2001:559:74e::/47": "7922", - "240a:a344::/32": "143486", - "2600:1405:3801::/33": "20940", - "2804:6e30::/32": "270581", - "2a01:b740:a0c::/46": "714", - "2a0f:7180::/29": "43995", - "2a0f:af40::/29": "207793", - "2804:2fbc::/32": "264909", - "2001:df5:4480::/48": "133296", - "2401:d800:f450::/40": "7552", - "2600:1012:b090::/41": "22394", - "2607:f6f0:1002::/40": "12085", - "2620:12a:8000::/44": "54113", - "2a00:cb8:31::/48": "15695", - "2600:8807:aaf4::/39": "22773", - "2a0b:2040::/29": "559", - "2a0f:ad00::/31": "208202", - "2600:6c7f:f000::/48": "20115", - "2a02:26f7:ce05::/46": "20940", - "2a0c:ed40::/29": "3214", - "2403:eb00::/32": "132267", - "2607:fb58::/47": "36086", - "2620:74:57::/42": "7342", - "2406:c500:ffcd::/48": "7545", - "2600:1fa0:1040::/44": "16509", - "2a00:8420::/32": "9304", - "2a0f:f100::/29": "60776", - "2001:df4:3900::/48": "134249", - "2605:96c0::/32": "396841", - "2804:78b8::/32": "271261", - "2001:a10::/39": "8308", - "240a:acde::/32": "145944", - "2604:a180:c000::/34": "11139", - "2804:145c:cd10::/38": "263327", - "2804:5bb8::/40": "268865", - "2a06:e881:2000::/44": "206313", - "2a07:dc40::/32": "34629", - "2001:678:cec::/48": "60557", - "2001:df3:a280::/48": "16509", - "2401:4900:44c0::/42": "45609", - "2605:1980:2::/39": "13951", - "2a09:c500::/29": "209842", - "2403:1940::/47": "137935", - "2804:3e90::/32": "266606", - "2a02:b08::/29": "25486", - "2001:df3:3800::/48": "133345", - "2a01:580::/31": "9136", - "2a02:ff0:33f1::/44": "12735", - "2001:559:7c1::/48": "7016", - "2001:44b8:18::/47": "7545", - "240e:44d:600::/41": "140345", - "2605:c780::/32": "30674", - "2a02:2e02:8710::/36": "12479", - "2a0e:fd45:bee::/48": "139921", - "2409:8335::/21": "9808", - "2604:d600:111e::/42": "32098", - "2606:9100:4000::/35": "1421", - "2607:f5c0:8061::/33": "10326", - "2001:678:4c::/48": "42", - "2001:67c:2b6c::/48": "3301", - "240a:400b::/33": "58834", - "240e:e0::/31": "4812", - "2001:67c:2ae0::/48": "3292", - "2407:d6c0:1::/46": "136785", - "240e:44d:6780::/41": "4134", - "2602:ffa6:500::/40": "62731", - "2a0c:8d80::/29": "212991", - "2a0e:aa40::/46": "208408", - "2001:df4:4480::/48": "140918", - "2406:3c00::/32": "9650", - "240a:ac2c::/32": "145766", - "2600:6c38:114::/44": "20115", - "2804:4c14:9a01::/39": "267348", - "2c0f:ffd0::/32": "36968", - "2001:ee0:b100::/33": "45899", - "2604:8380:2400::/36": "29802", - "2620:103:e0c9::/48": "13893", - "2800:160:204e::/42": "14259", - "2800:bf0:1cd::/38": "27947", - "2804:14c:f42e::/43": "28573", - "2001:1a11:d8::/46": "42298", - "2600:1417:13::/45": "20940", - "2804:2a80:22::/32": "53094", - "2001:550:c00:105::/45": "174", - "2408:84f3:3410::/44": "17623", - "240a:a2e4::/32": "143390", - "240e:45:8000::/28": "4134", - "2a09:6300::/32": "29551", - "2001:fe8:4100::/47": "24435", - "2a03:d400:124::/32": "198913", - "2a03:da40::/31": "58222", - "2001:67c:1f4::/48": "39500", - "240a:a085::/32": "142783", - "2600:6000:fd84::/43": "12271", - "2604:a00:13::/45": "19318", - "2600:6c38:e2a::/43": "20115", - "2804:78cc::/32": "271266", - "2a06:e80:1000::/36": "200699", - "2a00:16c8:10d::/32": "50173", - "2001:559:c391::/48": "21508", - "240e:44d:6080::/41": "4134", - "240e:982:8100::/40": "133775", - "2602:fe6d::/36": "64249", - "2803:b2c0:2201::/48": "264851", - "2804:2a40::/32": "264067", - "2804:6d2c::/32": "270517", - "2a01:7f60:30::/32": "9115", - "2a0e:6d80::/29": "47489", - "2402:800:34d3::/44": "7552", - "240a:a007::/32": "142657", - "2801:80:2400::/48": "268302", - "2a06:40c0::/29": "201933", - "2001:67c:1560::/46": "41231", - "2402:800:9cc5::/43": "7552", - "2804:3ae0::/32": "266115", - "2a04:4e40:4610::/44": "54113", - "2401:3480::/36": "23724", - "2602:fef4::/48": "54721", - "2804:2438::/35": "264209", - "2804:5cbc:fa00::/42": "52795", - "2a01:c50e:bf00::/33": "12479", - "2402:1400::/32": "9993", - "2409:815d::/22": "9808", - "2620:0:871::/45": "715", - "2804:1388::/30": "53037", - "2a03:2fc0::/32": "61394", - "2801:80:ea0::/48": "264095", - "2605:dd40:8208::/48": "398549", - "2804:52f4:a70::/40": "268552", - "2a05:d050:10c0::/44": "16509", - "2a0d:3080::/29": "205068", - "2001:678:270::/48": "206128", - "240e:6b8:2000::/35": "4134", - "2a0a:56c4:8101::/48": "42649", - "2403:6ec0::/32": "131247", - "240e:6bd::/36": "140317", - "2604:a00:2::/43": "19318", - "2806:283::/35": "265515", - "2a02:9a8::/32": "6734", - "2a05:f700::/46": "50457", - "2602:806:b000::/40": "63279", - "2a0c:5600::/29": "208106", - "2001:67c:2270::/48": "196674", - "240a:a6c8::/32": "144386", - "240e:94a::/29": "4134", - "2804:680:1000::/32": "262589", - "2804:222c::/38": "264596", - "2a01:c50f:ad80::/38": "12479", - "2806:230:601e::/48": "265594", - "2001:67c:600::/48": "20491", - "2400:b200::/33": "37963", - "2400:e500:3b::/32": "38742", - "2604:6600:ea00::/35": "40676", - "2804:4c0:fc02::/38": "3549", - "2804:d70::/40": "52626", - "2804:4418::/34": "267602", - "2a0e:b107:570::/44": "207315", - "2408:8756:4d00::/32": "17816", - "2804:7404::/32": "270953", - "2a10:1900::/29": "208669", - "2404:2ac0::/32": "139699", - "240a:aad6::/32": "145424", - "2804:27ac::/32": "52833", - "2a01:238:500::/29": "6724", - "2a0a:d040::/29": "59682", - "240a:a5ac::/32": "144102", - "240a:ae32::/32": "146284", - "240e:438:3a20::/43": "140647", - "240e:473:4320::/41": "140486", - "2804:3b0:8309::/45": "53062", - "2804:4ec:2::/35": "28668", - "2a03:71c0::/32": "29208", - "2404:f801:8021::/44": "3598", - "2804:f8c:3000::/33": "263591", - "2a04:f340::/29": "8758", - "2001:559:c074::/44": "7922", - "2409:8915:7a00::/39": "56044", - "2a02:26f0:8401::/39": "20940", - "2a02:8040::/32": "25490", - "2001:678:de8::/48": "212834", - "2400:da00:401::/45": "38365", - "2800:160:1894::/44": "14259", - "2001:559:4d8::/48": "33655", - "2001:559:c038::/47": "7922", - "2402:e380:308::/48": "137256", - "2804:47d8::/32": "267080", - "2a02:26f0:80::/48": "43639", - "2a02:26f7:f5cc::/48": "36183", - "2001:ee0:c440::/39": "45899", - "2600:141c:1801::/34": "20940", - "2800:cd0::/32": "6568", - "2001:559:55c::/48": "20214", - "2a02:d0::/32": "44096", - "2a04:4e40:c00::/47": "54113", - "2a06:82c4::/48": "39602", - "2c0f:fe08:105::/41": "36914", - "2001:559:585::/46": "7922", - "240e:108:11a3::/44": "4134", - "2001:559:284::/48": "33657", - "2a02:2e02:8a10::/42": "12479", - "2a0c:da81::/30": "208861", - "2001:67c:22b8::/48": "49770", - "2400:cb00:360::/48": "13335", - "2602:fc41::/40": "20278", - "2607:2e00::/32": "19229", - "2804:204:301::/46": "28186", - "2a02:26f7:e645::/46": "20940", - "2001:559:85b2::/48": "33659", - "2804:2e74:8::/32": "265347", - "2a02:cb43:4000::/45": "20546", - "2001:df4:9480::/48": "140748", - "2402:800:55ee::/38": "7552", - "240a:ab85::/32": "145599", - "240a:ac9b::/32": "145877", - "2607:b400:a02::/48": "1312", - "2801:1ec::/42": "19429", - "2804:14d:c683::/41": "28573", - "2a03:af80::/29": "16342", - "2a04:4e40:9a00::/48": "54113", - "2a06:3084::/30": "57075", - "2a0c:f540::/29": "39238", - "2409:8b02::/32": "38019", - "2001:559:8319::/48": "33652", - "2402:4000:b1d0::/38": "18001", - "2404:bf40:c300::/48": "7545", - "2607:fcd0:fa80:6800::/53": "8100", - "2400:3e80::/32": "2514", - "240a:a874::/32": "144814", - "2605:2280::/32": "62886", - "2804:1614:3000::/32": "263266", - "2a02:26f7:c788::/48": "36183", - "2a01:4a0:f::/43": "201011", - "2001:438:6e::/47": "397942", - "2402:800:9ed3::/44": "7552", - "2402:ef03:2001::/40": "7633", - "240a:a852::/32": "144780", - "2600:6c33:719::/32": "20115", - "2803:f860::/32": "262186", - "2804:14c:3d83::/45": "28573", - "2a02:26f0:aa01::/39": "20940", - "2a0e:6540:a0::/48": "208364", - "2001:1248:8200::/39": "11172", - "2001:4878:a215::/46": "12222", - "2620:0:b80::/48": "701", - "2a02:2f00::/28": "8708", - "2001:559:81b8::/48": "33287", - "2605:5c0:c144::/48": "28885", - "2800:490:4900::/37": "27951", - "2001:1248:965a::/42": "11172", - "2001:1250:a000::/44": "22894", - "240e:473:8c00::/41": "140485", - "2a0b:f940::/35": "205373", - "2001:4998:f00f::/36": "10310", - "2407:5280:208::/39": "133557", - "240e:3b4::/35": "134773", - "2a00:4180:1000::/36": "56665", - "2404:bb41::/32": "139240", - "2604:980:7000::/46": "21859", - "2607:8200:e000::/36": "6295", - "2a0d:b201:3060::/43": "206026", - "2404:b5c0::/32": "134911", - "2408:8956:dd00::/40": "17816", - "2804:6de8::/32": "270563", - "2a00:1d58:8003::/43": "47524", - "2a00:fc00:e012::/35": "3255", - "2001:559:209::/48": "7016", - "240e:44d:2980::/41": "4134", - "2620:c0:c000::/44": "393501", - "2a0b:f4c0:1b4::/48": "205100", - "2001:559:452::/47": "33659", - "2604:8540:fc02::/47": "33353", - "2a00:85a0::/32": "12703", - "2a07:79c0::/29": "44920", - "240e:5a:46c0::/39": "140299", - "240e:473:2a00::/41": "140485", - "2600:6c38:e6::/44": "20115", - "2610:1c0:8::/31": "11403", - "2a02:5080::/39": "51825", - "2a06:1600:1::/48": "202927", - "2406:8dc0:2500::/40": "51044", - "2408:820c:9040::/36": "17621", - "2804:4424::/32": "267605", - "2a0c:b641:7f::/48": "210956", - "2a02:26f7:b90d::/42": "20940", - "2001:559:40b::/43": "33659", - "2402:9d80:100::/47": "131429", - "2404:4e00:2000::/48": "32787", - "2407:3e00:e000::/48": "24075", - "240a:aa9b::/32": "145365", - "2804:424c:100::/32": "271340", - "2a02:9b0::/44": "35819", - "2600:1013:f010::/36": "6167", - "2a05:2a44:601::/46": "201411", - "2a05:e100::/48": "6830", - "2408:8456:7e00::/42": "17622", - "2606:5000:1c00::/34": "209", - "2607:3380::/40": "395152", - "2804:1c04:fe00::/39": "61633", - "2804:5ba4::/32": "268860", - "2a07:8d80::/29": "61110", - "2001:550:501::/48": "14877", - "2a01:5a8:8::/48": "211526", - "2a0b:f4c2::/48": "208294", - "2602:ff1c:1::/48": "36351", - "2a0f:5701:350a::/43": "206499", - "2602:fd50:1::/48": "207609", - "2803:5e00:120::/32": "267765", - "2c0f:f498::/32": "37575", - "2401:4900:5810::/45": "45609", - "240a:adff::/32": "146233", - "2a02:26f7:bb09::/42": "20940", - "2001:978:3c0c::/33": "174", - "2001:4dc8:f00:1::96:a/32": "16316", - "2605:e340::/40": "8036", - "2a0e:1d80:8::/48": "396073", - "2a0e:46c3:800::/40": "213392", - "2a0e:97c0:180::/44": "200303", - "2001:67c:2704::/48": "47914", - "2620:149:1030::/41": "714", - "2804:4e8c::/32": "268268", - "2a02:26f7:c885::/46": "20940", - "2001:16d8:65::/36": "16150", - "2400:4fc0:10::/48": "134146", - "2408:8456:e010::/42": "134543", - "2605:91c0::/32": "397723", - "2a00:ccc1:100::/40": "44486", - "2600:40f0:f::/40": "701", - "2604:b180:170::/44": "36339", - "2620:12f:c004::/48": "21581", - "2a0c:5bc0::/29": "786", - "2a0f:7d07:fc16::/38": "60781", - "2a02:26f7:e48c::/48": "36183", - "2a0b:20c0::/39": "205766", - "2a0e:8f02:2142::/45": "211414", - "2401:8a40:44::/46": "45326", - "240a:aca3::/32": "145885", - "2602:fd4e::/36": "13465", - "2605:2800:8301::/33": "6922", - "2801:80:f80::/44": "264261", - "2a00:6c80::/32": "44974", - "2a02:df80::/29": "31655", - "2001:559:1ad::/48": "7725", - "2001:559:511::/48": "7016", - "240e:41:c000::/37": "17799", - "240e:84::/30": "4134", - "2a00:d220::/32": "206894", - "2a0f:9400:8023::/48": "213092", - "2a02:26f7:bcc4::/48": "36183", - "2400:6280:16::/47": "132280", - "240a:a901::/32": "144955", - "240e:62:d000::/36": "140308", - "2600:6c34:18a::/48": "33588", - "2605:eac0::/32": "398698", - "2800:160:19eb::/43": "14259", - "2a02:b48:8010::/39": "39572", - "2a03:8840::/32": "8838", - "2a0d:e580::/29": "31531", - "2001:ee0:d440::/39": "45899", - "2401:ff80:1507::/44": "133954", - "2409:8b10::/30": "9808", - "240e:90d:d800::/34": "4134", - "2403:8940:200::/48": "135817", - "240a:ab5b::/32": "145557", - "2a02:26f7:b9c8::/48": "36183", - "2a03:3800::/32": "31229", - "2001:67c:67c::/48": "15404", - "2406:f3c0::/48": "135905", - "2804:53e8::/32": "268615", - "2408:8459:5040::/40": "17623", - "2806:2f0:10a1::/41": "17072", - "2a03:1ac0:5f4f::/48": "42682", - "2a03:30c0::/32": "61408", - "2a0c:b641:680::/44": "207466", - "2803:d100:e770::/44": "52362", - "2001:559:4b2::/48": "33651", - "2001:559:c3ee::/48": "33287", - "2403:8940:401::/40": "135817", - "2600:1415:9001::/34": "20940", - "2605:5c0:c105::/44": "28885", - "2606:c40::/32": "32913", - "2803:5ce0:800::/39": "54235", - "2a02:26f7:f140::/48": "36183", - "2409:8754::/28": "56040", - "2607:f740:50::/47": "36236", - "2604:dc00::/35": "19752", - "2620:171:8::/48": "42", - "2a00:1428::/29": "41228", - "2a02:26f7:e2::/48": "36183", - "2a02:26f7:56::/48": "36183", - "240a:a8cd::/32": "144903", - "240e:473:6120::/41": "140486", - "2a02:26f0:504::/38": "20940", - "2001:503:c27::/48": "26415", - "2001:4830:3101::/40": "22147", - "2002::/16": "6939", - "240e:4c:7000::/37": "136197", - "240e:108:11d6::/48": "134756", - "2a06:5d00::/29": "47372", - "2a10:2ec7:5000::/36": "208861", - "2400:5200:1800::/40": "55410", - "2607:f740:e00d::/46": "63911", - "2600:1013:b030::/40": "6167", - "2804:4f2c::/33": "268309", - "2a02:26f7:c001::/46": "20940", - "2001:fd8:68::/40": "4775", - "2408:8956:ac00::/40": "17622", - "2a03:1e82:90ff::/48": "2856", - "2a07:f380::/29": "198800", - "2a10:2f00:15c::/48": "212292", - "2001:559:2f1::/48": "33659", - "2001:559:8561::/48": "7015", - "2001:67c:248::/48": "39912", - "2804:269c:fe12::/47": "47065", - "2a0b:7ec0::/32": "206728", - "2a0d:c900::/29": "31543", - "2001:678:dcc::/48": "49271", - "2402:800:56e0::/44": "7552", - "2803:2ee0::/32": "269983", - "2600:806:300::/48": "12234", - "2604:880:38f::/43": "29802", - "2620:a7:4000::/48": "19473", - "2a02:26f7:c644::/47": "36183", - "2a07:b180::/29": "50963", - "2a0d:8540::/29": "49558", - "2001:1810:3000::/33": "30447", - "2400:480:9::/48": "4766", - "240e:471::/32": "140486", - "2604:9e02::/32": "53365", - "2804:3df8:6001::/46": "266566", - "2804:53f0:f000::/36": "268617", - "2a03:8d20:8000::/48": "200849", - "2001:559:811b::/45": "7922", - "2404:f780:8::/48": "136557", - "2a02:26f7:f6c5::/46": "20940", - "2a04:4e40:6630::/41": "54113", - "2a0c:b642:300::/42": "206499", - "2001:559:819a::/48": "33489", - "2803:9840::/32": "263765", - "240d:c010:56::/48": "139341", - "2804:6e64::/32": "270594", - "2a06:f787:1::/48": "6905", - "2001:678:958::/48": "197069", - "2001:67c:14c::/48": "33988", - "240e:fd:f000::/37": "140314", - "2804:2ccc::/35": "265244", - "2a02:26f7:d704::/48": "36183", - "2a04:2e07::/32": "60751", - "2a0f:3140::/29": "60262", - "2001:67c:2018::/48": "204296", - "2402:c00::/32": "9268", - "240e:473:3850::/39": "4134", - "2600:1488:6481::/32": "20940", - "2804:179c:3091::/32": "263159", - "2a0c:9a40:8084::/48": "13830", - "2403:31c0::/32": "137376", - "2404:bf40:c200::/48": "7545", - "2602:806:a002::/45": "398565", - "2804:4b4::/32": "262460", - "2a0c:6400::/32": "207045", - "2a0c:c9c0::/30": "202414", - "2001:550:1:b::/61": "174", - "2001:559:50a::/48": "33287", - "2803:b9e0::/32": "270024", - "2806:1090::/32": "8151", - "2a03:11a0:1::/48": "201684", - "2001:559:43c::/48": "7015", - "2404:2c00::/32": "45170", - "240e:16::/32": "4134", - "2001:559:c374::/48": "7922", - "2001:44b8:30d7::/48": "4739", - "2600:141b:3800::/48": "35994", - "2605:e000:40b::/48": "10838", - "2804:4104::/32": "265998", - "2804:4318::/32": "267548", - "2001:559:1b6::/48": "33287", - "2001:559:c199::/48": "7015", - "2001:678:4bc::/48": "42214", - "240e:6b8:4000::/41": "140313", - "2804:a24::/32": "263025", - "2804:2bbc::/33": "265172", - "2620:107:9031::/48": "22787", - "2804:5624::/32": "267979", - "2a06:cc0::/29": "30929", - "2804:334:401::/32": "53242", - "2804:760::/35": "262638", - "2804:782c::/32": "271225", - "2a09:80::/31": "59615", - "2a0e:1c80:1::/48": "42675", - "2404:2280:106::/47": "24429", - "2408:8456:9e40::/34": "17816", - "240a:a58d::/32": "144071", - "240a:a7db::/32": "144661", - "2600:140f:a01::/39": "20940", - "2804:806c::/32": "271749", - "2a0a:b6c0::/32": "57728", - "2a0f:d600:154::/32": "208236", - "2001:559:448::/48": "7725", - "2401:d800:9aa0::/41": "7552", - "2605:a000:c0f::/35": "10796", - "2800:300:6240::/37": "27651", - "2804:11b0::/47": "263432", - "240a:a332::/32": "143468", - "2800:240::/32": "12956", - "2a02:e981:27::/43": "19551", - "2401:df80::/32": "133652", - "2406:840:f380::/44": "133555", - "2404:bf40:e003::/45": "7545", - "2801:17:d000::/48": "265696", - "2804:5484::/32": "268655", - "2a01:8840:d5::/48": "207266", - "2a02:16c0::/29": "56402", - "2c0f:f4a8::/34": "37254", - "2a02:878:1::/46": "42632", - "2001:559:c278::/48": "7015", - "2001:fd8:268::/40": "4775", - "2402:800:929b::/42": "7552", - "2402:800:9401::/44": "7552", - "2600:5c01:2d39::/48": "20115", - "2804:3cb0::/32": "266229", - "2804:69a8::/32": "270283", - "240e:3b2:2200::/37": "136198", - "2804:6cd8::/38": "270496", - "2001:559:83ca::/48": "33659", - "2001:1318::/35": "3597", - "2606:6680:1001::/48": "40676", - "2a01:4f40::/32": "29222", - "2a01:c50f:c40::/35": "12479", - "2001:678:18::/48": "42385", - "2402:8400::/45": "17820", - "2603:b0ae::/32": "53849", - "2a00:13c0::/38": "29076", - "2a00:8b40::/29": "60426", - "240e:965:cc00::/34": "4134", - "2001:c20:4874::/47": "9255", - "2001:4210:9816::/33": "25818", - "240a:a216::/32": "143184", - "240e:5a:4000::/40": "140290", - "2620:cb::/48": "3549", - "2a00:d88::/32": "15498", - "2a00:4bc0:2118::/32": "31004", - "2001:df4:f780::/48": "139648", - "2400:cb00:aae0::/47": "13335", - "240a:a09a::/32": "142804", - "2804:30f8:809::/46": "264984", - "2a10:1800:1::/46": "207463", - "2001:df6:2400::/48": "38880", - "2001:4de0:2001::/48": "26769", - "2606:3380::/48": "53334", - "2804:7adc:8000::/33": "262674", - "2a02:26f7:f6f0::/48": "36183", - "2001:559:390::/48": "7922", - "2001:559:81e9::/48": "7016", - "2001:16d8:b00c::/36": "16150", - "2404:7180:aa00::/48": "23848", - "2409:8061:3900::/30": "9808", - "2a0c:3140:ffff::/48": "48989", - "2a0e:fd45:40fe::/48": "13830", - "2001:67c:104c::/48": "59524", - "2620:17a:a::/48": "29705", - "2806:2f0:32e1::/39": "17072", - "2a01:358:5811::/37": "9121", - "2001:978:7b01:2::/32": "174", - "2401:ff80:1a89::/45": "133954", - "2409:8751:100::/38": "56047", - "2804:78ec::/32": "271274", - "2a0e:bc40::/29": "204860", - "2001:67c:1ba0::/48": "8445", - "2600:1407:4401::/38": "20940", - "2602:fed2:31::/48": "53356", - "2a02:26f0:5d::/42": "20940", - "2a02:26f7:f6f8::/48": "36183", - "2400:a040:ffff::/48": "137995", - "2a00:d1e0::/32": "12843", - "2a01:7a0::/30": "29066", - "2a02:158::/37": "44946", - "2a02:ee80:4058::/47": "21433", - "2a0f:2a00::/48": "60236", - "2a01:9700:14ac::/43": "8376", - "2404:f4c0:f980::/47": "211876", - "240a:a00b::/32": "142661", - "240a:a036::/32": "142704", - "2607:f928:6::/43": "22645", - "2801:80:39b0::/48": "270952", - "2804:3f70::/32": "265892", - "2806:230:1020::/48": "265594", - "2a02:26f7:e7c4::/48": "36183", - "2001:5e0::/43": "16713", - "2408:840c:3600::/40": "17621", - "2a06:440::/29": "57842", - "2001:b08:1a::/45": "3267", - "2405:9800:d201::/34": "45430", - "2804:2690::/32": "263838", - "2a01:b6a0::/32": "197216", - "2001:550:1208::/39": "174", - "2409:8914:3e00::/39": "56044", - "2a03:32c0:b::/32": "48503", - "2402:5cc0:1::/46": "27381", - "2404:fa00:d000::/36": "45780", - "2800:2b0::/32": "14232", - "2a00:4802:3500::/36": "13124", - "2a07:cd00::/48": "43260", - "2a0f:3784:103::/40": "213204", - "2001:418:2401:1::/64": "20940", - "2400:8380::/32": "132724", - "240a:ab2d::/32": "145511", - "240e:473:2450::/39": "4134", - "2a02:26f7:e50c::/48": "36183", - "2a04:4e40:6400::/48": "54113", - "2001:67c:26c::/48": "211731", - "2804:620::/32": "16735", - "2001:559:83cc::/48": "7016", - "2606:7e00:6::/48": "7215", - "2409:8050:2100::/37": "9808", - "2605:f440:696a::/32": "54874", - "2620:11d:9002:700::/48": "33186", - "2a03:b280::/36": "29134", - "2001:678:754::/48": "202171", - "240e:438:4440::/38": "4134", - "2001:7f8:1f::/48": "1835", - "2406:9dc0:30::/44": "213262", - "2408:8459:1b30::/41": "17622", - "2408:8956:c000::/40": "17622", - "2a02:2690::/32": "39783", - "2001:559:5e6::/48": "22909", - "2001:559:751::/46": "33659", - "2408:820c:a940::/35": "17621", - "2600:370f:3084::/43": "32261", - "2620:11b:e080::/44": "3549", - "2804:39c8::/32": "266050", - "2402:3800:dc04::/34": "7503", - "2605:68c0:1::/48": "397943", - "2620:100:4010::/48": "25923", - "2620:149:1201::/39": "714", - "2804:4f0:c000::/34": "22129", - "2a0d:540::/29": "203180", - "2804:14f8::/34": "263362", - "2a01:70:ffff::/48": "25098", - "2a02:26f7:c30d::/42": "20940", - "2a02:26f7:fa04::/48": "36183", - "2a02:7b03::/36": "48328", - "2a0c:3240::/29": "51134", - "2400:aa00::/40": "9873", - "2404:a500::/48": "45854", - "2409:804b:2909::/48": "9808", - "2803:9800:a8c7::/39": "11664", - "2a0d:2e40::/29": "208861", - "2001:fd8:b2f0::/44": "4775", - "2602:ff7c::/36": "55039", - "2606:2800:60f5::/48": "15133", - "2804:705c:8000::/33": "270722", - "2a00:eb40::/32": "28889", - "2804:2c44::/32": "265207", - "2001:559:582::/48": "33287", - "2602:feda:3c5::/48": "205947", - "2607:d500:304::/40": "13768", - "2a00:be80::/32": "15557", - "2a05:7200::/29": "44045", - "2a0d:c400::/32": "31400", - "2400:adc0:4300::/48": "9541", - "2804:1e40::/32": "264417", - "2804:4ab4::/32": "267258", - "2c0f:f000:1000::/40": "36891", - "2a0a:6340:dc01::/48": "34888", - "2001:559:82b9::/48": "33659", - "2001:67c:440::/48": "57944", - "2a02:26f0:2b01::/37": "20940", - "2a02:2e02:2370::/37": "12479", - "2a02:ee80:4023::/45": "3573", - "2a03:3d80::/32": "13113", - "2a07:b8c1:6::/43": "14043", - "2401:ea80::/32": "133930", - "2600:1402:3001::/36": "20940", - "2804:7be8:c000::/34": "271462", - "2a01:240::/32": "30781", - "2a0a:c740:2::/48": "204170", - "2a0f:5680::/47": "60906", - "2001:559:79c::/48": "7016", - "240a:aa30::/32": "145258", - "2604:ca00:224::/46": "36492", - "2804:3ea0:8100::/33": "266610", - "2a09:c0c0::/29": "209235", - "2001:559:8433::/48": "22909", - "2001:678:e98::/48": "212495", - "2606:4d80::/32": "5650", - "2800:160:14f1::/46": "14259", - "2804:6340::/32": "269349", - "2a02:26f7:f188::/48": "36183", - "2a03:4980::/32": "24904", - "2408:8459:7610::/42": "17623", - "2600:140b:1401::/38": "20940", - "2803:2600::/32": "28114", - "2a00:e520::/32": "35551", - "2a0d:3840::/48": "57629", - "2001:559:80de::/47": "7922", - "2408:8456:7e40::/39": "17816", - "2600:140e:3::/31": "20940", - "2606:f900:4407::/34": "812", - "2a02:7380::/32": "8680", - "2a0c:c00:400::/41": "208402", - "2a0e:3a87:ff00::/40": "208741", - "2001:559:269::/48": "13367", - "2001:bf0:e000::/31": "12732", - "2600:1f70:2000::/40": "8987", - "2603:9000::/28": "33363", - "2a02:22a0::/32": "28685", - "2a0a:7840::/29": "25433", - "2a01:b960:230d::/48": "208136", - "2001:388:30c5::/43": "7575", - "240a:ad4b::/32": "146053", - "2602:fed2:3e8::/48": "139693", - "2607:fbd0::/32": "19872", - "2803:2180:15::/46": "27941", - "2804:1364::/32": "263532", - "2804:53b0::/46": "268600", - "2a0b:e140::/29": "205241", - "2a0e:b105:458::/46": "20473", - "2401:4900:3a60::/40": "45609", - "2407:c280:3000::/45": "24322", - "240a:a701::/32": "144443", - "2604:d600:151f::/42": "32098", - "2804:3364::/32": "265393", - "2001:559:87e6::/48": "33491", - "2001:67c:2444::/48": "43018", - "2403:e040::/33": "138399", - "2408:8459:ac50::/38": "17816", - "2408:8956:2140::/40": "17816", - "2600:1002:b1e0::/33": "22394", - "2605:35c0::/36": "6597", - "2404:1100::/32": "134078", - "240e:85c:50::/26": "4134", - "2a02:ad80::/29": "15633", - "2a0f:8780::/29": "208108", - "240a:a0d0::/32": "142858", - "2600:140f:3601::/36": "20940", - "2a0d:3c42::/32": "25369", - "2001:468:2808::/126": "11537", - "2001:550:4701:201::/36": "174", - "2606:9a00::/32": "31845", - "2607:fc48:1000::/48": "40009", - "2a02:26f7:c100::/48": "36183", - "2620:74:81::/48": "30060", - "2a02:2290::/48": "206610", - "2001:1248:70dc::/42": "11172", - "2403:c380::/32": "59189", - "2408:8456:7240::/39": "17816", - "2607:2a00:3::/32": "29909", - "2803:6900:574::/48": "52423", - "2804:6f84::/32": "270665", - "2a01:a360::/32": "200030", - "2a0b:b82::/44": "7489", - "2406:e000:378::/47": "23655", - "2001:678:c64::/48": "207341", - "2408:8459:2640::/40": "17623", - "240a:a06e::/32": "142760", - "240a:a28e::/32": "143304", - "2600:1408:21::/46": "20940", - "2a0c:f40::/32": "41451", - "2001:1250:3000::/44": "22894", - "2801:140:bfa::/48": "262249", - "2a0e:f080:1::/48": "12363", - "2402:800:587f::/40": "7552", - "2804:178::/32": "28591", - "2804:7838::/32": "271228", - "2a0e:1c80:9::/48": "41281", - "2c0f:f7c0::/34": "30986", - "2a02:26f7:ec49::/46": "20940", - "2001:67c:2f5c::/48": "21100", - "2605:3800::/32": "21554", - "2a02:26f7:d485::/46": "20940", - "2a04:85c0::/29": "51890", - "2a0d:f00::/29": "16186", - "2a11:2780::/29": "21040", - "2001:19f0:9000::/37": "20473", - "2804:14d:a400::/40": "28573", - "2a02:4b0::/38": "43751", - "2a02:26f7:e149::/46": "20940", - "2a03:fb40::/29": "202796", - "2001:44b8:20::/46": "4739", - "2806:105e:5::/44": "8151", - "2a02:26f7:be85::/46": "20940", - "2001:df5:7180::/48": "140758", - "2a00:fa0::/32": "13237", - "2a04:4e40:ccf0::/48": "54113", - "2a0f:fe40::/48": "207642", - "2001:57a:2203::/35": "22773", - "2001:1248:59c7::/43": "11172", - "2404:3900:1::/48": "38320", - "2a03:5cc0::/32": "48685", - "2001:1c00::/23": "33915", - "2409:8907:7f20::/32": "24547", - "2804:4388::/32": "267576", - "2a02:29ea:14::/48": "49604", - "2a01:5e40::/32": "34555", - "2a0f:8445::/32": "51659", - "2001:559:8370::/48": "7922", - "2001:4458::/32": "4818", - "240e:3b8:8200::/35": "140316", - "240e:804:a0::/39": "4134", - "2806:2f0:3101::/46": "17072", - "2a05:e181::/32": "200941", - "2001:ee0:302::/45": "45899", - "2605:5300::/39": "21557", - "2620:0:250::/48": "7046", - "2620:0:1654::/48": "6984", - "2804:20f8::/35": "264524", - "2806:2f0:2463::/48": "17072", - "2a03:5a00:38::/48": "62247", - "2001:67c:5c::/48": "35627", - "2001:dda::/48": "18149", - "2408:840d:d000::/42": "17621", - "2001:550:9b00:100::/46": "174", - "2a0f:5381:1313::/42": "208135", - "2600:804:441::/31": "701", - "2605:3b80:1::/48": "9009", - "2800:c30:ae00::/33": "52361", - "2a02:17d0::/32": "12668", - "2001:4c28:4000::/36": "39832", - "2407:9440:2::/41": "141626", - "2408:8956:3b00::/40": "17816", - "2604:200:7::/43": "33132", - "2804:694:4100::/37": "262596", - "2804:1320:2000::/32": "263517", - "2a02:3b0::/32": "31736", - "2a0a:e5c0:19::/48": "207996", - "2404:f4c0:f4c0::/44": "142549", - "2400:9bc0:4::/32": "55313", - "2620:13c:8000::/44": "27360", - "2a01:280:348::/47": "3166", - "2409:8051:2::/40": "56047", - "2a07:b300::/29": "213101", - "2408:840d:c500::/42": "17621", - "2602:108:12::/48": "20115", - "2602:fe69:200::/39": "36369", - "2a04:4e40:3000::/48": "54113", - "2409:8d14:2900::/31": "56044", - "240a:17:fcc::/48": "9605", - "240a:a0a8::/32": "142818", - "2801:80:2240::/48": "267592", - "2a0e:2c47:3::/32": "50581", - "2001:559:427::/48": "33491", - "2804:e80::/33": "262676", - "2606:2500::/32": "7194", - "2a03:be00::/32": "50522", - "2001:559:c2da::/48": "33652", - "240a:a4a4::/32": "143838", - "240a:a710::/32": "144458", - "2604:f400:5::/48": "19406", - "2620:12c:9001::/46": "395359", - "2a00:b260::/32": "51417", - "2001:b20::/29": "24611", - "2400:1700:212::/40": "4628", - "240a:a766::/32": "144544", - "2600:6c38:501::/45": "20115", - "2a0d:2a00:c0::/48": "205157", - "2402:800:5b01::/44": "7552", - "240a:ab0a::/32": "145476", - "2620:1ec:912::/38": "8075", - "2804:1348::/32": "263526", - "2a06:11c0::/46": "31169", - "2001:480:34::/48": "252", - "2409:894c::/30": "9808", - "240a:acb8::/32": "145906", - "2600:1404:e800::/48": "35994", - "2001:1978:803::/48": "54002", - "2400:cb00:356::/44": "13335", - "2406:840:e666::/48": "211843", - "2804:1ed4::/32": "52775", - "2804:3bd8::/32": "266175", - "2a03:3f40:89::/48": "208685", - "2001:67c:24c::/48": "49420", - "2402:1c00:5000::/32": "23838", - "2606:e100::/32": "47100", - "2607:f138::/32": "19151", - "2620:3c:8080::/48": "54763", - "2804:56a4::/32": "28276", - "2a00:40c0::/31": "12762", - "2406:840:f200::/44": "141694", - "2602:feda:b8e::/48": "211935", - "2804:7428::/32": "270962", - "2a00:fd8::/32": "22351", - "2001:df3:800::/46": "22787", - "2401:4900:1c30::/46": "24560", - "2800:160:17fd::/36": "14259", - "2a02:2698:800::/38": "57044", - "2a02:26f7:d308::/48": "36183", - "2001:559:8262::/47": "33657", - "240e:3be:c800::/37": "4134", - "2803:cb00::/32": "26619", - "2402:5300:4510::/38": "45903", - "240a:a603::/32": "144189", - "2800:40:1f::/42": "16814", - "2804:14d:badd::/46": "28573", - "2a0e:fd45:b70::/47": "212744", - "240a:aeea::/32": "146468", - "2a09:d2c1:4::/48": "207518", - "2c0f:fe38::/47": "33771", - "2408:8956:f00::/40": "17816", - "2803:c600::/32": "27901", - "2a03:a860:61::/48": "397192", - "2a0b:b580:ffff::/31": "43304", - "2001:4090::/31": "12312", - "2406:3ac0::/40": "135391", - "2800:160:1104::/46": "14259", - "2001:67c:7e0::/48": "41399", - "2406:840:f440::/47": "137835", - "2804:55fc::/32": "267969", - "2001:fd8:b280::/42": "132199", - "240a:a8d5::/32": "144911", - "2804:584::/32": "53072", - "2a00:c280::/39": "50463", - "2001:559:776::/48": "33659", - "2401:ff80:150b::/43": "133954", - "2409:8057:306c::/48": "141425", - "2a02:26f7:d909::/42": "20940", - "2a05:1083:ff06::/48": "211876", - "2001:67c:2048::/48": "31317", - "2408:8957:f00::/40": "17816", - "2409:806c:100::/35": "9808", - "2604:2d80:e280::/36": "30036", - "2a0f:6fc4::/32": "57487", - "2408:820c:b630::/30": "17621", - "240e:44d:6500::/41": "140345", - "2620:149:46::/44": "714", - "2800:484:700::/36": "14080", - "2804:5d38::/32": "268957", - "2a01:9840::/32": "31115", - "2001:4830:3100::/48": "25623", - "240a:a294::/32": "143310", - "2a00:4802:a90::/42": "13124", - "2001:df0:8580::/48": "139197", - "2400:cb00:40::/47": "13335", - "2406:4c40::/48": "135953", - "2804:da4::/32": "27720", - "2a02:728::/32": "25542", - "2620:136:f001::/48": "11153", - "2a03:2887:ff13::/48": "35819", - "2a09:cc0::/48": "44364", - "2a03:2480:8023::/48": "200107", - "2001:559:738::/48": "33491", - "2001:67c:17f0::/48": "702", - "2401:4900:3050::/44": "45609", - "2409:8904:60b0::/38": "24547", - "2604:d600:15df::/42": "32098", - "2803:d700::/32": "61461", - "2a01:8840:b2::/45": "12041", - "2001:454f::/27": "9924", - "2400:cc00:4000::/34": "17477", - "2a00:e000::/48": "56975", - "2a0d:8340::/32": "205125", - "2600:1006:b1f0::/33": "22394", - "2804:4fe0::/32": "268355", - "2a02:26f7:f380::/48": "36183", - "2a02:6a80:530f::/32": "3245", - "2a02:c6c0::/32": "12722", - "2a0c:dc40::/29": "31370", - "2a0d:3c40:d498::/48": "49542", - "2409:8704:3100::/36": "24547", - "2804:695c::/32": "270265", - "2a0e:b103:c00::/40": "20473", - "2a02:26f0:ce01::/40": "20940", - "2c0f:f4c0:1402::/32": "37611", - "2001:579:c17d::/40": "22773", - "2620:49:2::/45": "16686", - "2620:171:59::/45": "715", - "2801:bc:2000::/32": "28601", - "2a03:c680::/29": "28919", - "2001:ee0:7b40::/37": "45899", - "2800:68:39::/48": "27947", - "2804:56f8::/33": "268035", - "2806:2f0:34a1::/46": "17072", - "2a0c:ab03::/32": "208861", - "2408:8957:8000::/40": "17622", - "240a:ae93::/32": "146381", - "240e:44d:7380::/41": "4134", - "2604:3d00:4c00::/32": "6327", - "2605:4a00:131::/44": "14361", - "2800:160:2311::/42": "14259", - "2001:559:8043::/45": "7015", - "2001:4de0:1000::/48": "33438", - "2804:6eb0::/32": "270613", - "2a0f:9400:802d::/48": "53356", - "2400:6280:11b::/48": "135381", - "2607:a500:d::/32": "12025", - "2800:3a0:192::/48": "28008", - "2a00:66c0::/32": "200460", - "2a01:1d0::/32": "50670", - "2001:13c7:6008::/48": "52324", - "2408:84f3:e000::/44": "17622", - "2804:8270::/32": "61608", - "2a06:fc40::/29": "204793", - "2402:680::/32": "24213", - "2804:7bac::/32": "271447", - "2a0e:a6c1::/30": "41047", - "240a:a567::/32": "144033", - "2001:678:480::/48": "3320", - "2a05:6200:73::/48": "201630", - "2405:6e00:2490::/41": "18291", - "2605:a404:3f::/41": "33363", - "2804:14d:5000::/40": "28573", - "2804:2474::/32": "264223", - "2804:3c48::/32": "266201", - "2605:5580::/32": "40805", - "2620:10a:4005::/46": "17394", - "2600:1404:7401::/32": "20940", - "2605:8840::/32": "397867", - "2804:33b0::/32": "52662", - "2a00:5600::/32": "31727", - "2a02:26f7:db09::/46": "20940", - "2a10:bc80::/29": "212081", - "2409:8e0c::/30": "56042", - "240e:44d:5a80::/41": "4134", - "2804:6660:d200::/39": "262815", - "2a03:66e0::/32": "200538", - "2a07:ca04::/32": "49981", - "2400:dcc0:a204::/39": "38631", - "2800:bf0:8122::/41": "27947", - "2804:14d:7e3c::/40": "28573", - "2a0b:e600::/29": "203964", - "2001:4e0:1009::/43": "2381", - "240a:a46c::/32": "143782", - "240d:c010:72::/48": "139341", - "2804:4df4::/32": "268230", - "2a02:26f7:cf01::/46": "20940", - "2a03:4b00::/32": "49888", - "2a0a:e5c0:8::/48": "207996", - "2803:7260::/43": "52238", - "2001:4408:5227::/41": "4758", - "2405:b900:40::/44": "55701", - "2408:8957:a300::/40": "17816", - "240a:a16f::/32": "143017", - "240e:44d:5f00::/41": "140345", - "240e:91e::/32": "134761", - "2605:a404:6f::/43": "33363", - "2a00:1288:efc1::/48": "14778", - "2408:8456:a010::/42": "134543", - "240e:108:27::/48": "133774", - "240e:3b6:2200::/37": "136198", - "2800:160:1f75::/44": "14259", - "2804:10a0:224::/32": "28173", - "2a00:4802:1d00::/38": "13124", - "2a04:d40::/29": "60965", - "2a02:26f0:7b01::/37": "20940", - "2001:550:8200:1::/37": "174", - "2001:559:c09b::/45": "7922", - "2001:678:17c::/48": "201163", - "2408:8456:7600::/42": "17622", - "2607:fb50:a00::/35": "46253", - "2806:2f0:3381::/42": "17072", - "2a01:71c0::/31": "198066", - "2a0b:56c0::/29": "41960", - "2001:d10:a01f::/33": "4787", - "2606:2800:4064::/48": "14153", - "2a0a:2400::/32": "206157", - "240a:afa3::/32": "146653", - "2a01:4200:255::/30": "21453", - "2406:2400:ccef::/48": "45287", - "2408:8779:c000::/45": "140707", - "2409:8924:b700::/36": "56046", - "2409:8a15:3c00::/32": "56044", - "2001:678:df4::/48": "212899", - "2406:9dc0:1013::/44": "18250", - "240a:a98f::/32": "145097", - "2600:1000:9e10::/40": "22394", - "2800:490:c000::/36": "27951", - "2a0e:fd45:2b02::/44": "211562", - "2a0f:3e00::/32": "208861", - "2408:8459:b450::/38": "17816", - "240e:679:e400::/39": "140330", - "2804:2d8::/32": "52532", - "2804:43a8::/36": "267582", - "2a0c:cac0::/29": "202373", - "2401:d800:750::/42": "7552", - "2600:6c34:24c::/48": "33588", - "2605:d100::/32": "19844", - "2800:200:e281::/43": "12252", - "2803:760:171::/35": "269816", - "2804:7994::/32": "271314", - "2a01:5042:efd::/48": "202196", - "2401:4900:46a0::/44": "45609", - "240a:ae4e::/32": "146312", - "2804:76ac::/32": "271127", - "2a04:1b00::/47": "61005", - "2a0c:ff00::/47": "204975", - "2001:1900:221e::/48": "14627", - "2408:8456:1940::/40": "17816", - "2001:559:8188::/48": "33659", - "2001:1838:9100::/34": "23352", - "2401:ff80:1013::/40": "133954", - "240a:ac40::/32": "145786", - "2a0b:cd00::/29": "206372", - "2408:8756:2d00::/35": "17816", - "240e:13:1000::/33": "4134", - "2a01:440:510::/29": "29551", - "2404:8e00::/32": "55391", - "240e:44d:6b80::/41": "4134", - "2600:1409:b801::/37": "20940", - "2001:67c:190::/48": "198568", - "2001:44b8:404f::/48": "4739", - "240a:a180::/32": "143034", - "2607:fc78::/32": "21724", - "2001:559:8000::/48": "33651", - "2001:559:8315::/48": "7015", - "2001:918:fff3::/44": "3303", - "240a:a873::/32": "144813", - "2605:dd40:8200::/48": "398549", - "2607:a800:213::/45": "15695", - "2607:f160:10::/48": "6167", - "2a02:a90::/32": "3303", - "2001:418:1c01:1::/64": "20940", - "2408:8256:2f6c::/48": "17623", - "2602:807:6004::/48": "53978", - "2620:11b:e0bd::/48": "3356", - "2620:12f:c009::/45": "395831", - "2a00:1e88:8::/48": "39229", - "2a01:1b0:c000::/44": "51923", - "2a02:26f7:3d::/48": "20940", - "2a07:6fc7::/32": "34549", - "2a0b:d00:1::/46": "206886", - "2001:559:c381::/48": "7922", - "2804:3158::/32": "265008", - "2804:7b58::/32": "4", - "2806:2f0:42c4::/42": "17072", - "2a0a:4a40:2271::/29": "206754", - "2001:559:86f8::/47": "33659", - "2402:800:370f::/43": "7552", - "2406:e001:1000::/33": "23655", - "240a:afb8::/32": "146674", - "240e:966:9400::/38": "133776", - "2600:380:f200::/36": "7018", - "2a00:dd80:41::/48": "36236", - "2402:800:538d::/43": "7552", - "2404:c6c0::/48": "135905", - "240e:473:f50::/40": "4134", - "2604:d600:1408::/39": "32098", - "2a00:88a0::/32": "25540", - "2400:cc00:3000::/36": "140637", - "2600:1409:13::/48": "35994", - "2a03:2880:f26c::/40": "32934", - "2a06:9f45:1200::/40": "211480", - "2001:678:a18::/48": "43350", - "2620:128:1008::/48": "53620", - "2a04:bc40:3dc0::/44": "44750", - "2a05:36c0:2::/48": "48809", - "2a06:4100::/32": "206376", - "2405:6480::/32": "135425", - "2408:8956:200::/40": "17622", - "2602:fff0::/36": "18889", - "2606:2e00:8004::/46": "36351", - "2804:3b8::/47": "52965", - "2a05:62c0::/29": "48360", - "2607:fb10:5022::/44": "55095", - "2804:e94:63::/43": "262468", - "2a02:6da0::/32": "47638", - "2001:559:84c8::/48": "22909", - "2401:d800:d0d0::/39": "7552", - "240e:980:2e00::/40": "4134", - "2600:4405::/30": "6130", - "2604:9b00:1800::/38": "14230", - "2a05:5a00::/29": "212613", - "2001:559:839d::/42": "33652", - "2407:57c0::/48": "140799", - "2a00:1880::/32": "15897", - "2a06:e881:140e::/47": "202540", - "2800:160:21e4::/38": "14259", - "2806:2f0:34a4::/41": "17072", - "2806:2f0:9581::/43": "17072", - "2a04:2500::/48": "60940", - "2401:de00::/32": "7497", - "2402:e280:1104::/47": "134674", - "2408:8456:e410::/42": "134543", - "240a:a30f::/32": "143433", - "2800:160:1f2a::/43": "14259", - "2800:bf0:8100::/45": "52257", - "2a0b:dbc0::/29": "207003", - "2001:559:80ae::/48": "7016", - "2001:1398:121::/48": "52304", - "240e:3bf::/35": "134773", - "2800:200:2001::/45": "12252", - "2804:14c:bbd3::/42": "28573", - "2806:2f0:9122::/41": "17072", - "240e:44d:1000::/41": "140345", - "2a06:6541:4101::/48": "8220", - "2402:4480::/38": "174", - "2405:8a00:8020::/47": "55824", - "2600:1003:b0b0::/41": "22394", - "2607:fe10:3100::/32": "11796", - "2a02:26f7:f900::/48": "36183", - "2001:4998:180::/44": "7280", - "2409:8904:4160::/38": "24547", - "2c0f:eaf8::/32": "328581", - "2401:c7c0:2::/48": "23864", - "240a:ae16::/32": "146256", - "2600:5800:1601::/48": "33363", - "2801:16:5000::/44": "266906", - "2804:7200::/32": "270826", - "2c0f:f700::/32": "327726", - "2001:559:35d::/48": "33659", - "2001:f20:4001::/48": "9875", - "2405:3740:8009::/33": "38526", - "240a:ab58::/32": "145554", - "240e:44d:2d80::/41": "4134", - "2a09:d881::/48": "209680", - "2001:4c80::/32": "2857", - "2401:d800:7310::/42": "7552", - "2408:84f3:4440::/38": "17816", - "2804:71e4::/32": "270818", - "2a04:e240::/29": "35617", - "2400:a980:1f00::/40": "133515", - "2408:8456:3c50::/38": "17816", - "2001:4998:effd::/48": "7233", - "2409:804c:31::/36": "9808", - "2a02:26f0:16::/44": "20940", - "2a0c:a9c7:225::/48": "44597", - "2401:3240:634::/48": "63490", - "2408:8459:cf50::/35": "17816", - "240a:ad3a::/32": "146036", - "2607:f858::/44": "4136", - "2a02:26f7:c400::/48": "36183", - "2001:559:82::/48": "33651", - "2001:67c:2ab4::/48": "3301", - "2001:678:180::/48": "20546", - "2403:4e00:30c::/47": "45528", - "240e:3b8:6400::/35": "140312", - "2600:1f01:4874::/47": "16509", - "2a07:9942:39d8::/47": "43350", - "2001:550:2600:200::/47": "174", - "2603:c010:a000::/36": "31898", - "2803:c240:2000::/32": "41095", - "2a02:f98::/32": "33984", - "2a0d:2144::/38": "39083", - "2407:aa80::/32": "135407", - "240e:108:1195::/48": "63838", - "2600:1006:a000::/43": "6167", - "2804:8a8::/32": "262385", - "2804:4c7c::/32": "267373", - "2404:ce80::/32": "135356", - "2620:116:8087::/48": "27281", - "2804:3868:800::/37": "266475", - "2a02:1b8::/31": "47692", - "2404:e801:2015::/44": "55430", - "240e:473:1550::/40": "4134", - "2607:fda8:8009::/48": "6128", - "2a02:648::/32": "8804", - "2a02:dcc::/30": "31621", - "2a0b:1306:3::/48": "29018", - "2001:500:2e::/47": "3557", - "2600:1400:9001::/34": "20940", - "2600:5c00:3aff::/37": "20001", - "2a02:26f7:7c::/48": "36183", - "2001:559:8544::/48": "33662", - "2001:1248:87b0::/36": "11172", - "2401:d800:b940::/42": "7552", - "2401:d800:d010::/42": "7552", - "2405:9800:c601::/42": "45430", - "2001:559:81a5::/48": "33652", - "2001:df5:3800::/48": "56285", - "2606:b400:8018::/48": "792", - "2804:6f4::/32": "262539", - "2804:4ca8::/36": "267383", - "2a02:c10::/32": "12990", - "2a0d:240::/29": "8881", - "2001:559:c315::/48": "33651", - "2001:67c:1500::/48": "3246", - "2001:c20:4886::/48": "3758", - "2803:abc0::/48": "265632", - "2804:1b94::/37": "52974", - "2a06:7fc0::/29": "203459", - "2a06:ab00::/32": "60781", - "2c0f:fdd8::/32": "37266", - "2404:98c0:40::/32": "135259", - "2620:0:b30::/48": "32982", - "2804:104c::/40": "263629", - "2a00:9320:fffd::/46": "48559", - "2a03:ae40::/34": "61233", - "2a0d:b980::/29": "56708", - "2401:d800:f140::/42": "7552", - "2620:113:8045::/40": "3680", - "2803:d100:e040::/38": "52362", - "2401:c5c0:101::/38": "55492", - "2408:8256:38a0::/39": "17816", - "2409:8052:3100::/37": "9808", - "240e:95d:3000::/26": "4134", - "2600:2005::/28": "33517", - "2602:fd93::/36": "398230", - "2606:2800:424e::/48": "14153", - "2804::/37": "2716", - "2a02:26f7:c94c::/47": "36183", - "2001:559:8217::/48": "33651", - "240a:abac::/32": "145638", - "240e:4:e000::/40": "132147", - "2604:d600:685::/44": "32098", - "2607:f330:9400::/40": "25996", - "2001:678:828::/48": "24639", - "2804:18b4::/32": "61948", - "2a05:b304::/30": "60781", - "2001:678:720::/48": "25443", - "2001:dc0:e000::/35": "4608", - "240a:a05a::/32": "142740", - "2603:c0f0:2800::/43": "6142", - "2804:fdc::/32": "263608", - "2001:559:83aa::/48": "33652", - "2001:559:84c1::/48": "33489", - "2602:fd1b::/36": "398871", - "2804:2f20::/32": "264873", - "2a0e:1e40::/29": "64484", - "2001:2060::/30": "1759", - "240a:a05c::/32": "142742", - "240e:978:8100::/31": "4134", - "2600:100d:fe00::/44": "6167", - "2a01:a840::/32": "16186", - "2600:140b:4c01::/35": "20940", - "2804:7fb8::/32": "271705", - "2405:9d80::/47": "45538", - "2409:8028:2000::/40": "56041", - "240a:a57b::/32": "144053", - "2806:345::/32": "265596", - "2a0d:d8c0::/48": "395092", - "2a0e:b107:ea2::/48": "134478", - "2001:e68:20db:10::/63": "54994", - "2604:11c0:600::/40": "395822", - "2804:51a8::/32": "268468", - "2a00:6901:c002::/47": "20926", - "2a00:74c0:103::/48": "3257", - "240a:a425::/32": "143711", - "2001:559:8130::/47": "7016", - "2a00:d101:4000::/36": "15704", - "2408:8456:c940::/40": "17816", - "240a:a910::/32": "144970", - "2405:8a00:8030::/46": "55824", - "2408:8956:c600::/40": "17622", - "2602:fd76::/36": "393986", - "2604:5500:3000::/38": "19165", - "2806:370:2210::/41": "28403", - "2001:4878:c010::/48": "12222", - "2401:d800:f590::/42": "7552", - "2a02:770::/32": "5578", - "2a02:6c20:8::/36": "207167", - "2001:559:501::/48": "7725", - "2605:3380:ff00::/46": "12025", - "2a00:d300::/32": "31742", - "2a02:26f7:d501::/46": "20940", - "2600:1010:f110::/36": "22394", - "2605:a404:7db::/42": "33363", - "2a01:c50f:e140::/37": "12479", - "2001:44b8:30c4::/48": "7545", - "2001:4950::/32": "20205", - "2804:4f90::/38": "268335", - "2a01:7d20:e00::/40": "203645", - "2001:67c:2214::/48": "3301", - "240e:979:7f00::/32": "4134", - "2a02:26f7:dc40::/48": "36183", - "2a0d:c440::/29": "39305", - "2403:e200:403::/45": "45543", - "2800:160:1053::/45": "14259", - "2804:68c::/32": "262594", - "2a02:5740:11::/48": "41564", - "2a0a:6040:ac96::/48": "211954", - "2a0e:8f02:213f::/48": "211722", - "2001:648:2010::/48": "8643", - "2a01:90:200::/40": "29668", - "2804:5dec::/32": "269001", - "2404:9ec0:6::/48": "138946", - "2409:4025:1000::/25": "55836", - "240e:44d:1180::/41": "4134", - "2600:1406:47::/48": "35994", - "2804:1d1c::/32": "53196", - "2804:2344::/32": "264152", - "2804:39f4::/32": "266061", - "2a07:7280::/29": "202591", - "2600:1014:b000::/42": "6167", - "2607:f078::/32": "18750", - "2a00:1288:88::/48": "203070", - "2a0f:9400:7381::/48": "208193", - "2001:559:c2a5::/48": "21508", - "2001:678:ca8::/48": "12897", - "2001:4b20:100:f000::/63": "65505", - "2409:8904:5370::/40": "24547", - "2605:4300:1200::/43": "22616", - "2409:8002:900::/37": "9808", - "2604:af80:900::/37": "18859", - "2804:14c:bf00::/40": "28573", - "2605:a40e:6::/44": "33363", - "2a04:2ec0::/29": "60849", - "2001:559:c360::/48": "7016", - "2409:8914:a200::/39": "56044", - "2804:4dc4::/32": "268218", - "2a02:5b20::/32": "47720", - "2c0f:f1a8::/32": "328237", - "2801:80:7b0::/48": "263613", - "2804:4e74::/32": "268262", - "2001:df0:6880::/48": "138731", - "240a:a7f1::/32": "144683", - "2600:1488:6101::/41": "20940", - "2605:34c0::/32": "397449", - "2803:2800::/33": "52368", - "2806:250:1::/45": "28509", - "2a00:93c0::/32": "198853", - "2001:559:c3af::/48": "7016", - "2600:1406:9c01::/34": "20940", - "2804:14c:de93::/41": "28573", - "2804:49c0::/32": "267201", - "2a02:2ad0::/39": "702", - "2001:559:82e6::/48": "33662", - "2404:e200:5::/46": "18353", - "2409:8a3c:1400::/33": "24444", - "2001:1a38::/32": "34081", - "2607:f8f8:1f10::/32": "23033", - "2804:14d:5c00::/42": "28573", - "2806:2f0:7301::/42": "17072", - "2a03:5342::/44": "8983", - "2408:8957:b200::/40": "17622", - "2600:1418:4001::/32": "20940", - "2600:6c38:108::/47": "20115", - "2806:230:301a::/48": "265594", - "2a0d:4a40::/29": "197706", - "2001:648:2011::/48": "15690", - "2605:a404:70b::/42": "33363", - "2a02:ff0:2000::/40": "12735", - "2806:2f0:40c1::/42": "17072", - "2a02:26f0:9401::/39": "20940", - "2402:8100:20d5::/46": "55644", - "2800:200:f0d0::/39": "12252", - "2804:10b4:200::/32": "263645", - "2c0f:f3c8::/43": "328112", - "2400:c400::/32": "45570", - "2401:3c0:105::/48": "45528", - "2401:d800:d540::/42": "7552", - "2804:3c78:f000::/48": "266214", - "2a01:130::/32": "8495", - "2a02:9a0::/32": "48514", - "2600:1488:a381::/37": "20940", - "2607:7e80::/35": "395354", - "2620:11d:500f::/48": "393732", - "2a02:26f7:f008::/48": "36183", - "2001:388:a099::/33": "7575", - "2001:559:210::/47": "7922", - "2001:4878:4242::/48": "12222", - "2806:2f0:5101::/42": "17072", - "2a04:1b00:10::/47": "61005", - "2400:ff00::/32": "132045", - "2801:17e::/44": "262589", - "2804:46c4::/32": "267010", - "2a07:9b00::/29": "202640", - "2a0f:c40::/29": "60262", - "2001:67c:548::/48": "56513", - "2804:2044::/32": "52774", - "2a0f:5701:fe01::/48": "56382", - "240a:a768::/32": "144546", - "2804:1dd8::/32": "264398", - "2a00:85c0:3::/45": "203315", - "2400:5280:f803::/48": "23724", - "240e:44d:3a00::/41": "140345", - "2620:103:200f::/48": "30539", - "2800:800:520::/44": "26611", - "2803:2180:1f::/48": "27941", - "2804:4830::/32": "267103", - "2a00:79e1:f000::/38": "36384", - "2a02:16d0::/32": "49855", - "2a0e:b105:724::/43": "20473", - "2001:559:3cf::/48": "33654", - "2001:1a11:9b::/42": "42298", - "2404:c880::/36": "135220", - "2804:5ce0::/32": "268936", - "2a02:26f7:dd81::/46": "20940", - "2001:1820:1b::/32": "12956", - "240a:a8a5::/32": "144863", - "2620:160:e700::/44": "10837", - "2803:e600:ffab::/41": "18809", - "2a00:f38::/32": "12297", - "2a0e:46c4:2910::/48": "138435", - "2c0f:fd98:8110::/48": "28698", - "2001:1248:84d1::/46": "11172", - "2405:d300:20::/48": "38809", - "2a01:110:9008::/48": "35106", - "2001:1a68:2::/48": "198430", - "2a09:a4c7:c000::/35": "208861", - "240a:a1b8::/32": "143090", - "2804:3a30::/32": "266076", - "2804:7fb0::/37": "271703", - "2c0f:ec60::/32": "37282", - "2001:1868::/32": "11404", - "2404:4600:fce::/48": "45991", - "2607:fb10:2035::/33": "2906", - "2800:800:7f0::/45": "26611", - "2804:6d44::/32": "270521", - "2a0e:3304::/32": "43312", - "2c0f:ea20::/32": "328526", - "2001:67c:21a4::/48": "5420", - "2001:fd8:264::/46": "132199", - "240a:a2e2::/32": "143388", - "2a01:b840::/32": "21321", - "2603:c020:8000::/35": "31898", - "2804:36a4::/32": "266361", - "2406:300::/32": "3462", - "240a:a9fe::/32": "145208", - "2804:3030::/32": "264935", - "2804:7824::/32": "271223", - "2a02:1608::/32": "12531", - "2a0e:fd45:40fb::/48": "136620", - "2001:4888:8027::/44": "6167", - "2804:25b4:ff01::/40": "264297", - "2806:105e:14::/44": "8151", - "2a02:548::/32": "35087", - "2a02:26f7:ccc5::/46": "20940", - "2a03:6b00:b::/32": "48832", - "2402:3a80:1b08::/42": "38266", - "2620:135:5000::/45": "26457", - "2a04:340::/29": "200828", - "2a0d:c0c0:3e1::/48": "59439", - "2001:b200::/37": "9505", - "240a:a06d::/32": "142759", - "2605:c4c0::/32": "398338", - "2606:2800:4ae8::/47": "15133", - "2a02:df40::/48": "61347", - "2a07:2900::/32": "33845", - "2001:470:a4::/48": "395681", - "240a:a00a::/32": "142660", - "2804:14d:fe00::/47": "28573", - "2a03:5960::/32": "201324", - "2a03:2887:ff0f::/43": "35819", - "240a:a05b::/32": "142741", - "2600:1402:2001::/35": "20940", - "2a02:7e00::/29": "57630", - "2a0d:5a00::/29": "3175", - "2403:6000:37::/39": "24085", - "2a02:2b18::/32": "35816", - "2401:4900:5850::/44": "45609", - "2402:800:34ee::/43": "7552", - "2620:10a:b080::/47": "15297", - "2804:7ecc::/32": "271648", - "2a01:430:11::/48": "51134", - "2a01:448::/41": "42585", - "2a06:2980::/29": "42695", - "240a:adea::/32": "146212", - "2a09:50c0::/48": "34775", - "2001:df1:1c80::/48": "139367", - "2804:35fc::/32": "266319", - "2a00:f28:2000::/36": "57187", - "2a00:1c18::/38": "31463", - "2604:af80:2448::/32": "18859", - "2800:160:17ab::/43": "14259", - "2803:4ce0::/32": "269905", - "2a02:26f7:cf48::/48": "36183", - "2001:559:8150::/48": "20214", - "2001:67c:276c::/48": "50622", - "2a02:2278:ffff::/48": "21343", - "2001:df0:f500::/48": "142379", - "2406:3000:3:2c::/45": "4657", - "240a:afda::/32": "146708", - "2600:1009:b070::/40": "22394", - "2001:559:c372::/48": "7725", - "2604:6b80::/32": "47020", - "2a02:2a00::/32": "12310", - "2001:559:550::/48": "7922", - "2402:5680:2000::/36": "133798", - "2408:870c::/44": "138421", - "2409:8004:3031::/41": "24547", - "2607:fc58:3000:44::/64": "13536", - "2804:1e20:9950::/48": "264409", - "2804:3274::/32": "265079", - "2a04:7440::/30": "196714", - "2a0c:480::/32": "50673", - "240a:a758::/32": "144530", - "2801:80:1e51::/48": "14026", - "2a06:cb80::/32": "60804", - "2400:b300::/47": "38470", - "2606:2800:4201::/48": "14153", - "2a02:ee80:4011::/48": "3573", - "2001:678:448::/48": "57760", - "2405:8a00:20c4::/42": "55824", - "2407:39c0::/32": "133653", - "2600:1806:120::/47": "16552", - "2606:b800::/32": "25983", - "2804:c50::/32": "262891", - "2a02:51c0::/32": "42277", - "2001:67c:2964::/48": "57330", - "2406:8540::/46": "141202", - "2610:b0:40da::/45": "3573", - "2404:8600:4800::/32": "17918", - "2405:8180:b00::/37": "135478", - "2604:9100:1001::/48": "14313", - "2804:2728:8202::/33": "263880", - "2a01:9700:1600::/42": "8376", - "2a02:ac80::/43": "25145", - "2a06:e881:550d::/46": "209864", - "2a0e:47c7:1000::/48": "208259", - "2001:559:567::/48": "33657", - "2404:bf40:8781::/36": "139084", - "2600:140b:a801::/37": "20940", - "2620:c6::/48": "63056", - "2804:348c::/32": "265464", - "2a02:508::/32": "8473", - "2a06:98c0:1000::/48": "203898", - "2001:559:c3e4::/48": "7016", - "2001:67c:2c0::/48": "49014", - "2001:67c:2c68::/48": "62396", - "240e:3b1:1800::/34": "4134", - "240e:67c:e600::/31": "4134", - "2600:141b:f001::/29": "20940", - "2803:e880:fff1::/44": "52468", - "2803:fe60::/32": "262186", - "2804:3e60:500::/32": "266592", - "2001:559:85f2::/48": "33652", - "2001:44b8:2043::/45": "7545", - "2606:f700::/32": "54359", - "2620:149:a0b::/48": "714", - "2803:f80::/32": "263726", - "2001:468:ef01::/48": "396955", - "240a:a520::/32": "143962", - "240e:67d:c600::/34": "4134", - "2605:1980:105::/46": "13951", - "2800:bf0:2000::/48": "52257", - "2803:800::/45": "25607", - "2408:8956:7300::/40": "17816", - "2600:1013:b0e0::/33": "6167", - "2600:140b:5401::/36": "20940", - "2001:43f8:d60::/48": "328162", - "2407:f800:800::/40": "38182", - "2a02:26f7:c1c0::/48": "36183", - "2a07:cbc0::/39": "201299", - "2001:df6:2580::/48": "135738", - "2001:fd8:e8::/39": "4775", - "2404:ba00:4::/48": "17665", - "240a:af6f::/32": "146601", - "2a04:4e40:5e30::/41": "54113", - "2804:1e38:2018::/33": "264415", - "240a:ac0f::/32": "145737", - "2605:3380:4000::/39": "12025", - "2607:6100:1000::/45": "54380", - "2607:a800:202::/48": "15695", - "2620:139:6002::/48": "22600", - "2804:b8c::/32": "52794", - "2804:1888::/32": "61938", - "2604:4d40:7cb9::/48": "399196", - "2620:119:35::/48": "36692", - "2804:1ba4::/32": "61741", - "2804:2720::/32": "263878", - "2800:160:201b::/42": "14259", - "2a03:7740::/32": "39232", - "2001:559:8483::/48": "22258", - "240a:ae73::/32": "146349", - "2a00:4800:3f0::/37": "13124", - "2a03:4bc0:2000::/48": "30893", - "2407:74c0::/32": "138864", - "2a03:5ae0::/32": "49944", - "2801:80:2350::/48": "267300", - "2a01:b000::/44": "35266", - "2a09:9c40::/29": "209148", - "2001:df0:318::/47": "136601", - "2804:4924::/44": "267167", - "2804:4f90:300::/32": "268335", - "2a07:22c1:ffe6::/44": "57164", - "2a0e:b107:fb3::/48": "211704", - "2001:559:8465::/48": "33654", - "2401:d800:fe20::/41": "7552", - "2804:14c:7d00::/40": "28573", - "2804:6018::/32": "269145", - "2a07:91c0::/29": "47304", - "2a0f:5140::/29": "209372", - "2001:559:72e::/48": "7015", - "2001:559:821d::/48": "20214", - "2402:c180::/32": "134503", - "2405:ec00:1101::/32": "23955", - "240a:a209::/32": "143171", - "2605:f540::/32": "398712", - "2804:7efc::/38": "271659", - "2001:559:7f9::/48": "33491", - "2001:678:474::/48": "205866", - "2600:1f01:4820::/47": "16509", - "2a00:b400::/31": "12857", - "2001:67c:368::/48": "12509", - "2001:df0:b6::/48": "63510", - "2402:800:357f::/40": "7552", - "2408:8642::/32": "4837", - "2402:dfc0::/44": "4808", - "240a:a93d::/32": "145015", - "240e:1f:7000::/36": "134763", - "2803:2b00:1101::/46": "52468", - "2804:116c::/32": "263675", - "2400:adc7:3000::/39": "9541", - "2402:28c0:ffae::/48": "137910", - "2a01:6480:2::/44": "29049", - "2001:559:2f3::/48": "33657", - "2402:f840::/47": "137883", - "240a:a249::/32": "143235", - "2605:c640:10a::/32": "62538", - "2620:53:2000::/48": "6521", - "2804:2ae4:4000::/36": "13878", - "2401:ff80:158f::/43": "133954", - "2607:fcc8:afc1::/33": "10796", - "2a02:2070:ffff::/48": "31560", - "2a03:3620::/32": "48522", - "240a:a6e0::/32": "144410", - "240a:aa04::/32": "145214", - "2600:140f:e00::/48": "9498", - "2600:1801:12::/47": "16552", - "2605:6c80:7::/48": "40676", - "2804:370c::/32": "266386", - "2001:c20:487f::/40": "3758", - "2a01:5bc0::/32": "48298", - "240a:adb0::/32": "146154", - "240e:473:5850::/39": "4134", - "2a02:26f7:f701::/46": "20940", - "2408:8409:3000::/40": "4808", - "2001:559:367::/48": "33657", - "2001:67c:29fc::/48": "30923", - "2a01:448:72::/48": "20559", - "2a01:c50e:c00::/35": "12479", - "2405:aac0:221::/46": "139949", - "2409:8d0c::/30": "56042", - "240e:44d:880::/41": "4134", - "2a02:26f7:d4c8::/47": "36183", - "2a02:2e02:95b0::/38": "12479", - "2403:20c0:2::/47": "137945", - "2600:100d:b1f0::/36": "22394", - "2605:1600::/32": "17143", - "2001:559:c39f::/48": "33651", - "2001:f98::/32": "17683", - "2408:8459:1f10::/42": "17623", - "2602:801:f00d::/46": "32590", - "2803:5440:cace::/48": "264738", - "2a04:5300::/29": "13135", - "2402:8400:600::/39": "17820", - "240a:a861::/32": "144795", - "2600:1417:3801::/33": "20940", - "2a00:18f8::/32": "31416", - "2a01:9580:8000::/34": "49544", - "2a0a:7240::/32": "206082", - "2a0d:b000::/29": "12637", - "2402:800:76c0::/42": "7552", - "2403:2c00:c::/32": "4058", - "240a:ad62::/32": "146076", - "2604:880:26::/47": "29802", - "2a01:8840:15::/48": "207266", - "2001:fb0:109f::/59": "7470", - "2408:8256:3888::/48": "17816", - "240a:a2b9::/32": "143347", - "240a:ab36::/32": "145520", - "2804:1784::/39": "263152", - "2804:2f10::/32": "264869", - "2806:103e:9::/48": "8151", - "2a02:4c00::/39": "12676", - "2605:900::/32": "12110", - "2a00:ad87:c00::/48": "42525", - "2a0b:2d80::/32": "212521", - "2001:67c:1240::/48": "198812", - "2400:cb00:326::/48": "13335", - "2804:648::/32": "53038", - "2401:4900:5c70::/44": "45609", - "240e:473:3b50::/40": "4134", - "240e:97d:3000::/36": "4134", - "2600:1419:1b::/48": "4230", - "2a02:1308::/29": "196922", - "2a02:1318::/32": "25054", - "2409:8a52:1100::/31": "56047", - "240a:a36c::/32": "143526", - "240a:aee8::/32": "146466", - "2600:1017:a810::/35": "6167", - "2804:40a8::/32": "28173", - "2402:800:9363::/43": "7552", - "2a02:26f7:fbc9::/42": "20940", - "2402:800:99b7::/41": "7552", - "2610:130:3401::/48": "398119", - "2620:79:c000::/48": "62903", - "2a03:1980:d400::/40": "48260", - "2a07:a107::/32": "202701", - "2001:1938:0:5000::/52": "34305", - "2408:8256:3d7f::/48": "17816", - "2409:8c28:7ce1::/39": "56041", - "2a02:188:1005::/33": "31027", - "2400:4d40:f001::/36": "134204", - "2404:2400:110::/40": "56132", - "2a02:2af8:130::/38": "702", - "2a0b:6b83:2000::/48": "208249", - "2a0f:cfc0::/32": "207729", - "2a10:df40::/29": "211458", - "2403:1000:3100::/40": "38819", - "240a:ab13::/32": "145485", - "2800:486::/32": "14080", - "2001:1248:5741::/44": "11172", - "2406:da70:a000::/40": "16509", - "2409:8904:5160::/38": "24547", - "2804:151:3::/41": "10954", - "2806:2f0:2084::/43": "22884", - "2001:550:7705::/46": "174", - "2001:559:867a::/48": "33651", - "2408:84f3:e410::/42": "134543", - "2409:8087:2900::/35": "9808", - "240e:44d:7880::/41": "4134", - "2600:100e:a010::/39": "6167", - "2804:3bd0::/32": "266172", - "2a00:1f78:ffff::/48": "8893", - "2a0f:5707:af05::/48": "211358", - "2a10:afc0:e010::/44": "212794", - "2c0f:f6d0:b::/43": "327687", - "2001:14b8::/29": "16086", - "2409:8739::/30": "9808", - "240a:ab5c::/32": "145558", - "2605:8900:5000::/36": "3800", - "2801:1c6::/44": "19429", - "2a02:26f7:f5c0::/48": "36183", - "2a0c:9a40:80a6::/48": "51861", - "2409:8924:1500::/38": "56046", - "240a:a6b5::/32": "144367", - "2600:1404:ac00::/48": "35994", - "2804:14c:4a3::/45": "28573", - "2a00:1788::/40": "31167", - "2a03:94a0::/32": "203752", - "2001:768::/32": "8356", - "2001:1388:8411::/41": "6147", - "2401:ff80:1101::/46": "133954", - "2406:3000:4f:200::/35": "4657", - "240e:438:1220::/43": "140647", - "2600:140b:3c01::/33": "20940", - "2804:34f4::/32": "265491", - "2607:2a00::/47": "29909", - "2a03:f80:852::/48": "9009", - "2a0e:5700::/32": "58291", - "2001:fd8:21d8::/42": "4775", - "2001:4878:27::/48": "12222", - "2408:8957:4900::/40": "17816", - "2804:1a64::/32": "14457", - "2a03:5800::/32": "31214", - "2a0e:97c0:120::/44": "211977", - "2001:470:b3::/44": "6939", - "2408:8456:6040::/39": "17816", - "240a:a72b::/32": "144485", - "2600:400:3e10::/32": "15147", - "2a05:8900:36::/48": "199159", - "2a0e:97c5:6c0::/45": "20473", - "2a0e:fd45:dce::/47": "212085", - "2001:678:e00::/48": "44471", - "2001:fd8:3440::/42": "132199", - "2001:b28:7b0d::/32": "42065", - "2001:1388:8a80::/46": "264684", - "2600:1417:2a::/47": "24319", - "2600:6c38:126::/44": "20115", - "2a0e:3a80::/32": "47454", - "2404:bf40:e005::/48": "2764", - "2600:370f:20a3::/41": "32261", - "2607:f298:6050::/44": "26347", - "2804:4d48::/33": "53115", - "2a03:79a0::/32": "47989", - "2a0b:a180::/29": "41038", - "2c0f:ef48::/32": "328339", - "2600:1a0e:2001::/37": "46650", - "2610:b0:4032::/45": "3573", - "2a0f:9400:770f::/48": "211266", - "2001:df2:c980::/48": "140421", - "240e:12:9800::/33": "4134", - "2402:d600::/32": "17948", - "240a:a8c8::/32": "144898", - "240e:980:9b00::/31": "4134", - "2804:14d:2a77::/44": "28573", - "2a0e:fd45:6::/48": "213285", - "2001:678:c20::/48": "200303", - "2001:13c7:6007::/48": "52294", - "2405:1c0:6253::/42": "55303", - "240e:5f:6010::/26": "4134", - "2a02:2aa0::/39": "702", - "2a09:4dc0::/32": "196822", - "2a0e:ac40::/29": "202966", - "2401:d800:720::/41": "7552", - "2401:d800:b40::/42": "7552", - "240e:473:7720::/41": "140486", - "2a01:6400::/32": "21430", - "2a02:2ad0:639::/45": "702", - "2a0e:6540:d32::/48": "208364", - "2804:7ce8::/32": "271526", - "240a:aa4b::/32": "145285", - "240a:ac80::/32": "145850", - "240e:473:4750::/40": "4134", - "2602:fdeb::/36": "40818", - "2606:23c0::/32": "399228", - "2804:1c1c:4001::/36": "61638", - "2804:4130::/32": "266009", - "2a02:2800::/29": "15388", - "2a0b:86c0::/30": "202120", - "2001:df0:69::/48": "41625", - "2400:ea00:3560::/47": "23884", - "2401:5940::/32": "135253", - "240a:afe4::/32": "146718", - "2605:b100:400::/40": "577", - "2a00:9120:1::/46": "60680", - "2a0d:3440::/29": "49223", - "2a0f:5701:3506::/48": "205593", - "2001:559:4f9::/48": "33287", - "2402:9d80:a04::/46": "131429", - "2407:b000::/33": "17819", - "2800:4f0:b::/48": "28006", - "2a02:2488::/32": "29413", - "2a03:5d80::/32": "44858", - "2a06:5600:28f8::/48": "50297", - "2604:880:3ad::/41": "29802", - "2804:5e08:280::/39": "269007", - "2806:2a0:1c::/40": "28548", - "2001:420:c0f0::/34": "109", - "2409:8900::/31": "56048", - "2604:b300:ad03::/48": "394896", - "2a0c:44c0:1::/46": "198611", - "2405:1c0:6165::/43": "55303", - "2a00:1730::/32": "25549", - "240e:44d:6a80::/41": "4134", - "2804:6b48::/32": "270390", - "2a02:6900:8808::/47": "43894", - "2600:1003:d420::/34": "22394", - "2801:80:1280::/48": "263859", - "2801:80:2a00::/44": "271107", - "2a05:d03a:e000::/40": "16509", - "2a07:3500:1c30::/48": "207894", - "2001:470:32::/48": "19969", - "2804:44b8::/32": "267649", - "2804:4f04::/32": "268298", - "2a03:8180:1800::/39": "36351", - "2001:559:8112::/48": "20214", - "2408:8456:1e00::/42": "17622", - "2409:8924:9f00::/34": "56046", - "2620:1f:8004::/48": "10908", - "2804:2ca4:4100::/32": "265232", - "2a00:ea0::/29": "202204", - "2a09:bac0:108::/48": "395747", - "240a:a8f6::/32": "144944", - "2602:ffe4:c11::/44": "21859", - "2605:5fc0::/32": "397881", - "2605:e700:3000::/32": "6913", - "2a05:dfc7:5353::/48": "204136", - "2a07:4b00::/29": "48813", - "2a10:cbc7:1::/32": "49778", - "2401:9f00::/32": "9925", - "2408:8459:3240::/37": "17816", - "240e:3be:1400::/38": "134773", - "2a04:4e40:5010::/41": "54113", - "2408:84f3:3460::/40": "17623", - "2804:405c::/32": "265954", - "2403:1940:acc1::/46": "137935", - "2803:d100:e5c0::/42": "52362", - "2a02:26f7:7b::/48": "20940", - "2a0a:6040:407e::/48": "209870", - "2001:559:80fa::/48": "33489", - "2001:4878:a062::/48": "12222", - "2001:49f0:a000::/44": "174", - "2600:1406:fc00::/48": "35994", - "2620:129:4000::/40": "62909", - "2804:16d0::/32": "52697", - "2a06:7a07::/43": "49072", - "2001:468:503::/44": "14041", - "2804:14c:a985::/44": "28573", - "2001:12f0:f79::/40": "1916", - "2801:80:3d0::/48": "263076", - "2403:6640:8000::/33": "136516", - "2406:3540:2::/48": "17415", - "2407:1e40:201::/39": "141732", - "2600:1408:1d::/42": "20940", - "2620:112:c000::/40": "29899", - "2a01:300:6a::/43": "9009", - "2001:67c:2748::/48": "51810", - "240a:aba8::/32": "145634", - "2605:a404:be9::/37": "33363", - "2606:9100:9000::/36": "1421", - "2a00:1de0::/32": "38915", - "2a04:4e42:80::/38": "54113", - "2405:4440::/32": "137578", - "2406:c3c0::/32": "134823", - "2600:803:639::/35": "701", - "2a00:bdc0:f000::/36": "47542", - "2a04:6f00::/32": "3214", - "2001:678:254::/48": "47251", - "2401:3480:3000::/36": "58466", - "2404:8000:8c::/43": "17451", - "2407:42c0::/32": "135188", - "240a:a8ea::/32": "144932", - "2602:ff68::/36": "63436", - "2a00:5820::/32": "41853", - "2401:78c0:2::/32": "56150", - "2402:800:b8f0::/39": "7552", - "2403:ad80:10::/48": "36351", - "2405:7600::/47": "23956", - "2001:559:c20a::/48": "33491", - "2800:440:146::/48": "27738", - "2803:ec60::/32": "267850", - "2804:77c:501::/32": "53222", - "2804:2da8::/32": "265295", - "2804:375c::/32": "266406", - "2804:3818::/32": "266456", - "2001:ce0:4::/48": "4616", - "240a:a4c1::/32": "143867", - "2605:34c0:f000::/36": "397449", - "2804:30b0::/32": "264969", - "2804:54e8::/32": "268677", - "2a0b:11c0:92::/48": "198682", - "2605:5b00::/32": "15317", - "2620:0:10::/48": "18694", - "2804:4aa8::/32": "267255", - "2a02:2890:ffff::/31": "51185", - "2001:16b8:1900::/37": "8881", - "2001:4b22:12::/64": "65505", - "2a0f:6580:106::/48": "60707", - "2602:feb4:d0::/44": "25961", - "2605:6440:100a::/36": "396356", - "2804:7724::/32": "271158", - "2a0d:20c0::/29": "200689", - "2a0f:8380::/29": "13045", - "2001:1a11:7e::/40": "8781", - "2408:8459:5850::/38": "17816", - "240e:965:8800::/38": "133775", - "2605:9d80:8031::/48": "4134", - "2804:4a18::/32": "267218", - "2001:559:2ab::/48": "7922", - "2001:128c:2004::/33": "25933", - "2400:8c80::/32": "132158", - "2407:ca40:40::/48": "142502", - "2001:67c:6c::/48": "1850", - "2001:67c:1320::/48": "61183", - "240a:3:b90::/44": "9605", - "2600:6:ff06::/44": "10507", - "2a01:4a40::/32": "44814", - "2400:8b00:700::/42": "45727", - "2604:d600:161a::/47": "32098", - "2a02:2ba8::/32": "14717", - "2603:8000::/28": "20001", - "2620:79:3::/45": "30013", - "2804:6090::/32": "269177", - "2a02:26f7:b7c5::/46": "20940", - "2a0c:b641:220::/48": "210890", - "2c0f:2e00::/32": "328578", - "2001:559:c139::/46": "33652", - "2408:8256:3380::/43": "17623", - "2001:ee0:7ec0::/32": "45899", - "2404:8600::/33": "17918", - "240a:a27e::/32": "143288", - "240a:adc8::/32": "146178", - "2620:100:9008::/47": "13916", - "2a0f:af00::/32": "20626", - "2620:1ec:90a::/47": "8075", - "2604:d600:554::/44": "32098", - "2804:7fe4::/32": "271716", - "2001:44b8:503a::/34": "4739", - "240a:a08b::/32": "142789", - "240e:3b1:8200::/35": "140316", - "2600:370f:3680::/42": "32261", - "2800:640::/32": "262149", - "2a05:b680:1::/48": "34450", - "2001:978:801:1::/40": "174", - "2600:100f:b1e0::/33": "22394", - "2603:c0f9::/36": "20054", - "2a05:e780::/29": "52115", - "2a06:1ec7::/32": "49832", - "240a:a674::/32": "144302", - "240a:ac4f::/32": "145801", - "2a02:26f7:c844::/48": "36183", - "2a0c:9a40:1070::/44": "34927", - "2a10:4140::/29": "206478", - "2402:800:b010::/42": "7552", - "2600:6c38:c0b::/45": "20115", - "2603:c0f1:2000::/36": "6142", - "2804:1c50::/32": "61649", - "2806:230:4033::/48": "11888", - "2001:678:5d4::/48": "3320", - "2001:67c:1064::/48": "51088", - "2607:fef8:ffe0::/46": "13750", - "2806:230:3028::/48": "265594", - "2a00:4800:230::/39": "13124", - "2a03:7380:1f40::/40": "13188", - "2804:67c8::/32": "269650", - "2001:67c:664::/48": "42528", - "2001:67c:21d0::/48": "35096", - "2001:1248:a4ca::/47": "11172", - "2407:2a00::/32": "55832", - "240a:a352::/32": "143500", - "240e:1:a800::/33": "4134", - "2804:1b1c:f000::/36": "61709", - "2a04:5bc0:1::/46": "28695", - "2001:559:861e::/48": "7922", - "2401:4f00::/32": "38328", - "2606:2800:6002::/45": "15133", - "2a00:aac0::/29": "25375", - "2a05:87c0::/29": "198440", - "2001:559:307::/48": "33489", - "2403:b900::/32": "4382", - "2607:fcd0:fa80:9405::/42": "8100", - "2620:12b:d000::/46": "35873", - "2402:800:5ac5::/43": "7552", - "2605:1580::/32": "32732", - "2804:14c:65e5::/43": "28573", - "2804:1788::/32": "263153", - "2a04:9540::/29": "51265", - "240a:a17f::/32": "143033", - "240e:473:ae00::/41": "140485", - "2620:138:301e::/48": "23344", - "2804:35d0::/32": "266308", - "2800:860:b0b::/48": "20299", - "2804:315c::/32": "265009", - "2a0b:4d80::/29": "206492", - "2001:4478:5800::/39": "4739", - "2800:be0::/38": "267848", - "2804:5204::/32": "268490", - "2a0e:800:ff03::/45": "209083", - "2a0e:b107:18::/48": "210814", - "2401:d800:d4e0::/39": "7552", - "2605:1080:0:ffee::/47": "23367", - "2606:4700:42c8::/45": "13335", - "2620:11f:7000::/46": "13737", - "2801:1fc:1c::/48": "27951", - "2a0c:f780::/29": "210321", - "2604:4ec0::/35": "396480", - "2a02:26f7:da80::/48": "36183", - "2a07:1c40:1030::/46": "209089", - "2001:438:7e::/32": "6461", - "2401:d800:d960::/40": "7552", - "2406:e300:2::/32": "45250", - "240a:a998::/32": "145106", - "2804:14c:479::/40": "28573", - "2804:14d:1a00::/40": "28573", - "2804:cd0::/32": "52557", - "2a00:67c0::/32": "57660", - "2a0f:5707:aa80::/44": "56382", - "2001:559:8169::/48": "7015", - "2401:4900:3a00::/42": "45609", - "2405:4000:aab::/32": "38082", - "240a:aede::/32": "146456", - "2806:230:4014::/48": "265594", - "2a02:26f7:edc1::/46": "20940", - "2001:67c:214c::/48": "24909", - "2001:1938:b00c::/33": "12989", - "2400:a980:3000::/40": "133513", - "240a:a2a7::/32": "143329", - "2001:67c:1a8::/48": "1200", - "2602:803:9000::/46": "17138", - "2800:bf0:2440::/48": "52257", - "2600:1004:d140::/34": "22394", - "2600:140f:9800::/48": "9498", - "2804:31a8::/32": "265029", - "2804:67b0::/32": "269644", - "2406:5a00::/32": "55850", - "2620:74:78::/48": "30060", - "2a02:8801::/32": "5089", - "2600:8807:9400::/36": "22773", - "2603:4:1700::/48": "44273", - "2a0a:ec02:a01::/48": "42692", - "2001:4948::/32": "7782", - "2402:800:9855::/42": "7552", - "2407:62c0::/32": "38854", - "240e:3bd:c800::/37": "4134", - "2a00:7e40:9ac1::/48": "1301", - "2607:f250:d020::/48": "7046", - "2620:107:90d0::/48": "22787", - "2a00:eaa0::/32": "59842", - "2a02:2778::/32": "35665", - "2a04:95c0::/29": "29611", - "2a05:2607::/32": "57948", - "2001:44c8:45b0::/44": "45430", - "2804:cf8:c::/46": "52580", - "2a02:26f7:b98a::/48": "36183", - "2001:418:1401:10::/60": "2914", - "2403:8600:80e0::/43": "45820", - "2605:bb00:1004::/34": "4213", - "2803:bc40:810d::/34": "52468", - "2a10:ad40::/29": "211656", - "2400:cb00:90::/48": "13335", - "2405:6e00:450::/42": "18291", - "2605:c540:c000::/48": "398378", - "2804:3bd4::/32": "266173", - "2804:6474::/33": "269429", - "2a10:b200::/32": "56347", - "240e:a5:5000::/32": "4134", - "2600:6c38:c2f::/39": "20115", - "2605:9180::/32": "53597", - "2605:f440:5600::/41": "50555", - "2806:106e:22::/45": "8151", - "2405:6800::/35": "18207", - "2409:8000:1000::/40": "56048", - "2606:f900:6100::/46": "16583", - "2a02:a68::/32": "39574", - "2a06:3b80:21::/46": "206614", - "2a06:6541:1000::/48": "34893", - "2a09:3d05::/30": "208861", - "2403:df40::/43": "14630", - "2804:7dc::/32": "262329", - "2001:df0:d680::/46": "139287", - "2001:559:85e3::/48": "22909", - "2001:1ae8::/31": "13036", - "2606:1980:102::/48": "54994", - "2408:8957:9200::/40": "17622", - "2600:1003:b0e0::/43": "22394", - "2605:c800::/32": "393924", - "2804:357c::/32": "266289", - "2804:3718::/32": "266389", - "2a02:cbf0::/29": "61157", - "2001:559:85cb::/48": "7015", - "2001:df6:e100::/48": "138359", - "2001:16a2:b20c::/43": "25019", - "2408:8956:9e00::/40": "17622", - "240e:108:11d9::/45": "4134", - "240e:438:2420::/43": "140647", - "2a01:9700:132c::/46": "8376", - "2001:410:102::/48": "53904", - "2001:678:abc::/48": "29186", - "2001:1218:600e::/43": "278", - "2403:fd40:1001::/46": "132372", - "2001:678:680::/48": "25223", - "2402:800:73c0::/42": "7552", - "2607:f7c8:701::/32": "36221", - "2a01:788:4::/48": "34305", - "2a02:7040::/32": "199236", - "2804:1bf0:facf::/37": "61758", - "2a02:2aa8:310::/42": "702", - "2001:16b8::/36": "8881", - "2a03:d5c0:a000::/40": "199391", - "2001:559:2e5::/46": "33651", - "2001:559:8555::/48": "33654", - "2404:f100::/37": "17483", - "2804:ed8::/32": "28343", - "2a02:26f7:e085::/46": "20940", - "2001:559:c143::/48": "7015", - "2001:13c7:600d::/48": "52359", - "2607:ff28:e000::/35": "62904", - "2610:a1:300c::/48": "12008", - "2401:d800:5240::/42": "7552", - "2001:559:8126::/48": "33651", - "2001:67c:2d0::/48": "21155", - "2404:4f00:3045::/32": "17819", - "240e:6:d021::/39": "4134", - "2804:ae0::/34": "28352", - "2001:418:1401:7d::/64": "20940", - "2001:67c:17a4::/48": "59891", - "2602:ff16:1::/44": "29802", - "2001:559:871c::/48": "7015", - "2402:800:7f50::/42": "7552", - "240e:67e:c400::/39": "140330", - "2606:2800:4a18::/46": "15133", - "2804:2a44::/32": "264064", - "2a02:6721::/32": "44631", - "2408:815f:e000::/35": "4837", - "2604:d600:129a::/39": "32098", - "2605:a401:87b4::/41": "33363", - "2607:6000:d00::/40": "12189", - "2800:4f0:500::/41": "28006", - "2804:7b78::/32": "271434", - "2a02:2c40::/32": "2611", - "2406:2e00::/32": "17648", - "2804:6fc8:8800::/35": "270684", - "2a01:7d80:2400::/40": "62214", - "2a02:ac80:a1::/43": "25145", - "2a09:2941::/32": "207996", - "2a02:26f7:bb41::/45": "20940", - "2001:67c:244::/48": "39822", - "2001:e30:1c1e::/48": "2697", - "2001:1248:9601::/43": "11172", - "2408:8459:5830::/41": "17622", - "240a:a340::/32": "143482", - "2a04:f180::/29": "42695", - "240a:a3c0::/32": "143610", - "2600:33e0::/27": "398197", - "2607:4100::/34": "19171", - "2a0f:5680:4::/32": "60906", - "2800:440:1400::/42": "27738", - "2405:fa80::/32": "132894", - "2804:2d5c::/32": "265277", - "2a02:798::/32": "31688", - "2a02:26f7:bd84::/48": "36183", - "2a07:b440::/29": "43366", - "240a:ac32::/32": "145772", - "2a06:1d00::/29": "30875", - "2804:3ab0::/32": "266103", - "2001:559:3b7::/48": "13367", - "2001:559:83d4::/48": "7015", - "2001:dcc:401::/48": "23599", - "2604:8500::/32": "25769", - "2607:fcd0:fa80:901::/51": "8100", - "2804:774:400::/32": "52858", - "2804:1468:9000::/33": "263328", - "2a01:367:cff4::/35": "30823", - "2001:678:58c::/48": "204926", - "2001:67c:2b38::/48": "16101", - "2409:804e:3900::/31": "9808", - "2600:1406:9c00::/48": "35994", - "2800:bf0:103::/48": "27947", - "2a00:ae20::/32": "60501", - "2001:700::/32": "224", - "2405:9600::/32": "20940", - "2c0f:f0c0::/31": "37035", - "2001:428:3808::/33": "209", - "2402:800:3e20::/43": "7552", - "2800:a90::/32": "262195", - "2804:1ca4:8041::/40": "263010", - "2a00:1ff8::/32": "47138", - "2a06:6180::/29": "34941", - "2001:559:1d8::/48": "33287", - "2400:cb00:a460::/48": "13335", - "2a04:fb00:1::/48": "39315", - "2404:4e00:3::/45": "32787", - "2407:e400::/32": "18390", - "240a:a669::/32": "144291", - "240e:250:400::/35": "4134", - "240e:67c:c600::/34": "4134", - "2603:d000::/24": "30600", - "2610:60::/32": "29748", - "2001:67c:598::/48": "206897", - "2001:44c8:3200::/36": "45430", - "2806:1040:fc::/48": "20940", - "2a02:26f7:cb::/45": "20940", - "240b:4003:fd95::/46": "45102", - "240e:473:1400::/41": "140485", - "2a02:26f7:ac::/48": "36183", - "2001:df6:4900::/48": "139195", - "2409:8c54::/32": "56040", - "240a:a4cf::/32": "143881", - "2804:3180:301::/32": "265019", - "2a02:2aa8:330::/32": "702", - "2a0d:8580::/32": "204572", - "2a00:1a98::/32": "21107", - "2001:559:c2d4::/48": "7922", - "2001:4048::/39": "33922", - "2400:a600::/32": "55803", - "2406:3001:22:a::/47": "4657", - "2620:2f::/48": "32638", - "2804:75c::/32": "262637", - "2804:45e4:7d10::/32": "262567", - "2400:c540::/46": "59238", - "2804:2050:5a7f::/40": "264485", - "2804:3b1c::/32": "266130", - "2a02:598:4445::/32": "43037", - "2401:d800:22f0::/39": "7552", - "2404:3a80::/32": "135063", - "2404:4a00:6500::/64": "55423", - "2409:8904:33a0::/37": "24547", - "2600:c07::/48": "29791", - "2602:231::/32": "5056", - "2804:7e20::/32": "271604", - "2a02:1388:5000::/29": "29247", - "2a09:a7c4::/30": "13030", - "2405:7f00:c220::/36": "133414", - "2405:9800:c::/43": "45430", - "240e:473:8850::/39": "4134", - "240e:964:cb00::/40": "133776", - "2600:6000:f003::/48": "11351", - "2a0b:3c40:11::/46": "208258", - "2600:1413:1000::/48": "24319", - "2600:141b:7801::/32": "20940", - "2001:678:e8c::/48": "212518", - "2400:cb00:397::/44": "13335", - "2a02:fe8::/31": "39686", - "2a06:e0c0::/30": "28769", - "2001:b88::/33": "33915", - "2620:2a:c000::/48": "13977", - "2804:38a8::/32": "266492", - "2801:1fc:28::/48": "27951", - "2a02:320::/29": "8351", - "2a09:6d40::/32": "60349", - "2a0b:25c0::/29": "58243", - "2405:ba00:8701::/48": "2764", - "2408:8000:c040::/31": "4837", - "240a:ae1d::/32": "146263", - "2a00:d28::/32": "31662", - "2a02:26f7:c891::/46": "20940", - "2402:800:b100::/42": "7552", - "2409:8752:1100::/31": "56047", - "2804:2598::/32": "264290", - "240e:1f:cf00::/40": "134774", - "2801:11e:2::/47": "3816", - "2a03:4ca0::/32": "208154", - "2600:3006:1400::/31": "13649", - "2a02:26f7:d1c0::/48": "36183", - "2a0d:5087:1a2c::/48": "34202", - "2001:67c:2894::/48": "3292", - "2408:8459:2110::/42": "17623", - "240a:abe3::/32": "145693", - "2604:4b4f::/32": "396420", - "2806:2f0:43a1::/41": "17072", - "2a01:7420::/32": "200924", - "2a03:e700::/32": "8922", - "2001:678:4::/47": "42909", - "2607:ffe0::/32": "33541", - "2a09:4d40::/32": "44812", - "2800:160:14e1::/46": "14259", - "2a02:26f0:a301::/37": "20940", - "2a05:7140::/29": "25455", - "2c0f:f0b8::/32": "37123", - "2001:df6:9500::/48": "137671", - "2408:8957:3200::/40": "17622", - "2a03:efc0:1300::/40": "33438", - "2001:df3:5d00::/48": "137204", - "2402:800:9ea0::/43": "7552", - "2a0d:ee80::/32": "42061", - "2a0e:97c5:700::/46": "20473", - "2606:3c0::/32": "399016", - "2804:c6c::/32": "52704", - "2804:5d24::/32": "268953", - "2806:230:5017::/36": "11888", - "2806:2f0:8141::/42": "17072", - "2a02:2e02:3a90::/39": "12479", - "2408:8456:4410::/42": "134543", - "240e:b7:8000::/28": "4134", - "240e:982:3000::/39": "137693", - "2600:9000:11bd::/48": "16509", - "2a02:26f7:e1c1::/46": "20940", - "2a05:1082:5::/48": "136918", - "2001:16d8:afff::/35": "16150", - "240a:a07d::/32": "142775", - "2804:4a90::/32": "267249", - "2a03:6f01:1::/48": "9123", - "240e:473:7550::/40": "4134", - "240e:981:e000::/39": "137687", - "2800:370:150::/42": "28006", - "2803:2320::/32": "266721", - "2a00:9260::/32": "60690", - "2001:df0:a300::/48": "17990", - "2401:8800:e00::/40": "17439", - "2a00:6060::/33": "60983", - "2a0c:dc80::/32": "208033", - "2804:145c:c002::/42": "263327", - "2001:400:b15::/44": "293", - "2001:418:1401:1::/64": "3949", - "2001:559:2f4::/46": "33287", - "2402:9900:211::/48": "27435", - "240a:ad30::/32": "146026", - "2602:fe25::/44": "33174", - "2605:ed00::/37": "11427", - "2804:61c8::/32": "269256", - "2a04:f580:9030::/48": "4809", - "2a00:4e80::/32": "12754", - "2a04:9301::/29": "1764", - "2a02:4a40:108::/48": "50994", - "2401:c900:1800::/40": "36351", - "240a:a7ac::/32": "144614", - "2600:d402::/28": "1403", - "2604:d600:155a::/45": "32098", - "2804:37a4::/36": "262543", - "2a02:16a::/31": "13030", - "2a02:26f7:d4c0::/48": "36183", - "2a09:be40:be00::/44": "211942", - "2803:6000::/32": "52228", - "2803:e600:cac4::/44": "18809", - "2804:24cc::/47": "264242", - "2a02:2010:20a0::/45": "20978", - "2001:678:d44::/48": "213279", - "2407:7200:2::/33": "10098", - "2a00:11c0::/44": "42473", - "2a03:3580::/32": "42082", - "2001:559:c116::/48": "7015", - "2607:f740:e635::/44": "63911", - "2a01:2a8::/29": "1836", - "2001:1bc0::/31": "29686", - "2404:f4c0:feff::/48": "139249", - "2408:8957:b400::/40": "17622", - "2804:2138::/32": "264543", - "2a10:6900::/29": "398559", - "2602:ff79::/32": "30257", - "2804:6e28::/32": "270579", - "2a02:26f7:dd08::/48": "36183", - "2602:ff42::/36": "7018", - "2804:6830::/32": "269674", - "2a01:bf40::/32": "15691", - "2001:559:216::/48": "7016", - "2408:8459:2150::/38": "17816", - "2804:14d:4ced::/46": "28573", - "2804:5eb0:2000::/32": "269050", - "2a02:26f0:da01::/39": "20940", - "2001:418:1466::/48": "396370", - "240b:4000::/30": "45102", - "240e:473:6b50::/40": "4134", - "2001:678:670::/48": "197880", - "2001:44b8:3b::/48": "4739", - "2605:6e00::/32": "40298", - "2605:a401:8bbc::/41": "33363", - "2a03:5840:10a::/48": "213073", - "2001:678:be4::/48": "207647", - "2001:67c:638::/48": "60059", - "2001:1bb8::/32": "31122", - "2407:d1c0::/32": "24162", - "240e:3b3:1800::/34": "4134", - "2804:45e4:8100::/33": "262567", - "2804:5a00::/32": "268739", - "2001:e40::/29": "9370", - "2605:a840::/32": "7775", - "2800:160:199e::/41": "14259", - "2001:3c8:cb02::/35": "4621", - "2607:ffd0:900::/32": "13767", - "2a02:b60:2000::/35": "41032", - "2001:67c:277c::/48": "208818", - "2400:6280:130::/46": "132280", - "2801:80:ec0::/48": "264102", - "2804:1608::/32": "263423", - "2804:43cc:1011::/32": "267590", - "2a00:1138::/33": "43782", - "2a02:26f7:e3c1::/46": "20940", - "2a02:2a58:110::/38": "702", - "2401:d800:20b0::/41": "7552", - "240a:a07a::/32": "142772", - "240e:108:2a::/48": "63835", - "2803:5ba0::/32": "267766", - "2a06:1c40::/29": "204035", - "2001:1388::/46": "6147", - "2606:4dc0::/32": "399077", - "2806:1070:ceff:3::/39": "8151", - "2607:1880:ec16::/48": "13499", - "2607:f368:2000::/40": "46846", - "2804:23e4:2a::/38": "264191", - "2a00:86c0::/42": "2906", - "2a02:26f7:f8d5::/46": "20940", - "240e:44d:6800::/41": "140345", - "2a00:14e8::/29": "25358", - "240a:a955::/32": "145039", - "2607:a500:5::/44": "12025", - "2a09:5500::/29": "49010", - "2a00:1e88::/45": "12389", - "2a04:4e40:9200::/48": "54113", - "2409:8050:1000::/47": "56047", - "2803:2a80:800::/48": "262928", - "2001:559:812f::/48": "7015", - "2001:668:117::/48": "25973", - "2620:11b:4006::/47": "47870", - "2a00:b701::/29": "51659", - "2400:1a00:b011::/42": "17501", - "240a:a988::/32": "145090", - "2604:f980:4380::/43": "19957", - "2a00:cf40::/32": "28902", - "2403:8500:1200::/40": "45804", - "2604:50::/45": "393950", - "2a05:2100::/30": "198977", - "2a0d:82c3::/29": "47787", - "240a:a28a::/32": "143300", - "240e:a8:e400::/27": "4134", - "240e:473:3000::/41": "140485", - "2a07:2580::/29": "203223", - "2a04:efc0::/29": "201847", - "2a0a:3140:1600::/46": "15532", - "2a0b:880::/45": "49624", - "2001:678:b6c::/48": "207880", - "240a:a50f::/32": "143945", - "240a:af9f::/32": "146649", - "240e:6b2::/35": "134772", - "2803:9360::/32": "263222", - "2a01:9dc0:bef0::/33": "11019", - "2a0f:5c40::/44": "48981", - "2403:4e00:311::/45": "45528", - "2404:8d02:5000::/29": "10089", - "2408:840d:5b00::/42": "17621", - "2620:149:1110::/41": "714", - "2a0a:3e80::/29": "206606", - "2c0f:f250::/32": "37678", - "2a0e:b107:140::/45": "57883", - "2400:adc0:4020::/48": "9541", - "2408:8431::/32": "4837", - "240e:438:3040::/38": "4134", - "240e:964:e400::/39": "133775", - "2804:82d8::/32": "272160", - "2a00:1728:28::/47": "34224", - "2a0a:340:be00::/40": "48043", - "2610:b0:403c::/41": "3573", - "2804:4310::/32": "267546", - "2a02:25e8::/29": "52157", - "2a02:26f7:dfce::/42": "20940", - "2a01:9a80::/31": "39120", - "2001:7f8:18::/48": "2128", - "2001:bf7:fc00::/44": "208942", - "2001:df4:5a80::/48": "59185", - "2400:9380:a003::/48": "23764", - "2600:1901:bde0::/33": "15169", - "2804:27ec::/32": "263929", - "2804:5ee4::/32": "269063", - "2a02:5960::/32": "201986", - "240a:a5ec::/32": "144166", - "2001:559:134::/48": "33491", - "2001:559:c03d::/48": "33491", - "2600:1419:3001::/36": "20940", - "2620:1ec:14::/44": "8075", - "2804:2778:8000::/36": "263903", - "2a00:1140:201::/32": "44806", - "2001:559:8694::/48": "33651", - "2001:559:8698::/48": "33659", - "2801:80:2210::/48": "267525", - "2c0f:f178:8002::/33": "32437", - "2001:559:84fe::/47": "33659", - "2400:cb00:a6b0::/46": "13335", - "2a02:9010:75::/23": "3352", - "2001:43f8:c1::/48": "37578", - "2620:36:e000::/48": "23473", - "2804:63ac::/32": "269376", - "2a0f:2840::/29": "398559", - "2605:a040::/32": "14077", - "2804:5778::/32": "268067", - "2a09:4c0:5e1::/36": "58057", - "240e:3bc:6400::/35": "140312", - "2a0d:3840:110::/47": "57629", - "2001:df0:272::/48": "132111", - "2407:7000:f301::/36": "9500", - "2408:8957:2400::/40": "17622", - "240a:a532::/32": "143980", - "2605:380:38::/48": "42473", - "2620:106:a000::/44": "25739", - "2a05:fb43::/32": "208861", - "2001:579:6218::/45": "22773", - "2001:df0:2b4::/48": "2526", - "2a00:1748::/32": "44225", - "2a01:7f60::/42": "9115", - "2a06:3e80::/32": "62217", - "2a0e:ed00::/29": "208839", - "2a0f:e80::/29": "42926", - "2001:579:904b::/40": "22773", - "2001:1978:1b00::/37": "13768", - "240a:a264::/32": "143262", - "2801:0:220::/44": "262156", - "2a0a:90c0:1000::/47": "205080", - "2a0a:e5c0:1b::/48": "207996", - "2a0f:95c0:4000::/34": "208662", - "2001:418:1401:72::/60": "2914", - "2001:67c:1174::/48": "12552", - "2602:ff65::/40": "33083", - "2804:60d0::/32": "269193", - "2a03:db80:4425::/36": "680", - "2a02:26f0:72::/47": "20940", - "2001:550:2806::/39": "174", - "2a0c:b641:771::/48": "207299", - "2407:e500::/46": "17929", - "2408:8957:5f00::/40": "17816", - "240e:473:1b20::/41": "140486", - "2600:1406:1401::/39": "20940", - "2a00:fa60:1260::/37": "53550", - "2620:119:e021::/43": "30337", - "2620:135:604f::/43": "22697", - "2402:800:921d::/41": "7552", - "2620:12e:5000::/40": "47101", - "2401:d800:fb30::/41": "7552", - "240a:a0cc::/32": "142854", - "240a:a5bb::/32": "144117", - "2602:ff96:1f::/48": "40676", - "2a06:e881:7302::/40": "213151", - "2001:468:702::/36": "11537", - "2409:8924:5b00::/37": "56046", - "2800:bf0:81c2::/48": "27947", - "2804:e8c:a000::/33": "52561", - "2806:10a8:cbff:100::/34": "8151", - "2a0f:dc0::/29": "60262", - "2400:5100::/32": "10012", - "2408:8256:3b9f::/37": "17816", - "2409:8904:5770::/40": "24547", - "2620:149:a19::/48": "714", - "2a0a:a800::/29": "207198", - "2001:550:1703::/48": "397384", - "2001:559:8614::/47": "33651", - "2001:1248:551b::/42": "11172", - "240e:3b8::/35": "134773", - "240e:438:4020::/43": "140647", - "2a02:26f7:f440::/48": "36183", - "2a0c:a4c0::/29": "202451", - "2401:d800:5f50::/42": "7552", - "2620:119:4044::/42": "7726", - "2804:21f0::/32": "263554", - "2a02:26f7:b849::/46": "20940", - "2001:df6:6100::/48": "134934", - "2a04:84c0::/32": "200083", - "2001:4f8:b::/48": "16509", - "2001:559:2eb::/48": "33651", - "2001:678:c30::/48": "39591", - "2600:6c38:c0f::/42": "20115", - "2604:dfc0::/32": "14727", - "2607:f380:a60::/45": "2152", - "2404:bf40:a441::/48": "7545", - "2a01:88c0::/32": "198807", - "2001:4c0:6001::/46": "855", - "2408:8957:19c0::/38": "17622", - "2604:3e40::/32": "19117", - "2604:63c0::/32": "19465", - "2607:de00::/42": "23498", - "2804:217c::/32": "264557", - "2804:4008::/32": "265929", - "2a02:ee80:4025::/44": "3573", - "2a09:8580::/29": "43341", - "2a09:d440::/29": "52031", - "2001:12f8:8::/47": "10906", - "240e:87c:c0::/38": "137692", - "2600:380:7680::/39": "20057", - "2604:9e00::/32": "27257", - "2a02:26f7:c646::/47": "20940", - "2a02:26f7:d888::/48": "36183", - "2a07:c9c0::/29": "59659", - "2a0e:97c0:2e6::/47": "211544", - "2001:559:c08f::/48": "33656", - "2401:4900:40d1::/44": "45609", - "2600:140b:3001::/38": "20940", - "2804:fe0:2100::/48": "263049", - "2a03:9e44::/30": "31399", - "2a05:a780::/29": "49353", - "2401:300::/32": "4658", - "2405:203:986::/47": "55836", - "240e:106:8000::/34": "4134", - "2a01:9760::/46": "62087", - "2a06:5040:100::/46": "42960", - "2a0f:3103::/32": "29182", - "2001:559:83b2::/48": "33659", - "2804:1edc::/32": "264450", - "2a01:ce8c::/36": "51964", - "2001:418:1456:1a00::/42": "2914", - "2a0c:c380::/32": "207242", - "2405:7000:400::/40": "59108", - "240a:a1e5::/32": "143135", - "2620:149:100d::/46": "714", - "2804:b5c::/32": "52768", - "2c0f:ed90:100::/40": "328482", - "2409:8c20:9c72::/47": "56046", - "240e:3ba:1800::/34": "4134", - "240e:473:7c00::/41": "140485", - "2804:4bb0::/32": "267324", - "2a00:1ff0::/32": "43717", - "2a02:ff0:12f1::/44": "12735", - "2a03:2887:ff1b::/45": "63293", - "240a:a485::/32": "143807", - "2607:fae0:f00c::/47": "203993", - "2803:5c80:6507::/48": "64114", - "2804:388::/30": "22085", - "2607:fdb8:4::/48": "7181", - "2804:3eac::/32": "266614", - "2a00:d8c0::/48": "31138", - "2a03:2320::/32": "201648", - "2a03:7900::/37": "197731", - "2c0f:f918:105::/46": "37002", - "240e:473:a120::/41": "140486", - "2a02:79e0::/32": "60032", - "2a05:c1c0::/29": "31662", - "2a02:26f7:d6::/48": "36183", - "2001:678:528::/48": "25126", - "2402:3a80:1500::/38": "38266", - "240e:c:7000::/37": "136197", - "2604:5400:c000::/35": "11776", - "2804:238::/44": "23106", - "2804:7ed0::/32": "271649", - "2a02:fe0::/32": "41164", - "2404:2480::/33": "135391", - "2001:4878:2228::/48": "12222", - "2409:8020:31::/41": "56046", - "2602:ffc5:34::/48": "25926", - "2a0d:2583::/32": "142438", - "2001:559:8125::/48": "33489", - "2001:878::/30": "1835", - "240e:67b:1800::/32": "4134", - "2804:73c4::/32": "270936", - "2a02:d0c2:2::/48": "212414", - "2001:559:592::/48": "33491", - "2001:4210:980d::/43": "25818", - "2409:802f:2907::/44": "9808", - "2607:ff00:700::/40": "19181", - "2804:14d:4ca7::/43": "28573", - "2804:1684:180::/32": "53169", - "2804:4164:a000::/33": "267430", - "2001:67c:708::/48": "50629", - "240e:473:2520::/41": "140486", - "2600:1402:d801::/34": "20940", - "2804:14c:4a6::/41": "28573", - "2602:fd3f:f00::/48": "6939", - "2605:d800::/32": "11067", - "2804:694:3900::/33": "262596", - "2a00:9fe0::/29": "15600", - "2a0e:3840:242::/48": "40676", - "2a0e:b107:21::/48": "137490", - "2405:da80::/32": "24225", - "240a:a8ce::/32": "144904", - "2604:3cc0::/35": "396298", - "2620:4d:4000::/48": "62597", - "2a0e:b107:700::/48": "140098", - "2806:2f0:1144::/42": "22884", - "2001:388:5070::/48": "7573", - "2001:4b20:100:58a::/59": "34288", - "2409:891a::/29": "132525", - "2409:8c20:5022::/45": "56046", - "240a:a35e::/32": "143512", - "240a:a367::/32": "143521", - "2600:1004:d040::/40": "22394", - "2804:6848::/32": "269682", - "2a02:26f7:e749::/42": "20940", - "2a02:40c0:1000::/48": "50673", - "2a0c:5980::/29": "209372", - "2804:6de0::/32": "270561", - "2001:df0:2d00::/48": "133695", - "2405:1c0:6751::/46": "135062", - "2a02:6f40::/32": "199235", - "2a01:6480:b::/45": "29049", - "2a09:7080::/29": "134743", - "2404:138:130::/46": "45131", - "240a:a262::/32": "143260", - "2600:140b:5801::/38": "20940", - "2a09:f880::/32": "52052", - "2001:b032:ae00::/33": "3462", - "2620:171:25::/48": "42", - "2a10:340::/30": "207995", - "2001:559:838e::/48": "13367", - "2001:18b8:a::/42": "29789", - "2a02:20d8::/29": "31638", - "2001:db0::/35": "17766", - "2001:4530::/46": "9433", - "2401:7500:ff5::/48": "133296", - "2607:2080::/32": "11678", - "2a0b:f240::/29": "202509", - "2a0c:3fc0::/29": "206268", - "2a10:7180::/29": "25459", - "2600:5c00:3aae::/41": "20001", - "2602:feb4:b0::/44": "25961", - "2605:b9c0:4000::/34": "398804", - "2a0e:eec7::/32": "51837", - "2001:44b8:2051::/48": "4739", - "240e:378:aa00::/39": "140330", - "2600:1407:3c01::/33": "20940", - "2600:8807:6ca2::/39": "22773", - "2800:160:1a88::/47": "14259", - "2a00:a080::/32": "15557", - "2a03:2880:f061::/44": "32934", - "2001:67c:2f4c::/48": "59729", - "2600:804:440::/48": "396941", - "2620:116:c000::/46": "62708", - "2803:5010::/32": "271803", - "2a05:7dc2:1000::/36": "51324", - "2a10:3e80::/30": "46573", - "2001:468:364::/48": "10490", - "2001:4878:8153::/48": "12222", - "2620:0:930::/48": "1734", - "2803:800:5::/32": "25607", - "2a0e:e7c0::/29": "204348", - "2402:8100:21e0::/38": "45271", - "240a:a1e7::/32": "143137", - "2605:15c0::/32": "19528", - "2607:5380::/32": "53610", - "2a02:c40:3::/32": "13000", - "2a02:e300::/29": "60330", - "240a:a50d::/32": "143943", - "2605:a404:3c6::/42": "33363", - "2a01:5480::/32": "34497", - "2408:8956:2e00::/40": "17622", - "2804:418c::/32": "267440", - "2a02:26f7:e080::/48": "36183", - "2a0f:b300:b300::/48": "208200", - "2001:67c:58::/48": "24629", - "2001:fd8:3180::/42": "132199", - "2402:800:5263::/43": "7552", - "2800:160:1b6a::/43": "14259", - "2a03:5760:3::/32": "201900", - "2a0a:56c4:8201::/48": "42649", - "2a0a:86c0:101::/29": "206163", - "2a07:8f00::/29": "208828", - "2001:559:c347::/48": "33651", - "2001:678:568::/48": "58116", - "2401:4900:45b0::/41": "45609", - "2600:370f:5221::/45": "32261", - "2620:123:7000::/44": "46757", - "2804:6010::/32": "269143", - "2a05:7c00::/29": "201236", - "2a0c:b641:180::/44": "211367", - "2409:8904:cf40::/42": "24547", - "240a:a741::/32": "144507", - "2804:6a7c::/32": "270339", - "2a09:1d40::/48": "209132", - "2001:559:8227::/44": "7922", - "2001:67c:1898::/48": "31337", - "2001:fb0:109f:12::/64": "36040", - "2600:1419:e800::/48": "61580", - "2607:fc28:7000::/32": "22911", - "2804:f6c:2051::/32": "263585", - "2a04:200::/29": "48101", - "2001:67c:2068::/48": "34261", - "2401:ff80:148d::/46": "133954", - "240a:a70c::/32": "144454", - "2001:67c:2198::/48": "8605", - "2402:f600::/32": "9627", - "2600:100d:b040::/42": "6167", - "2610:e0:a050::/36": "2572", - "240e:44d:4680::/41": "4134", - "2600:6c38:165::/44": "20115", - "2a09:f780:1::/48": "41864", - "2402:800:5771::/44": "7552", - "2409:8061:1900::/34": "9808", - "2604:7780::/32": "54489", - "2607:9480:f000::/44": "14338", - "2803:e40::/40": "27797", - "2a00:8200::/32": "3292", - "2a06:5580::/39": "21145", - "2a02:2e02:9570::/40": "12479", - "2a02:f9c0::/29": "61231", - "2a03:6880::/32": "39835", - "2001:559:1f4::/48": "33659", - "2001:559:828b::/48": "33657", - "2001:57a:508::/38": "22773", - "2408:840d:8400::/42": "17621", - "240a:abb8::/32": "145650", - "2600:1000:d020::/34": "22394", - "2605:2c40:100::/48": "7979", - "2001:13d1:c04::/34": "7303", - "2a02:26f7:c806::/47": "20940", - "2a02:26f7:f948::/48": "36183", - "2a01:488:bb0d::/48": "398107", - "2401:d800:fb60::/40": "7552", - "240a:ae64::/32": "146334", - "240e:438:4420::/43": "140647", - "2605:6400:30::/48": "53667", - "2606:d680::/32": "4508", - "2804:200::/32": "28187", - "2804:7014:8100::/33": "270704", - "2001:559:554::/48": "20214", - "2001:67c:220::/48": "43911", - "2401:d800:d250::/42": "7552", - "240a:ae62::/32": "146332", - "2001:559:8404::/48": "20214", - "2001:559:85c2::/48": "33491", - "240a:aefd::/32": "146487", - "2a0f:c180::/29": "12996", - "2403:8600:c09::/45": "45820", - "2804:14d:5083::/41": "28573", - "2804:2c00::/32": "265187", - "2a10:1240::/29": "15589", - "2001:67c:267c::/48": "60713", - "2402:800:3b55::/42": "7552", - "240a:a879::/32": "144819", - "2804:14d:6892::/42": "28573", - "2a02:26f7:e681::/46": "20940", - "2a02:26f7:f045::/46": "20940", - "2804:20a0::/32": "264502", - "2804:76f8::/32": "271146", - "2001:559:c3a6::/48": "7922", - "2402:ef34::/32": "7633", - "2606:c700::/33": "53850", - "2620:1a:4000::/48": "2572", - "2804:14c:dc00::/40": "28573", - "2804:2eec::/32": "264861", - "2804:57e4::/32": "268093", - "2a02:27b8:1::/48": "49278", - "2409:8051:802::/40": "56047", - "2a02:26f7:ba45::/46": "20940", - "2c0f:eeb8::/32": "328303", - "2605:7040::/48": "46176", - "2606:6000:4000::/36": "10838", - "2620:1e2::/36": "36502", - "2a02:7720::/32": "2119", - "2001:559:84c4::/47": "33659", - "2620:137:a001::/48": "394707", - "2a07:9f00::/29": "56444", - "2001:4878:a031::/48": "12222", - "2408:8456:5040::/39": "17816", - "2604:2d40::/32": "53764", - "2001:559:186::/47": "33651", - "2001:1818::/32": "7850", - "2603:d090::/25": "30600", - "2604:d600:c46::/44": "32098", - "2605:a900:200d::/42": "46887", - "2803:53e0:1003::/45": "52468", - "2001:559:81fb::/48": "7015", - "2407:5200:301::/37": "55915", - "2804:77c::/37": "53222", - "2a02:ed04:4710::/30": "50304", - "2001:4288:302::/32": "6713", - "2804:3f8::/32": "262589", - "2a00:1430::/32": "24958", - "2a00:5646::/32": "13030", - "2408:8459:e410::/42": "17623", - "2a02:26f7:b991::/46": "20940", - "2a02:26f7:f7c9::/42": "20940", - "2604:4d40:7b1b::/48": "399196", - "2001:559:81c3::/48": "33491", - "2402:ef01::/46": "9430", - "2409:8a5c:4e00::/26": "9808", - "240a:ade2::/32": "146204", - "240e:44d:7a00::/41": "140345", - "240e:966:ea00::/39": "133776", - "2600:1406:3c::/47": "20940", - "2a01:390::/32": "29405", - "2001:579:f034::/44": "22773", - "2402:8100:20df::/42": "55644", - "2405:9800:9d00::/34": "45430", - "2409:874c::/32": "9808", - "2a02:26f7:bc40::/48": "36183", - "2001:df6:ed00::/48": "134078", - "2409:8010:1900::/34": "9808", - "2602:fc64:ea1::/48": "42167", - "2606:2800:4254::/46": "15133", - "2a07:f600:4045::/48": "9098", - "2a09:4c2:4a::/48": "212904", - "2402:800:9a55::/42": "7552", - "2610:a1:1001::/48": "397228", - "2a0b:e300::/32": "44808", - "2001:67c:2d44::/48": "201170", - "2001:4998:ef62::/48": "14778", - "240a:af6c::/32": "146598", - "2602:ff05::/36": "55009", - "2620:149:14c::/46": "714", - "2001:67c:68::/48": "24971", - "2404:bf40:e801::/37": "139084", - "2804:2514:1000::/32": "264259", - "2a05:3e80::/29": "201211", - "2a05:a882:10::/48": "51964", - "2a09:bac0:102::/47": "13335", - "2a0e:6c40::/29": "60262", - "2402:da80:100::/48": "64022", - "2407:1580:1400::/36": "33438", - "2001:7c0:2320::/29": "553", - "2404:ea80:d21::/32": "135373", - "2a02:26f7:c8c1::/46": "20940", - "2a0f:7400::/30": "213275", - "2402:800:9b8d::/43": "7552", - "2404:cdc0::/32": "138842", - "2a00:1e28::/32": "12859", - "2a01:c50f:9f40::/34": "12479", - "2a06:e881:6700::/45": "208751", - "2a0f:9400:772f::/48": "53356", - "240a:a165::/32": "143007", - "2a02:26f7:db08::/48": "36183", - "2a02:f5c0::/32": "207388", - "2a10:bec0::/29": "13247", - "240a:ae8a::/32": "146372", - "2600:1419:6001::/38": "20940", - "2602:fed2:7118::/48": "53356", - "2804:5f24::/32": "269079", - "2a04:600::/29": "61161", - "2a0b:4340:95::/48": "205610", - "2001:253:117::/48": "142083", - "2001:df0:2e8::/48": "45896", - "2001:4878:c062::/47": "12222", - "2605:1140:1800::/37": "394142", - "2804:14c:578c::/41": "28573", - "2a01:8840:31::/48": "207266", - "2a06:e881:5600::/48": "203478", - "2001:fd8:a0::/48": "132199", - "2405:6600:601::/39": "45845", - "2409:8975::/28": "9808", - "240a:a815::/32": "144719", - "2806:230:201e::/48": "265594", - "2001:559:1b4::/48": "33652", - "2407:8c00:20::/48": "55441", - "240e:470::/32": "4134", - "2600:1009:b100::/42": "6167", - "2800:160:1d02::/44": "14259", - "2001:559:c071::/48": "21508", - "240e:e:b800::/37": "136195", - "240e:473:7650::/39": "4134", - "2a02:8080::/29": "6830", - "2a0a:6f40:2::/47": "202806", - "2001:67c:1bfc::/48": "3264", - "2001:44b8:29::/48": "4739", - "240a:a4fa::/32": "143924", - "2804:4a0::/33": "52989", - "2a00:11c0:dd::/48": "42473", - "2a09:bac0:218::/48": "13335", - "2401:d800:9fd0::/42": "7552", - "240a:a3da::/32": "143636", - "240e:946:3007::/32": "58540", - "2620:160:e320::/44": "4196", - "2a02:cb80:2a10::/48": "43766", - "2a03:d000:1110::/46": "31163", - "2a06:8d40::/29": "21315", - "2001:df4:9300::/48": "134305", - "2806:2f0:2083::/48": "17072", - "2a02:26f7:f341::/46": "20940", - "2a0f:2900::/29": "208245", - "2603:c002:1410::/39": "31898", - "2607:7b80::/32": "32798", - "2607:cd80:5000::/34": "6528", - "2001:678:1c::/48": "35052", - "2001:1248:5731::/41": "11172", - "2600:1417:1800:100::/54": "16625", - "2803:5ce0:600::/40": "54235", - "2001:559:c363::/48": "33659", - "2408:8456:ec00::/42": "17622", - "2602:fda1::/38": "397031", - "2800:68:23::/45": "61468", - "2600:1417:6a::/47": "9498", - "2400:3dc0::/42": "134371", - "2607:f548::/32": "22878", - "2a02:7e80::/32": "20655", - "2a03:8f80::/31": "34714", - "2402:1c00:c07::/33": "23838", - "2405:c700::/32": "17939", - "2600:1409:1801::/34": "20940", - "2804:18:6810::/44": "10429", - "2a0e:b107:ef0::/44": "212129", - "2001:df3:ad00::/48": "137275", - "240a:a9cc::/32": "145158", - "2620:1d0:5c::/48": "397228", - "2a03:220:f000::/48": "209406", - "2a09:bd00:ffcc::/48": "62135", - "2001:559:86ea::/48": "33651", - "2001:67c:194::/48": "39138", - "2603:c022:4000::/35": "31898", - "2804:1638:facf::/37": "263276", - "2a00:de00::/32": "56566", - "2a02:26f7:cf8c::/48": "36183", - "2001:44b8:404c::/48": "7545", - "2620:149:a18::/48": "6185", - "2801:114:8::/45": "23059", - "2409:8914:8800::/35": "56044", - "2804:38d4::/32": "266504", - "2804:3da4::/35": "266544", - "2a02:23d0::/32": "5435", - "2a05:fbe0::/31": "200474", - "2402:800:3263::/43": "7552", - "2406:3000:11::/51": "4657", - "240a:a3f5::/32": "143663", - "2804:4044:1160::/32": "265948", - "2404:3d00:4117::/48": "3573", - "2602:fff9:f00::/40": "54839", - "2a03:db80:4415::/44": "680", - "2a04:3e00::/47": "56910", - "2404:cc00:999a::/33": "24441", - "2620:20::/48": "33751", - "2804:2624::/36": "264324", - "2a01:65e0::/32": "62244", - "2408:84f3:9c40::/38": "17816", - "2602:fed2:7128::/47": "53356", - "2a0e:400::/25": "210278", - "2401:d800:d3a0::/41": "7552", - "240a:a718::/32": "144466", - "2a00:7a20::/32": "39194", - "2a02:26f7:eb84::/48": "36183", - "2a07:6040::/29": "37468", - "2001:67c:2d50::/48": "201173", - "2400:9380:9080::/47": "4809", - "2620:93:4000::/48": "36359", - "2a0b:b880::/29": "206610", - "2001:559:809c::/48": "7922", - "2001:df2:6000::/48": "58392", - "2001:df7:5600:9000::/49": "18087", - "2800:1d0::/32": "14187", - "2804:88c::/32": "52872", - "2804:1bcc::/32": "61751", - "2804:2880::/32": "263965", - "2a02:970:1385::/37": "44002", - "2409:8731:1000::/29": "9808", - "240e:980:8400::/40": "63835", - "2607:fdf0:5e58::/47": "8008", - "2a02:d540::/29": "199659", - "2409:8924:3500::/38": "56046", - "2607:f8f0:680::/48": "271", - "2801:80:1e48::/48": "14026", - "2804:7948::/32": "271296", - "2001:559:3f1::/48": "33657", - "2001:559:8216::/48": "33652", - "2402:800:3dc5::/43": "7552", - "240a:ab4f::/32": "145545", - "2800:bf0:8300::/47": "52257", - "2804:2ac::/32": "28300", - "2804:16cc::/32": "61917", - "2a02:26f7:c150::/48": "36183", - "2a03:8800:2::/32": "49687", - "2001:559:1d0::/48": "7015", - "2001:67c:1264::/48": "51883", - "2405:3140:3a::/48": "59068", - "2603:c010:4000::/36": "31898", - "2604:880:4f::/43": "29802", - "2a06:4a00::/29": "203020", - "2402:800:9afe::/39": "7552", - "240a:aab7::/32": "145393", - "2806:310:1::/45": "16960", - "240a:ac13::/32": "145741", - "2a02:2b08::/32": "5552", - "2a04:2b00:13ff::/48": "201303", - "2a0b:14c0:4::/48": "61273", - "2001:559:780::/48": "33652", - "2408:8456:5c40::/39": "17816", - "2606:1380::/32": "22079", - "2607:8200:4000::/36": "33561", - "2620:78:8000::/48": "53280", - "2a02:568:fe02::/48": "31529", - "2a02:26f7:ec8c::/48": "36183", - "2401:d800:7b70::/40": "7552", - "2408:8459:c010::/42": "17623", - "2a01:8840:1bd::/48": "13810", - "2001:559:c008::/46": "33651", - "2606:4f00::/48": "19324", - "2001:44c8:4690::/41": "45430", - "2403:3a00::/32": "9371", - "2620:119:5008::/48": "13443", - "2a0e:97c5:4d8::/46": "20473", - "240e:982:7300::/36": "4134", - "2804:1898::/32": "61942", - "2a06:b5c0::/30": "46723", - "2001:1248:9900::/42": "11172", - "2400:cb00:38::/47": "13335", - "2405:84c0:faaa::/48": "138990", - "2408:8456:ae10::/42": "134543", - "2a0b:bdc0::/29": "42000", - "2001:559:c39d::/48": "33657", - "2001:67c:2dd0::/48": "200881", - "2001:43f8:1440::/48": "328578", - "2408:8256:3d89::/48": "17816", - "2a0f:5707:b0c0::/46": "212895", - "2404:d500:2::/47": "132370", - "2408:8459:3020::/44": "17816", - "2600:1015:f010::/39": "6167", - "2602:fd0a::/36": "63027", - "2001:559:381::/48": "33652", - "240a:a145::/32": "142975", - "2605:3f80::/32": "393238", - "2804:3688::/32": "266354", - "2804:6af0::/32": "270367", - "2a03:2c40::/32": "199653", - "2c0f:ea08::/32": "37159", - "2408:84f3:b210::/42": "134543", - "2408:886e::/31": "4837", - "2408:8957:b800::/40": "17622", - "2600:6c38:b57::/44": "20115", - "2605:1e80::/32": "14380", - "2a02:26f7:d244::/48": "36183", - "2a0c:5540::/32": "204020", - "2001:df3:ce00::/48": "132148", - "2001:4830:c210::/48": "64249", - "2408:8000:a018::/48": "140716", - "2602:fd5b::/36": "398280", - "2604:d600:1573::/44": "32098", - "2620:f:a::/48": "3629", - "2a06:e8c0::/29": "8285", - "2001:559:5f2::/48": "7922", - "2001:df1:2900::/48": "136301", - "2001:df6:1580::/48": "141745", - "2a02:26f7:d7c0::/48": "36183", - "2a0d:d6c7:4::/32": "200350", - "2a0e:46c4:2c30::/46": "142597", - "2804:9fc::/32": "263008", - "2001:468:2641::/44": "11537", - "2409:806c:3100::/36": "9808", - "2409:8e14::/34": "56044", - "240e:6bb:1000::/36": "4134", - "2605:2800:100::/47": "3354", - "2607:fdf0::/33": "8008", - "2803:2a00:2000::/35": "27895", - "2a02:26f7:23::/48": "20940", - "2a05:5840::/32": "28761", - "2a0a:f80::/29": "51546", - "2401:d800:9e20::/39": "7552", - "2409:8914:b600::/39": "56044", - "2a00:5b00::/29": "33986", - "2804:e78::/32": "262957", - "2804:3b34:3b35::/33": "266135", - "2a0b:81c0::/29": "206893", - "2a0b:d540::/32": "205439", - "2a0f:85c0::/48": "207841", - "2001:559:a0::/48": "7016", - "2401:aa40::/32": "62900", - "240a:60:f01e::/48": "9605", - "2600:1fa0:40e0::/44": "16509", - "2801:1:8004::/48": "18916", - "2804:2304::/32": "264137", - "2a01:c50e:5a00::/37": "12479", - "2409:8914:ac00::/38": "56044", - "240a:adde::/32": "146200", - "2604:d600:1c04::/44": "32098", - "2620:20:a000::/48": "16539", - "2a0e:abc0::/29": "197706", - "2403:cb00:cb01::/46": "58621", - "2800:670::/32": "52280", - "2803:ab00:90::/48": "23520", - "2804:2228::/32": "264595", - "2001:44b8:4051::/48": "4739", - "240a:aeb0::/32": "146410", - "2605:4300:f001::/48": "22616", - "2801:80:1c70::/48": "266122", - "2804:2728::/46": "263880", - "2001:6d0:ffd8::/48": "8985", - "2001:df4:d080::/47": "133145", - "2001:19f0::/38": "20473", - "2409:8435::/23": "9808", - "2600:1406:5000::/48": "35994", - "2606:5b80::/34": "22612", - "2a0b:2f80::/29": "62412", - "2001:579:2483::/38": "22773", - "2001:dc8:8000::/48": "24089", - "2404:0:4000::/36": "9311", - "2405:f080:2000::/37": "136907", - "2a09:e540::/29": "209184", - "2001:13c7:7001::/48": "28000", - "2402:800:3c71::/40": "7552", - "2405:b40:21::/43": "55674", - "2607:fd00:4::/48": "32922", - "2001:559:c208::/48": "33491", - "2001:bf7:540::/48": "3624", - "2408:8456:c40::/39": "17816", - "2603:f100::/29": "262287", - "2607:fcd0:fa80:3400::/55": "8100", - "2801:122::/40": "3816", - "2a00:8a04:8000::/44": "34414", - "240a:ad77::/32": "146097", - "2804:54c8::/32": "61595", - "2804:7960::/32": "271302", - "240e:44d:2f80::/41": "4134", - "2602:fe54:5001::/32": "16584", - "2607:f250:d008::/48": "7046", - "2620:14:2000::/48": "395899", - "2a03:f85:8::/48": "60729", - "2001:ac0:30fe::/32": "8903", - "2001:ee0:d900::/38": "45899", - "2405:8a00::/40": "55824", - "2404:cc00::/45": "24441", - "240e:d6:1000::/36": "140330", - "2600:1017:9110::/38": "6167", - "2603:f300::/29": "262287", - "2620:2b:a000::/48": "394118", - "2a02:2698:2c00::/38": "41727", - "2001:559:84e9::/46": "7016", - "2001:44b8:30b1::/48": "4739", - "2604:fc00::/32": "10508", - "2800:440:8104::/48": "27738", - "2a00:f280::/32": "206288", - "2a02:26f7:f444::/48": "36183", - "2804:910::/32": "53075", - "2804:1cd4:1d00::/32": "61678", - "2001:df3:b980::/48": "17538", - "2407:8b00:2284::/35": "64073", - "2600:6000:fd0f::/42": "12271", - "2607:700:1500::/38": "22343", - "2804:3554::/32": "262273", - "2a0e:97c0:364::/48": "211484", - "2001:4b20:100:599::/54": "34288", - "2406:600:2212::/32": "4694", - "240a:a499::/32": "143827", - "2607:6000:700::/40": "12189", - "2800:600:401::/32": "52323", - "2804:12b0::/32": "263492", - "2804:3d4c::/32": "266266", - "2c0f:e848::/32": "328633", - "2001:268:837::/44": "2516", - "2600:1417:4800::/48": "8781", - "2620:89:8000::/48": "22990", - "2804:37dc::/32": "266440", - "2804:40ac::/32": "265974", - "2804:5e70:9000::/34": "269033", - "2001:678:ad0::/48": "205597", - "240a:a90c::/32": "144966", - "2804:2778:5000::/36": "263903", - "2a00:70c0::/48": "31477", - "2a02:26f7:5c::/48": "36183", - "2a02:26f7:c4c0::/48": "36183", - "2c0f:fbc0::/32": "37670", - "2001:678:890::/48": "33958", - "240a:adb9::/32": "146163", - "2804:1524::/32": "263373", - "2804:1c94::/32": "61663", - "2a02:2e02:1f60::/40": "12479", - "2a03:2880:f140::/46": "32934", - "2001:48b0::/32": "2497", - "2402:4280::/32": "135895", - "2405:800:4::/44": "7545", - "240a:a147::/32": "142977", - "240a:a8be::/32": "144888", - "2804:40dc::/32": "265986", - "2a00:b340:30::/48": "196745", - "2402:5840::/45": "137403", - "2804:1618::/32": "263267", - "2804:1bd8:4600::/36": "28224", - "2804:5f54::/32": "269092", - "2a02:26f7:cdc8::/48": "36183", - "2405:dc0:8008:4::/46": "22604", - "2620:115:2000::/46": "12259", - "2a02:6c8:8000::/33": "202425", - "2001:559:80f0::/48": "7922", - "2001:678:e::/48": "31529", - "2001:948:40::/43": "39590", - "2804:42cc::/32": "267528", - "2a01:b220::/32": "202164", - "2a09:7:2002::/48": "57969", - "2a02:848::/32": "33868", - "2a02:2010:2110::/45": "20978", - "2402:6940:307::/37": "7645", - "2402:ef23::/32": "7633", - "2405:58c0:5c00::/40": "133101", - "240a:a788::/32": "144578", - "2600:8807:9e00::/34": "22773", - "2a06:1301:4005::/48": "59731", - "2401:d800:2a70::/40": "7552", - "2600:370f:70a9::/41": "32261", - "2a00:79e0:500::/47": "395973", - "2a03:3cc0::/29": "50596", - "240a:a918::/32": "144978", - "2604:d600:1589::/43": "32098", - "2a04:4e40:6600::/48": "54113", - "2a0d:9a40::/29": "47832", - "2001:67c:2988::/47": "58151", - "2001:559:84c2::/48": "33659", - "2001:67c:27d8::/48": "198494", - "2610:20:8e00::/44": "3477", - "2803:3240:1::/48": "36351", - "2a01:8840:fb::/48": "207266", - "2001:559:3df::/42": "33652", - "2405:4740:61::/48": "4857", - "2620:171:db::/48": "715", - "2803:2a80:1255::/48": "262928", - "2804:1554::/32": "263384", - "2804:6240::/32": "269286", - "2a0c:7e46:8a7::/48": "20473", - "2001:500:60::/48": "30132", - "2001:ee0:b040::/40": "45899", - "2404:5e40::/46": "137703", - "2405:8d40:aa0::/48": "139831", - "2001:480:331::/48": "2621", - "2600:370f:7408::/42": "32261", - "2604:af80:2048::/37": "18859", - "2804:55d8::/32": "267960", - "2a01:8740:1::/48": "203380", - "2a0e:d604::/48": "62410", - "2804:1d4c::/32": "264359", - "2804:3590::/32": "266294", - "2804:6684::/32": "269565", - "2001:559:2d4::/46": "7015", - "2001:1490:2::/40": "8895", - "2607:ff10:fdc2::/38": "10439", - "2a04:e100::/31": "31034", - "2001:67c:2ff0::/48": "50180", - "2001:df6:2980::/48": "141777", - "240a:ade8::/32": "146210", - "240a:af13::/32": "146509", - "2001:1388:8a40::/45": "264684", - "2800:484:3000::/40": "14080", - "2806:264:4300::/37": "13999", - "2a07:3500:19f8::/48": "38915", - "2001:253:130::/48": "142096", - "2804:117c:800f::/33": "53061", - "2a01:310::/32": "8312", - "2a04:2b00:14bb::/48": "204055", - "2804:4058::/32": "265953", - "2001:418:1401:5::/62": "2914", - "2001:559:8386::/48": "33491", - "2408:8957:7000::/40": "17622", - "2804:f8::/32": "53147", - "2804:2f90::/32": "264899", - "2804:5520:2000::/32": "268691", - "2a05:1e80::/29": "202796", - "2001:c20:48a1::/48": "3758", - "2600:1017:b8a0::/44": "22394", - "2605:9400::/32": "12042", - "2a01:4da0::/48": "34895", - "2a02:2455:8000::/30": "20880", - "2001:dc7:5de2::/43": "24151", - "2406:840:20::/48": "139317", - "240a:ac2d::/32": "145767", - "2804:10c4::/32": "263648", - "2a00:1580::/46": "39010", - "2a03:1440::/32": "9063", - "2001:678:3c8::/48": "34516", - "2402:800:9955::/42": "7552", - "2604:d800::/35": "20355", - "2605:a880::/48": "46261", - "2620:151::/36": "16793", - "2804:6530::/32": "269474", - "2a00:801:4b::/48": "41819", - "2a06:b140::/29": "58264", - "2001:418:143a:100::/56": "20940", - "2001:1980:200::/37": "29838", - "2406:9c80::/48": "45544", - "2408:8456:c900::/42": "17622", - "2804:3798::/44": "266423", - "2a02:28f8::/48": "31323", - "2a02:6980::/32": "12935", - "2001:550:6c05::/38": "174", - "2001:67c:2b24::/48": "3246", - "2001:df0:220::/48": "55684", - "2401:d800:5a90::/42": "7552", - "2a00:60c0::/32": "34461", - "2800:440:8006::/48": "27738", - "2a02:26f0:8c01::/39": "20940", - "2a10:27c4::/30": "49778", - "2001:550:2503::/38": "174", - "2402:15c0:6::/48": "10222", - "2402:ef03:d::/40": "7633", - "2800:370:3::/48": "28006", - "2a0e:46c4:2d0a::/45": "208753", - "2001:4878:c254::/48": "34164", - "2405:f540::/48": "135905", - "2409:8000:900::/37": "9808", - "2607:f3a0:a00b::/33": "23342", - "2800:270::/32": "26610", - "2804:2614::/32": "52659", - "2001:559:8607::/44": "7922", - "240a:aad7::/32": "145425", - "2804:3ae8::/32": "266117", - "2a02:cac0::/29": "29442", - "2a0b:b480::/29": "43288", - "2a0b:d380::/29": "206339", - "2001:559:878d::/46": "33652", - "2400:cb00:a170::/45": "13335", - "240e:945::/36": "136195", - "2803:21e0::/32": "262186", - "2804:145c:c040::/38": "263327", - "2a02:530:1a::/42": "21191", - "2a07:c3c0::/29": "50033", - "2602:fcff:14::/47": "57164", - "2607:fc70::/32": "15247", - "2001:df0:a6::/48": "55536", - "240e:108:8a::/48": "134238", - "2a06:3000:1000::/36": "209220", - "2001:559:51f::/48": "33652", - "2001:1248:8445::/44": "11172", - "240e:982:5100::/36": "4134", - "2604:b180:50::/44": "23279", - "2607:fcd0:fa80:7001::/54": "8100", - "2620:115:7000::/47": "55091", - "2a04:4e40:6a00::/48": "54113", - "2405:54c0::/48": "56150", - "240a:ad7e::/32": "146104", - "240e:980:4b00::/40": "133774", - "2604:b400::/32": "11979", - "2607:ff28:5003::/36": "62904", - "2404:f900:31::/41": "58482", - "2620:10a:80ef::/48": "55195", - "2606:fd00::/32": "11013", - "2001:559:c211::/48": "7922", - "2a01:5b0::/47": "8391", - "2a02:26f7:d880::/48": "36183", - "2a0f:5707:ab80::/44": "56382", - "2001:df2:7580::/48": "139903", - "2400:ac40:a60::/40": "136255", - "2402:800:319b::/41": "7552", - "2405:1c0:6a61::/46": "135062", - "240a:a5eb::/32": "144165", - "2600:5c01:34b9::/32": "10796", - "2a02:6b8:6::/48": "13238", - "2a02:1368::/32": "51873", - "2a02:2950::/32": "15566", - "2a04:f580:9020::/48": "4809", - "2a09:1840::/32": "209568", - "2804:6594::/32": "269501", - "2a03:9000::/32": "49371", - "2a0e:fd45:2b17::/44": "52112", - "2a0b:5e00::/29": "50309", - "2409:8020:d1::/35": "56046", - "2803:6900:1503::/48": "52423", - "2804:1758::/32": "263139", - "2001:559:85cc::/46": "7922", - "2001:67c:2efc::/48": "31152", - "2001:8d8:100::/32": "8560", - "240a:ad1d::/32": "146007", - "240e:44d:6180::/41": "4134", - "2604:3d00:d500::/36": "6327", - "2604:9100:1000::/48": "25864", - "2804:2ae0::/32": "53057", - "2804:7d90::/47": "271569", - "2c0f:fac8::/32": "37395", - "2001:559:3a6::/48": "7015", - "2408:840d:3400::/42": "17621", - "2801:12:7000::/48": "266737", - "2a10:57c0::/29": "8767", - "2c0f:f330::/32": "327950", - "2a09:5302::/32": "205090", - "2400:adcc:800::/39": "9541", - "2401:d800:5430::/40": "7552", - "240e:44d:5c00::/41": "140345", - "2604:b900:7000::/32": "11042", - "2607:fb90:b300::/37": "21928", - "2803:6900:520::/48": "52423", - "2a04:4e40:b410::/41": "54113", - "2001:559:38d::/48": "33651", - "2001:fd0:2100::/38": "10029", - "2405:9800:bc81::/38": "45430", - "2804:145c:ce10::/39": "263327", - "2804:3264::/32": "265075", - "2001:fb0:109f:8007::/64": "36040", - "2804:474::/32": "52980", - "2001:44b8:4069::/48": "4739", - "2403:be80::/32": "58405", - "2a02:26f7:d0c0::/48": "36183", - "2a0d:9e00::/29": "204988", - "2001:df6:580::/48": "131984", - "2001:4490:4e00::/46": "9829", - "240e:3b0:7600::/39": "140313", - "240e:3b3:3e00::/33": "140308", - "2804:4ad4::/32": "267266", - "2a02:1c8:700::/40": "41704", - "2a02:26f7:59::/48": "20940", - "2001:67c:208::/48": "30962", - "2402:800:931d::/41": "7552", - "240a:ad91::/32": "146123", - "2600:100a:a110::/36": "22394", - "2a03:b000:200::/40": "42695", - "2001:253:108::/48": "142074", - "2001:559:c310::/48": "22909", - "2606:2800:347::/44": "15133", - "2620:149:a07::/44": "714", - "2804:2050:7a8c::/32": "264485", - "2a07:b200::/31": "57722", - "2001:1b70:4293::/45": "8147", - "2400:4e80:79fd::/46": "131584", - "2600:1419:3c01::/33": "20940", - "2604:2000::/32": "12271", - "2804:1d4c:8040::/33": "264359", - "2001:559:78a::/48": "7922", - "2804:4c38::/32": "267357", - "2a00:139d::/30": "34878", - "2001:253:109::/48": "142075", - "2600:1411:6000::/64": "4788", - "2804:820::/32": "262352", - "2a01:6060::/32": "199990", - "2402:800:390f::/43": "7552", - "2405:e800::/32": "17675", - "2a0b:7340::/29": "202895", - "2001:559:8779::/46": "7922", - "2001:1b88:2::/32": "39477", - "2620:137:e000::/44": "53758", - "2804:3874:a::/48": "266478", - "2a02:888:dd::/48": "48695", - "2a04:c480::/29": "34241", - "2a0e:b107:1310::/44": "131668", - "240e:438:8e20::/43": "140647", - "2607:f7a0:1::/46": "46562", - "2804:df8::/32": "52532", - "2804:3b18::/32": "266129", - "2a02:2818:7::/48": "197481", - "2a0c:6ac0::/32": "213050", - "2a05:4540::/29": "35041", - "2800:160:146a::/43": "14259", - "240a:a9ed::/32": "145191", - "2408:840c:2700::/40": "17621", - "2001:67c:72c::/48": "61337", - "240e:438:a840::/38": "4134", - "2a0c:f587:fffe::/47": "200334", - "2001:1b40:3334::/32": "20860", - "2409:8053:100::/37": "9808", - "2a02:e040::/29": "43995", - "2a0f:4240::/29": "52000", - "2001:559:337::/48": "7015", - "2001:67c:1398::/48": "199355", - "2600:5800::/35": "11426", - "2603:c0e2:4000::/35": "54253", - "2605:3380:4107::/43": "12025", - "2a04:6d00::/29": "211892", - "2a0d:c80::/29": "21032", - "2a02:26f7:99::/48": "20940", - "2001:67c:25a0::/48": "41954", - "2001:df5:dd80::/48": "135192", - "2401:a480::/48": "1221", - "2401:d800:b710::/42": "7552", - "240a:a7ed::/32": "144679", - "2804:7a50::/32": "271364", - "2a00:4802:3f00::/33": "13124", - "2a02:6620:2::/48": "47478", - "2a03:2200::/32": "50998", - "2a05:d016::/36": "16509", - "2a0a:54c1:15::/42": "62240", - "2001:df3:809::/45": "22787", - "2402:800:981d::/41": "7552", - "240e:473:fc50::/38": "4134", - "2a00:1030::/32": "24956", - "2a02:26f7:fb49::/42": "20940", - "2a03:5a00:16::/48": "42574", - "2600:370f:5280::/47": "32261", - "2804:3708::/32": "266385", - "2a01:4f0::/33": "28717", - "2a02:fb0::/32": "5503", - "2a07:bbc0::/48": "207085", - "2a0d:3c43::/32": "51659", - "240e:438:2e20::/43": "140647", - "2a02:c804::/32": "24843", - "2a0b:7940::/29": "207541", - "2001:559:82cb::/48": "33659", - "2001:67c:24f4::/48": "196653", - "2606:6680:29::/48": "12129", - "2620:124:6000::/42": "40816", - "2a0e:b103:800::/40": "20473", - "2001:650::/32": "28748", - "2408:8456:cd00::/42": "17622", - "2409:8a3e::/25": "9808", - "2a03:1b20:1::/44": "39351", - "2a09:9ac0::/48": "209562", - "2c0f:f0a8::/32": "328145", - "2001:4878:2055::/48": "35994", - "2c0f:f500::/32": "327935", - "2620:120:8000::/44": "393990", - "2001:418:143a::/56": "2914", - "2001:67c:224::/48": "51164", - "2406:4e40:401::/39": "140966", - "2408:84f3:ba10::/42": "134543", - "240a:ac6c::/32": "145830", - "2603:c012:2000::/36": "31898", - "2605:bc80::/32": "3701", - "2620:16e:87::/48": "3147", - "2a01:378::/32": "39180", - "2a03:f80:61::/48": "9009", - "2001:67c:2794::/48": "57967", - "2405:203:988::/43": "55836", - "2804:5244::/32": "268506", - "2a02:26f7:e7c8::/48": "36183", - "2a0e:66c0::/29": "44486", - "2a02:26f0:5601::/39": "20940", - "2001:559:3c3::/48": "33651", - "2408:8956:9900::/40": "17816", - "2409:8c62:ff01::/40": "9808", - "240a:a2b0::/32": "143338", - "240e:3b2:9c00::/34": "140310", - "2602:fdc2:100::/44": "397720", - "2603:c001::/38": "31898", - "2a0c:4445::/48": "199438", - "2001:559:321::/48": "33652", - "2804:3b0::/33": "53062", - "2804:17ac::/32": "263164", - "2a00:e140::/32": "198161", - "2a02:330:8::/47": "209456", - "2c0f:f918:8::/39": "37002", - "2a06:e881:5901::/48": "209569", - "2a09:bac0:56::/48": "13335", - "2401:ff80:1011::/46": "133954", - "2402:800:9463::/43": "7552", - "2602:feda:190::/44": "142025", - "2804:108c::/32": "28146", - "2a00:86c0:208a::/45": "2906", - "2001:648:2000::/48": "3323", - "2402:800:b5c0::/42": "7552", - "2600:1000:a100::/43": "6167", - "2600:1408:c800::/48": "35994", - "2620:11d:6000::/42": "30548", - "2804:4b2c::/32": "267288", - "2806:230:203a::/48": "265594", - "2001:559:c3e2::/48": "7922", - "2803:6606:d500::/36": "28075", - "2804:7ae0::/32": "271397", - "2a02:26f7:efc8::/48": "36183", - "2001:253:122::/48": "142088", - "2400:cb00:100::/48": "13335", - "2404:4a40::/32": "138571", - "2a05:980::/29": "201702", - "2a0b:a080:1::/48": "202165", - "2001:559:8170::/48": "33659", - "2001:678:264::/48": "16509", - "2620:13d:2060::/46": "209", - "2804:59e4::/32": "268732", - "2804:80ac::/32": "271766", - "2a02:d48:bc::/32": "34913", - "2a0e:97c0:1c0::/44": "211350", - "2605:8100::/32": "7311", - "2804:29ec::/32": "264045", - "2a06:4280::/29": "60032", - "2a0f:103::/32": "1239", - "2401:b780:5001::/48": "45410", - "2409:8904:5db0::/38": "24547", - "2804:4380::/32": "267574", - "2a02:d107:f006::/47": "200088", - "2a03:83a0:1::/48": "201528", - "2a0a:d940::/48": "58322", - "2001:559:8423::/48": "7015", - "2001:1248:84bf::/41": "11172", - "2001:1620::/34": "13030", - "240a:a9d1::/32": "145163", - "2602:fd3f::/46": "6939", - "2604:8240::/32": "7979", - "2a0a:9741::/32": "61964", - "2001:559:c253::/48": "7725", - "2001:930::/32": "15924", - "2600:1406:4601::/39": "20940", - "2a04:4e40:c400::/47": "54113", - "2408:8206:19d0::/32": "4808", - "2804:38b8::/32": "266497", - "2a02:e186:3001::/31": "33517", - "2a03:c000::/29": "2116", - "2a0f:b9c1:100::/46": "207574", - "2602:fcff::/48": "40916", - "2800:b40::/47": "262220", - "2804:4f48::/32": "268317", - "2804:69b0::/42": "270285", - "2620:1:c000::/48": "22773", - "2804:4498:9000::/33": "267641", - "2001:468:f000::/48": "11164", - "2001:67c:2978::/48": "211671", - "2001:1a10:2::/40": "8781", - "240a:ab35::/32": "145519", - "2a03:e140:3a::/48": "16262", - "2a06:c3c0:3::/48": "395092", - "2a0b:4d07:4::/48": "44239", - "2001:418:1401:30::/57": "2914", - "2001:559:5d5::/48": "33659", - "2001:559:c302::/47": "7015", - "2001:559:c3ca::/48": "33489", - "2001:4878:8261::/48": "12222", - "2a04:4e40:6230::/41": "54113", - "2001:559:8211::/48": "33651", - "2001:df2:4080::/47": "55318", - "2600:100f:9110::/36": "22394", - "2600:3402:1100::/37": "4181", - "2604:2e8e:3000::/37": "30036", - "2800:484:f00::/35": "14080", - "2a02:26f7:b999::/46": "20940", - "2001:1938:1::/48": "11588", - "2400:b480::/32": "131589", - "2600:1409:7001::/36": "20940", - "2a0b:14c0:1::/48": "205184", - "2801:112::/40": "14080", - "2804:14d:b000::/40": "28573", - "2a09:4380::/32": "41114", - "240a:a816::/32": "144720", - "2804:520:2::/32": "262496", - "2804:3430::/32": "265441", - "2a0c:b641:76a::/48": "207292", - "2001:5b0:6900::/40": "6621", - "2401:d800:53f0::/37": "7552", - "2405:6d00::/39": "17887", - "240a:a188::/32": "143042", - "2600:1402:c801::/35": "20940", - "2602:ffc5:cc8::/48": "7489", - "2804:3f9c::/32": "265902", - "2001:378::/32": "9318", - "2001:678:303::/48": "207996", - "2408:8956:5900::/40": "17816", - "2804:187c:8003::/39": "262673", - "2403:a640::/39": "63776", - "240a:a309::/32": "143427", - "2600:1408:6401::/36": "20940", - "2001:559:8248::/48": "7015", - "2406:ee80::/32": "55699", - "2804:3a4::/32": "262900", - "2604:a440:ffff::/48": "22549", - "2607:f110:e170::/40": "21889", - "2001:c20:c848::/46": "3758", - "240a:a3a7::/32": "143585", - "2600:6000:f5d6::/36": "12271", - "2620:1d5:200::/37": "14773", - "2a04:7800::/29": "200697", - "2a0b:41c0::/29": "30781", - "2001:67c:2b7c::/48": "198657", - "2401:d800:9fa0::/41": "7552", - "2406:840:fd05::/48": "134993", - "2803:9800:9997::/38": "11664", - "2804:5064::/32": "268386", - "2804:7770::/32": "271178", - "2a02:26f7:f208::/48": "36183", - "2001:559:7a7::/48": "21508", - "2001:df1:c500::/48": "136311", - "2408:8459:ea50::/37": "17816", - "2804:3810:100::/38": "266453", - "2001:550:200:9::/44": "174", - "2401:d800:21a0::/38": "7552", - "2405:a300:1000::/48": "45432", - "240e:3b2::/35": "134773", - "240e:3be:4c00::/35": "136200", - "2804:397c:108::/32": "52592", - "2001:67c:1213::/48": "47445", - "2001:fd8:b0b0::/41": "4775", - "2803:dac0:201::/32": "265634", - "2a00:4200::/32": "41349", - "2a03:b000:b00::/37": "42695", - "2001:6f0:4006::/29": "1257", - "240a:a8e4::/32": "144926", - "240e:6b6:1000::/34": "4134", - "2606:2800:51f::/42": "15133", - "2804:3018:caff::/34": "263020", - "2a00:1a90:8000::/48": "33854", - "2001:559:13c::/48": "7922", - "2001:559:849f::/48": "33657", - "240a:a745::/32": "144511", - "2605:4d00::/32": "14613", - "2a00:1020:e::/32": "24739", - "2a0b:8e00::/47": "1921", - "2001:559:3f9::/48": "33652", - "2602:fd50:100::/40": "62513", - "2804:20b0:100::/32": "264508", - "2404:f4c0:f940::/48": "142551", - "2408:8256:376b::/48": "17816", - "2800:b70:12::/48": "64595", - "2804:4c70::/32": "267370", - "2a01:190:1501::/43": "1764", - "2a03:e140:3::/48": "48409", - "2a05:d580::/32": "199753", - "2001:df5:3d00::/48": "136312", - "2606:6100::/32": "33262", - "2400:cb00:a802::/45": "13335", - "2804:14d:5e00::/40": "28573", - "2804:488c::/32": "267128", - "2804:8090::/32": "271759", - "2a02:2348::/32": "3301", - "2a0a:9880::/29": "44974", - "2401:fc00::/32": "55803", - "2409:8914:6c00::/39": "56044", - "240a:a64e::/32": "144264", - "240e:438:6420::/43": "140647", - "2804:469c::/32": "267000", - "2a02:17d8::/32": "41489", - "2a02:26f7:f105::/46": "20940", - "2409:8904:8c90::/39": "24547", - "2803:ecc0::/37": "264814", - "2a01:498:8200::/37": "42018", - "240a:a093::/32": "142797", - "2803:4480:4000::/34": "263189", - "2804:2e7c::/32": "265348", - "2804:4024:3001::/32": "265937", - "2400:6900::/32": "56304", - "2400:dcc0::/32": "38631", - "2804:a94::/32": "262572", - "2001:559:c0fc::/48": "7922", - "2001:678:4c8::/48": "41731", - "2804:6ba4::/33": "270414", - "2a09:8880:8::/36": "56690", - "240a:acb4::/32": "145902", - "2804:47f4::/32": "267088", - "2a03:c480::/32": "198095", - "2a0f:601::/30": "51044", - "2400:bb40:2000::/45": "141039", - "2600:1010:e010::/35": "22394", - "2804:214:8011::/45": "26615", - "2407:d380::/32": "135673", - "240a:ab7f::/32": "145593", - "2602:ffb0:ffe::/48": "64245", - "2605:a401:89fa::/38": "33363", - "2a00:47c0:200::/48": "44568", - "2a04:640::/29": "61160", - "2001:648:2811::/38": "5408", - "2001:4b20:100:570::/60": "65505", - "2408:84f3:3e40::/33": "17816", - "240e:37b:2600::/32": "4134", - "2600:140f:cc00::/48": "9498", - "2620:103:90d2::/47": "15084", - "2a00:c80::/32": "48564", - "2406:4e40:301::/37": "140966", - "2a02:26f0:3e::/41": "20940", - "2a02:40e0::/32": "48364", - "2a0a:d180:1000::/29": "206652", - "2408:802c::/32": "4837", - "240a:a026::/32": "142688", - "2804:1040:7778::/32": "263626", - "2a02:2260::/32": "49435", - "2a02:ac80:e001::/35": "25145", - "2a0f:5100:a01::/48": "20473", - "2001:ac8:98::/32": "9009", - "2801:80:70::/48": "28193", - "2a01:820::/32": "30722", - "2a0a:5a00::/29": "28954", - "2a0b:1c0::/29": "51088", - "2001:559:71b::/48": "33491", - "2001:4830:c101::/41": "27552", - "2403:ba00:2030::/32": "24521", - "240a:a6b7::/32": "144369", - "2605:5fc5::/30": "1239", - "2804:31b4::/32": "265032", - "2a03:7c40::/32": "48173", - "2001:559:835d::/46": "7922", - "2001:648:20f1::/38": "5408", - "2001:a10:185::/48": "207105", - "2401:ff80:1607::/44": "133954", - "240e:3b2:c800::/37": "4134", - "2804:6c84::/32": "270473", - "2001:559:82d5::/48": "7922", - "2001:1248:5783::/44": "11172", - "2402:800:332b::/41": "7552", - "2600:3005::/30": "13649", - "2801:80:1910::/48": "264958", - "2a03:2480:6a::/45": "41983", - "2001:559:86d0::/48": "22909", - "240e:108:22::/48": "58466", - "2600:1017:b4a0::/44": "22394", - "2804:1010:3000::/33": "263617", - "2a05:7280::/32": "202173", - "2a0b:4340:82::/47": "134176", - "2a0c:5b00::/29": "204970", - "2001:1838::/35": "23352", - "2600:40ff:fffa::/47": "701", - "2607:f360:100:200::/32": "32592", - "2610:b0:4028::/45": "3573", - "2800:370:10::/48": "28006", - "2a03:2480:71::/44": "41983", - "2a11:b100:b100::/48": "57167", - "2a00:1981::/32": "39603", - "2001:559:82ef::/43": "33651", - "2001:559:c389::/48": "7922", - "2001:1840:c020::/44": "196", - "2400:fa80:1::/48": "133480", - "2402:800:5371::/44": "7552", - "2408:820c:6840::/32": "17621", - "2600:6c38:a1d::/42": "20115", - "2a01:630::/32": "39839", - "2605:a404:2d9::/45": "33363", - "2800:481::/30": "14080", - "2806:2f0:32a1::/41": "17072", - "2a05:7c0::/32": "34156", - "2001:559:5e3::/45": "7015", - "2001:1a68:a::/48": "20555", - "2001:4d88::/32": "31333", - "2600:1405:2::/44": "20940", - "2804:27e0::/32": "262817", - "2804:30f4::/32": "264983", - "2001:559:c273::/48": "33287", - "2a0c:3cc0::/32": "203936", - "2001:559:870f::/48": "20214", - "2401:ff80:138d::/46": "133954", - "2605:1100::/32": "29953", - "2409:8060:3900::/31": "9808", - "2a03:f80:32::/48": "42160", - "2a0c:800::/29": "207439", - "240a:a56d::/32": "144039", - "2001:559:2cc::/48": "7015", - "2406:e1c0::/45": "141459", - "240a:a650::/32": "144266", - "2600:1a0e:5000::/32": "46650", - "2804:5e4::/32": "262548", - "2607:fdf0:5e05::/46": "8008", - "2a06:140::/29": "47704", - "2001:1248:9c83::/43": "11172", - "2600:1407:a801::/37": "20940", - "2801:0:1d0::/45": "52378", - "2804:2d4:400::/38": "28244", - "2a05:500::/48": "174", - "2408:8957:1fc0::/34": "17622", - "2a01:c50f:b100::/38": "12479", - "2a04:3e00:2::/36": "56910", - "2804:db0::/40": "52862", - "2a02:1c8:a::/48": "60095", - "2001:648:25e0::/48": "203348", - "2001:12f0:540::/38": "1916", - "2401:3cc0:601::/39": "137409", - "2605:a401:808c::/42": "33363", - "2804:496c::/32": "267183", - "2806:370:7150::/40": "28403", - "2408:8456:8a40::/39": "17816", - "240a:a4b3::/32": "143853", - "240a:a7d2::/32": "144652", - "2600:1000::/44": "6167", - "2610:30:2001::/33": "30313", - "2804:104c:a800::/40": "263629", - "2804:5dd8::/32": "268996", - "2a0b:6e00::/32": "203687", - "2001:67c:107c::/48": "8473", - "2001:968::/29": "24875", - "2001:df0:266::/48": "55901", - "2602:feda:d55::/44": "141712", - "2001:559:27::/44": "7922", - "2806:230:2043::/48": "11888", - "2a02:2790::/32": "51796", - "2804:4ab8::/32": "7155", - "2001:559:80da::/48": "33659", - "2401:4900:6130::/41": "45609", - "2403:c00:e00::/45": "17488", - "2406:2000:f4::/44": "10310", - "240a:abb4::/32": "145646", - "2600:1009:b1f0::/33": "22394", - "2607:f8f0:800::/48": "271", - "2a02:26f7:bf8d::/42": "20940", - "2a0b:c180::/32": "16019", - "2408:84f3:2e20::/43": "17816", - "2604:a00::/47": "19318", - "2001:559:5b8::/46": "7922", - "2001:559:5d8::/48": "33660", - "2001:4b20:10::/126": "65505", - "2400:b600::/32": "24362", - "240e:438:1440::/38": "4134", - "240e:108:84::/48": "63835", - "2803:4580:c000::/35": "52468", - "2a03:d540::/32": "50904", - "2a07:3fc0::/29": "203468", - "2001:1830::/32": "16559", - "2804:6b04::/32": "270372", - "2a02:26f7:d7c9::/42": "20940", - "2a04:1b00:80::/47": "60679", - "2a0e:8f02:20f0::/45": "212008", - "2605:b100:200::/40": "577", - "2804:13dc:ffff::/48": "262428", - "2804:1af4::/32": "61700", - "2a0a:2200::/29": "35132", - "2a0e:b107:15a2::/48": "142597", - "2001:559:831d::/48": "7015", - "2001:559:834c::/48": "33657", - "2001:678:9d4::/48": "56796", - "2001:67c:1868::/48": "57683", - "2402:800:b070::/40": "7552", - "2605:a000:c0e::/48": "11955", - "2a01:110:9009::/33": "6584", - "2001:502:2eda::/48": "397237", - "2001:559:266::/47": "7725", - "2001:67c:2100::/48": "41011", - "2001:fd8:1a8::/41": "4775", - "2607:ed80::/32": "395785", - "2a00:9f00:11::/32": "29314", - "2801:10:800::/48": "18747", - "2001:559:310::/48": "7922", - "2001:559:85ed::/48": "33662", - "2001:ee0:8040::/40": "45899", - "2400:cb00:419::/48": "13335", - "2408:8956:8d00::/40": "17816", - "240e:3b2:6400::/35": "140312", - "2600:1407:3801::/37": "20940", - "2804:431:e000::/35": "27699", - "2806:230:2032::/48": "265594", - "2a02:26f7:c2c9::/42": "20940", - "2804:84:881b::/33": "14282", - "2001:559:c007::/48": "7015", - "2001:67c:16c4::/48": "199612", - "2408:8256:99a::/38": "17622", - "240a:ad37::/32": "146033", - "2605:3380:4156::/42": "12025", - "2620:12c::/44": "19966", - "2803:5ce0:700::/40": "27887", - "2a00:9d20:31::/48": "60781", - "2a03:1c0::/32": "202207", - "2001:67c:16c8::/48": "206479", - "2408:8956:900::/40": "17816", - "2a04:f080::/29": "34636", - "2620:107:f0ff::/48": "36564", - "2a02:26f7:d605::/46": "20940", - "2605:a7c0:150::/48": "14618", - "2800:bf0:b401::/33": "27947", - "2804:5608::/32": "267972", - "2a01:9700:1338::/41": "8376", - "2a02:26f7:fb04::/48": "36183", - "2001:67c:2848::/48": "213100", - "2001:67c:2924::/48": "211960", - "240e:e9:6800::/37": "134770", - "2408:8459:de50::/34": "17816", - "2605:4500::/32": "46636", - "2806:230:2037::/48": "11888", - "2409:8d54::/28": "9808", - "2a01:400::/32": "44212", - "2a05:4741:25::/48": "212520", - "2a05:fb44::/32": "59504", - "2a0c:da04:18::/48": "49094", - "2a0d:5600:57::/44": "9009", - "2a10:b4c0::/29": "59852", - "2600:1404:5401::/36": "20940", - "2620:c1:8000::/48": "22931", - "2a04:e702:980::/29": "48849", - "2406:840:e014::/44": "213069", - "240a:aadb::/32": "145429", - "2605:e000:c0b::/48": "10838", - "2a02:26f0:75::/46": "20940", - "240a:acdd::/32": "145943", - "240e:67a:8800::/38": "140330", - "2607:f220:203::/48": "26153", - "2a0b:6b81:208::/48": "203729", - "2a0f:9b80::/32": "61174", - "2001:678:2e4::/48": "31079", - "240e:49:5000::/36": "137693", - "2804:3aac::/32": "262940", - "2001:559:5f::/42": "7922", - "2001:67c:23b0::/48": "210223", - "2400:dd01:1010::/42": "7497", - "2600:140b:4801::/38": "20940", - "2605:a404:487::/42": "33363", - "2620:16e:287::/48": "3147", - "2800:160:2421::/41": "14259", - "2408:8001:f000::/36": "4837", - "240a:ac7f::/32": "145849", - "2804:1624::/35": "263270", - "2804:6a78::/32": "270338", - "2804:5654::/32": "267991", - "2001:559:31b::/48": "33659", - "2001:559:860a::/48": "33659", - "2409:8028::/40": "56041", - "240e:980:9800::/40": "137698", - "2600:1408:6001::/37": "20940", - "2804:17b8::/32": "262434", - "2a01:8840:1ba::/45": "12041", - "2401:4900:47d0::/44": "45609", - "2607:e280::/33": "64252", - "2800:3a0::/47": "23201", - "2803:9140::/32": "264609", - "2a0e:97c5:668::/46": "20473", - "2001:559:10::/48": "7922", - "2400:89c0:2200::/48": "37936", - "2409:8924:9d00::/38": "56046", - "240a:ae3c::/32": "146294", - "2a05:8940::/30": "8468", - "2001:480:1610::/48": "518", - "2602:fcb5::/36": "51999", - "2602:fed5::/46": "27398", - "2610:20:8068::/38": "6629", - "2804:1768:9300::/34": "263144", - "2a00:1f70::/32": "12722", - "2a01:53c0:ffcb::/45": "54994", - "2404:3d00:4128::/46": "3573", - "2800:160:1780::/43": "14259", - "2803:6604:a001::/37": "28075", - "2a02:960::/32": "34168", - "2a04:2b00:13cc::/48": "60890", - "2600:6c34:4e::/48": "33588", - "2a02:f640::/29": "58291", - "2a0e:1c80:3::/48": "174", - "2620:1f7:81d::/35": "18703", - "2806:10a6:18::/32": "8151", - "2a02:9010:6d::/43": "3352", - "2a0b:e880::/29": "205614", - "2402:9500:b01::/37": "55720", - "2620:106:3004::/40": "36671", - "2800:300:9000::/43": "27651", - "2804:54a0:1c00::/39": "27688", - "2a0c:9a40:8140::/48": "210985", - "2600:6000:faad::/39": "12271", - "2408:840c:9e00::/40": "17621", - "240a:a730::/32": "144490", - "2620:0:6c0::/48": "16807", - "2a09:4c2:30::/48": "58057", - "2a0a:5f40::/32": "207242", - "2001:67c:2550::/48": "39870", - "2405:58c0:3a::/47": "140840", - "2806:2f0:4081::/42": "17072", - "2a02:26f7:bf85::/46": "20940", - "2a04:2e00::/29": "60751", - "2001:253:138::/48": "142104", - "2001:67c:1870::/48": "15830", - "2804:683c::/32": "269678", - "2a0a:c40:ffff::/48": "206304", - "2001:67c:188c::/48": "196858", - "2408:8459:1450::/38": "17816", - "240a:ac75::/32": "145839", - "2600:1480:1801::/37": "20940", - "2a0c:e040:1235::/39": "200629", - "2405:9800:c902::/48": "45458", - "240a:a04e::/32": "142728", - "240a:a136::/32": "142960", - "2804:4da4::/32": "268210", - "2804:54:1c00::/33": "28220", - "2804:766c::/32": "271111", - "2400:cb00:150::/44": "13335", - "240e:473:6250::/39": "4134", - "2804:2ed4:3ee0::/39": "265369", - "2a07:3480::/29": "47759", - "2a10:cdc0:f000::/36": "213100", - "2001:500:67::/44": "30133", - "2001:559:8184::/48": "7016", - "2a02:5320:300::/40": "12189", - "2001:559:7d6::/48": "33491", - "2001:4be8::/32": "31595", - "2606:2e00:8027::/44": "13213", - "2804:138b:c168::/34": "53037", - "2804:6498::/32": "269437", - "2a0a:e100::/29": "206927", - "2a0c:e640:26::/36": "211876", - "2001:43f8:11c0::/48": "328380", - "2401:fcc0::/32": "55699", - "2402:e380:30b::/48": "138219", - "2804:14c:65c5::/46": "28573", - "2a00:1228:2::/45": "31148", - "2a05:19c0::/47": "59800", - "2a05:e840::/29": "34622", - "2a02:26f7:e780::/48": "36183", - "2001:559:83fb::/48": "33667", - "2408:8256:466::/39": "17622", - "2804:7c00::/32": "271469", - "2804:822c::/32": "272503", - "2a00:d10::/32": "20559", - "2a00:b404:f000::/36": "205867", - "2a02:5b0::/32": "35467", - "2001:559:80a5::/48": "7922", - "2001:559:849d::/46": "7015", - "2001:44b8:205e::/42": "7545", - "2402:800:580f::/43": "7552", - "2408:8856:100::/38": "17622", - "240e:3b1:7a00::/32": "140313", - "2003::/19": "3320", - "2404:6980:43::/48": "135150", - "2605:a404:ca6::/41": "33363", - "2804:14d:9000::/40": "28573", - "2804:6ec::/32": "262613", - "2404:3d00:40f8::/39": "3573", - "240e:473:b200::/41": "140485", - "240e:678:1a00::/34": "140330", - "2620:b3::/48": "2914", - "2a02:6380::/32": "56349", - "2a09:1680::/48": "209811", - "2804:3460::/32": "265453", - "2001:550:3704::/36": "174", - "2001:559:5b6::/48": "33659", - "2001:678:728::/48": "202288", - "2001:1248:9c38::/41": "11172", - "2408:8956:1f40::/40": "17816", - "2409:8052:2100::/37": "9808", - "2804:12f8::/35": "263507", - "2a01:c50f:fa00::/37": "12479", - "2400:9380:8140::/48": "4134", - "2406:840:c0a8::/48": "139317", - "2600:1404:ac01::/38": "20940", - "2606:a600::/46": "23005", - "2a02:26f7:c504::/48": "36183", - "2a05:4140:412::/48": "213388", - "2a0e:fd45:40f5::/48": "43927", - "2602:fc5d:573::/48": "399866", - "2800:530::/32": "52233", - "2a02:26f7:cc81::/46": "20940", - "2a03:f180::/32": "42571", - "2a0e:97c5:7ac::/46": "20473", - "2a10:6e40::/32": "212635", - "2402:9900:311::/48": "27435", - "240e:473:150::/40": "4134", - "2620:4d:4021::/46": "395403", - "2a00:6520::/32": "48739", - "2001:550:2302::/47": "174", - "2001:fd8:b230::/44": "4775", - "2409:8020:1091::/42": "56046", - "2603:c021:4000::/35": "31898", - "2605:dd40:8f80::/44": "16509", - "2804:4c0c:70::/32": "267345", - "2001:df6:8c80::/48": "136744", - "2401:d800:b5a0::/41": "7552", - "2a02:27ac::/32": "50979", - "2a04:d500::/32": "48618", - "2a05:8dc0::/29": "15377", - "2001:559:8601::/48": "33659", - "2001:67c:2610::/48": "197964", - "240e:e1:d100::/48": "4811", - "240e:44d:7080::/41": "4134", - "2806:230:3003::/48": "11888", - "2a0e:bf01:101::/32": "202539", - "2001:559:8444::/48": "33657", - "240a:ab75::/32": "145583", - "2804:6440::/32": "269416", - "2a01:a1c0::/32": "21412", - "2a06:7b40::/29": "198024", - "2a0e:8f02:20ec::/46": "213033", - "2620:0:2830::/48": "16876", - "2620:0:2ee0::/48": "20144", - "2001:559:4e7::/48": "33651", - "2001:559:82ab::/48": "33657", - "2001:559:c0f0::/47": "7922", - "2401:d800:f500::/42": "7552", - "2402:73c0::/32": "131929", - "2408:8459:4ec0::/35": "17816", - "2607:f3a0:a006::/48": "399814", - "2a00:c380::/32": "50629", - "2001:559:87c1::/45": "7922", - "240a:a5e0::/32": "144154", - "2804:1a00::/32": "61831", - "2400:3dc0:501::/38": "134371", - "2402:e280:3d00::/41": "134674", - "2620:1bc:1027::/44": "7726", - "2801:80:1ad1::/48": "52529", - "2804:1d04:b000::/33": "61689", - "2a01:5042:2001::/48": "202196", - "2402:6540::/32": "137431", - "2404:fa00:5000::/36": "45780", - "240a:a569::/32": "144035", - "2602:ffb6::/36": "174", - "2606:a000:1700::/40": "11955", - "2801:1:8805::/46": "64102", - "2804:4cfc::/32": "267405", - "2a01:7ae0::/32": "49182", - "2406:840:e777::/48": "136591", - "2406:3a00:10::/48": "136557", - "2800:160:1d90::/47": "14259", - "2804:1028::/32": "263622", - "2a04:54c0::/29": "202230", - "2604:fb80::/37": "15128", - "2a0e:b00::/29": "63023", - "2607:f7a0:8::/47": "46562", - "2801:80:3e20::/44": "271246", - "2804:16d8:800::/38": "262729", - "2001:4490:d780::/46": "9829", - "2804:383c:5::/38": "52601", - "2001:4410:1100::/34": "132040", - "2408:843c:2600::/30": "4837", - "240a:a15c::/32": "142998", - "240a:af61::/32": "146587", - "2606:9200:9000::/33": "6428", - "2001:67c:1274::/48": "208868", - "2402:800:9471::/40": "7552", - "2408:8000:9ffd::/48": "140979", - "240e:3b7:7600::/39": "140313", - "2605:dd40:8210::/48": "398549", - "2a01:4700::/48": "41151", - "2a02:2308:21::/32": "29028", - "2402:7300::/32": "58451", - "2402:9e80:8::/48": "29802", - "2408:84f3:2e60::/40": "17623", - "240a:ac11::/32": "145739", - "240e:108:10f3::/44": "4134", - "2803:9a40:4001::/32": "263824", - "2001:1ad8::/32": "12552", - "2806:1016:6::/43": "8151", - "2a07:4540:a::/48": "203116", - "2001:1b90::/32": "6908", - "2403:71c0:3000::/48": "43959", - "2605:a7c0:111::/44": "16509", - "2a04:4e40:8800::/48": "54113", - "2a0c:9a40:808a::/48": "48646", - "2001:c20:48a5::/48": "3758", - "2400:adc0:100::/48": "9541", - "2400:f800::/32": "24246", - "2620:12c:f00a::/45": "19833", - "2a05:9a00::/45": "59441", - "2a11:a380::/29": "8511", - "240a:a7e7::/32": "144673", - "2605:bc0:2008::/48": "54201", - "240e:109:8048::/48": "134769", - "2600:1403:4001::/37": "20940", - "2600:1404:b000::/48": "35994", - "2620:25:a000::/48": "394470", - "2804:55cc::/32": "267957", - "2a00:7c82::/32": "49981", - "2408:8459:7c30::/41": "17622", - "240a:a9fb::/32": "145205", - "2a01:4640:c800::/40": "9042", - "240a:a1a8::/32": "143074", - "2a0f:5707:ffa0::/45": "131668", - "2c0e:0:402::/39": "24863", - "2800:160:2167::/44": "14259", - "2001:559:8352::/48": "33660", - "2001:4878::/48": "12222", - "2404:f4c0:fe10::/44": "139249", - "2405:da00:20::/38": "38235", - "240a:a82f::/32": "144745", - "2620:116:801a::/45": "27281", - "2620:136:bb::/48": "12025", - "2804:e94:f4::/44": "262468", - "2a05:19c0:2::/47": "59802", - "2a0e:b700::/31": "35085", - "2001:559:249::/48": "33667", - "2001:559:481::/48": "33287", - "2408:84f3:4840::/38": "17816", - "240a:ac1e::/32": "145752", - "2a00:fa40:3000::/33": "45012", - "2a04:d180::/29": "42831", - "2408:8957:ea00::/40": "17622", - "2804:6f8::/32": "52848", - "2a00:1288:efc4::/48": "14778", - "2a01:110:8068::/48": "3598", - "240a:aaa0::/32": "145370", - "240a:acc5::/32": "145919", - "2600:1406:a01::/37": "20940", - "2600:6c5a::/32": "20115", - "2a02:26f7:c188::/48": "36183", - "2407:5f80::/32": "135155", - "2409:8914:1900::/34": "56044", - "240a:a252::/32": "143244", - "2804:79cc:3000::/32": "271328", - "2a00:c2e0::/39": "30919", - "2a11:5f80::/29": "18779", - "2401:d800:bd10::/42": "7552", - "2600:1014:a110::/36": "22394", - "2604:6840:1200::/39": "33438", - "2a03:ada0::/32": "44404", - "2a02:d107:e002::/35": "197155", - "2001:559:85ad::/46": "7015", - "2001:67c:678::/48": "201816", - "2001:4248:7b::/32": "30999", - "2400:1700:201::/44": "4628", - "240a:a693::/32": "144333", - "2620:0:2a03::/48": "25046", - "2a02:26f7:cb11::/42": "20940", - "2001:df5:b880::/48": "63528", - "2400:201::/48": "4766", - "2402:5b00::/44": "18002", - "2804:6904:c000::/34": "270243", - "2a0d:b700::/48": "210984", - "2804:14d:ce84::/41": "28573", - "2001:67c:25c4::/48": "31080", - "2402:79c0:f0f9::/48": "11840", - "2403:8300:e00::/47": "204527", - "2600:1003:f010::/40": "22394", - "2603:90fc:20::/44": "19115", - "2803:e580::/32": "61467", - "2804:14d:8400::/41": "28573", - "2a03:4900:5::/46": "197695", - "2401:d800:53c0::/42": "7552", - "2804:79bc::/32": "271324", - "2a00:1f78:fffe::/48": "39227", - "2a02:26f7:e::/48": "36183", - "2a07:b8c1::/45": "14043", - "2c0f:f2e0::/32": "328066", - "240a:a778::/32": "144562", - "2604:9b00:c00::/38": "14230", - "2607:f110:6::/44": "21889", - "2801:14:a000::/48": "61455", - "2a01:660::/29": "48951", - "2a06:6dc0::/29": "49788", - "2408:8956:7400::/40": "17622", - "240a:ad8c::/32": "146118", - "2a03:4260::/29": "201476", - "2001:559:8696::/47": "7922", - "2600:1000:ff10::/31": "22394", - "2a02:2e02:8f70::/40": "12479", - "2804:1098::/32": "52766", - "2804:561c::/32": "267977", - "2a03:5dc0:6::/48": "13032", - "2804:eb8::/32": "262970", - "2a0a:86c0:a::/39": "206163", - "2001:559:c2f3::/48": "33652", - "2403:a3c0::/32": "131600", - "240a:a431::/32": "143723", - "240d:c010::/47": "132203", - "240e:67d:e400::/39": "140330", - "2804:1f2c::/32": "265478", - "2804:5788::/32": "268070", - "2a01:710::/32": "34968", - "2a0d:e8c0:2::/29": "35829", - "2a0e:b107:1f0::/48": "139249", - "2001:1868:a10c::/33": "11404", - "240a:a21a::/32": "143188", - "240a:ae56::/32": "146320", - "2607:fa98::/35": "22439", - "2a00:eab::/32": "9211", - "2604:880:275::/39": "29802", - "2404:4a00:5542:3004::/48": "55423", - "2600:141b:4801::/35": "20940", - "2620:107:9000::/43": "22787", - "2a00:6b40::/32": "197603", - "2a01:348:317::/48": "49846", - "2602:feda:b8a::/48": "140889", - "2a00:b2a0::/32": "202137", - "2a03:67e0::/32": "201201", - "240a:a2ab::/32": "143333", - "240e:3be:ec00::/35": "140314", - "2603:c012::/36": "31898", - "2a0b:db00::/29": "13285", - "2a05:b2c4::/31": "5524", - "2001:1248:7083::/44": "11172", - "2600:1007:d0c0::/44": "6167", - "2602:ffb0:5::/48": "20473", - "2603:c024:8000::/35": "31898", - "2801:1de::/46": "271901", - "2a02:26f0:7e00::/48": "34164", - "2a02:7520::/32": "207234", - "2a0c:b440::/29": "48438", - "2a0e:8f06::/32": "58299", - "2001:df1:b401::/48": "132458", - "240a:a0ee::/32": "142888", - "2600:1003:9840::/44": "6167", - "2c0f:5400::/48": "205897", - "2001:df5:9380::/48": "132010", - "2401:b00:12::/36": "17564", - "2408:84f3:9e10::/42": "134543", - "240e:cf:a000::/27": "4134", - "240e:3b9:ac00::/35": "4134", - "2602:fdc7::/36": "397636", - "2a02:2a90:8110::/33": "702", - "2400:cb00:133::/48": "395747", - "2404:8d02:1044::/48": "9587", - "240a:aaf1::/32": "145451", - "240a:ad58::/32": "146066", - "2604:5500:1000::/42": "19165", - "2a05:d01c::/36": "16509", - "2a0a:90c0:1051::/45": "205080", - "2001:42c8::/32": "6453", - "2a00:4cc0::/32": "57664", - "240a:a2cd::/32": "143367", - "240e:4b:c800::/29": "4134", - "2804:211c:fe40::/39": "264536", - "2001:1260:200::/42": "28536", - "2600:6c38:13::/44": "20115", - "2a02:2c60::/32": "9063", - "2001:bf7:1322::/44": "206813", - "240e:44d:7f80::/41": "4134", - "2a00:1908:e965::/48": "50475", - "2a10:e300:26::/48": "44854", - "2001:559:8763::/48": "33667", - "2403:9800:c071::/40": "4648", - "240a:ad46::/32": "146048", - "2a02:a30:f096::/36": "8926", - "2001:510:109::/42": "376", - "2400:dcc0:a504::/38": "38631", - "2401:4900:22a0::/41": "45609", - "2a0c:f840::/29": "28716", - "2001:559:c238::/47": "7922", - "2804:6314::/32": "269337", - "2a04:7040:1471::/48": "212012", - "2c0f:1100::/32": "328255", - "2a0d:5600:30::/47": "63473", - "2001:559:81d4::/48": "33668", - "240e:1c6:c000::/34": "4812", - "240e:3b0:dc00::/34": "4134", - "2600:8807:3b20::/33": "22773", - "2607:3f00:2a::/48": "46261", - "2607:f740:e000::/47": "36236", - "2620:103:e028::/47": "13893", - "2404:e400:20::/32": "45345", - "2600:1403:16::/34": "20940", - "2800:5f0:101::/36": "22724", - "2804:f8c:8810::/40": "263591", - "2a02:2698:8400::/38": "39028", - "2a02:e980:26::/44": "19551", - "2408:8459:d0c0::/39": "17816", - "2600:140f:fc01::/27": "20940", - "2605:3380:4300::/48": "12025", - "2a09:d380::/30": "35709", - "2001:559:463::/48": "20214", - "2001:559:49e::/48": "33287", - "2001:44b8:2054::/44": "7545", - "240e:44d:5700::/41": "140345", - "2602:fea0::/36": "18531", - "2a06:6880::/29": "209620", - "2401:c900:1000::/38": "36351", - "2402:d000:8121::/45": "9329", - "240a:afd3::/32": "146701", - "2602:ffb1:1::/48": "54133", - "2a02:e980:142::/43": "19551", - "2409:8a06::/28": "9808", - "2a0d:d7c0::/29": "210044", - "2a02:5620::/32": "202675", - "2a03:f80:ed15::/46": "57169", - "2001:44b8:605c::/48": "7545", - "2405:a700:14::/47": "9583", - "2603:4:1300::/48": "44273", - "2801:1ea::/44": "27951", - "2a00:bf00::/32": "5387", - "2a02:26f7:d180::/48": "36183", - "2a09:d2c1:6::/48": "209117", - "2001:408:c001::/34": "14793", - "2602:ff66::/36": "394146", - "2605:7840:e120::/41": "12130", - "2803:ec40::/32": "263792", - "2a00:18d0::/32": "47887", - "2001:3c8:e10e::/48": "137546", - "2400:7400:e02e::/48": "38044", - "2405:9800:b013::/44": "133481", - "2602:fea4::/36": "399584", - "2607:f318::/32": "7774", - "2620:118:c080::/42": "237", - "2804:33dc:fe0::/44": "64500", - "2a02:8d0::/32": "49413", - "2a05:fa00::/29": "30884", - "240a:a0eb::/32": "142885", - "2600:2101::/29": "11404", - "2600:370f:7385::/44": "32261", - "2605:7c0:1003::/48": "19382", - "2804:14c:6593::/42": "28573", - "2804:da8::/32": "262605", - "2a01:7d40::/32": "8620", - "2401:4900:1f24::/43": "24560", - "240a:a0d8::/32": "142866", - "240a:aff6::/32": "146736", - "2804:14d:8e87::/44": "28573", - "2a0f:bf00::/42": "208196", - "2401:f980::/32": "63862", - "2800:800:970::/48": "26611", - "2a00:1a20::/29": "21283", - "2a00:1bb0::/32": "28768", - "2a0f:5707:af01::/45": "211358", - "2804:122c::/32": "263461", - "2804:3238::/32": "265063", - "2600:100c:e210::/35": "22394", - "2600:1417:8::/43": "20940", - "2602:fed2:7117::/48": "57257", - "2610:a1:3050::/48": "12008", - "2a0b:ae00::/35": "207044", - "2402:2700::/40": "132061", - "2403:71c0:2000::/48": "23959", - "240a:a965::/32": "145055", - "240a:adac::/32": "146150", - "2001:67c:1034::/48": "48854", - "240a:a25f::/32": "143257", - "240a:aad9::/32": "145427", - "2a02:26f7:cdc4::/48": "36183", - "2001:ee0:2f02::/45": "45899", - "2001:1b50::/29": "1836", - "2402:800:7060::/40": "7552", - "2408:8256:358d::/48": "17816", - "2a02:26f7:d945::/46": "20940", - "2a02:26f7:f189::/46": "20940", - "2a0b:3c80::/29": "16097", - "2001:550:5400:100::/46": "174", - "2001:fd0:301::/37": "10029", - "2409:8000:5800::/40": "56048", - "2400:ac40:e70::/32": "136255", - "2803:3040::/32": "27660", - "2a02:2698:9800::/38": "31363", - "2001:67c:225c::/48": "56736", - "2401:a6c0:1::/46": "136049", - "2404:a340::/32": "135273", - "240e:473:350::/40": "4134", - "2606:2800:4a48::/46": "15133", - "2804:a18::/32": "263022", - "2804:3f7c::/32": "265896", - "2001:559:85c7::/44": "33651", - "2001:678:24c::/48": "59474", - "2402:800:539b::/41": "7552", - "2600:1017:a110::/38": "6167", - "2800:370:36::/48": "28006", - "2804:7c7c:e00::/32": "271499", - "240a:a365::/32": "143519", - "240a:afaa::/32": "146660", - "2804:3e68::/32": "266594", - "2a00:e48:8000::/33": "39787", - "2408:8256:2d60::/44": "17623", - "2803:e600:5::/32": "18809", - "2406:840:400::/48": "139317", - "2408:8957:2e00::/40": "17622", - "2602:feda:ace::/48": "140974", - "2400:9c00::/32": "38880", - "2401:1d40:3000::/48": "136958", - "2804:2ef0::/32": "264862", - "2806:20d:322c::/47": "32098", - "2806:230:3023::/48": "11888", - "2a0b:a840::/32": "206894", - "2401:d800:9df0::/38": "7552", - "2804:14d:baa3::/45": "28573", - "2a02:1390:5000::/40": "21351", - "2a04:a380::/29": "62160", - "2a05:1083:b00::/40": "211139", - "2a09:1400::/30": "42423", - "2a10:fb80::/29": "211969", - "240a:a072::/32": "142764", - "2602:ffca::/36": "32875", - "2610:80::/34": "6079", - "2620:10d:c090::/44": "54115", - "2404:cc00:8889::/35": "24441", - "2604:3cc0:1030::/32": "396298", - "2610:18:8801::/48": "17035", - "2a07:3500:1b90::/48": "33915", - "2001:559:8438::/48": "7922", - "2001:c38:9083::/43": "9931", - "2001:df1:8900::/48": "136733", - "2401:4900:5c20::/41": "45609", - "240e:980:9900::/40": "4816", - "2804:37e8::/32": "28258", - "2409:8069:2c00::/30": "9808", - "2a02:ad8:1200::/37": "12389", - "2a0d:97c0::/29": "208861", - "2001:df5:5100::/48": "34768", - "2409:8020:3063::/43": "56046", - "2620:fc:4000::/48": "26206", - "2a02:20b0::/31": "8315", - "2a02:26f7:e988::/48": "36183", - "240a:a4e1::/32": "143899", - "2620:74:16::/48": "16838", - "2804:4858::/32": "267115", - "2a05:b680:8::/48": "62445", - "2401:4900:40f0::/44": "45609", - "2401:9800::/32": "23930", - "2600:1012:a020::/40": "22394", - "2804:14d:5681::/46": "28573", - "2a00:5a00::/32": "197529", - "2001:559:159::/48": "7015", - "2408:80ea:7680::/43": "17623", - "240e:473:6c00::/41": "140485", - "2605:9f00:300::/32": "36473", - "2001:3c8::/35": "4621", - "2403:3600::/32": "9336", - "2607:f010::/32": "52", - "2806:2f0:20c3::/48": "17072", - "2a01:758:fff9::/45": "3326", - "2001:4ba2::/32": "39519", - "2606:3900::/32": "13329", - "2800:340::/32": "5692", - "2804:2144:a800::/33": "52795", - "2a05:50a0::/30": "49052", - "2404:b1:2000::/33": "9891", - "240e:6b8::/35": "140308", - "2607:fcf8:b0b0::/48": "812", - "2803:15c0::/34": "269822", - "2804:32bc::/32": "265096", - "2a02:2208::/47": "6697", - "2001:559:81dc::/47": "7922", - "2804:2cc8::/32": "265243", - "2804:2d2c:fc00::/38": "52971", - "2a02:b78::/32": "6894", - "2602:feb4:140::/42": "25961", - "2804:8058::/32": "271745", - "2a0d:4f00::/43": "48492", - "2400:c800:109::/38": "4515", - "2404:ddc0:6000::/36": "138398", - "2620:100:4000::/46": "25923", - "2804:329c::/32": "265088", - "2001:559:c2f9::/48": "33659", - "2405:9800:c92d::/48": "138915", - "2803:c580::/32": "55259", - "2a01:5b0:25::/48": "48519", - "2404:8c40::/48": "136374", - "2405:7f00:8900::/38": "133414", - "240a:aea8::/32": "146402", - "240e:67f:c400::/39": "140330", - "2610:a1:1019::/48": "397228", - "2804:40e8::/32": "265990", - "2001:4cc8::/31": "31246", - "2408:8957:5a00::/40": "17622", - "240a:ae5c::/32": "146326", - "2a01:53c0:ffed::/43": "54994", - "2a02:26f7:c249::/42": "20940", - "2a0f:5fc0:dead::/48": "39673", - "2001:579:50f8::/39": "22773", - "2607:f518:2403::/32": "46887", - "2a02:7b40::/32": "62282", - "2a07:9240::/29": "34907", - "2804:14d:c200::/40": "28573", - "2600:140f:d::/46": "9498", - "2405:d000::/33": "18024", - "2605:a900:4808::/35": "46887", - "2620:12:2001::/48": "54976", - "2001:559:737::/48": "33657", - "2402:800:6381::/42": "7552", - "2403:2880::/32": "131905", - "2804:238:f::/32": "23106", - "2a03:db80:4404::/48": "5501", - "2001:559:5ef::/48": "7015", - "2001:678:a84::/48": "208713", - "240a:a5ad::/32": "144103", - "2a06:f787:2::/48": "2686", - "2a07:9d80::/29": "202716", - "2a0e:8f02:f020::/48": "211581", - "2001:559:c1a7::/48": "7015", - "240a:ae36::/32": "146288", - "2804:78::/32": "262684", - "2403:300:a07::/48": "714", - "2602:fed2:fd0::/44": "49134", - "2803:70e0::/32": "263235", - "2804:7304::/32": "270890", - "2a02:2ad0:11b::/45": "702", - "2a04:3a00::/29": "60703", - "2001:470:cf::/43": "6939", - "2001:c20:4879::/46": "3758", - "2a02:26f7:bcc9::/46": "20940", - "2401:33c0::/32": "131578", - "2803:16a0:2::/48": "262206", - "2a06:eec0::/29": "56722", - "2c0f:fdf0::/32": "37150", - "2001:3c8:1701::/48": "23687", - "2400:7fc0:4000::/40": "55960", - "2606:1a40:2010::/48": "398962", - "2a02:5b40::/31": "59943", - "2001:559:83d6::/48": "33287", - "2001:1248:70f3::/45": "11172", - "2400:9700::/45": "24550", - "240e:108:1180::/48": "133774", - "2605:a401:8bc7::/42": "33363", - "2a0e:97c0:1000::/40": "20473", - "2a10:9c00::/29": "30823", - "2804:248::/45": "28598", - "2804:2d78::/32": "265285", - "2a00:8740:500::/40": "207490", - "2001:559:8297::/48": "33657", - "2001:559:c323::/48": "7016", - "2406:2b00::/32": "4049", - "2409:8080:3817::/42": "9808", - "240a:aa66::/32": "145312", - "2620:1f8:f0ef::/48": "40443", - "2803:6900:1400::/48": "52423", - "2a05:d050:80a0::/44": "16509", - "2a05:e2c0::/29": "30766", - "2a06:2240::/29": "31726", - "2001:df7:bb00::/48": "138051", - "2402:8100::/44": "55644", - "2600:3007:1400::/32": "13649", - "2001:678:5c0::/48": "206883", - "2001:1b98::/32": "51184", - "240e:438:2440::/38": "4134", - "2602:fd50:f60::/44": "212276", - "2a01:ace0::/32": "210123", - "2a0e:fd45:dc0::/44": "212085", - "2a0f:d0c0::/29": "43424", - "2402:800:3a1d::/42": "7552", - "2402:5a00::/32": "18077", - "2610:1e0:1801::/37": "3714", - "2a02:c88::/32": "8487", - "2a02:26f7:cc00::/48": "36183", - "2405:e280:2180::/48": "55769", - "240a:af1b::/32": "146517", - "2600:1402:6801::/35": "20940", - "2a0f:7a40::/31": "207858", - "2409:8028:2b00::/40": "56041", - "2600:1000:9000::/44": "6167", - "2804:6368::/32": "269359", - "2a02:26f7:bf01::/46": "20940", - "2001:559:8652::/48": "7015", - "2408:8a07:6000::/37": "9929", - "240a:adc3::/32": "146173", - "240e:3ba:7800::/39": "4134", - "240a:a596::/32": "144080", - "2610:1f0::/32": "4181", - "2a06:1b80::/29": "199462", - "2409:8087:1800::/39": "134810", - "240e:67f:8c00::/33": "4134", - "2804:14d:5200::/40": "28573", - "2804:5060::/32": "268385", - "2a03:7680::/32": "20905", - "2a0d:eb00::/32": "204880", - "2001:559:874f::/48": "33657", - "2001:678:e0::/48": "3303", - "2001:978:8900:1::/37": "174", - "240e:473:fb00::/41": "140485", - "2620:137:a::/48": "396253", - "2a06:b500:204f::/48": "203759", - "2a0f:90c0::/29": "59597", - "240e:3b2:ac00::/35": "4134", - "2600:3c00::/29": "63949", - "2804:214:8018::/38": "26615", - "2804:510::/32": "28163", - "2804:712c::/32": "270772", - "2a07:59c3:45::/46": "203027", - "2408:8957:f400::/40": "17622", - "240a:a2d5::/32": "143375", - "2604:640:105::/46": "393562", - "2605:a401:8b13::/41": "33363", - "2001:559:ea::/45": "20214", - "2806:230:6022::/48": "265594", - "2a00:1560:e::/43": "29684", - "2a10:2f00:111::/48": "207550", - "2001:67c:358::/48": "50262", - "2001:4408:6f00::/35": "4758", - "2604:3200::/32": "21623", - "2605:7840::/36": "12130", - "2620:119:5000::/46": "13443", - "240a:a8d6::/32": "144912", - "2605:500::/32": "823", - "2a00:d940::/32": "43542", - "2409:876c:5700::/27": "9808", - "240a:acd2::/32": "145932", - "2620:1d0:5b::/48": "397218", - "2a02:cb80:4070::/40": "43766", - "2a02:ee80:41ec::/47": "21433", - "2405:9800:b006::/44": "45430", - "240a:ac81::/32": "145851", - "2610:1d8::/32": "5078", - "2804:23bc::/32": "264180", - "2804:43fc::/32": "267614", - "2408:8459:3840::/38": "17816", - "240a:a6cc::/32": "144390", - "2804:13dc:fff0::/44": "262428", - "2001:559:5cb::/48": "33651", - "2605:4400:8::/32": "40715", - "2804:15c::/32": "11835", - "2a0e:bac0::/29": "60262", - "2a02:26f7:b608::/48": "36183", - "2a0b:9f00::/29": "47973", - "2001:67c:2554::/48": "39840", - "240a:aa74::/32": "145326", - "2804:577c::/32": "268068", - "2a00:4802:390::/42": "13124", - "2a02:26f7:e844::/48": "36183", - "2600:6c2e:711::/36": "20115", - "2602:fed2:7123::/48": "206607", - "2001:400:6611::/32": "293", - "2804:4868::/32": "267119", - "2804:5c20::/32": "268890", - "2a05:6440::/29": "49544", - "2400:cb00:20::/46": "13335", - "2404:82c0::/42": "135377", - "2607:fcd0:fa80:2401::/54": "8100", - "2620:138:5000::/44": "13925", - "2a03:7380:2000::/37": "13188", - "2a03:7900:600::/32": "197731", - "2a0e:b107:1170::/48": "142055", - "2001:500:1::/48": "1508", - "2405:4200:205::/32": "24482", - "240a:a5b6::/32": "144112", - "240a:adb2::/32": "146156", - "2804:4e30::/32": "268245", - "2001:559:84ec::/48": "33287", - "2a02:2e02:9060::/40": "12479", - "2a0e:b107:c96::/48": "140938", - "2001:550:4100:2::/47": "174", - "2403:6200:7603::/32": "45758", - "2408:8456:5e40::/39": "17816", - "2600:80c:1100::/40": "11486", - "2804:7aec::/32": "271400", - "2a02:26f7:df45::/46": "20940", - "240a:a490::/32": "143818", - "2001:559:c0cc::/47": "33659", - "2001:559:c0db::/45": "33657", - "2001:559:c270::/48": "33651", - "2001:1388:80b0::/38": "6147", - "2001:44b8:4036::/44": "4739", - "2409:8714:7000::/32": "56044", - "2409:8e61::/27": "9808", - "240e:5a:43c0::/37": "140295", - "2a0d:ed80:101::/48": "3303", - "2409:870c::/30": "56042", - "240a:a96e::/32": "145064", - "2606:2800:420a::/47": "15133", - "2804:26c8::/32": "263856", - "2a0e:46c4:22ac::/47": "136918", - "2400:d400:ffff::/48": "45671", - "2600:140f:400::/48": "55836", - "2406:f00:1::/48": "132524", - "2600:1010:6010::/32": "22394", - "2620:52:4::/47": "22360", - "2a0a:2380::/48": "39845", - "2001:559:847b::/48": "7922", - "2408:822a::/32": "4837", - "2408:8456:c800::/42": "17622", - "2409:8904:5670::/40": "24547", - "2806:28f::/32": "28419", - "2a00:f60::/32": "48635", - "2a10:7100::/29": "398559", - "240e:473:5250::/39": "4134", - "2600:9000:f140::/48": "16509", - "2a0b:4fc1::/32": "205688", - "2001:67c:1f0::/48": "31172", - "2001:19e8:f1::/44": "2576", - "240a:ae91::/32": "146379", - "2607:fcd0:1336::/47": "29761", - "2804:40a0:f400::/36": "265971", - "2001:df0:2c8::/48": "56178", - "2404:4a00:8500::/64": "55423", - "2a01:4060::/32": "9063", - "2001:678:c4::/48": "9066", - "2405:800:bfff::/48": "4817", - "2602:ffdf:f00::/40": "25851", - "2400:dc00:4002::/48": "131111", - "2a04:d4c0::/29": "202052", - "2600:1017:b8b0::/41": "6167", - "2a0d:ac80::/29": "204475", - "2001:559:172::/48": "33662", - "2401:d800:91a0::/41": "7552", - "2404:d340::/33": "138132", - "240a:a076::/32": "142768", - "2804:5334::/32": "268569", - "2a0d:2a00:1::/46": "205157", - "2604:3f00::/32": "21547", - "2803:c800:c000::/34": "23243", - "2a02:26f7:c40d::/42": "20940", - "2402:7481::/32": "134809", - "2408:8459:c250::/37": "17816", - "2a01:a7e0::/36": "200711", - "2400:8b00:500::/43": "45727", - "2403:f880:6300::/40": "33438", - "2620:109:6000::/44": "36667", - "2804:3f88::/32": "265899", - "2a02:26f7:cfc9::/46": "20940", - "2001:678:cb0::/48": "207274", - "2001:978:4200:100::/46": "174", - "2401:d800:d930::/41": "7552", - "2408:8459:ba10::/42": "17623", - "2600:370f:3505::/44": "32261", - "2804:2290::/32": "264108", - "2806:230:204a::/48": "265594", - "2a03:90a0::/32": "49251", - "240a:a5ca::/32": "144132", - "2604:d600:120a::/43": "32098", - "2606:f280:4000::/34": "46261", - "2806:2f0:1142::/47": "22884", - "2a02:2e02:3160::/43": "12479", - "2a04:4e40:ac00::/47": "54113", - "2001:4018::/32": "9150", - "2001:12d0::/36": "28571", - "2405:84c0:ff20::/45": "59598", - "2408:4009::/37": "37963", - "2600:100f:a110::/36": "22394", - "2602:feda:c60::/44": "399015", - "2804:954:72::/40": "263073", - "2001:470:f0::/48": "21589", - "2409:8060:3100::/36": "9808", - "2804:27c4:7001::/32": "263921", - "2001:559:8653::/48": "7922", - "2001:579:d264::/40": "22773", - "2401:8800:c00::/45": "17439", - "2402:800:3d7f::/40": "7552", - "2804:41ac::/32": "267449", - "2804:545c:9400::/33": "268645", - "2001:559:f::/48": "33287", - "2401:8c00::/32": "38858", - "2407:6e00:5::/48": "17987", - "2605:a401:8758::/45": "33363", - "2800:160:14c0::/43": "14259", - "2804:2238:600::/36": "264598", - "2806:2f0:70a1::/41": "17072", - "2001:559:85da::/48": "13367", - "2401:d800:54b0::/41": "7552", - "2407:8100:6::/48": "58436", - "2607:f6f0:1000::/48": "12085", - "2804:6b00::/32": "270371", - "2806:2f0:1180::/38": "17072", - "2a02:ba0::/48": "12491", - "2001:559:85d3::/45": "7922", - "2402:5680:4000::/36": "133798", - "240e:3b3::/35": "134773", - "2803:ef20::/48": "266774", - "2a05:7640:f40::/42": "174", - "2a0a:54c1:5::/44": "62240", - "2a0e:b107:3f8::/45": "57883", - "2001:559:80b7::/48": "33287", - "2600:1012:b000::/42": "6167", - "2804:93c:31::/40": "52878", - "2a02:f18::/32": "15879", - "2001:559:c23e::/48": "33491", - "2800:bf0:800a::/43": "27947", - "2804:b38::/32": "52758", - "2400:ba41:1::/48": "21859", - "2409:8038:1900::/34": "9808", - "2801:80:330::/48": "53046", - "2a03:6920::/32": "60592", - "2a0e:b107:a20::/44": "213215", - "2001:468:ce0::/44": "1312", - "2404:e040:c000::/34": "63780", - "2600:1480:6801::/37": "20940", - "2408:840c:9500::/40": "17621", - "2604:4300:f21::/45": "33387", - "2803:5b00::/32": "263698", - "2803:5e00:b5::/39": "267765", - "2804:8218::/32": "272498", - "2a05:6900::/29": "47551", - "2606:1980::/46": "54994", - "2800:d300:5000::/30": "11830", - "2804:4890::/33": "267129", - "2a02:ee80:4121::/46": "3573", - "2a04:2f80::/32": "61157", - "2a04:4e40:6610::/44": "54113", - "2001:a98:31::/40": "8517", - "2400:a980::/40": "133111", - "2404:bf00:8800::/40": "9303", - "2605:6c80:8::/48": "397373", - "2a00:1ca8:46::/43": "50673", - "2402:9d80:a61::/43": "131429", - "2406:2000:99::/46": "10310", - "2408:8456:c040::/39": "17816", - "2409:8c20:5800::/38": "56046", - "2800:160:1d0e::/43": "14259", - "2a03:63c0::/32": "199578", - "2001:559:123::/48": "33667", - "2001:4b20:10:4101::/44": "34288", - "2403:ecc0::/32": "58750", - "2408:8459:c630::/41": "17622", - "2605:7940:face::/48": "30456", - "2001:550:1d00:300::/47": "174", - "2001:678:ce8::/48": "60557", - "2403:6940:f::/48": "134371", - "240a:a12d::/32": "142951", - "2606:2800:4ac8::/46": "15133", - "2406:da00:a000::/40": "16509", - "2a05:dac0:4::/29": "44166", - "2406:6dc0::/32": "141155", - "240e:67c:e400::/39": "140330", - "2604:85c0:6::/47": "16524", - "2804:424c::/40": "267491", - "2a00:d3a0::/29": "15600", - "2400:8000::/45": "4800", - "2605:7000::/32": "44444", - "2620:12d:e0a0::/44": "394027", - "2a09:ba00:4::/48": "61323", - "2408:8256:3b6a::/48": "17623", - "2600:370f:3663::/48": "32261", - "2600:6c7f:9010::/48": "20115", - "2804:1544::/32": "28252", - "2804:6ec8::/32": "270618", - "2a05:a880:10::/48": "51964", - "2405:ca40::/32": "134918", - "2606:c380::/32": "11440", - "2a00:4802:5010::/39": "13124", - "2a07:a342:7000::/36": "56655", - "2400:c540:1cd::/32": "59238", - "2404:8000:16::/42": "17451", - "240a:a12b::/32": "142949", - "2620:7c:a000::/48": "32982", - "2620:121:5071::/48": "16509", - "2620:17c::/36": "30641", - "2a0f:c580::/30": "208861", - "2408:80ca::/32": "17816", - "240e:982:8500::/36": "4134", - "2a02:2b80::/47": "45012", - "2607:8400::/32": "3582", - "2804:4158::/32": "267427", - "2806:2f4:800::/40": "265540", - "2409:8904:5970::/40": "24547", - "2610:b0:4072::/40": "3573", - "2806:230:6029::/48": "11888", - "2a03:8940::/32": "49784", - "2a04:4e40:d600::/48": "54113", - "2407:98c0::/32": "139924", - "2600:809:629::/41": "701", - "2a11:e000::/29": "42375", - "2a04:4e40:1800::/48": "54113", - "2001:1a11:87::/43": "42298", - "2402:800:6901::/35": "7552", - "2408:8256:2c83::/48": "17816", - "2409:8c85:2020::/47": "9808", - "240e:473:120::/41": "140486", - "2804:14c:5b88::/43": "28573", - "2a00:d000::/29": "34790", - "2a09:bac0:80::/47": "13335", - "2c0f:3200::/47": "37558", - "2001:559:31f::/48": "33491", - "2400:1a00:b021::/41": "17501", - "2607:e600::/32": "32719", - "2608:8105:1::/48": "1733", - "2a00:e440::/32": "56876", - "2a02:26f7:be41::/46": "20940", - "2001:559:2c6::/48": "33662", - "2001:5e8::/32": "5050", - "2001:678:6c::/48": "199670", - "240a:ad95::/32": "146127", - "2600:6c7f:91e0::/44": "19115", - "2a02:26f7:da00::/48": "36183", - "2620:10f:a000::/47": "54496", - "2400:0:810::/41": "4766", - "2402:3a80:c034::/47": "38266", - "2408:840d:1c00::/42": "17621", - "2605:9700::/32": "46785", - "2803:34c0::/32": "264806", - "2804:145c:8f90::/41": "263327", - "2600:c0f::/32": "10910", - "2620:54:2000::/48": "396997", - "2804:5d20::/32": "268952", - "2804:654c:200::/40": "269481", - "240a:a802::/32": "144700", - "2804:3a68::/32": "266087", - "2a0d:4b80::/29": "16245", - "2a0e:3780:1::/48": "41652", - "2001:579:5a44::/43": "22773", - "2804:58d0::/32": "268151", - "2806:230:1014::/48": "265594", - "2a02:26f7:efc5::/46": "20940", - "2a06:dbc0::/29": "5578", - "2001:559:c1d4::/48": "33659", - "2408:8459:ef50::/35": "17816", - "2600:1008:b1f0::/33": "22394", - "2620:55:8000::/48": "53804", - "240a:ae77::/32": "146353", - "240e:108:1090::/48": "58542", - "2600:1408:5001::/37": "20940", - "2620:105:f000::/40": "4201", - "2001:57a:200::/37": "33438", - "240e:966:1800::/37": "133774", - "2001:67c:1b38::/48": "203688", - "2001:1248:8755::/42": "11172", - "2600:140f:3600::/48": "9498", - "2600:141c:2001::/35": "20940", - "2600:6c38:a9b::/45": "20115", - "2607:fcd0:fa80:590a::/54": "8100", - "240a:ac78::/32": "145842", - "2801:17:a800::/48": "19429", - "2a09:4980::/32": "39360", - "2001:559:861f::/48": "33651", - "2400:cb00:408::/47": "13335", - "2404:f000::/32": "18001", - "2600:380:7980::/38": "20057", - "2600:2c01:1000::/36": "27582", - "2603:f3a0::/29": "396356", - "2804:b30:8000::/33": "52748", - "2620:11a:b000::/44": "12276", - "2a0b:6880::/32": "206466", - "2800:160:2022::/43": "14259", - "2a00:1158:4::/32": "8972", - "2001:4a0::/32": "8134", - "2620:83::/48": "5787", - "2620:171:24::/48": "715", - "2a00:4c20::/32": "6769", - "2001:550:7704::/48": "394346", - "2001:559:844a::/48": "33491", - "2600:1415:6::/44": "20940", - "2001:428:4003::/48": "26062", - "2400:8b00:1600::/42": "45727", - "240a:a3ec::/32": "143654", - "2a02:1800::/24": "6848", - "240a:ad60::/32": "146074", - "2604:680::/32": "40281", - "2804:145c:8f50::/40": "263327", - "2804:635c::/32": "269356", - "2a0c:8640::/30": "3257", - "2409:8c15:9800::/30": "56044", - "240a:a51f::/32": "143961", - "2a01:430::/43": "24971", - "2a01:9700:10c0::/44": "8376", - "2a0c:b641:5b0::/48": "213015", - "2c0f:f578:30::/32": "24691", - "2001:fd8:160::/48": "132199", - "2406:2000:1a8::/46": "10310", - "2600:141c:7::/48": "8151", - "2a02:26f7:d400::/48": "36183", - "2a03:6505:2000:7::/32": "6731", - "2400:580:9::/48": "4766", - "2404:f100:e000::/38": "17483", - "2403:c000:1001::/37": "4741", - "2a06:52c0:1::/46": "201483", - "2406:7900:7226::/48": "132300", - "2600:140f:1c01::/38": "20940", - "2a0a:1c00::/29": "207187", - "2001:559:c06a::/48": "33657", - "2a01:8840:65::/48": "207266", - "2a09:ea80::/29": "213314", - "2a01:58a0::/39": "51018", - "2001:67c:27c4::/48": "213032", - "2404:bf40:e703::/40": "139084", - "2606:6680:21::/45": "40676", - "2804:ec8::/32": "262532", - "2804:7b5c::/48": "271427", - "2001:559:2cf::/48": "20214", - "2607:f6f0:c000::/40": "29884", - "2a06:8080::/29": "31349", - "2a07:6cc0:60::/48": "61098", - "2a0b:cdc0::/31": "35790", - "2401:7400:e002::/36": "4773", - "240a:a353::/32": "143501", - "2620:0:5080::/48": "26462", - "2a02:26f7:d64d::/46": "20940", - "2001:559:81a9::/48": "33651", - "2001:49f0:d0d9::/46": "2914", - "2402:8100:cb0::/35": "55644", - "2804:1f18::/32": "52890", - "2804:7a34::/32": "271355", - "2a04:ff00:500::/48": "23470", - "2a02:47a0:a::/48": "49673", - "2001:559:c0c1::/48": "33652", - "2001:1b70:82cb::/48": "158", - "2404:5c40::/48": "136003", - "2620:a8:c000::/48": "32425", - "2804:4870:7400::/32": "267121", - "2804:5a10::/32": "268746", - "2a02:26f7:f588::/48": "36183", - "2a02:4f40::/32": "51464", - "2c0f:f058::/32": "32860", - "2804:3538::/32": "266275", - "2804:3cc4::/32": "266233", - "2a00:2000::/22": "5400", - "2a06:e881:2604::/48": "49745", - "2001:559:28f::/48": "33659", - "2001:7fd::/32": "25152", - "2406:7400:10::/46": "24309", - "2409:8904:56b0::/39": "24547", - "2a03:2880:f26a::/47": "32934", - "2a0b:680::/29": "43853", - "2001:559:718::/48": "33657", - "2001:18b8:43::/39": "29789", - "2600:802:1109::/31": "701", - "2620:10a:c000::/44": "15301", - "2600:380:f1e4::/43": "20057", - "2801:132::/44": "19429", - "2a02:4c8:b0::/32": "9070", - "2001:678:f38::/48": "211362", - "2405:bfc0::/32": "140042", - "2604:9d40::/48": "393290", - "2a06:e881:5800::/45": "204003", - "2001:67c:5e8::/48": "28681", - "2404:3d00:40d8::/42": "3573", - "2a04:f400:3001::/48": "15404", - "2a0c:4380:38f6::/48": "51945", - "2402:9d80:300::/40": "131429", - "2804:5f44::/32": "269088", - "2404:99c0::/32": "132196", - "2409:8020:1021::/43": "56046", - "2602:fc42:1::/48": "398017", - "2801:80:25b0::/48": "268014", - "2804:12d8::/32": "263500", - "2a00:1140:3::/38": "44806", - "2a04:5ec7::/48": "62154", - "2001:678:2c4::/48": "12731", - "2408:8459:3640::/36": "17816", - "240e:e9:6000::/37": "134756", - "2800:68:37::/48": "27947", - "2804:a4::/32": "53089", - "2a02:2010:2090::/45": "20978", - "2a02:2ab0:510::/38": "702", - "2402:7400:3000::/33": "38883", - "2605:3380:4d01::/48": "395174", - "2804:3fa4::/32": "265904", - "2a01:51c2::/29": "29422", - "2a02:908::/32": "3209", - "2402:800:39e0::/44": "7552", - "2402:5680:a000::/36": "133798", - "2600:9000:1113::/42": "16509", - "2610:28:f021::/36": "81", - "2803:5c80:6001::/48": "64114", - "2a00:1850:2ea::/48": "29357", - "2a06:300::/29": "51093", - "2a0b:c3c0::/29": "12329", - "2600:141c:5000::/48": "8151", - "2803:4300::/32": "263759", - "2001:dc4::/32": "23774", - "2604:9d40:1f9::/48": "7018", - "2605:9480:1300::/40": "31775", - "2602:ff96:14::/48": "8100", - "2c0f:ed28::/32": "328453", - "2001:c38:9125::/48": "9931", - "2409:8087:4500::/36": "9808", - "2a00:8c60:1::/48": "60706", - "2a03:2b40::/32": "16143", - "2a04:9b40::/32": "21305", - "2a0d:6180::/29": "200899", - "2a10:8b40::/32": "42369", - "2408:8456:9440::/38": "17816", - "2600:380:a080::/39": "20057", - "2605:7940:1::/46": "30456", - "2804:a64::/32": "52893", - "2804:3774:2300::/37": "266416", - "2a0f:9400:7370::/44": "213092", - "2600:140f:b000::/48": "9498", - "2604:8f40::/32": "23423", - "2a09:5240::/48": "34775", - "2001:559:88::/48": "7015", - "2001:4998:18::/48": "36088", - "2402:e380:127::/44": "139073", - "2803:7680:a000::/33": "22541", - "2a0f:3dc0::/29": "207902", - "2603:b0e0:feee::/39": "11796", - "2605:3940::/32": "397566", - "2a03:4400::/32": "28999", - "2001:67c:28dc::/48": "28674", - "2001:1248:a4b8::/45": "11172", - "240a:aa6e::/32": "145320", - "2603:c0f8:2910::/38": "20054", - "2804:4e74:c100::/34": "268262", - "2806:230:2039::/48": "11888", - "2a03:58a0::/32": "201330", - "2001:559:80ac::/48": "33668", - "2001:1248:99a7::/44": "11172", - "2409:8050:2002::/40": "56047", - "2804:56c0::/32": "268021", - "2a00:d880::/45": "198203", - "2a0f:e080::/48": "202971", - "2407:5280::/38": "133557", - "2409:8a04:6a00::/32": "24547", - "2804:7e90:fc00::/38": "271632", - "2806:230:2014::/48": "265594", - "2a09:e0c0::/29": "64421", - "2606:2800:7a0c::/48": "15133", - "2800:68:12::/47": "61468", - "2a07:3b80:4::/29": "47869", - "2001:bf7:1360::/32": "44194", - "2402:800:559b::/41": "7552", - "2402:1180::/32": "134076", - "2402:f200::/32": "18196", - "2403:780:ff00::/40": "64098", - "2406:6940::/41": "141047", - "2804:5518::/32": "268689", - "2001:559:5dd::/48": "33659", - "2001:fd8:f0f0::/39": "4775", - "2405:6e00:2440::/42": "133612", - "2800:830::/31": "19114", - "2804:29b8:1400::/33": "28126", - "2a00:ad87:4601::/48": "22216", - "2a02:26f7:e8::/48": "36183", - "2a02:26f7:d150::/48": "36183", - "2a07:2d40::/48": "25435", - "240a:a3d3::/32": "143629", - "2600:140b:4001::/38": "20940", - "2804:6c14::/32": "270444", - "2a01:8840:7d::/48": "207266", - "2a02:26f7:dfc9::/46": "20940", - "2a02:2e02:9230::/40": "12479", - "2804:7984::/32": "271310", - "2401:d800:990::/42": "7552", - "2408:8459:3820::/44": "17816", - "2a0f:7300::/32": "50113", - "2001:559:8078::/47": "7015", - "240a:a470::/32": "143786", - "2806:10ae:5::/44": "8151", - "2a09:bac0:19::/48": "13335", - "2001:df5:8480::/48": "136897", - "2408:896c::/32": "4837", - "2620:19:2000::/48": "803", - "2804:1e10::/32": "53122", - "2a10:4646:15::/48": "212066", - "2001:67c:18b0::/48": "35684", - "2408:8956:a800::/40": "17622", - "2800:600::/39": "52323", - "2409:8c28:5f91::/34": "56041", - "2606:2800:4a30::/46": "15133", - "2604:d600:536::/41": "32098", - "2606:5180::/32": "7992", - "2607:f3f0:3::/32": "16724", - "2607:fc48:438::/48": "40009", - "2a02:26f7:ee09::/42": "20940", - "2001:678:ce4::/48": "60557", - "2800:550:2a::/48": "20940", - "2804:14d8:c000::/34": "263354", - "2a02:6680:1100::/44": "16116", - "2a0d:41c0::/32": "204179", - "2c0f:fbf4:8001::/28": "32653", - "2a0e:1d80::/47": "203523", - "2402:800:96c5::/42": "7552", - "2408:80f1:80::/39": "17621", - "2409:8904:5d70::/40": "24547", - "240a:a604::/32": "144190", - "240e:947:6000::/32": "4134", - "2800:490:4e00::/39": "27951", - "2a02:26f7:db44::/48": "36183", - "2001:559:c1ec::/48": "33651", - "2408:8459:ce30::/41": "17622", - "240a:aeaf::/32": "146409", - "2604:d600:104d::/43": "32098", - "2620:b0:4000::/48": "209", - "2a02:26f7:c301::/46": "20940", - "2001:559:c1f5::/48": "20214", - "2001:678:128::/48": "205236", - "2001:678:8f0::/48": "209619", - "2406:b640:4100::/48": "139138", - "2600:370f:20e1::/46": "32261", - "2001:67c:27f8::/48": "51040", - "2001:1aa0::/29": "12301", - "2403:9800:c050::/42": "4648", - "2804:33f0:2a4::/32": "265426", - "2401:d800:5620::/41": "7552", - "240e:721::/29": "4134", - "2804:298:2013::/32": "53087", - "2001:559:82a2::/48": "7922", - "2001:16a2:6100::/40": "39386", - "240e:3bd:9200::/36": "140317", - "2600:141b:6000::/48": "3257", - "2a0e:9300:42c0::/48": "62184", - "2408:8459:1810::/42": "17623", - "2602:80b:a000::/47": "399791", - "2602:fd2f:10::/44": "33229", - "2620:10c:f004::/48": "33459", - "2803:2200::/32": "263174", - "2804:5048::/32": "268379", - "2a0a:8887:1::/48": "59922", - "2001:559:34b::/48": "7922", - "2400:d280:a::/32": "45648", - "2606:4540::/32": "399571", - "2a0f:ff40::/29": "207641", - "2400:cb00:a2e0::/47": "13335", - "2401:d800:71f0::/38": "7552", - "240e:3b4:2c00::/35": "134774", - "240e:3bb:2800::/38": "4134", - "2a0d:6d00::/29": "49223", - "2001:67c:2488::/48": "48258", - "2a00:1678:3cc0::/48": "49453", - "2a01:9e00:ac54::/29": "41495", - "2a02:26f7:fa45::/46": "20940", - "2001:559:c288::/48": "33660", - "2001:678:a9c::/48": "39702", - "2001:b000:590::/47": "131660", - "2405:9800:c881::/39": "45430", - "240e:108:1185::/43": "4134", - "240e:3ba:c800::/37": "4134", - "2a02:2e02:6b0::/41": "12479", - "2401:4900:1b10::/42": "45609", - "240e:3b7:8200::/35": "140316", - "2620:0:860::/46": "14907", - "2800:200:f181::/41": "12252", - "2a0a:a2c0:2::/29": "205992", - "2a11:dc00::/29": "42375", - "2a04:e00:10::/46": "54103", - "2001:559:866b::/48": "33287", - "2600:1408:e800::/48": "35994", - "2607:fcd0:fa80:4506::/54": "8100", - "2a02:ec0::/38": "41653", - "2001:67c:2070::/48": "200000", - "2409:803c:1100::/37": "9808", - "2001:1a20::/32": "8607", - "2402:800:9755::/42": "7552", - "2408:840c:c700::/40": "17621", - "2804:4390::/32": "28194", - "2a05:33c0::/48": "201522", - "2001:43f8:92::/48": "37708", - "2402:8100:3058::/42": "55644", - "2804:2e74::/45": "265347", - "2806:230:1300::/45": "265594", - "2c0f:f7a8:8150::/48": "4134", - "2600:1480:e801::/37": "20940", - "2a03:84a0::/44": "29990", - "2001:67c:1088::/47": "8426", - "2001:4490:4eb4::/44": "9829", - "2400:cb00:260::/47": "13335", - "2604:e880::/32": "40156", - "2804:21f8:180::/32": "262272", - "2a01:8840:82::/45": "12041", - "2a0b:3900::/31": "58310", - "2001:1810::/42": "14116", - "2408:840d:7500::/42": "17621", - "240a:af8f::/32": "146633", - "2401:8000::/38": "9919", - "2405:3000::/32": "3661", - "240a:a406::/32": "143680", - "2620:13:4000::/48": "16652", - "2803:ad20::/32": "266703", - "2a02:26f7:c408::/48": "36183", - "2a04:92c7:f::/43": "62240", - "2a00:1aa8::/29": "42189", - "2001:550:c00:103::/61": "174", - "2404:c2c0:8000::/36": "135629", - "240a:a83f::/32": "144761", - "2801:13e:6::/40": "19429", - "2804:160::/32": "28195", - "2804:37d0:4::/33": "266437", - "2806:230:2018::/48": "265594", - "2a06:cc80::/29": "203659", - "2a0f:e586::/32": "207656", - "2001:a08::/32": "39326", - "2401:803e:4025::/31": "9919", - "240a:aa9a::/32": "145364", - "2606:d280::/32": "394625", - "2620:12a:600a::/45": "32578", - "2001:1878:500::/40": "127", - "2401:ff80:1709::/46": "133954", - "2600:1408:c::/43": "20940", - "2620:132:6000::/48": "21701", - "2806:1040:fd::/32": "8151", - "2401:d800:9720::/41": "7552", - "2402:800:7820::/41": "7552", - "240a:a99a::/32": "145108", - "2610:e8:8000::/33": "6223", - "2804:3e8c::/32": "266605", - "2001:418:8404:2::/35": "2914", - "2001:559:8272::/48": "33651", - "2001:db0:3800::/33": "17766", - "2603:90f2::/32": "7843", - "2a0a:9302::/32": "35196", - "2a0f:56c0::/48": "48749", - "2c0f:f6f8::/32": "37589", - "2001:590:3804::/37": "3257", - "2804:870:fffb::/45": "52871", - "2a01:8840:41::/48": "207266", - "2402:3a80:500::/41": "38266", - "2406:840:e140::/48": "142164", - "240a:a77f::/32": "144569", - "2610:20:8804::/46": "2648", - "2405:db00::/32": "9268", - "240a:a55e::/32": "144024", - "2607:fd28:a000::/48": "23148", - "2610:20:8800::/46": "3477", - "2804:7e24::/32": "271605", - "2a02:cb43:9000::/47": "20546", - "2a04:a1c0:17::/48": "43059", - "2404:a800:1611::/34": "9498", - "240a:a48d::/32": "143815", - "240e:e1:d101::/30": "4812", - "2604:d600:1c0b::/43": "32098", - "2803:e880:8108::/45": "52468", - "2a02:17f8::/32": "44700", - "2a02:26f7:d084::/48": "36183", - "2a06:6080::/40": "204180", - "2409:8c28:30b1::/39": "56041", - "2620:10a:80ad::/48": "55195", - "2804:1b2:4000::/41": "18881", - "2804:7dd0::/32": "271584", - "2a06:79c0:2::/29": "15622", - "2400:7b80::/30": "133193", - "2605:2400:300::/37": "19528", - "2804:638c::/32": "269368", - "2620:74:a0::/48": "30060", - "2a09:dc00::/30": "8553", - "2001:1250:e600::/44": "22894", - "2620:63:2000::/48": "18966", - "2804:5928::/32": "268172", - "2a02:26f0:5d01::/38": "20940", - "2a05:7600:2::/48": "203438", - "2001:559:8541::/48": "22909", - "2400:be00::/48": "4847", - "240a:a86b::/32": "144805", - "2600:1480:b800::/48": "21342", - "2a01:6da0::/32": "3249", - "2a0e:b107:1340::/44": "212359", - "2402:800:bf60::/40": "7552", - "2607:fc10::/32": "46609", - "2a0f:7600::/32": "43847", - "2001:559:80d8::/47": "7922", - "2001:678:5dc::/48": "204675", - "2001:df0:be::/48": "7467", - "2409:8924:9b00::/37": "56046", - "2a02:5320:900::/40": "12189", - "2001:559:8458::/48": "33659", - "2402:e280:2000::/39": "134674", - "2408:8459:22c0::/37": "17816", - "2a04:7680::/29": "9007", - "2001:67c:213c::/48": "43681", - "2408:8459:6850::/38": "17816", - "240e:473:5d20::/41": "140486", - "2606:8980::/32": "394368", - "2606:9b00::/32": "35894", - "2607:fb90:bd00::/33": "21928", - "2620:119:500e::/47": "13443", - "2001:4488:7008::/32": "7713", - "2400:c600:1331::/48": "24389", - "2600:9000:11ba::/47": "16509", - "2804:5ce8:9100::/33": "268938", - "2a01:8280::/34": "44735", - "2a01:c50f:1600::/36": "12479", - "2a02:e980:15e::/42": "19551", - "2a03:7400::/29": "39642", - "2001:559:829c::/46": "7015", - "2001:67c:290c::/48": "212113", - "2001:67c:2bdc::/48": "205700", - "2a00:4520::/44": "42961", - "2a00:ed40::/32": "51043", - "2a02:26f7:d550::/48": "36183", - "2a03:4900:fffb::/45": "197695", - "2604:cc00:801::/48": "53292", - "2606:7080::/32": "13727", - "2804:1964::/32": "61792", - "2a02:2e02:1230::/41": "12479", - "2a0a:6bc0::/29": "60059", - "2408:8456:4210::/42": "134543", - "2800:110:2800::/48": "27875", - "2a03:7c80::/32": "25176", - "2403:bd80::/32": "59105", - "2404:0:8240::/37": "131591", - "240e:67a:e600::/31": "4134", - "2602:fed2::/48": "53356", - "2620:117:c000::/48": "21837", - "2a02:2698:a100::/40": "9049", - "2409:8009::/30": "9808", - "2803:5440:4053::/45": "264738", - "2401:803e:2001::/42": "9919", - "2402:4200:f000::/48": "24284", - "2600:100c:9210::/33": "22394", - "2a03:b500:2080::/35": "41135", - "2a03:db80:2c15::/35": "680", - "2a02:53c0::/32": "210306", - "2400:e480::/44": "131588", - "2405:3d40::/32": "139523", - "240e:473:1450::/39": "4134", - "2620:12c:9020::/48": "395359", - "2804:7a8:200::/32": "262309", - "2804:49f4::/32": "6453", - "2806:2f0:60a1::/41": "17072", - "240a:a334::/32": "143470", - "240e:874:300::/41": "140638", - "2600:370f:738e::/42": "32261", - "2607:f6f0:e000::/40": "398814", - "2001:559:c0a2::/48": "33659", - "2001:dc7:de00::/34": "24151", - "2001:fb0:109f:15::/48": "7470", - "2400:6300:1f::/48": "38746", - "2a10:7680::/32": "209056", - "2001:559:857e::/47": "33657", - "2001:559:8650::/48": "33491", - "240e:44d:2e00::/41": "140345", - "2804:4860::/32": "267117", - "2a01:7ee0::/48": "1257", - "2001:559:c1::/48": "33667", - "2400:e340::/46": "136450", - "2408:8a00:e000::/31": "9929", - "240a:a7ea::/32": "144676", - "2804:291c::/35": "263998", - "2804:734c::/32": "270906", - "2401:7540::/32": "132590", - "2801:140:121::/45": "262249", - "2a0b:79c0::/29": "8426", - "2404:1c40:b0::/41": "24432", - "2804:57bc::/33": "268083", - "2a02:7c8::/32": "24864", - "240e:f9:8000::/34": "134773", - "2607:fb10:7192::/41": "2906", - "2804:5284:e000::/35": "268523", - "2a02:590::/29": "21263", - "2a02:26f7:f8cd::/46": "20940", - "2a03:c8c0::/29": "50476", - "2a04:4e42:fd8::/42": "54113", - "2001:67c:2308::/48": "39538", - "2403:300:a13::/48": "714", - "240a:ad2b::/32": "146021", - "2a02:26f7:f445::/46": "20940", - "2803:6c20::/32": "265830", - "2804:43a0::/34": "267580", - "2001:559:10c::/48": "7015", - "2001:559:233::/48": "33666", - "2001:559:c136::/48": "20214", - "2001:df3:2a80::/48": "17920", - "2400:ca02:f0e3::/39": "23688", - "2401:d800:7b0::/41": "7552", - "2401:2a80:4::/32": "58793", - "240a:a5f5::/32": "144175", - "240e:108:87::/48": "4134", - "2600:1409:4001::/36": "20940", - "2804:2d98::/32": "61579", - "2a02:26f7:db0d::/46": "20940", - "240a:aff8::/32": "146738", - "2604:8200:1400::/38": "23089", - "2804:39b0::/32": "266044", - "2a0a:89c0::/29": "206010", - "2a0d:3340:c000::/35": "36492", - "2001:579:407f::/40": "22773", - "2806:370:5460::/40": "28403", - "2c0f:1a00::/32": "37603", - "2402:2f80::/48": "36351", - "240a:a168::/32": "143010", - "2600:9000:a120::/41": "16509", - "2404:f4c0:f94c::/48": "142551", - "2620:75:6000::/48": "397800", - "2a02:6000:ffff::/48": "35130", - "2a0c:b641:194::/44": "57853", - "2600:100a:a100::/44": "6167", - "2620:149:65::/43": "714", - "2001:df1:6003::/48": "9318", - "2620:100:3002::/48": "23286", - "2a00:13f8:fffc::/48": "13055", - "2a04:e702:97f::/48": "9044", - "2001:7d8::/32": "12329", - "2403:7e00::/32": "7546", - "240a:ade9::/32": "146211", - "2604:5940::/32": "395839", - "2804:5534:2002::/37": "268696", - "2a0e:b107:af0::/44": "50798", - "2402:8100:2100::/44": "45271", - "2001:559:73::/48": "33287", - "2402:800:9163::/43": "7552", - "240a:a828::/32": "144738", - "240e:964:9800::/33": "4134", - "2a09:e240::/48": "57706", - "2a0a:cc80::/47": "206667", - "2a0e:b105:718::/46": "20473", - "2401:d800:7130::/41": "7552", - "2404:3d00:400::/40": "21433", - "2600:370f:7345::/42": "32261", - "2604:d600:15a8::/45": "32098", - "2a02:26f7:c48c::/48": "36183", - "2401:0:6f00::/40": "58470", - "2600:6:ff00::/45": "10507", - "2804:1040:888b::/34": "263626", - "2a04:f310::/31": "12344", - "2a0b:2ac0::/29": "41366", - "2001:df4:a300::/48": "135817", - "2400:5800:5::/32": "38712", - "2600:100d:9100::/44": "6167", - "2804:1620::/32": "263269", - "2a02:26f7:e600::/48": "36183", - "2404:9ac0::/32": "37981", - "2800:a30::/37": "262187", - "2a01:41a0::/32": "62282", - "2001:6d0:6d08::/48": "205022", - "2402:f000::/32": "45576", - "240a:a141::/32": "142971", - "240a:a30d::/32": "143431", - "2804:4eb8::/32": "268277", - "2a02:2780::/32": "35434", - "2a07:7400::/29": "203964", - "2001:559:8635::/48": "33651", - "2001:df0:23e::/48": "9752", - "2804:3b34:6002::/35": "266135", - "2a0d:8d80::/32": "31424", - "2400:9800:d::/43": "24203", - "240e:1f:e000::/26": "4134", - "2602:ffc5:164::/48": "212032", - "2620:a::/48": "36008", - "2806:2f0:4124::/41": "17072", - "2c0f:ead0::/32": "328568", - "2401:8800:400::/40": "17439", - "2401:d800:bd0::/37": "7552", - "2a05:e740:160::/46": "29108", - "2001:559:80d0::/48": "22909", - "2001:df0:456::/48": "55904", - "2001:1a10:200::/36": "8781", - "2400:4e80:7a00::/32": "131584", - "2405:203:886::/47": "55836", - "240e:fe:a000::/35": "136198", - "2a05:da00::/29": "200984", - "2804:235c:c::/36": "52747", - "2804:649c:8000::/40": "61598", - "2a02:26c8::/32": "13156", - "2a02:26f7:7d::/48": "20940", - "2402:6640:24::/36": "134995", - "240a:a47b::/32": "143797", - "2001:559:839b::/48": "7016", - "240a:a740::/32": "144506", - "240e:3bd:d000::/36": "134772", - "2604:5d00::/32": "11915", - "2607:b080::/38": "29838", - "2001:67c:26f4::/48": "57821", - "2001:1530::/32": "2586", - "2402:3680::/32": "135543", - "2600:1417:34::/46": "20940", - "2602:fde8::/36": "398020", - "2a06:7580::/29": "203460", - "2a02:26f7:cd08::/48": "36183", - "2001:559:2cd::/48": "7922", - "2001:559:49a::/47": "21508", - "2001:559:8682::/48": "33657", - "2401:8800:600::/40": "17439", - "2405:6e00:2200::/43": "133612", - "2600:141c:8::/35": "20940", - "2804:e94:122::/43": "262468", - "2402:cb40::/32": "135132", - "2602:ff25::/39": "394346", - "2a04:ac00:9::/46": "203004", - "2606:ae00:b000::/38": "7287", - "2804:16d8:56f1::/34": "262729", - "2a02:26f0:8e01::/39": "20940", - "2a02:26f7:da88::/48": "36183", - "2a03:a6c0::/32": "201502", - "2a06:8401:3::/29": "198463", - "2a0b:4340:c6::/48": "44421", - "2607:ad00::/32": "30325", - "2804:41f4:2000::/38": "267468", - "2806:260:1000::/44": "13999", - "2a02:26f0:34::/47": "20940", - "2a06:dc40::/29": "29182", - "2408:8262::/29": "4837", - "240a:a0f8::/32": "142898", - "2001:67c:2f48::/48": "51273", - "2606:9780::/32": "394141", - "2a02:26f7:f608::/48": "36183", - "240a:a28f::/32": "143305", - "240e:f:c000::/37": "4134", - "2605:a401:88fd::/39": "33363", - "2607:b80:4::/32": "30247", - "2a10:8680::/29": "197071", - "2001:559:8559::/46": "7015", - "240a:a4fc::/32": "143926", - "2a00:b6c0::/29": "35170", - "2001:4488:f862::/39": "7713", - "2409:802f:2909::/38": "56041", - "2a02:26f0:2::/45": "20940", - "2001:438:fffd:19::/64": "17025", - "2600:9000:103e::/48": "16509", - "2401:ff80:1601::/45": "133954", - "2402:28c0:3::/45": "136620", - "2a02:26f7:d981::/46": "20940", - "2804:14d:1a88::/41": "28573", - "2806:230:3006::/48": "265594", - "2001:559:7bc::/48": "7016", - "240e:980:8700::/40": "4134", - "2a05:83c0::/29": "201248", - "2402:e280:1000::/47": "134674", - "2803:7e60::/32": "262186", - "2804:64e4::/32": "269456", - "2a01:aa80::/48": "3301", - "2403:7c00::/32": "10001", - "240e:105:ee00::/39": "58563", - "2a09:a4c7:6000::/32": "208861", - "2a0b:c600::/29": "51344", - "2402:800:351d::/42": "7552", - "240e:473:8950::/40": "4134", - "2804:3dc:a10::/32": "52967", - "2a04:9a40::/29": "51373", - "2a10:c941:11:11::/30": "35277", - "2001:1248:574b::/42": "11172", - "2405:9800:7::/48": "45458", - "2a10:7a40:a::/48": "39910", - "2402:c780::/32": "134232", - "2604:3d80:804::/48": "394302", - "2409:8020:1031::/41": "56046", - "2804:5bfc::/32": "268881", - "2a02:26f7:c809::/42": "20940", - "2001:559:1de::/47": "33651", - "2408:8459:2010::/42": "17623", - "2a0e:7400::/29": "39305", - "2c0f:f850:dc04::/47": "327979", - "2407:7a80::/43": "132384", - "240a:a08f::/32": "142793", - "2806:2f0:95a0::/41": "17072", - "2a01:c50e:df00::/34": "12479", - "240e:108:11c2::/43": "4134", - "240e:979:f00::/40": "138950", - "2603:c001:2410::/38": "31898", - "2604:5500:c00::/42": "19165", - "2604:d600:1622::/45": "32098", - "2804:3c::/32": "28576", - "2a00:d680::/32": "31708", - "2401:d800:f320::/41": "7552", - "2405:1c0::/33": "55303", - "240a:a022::/32": "142684", - "2801:1fc:26::/48": "27951", - "240a:ab80::/32": "145594", - "2804:5474:7::/32": "268651", - "2a10:88c0::/29": "49808", - "2001:3c8:1307::/44": "4621", - "2408:8456:cc40::/40": "17816", - "2602:803:4072::/47": "398223", - "2001:559:85f8::/48": "33662", - "2001:67c:1680::/48": "212037", - "2620:115:83::/41": "18888", - "2a0a:ec02:ff00::/48": "42692", - "2a00:cba0::/32": "21476", - "2001:678:8f8::/48": "206884", - "2404:ef00::/32": "4622", - "2407:a600:4000::/36": "18004", - "2408:8956:4300::/40": "17816", - "240a:a747::/32": "144513", - "2607:9800:c141::/35": "15085", - "2620:66:6000::/48": "54345", - "2001:1b70:82a3::/48": "158", - "2401:3c00:180::/42": "38322", - "2409:8030:1010::/40": "9808", - "2409:803c:2800::/38": "24444", - "2604:a840::/46": "6233", - "2a02:d5c0::/29": "49565", - "2605:f100::/32": "14265", - "2804:1d20:2600::/32": "264349", - "2804:52e0::/32": "268547", - "2804:75a4:100::/32": "271060", - "2a06:9cc7:ff11::/46": "8666", - "2001:503:eea3::/48": "397197", - "240a:a7e5::/32": "144671", - "2620:ff:4000::/48": "394566", - "2804:59fc:2000::/35": "268738", - "2a02:26f7:e7d0::/48": "36183", - "2001:67c:1be8::/48": "57692", - "2001:b08:9::/48": "3267", - "2804:1ddc::/32": "263258", - "2a02:1620::/32": "1290", - "2a06:e881:1200::/44": "202928", - "2001:4b98:aaac::/39": "29169", - "2800:a30:ed31::/35": "262187", - "2803:a2e0::/32": "269921", - "2a02:2e0:421::/29": "12306", - "2001:438:fffd:6c::/64": "7181", - "2001:506:30::/48": "13830", - "240a:aab5::/32": "145391", - "240a:ad89::/32": "146115", - "2607:f740:e621::/48": "63911", - "2a02:4a20::/32": "30742", - "2408:8459:4210::/42": "17623", - "2603:c021::/35": "31898", - "2804:68bc::/32": "269712", - "2a02:aec0:1::/46": "57363", - "2001:559:8492::/48": "33667", - "2001:978:904::/44": "174", - "2402:2000:7001::/32": "24350", - "2408:8256:2f6d::/48": "17816", - "2605:9b80::/32": "14828", - "2606:f900:a801::/37": "812", - "2a02:26f7:eac1::/46": "20940", - "2404:4600:fcf::/32": "10158", - "2a00:7fc0::/33": "25291", - "2402:800:5c01::/43": "7552", - "2406:840:5860::/47": "139317", - "2605:8000:23a::/32": "4261", - "2804:14d:5cd5::/42": "28573", - "2a03:402::/32": "29141", - "240a:ad68::/32": "146082", - "2a10:31c4::/30": "398481", - "2001:678:c28::/48": "13195", - "2404:d900::/32": "58656", - "240e:981:9100::/34": "4134", - "2800:490:e800::/39": "27951", - "2804:3d70::/32": "266531", - "2600:140f:4201::/37": "20940", - "2604:d600:2a01::/32": "32098", - "2800:68::/44": "61468", - "2a03:9e43::/32": "141760", - "2a0d:c2c0::/29": "44592", - "2001:510:c011::/34": "376", - "2600:6c38:20::/46": "20115", - "2607:9b80::/40": "46558", - "2a05:5dc0::/29": "201193", - "2001:678:f30::/48": "211398", - "2401:b00:f000::/36": "17564", - "240a:a323::/32": "143453", - "2606:55c0::/32": "399969", - "2a02:26f7:74::/48": "36183", - "2a04:ac00:8::/48": "57010", - "2a0f:4c40::/29": "207923", - "2403:9a00::/32": "7505", - "2607:5500::/31": "54290", - "2804:2750::/32": "263893", - "2a00:1b18::/32": "47527", - "2401:d800:b300::/42": "7552", - "2404:bf40:a5c2::/35": "139084", - "240c:408d:3000::/22": "38365", - "2604:d600:1b02::/45": "32098", - "2804:ac4::/32": "52920", - "2806:32d:b000::/33": "28431", - "2a0a:44c0::/29": "50083", - "240a:a2a5::/32": "143327", - "2a0e:57c0:800::/38": "12731", - "2c0f:f7a8:8210::/47": "4134", - "2001:4878:c007::/44": "12222", - "2402:3580:9011::/48": "134118", - "2406:daa0:e0c0::/44": "16509", - "2a00:de40::/32": "29119", - "2401:d800:9750::/42": "7552", - "2620:171:1c::/47": "715", - "2a03:40:8000::/33": "13003", - "2c0f:ef20::/32": "37611", - "2001:1248:5a4d::/43": "11172", - "2402:400::/32": "7610", - "2804:140c::/32": "263310", - "2001:559:87a2::/45": "7922", - "2804:2580:4000::/35": "264284", - "2804:46d8::/32": "267015", - "2a01:b460::/32": "6830", - "2a0b:b500::/47": "60764", - "2001:559:813d::/46": "33491", - "2408:8656:2cfa::/45": "17623", - "2a09:ed80::/29": "203959", - "2405:9800:d200::/48": "134240", - "240a:aae5::/32": "145439", - "240a:ad53::/32": "146061", - "2605:de40:1005::/34": "397553", - "2001:678:71c::/48": "57265", - "2001:4998:ef6c::/48": "36646", - "240e:438:5620::/43": "140647", - "2001:559:c383::/48": "33652", - "2001:4490:4e34::/44": "9829", - "2401:c5c0:51::/42": "55492", - "2402:800:9aee::/43": "7552", - "2a00:dcc0::/32": "34971", - "2a02:3d0:622::/32": "22822", - "2a02:26f7:c8cc::/48": "36183", - "2001:1248:8401::/44": "11172", - "2401:9d00:1132::/32": "9835", - "2408:8456:7c40::/39": "17816", - "2a01:b180::/47": "57037", - "2a03:ddc0::/32": "199350", - "2001:468:913::/48": "1747", - "2001:9d0::/32": "8387", - "240a:aa72::/32": "145324", - "2607:b400::/40": "1312", - "2620:40:a000::/48": "54495", - "2a02:a10::/32": "60703", - "2a02:1710:4::/48": "44843", - "2001:559:21::/48": "7015", - "2001:559:c1a6::/48": "33662", - "2001:4188::/48": "12880", - "2607:bc80::/32": "31953", - "2804:14d:ba00::/41": "28573", - "2a03:2887:ff0d::/48": "35819", - "240a:a9ea::/32": "145188", - "2800:160:105c::/42": "14259", - "2a02:27c8::/32": "48645", - "2001:470:120::/48": "63343", - "2001:b28:a452::/38": "42065", - "2409:8904:39a0::/38": "24547", - "240e:c0:1800::/37": "63835", - "2600:370f:3628::/47": "32261", - "2604:f400:6000::/37": "40579", - "2001:67c:2dac::/48": "42886", - "2403:1000:4100::/40": "38819", - "2607:fd28:a010::/48": "10913", - "2620:1ec:21::/45": "8068", - "2001:418:1439::/48": "1225", - "2604:bb80::/38": "14602", - "2610:10::/32": "6366", - "2a00:a780::/32": "44229", - "2405:8a00:203a::/41": "55824", - "2607:fc48:440::/48": "40009", - "2804:4080::/32": "265963", - "2001:559:46b::/48": "20214", - "2402:8100:39ed::/46": "55644", - "2402:fb00::/34": "3300", - "2620:128:2000::/44": "395287", - "2a03:db80:4814::/48": "60824", - "2a0b:3901:2::/29": "58310", - "2600:1007:f100::/44": "6167", - "2a02:26f7:dc49::/46": "20940", - "2804:1b0:1000::/36": "18881", - "2a04:a142::/32": "20473", - "2401:7200:2128::/48": "55328", - "240e:3b4:f100::/36": "4134", - "2001:44b8:30f1::/46": "4739", - "240a:af0e::/32": "146504", - "2600:b400::/28": "18254", - "2804:588::/32": "53014", - "2a0a:56c4:8001::/48": "42649", - "2001:1248:9c00::/44": "11172", - "2001:b200:2300::/35": "9505", - "2406:4e40:101::/38": "140966", - "2402:cf80:100::/44": "62597", - "2a01:c50e:9c00::/34": "12479", - "2a02:26f0:8000::/48": "8551", - "2a09:2040::/29": "61157", - "2001:470:fe::/48": "36315", - "2001:559:39b::/48": "33660", - "240a:a164::/32": "143006", - "2600:40ff:ff10::/47": "1321", - "2a03:8600::/35": "3399", - "2a04:4e40:a600::/48": "54113", - "2001:559:3fc::/47": "33652", - "2804:25b0::/32": "264295", - "2804:2bc8::/32": "265175", - "240a:a32b::/32": "143461", - "2803:3520::/32": "266692", - "2804:2e4:aabb::/33": "53234", - "2401:3c00:100::/42": "38322", - "2001:559:162::/48": "7016", - "2001:16a2::/43": "25019", - "2001:4408:1090::/39": "4758", - "2804:2818:b::/32": "263940", - "2a03:a300:800::/35": "35104", - "2a03:bf01::/32": "43529", - "2a0a:340:1000::/40": "48043", - "2001:de8:b::/48": "9825", - "2001:ee0:d140::/38": "45899", - "2408:8957:8a00::/40": "17622", - "2a02:26f7:c680::/48": "36183", - "2a0e:97c0:232::/47": "211704", - "2001:500:a9::/48": "394018", - "240a:ac4c::/32": "145798", - "2620:6f:2000::/48": "397529", - "2804:1a68::/32": "262420", - "2607:f0d0:4::/46": "36351", - "2804:4c4::/32": "28271", - "240a:a1c1::/32": "143099", - "240e:1c:2000::/36": "4134", - "2a00:e860:180::/46": "200129", - "2a02:26f7:d589::/46": "20940", - "2404:f780::/46": "136557", - "2a02:26f7:c391::/42": "20940", - "2401:ff80:1a01::/46": "133954", - "2800:160:2583::/41": "14259", - "2804:62bc:c0cb::/34": "269315", - "2a0a:8600::/29": "61317", - "2a10:7d40::/29": "6939", - "2404:f4c0:1000::/40": "24487", - "2409:801f:3008::/48": "24400", - "2606:6c00:a000::/48": "32787", - "2801:160::/40": "52456", - "2a02:26f7:cbc1::/46": "20940", - "2a02:cf80:3::/45": "35435", - "2a03:69c0::/48": "60601", - "2804:32d8::/32": "28212", - "2804:6544::/32": "269479", - "2a03:a9a0::/32": "22208", - "2a0a:85c0::/29": "35189", - "2001:559:14c::/48": "7016", - "2402:8700::/41": "58979", - "2408:8957:e00::/40": "17622", - "2600:1406:f001::/37": "20940", - "2804:9c::/32": "262695", - "2806:2f0:31c1::/42": "17072", - "2a00:7fc0:8000::/48": "49130", - "2a0f:a300::/32": "44326", - "2804:5e98::/32": "269043", - "2001:253:11a::/45": "38272", - "240e:40:9::/46": "4134", - "2600:b00::/28": "36728", - "2602:103:1000::/36": "20115", - "2605:3380:4138::/45": "12025", - "2620:122::/46": "394186", - "2804:14c:5fe9::/43": "28573", - "2c0f:ef78:d::/46": "63293", - "2001:1248:84d4::/47": "11172", - "240a:a368::/32": "143522", - "2620:149:ae1::/45": "714", - "2a03:94c0::/40": "39326", - "2a0d:e4c4:1000::/32": "208861", - "2001:559:1be::/48": "33667", - "2804:1bf0:2::/32": "61758", - "2804:4a54::/32": "267233", - "2804:5da0::/32": "268983", - "2a02:e840::/35": "15974", - "2a06:fd00::/32": "5488", - "2001:559:c314::/48": "7016", - "2001:4cb0::/32": "29009", - "240a:a9d5::/32": "145167", - "2a02:100e:6b80::/48": "212587", - "2a02:26f7:b9::/46": "20940", - "2a0b:7087:fff0::/44": "50867", - "2001:67c:f0::/48": "50381", - "2a00:bdc0:e007::/44": "28709", - "2a05:a140::/29": "41174", - "2607:f6f0:8000::/48": "32550", - "2a11:780::/29": "208861", - "2a0a:df80:25::/48": "42346", - "2001:559:1ca::/48": "7922", - "2409:8904:4860::/39": "24547", - "240a:aee7::/32": "146465", - "2600:140b:6801::/35": "20940", - "2804:5cf8::/32": "268943", - "2806:2f0:7022::/47": "17072", - "2a03:db80::/34": "680", - "2001:559:497::/48": "7016", - "2404:e100:3002::/47": "55685", - "2800:d302:18::/42": "11830", - "2001:559:7f8::/48": "33657", - "2408:8957:a100::/40": "17816", - "2607:6480::/35": "395336", - "2a0f:9ec0::/29": "211626", - "2001:678:8d4::/48": "1205", - "2a02:26f7:b804::/48": "36183", - "2804:45c8:2::/32": "266949", - "2a05:7400:c000::/34": "60980", - "2001:559:3ad::/48": "20214", - "2001:1388:a::/43": "6147", - "2603:c0f0:2820::/39": "6142", - "2a00:55a0:ea00::/40": "9009", - "2a03:240::/32": "25009", - "2001:43f8:90::/48": "37708", - "2408:8456:600::/42": "17622", - "2607:fcd0:fa80:601::/52": "8100", - "2800:ba0:20::/48": "263812", - "2a02:9b0:28::/33": "35819", - "2a03:cbc0::/29": "61200", - "2a0c:b381::/38": "204731", - "2a0d:c580::/29": "204490", - "2804:2d3c::/32": "265268", - "2001:4860:4805::/48": "43515", - "2401:5a00:ffff::/48": "10032", - "2804:2e48::/32": "265336", - "2a10:e580:4000::/48": "399114", - "2600:140f:1a00::/48": "9498", - "2804:6878::/32": "269694", - "2a09:7:2009::/48": "208982", - "2a0b:2a41::/29": "29014", - "2001:4478:1400::/39": "4802", - "2001:4888:8057::/42": "6167", - "2400:bb00:101::/46": "56274", - "2a07:e080::/29": "202347", - "2402:800:f7b0::/41": "7552", - "2409:8018:4000::/32": "9808", - "240a:ad34::/32": "146030", - "2602:809:9000::/46": "399201", - "2a02:26f7:1c::/48": "36183", - "2a07:8145::/36": "4755", - "2a0c:680::/32": "29182", - "2804:53b0:4011::/32": "268600", - "2a02:26f7:b800::/48": "36183", - "2001:410:a01d::/40": "8111", - "2408:8256:2d97::/44": "17623", - "2409:8904:5740::/42": "24547", - "240a:a679::/32": "144307", - "2607:fee0:a100::/33": "3599", - "2620:12b:4081::/41": "395568", - "2a0f:57c0::/32": "199536", - "2404:f4c0:f3ff::/48": "139299", - "2406:b640::/40": "139138", - "2804:59d8:a200::/35": "268729", - "2804:6e80::/32": "270601", - "2a09:5080:2::/47": "42652", - "2a0d:2d41::/32": "209419", - "240e:980:4d00::/40": "137687", - "2604:8540:fcc0::/48": "33353", - "2a0b:5540::/45": "213002", - "2600:6c38:f0e::/43": "20115", - "2800:cc0::/32": "262210", - "2a0a:22c0::/29": "60167", - "240a:a801::/32": "144699", - "2600:1014:b0f0::/44": "22394", - "2803:600::/32": "18809", - "2804:30fc:4::/32": "263009", - "2001:559:8132::/48": "33491", - "2602:fc59::/40": "19625", - "2803:200::/32": "52284", - "2804:6ff8::/32": "270698", - "2a0a:9340::/48": "60016", - "2409:8924:100::/38": "56046", - "2605:a7c0:120::/48": "14618", - "240a:ae2a::/32": "146276", - "2603:c0ea:4000::/35": "1218", - "2803:2a80:f0::/47": "262928", - "2a01:c50f:fcc0::/39": "12479", - "2a00:1d58:f001::/46": "47524", - "2001:49f0:d0d0::/45": "174", - "2405:9800:c920::/48": "45458", - "2406:3001:20:7::/60": "4657", - "2600:1409:8::/46": "20940", - "2804:62d8::/32": "269322", - "2804:8184::/32": "272459", - "2a00:1288:81::/46": "10310", - "2a0e:4780::/29": "61048", - "2804:1598::/32": "263397", - "2a02:c280::/29": "198725", - "2a03:2880:f20b::/43": "32934", - "2a03:7380:5c00::/42": "13188", - "2001:559:83c8::/48": "33659", - "2001:67c:2fd8::/48": "205496", - "2001:df5:3e00::/48": "38755", - "240e:109:8026::/48": "4134", - "2600:140f:2400::/48": "9498", - "2a02:26f7:ca01::/46": "20940", - "2a02:29ea:1e::/48": "49604", - "2001:df4:7000::/48": "45561", - "2803:fd80:1000::/32": "18747", - "2a0e:7340::/29": "41498", - "2c0f:fb98::/32": "37480", - "2001:67c:2a40::/48": "20712", - "2408:8956:e500::/40": "17816", - "2804:3d6c::/32": "266530", - "2804:3dd0::/32": "266555", - "2804:6a2c::/32": "270317", - "2a02:26f7:d040::/48": "36183", - "2a0d:2582:100::/44": "211367", - "2401:d980:1100::/40": "10138", - "2408:8256:339a::/45": "17623", - "2001:7f8:27::/48": "29535", - "2804:87c::/32": "28202", - "2a02:26f7:d551::/42": "20940", - "2001:468:2610::/48": "396955", - "2001:44b8:309f::/48": "4739", - "240e:37b:aa00::/39": "140330", - "2600:6c32::/31": "20115", - "2a03:2880:f16a::/47": "32934", - "2001:67c:2674::/48": "57684", - "2a02:888:8100:701::/29": "47794", - "2001:559:854e::/48": "33491", - "2001:448a:6030::/41": "7713", - "2806:370:7240::/40": "28403", - "2001:fb0:1078::/48": "55844", - "2804:179c:2016::/35": "263159", - "2a00:d1a0::/47": "61317", - "2a04:dcc0::/29": "201983", - "2600:1004:a100::/43": "6167", - "2607:fff8::/32": "47027", - "2800:160:603::/35": "14259", - "2806:230:5000::/48": "265594", - "2a01:9700:10dc::/46": "8376", - "2402:a00::/32": "45916", - "2607:f680::/32": "26228", - "2a02:568:fe03::/39": "8763", - "2a10:2f00:12a::/48": "9886", - "240a:a39d::/32": "143575", - "2a01:4c01::/32": "58291", - "2a02:23e0::/32": "35393", - "2001:ee0:380::/42": "45899", - "2803:da20::/40": "27951", - "2a02:2ad0:502::/48": "1270", - "2a0a:c800::/30": "39798", - "2600:6c3a:61::/43": "20115", - "2a0b:6b86:b13::/45": "206699", - "2a0f:efc0::/32": "49544", - "2a02:270::/32": "2116", - "2a06:8dc3::/48": "57878", - "2001:c20:4868::/48": "9255", - "2400:cb00:a2d0::/47": "13335", - "2804:984:2e00::/32": "263097", - "2001:67c:2ee8::/48": "49787", - "2001:ee0:3c0::/44": "135905", - "2804:2d34::/32": "265266", - "2a01:7160::/32": "49223", - "2a0c:e740::/33": "51778", - "2a10:4640::/47": "212815", - "2001:418:1401:400::/43": "2914", - "2001:559:81e3::/48": "33652", - "2600:1480:580a::/48": "20940", - "2804:14c:8100::/40": "28573", - "2a01:480::/32": "24961", - "2a02:2718::/29": "30873", - "2a0d:e400::/32": "60363", - "2600:9000:1106::/44": "16509", - "2607:fdc8:10::/48": "30036", - "2804:1968::/32": "61793", - "2001:13b1:3::/32": "3549", - "2402:6880:1000::/48": "63989", - "2605:9780:1400::/40": "36180", - "2804:fb4:2ffb::/32": "263599", - "2a05:9340::/30": "60117", - "2406:da1a::/36": "16509", - "2408:820c:9c30::/34": "17621", - "2804:214:8700::/33": "26615", - "2001:559:51d::/46": "7922", - "240a:a3a6::/32": "143584", - "2610:d0::/32": "3943", - "2800:bf0:280::/44": "52257", - "2a10:2f01:30a::/47": "212568", - "2001:67c:168::/48": "12350", - "2607:d800::/32": "32514", - "2804:726c::/32": "270851", - "2a06:d900::/29": "208861", - "2a0f:fa80::/29": "60262", - "2001:67c:1318::/48": "206594", - "240a:a29b::/32": "143317", - "2620:11:50::/47": "3486", - "2804:244::/32": "262801", - "2804:4d08::/32": "267408", - "2a02:2ad0:120::/43": "702", - "2a0c:9700::/29": "57376", - "2a10:2f01:245::/46": "213316", - "2001:559:8683::/48": "33660", - "2602:feda:b90::/46": "212995", - "2607:fcc8:5000::/36": "11955", - "2803:2a00::/38": "27895", - "2a02:410::/32": "12347", - "2a04:6ac0::/29": "8100", - "2a0f:3cc6::/32": "60735", - "2a0d:10c0::/29": "31566", - "2001:559:80ee::/48": "33659", - "2001:67c:12c::/48": "43692", - "2001:4528::/38": "18101", - "2408:84f3:3040::/44": "17623", - "2409:8062:100::/36": "9808", - "2a02:e0c0:2c00::/38": "9100", - "2a04:c240::/29": "62009", - "2402:800:568d::/43": "7552", - "2605:5fcd::/30": "1239", - "2607:f7a8:606::/48": "397488", - "2804:7070::/32": "270727", - "2a02:cbe0::/31": "197029", - "2a09:7:2008::/48": "3258", - "2001:9c8::/29": "29518", - "2001:ddd::/48": "18369", - "2409:8907:8220::/39": "24547", - "240e:978:6000::/40": "137702", - "2620:100:6012::/42": "19679", - "2800:4b0:8011::/40": "12252", - "2a02:2318::/32": "15766", - "2a10:b600::/32": "212241", - "2001:559:9f::/48": "7922", - "2a0b:11c0:1010::/48": "198682", - "2a0d:77c7:a4e::/34": "7489", - "2406:3003:2000::/42": "55430", - "2605:4c40:abd::/32": "30081", - "2804:3ef8::/32": "266632", - "2001:df1:1080::/48": "136977", - "2001:df5:1680::/48": "45671", - "2404:4a00:8a00::/64": "55423", - "2406:1400:8386::/47": "24342", - "2001:67c:15d8::/48": "43668", - "2001:5000::/36": "1273", - "2408:8957:d8c0::/39": "17816", - "2600:100f:b0d0::/44": "6167", - "2806:2f0:8061::/40": "17072", - "2a0b:b87:ffb7::/48": "59417", - "2406:da70:4000::/40": "16509", - "2001:67c:240::/48": "42473", - "2400:a040::/44": "136237", - "2a07:6fc0:20::/29": "34549", - "2a02:2e02:1bc0::/42": "12479", - "2a0c:b641:250::/44": "210821", - "2001:828::/32": "21155", - "2001:df3:1e00::/48": "55824", - "2001:4de0:ac18::/47": "20446", - "240a:ab9f::/32": "145625", - "2804:27d4::/32": "263924", - "2a02:ac80:301::/37": "25145", - "2a06:c380::/29": "60721", - "2a01:c50f:2c80::/35": "12479", - "2001:559:2e9::/48": "7725", - "2001:c60::/32": "17828", - "2001:1248:704b::/43": "11172", - "240a:a6be::/32": "144376", - "240e:1f:1::/48": "58543", - "2605:9e80::/32": "6099", - "2800:300::/33": "27986", - "2001:559:c2b7::/48": "13367", - "2402:800:9b55::/42": "7552", - "2408:870c:90::/41": "17621", - "2001:559:c014::/48": "33651", - "2001:678:430::/47": "205956", - "2001:4430:5128::/38": "17853", - "240a:ac0c::/32": "145734", - "2804:4cb4:9000::/33": "267386", - "2a01:a420::/29": "201978", - "2a06:3f40::/29": "21466", - "2804:e2c::/32": "262938", - "2806:2f0:3161::/46": "17072", - "2a03:b980::/38": "56730", - "2605:dd40:8202::/48": "398549", - "2804:18e4::/32": "61761", - "2804:21a0::/32": "264565", - "2a06:a900::/29": "213358", - "2a11:e487:1::/48": "212580", - "2600:6c2e:fd4::/32": "20115", - "2603:c0f8:1210::/37": "20054", - "2803:a0a0::/40": "266790", - "2804:2b5c::/32": "265150", - "2804:2e50::/32": "265338", - "2804:3288::/33": "52827", - "2406:8100::/35": "24182", - "2a0f:7ec0:100::/48": "12303", - "240a:a641::/32": "144251", - "240a:aced::/32": "145959", - "2001:49f0:d105::/44": "174", - "2804:693c::/32": "270257", - "2a00:5840::/32": "5631", - "2001:678:e0c::/48": "212783", - "240a:aad8::/32": "145426", - "2a01:cb20:5000::/32": "3215", - "2001:668:121::/46": "54040", - "240a:aae1::/32": "145435", - "240e:44d:1200::/41": "140345", - "2604:3e00::/32": "2552", - "2806:1070::/37": "8151", - "2001:12a0::/45": "28292", - "2408:8256:3789::/48": "17816", - "240a:a0af::/32": "142825", - "2001:fd0:1201::/39": "10029", - "2001:4878:356::/48": "12222", - "240a:a338::/32": "143474", - "2a07:c500::/29": "48501", - "2a0b:1900::/44": "57878", - "240a:a18a::/32": "143044", - "2600:1003:b1b0::/41": "22394", - "2606:6000::/34": "20001", - "2a00:b8c0::/32": "198549", - "2a0f:9400:7382::/48": "53356", - "2001:44c8:3100::/40": "45781", - "240e:a28::/25": "4134", - "2804:51c:a121::/33": "262495", - "2401:8a40:1::/45": "45326", - "240a:ac18::/32": "145746", - "2610:20:3000::/44": "3635", - "2804:190:300::/32": "53165", - "2a01:b340::/32": "15751", - "2a03:2880:f146::/43": "32934", - "2a0d:5642:117::/48": "35487", - "2001:67c:2af4::/48": "8562", - "2607:fad0:40::/44": "53824", - "2620:118:8000::/48": "40885", - "2804:108c:c500::/35": "28146", - "2804:74f8::/32": "271015", - "2a02:cc9::/32": "203065", - "2a02:26f7:f284::/48": "36183", - "2a04:2000::/29": "198184", - "2402:800:59d3::/44": "7552", - "2403:4e00:303::/44": "45528", - "240e:3b9:3e00::/33": "140308", - "2602:fcce:bae::/37": "399200", - "2620:26:4002::/48": "14244", - "2a00:8860:100::/40": "60558", - "2a01:6280::/32": "30900", - "2001:468:2651::/40": "11537", - "2001:4c8:1104::/43": "15290", - "2600:1402:1000::/48": "35994", - "2606:5e80::/32": "22379", - "2804:2748::/32": "263891", - "2a03:ec00:ba00::/33": "12847", - "2405:9d80:5::/32": "45538", - "2800:6c0::/32": "27823", - "2803:9800:9037::/44": "11664", - "2a00:1c40::/32": "39179", - "2a05:6300::/29": "201341", - "2001:559:877e::/48": "7015", - "2001:678:cc8::/48": "41427", - "2804:41d0:c020::/34": "267458", - "2806:28e::/32": "265530", - "2a00:1188:10::/48": "47543", - "2804:178c::/32": "263154", - "2001:218:8400::/33": "2914", - "2001:470:68::/48": "12266", - "2001:df3:bc80::/48": "135067", - "2404:b300:101::/48": "131207", - "240a:a550::/32": "144010", - "2604:900::/32": "14477", - "2620:101:200d::/46": "30215", - "2a0e:6b40:20::/48": "8495", - "2a0e:b107:5c0::/48": "213366", - "240a:adef::/32": "146217", - "2620:101:2011::/46": "30238", - "2803:5440:4049::/48": "264738", - "2803:f7e0:3000::/48": "271773", - "2804:673c:c000::/38": "269615", - "2a02:26f7:ee44::/48": "36183", - "2a0c:4780::/29": "204814", - "2001:559:494::/48": "7016", - "2401:ff80:1c81::/45": "133954", - "2620:4b::/48": "393523", - "2803:29a0::/32": "267710", - "2a04:6b40::/29": "8681", - "2001:559:77f::/48": "7015", - "2001:44b8:4063::/48": "4739", - "2402:600:1001::/32": "38515", - "2407:8000::/43": "9381", - "2803:6700:340::/48": "263210", - "2a02:26f7:e581::/46": "20940", - "2001:67c:17fc::/48": "212024", - "2406:f00:4::/48": "23770", - "2408:80f1:160::/43": "138421", - "240e:982:4000::/39": "134768", - "2620:a2:c000::/48": "46875", - "2620:10d:d004::/47": "15101", - "2801:104:20::/44": "27828", - "2001:559:1c6::/48": "7922", - "2001:67c:17e0::/48": "207688", - "240a:a4db::/32": "143893", - "2a00:1778::/32": "42252", - "2001:559:c158::/48": "22258", - "2001:579:b9cc::/33": "22773", - "2400:6280:135::/48": "132280", - "2400:adc0:4200::/46": "9541", - "2604:5800::/32": "19969", - "2a0c:bdc0::/29": "51333", - "2001:4878:153::/48": "12222", - "2408:8459:c10::/41": "17622", - "2804:2350::/32": "264155", - "2a00:d780::/32": "15557", - "2a02:a11::/29": "31251", - "240a:a548::/32": "144002", - "240a:aaee::/32": "145448", - "2600:1009:d000::/43": "6167", - "2804:18f4::/32": "61765", - "2a05:b00::/29": "196645", - "240a:a9cd::/32": "145159", - "240e:924:1000::/34": "4134", - "2605:2580::/32": "5683", - "2804:269c:fe07::/48": "47065", - "2400:a980:6100::/36": "133111", - "240a:a1d3::/32": "143117", - "2a11:2100::/29": "42375", - "2001:468:1f0f::/48": "11537", - "2001:d68:7::/44": "38759", - "2400:5e00::/32": "44444", - "2401:7000:b000::/33": "45177", - "2408:8456:d010::/42": "134543", - "240a:a265::/32": "143263", - "240e:473:1750::/40": "4134", - "2404:f4c0:5151::/36": "139248", - "2607:f598:f002::/36": "32329", - "2a0b:6903::/48": "206873", - "240a:a90b::/32": "144965", - "2804:c44::/32": "52917", - "2804:1040:6667::/35": "263626", - "2a02:26f7:6a::/48": "36183", - "2a0b:3080::/43": "206516", - "2001:4878:a321::/45": "12222", - "2402:3a80:1ad8::/42": "38266", - "2602:feda:c20::/48": "207343", - "2803:c00::/32": "262230", - "2a02:26f7:d384::/48": "36183", - "2a0d:3d80::/29": "204635", - "2001:559:4ef::/48": "20214", - "2001:1248:5770::/44": "11172", - "2804:104c:400::/40": "263629", - "2804:3488::/32": "262766", - "2804:4978::/32": "267186", - "2a02:26f7:ee81::/46": "20940", - "2001:468:1500::/40": "81", - "2001:67c:23d4::/48": "57201", - "2401:1d40:3100::/47": "58466", - "2803:eee0::/32": "269987", - "2804:14c:6f83::/41": "28573", - "2804:1bc:efd5::/35": "10310", - "2804:3380::/32": "265400", - "2400:181::/61": "4766", - "2409:8c20:c17::/35": "56046", - "2804:393c::/32": "266020", - "2404:bf40:83c3::/37": "139084", - "240a:a592::/32": "144076", - "2001:559:70f::/48": "33491", - "2607:f358:16::/42": "18779", - "2801:80:3950::/48": "270681", - "2404:bf40:c301::/40": "139084", - "2a03:9880::/32": "24817", - "2001:559:c1af::/48": "33489", - "2600:1480:9800::/48": "21342", - "2604:2340::/32": "32281", - "2620:1e:e000::/48": "46701", - "2803:c080::/32": "27927", - "2001:44b8:3d::/46": "4739", - "2406:e400:deae::/41": "7642", - "2604:2800::/33": "26793", - "2a0e:97c0:d6c::/48": "20473", - "2602:806:a000::/48": "398565", - "2607:fe20::/32": "30404", - "2001:67c:1bb8::/48": "3306", - "2408:80ea:6800::/41": "17816", - "2801:a4:f800::/37": "262742", - "2a02:26f7:cf81::/46": "20940", - "2a05:d03a:4000::/40": "16509", - "2001:1a11:ed::/46": "8781", - "2403:c000:1402::/32": "4741", - "2409:8914:600::/39": "56044", - "2a06:9682::/29": "31293", - "2804:7b00::/32": "271405", - "2a00:f060::/32": "19399", - "2a02:d247:1000::/32": "44087", - "240a:aa47::/32": "145281", - "2a09:77c4::/30": "1239", - "2001:890::/32": "8447", - "2402:800:3eee::/43": "7552", - "240a:ac86::/32": "145856", - "2620:132:f000::/40": "394977", - "2a00:1728:2a::/45": "34224", - "2a02:26f7:ce80::/48": "36183", - "2a02:26f7:decd::/46": "20940", - "2409:4003:3000::/27": "55836", - "240e:f7:5000::/36": "4134", - "2604:56c0::/32": "53507", - "2804:7a60:103::/40": "271367", - "2001:4c8::/35": "15290", - "2001:ee0:9040::/39": "45899", - "240a:abae::/32": "145640", - "2600:1415:15::/48": "24319", - "2803:6700:240::/48": "263210", - "2001:559:5e7::/48": "7922", - "2001:67c:4a0::/48": "43623", - "2409:8c85:aa05::/44": "9808", - "2001:418:141f:100::/54": "20940", - "2400:1c00:70::/40": "45143", - "240e:104:8000::/33": "4134", - "2603:c011:4000::/36": "31898", - "2804:760:2000::/32": "262638", - "2a09:bac0:232::/48": "13335", - "2001:6d0:ffb9::/48": "43832", - "2405:ae00::/32": "10219", - "240a:a76c::/32": "144550", - "240a:a7d0::/32": "144650", - "2804:45e8::/32": "52814", - "2001:df6:6480::/48": "142037", - "240e:67d:1800::/32": "4134", - "2600:1406:1e01::/34": "20940", - "2607:f8f8:800::/35": "23033", - "2800:160:1386::/43": "14259", - "2a02:26f7:ef00::/48": "36183", - "2001:938:4027::/32": "8437", - "2600:100f:a000::/44": "6167", - "2607:ac80:200::/32": "17", - "2607:c280::/32": "397168", - "2401:0:201::/48": "23966", - "2404:9540::/48": "24242", - "240a:aa16::/32": "145232", - "2620:103:c00d::/48": "14203", - "2806:230:200e::/48": "265594", - "2a03:52a0:173::/32": "12557", - "2001:559:c231::/48": "33652", - "2001:1248:5779::/40": "11172", - "2800:860:3::/45": "262197", - "2804:70fc::/32": "270760", - "2a0d:7100:a::/48": "34672", - "2605:b0c0::/32": "11282", - "2607:8280:2::/32": "27027", - "2607:fa40:3::/32": "25899", - "2804:78bc::/32": "271262", - "2620:14::/48": "6481", - "2804:10b4:2::/39": "263645", - "2605:a404:9d5::/38": "33363", - "2804:bd0::/40": "10670", - "2804:6918:4300::/36": "270248", - "2a09:7:2006::/48": "205758", - "2a10:7f40::/29": "202505", - "2001:67c:23b8::/48": "5524", - "2001:13b0:9002::/33": "3549", - "2409:8c20:5200::/42": "56046", - "2600:805:809::/38": "701", - "2602:fe31::/36": "32281", - "2406:840:110::/47": "139317", - "2408:8459:9a30::/41": "17622", - "2409:8924:5300::/37": "56046", - "2a0e:aa07:f081::/48": "211323", - "2409:890c::/30": "56042", - "2600:6c38:712::/45": "20115", - "2607:f220:41e::/48": "70", - "2a00:c4e0::/32": "200133", - "2001:559:7a8::/47": "7922", - "2001:559:815d::/48": "33491", - "240e:473:f20::/41": "140486", - "2600:1408:2c01::/35": "20940", - "2001:67c:1864::/48": "1853", - "2001:df0:2400::/48": "7713", - "2804:ec0::/32": "262972", - "2804:1dc4::/32": "264392", - "240a:af88::/32": "146626", - "2604:e840:a::/43": "396965", - "2620:5c:a000::/48": "397138", - "2804:14d:baa8::/41": "28573", - "2804:6164::/33": "262424", - "2a02:26f7:bd85::/46": "20940", - "2402:9d80:200::/41": "131429", - "2804:6780::/32": "269632", - "2a02:700::/32": "35826", - "2a03:6080:8::/30": "16285", - "2403:c00:700::/46": "17488", - "240e:44d:7e80::/41": "4134", - "2620:103:2008::/46": "30539", - "2803:2a80:8f0::/47": "262928", - "2a0d:5087:1a2d::/32": "62240", - "2001:df0:2ee::/48": "55384", - "2001:5b0:4100::/35": "6621", - "2401:4900:5b80::/42": "45609", - "2405:ba00:8000::/48": "23885", - "2a01:6e60::/32": "199883", - "2402:800:367f::/40": "7552", - "2402:800:f5d0::/42": "7552", - "2a02:ee80:41f8::/38": "3573", - "2a03:e600:100::/48": "208323", - "2a11:7d80::/29": "61192", - "2a07:c884::/32": "207249", - "2001:559:37::/48": "7046", - "2001:559:24e::/48": "33659", - "2001:559:54a::/48": "7922", - "2001:41d8::/32": "5610", - "2408:840c:600::/40": "17621", - "2600:6c7f:9050::/48": "20115", - "2606:6000:5000::/32": "20001", - "2a0b:e7c0::/29": "205400", - "2a0d:cec0::/29": "201395", - "2401:d800:fb00::/42": "7552", - "2600:1419:1a01::/37": "20940", - "240a:a95a::/32": "145044", - "2605:5fc9::/29": "397881", - "2408:8459:7430::/41": "17622", - "2602:fce1:200::/48": "395886", - "2804:5360::/32": "268580", - "2001:3e0:3001::/32": "10013", - "2607:f8f0:614::/48": "393249", - "2c0f:f428::/32": "30844", - "2001:67c:2264::/48": "197118", - "2402:9d80:a41::/43": "131429", - "2409:806a:3900::/33": "9808", - "2a02:26f0:3601::/39": "20940", - "2001:df3:7580::/48": "140570", - "240a:a35f::/32": "143513", - "2a02:26f7:c2c5::/46": "20940", - "2800:c80::/32": "61510", - "2806:319::/32": "265530", - "2001:df1:7e00::/48": "135300", - "2620:123:f000::/48": "20127", - "2620:134:a000::/47": "40907", - "2804:1168:1e00::/39": "52904", - "2804:3e04:2000::/32": "266568", - "2806:230:3015::/48": "11888", - "240a:a4bd::/32": "143863", - "2604:2f40:8001::/33": "29749", - "2607:f190::/34": "11320", - "2a03:5a00:1::/48": "47196", - "2a06:e881:260c::/48": "206740", - "2a05:b7c0::/48": "61400", - "2001:559:569::/48": "33659", - "2001:4de0:aaa0::/44": "34343", - "240e:473:6150::/40": "4134", - "2605:a401:89cc::/42": "33363", - "2620:125:9005::/48": "10780", - "2804:14c:7589::/42": "28573", - "2a02:26f7:c900::/48": "36183", - "2001:559:8469::/48": "33659", - "2400:9380:92b0::/45": "4809", - "2604:3dc0::/32": "394449", - "2a02:26f0:c500::/48": "34164", - "2401:d800:7de0::/38": "7552", - "2408:8459:9e50::/34": "17816", - "2607:f030::/32": "6536", - "2a02:26f7:ec0d::/46": "20940", - "2a03:6f00:8::/48": "200088", - "2001:1938:2400::/36": "12989", - "2404:c400:dc05::/48": "58735", - "2605:1080:13:39::/64": "23367", - "2605:3c80:e7a::/40": "2773", - "2800:2a0:3801::/33": "27947", - "2a02:ff0:1200::/40": "12735", - "2001:559:377::/48": "33657", - "2607:fc88::/35": "30475", - "2620:111:b000::/48": "22517", - "2a02:2e02:14c0::/42": "12479", - "2405:1c0:7151::/48": "135062", - "2409:8924:6500::/38": "56046", - "2a00:f0e0:41::/42": "198499", - "2a02:13f0:8200::/48": "64398", - "2a0e:3bc0:fa00::/42": "204982", - "2001:678:388::/48": "206373", - "2a03:13c0::/32": "199624", - "2001:559:c200::/47": "33662", - "2001:1260:3::/48": "28536", - "2401:d800:f1a0::/41": "7552", - "240a:a4f1::/32": "143915", - "2804:e24:fffb::/45": "262417", - "2001:16a2:6a00::/37": "39386", - "2408:8256:317d::/46": "17623", - "2a02:2698:5400::/44": "41843", - "2408:8744::/28": "4837", - "2600:140f:fc00::/48": "9498", - "2600:6c7f:9330::/41": "40294", - "2607:fcd0:fa80:211c::/54": "8100", - "2a02:26f7:e3c0::/48": "36183", - "2001:df0:427::/48": "24514", - "2408:8459:4030::/41": "17622", - "2409:8c20:8ab2::/35": "56046", - "2406:1e00::/32": "56030", - "2409:874c:ce00::/30": "9808", - "2600:1000:9110::/36": "22394", - "2a03:9700::/32": "20847", - "2607:f740:e640::/46": "63911", - "2a03:9420::/32": "9008", - "2a0b:6b86:404::/48": "207080", - "2a10:c941:10:4::/60": "35277", - "2001:550:2605::/48": "396509", - "2001:df1:2100::/48": "59155", - "2001:4546:1004::/28": "9924", - "2803:3f60::/32": "264744", - "2a0f:b580::/29": "51050", - "2001:559:218::/48": "33651", - "240a:a5d4::/32": "144142", - "2804:14d:5c96::/44": "28573", - "2806:2f0:9561::/40": "17072", - "2a10:2f00:12::/47": "56755", - "2001:1a11:69::/48": "8781", - "2600:6c00::/48": "396426", - "2602:fed5:802::/37": "27398", - "2a0a:e805:100::/40": "64476", - "2600:6c38:8f2::/38": "20115", - "2604:d600:60b::/43": "32098", - "2a00:ae40::/32": "50923", - "2a02:2ab8:8210::/33": "702", - "2001:559:c058::/48": "33651", - "2001:678:42c::/48": "205955", - "2602:fd92:630::/48": "38281", - "2607:f160:30::/47": "22394", - "2a03:2ca0:256::/34": "59865", - "2a03:93e0:2000::/32": "203228", - "2001:428:b26::/48": "10753", - "2806:20d:1101::/44": "32098", - "2a0c:7580::/29": "8823", - "2001:ee0:cb40::/37": "45899", - "2001:43f8:240::/47": "37304", - "2a0c:10c0::/40": "196755", - "2c0f:e878::/32": "60171", - "2408:8459:3010::/44": "17623", - "2001:559:4a2::/48": "33491", - "2803:d220::/32": "266880", - "2a02:26f7:c490::/48": "36183", - "2a0e:b107:1574::/48": "141011", - "240a:aa26::/32": "145248", - "2607:f8f0:610::/48": "393249", - "2804:954:32::/41": "263073", - "2804:3a34::/32": "262616", - "2a00:8760::/32": "60750", - "2a00:ba60::/31": "35625", - "2a04:1b00:6::/47": "61007", - "2001:559:7e5::/46": "33657", - "240a:a001::/32": "142651", - "2602:feb4:90::/44": "25961", - "2605:c40::/32": "62668", - "2001:559:c346::/48": "33662", - "2407:f800:301::/37": "38182", - "240a:a466::/32": "143776", - "2a02:26f7:ce49::/42": "20940", - "2001:559:39e::/48": "33491", - "2402:800:3963::/43": "7552", - "2404:3200::/46": "17509", - "2600:1408:23::/45": "20940", - "2a06:d440::/29": "57329", - "2001:559:316::/48": "7922", - "2409:8052:2::/40": "56047", - "240a:ac29::/32": "145763", - "240a:ae8f::/32": "146377", - "2620:171:1a::/47": "42", - "2001:678:2a4::/48": "206777", - "2001:f80::/32": "23775", - "2606:2800:4a80::/46": "15133", - "2607:cd80:7000::/32": "6528", - "2800:440:8064::/48": "27738", - "2a02:ec80::/32": "14907", - "2806:230:4011::/48": "11888", - "2a02:26f7:bd0d::/42": "20940", - "2a10:1646::/31": "206330", - "2001:559:3d8::/48": "7015", - "2001:559:8099::/48": "7922", - "2402:800:5a71::/44": "7552", - "2620:0:960::/48": "7046", - "2806:206::/32": "28398", - "2a02:2e02:27c0::/36": "12479", - "2804:5134::/32": "268437", - "2a02:cc4:2f00::/41": "8211", - "2a03:a860:10::/45": "34587", - "2a0e:b105:608::/45": "20473", - "2a00:84c0::/32": "197078", - "2a00:b404::/32": "205867", - "2402:e380:306::/48": "135646", - "2804:23d4::/32": "264186", - "2a09:9d40::/48": "44364", - "2a09:be40:ba00::/47": "208915", - "240e:ff:9000::/36": "134763", - "2607:fcd0:fa80:7301::/53": "8100", - "2a05:2580::/29": "15377", - "2a02:ad8:4a00::/35": "12389", - "2a0f:e980::/29": "206194", - "2001:559:4b6::/48": "21508", - "2001:7f0:3000::/46": "60380", - "2001:4d60::/32": "1126", - "2800:9a5::/30": "14522", - "2a03:2c00::/32": "41268", - "2a0a:b706:999f::/48": "204363", - "2404:ec00::/32": "18081", - "2600:1f00:1000::/40": "16509", - "2804:14c:7f49::/40": "28573", - "2a04:4e40:b810::/41": "54113", - "2001:559:c1c0::/46": "7922", - "2600:40f1:101::/48": "46639", - "2806:230:4005::/48": "11888", - "2806:2f0:90a2::/41": "17072", - "2001:559:c39e::/48": "7015", - "2001:df0:2e1::/48": "58381", - "2406:c7c0::/32": "138800", - "2a0a:9200::/32": "61317", - "2402:800:989b::/42": "7552", - "2806:2f0:96c1::/42": "17072", - "2a02:e5c::/32": "44530", - "2001:6f8:822::/48": "4589", - "2001:1b70:88ae::/48": "158", - "2401:5e80::/32": "132895", - "2600:140b:1601::/39": "20940", - "2001:67c:210c::/48": "29683", - "2001:1248:9976::/44": "11172", - "2804:20f0::/32": "264522", - "2806:250:400::/40": "28545", - "2a02:26f7:48::/48": "36183", - "2001:678:d4c::/48": "3320", - "2408:8956:5300::/40": "17816", - "2c0f:ecb0::/32": "328423", - "2001:df4:3500::/48": "17439", - "2402:4e00:50::/39": "45090", - "2404:e680:1121::/41": "18409", - "240a:a913::/32": "144973", - "2600:1014:9100::/44": "6167", - "2804:c00:a300::/36": "52655", - "2804:2d2c::/32": "52971", - "2804:5294::/32": "268527", - "2a0e:fd45:da5::/48": "60557", - "2402:9900:400::/47": "132084", - "2408:8646:1200::/32": "4837", - "2804:204:30e::/43": "28186", - "2a02:2e0:3fd::/46": "12306", - "2a04:4e40:c820::/44": "54113", - "2001:4130::/43": "24725", - "240a:ae45::/32": "146303", - "2607:fef8:ffe5::/43": "13750", - "2804:5f98::/32": "269111", - "2a00:ec40::/29": "34127", - "2600:1419:8c01::/35": "20940", - "2620:1d5:620::/41": "14773", - "2a03:6940::/29": "61266", - "2408:8956::/40": "17622", - "2607:f820:4000::/32": "11051", - "2804:4f94::/32": "268336", - "2620:132:f3a1::/37": "394977", - "2a02:26f7:f4c1::/46": "20940", - "2a02:6680:1134::/44": "16116", - "2a0b:3c40:24::/48": "204402", - "2001:67c:40c::/48": "62116", - "2402:800:36ee::/39": "7552", - "240a:a9e3::/32": "145181", - "240a:af4d::/32": "146567", - "2806:230:2028::/48": "265594", - "2c0f:f5f8::/32": "37717", - "2604:3b80:2833::/32": "31857", - "2c0f:f278::/32": "328036", - "2001:c20:48b5::/48": "9255", - "2804:32f0::/32": "265106", - "2404:3440::/34": "138534", - "2806:2f0:10a0::/48": "22884", - "2a0f:10c0::/29": "43809", - "2a02:26f7:e941::/46": "20940", - "2a06:1e85:2::/48": "57782", - "2400:9d80:2::/32": "58714", - "2405:3800::/32": "38466", - "2607:f6f0:8001::/48": "394749", - "2a02:1c8:9::/48": "57128", - "2a01:367::/32": "30823", - "2a06:e800::/32": "47950", - "2001:559:579::/48": "7725", - "2001:678:cb8::/48": "3209", - "240a:aeee::/32": "146472", - "2a02:720::/38": "34427", - "2a02:26f7:d159::/48": "36183", - "2a04:b240::/29": "8680", - "2001:df7:e200::/48": "135239", - "240a:4082:c000::/35": "58834", - "2403:1e40::/32": "137967", - "2409:8904:5840::/42": "24547", - "2604:9a00::/32": "30633", - "2606:b00::/32": "15305", - "2a02:26f7:e880::/48": "36183", - "2a03:96e0::/33": "15659", - "2001:44c8:4140::/40": "131445", - "2a02:26f7:f584::/48": "36183", - "2408:8956:b000::/40": "17622", - "2605:8900:1000::/36": "3800", - "2a02:26f0:89::/46": "20940", - "2606:2c0:2::/48": "14618", - "2001:c20:48a4::/48": "9255", - "2001:df5:4500::/48": "137876", - "2001:1248:a4d4::/47": "11172", - "2600:1417:f000::/48": "24319", - "2620:0:dd0::/48": "46357", - "2a07:4ec0::/29": "5606", - "2a0e:6b40:10::/48": "42034", - "2001:678:84c::/48": "57007", - "240a:aa99::/32": "145363", - "2a02:26f7:d100::/48": "36183", - "2001:1248:59e8::/38": "11172", - "2406:9a80:311::/48": "206704", - "240a:a8d0::/32": "144906", - "2001:418:1401:300::/56": "20940", - "2600:9000:108e::/43": "16509", - "2803:ca0::/32": "266831", - "2804:35e0:2000::/36": "266312", - "2001:57a:aa02::/35": "22773", - "2400:dbc0::/32": "133255", - "2600:140f:e800::/48": "12222", - "2a11:280::/29": "52164", - "2001:44c8:4640::/42": "131445", - "240a:ab42::/32": "145532", - "2a01:ce95::/32": "51964", - "2a02:26f7:ce45::/46": "20940", - "2600:1406:14::/44": "20940", - "2804:1090::/32": "263640", - "2804:2640::/32": "264335", - "2a00:d3c0::/32": "204165", - "2a03:ba80::/32": "50446", - "2402:800:97a9::/43": "7552", - "2606:1980:12::/47": "54994", - "2607:f6a0::/32": "11563", - "2804:1810:f000::/38": "263262", - "2a00:9520::/48": "56641", - "2a00:ab40:3001::/33": "41798", - "2a02:a00:4000::/32": "15987", - "2a07:f980::/47": "202310", - "2001:579:4139::/41": "22773", - "2001:4220:8000::/44": "24835", - "2001:43f8:70::/45": "36982", - "240a:a06b::/32": "142757", - "240e:438:20::/43": "140647", - "2804:6d48::/32": "270522", - "2001:df4:f900::/48": "137351", - "2401:8a40:54::/44": "45326", - "240a:a1bd::/32": "143095", - "240e:353:5c00::/34": "134419", - "2604:61c0:5001::/32": "29831", - "2a02:26f7:c880::/48": "36183", - "2401:b780:6a::/33": "45410", - "2605:8680:12::/47": "25780", - "2a02:26f7:ecc9::/46": "20940", - "2001:559:857b::/48": "33662", - "2407:3780::/32": "132960", - "2a01:5fc0::/32": "35539", - "2a06:d000::/48": "47725", - "2a09:bac0:184::/47": "13335", - "2001:559:c16d::/46": "33660", - "2001:559:c2f7::/44": "7015", - "2404:7180:c011::/46": "23848", - "2804:333c::/32": "265383", - "2804:7440::/32": "270969", - "2001:559:8283::/48": "7015", - "2408:8406:a800::/39": "4808", - "2408:8957:bb00::/40": "17816", - "2409:8c30::/41": "9808", - "2804:1214::/32": "263455", - "2a01:c50f:b280::/39": "12479", - "2620:123:f008::/48": "20127", - "2804:8028::/32": "271733", - "2806:1016:1::/48": "8151", - "2a02:ee80:4217::/44": "3573", - "2404:2d00::/32": "55900", - "2801:80:3990::/48": "270807", - "2a03:1a20:10::/48": "207467", - "2a03:2a60:dc::/48": "59871", - "2001:559:28e::/48": "33652", - "2001:67c:1724::/48": "25151", - "2001:ee0:1081::/34": "45899", - "2800:160:19de::/42": "14259", - "240a:ab3d::/32": "145527", - "2600:1417:79::/46": "20940", - "2800:d302:a::/43": "11830", - "2804:35c4::/32": "266305", - "2a03:a3a0::/32": "25780", - "2a03:c040:5::/46": "199484", - "2001:559:71f::/48": "7922", - "2001:1248:a53f::/41": "11172", - "2620:15e:7101::/48": "30383", - "2806:230:4018::/48": "265594", - "2a02:e0:3003::/45": "34984", - "2a02:dd80::/29": "12552", - "2a0b:3540:a::/29": "204413", - "2001:678:df0::/48": "29014", - "2800:160:1d3f::/41": "14259", - "2801:8a::/32": "53187", - "2804:1bd8::/33": "28224", - "2804:4a1c::/36": "267219", - "2a01:b740:1112::/38": "714", - "2a06:5f00::/29": "204147", - "2404:4a00:3:1::/48": "45629", - "2806:230:1103::/38": "11888", - "2001:559:810e::/48": "33657", - "2001:559:8768::/47": "7015", - "2001:df3:900::/48": "135905", - "2804:6734::/32": "269612", - "2001:668::/39": "3257", - "2620:f1:c000::/48": "22773", - "2804:ecc::/32": "52722", - "2804:5c40::/32": "268897", - "240e:473:a720::/41": "140486", - "2604:d600:15b7::/44": "32098", - "2409:8904:2940::/38": "24547", - "240a:aa85::/32": "145343", - "240e:37a:2600::/32": "4134", - "2600:6c38:149::/45": "20115", - "2606:4280::/36": "16696", - "2804:4eb4::/32": "61593", - "2804:745c::/32": "270976", - "2a0e:f41::/32": "208567", - "2607:ab00::/32": "600", - "2001:559:8152::/48": "33657", - "2001:c20:487b::/48": "9255", - "2001:448a:70b0::/32": "7713", - "2400:cb00:a462::/45": "13335", - "240e:3b0:c800::/37": "4134", - "2606:2800:e000::/48": "14210", - "2606:3b80::/32": "394109", - "2a00:cb60::/48": "49312", - "2a02:ee80:4048::/46": "3573", - "2a07:22c0:c100::/40": "64473", - "2001:559:25a::/48": "33657", - "2001:c20:48a6::/48": "9255", - "2001:559:82e0::/48": "33662", - "2600:6c3a:808::/42": "20115", - "2a03:af20::/32": "197949", - "2a0d:2146:8060::/48": "209114", - "2401:4900:4990::/42": "45609", - "2403:67c0::/32": "135772", - "2001:559:c0a5::/46": "33659", - "2001:640::/32": "2895", - "2001:67c:21b8::/48": "29682", - "2600:1408:9c02::/34": "20940", - "2804:5bdc:8004::/33": "268873", - "2a04:dc0::/48": "199386", - "2a01:111:2004::/42": "8075", - "2404:1b8::/32": "9794", - "2404:9600::/32": "7600", - "2408:8459:ae30::/41": "17622", - "240a:a744::/32": "144510", - "240a:a860::/32": "144794", - "2804:e0c:80::/48": "28176", - "2a00:ef20::/29": "199752", - "2a0a:1880::/29": "39647", - "2001:678:3b0::/48": "206186", - "2a06:b500:2110::/44": "203759", - "240a:a481::/32": "143803", - "2a0f:4700::/29": "15894", - "240a:a36f::/32": "143529", - "2600:1014:a020::/40": "22394", - "2a03:220::/32": "61400", - "2a0a:7d80:8::/48": "25106", - "2c0f:3000::/32": "327903", - "2001:550:906::/48": "54412", - "2402:800:5d1d::/42": "7552", - "2404:11c0::/32": "138482", - "2a05:f506::/48": "14413", - "2a0f:b300:2222::/48": "42072", - "2a0f:cc87:5000::/32": "208861", - "2001:559:84d5::/46": "7015", - "2403:4940::/32": "135217", - "2408:8459:9c50::/38": "17816", - "2804:536c::/32": "268583", - "2001:559:c287::/48": "33652", - "2400:cb00:a480::/45": "13335", - "2409:804f:1100::/36": "9808", - "240e:d:c000::/30": "4134", - "2804:1ebc::/32": "264446", - "2001:678:fb0::/48": "211041", - "240a:a783::/32": "144573", - "2a0c:b641:460::/44": "208063", - "2a00:1728:33::/32": "34224", - "2a01:bc40::/32": "197453", - "2001:503:d414::/48": "397197", - "2600:1404:c800::/48": "35994", - "2801:1a2:4::/48": "269845", - "2806:230:2048::/48": "265594", - "2a02:7a00:3::/45": "39904", - "2a0b:1300::/34": "198018", - "2401:d800:9f40::/42": "7552", - "2405:4cc1:c00::/40": "132468", - "2800:160:2ba1::/37": "14259", - "2804:40a0:acc2::/47": "265971", - "2806:1030:cefe::/48": "20940", - "2a02:26f0:a101::/40": "20940", - "240e:45::/33": "17638", - "2605:f700:c0::/44": "18978", - "2001:df2:3c00::/45": "63950", - "2600:140f:4200::/48": "9498", - "2001:559:7e::/47": "33491", - "2404:a300::/48": "23884", - "2804:1768::/32": "263144", - "2a0e:97c0:def::/48": "20473", - "2409:8087:1b00::/37": "9808", - "240a:a1b7::/32": "143089", - "2a00:ec00::/32": "16066", - "2a01:168::/29": "41670", - "2a02:c680::/31": "196983", - "2401:3900::/32": "7718", - "2a02:26f7:d304::/48": "36183", - "2a10:7f00::/29": "398559", - "2001:1af0:9000::/48": "44325", - "2401:c5c0:2::/47": "55492", - "2620:102:4020::/43": "4130", - "2804:14d:148a::/45": "28573", - "2806:230:401e::/48": "265594", - "2a00:1b50:2::/43": "8343", - "2a0b:6b86:3fc::/48": "202562", - "2606:2800:2aa::/45": "14153", - "2a02:26f7:f641::/46": "20940", - "2a02:2e02:ec0::/39": "12479", - "2a03:6947:700::/36": "61266", - "2402:800:34e0::/44": "7552", - "2404:8ec0::/32": "135780", - "240a:a7e9::/32": "144675", - "2600:1408:6000::/48": "35994", - "2804:28f0::/32": "263988", - "2a0d:4c40::/29": "61317", - "2800:160:190d::/42": "14259", - "2804:2134::/32": "264542", - "2406:cb40::/48": "395092", - "2800:160:11d3::/44": "14259", - "2804:16b0:4000::/36": "61910", - "2a0f:f200::/29": "208257", - "2001:67c:1488::/48": "3246", - "2409:8b29::/27": "9808", - "2603:90c8::/30": "11955", - "2620:133:d000::/40": "395746", - "2804:4304::/32": "267543", - "2806:2f0:84::/38": "17072", - "2001:1838:6004::/48": "13331", - "2402:5ec0:2000::/32": "23724", - "2402:fbc0:10::/32": "134014", - "2a04:4e40:de00::/48": "54113", - "2409:8087:280d::/40": "56041", - "2600:2000:2000::/42": "33517", - "2620:131:d000::/40": "13921", - "2804:25a8::/32": "264293", - "2a06:1d80::/29": "30786", - "2001:4d50::/32": "34309", - "2408:842e::/32": "4837", - "2804:2cf8::/32": "265254", - "2001:559:3ab::/48": "7922", - "2402:800:572b::/43": "7552", - "2600:3c0f:12::/45": "63949", - "2a05:8e40::/29": "198710", - "2405:b740::/32": "136342", - "2600:5c00:3fc9::/48": "20115", - "2a04:f480::/34": "25373", - "2a05:b0c6:200d::/48": "208753", - "2401:4900:5020::/41": "45609", - "2409:8008:d5::/46": "9808", - "2409:8914:200::/39": "56044", - "240a:a5d0::/32": "144138", - "2804:684c::/32": "269683", - "2a02:ac8::/32": "34594", - "2a02:26f0:cd01::/40": "20940", - "2804:70c0:6::/48": "270746", - "2001:44b8:14::/46": "4739", - "2402:800:93a9::/43": "7552", - "2406:a800::/32": "45437", - "2407:3880::/32": "133012", - "240a:a6eb::/32": "144421", - "240a:ac05::/32": "145727", - "2804:2058::/32": "264487", - "2a04:5d00:81::/29": "60241", - "2a04:c442:9000::/33": "10725", - "2401:4900:5c90::/44": "45609", - "2620:13d:4000::/44": "63326", - "2804:759c::/32": "271058", - "2c0f:ee50::/32": "328259", - "2a01:7700::/32": "15372", - "2401:1d40:1::/40": "59019", - "2404:2200:28::/32": "18200", - "240a:abc5::/32": "145663", - "2602:808:4000::/48": "398960", - "2607:f470::/32": "55", - "2804:6364:8000::/33": "269358", - "2806:2f0:95c1::/42": "17072", - "2a03:6100:6100::/48": "38937", - "2a07:a341::/32": "20473", - "2a0a:2842:aa00::/46": "42962", - "2400:cb00:220::/46": "13335", - "2402:ab00:b0::/41": "24206", - "2408:84f3:b240::/37": "17816", - "2408:8956:dac0::/39": "17816", - "2a0b:b84::/31": "7489", - "2409:8e30::/29": "9808", - "240e:44d:3f00::/41": "140345", - "2600:100e::/32": "6167", - "2804:4b14::/32": "267282", - "2804:7794::/32": "271187", - "2a02:26f7:b6cd::/42": "20940", - "2a02:26f7:bd0c::/48": "36183", - "2c0f:1d00::/32": "60171", - "2401:d800:b4c0::/42": "7552", - "2402:9d80:3ec::/37": "131429", - "2600:1404:a400::/48": "35994", - "2607:f740:20::/46": "36236", - "240a:a7b2::/32": "144620", - "2600:1001:b130::/40": "22394", - "2604:4500:903::/40": "29802", - "2620:6a::/48": "3152", - "2804:5bac::/48": "268862", - "2a0e:2e00::/29": "9119", - "2409:8e75::/28": "9808", - "240e:473:8350::/40": "4134", - "2605:9880:400::/42": "23470", - "2a02:26f7:c3cd::/46": "20940", - "2408:8956:3700::/40": "17816", - "2803:b780::/48": "27742", - "2a02:748:a000::/33": "29802", - "2c0f:ec40:2000::/33": "327936", - "2400:c3c0::/32": "136407", - "2606:b400:8030::/48": "20037", - "2607:ffb0:300c::/47": "6327", - "2001:678:918::/48": "57166", - "240a:a23b::/32": "143221", - "2800:930::/29": "27717", - "2803:d700:d000::/36": "61461", - "2001:67c:11a8::/48": "50695", - "2001:1388:2f10::/35": "6147", - "2602:ff93:1000::/36": "26968", - "2606:25c0::/32": "399331", - "2a07:3146::/32": "47688", - "2a0c:9ac0::/29": "18779", - "2001:559:c2ce::/48": "33651", - "2402:2100::/32": "19855", - "2a0e:37c0::/32": "29014", - "2001:df2:3a80::/48": "138270", - "2402:800:7cb0::/41": "7552", - "2001:748::/32": "5430", - "2602:feda:bb0::/44": "140938", - "2804:20d8::/32": "264516", - "2a06:c3c7::/32": "47596", - "2001:4b3a::/32": "25220", - "2606:2a00::/32": "53292", - "2a02:cb80:2720::/48": "43766", - "2001:df4:2c80::/48": "140896", - "2404:138:48::/39": "38022", - "240e:473:8d20::/41": "140486", - "2001:559:8389::/48": "33651", - "2602:10d:9000::/30": "20115", - "2a03:4c40::/32": "197964", - "2c0f:f918:101::/45": "37002", - "2800:440:8143::/48": "27738", - "2a00:1728:b::/45": "34224", - "2001:559:42b::/48": "21508", - "2408:8459:6c50::/38": "17816", - "2a01:568:6000::/32": "43950", - "2a02:4ba::/32": "200271", - "2a03:c980:dead::/48": "210079", - "2a05:bd40:cd13::/48": "29264", - "2a0b:9400:1000::/48": "209505", - "2408:8459:2c30::/44": "17623", - "240a:a028::/32": "142690", - "240a:a892::/32": "144844", - "240a:ab98::/32": "145618", - "2600:1403:9401::/36": "20940", - "2a00:cc20::/33": "20495", - "2001:648:2c30::/48": "8522", - "2001:678:230::/48": "1102", - "2801:b6:300::/36": "263083", - "2001:559:85a8::/48": "7725", - "2600:809:425::/38": "701", - "2803:1000::/32": "263783", - "2400:dcc0:a604::/39": "38631", - "2a0f:4ac4::/41": "207671", - "2001:67c:12bc::/48": "199249", - "2402:800:35c5::/43": "7552", - "2402:6c80::/32": "23780", - "2602:104:f::/48": "33588", - "2604:4d40:3a00::/40": "213073", - "2804:41f8:f304::/37": "267469", - "2806:230:6034::/48": "265594", - "2620:123:9001::/48": "33695", - "2001:67c:2f2c::/48": "44894", - "2406:2000:ef68::/48": "24506", - "240a:a363::/32": "143517", - "2603:c011:8000::/36": "31898", - "2a00:e78::/33": "34602", - "2a03:2887:ff3b::/48": "63293", - "2a03:e140:1b::/48": "56674", - "2001:4878:c000::/48": "12222", - "2400:a440:1::/45": "18019", - "2401:2900:3e00::/39": "23679", - "2804:61d0::/32": "269258", - "2a00:41e0::/32": "57809", - "2a00:7ec0::/47": "8528", - "2001:dc7:ffc3::/45": "24151", - "240a:a5b2::/32": "144108", - "2a0b:4d00:1::/44": "44239", - "2a0c:b642:a01::/45": "208753", - "2a0e:b240::/48": "15562", - "2804:1644:fb00::/37": "262903", - "2a05:48c0::/29": "207227", - "2a0f:3d80::/29": "60781", - "240a:a8e9::/32": "144931", - "2600:9000:20c8::/43": "16509", - "2804:3fbc::/32": "265911", - "2a06:7880::/29": "12437", - "2c0f:edf8::/32": "328512", - "2801:80:1bb0::/48": "266495", - "2a01:9700:10b4::/46": "8376", - "2001:fd8:1ec0::/42": "4775", - "2401:ff80:1c93::/32": "133954", - "2408:84e2:2c0::/37": "17621", - "2604:700::/32": "10384", - "2a0d:bc00::/29": "51426", - "2001:678:d78::/48": "50869", - "2408:84f3:a440::/38": "17816", - "2600:140b:c01::/38": "20940", - "2620:13f:700c::/46": "59116", - "2a00:edc0:6259::/48": "62597", - "2a09:9740::/48": "50007", - "2a10:4cc0::/40": "12843", - "2404:c140::/39": "138997", - "2408:8459:8a10::/42": "17623", - "240e:f7:8000::/35": "58461", - "2603:90d8::/30": "10838", - "2607:fcd0:106:2f06::/44": "8100", - "2408:8001:4000::/32": "4837", - "2804:769c::/32": "271123", - "2a0f:bf00:c0::/42": "208196", - "2001:67c:2b5c::/48": "43451", - "2001:1860::/32": "101", - "2402:a300:c006::/36": "55427", - "240a:ad40::/32": "146042", - "2804:7a78::/32": "271373", - "2a00:8100::/32": "9125", - "2c0f:ec68::/32": "37675", - "2001:500:133::/48": "396549", - "2001:1278:10::/32": "18734", - "2804:1efc:7000::/36": "264458", - "2a03:3f40:2::/48": "58061", - "2001:1960:3::/43": "5650", - "2408:8656:30f0::/48": "17623", - "240a:a760::/32": "144538", - "2600:6c7f:9052::/48": "20115", - "2804:640:90::/39": "262713", - "2001:4978:10ae::/48": "13331", - "2600:4c01:ffff::/48": "13760", - "2804:7394:8000::/33": "270924", - "2a00:8740:110::/47": "49037", - "2a09:bac0:216::/48": "13335", - "2001:559:8321::/48": "7015", - "2001:678:4a4::/48": "44574", - "2607:3e80::/32": "16463", - "2803:9800:9505::/46": "11664", - "2804:9d4:5102::/47": "262996", - "2804:6aa0::/32": "270349", - "2a07:e8c0::/32": "212926", - "2001:470:bf::/41": "6939", - "2001:4de0:4204::/40": "12989", - "2803:6900:559::/48": "52423", - "2a05:5c00::/29": "51630", - "2001:df0:68::/48": "45689", - "2406:b400:54::/47": "18209", - "240a:a13c::/32": "142966", - "2605:9f00::/38": "36473", - "2a02:26f7:fb05::/46": "20940", - "2001:8e0::/29": "8758", - "2406:3003:2050::/44": "4657", - "2620:a3:e030::/48": "39952", - "2a0b:e43:1::/48": "205809", - "2001:559:502::/47": "7016", - "2600:1406:1600::/48": "16625", - "2a01:aea0:df3::/45": "40980", - "2a03:5c00::/32": "29177", - "2403:f680::/46": "58898", - "2406:840:f100::/47": "39753", - "2409:804b:290a::/40": "24445", - "240a:a605::/32": "144191", - "2604:880:3a8::/45": "29802", - "2409:8914:8000::/39": "56044", - "2804:21fc::/32": "264584", - "2804:2254::/32": "264603", - "2001:67c:29f4::/48": "58302", - "2001:4220::/48": "36935", - "2001:3c8:2809::/38": "4621", - "2001:550:6207::/37": "174", - "2001:559:12::/44": "7922", - "2406:b400:6::/44": "18209", - "2409:8948:8b00::/40": "24445", - "2804:3c20::/40": "266192", - "2804:443c::/32": "267611", - "2001:1388:8a60::/46": "264684", - "2408:840c:c500::/40": "17621", - "2803:d900::/32": "262252", - "2a02:26f7:d7c1::/46": "20940", - "2a0a:6680:197a::/34": "203500", - "2001:500:3e5::/48": "26134", - "2001:dce:7401::/38": "23869", - "2a04:4e40:e400::/48": "54113", - "2a04:cec0:1400::/29": "5410", - "2001:559:85d2::/48": "33287", - "2001:559:c14e::/48": "33652", - "2001:559:c180::/48": "33659", - "2401:4200::/32": "24195", - "2604:af80:1448::/36": "18859", - "2804:7024:8400::/33": "270708", - "2402:e740::/32": "9405", - "240a:a2da::/32": "143380", - "2001:df2:9280::/48": "136375", - "2402:800:369b::/41": "7552", - "240e:44d:5d80::/41": "4134", - "2605:9d80:9013::/48": "4809", - "2804:1768:b020::/33": "263144", - "2a02:26f7:d240::/48": "36183", - "2001:67c:262c::/48": "1103", - "2001:1938:4202::/47": "11588", - "240a:a8b2::/32": "144876", - "2604:6600:1c7::/38": "40676", - "2606:9500::/39": "19893", - "2a07:59c1:2010::/44": "208753", - "2804:7b68:f0::/44": "271430", - "2a0d:2902:caf0::/45": "204185", - "2a02:26f0:bb::/45": "34164", - "2001:b08:26::/48": "198685", - "2402:800:b560::/40": "7552", - "2404:4a00:2095::/35": "45629", - "2600:6c38:ea::/39": "20115", - "2602:feda:3e0::/44": "207632", - "2804:47c0::/32": "263665", - "2a02:ff0:e00::/40": "12735", - "2a10:8e00::/32": "20473", - "2001:67c:252c::/48": "39879", - "2603:c001:250::/37": "31898", - "2a0a:8c41::/29": "204957", - "2401:ff80:1305::/44": "133954", - "2602:fefa::/32": "64267", - "2a0c:f100::/29": "212880", - "2001:559:8690::/48": "7922", - "240a:afc0::/32": "146682", - "2800:800:7f7::/48": "26611", - "2803:9600::/32": "52391", - "2804:2d90::/34": "52682", - "2a00:1678:1337::/48": "49453", - "2001:67c:34c::/48": "28714", - "2001:1998:600::/44": "16787", - "2400:9380:9200::/46": "4809", - "240e:44d:200::/41": "140345", - "2607:fca8:1531::/33": "17139", - "2a03:7380:4000::/40": "13188", - "2a09:d5c0::/32": "39150", - "240a:abdd::/32": "145687", - "2607:f110:41::/46": "21889", - "2a02:26f7:71::/48": "20940", - "240e:44d:4f00::/41": "140345", - "2a0f:bc00::/29": "61317", - "2001:559:854b::/48": "22909", - "2409:8018::/34": "134810", - "2803:bc40:a006::/33": "52468", - "2804:30c0::/32": "264972", - "2a0a:4540:1000::/48": "16509", - "2402:e380:31c::/48": "141749", - "2001:559:82c5::/44": "7015", - "2600:6c38:448::/45": "20115", - "2607:fdf0:5ede::/42": "8008", - "2801:1c8:300::/48": "14080", - "2a02:2e02:6d0::/36": "12479", - "2a06:f4c0::/29": "29596", - "2a0f:d800::/48": "23738", - "2400:7400:e01a::/47": "38044", - "2408:8256:3b8a::/48": "17623", - "2804:6b44::/32": "270389", - "2804:8050::/32": "271743", - "2a05:ee80::/29": "202523", - "2001:559:81cb::/48": "7015", - "2001:2093::/20": "1299", - "2605:400:1::/46": "16406", - "2a00:9220::/32": "49867", - "2001:67c:2e14::/48": "200986", - "240a:a690::/32": "144330", - "240a:a792::/32": "144588", - "2600:380:4600::/39": "20057", - "2600:1406:4401::/38": "20940", - "2806:20d:501c::/42": "32098", - "2a04:f580:9040::/48": "4809", - "2a0d:3842:1140::/48": "57629", - "2401:7b40:5000::/48": "38071", - "2620:16d::/34": "7862", - "2a0e:fd45:d80::/44": "212948", - "2401:d800:2020::/41": "7552", - "2409:807e:100::/36": "9808", - "2605:a7c0::/43": "53766", - "2804:2d80::/32": "262378", - "2408:8956:4100::/40": "17816", - "2409:8924:d00::/38": "56046", - "2600:1417:61::/48": "24319", - "2a00:1238::/46": "35236", - "2001:67c:2b40::/48": "198235", - "2405:1c0:6353::/42": "55303", - "2620:124:b003::/40": "32521", - "2a0e:97c0:250::/47": "211685", - "2001:550:1:305::/39": "174", - "2001:1838:1100::/34": "23352", - "2804:255c::/32": "264276", - "2a02:2270:3000::/32": "43939", - "2800:160:2042::/45": "14259", - "2a0c:b641:60::/48": "210234", - "2a0e:d602::/32": "50113", - "2a0e:eec4::/32": "398343", - "2001:559:26f::/48": "33652", - "2001:559:8590::/48": "7725", - "2604:dac0::/32": "36504", - "2605:38c0::/32": "393601", - "2804:1afc::/32": "61702", - "2a01:688::/32": "20694", - "2001:67c:2778::/48": "57926", - "2402:e280:21a4::/37": "134674", - "2620:10a:f020::/40": "21869", - "2a03:3000::/32": "42772", - "2001:67c:78::/48": "20847", - "240a:a688::/32": "144322", - "2620:98:e000::/48": "399728", - "2804:4840::/32": "267107", - "2804:66d4::/32": "269585", - "2804:6e3c::/32": "28572", - "2a02:ea8::/32": "41848", - "2a10:2200:2::/48": "59588", - "2001:559:84a8::/48": "33491", - "2804:75a4:fa::/48": "265130", - "2a06:c0::/29": "47467", - "2401:ff80:1391::/46": "133954", - "2803:ab00:92::/48": "23520", - "2a10:2f01:360::/44": "56894", - "2001:559:e8::/48": "22909", - "2001:559:7be::/48": "33657", - "240e:946:2::/34": "58540", - "2607:f3a0:a002::/48": "399817", - "2001:f90::/32": "4609", - "2607:fcd0:fa80:210f::/59": "8100", - "2620:121:1000::/48": "394010", - "2801:1ee::/48": "19429", - "2a03:e480::/32": "15640", - "2001:67c:24b0::/48": "50905", - "2407:3c80::/47": "55705", - "2409:8020:1071::/40": "56046", - "240e:6b4::/36": "136198", - "2001:559:848d::/48": "7016", - "2001:ac0::/34": "8903", - "2402:800:614a::/45": "7552", - "2403:97c0::/48": "7489", - "240e:473:7600::/41": "140485", - "2607:f8c0:205::/46": "25885", - "2607:fdb8:5::/42": "30496", - "2604:1380:4500::/42": "54825", - "2607:ffa8::/32": "21858", - "2620:7d:c000::/48": "4190", - "2a0d:fec0:177::/48": "47481", - "2400:9380:90a0::/47": "4809", - "2401:4900:51c0::/42": "45609", - "2402:6640:6::/43": "134995", - "2800:bf0:8d::/43": "27947", - "2a0e:15c0::/38": "60781", - "2a01:4040::/32": "25176", - "2001:4878:a356::/48": "12222", - "2a07:22c1:c100::/40": "213021", - "2001:559:c1aa::/47": "7015", - "2400:30c0:1::/48": "8100", - "2605:21c0::/32": "20055", - "2a05:1084:7400::/40": "138990", - "2a03:efc0:700::/40": "33438", - "2001:418:4001:3::/64": "2914", - "2001:559:8666::/47": "33657", - "2405:8a00:601d::/42": "55824", - "2605:3400::/32": "15267", - "2804:51bc::/32": "268473", - "2a00:8dc0:ff05::/40": "57811", - "2a00:9300::/32": "12843", - "2a06:6bc0::/29": "12905", - "2806:370:9700::/36": "28403", - "2001:fd0:db::/38": "10029", - "2407:d40:20::/32": "139009", - "240e:3b4:4c00::/35": "136200", - "2604:400::/32": "26225", - "2604:5b00::/32": "19024", - "2803:6604:6401::/39": "28075", - "2804:3648::/32": "266339", - "2407:4b40::/48": "141796", - "2400:fc00:8d20::/41": "45773", - "2620:112:d000::/44": "11297", - "2804:37f0:d100::/34": "266445", - "2a01:440::/37": "29551", - "2a01:8f8::/32": "21334", - "240a:ab1e::/32": "145496", - "240e:107:c100::/40": "134774", - "2804:1aa4::/32": "61873", - "2804:27d0::/32": "53162", - "2a0d:6640::/29": "40970", - "2a0e:cd01:2f00::/29": "23031", - "2001:500:9c::/46": "20144", - "2001:fb0:109f:14::/64": "36040", - "2804:11c4::/32": "263437", - "2001:4de8:fa52::/37": "29208", - "2409:8074:100::/35": "9808", - "2804:c58::/32": "52694", - "2a01:4960::/32": "16267", - "2001:4b20:ca1f:1::/31": "34288", - "2606:f000::/32": "13917", - "2001:559:878c::/48": "7922", - "240a:a822::/32": "144732", - "2606:e800:200::/39": "25843", - "240a:a362::/32": "143516", - "240a:a43a::/32": "143732", - "2600:1007:d020::/43": "6167", - "2620:171:51::/48": "715", - "2a02:200::/32": "24889", - "2a03:3a40:2::/35": "199629", - "2a07:a380::/29": "15426", - "2001:559:c18e::/48": "7922", - "2001:678:a90::/48": "20473", - "2400:6540::/48": "135905", - "2600:8807:a1c0::/36": "22773", - "2804:1a70::/32": "61859", - "2a02:26f7:d680::/48": "36183", - "2604:d600:123f::/41": "32098", - "2c0f:f020:8100::/40": "327907", - "2406:1600:201::/39": "23871", - "2600:1419:1001::/37": "20940", - "2800:160:11e1::/43": "14259", - "2a03:2880:f05f::/42": "32934", - "2a03:4d25::/32": "59397", - "2a0c:efc0:fff::/29": "206356", - "2001:1284::/32": "14868", - "2a02:26f7:c104::/48": "36183", - "2a03:8040::/32": "60551", - "2a02:2f0c:d000:15::/58": "8708", - "2408:8956:cbc0::/37": "17622", - "240a:ac90::/32": "145866", - "2620:113:f000::/45": "393517", - "2620:1ec:908::/47": "8068", - "2804:1b48::/32": "61718", - "2804:2d64::/32": "265279", - "2a02:26f7:b909::/46": "20940", - "2a10:1040::/32": "59589", - "2402:800:feb0::/39": "7552", - "2409:8c30:50::/39": "9808", - "240a:aaad::/32": "145383", - "2001:559:5de::/48": "7922", - "2408:840c:2900::/40": "17621", - "2408:8956:5b00::/40": "17816", - "2a00:dd80:20::/48": "36236", - "2a02:26f0:11c::/46": "20940", - "2a11:1b80::/29": "42375", - "2a02:af80::/29": "39440", - "2001:559:c0a0::/48": "33651", - "2001:579:e3c0::/36": "22773", - "2001:4998:ef6d::/43": "14778", - "2401:1800::/32": "45187", - "2406:7400:50::/44": "24309", - "2408:8256:1800::/34": "17816", - "2a01:9500:81::/32": "197696", - "2804:47a0::/35": "267066", - "2001:550:6603::/40": "174", - "2001:67c:1100::/48": "197498", - "2401:fb00::/32": "17754", - "2404:bf40:81c0::/48": "7545", - "240a:a9bf::/32": "145145", - "240e:97a:2d02::/40": "23650", - "2602:ffe2:4::/48": "53334", - "2406:6cc0:a100::/48": "4622", - "2602:fed2:7109::/48": "54133", - "2001:418:144e::/47": "15562", - "2409:803c:1800::/40": "24444", - "240a:ae72::/32": "146348", - "2607:ff40::/32": "7871", - "2a02:26f7:c184::/48": "36183", - "240a:a2fa::/32": "143412", - "2600:1011:f010::/39": "6167", - "2600:1014:d100::/41": "6167", - "2803:700::/32": "27976", - "2001:559:c245::/46": "20214", - "2402:b801::/38": "18371", - "2a01:bbc0::/32": "199673", - "2403:300:a0e::/48": "6185", - "240a:a050::/32": "142730", - "240a:a876::/32": "144816", - "2600:6c38:a99::/46": "20115", - "2001:fb0:1072::/45": "7470", - "2001:18b8:d46::/32": "29789", - "2409:8907:8420::/39": "24547", - "2a02:1c8:90::/44": "24955", - "2400:6280:10f::/48": "132280", - "2400:8b00:2280::/42": "45727", - "2605:e3c0::/43": "398479", - "2804:c48:ff05::/44": "52687", - "2a04:5380::/29": "202292", - "2a0b:bb41::/32": "12570", - "2001:df0:d1::/48": "55857", - "2001:df5:3100::/48": "137854", - "2404:6900::/34": "17819", - "2408:80e3:8000::/33": "4837", - "2402:ee80::/48": "132647", - "2409:804d:1100::/36": "9808", - "2804:67fc::/32": "269663", - "2620:122:8001::/48": "393490", - "2a02:6c20:819::/48": "24641", - "240a:aa96::/32": "145360", - "2804:14c:da87::/41": "28573", - "2a02:7160::/32": "43885", - "2001:559:c01b::/48": "33659", - "240a:a156::/32": "142992", - "240e:438:a20::/43": "140647", - "2a03:560:148::/47": "201832", - "2001:559:7f5::/46": "7922", - "2800:160:1f97::/42": "14259", - "2801:80:3720::/48": "269400", - "2804:43a0:5000::/32": "267580", - "2a0e:aa07:f050::/48": "139249", - "2a0e:b105:5d4::/46": "20473", - "2600:6c38:f16::/47": "20115", - "2605:8440::/32": "7018", - "2806:2f0:2183::/48": "17072", - "2a0a:cdc0::/32": "43771", - "2001:410:a01c::/48": "40007", - "240e:979:3f00::/33": "4134", - "2602:ffa6:700::/36": "62731", - "2a07:e03::/46": "210083", - "2a0f:cb00::/48": "213274", - "2001:67c:2358::/48": "39287", - "2409:8028:8f0::/48": "9808", - "2606:840::/32": "3356", - "2804:59a8::/35": "268717", - "2001:559:85af::/48": "20214", - "2401:b780:5002::/47": "65435", - "2605:ad40::/32": "20432", - "2804:6888::/32": "269699", - "2804:788c::/32": "271250", - "2c0f:f2b8::/32": "328471", - "2001:559:81bd::/46": "7922", - "2405:2300:ff00::/46": "13443", - "2405:8a00:a00e::/43": "55824", - "2409:8924:3100::/38": "56046", - "240a:aed8::/32": "146450", - "240e:698:4b00::/40": "133774", - "2804:1644:340::/32": "262903", - "2803:7da0:c::/48": "64114", - "2804:2950::/32": "53113", - "2a02:2e02:c80::/42": "12479", - "2001:df5:5c00::/48": "9649", - "240e:3b1:5600::/34": "136199", - "2804:2760::/32": "263897", - "2a01:ac::/32": "39122", - "2a02:26f7:d204::/48": "36183", - "2a03:5840:101::/44": "35661", - "2607:f440::/31": "7859", - "2a03:adc0::/48": "42807", - "2c0f:f5c0:231::/37": "29465", - "2600:1403:6c00::/48": "35994", - "2600:140f:9801::/38": "20940", - "2607:f018::/32": "36375", - "2607:fc48:c20::/48": "40009", - "2a00:1169::/39": "21499", - "2a02:26f7:e4::/48": "36183", - "240a:a560::/32": "144026", - "2804:17c8::/32": "263251", - "2806:230:3016::/48": "265594", - "2a09:9446::/32": "49981", - "2a0b:f940:4af3::/32": "205373", - "2402:8100:21a0::/43": "55644", - "2c0f:ee28::/32": "37172", - "2407:e80::/47": "58689", - "2804:3dd4::/32": "266556", - "2804:6a64::/32": "270333", - "2a02:26f0:99::/46": "20940", - "2a06:db80::/29": "24631", - "2a0f:64c0::/29": "31463", - "2a10:2f01:242::/48": "213316", - "2804:694c:c000::/34": "270261", - "2001:678:cbc::/48": "43021", - "2001:708:11::/32": "1741", - "2001:df3:9a00::/48": "135769", - "2400:c700:9001::/34": "55644", - "2620:ff:8000::/48": "22773", - "2804:4248::/32": "267490", - "2804:656c::/32": "269489", - "2001:4408:5d00::/38": "4758", - "2405:1c0:6773::/40": "55303", - "2407:c080:fc0::/35": "55990", - "240a:61:1e00::/48": "9605", - "2001:559:2d3::/48": "33659", - "2001:44b8:204a::/45": "7545", - "2620:12d:1000::/47": "26889", - "2c0f:f718::/32": "37678", - "2a01:138::/32": "15598", - "2001:559:467::/48": "33657", - "2001:678:c8::/48": "33999", - "2408:8459:1b10::/42": "17623", - "2409:8904:4260::/39": "24547", - "2804:1148::/32": "263668", - "2804:198c::/32": "61802", - "2804:53d4::/32": "268609", - "240a:a0d6::/32": "142864", - "2001:559:aa::/47": "7922", - "2001:559:824c::/47": "33651", - "2001:67c:2204:607::2ffa:1/48": "24708", - "2001:ee0:d040::/39": "45899", - "2001:1248:5bac::/43": "11172", - "2001:4878:2048::/48": "12222", - "2402:d000:8135::/44": "9329", - "2803:b220:b003::/33": "265844", - "2804:3478::/32": "262450", - "2a02:ef0::/32": "39242", - "2a03:8960::/32": "200914", - "2a0c:fe80::/29": "200490", - "2001:678:da8::/48": "213068", - "2403:6380:20::/46": "212237", - "240a:ad3f::/32": "146041", - "2a0e:9cc0::/35": "208905", - "2401:b400::/45": "58448", - "2402:800:97ee::/43": "7552", - "240a:aa45::/32": "145279", - "2620:1ec::/46": "8075", - "2a02:26f7:f6f9::/46": "20940", - "2a03:d5c0:1c00::/42": "199391", - "2804:7354::/32": "270908", - "2804:783c::/32": "271229", - "2806:2f0:3481::/46": "17072", - "2a02:2e02:2460::/40": "12479", - "2a05:9f44:2a05::/48": "42831", - "2402:8100:20e7::/44": "45271", - "240a:aae7::/32": "145441", - "2604:d600:69e::/36": "32098", - "2a01:7d20:500::/40": "203645", - "2a02:2458::/32": "6908", - "2a0c:d000::/29": "20612", - "2001:1248:5a7f::/40": "11172", - "2a06:1e86:babe::/48": "210089", - "2001:1388:76c2::/36": "6147", - "2607:f140:a000::/48": "393282", - "2620:11a:4081::/48": "26197", - "2801:1f0:4060::/32": "3573", - "2803:5160::/32": "269730", - "2001:468:2620::/48": "237", - "2001:67c:2d88::/48": "3320", - "2800:b40:201::/46": "262220", - "2800:bf0:2302::/40": "27947", - "2001:559:b2::/48": "22258", - "2400:fc00:8cf2::/39": "45773", - "2606:ec0:1000::/36": "4906", - "2a02:26f7:c449::/42": "20940", - "2001:550:f01::/35": "174", - "2a02:26f7:cf04::/48": "36183", - "2a02:ac80:e1::/43": "25145", - "2409:8069:2906::/47": "9808", - "240e:5e:f000::/36": "4813", - "2803:6a60:4::/32": "262186", - "2804:6a80::/32": "270340", - "2804:70bc::/32": "270745", - "2404:5f40::/48": "38447", - "2804:204:901::/32": "28186", - "2804:ef4:8004::/33": "28642", - "2a06:8146:49a1::/48": "199364", - "2001:67c:4c4::/48": "48171", - "240a:a34a::/32": "143492", - "240a:accb::/32": "145925", - "2803:5a80::/32": "262931", - "2a00:1d18::/32": "43939", - "2a0e:40c0:2::/48": "21100", - "2001:67c:21d8::/48": "41701", - "240e:3b7:9c00::/34": "140310", - "2408:8957:4f00::/40": "17816", - "2a03:2880:f200::/47": "32934", - "2404:4a00:4::/64": "55423", - "2605:3bc0::/32": "7850", - "2a05:6200::/41": "201630", - "2a0b:85c0::/32": "32338", - "2403:3240::/32": "136975", - "240a:ab1f::/32": "145497", - "2804:9d0::/32": "262995", - "2a02:26f7:5b::/48": "20940", - "2a03:f85:2::/48": "60781", - "2a0e:ec0::/29": "211147", - "2405:9d80:2::/45": "45538", - "2801:80:600::/48": "52622", - "2a02:26f7:c684::/48": "36183", - "2a02:4f60::/32": "60198", - "2a03:3180::/44": "44453", - "2a01:a2e0::/32": "3303", - "2a02:c50:db8::/48": "196610", - "2a02:26f7:d184::/48": "36183", - "2a06:bcc0:11::/48": "203724", - "2001:ab7::/34": "15594", - "240e:3b0:8200::/35": "140316", - "2a01:4aa0::/32": "24951", - "2001:43f8:1800::/40": "37724", - "2402:b180:1::/48": "36351", - "2408:840d:b800::/42": "17621", - "2600:1406:1b::/48": "21342", - "2600:6c7f:90b0::/48": "20115", - "2804:1d60::/32": "264365", - "2001:df7:1000::/48": "59216", - "240a:af49::/32": "146563", - "2a02:d8c0::/29": "2119", - "2001:678:1bc::/48": "48149", - "2001:559:7d2::/48": "33657", - "2402:800:5501::/44": "7552", - "240a:ad02::/32": "145980", - "2600:1006:b000::/42": "6167", - "2604:2680::/48": "2386", - "2804:77f4::/32": "271210", - "2001:559:116::/48": "20214", - "2001:678:220::/48": "52022", - "2401:d800:d0a0::/41": "7552", - "2404:f800::/32": "8075", - "240a:a3b0::/32": "143594", - "2806:230:2055::/48": "11888", - "2001:559:c395::/48": "33667", - "2400:4e80::/35": "131584", - "2403:2c40::/32": "58668", - "2408:84f3:be40::/33": "17816", - "2803:ab00:91::/48": "52471", - "2a09:7:200b::/48": "6233", - "2001:e60:d400::/42": "4766", - "2401:5e40:1100::/36": "63770", - "2402:b600::/32": "7532", - "2600:140f:3c00::/48": "9498", - "2a00:59c0::/46": "49232", - "2001:44b8:4068::/48": "7545", - "2600:1007:b0d0::/44": "6167", - "2600:9000:21a9::/41": "16509", - "2620:115:6001::/48": "32336", - "2803:e600:cacf::/34": "18809", - "2804:1bd8:8100::/36": "28224", - "2806:239::/32": "18592", - "2001:67c:2d8c::/48": "33965", - "2804:38e0::/32": "266507", - "2a02:2640::/32": "2119", - "2806:250:22::/47": "28509", - "2001:4408:7d00::/38": "4758", - "2400:fc00:85b0::/38": "45773", - "240a:a5e9::/32": "144163", - "2607:f6f0:206::/48": "27566", - "2607:f928:4::/48": "13359", - "2620:48:c000::/46": "26549", - "2804:3424::/32": "265438", - "2408:8256:3a81::/43": "17623", - "240a:ae26::/32": "146272", - "2607:6b80:1::/46": "46562", - "2804:2250:543a::/34": "262756", - "2001:559:85a7::/48": "7922", - "2001:4546:1003::/48": "20940", - "2406:c500:fff3::/48": "45671", - "2804:487c:201::/46": "267124", - "2a09:26c0::/32": "41114", - "2404:8000:ba72::/33": "17451", - "2804:8088::/32": "271757", - "2804:8234::/32": "272505", - "2a02:26f0:42::/43": "20940", - "2405:da40::/32": "140220", - "240a:a7b8::/32": "144626", - "2a05:2140::/29": "201603", - "2001:df7:8d00::/48": "138318", - "2400:cb00:aa20::/47": "13335", - "2409:802f:2904::/48": "56041", - "2607:f110:e410::/42": "21889", - "2804:4e00::/32": "268233", - "2001:559:8675::/44": "7922", - "2001:67c:22c8::/48": "3246", - "2001:4878:b136::/48": "12222", - "2001:559:d0::/48": "33651", - "2600:1415:400::/48": "24319", - "2620:11d:9002:200::/56": "14805", - "2a02:26f0:3101::/38": "20940", - "2001:67c:4e4::/48": "204896", - "240e:473:1920::/41": "140486", - "2600:100e:9f20::/34": "6167", - "2402:3a80:800::/44": "38266", - "2607:fb60::/32": "1742", - "2800:b70:2::/44": "262191", - "2804:59b0::/32": "268719", - "2400:7400:57::/42": "38044", - "2401:ff80:138b::/45": "133954", - "2402:6800:7::/37": "22822", - "2404:b1:b000::/33": "9891", - "2606:2800:233::/45": "15133", - "2a07:3502:10e0::/48": "1136", - "2001:579:60a8::/38": "22773", - "2402:e380:400::/40": "141376", - "240e:3bd:6400::/35": "140312", - "2605:f700:43::/44": "18978", - "2606:2800:4025::/44": "15133", - "2607:f6f0:2000::/48": "54588", - "2a0b:c306::/32": "9119", - "2001:67c:2ce8::/48": "199508", - "2402:800:582b::/41": "7552", - "240a:ac55::/32": "145807", - "2605:3380:ffff::/48": "12025", - "2605:f440:beef::/48": "212105", - "2a00:5d20::/32": "28717", - "2a01:7ea0::/32": "13012", - "2402:76c0::/32": "137449", - "2604:b300:ad0a::/48": "394896", - "2804:34::/35": "28306", - "2a00:14c0::/32": "35382", - "2409:8c28:2909::/35": "56041", - "2600:6c7f:9180::/42": "19115", - "2620:130:2000::/47": "18701", - "2a00:d1a0:2::/32": "61317", - "2a01:5ec0::/34": "44244", - "2a10:2f00:15d::/48": "39282", - "240a:adf5::/32": "146223", - "2804:be4:c::/32": "52840", - "2a02:26f7:c4::/48": "36183", - "2a0f:b100:3::/44": "202945", - "2405:d300:800::/40": "17477", - "2606:df00:3::/48": "20150", - "2607:fdc8:800::/48": "30036", - "2804:14d:7681::/41": "28573", - "2a01:c9c0:8000::/48": "2280", - "2a05:1084:a000::/33": "59598", - "2a09:bac0:97::/44": "13335", - "2404:6dc0::/32": "135876", - "240a:a64b::/32": "144261", - "2803:81c0::/32": "263238", - "2804:3b20::/38": "266131", - "2a02:9c8::/29": "5619", - "2001:57b:1243::/36": "22773", - "2001:1248:881b::/42": "11172", - "2403:0:119::/45": "4755", - "240b:4003:fee3::/48": "45102", - "240a:a12a::/32": "142948", - "2600:1017:b800::/42": "22394", - "2803:5700::/32": "28024", - "2a02:166a::/32": "20473", - "2a0a:9440::/29": "57111", - "2a02:7900::/39": "16154", - "2402:800:911d::/41": "7552", - "2408:8459:ae10::/42": "17623", - "2605:1680::/32": "18596", - "2803:9da0::/32": "267741", - "2804:176c::/32": "263098", - "2a02:fa8:1c10::/44": "41041", - "2a02:26f7:ea45::/46": "20940", - "2a04:da00::/29": "60140", - "2a0b:de00:30::/47": "207486", - "2c0f:fc89:4001::/32": "36992", - "2401:4900:3a2a::/45": "45609", - "240e:44d:1880::/41": "4134", - "2600:1400:5::/48": "23454", - "2620:131:1005::/42": "26450", - "2a00:4802:1810::/38": "13124", - "2a04:1b00:8::/47": "61005", - "2a0f:9980:598::/48": "40676", - "2604:ff40::/32": "30211", - "2607:3f00::/42": "46261", - "2804:4c14:da01::/39": "267348", - "240e:350:5c00::/34": "134419", - "2600:5000:5832::/30": "7029", - "2606:6fc0::/32": "399897", - "2a02:26f7:d254::/48": "36183", - "2606:ae00:c500::/36": "7287", - "2610:80:3000::/29": "6079", - "2a02:d140::/29": "49788", - "2001:559:3e1::/48": "7015", - "2605:b100:f000::/36": "36522", - "2607:fe88:1000::/33": "852", - "2804:1af8::/32": "61701", - "2804:1f1c::/32": "265235", - "2804:5fec::/32": "269134", - "2001:49d0:140::/42": "20177", - "2409:8904:e070::/40": "24547", - "2800:484:7200::/37": "14080", - "2620:189::/36": "16957", - "2806:230:602c::/48": "265594", - "2a04:1a40::/48": "50362", - "2a04:4e40:7400::/48": "54113", - "2001:559:4b::/48": "33652", - "2001:678:c60::/48": "39527", - "2001:bf7:7a0::/36": "44194", - "2602:fca7:100::/48": "399318", - "2607:f750:9000::/39": "23473", - "2800:430:6000::/40": "23487", - "2a0c:ffc0::/48": "57342", - "2a0c:9a40:808d::/48": "201106", - "2001:559:81e0::/46": "7015", - "2001:559:83c2::/48": "33659", - "2001:559:c1c4::/47": "7015", - "2401:4a00::/32": "17444", - "2407:2a80::/32": "133524", - "240a:a279::/32": "143283", - "2806:283:4000::/36": "265515", - "2a0e:b107:790::/44": "208680", - "2a0f:fec0::/29": "198668", - "2a05:2e00::/32": "49460", - "2408:8000:2000::/33": "4837", - "240a:a524::/32": "143966", - "2607:f5d8:21::/32": "11096", - "2804:1f34::/32": "262679", - "2804:2b44::/43": "265144", - "2804:7a18::/32": "271347", - "2a03:9e20::/32": "203672", - "2a0e:b107:bd0::/48": "140936", - "2001:559:10a::/48": "7725", - "2400:a980:7500::/36": "133111", - "2803:9a00::/32": "262239", - "2803:b2c0::/47": "264851", - "2803:ed40::/32": "264676", - "2a01:28:eeef::/35": "39392", - "2607:f588::/32": "3257", - "2620:11:40::/45": "3486", - "2a02:26f7:bccc::/48": "36183", - "2405:1c0:6a53::/42": "55303", - "240a:a402::/32": "143676", - "2804:4960::/32": "267181", - "2a00:86c0:1022::/43": "2906", - "2405:8a00:c013::/42": "55824", - "2604:880:200::/45": "29802", - "2804:3b70::/32": "266149", - "2a0f:1f80::/29": "60781", - "2001:559:544::/48": "33657", - "2001:44b0::/32": "17940", - "2405:1c0:6173::/40": "55303", - "2607:1e00:1001::/46": "22489", - "2803:4160::/32": "269726", - "2a00:d103::/34": "15704", - "2001:418:141f:300::/42": "2914", - "2001:559:480::/48": "33657", - "2401:d800:b120::/41": "7552", - "2600:c0c::/32": "11854", - "2a04:a000::/29": "59630", - "2a0e:77c0:2099::/48": "213281", - "2401:1040::/38": "138482", - "240a:a391::/32": "143563", - "240a:ac95::/32": "145871", - "2600:1003:9440::/44": "6167", - "2604:c5c0:100::/38": "29727", - "2001:67c:28f4::/48": "198827", - "2409:8914:1700::/36": "56044", - "240a:acd5::/32": "145935", - "2804:6e38::/32": "270583", - "2a02:f48:2000::/40": "50613", - "2607:8480::/34": "22639", - "2a02:6ea0:babe::/48": "60068", - "2a05:dfc7:6::/48": "62240", - "2001:559:82a5::/48": "33657", - "2402:b801:3900::/37": "18371", - "2403:4800:1200::/32": "9443", - "240a:a012::/32": "142668", - "2a02:7920::/48": "201868", - "2001:559:794::/48": "33657", - "2001:559:c255::/48": "7922", - "2408:8456:e640::/36": "17816", - "2806:2f0:31a1::/41": "17072", - "2a0c:2280::/29": "3292", - "240e:3bb:2200::/37": "136198", - "2606:45c0:1572::/32": "26073", - "2804:2000::/38": "264459", - "2804:2fe4::/32": "264919", - "2001:559:c3f8::/48": "7725", - "2001:579:5044::/40": "22773", - "240e:e9:b000::/37": "137697", - "2604:d7c0::/32": "11114", - "2804:2458::/32": "264216", - "2a07:b7c0::/29": "35280", - "2001:1248:55a8::/47": "11172", - "2001:4830:c170::/48": "22147", - "2401:4800:2::/48": "38457", - "2406:840:e110::/48": "141712", - "240e:964:eac0::/42": "133775", - "2607:f740:14::/46": "36236", - "2a00:139b::/32": "204680", - "2a0c:8540:a::/47": "42198", - "2001:67c:3f8::/48": "199071", - "2001:dc7:1001::/45": "24151", - "240a:a4d9::/32": "143891", - "2620:11a:a029::/46": "36040", - "2804:204:224::/44": "28186", - "2401:b500::/32": "9268", - "2402:9d80:26d::/40": "131429", - "2a02:840::/32": "41828", - "2001:559:1e6::/48": "7015", - "2001:df4:1d80::/48": "140878", - "2a03:ca00::/32": "25592", - "2001:559:200::/48": "33659", - "240e:3b7:1200::/39": "4134", - "2c0f:f590::/54": "36974", - "2001:c20:48c4::/48": "9255", - "2001:cb0:220a::/35": "4637", - "2600:140f:4601::/36": "20940", - "2806:2f0:2021::/46": "22884", - "2405:8500::/32": "55898", - "2804:346c::/32": "265457", - "2a10:b9c0:ffff::/48": "213346", - "240a:a392::/32": "143564", - "2a02:1670::/32": "16024", - "2001:559:c193::/48": "33489", - "2409:8a29::/27": "9808", - "2a10:ce40::/48": "140224", - "2001:67c:2ea8::/48": "49752", - "2001:4888:801c::/47": "22394", - "2402:6940:1402::/32": "7645", - "2402:e280:2105::/46": "134674", - "2801:1c:3000::/48": "16906", - "2001:4de0:5010::/48": "12989", - "2602:80c::/48": "14618", - "2a11:d80::/29": "208861", - "2607:f518:2000::/44": "46887", - "2804:6828::/32": "269672", - "2001:fd8:34c0::/42": "132199", - "2001:43f8:770::/46": "37501", - "2804:4cec::/32": "267401", - "2a0d:ee00::/32": "42487", - "2001:44b8:26::/48": "7545", - "2400:8500:cbbd::/48": "7506", - "2406:2400:f1f0::/48": "45287", - "2400:cb00:370::/48": "13335", - "2402:800:978d::/43": "7552", - "2408:8459:810::/41": "17622", - "2a02:d00::/32": "49101", - "2a06:dd00::/29": "56694", - "2001:1938:4200::/47": "12989", - "240a:a397::/32": "143569", - "240e:3bd:5600::/34": "4134", - "2a02:2698:400::/38": "50512", - "240a:a207::/32": "143169", - "2804:828::/32": "262354", - "2a07:14c0:2::/34": "208861", - "2a0f:1e80:62::/32": "30633", - "2a0f:dc40::/29": "205185", - "2403:9400:1::/46": "10006", - "240a:ad81::/32": "146107", - "240e:63:f000::/36": "140313", - "2605:a40e:10::/37": "33363", - "2607:f108:302::/36": "29838", - "2801:10c::/44": "18747", - "2a0b:4d07:701::/46": "44239", - "2001:678:c2c::/48": "212746", - "2600:1003:f440::/44": "6167", - "2620:1e:a000::/48": "196962", - "2804:78b0::/32": "271259", - "2401:d800:f90::/42": "7552", - "2604:9b80::/32": "30144", - "2a0e:8f02:2130::/48": "211722", - "2403:fbc0::/48": "23959", - "2405:1c0:6135::/41": "55303", - "2406:840:4000::/48": "139317", - "2409:8720::/32": "56046", - "2600:6c20::/29": "20115", - "2607:f3e0::/32": "11647", - "2804:5db0::/32": "268986", - "2001:f60::/27": "2519", - "2a02:26f7:ea49::/42": "20940", - "2a03:3080:53::/48": "16244", - "2409:8904:cea0::/39": "24547", - "2620:171:bc::/41": "715", - "2a0b:4340:b0::/48": "205058", - "2a0f:5381::/35": "208135", - "2001:67c:60c::/48": "201907", - "2001:67c:1bf4::/48": "58010", - "2402:800:337f::/40": "7552", - "2402:1e80:0:3000::/48": "4672", - "240a:a296::/32": "143312", - "2a02:2988::/32": "24916", - "2401:7400:4020::/36": "4773", - "2402:800:9563::/43": "7552", - "240e:3bc:9c00::/34": "140310", - "2804:15a4::/32": "263400", - "2804:242c::/32": "264206", - "2804:51a4:6100::/32": "268467", - "2402:800:bd50::/42": "7552", - "2405:9800:b900::/38": "133481", - "240a:accd::/32": "145927", - "2600:1017:f110::/38": "6167", - "240a:aa03::/32": "145213", - "2604:d600:cab::/35": "32098", - "2801:17:e800::/48": "27951", - "2a02:27b8:2002::/45": "49278", - "2408:8956:5500::/40": "17816", - "240a:a76f::/32": "144553", - "2604:d600:15ce::/43": "32098", - "240e:6b0:1000::/32": "4134", - "2604:2e8e:c000::/35": "30036", - "2605:7480::/32": "30028", - "2a02:26f7:edc4::/48": "36183", - "2a02:2e02:16b0::/41": "12479", - "2001:67c:24dc::/48": "197944", - "2401:1640::/32": "18254", - "2402:800:99e0::/44": "7552", - "2607:bf80::/32": "32100", - "2607:fae0:f200::/44": "63311", - "2605:5e40::/48": "397810", - "2804:50c8::/32": "268410", - "2a0a:3280::/29": "49748", - "240e:1e::/36": "134773", - "240e:982:c200::/35": "4134", - "2001:559:4f2::/48": "7922", - "2602:fd51::/36": "13895", - "2602:ffe4:402::/36": "21859", - "2a03:77e0:3301::/48": "48305", - "2408:8459:ac10::/42": "17623", - "2804:5b7c::/32": "268848", - "2804:7a0c::/32": "271344", - "2a04:45c0::/29": "60717", - "2001:df5:8400::/48": "134515", - "2402:b400:4428::/38": "45960", - "2408:8456:3000::/41": "17623", - "2607:fe28:5020::/43": "53347", - "2a0e:1c04:1::/30": "61317", - "2001:df2:e380::/48": "140224", - "240e:438:5240::/37": "4134", - "2620:0:e00::/47": "38", - "2804:1cbc::/32": "61672", - "2a01:b740:1001::/39": "714", - "2001:559:2d2::/48": "7016", - "2604:d600:51d::/42": "32098", - "2605:3f40::/32": "15054", - "2001:559:d1::/48": "33659", - "2401:ff80:120f::/43": "133954", - "2605:d580::/32": "46690", - "2a02:26f7:b602::/47": "20940", - "2404:1580::/32": "134854", - "2408:8459:5610::/42": "17623", - "2408:8459:9c10::/42": "17623", - "2620:91:4000::/48": "393599", - "2800:160:1d76::/44": "14259", - "2a02:e0c0:1c00::/34": "9100", - "2409:8a51:100::/38": "56047", - "240a:af04::/32": "146494", - "2602:fe19:6401::/32": "26073", - "2a06:cbc0::/29": "12693", - "2a09:9b40::/48": "209562", - "2a0a:9204:31::/30": "61317", - "2001:559:c279::/48": "33657", - "2402:8000::/32": "24541", - "240e:3b1:f100::/36": "4134", - "2600:1000:b130::/44": "22394", - "2600:100b:b0e0::/39": "6167", - "2605:c00:400::/36": "46920", - "2800:484:2f00::/40": "10620", - "2a0f:5707:af0b::/48": "211358", - "2001:559:c3de::/48": "21508", - "2604:d600:1071::/46": "32098", - "2a02:26f7:b6c4::/48": "36183", - "2a02:26f7:e545::/46": "20940", - "240a:a88d::/32": "144839", - "2607:f330:6aab::/37": "15130", - "2a04:5880::/29": "34759", - "2a0c:4380:100::/48": "36236", - "240a:a8a3::/32": "144861", - "2600:1015:b030::/41": "6167", - "240e:438:2040::/38": "4134", - "2607:f5d8::/46": "11096", - "2001:49f0:d034::/48": "174", - "240a:ab3e::/32": "145528", - "2a00:c700:c000::/34": "47609", - "2a01:4262:1ab::/48": "205235", - "2a06:98c0:1400::/47": "202623", - "2001:559:8384::/48": "33491", - "2001:579:c184::/41": "22773", - "2402:9d80:105::/48": "131429", - "240a:a158::/32": "142994", - "2600:1017:b1e0::/38": "6167", - "2607:f400::/32": "7029", - "2a01:8a60::/39": "60191", - "2001:559:8411::/48": "7016", - "2407:7a80:13::/48": "132384", - "240e:46c::/30": "4812", - "240e:640:ef00::/27": "4134", - "2a0c:e600::/29": "197036", - "2001:559:c31f::/48": "33651", - "2405:2500:65::/48": "136565", - "2409:8915:6200::/35": "56044", - "2607:f9c0::/32": "22070", - "2a00:1ee8::/32": "29256", - "240a:a1ac::/32": "143078", - "240a:a589::/32": "144067", - "2606:5b80:2157::/32": "22612", - "2a03:e040:10::/48": "34879", - "2001:1248:8459::/45": "11172", - "2804:14d:90b4::/41": "28573", - "2a01:4ac0:1::/48": "57497", - "2a0d:2e00:2000::/48": "33932", - "240e:5a:6c00::/38": "137702", - "2a02:3030:400::/23": "6805", - "2001:559:255::/48": "7725", - "2602:ffc5:200::/48": "20473", - "2605:b900::/47": "36218", - "2a00:7e80::/32": "197197", - "2a01:8140::/32": "42331", - "2408:8956:b300::/40": "17816", - "2607:f4e0::/38": "4150", - "2402:79c0:1127::/48": "26415", - "2405:dc00:8000::/33": "4804", - "2620:12e:9000::/44": "395423", - "2804:44e8:201::/39": "267660", - "2a0b:dc0::/47": "58049", - "2404:1c80::/32": "4847", - "2a05:1082:1::/48": "136918", - "2a07:3500:1100::/48": "34108", - "2409:8a04:3100::/33": "24547", - "2620:cb:6::/47": "3549", - "2806:230:1027::/48": "11888", - "2a05:de00::/29": "30835", - "2400:a980:cc::/48": "134169", - "2406:3003:3028::/45": "4657", - "2600:1017:9410::/38": "6167", - "2804:8154::/32": "272447", - "2a01:28::/32": "39392", - "2a04:f580:8000::/48": "4134", - "2a0e:fd45:693a::/32": "44103", - "2001:559:c169::/48": "7725", - "2001:1980:2500::/33": "29838", - "240e:5e:4001::/46": "4134", - "2804:624c::/32": "53106", - "2804:6f68::/32": "270658", - "2604:3940::/32": "31841", - "2a01:9660::/32": "199743", - "2a0a:6d00::/29": "206988", - "2001:256:100::/48": "24367", - "2001:1388:5e02::/44": "6147", - "2600:140f:7001::/38": "20940", - "2620:11c:a000::/47": "26021", - "2a09:b280:beef::/48": "208886", - "2409:8948:9000::/40": "24445", - "240a:a5d5::/32": "144143", - "2408:8957:a200::/40": "17622", - "2600:9000:110b::/43": "16509", - "2a02:2698:9c00::/38": "34150", - "2001:df3:810::/44": "22787", - "2401:8ac0:120::/48": "4671", - "240a:a862::/32": "144796", - "2a0a:ea80::/29": "206589", - "240a:ae46::/32": "146304", - "2804:5508::/32": "268685", - "2a02:26f7:d940::/48": "36183", - "2a09:d680::/31": "20473", - "2402:800:342b::/41": "7552", - "2404:ba00::/47": "17665", - "2408:8957:9c00::/40": "17622", - "2a02:6940::/32": "39642", - "2600:1417:3000::/54": "24203", - "2804:2838:21a::/32": "263948", - "2a01:300::/43": "9009", - "2a05:2701:f30::/44": "62371", - "2a0c:b641:f0::/46": "210985", - "2a0e:b106:20::/44": "203038", - "2001:678:ef4::/48": "202592", - "2402:e280:3d7c::/40": "134674", - "2409:8c35::/28": "9808", - "240e:3bf:9200::/36": "140317", - "2600:1403:a::/48": "21342", - "2604:1d40:202::/47": "30612", - "2a02:26f7:c3d4::/48": "36183", - "2001:400:a000:8::/61": "293", - "2602:feda:b8f::/48": "205923", - "2804:2738::/32": "263885", - "2a06:af00::/29": "15694", - "2a02:25a8:deae::/29": "12824", - "240a:a829::/32": "144739", - "2600:1406:5001::/37": "20940", - "2606:2800:5062::/45": "15133", - "2607:ffd8:801::/48": "17048", - "2803:7d00::/48": "52327", - "2804:4fe4::/32": "53086", - "2a01:6900::/32": "16091", - "2001:559:80::/48": "7015", - "2001:df4:1f80::/48": "18131", - "2a00:1288:112::/47": "34010", - "2a02:26f7:d685::/46": "20940", - "2001:678:f14::/48": "8767", - "2404:c800::/32": "4760", - "240a:a595::/32": "144079", - "2a0d:580::/32": "206767", - "2c0f:7400::/32": "328720", - "2407:7100::/32": "131149", - "2409:8a53:700::/36": "56047", - "240a:a211::/32": "143179", - "2604:d200::/32": "33470", - "2a02:388::/32": "39040", - "2a06:fd80::/47": "206206", - "2a09:e1c1:d000::/36": "211581", - "2a05:ef40::/29": "200428", - "2a0b:aa80::/29": "42669", - "2001:559:c1a5::/48": "21508", - "2404:fc40::/32": "133971", - "2409:8070:2100::/36": "9808", - "2a00:c940::/32": "12581", - "2402:e380:322::/48": "64041", - "2803:4a80::/32": "27865", - "2a02:26f7:e08c::/48": "36183", - "2402:800:3a71::/44": "7552", - "2804:5ea8::/32": "269048", - "2804:7a9c::/32": "53141", - "2804:7f10::/32": "271664", - "2a00:adc0::/35": "41655", - "2a0f:9400:770c::/48": "53356", - "2804:53c8::/32": "268606", - "2001:559:478::/48": "20214", - "2001:df0:6800::/48": "23620", - "2001:1a11:63::/45": "8781", - "2401:d800:2860::/40": "7552", - "2406:c500:ffd0::/48": "20473", - "2408:8957:1f40::/40": "17816", - "2408:8957:8f00::/40": "17816", - "2a0b:b87:ffb4::/48": "211248", - "2001:b08:27::/32": "3267", - "2001:df2:c680::/48": "139980", - "2001:b400:f420::/22": "3462", - "2408:8256:34a0::/39": "17816", - "2a02:26f7:c3ca::/47": "20940", - "2a0a:15c0::/29": "206273", - "2001:400:2410::/48": "3152", - "2a02:26f7:d14a::/45": "20940", - "2408:8459:3230::/44": "17623", - "2408:8957:2500::/40": "17816", - "2605:6640::/32": "397797", - "2c0f:f988::/32": "37353", - "2001:c20:5400::/34": "3758", - "2001:4479:900::/35": "7545", - "2408:8034::/32": "4837", - "2a02:26f7:8a::/48": "36183", - "2a0d:2580::/47": "213262", - "240a:a59d::/32": "144087", - "240a:ac01::/32": "145723", - "240a:acfe::/32": "145976", - "2600:100d:be00::/44": "6167", - "2804:1140::/32": "263666", - "2804:145c:8b80::/37": "263327", - "2a0c:5247:9000::/36": "59504", - "2404:c840::/48": "135970", - "240a:a5cd::/32": "144135", - "2603:f248::/29": "396356", - "2800:160:144e::/43": "14259", - "2a00:9c80::/32": "35613", - "2a02:24c0::/32": "197307", - "2a02:26f0:117::/48": "21342", - "2001:67c:2160::/48": "2486", - "2400:4840:10::/48": "395363", - "2402:800:b410::/42": "7552", - "2404:ec80::/32": "10076", - "2406:6e00:ef98::/35": "17457", - "2a0d:140:2000::/29": "209014", - "2001:df4:b880::/48": "17823", - "2a0a:b387::/32": "35048", - "2a0e:b940::/29": "208395", - "2001:67c:18d8::/48": "199973", - "2404:1f00:9000::/33": "55947", - "2405:9800:c913::/45": "45430", - "2607:5100::/28": "36734", - "2001:559:c356::/47": "33287", - "2401:3cc0:401::/38": "137409", - "2a01:398::/32": "24867", - "2a0f:e404:100::/46": "58057", - "2603:90f5:9::/45": "20115", - "240a:a43f::/32": "143737", - "240a:a8b0::/32": "144874", - "240e:13:7000::/37": "139201", - "2804:14d:2a82::/47": "28573", - "2804:1784:8900::/33": "263152", - "2001:388:5071::/34": "7575", - "2001:1ab0::/32": "29134", - "2400:a4c0::/48": "7575", - "2402:800:3163::/43": "7552", - "240a:ad61::/32": "146075", - "2604:4b00::/32": "26123", - "2800:2a0::/38": "27947", - "2a0e:2740::/29": "208093", - "2402:e600::/32": "17927", - "2404:8d02:29c7::/37": "9587", - "240a:a04c::/32": "142726", - "2804:6524::/32": "269471", - "2a0f:9a80::/29": "51290", - "2001:550:1b0b::/37": "174", - "2a06:5ac0::/29": "204202", - "2001:df5:6400::/48": "55380", - "2600:6c34:5c::/48": "33588", - "2606:6800:2800::/40": "394898", - "2a05:8440::/29": "31708", - "2a0a:2584::/31": "206568", - "240a:a950::/32": "145034", - "2001:559:871d::/48": "33657", - "2403:bcc0::/48": "48011", - "240a:a086::/32": "142784", - "240a:a371::/32": "143531", - "240a:a538::/32": "143986", - "2604:1580:fe03::/39": "54455", - "2804:a58::/32": "262274", - "2800:68:f::/43": "61468", - "2804:3b84::/32": "266154", - "2a02:d40:3::/48": "197071", - "2a02:2e02:82b0::/39": "12479", - "2a02:26f7:bf88::/48": "36183", - "2a0e:f7c0::/29": "57048", - "2800:160:1b32::/45": "14259", - "2804:a::/31": "14840", - "2a02:26f7:cb44::/48": "36183", - "2804:728c::/32": "270860", - "2a00:18c8::/29": "33915", - "2a02:26f7:f340::/48": "36183", - "2400:9380:8040::/48": "4134", - "2402:3a80:1100::/38": "38266", - "2607:fcf8::/32": "26788", - "2a0b:7d80::/29": "59889", - "2c0f:f7b8::/32": "327824", - "2001:44b8:4066::/48": "7545", - "240a:afac::/32": "146662", - "240e:44d:3e80::/41": "4134", - "2806:230:2026::/48": "265594", - "2a06:8500::/29": "35684", - "2001:1838:5003::/40": "23352", - "2a07:7b00::/29": "60960", - "2001:559:82bd::/48": "33668", - "2408:8459:1910::/42": "17623", - "2801:0:60::/48": "52274", - "2a03:b2c0::/29": "40676", - "2a02:26f7:c445::/46": "20940", - "2001:559:55e::/48": "33657", - "2001:559:8289::/48": "20214", - "2001:67c:247c::/48": "49754", - "2001:1248:841c::/42": "11172", - "2404:c900:1::/48": "58682", - "240e:9:7000::/30": "4134", - "2603:c020:c000::/35": "31898", - "2a02:26f7:cf80::/48": "36183", - "2a02:26f7:f988::/48": "36183", - "2001:480:20::/48": "48", - "2001:559:74d::/48": "7015", - "2404:3d00:4144::/47": "21433", - "2408:8459:6a50::/37": "17816", - "2620:111:1001::/48": "18469", - "2a00:7740::/32": "33915", - "2001:67c:5bc::/48": "197915", - "2001:4b60::/40": "28857", - "2403:5f40:ca05::/48": "16509", - "240a:ae8c::/32": "146374", - "2600:6c7f:9130::/44": "20115", - "2605:a401:875e::/40": "33363", - "2a02:26f7:f8d8::/48": "36183", - "2a02:26f7:f6c9::/46": "20940", - "2001:418:149d::/48": "93", - "2001:4200:310::/36": "2018", - "2405:9800:c90f::/48": "45430", - "240a:adf6::/32": "146224", - "2607:fcd0:fa80:4::/62": "8100", - "2803:d040::/32": "61497", - "2a00:7160::/32": "8449", - "2a0f:12c0::/29": "60262", - "2402:b940:200::/39": "138538", - "240e:978:500::/40": "131325", - "2607:ffb0:5005::/34": "6327", - "2a01:40:4949::/48": "204979", - "2a02:26f7:d285::/46": "20940", - "2a05:4c00::/29": "24750", - "2001:668:123::/40": "3257", - "2409:8d15:1800::/39": "56044", - "240e:3be:1200::/39": "4134", - "2a0c:b641:110::/44": "212007", - "2001:559:8012::/48": "33662", - "2401:ff80:1591::/46": "133954", - "240a:a47c::/32": "143798", - "2806:230:2056::/48": "265594", - "2a00:6620:2000::/48": "197746", - "2a03:7080::/32": "25387", - "2403:c00:f00::/45": "17488", - "2409:8c14:2000::/36": "56044", - "2607:f0d0:2000::/39": "36351", - "2800:2a0:2401::/35": "27947", - "2804:7f04::/32": "271661", - "2a03:2880:f21a::/45": "32934", - "2001:1488::/32": "25192", - "2406:f00:2::/48": "58758", - "2406:4e40:501::/38": "140966", - "240a:a87b::/32": "144821", - "2804:5cc4::/32": "268929", - "2804:7008::/32": "270702", - "2a00:fc00:e004::/44": "3255", - "240a:aada::/32": "145428", - "2804:431:c000::/35": "27699", - "2a03:5380::/32": "34612", - "2a0e:8f80::/48": "52051", - "2001:559:c0aa::/48": "33651", - "2001:12f0:b3f::/48": "1916", - "2803:580::/32": "61449", - "2a03:b640::/32": "9038", - "2a04:f380::/32": "59985", - "2620:5e:6000::/48": "701", - "2801:124::/44": "270030", - "2001:67c:2418::/48": "9023", - "2400:a140:ffff::/48": "131964", - "2408:8459:9450::/38": "17816", - "2620:149:1540::/36": "714", - "2804:7578::/32": "271049", - "2a02:2698:b000::/36": "47911", - "2001:ac8::/45": "9009", - "2a03:7480::/44": "60781", - "2a09:5fc0::/29": "35360", - "2001:579:b9c4::/44": "22773", - "240a:a980::/32": "145082", - "240e:473:9150::/40": "4134", - "2600:6c3b:21::/43": "20115", - "2408:84f3:ea10::/42": "134543", - "240e:3b8:3e00::/33": "140308", - "2a09:4c0:e01::/39": "58057", - "2001:559:84ee::/48": "33287", - "2600:6c38:718::/47": "20115", - "2406:4440:f000::/48": "38173", - "240a:aed3::/32": "146445", - "2600:1408:8000::/48": "35994", - "2405:ba00:8810::/48": "63295", - "2409:8004:2900::/35": "24547", - "2a02:2698:5800::/38": "42683", - "2a04:17c0::/29": "43404", - "2a09:d80::/29": "208861", - "2a0a:4640:a::/43": "206177", - "2001:67c:1348::/48": "2485", - "2001:49f0:a071::/36": "174", - "2401:b780:5004::/44": "45410", - "2600:140f:3201::/37": "20940", - "2606:ce80:6::/48": "64259", - "2001:559:8668::/48": "7725", - "2001:13d2:6807::/32": "7303", - "240a:a377::/32": "143537", - "240a:ac89::/32": "145859", - "2803:2540::/44": "264668", - "2803:cf00::/32": "264642", - "2a0e:fd45:40f6::/48": "202297", - "2600:1f70:c000::/40": "16509", - "2606:700::/32": "54054", - "2806:230:2003::/48": "11888", - "2a03:8600:1008::/32": "3399", - "2c0f:f430::/32": "29614", - "2001:559:c08c::/48": "33287", - "2402:6800:761::/46": "22822", - "2404:4f80:36::/38": "58715", - "2804:2a84::/32": "264076", - "2409:8914:9e00::/39": "56044", - "2605:a401:8120::/46": "33363", - "2800:bf0:80e7::/48": "27947", - "2804:14d:5cc3::/43": "28573", - "2a01:7860::/32": "12859", - "2001:4878:2259::/48": "12222", - "2409:8c1e:75c0::/32": "9808", - "240a:af10::/32": "146506", - "2803:df20::/32": "266781", - "2a02:5080:200::/35": "51825", - "2401:d800:7960::/40": "7552", - "2407:6240:1000::/36": "137095", - "240e:438:6040::/38": "4134", - "2606:cd00:11::/32": "40845", - "2804:14d:ecf3::/39": "28573", - "2a04:3600::/29": "57487", - "2001:67c:458::/48": "51786", - "2001:44c8:43e0::/37": "131445", - "2400:1a00:8001::/46": "17501", - "2400:cb00:aa23::/45": "13335", - "240e:cf:9000::/36": "139201", - "240e:982:4200::/36": "4134", - "2a02:ad8:1600::/33": "12389", - "2a0a:3140:2610::/44": "15532", - "2001:1378::/32": "52250", - "2406:daa0:c0c0::/44": "16509", - "2804:431:a000::/35": "27699", - "2a0e:1bc5::/35": "208621", - "2001:559:705::/46": "33659", - "2401:4900:3e80::/42": "45609", - "240e:473:1850::/39": "4134", - "2603:4:1500::/48": "44273", - "2800:160:1e13::/42": "14259", - "2804:22e8::/32": "264130", - "2001:df6:e580::/48": "24565", - "2806:267:1300::/37": "13999", - "2404:f900::/43": "58482", - "2a00:f660::/32": "42442", - "2a02:26f7:bc41::/46": "20940", - "2a02:2818:5::/48": "196705", - "2804:2404::/32": "264197", - "2001:559:1cb::/48": "20214", - "2604:1f80::/32": "54412", - "2804:4724::/32": "267034", - "2001:678:68c::/48": "13259", - "2804:e0c:140::/47": "28176", - "2804:7b80::/32": "262610", - "2400:9380:8301::/48": "4134", - "2401:f2c0::/32": "63760", - "2404:1a0:1003::/34": "24334", - "240a:ae51::/32": "146315", - "2a02:26f7:b905::/46": "20940", - "2a03:4360::/32": "61307", - "2a0c:f480::/29": "328543", - "2407:4000::/45": "38005", - "240e:3bf:dc00::/34": "4134", - "2001:559:8138::/47": "7725", - "2001:559:86fa::/48": "7016", - "2405:2700::/32": "24270", - "2408:8956:e400::/40": "17622", - "2602:ffb9::/36": "16621", - "2a03:2887:ff23::/48": "63293", - "2a0a:ec02:902::/48": "42692", - "2001:df6:ab00::/48": "138215", - "2605:fe80::/32": "7203", - "2a04:4e40:2610::/44": "54113", - "2c0f:f4c0:13d2::/37": "37611", - "2a05:cfc0::/29": "48635", - "2001:df0:314::/46": "140592", - "2402:800:381d::/42": "7552", - "2408:8956:8b00::/40": "17816", - "240a:a4f0::/32": "143914", - "2602:fed2:711f::/48": "141376", - "2804:61b0::/32": "269250", - "2a01:4420::/32": "30936", - "2a0f:9400:770b::/48": "20473", - "2001:4888:8069::/34": "6167", - "2804:4410::/32": "267619", - "2406:b200::/32": "9326", - "2406:bd00:decd::/48": "55651", - "2803:6900:524::/48": "52423", - "2a0b:4ec0::/29": "205692", - "2c0f:ed70::/32": "327822", - "2001:49d0:100::/42": "18460", - "2800:370:19::/48": "28006", - "2a00:1900:c000::/34": "8881", - "2a02:2010:2000::/43": "20978", - "2a06:13c0::/29": "206141", - "2001:dcd:2::/45": "397237", - "2001:1248:846b::/45": "11172", - "2600:1806:419::/48": "16552", - "2001:559:839c::/48": "33661", - "2600:bc00::/32": "54600", - "2804:1594::/32": "263396", - "2a02:ac80:31::/41": "25145", - "2a04:4e40:8a00::/48": "54113", - "2a0e:97c0:490::/44": "211044", - "240a:60:f00e::/48": "9605", - "240a:ab27::/32": "145505", - "2804:75c8::/32": "271069", - "2804:7bb0::/32": "271448", - "2a02:26f7:cb04::/48": "36183", - "2a02:26f7:d849::/46": "20940", - "2a04:d340::/29": "60717", - "2001:df2:d800::/48": "131895", - "240e:473:8050::/39": "4134", - "2a02:8060::/31": "6752", - "2001:4d0:6319::/32": "297", - "2001:49a0::/32": "10310", - "2401:d800:fa40::/42": "7552", - "2406:3000:8:4040::/46": "4657", - "2602:fe19:6400::/48": "62623", - "2800:160:1a3f::/41": "14259", - "2804:1f08::/32": "263293", - "2a02:2ab0:109::/38": "702", - "2001:559:81e4::/48": "33651", - "2001:ee0:2f20::/35": "45899", - "240a:a110::/32": "142922", - "2600:1417:1b::/45": "20940", - "2804:6fc::/43": "28158", - "2a00:1a80::/32": "33920", - "2a02:26f7:e648::/48": "36183", - "2a0e:46c4:6000::/37": "137490", - "240e:8f:e000::/35": "134761", - "2804:551c::/32": "268690", - "2001:559:105::/48": "33652", - "240e:980:2400::/40": "134768", - "2605:ba00::/32": "14638", - "2a02:6ea0:cd77::/48": "60068", - "240e:438:9e20::/43": "140647", - "2600:1419:6c01::/35": "20940", - "2620:11a:a02d::/46": "36040", - "2001:df3:5b80::/48": "140389", - "2406:e340::/32": "137274", - "240e:438:1640::/36": "4134", - "2a02:26f7:eb89::/42": "20940", - "2402:ee80:58::/47": "132647", - "2602:fe2e:fff::/48": "49752", - "2804:20b4:8000::/33": "264509", - "2a02:26f7:ca::/48": "36183", - "2001:579:d098::/41": "22773", - "2001:13c8::/32": "11960", - "2001:4130:108::/42": "24725", - "2803:9760::/32": "265684", - "2001:628:2001::/29": "1853", - "2400:eb40:1::/48": "14821", - "2600:140b:1c00::/48": "31109", - "2804:821c::/32": "272499", - "2a01:88::/32": "15806", - "2a09:6c40::/29": "209408", - "2001:559:c0af::/48": "33491", - "2402:800:6148::/47": "7552", - "240a:a5a6::/32": "144096", - "2a0b:fbc0::/32": "209985", - "240a:a2ad::/32": "143335", - "2803:a740:3001::/32": "27810", - "2804:dd0:301::/40": "28639", - "2804:701c::/32": "270706", - "2409:8904:69b0::/35": "24547", - "2a04:2dc0:1e::/48": "39216", - "2403:4800::/35": "9443", - "2406:e300::/47": "45250", - "2a10:641::/32": "6697", - "2001:559:419::/48": "7015", - "2409:8904:d590::/34": "24547", - "2620:190::/32": "3379", - "2804:8208::/32": "272494", - "2a09:fd40::/48": "16376", - "2405:9200:5f00::/44": "131596", - "2600:1008:f010::/40": "22394", - "2403:9800:112::/32": "4648", - "2404:138:46::/47": "38299", - "2804:13ac::/32": "263545", - "2a03:7be0::/32": "201787", - "2001:bf0::/41": "12732", - "2001:43f8:5::/48": "328325", - "2001:4878:c204::/48": "12222", - "2600:381:400::/29": "7018", - "2600:1f01:4830::/47": "16509", - "2a0b:c900::/29": "206836", - "240a:a2a9::/32": "143331", - "2604:92c0::/32": "19568", - "2606:dc00::/32": "7270", - "2a09:eb40::/32": "205718", - "2409:8e15:a000::/30": "56044", - "2607:fd48:204::/39": "13536", - "2620:12e:1000::/47": "396075", - "2804:132c::/32": "263519", - "2a01:1b8:5::/48": "206804", - "2c0f:ee88::/32": "328285", - "2001:253:134::/48": "142100", - "2a00:1c80::/29": "44647", - "2a02:26f7:72::/48": "36183", - "2001:559:392::/47": "7922", - "2407:e80:4::/32": "58689", - "240e:60c:d800::/38": "137688", - "2a02:d48::/40": "34913", - "2001:468:1600::/39": "11537", - "2001:579:717c::/40": "22773", - "2408:8957:1800::/39": "17622", - "2409:8904:8040::/39": "24547", - "2600:1f11::/36": "16509", - "2804:7674::/32": "271113", - "2804:7a44::/32": "271359", - "2408:8956:f1c0::/42": "17622", - "2409:8d15:800::/39": "56044", - "2001:559:446::/48": "7015", - "2001:67c:1578::/48": "43757", - "2001:fe8:8100::/47": "24435", - "2600:1407:a001::/36": "20940", - "2600:370f:3641::/45": "32261", - "2600:9000:20ac::/43": "16509", - "2604:a880:cad::/48": "14061", - "2804:7f58::/32": "271682", - "2001:67c:20c8::/48": "42836", - "240e:473:ffff::/48": "140485", - "2804:18:1868::/45": "26599", - "2a09:bac0:109::/48": "13335", - "2600:6c38:723::/45": "20115", - "2804:134::/32": "28323", - "2804:32e0::/32": "265102", - "2a06:1e00:40::/48": "60695", - "2408:8459:9230::/41": "17622", - "2607:fcd0:fa80:4f01::/51": "8100", - "2803:c240::/35": "41095", - "2a01:8760::/32": "199758", - "2a06:1287:40::/48": "12406", - "2001:550:1404::/38": "174", - "2a02:26f7:bc88::/48": "36183", - "2001:1580::/32": "9158", - "2001:1a68:2d::/46": "15694", - "2402:800:3a01::/44": "7552", - "2403:2c80:89::/32": "9312", - "2600:6c34:13::/48": "33588", - "2408:8256:359c::/48": "17816", - "2408:8256:399d::/46": "17623", - "2a0b:4000::/29": "64488", - "2001:16d8::/41": "16150", - "2409:8904:8990::/38": "24547", - "2607:fa48:110::/40": "5769", - "2a00:a360::/32": "60435", - "2a02:cc8::/32": "60781", - "2001:559:31c::/48": "7015", - "2a09:b600:5::/48": "61323", - "2a0e:97c0:390::/44": "211437", - "2408:8459:c430::/41": "17622", - "2803:3b80:b::/45": "263702", - "2a00:1368::/32": "28933", - "2a00:d420::/29": "15600", - "2a0d:2480::/29": "328543", - "240a:a69b::/32": "144341", - "240a:ad5e::/32": "146072", - "2604:880:52::/48": "396881", - "2a0b:fe40::/29": "2116", - "2401:8800:a00::/46": "17439", - "2401:c7c0:21a::/48": "134148", - "240e:354:5c00::/34": "134419", - "2804:4458::/32": "267627", - "2804:6700::/32": "269597", - "2a05:e800:7::/48": "50881", - "2401:24c0::/32": "37897", - "2607:fdf0:5e31::/45": "8008", - "2a05:8945::/30": "8468", - "2001:559:536::/48": "33660", - "2001:559:70d::/48": "33657", - "2402:ef03:5::/44": "7633", - "2405:1500:91::/42": "58717", - "2405:8a00:ab::/34": "55824", - "2600:1008:f100::/44": "6167", - "2803:6ce0:b000::/33": "269909", - "2a07:4300:1610::/48": "209622", - "2a09:be80::/32": "44901", - "240a:a3b7::/32": "143601", - "2620:0:2e80::/48": "33631", - "2804:7fac::/32": "271702", - "2a02:970:1244::/47": "44002", - "2a0e:aa07:f097::/44": "208884", - "2001:dc7:1::/36": "24151", - "2405:c9c0::/45": "138823", - "2409:8051::/47": "56047", - "240a:a9a3::/32": "145117", - "2604:4780::/32": "6994", - "2620:96:a000::/48": "399628", - "2001:559:842b::/48": "7015", - "2404:5680::/32": "136915", - "2408:8456:ac40::/38": "17816", - "2001:4480::/32": "17554", - "2407:e700::/43": "132680", - "240a:a70e::/32": "144456", - "2606:b400:8024::/48": "1216", - "2a02:26f7:c0c0::/48": "36183", - "2a02:26f7:f70d::/42": "20940", - "2a02:2e02:a0d0::/39": "12479", - "2001:559:8072::/47": "22909", - "2001:4268::/39": "15964", - "2404:5c0::/32": "138466", - "2a02:2e02:9c10::/41": "12479", - "2804:65a0::/32": "269504", - "2001:490:2000::/35": "14803", - "2001:559:3eb::/48": "33657", - "2001:67c:30::/48": "210961", - "2001:4878:10::/48": "12222", - "240a:a2be::/32": "143352", - "240a:af58::/32": "146578", - "2602:fe6a:100::/40": "397131", - "2a0e:b107:11d0::/45": "58015", - "2a10:4180::/29": "398559", - "2001:fd8:128::/41": "4775", - "2a02:26a0::/29": "15547", - "2a04:9a00:1046::/44": "212157", - "240a:a929::/32": "144995", - "2804:3d28::/32": "7063", - "2a02:26f0:1a00::/48": "34164", - "2a0e:b107:980::/48": "213263", - "2001:559:8532::/48": "7725", - "2001:df1:8700::/48": "136735", - "2402:ee40:29::/41": "17754", - "2406:8800:9021::/46": "17465", - "2408:8456:8c00::/42": "17622", - "2804:a14:a000::/33": "262342", - "2a00:e040:c08::/48": "60436", - "2001:57a:c204::/42": "22773", - "2405:e000::/35": "37963", - "2804:1b3:6f00::/41": "10429", - "2804:1814::/32": "263263", - "2804:27c4::/33": "263921", - "2a05:d050:6080::/44": "16509", - "2a0d:a780::/29": "208994", - "2001:550:1900:2::/45": "174", - "240e:3b5:ac00::/35": "4134", - "2607:fac8::/36": "11404", - "2a00:6901:b002::/47": "20926", - "2a06:7a06::/48": "44541", - "2a09:5640:1::/48": "9186", - "2604:7a40::/32": "394710", - "2001:559:84b4::/48": "33491", - "2001:67c:2c4c::/48": "1257", - "2001:c20:48c6::/48": "9255", - "2001:4998:ef63::/48": "10310", - "2400:cb00:a1d0::/45": "13335", - "240a:a2f8::/32": "143410", - "2602:ffc5:169::/48": "211169", - "2803:f7e0:2000::/43": "271773", - "2001:df2:7c80::/48": "138530", - "2605:a404:173::/45": "33363", - "2804:5a4c::/32": "268763", - "2806:2f0:2100::/48": "17072", - "2a00:5860::/32": "197308", - "2001:559:8721::/48": "7922", - "2001:fd8:391::/41": "4775", - "2402:4b80::/32": "24367", - "2620:171:f2::/47": "715", - "2a0e:97c5:678::/46": "20473", - "2001:559:8459::/48": "7015", - "2400:9380:91c0::/44": "136167", - "2406:2000:efbd::/35": "10310", - "2409:802f:2b07::/48": "9808", - "240a:a091::/32": "142795", - "2600:6000:fcd1::/48": "11351", - "2a02:26f7:fa85::/46": "20940", - "2001:67c:18c8::/47": "30857", - "2401:d800:96f0::/39": "7552", - "2605:a404:177::/44": "33363", - "2a02:26f7:e9c9::/42": "20940", - "2607:f4e8:111::/37": "22822", - "2801:1d:8800::/48": "14080", - "2804:2f1c:8300::/34": "264872", - "2a03:2880:f01a::/45": "32934", - "2a0e:1700::/31": "204135", - "2606:ae00:1000::/48": "7287", - "2607:fcd0:fa80:4803::/55": "8100", - "2a02:26f7:f780::/48": "36183", - "2620:119:5041::/46": "13443", - "2804:2e00::/32": "265317", - "2a03:2887:ff02::/44": "9498", - "2c0f:f8e8::/32": "37282", - "2a02:f181:1000::/48": "174", - "2001:1388:8a0c::/47": "264684", - "2403:1cc0:1000::/47": "45352", - "240e:473:4600::/41": "140485", - "2606:1980:104::/48": "54994", - "2800:160:19ce::/43": "14259", - "2804:6350::/32": "269353", - "2a00:b060::/32": "197690", - "2400:7400:e022::/48": "38044", - "2409:8087:3100::/36": "9808", - "2600:c11::/32": "11853", - "2620:118:5000::/44": "4901", - "2803:10a0::/32": "266793", - "2001:16f8:15::/48": "30870", - "2a02:26f7:ca80::/48": "36183", - "2a04:4e40:5420::/44": "54113", - "2001:559:c1d2::/48": "33287", - "2001:c20:c84f::/43": "3758", - "2401:d800:bbe0::/37": "7552", - "2409:871e::/31": "24400", - "2a00:d3e0::/29": "15600", - "2a02:26f7:c88c::/48": "36183", - "2a03:5da0::/32": "201293", - "2001:67c:1933::/48": "12337", - "2001:67c:2f18::/48": "56344", - "2401:5000::/32": "24218", - "2402:d700::/32": "37906", - "2403:e800::/37": "4637", - "2400:7400:e02b::/48": "23736", - "2602:feda:afd::/48": "138210", - "2a00:ea80::/32": "34749", - "2a0d:1380::/29": "59959", - "2001:559:826a::/48": "13367", - "2607:f160:12::/48": "22394", - "2a02:970:1186::/43": "44002", - "2a02:2430:8::/42": "39869", - "2a0b:2280::/32": "32931", - "2001:559:c19b::/48": "7015", - "2001:8d8::/40": "8560", - "2804:7ec8::/32": "271647", - "2c0f:ea60::/32": "37215", - "2408:8957:fd00::/40": "17622", - "2600:100b:f110::/36": "6167", - "2620:4f:2000::/48": "40773", - "2620:13f:701c::/48": "59116", - "2804:4d0c::/32": "267409", - "2a0f:9400:770e::/48": "211248", - "2001:470:c3::/48": "395466", - "2001:13d2:5804::/34": "7303", - "2600:1406:1801::/39": "20940", - "2001:b10::/35": "8256", - "240e:44d:5880::/41": "4134", - "2604:f440:6::/48": "397373", - "2605:e000:70c::/36": "20001", - "2a02:f181:3000::/48": "47420", - "2a10:7f80::/29": "60193", - "2804:49c:c0f1::/48": "7162", - "2a04:2ac0::/29": "61081", - "2a0d:5600:11::/44": "9009", - "2a10:da80::/29": "211987", - "2406:840:e180::/44": "134478", - "240a:a774::/32": "144558", - "2a07:3404::/32": "396931", - "2a0e:b107:d71::/46": "212705", - "2a0f:88c0::/32": "397651", - "2a04:2dc0:19::/48": "39216", - "2001:559:86d6::/44": "7922", - "2402:1580::/38": "17682", - "2407:5200:204::/47": "55915", - "2602:fd92:400::/40": "132335", - "2804:67d4::/32": "269653", - "2a00:7700:8a03::/33": "31200", - "2a02:2e02:1c00::/43": "12479", - "2001:559:859c::/48": "33659", - "240a:a1c6::/32": "143104", - "2600:1488:6381::/37": "20940", - "240b:4003:3e8::/48": "45102", - "2803:c000::/32": "264628", - "2c0f:f7f8::/48": "3356", - "2001:678:20::/48": "1921", - "2001:19e8:a::/48": "2576", - "2a10:4640:ffff::/48": "212815", - "2001:67c:11d8::/48": "200144", - "2405:1c0:7951::/46": "135062", - "2405:8e40::/32": "139838", - "240a:a517::/32": "143953", - "240e:980:4a00::/40": "4811", - "2a01:5b0:2c::/47": "8561", - "2408:8656::/36": "17622", - "2001:468:cc0::/48": "3140", - "2001:67c:2ffc:2e00::/56": "15440", - "2408:8742::/32": "4837", - "2409:8014:1010::/34": "56044", - "2607:6b80:7::/48": "46562", - "2a02:2e02:1980::/38": "12479", - "2c0f:e820::/32": "328575", - "2a00:1310::/32": "25181", - "2a03:6c80::/32": "15830", - "2607:1400::/48": "13354", - "2804:14d:7e34::/44": "28573", - "2804:82c::/32": "262355", - "2804:7880:5100::/34": "271247", - "2001:1878:b10::/32": "226", - "2600:7f00::/28": "6465", - "2804:5e04::/32": "269006", - "2804:81d0::/32": "272478", - "2a0a:e200:1100::/40": "33438", - "2001:480:61::/40": "668", - "2001:559:842f::/48": "7922", - "2001:750::/29": "15589", - "2401:d800:55a0::/38": "7552", - "2405:3e00::/32": "3908", - "2604:e8c0:7::/48": "6233", - "2a03:af60::/32": "25513", - "2001:4878:b259::/48": "12222", - "2405:1207::/32": "9824", - "240a:a357::/32": "143505", - "240a:aab8::/32": "145394", - "2a0b:1300:81dc::/48": "209915", - "240a:add0::/32": "146186", - "2620:171:50::/48": "42", - "2a00:d2c0::/45": "12975", - "2a01:cde0:100::/48": "16028", - "2a02:2ad8:4110::/32": "702", - "2a03:1ae0:1::/48": "59944", - "2a0c:700::/36": "204515", - "2409:8905:7d20::/30": "24547", - "2620:186:4::/46": "396016", - "2a05:4200:2::/47": "35180", - "2001:d70::/30": "7671", - "2409:8c28:6c08::/39": "56041", - "240a:a559::/32": "144019", - "2620:52:8::/45": "22753", - "2804:aa8::/39": "52903", - "2a02:26f7:f240::/48": "36183", - "240e:438:a420::/43": "140647", - "2600:140f:c000::/48": "24309", - "2604:7ac0::/36": "12213", - "2607:fcd0:fa80:8b00::/53": "8100", - "2620:c8:4000::/48": "36210", - "2400:9380:9dc0::/44": "136167", - "2a05:7640:fb0::/44": "174", - "240a:ae4c::/32": "146310", - "2806:2f0:40a1::/41": "17072", - "2001:44b8:4059::/48": "4739", - "2405:7bc0::/48": "45538", - "2a01:c50f:fd80::/38": "12479", - "2a02:ac80:501::/38": "25145", - "2a03:9320::/32": "5505", - "2001:559:8421::/48": "33659", - "2001:559:c1bb::/48": "33287", - "2602:ff64::/36": "3900", - "2603:f590::/29": "396356", - "2001:559:c05e::/48": "7016", - "240e:3b9:2200::/37": "136198", - "2a02:26f7:f289::/42": "20940", - "2a0e:fcc0::/29": "201963", - "2801:80:2260::/48": "267630", - "2001:b28:a70d:1::/33": "42065", - "2402:800:bdb0::/41": "7552", - "2406:f680:2::/33": "132298", - "2602:fce9::/36": "62943", - "2604:2e80:1403::/36": "30036", - "2605:aec0::/32": "35932", - "2620:61::/48": "46720", - "2804:27c8::/32": "263922", - "2a02:26f7:e4c4::/48": "36183", - "2a02:2ab0:105::/44": "702", - "2a04:9a00:1200::/48": "1136", - "2001:200:700::/36": "2500", - "2001:400:6000:a::/37": "293", - "2401:3480:2000::/36": "59077", - "240a:acd9::/32": "145939", - "2600:1417:7b::/37": "20940", - "2600:6000:f0cc::/37": "12271", - "2803:b800::/32": "262202", - "2a06:e3c0::/29": "62159", - "2a07:6940::/29": "51685", - "2401:d800:9ad0::/42": "7552", - "2605:73c0:2000::/32": "10583", - "2a02:26f7:b700::/48": "36183", - "2a03:9e40::/32": "31399", - "2a0f:b480::/29": "213152", - "2001:56b:8000::/44": "852", - "2401:4900:4b30::/44": "45609", - "240a:ae81::/32": "146363", - "240e:1:f800::/37": "17799", - "2804:450c::/32": "267669", - "2a02:26f7:ce48::/48": "36183", - "2001:470:9a::/48": "17197", - "240a:a6f7::/32": "144433", - "2620:74:2b::/48": "397194", - "2a01:c50f:1140::/40": "12479", - "2001:49f0:d0b0::/44": "174", - "2409:4060:3000::/31": "55836", - "2606:2800:7021::/46": "15133", - "2a02:938::/29": "8608", - "2a05:d012::/36": "16509", - "2a06:c180::/29": "44549", - "2001:4c8:1086::/43": "15290", - "2001:678:c00::/48": "49554", - "2402:800:f990::/42": "7552", - "2600:1fa0:2040::/44": "8987", - "2803:f00:4c9::/48": "262182", - "2408:8957:e000::/40": "17622", - "2409:8050:100::/37": "9808", - "240e:967:1000::/37": "133775", - "2607:f0b0::/45": "13319", - "2806:2f0:9162::/40": "17072", - "2a05:bec0:40::/48": "44486", - "2604:4500:b00::/37": "29802", - "2604:b180:440::/44": "18444", - "2600:1480:a100::/36": "20940", - "2a0e:b107:5c8::/48": "1239", - "2001:4408:201::/35": "4758", - "2403:f2c0::/32": "64043", - "240a:a5a5::/32": "144095", - "2604:a5c0::/32": "54509", - "2804:65b4::/32": "269509", - "2a04:9140:3043::/45": "201958", - "2405:f080:e06::/44": "136907", - "240a:a231::/32": "143211", - "2604:2e00::/32": "11650", - "2804:104c:e800::/40": "263629", - "2a09:4c2:32::/47": "58057", - "240a:a658::/32": "144274", - "240e:108:1182::/48": "133776", - "2804:104c:8800::/40": "263629", - "2a01:c50f:f6c0::/39": "12479", - "2001:559:862a::/47": "7922", - "2001:43f8:3e0::/47": "37599", - "2406:3002:20::/48": "9874", - "2602:801:8001::/46": "208188", - "2804:5338::/32": "268570", - "2a04:980::/29": "15659", - "2a06:4180:1::/48": "43595", - "240a:aec7::/32": "146433", - "2620:0:610::/48": "4185", - "2a0c:d80::/29": "200000", - "2001:258::/32": "2510", - "2001:4248:11::/41": "30999", - "2408:8459:210::/41": "17622", - "2606:9400::/32": "3737", - "2a02:24e0::/32": "50957", - "2a0c:9a40:8040::/43": "213392", - "2001:df0:2ed::/48": "17932", - "2401:d800:5ac0::/42": "7552", - "2804:7f0::/30": "18881", - "2a00:cb80::/32": "35393", - "2a02:26f7:e701::/46": "20940", - "2a0a:1a80::/29": "203828", - "2001:2c0::/32": "2514", - "2001:559:c275::/48": "7922", - "2001:df3:1680::/48": "133296", - "2804:64::/32": "27693", - "2409:4071:1000::/30": "55836", - "240a:a43e::/32": "143736", - "2600:140f:5c00::/48": "9498", - "2800:320:8408::/47": "27882", - "2803:f3a0::/32": "267758", - "2a01:8840:9e::/42": "12041", - "2a0d:f80::/29": "58273", - "2401:d800:220::/41": "7552", - "240a:a784::/32": "144574", - "2600:806:301::/28": "701", - "2804:1564::/32": "52570", - "2804:35f0::/33": "266316", - "2a07:10c0::/48": "203234", - "2a0c:b641:20a::/48": "209710", - "2402:800:7ce0::/39": "7552", - "2406:a040:ff01::/48": "55688", - "2409:8c85:aa14::/48": "56044", - "2804:b6c::/32": "52777", - "2a01:8740:5::/48": "212588", - "2a0a:1580::/29": "34993", - "2404:e5:130::/38": "703", - "2001:559:8616::/48": "7015", - "2801:80:1e85::/48": "14026", - "2c0f:f3c8:11::/42": "328112", - "2408:8957:f600::/40": "17622", - "2804:5e48::/33": "269023", - "2001:559:c059::/48": "7922", - "2404:5200::/32": "4686", - "240a:a53f::/32": "143993", - "2600:140f:800::/48": "9498", - "2a02:26f7:bf4c::/48": "36183", - "2a0f:c240::/29": "21488", - "2001:67c:2148::/48": "59570", - "2408:8256:3197::/44": "17623", - "240a:a187::/32": "143041", - "2a0c:6c40:c840::/47": "20705", - "2402:800:f080::/42": "7552", - "2404:bf40:8644::/40": "139084", - "2408:840c:9100::/40": "17621", - "2804:7584::/32": "271052", - "2400:ca02:f138::/29": "23688", - "2600:c00::/32": "14744", - "2804:e4c:7000::/36": "269104", - "2a01:9700:1025::/44": "8376", - "2a0a:8a40::/32": "56859", - "2602:ff0e::/36": "32109", - "2804:4f8:a100::/38": "28263", - "2804:954:407::/38": "263073", - "2804:7310::/32": "270893", - "2001:480:a2::/44": "668", - "2001:559:c112::/48": "33657", - "2001:67c:2fc8::/48": "213156", - "2001:1a11:6a::/45": "42298", - "2409:8914:4000::/39": "56044", - "2806:230:200b::/48": "11888", - "2a03:9780::/32": "47767", - "2001:1938:2000::/48": "33438", - "2602:fe37::/36": "54987", - "2606:a600:5000::/34": "23005", - "2610:a1:1073::/48": "397228", - "2a02:2658::/34": "20860", - "2a02:26f7:ee89::/46": "20940", - "2a0e:b105:440::/46": "20473", - "2404:63c0:20::/44": "131645", - "2405:f180::/32": "136557", - "2408:80fa:9000::/36": "136959", - "2620:132:f321::/40": "394977", - "2620:135:4001::/44": "393891", - "2620:171:13::/48": "42", - "2804:ad8:828a::/33": "262494", - "2408:8256:397c::/48": "17816", - "2620:105:b0bc::/41": "2055", - "2408:8409:5400::/40": "4808", - "2620:109:a006::/44": "15294", - "2402:e280:100::/47": "134674", - "240a:a76a::/32": "144548", - "2610:128::/35": "11686", - "2801:162::/48": "13489", - "2804:74e4::/32": "271010", - "2a02:20a0::/32": "50217", - "2a0a:9700::/32": "206954", - "2001:559:8405::/48": "7725", - "2001:559:c265::/48": "33662", - "2001:559:c2bd::/46": "7015", - "2402:2f80:8::/48": "38001", - "240a:ae86::/32": "146368", - "2a06:7343:1f2c::/48": "199364", - "2a07:3440::/29": "201873", - "240a:aca0::/32": "145882", - "2600:1417:1d::/48": "24319", - "2610:20:6f96::/47": "49", - "2801:80:4b0::/48": "52798", - "2804:4e0c:6000::/32": "268236", - "2a02:26f7:e189::/42": "20940", - "2001:1820::/43": "12956", - "2607:fd90::/32": "14717", - "2804:3534::/32": "266274", - "240a:aa7f::/32": "145337", - "2620:7e:c080::/48": "33187", - "2a0e:b107:1100::/44": "211485", - "2001:dd8:10::/47": "56266", - "2600:380:e880::/41": "20057", - "2804:245c::/32": "264217", - "2a02:26f0:a201::/39": "20940", - "2400:cb00:a1b0::/48": "13335", - "2a00:14f8::/32": "21056", - "2a03:5780:197::/44": "25122", - "2001:559:82f8::/48": "33667", - "2620:154:a08::/48": "16733", - "2804:124c::/37": "263468", - "2804:1308::/32": "263511", - "2a02:26f7:f7c4::/48": "36183", - "2804:8:6::/33": "14840", - "2804:131c::/32": "263516", - "2804:2d44::/32": "265270", - "2806:230:4037::/48": "11888", - "240e:108:1280::/31": "4134", - "240e:44d:6880::/41": "4134", - "2803:a440::/32": "263776", - "2804:5528::/32": "268693", - "2806:263:8300::/37": "13999", - "2a06:1287:3309::/45": "206499", - "2a09:3b40::/29": "57773", - "2001:dce:9401::/40": "23869", - "2001:1250:e400::/44": "22894", - "2402:8100:39f0::/38": "45271", - "2600:1406:3000::/48": "35994", - "2a01:8840:36::/44": "12041", - "2a02:7940::/32": "9063", - "2001:559:81f0::/48": "33651", - "2405:1c0:6431::/45": "135062", - "2406:3000:3:2a::/63": "4657", - "2408:8456:200::/42": "17622", - "2a07:3b80::/48": "47869", - "240e:11:8800::/37": "137695", - "2600:6000:fa6a::/40": "12271", - "2607:fcd0:fa80:1301::/53": "8100", - "2001:8b0:2::/35": "20712", - "240a:a104::/32": "142910", - "2604:f400:1000::/37": "19453", - "2804:2e8:80c0::/33": "262847", - "2804:4900::/34": "267158", - "2a0d:77c7:e908::/35": "7489", - "2a0d:9ec0::/48": "395092", - "2001:418:3ff::/36": "2914", - "2404:7240:2009::/33": "59074", - "2606:6800:1c00::/40": "394902", - "2804:3fd4:3000::/33": "265918", - "2804:5f64::/32": "269096", - "2a00:5c20::/32": "199298", - "2a00:adc0:1a00::/40": "13030", - "2800:160:1be3::/43": "14259", - "2001:559:476::/48": "33652", - "2400:a040:b::/32": "136237", - "2405:1c0:6565::/43": "55303", - "240a:a62b::/32": "144229", - "2a02:26f7:e485::/46": "20940", - "2a04:2400::/27": "12302", - "2a0b:2c0:deae::/29": "205831", - "240a:a4cd::/32": "143879", - "2600:1406:7801::/38": "20940", - "2620:126:7001::/48": "53800", - "2804:14d:7e2d::/43": "28573", - "2a02:26f0:6e01::/35": "20940", - "2a0a:e240::/31": "205893", - "2804:8228::/32": "272502", - "2001:200:e103::/35": "7660", - "2001:559:c05b::/48": "33657", - "2001:4998:44::/46": "36646", - "2400:8b00:2180::/42": "45727", - "240e:357:6400::/26": "4134", - "2605:a404:37::/44": "33363", - "2804:14d:1885::/44": "28573", - "2405:58c0:38::/47": "133101", - "240a:a502::/32": "143932", - "2c0f:ef68:4::/32": "37662", - "2400:cb00:340::/45": "13335", - "2402:800:bc60::/39": "7552", - "2405:7000:2d00::/32": "9354", - "240a:a319::/32": "143443", - "2610:a1:3018::/48": "12008", - "2803:5c80:6593::/48": "64114", - "2804:1be8::/32": "61756", - "2600:6:ff80::/44": "10507", - "2800:ba0:8::/48": "263812", - "2600:100f:9100::/44": "6167", - "2804:78e8::/32": "271273", - "2a05:1700::/48": "56577", - "2001:400:210:105::/47": "293", - "2604:2f40::/38": "29749", - "2607:f480:24::/48": "27435", - "2620:f0:c006::/47": "14148", - "2804:5024::/32": "262826", - "2a04:79c0::/29": "59507", - "2001:470:8a::/48": "16871", - "2401:d800:b3f0::/37": "7552", - "240a:a963::/32": "145053", - "240e:44d:5900::/41": "140345", - "2804:3d34::/32": "266260", - "2a02:26f7:cb08::/48": "36183", - "2a02:d107:f002::/45": "197155", - "2001:7f8:26::/64": "6461", - "2001:12f0:301::/42": "1916", - "2401:4900:30b0::/41": "45609", - "2804:6a44::/32": "270323", - "2a02:2998::/32": "13009", - "2a10:cc40:100::/43": "211659", - "2c0f:ecd0::/32": "328433", - "2001:468:2810:1::/48": "396961", - "2001:559:263::/48": "33657", - "2408:8456:b240::/37": "17816", - "240e:5e:2100::/48": "134774", - "2804:5370::/32": "268584", - "2a0e:bb00::/29": "680", - "2600:140f:f001::/38": "20940", - "2804:8d0::/32": "28269", - "2804:99c::/32": "262519", - "2a02:26f7:cc04::/48": "36183", - "2a02:c390::/29": "31304", - "2001:44b8:205a::/48": "7545", - "240a:ab03::/32": "145469", - "2804:6c30::/32": "270451", - "2804:7694::/32": "271121", - "2001:559:8718::/48": "33652", - "2600:d00::/31": "20161", - "2600:140f:dc01::/34": "20940", - "2604:8800::/32": "23028", - "2a02:e400::/29": "199318", - "2a00:bec7:f800::/40": "12946", - "2001:1878::/37": "226", - "2001:44c8:128::/47": "131445", - "2401:d800:d510::/42": "7552", - "2405:4700::/32": "132426", - "2604:30c0::/32": "395880", - "2804:4fdc::/32": "268354", - "2a00:6d40::/30": "31034", - "2402:800:b530::/41": "7552", - "2403:5c80::/48": "56019", - "2600:140f:600::/48": "55836", - "2605:f340::/32": "399007", - "2804:37e8:fd00::/38": "262671", - "2001:559:4a::/48": "7922", - "2602:fe59:10::/48": "46432", - "2804:3db0::/32": "266547", - "2404:4a00:8000:1::/37": "45629", - "240a:a94a::/32": "145028", - "2804:151:63::/30": "10954", - "2a02:23e8::/32": "51514", - "2001:ac8:63::/44": "9009", - "2402:800:9c55::/42": "7552", - "2402:3e40::/32": "137259", - "2406:2000:ef67::/48": "10229", - "2804:24a8::/32": "264236", - "2001:559:c308::/48": "33287", - "2001:48f8::/32": "11232", - "2604:980:e002::/48": "21859", - "2804:1f4c:8900::/33": "269175", - "2804:90c:f800::/38": "262617", - "2001:480:35::/48": "668", - "2001:67c:1c00::/40": "48144", - "2401:3c0:107::/44": "45528", - "2407:a200::/32": "56123", - "2409:8030::/36": "9808", - "2606:2e00:8024::/46": "36351", - "2800:160:28b5::/41": "14259", - "2806:2f0:33c1::/42": "17072", - "2001:470:9b::/48": "6939", - "2602:fe6b:1013::/36": "398646", - "2804:3838::/46": "53170", - "2001:b000:59d::/27": "3462", - "2405:1c0:6317::/42": "55303", - "2408:8956:7f00::/40": "17816", - "2a00:12e0::/32": "6798", - "2a02:26f7:2b::/48": "20940", - "2a05:e880::/29": "50304", - "2a0e:b107:260::/44": "208627", - "2804:54a0::/35": "27688", - "2001:559:c1e4::/48": "22909", - "2001:678:a7c::/48": "200924", - "2001:dc7:5dcd::/42": "24151", - "2400:8480:1100::/48": "133385", - "2401:da80::/32": "63927", - "2605:5c0:c010::/44": "26517", - "2804:9f0::/32": "263003", - "2806:2fb::/32": "265547", - "2a09:4c2:2c::/48": "205977", - "2a0d:5600:10::/48": "50347", - "240a:a046::/32": "142720", - "2620:10a:8023::/48": "27299", - "2a02:120:3::/29": "29396", - "2a0c:b641:1b0::/44": "211317", - "2a0f:5707:ab2f::/48": "61138", - "2404:8280::/32": "38719", - "2a02:ee80:4204::/44": "3573", - "2a0d:b4c0::/29": "210101", - "2a0f:5707:ffa5::/46": "131668", - "2602:fe3a:2::/48": "20119", - "2801:80:3e70::/47": "271541", - "2001:44b8:2a::/43": "7545", - "2408:84f3:3640::/44": "17623", - "2408:8957:7f00::/40": "17816", - "2804:70ac::/32": "270741", - "2a02:26f7:d841::/46": "20940", - "2404:138:4002::/48": "681", - "2404:6980:44::/48": "134408", - "2804:130c::/39": "263512", - "2804:41cc::/32": "267457", - "240e:438:b360::/25": "4134", - "2600:1488:6083::/41": "20940", - "2620:54:a000::/48": "396024", - "2620:135:a000::/40": "394889", - "2803:5b80::/32": "263699", - "2804:32c0::/32": "265097", - "2a03:a860:a03::/45": "58431", - "2001:559:c3df::/48": "7922", - "2404:580::/32": "56268", - "2803:efa0::/32": "267792", - "2804:3acc::/32": "266110", - "2a01:6e0::/32": "12976", - "2a02:26f7:f785::/46": "20940", - "2001:559:c35e::/48": "33659", - "240a:ae33::/32": "146285", - "2803:8c40::/32": "263789", - "2804:e68::/32": "262953", - "2804:13d0:9940::/40": "263297", - "2a02:26f0:9e01::/39": "20940", - "240a:a08c::/32": "142790", - "2804:1298::/32": "263486", - "2a0b:f6c0::/48": "203339", - "2a11:dc0::/29": "211199", - "2c0f:4600::/32": "328839", - "2605:1880::/32": "19257", - "2a0c:6900::/32": "44477", - "2001:9a8::/32": "15703", - "2402:8100:3940::/40": "45271", - "2600:1009:f100::/44": "6167", - "2620:100:a001::/46": "19750", - "2801:18c::/44": "19429", - "2a02:26f7:f980::/48": "36183", - "2001:df2:ee01::/48": "45192", - "2001:1998:890::/44": "8052", - "2001:4878:2153::/48": "12222", - "2405:1c0:7184::/43": "55303", - "2600:1012::/32": "22394", - "2610:f0:389::/37": "22925", - "2804:46c0::/32": "267009", - "2400:c0::/27": "4766", - "2400:8b00:d80::/42": "45727", - "2602:feb4:50::/44": "25961", - "2804:7a28:3000::/40": "271351", - "2400:8b00:600::/42": "45727", - "2408:8459:fe20::/39": "17816", - "2605:7c0:f100::/47": "19382", - "2607:f8f0:c00::/40": "16462", - "2a02:26f7:9::/48": "20940", - "2604:ffc0::/47": "36232", - "2804:197c::/32": "61797", - "2001:16a2:7200::/39": "39386", - "2a02:a28::/32": "210958", - "2a03:120::/32": "201718", - "2408:80f1:220::/44": "138421", - "2409:8915:2b00::/37": "56044", - "2602:801:1008::/47": "11281", - "2607:fdc8:2::/44": "30036", - "2a03:7500::/29": "20810", - "2a03:93e0::/35": "203228", - "2001:559:84::/48": "7016", - "2400:6a80::/32": "55821", - "2804:6864:ff00::/40": "269689", - "2a0c:b641:7af::/48": "207268", - "2405:ec00:facf::/37": "23955", - "2408:8256:2e86::/48": "17816", - "2804:13dc:ff30::/40": "262428", - "2a02:4e80::/32": "204645", - "2a0a:af40::/32": "208075", - "2a10:6100::/29": "398559", - "2001:559:795::/48": "33287", - "2402:1100::/32": "132035", - "2402:f280::/32": "4851", - "240a:a6ac::/32": "144358", - "240a:acaf::/32": "145897", - "2620:107:9029::/48": "7018", - "2620:118:8032::/48": "40885", - "2804:6808::/32": "269666", - "2001:ee0:8940::/38": "45899", - "2404:4a00:8500:1::/36": "45629", - "2408:8956:7840::/40": "17622", - "2600:1016:f110::/31": "6167", - "2604:b180:10::/44": "32779", - "2607:f8f0:400::/40": "271", - "2620:171:2d::/46": "715", - "2a0d:8e40::/29": "40970", - "2001:1248:9a2e::/43": "11172", - "2409:8087:3001::/44": "9808", - "2607:f1e8::/32": "31939", - "2001:559:8651::/48": "33489", - "2001:559:8757::/44": "7015", - "2001:df6:7f80::/48": "134021", - "2409:8028:1900::/37": "9808", - "2a02:26f7:c30c::/48": "36183", - "2a02:26f7:f0c1::/46": "20940", - "2401:d100::/44": "18705", - "2803:2360::/32": "269782", - "2806:288:4010::/48": "28469", - "2a01:5100::/32": "50032", - "2001:1388:3686::/36": "6147", - "2804:4518::/32": "267672", - "2a01:2e0::/28": "8374", - "2a03:3460::/32": "39791", - "2a02:26f7:dc85::/46": "20940", - "2a02:2888::/32": "8265", - "2a06:98c0:3600::/45": "132892", - "2408:8256:316b::/48": "17623", - "2620:105:4003::/48": "26001", - "2a03:2880:f072::/40": "32934", - "2405:1c0:6741::/46": "135062", - "240a:a4d5::/32": "143887", - "2804:204:23c::/46": "28186", - "2806:230:500f::/48": "11888", - "2a00:a6a0:1::/48": "60587", - "2001:559:50::/47": "7922", - "2405:7f00:9900::/38": "133414", - "2605:a401:8a3e::/39": "33363", - "2804:1e94::/32": "264437", - "2a02:2750::/32": "8245", - "2a0a:c540::/29": "205940", - "2001:678:18c::/48": "202928", - "2001:4d48::/29": "8468", - "2400:cb00:415::/46": "13335", - "2604:b180:20::/44": "32776", - "2a0f:d80::/32": "43364", - "2001:579:c214::/41": "22773", - "240a:a5c8::/32": "144130", - "2604:c240::/32": "22952", - "2607:f598::/32": "32329", - "2001:5e0:1e::/47": "16713", - "2604:d600:1531::/46": "32098", - "2a00:1c38::/47": "29014", - "2001:400:b21::/44": "293", - "2406:3c80:5::/48": "17747", - "2800:160:131d::/42": "14259", - "2804:1850::/32": "61929", - "2a0c:9a44::/48": "34927", - "2400:ea00::/48": "23884", - "240a:a14b::/32": "142981", - "2600:802:f05::/35": "701", - "2803:6fa0:fe::/48": "267790", - "2804:880::/32": "28270", - "2804:1cc0::/32": "61673", - "2600:1488:6161::/40": "20940", - "2804:48d0::/32": "267146", - "2804:532c:13c::/32": "268568", - "2a00:11c0:3b::/48": "42473", - "2a01:37:4000::/35": "8875", - "2600:5c01:1ffe::/48": "11351", - "2a02:26f7:db81::/46": "20940", - "2a0d:b880::/29": "39392", - "2403:6f80::/32": "134795", - "2408:8456:a00::/42": "17622", - "2602:fed2:712e::/48": "206607", - "240a:a1ba::/32": "143092", - "240a:a3c4::/32": "143614", - "2600:6c38:25e::/39": "20115", - "2606:3380:eee0::/48": "53334", - "2804:4048::/32": "265949", - "2804:6120::/32": "269214", - "2001:410:a011::/44": "8111", - "2408:8210::/29": "4837", - "240e:3b3:c000::/37": "140315", - "2800:5f0:6::/39": "22724", - "2a0a:54c1:31::/41": "62240", - "2a10:2f00:13a::/48": "213069", - "2401:2700:a::/48": "9286", - "2402:800:7580::/42": "7552", - "240a:aa75::/32": "145327", - "2607:f6f0:4000::/48": "29884", - "2620:107:9098::/46": "22787", - "2a05:8280::/32": "202448", - "2a06:6540:2002::/48": "3356", - "2409:8028:8f1::/46": "56041", - "240a:a3f2::/32": "143660", - "240a:aba0::/32": "145626", - "2a00:1851:bf04::/40": "29357", - "2a01:8fa::/32": "12302", - "2804:6ba8::/32": "270415", - "2400:9380:9009::/46": "4809", - "2804:2ab8::/32": "53180", - "2403:300:a52::/35": "714", - "2406:8800:903b::/41": "17465", - "2804:3bc8::/32": "266170", - "2001:559:c083::/48": "33657", - "2001:1248:563d::/46": "11172", - "240e:108:1132::/47": "138991", - "2600:1402:401::/36": "20940", - "2600:6c38:aaa::/43": "20115", - "2a02:26f0:6101::/40": "20940", - "240a:a3bf::/32": "143609", - "2001:559:8740::/48": "33657", - "2001:2001:4000::/36": "3301", - "2a02:2e02:9680::/43": "12479", - "2a07:3502:1090::/48": "38915", - "2a0f:35c0::/29": "60262", - "2001:559:848e::/48": "7922", - "2401:4900:32e0::/39": "45609", - "2804:d34::/32": "52611", - "2804:5174::/32": "268453", - "2a00:1708::/32": "49544", - "2a06:c004::/32": "206766", - "2a0c:b641:5b2::/45": "213015", - "2001:fd8:b1c0::/42": "132199", - "2403:cfc0:1009::/46": "135134", - "240a:a7b5::/32": "144623", - "2804:e94:60::/46": "262468", - "2804:5e48:ff20::/46": "269023", - "2405:ba00:8010::/48": "38538", - "2603:c0e8:2000::/39": "1218", - "2804:2090::/32": "264498", - "2a01:5b40::/45": "12996", - "2402:5d40::/32": "137079", - "2409:8904:cf70::/40": "24547", - "240a:abd9::/32": "145683", - "2a02:f040:a::/48": "59605", - "2001:678:a74::/48": "197838", - "2804:3cdc::/32": "266239", - "2a04:5c80::/32": "201365", - "2409:8c85:aa75::/25": "9808", - "2001:559:7c4::/48": "7015", - "2404:d540:2::/32": "2501", - "2600:140b:2801::/38": "20940", - "2804:225c::/36": "264093", - "2804:4b90::/32": "267315", - "2600:100e:9010::/39": "6167", - "2600:1480:3::/37": "20940", - "2806:230:403f::/48": "11888", - "2a0e:97c5:7dc::/46": "20473", - "2001:502:1ca1::/48": "396574", - "2001:559:543::/48": "21508", - "2406:ab40::/28": "63784", - "2600:140f:2200::/48": "9829", - "2a02:eb8::/29": "51132", - "2400:dd0a:1006::/31": "7497", - "2403:1cc0:2000::/48": "45352", - "240e:44d:2000::/41": "140345", - "2804:5920::/32": "268170", - "2a02:26f7:bbc8::/48": "36183", - "2a06:7c00::/29": "50307", - "2001:67c:674::/48": "3246", - "2408:8957:e300::/40": "17816", - "2600:1000:bf0e::/33": "22394", - "2604:cc00:c::/47": "53292", - "2001:559:c057::/48": "7922", - "2606:1980:100::/48": "54994", - "2607:f3a0::/43": "23342", - "2a0f:9400:770a::/48": "211481", - "2001:13d0::/35": "7303", - "2408:840d:d00::/42": "17621", - "2804:f1c::/32": "262463", - "2804:2b48::/32": "262619", - "2a01:6800::/32": "41809", - "2a0e:b107:1460::/44": "211481", - "2001:16a2:16::/42": "39386", - "240a:a614::/32": "144206", - "2604:9980::/48": "17216", - "2620:13c:5000::/48": "14856", - "2a0e:5b80::/29": "42487", - "240a:ae76::/32": "146352", - "2620:192:3::/36": "6461", - "2a10:3a80::/29": "47285", - "2001:559:c300::/48": "33659", - "2401:7840::/32": "136795", - "2403:f680:77::/48": "58898", - "2603:c0e1::/36": "54253", - "2804:3748::/32": "266401", - "2a06:5b00::/29": "41937", - "2a0f:1140::/32": "34959", - "240a:a79e::/32": "144600", - "240a:aab4::/32": "145390", - "2600:1400:6::/44": "20940", - "2600:9000:2258::/47": "16509", - "2800:440:34::/47": "27738", - "2a02:4a8::/32": "25234", - "2001:559:c2c4::/48": "7922", - "2001:fd8:f270::/36": "4775", - "240a:ae22::/32": "146268", - "2604:84c0::/32": "7979", - "2804:1b0:1a82::/47": "10429", - "2806:101e:3::/45": "8151", - "2a02:26f7:c6c8::/48": "36183", - "2001:559:8307::/44": "7922", - "2001:1388:14c4::/36": "6147", - "2001:1aeb::/29": "13036", - "240a:a0ff::/32": "142905", - "2001:559:c20d::/48": "33651", - "2001:57a:f303::/31": "22773", - "2001:df6:a380::/48": "141966", - "2600:1007:b100::/42": "6167", - "2804:145c:c510::/38": "263327", - "2a04:5b80:53::/48": "202265", - "2001:559:58c::/48": "33660", - "2402:8100:399f::/48": "55644", - "2600:1415:2001::/37": "20940", - "2804:608::/32": "262561", - "2804:6170::/38": "269234", - "2001:559:3c7::/48": "33287", - "2409:8080:2a70::/40": "9808", - "2409:8c28:2809::/39": "56041", - "2803:d100:8000::/35": "52362", - "2804:14c:5d83::/41": "28573", - "240a:a5f4::/32": "144174", - "2a0a:1f42::/32": "64236", - "2001:559:45f::/48": "7015", - "2605:c500::/32": "19515", - "2606:ab00:c::/48": "53876", - "2400:3dc0:101::/38": "134371", - "2607:f6f0:9001::/48": "394749", - "2620:1ec:8::/47": "8075", - "2a02:26f7:e7c1::/46": "20940", - "2602:fcb4::/36": "399419", - "2606:2e00:8007::/48": "32780", - "2801:80:a50::/48": "28148", - "2a00:60a0::/32": "42339", - "2a02:26f7:dc::/48": "36183", - "2a07:1840::/32": "48430", - "2001:1248:98e1::/48": "11172", - "2806:2f0:1080::/48": "22884", - "2409:806a:2c00::/35": "9808", - "240e:44d:6c80::/41": "4134", - "2804:d98::/32": "52642", - "2a02:f59::/32": "49409", - "2a09:be40:3662::/48": "41108", - "2801:1aa::/44": "19429", - "2804:499c::/32": "267193", - "2a02:2e02:9180::/38": "12479", - "2602:802::/40": "397843", - "2804:1878:196::/32": "61935", - "2607:f738:700::/41": "17184", - "2804:36e8::/32": "52924", - "2a06:45c1::/32": "200416", - "2a0f:4a00::/29": "29066", - "2804:7d84::/32": "271566", - "2a00:4800:330::/41": "13124", - "2a0e:b107:1d6::/48": "139328", - "2c0f:ea30::/32": "5713", - "2a02:26f7:ded1::/42": "20940", - "2600:6000:feb3::/48": "11351", - "2800:160:1169::/46": "14259", - "2a02:348:c9::/35": "35470", - "240a:a743::/32": "144509", - "2600:5400:e001::/39": "19108", - "2402:800:9bfe::/37": "7552", - "240e:3ba:c000::/37": "140315", - "2600:380:a880::/38": "7018", - "2804:3ff4::/32": "265924", - "2402:a0c0:3::/45": "137922", - "2403:8c0::/32": "137406", - "2408:8456:3050::/39": "17816", - "2409:804e:2100::/35": "9808", - "2408:8256:339f::/37": "17816", - "2806:2f0:9081::/42": "17072", - "2a06:e881:1700::/48": "206813", - "2a00:4800:4b0::/30": "13124", - "2001:550:7601:1::/39": "174", - "2001:16a2:3616::/39": "39386", - "2402:ff00::/32": "45637", - "2408:8957:1400::/40": "17622", - "2604:e00::/32": "13370", - "2804:307c::/32": "264954", - "2804:4bb4:2000::/32": "267325", - "2a01:699::/32": "25084", - "2c0f:f888:500::/40": "37119", - "2001:678:538::/48": "197942", - "2407:34c0::/48": "140788", - "2801:94::/32": "52958", - "2a02:1c0::/29": "29084", - "2a05:4ac0::/32": "201453", - "2408:8957:1100::/38": "17816", - "2804:348:8000::/33": "28133", - "2804:6820::/32": "269670", - "2a04:5201:8018::/48": "200740", - "2a0f:3ac0::/29": "47362", - "2001:678:758::/48": "202144", - "2401:9440::/32": "56264", - "240a:14:e90::/44": "9605", - "2a05:edc0::/29": "58314", - "2408:8459:7630::/41": "17622", - "2600:1004:b1d0::/42": "6167", - "2606:b400:881c::/48": "7160", - "2806:230:6019::/48": "11888", - "2001:df7:480c::/48": "131893", - "2804:42e8::/32": "267536", - "2804:7e90::/37": "271632", - "2a02:26f7:e5c8::/48": "36183", - "2a02:6b80::/32": "197973", - "2409:8c71::/29": "9808", - "2804:14c:bd00::/40": "28573", - "2804:ad4::/32": "52925", - "2a02:26f7:ea85::/46": "20940", - "2409:8c14:e00::/35": "9808", - "2a02:348:1002::/32": "35470", - "2001:388:cf86::/34": "7575", - "2001:3c8:a703::/33": "4621", - "2401:ff80:1303::/45": "133954", - "2600:6c00:2::/47": "33588", - "2804:1290::/32": "263484", - "2a00:6fa0:3200::/33": "49206", - "2001:559:80f9::/48": "33660", - "2001:678:6ac::/48": "48063", - "2001:4478:1312::/48": "4739", - "2409:805c:3061::/43": "9808", - "240a:a6c9::/32": "144387", - "240a:aef9::/32": "146483", - "2606:2800:504c::/48": "15133", - "2804:14d:1000::/42": "28573", - "2a02:45c0:6::/48": "8881", - "2001:1248:a4bf::/41": "11172", - "2a0b:3c40:fca6::/48": "208258", - "2001:559:873a::/47": "7922", - "2408:8956:3000::/40": "17622", - "2409:8914:4400::/39": "56044", - "2600:1005:9010::/39": "22394", - "2600:140f:200::/48": "9498", - "2605:9180:e000::/35": "53597", - "2001:559:115::/48": "7922", - "2001:dc7:9e00::/33": "24151", - "2402:cf80:100a::/47": "136468", - "2a07:b780::/29": "50601", - "240e:3b1:6400::/35": "140312", - "240e:3bf:c000::/37": "140315", - "2607:d500:602::/48": "54527", - "2800:200:2009::/32": "12252", - "2a02:26f7:bdc4::/48": "36183", - "2408:8256:3b60::/44": "17623", - "240a:a668::/32": "144290", - "240e:44d:380::/41": "4134", - "2800:bf0:8289::/42": "27947", - "2001:730::/29": "6830", - "2409:8904:d270::/40": "24547", - "2600:100f:9010::/40": "22394", - "2804:477c::/32": "267057", - "2001:67c:10e0::/48": "201612", - "2001:ce0:2900::/48": "7650", - "240a:ad51::/32": "146059", - "2804:48cc::/32": "267145", - "2804:7b50::/32": "271424", - "2806:266:501::/48": "27672", - "2a02:26f7:d0c9::/42": "20940", - "2a02:c880::/48": "24642", - "2a11:d100::/29": "202505", - "2001:1250:e100::/44": "22894", - "2402:800:3871::/44": "7552", - "2405:9800:9814::/38": "45430", - "2600:1012:b1c0::/44": "22394", - "2a07:9280::/29": "202759", - "2001:678:bbc::/48": "207671", - "2001:df0:bc::/48": "45731", - "2001:1248:c233::/48": "11172", - "2600:1008:b0d0::/42": "6167", - "2607:f4d0:a00::/32": "17054", - "2a02:ad8:5600::/36": "12389", - "2804:7700::/32": "271148", - "2001:1900:23af::/41": "3356", - "2409:8c30:1310::/29": "9808", - "2605:2180::/36": "12422", - "2620:0:840::/48": "13998", - "2800:bf0:80c6::/48": "52257", - "2801:a6::/32": "52853", - "2804:102c::/32": "263623", - "2406:8800:9011::/46": "17465", - "240e:438:4840::/38": "4134", - "2a0a:4e83:f24::/48": "206074", - "240a:adcc::/32": "146182", - "2804:40:4000::/36": "28657", - "2804:5884::/32": "268134", - "2a02:26f7:dbcd::/42": "20940", - "2a09:7c41::/32": "52000", - "2001:3c8:9007::/48": "9464", - "240e:473:2350::/40": "4134", - "2a01:a800::/29": "16086", - "2a0f:91c0::/47": "207843", - "2408:8957:c800::/39": "17622", - "2a02:26e0::/32": "35401", - "2407:f800:201::/39": "38182", - "2409:807e:2100::/36": "9808", - "2607:fcc0::/33": "36483", - "2a0b:8f80:200::/48": "200746", - "2001:559:3de::/48": "7922", - "2404:e000::/32": "17673", - "2408:8256:3b9b::/48": "17816", - "2620:128:e00c::/48": "22317", - "2804:3324::/32": "265377", - "2a02:26f7:da85::/46": "20940", - "2a02:2e02:8b60::/43": "12479", - "2801:11c:e1::/48": "14080", - "2a00:4d60::/32": "12969", - "2607:6100:100b::/48": "398951", - "2001:559:56c::/48": "22909", - "2001:678:fb4::/48": "50873", - "2001:13d2:816::/34": "7303", - "2001:1978:801::/48": "21775", - "2401:d800:bac0::/42": "7552", - "2406:840:e114::/48": "141712", - "2408:8956:1500::/40": "17816", - "2804:5bb8:c4::/32": "268865", - "2a00:8860:d00::/40": "208136", - "2a02:2068:a000::/29": "15830", - "2a03:32c0:a::/48": "29555", - "2a0e:b107:1420::/43": "211481", - "2405:e680::/32": "131292", - "240a:af9b::/32": "146645", - "2600:370f:40a0::/46": "32261", - "2a02:26f7:cb10::/48": "36183", - "2a0a:3380::/29": "16353", - "2a0e:b103:d91::/48": "20473", - "2804:43c4::/32": "53095", - "2a02:26f7:27::/48": "20940", - "2a04:71c0::/32": "200086", - "2001:559:94::/48": "7015", - "2409:8020:b1::/41": "56046", - "2607:fcd0:fa80:4800::/62": "8100", - "2620:107:a000::/40": "20", - "2404:bf40:a583::/45": "7545", - "2405:7040:6001::/48": "17621", - "240a:a077::/32": "142769", - "2606:3800::/32": "3912", - "2a09:0:10::/48": "34854", - "2a0c:9a40:8081::/48": "41108", - "2001:678:ba4::/48": "207824", - "240a:a820::/32": "144730", - "240a:ae54::/32": "146318", - "2604:d600:67b::/40": "32098", - "2804:6b5c::/32": "270395", - "2001:67c:504::/48": "61337", - "2001:df0:6980::/48": "135973", - "2804:e94:32::/41": "262468", - "2804:5d28::/32": "268954", - "2a02:16d8::/39": "5518", - "2001:4c0:8003::/33": "855", - "2001:559:b0::/47": "33491", - "2001:dce:7800::/48": "38064", - "2605:5c0:c085::/44": "28885", - "240a:a2d4::/32": "143374", - "2607:f600::/32": "12", - "2801:80:d0::/48": "28301", - "2804:1408:6001::/35": "28635", - "2a04:c740::/29": "202131", - "2803:3b80:11::/46": "263702", - "2a02:26f0:cc01::/40": "20940", - "2a02:f080::/30": "15800", - "2402:800:5755::/42": "7552", - "2620:4d:e000::/48": "13367", - "2620:149:af1::/37": "714", - "2409:8c2f:3800::/48": "9808", - "2803:a740::/45": "27810", - "2a11:e700::/29": "60935", - "2606:2e00:8020::/48": "36351", - "2804:59a8:2000::/32": "268717", - "2806:2f0:9061::/40": "17072", - "2a0c:b641:6c6::/47": "213236", - "2a0e:c580::/29": "208762", - "2402:9900:911::/48": "27435", - "2804:24d8:c058::/34": "264244", - "2804:7828::/32": "271224", - "2a0b:4d07:a01::/48": "44239", - "2001:500:66::/48": "33082", - "240e:5a:4240::/40": "140293", - "2602:fed2:7700::/48": "38179", - "2804:3f0c:ed00::/40": "266636", - "2a00:9d20:1::/48": "60626", - "2a02:26f0:8801::/39": "20940", - "2001:559:25f::/48": "22258", - "2403:f680:88::/48": "58898", - "2409:8e14:9000::/31": "56044", - "2804:a14::/34": "262342", - "2804:1830::/32": "61922", - "2a01:8840:e9::/48": "207266", - "2400:1a00:b112::/40": "17501", - "2408:8957:6800::/40": "17622", - "240e:1:a000::/37": "137688", - "2607:f7a8:42b::/45": "46887", - "2409:8a51:900::/38": "56047", - "2620:10a:8053::/48": "394354", - "2804:82c4::/32": "272539", - "2408:8344:1200::/32": "4837", - "2804:73f0::/32": "270947", - "2a0e:b107:50::/44": "212267", - "2605:5d00::/32": "27288", - "2620:da::/48": "23177", - "2a01:758:8308::/33": "3326", - "2a03:c040::/48": "199484", - "2a06:eb00::/46": "203462", - "240e:a65:2600::/30": "4134", - "2804:3764::/32": "266409", - "2806:250:1c::/46": "28509", - "2806:2f0:72e1::/39": "17072", - "2a02:2190::/29": "44134", - "240a:af92::/32": "146636", - "2804:57c:c00::/32": "262517", - "2001:67c:2044::/48": "51290", - "2001:67c:2e5c::/48": "39299", - "240e:473:3750::/40": "4134", - "2804:45ec::/32": "266955", - "2a0c:1940::/43": "60354", - "2606:fd80::/32": "2552", - "2804:ac::/32": "18547", - "2a04:dc1::/48": "199386", - "2001:559:c012::/48": "33657", - "2408:84f3:9a40::/37": "17816", - "2600:6000::/32": "12271", - "2607:f110:e520::/36": "21889", - "2804:5d10:c000::/34": "268948", - "2400:8300::/32": "10002", - "2404:c0::/35": "23693", - "2600:1406:2c00::/48": "35994", - "2606:7100::/35": "21581", - "2600:6c38:44e::/43": "20115", - "2001:559:456::/48": "33489", - "2001:559:83e7::/48": "33659", - "2405:1c0:6117::/42": "55303", - "2a0c:780::/29": "200000", - "2a0c:e040:132::/35": "200629", - "2a10:27c1::/32": "57043", - "240e:473:5e00::/41": "140485", - "2607:b600:4::/46": "10397", - "2001:1248:a400::/47": "11172", - "2409:8069:2908::/38": "9808", - "2607:fc50:2002::/33": "36236", - "2a00:19a0::/32": "34222", - "2a0b:fd80::/48": "49419", - "2a02:50e0::/32": "198203", - "2c0f:fa88::/32": "328191", - "2001:1250:e200::/44": "22894", - "240a:a86c::/32": "144806", - "2a07:8085::/32": "62296", - "2a07:9e40::/29": "1902", - "2a0d:8900::/29": "40970", - "2001:df0:6480::/48": "63752", - "2406:daa0:20c0::/44": "16509", - "2605:1640:12:10::/58": "19681", - "2804:d80::/32": "52635", - "2a03:9c40:800::/48": "34655", - "2404:2400::/39": "56132", - "2804:7c64::/32": "271493", - "2a02:348:7a::/40": "35470", - "2001:67c:2a10::/48": "200924", - "2408:8459:e450::/38": "17816", - "240e:97c::/36": "58466", - "2804:3d4:40::/32": "262401", - "2a05:3740::/29": "8774", - "2001:44b8:308d::/46": "4739", - "2403:40c0:4::/48": "45215", - "2804:14c:d491::/41": "28573", - "2408:8956:2f00::/40": "17816", - "2a0e:bc00::/29": "206316", - "2001:4878:a225::/48": "12222", - "2402:800:9963::/43": "7552", - "2620:111:1036::/48": "18469", - "2803:95e0::/32": "270036", - "2804:39e8::/34": "266058", - "2a02:26f7:f245::/46": "20940", - "2a04:4e40:8210::/44": "54113", - "2402:8100:21d8::/45": "55644", - "2409:8715:3c00::/32": "56044", - "2620:a3:400a::/48": "22773", - "2408:8001:3010::/44": "17622", - "240a:2:dcc::/48": "9605", - "2800:160:18e0::/44": "14259", - "2806:3d5::/32": "270133", - "2a00:1d34:8180::/33": "9121", - "2a02:ee00::/29": "61297", - "2001:559:84b1::/48": "13367", - "240a:a849::/32": "144771", - "2804:a8c::/32": "262299", - "2804:4760::/32": "267050", - "2a01:8200::/32": "31216", - "2400:9380:9ec0::/44": "136167", - "2405:1c0:6783::/36": "55303", - "2408:8459:7e50::/32": "17816", - "2606:5580:8000::/38": "63242", - "2804:6c50::/32": "270459", - "2a0e:b105:500::/46": "20473", - "240a:a2b8::/32": "143346", - "2607:f748::/32": "32613", - "2803:5840:e004::/35": "262145", - "2a02:26f7:b98b::/48": "20940", - "2607:f6f0:2002::/40": "54588", - "2406:1400:c109::/48": "24342", - "2800:160:13cd::/42": "14259", - "2804:374::/32": "262844", - "2a0c:a7c0::/46": "202468", - "2001:43f8:1100::/48": "328283", - "2001:49f0:d103::/48": "3216", - "2401:d800:b9a0::/41": "7552", - "2402:7d80:8888::/48": "63583", - "2620:138:7000::/44": "14747", - "2a02:758::/32": "29056", - "240a:a990::/32": "145098", - "2a02:250:3::/48": "25234", - "2a02:2698:8009::/38": "41682", - "2a02:26f7:bac0::/48": "36183", - "2a02:26f7:c804::/47": "36183", - "240e:67c:1800::/32": "4134", - "2a0c:d2c2::/32": "57335", - "2401:d800:da20::/41": "7552", - "2405:1c0:6581::/46": "135062", - "2a03:f300::/29": "47834", - "2001:44c8::/39": "45430", - "2409:806b:2100::/36": "9808", - "2607:f498::/32": "10835", - "2804:76c8:111a::/42": "271134", - "2a0f:9400:735f::/48": "14570", - "2001:559:a3::/48": "13367", - "2001:559:778::/48": "33652", - "2620:10a:80ba::/48": "25192", - "2a02:5aa0::/32": "57795", - "2001:1b60:a::/29": "31103", - "2401:d800:5da0::/41": "7552", - "2804:5c70::/32": "268909", - "2400:cb00:241::/46": "13335", - "2600:380:be00::/33": "20057", - "2600:100a:b000::/42": "6167", - "2804:1aa8::/32": "61874", - "2a04:9ac1::/32": "35616", - "2001:559:8463::/48": "33287", - "2402:800:362b::/41": "7552", - "2605:a401:89ed::/43": "33363", - "2605:a404:b2::/44": "33363", - "2606:7b00::/34": "10538", - "2620:171:65::/48": "715", - "2806:20d:1607::/43": "32098", - "2a04:c442:8300::/36": "2534", - "2a06:1280:c0df::/36": "61138", - "2c0f:fa78::/32": "37387", - "2001:559:c33a::/48": "33287", - "2405:1c0:6123::/43": "55303", - "2600:6c38:1b::/45": "20115", - "2604:5540:4010::/48": "13750", - "2001:678:3e0::/48": "42718", - "2402:800:598d::/43": "7552", - "2804:6c18:8000::/33": "270445", - "2a00:d360::/29": "15600", - "2a06:da80:1::/48": "43151", - "2a09:1340::/29": "56430", - "2a0e:97c0:381::/46": "211305", - "2001:559:80ad::/48": "7922", - "2001:559:c3e0::/48": "7015", - "2404:59c0:4000::/32": "58507", - "2408:84f3:dc10::/42": "134543", - "2a05:b8c0::/29": "203815", - "2a0e:8480::/29": "42156", - "2001:4d40:8407::/29": "13237", - "2404:a800:1452::/38": "9498", - "240a:a41f::/32": "143705", - "2602:805:a000::/44": "11672", - "2804:3c8::/32": "262908", - "2620:171:47::/48": "715", - "2a0d:3840:100::/48": "57629", - "2402:1680:a::/48": "7590", - "240a:a1a9::/32": "143075", - "2604:1300:4000::/34": "3833", - "2804:4bd8::/40": "267332", - "2001:559:8786::/47": "7922", - "2401:4900:18f0::/39": "45609", - "240a:a0e6::/32": "142880", - "240a:a197::/32": "143057", - "2804:80b0::/32": "271767", - "2a02:26f7:d141::/45": "20940", - "2001:4cd0::/29": "8551", - "2804:804::/32": "262338", - "2a02:f880::/29": "61244", - "2a03:dc40:ffef::/48": "199926", - "2603:6010::/28": "10796", - "2604:4d40:3c00::/39": "213073", - "2400:1c00:1a::/45": "45143", - "2403:adc0::/32": "138093", - "2600:140f:ec00::/48": "9498", - "2804:7c88::/32": "271502", - "2a02:2ae8::/39": "702", - "2803:4e80::/32": "263232", - "2001:400:2411::/44": "293", - "2001:559:c400::/29": "7922", - "2001:fd8:3470::/44": "4775", - "2001:12f0:440::/39": "1916", - "240a:a7a9::/32": "144611", - "240a:ae55::/32": "146319", - "2801:1f0::/34": "3573", - "2a0a:4784::/32": "43317", - "2001:678:f2c::/48": "211499", - "2001:7f9:c::/48": "15606", - "240a:a3c8::/32": "143618", - "2600:1416:e001::/31": "20940", - "2620:149:a15::/48": "714", - "2800:160:1397::/42": "14259", - "2a02:26f7:c60a::/42": "20940", - "2a01:6e80::/32": "47223", - "2a05:d050:a0c0::/44": "16509", - "2a10:9f40::/29": "211721", - "2a0f:bf80::/29": "41918", - "2001:559:e::/48": "7922", - "2001:559:8745::/48": "33651", - "2001:4878:b225::/48": "12222", - "240a:a54a::/32": "144004", - "2a0b:a340::/32": "205934", - "2a0d:6600::/29": "39650", - "2a0e:b107:1411::/48": "208753", - "2001:c20::/43": "3758", - "2401:ff80:1805::/44": "133954", - "240a:a9c8::/32": "145154", - "2605:9240::/32": "22792", - "2a0b:6cc0::/31": "202984", - "2001:67c:370::/48": "56554", - "2405:b640::/47": "24305", - "2a00:a960::/32": "200161", - "2402:ef30::/30": "7633", - "240e:379:2600::/32": "4134", - "2602:feda:af2::/48": "138038", - "2a02:1380::/32": "50572", - "2c0f:f000:100::/40": "36891", - "2804:4cf8::/32": "267404", - "2001:559:2::/48": "7016", - "2001:559:35b::/48": "33651", - "240a:af79::/32": "146611", - "2804:321c::/32": "265056", - "2001:1248:59c1::/46": "11172", - "2402:800:530f::/43": "7552", - "240e:964:3800::/32": "4134", - "2600:9000:11cb::/45": "16509", - "2603:c013:8000::/36": "31898", - "2804:1b04:d::/48": "53048", - "2a06:e881:260f::/48": "206740", - "2001:480:1611::/41": "668", - "240e:473:9f20::/41": "140486", - "2620:4:a000::/48": "16539", - "2803:4440::/32": "28009", - "2a02:26f7:da05::/46": "20940", - "2a06:4e80::/29": "49375", - "2403:8100:1000::/46": "24023", - "2607:fc28:9000::/33": "22911", - "2620:100:6000::/43": "19679", - "2800:482:400b::/32": "14080", - "2803:cd80::/33": "264811", - "2a00:cdc0:12::/32": "12586", - "2a01:8840:a6::/44": "12041", - "2a09:2942::/31": "209898", - "2a0d:3841:1010::/48": "57629", - "2400:fc00:4550::/36": "45773", - "240e:946:3001::/45": "58540", - "2604:4000:8000::/48": "12915", - "2804:17b0::/32": "263165", - "2a05:c680::/29": "39259", - "2001:780:5307::/32": "12337", - "2800:440:8043::/45": "27738", - "2a00:1f40::/29": "42864", - "2600:e008::/40": "22995", - "2620:12e:3009::/45": "25670", - "2804:2050:3abd::/33": "264485", - "2804:7ed4::/32": "271650", - "2a02:ee80:420f::/43": "3573", - "2a0a:d6c0::/48": "61423", - "2409:8924:ad00::/38": "56046", - "240a:a328::/32": "143458", - "240a:a6fa::/32": "144436", - "2804:2d00:c000::/34": "265256", - "2a0d:4140::/32": "31463", - "2409:8914:9a00::/40": "56044", - "240a:a946::/32": "145024", - "2600:140b:2400::/48": "31109", - "2001:559:4ae::/43": "7922", - "2001:559:518::/48": "33655", - "2408:8956:9300::/40": "17816", - "2602:fca0::/36": "399504", - "2a02:a48::/32": "48960", - "2a02:ec40::/32": "39150", - "240e:3bb:ac00::/35": "4134", - "2a00:4802:5110::/29": "13124", - "2400:4480:4000::/34": "17426", - "2a0d:5f80::/29": "200899", - "2400:cb00:248::/47": "13335", - "2402:4000:1290::/41": "18001", - "2a0a:1400::/30": "46723", - "2405:ec00:9024::/41": "23955", - "2408:8256:3980::/44": "17623", - "240e:67e:8c00::/33": "4134", - "2603:c001:650::/35": "31898", - "2a05:e0c0::/29": "201011", - "2a10:d100::/32": "28919", - "2001:4878:b027::/48": "12222", - "2401:d800:f2f0::/39": "7552", - "240a:aa06::/32": "145216", - "240e:3b7:ec00::/35": "140314", - "2a0e:db40::/29": "49792", - "2a00:1a68::/33": "38955", - "2001:559:876c::/48": "7016", - "2620:10e:d000::/41": "21538", - "2806:2f0:5002::/42": "17072", - "2a06:e040:5902::/34": "198507", - "2408:8459:a610::/42": "17623", - "2604:2380::/32": "33029", - "2a02:2e02:8cf0::/39": "12479", - "2a0e:b107:c90::/45": "140938", - "2a07:3402::/32": "62874", - "2402:fa80::/32": "24516", - "240e:473:8f20::/41": "140486", - "2a09:6900::/29": "41498", - "2607:de00:300::/32": "23498", - "2408:8956:e300::/40": "17816", - "240e:108:48::/48": "134769", - "2606:4d00::/32": "53893", - "2a02:26f7:d504::/48": "36183", - "2a05:70c0::/35": "203455", - "2602:fde5:2b::/36": "393424", - "2800:160:1121::/44": "14259", - "2a0b:9380:11::/42": "206002", - "2001:df6:2e80::/48": "139504", - "2401:4900:1c38::/47": "24560", - "2a00:7d00::/32": "41165", - "2a0f:5701:3100::/40": "205593", - "2a10:ff00::/31": "212242", - "2001:67c:1888::/48": "203426", - "240e:44d:1380::/41": "4134", - "2a02:26f0:121::/46": "20940", - "2a0c:4a01:c10::/41": "134981", - "2407:600::/32": "9268", - "2600:1002:f000::/44": "6167", - "2604:bb80:300::/32": "14602", - "240e:44d:4c00::/41": "140345", - "2001:559:276::/48": "33651", - "2001:ee0:c840::/39": "45899", - "2001:2063::/24": "1299", - "2403:400:900::/31": "23820", - "2406:da18::/36": "16509", - "240a:ab32::/32": "145516", - "240e:37a:ac00::/31": "4134", - "2800:b90::/32": "263246", - "2804:54a0:1a00::/39": "27688", - "2a05:28c0::/29": "203020", - "2a0b:1ec0::/32": "205769", - "2a07:1980:11::/48": "48851", - "2001:559:c1ed::/46": "33287", - "2001:1248:707f::/40": "11172", - "2402:800:3b7f::/40": "7552", - "2600:6c3a:43a::/36": "20115", - "2620:1fd:20::/44": "11971", - "2804:3cf8::/32": "266245", - "2a02:26f7:cb0c::/48": "36183", - "2001:6d0:4006::/48": "50776", - "2407:f700:6000::/32": "132215", - "2801:80:200::/48": "52997", - "2a02:790::/32": "24679", - "2c0f:fce0::/32": "37027", - "2001:559:506::/44": "7922", - "2400:cb00:14::/46": "13335", - "240a:a46e::/32": "143784", - "2a00:bba0::/32": "207375", - "2a03:7700::/32": "34439", - "2a02:26f7:b809::/42": "20940", - "2a02:4fc0:4200::/32": "199081", - "2a0f:5c47:3e8::/48": "206499", - "2402:1f00:8300::/33": "16276", - "2404:d400::/32": "38193", - "2803:3440::/32": "263784", - "2803:d100:e680::/44": "52362", - "2a02:26f0:6301::/37": "20940", - "2a05:e740:116::/48": "29108", - "2001:559:701::/48": "33491", - "2607:fae0:8000::/36": "8038", - "2a03:ad40:430::/48": "54995", - "2001:559:8245::/48": "33657", - "2801:14:e800::/48": "271877", - "2804:52f0::/32": "268551", - "2804:791c::/32": "271285", - "2804:11e4::/32": "52945", - "2001:57a:a202::/36": "22773", - "2001:f20:f000::/46": "38154", - "2402:800:f870::/39": "7552", - "2409:8057:380a::/28": "56040", - "240a:ab34::/32": "145518", - "240a:ada7::/32": "146145", - "240e:49:9000::/38": "134419", - "2804:336c::/32": "265395", - "2001:500:f0::/48": "53535", - "2409:8020:3032::/45": "56046", - "240e:3b1:2c00::/35": "134774", - "2607:2480:b::/48": "46887", - "2a00:1950::/32": "39647", - "2a02:2430:80::/32": "39869", - "2001:559:c11e::/48": "13367", - "2001:bf0:6a::/32": "12732", - "2406:a6c0::/48": "18403", - "2804:5464::/32": "268647", - "2a0d:e480::/29": "51207", - "2607:fb08:5::/32": "32703", - "2620:103:e001::/46": "13893", - "2001:559:8533::/48": "7922", - "2402:ee40:100::/44": "134033", - "240a:ad09::/32": "145987", - "240e:698:2200::/40": "58466", - "2607:fb90:1f00::/34": "21928", - "2a01:5b0:7::/48": "8391", - "2a0a:2000::/29": "201057", - "2001:3c8:c301::/48": "55545", - "2001:67c:66c::/48": "15576", - "2602:808:a001::/48": "16509", - "2001:559:80b8::/47": "33659", - "2001:4bf0:1::/48": "29527", - "2620:ac:c000::/48": "21630", - "2620:11e:30c6::/48": "30706", - "2a02:26f0:6d01::/38": "20940", - "2a03:567::/32": "31400", - "2001:4860:4806::/41": "15169", - "2405:b000:a00::/37": "6262", - "2804:16b0:2000::/36": "61910", - "2a00:1098::/32": "44684", - "240e:967:c400::/39": "133775", - "2a07:f241::/30": "398481", - "2607:c980::/32": "11232", - "2806:10c8:ffff::/48": "8151", - "2a09:bd00::/48": "42385", - "2607:8380::/32": "11961", - "2607:f8b8::/32": "3043", - "2a00:7900::/32": "21000", - "2a05:4140:325::/48": "211772", - "2a05:e140::/29": "6735", - "2600:c809::/29": "3356", - "2607:fb90:df00::/34": "21928", - "2800:160:1114::/47": "14259", - "2804:694:3100::/36": "262596", - "2804:2af8::/32": "265128", - "2001:550:8e03::/35": "174", - "2801:10a::/44": "19429", - "2804:90c:6000::/37": "262617", - "2806:105e:12::/48": "8151", - "2a0e:8f02:2010::/48": "213021", - "2001:559:2f0::/48": "7922", - "2401:4900:1f20::/47": "24560", - "2404:7e40::/47": "138649", - "2806:2f0:2104::/43": "22884", - "2a04:9a01:1000::/36": "34663", - "2a07:1980:e::/47": "48851", - "2a0b:6900:7::/48": "206873", - "2600:2601:101::/28": "33362", - "2620:a0:4000::/46": "55064", - "2804:a20::/32": "263024", - "2a00:b740:5::/48": "13253", - "2402:f800:f000::/36": "7602", - "240a:a02e::/32": "142696", - "2a02:26f7:ef0d::/42": "20940", - "2402:800:3be0::/44": "7552", - "2406:84c0::/32": "138225", - "240a:af16::/32": "146512", - "2a00:7d80:1::/48": "44889", - "2a0a:1180::/31": "206746", - "2600:370f:60a0::/41": "32261", - "2603:c0ed::/36": "54253", - "2620:da:4000::/48": "393945", - "2803:d100:1000::/36": "52362", - "2a02:26f7:ba08::/48": "36183", - "2408:8957:4a00::/40": "17622", - "2804:5474:5::/46": "268651", - "2a01:c50f:a140::/37": "12479", - "2400:fc00:8c60::/40": "45773", - "2804:3774:2500::/33": "266416", - "2a02:e00:ffe9::/48": "62240", - "240a:ace3::/32": "145949", - "2803:7dc0::/32": "265725", - "2a0e:46c0::/31": "57183", - "2a0f:c087:f51c::/48": "212521", - "2607:f098:3100::/38": "33363", - "2a0b:33c0:112::/45": "57395", - "240a:a358::/32": "143506", - "2602:ff7a:f01::/40": "394144", - "2603:c002:1a30::/39": "31898", - "2a00:edc0:1010::/48": "62597", - "2a02:220::/32": "31122", - "2a04:7100::/29": "62391", - "2a0d:9340:626::/29": "35761", - "2404:3440:3000::/32": "138534", - "2a0c:9a40:107b::/40": "34927", - "2001:468:914::/40": "3754", - "240a:a025::/32": "142687", - "2a0c:b641:790::/47": "207300", - "2620:37:c000::/48": "5050", - "2a07:22c1:32::/48": "212342", - "2a0d:3842:1040::/48": "57629", - "2a0d:e4c4:b000::/33": "208861", - "2a0e:b107:d30::/44": "211940", - "2001:400:a000:7::/64": "46846", - "2400:144::/48": "4766", - "240a:a171::/32": "143019", - "2600:c01::/32": "14743", - "2804:18:7030::/44": "10429", - "2804:1b08:4000::/32": "61704", - "2a02:26f7:f5c4::/48": "36183", - "2001:48b8::/32": "19517", - "2a01:c50f:1bc0::/34": "12479", - "2a02:26f7:d44c::/48": "36183", - "2001:4c8:1111::/33": "15290", - "2400:dd06:1006::/28": "7497", - "2402:9d80:10c::/48": "131429", - "2405:d000:7000::/36": "17660", - "240a:ab53::/32": "145549", - "2602:fde1:187::/48": "397546", - "2001:559:c082::/48": "33667", - "2001:67c:19b0::/46": "16086", - "2801:80:3920::/48": "270591", - "2804:3654::/32": "266342", - "2001:559:c311::/48": "33660", - "2408:8459:4a10::/42": "17623", - "2a02:26f0:e400::/48": "34164", - "2001:678:39c::/48": "29684", - "240a:a04a::/32": "142724", - "2803:9800:9447::/40": "11664", - "2804:14c:d800::/40": "28573", - "2804:4134::/32": "266010", - "2a02:26f7:bd04::/48": "36183", - "2a02:26f7:f4c5::/46": "20940", - "2405:d180:1::/46": "9506", - "2804:100c::/32": "263616", - "2a0e:3940:f000::/36": "60767", - "2401:ff80:1c91::/46": "133954", - "240a:a707::/32": "144449", - "2600:6c38:41a::/47": "20115", - "2804:6e6c::/32": "270596", - "2a05:f00::/29": "41163", - "2001:559:84e1::/48": "33657", - "2001:448a:50f0::/39": "7713", - "2600:1011:b130::/41": "6167", - "2602:fd73::/36": "13503", - "2804:301:4000::/35": "53237", - "2600:40ff:fcf9::/48": "7046", - "2a09:4c0:ae01::/40": "58057", - "2a0f:607:1060::/47": "43126", - "2001:468:e00::/40": "2153", - "2001:df5:2380::/48": "138754", - "2408:84f3:9210::/42": "134543", - "2408:8956:3a00::/40": "17622", - "2600:1411:6000:1::/32": "20940", - "2803:f100::/32": "52255", - "2a0a:3f40::/32": "50673", - "2001:1938:7009::/32": "12989", - "2407:8f80:88::/48": "135636", - "2409:8062:3002::/48": "139080", - "2602:809:c000::/44": "54364", - "2804:4254::/32": "267493", - "2804:66d0::/32": "269584", - "2a06:46c0::/29": "203020", - "2a0b:51c0::/29": "205679", - "2400:7400:11::/42": "38044", - "2405:b000:200::/37": "6262", - "2409:8027:801::/34": "9808", - "240a:a36b::/32": "143525", - "240a:a7c0::/32": "144634", - "2604:7e00:32::/41": "17378", - "2804:e30:be00::/39": "11338", - "2001:559:1d7::/48": "7922", - "2001:67c:11d4::/48": "47702", - "2a0c:2600::/29": "205010", - "2001:4490:d7a0::/46": "9829", - "2409:8053:2802::/38": "56047", - "2600:140f:c00::/48": "55836", - "2a06:d641::/32": "49981", - "2a0b:6640::/32": "213158", - "2a0b:4340:30::/44": "41979", - "2402:800:3dd3::/44": "7552", - "2409:805c:5100::/36": "9808", - "240a:a258::/32": "143250", - "240a:afbe::/32": "146680", - "2602:feda:d63::/45": "212034", - "2607:ff60:5003::/34": "3900", - "2806:2f0:3141::/46": "17072", - "2001:3c8:5506::/32": "4621", - "2001:4490:3f00::/42": "9829", - "2400:7400:10::/48": "23736", - "2402:800:397f::/40": "7552", - "2602:fe59:20::/48": "46432", - "2a04:40::/29": "39878", - "2404:ce00::/32": "38634", - "2604:b480::/32": "46841", - "2a01:490::/32": "8251", - "2c0f:ef18:2::/32": "328266", - "2001:559:153::/45": "7922", - "2402:ef3e::/48": "7633", - "240e:982:6200::/36": "4134", - "2806:107e:1c::/42": "8151", - "2a01:9ec0::/32": "201785", - "2001:df1:b080::/48": "131373", - "2400:dcc0:a004::/39": "38631", - "2620:102:2000::/44": "3659", - "2801:80:1be0::/48": "266521", - "2409:806c:1100::/34": "9808", - "240e:3b7:dc00::/34": "4134", - "2605:d680::/32": "63313", - "2804:391c:1c::/32": "262287", - "2a03:7320::/48": "62222", - "2001:4cb8::/37": "28878", - "2408:80ea:6400::/41": "17816", - "2804:211c::/32": "264536", - "2804:6fd0::/32": "270686", - "2409:8087:4c17::/38": "9808", - "2804:3bc4::/32": "266169", - "2a00:5200::/32": "20985", - "2600:100a:f000::/44": "6167", - "2402:ef14::/32": "24397", - "2a00:1bb8::/32": "12810", - "2620:1ec:12::/47": "8068", - "2800:bf0:24d::/43": "52257", - "2a03:5440::/29": "42541", - "2a0e:b107:6e3::/48": "213215", - "2404:f4c0:f502::/48": "134666", - "2600:140f:4600::/48": "9498", - "2605:a404:b02::/43": "33363", - "2801:11:2000::/48": "61486", - "2a0c:5247:a000::/36": "208861", - "240a:ad52::/32": "146060", - "2a02:26f7:fc09::/38": "20940", - "2001:5b8::/32": "13645", - "240e:4a:4400::/31": "4134", - "2600:1407:1e::/47": "35994", - "2602:feda:3f0::/44": "63279", - "2804:16d8:1000::/38": "262729", - "2001:df1:780::/48": "136644", - "2a00:d18::/32": "12714", - "2a01:b380::/32": "196735", - "2a0e:aa07:f091::/48": "208884", - "2a05:8a00::/48": "201178", - "2406:c500:ffd3::/48": "4739", - "240a:aea2::/32": "146396", - "240e:3b6:ac00::/35": "4134", - "240e:473:4950::/40": "4134", - "2602:ff32:3::/48": "55247", - "2804:5cfc::/32": "268944", - "2806:2f0:91c2::/42": "17072", - "240a:a15d::/32": "142999", - "2804:14d:ca00::/40": "28573", - "2804:6c8::/32": "262606", - "2804:928::/32": "53102", - "2806:2f0:40e4::/39": "17072", - "2a0b:8100::/44": "51559", - "2402:800:519b::/41": "7552", - "240a:a8d3::/32": "144909", - "2804:4f1c::/32": "268304", - "2806:230:602a::/48": "265594", - "2001:978:2a00::/48": "62455", - "2001:ce0:2200::/40": "4528", - "2402:800:9a2b::/41": "7552", - "2600:6c7f:9080::/48": "20115", - "2a0c:2340::/29": "44399", - "2610:a1:1022::/48": "397213", - "2001:400:a000:12::/33": "293", - "2001:559:189::/46": "33659", - "2001:678:55c::/48": "12552", - "2401:880::/32": "45630", - "2408:8256:d98::/38": "17622", - "2409:8d14:700::/36": "56044", - "240a:aefe::/32": "146488", - "2620:16e:89::/48": "3147", - "2a10:9d00::/29": "49188", - "2001:df2:8100::/48": "137050", - "2600:1419:c::/48": "35204", - "2a02:26f7:e5c9::/42": "20940", - "2a04:6440::/29": "35368", - "2a0d:1a40:7553::/48": "213185", - "2a11::/48": "6233", - "2408:8456:cb00::/42": "17622", - "240a:a006::/32": "142656", - "2804:68c0::/32": "269713", - "2a01:c50f:3340::/40": "12479", - "2a0a:4640:21::/29": "206177", - "2a0e:b107:1390::/44": "211231", - "2001:253:136::/48": "142102", - "2401:d800:bfb0::/41": "7552", - "2401:d800:d9c0::/42": "7552", - "240e:c::/33": "4134", - "2804:59a0:1000::/36": "268714", - "2a02:26f7:c281::/46": "20940", - "2001:559:8291::/48": "7922", - "240e:108:98::/48": "137698", - "2600:370f:374a::/40": "32261", - "2605:4e40::/32": "40033", - "2804:612c::/40": "269218", - "2001:550:6701::/36": "174", - "2600:1407:3401::/38": "20940", - "2a02:940::/32": "21013", - "2408:8456:1c40::/40": "17816", - "2605:9780:f::/43": "36180", - "2a02:26f7:c681::/46": "20940", - "2606:b080::/32": "55140", - "2405:7f00:9b00::/37": "133414", - "2800:960::/32": "27768", - "2a04:9444::/30": "25584", - "2400:1200::/32": "9503", - "240e:147::/24": "4134", - "2605:7900:1::/45": "19133", - "2001:1248:55ae::/43": "11172", - "2409:8753:700::/36": "56047", - "240e:f8::/32": "134773", - "2600:370f:73ae::/41": "32261", - "2a0e:b107:14c2::/44": "211042", - "240e:980:9400::/40": "4134", - "2a00:1508::/32": "49835", - "2a00:17c0::/32": "12993", - "2001:559:39d::/48": "21508", - "2001:df3:b500::/48": "135946", - "2001:4878:c158::/48": "12222", - "2408:8459:3e50::/33": "17816", - "240a:a506::/32": "143936", - "2600:180c:6002::/32": "16552", - "2a00:13d0::/32": "48961", - "2a07:4f81:1::/48": "14870", - "2001:470:83::/48": "26110", - "2001:1248:844e::/43": "11172", - "2804:69dc:8000::/33": "270296", - "2a06:11c0:3::/45": "208086", - "2001:678:d10::/48": "31027", - "2001:67c:2bb0::/48": "28674", - "2409:8904:4a60::/39": "24547", - "240a:aec0::/32": "146426", - "2600:9000:1133::/45": "16509", - "2804:70f8::/32": "270759", - "2a06:2600::/32": "20473", - "2001:559:8354::/48": "22909", - "2001:4998:48::/43": "10310", - "2620:13a:c000::/46": "53356", - "2804:14b8::/32": "263346", - "2a07:5200::/48": "213208", - "2604:8540:fcf2::/48": "33353", - "2801:80:a10::/48": "263287", - "2804:14c:f285::/44": "28573", - "2a01:6500:a04c::/43": "42925", - "240a:a6bf::/32": "144377", - "2600:1415:f800::/48": "24319", - "2804:4060::/32": "265955", - "2a03:7a40::/32": "48173", - "2a0a:200::/29": "786", - "2406:c8c0::/32": "138333", - "2620:13b:d000::/48": "46691", - "2408:8459:2e40::/35": "17816", - "2408:8459:6650::/36": "17816", - "2600:8c00::/28": "17310", - "2620:101:2009::/46": "30238", - "2a09:5a00::/29": "204760", - "2a0b:1940::/47": "42411", - "2001:559:8310::/48": "7016", - "2001:1398:1::/45": "27678", - "2600:1417:5000::/48": "23693", - "2804:38:1000::/39": "19089", - "2804:5f48::/32": "269089", - "2806:2f0:9022::/41": "17072", - "2a05:eb40::/29": "200915", - "2001:500:135::/48": "396574", - "2001:44b8:603e::/41": "4739", - "2405:9ac0::/32": "131920", - "2a00:9400::/32": "52063", - "2405:b40:2::/42": "55674", - "2406:bb00::/29": "10010", - "2607:ff70::/32": "62", - "2804:69b0:40::/40": "270285", - "2001:559:cb::/48": "7015", - "2606:9a80::/32": "21769", - "2804:16c4::/32": "61915", - "2a03:f003:4::/38": "25472", - "2a06:c840::/29": "198024", - "2a09:d7c0::/29": "28771", - "2a0d:77c7::/36": "7489", - "2408:865c::/31": "4837", - "240a:c000::/20": "137726", - "2804:55c4::/32": "267955", - "2001:5b0:1f00::/40": "6621", - "2001:4d80::/33": "5606", - "2402:800:9b9b::/42": "7552", - "2804:14c:65d8::/42": "28573", - "2804:14c:9900::/40": "28573", - "2a0c:5c81::/29": "55081", - "2001:200:f00::/32": "2500", - "2001:2a8::/32": "7670", - "2001:559:cc::/48": "33657", - "2600:1406:3401::/38": "20940", - "2605:60c0::/40": "395846", - "2620:129:9001::/63": "13767", - "2804:2050:1abd::/34": "264485", - "2001:5b0:ffff::/48": "6621", - "2001:df5:3580::/48": "136697", - "2401:ff80:1311::/46": "133954", - "2405:100:101::/32": "9905", - "2a01:c50f:af00::/40": "12479", - "2401:f000::/47": "38477", - "2405:1c0:6351::/46": "135062", - "2606:11c0::/32": "398263", - "2801:80:2410::/48": "268306", - "2a03:d000::/39": "31213", - "2a05:bf00::/29": "43260", - "2001:559:821a::/48": "20214", - "2407:1400:8a::/32": "23752", - "240e:67a:1000::/37": "140330", - "2605:c840::/32": "397303", - "2804:1230:2040::/40": "263462", - "2a01:8840:26::/44": "12041", - "2a02:26f7:c7::/44": "20940", - "2a02:26f7:b709::/42": "20940", - "2408:8459:cb50::/37": "17816", - "2804:628c:4000::/42": "269303", - "2a00:19d8::/32": "42004", - "2a0f:e40::/29": "60262", - "2a03:ca40::/32": "197727", - "2001:410:a000::/47": "8111", - "2001:df3:6b00::/48": "137217", - "2401:c680:10::/35": "133854", - "2402:a740::/32": "134868", - "2402:ab00:e0::/44": "24206", - "2804:1ca4::/32": "263010", - "2a02:ee80:4199::/45": "3573", - "2a0b:cc0::/32": "51131", - "2c0f:7800::/32": "60171", - "2404:4e00:101::/46": "32787", - "2409:8a53:500::/38": "56047", - "2600:5800:f78a::/48": "11955", - "2602:ff06:725::/48": "6939", - "2606:18c0:2::/48": "399448", - "2a06:4540::/29": "200428", - "2001:18c8:500::/40": "26326", - "2409:8087:7f00::/32": "9808", - "2803:8220::/32": "27843", - "2a01:9080::/32": "39658", - "2a0f:a900::/29": "15391", - "2c0f:eb60::/32": "37723", - "2404:b300:1::/46": "131207", - "2620:11a:a02b::/45": "43515", - "2803:e210::/32": "271907", - "2a00:1b58::/32": "50621", - "2a00:1ca8::/42": "50673", - "2a07:c700::/29": "50178", - "2a0a:d180::/36": "206652", - "2001:760::/32": "137", - "2408:8956:2d00::/40": "17816", - "2a04:a2c0::/32": "9044", - "2001:468:300::/48": "2637", - "2405:9800:c92e::/41": "45430", - "2407:3e00:a000::/48": "9911", - "240a:a3d6::/32": "143632", - "2607:f368:3224::/48": "46846", - "2800:160:220f::/42": "14259", - "2804:50c0::/32": "268408", - "2001:67c:2954::/48": "51973", - "2408:8956:5200::/40": "17622", - "2607:f4a8::/34": "803", - "2620:3b:4000::/48": "62681", - "2a06:e881:2509::/48": "205634", - "2a04:4e40:fe00::/48": "54113", - "2001:470:139::/45": "6939", - "2001:4858::/32": "32097", - "2407:6dc0::/32": "140944", - "2804:4da0::/32": "268209", - "2a0a:4a00::/29": "48662", - "2a0f:a440::/29": "212598", - "2408:8256:316a::/48": "17816", - "2606:1c00::/32": "11714", - "2a02:26f0:fe::/47": "20940", - "2a07:8147:ffff::/48": "211846", - "2001:559:c2db::/45": "7015", - "2001:2000:4000::/40": "3301", - "2404:1a3:1003::/32": "24334", - "2600:1417:1a::/48": "24319", - "2600:9000:1188::/46": "16509", - "2804:15bc::/32": "28184", - "2a00:1ca8:d3::/45": "58061", - "2001:559:184::/48": "7922", - "2001:559:4c4::/47": "7015", - "2001:559:82ed::/48": "7922", - "2001:b90::/32": "15919", - "2a0b:ecc0::/29": "205390", - "2604:f9c0::/32": "397064", - "2a04:e4c0:55::/48": "36692", - "2404:bf40:a580::/48": "2764", - "2600:370f:34c5::/42": "32261", - "2804:898::/32": "262380", - "2a00:5320::/32": "24953", - "2001:67c:2f0::/48": "51395", - "2406:8600:f83f::/41": "10310", - "240a:a2ac::/32": "143334", - "2600:9000:1197::/48": "16509", - "2804:2450::/36": "264214", - "2402:800:5b7f::/40": "7552", - "2408:840d:2700::/42": "17621", - "2a04:c440:2a00::/40": "47340", - "240a:ab0f::/32": "145481", - "2a02:26f7:d0::/48": "36183", - "2a02:26f7:b640::/47": "36183", - "2407:e300::/31": "55536", - "2a0e:2380::/32": "208929", - "2a0e:3840:801::/48": "40676", - "2001:67c:2890::/48": "43862", - "2405:e000:1004::/37": "37963", - "2409:8924:a500::/38": "56046", - "2806:230:1012::/48": "265594", - "2a03:8180:1c00::/39": "36351", - "2001:1248:56ff::/39": "11172", - "2001:18c0::/32": "11290", - "2402:2f80:5::/46": "134451", - "240a:a2c8::/32": "143362", - "2400:cb00:a540::/46": "13335", - "2408:8256:3379::/48": "17816", - "2620:10a::/44": "43", - "2a0d:e841::/32": "35913", - "2001:559:7cd::/48": "33657", - "2001:559:c237::/48": "20214", - "2405:9200:5100::/41": "131596", - "240e:37d:aa00::/39": "140330", - "2a02:2030::/32": "198252", - "2a03:a480::/32": "59469", - "2a07:8504::/32": "1104", - "2402:800:3101::/44": "7552", - "240e:10:a000::/37": "63838", - "2a02:2090:6800::/48": "43489", - "2a02:26f7:df04::/48": "36183", - "2a07:f0c0::/29": "200768", - "2a0e:8f02:f026::/48": "211480", - "2c0f:f7a8:9041::/48": "4809", - "2a04:f580:9012::/47": "4809", - "2001:67c:2c28::/48": "57118", - "2400:dd09:1006::/30": "7497", - "2407:fe80:200::/32": "134749", - "240a:a107::/32": "142913", - "2a03:ec00:b400::/36": "12847", - "240a:a3ac::/32": "143590", - "2607:f8c8::/32": "23308", - "2a0e:b500::/29": "208974", - "2a03:bbc0::/32": "61212", - "2001:df3:9c00::/48": "55536", - "2402:800:9701::/44": "7552", - "240e:108:1091::/42": "4134", - "2600:1406:7400::/48": "35994", - "2620:1f8:f011::/46": "40443", - "2804:14c:bbb0::/41": "28573", - "2a02:2455::/33": "35244", - "2001:559:c312::/48": "22909", - "2001:4890::/32": "3257", - "2804:74fc::/32": "271016", - "2600:8807:a840::/38": "22773", - "2c0f:5000::/32": "328745", - "2001:1248:9c1e::/42": "11172", - "2001:1248:a454::/42": "11172", - "2401:75c0::/32": "136793", - "2c0f:f020:8b00::/40": "327907", - "2001:678:638::/48": "204307", - "2405:a540::/35": "38156", - "2804:14d:5cff::/48": "28573", - "2804:3060::/32": "264947", - "2a00:4802:2b0::/41": "13124", - "2a03:f80:70::/48": "56630", - "2a04:6d80::/30": "199993", - "2602:fd48::/36": "29924", - "2607:fb10:17::/42": "2906", - "2801:15:2800::/48": "270033", - "2408:8456:2c00::/41": "17623", - "240e:44d:1b80::/41": "4134", - "2402:800:7a00::/42": "7552", - "2804:5380::/32": "268588", - "2a00:8da0::/32": "6696", - "2a06:4800:1000::/36": "209283", - "2001:1248:57fc::/47": "11172", - "2405:cb40::/32": "139983", - "2804:232c::/32": "264146", - "2a03:db80:4811::/46": "680", - "2c0f:f7a8:8050::/48": "4134", - "240e:983:1e01::/48": "134764", - "2606:f200::/32": "36097", - "2806:101e:1::/48": "8151", - "2001:67c:48::/48": "51210", - "2001:67c:7bc::/48": "8949", - "2804:2108::/32": "264528", - "2a02:20c8::/35": "50304", - "2a02:26f0:8901::/40": "20940", - "2a02:26f7:df85::/46": "20940", - "2a04:88c0::/48": "60781", - "2800:bf0:82c1::/44": "27947", - "2001:67c:28c4::/48": "1257", - "2001:16d8:900::/32": "16150", - "240a:a063::/32": "142749", - "240a:a49a::/32": "143828", - "2600:6c38:97::/44": "20115", - "2604:d600:d::/43": "32098", - "2606:f900:9002::/37": "812", - "2607:f7f0::/32": "30259", - "2804:5120:8000::/33": "268432", - "2001:67c:5ec::/48": "34172", - "2404:0:5000::/46": "24154", - "2408:8256:397d::/46": "17623", - "240e:3b7:9200::/36": "140317", - "2806:261:410::/40": "13999", - "2a01:8b60::/32": "8201", - "2001:559:2d0::/48": "7922", - "2409:8a79::/30": "9808", - "2620:11a:a012::/44": "43515", - "2804:1ec::/32": "53127", - "2804:cd8::/32": "52559", - "2804:1458::/32": "263326", - "2a02:4bb::/29": "39605", - "2606:9580:ff03::/48": "394256", - "2a03:89c0::/32": "24978", - "2001:4490:48e0::/46": "9829", - "2403:cfc0:1004::/48": "9678", - "2a02:26f7:d5c4::/48": "36183", - "2a06:940::/48": "207333", - "2a06:aa40:cadc::/29": "51944", - "2001:579:124::/43": "22773", - "2402:5300:510::/38": "45903", - "240a:a5bf::/32": "144121", - "2804:14c:ce84::/41": "28573", - "2a02:fe80:2010::/48": "30148", - "2602:807:a000::/44": "398668", - "2607:f738:a00::/39": "17184", - "2804:4788::/32": "267060", - "2804:6098::/32": "269179", - "2001:678:778::/48": "210814", - "2402:3000::/32": "23637", - "2602:fed2:7110::/48": "139677", - "2804:3dc0:e000::/35": "266551", - "2001:4408:5221::/45": "4758", - "2402:800:7030::/41": "7552", - "2408:8956:7e00::/40": "17622", - "2605:a40a:c002::/36": "33363", - "2001:559:13d::/48": "22909", - "2001:df4:a700::/48": "134021", - "2404:7940::/32": "58593", - "240a:a7a2::/32": "144604", - "2604:6600:fe9c::/39": "40676", - "2804:14ac::/32": "263343", - "2001:501:b1f9::/48": "396566", - "2001:1248:5bea::/43": "11172", - "2a01:8320::/32": "39636", - "2a09:2700::/48": "208187", - "2a0b::/29": "41453", - "2801:c4:50::/48": "28519", - "2001:559:ae::/48": "33657", - "2001:559:841b::/48": "33657", - "2401:d800:160::/40": "7552", - "2405:203:99d::/29": "55836", - "2405:f280:2::/43": "131464", - "240a:aea3::/32": "146397", - "2605:6600::/32": "21766", - "2804:45cc::/32": "266950", - "2a01:b740:a21::/48": "714", - "2a0f:f4c1:2::/48": "36040", - "2620:1ec:a92::/48": "8068", - "2804:5648::/32": "267988", - "2001:559:4e1::/48": "20214", - "2804:55dc::/33": "267961", - "2001:4898:8021::/33": "3598", - "2402:ef21:8000::/35": "7633", - "240a:a98c::/32": "145094", - "2401:5ec0::/48": "135918", - "2600:1480:1100::/37": "20940", - "2600:370f:72af::/43": "32261", - "2804:7348::/32": "262690", - "2a00:cb8:144::/48": "15695", - "2a07:3500:13b8::/48": "212151", - "2a0b:6980::/29": "43414", - "2408:8459:c910::/42": "17623", - "240e:ff:c007::/48": "136198", - "2804:f4c::/32": "263578", - "2806:20d:504b::/43": "32098", - "2a0e:ef40::/48": "20473", - "2001:67c:25f4::/48": "45045", - "240a:a563::/32": "144029", - "240e:3bf:d000::/36": "134772", - "2a03:6c0::/32": "198520", - "240a:a290::/32": "143306", - "2001:559:86a7::/48": "33667", - "2402:800:fc70::/40": "7552", - "2403:5500::/32": "17537", - "240a:aa25::/32": "145247", - "2600:1419:7001::/38": "20940", - "2a05:8b80::/29": "201206", - "2a0b:f4c2:2::/48": "208294", - "2001:400:201:75::/43": "293", - "2400:cb00:43::/44": "13335", - "2a00:1d20::/30": "49544", - "2a0f:e401:111::/48": "204307", - "2401:4900:2340::/43": "45609", - "2402:e280:200::/48": "134674", - "2a02:568::/32": "8763", - "2a02:b70::/32": "48972", - "2a0d:9cc0::/29": "57782", - "2001:559:c35d::/48": "7016", - "2610:e0:9000::/34": "2572", - "2001:678:ef0::/48": "202592", - "2804:3088::/32": "264959", - "2804:527c::/32": "268521", - "2a02:26f7:ef4d::/46": "20940", - "2a07:3c80::/40": "209322", - "2604:d600:1643::/44": "32098", - "2804:2004::/32": "264460", - "2001:678:a20::/48": "15380", - "2408:8956:6800::/40": "17622", - "240e:3b4:7a00::/32": "140313", - "2a02:6b8:7::/48": "208722", - "2401:4900:519c::/46": "45609", - "2604:50:8::/47": "393950", - "2a00:dee0::/48": "200172", - "2a02:26f7:dd::/42": "20940", - "2801:80:1c30::/48": "266077", - "2600:9000:1098::/42": "16509", - "2a0f:5701:fe02::/43": "206499", - "240a:ac45::/32": "145791", - "240e:967:ec00::/28": "4134", - "2804:1634::/32": "263275", - "2806:2f0:50e1::/39": "17072", - "2a00:86c0:2061::/43": "2906", - "2a02:ee80:4192::/45": "3573", - "2001:df4:be80::/48": "141176", - "2620:145:800::/38": "12257", - "2803:b220::/32": "265844", - "2804:1038::/32": "263625", - "2001:503:f3da::/48": "7342", - "2001:67c:1160::/48": "202539", - "240a:a9e9::/32": "145187", - "2600:6800::/24": "7155", - "2804:1b08::/37": "61704", - "2804:1f4c::/36": "269175", - "2a02:250:ffff::/48": "39570", - "2001:559:8487::/48": "33287", - "2001:590:2005:300::/35": "3257", - "2001:67c:814::/48": "210937", - "2409:8914:b000::/39": "56044", - "240a:a974::/32": "145070", - "2600:1308::/32": "20021", - "2a02:2530::/32": "43088", - "2001:559:84bb::/48": "33491", - "2001:dce:7001::/38": "23869", - "2404:160:a040::/37": "10030", - "2602:feda:105::/48": "396303", - "2603:603d::/32": "10796", - "2a00:8c60:a::/47": "60706", - "2402:800:9db7::/41": "7552", - "2403:8600:2080::/43": "45820", - "2408:8459:4050::/38": "17816", - "2a02:26f0:e001::/38": "20940", - "2001:559:87ca::/43": "7922", - "2407:500:100::/48": "58940", - "2409:8a51:f00::/35": "56047", - "240a:a52a::/32": "143972", - "240e:5::/35": "17638", - "240a:aa51::/32": "145291", - "2606:4f00:4::/48": "19324", - "2607:f480:f001::/48": "27435", - "2804:675c::/32": "269623", - "2a07:60c0::/29": "24679", - "2c0f:f758::/32": "37204", - "2a06:5f80::/32": "57780", - "2401:9d00::/47": "9835", - "2406:3400:700::/36": "10143", - "2406:7400:4::/48": "24309", - "2406:9dc0:100::/44": "18250", - "2804:680c::/32": "269667", - "2a00:1ca8:9d::/41": "50673", - "2a03:db80:4c81::/46": "680", - "2c0f:ee78:8001::/46": "61317", - "2001:4878:4037::/44": "12222", - "2405:a740::/32": "58820", - "2604:5500:4000::/38": "19165", - "2605:1280::/32": "14288", - "2606:2800:5088::/48": "15133", - "2a02:26f7:f180::/48": "36183", - "2001:57a:80c0::/38": "22773", - "240a:a846::/32": "144768", - "2804:3710::/32": "266387", - "2a06:c003::/32": "45027", - "2a10:65c0::/29": "9063", - "2408:8256:3b75::/48": "17816", - "2603:c026::/35": "31898", - "2604:bfc0::/32": "54646", - "2804:1c4c:593::/35": "61648", - "2a02:df0::/32": "25233", - "2a02:26f7:7::/48": "20940", - "2a06:8187:fb00::/40": "64475", - "2001:550:6a01::/37": "174", - "2001:df2:1400::/48": "133923", - "2606:5000:4e00::/32": "3908", - "2804:127c::/32": "263479", - "2804:3744::/32": "266400", - "2a02:fae0::/38": "58193", - "2001:559:7af::/43": "7922", - "240a:a020::/32": "142682", - "2a02:26f7:ee49::/42": "20940", - "2a03:db80:4420::/48": "5501", - "2c0f:fbf0:20::/29": "32653", - "2a0e:e43::/29": "328317", - "2001:579:114::/42": "22773", - "2001:2000:1::/36": "1299", - "240a:a05f::/32": "142745", - "240a:abf6::/32": "145712", - "2606:f900:a201::/37": "812", - "2a0a:5dc0::/29": "51395", - "2a0b:5ec0::/29": "42926", - "2a0e:6a80::/29": "44486", - "2001:49f0:d001::/44": "174", - "2408:8459:50::/38": "17816", - "2001:559:760::/48": "33659", - "2801:15c:2::/48": "10753", - "2a07:4000::/29": "205639", - "2001:12f0:b40::/42": "1916", - "2406:2f00::/32": "132542", - "240e:473:2c00::/41": "140485", - "2a0e:fd45:4100::/34": "44103", - "2001:df5:6f80::/48": "141424", - "2001:1248:57a6::/43": "11172", - "2602:feb4:2a0::/36": "25961", - "2a02:26f7:dc8c::/48": "36183", - "2a09:d4c0::/29": "209070", - "2600:380:8f00::/40": "7018", - "2a01:b740:a1c::/48": "6185", - "2a03:4b40:5281::/37": "50710", - "2001:678:45c::/48": "213237", - "2405:b900:30::/44": "55701", - "2406:c80::/32": "132092", - "2620:116:800b::/48": "14618", - "2a02:6a80:5301::/44": "3245", - "2001:500:f1::/48": "198260", - "2800:8a0:4000::/32": "5722", - "2806:230:4035::/48": "11888", - "2a07:c400::/29": "34407", - "2607:fb90::/36": "21928", - "2804:20fc:2000::/32": "264525", - "2a0c:7e45:d430::/48": "20473", - "2a0d:ef01::/48": "212500", - "2403:200::/32": "45461", - "2a02:2478::/32": "51862", - "2c0f:f608:4000::/36": "21351", - "2001:df5:7a00::/48": "134663", - "2801:80:1320::/48": "263953", - "2804:7f7::/35": "10429", - "2001:67c:2d38::/48": "207576", - "2001:4998:19::/46": "10310", - "2804:200c::/32": "262815", - "2804:4d3c::/36": "267420", - "2804:6754::/32": "269620", - "2001:678:2::/48": "31529", - "2600:1f00:5000::/40": "16509", - "2a00:6060:8000::/48": "199881", - "2a04:4e40:7840::/43": "54113", - "2001:428:4004::/48": "32571", - "2408:8956:1000::/40": "17622", - "2409:8924:8700::/36": "56046", - "2605:a980::/48": "1996", - "2a01:328::/32": "31117", - "2a06:8c80::/29": "49223", - "240a:a276::/32": "143280", - "2620:74:1b::/48": "397213", - "2a02:26f7:ec4d::/46": "20940", - "2402:800:311d::/42": "7552", - "2406:3000:2:10a::/47": "4657", - "2604:c8c0::/36": "396045", - "2a00:eb0:100::/48": "61201", - "2001:43f8:1140::/47": "10310", - "2001:4878:242::/48": "12222", - "2401:4900:3da0::/44": "45609", - "2408:8957:6900::/40": "17816", - "2600:380:5380::/34": "20057", - "2600:141b:3801::/33": "20940", - "2804:fec::/32": "262493", - "2001:4d68::/32": "25441", - "2a0e:b107:2a0::/44": "31798", - "2400:a980:2400::/40": "133518", - "2603:4:1200::/48": "44273", - "2804:b08::/32": "28331", - "2a02:7a00:2::/48": "199604", - "2602:fdf4::/36": "62600", - "2604:6e00:2800::/37": "13977", - "2607:f480:211::/48": "27435", - "2400:3d80::/32": "56304", - "2407:6a00::/32": "18055", - "2804:6d14::/32": "270511", - "2a02:26f7:cb0d::/46": "20940", - "2a03:3780::/48": "203474", - "2a04:92c3::/29": "62240", - "2804:6da8::/32": "270547", - "2001:918:fff2::/48": "208813", - "2607:3a80:25::/48": "398480", - "2607:fcf0:6::/39": "13445", - "2620:f:8000::/48": "27500", - "2804:1bc:f047::/36": "10310", - "2804:214:2::/44": "26615", - "2804:a54:13::/45": "262664", - "2a01:280:3::/45": "12381", - "2606:2580::/32": "393994", - "2606:2800:533::/45": "15133", - "2804:6bd4::/32": "270428", - "2a00:1aa0::/32": "209480", - "2001:559:8382::/48": "7015", - "2001:4310::/32": "30983", - "240a:a9b5::/32": "145135", - "2604:d600:1306::/44": "32098", - "2620:10d:9000::/48": "25993", - "2a00:8b60::/32": "8440", - "2a09:bac0:160::/48": "13335", - "2600:1000:9010::/40": "22394", - "2606:4e00::/32": "396362", - "2620:22:a000::/48": "27580", - "2400:c540:c277::/39": "59238", - "2408:8406::/39": "4808", - "240a:ace7::/32": "145953", - "2602:fec2::/32": "16713", - "2804:6394::/32": "269370", - "2a0e:e40::/32": "208638", - "2001:559:c104::/48": "7725", - "2404:f4c0:fb00::/48": "139796", - "2606:680::/42": "46429", - "2607:d600::/32": "13576", - "2806:2f0:20a3::/48": "17072", - "2a02:26f7:b9a4::/48": "36183", - "2a06:3000:2000::/29": "28715", - "2001:c20:c841::/48": "3758", - "2405:3340::/48": "137856", - "2620:117:7000::/47": "26955", - "2a00:dac0::/32": "197765", - "2403:b840::/32": "138336", - "2803:8040::/32": "263749", - "2804:5a34::/39": "268755", - "2804:6c8c::/32": "270476", - "2001:df3:f980::/48": "132040", - "240a:a6f3::/32": "144429", - "240e:fc:f000::/31": "4134", - "240e:378:1a00::/34": "140330", - "2602:805:7000::/44": "40069", - "2a02:26f0:d401::/39": "20940", - "2a0c:ef00::/32": "212881", - "2a02:26f7:cd4d::/42": "20940", - "2402:800:7410::/42": "7552", - "2408:8459:ed30::/41": "17622", - "240a:a113::/32": "142925", - "2600:370f:34c0::/45": "32261", - "2602:801:3000::/47": "6556", - "2605:a40c:a::/42": "33363", - "2804:3bf8::/32": "266183", - "2001:559:61::/48": "7015", - "2804:5938::/32": "268176", - "2604:4cc0:11::/48": "20150", - "2804:df0:e00::/35": "262775", - "2a0e:b107:3f6::/47": "57883", - "2c0f:fd28::/32": "29091", - "2a0d:da07::/32": "53755", - "2001:4408::/45": "4758", - "240a:a364::/32": "143518", - "2803:6900:581::/48": "52423", - "2804:79cc::/34": "271328", - "2804:7c4c::/32": "271487", - "2806:230:2041::/48": "11888", - "2a02:16f8::/32": "24931", - "2600:80d:11::/46": "6984", - "2001:df1:2a00::/48": "134553", - "2402:800:9a01::/44": "7552", - "240e:44d:2600::/41": "140345", - "2a01:7b0::/32": "34752", - "2a0d:2100::/29": "204947", - "2600:6:ff40::/46": "10507", - "2607:a400:6::/47": "21859", - "2800:bf0:81e0::/44": "52257", - "2602:fe25:b::/36": "33174", - "2001:43f8:1d0::/48": "37288", - "240a:a8a6::/32": "144864", - "2600:1406:ac00::/48": "35994", - "2605:7c0:1006::/44": "19382", - "2605:dd40::/35": "398549", - "2a06:e881:5700::/40": "209619", - "2400:9380:8001::/48": "4134", - "2402:800:7520::/41": "7552", - "2605:d9c0::/32": "32361", - "2a09:da80::/29": "15830", - "2a0c:a300::/29": "44486", - "2001:678:27c::/48": "203369", - "2401:4900:3990::/44": "45609", - "240a:aed4::/32": "146446", - "240e:86:9000::/28": "4134", - "2606:c800::/32": "36012", - "2a09:4b00::/32": "35280", - "2a0b:5dc0::/29": "198288", - "2001:559:3e5::/48": "7922", - "2803:d100:9280::/37": "52362", - "2804:17c4:1014::/32": "263250", - "2804:6904:4000::/34": "270243", - "2806:230:2004::/48": "265594", - "2a03:9c00:a::/48": "43443", - "2a0b:e84::/30": "206537", - "2001:559:8529::/48": "33651", - "2402:800:31e0::/44": "7552", - "2404:3d00:413e::/41": "21433", - "240a:a50a::/32": "143940", - "240a:a6da::/32": "144404", - "2a07:e00::/48": "210083", - "2a0c:5a00::/29": "50304", - "2a0a:e5c0:c::/47": "209898", - "2402:ef03:1::/46": "7633", - "240e:983:1301::/36": "4134", - "2600:100b:f010::/39": "6167", - "2a03:4b80::/32": "21246", - "2c0f:fef8:11::/32": "15399", - "2001:559:c010::/47": "33287", - "2403:ec00:35::/48": "17806", - "2604:f880::/32": "62695", - "2803:5c80:6034::/48": "64114", - "2804:314:4015::/44": "61568", - "2804:20fc:30::/35": "264525", - "2a04:6540::/32": "200168", - "240a:a482::/32": "143804", - "2600:1419:fc01::/30": "20940", - "2803:3610::/32": "271951", - "2804:4010::/32": "265931", - "2001:67c:10dc::/48": "199215", - "2401:d800:fd30::/41": "7552", - "2409:8010:2100::/36": "9808", - "2610:e0:d000::/34": "2572", - "2a0b:7f00::/29": "44489", - "2001:559:57f::/48": "33660", - "2001:559:80aa::/48": "7922", - "2407:9800::/30": "10139", - "240a:a960::/32": "145050", - "2800:160:1c82::/44": "14259", - "2801:11:8800::/48": "19429", - "2a09:2340::/29": "43260", - "2a00:f826:8::/48": "200462", - "2a03:6580::/32": "19855", - "2a02:26f0:ee01::/35": "20940", - "2001:4878:4259::/48": "12222", - "2404:e801:101f::/42": "55430", - "2405:1c0:7961::/48": "135062", - "2406:e000:36a::/43": "23655", - "2408:8456:e810::/42": "134543", - "240a:ae29::/32": "146275", - "2804:4c14:aa01::/39": "267348", - "2a02:26f7:d541::/46": "20940", - "2804:2050:facf::/37": "264485", - "2804:5fc4::/32": "269122", - "2804:6274::/32": "269298", - "2806:230:200a::/48": "265594", - "2a02:26f7:f0c8::/48": "36183", - "2405:4cc1:e00::/40": "38794", - "2407:b000:4011::/48": "45682", - "2408:8957:4600::/40": "17622", - "2409:8924:c700::/30": "56046", - "2605:7280:7::/32": "54600", - "2804:604::/32": "262560", - "2a00:79e0:102::/37": "45566", - "2a02:68a0::/32": "201906", - "2a00:f440:a::/48": "29588", - "2a01:9700:1084::/46": "8376", - "2a02:26f7:e2c1::/46": "20940", - "2a0c:4144:100::/48": "25091", - "2a11:6800:1::/48": "204957", - "240a:a20e::/32": "143176", - "2804:6f0::/36": "53047", - "2001:559:324::/48": "33491", - "2800:160:11b5::/41": "14259", - "2a03:8c60::/46": "51920", - "2a0d:f600::/29": "202277", - "2804:1e20:10::/46": "264409", - "2806:260:4::/48": "13999", - "2a00:1378::/32": "8513", - "2a02:26f7:d6c0::/47": "36183", - "2001:559:c2c2::/48": "13367", - "2401:d800:79c0::/42": "7552", - "240a:a8fa::/32": "144948", - "2804:90c:7000::/48": "262617", - "2a0d:ac00:dc01::/48": "205202", - "2001:400:8823::/48": "291", - "240e:fb::/33": "4134", - "240e:3bb:7600::/39": "140313", - "240e:473:450::/39": "4134", - "2600:1f70:8000::/40": "14618", - "2a03:5540::/32": "61343", - "2001:559:280::/48": "21508", - "2607:da00:190::/36": "15164", - "2620:11c:d000::/47": "63161", - "2803:3b80:3000::/36": "263702", - "2c0f:f308::/32": "37223", - "2001:918:ff3f::/41": "3303", - "2804:2e8:3::/45": "262847", - "2804:719c::/32": "270800", - "2a02:26f0:d601::/40": "20940", - "2406:f400:b0::/44": "38001", - "2605:c900::/32": "26223", - "2607:fb10:7100::/43": "2906", - "2620:11c:f00d::/48": "393667", - "2804:4d90::/32": "268205", - "2001:67c:2464::/48": "39022", - "2607:fa40:2::/48": "6649", - "2804:14d:ba49::/43": "28573", - "2a00:1800::/32": "57728", - "2001:1260:10::/39": "13591", - "240a:a55b::/32": "144021", - "2600:1401:3::/45": "20940", - "2804:46e4::/32": "267018", - "2804:5110::/39": "268428", - "240a:a38a::/32": "143556", - "240e:3bd:8200::/35": "140316", - "2620:0:2a0c::/48": "40344", - "2620:62:4000::/46": "30045", - "2a07:3500:1778::/48": "34373", - "2a0f:85c1:40::/47": "212149", - "2408:8459:b830::/41": "17622", - "240a:a838::/32": "144754", - "2604:3400:ac01::/48": "209453", - "2001:978::/46": "174", - "2001:4958::/32": "577", - "2405:4f00::/32": "132432", - "2804:4c14:8b01::/35": "267348", - "2804:7b88::/32": "271437", - "2400:8800:4082::/39": "3491", - "2402:800:557f::/40": "7552", - "2403:8940:5::/44": "135817", - "2406:f400:100::/44": "38001", - "240a:ab61::/32": "145563", - "2606:2800:647::/48": "15133", - "2620:171:f00::/45": "42", - "2001:67c:614::/48": "50157", - "2801:80:2250::/47": "267626", - "2a05:1580:10::/46": "59874", - "2001:2e8::/32": "10013", - "2001:559:8474::/47": "7922", - "2001:67c:2088::/48": "20902", - "2001:c20:48a7::/44": "3758", - "2001:fd8:b2b0::/44": "4775", - "2a0a:51c0::/32": "31400", - "240a:a8e3::/32": "144925", - "2603:c010:2000::/36": "31898", - "2804:44c:e001::/35": "262761", - "2a05:3f40::/29": "60781", - "2001:559:84d4::/48": "33659", - "2001:df6:bd00::/48": "138069", - "240e:3b8:c800::/37": "4134", - "2600:1415:b801::/33": "20940", - "2606:6200:1c00::/48": "54351", - "2c0f:1000::/32": "328767", - "2a0e:97c5:468::/46": "20473", - "2001:559:c2aa::/48": "33651", - "2001:57a:1204::/47": "22773", - "240a:a222::/32": "143196", - "240e:473:3a00::/41": "140485", - "2804:46f0::/42": "267021", - "2a01:ab40::/29": "62275", - "2a02:29e0:108::/47": "49367", - "2001:4b99:1::/48": "203476", - "240a:40aa:c000::/35": "58834", - "2806:103e:10::/48": "8151", - "2408:8957:8300::/40": "17816", - "240a:a3cb::/32": "143621", - "2606:2d40::/32": "1239", - "2804:e94:1b8::/41": "262468", - "2402:3a80:f00::/35": "38266", - "2600:c0e::/34": "13789", - "2a01:a7c0::/32": "199606", - "2a02:26f7:d544::/48": "36183", - "2401:ff80:1483::/45": "133954", - "2405:1c0:6451::/46": "135062", - "240a:aebb::/32": "146421", - "2a02:da8::/32": "39906", - "2a0a:d6c0:134::/47": "208650", - "240a:afb5::/32": "146671", - "2600:1417:66::/47": "24319", - "2600:1fa0:c020::/44": "16509", - "2a00:8841::/32": "12365", - "2a06:6a00::/29": "20493", - "2001:559:83d0::/48": "33652", - "2620:4a::/48": "25739", - "2804:2480::/34": "264227", - "2001:67c:33c::/48": "5464", - "2401:ce80::/36": "14340", - "2602:fe0e::/36": "394378", - "2603:c0e8:2910::/40": "1218", - "2804:6030::/32": "269151", - "2408:8256:3c81::/43": "17623", - "240a:a15f::/32": "143001", - "2607:fe98::/32": "10947", - "2804:6260::/32": "269293", - "2a0e:1c80:f::/48": "3399", - "2a0f:2780::/29": "47362", - "2001:43c8::/32": "20928", - "2001:4de0:3005::/39": "33438", - "2a02:26f7:b748::/48": "36183", - "240a:a89d::/32": "144855", - "2607:fc88:100f::/32": "30475", - "2804:3fd8:8001::/33": "265919", - "2a06:e6c0::/29": "203143", - "2605:9d80:8011::/48": "4134", - "2a00:1d80::/32": "6789", - "2a02:6f00::/36": "197692", - "2001:559:7a0::/48": "33661", - "2001:678:74::/48": "55195", - "2001:1248:8409::/43": "11172", - "2402:5300:4110::/38": "45903", - "240e:c:6000::/37": "141771", - "2a01:758:1::/32": "3326", - "2a02:26f7:c35e::/42": "20940", - "2a0f:1ac0::/29": "60262", - "2405:7f00:b1a0::/33": "133414", - "2407:0:0:4::/64": "65066", - "2409:8750:900::/38": "56047", - "2606:e280::/32": "46687", - "2804:206c::/32": "264490", - "2a06:6a40::/29": "203924", - "2a0e:aa06:460::/44": "209215", - "240a:a5b0::/32": "144106", - "240a:a9a0::/32": "145114", - "2800:160:1e11::/46": "14259", - "2408:8956:4d00::/40": "17816", - "2409:800b:2904::/47": "9808", - "240a:a88c::/32": "144838", - "2605:32c0::/37": "5670", - "2620:12f:2080::/41": "32726", - "2803:4480:7000::/36": "263189", - "2001:67c:704::/48": "25522", - "2400:6280:12d::/48": "132280", - "240a:ac49::/32": "145795", - "2606:f100:9000::/33": "3300", - "2607:f0d0:6:1::/35": "36351", - "2a02:2b10::/32": "24992", - "2620:149:fa::/45": "714", - "2800:160:157a::/40": "14259", - "2804:104c:2000::/40": "263629", - "2804:7940::/32": "271294", - "2a02:ea80::/32": "52195", - "2a05:4200:4::/47": "21534", - "2a0b:4581::/48": "16509", - "2408:8459:8430::/41": "17622", - "2606:2800:4a8c::/48": "15133", - "2620:9a:e000::/48": "399879", - "2804:7f74::/32": "271689", - "2a00:65c0:2::/32": "25156", - "2409:8e15:8000::/35": "56044", - "2a02:e90::/32": "15389", - "2404:b0:2002::/32": "4750", - "2406:840:f990::/44": "208618", - "2620:0:b60::/48": "17204", - "2804:3090::/32": "264961", - "2804:7650::/32": "271103", - "2a04:6d40::/47": "197888", - "2001:b08:f::/43": "3267", - "2402:800:5d55::/42": "7552", - "2600:1408:c401::/38": "20940", - "2c0f:e818::/32": "328475", - "2001:559:c3f1::/48": "33659", - "2001:978:2202:1::/47": "174", - "2001:df5:b380::/48": "139559", - "2605:6ac0:4000::/36": "32751", - "2607:2a00:2::/48": "3584", - "2a0d:40c0:8100::/33": "203448", - "2001:df4:6180::/48": "132515", - "240a:ad41::/32": "146043", - "2600:6c2e:125::/37": "20115", - "2804:4358::/32": "267564", - "2001:559:81ed::/48": "33668", - "2001:dc7:dd02::/45": "24151", - "240e:e1:c300::/35": "4812", - "2a0d:77c7:88e3::/33": "7489", - "2602:feb4:10::/42": "25961", - "2801:80:2360::/47": "267310", - "2803:6320::/32": "264825", - "2a02:16e8::/32": "31376", - "2001:559:207::/48": "33652", - "2401:c500:fd02::/48": "54994", - "2600:140f:d000::/48": "9498", - "2001:559:83b0::/48": "33659", - "2001:c20:48a3::/48": "3758", - "2404:3d00:414c::/47": "21433", - "2602:fed5:5::/36": "27398", - "2610:a1:1071::/48": "397228", - "2800:160:1531::/41": "14259", - "2804:6580::/32": "269495", - "2a01:9500::/40": "197696", - "2402:800:57a9::/43": "7552", - "2409:8924:c100::/38": "56046", - "2409:8c85:aa0c::/48": "56042", - "2409:8c85:aa4d::/43": "9808", - "2606:5000:a00::/39": "209", - "2620:11b:e0bf::/41": "3356", - "2800:160:228c::/39": "14259", - "2a02:458::/32": "25182", - "2402:6f40::/48": "45079", - "240e:108:1171::/46": "139201", - "2603:c0f1::/36": "6142", - "2607:fc48:c40::/48": "40009", - "2804:74a4::/32": "270994", - "2806:2f0:4024::/41": "17072", - "2a0c:b641:16b::/45": "211139", - "240a:a4ae::/32": "143848", - "2605:c000::/32": "7393", - "2a02:2e02:c40::/43": "12479", - "2a05:26c0::/40": "201536", - "2a10:8640::/32": "198525", - "2001:57a:102::/47": "26008", - "2402:600::/35": "38515", - "240e:f9:c000::/30": "134774", - "2605:1bc0::/32": "16400", - "2606:4a00:1100::/40": "18572", - "2a00:1288:efc2::/47": "10310", - "2a03:1e80:f801::/48": "8767", - "2001:67c:13f4::/48": "3246", - "2a02:2e02:1af0::/39": "12479", - "240a:af65::/32": "146591", - "2806:230:4001::/48": "11888", - "2a01:47c2::/32": "12301", - "2806:230:300b::/48": "11888", - "2a02:21a8::/47": "61323", - "2a02:26f0:1701::/40": "20940", - "2a02:dc00:202::/48": "15493", - "2001:559:855d::/46": "7015", - "2406:d500:6::/48": "136557", - "2409:4051:3000::/33": "55836", - "2602:fe21::/36": "394304", - "2804:4508::/32": "267668", - "2a00:f120::/32": "200026", - "2001:fd0:2401::/35": "10029", - "2402:800:b890::/42": "7552", - "240a:a2eb::/32": "143397", - "2804:472c::/32": "269236", - "2a02:26f7:c3d1::/46": "20940", - "2a03:ae60:8::/32": "202847", - "2407:7700::/32": "132354", - "2a02:1758::/29": "39781", - "2a02:26f7:da44::/48": "36183", - "2a04:f580:9010::/48": "4809", - "2001:559:c0ff::/48": "33660", - "2406:daa0:c020::/44": "16509", - "2a00:1b78::/32": "39087", - "2a02:502::/32": "5538", - "2001:559:8113::/45": "7922", - "2604:87c0::/32": "32267", - "2620:1ec:8f1::/45": "8075", - "2804:868::/34": "28649", - "2a00:1d58::/34": "47524", - "2804:7c58::/32": "271490", - "2a00:e400::/29": "35258", - "2001:559:c225::/48": "33491", - "2605:f440:bef0::/33": "54874", - "2804:564::/32": "20044", - "2a00:12e8::/32": "29014", - "2a02:26f7:e348::/48": "36183", - "2001:67c:2ee4::/48": "28773", - "2408:8957:6c00::/40": "17622", - "2804:64b0:4000::/36": "269442", - "2a02:26f7:f90d::/42": "20940", - "2a06:98c1:55::/46": "13335", - "2a0a:5940::/48": "207080", - "2001:559:86ae::/48": "7922", - "2001:c20:4887::/48": "9255", - "2a01:c50f:1200::/37": "12479", - "2a03:db80:5465::/32": "680", - "2a0d:2904::/44": "205651", - "2001:df3:bc00::/48": "59113", - "2001:1248:5a2b::/45": "11172", - "2402:800:391d::/42": "7552", - "2604:c0c0::/35": "14525", - "2606:2800:4a9c::/46": "15133", - "2607:5600::/32": "31863", - "2001:dd8:25::/48": "45494", - "2406:b700::/32": "58504", - "2602:fcef::/41": "398984", - "2602:ffc5:103::/48": "7489", - "2800:c30:ad00::/40": "265705", - "2001:559:83a6::/48": "33660", - "2401:d800:be90::/42": "7552", - "2408:8456:ef00::/42": "17622", - "2409:8061:1100::/36": "9808", - "2602:ff93:5000::/36": "26968", - "2a06:c080::/29": "60111", - "2803:9100::/32": "52409", - "2804:2144:3::/39": "52795", - "2804:4fec::/32": "268358", - "2a06:d00::/29": "200689", - "2804:52dc::/32": "268546", - "2a00:4180:1::/46": "56665", - "2a01:b740:a26::/48": "6185", - "2001:1248:5900::/43": "11172", - "2602:ffc5:35::/41": "7489", - "2804:14d:6800::/40": "28573", - "2a06:1287:30::/44": "203909", - "2408:8459:cf30::/41": "17622", - "2a05:1c40::/29": "203208", - "2001:559:c1fa::/48": "7015", - "2001:678:ddc::/48": "212989", - "240a:a195::/32": "143055", - "2602:ff7a:fef::/32": "394144", - "2a02:26f7:f805::/46": "20940", - "2a03:5640:f227::/37": "2906", - "2001:67c:137c::/48": "49638", - "2402:e280:2167::/44": "134674", - "2409:8e28::/29": "56041", - "2606:2800:4ad4::/46": "15133", - "2620:4e:4000::/48": "18472", - "2a0f:e6c0:a::/48": "60781", - "2a10:9902:730::/46": "211972", - "2001:559:1c8::/48": "7725", - "2001:579:1c08::/42": "22773", - "2405:68c0:21::/48": "139179", - "2408:84f3:ea40::/35": "17816", - "240a:a4df::/32": "143897", - "2600:40fc:1004::/44": "701", - "2600:1001:b1d0::/44": "6167", - "2801:80:2540::/48": "268558", - "2001:400:6411::/41": "293", - "2001:4c50::/32": "35244", - "2600:6c7f:9030::/48": "20115", - "2607:fdb8:2::/47": "30496", - "2c0f:f780::/32": "327805", - "2001:1248:5abe::/41": "11172", - "2a02:26f7:b948::/48": "36183", - "2a02:26f7:e240::/48": "36183", - "2a09:5080::/48": "42652", - "2a0a:a140::/48": "206446", - "2001:559:27c::/47": "33652", - "2401:d800:de10::/42": "7552", - "2801:80:37c0::/48": "269560", - "2804:3dc8::/32": "266553", - "2804:82bc::/32": "272537", - "2a03:d9c0:c0de::/48": "3214", - "2806:2f0:50c1::/42": "17072", - "2a00:9801:e002::/35": "51178", - "2001:df0:95::/48": "7667", - "2402:3780:2::/47": "132789", - "2408:8459:7250::/37": "17816", - "2a02:26f7:bc::/48": "36183", - "2a04:9f80::/29": "5432", - "2408:8456:7a40::/39": "17816", - "2403:2c00::/45": "4058", - "2403:cfc0:1000::/46": "135134", - "2607:a680::/45": "395092", - "2620:1e0:ffff::/48": "14145", - "2001:480:630::/48": "84", - "2001:559:80a4::/48": "33659", - "2600:6c38:e3b::/45": "20115", - "2a00:dd80:10::/48": "36236", - "2001:559:5b1::/48": "22909", - "2001:579:d124::/41": "22773", - "2001:43f8:1430::/48": "37520", - "2804:16f8::/32": "263111", - "2a06:d500::/29": "51184", - "2a0e:bb40::/48": "51013", - "2c0e:2208::/30": "37457", - "240e:108:86::/48": "136195", - "2804:2270::/32": "264100", - "2a02:26f7:cb81::/46": "20940", - "2a0d:2683::/36": "207268", - "2a00:1e70::/32": "50858", - "2a0a:adc0::/47": "50705", - "2001:fd8:3002::/47": "132199", - "2407:3e00:c000::/48": "24075", - "2409:8078:100::/35": "9808", - "2409:8924:3300::/37": "56046", - "2620:0:f02::/41": "6431", - "2804:55bc::/32": "267953", - "2804:72b0::/32": "270869", - "2001:500:15::/48": "715", - "2406:2a40::/32": "140734", - "240a:aeda::/32": "146452", - "2620:12b:d005::/46": "35873", - "2620:171:5d::/48": "42", - "2a00:1e68:113::/31": "42861", - "2a0c:9a40:1008::/47": "34927", - "2620:113:8000::/41": "3680", - "2a01:7d00::/32": "15450", - "2001:1490:101::/46": "8895", - "2401:3bc0:100c::/32": "137409", - "2409:8c28:a2c1::/39": "56041", - "240a:af74::/32": "146606", - "2607:3180:2::/32": "14877", - "2a02:26f7:bb48::/48": "36183", - "2a05:a000:3::/29": "44322", - "2001:4878:4321::/45": "12222", - "2804:14d:a000::/40": "28573", - "2804:5a30:8000::/36": "268754", - "2a0e:c80:403::/48": "40676", - "2a0b:bb40::/32": "28725", - "2001:559:c226::/48": "7922", - "2001:67c:21f8::/48": "34964", - "2001:44b8:30d8::/46": "7545", - "2400:a980:a100::/29": "133111", - "2602:fe19::/43": "26073", - "2620:c:4000::/48": "14834", - "2a02:50c0::/40": "29355", - "2402:c800:fff7::/48": "38639", - "2409:8054::/31": "56040", - "2606:1a40:2012::/47": "42473", - "2804:8080::/32": "271754", - "2a02:26f7:f3c5::/46": "20940", - "2607:cc80::/35": "25664", - "2620:0:1605::/48": "6984", - "2605:72c0:a000::/36": "396865", - "2800:4d0:2490::/44": "52489", - "2804:4594::/32": "266936", - "2a0b:20c0:3000::/32": "205766", - "2001:559:59e::/48": "7725", - "2001:559:8693::/48": "7015", - "2800:160:10b2::/41": "14259", - "2a07:e380::/29": "203561", - "2001:1930:7c08::/48": "11985", - "2800:484:6100::/37": "14080", - "2800:680:11::/48": "263719", - "2a0e:8780::/29": "60262", - "2600:6c38:e3::/45": "20115", - "2801:140:49::/48": "262249", - "2a01:5040:2021::/36": "43996", - "2a02:2528::/34": "25091", - "2001:559:514::/48": "20214", - "2801:0:180::/48": "19429", - "2a0a:da40::/29": "8553", - "2001:b28:f23d::/48": "59930", - "240e:980:4100::/40": "4811", - "2800:200:bd50::/33": "12252", - "2a03:f80:47::/44": "9009", - "2a0c:3080::/48": "204809", - "2a0f:efc1::/32": "42160", - "2001:559:80bf::/48": "33652", - "240a:aacb::/32": "145413", - "2605:a900:4806::/47": "46887", - "2801:80:23d0::/48": "268203", - "2001:1248:a61e::/41": "11172", - "2408:840c:1a00::/40": "17621", - "2605:82c0::/32": "6954", - "2a0c:9e40:1::/46": "60781", - "2402:1500::/33": "4819", - "2404:f4c0:facf::/48": "142284", - "2a00:e900::/29": "41175", - "2401:ff80:110f::/43": "133954", - "2a0f:8444::/32": "16262", - "2c0f:fc89:e1::/39": "36992", - "2602:fd6f:aaa::/45": "18526", - "2605:9880::/38": "23470", - "2607:e400:2908::/32": "7459", - "2a03:7380:1e80::/42": "13188", - "2001:559:82a6::/47": "7922", - "2401:b0c0:1000::/43": "136941", - "2800:400::/46": "27668", - "2800:be0:3e8::/37": "267848", - "2804:2f5c::/32": "264886", - "2a02:26f7:f104::/48": "36183", - "2a0f:b9c1:104::/44": "207574", - "2402:7ac0::/32": "137316", - "2409:801e::/34": "24400", - "2606:4f00:2::/48": "19324", - "2804:22fc::/32": "52612", - "2408:8256:2f60::/44": "17623", - "2804:1648::/32": "263278", - "2a00:1a60::/32": "15826", - "2a05:f507:45::/48": "13443", - "2001:550:b701::/36": "174", - "2001:559:12b::/48": "33654", - "2602:ff12::/36": "62529", - "2800:bf0:80e8::/45": "52257", - "2804:1e48:9004::/33": "4809", - "2a0b:b7c0::/29": "57717", - "2a0e:b107:6e9::/48": "60998", - "2402:800:53e0::/44": "7552", - "2a0a:1000::/29": "31507", - "2a0f:1e00::/29": "60781", - "2001:67c:24e8::/47": "47749", - "2001:2010::/30": "3308", - "2001:4410:2004::/43": "132040", - "2406:da11::/36": "16509", - "2a02:ac80:f1::/39": "25145", - "2a0a:73c0::/29": "207006", - "2803:cae0::/48": "270046", - "2804:809c::/32": "271762", - "2a03:522::/32": "201419", - "2001:468:c08::/45": "10886", - "2001:502:8c25::/48": "7342", - "2804:1478::/32": "263332", - "2a0a:9e00:a::/47": "61317", - "2001:559:847e::/48": "33657", - "2001:678:920::/48": "209487", - "2001:67c:2f84::/48": "44496", - "2001:6a8:be01::/33": "2611", - "2600:1014:b070::/40": "22394", - "2606:2800:400c::/48": "15133", - "2803:5c80:5034::/48": "64114", - "2604:d600:108c::/39": "32098", - "2804:5284::/46": "268523", - "2a02:fa8:8800::/40": "41041", - "2001:48c8:8::/43": "29791", - "2804:27b0::/32": "263917", - "2a01:e09::/32": "29447", - "2a0c:9b40::/29": "202499", - "2001:550:3c01::/39": "174", - "2800:160:111a::/42": "14259", - "2804:14c:5ba5::/41": "28573", - "2a05:7a80::/29": "204269", - "2a0f:7680::/29": "42316", - "2001:4488:fd62::/38": "7713", - "2a02:26f7:c604::/48": "36183", - "2a0a:90c0:104d::/43": "205080", - "2c0f:eb90::/32": "327892", - "2001:128c::/37": "25933", - "2401:d800:f170::/40": "7552", - "2600:1480:7800::/48": "21342", - "2803:1a80::/32": "28317", - "2a04:ff00:501::/40": "206607", - "2a09:97c0::/48": "34775", - "2001:fd8:3330::/44": "4775", - "2600:140f:e001::/38": "20940", - "2607:f928:13::/45": "22645", - "2804:650::/32": "262558", - "2001:559:859b::/48": "7015", - "2408:8456:de40::/34": "17816", - "2603:c0ee::/35": "54253", - "2605:f500::/39": "1828", - "2800:440:8040::/47": "27738", - "2804:28e4::/43": "28260", - "2407:500::/45": "58940", - "240a:a9d3::/32": "145165", - "2604:11c0:400::/40": "395822", - "2801:80:1340::/48": "264029", - "2a02:26f7:b989::/48": "20940", - "2a09:bd00:ffbc::/48": "42385", - "2605:9780:40::/48": "393544", - "2a02:1720::/32": "197219", - "2a0d:fd40:57::/29": "14630", - "2406:840:44::/47": "139317", - "240e:13:7800::/29": "4134", - "2605:6400:4000::/32": "53667", - "2610:20:8060::/45": "3477", - "2800:68:1aa6::/32": "61468", - "2a02:26f7:e200::/48": "36183", - "2a03:2881:10::/33": "32934", - "2408:8256:3271::/48": "17623", - "2803:a040::/39": "263750", - "2a0c:b641:780::/44": "207301", - "2806:2f0:1021::/46": "22884", - "2403:b9c0::/48": "131636", - "2607:f038:4016::/34": "21527", - "2400:7400:4b::/43": "38044", - "2401:1d40:2f00::/48": "4811", - "2602:fcbc::/48": "14618", - "2804:2018::/32": "264464", - "2804:6ab0::/32": "270353", - "2a03:8fa0::/36": "35258", - "2a09:3dc0::/29": "209439", - "2a0a:b680::/29": "51815", - "2400:e800:1000::/36": "17564", - "2401:4900:33a0::/41": "45609", - "2407:9440:42::/43": "141626", - "240a:ad2f::/32": "146025", - "2803:5260::/32": "267870", - "2a00:1410::/32": "39264", - "2a02:b28::/29": "42605", - "2a0d:8d07::/32": "44103", - "2001:559:c12b::/48": "7922", - "2400:300:9::/48": "4766", - "2606:7380::/32": "11763", - "2803:7000:9000::/33": "52362", - "2409:8914:f00::/35": "56044", - "2604:5500:5000::/38": "19165", - "2606:2800:422c::/48": "15133", - "2803:7140::/32": "264639", - "2a0b:6b84::/35": "200639", - "2a0d:9a80:100::/38": "49959", - "2001:388:30::/48": "137188", - "2001:44b8:4034::/47": "7545", - "2402:7b40::/32": "132894", - "2401:4900:2ec0::/39": "45609", - "240a:afa0::/32": "146650", - "2804:6558::/32": "269484", - "2a03:bdc0::/32": "30781", - "2a0f:9200::/31": "45009", - "2409:8000:800::/40": "56048", - "240a:a711::/32": "144459", - "2604:f740::/32": "397041", - "2600:6000:feb4::/39": "12271", - "2620:12:6000::/48": "174", - "2a02:2ad8:120::/33": "702", - "2c0f:fa58::/32": "37356", - "2001:678:7c::/48": "51955", - "2600:1408:8::/46": "20940", - "2001:1248:709c::/42": "11172", - "2001:67c:2318::/48": "57057", - "240a:a562::/32": "144028", - "2804:6138::/32": "269221", - "2a00:86c0:2008::/47": "40027", - "2a06:8200::/32": "208355", - "2a0b:4d07:201::/46": "44239", - "2a01:320::/29": "31252", - "2001:559:317::/48": "33489", - "2001:559:8142::/48": "33491", - "2001:559:8223::/48": "33287", - "2001:559:c38e::/48": "7922", - "2001:4998:efeb::/48": "36646", - "2600:400:1810::/34": "15147", - "2804:2a5c::/32": "264071", - "2c0f:ef98::/32": "328359", - "2001:559:c01c::/48": "33657", - "2001:4160::/32": "8586", - "2408:8459:c850::/39": "17816", - "2620:13f:5000::/48": "397592", - "2a0b:4340:93::/48": "205610", - "2a10:a00::/32": "209208", - "240a:3:bcc::/48": "9605", - "2800:160:1bc9::/43": "14259", - "2402:800:562b::/41": "7552", - "2402:800:7720::/41": "7552", - "2409:8000:5b00::/40": "9808", - "2804:54d0::/32": "268671", - "2a0b:1040::/29": "50582", - "2001:67c:2db8::/48": "39798", - "2405:200:b00::/31": "55836", - "2600:1417:c001::/36": "20940", - "2804:fe0:24a0::/44": "263049", - "2a02:26f7:c895::/42": "20940", - "2001:b28:f23f::/48": "62014", - "2408:8459:6030::/41": "17622", - "2600:6c29::/30": "20115", - "2a0e:b105:5f8::/38": "20473", - "2001:67c:15e0::/48": "50360", - "2605:9000::/32": "10929", - "2804:5320::/32": "268565", - "2a02:c500::/31": "199246", - "2001:1998:6f0::/44": "16787", - "2600:1007:f110::/36": "22394", - "2804:908::/36": "263047", - "2a05:6c0::/36": "203043", - "2402:8100:20c3::/45": "45271", - "240a:a189::/32": "143043", - "2600:1002:d050::/34": "22394", - "2607:6d00::/32": "1798", - "2a00:4802:ab0::/41": "13124", - "2a0e:b107:9f0::/44": "208958", - "2406:840:e11a::/48": "141712", - "2600:1004:d000::/42": "6167", - "2602:210::/32": "11290", - "2602:febc::/36": "398491", - "2804:b0c:f003::/36": "52935", - "2a00:1718::/32": "25176", - "2a02:26f7:f489::/42": "20940", - "2001:bf0:41::/42": "12732", - "2a0e:6080::/48": "212745", - "2001:1698::/32": "34683", - "2801:f0:16::/48": "263134", - "2a03:aa80::/32": "48479", - "240a:a639::/32": "144243", - "2606:b400:8804::/48": "7160", - "2620:10f:b000::/48": "4185", - "2804:6a04::/41": "270306", - "2804:4790::/32": "267062", - "2a03:c2c0::/32": "61205", - "2a05:1c00::/29": "6718", - "2a0d:f302::/32": "40994", - "2408:8956:7d00::/40": "17816", - "2605:a5c0::/32": "54161", - "2804:49c:4203::/48": "7162", - "2a05:b2c0::/31": "12859", - "2401:5800::/32": "24481", - "2803:f960::/32": "269749", - "2804:41b4:5000::/32": "267451", - "2a03:a420::/32": "51007", - "2a0c:b641:1d0::/48": "211227", - "2001:559:772::/48": "7016", - "2801:80:37f0::/48": "269607", - "2804:10c0::/32": "263647", - "2a0e:46c4:2c3e::/47": "142597", - "2600:6c7f:9002::/48": "20115", - "2605:4680::/32": "54665", - "2620:57:4000::/46": "62831", - "2a00:1ed8::/29": "41073", - "2401:d800:2f40::/42": "7552", - "2408:8956:e800::/40": "17622", - "240e:980:2c01::/40": "4134", - "2600:140f:ac01::/38": "20940", - "2604:5e80::/43": "8", - "2a00:be00::/32": "29226", - "2a03:c940::/32": "52142", - "2804:3298::/32": "265087", - "2804:4bf0::/32": "61590", - "2804:75c0::/32": "271067", - "2001:428:4407::/48": "706", - "2001:978:5300:1::/47": "174", - "2001:1838:5002::/48": "13331", - "2402:800:347f::/40": "7552", - "2405:9800:d007::/48": "133848", - "240e:27f::/48": "134773", - "2a03:29c0:c000::/34": "61189", - "2001:df2:f980::/48": "17439", - "2001:e68:20db:12::/32": "4788", - "2804:3b48::/32": "52591", - "2a0e:c680::/32": "208654", - "2400:6280:11e::/48": "132280", - "2401:d800:d340::/42": "7552", - "2408:8459:2e10::/44": "17623", - "2605:4c0::/32": "6939", - "2620:1e:8000::/48": "26135", - "2804:451c::/32": "267673", - "2a0d:82c0::/31": "47787", - "2001:559:8148::/48": "20214", - "2a02:27a9::/32": "21100", - "2a0c:a340::/29": "50673", - "2403:4540::/32": "137991", - "2406:5e00::/47": "38456", - "2408:8956:6400::/40": "17622", - "2a0b:ddc0::/29": "59970", - "2001:16a2:4700::/36": "39386", - "2a04:a240::/29": "61351", - "2a0d:2902:caf9::/45": "204185", - "2404:7e80:3000::/48": "132717", - "2801:0:190::/48": "264630", - "2a07:fe00::/29": "3214", - "2408:8206:a840::/31": "4808", - "240a:a9b2::/32": "145132", - "2610:1c1:2::/32": "11403", - "2a02:26f7:da0c::/48": "36183", - "2001:418:149e::/36": "2914", - "2001:13c7:6009::/48": "52332", - "2001:559:870b::/48": "7922", - "2801:80:3540::/48": "268850", - "2804:1324::/32": "263518", - "2a0b:4342:1a32::/44": "57695", - "2001:559:82b1::/48": "33668", - "2401:ff80:140b::/45": "133954", - "2800:110:10::/48": "42", - "2806:20d:5025::/44": "32098", - "2a00:b2c0:fade::/48": "2611", - "2a01:280:338::/48": "42303", - "2a0a:f640::/32": "213155", - "2405:203:888::/43": "55836", - "2405:a100:10::/41": "131283", - "2600:1404:27::/44": "20940", - "2604:99c0::/32": "397790", - "2001:559:1c7::/48": "33287", - "2409:8002:1800::/40": "38019", - "2600:6c38:245::/43": "20115", - "2803:f0c0::/32": "264773", - "2a01:8840:29::/48": "207266", - "2a02:26f7:4f::/48": "20940", - "2001:559:84b6::/48": "33656", - "2408:8459:4010::/42": "17623", - "240a:a6bb::/32": "144373", - "2804:6c38::/32": "270453", - "2a00:4b00:22d::/48": "136772", - "2408:8459:cc10::/42": "17623", - "240e:967:e400::/39": "133775", - "2800:160:1336::/44": "14259", - "2a02:6a00::/32": "25276", - "240a:a484::/32": "143806", - "2607:fcd0:fa80:2118::/62": "8100", - "2620:123:9002::/45": "394976", - "2803:4600:2000::/32": "14754", - "2a0e:b107:fe0::/44": "138435", - "2402:e400::/32": "4851", - "2804:5be0::/32": "268874", - "2001:4878:2151::/48": "12222", - "2408:80fa:4000::/34": "17816", - "2409:8904:a640::/39": "24547", - "2600:1417:2001::/36": "20940", - "2806:230:1006::/48": "265594", - "2a0e:c640::/29": "208386", - "2001:67c:58c::/48": "212801", - "2001:1248:98b4::/48": "11172", - "2001:4070:8000::/33": "12831", - "2800:160:117f::/40": "14259", - "2804:5a14::/32": "268747", - "2a00:54e0::/32": "199324", - "2001:ac0:c801::/34": "8903", - "2a02:2808:2601::/48": "35165", - "2001:559:4c2::/48": "7015", - "2405:7f80::/32": "137510", - "2600:380:2900::/35": "20057", - "2620:64::/48": "36811", - "2a0d:4300::/47": "204920", - "2600:140f:2401::/39": "20940", - "2804:10a0::/40": "28173", - "2806:2f0:2043::/48": "17072", - "2a02:26f7:1d::/48": "20940", - "2001:1b70:a1::/48": "158", - "2001:43f8:1000::/48": "328739", - "240a:ab1a::/32": "145492", - "2a02:26f7:dc8d::/42": "20940", - "2a03:e580::/32": "49282", - "2a10:fc80::/29": "47447", - "2401:d800:7870::/40": "7552", - "2600:1409:4801::/35": "20940", - "2a04:9a00:104e::/47": "212157", - "2001:67c:1050::/48": "58130", - "2408:8756:3af3::/33": "17816", - "2604:cfc0::/32": "40209", - "2406:3540:ffec::/46": "18041", - "240a:aad4::/32": "145422", - "240e:1f:8001::/48": "58543", - "240e:40:14::/48": "139767", - "2602:fd7d::/47": "16925", - "2a03:d280::/32": "197133", - "2a07:8500::/32": "1104", - "2408:8459:1b50::/37": "17816", - "240a:a5c9::/32": "144131", - "2602:fed2:770c::/46": "53356", - "2607:3200::/43": "11240", - "2a10:2a80:1ab::/48": "207727", - "2a10:5f00::/29": "398559", - "2a02:b8:234::/32": "25273", - "2a04:9a00:1114::/48": "198730", - "2a0f:93c0::/29": "62240", - "2405:1a00::/32": "24492", - "2408:8957:f140::/40": "17816", - "2602:200::/32": "7992", - "2804:736c::/32": "270914", - "2a02:2e02:1270::/40": "12479", - "2607:f038:400d::/43": "21527", - "2a00:6400::/32": "197558", - "2a02:26f7:d540::/48": "36183", - "2001:559:179::/46": "7922", - "2602:fd7d:20::/39": "16925", - "2605:1980:401::/48": "13767", - "2804:7b4::/32": "262314", - "2001:480:501::/48": "37", - "2001:4de0:2106::/47": "26769", - "240a:afa2::/32": "146652", - "2600:1900:4040::/44": "396982", - "2806:2f0:71a1::/41": "17072", - "240e:980:9600::/40": "58542", - "2804:433c::/32": "267557", - "2a0f:9980:195::/48": "40676", - "2a0e:d340::/48": "48345", - "2409:8c44:1b00::/48": "9808", - "2803:9800:a039::/40": "11664", - "2a02:26f7:e984::/48": "36183", - "2a02:d500::/29": "48596", - "2a05:3343::/46": "36351", - "2a07:3740::/29": "47132", - "2a0d:5080::/31": "62240", - "2806:230:2031::/48": "11888", - "2a02:bc8::/42": "8641", - "2402:e280:2159::/46": "134674", - "240e:3ba:dc00::/34": "4134", - "240e:698:4500::/40": "58461", - "2620:0:2e50::/44": "15088", - "2001:559:8379::/48": "33287", - "240e:3b0:f100::/36": "4134", - "2a02:26f7:c6c6::/47": "20940", - "2401:1c00:5100::/34": "38809", - "2a00:ece1:2::/48": "43474", - "2a02:26f7:de00::/48": "36183", - "2a02:26f7:f9c4::/48": "36183", - "2a02:ed04:4410::/39": "50304", - "2001:559:8168::/48": "33662", - "240a:a149::/32": "142979", - "240a:ad4f::/32": "146057", - "240e:40:d::/43": "4134", - "2605:a404:210::/45": "33363", - "2804:df4:9001::/33": "52531", - "2a01:41c0::/32": "199092", - "2400:6280:147::/48": "132280", - "2607:da00:802::/32": "15164", - "2a02:45c0:7::/43": "59675", - "2001:448a:3070::/33": "7713", - "240a:af3c::/32": "146550", - "2803:c180::/32": "52341", - "2a07:1b80::/40": "42473", - "2620:58:4c00::/48": "6122", - "2804:7ae8::/45": "271399", - "2a02:26f7:f8c4::/48": "36183", - "2a07:8180::/29": "202680", - "240a:a9b3::/32": "145133", - "2600:1006:f150::/31": "22394", - "2001:253:114::/48": "142080", - "240a:af56::/32": "146576", - "2600:9000:2167::/40": "16509", - "2a09:dd40::/32": "205718", - "2a0d:7980:100::/40": "48635", - "2001:468:c00::/45": "10886", - "2001:559:34f::/43": "33651", - "2001:978:2801::/39": "174", - "2406:e540::/48": "140766", - "2606:2800:4acc::/48": "15133", - "2620:11a:e000::/46": "22300", - "2804:11e8::/32": "52752", - "2001:470:5b::/45": "6939", - "2804:33c0::/32": "265415", - "2806:2f0:3144::/42": "17072", - "2001:559:c385::/48": "33657", - "2800:320:8403::/45": "27882", - "2408:840c:1e00::/40": "17621", - "240a:a257::/32": "143249", - "2c0f:fcc8::/32": "37154", - "2402:800:588d::/43": "7552", - "240a:a5fb::/32": "144181", - "2620:10a:4003::/48": "17394", - "2801:114::/45": "23059", - "2804:3c08::/32": "266186", - "2804:43f8::/32": "267613", - "240a:a5d1::/32": "144139", - "2806:2f0:3201::/42": "17072", - "2a00:e080::/32": "15557", - "2a06:1440::/29": "30892", - "2a0b:f8c0::/29": "44297", - "2604:d600:1105::/44": "32098", - "2606:f900:7608::/32": "812", - "2806:268:380:b::/37": "13999", - "2c0f:fe08::/39": "36914", - "240a:a469::/32": "143779", - "2604:b800::/32": "30029", - "240a:a477::/32": "143793", - "2606:2800:4a20::/46": "15133", - "2804:25f4::/32": "52800", - "2405:1480:1000::/48": "4811", - "2409:8907:6d20::/38": "24547", - "240e:878:400::/30": "4134", - "2607:fb90:db00::/37": "21928", - "2a02:9b8::/31": "5610", - "2001:678:3dc::/48": "39508", - "2402:93c0:20::/48": "59073", - "240a:a219::/32": "143187", - "240e:982:d800::/40": "134769", - "2620:13e:500f::/48": "206885", - "2800:940:943::/32": "27953", - "2803:2540:e::/47": "264668", - "2a02:aec0:5::/44": "57363", - "2a0f:4640::/29": "200750", - "2604:2a00::/32": "23138", - "2604:9100:1002::/32": "29944", - "2806:230:1003::/48": "11888", - "2a04:7340:7341::/29": "62172", - "2a0c:b641:26b::/45": "59598", - "2a02:40::/32": "9009", - "2402:800:39ee::/38": "7552", - "2407:c180::/32": "135664", - "2602:fea3::/36": "399611", - "2606:4700:7000::/48": "13335", - "2804:840::/32": "262680", - "2804:67ac::/45": "269643", - "2806:230:401d::/48": "11888", - "2a04:4b40::/29": "60476", - "2a06:1783::/32": "202134", - "2001:559:836d::/48": "33652", - "2404:f4c0:f3bb::/48": "139299", - "2407:6400::/32": "9484", - "2603:c002:8350::/36": "31898", - "2804:7970::/32": "271305", - "2a03:2480::/41": "41983", - "2a0d:3c0::/29": "201211", - "2a03:2260:4000::/30": "201701", - "2001:67c:2cd4::/48": "29229", - "2408:8456:9040::/38": "17816", - "2408:870c:d0::/42": "138421", - "2409:804f:3900::/32": "9808", - "2409:8051:100::/37": "9808", - "240a:a329::/32": "143459", - "2607:f110:e430::/41": "21889", - "2a07:bd80::/29": "43350", - "2a0a:de40::/32": "205890", - "2c0f:fc00:b011::/48": "20940", - "2804:6880::/32": "266059", - "2a03:8a00::/36": "13768", - "2a0a:fc80::/32": "12409", - "2001:67c:1420::/48": "207101", - "2606:2800:4ac4::/46": "15133", - "2a09:fb86::/32": "35913", - "2001:12f0:640::/39": "1916", - "240a:a4e0::/32": "143898", - "2a00:81a0::/29": "60804", - "2a0e:b105:768::/46": "20473", - "2402:d1c0::/32": "137816", - "240e:44d:3680::/41": "4134", - "2804:1d74::/32": "264369", - "2804:5e48:ff50::/48": "269023", - "2806:2f0:2143::/48": "17072", - "2a04:5b84:1::/48": "202265", - "2a0e:b107:8e0::/44": "213372", - "2001:559:86d1::/48": "33659", - "2001:67c:1390::/48": "49251", - "240a:abd8::/32": "145682", - "240e:f7:a000::/35": "136188", - "2607:fcd0:fa80:7901::/54": "8100", - "2804:30f8:80b::/38": "264984", - "2a00:1728:24::/48": "198228", - "2001:559:8655::/48": "7725", - "2001:67c:254::/48": "51224", - "2600:100e:a110::/35": "6167", - "2a00:75e0::/32": "206897", - "2a04:1640::/29": "60610", - "2001:559:843e::/48": "7922", - "2401:b8c0::/32": "64074", - "2409:8008::/40": "24547", - "240a:a443::/32": "143741", - "2001:418:1401:1d::/58": "2914", - "2405:5540::/32": "133676", - "2600:3001:28::/35": "13649", - "2606:2600::/32": "27425", - "2607:f5a8:8000::/33": "27589", - "2001:559:c08d::/48": "13367", - "2001:67c:23a8::/48": "50101", - "2402:800:93c5::/42": "7552", - "240e:44d:7600::/41": "140345", - "2804:55b8::/32": "267952", - "2a05:8f80::/31": "201722", - "2a06:9500:8::/43": "204028", - "2001:559:564::/48": "33491", - "2001:4830:c600::/48": "22147", - "2406:b400:16::/47": "55577", - "2a02:26f7:c489::/46": "20940", - "2a02:26f7:f981::/46": "20940", - "2001:16a0:6001::/31": "39386", - "240a:af70::/32": "146602", - "2620:0:900::/48": "4185", - "2804:f2c::/35": "53191", - "2a0f:9400:8010::/48": "207393", - "2001:67c:2884::/48": "35003", - "2001:7fb:fd04::/48": "15562", - "240a:ac57::/32": "145809", - "2620:65:a000::/48": "13536", - "2a01:6a0::/32": "13284", - "2a04:ac40::/29": "60140", - "2401:d800:9950::/42": "7552", - "2402:800:399b::/41": "7552", - "240a:a71c::/32": "144470", - "2602:fd0f::/36": "18515", - "2608:106::/48": "27046", - "2a06:3fc0::/29": "42344", - "2409:8c4c:e02::/31": "9808", - "240e:982:b200::/39": "58461", - "2600:1417:d800::/48": "35819", - "2806:2f0:3044::/43": "17072", - "2a0c:6d00:85::/48": "3218", - "2804:7150::/32": "270781", - "2a0b:f300:4::/37": "62240", - "2607:f4d8::/32": "26785", - "2620:171:52::/45": "42", - "2804:4ca0::/47": "267381", - "2a01:53c0:ff13::/45": "54994", - "2a04:4e40:a00::/47": "54113", - "2a0b:2f40::/32": "52176", - "2001:678:b::/48": "51955", - "2001:678:3cc::/48": "206155", - "2001:978:2a01::/46": "56638", - "2001:978:8e00::/48": "197205", - "2408:8256:2ca0::/39": "17816", - "2a0b:4340:3231::/39": "48024", - "2607:fb10:70d2::/44": "2906", - "2620:56:4000::/48": "31990", - "2a01:c50e:e610::/36": "12479", - "2a04:dbe0::/30": "201894", - "2a0f:9400:800b::/48": "212793", - "2c0e:4020:a000::/36": "36994", - "2408:84f3:bc40::/38": "17816", - "240a:a331::/32": "143467", - "2600:1417:d001::/37": "20940", - "2804:2848::/32": "263952", - "2a02:26f7:ee85::/46": "20940", - "2a02:7aa0:161a::/33": "43513", - "2a0b:f840::/31": "205376", - "2001:3c8:2a08::/33": "4621", - "2001:470:113::/48": "15096", - "2400:b380::/32": "38843", - "2402:8100:211f::/48": "55644", - "2804:6250::/32": "262964", - "2a02:26f7:cf84::/48": "36183", - "2a06:e881:2606::/48": "49745", - "2409:8904:6640::/42": "24547", - "2804:1468::/32": "263328", - "2402:33c0:a005::/33": "24413", - "240e:438:3c40::/38": "4134", - "2a02:26f7:dd05::/46": "20940", - "2400:a980:d2::/42": "133111", - "2408:8459:5440::/40": "17623", - "2800:160:110e::/43": "14259", - "2804:710::/47": "17222", - "2a11:6e01::/32": "57695", - "2a0b:dc00::/29": "37002", - "2400:5200:1400::/40": "55410", - "2401:ff80:1009::/46": "133954", - "2602:fe38::/36": "17177", - "2607:fc30:300::/32": "19740", - "2a00:1288:f043::/48": "23880", - "2a01:5460::/32": "57795", - "2a05:7740::/29": "57532", - "2001:678:184::/48": "34953", - "2600:1403:5c01::/34": "20940", - "2800:160:14e9::/43": "14259", - "2804:b8::/32": "53144", - "2804:2530::/32": "264265", - "2804:79fc::/32": "271340", - "2a02:c440::/29": "8399", - "2001:4450::/42": "9299", - "2407:5a40::/32": "134798", - "2602:fd58:1::/48": "32505", - "2602:ffb7:f00::/40": "62874", - "2804:431c::/38": "267549", - "2a02:26f0:c701::/36": "20940", - "2806:106e:a::/45": "8151", - "2a0a:b900::/29": "31317", - "2406:8800:901b::/42": "17465", - "240a:a9e0::/32": "145178", - "2604:9e03::/32": "393710", - "2804:22c:f402::/38": "22689", - "2a00:fcc0::/32": "9135", - "2a02:26f0:c100::/48": "34164", - "2a0c:9a40:811b::/45": "204438", - "2001:4de0:4300::/40": "33438", - "2400:6500::/32": "16509", - "2a02:26f7:ccc4::/48": "36183", - "2a07:14c0:4000::/36": "208861", - "2804:2fdc:1000::/36": "264917", - "2a0e:97c0:420::/44": "211267", - "2801:80:3800::/48": "269610", - "2804:14c:5bc9::/42": "28573", - "2804:1384::/32": "263537", - "2804:36f4:9000::/33": "266382", - "2804:7c48::/32": "271486", - "2804:7ea0::/32": "271636", - "2001:1310:7211::/48": "11340", - "2602:fd92:300::/45": "211876", - "2a0d:98c0::/29": "40970", - "240a:ae70::/32": "146346", - "2a02:2188:1000::/36": "48469", - "2a02:26f7:cfcd::/42": "20940", - "2001:49e8::/32": "6939", - "2402:d40::/32": "63850", - "240a:a991::/32": "145099", - "2804:21b4:8070::/33": "264568", - "2a00:1188:9::/45": "8455", - "2408:875c:10::/32": "4837", - "240a:aefc::/32": "146486", - "2804:196c:b0c0::/33": "61794", - "2a02:ba8::/32": "15894", - "2001:559:8250::/48": "33652", - "2406:aa00::/35": "55354", - "2a02:26f7:c948::/47": "36183", - "2a04:6c0::/29": "9067", - "2a0e:b105:4d4::/46": "20473", - "2001:678:ae4::/48": "208398", - "240a:a602::/32": "144188", - "2a04:3100::/29": "196976", - "2a10:6d00::/29": "398559", - "2600:100d:b130::/44": "22394", - "2600:1409:8801::/37": "20940", - "2602:fef4:100::/48": "54721", - "2606:5000:3200::/39": "3908", - "2620:37:e000::/48": "53535", - "2408:840c:8600::/40": "17621", - "240a:a841::/32": "144763", - "240e:1a:150::/44": "134770", - "240e:e9:7800::/37": "4134", - "2801:0:2f0::/48": "28107", - "240e:473:4000::/41": "140485", - "2804:3b58::/32": "266143", - "2804:4dd4::/32": "268222", - "2806:269:4300::/41": "13999", - "2001:fd8:e4::/46": "132199", - "2409:8050:802::/40": "56047", - "240a:a27f::/32": "143289", - "240a:a2c4::/32": "143358", - "2607:fcd0:fa80:5601::/55": "8100", - "2a03:2880:f100::/47": "32934", - "2a0c:9200::/40": "200924", - "2402:800:36c5::/43": "7552", - "2409:8000:2000::/40": "56048", - "2600:1408:6c01::/38": "20940", - "2607:f710:85::/48": "19624", - "2a01:6dc0::/32": "204467", - "2001:1a11:22::/45": "8781", - "2404:5c80:2::/32": "59261", - "240a:acc4::/32": "145918", - "2803:1680:3000::/36": "21351", - "2a0a:7540::/46": "206066", - "2408:8459:1c50::/39": "17816", - "2804:d8c::/36": "52638", - "2a02:26f7:b786::/47": "20940", - "2a03:8f84::/32": "52023", - "2804:3378::/32": "265398", - "2a0b:8380::/29": "60580", - "2a0b:8fc1::/35": "49825", - "240e:473:4720::/41": "140486", - "2a02:2e02:8910::/42": "12479", - "2607:fe58::/32": "46449", - "2804:815c::/32": "272449", - "2a03:52e0::/29": "206182", - "2610:a0:25::/32": "7786", - "2a0b:3540:6::/47": "208176", - "2001:559:86e2::/48": "33659", - "240a:a897::/32": "144849", - "2604:d600:1533::/41": "32098", - "2406:8600:efae::/48": "24236", - "2600:6c44::/32": "20115", - "2607:f220:200::/46": "19050", - "2801:bc::/35": "28601", - "2804:1390::/32": "263538", - "2804:5e2c:f000::/36": "269016", - "2001:559:141::/48": "33287", - "2001:579:d204::/42": "22773", - "2001:e48:22:1033::/64": "137130", - "2001:559:2b2::/47": "33652", - "2620:e9:4000::/48": "394662", - "2a02:2578:130d::/36": "51375", - "2a02:26f7:d4d1::/42": "20940", - "2a0a:4780::/30": "208861", - "2c0f:5400:1::/48": "328799", - "2001:4410:2100::/35": "132040", - "2401:4900:3820::/44": "45609", - "2607:fc48:428::/48": "40009", - "2804:858::/32": "262365", - "2804:2e44:f700::/36": "265335", - "2804:5678::/32": "268002", - "2a00:1e40::/32": "48689", - "2a02:26f7:c689::/48": "20940", - "2a05:6e00::/29": "30781", - "2401:3ac0::/32": "133189", - "2a00:1288:ef98::/48": "34010", - "240a:adfa::/32": "146228", - "240e:640:8e00::/40": "136197", - "2600:140f:b::/48": "9498", - "2001:67c:78c::/48": "56531", - "2a01:581:9::/29": "9136", - "2a03:6280::/29": "203936", - "2a02:26f7:de81::/46": "20940", - "2001:559:372::/48": "13367", - "2001:559:7c9::/48": "20214", - "2001:1a88::/29": "15600", - "240e:44d:2700::/41": "140345", - "2600:4800::/41": "54004", - "2803:2480::/32": "263185", - "2a02:26f0:8b::/45": "20940", - "2a0e:8a80::/32": "209916", - "2401:ab00::/32": "17809", - "2402:c800:fff3::/45": "37900", - "2403:9140:5::/46": "135732", - "2408:8406:3000::/39": "4808", - "240a:ab7e::/32": "145592", - "2a02:3c0::/29": "44065", - "2a10:ccc0::/48": "56755", - "2001:44b8:6044::/44": "7545", - "2407:e80:2::/47": "58689", - "2409:8904:9390::/37": "24547", - "240a:a2e3::/32": "143389", - "2804:93c:10c1::/32": "52878", - "2a01:4a0::/45": "201011", - "2001:43f8:6e0::/48": "37354", - "2804:14c:8789::/45": "28573", - "2a05:3b00::/32": "29854", - "2603:c002:b30::/37": "31898", - "2804:3988::/32": "52571", - "2a00:bdc0:e002::/45": "28709", - "2c0f:4a00::/32": "328818", - "2604:1cc0::/32": "21559", - "240a:a5f7::/32": "144177", - "2a02:26f7:d2c1::/46": "20940", - "2a02:26f7:d650::/48": "36183", - "2a0f:9400:7312::/45": "41732", - "2001:dca:1000::/33": "9735", - "2001:48d0:c000::/34": "7377", - "2408:8459:1950::/38": "17816", - "240e:3b0:9200::/36": "140317", - "2a05:b0c2::/35": "210842", - "2604:f980:2d00::/40": "19957", - "2806:260:100a::/43": "13999", - "2001:559:237::/48": "33661", - "2620:114:5000::/41": "1638", - "2a04:5200:5978::/32": "50113", - "2407:c000:c025::/34": "9270", - "240a:a969::/32": "145059", - "2803:9800:b447::/40": "11664", - "2600:370f:51a8::/43": "32261", - "2600:5c00:13::/48": "11351", - "2804:c0::/32": "53100", - "2804:4680::/32": "266993", - "2401:d800:de40::/42": "7552", - "2404:b280::/32": "17670", - "240a:a035::/32": "142703", - "240e:44d:2100::/41": "140345", - "2804:17cc::/32": "263252", - "2a0f:1200::/45": "60781", - "2001:67c:2c40::/48": "59891", - "240a:a49e::/32": "143832", - "2a02:26f0:4900::/48": "34164", - "2a0d:5ec0::/29": "208861", - "2001:4200:300::/44": "36982", - "2405:7f00:3203::/45": "133414", - "2a01:9260::/32": "28753", - "2001:468:200::/40": "11537", - "240a:a708::/32": "144450", - "2803:7260:11::/42": "52238", - "2a00:cb8:33::/45": "15695", - "2a02:b60:4000::/32": "44217", - "2401:b200:5d::/40": "24186", - "240e:44d:4180::/41": "4134", - "2409:8a6c:5700::/27": "9808", - "2620:eb:8000::/48": "35873", - "2804:1838::/32": "61925", - "2804:382c::/32": "266462", - "2a02:5f80::/32": "39811", - "2a02:5f83:d1cd::/34": "39811", - "2a07:a80::/29": "34766", - "2001:4878:b048::/48": "12222", - "2404:e80:a000::/33": "134697", - "2606:5480:2000::/36": "395309", - "2620:160:e372::/48": "2011", - "2804:506c::/32": "268388", - "2001:468:501::/48": "104", - "2001:559:c2e8::/48": "7015", - "2600:9000:10d6::/42": "16509", - "2803:7d00:b020::/48": "52327", - "2a03:9b60::/32": "57184", - "2806:20d:1200::/37": "32098", - "2806:2f0:3301::/42": "17072", - "2a0b:f300::/46": "62240", - "2001:559:50b::/45": "7015", - "2620:74:a8::/48": "26134", - "2803:2a80:821::/48": "262928", - "2a00:4fa0::/29": "206293", - "2001:dd8:1c::/46": "30133", - "240e:473:1120::/41": "140486", - "2600:6c3b:405::/42": "20115", - "2620:74:90::/48": "30060", - "2620:1df::/36": "395678", - "2800:bf0:8272::/44": "27947", - "2806:230:6014::/48": "265594", - "2a01:6f8::/32": "15580", - "2a07:4247:3000::/36": "211956", - "2a0f:4a80::/48": "50673", - "2001:559:8322::/48": "33651", - "2001:67c:2e8::/48": "3333", - "2001:67c:13a8::/48": "8613", - "2408:84f3:e810::/42": "134543", - "240a:a03e::/32": "142712", - "2a02:130::/32": "42841", - "2a02:ff0:600::/40": "12735", - "2001:253:115::/48": "142081", - "2001:67c:24e4::/48": "57381", - "2402:d400:d::/32": "17762", - "2404:5d80:6800::/40": "33438", - "240a:a977::/32": "145073", - "2a02:26f7:b0::/48": "36183", - "2001:559:8648::/47": "33491", - "2402:800:bc30::/41": "7552", - "240a:abe2::/32": "145692", - "2603:c002:9700::/36": "31898", - "2620:4d:4003::/44": "62597", - "2a00:1610::/29": "34183", - "2a01:ce90:9000::/34": "51964", - "2001:559:c3e3::/48": "7015", - "2001:448a:7090::/42": "7713", - "240e:1f:9000::/34": "58543", - "2620:f4:4000::/40": "16430", - "2a01:b3c0::/32": "59647", - "2407:d600::/32": "7690", - "240e:473:6b20::/41": "140486", - "2804:65e8::/32": "269522", - "2a00:4920::/32": "202169", - "2a05:d014::/36": "16509", - "2a07:6780::/29": "209320", - "2407:b001::/32": "24121", - "2804:8cc:10::/39": "262394", - "2a0f:3340::/29": "60262", - "240e:44d:7780::/41": "4134", - "2a07:22c1:33::/48": "211604", - "2a09:a4c3::/29": "208861", - "2a0e:b105:418::/45": "20473", - "2a01:ad00:129::/32": "51865", - "2600:8807:c782::/41": "22773", - "2a01:8840:a::/48": "207266", - "2a02:78a0::/29": "59970", - "2001:1a11:dc::/42": "42298", - "2408:8256:b98::/37": "17622", - "2409:8008:d8::/48": "9808", - "240a:a63f::/32": "144249", - "2a00:7380:600::/32": "51906", - "2a0f:607:1059::/48": "57401", - "2804:670::/32": "262665", - "2a11:8600::/29": "51009", - "2001:678:d40::/48": "198430", - "2607:f350::/32": "27630", - "2620:149:1b01::/32": "714", - "2a0f:5701:3509::/48": "205593", - "2804:446c:c001::/34": "28369", - "2a01:b800::/32": "41937", - "2a06:6780::/29": "56568", - "2001:678:c38::/48": "207411", - "2001:fd8:3020::/47": "4775", - "2408:8469::/27": "4837", - "240a:aaae::/32": "145384", - "2620:117:5000::/40": "14298", - "2800:68:3c::/48": "27947", - "2a06:e881:108::/48": "206633", - "2407:3e80::/32": "38768", - "2607:fcd0:100:6e1c::/48": "8100", - "2a00:c60::/32": "8851", - "2a02:26f7:bdc0::/48": "36183", - "2a0f:6c40::/29": "34615", - "2402:cf80:1000::/48": "62597", - "240a:affc::/32": "146742", - "2603:90fb:10::/44": "20115", - "2620:9c:a000::/48": "16509", - "2a00:1728:31::/46": "34224", - "2001:559:c259::/48": "7016", - "2001:ad0:5100::/32": "3327", - "2409:8000:100::/37": "9808", - "2606:42c0::/32": "399078", - "2803:a900:104::/48": "52420", - "2001:458::/32": "8002", - "2001:4878:a141::/48": "12222", - "2604:ee00::/48": "18865", - "2606:2800:c::/48": "15133", - "2a02:c900::/29": "62319", - "2001:559:5fe::/48": "33287", - "2408:8001:3180::/36": "17816", - "2806:2f0:4044::/42": "17072", - "2605:a401:80b8::/47": "33363", - "2a00:cb20::/35": "60266", - "2c0f:f850:dc02::/47": "327979", - "2401:2200:50::/48": "55420", - "2409:8b18::/31": "134810", - "2602:fd92:a00::/40": "39618", - "2606:cc0:10::/47": "40676", - "2800:bf0:8095::/44": "27947", - "2a01:8be0::/29": "61956", - "2a0d:5600:60::/48": "9009", - "2a02:ef80::/48": "16509", - "2001:67c:448::/48": "1257", - "2408:8456:6640::/39": "17816", - "2a02:26f7:bfc8::/48": "36183", - "2402:800:9ca9::/41": "7552", - "2404:e801:1015::/44": "55430", - "2409:8a52:f00::/35": "56047", - "240e:87c:390::/41": "137692", - "2604:6d00:2200::/48": "36223", - "2a03:8260::/32": "201000", - "2a0e:b105:470::/46": "20473", - "2402:c500::/32": "56284", - "240e:44d:5480::/41": "4134", - "2602:fda7::/36": "397894", - "2804:7054::/32": "270720", - "2a00:4b00:100::/42": "41935", - "2408:8459:3410::/44": "17623", - "2620:129:1009::/48": "36821", - "2800:160:2046::/47": "14259", - "2804:22a0::/32": "264112", - "2001:678:2cc::/48": "16509", - "240a:ae42::/32": "146300", - "2001:678:134::/48": "206725", - "2001:13c7:7012::/48": "52224", - "2804:14d:90b0::/46": "28573", - "2a0a:b440::/29": "212755", - "2001:df3:1280::/48": "140014", - "2001:4428::/32": "18119", - "2604:a280::/32": "35911", - "2a0a:c980::/29": "48596", - "2a0e:97c0:40e::/48": "59936", - "2001:5a0:3f07::/33": "6453", - "2409:800b:2906::/38": "9808", - "2409:8c20:1833::/48": "9808", - "240a:a6b1::/32": "144363", - "2605:cdc0:ffff::/48": "398088", - "2804:1ac::/38": "53175", - "2a02:26f0:9f::/48": "34164", - "240e:473:9600::/41": "140485", - "2a00:1780::/32": "8194", - "2a02:110::/32": "44776", - "2a05:2cc0::/29": "44439", - "2a02:26f7:d7c5::/46": "20940", - "2401:f480::/32": "58703", - "2604:ca00:216::/48": "36492", - "2606:2800:4280::/48": "15133", - "2606:fe80:10::/44": "13354", - "2607:fb10:5014::/46": "55095", - "2804:3e44::/34": "266584", - "2a00:1a28::/40": "42708", - "2001:2f8::/35": "2907", - "2408:8956:8400::/40": "17622", - "2409:8028:3006::/40": "56041", - "2620:108:a000::/44": "393601", - "2a00:f9c0::/32": "31727", - "2a01:97a0::/32": "34702", - "2a09:bd00:1fe::/47": "42385", - "2001:4978::/44": "19255", - "240e:3b3:9200::/36": "140317", - "2607:fd08::/32": "36610", - "240e:438:5820::/43": "140647", - "2605:13c0::/32": "397103", - "2607:5580::/32": "18747", - "2a04:1d80::/29": "60989", - "2408:8456:2200::/42": "17622", - "2404:a800::/45": "9498", - "2409:8030:3900::/31": "9808", - "240e:951:2c00::/28": "4134", - "2a02:e580::/29": "199339", - "2409:8028:1100::/37": "9808", - "240e:108:4b::/48": "133774", - "240e:438:4220::/43": "140647", - "2620:119:30::/48": "36692", - "2800:160:1ad6::/44": "14259", - "2804:40:a000::/36": "28657", - "2804:5db4::/32": "268987", - "2a0e:fb40::/32": "206766", - "2001:67c:188::/48": "8330", - "2408:84f3:3450::/44": "17816", - "2607:f740:27::/48": "36236", - "2804:50a4::/33": "268401", - "2806:288:4050::/48": "28469", - "2001:67c:21dc::/48": "42963", - "2804:3f94::/32": "262452", - "2a02:f680::/48": "35196", - "2a0a:2f80::/32": "174", - "2a0e:1c40:2000::/48": "208635", - "2403:2800:2::/48": "27435", - "2409:8904:9090::/39": "24547", - "2804:1810:4000::/32": "263262", - "2a02:2e02:30e0::/39": "12479", - "2a0f:48c0::/29": "60781", - "2a0f:9400:800e::/48": "140098", - "2a0f:ea40::/32": "41108", - "2001:559:7bd::/48": "7922", - "2a06:d581:2000::/36": "207308", - "2804:3280::/32": "265082", - "2804:75a4:fb::/48": "271060", - "2a0f:abc0::/29": "56485", - "2001:2022::/27": "1299", - "2604:23c0::/32": "36792", - "2605:3a40::/48": "6233", - "2a07:40::/29": "16186", - "240a:ab26::/32": "145504", - "2605:3380:414d::/43": "12025", - "2001:d98::/32": "18106", - "2606:ce80:6100::/37": "33438", - "2804:164c:fad::/32": "263280", - "2001:559:8424::/48": "7922", - "2408:8456:8600::/42": "17622", - "240a:a491::/32": "143819", - "240e:95d::/37": "136193", - "2804:1128:c001::/40": "263661", - "2804:6a54::/32": "270329", - "2a02:7b07::/48": "48328", - "2001:400:6440:105::/47": "293", - "2001:559:100::/48": "7922", - "2606:4700:2001::/48": "395747", - "2804:314:4011::/46": "61568", - "2001:67c:2370::/48": "24681", - "2600:1419:1c01::/34": "20940", - "2806:20d:5a09::/45": "32098", - "2a02:1658::/32": "12290", - "2a02:26f7:dbc5::/46": "20940", - "2a02:ee80:4224::/46": "3573", - "2408:8000:9000::/36": "17621", - "2409:8004:801::/48": "9808", - "2a00:fe80::/32": "8585", - "2a06:1e00:2d::/48": "212968", - "2a06:e881:690f::/48": "208434", - "2a07:ee00::/32": "206711", - "2409:897f::/24": "9808", - "2001:468:701::/48": "3681", - "2404:de80::/39": "137443", - "2a03:2880:f002::/44": "32934", - "2c0f:f920::/32": "37550", - "2001:559:4d::/46": "33651", - "2401:fd80:101::/44": "43519", - "2402:800:910f::/43": "7552", - "240a:a62c::/32": "144230", - "2606:9880::/32": "394380", - "2804:1d9c::/32": "264381", - "2a02:26f0:a0::/47": "20940", - "2a01:a280:5::/48": "50306", - "2a06:e881:2100::/47": "206479", - "2604:180:f1::/45": "3842", - "2607:fb10:70e2::/44": "2906", - "2620:c9::/48": "701", - "2803:b780:22::/32": "27742", - "2804:79f8::/32": "271339", - "2001:559:c051::/45": "7922", - "2403:43c0::/32": "137990", - "2405:ef00:18::/32": "58779", - "2406:20c0::/32": "140423", - "2804:2778::/34": "263903", - "2804:8084::/32": "271756", - "2001:559:5ab::/48": "33662", - "2403:7000::/33": "45179", - "240a:a5e1::/32": "144155", - "2804:e94:4c0::/44": "262468", - "2a02:26f7:c14c::/48": "36183", - "2a0b:4341:509::/48": "57695", - "2001:559:16a::/48": "33657", - "2001:559:c307::/48": "33657", - "2001:df5:2880::/48": "141370", - "2409:8a04:5400::/34": "24547", - "240a:abb9::/32": "145651", - "2803:7200:801d::/33": "27696", - "2a02:26f7:e5c1::/46": "20940", - "2405:201:d800::/34": "55836", - "2408:84f3:f620::/43": "17816", - "2409:8a14:8a00::/31": "56044", - "2801:1fe::/40": "19429", - "2803:1300::/32": "52263", - "2804:1844::/32": "53065", - "240a:af42::/32": "146556", - "2804:5270::/32": "268518", - "2a04:a840::/29": "20559", - "2a0c:b641:571::/46": "24239", - "2409:8963::/28": "9808", - "240e:3b2:7800::/39": "4134", - "240e:3b9:5600::/34": "4134", - "2600:1fa0:c040::/44": "16509", - "2a0a:e2c6::/32": "202015", - "2800:bf0:2408::/43": "27947", - "2001:559:85c0::/48": "7922", - "2001:1900:3013::/32": "3356", - "2001:4150::/32": "5539", - "2620:11:a::/47": "10934", - "2801:80:3741::/48": "269406", - "2a09:6280:2::/48": "51628", - "240e:438:1e40::/34": "4134", - "2600:300::/25": "7018", - "2607:b80::/46": "30247", - "2a0c:2f07:4663::/48": "206924", - "2001:913::/36": "60197", - "2001:df0:a3::/48": "45305", - "2402:c800:caff::/34": "38639", - "2804:7f3c::/32": "271675", - "2a0b:b602::/32": "57758", - "2600:1008:a000::/43": "6167", - "2600:6c38:61f::/42": "20115", - "2605:e2c0::/40": "49434", - "2607:ff18:8000::/35": "40630", - "2001:200:a00::/37": "2500", - "2001:559:c3bb::/41": "33287", - "2001:4878:a153::/48": "12222", - "2401:d800:5030::/41": "7552", - "2620:0:880::/48": "29763", - "2a01:c506::/28": "12479", - "2a06:f903::/36": "56630", - "2607:f368:3225::/32": "32982", - "2a02:26f7:fb89::/42": "20940", - "2a02:ee80:41b5::/48": "3573", - "2a0a:6680:a000::/36": "206398", - "2a0e:b107:220::/44": "208717", - "240e:473:b250::/39": "4134", - "2600:100e:b070::/40": "6167", - "2607:fcd0:cd80::/35": "8100", - "2804:4964::/32": "267182", - "2a01:bb20:2000::/36": "206834", - "2001:4870:a24b::/45": "3549", - "2405:8a00:20e4::/43": "55824", - "2607:f938::/32": "40028", - "2a0e:8a00::/29": "208256", - "2001:67c:758::/48": "204254", - "2001:67c:194c::/48": "62434", - "2001:67c:2208::/48": "21079", - "240e:44d:6900::/41": "140345", - "2620:125:b000::/47": "15092", - "2a04:9040::/29": "58138", - "2001:470:f1::/45": "6939", - "240a:a715::/32": "144463", - "2001:559:8426::/48": "7015", - "2600:380:b000::/38": "20057", - "2600:140f:5801::/38": "20940", - "2a00:7580:16::/48": "3257", - "2a02:e182::/36": "33517", - "2a04:18c0::/29": "60941", - "2a0e:b107:12d1::/48": "211358", - "2001:559:c24f::/48": "33659", - "2600:6c38:161::/45": "20115", - "2a07:e140::/29": "50582", - "2001:40c0::/48": "21217", - "2401:d800:2080::/42": "7552", - "2804:6e44:1102::/38": "270585", - "2a05:4500::/29": "207605", - "2404:e8c0::/32": "139090", - "240e:473:a50::/39": "4134", - "2a09:7980::/29": "39106", - "2406:e001:c800::/34": "23655", - "2602:fff6:5::/48": "46562", - "2804:3c1c::/32": "266191", - "2a03:70e0::/32": "58243", - "2001:fd0:2301::/37": "10029", - "2001:40b8::/32": "13039", - "240a:ae92::/32": "146380", - "240e:473:5a00::/41": "140485", - "2804:1f4e::/32": "33353", - "2804:23b4::/32": "264178", - "2a03:12a0::/29": "3301", - "2a07:9340::/32": "56911", - "2001:ee0:e500::/40": "45899", - "2620:74:f::/48": "29403", - "2001:559:8409::/48": "7922", - "240e:5a:4900::/40": "140302", - "2a09:d340::/29": "39175", - "2001:559:c396::/48": "33651", - "2001:4490:d980::/46": "9829", - "2401:4900:1bb0::/48": "45609", - "2408:8956:b00::/40": "17816", - "240e:438:3240::/37": "4134", - "2600:6c38:82d::/43": "20115", - "2a01:300:10:6::/41": "9009", - "2001:dc7:cd01::/43": "24151", - "2402:800:3d01::/44": "7552", - "2a09:a540::/29": "57353", - "2a0e:8f02:2122::/44": "211635", - "2c0f:ef58::/32": "36924", - "2001:559:8417::/44": "7016", - "2001:559:c1b1::/48": "33652", - "2402:af40::/32": "23779", - "2a07:2f00:1337::/48": "12502", - "2406:5f40::/48": "135905", - "2604:abc0::/32": "64236", - "2804:523c::/32": "268504", - "2001:1248:c201::/48": "11172", - "240a:a46a::/32": "143780", - "2804:2a7c::/32": "264075", - "2a04:13c1::/32": "61049", - "2a10:d505::/32": "22773", - "2001:678:a14::/48": "13101", - "2406:daa0:e080::/44": "16509", - "2801:80:35a0::/48": "269045", - "2a02:5740:24::/48": "58065", - "2a02:26f7:ba81::/46": "20940", - "2409:8c06::/28": "9808", - "240a:a514::/32": "143950", - "240a:a7ce::/32": "144648", - "2602:fe9d::/36": "13760", - "2803:6fa0:6::/48": "267790", - "2a01:ce88:9000::/31": "51964", - "2a02:26f7:d9::/48": "20940", - "2602:ff62:82::/39": "61317", - "2a00:c280:101::/29": "50463", - "2001:559:82f7::/48": "33668", - "2001:fd8:e0::/48": "132199", - "2401:d800:dbd0::/37": "7552", - "240a:ab72::/32": "145580", - "2804:40::/34": "28657", - "2804:7ffc::/32": "271722", - "2a0f:4d80::/29": "201847", - "2001:480:2310::/48": "5132", - "2600:141c:e001::/35": "20940", - "2607:9880::/32": "812", - "2a00:1b00:1000::/48": "47862", - "2a02:26f7:c280::/48": "36183", - "2a02:26f7:de41::/46": "20940", - "2404:4a00:5542:3a2::/50": "55423", - "2404:7800::/32": "17893", - "2602:fe27:b1::/48": "6473", - "2804:6280:5::/32": "269301", - "2a02:26f7:f185::/46": "20940", - "2a0e:46c3:300::/40": "51745", - "2607:f160:b::/45": "6167", - "2408:8957:2a40::/40": "17622", - "240a:a3d9::/32": "143635", - "2606:4700:303d::/46": "13335", - "2607:9e00:2002::/35": "30536", - "2607:ffb0:5003::/45": "6327", - "2801:80:3560::/44": "28614", - "2400:6500:ff01::/40": "16509", - "2401:d800:280::/39": "7552", - "2408:8459:ed50::/38": "17816", - "2607:fc68:101::/32": "2711", - "2803:6900:506a::/48": "52423", - "2407:38c0:82::/48": "59204", - "2800:160:119a::/42": "14259", - "2a03:a780::/32": "198031", - "2a04:78c0::/30": "24764", - "2c0f:f738:2005::/38": "61317", - "2406:daa0:80c0::/44": "16509", - "2610:a1:306c::/48": "12008", - "2803:2b00::/35": "52468", - "2a0f:b400:b::/29": "60781", - "2408:8459:6230::/41": "17622", - "240a:abee::/32": "145704", - "2a02:26f7:c845::/46": "20940", - "2a0b:180::/29": "43872", - "2405:1c0:61dc::/38": "55303", - "240a:ac5f::/32": "145817", - "2804:104c:c800::/40": "263629", - "2804:37f0::/33": "266445", - "2804:5354::/32": "268577", - "2001:67c:17cc::/48": "3301", - "2402:800:94fe::/39": "7552", - "2402:800:f230::/41": "7552", - "2409:8030:900::/35": "9808", - "2600:1488:a481::/39": "20940", - "2604:ca00:f000::/48": "36492", - "2a10:2080::/29": "207551", - "2404:3d00:4141::/48": "21433", - "2408:870c:20::/44": "138421", - "240a:ac19::/32": "145747", - "2804:1c4::/32": "262744", - "2804:286c::/32": "262799", - "2a02:26f7:e841::/46": "20940", - "2600:9c00::/32": "7979", - "2a02:120:2::/48": "41887", - "240e:3b4:7600::/39": "140313", - "2602:fea6::/36": "40676", - "2804:4a2c::/32": "267222", - "2a01:c50f:c200::/39": "12479", - "2a02:26f0:7501::/40": "20940", - "2001:67c:2670::/48": "43451", - "240e:980:4800::/40": "134769", - "2605:a404:a1::/44": "33363", - "2804:7fa0:104a::/43": "271699", - "2001:661:2000::/35": "2199", - "2600:1419:6000::/48": "52376", - "2804:1270::/40": "262851", - "2804:78b4::/32": "271260", - "2a11:e980::/29": "24940", - "2001:1808::/32": "46650", - "2804:2cb4::/32": "265238", - "2a02:26f7:dc0d::/42": "20940", - "240e:1c:1000::/36": "58461", - "2607:fdf0:5e7a::/45": "8008", - "2a00:1b68::/32": "43226", - "2a06:d000:10::/48": "47725", - "2001:df0:ed00::/48": "139398", - "2806:2f0:3164::/40": "17072", - "2a02:6c20:4::/48": "207167", - "2001:4878:a242::/48": "12222", - "2401:4900:4468::/40": "45609", - "2408:8406:1800::/39": "4808", - "240a:a871::/32": "144811", - "2604:2280:4000::/38": "53340", - "2804:4198::/32": "267443", - "2a04:880::/45": "43623", - "2001:fd8:3022::/44": "132199", - "2400:6880::/34": "9652", - "240a:acc8::/32": "145922", - "2804:3850:8000::/39": "266469", - "2a01:3a0::/29": "3308", - "2a0e:46c4:4820::/35": "38230", - "2001:559:74b::/48": "33657", - "2001:df3:5980::/48": "140547", - "2406:840:e080::/44": "141776", - "2408:840c:c300::/40": "17621", - "2804:a80:1200::/32": "262293", - "2a03:db80:4414::/48": "5501", - "2a0c:2dc0::/29": "49028", - "2a10:2a80:42::/48": "207727", - "2c0f:ea88::/32": "327931", - "2c0f:f798::/32": "327817", - "2001:3c8:1013::/38": "4621", - "2409:8971::/29": "9808", - "2a02:fae0:300::/29": "58193", - "2402:3a80:1a70::/40": "38266", - "2a01:8d20::/32": "57795", - "2408:8957:5000::/40": "17622", - "2803:ea80:2000::/36": "28048", - "2001:559:824b::/48": "21508", - "240e:3b2:4c00::/35": "136200", - "240e:473:9f50::/40": "4134", - "2605:7840:e150::/35": "12130", - "2804:7cc:100::/48": "28669", - "2a0a:7e40::/46": "206056", - "2001:df7:4808::/48": "131893", - "2001:1478:1100::/48": "27385", - "2409:8e1b::/26": "9808", - "2600:40f1::/48": "46639", - "2801:15:8001::/44": "263683", - "2804:6ec0::/32": "28293", - "2a01:b740:a02::/48": "6185", - "240a:abab::/32": "145637", - "240e:108:1010::/48": "137698", - "2a0f:cf00::/29": "30813", - "2001:559:82b8::/48": "7922", - "2804:6690:2000::/32": "269568", - "2804:67d8::/32": "269654", - "2a02:fc8::/47": "42572", - "2001:559:86e1::/48": "7922", - "240a:ad05::/32": "145983", - "240e:964:2b00::/40": "133775", - "2804:37c4:8200::/39": "266435", - "2a02:26f7:d788::/48": "36183", - "2001:67c:1223::/48": "201263", - "2001:c38:9009::/45": "9931", - "2402:800:54e0::/44": "7552", - "240a:a30e::/32": "143432", - "240a:a547::/32": "144001", - "2606:a680::/32": "393706", - "2800:800:960::/48": "26611", - "2a02:6f00:ec0::/48": "59518", - "2001:1938:7001::/44": "33438", - "2606:3c80::/32": "33582", - "2620:160:e720::/44": "4196", - "2a0e:b101:302::/32": "60474", - "240e:473:7800::/41": "140485", - "2804:14c:65a8::/41": "28573", - "2804:14d:6884::/43": "28573", - "2804:3d9c::/32": "266542", - "2806:2f0:72c1::/42": "17072", - "2a0a:90c0:20::/44": "11868", - "2a0e:97c5:4e4::/44": "20473", - "2001:df0:dd80::/48": "135839", - "2400:9d80::/47": "58714", - "2804:88:2::/35": "28135", - "2804:5298::/32": "268528", - "2a01:8840:71::/48": "207266", - "2a04:edc0::/29": "200437", - "2a09:6140::/29": "50107", - "2001:480:23::/48": "5058", - "2001:67c:299c::/48": "56813", - "2620:11d:2000::/40": "63154", - "2804:5d08::/32": "263101", - "2804:6bb8::/32": "270419", - "2a00:cb20:2200::/35": "60266", - "2a02:ff0:3df1::/46": "12735", - "2400:180:9::/48": "4766", - "2401:b780:68::/47": "65435", - "2401:d800:ff10::/40": "7552", - "240e:473:7d50::/40": "4134", - "2602:fd50:20::/48": "206628", - "2800:160:1a7e::/40": "14259", - "2a01:5ec0:d000::/34": "44244", - "2a03:8800::/48": "49687", - "2402:8400:6::/48": "17820", - "2803:760:1900::/33": "269816", - "2a00:1468::/48": "35810", - "2a00:15a0::/32": "201577", - "2001:c38:90a3::/45": "9835", - "2409:8062:1900::/34": "9808", - "2a07:ce40::/29": "201463", - "2a0d:3b80::/29": "39384", - "2408:8456:2400::/42": "17622", - "2a02:26f7:c740::/48": "36183", - "2401:d800:f670::/40": "7552", - "2407:ef00:930::/48": "2687", - "2604:ca00:7::/48": "36492", - "2804:2ea0:c620::/41": "265356", - "2a02:c640::/32": "30836", - "2400:adc0:4100::/47": "9541", - "2407:3380:6000::/32": "64063", - "2604:3d00:fc00::/28": "6327", - "2800:bf0:3401::/38": "27947", - "2a0d:f301::/48": "40994", - "2001:559:850e::/48": "7015", - "2001:1388:8a0b::/48": "6147", - "2408:8459:5a50::/37": "17816", - "2620:1ec:1d::/48": "8068", - "2001:559:736::/48": "22909", - "2409:8050:3000::/47": "56047", - "2600:803:22c::/48": "7046", - "2a02:2010:2200::/45": "20978", - "2a02:26f7:b8c5::/46": "20940", - "2a0c:c640::/29": "50489", - "2a10:d780:4::/32": "211997", - "2401:d800:b3c0::/42": "7552", - "240a:aa48::/32": "145282", - "2606:ae80:1c40::/44": "25751", - "2a02:26f0:7d01::/40": "20940", - "2a06:4600::/29": "200423", - "2001:559:488::/46": "33657", - "2001:559:81b1::/48": "7015", - "2a0c:e642:30::/44": "211323", - "2001:12d8:81::/32": "1251", - "2001:1248:5a2f::/43": "11172", - "2409:8c44:b01::/35": "24445", - "240a:a079::/32": "142771", - "2800:440:1600::/42": "27738", - "2804:5188::/32": "268458", - "2a03:f80:354::/48": "50613", - "2001:550:1:200::/55": "174", - "2001:16a2:8038::/34": "39386", - "2001:43f8:13a0::/48": "37187", - "2401:d800:9d00::/42": "7552", - "2600:100a:b0e0::/43": "22394", - "2a03:d606::/31": "42487", - "2406:46c0::/32": "140933", - "2804:3434::/32": "265442", - "2001:fb0:1000::/46": "9287", - "2402:e280:2130::/45": "134674", - "240e:3b8:d000::/36": "134772", - "2600:8807:1f82::/42": "22773", - "240a:a1c9::/32": "143107", - "2800:bf0:71::/44": "27947", - "2a00:7180:8008::/46": "207808", - "2a04:5180::/29": "34855", - "2a0b:a40::/29": "57684", - "2001:648:3500::/29": "5408", - "2401:8b00::/32": "55385", - "2607:fb90:d300::/37": "21928", - "2800:484:2700::/40": "10620", - "2a02:26f7:d744::/48": "36183", - "2602:80a:7000::/48": "399798", - "2001:559:31a::/48": "33660", - "2001:df0:40e::/48": "58551", - "2402:e280:2120::/45": "134674", - "2408:8956:3e00::/40": "17622", - "240a:a0f9::/32": "142899", - "240a:ab97::/32": "145617", - "2600:1406:32::/48": "21342", - "2806:2f0:2081::/46": "22884", - "2a00:b3a0::/36": "62023", - "2a06:e044::/44": "203382", - "2a0a:68c0::/40": "134835", - "2a0f:1940::/29": "60262", - "2001:559:82a1::/48": "33651", - "2001:cb0:209::/46": "4637", - "2a02:26f7:c840::/48": "36183", - "2a02:cb80:2740::/48": "43766", - "2a0d:1b80::/32": "204664", - "2404:b800::/32": "4739", - "2604:1500::/32": "35843", - "2607:fdc8:c::/47": "30036", - "2610:a1:3008::/48": "12008", - "2801:80:36b0::/48": "269191", - "2a10:c680::/29": "42357", - "2001:4de0:6200::/39": "33438", - "240e:c9:4000::/35": "134765", - "2607:6400::/35": "30688", - "2620:104:e000::/56": "1351", - "2804:c48::/36": "52687", - "2a0c:8480::/30": "5400", - "2a11:2640::/31": "3170", - "2001:559:4cd::/48": "7922", - "2401:ff80:1485::/44": "133954", - "2a02:4780::/47": "47583", - "2001:43f8:1::/48": "327844", - "2604:71c0::/32": "10423", - "2001:678:760::/48": "50472", - "2620:136:4000::/44": "19694", - "2408:84f3:4040::/38": "17816", - "240a:a4de::/32": "143896", - "2804:2f40:f000::/45": "264880", - "2401:d800:f8f0::/39": "7552", - "2409:8d14:2100::/38": "56044", - "2600:1404:cc01::/38": "20940", - "2604:6440::/32": "33549", - "2604:a100:100::/48": "6939", - "2620:74:22::/45": "7342", - "2a00:16b0::/32": "33837", - "2001:470:34::/41": "6939", - "2001:520:5031::/48": "8103", - "240a:a3dc::/32": "143638", - "2a0b:2d40:c10b::/34": "209135", - "2001:978:7303::/37": "174", - "2001:1248:a6da::/39": "11172", - "2001:1250:e500::/44": "22894", - "2407:d340::/32": "146989", - "2604:aec0::/32": "11900", - "2a06:c07::/32": "59414", - "2620:c7:c000::/48": "394128", - "2804:214:8440::/43": "26615", - "2804:826c::/40": "272520", - "2a0e:8d80::/29": "207999", - "2a0e:97c7:120::/44": "207328", - "2600:1009:b170::/40": "22394", - "2606:6800:3000::/40": "394896", - "2800:160:1c53::/45": "14259", - "2806:370:8260::/40": "28403", - "2a02:26f7:ea41::/46": "20940", - "2001:559:822e::/48": "7922", - "2001:4048:108::/48": "47341", - "2405:6e00:2420::/43": "133612", - "240a:a775::/32": "144559", - "2a01:8640:1::/48": "61046", - "2c0f:ec78::/32": "328088", - "2402:7b00:3::/48": "55843", - "2402:a800:c000::/34": "9601", - "2404:8000:b0::/46": "17451", - "240a:a114::/32": "142926", - "2605:9fc0::/32": "396238", - "2804:d84::/36": "28171", - "240a:a9aa::/32": "145124", - "2801:80:19c0::/48": "265101", - "2a03:9c40:600::/48": "34655", - "2a04:9a00:1002::/47": "202553", - "2a03:f80:33::/48": "9009", - "2a04:88c0:2::/30": "60781", - "2401:d800:9a10::/42": "7552", - "2403:8300:813f::/48": "2516", - "2408:8459:5a30::/41": "17622", - "2001:1250:1000::/44": "22894", - "2402:ef21::/34": "7633", - "2408:80ea:7a90::/32": "17816", - "2a02:2500::/32": "5390", - "2401:ff80:1713::/40": "133954", - "2804:4e60::/32": "268257", - "2a01:76c0::/29": "21263", - "2a02:26f7:d985::/46": "20940", - "2a0f:b300:2001::/46": "42072", - "2a02:ff0:2::/48": "12735", - "2a07:dd00::/32": "39485", - "2001:1388:1b8a::/45": "6147", - "2607:f750:b000::/40": "23473", - "2804:6330::/32": "269344", - "2a02:870::/32": "42863", - "2001:67c:2fc0::/48": "207424", - "2406:2400:1000::/48": "45287", - "2600:5400::/32": "19108", - "2602:fc5a::/36": "398491", - "2a00:1370:f200::/48": "57681", - "2a02:26f7:bd05::/46": "20940", - "2404:e800::/46": "55430", - "2408:8956:4f00::/40": "17816", - "2620:110:5000::/44": "6623", - "2602:feda:2ab::/45": "204185", - "2604:980:1::/48": "40676", - "2800:bf0:2420::/45": "52257", - "2001:418:1451::/45": "2914", - "240a:ad16::/32": "146000", - "240a:af5f::/32": "146585", - "240e:3b5:ec00::/35": "140314", - "2804:3ed4:2::/32": "266623", - "2804:5cec::/32": "268939", - "2401:d800:54e0::/39": "7552", - "2a10:50c0::/48": "212772", - "2403:7000:4100::/32": "45179", - "2406:4f40:c::/43": "40676", - "2408:8956:e200::/40": "17622", - "240a:a621::/32": "144219", - "2804:34d0::/32": "265482", - "2a00:5720::/32": "61015", - "2a0e:6c80::/29": "208599", - "2c0f:f418::/32": "37714", - "2403:4000::/43": "24122", - "2408:84f3:2c60::/40": "17623", - "2600:1002:b1c0::/43": "6167", - "2602:fed2:770b::/48": "34924", - "2a09:adc0::/47": "64466", - "2a0d:e6c0::/32": "41114", - "2a0e:46c4:1000::/40": "139653", - "2600:1414:1::/31": "20940", - "2605:a401:80dd::/42": "33363", - "2a04:2b00:200::/48": "42044", - "2001:1248:98e5::/43": "11172", - "2001:1a08::/32": "15830", - "2400:adc0:20::/47": "9541", - "2602:fedc:10::/42": "393857", - "2607:fc48:1800::/48": "40009", - "2a0e:b107:510::/48": "209101", - "2a0e:c980::/32": "34393", - "2406:daa0:8020::/44": "16509", - "240e:92c::/30": "4134", - "2606:ae00:8800::/35": "7287", - "2804:3e70::/35": "266596", - "2a01:53c0:ffba::/47": "54994", - "2a01:9cc0:80::/32": "198047", - "2a02:bd8::/32": "8535", - "240a:a39c::/32": "143574", - "2620:11f:700b::/45": "13737", - "2a0a:3640::/29": "29504", - "2001:559:8491::/48": "7015", - "2001:678:d74::/48": "197058", - "2604:9e40::/46": "29457", - "2a0a:f940::/32": "48642", - "2001:43f8:280::/48": "23889", - "2401:4900:1800::/40": "45609", - "240a:a791::/32": "144587", - "2a01:a1e0:1::/48": "39293", - "2a02:26f7:e541::/46": "20940", - "2a06:6800::/29": "20565", - "2400:cb00:a980::/46": "13335", - "2402:b400:41b0::/41": "45960", - "2a02:26f7:e904::/48": "36183", - "2a0c:da04:14::/47": "202365", - "2600:9000:2132::/41": "16509", - "2602:fd5d::/40": "398578", - "2620:149:1324::/37": "714", - "2a02:26f7:b689::/42": "20940", - "2a0f:9bc4::/30": "398481", - "2001:12c4::/32": "28262", - "2408:8459:2030::/41": "17622", - "2600:1017:f810::/37": "6167", - "2600:140b:9c01::/34": "20940", - "2603:c0f8:2110::/38": "20054", - "2804:145c:8110::/40": "263327", - "2001:1388:8a0e::/42": "6147", - "240a:a033::/32": "142701", - "2607:f2c8::/32": "23473", - "2620:10a:b000::/47": "15297", - "2806:230:4032::/48": "265594", - "2001:559:4c1::/48": "7922", - "2001:4490:f020::/46": "9829", - "2403:9500::/32": "9657", - "2a01:240:ab01::/48": "49030", - "2001:a48:9000::/33": "8970", - "2600:14a0:81::/41": "20940", - "2620:0:57f::/48": "62955", - "2804:1cc::/32": "28130", - "2804:204:25b::/42": "28186", - "2001:559:c2ac::/48": "33659", - "2001:67c:61c::/48": "200943", - "2401:e280:1000::/36": "133114", - "2404:2e80::/42": "135043", - "2605:a401:83f6::/37": "33363", - "2a00:68c0::/32": "30781", - "2406:e001:5800::/34": "23655", - "2804:62e4:facf::/37": "269326", - "2405:70c0::/32": "55736", - "240a:a054::/32": "142734", - "2804:1230:2100::/32": "263462", - "2a00:1640::/32": "12389", - "2804:3968::/42": "266029", - "2001:67c:281c::/48": "198692", - "2402:800:fab0::/41": "7552", - "2405:9000::/44": "7474", - "2409:8904:caa0::/39": "24547", - "240a:a10f::/32": "142921", - "240a:a44c::/32": "143750", - "2804:7bc::/32": "52861", - "2a04:55c0::/29": "207630", - "2409:804f:900::/35": "9808", - "240a:a65b::/32": "144277", - "2a0d:ac00:6::/47": "205202", - "2001:67c:293c::/48": "211742", - "2403:3440::/32": "4787", - "2604:ca00:f00e::/47": "36492", - "2a04:4b80::/29": "39397", - "2a04:ec80::/29": "39441", - "2408:8957:3a00::/40": "17622", - "2409:8752:d00::/38": "56047", - "2607:ffc8::/62": "17356", - "2800:160:1e3c::/41": "14259", - "2620:0:2ea1::/48": "26777", - "2804:81c8::/32": "272476", - "2a00:db00::/32": "47868", - "2a02:26f7:fac0::/48": "36183", - "2a04:5d00::/41": "60241", - "2408:8957:100::/40": "17816", - "2001:559:8156::/48": "7922", - "2001:67c:1445::/46": "42385", - "2001:67c:2d0c::/48": "201222", - "2001:948::/42": "2603", - "2001:44b8:30ee::/48": "4739", - "2804:664c:3e90::/32": "269547", - "2001:559:83ba::/48": "33651", - "2001:18e8:3::/44": "87", - "2401:dd00::/32": "38229", - "2604:f980:2100::/44": "19957", - "2803:6604:c001::/37": "28075", - "2a03:a300:4000::/44": "35104", - "2a06:e881:580a::/48": "204003", - "2001:678:a38::/48": "209220", - "2806:5:201::/32": "6503", - "2a00:f740::/39": "28875", - "2a02:e982:31::/48": "62571", - "2001:218:2300::/35": "2914", - "2001:559:8201::/48": "21508", - "2001:1a11:b0::/47": "8781", - "240e:698:4800::/40": "134769", - "2607:f480:411::/48": "27435", - "2a00:1458::/32": "50083", - "2001:559:80e4::/48": "7016", - "2404:bf40:a001::/48": "7545", - "2409:8924:b900::/38": "56046", - "2606:8e80:2800::/37": "32133", - "2804:3268:9003::/33": "265076", - "2804:7fb0:800::/32": "271703", - "2001:df5:5880::/48": "141131", - "240a:a415::/32": "143695", - "240a:abd2::/32": "145676", - "2804:1184::/32": "61895", - "2a02:6c8::/33": "56611", - "2001:44b8:4056::/48": "7545", - "240a:ab78::/32": "145586", - "2602:808:2000::/47": "398946", - "2c0f:f0a0::/32": "328638", - "2001:4479:e000::/38": "7545", - "240e:640:8f00::/33": "4134", - "2804:7164::/32": "270786", - "2a02:5740::/47": "41564", - "2602:fcad:1::/46": "54316", - "2607:4000:600::/32": "73", - "2804:7b5c:1::/44": "265022", - "2a04:1c42:100::/32": "201035", - "2408:8456:4a40::/39": "17816", - "240a:a6bc::/32": "144374", - "2602:fd10:800::/44": "398795", - "2a02:2e02:1580::/42": "12479", - "2001:559:c3c2::/48": "7016", - "2607:fcd0:fa80:7f01::/48": "8100", - "2a0b:4341:b02::/48": "57695", - "2405:6580::/29": "4685", - "240a:a7b4::/32": "144622", - "2806:262:300::/37": "13999", - "2a02:26f7:e50d::/46": "20940", - "2a0c:d4c0::/29": "8823", - "2001:1248:706a::/45": "11172", - "2409:8053:3900::/32": "9808", - "2607:9b80:800::/43": "46558", - "2401:ff80:130b::/45": "133954", - "2606:4e80::/32": "5650", - "2001:559:c164::/48": "20214", - "2602:804:2000::/44": "10946", - "2a02:26f0:1d::/48": "34164", - "2a0e:97c0:4df::/48": "211024", - "2806:217::/38": "28394", - "2a02:26f0:9c::/47": "34164", - "2a03:7b80::/32": "198024", - "240a:a0b5::/32": "142831", - "2620:98:e004::/48": "399728", - "2a0d:80c0::/29": "15848", - "2600:140b:5c01::/34": "20940", - "2604:26c0:500::/40": "36815", - "2606:2040::/32": "49791", - "2a02:26f7:cf::/48": "20940", - "2408:840c:5b00::/40": "17621", - "2801:15:6800::/48": "13489", - "2001:13d2:5802::/47": "7303", - "2001:44b8:405a::/48": "7545", - "2403:2700::/47": "38500", - "2610:e0:a002::/48": "46832", - "2620:0:e20::/46": "1999", - "2804:1330::/32": "263520", - "2408:8000:9fff::/48": "138421", - "2806:20d:1605::/46": "32098", - "2a00:6640::/32": "15699", - "2a06:3b80:25::/46": "206614", - "2001:678:604::/48": "49824", - "2402:e380:307::/48": "137219", - "2408:8459:f900::/38": "17623", - "2620:13f:701a::/47": "55706", - "2804:35f4::/32": "266317", - "2804:502c::/32": "268373", - "2a01:8840:45::/48": "207266", - "2001:559:801d::/48": "7015", - "240a:a81a::/32": "144724", - "240a:ae7f::/32": "146361", - "2602:feda:2f0::/48": "133492", - "2620:11:70::/47": "3486", - "2620:11d:9002:300::/53": "33186", - "2001:559:8776::/44": "7015", - "2001:4358::/32": "36866", - "2600:380:7c80::/39": "20057", - "2620:10a:a000::/47": "16920", - "2a06:2602::/32": "51088", - "2001:df5:bb00::/48": "131375", - "2001:1248:99ed::/46": "11172", - "2602:ff6d::/36": "20291", - "2620:10a:9003::/48": "11133", - "2804:6ed8::/32": "270622", - "2806:230:402b::/48": "11888", - "2a07:2540::/29": "60991", - "2402:800:5171::/44": "7552", - "240a:a4ce::/32": "143880", - "2607:fcd0:aac0::/35": "8100", - "2a00:f740:401::/32": "28875", - "2a01:63a0::/32": "199907", - "2a02:26f7:e444::/48": "36183", - "2a02:26f7:f100::/48": "36183", - "2001:559:537::/48": "7016", - "2602:fea7:200::/40": "397270", - "2a04:4e40:1200::/48": "54113", - "2a04:c040::/29": "212694", - "2401:f940::/32": "132839", - "2620:160:eb00::/44": "10837", - "2801:80:50::/48": "11802", - "2806:2f0:24::/41": "17072", - "2a02:26f0:a4::/48": "20940", - "2a02:2e02:2060::/38": "12479", - "2a02:2e02:8ff0::/35": "12479", - "2402:5ec0:1000::/39": "4808", - "2801:80:4d0::/48": "52834", - "2a0c:ab05::/32": "208861", - "2001:559:8182::/47": "33659", - "2404:2400:201::/32": "56132", - "2600:c02:b020::/48": "22211", - "2800:160:1cbc::/41": "14259", - "2800:440:2000::/42": "27738", - "2803:5c80:5593::/48": "64114", - "2a00:a362::/32": "60435", - "2a0d:8a80::/32": "33353", - "2001:559:c388::/48": "33657", - "2408:8957:7100::/40": "17816", - "240a:ad0e::/32": "145992", - "2600:1407:9000::/48": "35994", - "2620:132:f102::/41": "394977", - "2800:bf0:20::/46": "52257", - "2407:bb00:5000::/44": "45625", - "240e:62:a000::/35": "140310", - "2a00:f680::/32": "50171", - "2a09:407::/35": "208861", - "2a03:b4c0::/32": "61169", - "2001:67c:10a8::/47": "48387", - "2001:ff0::/32": "9824", - "2001:2000:4100::/35": "1299", - "240e:3bc:4c00::/35": "136200", - "2804:2308::/33": "264138", - "2804:56d8::/32": "268027", - "2a02:26f7:fac5::/46": "20940", - "2001:4d8f::/32": "41637", - "240a:aa76::/32": "145328", - "2001:559:261::/48": "33668", - "2401:7000:7003::/32": "45177", - "2a02:730:4001::/32": "29278", - "2401:4900:4680::/44": "45609", - "240e:18::/44": "4812", - "2604:880:217::/42": "29802", - "2607:fcd0:fa80:7::/53": "8100", - "2a02:26f0:cd::/43": "20940", - "2001:559:8628::/48": "33659", - "2804:84::/32": "14282", - "2804:41f8::/32": "267469", - "2a01:8400::/32": "20676", - "2401:d800:bf80::/42": "7552", - "2402:a800::/32": "9601", - "2409:8002:2800::/40": "38019", - "2600:3501:9000::/30": "396998", - "2620:0:630::/48": "4185", - "2a00:1c08::/32": "44335", - "2a02:26f7:c00d::/42": "20940", - "2001:678:b58::/48": "29560", - "2402:7500:568::/40": "24158", - "240a:a75e::/32": "144536", - "2604:2500::/32": "19323", - "2804:2988::/32": "264020", - "2400:cb00:225::/44": "13335", - "2604:d600:1526::/44": "32098", - "2804:4cc4::/32": "267390", - "2a00:9bc0::/32": "57844", - "2806:230:1400::/36": "11888", - "2a0e:46c4:2ef0::/48": "142597", - "2a0b:9b80::/29": "43332", - "2001:559:8153::/48": "33287", - "2001:559:849a::/48": "33651", - "2001:559:854f::/48": "7725", - "2001:559:c025::/46": "7922", - "240a:a212::/32": "143180", - "2a03:a4e0:100::/40": "2119", - "2a06:b100::/29": "198024", - "2001:559:4f7::/48": "7922", - "2402:8100:2440::/47": "45271", - "2409:8a04::/34": "24547", - "2804:1c00::/48": "28274", - "2409:8030:1100::/36": "9808", - "2a01:b740:1341::/37": "714", - "2407:4c00::/32": "38719", - "2604:8bc0::/32": "14932", - "2620:18:6000::/48": "396142", - "2401:1980::/32": "135092", - "2600:370f:3525::/46": "32261", - "2804:6edc:200::/32": "270623", - "2a0d:2580:ff00::/48": "20473", - "2a0f:9980:936::/48": "40676", - "2001:67c:2974::/48": "39128", - "2402:800:5d8d::/43": "7552", - "2409:8c85:aa6d::/43": "9808", - "2602:ffa6:300::/46": "62731", - "2605:ef80:36::/44": "36492", - "2a02:26f7:f200::/48": "36183", - "2402:800:3ec0::/43": "7552", - "2409:8904:65b0::/38": "24547", - "240e:640:e00::/40": "136197", - "2605:5240::/34": "397494", - "2a00:1830::/32": "24845", - "2a02:26f7:ee01::/46": "20940", - "2001:67c:2aa8::/48": "3330", - "2001:dc6::/32": "4622", - "2001:fe0::/32": "4775", - "2404:4400::/28": "9790", - "240e:438:2840::/38": "4134", - "2600:6000:fd54::/40": "12271", - "2804:14d:9800::/40": "28573", - "2a07:a905:ffe5::/44": "46261", - "2001:460:a::/41": "3561", - "2408:8459:c810::/42": "17623", - "240a:a0be::/32": "142840", - "240a:a903::/32": "144957", - "2803:980:600::/39": "263248", - "2803:8340::/32": "52330", - "2804:4fa0::/32": "268339", - "2a07:3400::/32": "62874", - "240a:aa80::/32": "145338", - "240a:ac4b::/32": "145797", - "2604:d600:15c7::/44": "32098", - "2803:bf40::/32": "264764", - "2804:2480:4000::/32": "264227", - "2a04:4880::/29": "56450", - "2a06:4b00::/31": "51191", - "2a0d:f100::/32": "208449", - "2a02:970:1018::/47": "44002", - "2001:4878:41e0::/44": "35994", - "2001:4888:8045::/46": "22394", - "240e:351:5c00::/34": "134419", - "240e:967:e200::/39": "133774", - "2600:1419:4c00::/48": "4230", - "2605:9ac0:fffe::/48": "3356", - "2804:145c:c210::/39": "263327", - "2a03:2880:f267::/44": "32934", - "2001:43f8:dd0::/48": "328212", - "2409:8904:36a0::/39": "24547", - "2804:3034:108::/40": "264936", - "240e:92a::/31": "58542", - "2604:880:11::/48": "54540", - "2607:6b80:5::/48": "46562", - "2800:160:783f::/32": "14259", - "2a02:2e02:3b70::/40": "12479", - "2401:d800:76d0::/42": "7552", - "240a:a132::/32": "142956", - "2600:1480:d001::/37": "20940", - "2a0c:3dc0::/29": "61323", - "2001:253:12a::/45": "38272", - "2001:67c:10ec::/48": "559", - "2804:5cd4::/33": "268933", - "2404:bf40:c000::/47": "2764", - "2409:8904:6970::/40": "24547", - "2607:fc28::/33": "22911", - "2804:610:f000::/36": "262565", - "2a03:e140:34::/48": "43465", - "2a0f:3cc7::/32": "59813", - "2001:559:833b::/48": "33659", - "2001:559:c2e5::/48": "33491", - "2400:4d40:e001::/35": "134204", - "2607:6f00::/32": "394111", - "2804:3bfc:300::/37": "52607", - "2403:8600:80a0::/41": "45820", - "2406:8800:9033::/45": "17465", - "2804:2a4::/32": "262828", - "2605:a401:833f::/41": "33363", - "2605:ce80:702::/32": "393713", - "2a02:26f7:b605::/46": "20940", - "2a02:26f7:ec45::/46": "20940", - "2a0d:3dc0::/29": "210312", - "2c0f:5500::/32": "328895", - "2a05:9cc7::/32": "2116", - "2001:579:534c::/40": "22773", - "2001:4478:1911::/40": "4802", - "2001:4490:4ea4::/46": "9829", - "2408:8957:d100::/40": "17816", - "2600:370f:70c4::/43": "32261", - "2606:ae00:1003::/48": "7287", - "2801:96:fff9::/45": "28586", - "2001:df1:b200::/48": "135343", - "2001:16a2:d700::/34": "25019", - "2408:8459:e230::/41": "17622", - "2409:8c20:aa52::/35": "56046", - "2804:3288:b1b2::/33": "52827", - "2001:67c:238::/48": "49974", - "240a:ab71::/32": "145579", - "2600:1009:a120::/36": "22394", - "2804:14c:41b2::/41": "28573", - "2a02:2e02:2630::/41": "12479", - "2400:6e80::/32": "132882", - "240a:a8ab::/32": "144869", - "2600:370f:344a::/43": "32261", - "2604:6600:200a::/43": "40676", - "2a05:1500:400::/40": "205631", - "2402:e380:11f::/48": "139073", - "240e:473:9950::/40": "4134", - "240e:84c::/44": "140345", - "2620:107:300f::/48": "16509", - "2a04:4940::/29": "60278", - "2001:4868:700::/36": "23148", - "2404:3d00:4146::/44": "3573", - "2408:8459:52c0::/37": "17816", - "240e:473:9650::/39": "4134", - "2602:ff96:8::/48": "26548", - "2a0b:1302::/33": "133142", - "2001:978:a02::/35": "174", - "2405:7900::/32": "24398", - "2408:840c:5d00::/40": "17621", - "240a:a43b::/32": "143733", - "2801:80:ce0::/48": "264372", - "2a00:8c40:238::/48": "42037", - "2001:43f8:bf0::/48": "2635", - "2001:448a:2090::/42": "7713", - "2600:140f:c001::/38": "20940", - "2602:fd0c::/46": "394006", - "2800:160:1b8e::/43": "14259", - "2001:559:4da::/48": "33491", - "2607:f8c0:203::/48": "25885", - "2a00:9567::/32": "48403", - "2a0a:3cc0::/29": "62035", - "2001:579:d1ec::/38": "22773", - "2001:44b8:30a5::/48": "4739", - "2402:2c00::/32": "17645", - "2607:fcd0:1338::/32": "8100", - "2803:7760::/38": "269829", - "2a03:6b00::/47": "48832", - "2a06:f300::/29": "203421", - "2600:6c38:11::/46": "20115", - "2c0f:f658::/32": "37027", - "240e:103:8b30::/33": "4134", - "2600:cc03::/29": "32298", - "2409:8c28:3401::/40": "56041", - "2804:2f88::/32": "264897", - "2804:7f0c::/34": "271663", - "2a00:e340::/32": "25160", - "2001:559:1b3::/48": "20214", - "2804:7c10::/32": "271473", - "2a02:26f7:b9a0::/48": "36183", - "2001:550:1:d::/55": "174", - "2001:559:82f2::/48": "33659", - "2001:1490::/47": "8895", - "2a02:2070:fffe::/48": "197498", - "2a0a:2b00::/43": "52129", - "2001:502:ad09::/48": "397237", - "2409:8052:2802::/38": "56047", - "240e:ff::/32": "4134", - "2600:100f:9000::/44": "6167", - "2606:b400:8830::/46": "7160", - "2620:1f7:2800::/37": "2686", - "2804:6584::/32": "269496", - "2001:559:c352::/48": "33667", - "240e:44d:3d80::/41": "4134", - "240e:928::/37": "58542", - "2604:2f40:243::/32": "29749", - "2001:418:1401:2::/64": "2914", - "2620:171:f7::/44": "42", - "2804:7ba8::/32": "271446", - "2a00:edc0:100::/44": "62597", - "2a04:1d40::/29": "6775", - "2a04:4e40:7430::/41": "54113", - "240e:698:2300::/40": "58519", - "2804:4c34::/32": "61592", - "2a10:2600::/29": "3214", - "2600:1488:a0c1::/39": "20940", - "2604:d600:154c::/46": "32098", - "2605:a404:b1a::/42": "33363", - "2620:11c:a002::/47": "26414", - "2804:6e90::/32": "270605", - "2a02:26f7:cb49::/42": "20940", - "2a03:c980:5fb5::/48": "210079", - "2409:8c00:7840::/48": "56048", - "2a02:6120::/32": "51333", - "2a0a:e200:1300::/37": "33438", - "2001:598:1301::/32": "21548", - "2804:2d0c::/40": "262408", - "2a09:5cc0::/29": "199163", - "2a0b:b1c0::/32": "28717", - "2a0b:b900::/29": "62183", - "2001:559:30::/48": "33287", - "240e:473:4850::/39": "4134", - "2804:6060:c000::/34": "269163", - "2a02:26f7:cf00::/48": "36183", - "2c0f:fc00::/27": "3741", - "2001:559:c267::/44": "7922", - "240a:a22f::/32": "143209", - "2605:6000::/37": "11427", - "2800:420::/30": "5639", - "2401:ff40:e010::/41": "137080", - "2a00:c500::/32": "48661", - "2a11:940::/29": "25145", - "2600:370f:7445::/40": "32261", - "2605:4a80::/32": "11232", - "2620:f6:8000::/48": "35922", - "2804:7698::/32": "271122", - "240a:a601::/32": "144187", - "2400:1000:8026::/33": "10021", - "240a:a60a::/32": "144196", - "2804:680::/43": "262589", - "2a02:26f7:f048::/48": "36183", - "2a10:4340::/29": "59441", - "2a10:ab00::/29": "47285", - "2001:678:e04::/48": "212810", - "2401:2900:3f01::/40": "23679", - "240e::/32": "4134", - "2602:fcff:1::/48": "40676", - "240a:a6ba::/32": "144372", - "240a:a899::/32": "144851", - "2a00:c98::/32": "28753", - "240e:473:a400::/41": "140485", - "2409:8915:3200::/39": "56044", - "2604:6600:2002::/44": "40676", - "2804:80e4::/32": "272419", - "2a0b:7cc0:1::/48": "41652", - "2001:559:2e0::/48": "7922", - "2602:ffa3::/36": "22921", - "2c0f:fb10::/48": "21003", - "2600:9000:f150::/48": "16509", - "2806:2f0:3060::/40": "17072", - "2a0f:2940::/29": "398559", - "2804:7c0:a000::/33": "262316", - "2804:4ea8::/32": "268275", - "2a0c:3880::/29": "44543", - "2001:4e0::/35": "2381", - "2001:678:70::/48": "57801", - "2607:f758:1400::/33": "13649", - "2804:43c8::/32": "267589", - "2804:3918::/32": "266524", - "2a04:d9c0::/32": "20495", - "2a0e:4844::/32": "33823", - "2a0f:b300:1000::/46": "208200", - "2001:559:8348::/48": "33287", - "2001:67c:864::/48": "210887", - "240a:a07c::/32": "142774", - "2600:9000:20d5::/39": "16509", - "2a02:26f7:d4ca::/47": "20940", - "2a0d:fec0:77::/48": "47481", - "2a0f:9400::/45": "139686", - "2a0e:7280::/29": "31477", - "2406:daa0:a0c0::/44": "16509", - "240a:afe6::/32": "146720", - "240e:983:b00::/48": "134420", - "2600:d07:4000::/28": "20161", - "2607:f758:5400::/32": "13649", - "2a04:e802:1d::/32": "57976", - "2001:df0:dc::/48": "38590", - "2600:380:9600::/39": "7018", - "2a01:4f8::/31": "24940", - "2a02:ed04:3410::/33": "50304", - "2a06:3202::/29": "204989", - "2001:559:500::/48": "7015", - "2001:559:5aa::/48": "7922", - "2001:678:864::/48": "210029", - "2804:145c:9000::/33": "263327", - "2a00:65a0::/32": "15930", - "2a01:9680::/32": "57024", - "2a10:7700::/29": "398559", - "2001:559:84b9::/48": "33287", - "2409:8948:9100::/40": "24445", - "2804:3178::/32": "265017", - "2a02:158:fffe::/48": "44946", - "2a02:2e02:1d70::/40": "12479", - "2c0f:fa10::/32": "30844", - "2001:559:8515::/48": "33287", - "2001:7fb:fe03::/45": "12654", - "2804:19a0:2000::/48": "61808", - "2a0d:f9c3::/32": "24953", - "2001:1bc7::/48": "29686", - "2408:8456:8800::/42": "17622", - "240a:a7f5::/32": "144687", - "240a:a91b::/32": "144981", - "2c0f:f078:100::/37": "327939", - "2001:67c:17c4::/48": "3301", - "2402:d000:8129::/45": "9329", - "2804:5c78:5000::/32": "53245", - "2a01:4ba0::/46": "199987", - "240a:a1f7::/32": "143153", - "2804:49b0::/32": "267197", - "2a02:26f7:bf4d::/42": "20940", - "2001:448a:2050::/42": "7713", - "2402:800:35d3::/44": "7552", - "2603:c002:9510::/40": "31898", - "2a02:2168::/29": "42610", - "2001:559:48e::/47": "33657", - "2401:b780:5010::/47": "65435", - "240a:a23a::/32": "143220", - "240a:a41d::/32": "143703", - "240a:af2e::/32": "146536", - "2600:370f:20c3::/42": "32261", - "2a04:4e40:6040::/44": "54113", - "2001:df5:9a80::/48": "134458", - "2403:da40::/39": "138385", - "240a:a074::/32": "142766", - "2603:7::/32": "398789", - "2610:58::/46": "111", - "2604:9cc0::/45": "201106", - "2804:772c::/32": "271160", - "2a02:c2c0::/29": "12513", - "2001:67c:1118::/48": "2119", - "2001:df0:8a80::/48": "139250", - "2406:8e00::/32": "18139", - "2602:fed2:770a::/48": "53356", - "2604:2680:8::/48": "2386", - "2605:1980:107::/38": "13951", - "2801:80:1e11::/48": "14026", - "2801:80:3710::/47": "269346", - "2a01:7d80:a000::/35": "8990", - "2a02:28b7::/32": "51790", - "2405:4800:101::/32": "18403", - "2a0e:b105:6a0::/44": "20473", - "2408:8256:268::/39": "17622", - "2408:8456:c600::/42": "17622", - "2600:1017:a400::/44": "22394", - "2620:0:50f0::/48": "3428", - "2800:a010::/32": "19192", - "2a0b:4340:99::/48": "205610", - "2a0d:12c0::/48": "205804", - "2001:559:7b::/45": "7922", - "2001:67c:3c0::/48": "197495", - "2001:67c:22dc::/48": "31019", - "2a02:26f7:b941::/46": "20940", - "2404:4f00:3044::/48": "394749", - "2405:3a00::/32": "45475", - "2602:feda:d60::/47": "212034", - "2605:9d00::/32": "53767", - "2804:2af0:5::/32": "265126", - "2c0f:e9e0::/32": "22572", - "2402:90c0::/32": "55720", - "240a:a539::/32": "143987", - "240a:ac56::/32": "145808", - "2600:6c38:a96::/44": "20115", - "2804:14d:5600::/40": "28573", - "2001:df0:d::/48": "24088", - "2001:df5:e680::/48": "141492", - "2400:2c1:3000::/48": "4766", - "240a:a0c7::/32": "142849", - "2806:2f0:2103::/48": "17072", - "2405:7600:4000::/35": "23956", - "2605:a900::/45": "46887", - "2405:7f00:9320::/37": "133414", - "240a:a5f3::/32": "144173", - "2604:8600:3000::/33": "14453", - "2804:0:667::/35": "2716", - "2804:7350::/32": "270907", - "2a01:300:10:5::/64": "6461", - "2a06:2800::/29": "25579", - "2001:c20:7000::/44": "3758", - "2401:d800:4a0::/41": "7552", - "2405:1c0:6851::/46": "135062", - "2606:1540:12::/32": "398704", - "2804:37b4::/32": "266430", - "2a00:8080::/32": "43366", - "2403:7f00:2c00::/38": "56300", - "2603:4:1600::/48": "44273", - "2803:fae0::/32": "269956", - "2001:559:85fe::/48": "7015", - "2806:250:24::/46": "28512", - "2001:df0:3780::/47": "131365", - "2404:188::/29": "6619", - "240a:a6c6::/32": "144384", - "2801:1fc:2e::/48": "27951", - "2804:2bb8::/32": "265171", - "2a02:26f7:cac9::/42": "20940", - "2a05:1083:fd00::/42": "209870", - "2001:15e0::/32": "8897", - "2804:40b4::/32": "265976", - "2401:7200::/47": "55328", - "240a:a777::/32": "144561", - "2804:4dbc::/32": "268216", - "2806:230:3012::/48": "265594", - "2a03:1600::/32": "34093", - "2a07:a905:ffef::/48": "204543", - "2401:d800:df30::/41": "7552", - "2403:4000:1a::/32": "24122", - "2408:8459:a010::/42": "17623", - "2c0f:f220::/32": "36924", - "2406:f400:80::/44": "38001", - "240a:ac3c::/32": "145782", - "2001:559:8089::/48": "13367", - "2405:7f00:8000::/39": "133414", - "2804:7e4:8100::/33": "52865", - "2604:5cc0:1fff::/32": "13351", - "2804:4398::/32": "267578", - "2a01:9000::/29": "43424", - "2001:49f0:d0d7::/44": "174", - "2402:4480:304::/48": "138433", - "2406:b400:50::/46": "18209", - "2408:8456:8e40::/39": "17816", - "240a:aec1::/32": "146427", - "2606:1b40:800::/40": "19740", - "2607:fb10:2011::/46": "55095", - "2a05:dfc7:24::/47": "203909", - "2a07:d880::/32": "3214", - "2c0f:7200::/32": "37219", - "2408:8459:1d30::/41": "17622", - "2408:8956:8000::/40": "17622", - "240a:a486::/32": "143808", - "240a:a4e8::/32": "143906", - "2804:6c1c::/32": "270446", - "2a06:7340:1782::/48": "199364", - "2400:9380:8020::/47": "4134", - "2409:8a3c:5100::/32": "24444", - "2804:5410::/32": "268626", - "2a00:12c0::/29": "47215", - "2a01:728::/39": "16347", - "2a0e:aa07:f000::/48": "139742", - "2001:1938:20::/35": "12989", - "2001:4479:c000::/36": "7545", - "2604:d600:c79::/46": "32098", - "2001:559:db::/48": "33657", - "2604:8280::/32": "27618", - "2a0e::/26": "31549", - "2001:550:b801::/38": "174", - "2001:678:1d4::/48": "64449", - "240a:a5e5::/32": "144159", - "2620:1ec:41::/44": "8068", - "2a00:13c8::/46": "25291", - "2001:480:21::/46": "668", - "2001:44c8:41c0::/42": "45430", - "2603:90bd::/32": "11955", - "2a01:8840:8e::/43": "12041", - "2a04:ffc0:1::/48": "59949", - "2c0f:f508::/32": "327754", - "2605:a404:2df::/39": "33363", - "2001:67c:17c0::/48": "204896", - "2401:d800:d310::/42": "7552", - "2602:fe0d::/36": "30168", - "2001:67c:27e4::/48": "198644", - "2804:cb0::/32": "52742", - "2a06:7240:6::/48": "57878", - "2a07:3500:19e0::/48": "38915", - "2001:67c:528::/48": "50222", - "2a00:9560::/29": "58003", - "2001:253:112::/48": "142078", - "2001:44a8::/32": "23836", - "2804:5be8::/32": "268876", - "2a02:26f7:f244::/48": "36183", - "2a07:5c80::/29": "207758", - "2001:df0:2b7::/48": "9555", - "2404:4100::/48": "38185", - "240e:473:9a00::/41": "140485", - "2600:1409:c801::/35": "20940", - "2a02:26f7:f6f1::/46": "20940", - "2a0f:e5c0::/48": "60781", - "2001:4878:c037::/44": "12222", - "2401:f000:2:300::/45": "38477", - "2a00:1ec0:2::/48": "5425", - "2a02:26f7:a6::/48": "36183", - "2a03:fdc0::/32": "8818", - "2408:8459:cd50::/38": "17816", - "2409:8027:2a04::/46": "9808", - "2605:a401:8354::/42": "33363", - "2620:106:3000::/46": "36671", - "2a04:c900:3000::/36": "48096", - "2a0b:d780::/29": "16019", - "2001:559:8710::/48": "33491", - "2409:8c2f:3801::/43": "56041", - "240a:afef::/32": "146729", - "2606:2800:4046::/48": "14210", - "2804:2c08::/32": "265189", - "2a02:348:9d::/42": "35470", - "2a02:e0c0:1000::/38": "9100", - "2403:780::/44": "64098", - "2610:1c0::/45": "11403", - "2a02:4540::/41": "197207", - "2001:559:80fe::/47": "7015", - "2001:559:878f::/48": "7015", - "2408:8957:bd00::/40": "17816", - "2804:5b4c::/32": "268833", - "2a03:3180:f::/48": "47692", - "2001:550:1803::/39": "174", - "2400:b640::/48": "64067", - "240e:473:3d20::/41": "140486", - "2600:370f:73a8::/46": "32261", - "2a02:6c20:807::/48": "201922", - "2a0f:2dc0::/29": "60262", - "2001:678:f68::/48": "211169", - "2403:6380:14::/46": "212237", - "2408:8456:f140::/28": "17816", - "2604:d980::/32": "54235", - "2804:13d0:99c0::/38": "263297", - "2a01:7660::/45": "12843", - "2a03:db80:4c80::/48": "5501", - "2001:559:82d6::/48": "33287", - "240e:438:a440::/38": "4134", - "240e:6bb::/36": "140316", - "2803:ad80:aa1::/48": "42388", - "2406:1400::/48": "24342", - "2620:149:245::/37": "714", - "2804:14c:4300::/40": "28573", - "2804:390c::/32": "266520", - "2a03:4900::/46": "197695", - "2405:8a00:21b2::/45": "55824", - "2406:da70:2000::/40": "16509", - "2600:9000:10cd::/43": "16509", - "2803:de20::/32": "265879", - "2804:14d:2c84::/41": "28573", - "2001:2000:9100::/31": "1299", - "2401:3b40::/32": "132365", - "2405:1c0:6573::/40": "55303", - "2804:4414::/32": "267620", - "2806:230:6024::/48": "265594", - "2806:266:480::/41": "13999", - "2a02:a80::/29": "52126", - "2605:c240::/32": "207976", - "2607:f8f8:1f05::/44": "201106", - "2a02:26f7:f60c::/48": "36183", - "2620:124:6060::/40": "40816", - "2001:388:1031::/45": "7575", - "2001:67c:734::/48": "198656", - "2001:4488:fe62::/30": "7713", - "2607:ff38:4::/32": "22937", - "2a10:2f00:15e::/48": "212227", - "2001:550:2400::/48": "18531", - "2400:8000:5::/46": "4800", - "240e:1a:10::/44": "137702", - "2a03:ae40:ff00::/40": "56511", - "2409:875c::/33": "9808", - "240a:a885::/32": "144831", - "240a:aeff::/32": "146489", - "2804:1680:1040::/32": "263289", - "2001:13c7:6000::/48": "3549", - "2400:dd0d:1003::/34": "7497", - "240a:a0f0::/32": "142890", - "2602:feda:bd0::/48": "140946", - "2620:11a:a024::/47": "36040", - "2a01:a640::/32": "15966", - "2001:4478:1600::/36": "4802", - "240e:3b3:5600::/34": "136199", - "240e:438:7220::/43": "140647", - "2600:1403:ac02::/35": "20940", - "2606:f900:9f01::/34": "812", - "2402:e280:1100::/48": "134674", - "2406:da14::/36": "16509", - "2408:8459:ce50::/39": "17816", - "240a:aa22::/32": "145244", - "2a01:bb22::/31": "14618", - "2400:8b00:e00::/42": "45727", - "2402:800:f810::/42": "7552", - "2602:ffc5:180::/46": "29802", - "2a02:17f9::/32": "35548", - "2001:559:725::/48": "7015", - "2400:cb00:350::/45": "13335", - "2607:e480::/46": "395748", - "2607:fcd0:fa80:5a01::/53": "8100", - "2620:43:4000::/48": "209", - "2800:300:8500::/40": "27651", - "2a01:9700:1280::/46": "8376", - "2a06:8340::/29": "202177", - "2001:550:1402::/47": "397601", - "2408:840d:a900::/42": "17621", - "2409:8c28:6d08::/35": "56041", - "240a:a712::/32": "144460", - "2620:0:d30::/48": "22920", - "2804:14c:bd87::/41": "28573", - "2804:3f10:4203::/34": "262566", - "2001:df7:ed00::/48": "138806", - "2402:1200:9::/43": "24523", - "2402:7d80:6666::/48": "63583", - "2402:e7c0:80::/37": "59078", - "2408:8256:3399::/48": "17816", - "2600:1012:b0d0::/42": "6167", - "2800:160:18a4::/41": "14259", - "2800:490:4000::/36": "27951", - "2a06:1b00:9a::/39": "8302", - "2001:16f8:4001::/32": "25525", - "2604:e500::/32": "6461", - "2a06:2540::/29": "44994", - "2a0e:b107:3f0::/46": "57883", - "2001:678:660::/48": "203829", - "2408:8256:36a0::/39": "17816", - "240e:5e:1000::/42": "134773", - "2605:f440:5654::/40": "50555", - "2a04:f8c0::/29": "201698", - "2408:8459:2c20::/44": "17816", - "2620:5e:c000::/48": "393304", - "2620:11c:1001::/48": "46764", - "2001:fb0:101c::/48": "55476", - "2404:2000:3100::/32": "23905", - "2620:4e::/48": "11872", - "2804:532c::/39": "268568", - "2806:230:4006::/48": "265594", - "2a0f:9400:7200::/40": "206938", - "2600:141b:b001::/36": "20940", - "2620:10f:400f::/48": "10390", - "2406:f0c0:106::/48": "138654", - "2605:48c0::/32": "397504", - "2a05:d018::/36": "16509", - "2001:559:86fe::/47": "33654", - "2001:579:b1c4::/36": "22773", - "2600:6c38:716::/47": "20115", - "2607:f110:32::/45": "21889", - "2804:5e7c::/32": "269036", - "2a02:26f7:e0cd::/42": "20940", - "2a04:4e40:7810::/42": "54113", - "2001:67c:27d4::/48": "42177", - "2001:dce:5::/48": "133532", - "2001:df0:245::/48": "132020", - "2804:4ec:1300::/37": "28668", - "2a00:5800::/32": "198500", - "2a03:c80::/32": "8829", - "2a04:a9c0::/29": "35574", - "2402:800:fbd0::/37": "7552", - "2803:58a0::/32": "266811", - "2a0b:2900:216d::/38": "48582", - "2001:aa8::/32": "20621", - "240a:a8d7::/32": "144913", - "240e:3b6:8200::/35": "140316", - "2803:9800:9031::/45": "11664", - "2001:559:c12d::/48": "13367", - "2804:354:a::/48": "262874", - "2a05:dcc0::/29": "15600", - "2804:13d8::/32": "262669", - "2a02:26f7:cd4c::/48": "36183", - "2a02:26f7:f3c8::/48": "36183", - "2001:559:8135::/48": "7922", - "2001:559:8434::/48": "7015", - "2406:3100::/32": "9411", - "240a:a4a0::/32": "143834", - "240a:ac20::/32": "145754", - "2a02:ec00::/29": "25540", - "240a:ab08::/32": "145474", - "2600:6c38:8b9::/41": "20115", - "2806:310:2b::/45": "16960", - "2402:800:35ee::/38": "7552", - "2001:fd8:161::/46": "4775", - "2600:6c38:194::/44": "20115", - "2604:280::/32": "6653", - "2606:34c0:1::/48": "398810", - "2801:80:39d0::/48": "271047", - "2a01:9fa0::/32": "29316", - "2607:f7a8:602::/48": "46887", - "2a0d:5540::/46": "210269", - "2604:a880::/45": "14061", - "2a04:7e80::/29": "50794", - "2a05:10c0::/29": "207594", - "2001:df4:2d00::/48": "135905", - "2801:80:1400::/48": "11097", - "2804:70c0:32::/48": "270746", - "2a01:5400::/32": "12775", - "2a03:8640::/32": "8491", - "2a06:7244::/32": "57878", - "2a0e:6902:2000::/36": "57695", - "2001:559:1bb::/48": "7922", - "2001:67c:2dec::/48": "41617", - "2001:16a2:c000::/40": "39891", - "2001:49d0:8800::/33": "2495", - "2406:3000:7::/44": "4657", - "240a:a19b::/32": "143061", - "2600:6c38:f14::/47": "20115", - "2001:559:242::/48": "7016", - "2405:2000::/32": "6453", - "2408:8956:2600::/40": "17622", - "2804:4c74::/32": "267371", - "2804:653c::/32": "269477", - "2a02:26f7:cdc1::/46": "20940", - "2a06:6540:1241::/48": "8220", - "2603:903e::/32": "33363", - "2804:2e44::/32": "265335", - "2a0f:c640::/48": "34798", - "2001:418:9807::/48": "27435", - "2605:a900:d::/35": "46887", - "2a0d:1f00::/29": "39122", - "2a0f:5707:af07::/44": "211358", - "2803:c200::/47": "22411", - "2804:3108::/32": "264988", - "2a02:26f7:b589::/42": "20940", - "2a02:26f7:f741::/46": "20940", - "2a03:20::/32": "200561", - "2a04:1c0::/29": "57795", - "2a09:bac0:26::/44": "13335", - "2606:ae00:6480::/36": "7287", - "2801:80:1260::/44": "263857", - "2804:170::/32": "28131", - "2a0d:7680::/48": "206576", - "2001:559:67::/48": "7015", - "240a:a726::/32": "144480", - "2806:20d:1614::/44": "32098", - "2a00:8d40::/33": "29584", - "2a11:3800::/29": "43624", - "2001:57a:500::/46": "22773", - "2001:67c:390::/48": "51857", - "2600:1400:1000::/48": "6128", - "2620:135:604a::/45": "22697", - "2a0b:4340:41::/48": "41780", - "2804:22c:e124::/35": "22689", - "2a00:8007:ff00::/40": "197898", - "2a05:b740::/29": "210026", - "2a01:8840:9a::/45": "12041", - "2001:67c:798::/48": "15404", - "2401:d800:f110::/42": "7552", - "2600:6c38:339::/41": "20115", - "2607:f2c0::/32": "5645", - "2610:b0:401c::/47": "21433", - "2804:3ab4:f800::/37": "266104", - "2806:230:202e::/48": "265594", - "2a03:62a0:3501::/48": "1759", - "2a04:ff00:b00b::/48": "200299", - "2a0b:1cc0::/29": "42149", - "2001:b28:a70d::/64": "42765", - "2408:8957:3100::/40": "17816", - "2620:45:2000::/48": "577", - "2a05:d480::/29": "57795", - "2001:4878:102::/47": "12222", - "2600:1005:b170::/33": "22394", - "2804:214:4103::/32": "26615", - "2804:23c8::/32": "264182", - "2804:7934::/32": "271291", - "2001:1248:84ef::/43": "11172", - "2605:3c80:fa::/48": "20115", - "2001:df0:2c5::/48": "58629", - "2620:1ec:35::/41": "8075", - "2804:7f30:7c00::/32": "271672", - "2a0a:9b80::/32": "200665", - "2400:c800:620::/33": "4515", - "2402:800:71e0::/38": "7552", - "2406:1500:1::/48": "132579", - "2406:fb40::/32": "139841", - "2804:36f0::/34": "266381", - "2a0d:bc2::/29": "29384", - "240e:473:9350::/40": "4134", - "2804:8188::/32": "272460", - "2806:370:5390::/44": "28403", - "2409:8b50::/30": "9808", - "240e:978:6100::/36": "4134", - "2804:62b8::/32": "269314", - "2a02:26f7:be84::/48": "36183", - "2a0e:b107:b50::/44": "213064", - "2606:6800::/40": "394597", - "2804:4930::/32": "267169", - "2a02:2891:4::/48": "51185", - "2401:cf80:6110::/40": "55303", - "2804:354:a1b1::/45": "262874", - "2a01:8840:16::/44": "12041", - "2606:400::/32": "14051", - "2607:500::/32": "17049", - "2804:6a14:200::/32": "61601", - "2a01:9200::/32": "200507", - "2a0f:bf00:140::/29": "208196", - "2602:ffc5:168::/48": "13830", - "2804:487c:20a::/43": "267124", - "2a00:4a00:8000::/33": "39356", - "240a:a045::/32": "142719", - "240a:a4aa::/32": "143844", - "2607:fae0:245::/48": "15562", - "2803:9800:9039::/40": "11664", - "2a00:5980::/32": "197869", - "2a02:26f7:d1cd::/42": "20940", - "2001:1bf8::/29": "47814", - "2408:8456:2240::/39": "17816", - "2001:43f8:2a0::/48": "32279", - "2603:c013:4000::/36": "31898", - "2604:7c40::/38": "31867", - "2606:ee00:5::/48": "15102", - "2803:f7a0::/32": "267783", - "2804:64f8::/32": "269460", - "2a02:928::/32": "34108", - "2a02:2908::/29": "50010", - "2001:480:253::/48": "228", - "2803:6900:543::/48": "52423", - "2804:174c::/32": "263135", - "2a02:28:7::/48": "60490", - "2a03:85c0:140::/48": "24989", - "2a07:8c80::/29": "202789", - "2a0a:6680:1000::/36": "203500", - "2001:7fa:5::/48": "23911", - "2408:840c:1100::/40": "17621", - "2001:559:822f::/48": "33287", - "2803:a240::/32": "263805", - "2a00:4802:2610::/36": "13124", - "2a03:6800::/32": "47902", - "2402:800:9747::/43": "7552", - "2409:8904:2740::/36": "24547", - "240a:a610::/32": "144202", - "2804:14d:8e89::/45": "28573", - "2001:df2:b680::/48": "140070", - "2001:df6:7b80::/48": "142059", - "2600:140f:dc00::/48": "55836", - "2804:43f4:30::/41": "267601", - "240a:a498::/32": "143826", - "240e:44d:2080::/41": "4134", - "2801:80:d90::/48": "264471", - "2a02:ad8:24::/38": "12389", - "2607:6004:a100::/40": "397378", - "240a:a3ff::/32": "143673", - "2600:140b:8801::/38": "20940", - "2602:ff01::/48": "396101", - "2804:7878::/32": "271244", - "2001:678:5c::/48": "198147", - "2001:44b8:30c1::/48": "4739", - "2402:800:5bc5::/43": "7552", - "2804:fa8::/32": "53050", - "2c0f:ef78:11::/48": "63293", - "2605:a401:8c0a::/43": "33363", - "2607:f050::/32": "7784", - "2801:16c::/44": "18747", - "2801:16e:6::/42": "19429", - "2a0c:a680::/29": "21331", - "2a0f:9400:802c::/48": "213234", - "2001:678:a50::/48": "24971", - "2408:8459:3610::/44": "17623", - "2804:1a0:2::/32": "28189", - "2804:2654::/32": "264327", - "2605:2800::/40": "6922", - "2801:c4:1e::/48": "265553", - "2806:230:1011::/48": "11888", - "2a02:26f0:4a01::/40": "20940", - "2a0a:b300::/29": "206951", - "2a0d:e940::/36": "35507", - "2001:559:871a::/48": "21508", - "2001:df2:b780::/48": "140068", - "2804:1a80:8100::/33": "262333", - "2a02:26f7:ee8d::/42": "20940", - "2001:678:c08::/48": "207491", - "240e:b6:1000::/31": "4134", - "2600:1fa0:8010::/39": "16509", - "2607:f028:8::/48": "2173", - "2804:1340::/32": "263524", - "2804:3194::/33": "265024", - "2a05:df01:2::/29": "47891", - "2a09:bac0:31::/48": "13335", - "2a0d:1a45:babf::/33": "57782", - "2a0e:fd45:b01::/42": "44103", - "2001:7f8:5f::/48": "2593", - "2403:4100::/32": "24210", - "2603:fa30::/29": "262287", - "2606:2800:7100::/48": "15133", - "2804:2b3c::/32": "265142", - "2a02:778::/32": "48284", - "2001:559:8151::/48": "7016", - "2606:4700:55::/46": "13335", - "2804:668c::/32": "269567", - "2804:7c04::/32": "271470", - "2a02:2278:216::/32": "28907", - "2a07:4a40::/29": "57795", - "2001:41b8::/32": "8365", - "2a02:26f7:e7cc::/48": "36183", - "2405:84c0:faab::/41": "9886", - "2408:8957:e600::/40": "17622", - "240a:a019::/32": "142675", - "2a02:26f7:c388::/46": "36183", - "2402:3c00::/32": "9814", - "2600:6c38:351::/37": "20115", - "2a02:29a8::/37": "60142", - "2a03:b0c0::11/46": "14061", - "2a02:f68::/29": "15542", - "2a07:1c44:7100::/40": "34854", - "2a09:24c0::/32": "209323", - "2001:1248:9aae::/43": "11172", - "2409:8006::/31": "9808", - "240a:a15a::/32": "142996", - "2600:1004:a000::/42": "6167", - "2800:160:10cf::/43": "14259", - "2801:15a:10::/44": "52330", - "2804:2d0::/32": "53230", - "2a00:1c78:2::/29": "25408", - "2001:550:103::/45": "174", - "2001:559:142::/48": "20214", - "2402:800:5a63::/43": "7552", - "2405:8c0::/47": "139301", - "2408:8956:dc00::/40": "17622", - "240e:44d:4580::/41": "4134", - "2605:a404:b0::/47": "33363", - "2806:2f0:1283::/48": "22884", - "2001:559:254::/48": "7922", - "2001:559:52a::/48": "33491", - "2001:df0:201::/48": "1221", - "2001:4830:200::/40": "25623", - "2408:8256:3d6c::/43": "17623", - "240e:44d:3b80::/41": "4134", - "2804:5ff4::/32": "269136", - "2a02:888:0:302::/53": "47794", - "2a02:26f7:d005::/46": "20940", - "2a0e:9640::/29": "44592", - "2001:559:8454::/48": "33651", - "2600:1000:b1d0::/42": "6167", - "2801:0:210::/48": "19429", - "2a01:8840:95::/48": "207266", - "2a02:70:2::/39": "3326", - "2a07:84c0::/29": "43770", - "240e:a66:1a00::/34": "140330", - "2001:559:8085::/48": "33287", - "2001:678:b34::/48": "208051", - "2401:3c0:10d::/48": "45528", - "2403:8300:80bf::/48": "55423", - "2a02:26f7:f5c5::/46": "20940", - "2a05:df00::/31": "47891", - "2a0a:7880:101::/48": "206677", - "2a0c:3d40::/32": "204315", - "2001:678:59c::/48": "44973", - "2a05:6200:74::/48": "60068", - "2a0c:b641:5f0::/44": "212832", - "2a0c:b641:7a1::/46": "207268", - "2a04:c440:2b00::/33": "2047", - "2001:67c:256c::/48": "48091", - "2404:87c0::/32": "138652", - "2409:8c5c::/26": "9808", - "2804:10bc:500::/32": "263646", - "2804:75a0::/32": "271059", - "2a00:7280::/32": "56745", - "2a01:b740:a10::/48": "6185", - "2405:1c0:6465::/43": "55303", - "240a:a7ee::/32": "144680", - "2804:2250::/33": "262756", - "2c0f:ea00::/32": "327733", - "2001:678:b18::/48": "15507", - "2001:4d38::/32": "12850", - "2409:8924:2100::/38": "56046", - "240a:a68a::/32": "144324", - "2604:2100::/32": "3634", - "2806:2ed::/32": "28398", - "2a0d:3842:1180::/48": "57629", - "240e:982:d500::/40": "134769", - "2801:80:720::/48": "263559", - "240a:ae03::/32": "146237", - "2a0a:2cc0::/29": "206355", - "2001:67c:28a0::/48": "202592", - "2a00:1bd0::/32": "39704", - "2404:f801:802d::/33": "3598", - "2a0e:1d40::/29": "212655", - "2001:468:2630::/48": "396955", - "2409:8904:d170::/40": "24547", - "240e:3bb:9200::/36": "140317", - "2602:feb4:1d0::/44": "25961", - "2804:56e8::/32": "268031", - "2a00:86c0:200a::/42": "2906", - "2405:8080::/33": "23664", - "2801:80:a80::/44": "11242", - "2804:68a0::/32": "269705", - "2a02:26f7:f08c::/48": "36183", - "2a04:4e40:f010::/41": "54113", - "2a06:c7c0::/29": "198024", - "2401:da40::/32": "134548", - "2804:7dcc::/32": "271583", - "2a02:c50::/36": "51531", - "2a09:7:1::/48": "23959", - "2607:f688::/32": "26935", - "2804:1dac::/32": "264385", - "2400:cb00:362::/44": "13335", - "2408:8956:4000::/40": "17622", - "2600:141c:3001::/33": "20940", - "2602:feb4:120::/44": "25961", - "2a02:26f7:f709::/46": "20940", - "2001:18d8::/32": "14", - "2406:7400:b7::/44": "24309", - "2a06:ac00::/29": "41405", - "2a0a:9240::/32": "201543", - "2620:122:8002::/48": "399730", - "2801:80:35c0::/47": "269086", - "2804:71b0::/32": "270805", - "2804:7300::/32": "270889", - "2a00:de61:100::/38": "16509", - "2a01:cd00:8020::/48": "28708", - "2001:678:108::/48": "196682", - "2408:8456:3a50::/39": "17816", - "2801:84::/47": "263300", - "2804:710c::/32": "270763", - "2a0d:60c0::/32": "59504", - "2a0e:4840::/32": "33823", - "2a0e:b107:da0::/44": "142438", - "240a:abcd::/32": "145671", - "2804:fb4::/34": "263599", - "2402:800:b650::/39": "7552", - "2607:4000:400::/40": "73", - "2607:4e80::/32": "15165", - "2804:689c::/32": "269704", - "2001:df5:580::/48": "138243", - "2800:bf0:826c::/43": "52257", - "2804:3eb0::/32": "266615", - "2a01:8fc0::/32": "8913", - "2a02:26f7:bccd::/46": "20940", - "2a03:90c0:999f::/48": "199524", - "2001:559:58::/48": "7922", - "2001:44b8:4044::/48": "7545", - "2600:140b:d801::/37": "20940", - "2a05:b2c2::/31": "12414", - "2001:559:c163::/48": "7015", - "2001:ce0:2300::/37": "3662", - "2402:800:70f0::/39": "7552", - "2605:3380:4705::/40": "12025", - "2a02:26f7:c209::/42": "20940", - "2001:678:cf8::/48": "38974", - "2403:d340::/32": "136462", - "2404:f340:4000::/34": "139190", - "2806:2f0:1320::/34": "17072", - "2a00:19c0::/32": "15922", - "2a0e:97c0:15ba::/48": "20473", - "2001:980::/29": "3265", - "2409:8c30:1210::/39": "9808", - "2a04:a470:10::/48": "2116", - "240e:d6:2000::/33": "4134", - "2a02:26f7:57::/48": "20940", - "2a04:2f81:2::/47": "61157", - "2a10:a80::/32": "202717", - "2804:30c4::/35": "264973", - "2001:559:8392::/48": "33651", - "2403:cd80::/32": "135025", - "2409:8907:6e20::/35": "24547", - "2409:8b1e::/31": "24400", - "240a:a057::/32": "142737", - "240e:44d:2480::/41": "4134", - "240e:473:600::/41": "140485", - "2a01:ba80::/32": "49063", - "2a02:26f7:91::/48": "20940", - "2a0e:97c0:1200::/40": "20473", - "2404:2680::/32": "9618", - "2a01:190:1500::/48": "206159", - "2803:5200:3000::/32": "64116", - "2804:28e4:e002::/42": "28260", - "2a00:5100::/32": "35046", - "2a0c:ec80::/32": "204659", - "2001:67c:5f4::/48": "51815", - "240e:44d:5c80::/41": "4134", - "2a00:5d80::/32": "20860", - "2c0f:f670::/32": "37532", - "2001:978:9e00:1::/34": "174", - "2804:1568:c100::/34": "263387", - "2a06:9a80::/29": "60241", - "2001:df4:3480::/48": "140905", - "240e:3b7:2c00::/35": "134774", - "2606:2e00:8014::/44": "36351", - "2800:160:1d84::/44": "14259", - "2001:550:100:6::/47": "174", - "240a:a10b::/32": "142917", - "2610:188::/32": "14511", - "2001:559:4d7::/48": "33657", - "2a0c:180::/29": "39419", - "2a02:26f7:d580::/48": "36183", - "2001:ee0:9840::/39": "45899", - "2401:d800:fee0::/39": "7552", - "240a:a41b::/32": "143701", - "240d:c000:1000::/34": "132203", - "2602:feb4:260::/44": "25961", - "2607:fda8:4::/48": "54004", - "2a01:a580::/29": "30972", - "2402:800:95c5::/42": "7552", - "2a02:26f7:c608::/47": "36183", - "2a02:26f7:cb09::/46": "20940", - "2c0f:f1c8::/32": "37037", - "240e:964:2000::/37": "4134", - "2a03:a500::/32": "60087", - "2402:800:5001::/39": "7552", - "2406:7700::/32": "132694", - "2607:fb58:2::/34": "36086", - "2a00:7540::/29": "25145", - "2a02:888::/54": "47794", - "2804:2cc4::/32": "265242", - "2a04:cc40::/29": "59770", - "2a02:2668:3a00::/33": "16345", - "2401:7500:ff1::/48": "133296", - "2408:840c:8200::/40": "17621", - "2803:760:7800::/32": "269816", - "2a02:26f7:d000::/48": "36183", - "2001:559:830f::/48": "7922", - "2001:559:8638::/48": "33491", - "2400:f8c0:2::/48": "135517", - "2600:1409:8000::/48": "35994", - "2401:f9c0:2600::/40": "133398", - "2404:78c0::/47": "135126", - "240e:355:5c00::/34": "134419", - "2804:2ea8::/32": "262642", - "2a00:7180:8000::/46": "208157", - "2a04:9600::/29": "199766", - "240a:a4b9::/32": "143859", - "2604:8600::/34": "14453", - "2607:f2b1:4001::/48": "30614", - "2001:678:50::/48": "57382", - "240e:978:1a00::/37": "4134", - "2600:370f:5284::/43": "32261", - "2607:f3a0:4000::/32": "23342", - "2a02:fc8:2::/48": "8218", - "2a04:f7c0::/30": "201766", - "2a0e:8f02:f036::/48": "210915", - "240a:a43d::/32": "143735", - "2607:7c80:53::/48": "398987", - "2a02:26f7:f184::/48": "36183", - "2403:e040:8000::/33": "16509", - "240e:3b7:6400::/35": "140312", - "2803:f520::/32": "266695", - "2a02:26f7:dc88::/48": "36183", - "2001:4878:2062::/47": "12222", - "2402:5ac0:b00::/32": "137409", - "2604:d600:151b::/45": "32098", - "2a02:2698:4400::/38": "42116", - "2400:9380:9020::/47": "4809", - "2405:7000:2c00::/40": "18281", - "2408:84f3:b640::/36": "17816", - "2409:8915:8c00::/39": "56044", - "2001:df3:a880::/48": "4826", - "2401:d800:52a0::/41": "7552", - "2600:1f01:4890::/47": "16509", - "2605:6480::/32": "92", - "2a06:b00::/29": "3342", - "2a0e:6340::/29": "58154", - "2001:559:89::/48": "20214", - "2408:8256:2d6a::/48": "17816", - "2a01:66a0::/32": "202208", - "2401:af80:9016::/33": "59103", - "240e:fb:8000::/35": "134772", - "2604:3545::/30": "399587", - "2001:579:5a94::/44": "22773", - "2001:43f8:1390::/48": "328478", - "2602:ffc5:141::/48": "203027", - "2a02:4540:5040::/46": "197207", - "2a03:5a00:12::/48": "207079", - "2a09:7184::/30": "39614", - "2a02:26f7:ec50::/48": "36183", - "2001:559:219::/48": "33657", - "2401:ff80:1981::/46": "133954", - "2409:8008:d0::/47": "9808", - "2409:805e:1100::/36": "9808", - "2602:803:2000::/40": "11894", - "2804:3244::/43": "265066", - "2a00:5080::/32": "31400", - "2a0f:4400::/29": "48305", - "2402:a300:4006::/36": "55427", - "2803:f7e0:1000::/43": "271773", - "2804:1f4a::/32": "271354", - "2804:2060::/32": "264489", - "2a04:f580:9210::/48": "4809", - "2001:67c:1484::/48": "28917", - "2001:448a:4010::/42": "7713", - "2402:9d80:103::/48": "131429", - "2404:c740::/47": "131655", - "2a00:1850:2a1::/48": "29357", - "2a03:8b60::/45": "29256", - "2a03:c340::/32": "57324", - "2a00:74c0::/39": "6659", - "2001:678:498::/48": "44574", - "2403:9800:12::/42": "4648", - "2604:9e80::/32": "30396", - "2804:3944::/32": "266022", - "2804:5ba8::/34": "268861", - "2804:626c::/32": "269296", - "2804:764c::/32": "271102", - "2a02:2698:2800::/38": "41668", - "2001:67c:1010::/47": "8674", - "2401:4900:5818::/42": "45609", - "2804:724c::/32": "270845", - "2a01:4f0:4017::/48": "31027", - "2404:3d00:4138::/45": "3573", - "2a02:26f7:58::/48": "36183", - "2600:1411:2001::/33": "20940", - "2a01:5b0:a::/43": "8391", - "2a02:26f7:f94d::/42": "20940", - "2a0a:2640::/29": "200428", - "2600:c02::/35": "12182", - "2804:204:219::/45": "28186", - "2804:104c:2400::/40": "263629", - "2a0f:9400:8024::/47": "53356", - "2001:559:1e4::/48": "33651", - "2001:559:8702::/48": "7015", - "240a:a0c4::/32": "142846", - "2605:e2c0:100::/40": "59761", - "2610:a8::/32": "600", - "2401:ff80:1c03::/45": "133954", - "2403:fdc0:7000::/32": "7175", - "2804:1d58::/32": "264362", - "2804:1e64::/32": "264426", - "2a03:9d40:1000::/38": "41095", - "2a0a:e200:1510::/48": "199156", - "240e:438:5a40::/37": "4134", - "2600:400:8f00::/33": "15147", - "2803:a000::/32": "27745", - "2a01:b740:16::/36": "714", - "2a0e:b107:86c::/48": "211840", - "2409:8904:a440::/39": "24547", - "2606:2480::/32": "36511", - "2804:5050::/32": "268381", - "2a00:1288:ef99::/41": "10310", - "2a09:27c0::/29": "209531", - "2408:840c:7900::/40": "17621", - "2a02:26f7:f748::/48": "36183", - "2a03:4600::/32": "44334", - "2405:2a00::/32": "55388", - "240a:a9ae::/32": "145128", - "240a:a9c1::/32": "145147", - "240e:6b9:2000::/36": "140312", - "2a01:9700:13fc::/37": "8376", - "2001:778::/32": "2847", - "2402:800:9155::/42": "7552", - "2402:e380:31a::/48": "141376", - "2408:8459:9250::/37": "17816", - "2a00:44a0::/32": "44020", - "2a02:28:e::/29": "8359", - "2a0b:d0c0::/29": "51178", - "2402:b780::/41": "64047", - "2804:5f14::/32": "269075", - "2001:559:c1b4::/48": "33668", - "2405:7f00:9620::/36": "133414", - "240a:a664::/32": "144286", - "2607:fb90:5700::/34": "21928", - "2800:200:e261::/40": "12252", - "2804:531c:228::/43": "268564", - "2a0c:1880::/29": "211594", - "240a:af7a::/32": "146612", - "2620:130:3011::/46": "62861", - "2a01:b740:a19::/48": "714", - "2a02:6700::/32": "51695", - "2403:6b80:ffff::/48": "2635", - "2405:5700::/32": "17882", - "240c:4082::/29": "38365", - "2620:171:a0::/44": "715", - "2804:14c:4e1::/45": "28573", - "2806:2f0:81e0::/38": "17072", - "2a0c:3340::/29": "39602", - "2001:6d0:ffc4::/48": "21416", - "2604:8c00::/32": "4474", - "2606:1540::/43": "398704", - "2804:63b0::/32": "269377", - "2a04:ad80::/47": "44684", - "2001:df2:4280::/48": "139826", - "2409:807b::/29": "9808", - "2803:e40:84::/44": "27797", - "2a05:bc0::/32": "8495", - "2001:1a68:22::/44": "15694", - "240a:a2c1::/32": "143355", - "2a00:1e50::/33": "34006", - "2402:4000::/35": "18001", - "2408:8957:b500::/40": "17816", - "240e:108:1011::/41": "4134", - "2607:fb10:70c0::/43": "2906", - "2804:7924::/32": "271287", - "2401:c680:f::/48": "134371", - "2408:8459:450::/38": "17816", - "2605:29c0::/32": "397312", - "2a02:df8::/29": "20799", - "2a02:26f7:ceca::/42": "20940", - "2406:daa0:6060::/44": "16509", - "2600:1404:d401::/38": "20940", - "2804:2198::/38": "52807", - "2a02:26f7:f801::/46": "20940", - "2001:ce0:8::/48": "7651", - "2402:3300:cac2::/48": "56300", - "2408:84e1::/39": "4808", - "240a:a3bb::/32": "143605", - "2001:559:308::/47": "33491", - "2001:67c:1400::/46": "29670", - "2604:d600:15be::/41": "32098", - "2a0a:4dc0:1::/48": "206168", - "2403:5000:166::/43": "9304", - "240e:3ba:7600::/39": "140313", - "240e:3be:9c00::/34": "140310", - "240e:a53:5c00::/34": "134419", - "2001:678:6::/48": "44358", - "2408:84f3:3210::/44": "17623", - "240e:838:10::/42": "4134", - "2a02:26f7:bac6::/47": "20940", - "2a02:26f7:eb40::/48": "36183", - "2405:7140::/47": "132335", - "2408:8459:650::/36": "17816", - "2402:800:b8c0::/42": "7552", - "2408:8459:aa10::/42": "17623", - "2408:8756:ca0::/41": "136958", - "2804:14c:75a6::/47": "28573", - "2804:404c::/43": "265950", - "2a02:26f7:e5::/48": "20940", - "2405:8180:f00::/35": "135478", - "2600:1408:b401::/36": "20940", - "2a02:26f7:f4c4::/48": "36183", - "2620:134:6006::/47": "33538", - "2804:395c::/32": "266026", - "240a:a93b::/32": "145013", - "2600:2c01:5000::/36": "11383", - "2001:579:8a0::/43": "22773", - "2001:1560::/32": "34171", - "2404:5780:3::/48": "9558", - "2602:ffc5:500::/40": "26548", - "2803:9800:ba04::/33": "11664", - "2a0a:2784::/32": "206774", - "2406:8800:9025::/44": "17465", - "2600:8807:89a6::/41": "22773", - "2804:60fc::/32": "269204", - "2001:559:866d::/48": "13367", - "2001:4868:10c::/48": "62795", - "2804:88:8000::/47": "28135", - "2a03:2880:f16c::/40": "32934", - "2001:1248:5ae8::/43": "11172", - "2409:8924:af00::/35": "56046", - "240a:abd5::/32": "145679", - "2804:2468::/32": "264221", - "240a:aa6f::/32": "145321", - "2600:c05::/34": "11855", - "2605:b100:700::/41": "577", - "2001:559:5a5::/48": "33659", - "2600:1417:16::/48": "7473", - "2602:ff75::/36": "8100", - "2803:d100:e740::/43": "52362", - "2a0a:1ac0::/29": "206897", - "2001:4830:c000::/40": "27552", - "2605:a404:f0::/44": "33363", - "2a02:26f0:be::/47": "20940", - "2a02:26f7:ba05::/46": "20940", - "2a0e:9846::/32": "52000", - "2001:df0:ac00::/44": "133729", - "2001:fd8:21e4::/38": "4775", - "2001:489a:2000::/33": "8070", - "2401:d800:7b40::/42": "7552", - "2406:e000:31a::/42": "23655", - "2607:ae80:192::/48": "26558", - "2804:5248:9000::/33": "268508", - "2a02::/32": "12684", - "2401:d800:7670::/40": "7552", - "2806:20d:1d1f::/42": "32098", - "2001:df2:d100::/48": "136707", - "2804:2fc4:b::/32": "264911", - "2804:4184::/32": "267438", - "2a10:6d40::/29": "30633", - "2c0f:fe98::/32": "30844", - "2001:468:1a00::/45": "4557", - "2001:4998:ef6b::/48": "36647", - "2409:8924:4100::/38": "56046", - "2600:6c38:f0a::/45": "20115", - "2605:a404:29a::/45": "33363", - "2607:fda8:8003::/45": "54004", - "2620:bd:c000::/48": "393638", - "2001:ee0:c140::/38": "45899", - "2402:800:3571::/44": "7552", - "2405:1c0:6865::/43": "55303", - "2a02:26f7:e000::/48": "36183", - "2402:5680:6000::/36": "133798", - "2403:4240::/32": "138029", - "2001:67c:11b0::/48": "24711", - "2001:ac8:6a::/40": "9009", - "2804:18a4::/32": "61945", - "2804:64c4::/32": "269447", - "2405:b40:32::/45": "55674", - "2620:12f:2000::/42": "32726", - "2001:4b08::/32": "29452", - "2401:d800:810::/42": "7552", - "2407:9940::/48": "18403", - "2804:b:c008::/48": "14840", - "2a02:330:5::/46": "31261", - "2a06:6000::/29": "20802", - "2400:b340::/32": "139901", - "2a10:2f00:129::/48": "213346", - "2402:800:327f::/40": "7552", - "2408:84f3:3220::/43": "17816", - "240a:a703::/32": "144445", - "2600:380:2000::/40": "20057", - "2607:da80::/32": "13760", - "2800:160:1553::/42": "14259", - "2800:160:1a96::/44": "14259", - "2001:e60:d3b0::/45": "4766", - "2001:1248:9c9f::/42": "11172", - "2404:f4c0:ea00::/40": "140731", - "240a:ae12::/32": "146252", - "2001:df0:a180::/48": "135977", - "2400:a980:1500::/36": "133111", - "2409:8c20:5224::/37": "56046", - "240a:a06f::/32": "142761", - "2001:ee0:ef00::/40": "45899", - "2604:3d09:9000::/33": "6327", - "2606:6200::/35": "21570", - "2620:ba:8000::/48": "2386", - "2804:39a8::/32": "266042", - "2a0b:b87:fff0::/44": "7489", - "2001:559:4a0::/48": "33657", - "2401:d040::/32": "136988", - "2600:370f:726b::/40": "32261", - "2803:bc40:8106::/44": "52468", - "2804:74dc::/32": "271008", - "2a02:2e02:8560::/40": "12479", - "2a07:b00::/29": "29468", - "2001:559:87::/48": "33657", - "240a:a772::/32": "144556", - "2620:10a:90cc::/48": "11133", - "2a0f:3400::/29": "203698", - "2a03:b8c0:1a::/45": "396253", - "2001:559:8448::/48": "22909", - "2407:1e40::/45": "141732", - "2409:8a20::/32": "56046", - "240a:ab9e::/32": "145624", - "2604:cbc0::/32": "398143", - "2604:d600:1156::/44": "32098", - "2a02:ee80:41ca::/47": "21433", - "2406:daa0:2020::/44": "16509", - "2602:ffc5::/42": "7489", - "2001:490:4a00::/46": "1248", - "2402:1f00::/32": "16276", - "2602:ffe2:53::/45": "53334", - "2a00:1678:2470::/48": "49453", - "240a:ac3e::/32": "145784", - "240a:aedc::/32": "146454", - "2806:230:400b::/48": "11888", - "2001:bf7:1330::/41": "44194", - "2401:d800:5940::/42": "7552", - "2600:140f:3e01::/33": "20940", - "2606:7d80:9000::/33": "2707", - "2a00:fea0::/32": "60592", - "2a07:ad00::/30": "200544", - "2001:559:c066::/48": "7922", - "2001:df3:8e80::/48": "140599", - "2403:1940:100::/48": "137935", - "240a:ab81::/32": "145595", - "2a03:3f40::/47": "50673", - "2001:559:83a5::/48": "33652", - "2602:ff84:e::/48": "36351", - "2a02:45c0:2::/45": "59675", - "2a04:8040::/29": "44527", - "2a06:6541:2001::/48": "46887", - "240a:ab84::/32": "145598", - "2606:b400:8300::/47": "1215", - "2804:4c14:fa01::/39": "267348", - "2001:559:d4::/47": "33652", - "2001:c20:48b7::/44": "9255", - "2401:4900:43a0::/44": "45609", - "2a04:8380::/29": "39397", - "2a07:9b40:d00f::/48": "39702", - "2a0d:b00:3501::/46": "205862", - "2a10:4d80::/29": "203447", - "2001:559:8086::/48": "33657", - "2607:f740::/47": "36236", - "2804:5e48:f000::/40": "269023", - "2a00:12d0::/29": "13101", - "2a02:ee80:4078::/45": "3573", - "2a0f:b80::/29": "34549", - "2001:510:20b::/45": "376", - "2001:67c:2710::/48": "57823", - "2001:924::/30": "8220", - "2001:738:4::/48": "12303", - "2604:6400:4650::/32": "29974", - "2a10:1340::/29": "206775", - "2402:6800:731::/44": "22822", - "2606:2800:5042::/48": "15133", - "2a02:26f7:cd85::/46": "20940", - "2a00:6901:b005::/48": "20926", - "2a02:26f7:f781::/46": "20940", - "2a06:e040::/33": "198507", - "2001:550:40e::/39": "174", - "2001:559:c2e3::/48": "7922", - "2804:7e80::/32": "271628", - "2a0b:b87:ffb6::/48": "207649", - "240a:ab1c::/32": "145494", - "240e:108:8e::/48": "4134", - "2606:2d00::/36": "32478", - "240e:438:840::/38": "4134", - "2804:3df8:4::/33": "266566", - "2a10:1b80::/32": "8896", - "2001:550:2608::/36": "174", - "2001:559:838f::/48": "7922", - "2600:370f:37e5::/36": "32261", - "2a01:1f8::/32": "34568", - "2001:559:c130::/48": "33659", - "2408:8956:f240::/40": "17622", - "2607:fdf0:5ef2::/45": "8008", - "2a00:17a0::/32": "34867", - "2a02:26f7:d9c0::/48": "36183", - "240a:ad27::/32": "146017", - "2804:3e40:f400::/36": "266583", - "2404:2400:101::/44": "56132", - "2405:5e00::/32": "3257", - "2409:8904:5a40::/42": "24547", - "2a10:5900::/29": "208256", - "2a07:a40::/44": "48821", - "2001:df2:fc00::/48": "59111", - "2001:43f8:13f0::/48": "328541", - "2400:5000::/32": "38826", - "2402:1200::/47": "24523", - "240a:ace6::/32": "145952", - "2600:1007:b0e0::/43": "22394", - "2a01:c50e:aa00::/35": "12479", - "2001:559:c0f2::/48": "7015", - "2001:67c:1b4::/48": "50188", - "2800:160:1c71::/45": "14259", - "2404:f4c0:f900::/47": "139833", - "2409:8d80:b000::/25": "9808", - "2803:2300::/32": "17069", - "2804:290c::/32": "263994", - "2804:5e28::/32": "269015", - "2001:559:c2ea::/47": "33659", - "2001:4d78:fe20::/46": "15830", - "2408:8456:ce00::/42": "17622", - "2a0c:16c1::/32": "42532", - "2a0c:9a40::/48": "202479", - "2c0f:ed48::/32": "328467", - "2001:678:650::/48": "49472", - "2400:c807::/32": "9263", - "240a:a47e::/32": "143800", - "2a0f:6580::/44": "48292", - "2c0f:fd10::/32": "37013", - "2001:ee0:ec00::/40": "45899", - "2602:fe4f::/36": "396917", - "2800:6f0::/37": "20207", - "2a05:3580:c400::/35": "35807", - "2a09:98c0::/48": "50007", - "2408:840c:5000::/40": "17621", - "2602:fe8c:0:10::/60": "2711", - "2804:6a9c::/32": "270347", - "2a01:9760:3::/32": "62087", - "2001:559:5be::/48": "7922", - "2401:a700::/32": "17726", - "2407:f800:401::/39": "38182", - "2804:269c:fe04::/47": "47065", - "2a02:26f7:ec89::/46": "20940", - "2a0e:b880::/31": "208789", - "2a0f:8c40::/29": "42375", - "2001:253:139::/48": "142105", - "2001:559:166::/48": "7922", - "2604:a240::/32": "53449", - "2406:e00:100::/47": "55740", - "2402:ef0b:6000::/36": "24515", - "2607:4000:300::/40": "14221", - "2620:107:90e1::/48": "22787", - "2800:160:1f95::/46": "14259", - "2804:51c8::/32": "268477", - "2a02:26f7:d850::/48": "36183", - "2001:c10:ff02::/48": "397942", - "2400:4000::/22": "4713", - "240a:a0e7::/32": "142881", - "2600:380:ec80::/41": "20057", - "2804:7020::/32": "270707", - "2a02:26f7:d60c::/48": "36183", - "2404:7600:101::/32": "23853", - "2804:3184::/32": "265021", - "2a04:e080::/29": "201949", - "2a0d:7b40::/29": "60016", - "2404:e200:101::/45": "18353", - "240a:aab3::/32": "145389", - "2804:9a4::/32": "23074", - "2a04:f580:9090::/48": "4809", - "2001:559:2ce::/48": "33659", - "2001:ac0:c800::/48": "12541", - "2a0e:e140::/48": "58255", - "2a0e:e2c1::/32": "42156", - "2001:559:8049::/46": "7922", - "2001:578::/36": "22773", - "2604:880:59::/46": "29802", - "2606:ae00:61c0::/38": "7287", - "2620:11a:a031::/48": "36040", - "2804:49c:31::/48": "7162", - "2a06:b500:2010::/44": "203759", - "2402:9040::/32": "137498", - "2406:2400:f01d::/48": "45287", - "2806:20d:521a::/37": "32098", - "2001:1248:9818::/42": "11172", - "2408:8956:500::/40": "17816", - "240a:ab6a::/32": "145572", - "2602:fe12:11::/48": "62707", - "2001:67c:174::/48": "48345", - "2804:5404::/32": "268623", - "2a03:5f80:8::/46": "50952", - "2401:d800:7340::/42": "7552", - "2404:bf40:86c1::/48": "7545", - "240a:a5c2::/32": "144124", - "2606:e480:400::/33": "55083", - "2607:9e80::/35": "397068", - "2a02:148::/29": "1680", - "2a02:26f7:c8d0::/48": "36183", - "2804:2fa4::/32": "52771", - "2c0f:e970::/32": "327750", - "2804:7118::/32": "270766", - "2001:df4:e180::/48": "140751", - "2400:adcc::/39": "9541", - "2405:9cc0::/32": "139967", - "240a:a7d8::/32": "144658", - "2602:ffdf::/38": "63060", - "2607:f380:808::/42": "2152", - "2804:14c:4186::/42": "28573", - "2806:230:3011::/48": "11888", - "2a03:5a00:2e::/48": "51011", - "2001:559:8761::/46": "7922", - "2403:1740::/32": "136763", - "2a03:c980:b916::/48": "210079", - "2a00:a040:400::/32": "12849", - "2001:428:c0c::/48": "19604", - "2403:300:a21::/45": "714", - "2403:2c00:7:2::4/44": "4058", - "240e:108:46::/48": "134756", - "2804:2390::/32": "264170", - "2804:5a34:180::/38": "268755", - "2a00:7ec0:2::/32": "8528", - "2001:df4:5100::/48": "18229", - "2001:44b8:30b0::/48": "7545", - "240a:a235::/32": "143215", - "2001:559:8236::/48": "7922", - "2408:8001:3160::/44": "136958", - "2a02:26f7:d780::/48": "36183", - "2001:559:90::/48": "7725", - "2001:579:1c84::/39": "22773", - "2404:f4c0:fc80::/44": "139888", - "2604:4000:6800::/37": "32636", - "2a01:3b8:6000::/32": "33885", - "2a02:26f7:d045::/46": "20940", - "2001:1208::/32": "3905", - "2400:fc00:8110::/42": "45773", - "2401:8700:ff01::/45": "54994", - "2a02:fe1:d100::/29": "41164", - "2a03:3600::/32": "49285", - "2401:1d40:2100::/48": "4811", - "240a:a527::/32": "143969", - "2a03:2b20::/48": "202077", - "2a0f:4440:abcd::/48": "50937", - "2001:559:85dd::/48": "7725", - "2a03:f080:1801::/32": "42685", - "2a0a:2f40::/32": "5385", - "240a:af4b::/32": "146565", - "2600:1017:a010::/39": "6167", - "2607:fd00:7::/48": "32922", - "2a00:1910::/29": "29551", - "2a01:aac0::/32": "43391", - "2a01:c50e:5d00::/34": "12479", - "2a0e:97c0:1ba::/45": "211840", - "2001:559:11d::/46": "7725", - "2407:5200:49::/38": "55915", - "2408:8957:c300::/40": "17816", - "240a:ac2e::/32": "145768", - "2607:fda8:8000::/48": "54004", - "2801:12:b000::/48": "265884", - "2a02:26f7:d0c8::/48": "36183", - "2001:559:c1ff::/48": "7922", - "2406:a1c0:100::/37": "131921", - "240e:108:1173::/44": "4134", - "240e:982:9000::/38": "63835", - "2600:1700::/28": "7018", - "2a02:dc00:1::/46": "15493", - "2a0b:1880::/47": "203217", - "2402:ef0b:2000::/36": "24515", - "240a:a4e2::/32": "143900", - "2602:fcf6:b::/40": "51999", - "2606:d600::/32": "18590", - "2620:171:5e::/42": "715", - "2804:14d:c000::/40": "28573", - "2a01:73e0::/36": "47872", - "2a0e:ac80::/29": "35600", - "2001:559:bf::/48": "7922", - "2001:559:83df::/48": "22909", - "2404:e00:365::/48": "15695", - "2606:a600:8::/48": "33297", - "2610:a1:1011::/46": "397228", - "2a03:5640:f100::/42": "14618", - "2a0e:97c0:361::/48": "211484", - "2804:3550::/32": "266280", - "2a02:26f7:b744::/46": "36183", - "2001:df2:7700::/48": "45240", - "2a02:26f7:edc0::/48": "36183", - "2001:16a2:3a::/45": "25019", - "2408:8459:f030::/41": "17622", - "2804:4e18::/32": "268239", - "2a00:4800:1b0::/41": "13124", - "240a:ab43::/32": "145533", - "2604:b000:3000::/32": "14638", - "2a00:fa8::/32": "5605", - "2a07:6fc0:1::/44": "34549", - "2a0d:5600:63::/48": "9009", - "2001:559:73c::/48": "21508", - "2001:67c:1a4::/48": "15879", - "240a:a3f1::/32": "143659", - "2600:6c38:707::/44": "20115", - "2604:5400:4400::/35": "11776", - "2a02:26f7:f281::/46": "20940", - "2a09:3b00::/29": "208861", - "2001:418:8404:1::/64": "20940", - "2001:559:83f1::/48": "7725", - "2602:fe45::/36": "35900", - "2a0c:af00:be52::/48": "205321", - "2a0f:6fc6::/32": "16262", - "2001:3c8:cb01::/48": "136624", - "2001:550:210b::/38": "174", - "2001:dc7:1000::/48": "24406", - "2406:4b00::/44": "132602", - "2001:559:c0e7::/48": "33287", - "2600:6c3a:72::/45": "20115", - "2a02:26f7:b5c9::/42": "20940", - "2a0e:fd45:40f3::/48": "201106", - "2402:800:98c5::/42": "7552", - "240a:a55a::/32": "144020", - "2600:1407:8001::/37": "20940", - "2a00:6920::/48": "42020", - "2a02:26f7:bd44::/48": "36183", - "2001:559:4d6::/48": "22909", - "2001:559:829b::/48": "33651", - "2001:978:2304::/48": "174", - "2600:1013:a010::/35": "6167", - "2a01:c50f:9dc0::/38": "12479", - "2001:c20:4896::/44": "3758", - "2804:39c:1000::/33": "28329", - "2a00:c720::/32": "60323", - "2a01:4207::/48": "48149", - "2a0b:bbc0::/39": "205388", - "2001:df2:c300::/48": "131924", - "2400:5d80::/32": "58507", - "2804:14e0::/32": "263356", - "2a04:5ec0::/29": "60239", - "240e:67a:e400::/39": "140330", - "2607:f330:6000::/36": "15130", - "2804:5b68::/32": "268841", - "2806:20d:1620::/44": "32098", - "2a01:8640:a::/48": "59711", - "2a04:1740::/29": "42331", - "2001:4b60:101::/32": "28857", - "2a01:5040:a100::/48": "43996", - "2a03:9560::/29": "2590", - "2001:559:c3a9::/48": "7015", - "2600:6000:ffb1::/48": "11351", - "2001:1388:7aa1::/39": "6147", - "2804:ff4::/32": "53218", - "2804:7dd8::/32": "271586", - "2806:230:600d::/48": "11888", - "2001:1520:100::/47": "34011", - "2600:80d:a::/43": "701", - "2804:4850::/39": "267113", - "2a05:1a00::/34": "43754", - "2a06:1287:3::/48": "135103", - "2406:840:e145::/48": "142164", - "2600:1004:b0f0::/44": "22394", - "2600:1406:4801::/37": "20940", - "2801:80:2600::/40": "263261", - "2804:574c::/34": "268057", - "2a02:26f7:d688::/48": "36183", - "2001:1a10::/47": "8781", - "2806:2f0:51a0::/41": "17072", - "2406:4a00:1100::/48": "56038", - "2408:8936::/32": "4837", - "2001:559:c1a4::/48": "33287", - "2403:d600::/32": "4826", - "2405:8a00:2111::/40": "55824", - "240a:a32c::/32": "143462", - "240a:ac00::/32": "145722", - "2a0c:8dc0::/29": "25145", - "2001:3c8:c305::/48": "37932", - "2804:eec:1201::/39": "28226", - "2806:107e::/43": "8151", - "2a02:26f7:e204::/48": "36183", - "2a02:26f7:eb01::/46": "20940", - "2a10:c700::/32": "212324", - "2804:4d74::/32": "268197", - "2a10:fa80:92::/48": "57050", - "2600:9000:1e05::/48": "16509", - "2605:a401:8ce3::/39": "33363", - "2606:2800:4140::/48": "15133", - "2806:310:25::/44": "16960", - "2a02:26f7:f6ee::/47": "20940", - "2a0c:2bc0::/29": "212302", - "2804:2570::/32": "264281", - "2a01:4b40:4000::/37": "35566", - "2a02:26f0:601::/40": "20940", - "2a09:9a00::/29": "212417", - "2402:800:91ee::/43": "7552", - "2404:bf40:8584::/42": "139084", - "2409:8904:e240::/42": "24547", - "2a03:4e40::/29": "25447", - "2a05:1a10:2002::/26": "43754", - "2a10:bc0::/29": "62240", - "240e:473:a250::/39": "4134", - "2605:5080:5021::/43": "3367", - "2806:230:201d::/48": "11888", - "2a03:9c60::/32": "43420", - "2a0e:fd45:40f9::/48": "44103", - "2001:67c:24a4::/48": "204711", - "2001:df6:2200::/48": "135908", - "2408:84f3:4240::/37": "17816", - "2600:1011:f110::/36": "6167", - "2603:c010:6000::/36": "31898", - "2a05:cf40::/29": "199163", - "2a0a:54c3::/29": "62240", - "2406:4500::/32": "38342", - "2409:8753:100::/38": "56047", - "240e:3bc:8200::/35": "140316", - "2a00:5a60::/48": "199274", - "2a0c:e840::/29": "202701", - "2408:8957:9000::/40": "17622", - "240e:928:401::/35": "58542", - "2602:fed2:7113::/48": "53356", - "2605:a800:2::/48": "603", - "2804:6dc::/32": "7048", - "2001:678:420::/48": "44233", - "2a00:1140::/46": "44806", - "2a04:2880::/48": "12684", - "2408:840c:7500::/40": "17621", - "2409:8904:e040::/42": "24547", - "2a0d:b80::/32": "199971", - "2a0e:97c0:138d::/46": "20473", - "2001:559:815c::/48": "33287", - "2401:d800:5dd0::/42": "7552", - "2408:8459:a50::/37": "17816", - "2605:a404:1f9::/38": "33363", - "2806:230:300a::/48": "265594", - "2a02:af8::/32": "29550", - "2a02:26f7:c204::/48": "36183", - "2406:ca00:1::/46": "4858", - "240e:978:7000::/40": "137702", - "2602:fe1e::/36": "22751", - "2a00:1ad0::/32": "41589", - "2600:140f:f400::/48": "9498", - "2804:1824::/32": "262301", - "2a0b:3b00::/29": "50628", - "2a0d:2406::/39": "62068", - "2001:559:8032::/48": "7015", - "2607:ff68:9::/32": "46475", - "2a06:7a03::/48": "3170", - "2a07:85c3::/48": "174", - "2a0c:d2c4::/32": "57335", - "2001:678:7b8::/48": "197600", - "2620:122:f001::/46": "14870", - "2804:14c:bb91::/42": "28573", - "2a02:26f7:25::/48": "20940", - "240a:a07b::/32": "142773", - "2a02:76c0:1::/48": "61170", - "2a0e:1a00::/29": "206894", - "2a0f:9400:7721::/48": "20473", - "2001:253:120::/48": "142086", - "240e:473:1f50::/40": "4134", - "2605:6400:300::/48": "53667", - "2605:a7c0:130::/48": "14618", - "2607:ae80::/46": "26558", - "2620:0:1a70::/48": "23294", - "2800:5f0:203f::/35": "22724", - "2a00:6480:8748::/48": "29018", - "2a07:d940::/29": "42375", - "2a0c:8880::/29": "39421", - "2402:800:5855::/42": "7552", - "2405:84c0:ff25::/48": "9516", - "2800:160:11a2::/47": "14259", - "2804:54b4::/32": "262821", - "2a02:26f7:ce44::/48": "36183", - "2406:a900:144::/48": "136409", - "2605:3380:4143::/45": "12025", - "2605:b100:800::/40": "577", - "2a02:13e0:1::/48": "7018", - "2605:6400:1::/46": "53667", - "2a02:2698:a001::/48": "12768", - "240a:a70b::/32": "144453", - "240e:3bf:7600::/39": "140313", - "2604:d600:b000::/33": "32098", - "2607:fcd0:fa80:1b01::/53": "8100", - "2804:8cc:b::/48": "272413", - "2804:145c:c630::/36": "263327", - "2402:1c00:c05::/46": "23838", - "2408:8256:3195::/48": "17623", - "2607:f530::/32": "10996", - "2a07:2f40::/29": "212659", - "2a00:1050::/32": "12470", - "2a00:fde0::/32": "199736", - "2a0e:a780::/36": "16509", - "2001:cf8::/45": "9619", - "2402:e380:313::/48": "139677", - "2a01:ce8c:8000::/36": "51964", - "2a02:3d0::/37": "22822", - "2a04:2e80:15::/48": "44272", - "2001:67c:2cc0::/48": "5588", - "2620:13f:701e::/48": "59116", - "2806:2f0:1044::/42": "22884", - "2a00:1cd0:1::/46": "43408", - "2a02:26f7:e4c1::/46": "20940", - "2001:559:c16c::/48": "33489", - "240a:a9d0::/32": "145162", - "2a00:b320::/48": "9009", - "2a00:b4c0::/32": "47764", - "2a02:26f7:b8::/48": "36183", - "2001:559:8137::/48": "33660", - "2401:ff80:120d::/46": "133954", - "240a:a366::/32": "143520", - "2c0f:f930::/32": "39287", - "2803:fc40::/32": "264651", - "2001:470:158::/48": "398922", - "2001:67c:26fc::/48": "50344", - "2001:7a8:820::/32": "13193", - "2001:dce:e001::/35": "23869", - "2401:d800:7530::/41": "7552", - "2408:8957:2700::/36": "17816", - "2803:8700:10::/48": "25577", - "2001:67c:294::/48": "47167", - "2603:4:1204::/48": "44273", - "2604:4f40::/32": "396472", - "2804:133c::/32": "263523", - "2804:1854::/32": "53176", - "2a02:26f7:db11::/42": "20940", - "2c0f:f000:600::/40": "36891", - "240e:108:1134::/44": "4134", - "2620:74:10::/48": "11840", - "2a01:1b0:c010::/34": "31477", - "2a03:8500::/32": "44291", - "2a09:a280::/29": "210051", - "2a0a:a540::/28": "8422", - "2001:559:338::/48": "33652", - "2001:559:87d5::/48": "7922", - "2001:18c8:800::/40": "54111", - "2600:100b:9010::/39": "6167", - "2a02:26f7:d1c9::/46": "20940", - "2a03:4b40:5701::/34": "50710", - "2001:448a:10d0::/42": "7713", - "2405:5240::/32": "398704", - "2407:c800::/32": "9365", - "2600:a000::/30": "394092", - "2600:6c38:71a::/42": "20115", - "2605:a00::/32": "26744", - "2804:4f8::/36": "28263", - "2001:1248:7081::/46": "11172", - "2620:128:7000::/48": "32030", - "2804:13b0:bc00::/38": "263546", - "240a:af90::/32": "146634", - "2606:1b80::/32": "40864", - "2a01:8840:d1::/48": "207266", - "2a02:998::/32": "9197", - "2401:7400:6801::/32": "4773", - "240a:a992::/32": "145100", - "2602:fff6:f::/48": "29802", - "2a01:b740:1201::/39": "714", - "240e:473:5320::/41": "140486", - "2001:559:85df::/48": "33491", - "2001:67c:768::/48": "210103", - "2a00:17e8::/29": "50226", - "2a04:240::/29": "3222", - "2001:678:a98::/48": "208702", - "2405:1c0:6471::/46": "135062", - "2602:ffdf:300::/40": "25851", - "2a02:26f0:f401::/36": "20940", - "2a0d:1a41:cafe::/48": "202314", - "2a0d:a6c0::/29": "39724", - "2001:44b8:4058::/48": "7545", - "2404:b780::/32": "63967", - "2605:9d80:9042::/48": "4809", - "2620:117:0:e::/64": "10564", - "2800:bf0:8302::/35": "27947", - "2a04:f400:3000::/48": "36351", - "2a0e:6902:4000::/40": "57695", - "2a0c:8fc1:6400::/40": "34081", - "2001:ee0:f200::/36": "45899", - "2001:1248:96b6::/44": "11172", - "2001:44b8:30ed::/48": "7545", - "240a:aa09::/32": "145219", - "240e:966:e400::/39": "133775", - "2803:4dc0::/32": "265721", - "2a02:26f7:f2cc::/48": "36183", - "2408:8459:ea30::/41": "17622", - "240e:473:6650::/39": "4134", - "2a01:cd01:4f2a::/47": "28708", - "2a0c:5a80::/29": "57269", - "240e:979:8500::/40": "131325", - "2600:1408:3c01::/38": "20940", - "2806:20d:5904::/44": "32098", - "2a02:568:fe00::/48": "31529", - "2a02:2b20::/32": "29422", - "2001:559:8637::/48": "7015", - "2402:800:5739::/41": "7552", - "2409:805c:3091::/42": "9808", - "2a02:ff0:14f3::/44": "12735", - "2a0b:6000::/29": "60721", - "2001:559:8077::/48": "20214", - "2001:16a2:c100::/40": "39891", - "2001:16d8:ef00::/35": "16150", - "2a01:5042:2eff::/48": "202196", - "2a03:90c0:210::/40": "199524", - "2402:800:7d10::/42": "7552", - "2a02:26f7:bd48::/48": "36183", - "2001:559:846f::/48": "33651", - "2401:ff80:1211::/46": "133954", - "2600:370f:74ca::/42": "32261", - "2a01:30::/31": "8875", - "2a02:26f7:c484::/48": "36183", - "2402:800:37ee::/43": "7552", - "2404:e6:110::/40": "703", - "240e:438:4e20::/43": "140647", - "2605:a401:8419::/42": "33363", - "2804:4e84::/32": "268266", - "2a04:4cc0::/29": "47215", - "2801:80:1700::/40": "61580", - "2804:7228::/32": "270836", - "2806:230:102b::/48": "11888", - "2a02:26f7:ccc9::/46": "20940", - "240a:a5bc::/32": "144118", - "240e:5:4000::/34": "17638", - "2a07:9480::/29": "9083", - "2a07:f280::/29": "206163", - "2a0e:20c0::/29": "208015", - "2a02:26f7:39::/48": "20940", - "2a09:b680::/29": "208861", - "2001:678:19::/48": "44358", - "2605:6c80:6::/48": "397423", - "2605:9480::/37": "31775", - "2a00:79e1:abc::/46": "36384", - "2401:38c0::/32": "58915", - "2405:9800:b811::/44": "45430", - "2a02:26f7:c4c8::/48": "36183", - "2001:4430:c000::/42": "17853", - "2406:840:e770::/47": "136591", - "2408:8956:7b00::/40": "17816", - "2801:80:7c0::/46": "263621", - "2804:187c::/40": "262673", - "2a0b:1306:400::/48": "198018", - "2a02:26f7:b747::/48": "20940", - "2402:800:56d3::/44": "7552", - "2409:8028:3000::/46": "56041", - "2800:440:9a00::/42": "27738", - "2804:117c:800d::/46": "262182", - "2804:77ec::/32": "271208", - "2a00:4780::/32": "35600", - "2a02:1c8:40::/44": "60095", - "2a02:26f7:c848::/48": "36183", - "2a02:ee80:4171::/45": "3573", - "2a03:47c0:2481::/32": "21277", - "2001:67c:12e8::/47": "24603", - "2600:1407:5801::/34": "20940", - "2a00:6700:1::/48": "202784", - "2a02:26f7:be05::/46": "20940", - "2001:4:112::/48": "112", - "2001:559:85e0::/48": "33660", - "2001:559:c0e8::/48": "33662", - "2001:1248:55cb::/43": "11172", - "2607:7e80:6000::/35": "395354", - "2804:398c::/32": "266035", - "2602:ff59::/36": "53282", - "2a05:5b00::/29": "196881", - "2001:559:111::/48": "33287", - "2401:c5c0:61::/39": "55492", - "2804:215c::/32": "264550", - "2a0a:a3c0:b0::/44": "3320", - "2408:8409:9c00::/40": "4808", - "2409:8008:1100::/36": "24547", - "2606:5000:2200::/39": "3908", - "2804:10dc::/32": "263652", - "2a05:6c80::/29": "43366", - "2a0d:740::/29": "57878", - "2001:559:75::/48": "7015", - "2001:559:846a::/48": "33657", - "240a:af4c::/32": "146566", - "2605:c9c0::/32": "398371", - "2803:1f60::/32": "269838", - "2a01:aa20::/32": "3178", - "2a06:e881:5101::/46": "210090", - "2606:6800:c00::/40": "32940", - "2806:2f0:24a0::/48": "17072", - "2a00:1630:5201::/29": "49544", - "2a01:b5e0::/32": "43359", - "2804:784::/32": "262653", - "2001:470:58::/48": "393350", - "2401:d800:d80::/42": "7552", - "2402:b400:4408::/42": "45960", - "2404:ae00::/48": "45474", - "2404:e801:2008::/46": "55430", - "2409:8904:7d40::/38": "24547", - "2606:e780::/32": "394868", - "2a01:c50e:1600::/36": "12479", - "2001:67c:130::/48": "30857", - "2402:1a80::/32": "134069", - "2602:ff96:11::/48": "8100", - "2804:2b40::/32": "265143", - "2a00:f740:400::/48": "57118", - "2620:123:2000::/48": "30103", - "2806:2f0:5241::/34": "17072", - "2a02:2090:9800::/48": "47595", - "2605:c880::/32": "63290", - "2804:1dd4::/32": "264397", - "2804:40f8::/32": "265995", - "2a03:f680::/32": "1547", - "2a05:f840::/29": "57795", - "2001:7b0::/32": "8881", - "2001:b400:f408::/45": "17421", - "2402:6940::/38": "7645", - "2408:8456:3600::/41": "17623", - "2620:107:9080::/48": "22787", - "2804:c48:c000::/35": "52687", - "2a06:bfc0::/29": "200918", - "2408:8956:4a00::/40": "17622", - "2804:49b8::/32": "267199", - "2a02:ed03::/32": "61292", - "2001:1248:98c0::/44": "11172", - "2408:8256:3260::/44": "17623", - "240a:acc0::/32": "145914", - "2806:286:6000::/32": "265524", - "2001:559:8605::/48": "7015", - "2605:88c0::/36": "398202", - "2a0b:b87:ff10::/48": "210902", - "2a03:56a0::/32": "50971", - "2001:4de0:7001::/46": "33438", - "2402:c800:ff7c::/40": "38639", - "2408:8000:9ffe::/48": "17621", - "2804:29b8:5067::/39": "28126", - "2a02:26f7:d848::/48": "36183", - "2a02:26f7:e404::/48": "36183", - "2a02:d600::/29": "35739", - "2402:7a00::/32": "23639", - "2a04:4e40:f420::/44": "54113", - "2001:559:8346::/48": "33287", - "240a:afc3::/32": "146685", - "2605:93c0::/32": "19413", - "2804:5bf8::/32": "268880", - "2001:502:d399::/48": "397237", - "2400:c700:88::/39": "55644", - "2408:8459:e850::/38": "17816", - "2606:12c0::/32": "55017", - "2a06:c8c0::/30": "203623", - "2a07:14c0:3000::/36": "59504", - "2a0a:4680::/29": "206737", - "240a:a50b::/32": "143941", - "240a:a63e::/32": "144248", - "2804:10:15::/32": "28299", - "2804:ad0::/32": "262681", - "2804:2ea0::/32": "265356", - "2806:230:204d::/48": "11888", - "2a02:26f7:d404::/48": "36183", - "2001:67c:205c::/48": "51147", - "2402:3a80:1bf0::/45": "38266", - "2620:0:2820::/48": "91", - "2a01:280:300::/48": "3301", - "2001:67c:228::/48": "42175", - "2001:df6:6e80::/48": "142049", - "2607:ce00::/32": "53488", - "2804:3784:2800::/32": "53121", - "2a01:9700:1500::/42": "8376", - "2402:2200:2b00::/33": "24090", - "240a:a8af::/32": "144873", - "240e:473:4f50::/40": "4134", - "2804:62ac::/32": "269311", - "2406:1200::/32": "24192", - "2a02:698::/32": "34784", - "2402:800:8400::/35": "7552", - "240a:aba9::/32": "145635", - "2600:805:148::/48": "12234", - "2a01:ce9c:9000::/31": "51964", - "2001:418:1401:26::/60": "2914", - "240a:a010::/32": "142666", - "240a:a0fd::/32": "142903", - "2620:fe:2040::/48": "174", - "2804:1bd8:4a00::/37": "28224", - "2804:5f00::/43": "269070", - "2a01:5340::/29": "62298", - "2001:470:56::/48": "7175", - "2001:67c:6c4::/48": "38914", - "2600:380:f1c0::/43": "20057", - "2804:3bc::/47": "28624", - "240a:a380::/32": "143546", - "2a02:26f7:b685::/46": "20940", - "2408:8957:c200::/40": "17622", - "2600:1014::/32": "22394", - "2620:11b:e030::/41": "3356", - "2001:348::/32": "7679", - "240a:ab07::/32": "145473", - "2604:6780::/32": "13694", - "2a0e:84c0::/32": "24929", - "2001:559:36::/48": "7922", - "2407:ae80::/32": "45062", - "2409:8c7b::/29": "9808", - "2806:288:4097::/48": "28469", - "2001:559:c292::/48": "33287", - "2a09:9f40::/32": "207976", - "2a0f:18c0::/29": "60262", - "2605:5c0:c040::/45": "28885", - "2804:a80::/39": "262293", - "240a:af37::/32": "146545", - "2804:6258::/32": "269291", - "2a00:f826:11::/48": "62874", - "2a02:26f7:9a::/48": "36183", - "2a0b:2900:3100::/38": "48582", - "2a0d:77c7:33c6::/33": "7489", - "2602:801:300a::/45": "6556", - "2606:c00:35::/48": "10126", - "2803:9be0:ff::/48": "174", - "2804:14c:6300::/42": "28573", - "2001:559:746::/48": "33657", - "2001:1a11:81::/46": "42298", - "2409:8904:5240::/42": "24547", - "240a:a170::/32": "143018", - "2801:80:80::/48": "53150", - "2a0b:f940:3af3::/33": "205373", - "2001:44b8:6030::/46": "7545", - "2406:45c0::/32": "64300", - "2409:8028:2800::/39": "56041", - "2409:805c:2100::/36": "9808", - "2a04:4640::/29": "16347", - "2a07:2a80::/29": "3301", - "2401:7500:fff2::/47": "33480", - "2404:bf40:83c1::/46": "7545", - "2a02:26f7:f404::/48": "36183", - "2001:3c8:a701::/48": "9562", - "240e:473:3c00::/41": "140485", - "2600:380:200::/36": "20057", - "2804:761c::/32": "271090", - "2a0b:5cc0::/32": "49432", - "2001:559:c00c::/47": "7922", - "2001:559:c371::/48": "33659", - "2001:fd8:b340::/42": "132199", - "2407:c840::/48": "140823", - "2408:8459:ef30::/41": "17622", - "240e:3b4:1200::/39": "4134", - "2a02:28e8::/32": "34347", - "240e:108:45::/48": "58461", - "2600:1480:5100::/36": "20940", - "2a0f:5707:b0c4::/46": "212895", - "2406:1140::/32": "140616", - "2600:c04::/35": "10912", - "2a00:cb8:971::/48": "15695", - "2a0b:2d40::/32": "209135", - "2001:628:453::/48": "1120", - "2400:89c0:1091::/48": "23724", - "2804:5ce8:4100::/32": "268938", - "2a00:d4a0::/29": "15600", - "2a03:7180::/32": "8499", - "2a0a:e9c0::/29": "56986", - "2404:54c0::/32": "17831", - "240a:a483::/32": "143805", - "2600:1415:3801::/37": "20940", - "2804:1b08:700::/34": "61704", - "2a00:1c10:100::/40": "50300", - "2a01:ce89:b000::/33": "51964", - "2a02:26f7:dec5::/46": "20940", - "2400:f6c0:6::/32": "136530", - "2606:f900:9407::/36": "812", - "2804:14d:5800::/40": "28573", - "2a02:26f7:f6fc::/48": "36183", - "2a05:fa80::/31": "202139", - "2406:2580::/32": "397086", - "2408:84f3:2c50::/44": "17816", - "2a05:4680::/29": "57902", - "2001:428:2502::/35": "209", - "2001:678:28::/48": "42", - "2605:a404:53::/42": "33363", - "2607:fd48:ff03:2069::/40": "13536", - "2a00:1fa8::/32": "8818", - "2402:800:9da9::/43": "7552", - "2403:9600::/32": "131157", - "2800:160:1f92::/45": "14259", - "2a02:2540::/32": "8258", - "2a06:dc80::/29": "202898", - "2001:559:8425::/48": "33287", - "240a:a4f8::/32": "143922", - "240a:ad06::/32": "145984", - "2a02:26f0:3600::/48": "34164", - "2a02:5520::/32": "35600", - "2001:67c:274::/48": "42307", - "2401:d800:52d0::/42": "7552", - "240a:aa9c::/32": "145366", - "2804:2c88:8100::/33": "265225", - "2a02:6f00:ec1::/32": "197692", - "2a07:a905:ffeb::/48": "204543", - "2001:559:831a::/48": "7922", - "240a:a468::/32": "143778", - "2605:83c0::/32": "33556", - "2620:12d:e019::/48": "3356", - "2a04:29c7::/32": "42821", - "2a0d:3340::/32": "36492", - "2001:559:83e2::/48": "33660", - "2001:678:f78::/48": "213027", - "2407:6ac0::/32": "141968", - "2604:f80:5::/32": "22458", - "2606:6300::/32": "46618", - "2804:3f80::/32": "265897", - "2804:41e8::/32": "267464", - "2a02:408:7722::/48": "44112", - "2001:559:800d::/48": "7725", - "2600:141b:d001::/36": "20940", - "2607:fcd0:106:2101::/52": "8100", - "240a:a42b::/32": "143717", - "2605:a401:80d9::/45": "33363", - "2a03:d000:1300::/46": "31163", - "2001:fd8::/41": "4775", - "2a06:4ac0::/32": "20609", - "2404:0:5006::/36": "17709", - "2406:b400:f9::/48": "18209", - "240a:aa41::/32": "145275", - "2600:1480:9000::/48": "21342", - "2800:370::/48": "28006", - "2a01:4fc0::/34": "5517", - "2a04:88c5::/30": "28753", - "2001:67c:8c::/48": "39686", - "2409:8924:6100::/38": "56046", - "2804:3998::/32": "266038", - "2a0b:c4c0::/29": "9144", - "2401:ff80:1281::/44": "133954", - "2803:5960::/32": "269743", - "2a02:26f7:b6c1::/46": "20940", - "2001:559:871f::/48": "7922", - "2001:df0:9e80::/48": "45926", - "2607:f380:864::/48": "23483", - "2806:2f0:71e1::/38": "17072", - "2a00:e80::/32": "20917", - "2402:800:3ed3::/44": "7552", - "2409:8027:2b04::/46": "9808", - "240a:a4ef::/32": "143913", - "240e:438:ac40::/38": "4134", - "240e:44d:780::/41": "4134", - "2605:f500:308::/37": "1828", - "2a02:2f0::/29": "42965", - "2401:b400:8::/47": "58536", - "240a:a6e5::/32": "144415", - "240a:a75a::/32": "144532", - "2602:ffc5:145::/48": "203027", - "2a09:11c0:1000::/36": "56381", - "2001:559:817d::/46": "7922", - "2401:7400:cc01::/34": "4773", - "2602:fc31::/48": "20473", - "2620:101:80fb::/48": "395606", - "2a02:26f7:bc08::/48": "36183", - "2001:503:5ae2::/48": "7342", - "2400:fc00:8020::/43": "45773", - "2404:e6:810::/39": "703", - "2405:6e00:640::/40": "133612", - "240a:af86::/32": "146624", - "2610:20:2020::/38": "7764", - "2804:33dc:ff0::/32": "265421", - "2a04:d3c0::/29": "61155", - "2a09:20c0::/31": "25115", - "2a09:4d41::/32": "50673", - "2a00:1188::/44": "8455", - "2402:800:359b::/41": "7552", - "2403:1940:70::/48": "137935", - "2406:f400::/44": "38001", - "2409:8080:2a60::/44": "9808", - "2602:10e:1a::/47": "20115", - "2602:803:4075::/48": "398223", - "2804:15e4::/45": "53001", - "2a00:5a20:3a11::/32": "199289", - "240e:473:5f20::/41": "140486", - "2602:ff2a::/32": "19323", - "2c0f:fce8::/33": "37153", - "2804:1d6c::/32": "262521", - "2a0a:1540::/29": "43532", - "2a10:5d80:1::/48": "62033", - "2c0f:f4c8::/32": "327872", - "2408:8409:2400::/40": "4808", - "240a:a112::/32": "142924", - "2605:d000::/32": "15108", - "2620:138:3000::/46": "11251", - "2803:a0::/32": "266784", - "2a02:5800::/32": "29388", - "2001:12b4::/32": "262983", - "2600:1402:15::/48": "35994", - "2606:e980::/32": "393945", - "2a04:4ec0::/31": "202503", - "240e:958:2100::/30": "4134", - "2604:5500:f000::/38": "19165", - "2620:31:2009::/48": "53722", - "2a00:1be0::/32": "21034", - "2a06:1281:5::/48": "203943", - "2001:fd8:64::/46": "132199", - "2409:8051:3802::/40": "56047", - "240e:108:11b1::/48": "136190", - "2804:3784::/34": "53121", - "2600:1012:b1d0::/42": "6167", - "2607:4980::/32": "395261", - "2801:80:1af0::/48": "266373", - "2a02:587:50db::/42": "6799", - "2a03:4020::/32": "201506", - "2a04:93c0::/29": "24861", - "2001:67c:5ac::/48": "44204", - "240a:a64d::/32": "144263", - "2600:14c0::/45": "21342", - "2605:73c0::/35": "10583", - "2607:f4e8:5::/48": "55429", - "2804:49c:4205::/48": "7162", - "2804:2454::/32": "264215", - "2a06:f080::/32": "203299", - "2a0c:1140::/29": "48611", - "2001:1280:2000::/36": "16685", - "2409:803c:1900::/37": "9808", - "2600:1016:9110::/34": "6167", - "2804:145c:de10::/34": "263327", - "2a02:26f7:e008::/48": "36183", - "2001:568:900::/37": "852", - "2804:14c:7585::/44": "28573", - "2804:29fc::/32": "264049", - "2804:692c::/32": "270253", - "2a05:1220::/29": "201625", - "2001:559:20d::/48": "33287", - "2001:559:8190::/48": "7015", - "2a02:2450::/29": "20880", - "2404:f4c0:f942::/48": "142551", - "240e:44d:1b00::/41": "140345", - "2a0a:5b80::/29": "49367", - "2620:13d:e000::/48": "397127", - "2406:e000:301::/43": "23655", - "2408:8256:798::/36": "17622", - "240a:a08d::/32": "142791", - "240a:a647::/32": "144257", - "2600:140b:6400::/48": "31109", - "2606:c00:32::/48": "10126", - "2610:1a0:70::/38": "40193", - "2404:bb40::/32": "138978", - "2600:1417:e001::/36": "20940", - "2607:7c80:55::/48": "7034", - "2607:fc48:1010::/48": "40009", - "2c0f:3600:200::/39": "328855", - "2804:58d8::/32": "268153", - "2a02:26f7:b98c::/48": "36183", - "2402:fc80::/32": "134695", - "2604:e3c0::/32": "19523", - "2804:2328::/32": "264145", - "2a00:1f58::/29": "44385", - "2a0a:8c40::/32": "50979", - "2001:67c:13c::/48": "16075", - "240a:a96d::/32": "145063", - "2620:149:5b1::/45": "714", - "2804:4068::/32": "265957", - "2804:6c98::/32": "270479", - "2a10:c800::/47": "56322", - "2a11:7500::/29": "42375", - "2804:c00::/34": "52655", - "2a03:efc0:ba5e::/48": "33438", - "2001:559:c086::/48": "33657", - "2604:e140::/32": "30174", - "2804:23c0::/37": "26218", - "2a03:28e0::/32": "48093", - "2a0d:60c6::/32": "59504", - "240a:a3db::/32": "143637", - "2a02:5400:808::/48": "33353", - "2a07:a343:7870::/44": "9009", - "2001:559:8343::/48": "33652", - "2600:4000::/25": "701", - "2800:4b0:8081::/41": "12252", - "2804:5e48:ff02::/47": "269023", - "2806:230:402f::/48": "11888", - "2806:2f0:43e1::/43": "17072", - "2404:640::/32": "131262", - "2602:fed2:fc3::/44": "53356", - "2a11:3b80::/29": "62212", - "2620:129:9001:2::/57": "13767", - "2804:6894::/32": "269702", - "2001:df0:248::/48": "23883", - "2001:1248:7071::/46": "11172", - "2607:2900::/32": "25914", - "2804:5d48::/32": "268962", - "2804:6334:8000::/33": "269345", - "2408:8645:1200::/32": "4837", - "240a:ae9b::/32": "146389", - "240e:1a::/44": "23650", - "2a03:43a0::/32": "44500", - "2a04:b80:1::/48": "42160", - "2001:559:c04e::/47": "7922", - "2401:2680::/32": "23776", - "2804:3c60::/32": "266207", - "2001:7f8:10::/48": "24796", - "2a02:26f7:d5::/48": "20940", - "2400:9380:92a0::/47": "4809", - "2600:141b:5001::/36": "20940", - "2804:5160::/32": "268448", - "2001:4130:140::/48": "29067", - "2800:160:2c37::/44": "14259", - "2804:4fd4:c000::/34": "268352", - "2a07:59c1:30c8::/48": "208753", - "2407:2140::/32": "141532", - "2602:fca7:6::/47": "399318", - "2804:9d4:3001::/33": "262996", - "2a06:c3c0:1::/48": "47596", - "2a0f:30c0::/29": "60262", - "2a0f:1240::/29": "60262", - "2001:4998:ef64::/47": "14778", - "2408:8956:ae00::/40": "17622", - "2804:44fc::/32": "267665", - "2804:60e4::/32": "269198", - "2a02:2e02:8930::/41": "12479", - "2a02:ae00::/32": "16125", - "2a03:8820::/32": "200932", - "2402:800:b3a0::/41": "7552", - "2408:8812::/28": "4837", - "2409:801e:3008::/48": "24400", - "2a00:cac0::/32": "39555", - "2600:2500::/31": "26801", - "2804:2f30:6d00::/32": "53096", - "2a02:26f7:e980::/48": "36183", - "2a02:cb43:1001::/46": "20546", - "2a03:dc80::/32": "42697", - "2001:c38:500a::/48": "20940", - "2001:1a48::/32": "25512", - "2401:2a80::/47": "58793", - "240e:3be:2c00::/35": "134774", - "2600:1488:6191::/38": "20940", - "2600:e00f:4005::/44": "22995", - "2804:0:1c01::/33": "2716", - "2604:26c0::/38": "36815", - "2804:1198::/32": "263426", - "2001:559:c3f5::/48": "33660", - "240e:3b4:9200::/36": "140317", - "2401:cf80:61dd::/42": "55303", - "2620:12c:b005::/48": "43251", - "2a02:26f7:ab::/48": "20940", - "2a04:4e40:5000::/47": "54113", - "2001:4888:803e::/41": "6167", - "240e:51:5800::/37": "137695", - "2620:130:1000::/48": "62649", - "2804:118c::/32": "53182", - "2a00:d101::/34": "15704", - "2a02:6720::/32": "201890", - "2a05:1500:300::/40": "202861", - "2001:648:2c11::/42": "5408", - "240a:aaa7::/32": "145377", - "2600:1304::/32": "20021", - "2602:fe3f::/36": "13760", - "2607:4b00::/32": "4307", - "2a07:3d00::/29": "49088", - "2001:67c:2178::/48": "29298", - "2001:18e8:400::/40": "1767", - "2405:f080:1e0e::/43": "136907", - "2600:c800::/29": "3356", - "2804:2c6c::/32": "265217", - "2001:67c:240c::/48": "12552", - "2400:1c00:64::/48": "45143", - "240a:a5e3::/32": "144157", - "2602:803:4077::/48": "398223", - "2604:d600:1f::/42": "32098", - "2803:6700::/47": "263210", - "2804:4020::/32": "265936", - "2408:8752::/32": "4837", - "2604:d600:1061::/45": "32098", - "2a01:aea0:dd6::/42": "42473", - "2a01:ce80::/34": "51964", - "2a02:26f7:d8c5::/46": "20940", - "2a02:26f7:de90::/48": "36183", - "2a0b:fec0::/29": "205360", - "2001:559:82c1::/48": "33657", - "2001:678:c6c::/48": "49752", - "2001:de1::/42": "7667", - "2600:1402:c00::/48": "35994", - "2604:500::/32": "22464", - "2604:e180::/45": "55002", - "2800:160:17c6::/43": "14259", - "2407:2200::/32": "38719", - "2a00:afe0::/32": "60491", - "2001:67c:1bc::/48": "1921", - "2406:da00:1000::/40": "16509", - "2409:8087:5100::/37": "9808", - "240e:100:30::/41": "137689", - "2604:2540::/32": "393299", - "2620:dc:c000::/48": "27009", - "2804:7e0c::/32": "271599", - "2405:9800:c91f::/48": "38899", - "240a:a3b1::/32": "143595", - "2600:6c7f:90a0::/48": "20115", - "2607:f5c0:8041::/42": "10326", - "2001:6d0:ffd1::/46": "21416", - "2001:df0:2780::/48": "138973", - "2405:4cc1:f00::/32": "55891", - "2a01:5d40::/32": "24945", - "2a03:5344:40::/44": "34414", - "2a0b:7f80::/29": "13126", - "2605:1900::/47": "12208", - "2804:7064::/32": "270724", - "2a00:4a00::/34": "39356", - "2a07:440::/31": "49532", - "2402:5300:810::/35": "45903", - "2001:43f8:750::/44": "37520", - "2409:8014:a::/36": "56044", - "240a:a7e3::/32": "144669", - "2620:0:2b30::/44": "50", - "2a00:6060:b001::/33": "60983", - "2a02:26f0:1301::/37": "20940", - "2a06:1a80::/29": "207481", - "2001:559:876a::/47": "7922", - "2a04:6c40::/29": "5432", - "2602:fd1c::/36": "7029", - "2607:fa08::/32": "23404", - "2620:13b:30e1::/48": "13607", - "2804:1010:8000::/33": "263617", - "2a01:498:8600::/33": "42018", - "2a02:7aa0:5000::/48": "52173", - "2a02:e980:185::/44": "19551", - "2a0b:ef00::/29": "205697", - "240a:a444::/32": "143742", - "2602:feb4:1b0::/44": "25961", - "2804:3900:8000::/33": "266517", - "2001:4ba7::/48": "34936", - "2401:b180:4100::/48": "45102", - "2406:f00:9::/48": "58758", - "2409:8907:7020::/39": "24547", - "2600:1fa0:1080::/44": "16509", - "2408:8956:bf00::/40": "17816", - "2605:5fc7::/32": "397881", - "2800:440:84::/48": "27738", - "2a03:2880:f151::/45": "32934", - "2406:2000:f01f::/36": "10310", - "2607:fcd0:fac0::/37": "8100", - "2c0f:f5c0:3::/38": "29465", - "2001:df7:480::/48": "138754", - "2409:8080:2ad0::/44": "9808", - "2a01:8f20::/32": "51863", - "2001:559:21c::/47": "22258", - "2001:7f8:31::/48": "24957", - "2001:4d10::/32": "16030", - "240a:a521::/32": "143963", - "2804:1110:ab02::/33": "262901", - "2001:67c:23b4::/48": "21297", - "2001:ce0:6::/48": "4605", - "2401:ec00::/32": "24349", - "2607:fda8:1012::/47": "6128", - "2001:559:81c2::/48": "33651", - "2401:d800:8d0::/42": "7552", - "2603:c0f0:1020::/38": "6142", - "2605:90c0::/32": "15221", - "2001:978:900::/48": "47132", - "2001:1248:989c::/42": "11172", - "2604:7300::/32": "393227", - "2803:71e0::/32": "270007", - "2804:3b10::/32": "266127", - "2001:559:7fa::/47": "7922", - "2001:fd8:400::/38": "132199", - "2406:840:100::/47": "139317", - "2a03:fe40::/32": "60793", - "2001:918::/39": "3303", - "2001:1878:800::/44": "85", - "2a00:d4e0::/29": "15600", - "2402:9f00::/32": "58740", - "2803:f800:50::/45": "13335", - "2804:3d4:2e::/43": "262401", - "2804:26a4::/32": "263846", - "2a00:1e88:9::/32": "12389", - "2a0a:d4c0::/29": "207460", - "2607:fc48:430::/48": "40009", - "2803:180::/32": "28036", - "2804:340::/32": "28165", - "2604:f400:1::/48": "26878", - "2a02:26f7:c688::/48": "36183", - "2001:67c:1298::/48": "212977", - "2409:805c:3031::/41": "9808", - "2602:804:9000::/44": "11661", - "2001:559:c384::/48": "7922", - "2001:4490:d664::/46": "9829", - "2406:5c0::/32": "140395", - "2607:ffd8:213::/48": "17048", - "2801:1f0:4028::/47": "21433", - "2804:1084::/32": "52847", - "2a00:1fd0:ecc0::/46": "29033", - "2001:559:59d::/48": "33287", - "2404:1a40::/39": "9744", - "2404:4340::/32": "133275", - "2a00:1d58:4400::/36": "47524", - "2a02:ee80:40b4::/44": "3573", - "2408:8957:be00::/40": "17622", - "2801:0:260::/48": "52427", - "2806:2f0:9480::/42": "17072", - "2a0a:a2c0::/47": "205992", - "2a0e:aa07:e01f::/48": "211162", - "2c0f:f350::/32": "328471", - "240e:940:ee00::/40": "136197", - "2800:160:126f::/43": "14259", - "2600:1406:d801::/37": "20940", - "2804:60cc::/32": "269192", - "2408:8956:2700::/36": "17816", - "2409:8c04:1111::/45": "24547", - "2a02:2010:2420::/45": "20978", - "2a04:8f40:2::/48": "205505", - "2001:4b98:dc4::/46": "203476", - "2402:800:7c20::/41": "7552", - "2a01:4c80::/32": "21446", - "2a02:e980:16b::/45": "19551", - "2804:d20:e000::/35": "262700", - "2804:3800:1000::/34": "266449", - "2806:230:4034::/48": "265594", - "2a0b:2340::/29": "205763", - "2a0c:7e43:43be::/48": "20473", - "2605:80c0::/32": "10700", - "2602:802:4000::/48": "14038", - "2606:6800:2400::/40": "394903", - "2620:10a:80ae::/48": "394354", - "2804:62b4::/35": "269313", - "2406:7400:b0::/47": "24309", - "2804:25fc::/32": "264316", - "2804:27bc::/32": "263919", - "2804:7930::/32": "271290", - "2a02:26f0:36::/48": "34164", - "2a02:26f7:2d::/48": "20940", - "2a0f:6bc0::/29": "60404", - "2400:a980:68fe::/47": "133111", - "2401:4900:c80::/44": "45609", - "2406:840:f400::/44": "142111", - "2605:9d80:9092::/48": "4809", - "2607:4800::/32": "25637", - "2a02:670::/32": "47217", - "2a0e:bfc0::/29": "211619", - "2405:9800:9::/46": "45458", - "2804:33d4::/47": "265419", - "2a00:dfc0::/29": "198551", - "2a07:e300::/29": "43341", - "2806:230:602e::/48": "265594", - "2a0a:7a06::/31": "61317", - "2a0b:a200::/29": "208681", - "2001:559:81b3::/45": "7922", - "2001:43d8:c009::/34": "15022", - "2405:58c0:4400::/40": "133101", - "2409:8c85:1::/40": "9808", - "2620:63:e000::/48": "13731", - "2a0d:4b40::/29": "61317", - "2001:57a:f213::/39": "22773", - "2001:738::/46": "1955", - "2405:9200:1100::/41": "131596", - "2604:6600:6::/44": "40676", - "2001:678:8fc::/48": "209520", - "2402:4e00:5::/46": "45090", - "2404:1c0::/32": "138454", - "2804:e94:6d8::/42": "262468", - "2804:6f8c::/32": "270668", - "2a05:6c00::/29": "62126", - "2401:d800:5360::/40": "7552", - "2408:84f3:ac40::/38": "17816", - "2803:7fc0::/32": "265788", - "2804:dd4::/33": "53024", - "2804:66f8::/32": "269595", - "2a02:2930::/32": "49767", - "2a02:c6c7::/32": "58061", - "2a04:4e40:6800::/48": "54113", - "2804:7608::/32": "271085", - "2806:2f0:3541::/46": "17072", - "2a02:26f7:edc5::/46": "20940", - "2001:559:c207::/48": "33651", - "2620:149:5fc::/36": "714", - "2804:7e18::/32": "271602", - "2806:2f0:2483::/48": "17072", - "2001:c38:9127::/38": "9931", - "2001:559:8187::/48": "7725", - "2001:57a:f202::/47": "22773", - "2402:eac0::/32": "137852", - "2405:1c0:6381::/46": "135062", - "2600:1407:4800::/48": "35994", - "2a0e:b105:4c0::/44": "20473", - "2405:f080:1602::/48": "136907", - "2605:a401:85cf::/38": "33363", - "2a02:26f7:f144::/48": "36183", - "2001:4998:efec::/43": "10310", - "2400:cb00:a7b0::/45": "13335", - "2a03:97a0::/40": "197380", - "240a:a32f::/32": "143465", - "2a01:6300::/32": "42303", - "2a0c:9880::/29": "50763", - "240e:44d:7680::/41": "4134", - "2607:f148:100::/47": "11734", - "2a02:1610::/32": "50986", - "2001:559:c10c::/48": "7922", - "2400:cb00:165::/44": "13335", - "2607:f088::/32": "1706", - "2a02:ee80:415e::/42": "3573", - "2a09:bac0:43::/44": "13335", - "2001:df0:2ba::/48": "132277", - "2400:e500::/48": "138322", - "2607:fc58:2000:4000::/56": "13536", - "2a05:1083:fd50::/40": "209870", - "2406:3003:1030::/41": "55430", - "2a02:26f7:eb09::/42": "20940", - "2001:678:8::/48": "210004", - "2001:49f0:d0a0::/46": "174", - "2804:14d:c600::/40": "28573", - "2804:2b28::/32": "265138", - "2a02:26f7:f58c::/48": "36183", - "240a:a1fc::/32": "143158", - "2a01:5b80::/32": "13226", - "2c0f:f2a0:7::/32": "327849", - "2001:418:1420:200::/56": "20940", - "2001:4490:dd18::/46": "9829", - "2400:7400:e012::/44": "38044", - "2402:540::/47": "132996", - "2402:800:75e0::/38": "7552", - "2804:3768::/32": "266410", - "2a02:26f7:e245::/46": "20940", - "2001:559:87e7::/33": "7922", - "2001:44b8:105d::/48": "4739", - "2604:6280::/32": "53755", - "2607:fc58:1:44::/64": "13536", - "2a00:8a02:8000::/44": "8983", - "2a04:1040::/29": "59767", - "2a07:7300::/29": "202877", - "2a0d:2584::/32": "141776", - "2405:b8c0::/36": "131677", - "2409:803c:3800::/40": "24444", - "2801:80:38b0::/48": "270348", - "2a00:1148:6::/29": "47764", - "2a02:26f7:c9c4::/48": "36183", - "2a03:7480:10::/44": "15699", - "2a04:2e80:4::/48": "207587", - "2001:1900:221f::/41": "3356", - "2001:559:c0eb::/48": "33659", - "240a:a4e5::/32": "143903", - "2602:fe26::/36": "53740", - "2a07:3500:11a0::/48": "1136", - "2a0a:8740::/29": "205851", - "2404:2400:200::/48": "38280", - "2409:8c04:110e::/43": "24547", - "2605:4c40:119::/38": "30081", - "2804:8018:1000::/37": "271729", - "2a01:8840:4d::/48": "207266", - "2001:fd8:221::/46": "4775", - "2606:ed00::/47": "47869", - "2a02:2e02:1500::/43": "12479", - "2a0f:b300:1111::/48": "208200", - "2804:6238::/32": "269283", - "2a00:8860:300::/48": "50389", - "2a0d:d040::/29": "197036", - "2a0e:6580::/29": "57112", - "2a01:71e0::/32": "199811", - "2001:559:33e::/48": "7922", - "2001:559:4e6::/48": "7016", - "240a:a199::/32": "143059", - "2800:3c0:1130::/34": "19863", - "2804:1a14:3000::/36": "265962", - "2804:3b54::/32": "266142", - "2a00:a7e0::/48": "200741", - "2a02:26f7:e340::/48": "36183", - "2600:6c38:b33::/44": "20115", - "2604:d600:1119::/45": "32098", - "2600:140b:6401::/38": "20940", - "2602:fed2:7102::/48": "53356", - "2602:ffcd::/36": "55254", - "2001:559:83dc::/48": "33652", - "2001:559:c123::/48": "7725", - "2402:9900:b11::/48": "27435", - "2804:2fd0::/32": "264913", - "2408:8957:6600::/40": "17622", - "2a02:26f7:77::/48": "20940", - "2a02:26f7:d684::/48": "36183", - "2001:559:c137::/48": "7015", - "2001:67c:2e64::/48": "15542", - "2409:804c:2a::/43": "9808", - "240a:a735::/32": "144495", - "240a:a8c3::/32": "144893", - "240a:afe3::/32": "146717", - "240e:473:1a00::/41": "140485", - "2402:7400:8000::/33": "38883", - "2408:8256:357c::/48": "17816", - "2804:24b0:8000::/33": "264238", - "2804:2e1c:e700::/35": "265324", - "2a02:26f7:d281::/46": "20940", - "2a0b:f100::/29": "43451", - "2001:67c:286c::/48": "58148", - "2606:a600:9000::/33": "23005", - "2607:f140::/32": "25", - "240e:44d:2680::/41": "4134", - "2a02:ab00::/29": "6830", - "2a03:4900:a0::/47": "197695", - "2403::/44": "4755", - "2408:8459:9e30::/41": "17622", - "2804:3774::/34": "266416", - "2a01:82a0::/32": "61952", - "2001:db0:1800::/34": "17766", - "240a:a586::/32": "144064", - "2804:61ec::/32": "269265", - "2a07:1c44:9600::/40": "138211", - "2a07:33c0::/29": "50272", - "2001:559:8573::/48": "33659", - "2001:67c:2600::/48": "15655", - "2402:800:9e01::/42": "7552", - "2a01:111::/34": "8075", - "2a0b:4740::/29": "49101", - "2001:978:2302::/47": "174", - "2001:978:7602::/36": "174", - "2001:4408:7700::/36": "4758", - "2602:ffc8:3e5::/46": "20278", - "2801:13:e800::/48": "271925", - "2804:1b0:1a80::/47": "18881", - "2a00:c7c0::/32": "205617", - "2001:310::/34": "4694", - "2606:6680:2::/48": "40676", - "2a00:c600::/29": "41960", - "2a02:26f7:bd49::/46": "20940", - "2a0b:22c0::/29": "59939", - "2001:559:70::/47": "13367", - "2001:678:a64::/48": "198423", - "240e:250:300::/40": "141157", - "2a00:1cf8:8000::/33": "44944", - "2a02:26f0:8301::/37": "20940", - "2a02:26f7:d58c::/48": "36183", - "2a0d:2600::/29": "39736", - "2001:16a2:4200::/37": "25019", - "240a:a6df::/32": "144409", - "2607:fdc8::/48": "30036", - "2a01:9700:1250::/44": "8376", - "2a05:d01e::/36": "16509", - "2001:1920::/32": "25689", - "2408:8956:8f00::/40": "17816", - "2600:9000:10c1::/44": "16509", - "2804:13f0::/32": "263303", - "2804:632c::/32": "269343", - "2a00:eb0::/40": "39912", - "2001:67c:1fc::/48": "43462", - "2401:7140::/32": "136781", - "2620:4f:e000::/48": "22652", - "2a00:1fa2:80c0::/48": "42087", - "2a07:dbc0::/32": "42422", - "2a0d:cc0::/29": "60501", - "2c0f:f1c0::/32": "328178", - "2a0f:11c0::/29": "45671", - "2409:8a21::/29": "9808", - "240a:a355::/32": "143503", - "2602:802:4003::/48": "14038", - "2800:8f0::/32": "22860", - "2803:5440:252::/48": "264738", - "2a02:ac80:2001::/35": "25145", - "2a0c:3580::/29": "30823", - "2a0c:4dc0::/48": "47893", - "2402:b280::/32": "133934", - "2402:d000:5100::/34": "9329", - "240a:aa7e::/32": "145336", - "2600:1003:b100::/42": "6167", - "2a01:5940::/34": "31034", - "2001:978:3000:1::/38": "174", - "2401:1380::/32": "58411", - "240e:40:8::/48": "58519", - "2804:7840::/32": "271230", - "2001:559:c12c::/48": "7015", - "240a:a185::/32": "143039", - "2800:160:1c76::/40": "14259", - "2804:5c7c::/35": "268911", - "2a02:26f7:bcc1::/46": "20940", - "2a02:2e02:30b0::/41": "12479", - "2a11:2307::/41": "209209", - "2001:559:1eb::/45": "33489", - "2001:559:8048::/48": "7016", - "2001:559:c045::/46": "7015", - "240a:a97d::/32": "145079", - "2604:d600:503::/44": "32098", - "2620:13a:7000::/44": "5078", - "2a03:60::/29": "60022", - "2a02:26f7:bf05::/46": "20940", - "2a0c:2240::/48": "197988", - "2001:4878:b220::/48": "12222", - "2600:1416:2000::/48": "25019", - "2600:6c7f:9350::/44": "11351", - "2001:678:5ec::/48": "39617", - "2408:8957:c9c0::/38": "17622", - "240a:a683::/32": "144317", - "240e:982:d700::/40": "4134", - "2602:feda:3b0::/44": "134575", - "2a00:4802:4b00::/37": "13124", - "2a02:ee80:403a::/41": "3573", - "2a0e:b107:15b0::/48": "211169", - "2001:559:5a6::/47": "7922", - "2001:559:8750::/47": "20214", - "2403:e240::/32": "4767", - "2405:fb80::/32": "132006", - "2409:8002:800::/40": "38019", - "2804:16d8:1d00::/46": "262729", - "2806:230:401f::/48": "11888", - "2c0f:fc89:7f::/40": "36992", - "2400:adda:2000::/31": "9541", - "240a:a098::/32": "142802", - "2804:68b4::/34": "269710", - "2804:767c::/32": "271115", - "2001:559:33d::/48": "33668", - "2804:6388::/32": "269367", - "2001:559:8550::/47": "7922", - "240a:a644::/32": "144254", - "2a01:200::/32": "25164", - "2a03:ce80::/32": "47562", - "2c0f:e958::/32": "15399", - "2001:ee0:de00::/40": "45899", - "2607:f098:3300::/33": "33363", - "2800:bf0:80c9::/43": "27947", - "2803:8a60::/32": "264732", - "2001:67c:ec::/48": "44097", - "2001:1938:4204::/40": "12989", - "2600:6c38:64::/44": "20115", - "2604:d600:63b::/41": "32098", - "2620:13a:1000::/40": "40457", - "2404:f340:8000::/33": "15169", - "2001:559:c3a3::/48": "33491", - "2401:d800:f980::/42": "7552", - "2806:230:2046::/48": "265594", - "2a02:4720::/31": "201333", - "2405:3580:1919::/48": "62240", - "240e:56c::/30": "4812", - "2600:1418:8001::/33": "20940", - "2610:a1:1007::/48": "397218", - "2a0c:b240::/32": "202441", - "2001:559:c1b6::/47": "7922", - "240a:aa5c::/32": "145302", - "240e:438:4c40::/38": "4134", - "2607:b600:10::/48": "10397", - "2620:149:150::/38": "714", - "2803:7f20::/32": "61317", - "2804:e0c:c0::/48": "28176", - "2001:559:106::/48": "33651", - "2405:a3c0::/32": "139908", - "2a00:1c48::/31": "12695", - "2a0d:2146:8580::/45": "39526", - "2001:67c:6b0::/48": "34756", - "2408:840c:200::/40": "17621", - "240a:a994::/32": "145102", - "2a01:96e0::/32": "35179", - "2a02:26f7:efc0::/48": "36183", - "2001:57a:8011::/42": "22773", - "2a00:51c0::/32": "51758", - "2a02:cb44::/32": "20546", - "2a10:600::/32": "209208", - "2001:4de0:49::/48": "50525", - "2403:ca00::/32": "37933", - "2408:8957:4100::/40": "17816", - "240e:3bb:2c00::/35": "134774", - "2a00:f6e0::/32": "49034", - "2a02:26f7:ddc0::/48": "36183", - "2403:cfc0:100b::/48": "139264", - "2407:6e00:253::/45": "38332", - "2600:6c38:a24::/43": "20115", - "2620:171:28::/48": "42", - "2001:678:7f0::/48": "6730", - "240a:a98b::/32": "145093", - "240a:aaa8::/32": "145378", - "240e:18:51::/31": "4812", - "2804:6f9c::/32": "270672", - "240e:848:a0::/30": "4134", - "2806:200::/32": "7438", - "240a:ac0d::/32": "145735", - "2607:f998::/32": "11767", - "2610:a1:305c::/48": "12008", - "2620:a9:8000::/45": "16991", - "2800:2a0:7101::/32": "27947", - "2a00:16d0::/32": "12714", - "2409:877d::/30": "9808", - "240e:428::/27": "4134", - "240e:44d:1e00::/41": "140345", - "2804:3c18::/32": "266190", - "2a0f:ff00:1337::/44": "213281", - "2804:1094:9000::/34": "263641", - "2404:b000:1000::/32": "4826", - "2408:840c:6800::/40": "17621", - "240a:a4bb::/32": "143861", - "2600:100d:a120::/36": "22394", - "2610:20:6f15::/48": "49", - "2610:b0:4118::/47": "21433", - "2800:484:cd00::/38": "10620", - "2806:310:22::/45": "16960", - "2a01:7640:400::/48": "60708", - "2001:678:f7c::/48": "213027", - "240a:aabd::/32": "145399", - "2a0b:a2c0::/29": "205584", - "2406:30c0::/48": "38732", - "2a0a:4ac0::/29": "40970", - "2407:5200:33::/41": "55915", - "2600:1015::/32": "6167", - "2607:e880:1020::/48": "12220", - "2800:160:f4d0::/36": "14259", - "2804:2ca0::/32": "265231", - "2a01:8640:9::/48": "42708", - "2001:57a:503::/48": "33438", - "2001:67c:2e60::/48": "12348", - "2602:fea7:100::/40": "46844", - "2a0a:2c0:2::/48": "48648", - "2001:1248:70a7::/44": "11172", - "2402:800:37c5::/43": "7552", - "2408:8806::/42": "4808", - "2804:6374::/32": "269362", - "2001:559:825a::/48": "7725", - "2401:b000::/32": "17971", - "2406:840:eb91::/44": "140731", - "2804:1c88::/32": "61660", - "2a01:c8::/38": "20756", - "2a02:50::/48": "15464", - "2001:428:6402:5::/64": "2639", - "2001:559:c1e2::/47": "33651", - "2408:843c::/35": "4837", - "2a02:26f0:8f01::/40": "20940", - "2a03:fa80::/32": "15471", - "2a06:25c0::/32": "20473", - "240a:a80d::/32": "144711", - "2604:2d80:7680::/36": "30036", - "2604:85c0:a::/32": "16524", - "2806:230:203e::/48": "265594", - "2a01:b100::/32": "43127", - "2a02:26f7:d748::/48": "36183", - "2a04:b700:185a::/48": "201405", - "2001:500:96::/48": "15135", - "2001:559:826b::/48": "22909", - "2001:67c:1598::/48": "24642", - "2001:1248:a016::/48": "11172", - "2401:d800:93b0::/41": "7552", - "2409:8914:b400::/39": "56044", - "2803:efc0::/48": "3549", - "2001:1400:ffef::/48": "2119", - "2804:81b0::/32": "272470", - "2a03:ad05::/30": "8208", - "2409:8924:9100::/38": "56046", - "2804:3e2c::/32": "266578", - "2a01:a280:100::/48": "58191", - "2a02:26f7:cc08::/48": "36183", - "2001:43f8:120::/48": "37177", - "2804:2448::/32": "264212", - "2806:2f0:34c1::/42": "17072", - "2a01:618:404::/46": "137502", - "2a0e:b105:428::/46": "20473", - "2402:8100:3a4f::/32": "55644", - "2409:8c28:34b1::/39": "56041", - "2804:1c74::/32": "52712", - "2001:559:815f::/48": "7015", - "2400:1f00:b2::/44": "45769", - "2400:a7c0::/32": "133168", - "2409:8c44:1b01::/28": "24445", - "2600:c05:3010::/48": "398019", - "2804:6a94:8000::/33": "270345", - "2620:101:4034::/46": "16880", - "2001:468:502::/48": "12145", - "2001:559:c326::/48": "7922", - "2001:12a0:a001::/36": "28292", - "2402:f800:ff01::/40": "7602", - "2409:8924:8100::/38": "56046", - "240a:a9dc::/32": "145174", - "2607:6b80:67::/48": "46562", - "2001:678:98::/48": "51833", - "2605:ec0::/48": "26272", - "2607:f930::/32": "675", - "2a02:7d8::/36": "3302", - "2602:803:7000::/44": "11478", - "2804:5ce8::/33": "268938", - "2804:5d2c::/47": "268955", - "2605:c5c0::/32": "395853", - "2607:f4d0::/36": "17054", - "2804:14d:448b::/43": "28573", - "2a02:26f7:ba48::/48": "36183", - "2a02:26f7:ba88::/48": "36183", - "2a04:e580::/29": "197395", - "2c0f:fc70::/32": "37305", - "2001:4268:1120::/32": "15964", - "2401:ff80:148f::/43": "133954", - "240a:a008::/32": "142658", - "240a:aae2::/32": "145436", - "240e:55::/34": "140330", - "240e:438:8220::/43": "140647", - "2600:140f:8::/47": "20940", - "240a:a381::/32": "143547", - "2600:1404:6::/42": "20940", - "2605:6c80:c::/48": "40244", - "2a02:2e02:2570::/40": "12479", - "2001:418:1401:e::/63": "20940", - "2001:43f8:400::/40": "37062", - "2001:4818:1000::/36": "36031", - "2402:6640::/45": "134995", - "240e:a8:e200::/39": "140647", - "2602:ffd5::/36": "26832", - "2607:f7a8:607::/36": "16657", - "2a0e:97c0:d64::/48": "20473", - "2a11:ad80:9b::/48": "210829", - "2001:559:76d::/48": "7725", - "2408:8957:cf40::/40": "17816", - "2806:21a:1400::/40": "262913", - "2a01:7040::/32": "58123", - "2a10:2f00:138::/48": "213105", - "2405:6e00:1e00::/39": "133612", - "2a02:cfc0::/29": "60032", - "2a0b:5100::/29": "15765", - "2806:230:2051::/48": "11888", - "2404:bc0:4110::/44": "137735", - "2a01:8840:e::/48": "12287", - "2a0c:8900::/29": "200462", - "2001:559:c317::/48": "33652", - "2402:800:328d::/43": "7552", - "2407:1600::/32": "1299", - "240b:4005::/32": "45102", - "2804:1060::/32": "263632", - "2804:1908::/32": "61770", - "2001:1248:883c::/46": "11172", - "2402:ef12::/32": "24397", - "2a01:440:50b::/45": "29551", - "2001:559:3f8::/48": "33287", - "2001:67c:13c8::/48": "42936", - "2001:ee0:c540::/38": "45899", - "2400:50c0::/32": "136039", - "2401:d800:7f00::/40": "7552", - "240e:a64:1a00::/34": "140330", - "2602:fd6f:aba::/45": "18526", - "2001:1248:987f::/40": "11172", - "2001:67c:2e7c::/48": "199165", - "2409:8028:30b3::/41": "56041", - "2602:fd71::/36": "396325", - "2a02:26f7:d2c5::/46": "20940", - "2a02:26f7:dcc9::/42": "20940", - "2a03:f140::/32": "206617", - "2a0c:e480::/29": "15623", - "2402:800:9a0f::/43": "7552", - "2602:fd2e::/36": "174", - "2602:feda:db0::/44": "131789", - "2001:19e8:8041::/48": "3923", - "2001:1a11:102::/44": "42298", - "2400:9100::/48": "45552", - "2a00:1238:4::/32": "35236", - "2a04:4e40:3e10::/44": "54113", - "2a06:6500::/29": "204165", - "2001:559:3dc::/48": "33657", - "2001:678:be8::/48": "207563", - "240a:aab9::/32": "145395", - "2a02:26f7:da89::/42": "20940", - "2a09:bac0:123::/45": "13335", - "2001:67c:2328::/48": "31473", - "2402:800:3e60::/43": "7552", - "2406:7400:60::/46": "24309", - "2408:8256:3174::/48": "17816", - "2804:45e4::/33": "262567", - "2001:df1:5200::/48": "55824", - "2606:7c00::/32": "46103", - "2804:1f3c:4000::/35": "269679", - "2a0a:edc0::/32": "209379", - "240a:a024::/32": "142686", - "2804:c48:ff09::/40": "52687", - "2804:8268::/32": "272518", - "2806:230:5006::/48": "265594", - "2001:559:86ee::/48": "33659", - "240a:acec::/32": "145958", - "2800:3a0:2::/45": "23201", - "2804:954:801::/35": "263073", - "2a0d:5084:1::/31": "62240", - "2001:480:37::/41": "668", - "2402:800:3cc5::/43": "7552", - "2800:300:6500::/40": "27651", - "2804:1e0c::/32": "264141", - "2001:559:c377::/48": "20214", - "2001:1260:5::/48": "28544", - "2801:80:1c20::/48": "266068", - "2804:a54:e::/43": "262664", - "2804:5af4::/32": "268809", - "2409:8751:d00::/38": "56047", - "2600:d0a:4000::/31": "20161", - "2a03:b580::/32": "51978", - "2a10:84c0::/29": "44103", - "2001:330::/32": "6619", - "2804:1bc:114::/48": "28122", - "2a02:26f7:cccc::/48": "36183", - "2001:470::/43": "6939", - "2001:559:1ff::/48": "33491", - "2001:678:c98::/48": "48025", - "2800:bf0:81e9::/38": "27947", - "2a00:5881:8100::/40": "60630", - "2a10:4ec0::/29": "57353", - "2001:12e0:b000::/33": "10429", - "2409:8d15:2800::/39": "56044", - "2604:d600:1580::/44": "32098", - "2804:cec::/32": "52575", - "2804:77c0::/32": "271197", - "2a03:2940::/32": "51440", - "2001:550:2211::/39": "174", - "2403:1940:200::/48": "137935", - "2001:67c:28f0::/48": "57090", - "2001:44b8:603c::/47": "7545", - "240a:a3fe::/32": "143672", - "240a:a98e::/32": "145096", - "2001:559:4d4::/48": "20214", - "2001:df6:8f00::/48": "135817", - "2604:4d40:7473::/48": "399196", - "2607:fdf0:5e03::/45": "8008", - "2a02:26f7:ecc5::/46": "20940", - "2a0d:3680::/32": "205673", - "2401:d800:b690::/39": "7552", - "2c0f:f098::/32": "36938", - "2405:ac80::/32": "135524", - "2406:1cc0::/32": "137681", - "2408:8459:ec50::/39": "17816", - "2600:1017:9800::/44": "22394", - "2804:14d:be84::/41": "28573", - "2804:5d40::/32": "268960", - "2a0f:f480::/29": "60262", - "2406:d500:12::/48": "136557", - "2409:8c85:aa0d::/43": "9808", - "2804:5d54::/32": "268965", - "2607:f380::/36": "2152", - "2a0d:b201:8000::/44": "206026", - "2001:559:879e::/48": "33659", - "2401:d800:d790::/42": "7552", - "240a:a42a::/32": "143716", - "2804:7efc:600::/32": "271659", - "2a02:d08::/32": "34762", - "2001:253:140::/48": "142106", - "240a:a14f::/32": "142985", - "240e:ff:c000::/48": "134773", - "2605:e740:500::/40": "398710", - "2806:288:4090::/48": "28469", - "2a00:11c0:47::/44": "47147", - "2a0c:8fc1:8000::/40": "142275", - "2401:ebc0:3000::/32": "137041", - "2409:806b:2900::/35": "9808", - "240a:a8ba::/32": "144884", - "240a:aa36::/32": "145264", - "2620:8b:a000::/48": "399196", - "2a0a:1dc0::/30": "42994", - "2402:800:3ae0::/44": "7552", - "2402:8100:39a0::/44": "45271", - "2403:8940:fffd::/46": "135817", - "2409:8e1a::/32": "132525", - "2602:fe6f:2::/47": "11374", - "2607:3200:13::/32": "11240", - "2001:44b8:1052::/47": "7545", - "2400:9800:6011::/45": "139994", - "240e:473:ff00::/48": "140485", - "2c0f:f5c0::/46": "29465", - "2001:418:4001:5::/45": "2914", - "240a:aef2::/32": "146476", - "2605:4300:ee00::/40": "62907", - "2804:1bc:115::/32": "10310", - "2a0a:68c0:ff00::/40": "212951", - "2a0e:b103:a00::/39": "20473", - "2a0f:4ac0:1236::/32": "207921", - "2804:1b0:1a00::/41": "10429", - "2804:13b0:7c00::/38": "263546", - "2600:140f:6000::/48": "55836", - "2001:559:1c5::/48": "33660", - "240a:a52d::/32": "143975", - "2403:b300::/32": "16509", - "2607:f348::/34": "13354", - "2a09:400:2000::/35": "208861", - "2406:c500:ffd2::/48": "4764", - "2400:1c00:1d0::/42": "45143", - "2804:14d:3c00::/40": "28573", - "2a02:26f0:c101::/40": "20940", - "2a03:b000:600::/36": "42695", - "2a09:400:9000::/29": "208861", - "2405:a400::/32": "38793", - "2406:840:e112::/48": "141712", - "2c0f:f850::/39": "327979", - "2402:800:550f::/43": "7552", - "2408:8957:2300::/40": "17816", - "2620:171:40::/46": "42", - "2804:14d:2a00::/42": "28573", - "2a00:ce8::/32": "20914", - "2a00:6500::/29": "20723", - "2a01:73c0:124::/32": "21450", - "2804:45c8::/47": "266949", - "2a00:f46:1000::/31": "43447", - "2001:678:e84::/48": "57418", - "2408:8957:cb40::/40": "17816", - "2a06:2380::/29": "29423", - "2001:678:118::/48": "57436", - "240a:acba::/32": "145908", - "2803:a040:200::/37": "263750", - "2a06:d581:1000::/36": "13283", - "2803:99e0:10::/44": "270020", - "2409:805e:900::/35": "9808", - "2600:140f:f::/39": "20940", - "2600:1480:2100::/37": "20940", - "2604:e080::/32": "32458", - "2607:fdc8:1400::/48": "30036", - "2801::/48": "52224", - "2801:14:d000::/44": "264843", - "2a01:280:340::/48": "201317", - "2001:480:10::/48": "22", - "2404:140::/32": "37992", - "2407:8780:2::/47": "135628", - "240a:a793::/32": "144589", - "240e:a64:2600::/31": "4134", - "2804:4cb0::/32": "267385", - "2a00:1298:8016::/48": "206055", - "2001:fd8:740::/35": "4775", - "2001:1388:2c::/37": "6147", - "2803:35e0::/32": "270040", - "2a03:42e0::/48": "59753", - "2a0f:607:1004::/48": "209557", - "240a:aedb::/32": "146453", - "2600:1407:d801::/34": "20940", - "2804:54b0::/32": "268665", - "2c0f:fbe0::/28": "36874", - "2001:4998:20::/48": "14776", - "2401:4900:4700::/42": "45609", - "2408:8256:2d7c::/46": "17623", - "240a:a3aa::/32": "143588", - "2c0f:eb00:1300::/28": "61266", - "2001:6f8:824::/35": "4589", - "240a:a030::/32": "142698", - "2800:160:112d::/43": "14259", - "2a06:94c0::/29": "51918", - "2a10:5dc0::/32": "212033", - "2602:10d:8000::/36": "33588", - "2604:7e00:31::/48": "399612", - "2a05:ff00::/31": "202592", - "2620:10a:9059::/48": "2685", - "2804:57e0::/32": "268092", - "2a0e:b107:ee0::/44": "207550", - "2806:20d:5045::/44": "32098", - "2a0a:1f40::/32": "61272", - "2a0b:ec00::/29": "34373", - "2a0e:97c0:1::/48": "58057", - "2001:891::/29": "8447", - "2408:8417::/28": "4837", - "240e:fd:f820::/37": "4134", - "2602:ff8f::/40": "53274", - "2800:160:10c7::/44": "14259", - "2804:610::/36": "262565", - "2a02:26f7:95::/48": "20940", - "2001:df2:d00::/48": "134026", - "2a04:4e40:210::/41": "54113", - "2a0a:b386::/32": "206766", - "2408:8459:7a50::/37": "17816", - "2804:14c:bb8d::/46": "28573", - "2804:2fdc:8000::/36": "264917", - "2806:230:1034::/48": "265594", - "2806:2f0:90c2::/42": "17072", - "2a0f:6f80::/29": "47196", - "2406:fd00:800::/40": "24459", - "2001:1a11:55::/42": "42298", - "2406:2000:1b0::/41": "10310", - "240e:473:3600::/41": "140485", - "2a03:1180::/32": "198002", - "2a09:9900::/32": "57704", - "2409:4043:3000::/27": "55836", - "2620:ad:8081::/41": "52127", - "2001:67c:1324::/48": "43384", - "2803:b3a0::/32": "262186", - "2001:57a:8001::/43": "22773", - "240a:ad7a::/32": "146100", - "2a02:690::/29": "41960", - "2402:800:613a::/41": "7552", - "2402:8100:2041::/42": "45271", - "2408:8624::/30": "4837", - "2600:140f:601::/39": "20940", - "2a00:65c0::/47": "25156", - "2401:af40::/48": "41690", - "2409:8a04:6100::/36": "24547", - "2600:1003:f840::/44": "6167", - "2a02:688::/32": "5394", - "2a02:50c0:a000::/29": "29355", - "2001:438:66::/44": "6461", - "2001:fd8:b300::/42": "132199", - "2407:7c0:14::/40": "138128", - "2604:b180:150::/44": "26925", - "2620:171:ab::/43": "715", - "2804:5680::/32": "268004", - "2401:ff00:a000::/36": "64073", - "240e:351:6400::/30": "4134", - "2a02:26f7:de89::/46": "20940", - "2a07:a880:4701::/48": "3399", - "240a:adb7::/32": "146161", - "240e:473:6720::/41": "140486", - "240a:a8c6::/32": "144896", - "2620:ae:c000::/48": "18686", - "2804:29e4::/32": "264042", - "2804:30f8::/36": "264984", - "2a0c:4200::/29": "48112", - "2001:579:d244::/42": "22773", - "2401:ff80:1403::/45": "133954", - "2c0f:ff80::/32": "327698", - "2001:44b8:3084::/48": "7545", - "2602:feda:c50::/48": "212425", - "2803:4700::/31": "28073", - "2806:230:601a::/48": "265594", - "2a04:f240::/29": "201825", - "2c0f:ee78::/32": "61317", - "2001:1a40::/44": "5416", - "2400:8b00:b00::/42": "45727", - "2404:6740:ffff::/48": "138608", - "2802::/48": "18747", - "2a06:1900::/32": "200635", - "2a0a:ff80::/32": "206566", - "2a0b:6340::/32": "29423", - "2407:a6c0::/32": "63790", - "2605:6c80:11::/48": "397373", - "2804:4618::/34": "266968", - "2a02:348:4::/43": "35470", - "2a02:367:4044::/48": "42804", - "2a06:800::/40": "207257", - "2001:559:256::/48": "33662", - "2401:ff80:1205::/44": "133954", - "240a:ae66::/32": "146336", - "2610:a1:3030::/48": "12008", - "2804:7f8c::/43": "271695", - "2a03:1f60::/32": "8787", - "2001:67c:1443::/48": "31649", - "2405:7f00:9e40::/40": "133414", - "2409:805b:2b05::/32": "56040", - "2a02:26f7:c4c9::/42": "20940", - "2a0b:d000::/29": "34665", - "2a0e:1c80:7::/48": "50304", - "2001:7f8:1d::/48": "29432", - "240e:44d:3e00::/41": "140345", - "2804:5714::/32": "268042", - "2806:230:4000::/48": "265594", - "2a02:5860::/32": "3561", - "2a06:fb80::/29": "21013", - "2405:f740::/32": "59253", - "240a:ab04::/32": "145470", - "2600:9000:5300::/45": "16509", - "2604:4e00::/33": "25764", - "2a04:2fc0::/32": "8496", - "2001:559:c096::/48": "33659", - "2001:67c:484::/48": "35044", - "240e:5f:6003::/48": "136200", - "2001:559:852f::/48": "33662", - "2001:df3:fc00::/48": "134548", - "2403:3d00::/32": "133720", - "240e:4:e100::/35": "4134", - "2620:107:7006::/48": "3962", - "2801:1f0:402a::/41": "3573", - "2803:6680::/32": "267789", - "2804:498::/32": "52988", - "2806:2f0:3361::/40": "17072", - "2a00:10a0:7::/44": "35745", - "2001:559:7fd::/48": "7725", - "2401:ff80:1c85::/44": "133954", - "2402:a300:c000::/45": "55427", - "2600:100d:9e10::/40": "22394", - "2804:3bf0::/33": "266181", - "2a05:a1c7::/32": "201155", - "2a09:d9c0::/32": "207568", - "2001:559:326::/48": "13367", - "240e:41:4800::/32": "4134", - "240e:3be:8200::/35": "140316", - "240e:679:1800::/32": "4134", - "2800:800:540::/43": "26611", - "2a02:26f7:e2c0::/48": "36183", - "2a03:8600:1007::/48": "35543", - "2a0e:b107:1660::/43": "211350", - "2001:4878:2347::/48": "12222", - "2401:50c0::/32": "136732", - "2804:13dc:ffb0::/41": "262428", - "2a00:1ca0::/32": "21413", - "2a02:26f7:f645::/46": "20940", - "2a03:b000:a00::/40": "25369", - "2a09:7:2000::/48": "39220", - "2001:ff8::/40": "7582", - "240a:afcf::/32": "146697", - "2804:2678::/32": "264342", - "2a01:3f1:3000::/38": "56908", - "2a05:bd40:d17::/48": "29264", - "2406:7400:c0::/45": "24309", - "240a:acc6::/32": "145920", - "2804:e14::/32": "52543", - "2806:230:3004::/48": "265594", - "2001:1248:563f::/41": "11172", - "2001:4b20:1000:2515::/32": "34288", - "2402:e280:3d9a::/42": "134674", - "2408:8459:8c50::/38": "17816", - "2409:8907:8120::/38": "24547", - "2804:3094::/32": "264962", - "2804:5984:8402::/36": "268707", - "2a0b:2640::/29": "208684", - "2001:559:43f::/41": "33287", - "2001:fd8:1e8::/38": "4775", - "2405:6e00:420::/43": "18291", - "2604:fa00::/32": "32278", - "2a00:8a03::/43": "28723", - "2a01:aa00::/32": "34144", - "2607:2280::/32": "14487", - "240a:a54c::/32": "144006", - "2610:a1:3040::/48": "12008", - "2001:42a0::/32": "6083", - "2a02:26f7:ee80::/48": "36183", - "2001:559:c2fd::/46": "33287", - "2001:678:3::/48": "42", - "2400:cb00:230::/44": "13335", - "2401:ff80:178d::/46": "133954", - "2408:8957:9f00::/40": "17816", - "240e:1f:b000::/33": "4134", - "2a0a:1a00::/29": "58130", - "2001:559:83f0::/48": "7922", - "2606:ef80:6::/48": "3595", - "2a02:6300::/42": "50128", - "2a0c:dd80:1000::/48": "208626", - "2001:550:a90a::/37": "174", - "2001:678:fb8::/48": "211042", - "2001:1b75::/36": "28852", - "240a:ab45::/32": "145535", - "2a03:da00::/35": "24991", - "2a07:9944:30::/48": "58305", - "2607:fb10:9016::/33": "2906", - "2804:214:4016::/39": "26615", - "2401:d800:25d0::/42": "7552", - "240a:a01c::/32": "142678", - "2804:51dc::/32": "268481", - "2a0c:9a47::/44": "209533", - "2001:4c0:6003::/32": "855", - "2001:559:3e6::/48": "20214", - "2001:559:c37e::/47": "7922", - "2a0d:7700::/29": "47926", - "2604:db00::/32": "32233", - "240a:a1d9::/32": "143123", - "2620:158:c1::/48": "13996", - "2804:15cc::/32": "263411", - "2a01:42e0::/35": "29046", - "2a03:4b21::/32": "201396", - "2806:106e:5::/48": "8151", - "2401:d800:7760::/40": "7552", - "2401:d800:9440::/42": "7552", - "2403:f040::/32": "4618", - "240e:438:a020::/43": "140647", - "2605:de40:a000::/33": "397553", - "2606:a300:5::/32": "35847", - "2804:164c:cc::/42": "263280", - "240a:af27::/32": "146529", - "2800:bf0:24::/44": "27947", - "2804:3428::/32": "265439", - "2804:4354::/32": "267563", - "2c0f:edd8::/32": "328114", - "2402:9500:d01::/32": "55720", - "2610:1c8::/43": "23393", - "2804:56b4:1000::/34": "268019", - "2001:df4:bd00::/48": "137338", - "2600:1800:9::/43": "16552", - "2a00:4520:9::/32": "42961", - "2403:e800:e803:1800::/44": "4637", - "2409:8053:1800::/47": "56047", - "2600:6c38:1ab::/41": "20115", - "2a01:8f00::/32": "197063", - "2a04:4e40:1600::/47": "54113", - "2a0b:bcc5::/38": "34669", - "2001:559:870c::/48": "33287", - "2001:4830:c160::/44": "27552", - "2605:8a40::/32": "13855", - "2620:101:c000::/40": "3359", - "2620:11c:c001::/48": "13768", - "2800:bf0:8020::/44": "52257", - "2804:8::/45": "14840", - "2001:410:e000::/40": "7860", - "2001:559:41a::/48": "33660", - "2001:559:841c::/48": "21508", - "2401:fd80:1ff::/48": "137502", - "2804:14d:800::/40": "28573", - "2804:5568::/32": "267933", - "2001:1a68:4::/46": "15694", - "2605:a401:8dd2::/42": "33363", - "2804:19b4::/46": "61813", - "2001:67c:4f0::/48": "3303", - "2408:8956:b500::/40": "17816", - "2409:805e:3900::/31": "9808", - "2606:2800:4a54::/46": "15133", - "2a02:26f7:f004::/48": "36183", - "2408:8256:3087::/43": "17623", - "2409:8060:900::/35": "9808", - "240a:aef1::/32": "146475", - "2602:fde6::/36": "10796", - "2804:17c4::/35": "263250", - "2001:559:c35a::/48": "33651", - "2403:a200:a1ff::/48": "17621", - "240a:a837::/32": "144753", - "2602:fed3:b::/48": "21769", - "2a02:2230:6500::/32": "25467", - "2001:559:4bc::/47": "33287", - "2001:44b8:6065::/48": "4739", - "2403:d4c0::/32": "136714", - "2408:84f3:4a40::/32": "17816", - "2604:9980:230::/48": "17216", - "2a00:55a0:9::/48": "19969", - "2405:201:5000::/32": "55836", - "2600:180a:4002::/31": "16552", - "2606:f403::/32": "11776", - "2804:2488::/43": "264228", - "2a02:578:5c00::/38": "9031", - "240a:aa42::/32": "145276", - "2800:ba0:2::/48": "263812", - "2804:191c::/32": "52641", - "2804:3df4::/32": "266565", - "2804:59ec::/32": "268734", - "2a0d:aa80::/29": "60380", - "2a02:26f7:61::/48": "20940", - "2408:8459:ff70::/30": "17816", - "2600:1801:4::/46": "16552", - "2606:31c0::/32": "54817", - "2607:3180::/47": "14877", - "2804:4dcc:6000::/32": "52856", - "2806:2f0:4201::/46": "17072", - "2a01:270:f000::/36": "41075", - "2a04:ac00:1::/48": "201848", - "2a0f:ec00:1f::/48": "60781", - "2a02:2808:5501::/48": "47531", - "2001:559:3d5::/48": "33651", - "2001:43f8:160::/48": "37170", - "2402:800:5eb1::/44": "7552", - "2406:2800::/32": "18282", - "2407:a00::/32": "9268", - "2407:24c0:1::/46": "136835", - "240a:a9c0::/32": "145146", - "2001:b48::/29": "16117", - "240a:a8ec::/32": "144934", - "240a:abe4::/32": "145694", - "2a02:26f7:c8c4::/48": "36183", - "2a0c:9a40:1038::/48": "34927", - "2a0e:aa07:f0b0::/48": "141694", - "2400:8500:5700::/48": "58651", - "2602:ff96:2::/48": "8100", - "2803:d700:bd00::/33": "61461", - "2804:5520:1000::/36": "262699", - "2804:67e8::/32": "269658", - "2600:8807:1f42::/42": "22773", - "2804:2df8::/32": "265315", - "2001:678:76c::/48": "8315", - "2001:1448::/32": "16245", - "2403:f680:66::/48": "58898", - "2408:840c:5400::/40": "17621", - "2408:887e::/32": "4837", - "2408:8957:900::/40": "17816", - "2607:f6f0:b000::/40": "64275", - "2a02:26f7:b889::/42": "20940", - "2a11:200::/29": "208861", - "2804:14d:badf::/42": "28573", - "2a01:a7e0:1000::/36": "29422", - "2a02:1310:353::/48": "21130", - "2001:559:c055::/46": "7015", - "2001:dcc:1000::/48": "23600", - "2602:fd66:b15::/41": "14756", - "240e:109:8044::/48": "134768", - "2607:fb10:2014::/48": "55095", - "2804:28e4:20::/37": "28260", - "2804:5120::/33": "268432", - "2a00:ed0::/32": "8426", - "2001:559:5c2::/45": "7922", - "2400:f0c0:fcf::/32": "136477", - "2409:8714::/33": "56044", - "2a00:139c::/32": "58069", - "2001:67c:608::/48": "200020", - "2402:3a80:c02c::/48": "38266", - "2408:8256:319c::/48": "17816", - "2a0f:9247::/44": "207267", - "2c0f:f6e0::/32": "37618", - "2001:559:8643::/48": "33651", - "2402:800:5939::/41": "7552", - "240e:940:f00::/32": "4134", - "2804:76f0::/32": "271144", - "2a02:f680:2::/29": "35196", - "2a02:26f7:b981::/46": "20940", - "2402:800:5c8d::/42": "7552", - "2405:aac0:55::/46": "139949", - "240a:a447::/32": "143745", - "2605:dd40:9000::/33": "398549", - "2610:a1:1028::/48": "19905", - "2804:1ca0:ff01::/46": "61666", - "2804:31e4::/32": "265043", - "2a02:e480::/29": "47441", - "240a:abe7::/32": "145697", - "2001:678:494::/48": "42135", - "240a:aec8::/32": "146434", - "2a00:cc0:fffd::/46": "13237", - "2a09:4d42::/29": "44812", - "2001:4998:38::/46": "26085", - "2408:84f3:3090::/38": "17816", - "2605:19c0::/32": "30697", - "2001:559:ee::/43": "7922", - "2402:800:531d::/42": "7552", - "240a:0:100::/38": "9605", - "2a0c:4c00::/29": "205260", - "2400:c500:100::/38": "17434", - "240e:6b8:4060::/36": "140313", - "2a02:2ad0:640::/36": "702", - "2a0a:b500::/29": "57878", - "2803:7f60::/32": "52468", - "2a00:aa00::/32": "15663", - "2606:2800:4213::/48": "14153", - "2a0e:d640::/29": "208372", - "2600:6c38:414::/44": "20115", - "2607:4580::/32": "395173", - "2806:266:380::/41": "13999", - "2a00:1ac0::/32": "35260", - "2a0a:d500::/29": "206928", - "2a04:a147::/32": "198507", - "2001:998::/40": "719", - "2400:fb00::/32": "55670", - "2408:84f3:f650::/44": "17816", - "2804:3174::/36": "265016", - "2a00:fc80::/48": "60781", - "2a02:6a0:cffe::/47": "8729", - "2a02:26f7:fa41::/46": "20940", - "2a0e:97c0:4f0::/48": "211013", - "2407:5d00::/32": "55720", - "2602:fed2:7101::/48": "209864", - "2607:f3a0:1014::/36": "23342", - "2804:5fcc::/32": "269124", - "2a02:26f7:ec05::/46": "20940", - "2a0e:b107:f2a::/48": "212268", - "2001:559:2d1::/48": "33491", - "240a:a2a2::/32": "143324", - "240a:aeae::/32": "146408", - "2605:e8c0::/32": "393444", - "2a02:26f7:e608::/48": "36183", - "2a05:4140:600::/40": "213388", - "240e:982:200::/36": "4134", - "2606:6140::/34": "31764", - "2803:9800:a501::/45": "11664", - "2a04:1bc0::/32": "60982", - "2402:e380:120::/45": "139073", - "2607:fdf0:5e8c::/43": "8008", - "2804:4bc::/33": "262462", - "2a03:d000:3000::/36": "31208", - "2403:5f40:1::/48": "58869", - "2404:1940::/32": "136030", - "2603:80bd::/32": "11427", - "2620:106:6009::/45": "3562", - "2804:1128:8080::/33": "263661", - "2804:2904::/32": "262588", - "2806:20d:5056::/44": "32098", - "2001:1470::/29": "2107", - "2401:1c00:2100::/35": "38809", - "2a00:1900::/32": "3209", - "240a:a790::/32": "144586", - "2620:11c:e00f::/48": "7415", - "2800:160:1af8::/46": "14259", - "2804:1e18::/32": "264407", - "2001:1458::/31": "513", - "2402:c480:5001::/34": "63916", - "2406:340::/32": "140576", - "2804:7b4c::/33": "271423", - "2a02:ff0:3f00::/40": "12735", - "2a02:ed04:4610::/39": "50304", - "2001:253:126::/48": "142092", - "2001:559:335::/48": "33657", - "2610:a1:1010::/48": "397218", - "2a05:3240::/29": "59780", - "2001:16a2:ee00::/39": "39386", - "2607:fcd0:fa80:8400::/55": "8100", - "2804:7910::/32": "271282", - "2a02:e30:f008::/48": "51426", - "2a07:3403::/32": "46516", - "2a0d:d900:9::/48": "57164", - "2400:8b00:d00::/42": "45727", - "2407:e500:c::/46": "38551", - "2602:febb:200::/36": "394989", - "2620:52:1::/48": "31976", - "2804:7e18:8200::/36": "271602", - "2404:d180:1a::/48": "133372", - "240a:a03d::/32": "142711", - "2a01:cc00::/32": "47377", - "2a0c:4e40::/29": "1764", - "2a0e:b101::/38": "60474", - "2001:7fa:b::/48": "18398", - "2607:fdf0:5e1e::/42": "8008", - "2804:40e0::/33": "265987", - "2a01:a8::/32": "39122", - "2a0c:d100::/29": "202283", - "2a0e:f600::/42": "60781", - "2001:468:f001::/40": "11537", - "2408:8956:5600::/40": "17622", - "240a:a31b::/32": "143445", - "2607:f6f0:20d::/48": "32323", - "2804:7ef8::/32": "271658", - "2001:44b8:30c9::/46": "7545", - "2a04:4280:200::/48": "43260", - "2604:a00:102::/35": "19318", - "2803:d3a0::/32": "267752", - "2804:2164:c100::/35": "264552", - "2a04:7640::/48": "6730", - "240e:3b5:d000::/36": "134772", - "240e:44d:7300::/41": "140345", - "2606:dc0::/32": "398816", - "2001:559:82e3::/48": "7922", - "2401:d800:5210::/42": "7552", - "2804:6f34::/32": "28234", - "2a02:ee80:407d::/46": "3573", - "2001:559:838d::/48": "7015", - "2607:f160:2e::/48": "22394", - "2800:160:206d::/43": "14259", - "2a06:2080::/29": "197825", - "2001:559:867f::/48": "33652", - "2402:800:9bb7::/41": "7552", - "240a:a74e::/32": "144520", - "240a:ad73::/32": "146093", - "2804:7854::/32": "271235", - "2a01:4280:2::/32": "31391", - "2a01:667:100::/37": "48951", - "2001:df3:8880::/48": "132335", - "2001:4db8::/32": "35706", - "2400:9340::/32": "136189", - "2402:800:91b7::/41": "7552", - "2403:41c0::/32": "63969", - "2804:7248::/32": "270844", - "2806:2f0:9281::/42": "17072", - "2a02:26f7:26::/48": "36183", - "2a03:e280::/32": "60781", - "2600:370f:7423::/41": "32261", - "2a0e:aa00:120::/44": "41378", - "2404:f4c0:f102::/48": "139216", - "240a:a46f::/32": "143785", - "2602:fed2:ff4::/48": "53356", - "2a02:cb43:8006::/48": "20546", - "2a03:2e0::/32": "197451", - "2a07:6480::/29": "202812", - "2001:438:fffd:6d::/55": "6461", - "2600:5002:1807::/28": "7029", - "2607:fdf0:5e77::/44": "8008", - "2804:1ca4:8081::/33": "263010", - "2a0b:67c0::/29": "28920", - "2001:4818:5000::/36": "30715", - "2400:adc3:800::/39": "9541", - "2404:d500:4::/47": "132370", - "2804:137c::/32": "26609", - "2001:4220:1::/46": "24835", - "2606:7d00:d001::/34": "23248", - "2800:160:14fe::/39": "14259", - "2a01:8840:22::/45": "12041", - "2400:3c00::/47": "38258", - "240d:c010:1a::/48": "139341", - "2600:c08::/34": "10913", - "2620:4d:400f::/43": "62597", - "2001:559:82fd::/46": "33660", - "240a:ac92::/32": "145868", - "2600:1406:7c01::/38": "20940", - "2800:110::/44": "4270", - "2804:2b8::/32": "28130", - "2001:1b70:86::/48": "158", - "2a09:5180::/29": "42487", - "2001:559:c23b::/45": "7922", - "2600:6c38:e0c::/47": "20115", - "2803:5480::/32": "28038", - "2a02:1ba::/29": "47692", - "2001:559:79d::/46": "21508", - "2001:16a2:c1f0::/38": "39386", - "2402:9d80:269::/48": "131429", - "2600:6c38:199::/42": "20115", - "2607:c180::/36": "13851", - "2a02:26f7:ef85::/46": "20940", - "2a0b:b300::/29": "206841", - "2c0f:f4a8:4000::/32": "37254", - "2408:84f4::/28": "4837", - "2604:c0c0:4000::/35": "14525", - "2620:1b4:ffff::/48": "16401", - "2800:484:6600::/35": "10620", - "2803:5c80:5507::/48": "64114", - "2804:1b0:8000::/36": "18881", - "2a02:60::/29": "35492", - "2001:1248:5625::/46": "11172", - "2604:20c0:2000::/36": "40641", - "2804:6aac::/32": "270352", - "2804:743c::/32": "270968", - "2a0a:e780::/29": "62455", - "2a0b:6700::/32": "197277", - "2001:1250:b000::/44": "22894", - "2401:ff80:1493::/39": "133954", - "2607:fb90:c13e::/48": "22140", - "2804:14c:4181::/45": "28573", - "2a02:26f0:81::/46": "20940", - "2a04:d8c0::/29": "202020", - "2a0a:3500::/32": "21485", - "2001:1248:5a5b::/42": "11172", - "2804:4340::/32": "267558", - "2a02:5820::/32": "201939", - "2a00:1908::/36": "43586", - "2804:b64::/32": "52770", - "2408:8459:e250::/37": "17816", - "2800:160:1fc2::/45": "14259", - "2806:370:4210::/40": "28403", - "2804:56e0:8400::/33": "268029", - "2001:67c:2394::/48": "25504", - "2408:8256:3996::/48": "17816", - "2600:9000:1028::/48": "16509", - "2600:9000:1160::/44": "16509", - "2804:34e4::/32": "264985", - "2804:38f0::/32": "266513", - "2804:4fa8::/32": "268341", - "2a0c:4100::/29": "204823", - "240e:108:11e4::/38": "4134", - "2804:30a8::/32": "264967", - "2402:8100:2580::/43": "45271", - "2804:448:104::/40": "262427", - "2001:648:2e01::/48": "8581", - "2620:74:27::/48": "396570", - "2804:824::/32": "262353", - "2804:6bf0::/32": "270435", - "2a00:1670::/32": "8902", - "2a0c:7e40:7bb1::/48": "20473", - "2001:bf7:170::/44": "206813", - "2401:d800:d20::/41": "7552", - "2600:1010:b070::/39": "22394", - "2a02:26f7:d64c::/48": "36183", - "2602:800:1005::/48": "397677", - "2804:4004::/32": "265928", - "2a09:ca00::/48": "34534", - "2a02:26f7:cfc1::/46": "20940", - "2a0c:4300::/41": "43722", - "2001:559:8323::/45": "7015", - "2001:67c:13c0::/48": "559", - "2402:800:9be0::/44": "7552", - "240a:a9b9::/32": "145139", - "2620:1b:6000::/47": "30150", - "2a04:4e40:1610::/42": "54113", - "2001:49c8::/32": "22284", - "2406:d500:14::/48": "136557", - "2620:101:9000::/48": "40934", - "2a02:26f7:f940::/48": "36183", - "2401:d800:7e40::/42": "7552", - "2409:8763::/28": "9808", - "2600:1419:7401::/36": "20940", - "2600:1419:8000::/48": "4230", - "2604:880:212::/45": "29802", - "2605:6400:20::/48": "53667", - "2606:2b80::/32": "53338", - "2001:4878:2225::/48": "12222", - "2605:6c00:1000::/34": "2734", - "2a09:be40:3000::/46": "208483", - "2001:559:1ed::/48": "33651", - "2406:f0c0:111::/48": "138654", - "2806:230:2050::/48": "265594", - "2a0b:f800::/32": "39251", - "2001:559:3b1::/48": "33659", - "2001:559:8194::/48": "22909", - "2001:918:ff65::/43": "3303", - "2409:8753:300::/37": "56047", - "2607:1280:1210::/42": "394972", - "2804:3674::/32": "37468", - "2c0f:f6d0::/44": "327687", - "2001:268:83c::/41": "2516", - "2001:4288:102::/38": "6713", - "2600:1001:b0e0::/43": "22394", - "2001:254:8000::/33": "24490", - "2406:2000:1a4::/46": "24506", - "2602::/24": "209", - "2620:68::/48": "29906", - "2402:4f00::/33": "58453", - "2620:0:22f0::/48": "6406", - "2620:11b:e0a6::/43": "3356", - "2600:100a:b0d0::/44": "6167", - "2804:1b40::/32": "28255", - "2a01:8800::/29": "15693", - "2401:c340::/46": "56136", - "2408:8456:8640::/39": "17816", - "240a:a79c::/32": "144598", - "2a07:dc00:1330::/44": "14627", - "2a04:f780:1000::/36": "134512", - "2400:ffc0::/47": "17439", - "240a:a71d::/32": "144471", - "2600:1415:c00::/48": "24319", - "2600:1f1f::/36": "16509", - "2606:ae00:bd31::/41": "7287", - "2804:4ae4:1244::/32": "267270", - "2a00:18e0::/48": "196763", - "2408:8207:8510::/34": "4808", - "240e:473:7350::/40": "4134", - "2604:4300:f27::/43": "33387", - "2804:8e4::/32": "52874", - "2a03:5a00:10::/48": "57489", - "2a0f:4440:aaaa::/48": "50937", - "240a:af23::/32": "146525", - "2803:b2a0::/32": "3549", - "2804:3d80::/32": "266535", - "2404:2480:6501::/32": "135391", - "2804:5828::/32": "268110", - "2804:7644::/32": "271100", - "2a02:2698:a004::/46": "49874", - "2a07:6000::/29": "59586", - "2001:559:83e1::/48": "33287", - "2001:5e0:21::/46": "16713", - "2001:67c:197c::/48": "199852", - "2001:df1:1580::/48": "137130", - "2001:df4:5980::/48": "140954", - "2001:1248:5bb6::/41": "11172", - "2404:f300:12::/32": "58463", - "2c0f:f4c0::/35": "37611", - "2001:559:c272::/48": "7922", - "2001:df0:7c80::/48": "6461", - "240a:aa8b::/32": "145349", - "2604:1380:4550::/42": "54825", - "2001:678:2f0::/48": "20847", - "2001:df0:bd::/48": "45292", - "2409:8704:500::/34": "24547", - "2604:880:6e::/48": "394727", - "2804:3730::/32": "266395", - "2001:500:3682::/48": "397237", - "2001:648:2e80::/48": "8253", - "2804:7324::/32": "270898", - "2a04:1447::/45": "51964", - "2c0f:e8f8:2000::/40": "36868", - "2804:4cb4::/32": "267386", - "2a06:7243::/46": "62425", - "2a0c:4444::/48": "199438", - "2001:67c:6b8::/48": "31477", - "2401:8f40:1::/48": "136950", - "2804:680:11::/44": "262589", - "2a00:8b20::/32": "48407", - "2804:2dd4::/32": "265306", - "2001:559:1d4::/47": "7922", - "2001:678:e74::/48": "196994", - "2408:84f3:a010::/42": "134543", - "240a:ae8d::/32": "146375", - "240e:d6:6000::/37": "133774", - "2600:1f01:48b0::/47": "16509", - "2800:bf0:2a0::/44": "52257", - "2a02:10:32::/40": "24785", - "2001:559:2f2::/48": "7922", - "2001:559:7bf::/48": "33651", - "2403:9800:b050::/45": "4771", - "2a01:a920::/32": "201866", - "2a02:26f7:70::/48": "36183", - "2c0f:f9f8::/32": "37424", - "240e:438:a620::/43": "140647", - "2600:6c38:41c::/41": "20115", - "2800:160:159a::/45": "14259", - "2804:524c::/32": "268509", - "2a00:ad87:4600::/48": "9890", - "2001:d80::/32": "2687", - "2400:9940:2001::/32": "136224", - "240a:ab28::/32": "145506", - "2605:7e80::/32": "62969", - "2a02:26f7:d289::/46": "20940", - "2001:559:192::/48": "20214", - "2401:3cc0:841::/39": "137409", - "2408:8957:cbc0::/37": "17622", - "2605:a401:8002::/44": "33363", - "2801:80:ae0::/48": "61779", - "2a00:1582:3::/29": "39010", - "2a00:5180:1::/46": "44491", - "2a02:2b30::/32": "21390", - "2a0a:ba40::/29": "205958", - "2a0f:5000::/29": "205500", - "2001:67c:2660::/48": "205016", - "2001:df7:6680::/48": "146961", - "2408:8459:8410::/42": "17623", - "2804:908:a00::/32": "263047", - "2a00:7147:e10::/48": "51430", - "2a07:2f00::/48": "203132", - "2a0f:9340::/48": "1299", - "2001:559:529::/48": "7922", - "2001:df5:9580::/48": "132010", - "2404:cc00:6::/34": "24441", - "2001:559:7cb::/48": "33667", - "2001:df5:3b00::/48": "17439", - "2001:1388:7c2::/36": "6147", - "2001:1b70:4280::/48": "8147", - "2800:4f0:24::/41": "28006", - "2a0d:8d06:1003::/32": "60557", - "2001:678:870::/48": "199815", - "2001:678:b98::/48": "207822", - "2001:4048:106::/47": "33922", - "2404:bf40:c201::/40": "139084", - "240a:a2cb::/32": "143365", - "2a0e:b580::/29": "59808", - "2001:559:2de::/48": "33660", - "2001:559:83c9::/48": "7922", - "2001:df3:2900::/48": "24060", - "2804:3128::/32": "264997", - "2804:4618:3400::/32": "266968", - "2804:601c::/32": "269146", - "2a02:f200::/29": "33940", - "2001:418:1467::/40": "2914", - "2408:894e::/32": "4837", - "240e:3b5:1200::/39": "4134", - "2a0e:b102:120::/45": "212895", - "2a02:26f7:b644::/48": "36183", - "2a03:b8c0:20::/46": "396253", - "2001:df1:3280::/47": "139601", - "240e:44d:5e00::/41": "140345", - "2610:48::/32": "557", - "2a02:26f7:e449::/42": "20940", - "2400:adc0:c010::/47": "9541", - "2401:4900:4940::/44": "45609", - "2605:a401:8148::/42": "33363", - "2a02:d880::/32": "41960", - "2401:ff80:1385::/44": "133954", - "2804:51e0::/32": "268482", - "2001:559:8513::/48": "7016", - "2803:5440:100::/47": "264738", - "2804:4274::/32": "267501", - "2a02:e000::/29": "12670", - "2a05:c5c0::/47": "3164", - "2001:559:c0a3::/48": "7725", - "2406:16c0::/32": "132934", - "2600:100f:f000::/44": "6167", - "2a03:18e0::/32": "39567", - "2a0c:bec0::/29": "34984", - "2001:468:2600::/48": "396955", - "2001:559:750::/48": "7015", - "2403:7300::/32": "55891", - "240a:a97e::/32": "145080", - "2602:feda:de0::/47": "142641", - "2a0f:607:1005::/46": "60614", - "2401:5840::/37": "132113", - "2409:8904:a540::/38": "24547", - "240a:a376::/32": "143536", - "2804:2f48::/33": "53052", - "2804:5f10:9000::/33": "269074", - "2a02:26f7:ee05::/46": "20940", - "2a07:fec0::/29": "213138", - "2001:4c8:101e::/47": "15290", - "2001:550:5b00:3::/37": "174", - "2001:c38:9010::/47": "9931", - "2405:8340::/32": "132923", - "2620:149:a1b::/48": "714", - "240a:aded::/32": "146215", - "240a:af17::/32": "146513", - "2a04:5540::/29": "42557", - "240a:a8a1::/32": "144859", - "240e:3bd:7600::/39": "140313", - "2605:9780:1e00::/39": "393544", - "2a02:22f0::/32": "52088", - "2a02:2e00:f000::/36": "12479", - "2a0e:b107:3ef::/48": "212034", - "2409:806a:3100::/36": "9808", - "240e:a6:2000::/31": "4134", - "2603:c0e9::/36": "1218", - "2604:6300::/32": "19024", - "2a0b:1905::/30": "57878", - "2400:8500:1000::/36": "7506", - "240a:a463::/32": "143773", - "2a05:1cc0::/29": "201601", - "2a05:4480::/29": "20853", - "2a05:d880::/30": "43066", - "2001:470:22::/48": "217", - "2409:806c:2100::/36": "9808", - "240e:37f:1a00::/34": "140330", - "2801:80:16f0::/48": "264895", - "2a02:26f7:ce01::/46": "20940", - "2a03:5341::/44": "10455", - "2402:c840::/32": "37892", - "2804:0:1801::/37": "2716", - "2001:550:2208::/46": "174", - "2001:559:8271::/48": "7725", - "2405:3300::/32": "131143", - "2a00:4b00:22e::/40": "41935", - "2a00:7800::/32": "51929", - "2804:508::/32": "52999", - "2804:3160:8000::/33": "265010", - "2804:54dc::/32": "268674", - "2a05:6280:dead::/48": "201349", - "2001:1248:5f4b::/42": "11172", - "2409:8914:a800::/39": "56044", - "2804:44e8:301::/32": "267660", - "2a01:c50e:700::/36": "12479", - "2a02:ee80:419f::/42": "3573", - "2a0b:31c0:564::/29": "205726", - "2a0f:9400:8005::/48": "44992", - "2001:559:7f4::/48": "33662", - "2405:9800:b640::/36": "45430", - "2605:8000:de01::/42": "4261", - "2a03:2380:5::/48": "212522", - "2a0f:dfc0::/32": "60781", - "2001:df6:5e00::/47": "134909", - "2600:9000:21a4::/46": "16509", - "2a02:26f1::/29": "20940", - "2a0f:4200::/29": "207614", - "2402:800:5dee::/38": "7552", - "240e:473:8650::/39": "4134", - "2800:160:1bab::/43": "14259", - "2001:559:85e2::/48": "33659", - "2001:df0:13::/48": "38244", - "2620:10d::/44": "33503", - "2804:2b78:8000::/33": "52468", - "2804:6008::/32": "269141", - "2a0b:b87:ffd8::/48": "212701", - "240a:aff4::/32": "146734", - "2600:14c0:a::/47": "21342", - "2602:fff6:6::/48": "8100", - "2a01:368::/29": "20845", - "2a02:858:200::/29": "3329", - "2a03:db80:4424::/48": "5501", - "2a0b:7a00:2::/47": "60689", - "2405:203:89d::/39": "55836", - "240e:fd:9000::/36": "4134", - "2804:69e0::/32": "270297", - "2a00:1588:f800::/37": "43139", - "2001:678:780::/48": "201626", - "2401:af00::/32": "45345", - "240e:438:b040::/38": "4134", - "2605:db40::/32": "398326", - "2a07:a540::/29": "394545", - "2405:7f00:c1a0::/38": "133414", - "2806:230:6033::/48": "11888", - "2a05:1083:fcb0::/41": "209870", - "2a0e:cd01:1b00::/34": "23031", - "2001:978:4001::/38": "174", - "2001:1980:900::/34": "29838", - "2402:5300:4f00::/35": "45903", - "2404:3d00:4118::/42": "3573", - "2804:47a8::/32": "267069", - "2001:470:51::/45": "6939", - "2001:559:264::/47": "7922", - "2001:559:8497::/48": "7015", - "2001:df5:8280::/48": "138622", - "2001:ee0:4522::/40": "45899", - "2604:6600:9a::/42": "40676", - "2604:b900:6000::/36": "40900", - "2a02:b50:4012::/48": "29791", - "2408:8459:8810::/42": "17623", - "240e:473:7400::/41": "140485", - "2804:51b0::/32": "268470", - "2001:19c0::/32": "36666", - "2409:8c20:5000::/42": "56046", - "2600:1409:5001::/36": "20940", - "2001:b033::/23": "3462", - "2402:800:9a7f::/40": "7552", - "240a:af26::/32": "146528", - "2605:a40e:526::/32": "33363", - "2001:559:722::/48": "7922", - "2001:df0:8000::/48": "58762", - "2001:4de0:4200::/47": "12989", - "2604:2c00:ff80::/41": "11071", - "2001:559:7fc::/48": "7015", - "240a:af59::/32": "146579", - "2804:35a8::/32": "266299", - "2a02:26f7:d6c9::/46": "20940", - "2a0e:b107:5ac::/46": "203943", - "2408:840c:2d00::/40": "17621", - "240a:a25e::/32": "143256", - "240e:44d:2c00::/41": "140345", - "240e:979:9500::/40": "131325", - "2804:870:c::/32": "52871", - "2a02:26f7:b708::/48": "36183", - "2a04:4d40::/29": "16019", - "2a10:cc40:960::/45": "20473", - "240e:473:2d20::/41": "140486", - "2620:f4:8000::/48": "54652", - "2804:6fa4::/32": "270674", - "2a09:6f00::/29": "208861", - "2a0b:bd00::/29": "208861", - "2800:4f0:21::/48": "28006", - "2803:6c0::/32": "265639", - "2404:fbc0::/48": "63734", - "2600:1404:e801::/37": "20940", - "2605:f480::/31": "7979", - "2804:1a88::/32": "61864", - "2a01:d0:1d::/48": "50392", - "2a05:4140:326::/40": "212271", - "2a07:3b00::/29": "198024", - "2401:4900:4ac0::/44": "45609", - "2801:1a0::/42": "52467", - "2804:7884::/32": "271248", - "2a09:eac0::/32": "205718", - "2001:500:70::/48": "30133", - "2001:4860::/33": "15169", - "2401:4900:1a50::/44": "45609", - "2408:8957:b600::/40": "17622", - "2804:bd8:ec00::/35": "52838", - "2804:6664::/32": "269555", - "2a07:8f40::/29": "57831", - "2a0a:25c0::/29": "42977", - "2607:d400:3::/32": "22364", - "2620:ef:8000::/48": "35977", - "2804:14c:fc88::/46": "28573", - "2a02:2668::/34": "16345", - "2a02:f800::/29": "20485", - "2a00:e8c0::/32": "34797", - "2001:550:2200:100::/54": "174", - "2001:4908::/32": "7029", - "2401:52c0::/32": "134968", - "2403:c900::/32": "58600", - "240e:e3:8000::/33": "4812", - "2800:160:159e::/42": "14259", - "2804:4e90::/32": "268269", - "2a02:e981:1::/42": "19551", - "2804:eec:2000::/48": "25933", - "2a01:b740:a25::/48": "714", - "2a09:3740::/29": "208944", - "2001:1528::/32": "15685", - "240a:ae7b::/32": "146357", - "240e:3bc:d000::/36": "134772", - "2600:1415:13::/45": "20940", - "2a01:7d20:100::/47": "203645", - "2a01:6ea0::/32": "199880", - "2001:559:42a::/48": "33657", - "2001:559:8167::/48": "33667", - "2001:1248:9885::/46": "11172", - "2401:d800:b430::/41": "7552", - "240a:a60d::/32": "144199", - "2620:149:14a::/47": "714", - "2800:5d0:802::/32": "52302", - "2a02:26f7:f601::/46": "20940", - "2a02:27b8:4000::/48": "49278", - "2a04:4e40:b010::/41": "54113", - "2a0a:a0c0::/29": "50973", - "2001:ce1::/32": "137207", - "2408:8a22:9a00::/34": "139007", - "2a04:e640::/29": "34241", - "2001:df3:4400::/48": "133969", - "2401:d180::/45": "133865", - "2404:5540::/32": "134715", - "2407:3100::/32": "10118", - "240a:ab70::/32": "145578", - "240e:438:4240::/37": "4134", - "240e:438:8e40::/35": "4134", - "2406:3002:21::/43": "4657", - "2600:6c38:104::/47": "20115", - "2602:ffbd::/36": "14440", - "2803:d460::/32": "3549", - "2806:2f0:95e1::/38": "17072", - "2a03:a960:2::/42": "61317", - "2408:840c:af00::/40": "17621", - "2408:8459:10::/41": "17622", - "2600:1009:b130::/44": "22394", - "2600:370f:72a8::/47": "32261", - "2604:6840:1500::/36": "33438", - "2406:2000:efb4::/44": "10310", - "2620:149:bc::/41": "714", - "2401:d800:fe50::/42": "7552", - "2403:8c00::/32": "24371", - "2408:820c:80::/35": "17621", - "240a:a1f4::/32": "143150", - "240e:473:6750::/40": "4134", - "2a02:20c8:1241::/48": "44511", - "2a0e:b105:4b4::/46": "20473", - "2001:559:c202::/48": "33661", - "2001:67c:1bac::/48": "59876", - "2001:4da8:c020::/34": "28824", - "2604:640::/48": "393562", - "2605:a401:858e::/43": "33363", - "2a04:4e40:810::/41": "54113", - "2a09:d940::/29": "209202", - "2001:559:8279::/48": "7015", - "2001:67c:148::/48": "12991", - "2404:7a40::/43": "132556", - "2603:6080::/28": "11426", - "2a02:26f7:d2c8::/48": "36183", - "2a09:bd80::/29": "208861", - "2a0e:8400::/29": "63023", - "240a:a2f5::/32": "143407", - "2001:559:8538::/48": "7922", - "2605:900:f100::/36": "12110", - "2a02:26f7:da81::/46": "20940", - "2a07:a1c0::/29": "206423", - "2001:559:8062::/47": "7922", - "2001:4128::/32": "28788", - "2a02:26f7:f840::/48": "36183", - "2001:67c:2714::/48": "51655", - "240a:a7de::/32": "144664", - "240e:980:2900::/40": "4134", - "2a0d:3842:1250::/48": "57629", - "2c0f:fbf0::/48": "37394", - "2001:df5:c680::/48": "141529", - "2604:7280::/32": "31877", - "2620:98:400a::/48": "393949", - "2a01:8f9::/32": "3209", - "2a02:26f7:c748::/48": "36183", - "2a0a:6680:bee1::/48": "203500", - "2001:559:409::/48": "7922", - "2607:6003:2309::/48": "46385", - "2620:3c:c040::/48": "395063", - "2a0f:e200::/47": "60781", - "2a10:e800:2::/48": "50010", - "2001:67c:1428::/48": "49684", - "2602:fe23::/36": "7018", - "2604:af80:1c48::/34": "18859", - "2800:bf0:2a9::/43": "27947", - "2803:9800:a01e::/42": "11664", - "2001:559:828f::/48": "7922", - "240a:ac53::/32": "145805", - "2600:1408:9801::/37": "20940", - "2a02:4540:c000::/41": "197207", - "2804:6cc4::/32": "270490", - "2a02:ff0:2fe::/47": "12735", - "2403:a200:a101::/40": "17428", - "2408:870c:4010::/30": "17621", - "2408:8956:5100::/40": "17816", - "240a:a9e2::/32": "145180", - "2602:808:c000::/48": "19661", - "2602:fe05::/32": "54936", - "2603:c0f0::/39": "6142", - "2405:84c0:9000::/44": "139618", - "240e:980:2b00::/40": "58563", - "2606:ae00:8300::/40": "7287", - "2a02:6b8:5::/48": "208722", - "2604:6100::/32": "39970", - "2804:14d:2a84::/41": "28573", - "2804:55a0::/32": "267946", - "2001:4c8:8000::/33": "6461", - "240a:ad0c::/32": "145990", - "2a00:800:234::/37": "1257", - "2a02:26f7:ec::/48": "36183", - "240e:964:eb00::/40": "133776", - "2603:90fb::/44": "19115", - "2607:f098:2100::/35": "33363", - "2607:fcd0:fa80:6c01::/51": "8100", - "2804:387c::/32": "266481", - "2a03:2480:70::/48": "200107", - "2001:40a0::/32": "8607", - "2602:807:5000::/46": "55136", - "2606:5e40:2::/48": "58879", - "2607:f2b1:70::/47": "12257", - "2803:6900:561::/48": "52423", - "2804:76e8::/32": "271142", - "2a0e:b107:b1f::/48": "212580", - "2001:ac8:d::/42": "9009", - "2001:44b8:30ef::/43": "7545", - "240a:aae3::/32": "145437", - "2605:a404:8b::/42": "33363", - "2801:140:eeee::/48": "264798", - "2804:7038::/32": "270713", - "2a0c:9bc0::/29": "25415", - "2001:df0:1d80::/48": "135726", - "240e:848:50::/42": "4134", - "2001:550:4a01:1::/46": "174", - "2409:8c62:e10::/44": "139080", - "2604:f400:4::/48": "21879", - "2400:cb00:a734::/48": "13335", - "2408:8459:9650::/36": "17816", - "2600:1419:a001::/37": "20940", - "2a00:1390::/32": "34139", - "2001:559:339::/48": "33659", - "2001:559:804d::/48": "33662", - "240a:a23d::/32": "143223", - "240e:270::/28": "4134", - "240e:473:9720::/41": "140486", - "2800:160:1fcc::/43": "14259", - "2a04:444::/32": "12346", - "2a10:9d40::/29": "211727", - "2001:418:1456:a00::/56": "20940", - "2001:559:85e9::/48": "33662", - "2620:11a:a00a::/48": "36040", - "2803:4e00::/32": "20002", - "2a00:5f80::/32": "57353", - "2a0b:440::/36": "39921", - "2a10:3780::/29": "206238", - "2001:67c:2278::/48": "44574", - "2403:1940:30::/48": "137935", - "2405:8a00:a053::/45": "55824", - "2a02:7760::/32": "48166", - "2a0e:5540:100::/48": "208258", - "240e:f9::/33": "4134", - "2600:1408:8401::/36": "20940", - "2806:102e:10::/46": "8151", - "2a02:be8::/32": "42612", - "2a04:27c0::/29": "197706", - "2a0a:acc2::/45": "6233", - "2001:678:c84::/48": "48655", - "2001:fb0:1010::/44": "7470", - "2401:d800:2c10::/42": "7552", - "2405:1c0:7152::/40": "55303", - "240a:a72f::/32": "144489", - "2620:59:a000::/48": "7018", - "2402:800:7d40::/42": "7552", - "2405:1c0:6341::/46": "135062", - "2409:8924:8d00::/38": "56046", - "2a07:980::/29": "203349", - "2001:678:85c::/48": "59801", - "2803:4410::/32": "271849", - "2804:3a18::/32": "266070", - "2a00:1688::/32": "34056", - "2a0f:5381:1338::/32": "208135", - "2a0f:5701:3515::/48": "205593", - "2001:559:867d::/48": "33652", - "2001:678:a0::/48": "43558", - "240a:ab6b::/32": "145573", - "240a:ad48::/32": "146050", - "2606:6e00::/32": "7296", - "2620:c8::/48": "53708", - "2a0e:fd45:b50::/47": "207722", - "240a:a322::/32": "143452", - "2605:a404:53c::/41": "33363", - "2607:ffb0:7001::/32": "6327", - "2409:8e80:7000::/32": "9808", - "2620:19:e000::/44": "19432", - "2804:4240::/32": "267488", - "2a03:d000:4000::/36": "25159", - "2a0d:c980::/29": "204487", - "2406:b400:60::/48": "18209", - "240a:afd8::/32": "146706", - "2804:218:d4::/33": "27715", - "240a:a6a4::/32": "144350", - "240e:27f:1::/32": "4134", - "2602:fcfc:1::/48": "398868", - "2804:2a88::/48": "264077", - "2a04:b880::/48": "43578", - "2001:559:c31e::/48": "33287", - "2001:1248:70d8::/46": "11172", - "2001:1a11:120::/32": "8781", - "2600:1480:2000::/40": "33905", - "2001:1548:207::/29": "8280", - "240e:56:c800::/31": "4134", - "2604:e440::/32": "19523", - "2620:e1:c000::/48": "56647", - "240a:a920::/32": "144986", - "2604:d600:c3b::/45": "32098", - "2001:559:c1b5::/48": "33657", - "2001:18b8:116::/36": "29789", - "2405:a000:14::/44": "7693", - "2603:c010::/36": "31898", - "2a01:4f00::/34": "35047", - "2001:1900:2265::/40": "3356", - "2400:6280::/47": "132876", - "2409:804c:1900::/34": "9808", - "240e:1f:2::/36": "134774", - "2600:1415:3000::/48": "2914", - "2607:f110:13::/45": "21889", - "2001:1398:276::/48": "52305", - "2401:fd80:400::/46": "43519", - "2404:bf40:8142::/42": "139084", - "2a02:26f7:cd49::/46": "20940", - "2a0f:7ac0::/29": "60154", - "2804:6bb0::/32": "270417", - "2001:559:785::/48": "33659", - "2a02:26f7:f044::/48": "36183", - "2a02:ee80:404c::/43": "3573", - "2a09:e140::/29": "9119", - "2001:67c:2d90::/48": "41046", - "2001:559:408::/48": "33491", - "2001:44b8:3087::/48": "4739", - "2804:289c::/32": "263970", - "2a00:1d58:a200::/39": "47524", - "2a01:8840:ed::/48": "207266", - "2a0a:a5c0:c::/46": "22787", - "240e:3b0:6400::/35": "140312", - "2620:31:8000::/48": "11540", - "2804:214:8408::/43": "26615", - "2a02:5940::/32": "42160", - "240e:978:7100::/36": "4134", - "2602:fd41::/36": "53859", - "2804:4d3c:948::/38": "267420", - "2a05:c100::/29": "57809", - "2401:ff80:100f::/43": "133954", - "2801:c4:12::/48": "28477", - "2806:2f0:7221::/41": "17072", - "2a02:26f7:f94c::/48": "36183", - "2a04:1f00::/30": "8416", - "2a07:68c0:2::/30": "32338", - "2001:559:82d2::/48": "7725", - "2001:559:c1ef::/48": "33660", - "2a0c:8240::/47": "20853", - "2401:d800:5970::/40": "7552", - "2806:230:6018::/48": "265594", - "2a0e:fd45:da0::/47": "60557", - "2001:df2:c480::/48": "140001", - "240a:ad18::/32": "146002", - "2804:4f58::/33": "268321", - "2a00:fbc0::/32": "29512", - "2a0a:36c0::/29": "208457", - "2001:4d0:241c::/33": "297", - "2604:6e00:2000::/37": "13977", - "2806:2a0:500::/40": "28548", - "2404:7180:a021::/46": "23848", - "2620:6b:4000::/48": "62675", - "2001:3c8:d109::/48": "138547", - "2001:559:365::/48": "7922", - "2607:fdf0:5ec4::/44": "8008", - "2804:6288::/32": "269302", - "2001:559:29a::/45": "7922", - "2408:8956:8900::/40": "17816", - "2408:8956:cd40::/40": "17816", - "2a00:1560:6::/44": "29684", - "2001:4998:69::/46": "10310", - "2600:6c60::/32": "20115", - "2606:3380:212::/47": "53334", - "2804:7024::/32": "270708", - "2a10:8080::/29": "62270", - "2001:678:3fc::/48": "197422", - "2602:804:b000::/47": "397824", - "2800:160:1212::/44": "14259", - "240e:3b0:3e00::/33": "140308", - "2620:74:8::/48": "30060", - "2001:559:c291::/48": "33659", - "2001:67c:2564::/48": "1133", - "2001:df3:a700::/48": "58785", - "240e:3b9:4c00::/35": "136200", - "2001:49f0:d102::/48": "3257", - "2804:2c0:7f01::/32": "262834", - "2804:470::/32": "53108", - "2804:2010::/32": "264462", - "2804:4530::/32": "262873", - "2a0f:3b04::/32": "3356", - "2404:b980::/35": "62240", - "240a:af72::/32": "146604", - "2603:b011::/28": "11796", - "2804:a00::/47": "262838", - "2a00:1058::/32": "39905", - "2001:559:2c1::/48": "33287", - "2400:1a00:f000::/36": "17501", - "240e:108:99::/48": "4816", - "2604:d600:54f::/43": "32098", - "2a06:1301:4050::/48": "24940", - "240e:3b5:dc00::/34": "4134", - "2600:380:e900::/41": "7018", - "2610:b0:2030::/41": "3573", - "2a03:9d40:2600::/36": "41095", - "2a0f:28c0::/29": "398559", - "2400:8b00:530::/44": "45727", - "2405:f080:1600::/48": "136907", - "240e:473:1520::/41": "140486", - "2606:1a40:f013::/36": "398962", - "2620:132:7040::/40": "19537", - "2804:4af0::/32": "267273", - "2a0b:380::/29": "60111", - "240a:a298::/32": "143314", - "240e:948::/31": "137695", - "2a01:348:318::/36": "39326", - "2a0e:b107:148::/45": "57883", - "2607:8880::/32": "31798", - "2804:1e38:2001::/43": "264415", - "2405:6000::/32": "4770", - "2803:e160::/32": "269731", - "2a02:26f7:fac9::/46": "20940", - "2a06:1c4::/32": "60571", - "2a09:400::/35": "208861", - "2001:4f8:9::/48": "30132", - "2408:8459:c650::/36": "17816", - "2a02:6c20:81a::/32": "207167", - "2600:1012:b080::/44": "6167", - "2804:3f30::/32": "266645", - "2a02:26f7:e584::/48": "36183", - "2001:44b8:2035::/44": "7545", - "240a:ac06::/32": "145728", - "240a:ac3b::/32": "145781", - "2801:80:3870::/48": "270308", - "2a02:26f7:c14d::/46": "20940", - "2600:6c34:302::/48": "33588", - "2804:233c::/32": "264150", - "2a0e:b105:6e0::/45": "20473", - "2001:df2:6a80::/48": "55664", - "2001:44c8:4630::/44": "45430", - "2407:8f80:12ac::/48": "135636", - "2806:2f0:2481::/46": "22884", - "2a04:ecc0::/29": "207992", - "2a0c:b642:321::/40": "206499", - "2408:8409:c00::/40": "4808", - "2606:2700::/32": "54044", - "2800:370:84::/48": "28006", - "2a03:8800:1::/48": "200826", - "2a0b:b87:ffe9::/48": "202307", - "2a0e:8940::/29": "209528", - "2001:559:82b2::/48": "7725", - "2001:559:c20e::/48": "7922", - "2001:1b70:6202::/48": "158", - "240e:353:6400::/29": "4134", - "2a02:10::/42": "24785", - "2a03:db80:5464::/48": "200943", - "2a0b:3080:8020::/33": "206516", - "2001:67c:2fc4::/48": "197936", - "2404:e7::/38": "703", - "2a02:2e02::/39": "12479", - "240a:aa0e::/32": "145224", - "2600:140f:9c01::/38": "20940", - "2a02:26f7:69::/48": "20940", - "2803:59e0::/32": "270021", - "2001:559:4f3::/45": "7015", - "2409:8924:ab00::/37": "56046", - "240a:a7e8::/32": "144674", - "2600:8806:c000::/31": "22773", - "2605:2680::/32": "393301", - "2606:4280:8000::/36": "16696", - "2620:74:15::/48": "29403", - "2804:45d0::/32": "266951", - "2a01:8cc0::/32": "59456", - "2001:559:c08e::/48": "7016", - "2406:daa0:1040::/44": "16509", - "2600:6c38:e40::/39": "20115", - "2620:12c:f001::/45": "19833", - "2804:1cd0::/32": "61677", - "2804:3e60:150::/37": "266592", - "2a02:26f7:ba41::/46": "20940", - "2001:fd8:1e0::/48": "132199", - "2804:3b8:1fe::/32": "52965", - "2a02:26f7:be09::/46": "20940", - "2a03:2880:f240::/46": "32934", - "2a0b:1d40::/32": "205676", - "2001:4200:7001::/36": "2018", - "2806:288::/35": "28469", - "2a02:7b02::/36": "48328", - "2001:218:3005::/32": "2914", - "2001:559:8333::/48": "33287", - "2604:d600:1333::/37": "32098", - "2804:13b4::/32": "262288", - "2804:4bd4::/32": "267331", - "2a03:9960::/32": "208719", - "2800:160:1ab7::/44": "14259", - "2a0b:21c0:1000::/34": "21859", - "240a:a587::/32": "144065", - "2801:19:e000::/48": "61499", - "2804:4f58:8100::/33": "268321", - "2a01:5b0:2::/48": "48519", - "2a04:de40:80::/41": "201971", - "2a0d:1a40:7900::/47": "207960", - "240e:874:200::/41": "140638", - "2804:23ac::/32": "264177", - "2804:7fd8::/32": "271713", - "2a01:90a0::/32": "62105", - "2a02:46e0:facf::/37": "60049", - "2c0f:ed80::/32": "328480", - "2401:ff80:188f::/43": "133954", - "240e:878:1c0::/42": "4134", - "2804:ea0:4002::/32": "52968", - "2001:67c:21cc::/48": "25354", - "240a:a117::/32": "142929", - "2606:ca00::/37": "14537", - "2620:114:2000::/40": "5707", - "2804:4030::/32": "265943", - "2a00:13c0:202::/32": "29076", - "2a02:8070::/31": "3209", - "2001:e68::/46": "4788", - "2600:1016:b030::/41": "6167", - "2600:1407:1b::/48": "35994", - "2804:60c8::/32": "269190", - "2a02:158:ffff::/48": "8481", - "2a02:26f7:df08::/48": "36183", - "2a02:2e02:2490::/41": "12479", - "2001:559:379::/48": "33652", - "2001:4de0:2108::/38": "33438", - "2404:f780:4::/47": "136557", - "2408:8459:dc30::/41": "17622", - "2a02:26f0:d801::/39": "20940", - "2804:3e70:1235::/32": "266596", - "2402:800:9355::/42": "7552", - "2402:f500::/32": "63961", - "2600:1419:a01::/37": "20940", - "2a00:adc0:1b00::/32": "41655", - "2a02:ca8::/32": "44981", - "2a03:90c0:320::/43": "199524", - "2a0b:7140::/48": "39378", - "2403:e200:805::/32": "45543", - "2a0b:86c3::/29": "202120", - "2001:4d78:2200::/37": "15830", - "240a:a123::/32": "142941", - "2804:7acc::/32": "13357", - "2600:2c00:7000::/32": "7349", - "2408:8406:6c00::/39": "4808", - "2806:2f0:8001::/46": "17072", - "2a02:b48::/33": "39572", - "2a0f:6fc5:a4ae::/48": "43694", - "2409:8904:5fb0::/34": "24547", - "2804:1c4c::/39": "61648", - "2001:df3:b380::/48": "38238", - "2405:1c0:6361::/45": "135062", - "2409:8c21::/29": "9808", - "2801:1e6::/44": "27951", - "2a00:7ee0:8::/46": "16347", - "2a02:26f7:bfc0::/48": "36183", - "2600:1406:f800::/48": "35994", - "2604:e780::/32": "15154", - "2607:f490::/32": "7029", - "2804:7338::/32": "262842", - "2a00:11c0:aa1::/48": "42388", - "2408:8957:2600::/40": "17622", - "2804:2674:2::/44": "264344", - "2a00:7180:8004::/46": "207806", - "2a02:6f80::/29": "8851", - "2a03:5640:f200::/42": "16509", - "2001:4408:c001::/46": "4758", - "2404:4e00:c000::/48": "32787", - "2001:678:154::/48": "203017", - "2402:6800:760::/48": "55429", - "2404:3800::/47": "45459", - "2804:4330::/32": "267554", - "2806:230:6008::/48": "265594", - "2001:4898::/32": "3598", - "2603:c002:9b10::/37": "31898", - "2a03:a300:3000::/48": "35104", - "2a00:15a8::/32": "29140", - "2a04:4e40:8400::/48": "54113", - "2a0e:b105:514::/46": "20473", - "2001:4b20:100:598::/64": "65505", - "2803:a0a0:903::/48": "269799", - "2806:230:4029::/48": "11888", - "2405:9800:c600::/48": "45458", - "2804:7d28::/32": "271543", - "2a00:46e0::/32": "50265", - "2600:1014:b040::/42": "6167", - "2804:5930:9000::/33": "268174", - "2a04:8400::/32": "207176", - "2409:8c85:aa11::/46": "9808", - "2607:1900::/32": "14140", - "2400:cb00:a580::/47": "13335", - "2408:8140:2000::/48": "4808", - "2604:9540::/32": "33125", - "2001:12f8:a::/47": "11284", - "240a:a44a::/32": "143748", - "240a:afee::/32": "146728", - "2a02:26f7:e3cc::/48": "36183", - "2a05:a840::/29": "29424", - "2001:4878:2027::/48": "12222", - "2400:adc0:4010::/47": "9541", - "2404:8d02:2041::/36": "9587", - "240a:a851::/32": "144779", - "2001:559:846d::/46": "33287", - "2400:8500:3fff::/48": "55907", - "240e:974:ea00::/30": "4134", - "2a0e:8840::/29": "48627", - "2001:559:c3d9::/48": "7922", - "2620:141:4fe::/48": "6075", - "2a00:fa40:5000::/32": "45031", - "2a02:26f7:be08::/48": "36183", - "2a02:cb46::/31": "20546", - "2401:d800:feb0::/41": "7552", - "240a:abd6::/32": "145680", - "2a00:1788:100::/48": "211858", - "2c0f:fe40::/32": "30844", - "2408:8459:e010::/42": "17623", - "2804:1a54:2040::/32": "61854", - "2a09:e080::/29": "29686", - "2001:559:7b1::/48": "33651", - "240a:a01f::/32": "142681", - "240e:13::/37": "4134", - "240e:44d:3300::/41": "140345", - "2604:d600:1246::/43": "32098", - "2804:1b1:9000::/33": "18881", - "2804:1b74::/32": "61729", - "2001:678:998::/48": "200288", - "2001:1a68:16::/44": "15694", - "2400:c600:3410::/41": "24389", - "2404:bc00::/32": "18037", - "2607:7c80::/41": "64260", - "2a0c:c647:fd05::/38": "50489", - "2001:4978:f::/48": "26943", - "2404:ba80::/32": "38517", - "240e:6:d800::/44": "139721", - "2600:1405:5c01::/34": "20940", - "2a0f:9400:8019::/48": "213262", - "2001:559:8658::/48": "7015", - "2001:1248:982a::/48": "11172", - "2400:3b00:f::/48": "18229", - "2401:d800:d480::/42": "7552", - "2a03:4d41:900::/40": "199610", - "2001:559:82da::/48": "33662", - "240a:a863::/32": "144797", - "2600:140f:c801::/38": "20940", - "2804:26c::/32": "262813", - "2804:70e4::/32": "270754", - "2a0a:4500::/29": "199163", - "2001:500:4e::/47": "207266", - "2405:be40::/48": "131378", - "2602:feb4:280::/44": "25961", - "2605:bb00:4000::/34": "18672", - "2001:559:8353::/48": "33659", - "240e:974:e00::/48": "38283", - "2803:2a00:1000::/37": "27895", - "2806:250:b::/48": "28545", - "2001:400:a000:e::/59": "293", - "2001:c38:9126::/48": "38228", - "2404:4600:a::/36": "10158", - "2409:8c1e:a930::/33": "9808", - "2401:1d40:2001::/40": "59019", - "2408:8459:f130::/41": "17622", - "2a01:b8::/32": "8978", - "2a07:ba80::/29": "40970", - "2001:4d00::/32": "8226", - "2409:250::/28": "55392", - "240a:a14d::/32": "142983", - "2610:a1:2000::/44": "19905", - "2a01:c50f:dec0::/34": "12479", - "2a03:2c60::/32": "49627", - "240a:a62a::/32": "144228", - "240a:ac34::/32": "145774", - "2606:4700:ff02::/48": "395747", - "240a:a159::/32": "142995", - "240a:abfc::/32": "145718", - "2a02:53a0::/32": "35280", - "2407:5200:206::/39": "55915", - "2604:af80:848::/40": "18859", - "2806:230:302e::/48": "265594", - "2a09:3d00::/29": "208861", - "2001:559:6f::/48": "33659", - "2403:8100:1003::/40": "24023", - "2405:1c0:6673::/40": "55303", - "2a03:7460::/32": "24971", - "2a04:1a80::/29": "207606", - "2001:559:77a::/48": "7725", - "2604:cc00:601::/48": "53292", - "2a06:a080::/32": "207220", - "2a0b:d7c0::/29": "47237", - "2c0f:f348:1401::/38": "24757", - "2a02:26f7:d6c4::/48": "36183", - "2001:388:10ad::/41": "7575", - "2001:c20:c835::/48": "9255", - "240e:967:cc00::/34": "4134", - "2801:80:1bf0::/48": "52608", - "2804:164c:fb::/36": "263280", - "2804:31fc::/32": "53022", - "2804:5700::/32": "268037", - "2a10:2f01:2d0::/47": "212793", - "2001:918:ff5d::/48": "15398", - "2605:a401:8595::/41": "33363", - "2a02:2290:2::/48": "206610", - "2a03:c980:5fb7::/48": "210079", - "2001:4b98:abcc::/33": "29169", - "2803:c9e0::/32": "270012", - "2803:6ce0:1d00::/33": "269909", - "2a05:9bc0::/44": "51559", - "2a0a:cd00:2::/48": "61111", - "240e:45e::/26": "4134", - "2804:591c:30::/32": "28370", - "2a04:4c0::/29": "58321", - "2001:559:25::/48": "7922", - "2404:f4c0:fa01::/48": "142280", - "2804:23b0:8001::/34": "262645", - "2804:82a0::/32": "272530", - "2a00:c00:f063::/48": "15769", - "2600:6c2e:e0f::/40": "20115", - "2a0c:cd00::/32": "41913", - "2001:559:805f::/48": "7016", - "2001:4b30::/29": "9036", - "2404:f4c0:f601::/48": "139328", - "240a:a6ec::/32": "144422", - "2804:40d0::/32": "265983", - "2a0d:26c0::/32": "209041", - "2001:559:c3cb::/45": "7015", - "2404:ffc0:18::/32": "62707", - "2804:3a48::/32": "266081", - "2401:8800:4::/43": "17439", - "240a:aa67::/32": "145313", - "2408:8956:8e00::/40": "17622", - "2a04:a180::/32": "199799", - "2604:d600:64d::/43": "32098", - "2804:2594::/32": "264289", - "2a06:e881:6200::/48": "60404", - "2001:678:e40::/48": "205593", - "2001:df0:9200::/48": "133384", - "2402:8100:3929::/43": "55644", - "2600:6c04::/40": "20115", - "2620:52:11::/40": "22753", - "2a02:10:100::/48": "5418", - "2a03:afc0:1::/45": "52000", - "2a0f:3786::/40": "64475", - "2001:559:85a9::/46": "33662", - "2001:678:eb8::/48": "212349", - "2604:d600:1073::/40": "32098", - "2804:14c:6500::/42": "28573", - "2401:ff80:1905::/44": "133954", - "2408:8957:8900::/40": "17816", - "2804:33a8::/32": "265410", - "2402:800:9c1d::/42": "7552", - "2800:ba0::/48": "263812", - "2804:5e48:ff40::/46": "269023", - "2a00:1188:d::/46": "8455", - "2a02:ee80:41cc::/43": "3573", - "2001:559:7b5::/46": "33659", - "2001:590:1007::/34": "3257", - "2400:9c80::/48": "58396", - "2402:800:3b63::/43": "7552", - "2602:fd2a::/40": "17326", - "2603:c0e8:1210::/39": "1218", - "2a10:f840::/29": "211626", - "2001:559:86cb::/48": "13367", - "2001:67c:2448::/48": "43065", - "2404:4a00:7a00::/64": "55423", - "2600:6c38:238::/41": "20115", - "2606:6c00:120::/44": "35994", - "2607:f178:10::/48": "30217", - "2a02:26f7:ed01::/46": "20940", - "2600:1406:8000::/48": "35994", - "2605:3380:4403::/48": "12025", - "2607:fcd0:fa80:1401::/52": "8100", - "2804:e0c:300::/48": "28176", - "2a05:d050:2040::/44": "16509", - "2401:d800:2d00::/42": "7552", - "240a:afbd::/32": "146679", - "2a02:26f7:c889::/46": "20940", - "2a02:26f7:d250::/48": "36183", - "240a:a84a::/32": "144772", - "240a:ad11::/32": "145995", - "2803:9800:b039::/37": "11664", - "2001:550:5700:100::/36": "174", - "2001:559:c324::/48": "33652", - "2001:678:78::/48": "42", - "2407:1c00::/32": "26496", - "2806:2f0:4400::/35": "17072", - "2a0d:ac00:1006::/47": "205202", - "2a0e:b107:11d8::/45": "58015", - "2408:8256:3795::/48": "17816", - "2602:802:b000::/44": "397795", - "2804:cb0:d306::/47": "52742", - "2804:3170::/32": "265015", - "2806:105e:c::/48": "8151", - "2a02:26f7:c481::/46": "20940", - "2a02:26f7:f804::/48": "36183", - "2001:559:8662::/48": "33659", - "2804:67ec::/32": "269659", - "2a06:87c0::/29": "12655", - "2a0a:aa80::/32": "57198", - "2620:9:a003::/48": "395515", - "2a0e:b107:1d9::/48": "139328", - "2408:840d:9e00::/42": "17621", - "240a:a0d3::/32": "142861", - "2620:74:76::/48": "30060", - "2804:14d:188b::/41": "28573", - "2400:adc2:300::/37": "9541", - "2408:8456:2000::/42": "17622", - "2602:800:9007::/48": "26710", - "2a03:2c0:e::/48": "31029", - "240a:aa7d::/32": "145335", - "2605:a401:82d2::/44": "33363", - "2806:3c7::/32": "265530", - "2a02:e980:18d::/43": "19551", - "2a0b:3c40:1::/48": "208258", - "2001:559:c33e::/48": "7725", - "2001:559:558::/48": "33287", - "2600:6c38:26::/44": "20115", - "2a09:ab80::/29": "60733", - "2001:4888:a601::/44": "22394", - "2804:4a20::/32": "267220", - "2804:66f4::/32": "269594", - "2001:559:8371::/45": "33287", - "2408:84e2::/39": "17621", - "2806:230:602f::/48": "11888", - "2402:800:372b::/41": "7552", - "240e:698:4c00::/26": "4134", - "2606:2400:1003::/32": "36295", - "2a02:26f7:cec4::/48": "36183", - "2600:1404:c801::/37": "20940", - "2804:1260::/32": "263473", - "2804:2e0c:2001::/32": "263019", - "2804:5898::/32": "268138", - "2804:6fe8::/32": "270692", - "2a04:e380::/29": "31275", - "2c0e:2700::/28": "37457", - "2001:559:81bc::/48": "33491", - "2408:8957:ed40::/40": "17816", - "2605:37c0::/39": "396469", - "2a01:807::/32": "12430", - "2001:559:83b6::/48": "7922", - "2408:8459:1d50::/38": "17816", - "240a:a797::/32": "144593", - "240a:a9e5::/32": "145183", - "2602:feda:df0::/47": "147071", - "2804:448:1d8::/32": "262427", - "2804:4580::/37": "266931", - "2620:123:2007::/44": "30103", - "2a02:ac80:1001::/34": "25145", - "2603:4:1604::/48": "44273", - "2a02:26f7:ce84::/48": "36183", - "2001:67c:12d8::/48": "1101", - "240a:a9cf::/32": "145161", - "2803:a360::/32": "269783", - "2a00:12d8::/29": "12586", - "2a02:26f0:6b01::/37": "20940", - "2001:67c:744::/48": "59632", - "2409:8087::/39": "56048", - "2600:2000:3010::/46": "15135", - "2600:6c7f:ffff::/48": "20115", - "2606:4300:1::/48": "3595", - "2607:f5a0:8::/38": "17048", - "2a00:77e0::/32": "60868", - "2a02:2ad0:250::/37": "702", - "240e:e1:8e00::/35": "4811", - "2605:3000::/32": "12033", - "2a00:4902::/32": "12390", - "2c0f:eab8::/32": "328564", - "2001:918:ffb7::/48": "8300", - "2400:cb00:a2b0::/47": "13335", - "2605:aa80::/32": "27176", - "2804:487c:211::/44": "267124", - "2a04:5d80::/29": "61310", - "2401:d800:b10::/42": "7552", - "2407:3000:6e::/32": "17707", - "240e:838::/44": "140647", - "2804:5690::/32": "268009", - "2001:559:c194::/48": "33287", - "2001:43e0::/32": "37074", - "2404:4800::/46": "9892", - "2408:80fa:a000::/33": "17816", - "240a:ab7a::/32": "145588", - "2804:14d:4cef::/43": "28573", - "2001:678:90::/48": "57801", - "240e:3b9::/35": "134773", - "2a06:4180::/48": "48293", - "2a07:af00::/29": "202625", - "2405:d000:8000::/33": "18024", - "2620:171:2a::/45": "42", - "2406:8600:ef69::/48": "23879", - "2408:8459:be10::/42": "17623", - "2804:3bfc:100::/40": "52607", - "2a00:b340:32::/48": "196745", - "2406:da00:ff00::/48": "14618", - "240e:473:5b20::/41": "140486", - "2600:1405:801::/35": "20940", - "2604:dc00:100a::/33": "19752", - "2804:56b8::/32": "52633", - "2a02:26f7:bc44::/48": "36183", - "2001:ce0:2::/48": "4528", - "2a03:5080::/32": "43341", - "2401:d800:f380::/37": "7552", - "2405:e5c0::/32": "58971", - "240a:adcb::/32": "146181", - "2620:171:da::/48": "42", - "2a01:4a0:1f::/42": "201011", - "2a02:2ab8:121::/44": "702", - "2a09:bac0:40::/48": "13335", - "2001:4998:70::/39": "10310", - "2408:8456:7040::/39": "17816", - "240a:ad04::/32": "145982", - "2a0d:b280::/29": "41720", - "2001:559:7b9::/46": "7922", - "240a:a606::/32": "144192", - "2400:6280:104::/48": "132280", - "2804:23e8::/32": "262855", - "2a01:7b8::/32": "34920", - "2a02:5c80::/32": "5602", - "2a07:b40::/29": "202629", - "2001:559:844d::/46": "7922", - "240e:fe:c000::/35": "4134", - "2620:11f:4000::/40": "16478", - "2804:431:8000::/35": "27699", - "2a0e:38c0::/32": "207747", - "2001:678:ec4::/48": "212378", - "2001:1248:88b2::/39": "11172", - "240e:473:4150::/40": "4134", - "2620:0:28b0::/48": "2936", - "2800:d302:13::/45": "11830", - "2a02:26f7:eac0::/48": "36183", - "2a0c:cbc0::/29": "209620", - "2001:559:741::/48": "7016", - "2001:67c:105c::/48": "58226", - "2408:8957:9a00::/40": "17622", - "2804:52b8:c381::/34": "268537", - "2a0f:9240:2001::/32": "49434", - "2001:43f8:80::/48": "37513", - "2804:3984::/32": "262902", - "2a00:7f20::/32": "60791", - "2a01:768::/32": "25563", - "2a03:5500::/31": "8315", - "2a05:e740:249::/48": "29108", - "2001:3c8:130b::/37": "4621", - "2408:84f3:b610::/42": "134543", - "2600:6c38:b0e::/43": "20115", - "2408:8720::/30": "4837", - "2a0e:1c80:4::/48": "47869", - "2001:67c:27f0::/48": "198650", - "240a:a167::/32": "143009", - "2806:21b:2::/32": "19332", - "2a02:26f7:c141::/46": "20940", - "2c0f:f2e8::/48": "37182", - "2001:67c:26f8::/48": "41709", - "2001:4200:7801::/32": "2018", - "2409:8904:7f40::/32": "24547", - "240e:44d:7100::/41": "140345", - "2605:f080::/40": "29869", - "2610:100:2510::/33": "8047", - "2a06:e881:6400::/44": "209364", - "2804:5f4::/32": "262983", - "2001:67c:648::/48": "56510", - "2001:4878:a136::/48": "12222", - "2804:3124::/32": "264996", - "2a0e:b107:340::/44": "209710", - "2001:e38::/32": "17934", - "2001:559:c379::/46": "33657", - "240a:ad39::/32": "146035", - "2620:74:1e::/47": "16838", - "2a02:26f7:bf::/48": "20940", - "2001:4930:4000::/32": "19530", - "2408:8957:300::/40": "17816", - "2409:8904:4060::/39": "24547", - "2804:738c::/32": "270922", - "2a03:1120::/32": "19419", - "2001:559:475::/48": "33659", - "2001:559:505::/48": "33659", - "2001:bf8::/32": "378", - "2406:17c0::/32": "207083", - "2408:8957:1000::/40": "17622", - "2a01:590::/32": "8492", - "2a0a:f200::/29": "208861", - "2610:e0::/34": "2572", - "2001:57a:504::/48": "22773", - "2001:4298:89::/32": "30990", - "2405:6600::/37": "45845", - "2407:2800::/32": "38227", - "240a:aa2f::/32": "145257", - "240a:abf5::/32": "145711", - "2600:6c3a:e01::/31": "20115", - "2803:6604:6600::/36": "28075", - "240a:a985::/32": "145087", - "2800:160:12d9::/45": "14259", - "2804:b54::/32": "52765", - "2a00:7600::/32": "21412", - "2a02:600::/29": "31263", - "2001:df0:c2::/48": "9749", - "2804:9f4::/32": "262530", - "2a01:540:9000::/34": "12389", - "2a06:d647::/32": "35048", - "2a0d:d740::/48": "210036", - "2402:800:3663::/43": "7552", - "240e:933::/32": "134420", - "2604:4a00:200::/39": "393885", - "2606:4700:3131::/48": "395747", - "2800:840::/32": "19422", - "2804:318c:2020::/32": "265023", - "2806:342:f600::/36": "265591", - "2405:9800:100::/44": "131445", - "2604:d600:1214::/47": "32098", - "2620:11a:a01c::/48": "36040", - "2803:b5a0::/33": "267788", - "2a00:dd00:3::/45": "56484", - "2a02:2f0c:8002::4/62": "8708", - "2a0e:9680::/29": "57112", - "240e:d:8800::/35": "58563", - "2801:80:38d0::/46": "270420", - "2806:2f0:8181::/42": "17072", - "2a0c:fac0::/48": "200076", - "2001:559:8364::/48": "7015", - "2001:b000:594::/48": "131660", - "2406:3001:20:d::/46": "4657", - "2620:fe::/48": "19281", - "2600:1409:9801::/37": "20940", - "2604:55c0::/48": "4138", - "2604:6400:8100::/33": "29974", - "2620:7:6000::/47": "62744", - "2a02:2a60::/32": "702", - "2a0f:9884::/30": "208861", - "2001:67c:2f74::/48": "198992", - "2402:800:3863::/43": "7552", - "2001:559:c06b::/48": "7016", - "2001:67c:13cc::/48": "199330", - "2402:800:56c5::/43": "7552", - "2a06:340::/29": "34942", - "2a06:e600::/29": "43826", - "2c0f:fbb8::/32": "37454", - "2606:2800:4a94::/46": "15133", - "2804:3210::/35": "262779", - "2405:f600::/44": "45117", - "2409:8914:a600::/39": "56044", - "2a00:1b48::/32": "197695", - "2a00:1d58:f801::/46": "47524", - "2401:401::/32": "132873", - "2602:ffb0:ffd::/48": "32780", - "2a0f:9400:7310::/47": "41732", - "240a:aabf::/32": "145401", - "240e:978:3000::/40": "137702", - "2605:a404:c7::/42": "33363", - "2620:139:6008::/48": "22600", - "2801:1b:8801::/48": "18678", - "2804:5658::/32": "267992", - "2a0e:1cc1::/47": "207960", - "2600:6c7f:93c0::/42": "19115", - "2804:2c74::/32": "265220", - "2804:5f58::/32": "269093", - "2804:7570::/32": "271046", - "2400:181:0:8::/48": "4766", - "2408:8256:399c::/48": "17816", - "240a:a9f0::/32": "145194", - "2800:160:2007::/44": "14259", - "2001:559:c20c::/48": "13367", - "2408:8459:6450::/38": "17816", - "2607:f340::/32": "46231", - "2610:1e0:1f01::/32": "3714", - "2a00:6800::/32": "42730", - "2001:559:57b::/45": "7015", - "2001:67c:7ac::/48": "13030", - "2409:40f2:2000::/32": "55836", - "2602:fe1a::/36": "55016", - "2804:cb0:d308::/34": "52742", - "2804:528c::/32": "268525", - "2400:f000::/32": "17888", - "2804:163c:201::/39": "263277", - "2a03:5420::/32": "16353", - "2a06:a400::/30": "203596", - "2a0f:9400:771d::/48": "53356", - "2001:67c:1720::/48": "60918", - "2804:954:88::/38": "263073", - "2804:5fac::/32": "269116", - "2a02:26f7:ca49::/42": "20940", - "2a09:0:1::/44": "3214", - "2a0c:7bc0::/29": "51092", - "2409:8914:6e00::/39": "56044", - "2a0b:e480::/29": "206331", - "2a0a:ce04::/47": "9009", - "2001:67c:10d4::/48": "58057", - "2405:f280::/47": "131464", - "2409:801f:3009::/45": "9808", - "2606:3c40::/32": "399493", - "2606:7f00:400::/40": "32307", - "2620:10a:8055::/46": "394354", - "2800:160:1729::/45": "14259", - "2403:df00::/46": "9292", - "2a03:f80:65::/48": "9009", - "2a05:7900::/29": "48348", - "2001:67c:2054::/48": "34953", - "2620:141:47e::/48": "6075", - "2804:ea8::/32": "262966", - "2804:6ff4::/32": "270697", - "2a03:220:f001::/36": "61400", - "2a07:3503:1033::/48": "208492", - "2403:6a40:1::/48": "135905", - "2804:6ee0::/32": "270624", - "2a09:dc0::/32": "47485", - "2401:ff80:100b::/45": "133954", - "2804:6cdc::/32": "270497", - "2a0b:7fc0::/29": "43668", - "2a0b:db80::/29": "48004", - "2001:310:3004::/32": "4694", - "2001:dc7:2dff::/48": "24406", - "2001:df3:4a80::/48": "135902", - "240a:af8b::/32": "146629", - "2001:4e0:1051::/32": "2381", - "2a02:26f7:98::/48": "36183", - "2001:500:20a::/45": "394353", - "2600:1406:43::/48": "35994", - "2a10:2f00:120::/48": "205977", - "2001:948:80::/32": "2603", - "240a:a228::/32": "143202", - "240e:67f:1800::/32": "4134", - "2001:cb0:2204::/46": "4637", - "2405:58c0:3c00::/40": "133101", - "2600:100e:b150::/40": "6167", - "2605:f440:6969::/48": "211562", - "2a01:c50f:b540::/38": "12479", - "2a02:26f7:c2::/48": "36183", - "2001:4c8:1069::/40": "15290", - "240a:a947::/32": "145025", - "240e:3b3:1200::/39": "4134", - "2605:64c0:2::/32": "63294", - "2620:106:e006::/47": "40428", - "2806:2f0:84c1::/43": "17072", - "2a01:9ce0::/32": "28682", - "2a02:7540::/32": "47359", - "2a04:bc40:1dc1::/45": "35277", - "2a0e:6380::/29": "207902", - "240a:a248::/32": "143234", - "2800:98:1100::/43": "14754", - "2804:71a8::/32": "270803", - "2a06:1c5::/44": "207455", - "2a02:26f7:b7c4::/48": "36183", - "2001:559:8031::/48": "33491", - "2001:c20:c811::/48": "9255", - "2001:df0:8500::/48": "59128", - "2400:3680::/32": "45582", - "2402:800:552b::/41": "7552", - "2804:7d38::/32": "271547", - "2a01:410:3::/32": "30844", - "2a04:1b00:2::/47": "61007", - "2001:44b8:2050::/48": "7545", - "2804:1e38:1001::/34": "264415", - "2804:4d50::/32": "268189", - "2001:559:d9::/48": "13367", - "2602:feb4:1a0::/44": "25961", - "2001:df0:ee80::/48": "139298", - "2001:4490:48d8::/46": "9829", - "2401:2540::/32": "55899", - "2600:c04:1023::/48": "12180", - "2a00:1288:ef68::/47": "10310", - "2001:559:171::/48": "33657", - "2402:800:9bee::/43": "7552", - "240e:37a:aa00::/39": "140330", - "2804:124c:800::/32": "263468", - "2409:8050:2800::/47": "56047", - "2606:2080::/32": "11672", - "2804:2f4c::/32": "264882", - "2001:559:c0a8::/48": "33651", - "2001:44b8:4053::/48": "4739", - "2405:1c0:7191::/45": "135062", - "2804:6038::/32": "269153", - "2a02:b48:8205::/36": "39572", - "2a0b:a880::/29": "42316", - "2001:14d0::/29": "15516", - "2408:840c:d200::/40": "17621", - "2001:559:8045::/48": "33657", - "2001:13b2::/29": "3356", - "240e:108:83::/48": "4811", - "240e:30c:5600::/31": "4134", - "240e:3bf:3e00::/33": "140308", - "2402:1880::/30": "20546", - "2408:8456:1840::/40": "17816", - "2610:b0:40fe::/39": "21433", - "2a01:cd20::/32": "47377", - "2a02:2e02:89c0::/43": "12479", - "2001:559:80e5::/48": "7725", - "2001:67c:248c::/48": "47638", - "2620:13b:3010::/47": "13607", - "2804:7cc4::/32": "271517", - "2806:230:2013::/48": "11888", - "2001:559:830c::/48": "33657", - "2001:559:c1fe::/48": "33667", - "2606:4700:4000::/43": "13335", - "2606:9e80::/32": "32212", - "2803:4a60::/32": "52468", - "2a02:cb45:101::/48": "20546", - "2a07:a905:ffe4::/48": "204543", - "2a0b:adc0::/29": "205243", - "2001:538::/32": "7381", - "2408:8456:ea40::/39": "17816", - "240a:adf3::/32": "146221", - "240e:3bb:8200::/35": "140316", - "2604:25c0::/32": "33392", - "2a0e:e080::/32": "42487", - "2001:559:c0d6::/48": "7016", - "2409:8b04::/31": "24547", - "2600:1012:a100::/43": "6167", - "2a02:cdc6:3075::/39": "59715", - "2a03:e300::/32": "197890", - "2001:559:17f::/48": "7922", - "2803:9e20::/32": "265877", - "2a0c:f47::/32": "49436", - "240a:a455::/32": "143759", - "2600:4407:c034::/47": "55164", - "2a00:1358:1001::/32": "6866", - "2a02:1390:b000::/40": "21351", - "2001:559:c30d::/48": "33652", - "2402:3a80:c056::/48": "38266", - "240a:acf8::/32": "145970", - "2620:11b:e000::/43": "3356", - "2800:300:64e0::/43": "27986", - "2a0b:89c1:89c3::/33": "3214", - "2a0e:aa01:aa10::/44": "210311", - "2001:559:8482::/48": "7015", - "2001:1248:983d::/46": "11172", - "2600:2000:4130::/44": "33517", - "2a0f:bd00::/29": "202591", - "2401:1740:1000::/48": "136600", - "2607:f070::/32": "13855", - "2804:269c:fe50::/48": "47065", - "2a01:8840:1be::/41": "12041", - "2001:559:81c9::/48": "33662", - "240e:67a:8c00::/33": "4134", - "2a01:95a0::/32": "199711", - "2a02:4545:e0::/46": "197207", - "2001:559:73a::/48": "33491", - "2402:3fc0::/32": "134090", - "2405:1c0:6883::/38": "55303", - "240a:a4c0::/32": "143866", - "2800:200:bd30::/41": "12252", - "2804:15f0:8000::/33": "263419", - "2a06:cd40:1::/46": "43927", - "2001:df3:8600::/48": "131418", - "2408:8459:7230::/41": "17622", - "2804:32b0:3040::/33": "265093", - "2804:3e24::/32": "266576", - "2a02:26f7:bc80::/48": "36183", - "2a03:1b80::/44": "18705", - "2001:500:856e::/48": "396574", - "2001:559:8715::/48": "33659", - "2404:4a00:3::/64": "55423", - "2409:8020:3072::/47": "56046", - "2409:8904:5c40::/42": "24547", - "2804:2b78::/33": "28124", - "2001:559:593::/48": "33659", - "2001:579:417f::/35": "22773", - "2401:d800:b0c0::/42": "7552", - "2409:8069:2b08::/40": "9808", - "2803:4180::/32": "263238", - "2804:76a4::/32": "271125", - "2a01:110:e051::/35": "6584", - "2001:7f8:ec::/48": "208425", - "2801:1a:a800::/48": "19429", - "2a02:1d8::/32": "20953", - "2a10:fa81:1::/48": "48878", - "2001:44b8:3085::/48": "4739", - "2408:8256:3d60::/44": "17623", - "240a:a3e5::/32": "143647", - "2a09:4c0:57e1::/32": "58057", - "2404:6780::/32": "59188", - "2409:8027:2a07::/39": "9808", - "240e:874:80::/39": "4134", - "2804:4144::/32": "267424", - "2001:16a2:d000::/37": "39386", - "2a0f:cc87:9000::/33": "208861", - "2408:8956:6000::/40": "17622", - "2606:2800:4a1c::/46": "15133", - "2a00:1a10::/29": "41230", - "2a02:7900:ff02::/40": "16154", - "2405:25c0:a100::/40": "131951", - "2407:ac00::/32": "45470", - "2605:bb00:1002::/47": "4213", - "240a:a10d::/32": "142919", - "240a:a341::/32": "143483", - "240a:a84e::/32": "144776", - "2804:79b0::/32": "271321", - "2a00:4bc0:2101::/44": "16509", - "2a02:cb43:8002::/48": "20546", - "2a02:ee80:424a::/45": "3573", - "2001:4878:c136::/48": "12222", - "2401:4900:4d00::/44": "45609", - "2405:8a00:a049::/43": "55824", - "2408:840c:4e00::/40": "17621", - "2804:1040:b100::/33": "263626", - "2001:559:8207::/48": "7922", - "2001:678:eb0::/48": "212351", - "2001:1b76::/32": "158", - "2408:8256:2f9b::/48": "17816", - "240a:a999::/32": "145107", - "2a03:ff40:4ed2::/32": "61102", - "2a04:2f81::/47": "16509", - "2001:1998:3101::/36": "3456", - "2405:f600:40::/43": "45117", - "2408:823c::/31": "4837", - "240a:a4fe::/32": "143928", - "2a02:24f8::/32": "34385", - "2001:ee0:4600::/34": "45899", - "2405:6e00:f802::/47": "133612", - "240e:14:7800::/37": "133776", - "2a00:4802:2f0::/39": "13124", - "2a11:4e00:1000::/36": "208565", - "2001:d30:4::/32": "4717", - "240a:a3b8::/32": "143602", - "240a:aaea::/32": "145444", - "2a10:2f01:330::/44": "44024", - "2001:67c:328::/48": "196727", - "2001:67c:2204::/53": "24708", - "2402:800:95ee::/38": "7552", - "2600:1404:d800::/48": "35994", - "2600:3404:500::/28": "4181", - "2604:4300:f39::/32": "33387", - "2a04:4343::/29": "61349", - "2001:559:483::/48": "7016", - "2403:e900::/32": "45133", - "2405:9800:c980::/48": "45458", - "2407:1e40:501::/38": "141732", - "2600:1001:b100::/42": "6167", - "2803:f6e0::/32": "269976", - "2a00:16a0::/32": "15830", - "2400:cb00:a9a0::/46": "13335", - "2401:5400:2010::/33": "4434", - "240e:473:b150::/40": "4134", - "2600:1406:2600::/48": "35994", - "2605:5480::/32": "26253", - "2a00:1728:20::/48": "31490", - "2a00:1ec8:9a::/32": "2854", - "2804:2e1c::/32": "265324", - "2404:7ac0:671::/48": "209417", - "2405:7f00:3205::/41": "133414", - "240a:a767::/32": "144545", - "2600:141b:3001::/37": "20940", - "2602:fed2:7709::/48": "23470", - "2800:5d0:801::/48": "17048", - "2803:7200:800a::/47": "27696", - "2a0e:1106::/40": "62142", - "2400:4d40:302::/44": "134204", - "2620:100:5007::/48": "29889", - "2620:101:2005::/46": "16417", - "2a01:8840:8d::/48": "207266", - "2a02:bc8:38::/29": "8641", - "2001:ee0:c940::/38": "45899", - "240a:a4cc::/32": "143878", - "2a0d:700::/29": "39104", - "2a0e:97c0:1b2::/48": "211840", - "2001:559:80d3::/48": "33287", - "2409:8924:5d00::/38": "56046", - "2a04:4e40:9e00::/48": "54113", - "2001:1248:9731::/45": "11172", - "2401:3bc0:7::/44": "137409", - "2402:800:fa80::/42": "7552", - "240a:af81::/32": "146619", - "2800:ba0:18::/48": "263812", - "2804:2930::/32": "264002", - "2804:75fc::/32": "271082", - "2a0c:fc00::/31": "205250", - "2403:b400::/32": "10212", - "2800:160:1b11::/46": "14259", - "2a02:4260::/29": "60163", - "2803:e880:810e::/35": "52468", - "2804:1754::/32": "263137", - "2607:f8f0:630::/48": "4476", - "2804:44ec::/32": "267661", - "2a0c:3400::/29": "205268", - "2001:559:5ca::/48": "33491", - "2600:1004:f010::/40": "22394", - "2408:8956:a400::/40": "17622", - "2a00:f0e0:71::/32": "198499", - "2001:1248:5696::/41": "11172", - "240a:a221::/32": "143195", - "2620:46:8000::/48": "17234", - "2804:4b60::/32": "267302", - "2804:5578::/32": "262328", - "2407:4800:c000::/34": "139759", - "2604:bf00:211::/32": "17185", - "2806:20d:1d38::/34": "32098", - "2a00:13e8::/32": "196799", - "2001:6a8:9201::/34": "2611", - "2400:8200::/32": "45061", - "2a02:26f7:d651::/42": "20940", - "2800:160:1bdc::/42": "14259", - "2804:60bc::/33": "269187", - "2a0e:8f02:2118::/45": "213326", - "2a0e:aa06:400::/44": "209306", - "2001:559:83ab::/45": "7922", - "2001:67c:2650::/48": "3246", - "2402:800:98a9::/43": "7552", - "2602:fdad::/40": "397438", - "2001:410:2000::/47": "10965", - "2001:df7:f600::/48": "135214", - "2001:fd8:3004::/47": "4775", - "2001:1248:700a::/43": "11172", - "2404:98c0::/43": "135259", - "2600:1406:7401::/36": "20940", - "2a0e:b107:468::/45": "57883", - "2001:df1:d200::/48": "135372", - "2401:d800:dff0::/44": "7552", - "240e:5a:49c0::/38": "140303", - "2604:9b00:2801::/48": "14230", - "2804:2214::/44": "28177", - "2806:108e:1c::/46": "8151", - "2606:8e80:1800::/34": "32133", - "2a02:2e0:41f::/42": "12306", - "2a02:2708::/32": "21378", - "2001:1248:8477::/44": "11172", - "2001:4490:4e80::/46": "9829", - "2001:44b8:4000::/48": "7545", - "2804:a8::/32": "4230", - "2001:18b8:42::/48": "11019", - "240e:44d:1780::/41": "4134", - "2804:3e8:103::/32": "28663", - "2a09:e40::/32": "50673", - "2a0f:21c0::/29": "60262", - "2401:ff40:5010::/41": "137080", - "2620:149:224::/44": "714", - "2803:5ee0::/32": "269986", - "2804:4248:8001::/35": "267490", - "2604:4080::/32": "54858", - "2804:44cc::/32": "267654", - "240a:a7ec::/32": "144678", - "240e:ff:f000::/36": "4816", - "2604:d600:c4f::/42": "32098", - "2605:b4c0:1234::/48": "25780", - "2a01:c50f:a7c0::/36": "12479", - "2a04:13c5::/32": "61049", - "2401:4900:5110::/44": "45609", - "240e:438:5c20::/43": "140647", - "2a02:2010:22d0::/45": "20978", - "2405:9800:b128::/47": "133481", - "2408:84ee::/32": "140726", - "2409:8050:2802::/38": "56047", - "2804:7d98::/32": "271571", - "2402:8100:c::/43": "55644", - "2408:8459:3210::/44": "17623", - "2409:8e5d::/26": "9808", - "2600:141b:a001::/37": "20940", - "2a00:14e0::/32": "41412", - "2a02:26f7:c2c1::/46": "20940", - "2a0b:8700:2::/29": "61317", - "2001:559:24d::/48": "33654", - "2001:559:82c3::/48": "7015", - "240e:250::/38": "137693", - "2620:1ec:8fd::/46": "8075", - "2400:e2::/31": "4766", - "240a:a2bc::/32": "143350", - "240a:ae1f::/32": "146265", - "2a00:ad40:20::/44": "197872", - "2a02:26f7:f7c1::/46": "20940", - "2001:559:845e::/48": "7016", - "2605:de40:3005::/32": "397553", - "2a00:1e88:c000::/34": "12389", - "2a05:2a00::/29": "59816", - "2a0c:7e41:5357::/48": "20473", - "2001:559:82cd::/48": "7725", - "2001:1248:5a29::/46": "11172", - "2001:4878:4055::/48": "35994", - "2610:20:6000::/37": "49", - "2800:5f0:83e::/41": "22724", - "2a04:e4c0:20::/45": "36692", - "2400:fc00:4320::/37": "45773", - "2600:1406:e000::/48": "35994", - "2604:d600:66f::/43": "32098", - "2804:14c:c682::/47": "28573", - "2804:3f54::/32": "53185", - "2806:2f0:60c2::/42": "17072", - "2001:c20:48c3::/48": "3758", - "2a03:2c20::/42": "50287", - "2400:cb00:134::/44": "13335", - "2403:2700:4001::/48": "38500", - "2403:5400:1810::/48": "7470", - "2408:8456:8e00::/42": "17622", - "240a:a1c0::/32": "143098", - "2801:80:1414::/48": "11097", - "2a00:4b00:20e::/42": "41935", - "2404:bf40:8141::/48": "7545", - "2a04:de40:c1::/39": "201971", - "240a:a26b::/32": "143269", - "2406:8ec0::/32": "45701", - "2620:11f:e000::/40": "12243", - "2804:2118::/32": "264533", - "2a0b:dac0::/29": "205424", - "2001:df2:c280::/48": "139989", - "2401:0:8001::/48": "23966", - "2608:100:8::/48": "27064", - "2804:4fb0::/32": "268343", - "2804:7328::/32": "270899", - "2a02:2ad0:243::/45": "702", - "2a07:ca80::/29": "34762", - "2001:4138::/31": "15533", - "2a00:e6c0::/32": "198385", - "2620:123:20c0::/47": "30103", - "2a0e:8f02:213d::/48": "211722", - "240e:420::/31": "140061", - "2800:bf0:80a0::/47": "52257", - "2c0f:efa0::/48": "36902", - "2405:7f00:9d00::/38": "133414", - "2804:8008::/32": "271725", - "2a01:48c0::/32": "34960", - "2a02:26f7:ebc0::/48": "36183", - "2403:6c00::/32": "17514", - "240e:44d:3100::/41": "140345", - "2804:1558::/32": "263385", - "2a02:2af8:220::/37": "702", - "2a03:9300::/32": "29649", - "2001:df0:f8::/48": "9555", - "2401:d800:de70::/40": "7552", - "2800:150:7::/32": "22047", - "2a02:29e0:1::/46": "49367", - "2a0d:b200:100a::/48": "206026", - "240a:a2af::/32": "143337", - "2600:1408:1a::/47": "20940", - "2607:f500:1800::/32": "6181", - "2804:1448::/32": "263324", - "2804:20dc:b000::/33": "264517", - "2a06:80::/29": "206312", - "2a0a:d480::/29": "206549", - "2409:8a0c::/30": "56042", - "240a:ad3e::/32": "146040", - "2a01:6f80::/32": "56867", - "2402:800:7550::/42": "7552", - "2600:d0b:c000::/29": "20161", - "2a00:8040::/32": "50792", - "2a01:620::/32": "12389", - "2a02:26a8:f000::/36": "49675", - "2a0b:b87:ffef::/48": "20473", - "2608:c183:1::/48": "27066", - "2804:7494::/32": "270990", - "2001:559:c22a::/48": "33651", - "2a00:e60::/32": "62023", - "2a01:190:15f0::/29": "1764", - "2a0e:aa06:490::/44": "24239", - "2001:559:82d8::/47": "7922", - "2409:803c:800::/40": "24444", - "240e:109:8049::/46": "4134", - "2804:71d4::/32": "270814", - "2804:73c8::/32": "270937", - "2806:2f0:1300::/43": "22884", - "2a01:8840:11::/48": "13657", - "2001:dd8:1b::/48": "24049", - "240a:a62f::/32": "144233", - "240a:ae5d::/32": "146327", - "240a:afa4::/32": "146654", - "2600:6c38:a44::/40": "20115", - "2602:fe54::/43": "16584", - "2804:2c04::/32": "265188", - "2a10:ccc2::/43": "35619", - "2001:67c:270::/48": "202592", - "2408:8456:2040::/40": "17816", - "2409:804c::/42": "9808", - "2604:ff00:1b01::/48": "36271", - "2804:5bc0::/32": "268867", - "2a03:f003:400::/29": "25472", - "2a0b:4200:1001::/48": "3303", - "240a:aa23::/32": "145245", - "2001:559:c3ac::/48": "33659", - "2001:67c:2a7c::/48": "15598", - "2402:800:5a8d::/43": "7552", - "2402:7780::/47": "132933", - "2403:300:985::/38": "714", - "2403:5a00::/32": "23783", - "240a:a8d9::/32": "144915", - "2804:14c:8798::/42": "28573", - "2a04:8340::/29": "43260", - "2a0b:ab00::/29": "208861", - "2402:800:b370::/40": "7552", - "2600:805:149::/37": "701", - "2804:49c:3104::/48": "15201", - "2a09:3e40::/29": "41327", - "2001:678:700::/48": "50464", - "2001:df6:9a00::/48": "45537", - "2408:8456:2640::/36": "17816", - "240a:a893::/32": "144845", - "2602:808:6000::/40": "1798", - "2606:2800:4270::/46": "15133", - "2001:559:865d::/42": "33651", - "240e:44d:7480::/41": "4134", - "2a02:26f7:cfc0::/48": "36183", - "240a:a771::/32": "144555", - "2620:a9:4000::/48": "3356", - "2a00:fb20:8000::/33": "199319", - "2401:cf80:61ee::/43": "55303", - "2408:8456:5600::/42": "17622", - "2800:300:8240::/37": "27651", - "2804:5d10::/34": "268948", - "2a06:e380:9000::/33": "203507", - "2408:8660::/32": "4837", - "2a0d:2581:1000::/36": "209261", - "2001:18c8:900::/32": "8015", - "2605:f500:115::/38": "1828", - "2607:1d00::/32": "63003", - "2001:569::/44": "852", - "2001:b011:ae00::/33": "3462", - "2a00:ca8::/32": "30764", - "2a00:8740:100::/48": "49037", - "2604:5200:1001::/48": "701", - "2001:559:8134::/48": "33659", - "2001:4828::/32": "16942", - "2403:fdc0::/37": "7175", - "2408:84f3:9840::/38": "17816", - "2408:8956:7000::/40": "17622", - "240a:a0e4::/32": "142878", - "240e:473:6350::/40": "4134", - "2801:16:4800::/48": "269791", - "2804:801c::/32": "271730", - "2a0f:6580:100::/48": "213252", - "240a:a76e::/32": "144552", - "240a:ab5e::/32": "145560", - "240a:af7d::/32": "146615", - "2001:579:a00c::/41": "22773", - "2401:d800:2e50::/42": "7552", - "2402:800:581d::/42": "7552", - "2604:7100::/32": "32391", - "2800:bf0:82c0::/48": "52257", - "2a02:5440::/32": "198477", - "2a05:d80::/29": "51257", - "2a02:26f0:110::/48": "34164", - "2405:7f00:9ec0::/34": "133414", - "240a:a4a3::/32": "143837", - "2602:ffb0:12::/48": "53999", - "2605:8040::/32": "398008", - "2803:fe00::/32": "27650", - "2804:1c84:4::/46": "61659", - "2a00:5ba0::/29": "680", - "2a0a:9fc0::/29": "31673", - "2001:253:104::/48": "142070", - "2001:579:e1bc::/38": "22773", - "2620:121:3000::/40": "54666", - "2803:5c80:5054::/44": "64114", - "2a02:26f7:c48d::/46": "20940", - "2a0e:4280::/29": "59717", - "2a10:3140::/30": "208256", - "2001:559:7b2::/48": "33491", - "2001:559:c119::/48": "20214", - "2400:0:720::/43": "4766", - "2804:3e4c::/32": "266586", - "2c0f:f6d0:1a::/42": "327687", - "2001:1a68:21::/48": "57723", - "2409:8d71::/29": "9808", - "240e:d9:d800::/48": "38283", - "2605:8d80:900::/35": "812", - "2a02:26f7:fa08::/48": "36183", - "2a10:2f00:15f::/48": "212194", - "2a11:2307:4b::/37": "209209", - "2001:67c:29a8::/48": "42168", - "2409:804d:3100::/36": "9808", - "240e:3bf:7800::/39": "4134", - "2804:3ec8:4::/32": "266620", - "2804:487c:203::/44": "267124", - "2804:7cf8:120::/32": "271530", - "2a00:7147:e1::/44": "51430", - "2a02:2498:f001::/36": "13213", - "2a02:26f7:cbc4::/48": "36183", - "240a:a97c::/32": "145078", - "2605:7c0::/48": "19382", - "2a04:4e40:4c00::/48": "54113", - "240e:5e:4006::/48": "134774", - "2602:ff7a:fee::/48": "208830", - "2806:2f0:1081::/43": "17072", - "2a0a:9800::/29": "199163", - "2001:559:c06d::/48": "7922", - "2001:4408:6100::/38": "4758", - "2408:8646::/35": "140726", - "240a:a1cc::/32": "143110", - "240a:ab24::/32": "145502", - "2600:9000:1170::/46": "16509", - "240e:58:d000::/31": "4812", - "2804:78e4::/32": "271272", - "2402:800:7e30::/39": "7552", - "2600:1403:b::/43": "20940", - "2602:80a:2001::/46": "14618", - "2001:4088::/32": "9153", - "2403:cb00:a000::/36": "58621", - "2406:da70:8000::/40": "16509", - "240a:a2d6::/32": "143376", - "240a:a79a::/32": "144596", - "2804:fe0:2800::/45": "263049", - "2600:1000:b140::/42": "6167", - "2a01:558::/32": "15516", - "2a03:9220::/32": "15742", - "2001:559:79::/48": "7725", - "2400:adc0:4210::/47": "9541", - "2604:d600:1291::/44": "32098", - "2a02:26f7:f38d::/42": "20940", - "2a04:2dc0:1d::/48": "212460", - "2001:559:136::/48": "33657", - "2001:678:f94::/48": "211088", - "240e:1c:5000::/36": "134771", - "2804:2dec::/32": "265312", - "2804:5100:2100::/32": "268424", - "2804:6acc::/32": "270359", - "2a04:4e40:8200::/48": "54113", - "2408:8956:e100::/40": "17816", - "2605:a600::/31": "16591", - "2a03:f80:386::/48": "48894", - "2403:2500:300::/48": "36236", - "240e:ff:c005::/48": "136200", - "2602:fdd2::/36": "21659", - "2a02:2e02:9530::/41": "12479", - "2408:8957:1d40::/40": "17816", - "2600:100a:f010::/40": "22394", - "2804:51c:8000::/34": "262495", - "2804:b48::/32": "262732", - "2a05:d050:e080::/44": "16509", - "2402:800:9271::/40": "7552", - "2a05:1084:9000::/36": "9886", - "2a09:d880::/48": "209680", - "2001:559:732::/48": "7016", - "2400:9380:8ec0::/44": "136167", - "2402:8100:2510::/41": "45271", - "2404:e100:4009::/48": "133840", - "2001:559:c2fa::/47": "33287", - "2001:67c:15d4::/48": "47397", - "2402:b400::/33": "45960", - "2408:870c:1070::/34": "17621", - "2409:8c7d::/30": "9808", - "2804:294:8100::/33": "28604", - "2a02:26f7:dec0::/48": "36183", - "2602:ffa6:303::/40": "62731", - "2804:15b8::/32": "52666", - "2a03:2902::/32": "31400", - "2001:559:295::/48": "33651", - "2001:678:adc::/48": "3320", - "2409:804f:2100::/35": "9808", - "2602:fe54:12::/42": "16584", - "2607:f220:41f::/48": "393689", - "2803:da10::/32": "271931", - "2804:690::/32": "262595", - "2408:8459:4810::/42": "17623", - "2803:4580:8100::/40": "52468", - "2001:67c:12b4::/48": "200564", - "2610:a1:fff::/48": "12008", - "2a0c:9a40:1035::/48": "34927", - "2405:9000:b::/41": "7474", - "2602:fd86::/36": "33412", - "2804:5384::/32": "268589", - "2001:67c:1d0::/48": "42061", - "2605:a401:81f8::/38": "33363", - "2605:a404:8b7::/39": "33363", - "2605:a900:100a::/34": "46887", - "2804:5bdc::/46": "268873", - "2a02:788::/47": "12843", - "2a06:cd40:100::/48": "43927", - "2a0e:e42::/32": "208638", - "240a:a1ec::/32": "143142", - "2a03:7520::/32": "13030", - "2406:3003:2028::/45": "4657", - "2804:3820::/32": "266458", - "2806:370:71c0::/42": "28403", - "2a02:2e02:8f30::/41": "12479", - "2001:978:a700::/48": "33811", - "2001:4de0::/47": "34343", - "2a00:1bc8::/32": "50554", - "2a03:ef43:c000::/48": "57218", - "2a06:4200::/29": "200485", - "2804:2b10:1::/46": "52916", - "2803:e0e0:100::/47": "269852", - "2a02:26f7:ca05::/46": "20940", - "2a0b:b600:3802::/47": "57758", - "2a0c:94c0::/29": "21032", - "2c0f:ff10::/32": "37677", - "2400:cb00:a040::/45": "13335", - "2600:1003:9100::/44": "6167", - "2607:fdf0:5e3c::/47": "8008", - "2804:14bc::/32": "263347", - "2a03:10e0::/48": "62571", - "2a09:bac0:87::/44": "13335", - "2401:2200::/48": "55420", - "2404:700::/32": "45429", - "2408:8957:8500::/40": "17816", - "2602:fed2:3ec::/46": "53356", - "2804:5a9c::/32": "268784", - "2804:7ea8::/32": "271638", - "2a0b:b600:3000::/48": "15703", - "2402:800:930f::/43": "7552", - "2402:8e00::/46": "38529", - "2402:d000:812d::/43": "9329", - "2408:84f3:3660::/40": "17623", - "2607:5e00::/32": "40191", - "2801:8e:a000::/36": "11993", - "2001:559:c2d1::/48": "7015", - "2001:4878:2164::/48": "12222", - "2401:d800:cc0::/42": "7552", - "240a:a3cf::/32": "143625", - "2a02:26f0:f400::/48": "34164", - "2a0c:2640::/32": "201750", - "2406:8800:9035::/44": "17465", - "2600:1417:5::/48": "8966", - "2804:679c::/32": "269639", - "2407:a500::/39": "18356", - "2408:8956:3900::/40": "17816", - "2620:149:fe::/47": "714", - "2804:14d:72a7::/43": "28573", - "2402:3a80:10::/47": "38266", - "2806:104e:3::/45": "8151", - "2a02:2010:2510::/45": "20978", - "2a0b:8fc0::/32": "62432", - "2604:6840:f800::/37": "33438", - "2804:7fa4::/32": "271700", - "2a02:26f7:d1c4::/48": "36183", - "2a02:6600::/32": "5377", - "2a03:f200::/32": "30962", - "2403:300:a0f::/43": "714", - "240e:473:6320::/41": "140486", - "2a06:1e00::/48": "60695", - "2001:978:9400:1::/36": "174", - "2001:1998:650::/40": "7843", - "2607:7c80:59::/32": "64260", - "2804:25e4::/37": "61573", - "2a00:4800:3d0::/42": "13124", - "2001:559:c28a::/48": "33660", - "2402:a900::/32": "9877", - "240a:a0fa::/32": "142900", - "2a02:2298::/36": "15544", - "2c0f:efd0::/36": "328336", - "2001:418:8006::/48": "3927", - "2001:559:c2a7::/48": "21508", - "2409:8c15:2900::/37": "56044", - "2a02:26f7:f040::/48": "36183", - "2a04:f580:9200::/46": "4809", - "2a0e:2980:1::/48": "33984", - "2001:550:8801::/39": "174", - "240e:3be:7800::/39": "4134", - "240e:970::/29": "4134", - "2620:0:2b10::/48": "20381", - "2804:3778::/32": "266417", - "2001:253:124::/48": "142090", - "2001:19e8:d::/46": "2576", - "2400:32::/48": "4766", - "2607:f208:df00::/48": "398101", - "2804:a1c::/32": "262727", - "2a00:7e40:80e::/48": "1301", - "2a0b:ffc0::/40": "207013", - "2404:8d02:4000::/36": "9587", - "2806:2f0:5121::/41": "17072", - "2a06:3b80:110::/48": "200478", - "2001:1980:500::/36": "29838", - "2404:3d00:40a3::/45": "3573", - "2600:1404:dc01::/34": "20940", - "2a04:4e40:1430::/41": "54113", - "2a05:2a80:2::/29": "200567", - "2a07:7a80::/29": "206616", - "2401:2200:1000::/37": "55420", - "2a02:f28::/32": "20647", - "2a02:26f0:8d01::/40": "20940", - "240a:a70d::/32": "144455", - "2605:a7c0:141::/44": "16509", - "2a01:8b40::/35": "203165", - "2001:559:4bf::/41": "7016", - "2001:4408:4d09::/35": "4758", - "2401:ff80:1909::/46": "133954", - "2a02:b60::/35": "44217", - "2a0f:607:1056::/48": "212057", - "2804:2e08::/32": "265319", - "2001:559:82be::/48": "33287", - "2600:9000:1175::/44": "16509", - "2620:43:a000::/48": "395030", - "2620:127:7001::/48": "63016", - "2a0a:56c4:8601::/48": "42649", - "2a0c:5247:f000::/36": "208861", - "2001:559:c05f::/42": "7922", - "240a:a623::/32": "144221", - "2602:fed3:8::/48": "19969", - "2607:f170::/43": "6364", - "2a05:8800::/29": "57513", - "2a0f:9240:2000::/48": "212270", - "2a11:2c00::/29": "211054", - "2400:3240::/32": "63996", - "2605:ec80::/32": "11114", - "2804:1ee4::/32": "264452", - "2407:9001:200::/45": "2764", - "2605:a000:1f00::/32": "10796", - "2800:320:402::/48": "27882", - "2a03:db40::/32": "61178", - "2a05:a884:10::/48": "51964", - "2a10:3100::/29": "35598", - "2a0e:97c0:300::/44": "25198", - "2a09:cd40::/30": "202448", - "2001:559:c271::/48": "13367", - "2404:c800:8203::/48": "20940", - "2600:1008:9110::/36": "22394", - "2804:184::/32": "262749", - "2a0a:e5c0:1::/46": "207996", - "2c0f:fe38:2::/45": "33771", - "2406:840:800::/41": "139317", - "2600:1403:3c01::/33": "20940", - "2800:bf0:8043::/43": "27947", - "2a02:2370:8000::/48": "32787", - "2a03:6306::/32": "12837", - "2001:67c:2de0::/48": "212737", - "2400:8b00:a80::/42": "45727", - "2804:ebc::/32": "61588", - "2804:2e18::/32": "265323", - "2a01:879::/24": "3209", - "2a02:2698:7000::/38": "50543", - "2400:cb00:a320::/45": "13335", - "2404:e601::/48": "132805", - "2a02:26f7:e641::/46": "20940", - "2401:b180:8000::/33": "37963", - "2a05:b780::/29": "57809", - "2a00:6060:8001::/34": "60983", - "2001:559:c394::/48": "33651", - "2400:cb00:50::/45": "13335", - "2402:7800:3003::/32": "4826", - "240a:a347::/32": "143489", - "2804:1d14::/32": "61694", - "2804:3e70:d008::/34": "266596", - "2804:4e44::/32": "268250", - "2404:1f00::/33": "55947", - "2a01:9fc0::/32": "3238", - "2a06:5000::/29": "203020", - "2a0f:9400:7004::/47": "211144", - "2001:df3:9a80::/48": "140612", - "2804:2a60:ff00::/40": "263089", - "2804:49a4::/32": "267194", - "2a01:5860::/32": "199939", - "2405:e280:2080::/48": "55769", - "2607:fcd0:fa80:2c01::/55": "8100", - "2803:bc60::/32": "264773", - "2804:258:fc::/32": "28132", - "2804:f8c:d000::/34": "263591", - "2001:559:86b5::/48": "7016", - "2001:dcd:5::/48": "397233", - "2401:d800:5270::/40": "7552", - "2405:201:e800::/35": "55836", - "2607:fdb0:0:104::/32": "3361", - "2a09:b540::/29": "20799", - "2a0a:10c0::/29": "206270", - "2804:2784:d000::/34": "263906", - "2001:559:86d4::/48": "7015", - "2401:ee00:701::/36": "23951", - "240a:abc7::/32": "145665", - "240e:3bf:2800::/38": "4134", - "2607:fdf0:5e55::/46": "8008", - "2620:116:5000::/40": "6059", - "2620:123:5000::/40": "16519", - "2a04:16c0:201::/29": "48921", - "2400:6280:128::/46": "132280", - "2600:1407:2401::/36": "20940", - "2a02:e982:34::/48": "19551", - "2a06:b040::/29": "203779", - "2a11:a607::/48": "205028", - "2607:f480:111::/48": "27435", - "2803:e520::/32": "266687", - "2a02:26f7:f844::/48": "36183", - "2605:a1c0::/32": "11738", - "2001:678:a8::/48": "48132", - "2001:1828::/32": "10297", - "2400:c2c0::/32": "63959", - "2401:3240:1::/45": "63490", - "240e:85c:40::/44": "131285", - "2600:100b:b130::/40": "6167", - "2602:804:8000::/40": "54506", - "2801:1a:9000::/48": "262247", - "2806:230:403d::/48": "11888", - "2a02:27d8::/32": "20741", - "2403:1940:50::/48": "137935", - "2602:feda:b8b::/48": "208563", - "2a01:530::/32": "43219", - "2001:67c:2c92::/47": "60092", - "2806:2f0:11::/48": "22884", - "2001:978:2300:400::/47": "174", - "2001:16f8:666::/48": "30870", - "240a:a66b::/32": "144293", - "240a:ae59::/32": "146323", - "2610:b8::/32": "19021", - "2607:f038:aaad::/33": "21527", - "2001:559:7c0::/48": "7922", - "2409:8061:3100::/36": "9808", - "2a02:6060::/32": "60717", - "2a0c:5247:e000::/36": "59504", - "2405:ad80::/32": "135449", - "2600:1005:b130::/41": "22394", - "2a02:17e8:801::/37": "13002", - "2a02:26f7:df40::/48": "36183", - "2a02:f560::/40": "44267", - "2a04:4e40:2200::/48": "54113", - "2001:559:8316::/48": "33652", - "2400:4d40:255::/46": "134204", - "240e:473:9850::/39": "4134", - "2600:80c:100::/40": "701", - "2602:fcb6::/36": "399392", - "2804:93c::/42": "52878", - "2804:16d8:4000::/35": "262729", - "2001:7f8:e4::/48": "43431", - "2405:1c0:6373::/40": "55303", - "2a01:6940::/32": "29605", - "2a03:660::/32": "60117", - "2a06:c006::/31": "206766", - "2001:470:2a::/48": "54816", - "2001:559:80ef::/48": "33287", - "2001:559:8692::/48": "7922", - "2001:12f0:d00::/42": "1916", - "2605:a7c0:131::/44": "16509", - "2607:d500:303::/48": "63213", - "2607:fb90:f800::/39": "21928", - "2620:6e:a000::/46": "397444", - "2a00:1700::/32": "15672", - "2a00:1d58:f015::/48": "47524", - "2a0f:2880::/32": "208164", - "2c0f:ff20::/32": "37286", - "2001:388:3030::/48": "137188", - "2404:f780:100::/48": "136557", - "2a02:26f7:73::/48": "20940", - "2c0f:f5c0:441::/46": "29465", - "2405:1f00::/32": "38077", - "2602:fed2:7300::/48": "139693", - "2620:11f:7006::/44": "13737", - "2620:1e0:100::/48": "10801", - "2a03:d600::/31": "12727", - "2001:44b8:4050::/48": "7545", - "2401:7600::/32": "45932", - "2600:6c38:221::/46": "20115", - "2602:fcca::/36": "399428", - "2606:4f00:a::/48": "19324", - "2800:160:1474::/44": "14259", - "2804:2238:f100::/36": "264598", - "2001:500:202::/48": "4", - "240a:abf9::/32": "145715", - "2620:132:b000::/40": "21951", - "2a03:2480:68::/47": "200107", - "2001:67c:2b8::/48": "51413", - "2620:107:6000::/51": "6462", - "2804:58a4::/32": "268141", - "2400:4d40:309::/32": "134204", - "2404:8000:1101::/32": "17451", - "240a:ab33::/32": "145517", - "2a06:1c5:a9a::/41": "207455", - "240a:a5b8::/32": "144114", - "2803:6e0::/32": "269950", - "2a00:d00::/31": "41887", - "2a02:1390:1000::/34": "21351", - "2a02:26f7:ef49::/46": "20940", - "2a05:4f40::/30": "29485", - "2001:550:a02::/45": "174", - "2001:c20:c828::/43": "3758", - "2a00:c9c0::/32": "58002", - "2a02:128:4::/48": "209863", - "2001:559:815b::/48": "20214", - "2001:4878:4007::/44": "12222", - "2407:1140::/32": "136336", - "240e:67e:e400::/39": "140330", - "2a0c:b340::/47": "206262", - "2001:468:f100::/36": "11537", - "2400:8b00:200::/42": "45727", - "2409:8904:5a70::/40": "24547", - "2603:c0e0:2800::/39": "54253", - "2a00:1a28:1157::/48": "63473", - "2a01:6a00::/29": "13122", - "2a04:e4c0:30::/47": "36692", - "2403:2040::/32": "17775", - "2404:9400::/45": "133159", - "2408:8459:ec10::/42": "17623", - "2804:a54:18::/41": "262664", - "2804:34e8::/32": "265487", - "240a:a078::/32": "142770", - "2610:b0:4008::/43": "3573", - "2a01:6020:f000::/36": "199070", - "2001:559:2e1::/46": "33659", - "2406:180:8000::/40": "63956", - "2409:8c1f:68f0::/35": "9808", - "2604:4d40:8000::/36": "13830", - "2607:ffa0:2::/32": "19355", - "2a00:7700::/32": "31200", - "240a:abec::/32": "145702", - "2600:1407:c00::/48": "35994", - "2804:e1c:2::/32": "52545", - "2001:559:c186::/48": "33491", - "2402:3a80:1860::/40": "38266", - "2620:6e:6000::/48": "11078", - "2804:3dac:200::/32": "266546", - "2a04:3740:3::/29": "35625", - "2001:559:3c0::/48": "33652", - "2407:1200::/32": "7524", - "240e:1a:130::/41": "23650", - "2600:1408:b001::/37": "20940", - "2a02:26f7:cf45::/46": "20940", - "2a0e:b107:9d7::/48": "213262", - "2a0d:8f40::/29": "208906", - "2a0e:eec1::/32": "49542", - "2001:550:6700::/48": "14877", - "2001:579:d164::/40": "22773", - "240a:a581::/32": "144059", - "2804:2e0::/32": "28233", - "2804:3c28::/36": "263011", - "2a05:c0c0::/29": "49920", - "2001:559:8363::/48": "33657", - "2001:559:83e9::/46": "7015", - "2001:bc8::/35": "12876", - "2001:44b8:2030::/46": "7545", - "2803:9a40::/33": "263824", - "2a02:26f7:df05::/46": "20940", - "2a02:2891:ff::/48": "51185", - "2402:d000:8101::/45": "9329", - "240a:af8d::/32": "146631", - "2804:6210::/36": "269273", - "2a04:9140:3001::/48": "196670", - "2a0d:d9c0::/30": "208948", - "2001:559:c29b::/48": "33652", - "2001:1248:98b8::/45": "11172", - "2001:4878:2321::/45": "12222", - "2401:b80::/34": "133334", - "2409:8c85:aa18::/48": "134810", - "2800:160:1e5d::/42": "14259", - "2001:559:82a0::/48": "7922", - "2001:fd8:1800::/40": "4775", - "2401:200::/32": "17666", - "2800:484:c100::/40": "10620", - "2804:1dbc::/34": "264390", - "2a01:6f0:ffff::/48": "63473", - "2001:559:76b::/48": "21508", - "2001:678:794::/48": "201281", - "2408:8459:cf10::/42": "17623", - "2a02:752:3::/29": "42708", - "2a02:26f7:b841::/46": "20940", - "2001:1248:a01a::/42": "11172", - "2401:1d40:3102::/36": "59019", - "2409:8f04::/32": "24547", - "2602:808:1000::/40": "398898", - "2803:2a80:20::/47": "262928", - "2804:2610::/32": "264321", - "2a00:4c40::/34": "197965", - "2a02:2608::/32": "44306", - "240a:a0d2::/32": "142860", - "2600:1405:e001::/35": "20940", - "2804:55d4::/32": "267959", - "2803:2540:a2::/32": "264668", - "2a02:26f7:f400::/48": "36183", - "2a05:d050:1040::/44": "16509", - "2a0b:15c0::/29": "42207", - "2001:480:332::/37": "668", - "2001:4930::/34": "6263", - "2402:800:9763::/43": "7552", - "2409:807e:3900::/24": "9808", - "2409:8904:5bb0::/37": "24547", - "2804:2af4::/32": "265127", - "2a0b:94c0::/48": "205558", - "2a0f:d980::/32": "1152", - "2600:100c::/32": "22394", - "2600:5c00:386c::/48": "11351", - "2620:118:e000::/44": "27418", - "2804:18:7200::/37": "10429", - "2804:664c::/34": "269547", - "2a00:afc0::/32": "48339", - "2a02:26f7:bbc0::/48": "36183", - "2607:7880::/32": "395401", - "2804:41c::/36": "262416", - "2a02:5480::/32": "197013", - "2001:559:4b3::/45": "7922", - "2001:df6:c080::/48": "141822", - "2804:7a4c::/32": "271363", - "2a02:26f7:f0c0::/48": "36183", - "2a03:dc40:ffff::/48": "196904", - "2001:49f0:a06a::/47": "174", - "2402:800:55d3::/44": "7552", - "2402:840:d000::/46": "63646", - "2403:ee00::/32": "9244", - "2407:8100:1::/48": "58436", - "2a0d:f407:100::/45": "205148", - "2001:43f8:b70::/48": "327074", - "2602:fda6:302::/48": "398051", - "2804:14d:5c55::/44": "28573", - "2a01:8840:d2::/45": "12041", - "2a02:26f7:d7c8::/48": "36183", - "2001:67c:810::/48": "210941", - "2404:4e00:8000::/48": "32787", - "240e:a65:1a00::/34": "140330", - "2620:149:22a::/47": "714", - "2607:fcf8:bbbc::/33": "26788", - "2803:9300::/32": "265760", - "2804:954:41::/42": "263073", - "2001:dce:9400::/48": "45285", - "2001:4130:50f1::/48": "29067", - "2a03:4240::/32": "12731", - "2a06:ac80::/48": "205427", - "2001:67c:21c0::/48": "39265", - "2401:c400:1000::/48": "45785", - "2401:ff80:1705::/44": "133954", - "2602:fcd3:102::/47": "212934", - "2605:1ec0::/32": "394501", - "2a06:2b80::/29": "61317", - "2a06:2c40::/29": "28952", - "2001:400:6410::/48": "43", - "2001:559:c170::/48": "13367", - "240a:aea0::/32": "146394", - "2604:d600:15e3::/44": "32098", - "2a00:15c8::/29": "42337", - "2a0b:ae00:1c00::/29": "207044", - "2408:8957:e700::/40": "17816", - "2620:108:9001::/48": "12159", - "2800:320:9800::/48": "27882", - "2804:230::/32": "53211", - "2a02:59e0::/48": "60118", - "2a05:6080::/29": "44920", - "2001:67c:2ac0::/48": "29663", - "2001:df2:6780::/48": "134340", - "2001:43f8:13b0::/48": "328501", - "240a:a044::/32": "142718", - "240a:afd4::/32": "146702", - "2a01:c50f:3a00::/32": "12479", - "2402:800:9dee::/43": "7552", - "2a00:c40:8096::/33": "34315", - "2001:df7:1500::/48": "135955", - "2400:a980:1100::/38": "133111", - "2001:ee0::/38": "45899", - "2a00:4b00:12e::/43": "41935", - "2a02:26f0:4d00::/48": "34164", - "2a0b:c640::/29": "205473", - "2001:df0:2fc::/48": "58404", - "2607:f978:5::/48": "32475", - "2620:c0::/48": "6492", - "2a00:b700:f::/48": "51659", - "2a02:26f7:f8c5::/46": "20940", - "2a03:d60:1::/48": "42503", - "240a:a804::/32": "144702", - "240e:473:2600::/41": "140485", - "2804:8214::/32": "272497", - "2001:df0:f800::/48": "58397", - "2408:8460::/29": "4837", - "2406:b400:1::/48": "18209", - "2804:4f74::/32": "268328", - "2a00:d98::/32": "30833", - "2a0b:7d40:1::/46": "205583", - "2001:559:2aa::/48": "33651", - "2a02:26f7:d804::/48": "36183", - "2001:559:524::/48": "7015", - "2602:feb4:270::/44": "25961", - "2a03:bf00:200::/40": "43529", - "2a0b:9440::/29": "34766", - "2001:4c98::/32": "35062", - "2403:2900::/32": "132005", - "2600:1415:19::/38": "20940", - "2604:d600:c19::/42": "32098", - "2001:6d0:ffc7::/48": "8985", - "240a:add5::/32": "146191", - "2804:14c:dc81::/45": "28573", - "2a03:5640:f041::/40": "2906", - "2001:678:5d8::/48": "3399", - "2408:873c::/31": "4837", - "240a:ac22::/32": "145756", - "240a:acf5::/32": "145967", - "2600:1480:801::/37": "20940", - "2604:6040:80::/48": "53698", - "2806:2f0:4181::/46": "17072", - "2806:2f0:9301::/41": "17072", - "2001:3c8:e10f::/35": "4621", - "240a:a33b::/32": "143477", - "240a:a925::/32": "144991", - "2600:1012:b040::/42": "6167", - "2604:ca00:1c8::/43": "36492", - "2800:a30:220b::/32": "262187", - "2804:78ac::/32": "271258", - "2a07:5201::/47": "213208", - "240a:a7eb::/32": "144677", - "240a:aa3c::/32": "145270", - "2604:4580:204::/32": "26375", - "2620:144::/36": "53692", - "2800:370:4000::/40": "28006", - "2a00:17f8::/40": "47622", - "2a02:26f7:f809::/42": "20940", - "2a02:2010:2620::/45": "20978", - "2001:559:83eb::/48": "33657", - "2402:800:31fe::/38": "7552", - "2409:8d00::/32": "56048", - "240e:44d:1f00::/41": "140345", - "2602:fd21::/37": "398488", - "2604:2d80:fc00::/48": "30036", - "2804:5514::/32": "268688", - "2a02:2ad0:24d::/46": "702", - "2001:67c:29bc::/48": "207439", - "2001:df0:d7::/44": "8075", - "2401:ff80:180d::/46": "133954", - "2a02:26f7:e585::/46": "20940", - "2804:8060::/32": "61606", - "2a06:82c1::/48": "201106", - "2a07:1f40::/29": "28725", - "2404:bf40:e100::/48": "2764", - "240a:aef4::/32": "146478", - "2600:1003:a100::/44": "6167", - "2600:1407:6801::/35": "20940", - "2804:104c:e000::/40": "263629", - "2001:fd8:2208::/46": "4775", - "2409:40f3::/22": "55836", - "240a:a3a9::/32": "143587", - "2620:129:6020::/48": "395363", - "2402:800:9871::/40": "7552", - "2405:9800:c909::/48": "55476", - "2406:4e40::/45": "140966", - "2409:8924:3700::/36": "56046", - "240a:adcd::/32": "146183", - "2602:ffb0:1c::/48": "64245", - "2605:f440:9f91::/48": "211562", - "2800:68:14::/48": "61468", - "2804:27b8::/32": "263918", - "2a00:dca0::/29": "60175", - "2a0f:4b40::/32": "12722", - "2001:559:368::/48": "7922", - "2a00:1e1c:4000::/30": "8896", - "2a0e:46c4:2920::/48": "138435", - "2a0e:7900::/29": "207902", - "2001:1938:0:2005::/49": "12989", - "2001:4878:2219::/48": "12222", - "2602:fed2:7305::/48": "53356", - "2606:6800:3400::/40": "394895", - "2a01:cd00:8040::/48": "28708", - "2a02:ee80:41aa::/43": "3573", - "2804:63a8::/36": "269375", - "2a0a:53c0::/48": "42780", - "2a0d:f400::/32": "47950", - "2600:1419:b001::/37": "20940", - "2001:3c8:1203::/39": "4621", - "2401:d800:9dc0::/42": "7552", - "2800:190:408::/33": "11664", - "2a02:26f7:f6f4::/48": "36183", - "2001:559:742::/48": "7015", - "2001:559:8368::/47": "33651", - "2001:df0:b100::/48": "136475", - "2405:e40::/46": "24511", - "2605:a900:3006::/44": "46887", - "2607:fee8::/32": "7078", - "2800:160:18ed::/39": "14259", - "2a04:7f40::/29": "197212", - "2001:579:9042::/44": "22773", - "2405:9000:90::/48": "17719", - "240a:a48f::/32": "143817", - "240e:e9:5800::/37": "4134", - "2a02:2070::/32": "48467", - "2a02:26f7:ea01::/46": "20940", - "2a09:1500:11::/48": "208175", - "2400:1000::/32": "10021", - "2800:d302:2::/44": "11830", - "2803:a040:500::/32": "263750", - "2a0a:1087::/32": "393954", - "2a0e:aa01:2000::/32": "206499", - "2401:d800:5be0::/37": "7552", - "240e:6b6:5000::/31": "4134", - "2600:1408:1c::/48": "21342", - "2605:72c0:1::/46": "32354", - "2804:a9c::/32": "52898", - "2a03:fbc0::/29": "61317", - "2a0c:b641:190::/46": "57853", - "2403:fdc0:f000::/36": "7175", - "240a:a9bb::/32": "145141", - "2605:4800:3::/48": "20209", - "2804:1ac:400::/33": "53175", - "2a03:97c0:1::/48": "58076", - "2409:8979::/30": "9808", - "2600:1014:b1a0::/41": "6167", - "2620:5e:e000::/48": "396088", - "2a02:26f0:7e01::/39": "20940", - "2a03:8b60:10::/45": "29256", - "2001:559:7d3::/48": "7922", - "2403:5800:8000::/35": "4764", - "2407:dc00:4::/39": "9714", - "240a:a1ad::/32": "143079", - "2604:b180:80::/44": "32775", - "2804:1d90::/32": "264378", - "2a01:358:401c::/46": "9121", - "2001:4878:2102::/48": "12222", - "240a:a1c8::/32": "143106", - "240a:a206::/32": "143168", - "2804:8140::/35": "272442", - "2a00:cd80::/33": "24848", - "2a03:9c80:8000::/34": "208277", - "2a02:26f7:f149::/42": "20940", - "2404:8d00:1000::/43": "24378", - "2607:880::/32": "43288", - "2607:fb28:11::/32": "9", - "2804:49c:4208::/48": "7162", - "2804:139c::/32": "52908", - "2804:5310::/32": "268561", - "2a02:26f7:ee84::/48": "36183", - "2402:800:51d3::/44": "7552", - "2804:b44::/32": "262448", - "2a02:26f7:ddc4::/48": "36183", - "2a04:2b87::/32": "47602", - "2a06:e881:6600::/48": "208872", - "2a0e:b107:f69::/45": "207466", - "2402:800:bd80::/42": "7552", - "2409:8020:1041::/43": "56046", - "2a02:26f7:cc01::/46": "20940", - "2804:3bb4::/32": "266166", - "2a06:e881:170f::/48": "206813", - "2a07:8140::/36": "49690", - "2001:418:1401:99::/54": "2914", - "240e:438:8820::/43": "140647", - "2a05:e40:2400::/29": "59909", - "2001:550:a500:1::/36": "174", - "2a0d:1a40:7800::/43": "208563", - "2402:800:70c0::/42": "7552", - "2804:6df4::/32": "270566", - "2408:870c:2020::/41": "138421", - "2a0b:ccc0::/29": "41306", - "2001:42a8::/32": "36937", - "2a00:89e0::/32": "198024", - "2a00:efa0::/32": "6776", - "2408:8962::/29": "4837", - "240a:afc2::/32": "146684", - "2620:10f:6000::/40": "102", - "2803:3400::/32": "14754", - "2804:7de8::/32": "271590", - "2a09:bac0:227::/48": "13335", - "2404:5800:101::/32": "9911", - "240e:108:88::/48": "38283", - "2a00:1728:18::/48": "34368", - "2a00:fa60:1520::/32": "53550", - "2a02:26f7:c8c8::/48": "36183", - "2a10:31c0::/30": "208256", - "2c0f:ed40::/32": "328461", - "2405:9800:c880::/48": "45458", - "2408:8345::/35": "140726", - "2803:7210::/32": "271915", - "2804:4604::/32": "266962", - "2001:559:46e::/48": "7725", - "2403:89c0:1::/46": "137661", - "2a06:9f82::/32": "49367", - "2a0b:6b86:a00::/40": "200365", - "2a0b:b5c0::/29": "54543", - "2600:140b:1e01::/34": "20940", - "2a02:26f7:d6c5::/46": "20940", - "2a06:4180:2::/29": "48293", - "2001:559:24::/48": "7016", - "2001:678:5f4::/48": "204626", - "2605:b100:b80::/37": "577", - "2a04:4e40:c840::/44": "54113", - "2a09:8387:ffff::/48": "51972", - "2001:3c8:4008::/35": "4621", - "2001:559:8f::/48": "33659", - "2001:559:93::/48": "33651", - "2001:67c:2128::/48": "48004", - "240e:698:4900::/38": "4134", - "2a0d:9a81::/40": "49959", - "2409:8914:ba00::/37": "56044", - "2a02:2698:6800::/38": "34533", - "2001:559:c33c::/48": "7015", - "2404:e4:119::/31": "703", - "240e:473:5920::/41": "140486", - "2600:1419:cc01::/35": "20940", - "2803:6604:c600::/34": "28075", - "2001:fb0:109f:13::/64": "7470", - "2603:c000:1a00::/37": "31898", - "2a02:970:1367::/40": "44002", - "2001:559:803d::/48": "7922", - "2401:d800:5300::/42": "7552", - "2406:2000:e4::/46": "56173", - "2804:1ef0::/32": "52650", - "2804:3444::/32": "265446", - "2804:7da4::/32": "61605", - "2a02:26f7:bb86::/47": "20940", - "2603:b051::/26": "11796", - "2603:c0e0:1210::/39": "54253", - "2806:1008::/32": "8151", - "2c0f:efe8::/32": "327795", - "2600:6c38:726::/44": "20115", - "2606:2800:5052::/45": "15133", - "2804:8024::/32": "271732", - "2804:27f0::/43": "263930", - "2001:559:19d::/48": "7922", - "240a:a805::/32": "144703", - "2600:80a:423::/41": "701", - "2605:a401:832d::/43": "33363", - "2800:110:1020::/48": "61496", - "2801:18:8800::/48": "267892", - "2804:4e0::/32": "262475", - "2804:4580:800::/35": "266931", - "2806:2f0:41c0::/42": "17072", - "2a04:5c85:f000::/47": "200584", - "240a:ae99::/32": "146387", - "2a0c:4187:8001::/48": "47596", - "2001:468:1f12::/34": "11537", - "2001:67c:1dc::/48": "50888", - "2401:7500:300::/40": "33480", - "240a:a660::/32": "144282", - "2620:138:3009::/45": "22604", - "2001:8f8::/32": "8966", - "2803:c560:fffb::/48": "207688", - "2804:175c:8420::/33": "263140", - "2408:840d:6800::/42": "17621", - "2801:130::/36": "3816", - "2406:8dc0:2203::/48": "209557", - "2602:803:5000::/48": "30330", - "2605:5240:2500::/32": "397494", - "2804:14c:4e9::/43": "28573", - "2804:1b2c:1003::/38": "61713", - "2a02:26f0:8e00::/48": "34164", - "2408:8256:2e87::/43": "17623", - "2804:3d0::/32": "262400", - "2800:160:1880::/45": "14259", - "2a02:26f7:b990::/48": "36183", - "2a06:d340::/29": "25109", - "2a0e:d601:7220::/48": "202436", - "2001:559:87e0::/45": "7922", - "2620:1ec:bdf::/48": "8068", - "2804:208c::/32": "264497", - "2804:3374::/32": "265397", - "2001:559:3b0::/48": "7015", - "2a06:1301:4151::/48": "208861", - "2a06:26c0::/29": "31662", - "2001:559:534::/47": "7922", - "2001:dcd:11::/46": "38796", - "2409:8b31::/29": "9808", - "2606:2800:50a0::/43": "15133", - "2001:43f8:b30::/48": "327917", - "2402:8100:3100::/36": "55644", - "2605:66c0::/32": "398481", - "2800:4b0:4300::/37": "12252", - "2a02:2891:15::/48": "51185", - "2a02:ee80:4260::/46": "3573", - "2001:df1:df00::/48": "136805", - "2620:137:7000::/40": "396322", - "2a03:5620::/32": "51090", - "2001:7fb:fd02::/47": "12654", - "240a:a297::/32": "143313", - "240a:a724::/32": "144478", - "2804:1bd8:4901::/40": "28224", - "2804:60f4::/32": "269202", - "2a04:62c2:1::/45": "47477", - "2a10:6b40::/29": "212640", - "2408:8956:19c0::/38": "17622", - "240a:a87f::/32": "144825", - "2001:67c:1009::/48": "44522", - "2401:4900:5360::/43": "45609", - "2406:af40::/32": "9237", - "2409:8000:2c00::/35": "9808", - "2001:559:797::/48": "7922", - "2001:559:8229::/48": "13367", - "2605:ec40::/32": "398777", - "2a00:7d40::/32": "42429", - "2a02:c47:4::/48": "48446", - "2a05:ec0::/29": "56828", - "2a05:f480:1000::/34": "20473", - "2001:67c:1830::/48": "3301", - "240a:a083::/32": "142781", - "240e:473:a350::/40": "4134", - "240a:a588::/32": "144066", - "2603:c002:1700::/36": "31898", - "2800:160:15d3::/42": "14259", - "2804:2608::/32": "264319", - "2a01:79e0::/32": "199791", - "2a02:2610::/32": "25521", - "2001:4878:164::/48": "12222", - "2400:1700:300::/46": "45166", - "2401:ff80:1111::/46": "133954", - "2600:140f:ec01::/38": "20940", - "2408:8256:3580::/44": "17623", - "2620:11b:e0be::/48": "8551", - "2001:41a8:605::/32": "6762", - "240e:3b4:c000::/37": "140315", - "2804:2ec4::/32": "265365", - "2a02:26f7:d5c1::/46": "20940", - "2a09:5c0::/29": "202204", - "2a0f:9440::/31": "62240", - "2a10:c704::/32": "211858", - "2402:800:320f::/43": "7552", - "240a:a6b2::/32": "144364", - "2804:14d:cc00::/40": "28573", - "2a01:9e00::/32": "41495", - "2a06:2a80::/29": "201791", - "2a0f:607:1054::/48": "212360", - "2804:14d:4cb5::/46": "28573", - "2a04:f580:9080::/48": "4809", - "2001:4de0:3000::/45": "33438", - "2606:aa00::/32": "3794", - "2a0b:8f80:1::/48": "200746", - "2405:b900:3000::/48": "55701", - "240a:a7d6::/32": "144656", - "2803:d280:9::/32": "264733", - "2804:4::/32": "28667", - "2804:b84::/32": "52788", - "2a02:38::/32": "6881", - "2400:f940:13::/32": "45766", - "2620:122:b000::/48": "46656", - "2804:df0:2000::/32": "262775", - "2a02:2298:4000::/36": "15544", - "2001:470:bd::/48": "16621", - "2001:559:82e4::/48": "7015", - "2600:140b:d000::/48": "7679", - "2600:9000:20d2::/47": "16509", - "2800:160:12ac::/43": "14259", - "2804:414c:fffe::/47": "28204", - "2001:559:4e3::/48": "7016", - "2001:559:c37c::/48": "22317", - "240a:ae85::/32": "146367", - "2804:1e7c::/32": "264432", - "2a02:26f7:9c::/48": "36183", - "2a02:26f7:d6c8::/48": "36183", - "2001:559:86b7::/48": "33668", - "2001:559:c3d6::/48": "33657", - "2001:13b0:8016::/35": "3549", - "2001:1898:2400::/40": "26914", - "2803:bb20::/32": "266752", - "2a02:26f0:119::/48": "34164", - "2001:470:e6::/48": "47787", - "2620:32:c000::/44": "53869", - "2804:a54:41::/32": "262664", - "240a:a271::/32": "143275", - "2606:2e00:800e::/43": "36351", - "2620:13e:3000::/40": "397326", - "2806:2f0:38c::/36": "17072", - "2a00:fa60:1510::/44": "200077", - "2001:678:ac4::/48": "208505", - "2001:dce::/47": "38037", - "2404:af40::/47": "137020", - "2406:840:fd10::/48": "134993", - "2406:e240::/48": "131976", - "2408:840c:3a00::/40": "17621", - "2804:2d8c::/32": "265289", - "2403:c5c0::/32": "207083", - "2404:bf40:8041::/40": "139084", - "2408:8957:4e00::/40": "17622", - "2602:fea7:e00::/40": "32181", - "2804:5e2c::/36": "269016", - "2a02:970:1289::/39": "44002", - "2001:559:c21e::/48": "7922", - "2402:e380:319::/48": "141374", - "2a01:618:8000::/38": "8683", - "2a03:9b80:4000::/34": "5411", - "240a:a4fd::/32": "143927", - "240a:a624::/32": "144222", - "2606:8600::/32": "33604", - "2801:15:c800::/48": "18747", - "2804:300:2001::/48": "53237", - "2804:14c0::/32": "263348", - "2406:23c0::/48": "131409", - "2a0a:2c0:3::/48": "197481", - "2607:9080:605::/48": "62424", - "2804:113c:ac00::/33": "53181", - "2a02:26f7:e884::/48": "36183", - "2a05:8cc0::/29": "201210", - "2a0e:95c0::/29": "47362", - "2401:d800:9110::/42": "7552", - "2405:1c0:6571::/46": "135062", - "2605:a404:55a::/40": "33363", - "2605:ba40::/32": "60171", - "2804:a84:8001::/33": "262296", - "2804:ffc:e002::/35": "263612", - "2804:5bd0::/32": "268870", - "2a11:7400:f2::/48": "50518", - "2401:ff80:1901::/46": "133954", - "2600:100d:b070::/40": "22394", - "2604:4bc0::/36": "11509", - "2605:9200::/32": "36394", - "2800:160:1b87::/44": "14259", - "2a01:5040::/42": "43996", - "2407:4700::/32": "3462", - "240e:7:5800::/28": "4134", - "2600:1010:f010::/39": "22394", - "2620:57::/48": "2640", - "2804:7fd4::/32": "271712", - "2a02:cb80:2a20::/48": "43766", - "2001:1248:5b7f::/40": "11172", - "2404:138:4003::/48": "38022", - "240a:af7b::/32": "146613", - "2804:4760:c002::/34": "267050", - "2804:5dac::/32": "52984", - "2804:7e04::/32": "271597", - "2a02:26f0:88::/48": "34164", - "2001:44b8:4052::/48": "7545", - "240a:a54b::/32": "144005", - "240a:ab0d::/32": "145479", - "2600:1904::/28": "15169", - "2600:3408:700::/29": "4181", - "2804:1044::/32": "263627", - "2804:3154::/32": "265007", - "240a:a628::/32": "144226", - "240a:a83a::/32": "144756", - "2600:370f:342f::/41": "32261", - "2604:7580::/32": "46873", - "2620:171:56::/44": "42", - "2804:291c:2000::/33": "263998", - "2001:559:86c1::/48": "33491", - "2a02:26f7:e104::/48": "36183", - "2a0c:7e43:2e10::/48": "20473", - "2001:4878:8048::/48": "12222", - "2402:4200:1200::/48": "24284", - "240a:aa56::/32": "145296", - "2801:13:8800::/48": "269758", - "2803:18a0::/32": "266805", - "2a02:26f7:f640::/48": "36183", - "2a04:4e40:f000::/48": "54113", - "2001:559:80b6::/48": "33652", - "2409:8915:7200::/39": "56044", - "2600:1001:b030::/40": "22394", - "2600:1800:6::/44": "16552", - "2804:6ef8::/35": "270630", - "2a00:c1a0::/32": "16202", - "2a01:560::/29": "34087", - "2a0f:f680::/29": "60262", - "240a:a4d0::/32": "143882", - "2804:2c58::/35": "265211", - "2a00:ae00::/29": "34263", - "2a0d:e8c0::/47": "35829", - "240a:aebd::/32": "146423", - "2001:559:42c::/48": "33657", - "2001:fd8:1e1::/46": "4775", - "2405:3c00::/32": "24437", - "2001:67c:2668::/48": "31566", - "2408:8459:7a10::/42": "17623", - "2804:6c0c::/32": "270442", - "2a01:358:4028::/48": "47331", - "2607:9a00::/32": "35916", - "2804:54a0:1e00::/32": "27688", - "2402:800:73f0::/37": "7552", - "2402:6f40:1::/48": "4812", - "240e:3bc:9200::/36": "140317", - "2a02:26f7:d241::/46": "20940", - "2a02:26f7:d749::/46": "20940", - "2620:22:e000::/48": "64273", - "2804:3368::/32": "265394", - "2a0e:fd45:b72::/44": "212744", - "2604:9d40:120::/48": "6315", - "2001:4998:3c::/48": "14780", - "2405:58c0:4100::/38": "133101", - "2600:1000:f010::/40": "22394", - "2a05:a740::/29": "42926", - "2001:678:b7c::/48": "207871", - "2600:3500:c000::/31": "396998", - "2804:14c:8581::/45": "28573", - "2804:5ba8:4000::/32": "268861", - "2804:70e8::/32": "270755", - "2408:8956:c800::/39": "17622", - "240a:a32d::/32": "143463", - "240e:3b5:7a00::/32": "140313", - "240e:473:9b50::/40": "4134", - "2804:5890::/32": "268136", - "2a02:26f7:f644::/48": "36183", - "2001:56b:10::/33": "852", - "2620:cc:4000::/48": "3356", - "2804:5ac8::/32": "268796", - "2a02:26f7:ec44::/48": "36183", - "2001:c80:84::/32": "4673", - "2600:1415:c01::/35": "20940", - "2600:370f:7585::/42": "32261", - "2804:7044::/32": "270716", - "2a02:1006:c0f0::/48": "3320", - "2602:fe64:4::/44": "396881", - "2806:2f0:7101::/42": "17072", - "2a02:a00:10::/35": "15987", - "2a05:45c7::/48": "202175", - "240a:ac5e::/32": "145816", - "2602:fcf6:104::/48": "49780", - "2603:f8f0::/29": "40676", - "2606:2c40::/48": "209242", - "2a02:2fc0::/29": "12586", - "2a06:e881:4405::/48": "203801", - "2804:58e8::/32": "268157", - "2a02:26f7:e9::/48": "20940", - "2a0e:fd45:b80::/41": "44103", - "2001:559:805d::/48": "7725", - "2001:df0:425::/48": "131475", - "2001:4490:4e70::/46": "9829", - "2600:1006:9150::/36": "22394", - "2a02:cb80:40f0::/48": "43766", - "2001:df3:180::/48": "132010", - "2401:d800:b180::/42": "7552", - "2a02:4c8::/40": "9070", - "2a02:2380:ff00::/48": "51941", - "2a02:26f7:d3ca::/42": "20940", - "2a02:26f7:f605::/46": "20940", - "2a03:4760::/32": "201457", - "2a0b:1306:4::/48": "198018", - "2408:8956:5400::/40": "17622", - "2620:99:e000::/48": "46642", - "2803:cda0::/32": "267788", - "2804:5a94::/32": "268782", - "2a01:7a5::/30": "29066", - "2a04:2e80:17::/48": "50294", - "2406:3003:2060::/43": "55430", - "240a:a4dc::/32": "143894", - "2600:1006:b070::/40": "22394", - "2620:1e0:311::/46": "10801", - "2804:629c::/32": "269307", - "2a06:ed40::/29": "203450", - "2401:400::/32": "7604", - "2604:3a80::/32": "33130", - "2804:46f0:81::/41": "267021", - "2804:4a24:6::/48": "267221", - "2a0e:8f02:2040::/44": "212746", - "2001:fb1:190::/36": "17552", - "2401:d800:9b90::/42": "7552", - "2803:9800:a507::/36": "11664", - "2804:1658:1009::/32": "263283", - "2a01:8840:b9::/48": "207266", - "2a03:cac0:2::/48": "61149", - "240e:473:2320::/41": "140486", - "2800:300:65e0::/36": "27986", - "2801:194::/44": "18747", - "2803:3620::/32": "265867", - "2804:70a4::/32": "270739", - "2804:7168::/32": "270787", - "2a0b:8e80::/47": "43824", - "2001:559:2f7::/48": "22258", - "2404:0:8040::/38": "131591", - "2604:f980:4480::/43": "19957", - "2a05:ef00::/29": "202536", - "2804:fe0:2450::/40": "263049", - "2001:2000:9000::/40": "3301", - "2400:fc00:8550::/40": "45773", - "2402:800:9d01::/44": "7552", - "240a:a76b::/32": "144549", - "2600:1413:2::/36": "20940", - "2604:f440::/45": "397423", - "2803:c760::/32": "269819", - "2804:4ee4::/32": "268289", - "2a01:210::/32": "8510", - "2604:eb00:201::/32": "19212", - "2607:f740:e051::/48": "63911", - "2a0d:3a00::/29": "208133", - "2a05:4e40::/32": "49808", - "2001:e48:122:25::/64": "135732", - "2402:800:9939::/41": "7552", - "2405:205:d000::/34": "55836", - "240e:938:f920::/25": "4134", - "2800:800:900::/44": "26611", - "2806:2f0:4304::/42": "17072", - "2a01:ce83:1000::/34": "51964", - "240a:a95d::/32": "145047", - "240e:44d:4800::/41": "140345", - "2606:8f80:1::/48": "6327", - "2804:5dc:48::/40": "53019", - "2804:7638::/32": "271097", - "2001:67c:780::/48": "200643", - "2001:1978:202::/48": "13768", - "240a:a196::/32": "143056", - "2600:1006:b170::/40": "22394", - "2607:f060:b005::/33": "11404", - "2803:b000::/32": "27975", - "2804:6a8c::/32": "270343", - "2a0e:aa07:e00a::/48": "207454", - "2a02:2420::/32": "197075", - "2001:559:7ea::/48": "7922", - "2001:67c:17d0::/48": "5588", - "2401:b80:4000::/32": "133334", - "2408:80f1:40::/44": "138421", - "2604:f980:6100::/40": "19957", - "2605:1980:204::/47": "13951", - "2804:2064::/32": "262433", - "2a02:f842::/29": "199483", - "2001:559:c3fb::/48": "33659", - "2001:1650::/32": "24776", - "2405:1c0:6711::/45": "135062", - "2804:1010:5000::/34": "263617", - "2804:10e0:1000::/38": "263653", - "2a0a:aa40::/32": "205668", - "2a0e:8f02:215f::/48": "211869", - "2001:1900:2365::/48": "3356", - "2406:c800::/32": "38016", - "2407:2f40::/48": "140787", - "2409:8019:4000::/32": "9808", - "2604:3d09:f000::/38": "6327", - "2804:6e74::/32": "270598", - "2001:5a0:4403::/38": "6453", - "2401:4900:3380::/44": "45609", - "2401:7200:2010::/47": "55328", - "240a:a728::/32": "144482", - "2806:230:6006::/48": "265594", - "2001:1248:8600::/39": "11172", - "2405:9800:c915::/46": "45458", - "2607:fe50::/32": "5661", - "2620:104:6000::/48": "2386", - "2800:160:2184::/43": "14259", - "2801:80:d10::/48": "264396", - "2804:7174::/32": "270790", - "2a06:5040:8::/47": "60188", - "2001:559:81ca::/48": "7922", - "2404:1fc0::/35": "133217", - "2606:2800:404a::/45": "14210", - "2620:138:b000::/46": "16740", - "2620:149:1170::/38": "714", - "2804:3be4::/32": "266178", - "2a05:3580:24::/46": "35807", - "2001:559:c0c2::/45": "33657", - "2001:67c:2ab8::/48": "3301", - "240a:a0a4::/32": "142814", - "2606:2800:4ad0::/47": "15133", - "2803:4220::/32": "27843", - "2804:1078::/32": "263637", - "2804:2cac::/35": "265234", - "2406:3003:2080::/48": "55430", - "240e:67a:c600::/34": "4134", - "2001:559:798::/47": "33287", - "2001:559:8224::/48": "7725", - "2600:380:d980::/41": "20057", - "2a01:280:1::/48": "12381", - "2a0e:b107:15a8::/46": "142597", - "2001:559:8766::/48": "7016", - "240e:474::/23": "4134", - "2607:f710:47::/48": "19624", - "2620:0:1000::/40": "45566", - "2806:2f0:23e4::/43": "22884", - "2a02:26f7:cb48::/48": "36183", - "2a02:2e02:83b0::/41": "12479", - "2001:559:839a::/48": "33287", - "240e:438:2220::/43": "140647", - "2605:dcc0::/35": "398570", - "2607:f699::/32": "53999", - "2607:fc48:c10::/48": "40009", - "2804:6104::/32": "269206", - "2a02:2149:c000::/34": "1241", - "2404:bf40:8580::/46": "45887", - "2407:2d00::/32": "14381", - "2607:6980:50b0::/44": "20473", - "2a00:9640::/41": "57710", - "2001:67c:2084::/48": "44030", - "2605:b40::/32": "397142", - "2800:484:400::/38": "10620", - "2806:230:4021::/48": "11888", - "2806:109f:7::/44": "8151", - "240a:ae17::/32": "146257", - "2806:230:601d::/48": "11888", - "2800:bf0:2300::/47": "52257", - "2001:559:c093::/48": "33657", - "2001:48c0:4::/32": "14589", - "2402:800:9a71::/44": "7552", - "2402:7500:800::/38": "24158", - "2408:8256:3b6c::/43": "17623", - "240e:fe:e000::/35": "136199", - "240e:108:80::/48": "23724", - "2a02:ee80:2020::/43": "3573", - "2a11:9c00::/40": "213354", - "2a07:59c6:ec21::/48": "206313", - "2001:559:c0f3::/45": "7922", - "2001:1840:c0b0::/44": "5400", - "2408:8456:ef40::/40": "17816", - "240a:a9ef::/32": "145193", - "2606:7100:3100::/48": "395831", - "2607:fb50:1a00::/34": "46253", - "2801:15c::/48": "14080", - "2a00:ef8::/32": "13243", - "2a04:9ac2::/32": "20766", - "2001:559:824f::/48": "33657", - "240e:1a:2000::/29": "4134", - "2605:89c0::/32": "16556", - "2610:28:5031::/32": "81", - "2a02:8388::/31": "8412", - "2a06:7280::/29": "204096", - "2a0a:3b40::/34": "207974", - "2001:500:13::/48": "393225", - "2001:559:827e::/48": "7922", - "240a:a307::/32": "143425", - "2803:f080:8900::/43": "64120", - "2804:204:261::/44": "28186", - "2406:800::/32": "23661", - "2408:8957:4500::/40": "17816", - "240e:108:1080::/48": "132153", - "2603:c0e0:1000::/38": "54253", - "2001:1248:55a1::/45": "11172", - "2600:1409:2::/48": "35994", - "2804:14c:bb8f::/43": "28573", - "2a02:2e02:d50::/42": "12479", - "2a0d:5642:115::/48": "35487", - "2001:67c:244c::/48": "39293", - "2400:fc00:8d50::/35": "45773", - "240a:aac8::/32": "145410", - "2602:fe19:399a::/33": "26073", - "2607:fbc0::/32": "7029", - "2a01:4b40::/34": "21299", - "2602:fef0::/47": "396388", - "2620:149:a1f::/42": "714", - "2800:5f0:3022::/45": "22724", - "2a00:d880:5::/32": "198203", - "2a02:61a0::/32": "41937", - "2a03:db05::/32": "28832", - "2a03:ff40::/33": "61102", - "2a05:6200:75::/32": "201630", - "2a0b:37c0::/29": "205728", - "2001:559:3f2::/47": "7015", - "2603:c0e0::/39": "54253", - "2001:559:8542::/47": "33651", - "2001:16e8::/32": "25542", - "2404:f780:b::/48": "206607", - "2406:e4c0::/48": "140766", - "2408:8459:4cc0::/38": "17816", - "2804:1980::/32": "61798", - "2804:739c::/32": "270926", - "2a02:26f7:cc88::/48": "36183", - "2001:559:8052::/47": "20214", - "2001:559:c3b4::/48": "7922", - "2408:8459:a830::/41": "17622", - "2804:21dc::/32": "264578", - "2a02:26f7:be40::/48": "36183", - "2001:c80:c000::/34": "4673", - "2408:864e::/27": "4837", - "2a0e:fd45:6938::/47": "207972", - "2001:559:c2d6::/47": "7922", - "2408:893a::/32": "4837", - "2806:230:600c::/48": "265594", - "2a0b:1b80::/32": "206521", - "2a0f:5500::/29": "211546", - "2402:9b00:84::/32": "45796", - "2406:4a00:900::/40": "56038", - "2604:d600:c12::/47": "32098", - "2804:2c58:1010::/39": "265211", - "2001:df6:e500::/47": "18030", - "2407:9440::/47": "141626", - "2408:8956:f4c0::/38": "17816", - "240e:f7:1000::/36": "4134", - "240e:67a:c400::/39": "140330", - "2400:3740::/32": "136000", - "2605:db80::/32": "5742", - "2a0e:fd45:e81::/39": "44103", - "2001:559:8074::/48": "7922", - "2408:8456:2e00::/41": "17623", - "2804:330::/35": "53240", - "2a00:1338::/32": "8878", - "2a02:1778::/32": "41079", - "2607:fb10:7162::/40": "2906", - "2a02:26f0:9101::/38": "20940", - "2a03:a0e0::/32": "44493", - "2a0c:7e42:f776::/48": "20473", - "2a0d:3b00::/29": "204939", - "2402:800:5ab7::/41": "7552", - "240a:a090::/32": "142794", - "2a01:abe0::/32": "199786", - "2a02:67e0:4000::/32": "203148", - "2a0e:97c0:39b::/45": "211437", - "2600:5c00:14::/36": "10838", - "2606:4700:5d::/40": "13335", - "2620:11a:a026::/44": "43515", - "2804:1320::/36": "263517", - "2804:3204::/32": "265051", - "2804:43c0::/33": "267588", - "2a03:37a0::/32": "59755", - "2409:807c:3900::/33": "9808", - "2620:126:e000::/48": "21556", - "2a04:9a00:1040::/45": "212157", - "2620:df:4002::/44": "16509", - "2804:3dc0::/32": "266551", - "2a02:2870::/33": "25459", - "2a03:5a00:13::/48": "197858", - "2001:67c:207c::/48": "39913", - "2001:4408:6d10::/38": "4758", - "2600:100a:b100::/42": "6167", - "2a07:24c0::/29": "203235", - "2403:5740::/32": "135872", - "240e:968:2000::/36": "63835", - "2600:1480:a000::/40": "33905", - "2606:5480:1000::/36": "21722", - "2a03:efc0:200::/40": "33438", - "2a0e:b107:a0::/44": "209218", - "2001:49f0:d03f::/41": "174", - "2800:160:13a1::/46": "14259", - "2804:358::/39": "53246", - "2a02:26f0:129::/43": "20940", - "2607:f738:300::/41": "17184", - "2a02:26f7:f688::/48": "36183", - "240a:a6d6::/32": "144400", - "240e:3b0:9c00::/34": "140310", - "2600:1007:9010::/40": "22394", - "2607:f8f0:6a0::/48": "55185", - "2001:559:176::/47": "7015", - "2409:8087:3c00::/33": "9808", - "240e:6b9:3000::/32": "4134", - "2602:ff96:10::/48": "26548", - "2804:2dd8::/32": "265307", - "240a:ab54::/32": "145550", - "2604:65c0:101::/32": "14585", - "2a01:798::/29": "29695", - "2a01:c50e:2900::/35": "12479", - "2a02:bf0:8000::/33": "25106", - "2607:f8f0:690::/48": "271", - "2607:fb58:f003::/36": "36086", - "2804:1cc4:400::/32": "61674", - "2a01:73e0:a000::/33": "47872", - "2a02:26f7:b645::/46": "20940", - "2a04:d80::/32": "20895", - "2a0c:9a40:8118::/46": "204438", - "2001:579:b11c::/40": "22773", - "2405:6e00:2600::/41": "133612", - "2408:863c::/31": "4837", - "240a:a6e9::/32": "144419", - "240a:ac76::/32": "145840", - "2a00:c020:1000::/34": "200414", - "2403:1300::/34": "56286", - "2804:1f46::/33": "268989", - "2a01:7fe0::/32": "199803", - "2605:fb40::/33": "40050", - "2804:7b8::/32": "262315", - "2804:31ec::/32": "265045", - "2804:7e18:8900::/33": "271602", - "2a01:52e0::/32": "57325", - "2a07:7f40::/29": "39500", - "2a0f:9400:7b08::/47": "210872", - "2001:559:c133::/48": "33657", - "2a02:26f7:dac1::/46": "20940", - "2a02:2891:10::/46": "51185", - "2a06:e040:7604::/32": "198507", - "240a:ab2f::/32": "145513", - "240e:473:8600::/41": "140485", - "2604::/40": "7397", - "2620:1d5:c03::/40": "14773", - "2803:5900:b::/48": "263175", - "2a01:5043:eff::/48": "202196", - "2a04:4e40:4810::/41": "54113", - "2001:470:c7::/44": "6939", - "2001:559:4b7::/48": "7922", - "2804:7cf8::/39": "271530", - "2001:579:c0df::/39": "22773", - "2804:3234::/32": "265062", - "2a02:6b8:6665::/32": "208722", - "2a02:26f7:d405::/46": "20940", - "2001:559:8357::/48": "20214", - "2401:d800:29e0::/38": "7552", - "2401:d800:d2e0::/39": "7552", - "2620:a5:c000::/48": "27625", - "2a07:e040::/32": "44486", - "2001:559:8202::/48": "33667", - "2001:bf7:1310::/42": "206813", - "2001:df0:fc00::/48": "18229", - "240a:a504::/32": "143934", - "2a0f:c100::/29": "56485", - "2001:559:4ca::/48": "33287", - "2001:559:525::/48": "7922", - "2402:e380:310::/48": "138632", - "2408:8256:3d8a::/48": "17623", - "2409:8087:7100::/37": "9808", - "240e:967:3000::/32": "4134", - "2604:880:d::/46": "29802", - "2408:8256:358e::/48": "17623", - "2600:1008:9000::/44": "6167", - "2804:1578::/32": "61906", - "2a05:f7c0::/29": "43260", - "2001:559:28c::/48": "33287", - "2001:df0:2fd::/48": "17436", - "2408:84f3:2c10::/44": "17623", - "2a00:6fa0::/34": "49206", - "2001:559:c31d::/48": "7015", - "2402:800:321d::/42": "7552", - "2409:8907:6b20::/37": "24547", - "240e:981:300::/36": "4134", - "2804:28c8::/32": "263980", - "2001:559:5a2::/45": "7922", - "2409:8915:2600::/40": "56044", - "2a10:fe00::/32": "208560", - "2001:559:818b::/48": "33287", - "2801:1e:800::/48": "3816", - "2804:4488:9010::/44": "262480", - "2001:559:1e3::/48": "33491", - "240a:a169::/32": "143011", - "2804:59b8::/32": "268721", - "2a0a:4980::/29": "57112", - "240a:a6ae::/32": "144360", - "2803:6900:553::/48": "52423", - "2a01:c00::/26": "6805", - "2a0e:44c0::/29": "39371", - "2001:559:86f4::/47": "33651", - "2408:8957:8d00::/40": "17816", - "2607:f060::/36": "11404", - "2403:300:a15::/48": "714", - "2404:e00:265::/48": "15695", - "2804:20b4::/34": "264509", - "2a02:2698:a000::/48": "42682", - "2a0f:32c0::/29": "60262", - "2001:559:81f2::/48": "33652", - "240e:473:8800::/41": "140485", - "240e:6bb:3000::/29": "4134", - "2a10:2ec7:d000::/36": "208861", - "2001:559:820e::/48": "13367", - "2001:4490:4e2c::/46": "9829", - "2405:f580::/32": "132019", - "2406:840:8000::/36": "142438", - "240e:473:5650::/39": "4134", - "2600:1402:1001::/37": "20940", - "2804:3358::/32": "265390", - "2405:ec00::/45": "23955", - "2804:54bc::/32": "268667", - "2a04:bac0::/29": "198610", - "2a09:400:4000::/32": "208861", - "2001:559:48d::/48": "7922", - "2001:df3:d500::/48": "137399", - "2408:8256:3960::/44": "17623", - "2605:2800:c301::/34": "6922", - "2607:f130::/32": "35916", - "2402:3a80:1080::/41": "38266", - "240a:a38e::/32": "143560", - "2804:2ec0::/32": "265364", - "2a02:26f7:e0c8::/48": "36183", - "2a02:26f7:f6f5::/46": "20940", - "2001:252::/32": "23911", - "2001:559:83de::/48": "33662", - "2001:850::/29": "8447", - "2001:890:c000::/34": "8562", - "2806:2f0:20e1::/46": "22884", - "2a03:69c0:100::/40": "49981", - "2a0c:31c0::/29": "203523", - "2001:1388:5e0a::/34": "6147", - "2404:c000::/46": "45147", - "240a:aa20::/32": "145242", - "2800:160:19ca::/45": "14259", - "2801:1e:6800::/48": "14080", - "2a02:26f0:4500::/48": "34164", - "2a02:26f0:6c01::/39": "20940", - "2001:43f8:391::/48": "327775", - "2605:3380:4127::/43": "12025", - "2a03:2a60:8000::/47": "59871", - "2a06:8143:9d9d::/48": "199364", - "2600:1001:9010::/40": "22394", - "2a01:8300::/32": "20681", - "2a02:26f7:b9c0::/48": "36183", - "2a02:2878:c000::/34": "42699", - "2a03:ec00:b300::/40": "24921", - "240e:473:2400::/41": "140485", - "2605:e000:1c00::/32": "20001", - "2607:9080:105::/48": "7018", - "2a03:5640:f530::/46": "16509", - "2a0a:f240::/29": "205820", - "2a0d:8bc0::/29": "57756", - "2602:fe4c::/36": "397427", - "2605:a940::/32": "15171", - "2a02:26f7:d388::/47": "36183", - "2a0c:5242::/32": "208861", - "240a:afd5::/32": "146703", - "2607:f740:70::/48": "36236", - "2a02:26f7:f344::/48": "36183", - "240e:438:aa20::/43": "140647", - "2604:d600:c71::/44": "32098", - "2620:85:8000::/48": "46453", - "2800:4d0:248a::/45": "7004", - "2804:14c:bb00::/40": "28573", - "2a00:ab40::/34": "41798", - "2402:e7c0:1000::/32": "59078", - "240a:a729::/32": "144483", - "2803:9800:a905::/46": "11664", - "2806:2f0:9401::/41": "17072", - "2a0b:4d07:601::/46": "44239", - "2001:1248:56dc::/42": "11172", - "2606:cc00::/32": "5760", - "2620:13b:3000::/48": "13607", - "2a06:7a00::/48": "49544", - "2401:3c00:40::/43": "38322", - "2804:7670::/32": "271112", - "2401:4900:5090::/42": "45609", - "2604:f980:3000::/36": "19957", - "2804:510c::/33": "61594", - "2806:1000:cfff:2::/34": "8151", - "2408:8456:b040::/38": "17816", - "2408:8406:9c00::/39": "4808", - "2401:4900:1c08::/46": "24560", - "2402:1b80:400::/35": "63956", - "2602:ff52::/48": "394923", - "2800:630::/32": "7049", - "2a0b:fd00::/32": "57119", - "2001:4490:d340::/46": "9829", - "2402:800:9d47::/43": "7552", - "240a:aa02::/32": "145212", - "2620:11d:9000::/48": "14805", - "2a00:7b00::/43": "12338", - "2a00:aa40::/32": "15415", - "2a03:c980:b239::/48": "210079", - "2a10:2140::/29": "205843", - "240a:a1e0::/32": "143130", - "2620:119:e000::/43": "30337", - "2a02:587:501b::/40": "6799", - "2a0c:4dc0:2::/29": "203959", - "2001:67c:1894::/48": "3301", - "240e:3bf:c800::/37": "4134", - "2600:1409:f801::/30": "20940", - "2803:9800::/33": "11664", - "2804:128c::/32": "263483", - "2a0c:9a40:10a0::/48": "213288", - "2001:df5:f680::/48": "135718", - "2607:9800:c104::/44": "15085", - "2a06:ecc0::/29": "12552", - "2401:d800:b7d0::/36": "7552", - "2402:800:9b1d::/42": "7552", - "240e:67b:c400::/39": "140330", - "2804:3684::/32": "266353", - "2806:2f0:2400::/48": "17072", - "2a0e:8f02:f032::/48": "211242", - "240e:37e:aa00::/39": "140330", - "2804:30b8:ac::/43": "28154", - "2a09:2dc2::/32": "43180", - "2a0b:bc80::/29": "42924", - "2001:c20:c83a::/45": "3758", - "2405:7d00::/32": "23777", - "2806:2f0:91e2::/38": "17072", - "2a10:bb40::/29": "41050", - "2404:6d40::/32": "138810", - "2620:9:c000::/48": "23099", - "2804:140::/32": "53138", - "2610:a1:1025::/48": "397237", - "2620:160:e340::/44": "4196", - "2a02:2808:2001::/48": "47909", - "2a0f:5707:abd0::/44": "210881", - "2c0f:f2a8::/32": "327960", - "2402:800:51e0::/44": "7552", - "2408:8956:7200::/40": "17622", - "2607:f150:ffff::/48": "3601", - "2610:a1:3068::/48": "12008", - "2a0c:7e42:993c::/48": "20473", - "2001:1248:871b::/45": "11172", - "2408:840d:8200::/42": "17621", - "2604:4600::/28": "19531", - "2804:4ca0:2::/39": "267381", - "2a02:26f7:e985::/46": "20940", - "2001:559:c262::/48": "33659", - "2804:204:210::/47": "28186", - "2804:8094::/32": "271760", - "2a00:1370:f201::/36": "25513", - "2a01:7a4::/32": "34289", - "2a02:26f7:f984::/48": "36183", - "2a06:e881:7000::/44": "208226", - "2001:550:105::/44": "174", - "2001:559:8396::/48": "33659", - "2401:f40::/44": "134732", - "2804:24b0:ffff::/48": "264238", - "2600:6c38:1ca::/43": "20115", - "2602:806::/40": "16904", - "240e:980:4700::/40": "131325", - "2a02:26f7:62::/48": "36183", - "2408:8957:6000::/40": "17622", - "2409:8078:1900::/34": "9808", - "240a:a073::/32": "142765", - "240a:a575::/32": "144047", - "2001:559:b::/48": "33657", - "2403:5800:1::/48": "136943", - "2a00:5f00::/32": "51055", - "2404:bf40:f802::/37": "139084", - "2804:5ec::/32": "28143", - "2804:59fc:c000::/34": "268738", - "2a03:85c1:925c::/48": "12085", - "2a04:5b81:1000::/40": "202265", - "2a0e:800:6666::/48": "139833", - "2401:e80::/32": "38293", - "2804:5394::/32": "268593", - "2a00:c920::/32": "197415", - "2001:67c:21e4::/48": "51634", - "2405:4803:d4c4::/36": "18403", - "2a04:db80::/32": "44724", - "2a10:2f01:2b0::/46": "205635", - "2801:80:22e0::/48": "267086", - "2804:4c14:db01::/34": "267348", - "2a00:1fc3::/32": "41209", - "2a0a:3e00::/29": "64411", - "2001:d28::/32": "9621", - "2804:14d:d682::/41": "28573", - "2a02:26f0:69::/43": "20940", - "2a09:d980::/29": "209681", - "2c0f:f0c8::/32": "328037", - "2001:1b28:405::/48": "51103", - "240e:44d:4280::/41": "4134", - "2400:4480:2000::/48": "17426", - "240a:a11c::/32": "142934", - "2001:16a2:8030::/45": "25019", - "2407:4000:5::/32": "38005", - "2605:e740::/40": "398710", - "2607:7000::/32": "25905", - "2607:f4a0:5011::/32": "11272", - "2a00:e78:7000::/36": "34602", - "2a01:4c8::/32": "12576", - "2408:8256:3590::/44": "17623", - "2607:fcd0:fa80:8d00::/54": "8100", - "2a0b:1306:6::/44": "198018", - "2a0b:6a00::/29": "207056", - "2001:559:424::/48": "33657", - "2408:8957:21c0::/38": "17622", - "2600:9000:10cb::/48": "16509", - "2604:d600:15f4::/44": "32098", - "2804:d3c::/32": "52613", - "2806:108e:2::/47": "8151", - "2409:8735::/28": "9808", - "2604:d600:c38::/46": "32098", - "2400:da00::/37": "38365", - "240a:ad24::/32": "146014", - "2602:fd6f:1::/48": "4785", - "2801:80:25f0::/48": "268716", - "2a03:9c40:400::/48": "34655", - "2800:160:144a::/47": "14259", - "2a02:868:4012::/36": "13247", - "2001:559:792::/48": "7922", - "2001:ee0:9b40::/37": "45899", - "240e:44d:b00::/41": "140345", - "240e:473:8320::/41": "140486", - "2600:1406:1a01::/37": "20940", - "2804:7874::/32": "271243", - "2a00:ef80::/32": "35334", - "2407:d340:fff0::/44": "2914", - "240a:a0cb::/32": "142853", - "2606:8000::/32": "17253", - "2a02:5320:100::/40": "12189", - "2a0a:e6c0::/29": "197075", - "240e:438:b340::/43": "140647", - "2804:14d:7281::/45": "28573", - "2804:d40::/28": "7738", - "2804:4da8::/32": "268211", - "2804:5784::/32": "268069", - "2a0e:46c4:1310::/47": "142598", - "2404:8000:101a::/42": "17451", - "2606:af80::/32": "25710", - "2800:160:142a::/45": "14259", - "2405:2000:ff00::/40": "6453", - "2a04:8e80::/48": "199937", - "2001:559:c02f::/43": "20214", - "2001:1248:9619::/45": "11172", - "2a04:71c7::/32": "206583", - "2a0a:7d40::/32": "49127", - "2a0b:4341:a14::/48": "57695", - "2402:5380::/32": "63980", - "2408:8956:e900::/40": "17816", - "2606:ae00:bec1::/42": "7287", - "2001:559:305::/48": "33651", - "2602:fd50:200::/40": "207609", - "2001:df0:9580::/48": "134868", - "240e:950:1000::/33": "4134", - "2600:1409:6001::/36": "20940", - "2600:1411:1::/48": "24319", - "2606:3c00:f010::/36": "20365", - "2a09:9000::/29": "34907", - "2a0b:4540::/29": "42011", - "2404:c400:9000::/36": "133321", - "2409:8050:3800::/47": "56047", - "240a:ae6d::/32": "146343", - "240e:3bd:dc00::/34": "4134", - "2a07:acc0::/29": "39899", - "2001:400:201:7::/57": "293", - "2804:15e4:6::/32": "53001", - "2806:2f0:80e1::/39": "17072", - "2a01:66c0::/32": "58308", - "240a:ac6d::/32": "145831", - "2804:938::/32": "263062", - "2804:ab4::/32": "52909", - "2804:1954::/32": "61787", - "2804:4d5c::/32": "268192", - "2a00:e66::/31": "200519", - "2620:19:4000::/48": "395611", - "2402:e80:41::/48": "23901", - "240a:ac48::/32": "145794", - "2804:3ed8::/32": "266624", - "2a02:26f7:c744::/47": "36183", - "2a03:db02::/32": "25086", - "2a02:27b8:1111::/46": "49278", - "2001:df0:1e::/50": "38794", - "2409:8c1f:8fa0::/34": "9808", - "240a:a394::/32": "143566", - "2600:1417:54::/48": "20940", - "2606:3240::/33": "399252", - "2620:1f:8002::/48": "10908", - "2a02:26f0:77::/48": "34164", - "2400:8b00:f80::/42": "45727", - "2804:66dc::/32": "269587", - "2a10:2780::/29": "3356", - "2001:559:8275::/46": "7922", - "2607:f220::/44": "26810", - "2803:dac0:a::/43": "265634", - "2804:776c::/32": "271177", - "2408:8456:c200::/42": "17622", - "2804:33cc::/32": "28656", - "2806:2f0:6141::/42": "17072", - "2001:559:805c::/48": "33657", - "2001:1248:a576::/44": "11172", - "240a:a90e::/32": "144968", - "240a:aa3f::/32": "145273", - "240e:62::/34": "140308", - "2600:9000:223a::/48": "16509", - "2620:101:e000::/47": "46646", - "2001:559:7ff::/48": "33287", - "2001:1348::/32": "27750", - "2405:1c0:6531::/45": "135062", - "2405:ec00:9054::/33": "23955", - "2804:720c::/32": "270829", - "2001:559:320::/48": "7922", - "2804:10f8::/32": "52783", - "2804:6300::/33": "262898", - "2a02:4a00::/32": "48638", - "2a04:7501::/32": "62373", - "2a0c:1b80::/29": "50873", - "2001:3c8:1306::/48": "137198", - "2001:43f8:1702::/47": "328365", - "2404:4a00:7000:1::/37": "45629", - "2405:4000:800:6::/63": "7470", - "2620:106:e00f::/48": "22518", - "2402:800:3a0f::/43": "7552", - "2402:3a80:1300::/41": "38266", - "2620:171:1::/46": "42", - "2804:1068::/34": "263634", - "2001:67c:2108::/48": "41446", - "2001:1248:703a::/41": "11172", - "2602:ffc5:d10::/44": "7489", - "2804:4544:d800::/40": "266915", - "2409:8b44::/28": "24445", - "2409:807c:100::/36": "9808", - "240a:a017::/32": "142673", - "2620:0:61f::/48": "6223", - "2806:230:101f::/48": "11888", - "2a09:8ac0::/32": "205718", - "2001:559:281::/48": "20214", - "2001:559:8360::/47": "7922", - "2a02:26f7:f504::/48": "36183", - "2a03:e40:47::/32": "202042", - "2a06:6980::/29": "34318", - "2a07:ae00::/31": "51299", - "2a07:ef40::/29": "204860", - "2804:1a9c::/32": "61871", - "2804:2f34::/35": "264877", - "2804:700c::/32": "270703", - "2804:77c4::/36": "271198", - "2a01:6c60:3000::/36": "39535", - "2001:559:c382::/48": "13367", - "2001:67c:1a0::/48": "5603", - "2401:d800:db0::/41": "7552", - "2a02:a30::/39": "8926", - "2a03:6947:300::/37": "61266", - "2001:559:1e7::/48": "33657", - "2400:ca07:f036::/36": "23688", - "2405:f080:1000::/37": "136907", - "2409:8000:5c00::/40": "56048", - "2606:ce80:6900::/40": "33438", - "2620:11b:e0f0::/47": "560", - "2a00:cb8:353::/48": "15695", - "240e:3b2:f100::/36": "4134", - "2620:d1:4000::/47": "36324", - "2a02:26f7:d3::/48": "20940", - "2402:ef1e:100::/47": "7633", - "2405:1c0:6831::/45": "135062", - "240e:473:4b20::/41": "140486", - "2804:146c::/32": "263329", - "2001:550:4201::/37": "174", - "2403:6a40:1000::/34": "135967", - "2607:fc48:c00::/48": "40009", - "2804:2f30:6c40::/40": "53096", - "2a04:5c85:1000::/36": "42570", - "2a0b:d440::/29": "204586", - "2804:14c:878e::/43": "28573", - "2a02:26f0:ae::/43": "20940", - "2a0e:46c4:1100::/40": "137490", - "2a0f:f800::/29": "48603", - "2a10:8441:110::/47": "50455", - "240a:a4da::/32": "143892", - "2604:e180:5001::/32": "55002", - "2604:cc80::/32": "62488", - "2a02:26f7:e909::/42": "20940", - "2a02:8383:8000::/29": "8412", - "2001:480:b0::/48": "5132", - "2001:56a:c::/47": "852", - "2800:160:1c93::/44": "14259", - "2804:5ef4::/32": "269067", - "2a06:1301:4003::/48": "49718", - "2001:44b8:1065::/48": "4739", - "2620:111:1004::/47": "18469", - "2804:6fc8:3e00::/39": "270684", - "2a02:26f7:c3d5::/44": "20940", - "2a02:ee80:405a::/42": "3573", - "2a04:4a45:10::/32": "206067", - "2a0e:b107:230::/48": "209419", - "2001:559:ba::/47": "33654", - "2001:1248:5988::/43": "11172", - "2600:9000:117c::/48": "16509", - "2804:1c54::/32": "61650", - "2804:1ce4:4000::/32": "61681", - "2a03:47c0:2401::/40": "21277", - "2402:ef17::/33": "7633", - "240e:95a:4000::/31": "4134", - "2801:80:ef0::/48": "264185", - "2804:53cc::/32": "268607", - "2806:369::/32": "265612", - "2a07:6b40::/29": "559", - "2600:100e:f110::/36": "6167", - "2600:1404:a000::/48": "35994", - "2607:5800::/32": "10320", - "2620:74:21::/48": "397197", - "2a02:26f7:b649::/42": "20940", - "2a02:2e02:1c70::/40": "12479", - "2a05:b080::/29": "198024", - "2001:470:4b::/45": "6939", - "2001:678:f70::/48": "213027", - "2401:80c0::/32": "135191", - "2600:1407:801::/38": "20940", - "2604:f400:9::/48": "29930", - "2001:559:85ef::/48": "7015", - "2406:e580::/32": "63679", - "2606:2c80::/32": "36813", - "2801:1b:a800::/48": "19429", - "2803:10e0::/42": "269853", - "2a0f:9180::/29": "21217", - "2401:8940:fc00::/38": "131291", - "2a02:4e0:2::/48": "16135", - "2a02:6180::/32": "31510", - "2a00:4802:a50::/42": "13124", - "2a02:26f7:c841::/46": "20940", - "2a03:5fe0::/30": "43191", - "2804:4368:df80::/41": "267568", - "2a06:8187:fe19::/48": "206671", - "2401:ff80:1389::/46": "133954", - "2404:bf40:86c2::/39": "139084", - "240e:fd:8000::/36": "136198", - "2804:4610::/32": "266966", - "2001:500:110::/48": "10745", - "2001:4d98:3ffa::/33": "3303", - "2400:cb00:423::/48": "13335", - "2620:171:9::/48": "715", - "2a02:45c0:18::/32": "59675", - "2001:559:285::/48": "33287", - "2001:df5:5780::/48": "132513", - "2a02:26f7:e389::/46": "20940", - "2a0c:dec0:3008::/48": "207063", - "2604:b980::/32": "47103", - "2804:2bdc:900::/32": "265181", - "2804:51e8::/32": "268484", - "2804:53b0:4001::/43": "268600", - "2a0a:4540:10::/48": "205723", - "2001:4878:c027::/48": "12222", - "2402:800:b160::/40": "7552", - "2800:bf0:8141::/48": "52257", - "2804:e1c::/47": "52545", - "2606:2800:4ae0::/46": "15133", - "2804:294c::/32": "52556", - "2804:639c::/32": "269372", - "2406:8800:9023::/45": "17465", - "2409:4001:2000::/35": "55836", - "2605:3680::/32": "63010", - "2620:101:402d::/48": "16880", - "2a0d:5280:f002::/47": "205989", - "2a01:c9c0:b1::/45": "24600", - "2600:1017:a410::/38": "6167", - "2606:2180:4::/47": "22241", - "2806:2f0:33e1::/37": "17072", - "2402:800:549b::/41": "7552", - "240a:afcd::/32": "146695", - "2800:160:17de::/42": "14259", - "2806:230:1308::/40": "265594", - "2806:230:203b::/48": "11888", - "2001:df2:9b00::/48": "56141", - "2408:8459:3830::/44": "17623", - "240a:a5b4::/32": "144110", - "2a02:28::/47": "8359", - "2a02:26f7:d705::/46": "20940", - "2a02:2aa8:203::/43": "702", - "2c0f:ecf0::/32": "36924", - "2a03:9900:100::/48": "20568", - "2001:559:739::/48": "33659", - "2408:8459:ce10::/42": "17623", - "2409:8030:2c00::/35": "9808", - "240a:a86e::/32": "144808", - "2600:6c4a::/32": "20115", - "2602:fcbc:2::/48": "16509", - "2607:ffc8:0:5::/62": "17356", - "2402:1200:4::/44": "24523", - "2a09:1780::/34": "205718", - "2a0e:97c5:79c::/46": "20473", - "2a0e:aa07:f041::/46": "208993", - "2001:559:2ed::/48": "7015", - "2001:559:81b0::/48": "22909", - "240a:a1a5::/32": "143071", - "2804:2308:5000::/32": "264138", - "2804:5e9c::/32": "269044", - "2804:7aa8::/32": "271384", - "2a03:9c40::/48": "34655", - "2a0f:9400:8015::/48": "213347", - "2401:2700:1:1::/48": "9286", - "240e:c3:3000::/28": "4134", - "2600:1415:f001::/37": "20940", - "2605:b100:300::/41": "577", - "2620:f5:8000::/48": "22388", - "2804:14d:1081::/41": "28573", - "2804:7140::/32": "270777", - "2001:559:c027::/48": "33652", - "2001:559:c2cd::/48": "7922", - "2806:230:400c::/48": "265594", - "2a02:26f0:10f::/48": "20940", - "2001:df5:a080::/48": "134461", - "240a:ad3b::/32": "146037", - "2620:123:4000::/40": "22990", - "2a02:26f7:bd08::/48": "36183", - "2409:8904:67b0::/36": "24547", - "2a06:1000::/29": "35041", - "2a0e:b107:e0f::/48": "212580", - "2001:14f0::/29": "12355", - "2800:1e0:2200::/40": "7195", - "2806:21a:8000::/48": "262913", - "2806:230:2012::/48": "265594", - "2a00:6cc0::/48": "62407", - "2a03:f80:389::/48": "25467", - "2a06:f2c0::/29": "202975", - "2001:67c:6c0::/48": "34984", - "2001:44b8:3090::/48": "7545", - "2408:820c::/41": "17621", - "240a:ae11::/32": "146251", - "2804:1d04::/36": "61689", - "2804:4824::/32": "267100", - "2a02:26f7:b6::/48": "36183", - "2001:15f8:1000::/40": "15776", - "2a01:5e0::/32": "16019", - "2a02:540::/45": "35432", - "2a0c:c9c2:2::/40": "202414", - "2001:1998:9::/39": "7843", - "2405:1c0:6871::/46": "135062", - "240a:a0f4::/32": "142894", - "2800:160:1f7e::/40": "14259", - "2800:160:1ff9::/46": "14259", - "2a02:ee80:4219::/42": "3573", - "2a05:6c40::/32": "51012", - "2a05:f507::/44": "13443", - "2803:9800:5200::/32": "11664", - "2804:6e58::/32": "270590", - "2a03:5a00:c::/48": "198324", - "2407:4a00::/32": "56055", - "2600:803:614::/46": "701", - "2a02:2808:4101::/48": "196953", - "2a07:14c0:8000::/29": "208861", - "2a10:55c0::/29": "206332", - "2001:448a:60f0::/39": "7713", - "240a:aea4::/32": "146398", - "2604:ad00::/32": "4181", - "2804:441c::/32": "267603", - "2a0b:5d40::/29": "6761", - "2001:1978:1300::/36": "13768", - "2001:1a11:21::/48": "42298", - "2a02:26f7:c004::/48": "36183", - "2001:dc0:a000::/35": "4608", - "240e:473:7520::/41": "140486", - "2a01:758:ffe9::/43": "3326", - "2001:4288:8008::/48": "36903", - "240a:a89a::/32": "144852", - "2602:fe32::/36": "397081", - "2606:cb80::/32": "394752", - "2a02:e5e::/32": "25057", - "2a0c:bf81::/48": "61295", - "2409:8030:3802::/40": "9808", - "2806:2f0:2200::/42": "17072", - "2a02:26f7:f888::/48": "36183", - "2a02:6c40::/32": "29283", - "2401:d800:f2c0::/42": "7552", - "2604:ea40::/32": "13687", - "2a0e:aa01:aa20::/35": "206499", - "2a10:a180::/30": "10753", - "2001:df2:d280::/48": "132010", - "2801:80:3810::/48": "52885", - "2804:104c:2800::/40": "263629", - "2804:20b8:2000::/32": "264510", - "2a02:ff0:2f5::/44": "12735", - "2a05:1083:ff00::/45": "211876", - "2001:559:85d9::/48": "7922", - "2001:15e8::/32": "24806", - "2603:c002:9010::/38": "31898", - "2603:fea8::/29": "396356", - "2804:5260::/32": "268514", - "2804:5d30::/32": "268956", - "2001:559:437::/48": "33287", - "2406:c500:fffd::/48": "7545", - "2604:ca00:d000::/48": "36492", - "2607:f870::/47": "11992", - "2620:7e:30e0::/48": "3549", - "2620:117:0:a::/64": "10564", - "2801:1b8:8::/45": "28000", - "2a0b:2f00::/29": "48112", - "2a0e:8f02:f027::/48": "212519", - "2804:7cbc::/32": "271515", - "2400:5280::/35": "63199", - "2403:1000:1100::/38": "38819", - "2409:8904:4b60::/37": "24547", - "240a:ab39::/32": "145523", - "2604:be00::/32": "22663", - "2606:43c0::/32": "3801", - "2803:d320::/32": "263689", - "2001:df2:eb00::/48": "9930", - "2400:b880::/32": "133556", - "2620:58:c400::/48": "36140", - "2804:204:231::/44": "28186", - "2001:1248:9c0f::/43": "11172", - "240e:fd:c800::/37": "4134", - "2602:fd6e::/36": "19999", - "2801:80:3ea0::/48": "272432", - "2804:76b0::/32": "271128", - "2a02:2e02:1fa0::/34": "12479", - "2001:df1:6f80::/48": "139655", - "2001:4410:2012::/40": "132040", - "2407:5000::/32": "17494", - "2607:f160:8800::/40": "6167", - "2a07:22c1:10::/47": "212856", - "2001:559:c120::/48": "33657", - "2804:3594::/32": "28240", - "2409:8703::/32": "9808", - "2602:fe70::/36": "21699", - "2804:3268::/32": "265076", - "2a00:55a0:2::/48": "43945", - "2001:559:55b::/48": "7922", - "2400:cf00::/32": "45396", - "2405:1c0:6383::/37": "55303", - "2406:8800:9043::/45": "17465", - "2606:8e80:5001::/37": "32133", - "2620:72::/48": "10359", - "2804:31c:6200::/40": "52962", - "2a00:7a80::/32": "34767", - "240e:473:af50::/40": "4134", - "2604:f980:5800::/40": "19957", - "2a0c:a040::/32": "48918", - "2001:559:85e8::/48": "33287", - "2001:1a68:35::/32": "15694", - "2803:9c0::/40": "207036", - "2a01:4a0:c::/46": "201011", - "2a02:26f7:e148::/48": "36183", - "2a0e:b107:1070::/46": "211622", - "2001:468:2102::/37": "11537", - "2001:b30:4211::/46": "2614", - "2001:c20:48c2::/48": "9255", - "2605:f440:5354::/37": "54874", - "2606:2800:6040::/47": "15133", - "2804:e00:6000::/32": "11419", - "2a0d:1740::/32": "201547", - "2804:d70:120::/43": "52626", - "2a00:1480::/47": "39737", - "2a01:b740:a07::/48": "714", - "2a03:a900::/32": "48926", - "2a04:880:6::/32": "43623", - "2a0e:b107:3e0::/47": "212034", - "2001:49f0:d0f2::/47": "30058", - "240e:473:eeee::/48": "140485", - "2803:2b00:1103::/32": "52468", - "2804:72ec::/32": "270884", - "2a07:a640::/29": "202524", - "2620:171:bb::/48": "42", - "2804:69e8::/32": "270299", - "2a02:2ad0:140::/38": "702", - "240b:4003:fc6a::/48": "45102", - "240e:966:e600::/36": "4134", - "2606:2800:4252::/48": "15133", - "2606:2b00::/32": "5723", - "2607:b500::/47": "54548", - "2804:2604::/32": "264318", - "2a02:26f7:e4c5::/46": "20940", - "2001:1b70:82b0::/46": "158", - "240a:a04f::/32": "142729", - "2a00:1788:101::/32": "31167", - "2001:559:8258::/48": "7015", - "240e:698:2900::/40": "4134", - "2605:a404:4a4::/41": "33363", - "2804:74b8::/32": "270999", - "2a01:9700:1370::/46": "8376", - "2a04:f580:8200::/48": "4134", - "2a05:4a40:fffe::/47": "2571", - "2001:503:39c1::/48": "397197", - "2803:2ce0::/32": "269907", - "2a05:8883:ffff::/48": "48749", - "2a09:11c0:331::/44": "211352", - "2001:559:8775::/48": "7922", - "2001:df0:5280::/48": "132169", - "2605:e2c0:200::/32": "49434", - "2610:e8:1902::/33": "6224", - "2800:e01:7000::/30": "27665", - "2804:77b0::/32": "271193", - "2a00:1851::/34": "29357", - "2001:bf7:1321::/48": "213106", - "240a:acdf::/32": "145945", - "2604:8400::/32": "25689", - "2a07:3502:1040::/48": "38915", - "2a07:85c5::/48": "174", - "2001:559:5c7::/48": "33657", - "2600:140f:a::/48": "20940", - "2803:3a00::/37": "23243", - "2a00:1908:fffc::/48": "205365", - "2a0e:a2c0::/32": "39702", - "2606:ae00:b3c0::/36": "7287", - "2a02:2ad0:619::/42": "702", - "2001:770::/32": "1213", - "2804:6eac::/32": "270612", - "240e:109:8047::/48": "131325", - "2a00:10a0:c::/32": "35745", - "2804:7b64::/32": "271429", - "2a0e:b107:1690::/48": "211066", - "2c0f:4200:2000::/32": "328790", - "2402:b5c0::/32": "137553", - "2600:1007:b0a0::/44": "6167", - "2803:2be0::/32": "270083", - "2001:67c:10e4::/48": "2119", - "2404:bf40:c080::/48": "2764", - "2606:2800:4120::/48": "15133", - "2804:4138::/32": "266011", - "2804:7830::/32": "271226", - "2806:370:5000::/44": "28403", - "2a0e:bbc0:8002::/45": "22604", - "2402:800:371d::/42": "7552", - "2406:2700::/36": "38283", - "2801:1d:a001::/48": "263779", - "2804:2144:1000::/32": "52795", - "2a0b:b780::/29": "206291", - "2804:2050:8a8c::/33": "264485", - "2a02:2330::/40": "12578", - "2001:559:707::/44": "7016", - "2402:800:f840::/42": "7552", - "2001:510:20d::/39": "376", - "2001:559:8754::/48": "7016", - "2409:8052:1800::/47": "56047", - "2602:ff96:4::/48": "8100", - "2603:c011::/36": "31898", - "2608:121::/48": "5376", - "2408:8456:2440::/39": "17816", - "240a:a8b8::/32": "144882", - "2620:ff:c000::/48": "64238", - "2a02:28c0::/48": "51806", - "2a03:b280:1000::/48": "29838", - "2001:fd0:3201::/39": "10029", - "2a02:2e02:8ed0::/42": "12479", - "2a03:1080::/32": "44395", - "2a07:7200:2::/32": "34197", - "2a07:9100::/29": "202774", - "2a10:f980::/29": "49801", - "2001:1248:70ae::/43": "11172", - "2402:800:9247::/43": "7552", - "2402:8100:39b0::/44": "55644", - "2600:180b:5002::/29": "16552", - "2801:80:1ce0::/44": "266604", - "2a01:8640:4::/47": "202015", - "2402:800:9201::/44": "7552", - "2a0e:2b80::/39": "28875", - "2001:559:c3d2::/48": "7016", - "240a:aedf::/32": "146457", - "2804:4710::/32": "267029", - "2a02:26f7:eec0::/48": "36183", - "2a07:ed00::/31": "41981", - "2620:13e::/44": "397327", - "2001:67c:18fc::/48": "35073", - "2001:1998:a04::/35": "7843", - "2405:8a00:2003::/44": "55824", - "2600:1408:7401::/36": "20940", - "2600:1417:64::/47": "20940", - "2607:ca00::/33": "15290", - "2607:fcd0:fa80:4201::/55": "8100", - "2804:66e4::/32": "269589", - "2401:1d40:f25::/35": "59019", - "2405:9800:9802::/47": "45458", - "2605:7e00::/32": "12042", - "2804:214:13::/33": "26615", - "2a0f:5701:3522::/45": "205593", - "2a0f:9400:772e::/48": "210934", - "2404:75c0::/32": "35280", - "2604:3840:2::/48": "20061", - "2620:e:2000::/48": "30546", - "2804:8258::/32": "272514", - "2a07:3500:1a00::/48": "38915", - "2a01:538::/32": "8518", - "2001:67c:1148::/48": "43115", - "2001:df3:3980::/48": "44592", - "2408:8456:a040::/38": "17816", - "240e:1c:3000::/36": "136188", - "2804:4bf8::/32": "267340", - "2001:559:c3e9::/48": "21508", - "2600:1fa0:60c0::/44": "16509", - "2804:618::/32": "28254", - "2a00:ab40:4001::/35": "41798", - "2a06:5040:30::/45": "6134", - "2a0a:340:100::/40": "56807", - "2001:4830:c100::/48": "395213", - "2404:bf40:a502::/41": "139084", - "240a:ab4d::/32": "145543", - "2606:9300::/32": "16904", - "2806:105e:1::/48": "8151", - "2a03:5343::/43": "28723", - "2400:6880:2c00::/32": "9652", - "2407:5280:508::/36": "133557", - "2804:6e4::/32": "262612", - "2804:154c:500f::/43": "263382", - "2408:8957:2d00::/40": "17816", - "2600:380:f103::/48": "64011", - "2800:280:4001::/48": "20940", - "2800:a30:6a6::/35": "262187", - "2a02:2528:2613::/48": "2613", - "2a0c:9280::/29": "42316", - "240e:44d:6c00::/41": "140345", - "2804:3d00::/32": "266247", - "2a00:5400::/35": "35753", - "2a0b:d5c1:100::/40": "197202", - "2407:38c0:64::/48": "59204", - "240e:3bb:3e00::/33": "140308", - "2804:3bb8::/32": "266167", - "2a03:f040::/32": "48133", - "2001:1424::/48": "47578", - "2001:559:8743::/48": "7922", - "2001:4878:8164::/48": "12222", - "2402:ef19:200::/30": "7633", - "2a03:db80:2c10::/48": "47610", - "2a0c:5900::/29": "202120", - "2001:fd8:303e::/47": "132199", - "2406:e00:10e::/47": "55740", - "240a:abf3::/32": "145709", - "2a02:26f7:b944::/48": "36183", - "2803:4320::/32": "266734", - "2001:559:397::/44": "7922", - "2001:559:83a7::/44": "33652", - "2001:df2:6200::/48": "135247", - "2001:67c:3b8::/48": "44786", - "2607:f3a0:a007::/48": "399813", - "2804:1194::/36": "263424", - "240a:a449::/32": "143747", - "2620:88:a000::/48": "398447", - "2620:c2:4000::/48": "394101", - "2a02:2370:f000::/48": "32787", - "2a09:8780::/29": "209737", - "2404:1a0:2012::/30": "24334", - "2804:5210::/32": "268492", - "2401:ff80:1b11::/46": "133954", - "2409:805c:5d00::/34": "9808", - "2a00:c040::/32": "8749", - "2409:8949:9f00::/30": "24445", - "240a:a831::/32": "144747", - "240a:af1f::/32": "146521", - "240e:60c:b000::/37": "137688", - "2804:e30:7800::/37": "11338", - "2804:5d14::/32": "268949", - "2804:6bb4::/35": "270418", - "2407:4940::/48": "140770", - "2804:67dc::/32": "269655", - "2c0f:fc89:80ba::/33": "36992", - "2803:7d00:b000::/48": "52327", - "2001:579:c24c::/37": "22773", - "2606:4700:4700::/48": "13335", - "2804:3e70:b008::/33": "266596", - "2a02:26f7:e480::/48": "36183", - "2001:df4:1b00::/48": "45489", - "2401:d800:e10::/39": "7552", - "2409:805e:2c00::/35": "9808", - "2803:7d80:5011::/41": "11664", - "2a0e:d4c0::/29": "197706", - "2001:6b0:4::/48": "2832", - "2803:6d00::/32": "52444", - "2804:6ecc::/32": "270619", - "2404:168::/32": "24229", - "2001:559:70e::/48": "7922", - "2600:370f:754a::/42": "32261", - "2804:7018::/32": "270705", - "2408:8406:4800::/39": "4808", - "240e:324::/30": "4134", - "240e:3b8:1800::/34": "4134", - "2602:fef7::/46": "396192", - "2806:260:1009::/48": "27672", - "240a:a416::/32": "143696", - "2600:1401:c001::/30": "20940", - "2401:4900:1a70::/40": "45609", - "2401:d800:ddb0::/41": "7552", - "2600:1480:7000::/48": "21342", - "2a0a:c080::/29": "51546", - "2a0e:8f02:f034::/48": "211153", - "2409:8904:6540::/42": "24547", - "2605:280::/32": "22709", - "2606:a000:c08::/35": "11426", - "2001:470:91::/45": "6939", - "2404:0:70b0::/36": "131142", - "2607:fdf0:5eb1::/45": "8008", - "2803:f080::/33": "64120", - "2804:5068::/32": "268387", - "2804:5cb8::/32": "268926", - "2a02:7a0::/29": "12586", - "2001:559:8193::/48": "33660", - "2001:a10:186::/32": "8308", - "2404:8000::/43": "17451", - "2405:7f00:90a0::/39": "133414", - "2a02:26f7:dbcc::/48": "36183", - "2400:adc4:800::/39": "9541", - "2402:800:3763::/43": "7552", - "2405:1c0:7f14::/32": "55303", - "2602:fce1::/48": "395886", - "2800:4e0:c000::/34": "16629", - "2804:14d:12fa::/45": "28573", - "2804:3f10:4101::/38": "262566", - "2a05:9a00:1000::/46": "59441", - "2001:559:c050::/48": "7015", - "2001:67c:155c::/48": "199265", - "2409:805c:3100::/36": "9808", - "2600:1007:9110::/36": "22394", - "2600:40fc:1003::/48": "14210", - "2606:2800:4006::/44": "15133", - "2405:6f00::/32": "9814", - "2804:4b8c::/32": "267313", - "2804:63d8::/32": "269387", - "2a03:e581:1::/46": "49282", - "240e:966:1000::/37": "133775", - "2800:68:38::/48": "61468", - "2a07:4bc0::/29": "198537", - "2804:21bc::/38": "264570", - "2001:1a30::/32": "29488", - "2405:fd80::/40": "135391", - "2600:9000:10f8::/39": "16509", - "2800:6f0:1000::/40": "20207", - "2402:e280:212c::/47": "134674", - "2804:27b4::/32": "53124", - "2a02:e900::/32": "16302", - "2600:1406:6401::/36": "20940", - "2603:c001:2a10::/39": "31898", - "2001:678:dd0::/48": "47753", - "2001:df1:ad80::/47": "56093", - "2600:40f0:110::/42": "701", - "2a00:17f1::/32": "50533", - "2001:df3:e480::/48": "140699", - "2404:8d02:48c9::/39": "9587", - "2804:574:4000::/32": "53013", - "2804:14c4::/32": "263349", - "2001:db0:2800::/35": "17766", - "2402:800:3c01::/43": "7552", - "2405:b8c0:6795:40fe::/32": "131674", - "240a:a108::/32": "142914", - "2606:2800:5140::/48": "15133", - "2607:f810:340::/36": "6192", - "2a02:26f7:e409::/42": "20940", - "2001:559:74::/48": "33659", - "2001:df6:c480::/48": "38254", - "2600:1004:b1f0::/44": "22394", - "2606:ae04:8020::/48": "17224", - "2806:230:2006::/48": "265594", - "2a02:f840::/47": "199483", - "2402:2f80:1::/48": "38001", - "2408:8957:a400::/40": "17622", - "240e:12:9000::/37": "134766", - "2607:f100::/32": "13776", - "2804:64d0::/32": "269450", - "2a07:aa00:8::/40": "3549", - "2a04:c340::/29": "44640", - "2405:8a00:20f4::/39": "55824", - "2605:c00:1000::/40": "46920", - "2620:0:167e::/48": "7046", - "2804:330:3000::/36": "53240", - "2804:414::/32": "262760", - "2804:2a60:25::/32": "263089", - "2a02:26f7:e3::/48": "20940", - "2001:1a00::/32": "15412", - "2400:a980:60f0::/44": "133512", - "240a:a059::/32": "142739", - "2a05:7ac0::/29": "21263", - "2001:16a2:8016::/42": "39386", - "240e:108:1100::/47": "136195", - "240e:44d:5f80::/41": "4134", - "2a01:6f60::/32": "62365", - "2a03:68c0::/34": "61327", - "2a01:9700:1700::/48": "8376", - "2401:d800:7e10::/42": "7552", - "2402:800:54ee::/39": "7552", - "2600:6c38:606::/44": "20115", - "2603:c0e8:2110::/40": "1218", - "2804:14d:4083::/41": "28573", - "2804:2f74::/32": "264892", - "2806:230:2019::/48": "11888", - "2402:e380:31d::/48": "141781", - "240a:a6ca::/32": "144388", - "2801:10:b000::/48": "264635", - "2c0f:f7a8:9220::/48": "4809", - "2a02:26f7:c508::/48": "36183", - "2800:160:2003::/45": "14259", - "2804:3cb8::/32": "53221", - "2a0d:f780::/29": "202921", - "2a0e:b107:ac0::/48": "204307", - "2620:39:6000::/48": "25682", - "2804:1b84::/32": "61732", - "2a01:5d0::/32": "8462", - "2404:7180:c001::/46": "23848", - "240e:ea::/27": "4134", - "2001:559:8455::/46": "7725", - "2001:eb0:100::/46": "9584", - "2a0e:8f02:f02f::/43": "212074", - "2620:11a:a03d::/40": "43515", - "2803:8e60::/32": "267914", - "2804:14fc::/32": "263363", - "2804:504c::/33": "268380", - "2a07:f880::/29": "52212", - "2610:a1:3020::/48": "12008", - "2a00:8860:900::/40": "209485", - "2a02:26f7:8f::/48": "20940", - "2a0f:d7c0::/32": "57825", - "2606:b900::/32": "33089", - "2a00:7ee0::/46": "16347", - "2a02:2af8:409::/45": "702", - "2a0c:4d40::/29": "57353", - "2a0d:5642:130::/48": "35487", - "2001:7b8:407::/29": "12859", - "240a:a6b6::/32": "144368", - "2804:49c:13::/48": "7162", - "2804:4084::/32": "265964", - "2804:7bbc::/32": "271451", - "2a00:6fa0:4300::/32": "49206", - "2600:3000:2412::/38": "13649", - "2001:559:c05c::/48": "7015", - "2600:1000:bf00::/44": "6167", - "240e:473:8e00::/41": "140485", - "2804:5d00::/32": "268945", - "2a02:26f7:e14c::/48": "36183", - "2001:648:2c31::/40": "5408", - "2804:ac8:102::/40": "262672", - "2804:65f4::/32": "52743", - "2001:708::/43": "1741", - "2600:1480:4801::/37": "20940", - "2a01:8840:21::/48": "207266", - "2a02:4d80::/32": "8968", - "2a0a:c0:ffff::/48": "43824", - "2001:559:86bd::/48": "7016", - "2602:ff84:8::/48": "3223", - "2a06:e881:6500::/44": "208958", - "2604:3f40::/36": "394277", - "2804:1ad8::/32": "52589", - "2804:2df8:eecf::/35": "265315", - "2a10:9906::/36": "39409", - "2001:660:3005::/46": "2486", - "2001:1bd0::/32": "28716", - "2001:4408:6300::/37": "4758", - "2402:8100:20ca::/43": "45271", - "2600:140b:fc01::/29": "20940", - "2607:f098::/35": "33363", - "2a00:1280:8004::/33": "39591", - "240a:a2d3::/32": "143373", - "2803:1dc0::/32": "20207", - "2804:6d90::/32": "270541", - "2a02:830::/32": "8426", - "2a03:4740::/32": "50737", - "2409:8087:7500::/36": "9808", - "240a:a4f3::/32": "143917", - "240a:a80f::/32": "144713", - "2a02:f181::/48": "197573", - "2a04:5b82::/44": "202265", - "2a02:26f7:dd40::/48": "36183", - "2c0f:eb98::/32": "328594", - "2001:559:80d2::/48": "7015", - "2001:67c:22f8::/48": "44770", - "2402:3a80:c030::/48": "38266", - "2409:8904:7e40::/39": "24547", - "2600:6c39:605::/46": "20115", - "2602:ff96:5::/48": "40676", - "2001:559:52f::/43": "33659", - "2a07:e00:ac::/48": "210083", - "240e:44:8000::/33": "4134", - "2602:fd8d::/36": "398044", - "2804:12dc::/32": "263501", - "2a00:1a08::/32": "25534", - "2a01:5c8::/37": "12312", - "2a05:3a40::/32": "210236", - "2600:1403:a401::/48": "20940", - "2620:12d:2000::/40": "33545", - "2001:559:c098::/48": "33657", - "2400:7400:77::/32": "38044", - "240e:473:1200::/41": "140485", - "2610:20:8050::/44": "6629", - "2a06:1140::/29": "49262", - "2a0e:b107:770::/44": "213105", - "2404:3d00:400a::/45": "21433", - "2408:8956:cb40::/40": "17816", - "2607:e680::/32": "40355", - "2800:160:196c::/46": "14259", - "2800:bf0:104::/44": "52257", - "2a02:26f0:8501::/40": "20940", - "240a:a573::/32": "144045", - "240a:abaf::/32": "145641", - "2804:7e48::/32": "271614", - "2a0a:e940::/29": "207543", - "240e:980:8900::/40": "4134", - "2803:3440:9100::/33": "263784", - "2a04:53c0:85::/48": "47784", - "2402:db00::/32": "132142", - "240e:438:2e40::/35": "4134", - "2607:fdb8:2000::/33": "30496", - "2a01:4f80::/29": "51053", - "2a02:26f7:65::/48": "20940", - "2a02:26f7:dd04::/48": "36183", - "2001:559:c18f::/48": "7725", - "2001:67c:2290::/48": "43407", - "2001:fb0:101d::/42": "7470", - "2801:14:6800::/48": "19429", - "2804:19dc::/32": "61823", - "2001:559:8471::/48": "33659", - "2001:678:46c::/48": "207142", - "2600:1401:8::/34": "20940", - "2600:2c00:f000::/36": "26094", - "2804:3e4::/32": "262404", - "2a02:26f7:dc84::/48": "36183", - "2a10:e580:1::/46": "399114", - "2001:559:20e::/48": "33651", - "240e:108:4f::/42": "4134", - "2804:6c00::/32": "270439", - "2a02:290::/32": "8732", - "2a02:d480:280::/32": "680", - "2a06:5dc0::/29": "25542", - "2a0d:1fc0::/29": "3214", - "2001:3c8:9009::/48": "9464", - "2804:7490::/32": "270989", - "2a02:26f7:e3cd::/42": "20940", - "2a01:4260::/32": "205938", - "2001:67c:20c::/48": "51289", - "2402:800:980f::/43": "7552", - "240e:473:520::/41": "140486", - "2605:a408::/41": "33363", - "2620:149:12::/41": "714", - "2804:14d:8c00::/40": "28573", - "2a01:808::/27": "3209", - "2001:579:5144::/40": "22773", - "2401:ff80:1a8f::/43": "133954", - "2605:bfc0::/32": "32703", - "2804:526c:e000::/35": "268517", - "2001:4998:19c::/46": "36646", - "240a:a636::/32": "144240", - "240a:a7d1::/32": "144651", - "2602:fed2:7307::/48": "53356", - "2604:cec0::/32": "36472", - "2804:1b40:9000::/33": "28255", - "2401:4900:4040::/44": "45609", - "2401:ff80:1913::/40": "133954", - "240a:a7d9::/32": "144659", - "2602:fcf6:103::/48": "212577", - "2804:5a78::/32": "268775", - "2a0b:4341:704::/48": "57695", - "2001:678:6d4::/48": "200019", - "2404:b300:31::/46": "59318", - "2605:9a00::/48": "160", - "2803:2c0::/32": "264830", - "2001:4878:8347::/48": "12222", - "2620:17b:3::/48": "209", - "2a01:500::/32": "39537", - "2a02:610:ffff::/48": "42979", - "2400:cb00:a150::/45": "13335", - "2402:5c40:2000::/48": "64089", - "2404:c600::/32": "38195", - "2608:c185:1::/48": "6025", - "2620:149:1500::/42": "6185", - "2a00:4cc1::/32": "51691", - "2a00:fe00:d07e::/48": "702", - "2001:67c:1104::/48": "213021", - "2001:1a11:12::/42": "8781", - "2402:800:3455::/42": "7552", - "2607:f6f0:7000::/48": "27330", - "2804:53a0:4000::/36": "268596", - "2804:7750::/32": "271170", - "2401:31c0:fffe::/48": "134830", - "2801:140:10::/48": "42", - "2a02:1c8:7::/48": "41704", - "2c0f:ed00::/48": "328442", - "2a0b:6b86:d00::/43": "212232", - "2001:559:77c::/48": "33659", - "2602:802:5000::/40": "19065", - "2602:fdbc::/36": "397774", - "2605:a404:7fb::/36": "33363", - "2a02:26f7:d188::/48": "36183", - "2a02:26f7:f141::/46": "20940", - "2a0a:51c1::/30": "48314", - "240a:a373::/32": "143533", - "240a:af1e::/32": "146520", - "240e:105:f500::/40": "139316", - "2600:1012:f110::/36": "22394", - "2602:feb4:c0::/44": "25961", - "2806:106e:10::/48": "8151", - "2a0c:4300:50::/40": "43722", - "2001:49f0:d01b::/42": "174", - "2400:adc0:c130::/48": "9541", - "2a02:fe80:1010::/48": "30148", - "2a03:1e02::/32": "203865", - "2a03:57e0::/32": "60481", - "2a07:1480::/29": "59626", - "2a0e:b105:6ec::/43": "20473", - "2001:12f8:2::/47": "12136", - "2406:c500:ffd8::/48": "135421", - "2409:8050:1100::/37": "9808", - "2a0f:c087:b29::/48": "48108", - "2a03:77a0::/32": "201085", - "2001:550:409::/48": "30103", - "2409:8950::/30": "56047", - "240a:aa55::/32": "145295", - "240a:adfe::/32": "146232", - "2600:9000:2000::/45": "16509", - "2800:381::/33": "10834", - "2a00:8ee2::/40": "48635", - "2001:ee0:306::/48": "135905", - "2001:4878:c220::/48": "12222", - "240e:473:2120::/41": "140486", - "2802:0:23::/48": "18747", - "2a00:8d00::/32": "4589", - "2001:470:9c::/48": "54972", - "240e:424::/30": "4134", - "2804:21f8:13::/39": "262272", - "2a00:16f8::/48": "17025", - "2a06:79c0::/47": "15622", - "2a06:bdc0:191a::/38": "62240", - "2403:5180:16::/48": "138467", - "2620:108:8002::/48": "14904", - "2803:d60::/46": "269774", - "2a00:98c0::/32": "29287", - "2a02:26f7:bf41::/46": "20940", - "2606:2800:257::/44": "15133", - "2001:c98::/32": "9858", - "2604:7a80:1000::/34": "26548", - "2800:4b0:8100::/37": "12252", - "2402:800:fae0::/39": "7552", - "2404:e7:210::/28": "703", - "240a:a08e::/32": "142792", - "2803:e600:aaab::/35": "18809", - "2804:2190::/32": "264562", - "2402:800:9ee0::/44": "7552", - "2405:1c0:6a23::/43": "55303", - "2607:fc58:1004::/48": "12055", - "2804:3894::/32": "266487", - "2a02:26f7:b8c4::/48": "36183", - "2a0c:e8c0::/29": "208861", - "2001:3b8::/32": "2527", - "2001:df3:f380::/48": "140718", - "2405:6e00:498::/41": "133612", - "2600:1415:f801::/30": "20940", - "2401:d800:5850::/42": "7552", - "2405:4802:31b0::/33": "18403", - "240a:a867::/32": "144801", - "2607:f408:10::/45": "19871", - "2a02:500::/33": "5538", - "2c0e:2204::/30": "37457", - "2001:260::/32": "2518", - "2600:1001:d0c0::/44": "6167", - "2607:9500::/32": "22423", - "2600:1409:c::/43": "35994", - "2607:f4f8::/32": "23127", - "2a0f:f980::/29": "60262", - "2c0f:f388::/32": "37004", - "2402:800:3271::/44": "7552", - "2607:f7a8:1c1a::/48": "46887", - "2a02:2e02:900::/38": "12479", - "2a0d:3040::/29": "61100", - "2001:67c:21e0::/48": "39029", - "2001:4878:c242::/48": "12222", - "2001:4b98:abcb::/48": "209453", - "2602:ff63::/48": "19754", - "2607:fa48:200::/32": "5769", - "2a09:be40:1170::/48": "212582", - "2a0e:7740::/32": "208490", - "2406:2700:1001::/32": "38283", - "2600:141b:a800::/48": "23454", - "2804:2050::/35": "264485", - "2a00:bc00::/32": "31272", - "2a04:fa80:2::/44": "2635", - "2001:559:c1d8::/48": "7015", - "2001:1248:5992::/45": "11172", - "2600:140b:4401::/36": "20940", - "2a00:a160::/32": "60592", - "2a07:4480::/32": "59494", - "2001:559:513::/48": "7015", - "2406:7400:7::/44": "24309", - "2408:8957:4000::/40": "17622", - "2001:559:8753::/48": "7015", - "2001:67c:2da8::/48": "41040", - "2001:1248:961f::/41": "11172", - "2401:d800:90e0::/39": "7552", - "240a:a930::/32": "145002", - "2804:2178:5001::/32": "264556", - "2001:13d1:2c04::/35": "7303", - "2408:80f5:4000::/34": "4837", - "2605:ad80:ffee::/43": "62887", - "2803:9800:a88d::/43": "11664", - "2a04:4e42:18::/41": "54113", - "240a:a6a3::/32": "144349", - "2602:ffc5:400::/40": "398395", - "2803:a920::/32": "266668", - "2804:4520::/32": "267674", - "2804:4c14:9b01::/34": "267348", - "2a10:480::/29": "4785", - "2001:559:c111::/48": "20214", - "2001:559:c36d::/48": "7922", - "2401:d800:da50::/42": "7552", - "2800:370:5::/48": "28006", - "2804:d70:c0::/39": "52626", - "2001:559:819b::/48": "7922", - "2407:c00::/32": "45356", - "2804:e94:f0::/46": "262468", - "2804:1a58::/32": "61855", - "2804:1bac::/32": "61651", - "2404:c2c0:240::/44": "135629", - "240e:97a:2d01::/48": "131325", - "2600:387:c::/25": "7018", - "2600:1901:ff90::/44": "15169", - "2a06:d680::/29": "203593", - "2001:b08:18::/48": "8684", - "240a:a439::/32": "143731", - "2804:14c:6573::/40": "28573", - "2001:559:c127::/48": "33489", - "2001:67c:2f9c::/48": "5588", - "2400:8b00:1800::/42": "45727", - "2402:b400:40d0::/39": "45960", - "240a:a11a::/32": "142932", - "240a:acf6::/32": "145968", - "2606:9700::/32": "237", - "2001:c00:facf::/37": "4618", - "2408:8256:2f9c::/46": "17623", - "240a:a282::/32": "143292", - "2620:11b:e020::/44": "3549", - "2804:3e70:abce::/35": "266596", - "2001:550:e03::/45": "174", - "2001:559:c2a1::/48": "7922", - "240a:a887::/32": "144833", - "2607:fc48:c38::/48": "40009", - "2607:fb10:7030::/45": "2906", - "2800:c70:20::/37": "23201", - "2806:2f0:3441::/46": "17072", - "2a00:8d60::/32": "60720", - "2a00:bf40::/32": "57928", - "2a09:4c0:fe1::/33": "58057", - "2001:559:271::/48": "7725", - "2602:fd89::/36": "55129", - "2401:ff80:138f::/43": "133954", - "2804:6654::/32": "269551", - "2804:79c8::/32": "271327", - "2a01:b7c0::/32": "60384", - "2803:86e0:8000::/33": "269952", - "2400:5680::/32": "55720", - "2404:0:7000::/40": "131142", - "2404:1f00:ffa2::/45": "55947", - "240a:a193::/32": "143053", - "240e:329::/25": "4134", - "2606:2800:15::/46": "15133", - "2803:f00:700::/42": "262182", - "2806:230:202b::/48": "11888", - "2a02:26f0:4a00::/48": "34164", - "2a0b:bbc0:3100::/40": "205388", - "2a0e:b107:5a5::/46": "203943", - "2a0a:54c1:55::/46": "62240", - "2001:1248:7055::/42": "11172", - "2403:e00::/32": "38437", - "2406:bfc0::/32": "131668", - "2600:1402:f::/43": "20940", - "2600:6000:fd94::/38": "12271", - "2606:2800:4262::/44": "15133", - "2606:9500:1000::/36": "393423", - "2001:579:f138::/40": "22773", - "240a:a14e::/32": "142984", - "2600:140b:1001::/38": "20940", - "2804:2144:900::/37": "52795", - "2a03:ecc0::/32": "199277", - "2400:7a00::/32": "6939", - "2a02:2ca0::/32": "43350", - "2a02:7880::/32": "28745", - "2001:559:8711::/48": "7922", - "2408:8957:12c0::/39": "17816", - "2602:feb0::/36": "174", - "2620:f8:4000::/48": "1767", - "2804:11d8::/32": "263443", - "2804:1938::/32": "262752", - "2001:df0:ec00::/48": "133640", - "2001:1248:a428::/43": "11172", - "240e:698:2500::/40": "134756", - "2607:f0d0:3502:31::/32": "36351", - "2607:fb90:2c00::/38": "21928", - "2801:80:1610::/48": "2635", - "2a00:c827::/45": "60330", - "2001:ee0:3740::/36": "45899", - "2a10:d780::/46": "211997", - "2001:df1:9580::/48": "138433", - "2409:804e:3100::/36": "9808", - "2607:6780::/32": "395282", - "2a01:190:160::/35": "1764", - "2001:67c:2e4::/48": "47886", - "2001:67c:2718::/48": "25068", - "2001:df7:3700::/48": "138456", - "2607:fdf0:5e28::/47": "8008", - "2a0c:93c0:8022::/48": "212465", - "2401:4900:1000::/41": "45609", - "2401:d800:50c0::/39": "7552", - "2804:e30:400::/45": "11338", - "240e:848:10::/42": "4134", - "2a00:6920:f000::/40": "42003", - "2001:1248:964f::/43": "11172", - "240a:afc5::/32": "146687", - "2600:1006:b130::/44": "22394", - "2804:6304::/32": "269333", - "2406:840:d110::/44": "38136", - "240e:bf:c000::/37": "4134", - "2803:2fe0::/32": "271781", - "2804:3160:4::/33": "265010", - "2a00:d30:16::/48": "202024", - "2a04:d740::/29": "12907", - "2a0e:4847::/48": "48749", - "2001:df3:5000::/48": "132986", - "2409:8904:d040::/42": "24547", - "240a:a832::/32": "144748", - "2a0c:8f80::/29": "44293", - "2001:4410::/35": "132040", - "2409:8924:4700::/36": "56046", - "2610:b0:40f0::/45": "3573", - "2a10:e800:1::/48": "28885", - "240a:a6a8::/32": "144354", - "240e:3b9:ec00::/35": "140314", - "2800:484:b800::/40": "10620", - "2a00:5647::/32": "34182", - "2a02:26f7:b8c8::/48": "36183", - "2a0b:4700::/29": "50628", - "2a0e:7f80::/29": "208927", - "2001:67c:2698::/48": "50779", - "2804:2900::/32": "263992", - "2001:550:3101::/38": "174", - "2600:380:ba00::/37": "20057", - "2001:559:8160::/48": "7725", - "2402:3700::/32": "38496", - "2409:4051:5000::/30": "55836", - "2800:160:1248::/42": "14259", - "2801:80:3e40::/48": "271396", - "2a01:5041:2efd::/46": "202196", - "2a10:d900::/32": "34953", - "2a01:208::/32": "49752", - "2a02:26f0:501::/46": "20940", - "2a03:8480::/32": "47394", - "2a06:3040::/29": "203020", - "2806:1010:cbff:100::/37": "8151", - "2001:510:207::/44": "376", - "2001:559:8233::/48": "7015", - "2001:1248:8707::/43": "11172", - "2400:bc80::/47": "38726", - "240a:a242::/32": "143228", - "240a:ab74::/32": "145582", - "2804:b4::/32": "28294", - "2a02:26f7:b648::/48": "36183", - "2a02:26f7:f409::/46": "20940", - "2402:800:5d2b::/41": "7552", - "2403:5800:6000::/35": "4764", - "2606:2800:500c::/48": "14153", - "2a00:f720::/32": "24824", - "2a0d:1580::/48": "202085", - "2a0f:607:1200::/44": "212534", - "2001:67c:25cc::/48": "56511", - "2620:11f:700a::/48": "399333", - "2a00:ad04::/30": "41897", - "2400:dc00:ea::/48": "23947", - "2403:bd00::/32": "58590", - "2408:8456::/42": "17622", - "240e:3b8:7a00::/32": "140313", - "2803:6440::/32": "263755", - "2804:40a0:f200::/39": "265971", - "2a07:cb84::/32": "28878", - "2607:e300::/32": "40948", - "2a01:4740::/32": "203020", - "2a0b:b2c0:2::/48": "8892", - "2c0f:f778::/32": "37009", - "2001:df3:c180::/48": "140671", - "2402:3a80:19e0::/43": "38266", - "2600:2c01:3000::/33": "16858", - "2620:104:f000::/44": "33517", - "2a02:2e02:a60::/40": "12479", - "2001:559:406::/48": "7725", - "2001:559:84de::/48": "33657", - "2403:dd00::/32": "58599", - "240e:44d:7900::/41": "140345", - "2602:fcf7::/36": "398942", - "2a0f:ca00::/33": "43309", - "2804:f50::/32": "263579", - "2a10:d580::/29": "51809", - "2a02:26f7:d344::/48": "36183", - "2001:559:818f::/48": "13367", - "240a:a094::/32": "142798", - "240a:ae52::/32": "146316", - "240a:afdd::/32": "146711", - "240e:965:9400::/38": "133776", - "2a00:4fc0::/32": "39931", - "2a02:26f7:d109::/42": "20940", - "2a0d:9b80::/47": "43519", - "2001:559:c2cf::/48": "33652", - "2401:2700::/47": "9286", - "2604:c180::/32": "32882", - "2804:28a0::/32": "263971", - "2804:72d0::/32": "270877", - "2404:f080:2000::/32": "131392", - "2409:8a4c:ce00::/31": "9808", - "2602:807:6006::/40": "53978", - "2602:ffb8::/36": "14469", - "2620:119:4076::/36": "7726", - "2a01:7b60::/32": "48223", - "2a07:5440::/29": "24875", - "2607:fc58:1:6::/64": "13536", - "2402:e380:33c::/48": "7489", - "2404:bf40:a480::/48": "7545", - "2605:a240::/32": "21769", - "2804:214:8640::/43": "26615", - "2a0d:5300::/38": "135391", - "2804:6b14::/32": "270376", - "2001:67c:24b8::/48": "212725", - "2001:67c:2d00::/48": "205597", - "2001:df7:a800::/48": "18267", - "2001:1250:ffe0::/43": "22894", - "240a:ad4c::/32": "146054", - "2600:1901:c0a0::/41": "396982", - "2604:8200:dbdb::/48": "31793", - "2001:579:104::/43": "22773", - "240a:aec4::/32": "146430", - "2600:1409:b000::/48": "35994", - "2a07:22c1:31::/48": "212405", - "2001:550:908::/47": "174", - "2409:8074:1900::/34": "9808", - "2c0f:eb50:1::/46": "328580", - "2401:ff80:158b::/45": "133954", - "2605:f880::/32": "32281", - "2602:ffc5:105::/48": "398395", - "2604:ca00:f::/48": "36492", - "2620:125:4000::/44": "394812", - "2620:137:5000::/42": "10851", - "2801:1c0::/39": "52424", - "2a00:1d23::/32": "206570", - "2001:559:8708::/48": "7922", - "2806:20d:5035::/46": "32098", - "2a05:8380::/29": "43645", - "2001:638:30d::/48": "8519", - "2402:8e00:3::/32": "38529", - "240a:a4d2::/32": "143884", - "240a:a7b3::/32": "144621", - "2804:214:86d1::/42": "26615", - "2a01:b740:2::/43": "714", - "2a02:26f7:c145::/46": "20940", - "2001:559:5b::/48": "33659", - "2001:579:e041::/40": "22773", - "2804:24c4:2000::/36": "264241", - "2a00:7380:feee::/39": "51906", - "2001:559:27a::/48": "7015", - "2804:23b0:bc00::/33": "262645", - "2a00:7460::/32": "24833", - "2a02:c70::/32": "47841", - "2a04:e4c0:47::/44": "36692", - "2a0b:8c80::/29": "206420", - "2408:8459:3810::/44": "17623", - "2409:8e01::/28": "9808", - "2801:80:19d0::/48": "265375", - "2001:978:8701::/36": "174", - "2001:1248:99ff::/38": "11172", - "2600:140b:7800::/48": "24319", - "2600:6c3a:831::/41": "20115", - "2804:3df8:8000::/33": "266566", - "2001:559:36d::/48": "7922", - "2402:800:9501::/44": "7552", - "2404:880:26::/48": "38750", - "240a:ab3b::/32": "145525", - "2620:51:c000::/48": "25861", - "2a01:110f:5100::/21": "5617", - "2401:c680:1400::/34": "133854", - "2408:84f3:3060::/40": "17623", - "2801:80:3840::/48": "269675", - "2804:462c::/32": "266973", - "2a02:a30:173::/32": "8926", - "2001:253:119::/48": "142085", - "2404:7180:f000::/48": "23848", - "2404:a640::/39": "133827", - "2409:8948:8f00::/40": "24445", - "2620:104:c000::/44": "13462", - "2a07:b0c0::/29": "202617", - "2804:2870:1::/46": "52863", - "2a00:5c60::/47": "43329", - "2a03:2881:d::/46": "32934", - "2001:43f8:920::/48": "3741", - "2800:160:1357::/42": "14259", - "2a07:de80::/29": "35779", - "2a0d:8d06:1::/36": "60557", - "2a0e:e2c0::/32": "42282", - "2408:8456:8a00::/42": "17622", - "2408:8956:9a00::/40": "17622", - "2804:e94:b2::/41": "262468", - "2a00:fb8:8000::/29": "8881", - "2401:a6c0:3::/45": "136178", - "2001:dce:5101::/40": "23869", - "2001:fb0:109f:8006::/64": "7470", - "2607:6000:900::/40": "12189", - "2806:264:4501::/48": "13999", - "2a0c:b641:266::/44": "59598", - "2a11:7400:d1::/48": "50518", - "2001:1228::/32": "18592", - "2607:f740:e010::/48": "63911", - "2a0f:600:607::/44": "51044", - "2804:3a4c::/32": "266082", - "2804:7880::/33": "271247", - "2a02:26f7:ca48::/48": "36183", - "2001:418:1401:8::/64": "2914", - "2001:67c:1441::/48": "45018", - "2404:4a00:1::/64": "55423", - "240e:97f:5000::/32": "4134", - "2804:3098::/32": "264963", - "2001:678:4cc::/48": "199086", - "2406:840:5000::/47": "139317", - "2607:f740:e623::/45": "63911", - "2a05:be80::/29": "12637", - "2407:3dc0::/32": "140583", - "240e:44d:a00::/41": "140345", - "2604:86c0:f300::/40": "63023", - "2001:559:1d6::/48": "33491", - "2001:648:2810::/48": "12364", - "2001:4c28:1::/48": "39832", - "2a05:c741::/32": "1299", - "2a0b:9bc0:1::/46": "9074", - "2a0e:2340::/29": "57756", - "2402:800:997f::/40": "7552", - "240a:abb5::/32": "145647", - "2600:1406:4c01::/38": "20940", - "2605:6440:8000::/47": "396356", - "2610:a1:3064::/48": "12008", - "2803:c80::/32": "263192", - "2804:2ebc:200a::/32": "265363", - "2001:559:87df::/48": "7725", - "2406:6200:2000::/36": "23756", - "2600:6c38:70f::/43": "20115", - "2801:1fc:2::/48": "27951", - "2a02:7d00::/32": "52130", - "240a:a3bd::/32": "143607", - "2806:108e:24::/48": "8151", - "2400:6280:126::/48": "132280", - "2403:300:720::/36": "714", - "240a:a27a::/32": "143284", - "2605:4540::/32": "26863", - "2804:7040::/32": "270715", - "2a0d:ca46::/32": "8423", - "2402:1::/36": "10197", - "240e:979:8600::/35": "4134", - "2602:ff7a:f00::/48": "208830", - "2800:bf0:8120::/47": "52257", - "2803:5ce0:a00::/40": "10753", - "2a01:7b00::/32": "41589", - "2a02:c540::/29": "12874", - "2001:4408:4900::/37": "4758", - "2401:f540:1::/46": "134094", - "2a01:b740:a1b::/48": "714", - "2001:df4:6080::/48": "140967", - "2401:85c0::/32": "131605", - "2600:141b:801::/37": "20940", - "2804:1784:130::/32": "263152", - "2405:201:800::/35": "55836", - "2600:1012:b074::/44": "22394", - "2620:171:9f::/48": "42", - "2a00:dd80:9::/48": "36236", - "2a0d:ac0::/29": "42689", - "2402:3a80:1708::/47": "38266", - "240a:ae57::/32": "146321", - "2a03:7c00::/32": "199087", - "2605:de40::/35": "397553", - "2620:119:53::/48": "36692", - "2804:744:b0b2::/33": "262632", - "2804:37cc::/32": "266436", - "2a05:3180::/32": "34580", - "2001:678:328::/48": "206567", - "2001:67c:21fc::/48": "43922", - "2404:8640::/32": "17675", - "2620:31:2007::/48": "53722", - "2801:80:3400::/48": "268743", - "2804:72b4::/32": "270870", - "2a0e:b107:13d6::/48": "211168", - "2402:f080:a::/45": "38150", - "2804:214:8300::/37": "26615", - "2a03:2d40::/38": "198056", - "2001:67c:2904::/48": "212125", - "2804:88::/47": "28135", - "2600:1413:c001::/35": "20940", - "2a0a:db40::/29": "200601", - "2a01:8c81::/32": "205151", - "2a01:a0c0::/32": "47179", - "2a03:69e0::/32": "51784", - "2a0c:bfc0::/29": "61998", - "2605:9d80:8081::/48": "4134", - "2800:381:aaab::/35": "10834", - "2804:6e84::/32": "270602", - "2a03:1b20:ffff::/48": "208073", - "2001:678:b04::/48": "208242", - "2001:4878:2242::/48": "12222", - "2605:3380:4c00::/40": "12025", - "2620:ce:8000::/48": "14738", - "2a02:d0c2:1::/48": "59793", - "2a06:9800::/29": "6908", - "2408:8256:3769::/48": "17816", - "2a00:1a30::/32": "25369", - "2405:7f00:a900::/38": "133414", - "2408:8956:8300::/40": "17816", - "240a:a3ce::/32": "143624", - "2606:9b80::/32": "394487", - "2a00:a040::/38": "12849", - "2001:579:5181::/38": "22773", - "2800:160:19da::/45": "14259", - "2804:22cc::/37": "264123", - "2a10:7040::/29": "212602", - "2001:559:81b6::/48": "33287", - "2408:8957:a800::/40": "17622", - "2602:fcff:11::/48": "213216", - "2604:880:39::/48": "54540", - "2804:14d:7285::/42": "28573", - "2a04:3d80::/29": "50628", - "2a0e:b107:9dc::/48": "141237", - "2405:f140::/32": "138754", - "2610:b0:40c0::/44": "3573", - "2a0d:d680::/29": "57588", - "240a:a682::/32": "144316", - "2402:9e00:403::/32": "24183", - "2600:8807:1fa2::/34": "22773", - "240e:44d:e00::/41": "140345", - "2a0e:46c4:4000::/36": "38230", - "2a09:4c0:402::/39": "58057", - "240a:a1ab::/32": "143077", - "240e:947:3000::/33": "139887", - "2607:c200:1106::/48": "6461", - "2620:17b:4::/48": "174", - "2800:5f0:809::/45": "22724", - "2801:1e:3000::/48": "267893", - "2804:6924::/32": "270251", - "2c0f:f570::/32": "327980", - "240a:a14a::/32": "142980", - "2604:8b80:a::/48": "55106", - "2606:54c0::/32": "13335", - "2a06:e881:6706::/44": "208751", - "2001:67c:1494::/48": "61431", - "2001:dde::/48": "24082", - "2001:b011:9400::/34": "3462", - "240e:4c:7800::/31": "4134", - "2607:f928:5::/48": "14085", - "2607:fb10:7039::/41": "2906", - "2a02:26f7:fbc0::/48": "36183", - "2001:4408:5b00::/45": "55824", - "2600:5c01:3044::/48": "11351", - "2804:5ee8:b000::/33": "269064", - "2a02:26f7:f1c8::/48": "36183", - "2a05:7440:c14b::/48": "200165", - "2405:f600:1d::/46": "45117", - "2406:eac0::/32": "135055", - "2800:160:1ebd::/41": "14259", - "2804:5b8::/32": "262535", - "2804:33ec::/32": "265425", - "2a06:ee05::/32": "25623", - "2001:559:c2df::/48": "33491", - "240a:ab49::/32": "145539", - "2607:fee0::/34": "3599", - "2804:5a30:c000::/36": "268754", - "2a02:27b8:2000::/48": "49278", - "2c0f:fab0:1000::/48": "37492", - "2400:a980:2d00::/38": "133111", - "2409:8a51:b00::/37": "56047", - "2604:50c0::/32": "20150", - "240a:a908::/32": "144962", - "2602:ffa4::/36": "46886", - "2620:0:22b0::/48": "20144", - "2001:559:531::/48": "33652", - "240a:a65c::/32": "144278", - "240e:946::/47": "58540", - "2602:fcd3:10::/44": "212934", - "2806:20d:3218::/42": "32098", - "2001:df2:f000::/48": "55319", - "2401:d800:f260::/40": "7552", - "2406:ef40:5::/46": "133811", - "2600:1405:7001::/37": "20940", - "2620:131:3008::/46": "58419", - "2802:8000::/31": "22927", - "2804:7c40::/32": "271484", - "2806:230:2034::/48": "265594", - "2a00:1d78::/32": "44050", - "2a02:26f7:14::/48": "36183", - "2a02:26f7:bc49::/42": "20940", - "2001:428:6402:221::/36": "209", - "2804:81cc::/32": "272477", - "2001:b08:20::/48": "198444", - "240a:acfc::/32": "145974", - "2a01:358:4020::/45": "9121", - "2001:df7:5080::/48": "137655", - "2406:3000:2b::/45": "4657", - "240e:438:6020::/43": "140647", - "2800:800:400::/39": "26611", - "2804:1994::/32": "262905", - "2a0a:5000::/29": "57814", - "240a:a3f9::/32": "143667", - "2803:5c80:5595::/48": "64114", - "2804:6eec::/32": "270627", - "2a02:26f7:dd00::/48": "36183", - "2a0f:ca80::/47": "208046", - "2001:559:c1e5::/48": "13367", - "2401:ff80:1113::/40": "133954", - "240e:929::/32": "17638", - "2600:8804:2400::/35": "22773", - "2610:f0::/38": "22925", - "2a00:8880::/32": "15557", - "2404:e100:3001::/48": "133840", - "240a:a515::/32": "143951", - "240e:983:800::/38": "4134", - "2a01:8840:1d::/48": "207266", - "2408:80ea:6700::/41": "17816", - "2001:67c:40::/48": "35733", - "2001:87f::/32": "198455", - "2401:d800:fd90::/42": "7552", - "240e:1c:b000::/36": "136190", - "2a00:1c70::/32": "28890", - "2405:b900:1::/44": "55701", - "2620:11e:900a::/48": "12196", - "2a05:4700:b::/48": "43578", - "2804:456c::/32": "266925", - "2a00:5540:5014::/48": "198362", - "2a02:8f0::/32": "29003", - "2001:43f8:1180::/48": "37394", - "240a:ad4d::/32": "146055", - "2606:2800:1::/48": "15133", - "2804:6f0:900::/32": "53047", - "2001:1568::/32": "39790", - "2001:1a11:83::/48": "8781", - "2001:4878:c031::/48": "12222", - "240e:983:204::/37": "4134", - "2804:2cfc::/32": "265255", - "2a00:1fa2:80c1::/34": "28884", - "2a06:5240:f0::/44": "204253", - "2401:d800:2e80::/42": "7552", - "2402:800:39c5::/43": "7552", - "2402:ca40::/32": "137707", - "2600:1015:9110::/34": "6167", - "2602:fe62::/36": "394356", - "2803:720::/32": "52317", - "2806:322::/37": "28546", - "2001:4830:c150::/44": "22147", - "240e:3b4:ec00::/35": "140314", - "2804:4224:9000::/33": "267480", - "2804:79d0::/32": "271329", - "2a0e:b107:800::/44": "213383", - "2a10:3ec0:32::/48": "198417", - "2404:e801:1021::/34": "55430", - "2600:9000:1083::/45": "16509", - "2001:1900:23cd::/48": "202818", - "2409:8087:6300::/36": "9808", - "2801:16:6800::/48": "3549", - "2a0e:1c80:e::/48": "1299", - "2001:67c:560::/48": "8949", - "240a:a7e6::/32": "144672", - "2800:160:1055::/44": "14259", - "2001:559:8143::/48": "7015", - "2001:559:8195::/48": "7015", - "240a:a91c::/32": "144982", - "2804:e94::/48": "262468", - "2001:559:812d::/46": "7922", - "2401:1d40:2000::/48": "4811", - "2804:5124::/32": "268433", - "240a:a72e::/32": "144488", - "2602:fe19:4017::/34": "26073", - "2407:b4c0:12::/48": "142366", - "2606:7a80::/28": "10958", - "2a0a:fa80::/29": "5582", - "2001:df0:1e:4000::/64": "45796", - "240a:ac61::/32": "145819", - "2804:42ac::/32": "267518", - "2001:fd8:3046::/39": "4775", - "2400:eac0::/32": "5580", - "2405:1c0:6671::/46": "135062", - "2406:7400:f1::/45": "24309", - "2407:4800:8000::/34": "45193", - "2409:8070:3100::/30": "9808", - "2600:140f:1200::/48": "9498", - "2a01:8840:b1::/48": "207266", - "2a02:26f7:ea80::/48": "36183", - "2a0d:c340::/29": "206123", - "2001:df3:5580::/48": "14618", - "240a:a333::/32": "143469", - "2a01:d0:318::/33": "29632", - "2a01:7f20::/48": "43385", - "2a02:26f7:eec9::/42": "20940", - "2001:559:81f8::/48": "7015", - "2408:84e9::/32": "4837", - "240a:a236::/32": "143216", - "2600:370f:3523::/45": "32261", - "2a0e:8f02:2170::/46": "211168", - "2600:2000:f010::/48": "33517", - "2804:20fc:1b01::/37": "264525", - "2a03:5640:f501::/42": "2906", - "2407:a600:6000::/36": "18004", - "240a:ac70::/32": "145834", - "2800:160:2b9d::/42": "14259", - "2a02:2698:8800::/38": "51035", - "2a09:9fc0::/29": "209318", - "2a10:2f01:310::/44": "39526", - "240a:ad86::/32": "146112", - "2806:230:6003::/48": "11888", - "2a02:5f81::/32": "8359", - "2806:2f0:2040::/48": "17072", - "2001:559:a2::/48": "33657", - "2401:4900:5230::/41": "45609", - "2404:2000:3000::/40": "132003", - "240a:a478::/32": "143794", - "240e:981:e200::/35": "4134", - "2600:6c38:844::/44": "20115", - "2800:160:1ec2::/43": "14259", - "2408:8459:c830::/41": "17622", - "2605:a404:a03::/42": "33363", - "2607:a400::/45": "21859", - "2001:df1:9780::/48": "56150", - "2804:14c:5700::/40": "28573", - "2a03:6f20::/32": "201146", - "2a0d:4bc0::/29": "3214", - "2001:550:9f00:1::/46": "174", - "2001:678:344::/48": "47939", - "2406:3003:1000::/43": "55430", - "2600:380:f1e2::/47": "64011", - "2804:431c:300::/32": "267549", - "2a03:1980:d113::/48": "61029", - "2a0c:93c0:c002::/48": "212465", - "2a0a:e5c0:26::/44": "207996", - "2001:480:240::/48": "687", - "2001:44b8:25::/48": "4739", - "240a:a163::/32": "143005", - "240e:983:1e00::/48": "58466", - "2605:3380:4136::/47": "12025", - "2605:a401:80ed::/39": "33363", - "2804:2a5c:c000::/34": "264071", - "2401:d800:f530::/41": "7552", - "2403:8940:300::/37": "135817", - "2804:6b10::/32": "270375", - "2a02:26f7:ea04::/48": "36183", - "2605:b740:c0::/42": "2773", - "2001:559:c24b::/48": "7922", - "2001:67c:1124::/48": "60973", - "2001:4200:c10::/33": "2018", - "2401:5a40::/32": "136759", - "2801:b6:1000::/32": "263083", - "2804:f14:c100::/34": "262865", - "2a02:26f7:c780::/48": "36183", - "2001:19e8:8001::/48": "4046", - "240e:3b5:9c00::/34": "140310", - "2600:9000:a100::/48": "16509", - "2606:d200::/32": "7018", - "2804:17e8::/32": "28245", - "2a02:26f7:c5c4::/47": "36183", - "2a0f:6440::/29": "200899", - "2a0c:2b40::/29": "213053", - "2403:6b00:2000::/48": "58562", - "2600:1001:f110::/30": "22394", - "2604:4d40:7378::/48": "399196", - "2620:4d:400e::/48": "395403", - "2a01:280:108::/48": "199150", - "2a04:7300::/29": "200008", - "2a0a:4180::/48": "57724", - "2001:3c8:1012::/48": "24475", - "2401:d800:2600::/42": "7552", - "240a:a354::/32": "143502", - "2001:559:c17f::/48": "33651", - "2620:80:8000::/48": "16796", - "2620:10f:7000::/47": "54765", - "2604:f400:12::/48": "18923", - "2804:978::/32": "263087", - "2804:4218:2100::/35": "267477", - "2a0c:be00::/32": "209846", - "2405:205:6000::/32": "55836", - "2600:370f:36a5::/41": "32261", - "2804:19c8:3100::/32": "61818", - "2804:79b4::/32": "271322", - "2a02:26f7:d800::/48": "36183", - "240a:a40e::/32": "143688", - "240a:a423::/32": "143709", - "2600:1419:8401::/36": "20940", - "2a02:26f7:bbc1::/45": "20940", - "2001:4d78:fe19::/48": "15830", - "2a0d:1a45:babe::/48": "210089", - "2804:bd4::/32": "52836", - "2804:4560::/32": "266922", - "2a05:f8c0::/29": "49940", - "2400:6700::/32": "16509", - "2801:0:4c0::/48": "266736", - "2400:cb00:63::/44": "13335", - "2401:4900:4fb0::/41": "45609", - "2401:d800:dba0::/41": "7552", - "2409:8a51:d00::/38": "56047", - "2804:6ae0::/32": "270363", - "2804:7114::/39": "270765", - "2c0f:ea18::/32": "328519", - "2001:580::/32": "1798", - "2001:668:1fc::/46": "16260", - "2001:4408:4500::/45": "4758", - "2408:8426::/31": "4837", - "2600:2a05::/28": "396319", - "2620:11d:9002:600::/56": "14805", - "2a10:4e40::/48": "209286", - "2405:1480:2000::/48": "23724", - "2600:14c0:5::/48": "20940", - "2001:1388:8a83::/35": "6147", - "2800:68:17::/44": "61468", - "2804:5440::/32": "268637", - "2a0e:b107:1080::/44": "213377", - "2600:1488:c241::/26": "20940", - "2a00:5560::/32": "205411", - "2a00:5dc0::/29": "31313", - "2a01:b747::/37": "714", - "2605:3dc0::/48": "397952", - "2804:2070::/32": "28661", - "2401:d800:c30::/41": "7552", - "2600:141a:8001::/31": "20940", - "240a:a0dc::/32": "142870", - "2a0e:5800::/29": "212660", - "2401:a400::/38": "7477", - "2408:8456:4810::/42": "134543", - "2604:e7c0:1::/48": "14821", - "2001:978:6713::/45": "174", - "2600:100a:9100::/44": "6167", - "2607:fc00::/32": "13576", - "2c0f:fc90:1002::/32": "16284", - "240a:a94b::/32": "145029", - "2600:80c:1200::/40": "23148", - "2800:484:2800::/37": "14080", - "2804:3b34:7001::/40": "266135", - "2a00:c38::/32": "15576", - "2001:67c:2d04::/48": "198463", - "2001:67c:2ff4::/48": "47699", - "2001:44c8:a000::/36": "38444", - "2600:1408:f800::/48": "35994", - "2a0e:8680::/48": "208832", - "2409:8a00::/31": "56048", - "2404:8000:b3::/41": "17451", - "2604:f980:4240::/44": "19957", - "2804:371c:8000::/48": "266390", - "2a02:2340::/32": "51319", - "2a03:2881:4005::/32": "32934", - "2600:1417:53::/48": "9498", - "2600:1417:58:100::/56": "4788", - "2804:11dc:5000::/32": "263444", - "2804:182c::/32": "52845", - "2a0c:ef40::/29": "49223", - "2001:67c:2bb4::/48": "207537", - "2406:1600::/38": "23871", - "2408:8957:5400::/40": "17622", - "240e:108:11d5::/48": "134769", - "2803:e600:facf::/37": "18809", - "2a04:bc40:1dc7::/48": "35277", - "2a09:be40:1132::/48": "207343", - "2804:15d4:8000::/33": "263413", - "2001:559:23b::/48": "33491", - "2001:559:826c::/48": "7015", - "2400:cb00:a470::/45": "13335", - "2407:54c0::/32": "142065", - "240a:ae19::/32": "146259", - "2604:d600:c80::/47": "32098", - "2800:160:1cfc::/46": "14259", - "2a04:1ac1:1::/46": "211960", - "2a0e:b105:57c::/40": "20473", - "2403:4e80::/32": "131270", - "2605:3380:42fd::/48": "12025", - "2a02:26f7:e700::/48": "36183", - "2a02:db40::/48": "48749", - "2407:1e40:6::/38": "141732", - "2804:6ac4:3000::/32": "16921", - "2a0e:b107:147c::/48": "142164", - "2a05:3c80::/29": "47447", - "2001:67c:192c::/48": "24961", - "240a:a25c::/32": "143254", - "240e:e9:8000::/37": "137702", - "2602:fec3::/38": "62563", - "2607:fc48:420::/48": "40009", - "2804:296c::/32": "264014", - "2804:583c::/32": "268115", - "2a05:8080::/29": "58173", - "2001:8b0:1629::/33": "20712", - "2401:d800:d870::/40": "7552", - "2405:f200::/32": "55406", - "2607:a780:1::/48": "395518", - "2404:e00:60::/46": "15695", - "2607:fdc0:100::/32": "20326", - "2a01:1ee::/32": "33843", - "2001:288::/32": "1659", - "2606:2800:506b::/48": "14153", - "2a02:26f7:dbc0::/48": "36183", - "2408:8957:1dc0::/38": "17622", - "2806:2f0:1104::/42": "22884", - "2001:559:58d::/48": "7016", - "240a:a315::/32": "143439", - "240e:67b:e400::/39": "140330", - "2605:7b40::/32": "53384", - "2803:2d60::/35": "14754", - "2804:2c24::/32": "265198", - "2a05:b40::/29": "57043", - "2402:7800::/34": "4826", - "240a:a55d::/32": "144023", - "240a:aafe::/32": "145464", - "240a:ad55::/32": "146063", - "240e:473:5d50::/40": "4134", - "2600:d800::/31": "13804", - "2a02:26f0:9301::/37": "20940", - "2001:4998:130::/44": "10880", - "2804:5c8::/32": "262541", - "2a02:26f7:f2c1::/46": "20940", - "2a02:26f7:f704::/48": "36183", - "2a02:26f7:fa48::/48": "36183", - "2001:978:201::/62": "174", - "2a03:5760::/46": "201900", - "2a06:1280::/32": "61138", - "2a0b:c080::/29": "197659", - "240a:a2a8::/32": "143330", - "2804:40cc::/32": "265982", - "2a00:ea40::/32": "2589", - "240a:a3c7::/32": "143617", - "240e:438:ae40::/35": "4134", - "2600:6c3a:c::/43": "20115", - "2602:fe6b::/36": "46475", - "2401:ff80:1781::/45": "133954", - "2800:160:1063::/43": "14259", - "2001:559:8387::/48": "7922", - "2405:9000:80::/48": "17719", - "240e:438:40::/38": "4134", - "2610:a1:1074::/48": "397218", - "2404:8240::/32": "56067", - "240a:a7fb::/32": "144693", - "2602:feb4:80::/44": "25961", - "2804:59d8:b182::/33": "268729", - "2806:230:2053::/48": "11888", - "2a0c:ed80::/29": "34191", - "2a0e:7d02::/31": "211335", - "240a:a5a1::/32": "144091", - "240a:a5ce::/32": "144136", - "2800:160:11cd::/46": "14259", - "2001:559:8163::/48": "7015", - "2804:2214:e::/32": "28177", - "2401:ee00:2011::/32": "23951", - "240a:ac03::/32": "145725", - "2804:5634::/32": "267983", - "2806:2f0:80a0::/41": "17072", - "2a0e:b107:14d0::/48": "38308", - "2604:9440::/32": "53407", - "2408:8459:8c10::/42": "17623", - "2604:1900::/40": "12182", - "2a0e:9dc0::/29": "34919", - "2c0e:4000:a000::/36": "36994", - "2401:7b40:4001::/46": "38071", - "2804:28e4:e817::/42": "28260", - "2a03:31c0::/37": "43256", - "2a02:26f7:fa80::/48": "36183", - "2409:8062:3003::/40": "9808", - "2600:5c01:1fff::/34": "10796", - "2620:129:9002::/48": "64262", - "2800:484:9a00::/34": "10620", - "2803:7000::/33": "52362", - "2804:49a4:c008::/34": "267194", - "2a00:11d8::/32": "39598", - "2001:559:c094::/48": "33651", - "2001:4998:140::/44": "7280", - "2804:214:8658::/40": "26615", - "2804:e10::/32": "52540", - "2804:5d80::/33": "268976", - "2806:33e::/32": "265573", - "2a03:ad00::/29": "8208", - "2001:4998:61::/46": "10310", - "2401:d800:bc20::/41": "7552", - "2600:1806:311::/48": "16552", - "2408:894c::/32": "4837", - "2409:8835::/24": "9808", - "240e:978:d00::/40": "134756", - "2804:214::/47": "26615", - "2a03:ad40:120::/48": "199349", - "2a02:26f7:dcc1::/46": "20940", - "2001:559:532::/48": "7015", - "2001:67c:2e0::/48": "43758", - "2401:1c00:4100::/35": "38809", - "240e:473:ad20::/41": "140486", - "240e:a67:1a00::/34": "140330", - "2600:800::/30": "701", - "2607:f330:5000::/48": "15130", - "2a0e:4007:fffe::/48": "208226", - "2001:559:3af::/48": "33491", - "2001:559:c320::/48": "33657", - "2001:df0:401::/48": "9357", - "240a:a9e6::/32": "145184", - "2620:60:e000::/48": "19014", - "2620:10f:400e::/48": "30037", - "2a04:71c3::/29": "206583", - "2a0e:f200::/29": "60781", - "2406:2400:cdef::/48": "45287", - "2a02:a200::/27": "33915", - "2001:559:80dd::/48": "7015", - "2001:4830:2070::/48": "25623", - "2401:d800:fcd0::/42": "7552", - "2402:800:310f::/43": "7552", - "240a:aaac::/32": "145382", - "2a02:26f7:f1c1::/46": "20940", - "2402:800:9601::/44": "7552", - "2605:4180::/28": "35985", - "2606:5000:2a00::/37": "3908", - "2a01:9860::/32": "205952", - "2001:4d20:8000::/33": "39290", - "240a:a5d6::/32": "144144", - "2600:1004:b000::/40": "6167", - "2a0e:fd45:dd0::/30": "44103", - "2401:14c0:22::/44": "136531", - "2402:800:5a7f::/40": "7552", - "2804:6690::/35": "269568", - "2001:559:c39c::/48": "7015", - "2001:579:5084::/41": "22773", - "2001:1248:9a0b::/45": "11172", - "2408:8957:2ac0::/39": "17816", - "2606:d101::/36": "395563", - "2804:224::/32": "262792", - "2804:4c2c::/32": "267354", - "2a02:ee80:4248::/47": "21433", - "2a0c:2100::/29": "208861", - "2402:8100:21c0::/45": "45271", - "240a:a970::/32": "145066", - "2620:56:6000::/48": "46924", - "2804:14c:d000::/40": "28573", - "2a03:5780::/48": "25122", - "2a05:1087::/32": "142438", - "2600:1000:f000::/44": "6167", - "2600:180a:1002::/33": "16552", - "2a02:26f7:be48::/48": "36183", - "2a05:26c0:d2::/29": "201536", - "2001:550:302::/44": "174", - "2001:ee0:e600::/40": "45899", - "2001:16a2:3e::/39": "39386", - "2804:6824::/32": "269671", - "2407:ba80::/32": "45062", - "2602:fc6f::/36": "399568", - "2804:52e4::/32": "268548", - "2a03:90c0:10::/39": "199524", - "2a09:840::/32": "209634", - "2401:10c0::/32": "131717", - "2604:880:60::/48": "29802", - "2606:2800:4a58::/46": "15133", - "2a0c:2f06::/32": "207080", - "2a0c:b340:2::/29": "206262", - "2001:4998:eff5::/48": "36647", - "2a0e:b540::/32": "30823", - "2001:e60:d720::/43": "4766", - "2605:c140::/32": "32674", - "2607:f1f0::/32": "11666", - "2804:14d:be82::/47": "28573", - "2607:f110:47::/43": "21889", - "2620:30:4000::/48": "1226", - "2a0a:ec02:b01::/48": "42692", - "2a00:1de8::/32": "48220", - "2001:44b8:1058::/46": "4739", - "2402:cf80:1003::/45": "62597", - "2402:ef03:6001::/40": "7633", - "240e:44d:6e80::/41": "4134", - "2804:4c0::/32": "3549", - "2804:3a44::/32": "266080", - "2804:71fc::/32": "270824", - "2408:84f3:9e40::/34": "17816", - "2804:4bb4::/35": "267325", - "2001:67c:1e0::/48": "31554", - "240a:a55c::/32": "144022", - "2804:448::/47": "262427", - "2804:27a8::/32": "263915", - "2604:d600:1270::/45": "32098", - "2605:a40e:2::/45": "33363", - "240a:a382::/32": "143548", - "2607:2000::/32": "5786", - "2a0f:fb00::/29": "208178", - "2001:559:1b8::/48": "7015", - "2408:8957:3000::/40": "17622", - "2804:19e8::/32": "61826", - "2001:ec0:100::/40": "134166", - "2a02:26f7:c989::/42": "20940", - "2001:559:421::/46": "7922", - "240a:a83e::/32": "144760", - "2605:aa40:c1e4::/48": "18792", - "2804:14c:6185::/41": "28573", - "2a00:1c50:5::/46": "30811", - "2a02:26f7:b6cc::/48": "36183", - "2001:559:85d6::/48": "33661", - "2401:4900:4620::/41": "45609", - "2406:8800:9013::/45": "17465", - "240a:a74b::/32": "144517", - "240e:980:4f00::/34": "4134", - "2607:9b00::/32": "30041", - "2620:13d:d000::/44": "6461", - "2a04:bf80::/29": "198101", - "2408:8456:a410::/42": "134543", - "240a:aba3::/32": "145629", - "2606:18c0:4::/46": "399448", - "2804:6e20::/32": "270577", - "2a0b:4d07:101::/46": "44239", - "2a0d:9f00::/32": "49821", - "2001:678:cc4::/48": "42086", - "240e:982:e000::/40": "58466", - "2a02:6c20::/46": "207167", - "2a03:420::/32": "28994", - "2a0c:b641:24f::/48": "141694", - "2001:67c:16c0::/48": "5588", - "2400:c540:c753::/36": "59238", - "2405:7f00:a2a0::/37": "133414", - "240e:3b8:1200::/39": "4134", - "2804:7db4::/32": "271577", - "2a00:1a90::/33": "45014", - "2a01:6460::/32": "13193", - "2a10:1d00::/32": "16019", - "2001:67c:1028::/47": "12553", - "2401:c500:fd04::/48": "54994", - "2600:380:b280::/39": "20057", - "2602:fd26::/48": "14639", - "2607:fc58:1:64::/64": "13536", - "2804:5b34::/32": "268827", - "2a0c:cc00::/32": "205206", - "2a04:4e40:2a00::/47": "54113", - "2405:6e00:2480::/45": "18291", - "240a:a5cf::/32": "144137", - "240e:fd:f800::/43": "140315", - "2806:1080::/39": "8151", - "2a02:26f0:1201::/39": "20940", - "2a02:26f7:cf41::/46": "20940", - "2a02:66a0::/32": "60086", - "2a06:d380::/29": "57860", - "2001:67c:2cfc::/48": "2119", - "2804:e94:700::/43": "262468", - "2a03:2b20:ff::/48": "202077", - "2001:678:f98::/48": "15598", - "2800:40::/43": "16814", - "2a0a:6a00::/32": "207097", - "2409:8019::/34": "134810", - "240a:a453::/32": "143757", - "2804:14c:41c2::/43": "28573", - "2a02:26f0:c401::/40": "20940", - "2001:559:323::/48": "33652", - "2402:700::/32": "9997", - "240a:aa89::/32": "145347", - "2600:1003:b1a0::/44": "6167", - "2804:c40::/32": "262809", - "2a00:e9e0::/32": "48670", - "2408:8340::/32": "4837", - "2600:140f:4c01::/39": "20940", - "2804:5f68::/32": "269097", - "2001:559:80e8::/48": "33651", - "2001:559:83c5::/48": "33652", - "2001:df0:e4::/48": "56026", - "2a02:858::/39": "3329", - "2a09:7:2005::/48": "41767", - "2a0e:97c0:2bf::/48": "211553", - "2a04:9f00::/29": "199837", - "2001:44b8:2052::/48": "7545", - "2402:f080::/46": "38150", - "2600:140f:7000::/48": "9498", - "2600:5c01:2c0d::/39": "10796", - "2806:265:501::/48": "13999", - "2a00:1ca8:d5::/32": "50673", - "2a01:c9c0:a1::/45": "8891", - "240e:438:1c20::/43": "140647", - "2804:14c:7b00::/40": "28573", - "2804:1894::/32": "61941", - "2a02:26f7:d380::/48": "36183", - "2a04:7c0:1::/45": "61135", - "2a05:d000:e000::/40": "16509", - "2001:559:8278::/48": "33651", - "2402:800:5ce0::/39": "7552", - "2405:203:99b::/45": "55836", - "2800:160:12bb::/45": "14259", - "2804:e94:640::/43": "262468", - "2a01:7e0:1fd::/32": "44066", - "2001:cf8:6::/36": "9619", - "2400:c540:bb::/39": "59238", - "2401:d800:2050::/42": "7552", - "2408:8957:7a00::/40": "17622", - "2620:11a:a01f::/48": "36040", - "2804:1408:a001::/33": "28635", - "2001:559:570::/48": "7922", - "2804:1a8::/32": "28229", - "2a0f:ea00::/46": "60781", - "2001:df1:2980::/48": "55654", - "2001:48a8:68fe::/32": "237", - "2405:8a00:4015::/34": "55824", - "2602:ff84:1::/48": "36351", - "240e:438:9840::/38": "4134", - "2803:b9c0:4100::/38": "265705", - "2804:4ecc::/32": "268283", - "2a02:26f0:e201::/39": "20940", - "2a05:dfc7:100::/43": "200897", - "2801:19:a800::/48": "271802", - "2a02:26f7:fbc8::/48": "36183", - "2a09:9bc0:a::/48": "9009", - "240e:438:6a40::/37": "4134", - "2605:a404:50e::/42": "33363", - "2a02:b50:8002::/48": "393954", - "2001:148f:fffe::/47": "20701", - "240a:a8b6::/32": "144880", - "2605:9c40::/32": "23420", - "2400:ac40:cb0::/39": "136255", - "2605:a401:806c::/43": "33363", - "2803:2240::/32": "263777", - "2a00:74e0::/32": "60879", - "2a03:6440:1001::/46": "199055", - "2404:f4c0:f90c::/48": "139833", - "2803:9e0::/32": "264732", - "2001:678:a48::/48": "209163", - "2001:1a10:d00::/38": "8781", - "2803:b060::/36": "267815", - "2409:4073:3000::/24": "55836", - "2605:6404::/32": "53667", - "2606:6680:8::/48": "19844", - "2a0a:6280::/29": "199434", - "2a0c:8fc4::/30": "202401", - "2405:c900::/32": "4739", - "2607:fc58:2000:600::/64": "13536", - "2a02:26f7:e141::/46": "20940", - "2402:8100:38c0::/39": "45271", - "2620:131:6000::/40": "16639", - "240a:ac1c::/32": "145750", - "2001:559:c1e9::/46": "7922", - "2001:559:c3dd::/48": "33287", - "2001:44b8:1056::/47": "7545", - "2400:a980:60fc::/46": "133512", - "2402:3a80:1368::/40": "38266", - "2402:3f80:1400::/40": "133475", - "2406:9dc0:60::/44": "18250", - "2803:a9e0::/32": "270014", - "2804:45e0::/32": "263065", - "2a03:b940::/32": "206484", - "2a0e:b107:9da::/48": "213262", - "2a0e:b107:bf4::/48": "140938", - "2001:7fb:ff00::/45": "12654", - "2001:860::/29": "5410", - "2804:6918::/35": "270248", - "2001:4479:a000::/37": "7545", - "2401:a100::/46": "45194", - "2401:ff80:168d::/46": "133954", - "2602:fd16::/36": "62611", - "2001:1440:203::/48": "5401", - "2404:7e80:4000::/36": "132717", - "2409:8924:700::/36": "56046", - "2606:ae00:2044::/48": "7287", - "2804:2ab0::/32": "264090", - "2607:f518:166::/44": "46887", - "2804:1c1c:5000::/32": "61638", - "2001:559:c3ff::/48": "33489", - "2402:ef3c::/32": "7633", - "2605:a401:80c6::/43": "33363", - "2606:2800:4204::/46": "15133", - "2804:4e0c::/33": "268236", - "2a01:c9c0:af::/48": "8891", - "2a02:a300::/27": "6830", - "2001:559:27b::/48": "33491", - "2001:19f0:caba::/48": "20473", - "2408:8956:1940::/40": "17816", - "2804:104c:800::/40": "263629", - "2a02:2e02:8ab0::/41": "12479", - "2a11:b00::/29": "208959", - "2620:11b:e0a4::/47": "202818", - "2803:6604:6a00::/32": "28075", - "2a06:5040:5::/48": "4785", - "2405:d200::/32": "2907", - "240e:580::/22": "4134", - "2602:ff58::/36": "40713", - "2a0c:5700:3134::/29": "30893", - "240a:ab20::/32": "145498", - "2804:c0c::/32": "52665", - "2804:6310:1800::/33": "269336", - "2a02:f2c0::/29": "208704", - "2a0e:b107:390::/44": "211781", - "2001:7f8:107::/48": "211947", - "2402:800:3b2b::/41": "7552", - "2804:14d:4e85::/41": "28573", - "2804:1c4c:1a3::/37": "61648", - "2a00:fa40:2000::/36": "57739", - "2a02:26f7:c709::/42": "20940", - "2a05:9f40:1f::/48": "42831", - "2001:438:70::/44": "6461", - "2001:500:203::/44": "394353", - "2001:1248:9737::/44": "11172", - "240e:966:9800::/33": "4134", - "2607:fcd0:fa80:3901::/54": "8100", - "2001:18b8::/44": "29789", - "2001:4878:8037::/44": "12222", - "2606:4180::/35": "393775", - "2606:8e80:4800::/35": "32133", - "2620:128:e008::/48": "22317", - "2a02:5320:500::/40": "12189", - "2a03:2a84::/30": "47232", - "2605:1c00:ff0::/44": "16787", - "2801:80:3ab0::/41": "270410", - "2a0d:eb40::/29": "39070", - "2a10:5d00::/29": "208256", - "2c0f:ec00::/32": "328383", - "2a0d:3000::/30": "205544", - "240a:a306::/32": "143424", - "240a:ae69::/32": "146339", - "2605:1900:2::/32": "12208", - "2800:bf0:8249::/43": "27947", - "2804:1bd8:5000::/32": "28224", - "2804:6660:d400::/34": "269554", - "2a02:9d8::/32": "6672", - "2600:805:b00::/48": "397601", - "2804:1328::/32": "52724", - "240e:473:8d50::/40": "4134", - "240e:980:4e00::/40": "136195", - "2804:14d:4600::/40": "28573", - "2804:9c0::/32": "262989", - "2a02:348::/46": "35470", - "240e:946:3005::/46": "58540", - "2606:6080:2004::/46": "32489", - "2804:74c::/32": "262805", - "2606:2800:2::/48": "14153", - "2804:3b34:2002::/35": "266135", - "2a02:18::/32": "44569", - "2a02:e70:19a::/32": "33965", - "240e:964:e600::/36": "4134", - "2001:559:208::/48": "33659", - "2400:cc00::/34": "17477", - "2600:140b:3401::/36": "20940", - "2602:fcc6::/48": "394737", - "2804:5dc8::/32": "268992", - "2806:2f0:1281::/46": "17072", - "2a03:6b00:9::/46": "48832", - "2001:559:7c5::/46": "7922", - "240a:a18f::/32": "143049", - "2a02:1680::/32": "50673", - "2a02:26f7:f689::/46": "20940", - "2a0e:b107:110::/47": "209294", - "2001:559:431::/48": "7016", - "2602:fd06::/36": "22150", - "2607:6300::/32": "29804", - "2a02:26f7:eb85::/46": "20940", - "2a02:ac80:11::/42": "25145", - "2a05:f507:75::/48": "13443", - "2001:559:566::/48": "33651", - "240a:a9fc::/32": "145206", - "240e:e:a800::/37": "17633", - "2804:e0:501::/32": "28330", - "2a09:500::/32": "48131", - "2a0a:5840::/32": "206137", - "2408:840c:2000::/40": "17621", - "240e:e9:4000::/37": "137702", - "2a04:92c7:33::/45": "62240", - "2402:800:998d::/43": "7552", - "2600:1003:b0d0::/44": "6167", - "2620:10a:8017::/44": "394354", - "2800:160:1ef9::/45": "14259", - "2804:78f0::/32": "271275", - "2001:579:d144::/42": "22773", - "2401:ff80:1503::/45": "133954", - "2402:800:5d9b::/41": "7552", - "2a06:200::/29": "200770", - "2804:13b0:ec00::/48": "263546", - "2a01:77c0:6::/48": "34848", - "240e:3be:2800::/38": "4134", - "2600:6400::/28": "14371", - "2602:fd23:9::/48": "19168", - "2804:6db0::/32": "270549", - "2804:77d0::/32": "271201", - "2408:873d:1000::/36": "140717", - "240a:a041::/32": "142715", - "240e:904::/30": "23724", - "2600:1404:f401::/36": "20940", - "2001:559:7ac::/48": "7922", - "2001:df5:d200::/48": "46050", - "2a0a:d980::/31": "213113", - "2a02:f3c0::/29": "49633", - "2001:67c:2aac::/48": "57508", - "2001:4878:37::/44": "12222", - "2403:cfc0:1006::/48": "395092", - "240a:a56b::/32": "144037", - "240a:a968::/32": "145058", - "2605:1980::/47": "13951", - "2620:129:b000::/47": "394575", - "2001:c20:484a::/43": "3758", - "2604:2d80:be80::/33": "30036", - "2a02:cb80:4100::/43": "43766", - "2a03:6740::/32": "20910", - "2a0a:5800::/29": "200428", - "2a0a:e5c2::/32": "209898", - "2001:468:c0f::/41": "10886", - "2404:c400:402::/47": "9328", - "240a:a5a8::/32": "144098", - "2804:275c::/32": "263896", - "2a02:26f7:d105::/46": "20940", - "2a09:4a40::/29": "62240", - "2a0d:d00::/29": "212865", - "2a06:9d40::/29": "31543", - "2400:4840::/48": "395363", - "2404:5dc0::/32": "136652", - "240a:ad83::/32": "146109", - "2606:2800:3::/48": "15133", - "2a01:190:15ea::/47": "1764", - "2001:559:8197::/48": "33656", - "2401:d800:fdf0::/38": "7552", - "240a:a92b::/32": "144997", - "2804:2ef8::/32": "52692", - "2a02:e980:25::/48": "62571", - "2402:800:350f::/43": "7552", - "2a09:480::/29": "212449", - "2a11:5900::/29": "211199", - "2401:ce80:1000::/47": "396417", - "2600:6c38:c2b::/45": "20115", - "2603:c002:8e10::/35": "31898", - "2a03:2880:f144::/47": "32934", - "2a10:7140::/29": "204007", - "2403:c200:1::/46": "9790", - "240e:108:20::/48": "4134", - "2801:14:b000::/48": "52318", - "2804:694c::/34": "270261", - "2a02:26f7:bdc8::/48": "36183", - "2a09:ac80::/29": "209723", - "2a0f:3ec0::/29": "41332", - "2401:ff40:e050::/35": "137080", - "2620:c3:c000::/44": "46416", - "2804:297c:c3c0::/42": "262907", - "2a00:a0a0::/46": "203144", - "2a02:26f7:c390::/48": "36183", - "240e:44d:6000::/41": "140345", - "2401:48c0::/32": "136119", - "240a:a6af::/32": "144361", - "2806:230:100d::/48": "11888", - "2804:54::/35": "28220", - "2804:58b4::/32": "268145", - "2a06:6541:1201::/48": "8220", - "2001:559:289::/48": "7016", - "240a:a536::/32": "143984", - "2605:ff40::/32": "13837", - "2804:930::/32": "263057", - "2a01:4a0:31::/44": "201011", - "2a01:7e0:aa00::/40": "31400", - "2404:cb00::/32": "17937", - "2408:8957:78c0::/39": "17816", - "240e:438:3640::/36": "4134", - "2a05:2240::/32": "59835", - "2001:559:83c4::/48": "33660", - "2001:1af0::/32": "13046", - "2600:1409:c000::/48": "35994", - "2607:ea00::/32": "57", - "2620:171:11::/46": "715", - "2a00:cbe0:100::/38": "60297", - "2804:3e60:110::/41": "266592", - "2804:7094::/33": "270735", - "2001:559:442::/48": "22258", - "2605:f440:cafe::/48": "209864", - "2804:2bd4::/32": "265178", - "2001:67c:1928::/48": "12843", - "2401:d1c0:8000::/33": "136994", - "240a:a8a2::/32": "144860", - "2800:68:2c::/43": "61468", - "2804:1eac::/32": "264443", - "2001:b000:59c::/48": "131660", - "2401:d800:9b30::/41": "7552", - "2408:840c:b600::/40": "17621", - "240a:a673::/32": "144301", - "2604:d600:1712::/36": "32098", - "2804:4f34:8030::/41": "268311", - "2a01:8640::/48": "59711", - "2408:8256:3493::/44": "17623", - "2605:a401:8241::/40": "33363", - "2a02:26f7:c8d1::/45": "20940", - "2404:a600::/32": "23816", - "240a:af2d::/32": "146535", - "2600:1488:6421::/40": "20940", - "2620:136:3000::/40": "18874", - "2804:4844::/32": "267108", - "240e:5f:600e::/48": "140314", - "2a05:3600::/29": "201290", - "2408:8459:6c10::/42": "17623", - "2607:f9f1:3::/32": "22205", - "2800:160:17a0::/45": "14259", - "2001:5e0:23::/48": "395394", - "2600:1480:7001::/37": "20940", - "2607:f740:e050::/48": "398748", - "2804:3b80::/32": "266153", - "2a04:bb40::/29": "62031", - "2a0a:b600::/29": "61317", - "2001:678:a44::/48": "208817", - "2402:800:34fe::/39": "7552", - "240a:aa58::/32": "145298", - "240a:adf1::/32": "146219", - "2a01:c50f:f140::/37": "12479", - "2a02:c600::/29": "47317", - "2001:559:c006::/48": "33660", - "2001:559:c156::/48": "33656", - "2620:1d:2000::/48": "13539", - "2804:192c::/32": "61776", - "2804:3938::/32": "266019", - "2604:6640::/32": "3131", - "2804:6534::/32": "269475", - "2001:67c:1270::/48": "20712", - "2403:6000::/42": "24085", - "2406:3003:1015::/48": "4657", - "2600:1488:b001::/33": "20940", - "2600:3503:6000::/29": "396998", - "2600:1901:ffa0::/41": "396982", - "2804:bec::/32": "263018", - "2a0a:6400::/29": "35202", - "2a0d:2787::/32": "62068", - "2804:3320::/32": "265374", - "2a01:7640:9000::/48": "206768", - "2a04:4e40:b600::/48": "54113", - "2001:500:72::/45": "30133", - "240e:3b3:f100::/36": "4134", - "2600:1001:f000::/44": "6167", - "2a09:b00::/29": "209895", - "2001:df2:1000::/47": "132335", - "2402:800:b830::/41": "7552", - "2607:4d00:2000::/35": "33398", - "2804:1b2c:1400::/32": "61713", - "2a01:9700:14d4::/44": "8376", - "2a06:6541:30c1::/48": "3549", - "2401:4900:1200::/42": "45609", - "2607:ff28:c000::/35": "62904", - "2806:2f0:90e2::/39": "17072", - "2a0d:2582:170::/44": "211367", - "2001:4878:c225::/48": "12222", - "2409:805f:3900::/26": "9808", - "2804:18:7820::/43": "10429", - "2001:559:c043::/48": "7922", - "2406:d7c0::/32": "38839", - "240a:a8ca::/32": "144900", - "2804:145c:c610::/42": "263327", - "2a02:2068::/32": "15830", - "2a06:2f40::/29": "57878", - "2400:c700:188::/38": "55644", - "2607:ff60::/46": "3900", - "2a0c:ab07:5000::/36": "208861", - "2001:559:1b2::/48": "33287", - "2606:2800:50c::/46": "15133", - "2804:23c0:500::/34": "26218", - "2804:2800::/32": "263934", - "2001:559:c3ae::/48": "7922", - "2001:67c:38c::/48": "43081", - "2401:4800::/48": "38457", - "2403:e840::/32": "137969", - "240e:980:3000::/33": "4134", - "2803:6f00:801::/32": "14117", - "240e:473:5200::/41": "140485", - "2a05:43c0::/29": "12570", - "2408:8246::/35": "140726", - "2408:8456:5e00::/42": "17622", - "2600:40ff:fcfc::/47": "7046", - "2605:bc00::/32": "46309", - "2001:1be0::/32": "2686", - "2804:cb0:d302::/45": "52742", - "2804:1068:4000::/32": "263634", - "2804:787c::/32": "271245", - "2a00:1e50:8000::/33": "204273", - "2a0c:4280::/32": "20866", - "2001:559:8061::/48": "33657", - "2800:bf0:2425::/43": "27947", - "2a10:7a40:3::/48": "39910", - "2001:559:12a::/48": "7015", - "240a:a92e::/32": "145000", - "2600:e000::/38": "22995", - "2607:ff00:300::/40": "19437", - "2803:6604:e001::/37": "28075", - "2001:67c:a4::/48": "48908", - "2607:e880:55::/48": "13602", - "240a:a6b8::/32": "144370", - "2a04:4e40:2210::/44": "54113", - "2605:e700::/34": "6913", - "2a02:26f7:bec0::/48": "36183", - "2a04:f600::/29": "200435", - "2a0a:49c0::/29": "206178", - "2800:160:200e::/43": "14259", - "2806:267:1501::/48": "13999", - "2c0f:f738:2000::/45": "61317", - "2a03:e340::/48": "28753", - "2001:559:8205::/48": "33657", - "2001:67c:168c::/48": "199217", - "2001:dc9::/32": "24252", - "2001:44b8:405b::/48": "4739", - "2405:7040:6000::/48": "4812", - "2804:2178:4006::/35": "264556", - "2a03:d000:9000::/48": "13075", - "2001:559:c294::/48": "33667", - "2001:67c:15e8::/48": "3301", - "2001:500:104::/44": "21775", - "2604:f980:4220::/44": "19957", - "2803:5b20:2000::/33": "27735", - "240e:438:6640::/36": "4134", - "2602:80b:7000::/44": "20473", - "2800:2a0:230::/47": "264788", - "2a02:26f7:b705::/46": "20940", - "2001:559:3e8::/48": "33489", - "2620:3b::/48": "11488", - "2a01:c50e:b900::/37": "12479", - "2806:3a4::/32": "265623", - "2001:559:87d7::/48": "7922", - "2001:678:970::/48": "31317", - "2405:b8c0:1000::/33": "131674", - "2406:a2c0::/32": "135845", - "2602:fd50:f32::/48": "212149", - "2803:fd80::/36": "52468", - "2804:46dc::/32": "267016", - "2a01:6f00::/29": "43571", - "2a03:ac0::/32": "2128", - "2a04:ba80::/29": "202217", - "2001:fd8:b0e0::/44": "132199", - "2620:32:8000::/48": "1742", - "2a0a:6380::/29": "12552", - "2001:559:8286::/47": "7922", - "2001:19f0:a08::/48": "46407", - "2605:a000:1e00::/40": "11955", - "2804:7d80::/32": "271565", - "2a0e:1bc0::/35": "208621", - "2406:35c0::/32": "38038", - "2401:d800:b630::/41": "7552", - "2600:1408:e001::/37": "20940", - "2a02:26f7:facd::/42": "20940", - "2a0e:97c5:5bc::/46": "20473", - "2001:559:856c::/48": "7922", - "2001:49f0:d0a5::/44": "174", - "240a:ab52::/32": "145548", - "2804:2b44:87::/32": "265144", - "2a02:26f7:cd48::/48": "36183", - "2404:a8:4094::/48": "24514", - "2804:75a8::/32": "271061", - "2001:678:94c::/48": "30962", - "2001:1260:11f::/40": "13591", - "2800:3c0:20a0::/39": "19863", - "2a03:4d41:410::/38": "199610", - "2001:559:84fc::/47": "33651", - "2001:7fb:ff12::/45": "12654", - "2001:df1:c080::/48": "139739", - "2406:e000:c1c::/31": "23655", - "240a:aee0::/32": "146458", - "240e:108::/43": "58519", - "2804:14d:c283::/41": "28573", - "2001:df0:c800::/48": "133173", - "2401:d800:f30::/41": "7552", - "240e:90d:a000::/36": "137688", - "2803:3340::/32": "264700", - "2a02:26f7:4::/48": "36183", - "2001:559:83b7::/48": "7015", - "2409:8939::/30": "9808", - "2604:6600:26::/41": "40676", - "2607:f1c8::/32": "32890", - "2001:678:6bc::/48": "202592", - "2001:67c:108::/48": "202244", - "2401:df00::/31": "17916", - "2600:1404:6c01::/35": "20940", - "2806:322:800::/34": "28546", - "2a05:6740:40c0::/48": "206228", - "2602:ffe2:10::/48": "53334", - "2603:c001:1630::/36": "31898", - "2606:2800:602c::/48": "15133", - "2620:12f:f000::/44": "43", - "2401:fd80:ffff::/48": "139853", - "2405:4040::/32": "135206", - "2800:6d0::/32": "19889", - "2804:17dc::/32": "263255", - "2a00:4802:a30::/41": "13124", - "2a06:f400::/29": "203387", - "2001:559:8181::/48": "33287", - "2001:4878:2031::/48": "12222", - "2604:f580::/32": "54329", - "2800:160:1dca::/43": "14259", - "2804:1d40::/32": "52674", - "2804:5ffc::/32": "269138", - "2a02:26f7:13::/48": "20940", - "2001:7a8:802::/44": "13193", - "2001:43f8:d20::/44": "328209", - "2606:45c0:9591::/33": "26073", - "2a02:710::/32": "42973", - "2a0b:90c0::/29": "205565", - "2401:ff80:110b::/45": "133954", - "2800:a4:2a00::/28": "6057", - "2803:7ce0::/32": "23140", - "2804:344c::/32": "262818", - "2804:5364:e000::/35": "268581", - "2a05:2940::/29": "61131", - "2a06:3b00::/48": "50007", - "2001:df0:206::/48": "37990", - "2804:1570::/32": "263388", - "2a06:9ac0::/32": "209242", - "2a0f:70c0:100::/48": "207869", - "240e:980:2f00::/40": "134760", - "2a02:26f7:bf8c::/48": "36183", - "2406:e780:eb3::/32": "63679", - "2620:11c:f008::/48": "393667", - "2a00:1cb8:2:9::/61": "12713", - "2001:c38:902b::/41": "9931", - "2001:df1:6e80::/48": "174", - "2001:43f8:ab0::/48": "328093", - "2401:5e40:2000::/32": "63770", - "2a04:540::/29": "44391", - "2001:559:c266::/48": "33287", - "2a01:a480::/32": "15576", - "2806:2f0:84e0::/35": "17072", - "2a00:1eb8:c002::/47": "8764", - "2a04:6a00:d4::/48": "43460", - "2a06:7400::/29": "59398", - "2a0d:e40::/29": "39402", - "2401:900::/32": "9351", - "240e:473:6920::/41": "140486", - "2600:1406:b::/43": "20940", - "2602:ffce::/42": "63019", - "2607:fcd0:fa80:1::/62": "8100", - "2a03:a300:1140::/48": "35104", - "2a0a:c0c0::/29": "39106", - "2001:43f8:6c0::/48": "37495", - "2401:d800:d1f0::/38": "7552", - "2402:e380:30e::/48": "138564", - "2408:8456:6000::/42": "17622", - "2409:8c20:1832::/48": "56046", - "240a:a434::/32": "143726", - "2001:468:2631::/44": "11537", - "2001:44b8:404b::/48": "4739", - "2409:8a53:1100::/32": "56047", - "2804:1d04:8000::/35": "61689", - "2804:7950::/32": "271298", - "2806:230:6021::/48": "11888", - "2a01:8840:61::/48": "207266", - "2001:559:8461::/48": "7922", - "2001:dc7:cd1b::/35": "24151", - "2400:cb00:200::/44": "13335", - "2409:8c4d:5201::/30": "9808", - "240e:a51:5c00::/34": "134419", - "2804:2854::/32": "263956", - "240a:ae49::/32": "146307", - "2800:160:1fe3::/44": "14259", - "2804:1624:2000::/32": "263270", - "2001:470:11b::/48": "395570", - "2402:800:9555::/42": "7552", - "2403:8600:c90::/44": "45820", - "2408:8026:710::/36": "17621", - "2607:1280:11a0::/44": "394972", - "2a02:4d8::/32": "41589", - "2804:5df0::/32": "269002", - "2a02:ff0:1000::/40": "12735", - "2001:1a11:101::/48": "8781", - "2406:840:fc00::/48": "140938", - "2605:7f40::/32": "396357", - "2c0f:f290::/32": "37492", - "2001:570::/48": "6066", - "2404:bac0::/32": "131642", - "2409:8a02::/32": "38019", - "2604:2e80:1400::/46": "30036", - "2620:119:501a::/47": "13443", - "2a01:5040:1001::/42": "43996", - "2a07:1980:4::/46": "48851", - "2001:978:5401::/36": "174", - "2401:e740::/32": "135607", - "2406:e1c0:fcf::/32": "141459", - "2605:a404:15f::/42": "33363", - "2a0e:6a00::/29": "209057", - "2400:4800::/32": "9790", - "2406:2140::/32": "24202", - "240e:473:1720::/41": "140486", - "2803:eb40::/32": "264712", - "2804:5d80:4100::/32": "268976", - "2804:7a48::/32": "271362", - "2a02:2e02:c60::/43": "12479", - "2001:559:87c6::/48": "7015", - "2001:67c:394::/48": "47698", - "2408:8957:6500::/40": "17816", - "240a:41cc::/31": "58834", - "2600:140a:a001::/33": "20940", - "2001:400:210:89::/55": "293", - "2001:559:80c3::/45": "33651", - "2408:8957:b000::/40": "17622", - "2a01:6e00::/44": "43142", - "2a02:26f7:e501::/46": "20940", - "2001:1938:0:2001::/64": "34305", - "2400:1c00:310::/44": "45143", - "240e:3bd:2c00::/35": "134774", - "2402:800:379b::/41": "7552", - "2604:5500:ac00::/38": "19165", - "2001:678:6a4::/48": "202481", - "2600:6c3a:17::/44": "20115", - "2607:1e00::/35": "22489", - "2a04:f580:9212::/47": "4809", - "2406:3000:a:8::/47": "4657", - "2605:a900:3022::/33": "46887", - "2401:b780::/41": "45410", - "2600:40f0:150::/35": "701", - "2a02:400::/32": "47264", - "2001:559:82dc::/47": "33659", - "2404:8000:1016::/44": "17451", - "2607:f5c0::/32": "10326", - "2620:42:c000::/48": "395089", - "2620:109:c003::/48": "40793", - "2806:230:201f::/48": "11888", - "2001:dcc:500::/46": "23596", - "2803:5200:2000::/36": "52439", - "2806:370:4000::/44": "28403", - "240e:6ba::/36": "140314", - "2620:13f:8000::/47": "27547", - "2804:32dc::/32": "262322", - "2a06:e881:1407::/44": "202540", - "2001:67c:2558::/48": "20943", - "2a01:190:3a::/39": "1764", - "240a:aa95::/32": "145359", - "2605:9d80:a021::/48": "36678", - "2804:22d8:c000::/34": "264126", - "2001:559:828a::/48": "7922", - "2408:8256:2ea0::/39": "17816", - "2605:d880::/32": "40945", - "2606:9600::/32": "17018", - "2a0b:91c0::/29": "203489", - "2a02:26f7:b580::/48": "36183", - "2a0e:e6c0:2000::/36": "51579", - "2409:8062:807::/40": "9808", - "2605:5340::/32": "62532", - "2610:a1:3038::/48": "12008", - "2a02:2230::/34": "25467", - "2401:5180::/32": "31216", - "2409:8924:4b00::/37": "56046", - "2804:11b8::/32": "263434", - "2a00:a000::/32": "35332", - "2a02:2ad0:219::/41": "702", - "2a03:6e80::/32": "15425", - "2a07:c540::/29": "198930", - "2402:800::/34": "7552", - "2806:230:5010::/48": "265594", - "2001:df6:600::/48": "135653", - "2402:800:990f::/43": "7552", - "2a02:26f0:cb01::/37": "20940", - "2a07:14c6::/32": "59504", - "2a0e:d200::/29": "209044", - "2401:d800:f7b0::/41": "7552", - "2404:ec:200::/39": "703", - "2404:4d40::/32": "138575", - "240a:af03::/32": "146493", - "2a02:6b60::/28": "201838", - "2a06:8780::/32": "50629", - "2400:a980:7100::/37": "133111", - "2a02:29a8:900::/30": "60142", - "2a07:48c0::/29": "212629", - "2a0a:e680::/29": "21159", - "2a0f:5707:abe0::/48": "211066", - "2400:a980:3100::/37": "133111", - "2600:1004:f000::/44": "6167", - "2a01:7a40::/32": "48483", - "2a01:80a0:ffff::/48": "62156", - "2a01:a280:6::/40": "35000", - "2405:9800:b418::/48": "133481", - "2409:8904:68b0::/39": "24547", - "2404:160::/32": "10030", - "2a00:1a28:1158::/32": "42708", - "2a03:e140:1::/48": "208274", - "2408:8a00:c000::/35": "9929", - "2409:8051:900::/37": "9808", - "2600:1002:b000::/42": "6167", - "2607:eb00::/32": "53486", - "2806:2f0:6021::/41": "17072", - "2a01:c50f:f900::/40": "12479", - "2a02:26f7:e804::/48": "36183", - "2a00:6960::/32": "60950", - "2a02:26f7:6e::/48": "36183", - "2620:11c:f004::/48": "393667", - "2402:800:76f0::/39": "7552", - "2404:0:2000::/36": "7482", - "2404:b1:9000::/34": "9891", - "2407:adc0::/32": "142470", - "2408:8456:7000::/42": "17622", - "2409:806a:1100::/36": "9808", - "240a:ad66::/32": "146080", - "2a00:1600::/32": "50195", - "2001:3c8:c302::/45": "4621", - "2408:8956:6f00::/40": "17816", - "240a:a2ce::/32": "143368", - "240a:ae7a::/32": "146356", - "2600:804:200::/48": "12234", - "2600:1480:b001::/37": "20940", - "2604:d600:1059::/46": "32098", - "240a:acda::/32": "145940", - "2a10:9903:101::/48": "15510", - "2602:fcc2::/36": "399289", - "2804:2d6c::/32": "265281", - "2a05:df40::/29": "9186", - "2a0c:9b80::/29": "205816", - "2607:ff48::/32": "8100", - "2a03:1240::/48": "34187", - "2402:800:5d63::/43": "7552", - "2800:440:8180::/48": "27738", - "2a03:1ac0::/34": "9049", - "2a05:d01a::/36": "16509", - "2a06:8e01:1::/46": "44103", - "2a0d:6100::/29": "60781", - "2620:89:2000::/48": "394616", - "2a0c:4840::/29": "204296", - "2a02:1006:c000::/48": "3320", - "2409:8734:aa00::/33": "9808", - "2409:8904:5e40::/42": "24547", - "2604:eb40:6::/48": "55158", - "2620:149:a31::/48": "6185", - "2804:4a24:50::/48": "267221", - "2804:7678::/32": "271114", - "2a00:fc20::/32": "200059", - "2a02:26f7:ea00::/48": "36183", - "2a07:6840::/29": "29119", - "2804:5034::/32": "268375", - "2806:230:4031::/48": "11888", - "2a0c:f00::/29": "56485", - "2a0e:97c0:330::/44": "211481", - "2401:ff80:190f::/43": "133954", - "240e:ff:c001::/48": "134774", - "2a0b:4342:4000::/36": "57578", - "2001:559:418::/48": "20214", - "2001:67c:1198::/47": "47805", - "2001:fd8:3480::/42": "132199", - "2001:16a2:c00::/34": "39386", - "2401:d800:9cd0::/42": "7552", - "2a02:26f7:f0c5::/46": "20940", - "2602:fde4::/36": "22058", - "2804:f24:c000::/36": "263567", - "2a04:b880:5::/48": "43578", - "2001:559:7c2::/47": "33659", - "2001:df6:5880::/48": "142022", - "2401:3c0:10b::/48": "45528", - "2600:7c00::/28": "15344", - "2a04:2700::/29": "12637", - "2001:4d0:6118::/48": "10343", - "2604:ca00:100::/45": "36492", - "2001:67c:52c::/48": "49639", - "2401:d800:2320::/41": "7552", - "2607:f750:20::/47": "23473", - "2a0d:2e00:3000::/48": "33932", - "2001:559:4ce::/48": "7016", - "2001:41f8::/32": "13115", - "2401:d800:f9b0::/41": "7552", - "2804:7ac::/32": "262542", - "2a02:6b0::/32": "24638", - "2001:650:cc02::/48": "3320", - "2402:800:340f::/43": "7552", - "2804:36f0:2400::/33": "266381", - "2a00:c00:f050::/46": "8373", - "2400:7400:e036::/48": "23736", - "240a:a215::/32": "143183", - "2804:3244:28::/32": "265066", - "2804:4998::/32": "267192", - "2a00:cc0::/46": "13237", - "2600:806:101::/38": "701", - "2607:ffc8:0:7::/47": "17356", - "2620:0:5300::/44": "11131", - "2803:5ce0:500::/40": "271809", - "2a09:3800::/29": "208861", - "2405:9800:d003::/48": "133848", - "2408:8459:8250::/37": "17816", - "2801:141::/44": "271958", - "2804:1a0::/47": "28189", - "2804:5edc::/33": "269061", - "2a02:26f7:be01::/46": "20940", - "2a04:a580::/29": "12874", - "2001:67c:2120::/48": "31710", - "2404:4a00:6501::/64": "55423", - "2409:8051:2800::/47": "56047", - "240e:37f:2600::/32": "4134", - "2600:c13::/32": "13791", - "2605:36c0:1::/48": "29944", - "2804:5880::/32": "268133", - "240a:addb::/32": "146197", - "2600:1409:2801::/35": "20940", - "2801:164::/40": "27951", - "2806:2f0:12a0::/46": "22884", - "2001:559:864f::/48": "33661", - "2001:559:8657::/48": "7922", - "2409:8b35::/28": "9808", - "2600:140b:4400::/48": "31109", - "240e:473:9e00::/41": "140485", - "2600:14a0:101::/27": "20940", - "2605:6c80:e::/47": "397373", - "2a01:b740:a04::/48": "6185", - "2a05:fb46::/32": "59504", - "2a09:4fc0::/48": "209562", - "240a:ad44::/32": "146046", - "2804:20bc::/32": "264511", - "2a02:26f7:c1c5::/46": "20940", - "2a0a:d6c0:1::/48": "51658", - "2a02:26f7:e845::/46": "20940", - "2001:559:83bf::/48": "33657", - "2001:ae8::/32": "9080", - "2001:df1:bd80::/48": "139742", - "240e:108:11e3::/48": "134763", - "2600:350f:3000::/32": "396998", - "2605:f700:400::/38": "18978", - "2804:70c0:a::/47": "270746", - "2001:49f0:d089::/43": "174", - "2a03:8de0::/32": "41887", - "2001:67c:2b44::/48": "25525", - "240a:a16d::/32": "143015", - "2603:90be::/32": "12271", - "2806:230:1033::/48": "11888", - "2a04:2140::/29": "199283", - "2001:559:7f3::/48": "33491", - "2001:67c:24d8::/48": "204228", - "2409:8051:2000::/47": "56047", - "2804:646c::/32": "269427", - "2001:559:c32b::/48": "7922", - "2800:160:1d0a::/45": "14259", - "2804:2144:8800::/34": "52795", - "2a03:5d60::/29": "14340", - "2605:6440:3005::/33": "396356", - "2606:e600::/32": "4258", - "2806:2f0:a361::/33": "17072", - "2a02:26f7:c288::/48": "36183", - "2a02:6300:30::/48": "57801", - "2a0f:9441:47::/29": "62240", - "2001:559:3cb::/48": "33491", - "2001:7a0::/32": "15782", - "240a:a313::/32": "143437", - "2804:e30:c00::/38": "11338", - "2401:4900:5070::/40": "45609", - "2606:6680:6::/48": "30475", - "2620:78:200f::/48": "209242", - "2804:1568::/32": "263387", - "2409:8744::/28": "24445", - "240e:44d:5380::/41": "4134", - "2607:ae80:4::/47": "26558", - "2a01:37:2000::/35": "8875", - "2a01:5900::/32": "29239", - "2a0b:e0c0::/29": "41206", - "2401:ff80:1711::/46": "133954", - "2408:84f3:be10::/42": "134543", - "2800:e0::/28": "13489", - "2804:25d0::/32": "262656", - "2a02:26f7:c649::/42": "20940", - "2a02:26f7:ed88::/48": "36183", - "2a02:2e02:9fd0::/34": "12479", - "2a11:0:1::/29": "44103", - "2406:b480:100::/46": "38146", - "2408:825c::/31": "4837", - "240e:473:3250::/39": "4134", - "2803:7a00::/32": "52468", - "2a01:53c0:fd00::/48": "13658", - "2001:559:3f::/48": "7015", - "2405:9800:b12a::/37": "45430", - "2001:1388:8a64::/43": "6147", - "240a:afb3::/32": "146669", - "2800:6f0:5800::/40": "20207", - "2801:1:8800::/48": "64102", - "2a07:c480::/29": "50017", - "2a09:bac0:275::/48": "13335", - "2001:1248:578c::/42": "11172", - "2402:800:3aee::/43": "7552", - "2407:500:4111::/34": "58940", - "2604:d600:2003::/38": "32098", - "2800:3c0:2050::/40": "19863", - "2a02:26f7:f288::/48": "36183", - "2001:503:5419::/48": "7342", - "240e:44d:4480::/41": "4134", - "2606:bc0::/32": "3356", - "2800:160:1392::/45": "14259", - "2a02:6900:8818::/48": "7160", - "2a05:a100::/29": "200899", - "2a0b:ea40::/31": "198188", - "2001:df1:9c00::/48": "133882", - "2604:72c0::/32": "26095", - "2a02:678::/32": "8632", - "2a03:4c60::/32": "199909", - "2a03:9d40::/36": "41095", - "2a0c:6d00:232::/48": "3218", - "2001:4490:fffc::/46": "9829", - "2408:8026:4b0::/39": "17621", - "2409:8c10::/30": "9808", - "240a:ac08::/32": "145730", - "2605:52c0:1::/46": "54574", - "2800:1e0:2100::/40": "64124", - "2a02:c60::/32": "49985", - "2001:678:f20::/48": "211551", - "2402:3a80:c071::/48": "38266", - "2409:8087:2800::/44": "56041", - "240e:109:804c::/25": "4134", - "2804:7a3c::/36": "271357", - "2001:67c:1328::/48": "199268", - "2408:80f1:200::/43": "17621", - "2409:805c:6100::/30": "9808", - "2607:3400::/32": "26891", - "2001:559:8443::/48": "33660", - "2a01:8880:8001::/33": "8745", - "2001:510:101::/44": "376", - "2001:1248:8714::/44": "11172", - "2401:4900:4f53::/45": "9730", - "2a0a:da80::/29": "213112", - "2a0e:97c5:454::/46": "20473", - "2001:df6:780::/48": "141384", - "2402:4880::/32": "134160", - "2405:201:c800::/35": "55836", - "240a:a46d::/32": "143783", - "2620:125:9014::/48": "397415", - "2804:14d:9400::/40": "28573", - "2407:5600::/32": "45186", - "2409:8053:2c00::/38": "9808", - "2604:7b80::/32": "32808", - "2804:18:6040::/37": "10429", - "2804:6610::/32": "269531", - "2605:2fc0:1200::/36": "31984", - "2606:6d00:200::/32": "1403", - "2a02:26f7:b7c8::/48": "36183", - "2a04:bc40:1dc0::/48": "44750", - "2a0d:ea80::/29": "43350", - "240a:a528::/32": "143970", - "240a:aafd::/32": "145463", - "2804:1c3c::/32": "61642", - "2401:ff80:1393::/37": "133954", - "2a01:bd40::/29": "12586", - "2a0b:2d85::/32": "44582", - "2001:df4:4f80::/48": "140941", - "2605:9a00:10::/48": "160", - "2804:5e40::/32": "269021", - "2a02:26f7:e101::/46": "20940", - "2a06:c5c0:600::/48": "210329", - "2a0c:7280::/30": "204786", - "2c0f:ed50::/32": "328468", - "2001:340::/32": "4678", - "2001:559:137::/44": "7922", - "2409:408c:9000::/31": "55836", - "2600:8000::/26": "29992", - "2408:8256:3b96::/44": "17623", - "240e:3b7:4c00::/35": "136200", - "2605:a401:8c46::/42": "33363", - "2607:5a80::/32": "11847", - "2804:3cb8:d000::/34": "53221", - "2a02:26f7:f6dd::/42": "20940", - "2a02:ee80:40b2::/47": "21433", - "2a02:ac80:51::/42": "25145", - "2001:fd0::/44": "10029", - "2402:8e40::/32": "137473", - "2602:803::/48": "393457", - "2806:230:4009::/48": "11888", - "2402:800:5747::/43": "7552", - "2804:46fc:8000::/33": "267024", - "2a05:1500:100::/46": "48635", - "2a0a:4140::/29": "60111", - "2001:559:4ad::/48": "7016", - "2001:c20:c818::/42": "3758", - "2620:f0:4005::/44": "394699", - "2804:8dc::/32": "262395", - "2804:3244:1c::/42": "265066", - "2c0f:f9c8::/32": "37549", - "2001:44c8:4190::/42": "131445", - "2001:559:3c4::/48": "33660", - "2001:559:c166::/47": "33659", - "240a:a488::/32": "143810", - "2605:a900:202e::/39": "46887", - "2804:1a20::/32": "61838", - "2001:559:85db::/45": "7015", - "2a00:1850:6e1::/45": "29357", - "2a05:1a00:4000::/27": "43754", - "2001:559:85d8::/48": "33667", - "2602:feda:3::/45": "46997", - "2804:3f3c::/32": "266647", - "2a0b:3f80::/29": "43019", - "2408:8459:4e40::/40": "17623", - "2803:2040::/32": "28050", - "2a02:ee80:413f::/48": "3573", - "2a03:6440:2001::/46": "199055", - "2402:4cc0::/32": "136724", - "2a01:7e0:ab00::/33": "44066", - "2001:559:491::/48": "33657", - "2600:1003:9110::/37": "22394", - "2600:140f:4e00::/48": "38266", - "2604:86c0:f000::/40": "61003", - "2803:1240:3502::/32": "27855", - "2a0f:5707:ab22::/48": "202297", - "2602:ffb7:5a0::/46": "62874", - "2604:d600:914::/44": "32098", - "2607:f808::/32": "3464", - "2408:8456:840::/39": "17816", - "2803:280::/32": "52498", - "2a02:26f7:4a::/48": "36183", - "2a02:2e02:8a30::/40": "12479", - "2a0c:7e46:4f08::/48": "20473", - "2402:e240::/32": "55699", - "240a:a7da::/32": "144660", - "2600:140b:7400::/48": "31109", - "2607:f7a8::/37": "16657", - "2a00:4940:2::/32": "198279", - "2a02:26f7:ec85::/46": "20940", - "2001:4490:da70::/46": "9829", - "2803:6900:507::/48": "52423", - "2804:29b8:5104::/41": "28126", - "2a02:26f7:f145::/46": "20940", - "240e:965:3000::/32": "4134", - "2600:6c38:7a::/45": "20115", - "2a05:44c0::/32": "32338", - "2a07:cbc0:1c0::/29": "201299", - "2001:559:f9::/48": "7015", - "2001:559:8639::/45": "7015", - "2401:b300::/32": "131999", - "2402:2080::/32": "131144", - "2804:1ecc::/32": "264448", - "2a0c:e640::/45": "211876", - "2001:559:c0ab::/45": "7922", - "2600:1008:b030::/44": "22394", - "2604:d600:1558::/47": "32098", - "2800:550:3::/45": "7004", - "2801:1f:8800::/48": "18747", - "2a02:f00::/48": "48137", - "2a02:26f7:eb05::/46": "20940", - "2001:df4:5f00::/47": "134033", - "2620:11:60::/47": "3486", - "2001:4878:4164::/48": "12222", - "2402:9400::/32": "55803", - "2405:b8c0:6795:40fd::/64": "131677", - "240e:108:10b0::/47": "134420", - "2620:121:5080::/48": "14618", - "2a02:2808:1009::/48": "56361", - "2a05:d840::/29": "200994", - "2804:299c::/32": "264025", - "2a11:c00::/29": "47787", - "2406:f00:7::/48": "24186", - "2804:9ec:800::/32": "263002", - "2804:39f8::/32": "266062", - "2806:230:2036::/48": "265594", - "2001:2f8:1009::/32": "2907", - "2405:84c0:9c00::/40": "9886", - "2408:80ea:6300::/41": "17816", - "240a:abbf::/32": "145657", - "240a:aff1::/32": "146731", - "2a00:4800::/40": "13124", - "2a05:e580::/32": "63399", - "2001:559:c369::/48": "33651", - "2400:8500:3300::/48": "55907", - "2604:6040:20::/48": "53698", - "2804:e24:ffff::/48": "262417", - "2a03:a0a0::/46": "39405", - "2400:cb00:291::/46": "13335", - "2607:fe90::/33": "19237", - "2a06:a5c0::/30": "46723", - "2a07:22c0:8002::/47": "213034", - "2a07:c840::/29": "62183", - "2604:2680:5::/46": "2386", - "2607:fb90:2f00::/35": "21928", - "2606:2800:600a::/48": "15133", - "2804:3b7c::/32": "266152", - "2a01:4d0::/32": "31400", - "2a09:87c0:ffff::/48": "59497", - "2a03:b240::/32": "3250", - "2401:ff80:1791::/46": "133954", - "2407:6100::/32": "58952", - "2409:8c14:100::/36": "56044", - "2800:160:170f::/43": "14259", - "2804:35e0::/36": "266312", - "2804:514c::/32": "268444", - "2a00:45c0::/32": "42707", - "2c0f:6400::/32": "37088", - "240a:a748::/32": "144514", - "240e:874:360::/30": "4134", - "240e:980:9200::/40": "4134", - "2001:ae1::/32": "42008", - "240e:982:8000::/40": "133774", - "2a0e:5480::/29": "16019", - "2a10:2f00:15a::/48": "212237", - "2605:ac80::/32": "33481", - "2a00:1f90::/32": "9021", - "2a0a:df80:26::/48": "39212", - "2a02:26f7:f64c::/48": "36183", - "2001:428::/36": "209", - "2400:cb00:a550::/46": "13335", - "2402:800:5963::/43": "7552", - "240a:ad94::/32": "146126", - "2600:1001:a000::/44": "6167", - "2804:5b8c::/32": "268854", - "2806:2f0:3461::/40": "17072", - "2001:559:711::/46": "7922", - "2001:44c8:45e0::/43": "45430", - "2402:3a80:1800::/42": "38266", - "2409:8730:3000::/33": "9808", - "2607:f170:20::/44": "13768", - "2607:f6f0:9002::/40": "32323", - "2806:230:4043::/45": "265594", - "2a07:a343:120::/44": "9009", - "2001:559:591::/48": "7015", - "2402:800:529b::/41": "7552", - "240a:a388::/32": "143554", - "2606:4700:f5::/39": "13335", - "2804:30c4:2000::/32": "264973", - "2806:10b7:2::/47": "8151", - "2402:800:b310::/42": "7552", - "2402:8100:20d7::/44": "45271", - "2604:d600:164b::/45": "32098", - "2804:6f04::/32": "270633", - "2a00:9d20:101::/48": "30633", - "2001:559:39f::/42": "33652", - "2404:c400:dc06::/34": "9328", - "2a01:80a0:1::/48": "62156", - "2408:80ea:6680::/41": "17622", - "2409:8915:2400::/39": "56044", - "240e:438:7a20::/43": "140647", - "2620:12f:c00d::/46": "395831", - "2801:1c:c800::/48": "269883", - "2804:1b60::/32": "61724", - "2a01:c8:400::/32": "20756", - "2a01:8840:86::/44": "12041", - "2a06:1287:3000::/44": "34549", - "2a0b:6d80::/29": "31477", - "2a0e:fd40:be01::/29": "44103", - "2001:559:c354::/48": "33287", - "240a:a91f::/32": "144985", - "2a03:e841::/32": "47492", - "2a06:5400::/29": "62341", - "2a07:fa00::/29": "3214", - "2a0f:5707:17::/48": "212592", - "2a0b:af40::/29": "205543", - "2001:559:829f::/48": "33657", - "2408:840c:5f00::/40": "17621", - "240e:c9:6000::/29": "4134", - "240e:3b4:2800::/38": "4134", - "2602:fdaa::/48": "27385", - "2607:fb90:8c00::/39": "21928", - "2a0a:d6c0:186::/48": "212981", - "2409:873d::/25": "9808", - "2804:2bec::/32": "265184", - "2804:4f78::/32": "268329", - "2a0c:9480::/30": "15083", - "2a10:4440::/29": "212693", - "2408:8459:1f50::/34": "17816", - "2600:802:101::/37": "701", - "2a00:f620:1::/48": "174", - "2a02:16f0::/32": "34928", - "2a02:26f7:ef40::/48": "36183", - "2804:81a0::/32": "272466", - "2a01:b740:a05::/48": "714", - "2604:4e00:6000::/32": "25764", - "2804:6704::/32": "269598", - "2a04:8e40::/29": "5524", - "2403:ffc0:1100::/38": "137758", - "2a03:2880:f046::/44": "32934", - "2a0b:9280::/29": "206438", - "2001:67c:230::/48": "49788", - "2001:df5:8000::/48": "17547", - "240e:e1:9700::/36": "4812", - "2800:310:901::/32": "18678", - "2001:559:c1ba::/48": "13367", - "240a:a97a::/32": "145076", - "2804:10a0:21c::/42": "28173", - "2001:67c:1974::/48": "207760", - "2402:4700::/32": "17931", - "2607:f7a8:1637::/44": "16657", - "2801:17:800::/48": "264635", - "2a0b:f00::/29": "49191", - "2a10:a040::/29": "40970", - "240a:a055::/32": "142735", - "2a05:47c0::/36": "199167", - "2a02:26f7:e4c9::/42": "20940", - "2001:559:c21d::/48": "33491", - "2001:df1:2d00::/48": "136112", - "2001:122c::/32": "18592", - "240a:af66::/32": "146592", - "240e:473:5c50::/39": "4134", - "2604:21c0::/32": "396097", - "2800:160:172f::/43": "14259", - "2a02:26f7:f4c9::/42": "20940", - "2a03:2881:4003::/45": "32934", - "2001:1938:2200::/46": "33438", - "2406:2000:1ac::/46": "56173", - "2a04:b800::/29": "204348", - "2001:608::/32": "5539", - "240a:af68::/32": "146594", - "2600:1403:bc01::/29": "20940", - "2600:3002:1212::/32": "13649", - "2804:80f0::/32": "272422", - "2806:2f0:3521::/41": "17072", - "2a01:56c1:300::/40": "198864", - "2a0c:90c0::/29": "197637", - "2c0f:f3d0::/32": "3491", - "2001:67c:19f8::/48": "56879", - "2600:1012:9100::/44": "6167", - "2a00:1ec0::/47": "8544", - "2001:559:809d::/48": "33652", - "2001:559:8334::/48": "33651", - "2408:8956:3600::/40": "17622", - "2409:8904:2ea0::/39": "24547", - "2a0d:9bc0::/32": "25540", - "2001:c38:904b::/43": "9931", - "2401:d800:27a0::/41": "7552", - "2804:3054::/32": "264944", - "2001:fd8:3280::/42": "132199", - "2400:cb00:385::/44": "13335", - "2602:ff62:183::/38": "61317", - "2620:149:a1d::/48": "714", - "2a01:6c60::/34": "62217", - "2a03:46c0::/32": "42525", - "2001:4940:2002::/32": "21547", - "240a:a2b2::/32": "143340", - "2a03:b100::/32": "15991", - "2001:559:52::/47": "33651", - "2001:df0:fb00::/48": "136105", - "2402:b300::/32": "23631", - "2407:4ac0::/32": "142044", - "240e:b7:5000::/34": "58563", - "240e:250:2907::/26": "4134", - "2804:6a18::/32": "270312", - "2804:7110:7100::/32": "270764", - "2a02:4280::/32": "40981", - "240a:afdb::/32": "146709", - "2604:9000:2101::/32": "19693", - "2606:2c0:3::/45": "16509", - "2610:20:1031::/45": "10616", - "2804:6698::/32": "269570", - "2804:7f34::/39": "271673", - "2a00:d0c0:200::/48": "205766", - "240a:a6a9::/32": "144355", - "2804:449c::/40": "267642", - "2a00:f400::/32": "28931", - "2804:7898:5000::/48": "271253", - "2001:559:836e::/48": "7922", - "2001:78c::/32": "57651", - "2001:448a:4030::/41": "7713", - "2401:b0c0:d000::/48": "136941", - "240a:ac12::/32": "145740", - "2605:6840:300::/32": "398041", - "2804:21b4::/32": "264568", - "2a0c:bc80::/29": "34979", - "2a0e:b107:11b0::/44": "140731", - "2403:a140:10::/48": "23724", - "2408:8256:2f8c::/48": "17623", - "2409:807e:1100::/36": "9808", - "2a09:bac0:113::/45": "13335", - "2001:559:837f::/40": "33657", - "2001:49f0:d0ff::/48": "174", - "2408:8456:8c40::/39": "17816", - "2a02:26f7:81::/48": "20940", - "2a06:11c0:5::/29": "31169", - "2a0f:5707:abb1::/48": "211620", - "2401:d800:5ef0::/39": "7552", - "2402:e280:214d::/43": "134674", - "2407:7c0:100::/43": "9422", - "2804:14d:3e00::/40": "28573", - "2001:978:901::/46": "174", - "2001:678:aa4::/48": "202297", - "2603:c0f0:2020::/39": "6142", - "2605:2800:1200::/48": "10812", - "2803:440::/32": "263774", - "2001:559:8140::/47": "33657", - "2001:1388:8441::/42": "6147", - "2001:43f8:100::/48": "6968", - "2404:80::/28": "18182", - "2404:a640:13a::/32": "133827", - "2606:2800:507a::/48": "14153", - "2a07:a40:b::/48": "48821", - "2402:800:7090::/42": "7552", - "2407:8c00:1b0::/44": "55441", - "2600:1000:b080::/42": "22394", - "2804:64fc::/32": "269461", - "2804:7c1c::/32": "271476", - "2a03:41e0::/32": "201510", - "2a0f:1300::/29": "57675", - "2409:805c:5900::/38": "9808", - "240a:ae7c::/32": "146358", - "2620:171:df::/48": "715", - "2804:3b8:6a::/39": "52965", - "2001:fd8:228::/41": "4775", - "2600:370f:3429::/46": "32261", - "2604:d600:110f::/43": "32098", - "2804:5b88::/32": "268853", - "2a03:1980:d0ff::/48": "48260", - "2a0b:7140:1::/48": "207408", - "2001:dc8:2002::/48": "131122", - "240a:abe5::/32": "145695", - "2804:f70::/32": "262862", - "2a03:4c00::/29": "16347", - "2001:559:83f6::/48": "7725", - "2400:cb00:300::/47": "13335", - "2402:8100:21c8::/45": "55644", - "240e:473:3200::/41": "140485", - "2800:c90::/32": "263689", - "2803:2b00:8002::/33": "52468", - "2804:4394::/32": "267577", - "2a0c:b641:1c0::/44": "39792", - "2001:480:91::/44": "668", - "2001:4c8:1018::/45": "15290", - "2001:559:820b::/45": "7016", - "2600:1fa0:2080::/44": "8987", - "2607:ff28:3::/44": "62904", - "2a0a:9740::/32": "206011", - "2a0e:b107:458::/42": "57883", - "2400:cb00:a6a0::/45": "13335", - "2401:d800:93e0::/37": "7552", - "2405:6e00:f82e::/48": "133612", - "240a:a324::/32": "143454", - "2806:21a:a000::/46": "262913", - "2a0a:3200::/29": "46723", - "2a0c:b0c0::/29": "64398", - "2001:559:c344::/48": "21508", - "240a:a267::/32": "143265", - "2a02:26f7:63::/48": "20940", - "2001:559:8242::/48": "33651", - "2402:800:53ee::/37": "7552", - "2404:600::/32": "4833", - "240a:a4e4::/32": "143902", - "2620:149:f02::/35": "714", - "2c0f:feb8::/32": "36959", - "2400:c6c0::/32": "58909", - "2402:8cc0:200::/40": "131137", - "2404:2e80:28::/47": "135043", - "2409:805f:900::/35": "9808", - "2600:140b:b801::/38": "20940", - "2401:ff80:1481::/46": "133954", - "2402:800:7940::/42": "7552", - "2600:1406:3801::/38": "20940", - "2a01:7900::/32": "35100", - "2a02:26f7:ef4c::/48": "36183", - "2001:559:485::/46": "7922", - "2001:579:184c::/40": "22773", - "2402:800:99c5::/43": "7552", - "240a:ae2e::/32": "146280", - "2600:1407:7801::/32": "20940", - "2001:559:70c::/48": "33659", - "2001:579:b850::/40": "22773", - "2a02:dc80::/29": "13227", - "2a03:a7a0::/32": "203316", - "2001:67c:16b4::/48": "51942", - "2408:8256:3b89::/48": "17816", - "2600:2b00::/28": "6181", - "2a02:7500::/32": "9155", - "2a06:e380:2::/32": "203507", - "2a10:6340::/48": "49981", - "2407:8b00:9000::/36": "64073", - "240a:a131::/32": "142955", - "2408:8957:200::/40": "17622", - "2001:559:19e::/48": "33652", - "2001:4998:ef99::/48": "26101", - "2401:4900:5550::/44": "45609", - "2804:716c::/32": "270788", - "2001:559:4a3::/48": "33657", - "2401:bb40::/32": "136838", - "2403:9b00::/32": "45110", - "2803:9800:a4c1::/46": "11664", - "2804:40ec::/32": "265991", - "2a02:26f7:af::/48": "20940", - "2a02:26f7:d988::/48": "36183", - "2402:800:3655::/42": "7552", - "2405:4803:270::/37": "18403", - "2a02:f784:8000::/47": "25252", - "240e:320::/30": "140061", - "2804:41d0:400::/34": "267458", - "2a01:8c9::/29": "3209", - "2a02:26f7:c8cd::/46": "20940", - "2a0a:5980::/29": "49544", - "2a01:b1c1::/32": "200548", - "2001:559:c206::/48": "7016", - "2406:4440:10::/48": "142641", - "2408:8459:9a50::/37": "17816", - "240e:108:10f1::/46": "136197", - "2600:1fa0:6080::/44": "16509", - "2620:4d:400a::/48": "395403", - "2a00:1180::/32": "15518", - "2a02:26f7:ce08::/48": "36183", - "2a09:380::/29": "204860", - "2a0a:340:1400::/39": "48043", - "2402:800:3dee::/43": "7552", - "2402:78c0:1000::/34": "137455", - "2a00:1ec0:3::/34": "8544", - "2001:4998:effe::/35": "10310", - "2800:484:3b00::/33": "14080", - "2a02:ff0:ef1::/44": "12735", - "2a02:26f0:33::/48": "34164", - "2a0e:c80:323::/48": "40676", - "2c0f:f010::/32": "37236", - "2001:559:844f::/48": "7016", - "2001:559:c0cb::/48": "33651", - "2001:559:c1be::/48": "33652", - "2404:7500::/32": "58655", - "2a01:5200::/32": "48304", - "2a0a:1d00::/32": "201401", - "2001:67c:10c8::/48": "3246", - "2402:8100:ca0::/44": "45271", - "2604:5500:a000::/38": "19165", - "2620:79:5::/44": "30013", - "2620:120:1000::/40": "2575", - "2803:d80::/29": "13489", - "2803:5440:4038::/48": "264738", - "2a0d:1cc0::/48": "208549", - "2602:fed2:7010::/48": "134666", - "2a0d:ae00::/29": "42910", - "2604:8340::/32": "53877", - "2a10:17c0::/29": "397651", - "2001:559:e0::/46": "7922", - "2402:800:5a1d::/42": "7552", - "240a:aee6::/32": "146464", - "2a05:b6c1::/32": "12637", - "2a11:380::/29": "211319", - "2804:1408:9100::/34": "28635", - "2001:559:4f5::/48": "7922", - "2001:67c:27b8::/48": "42428", - "2001:44c8:132::/35": "45430", - "2403:6c0::/48": "137366", - "2409:8a28:4600::/32": "56041", - "2a00:10d0::/32": "5588", - "2a02:ac80:101::/38": "25145", - "2620:12d:e03f::/48": "7015", - "2600:140f:c01::/39": "20940", - "2607:fb10:503d::/48": "2906", - "2a0a:8380::/29": "33943", - "2402:800:6218::/42": "7552", - "2605:3380:42f7::/44": "12025", - "2a02:26f7:c149::/46": "20940", - "2a03:28a0:4::/32": "201650", - "2001:559:4d9::/48": "7015", - "2804:6674::/32": "269559", - "2a0e:a3c0::/29": "60262", - "2804:2ff0::/32": "264921", - "2a0b:70c0::/32": "206420", - "2405:8a00:a01e::/42": "55824", - "2600:100f:f010::/40": "22394", - "2a02:26f7:c::/48": "36183", - "2804:76d0::/32": "271136", - "2001:1248:57fe::/47": "11172", - "240a:a1bc::/32": "143094", - "240e:44d:1480::/41": "4134", - "240e:44d:7500::/41": "140345", - "2600:1404:bc01::/38": "20940", - "2600:9c0f::/32": "7979", - "2605:ee00:fff0::/44": "29990", - "2401:4900:ea0::/43": "45609", - "240e:982:6000::/40": "58563", - "2803:e600:c200::/36": "18809", - "2a02:26f7:be0c::/48": "36183", - "2a02:70c0::/32": "29467", - "2a0e:2900::/30": "209929", - "2001:559:181::/46": "7922", - "2001:c38:4000::/36": "9931", - "240a:a2ba::/32": "143348", - "2804:5408::/32": "268624", - "2a0e:e700::/31": "57199", - "2402:3a80:1452::/44": "38266", - "2800:180::/32": "27924", - "2a02:2e02:13c0::/37": "12479", - "2a0b:dd40::/29": "204817", - "2a0e:8f02:10f4::/44": "204446", - "2001:559:17c::/47": "7016", - "2001:4878:a228::/48": "12222", - "2001:4878:b216::/48": "12222", - "240a:a2e9::/32": "143395", - "240e:473:6550::/40": "4134", - "2a02:26f7:f800::/48": "36183", - "2001:1848::/32": "6325", - "2408:84f3:9810::/42": "134543", - "2a02:26f7:b588::/48": "36183", - "2a04:dd00::/30": "60117", - "2a05:3fc0::/29": "201491", - "2408:8862::/29": "4837", - "2409:8010::/35": "9808", - "240e:1e:2000::/36": "136200", - "240e:44d:1600::/41": "140345", - "2604:aa80::/32": "46276", - "2620:0:cf0::/48": "6456", - "2620:129:9003::/48": "395506", - "2001:67c:6f0::/48": "44934", - "2001:67c:254c::/48": "39871", - "2001:978:6715::/35": "174", - "240a:af2b::/32": "146533", - "240e:44d:5980::/41": "4134", - "2600:c12::/32": "12179", - "2600:141c:d001::/34": "20940", - "2408:8456:8000::/42": "17622", - "2600:1405:a001::/35": "20940", - "2604:eb40::/45": "32727", - "2803:ad80:69::/48": "42473", - "2a01:e00::/30": "12322", - "2a07:9140::/29": "57475", - "2001:559:304::/48": "33657", - "2001:67c:26ac::/48": "204635", - "2001:1248:9855::/42": "11172", - "2603:c002:8000::/39": "31898", - "2804:44bc::/32": "267650", - "2405:3140:11::/48": "56006", - "240a:a0a1::/32": "142811", - "2a00:4580::/30": "3226", - "2a02:26f7:76::/48": "36183", - "240e:978:1600::/36": "4134", - "2a02:26f7:ea84::/48": "36183", - "2a09:eb80::/29": "209649", - "2a0e:fd45:a00::/40": "44541", - "2a0e:fd45:b00b::/48": "208150", - "2403:8dc0::/32": "133648", - "2a02:7a00:6::/48": "197895", - "2001:1ac0::/32": "16004", - "2600:9000:21a1::/46": "16509", - "2620:10d:6000::/46": "26722", - "2803:ae10::/32": "271969", - "240e:44d:5300::/41": "140345", - "2600:1408:a402::/36": "20940", - "2804:eac::/32": "262967", - "2001:559:401::/48": "20214", - "2001:559:84bf::/48": "33659", - "240e:981:b200::/33": "4134", - "2a02:26f0:1d01::/40": "20940", - "240a:a571::/32": "144043", - "2804:73c0::/32": "270935", - "2a01:5140::/32": "30830", - "2c0f:f6d0:14::/44": "327687", - "2600:1003:a110::/38": "22394", - "2a00:d980::/32": "12512", - "2001:c20:48c7::/35": "3758", - "2409:8052:3802::/40": "56047", - "240a:ad8e::/32": "146120", - "2804:14c:5b00::/40": "28573", - "2a02:6b8::/46": "208722", - "2a0b:b200::/32": "64439", - "2402:8100:2240::/39": "45271", - "2404:efc0:235::/46": "10122", - "2620:105:b000::/40": "2055", - "2800:3a0:193::/48": "52229", - "2804:1658::/35": "263283", - "2a01:5040:21::/41": "43996", - "2607:fb50::/36": "46253", - "2a09:a400::/29": "212660", - "2a10:a647::/32": "47753", - "2402:6940:407::/40": "7645", - "2604:4280:203::/32": "14866", - "2a00:86c0:ff0b::/40": "2906", - "2a0c:a500:50::/40": "209385", - "2001:df1:2780::/48": "133725", - "2405:1c0:6641::/46": "135062", - "2a04:e00:104::/48": "39855", - "2001:559:4e2::/48": "7922", - "2402:800:b770::/40": "7552", - "2804:3e40:8000::/33": "266583", - "2605:f700:100::/44": "18978", - "2804:7f68::/32": "271686", - "2a02:26f7:cc40::/48": "36183", - "2a02:2a28::/32": "51137", - "2a0a:7dc0::/29": "57656", - "2804:520::/47": "262496", - "2804:29b8:5159::/32": "28126", - "2a0f:542::/32": "398481", - "2001:fd8:3300::/42": "132199", - "2400:fc00:8190::/38": "45773", - "240e:473:a050::/39": "4134", - "2602:ff35::/36": "40317", - "2a04:bc40:1dc9:2::/48": "35277", - "2806:103e:b::/45": "8151", - "2a10:b880::/32": "38965", - "2001:468:1b00::/37": "11537", - "2804:6438::/32": "269414", - "240a:a121::/32": "142939", - "240a:a882::/32": "144828", - "2606:7c0::/32": "54804", - "2607:f208:305::/48": "26496", - "2a00:8e00:1::/48": "20712", - "2600:5400:e901::/27": "19108", - "2620:100:6029::/43": "19679", - "2804:14d:ac00::/40": "28573", - "2804:3fec::/32": "265922", - "2001:4de0:2::/47": "34343", - "2001:b201::/21": "3462", - "2408:8459:b650::/36": "17816", - "2600:6:ff0b::/42": "1239", - "2620:11b:e090::/42": "3356", - "2402:800:b190::/42": "7552", - "2403:3540::/32": "137370", - "240e:438:220::/43": "140647", - "2602:fcc6:2::/36": "394737", - "2804:47c8::/32": "267076", - "2001:1b38::/32": "8554", - "2401:d800:9890::/42": "7552", - "2401:ff80:1983::/45": "133954", - "2804:1840::/32": "262711", - "2806:104e:7::/43": "8151", - "2a02:26f0:ed::/43": "20940", - "2a0c:b641:570::/48": "209300", - "2001:298::/32": "9600", - "2602:fead::/36": "395567", - "2607:a500::/45": "12025", - "2a01:cd00:80f0::/48": "28708", - "2a03:e340:1::/48": "60781", - "2402:800:b340::/42": "7552", - "2408:8459:1c10::/42": "17623", - "2600:1405:c001::/35": "20940", - "2403:eb40:2001::/32": "138418", - "2604:e5c0::/32": "31950", - "2a05:fc1::/32": "49791", - "2a0b:f380:3e8::/48": "49544", - "2407:f100:5::/32": "133075", - "2a01:8840:81::/48": "207266", - "2a01:aea0::/36": "42473", - "2a05:92c0::/29": "12859", - "2a06:3ac0::/29": "196945", - "2a0a:e340::/29": "205689", - "2600:8807:7a2::/41": "22773", - "2620:119:50c0::/48": "14413", - "2800:160:1818::/42": "14259", - "2804:4fc8::/32": "268349", - "2806:2f0:51e2::/38": "17072", - "2a02:2808:1006::/48": "47211", - "2a02:29c8::/32": "3910", - "2001:559:81b7::/48": "7922", - "2604:8540:fcc2::/48": "33353", - "2606:2e00:8002::/47": "32780", - "2a02:26f7:3c::/48": "36183", - "2a07:59c6:eed7::/44": "48646", - "2a0a:61c0::/29": "206119", - "2a0e:b105:750::/45": "20473", - "2001:dc8:d000::/48": "38737", - "240a:ab47::/32": "145537", - "2001:67c:2c84::/48": "50838", - "2001:b000:595::/44": "3462", - "2401:14c0:2b::/41": "136531", - "2804:5550:facf::/37": "263067", - "2401:ee00:1041::/34": "23951", - "2600:1007:9000::/44": "6167", - "2408:8459:3c20::/44": "17816", - "2409:8c20:a18::/37": "56046", - "240a:ad03::/32": "145981", - "2605:a900:b::/45": "46887", - "2804:14c:cc93::/42": "28573", - "2a01:53c0:ffeb::/48": "54994", - "2a0f:1a40::/29": "60262", - "2001:559:47c::/48": "33287", - "2804:4d44::/32": "262978", - "2a03:5a07::/32": "51028", - "2a0d:63c0::/31": "200313", - "2804:16f0::/32": "263109", - "2804:3660::/32": "266344", - "240a:a8e1::/32": "144923", - "2a0c:e080::/30": "51095", - "2a0e:c147::/32": "16262", - "2001:503:83eb::/48": "396574", - "2001:559:41d::/46": "7922", - "2001:559:81d0::/48": "33651", - "2001:4878:4031::/48": "12222", - "2804:5984:8f00::/33": "268707", - "2804:7c08::/32": "271471", - "2a01:e8::/32": "25473", - "2001:67c:158c::/48": "5539", - "2404:c80::/32": "23704", - "2602:ffe2:100::/48": "53334", - "2606:2800:410b::/45": "15133", - "2801:0:1c0::/45": "21578", - "2a00:7640::/32": "48954", - "2a0e:97c5:438::/46": "20473", - "2400:6280:10d::/48": "132280", - "2406:2000:f0::/46": "10229", - "2804:29e8::/32": "264043", - "2a01:b640:7700::/40": "39045", - "2a03:db80:3410::/48": "12643", - "2001:67c:318::/48": "51608", - "2804:4a0:5000::/32": "52989", - "2a0f:607:105a::/47": "38308", - "2001:559:80e2::/48": "33287", - "2001:67c:2ef0::/48": "15542", - "2402:9d80:840::/43": "131429", - "2406:8f00::/32": "38761", - "2804:37ec::/32": "266444", - "2806:2f0:21e0::/48": "17072", - "2a00:1790::/29": "42000", - "2001:468:365::/37": "11537", - "240e:30f:5600::/27": "4134", - "240e:3ba:9c00::/34": "140310", - "2804:29f8:3::/48": "264048", - "2a00:16f8:1::/44": "6461", - "2a0a:1b00::/32": "51892", - "2a0f:3500::/29": "201188", - "2a0f:52c1:1::/48": "212345", - "2001:ba0::/32": "8560", - "2404:7180:b001::/46": "23848", - "240a:a632::/32": "144236", - "2606:f900:a602::/36": "812", - "2620:101:b000::/41": "12079", - "2a01:4d60::/46": "30870", - "2a0e:46c4:200::/48": "38230", - "2001:559:20b::/48": "22909", - "2001:559:745::/48": "33659", - "2408:8656:2efe::/47": "17623", - "2806:3be::/32": "270119", - "2a03:3a60::/32": "49544", - "2a07:4840::/48": "64245", - "2600:1402:16::/48": "20940", - "2602:fe96::/36": "396502", - "2a02:e980:92::/42": "19551", - "2a07:2fc0::/29": "41337", - "2606:7e00:4::/48": "7215", - "2804:30b8:bd::/32": "28154", - "2804:5154::/32": "268445", - "2a01:1000::/23": "5617", - "2001:4c78::/32": "12350", - "2001:4de0:200::/40": "33438", - "2402:c800:ffff::/48": "37900", - "2c0f:f860::/32": "36890", - "2409:8924:b500::/38": "56046", - "2600:1409:e801::/37": "20940", - "2804:4368:e000::/35": "267568", - "2001:470:13f::/41": "6939", - "2401:7641::/32": "63778", - "240a:a53b::/32": "143989", - "2603:c002:1b10::/37": "31898", - "2620:130:3050::/48": "62861", - "2804:b0c::/32": "52935", - "2804:3790::/32": "266421", - "2a02:26f7:ce09::/42": "20940", - "2001:4998:efe7::/44": "10310", - "2a0a:3a40::/32": "8308", - "2a0f:8600::/48": "23470", - "2a03:a900:ffff::/48": "57707", - "2402:d000:8131::/45": "9329", - "2403:8000:10::/48": "18007", - "2405:9000:208::/32": "7474", - "2409:8c20:9c74::/34": "56046", - "240e:103:8b00::/44": "139203", - "2607:7000:a100::/33": "25905", - "2a00:c587:fd00::/40": "51331", - "2401:c680:b::/45": "133854", - "2407:680::/33": "9676", - "2409:8f54::/24": "9808", - "2800:68:19::/45": "61468", - "2804:492c::/32": "267168", - "2a00:6740::/32": "8779", - "2001:678:17::/48": "43832", - "2403:88c0::/47": "138192", - "2804:14d:4483::/44": "28573", - "2804:672c::/32": "269609", - "2a0a:3507:1::/48": "203038", - "2001:388:40c7::/35": "7575", - "2001:13d2:3805::/44": "7303", - "2a01:48a0:4001::/48": "57271", - "2a0a:340:aa00::/40": "48043", - "240e:108:44::/48": "134768", - "240e:473:400::/41": "140485", - "2804:7c50::/32": "271488", - "2a02:26f0:97::/44": "20940", - "2a02:26f7:f909::/46": "20940", - "2a07:1800::/29": "51560", - "2001:559:7b8::/48": "7016", - "2600:140f:801::/39": "20940", - "2a0d:1700::/29": "30791", - "2a10:3900::/48": "39392", - "2c0f:2600::/32": "328848", - "2001:559:863f::/48": "33662", - "2408:8456:1a00::/42": "17622", - "2600:6c38:f18::/31": "20115", - "2a01:9ba0::/32": "30742", - "2a02:25c8::/32": "43557", - "2a10:200:2::/36": "208059", - "2803:6900:546::/47": "52423", - "2804:605c::/32": "269162", - "2a02:26f7:f2c8::/48": "36183", - "2001:67c:558::/48": "202060", - "2a02:26f0:a801::/39": "20940", - "2a05:4140:300::/42": "212271", - "2402:800:7180::/42": "7552", - "2a01:c50e:f000::/39": "12479", - "2401:d800:2b00::/42": "7552", - "2a07:c280::/32": "206892", - "2001:559:53f::/48": "7922", - "2001:1700::/27": "6730", - "2401:af80::/33": "10010", - "2408:8456:2c50::/39": "17816", - "2600:1407:4801::/35": "20940", - "2803:b0e0::/32": "269862", - "2a05:71c0::/29": "34993", - "2001:559:86b0::/45": "7922", - "2804:f44::/32": "263574", - "2a02:2180::/32": "16245", - "2a02:ee80:4227::/44": "3573", - "2a00:d0c0::/39": "58010", - "240e:3bd:1200::/39": "4134", - "2600:370f:70a0::/45": "32261", - "2602:102:1006::/48": "20115", - "2607:f430::/32": "3663", - "2607:fc48:418::/48": "40009", - "2804:2e58::/32": "265340", - "2a00:1678:baba::/48": "49453", - "2a01:4b0::/46": "42310", - "2a02:26f7:b8c9::/42": "20940", - "2607:fe68::/32": "15146", - "2620:135:5005::/44": "26457", - "2a00:17b0::/32": "204896", - "2001:67c:2188::/48": "197500", - "2400:cb00:a592::/45": "13335", - "2a00:db0::/32": "9092", - "2001:13c7:6015::/48": "61441", - "2806:230:fff3::/48": "11888", - "2a01:111:202c::/46": "8068", - "2600:1417:4e::/47": "20940", - "2604:7500::/32": "6368", - "2800:160:1ceb::/43": "14259", - "2804:7988::/32": "271311", - "2a09:bac0:270::/48": "13335", - "2804:4f8:8000::/38": "28263", - "2001:559:81a2::/48": "33287", - "2406:57c0:2130::/48": "134672", - "2804:4558::/32": "266920", - "2804:807c::/32": "271753", - "2806:230:203d::/48": "11888", - "2a00:fc00:e00a::/43": "3255", - "2a03:2880:f00b::/43": "32934", - "2001:559:82a9::/48": "33287", - "2001:c20:4871::/48": "9255", - "2001:df1:7780::/48": "30823", - "2402:3300:6000::/48": "56300", - "2804:60a8::/32": "269182", - "2a00:1978::/32": "12579", - "2a02:4b8::/31": "39605", - "240a:aaf6::/32": "145456", - "2600:1001:9100::/44": "6167", - "2804:c48:e000::/38": "52687", - "2001:ac8:36::/44": "9009", - "2607:f5b7::/32": "30633", - "2a0b:b86::/45": "3280", - "2001:67c:ac::/48": "44329", - "2001:4be0::/32": "31703", - "2408:84f3:3260::/40": "17623", - "240e:44d:3880::/41": "4134", - "2800:bf0:2900::/46": "52257", - "2804:14d:8c3::/42": "28573", - "2a02:5fa0::/32": "198545", - "2a0a:ee80:8::/47": "43988", - "2001:799::/32": "21320", - "2402:800:7be0::/37": "7552", - "2408:84f3:ac10::/42": "134543", - "240a:a63a::/32": "144244", - "2605:a40c::/44": "33363", - "2800:160:16ac::/41": "14259", - "2804:7e38::/32": "269561", - "240a:aba1::/32": "145627", - "2602:fcdf::/36": "398491", - "2804:78c0::/32": "271263", - "2a00:1c50:1::/48": "30811", - "2001:67c:1308::/48": "211693", - "2602:fcae::/36": "16904", - "2604:9d40:1337::/48": "393290", - "2a03:d400:122::/47": "198913", - "2620:98:e008::/46": "399728", - "2001:4403:deae::/34": "9500", - "240e:473:5000::/41": "140485", - "2804:68b0::/32": "269709", - "2806:108e:21::/46": "8151", - "2001:559:c283::/45": "7015", - "240a:a24b::/32": "143237", - "2a00:9080::/32": "30736", - "2001:4b69::/32": "12635", - "240e:108:10b2::/41": "4134", - "2607:f108:4700::/32": "29838", - "2620:128:6000::/48": "395361", - "2804:21cc::/32": "264574", - "2a02:26f7:d508::/48": "36183", - "2402:800:63f7::/44": "7552", - "240a:afc1::/32": "146683", - "2600:6c38:51::/44": "20115", - "2804:3f10::/33": "262566", - "2a02:26f7:eb41::/46": "20940", - "2404:6640:1000::/32": "18013", - "2001:44b8:30c5::/46": "4739", - "2401:4900:2180::/45": "45609", - "2406:a900:29::/48": "132712", - "240a:a051::/32": "142731", - "2804:33d4:9::/32": "265419", - "2a01:48a0:4050::/48": "52000", - "2a0a:ec02:c01::/48": "42692", - "2803:4000::/32": "265801", - "2804:14d:72b5::/41": "28573", - "2a02:26f7:cec0::/48": "36183", - "2a0f:99c0::/32": "205240", - "2001:13c7:600e::/48": "52374", - "2607:d500:600::/47": "13768", - "2804:27dc::/32": "263926", - "2a00:11e0::/32": "48072", - "2a04:4e40:f800::/48": "54113", - "240e:951:2800::/38": "141157", - "2610:178::/32": "16668", - "2a0e:5540:10::/46": "208258", - "2a0a:d6c0:2::/45": "61423", - "2001:559:c340::/48": "7922", - "2400:8480:3010::/42": "133385", - "2403:e200::/47": "45543", - "2409:8904:5940::/42": "24547", - "2607:f7c0::/34": "36444", - "2a01:238::/39": "6724", - "2a07:8d40::/29": "207075", - "2001:df5:2a80::/48": "141371", - "2001:4408:5900::/38": "4758", - "240a:a5dc::/32": "144150", - "2606:2800:402b::/48": "14153", - "2800:2a0:232::/34": "27947", - "2804:3a94::/32": "266097", - "2a02:250::/47": "39570", - "2a02:21f8::/32": "8851", - "2001:559:c004::/48": "7922", - "2400:d400:b97::/48": "45671", - "240e:473:8520::/41": "140486", - "2602:feda:182::/47": "211843", - "2606:4700:8d70::/44": "13335", - "2607:1280:11e0::/44": "394972", - "2804:6954::/32": "270263", - "2a02:44a0::/43": "61955", - "240a:aef0::/32": "146474", - "2620:13c:a000::/48": "19367", - "2804:22bc::/32": "264119", - "2806:2f0:3121::/46": "17072", - "2a0a:aac0::/29": "50599", - "2400:a980:1000::/40": "133517", - "2804:14d:ac94::/41": "28573", - "2a00:1e20::/29": "34661", - "2a03:2480:80::/48": "200107", - "2a0f:5707:aa90::/44": "212592", - "240a:a48c::/32": "143814", - "2806:230:102d::/48": "11888", - "2001:1248:709a::/47": "11172", - "2408:84f3:2c90::/38": "17816", - "2600:1200::/24": "4152", - "2602:fed2:710b::/48": "34927", - "2607:f738::/39": "17184", - "2a03:9240::/32": "202632", - "2408:84f3:a040::/38": "17816", - "2600:1900:41d0::/31": "15169", - "2806:310:34::/46": "16960", - "2803:9a40:8001::/33": "263824", - "2804:5234::/32": "268502", - "240a:a607::/32": "144193", - "2803:6900:597::/44": "52423", - "2804:4260::/32": "267496", - "2a0e:eb00:1::/48": "43431", - "2400:e440:500::/41": "42382", - "2401:8d00:f::/43": "38345", - "240a:ab51::/32": "145547", - "2804:51c::/33": "262495", - "2a02:26f7:b986::/47": "20940", - "240a:a2c6::/32": "143360", - "240e:44d:1a80::/41": "4134", - "2a02:898::/32": "8283", - "2a03:5344::/44": "34414", - "2a0f:29c4::/30": "398481", - "240a:a597::/32": "144081", - "240a:ae27::/32": "146273", - "2804:4c14:8a01::/39": "267348", - "2804:8124::/32": "272435", - "2a00:fc00:e009::/48": "35296", - "2a02:26f7:9f::/48": "20940", - "2001:559:546::/48": "33651", - "240a:a0fe::/32": "142904", - "2804:17c0::/32": "263155", - "2804:3508::/32": "265496", - "2001:559:837a::/48": "33651", - "2804:385c:200::/32": "262687", - "2a03:32c0::/44": "48503", - "2001:43f8:900::/48": "327935", - "2600:380:f100::/46": "20057", - "2600:1006:9040::/44": "6167", - "2600:1405:7800::/48": "21342", - "2604:d600:1327::/44": "32098", - "2400:adce::/40": "9541", - "2402:6800:765::/32": "22822", - "2409:8a5c::/33": "9808", - "240a:a446::/32": "143744", - "2604:1280:1::/46": "11696", - "2a03:3ec0::/32": "61124", - "2a09:8b40::/29": "197690", - "2603:b019::/25": "11796", - "2607:f178:4::/47": "30217", - "2a01:bda0::/32": "61981", - "2400:f400::/32": "24278", - "2401:d800:b1b0::/38": "7552", - "2804:37c::/32": "52981", - "2804:2bf4:c0c0::/34": "262785", - "2a00:f10:171::/38": "48635", - "2001:559:5c0::/48": "22909", - "2404:8000:c6::/43": "17451", - "2a00:e30:a00::/40": "61333", - "2a01:5041:efd::/46": "202196", - "2a09:bac0:59::/48": "13335", - "2001:559:714::/48": "20214", - "2001:1a11:26::/48": "42298", - "2406:5880::/32": "135391", - "2600:1403:ac01::/48": "20940", - "2803:c880::/32": "263179", - "2804:43c:4000::/32": "262422", - "2a03:7b20::/32": "48450", - "240a:a260::/32": "143258", - "240a:aa61::/32": "145307", - "2a09:d2c1:a::/48": "209669", - "2001:df1:6000::/48": "131217", - "2402:4380::/32": "132162", - "2404:6b00::/32": "58640", - "240a:aa5e::/32": "145304", - "2a09:58c0::/48": "8426", - "2001:2001:6000::/40": "1759", - "2001:4478:1a00::/34": "4802", - "2408:8924::/32": "4837", - "2804:e30:7e00::/39": "11338", - "2a0c:f000:1000::/48": "206976", - "2800:bf0:b400::/48": "52257", - "2001:550:10d::/38": "174", - "2001:559:36e::/48": "33489", - "2408:8459:3040::/38": "17816", - "2600:1407:9801::/34": "20940", - "2605:de40:2005::/35": "397553", - "2607:4a00::/32": "36316", - "2800:160:1a1b::/42": "14259", - "2804:20b8::/38": "264510", - "2a02:2e02:83d0::/37": "12479", - "2a02:2e02:88e0::/39": "12479", - "2001:559:830d::/48": "33661", - "2400:ab80::/32": "133399", - "2620:137:d000:1::/64": "394161", - "2001:4130:20::/48": "29067", - "2800:440:1200::/42": "27738", - "2001:13c7:601b::/48": "61520", - "2a06:f0c0::/29": "3352", - "2a0b:4342:1a30::/47": "57695", - "2a09:a940::/29": "61437", - "2001:df0:232::/48": "9355", - "2001:df1:a100::/48": "136758", - "2803:2ac0::/32": "52300", - "2804:5450::/32": "268642", - "2804:798c::/32": "271312", - "2a00:12f8::/37": "9198", - "2a00:ab00:7000::/32": "49505", - "2a0e:8f00:fe05::/48": "34553", - "2404:e5c0::/32": "21859", - "2604:1d80::/32": "54876", - "2803:9800:9022::/43": "11664", - "2a02:2f0c:8002:4::4/33": "8708", - "2a0c:3ac0::/48": "46562", - "2405:f800::/32": "17506", - "240a:a60f::/32": "144201", - "2a02:26f7:c581::/46": "20940", - "2600:1fa0:1020::/44": "16509", - "2605:6400:10::/48": "53667", - "2604:d600:618::/46": "32098", - "2620:10b:3000::/40": "55166", - "2804:4b48::/32": "267295", - "2a01:89a0::/34": "31556", - "2a09:6d00::/29": "209871", - "2001:559:76e::/47": "33659", - "2001:559:820a::/48": "33287", - "2001:4490:7000::/46": "9829", - "2605:6ac0:7000::/36": "12182", - "2804:1248::/32": "263467", - "2a0f:9400:7390::/44": "210815", - "2c0f:e8b0::/32": "327712", - "2804:14ec::/32": "263359", - "2001:559:c2::/48": "33652", - "2001:559:87bf::/48": "7922", - "2001:559:c2c6::/48": "33657", - "240e:109:8022::/48": "58466", - "2001:559:533::/48": "33287", - "2405:6800:2000::/37": "18207", - "2600:100d:b1d0::/42": "6167", - "2605:e000:1b00::/40": "10838", - "2a04:9140:3003::/48": "201958", - "2a0e:b107:c30::/44": "140731", - "2404:3d00:417a::/47": "21433", - "2600:1000:9f10::/40": "22394", - "2604:ca00:1f6::/44": "36492", - "2620:b6:4000::/48": "11448", - "2800:bf0:24c::/48": "27947", - "2806:2f0:4064::/40": "17072", - "2400:a740::/32": "133034", - "2403:5340::/32": "137639", - "240e:3b6:5600::/34": "4134", - "2602:fc8b:21::/46": "211544", - "2804:69bc:8000::/33": "270288", - "2001:67c:1bdc::/48": "29493", - "2001:4998:60::/48": "14196", - "2403:8940:80::/39": "135817", - "2602:801:2::/48": "397781", - "2606:cb00:ff16::/47": "6643", - "2806:230:fffa::/45": "11888", - "2408:8956:1100::/38": "17816", - "240a:aaf5::/32": "145455", - "2620:171:4a::/45": "715", - "2804:4f8:2000::/36": "28263", - "2a04:4e40:ca00::/48": "54113", - "2a09:e1c1:f000::/44": "20473", - "2a03:a000::/32": "13009", - "2402:ee40::/47": "134033", - "2404:c2c0:4000::/40": "135629", - "240e:145::/30": "4134", - "240e:44d:3580::/41": "4134", - "2600:140b:6::/44": "20940", - "2a00:6e80::/32": "2119", - "2a01:420::/32": "41695", - "2a06:5484::/30": "43754", - "2401:ff80:1a09::/46": "133954", - "240e:980:2600::/40": "4134", - "2605:a404:c4::/46": "33363", - "2806:102e:22::/48": "8151", - "2401:c500:fd06::/44": "54994", - "240a:a8e7::/32": "144929", - "2600:380:a00::/35": "20057", - "2603:4:1000::/46": "44273", - "2803:8180:2::/32": "263237", - "2a0a:8bc0::/29": "206021", - "2401:1d40:3001::/40": "59019", - "240e:980:8100::/40": "4134", - "2803:65e0::/32": "270034", - "2803:b900::/32": "52436", - "2804:1b3:3000::/39": "18881", - "2001:559:c378::/48": "7922", - "2001:40e0::/32": "15879", - "2401:c680::/47": "133854", - "2404:a140:f::/48": "138915", - "2620:9c:2000::/48": "54406", - "2804:14c:445::/42": "28573", - "2a01:8740:6::/32": "57344", - "2001:67c:284::/48": "198605", - "240e:108:23::/48": "58519", - "2602:fed2:fa0::/41": "53356", - "2801:18:c000::/48": "263186", - "2803:1240:65::/34": "27855", - "2a0c:93c0:6002::/48": "212465", - "240a:a1b6::/32": "143088", - "2604:d240::/32": "396852", - "2804:48b4::/32": "267139", - "240a:a1be::/32": "143096", - "2806:370:7070::/40": "28403", - "240a:ac26::/32": "145760", - "2804:e8c:4000::/35": "52561", - "2406:daa0:1080::/44": "16509", - "240e:44d:6380::/41": "4134", - "2606:a100:400::/39": "394285", - "2620:0:6b0::/48": "23028", - "2800:160:2c2c::/43": "14259", - "2a0d:5042::/29": "8315", - "2602:fcef:41::/36": "398984", - "2620:ee:8000::/48": "16881", - "2a00:c840::/32": "44998", - "2a02:26f0:5600::/48": "34164", - "2405:55c0:3d::/46": "63991", - "2407:6080::/32": "133583", - "240a:2:c90::/44": "9605", - "240a:a6c1::/32": "144379", - "240a:ad75::/32": "146095", - "2a0d:9600:a::/48": "39664", - "2a0e:b107:382::/47": "208753", - "2408:84f3:4810::/42": "134543", - "240a:aaaf::/32": "145385", - "2a00:1148::/45": "47764", - "2a07:eec0::/29": "201240", - "2a0e:800:ff00::/48": "209083", - "2001:559:c251::/46": "7015", - "2001:67c:2350::/48": "6830", - "2001:1401::/29": "9201", - "240e:473:4f20::/41": "140486", - "2a02:b58::/32": "9125", - "2a02:26f7:ce85::/46": "20940", - "2a07:7200::/47": "34197", - "2404:4800:20::/48": "9892", - "240e:874:260::/40": "4134", - "2c0f:f590:0:203::/32": "36974", - "2400:c540:c827::/41": "59238", - "2620:1ec:e::/43": "8075", - "2a0d:9d00::/29": "50954", - "2602:fd50:f20::/44": "207609", - "2610:b0::/34": "3573", - "2a0e:b105:468::/46": "20473", - "2a02:348:ad::/41": "35470", - "2400:d400:9::/48": "45671", - "2402:800:3bc5::/43": "7552", - "2406:1000::/32": "4711", - "2409:8915:2700::/40": "56044", - "2603:c0f8::/38": "20054", - "2804:4364::/32": "267567", - "2804:5880:b000::/33": "268133", - "2001:559:8488::/48": "7922", - "2001:67c:6e8::/48": "201641", - "2001:dce:7400::/48": "45285", - "2400:5200:1000::/40": "55410", - "2401:d800:840::/42": "7552", - "2620:120:e000::/40": "15169", - "2400:7400:e02d::/48": "23736", - "2408:8456:3a00::/41": "17623", - "2804:55c8::/32": "267956", - "2408:8656:a51::/44": "17622", - "2803:ce00::/32": "52422", - "2804:1318::/32": "263515", - "2a0b:100::/29": "48402", - "2a10:1440::/29": "213035", - "2001:559:10f::/48": "7016", - "2804:7a2c::/32": "271352", - "2001:1440::/38": "8469", - "2001:448a:2010::/42": "7713", - "2402:800:5bd3::/44": "7552", - "2a0e:b107:10c0::/44": "211495", - "2001:df0:7080::/48": "23954", - "2001:67c:24cc::/48": "12464", - "2408:840d:9c00::/42": "17621", - "240a:a845::/32": "144767", - "2607:1a00::/32": "22653", - "2a02:b50:8003::/34": "48910", - "2408:8957:2140::/40": "17816", - "2800:160:1511::/42": "14259", - "2a0f:2740::/29": "36351", - "240e:108:8b::/48": "137695", - "2a02:2af8:403::/45": "702", - "2408:8256:3a61::/43": "17623", - "240a:a57c::/32": "144054", - "240e:fc:7000::/32": "134772", - "2a0c:4c0::/29": "52080", - "2401:d800:b910::/42": "7552", - "2606:6a80::/32": "394384", - "2804:37bc::/32": "266433", - "2a02:26f0:85::/46": "20940", - "2a02:26f7:d210::/48": "36183", - "2a0e:b107:1110::/44": "42394", - "2409:8904:6740::/42": "24547", - "2600:380:ac80::/38": "7018", - "2804:3454::/32": "265451", - "2804:82e0::/32": "272162", - "2a04:8740::/29": "44212", - "2001:559:83f9::/48": "7015", - "2600:1004:b140::/42": "6167", - "2600:1017:b0b0::/41": "6167", - "2804:5f5c::/32": "269094", - "2a02:26f7:bec1::/46": "20940", - "240a:a927::/32": "144993", - "240a:acee::/32": "145960", - "2a01:b740::/47": "714", - "2a07:db01::/47": "204527", - "2001:e10::/32": "7539", - "2405:9400::/32": "45172", - "2600:200d:4000::/30": "33517", - "2a00:86c0:2040::/47": "40027", - "2001:67c:2ad0::/48": "60053", - "2400:c540:66::/40": "59238", - "2401:e380:7551::/48": "131091", - "2001:16d8:55::/46": "16150", - "2001:4490:4c1c::/46": "9829", - "2604:c340::/32": "17055", - "2620:c2:c000::/48": "13383", - "2a02:6680:21f0::/44": "16116", - "2a06:98c1:50::/45": "13335", - "2402:5b00:20::/41": "18002", - "240a:a179::/32": "143027", - "240a:a2ea::/32": "143396", - "240e:438:1c40::/38": "4134", - "2a01:468::/29": "5403", - "2a05:14c0::/29": "28686", - "2604:1700::/48": "23237", - "2804:5968::/36": "268188", - "2804:620c::/32": "28225", - "2804:7e70::/32": "271624", - "2605:3380:3000::/36": "62947", - "2804:41e0::/32": "267462", - "2a00:ff0:1234::/48": "41494", - "2a02:26f7:e04d::/42": "20940", - "2a03:c980:b957::/48": "210079", - "2001:559:4f6::/48": "62644", - "2405:58c0:3e00::/40": "133101", - "240a:a716::/32": "144464", - "2a00:d100::/32": "15704", - "2a02:9b0:4023::/32": "35819", - "2a0d:f407:a4::/48": "50219", - "2001:559:84d2::/48": "33491", - "2001:67c:2e74::/48": "60396", - "2400:8000:3003::/32": "4800", - "2600:1417:4c::/47": "24319", - "2408:8026:100::/38": "17621", - "2408:8656:2d00::/38": "17816", - "2800:200:f1d0::/36": "12252", - "2800:370:48::/48": "28006", - "2001:678:15c::/48": "209616", - "2401:f540:6::/47": "134094", - "2804:14c:3b9c::/42": "28573", - "2804:5178::/32": "52714", - "2a01:cd00:80d0::/48": "28708", - "2a0b:b580::/48": "43304", - "2001:559:84e0::/48": "33287", - "2001:d98:e000:7::/64": "26415", - "2001:49f0:a05e::/47": "174", - "2606:2800:422b::/48": "14153", - "2a0b:20c0:2001::/36": "205766", - "2804:15a8::/32": "263401", - "2a02:26f7:7a::/48": "36183", - "2a03:d1c0::/32": "41690", - "2a0b:e46:1::/48": "203055", - "2001:df0:1a00::/48": "132779", - "2404:e100:2001::/48": "55685", - "2405:25c0:a200::/40": "131969", - "2a03:ac40:1::/48": "212882", - "2a05:547::/32": "206766", - "2a0d:60c7::/32": "208861", - "240e:980:9300::/40": "134768", - "2a04:a900:2::/48": "43067", - "2a05:f180::/29": "200836", - "2a09:bac0:174::/48": "13335", - "2001:559:8545::/48": "7016", - "2001:559:c0d2::/45": "7922", - "2409:8010:3100::/30": "9808", - "240a:aac9::/32": "145411", - "2607:f4e8:412::/36": "22822", - "2806:230:5013::/48": "11888", - "2001:550:9d01::/38": "174", - "2600:1480:6800::/48": "21342", - "2a02:ac80:6001::/35": "25145", - "2001:579:b884::/41": "22773", - "2001:1520:3::/48": "34011", - "2402:c480:9001::/33": "63916", - "2a00:d520::/29": "15600", - "2a01:9700:1484::/46": "8376", - "2a0a:ab40::/47": "205988", - "2408:8957:5200::/40": "17622", - "240a:a5ae::/32": "144104", - "2804:cc4:11::/32": "52551", - "2001:559:96::/48": "33287", - "240a:a675::/32": "144303", - "240a:adc1::/32": "146171", - "2804:250c::/32": "264255", - "2001:678:cf0::/48": "60557", - "2001:af0::/32": "5588", - "2400:a980:1fff::/48": "133515", - "240e:67c:c400::/39": "140330", - "2a0e:fd45:b00c::/30": "44103", - "2c0f:f7f8:1::/46": "10753", - "2401:4900:3b00::/42": "45609", - "2401:5c00::/32": "9889", - "2401:a580::/46": "55403", - "240a:a424::/32": "143710", - "240a:a6fd::/32": "144439", - "2800:200:e221::/41": "12252", - "2804:25bc::/44": "264299", - "2400:a980:50fd::/46": "133111", - "2409:8028:1800::/40": "56041", - "2405:13c0::/32": "135808", - "2408:8656:30f1::/45": "17816", - "2804:1654::/33": "263282", - "2403:a8c0::/32": "131149", - "2409:8044:2b14::/28": "24445", - "2401:d800:f200::/42": "7552", - "2001:559:389::/48": "22258", - "2001:67c:149c::/48": "44968", - "2406:7400:80::/46": "24309", - "240a:ac8c::/32": "145862", - "2a09:b180::/29": "56485", - "2001:559:800b::/45": "7922", - "2604:2e8e:2000::/38": "30036", - "2800:bf0:3800::/46": "52257", - "2a01:b540::/29": "15600", - "2001:559:825c::/48": "33659", - "2001:67c:18e4::/48": "199957", - "2401:d800:5330::/41": "7552", - "2803:7200:8006::/47": "27696", - "2402:3a80:c060::/48": "38266", - "2409:8030:2900::/38": "9808", - "2803:d8a0::/32": "266812", - "2a0c:dec0:f100::/48": "207063", - "2001:559:837c::/48": "20214", - "2001:dcd:40::/48": "38796", - "2600:14c0:9::/48": "20940", - "2604:ee00:3::/48": "18865", - "2620:196::/32": "14014", - "2a06:aa40::/32": "51944", - "2401:d800:9830::/40": "7552", - "2409:8915:5800::/39": "56044", - "240a:a047::/32": "142721", - "2600:1012:b100::/42": "6167", - "2804:1eb8::/32": "52564", - "2a05:4100::/29": "204272", - "2001:559:27e::/47": "33651", - "2001:559:82e2::/48": "7015", - "2406:f380:1::/48": "29066", - "2801:0:3b0::/48": "19429", - "2001:559:82f5::/48": "22909", - "2001:44b8::/45": "4739", - "240a:adb4::/32": "146158", - "2804:18f0::/32": "61764", - "2806:230:402a::/48": "265594", - "2a02:26f7:ea44::/48": "36183", - "2a02:6c20:3::/48": "201922", - "2406:2000:a0::/48": "24376", - "2605:7f80::/32": "19032", - "2a00:15c0::/32": "31543", - "2a00:7d20::/32": "44671", - "2a01:110::/32": "6584", - "2a02:26f7:d209::/46": "20940", - "2a07:9a40::/36": "30081", - "2001:559:8282::/48": "33660", - "240a:acd8::/32": "145938", - "2620:31:4000::/40": "14977", - "2804:7f40::/32": "271676", - "2001:559:11f::/42": "7922", - "2406:e000:c05::/43": "23655", - "240e:438:7240::/37": "4134", - "240e:473:6050::/39": "4134", - "2620:116:800c::/46": "16509", - "2806:21b::/47": "19332", - "2a06:d180::/29": "51184", - "2801:1be::/40": "19429", - "2803:7680::/33": "22541", - "2804:36d8::/32": "266376", - "2402:800:9ce0::/39": "7552", - "2a00:d1c0::/32": "198694", - "2a02:503:2::/45": "5538", - "2a09:bac0:181::/48": "13335", - "2a01:a0a0::/48": "35501", - "2a02:390::/32": "12496", - "2001:559:805e::/48": "33657", - "2001:559:823e::/48": "7922", - "2804:79e8::/32": "271335", - "2a0b:33c0:107::/48": "57395", - "2001:1a68:2a::/48": "206838", - "2406:4a00::/48": "56038", - "2804:6218::/32": "269275", - "2001:df7:bd00::/48": "45312", - "240a:a3d4::/32": "143630", - "2620:104:400c::/46": "15248", - "2804:80dc::/32": "272417", - "2001:19f0:1000::/37": "20473", - "2401:bd00:dc03::/48": "38636", - "2a0a:60c1:2::/48": "212782", - "2408:80ea:76a0::/41": "17816", - "2a01:6f0:fffe::/48": "36351", - "2a05:bd02::/29": "42221", - "2a06:6540:1000::/48": "34893", - "2403:8300:82bf::/48": "24442", - "2606:2800:4050::/48": "14210", - "2607:fdf0:5e49::/46": "8008", - "2a02:26f0:ce00::/48": "34164", - "2400:dd01:301c::/30": "7497", - "2a01:358:3b12::/33": "9121", - "2a0f:5940::/30": "209372", - "2405:1c0:6631::/45": "135062", - "240a:a1ca::/32": "143108", - "2a07:cd40::/29": "212855", - "2001:4878:a204::/48": "12222", - "240a:ac72::/32": "145836", - "2801:11e::/47": "3816", - "2a00:ed20::/32": "64401", - "2a02:ee80:420d::/46": "3573", - "2a0c:b640::/44": "34872", - "2001:df6:7a80::/48": "142054", - "2409:8907:7620::/39": "24547", - "2620:8d::/48": "23342", - "2a02:26f7:c309::/46": "20940", - "2a02:27b0:5600::/32": "9146", - "2a05:5504:10::/47": "8218", - "2001:9b8:3::/32": "6774", - "2403:a040:ce01::/48": "38047", - "240a:a6a5::/32": "144351", - "240e:3b9:6400::/35": "140312", - "2800:160:1869::/43": "14259", - "2405:a000:13::/48": "55844", - "2604:6600:38c::/34": "40676", - "2607:f920::/32": "11758", - "2001:559:8413::/48": "7016", - "240a:a462::/32": "143772", - "2620:139:7000::/40": "396950", - "2804:3798:10::/32": "266423", - "2806:2f0:3002::/42": "17072", - "2001:253:132::/48": "142098", - "2001:4830:c500::/40": "27552", - "2401:3c0:216::/44": "45528", - "2600:1007:f010::/40": "22394", - "2a02:d78::/32": "44819", - "2a02:26f7:f784::/48": "36183", - "2c0f:f348:1601::/32": "24757", - "2800:5f0:103a::/34": "22724", - "2804:c00:a100::/38": "52655", - "2405:b7c0::/32": "139112", - "2600:380:b480::/39": "20057", - "2804:10ec::/32": "52864", - "2804:501c::/32": "268370", - "2804:5ea4::/32": "269047", - "2c0f:fe18::/32": "37179", - "240a:a3c2::/32": "143612", - "240e:438:8c20::/43": "140647", - "2600:1406:ac01::/35": "20940", - "2a0f:aa40::/29": "207646", - "2a05:9f06::/31": "206898", - "2001:df1:300::/48": "136350", - "2401:b0c0:a::/48": "136941", - "2402:800:5ee0::/44": "7552", - "2402:6e80::/32": "139100", - "2402:8a80::/32": "134375", - "2409:8020:c1::/43": "56046", - "2a02:26f7:d588::/48": "36183", - "2a09:f907::/32": "62200", - "2401:2d80::/48": "58641", - "2401:4900:22f0::/39": "45609", - "2408:834e::/27": "4837", - "2409:8907:7420::/39": "24547", - "2a02:166b::/32": "51088", - "2a04:5b05::/32": "203974", - "2804:4c48::/32": "267361", - "2001:559:20f::/48": "7016", - "2403:fc80::/32": "63501", - "2408:8956:1240::/40": "17622", - "2409:8a3c::/35": "24444", - "2600:1405:d001::/34": "20940", - "2600:1406:37::/44": "35994", - "2620:39::/48": "39984", - "2804:5ad4::/32": "268799", - "2804:6080::/32": "269171", - "2c0f:f1a0:8200::/33": "37314", - "2001:df4:9980::/48": "141007", - "2400:b200:4104::/32": "37963", - "2408:8756:2c00::/40": "135061", - "2602:fef2::/36": "396313", - "2607:f278::/32": "6360", - "2804:5004::/32": "268364", - "2a02:26f7:ca00::/48": "36183", - "2001:559:8350::/48": "7922", - "2a03:e140:41::/48": "44056", - "2a05:840::/48": "43350", - "2a0f:9c00::/29": "211546", - "240a:ab50::/32": "145546", - "2001:df1:e300::/48": "132402", - "2403:6d00::/40": "56094", - "2405:1300::/32": "58698", - "2001:500:53::/45": "12041", - "2001:67c:16b0::/48": "198093", - "2001:1248:553f::/41": "11172", - "2600:1f1c::/36": "16509", - "2604:bac0::/32": "19748", - "2a00:a180::/32": "51922", - "2a0b:1300:8000::/48": "198018", - "2001:559:c1b0::/48": "22909", - "2409:8914:8200::/39": "56044", - "2620:65:c000::/48": "15053", - "2a02:26f7:d4d0::/48": "36183", - "2a03:f580:2::/32": "15763", - "2001:678:d24::/48": "15830", - "2404:26c0::/48": "135987", - "2406:2000:1d1::/32": "10310", - "2406:6e00:fff0::/44": "7280", - "240a:a52b::/32": "143973", - "240a:ab55::/32": "145551", - "2a00:800:429::/41": "1257", - "2620:13b:a000::/44": "393657", - "2001:1248:561b::/42": "11172", - "2001:12f0:b6f::/43": "1916", - "2403:9000::/32": "7594", - "2405:800:a000::/35": "4817", - "2408:8956:a700::/40": "17816", - "2605:a900:8::/48": "26793", - "2607:fc58:1:97::/64": "13536", - "2001:dcc:4::/48": "23599", - "2402:ef19::/39": "7633", - "2405:600::/46": "55805", - "2408:8719::/30": "4837", - "240a:a01e::/32": "142680", - "2600:140f:c::/48": "20940", - "2804:6834::/32": "269676", - "2001:559:86db::/48": "33660", - "2804:1d04:f000::/36": "61689", - "2a0e:fd45:2b14::/46": "44103", - "2404:d00::/32": "58616", - "2600:40f1:102::/28": "701", - "2602:fc8a::/40": "399588", - "2620:120:2000::/40": "393983", - "2a04:92c7:53::/32": "62240", - "2001:559:c27c::/47": "33652", - "2605:940::/37": "396919", - "2804:2b90::/32": "265160", - "2a0f:9400:fa0::/43": "53356", - "2a02:1390:4000::/40": "21351", - "2001:550:1200:4::/63": "174", - "2001:c20:48a2::/48": "9255", - "240a:a0dd::/32": "142871", - "240a:af94::/32": "146638", - "2600:370f:728a::/42": "32261", - "2600:6c38:8ea::/47": "20115", - "2620:123:200b::/45": "30103", - "2803:c200:100::/44": "22411", - "2402:d0c0::/45": "35913", - "2403:f3c0::/32": "131626", - "2605:a404:68b::/43": "33363", - "2800:200:e291::/42": "12252", - "2a0e:7d40::/41": "209833", - "2402:e280:2126::/44": "134674", - "240e:1a:120::/44": "134756", - "2a03:80::/32": "57154", - "2001:559:2ef::/48": "33652", - "2001:67c:15f4::/48": "41103", - "2001:1a11:119::/45": "42298", - "2804:2bf4::/32": "262785", - "2804:3970::/32": "266030", - "2a04:3c0::/29": "57099", - "2001:559:8225::/48": "7015", - "2001:67c:13b0::/48": "34953", - "2600:40ff:fcfa::/47": "701", - "2a04:e1c0:1::/48": "60781", - "2001:559:288::/48": "33657", - "2800:2000::/20": "7303", - "2a02:26f0:b601::/39": "20940", - "2400:9380:9230::/47": "4809", - "2803:c240:1100::/36": "41095", - "2804:2238::/38": "264598", - "2a08:600:99::/48": "206747", - "2a11:ab00::/32": "209164", - "2803:ecc0:600::/34": "264814", - "2001:7b8::/37": "12859", - "2001:df2:7d00::/48": "45780", - "2401:d800:7c90::/42": "7552", - "2403:0:e::/39": "4755", - "2409:8c14:f0::/44": "9808", - "240a:ad49::/32": "146051", - "240d:c010:69::/48": "139341", - "2404:2280:147::/48": "24429", - "240e:97d:2000::/36": "134764", - "2800:40:30::/47": "16814", - "2803:32a0::/32": "266858", - "2806:100f::/27": "8151", - "2001:be0::/32": "13005", - "2405:ba00:880c::/48": "7160", - "2804:1c9c::/32": "61665", - "2401:b780:5000::/48": "65435", - "2409:8c28:201::/46": "56041", - "2409:8d05::/32": "24547", - "2a01:3f8::/32": "34270", - "2a01:9700:105c::/46": "8376", - "2a04:9e00::/29": "62183", - "2a07:35c2::/31": "197561", - "2803:1b40::/32": "27843", - "2a02:cb40::/30": "20546", - "240e:bf:b000::/36": "134768", - "2a00:1570::/32": "39308", - "2a02:970:1407::/41": "44002", - "2a02:26f0:6901::/38": "20940", - "2001:559:c342::/47": "7922", - "2001:678:290::/48": "206814", - "2402:800:52c5::/43": "7552", - "2600:1902::/31": "19527", - "2a03:47c0::/35": "21277", - "2001:559:2bc::/48": "7922", - "2a02:26f7:bd81::/46": "20940", - "2a06:f902::/36": "56630", - "2607:f368:3221::/46": "32982", - "2620:12e:1002::/44": "396075", - "2804:3bcc:8000::/35": "266171", - "2a02:2e02:2e40::/42": "12479", - "2607:fcd0:fa80:8908::/54": "8100", - "2a02:26f7:e644::/48": "36183", - "2a07:2d80::/29": "42929", - "2a07:3502:1070::/48": "38915", - "2001:67c:13e4::/48": "51410", - "2606:45c0::/35": "26073", - "2804:7eac::/32": "271639", - "2001:978:3c03::/45": "174", - "2600:14a0:100::/48": "16625", - "2607:f250:d024::/48": "7046", - "2607:fb10:7142::/47": "2906", - "2a02:6f8::/32": "39287", - "2001:559:23c::/47": "7922", - "2401:ac00::/32": "9268", - "2a02:26f7:e9c4::/48": "36183", - "2a0a:e580::/29": "208861", - "2001:559:8254::/48": "33651", - "240e:62:f000::/36": "4134", - "2804:26c0::/32": "263854", - "2a02:26f7:f000::/48": "36183", - "2001:559:32f::/48": "33489", - "2402:800:5955::/42": "7552", - "240e:3bd:1800::/34": "4134", - "2600:1408:3401::/36": "20940", - "2602:806:5000::/44": "22617", - "2804:3b40::/32": "266138", - "2806:230:400d::/48": "11888", - "2403:8400:10::/47": "17917", - "240a:afa9::/32": "146659", - "240e:cf:8000::/36": "134238", - "2804:2bdc::/47": "265181", - "2001:559:866c::/48": "33651", - "2001:678:564::/48": "56439", - "2402:800:3955::/42": "7552", - "2409:8008:2900::/35": "24547", - "240a:a3e4::/32": "143646", - "2605:4840:ffff::/48": "63473", - "2801:15:d000::/48": "28116", - "2001:388:608c::/48": "56132", - "240e:d:a800::/37": "136192", - "2602:fe27:a0::/48": "6473", - "2604:3400:abca::/48": "209453", - "2a00:e200:105::/32": "41313", - "2001:559:80c2::/48": "33657", - "2001:fd8:301e::/47": "132199", - "2001:4408:5225::/46": "4758", - "240a:ac93::/32": "145869", - "2804:3480::/32": "265462", - "2a02:e0:14::/34": "34984", - "2a04:5200:68::/48": "200740", - "2001:579:d0e4::/39": "22773", - "2804:4900:8000::/33": "267158", - "2a02:e00:ffe7::/48": "61272", - "2a02:d100::/29": "197155", - "2a0e:a280::/29": "60262", - "2405:a040::/32": "131667", - "2804:5b24::/32": "268821", - "2806:2f0:1024::/41": "22884", - "2a07:7ec0::/29": "59441", - "2a0e:5cc0::/29": "43282", - "2c0f:f7a8:9210::/47": "4809", - "2001:470:c4::/47": "6939", - "2403:4e00:30e::/43": "45528", - "2404:f4c0:fac0::/47": "142284", - "2405:1c0:6771::/46": "135062", - "2602:ffa2::/36": "209", - "2603:c0fa:4000::/35": "20054", - "2a06:8784::/32": "205112", - "2400:cb00:184::/44": "13335", - "2600:6c7f:9150::/44": "20115", - "2a05:3580:ee00::/35": "35807", - "2a06:1c0::/30": "50873", - "2600:1409:7801::/37": "20940", - "2a02:26f7:c705::/46": "20940", - "2001:559:c001::/48": "33491", - "2607:f738:b80::/37": "17184", - "2a02:26f7:df80::/48": "36183", - "2a0f:9340:3d::/48": "1299", - "2001:559:c32c::/47": "33659", - "2408:820c:9c10::/42": "17621", - "2409:8062:2100::/36": "9808", - "2606:2800:5100::/46": "15133", - "2806:2f0:50a1::/41": "17072", - "2001:550:7202::/45": "174", - "2401:d800:f700::/42": "7552", - "240a:a809::/32": "144707", - "2606:5980::/32": "11071", - "2001:ee0:9140::/40": "45899", - "2a01:9700:10f0::/46": "8376", - "2607:ff28:a::/33": "62904", - "2401:4800:3021::/48": "38457", - "2607:f6f0:7001::/48": "394749", - "2804:4170::/39": "267433", - "2a01:190:15ef::/48": "44753", - "2001:4ca0::/29": "12816", - "2400:a800::/32": "2514", - "240a:a568::/32": "144034", - "2600:1802:3::/45": "16552", - "2602:fed2:7106::/48": "23470", - "2801:80:1b80::/48": "266461", - "2804:214:c009::/34": "26615", - "2804:4368::/37": "267568", - "2a00:4802:350::/42": "13124", - "2001:559:8451::/48": "7015", - "2001:ac8:87::/48": "9009", - "2409:802f:2b08::/32": "56041", - "240e:67f:c600::/34": "4134", - "2606:4700:310c::/48": "13335", - "2408:8456:4e00::/42": "17622", - "2409:8030:3100::/36": "9808", - "2600:381:200::/39": "20057", - "2a07:4f00::/29": "31263", - "2a0e:2d47::/32": "35913", - "2001:559:596::/47": "33287", - "2001:67c:3c4::/48": "1136", - "2001:4878:b038::/48": "12222", - "2401:d800:96c0::/42": "7552", - "2801:80:22b0::/48": "267001", - "2804:5e8::/32": "262549", - "2a02:26f7:c4c4::/48": "36183", - "2001:49f0:d200::/48": "30058", - "2804:19f4::/32": "61828", - "2804:3d1c::/32": "266254", - "2a03:8920::/32": "41103", - "2a0e:b102:160::/44": "212546", - "2401:d800:2140::/42": "7552", - "2406:a1c0:2::/48": "131921", - "2800:200:bc10::/39": "12252", - "2a02:1628::/32": "12360", - "2001:470:eb::/45": "6939", - "2607:f0d0:2200::/36": "36351", - "2806:2f0:3501::/42": "17072", - "2a07:9e00::/29": "20740", - "2408:8956:cdc0::/38": "17622", - "240a:abfe::/32": "145720", - "2603:3:6000::/39": "398101", - "2804:370::/32": "262881", - "2a00:1288:7c::/48": "43428", - "2001:57a:3a06::/33": "22773", - "240a:a0e5::/32": "142879", - "240a:a4b0::/32": "143850", - "240a:ac4e::/32": "145800", - "2a07:e03:30::/39": "210083", - "2a0a:7e80::/29": "203203", - "2001:550:2f01::/35": "174", - "2001:559:164::/48": "33489", - "2402:800:7750::/42": "7552", - "2c0f:f060::/32": "328154", - "2001:559:75d::/48": "7725", - "2405:9800:9804::/47": "45430", - "2a03:a960:30::/32": "61317", - "2c0f:f178::/32": "32437", - "240a:aa14::/32": "145230", - "2607:f778::/32": "32035", - "240a:ab37::/32": "145521", - "240a:ae01::/32": "146235", - "2804:6b64::/32": "270397", - "2a01:8840:72::/45": "12041", - "2a02:ee80:4178::/40": "3573", - "2001:559:c145::/48": "33652", - "2001:df4:6300::/48": "137487", - "2001:4b38::/32": "25220", - "240a:a210::/32": "143178", - "2804:39fc::/32": "266063", - "2a00:fa00::/32": "12926", - "2a10:7a40::/47": "39910", - "2001:559:8239::/48": "7725", - "2a0c:1700:2::/29": "205112", - "2001:559:80dc::/48": "7922", - "2001:559:8226::/48": "33657", - "2001:67c:176c::/48": "31725", - "2804:16b0::/36": "61910", - "2a00:d8c0:100::/48": "50716", - "240a:a7ba::/32": "144628", - "2610:e0:5000::/32": "2572", - "2800:3a0:5::/46": "23201", - "2a00:c5a0::/32": "39279", - "240a:af8e::/32": "146632", - "2804:3ea0::/32": "266610", - "2a01:8840:e2::/45": "12041", - "2a01:8840:f5::/48": "207266", - "2a02:2e02:8410::/40": "12479", - "2a0b:d280::/32": "20655", - "2001:559:38c::/48": "7922", - "2001:678:f90::/48": "39138", - "2408:8459:7010::/42": "17623", - "2607:f1c0:100::/32": "8560", - "2001:dce:7000::/48": "45285", - "2408:840e:dd00::/34": "17621", - "2600:100f:d000::/42": "6167", - "2604:c4c0::/32": "11635", - "2804:73f8::/32": "270949", - "2001:678:c44::/48": "49752", - "2402:e280:2136::/44": "134674", - "2402:fd40::/48": "137889", - "2407:1e40:fcf::/32": "141732", - "240a:a011::/32": "142667", - "2604:5500:8000::/38": "19165", - "2607:2480:2::/48": "395450", - "2406:3d40::/32": "134980", - "2605:6700::/32": "11976", - "2a01:c50f:100::/38": "12479", - "2a0c:b641:493::/48": "53356", - "2404:8c00::/32": "3605", - "2001:df5:3600::/48": "56236", - "2404:8380::/32": "135158", - "2620:8:4300::/48": "174", - "2a03:10c0::/30": "61044", - "2a04:4ac0::/29": "200844", - "2a0a:2880::/29": "208861", - "2a02:26f7:b5c8::/48": "36183", - "2401:c500:fd11::/48": "54994", - "2803:e560::/32": "262186", - "2a0c:9a40:8113::/45": "204438", - "2a0f:5180::/32": "29802", - "2a10:2f01:2aa::/48": "212995", - "2405:b40:41::/46": "55674", - "2408:840d:5d00::/42": "17621", - "2804:1158::/32": "263672", - "2804:3f10:6203::/35": "262566", - "2806:230:6031::/48": "11888", - "2a04:2b00:6374::/48": "42044", - "2a0a:8e40::/29": "203605", - "2a0e:b105:520::/46": "20473", - "2a02:26f7:cd45::/46": "20940", - "2001:559:c274::/48": "33651", - "2404:8d02:3000::/36": "10089", - "2409:4001:4000::/30": "55836", - "2409:8028:3092::/42": "56041", - "2409:8e4c::/30": "9808", - "2606:8200::/32": "32400", - "2806:230:1015::/48": "11888", - "2001:67c:5f8::/48": "198089", - "2001:1248:9c70::/40": "11172", - "2a02:26f7:e108::/48": "36183", - "2402:800:512b::/41": "7552", - "2408:8957:8800::/40": "17622", - "2605:e380::/32": "7954", - "2804:63a0::/32": "269373", - "2a00:9100::/32": "196925", - "2a0e:b107:ac2::/48": "204307", - "2001:67c:2658::/48": "204179", - "2001:4980::/33": "7753", - "2400:90c0::/32": "136184", - "2408:840d:4e00::/42": "17621", - "2409:8b00::/31": "56048", - "2600:1405:1001::/36": "20940", - "2804:818c::/32": "272461", - "2001:559:19b::/48": "33662", - "2001:559:c3eb::/48": "33668", - "240a:ad1f::/32": "146009", - "2804:e8:8100::/33": "28280", - "2804:fc::/32": "28142", - "2a00:e79::/30": "34602", - "2001:678:54::/48": "57382", - "2408:84f3:f820::/43": "17816", - "2605:62c0::/32": "395349", - "2620:149:1a10::/39": "714", - "2800:160:1d47::/44": "14259", - "2804:3d4:38::/45": "262401", - "2804:1950::/32": "61786", - "240a:a6b4::/32": "144366", - "2804:1a48::/32": "61850", - "2a02:2e02:9c70::/40": "12479", - "2408:8459:4230::/41": "17622", - "2804:184c::/39": "61928", - "2806:230:1008::/48": "265594", - "2a01:4020:17::/42": "25369", - "2a02:26f7:ba01::/46": "20940", - "2a04:5f80::/32": "60233", - "2402:8100:2458::/45": "55644", - "240a:a0c5::/32": "142847", - "240a:a8a7::/32": "144865", - "2600:1a0e:ce11::/48": "10307", - "2604:d600:1211::/46": "32098", - "2620:186::/46": "396013", - "2a03:2a80::/32": "196782", - "2001:559:c2b3::/48": "7015", - "2402:e380:304::/48": "134997", - "2a02:c6c1::/48": "44050", - "2403:6dc0::/40": "134526", - "240e:473:a520::/41": "140486", - "2800:200:b3b0::/41": "12252", - "2804:270::/40": "262814", - "2806:2f0:93e1::/37": "17072", - "2a0e:9cc0:2000::/36": "6810", - "2407:8a40::/47": "139516", - "240e:473:7b20::/41": "140486", - "2a04:5980::/29": "201587", - "2001:559:822b::/45": "7922", - "2402:800:5d71::/44": "7552", - "2a03:dfc0::/47": "203520", - "2a0c:3800:ff::/39": "205315", - "2001:1250:e300::/44": "22894", - "2001:1938:4007::/48": "33438", - "2604:a880:50::/48": "14061", - "2604:ba00::/32": "11798", - "2804:c48:ef01::/35": "52687", - "2a0d:b201:1000::/44": "206026", - "2001:559:e4::/47": "33651", - "2001:559:818d::/46": "7922", - "2401:8000:221::/26": "9919", - "2408:8656:3d00::/28": "17816", - "2804:130::/32": "28264", - "2804:2140:1017::/42": "53059", - "2a0e:8f02:f01c::/48": "211715", - "2001:5a8::/32": "46375", - "2620:27::/48": "10846", - "2a0f:9401::/32": "53356", - "2001:56b:800c::/34": "852", - "2a02:26f7:bac8::/48": "36183", - "2a03:ebc0:5000::/36": "31400", - "2001:253:111::/48": "142077", - "240e:908:8200::/29": "4134", - "2600:1419:5401::/36": "20940", - "2803:3640::/32": "264750", - "2a06:3280::/31": "201722", - "2a10:ca80::/29": "44592", - "2a10:a8c0::/29": "211678", - "2001:1248:8720::/46": "11172", - "2408:8459:6e50::/35": "17816", - "2804:29c0:c000::/34": "264032", - "2806:230:1021::/48": "11888", - "2a02:26f7:d74c::/48": "36183", - "2a0b:f080::/32": "213319", - "2a10:8980::/29": "15623", - "2001:dce:100::/48": "38064", - "2600:1404:7001::/38": "20940", - "2803:8600::/32": "27759", - "2a02:26f7:bd01::/46": "20940", - "2a02:26f7:bdcc::/48": "36183", - "2a07:80c0::/29": "202829", - "2001:4118::/32": "2607", - "2803:71a0::/32": "267702", - "2a02:26f7:1e::/48": "36183", - "2402:800:9eb1::/44": "7552", - "2403:300:1d00::/32": "714", - "2a0e:3580::/29": "30788", - "2a11:6c6:1000::/32": "210916", - "2001:550:2100:300::/44": "174", - "2a07:4d80::/32": "206332", - "2a07:dfc0::/32": "212944", - "2001:470:5f::/48": "198362", - "2001:559:81ba::/48": "13367", - "2001:1248:993f::/41": "11172", - "2406:840:c80::/48": "139317", - "2600:1416:e000::/48": "25019", - "2602:ff7f::/32": "7219", - "2a04:eec0::/29": "57795", - "2804:1628::/32": "263271", - "2001:559:c380::/48": "33659", - "2001:4488:2001::/33": "7713", - "2400:dcc0:a404::/39": "38631", - "2401:7400:801:b::/61": "4773", - "2409:8f05::/27": "9808", - "240a:a720::/32": "144474", - "2605:a900:1005::/44": "46887", - "2a01:8840:19::/48": "207266", - "2a0e:fd45:2b13::/48": "52112", - "2401:4900:6050::/40": "45609", - "2402:800:9dfe::/38": "7552", - "2409:8080:2a9f::/48": "56040", - "2409:8a03::/32": "9808", - "2a03:5a00:3b::/48": "60299", - "2405:1c0:6535::/41": "55303", - "240e:16:b800::/31": "4134", - "240e:982:6100::/40": "138982", - "2600:6c38:a01::/43": "20115", - "2804:55e0::/32": "267962", - "2a01:260::/29": "34779", - "2a03:1ac0:5f50::/32": "9049", - "2c0e:7f85::/28": "36974", - "2402:4840::/32": "137329", - "2407:c340::/48": "140822", - "2604:ee40::/32": "395646", - "2801:17:2800::/48": "13489", - "2804:a6c::/33": "262282", - "2804:5eb0::/35": "269050", - "2a10:7800::/29": "46723", - "2001:559:8290::/48": "7016", - "2001:5f8::/33": "5056", - "2409:8e44::/28": "24445", - "240e:931::/30": "4134", - "240e:938:f901::/44": "4134", - "2a06:5040:10::/45": "4785", - "2404:3d00:417c::/32": "3573", - "2406:9b00::/32": "56264", - "2800:381:5151::/48": "265760", - "2804:42d8::/32": "267531", - "2804:7378::/32": "270917", - "2a01:510::/32": "43708", - "2a04:7b40::/29": "200003", - "2001:559:83c7::/48": "33491", - "2001:c20:700a::/36": "3758", - "2409:8000:2900::/40": "9808", - "2a03:39c0::/29": "43858", - "2a09:4c2:4c::/29": "58057", - "2a0c:4ac0:1100::/38": "60548", - "2a0d:a140::/29": "24639", - "2001:559:19f::/48": "21508", - "2402:4e00:2::/45": "45090", - "2406:3003:1060::/43": "55430", - "240a:a78f::/32": "144585", - "2600:370f:5282::/47": "32261", - "2600:3c0f:6::/48": "63949", - "2804:383c:300::/32": "52601", - "240e:473:2e00::/41": "140485", - "2a02:2e02:a90::/39": "12479", - "2a03:b000:400::/40": "42695", - "2a04:3740::/48": "35625", - "2001:559:8103::/48": "7725", - "2001:1620:2016::/39": "13030", - "2402:e380:31b::/48": "141706", - "2600:1407:b::/43": "20940", - "2804:1868::/32": "61930", - "2a02:26f7:f6c4::/48": "36183", - "2a05:79c0:1::/46": "27381", - "2001:df3:7880::/48": "140583", - "2801:80:23f0::/48": "268293", - "2804:77dc::/32": "271204", - "2a00:91c0::/32": "204558", - "2a01:a280:4::/48": "206357", - "2403:5440::/32": "138033", - "2409:8904:e0b0::/39": "24547", - "240e:473:7000::/41": "140485", - "2607:f368:3210::/44": "32982", - "2a00:f18::/32": "39545", - "2001:4b20:0:193::/64": "65505", - "2606:8180::/32": "31769", - "2801:0:360::/48": "27951", - "2804:5c7c:100a::/32": "268911", - "2a00:1cb8:1::/46": "12713", - "2a02:26f0:6401::/38": "20940", - "2c0f:f568::/46": "37451", - "2a00:fda0::/32": "62365", - "2001:67c:640::/48": "59398", - "2607:3900::/32": "27382", - "2400:cb00:270::/48": "13335", - "2401:d800:2740::/42": "7552", - "2404:3440:2100::/36": "138534", - "2404:8d02:2000::/41": "9587", - "2600:9000:117e::/48": "16509", - "2a02:b48:8000::/44": "39572", - "2001:848::/32": "2595", - "2604:1380:45d0::/38": "54825", - "2a01:8840:e6::/44": "12041", - "2a02:e58:3::/32": "209523", - "2804:2b44:37::/44": "265144", - "2a09:88c0::/29": "62336", - "2a0d:27c0::/29": "197706", - "2001:57a:f210::/46": "22773", - "240e:e:c000::/37": "4134", - "2804:7e58::/32": "271618", - "2806:1040::/40": "8151", - "240e:97c:5000::/32": "4134", - "2a00:67e0::/30": "203986", - "2a05:ba00::/32": "207595", - "2001:559:c364::/48": "7016", - "2001:4200:49::/38": "2018", - "2a00:90c0::/38": "197745", - "2603:40ff:6000::/36": "10578", - "2800:40:36::/32": "16814", - "2a04:29c2::/32": "42821", - "2a04:4e40:7c30::/41": "54113", - "2c0f:ee78:8003::/33": "61317", - "2001:df3:1600::/48": "9555", - "2402:800:5b8d::/43": "7552", - "2001:678:f64::/48": "16509", - "2001:df0:e400::/48": "133661", - "2406:db00::/32": "59216", - "2a00:12a8::/29": "6855", - "2001:559:36b::/48": "7725", - "2402:1440:31::/39": "63689", - "2408:820c:1a50::/34": "17621", - "2620:103:e0f9::/48": "13893", - "2804:3764:fffd::/46": "266409", - "2a0e:e1c0::/29": "15391", - "2620:100:9000::/47": "26211", - "2804:fe0:2400::/42": "263049", - "2a06:9dc4::/32": "41917", - "2001:268:852::/32": "2516", - "240a:abc3::/32": "145661", - "2804:1040:facf::/42": "263626", - "2804:277c::/32": "263904", - "2804:40bc::/32": "265978", - "2a0a:e5c0::/48": "209898", - "2a0d:8400::/32": "56630", - "240a:af3b::/32": "146549", - "2610:20:9147::/48": "3477", - "2001:67c:153c::/48": "3301", - "2001:bf7:1350::/44": "213106", - "2402:800:fba0::/41": "7552", - "240e:473:4a50::/39": "4134", - "2610:e0:b000::/33": "2572", - "2a02:bf0:1003::/36": "25106", - "2a06:e881:79ff::/48": "211230", - "2001:1248:9822::/44": "11172", - "2405:6e00:8ee::/47": "133612", - "2603:c0fa:8000::/35": "20054", - "2607:f750:4000::/40": "23473", - "2a0e:9f40::/29": "208436", - "2a0f:c780::/29": "50113", - "2001:559:3c8::/47": "33491", - "2404:c140:156::/32": "138997", - "2408:8456:aa40::/37": "17816", - "2620:11f:f000::/40": "2381", - "2803:6604:6000::/37": "28075", - "2001:67c:784::/48": "201511", - "2404:18c:2001::/40": "6619", - "240a:aecb::/32": "146437", - "2605:2800:102::/40": "3354", - "2a00:d40:100::/45": "2597", - "2a00:1d24::/30": "49544", - "2a02:ff0:4::/48": "12735", - "2001:678:540::/48": "16108", - "2001:df3:a800::/48": "133408", - "2804:3c7c::/32": "266215", - "2a00:17f8:db::/32": "47622", - "2a0f:7cc0::/29": "34591", - "240a:aa29::/32": "145251", - "2600:5800:f627::/48": "11351", - "2a02:2160:7111::/46": "201308", - "2a06:e881:102::/48": "202959", - "2600:1406:9401::/36": "20940", - "2800:2f0::/48": "27668", - "2a03:8ac0:250::/48": "47523", - "2a05:b380::/29": "207307", - "2001:448a:1090::/42": "7713", - "2408:8957:d600::/40": "17622", - "2804:3c6c::/32": "266210", - "240a:af40::/32": "146554", - "2604:2d80:f400::/36": "30036", - "2607:f4e8:e::/47": "22822", - "2800:68:25::/44": "61468", - "2a06:e881:73ff::/48": "16509", - "2a0b:dc80::/29": "206170", - "2a03:2880:f04d::/43": "32934", - "2400:7400:e02f::/43": "23736", - "2400:f7c0::/32": "133952", - "2407:d40::/43": "139009", - "2408:8459:c450::/38": "17816", - "240a:af07::/32": "146497", - "2800:200:e801::/41": "12252", - "2804:28d0::/32": "263982", - "2404:7ac0:6b4::/48": "209306", - "2408:840c:5200::/40": "17621", - "2409:8907:7220::/39": "24547", - "2604:1280:4::/46": "11696", - "2800:484:9300::/36": "14080", - "2001:559:80a1::/46": "7015", - "2001:559:82b7::/48": "21508", - "2001:df1:bb80::/48": "18207", - "240e:109:8046::/48": "134756", - "240e:44d:7700::/41": "140345", - "2a06:e881:6203::/48": "61138", - "2605:bc0:800::/48": "54201", - "2a00:8a04::/44": "34414", - "2a02:ee80:41d7::/48": "3573", - "2a03:2880:f202::/44": "32934", - "2a10:d380::/29": "50892", - "2400:1bc0::/32": "59368", - "2403:6d00:cd::/46": "56094", - "2409:8c28:203::/36": "56041", - "2804:c6c:8105::/33": "52704", - "2a04:6a40::/29": "49892", - "2c0f:1c00::/32": "328802", - "2409:4054:3000::/31": "55836", - "2804:710:90::/32": "17222", - "2001:678:d94::/48": "49183", - "2620:11c::/46": "27647", - "2a10:c941:10:a::/47": "35277", - "2001:559:f7::/48": "21508", - "2804:14d:a281::/41": "28573", - "2a00:d30:122::/45": "47201", - "2a02:26f0:ec01::/38": "20940", - "2a02:26f7:df84::/48": "36183", - "2a02:26f7:f389::/46": "20940", - "2a0f:e280::/29": "50629", - "2001:559:b8::/47": "33657", - "240a:a5f0::/32": "144170", - "2806:286:a800::/33": "265524", - "2001:388::/44": "7575", - "2001:44c8:4130::/44": "45430", - "240e:104:7c00::/40": "137690", - "2605:a404:b22::/40": "33363", - "2a0f:20c0::/29": "60262", - "2001:418:1456:b00::/51": "2914", - "2001:559:c146::/48": "33651", - "2001:c38:9057::/42": "9931", - "2a05:8880:5::/30": "34304", - "2804:6978::/32": "270272", - "2001:df4:1b80::/48": "140874", - "240a:aad0::/32": "145418", - "240a:ac46::/32": "145792", - "2600:1419:ac01::/35": "20940", - "2602:feda:d9b::/48": "57401", - "2602:ffc8:3d20::/43": "20278", - "2804:248:9::/39": "28598", - "2a02:2428::/32": "196845", - "2c0f:f4e8::/32": "327750", - "2c0f:fef8::/43": "15399", - "2c0f:fcb0:6000::/32": "36916", - "2001:468:500::/48": "14041", - "2001:500:2c::/48": "12041", - "2607:f110:140::/32": "21889", - "2804:2df8:eebf::/41": "265315", - "2804:67c4::/32": "269649", - "2a00:4802:370::/40": "13124", - "2a0e:b107:1330::/44": "212357", - "240e:3b6:7a00::/32": "140313", - "2600:1000:10::/32": "22394", - "2a10:b080::/29": "198473", - "240a:a7c6::/32": "144640", - "2600:100d:b170::/40": "22394", - "2806:261:1400::/41": "13999", - "2a02:27aa::/32": "59729", - "2001:559:82d4::/48": "33660", - "2001:67c:488::/48": "3246", - "2401:d800:4d0::/42": "7552", - "2607:f7a8:603::/45": "16657", - "2801:0:100::/48": "28039", - "2a01:e35::/28": "12322", - "2a02:26f7:df48::/48": "36183", - "2001:438:fffd:110::/63": "3456", - "2001:559:8741::/48": "7015", - "2001:559:c359::/48": "7015", - "2804:68c8::/33": "269715", - "2a0c:54c0::/32": "204065", - "2001:67c:2560::/48": "57763", - "2400:4480:8000::/48": "17426", - "2607:f3f8::/45": "19019", - "2620:57:4003::/48": "39122", - "2620:84:c000::/48": "30242", - "2804:24d4::/32": "52781", - "2a00:ece1::/48": "5606", - "2001:218:3004::/48": "20940", - "2409:8924:7300::/37": "56046", - "2620:106:6008::/48": "377", - "2620:131:1038::/41": "26450", - "2804:22c:f002::/37": "22689", - "2804:3cf0::/32": "266243", - "2001:1250:2000::/44": "22894", - "2001:13b4:4005::/32": "3356", - "2402:800:9b63::/43": "7552", - "240a:aaf7::/32": "145457", - "2804:802c:201::/46": "271734", - "2a02:1398::/32": "16350", - "2a00:8a00:a000::/36": "45769", - "2803:7d80:5041::/32": "11664", - "2a02:26f7:d3c5::/46": "20940", - "2a03:6400:30::/44": "11054", - "2a0e:1c80:5::/48": "40028", - "2001:67c:2a18::/48": "58320", - "2401:7e80::/32": "133324", - "2405:2300:ff03::/44": "13443", - "2801:80:2310::/48": "267130", - "2801:16e:2::/48": "19429", - "2804:390::/36": "52956", - "2a06:4480::/29": "200430", - "2800:160:1b62::/45": "14259", - "2804:4758::/32": "267047", - "2001:590:3803::/48": "206264", - "2001:5e0:24::/32": "16713", - "2804:2dac::/35": "265296", - "2001:67c:478::/48": "212774", - "2001:1260::/47": "13591", - "2405:c9c0:1389::/32": "138823", - "2409:8d15:a00::/35": "56044", - "2a05:cf00::/29": "201014", - "2408:8956:4700::/40": "17816", - "240a:ac2a::/32": "145764", - "2804:180c::/32": "61924", - "2a03:5840:ffff::/48": "200995", - "2a0b:2a00::/32": "51933", - "2400:7400:e026::/48": "38044", - "2a02:2578::/35": "51375", - "2a10:fc40::/29": "57777", - "240a:a94d::/32": "145031", - "2804:360::/32": "53088", - "2a05:5b80::/29": "38999", - "2c0f:f3a8::/32": "37308", - "240a:ace4::/32": "145950", - "2605:5fc4::/32": "397881", - "2a03:7e0::/32": "12859", - "2400:cb00:a4e0::/45": "13335", - "2607:fda8::/46": "6128", - "2801:1b4::/46": "14080", - "2a0d:c9c0:1::/46": "49645", - "2803:d700:cc00::/38": "61461", - "2804:188:6007::/32": "262750", - "2a02:6c00::/37": "786", - "2a0d:2581:fffe::/47": "209261", - "2001:16d8:a0a3::/36": "16150", - "2001:48e8::/32": "1249", - "2401:a040::/32": "131586", - "2401:d800:9050::/42": "7552", - "2605:e740:ff04::/46": "398710", - "2a03:2f80::/32": "197308", - "2001:559:482::/48": "7922", - "2406:8dc0:2003::/48": "38173", - "2409:8d50::/30": "56047", - "2804:1774::/32": "263145", - "2804:74a0::/32": "270993", - "2a04:2e80:21::/48": "44397", - "2a07:f600:4033::/48": "6679", - "2800:484:cf00::/40": "14080", - "2804:43c::/34": "262422", - "2804:3310::/32": "265114", - "2804:7898:5ff0::/44": "271253", - "2a02:26f7:e885::/46": "20940", - "2001:df6:e780::/48": "142334", - "240e:947:2000::/36": "4134", - "2602:fd37::/46": "398493", - "2620:122:1005::/46": "29954", - "2a0a:a3c0:c0::/32": "41955", - "2604:e000::/32": "27553", - "2a09:19c0::/48": "35691", - "2001:559:238::/48": "33287", - "2402:800:38d3::/44": "7552", - "2402:1440::/42": "63689", - "2408:8456:bc40::/38": "17816", - "2600:2000:3020::/48": "15135", - "2804:175c::/32": "263140", - "2804:1818::/32": "262657", - "2a04:4e40:e600::/48": "54113", - "2001:fd8:31c0::/42": "132199", - "2403:2c00:f000::/43": "4058", - "2406:3003:2030::/41": "55430", - "2804:565c::/32": "267993", - "2a00:66a0::/35": "199270", - "2a02:2638:7::/44": "44788", - "2a02:26f7:d78c::/48": "36183", - "2001:400:201:73::/61": "3425", - "240a:a63b::/32": "144245", - "2620:8c:4000::/48": "54054", - "2804:658::/32": "262578", - "2a02:26f7:f885::/46": "20940", - "2a05:1540::/29": "47755", - "2406:ac00:203::/48": "23750", - "2804:61dc:5000::/32": "269261", - "2a04:7340::/33": "62172", - "2401:ff80:1589::/46": "133954", - "240e:473:1050::/39": "4134", - "2606:4600::/32": "23118", - "2803:d100:3000::/33": "52362", - "2804:3720:1000::/34": "266391", - "2a01:cb22:8000::/34": "3215", - "240a:a7ca::/32": "144644", - "2a02:26f0:5::/44": "20940", - "2001:978:4a00::/48": "51863", - "2001:4888:8023::/48": "6167", - "2409:805c:3900::/33": "9808", - "2409:8087:5020::/40": "56047", - "2804:14d:e622::/41": "28573", - "2804:125c::/32": "263472", - "240a:a1cd::/32": "143111", - "240a:a2a6::/32": "143328", - "2804:145c:5000::/32": "263327", - "2804:30ac::/32": "264968", - "2001:4d0:241b::/48": "22767", - "2402:d340::/32": "38381", - "2408:84f3:3490::/38": "17816", - "240e:3be:f100::/36": "4134", - "2607:fdf0:5c99::/38": "8008", - "2804:6048::/32": "269157", - "2a01:68c0::/32": "35168", - "2a0a:ec40::/32": "62214", - "2001:7c8::/29": "2110", - "2409:8060:1900::/34": "9808", - "2607:f348:3595::/48": "16626", - "2001:678:2c0::/48": "206740", - "2001:67c:2588::/48": "8447", - "2001:1b78::/32": "28855", - "2804:13c::/32": "14571", - "2001:1248:5582::/45": "11172", - "2408:8346:1200::/32": "4837", - "2604:6400::/33": "29974", - "2804:16d8::/38": "262729", - "2a0f:640::/48": "207983", - "2400:adc0::/45": "9541", - "2401:d800:5f80::/42": "7552", - "240a:a360::/32": "143514", - "2804:4350::/32": "267562", - "2a02:2b60:103::/32": "42947", - "2a09:b640::/29": "209255", - "2001:4f8:12::/32": "1280", - "2804:28dc::/32": "263985", - "2804:38e8::/32": "266509", - "2804:713c::/32": "270776", - "2001:1388:602::/39": "6147", - "2800:bf0:28a::/43": "27947", - "2804:2050:4abd::/35": "264485", - "2804:4ee0::/32": "268288", - "2a0c:cb40::/29": "48571", - "2001:502:7094::/48": "396566", - "2001:678:bf8::/48": "29301", - "2620:105:4000::/46": "26001", - "2a05:89c0::/29": "49223", - "2a0d:1d00::/29": "212974", - "2001:520:1018::/46": "8103", - "2604:340::/32": "32281", - "2801:80:1f0::/48": "52996", - "2804:14c:7f00::/41": "28573", - "2001:559:8136::/48": "7016", - "2404:9700::/32": "10023", - "2605:cc80::/32": "398700", - "2804:4600::/32": "266961", - "2a0d:5642:129::/48": "35487", - "2a0e:8f02:f015::/48": "212243", - "2604:4d40:6a::/48": "213073", - "2a03:9900::/40": "8990", - "2001:559:8552::/48": "33651", - "2408:8957:e500::/40": "17816", - "240a:ad64::/32": "146078", - "240e:983:1e03::/45": "58543", - "2804:5ca0::/32": "268920", - "2a04:1700::/29": "41354", - "2001:12f0:dc0::/38": "1916", - "2403:2c00:d000::/34": "4058", - "240a:a7b0::/32": "144618", - "2806:370:80d0::/44": "28403", - "2a0e:8f02:1050::/40": "204446", - "2804:e28::/40": "52547", - "2001:559:807a::/47": "33651", - "2404:ed::/30": "703", - "2408:84f3:b410::/42": "134543", - "2a02:2b50:ffff::/48": "21286", - "2a01:7d20:102::/38": "203645", - "2001:559:8502::/48": "20214", - "2001:67c:25b8::/48": "41038", - "2402:9e80:41::/48": "138558", - "2409:8c01::/30": "9808", - "2605:f500:404::/39": "1828", - "2800:160:17bb::/41": "14259", - "2804:6b90::/32": "270408", - "2a06:c580::/29": "62297", - "2402:b140::/32": "135425", - "2404:3900:a92::/48": "38320", - "2800:440:86::/48": "27738", - "2804:80d0::/32": "272414", - "240a:a0d7::/32": "142865", - "2605:7900:100::/48": "19133", - "2001:559:8631::/48": "33287", - "240a:a2de::/32": "143384", - "240e:44d:1100::/41": "140345", - "2801:c4:15::/48": "262922", - "2a02:2380:1::/45": "51941", - "2001:67c:1808::/48": "56837", - "2001:67c:22a8::/48": "197416", - "2400:8700::/39": "55394", - "240a:aeb1::/32": "146411", - "2620:118:a000::/47": "42633", - "2001:4998:65::/46": "10310", - "2804:145c:8890::/38": "263327", - "2804:7414::/32": "270957", - "2a02:26f7:ba49::/42": "20940", - "2406:9c40::/35": "55366", - "2407:3b80::/32": "136557", - "240a:a288::/32": "143298", - "2801:10:c800::/48": "14080", - "2a02:26f7:e940::/48": "36183", - "2a0a:cf40::/29": "44295", - "2806:2f0:5022::/41": "17072", - "2a00:b3a1::/32": "31027", - "2a01:42c0::/32": "208966", - "2a03:5640:f500::/48": "16509", - "2610:a1:301c::/48": "12008", - "2803:9800:9099::/39": "11664", - "2804:2164:8100::/33": "264552", - "2a02:26f7:d248::/48": "36183", - "2a07:aa00::/45": "3549", - "2001:67c:1460::/45": "47487", - "2001:129c:8000::/33": "22356", - "2400:9380:85c0::/44": "136167", - "2408:8459:1e10::/42": "17623", - "2408:8656:3b00::/37": "17816", - "2804:5490::/32": "268658", - "2806:290::/32": "8151", - "2001:67c:2f70::/48": "3303", - "2405:7c00:1000::/32": "24028", - "2804:6474:c000::/34": "269429", - "2a06:9f45:1111::/48": "17830", - "2a0f:4e80::/29": "50629", - "2001:19e8:d1::/44": "2576", - "2406:3002:50::/50": "138345", - "2600:803:270::/48": "12234", - "2600:1012:9000::/43": "6167", - "2a0b:a740::/32": "25276", - "2408:8256:3b95::/48": "17816", - "2409:8914:4600::/39": "56044", - "2803:a00::/32": "52381", - "2804:7868::/32": "271240", - "2a00:1f50::/32": "196655", - "2a0b:6cc1:8::/29": "202984", - "2a0b:9fc0::/48": "48858", - "2402:c800:ff70::/48": "131155", - "240a:ad08::/32": "145986", - "2804:38b0:280::/37": "266494", - "2804:7e54::/32": "271617", - "2a02:5d0::/29": "21032", - "240a:a8eb::/32": "144933", - "2606:ae00:bf80::/33": "7287", - "2001:4918::/32": "7849", - "2400:ca08::/31": "23688", - "2401:d800:94a0::/41": "7552", - "2404:4a00:1000::/48": "55423", - "2600:1005:f110::/30": "22394", - "2a02:26f0:96::/48": "34164", - "2600:370f:7020::/46": "32261", - "2602:fdc4::/48": "63430", - "2800:160:2b78::/40": "14259", - "2804:1b04:10::/46": "53048", - "2a09:60c0::/29": "207668", - "240e:967:1800::/34": "4134", - "2600:1409:9000::/48": "35994", - "2605:3c80:fc::/46": "32787", - "2a00:1850:6a1::/48": "29357", - "2a05:b80::/29": "50867", - "2c0f:eed0::/32": "328316", - "2001:67c:380::/48": "41599", - "2a01:728:109::/29": "16347", - "2a01:8000::/48": "60672", - "2a02:7d0::/32": "34141", - "2a0a:5ec0::/29": "206123", - "2400:9280:12::/48": "59159", - "2402:ef2d:b::/30": "7633", - "2620:171:a::/43": "42", - "2804:3888::/32": "266484", - "2001:388:1030::/48": "137188", - "2409:8050:3002::/40": "56047", - "2604:2ec0::/32": "13984", - "2607:3100::/32": "13994", - "2804:4d4c::/32": "267422", - "2401:d800:db70::/40": "7552", - "2402:800:f2c0::/42": "7552", - "2402:d7c0:5::/48": "133234", - "2804:4c14:ab01::/35": "267348", - "2402:8a00::/33": "24477", - "240a:a4ba::/32": "143860", - "2600:1409:a801::/37": "20940", - "2001:df5:4b80::/48": "141404", - "2407:4e00::/47": "17995", - "240a:aeed::/32": "146471", - "2001:678:d7c::/48": "213003", - "2400:d8c0::/32": "38525", - "2401:4900:4ca0::/44": "45609", - "240a:a5be::/32": "144120", - "2a02:ee80:400e::/43": "3573", - "2a0a:f880::/29": "60111", - "2a05:300::/47": "59895", - "2402:ef02::/31": "7633", - "2403:1cc0:1101::/46": "45352", - "2405:17c0:a2::/32": "139331", - "2409:8053:800::/47": "56047", - "2600:1408:e801::/37": "20940", - "2600:1417:9001::/36": "20940", - "2607:f790:f000::/36": "12129", - "2a06:ec00::/29": "553", - "2a07:7800:7::/29": "31727", - "2a0f:3540::/29": "60262", - "2001:559:7c7::/48": "20214", - "240e:438:9620::/43": "140647", - "2800:b000::/32": "7303", - "2804:f40::/32": "263573", - "2a09:0:11::/48": "3214", - "2001:678:358::/48": "206514", - "2403:df00:3::/32": "9292", - "2405:6800:3000::/33": "18207", - "2409:8020:71::/40": "56046", - "2600:6c3b:491::/41": "20115", - "2804:1274::/32": "263477", - "2a00:49e0::/32": "199361", - "2a05:fdc0:1001::/30": "42313", - "2001:559:871b::/48": "7016", - "2402:800:bbc0::/42": "7552", - "2404:880:22::/48": "38750", - "2604:82c0:c::/32": "62917", - "2804:38ec::/32": "266510", - "2a06:7600::/29": "44205", - "2a0e:dc80::/29": "202346", - "2620:0:2840::/48": "16813", - "2804:2d40::/32": "265269", - "2a02:2228::/32": "51378", - "2a03:1100::/32": "42903", - "2001:253:13a::/45": "38272", - "2404:2480:8101::/33": "135391", - "2605:ef80::/45": "36492", - "2804:14d:8a00::/40": "28573", - "2a09:2700:8::/48": "208187", - "2402:e880::/32": "9808", - "240a:a73d::/32": "144503", - "240e:473:1250::/39": "4134", - "2602:feda:c90::/44": "212360", - "2804:14f4::/32": "263361", - "2a02:26f7:de8c::/48": "36183", - "2001:67c:21f0::/48": "52191", - "2001:fe8:10::/48": "24435", - "2001:1838:9001::/48": "13331", - "2804:43b4::/32": "267585", - "2401:3bc0:601::/39": "137409", - "2408:8459:9610::/42": "17623", - "2409:804b:2908::/48": "24445", - "2603:4000::/31": "3", - "2001:559:c02a::/45": "7922", - "2001:df0:f900::/48": "139397", - "2402:800:3d0f::/43": "7552", - "2407:6340::/32": "135021", - "2a01:1e8::/32": "33843", - "2001:12e0:806::/37": "10429", - "2001:1938:2002::/40": "33438", - "2400:ec40::/32": "10214", - "2401:d380::/32": "38031", - "2804:418::/32": "262415", - "2a02:ac80:a001::/35": "25145", - "2001:c20:4891::/45": "9255", - "2001:18b0::/32": "12282", - "2804:79f4::/32": "271338", - "2806:2f0:4341::/42": "17072", - "2a02:26f7:5f::/48": "20940", - "2001:450:2016::/32": "3549", - "2408:8957:f1c0::/38": "17622", - "2607:8b00::/48": "36454", - "2804:6fc8:1700::/36": "270684", - "2001:559:8617::/48": "33657", - "2a03:7960::/46": "47661", - "2a06:5100::/29": "15576", - "2600:1409:6801::/37": "20940", - "2804:7158::/32": "270783", - "2001:44c8:4680::/44": "131445", - "2606:2800:4ab8::/46": "15133", - "2606:3a80:200::/48": "54913", - "2800:b10::/48": "27884", - "2a01:4800::/32": "8767", - "2a03:9d40:2000::/37": "41095", - "240a:a84b::/32": "144773", - "2606:ab00::/47": "55106", - "2a02:25b0:aaaa::/48": "42422", - "2404:58c0:1::/48": "138296", - "240e:37d:1a00::/34": "140330", - "2604:4280::/38": "14866", - "2001:559:83fa::/48": "7922", - "2401:cf80::/33": "55303", - "2406:8600:efa8::/48": "45502", - "240e:3ba:5600::/34": "4134", - "2604:d600:1563::/44": "32098", - "2620:0:30::/45": "8075", - "2804:3200::/32": "265050", - "2402:800:5401::/44": "7552", - "2a03:9b40::/32": "9063", - "2a05:abc0::/29": "43260", - "2001:559:572::/48": "7015", - "2001:559:86f1::/48": "33659", - "2806:1070:cfff:9::/34": "8151", - "2a02:2680::/32": "51675", - "2a02:26f7:f481::/46": "20940", - "2a05:1200::/30": "201654", - "2404:4a00:2:1::/48": "45629", - "2803:6a60::/46": "262186", - "2a00:1af4:1001::/30": "35699", - "2a02:2278::/38": "28907", - "2001:559:2fb::/48": "33287", - "2a02:26f7:c3cc::/48": "36183", - "2a06:6540:2003::/48": "397568", - "2a0a:e2c1::/32": "50560", - "2a11:2380::/29": "60935", - "2001:418::/48": "2914", - "2605:5440:a::/32": "23328", - "2620:1e1::/36": "26848", - "2804:2424::/32": "264204", - "2400:bb40:8888::/48": "136787", - "2800:160:118c::/43": "14259", - "2a02:26f7:bc48::/48": "36183", - "2a04:4e40:3e00::/48": "54113", - "2801:1f:4800::/48": "269848", - "2804:5100::/34": "268424", - "2804:549c::/32": "268661", - "2a07:7340::/29": "34549", - "2001:503:bfb0::/48": "7342", - "2001:1b00::/32": "20597", - "2404:4fc0::/32": "38047", - "240e:fd:a000::/36": "140308", - "2800:370:42::/48": "28006", - "2804:1030::/32": "53163", - "2407:2f00:103::/48": "38001", - "2804:14d:c887::/41": "28573", - "2806:2f0:3404::/42": "17072", - "2001:559:c28b::/48": "7922", - "240a:a238::/32": "143218", - "2a01:8b80::/29": "8821", - "2a03:7220::/32": "197422", - "2405:7e00:1000::/36": "17408", - "240a:a2e8::/32": "143394", - "2804:5368::/32": "268582", - "2400:ddc0:d000::/34": "4785", - "240a:aef3::/32": "146477", - "2607:f4f0::/32": "40581", - "2a02:ac80:f01::/35": "25145", - "2c0f:5900::/32": "60171", - "2403:ce00::/32": "9984", - "2804:28e0::/32": "262550", - "2409:871a::/29": "132525", - "240e:44d:3080::/41": "4134", - "2804:1690:880::/32": "263292", - "2a01:5b0:5::/48": "50611", - "2401:3bc0:1001::/44": "137409", - "2a01:5a00::/32": "9208", - "2001:559:275::/48": "7922", - "2409:807d::/30": "9808", - "2600:1003:f000::/44": "6167", - "2600:1417:62::/48": "20940", - "2804:2238:400::/39": "264598", - "2620:15c::/36": "45566", - "2a01:c910::/28": "3215", - "240a:ae2c::/32": "146278", - "2a06:ec0::/32": "8943", - "2804:7bd8::/32": "271458", - "2806:2f0:8004::/42": "17072", - "2a03:e140:1a::/48": "50317", - "2001:559:715::/46": "7922", - "2001:678:974::/48": "49697", - "2600:1006:f140::/44": "6167", - "2001:559:557::/48": "33491", - "2001:559:860b::/48": "7725", - "2409:801e:3005::/46": "9808", - "2001:559:8435::/48": "22909", - "2401:3c0:211::/46": "45528", - "2403:2e40:1::/46": "137959", - "240a:a705::/32": "144447", - "2603:ffb0::/29": "40676", - "2620:125:9070::/48": "397415", - "2404:8000:d3::/45": "17451", - "240a:ab92::/32": "145612", - "2600:1002:d030::/41": "6167", - "2607:fd48:184:3::/38": "13536", - "2801:1d:8801::/48": "18747", - "2001:559:3ed::/48": "33662", - "2001:67c:398::/48": "50213", - "2001:df1:3100::/48": "64050", - "2403:300:a14::/48": "6185", - "240a:a762::/32": "144540", - "2604:b180:510::/44": "14976", - "2a03:d000:9008::/48": "20632", - "2001:559:c152::/48": "33652", - "2600:1014:f000::/44": "6167", - "2607:a500:df11::/34": "12025", - "2804:2978::/32": "264017", - "2a03:5a00:d::/48": "58319", - "2401:d800:d3d0::/37": "7552", - "240a:ad8a::/32": "146116", - "2604:70c0::/32": "395163", - "2607:b600::/46": "10397", - "2804:18:7040::/44": "26599", - "2a02:26f7:dd09::/42": "20940", - "2a0a:4640::/44": "206177", - "240a:ad1c::/32": "146006", - "2600:1406:3601::/36": "20940", - "2800:bf0:2800::/48": "52257", - "2804:2674:10::/32": "264344", - "2a0f:5701:3521::/48": "206499", - "2a11:2480::/29": "61192", - "240a:a81e::/32": "144728", - "240e:3b5:3e00::/33": "140308", - "2804:5e6c::/32": "269032", - "2402:800:527f::/40": "7552", - "2602:fe9f:a00::/48": "23738", - "2001:559:c241::/48": "7725", - "2404:bf00:8000::/40": "9303", - "2405:f080:1e00::/46": "136907", - "2800:160:14e4::/44": "14259", - "2a06:7c80::/29": "204030", - "2a0a:3840::/29": "39287", - "2001:559:c35b::/45": "7922", - "240e:981:9000::/40": "58542", - "2803:13e0::/32": "270072", - "2a00:1970::/32": "12480", - "2a03:d9c0:3000::/48": "3214", - "2a0a:7c0::/29": "34909", - "2401:d800:2f70::/40": "7552", - "2406:daa0:4080::/44": "16509", - "2600:6c38:c8::/46": "20115", - "2604:61c0::/33": "29831", - "2605:ad80:12f0::/44": "62887", - "2607:f518:16d::/43": "46887", - "2a01:5b0:30::/32": "8391", - "2a0c:9a40:1022::/48": "213288", - "2409:8904:8790::/36": "24547", - "2605:5fcf::/32": "398481", - "2804:4420::/32": "267604", - "2a02:608::/32": "41698", - "2a05:ca80::/29": "49603", - "2001:559:8261::/48": "33651", - "240a:a579::/32": "144051", - "2a0d:ca40::/48": "8423", - "2a04:be20::/30": "47258", - "2001:559:c350::/48": "7922", - "2404:1f00:ffa6::/47": "55947", - "2408:8020::/29": "4808", - "2408:8656:a59::/37": "17622", - "2606:7800::/32": "11598", - "2804:5c14::/32": "268886", - "2a03:4a0::/32": "201888", - "2a0e:b107:cb0::/44": "212948", - "2c0f:f690:8000::/36": "37019", - "2c0f:fa90::/32": "37271", - "2607:f8c0:208::/48": "25885", - "2804:3b30::/32": "266134", - "2a01:9f00::/32": "42187", - "2001:1908::/32": "7029", - "2602:fe68::/36": "26370", - "2604:cc00::/48": "53292", - "2400:9380:9bc0::/44": "136167", - "2001:978:2308::/46": "174", - "2602:fe13:fa0::/44": "53356", - "2804:8280:800::/32": "272521", - "2804:9d4:1001::/34": "262996", - "2804:4a88::/32": "267246", - "2806:2f0:8041::/46": "17072", - "2a00:8860:b00::/40": "39239", - "2a05:1083:1100::/47": "142280", - "2a05:d050:6040::/44": "16509", - "2c0f:eb58::/32": "36924", - "2001:1248:a600::/43": "11172", - "2001:4400::/31": "4768", - "2602:ffb0::/46": "54726", - "2607:ffb0:3004::/44": "6327", - "2804:ad8::/33": "262494", - "2a00:aee0::/29": "60503", - "2a05:93c0::/29": "7979", - "2401:2900:8000::/45": "23679", - "240e:108:90::/48": "134420", - "2600:1406:8401::/36": "20940", - "2800:3c0:2130::/35": "19863", - "2a0b:2d87::/32": "35048", - "2401:d800:20e0::/39": "7552", - "240e:3b0:2c00::/35": "134774", - "2620:10c:7000::/44": "2906", - "2a06:8a07::/32": "204418", - "2408:84f3:d810::/42": "134543", - "2409:8915:5e00::/39": "56044", - "2a04:d380::/29": "41997", - "2c0f:fc88::/42": "36992", - "2401:f800::/32": "7529", - "2408:8459:ea10::/42": "17623", - "2607:ffd0:5::/39": "13767", - "2a00:11c0:43::/45": "42473", - "2a04:e9c0::/29": "34768", - "2a0c:140::/29": "31631", - "2a10:a380::/29": "196777", - "2402:3a80:640::/40": "38266", - "2600:370f:1120::/43": "32261", - "2804:3a1c::/32": "266071", - "2402:ee40:2::/48": "17754", - "240e:44d:6f00::/41": "140345", - "2804:18c4::/32": "53049", - "2804:6fc8:700::/40": "270684", - "2600:8807:9a82::/37": "22773", - "2602:fe3a:5::/48": "20119", - "2604:9d40:1e0::/44": "393290", - "2606:f500::/34": "11352", - "2a09:c400::/29": "13032", - "2a10:fa80:212::/48": "57050", - "2406:8800:9049::/46": "17465", - "240a:afa5::/32": "146655", - "2600:6c38:9e::/42": "20115", - "2604:d600:91e::/42": "32098", - "2606:9800::/32": "13536", - "2804:2c8c:4100::/32": "265226", - "2a07:b700::/29": "57626", - "2001:67c:10fc::/48": "3301", - "2402:8100:39c0::/44": "45271", - "2406:3400:201::/37": "10143", - "2600:6c38:22a::/43": "20115", - "2804:6648::/32": "269546", - "2a09:bac0:253::/48": "13335", - "2001:dd9::/48": "24302", - "2606:2800:4aec::/46": "15133", - "2001:67c:5dc::/48": "3303", - "2001:fd8:f180::/42": "132199", - "2001:559:71e::/48": "33287", - "2001:b28:f23e::/48": "42065", - "2001:4868:906::/40": "23148", - "2404:a800:2a01::/35": "9498", - "2604:d600:1f02::/34": "32098", - "2607:2200::/32": "17090", - "2804:40:e000::/35": "28657", - "2804:14d:b400::/40": "28573", - "2804:29f4:800::/32": "264047", - "2804:5540::/32": "268427", - "2a0b:8f00::/29": "33988", - "2001:697::/32": "199155", - "2405:9200:2100::/41": "131596", - "2408:8957:c600::/40": "17622", - "2803:c100::/32": "28103", - "2a02:470::/32": "42303", - "2001:67c:2e48::/48": "210140", - "2403:6cc0::/32": "138155", - "2602:feb4:240::/44": "25961", - "2602:ff85::/36": "14901", - "2804:2c5c::/33": "265214", - "2804:67a4::/46": "269641", - "2a00:f48::/32": "47447", - "2a04:4e40:c02::/41": "54113", - "2001:559:331::/48": "7015", - "2001:678:a10::/48": "204526", - "2402:800:9255::/42": "7552", - "2405:8a00:6036::/35": "55824", - "2620:134:1000::/44": "30025", - "2a02:26f7:bf00::/48": "36183", - "2804:6e10::/32": "270573", - "2001:559:c2c1::/48": "33287", - "2001:dc8:9000::/48": "131415", - "2001:df0:30f::/48": "9255", - "2804:7fb4:7f00::/32": "271704", - "2a01:bca0::/32": "202114", - "2408:84f3:a610::/42": "134543", - "2600:6c38:e0e::/47": "20115", - "2804:1ab0::/32": "61876", - "2a01:4d80::/32": "39702", - "2a0b:2980::/48": "206520", - "2001:1a11:6f::/43": "42298", - "2400:8b00:980::/42": "45727", - "2804:4aec::/32": "267272", - "2a02:26f7:ec00::/48": "36183", - "2a0e:97c5:750::/46": "20473", - "2602:806:7008::/45": "14618", - "2a06:2700::/29": "203020", - "2a07:bbc0:1::/48": "35365", - "2804:41a0:4000::/32": "267446", - "2001:559:83d9::/46": "33287", - "2001:67c:19e4::/48": "2119", - "2001:df0:500::/40": "132361", - "2408:8957:f4c0::/39": "17816", - "2800:160:1bf3::/37": "14259", - "2804:8cc:8::/46": "262394", - "2804:1e68:a::/32": "53006", - "2a00:d68::/32": "24594", - "2a02:26f7:c40c::/48": "36183", - "2001:df0:65::/48": "38567", - "2408:8459:a250::/37": "17816", - "2604:f1c0::/32": "27580", - "2804:802c::/39": "271734", - "2a01:8840:2a::/45": "12041", - "2a0e:b107:c10::/47": "137256", - "2a0e:c500::/29": "57878", - "2408:8001:3170::/44": "135061", - "240a:af32::/32": "146540", - "2a02:1630::/32": "30848", - "2a02:2e02:3000::/40": "12479", - "2a06:1a40::/29": "20988", - "2604:5740::/32": "19006", - "2800:380::/32": "22927", - "2804:36d4::/32": "266375", - "2a02:26f7:4b::/48": "20940", - "2a0f:9400:7350::/48": "14570", - "2604:b2c0:d00::/40": "7018", - "2803:ad80:16::/48": "42473", - "2804:52b8:c080::/38": "268537", - "2804:7710:8000::/33": "271152", - "2a02:2e02:1140::/40": "12479", - "2001:559:842e::/48": "33287", - "2001:912::/33": "51083", - "2400:a980:d00::/38": "133111", - "2610:a1:302c::/48": "12008", - "2a09:bac0:143::/48": "13335", - "2001:518::/32": "8001", - "2404:2440::/32": "132680", - "2404:bf40:f001::/48": "2764", - "2600:1419:a401::/36": "20940", - "2606:6c00:104::/44": "32787", - "2a04:a182::/32": "201301", - "2408:8459:2c10::/44": "17623", - "2602:80a:c000::/48": "399685", - "2620:11d:500c::/47": "393732", - "2800:110:3401::/45": "4270", - "2804:2e8::/46": "262847", - "2a02:2498:56::/38": "13213", - "2a02:d4e0::/30": "197491", - "2a0b:8400:1::/48": "43350", - "240e:473:5350::/40": "4134", - "2620:24:8080::/48": "23389", - "2804:2834::/32": "263947", - "2804:71ac::/32": "270804", - "2001:d08::/40": "9534", - "2401:cf80:6109::/45": "55303", - "2800:d302:11::/46": "11830", - "2a02:26f7:d3c0::/48": "36183", - "2001:550:4102::/38": "174", - "2403:a880::/32": "17964", - "240a:a2e1::/32": "143387", - "240a:a3b2::/32": "143596", - "2607:fdf8:db::/45": "13649", - "2804:640:3e81::/32": "262713", - "2804:677c::/32": "269631", - "2001:638:30e::/32": "680", - "2408:826a::/32": "4837", - "240a:a8c5::/32": "144895", - "2804:2080::/32": "264494", - "2a0a:9204:30::/48": "211375", - "2400:dc40::/32": "136440", - "2402:ee40:60::/40": "17754", - "240a:a8dd::/32": "144919", - "240a:ae0c::/32": "146246", - "2600:380:a380::/36": "20057", - "2401:d800:9b00::/42": "7552", - "2404:f4c0:800::/40": "17920", - "2600:141b:1000::/48": "35994", - "2606:45c0:1571::/48": "62623", - "2a00:fe0::/32": "34953", - "2a02:4140:5::/32": "43957", - "2a0a:90c0:1049::/45": "205080", - "2001:df0:5980::/48": "139041", - "2001:4838::/32": "29748", - "2600:1017:f010::/39": "6167", - "2804:e94:f12::/48": "262468", - "2405:8a00:2022::/43": "55824", - "240a:aeb9::/32": "146419", - "2803:b780:11::/42": "27742", - "2804:68d0::/32": "269718", - "2a00:7420::/33": "60893", - "240a:a39b::/32": "143573", - "2605:a401:81bc::/41": "33363", - "2806:2f0:83a1::/43": "17072", - "2a02:26f7:e308::/48": "36183", - "2a10:cbc0::/29": "49778", - "2001:dd8::/48": "24390", - "2404:ab80::/43": "55944", - "2600:140b:ec01::/35": "20940", - "2800:bf0:3003::/48": "27947", - "2804:6fb0::/32": "270677", - "2a03:7100::/29": "49567", - "2a0c:ac0::/29": "44659", - "2a0e:8c40::/29": "51659", - "2001:559:858c::/48": "7922", - "2606:3380:ffff::/48": "53334", - "2a00:1630::/33": "49544", - "2a02:26f7:c0c5::/46": "20940", - "2001:590:2005:200::/56": "16625", - "2407:bb00::/36": "45625", - "2801:1fc:1e::/48": "27951", - "2a00:1908:faca::/48": "44628", - "2404:8000:73::/44": "17451", - "2408:8256:337f::/48": "17816", - "2402:1c00::/36": "23838", - "240a:a21d::/32": "143191", - "2600:5801::/32": "7843", - "2a01:540:5000::/34": "12389", - "2a0a:e2c3::/32": "201525", - "2001:c20:c836::/48": "3758", - "2401:fa00:40::/47": "24424", - "2402:800:6211::/45": "7552", - "2a10:3000::/29": "2830", - "2001:559:c26f::/48": "33662", - "2607:f358:c::/43": "18779", - "2a01:a980::/29": "197524", - "2a05:3951::/32": "201503", - "2a0e:b107:240::/44": "204982", - "2001:559:8524::/44": "7015", - "2a02:26f0:6201::/40": "20940", - "2a0b:6c81::/32": "16509", - "2401:1c00::/34": "38809", - "2408:8957:ac00::/40": "17622", - "240e:5a:4600::/40": "140298", - "2600:2000:600::/44": "33517", - "2606:4700:85c0::/43": "13335", - "2804:7ff4::/34": "271720", - "2806:2f0:8221::/39": "17072", - "2408:8957:5900::/40": "17816", - "240e:95d:c00::/38": "4134", - "2600:6c7f:9040::/48": "20115", - "2602:fd92:100::/40": "39618", - "2604:1300:7701::/36": "3833", - "240a:a7b6::/32": "144624", - "2600:1403:6401::/36": "20940", - "2a0c:f440::/29": "200319", - "2001:559:244::/48": "7016", - "2407:7a80:11::/46": "132384", - "2600:1404:8401::/35": "20940", - "2602:fcff:16::/48": "213216", - "2605:b100:d00::/41": "577", - "2a00:d40:1::/48": "2597", - "2a06:1e00:18::/48": "60695", - "2804:154c:4409::/35": "263382", - "2804:6804::/32": "269665", - "2001:610::/29": "1103", - "2001:12f0::/42": "1916", - "2001:1a11:27::/41": "8781", - "2804:6620::/32": "269536", - "240e:979:1e00::/40": "134770", - "2604:880:5c::/48": "29802", - "2a00:f2a0::/32": "12555", - "2001:67c:738::/48": "43139", - "2001:7f8:1e::/48": "13004", - "2804:14c:9d84::/41": "28573", - "2a09:e1c1:eff0::/44": "210311", - "2a0a:cac0::/29": "31246", - "2406:d00::/48": "132165", - "240a:a964::/32": "145054", - "2607:fe28:5040::/32": "53347", - "2800:ba0:6::/48": "263812", - "2a02:2538::/32": "43012", - "2a09:fe00::/29": "209900", - "2a09:58c0:1::/48": "9186", - "2001:559:7f7::/48": "7015", - "240e:473:4800::/41": "140485", - "2600:370f:3581::/45": "32261", - "2605:59c1:2000::/32": "36492", - "2a02:ee80:4015::/42": "3573", - "2a05:4140:1a0::/48": "211358", - "2a0c:9840::/29": "202510", - "2001:559:8075::/48": "20214", - "2001:df4:4180::/48": "140917", - "2408:8459:b810::/42": "17623", - "240a:ae7e::/32": "146360", - "240e:44d:3000::/41": "140345", - "2606:7740::/48": "16509", - "2a00:1d38:feee::/39": "50655", - "2401:7400:2fe::/48": "132915", - "2402:fb00:4000::/32": "3300", - "2804:42d4::/32": "267530", - "2a01:8e80::/29": "8362", - "2a02:1140:100::/40": "43193", - "2001:67c:2390::/48": "21155", - "2600:100a:b1d0::/44": "6167", - "2404:6c00:a001::/33": "24324", - "2a02:970:1249::/40": "44002", - "2a0b:3b40::/29": "7", - "2001:67c:133c::/48": "35052", - "2001:67c:21b0::/48": "51871", - "2001:df4:8b00::/48": "137325", - "2001:15f8:1::/48": "25384", - "2804:e28:100::/32": "52547", - "2804:5d68::/32": "268970", - "2a04:b080::/29": "42343", - "2001:559:8260::/48": "33667", - "2001:4878:b102::/48": "12222", - "2607:f8b0::/33": "15169", - "2a00:114f:8::/32": "47764", - "2001:678:f4c::/48": "56793", - "2409:8053:2100::/37": "9808", - "240a:aee2::/32": "146460", - "2804:18:7000::/42": "26599", - "2001:559:349::/48": "33652", - "2403:8600:60e0::/47": "45820", - "2405:600:1008::/33": "55805", - "240a:a3e9::/32": "143651", - "2a06:1e00:5::/48": "60695", - "2001:67c:2e90::/48": "203918", - "2606:2800:4233::/48": "15133", - "2804:7e60::/32": "271620", - "2a02:26f7:cbc8::/48": "36183", - "2001:44b8:30cb::/48": "4739", - "2400:6280:109::/46": "132280", - "2405:7f00:3261::/36": "133414", - "2408:8459:4650::/36": "17816", - "2610:160:12::/32": "27325", - "2604:d600:15a2::/45": "32098", - "2a02:2aa8:121::/44": "702", - "2001:1520:102::/40": "34011", - "240a:a120::/32": "142938", - "2605:2700::/32": "47066", - "2a00:1898::/32": "44677", - "2a02:26f7:de85::/46": "20940", - "240a:aaa5::/32": "145375", - "2803:bc00::/38": "52438", - "2a03:ba40::/32": "39280", - "2404:6300::/35": "131310", - "2405:2840::/48": "135951", - "2a01:4400:1::/46": "1257", - "2804:7dbc::/32": "271579", - "2001:559:8699::/45": "7922", - "2001:559:8726::/48": "33657", - "2400:cb00:a970::/46": "13335", - "2600:140b:bc00::/48": "24319", - "2606:5000:c00::/35": "3908", - "2804:52f8:200::/40": "268554", - "2804:627c::/32": "269300", - "2a03:2887:ff2e::/43": "63293", - "2001:1248:9899::/48": "11172", - "2408:8768::/32": "4837", - "2800:200:b410::/42": "12252", - "2a04:9ac0::/32": "62242", - "2a09:4c0:304::/40": "58057", - "2406:280::/32": "24372", - "2607:fcd0:105:6408::/46": "8100", - "2a03:d500::/32": "35754", - "2a0e:cd00:680::/31": "23031", - "240e:473:8200::/41": "140485", - "2604:d600:1502::/45": "32098", - "2a02:220e:210::/31": "6697", - "2a02:26f7:ee45::/46": "20940", - "2a07:2a00::/29": "203099", - "2a0c:b641:4::/48": "34872", - "2401:2000::/33": "4608", - "2403:4c00::/32": "24453", - "2408:8409:9000::/40": "4808", - "2408:8957:c000::/40": "17622", - "2801:1d2::/48": "18747", - "2803:9c60:a000::/33": "27896", - "2804:4a8c:200::/32": "267248", - "2001:218:2200::/40": "18259", - "2600:140f:bc00::/48": "9498", - "2a0a:e700::/32": "3292", - "2600:1409:f000::/48": "35994", - "2001:559:c3c8::/48": "33651", - "2001:1260:c::/46": "28537", - "2402:3a80:1ab8::/41": "38266", - "2404:5cc0::/32": "136022", - "2406:bf00:1::/48": "45671", - "2409:8060:2100::/35": "9808", - "240a:ac83::/32": "145853", - "2620:fb::/48": "22651", - "2a02:6900:8807::/48": "43898", - "2a0b:6b83:2001::/33": "202562", - "2a04:2100::/31": "40999", - "2001:a98:30::/48": "1967", - "2405:6e00:f830::/48": "133612", - "240a:a29d::/32": "143319", - "2607:f510::/32": "21719", - "2800:40:2b::/45": "16814", - "2a02:8100::/27": "3209", - "2a03:2880:f23b::/45": "32934", - "2a10:a480::/29": "6729", - "2001:559:82e9::/46": "7922", - "2400:a980:cd::/43": "133111", - "2408:84f3:a210::/42": "134543", - "2801:96::/40": "28586", - "2804:ab8::/32": "52911", - "2a01:160::/32": "16186", - "2a02:cec0::/30": "25459", - "240a:a1ef::/32": "143145", - "2603:c010:8000::/36": "31898", - "2604:76c0::/32": "36103", - "2607:700::/37": "22343", - "2001:300::/32": "2497", - "2001:559:4fd::/48": "13367", - "2001:44b8:405f::/48": "4739", - "2a0f:5707:ab26::/48": "41108", - "2a0f:e580::/48": "197424", - "2408:8957:6200::/40": "17622", - "240a:ae18::/32": "146258", - "2602:fe30::/36": "394752", - "2605:6280::/32": "32338", - "2804:3a08::/32": "266066", - "2a02:2aa0:101::/43": "702", - "2a03:7300::/32": "8426", - "2001:504:2e::/48": "10578", - "2a02:26f0:ad01::/38": "20940", - "2a0f:5707:aac0::/44": "48646", - "2001:559:81ff::/48": "33657", - "2409:8a51:700::/36": "56047", - "2800:370:12::/48": "28006", - "2a07:a40:d::/29": "48821", - "240a:a400::/32": "143674", - "2a02:26f7:c541::/46": "20940", - "2a03:9520::/32": "42220", - "2804:47ac::/32": "267070", - "2001:418:1401:4::/64": "20940", - "2001:579:f184::/36": "22773", - "2001:1248:a4cc::/43": "11172", - "2404:4ac0::/32": "138572", - "2406:5800:800::/38": "45577", - "240a:a692::/32": "144332", - "240e:108:24::/48": "134768", - "2a0e:f40::/32": "208585", - "2001:559:c22e::/48": "33287", - "2804:548::/32": "53005", - "2001:c20:48b6::/48": "3758", - "240e:980::/35": "58519", - "2803:6604:6801::/39": "28075", - "2a00:1be7::/32": "205005", - "2a01:ad00::/45": "51865", - "2408:8956:1fc0::/34": "17622", - "2408:8957:9100::/40": "17816", - "240a:a798::/32": "144594", - "240e:67f:8800::/38": "140330", - "2607:f3a0:a00a::/48": "399809", - "2a02:26f7:34::/48": "36183", - "2a02:26f7:e704::/48": "36183", - "2a0e:b107:320::/44": "207756", - "2603:c0f2:4000::/35": "6142", - "2801:11:1000::/48": "264633", - "2804:652c::/32": "269473", - "2a10:6b00::/29": "398559", - "2001:480:32::/47": "668", - "2001:4b20:100:57a::/61": "34288", - "2804:bac::/32": "262317", - "2804:4ae8::/32": "267271", - "2a00:9801::/32": "51178", - "2a0a:7d80:2::/48": "56740", - "2001:559:81f9::/48": "7922", - "240e:44d:6600::/41": "140345", - "2600:1001:f100::/44": "6167", - "2801:136::/46": "19429", - "2a00:4760::/32": "39217", - "2a04:b5c0::/29": "2611", - "2a0c:a9c7:1::/48": "12938", - "2402:800:5b9b::/42": "7552", - "2600:6c38:d0::/45": "20115", - "2804:47d4::/32": "267079", - "2804:60c0::/32": "269188", - "2a02:26f7:c38b::/45": "20940", - "2001:559:8494::/48": "7922", - "240a:ab6d::/32": "145575", - "240e:473:5720::/41": "140486", - "2804:7eb8::/32": "271643", - "2a0c:8fc1::/40": "34081", - "240a:a629::/32": "144227", - "2606:ae80:1c10::/44": "25751", - "2606:ae80:1c20::/43": "19834", - "2610:108:4000::/48": "13506", - "2620:13f:d000::/44": "398767", - "2a01:c8c0::/28": "25454", - "2a0e:b107:10f0::/44": "213105", - "240a:a013::/32": "142669", - "240e:44d:4600::/41": "140345", - "2a0a:e5c0:22::/48": "213081", - "2a0d:5c80::/29": "200899", - "2001:67c:2e54::/48": "200871", - "2607:f798::/32": "812", - "2620:119:501d::/46": "13443", - "2a05:4140:7::/44": "211604", - "2a02:26f0:8201::/39": "20940", - "2001:559:c2b4::/48": "7922", - "2400:a980:14fe::/47": "133515", - "2408:8256:317c::/48": "17816", - "240a:a59f::/32": "144089", - "240a:af0f::/32": "146505", - "240e:44d:f00::/41": "140345", - "2a01:9bc0::/29": "39686", - "2a0d:5c0::/29": "61317", - "2a0b:e45:1::/48": "205809", - "2001:67c:1440::/48": "44597", - "240a:ae39::/32": "146291", - "2606:7c80:100::/48": "40300", - "2800:370:46::/48": "28006", - "2804:32cc::/32": "265098", - "2804:487c:228::/45": "267124", - "2804:5df8::/32": "269004", - "2a01:8840:6d::/48": "207266", - "2001:559:8600::/48": "399141", - "2408:8956:21c0::/38": "17622", - "2409:8c50:a01::/32": "56047", - "240a:a57f::/32": "144057", - "2606:4700:3108::/48": "13335", - "2607:9e80:1101::/40": "397068", - "2607:fb28:10::/48": "29384", - "2400:5740::/32": "23953", - "2403:a340::/32": "134823", - "240a:afbf::/32": "146681", - "240a:a1d5::/32": "143119", - "240a:a412::/32": "143692", - "2a04:d480::/35": "25291", - "2a0e:b107:2f0::/44": "205908", - "2407:9802:f000::/29": "10139", - "240a:a98a::/32": "145092", - "240e:44d:6280::/41": "4134", - "2600:140f:2201::/39": "20940", - "2600:6c38:d14::/44": "20115", - "2401:9c00::/32": "23923", - "2401:d800:9c70::/40": "7552", - "2804:6478::/32": "53123", - "2a03:d200::/32": "56366", - "2602:ffd9:200::/40": "62874", - "2803:2180:10::/46": "27941", - "2a03:1d20::/32": "201704", - "2a03:75c0::/32": "197922", - "2a02:26f7:bec8::/48": "36183", - "240e:945:1000::/32": "4134", - "2a00:8740:1a::/45": "49037", - "2001:13d2:e801::/29": "7303", - "2401:3280:1000::/34": "133613", - "2404:bf00::/40": "9303", - "2605:a40a:9000::/34": "33363", - "2620:132:7000::/42": "19537", - "2801:b0:b4::/41": "52888", - "2804:f7c::/32": "262715", - "2804:2c3c::/32": "265205", - "2804:7c90::/32": "271504", - "2a02:dd8::/29": "8778", - "2a02:26f7:ca89::/42": "20940", - "2a02:45c0::/47": "59675", - "2a10:cc40:df3::/48": "20473", - "2c0f:f408:3::/32": "37684", - "2001:41f0::/32": "33915", - "240a:a4c6::/32": "143872", - "240a:aaf2::/32": "145452", - "2600:380:ac00::/41": "20057", - "2804:46cc::/32": "267012", - "2804:6a40::/32": "270322", - "240a:ac44::/32": "145790", - "2604:3d80:808::/48": "394302", - "2620:df:8000::/48": "30679", - "2620:11f:b006::/44": "394514", - "2001:678:ba8::/48": "207722", - "240a:a452::/32": "143756", - "2804:c48:4000::/36": "52687", - "2a00:1560::/45": "29684", - "240e:44d:5780::/41": "4134", - "2804:1a98::/32": "61870", - "2a01:c50e:9800::/38": "12479", - "240a:a86f::/32": "144809", - "2604:d600:1595::/44": "32098", - "2605:2b80::/32": "16832", - "2620:11a:1001::/48": "62840", - "2804:2568::/32": "264279", - "2804:3244:26::/47": "265066", - "2804:3a64::/32": "266086", - "240a:a421::/32": "143707", - "2602:fd80:2::/36": "53612", - "2604:95c0::/32": "20130", - "2620:49:8::/47": "16686", - "2a03:6400:40::/47": "11054", - "240e:473:6450::/39": "4134", - "240e:95c::/34": "58563", - "2605:a880:8000::/48": "46261", - "2a02:26f7:c380::/48": "36183", - "2a02:26f7:e241::/46": "20940", - "2001:559:82ac::/47": "7922", - "2804:43e8::/32": "267598", - "2001:43f8:7d0::/48": "37591", - "2409:8c15:2e00::/35": "9808", - "2600:1f70:e000::/40": "16509", - "2801:80:3520::/48": "268844", - "2a02:26f0:115::/48": "34164", - "2a0a:a000::/32": "200564", - "2001:559:8466::/48": "33287", - "2404:f4c0:1108::/48": "17920", - "2a0c:9a40:8088::/48": "43927", - "2400:9800:1c:5000::/33": "24203", - "2803:360::/32": "264773", - "2804:14d:9e87::/42": "28573", - "2001:559:259::/48": "33651", - "2402:800:5dd3::/44": "7552", - "240e:981:200::/40": "23724", - "2600:1016:b050::/40": "6167", - "2a06:ba80::/29": "50042", - "240a:aa31::/32": "145259", - "240a:aa7c::/32": "145334", - "240b:4003:12b::/45": "45102", - "2803:3140::/32": "27843", - "2a02:26f7:e188::/48": "36183", - "2404:de80:400::/40": "137443", - "2600:100e:bf1e::/33": "6167", - "2606:2800:700a::/45": "15133", - "2800:160:156a::/45": "14259", - "2a00:1100::/29": "51483", - "2001:438:fffd:11e::/64": "397601", - "2804:2408::/32": "52705", - "2a02:26f0:dd01::/34": "20940", - "2c0f:f7e8::/47": "62217", - "2001:c20:48aa::/47": "9255", - "2001:df3:7600::/48": "132060", - "2404:7180:b010::/48": "23848", - "2600:1417:78::/48": "9498", - "2604:c0c0:6000::/32": "14525", - "2a0b:4780::/29": "60129", - "2001:559:8393::/48": "7015", - "2801:140:144::/48": "262249", - "2803:3f40::/48": "264754", - "2a01:8d1::/26": "3209", - "2a02:26f7:11::/48": "20940", - "2001:4b98:aaaa::/47": "209453", - "2400:cb00:245::/46": "13335", - "2a0a:e202:8000::/48": "33438", - "2a0d:4d00:80::/48": "44794", - "2001:4888:a609::/45": "6167", - "2402:1440:200::/32": "132168", - "2604:8dc0:100::/38": "40474", - "2804:2804::/32": "263935", - "2a02:26f7:cc80::/48": "36183", - "2a06:ee01::/32": "27552", - "2a0b:6903:fdb::/48": "206873", - "2001:408:ff02::/40": "14793", - "2602:801:7000::/47": "397955", - "2801:1ca::/44": "3816", - "2804:5ad0:f000::/36": "268798", - "2602:ff98::/39": "63447", - "2a0c:a940::/29": "9009", - "2400:8500:7000::/36": "58791", - "240e:438:5e20::/43": "140647", - "240e:44d:5400::/41": "140345", - "2a00:cc40:3::/29": "44395", - "2a01:8840:52::/45": "12041", - "2a02:26f7:6b::/48": "20940", - "2a0b:b86:f8::/48": "3280", - "2c0f:e890::/32": "60171", - "2402:3a80:18::/47": "38266", - "2409:801f:3005::/46": "9808", - "240a:a3ae::/32": "143592", - "240a:aeac::/32": "146406", - "2607:8700:110::/46": "25820", - "2806:230:600f::/48": "11888", - "2803:1780::/32": "264646", - "2001:559:161::/48": "7725", - "2001:67c:10::/48": "60149", - "2405:55c0:40::/43": "63991", - "240e:473:c00::/41": "140485", - "2600:6c33:218::/48": "11351", - "2604:d600:102d::/43": "32098", - "2800:160:1769::/45": "14259", - "2804:297c:c400::/36": "262907", - "2806::/29": "6503", - "2a02:26f7:d1c5::/46": "20940", - "2606:2800:11f::/42": "15133", - "2804:22e4::/32": "264129", - "2a02:5f0::/32": "35320", - "2001:1330::/29": "11830", - "240a:aa81::/32": "145339", - "2600:33c0::/27": "397165", - "2a01:7d20:700::/40": "203645", - "2001:44b8:3089::/48": "4739", - "2620:95:4000::/45": "40138", - "2804:4dec::/32": "268228", - "2a00:f826:12::/31": "34549", - "2001:2013::/28": "1299", - "2402:800:517f::/40": "7552", - "2408:872f::/27": "4837", - "240e:3b3:6400::/35": "140312", - "2602:ff39::/40": "63318", - "2001:67c:1e8::/48": "49820", - "2001:44b8:1054::/47": "4739", - "2400:c540:81::/42": "59238", - "2408:8459:410::/41": "17622", - "2600:6c38:822::/44": "20115", - "2a03:6100:6101::/32": "34594", - "2001:550:502::/38": "174", - "2a0e:46c4:2400::/46": "211579", - "2604:5400::/35": "11776", - "2620:10:8000::/44": "18563", - "2a05:15c0::/29": "201600", - "2001:559:80c5::/46": "7922", - "240e:44d:680::/41": "4134", - "2602:fd92:600::/44": "38281", - "2a03:9180:4::/32": "199422", - "2605:fd00::/32": "15296", - "2804:2200:1103::/32": "264585", - "2001:fd8:2a1::/46": "4775", - "2604:8f80::/32": "22667", - "2804:3224::/32": "265059", - "2804:30b4::/32": "264970", - "2a01:8c40::/32": "8301", - "2001:559:57e::/48": "7922", - "2001:b400:f220::/37": "3462", - "2401:d800:5570::/40": "7552", - "2408:840c:9300::/40": "17621", - "240a:aa7a::/32": "145332", - "240e:1e:6000::/36": "140314", - "2804:7774::/32": "271179", - "2401:ee00:e1::/39": "23951", - "2801:1f:2800::/48": "19429", - "2c0f:fed8::/32": "22822", - "2001:559:9a::/45": "33651", - "2001:559:8473::/48": "33668", - "2402:800:92b7::/41": "7552", - "2408:8256:3977::/44": "17623", - "240e:473:ff01::/48": "140486", - "2605:a404:606::/40": "33363", - "2620:119:4014::/41": "7726", - "2001:b28:4::/48": "31500", - "240a:afea::/32": "146724", - "2600:1408:4c01::/35": "20940", - "2804:2fb0::/32": "264906", - "2001:1838:2008::/35": "23352", - "2400:dd01:3015::/44": "7497", - "240a:acbe::/32": "145912", - "2804:218::/40": "27715", - "2804:2650:d000::/34": "264340", - "2c0f:f748::/39": "37662", - "2401:d800:df60::/40": "7552", - "2404:8d02:4983::/37": "9587", - "2405:34c0:1::/45": "134316", - "2408:805c:5000::/32": "17816", - "2610:20:6b00::/40": "2648", - "2800:160:1566::/44": "14259", - "2a02:26f7:ea81::/46": "20940", - "2001:559:8120::/48": "19231", - "2804:113c::/32": "53181", - "2804:241c::/32": "264202", - "2804:404c:12::/41": "265950", - "2001:678:340::/48": "206480", - "240e:3bc:2800::/38": "4134", - "2a02:26f7:e445::/46": "20940", - "2001:67c:1108::/47": "198060", - "2405:7f00:3260::/48": "9716", - "240a:a813::/32": "144717", - "2804:3018::/32": "263020", - "2a06:6f07:ffff::/48": "197164", - "2a08:600:ff::/48": "206747", - "2408:8120:7000::/36": "9929", - "2a01:8340::/39": "59410", - "2a06:e881:2502::/48": "205908", - "2a09:79c0::/34": "208803", - "2a0d:8480::/46": "48282", - "2001:67c:1498::/48": "43455", - "2001:4b27:ffff::34/121": "34288", - "2800:98:1710::/36": "14754", - "2800:c00:2::/32": "18747", - "2806:230:100a::/48": "265594", - "2a02:e840:1003::/30": "15974", - "240e:5f:600b::/48": "140313", - "2600:1409:4000::/48": "35994", - "2a02:878:a::/48": "42632", - "2402:800:58d3::/44": "7552", - "2403:c300::/32": "24157", - "2a00:1c10:40::/44": "50300", - "2001:2000:6100::/32": "1299", - "2600:1fa0:50c0::/44": "16509", - "2602:801:5000::/40": "399477", - "2803:80::/35": "61317", - "2a0d:12c0:1000::/48": "205804", - "2001:500:125::/48": "396566", - "2001:df0:c280::/48": "64271", - "240a:a043::/32": "142717", - "2a01:20f::/32": "41666", - "2a0a:90c2::/35": "198912", - "2001:559:248::/48": "33668", - "240a:a255::/32": "143247", - "2806:31d::/32": "18734", - "2a02:26f7:f1c0::/48": "36183", - "2001:559:814b::/48": "33651", - "2001:559:c110::/48": "7016", - "2401:d800:24c0::/42": "7552", - "2408:8256:2d9f::/38": "17816", - "240a:ad10::/32": "145994", - "2605:e480::/32": "393398", - "2a0e:fd45:b00::/48": "213249", - "2409:8a7f::/24": "9808", - "240e:3b5:8200::/35": "140316", - "240e:3b6:f100::/36": "4134", - "2620:100:3010::/48": "23286", - "2804:3a5c::/32": "53174", - "2804:470c::/32": "267028", - "2a01:7ce0::/32": "62102", - "2001:500:94::/48": "33517", - "2001:559:87b1::/44": "7922", - "2409:8c44:801::/38": "24445", - "240e:978:f00::/40": "134769", - "2a03:7b40::/48": "30286", - "2409:8914:800::/39": "56044", - "2804:40b0::/32": "265975", - "2a03:efc0:1100::/40": "33438", - "2a0d:f540::/29": "56786", - "2a0f:cd80::/32": "208683", - "2001:44b8:403c::/47": "7545", - "240e:3b1:dc00::/34": "4134", - "2610:20:1030::/48": "209", - "2620:107:6000:1146::/53": "6462", - "2a0d:55c0::/29": "58011", - "2a04:7a00::/32": "6786", - "2001:678:6a0::/48": "207647", - "2001:f28::/32": "9644", - "2403:4800:1100::/40": "9714", - "2409:8b0c::/30": "56042", - "2602:fd91::/36": "399533", - "2804:188::/33": "262750", - "2a02:7040:ff02::/40": "199236", - "2a0f:25c0::/48": "207077", - "240a:a4bc::/32": "143862", - "2606:cd80::/48": "394727", - "2a03:1300::/32": "13214", - "2a06:3b80:30::/48": "200478", - "2a06:8400::/31": "198463", - "2a09:bac0:70::/45": "13335", - "2001:559:23e::/47": "7015", - "2001:12f0:7c0::/36": "1916", - "2407:16c0::/48": "135905", - "2408:8456:1000::/42": "17622", - "2a0e:fd45:40fa::/48": "7489", - "2404:6380:8001::/48": "18257", - "2606:2800:4212::/48": "15133", - "2a04:9a00:100e::/48": "202553", - "2a0f:a080::/29": "15391", - "2402:3a80:1760::/48": "38266", - "2620:56:c002::/44": "393279", - "2001:678:e48::/48": "61232", - "2600:1802:5::/46": "16552", - "2803:da00::/32": "52253", - "2a00:1cb8:2:4::/60": "12713", - "2001:450::/34": "3549", - "2001:67c:2648::/48": "13030", - "2a03:e842::/44": "43131", - "2a09:4c2:35::/41": "58057", - "2a09:1740::/29": "25582", - "2804:204:315::/42": "28186", - "2602:fe27:70::/48": "6473", - "2a0c:a9c7:166::/48": "45029", - "2001:57a:c00::/35": "22773", - "2a00:da8:fffb::/48": "6878", - "2a02:26f7:d54d::/46": "20940", - "2001:559:81fd::/48": "33491", - "2001:559:c0f6::/47": "21508", - "2604:4300:bf01::/33": "33387", - "2610:18:8104::/48": "22550", - "2801:12:2800::/48": "269972", - "2804:5bbc::/32": "268866", - "2800:b20::/35": "14754", - "2804:204:212::/44": "28186", - "2001:678:744::/48": "203660", - "2402:800:3755::/42": "7552", - "2600:6c38:c6::/47": "20115", - "2804:2a60::/42": "263089", - "2804:545c::/32": "268645", - "2a02:f784:20::/48": "25252", - "2a0c:1700::/47": "205112", - "2001:44b8:30e0::/48": "7545", - "2401:5100::/32": "38442", - "2600:1007:c04::/32": "22394", - "2806:2f0:8021::/46": "17072", - "2001:14a8::/32": "15547", - "2404:6ac0::/32": "138619", - "2a02:26f7:f708::/48": "36183", - "2a06:e881:7700::/40": "212024", - "2001:510:131::/38": "376", - "2001:67c:2eac::/48": "211060", - "2400:c400:a001::/31": "45570", - "2001:559:11::/48": "7015", - "240a:adda::/32": "146196", - "2610:20:5002::/48": "5744", - "2800:ba0:6a::/48": "263812", - "2a03:a320::/32": "203457", - "2001:4210:290a::/35": "25818", - "240a:ae1b::/32": "146261", - "2804:1414::/32": "263311", - "2a02:4620::/32": "3303", - "2a06:8782::/32": "3624", - "2405:3740:8004::/44": "38526", - "2407:8000:14:200::/31": "9381", - "2a03:9c00:d::/48": "41732", - "2001:559:15a::/48": "7725", - "2600:9000:108c::/48": "16509", - "2803:f8c0::/32": "264750", - "2a01:b940::/30": "48635", - "2c0f:f908::/32": "25429", - "2403:89c0:3::/32": "55824", - "2600:1419:b401::/36": "20940", - "2607:fdf8:dd::/38": "13649", - "2801:1a:4800::/48": "269790", - "2804:7f4::/31": "18881", - "2804:1bc4::/32": "61748", - "2a02:970:1207::/44": "44002", - "240e:3b1:7800::/39": "4134", - "240e:97a:2d00::/48": "23650", - "2602:fd31::/36": "398568", - "2800:440:9600::/42": "27738", - "2a02:970:1246::/44": "44002", - "2001:67c:21c::/48": "51090", - "2400:7400:e019::/48": "23736", - "2600:803:1201::/29": "701", - "2c0f:f608:f200::/40": "21351", - "2001:559:2da::/48": "33652", - "2804:1128::/32": "263661", - "2a09:3340::/29": "209509", - "2001:559:c0c0::/48": "7016", - "240a:a146::/32": "142976", - "2603:c002:350::/36": "31898", - "2804:1380:6::/39": "263536", - "2001:44b8:2040::/47": "7545", - "2401:c500:fd00::/48": "54994", - "2607:fe70::/32": "11170", - "2a0c:f040::/48": "51765", - "2001:678:c74::/48": "8881", - "2408:8409:6c00::/40": "4808", - "2602:fed2:fe0::/44": "53356", - "2a0a:6500::/48": "60742", - "2c0f:ff00::/32": "14988", - "2620:112:4000::/47": "36204", - "2803:9620::/34": "265865", - "2804:44e8:101::/38": "267660", - "2a06:3e87::/32": "198507", - "2402:800:fd90::/42": "7552", - "2406:daa0:80a0::/44": "16509", - "2409:8c39::/25": "9808", - "2804:14c:5971::/40": "28573", - "2804:3650::/32": "266341", - "2804:4544:b000::/40": "266915", - "2a02:24c8:c000::/34": "39228", - "2600:1901:ffd0::/44": "15169", - "2602:fd80::/47": "53612", - "2604:d600:689::/43": "32098", - "2620:116:800a::/48": "16509", - "2a0e:bf00:161::/31": "202539", - "2001:559:1cf::/48": "33660", - "2600:1805:ff11::/48": "16552", - "2602:ff65:cb::/36": "33083", - "2a0d:3584:1111::/48": "200303", - "2001:559:75a::/48": "7922", - "2602:feda:b70::/48": "212705", - "2a06:1301:4100::/48": "203004", - "2409:8d14:1400::/38": "56044", - "240a:a084::/32": "142782", - "2a03:7380:6000::/41": "13188", - "2001:df0:1800::/48": "23642", - "240b:4003:fc00::/48": "45102", - "2607:faa0::/32": "11924", - "2a03:8860::/32": "200931", - "2a05:5940::/29": "42632", - "2400:cb00:a742::/45": "13335", - "2605:6dc0::/32": "394838", - "2001:559:8670::/48": "33660", - "2001:1810:9980::/48": "30447", - "2402:e380:113::/45": "139073", - "2603:c012:4000::/36": "31898", - "2607:6480:4000::/35": "395337", - "2a02:7c0::/32": "34816", - "2a0c:93c0:10::/44": "212465", - "240e:3b5:4c00::/35": "136200", - "2602:fcce:b2::/41": "399200", - "2804:16d8:8000::/34": "262729", - "2a02:26f7:79::/48": "20940", - "2a0d:b00:2901::/48": "205862", - "2607:e400::/34": "7459", - "2804:bb0:8000::/33": "52808", - "2001:550:6c04::/48": "26824", - "2001:678:d9c::/48": "3303", - "2401:ff80:110d::/46": "133954", - "2804:66cc::/32": "269583", - "2a04:d940::/29": "41887", - "2001:df5:9980::/48": "140766", - "240a:ad36::/32": "146032", - "2804:724::/32": "28310", - "2804:cf8:3::/48": "52580", - "2804:1088::/32": "52913", - "2a00:5ec0::/32": "197581", - "2a02:e30:f030::/48": "199410", - "2c0f:ec80::/32": "37315", - "2405:800:a::/35": "7545", - "2801:80:2e00::/40": "267976", - "2804:b4:9000::/33": "28294", - "2804:1b50::/32": "61719", - "2804:52ec::/32": "268550", - "2a03:2880:f022::/43": "32934", - "2404:bf40:e800::/48": "7545", - "2804:145c:8090::/39": "263327", - "2a02:970:471::/35": "44002", - "2a07:b400::/29": "14576", - "2001:1410::/32": "25538", - "2800:160:1164::/44": "14259", - "2a00:7f80::/29": "48585", - "2a01:288:4005::/46": "8717", - "240a:a5af::/32": "144105", - "240a:a92f::/32": "145001", - "2604:9200::/32": "36687", - "2804:4d3c:1e20::/33": "267420", - "2a03:a200::/32": "43451", - "2a0d:5600:33::/48": "63473", - "2401:4900:4e40::/42": "45609", - "2600:1000:b000::/41": "6167", - "2806:2f0:32c1::/42": "17072", - "2a01:298:f002::/31": "30880", - "2001:559:149::/46": "33287", - "2001:559:52d::/48": "7725", - "2401:d800:7e0::/36": "7552", - "2405:8d40:a07::/48": "139831", - "2607:ff30:1110::/48": "237", - "2a02:88::/32": "8240", - "2404:a140:a::/45": "138915", - "2804:5ab8::/32": "268791", - "2404:7cc0:7f04::/47": "10100", - "2405:204:f000::/31": "55836", - "2a02:26f7:5e::/48": "36183", - "2001:43ff::/48": "328813", - "240e:473:4b50::/40": "4134", - "2a02:26f0:8b01::/37": "20940", - "2a02:26f7:bd88::/48": "36183", - "2804:485c::/32": "267116", - "2001:16a2:b216::/36": "39386", - "2402:800:fb10::/42": "7552", - "240e:3bd:ac00::/35": "4134", - "2600:1419:6400::/48": "35994", - "2602:ffc5:110::/44": "40676", - "2804:2eb0:fc43::/38": "265359", - "2804:4718::/32": "267031", - "2a03:b040::/32": "60981", - "2001:ab7:f000::/36": "15594", - "2405:cc40::/32": "135690", - "2604:5f00::/32": "10755", - "2806:310:18::/46": "16960", - "2a02:ab0::/29": "42346", - "2c0f:f020::/46": "327907", - "240a:a09e::/32": "142808", - "2a02:26f7:d345::/46": "20940", - "2a02:26f7:ec08::/48": "36183", - "2a0d:c000::/29": "205345", - "2001:468:280a::/43": "11537", - "240e:228::/25": "4134", - "2604:8d40::/32": "23260", - "2607:fb90:dd00::/38": "21928", - "2806:363:2000::/35": "22566", - "2a02:58::/32": "25596", - "2a05:4180::/29": "201436", - "2001:559:5ff::/48": "7016", - "2001:de4::/48": "131621", - "2620:10a:80e8::/46": "55195", - "2803:980::/39": "263248", - "2a09:d2c1:9::/48": "207530", - "2001:559:312::/48": "33287", - "2001:5b0::/39": "6621", - "2001:1938:2203::/39": "33438", - "240e:63:3000::/33": "140312", - "240e:473:2000::/41": "140485", - "2600:1004:b200::/44": "6167", - "2607:fda8:800d::/33": "6128", - "2001:1bc8::/29": "29422", - "2400:3980::/32": "2497", - "240a:a686::/32": "144320", - "2804:5728::/32": "268048", - "2a0b:e181:400::/38": "198605", - "2a00:f080::/42": "13030", - "2406:57c0:128::/47": "134672", - "2408:8256:3680::/48": "17816", - "2600:1406:cc01::/35": "20940", - "2604:9100::/36": "29944", - "2604:d2c0::/32": "12131", - "2604:fe00::/32": "30517", - "2605:47c0::/32": "397589", - "2a0a:ab00::/29": "25057", - "2001:67c:2090::/48": "8787", - "2001:ee0:3020::/39": "45899", - "2400:d280::/44": "45648", - "2804:5800::/32": "52843", - "2a02:26f7:cccd::/42": "20940", - "2a02:26f7:f408::/48": "36183", - "2a0d:f802::/32": "20278", - "2408:81a3:ca66::/48": "140707", - "240a:ae5e::/32": "146328", - "2606:fe80:20::/44": "12180", - "2a02:26f7:bc06::/47": "20940", - "2605:1f00::/32": "14335", - "2804:5f2c::/33": "269081", - "2a01:baa0::/38": "57795", - "2a02:26f7:28::/48": "36183", - "2804:1918:180::/46": "52862", - "2804:5164::/32": "268449", - "2a01:d8:8::/48": "43489", - "2001:df5:b900::/48": "131418", - "2001:1980:2300::/37": "29838", - "2405:4500:e::/32": "9671", - "240e:473:2950::/40": "4134", - "2804:954:2000::/32": "263073", - "2a09:2944::/31": "207996", - "2001:559:311::/48": "33491", - "2001:1a11:d6::/47": "8781", - "2403:c00:3::/48": "9498", - "2605:a401:889d::/41": "33363", - "2606:a400::/32": "11922", - "2620:1e8:3::/45": "29802", - "2a02:73a0:70::/48": "201895", - "2001:579:9104::/40": "22773", - "2402:6800:741::/43": "22822", - "2a02:26f0:1901::/40": "20940", - "2a02:26f7:efc9::/42": "20940", - "2001:559:764::/48": "33659", - "240a:abea::/32": "145700", - "2804:20a4::/32": "264503", - "2a01:358:4b11::/35": "9121", - "2a02:26f0:bd01::/33": "20940", - "2a06:a800::/29": "203818", - "2a03:47c0:20c1::/39": "21277", - "2402:3640::/32": "137248", - "2402:8100:13::/48": "55644", - "240a:aaf0::/32": "145450", - "2600:e00f:4009::/36": "22995", - "2804:218:e002::/35": "27715", - "2804:2b34::/32": "265140", - "2a02:26f7:1f::/48": "20940", - "2001:67c:1300::/48": "1836", - "2402:ef3f:2::/48": "9430", - "2450:1740:1::/48": "140079", - "2804:2174::/32": "264555", - "2a0f:f780::/29": "60262", - "2001:559:8303::/45": "7015", - "2001:c20:c83f::/41": "9255", - "240e:473:9200::/41": "140485", - "2605:ed00:4c63::/48": "11351", - "2a03:5f00:1000::/48": "207044", - "2001:559:5c6::/48": "33287", - "2001:df0:d780::/48": "139288", - "2402:800:5a47::/43": "7552", - "2620:134:c000::/48": "394887", - "2803:db40::/47": "64100", - "2600:1419:9c01::/34": "20940", - "2620:13f:3019::/40": "46842", - "2804:24b0::/38": "264238", - "2804:2cb8:40::/32": "265239", - "240a:a2fe::/32": "143416", - "240e:3b0:7a00::/32": "140313", - "2804:3548::/32": "266279", - "2a06:c5c0:900::/48": "44709", - "2c0f:ffc8::/33": "22355", - "2001:6f0::/33": "1257", - "2402:800:36d3::/44": "7552", - "2402:1500:8000::/33": "25222", - "2c0e:7f80::/38": "36974", - "2001:559:7a6::/48": "7922", - "2402:a340::/32": "10200", - "2408:80f9:4000::/34": "4837", - "240a:a544::/32": "143998", - "2607:2c00::/32": "14265", - "2607:f208:df05::/48": "21499", - "2804:3dac::/39": "266546", - "2406:f400:130::/44": "38001", - "2602:fcf6:107::/36": "51999", - "2804:39c:6000::/32": "28329", - "2a09:be40:4700::/40": "209077", - "2c0f:f400:10fe::/47": "3741", - "2401:c000::/32": "24323", - "2409:8020:10b1::/41": "56046", - "240a:ab5f::/32": "145561", - "2605:a404:b88::/42": "33363", - "2620:7f:a000::/48": "62827", - "2604:e180:1006::/33": "55002", - "2804:5fdc::/35": "269128", - "2403:7f40:e000::/48": "211622", - "2804:314:4032::/32": "61568", - "2a05:1c47::/32": "201594", - "2001:67c:64c::/48": "47846", - "2001:1960:100::/40": "32587", - "2600:9000:2245::/44": "16509", - "2a02:26f0:9700::/48": "6762", - "2001:7f0:4021::/29": "13237", - "2001:4878:4246::/48": "12222", - "2600:1011:b170::/33": "6167", - "2602:fcff:12::/48": "57164", - "2804:6ac8::/32": "270358", - "2a02:26f7:d38a::/42": "20940", - "2a02:26f7:de0c::/48": "36183", - "2806:2f0:91a2::/41": "17072", - "2001:579:cd80::/38": "22773", - "2404:6900:2012::/48": "394749", - "2409:8c18::/31": "134810", - "2600:1012:b030::/44": "22394", - "2600:1419:11::/46": "20940", - "2604:6600:2608::/39": "40676", - "2804:e0c:180::/48": "28176", - "2a06:d001::/30": "47725", - "2600:1003:b4d0::/44": "6167", - "2610:100:2010::/37": "8047", - "2a02:26f7:f3c9::/46": "20940", - "2001:500:8c::/48": "20144", - "240a:a275::/32": "143279", - "2a02:26f7:ba44::/48": "36183", - "2a02:50a0::/32": "201787", - "2001:559:5c8::/48": "33668", - "240a:a2b4::/32": "143342", - "2a0b:3100::/39": "12859", - "2001:559:70a::/48": "33659", - "2001:559:830e::/48": "33659", - "2001:4878:2037::/44": "12222", - "2403:300:1cf2::/44": "714", - "2404:7f40::/48": "138645", - "2602:fed2:710e::/48": "20473", - "2604:d500::/32": "54098", - "2a02:ee80:406d::/43": "3573", - "2408:8456:a840::/38": "17816", - "2600:6c38:d19::/45": "20115", - "2605:3a40:2::/44": "6233", - "2607:f928:17::/33": "22645", - "2800:9a7:3070::/32": "14522", - "2804:2b10:5::/46": "52916", - "2804:3dc4::/34": "266552", - "2a04:940:2::/35": "51407", - "2402:800:5eee::/43": "7552", - "2407:4340::/32": "142014", - "2607:f208:209::/48": "26496", - "2401:ff80:1891::/46": "133954", - "2408:8256:358f::/48": "17816", - "240a:a18c::/32": "143046", - "240a:a1f6::/32": "143152", - "240a:ac1a::/32": "145748", - "2606:6080:1004::/48": "32489", - "2804:4ec:1100::/38": "28668", - "2a0a:4540:220::/48": "16509", - "2001:559:30c::/48": "7922", - "240a:a100::/32": "142906", - "2602:feda:ae1::/48": "140506", - "2605:7900:20::/48": "19133", - "2804:5474::/45": "268651", - "2a00:f46:10::/36": "21395", - "2a02:1390:f000::/40": "21351", - "2a0b:b600:1000::/38": "60404", - "2001:579:e03c::/41": "22773", - "240a:a6cf::/32": "144393", - "2602:fcc9:777::/48": "32505", - "2800:320:8003::/48": "27882", - "2804:2050:2abd::/35": "264485", - "2804:6554::/32": "269483", - "2a02:26f7:c044::/48": "36183", - "2001:df4:b400::/48": "17701", - "2402:3a80:1b30::/41": "38266", - "2600:40f0:100::/44": "3369", - "2a02:26f7:e580::/48": "36183", - "2001:44b8:30e5::/44": "7545", - "2406:a3c0::/32": "37922", - "2800:160:192d::/43": "14259", - "2804:6ae8::/32": "270365", - "2a0a:340:200::/40": "48651", - "2a0e:fd45:da2::/47": "44103", - "2001:678:97c::/48": "49697", - "2405:1c0:6435::/41": "55303", - "240e:3bc:ec00::/35": "140314", - "2800:160:12b1::/44": "14259", - "240a:aeaa::/32": "146404", - "2803:980:e00::/32": "263248", - "2804:13a8::/32": "263544", - "2804:3920:8000::/36": "266013", - "2804:63a8:818::/35": "269375", - "2a03:8fa0:1000::/36": "17819", - "2a0e:aa07:f0e0::/44": "208680", - "2001:df2:2e00::/48": "135421", - "2405:4200::/38": "24482", - "2405:84c0:ff3e::/48": "139782", - "2801:1b2::/44": "14080", - "2804:f8c:8890::/37": "263591", - "2a02:26f7::/48": "36183", - "2a02:26f7:8c::/48": "36183", - "2a03:8e20::/32": "211713", - "2001:67c:13a4::/48": "209579", - "2001:1248:9895::/46": "11172", - "240a:a64c::/32": "144262", - "240e:37c:ac00::/31": "4134", - "2600:1000:be00::/44": "6167", - "2620:104:2031::/46": "40185", - "2a0c:8b40::/29": "42908", - "2001:4c5c::/30": "13119", - "2402:b400:4608::/42": "45960", - "2804:3830::/32": "266463", - "2001:a00::/32": "41437", - "2001:1218:601e::/47": "278", - "2605:a900:3014::/42": "46887", - "2606:b600:104::/48": "12167", - "2607:f750:d00::/40": "23473", - "2804:5d78::/36": "268974", - "2806:2f0:322::/45": "22884", - "240e:3bc:1400::/38": "134773", - "2a0b:6b83:4243::/32": "202562", - "2001:559:59a::/45": "33659", - "240a:a048::/32": "142722", - "2607:fed8::/32": "36416", - "2800:160:11c2::/44": "14259", - "2800:1e0:e02::/39": "7195", - "2804:7784::/32": "271183", - "2a04:fac0::/29": "212859", - "2400:c800::/39": "4515", - "2401:8180::/32": "24341", - "2804:23ec::/32": "21574", - "240a:a161::/32": "143003", - "2603:b0e0:bef0::/33": "11796", - "2804:f8:8003::/33": "53147", - "2a01:1b8::/45": "1257", - "2a0b:9401::/32": "209505", - "2620:11b:400a::/47": "47870", - "2a02:26f7:f548::/48": "36183", - "2a03:dc0::/32": "61428", - "2401:d800:dae0::/39": "7552", - "2405:1c0:6235::/41": "55303", - "2605:2340::/32": "393898", - "2607:8700:109::/48": "25820", - "2804:2488:11::/34": "264228", - "2001:1900::/34": "3356", - "2406:d500:9::/48": "136557", - "2a02:26f7:52::/48": "36183", - "2a02:26f7:f1c5::/46": "20940", - "2001:559:42::/48": "7922", - "2401:4900:5d10::/41": "45609", - "2620:121:5070::/48": "14618", - "2804:1878:192::/45": "61935", - "2a10:b680::/32": "44486", - "2001:559:84b2::/48": "7922", - "2403:eb40:1001::/34": "138418", - "240a:a240::/32": "143226", - "240a:a9ff::/32": "145209", - "2600:1406:4201::/37": "20940", - "2604:7480::/47": "54826", - "2610:170::/32": "11260", - "2408:8956:6700::/40": "17816", - "2800:110:3400::/48": "28068", - "2405:1c0:6861::/45": "135062", - "2402:e380:312::/48": "139073", - "2804:36c4::/32": "266370", - "2a0c:b641:73b::/45": "207338", - "2001:559:4e9::/48": "33651", - "2001:880::/32": "24973", - "2402:3180::/48": "141706", - "2409:8904:62b0::/39": "24547", - "2600:140b:7001::/38": "20940", - "2803:9040::/32": "264821", - "2602:feda:d40::/44": "38136", - "2a02:26f7:e684::/48": "36183", - "2001:7f8:f::/48": "6895", - "2403:7900::/32": "1851", - "240a:a06a::/32": "142756", - "240a:a37e::/32": "143544", - "2600:1407:c01::/35": "20940", - "2606:2800:4214::/44": "15133", - "2a04:3f80::/30": "9120", - "2402:e000:5380::/41": "24499", - "2408:84f3:3690::/36": "17816", - "240a:add3::/32": "146189", - "2620:74:29::/46": "396570", - "2803:4e0::/32": "262213", - "2a02:26f7:c7c8::/47": "36183", - "2a05:e581::/29": "63399", - "2001:559:8068::/48": "33657", - "2401:7400:2ff::/36": "4773", - "2409:804b:2b09::/32": "24445", - "240e:44d:800::/41": "140345", - "2804:d1c::/32": "52600", - "2a02:2838::/32": "31264", - "240e:44d:1d80::/41": "4134", - "2600:1419:1c::/38": "20940", - "2604:d700::/32": "53824", - "2605:4200::/32": "14543", - "2620:111:d002::/47": "18841", - "2a01:111:4005::/36": "8075", - "2001:559:3ce::/48": "33668", - "2001:978:8e01::/39": "174", - "2001:758::/32": "35393", - "2001:1248:9b0d::/42": "11172", - "2408:8957:a00::/40": "17622", - "240a:ada8::/32": "146146", - "2604:d600:170c::/43": "32098", - "2806:230:6032::/48": "265594", - "2a00:79a0::/36": "60771", - "2404::/35": "17709", - "2a00:5cc0::/32": "31692", - "2409:805e:3100::/36": "9808", - "2605:a401:8068::/46": "33363", - "2800:940::/36": "27953", - "2a01:5b0:2e::/48": "50611", - "2a02:888:de::/39": "47794", - "2001:44b8:30e1::/45": "4739", - "2600:1409:7000::/48": "35994", - "2606:e480:4800::/32": "55083", - "2a0a:d6c0:efef::/48": "61423", - "2a11:4c00::/29": "43624", - "2a09:4e00::/30": "208861", - "2001:67c:1d4::/48": "2043", - "2001:dc7:fffe::/47": "24406", - "2001:1a68:7::/48": "42503", - "2001:41a8:604::/48": "34164", - "2800:88::/44": "26210", - "2804:e70::/32": "262955", - "2804:70d4::/34": "270751", - "2a0e:b107:9d0::/46": "213262", - "2401:14c0:d::/42": "136531", - "2620:22:c000::/48": "55196", - "2a01:8080::/32": "48161", - "2401:ff80:1609::/46": "133954", - "2600:141b:7001::/37": "20940", - "2605:9500:212::/47": "14244", - "2607:f750:6000::/40": "23473", - "2620:10a:80e3::/45": "55195", - "2804:e94:660::/43": "262468", - "2a02:ff0:3d00::/40": "12735", - "2605:bc0:2134::/48": "54201", - "2804:7d00::/32": "271532", - "2405:9800:15::/41": "45430", - "2a05:1084:7500::/32": "59598", - "2a0b:3d00::/30": "48152", - "2001:678:ea0::/48": "48992", - "2001:4840::/32": "7029", - "2401:4900:4900::/43": "45609", - "2604:4d40:6c::/47": "213073", - "2804:14d:8088::/43": "28573", - "2a02:26f7:c348::/46": "36183", - "2a09:2dc1::/32": "43641", - "2001:57a:f201::/48": "54275", - "240a:ab5d::/32": "145559", - "240e:108:1112::/42": "4134", - "2a02:1748::/32": "51184", - "240a:acab::/32": "145893", - "2606:8d00::/32": "36327", - "2a02:26f7:f845::/46": "20940", - "240a:aef5::/32": "146479", - "2806:2f0:3341::/42": "17072", - "2001:57a:7008::/32": "22773", - "2408:8459:bc30::/41": "17622", - "2803:3e0::/32": "270062", - "2804:e40::/32": "262947", - "2804:34b8::/32": "265475", - "2001:678:9c0::/48": "50030", - "2600:1007:f000::/45": "6167", - "2804:4400::/32": "267615", - "2804:725c::/32": "262506", - "2a02:e38:8100::/40": "14616", - "2a03:c140::/29": "13101", - "2a09:be40:3680::/44": "212276", - "2401:4900:2150::/42": "45609", - "240a:ad5c::/32": "146070", - "2a02:26f7:c248::/48": "36183", - "2a02:26f7:c289::/42": "20940", - "2605:aa40:103::/48": "395394", - "2804:4a30::/32": "267223", - "2a02:25e0:7700::/40": "41691", - "2804:5e8c::/32": "269040", - "2404:fd00::/44": "58552", - "240a:a04b::/32": "142725", - "2602:fd01::/36": "23483", - "2604:2700::/39": "32181", - "2607:f148:1000::/34": "11734", - "2607:f390:7200::/39": "17244", - "2620:104:a00d::/46": "26008", - "2a00:eb9::/32": "16083", - "2001:67c:164::/48": "49866", - "2404:55c0::/32": "17831", - "2406:c700::/32": "9358", - "240a:a583::/32": "144061", - "240e:788::/29": "4812", - "2803:2e40:102::/44": "27796", - "2001:df6:c880::/48": "136906", - "2409:8020:3074::/36": "56046", - "2607:f250:d004::/48": "7046", - "2607:f9f0::/32": "14492", - "2804:2744::/32": "263888", - "2c0f:f5c0:403::/41": "29465", - "2001:559:c0f8::/48": "33659", - "2a02:cb80:4220::/45": "43766", - "240e:109:8021::/48": "4811", - "2a00:1768::/33": "43350", - "2620:118:8010::/48": "40885", - "2804:452c::/32": "262529", - "2a02:2e00:2000::/36": "12479", - "2a0a:7e00::/29": "61317", - "2a0d:d1c0::/32": "209582", - "2600:1a0e:4000::/36": "10307", - "2804:ae0:2c01::/32": "28352", - "2a00:6240::/32": "198354", - "2a02:26f7:e004::/48": "36183", - "2001:678:ea8::/48": "209295", - "2407:9300:1::/45": "58765", - "2001:67c:2b0::/48": "29432", - "2406:840:1010::/48": "139317", - "2408:84f3:a240::/37": "17816", - "2600:40f0:1120::/44": "7046", - "2607:f408:1010::/45": "19871", - "2a10:f300::/29": "212263", - "2a0c:a400::/29": "34907", - "2001:559:dc::/48": "7016", - "2406:9dc0:1012::/48": "141747", - "240a:a134::/32": "142958", - "2804:2dc8::/32": "265303", - "2804:45f0::/32": "266956", - "2a02:3e8::/32": "43646", - "2a02:20c8:2570::/32": "50304", - "2400:addb:800::/39": "9541", - "240e:3b0::/35": "134773", - "2607:f3a0:1a::/35": "23342", - "2800:160:1435::/46": "14259", - "2804:2e04::/32": "265318", - "2a00:1580:3::/30": "39010", - "2a02:2aa0:111::/44": "702", - "240a:a3a2::/32": "143580", - "2602:ff96:6::/48": "26548", - "2804:4b08::/32": "267279", - "2a0d:77c7:792d::/32": "7489", - "2a01:ad40::/32": "198781", - "2a02:6722::/32": "44234", - "2a03:5f00:1001::/32": "29644", - "2001:678:60::/48": "42", - "2001:67c:2460::/48": "3246", - "2605:a401:8141::/45": "33363", - "2606:5d80::/32": "32613", - "2620:1ec:90c::/48": "8068", - "2a02:26f7:db84::/48": "36183", - "2a05:fb80::/29": "31317", - "2001:559:82d1::/48": "7015", - "2620:11e:3010::/44": "19541", - "2800:160:1b3c::/46": "14259", - "2804:702c::/32": "262909", - "2a00:1dd0::/29": "719", - "2a0e:2980:2::/48": "34568", - "2001:559:8644::/48": "7922", - "240a:ae58::/32": "146322", - "2800:160:10ab::/43": "14259", - "2806:230:101c::/48": "265594", - "2001:4878:b010::/48": "12222", - "2409:8907:7d20::/38": "24547", - "2602:fe67::/36": "40646", - "240e:473:8f50::/40": "4134", - "2600:1000:9e00::/44": "6167", - "2804:7f34:110::/32": "271673", - "2a00:61a0::/32": "60205", - "2a0a:1c40::/29": "198024", - "2001:400:211:52::/58": "293", - "2408:8346::/35": "140726", - "2804:2de8::/32": "265311", - "2a02:26f7:f881::/46": "20940", - "2001:998:83::/29": "719", - "240a:acf4::/32": "145966", - "2600:6000:f5d5::/48": "11351", - "2a02:26f7:d185::/46": "20940", - "2a03:1ea0::/32": "201714", - "2001:550:5500:1::/38": "174", - "2409:8c28:7de1::/32": "56041", - "2606:4700:8ca0::/44": "13335", - "2a02:26b0:8000::/48": "42910", - "2408:8256:3976::/48": "17816", - "2a02:b8::/38": "25273", - "2a0c:3500:1::/48": "51201", - "2001:559:82ec::/48": "33659", - "2001:1670::/32": "28885", - "240e:473:a000::/41": "140485", - "2603:b010:2000::/33": "11796", - "2605:b000::/32": "33361", - "2408:840d:d200::/42": "17621", - "2804:1e2c:200::/40": "264412", - "2804:5dc4::/32": "268991", - "2a02:ee80:416a::/43": "3573", - "2001:559:86b8::/47": "7922", - "2407:5d80::/32": "59362", - "2804:588c::/32": "268135", - "2a11:fc0::/29": "210767", - "2a03:a860:17::/44": "34587", - "2001:7d0::/32": "3249", - "2001:49f0:d097:8000::/44": "174", - "2400:c700:11::/40": "55644", - "2405:7f00:ae40::/40": "133414", - "2600:6000:f0cb::/48": "11351", - "2803:980:b00::/37": "263248", - "2a01:190:15f::/48": "51454", - "2a10:1e40::/29": "206173", - "2408:8456:6a40::/39": "17816", - "2600:1007:9100::/44": "6167", - "2605:3e00::/32": "13706", - "2620:100:d000::/47": "33419", - "2a02:26f7:1b::/48": "20940", - "2a02:d180::/29": "39090", - "2c0f:f390::/32": "37356", - "2001:559:c155::/48": "33651", - "240e:438:1840::/38": "4134", - "2408:8956:e000::/40": "17622", - "2001:c20:4888::/46": "3758", - "2406:eb00:208::/47": "132653", - "2a10:9980:254::/48": "39110", - "2606:2800:4a4c::/46": "15133", - "2620:11e:f001::/44": "27644", - "2804:cd4::/32": "52558", - "2804:7be8::/32": "271462", - "2804:18:5010::/42": "26599", - "2a02:26f7:4c::/48": "36183", - "2401:d800:b770::/40": "7552", - "2600:6c38:12a::/45": "20115", - "2801:16:c800::/48": "19429", - "2804:808::/32": "16735", - "2a02:2400::/32": "29263", - "2a06:71c0::/29": "203968", - "2001:468:2611::/44": "11537", - "2001:dce:3::/48": "133532", - "2407:6e00:1::/48": "17987", - "2409:8c85:aa39::/41": "9808", - "2600:1404:5::/48": "35994", - "2602:fd10:820::/44": "398795", - "2607:f4e8:6::/44": "22822", - "2001:559:81aa::/48": "7015", - "2604:880:54::/48": "29802", - "2803:4be0::/32": "270078", - "2804:318c:ff02::/40": "265023", - "240a:ac17::/32": "145745", - "2607:800::/32": "26794", - "2806:268:2302::/37": "13999", - "2a04:c00::/29": "41400", - "2001:67c:19d0::/48": "43770", - "240a:a153::/32": "142989", - "2602:ff16:10::/46": "29802", - "2607:ffd0:700::/36": "26994", - "2804:1764::/32": "263143", - "2804:3940::/32": "266021", - "2804:7c5c::/32": "271491", - "2607:fd48:fff0:1046::/44": "13536", - "2804:3cd0::/32": "266236", - "2a00:6901:c005::/48": "20926", - "2600:6c38:187::/44": "20115", - "2606:3f80::/32": "394102", - "2a02:582:1c00::/33": "6799", - "2a0b:6380::/29": "206318", - "2001:559:8588::/48": "33491", - "2407:2c0::/48": "140775", - "240a:a73a::/32": "144500", - "2600:1415:b::/43": "20940", - "2804:4250::/32": "267492", - "2804:4b1c::/32": "267284", - "2001:67c:2e38::/48": "31424", - "240e:3be:d000::/36": "134772", - "2a0a:4587:2010::/32": "29670", - "2001:579:18cc::/39": "22773", - "2001:678:40::/48": "25354", - "2607:f6f0:4005::/40": "29884", - "2a06:1280:aee2::/33": "61138", - "2001:df0:86::/48": "18055", - "2001:1a11:f7::/48": "8781", - "2604:d600:566::/43": "32098", - "2806:230:5009::/48": "11888", - "2a02:5560::/32": "60130", - "2001:43f8:10f0::/48": "328280", - "2405:7cc0::/32": "139792", - "240e:473:a450::/39": "4134", - "2602:ffb0:7::/48": "20473", - "2610:f0:37f::/40": "22925", - "2804:448c::/32": "267638", - "2a0f:9400:100::/46": "59893", - "2001:16d8:8f0::/44": "16150", - "240a:a3e2::/32": "143644", - "2800:5f0::/45": "22724", - "240c:4000::/24": "38365", - "2600:1003:9010::/40": "22394", - "2607:f740:e630::/46": "63911", - "2804:7ca8::/32": "271510", - "2a0a:ad80::/29": "60670", - "240a:ac79::/32": "145843", - "2804:135c::/32": "263530", - "2804:7a24::/32": "271350", - "2a02:d480::/38": "680", - "2408:8957:8600::/40": "17622", - "2610:a1:1014::/48": "397218", - "2804:2b8c::/32": "265159", - "2a04:5b80:200::/48": "202265", - "2a0e:b107:1370::/44": "211267", - "2001:1248:9719::/46": "11172", - "2a0a:56c4:8301::/48": "42649", - "2001:559:78e::/48": "7922", - "2001:df3:d780::/48": "139605", - "2c0f:6a00::/32": "328829", - "240e:967:800::/37": "133774", - "2605:a7c0:121::/44": "16509", - "2607:f360::/39": "32592", - "2804:aa8:200::/37": "52903", - "2804:6964::/32": "270267", - "2804:4e10::/32": "268237", - "2a01:4440::/32": "31499", - "2a02:13b8::/29": "15614", - "2409:8752:300::/37": "56047", - "2800:b70:e::/47": "262191", - "2804:c84::/32": "52720", - "2a05:bf81::/32": "50352", - "2001:940::/32": "12853", - "2001:fd8:33f0::/44": "4775", - "2001:4478::/48": "4802", - "2401:d800:440::/42": "7552", - "2408:8459:2e30::/44": "17623", - "2409:806a:100::/36": "9808", - "2804:8034::/32": "271736", - "2a0f:c440::/48": "212073", - "2404:9dc0:cd01::/48": "138699", - "2a02:4544:e0::/46": "197207", - "2a0e:97c5:680::/46": "20473", - "2a11:980::/29": "208861", - "2602:ff62:124::/40": "61317", - "2800:160:1437::/41": "14259", - "2a03:be80::/32": "15510", - "2001:12f0:b28::/43": "1916", - "2001:1498::/32": "12956", - "2606:4c80::/32": "5650", - "2a02:27ab::/32": "21100", - "2a09:8280:14::/42": "40509", - "2001:559:85b4::/47": "7922", - "2406:3000:c::/43": "4657", - "2409:8020:1061::/43": "56046", - "2806:2f0:30c4::/42": "17072", - "2a03:2880:f11d::/46": "32934", - "2800:440:70::/48": "27738", - "2001:559:c0d9::/48": "33489", - "2400:fb80::/32": "63930", - "2401:4900:4b50::/44": "45609", - "240a:a3b9::/32": "143603", - "240a:ac59::/32": "145811", - "2600:1417:3800::/48": "24319", - "2607:9080:705::/48": "62424", - "2800:a10:2002::/32": "11014", - "2804:2a4c::/32": "53167", - "2a00:6760::/32": "202140", - "2a0e:2b80:203::/32": "28875", - "2803:8100::/32": "21826", - "2a02:26f0:9e::/48": "20940", - "2a02:26f0:a200::/48": "34164", - "2001:559:c01d::/48": "7015", - "2001:579:8e8::/43": "22773", - "2402:ef03:2100::/33": "7633", - "2a02:838a:50::/29": "8412", - "2001:559:c0bd::/46": "33651", - "2401:4900:3670::/40": "45609", - "240e:3b6:6400::/35": "140312", - "2620:0:2f00::/41": "693", - "2a0d:1680::/29": "199926", - "2400:5280:1800::/34": "63199", - "2405:6100::/32": "3462", - "240a:af9e::/32": "146648", - "240e:f7:3000::/36": "136190", - "2804:314:4019::/42": "61568", - "2804:21a4:1800::/32": "53190", - "2a04:1600::/29": "61967", - "2001:559:c2cc::/48": "7016", - "2a00:d600::/32": "24778", - "2400:12::/48": "4766", - "2408:8957:aa00::/40": "17622", - "2804:1288:f01::/35": "263482", - "2a02:ca0::/32": "8587", - "2001:df0:5800::/48": "55660", - "2804:414c::/32": "28204", - "2a04:4e42:fe6::/43": "54113", - "2a0e:4480::/32": "57757", - "2604:d600:131e::/42": "32098", - "2610:30:4001::/32": "30313", - "2804:73b8::/32": "270933", - "2804:7594::/32": "271056", - "2409:804b:2901::/45": "9808", - "2607:fda8:1019::/33": "6128", - "2804:1664::/32": "263285", - "2a0e:1b80:1003::/48": "54201", - "2001:df0:2e4::/48": "18123", - "2402:800:7850::/42": "7552", - "2402:ef0b:4000::/36": "24515", - "2405:1c0:6873::/40": "55303", - "2408:8456:e610::/42": "134543", - "2607:e080::/32": "197696", - "240a:a247::/32": "143233", - "2607:f180:7300::/31": "35908", - "2001:df6:6880::/48": "16509", - "2800:68:1d::/48": "27947", - "2800:160:1f63::/43": "14259", - "2a00:de20::/32": "62405", - "2a02:26f0:4301::/37": "20940", - "240a:ae0d::/32": "146247", - "2804:1cc4::/38": "61674", - "2804:5a38::/32": "268756", - "2806:2f0:2460::/48": "17072", - "2804:3e8:2::/39": "28663", - "2804:6b40::/32": "270388", - "2a00:8220::/32": "24971", - "2a10:440::/29": "207289", - "2001:67c:2b50::/48": "44865", - "2001:4dc0::/32": "12703", - "2400:cd00:1044::/48": "138911", - "2620:4a:c000::/48": "32703", - "2804:3f08::/32": "266635", - "2a00:a8e0:201::/46": "15598", - "2a09:84c0::/37": "8145", - "2001:1af8:4410::/48": "38930", - "2408:8756:2cfd::/46": "135061", - "2804:1e0c:fffe::/47": "264141", - "2001:559:c39a::/48": "33667", - "240a:ad22::/32": "146012", - "2a03:8ac0:254::/47": "47523", - "2c0f:ee18::/32": "37110", - "2001:df6:f000::/48": "133142", - "2402:a300:4000::/45": "55427", - "2409:8904:cca0::/39": "24547", - "2604:a040::/32": "38195", - "2606:2800:457::/44": "15133", - "2001:559:c39b::/48": "33659", - "240e:95:8002::/33": "17638", - "2800:160:1077::/40": "14259", - "2800:550:5::/42": "7004", - "2806:2f0:3081::/42": "17072", - "2404:8000:d7::/42": "17451", - "2602:fc9b::/36": "26795", - "2a01:b747:6f1::/32": "714", - "2806:230:203f::/48": "11888", - "2a00:1ab8::/32": "29422", - "2408:8957:bc00::/40": "17622", - "240a:a2cf::/32": "143369", - "2600:370f:36e0::/45": "32261", - "2604:cb40::/32": "40020", - "2804:4f0c::/32": "268300", - "2804:6914::/32": "270247", - "2001:67c:132c::/48": "13189", - "2400:7400:e035::/48": "38044", - "2001:df4:2900::/48": "56155", - "2404:3d00:4060::/46": "3573", - "2a01:4c8:f401::/48": "2856", - "240a:aeec::/32": "146470", - "2600:1415:a::/48": "24319", - "2a02:2ad0:133::/45": "702", - "2a0d:3c00::/29": "205243", - "2804:3218::/32": "265055", - "2001:df5:4080::/48": "135839", - "2001:4490:4c80::/47": "9829", - "2001:44b8:308a::/45": "7545", - "2408:84f3:3010::/44": "17623", - "2600:1003:b440::/42": "6167", - "2600:6c38:177::/44": "20115", - "2620:38:a00::/48": "22695", - "2804:487c:21e::/42": "267124", - "2a05:fc80::/29": "57118", - "2408:8456:1040::/38": "17816", - "240a:ae07::/32": "146241", - "240e:250:1700::/34": "4134", - "2600:6c38:224::/44": "20115", - "2001:44b8:1068::/34": "4739", - "2600:1406:ec00::/48": "35994", - "2600:1900::/33": "15169", - "2a02:26f7:db45::/46": "20940", - "2409:8d18::/31": "134810", - "2804:2b44:8100::/33": "265144", - "2806:230:500c::/48": "265594", - "2a0d:7ac0::/29": "210206", - "2001:44c8:12a::/45": "45430", - "240a:a11f::/32": "142937", - "2804:460c::/32": "266965", - "2806:230:1018::/48": "265594", - "2a02:26f7:c405::/46": "20940", - "2001:678:ccc::/48": "206477", - "2001:1938:4100::/40": "33438", - "240a:a246::/32": "143232", - "240a:a3af::/32": "143593", - "240e:473:a200::/41": "140485", - "2a0f:75c0:1::/46": "44016", - "2405:2400::/48": "38546", - "2001:559:c373::/48": "33287", - "2001:579:6f01::/45": "22773", - "2403:2400::/32": "9729", - "2804:68ec::/32": "270237", - "2a02:26f7:85::/48": "20940", - "2a0d:5a80::/29": "21100", - "2001:559:af::/48": "7016", - "2404:b0:1006::/44": "4750", - "2600:3000:3102::/33": "13649", - "2a00:ff0:8888::/48": "12672", - "2a00:59c0:4::/32": "49232", - "2a02:2518:12::/29": "28917", - "2a02:7680::/32": "57119", - "2a0f:eb80::/47": "47267", - "2600:1417:3001::/37": "20940", - "2804:72a4::/32": "270866", - "2a02:26f0:d4::/42": "20940", - "2a02:26f7:12::/48": "36183", - "2a07:71c0::/29": "202918", - "2a09:7ac0::/32": "39679", - "2a0d:8d00::/30": "47750", - "2001:1368::/32": "3551", - "2402:c800:fff9::/45": "38639", - "2620:81:2000::/48": "16904", - "2a0e:b107:197::/48": "207559", - "2001:559:78b::/48": "7015", - "240e:14:8000::/36": "4134", - "2600:1415:3c01::/33": "20940", - "2803:9840:a000::/33": "263765", - "2804:1c1c::/34": "61638", - "2806:230:2008::/48": "265594", - "2406:3003:2081::/36": "4657", - "2803:c4e0:8000::/33": "269809", - "2001:df3:2880::/48": "140021", - "2406:81c0::/32": "141203", - "240a:a1fe::/32": "143160", - "2600:c06::/32": "12181", - "2804:29b8::/35": "28126", - "2804:4b88::/32": "267312", - "2a0f:dac0:2::/29": "60781", - "2001:559:158::/48": "33662", - "2001:559:8293::/45": "7922", - "2001:559:8399::/48": "33662", - "2409:893c::/31": "24444", - "2600:3501:7000::/32": "396998", - "2602:feda:dd0::/44": "46997", - "2a02:26f7:e084::/48": "36183", - "2a0e:b800::/31": "197216", - "2401:e380:10::/48": "131091", - "2602:220::/32": "16532", - "2a00:16d8::/32": "42695", - "2001:c38:9041::/44": "9931", - "2001:4bd8:52::/48": "199284", - "240a:aea9::/32": "146403", - "2600:380:f1d4::/42": "20057", - "2401:e780::/32": "63930", - "2409:8014::/44": "56044", - "2a02:2498:296::/32": "13213", - "2a02:5f60::/32": "201955", - "2a0a:bd40::/29": "208808", - "2001:1838:3100::/33": "23352", - "2406:2000:fc::/46": "10229", - "2001:418:1456:1300::/56": "16625", - "2400:9380:89c0::/44": "136167", - "2407:a600:8000::/36": "18004", - "2602:ffc5:152::/47": "7489", - "2604:6680::/32": "18853", - "2a01:55e4::/30": "201709", - "2001:559:580::/48": "7922", - "240e:3b5:1400::/38": "134773", - "240e:473:9000::/41": "140485", - "2605:a404:a36::/40": "33363", - "2804:6504::/32": "269463", - "2a01:ce8c:a000::/35": "51964", - "2001:590::/35": "3257", - "2408:8459:9430::/41": "17622", - "2604:af40::/32": "14099", - "2607:fc28:5000::/34": "22911", - "2a0e:6540:a192::/48": "208364", - "2a0e:b105:110::/44": "211851", - "2405:7f00:c900::/34": "133414", - "2604:fb80:601::/36": "15128", - "2806:230:6017::/48": "11888", - "2a02:26f7:c208::/48": "36183", - "2a02:fb00::/29": "44066", - "2001:dce:7801::/37": "23869", - "2401:1700:7c30::/32": "55666", - "2401:e180::/32": "9674", - "2404:de00::/32": "55819", - "2806:230:6016::/48": "265594", - "2a0f:72c0::/29": "39106", - "2803:eb80::/32": "61493", - "2a00:9640:6a::/32": "57710", - "240e:1a:50::/39": "23650", - "2600:6c38:d1f::/38": "20115", - "2607:9280:1::/48": "395502", - "2804:5f28::/32": "269080", - "2806:230:2033::/48": "11888", - "2a02:26f0:9e00::/48": "34164", - "2001:559:809b::/48": "33491", - "2405:db40::/32": "137987", - "2600:1010:9110::/36": "22394", - "2407:c080:7000::/47": "55990", - "2606:2800:4a0c::/46": "15133", - "2a01:5300::/32": "2840", - "2a06:24c0::/29": "12576", - "2c0f:f338::/32": "327983", - "2600:140f:2e01::/35": "20940", - "2a02:26f7:d041::/46": "20940", - "2600:1004:9000::/44": "6167", - "2803:e080::/32": "12150", - "2806:2f0:21::/46": "22884", - "2001:4de0:ac13::/48": "33438", - "2a0d:2585::/32": "211398", - "2001:550:800:200::/39": "174", - "2001:f18::/32": "9916", - "2804:5dc:100::/32": "53019", - "2804:7568::/32": "271044", - "2001:1658::/29": "719", - "2401:d800:d370::/40": "7552", - "2409:8924:9500::/38": "56046", - "2804:7680::/32": "271116", - "2400:8000:2421::/35": "4800", - "2402:800:f690::/39": "7552", - "2409:8050:1002::/40": "56047", - "2607:2f00:15::/44": "12025", - "2800:b10:100::/44": "27884", - "2800:bf0:80e0::/47": "52257", - "2404:f4c0:f000::/44": "24239", - "2408:8957:dd00::/40": "17816", - "2804:1c80::/32": "61657", - "2a00:1d38:fb::/32": "50655", - "2a11:7380::/29": "18779", - "2402:8100:39d0::/42": "45271", - "2404:7180:a010::/48": "23848", - "2605:b8c0::/32": "22534", - "2001:678:4fc::/48": "59947", - "2605:9440::/32": "397446", - "2a02:6680:f1e0::/43": "16116", - "2a02:f000::/32": "199490", - "2001:4c08:2026::/48": "32787", - "2405:f600:30::/45": "45117", - "2600:140f:4c00::/48": "9498", - "2607:fe00::/35": "30689", - "2a02:26f7:cd01::/46": "20940", - "2a03:40e0::/32": "196932", - "2001:1900:229b::/48": "63168", - "2600:140b:15::/38": "20940", - "2803:a480::/32": "262192", - "2806:2f0:30e1::/46": "17072", - "2a02:26f7:bac1::/45": "20940", - "2a0d:8040::/31": "61439", - "2001:1248:7008::/47": "11172", - "2402:800:9d1d::/41": "7552", - "2602:fe90:700::/48": "35913", - "2a00:8740:1e::/42": "49037", - "2a01:d0::/43": "29632", - "2a02:c08::/32": "21050", - "2a0a:7540:4::/29": "206066", - "2001:df0:8400::/48": "55741", - "240e:438:7640::/36": "4134", - "2607:fdf0:5fa7::/41": "8008", - "2804:3b0:830d::/33": "53062", - "2804:4284:4000::/38": "267505", - "2a01:b740:a18::/48": "6185", - "2001:808::/35": "9112", - "2400:cb00:274::/47": "13335", - "240a:ab4b::/32": "145541", - "2620:0:e50::/45": "3676", - "2804:db8::/32": "28335", - "2804:4ddc::/32": "268224", - "2a01:4020:3::/43": "25369", - "2001:559:8537::/48": "33491", - "2001:559:8285::/48": "7015", - "2001:559:c222::/48": "33667", - "2001:4878:7::/44": "12222", - "2404:170::/32": "38525", - "2602:fdb1::/36": "54638", - "2607:ff60:4009::/48": "20251", - "2a0a:4d80::/29": "44462", - "2800:ba0:12::/48": "263812", - "2001:67c:148c::/48": "199564", - "2001:df0:2bf::/48": "198723", - "2402:800:940f::/43": "7552", - "2402:5300:1210::/34": "45903", - "240a:a4a2::/32": "143836", - "2604:4d40:fff::/48": "213073", - "2610:a0::/43": "7786", - "2804:3b8:9::/41": "52965", - "2a01:cb22::/34": "3215", - "2001:253:127::/48": "142093", - "2001:678:ad8::/48": "208562", - "2001:4878:81e0::/44": "35994", - "2605:a404:343::/40": "33363", - "2800:160:17c4::/47": "14259", - "2804:436c::/32": "267569", - "2a02:26f0:108::/46": "20940", - "2607:f7b8::/32": "10490", - "2a02:2588::/29": "28851", - "2001:4998:1d::/46": "10310", - "2602:fed2:7303::/48": "209294", - "2a04:9440::/30": "21182", - "2a04:f000::/29": "60016", - "2606:5580:2000::/38": "63242", - "2001:df0:246::/48": "9555", - "2001:df2:c900::/48": "38635", - "2400:9380:90b0::/45": "4809", - "2400:9380:95c0::/44": "136167", - "2401:9480::/32": "56304", - "2600:1f70:5000::/40": "16509", - "2602:fe12:22::/48": "62707", - "2804:5248::/32": "268508", - "2001:559:8165::/48": "33654", - "2001:4048:105::/48": "198345", - "2402:800:7240::/42": "7552", - "2607:f380:806::/47": "257", - "2001:dce:8401::/38": "23869", - "2406:840:3c0::/48": "139317", - "2800:484:a00::/40": "10620", - "2a01:c50f:f5c0::/38": "12479", - "2a09:be40:6b00::/40": "208810", - "2408:8256:1066::/39": "17622", - "2605:7680::/32": "11042", - "2a00:96c0::/32": "198538", - "2a02:26f7:cf05::/46": "20940", - "2402:1280::/32": "63931", - "2604:a880:400::/48": "14061", - "2804:1bf0::/47": "61758", - "240e:473:b120::/41": "140486", - "2600:1415:4001::/37": "20940", - "2803:10e0:24::/32": "269853", - "2804:101c::/32": "53043", - "2a02:ac80:d001::/34": "25145", - "2a02:cb43:4009::/48": "20546", - "240a:adca::/32": "146180", - "240e:44d:6d80::/41": "4134", - "2607:f170:120::/41": "6364", - "2804:3b64::/32": "266146", - "2804:41f8:f502::/36": "267469", - "2400:adc0:4030::/47": "9541", - "240a:a28c::/32": "143302", - "2605:a404:8b2::/45": "33363", - "2606:ac80::/32": "393582", - "2800:98:111b::/37": "14754", - "2001:559:8244::/48": "33651", - "2a10:a080::/29": "51083", - "2001:559:201::/48": "33660", - "2401:d800:f290::/42": "7552", - "2402:800:9447::/43": "7552", - "240a:ae9a::/32": "146388", - "2a00:b280::/32": "15557", - "2a02:e30:f0a0::/48": "60755", - "2a02:2230:4300::/34": "25467", - "240a:a52f::/32": "143977", - "240a:a9af::/32": "145129", - "240e:3b9:c800::/37": "4134", - "2800:88:10::/46": "26210", - "2804:6728::/47": "269608", - "2a09:3580::/29": "38946", - "2402:7500:4c0::/48": "24158", - "2403:e440::/32": "138096", - "2409:8018:28f2::/35": "134810", - "2604:880:3a3::/45": "29802", - "2604:7e00:70::/38": "17378", - "2803:3440:9004::/40": "64112", - "2001:4dc8::/36": "16316", - "2604:9d80:13::/32": "395172", - "2804:15c8::/32": "263410", - "2a00:11c0:4a::/48": "42473", - "2a02:26f7:e489::/46": "20940", - "2a02:ac80:f001::/29": "25145", - "2001:43f8:1320::/48": "328358", - "2a0d:9480::/29": "35916", - "2a10:2f01:100::/48": "39753", - "2001:559:364::/48": "13367", - "240a:a348::/32": "143490", - "2600:380:9000::/38": "20057", - "2600:6c1c::/30": "20115", - "2620:10d:6004::/48": "26722", - "2800:160:2b07::/41": "14259", - "2804:40c4::/32": "265980", - "2001:67c:15c8::/48": "3246", - "2001:df0:6e80::/48": "17439", - "2806:230:200d::/48": "11888", - "2402:e280:2107::/44": "134674", - "2409:800b:2806::/39": "9808", - "2602:fc85:ff0::/47": "398875", - "2804:52ac::/32": "268533", - "2a02:970:1053::/42": "44002", - "2a02:26f7:a2::/48": "36183", - "2600:1017:f400::/44": "22394", - "2610:150::/32": "46844", - "2a03:3840::/29": "199600", - "2001:fd8:1a0::/48": "132199", - "240a:a45d::/32": "143767", - "2804:43e0::/32": "267596", - "2600:5c01:e0a::/48": "11351", - "2804:14c:471::/45": "28573", - "2804:5258::/32": "268512", - "2804:7f08:a::/34": "271662", - "2001:67c:564::/48": "62121", - "2602:fd23:3::/45": "33185", - "2607:f8f0:1200::/40": "271", - "2a0b:72c0::/32": "60522", - "2001:67c:75c::/48": "204254", - "2001:1248:55e6::/43": "11172", - "240a:a0ea::/32": "142884", - "240e:438:2240::/37": "4134", - "2001:67c:4::/48": "51531", - "2405:e6c0::/32": "137532", - "2606:4700:12::/42": "13335", - "2804:428::/32": "28218", - "2a0f:b4c1::/32": "57487", - "2001:1248:98e3::/48": "11172", - "2402:2400::/33": "9226", - "240a:aecc::/32": "146438", - "2606:2f80::/32": "395075", - "2a02:26f7:ba80::/48": "36183", - "2001:67c:2d14::/48": "204088", - "2001:df5:a180::/48": "136696", - "2604:aa00::/32": "14159", - "2610:18::/32": "2828", - "2a02:2698:1400::/38": "50542", - "2a02:26f0:3501::/40": "20940", - "2a0c:b641:290::/44": "208506", - "2600:1408:f001::/37": "20940", - "2620:128:1002::/48": "53620", - "2804:2550::/32": "264273", - "2c0f:ea28::/32": "327932", - "2620:2d:4005::/48": "41231", - "2a09:2dc3::/29": "30860", - "2001:559:a7::/48": "33651", - "2001:579:b849::/45": "22773", - "2400:9380:87c0::/44": "136167", - "2402:c800:ff72::/47": "18259", - "2a02:26f0:7701::/36": "20940", - "2001:128c:7100::/32": "25933", - "2401:d800:2460::/40": "7552", - "240a:adb6::/32": "146160", - "2806:230:2001::/48": "11888", - "2a02:26f7:fb84::/48": "36183", - "2a05:6744::/48": "3549", - "2a10:7240::/32": "212574", - "2001:388:6030::/48": "137188", - "2001:67c:274c::/48": "42034", - "2a07:1e80::/29": "57795", - "2a10:c0c0::/29": "208861", - "2401:2280::/32": "56294", - "2620:3c::/42": "35929", - "2804:2c20::/32": "265197", - "2a00:11b0::/29": "16019", - "2a02:26f0:11b::/48": "34164", - "2804:42b0::/32": "267519", - "2a02:20a8::/32": "15830", - "2a02:26f7:c5c9::/42": "20940", - "2a02:ee80:41d8::/42": "3573", - "2401:d800:670::/40": "7552", - "240a:ad0a::/32": "145988", - "2605:3380:ff06::/48": "12025", - "2801:80:300::/48": "53039", - "2a0b:e182:100::/38": "198605", - "2403:5a40:20::/48": "134562", - "2606:f405::/32": "11776", - "2001:67c:21e8::/48": "51944", - "2402:4f00:4004::/32": "58453", - "2600:100d:9f10::/40": "22394", - "2406:8600:f03f::/41": "10310", - "2408:8610::/29": "4837", - "2a02:26f7:d9c8::/48": "36183", - "2a02:2a50::/29": "49800", - "2001:fd8:260::/48": "132199", - "2404:4840::/32": "138568", - "240a:a2e5::/32": "143391", - "240e:979:e00::/40": "134770", - "2a02:26f0:fa01::/37": "20940", - "2001:579:701c::/42": "22773", - "240a:a86d::/32": "144807", - "2804:14f0::/32": "263360", - "2a02:26f0:3901::/37": "20940", - "2a03:6505:2000:6::/64": "25513", - "2a0a:9300:1::/48": "207569", - "2001:678:814::/48": "64404", - "2401:4900:3c70::/40": "45609", - "2403:7f40:ff00::/48": "20473", - "2403:fc00:40::/32": "9482", - "2404:b9c0:b0::/32": "137409", - "2610:a1:1079::/48": "397228", - "2a0e:5e86::/32": "44176", - "2803:8500::/32": "27987", - "2804:1ad4::/32": "52536", - "2001:4478:1::/48": "4739", - "2401:dac0::/32": "13984", - "2600:4040:8000::/31": "701", - "2604:ed40::/32": "25697", - "2804:5f8c::/32": "269108", - "240e:108:4c::/48": "58519", - "2606:b40::/32": "393445", - "2403:b080::/32": "17964", - "240e:108:4e::/48": "136195", - "2604:7ac0:900::/40": "398014", - "2620:84:6000::/48": "393936", - "2620:e2:4000::/48": "64230", - "2a01:280:350::/48": "3301", - "2400:1700:200::/48": "136552", - "2a0b:9cc0::/29": "12859", - "2a0c:c400::/32": "8473", - "2a10:200::/47": "208059", - "2600:140b:a001::/38": "20940", - "2604:b5c0::/32": "394859", - "2a09:bac0:242::/48": "13335", - "2001:559:8325::/48": "33652", - "2001:4878:a261::/48": "12222", - "2620:107:907d::/48": "22787", - "2a02:26f0:bb00::/48": "34164", - "2803:e600::/46": "18809", - "2001:559:58a::/47": "7922", - "2001:678:11::/48": "200070", - "2001:67c:2150::/48": "49750", - "2001:4998:190::/46": "10310", - "2402:5ec0::/36": "23724", - "2409:804e:100::/36": "9808", - "2801:1b:2000::/48": "61447", - "2a03:99a0::/32": "2606", - "2a0e:b107:15ae::/48": "142597", - "2401:f000:18::/48": "23838", - "2403:e200:2::/43": "45543", - "2404:bc80:2::/32": "64072", - "240a:af87::/32": "146625", - "2804:7a94:2100::/32": "271380", - "2c0f:f598:6::/47": "327813", - "240a:a155::/32": "142991", - "2604:ccc0::/32": "46506", - "2607:f348:3596::/32": "13354", - "2a01:2b0::/29": "12552", - "2401:fd80:404::/46": "137502", - "2404:8d02:28c6::/39": "9587", - "2409:897b::/29": "9808", - "240a:a385::/32": "143551", - "2803:9800:b4c1::/46": "11664", - "2804:4b78::/32": "267308", - "2806:230:2052::/48": "265594", - "2602:809:3000::/48": "34553", - "2604:2bc0::/32": "396141", - "2804:29a8::/32": "264027", - "2a02:26f7:d28c::/48": "36183", - "2404:b280:c000::/34": "141461", - "2409:800c::/30": "56042", - "2606:e480::/39": "55083", - "2a04:2dc0:4::/48": "39216", - "2a0b:de00::/42": "6805", - "2a0f:2a80::/29": "204860", - "2409:8020:a1::/43": "56046", - "2600:141b:e801::/35": "20940", - "2a0f:2bc0::/29": "60262", - "2001:559:844c::/48": "7016", - "2402:e380:100::/43": "139073", - "2620:6e:a007::/44": "397444", - "2620:10e:6000::/40": "11279", - "2001:559:c20b::/48": "7922", - "2001:df0:18::/48": "45344", - "240a:a62e::/32": "144232", - "2804:1218::/40": "263456", - "2a02:2430:3::/48": "59491", - "2a02:26f7:cac0::/48": "36183", - "2402:800:5901::/44": "7552", - "240a:ae6e::/32": "146344", - "240e:473:b000::/41": "140485", - "2a02:6680:2162::/48": "16116", - "2001:460:74::/46": "3561", - "2001:559:8547::/48": "7016", - "2001:678:b54::/48": "41268", - "2402:800:96b7::/41": "7552", - "2409:8002:100::/37": "9808", - "2804:6200::/32": "269270", - "2c0f:fbc8::/32": "37075", - "2001:559:1aa::/48": "33287", - "2606:6ec0::/32": "3356", - "2607:f6f0:5001::/48": "394749", - "2806:230:500d::/48": "11888", - "2a00:15f8:a001::/33": "25532", - "2a0e:b107:1600::/44": "210842", - "2001:559:8144::/48": "7725", - "2402:800:3efe::/33": "7552", - "2406:840:ac10::/44": "139317", - "2800:160:1b5b::/42": "14259", - "2804:7ae4::/32": "271398", - "2a01:ac80::/32": "15958", - "2001:559:5eb::/48": "22909", - "2409:8924:3900::/38": "56046", - "240e:978:900::/40": "137697", - "2603:c022::/35": "31898", - "2801:1e0::/41": "27875", - "2804:7358::/32": "270909", - "2804:8260::/32": "272516", - "2a0e:b107:1041::/48": "211604", - "2409:40c3::/26": "55836", - "2604:6840:ac20::/48": "20446", - "2606:5f00::/32": "10396", - "2804:d0c:8040::/33": "53112", - "2a02:970:1062::/44": "44002", - "2a02:cb80:4280::/45": "43766", - "2a03:a240::/46": "199441", - "2001:559:8500::/47": "7922", - "2400:dcc0:ae04::/39": "38631", - "2600:140f:cc01::/38": "20940", - "2605:ff80::/32": "21632", - "2a02:26f0:a401::/39": "20940", - "2607:fb90:fa00::/37": "21928", - "2401:d800:7930::/41": "7552", - "2408:84f3:3420::/43": "17816", - "240a:a7a3::/32": "144605", - "2602:fd60:12::/42": "396503", - "2605:4400:2::/45": "40715", - "2804:295c::/32": "53209", - "2620:122:8008::/48": "30069", - "2803:ba40::/47": "263756", - "2804:7f84::/32": "271693", - "2001:e48:40:6::/45": "9583", - "2001:1248:706d::/43": "11172", - "2620:106:7002::/45": "11795", - "2a05:1080:30::/48": "61004", - "2804:5114::/32": "268429", - "2a02:26f0:11f::/42": "20940", - "2a02:26f7:eb45::/46": "20940", - "2a02:fac0::/32": "58220", - "2a09:9400::/29": "24822", - "2001:67c:1754::/48": "201456", - "2001:67c:2e3c::/48": "57896", - "2001:df4:5300::/48": "137469", - "2600:1004:b170::/40": "22394", - "2a02:26f7:c088::/48": "36183", - "2a0b:9480::/29": "50308", - "2607:e880:1000::/48": "12220", - "2800:ad0::/32": "11816", - "2804:2eb0::/32": "265359", - "2a00:97a0::/32": "60651", - "2a0d:adc0::/29": "44659", - "2001:559:140::/48": "20214", - "2001:559:c3cf::/48": "21508", - "2801:80:9f0::/48": "263273", - "2804:58fc::/33": "268162", - "2804:7684::/32": "271117", - "2a04:ec10::/47": "32066", - "2401:f540:4::/48": "134094", - "240a:a8db::/32": "144917", - "2607:fc68::/42": "2711", - "2400:fa00::/32": "18065", - "2a00:c6c0:1::/48": "133752", - "2a10:9ec0::/29": "211785", - "2001:678:800::/48": "213103", - "2400:1440::/32": "135666", - "2408:866c::/27": "4837", - "240a:af84::/32": "146622", - "240e:3b7:7800::/39": "4134", - "2600:5400:e101::/36": "19108", - "2804:1f0a::/34": "10938", - "2001:500:134::/48": "396566", - "2001:4b20:100:206::/53": "34288", - "2404:3d00:40f6::/47": "21433", - "2405:b900:10::/44": "55701", - "2408:8456:3650::/39": "17816", - "240e:3b1:ec00::/35": "140314", - "2605:8e00::/32": "22772", - "2a02:26f7:b704::/48": "36183", - "2001:df3:bb80::/48": "140644", - "240e:958:2000::/40": "140527", - "2804:1370::/32": "61901", - "2001:67c:1000::/47": "43893", - "2409:8704:5900::/34": "24547", - "240a:a467::/32": "143777", - "2001:4c28:212::/48": "39832", - "2405:6e00:240::/40": "133612", - "2409:8914:c00::/38": "56044", - "240a:a6e6::/32": "144416", - "240e:3b4:9c00::/34": "140310", - "2a0e:b704:4::/48": "210960", - "2405:600:1003::/45": "55805", - "2401:d800:7560::/40": "7552", - "2404:4e00:1083::/48": "32787", - "240a:abbd::/32": "145655", - "2803:3540::/32": "61519", - "2001:8000::/20": "1221", - "2a05:d03a:a000::/40": "16509", - "2001:4408:7300::/37": "4758", - "2401:d800:b7a0::/41": "7552", - "2408:8957:3600::/40": "17622", - "2600:1000:b100::/42": "6167", - "2804:1528::/32": "263374", - "2a02:26f7:bb08::/48": "36183", - "2a03:76e0::/32": "44424", - "2c0f:ecf8::/32": "328441", - "2001:49f0:a06c::/43": "174", - "240a:ad76::/32": "146096", - "2804:1420::/35": "52901", - "2a0c:e640:102d::/48": "210951", - "2001:550:7708::/48": "25829", - "2001:678:88::/48": "44358", - "2409:806a:2100::/36": "9808", - "2a03:4440::/32": "62020", - "2406:380::/31": "7979", - "2600:6c38:a31::/41": "20115", - "2610:e8:1900::/47": "10753", - "2804:14d:600::/40": "28573", - "2a02:6d0::/32": "47227", - "2800:4b0::/33": "12252", - "2602:ffd9:400::/40": "62874", - "2804:2f44::/32": "264881", - "2806:312::/32": "265562", - "2c0f:f0e0::/32": "36972", - "2001:df2:b080::/48": "139929", - "2001:4408:5601::/36": "4758", - "2806:230:6030::/48": "265594", - "2a10:fa80:56::/44": "57050", - "2001:4288:8009::/33": "6713", - "2a02:d740::/29": "199567", - "2a09:bac0:145::/48": "13335", - "2401:ff80:178b::/45": "133954", - "2600:1480:1800::/48": "21342", - "2a02:26f7:f8d4::/48": "36183", - "2001:678:fc8::/48": "207960", - "2407:f800::/38": "38182", - "2409:8051:2802::/38": "56047", - "2a05:3950:8001::/37": "201503", - "2001:44b8:4047::/48": "4739", - "2404:bf40:e702::/48": "7545", - "2406:dc0:8850::/47": "9221", - "2406:fc00::/32": "45477", - "2804:320c::/32": "265053", - "2a02:26f7:dc44::/48": "36183", - "2001:550:9f03::/34": "174", - "240a:a525::/32": "143967", - "2604:4d40:acc::/48": "213073", - "2606:ae00:9e00::/44": "7287", - "2804:609c::/32": "269180", - "2a02:26f0:4b00::/48": "35994", - "2a0c:8fc2::/32": "202401", - "2001:1998:8d0::/44": "13343", - "2402:800:537f::/40": "7552", - "2804:674::/32": "28328", - "2804:800c::/32": "271726", - "2001:559:c32f::/48": "33659", - "240a:a866::/32": "144800", - "240e:3b4:5600::/34": "4134", - "2803:2280::/32": "264663", - "2404:8e80:2::/47": "45881", - "2804:8ec::/32": "28235", - "240d::/27": "2527", - "2600:1404:fc01::/31": "20940", - "2606:2800:333::/45": "15133", - "2a02:26f7:c884::/48": "36183", - "2001:67c:134::/48": "12643", - "2600:6c38:549::/38": "20115", - "2804:6344::/32": "269350", - "2a02:a0::/32": "8426", - "2c0f:f858:3::/32": "36947", - "2001:559:c361::/48": "33659", - "2400:1a00:5::/32": "17501", - "2607:f710:35::/48": "19624", - "2a01:53c0:2f::/48": "54994", - "2a03:9040::/32": "61281", - "2402:e280:212e::/47": "134674", - "240e:473:4520::/41": "140486", - "2606:ae00:6000::/41": "7287", - "2a0c:93c0:8020::/48": "212465", - "2001:df0:7980::/48": "38510", - "2408:8456:5000::/42": "17622", - "2800:160:1ff7::/44": "14259", - "2801:b0:c4::/32": "52888", - "2a0e:2c00::/29": "63023", - "2a07:e740:dc01::/43": "43299", - "2001:1930:3c10::/48": "11985", - "2402:800:571d::/42": "7552", - "2402:8100:3000::/42": "45271", - "2409:8a15:9800::/30": "56044", - "2803:6560::/32": "269755", - "2804:37c4::/32": "266435", - "2806:230:2005::/48": "11888", - "2a0d:a740::/46": "213371", - "2a0f:9400:7730::/44": "211767", - "2402:800:5c55::/42": "7552", - "2408:8256:2d77::/44": "17623", - "2620:10c:c072::/48": "15009", - "2404:3d00:412e::/43": "3573", - "2600:1415:5001::/36": "20940", - "2605:a40a::/32": "33363", - "2800:160:1541::/45": "14259", - "2a09:6ec0::/29": "197706", - "2001:67c:288::/48": "28855", - "240a:aae4::/32": "145438", - "2804:5290::/32": "268526", - "2001:559:864e::/48": "7922", - "2001:67c:1268::/48": "203383", - "2402:800:979b::/42": "7552", - "2402:2700:8000::/33": "132618", - "2408:8956:9400::/40": "17622", - "2602:fc91:163::/48": "399561", - "2a02:26f7:c685::/46": "20940", - "2001:dce:101::/48": "45285", - "240a:a921::/32": "144987", - "240a:ad1a::/32": "146004", - "2804:56c8::/32": "268023", - "2a02:440::/32": "30968", - "2a0c:da02::/32": "57878", - "240a:a241::/32": "143227", - "240a:ad5b::/32": "146069", - "2804:2644::/32": "264336", - "2a03:9b80::/34": "375", - "2001:559:c3fc::/48": "7016", - "2001:1960:13::/40": "5650", - "2804:1c0::/32": "28307", - "2a02:26f7:e9c5::/46": "20940", - "2a0c:1d00::/43": "39614", - "2408:8456:e240::/37": "17816", - "2602:ff62:208::/45": "61317", - "2620:6b:2000::/48": "397382", - "2a0f:5707:aa20::/46": "207622", - "2001:520:100b::/45": "8103", - "2409:8750:300::/37": "56047", - "2607:8300:a::/48": "13876", - "2605:6c00:1::/44": "2734", - "2001:480:11::/44": "668", - "240e:3b5:c000::/37": "140315", - "2607:fcf0::/47": "13445", - "2001:428:4804::/34": "209", - "2400:8905::/32": "48337", - "2401:d800:23e0::/37": "7552", - "2001:559:81f3::/45": "7922", - "2001:559:8340::/48": "7922", - "2001:67c:20dc::/48": "51740", - "2001:1248:98d0::/44": "11172", - "2404:0:5005::/48": "24154", - "2a00:1020::/45": "24739", - "2a01:7660:7::/32": "12843", - "240a:a9bc::/32": "145142", - "240e:6b3:2000::/32": "4134", - "240e:90d:d000::/37": "137688", - "2804:2a10::/32": "264054", - "2804:158c::/32": "263394", - "2001:559:83ff::/48": "33655", - "2001:ee0:362::/43": "135905", - "2400:7400:56::/48": "23736", - "2403:600::/32": "135391", - "240a:a80e::/32": "144712", - "240a:a8f1::/32": "144939", - "2607:fb90:b500::/36": "21928", - "2a07:da80::/29": "209372", - "2001:67c:54::/48": "47207", - "2408:8459:6630::/41": "17622", - "2600:1007:f008::/45": "6167", - "2a02:d48:bb::/48": "16080", - "2a02:26f7:c1c4::/48": "36183", - "2001:67c:118::/48": "50419", - "2001:df7:c600::/48": "135905", - "2408:8459:c050::/38": "17816", - "2607:6900::/32": "14818", - "2a02:26f7:ec0c::/48": "36183", - "2001:400:8815::/44": "293", - "240a:a9b8::/32": "145138", - "2600:6000:fd0e::/48": "11351", - "2a00:7580:60::/48": "8414", - "2a01:c50f:36c0::/39": "12479", - "2a02:26f7:f740::/48": "36183", - "2001:559:84b5::/48": "7725", - "240a:aa63::/32": "145309", - "240e:473:6a00::/41": "140485", - "2600:1003:9000::/44": "6167", - "2606:6680:7::/48": "40676", - "2800:160:12d3::/44": "14259", - "2803:e5e0::/32": "270035", - "240a:ac10::/32": "145738", - "2801:1b:a000::/48": "265700", - "2a02:e40::/32": "6700", - "2a09:e201::/48": "208422", - "240a:a3bc::/32": "143606", - "2c0f:f750::/32": "327724", - "2001:428:4408::/36": "209", - "2001:559:84c7::/48": "7015", - "2001:1388:248a::/36": "6147", - "2401:4900:1050::/42": "45609", - "240a:af6a::/32": "146596", - "2a03:1400::/32": "50272", - "2001:67c:2a2c::/48": "49566", - "2001:df4:1500::/48": "133448", - "2a04:8ec0::/48": "1712", - "2409:802f:2906::/48": "56041", - "240e:438:ac20::/43": "140647", - "2605:a40e:521::/45": "33363", - "2405:4500::/44": "9671", - "2408:8456:f100::/42": "17622", - "240a:adab::/32": "146149", - "2a02:26f7:f54c::/48": "36183", - "2a02:26f7:fc01::/46": "20940", - "2a0d:8d06:1000::/48": "48079", - "2a11:e900::/29": "211199", - "2001:4488::/45": "7713", - "240a:a321::/32": "143451", - "2a01:190:151f::/40": "1764", - "2001:559:391::/48": "33659", - "2401:5200::/32": "23659", - "2408:8420::/30": "4837", - "240a:a399::/32": "143571", - "2620:0:690::/47": "13371", - "2620:9b:c001::/48": "54413", - "2806:264:5300::/37": "13999", - "2a01:8840:dd::/48": "207266", - "2001:df0:1700::/48": "136070", - "2400:bc00:1800::/48": "10115", - "2406:3003:1050::/44": "4657", - "2409:4052:3000::/31": "55836", - "2806:2f0:4301::/46": "17072", - "2a02:2aa8::/39": "702", - "2001:49f0:d057::/40": "174", - "2400:7400:e031::/48": "38044", - "240a:af01::/32": "146491", - "240e:3b6:4c00::/35": "136200", - "2607:f398::/32": "11090", - "2001:470:150::/45": "6939", - "2001:4268:2a1::/37": "15964", - "2403:c80::/32": "45062", - "2408:8456:2600::/42": "17622", - "2408:8459:f110::/42": "17623", - "2408:8957:7d00::/40": "17816", - "2605:a404:105::/41": "33363", - "2a06:82c5::/48": "209537", - "2001:5b0:3d00::/38": "6621", - "2409:8088::/32": "24445", - "2a02:26f7:96::/48": "36183", - "2a06:e881:1702::/48": "206813", - "2a0f:1b00::/29": "7155", - "2a0b:4380::/32": "43594", - "2403:73c0::/32": "135244", - "2408:8957:6f00::/40": "17816", - "240e:473:650::/39": "4134", - "2600:370f:36e6::/39": "32261", - "2606:1700::/44": "62917", - "2804:7c8:f000::/36": "262323", - "2a02:26f7:46::/48": "36183", - "2803:abe0::/32": "270082", - "2a02:9b0:400f::/42": "35819", - "2a05:90c0::/29": "42812", - "2a07:5cc0::/32": "3399", - "2a0a:3140:610::/44": "15532", - "2a0f:17c0::/29": "60262", - "2001:559:24f::/48": "33651", - "2001:559:811f::/48": "33652", - "2001:559:c0c9::/48": "7016", - "2604:ca00:2::/48": "36492", - "2803:6900:593::/48": "52423", - "2001:44b8:30cf::/48": "4739", - "2804:15a4:aaa0::/44": "263400", - "2a04:6ec0::/29": "197637", - "2001:418:3807::/48": "4128", - "240a:aa4a::/32": "145284", - "240e:e1:9c00::/38": "4812", - "2a00:1c20::/32": "50989", - "2a01:664:1400::/36": "48951", - "2405:1c0:6765::/43": "55303", - "240e:438:5640::/36": "4134", - "2803:4600:111b::/36": "14754", - "2a0d:cb80::/29": "61062", - "2402:5300:407::/42": "45903", - "2406:840:e14a::/48": "142164", - "2607:f238::/32": "11799", - "2404:e400::/44": "45345", - "2803:c300::/32": "22869", - "2a01:58:20::/47": "12782", - "2804:1278::/32": "263478", - "2a01:b747:500::/38": "714", - "2001:559:11c::/48": "20214", - "2001:579:5a9c::/37": "22773", - "2404:bf40:a501::/48": "7545", - "240a:af43::/32": "146557", - "2a00:1860::/32": "35369", - "2001:67c:518::/48": "206138", - "2001:dcd:30::/48": "38796", - "2001:1a11:db::/48": "8781", - "2a01:9700:1070::/44": "8376", - "2001:559:c3c9::/48": "7015", - "2606:b300::/33": "33438", - "2a06:8e00::/48": "7489", - "2402:4e00:7::/41": "45090", - "240a:a9fd::/32": "145207", - "2604:90::/32": "26636", - "2606:57c0::/48": "6461", - "2a0b:95c0::/32": "205555", - "2001:978:1e04::/40": "174", - "2610:b0:40de::/42": "3573", - "2620:131:1049::/46": "26450", - "2620:18f::/32": "104", - "2804:4124::/32": "266006", - "2a03:6083:9000::/33": "16285", - "2a0c:a9c7:160::/48": "43832", - "2406:3000:3:9::/58": "4657", - "2408:8956:c00::/40": "17622", - "2409:8948:8c00::/40": "24445", - "240e:473:5800::/41": "140485", - "2a0b:4340:3331::/36": "48024", - "2602:808:5000::/44": "13578", - "2804:14c:7700::/40": "28573", - "2403:9200::/32": "23641", - "2600:100f:a100::/44": "6167", - "2804:7010::/32": "270701", - "2a01:5040:2001::/42": "43996", - "2a02:e280::/29": "12486", - "2001:1aea::/32": "5588", - "2620:149:ac3::/42": "714", - "2803:d4a0::/32": "266827", - "2804:3b90::/36": "266157", - "2a10:ed00::/29": "212297", - "2c0f:e9a0::/32": "174", - "2001:559:81ad::/46": "7922", - "2404:bf40:a442::/42": "139084", - "2600:1407:5::/48": "18717", - "2804:79cc:bf00::/33": "271328", - "2a01:e04::/28": "12322", - "2a02:26f7:e500::/48": "36183", - "2a0a:6840::/29": "25317", - "2c0f:fd20::/32": "36909", - "2001:559:c1b2::/48": "33491", - "2001:448a:6070::/40": "7713", - "2605:a404:164::/43": "33363", - "2606:7100:3010::/40": "21581", - "2610:b0:4109::/48": "21433", - "2800:1e0:1024::/41": "7195", - "2804:5564::/32": "264173", - "2401:4900:3d30::/44": "45609", - "2605:6840::/39": "398041", - "2607:fc58:1:71::/64": "13536", - "2620:131:104c::/47": "26450", - "2804:30f8:c00::/32": "264984", - "2a04:7180::/32": "28717", - "240e:3be:2200::/37": "136198", - "2600:1417:2c::/48": "9498", - "2a02:26f7:bf40::/48": "36183", - "2001:4100::/32": "12401", - "2401:4900:4c60::/44": "45609", - "2405:6240::/32": "136700", - "2620:0:1b00::/48": "714", - "2a02:17a0::/29": "47232", - "2a0e:b107:158f::/48": "210956", - "2001:559:7fe::/48": "7922", - "2001:b400:f000::/38": "3462", - "2606:3380:fff0::/48": "53334", - "2a02:26f7:cb01::/46": "20940", - "2001:480:161::/48": "5978", - "2001:559:83f7::/48": "7922", - "240a:a023::/32": "142685", - "2804:9d4:2001::/35": "262996", - "2001:559:8266::/48": "33651", - "2001:559:c15f::/48": "33491", - "240e:ff:c009::/36": "4134", - "2408:8459:ca10::/42": "17623", - "240e:3bf:2200::/37": "136198", - "2600:1008:e000::/44": "6167", - "2600:9000:113e::/41": "16509", - "2607:2f00:1f::/32": "12025", - "240a:acf2::/32": "145964", - "240e:473:ae50::/39": "4134", - "2001:448a:3050::/42": "7713", - "2a0f:8880::/29": "42184", - "2405:800:8000::/35": "4817", - "2804:104::/32": "262685", - "2a01:54e0:ec00::/35": "31483", - "2a02:26f7:bf89::/46": "20940", - "2605:a401:86df::/39": "33363", - "2607:9e80:1181::/38": "397068", - "2a02:1010:c200::/40": "9197", - "2001:550:2901::/38": "174", - "2001:67c:2b3c::/48": "47127", - "2402:e380:134::/44": "139073", - "240a:a523::/32": "143965", - "2620:13a:f001::/48": "33110", - "2a00:d900::/32": "5405", - "2001:559:42f::/48": "7015", - "2001:678:8cc::/48": "210146", - "240e:979:2e00::/40": "134770", - "2804:41bc::/36": "267453", - "2804:567c::/32": "268003", - "2402:800:f7e0::/36": "7552", - "2408:8456:dc10::/42": "134543", - "2408:876c::/27": "4837", - "240e:3ba:f100::/36": "4134", - "2620:13f:6000::/44": "210", - "2a10:13c0:da7a::/48": "212238", - "2402:b040:fde9::/48": "137132", - "2600:803:618::/48": "3495", - "2604:a140:1500::/47": "64658", - "2606:3d00::/32": "13549", - "2607:ad80::/32": "395558", - "2804:28f8::/32": "263990", - "2a02:26f0:111::/45": "20940", - "2001:1988::/32": "16467", - "2409:8904:8d90::/38": "24547", - "2804:4870:1b3::/41": "267121", - "2408:8256:3281::/48": "17623", - "240a:a0b0::/32": "142826", - "2600:2000:4030::/44": "33517", - "2001:510:130::/48": "36786", - "2607:ffc0::/32": "18705", - "2620:49:f::/48": "16686", - "2a03:41a0:10::/44": "59764", - "2a0f:5707:b0cb::/45": "212895", - "2402:28c0:101::/32": "136620", - "2407:fa00::/32": "24043", - "2600:1f01:48e0::/46": "16509", - "2604:3040::/32": "394907", - "2620:111:800a::/45": "32771", - "2600:2108:4000::/29": "11404", - "2607:7e80:2000::/33": "395354", - "2a00:1178:4::/32": "35415", - "2c0f:eea0::/32": "37288", - "2001:559:822a::/48": "21508", - "2001:67c:1600::/44": "47487", - "2804:314:4025::/46": "61568", - "2804:7c24::/32": "271478", - "2a0a:f980::/29": "50877", - "2a0e:b107:370::/44": "208751", - "2001:67c:20c4::/48": "8767", - "240a:a685::/32": "144319", - "2600:140b:d::/48": "17511", - "2620:a2:4000::/48": "701", - "2406:4300::/32": "133398", - "2600:1488:60c3::/39": "20940", - "2804:4bd8:86::/37": "267332", - "2a03:ae00::/34": "49138", - "2c0f:f3d8::/32": "327741", - "2400:dd01:1028::/34": "7497", - "2a0f:3b03::/32": "58313", - "240a:a062::/32": "142748", - "2602:feda:c30::/47": "209294", - "2605:c00:1800::/40": "46920", - "2801:80:6c0::/48": "262963", - "2803:6cc0::/32": "264813", - "2804:1540::/32": "263380", - "2a0b:b86:8::/45": "3280", - "2001:559:c03a::/48": "13367", - "2405:9800:b419::/40": "45430", - "2408:80f1:250::/40": "17621", - "2408:84f3:2c20::/43": "17816", - "240a:aa90::/32": "145354", - "2a02:26f7:ad::/48": "20940", - "2a02:26f7:da::/48": "36183", - "2001:559:c355::/48": "7725", - "240e:67e:1000::/37": "140330", - "2606:3380:100::/46": "53334", - "2001:67c:273c::/48": "3303", - "2001:448a:1070::/40": "7713", - "2001:4888:8041::/46": "22394", - "2402:8100:b::/48": "45271", - "240a:a194::/32": "143054", - "2a10:83c0::/29": "43440", - "2a05:b0c6:300::/40": "8100", - "2402:800:3771::/44": "7552", - "2409:4040:1000::/30": "55836", - "240a:af39::/32": "146547", - "2600:1002:a100::/44": "6167", - "2804:2780::/32": "263905", - "2804:7b5c:9::/32": "271427", - "2a01:5c40:4::/47": "12687", - "2406:8800:9045::/44": "17465", - "2a00:1f60::/32": "8218", - "2600:100d:a000::/43": "6167", - "2604:2a80::/32": "20413", - "2620:134:d000::/44": "32263", - "2804:4f8:4000::/36": "28263", - "2804:4c30::/32": "267355", - "2401:9700:2000::/40": "45498", - "240a:a18e::/32": "143048", - "2a02:970:1012::/45": "44002", - "2a02:26f7:ddc5::/46": "20940", - "2409:803c:1000::/40": "24444", - "240a:a4c5::/32": "143871", - "2600:1a0e:1001::/36": "46650", - "2607:fc88:1003::/45": "30475", - "2620:a1::/48": "19285", - "2a02:26f7:d500::/48": "36183", - "2a0a:340:cd00::/40": "48043", - "2405:1c0:6265::/43": "55303", - "240e:44d:7580::/41": "4134", - "2620:125:9015::/48": "10780", - "2803:6700:140::/48": "263210", - "2a02:17b0::/32": "29252", - "2a02:26f7:bf49::/46": "20940", - "2001:1248:9723::/43": "11172", - "2804:c20::/32": "52680", - "2804:5cc0::/32": "268928", - "2a05:88c0::/29": "210107", - "2620:145:400::/48": "12257", - "2400:e240::/32": "38247", - "2800:160:1107::/44": "14259", - "2804:43bc::/32": "267587", - "2a02:e00::/32": "29141", - "2001:978:4f00:2::/35": "174", - "2001:2041::/32": "1299", - "2001:4878:2136::/48": "12222", - "2403:d140::/32": "133187", - "240a:a580::/32": "144058", - "2400:7400:4a::/48": "23736", - "2400:fc00:82f2::/37": "45773", - "2800:370:67::/43": "28006", - "2804:70bc:9000::/33": "270745", - "2806:2f0:5161::/40": "17072", - "2a02:f380::/29": "199516", - "2a09:bac0:132::/48": "13335", - "2402:800:58c5::/43": "7552", - "2404:181::/32": "6619", - "2405:3340:e000::/48": "141362", - "240e:473:2150::/40": "4134", - "2001:3c8:2707::/48": "4762", - "2607:9000:4000::/32": "11878", - "2804:1f4c:900::/32": "269175", - "2a02:63e0::/32": "202709", - "2001:559:245::/48": "22909", - "240a:a8f0::/32": "144938", - "2600:1901:ffe0::/43": "396982", - "2404:19c0::/32": "138505", - "240a:a225::/32": "143199", - "2600:80c:1000::/40": "701", - "2620:0:ee0::/48": "47015", - "2a00:1bd8::/32": "8315", - "2a00:6020::/32": "60294", - "2c0f:fb40::/32": "37315", - "2001:559:8157::/48": "33491", - "2001:df5:4300::/48": "137880", - "2404:3e00::/32": "38758", - "2408:8459:e610::/42": "17623", - "2a02:db0::/32": "25500", - "2a02:2e02:2c50::/40": "12479", - "2401:d800:2c70::/40": "7552", - "2403:8500:100::/36": "45804", - "2408:8956:bb00::/40": "17816", - "240a:affa::/32": "146740", - "2600:9000:2091::/44": "16509", - "2a02:26f7:cb84::/48": "36183", - "2a10:1ac0::/29": "209886", - "2402:800:5255::/42": "7552", - "2600:1480:e100::/37": "20940", - "2605:6400:d815::/34": "53667", - "2620:9f:14::/48": "3549", - "2800:160:1d8e::/47": "14259", - "2804:2860::/32": "263959", - "2a02:26f7:dec9::/46": "20940", - "2600:a800::/28": "27017", - "2602:fd92:500::/40": "206607", - "2a03:27a0::/32": "13237", - "2001:4c8:1016::/47": "15290", - "240a:a3e6::/32": "143648", - "240e:105:f600::/30": "4134", - "2804:1c2c::/35": "262869", - "2404:4e00:104::/47": "32787", - "2600:1415:1001::/37": "20940", - "2804:4b04::/34": "267278", - "2a00:7bc0::/32": "200727", - "2402:a600::/32": "17996", - "2403:9800:b019::/41": "4648", - "2408:8256:596::/38": "17622", - "240e:950:c00::/38": "141157", - "2600:1406:601::/39": "20940", - "2620:8a::/48": "19574", - "2804:14d:4c00::/40": "28573", - "240a:ae82::/32": "146364", - "240a:af9c::/32": "146646", - "2600:1002:6000::/44": "6167", - "2a00:bbe0::/29": "60414", - "2a0c:b641:130::/44": "142438", - "2402:5300:4410::/39": "45903", - "240a:a32e::/32": "143464", - "2804:14c:65e1::/45": "28573", - "2804:77e8::/32": "271207", - "2a03:2400::/29": "47295", - "2a0f:3e80::/29": "30633", - "2804:1b5c:2::/32": "28334", - "2001:520:1014::/47": "8103", - "240e:108:42::/48": "58466", - "2804:37d0::/46": "266437", - "2804:5424::/32": "268631", - "2400:9380:98c0::/44": "136167", - "2401:f000:7::/48": "38477", - "2404:2f80:ff00::/48": "140399", - "2406:daa0:6080::/44": "16509", - "240a:a3e0::/32": "143642", - "2604:5000:2000::/32": "7752", - "2a0b:3180::/29": "198333", - "2001:559:82a8::/48": "33657", - "2405:9000:91::/38": "7474", - "240a:a99d::/32": "145111", - "2804:4444::/32": "267621", - "2a10:5800::/29": "398559", - "2001:1248:a4e7::/43": "11172", - "2804:5aa4::/32": "268786", - "2001:678:928::/48": "60149", - "2405:1e00::/44": "17771", - "240a:ae24::/32": "146270", - "240e:105:e600::/39": "138982", - "2605:3a00:44::/47": "22768", - "2620:81:c000::/48": "393420", - "2a10:2040::/29": "204576", - "2405:ba00:887f::/48": "63295", - "240e:438:3e20::/43": "140647", - "2a02:26f0:a601::/39": "20940", - "2408:8456:9640::/36": "17816", - "2409:8c20:5027::/39": "56046", - "2804:1e48::/32": "4809", - "2604:d600:2801::/38": "32098", - "2804:248:200::/33": "28598", - "2804:673c:c400::/40": "264598", - "2a02:238::/32": "16097", - "2001:559:82de::/48": "33287", - "2001:579:247c::/40": "22773", - "2001:df6:1e00::/48": "18403", - "2404:8d00:3000::/30": "10089", - "240e:3b3:ac00::/35": "4134", - "2a00:4bc0:600::/40": "48263", - "2a04:7d00::/29": "3209", - "2001:67c:23c8::/48": "49793", - "2804:6748::/32": "269618", - "2001:1478::/35": "3257", - "240a:a812::/32": "144716", - "2a00:f820::/29": "34549", - "2001:559:803f::/41": "33657", - "2620:9b:4000::/48": "26569", - "2803:68e0::/32": "269874", - "2a0b:f4c0::/39": "205100", - "2408:2000::/24": "4608", - "2602:febe:301::/36": "30405", - "2604:6600:78::/40": "40676", - "2a0b:b2c0::/48": "205504", - "2001:559:747::/48": "33287", - "2409:8924:5100::/38": "56046", - "2409:8a4c::/32": "9808", - "2605:dd40:1216::/33": "398549", - "2408:8409:3c00::/40": "4808", - "2602:ffd3::/36": "6140", - "2a02:6ca3::/32": "50242", - "2001:678:ab4::/48": "208584", - "2001:df5:b000::/48": "45637", - "2405:8a00:c022::/47": "55824", - "2409:8752:f00::/35": "56047", - "240a:a652::/32": "144268", - "240a:aa0c::/32": "145222", - "2a04:4e40:3c10::/41": "54113", - "2001:13c7:600b::/48": "52360", - "2605:3380:44fe::/47": "12025", - "2403:81c0::/32": "131149", - "2407:9440:52::/42": "141626", - "240e:1a:160::/35": "23650", - "2605:a900:300c::/43": "46887", - "2607:fc88:1007::/44": "30475", - "2a06:fec0:3203::/48": "205476", - "2607:f740:19::/48": "36236", - "2001:470:159::/32": "6939", - "2804:62c0::/32": "269316", - "2001:559:c0d7::/48": "33652", - "2409:8087:1a00::/40": "132525", - "2602:feda:2a7::/44": "204185", - "240e:438:1a20::/43": "140647", - "2607:f4a8:200d::/48": "397894", - "2a09:9dc0::/48": "44364", - "2001:579:b0dc::/47": "22773", - "2402:d000:8f01::/33": "9329", - "2404:7e40:2::/32": "138649", - "2801:1c2::/48": "19429", - "2806:2f0:23e1::/46": "22884", - "2402:800:378d::/43": "7552", - "240a:a55f::/32": "144025", - "2600:1413:a001::/35": "20940", - "2804:72c::/32": "52851", - "2804:66c8:c000::/34": "269582", - "2a05:ed40::/29": "207628", - "2a00:ab60::/32": "60522", - "2a07:4880::/29": "24971", - "2001:559:8129::/46": "7922", - "2401:d800:5b20::/41": "7552", - "2620:8f:4000::/48": "3424", - "2804:293c::/32": "264005", - "2804:420c:c000::/34": "267474", - "2001:1248:55c6::/44": "11172", - "2620:149:a0c::/43": "6185", - "2a02:26f7:ecc8::/48": "36183", - "2a06:e881:4001::/46": "204604", - "2001:c20:4878::/48": "9255", - "2400:a980:900::/37": "133111", - "2401:f400::/32": "9269", - "240e:966:3000::/32": "4134", - "2001:559:25e::/48": "33659", - "2001:7f8:6::/48": "9070", - "2800:160:1b1f::/42": "14259", - "2804:154c::/39": "263382", - "2001:1248:595a::/42": "11172", - "2a01:8960::/32": "202136", - "2a02:868::/33": "13247", - "2406:2000:ef64::/48": "45501", - "240e:44d:4c80::/41": "4134", - "2803:ecc0:deae::/34": "264814", - "2a0c:61c0::/32": "203602", - "2001:67c:15a1::/48": "21430", - "2001:44c8:4850::/32": "45430", - "2401:ff80:1a0f::/43": "133954", - "2620:1ec:be0::/37": "8075", - "2a02:26f7:db85::/46": "20940", - "2a05:f700:fffe::/48": "42236", - "2406:3000:8:4030::/60": "9874", - "240a:a24d::/32": "143239", - "240a:ae05::/32": "146239", - "2600:1409:4::/46": "35994", - "2605:9840::/32": "1448", - "2804:19b4:4::/32": "61813", - "2a02:10:101::/29": "24785", - "2001:559:c099::/46": "7015", - "2402:800:5d7f::/40": "7552", - "2409:8a52:500::/38": "56047", - "240a:a7bd::/32": "144631", - "2600:140f:e401::/38": "20940", - "2a01:b944::/32": "48635", - "2001:690::/32": "1930", - "240a:a5a7::/32": "144097", - "2604:8200:e000::/36": "23089", - "2800:860:1::/48": "262197", - "2803:5c80:6591::/48": "64114", - "2804:24cc:2::/32": "264242", - "2a0d:4d40:12::/45": "50630", - "2001:428:6808::/48": "19648", - "2001:678:860::/48": "212466", - "2001:df2:fe80::/48": "132906", - "240a:a80a::/32": "144708", - "2a02:c18:3::/32": "15436", - "2404:d500::/47": "132370", - "2800:160:1e26::/44": "14259", - "2801:1fc:3a::/48": "27951", - "2a00:1288:ef6c::/48": "14778", - "2a00:f800::/32": "51984", - "2001:67c:2630::/48": "42044", - "2804:a2c::/32": "263028", - "2a02:26f0:ae01::/40": "20940", - "2a09:a4c7:e000::/35": "208861", - "2a0e:b107:384::/48": "210770", - "2c0f:f140::/33": "327700", - "240a:a58c::/32": "144070", - "2602:ff71:1001::/48": "29802", - "2804:3d8c::/32": "266538", - "2001:43f8:3b0::/48": "327694", - "2402:800:63ff::/48": "7552", - "2804:14c:7500::/40": "28573", - "2401:ff80:1c89::/45": "133954", - "2804:5308::/32": "268559", - "2806:10a6::/46": "8151", - "2a01:cd00:c000::/41": "28708", - "2a05:4140:101::/46": "208753", - "2001:559:c005::/48": "7016", - "2400:cb00:308::/48": "13335", - "2803:8c10:40::/42": "271868", - "2804:28f4::/32": "263989", - "2a0d:91c0::/29": "40970", - "2001:49b0::/32": "26860", - "240e:473:4650::/39": "4134", - "2800:160:144c::/47": "14259", - "2804:3dc:a2::/41": "52967", - "2001:678:458::/48": "8422", - "240a:a665::/32": "144287", - "2600:3c0f:4::/48": "63949", - "2a05:7400:8000::/34": "208221", - "2001:1388:2f02::/45": "6147", - "240a:a9b7::/32": "145137", - "2806:230:3020::/48": "265594", - "2806:230:6027::/48": "11888", - "2a0a:d240::/29": "205916", - "2a0e:97c5:744::/46": "20473", - "2409:8d15:2a00::/30": "56044", - "240a:ace1::/32": "145947", - "2a02:367:1187::/48": "42804", - "2001:4c0::/47": "855", - "2407:6e00:4::/48": "38332", - "2600:1408:4401::/36": "20940", - "2604:b500::/32": "11045", - "2605:bd40::/32": "22608", - "2804:7980::/32": "271309", - "2a11:e80::/29": "208861", - "2801:80:36e0::/48": "269224", - "2803:7080::/32": "263172", - "2001:678:298::/48": "2613", - "2409:8b1a::/29": "132525", - "240a:a183::/32": "143037", - "240e:438:7440::/38": "4134", - "2600:6c3b:486::/43": "20115", - "2620:ac:4000::/48": "22652", - "2a07:e740::/32": "43299", - "2001:67c:202c::/48": "1257", - "2001:49f0:d0fd::/46": "30058", - "240a:aaed::/32": "145447", - "240e:10:800::/37": "63835", - "2600:3001:22::/45": "13649", - "2804:18:5008::/45": "26599", - "2600:1009:b140::/42": "6167", - "2607:3180:a001::/35": "14877", - "2610:1e0:1800::/48": "1657", - "2803:1a00:150e::/43": "262186", - "2a03:a360::/32": "12350", - "2404:4600:7::/48": "45991", - "2806:2f0:20e3::/48": "17072", - "2604:af80::/36": "18859", - "2804:770::/32": "262649", - "2804:74c0::/32": "271001", - "2a00:e00::/32": "8304", - "2a00:13c0:201::/48": "12616", - "2a02:ac80:c1::/43": "25145", - "2001:418:143b:100::/56": "20940", - "2408:8409:b400::/40": "4808", - "240e:4:800::/32": "4134", - "2804:14c:85a6::/41": "28573", - "2a00:1608::/32": "51275", - "2a04:1000::/29": "61001", - "2620:119:500a::/48": "13443", - "2001:559:34a::/48": "33491", - "240a:a938::/32": "145010", - "2605:26c0:2300::/40": "397300", - "2402:ef15::/32": "9430", - "2406:8800::/42": "17465", - "2804:597c::/32": "268705", - "2a0e:97c5:560::/45": "20473", - "2001:559:83f5::/48": "22909", - "2001:67c:28a4::/48": "198794", - "2400:cb00:170::/48": "13335", - "2a02:26f7:ec41::/46": "20940", - "2001:1248:5a67::/44": "11172", - "2408:8256:2f7b::/48": "17816", - "2604:cb80::/32": "21554", - "2804:65b0::/32": "269508", - "2804:6bc8::/32": "270425", - "2804:817c::/32": "272457", - "2001:1248:5f41::/44": "11172", - "240e:f7:7000::/36": "136190", - "2800:160:1df7::/44": "14259", - "2804:7e34::/32": "271609", - "2a09:9100::/29": "211546", - "2001:44b8:105e::/48": "7545", - "2401:5500::/32": "9749", - "2804:1e90:a0c0::/39": "264436", - "2001:418:e401:4::/35": "2914", - "2001:559:85ea::/47": "7922", - "2402:f180:3::/48": "58579", - "2408:8956:f140::/40": "17816", - "2607:f4e8:411::/48": "23059", - "2a00:fd80::/32": "38719", - "2401:ff80:1b89::/37": "133954", - "2402:800:7210::/42": "7552", - "2600:1480:e000::/40": "33905", - "2804:6918:5000::/32": "270248", - "2a00:47e0::/32": "3292", - "2a02:26f7:bb40::/48": "36183", - "2a0e:8f02:f028::/48": "212623", - "2001:67c:2810::/48": "198676", - "2402:ee40:5f::/48": "134033", - "2408:8459:9e10::/42": "17623", - "2001:dcc:600::/48": "131100", - "2600:4402:c002::/47": "6130", - "2a02:26f7:c6c2::/47": "20940", - "2a02:26f7:c741::/46": "20940", - "2001:7f8:94::/48": "51225", - "2001:c20:485e::/47": "9255", - "2403:300:a33::/41": "714", - "2408:8456:6400::/42": "17622", - "2600:1480:7801::/37": "20940", - "240a:a699::/32": "144339", - "2804:80a0::/32": "271763", - "2a02:26f7:ef51::/42": "20940", - "2400:7940::/32": "59126", - "2607:f740:e626::/48": "29997", - "2a02:26f7:e185::/46": "20940", - "2001:559:2f8::/47": "7922", - "2001:559:865c::/48": "7725", - "240e:3b6:7800::/39": "4134", - "2604:ae80:6001::/46": "11904", - "2607:fd48:300:100::/47": "13536", - "2607:ffc8:0:3::/61": "17356", - "2a02:26f7:d489::/46": "20940", - "2001:67c:2250::/48": "33895", - "2402:9e80:9::/48": "135103", - "2804:7220::/32": "270834", - "2a07:e02:bee::/48": "210083", - "2a09:e1c1:effb::/45": "210311", - "2a0c:c80::/29": "200000", - "2a0f:d600::/39": "208236", - "240e:3b3:d000::/36": "134772", - "2620:109:40::/40": "10753", - "2804:4308::/46": "267544", - "2001:559:c3a1::/46": "7015", - "2401:bc40:300::/40": "12189", - "2402:800:9171::/40": "7552", - "2a03:8320::/32": "200874", - "2a04:e800:5407::/48": "57976", - "2a07:b000::/29": "35902", - "240e:3b7:7a00::/32": "140313", - "2620:78:2000::/48": "26331", - "2800:2a0:2101::/37": "27947", - "2804:2368::/32": "264160", - "2a00:86c0:101::/38": "2906", - "2a01:c50f:a080::/39": "12479", - "2001:559:86aa::/48": "33491", - "2406:93c0::/32": "137042", - "240e:9f:c000::/35": "134420", - "2a02:c6a0::/30": "680", - "2a0e:4100::/32": "57279", - "2401:d800:9230::/41": "7552", - "2804:5e70::/32": "269033", - "2a02:26f7:dfc0::/48": "36183", - "2001:4320::/32": "28683", - "2402:800:b920::/41": "7552", - "2a05:1083:407e::/48": "209870", - "2a0e:fd45:1338::/34": "44103", - "2001:200:900::/40": "7660", - "2a03:60c0::/32": "20473", - "2a03:8bc0::/32": "33876", - "2001:df3:480::/48": "132010", - "2401:d800:1f0::/38": "7552", - "2409:8904:9590::/38": "24547", - "240a:a01a::/32": "142676", - "2402:8100:20dd::/46": "45271", - "2402:ef1c::/31": "7633", - "2403:e000:fec1::/39": "9555", - "2408:8452::/31": "4837", - "2604:ca00:8000::/35": "36492", - "2a0e:dc40::/29": "208315", - "2408:8956:28c0::/38": "17816", - "2607:d100::/32": "394844", - "2804:37d0:8000::/33": "266437", - "2001:a18::/29": "2602", - "2620:15:8000::/48": "26039", - "2804:165c::/32": "263284", - "2a00:1d40::/32": "25180", - "2001:1248:a402::/43": "11172", - "2402:e280:216b::/43": "134674", - "240a:a85b::/32": "144789", - "240e:3bf:8200::/35": "140316", - "2804:1918:380::/32": "52862", - "2a02:26f0:b001::/40": "20940", - "240e:930::/32": "134420", - "2a00:1850:2e6::/44": "29357", - "2a02:e0:5000::/36": "34984", - "2001:c20:48ae::/43": "9255", - "2001:1820:1a::/48": "6147", - "2403:a040:1688::/48": "38047", - "240e:438:9640::/36": "4134", - "2602:ff28::/36": "14877", - "2804:2ff8::/32": "264923", - "2a0f:9400:7a00::/47": "135395", - "2408:8459:4a50::/37": "17816", - "2408:8956:700::/40": "17816", - "2605:fb80:e013::/42": "16584", - "2a00:1928::/32": "12898", - "2a02:7b0:64::/48": "39780", - "2001:559:8327::/48": "7922", - "2405:6280::/32": "132111", - "2804:1b3:4180::/36": "18881", - "2a00:1cd0:6::/48": "43408", - "2a02:c48::/29": "49024", - "2a02:26f7:e441::/46": "20940", - "2a03:d5c0:100::/37": "199391", - "2001:559:80e0::/48": "33657", - "2409:8924:8900::/38": "56046", - "2602:800:c800::/38": "398642", - "2804:383c::/45": "52601", - "2806:230:101e::/48": "265594", - "2a00:ad07:4000::/32": "41897", - "2a02:2e02:86d0::/39": "12479", - "2804:69c4::/32": "270290", - "2001:4c8:1068::/48": "46482", - "2001:559:c212::/48": "33652", - "2001:67c:280c::/48": "57839", - "240a:a72c::/32": "144486", - "240e:473:4a00::/41": "140485", - "2610:a1:3014::/48": "12008", - "2804:1b2c::/35": "61713", - "2001:500:86::/47": "26710", - "2001:678:868::/48": "8220", - "2804:14d:a485::/43": "28573", - "2804:ff0::/32": "263609", - "2804:4a08::/32": "267214", - "2800:1e0:3000::/40": "7195", - "2800:950::/32": "10299", - "2804:14d:c800::/40": "28573", - "2806:230:4020::/48": "265594", - "2a01:9d80::/32": "197883", - "2a01:c50f:c480::/41": "12479", - "2001:559:8312::/47": "7015", - "2a02:26f7:cc45::/46": "20940", - "2001:ee0:f100::/40": "45899", - "2409:804e:1900::/34": "9808", - "2a05:ca40::/29": "41906", - "2804:2968::/32": "264013", - "2a03:1aa0:5000::/32": "201730", - "2403:fbc0:2000::/48": "23959", - "2610:e0:3000::/33": "2572", - "2804:14d:4cdf::/42": "28573", - "2001:559:8760::/48": "7016", - "2803:7200:2001::/32": "27696", - "2a00:c740::/32": "48803", - "2a02:26f7:c8c0::/48": "36183", - "2a02:4540:7040::/45": "197207", - "2a04:f80::/29": "42858", - "2001:e60:d300::/42": "4766", - "2405:f600:11::/44": "45117", - "2804:998:11::/40": "28589", - "2804:1094:c000::/34": "263641", - "2001:559:97::/48": "7922", - "2800:d302:38::/29": "11830", - "2804:4494::/32": "267640", - "2a02:26f0:9501::/40": "20940", - "2620:12:2000::/48": "394756", - "2800:5f0:203b::/45": "22724", - "2a01:8640:6::/48": "42708", - "2a02:16a8::/32": "5404", - "2604:2e8e::/35": "30036", - "2604:b000::/34": "14638", - "2804:5bdc:4::/32": "268873", - "2a02:26f7:d789::/46": "20940", - "2a0b:a240::/29": "205535", - "2409:807c:1900::/34": "9808", - "2804:7d50::/32": "271553", - "2001:550:1605::/44": "174", - "2607:5f80::/32": "23336", - "2620:5e:a000::/47": "394855", - "2806:2f0:2221::/43": "22884", - "2001:e58::/32": "18266", - "2001:4878:228::/48": "12222", - "2401:d800:23b0::/41": "7552", - "2600:1415:2c01::/38": "20940", - "2620:36:c000::/48": "1645", - "2620:139:6006::/48": "22600", - "2409:8038:3100::/36": "9808", - "240a:a9d9::/32": "145171", - "2607:5200::/32": "18501", - "2801:80:370::/48": "28609", - "2801:15e::/44": "19429", - "2804:61f0::/32": "269266", - "2c0f:fc88:37::/44": "36992", - "240a:a429::/32": "143715", - "2a03:29c0::/32": "61189", - "2a03:5ce0::/48": "29667", - "2a06:b7c0::/29": "203740", - "240a:aff3::/32": "146733", - "240e:967:c600::/36": "4134", - "2600:6c3a:1e::/41": "20115", - "2608:c101:1::/48": "27066", - "2804:fe0:10::/48": "263049", - "2804:7078::/32": "270728", - "2001:4479:1900::/34": "7545", - "2408:8756:1800::/34": "17816", - "2600:141b:1801::/34": "20940", - "2604:2dc0::/32": "16276", - "2801:1a:c800::/48": "262589", - "2a00:1cb8:2:e::/48": "12713", - "2403:e600::/32": "58376", - "2600:140f:f000::/48": "9498", - "2a0d:12c0:2000::/48": "205804", - "2604:8000::/32": "21528", - "2a02:26f0:8101::/40": "20940", - "2a02:26f7:e889::/42": "20940", - "2a04:e00:13::/48": "39855", - "2406:b580::/32": "132296", - "2606:ad00::/32": "25694", - "2803:2e10::/32": "271968", - "2a09:8340::/47": "42275", - "2001:bf0:c000::/35": "29670", - "2408:8459:ff60::/44": "136959", - "240a:ad42::/32": "146044", - "2804:7a58::/32": "271361", - "2a10:c140::/29": "211572", - "2a0c:36c0:2::/48": "202301", - "2402:5300:440::/39": "45903", - "2600:141b:5801::/37": "20940", - "2600:8804:3f07::/32": "22773", - "2602:806:4002::/48": "14032", - "2620:96:4000::/48": "63126", - "2a00:9e20::/32": "60574", - "2a02:26f7:c6c0::/47": "36183", - "2001:579:d224::/41": "22773", - "2408:8456:cc00::/42": "17622", - "2600:140b:cc01::/38": "20940", - "2408:8674::/28": "4837", - "2a02:7260::/29": "201898", - "2a0e:fd45:d40::/42": "44103", - "2c0f:600::/32": "328838", - "2001:559:55f::/42": "7016", - "2803:9620:2501::/32": "265865", - "2001:470:96::/48": "55243", - "2001:559:490::/48": "7922", - "2001:559:8164::/48": "7922", - "2001:c20:7807::/38": "3758", - "2804:7178::/32": "270791", - "2a06:1040::/29": "200648", - "2001:559:12d::/48": "33491", - "2001:4a00::/27": "13285", - "240a:a906::/32": "144960", - "2801:11:f000::/48": "266896", - "2400:9280:10::/48": "59159", - "2401:a580:6::/32": "55403", - "2405:3340:e011::/48": "142437", - "240a:a144::/32": "142974", - "240e:14:6800::/37": "133774", - "2001:678:f3c::/48": "211640", - "2408:8256:3273::/44": "17623", - "2408:8456:cd40::/40": "17816", - "2600:9000:1030::/48": "16509", - "2804:19d0::/32": "61820", - "2a02:4780:3::/45": "47583", - "2001:678:44::/48": "25354", - "2400:cb00:a0c0::/45": "13335", - "2402:800:3d9b::/41": "7552", - "2600:9000:a310::/47": "16509", - "2804:6d34::/32": "53114", - "2a01:50c0:1000::/36": "12843", - "2a02:878:a80e::/48": "42632", - "2a07:a347::/32": "47447", - "2001:fd8:b1f0::/44": "4775", - "2608:140:c::/48": "5927", - "2620:107:9058::/48": "22787", - "2804:37d4::/32": "266438", - "2804:4d98::/32": "268207", - "2a00:fb8:3900::/33": "8881", - "2a01:bfe0::/32": "199997", - "2a0d:4b00::/29": "204943", - "2a0d:5380::/29": "204818", - "2001:dc8:1000::/48": "38736", - "2401:d800:2d30::/38": "7552", - "2a0f:6146::/32": "138398", - "2001:559:87c9::/48": "7015", - "2606:bc00:5000::/32": "19419", - "2806:20d:1d05::/43": "32098", - "240a:a509::/32": "143939", - "2a00:7147:b1::/48": "51430", - "2001:559:791::/48": "33668", - "240a:a546::/32": "144000", - "2a0a:98c0::/29": "208571", - "2001:1690::/32": "20847", - "2409:8a14::/33": "56044", - "240e:ff:b000::/36": "4134", - "2600:0:2::/30": "1239", - "2803:3b80::/47": "263702", - "2a04:100:3000::/29": "49223", - "2405:8a00:4002::/44": "55824", - "2408:8456:40::/39": "17816", - "2804:7c8::/35": "262323", - "2804:5efc::/32": "269069", - "2804:617c::/32": "269237", - "2a02:26f7:d348::/48": "36183", - "2405:17c0:b::/40": "139331", - "240a:a7b1::/32": "144619", - "2604:8380::/35": "29802", - "2a01:c50f:c040::/40": "12479", - "2a02:7be0::/32": "201175", - "2405:9000:81::/44": "7474", - "2a06:1e40::/29": "12941", - "2a01:ac40:2000::/36": "8244", - "2001:559:8785::/48": "7015", - "2a02:26f7:d801::/46": "20940", - "2a02:26f7:df4c::/48": "36183", - "2a07:afc0::/29": "205435", - "2001:b98:205::/29": "5413", - "2804:c7c::/32": "52718", - "2804:6cc8::/32": "270491", - "240a:a7d7::/32": "144657", - "2804:6ad0::/32": "270360", - "2a02:26f0:2201::/37": "20940", - "2a02:26f7:e6c9::/42": "20940", - "240e:438:5040::/38": "4134", - "2620:107:f000::/40": "13541", - "2804:12b4::/32": "263493", - "2a00:d02::/29": "41887", - "2408:8459:4850::/38": "17816", - "240a:a369::/32": "143523", - "2600:100b:9110::/34": "6167", - "2600:1010:b030::/41": "22394", - "2620:149:a13::/48": "714", - "2804:5d0::/32": "28241", - "2806:2f0:9262::/40": "17072", - "2001:648:2c01::/44": "5408", - "2401:cf80:600d::/48": "198949", - "2408:8956:ef40::/40": "17816", - "240a:a30b::/32": "143429", - "2a0d:2581:12::/48": "209261", - "2001:520:1012::/48": "8103", - "2408:8456:ce40::/40": "17816", - "240a:a350::/32": "143498", - "2606:5b00::/38": "29765", - "2801:1d:9000::/48": "264718", - "2a0e:2c0::/29": "47755", - "2605:6800::/32": "11996", - "2801:1fc:12::/48": "27951", - "2804:2418::/32": "264201", - "2a0b:47c0::/29": "204805", - "2a0f:ff00:1912::/48": "213281", - "2001:1248:a900::/42": "11172", - "2610:a1:1018::/48": "397218", - "2804:7aac::/32": "271385", - "2a00:a1a0::/32": "41885", - "2a0c:8440::/48": "205296", - "2a0e:b107:198::/48": "207740", - "2400:f6c0::/45": "136530", - "2409:8087:1000::/38": "9808", - "2800:300:89e0::/43": "27651", - "2001:559:82f3::/48": "33287", - "2605:7a40::/32": "398135", - "2606:c00::/42": "9505", - "2800:160:1e57::/44": "14259", - "2a0c:e642::/44": "211323", - "2001:44b8:405c::/48": "7545", - "2403:d200::/32": "45230", - "2405:3200:102::/37": "17639", - "2606:2800:420e::/47": "14210", - "2606:6c00:2::/48": "32787", - "2620:1ec:901::/45": "8075", - "2a02:26f7:df8c::/48": "36183", - "2a10:1c0::/29": "207297", - "2c0f:ea98::/32": "37347", - "2001:470:ff::/39": "6939", - "2402:3a80:c037::/44": "38266", - "2a0a:e202:800b::/48": "33438", - "2001:fd8:60::/48": "132199", - "2401:ee00:401::/39": "23951", - "2405:a000::/43": "7693", - "2607:f738:600::/41": "17184", - "2a00:bda0::/32": "42525", - "2a02:2010:2320::/45": "20978", - "2a06:3840::/29": "204182", - "2c0f:f888:8000::/33": "37119", - "2001:67c:23fc::/48": "41352", - "2403:71c0::/48": "43959", - "2600:1012:a120::/36": "22394", - "2620:109:3000::/45": "29888", - "2803:6f40::/32": "265641", - "2a02:26f7:fb48::/48": "36183", - "2a03:ec80::/48": "211220", - "2402:8100:3880::/42": "55644", - "2605:380:32::/48": "42473", - "2620:52:e000::/48": "32995", - "2804:16a8::/32": "52817", - "2a00:d8a0::/29": "44332", - "2a05:3182::/29": "34580", - "2400:5280:2800::/38": "63199", - "240a:a35a::/32": "143508", - "240e:980:2200::/40": "58466", - "2a05:1083:1103::/48": "142280", - "240a:a0c8::/32": "142850", - "2804:607c::/32": "269170", - "2a03:5a00:39::/48": "203517", - "2a04:4a43:4000::/35": "206067", - "2a0f:f340::/32": "208164", - "2001:c20:a006::/35": "3758", - "2409:8c50:402::/36": "56047", - "2620:11a:a0f2::/44": "43515", - "2402:800:9863::/43": "7552", - "2404:4880::/32": "135069", - "2a00:1ca8:8a::/43": "50673", - "2a02:408:8093::/48": "35295", - "2a07:85c2::/48": "174", - "2a0a:a7c0::/29": "50966", - "2408:8459:3a40::/37": "17816", - "2605:2e00::/36": "63017", - "2607:180::/32": "395663", - "2a02:2330:b2::/48": "34073", - "2402:800:5efe::/34": "7552", - "2a07:6d40::/29": "44592", - "2401:4900:1c20::/46": "24560", - "240a:a87c::/32": "144822", - "2800:160:1762::/44": "14259", - "2a02:26f7:bf04::/48": "36183", - "2c0f:e870::/32": "60171", - "2001:559:8640::/46": "7015", - "2402:9e80:60::/48": "138351", - "2804:1e38:4001::/45": "264415", - "2806:230:402d::/48": "11888", - "2a02:2878::/33": "42699", - "2a0f:5707:b101::/48": "211684", - "2406:cb41::/48": "395092", - "2600:140f:a001::/38": "20940", - "2600:1488:a401::/42": "20940", - "2620:12d:e02f::/48": "3356", - "2403:ad80:3c00::/38": "134835", - "2406:de00:100::/38": "18225", - "2600:1407:3800::/48": "35994", - "2800:110:3405::/36": "4270", - "2a02:26f7:db00::/48": "36183", - "2a0b:bc0::/29": "62455", - "2001:df5:5480::/48": "141412", - "2610:a1:1081::/48": "397228", - "2a01:d8:9::/32": "5537", - "240a:ad7d::/32": "146103", - "2607:fb10:2023::/45": "55095", - "2620:115:c00e::/47": "2635", - "2800:160:10f5::/39": "14259", - "2806:2f0:7141::/42": "17072", - "2403:b800:1000::/48": "45671", - "240a:aa18::/32": "145234", - "2602:fd81::/36": "32018", - "2602:fed2:7309::/48": "20473", - "2602:feda:2b8::/45": "138210", - "2607:f778:c300::/34": "32035", - "2803:b700::/32": "262262", - "2a01:488:bb06::/48": "39779", - "2001:559:c179::/48": "33652", - "2001:cd8::/33": "4780", - "2001:df2:7180::/48": "139904", - "2001:b400:f418::/45": "17421", - "2404:9d80::/32": "59249", - "2604:2c80::/32": "6591", - "2401:d800:9c10::/42": "7552", - "240a:ad8b::/32": "146117", - "2a0a:dc07::/32": "39142", - "2804:5abc::/32": "268792", - "2a02:26f7:d60d::/42": "20940", - "2a03:6660::/32": "43287", - "2001:df3:804::/44": "22787", - "2a09:bac0:34::/47": "13335", - "2a0f:4540::/29": "47362", - "2a01:5240::/31": "58243", - "2a02:ff0:c00::/40": "12735", - "2a0e:97c0:36f::/48": "211484", - "2001:559:8476::/48": "7016", - "2a06:6240::/29": "20643", - "2a06:b280::/47": "199213", - "2001:df5:1e80::/48": "137650", - "2402:c000:2::/34": "9230", - "240a:a0ab::/32": "142821", - "2605:c3c0:e000::/35": "393954", - "2a00:1f10::/32": "198682", - "2408:8456:a440::/38": "17816", - "2804:11bc:c000::/38": "263435", - "2001:559:c105::/48": "33659", - "2001:1438::/32": "8881", - "2405:1c0:7962::/38": "55303", - "2620:11b:1000::/40": "32274", - "2800:320:404::/44": "27882", - "2a00:1ec8:26::/47": "2854", - "2a04:5b81:2010::/44": "202265", - "2001:67c:2878::/48": "8881", - "2620:10f:3000::/40": "6510", - "2803:f60::/32": "269832", - "2804:149c::/32": "262643", - "2804:7238::/32": "270840", - "2806:2f0:4321::/41": "17072", - "2a0c:9a40:1001::/48": "34927", - "2a0f:9400:7565::/48": "142588", - "2806:320:200::/32": "28438", - "2001:1900:3012::/48": "6086", - "2406:8dc0:2100::/40": "212425", - "240e:e1:8000::/36": "4811", - "2803:d540::/32": "8053", - "2804:2ca4::/33": "265232", - "2a00:5140::/32": "42707", - "2a05:d000:a000::/40": "16509", - "2001:67c:17a8::/48": "24660", - "2406:ae00::/39": "55564", - "2600:1415:8801::/35": "20940", - "2607:8480:8000::/33": "22639", - "2804:1a4c::/32": "61851", - "2804:4b30::/32": "267289", - "2a07:e02:1400::/40": "210083", - "2001:4868:905::/48": "7046", - "2402:ce00::/31": "7700", - "2403:c00:a00::/39": "17488", - "2600:100::/28": "32703", - "2604:a200::/32": "13614", - "240a:a8a0::/32": "144858", - "240e:983:1e06::/48": "4816", - "2804:59f0::/32": "268735", - "2001:559:832b::/48": "7922", - "2408:80ea:7600::/41": "17816", - "2408:8956:6b00::/40": "17816", - "240c:6:3::/48": "24445", - "2806:20d:5a0e::/39": "32098", - "2001:470:33::/48": "14613", - "2600:1f01:4840::/47": "16509", - "2604:f840::/32": "397026", - "2801:f0:20::/48": "13679", - "2a02:cb80:1040::/48": "43766", - "2a05:4f44::/30": "31012", - "2a0b:6f80:fff::/48": "211196", - "2001:559:c14f::/48": "7922", - "2408:8206:84c0::/39": "4808", - "2620:4f:8000::/48": "112", - "2804:f9c::/32": "263595", - "2804:60f0::/32": "269201", - "2a02:16d8:104::/46": "5518", - "2a02:6a80:5300::/48": "197997", - "2a10:52c0::/48": "60078", - "240a:a41e::/32": "143704", - "2607::/32": "19016", - "2800:160:148e::/43": "14259", - "2804:3808::/32": "266451", - "2a07:5cc1::/32": "197595", - "2001:1938:2100::/45": "12989", - "2620:4d:400b::/45": "62597", - "2803:2e60::/32": "267920", - "2600:1400::/45": "20940", - "2605:bec0::/32": "32313", - "2607:f2b1::/43": "3614", - "2001:678:634::/48": "204345", - "2804:1d68::/32": "264367", - "2804:2140:1802::/32": "53059", - "2a02:9e0::/32": "25459", - "2408:8956:b400::/40": "17622", - "2804:40d4::/32": "265984", - "2804:811c::/32": "272433", - "2a09:bac0:4::/48": "13335", - "2a0f:5707:aa40::/44": "48126", - "2604:6000::/32": "11351", - "2a0d:3842:1080::/48": "57629", - "2001:648:2c10::/48": "8762", - "2a0e:97c3:a6::/48": "20473", - "2001:44b8:30af::/48": "4739", - "240a:a9a6::/32": "145120", - "2a02:26f7:f484::/48": "36183", - "2a03:9180:2::/47": "199813", - "2a04:dc80::/29": "49788", - "240e:438:8620::/43": "140647", - "2605:a401:8213::/41": "33363", - "2606:8900::/44": "33044", - "2804:63c4::/32": "269382", - "240e:570::/28": "4134", - "2600:1417:19::/48": "20940", - "2800:390::/32": "25620", - "2a02:17c8::/32": "39648", - "2a02:f040:7::/48": "59605", - "2a03:7380:7380::/42": "13188", - "2a0b:bb80::/32": "201787", - "2406:1840::/32": "140641", - "2a02:26f7:cd88::/48": "36183", - "2001:559:7d1::/48": "7016", - "2001:7f8:49::/48": "20530", - "2400:cb00:a610::/48": "13335", - "2a00:1528::/39": "6696", - "2a0e:d9c0::/29": "39287", - "2001:678:fd8::/48": "29670", - "2605:4300:ff00::/40": "62907", - "2804:6e50::/32": "270588", - "2a04:f580:9230::/48": "4809", - "2408:8957:700::/40": "17816", - "240a:a4dd::/32": "143895", - "2804:58e0::/32": "268155", - "2a03:3320:4::/48": "8670", - "2001:380::/32": "4713", - "2001:559:790::/48": "33659", - "2001:1998:610::/41": "7843", - "2409:8c14:2e00::/35": "9808", - "2605:3840::/32": "53451", - "2804:11a4::/32": "53243", - "2a02:26f7:ebc9::/42": "20940", - "2a11:8f00::/29": "60345", - "2001:559:c0e3::/48": "33287", - "2001:559:c2e9::/48": "7922", - "2001:559:c3cd::/48": "33657", - "2001:df1:e500::/48": "63773", - "2401:1d40:3f03::/40": "59019", - "2800:8c0::/32": "18840", - "2409:8924:3d00::/33": "56046", - "2a05:5504:1::/44": "8218", - "2400:1c00:1a0::/43": "45143", - "2804:2490::/32": "264230", - "2a07:4dc0::/29": "14576", - "2405:b40:43::/45": "55674", - "2804:68fc::/32": "270241", - "2a00:1420::/32": "44993", - "2a02:c58::/32": "29217", - "2a02:26f7:d28d::/42": "20940", - "240a:ad6d::/32": "146087", - "2804:7de0::/32": "271588", - "2a03:5a00:4::/48": "34518", - "2a09:c3c0::/29": "209102", - "2408:8957:2840::/40": "17622", - "2409:8c1f:c340::/34": "9808", - "2603:5:2100::/38": "44273", - "2a00:8647::/32": "31056", - "2a02:26f7:e3c9::/46": "20940", - "2408:8459:6e10::/42": "17623", - "240a:af5b::/32": "146581", - "2800:9b0::/32": "52342", - "2804:4d28::/32": "267415", - "2a02:4240::/32": "50266", - "2a03:1780::/32": "34173", - "2001:559:8578::/48": "33651", - "2001:b28:999a::/34": "42065", - "240a:ad12::/32": "145996", - "2607:f6f8::/32": "30170", - "2804:39a0::/32": "266040", - "2408:8256:2f80::/44": "17623", - "2606:6240::/44": "398447", - "2401:3240:63::/48": "63490", - "240a:adbc::/32": "146166", - "2605:1c00:fff0::/44": "16787", - "2607:fb10:2015::/42": "2906", - "2804:4614:c000::/34": "266967", - "2a0a:3900::/29": "201978", - "2620:104:1f::/48": "6356", - "2804:644::/32": "53225", - "2a02:26f7:bd41::/46": "20940", - "2a09:c180::/29": "209707", - "2a0d:77c7:2241::/35": "7489", - "2001:500:31::/48": "393220", - "2604:a180:5000::/36": "22933", - "2607:a800:206::/48": "15695", - "2804:75d0::/32": "271071", - "2a02:26f7:ed44::/48": "36183", - "240a:a6aa::/32": "144356", - "2a0a:2842:af00::/46": "42962", - "2001:559:84be::/48": "33657", - "2401:d800:5c20::/41": "7552", - "2a04:ad80:2::/48": "60011", - "2001:559:5e1::/46": "22909", - "2001:559:8596::/48": "7922", - "2620:13b:3020::/48": "13607", - "2804:1efc::/36": "264458", - "2a10:a700::/46": "212329", - "2001:388:3031::/41": "7575", - "2001:18c8:400::/40": "54519", - "2001:43f8:610::/48": "37419", - "2401:4900:4abb::/48": "45609", - "2401:d800:5e30::/41": "7552", - "2605:4ac0::/32": "23503", - "2800:160:3::/45": "14259", - "2400:fc00:87c0::/36": "45773", - "2620:122:a000::/40": "394485", - "2a0c:9a40:1::/48": "34927", - "2001:559:18c::/46": "33651", - "2a00:fbe0::/32": "62113", - "2a04:4e40:cc10::/44": "54113", - "2409:8e39::/25": "9808", - "240a:a8e6::/32": "144928", - "2804:3fe4::/32": "26616", - "2a00:1ec0:4000::/32": "8544", - "2409:8087:5700::/40": "56040", - "2800:650::/45": "28032", - "2a02:2858::/29": "8315", - "2409:8904:8640::/39": "24547", - "2803:4b80::/32": "27940", - "2a02:26f7:ea::/48": "36183", - "2a04:4e40:ca10::/44": "54113", - "2a04:7700::/29": "207203", - "2001:678:b5c::/48": "60033", - "2605:a404:180::/42": "33363", - "2804:3278:c000::/34": "265080", - "2a07:e480::/48": "202261", - "2400:8800:4101::/40": "3491", - "2a00:cd0::/35": "48173", - "2600:5400:cd01::/38": "19108", - "2a07:a343:aee0::/44": "9009", - "2a09:28c0::/48": "25540", - "2a0b:97c0::/29": "58067", - "2001:5002:300:2::/27": "1273", - "2600:370f:74a5::/41": "32261", - "2001:559:49::/48": "33491", - "2001:67c:19ac::/48": "48919", - "2408:8256:3b6b::/48": "17816", - "2800:370:53::/44": "28006", - "2a02:26f7:fb08::/48": "36183", - "2a03:a060::/32": "203538", - "2001:4898:8020::/48": "8071", - "2001:4b20:100:667::/64": "65505", - "2401:d800:d5f0::/38": "7552", - "2804:19fc::/32": "61830", - "2401:ee00::/40": "23951", - "2406:9dc0:6668::/48": "140936", - "2620:119:10::/46": "36692", - "2806:250:6::/47": "28554", - "2001:4580::/26": "4780", - "240a:a4a6::/32": "143840", - "240e:438:8020::/43": "140647", - "2001:678:7e0::/48": "200306", - "2602:fe6a::/44": "54632", - "2803:f240::/32": "61508", - "2804:1454::/32": "263325", - "2a02:26f7:f6e1::/48": "36183", - "2a0c:2140::/29": "31617", - "2409:8915:5400::/39": "56044", - "2a03:db80:4410::/48": "5501", - "240e:920::/30": "140061", - "2a0f:df00::/48": "41281", - "2001:67c:2050::/48": "199118", - "2800:160:1ffb::/34": "14259", - "2a02:26f7:c189::/42": "20940", - "2a09:bac0:213::/48": "13335", - "2001:67c:2218::/47": "2485", - "2606:f280::/34": "46261", - "2803:f680::/32": "263230", - "2804:37a8:1206::/43": "266428", - "2804:562c::/32": "267981", - "2001:678:7a8::/48": "13037", - "2001:1388:7bb1::/32": "6147", - "2a00:fc00:e000::/48": "50392", - "2001:4060:4053::/32": "6772", - "2409:8010:2900::/35": "9808", - "2804:51cc::/32": "268478", - "2a0c:7780::/29": "21263", - "2a05:3580:f400::/39": "35807", - "2001:678:36c::/48": "3320", - "2406:daa0:8080::/44": "16509", - "2607:f110:ea20::/35": "21889", - "2804:14a0::/32": "263340", - "2804:2178::/33": "264556", - "2a00:a200::/32": "5520", - "2a02:26f7:bc45::/46": "20940", - "2a07:c387::/32": "5578", - "2001:559:c27f::/48": "7922", - "2001:4888:8054::/47": "6167", - "2408:8459:a410::/42": "17623", - "2801:0:480::/48": "27817", - "2a01:40:494a::/32": "5459", - "2a04:bc40:1dc9::/63": "35277", - "2a06:a281::/32": "49117", - "2402:e80:24::/48": "23901", - "2604:a00:15::/46": "19318", - "2620:0:f0::/48": "26523", - "2804:6004::/32": "269140", - "2620:10a:80aa::/48": "55195", - "2804:33a4::/32": "265409", - "2a02:ee80:4140::/43": "3573", - "2a03:2880:f222::/43": "32934", - "2a05:4200:a::/45": "21534", - "2a02:26f7:fa09::/42": "20940", - "2001:4888::/43": "6167", - "240a:a727::/32": "144481", - "2600:9000:2250::/46": "16509", - "2605:9500:b001::/48": "14244", - "2620:117:2000::/40": "194", - "2804:14c:3bc3::/42": "28573", - "2804:619c::/32": "269245", - "2001:559:727::/48": "33287", - "2602:ffb0:16::/48": "20473", - "2a02:c00::/32": "12316", - "2a02:7960::/48": "39710", - "2a03:61a0::/32": "202719", - "2a03:b500:100::/34": "41135", - "2001:df0:3980::/48": "135942", - "2408:8456:7c00::/42": "17622", - "2604:3700::/48": "10973", - "2a00:1f68::/32": "50919", - "2a01:8840:c9::/48": "207266", - "2a05:4140:440::/48": "213388", - "2402:800:570f::/43": "7552", - "2804:76d8::/32": "271138", - "2a00:10e8::/46": "44574", - "2001:400:8818:51::/42": "293", - "240e:b1:f800::/30": "4134", - "240e:982::/39": "136195", - "2a09:80c0::/29": "209335", - "2408:80e0:4000::/32": "4808", - "240a:a49d::/32": "143831", - "2804:79b8::/32": "271323", - "2803:6604:c401::/39": "28075", - "2a02:26f7:bf81::/46": "20940", - "2001:559:37c::/48": "7016", - "240a:a45c::/32": "143766", - "2600:6c39:608::/30": "20115", - "2600:6c7f:93a0::/44": "19115", - "2610:b0:411a::/41": "3573", - "2a02:26f7:f109::/42": "20940", - "2a09:95c0::/48": "209562", - "2001:1248:558a::/43": "11172", - "2407:1e40:601::/36": "141732", - "240a:a140::/32": "142970", - "2600:5c01:3045::/39": "10796", - "2604:880:32::/48": "29802", - "2607:ca80::/32": "395475", - "2804:49e0::/32": "267206", - "2401:ff80:1693::/39": "133954", - "240a:aa2a::/32": "145252", - "2605:aa40:c1e0::/48": "18792", - "2804:640:102::/43": "262713", - "2804:599c::/32": "268713", - "2a00:1c78:1::/48": "49340", - "2a09:5440::/29": "199163", - "2001:559:84a5::/46": "7922", - "2001:fd8:3010::/44": "4775", - "2001:4878:2215::/46": "12222", - "2607:f6f0:a004::/40": "16553", - "2a0d:e000::/29": "59682", - "2001:500:6d::/46": "30133", - "2604:8540:fc00::/48": "33353", - "2607:fdf0:5e7d::/40": "8008", - "2804:138b:b0c2::/42": "53037", - "2602:fd60:11::/48": "49134", - "2606:f180::/48": "64286", - "2a01:5e80::/32": "42789", - "2405:9d40::/48": "140399", - "2600:1fa0:5040::/44": "16509", - "2a04:5b80:100::/48": "16509", - "2a09:300::/29": "209899", - "240a:af0a::/32": "146500", - "2406:4e40:201::/39": "140966", - "2409:8904:37a0::/36": "24547", - "240e:44d:3800::/41": "140345", - "2607:fb10:7062::/43": "2906", - "2a03:2880::/34": "32934", - "2001:559:868d::/46": "7922", - "240a:af93::/32": "146637", - "2602:fdd3::/36": "46573", - "2a03:b8c0:2::/45": "202276", - "2001:559:c109::/48": "13367", - "2800:370:61::/48": "28006", - "2409:8a50:1100::/31": "56047", - "2600:370f:33c0::/46": "32261", - "2a0c:b641:280::/44": "60240", - "2a0c:b641:510::/48": "209586", - "2803:41e0::/32": "269995", - "2804:14c:a900::/40": "28573", - "2a00:f460::/32": "28968", - "2a0e:46c4:2940::/48": "138435", - "2600:6c39:505::/38": "20115", - "2607:ff28:6000::/32": "62904", - "2a03:4da0::/32": "25341", - "2a11:c80::/29": "208861", - "2001:559:45a::/47": "33657", - "2001:559:c0e4::/47": "33651", - "240a:a88b::/32": "144837", - "2a02:26f7:c180::/48": "36183", - "2001:559:c2d3::/48": "33652", - "2606:8e80:64::/48": "32133", - "2a00:1ca8:2c::/48": "206264", - "2409:8000:301b::/40": "9808", - "2600:140f:d800::/48": "55836", - "2806:20d:100d::/39": "32098", - "2a02:26f0:1e00::/48": "34164", - "2a0f:d601::/29": "208236", - "2001:559:8056::/48": "33491", - "2001:559:8243::/48": "33659", - "2001:45b1:1000::/28": "4780", - "2605:2180:911::/32": "12422", - "2804:744::/32": "262632", - "2804:2c64::/32": "265215", - "2a01:4a0:51::/45": "201011", - "240a:af4e::/32": "146568", - "2a00:a320::/32": "39605", - "2a02:b48:800c::/46": "39572", - "2a04:5d00:80::/48": "206754", - "2a05:50a7::/32": "62445", - "2a0d:9a00::/32": "39401", - "2804:4a78::/32": "267242", - "2a09:c80::/29": "41743", - "2001:559:34c::/47": "33651", - "240a:a9ad::/32": "145127", - "2604:ca00:1100::/41": "36492", - "2804:2c38::/32": "265204", - "2804:48bc::/32": "267141", - "2a05:2ec0::/29": "34580", - "2001:d10:840a::/45": "4787", - "2001:12e0:2000::/36": "10429", - "2409:805f:2100::/35": "9808", - "240e:1e:3000::/36": "4134", - "2606:4700:140::/36": "13335", - "2804:6528::/32": "269472", - "2001:480:ab::/45": "668", - "2001:67c:14a4::/48": "42191", - "2620:104:2001::/46": "40185", - "2a02:23b8::/32": "25003", - "2404:b0::/44": "4750", - "2603:90f5:7::/48": "11351", - "2a01:cf00::/42": "2278", - "2401:d800:79f0::/38": "7552", - "2800:430:a000::/33": "23487", - "2a03:d7c0::/29": "42695", - "2a0c:6fc0::/40": "198755", - "240a:a3df::/32": "143641", - "240e:3b3:9c00::/34": "140310", - "2605:a401:804a::/43": "33363", - "2a02:26f7:d948::/48": "36183", - "2404:2280:1be::/48": "24429", - "2600:370f:5208::/42": "32261", - "2607:f928:15::/48": "14085", - "2804:10:9000::/33": "28299", - "2a0a:c340::/32": "12996", - "2001:678:48c::/48": "50775", - "2001:678:e90::/48": "8447", - "2408:8000:a000::/43": "4837", - "240a:ad56::/32": "146064", - "2620:1ec:25::/46": "8075", - "2803:f340:1100::/36": "14754", - "2a00:1728::/47": "34224", - "2a0e:fd45:40fd::/48": "61138", - "240a:a48a::/32": "143812", - "240a:a565::/32": "144031", - "2600:1fa0:8140::/44": "16509", - "2620:113:8083::/41": "3680", - "2a02:26f7:d881::/46": "20940", - "2402:800:f260::/40": "7552", - "2408:84f3:3620::/43": "17816", - "2606:b400:8020::/48": "1219", - "2607:f750:700::/36": "23473", - "2404:1c40:6::/48": "24432", - "2a02:26f7:b9c4::/47": "36183", - "2600:6c38:d09::/43": "20115", - "2800:160:13e7::/43": "14259", - "2804:46f0:21::/41": "267021", - "2a02:450::/36": "34372", - "2a03:6087::/32": "16285", - "2001:4878:4225::/48": "12222", - "2600:6c38:8a::/45": "20115", - "2a0b:6bc0::/47": "43197", - "2409:8a52:900::/38": "56047", - "240e:84c:10::/42": "4134", - "2a0c:a580::/29": "62206", - "2001:559:8215::/48": "33657", - "2400:8500:6703::/48": "7506", - "2408:8957:b300::/40": "17816", - "2607:fe28:20b1::/41": "53347", - "240e:980:4400::/40": "134768", - "2607:f098:4100::/34": "33363", - "2a01:5800::/32": "39608", - "2a02:26f7:c404::/48": "36183", - "2a02:26f7:fb44::/48": "36183", - "2804:b10::/32": "52936", - "2001:559:828c::/47": "33660", - "2400:89c0:1130::/44": "37936", - "2404:4a00:1:1::/48": "45629", - "2408:8256:3d69::/48": "17816", - "2409:805c:3071::/40": "9808", - "2605:ed00:4c71::/34": "11427", - "2801:168:2::/48": "61554", - "2804:3330::/48": "265380", - "2806:2a0::/45": "28548", - "2a02:26f7:90::/48": "36183", - "2001:559:8273::/48": "7725", - "2001:44b8:6050::/48": "7545", - "2404:f4c0:f306::/48": "139299", - "240a:a8ae::/32": "144872", - "2620:11e:3050::/44": "395686", - "2a02:f48:2100::/40": "44515", - "2a0d:6140::/29": "8823", - "2001:67c:2380::/48": "20897", - "2001:df0:c780::/48": "134862", - "2400:7fc0::/40": "55960", - "2600:1fa0:6040::/44": "16509", - "2a01:9700:13ac::/46": "8376", - "2a02:26f7:bf84::/48": "36183", - "240e:3b6:9c00::/34": "140310", - "2620:bc:4000::/48": "394858", - "2a02:26f7:d2c0::/48": "36183", - "2001:559:4c::/48": "7922", - "240a:aec3::/32": "146429", - "240e:ff:c008::/48": "140310", - "2620:7f:e000::/48": "394719", - "2804:269c:fe10::/48": "47065", - "2001:559:81a4::/48": "7922", - "2804:2d80:ab00::/33": "262378", - "2806:230:4017::/48": "11888", - "2a00:1388:1000::/40": "8328", - "2001:559:c232::/48": "33660", - "2401:d800:7280::/42": "7552", - "2803:b100::/32": "52392", - "2a03:a1a0::/32": "201004", - "2a00:7143:102::/29": "51430", - "2a0e:b105:62c::/46": "20473", - "2605:3600:a::/48": "30452", - "2a01:8180:1000::/36": "21150", - "2a07:20c0::/29": "48602", - "2604:d600:1238::/45": "32098", - "2804:3de8::/33": "266562", - "2806:230:400e::/48": "265594", - "2a03:cdc0::/35": "31034", - "2001:1248:7074::/44": "11172", - "2406:e5c0::/32": "4782", - "2803:c010::/48": "271799", - "2804:1e54::/32": "52746", - "2405:1c0:6811::/45": "135062", - "240a:ad21::/32": "146011", - "240a:ad84::/32": "146110", - "240e:438:3820::/43": "140647", - "2620:104:4004::/48": "15248", - "2a02:540:6::/32": "35432", - "2a07:6cc0:50::/48": "61098", - "2402:ef2e:b::/31": "7633", - "2804:e34::/36": "61889", - "2a02:26f7:ca04::/48": "36183", - "2001:559:c0df::/42": "33659", - "2620:125:d002::/47": "394956", - "2804:1200::/32": "263450", - "2804:37f0:6100::/35": "266445", - "2c0f:e9f0::/32": "328748", - "2403:a2c0:128::/47": "131662", - "2600:6c58::/32": "20115", - "2a02:26f7:e788::/48": "36183", - "2a0c:b200::/29": "39782", - "2001:559:86bc::/48": "33287", - "2001:918:ffab::/43": "3303", - "2606:26c0::/32": "63033", - "2620:10a:80d1::/48": "27299", - "2806:230:1100::/46": "265594", - "2001:1388:6644::/35": "6147", - "240a:a06c::/32": "142758", - "2600:c04:1024::/32": "10912", - "2a00:cb00::/32": "25144", - "2a04:4e40:5400::/48": "54113", - "2001:520:1007::/48": "8103", - "2001:559:8246::/48": "33491", - "2001:44b8:604d::/48": "4739", - "2606:4100::/32": "11745", - "2607:ffa0::/47": "19355", - "2620:12f:100e::/48": "396279", - "2a01:8640:f::/48": "59711", - "2409:8924:7500::/38": "56046", - "2607:fb10:70f0::/44": "55095", - "2804:14d:90ab::/45": "28573", - "2806:370:7000::/44": "28403", - "2a02:188:1004::/48": "5491", - "2403:6d00:cf::/35": "56094", - "2602:808:b001::/48": "40417", - "2804:534:667::/32": "22177", - "2806:2f0:2421::/46": "22884", - "2408:8456:6e40::/39": "17816", - "240a:a9b6::/32": "145136", - "240e:6b6:4000::/36": "140310", - "2a0a:54c1:57::/44": "62240", - "2001:559:25b::/45": "33652", - "2800:3f0:4006::/32": "15169", - "2408:883a:7c0::/32": "4837", - "2804:8220::/32": "272500", - "2a02:26f7:eccc::/48": "36183", - "2408:84f3:b440::/38": "17816", - "2a03:5900::/44": "31126", - "2401:2d00:10::/48": "17625", - "2409:8b71::/29": "9808", - "2804:5b5c::/32": "268837", - "2401:5281:3800::/38": "63199", - "2402:800:3eb1::/44": "7552", - "2408:8459:c930::/41": "17622", - "240a:a996::/32": "145104", - "2800:160:11a4::/43": "14259", - "2a03:d640::/32": "24713", - "2408:8459:8030::/41": "17622", - "2408:8956:4500::/40": "17816", - "2600:6c38:840::/46": "20115", - "2606:4000:300::/40": "11074", - "240a:a464::/32": "143774", - "2a05:544::/31": "206766", - "240e:473:8b20::/41": "140486", - "2800:c20::/32": "28110", - "2804:15dc::/32": "263415", - "2a09:bf80::/40": "12213", - "240a:a09f::/32": "142809", - "2a02:9b0:1e::/42": "64105", - "2602:ffc5:190::/48": "7489", - "2803:9800:b501::/45": "11664", - "2804:4338::/32": "267556", - "2001:559:c34c::/48": "33287", - "2001:ddc::/48": "133874", - "2001:48a8::/33": "237", - "2409:8028:30f1::/44": "56041", - "2804:998:2::/43": "28589", - "2a0e:b107:159a::/48": "142598", - "2c0f:f6b0::/32": "327728", - "2001:1388:2482::/44": "6147", - "2409:8904:6770::/40": "24547", - "2804:3724::/32": "266392", - "2804:4b00::/32": "267277", - "2a00:79e0::/39": "45566", - "2a02:26f7:b99c::/48": "36183", - "2a0e:2a80::/29": "207902", - "2803:1d80::/32": "61481", - "2804:2348::/32": "264153", - "2401:afc0::/32": "133300", - "2408:8256:3560::/44": "17623", - "240a:a200::/32": "143162", - "240e:108:85::/48": "133774", - "2804:775c::/32": "271173", - "2804:7818::/32": "271220", - "2a0b:c800:1::/45": "8637", - "2001:c20:4806::/41": "3758", - "2400:f6::/32": "4766", - "2600:370f:37e1::/45": "32261", - "2402:9e80:29::/48": "142266", - "2409:804c:3002::/40": "9808", - "2600:9000:113b::/45": "16509", - "2a00:e10::/34": "61157", - "2409:804d:3900::/30": "9808", - "2a02:29ab:1::/29": "60142", - "2a0e:46c3:100::/40": "204982", - "2001:67c:2f6c::/48": "15626", - "2602:fcf6:102::/48": "51999", - "2a0a:ec02:101::/48": "42692", - "2401:d800:d840::/42": "7552", - "2610:1c8:1c::/32": "23393", - "2801:80:3890::/48": "270327", - "2804:4b98:e000::/35": "267317", - "2a02:2a30::/29": "9158", - "2806:310:130::/40": "16960", - "2a06:e881:1705::/46": "206813", - "2a07:9444::/30": "202682", - "2a0b:31c0::/45": "205726", - "2a06:14c0::/32": "213211", - "2001:559:8a::/48": "21508", - "2001:559:8402::/48": "7015", - "2001:12f8:6::/47": "53035", - "2409:8004:3900::/31": "24547", - "2409:8070:1900::/34": "9808", - "2a02:26f7:cd41::/46": "20940", - "2a03:82e0::/35": "200991", - "2001:918:1ac::/36": "3303", - "2602:ff84:10::/46": "36351", - "2606:b580::/32": "18897", - "2a03:1e40::/32": "197799", - "2001:44b8:4062::/48": "7545", - "2600:1409:b::/48": "20940", - "2606:2800:4a98::/46": "15133", - "2a02:618::/45": "20485", - "2a02:26f7:d101::/46": "20940", - "2a0c:b641:730::/44": "207338", - "2402:d000:143::/35": "9329", - "2408:8459:c950::/38": "17816", - "2804:7108::/32": "52881", - "2a01:288:4008::/48": "198941", - "2a0f:b100:40::/48": "211672", - "2801:1e:e800::/48": "262186", - "2a00:df8::/32": "24753", - "2a02:26f7:cb41::/46": "20940", - "2a02:26f7:d300::/48": "36183", - "2a04:2740::/29": "31169", - "2401:d800:b820::/41": "7552", - "240a:a87d::/32": "144823", - "2401:4900:4f00::/45": "45609", - "2600:6c38:455::/46": "20115", - "2604:6400:4520::/38": "29974", - "2800:160:1185::/44": "14259", - "2a05:2d07::/32": "198507", - "2a0a:3440::/29": "207092", - "2001:559:ce::/47": "7922", - "2408:8957:9e00::/40": "17622", - "2a02:26f7:f6e9::/48": "36183", - "2400:cb00:109::/48": "13335", - "2402:800:510f::/43": "7552", - "2408:8957:4200::/40": "17622", - "2803:a520::/32": "266685", - "2804:4920::/32": "267166", - "2804:5218::/32": "268494", - "2a00:f28::/43": "15802", - "240a:a0f6::/32": "142896", - "240a:a2f3::/32": "143405", - "2600:1416:1001::/36": "20940", - "2001:43f8:1070::/48": "328174", - "2409:8020:91::/42": "56046", - "240e:95d:1000::/37": "136191", - "2804:20dc::/32": "264517", - "2804:5b38::/32": "52842", - "2804:6fa8::/32": "270675", - "2a09:d400::/32": "41001", - "2001:67c:540::/48": "3301", - "2402:900::/32": "131459", - "2607:fb91:7a00::/28": "21928", - "2620:171:17::/44": "42", - "2001:dc3::/32": "7500", - "2600:140f:e400::/48": "9498", - "2604:d600:c7b::/45": "32098", - "2a02:910::/32": "43070", - "2001:15c8::/32": "20495", - "2401:d800:b150::/42": "7552", - "240a:a0da::/32": "142868", - "2804:18::/35": "26599", - "2a01:5b8::/29": "16333", - "2a02:26f7:c488::/48": "36183", - "2402:3800::/32": "7503", - "2405:1c0:6843::/43": "55303", - "2408:8456:4240::/37": "17816", - "2607:f790:fff0::/48": "62588", - "2a00:1eb8:e000::/45": "8764", - "2a00:afa0::/32": "62210", - "240a:a1bb::/32": "143093", - "2600:6000:faac::/48": "11351", - "2804:1ea0::/32": "264440", - "2a0d:8980::/29": "42237", - "2a0e:b107:1573::/48": "38281", - "2001:df4:5c00::/48": "135724", - "2409:8907:7e20::/39": "24547", - "2a02:e48::/32": "5379", - "2001:67c:6ec::/48": "1101", - "2001:12f0:b18::/42": "1916", - "2600:380:c600::/39": "20057", - "2804:6f5c::/32": "270655", - "2a0d:2680:1100::/43": "20473", - "2405:9800:b860::/40": "45430", - "240a:a9c6::/32": "145152", - "2604:c980::/32": "33438", - "2a02:e980:170::/40": "19551", - "2a03:4920::/32": "42652", - "2001:fd8:2120::/43": "4775", - "2800:160:1f0d::/43": "14259", - "2a0c:7100::/29": "40970", - "2a0e:97c0:1b0::/48": "211840", - "2001:579:5384::/41": "22773", - "2600:6000:f97e::/48": "11351", - "2607:fb90:1000::/36": "21928", - "2800:190:9::/40": "11664", - "2804:17bc::/32": "52739", - "2806:288:4092::/48": "28469", - "2001:240::/32": "2497", - "2001:590:3800::/46": "3257", - "240e:3b1:3e00::/33": "140308", - "2603:4:1400::/48": "44273", - "2607:fdb8:22::/43": "30496", - "2001:559:3dd::/48": "33652", - "240a:ac8e::/32": "145864", - "240d:c040::/44": "132203", - "2a01:3f1:3400::/33": "8674", - "2a01:6880::/32": "13121", - "2a04:7cc0::/29": "62332", - "2001:559:c173::/48": "33660", - "2001:559:c36a::/48": "33659", - "2406:7440::/32": "131970", - "2a03:bcc0:1::/48": "197882", - "2a0f:7b40::/29": "21227", - "2c0f:f828::/32": "37468", - "2406:daa0:6020::/44": "16509", - "2001:4238::/32": "30844", - "2401:af80:8000::/35": "59103", - "2804:6370::/32": "269361", - "2600:1405:3001::/36": "20940", - "2804:1b28::/32": "61712", - "2a02:cb43:8000::/48": "20546", - "2401:3cc0::/45": "137409", - "240a:aaa1::/32": "145371", - "2a02:26f0:6001::/39": "20940", - "2001:559:8523::/48": "7725", - "2402:d2c0::/46": "136897", - "2406:1d40::/32": "138259", - "240a:ad3c::/32": "146038", - "2409:8080:2aa0::/44": "9808", - "240a:ab01::/32": "145467", - "2604:980:1000::/33": "21859", - "2620:119:50e1::/48": "14413", - "2a0a:4540:11::/48": "54699", - "2001:44b8:4060::/48": "7545", - "2405:4802:7610::/32": "18403", - "2a0d:dd80::/29": "200308", - "2001:df7:6800::/51": "59194", - "2602:803:3000::/44": "21705", - "2804:2888:4000::/32": "263967", - "2a09:ca00:1::/29": "49434", - "2409:8b4c::/30": "9808", - "240a:a4a8::/32": "143842", - "2001:df6:1500::/48": "134003", - "2404:138:4005::/43": "38022", - "2607:fcd0:fa80:5e03::/50": "8100", - "2001:559:83c0::/48": "33659", - "2600:1419:801::/38": "20940", - "2600:9400::/28": "23470", - "2800:880::/30": "27773", - "2001:678:488::/48": "206335", - "2402:d000:106d::/43": "9329", - "2404:bf40:a5c0::/47": "7545", - "2a02:2148::/31": "1241", - "2001:559:c305::/48": "33657", - "2405:6e00:2690::/41": "18291", - "2a03:5840:10b::/32": "35661", - "2001:67c:7e8::/48": "47405", - "2001:67c:2b20::/48": "59467", - "2001:1a10:c2::/44": "8781", - "2402:6b00::/32": "18126", - "2408:8409::/40": "4808", - "2600:6000:fd93::/48": "11351", - "2604:fb80:f001::/46": "15128", - "2001:67c:2b74::/48": "3320", - "2001:4800::/32": "33070", - "240a:ad6a::/32": "146084", - "2404:4a00:5542:4::/54": "55423", - "2409:8910::/30": "9808", - "2a01:6d00::/32": "28726", - "2a0c:7d40::/32": "209418", - "240a:a239::/32": "143219", - "2a04:c442::/33": "10725", - "2001:df5:6080::/48": "135826", - "2001:4998:64::/48": "393245", - "2400:bb40:4444::/48": "136787", - "240e:473:1600::/41": "140485", - "2a00:19b8::/32": "49503", - "2a01:ce82::/34": "51964", - "2a02:26f0:11a::/48": "20940", - "2c0f:fd58::/32": "11845", - "2403:a280:1000::/48": "64087", - "2803:9800:98c7::/39": "11664", - "2a02:26f7:cf89::/46": "20940", - "2a10:c080::/29": "209288", - "2401:4900:1fe0::/34": "45609", - "2406:9840::/44": "134053", - "2409:803d:2c00::/25": "9808", - "2801:80:16e0::/48": "265362", - "2a03:c20::/32": "50825", - "2a10:fa80:216::/48": "57050", - "2401:c5c0:dfd::/32": "55492", - "2409:8057:306d::/36": "56040", - "2607:6100:d0::/48": "54380", - "2804:459c::/32": "266938", - "2a00:5d60::/32": "62353", - "2a06:55c0::/29": "206130", - "2a09:62c0::/29": "8224", - "2001:559:87bc::/46": "7015", - "2001:598::/35": "21548", - "240a:a35b::/32": "143509", - "2803:2a0::/32": "266849", - "2a02:4540:9000::/43": "197207", - "2a07:1340::/29": "34907", - "2804:6c0:10::/44": "262418", - "240a:a89c::/32": "144854", - "2602:fd75:aaa::/48": "46793", - "2803:1a00:500f::/43": "262186", - "2804:2e98::/32": "265354", - "2a00:1590::/32": "9051", - "2a06:1280:ce05::/34": "61138", - "2001:ee0:e100::/38": "45899", - "2400:65c0::/32": "132774", - "2607:fcd0:100:8e03::/50": "8100", - "2a02:100e:bef8::/48": "201318", - "2a07:ca07::/32": "35048", - "2402:a300:13e6::/44": "55427", - "240a:a65f::/32": "144281", - "2620:1bc:1025::/46": "7726", - "2800:160:1d7d::/40": "14259", - "240a:a250::/32": "143242", - "240a:ad9e::/32": "146136", - "2804:54c::/32": "262507", - "2804:e24:fff1::/44": "262417", - "2804:1c6c::/32": "61655", - "2a06:4dc0::/29": "60501", - "2a0e:17c0::/29": "59668", - "2620:171:19::/48": "715", - "240e:848::/44": "140553", - "2600:6c38:457::/44": "20115", - "2800:160:1e98::/46": "14259", - "2a01:7640::/38": "21282", - "2400:cb00:390::/46": "13335", - "2407:1400::/47": "23752", - "2a04:5b87:1::/48": "202265", - "2001:579:7184::/41": "22773", - "2001:4850::/32": "27446", - "2405:cc00::/32": "9471", - "2607:fdb8:33::/35": "30496", - "2804:53b0:4::/33": "268600", - "2a02:26f7:bec5::/46": "20940", - "2a03:4ba0:1::/48": "47697", - "2a10:ccc2:20::/43": "35619", - "2804:4c14::/32": "267348", - "2a01:9460::/32": "44644", - "2a08:600::/45": "206747", - "2001:df0:ec80::/48": "138894", - "2403:8600:a080::/43": "45820", - "2804:483c::/32": "267106", - "2804:7ef4::/32": "271657", - "2a02:598:3::/34": "43037", - "240a:a44f::/32": "143753", - "2607:f3c8:4000::/34": "33724", - "2800:160:1a33::/44": "14259", - "2804:1f32::/32": "265994", - "2404:e400:10::/44": "136402", - "2600:380:f1d2::/47": "64011", - "2801:0:20::/48": "28027", - "2a01:838::/32": "33874", - "2a07:6e80::/29": "202932", - "2a02:26f7:c0::/48": "36183", - "2409:8c28:31b1::/37": "56041", - "2a0f:bd40::/32": "197560", - "2001:559:47b::/48": "7015", - "2a00:800::/38": "1257", - "2001:678:25c::/48": "203055", - "240a:a751::/32": "144523", - "2804:57c4::/32": "268085", - "2b10:3c84::/30": "53820", - "2001:559:8066::/48": "7016", - "2001:67c:2de8::/48": "50476", - "2400:81c0::/32": "17804", - "2a0f:5e80::/29": "39287", - "2405:aa00::/32": "7712", - "2408:8956:af00::/40": "17816", - "2607:fb10:7072::/40": "2906", - "2a03:b700::/32": "51269", - "2408:856c::/31": "4837", - "2409:801e:3000::/46": "9808", - "2a0e:b103:ce8::/43": "20473", - "2a10:11c0::/32": "206858", - "2a02:26f7:e908::/48": "36183", - "2001:559:64::/48": "7725", - "2001:559:8335::/48": "7922", - "2001:678:1ec::/48": "42700", - "2600:6c33:718::/48": "11351", - "2606:2200::/32": "35986", - "2806:109f:1::/48": "8151", - "2a00:e98::/32": "39912", - "2a10:a641::/40": "47753", - "2001:67c:710::/48": "197933", - "2001:ce0:3::/48": "3661", - "2404:18c:2100::/32": "6619", - "2408:8256:1466::/39": "17622", - "2600:1417:a001::/36": "20940", - "2001:559:99::/48": "33659", - "2801:82::/32": "10881", - "2001:428:b22::/45": "209", - "240e:1f:6000::/36": "4816", - "2001:67c:275c::/48": "31371", - "2401:4900:840::/44": "45609", - "2600:8807:4fe0::/35": "22773", - "2803:8f80::/32": "263829", - "2a0e:dd40::/32": "397735", - "240a:a30a::/32": "143428", - "240e:438:8040::/38": "4134", - "2607:f3c0::/32": "16805", - "2800:800:640::/40": "26611", - "2606:7c00:d003::/34": "46103", - "2607:cf00::/30": "32522", - "2a02:2738::/32": "51088", - "2a02:6c20:808::/43": "207167", - "2405:8a00:6017::/44": "55824", - "2607:f8d8::/32": "3580", - "2a02:26f7:d445::/46": "20940", - "2a0c:8540:1::/45": "42198", - "2a0d:9240::/29": "210167", - "2001:559:5bb::/48": "21508", - "2001:4020::/32": "13110", - "2408:8459:cd30::/41": "17622", - "240e:981:f100::/38": "136197", - "2804:a14:300b::/33": "262342", - "2401:78c0::/47": "56150", - "240a:a438::/32": "143730", - "2600:380:4780::/35": "20057", - "2606:ae00:62a0::/37": "7287", - "2804:6c58::/32": "270462", - "2804:a00:2::/45": "262838", - "2804:5b64::/32": "268840", - "2a02:d68::/32": "12778", - "2a02:26f7:c908::/48": "36183", - "2a05:d050:4020::/44": "16509", - "2404:9400:1000::/33": "133159", - "2804:6cac::/32": "270484", - "2804:7ab0::/32": "271386", - "2a04:d040::/29": "48641", - "2a02:d58::/29": "44919", - "2001:559:e7::/48": "7922", - "2001:559:573::/48": "33659", - "2405:9800:70::/40": "131445", - "2408:820c:2750::/33": "17621", - "240a:ae37::/32": "146289", - "2800:160:2531::/40": "14259", - "2804:1ac4:2::/47": "61884", - "2a02:26f7:d155::/48": "36183", - "2a04:2d01::/48": "56647", - "2a0a:2540::/29": "42244", - "2406:d200::/32": "23629", - "2804:4d3c:1062::/38": "267420", - "2804:5808::/32": "268101", - "2a0e:cd00::/37": "23031", - "2001:559:15e::/47": "33659", - "2406:840:860::/48": "139317", - "240e:3b1:2200::/37": "136198", - "2600:2c03:1000::/36": "7349", - "2602:fe3d::/36": "46246", - "2001:67c:460::/48": "15542", - "2001:dce:9501::/33": "23869", - "2001:4c20::/32": "29636", - "2401:ff80:190d::/46": "133954", - "2409:8b28::/32": "56041", - "2600:9000:220b::/43": "16509", - "2001:678:360::/48": "206506", - "2402:c800:ff7b::/48": "18131", - "2806:230:600a::/48": "265594", - "2a02:26f7:cb05::/46": "20940", - "2a03:1ac0:2e01::/40": "9049", - "2a0f:1e80::/41": "30633", - "2001:de9:4000::/48": "23676", - "2001:4490:ddac::/43": "9829", - "2408:8446::/28": "4837", - "2409:8020:11::/42": "56046", - "2800:150:1::/48": "12956", - "2a00:ab40:5001::/32": "41798", - "2a09:12c0::/48": "34775", - "2401:25c0::/32": "131918", - "240a:a061::/32": "142747", - "2001:c78::/35": "2764", - "2602:feb7::/48": "16827", - "2a01:9700:12a0::/44": "8376", - "2a02:fc40::/29": "209959", - "2408:8120:1::/46": "9929", - "240a:a72d::/32": "144487", - "2a09:ac40::/32": "57040", - "2801:14e:1::/45": "27951", - "2804:5798::/32": "268074", - "2a02:e28::/32": "41696", - "2a02:26f7:c444::/48": "36183", - "2a0f:b780::/29": "49095", - "2804:1c04::/33": "61633", - "2001:559:113::/48": "7922", - "2001:559:5ac::/48": "33491", - "2001:4bb0::/32": "41497", - "2402:800:f0e0::/39": "7552", - "2402:5300:4310::/37": "45903", - "2620:b4:4000::/48": "63314", - "2800:300:84e0::/43": "27986", - "2a03:5480::/32": "35223", - "2001:2042::/31": "3301", - "2408:8256:2f6b::/48": "17816", - "2801:17c::/44": "14080", - "2804:80b8::/36": "271769", - "2a04:500::/29": "198249", - "2001:559:821f::/48": "7725", - "2a03:9e00::/37": "14537", - "2a0b:4340:520::/44": "134098", - "2001:559:8634::/48": "33659", - "2001:44b8:6067::/48": "4739", - "2400:1700:210::/47": "136552", - "2804:7710::/34": "271152", - "2a03:39a0::/32": "15733", - "2a04:b280::/29": "199708", - "2c0f:f2b0::/32": "328049", - "2a0e:1c00::/29": "61317", - "2408:8706::/28": "4808", - "2408:8956:f200::/42": "17816", - "2607:f4e8:c::/47": "22822", - "2620:149:983::/41": "714", - "2a02:26f7:e989::/42": "20940", - "2a07:1100::/29": "57389", - "2a0c:d980::/29": "35684", - "2a0e:97c1:800::/40": "20473", - "2a0f:2240::/29": "60262", - "2a0f:6480::/32": "205112", - "240a:a61b::/32": "144213", - "2804:164c:abcc::/33": "263280", - "2a02:27a8::/32": "15626", - "2001:559:7bb::/48": "33287", - "2408:84f3:b810::/42": "134543", - "2620:11b:3000::/48": "26470", - "2a10:cc44:100::/44": "38281", - "2001:1248:7090::/47": "11172", - "2402:800:fe80::/42": "7552", - "240a:aee1::/32": "146459", - "2620:4d:402f::/43": "395403", - "2001:559:87a8::/47": "7015", - "2001:4878:8062::/47": "12222", - "2401:c040::/32": "136965", - "2a01:8000:4::/47": "60672", - "2a0f:f300::/29": "208163", - "2001:13d2:3810::/33": "7303", - "2604:6600:fdc1::/38": "40676", - "2801:1c:a800::/48": "18747", - "2001:559:879a::/45": "7015", - "2804:7030::/32": "270711", - "2a0f:c087:e::/48": "212521", - "2001:468:2601::/44": "11537", - "2001:678:820::/48": "213297", - "2408:8026:530::/38": "17621", - "240e:473:4c00::/41": "140485", - "2a00:4b40::/32": "51013", - "2a02:2010:22e0::/45": "20978", - "2a06:efc0::/32": "34762", - "2403:2c00:7:1::4/62": "4058", - "2408:8956:4600::/40": "17622", - "2600:1406:3001::/37": "20940", - "2800:680:12::/32": "3816", - "2804:63fc::/32": "269396", - "2800:370:63::/45": "28006", - "2001:559:c106::/48": "20214", - "2001:df0:290::/48": "22787", - "240a:a9ba::/32": "145140", - "2604:6e00::/37": "13977", - "2610:a1:304c::/48": "12008", - "2620:132:5000::/44": "20182", - "2620:1d5:c9a::/38": "14773", - "2c0f:fe88::/32": "12556", - "2001:1388:3cc4::/33": "6147", - "2804:2438:2000::/32": "264209", - "2a00:f28:20::/48": "57187", - "2001:559:845c::/48": "7725", - "2804:a84::/33": "262296", - "2804:5d18::/32": "268950", - "2a03:3a40:2000::/48": "20712", - "2001:dcd:1::/48": "397229", - "2001:df5:f00::/48": "24205", - "2001:44c8:4730::/40": "45430", - "2405:1c0:6371::/46": "135062", - "2801:1fc:2a::/48": "27951", - "2804:14d:fb00::/63": "28573", - "2804:214:8420::/43": "26615", - "2001:559:c2d2::/48": "7922", - "240e:1f:8000::/48": "4813", - "2603:f600::/29": "40676", - "2620:13a:c021::/40": "53356", - "2a06:e80:3000::/36": "211720", - "2a06:2400::/29": "49788", - "2c0f:f538::/32": "22354", - "2a0b:a1c0::/29": "213102", - "2001:559:82fa::/48": "7015", - "2001:4888:8044::/48": "6167", - "2400:cb00:a570::/47": "13335", - "240a:a82e::/32": "144744", - "2804:3fc8::/32": "265914", - "2a01:300:71::/29": "9009", - "2a01:ce88::/32": "51964", - "2001:4928::/32": "13819", - "240a:ad43::/32": "146045", - "2804:18ec::/32": "61763", - "2804:18f8::/32": "61766", - "2804:581c::/32": "268107", - "2001:df1:3700:4000::/48": "136324", - "2405:a6c0::/32": "58820", - "2801:116:a::/48": "271827", - "2804:4228::/32": "267481", - "2a0e:e704:45::/48": "212970", - "2620:26:c000::/47": "55243", - "2804:4884::/32": "267126", - "2a02:26f7:c085::/46": "20940", - "2a0d:d740:107::/48": "207675", - "2804:22b4::/40": "264117", - "2001:648:2e02::/41": "5408", - "2001:df0:c300::/48": "136099", - "2408:8956:fd00::/40": "17622", - "240a:a436::/32": "143728", - "240e:108:1160::/48": "58563", - "2600:1406:1000::/48": "35994", - "2602:fd10:860::/44": "398795", - "2804:7d74::/32": "271562", - "2a09:ccc0::/29": "209222", - "2001:4868:4200::/40": "23148", - "2408:8456:1600::/42": "17622", - "2800:68:33::/48": "269844", - "2804:6380::/32": "269365", - "2a0d:6680::/29": "50782", - "2001:c38:3001::/46": "9335", - "2001:df0:a1::/48": "55532", - "2804:a84:4400::/32": "262296", - "2a0c:8187::/32": "206994", - "2401:ff80:1401::/46": "133954", - "240a:a60e::/32": "144200", - "240e:3b7:ac00::/35": "4134", - "2a03:6607::/32": "197838", - "2a04:2600::/29": "60924", - "2c0f:fe30::/32": "37006", - "2408:84f3:3610::/44": "17623", - "2a02:4b0:217::/32": "43751", - "2a00:8aa0::/32": "62059", - "2806:264:400::/43": "13999", - "2a02:26f7:e689::/42": "20940", - "2a0c:e640:6001::/46": "17830", - "2001:559:c1f8::/47": "7922", - "2001:67c:2028::/48": "43591", - "2804:2c0:6608::/35": "262834", - "2001:428:6809::/32": "209", - "2400:9380:8221::/48": "4134", - "2401:d800:250::/42": "7552", - "2803:9800:b995::/46": "11664", - "2804:9c4::/32": "33182", - "2a00:66e0::/32": "48953", - "2001:57a:1206::/34": "22773", - "240e:3bb:9c00::/34": "140310", - "2a00:1f88::/32": "29545", - "2001:559:11a::/47": "7016", - "2001:4998:ef5f::/42": "10310", - "240e:3ba:d000::/36": "134772", - "2800:160:23e9::/37": "14259", - "2804:1f20::/32": "19200", - "2607:f8f8::/37": "23033", - "2a02:ff0:3300::/40": "12735", - "2c0f:f578::/42": "24691", - "2001:559:2a1::/46": "7015", - "2401:ff80:1681::/45": "133954", - "2600:1488:a201::/40": "20940", - "2600:3000:2711::/35": "13649", - "2605:a900:3005::/48": "55088", - "2804:5a5c::/35": "268768", - "2806:230:301b::/48": "11888", - "2a06:6d40::/29": "198090", - "2001:1540::/32": "47886", - "2401:ff40:f010::/36": "137080", - "2409:8c20:c800::/34": "56046", - "240a:ac94::/32": "145870", - "2620:98:c000::/48": "11810", - "2620:1f6::/36": "26305", - "2a05:fc87::/32": "39540", - "2a0f:9400:8012::/48": "23470", - "2001:559:8186::/48": "7922", - "2402:5300:4610::/36": "45903", - "2409:8000:5200::/37": "9808", - "240a:a9ca::/32": "145156", - "2600:100a:d020::/34": "22394", - "2a02:2e02:8830::/41": "12479", - "2001:559:8580::/48": "7015", - "2401:d800:b0f0::/39": "7552", - "240e:473:2850::/39": "4134", - "240e:473:7850::/39": "4134", - "240e:60c:6000::/36": "137688", - "2620:122:1004:45::/48": "29954", - "2806:310:100::/42": "16960", - "2400:a980:9100::/34": "133111", - "2401:b00::/43": "17564", - "2a0f:7700::/29": "47787", - "2a11:5580::/29": "61192", - "2405:1500:31::/41": "58717", - "2607:f208:d000::/43": "398101", - "2c0f:ec98::/32": "328278", - "2602:ff96:12::/48": "40676", - "2620:3f:2000::/48": "31852", - "2800:bf0:8029::/43": "27947", - "2a02:26f7:e7::/48": "20940", - "2a02:26f7:b884::/48": "36183", - "2001:df2:bc00::/48": "45734", - "2001:1248:9987::/44": "11172", - "2605:6440:6006::/36": "396356", - "2a01:111:3000::/33": "8075", - "2401:d800:2fa0::/41": "7552", - "240a:a41c::/32": "143702", - "2607:6003:2307::/48": "19181", - "2a00:78c0::/29": "30781", - "2a0e:fb44::/32": "398343", - "2804:33fc::/32": "265429", - "2a0b:2900:4100::/38": "48582", - "240a:a4e6::/32": "143904", - "2804:2a0:400::/32": "28272", - "2a06:9cc7:ff01::/46": "8666", - "2a06:e881:6000::/44": "49981", - "2c0f:f858::/46": "36947", - "2001:559:449::/48": "7016", - "2001:4998:1b0::/48": "10880", - "2406:e001:9000::/36": "23655", - "2001:559:7f1::/48": "7922", - "240e:473:3920::/41": "140486", - "2600:1417:17::/44": "20940", - "2804:526c::/36": "268517", - "2001:678:2c::/48": "48283", - "2606:1880::/35": "32931", - "2a02:7c40:8000::/33": "8758", - "2408:8456:2100::/42": "17622", - "2a01:9380::/32": "43638", - "2a02:26f7:e205::/46": "20940", - "2a00:18c0::/32": "8402", - "2a02:26f7:da0d::/46": "20940", - "2a10:3044::/30": "398481", - "2408:8206::/35": "4808", - "240a:a51b::/32": "143957", - "240e:965:1000::/37": "133775", - "2600:140b:5::/48": "24319", - "2602:807:5010::/42": "55136", - "2606:b400:8808::/48": "7160", - "2a01:5f0::/32": "35592", - "2a02:26f7:d884::/48": "36183", - "2401:d800:51e0::/38": "7552", - "2408:805c:4000::/44": "17622", - "2a02:970:1069::/39": "44002", - "240a:ad00::/32": "145978", - "2a02:478::/32": "30975", - "2a06:8145:9f::/48": "199364", - "2001:559:2a4::/46": "7922", - "2001:559:2df::/48": "33652", - "2001:df6:cc00::/48": "55683", - "2408:8256:356f::/48": "17816", - "240a:af7f::/32": "146617", - "2603:c011:6000::/36": "31898", - "2804:14c:b388::/41": "28573", - "2401:0:4000::/40": "23966", - "2405:edc0::/48": "140746", - "2606:2800:30c::/46": "15133", - "2606:2800:4a64::/46": "15133", - "2806:230:4003::/48": "11888", - "2a0e:1c80:14::/47": "1299", - "2c0f:f1a0::/32": "37314", - "2404:6380::/48": "23650", - "2804:214:8003::/43": "26615", - "2804:3f64::/32": "265890", - "2a04:ad40::/29": "60156", - "2c0f:f7a8:9010::/47": "4809", - "2801:80:1e81::/46": "14026", - "2804:61a8::/32": "269248", - "2402:ef1b:2100::/40": "7633", - "2a01:290::/32": "30781", - "2620:1a:e000::/48": "396233", - "2804:e94:790::/42": "262468", - "2a00:1ec8:55::/42": "2854", - "2a01:53c0:ffcf::/43": "54994", - "2401:3cc0:801::/41": "137409", - "2403:6a40:2::/48": "135967", - "2a04:4e41:40::/44": "54113", - "2001:559:825b::/48": "7922", - "2a02:26f7:ef88::/48": "36183", - "2604:3400:abcc::/48": "209453", - "2607:9080:5::/48": "701", - "2a0b:83c0::/29": "20634", - "2409:8924:a300::/37": "56046", - "2605:a404:4f6::/39": "33363", - "2804:50b0::/32": "268404", - "2806:2f0:9661::/40": "17072", - "2a01:8840:b6::/44": "12041", - "2401:dec0::/32": "137023", - "240e:108:1191::/45": "63835", - "2804:5d34::/32": "52690", - "2a06:8144:1121::/48": "199364", - "2a0d:5440::/29": "48927", - "240e:44a::/29": "4134", - "2604:880:38c::/46": "29802", - "2604:ff00:b000::/44": "36271", - "2607:fdc0:12::/40": "20326", - "2800:1e0:d02::/38": "7195", - "2804:62e4:faa3::/41": "269326", - "2001:559:31d::/46": "7016", - "2a0e:3080::/29": "208921", - "2001:df0:62::/48": "38040", - "2001:1248:84f5::/44": "11172", - "2400:bc00:1811::/46": "140637", - "240e:185::/30": "4134", - "2602:ffe4:4::/37": "21859", - "2404:bf40:c3c2::/48": "7545", - "240a:ac6a::/32": "145828", - "2001:df2:f300::/48": "136699", - "2408:8456:a40::/39": "17816", - "2600:1806:30::/46": "16552", - "2a01:c50f:d500::/36": "12479", - "2a04:8f40:2000::/48": "205505", - "2001:559:3db::/48": "7725", - "2001:4878:c1e0::/44": "35994", - "2402:800:57d3::/44": "7552", - "2804:3d24::/32": "266256", - "2a00:a220::/32": "13287", - "2a02:26f7:e5c5::/46": "20940", - "2a07:e02:1000::/38": "210083", - "2001:559:82d0::/48": "7922", - "2001:678:66c::/48": "200924", - "2603:90bc::/32": "11427", - "2804:14d:7e8d::/43": "28573", - "2a0e:b107:861::/46": "211840", - "240a:a26e::/32": "143272", - "2001:67c:19dc::/48": "12552", - "2607:b080:301::/32": "29838", - "2a00:c90::/32": "20853", - "2a00:edc0:1000::/45": "62597", - "2001:648:2cef::/48": "199399", - "2001:67c:18e0::/48": "199971", - "2001:fd8:b0f0::/39": "4775", - "2400:c700:1302::/34": "55644", - "2404:c900:3::/45": "58682", - "2408:8956:1d40::/40": "17816", - "240e:44d:7d00::/41": "140345", - "2a04:9140:3104::/48": "201958", - "2600:180c:3002::/33": "16552", - "2a04:8b40::/29": "62126", - "2a0c:9a40:8250::/48": "212509", - "2001:67c:11cc::/48": "3301", - "2803:4600::/35": "14754", - "2a0f:304::/32": "1239", - "2409:8914:a000::/39": "56044", - "240a:a1b3::/32": "143085", - "2804:4800::/32": "267091", - "2a03:a2c2::/32": "60595", - "240a:ad9c::/32": "146134", - "2604:2400::/32": "14107", - "2800:160:2c57::/40": "14259", - "2a00:11c0:df::/48": "42473", - "2a02:d400::/29": "50261", - "2a11:e680::/29": "60022", - "2001:67c:23ec::/48": "24693", - "2804:2164:d005::/44": "264552", - "2a02:7980:106::/32": "43937", - "2402:1b80:2000::/35": "63956", - "2600:1408:9401::/36": "20940", - "2a0f:5382:acab::/48": "208135", - "2a10:b640:3000::/36": "211607", - "2600:1408:5401::/36": "20940", - "2a03:a860:a01::/48": "58431", - "2001:559:8185::/48": "33652", - "2001:1478:1101::/32": "3257", - "2405:1c0:6331::/45": "135062", - "2806:2f0:8024::/41": "17072", - "2a02:26f0:78::/45": "20940", - "2620:0:870::/48": "3856", - "2a10:d504:1::/48": "22773", - "2407:7200::/47": "10098", - "2602:fe19:4005::/43": "26073", - "2804:3d4::/45": "262401", - "2a0e:c400::/29": "51083", - "2001:67c:124c::/48": "197564", - "2402:800:9ec0::/43": "7552", - "240e:1c:4000::/36": "4134", - "2620:131:104e::/43": "26450", - "2a0b:4340:c0::/48": "44421", - "2a0c:e640:101f::/48": "141011", - "2a0e:97c0:2e0::/47": "211544", - "2404:9140::/48": "134687", - "240e:928:1500::/32": "58542", - "2607:f7c8:401::/38": "36221", - "2804:540::/32": "262504", - "2a00:1a78::/32": "41729", - "2a00:cdc0::/43": "12586", - "2a02:970:101a::/42": "44002", - "2a0e:b107:dce::/48": "212237", - "2001:559:8446::/48": "33657", - "2409:8050:1900::/37": "9808", - "2600:1419:d::/43": "20940", - "2607:3e00::/32": "14928", - "2804:7898:4000::/48": "271253", - "2a02:26f7:dc01::/46": "20940", - "2a0d:2146:be00::/43": "50801", - "2001:559:8671::/46": "7922", - "2406:2100::/45": "56209", - "240e:100:70::/31": "4134", - "2600:1a00::/28": "46650", - "2803:f580::/32": "61470", - "2a02:26f7:f500::/48": "36183", - "2001:67c:144::/48": "56738", - "240a:ac43::/32": "145789", - "2604:880:264::/43": "29802", - "2408:840c:f00::/40": "17621", - "2600:1f12::/36": "8987", - "2607:4000::/38": "73", - "2a0b:21c0:3004::/32": "21859", - "2c0f:ffc8:6004::/32": "22355", - "2001:660::/34": "2200", - "2001:13c7:6013::/48": "52404", - "2001:4878:b153::/48": "12222", - "2400:9380:9220::/47": "4809", - "2401:cc00::/32": "24363", - "2409:8904:2840::/39": "24547", - "2603:c025:c000::/35": "31898", - "2001:4868:100::/44": "23148", - "2804:4728::/32": "267035", - "2a0a:3140:2600::/46": "15532", - "2a0e:74c0::/29": "41498", - "2a0e:b107:13e0::/44": "211284", - "2001:559:387::/48": "33287", - "2001:559:c087::/44": "7922", - "2001:12f0:240::/40": "1916", - "2001:579:a07d::/40": "22773", - "2001:c20:4000::/36": "3758", - "2401:4900:4a60::/45": "45609", - "2620:1e5::/40": "13382", - "2804:1f50::/32": "61607", - "2a0c:3b80::/29": "58057", - "2a02:26f7:dc80::/48": "36183", - "2001:559:3a7::/48": "33651", - "2001:67c:3fc::/48": "51776", - "240a:aa0d::/32": "145223", - "240e:6b2:2000::/32": "4134", - "2803:f340::/35": "14754", - "2804:368::/32": "22381", - "2a02:26f7:be::/48": "36183", - "2001:559:8565::/48": "7922", - "2604:82c0:2::/44": "62917", - "2605:7b80::/32": "2728", - "2607:3500::/48": "11228", - "2a00:9380::/32": "15557", - "2a05:3580:f600::/36": "35807", - "2001:480:30::/48": "13", - "2600:a003::/29": "22450", - "2605:ea80::/32": "32709", - "2a0a:40c0::/29": "49596", - "2403:1ec0:1200::/48": "4808", - "2804:3578::/32": "266288", - "2001:4b20::/55": "34288", - "2a07:3a40::/34": "212734", - "2a0b:8240::/31": "205581", - "240a:a953::/32": "145037", - "2a01:9700:1354::/46": "8376", - "2001:559:7f2::/48": "33489", - "2408:8957:7500::/40": "17816", - "240e:438:3440::/38": "4134", - "2603:f500::/29": "396356", - "2a02:128:14::/48": "201069", - "2a0f:580::/29": "30823", - "2a0f:f3c0::/47": "207590", - "2001:559:c108::/48": "33287", - "2001:678:a00::/48": "49697", - "2402:e7c0:c00::/38": "134366", - "2600:100d:f110::/36": "22394", - "2600:6c38:78::/47": "20115", - "2a0f:8640::/29": "25682", - "2407:59c0::/32": "140072", - "240e:438:7c20::/43": "140647", - "2a00:a5a0::/32": "24971", - "2001:678:5c4::/48": "48534", - "2804:578::/32": "262516", - "2a00:f380::/32": "39551", - "2a02:26f7:fa40::/48": "36183", - "2a07:1fc0::/29": "42970", - "2001:559:8342::/48": "33651", - "2600:100d:9110::/36": "22394", - "2804:4308:4::/32": "267544", - "2001:67c:69c::/48": "47267", - "2604:3400:dc1::/48": "209453", - "2a0e:aa07:e025::/48": "210903", - "2401:d800:fb90::/42": "7552", - "2407:7a00::/32": "24187", - "2804:5b1c::/32": "268819", - "2a02:26f7:f544::/48": "36183", - "2a02:e5c0::/29": "51219", - "2001:4878:2220::/48": "12222", - "240e:473:a750::/40": "4134", - "2602:ff18:241::/46": "21973", - "2804:4ac::/32": "262458", - "2a07:9944:40::/48": "58305", - "2a0d:de80::/29": "3214", - "2001:500:89::/48": "26710", - "2001:16c0:feff::/29": "31732", - "2606:9080::/32": "397122", - "2800:160:1022::/43": "14259", - "2804:bf8:5000::/32": "52653", - "2804:7580::/32": "271051", - "2001:559:8288::/48": "7015", - "2001:559:c335::/46": "7015", - "240a:a85c::/32": "144790", - "2620:171:73::/40": "715", - "2806:230:204f::/48": "11888", - "2a02:750:15::/30": "42708", - "2001:67c:24bc::/48": "42652", - "2001:c20:4890::/48": "3758", - "2001:df7:80::/48": "136697", - "2602:fe6b:1000::/43": "398646", - "2804:14c:8700::/40": "28573", - "2001:559:e6::/48": "22909", - "240a:a408::/32": "143682", - "2600:140f:1800::/48": "9498", - "2a02:16a0::/32": "13030", - "2403:f440::/32": "134869", - "2600:1003:b4e0::/36": "22394", - "2620:52::/48": "22753", - "2a01:8640:c::/48": "61102", - "2a02:faa0::/48": "203427", - "2408:8956:7100::/40": "17816", - "2604:6d00:2000::/48": "36223", - "2801:1e4::/42": "27951", - "2804:12bc::/32": "263495", - "2804:7f30::/33": "271672", - "2400:ac40:8bc::/38": "136255", - "2400:cb00:a0f0::/45": "13335", - "240a:a5aa::/32": "144100", - "2a00:1ce8::/32": "34525", - "2a00:4940::/47": "198279", - "2a03:3400::/32": "20559", - "2a0b:6b86:3fa::/48": "202562", - "2001:4970::/32": "11274", - "2604:c140::/32": "394740", - "2620:101:9004::/47": "40934", - "2a02:9d0::/32": "12617", - "2a02:26f7:c548::/48": "36183", - "2001:579:709c::/42": "22773", - "2408:8256:3775::/48": "17816", - "2602:fcf6::/44": "51999", - "2605:1c00:1ff0::/44": "16787", - "2804:1248:9000::/33": "263467", - "2804:29b0::/38": "61577", - "2a02:7900:ff01::/48": "43044", - "2001:559:8212::/47": "33657", - "2620:79:8000::/48": "698", - "2a01:8840:5d::/48": "207266", - "2a04:c680::/29": "201277", - "2001:559:c3d5::/48": "7922", - "2001:67c:2e1c::/48": "6848", - "240a:a42e::/32": "143720", - "240a:af1d::/32": "146519", - "2606:cb00:16::/47": "6643", - "2804:6e70::/32": "270597", - "2a03:860::/32": "59971", - "2405:6e00:f812::/47": "133612", - "2604:10c0::/47": "40034", - "2804:7c8c::/32": "271503", - "2a0e:b107:1591::/48": "142598", - "2400:da00:5f26::/32": "38365", - "2402:800:93b7::/41": "7552", - "240a:a4c8::/32": "143874", - "2804:37f8:8000::/33": "266447", - "2a01:8840:f4::/48": "12041", - "2001:559:83a9::/48": "33489", - "2001:4490:3ff4::/44": "9829", - "2400:a980:e2::/47": "133111", - "2408:8459:1410::/41": "17622", - "240a:ac84::/32": "145854", - "2803:f780:1978::/48": "271804", - "2804:34c4::/32": "262646", - "2400:fe00::/32": "17968", - "2605:8bc0::/32": "26695", - "2403:4700::/47": "23728", - "2406:d040::/32": "38856", - "2408:8760::/32": "4837", - "240a:a2df::/32": "143385", - "2804:3c20:b3::/32": "266192", - "2804:14d:4000::/40": "28573", - "2804:14d:e600::/42": "28573", - "2804:2414::/32": "264200", - "2804:2d0c:e0::/32": "262408", - "2001:1388:1454::/40": "6147", - "2001:4878:b031::/48": "12222", - "2800:1e0:a04::/39": "7195", - "2804:b1c::/32": "53008", - "2804:2dbc::/32": "265300", - "240e:3b5:9200::/36": "140317", - "2804:4f8:6200::/36": "28263", - "2804:36b8::/32": "266367", - "2a00:5da0::/32": "48716", - "2a02:5740:10::/48": "58065", - "2a0b:2700::/29": "206894", - "2001:4298::/40": "30990", - "240a:a0bb::/32": "142837", - "240a:a7af::/32": "144617", - "2600:1406:41::/46": "20940", - "2804:7da8::/32": "271575", - "2a02:26f7:c3c5::/46": "20940", - "2a02:7c40::/33": "5539", - "2001:14e0::/32": "12931", - "2800:8a0:c400::/38": "5722", - "2804:6c4c::/32": "270458", - "2a01:664:1b00::/30": "48951", - "2001:1248:56c5::/43": "11172", - "2408:8256:3ca0::/39": "17816", - "2a02:26f7:c701::/46": "20940", - "2001:678:5e0::/48": "204671", - "2403:1940:40::/48": "137935", - "240a:aaec::/32": "145446", - "240e:966:800::/37": "133774", - "2a00:af60::/32": "199364", - "2001:b400:d210::/37": "3462", - "2603:c002::/39": "31898", - "2a01:8840::/46": "12041", - "2001:559:c15c::/48": "7015", - "2401:d800:7900::/42": "7552", - "2605:b940::/46": "19047", - "2804:2e90::/32": "52528", - "2804:6328::/32": "269342", - "2604:d600:532::/45": "32098", - "2607:f7c0:4100::/32": "36444", - "2804:3ce0::/32": "266240", - "2a02:2368:ffff::/48": "50270", - "2a02:26f7:88::/48": "36183", - "2001:559:20c::/48": "33659", - "2001:559:86da::/48": "33659", - "2605:6c80:4::/47": "397373", - "2620:115:7002::/40": "55091", - "2404:92c0::/32": "48024", - "2804:f54::/32": "263580", - "2402:bd82::/31": "136557", - "2603:c0f8:2000::/43": "20054", - "2607:f928:12::/48": "16905", - "2804:790::/32": "28653", - "2804:5e50::/32": "269025", - "2a02:26f0:3d::/48": "31108", - "2a0e:6b80::/29": "202709", - "2408:8956:ba00::/40": "17622", - "2804:14c:489::/42": "28573", - "2804:14d:2c00::/40": "28573", - "2804:72e0::/32": "270881", - "2a03:25a0::/32": "201656", - "2a04:4e40:2230::/44": "54113", - "2a06:c040::/31": "61430", - "2c0f:fe60::/32": "37619", - "2409:803c:100::/37": "9808", - "2800:200:e850::/40": "12252", - "2804:50f0::/32": "268420", - "2a0d:d580::/32": "205588", - "2a0b:6b82::/32": "42615", - "2001:559:8096::/47": "22909", - "2408:8256:1596::/38": "17622", - "240e:d:b800::/37": "136194", - "240e:44d:7d80::/41": "4134", - "2804:1bb8::/32": "61745", - "2804:7880:6200::/32": "271247", - "2a03:9ea0::/32": "51815", - "2c0f:fe90::/32": "36943", - "2404:a500:4::/48": "45854", - "2409:8924:5700::/36": "56046", - "2409:8d5b::/29": "9808", - "2804:2258::/32": "264604", - "2804:7d20::/32": "271540", - "2a02:26f7:bdc1::/46": "20940", - "2a06:f904::/36": "56630", - "2001:559:c150::/48": "33668", - "2408:80f1:70::/44": "138421", - "240a:ab2e::/32": "145512", - "2600:140f:6001::/37": "20940", - "2a01:4000::/32": "33852", - "2a02:73c0::/32": "59395", - "2402:28c0:ffaf::/41": "136620", - "240a:a86a::/32": "144804", - "2600:9000:1152::/48": "16509", - "2607:f220:412::/44": "3527", - "2a05:2701:f00::/43": "62371", - "2405:84c0:8d00::/40": "9886", - "2408:8956:a000::/40": "17622", - "240e:44d:2a80::/41": "4134", - "2620:149:22c::/43": "714", - "2a03:2100::/43": "51559", - "2a0c:a0c0::/31": "202486", - "2001:559:32a::/48": "7016", - "2001:559:83b3::/45": "33287", - "2403:fe00::/32": "38743", - "2603:c027::/35": "31898", - "2800:620::/32": "11562", - "2804:6570::/32": "269490", - "2a00:1340::/32": "42840", - "2603:f958::/29": "262287", - "2607:fb90:3900::/33": "21928", - "2001:67c:15dc::/48": "43284", - "2401:c800::/32": "7511", - "2604:3d00::/33": "6327", - "2a00:86c0:1043::/43": "2906", - "2a0e:b107:e70::/44": "212292", - "2804:814c::/32": "272445", - "2001:4998:198::/46": "36647", - "2401:4100::/32": "9387", - "2402:6a40::/46": "135718", - "2402:6c00::/32": "46015", - "2620:101:403c::/48": "16880", - "2800:9a7:3011::/41": "14522", - "2803:3b80:5000::/34": "263702", - "2a0b:c6c0::/29": "57407", - "2a0b:f4c0:16c::/48": "205100", - "2001:67c:1250::/48": "49697", - "240a:a8c2::/32": "144892", - "240a:abc8::/32": "145666", - "2a06:1600:71::/48": "39221", - "2001:559:59::/48": "13367", - "2404:4f00::/34": "17819", - "2600:1002:a110::/36": "22394", - "2803:59a0::/32": "52468", - "2804:3a00::/32": "266064", - "2a0c:4b40::/29": "202449", - "2001:67c:2274::/48": "197164", - "2409:8904:3ba0::/37": "24547", - "2620:11:a000::/48": "41625", - "2402:800:39d3::/44": "7552", - "2404:c000:4000::/46": "45147", - "240a:a667::/32": "144289", - "240e:982:7100::/38": "139201", - "2a03:7020:10::/48": "59625", - "2402:800:920f::/43": "7552", - "2402:800:b040::/42": "7552", - "2607:fcd0:fa80:5100::/53": "8100", - "2a02:26f7:ce::/48": "36183", - "2001:559:109::/48": "33287", - "2001:df2:b500::/48": "137004", - "2001:4998:1c1::/32": "10310", - "2407:8800:bf02::/33": "7545", - "2a06:d640::/48": "56601", - "2a0f:85c1:beef::/48": "207781", - "2600:5c01:1a3::/36": "10796", - "2606:f900:ae01::/33": "812", - "2804:2e60::/32": "265342", - "2804:4d3c:a48::/35": "267420", - "2620:119:5014::/48": "13443", - "2001:2002::/32": "3301", - "2401:d800:da80::/41": "7552", - "2405:9800:11::/45": "45430", - "240c:6::/48": "24445", - "240e:3be:6400::/35": "140312", - "2604:d600:c85::/42": "32098", - "2605:6c80::/47": "397373", - "2804:14c:8587::/42": "28573", - "2804:827c::/32": "262937", - "2a0d:5081:e::/30": "62240", - "2001:559:117::/48": "33287", - "2409:8028:30e1::/43": "56041", - "240a:ac9e::/32": "145880", - "240a:acb9::/32": "145907", - "2a02:26f7:ba40::/48": "36183", - "2a04:8f40:ffff::/48": "205505", - "2001:559:82e7::/48": "7922", - "2401:d800:5680::/42": "7552", - "240a:ac7e::/32": "145848", - "2606:bd80::/32": "53732", - "2804:36ec::/32": "266380", - "2804:3e28::/32": "266577", - "2a02:26f7:c285::/46": "20940", - "2400:1c00:13::/48": "3758", - "2600:380:ed00::/35": "7018", - "2604:bc0:1::/48": "46562", - "2803:9800:988d::/41": "11664", - "2a02:26f7:f908::/48": "36183", - "2a06:f140::/29": "42034", - "2001:df0:258::/47": "33517", - "2804:be4::/44": "52840", - "2a02:2090:e800::/48": "48287", - "2001:579:5104::/41": "22773", - "2400:cb00:a1b2::/45": "13335", - "2404:f080::/35": "131392", - "2607:f368:2d00::/35": "32982", - "2803:a9c0:2::/47": "265819", - "2001:4878:a007::/44": "12222", - "2402:ef0c::/32": "24515", - "2a06:d040::/29": "50785", - "2602:feca::/36": "6939", - "2604:20c0::/36": "40641", - "2403:300:a17::/42": "714", - "2803:d8c0::/40": "264787", - "2a09:6f80::/29": "3320", - "2a0e:8f02:f011::/48": "212357", - "2001:253:102::/48": "142068", - "2001:559:8257::/48": "7016", - "2402:e380:302::/48": "133846", - "2408:8256:2f77::/44": "17623", - "240a:a256::/32": "143248", - "2001:df5:e800::/48": "133498", - "2403:cfc0:1100::/44": "135134", - "2804:c9c::/32": "52729", - "2a07:a343:94d0::/44": "9009", - "2408:8a04:e000::/40": "9929", - "2800:68:dc42::/34": "61468", - "2803:7320::/32": "266758", - "2804:14c:87fd::/46": "28573", - "2804:65fc::/32": "269526", - "2a05:5244::/30": "198722", - "2a07:14c0:7000::/36": "59504", - "2a05:2880::/32": "59827", - "2001:868::/29": "12731", - "2001:40f0::/32": "15997", - "2405:1c0:6551::/46": "135062", - "2600:1001:9000::/44": "6167", - "2605:a401:8de1::/38": "33363", - "2804:2330::/32": "264147", - "2804:3528::/32": "266272", - "2404:7180:b021::/46": "23848", - "2620:13f:4000::/44": "397386", - "2001:559:5b0::/48": "7922", - "2804:69a0::/32": "270281", - "2001:67c:17bc::/48": "3246", - "240a:a836::/32": "144752", - "2804:3e0::/32": "262403", - "2804:1460::/32": "28308", - "2001:df0:7480::/48": "139076", - "2a03:bec0::/32": "202016", - "2a0c:9f40::/32": "41785", - "2401:1801::/36": "58683", - "240a:abe6::/32": "145696", - "2804:5984::/32": "268707", - "2a00:17cf::/32": "12511", - "2a06:9140::/29": "31486", - "2001:43f8:6b0::/47": "8094", - "2600:370f:2065::/40": "32261", - "2804:4afc:f000::/44": "267276", - "2806:2f0:6200::/41": "17072", - "2001:1520:4::/46": "8972", - "2402:f740:1000::/36": "131477", - "240a:ab1b::/32": "145493", - "2602:807:6003::/48": "399209", - "2a0a:5640::/32": "207242", - "2001:400::/43": "293", - "2001:648:2001::/44": "5408", - "2409:8d5a::/32": "56040", - "240a:a29a::/32": "143316", - "2a04:1a00::/29": "199318", - "2a02:26f7:cb85::/46": "20940", - "2001:67c:44::/48": "8423", - "2001:16a2:38::/47": "39386", - "2001:1838:5100::/34": "23352", - "2402:800:7b20::/41": "7552", - "2406:e400:2::/32": "7642", - "2804:400::/32": "262409", - "2804:7668::/32": "271110", - "2404:fd00:facf::/37": "58552", - "240a:ad13::/32": "145997", - "240a:aee5::/32": "146463", - "240a:afe8::/32": "146722", - "2607:fea0::/46": "16578", - "2806:230:3010::/48": "265594", - "2a00:fe8::/32": "16178", - "2604:5c40::/32": "14078", - "2a03:6600::/32": "44124", - "2a0d:2080::/29": "204646", - "2a01:b0e0::/32": "61984", - "2001:559:870e::/48": "7016", - "2001:579:403f::/41": "22773", - "2001:e68:2001:1::/64": "65530", - "2401:8e00:2800::/35": "9260", - "2402:800:f3e0::/37": "7552", - "2600:1f01:4880::/47": "16509", - "2602:ff82::/48": "3064", - "2001:559:c175::/48": "33491", - "2001:830::/32": "61157", - "2406:8800:902b::/43": "17465", - "2a02:2e02:3090::/42": "12479", - "2401:ff80:1a81::/46": "133954", - "2404:f900:41::/43": "58482", - "2406:c800:f001::/36": "38016", - "2001:1a11:e8::/45": "42298", - "240a:a23c::/32": "143222", - "2607:f7a8:a0d::/35": "16657", - "2804:5718::/32": "268043", - "2804:585c::/32": "268124", - "2a02:26f7:e949::/42": "20940", - "2a11:5100::/29": "50304", - "2001:559:80be::/48": "7922", - "2001:978:6402::/38": "174", - "2600:6000:fd40::/48": "11351", - "2804:42b8::/32": "267521", - "2804:7978::/32": "271307", - "2402:9d80:804::/47": "131429", - "240a:aee4::/32": "146462", - "2604:880:1::/46": "29802", - "2605:a000:40e::/48": "11955", - "2607:faf8::/32": "7029", - "2804:6efc::/32": "270631", - "2001:559:594::/48": "7922", - "240a:a12f::/32": "142953", - "2804:2084:2000::/32": "264496", - "2a02:53e0::/32": "44092", - "2a0e:8f02:f00e::/48": "212359", - "2a0f:5ac0::/32": "60472", - "2405:1fc0:720::/48": "139188", - "2405:b900:5570::/48": "55701", - "2406:840:c20::/48": "139317", - "2804:16a0::/32": "61908", - "2806:217:402::/38": "28394", - "2a0f:b4c3::/32": "199669", - "2607:fdb8:21::/48": "33693", - "2607:ffb0:600f::/35": "6327", - "2803:dfa0::/32": "267797", - "2804:41a0::/34": "267446", - "2a04:4e40:6210::/44": "54113", - "2a11:680::/29": "208861", - "2402:3b00::/32": "38648", - "2a02:26f7:e349::/42": "20940", - "2409:805e:2100::/36": "9808", - "240e:473:8720::/41": "140486", - "240e:473:af20::/41": "140486", - "2804:59a0:c000::/36": "268714", - "2a01:5b40:ac3::/48": "208045", - "2a10:6800::/29": "398559", - "2600:9000:118e::/43": "16509", - "2804:e30:3c00::/38": "11338", - "2a00:1b60::/32": "12552", - "2a0b:7540::/29": "21140", - "2001:559:8738::/48": "33287", - "2600:80a:422::/48": "55228", - "2a01:8d80::/48": "35157", - "2a0b:2cc0::/48": "203929", - "2407:9f00::/32": "58834", - "240e:473:9050::/39": "4134", - "2605:7c0:1000::/48": "19382", - "2a01:7f80::/32": "15975", - "2a0e:46c6:700::/40": "34924", - "2a0e:b105:700::/46": "20473", - "2001:470:e5::/48": "6939", - "240e:3bb:6400::/35": "140312", - "2804:74::/32": "28338", - "2804:507c::/32": "268392", - "2a02:26f7:e005::/46": "20940", - "2a03:aac0::/32": "48473", - "2a03:e600:101::/32": "1764", - "2001:559:7ae::/48": "7016", - "240e:938:f910::/44": "139462", - "2605:3380:4802::/48": "14532", - "2a02:26f7:f508::/48": "36183", - "2001:43f8:1500::/44": "328560", - "240a:ae47::/32": "146305", - "2605:a404:23c::/40": "33363", - "2800:160:1231::/44": "14259", - "2804:52f4:a90::/41": "268552", - "2a02:26f0:3301::/37": "20940", - "2a0b:f880::/29": "200548", - "2804:548c::/32": "268657", - "2a0e:97c3:bf::/41": "20473", - "2001:559:8584::/47": "33651", - "2406:840:d002::/48": "208266", - "2605:a900:1002::/45": "46887", - "2a04:2b00:14dd::/48": "212390", - "2a05:1500::/40": "200837", - "2a07:3140::/29": "48408", - "2001:559:46c::/47": "7922", - "2606:9e00::/32": "16413", - "2804:1674:c::/46": "53231", - "2a09:d2c2:1::/48": "213064", - "2600:1417:68::/47": "20940", - "2804:1ed8::/32": "264449", - "2804:213c::/32": "264544", - "2806:366::/32": "11172", - "2a02:ed04:110::/34": "50304", - "2804:4024:2030::/35": "265937", - "2001:b18:a::/47": "47787", - "2001:df4:d500::/48": "135905", - "2001:4878:321::/45": "12222", - "2401:d800:5910::/42": "7552", - "2401:d800:b2d0::/42": "7552", - "2604:5240::/34": "54614", - "2620:11a:40b0::/48": "7014", - "2001:918:ff77::/40": "3303", - "2405:1c0:6881::/46": "135062", - "240a:a345::/32": "143487", - "2804:2f8c::/32": "264898", - "2a09:fcc0::/32": "205718", - "2a0b:6900:185d::/48": "206873", - "2001:1978:1000::/39": "13768", - "2401:e980::/32": "64006", - "2403:2e80::/32": "23858", - "240a:ace2::/32": "145948", - "2a02:26f7:d24d::/46": "20940", - "2a07:3ac0::/29": "58243", - "240a:a8a8::/32": "144866", - "2602:fed2:7121::/46": "53356", - "2a00:8a00:4f02::/35": "8983", - "2a02:26f7:f101::/46": "20940", - "2a02:ac80:701::/36": "25145", - "2001:559:5f1::/48": "33659", - "2001:67c:2568::/48": "16375", - "2404:98c0:12::/42": "135259", - "2600:1417:20::/48": "9498", - "2a05:3280::/37": "50999", - "2804:c90::/47": "28198", - "2001:559:29::/48": "33660", - "2001:579:2439::/46": "22773", - "2001:67c:2bd4::/48": "1257", - "2001:1248:a4b0::/46": "11172", - "2600:1406:2000:300::/38": "20940", - "2605:a000::/37": "10796", - "2606:73c0::/32": "15169", - "2405:1c0:6481::/46": "135062", - "240e:67b:e600::/29": "4134", - "2a02:26f7:eb81::/46": "20940", - "2402:800:3363::/43": "7552", - "2408:8456:1640::/39": "17816", - "2408:8956:1400::/40": "17622", - "2607:f058:2200::/32": "22302", - "2801:10:7000::/48": "19429", - "2a0c:5241::/32": "59504", - "2a02:28:2::/45": "8359", - "2a02:2e02:8850::/40": "12479", - "2001:c20:4849::/48": "9255", - "2409:8087:5800::/37": "9808", - "2600:1008:d020::/36": "22394", - "2600:1480:5801::/44": "21342", - "2600:6c38:730::/46": "20115", - "2620:7b:b000::/48": "3713", - "2804:570c::/32": "268040", - "2001:253:107::/48": "142073", - "2001:4878:8225::/48": "12222", - "240e:108:4a::/48": "4811", - "2600:1480:d000::/48": "21342", - "2a02:250:2::/48": "51013", - "2401:5400:5001::/32": "4434", - "2620:129:f000::/48": "393462", - "2a0b:4d07:1::/46": "44239", - "2600:1900:41c0::/44": "396982", - "2604:49c0::/32": "395400", - "2604:9f00::/36": "27364", - "2804:5bc8::/32": "268869", - "2402:c480::/34": "63916", - "2a01:871::/29": "3209", - "2a03:85c1:925d::/29": "20561", - "2001:67c:2d40::/48": "50581", - "2401:d800:dd80::/42": "7552", - "2407:dc00:104::/38": "9714", - "2600:4800:80::/28": "6128", - "2604:300::/32": "21947", - "2605:46c0::/32": "395658", - "2a01:c50f:c700::/36": "12479", - "2001:559:819e::/48": "22909", - "2401:1040:400::/32": "138482", - "2408:8459:6a10::/42": "17623", - "2600:1404:6401::/36": "20940", - "2804:2ecc::/32": "265367", - "2a0b:99c0::/29": "207187", - "2a02:26f0:f9::/48": "34164", - "2403:ad80:20::/48": "36351", - "2404:e801:100c::/46": "55430", - "2408:8957:3c00::/40": "17622", - "2606:4700:57::/44": "13335", - "2607:fcf0:9100::/33": "13445", - "2620:153:81::/36": "6498", - "2804:4bbc::/32": "28333", - "2a0a:d880::/44": "207306", - "2001:67c:2074::/48": "57763", - "2001:df1:c700::/47": "136786", - "2001:4500::/35": "18183", - "2402:3a80:1728::/48": "38266", - "2610:28:f020::/48": "19718", - "2001:428:2001:205::/64": "20940", - "2001:480:120::/48": "3381", - "2001:b30:4213::/32": "2614", - "2001:1248:5641::/44": "11172", - "2402:5fc0::/32": "137419", - "2a01:668::/32": "13105", - "2a04:4e40:ec20::/43": "54113", - "2406:7600::/32": "38084", - "2620:10a:9054::/48": "2685", - "2620:12d:e010::/48": "29909", - "2806:2f0:3221::/41": "17072", - "2a00:ccc0::/31": "57433", - "2400:8280::/32": "58511", - "2a01:8840:f1::/48": "207266", - "2001:559:c19a::/48": "13367", - "2400:9380:80c0::/44": "136167", - "2804:11b4::/32": "263433", - "2804:6604::/32": "269528", - "2a00:9801:e001::/48": "199072", - "2a10:e780::/40": "212027", - "2001:559:82f6::/48": "33667", - "2406:3003:3000::/42": "55430", - "240a:a3e7::/32": "143649", - "2602:fd55:1::/48": "45250", - "2602:fed2:7114::/48": "23470", - "2804:80c0::/32": "271771", - "2a02:26f7:ecc1::/46": "20940", - "2001:400:211:61::/36": "293", - "2001:559:c26a::/48": "7922", - "240a:a20f::/32": "143177", - "2a07:6cc1::/32": "61098", - "2400:cb00:a430::/45": "13335", - "2a05:480::/29": "200000", - "2402:b740:8000::/47": "140867", - "240e:5e:4000::/48": "134773", - "240e:44d:7280::/41": "4134", - "2001:4878:8356::/48": "12222", - "2806:230:4027::/48": "11888", - "2406:54c0::/32": "140479", - "240a:a1da::/32": "143124", - "240e:16:b000::/37": "38283", - "2600:c0b::/46": "14745", - "240a:a89e::/32": "144856", - "2a01:488:bb0b::/48": "26496", - "2a02:ff0:1e00::/40": "12735", - "2001:c38:90aa::/45": "135566", - "2001:4878:8158::/48": "12222", - "2620:4:4000::/48": "53819", - "2800:68:53::/36": "61468", - "2c0f:f020:10::/48": "327907", - "2001:978:1f01::/34": "174", - "2001:40b0::/32": "13041", - "240a:a1fd::/32": "143159", - "240e:473:a00::/41": "140485", - "2607:fdf8:300::/40": "20284", - "2001:559:7b4::/48": "33491", - "2402:8100:30e0::/44": "55644", - "2804:3370::/32": "265396", - "2a0f:104::/30": "3356", - "2c0f:f8b8::/32": "37356", - "2600:6c40::/32": "20115", - "2a01:3b8::/33": "33885", - "2001:67c:1490::/48": "3301", - "2001:ae0::/32": "8925", - "2402:8780::/32": "63859", - "2606:6800:1800::/40": "394899", - "2804:e0:4::/37": "28330", - "2a03:2887:ff2c::/47": "33490", - "2001:308::/32": "7668", - "2402:e7c0:440::/36": "59078", - "2602:feb6::/36": "7001", - "2a06:1740::/29": "200652", - "2401:4900:ee0::/43": "134426", - "2600:6c38:b13::/44": "20115", - "2605:8280::/32": "36069", - "2804:779c::/32": "271189", - "2a01:53c0:ffe0::/45": "54994", - "2001:1938:4300::/40": "33438", - "2409:805c:4900::/35": "9808", - "2409:8087:2000::/37": "56046", - "240a:a9d2::/32": "145164", - "2803:6604:e600::/35": "28075", - "2804:595c::/32": "268185", - "2a02:27f0::/32": "4455", - "240a:aa8f::/32": "145353", - "2a0e:8f02:1000::/42": "204446", - "2a0e:b103:9ab::/45": "20473", - "2001:559:82a3::/48": "33651", - "2001:4402::/31": "9500", - "2607:cd80:b000::/33": "6528", - "2620:149:a29::/43": "714", - "2804:6e44:1300::/32": "270585", - "2a0e:cd00:600::/29": "23031", - "2606:2e80::/32": "63125", - "2800:bf0:100::/46": "52257", - "2001:559:8347::/48": "7015", - "2408:8456:ed40::/40": "17816", - "2600:1a0e:2000::/48": "10307", - "2a01:cf00:50::/46": "3215", - "2a02:2a08::/32": "39923", - "2a0a:1240::/35": "12440", - "2001:559:c0c5::/48": "33491", - "2a06:c480::/29": "203698", - "2001:559:81a3::/48": "33657", - "2001:559:81e5::/48": "7922", - "2001:57a:9208::/34": "22773", - "2403:9e00::/32": "9443", - "240e:3ba:4c00::/35": "136200", - "2600:1408:9001::/38": "20940", - "2607:f7a8:163e::/36": "16657", - "2001:500:122::/47": "396574", - "2001:559:9::/48": "33287", - "2404:8d02:1041::/46": "10089", - "2406:e001:6800::/35": "23655", - "2a0c:6080::/29": "200000", - "2001:3c8:2a07::/48": "135528", - "2001:67c:20cc::/48": "16243", - "2402:8100:2442::/44": "55644", - "2605:1640::/43": "19681", - "2620:132:f523::/38": "394977", - "2806:2f0:24a3::/48": "17072", - "2a0e:b107:1571::/48": "142031", - "2001:559:801f::/48": "33659", - "2001:67c:289c::/48": "198093", - "2607:f7a0:5::/46": "46562", - "2804:6660:d100::/40": "269554", - "2a07:a343:ce30::/44": "9009", - "2a0a:2306:f000::/45": "20853", - "2001:678:804::/48": "12897", - "2607:fd48:180:2::/61": "13536", - "2a0b:f200::/32": "207031", - "2a0f:b506::/32": "206313", - "2620:0:2902::/48": "22843", - "2803:a410::/32": "64114", - "2600:6c04:be::/30": "20115", - "2804:7fe8::/32": "271717", - "2a04:9a04::/32": "29311", - "2a02:cb80:4250::/47": "43766", - "2405:58c0:3a00::/40": "133101", - "2408:84f3:4210::/42": "134543", - "240e:950:5c00::/31": "4134", - "2600:1015:b0c2::/39": "6167", - "2620:149:a09::/46": "6185", - "2803:6900:533::/45": "52423", - "2a02:23c8:ff00::/40": "24592", - "2a07:3500:11e0::/48": "39686", - "2001:559:c24d::/46": "7015", - "2001:df7:3c00::/48": "38767", - "2402:800:951d::/41": "7552", - "2607:fdf0:5e13::/44": "8008", - "2a03:2880:f1fe::/47": "32934", - "2a0a:9c40::/29": "43809", - "2800:110:1018::/48": "52442", - "2804:7bfc::/32": "271468", - "2606:5000:3000::/39": "209", - "2001:4490:4e78::/46": "9829", - "2406:840:880::/48": "139317", - "2408:8456:cf40::/35": "17816", - "240a:afde::/32": "146712", - "2a01:9f20::/37": "201746", - "2605:5000::/32": "20283", - "2607:1c00::/32": "40395", - "2001:559:75f::/48": "7922", - "2602:ffb0:11::/48": "40676", - "2607:ffd8::/38": "33333", - "2620:133::/40": "19692", - "2620:171:14::/46": "715", - "2a0d:940::/32": "39191", - "240e:966:8800::/38": "133775", - "2a02:26f0:af00::/48": "34164", - "2a0e:40c0:4::/48": "50979", - "2001:559:551::/46": "33659", - "2403:3800:9::/37": "4007", - "240a:a232::/32": "143212", - "2607:f408:1::/48": "19871", - "2a01:6780:8::/48": "12586", - "2400:aa00:9300::/33": "9873", - "2a0f:9400:7001::/46": "211144", - "2408:8459:a810::/42": "17623", - "2803:e140::/32": "264631", - "2a0d:c740:1a::/48": "49367", - "240e:473:2650::/39": "4134", - "2604:1440::/32": "394985", - "2001:559:7d4::/48": "7725", - "2001:559:837d::/48": "33287", - "2001:67c:18d0::/48": "60216", - "2408:8957:3d00::/40": "17816", - "240e:1a:110::/44": "134769", - "2a05:2d00::/32": "62217", - "2001:67c:2388::/48": "12843", - "2604:d600:1543::/44": "32098", - "2800:370:c000::/46": "28006", - "2804:3868::/38": "266475", - "2a00:c540::/32": "57506", - "2a02:26f7:c890::/48": "36183", - "2408:8459:d040::/40": "17623", - "2408:8956:b600::/40": "17622", - "2409:8924:a900::/38": "56046", - "2804:4c68::/32": "267369", - "2804:5820::/32": "268108", - "2804:6abc::/32": "270356", - "2804:7080::/32": "270730", - "2a0a:2300::/31": "212754", - "2001:67c:2a4c::/48": "20712", - "240a:ae5f::/32": "146329", - "2602:80a:1000::/46": "11378", - "2605:e200::/32": "18451", - "2804:615c::/32": "269230", - "2a01:4ba0:4::/29": "199987", - "2a02:2ac8::/32": "702", - "2001:550:6502::/38": "174", - "240a:abaa::/32": "145636", - "2a0c:b641:80::/47": "209861", - "2001:678:580::/48": "50873", - "2001:1250:ffc0::/44": "22894", - "240a:a884::/32": "144830", - "240a:a978::/32": "145074", - "2a06:1cc0::/32": "198964", - "2a0c:1d80::/29": "31480", - "2001:678:764::/48": "202039", - "240a:a843::/32": "144765", - "2800:160:21de::/42": "14259", - "2803:ab00:93::/32": "52471", - "2804:7d5c::/32": "271556", - "2001:4050::/32": "6830", - "2402:e940:f00::/47": "132088", - "2804:c48:ff01::/45": "52687", - "2804:1a6c::/32": "61858", - "2001:503:e239::/48": "397229", - "2400:cb00:59::/48": "13335", - "2404:c2c0::/40": "135629", - "2407:7380::/32": "134970", - "2620:134:b003::/48": "14593", - "2804:45e4:7410::/36": "262567", - "2a0e:b103:e00::/40": "20473", - "2001:678:3d4::/48": "201723", - "2804:76f4::/32": "271145", - "2a02:4340::/32": "51551", - "2001:559:769::/48": "33491", - "2402:800:fb40::/42": "7552", - "2408:8957:9500::/40": "17816", - "240a:a723::/32": "144477", - "240e:3bb:1800::/34": "4134", - "2a0d:f3c0::/29": "34907", - "2c0f:eec0::/32": "25163", - "2406:2000:ef6a::/40": "10310", - "2407:4800::/33": "139759", - "2604:d600:1c17::/39": "32098", - "2804:7b70::/32": "271432", - "2a01:c50f:d0c0::/39": "12479", - "2a04:e00:1e::/47": "54103", - "2a10:4880::/29": "204802", - "2001:559:85a5::/46": "33659", - "240a:a934::/32": "145006", - "2a00:a300::/32": "47764", - "2001:67c:18f4::/48": "3246", - "2409:8073:2a00::/29": "9808", - "2620:aa:4000::/48": "26716", - "2a01:6c8::/36": "29006", - "2a05:8c40::/29": "201172", - "2001:15a8::/32": "29449", - "2406:8800:9041::/46": "17465", - "2a01:4120::/32": "62363", - "2001:468:900::/43": "3754", - "2001:559:80f5::/48": "33657", - "2001:67c:59c::/48": "59448", - "2001:67c:233c::/48": "47438", - "2604:82c0::/47": "62917", - "2803:4fe0::/32": "271775", - "2a03:7f80::/32": "42010", - "2001:559:278::/48": "7015", - "2409:8051:800::/47": "56047", - "240a:af6d::/32": "146599", - "2a00:da80::/32": "43614", - "2a04:e00:100::/47": "48806", - "2a0e:97c0:170::/48": "58057", - "2a0e:b105:548::/46": "20473", - "2804:3418::/47": "265435", - "2804:3a9c::/32": "266099", - "2a01:7c0::/32": "8359", - "2402:800:9eee::/43": "7552", - "240e:44d:4100::/41": "140345", - "2602:fed2:7034::/48": "62997", - "2a00:c340::/32": "57951", - "2001:d18::/32": "9821", - "2001:1810:40::/35": "14116", - "240a:aeb6::/32": "146416", - "2804:7da0::/32": "271573", - "2a0c:b641:410::/44": "31396", - "2a10:86c0::/29": "211850", - "2001:559:5fa::/48": "7725", - "2403:71c0:8000::/48": "43959", - "2600:1406:b401::/36": "20940", - "2606:ae00:a480::/42": "7287", - "2a05:9a80::/29": "29691", - "2a07:1a80::/48": "48767", - "2001:559:373::/48": "7922", - "2001:559:8574::/47": "7015", - "2402:800:7f80::/42": "7552", - "2804:1c14::/32": "61636", - "2a01:4f0:4018::/32": "28717", - "2a02:2e02:8d70::/40": "12479", - "2a0c:6c40:c82f::/48": "20705", - "2401:ff80:1109::/46": "133954", - "240a:ad0d::/32": "145991", - "240e:44d:5d00::/41": "140345", - "2804:1f24:101::/48": "30383", - "2001:559:8414::/48": "7922", - "2408:8956:7700::/36": "17816", - "2600:140b:c001::/36": "20940", - "2602:ffe2:ffe::/47": "53334", - "2a01:270::/32": "41075", - "2001:400:6441:61::/38": "293", - "2001:559:8400::/48": "33287", - "2620:1e0:300::/48": "10801", - "2804:415c::/32": "267428", - "2804:50fc::/32": "268423", - "2a02:26f0:c7::/44": "20940", - "2001:4878:c321::/45": "12222", - "2400:cb00:336::/44": "13335", - "2600:100d:fe10::/40": "22394", - "2804:5774::/32": "268066", - "2a09:55c0::/32": "209451", - "2604:1300:7c00::/32": "3833", - "2605:a401:8665::/40": "33363", - "2620:0:1601::/48": "33052", - "2403:300:1500::/42": "6185", - "2406:1dc0::/32": "137871", - "2604:65c0::/39": "14585", - "2403:9800:c100::/40": "4771", - "2600:5c00::/43": "10838", - "240a:ae04::/32": "146238", - "2806:310:1f::/42": "16960", - "2a02:26f0:84::/48": "8966", - "2001:559:5a::/48": "7725", - "240a:a890::/32": "144842", - "2a00:c080::/32": "5524", - "2a04:94c0::/30": "202746", - "2001:253:105::/48": "142071", - "2610:b0:401e::/42": "3573", - "2804:138b:b100::/33": "53037", - "2a00:ea8::/32": "9211", - "2a0e:b107:df1::/48": "141237", - "2001:559:45::/48": "33659", - "2402:800:3971::/44": "7552", - "2405:1c0:6a41::/46": "135062", - "2a04:6580::/29": "6831", - "2a09:bd00:ffc9::/48": "21416", - "2001:7a8::/37": "13193", - "2400:a980:1900::/37": "133111", - "2400:c700:181::/45": "55644", - "2408:8456:e440::/38": "17816", - "2600:1406:400::/48": "35994", - "2001:559:c23f::/48": "33662", - "2620:11b:4002::/48": "19210", - "2804:7254::/32": "270847", - "2a02:b48:8106::/43": "39572", - "2a10:6740::/32": "60672", - "2a0e:b107:5a1::/46": "203943", - "2001:559:8255::/48": "7922", - "2404:e100:3004::/48": "133840", - "240a:a53e::/32": "143992", - "240a:afba::/32": "146676", - "2806:250:100::/40": "28554", - "2a02:2a38::/42": "58073", - "2a03:34a0::/32": "59817", - "2001:559:c1a0::/48": "33651", - "2406:f400:20::/44": "38001", - "2800:860:a::/48": "262206", - "2804:66b4::/32": "269577", - "2a01:9700:1230::/46": "8376", - "2a03:5180::/43": "3223", - "2001:df4:1700::/48": "137084", - "2406:8dc0:2251::/48": "212057", - "2408:870c:4000::/44": "140979", - "2600:9800::/24": "4193", - "2a00:1358::/35": "6866", - "2a02:26f7:fb85::/46": "20940", - "2604:a640::/32": "54980", - "2a0d:4ac0::/46": "208006", - "2a0e:46c4:10b::/45": "142632", - "2001:678:d5c::/48": "21195", - "2001:df0:41a::/48": "9509", - "2405:8180:d00::/38": "135478", - "2a0c:a9c7:4::/48": "64409", - "2001:559:2ec::/48": "7016", - "2604:6600:2001::/48": "201106", - "2604:e180:86::/35": "55002", - "2607:f018:fffe::/48": "177", - "2800:300:89a0::/41": "27986", - "2001:df6:b800::/48": "59349", - "2001:1b28:406::/32": "8728", - "240a:a266::/32": "143264", - "2600:8807:93ce::/42": "22773", - "2804:337c::/32": "265399", - "2a06:8bc0::/29": "57103", - "2001:559:1d1::/46": "7922", - "2403:c880::/31": "7363", - "2404:bf40:e002::/48": "139084", - "2600:1480:8100::/37": "20940", - "2602:fd20::/36": "46980", - "2a03:96e0:8000::/33": "2119", - "2402:79c0:1154::/46": "26415", - "240a:a691::/32": "144331", - "240a:a8bd::/32": "144887", - "2001:559:770::/48": "22909", - "2409:804c:1100::/36": "9808", - "2607:fc50:4::/34": "36236", - "2804:4328::/32": "267552", - "2604:4540::/32": "88", - "2604:e840::/44": "396965", - "2a07:291b::/32": "6830", - "2a0c:e707:4000::/32": "39533", - "2001:559:4d3::/48": "33657", - "2001:49f0:d010::/44": "174", - "2406:f380:2::/32": "398109", - "2620:1ec:c12::/38": "8075", - "2a0b:6901::/48": "206873", - "2401:4900:3b70::/44": "45609", - "2a03:3b40::/38": "24971", - "2a05:1240::/29": "201809", - "240e:438:3a40::/37": "4134", - "2606:1980:16::/44": "54994", - "2a02:26f7:e6c0::/48": "36183", - "240a:a4d1::/32": "143883", - "2001:df2:6080::/48": "139875", - "2401:1d40:101::/36": "59019", - "240a:a395::/32": "143567", - "2600:370f:37a0::/47": "32261", - "2620:131:300b::/45": "19747", - "2001:408:20::/32": "14793", - "2804:3344::/32": "265385", - "2001:559:c171::/48": "33660", - "2001:43b8::/32": "30844", - "2401:d800:8a0::/41": "7552", - "2604:af80:1048::/37": "18859", - "2a00:ab00::/33": "49505", - "2a01:578::/43": "16509", - "2001:678:d90::/48": "213092", - "2804:7a68::/32": "271369", - "2a07:e0c0::/30": "213206", - "2001:678:aac::/48": "208658", - "2001:df0:21e::/48": "55396", - "2401:b780:5012::/32": "45410", - "2804:4348::/32": "267560", - "2a0c:3040::/29": "13054", - "2001:559:547::/48": "7725", - "2600:1408:f000::/48": "35994", - "2603:c026:8000::/35": "31898", - "2606:4700:80f0::/44": "13335", - "2001:559:8109::/48": "33651", - "2001:4868:a00::/33": "701", - "2607:ffb0:5001::/46": "6327", - "2a02:2e02:cf0::/39": "12479", - "240e:67b:c600::/34": "4134", - "2620:11d:5000::/46": "393732", - "2804:8170::/32": "272454", - "2a05:1083:fe80::/42": "209870", - "2001:fb1:300a::/32": "17552", - "2403:ac40::/32": "131149", - "2804:4200::/32": "267471", - "2408:8459:7c50::/38": "17816", - "240a:a94e::/32": "145032", - "2602:fd23::/48": "33185", - "2606:7480::/32": "394232", - "2804:1c18::/32": "61637", - "2804:21f4::/32": "52568", - "2a02:128:15::/48": "62008", - "240e:44d:3400::/41": "140345", - "2804:179c:11::/34": "263159", - "2a04:4e47::/46": "54113", - "2a03:1b00::/32": "47478", - "2001:df6:f400::/48": "132203", - "2600:380:9300::/40": "7018", - "2600:1004:b130::/44": "22394", - "2804:dd4:8100::/33": "53024", - "2a00:ef0::/32": "6834", - "2a01:50a0::/32": "201764", - "2a02:26f7:d001::/46": "20940", - "2400:cb00:a2f0::/46": "13335", - "2806:230:2011::/48": "11888", - "2a01:7120::/32": "62206", - "2a03:2880:f055::/44": "32934", - "240a:a78e::/32": "144584", - "240e:3b8:c000::/37": "140315", - "2607:b800::/32": "1970", - "2800:160:1375::/46": "14259", - "2001:67c:27a4::/48": "3301", - "2402:c400::/32": "18097", - "2801:80:1200::/48": "264313", - "2001:1248:99ef::/43": "11172", - "2408:8256:3796::/44": "17623", - "240a:a177::/32": "143025", - "2607:f160:ff00::/40": "6167", - "2a0a:1141:4000::/34": "206702", - "2a02:27ba:4000::/34": "49278", - "2001:418:1456:1900::/56": "16625", - "2001:468:cf0::/44": "40220", - "2001:fb0:1071::/48": "133761", - "2403:2c00:f020::/36": "4058", - "2600:1401:7::/48": "35994", - "2803:ea80::/36": "28048", - "2804:5284:d000::/48": "268523", - "2a0c:f587:fffd::/48": "205381", - "2402:800:95a9::/43": "7552", - "240e:679:c400::/39": "140330", - "2804:2440::/32": "52686", - "2806:1080:102::/32": "8151", - "240e:5a:4840::/40": "140301", - "2804:258::/40": "28132", - "2804:4d48:4040::/32": "53115", - "2a02:48::/32": "12969", - "2a02:26f7:c0c8::/48": "36183", - "2001:1a68:2c::/48": "24723", - "2402:800:96a9::/43": "7552", - "2607:6980:e710::/44": "9009", - "2a0c:2580::/30": "211186", - "2001:559:8687::/48": "33657", - "2401:6bff::/40": "9466", - "2408:8459:3220::/44": "17816", - "2a02:b50:4014::/34": "30282", - "2a0f:5946::/31": "209372", - "2001:1248:a006::/44": "11172", - "2402:7800:ffe1::/43": "4826", - "2408:840c::/40": "17621", - "2600:1007:a010::/40": "22394", - "2804:6ef0::/32": "270628", - "2a02:17a5::/32": "204405", - "2001:559:c0a9::/48": "7922", - "2401:4900:2100::/45": "45609", - "2408:8456:1b00::/42": "17622", - "240a:a191::/32": "143051", - "2a01:a520::/32": "62002", - "2a03:2887:ff31::/46": "33667", - "2001:978:1c01::/46": "174", - "2409:8053:2000::/47": "56047", - "240a:ac27::/32": "145761", - "2600:8800::/30": "22773", - "2604:14c0::/32": "22121", - "2a0c:eec0::/29": "50819", - "2001:550:a07::/44": "174", - "2001:559:c0a1::/48": "33652", - "2001:590:3c02::/32": "3257", - "2605:3380:48fe::/47": "12025", - "2a0b:b87:ffd2::/48": "213186", - "2600:9000:225e::/48": "16509", - "2620:b0::/48": "16796", - "2a11:e100::/32": "212271", - "2408:8456:c440::/39": "17816", - "2a02:2e02:8950::/40": "12479", - "2a04:2300::/29": "197623", - "2001:559:415::/46": "33652", - "240a:a7f3::/32": "144685", - "240a:aa5b::/32": "145301", - "2806:2f0:2044::/43": "22884", - "2a02:26f7:bb88::/48": "36183", - "2a0c:c0c0::/29": "202438", - "2c0e:2210::/21": "5713", - "2402:68c0:c000::/36": "137432", - "240e:473:5150::/40": "4134", - "2604:f180::/32": "30526", - "2804:4d10::/32": "267410", - "2a0e:ddc0::/32": "208861", - "2001:678:5e4::/48": "61961", - "2600:1f01:4810::/47": "16509", - "2606:4700:81c0::/44": "13335", - "2800:190:1::/48": "19037", - "2a04:2dc0:e::/47": "39216", - "2a0c:3500::/48": "42989", - "2001:470:ce::/48": "396097", - "2405:a640::/32": "131668", - "2408:8347:1200::/28": "4837", - "2603:a000::/24": "395662", - "2605:ab00::/32": "32277", - "2800:98:1809::/45": "14754", - "2a02:a00:e::/47": "15987", - "2001:67c:324::/48": "30950", - "240a:ab95::/32": "145615", - "240e:108:4d::/48": "137687", - "240e:978:100::/37": "4134", - "2804:259c::/32": "52772", - "2804:479c::/32": "267065", - "2001:559:8014::/48": "33491", - "2001:579:d03c::/40": "22773", - "2400:a980:3900::/37": "133111", - "240a:acb2::/32": "145900", - "2a02:2968::/29": "48635", - "2001:67c:1404::/46": "29670", - "240a:aa52::/32": "145292", - "240e:3bb:1200::/39": "4134", - "2607:f738:200::/41": "17184", - "2803:48e0::/47": "52468", - "2a02:2698:9000::/38": "41661", - "2620:131:3002::/45": "19747", - "2001:1248:9a81::/44": "11172", - "2409:8a7b::/29": "9808", - "240a:a4a5::/32": "143839", - "2a01:b740:a03::/48": "714", - "2001:7f8:69::/48": "201925", - "2407:b380::/32": "45062", - "240a:a87a::/32": "144820", - "2600:1409:a000::/48": "35994", - "2a04:280::/29": "28917", - "2a04:ff07::/32": "202297", - "2001:559:84aa::/48": "33659", - "2402:800:3c8d::/41": "7552", - "2804:5720::/32": "268046", - "2a09:bac0:191::/45": "13335", - "2401:b800:f001::/36": "38248", - "240a:aeca::/32": "146436", - "2607:fc48:bc3a::/47": "40009", - "2a02:26f7:dc04::/48": "36183", - "2a03:af00::/32": "31614", - "2402:c480:3001::/33": "63916", - "2408:8256:3d6a::/48": "17623", - "2408:8656:30fb::/48": "17816", - "2409:408d:9000::/25": "55836", - "2a00:1358:c100::/48": "205972", - "2a00:1fa2:bb00::/33": "28884", - "2a02:26f7:e741::/46": "20940", - "2400:cb00:a840::/46": "13335", - "2401:ff80:1381::/46": "133954", - "240e:473:1950::/40": "4134", - "2803:ba00:600::/36": "52286", - "2804:4f8:6001::/39": "28263", - "2a00:d260::/29": "15600", - "2a00:fd80:aaab::/33": "38719", - "2001:559:861a::/48": "33659", - "2001:678:cb4::/48": "56396", - "2402:1c00:c01::/45": "23838", - "2404:ea80:300::/36": "135373", - "2409:8062:3100::/36": "9808", - "2409:8914:7e00::/39": "56044", - "2620:f:1::/48": "3756", - "2403:9800:b056::/33": "4648", - "2600:9000:11c1::/46": "16509", - "2620:1a:a000::/48": "62698", - "2620:124:3000::/40": "46900", - "2800:bf0:a801::/46": "52257", - "2804:14c:8500::/40": "28573", - "2a04:4e42:2::/43": "54113", - "2001:559:c2b8::/48": "33659", - "2001:579:e138::/40": "22773", - "2400:9380:a01f::/48": "23764", - "240a:a2f1::/32": "143403", - "240e:624::/30": "4134", - "2801:1e:d000::/48": "265652", - "2804:7dc4::/32": "271581", - "2a02:26f7:b5c0::/48": "36183", - "2a04:f580:8210::/47": "4134", - "2a02:2048::/32": "1342", - "2001:418:1401:7e::/56": "2914", - "2001:67c:21a8::/48": "51421", - "2001:ce8::/32": "17511", - "2001:43f8:1f3::/48": "37474", - "2403:1f00::/32": "10010", - "2604:6080::/32": "13739", - "2a00:b340:10::/48": "196745", - "2408:8256:3760::/44": "17623", - "2409:8020:3028::/43": "56046", - "2600:6ce0::/29": "16787", - "2620:11e:f000::/48": "6130", - "2001:559:81fc::/48": "7016", - "2001:559:c375::/48": "33657", - "2001:5b0:300::/40": "6621", - "2001:12f0:740::/40": "1916", - "240a:a0a5::/32": "142815", - "2607:f110:1a::/42": "21889", - "2803:6700:10::/48": "263210", - "2806:230:100c::/48": "265594", - "2a0c:8c80::/32": "201808", - "2403:cfc0:100e::/47": "135134", - "2405:200:300::/36": "55836", - "2409:8c34:4500::/32": "9808", - "2804:4ed4::/32": "268285", - "2a03:9060::/32": "28768", - "2401:4900:53d0::/42": "45609", - "2402:8100:3080::/42": "45271", - "2408:8256:3086::/48": "17816", - "2804:4f8:a00c::/40": "28263", - "2a02:2698:2c::/38": "12768", - "2a02:26f7:de49::/42": "20940", - "2402:800:5c71::/40": "7552", - "2403:0:208::/37": "4755", - "2806:106e:12::/45": "8151", - "2001:559:c187::/48": "7922", - "2402:800:6400::/36": "7552", - "2600:1003:b870::/40": "22394", - "2607:fb10:7152::/42": "2906", - "2a01:7d20:c00::/40": "203645", - "2a0e:b107:ec0::/44": "212196", - "2620:121::/45": "55219", - "2a00:5881:1000::/40": "203432", - "2a00:a500::/32": "49457", - "2a01:5b0:6::/48": "8561", - "2a0a:aa42::/32": "205668", - "240e:473:1a50::/39": "4134", - "2804:2e84:10::/40": "265350", - "2804:41a8::/32": "267448", - "2001:559:80c1::/48": "7015", - "2402:800:53d3::/44": "7552", - "240a:ac96::/32": "145872", - "2602:fdd7::/47": "2635", - "2a04:8080::/29": "61207", - "2001:559:830b::/48": "7015", - "2400:1c00:220::/43": "45143", - "2a02:4840:1111::/48": "203339", - "2001:4c8:1008::/48": "25864", - "240a:aa0a::/32": "145220", - "2602:fd92:e00::/40": "211584", - "2804:2f0::/32": "53236", - "2a02:26f7:d9c4::/48": "36183", - "2001:6d0:4004::/48": "60915", - "2001:4878:4102::/47": "12222", - "2408:8956:7a00::/40": "17622", - "2606:6480::/32": "22113", - "2806:370:6010::/40": "28403", - "2a02:26f7:c140::/48": "36183", - "2a07:9944:1a::/48": "8100", - "2001:1928::/32": "30528", - "2600:100d:b030::/44": "22394", - "2607:fdf0:5ea2::/45": "8008", - "2a01:3f1:c00::/34": "8674", - "2402:fd00::/32": "38264", - "2600:6c38:604::/47": "20115", - "2602:feda:2d0::/47": "133492", - "2620:ca:4000::/48": "394229", - "2402:800:950f::/43": "7552", - "240e:44d:3900::/41": "140345", - "2600:8807:ab22::/40": "22773", - "2607:f128::/48": "46440", - "2804:2958::/32": "264010", - "2a0c:5247:8000::/36": "208861", - "2400:ad40::/32": "136262", - "2401:1700:7c10::/42": "55666", - "240a:a4fb::/32": "143925", - "240e:940:cf00::/34": "4134", - "2600:802:1101::/44": "701", - "2804:58fc:6000::/32": "268162", - "2402:f00::/32": "23918", - "2405:7f00:a020::/40": "133414", - "2408:84f3:9440::/38": "17816", - "2001:559:c230::/48": "33659", - "2402:7500:5ce::/42": "24158", - "2408:8256:377b::/48": "17816", - "2606:e880::/32": "46811", - "2801:c4:13::/48": "265533", - "2a07:5080::/29": "49223", - "2a0a:9a04::/48": "61317", - "2001:67c:2104::/48": "9182", - "2401:d800:ff0::/34": "7552", - "2401:ff80:198f::/43": "133954", - "2804:7b3c::/32": "271419", - "2001:df3:5880::/48": "136704", - "2001:ee0:2820::/37": "45899", - "2408:8206:8510::/34": "4808", - "2600:370f:2020::/45": "32261", - "2603:c026:c000::/35": "31898", - "2603:f2e8::/29": "396356", - "2a0e:c40::/29": "57112", - "2604:f980:5c00::/40": "19957", - "2a0d:1e40::/29": "202714", - "2409:8002:2100::/37": "9808", - "240a:ae68::/32": "146338", - "240e:7:4000::/37": "134420", - "2800:110:3805::/37": "4270", - "2a01:280:328::/48": "34628", - "2a02:26f7:f084::/48": "36183", - "2a05:4700:50::/48": "43578", - "2405:9800:b01a::/48": "45430", - "2408:84f3:f640::/44": "17623", - "2804:6a5c:8000::/40": "270331", - "2804:6f14::/32": "270637", - "2a00:8a01:10::/44": "18666", - "2a06:dd80::/29": "203544", - "2a10:f540::/29": "15600", - "240e:3b7:c800::/37": "4134", - "2a02:26f7:c352::/45": "20940", - "2a07:6cc0:20::/47": "61098", - "2001:559:80a3::/48": "33668", - "2402:800:330f::/43": "7552", - "240a:a611::/32": "144203", - "2607:fb10:70e0::/47": "2906", - "2804:2d04::/32": "265257", - "2804:5c78::/33": "53245", - "2a01:8100:2000::/36": "39729", - "2404:3d00:40d6::/47": "21433", - "240a:a70a::/32": "144452", - "2804:4618:2200::/35": "266968", - "2a04:2b00:14ee::/48": "212391", - "2404:f240::/32": "134863", - "2620:10f:7002::/44": "54765", - "2801:80:1e41::/48": "14026", - "2a02:438::/32": "13132", - "2001:67c:2fc::/48": "41700", - "240a:afc6::/32": "146688", - "2600:1406:7000::/48": "35994", - "2607:f980::/32": "29744", - "2001:44b8:604f::/48": "4739", - "240a:a004::/32": "142654", - "2600:1002:9100::/44": "6167", - "2001:4060::/33": "6772", - "240e:965:e400::/39": "133775", - "2a09:fbc0::/32": "205718", - "2001:678:138::/48": "38990", - "2001:e48::/42": "9583", - "240e:3bb:d000::/36": "134772", - "2804:2ee8::/32": "262880", - "2a00:8a01:8000::/44": "10455", - "2001:1248:9a8a::/45": "11172", - "2804:6e7c::/32": "270600", - "2a05:3580:2f00::/32": "35807", - "2001:df3:8f80::/48": "140603", - "2408:8459:5e50::/34": "17816", - "2409:805c:30f1::/44": "9808", - "2a02:2892:40::/48": "51185", - "2a03:5840::/48": "199586", - "2a05:d050:8010::/42": "16509", - "2a00:1d60:f000::/36": "59990", - "2a02:480::/32": "8685", - "2a0e:5340::/29": "42306", - "2400:5800::/45": "38712", - "240a:a577::/32": "144049", - "2603:c0e1:2000::/36": "54253", - "2606:8e80:53::/48": "32133", - "2a01:a460::/32": "34520", - "2a04:92c7:b::/45": "62240", - "240e:473:3800::/41": "140485", - "240e:473:ab50::/40": "4134", - "2606:7100:3101::/32": "21581", - "2a06:e881:5300::/44": "209859", - "2a09:b280:ccc0::/47": "210025", - "2401:c900:2700::/36": "36351", - "2408:8256:2d6b::/48": "17623", - "2606:b180::/32": "63069", - "2804:2924::/32": "264000", - "2a02:6080::/32": "47381", - "2a09:1500:8::/48": "208175", - "2001:4c8:102b::/41": "15290", - "2405:206::/31": "55836", - "2600:2:da0::/29": "1239", - "2001:468:ef02::/40": "11537", - "2001:559:748::/48": "7015", - "2001:fd8:1ef0::/34": "4775", - "240a:a5cb::/32": "144133", - "2600:cc00:1::/46": "32298", - "2605:6400:d814::/48": "398355", - "2804:4b50::/34": "267297", - "2401:d800:5710::/40": "7552", - "240e:981:1100::/33": "4134", - "2a02:970:1193::/38": "44002", - "2a0f:8980::/32": "39351", - "2a01:8840:ce::/43": "12041", - "2001:df3:cc00::/48": "134053", - "240a:a02b::/32": "142693", - "240e:473:4c50::/39": "4134", - "240e:964:8800::/38": "133775", - "2600:1418:c001::/31": "20940", - "2620:df:4000::/48": "14618", - "2800:160:1f0b::/45": "14259", - "2a05:d03a:8000::/40": "16509", - "2a0e:1c40:4000::/48": "208635", - "2001:559:c1b9::/48": "33652", - "240a:a1cb::/32": "143109", - "240e:1:7100::/40": "137698", - "240e:473:8750::/40": "4134", - "2610:130:200::/35": "6122", - "2620:10a:80e6::/48": "55195", - "2a02:cb80:2110::/48": "43766", - "2001:df0:e680::/48": "136369", - "2608:141:c::/48": "6025", - "2801:2::/32": "17147", - "2001:559:84e2::/45": "7016", - "2a02:26f7:e744::/48": "36183", - "2600:803:1200::/48": "15572", - "2800:870:1002::/48": "6461", - "2a0a:6780::/29": "206377", - "2400:2000:6::/47": "20940", - "2600:d0d:4000::/30": "20161", - "2605:37c0:200::/34": "396469", - "2a01:8840:51::/48": "207266", - "2001:506:39::/48": "20055", - "2001:559:c1f3::/45": "7725", - "2409:8089::/35": "9808", - "2600:c0b:1021::/32": "14745", - "2600:1017:b0e0::/39": "6167", - "2607:6980:e1a0::/44": "16584", - "2804:1644:240::/39": "262903", - "2001:67c:1b2c::/48": "204074", - "240e:83:800::/32": "4134", - "2600:140b:c801::/38": "20940", - "2a00:c40:8095::/48": "206785", - "2a02:26f0:9000::/48": "34164", - "2a03:2880:f102::/44": "32934", - "2a07:cb80::/32": "49685", - "2001:678:c10::/48": "207488", - "240a:ae2b::/32": "146277", - "2607:dc80::/32": "64262", - "2804:81fc::/32": "272490", - "2001:4878:141::/48": "12222", - "240a:ab89::/32": "145603", - "2606:1700:b::/32": "62917", - "2a03:fd80::/29": "200781", - "2a0c:3a81::/40": "51903", - "2001:4878:215::/46": "12222", - "2a02:26f7:f8cc::/48": "36183", - "2001:19b8::/32": "30340", - "2001:4248::/43": "30999", - "2405:9800:b::/48": "20940", - "240e:679:1000::/37": "140330", - "2600:6c38:8ec::/43": "20115", - "2602:ffd8::/36": "29838", - "2a00:1fa3::/29": "8359", - "2803:7200:8016::/44": "27696", - "2a02:214d:8000::/33": "1241", - "2001:559:c1fb::/48": "33287", - "2401:d800:bf20::/41": "7552", - "240a:a295::/32": "143311", - "2800:160:1f24::/44": "14259", - "2803:9800:ba01::/46": "11664", - "2806:230:6023::/48": "11888", - "2a07:bbc2::/47": "50864", - "2001:67c:1438::/48": "44418", - "2804:6f18::/32": "270638", - "2a03:db80:4810::/48": "60824", - "2a0e:fd44:4a::/31": "44103", - "2620:149::/47": "714", - "2803:e1c0::/32": "265684", - "2804:2140:1024::/36": "53059", - "2a0c:5247:b000::/33": "59504", - "2c0f:eff0::/32": "327859", - "240a:a511::/32": "143947", - "2a04:a080::/29": "35205", - "2001:559:71a::/48": "7015", - "2001:559:c38d::/48": "22909", - "2804:fc:f000::/36": "28142", - "2804:3aec::/32": "266118", - "240a:a9e1::/32": "145179", - "2001:4878:246::/48": "12222", - "240a:70:8::/47": "9605", - "2605:9d80:9052::/48": "4809", - "2605:f440:5700::/34": "54874", - "2607:1280:1490::/44": "394972", - "2a02:4fc0::/33": "199081", - "2a0f:2140::/29": "60262", - "2400:fc00:4110::/38": "45773", - "2804:718::/32": "262620", - "2a02:2ad0:137::/44": "702", - "2a0b:3c40:9::/48": "208258", - "2a0d:ac41::/32": "208861", - "2a0e:2800::/29": "63023", - "2c0f:f5c0:481::/46": "29465", - "2001:e48:40:5::/64": "22317", - "2404:4600:4::/47": "9764", - "2408:8256:3180::/44": "17623", - "240e:3bb:c000::/37": "140315", - "2600:9000:2219::/42": "16509", - "2804:23b0::/32": "262645", - "2a0e:3400::/29": "209095", - "2408:8956:7600::/40": "17622", - "240a:ac60::/32": "145818", - "2620:104:2040::/48": "14618", - "2a02:26f7:d70a::/42": "20940", - "2001:67c:2f54::/48": "197474", - "2620:122:8000::/48": "18541", - "2001:438:65::/48": "26762", - "2402:2200:2000::/36": "24090", - "2405:1c0:6183::/41": "55303", - "2605:9780:2400::/36": "36180", - "2a02:26f7:ddc8::/48": "36183", - "2001:678:7e8::/48": "200300", - "2804:7b0::/32": "262453", - "2a02:26f7:c9c0::/48": "36183", - "2a0c:b641:5e0::/44": "212912", - "2408:8957:8700::/40": "17816", - "240e:44d:2900::/41": "140345", - "2620:171:30::/45": "42", - "2a03:c5c0::/32": "198484", - "2a0e:40c0:3::/48": "204957", - "2a02:26f7:ca81::/46": "20940", - "2001:df3:9400::/48": "134138", - "2404:bf40:a581::/46": "139084", - "2404:e740:4::/32": "139195", - "240a:acad::/32": "145895", - "240a:adec::/32": "146214", - "2602:fdb8:130::/44": "394151", - "2803:5440:4067::/44": "264738", - "2a0e:e41::/32": "328317", - "2405:600:5001::/32": "55805", - "2a06:4c0::/32": "60447", - "2403:3800:a00::/35": "4007", - "2409:805c:5::/36": "9808", - "240a:a176::/32": "143024", - "2604:f400:2800::/37": "19406", - "2607:fae0:a000::/35": "8038", - "2a0d:60c3::/32": "59504", - "2804:3420::/32": "265437", - "2a03:2880:f040::/46": "32934", - "2001:1890:1fff:104::/29": "7018", - "240e:878::/40": "137689", - "2600:2a02::/31": "396319", - "2800:2f0:1c::/48": "27668", - "2a00:8720::/32": "41937", - "2a03:2960::/39": "201590", - "2001:df0:b5::/48": "46049", - "2402:a800:fff1::/44": "9601", - "2606:9500:3000::/36": "14427", - "2804:724c:8001::/33": "270845", - "2402:d000:8125::/44": "9329", - "240a:af51::/32": "146571", - "2400:6400::/32": "38201", - "2409:8a53:100::/38": "56047", - "2607:f518:104::/42": "46887", - "2804:fe0::/47": "263049", - "2804:3ee0::/32": "266626", - "2c0f:f6d0:29::/40": "327687", - "2408:8256:3280::/48": "17816", - "240a:a677::/32": "144305", - "2600:9000:114b::/48": "16509", - "2800:68:34::/47": "61468", - "2a03:2480:81::/33": "41983", - "2001:67c:2190::/48": "51400", - "2402:800:7c50::/42": "7552", - "240a:a289::/32": "143299", - "240a:aa13::/32": "145229", - "240a:ab30::/32": "145514", - "2602:fd10::/40": "19529", - "2607:7c80:56::/48": "64260", - "2a10:d501::/32": "398464", - "2620:1bc:1030::/32": "7726", - "2804:1690:680::/36": "263292", - "2804:2ce4:4000::/34": "265249", - "2a0e:6e80::/44": "208800", - "2605:300::/32": "46849", - "2a03:90c0:420::/41": "199524", - "2001:df0:ca00::/47": "137442", - "2602:fe7d::/36": "12155", - "2801:80:c90::/48": "61656", - "2001:559:810a::/48": "33287", - "2001:df2:a600::/48": "45320", - "2806:335:252::/47": "265580", - "2a06:2940::/48": "44206", - "2001:67c:53c::/48": "43046", - "240a:a739::/32": "144499", - "2a0b:b87:ffd4::/48": "204826", - "2405:9800:c000::/37": "45430", - "240e:a50:5c00::/34": "134419", - "2804:18bc::/32": "61950", - "2a02:26f7:e1c4::/48": "36183", - "2a06:3480::/29": "48847", - "240e:974:e800::/39": "38283", - "2607:f00::/32": "5704", - "2804:63e0::/32": "269389", - "2a02:2e0:3fc::/48": "205766", - "2001:559:28b::/48": "33489", - "2a02:26f7:c881::/46": "20940", - "2402:2500:7::/33": "13445", - "2803:6900:578::/48": "52423", - "2804:14d:e200::/40": "28573", - "2804:7190::/32": "270797", - "2a05:4700:200::/48": "43578", - "2a0f:5707:fff7::/48": "50310", - "2001:559:81ee::/48": "33287", - "2400:adc5::/39": "9541", - "2804:5284:1000::/34": "268523", - "2a01:8840:b5::/48": "207266", - "2a06:3200::/32": "204989", - "2a06:e500::/29": "199733", - "2a0e:c9c0::/29": "50673", - "2a05:e740:242::/48": "29108", - "2402:800:627e::/40": "7552", - "2402:8400:400::/40": "17820", - "2409:8924:7d00::/38": "56046", - "240a:a068::/32": "142754", - "2804:1b00::/32": "61703", - "2a00:b6e0::/32": "60362", - "2a01:5042:1::/48": "202196", - "2001:500:84::/48": "394353", - "2001:559:765::/48": "7922", - "240a:a794::/32": "144590", - "240a:ab66::/32": "145568", - "2606:a300:f001::/36": "35847", - "2800:40:29::/46": "16814", - "2804:45fc::/32": "266959", - "2402:1e80::/50": "4672", - "240a:a949::/32": "145027", - "2a01:8840:9d::/48": "207266", - "240a:a75b::/32": "144533", - "2607:f208:d200::/43": "26496", - "2620:104:6003::/48": "14618", - "2804:fc4::/32": "263602", - "2a02:26f7:e309::/42": "20940", - "2602:feb4:1c0::/44": "25961", - "2804:236c:d000::/34": "264161", - "2a02:26f7:efc1::/46": "20940", - "2c0f:f470::/32": "37640", - "2800:bf0:80c2::/45": "27947", - "2804:38:3403::/45": "19089", - "2804:3130::/32": "264999", - "2a02:26f0:8701::/36": "20940", - "2a0e:1c80:11::/46": "1299", - "2001:559:83d3::/48": "7922", - "2001:550:1b01::/44": "174", - "2001:559:83d5::/48": "7922", - "2600:8807:6d3e::/32": "22773", - "2a0e:4540:cafe::/48": "58247", - "2001:559:86bb::/48": "7922", - "2001:b08:5::/46": "3267", - "2001:4878:b347::/48": "12222", - "2402:800:7bb0::/41": "7552", - "2800:160:1b25::/46": "14259", - "2a02:26f0:8001::/39": "20940", - "2001:579:530c::/41": "22773", - "240e:60c:dc00::/34": "4134", - "2804:6ddc::/32": "270560", - "2a02:26f7:d601::/46": "20940", - "2a04:5200::/41": "50113", - "2001:559:1dc::/47": "33659", - "2604:5e80:20::/48": "1700", - "2a04:5781:2000::/40": "12337", - "2402:800:9147::/43": "7552", - "2402:800:9dc5::/42": "7552", - "2409:805c:5b00::/37": "9808", - "240e:981:7100::/36": "4134", - "2a01:9700:11ae::/38": "8376", - "2a02:2698:782a::/47": "56981", - "2a0a:e5c0:16::/48": "213081", - "2408:8456:5640::/39": "17816", - "2600:1408:cc01::/35": "20940", - "2a00:f826:3::/48": "30823", - "2a01:4a0:39::/41": "201011", - "2a0d:f340::/29": "208861", - "2a10:4000::/29": "28701", - "2001:550:7206::/37": "174", - "2001:df6:6300::/47": "133225", - "240e:908::/33": "4134", - "2604:9b00::/38": "14230", - "2804:297c:e001::/35": "262907", - "2a0e:1b80:3::/48": "54201", - "2c0f:ec40:6000::/32": "327936", - "2400:d400:18::/48": "45671", - "240a:afd7::/32": "146705", - "2a05:c4c0::/29": "12859", - "2606:5580:2::/38": "63242", - "2607:ffd8:214::/36": "33333", - "2a10:22c0::/29": "206807", - "2605:cf00::/32": "46525", - "2804:7e44::/32": "271613", - "2a07:22c1:36::/48": "211244", - "2001:590:3c01::/48": "34164", - "2001:16a2:7400::/36": "25019", - "2404:f600::/32": "24207", - "2600:4402::/34": "6130", - "2804:283c::/32": "263949", - "2804:46f4::/32": "267022", - "2a02:7340::/32": "44838", - "2a0b:1d00::/32": "49709", - "2800:1e0:1071::/40": "7195", - "2a00:8940::/32": "35799", - "2a02:26f7:bb46::/47": "20940", - "2001:44b8:206b::/35": "4739", - "240a:a122::/32": "142940", - "2800:160:1da2::/44": "14259", - "2804:4fe8::/32": "268357", - "2a0d:42c0::/29": "197706", - "2001:13c7:6016::/48": "61494", - "240a:a676::/32": "144304", - "240a:ace9::/32": "145955", - "2a0b:84c0::/29": "205582", - "2600:370f:33ca::/42": "32261", - "2605:ca40:1::/48": "397011", - "2803:aea0::/32": "18678", - "2a02:2090:a800::/48": "47595", - "2404:4e40::/47": "136429", - "2408:8956:2c00::/40": "17622", - "2600:1408:25::/36": "20940", - "2604:f980:2600::/40": "19957", - "2806:261:300:4a::/37": "13999", - "2a01:7660:6::/48": "20676", - "2001:df3:a480::/48": "137549", - "2408:877e::/32": "133119", - "2800:200:b450::/40": "12252", - "2a02:26f7:e9c8::/48": "36183", - "2a02:26f7:f2cd::/42": "20940", - "2400:7400:76::/48": "23736", - "2604:4300:c009::/34": "33387", - "2a0e:b103:f93::/45": "20473", - "2001:1380::/37": "19180", - "2400:a980:5500::/36": "133111", - "2804:2c8c::/33": "265226", - "2804:525c::/32": "268513", - "2a04:4b00::/29": "12843", - "2001:418:142e:400::/43": "2914", - "2001:559:118::/48": "7922", - "2a09:e9c0::/29": "209181", - "2a0e:fd45:40ff::/48": "53356", - "2001:559:495::/46": "7922", - "2407:fe80::/39": "134749", - "240a:a389::/32": "143555", - "240e:473:8920::/41": "140486", - "2a06:3201::/32": "42184", - "2a0c:2f07:4896::/48": "206924", - "2a0e:3940:3200::/44": "207834", - "2402:5300:4210::/39": "45903", - "2408:805c::/34": "17816", - "240a:a622::/32": "144220", - "2a00:1d34:4400::/40": "47331", - "2a02:26f7:3b::/48": "20940", - "2a0e:97c7:160::/48": "42394", - "2a06:9240::/29": "47406", - "2804:530c::/32": "268560", - "2a07:e340::/32": "9009", - "2a10:30c4::/30": "398481", - "2409:8f1a::/25": "9808", - "2602:feda:c0::/47": "43126", - "2605:ad80:ff::/48": "62887", - "2a03:4780::/29": "47589", - "2a07:4a80::/29": "174", - "2a0a:6700::/45": "40676", - "2a0f:9400:771a::/47": "53356", - "2401:2d00:83e8::/48": "17625", - "2804:4c64::/32": "267368", - "2a0e:6540:d0d0::/48": "208364", - "2001:559:8606::/48": "33651", - "2001:fd8:3040::/47": "4775", - "2001:4df0::/29": "1680", - "2605:59c0:2000::/33": "36492", - "2804:a98::/47": "52896", - "2804:2200::/35": "264585", - "2a00:fd00::/32": "29695", - "2001:deb::/48": "63528", - "2001:4878:a220::/48": "12222", - "2400:6180:f000::/36": "14061", - "2401:440::/32": "10004", - "2401:b400:10::/47": "58536", - "2600:e004::/32": "22995", - "2800:ba0:14::/48": "27796", - "2a03:5980::/32": "34391", - "2a05:1081:1::/48": "211940", - "2a0b:ae40:5::/44": "396362", - "2001:df0:cb::/48": "45786", - "2001:df1:b900::/48": "132563", - "2001:4878:4158::/48": "12222", - "2401:d800:2830::/41": "7552", - "240a:a0d1::/32": "142859", - "2804:3600::/32": "266320", - "2804:5070::/32": "268389", - "2001:559:8119::/48": "7922", - "2001:559:c197::/48": "33491", - "2608:146:4::/48": "27046", - "2409:8904:5e70::/40": "24547", - "2804:2020::/32": "264470", - "2a02:1388::/34": "29247", - "2a02:fd40::/31": "31034", - "2a04:9700::/29": "62227", - "2001:559:577::/48": "7015", - "2401:ff80:1501::/46": "133954", - "2408:80f0:4000::/32": "4808", - "240a:acb7::/32": "145905", - "2001:559:39a::/48": "7015", - "2a00:eb80::/32": "48518", - "2001:1248:5aff::/39": "11172", - "2604:d600:1512::/47": "32098", - "2806:36c::/32": "265615", - "2a01:418::/32": "42344", - "2a01:8840:32::/45": "12041", - "2001:579:a08c::/43": "22773", - "240e:3b2:1400::/38": "134773", - "2600:1406:4c00:1::/48": "20940", - "2404:1fc0:1104::/48": "58534", - "2806:2f0:12c4::/42": "22884", - "2a0a:7780::/29": "207167", - "2001:559:823d::/48": "33652", - "2804:e94:82::/44": "262468", - "2a0c:9a40:8103::/48": "200857", - "2001:559:c168::/48": "33489", - "2a00:4880::/32": "50348", - "2a03:7840::/29": "207790", - "2001:ee0:9200::/37": "45899", - "2401:4900:3920::/43": "45609", - "2610:28::/33": "81", - "2800:bf0:80ed::/43": "27947", - "2804:76c8:1121::/34": "271134", - "2a00:9620::/32": "43071", - "2001:559:2d7::/48": "7016", - "2800:160:1a2f::/43": "14259", - "2804:e94:1a2::/43": "262468", - "2600:1014:b030::/44": "22394", - "2001:67c:2288::/48": "44073", - "2404:bf40:8183::/42": "139084", - "2801:80:b80::/48": "61841", - "2804:1100::/34": "53178", - "2a02:4840:1000::/48": "52048", - "2a03:5580::/29": "57280", - "2a07:1cc0::/29": "48760", - "2001:448a:7030::/41": "7713", - "2401:ed80::/32": "63932", - "2804:3908::/32": "266519", - "2a02:26f7:f789::/42": "20940", - "2a0f:9a00::/29": "328543", - "2001:678:72c::/48": "201697", - "2401:5e40::/35": "63770", - "240e:978:8000::/40": "137702", - "2600:1008:a100::/43": "6167", - "2602:fea1::/36": "20018", - "2001:559:1e1::/48": "33657", - "2610:88::/46": "14037", - "2620:0:2f0::/48": "32629", - "2804:1040:a240::/35": "263626", - "2a00:5c40::/29": "6821", - "2a0a:ec04::/32": "42692", - "2001:559:290::/48": "7016", - "2607:f8e0::/32": "21947", - "2a02:26f7:22::/48": "36183", - "2a02:26f7:c144::/48": "36183", - "2001:67c:2d68::/48": "31169", - "2a03:db80:2c14::/48": "47610", - "2001:4490:d500::/46": "9829", - "2401:d800:f640::/42": "7552", - "2409:8924:8300::/37": "56046", - "2600:1417:801::/35": "20940", - "2a0e:aa06:480::/44": "207454", - "2404:3d00:414e::/42": "3573", - "240e:640:f00::/32": "4134", - "2604:4000:4000::/48": "32491", - "2a00:4600::/32": "25451", - "2a01:5041:4efd::/48": "202196", - "240a:a32a::/32": "143460", - "2600:8807:9182::/38": "22773", - "2607:f358:8::/47": "60311", - "2a05:6e40::/29": "200552", - "2a0d:1000::/29": "206264", - "2607:fca8::/37": "17139", - "2800:600:181::/38": "52323", - "2a09:bac0:14::/46": "13335", - "2001:559:c2e6::/48": "33660", - "2001:4268:120::/43": "15964", - "240a:a0fb::/32": "142901", - "2603:fc38::/29": "262287", - "2804:6f0c::/32": "270635", - "2a00:1840::/32": "12333", - "2001:df7:6400::/48": "134809", - "2401:3f00::/32": "56308", - "2600:1406:2c01::/38": "20940", - "2605:72c0:5::/48": "40401", - "2a0e:8f02:2000::/44": "213045", - "2a0e:b107:df5::/48": "142055", - "2402:800:fe50::/42": "7552", - "2408:8256:a68::/39": "17622", - "2a00:d440::/29": "58046", - "2a0f:9600:f::/48": "60781", - "2405:1c0:6473::/40": "55303", - "2a0d:3842:1190::/48": "57629", - "2409:8c85:aa35::/44": "9808", - "2600:6c47:8000::/28": "20115", - "2606:2740::/32": "32490", - "2800:150:6::/48": "20940", - "2001:c20:8406::/44": "3758", - "2803:53e0:1000::/48": "52468", - "2a0d:f407:1001::/48": "209334", - "240e:94::/31": "17638", - "2804:6900::/32": "270242", - "2a00:14b8::/32": "49826", - "2a04:c440:8000::/36": "2534", - "2a06:6541:1440::/48": "8220", - "2001:1af8::/33": "60781", - "2001:4190:8024::/48": "8938", - "2401:d800:7d80::/42": "7552", - "2605:dd40:8880::/44": "16509", - "2804:a30::/32": "263030", - "2806:230:601b::/48": "11888", - "2a0e:e580::/29": "204394", - "2400:7fc0:220::/44": "55960", - "2401:3cc0:901::/32": "137409", - "240e:3b9:1400::/38": "134773", - "240e:44d:3c00::/41": "140345", - "2603:c025:4000::/35": "31898", - "2a02:348:5c::/42": "35470", - "2a0d:2d42::/29": "62075", - "2001:5e0:20::/48": "20224", - "2001:9c0::/32": "12902", - "2401:a840:400::/32": "136917", - "2408:80ea:4000::/34": "17816", - "240a:abf1::/32": "145707", - "2a07:dc0::/29": "25231", - "2001:67c:1a00::/44": "1837", - "2607:cc00::/32": "36003", - "2804:4d38::/32": "267419", - "2401:d800:c000::/35": "7552", - "2402:800:5be0::/44": "7552", - "240a:a8cf::/32": "144905", - "240e:438:c40::/38": "4134", - "2602:feda:be0::/48": "38173", - "2a02:cb80:4240::/44": "43766", - "2c0f:fdc0::/32": "36930", - "240a:a2db::/32": "143381", - "2a0d:9b84:1000::/36": "25180", - "2a0f:8ac1:2d3a::/48": "205749", - "2403:2500:4000::/41": "36236", - "2607:f038:6001::/32": "21527", - "2a02:2178::/29": "29075", - "2a0d:180::/31": "204668", - "2408:8956:8800::/40": "17622", - "2600:1900:4170::/40": "15169", - "2a0c:acc0::/29": "43260", - "2001:16f0::/32": "49220", - "240a:a993::/32": "145101", - "240a:abdb::/32": "145685", - "2a01:5041:4eff::/48": "202196", - "2a03:2d80::/32": "34457", - "2001:470:57::/48": "6939", - "2400:7e00::/32": "24572", - "2401:cf80:6044::/48": "198949", - "2408:8957:6e00::/40": "17622", - "2600:1f1e::/36": "16509", - "2403:98c0::/35": "138320", - "2a02:26f7:bb80::/48": "36183", - "2a03:4b27:d000::/36": "206452", - "2401:4900:52b0::/44": "45609", - "2408:8459:8a50::/37": "17816", - "2620:8d:8000::/48": "4385", - "2804:1110:822::/32": "262901", - "2a00:1728:4::/44": "34224", - "240a:a591::/32": "144075", - "2804:6b3c::/32": "270387", - "2a07:4280::/29": "48147", - "2001:1248:9a3f::/41": "11172", - "2408:8459:7c10::/42": "17623", - "2607:fdf0:5e39::/46": "8008", - "2800:160:1c2b::/43": "14259", - "2804:5318::/32": "268563", - "2a01:448:73::/32": "42585", - "2a02:2e02:90f0::/39": "12479", - "240a:a643::/32": "144253", - "2607:f750:7000::/40": "46925", - "2804:2cac:eeef::/35": "265234", - "2400:9380:9fc0::/44": "136167", - "2a06:e180::/29": "57081", - "2c0f:ed00:100::/44": "328442", - "240e:473:6e00::/41": "140485", - "2602:feda:30::/44": "46997", - "2605:a404:3ee::/37": "33363", - "2607:f740:100::/47": "36236", - "2804:234::/32": "262731", - "2804:3838:3::/45": "53170", - "2a01:5980::/32": "15689", - "2001:df6:b400::/48": "138148", - "2602:feda:d9d::/46": "38254", - "2800:bf0:2904::/37": "27947", - "2a02:598::/46": "43037", - "2a02:26f7:cc44::/48": "36183", - "2a02:2e02:84e0::/39": "12479", - "2001:678:b28::/48": "204867", - "2001:678:f80::/48": "52158", - "2404:3d00:400e::/41": "3573", - "2408:891c::/32": "4837", - "240a:a0a3::/32": "142813", - "2801:1d0:2::/48": "264647", - "2a02:708::/32": "8741", - "2804:49a0::/32": "262498", - "2001:678:f84::/48": "197942", - "2403:cfc0:1005::/48": "135134", - "2404:ffc0:12::/45": "62707", - "240a:a2c3::/32": "143357", - "240e:51:6000::/29": "4134", - "2800:160:189b::/42": "14259", - "2803:a5a0::/32": "267728", - "2806:2f0:2403::/48": "17072", - "2a00:c00:f033::/48": "24467", - "2a0f:d840::/29": "207558", - "2001:3c8:a702::/48": "132879", - "2404:8d02:1040::/48": "9587", - "2804:50e8::/32": "268418", - "2804:5b30::/32": "268824", - "2806:108e:26::/48": "8151", - "2001:559:c18c::/48": "13367", - "2406:9dc0:6666::/48": "38173", - "240a:a304::/32": "143422", - "2607:fe28:10::/48": "398119", - "2a02:26f7:f088::/48": "36183", - "2a03:ea40::/32": "197985", - "2804:774c::/32": "271169", - "2804:7ca0::/32": "271508", - "240e:105:e800::/37": "4134", - "2801:1ac::/48": "18747", - "2a01:430:12::/45": "24971", - "240a:a6c2::/32": "144380", - "2800:484:c200::/40": "14080", - "2001:559:c366::/44": "7015", - "2600:9000:11d1::/46": "16509", - "2603:40ff:2000::/36": "10578", - "2a02:d70::/32": "41176", - "2a05:1700:2::/47": "56577", - "2a0e:b107:16a0::/48": "210796", - "2a0f:540::/31": "207976", - "2404:1200:2::/47": "14636", - "2409:4064:5000::/27": "55836", - "2620:12c:b067::/48": "13448", - "2804:4efc::/32": "268296", - "2a02:2788:1000::/32": "12392", - "2800:bf0:8280::/44": "52257", - "2804:243c::/32": "264210", - "2a00:77a0::/32": "39586", - "2a07:7e00::/29": "34549", - "2a0e:5c00::/29": "209097", - "2001:49f0:a01c::/46": "174", - "2620:115::/45": "18888", - "2a02:2120::/30": "2119", - "2a02:4b00::/29": "50168", - "2001:67c:374::/48": "51861", - "2804:3004::/32": "264926", - "2001:dce:e000::/48": "38037", - "2404:d500:6::/44": "132370", - "240a:a3c1::/32": "143611", - "2001:559:477::/48": "7922", - "240b:c000::/24": "138384", - "2603:b010:8000::/33": "11796", - "2607:8100::/32": "11404", - "2804:678c::/32": "269635", - "2a02:cb80:2510::/48": "43766", - "2001:418:1::/48": "3130", - "2001:df7:d200::/48": "136179", - "2409:8751:b00::/37": "56047", - "2a06:c980::/29": "13287", - "2a09:4c0:5701::/40": "58057", - "2a0e:97c0:15d3::/45": "20473", - "2001:df5:2200::/48": "133156", - "2803:48e0:2::/32": "52468", - "2001:4c40::/32": "8368", - "2620:0:6c2::/48": "16807", - "2a02:26f0:c201::/37": "20940", - "2a0d:f803:8f00::/40": "20278", - "2001:13d8::/32": "3790", - "2406:ffc0::/32": "9830", - "2803:6fa0::/48": "267790", - "2001:67c:1394::/48": "199351", - "240a:a94c::/32": "145030", - "2602:fd65::/36": "55140", - "2804:5638::/32": "267984", - "2001:a78::/29": "12399", - "2407:1240:1::/48": "141197", - "2600:6:ff44::/42": "1239", - "2001:fd0:3401::/36": "10029", - "2604:d600:1252::/42": "32098", - "2607:f8f8:600::/39": "27323", - "2a0f:6580:103::/48": "48292", - "2a00:11f8::/29": "24875", - "2001:559:809f::/48": "7922", - "2001:1248:8301::/37": "11172", - "2405:d800::/32": "24247", - "2408:8409:8400::/40": "4808", - "2600:370f:7281::/44": "32261", - "2801:c4:b4::/48": "28392", - "2804:5a1c::/32": "268749", - "2001:df2:6880::/48": "139892", - "240a:a6d3::/32": "144397", - "2600:1004:b100::/42": "6167", - "2a02:26f7:c749::/42": "20940", - "2a04:ac00:6::/48": "56534", - "2001:559:87a6::/48": "7015", - "240a:a440::/32": "143738", - "2804:b40::/32": "52760", - "2409:8914:be00::/39": "56044", - "2610:a1:1023::/48": "397237", - "2a10:400::/32": "201787", - "2a02:26f0:c501::/38": "20940", - "2a0b:3880::/32": "62217", - "2a0f:9400:8001::/48": "208393", - "2a0e:a580::/29": "60262", - "2001:67c:18d4::/48": "62075", - "2001:df2:c000::/48": "132644", - "2409:8753:b00::/37": "56047", - "240e:3be:7600::/39": "140313", - "2804:214:4002::/43": "26615", - "2804:2cd4:50::/40": "265246", - "2804:80d4::/32": "272415", - "2804:c00:c100::/34": "52655", - "2804:de0::/32": "262604", - "2804:37d8::/32": "266439", - "2a00:ba80::/32": "15557", - "2a02:26f7:ce40::/48": "36183", - "2001:df7:7d80::/48": "141909", - "2a02:d480:240::/42": "42873", - "2001:67c:22a0::/48": "1764", - "2001:1248:8751::/45": "11172", - "2800:98:170d::/46": "14754", - "2a02:398::/32": "30781", - "2001:fd8:120::/48": "132199", - "2402:800:599b::/42": "7552", - "2600:2c01:6000::/36": "26094", - "2a07:bcc0::/47": "35146", - "2408:8459:2130::/41": "17622", - "2602:fe2e::/37": "21700", - "2804:1934::/32": "61778", - "2606:9680:2000::/44": "22918", - "2001:9d8::/32": "25577", - "2001:1938:0:6000::/48": "12989", - "2400:b000:200::/48": "45209", - "2405:1c0:6743::/43": "55303", - "2405:8d40:b00::/37": "139831", - "240a:a7e1::/32": "144667", - "240e:95c:5000::/36": "138982", - "2806:2f0:8201::/42": "17072", - "2a06:e881:110::/48": "206551", - "2402:800:79d0::/42": "7552", - "240a:ab41::/32": "145531", - "2804:14c:8183::/41": "28573", - "2a00:1e68:102::/43": "42861", - "2409:8750:1100::/32": "56047", - "2a02:20c8:1242::/34": "50304", - "2a02:f040:c::/48": "59605", - "2001:1248:8701::/46": "11172", - "240a:ac0b::/32": "145733", - "2600:1001:b000::/42": "6167", - "2801:13:b000::/48": "64109", - "2804:2bf8::/32": "265185", - "2a09:1480::/39": "35704", - "2804:72d8::/32": "270879", - "2a02:26f7:dd01::/46": "20940", - "2a0c:7480::/32": "5606", - "2001:df3:8d80::/48": "139521", - "2400:a840::/32": "134090", - "2600:6c38::/45": "20115", - "2a00:1d58:8000::/47": "47524", - "2001:42d0:7a00::/44": "33764", - "2600:1001:9110::/36": "22394", - "2607:fb91:200::/35": "21928", - "2602:ffc5:60:1::/43": "7489", - "2620:4b:c000::/46": "29921", - "2803:d280::/44": "264733", - "2804:f2c:1800::/33": "53191", - "2804:1a14:5000::/32": "28153", - "2a02:2e02:f10::/42": "12479", - "2409:8904:32a0::/39": "24547", - "2600:6c7f:91c0::/43": "20115", - "2804:7e6c::/32": "271623", - "2a00:ce60::/32": "8542", - "2a03:db80:4405::/44": "680", - "2400:adc0:110::/47": "9541", - "240a:a77b::/32": "144565", - "240a:ac5a::/32": "145812", - "2605:64c0::/47": "63294", - "2a02:26f7:b945::/46": "20940", - "2a03:e40::/41": "202042", - "2a04:11c0::/29": "48252", - "2001:559:853a::/48": "7015", - "240a:a510::/32": "143946", - "2620:31:c000::/48": "62478", - "2402:b740:8002::/33": "140867", - "2604:d600:152e::/43": "32098", - "2a02:26f7:d54c::/48": "36183", - "2a04:2e06::/32": "205258", - "2a0d:4a00:d000::/34": "29148", - "2600:1400:12::/36": "20940", - "240a:a684::/32": "144318", - "240e:3bd:c000::/37": "140315", - "2804:14c::/40": "28573", - "2a01:aea0:df2::/48": "42473", - "2409:8004:3051::/39": "24547", - "240e:108:47::/48": "131325", - "2001:418:2401:a::/35": "2914", - "2409:8020:81::/43": "56046", - "240e:438:440::/38": "4134", - "2001:559:c0ed::/46": "33652", - "2606:ae00:6080::/39": "7287", - "2804:14c:a989::/41": "28573", - "2a0b:e181::/40": "198605", - "2606:9500:200::/47": "393423", - "2001:df5:fc00::/48": "134281", - "2804:204:21e::/42": "28186", - "2804:2284::/32": "264106", - "2a00:1cb0::/32": "44219", - "2a09:e440::/46": "209185", - "2a0e:3700::/29": "174", - "2001:428:b20::/48": "7359", - "2001:559:5fd::/48": "33659", - "2001:559:84a3::/48": "33651", - "2408:8956:f6c0::/36": "17816", - "2001:678:e70::/48": "211607", - "240a:ab10::/32": "145482", - "2620:124:9000::/44": "6838", - "2804:7fd0::/32": "271711", - "2806:10ae:e::/43": "8151", - "2c0e:100:502::/20": "24863", - "2001:678:c34::/48": "207437", - "2001:67c:117c::/48": "207825", - "2001:1288::/32": "28640", - "2a0a:8d80:1::/48": "200019", - "2001:559:838b::/48": "33651", - "240a:a4b1::/32": "143851", - "2602:806:1000::/48": "397556", - "2a02:26f7:f6e2::/47": "20940", - "2409:8004:1100::/36": "24547", - "2605:b3c0::/32": "16576", - "2804:3dc:4::/40": "52967", - "2a0a:6c0::/29": "47447", - "240a:ae4a::/32": "146308", - "2801:80:140c::/48": "11097", - "2a02:26f7:ef50::/48": "36183", - "2a04:f580:9270::/48": "4809", - "2409:8055:306c::/48": "141425", - "240a:a19d::/32": "143063", - "2804:14c:6b00::/40": "28573", - "2a00:8a20::/32": "60745", - "2400:fc00:4a02::/44": "45773", - "240a:adcf::/32": "146185", - "2600:1006:d160::/34": "22394", - "2a01:240:ab02::/33": "30781", - "2a01:380:6020::/32": "13127", - "2001:df1:7f00::/48": "136726", - "2a0a:e5c0:303::/45": "207996", - "2001:4408:4308::/37": "4758", - "2402:800:f630::/41": "7552", - "2600:1400:1001::/36": "20940", - "2602:feda:1d1::/46": "137256", - "2a03:2500::/32": "59752", - "240a:a78d::/32": "144583", - "2804:2a80::/42": "53094", - "2605:4a40:900::/32": "13786", - "2a01:4ff:ff01::/48": "24940", - "2a01:ce8d:2000::/36": "51964", - "2a02:e540::/29": "8661", - "2001:468:1a08::/48": "302", - "2406:840:e10f::/48": "134477", - "240e:44d:f80::/41": "4134", - "2a02:cb80:2540::/48": "43766", - "2a02:ee80:4136::/44": "3573", - "2404:f4c0:80::/44": "17920", - "2406:7300:4::/40": "17559", - "240a:aaa9::/32": "145379", - "2a02:2630::/29": "15419", - "2605:c00:900::/37": "46920", - "2800:160:2078::/40": "14259", - "2803:7360::/32": "269800", - "2a04:d200::/29": "61438", - "2400:c540:25::/41": "59238", - "240a:a430::/32": "143722", - "2a02:2248::/32": "12615", - "2406:e401::/32": "135053", - "2602:feda:f3::/48": "205058", - "2607:f110:43::/45": "21889", - "2804:e94:120::/47": "262468", - "2a0e:1400::/29": "209106", - "2001:559:1fe::/48": "7725", - "2001:559:c2bb::/48": "7015", - "2600:6c38:b2d::/43": "20115", - "2803:e880::/32": "52468", - "2a10:cc41:100::/44": "49367", - "2001:67c:618::/48": "199061", - "2404:3d00:40c0::/45": "3573", - "2405:84c0:fdfc::/46": "210872", - "2600:880b:6000::/29": "22773", - "2605:de00:bc::/32": "30083", - "2620:48:8000::/48": "1767", - "2804:70c0::/46": "270746", - "240a:a986::/32": "145088", - "2a02:aa8::/29": "30892", - "2c0f:f188:4::/46": "28683", - "2001:520:1022::/48": "8103", - "2001:559:83e5::/48": "33668", - "2409:8720:c800::/34": "56046", - "2800:440:3::/45": "27738", - "2800:4d0:2485::/44": "52489", - "2a03:9c40:200::/48": "34655", - "2001:44b8:2066::/44": "7545", - "2400:bc80:2::/32": "38726", - "2a02:ed0:4000::/29": "47956", - "2401:2900::/40": "23679", - "2620:36:8000::/48": "33246", - "2408:8456:d040::/36": "17816", - "2606:6080:2000::/46": "32489", - "2804:40d8::/32": "265985", - "2a0f:9400:7b00::/45": "210872", - "2804:41d4::/36": "267459", - "2001:678:e20::/48": "210882", - "2408:8956:5800::/40": "17622", - "240e:964:ca00::/40": "133776", - "2600:8807:6d22::/43": "22773", - "2605:a401:8000::/47": "33363", - "2620:b1:4000::/48": "393238", - "2803:5e00::/40": "267765", - "2a0f:6dc0::/29": "200567", - "240e:473:9400::/41": "140485", - "2605:3380:43fe::/47": "12025", - "2804:267c::/32": "264345", - "2a0d:8d05:4::/32": "44103", - "2406:c140:65::/48": "132337", - "2407:5680::/32": "133476", - "240a:ae9c::/32": "146390", - "2804:14c:4100::/40": "28573", - "2001:fd0:1301::/34": "10029", - "2001:4180::/32": "5409", - "240e:473:9d50::/40": "4134", - "2600:140b:801::/38": "20940", - "2800:bf0:3804::/38": "27947", - "2804:5da4::/32": "268984", - "2607:f1c0:fe::/47": "15418", - "2804:18:6020::/43": "26599", - "2a02:2e02:8630::/41": "12479", - "2a04:4e42:601::/36": "54113", - "2404:6980:31::/46": "58431", - "240e:938:f900::/48": "139462", - "2804:e8::/39": "28280", - "2a02:6280::/32": "4589", - "2a0c:b641:7f4::/46": "213310", - "2408:8256:2d76::/48": "17816", - "2604:fb80:901::/37": "15128", - "2a0f:d700::/29": "208861", - "2606:2400::/35": "36295", - "2804:310::/46": "262688", - "2a05:c340::/29": "61157", - "2408:840c:d00::/40": "17621", - "2408:8956:1bc0::/37": "17622", - "2600:9000:2038::/41": "16509", - "2c0f:fd08::/32": "37309", - "2600:1002:b100::/42": "6167", - "2602:fd2c::/48": "398499", - "2a02:2e02:280::/37": "12479", - "2001:650:cc01::/48": "3209", - "2803:d560::/32": "269761", - "2409:8f04:c300::/34": "24547", - "2a0d:bf80::/29": "206576", - "2604:880:72::/45": "29802", - "2620:120:c000::/40": "395182", - "2a07:3501:1060::/48": "39686", - "2001:559:877d::/48": "7922", - "240e:3bb:c800::/37": "4134", - "2001:559:44d::/48": "33659", - "2a04:2e80:7::/48": "6697", - "2a05:7782::/32": "39892", - "2a0d:8780::/29": "49475", - "2405:8a00:400e::/43": "55824", - "2001:559:c1c7::/44": "7922", - "2402:2500:7100::/32": "13445", - "240a:a138::/32": "142962", - "2608:4163:1::/48": "5927", - "2a01:b740:a0a::/47": "6185", - "2001:57a:9202::/47": "22773", - "2001:df6:b000::/48": "45533", - "2402:800:5d01::/44": "7552", - "2404:f4c0:f402::/45": "209218", - "240e:964:9600::/39": "133776", - "2606:2800:4a50::/47": "15133", - "2800:160:120d::/43": "14259", - "2607:fae0::/38": "8038", - "2610:a1:3060::/48": "12008", - "2a03:ba0::/29": "201188", - "2001:559:81c6::/48": "7016", - "2401:4800:feed::/48": "38457", - "240a:afd0::/32": "146698", - "2a10:780::/32": "200780", - "2401:3bc0:801::/39": "137409", - "2408:8656:2cfd::/48": "17816", - "2800:160:15c3::/43": "14259", - "2a0b:8880::/29": "51164", - "2001:67c:1b30::/48": "15415", - "2001:4130:19::/45": "24725", - "2408:8456:5400::/42": "17622", - "240a:a02a::/32": "142692", - "240a:ab8b::/32": "145605", - "2600:140b:2001::/38": "20940", - "2a02:2008::/32": "49503", - "2400:1a00:8003::/34": "17501", - "2600:1406:bc01::/33": "20940", - "2801:1fc:18::/48": "27951", - "2001:44b8:2049::/48": "4739", - "2407:46c0::/32": "142024", - "2600:1480:2801::/37": "20940", - "2605:1980:402::/32": "13951", - "2001:4de0:2003::/48": "26769", - "240e:438:9a40::/37": "4134", - "2607:fdf0:5e4d::/46": "8008", - "2a0a:4080::/32": "47493", - "2800:d302:24::/46": "11830", - "240e:5e:1080::/34": "4134", - "2a0d:5600:34::/46": "9009", - "240a:ad5f::/32": "146073", - "2804:1d0c::/32": "61692", - "2a04:6100::/29": "60169", - "2403:f680:100::/48": "58898", - "2605:7d80::/32": "16843", - "2607:fc48:bc07::/44": "40009", - "2a00:cf8::/32": "12605", - "2a02:ac00::/29": "6717", - "2a04:e4c7:fffd::/46": "36692", - "2001:1248:9748::/43": "11172", - "2401:ee00:301::/37": "23951", - "2404:1140:1::/44": "141439", - "240a:a939::/32": "145011", - "2804:ae0:a001::/33": "28352", - "2401:d800:2110::/42": "7552", - "240e:e9:7000::/37": "134769", - "2800:440:76::/48": "27738", - "2804:1600::/32": "263421", - "2806:2f0:42e4::/39": "17072", - "2a0e:8f02:f006::/48": "211980", - "2001:df7:5d00::/48": "133296", - "2001:ee0:300::/47": "135905", - "2401:d800:ae0::/39": "7552", - "2800:160:216f::/40": "14259", - "2800:2e0::/32": "11081", - "2806:2ee::/32": "265539", - "2a0b:2bc0::/29": "13023", - "2001:559:8407::/44": "7016", - "2001:559:87a1::/48": "7015", - "2001:67c:21f4::/48": "197579", - "2401:ff80:1181::/44": "133954", - "2408:8256:3889::/43": "17623", - "240a:a58b::/32": "144069", - "2604:8540:fcd0::/47": "33353", - "2606:2800:7a10::/48": "15133", - "2a00:6c40::/32": "9103", - "2a03:9da0::/40": "42831", - "2401:d800:ded0::/42": "7552", - "2001:559:c3a0::/48": "7725", - "2409:8710::/30": "9808", - "2620:112:3000::/44": "36459", - "2804:da8:f7b0::/36": "262605", - "240a:aa07::/32": "145217", - "2604:4700::/33": "53591", - "2803:3b80:66::/43": "263702", - "2a06:f1c0::/29": "203361", - "2001:1218:6020::/45": "278", - "2404:bf40:e300::/48": "2764", - "2408:8256:378b::/48": "17816", - "240a:aa87::/32": "145345", - "2620:72:a000::/48": "20115", - "2804:14c:6f00::/40": "28573", - "2001:559:87da::/48": "7922", - "2404:bf40:f002::/41": "139084", - "2409:806b:1900::/34": "9808", - "240a:af24::/32": "146526", - "2a02:26f0:2001::/39": "20940", - "2a02:26f7:c340::/48": "36183", - "2a0a:2e40:ac01::/46": "206232", - "2001:df2:2280::/48": "135851", - "2600:100d:f100::/44": "6167", - "2a03:1e20::/32": "59925", - "2a0e:2c80::/29": "24940", - "2620:128:1000::/48": "53620", - "2a02:490::/29": "20811", - "2403:5180:6::/48": "138181", - "2408:8456:3450::/39": "17816", - "240a:a237::/32": "143217", - "2600:9000:a1a0::/38": "16509", - "2a01:8840:6::/44": "12041", - "2804:14d:1296::/41": "28573", - "2804:7514::/32": "271022", - "2001:67c:1c0::/48": "25577", - "2401:b240::/46": "133001", - "240a:a2ca::/32": "143364", - "2c0f:faa0::/32": "36998", - "240a:a92d::/32": "144999", - "2804:19ec::/35": "61827", - "2402:c800:fff1::/48": "37900", - "2408:8256:3d9c::/46": "17623", - "2602:800:1000::/45": "16970", - "2804:3f20::/32": "266641", - "2001:4818:6000::/36": "603", - "2406:bf00::/48": "38220", - "2600:6c38:c0d::/46": "20115", - "2605:4900::/32": "13576", - "2001:67c:232c::/48": "207160", - "2800:3a0:194::/32": "23201", - "2a07:a105::/30": "200486", - "2401:ee00:131::/46": "23951", - "240e:473:2920::/41": "140486", - "2803:ec10::/47": "271880", - "2a00:c700:8000::/34": "24645", - "2c0f:fea8::/32": "37248", - "2001:559:81f6::/48": "33491", - "2406:840:fe00::/44": "139231", - "240a:afb7::/32": "146673", - "2804:3e70:c008::/35": "266596", - "2a0b:a380::/48": "24931", - "2001:df0:fd80::/48": "139345", - "2409:8904:9190::/38": "24547", - "2604:880:231::/41": "29802", - "2a04:e4c0:10::/48": "36692", - "2602:feda:c52::/44": "212425", - "2803:7010::/32": "271812", - "2804:134c::/32": "263527", - "2804:2248::/32": "264602", - "2804:3d88::/32": "266537", - "2a00:bec7:ff00::/40": "12946", - "2a02:26f7:e514::/48": "36183", - "2001:559:856b::/48": "7015", - "2600:1480:c000::/40": "33905", - "2620:119:5005::/48": "13443", - "2801:80:1e71::/48": "14026", - "2a02:26f7:d288::/48": "36183", - "2408:8956:3200::/40": "17622", - "240e:108:49::/48": "23724", - "2804:6968::/32": "270268", - "2a04:dfc0::/29": "680", - "2402:800:377f::/40": "7552", - "2405:1dc0::/32": "46047", - "2604:ca00:f018::/42": "36492", - "2c0e:2710::/20": "5713", - "240e:698:4300::/40": "63835", - "2804:af4::/32": "52930", - "2804:4618:3200::/39": "266968", - "2a02:26f7:e405::/46": "20940", - "2408:80ea:6880::/41": "17622", - "2408:8456:cb40::/40": "17816", - "2409:8e35::/28": "9808", - "2800:bf0:3c04::/33": "27947", - "2804:4e08::/34": "268235", - "2804:6c78::/32": "270470", - "2804:82dc::/32": "272161", - "2001:4878:4027::/48": "12222", - "2402:800:54c5::/43": "7552", - "2402:7d80:999a::/33": "63582", - "2600:3408:300::/37": "4181", - "2605:c100::/32": "16567", - "2a03:2480:8025::/46": "200107", - "2001:559:124::/48": "33661", - "2404:f340::/34": "139070", - "2600:6c3b:4c1::/32": "20115", - "2804:13a0::/32": "263542", - "2a03:280::/32": "21211", - "2a0c:9a40:1094::/48": "34927", - "2405:1340::/32": "9654", - "2408:8459:3e30::/41": "17622", - "2607:fc58:1:87::/64": "13536", - "2a02:2e02:1d50::/42": "12479", - "2a07:72c0::/29": "57029", - "2604:2680:2::/48": "2386", - "2804:2c58:1310::/32": "265211", - "2a0a:c400::/29": "47716", - "2605:a40a:b000::/33": "33363", - "2a02:5580::/32": "34547", - "2804:11cc::/32": "263440", - "2001:1900:2364::/48": "202818", - "2600:6c2e:e84::/39": "20115", - "2604:b300:ad01::/48": "394896", - "2605:b800:788::/32": "23550", - "2803:97a0::/32": "267778", - "2804:18c::/32": "28637", - "2804:490:8800::/38": "265705", - "2001:559:c3ab::/48": "7015", - "2001:559:2ee::/48": "33657", - "240e:3bc:f100::/36": "4134", - "2a0b:9380::/43": "206002", - "2001:559:83d7::/48": "7015", - "2401:b140::/47": "54415", - "2401:ff80:1a03::/45": "133954", - "2804:14c:65fa::/45": "28573", - "2804:2114::/32": "264531", - "2001:1388:8a46::/48": "264684", - "2408:8459:9810::/42": "17623", - "2a02:e981:36::/44": "19551", - "2405:1040::/48": "135905", - "2406:da00:6000::/40": "16509", - "2408:8a22:9200::/36": "139007", - "2605:b400::/37": "25956", - "2804:2f88:e100::/35": "264897", - "2a07:b1c0::/29": "207853", - "2a10:3600::/32": "8422", - "2804:298::/34": "53087", - "2a00:4380::/29": "24751", - "2a00:52c0::/32": "29396", - "2a04:4e40:2600::/48": "54113", - "2001:559:2ad::/46": "7015", - "2403:9800:2::/43": "4648", - "2607:f758:b400::/33": "13649", - "2a00:ca0::/32": "29286", - "2a00:79c0::/32": "41998", - "2001:579:f104::/42": "22773", - "2404:bf40:a181::/48": "2764", - "240a:a69e::/32": "144344", - "2a05:e380::/46": "15739", - "2001:559:14d::/48": "7922", - "2001:559:81d1::/46": "20214", - "2001:559:83dd::/48": "33657", - "2001:579:f0bf::/39": "22773", - "2606:2800:410e::/48": "14153", - "2804:5b40::/32": "268829", - "2a00:43c0::/32": "3257", - "2a0b:e840::/29": "204949", - "2804:1a4::/32": "28140", - "2804:2584::/32": "264285", - "2a02:26f7:d904::/48": "36183", - "2001:559:8388::/48": "33491", - "240e:a6::/35": "134419", - "2600:1402:1c01::/34": "20940", - "2600:140b:4::/48": "20940", - "2a02:ac80:21::/43": "25145", - "2001:559:81cf::/48": "33659", - "2001:16b8:d300::/34": "8881", - "2404:bf40:ec01::/48": "7545", - "2406:7800::/32": "10101", - "2a00:ab80::/32": "50903", - "2a02:e200::/30": "8339", - "2405:7f00:8520::/36": "133414", - "2804:4e4::/32": "262476", - "2001:559:82bf::/48": "7725", - "2001:559:c2a3::/48": "7922", - "2800:160:15bc::/41": "14259", - "2a0f:5707:ab28::/48": "136620", - "2a10:a200::/48": "16509", - "2001:4878:8242::/48": "12222", - "2405:7400::/32": "9246", - "2408:8456:6200::/42": "17622", - "2408:8459:bc10::/42": "17623", - "2804:4e70::/32": "268261", - "2a00:6920:e000::/39": "42003", - "2a0f:600:604::/46": "51044", - "2001:df6:a900::/48": "133320", - "2804:40:8000::/36": "28657", - "2804:3fa8::/32": "265905", - "240a:a2b6::/32": "143344", - "2600:6c38:106::/47": "20115", - "2800:160:160c::/43": "14259", - "2804:6628::/32": "269538", - "2a01:4840::/32": "43942", - "2a02:26f7:c1c1::/46": "20940", - "2a07:7f00::/29": "43142", - "2001:df0:4400::/48": "17670", - "2001:1248:98a5::/48": "11172", - "2401:d800:8000::/35": "7552", - "240e:473:5520::/41": "140486", - "2408:8256:3d7c::/46": "17623", - "2a00:4802:4e10::/42": "13124", - "2401:d800:58b0::/41": "7552", - "2600:141c:f001::/31": "20940", - "2605:9680::/32": "63068", - "2a01:8980::/32": "57124", - "2a10:4800::/29": "398559", - "2401:4900:5170::/44": "45609", - "2a02:730:2001::/35": "29278", - "2a09:4c0:10b::/40": "58057", - "2a0d:2bc0::/48": "43260", - "2803:f6a0::/32": "266904", - "2804:199c::/32": "61806", - "2804:29c4::/32": "264033", - "2a05:d03a:6000::/40": "16509", - "2400:2000:d::/20": "17676", - "2404:3380::/32": "134707", - "2407:9740:fe00::/40": "139648", - "240a:a1a6::/32": "143072", - "2a06:bdc0::/35": "62240", - "2001:559:c1e8::/48": "7015", - "2001:678:504::/48": "25070", - "2001:678:b68::/48": "35684", - "2402:800:52d3::/44": "7552", - "2405:9800:bc00::/40": "133481", - "2a00:1e48::/32": "20485", - "2a0e:4680::/32": "24961", - "2001:559:c27b::/48": "33651", - "2606:5e80:ff01::/28": "22379", - "2a09:5bc0::/29": "63023", - "2001:ab0::/36": "15594", - "2620:10a:80ac::/48": "396501", - "2801:12:100::/44": "271818", - "2806:2f0:7281::/42": "17072", - "2001:559:5df::/48": "33651", - "2001:4490:4828::/46": "9829", - "2401:3340::/45": "45722", - "2402:7500:5b3::/45": "24158", - "2600:370f:73c4::/42": "32261", - "2803:41a0::/32": "262186", - "2a03:9400::/48": "41938", - "2001:df5:c780::/48": "137033", - "2001:4408:5b08::/37": "4758", - "2406:3340::/32": "139139", - "2804:5edc:8000::/33": "269061", - "2a03:720:5::/44": "57073", - "2a0f:5707:fff3::/48": "207469", - "2c0f:f618::/32": "327814", - "2001:550:100:4::/63": "174", - "2400:3dc0:301::/37": "134371", - "2403:7580::/32": "38364", - "2408:8459:6810::/42": "17623", - "2804:38bc::/32": "266498", - "2804:7d58::/32": "271555", - "2a06:1480::/29": "39371", - "2408:8956:f840::/40": "17622", - "2804:4c14:ca01::/39": "267348", - "2001:678:3e8::/48": "206108", - "2401:c900:1400::/38": "36351", - "2408:8956:a300::/40": "17816", - "2604:f480:100::/40": "54769", - "2a00:bae0::/32": "14381", - "2a02:26f7:ca44::/48": "36183", - "2403:5180:5::/48": "134666", - "2406:cf00:1000::/43": "23724", - "2408:876a::/32": "4837", - "2a02:26f7:dac4::/48": "36183", - "2402:800:b1c0::/38": "7552", - "2a0a:1900::/29": "43242", - "2001:559:3b9::/48": "21508", - "2409:8c79::/30": "9808", - "240a:a9f3::/32": "145197", - "240a:ae63::/32": "146333", - "2604:2d80:7000::/37": "30036", - "2804:3df8:6004::/35": "266566", - "2001:14d8::/32": "12371", - "2605:a401:82aa::/43": "33363", - "2606:6680:15::/44": "40676", - "2801:196::/48": "19429", - "2804:25bc:a::/42": "264299", - "2a00:fd40:3::/48": "201924", - "2804:2710::/32": "263873", - "2804:640c::/32": "269401", - "2a00:1d60::/32": "30851", - "2a02:26f0:127::/48": "20940", - "2804:3b00::/32": "52973", - "2a00:8380::/32": "15557", - "2a02:2928::/32": "39288", - "2a07:2800::/29": "21473", - "2a0b:6900:1ad::/48": "212461", - "2804:d3c:8001::/39": "52613", - "2804:1a3c::/32": "61847", - "2a0d:3140::/29": "198668", - "2001:559:5b5::/48": "22909", - "2408:8956:ea00::/40": "17622", - "2604:4000::/48": "15348", - "2a00:d400::/32": "197506", - "2001:67c:2750::/48": "200745", - "2607:8900::/32": "27298", - "2804:3c44::/32": "266200", - "2001:559:5c1::/48": "33651", - "240e:30d:5600::/30": "4134", - "2804:e30:9c00::/39": "11338", - "2a02:26f7:b740::/48": "36183", - "2a09:5040::/48": "209562", - "2a0c:7980::/29": "209372", - "2a0f:8840::/30": "21473", - "2a00:f7a0:101::/32": "21277", - "2001:559:86ef::/43": "7922", - "2001:559:c338::/48": "33659", - "2001:df1:2480::/48": "136368", - "2001:fd8:b2c0::/42": "132199", - "2408:8456:c000::/42": "17622", - "2606:2800:5150::/48": "15133", - "2607:3c80::/32": "54039", - "2400:a140::/32": "59125", - "2607:fb90:bb00::/37": "21928", - "2a0b:8340::/29": "50304", - "2c0f:fc89:60::/43": "36992", - "2001:b030:ae00::/31": "3462", - "2600:6c3a:1b::/45": "20115", - "2608:149:b::/48": "27064", - "2804:4704::/32": "267026", - "2a03:f440::/32": "12552", - "2a11:e600::/29": "42929", - "2001:559:733::/48": "33652", - "2409:8c1f:27b0::/33": "9808", - "2409:8c20:1834::/33": "56046", - "2804:d70:140::/42": "52626", - "2a02:13b0:100::/40": "48635", - "2001:dc7:1006::/34": "24151", - "2605:9d80:8001::/48": "4134", - "2800:160:2c3b::/41": "14259", - "2a02:26f7:d989::/42": "20940", - "2404:9740::/32": "135760", - "2a00:1348:10::/48": "57837", - "240a:ab7d::/32": "145591", - "2605:b980::/32": "23376", - "2a09:4c0:b01::/37": "58057", - "2c0f:f360::/34": "7489", - "2a01:9980:a::/45": "50837", - "2620:10c:c01c::/48": "6071", - "2800:bf0:2200::/46": "52257", - "2804:5a08::/32": "268741", - "2402:4800::/32": "18228", - "240e:fb:a000::/35": "136200", - "2a10:3980::/29": "397423", - "2001:67c:2170::/48": "43376", - "2606:f300:2::/47": "14135", - "2a02:26f7:f6d5::/46": "20940", - "2a02:4000::/32": "35361", - "2401:bf00::/32": "17530", - "2401:ee00:121::/44": "23951", - "240e:438:9820::/43": "140647", - "2600:1006:b1d0::/42": "6167", - "2a09:bac0:69::/48": "13335", - "2a0e:b107:11e::/48": "209294", - "2801:16e:2c::/48": "19429", - "2001:550:20c::/39": "174", - "2600:100a:f100::/44": "6167", - "2604:a900::/32": "27539", - "2a00:c78::/32": "28707", - "2001:4d0:108::/48": "24", - "2605:b100:a00::/40": "577", - "2c0f:f2a0:3::/45": "327849", - "2001:1248:84df::/42": "11172", - "2405:e4c0::/32": "131677", - "2409:8752:100::/38": "56047", - "240a:acd7::/32": "145937", - "2605:e3c0:11::/32": "398479", - "2001:579:9020::/41": "22773", - "2405:6e00:200::/42": "133612", - "2800:5f0:806::/44": "22724", - "2804:46dc:8400::/33": "267016", - "2405:1c0:6511::/45": "135062", - "2408:8956:d6c0::/36": "17816", - "2605:1080:0:ffdb::/58": "23367", - "2804:c8::/32": "28366", - "2a0f:9640::/29": "35415", - "2001:470:f8::/48": "64238", - "2001:559:86ed::/48": "22909", - "2402:4100::/32": "9326", - "240a:ae00::/32": "146234", - "2620:12f:e000::/40": "40216", - "2a0a:6200::/32": "680", - "2001:1248:9703::/45": "11172", - "2404:0:10a5::/46": "17709", - "2804:3ea4::/32": "266611", - "2806:230:102f::/48": "11888", - "2a02:26f7:e589::/42": "20940", - "2a0c:b642:fc0::/43": "213190", - "2a09:4c0:3e1::/37": "58057", - "2001:559:86de::/42": "33659", - "2001:67c:11bc::/48": "199462", - "2001:1388:2146::/37": "6147", - "240a:a0e3::/32": "142877", - "2600:1f15::/36": "16509", - "2605:5440::/44": "23328", - "2a07:8dc0::/31": "35661", - "2001:67c:330::/48": "35742", - "2001:df7:6800:2000::/48": "59194", - "240a:a3ef::/32": "143657", - "2a06:bcc0:9::/48": "203724", - "2001:db0:4003:ffff::3/37": "17766", - "2001:44b8:30d0::/45": "7545", - "2804:6fc:cc01::/38": "28158", - "2804:27c0::/32": "263920", - "2001:e68:2:100::/34": "4788", - "2404:8d05::/30": "10089", - "2404:bf40:a481::/39": "139084", - "2408:8310::/30": "4837", - "2409:8044::/34": "24445", - "240a:a66a::/32": "144292", - "2408:84f3:3250::/44": "17816", - "2804:7544::/32": "271035", - "2a02:26f7:db88::/48": "36183", - "2a03:b8c0:9::/48": "202276", - "2a05:d8c0::/29": "15391", - "2607:fda8:1018::/48": "54004", - "2620:bd:4000::/48": "398713", - "2800:160:1812::/45": "14259", - "2a07:5dc0::/29": "43260", - "2600:1002:6010::/32": "22394", - "2607:f898::/32": "13415", - "2806:230:101b::/48": "11888", - "2a01:8840:c1::/48": "207266", - "2a02:26f7:43::/48": "20940", - "2a10:9f80::/31": "207459", - "2402:800:522b::/41": "7552", - "2a03:db80:5461::/46": "680", - "2001:3c8:5007::/48": "17479", - "2408:8459:8650::/36": "17816", - "2600:2501:3000::/28": "26801", - "2803:e000::/32": "262215", - "2a00:1588:dc00::/38": "43380", - "2a04:e00::/48": "54103", - "2001:438:fffd:13::/64": "20940", - "240a:a42c::/32": "143718", - "2a02:26f0:c0::/48": "34164", - "2a0c:e340::/47": "30150", - "2001:4408:7b00::/37": "4758", - "2401:d800:bcb0::/41": "7552", - "2600:370f:74e5::/39": "32261", - "2607:f6f0:a000::/46": "16553", - "2800:a30:1709::/34": "262187", - "2a02:2378::/32": "15895", - "2001:1248:9962::/43": "11172", - "2607:f148::/48": "11734", - "2806:2f0:5061::/40": "17072", - "2001:67c:2abc::/48": "199552", - "2401:e700::/32": "38628", - "2600:140b:9401::/38": "20940", - "2620:8b:8000::/48": "23307", - "2804:21f8:f::/43": "262272", - "2806:263:9300::/37": "13999", - "2001:559:78f::/48": "7015", - "2401:d800:5fe0::/43": "7552", - "2620:131:1065::/48": "14618", - "2804:1f26:ca5a::/48": "265020", - "2a02:26f0:f5::/44": "20940", - "2400:d400:d51::/48": "45671", - "2404:a800:3101::/33": "9498", - "2406:4c00::/32": "9509", - "240e:44d:1c80::/41": "4134", - "2a05:3950::/32": "201503", - "2a00:4802:230::/41": "13124", - "2001:820::/32": "16186", - "2001:1218:5004::/47": "278", - "2400:8b00:300::/42": "45727", - "2600:6c38:b1::/41": "20115", - "2606:df00:9::/48": "20150", - "2607:f8f0:600::/48": "271", - "2803:b780:1::/48": "65000", - "2408:8856::/40": "17816", - "2803:7e00::/33": "28026", - "2a00:ff40::/32": "6782", - "2001:1388:70c6::/37": "6147", - "2404:bf40:85c0::/48": "7545", - "2407:900::/32": "58451", - "240e:3b3:4c00::/35": "136200", - "2600:6c38:505::/46": "20115", - "2605:3b80:cad::/48": "9009", - "2804:50d4::/32": "268413", - "2001:559:c022::/47": "33657", - "2401:d800:bb50::/42": "7552", - "2607:fcd0:fa80:4901::/53": "8100", - "2620:1fb::/36": "12061", - "2806:2f0:314::/44": "17072", - "2a02:26f0:3001::/39": "20940", - "2a0b:fd40::/29": "12637", - "2001:468:1203::/37": "11537", - "2001:559:107::/48": "7015", - "2408:8459:e650::/36": "17816", - "2a0f:52c1::/48": "212319", - "2001:559:80b0::/45": "33657", - "2001:678:588::/48": "57260", - "2607:f0d0:3502:7::/58": "36351", - "2804:e80:7800::/32": "262676", - "2a02:26f0:d700::/48": "34164", - "2a0e:b780::/31": "205581", - "2400:47c0::/32": "136014", - "2407:f800:501::/40": "38182", - "240a:a5c0::/32": "144122", - "2804:4f30::/32": "268310", - "2a0c:b641:160::/44": "211139", - "2001:ac8:3a::/41": "9009", - "2001:df5:1400::/48": "133255", - "2604:d600:66a::/45": "32098", - "2607:c300::/32": "22915", - "2a03:4940::/32": "3292", - "2a04:8f40:1000::/48": "205505", - "2001:67c:2038::/48": "197444", - "240e:473:9120::/41": "140486", - "2600:1480:8801::/37": "20940", - "2001:559:876d::/43": "7922", - "2620:10a:80f4::/48": "27299", - "2620:149:a14::/48": "6185", - "2a02:fc8:3::/32": "42572", - "2a0e:d380::/48": "203566", - "2001:67c:634::/48": "198089", - "2409:804d:900::/35": "9808", - "2409:8c28::/38": "56041", - "2a0e:9300::/48": "17818", - "2a0e:b107:1161::/48": "35761", - "2405:4000:801:6::/38": "38082", - "2600:6c2e:635::/39": "20115", - "2607:fae0:2000::/33": "8038", - "2a02:4560:4::/32": "60157", - "2a0c:a200::/29": "62183", - "2406:9dc0:70::/44": "212705", - "240a:a57d::/32": "144055", - "2603:c002:9310::/37": "31898", - "2a04:dec0::/29": "60044", - "2a09:e1c0::/32": "200462", - "240e:473:2f20::/41": "140486", - "2610:f0:afb::/34": "22925", - "2620:160:e300::/44": "4196", - "2a05:dd80::/29": "1764", - "2401:d800:95e0::/38": "7552", - "240a:aa6c::/32": "145318", - "240a:ac25::/32": "145759", - "2806:230:3002::/48": "265594", - "2a01:4b40:4800::/35": "21299", - "2606:2800:5033::/48": "15133", - "240e:651:3000::/36": "134419", - "2600:c80d::/30": "7018", - "2a00:f580::/32": "35819", - "2001:4998:1b1::/44": "10310", - "2607:f928:3::/48": "22645", - "2a00:1d58:fa01::/46": "47524", - "2a07:e700::/29": "43260", - "2a01:5043:efd::/48": "202196", - "2a0b:b40::/29": "51815", - "2001:550:9001::/39": "174", - "2001:1248:5ae6::/47": "11172", - "2001:1b18::/32": "21385", - "2a02:922::/35": "49292", - "2001:918:fffb::/45": "3303", - "2001:b400:f210::/45": "3462", - "2406:9b40::/32": "24262", - "2a02:2578:1a30::/32": "51375", - "2a02:26f7:f540::/48": "36183", - "2a04:b902::/32": "16509", - "2a0c:dd40::/32": "42675", - "2804:63a4::/32": "269374", - "2a04:3584::/30": "3308", - "2a09:bac0:38::/47": "13335", - "240e:1c:c000::/31": "4134", - "2a10:3400::/29": "210054", - "2c0f:fcb0:4000::/35": "36916", - "2806:2f0:2061::/46": "22884", - "2600:140f:6401::/38": "20940", - "2401:7400:ec01::/35": "4773", - "240a:a245::/32": "143231", - "2620:101:2001::/46": "16417", - "2001:1b08::/32": "20900", - "2602:fef7:eef::/39": "396192", - "2806:217:302::/37": "28394", - "2a07:c882::/32": "207249", - "2400:dcc0:a804::/39": "38631", - "2408:842a::/29": "4837", - "240a:a824::/32": "144734", - "240e:438:7a40::/37": "4134", - "2a02:ac80:c001::/35": "25145", - "2a0a:5680::/29": "35048", - "2001:43f8:780::/48": "37555", - "2800:d302:28::/43": "11830", - "2a03:2760::/32": "49115", - "2a05:22c0::/29": "42567", - "2804:4afc:8000::/35": "267276", - "2a07:22c1:ffe5::/48": "207740", - "2c0f:ec80:9000::/33": "37315", - "2a00:cf00::/32": "41937", - "2a03:7420::/48": "8751", - "2001:67c:3cc::/48": "56700", - "2402:800:c000::/34": "7552", - "2406:5800:ff00::/48": "45577", - "2600:1408:3c00::/48": "35994", - "2605:a404:c0::/46": "33363", - "2803:7d40::/32": "264680", - "2001:4408:101::/38": "4758", - "2a00:1a28:100::/48": "48618", - "2001:678:ce0::/48": "206384", - "2001:43a0::/32": "36965", - "240a:aa2b::/32": "145253", - "2800:4f0::/48": "28006", - "2803:a40::/47": "263817", - "2400:e000::/32": "18070", - "2401:e900::/46": "23991", - "240a:a989::/32": "145091", - "240e:3b9:2800::/38": "4134", - "2800:200:b4f0::/36": "12252", - "2803:ea10:1::/45": "271927", - "2405:6e00:688::/45": "18291", - "2408:8957:5c00::/40": "17622", - "240a:ae65::/32": "146335", - "2a01:a620::/45": "56911", - "2a01:cd01:8020::/48": "28708", - "2a06:f240::/29": "207355", - "2405:204:9000::/33": "55836", - "240a:a1b5::/32": "143087", - "240a:a1d0::/32": "143114", - "2600:1f70:1000::/40": "16509", - "2804:14c:cc00::/40": "28573", - "2804:7af8::/32": "271403", - "2a03:53a0::/32": "31736", - "2001:67c:4b4::/48": "206153", - "2001:448a:5130::/41": "7713", - "2408:8459:f600::/40": "17816", - "2602:fec3:f00::/40": "62563", - "2607:f110:9::/43": "21889", - "2408:8456:5440::/39": "17816", - "2600:1413:e001::/29": "20940", - "2605:f500:8107::/43": "1828", - "2607:2780::/48": "11878", - "2a07:6100::/29": "202979", - "2001:df1:d900::/48": "136797", - "240a:a37b::/32": "143541", - "240a:ae98::/32": "146386", - "2600:370f:7483::/42": "32261", - "2a00:4901::/32": "206509", - "2a07:2902:400::/38": "3303", - "2001:503:3227::/48": "7342", - "2001:4978:500::/45": "13331", - "2406:8700::/32": "7575", - "240a:aabe::/32": "145400", - "2800:160:1a8a::/45": "14259", - "2400:c980::/40": "132816", - "2402:800:5b1d::/42": "7552", - "2604:2e8b:e000::/35": "30036", - "2a02:2ad0:633::/44": "702", - "2a03:5a00:2f::/48": "203784", - "2a0f:ca84::/40": "208046", - "2409:8924:2900::/38": "56046", - "2402:c100:c03::/32": "23673", - "240e:5f:600c::/48": "4134", - "2620:0:dc0:4820::/48": "683", - "2804:1c::/32": "11844", - "2001:468:f0ff::/48": "11164", - "2402:8640::/47": "137491", - "2804:77e0::/32": "271205", - "2a00:c2a0::/32": "25376", - "2a02:26f7:f6d4::/48": "36183", - "2600:4407:c036::/34": "6130", - "2605:dd40:8bbb::/48": "398549", - "2804:14c:5b93::/42": "28573", - "2a00:1fa0::/32": "8359", - "2001:559:c234::/48": "33652", - "240e:e:d000::/37": "139887", - "2607:9e00::/35": "30536", - "2a0b:f301:465::/30": "62240", - "2401:4900:5da0::/41": "45609", - "2620:119:50e3::/44": "14413", - "2a03:a8a0::/29": "203195", - "2a0a:7d80:f::/48": "6697", - "2a02:7820::/32": "201873", - "2001:df6:2800::/48": "136639", - "2403:fc0::/32": "398704", - "240a:ac7a::/32": "145844", - "2606:a600:4::/48": "397933", - "2804:1e0::/32": "262784", - "2804:7ba0::/32": "271443", - "2a02:2ab0:430::/39": "702", - "2a0c:4880::/29": "212660", - "240a:ad6e::/32": "146088", - "2620:132:f702::/36": "394977", - "2a05:4140:181::/46": "211358", - "2a06:d980::/29": "51539", - "2a0e:46c4:1404::/40": "211930", - "2404:1980::/32": "131199", - "2607:fc48:c08::/48": "40009", - "2804:1ef8::/34": "264457", - "2001:559:82eb::/48": "7015", - "2400:7180::/32": "45671", - "240a:abf8::/32": "145714", - "2600:1016:b1e0::/33": "6167", - "2001:5a0:a000::/33": "6453", - "2803:2180:8000::/33": "27941", - "2804:8f8::/32": "2914", - "2a01:120::/29": "12348", - "2001:978:3401::/36": "174", - "2407:f700::/34": "132215", - "240e:44d:2300::/41": "140345", - "240a:a529::/32": "143971", - "2610:20:516a::/48": "5744", - "2804:6114::/32": "269211", - "2a00:e580::/29": "25424", - "2a0b:ac40::/29": "206485", - "2001:df5:9000::/48": "36351", - "2406:7400:30::/46": "131269", - "2a03:2980::/32": "49641", - "2001:67c::/48": "47490", - "2400:da00:405::/33": "38365", - "240e:950:5000::/36": "134419", - "2a02:26f7:c58c::/48": "36183", - "2408:8000:5004::/48": "139007", - "240e:3b8:5600::/34": "4134", - "2800:160:1d52::/44": "14259", - "2a00:fb8:2700::/35": "8881", - "2602:feb4:60::/44": "25961", - "2a02:26f7:cac5::/46": "20940", - "2401:fd80:9ff::/48": "138177", - "2a00:1d70::/32": "39020", - "2620:171:43::/45": "715", - "2a04:1b00:4::/47": "61005", - "2620:149:1050::/39": "714", - "2803:5840::/32": "262145", - "2804:240:3000::/32": "262798", - "2804:105c::/32": "263631", - "2a00:b0a1::/32": "203434", - "2a03:1e80:ff9::/45": "8590", - "2001:500:6b::/48": "27321", - "2001:559:2ca::/47": "33657", - "2001:6f8:821::/48": "3257", - "2001:dd8:12::/48": "18366", - "2a00:e100::/32": "196819", - "2a09:b280:ff60::/47": "208753", - "2402:800:f480::/39": "7552", - "2a00:8ee0::/32": "50673", - "2a04:4e40:f810::/41": "54113", - "240a:a704::/32": "144446", - "2600:1415:a001::/35": "20940", - "2604:2880::/48": "46562", - "2620:123:2081::/46": "30103", - "2a02:2b58::/29": "51074", - "2001:440:1878::/47": "1878", - "2404:3b40::/32": "133272", - "2407:c000::/32": "9270", - "240a:a7d5::/32": "144655", - "2606:4700:a2::/41": "13335", - "2a00:f826:9::/48": "34549", - "240e:473:fb50::/37": "4134", - "2800:550:2b::/32": "7004", - "2a01:c50f:8040::/35": "12479", - "2a03:8f87:1::/48": "51793", - "2a0c:a9c7:2::/47": "62135", - "2a0f:9201:1::/29": "45009", - "2001:559:1ce::/48": "7016", - "2804:4344::/32": "267559", - "2a11:6c0::/40": "211083", - "2001:678:368::/48": "15935", - "2400:1700:303::/32": "4628", - "2606:1a40:f000::/45": "398962", - "2a02:2298:8000::/36": "15544", - "2a05:35c0::/46": "60781", - "2a02:2698:202e::/38": "51645", - "2001:559:80c0::/48": "7922", - "2400:a980:5cff::/48": "133111", - "2407:3e40::/32": "137165", - "2407:a600::/36": "18004", - "2602:fdbb:a::/45": "17144", - "2602:ffc4:6::/47": "393398", - "2620:53:e000::/48": "394626", - "2a02:26f7:d781::/46": "20940", - "2001:470:e7::/48": "15011", - "240a:aa68::/32": "145314", - "2600:141d:8001::/25": "20940", - "2800:160:1116::/44": "14259", - "2a10:c4c0::/29": "212679", - "240a:a203::/32": "143165", - "2600:1406:1001::/37": "20940", - "2800:260::/31": "19429", - "2a00:5ee0::/32": "44925", - "2a00:7380:feed::/48": "205868", - "2a05:3a80::/48": "201499", - "2a0f:d480::/48": "205942", - "2600:1408:b000::/48": "35994", - "2602:fda3:4::/36": "397942", - "2604:d600:692::/45": "32098", - "2806:2f0:2464::/43": "22884", - "2a04:1b00:a::/47": "61007", - "2a09:4e04::/31": "208861", - "2001:550:4603::/39": "174", - "2408:8256:357d::/46": "17623", - "2409:8915:2d00::/38": "56044", - "2001:559:c073::/48": "33659", - "2001:678:730::/48": "47869", - "2606:ae00:bee1::/39": "7287", - "2607:f290::/32": "6106", - "2a00:9b60::/40": "48635", - "2a07:7140::/29": "202907", - "2a0d:a400::/29": "30836", - "2600:370f:7400::/45": "32261", - "2604:0:c1::/48": "40484", - "2001:43f8:1090::/48": "328267", - "2401:d800:c60::/40": "7552", - "240a:a91d::/32": "144983", - "2604:5680::/32": "14860", - "2804:16d0:fb80::/37": "52697", - "2001:1418::/29": "12779", - "2a00:1f30::/29": "29081", - "2a10:1fc0::/48": "133398", - "2001:500:6f::/48": "30128", - "2407:1e00:1004::/32": "45158", - "2a02:26f7:c305::/46": "20940", - "2001:67c:2f4::/48": "47137", - "2402:800:312b::/41": "7552", - "2408:80ea:7880::/42": "17623", - "2620:135:6054::/40": "22697", - "2a0a:e202:800e::/43": "33438", - "2a0c:9a40:808b::/48": "398646", - "2a0f:2340::/29": "41332", - "2001:559:8019::/48": "33491", - "2001:579:a1d4::/42": "22773", - "2620:11a:6000::/44": "32064", - "2a02:26f7:c500::/48": "36183", - "2001:559:499::/48": "33651", - "2001:559:c2c8::/48": "33491", - "2001:fd8:3400::/42": "132199", - "2404:3d00:410a::/43": "3573", - "240a:a3e1::/32": "143643", - "2806:230:4028::/48": "265594", - "2a06:b700::/29": "201616", - "2606:2800:4070::/46": "15133", - "2801:16e:4::/48": "19429", - "2806:230:5014::/48": "265594", - "2a02:26f7:e901::/46": "20940", - "2a03:90c0:3f0::/37": "199524", - "2400:ddc0:2100::/32": "4785", - "2607:fcd0:fa80:7701::/52": "8100", - "2a00:1e18::/31": "8896", - "2001:f20:1000::/48": "9875", - "2001:fd0:407::/35": "10029", - "2607:5b00::/32": "12260", - "2a01:6a40:1::/48": "30720", - "2001:5014:400:5::/21": "1273", - "2603:b000::/27": "11796", - "2a04:fcc0::/29": "21396", - "2a0d:3480:14fd::/48": "22773", - "2404:ffc0::/47": "62707", - "240e:101:4000::/30": "4134", - "2801:1d:2800::/48": "262589", - "2a01:8840:cd::/48": "207266", - "2a0e:b107:139::/48": "212227", - "2001:67c:1c::/48": "41884", - "2001:44b8:606f::/32": "4739", - "2408:8656:3800::/40": "17623", - "2a02:6b9::/29": "208722", - "2001:559:150::/48": "13367", - "2403:cd40::/32": "10075", - "240a:ae3d::/32": "146295", - "2801:b8::/32": "52886", - "2a00:1e80::/32": "21473", - "2001:559:3bf::/48": "33657", - "240e:3b6:2c00::/35": "134774", - "240e:473:1150::/40": "4134", - "240e:473:5750::/40": "4134", - "2605:40c0::/32": "397554", - "2620:1b::/44": "17103", - "2804:694::/34": "262596", - "2001:550:1c01::/39": "174", - "2a00:1fd0:ec00::/48": "29033", - "2a02:26f7:c9c8::/48": "36183", - "2001:67c:1b8::/48": "8916", - "240a:a409::/32": "143683", - "2606:2180:1::/48": "22241", - "2806:2f0:1280::/48": "22884", - "2a03:7204::/32": "197023", - "2a0c:c900::/29": "30931", - "2001:559:8172::/45": "7922", - "2001:559:c37b::/48": "33667", - "2a09:ce00::/29": "208861", - "2800:160:1c0f::/43": "14259", - "2001:480:52::/44": "668", - "2001:978:2a03::/35": "174", - "240a:a162::/32": "143004", - "240a:ac50::/32": "145802", - "240e:979:6e00::/40": "134770", - "2600:140f:f401::/38": "20940", - "2606:7f00:100::/40": "32307", - "2a02:2ab0:730::/32": "702", - "240a:ad9a::/32": "146132", - "2a01:410::/46": "30844", - "2a06:1700::/46": "200651", - "2804:38f4::/32": "266514", - "2001:255::/32": "38255", - "2001:44a0::/32": "2506", - "2405:7f00:ab00::/37": "133414", - "2408:840c:9c00::/40": "17621", - "2606:2800:4130::/47": "15133", - "2804:b18::/32": "52941", - "2804:230c::/32": "264139", - "2a06:1b00:104::/46": "8302", - "2001:4278::/32": "8346", - "2405:2040::/38": "48024", - "240a:aa3b::/32": "145269", - "2c0e:2000::/29": "5713", - "2001:678:58::/48": "198147", - "2408:8956:5700::/40": "17816", - "240a:ac0e::/32": "145736", - "240a:ac23::/32": "145757", - "2600:6c7f:9380::/44": "10796", - "2603:f760::/29": "262287", - "2a00:55a0:3::/48": "58018", - "240a:a9e8::/32": "145186", - "2a01:878::/32": "12302", - "2a0b:4880::/46": "48614", - "2001:559:5bd::/48": "22909", - "2407:1100::/32": "132825", - "2604:7c00::/32": "40244", - "2804:d20::/32": "262700", - "2804:db0:100::/40": "52862", - "2403:1cc0:3201::/46": "45352", - "240a:adba::/32": "146164", - "2a01:9900::/32": "21171", - "2a02:26f7:cc49::/46": "20940", - "2a04:2080::/29": "34758", - "2a0e:eec6::/32": "398343", - "2001:678:fdc::/48": "206362", - "2401:1d40:2f01::/40": "59019", - "2401:b800::/32": "38248", - "2600:1012:f100::/44": "6167", - "2606:2440::/32": "3838", - "2a02:2010:22a0::/45": "20978", - "240a:a174::/32": "143022", - "2804:2990::/32": "264022", - "2a06:2f80::/29": "60316", - "2a0f:9400:772b::/45": "53356", - "2605:ee00::/43": "29990", - "2806:2f0:24c0::/35": "17072", - "2a00:1c28::/29": "20764", - "2a02:80::/29": "34244", - "2001:41a8::/37": "6762", - "2400:dcc0:a904::/38": "38631", - "2401:d800:9550::/42": "7552", - "2409:8c85:aa31::/45": "9808", - "2602:802:b040::/48": "399788", - "2800:110:2200::/48": "264630", - "2400:6680::/32": "13414", - "240e:44d:4e00::/41": "140345", - "2606:2800:6030::/46": "15133", - "2804:5698::/32": "268011", - "2a09:e1c1:efd0::/48": "207713", - "240a:a080::/32": "142778", - "240a:a403::/32": "143677", - "2605:bf80:100::/40": "11889", - "2a0b:11c0:bea::/48": "198682", - "2001:559:8498::/47": "7922", - "2001:67c:10f8::/48": "199233", - "2408:8656:2cfe::/47": "17623", - "2a00:11c0:78::/48": "42473", - "2408:8956:3500::/40": "17816", - "2602:feda:b99::/46": "212995", - "2605:a401:80c1::/45": "33363", - "2a03:d400:25::/39": "198913", - "2001:bf7:541::/38": "44194", - "2001:4c58::/30": "8286", - "2600:100d:a020::/40": "22394", - "2620:137:8::/48": "396253", - "2a03:2880:f25d::/46": "32934", - "2a07:3500:12d0::/48": "33915", - "2001:470:2c::/46": "6939", - "2402:79c0:100::/44": "7342", - "2604:bc40::/33": "22188", - "2409:8020:51::/42": "56046", - "240e:678:2600::/31": "4134", - "2a02:26f7:d301::/46": "20940", - "2408:8256:3b7c::/46": "17623", - "240e:64:c000::/24": "4134", - "2604:b900::/33": "11042", - "2804:43d8::/32": "267594", - "2a04:4e40:a10::/41": "54113", - "2001:4220:3::/45": "36935", - "2a0a:90c0:1055::/44": "205080", - "2a10:4dc0::/32": "62240", - "2406:1940::/32": "131925", - "2604:4d40:7fff::/48": "399196", - "2804:70c0:13::/48": "270746", - "2001:43f8:790::/48": "6968", - "240a:a995::/32": "145103", - "2800:68:3a::/47": "61468", - "2a02:7c00::/32": "21060", - "2001:1248:557c::/40": "11172", - "2001:44b8:605b::/48": "4739", - "2402:800:93ee::/37": "7552", - "2407::/62": "4761", - "240a:a4a7::/32": "143841", - "2a07:8ec0::/36": "51254", - "2402:1b80:9000::/33": "63956", - "2605:9f80::/32": "63018", - "2a10:640::/32": "1680", - "2a0d:2682::/32": "212292", - "2401:d600::/32": "45204", - "2403:8a00::/32": "17686", - "2407:5740::/48": "140799", - "2604:d600:1649::/46": "32098", - "2804:2fe0::/32": "264918", - "2a02:22d0::/44": "61323", - "2a03:d9c0:2000::/48": "3214", - "2400:89c0:1010::/42": "4808", - "240e:44d:5600::/41": "140345", - "2602:ffc1::/32": "36731", - "2804:145c:8c90::/38": "263327", - "2001:559:8562::/48": "33651", - "2804:2e8:8::/47": "262847", - "2804:f80::/32": "61893", - "2a03:73a0::/29": "203368", - "2a03:b540::/32": "31287", - "2a04:e800:5010::/47": "57976", - "2400:89c0:6000::/48": "23724", - "2402:5300::/37": "45903", - "2a02:5be0::/47": "42427", - "2a0a:2307::/48": "20853", - "2a10:7900::/29": "398559", - "2001:559:455::/48": "7016", - "2a00:5f40::/29": "8469", - "2401:d800:cf0::/39": "7552", - "240e:473:4450::/39": "4134", - "2a01:4d8::/32": "39122", - "2a02:26f7:f305::/46": "20940", - "2c0f:ef68::/46": "37662", - "2001:df6:2180::/48": "135738", - "2402:7d80:240::/48": "24348", - "2402:91c0::/32": "139875", - "240a:a814::/32": "144718", - "2800:3c0::/35": "19863", - "2803:ba0::/46": "267756", - "2806:370:40a0::/44": "28403", - "2404:c800:8204::/29": "4760", - "2406:e940:1001::/32": "9449", - "2803:aa80::/32": "263698", - "2a0b:4580::/32": "20860", - "2409:8028:3800::/40": "56041", - "240e:11:9000::/30": "4134", - "2804:fe4::/32": "28343", - "2804:732c::/32": "270900", - "2001:559:8659::/48": "33659", - "2a0c:600::/29": "8399", - "2001:fd8:168::/40": "4775", - "2407:e700:12::/47": "132680", - "240e:438:9440::/38": "4134", - "2804:14c:c684::/41": "28573", - "2804:8110::/33": "272429", - "2001:67c:c::/48": "48136", - "2001:4430:4000::/39": "17853", - "2404:e680:1141::/32": "18409", - "2408:84f3:3020::/43": "17816", - "2620:32::/48": "4468", - "2800:9e0::/32": "26505", - "2a06:7243:f::/43": "62425", - "2001:559:45c::/48": "33652", - "2400:9380:9070::/47": "4809", - "2402:9b00::/40": "45796", - "2408:8456:e210::/42": "134543", - "2600:140f:e01::/35": "20940", - "2620:119:17::/48": "36692", - "2804:1094:b020::/36": "263641", - "2001:678:600::/48": "204600", - "2406:840:5880::/47": "139317", - "2408:8459:1a30::/41": "17622", - "2804:612c:4000::/32": "269218", - "2a02:57e0::/32": "59779", - "2a04:4e40:5a40::/44": "54113", - "2400:70c0::/32": "58507", - "2401:1740:3000::/48": "136600", - "2408:8957:b00::/40": "17816", - "2a02:2e0:41c::/48": "206564", - "2408:8459:9210::/42": "17623", - "2408:84f3:4410::/42": "134543", - "240a:a356::/32": "143504", - "240e:473:6200::/41": "140485", - "2804:e8:200::/32": "28280", - "2a02:6680:2100::/42": "16116", - "2a04:2b00:14aa::/48": "203961", - "2602:ffe4:c05::/46": "21859", - "2a00:4802:b00::/37": "13124", - "2401:4900:5270::/44": "45609", - "2402:800:561d::/42": "7552", - "2001:df6:5680::/48": "142020", - "2404:7a80::/29": "2518", - "240e:44d:80::/41": "4134", - "2602:fe55::/36": "267", - "2607:9e00:4002::/35": "30536", - "2803:9800:94c3::/39": "11664", - "2001:559:c1bf::/48": "33489", - "2001:df5:4000::/48": "132647", - "2804:5504::/32": "268684", - "2a03:a300:5000::/44": "35104", - "240a:a0f2::/32": "142892", - "2a00:61e0::/32": "60294", - "2a01:9e40::/32": "31287", - "2a05:3181::/32": "31514", - "2001:559:4a5::/46": "33657", - "2001:559:8594::/48": "33287", - "2001:67c:1144::/48": "16175", - "2001:67c:1388::/48": "13030", - "2401:ff80:1b05::/44": "133954", - "240a:a7cd::/32": "144647", - "2604:d600:91b::/45": "32098", - "2402:c680::/32": "134518", - "2405:1c0:6365::/43": "55303", - "2408:8956:ad00::/40": "17816", - "2803:4580:8210::/44": "52468", - "2a01:5ec0:7000::/36": "44244", - "2a02:2e02:2530::/41": "12479", - "2a05:4143::/32": "212271", - "2402:7500:f9ff::/48": "24158", - "2804:988::/32": "28239", - "2804:5914::/32": "268168", - "2a0f:5701:3520::/48": "205593", - "2408:8756:f00::/44": "136958", - "2408:8957:6d00::/40": "17816", - "2604:4500:900::/46": "29802", - "2605:9300:2::/48": "13767", - "2620:0:28a8::/48": "33522", - "2001:1a11:7b::/48": "8781", - "2607:f3a0:a004::/48": "399816", - "2a00:ce80::/46": "50535", - "2a04:b0c0::/44": "201017", - "2405:e840::/32": "4049", - "240e:1f:d000::/36": "134764", - "2600:6c38:8ca::/45": "20115", - "2001:df7:5380::/47": "3970", - "2001:4d20:4000::/34": "8569", - "2401:d800:9260::/40": "7552", - "2a02:26f7:d640::/48": "36183", - "2a06:1c5:a4::/41": "207455", - "2a06:e881:53ff::/48": "209859", - "2c0f:ee20::/32": "328251", - "2406:2700:1000::/48": "24151", - "2804:36f4::/32": "266382", - "2a0e:b105:534::/46": "20473", - "2001:67c:2ea0::/48": "47992", - "2401:d800:72b0::/41": "7552", - "2406:840:e1ef::/48": "141237", - "2408:8459:1f30::/41": "17622", - "2408:81a3:c800::/48": "140707", - "2408:8957:5b00::/40": "17816", - "240a:aa79::/32": "145331", - "2804:3c34::/32": "266196", - "2804:18b0::/32": "61947", - "2a00:1ae8::/32": "42517", - "2001:559:8481::/48": "33491", - "2001:559:84ce::/48": "33659", - "240a:a9de::/32": "145176", - "2607:c080::/32": "32767", - "2a01:9780::/32": "209754", - "2a02:28d0::/32": "6877", - "2600:6000:fa69::/48": "11351", - "2804:8020::/32": "271731", - "2a02:26f7:c68b::/42": "20940", - "2001:cb0:2207::/44": "4637", - "2402:800:567f::/40": "7552", - "2a01:c50e:1d00::/34": "12479", - "2a02:2e02:9550::/42": "12479", - "2a0d:2406:510::/46": "39753", - "2620:106:c005::/48": "11039", - "2a03:5640:f533::/41": "2906", - "2001:1b70:82c0::/48": "158", - "2409:8c1f:5b80::/34": "9808", - "240a:a38d::/32": "143559", - "2a02:26f7:fbc4::/48": "36183", - "2402:cec0::/32": "137566", - "240a:a616::/32": "144208", - "2606:1040::/35": "12243", - "2804:6eb4::/32": "270614", - "2001:559:84ed::/48": "33489", - "2400:cb00:410::/46": "13335", - "2600:1417:58:200::/46": "20940", - "2620:79:e000::/48": "398065", - "2804:291c:4100::/32": "263998", - "2804:33b4::/32": "265412", - "2409:8050:1802::/40": "56047", - "2001:408:8001::/33": "14793", - "240e:472::/32": "4134", - "2800:160:1d13::/42": "14259", - "2804:1e38:4005::/35": "264415", - "2a02:26f7:35::/48": "20940", - "2a0d:2687::/32": "209650", - "2607:f6f0:202::/48": "27224", - "2a0d:d6c0::/29": "200350", - "2602:feda:ca1::/48": "39753", - "2a07:6800::/29": "203443", - "2001:579:9260::/44": "22773", - "2a00:1480:5::/48": "39737", - "2a06:7a05::/48": "207682", - "2804:2100::/32": "264526", - "2a02:26f7:d604::/48": "36183", - "2a11:2180::/29": "56897", - "2001:559:800::/33": "7922", - "2604:3fc0:2000::/35": "396300", - "2a02:128:16::/48": "49465", - "2a0b:7ec0:deae::/29": "206728", - "2401:ff80:1081::/44": "133954", - "2408:8256:398b::/48": "17816", - "2408:8256:3d80::/44": "17623", - "2408:8459:ae50::/35": "17816", - "240a:a33c::/32": "143478", - "2a0c:c440::/29": "44489", - "2001:4998:21::/46": "10310", - "2604:cf00::/32": "40230", - "2001:4868:10d::/38": "23148", - "2401:d800:7e70::/40": "7552", - "2403:f680:111::/48": "58898", - "2a00:1fa2:8000::/40": "28884", - "2a01:9800::/35": "52070", - "2409:8c51::/30": "56047", - "2804:14d:1800::/40": "28573", - "2a0a:2f00:1::/46": "49683", - "2001:648:2801::/44": "5408", - "2804:6b78::/32": "270402", - "2a02:26f7:bbc9::/42": "20940", - "2a02:26f7:e809::/46": "20940", - "2a03:9cc0::/29": "5463", - "2a04:1b00:12::/47": "61007", - "2001:df1:6800::/48": "45671", - "2406:7ec0::/44": "38074", - "2620:122:8003::/48": "399731", - "2620:171:26::/47": "715", - "2804:44b0::/32": "267647", - "2a02:1f0::/32": "34080", - "2001:559:c13b::/45": "7922", - "2404:e801:200c::/46": "55430", - "2406:9e00:1110::/47": "55352", - "2c0f:eb00:700::/40": "37148", - "2804:3b34::/35": "266135", - "2a00:1200::/32": "33828", - "2a02:26f7:d84c::/47": "36183", - "2001:559:8191::/46": "33659", - "2401:ff80:100d::/46": "133954", - "2607:f6f0:203::/48": "19930", - "2620:1ec:2a::/43": "8075", - "2803:5440:ca::/48": "264738", - "2804:5020::/32": "268371", - "2a0c:7600::/29": "205190", - "2001:470:114::/44": "6939", - "2400:e340:3::/32": "136450", - "2408:8456:6c00::/42": "17622", - "2600:1411:2::/34": "20940", - "2a01:cb20:9000::/33": "3215", - "2001:df0:eb::/48": "38635", - "2409:805b:2905::/46": "56040", - "2a03:5b80::/32": "20870", - "2001:559:86d5::/48": "7725", - "2402:800:382b::/41": "7552", - "2408:8256:3861::/40": "17623", - "2606:7d00:c001::/48": "14749", - "2620:110::/47": "16692", - "2804:7f7:a000::/35": "10429", - "2a02:890::/32": "5631", - "2a05:b680:7::/48": "41028", - "2c0f:f948:a::/48": "37582", - "2001:1248:98a7::/44": "11172", - "2401:d800:ba30::/41": "7552", - "2604:980:7006::/32": "21859", - "2607:fcd0:fa80:3b03::/53": "8100", - "2800:160:1864::/47": "14259", - "2806:2f0:91c1::/48": "17072", - "2a02:850::/44": "30971", - "2001:4de0:2000::/48": "33438", - "2606:2e00:8008::/45": "36351", - "2804:14c:de8a::/43": "28573", - "2a06:e380::/47": "203507", - "2001:559:717::/48": "33659", - "2001:4488:5::/34": "7713", - "2001:4878:b141::/48": "12222", - "2409:8a7d::/30": "9808", - "2605:7700::/48": "36024", - "2804:378c::/32": "266420", - "2a0a:6040:ac69::/48": "211954", - "2607:fdf0:5e07::/43": "8008", - "2804:970:8000::/33": "263086", - "2a04:2800::/29": "206114", - "2a0a:7300:1000::/34": "56911", - "240e:388::/29": "4812", - "2600:1f01:48c0::/47": "16509", - "2607:f178::/48": "30217", - "2001:df2:e500::/48": "14907", - "2800:160:2cc3::/43": "14259", - "2a02:2ab0:213::/44": "702", - "2406:bd00:de00::/48": "55651", - "2409:8052:1000::/47": "56047", - "2620:0:950::/48": "395184", - "2a00:8a00:4000::/36": "8983", - "2a02:26f7:d008::/48": "36183", - "2a02:26f7:f649::/46": "20940", - "2a02:cdc0::/29": "59715", - "2409:877b::/29": "9808", - "2801:0:200::/48": "8053", - "2804:32d4::/32": "265100", - "2804:71c8::/32": "270811", - "2a0d:2581:fffc::/48": "209261", - "2001:559:8788::/46": "7015", - "2604:d600:65c::/42": "32098", - "2800:160:123e::/41": "14259", - "2800:b70:400::/48": "262191", - "2a0c:6600:1::/46": "48011", - "2a0e:b107:ac::/46": "209218", - "240a:a8f7::/32": "144945", - "2a0c:b641:219::/48": "209661", - "2c0f:ed08::/32": "327764", - "2001:67c:2840::/48": "25046", - "2401:ff80:1581::/46": "133954", - "2607:fa48:fc11::/29": "5769", - "2610:e0:a003::/42": "2572", - "2800:160:1c8a::/43": "14259", - "2a09:d280::/29": "56834", - "2001:559:c27a::/48": "33652", - "2001:1248:5b69::/43": "11172", - "2001:1260:2::/48": "28537", - "2607:f800::/32": "26480", - "2804:1f04::/32": "53046", - "2a01:9e00:ac53::/48": "206202", - "2a0f:da80::/29": "34856", - "240a:ab93::/32": "145613", - "2604:3c80::/32": "26792", - "2a02:26f7:5::/48": "20940", - "2a04:4e40:ec00::/48": "54113", - "2a04:92c7:17::/42": "62240", - "2402:e280:2154::/46": "134674", - "2804:6248::/32": "269288", - "2a0b:78c0::/32": "42830", - "2620:0:5070::/48": "302", - "2804:6840::/32": "269680", - "2a01:87c0::/32": "51406", - "2a03:1d87:2::/32": "31117", - "2001:df4:1580::/48": "137146", - "2001:fd8:224::/46": "132199", - "2803:3660::/32": "267905", - "2001:67c:2644::/48": "6908", - "2a0a:e5c0:1d::/46": "207996", - "2a0e:b105:738::/46": "20473", - "2606:d00::/32": "3926", - "2001:559:c032::/45": "22909", - "2001:678:424::/48": "43442", - "2a01:280:318::/48": "206320", - "2a02:5c00::/29": "12580", - "2a0e:7bc0::/29": "57610", - "2a0f:1740::/29": "60262", - "2001:559:160::/48": "20214", - "2401:7000:d900::/47": "45177", - "2605:fa80::/36": "11990", - "2606:4b40::/32": "31791", - "2607:f180:3200::/33": "35908", - "2806:2f0:3261::/46": "17072", - "2a02:26f7:f884::/48": "36183", - "2001:358::/32": "4680", - "2001:16a2:c0e3::/48": "39891", - "2401:7640::/32": "63771", - "240a:a912::/32": "144972", - "240e:438:5840::/38": "4134", - "2a0c:8540:6::/48": "42198", - "2001:67c:17ac::/48": "42251", - "2001:67c:27ac::/48": "8881", - "2400:7400:e027::/48": "23736", - "2409:8004:3021::/43": "24547", - "2803:5c80:6051::/46": "64114", - "2402:6800:5::/48": "22822", - "2403:300:1540::/36": "714", - "2605:49c0:2::/47": "15094", - "2806:230:5005::/48": "11888", - "2a02:1620:8005::/33": "1290", - "2a07:a343:3c00::/44": "9009", - "2600:6c38:b1f::/42": "20115", - "2620:83:8000::/48": "16", - "2a00:1b88::/32": "29075", - "2a00:4802:a10::/42": "13124", - "2a0d:d740:105::/48": "210036", - "2a0f:9400:7300::/44": "207890", - "2001:559:8774::/48": "33668", - "2a01:8740::/48": "57344", - "2a00:7147:22::/48": "51430", - "2a02:ae80::/29": "200139", - "2a07:c580::/29": "202527", - "2804:408c::/32": "265966", - "2a01:bd80::/29": "41881", - "2a0c:93c0:8062::/48": "212465", - "2001:559:24b::/45": "33491", - "2401:1700:a::/43": "55666", - "2401:d800:bfe0::/43": "7552", - "240a:a7b9::/32": "144627", - "2a02:26f7:d700::/48": "36183", - "2a02:26f7:fb81::/46": "20940", - "2a0b:e44:1::/48": "205809", - "2001:559:1fc::/48": "33491", - "2001:1a11:ef::/43": "42298", - "2607:f5d8:4::/43": "11096", - "2a00:b980::/29": "41000", - "2a02:26f7:c201::/46": "20940", - "2a05:9282::/29": "31019", - "240e:fd:d000::/36": "140312", - "2607:f9d0::/39": "11979", - "2a02:26f0:ab01::/37": "20940", - "2a02:2da0::/32": "47447", - "2a0d:2146:8586::/44": "39526", - "2400:dcc0:a704::/36": "38631", - "2600:9000:1199::/46": "16509", - "2806:20d:322e::/37": "32098", - "2800:bf0:826b::/48": "27947", - "2a00:18a8::/32": "29246", - "2a02:26f7:bfc5::/46": "20940", - "2401:8700:7f::/48": "36408", - "2800:160:1ff0::/47": "14259", - "2800:bf0:110::/42": "27947", - "2a01:5b40:6::/44": "12996", - "2a02:26f7:f2c9::/46": "20940", - "2a04:6650::/31": "210156", - "2001:418:4001:4::/64": "20940", - "240e:44d:4e80::/41": "4134", - "2620:17:a000::/48": "32334", - "2401:d800:b5d0::/42": "7552", - "2604:cd40::/32": "32899", - "2803:420::/32": "28120", - "2408:8456:8040::/39": "17816", - "2409:8008:3100::/36": "24547", - "240e:108:10e2::/43": "4134", - "2806:230:602b::/48": "11888", - "2a02:26f7:ef08::/48": "36183", - "240a:a2e7::/32": "143393", - "2600:802:721::/36": "701", - "2804:1a0c::/32": "61833", - "2a02:2e02:9d40::/38": "12479", - "2001:559:7e8::/48": "21508", - "2001:67c:1528::/48": "50321", - "2408:870c:2060::/36": "17621", - "240a:af53::/32": "146573", - "240a:ad88::/32": "146114", - "2a01:6ae0::/29": "62227", - "2409:8018:28f1::/48": "9808", - "2604:6840:1e00::/40": "33438", - "2607:4300::/47": "55286", - "2804:1488::/32": "28125", - "2804:19d8::/32": "61822", - "2a01:6b0::/32": "1820", - "2a01:9700:13d4::/46": "8376", - "2602:fcc1::/36": "399204", - "2605:dd40:8ff0::/44": "16509", - "2a01:238:20b::/37": "6724", - "2001:559:147::/48": "7015", - "2001:978:1c04::/39": "174", - "2602:ffe4:c4d::/46": "21859", - "2804:ca4::/32": "262336", - "2804:3b74::/32": "266150", - "2a00:f900::/32": "43925", - "2602:fff3::/36": "11512", - "2a00:b880::/32": "44943", - "2c0f:fd18::/32": "37343", - "2600:100b::/32": "6167", - "2804:3a88::/32": "266094", - "2804:4f8:a002::/45": "28263", - "2001:67c:65c::/48": "198903", - "2404:e00:165::/48": "15695", - "2401:73c0::/47": "136792", - "2409:8a39::/30": "9808", - "2a01:c0::/32": "31708", - "2a09:7c47::/32": "44094", - "2401:ff80:1b85::/44": "133954", - "2403:bc00:1::/48": "45668", - "2607:fb10:5017::/44": "2906", - "2400:6280:107::/48": "132280", - "2606:5000::/39": "209", - "2a00:1260::/32": "31641", - "2a10:dac0:100::/48": "50399", - "2606:5000:400::/39": "209", - "2a00:1d10::/32": "49909", - "2001:67c:71c::/48": "59824", - "2001:df6:2280::/48": "141557", - "2620:b0:8000::/48": "54297", - "2803:1520::/32": "266688", - "2a03:8ae0::/32": "35677", - "2001:559:8087::/48": "33651", - "2001:ee0:ca40::/39": "45899", - "2001:4878:219::/48": "12222", - "2403:ba00::/34": "24521", - "2408:8957:1500::/40": "17816", - "240a:a810::/32": "144714", - "2a01:618:400::/46": "43519", - "2001:500:4::/48": "10745", - "2401:2d00:8000::/46": "17625", - "2600:370f:72aa::/45": "32261", - "2804:14d:b484::/41": "28573", - "2a00:ad87:3b02::/47": "22216", - "2402:800:551d::/42": "7552", - "2408:8957:6700::/40": "17816", - "240e:18:12::/41": "4812", - "2a00:1560:17::/44": "29684", - "2a01:3f7::/48": "57021", - "2a02:26f7:bd::/48": "20940", - "2a0e:fd45:40fc::/48": "3280", - "2001:559:1f7::/48": "7922", - "240a:a8c9::/32": "144899", - "2607:f738:f00::/41": "17184", - "2804:934::/32": "263059", - "2804:42f4::/32": "267539", - "2a02:6c20:7::/48": "211085", - "2408:8956:5d00::/40": "17816", - "240a:a77e::/32": "144568", - "240e:44d:480::/41": "4134", - "2620:119:4000::/43": "7726", - "2a01:5741:1::/32": "57763", - "2a02:26f7:e808::/48": "36183", - "2001:559:19:e001::/42": "7922", - "2401:2a00:1004::/34": "7468", - "2600:6c38:8b1::/44": "20115", - "2a02:348:1f::/41": "35470", - "2001:550:3002::/39": "174", - "2800:160:1431::/45": "14259", - "2804:4ca0:200::/32": "267381", - "2a03:1a80::/32": "39878", - "2a02:1a8::/32": "203865", - "2001:559:c256::/48": "7725", - "2001:67c:214::/48": "25057", - "2001:1248:97ef::/36": "11172", - "240a:ae5b::/32": "146325", - "2602:fc5d:707::/48": "399866", - "2804:385c::/39": "262687", - "2804:7d3c::/34": "271548", - "2001:16c0::/42": "31732", - "240a:af29::/32": "146531", - "2607:f7a8:827::/38": "16657", - "2a02:f784:30::/48": "25252", - "2a0e:b107:a60::/44": "213105", - "2408:8459:3a20::/44": "17816", - "240a:a8b7::/32": "144881", - "2a02:6f60::/32": "12617", - "2a02:ac80:b01::/37": "25145", - "2a03:e00::/32": "50163", - "2001:559:3cc::/48": "7015", - "2400:c700:b001::/33": "55644", - "240a:af34::/32": "146542", - "2600:380:f107::/48": "64011", - "2607:fdf0:5ec1::/46": "8008", - "2804:14c:bbae::/47": "28573", - "2a01:c50e:200::/37": "12479", - "2602:802:2000::/40": "55244", - "2804:f8c:8090::/41": "263591", - "2a0e:fd45:da6::/43": "44103", - "2a0f:6fc5:3e84::/48": "43694", - "2001:559:c351::/48": "33657", - "240e:44d:5500::/41": "140345", - "2620:11b:e0c1::/48": "202818", - "2a02:26f7:b888::/48": "36183", - "2a04:9a00:1021::/46": "203396", - "2a07:7c80::/29": "61251", - "2a0e:fc80::/36": "212286", - "2001:44c8:4800::/41": "131445", - "2408:8256:2f8e::/43": "17623", - "240a:a7c1::/32": "144635", - "2600:6c38:6::/44": "20115", - "2620:100:f00d::/48": "46571", - "2803:b780:2::/44": "27742", - "2001:678:4b0::/48": "197942", - "2a0e:b107:bf6::/48": "140938", - "2001:559:c12e::/48": "7015", - "2001:67c:4d0::/48": "43354", - "2001:1b70:82ad::/46": "158", - "240e:3b4:3e00::/33": "140308", - "2610:b0:40fa::/45": "3573", - "2a02:26f7:f8d1::/46": "20940", - "2804:658c:10::/46": "269499", - "2001:67c:5c0::/48": "205076", - "2400:dc00:4006::/48": "131111", - "2803:9800:91c0::/37": "11664", - "2a00:1d58:801d::/46": "47524", - "2a02:e100::/29": "8426", - "2a05:a040::/29": "43652", - "2a0d:76c0::/48": "209608", - "2401:1c00:3100::/33": "38809", - "240e:438:2820::/43": "140647", - "2610:a1:1082::/48": "397218", - "2a02:26f7:f70c::/48": "36183", - "2001:559:83bb::/48": "33660", - "2404:8000:a0::/44": "17451", - "2408:8710::/30": "4837", - "240a:ab4e::/32": "145544", - "2605:dd40:8bea::/48": "398549", - "2610:b0:c140::/40": "701", - "2804:90::/32": "28580", - "2404:bf40:e301::/37": "139084", - "2600:1408:11::/44": "20940", - "2804:1a30::/38": "61844", - "2a02:26f7:da84::/48": "36183", - "2804:67c0::/32": "269648", - "2001:67c:17a0::/48": "24929", - "2401:d800:a0::/41": "7552", - "2404:7c80::/32": "133661", - "2405:200::/39": "55836", - "2600:6c7f:91f0::/44": "20115", - "2604:85c0::/45": "16524", - "2804:6444:2000::/32": "269417", - "2404:dd00::/32": "58687", - "240e:44d:6300::/41": "140345", - "240a:ae0a::/32": "146244", - "2a03:2880:f251::/45": "32934", - "2a04:780::/29": "39806", - "2001:4490:da00::/46": "9829", - "2605:1080:a1::/48": "23367", - "2a02:26f7:e640::/48": "36183", - "2a05:4145:dead::/48": "211522", - "2a07:5202::/47": "213208", - "2a0b:b87:ffa5::/48": "212450", - "2404:bf40:a040::/48": "7545", - "240e:3b4:2200::/37": "136198", - "2803:2d60:2000::/32": "14754", - "2001:16d8:cd00::/35": "16150", - "2600:140f:5401::/38": "20940", - "2600:1a0e:270e::/48": "10307", - "2800:370:4a::/48": "28006", - "2804:638::/32": "28178", - "2a09:f400::/29": "38983", - "2001:559:443::/48": "7015", - "2001:ed8::/32": "18422", - "240a:a1b0::/32": "143082", - "2804:14c:da00::/40": "28573", - "2607:9180::/32": "395477", - "2a01:8fb::/29": "3209", - "2a0d:d40::/32": "200318", - "240a:adc6::/32": "146176", - "2620:102:4000::/43": "4130", - "2602:ffc8::/45": "20278", - "2a02:26f7:d4cd::/46": "20940", - "2a02:26f7:ea05::/46": "20940", - "2001:559:c0fb::/48": "33652", - "2a01:1b0::/32": "31477", - "2a02:7b00::/36": "48328", - "2a02:26f0:31::/46": "20940", - "2a04:e00:200::/47": "39855", - "2406:daa0:10c0::/44": "16509", - "2409:8052:3900::/32": "9808", - "2604:6d00:3000::/48": "36223", - "2804:6408::/32": "269399", - "2a00:1d36:1340::/32": "9121", - "2a04:bc40:1dca::/48": "209813", - "2001:550:1b0a::/48": "397496", - "2001:1248:a537::/44": "11172", - "2800:160:1b0f::/43": "14259", - "2401:d800:2bf0::/37": "7552", - "2403:4040::/32": "131937", - "240a:a67f::/32": "144313", - "240a:a7e2::/32": "144668", - "2a03:2880:f051::/45": "32934", - "2001:253:133::/48": "142099", - "2604:d600:130d::/43": "32098", - "2607:f838::/32": "22581", - "2804:cfc::/32": "262887", - "2804:340c::/32": "265434", - "2a02:26f7:fb41::/46": "20940", - "2a0b:1d80::/29": "202694", - "2001:559:85a4::/48": "7015", - "2600:1419:c01::/38": "20940", - "2804:47b8::/32": "267073", - "2804:4a64::/32": "267237", - "240e:965:9800::/33": "4134", - "2804:93c:9000::/33": "52878", - "2804:6124::/32": "269215", - "2a01:7400::/32": "47544", - "2a03:7380:1e00::/42": "13188", - "2001:67c:1890::/48": "12552", - "240e:473:7750::/40": "4134", - "2600:370f:4065::/43": "32261", - "2607:f790:fff6::/48": "398351", - "2a03:b480::/32": "24993", - "2001:67c:2bac::/48": "12886", - "2600:5400:ce01::/34": "19108", - "2602:fff6:7::/48": "54561", - "2605:a404:17a::/45": "33363", - "2606:6080:1000::/46": "32489", - "2a01:5040:1021::/34": "43996", - "2a0d:5dc0::/29": "12453", - "2001:468:cff::/48": "40220", - "2408:8456:ee40::/40": "17816", - "2603:c012:6000::/36": "31898", - "2620:149:1150::/42": "714", - "2800:5f0:8001::/34": "22724", - "2a00:e20::/39": "25048", - "2a01:190::/42": "1764", - "2a0e:9580::/32": "61381", - "2001:67c:2c54::/48": "13189", - "2400:ba40::/32": "64271", - "2402:1200:2::/47": "24523", - "2404:bf40:8780::/48": "7545", - "2804:e94:20::/43": "262468", - "2804:5854::/32": "268122", - "2a0a:acc1::/32": "3258", - "2001:559:806a::/48": "7922", - "2a01:a380::/32": "12693", - "2001:559:3d0::/48": "33489", - "2404:138:134::/33": "38022", - "2409:804d:2100::/35": "9808", - "2a0b:b140::/29": "62000", - "2001:12f0:d40::/40": "1916", - "2804:57b0::/32": "268080", - "2a04:400::/29": "34254", - "2a0d:9080::/29": "56708", - "2409:802f:2a06::/39": "56041", - "2804:3c3c::/32": "266198", - "2a03:7720::/43": "201094", - "2a0a:eac2:1::/29": "31143", - "2a10:7340::/29": "52126", - "2401:d800:90b0::/41": "7552", - "2800:160:1fc8::/46": "14259", - "2a00:59a0::/32": "42442", - "2a0e:c6c1::/32": "209419", - "2a0f:240::/29": "60262", - "240e:87c:400::/24": "4134", - "2600:1005:f010::/39": "22394", - "2602:808:3000::/44": "398883", - "2a0b:7e80::/29": "43372", - "2408:8956:ec00::/39": "17622", - "2803:33c0::/32": "265721", - "2804:7a60:200::/32": "271367", - "2a02:26f7:dec4::/48": "36183", - "2604:d600:14::/44": "32098", - "2804:24c::/32": "262605", - "2a0a:5ac0::/32": "212696", - "2605:fb80:e030::/36": "16584", - "2804:6a94::/33": "270345", - "2a06:e043::/32": "198507", - "2803:6900:1::/48": "52423", - "2804:6f60::/32": "270656", - "2001:550:2304::/40": "174", - "2804:1128:c100::/34": "263661", - "2a02:587:1c00::/33": "6799", - "2001:270::/32": "3786", - "2401:ff80:1789::/46": "133954", - "2800:160:1590::/44": "14259", - "2801:80:12d0::/48": "263892", - "2a00:1578:100::/40": "205148", - "2a0b:4340:1501::/48": "48883", - "2001:57a:6031::/35": "22773", - "2600:1415:d801::/34": "20940", - "2600:9000:218c::/43": "16509", - "2607:f1d8::/40": "7795", - "2a0d:f407:1003::/48": "47687", - "2001:559:568::/48": "7015", - "2001:1248:5bcb::/42": "11172", - "2409:8b06::/28": "9808", - "2409:8050:3802::/40": "56047", - "2409:8051:1802::/40": "56047", - "2804:4028::/32": "265938", - "2a00:79e0:101::/48": "36385", - "2a02:26f7:d208::/48": "36183", - "2806:2f0:7041::/42": "17072", - "2a02:26f7:dd85::/46": "20940", - "2409:8000:2800::/40": "56048", - "2803:1920::/32": "266671", - "2a01:4180::/33": "200517", - "2a03:90c0:500::/41": "199524", - "2001:678:468::/48": "39431", - "2401:9140::/46": "136897", - "2405:1e40::/47": "58475", - "2a02:e60::/32": "47506", - "2a0b:b86:fd::/48": "3280", - "2001:918:ffb8::/41": "3303", - "2402:800:9947::/43": "7552", - "2600:1900:4120::/44": "396982", - "2001:559:c26c::/48": "33668", - "2409:8051:3900::/32": "9808", - "2001:468:1900::/40": "57", - "2001:67c:106c::/48": "58102", - "2400:6480::/32": "55507", - "2a02:26f0:e4::/44": "20940", - "2a09:db40::/48": "60781", - "240e:979:5e00::/40": "134770", - "2a03:f580::/47": "15763", - "2001:559:469::/46": "7922", - "2001:678:6d8::/48": "39334", - "2402:800:9263::/43": "7552", - "2620:12e:b000::/46": "7046", - "2800:160::/46": "14259", - "2804:51c:7001::/38": "262495", - "2804:1b80::/32": "262993", - "2804:5ef8::/32": "269068", - "2a06:1e00:50::/48": "60695", - "2a0d:8e00::/30": "197793", - "2600:6c7f:90e2::/48": "20115", - "2604:5500:c000::/34": "19165", - "2800:482:4002::/44": "14080", - "2a02:2e02:3ba0::/37": "12479", - "2001:550::/47": "174", - "2001:559:824a::/48": "33287", - "2402:ef0b:c000::/36": "24515", - "2602:fcf6:101::/48": "42394", - "2602:feda:3ab::/48": "141706", - "2603:c002:9410::/39": "31898", - "2804:58b8:11::/48": "15695", - "2a07:bec0::/29": "201466", - "2a09:bac0:196::/47": "13335", - "2001:df2:5c00::/48": "133947", - "2001:df0:4780::/48": "45278", - "2406:9900::/32": "17936", - "2407:52c0::/32": "139484", - "2804:5d6c::/32": "268971", - "240a:a2e0::/32": "143386", - "2001:67c:2020::/48": "48598", - "2403:a200:9999::/48": "133111", - "2408:8957:cdc0::/38": "17622", - "2607:fb10:7120::/41": "2906", - "2607:fd28:a004::/48": "62753", - "2620:12c:9004::/48": "395359", - "2400:7400:e028::/46": "38044", - "2402:e380:12d::/43": "139073", - "2408:877d::/32": "133118", - "2604:d600:163e::/41": "32098", - "2604:f6c0::/32": "22987", - "2a0c:7900::/29": "205052", - "2001:559:f4::/46": "7922", - "2001:67c:64::/48": "2121", - "2001:1248:5aa7::/43": "11172", - "240a:ae95::/32": "146383", - "2a0c:e640:1000::/48": "57401", - "2001:67c:19ec::/48": "47208", - "2001:559:c397::/44": "33657", - "2001:df7:ec00::/48": "7575", - "2408:8256:356d::/48": "17816", - "240e:3bc:3e00::/33": "140308", - "2804:1298:e000::/35": "263486", - "2a00:ece0::/32": "6718", - "2001:559:575::/46": "7016", - "2001:df0:ba00::/48": "132753", - "2001:df6:5c00::/48": "55938", - "2001:18b8:3a::/41": "29789", - "2409:8904:6240::/42": "24547", - "2602:fcff:10::/48": "57164", - "2806:268:2405::/40": "13999", - "2001:44c8:43d0::/44": "45430", - "2402:f800:ef01::/40": "7602", - "2404:fe40::/32": "131982", - "2a02:26f7:d549::/46": "20940", - "2a06:e881:5500::/45": "209864", - "240e:473:3050::/39": "4134", - "2404:b1:5000::/32": "9891", - "2800:430:c100::/35": "23487", - "2a01:8840:39::/48": "207266", - "2a0e:fd45:1337::/48": "207740", - "2602:fe65::/46": "396872", - "2602:ff71:1021::/48": "29802", - "2a05:3484:272::/48": "20655", - "2605:a900:2200::/35": "46887", - "2800:160:1245::/46": "14259", - "2803:c860::/32": "267819", - "2a03:2887:ff3f::/41": "63293", - "2600:380:cc80::/35": "7018", - "2602:feda:b42::/48": "142130", - "2806:230:1016::/48": "265594", - "2a01:98c0::/48": "44882", - "2a02:26f7:c944::/48": "36183", - "2a0f:a40::/29": "398559", - "2a0f:9400:7726::/48": "53356", - "2a04:f580:9070::/48": "4809", - "2001:e30:1111::/48": "2697", - "2406:daa0:c040::/44": "16509", - "2408:84f3:9240::/37": "17816", - "2600:1008:9010::/40": "22394", - "2600:1806:20::/44": "16552", - "2606:5000:1600::/39": "209", - "2a01:9700:10a0::/46": "8376", - "2a0b:3540::/45": "204413", - "2001:559:2c3::/48": "33659", - "240a:a3ca::/32": "143620", - "2602:230::/32": "6128", - "2001:67c:4ac::/48": "198692", - "2602:801:f005::/44": "32590", - "2a0e:46c5::/32": "49752", - "2a03:7203::/32": "42322", - "2a04:9bc0::/29": "62186", - "2001:4490:efe8::/46": "9829", - "2402:8100:30b0::/41": "55644", - "2405:1c0:6a33::/41": "55303", - "2409:8904:d070::/40": "24547", - "2804:14c:8794::/46": "28573", - "2806:2f0:6041::/42": "17072", - "2001:67c:2010::/48": "21344", - "2a09:d2c0::/32": "49181", - "2401:340::/32": "55720", - "2800:160:1378::/45": "14259", - "2806:230:fff2::/48": "265594", - "2a03:1e01::/32": "9145", - "2a0a:3340::/29": "25424", - "2001:1248:986b::/45": "11172", - "2a0b:f740::/29": "198776", - "2001:67c:29cc::/48": "3330", - "2001:7e8::/32": "6661", - "2605:5e00::/32": "40317", - "2606:b100::/32": "32393", - "2803:1240::/41": "27855", - "2400:1c00:b::/45": "45143", - "2402:3a80:c064::/48": "38266", - "2a06:700::/29": "200665", - "2001:1248:96b0::/45": "11172", - "2405:9800:f000::/48": "45458", - "240e:438:1240::/37": "4134", - "2607:a500:9::/45": "12025", - "2804:71f8::/32": "270823", - "2a02:5d01::/29": "28972", - "2400:cb00:a800::/48": "13335", - "2606:1a40::/45": "398962", - "2804:1288:2000::/32": "263482", - "2a02:26f7:36::/48": "36183", - "2405:3200::/39": "17639", - "2407:7000::/32": "9500", - "2409:8051:3100::/37": "9808", - "2804:2cb8::/42": "265239", - "2a0b:2b40::/29": "42035", - "2a04:a140::/32": "62217", - "2001:559:22::/47": "7922", - "2001:ce0:9::/34": "3662", - "2001:4818:2000::/36": "36030", - "240a:aa49::/32": "145283", - "240a:af91::/32": "146635", - "240e:44d:7400::/41": "140345", - "2a00:efc0::/32": "29394", - "2a0e:b107:9d4::/47": "213262", - "2409:8d10::/30": "9808", - "2602:fde7::/36": "5650", - "2806:230:5003::/48": "11888", - "2a0b:11c0::/48": "198682", - "2a0f:8a80::/29": "62009", - "240e:2e:8000::/25": "4134", - "2620:74:20::/48": "396549", - "2804:12f4::/32": "263506", - "2a00:1288:85::/46": "10310", - "2404:7cc0:7f00::/47": "10100", - "2804:1dcc::/32": "264394", - "2001:559:8d::/46": "13367", - "2a00:1ec8:28::/43": "2854", - "2a01:77e0::/32": "51088", - "2a00:1628::/32": "21360", - "2001:df5:d380::/48": "138754", - "2402:2380::/32": "134102", - "2408:8956:8a00::/40": "17622", - "2606:cd00:2::/43": "40845", - "2620:11b:3002::/48": "36351", - "2804:7d30::/32": "271545", - "2806:2f0:6181::/42": "17072", - "2a00:bd20::/32": "8455", - "2a0b:b87:ffbb::/48": "212831", - "2400:9380:9000::/46": "4809", - "2801:14a:d0::/42": "3816", - "2804:5510::/32": "268687", - "2804:6be0::/32": "270431", - "2a09:4c2:2e::/48": "205947", - "2001:6f8:1502::/36": "4589", - "2600:1402:5001::/34": "20940", - "2806:286::/33": "265524", - "2a04:4240::/29": "48871", - "2001:4170::/32": "13092", - "240a:a204::/32": "143166", - "2600:1806:111::/48": "16552", - "2607:f380:804::/48": "257", - "2800:870::/35": "6762", - "2804:7438:4::/32": "270967", - "2a01:4642:100::/38": "9042", - "2605:a404:67::/44": "33363", - "2804:26d4::/32": "263860", - "2804:4164::/32": "267430", - "2804:7d54::/32": "271554", - "2a02:26f0:b000::/48": "34164", - "2001:559:81bb::/48": "33651", - "2400:ebc0::/32": "59022", - "240a:a770::/32": "144554", - "240e:60c:b800::/33": "4134", - "2a02:d107:e000::/47": "200088", - "2001:370:b::/32": "9607", - "2607:6000:b00::/40": "12189", - "2804:1230::/34": "263462", - "2a02:7860::/32": "201859", - "2407:7200:5001::/32": "10098", - "240a:a90a::/32": "144964", - "2606:a000:707::/48": "11955", - "2a00:c000::/32": "41090", - "2a02:26f7:d4cc::/48": "36183", - "240a:aa3e::/32": "145272", - "2804:2c0::/33": "262834", - "2a01:7540::/32": "13097", - "2a05:27c0::/47": "210021", - "2001:67c:2458::/48": "2119", - "2001:48e0::/32": "40498", - "2406:2000:1a0::/46": "10229", - "2804:2364::/32": "264159", - "2804:64e8::/32": "269457", - "2001:7f0::/39": "13237", - "2001:1210::/32": "2549", - "2406:4b00:b::/32": "132602", - "2804:5250::/32": "268510", - "2a00:e180::/32": "57353", - "2a05:3400::/29": "200675", - "2a0f:6580:10::/48": "34828", - "2602:804:4000::/40": "32655", - "2607:fc58:1:52::/64": "13536", - "2806:20d:5049::/46": "32098", - "2a02:26f7:e1c5::/46": "20940", - "2a04:4e42:201::/37": "54113", - "2a07:2ec0::/32": "48111", - "2001:df2:5100::/48": "133929", - "2408:8256:3b7f::/48": "17816", - "2a00:4800:1f0::/38": "13124", - "2408:84f3:3050::/44": "17816", - "240a:aadf::/32": "145433", - "2600:6c38:61b::/45": "20115", - "2804:2a64::/32": "262644", - "2804:3568::/32": "266284", - "2804:44d4::/32": "267656", - "2001:559:8231::/46": "7922", - "2620:12e:f000::/40": "46771", - "2804:46ec::/32": "267020", - "2a00:1288:f044::/36": "10310", - "2001:454d::/30": "9924", - "240e:6b6::/36": "136199", - "2604:9f00:800:8::/64": "36040", - "2607:fca8:598b::/32": "17139", - "2a01:b600::/32": "43989", - "2a02:2188::/48": "60848", - "2c0f:f548::/32": "327963", - "2804:18:1870::/37": "26599", - "2001:67c:1304::/48": "48297", - "2404:3d00:4142::/47": "3573", - "240a:ac51::/32": "145803", - "240e:3b1:c800::/37": "4134", - "2600:380:f10f::/48": "64011", - "2600:1419:1401::/38": "20940", - "2607:fa38::/32": "25649", - "2a01:ade0::/32": "24641", - "2a02:2ad0:247::/44": "702", - "2a09:740::/32": "62214", - "2a09:71c0::/29": "44486", - "2a0f:4340::/29": "211626", - "2001:67c:12a0::/48": "41108", - "2408:8245:1200::/32": "4837", - "2806:20d:5a07::/44": "32098", - "2a02:3d8::/32": "39093", - "2804:7aa4::/33": "271383", - "2a02:17e8:d00::/32": "13002", - "2a10:f240::/29": "211385", - "2001:67c:1cc::/48": "50906", - "2409:8904:2da0::/38": "24547", - "2604:d600:1514::/46": "32098", - "2804:109c::/32": "262854", - "2001:fd8:b330::/44": "4775", - "240a:a135::/32": "142959", - "2600:803:22d::/41": "701", - "2600:100e:9110::/36": "6167", - "2606:9500:300::/36": "19893", - "2a00:f10::/39": "48635", - "2001:44b8:3080::/48": "7545", - "2604:d600:c82::/45": "32098", - "2804:274::/32": "53217", - "2a02:26f0:4b01::/37": "20940", - "2a09:f780::/48": "203395", - "2804:14d:9eb1::/41": "28573", - "2001:df7:6800:1182::/52": "59194", - "240a:a74f::/32": "144521", - "2604:7f80::/32": "27467", - "2001:67c:29e0::/48": "21131", - "2604:34c0::/32": "25780", - "2a02:7e0::/32": "200163", - "2a02:f48::/40": "44515", - "2620:109:1000::/40": "16958", - "2001:7f8:23::/48": "25309", - "2401:d800:2950::/42": "7552", - "2402:800:5a55::/42": "7552", - "2409:806a:900::/35": "9808", - "240e:982:8300::/37": "133775", - "2607:f308::/32": "6405", - "2607:fb10::/43": "2906", - "2a00:5a20::/47": "199289", - "2a01:a5e0::/32": "201808", - "2a02:ad8:5900::/32": "12389", - "2a06:5040:6::/48": "3214", - "2001:67c:2c24::/48": "15542", - "2401:d800:780::/42": "7552", - "240a:a5f9::/32": "144179", - "2603:90f4::/32": "7843", - "2a00:c1c0::/32": "31241", - "2a04:53c0:82::/47": "47784", - "2001:559:38e::/48": "33652", - "2405:1c0:6153::/42": "55303", - "240e:37e:ac00::/31": "4134", - "2a03:4bc0:2100::/48": "30893", - "2a04:4340::/31": "61349", - "2604:d600:54d::/46": "32098", - "2607:f5b5::/47": "60781", - "2a0d:5040::/31": "8315", - "2804:3188::/32": "265022", - "2001:559:c07c::/47": "33651", - "2001:579:523c::/41": "22773", - "2409:8904:8b90::/37": "24547", - "2607:fcd0:fa80:2e02::/51": "8100", - "2804:5548::/32": "268700", - "2a07:be80::/29": "212773", - "240a:a93c::/32": "145014", - "2803:e600:ff01::/40": "18809", - "2804:1f10::/32": "2715", - "2a10:4647::/46": "50046", - "2001:559:462::/48": "33652", - "2401:ff80:1911::/46": "133954", - "2001:559:c10b::/48": "33657", - "2604:d600:1139::/41": "32098", - "2a04:9a00:1010::/44": "62003", - "240e:b:f000::/37": "137687", - "240e:982:c100::/40": "38283", - "2606:5200:9000::/34": "32477", - "2803:a200::/32": "27775", - "2804:a4c::/32": "262268", - "2001:559:83be::/48": "7922", - "2001:559:859d::/46": "7922", - "2001:579:5284::/41": "22773", - "2001:1520:200::/40": "20738", - "2402:6800:740::/48": "38622", - "2806:370:4310::/40": "28403", - "2a05:4741:f::/48": "208393", - "2a0f:9c40::/29": "206983", - "2001:678:1e8::/48": "213151", - "240e:44d:4900::/41": "140345", - "2607:d400::/46": "22364", - "2620:107:9044::/47": "22787", - "2804:14c:a785::/41": "28573", - "2a01:b300::/29": "51678", - "2a09:40c0::/48": "50007", - "2001:2b8:e6::/48": "1237", - "240a:a642::/32": "144252", - "2603:4:1504::/48": "44273", - "2605:6fc0::/32": "19523", - "2803:2fa0:ff00::/40": "265705", - "2a02:26f7:cc05::/46": "20940", - "2001:67c:1b70::/48": "2488", - "2001:67c:24f8::/48": "57407", - "240a:414c::/31": "58834", - "240a:a5d3::/32": "144141", - "2804:1a44::/32": "61849", - "2408:8957:7e00::/40": "17622", - "2a02:26f7:dfc8::/48": "36183", - "2a0e:b107:b10::/47": "212580", - "2a11:1d40::/29": "210937", - "240a:a806::/32": "144704", - "240a:af08::/32": "146498", - "2602:fe12:1::/44": "62707", - "2607:e880:8221::/48": "12220", - "2a01:8d00::/31": "43070", - "2001:df7:5300::/48": "138115", - "2001:1248:a47f::/48": "11172", - "2408:8456:1800::/42": "17622", - "2804:351c::/35": "266269", - "2a02:26f7:df09::/42": "20940", - "2001:559:8450::/48": "33660", - "2600:9000:11a5::/43": "16509", - "2604:880:12::/48": "29802", - "2606:7e00:ff00::/40": "3064", - "2804:1e90:1009::/38": "264436", - "2001:67c:15ec::/48": "21485", - "2001:dc1::/48": "16509", - "2620:107:9036::/48": "13951", - "2a06:2140::/29": "200600", - "2001:df5:2d80::/48": "139727", - "240a:af77::/32": "146609", - "2600:4402:2019::/32": "6130", - "2600:6c7f:9012::/48": "20115", - "2001:678:6dc::/48": "41029", - "2404:e00:81::/48": "15695", - "2600:9000:a210::/47": "16509", - "2620:17e:300::/42": "19991", - "2a10:a800::/30": "213013", - "2001:559:24a::/48": "33652", - "2001:67c:7d8::/48": "31676", - "2606:4700:90c0::/44": "13335", - "2a02:2e0:3e0::/43": "12306", - "2a03:73c0::/48": "8426", - "2a0d:6540::/29": "210197", - "2001:1248:55f6::/44": "11172", - "2400:5280:3000::/38": "63199", - "2408:824e::/27": "4837", - "240a:a75f::/32": "144537", - "240e:438:9c20::/43": "140647", - "2602:fe5f::/36": "32899", - "2607:f740:b::/43": "36236", - "2001:43f8:de0::/48": "328213", - "2605:aa40:ffff::/48": "395394", - "2001:1248:88b0::/47": "11172", - "240e:108:41::/48": "4811", - "2804:7c34::/32": "28361", - "2806:230:300c::/48": "265594", - "2a10:ae02::/48": "8767", - "2001:2b8:bc::/48": "1237", - "240e:438:a640::/36": "4134", - "2600:7402::/28": "29933", - "2804:38:4205::/46": "19089", - "2804:4ce0::/32": "267398", - "2804:8210::/32": "272496", - "2001:559:c34f::/48": "7015", - "2600:1480:9001::/37": "20940", - "2607:fd48:302:100::/37": "13536", - "2a02:26f0:ea01::/39": "20940", - "240a:ab3a::/32": "145524", - "2804:35f0:5000::/32": "266316", - "2a0e:8f02:2151::/45": "211869", - "2c0f:f9d8::/32": "37352", - "2001:eb0::/40": "9584", - "2001:4998:29::/43": "10310", - "2a07:2780::/31": "15490", - "240a:aabb::/32": "145397", - "240e:6b0::/36": "134773", - "2606:6680:409::/48": "40676", - "2a03:5640::/32": "2906", - "2a04:c180::/29": "12842", - "2a0d:2581:14::/48": "209261", - "2401:2a00:2004::/32": "7468", - "2401:4900:1f80::/44": "45609", - "2804:1f48::/32": "53016", - "2a02:26f7:8b::/48": "20940", - "2a02:6680:f100::/44": "16116", - "2a0b:8bc0::/29": "41608", - "2600:100d:9f00::/44": "6167", - "2a02:7c20::/32": "201424", - "2804:4194::/32": "267442", - "2001:df0:400::/48": "56172", - "2001:df2:4a00::/48": "135441", - "2001:4de0:101::/48": "34343", - "2400:ca04:f037::/30": "23688", - "2401:fc0::/32": "136523", - "2405:1c0:6a82::/35": "55303", - "240e:473:4e00::/41": "140485", - "2a02:26f0:4501::/38": "20940", - "2001:559:7f0::/48": "7015", - "2001:1388:b46::/35": "6147", - "2402:3a80:1e64::/40": "38266", - "240a:a3b6::/32": "143600", - "240e:979:1f00::/34": "4134", - "2a06:1c5:ac2::/32": "207455", - "2001:678:7d8::/48": "2643", - "2001:6e0::/32": "8935", - "240e:108:21::/48": "4811", - "2606:5c80::/32": "394255", - "2a02:26f7:e881::/46": "20940", - "2a02:2e02:10e0::/39": "12479", - "2a07:3640::/29": "203179", - "2804:5094::/32": "268397", - "2a0f:bf00:40::/42": "208069", - "2803:3f80::/37": "263739", - "2a00:c10::/32": "12387", - "2a00:1280::/32": "39591", - "2a02:26f7:c640::/48": "36183", - "2001:4490:3600::/42": "9829", - "240a:a552::/32": "144012", - "2600:1000:fe00::/44": "6167", - "2a01:5c20::/35": "61419", - "2a07:76c0:1::/48": "42352", - "2606:a000:1800::/34": "11426", - "2607:fdf0:5fff::/32": "8008", - "2001:b08:15::/48": "3267", - "2001:df0:2cc::/48": "55909", - "240a:a278::/32": "143282", - "2620:149:ac1::/46": "714", - "2806:230:fff4::/44": "265594", - "2c0f:ffa8::/32": "37057", - "2620:89:c000::/48": "20099", - "2801:80:6d0::/48": "52750", - "2a01:5c00::/32": "201205", - "2001:df7:880::/48": "45325", - "2406:8800:60::/32": "17465", - "2606:2800:147::/44": "15133", - "2804:694:4900::/37": "262596", - "2a0d:2e00:1000::/48": "33932", - "2001:438:30::/44": "6461", - "240a:ae3f::/32": "146297", - "2800:160:113d::/41": "14259", - "2800:bf0:82d0::/48": "52257", - "2804:1b04:15::/48": "53048", - "2806:6::/28": "6503", - "2a00:fa80::/29": "203489", - "240a:aece::/32": "146440", - "2a00:dd60::/32": "60171", - "2402:800:7fe0::/32": "7552", - "240e:97d:4000::/34": "58543", - "2a04:9d40::/29": "13414", - "2c0f:f030::/34": "328137", - "2001:4998:15::/46": "10310", - "2803:9800:a907::/35": "11664", - "2402:800:7910::/42": "7552", - "2602:feb4:130::/44": "25961", - "2605:a680::/32": "174", - "2a03:efc0:900::/40": "33438", - "2001:67c:21bc::/48": "200533", - "2602:feb3::/47": "54116", - "2a0c:2f07:d::/48": "206924", - "2402:2900::/32": "45701", - "2406:5200::/32": "18067", - "240a:a5d7::/32": "144145", - "240a:ae02::/32": "146236", - "240a:ae89::/32": "146371", - "2001:678:6e4::/46": "202329", - "2409:8c1e:8fa0::/34": "9808", - "240e:3b2:2800::/38": "4134", - "240e:974:1200::/48": "38283", - "2408:8956:ab00::/40": "17816", - "2605:6c80:8000::/33": "40676", - "2607:f0b0:8::/32": "13319", - "2001:48c8:16::/47": "29791", - "2620:149:100::/41": "714", - "2a02:4dc0::/32": "25374", - "2001:14a0::/32": "15879", - "2001:4878:2000::/48": "12222", - "240a:ab88::/32": "145602", - "2a00:95a0::/32": "29425", - "2407:5040::/32": "134715", - "2001:559:8256::/48": "33651", - "2001:6d0:d6::/48": "43832", - "2001:16d8:baff::/39": "16150", - "2405:84c0:fa00::/40": "9886", - "2603:c0f8:2a10::/40": "20054", - "2610:a1:3010::/48": "12008", - "2605:3100:fffb::/45": "22906", - "2a0b:7240::/29": "43355", - "2a11:bc0::/48": "208085", - "2001:1a11:f8::/39": "42298", - "2604:5500:800::/42": "19165", - "2804:3680::/32": "266352", - "2a02:26f7:d80a::/42": "20940", - "2001:4d0:109::/34": "297", - "2401:4900:38e0::/43": "45609", - "2607:fcd0:fa80:7a01::/53": "8100", - "2804:145c:cc10::/39": "263327", - "2a03:d840::/32": "198668", - "2a0d:58c0::/29": "202932", - "2001:559:80fb::/48": "33660", - "2600:cc07::/28": "32298", - "2606:2980:2000::/40": "26344", - "2804:2d14::/32": "265260", - "2804:6728:2::/32": "269608", - "2409:8635::/24": "9808", - "240a:a3a1::/32": "143579", - "240e:473:8120::/41": "140486", - "2604:a880:800::/48": "14061", - "2620:114:b010::/48": "18440", - "2801:11a::/40": "269954", - "2a04:a1c0:22::/48": "39537", - "2408:8256:3d75::/48": "17816", - "2800:160:196f::/40": "14259", - "2a00:cb8:48::/47": "15695", - "2408:8256:3272::/48": "17816", - "240a:a5c7::/32": "144129", - "2602:808:a000::/48": "14618", - "2a11:3380::/29": "20565", - "2a01:8840:7a::/45": "12041", - "2a02:26f7:f308::/48": "36183", - "2a02:f0a0::/30": "25376", - "2c0f:f850:155::/32": "327979", - "2400:adc0:200::/48": "9541", - "2408:8459:b630::/41": "17622", - "240a:a609::/32": "144195", - "2600:1014:f010::/40": "22394", - "2806:310:d::/43": "16960", - "2a02:26f7:f488::/48": "36183", - "2001:df4:6c00::/48": "133802", - "2406:5140::/32": "135404", - "2409:8052:900::/37": "9808", - "2804:964::/32": "263080", - "2804:41b4::/33": "267451", - "2a00:1728:1d::/48": "44796", - "2406:2600:1::/45": "55569", - "2409:8915:5600::/39": "56044", - "2a00:8d80::/32": "15557", - "2a02:26f7:dbc4::/48": "36183", - "2a0e:8240::/29": "207902", - "2804:4bf4::/32": "267339", - "2001:559:8620::/47": "7922", - "2001:678:2ac::/48": "206763", - "2404:4980::/32": "132770", - "2406:3000:11:2006::/46": "4657", - "2607:fb10:503c::/48": "55095", - "2607:fdf0:5eac::/43": "8008", - "2804:14c:3d00::/40": "28573", - "2804:57f4::/37": "268097", - "2a00:79e1:f00::/47": "36384", - "2a02:26f7:2c::/48": "36183", - "2a04:4e40:4a00::/48": "54113", - "2a0e:f680::/29": "208613", - "2001:500:2d::/48": "10886", - "2402:8100:20c8::/47": "55644", - "2404:79c0:1002::/48": "138633", - "2600:6c39:23a::/37": "20115", - "2804:48c::/32": "262699", - "2a05:1602::/32": "207249", - "2001:678:f04::/48": "211646", - "2401:4900:52f0::/39": "45609", - "240a:adbf::/32": "146169", - "2600:1006:9140::/44": "6167", - "2804:2be0::/33": "262503", - "2804:43f4:c0::/32": "267601", - "2804:786c::/32": "271241", - "2404:d0::/44": "6648", - "2408:8957:6b00::/40": "17816", - "2620:72:4000::/48": "5050", - "2a00:4800:b0::/41": "13124", - "2a09:4c2:31::/48": "205642", - "2a09:9e40::/48": "44364", - "2408:8456:9e10::/42": "134543", - "2408:8956:f440::/40": "17622", - "2804:244c::/32": "264213", - "2001:559:3d6::/48": "33652", - "2403:6b80::/44": "2635", - "2600:100d:ff00::/44": "6167", - "2620:84:8000::/48": "26830", - "2a04:5201:6::/47": "200740", - "2001:559:4fe::/48": "7922", - "2800:2a0:9501::/33": "27947", - "2804:2140:100d::/43": "53059", - "2404:4e40:2::/32": "136429", - "2804:6c80::/32": "270472", - "2001:4878:8151::/48": "12222", - "2400:6280:6280::/48": "132280", - "2804:22dc::/32": "264127", - "2a01:4dc0::/43": "206618", - "2a04:4e40:2e00::/48": "54113", - "2a0f:6780::/29": "20766", - "2001:418:1401:21::/64": "20940", - "2a0d:b680::/29": "50304", - "2603:f7b0::/29": "396356", - "2607:fcc0:6000::/35": "32244", - "2803:96e0::/32": "269964", - "2804:663c::/32": "269535", - "2001:559:102::/48": "33287", - "240e:a52:6400::/31": "4134", - "2600:1406:f801::/38": "20940", - "2602:fdbf::/48": "397550", - "2604:41c0::/32": "14949", - "2400:cb00:a1c0::/45": "13335", - "2406:21c0::/32": "140429", - "2606:5d40::/32": "399440", - "2800:68:21::/46": "27947", - "2804:196c::/32": "61794", - "2a09:9180:ec00::/42": "42081", - "2a10:2ec1::/29": "208861", - "2401:3c00:d8::/45": "38322", - "2804:2938::/32": "264004", - "2a07:f246::/32": "46723", - "2001:559:c132::/48": "7922", - "2001:918:ff5e::/42": "3303", - "2402:a300:23e8::/48": "55427", - "2409:8915:2800::/40": "56044", - "2620:118:3000::/40": "46476", - "2001:678:68::/48": "199670", - "2607:fb10:2033::/45": "55095", - "2001:559:3ae::/48": "7922", - "240e:f:a000::/36": "4835", - "2001:5a0:4402::/48": "20940", - "2001:67c:27c::/48": "2494", - "240e:67a:1800::/32": "4134", - "2600:1410:2001::/35": "20940", - "2001:559:8098::/48": "7016", - "2402:7d80::/38": "63582", - "240a:a7fc::/32": "144694", - "2602:fd92:800::/40": "142418", - "2a0c:b641:170::/44": "211364", - "2400:cb00:f00e::/48": "13335", - "2408:8256:379f::/36": "17816", - "2600:1409:a001::/36": "20940", - "2001:559:86f7::/48": "7016", - "2001:4878:2204::/48": "12222", - "240a:a533::/32": "143981", - "2620:10d:2080::/48": "29384", - "2804:e94:160::/40": "262468", - "2804:6e44::/35": "270585", - "2806:2f0:1064::/43": "17072", - "2804:1344::/32": "263525", - "2806:3d8::/32": "270140", - "2a03:4b27:e000::/36": "200491", - "2408:8956:8600::/40": "17622", - "2409:8c15:4e00::/32": "56044", - "240a:af96::/32": "146640", - "2a01:8640:2::/48": "59711", - "2a04:b540:1000::/34": "42244", - "2a07:1c42::/48": "209673", - "240a:a1d4::/32": "143118", - "2605:a380::/32": "53828", - "2606:7d00::/32": "23248", - "2a04:4e42:fd4::/46": "54113", - "240a:a2d2::/32": "143372", - "2600:1404:24::/46": "35994", - "2600:140f:6801::/37": "20940", - "2a07:3b80:3::/48": "60781", - "2001:500:90::/48": "33517", - "2001:1b80::/29": "12912", - "2604:2d80::/40": "30036", - "2800:800:940::/48": "26611", - "2804:24bc::/32": "52695", - "2a02:26f7:f08d::/42": "20940", - "2400:1c00:66::/48": "45143", - "2402:8100:20e2::/45": "55644", - "240e:473:a150::/40": "4134", - "2804:5aa8::/32": "268787", - "2a00:dcc7:d000::/38": "34971", - "2402:9500::/36": "55720", - "240a:a956::/32": "145040", - "240e:44d:4200::/41": "140345", - "2804:e30:5e00::/39": "11338", - "2a0b:31c0:6::/37": "205726", - "2405:cdc0::/32": "131642", - "2600:380:1200::/36": "20057", - "2001:44b8:605d::/48": "4739", - "240a:a651::/32": "144267", - "240a:a95b::/32": "145045", - "2620:0:c80::/48": "1224", - "2402:800:9547::/43": "7552", - "240a:a6a7::/32": "144353", - "240a:adaf::/32": "146153", - "2605:a404:ba3::/41": "33363", - "2800:68:15::/48": "52343", - "2a02:26f7:c509::/42": "20940", - "2a0e:97c5:404::/46": "20473", - "2001:579:b114::/44": "22773", - "2600:1400:b001::/33": "20940", - "2a02:ac80:61::/43": "25145", - "2a0d:8700::/29": "3268", - "2001:253:141::/32": "38272", - "2001:559:c333::/48": "7015", - "2001:df0:1e:4001::/48": "38794", - "2001:1468::/32": "30738", - "2803:1740::/32": "36511", - "2804:5018::/32": "268369", - "2a02:d88::/32": "20552", - "2402:800:3b8d::/43": "7552", - "2403:7800::/32": "10010", - "2804:e60::/32": "61888", - "2a00:a4c0::/32": "57734", - "2a02:bf0:20::/44": "25106", - "2a0d:7f00::/29": "8560", - "2a04:ce00::/29": "21412", - "2a0e:e280::/29": "208740", - "2a03:f0c0::/32": "16253", - "2001:df5:c300::/48": "133876", - "2001:4b20:0:194::/44": "34288", - "2402:6940:207::/39": "7645", - "2606:b400:8820::/48": "7160", - "2804:28b4::/32": "263975", - "2a00:bc20::/32": "9186", - "2a01:56f::/48": "51603", - "2402:800:349b::/41": "7552", - "2620:94:e000::/48": "398915", - "2803:b9c0:8100::/40": "265705", - "2a00:13d1::/29": "42689", - "2001:678:6a8::/48": "39577", - "2610:20:5006::/48": "5744", - "2620:109:c00e::/48": "14413", - "2804:14c:bb85::/44": "28573", - "2804:2f60:200::/32": "264887", - "2a02:2698:9400::/38": "51819", - "2001:910::/32": "20766", - "2804:6278::/32": "269299", - "2a02:26f7:c786::/47": "20940", - "2a0d:c500::/29": "204888", - "2401:8140::/32": "133736", - "2604:15c0::/32": "40187", - "2604:b180:250::/44": "23277", - "2804:3728::/32": "266393", - "2a03:400::/32": "44922", - "2a04:d280::/29": "60164", - "2001:df1:1d00::/48": "136547", - "2001:4878:a048::/48": "12222", - "2401:d800:5d70::/40": "7552", - "2600:6c3a:19::/46": "20115", - "2800:1e0:1020::/46": "7195", - "2001:c20:c857::/34": "3758", - "2806:230:1002::/48": "265594", - "2a0d:5d80::/29": "200899", - "2a02:26f7:de48::/48": "36183", - "2001:559:85e4::/48": "7922", - "2401:d800:2fd0::/42": "7552", - "2401:d800:f1d0::/42": "7552", - "2409:8904:2ca0::/39": "24547", - "240a:a554::/32": "144014", - "2602:fcf6:106::/48": "210902", - "2a00:e740::/32": "21472", - "2605:1240::/33": "55222", - "2806:266:400::/41": "27672", - "2a01:8840:56::/44": "12041", - "2600:1010:bf0e::/33": "22394", - "2804:110c::/32": "52700", - "2001:df7:2e00::/48": "133966", - "2604:d800:1001::/48": "3713", - "2a02:26f7:f209::/42": "20940", - "2a02:6723::/32": "208668", - "2a09:7c44::/32": "43624", - "2001:df7:6a00::/48": "132136", - "2804:8114::/32": "272430", - "2a02:26f7:cf8d::/42": "20940", - "2402:800:9b39::/41": "7552", - "240d:c010:54::/48": "139341", - "240e:95a:3000::/36": "140083", - "2602:feb4:290::/44": "25961", - "2604:8d80::/32": "13427", - "2a04:cec0:1300::/40": "25117", - "2a0c:e303::/32": "211882", - "240a:afad::/32": "146663", - "240e:438:a820::/43": "140647", - "240e:60c:7000::/32": "4134", - "2602:feda:ab4::/47": "141011", - "2804:93c:8101::/36": "52878", - "2a02:26f0:ec00::/48": "34164", - "2a06:5680::/29": "210947", - "2001:678:878::/48": "48152", - "2606:6680:27::/44": "33387", - "2620:62:400c::/46": "30045", - "2605:f4c0::/32": "398717", - "2801:80:36d0::/48": "269216", - "2a04:c880::/32": "208189", - "2a0c:b641:480::/48": "208020", - "2001:4878:c259::/48": "2856", - "2402:800:3463::/43": "7552", - "2001:67c:774::/48": "64424", - "2400:c540:d000::/34": "59238", - "2a0b:7080:10::/44": "7489", - "2001:559:512::/48": "7922", - "240a:a47f::/32": "143801", - "2804:2ffc::/32": "264924", - "2a02:f8::/32": "28929", - "2a03:1900::/29": "47623", - "2a06:98c0:3605::/46": "202623", - "2409:8069:2a08::/39": "9808", - "2a0f:607:1002::/48": "209557", - "2001:67c:1984::/48": "3303", - "240a:a8fd::/32": "144951", - "2600:1404:b800::/48": "35994", - "2620:12f:2040::/42": "32726", - "2800:3b0:1001::/48": "6429", - "2806:102e:20::/48": "8151", - "2a07:3c80:600::/40": "209322", - "2409:8948:8d00::/40": "24445", - "2409:8f50::/30": "56047", - "2600:1008:b000::/42": "6167", - "2a0e:46c6:300::/40": "207955", - "2001:559:c1f0::/48": "33657", - "2409:805f:1100::/36": "9808", - "2800:bf0:8148::/43": "27947", - "2804:3b4c::/32": "266140", - "2806:2f0:2424::/43": "22884", - "2a02:c200::/47": "51167", - "2001:559:8196::/48": "20214", - "2401:d800:9780::/42": "7552", - "240e:980:8c00::/40": "4134", - "2620:e:c000::/48": "210", - "2804:b:c001::/45": "14840", - "2804:57b4::/32": "268081", - "2a03:d480::/32": "42455", - "2001:579:70b5::/39": "22773", - "2409:8078:2c00::/30": "9808", - "240a:a442::/32": "143740", - "2605:6f80:ffff::/48": "53340", - "2620:116:f004::/40": "14157", - "2a02:26f7:c205::/46": "20940", - "2403:ae00::/32": "38766", - "240e:356:6400::/31": "4134", - "2600:1408:5c01::/38": "20940", - "2a02:29d8::/32": "43509", - "2803:840:2300::/47": "263793", - "2a02:26f7:de09::/46": "20940", - "2a0d:2406:babe::/48": "49133", - "2408:8957:c00::/40": "17622", - "240e:44d:7b00::/41": "140345", - "2607:f900::/32": "10823", - "2806:108e:8::/43": "8151", - "2a02:26f7:60::/48": "36183", - "2a02:26f7:f9c0::/48": "36183", - "2a0f:9400:8018::/48": "213316", - "240e:56:c000::/37": "38283", - "2804:25ac::/32": "264294", - "2a09:be40:3100::/40": "213167", - "240a:a269::/32": "143267", - "2a03:2887:ff0c::/48": "8966", - "2a0c:2540::/29": "34820", - "2402:bb00::/32": "23627", - "2409:8c85:2022::/32": "9808", - "240e:980:9500::/40": "58563", - "2800:bf0:140::/44": "52257", - "2a00:f28:21::/35": "15802", - "2001:559:28d::/48": "7725", - "240e:473:7b50::/40": "4134", - "2607:f608::/32": "7412", - "2804:2488:9000::/33": "264228", - "2800:160:1162::/47": "14259", - "2606:a80::/32": "12212", - "2620:11a:c018::/48": "54113", - "2800:160:1db0::/41": "14259", - "2806:2f0:3281::/46": "17072", - "2a0e:46c6:4ff::/48": "209771", - "240a:ae15::/32": "146255", - "2603:c020:4000::/35": "31898", - "2607:fae0:f001::/48": "203993", - "2a00:1e6a:78::/47": "44303", - "2a00:bb40::/32": "3257", - "2001:559:821c::/48": "7922", - "2400:d400:5648::/48": "45671", - "240a:af1c::/32": "146518", - "240e:473:3400::/41": "140485", - "2620:13f:3000::/43": "46842", - "2001:559:82ca::/48": "7922", - "2600:140f:2c01::/38": "20940", - "2001:559:c18d::/48": "33651", - "2409:8050::/47": "56047", - "2001:67c:22f4::/48": "200490", - "240e:473:3150::/40": "4134", - "2a01:cde0:8010::/48": "16028", - "2400:7400:e02c::/48": "38044", - "2600:40ff:fc10::/45": "1321", - "2a0c:b641:2b0::/48": "212625", - "2001:559:5d6::/47": "7922", - "2401:d800:9bf0::/37": "7552", - "2604:6840:ac19::/48": "20446", - "2804:72a0::/32": "270865", - "2406:840:80::/47": "139317", - "2605:2b40::/34": "40763", - "2804:4580:1100::/32": "266931", - "2a02:2e02:cc0::/42": "12479", - "2404:4a00:5543::/36": "45629", - "2600:6c38:a9f::/42": "20115", - "2605:7900:21::/48": "63442", - "2620:1d9::/40": "20164", - "2600:1419:6c00::/48": "35994", - "2001:678:ec::/48": "197467", - "2402:800:3801::/44": "7552", - "2602:fd45::/36": "398419", - "2a02:26f7:e705::/46": "20940", - "2a0f:d780::/32": "44213", - "2001:c20:c832::/45": "3758", - "2602:fc6a::/48": "399747", - "2606:2b40::/32": "401308", - "2a00:1d48::/32": "12571", - "2a00:e4a0:200:100::/56": "49952", - "2a06:e881:113::/48": "205816", - "2a07:3501:1030::/48": "15542", - "2001:550:3205::/37": "174", - "2001:67c:728::/48": "198837", - "2408:8459:8210::/42": "17623", - "2603:c002:8b30::/37": "31898", - "2a07:a040::/29": "49542", - "2001:559:4a1::/48": "33659", - "2001:4010::/32": "44444", - "240a:acb3::/32": "145901", - "2600:1400:c001::/35": "20940", - "2804:500c::/32": "268366", - "2a0c:b641:6e2::/47": "213201", - "2c0f:fc90::/35": "16284", - "2001:67c:13f0::/48": "58042", - "240a:a451::/32": "143755", - "2600:380:8b80::/37": "20057", - "2804:14d:8483::/41": "28573", - "2c0f:ead8::/32": "37463", - "2804:f6c::/34": "263585", - "2806:230:201a::/48": "265594", - "2a02:7080:3000::/36": "48024", - "2001:dcc:5::/48": "23596", - "2001:df5:cf00::/48": "137964", - "2400:9380:9260::/47": "4809", - "2404:1c40:4::/48": "24432", - "2606:8f00::/32": "18712", - "2804:17cc:8900::/33": "263252", - "2a0b:ed80::/29": "206324", - "2409:802f:2905::/48": "9808", - "2806:2f0:1284::/43": "17072", - "2a0e:2e40::/29": "52193", - "240e:438:aa40::/37": "4134", - "2800:160:1e38::/47": "14259", - "2a00:d560::/29": "15600", - "2a02:26f7:c34c::/48": "36183", - "2a0c:c7c0::/29": "202424", - "2001:559:81d9::/46": "7015", - "2409:8904:34a0::/39": "24547", - "2600:1003:9450::/36": "22394", - "2804:5bc0:c000::/34": "268867", - "2a04:4100::/29": "31712", - "2001:b00::/29": "12874", - "2402:9e80:20::/47": "49745", - "2600:140a:6001::/32": "20940", - "2604:1380:4590::/44": "54825", - "2a00:1728:1a::/47": "34224", - "2a03:8f00::/29": "49621", - "2001:4878:c164::/48": "12222", - "2806:2f0:9361::/40": "17072", - "2001:c20:8800::/34": "3758", - "2600:400:3a10::/37": "15147", - "2a00:1288:ef6a::/48": "34010", - "2a0f:5707:b0c9::/46": "212895", - "2001:df1:2000::/48": "9268", - "2402:800:3d1d::/42": "7552", - "2404:6d00::/32": "45294", - "2a01:81e0:3::/32": "174", - "2600:6c38:8f::/43": "20115", - "2620:104:8000::/40": "3807", - "2a02:28:8::/45": "8359", - "2001:4190:8025::/33": "5588", - "2402:9900:100::/47": "27435", - "2404:3800:8::/46": "45459", - "2800:160:18d4::/44": "14259", - "2a03:3060::/29": "48635", - "2001:1248:9a6c::/43": "11172", - "2403:a040:6611::/48": "38047", - "240a:acc2::/32": "145916", - "2620:100:6036::/41": "19679", - "2804:c60::/32": "52696", - "240a:a9ac::/32": "145126", - "2a05:cec0::/29": "47487", - "2406:e1c0:6::/36": "141459", - "2600:9000:210d::/42": "16509", - "2a0d:f300::/32": "50673", - "2a11:3e00::/29": "42375", - "2001:559:c129::/48": "33657", - "2402:800:331d::/42": "7552", - "2404:34c0:3::/32": "138536", - "240e:1a:20::/43": "23650", - "2804:403c::/32": "265946", - "2a01:5da0::/32": "15397", - "2a0d:e640::/29": "210017", - "2620:129:100f::/48": "13536", - "2804:69b4::/32": "270286", - "2a09:7340::/32": "198985", - "2a09:f540::/32": "202376", - "2a0e:9900::/29": "56598", - "2001:978:3c05::/44": "174", - "2001:4de0:4202::/47": "11588", - "2806:230:402c::/48": "265594", - "240e:473:4d20::/41": "140486", - "2600:1406:3e01::/33": "20940", - "2600:1fa0:5080::/44": "16509", - "2804:3e34::/32": "266580", - "2804:6bd8:1c00::/38": "270429", - "2a04:4740:6293::/48": "25468", - "2400:cb00:a620::/46": "13335", - "2804:6040::/32": "269155", - "2404:e6:200::/42": "703", - "2409:8904:ab40::/33": "24547", - "240a:a285::/32": "143295", - "2a03:401:1::/48": "208258", - "2a03:2560::/32": "8982", - "2a03:7380:2fc0::/35": "13188", - "2a0e:8300::/29": "43415", - "2804:dd4:4100::/32": "53024", - "2a09:1980::/29": "209810", - "2402:6940:1202::/37": "7645", - "2620:78:a000::/48": "397990", - "2800:160:1e6b::/43": "14259", - "2a04:34c0::/29": "47156", - "2a06:8a00::/32": "12307", - "2001:559:5d2::/48": "7015", - "2404:7a40:1002::/48": "132556", - "2408:8956:1b40::/40": "17816", - "2804:14c:9bfa::/45": "28573", - "2a07:9b40::/48": "202698", - "2001:559:c21a::/47": "33659", - "2001:67c:2fe0::/48": "39381", - "2408:8459:9630::/41": "17622", - "2620:149:a32::/40": "714", - "2804:2164:4100::/32": "264552", - "2804:22c0:4000::/32": "264120", - "2a0d:9983::/32": "9009", - "2001:14b0::/41": "12374", - "2403:6e40:200::/44": "9830", - "2a0d:95c0::/29": "42375", - "2001:253:125::/48": "142091", - "2408:84f3:f850::/44": "17816", - "2a00:dc8::/32": "39637", - "2a02:26f7:b5c1::/46": "20940", - "2a06:a0c0::/29": "43016", - "2a10:2f00:157::/48": "212425", - "2a01:7d20:1000::/40": "203645", - "2a02:26f7:ee88::/48": "36183", - "2404:f4c0:f984::/48": "211876", - "2a0c:ab07:2000::/36": "208861", - "2001:500:7::/48": "40490", - "2001:4b20:20::/63": "65505", - "2408:882c::/32": "4837", - "2605:a404:77::/40": "33363", - "2001:559:8301::/48": "7015", - "2001:938::/33": "8437", - "2a07:7bc0::/29": "202882", - "2603:c0f8:2800::/43": "20054", - "2402:e280:2157::/44": "134674", - "2804:24dc::/32": "264245", - "2a04:1cc0::/31": "202916", - "2a04:ae00::/26": "39651", - "2a0a:4787::/32": "59504", - "2001:67c:2c80::/48": "198217", - "2409:8052:2000::/47": "56047", - "2803:5c80:6054::/44": "64114", - "2803:7300::/32": "262150", - "2804:27e4::/32": "263927", - "2804:790c::/32": "52602", - "2a0e:bf00::/39": "202539", - "2001:559:5da::/47": "21508", - "2620:101:80f8::/48": "395622", - "2a02:26f7:2e::/48": "36183", - "2a0d:7fc0::/29": "211748", - "2600:6c38:abd::/46": "20115", - "2620:cc:8000::/48": "3685", - "2001:559:38f::/48": "33654", - "2406:e400:deee::/34": "7642", - "2407:8100:2::/48": "134079", - "2409:8700::/31": "56048", - "240e:438:4a40::/37": "4134", - "2a02:26f7:f041::/46": "20940", - "2607:6100:100a::/48": "23026", - "2a04:4e40:f400::/48": "54113", - "2a09:aac0::/29": "209289", - "2001:559:1a2::/48": "33652", - "2001:67c:1544::/48": "3301", - "2403:3800:701::/36": "4007", - "240a:a16e::/32": "143016", - "240a:a928::/32": "144994", - "240e:44d:c00::/41": "140345", - "2a0f:2040::/29": "60262", - "2001:4c8:1096::/44": "15290", - "2001:678:bc0::/48": "41064", - "2404:5bc0::/32": "138596", - "240a:ab83::/32": "145597", - "2804:4544:8000::/40": "266915", - "2408:840c:a900::/40": "17621", - "240a:adb5::/32": "146159", - "2a02:26f0:5c01::/39": "20940", - "2a02:5ba0::/32": "203354", - "2001:fb1:fd1::/42": "17552", - "2607:fb10:2013::/48": "2906", - "2804:4778::/32": "267056", - "2a02:21e0::/32": "44700", - "240a:a948::/32": "145026", - "2a03:94e0::/32": "56655", - "2a0f:ba80::/29": "50629", - "2001:1900:2263::/48": "27205", - "2400:d400:1008::/48": "45671", - "2401:d800:2980::/42": "7552", - "2804:1718::/32": "263121", - "2605:4000::/32": "2722", - "2001:559:1e8::/48": "33659", - "2001:559:8512::/48": "7922", - "2400:c540:c345::/37": "59238", - "2409:8915:9600::/30": "56044", - "2602:fe43::/36": "397005", - "2602:ffe0::/36": "27337", - "2604:81c0::/39": "396422", - "2607:fcd0:fa80:9300::/53": "8100", - "2804:5918:2000::/33": "268169", - "2a04:5201:1::/48": "204154", - "2c0f:fb90::/32": "42235", - "240e:978:3100::/36": "4134", - "2804:4f8:e000::/36": "28263", - "2a02:28:6::/48": "8359", - "2a11:e487:beef::/48": "212580", - "2001:67c:2a00::/48": "57381", - "2404:5c80::/47": "59261", - "2405:2500:11::/48": "136566", - "2804:7b10::/32": "271408", - "2a02:e00:ffea::/43": "29141", - "2a0c:2f07:384::/48": "206924", - "2001:559:c306::/48": "33662", - "2001:df0:7600::/48": "133281", - "2001:fa0::/32": "2515", - "2408:8459:8010::/42": "17623", - "2604:d600:622::/45": "32098", - "2803:1400::/32": "27887", - "2804:204:20e::/47": "28186", - "2001:fd8:f1b0::/44": "4775", - "2804:5bc::/32": "28658", - "2804:1a04::/45": "61832", - "2408:8256:3c80::/48": "17816", - "2a00:1c39::/32": "29014", - "2607:f380:a4f::/48": "32361", - "2a01:3f7:2::/45": "57021", - "2400:adc0:c110::/47": "9541", - "2402:1c80:fc::/48": "19054", - "2408:844b::/29": "4837", - "240a:a64a::/32": "144260", - "240a:a755::/32": "144527", - "2806:265:5300::/37": "28481", - "2a10:5640::/32": "211690", - "2402:9d80:900::/46": "131429", - "2408:8456:dc40::/38": "17816", - "2620:131:5000::/40": "395468", - "2804:1368::/32": "262808", - "2806:2f0:2041::/46": "22884", - "2a02:6d00::/32": "44053", - "2a0f:c340::/29": "34487", - "2c0f:efe0::/32": "328366", - "2001:fb1:fc1::/43": "17552", - "2402:d000:1061::/45": "9329", - "2804:7210:100::/48": "270830", - "2a03:7380::/37": "13188", - "2001:67c:2dfc::/48": "48004", - "2001:1878:600::/39": "226", - "2001:49f0:2920::/48": "174", - "2400:f780::/32": "3257", - "2408:8056::/32": "4837", - "2804:46b0::/32": "267005", - "2a00:11c0:39::/48": "42473", - "2620:9:a005::/48": "395515", - "2804:21b0::/32": "264567", - "2a05:d050:4040::/44": "16509", - "2a0a:f6c0::/29": "42218", - "2400:9940:1003::/34": "136224", - "2a05:d050:1080::/44": "16509", - "2408:8957:6100::/40": "17816", - "2602:fe12:20::/48": "62707", - "2804:52bc::/32": "268538", - "2a02:26f7:f241::/46": "20940", - "2a09:800::/29": "209975", - "2001:16a2:8000::/43": "25019", - "240e:3b2:5600::/34": "136199", - "240a:a40d::/32": "143687", - "240e:438:7620::/43": "140647", - "240e:44d:900::/41": "140345", - "2607:ff38::/46": "22937", - "2804:ac8:100::/47": "262672", - "2a0e:b107:1560::/45": "209209", - "240a:a27c::/32": "143286", - "2604:d600:122d::/43": "32098", - "2a02:1660::/32": "35132", - "2a02:26f7:ef41::/46": "20940", - "2401:ff80:1801::/45": "133954", - "2403:ad80:98::/42": "134835", - "2610:a1:1002::/48": "397218", - "240e:473:2f50::/40": "4134", - "2a00:c88::/32": "15474", - "2402:800:9371::/40": "7552", - "2800:160:1ea8::/45": "14259", - "2a00:e120::/32": "20860", - "2a02:26f7:decc::/48": "36183", - "2001:67c:2e20::/48": "12945", - "2602:fd59:10::/48": "25773", - "2a01:5ec0:5000::/36": "44244", - "2a02:26f7:dbc1::/46": "20940", - "240a:a3f0::/32": "143658", - "2804:5460::/32": "268646", - "2402:3a80:c000::/44": "38266", - "2409:8057:805::/34": "56040", - "2620:92::/44": "1970", - "2001:4998:ef71::/40": "10310", - "2408:8459:c50::/38": "17816", - "240d:c010:18::/47": "132203", - "2604:d600:677::/44": "32098", - "2806:230:4039::/48": "11888", - "2a0b:6b84:1338::/32": "200639", - "240a:a37c::/32": "143542", - "240e:3b9:d000::/36": "134772", - "2804:4210::/35": "267475", - "2a00:5540::/33": "50763", - "240a:ad74::/32": "146094", - "2a0f:c587::/32": "208861", - "2001:559:234::/47": "7016", - "2001:559:85b3::/48": "7015", - "2600:1406:c401::/36": "20940", - "2605:dd40:8990::/44": "16509", - "2804:420c::/32": "267474", - "2a0e:fd45:da4::/48": "206064", - "2001:470:dd::/48": "397787", - "2001:fd8:124::/46": "132199", - "240a:ad20::/32": "146010", - "240e:5f:600f::/48": "134774", - "240e:67b:8800::/38": "140330", - "2804:4764::/32": "267051", - "2a02:4840:101::/48": "203557", - "2408:8256:2d7b::/48": "17816", - "240e:1e:7000::/32": "4134", - "2803:1500::/32": "27800", - "2a02:26f7:be89::/42": "20940", - "2001:1248:8429::/45": "11172", - "2001:44c8:4020::/40": "45430", - "2408:8957:3800::/40": "17622", - "2400:8f80::/47": "45638", - "2405:1500:b1::/32": "58717", - "2804:3c10::/32": "266188", - "2a02:26f7:e344::/48": "36183", - "2a0d:e940:b000::/36": "35507", - "2a02:968::/32": "12859", - "2001:1840:c060::/44": "196", - "2409:801e:3009::/45": "9808", - "2607:a300::/32": "36222", - "2620:c4::/48": "88", - "2620:119:76::/48": "36692", - "2804:4dc:fe01::/39": "262474", - "2804:6f00::/32": "270632", - "240a:a390::/32": "143562", - "2806:2f4:1200::/40": "265540", - "2a0c:b641:10::/48": "205523", - "2401:d800:7d50::/42": "7552", - "2409:8080:2ae0::/35": "9808", - "240a:aa2e::/32": "145256", - "2804:97c::/32": "263092", - "2804:5f7c::/32": "269103", - "2a0c:e340:2::/32": "30150", - "2804:4e24::/32": "268242", - "2a00:a140::/32": "34686", - "2a02:26f7:b805::/46": "20940", - "2a0e:5f40::/29": "41529", - "2402:bfc0:10::/32": "136361", - "2804:d7c:1001::/40": "52634", - "2a02:26f7:da48::/48": "36183", - "2001:df0:99::/48": "45304", - "240e:44d:6a00::/41": "140345", - "2600:5c00:3afe::/48": "11351", - "2a01:4240::/32": "31246", - "2a03:c980:d990::/48": "210079", - "2a0d:3842:1070::/48": "57629", - "2001:ec0:c00::/40": "131293", - "2405:6680::/32": "135425", - "240a:a5ea::/32": "144164", - "2607:f518:17e::/35": "46887", - "2806:2f0:42a0::/41": "17072", - "2a00:cd0:104f::/32": "48173", - "2a0d:d484::/30": "39458", - "2001:4888:801e::/47": "6167", - "2408:8456:9a40::/37": "17816", - "2409:8080:2ab0::/41": "9808", - "2804:2f24::/32": "264874", - "2804:77f8::/32": "271211", - "2803:69e0::/32": "270015", - "2600:6c7f:90e0::/48": "20115", - "2605:b400:600::/32": "25956", - "2620:1d0:5a::/48": "397228", - "2a0e:b107:dd0::/44": "212508", - "2405:1c0:6a13::/42": "55303", - "2804:3078::/32": "264953", - "2a0d:4500::/29": "205119", - "2001:559:80f1::/48": "33287", - "2804:5a98::/32": "262439", - "2a02:587:8500::/33": "6799", - "2001:4dd0::/29": "8422", - "2401:ff80:1193::/38": "133954", - "240a:a625::/32": "144223", - "2804:734::/33": "262624", - "2a03:2880:f220::/47": "32934", - "2600:1419:6401::/36": "20940", - "2610:1e8::/32": "11814", - "2a01:664:2::/38": "48951", - "2a06:62c0:51::/40": "204138", - "240b::/26": "2516", - "2a02:26f7:ce41::/46": "20940", - "2001:559:3b5::/48": "33651", - "2001:67c:1b58::/47": "35559", - "2402:ef03:100::/34": "7633", - "2a04:6040::/31": "49229", - "2001:4430:41e8::/36": "17853", - "2404:e740::/46": "139195", - "240a:a8e0::/32": "144922", - "2403:5000:172::/40": "9304", - "2620:110:7000::/44": "13880", - "2804:e0c:280::/48": "28176", - "2a06:5740::/29": "203020", - "2a09:7:2004::/48": "35537", - "240e:3ba:ec00::/35": "140314", - "2001:67c:11c0::/48": "206082", - "2404:1800::/32": "17705", - "240a:aafa::/32": "145460", - "2a0d:8d06:1002::/48": "48079", - "2a0f:a302:500::/40": "64457", - "240a:a7fe::/32": "144696", - "2804:1ca0:ff05::/48": "61666", - "2a02:2b88::/32": "197019", - "2a02:af40::/29": "60187", - "2001:500:124::/48": "396549", - "2405:e40:3::/48": "138506", - "2409:8904:8a90::/39": "24547", - "2600:1402:4000::/48": "35994", - "2001:559:867b::/45": "7922", - "2801:16:800::/48": "19429", - "2a02:26f7:f201::/46": "20940", - "2001:41d0::/32": "16276", - "240a:ae71::/32": "146347", - "2804:14d:8c81::/41": "28573", - "2a04:e802::/43": "57976", - "2001:c20:4876::/47": "3758", - "240e:f7:c000::/35": "134771", - "2804:1b1c::/32": "61709", - "2a02:26f7:e604::/48": "36183", - "2a0e:fd45:bef::/37": "44103", - "240a:a7cc::/32": "144646", - "2803:e4e0::/32": "269890", - "2804:0:5c01::/34": "2716", - "2806:230:101a::/48": "265594", - "2806:2f0:2121::/46": "22884", - "2a0a:b980::/32": "203604", - "2a0e:4000::/40": "42993", - "2001:67c:19c0::/48": "48778", - "2001:fb0:1003::/44": "7470", - "2400:9380:9cc0::/44": "136167", - "240e:108:11e1::/48": "134764", - "240e:473:ff02::/40": "4134", - "2605:c680::/32": "63251", - "2804:1054::/32": "53135", - "2001:559:c153::/48": "7922", - "2605:f500:602::/32": "1828", - "2607:f108:e00::/33": "29838", - "2a02:d10::/32": "9050", - "2a0a:7d80:1000::/36": "56740", - "2402:800:5b71::/44": "7552", - "2a02:7d8:e10::/32": "3302", - "2a02:26f7:df49::/46": "20940", - "2600:1480:4800::/48": "21342", - "2800:160:1b37::/44": "14259", - "2800:370:4c::/43": "28006", - "2a07:9944:1b::/45": "40676", - "2001:559:8317::/44": "7922", - "240e:44d:5680::/41": "4134", - "240e:473:6a50::/39": "4134", - "2801:140::/45": "262249", - "2a02:26f7:8e::/48": "36183", - "2c0f:fe28:e::/48": "36951", - "2408:8459:de30::/41": "17622", - "2604:db40::/32": "30382", - "2a0a:86c0::/44": "206163", - "2400:89c0:3010::/44": "37936", - "2408:8459:3620::/44": "17816", - "2804:3f0c::/38": "266636", - "2804:6404::/32": "269398", - "2a02:1211::/28": "3303", - "2a0e:b107:19f::/48": "209506", - "2001:559:87d4::/48": "33661", - "2a02:501::/32": "29345", - "240a:ab8f::/32": "145609", - "2600:1403:b401::/36": "20940", - "2804:1398:8000::/33": "263541", - "2402:3500::/32": "45177", - "2804:6b4::/32": "53224", - "2804:76c::/32": "262648", - "2a03:19c0::/32": "204141", - "2a04:2d00::/48": "56647", - "2a0f:c600::/29": "208262", - "2405:1c0:6731::/45": "135062", - "2804:171c::/32": "263124", - "2804:18a8::/32": "262502", - "2804:4218:3100::/32": "267477", - "2a0a:c5c0::/29": "29423", - "2408:8456:1440::/39": "17816", - "2605:b100:e000::/41": "577", - "2605:b200::/32": "26097", - "2a02:26f7:da04::/48": "36183", - "2a09:7100::/29": "20676", - "2402:800:3ac5::/43": "7552", - "240a:ae67::/32": "146337", - "2607:f480:9900::/40": "27435", - "2a09:2e80::/29": "199486", - "2a09:4e06::/31": "208861", - "2a07:5fc0::/29": "209621", - "2401:ff80:1c0d::/46": "133954", - "240a:a19a::/32": "143060", - "240a:a5fa::/32": "144180", - "2607:f330:5fa1::/48": "15130", - "2801:140:dddd::/48": "265731", - "2801:172::/48": "14080", - "2a00:fb80::/48": "48918", - "2a0b:f040::/32": "205033", - "2404:4a00:6a00::/64": "55423", - "2404:d680::/32": "132111", - "2409:8087:1400::/38": "56044", - "2800:560::/32": "27833", - "2806:370:6110::/40": "28403", - "2a07:1980:13::/48": "25773", - "2001:678:9c::/48": "57801", - "2401:3c0:10f::/43": "45528", - "2407:1400:2::/45": "23752", - "2c0f:ea58::/32": "328537", - "2001:1248:847d::/40": "11172", - "2804:10b0::/32": "28175", - "2a03:f80:373::/48": "43289", - "2a04:c900:1000::/36": "48096", - "2402:1980::/32": "4818", - "2c0f:f528:40::/45": "327782", - "2401:ff80:1c09::/45": "133954", - "2409:8052:1002::/40": "56047", - "2602:fdca::/36": "397709", - "2a02:20c8:2331::/37": "50304", - "2a02:26f7:b850::/48": "36183", - "2a03:6a00::/29": "6908", - "2a07:1c44:7014::/48": "137410", - "2001:559:4bb::/48": "33657", - "2001:44b8:4078::/40": "4739", - "2400:dc00:4100::/46": "131111", - "2607:ba80::/32": "394666", - "2804:24d8::/32": "264244", - "2804:5f90::/32": "269109", - "2804:612c:c000::/34": "269218", - "2001:78d::/30": "6893", - "2600:1004:9110::/36": "22394", - "2a02:26f7:b881::/46": "20940", - "2001:559:8238::/48": "33657", - "2403:6200:7602::/48": "138685", - "2a02:26f7:bd45::/46": "20940", - "2a02:ac87:5901::/40": "25145", - "2a03:3a00::/31": "49931", - "2001:559:83c3::/48": "33287", - "2001:1248:57cf::/43": "11172", - "2409:8028:2a00::/40": "9808", - "2803:9800:9507::/41": "11664", - "2a02:26f7:d::/48": "20940", - "2a0a:fc40::/29": "29075", - "2600:1008::/43": "6167", - "2804:3b34:7100::/32": "266135", - "2a02:54e0::/29": "50606", - "2001:67c:182c::/48": "47667", - "2401:1f80:10::/44": "29990", - "2404:7e00::/32": "38493", - "2405:6d00:105::/32": "17887", - "2600:1488:a521::/35": "20940", - "2604:2d80:880b::/40": "30036", - "2409:8087:3009::/45": "9808", - "240a:a0bf::/32": "142841", - "2600:370f:5060::/47": "32261", - "2804:8c0::/32": "262391", - "2a00:1a58::/32": "20904", - "2a03:a9c0::/29": "41709", - "2a06:e2c0::/29": "56697", - "2001:559:c341::/48": "7015", - "2001:8b8::/29": "1759", - "2405:1c0:6717::/42": "55303", - "2604:d600:c0a::/47": "32098", - "2400:8500:4800::/48": "58649", - "2402:cd00::/32": "45942", - "2408:8459:8830::/41": "17622", - "2409:8b54::/28": "56040", - "2600:8808:1a00::/34": "22773", - "240a:a4ec::/32": "143910", - "2604:2d00::/36": "64236", - "2804:224c::/32": "262769", - "2001:559:86c3::/48": "33659", - "2001:1a68:1b::/42": "15694", - "2400:c700:1184::/38": "55644", - "2600:5c01:10df::/36": "10796", - "2804:52b8::/32": "268537", - "2a02:7800::/32": "15582", - "2a0e:fd45:2b00::/44": "211562", - "2409:807c:3100::/36": "9808", - "2804:7468::/32": "270979", - "2a10:7c40::/29": "212751", - "2600:141c:4001::/36": "20940", - "2804:23f4::/32": "264193", - "2804:62d0::/32": "269320", - "2a01:bc00::/29": "43406", - "2407:4e00:1:1::/62": "17995", - "2409:8a53:b00::/37": "56047", - "2800:98:1810::/32": "14754", - "2804:7918::/32": "271284", - "2408:860c::/30": "17621", - "240a:a75d::/32": "144535", - "2620:103:e049::/48": "16711", - "2400:a980:f00::/40": "133111", - "2600:1406:e001::/37": "20940", - "2600:6c62::/29": "20115", - "2610:128:1300::/34": "11686", - "2800:8a0:b000::/36": "5722", - "2804:3d50::/32": "266267", - "2a0e:fd45:2b10::/47": "52112", - "2402:e380:30d::/48": "138558", - "2408:8726::/32": "4837", - "2409:8004:3116::/36": "24547", - "240a:a5e6::/32": "144160", - "2607:f790::/32": "12129", - "2a09:bac0:411::/46": "13335", - "2a0e:b105:488::/46": "20473", - "2001:df3:ba00::/48": "134808", - "2600:14c0:6::/44": "21342", - "2620:46:2000::/48": "13535", - "2a04:cdc0::/29": "201661", - "2a0f:5707:ab23::/48": "48646", - "2001:678:6b8::/48": "209869", - "2600:1016:b0e0::/39": "6167", - "2a00:b0e0::/32": "34282", - "2001:559:8204::/48": "7015", - "2401:d800:2b90::/42": "7552", - "2001:579:b80c::/41": "22773", - "2401:d800:bbb0::/41": "7552", - "240e:473:a800::/41": "140485", - "2804:3034:181::/38": "264936", - "2804:4bc4::/32": "267328", - "2a00:c3a0::/32": "51349", - "2a03:5d00::/30": "29399", - "2401:3400:1000::/33": "45352", - "2402:800:7b50::/42": "7552", - "240e:982:8200::/40": "133776", - "2600:1406:401::/39": "20940", - "2a02:26f7:dec1::/46": "20940", - "2001:448a:2070::/40": "7713", - "2409:8904:cba0::/37": "24547", - "240a:a407::/32": "143681", - "240e:108:11c1::/48": "38283", - "2800:160:1b42::/43": "14259", - "2a00:e20:144::/31": "25048", - "2001:db0:5000::/34": "17766", - "2001:4940::/34": "21547", - "2001:4c21::/32": "60610", - "240a:a96b::/32": "145061", - "2001:559:8422::/48": "22909", - "2001:559:8442::/48": "7922", - "2803:cd80:8000::/33": "61478", - "2804:2be4::/32": "263004", - "2a09:b280:ffb0::/46": "210025", - "2001:559:852a::/48": "7015", - "2001:678:790::/48": "201292", - "2001:df1:3e00::/48": "134868", - "2402:800:5bee::/37": "7552", - "240e:a52:5c00::/34": "134419", - "2602:fd2d::/36": "398567", - "2620:107:6000:1601::/44": "6462", - "2401:d800:5e90::/42": "7552", - "2a02:26f7:f001::/46": "20940", - "2a06:1e82::/47": "207480", - "2001:4260:5800::/38": "16637", - "2405:8a00:200b::/42": "55824", - "2603:c0e8:2800::/39": "1218", - "2a04:4e40:8000::/48": "54113", - "2a05:f4c0::/29": "203020", - "2620:126:5040::/47": "27632", - "2a02:6f20::/32": "15598", - "2001:559:474::/48": "33491", - "2001:559:5c9::/48": "7922", - "2001:44b8:2065::/48": "4739", - "2409:8904:4960::/38": "24547", - "240a:a71f::/32": "144473", - "2a00:f440::/44": "48347", - "2a02:26f7:d4::/48": "36183", - "2001:559:749::/46": "7922", - "2001:44b8:309d::/46": "7545", - "2600:6c38:408::/43": "20115", - "2606:3280::/32": "20298", - "2804:374c:100::/40": "266402", - "2804:4ccc:8000::/33": "267393", - "2001:1978:1e00::/40": "13768", - "2400:ea00:c010::/48": "23884", - "2803:f2e0::/32": "269931", - "2a02:26f7:97::/48": "20940", - "2a0d:5d00::/29": "205673", - "2407:ff00::/32": "45884", - "2803:e960::/32": "269738", - "2804:6574::/32": "269491", - "2a02:f7f:14::/48": "42927", - "2a02:26f7:d58d::/42": "20940", - "2001:559:183::/48": "33652", - "2001:559:801e::/48": "7922", - "2001:559:872b::/43": "7922", - "240e:3b4:c800::/37": "4134", - "2a00:1300::/32": "49272", - "2a04:5a00::/29": "60316", - "2a04:2b00:13ee::/48": "201304", - "2001:678:338::/48": "8375", - "2406:5d40:2::/32": "141009", - "240a:a6e4::/32": "144414", - "2602:fe9e::/36": "395434", - "2801:80:1d90::/48": "265988", - "2804:6738::/32": "269614", - "2a03:980:1::/46": "20645", - "2a05:dec0::/29": "197580", - "2a07:2781:a4a4::/29": "15490", - "2a0d:ca47::/47": "41195", - "2602:fed3:11::/48": "21769", - "2a0a:7640::/29": "206049", - "2400:d400:b00b::/48": "45671", - "240a:a869::/32": "144803", - "2604:5e80:21::/32": "8", - "2620:e0:c000::/48": "17116", - "2a02:26f7:cf44::/48": "36183", - "240a:a2fd::/32": "143415", - "240a:a52e::/32": "143976", - "2a00:4bc0:210d::/46": "31004", - "2a0f:6500::/32": "208183", - "2402:c340:eeef::/35": "38047", - "2404:e680::/35": "18409", - "2801:19a::/47": "19429", - "2804:5e08:380::/32": "269007", - "2a00:1650::/32": "24768", - "2a00:8740:15::/44": "49037", - "2a0e:7b80::/32": "29014", - "240a:a1a3::/32": "143069", - "2a02:26f7:d1c8::/48": "36183", - "2803:ddc0::/32": "27855", - "2408:8456:a810::/42": "134543", - "240a:70::/46": "9605", - "2600:370f:362a::/41": "32261", - "2620:13a:b003::/48": "54344", - "2806:263:a300::/37": "13999", - "2a05:7640:2040::/42": "174", - "2001:67c:2908::/48": "49752", - "2400:fc00:4060::/39": "45773", - "2804:5c68::/32": "268907", - "2a01:3e0::/37": "6453", - "2001:579:e0bc::/39": "22773", - "2001:918:1ab::/48": "8300", - "2620:0:1c00::/40": "32934", - "2800:160:164c::/46": "14259", - "240a:a346::/32": "143488", - "240e:3b6:dc00::/34": "4134", - "2400:a980:6900::/35": "133111", - "2405:2300:ff09::/42": "13443", - "2607:f098:1100::/34": "33363", - "2804:14c:87b3::/41": "28573", - "2804:1688::/32": "263290", - "2a00:b405::/30": "12857", - "2a04:d880::/29": "5587", - "2001:559:8122::/48": "13367", - "2001:7f8:80::/48": "8695", - "2607:f438::/32": "23520", - "2801:80:3a00::/40": "270410", - "2804:7390::/32": "270923", - "2a02:1688::/32": "48362", - "2a02:26f7:de04::/48": "36183", - "2a05:24c0:1::/46": "211889", - "2a0a:4587:2000::/44": "213341", - "2001:4b6c::/30": "12635", - "2400:cb00:403::/45": "13335", - "2402:800:389b::/41": "7552", - "240e:fb:f000::/36": "136199", - "2600:1017:b4e0::/38": "6167", - "2804:15ec:900::/32": "28599", - "2a01:a440::/48": "51297", - "2001:559:82bc::/48": "33659", - "2600:5c01:e0b::/35": "10796", - "2804:61e0::/32": "269262", - "2a02:26f7:f401::/46": "20940", - "2a10:d540::/29": "213053", - "2001:1248:8724::/43": "11172", - "2406:ac40::/32": "141389", - "2607:f1e0::/35": "19092", - "2806:268:485:8000::/41": "13999", - "2a00:cd00::/32": "39101", - "2a02:26f0:cb::/48": "2914", - "2a05:3940::/31": "59778", - "2001:400:8824::/34": "293", - "2001:559:8381::/48": "33652", - "2001:fb0:1079::/40": "7470", - "2607:9b80:4000::/36": "46558", - "2800:160:121b::/42": "14259", - "2804:14c:65ca::/43": "28573", - "2804:1590::/32": "263395", - "2804:1660::/32": "52560", - "2804:553c::/32": "268698", - "2804:802c:110::/42": "271734", - "2a00:1a48::/32": "15395", - "2a02:26f0:c5::/46": "20940", - "2a02:26f7:d409::/42": "20940", - "2001:559:c33d::/48": "7016", - "2001:678:da0::/48": "213068", - "2001:15f8:c00::/48": "25384", - "2804:4f54::/32": "268320", - "2600:1004:f100::/44": "6167", - "2600:1407:14::/48": "35994", - "2803:e610::/32": "271945", - "2a01:b740:1500::/42": "6185", - "2a02:26f7:e849::/42": "20940", - "2403:300:a26::/44": "714", - "2406:e00:800::/48": "55740", - "2408:8459:f050::/39": "17816", - "2600:370f:36c4::/48": "32261", - "2607:fcd0:fa80:8200::/55": "8100", - "2800:bf0:3020::/46": "52257", - "2001:4b8::/32": "14654", - "2409:8904:6940::/42": "24547", - "2409:8c85:aa5d::/42": "9808", - "2804:814::/32": "262777", - "2a09:47c0::/48": "44364", - "2a09:5f80:2::/47": "48038", - "2a09:d2c1:1::/48": "209669", - "2c0f:fa60::/32": "36917", - "2001:3c8:130a::/48": "17827", - "2001:df2:c880::/48": "140416", - "2001:1b40::/34": "20860", - "240a:a2f0::/32": "143402", - "2a04:2181:c010::/47": "61272", - "2001:678:2b4::/48": "48882", - "2402:b801:4000::/32": "18371", - "2404:c680::/32": "135330", - "2602:fe74::/36": "393996", - "2803:7d80::/33": "11664", - "2a0e:8f02:f02a::/48": "212577", - "2001:df5:a880::/48": "136557", - "2405:7f00:a0a0::/39": "133414", - "240a:a497::/32": "143825", - "240e:44d:4d00::/41": "140345", - "2a02:28c8::/32": "42353", - "2a02:ac80:a01::/39": "25145", - "2001:67c:2ed0::/48": "8767", - "240a:a38c::/32": "143558", - "2804:114::/32": "262721", - "2001:559:69::/46": "33651", - "240e:14:9000::/36": "140330", - "2605:a404:29e::/41": "33363", - "2610:128:9600::/33": "11686", - "2804:ef4:3::/33": "28642", - "2804:7f80::/32": "271703", - "240e:3bc:1200::/39": "4134", - "2a0b:2e00::/29": "15600", - "2600:6c34:203::/45": "33588", - "2001:559:8154::/48": "33657", - "240a:a1a2::/32": "143068", - "240e:4a:4300::/40": "58571", - "240e:b1:f000::/37": "136197", - "2600:80d:16::/47": "6984", - "2a01:4480::/32": "196816", - "2605:5c0:c080::/45": "28885", - "2a04:140::/29": "1764", - "2c0f:eb78::/32": "328331", - "2403:f680:f::/43": "58898", - "2405:da00::/47": "38235", - "240a:ab4c::/32": "145542", - "2804:148c::/32": "263336", - "2a0b:8fc1:2000::/32": "49825", - "2a0e:f00::/29": "47489", - "2a0e:eec0::/32": "206766", - "2001:559:c09e::/48": "33659", - "2001:df1:4300::/48": "9746", - "2400:3080::/32": "55424", - "2804:6b98::/32": "270411", - "2a05:1180::/29": "59791", - "2a0d:8d06::/48": "48079", - "2c0f:f638::/32": "37661", - "2001:67c:16f8::/48": "198611", - "2001:4bc8::/29": "8412", - "240a:a3fd::/32": "143671", - "2600:1806:319::/48": "16552", - "2600:6c38:b01::/45": "20115", - "2001:44b8:406e::/48": "7545", - "2400:ddc0::/35": "4785", - "2600:5c01:319c::/48": "11351", - "2a00:8860:700::/40": "210266", - "2001:559:823b::/48": "7015", - "240a:a9d6::/32": "145168", - "2804:4f4::/32": "262767", - "2a04:c7c0::/29": "31382", - "2c0f:f598:3::/48": "327813", - "2a0c:9c80::/29": "204760", - "2a0d:a180::/32": "211494", - "2605:1c00:50f0::/44": "16787", - "2001:579:703d::/41": "22773", - "2401:ff80:1405::/44": "133954", - "2405:8a00:2073::/44": "55824", - "2804:c5c::/32": "262318", - "2a0d:ecc0::/29": "60781", - "2400:cd00:1045::/32": "38794", - "2607:f6f0:6000::/48": "27566", - "2a05:91c0::/32": "56430", - "2c0f:f818::/32": "37090", - "2801:80:1660::/48": "52623", - "2804:421c::/32": "267478", - "2a02:26f7:b741::/46": "20940", - "2001:67c:10cc::/48": "45011", - "2408::/22": "9595", - "2620:0:210::/48": "43", - "2801:1b:2800::/48": "270074", - "2a02:21a0::/29": "49743", - "2406:3003:107e::/36": "4657", - "2409:8057:3806::/44": "56040", - "240e:3bc::/35": "134773", - "2804:d78::/32": "262444", - "2804:1264::/32": "263474", - "2804:3980::/32": "266034", - "2804:3b88::/32": "266155", - "2806:370:1090::/41": "28403", - "2a09:2200::/29": "29655", - "2a0a:8880::/46": "50937", - "2001:4478:2200::/40": "4739", - "2409:8b5c::/26": "9808", - "2a03:1980:d1ff::/38": "48260", - "2c0f:eac8::/32": "328566", - "240a:ac6f::/32": "145833", - "2800:5f0:83a::/45": "22724", - "2404:6480::/32": "135130", - "2409:8915:3600::/39": "56044", - "240a:add1::/32": "146187", - "2600:370f:35a5::/43": "32261", - "2605:4f00::/32": "26413", - "2804:3064::/32": "264948", - "240a:aae6::/32": "145440", - "2804:34c0::/32": "265477", - "2a04:c100::/29": "208861", - "2a0f:a100::/32": "8283", - "2a10:3144::/30": "398481", - "2001:678:330::/48": "3301", - "2001:df4:4980::/48": "140463", - "2407:4d00::/48": "38841", - "240a:a4a9::/32": "143843", - "240a:ac9f::/32": "145881", - "240e:108:1150::/48": "140527", - "2607:f380:865::/38": "2152", - "2001:df0:df80::/48": "139297", - "2408:8459:b610::/42": "17623", - "2408:8756:f0a::/40": "136958", - "2804:1490::/32": "263337", - "2a10:ee00::/32": "212401", - "2001:3c0::/35": "7516", - "2a01:9700:16c9::/48": "8376", - "2a05:6dc0::/29": "34822", - "2a0d:7b80::/29": "204556", - "2402:9dc0::/32": "131183", - "2404:d240::/32": "139033", - "2600:370f:342b::/45": "32261", - "2620:10a:3000::/40": "10349", - "2803:ae40::/32": "27928", - "2804:ef0:200::/32": "263558", - "2804:4870:4800::/34": "267121", - "2001:559:1a0::/48": "7015", - "2001:559:8065::/48": "7922", - "2405:bc0::/32": "136842", - "2a00:1a90:c000::/34": "33854", - "2a02:2528:2614::/29": "25091", - "2605:7900:24::/48": "63442", - "2804:1380:2::/45": "263536", - "2804:6f2c::/32": "270643", - "2a03:5100::/32": "197742", - "2401:d800:2380::/42": "7552", - "2408:8456:7440::/39": "17816", - "2a01:8840:75::/48": "207266", - "2a06:aa80::/32": "43267", - "2a01:c50e:ff40::/31": "12479", - "2a02:26f7:d8::/48": "36183", - "2001:dce:8801::/35": "23869", - "2408:8459:e050::/38": "17816", - "240e:2e::/33": "4812", - "2605:3dc0:1002::/48": "397952", - "2a02:26f0:4e00::/48": "34164", - "2a0c:8fc3::/40": "23470", - "240a:a6ea::/32": "144420", - "2600:6c7f:9072::/48": "20115", - "2604:6400:4610::/41": "29974", - "2607:fb10:2025::/43": "2906", - "2620:116:8082::/48": "27281", - "2804:7d9c::/32": "271572", - "2a06:e881:7800::/40": "212002", - "2400:9380:99c0::/44": "136167", - "2401:9780::/32": "132893", - "2402:800:b3d0::/37": "7552", - "240a:a82a::/32": "144740", - "240e:44d:d80::/41": "4134", - "2400:6d00::/32": "45355", - "2404:b300:1000::/48": "131207", - "2804:18d4::/32": "262489", - "2a0d:2280::/29": "51815", - "2401:dc40::/32": "24253", - "240a:a02f::/32": "142697", - "2603:b0e1::/27": "11796", - "2620:119:500c::/48": "13443", - "2801:96:fff3::/45": "28586", - "2001:559:825d::/48": "22909", - "2001:44b8:406f::/48": "4739", - "2001:559:81d5::/46": "7015", - "2001:67c:203c::/48": "30779", - "2408:8459:4a30::/41": "17622", - "2602:fd35::/36": "398427", - "2804:954:700::/36": "263073", - "2a00:1da0::/32": "29591", - "2001:559:c250::/48": "33657", - "2400:dcc0:a104::/38": "38631", - "2401:d6c0::/32": "137199", - "240a:ab86::/32": "145600", - "2804:e94:a0::/46": "262468", - "2001:67c:19d4::/48": "30877", - "2a00:b404:e000::/36": "203329", - "2a02:26f7:d085::/46": "20940", - "2a07:68c0::/47": "32338", - "2800:3f0::/33": "15169", - "2001:470:138::/48": "58110", - "2001:67c:22b0::/48": "42564", - "2001:44b8:205c::/48": "7545", - "240a:a5e4::/32": "144158", - "240a:a958::/32": "145042", - "2600:6c3a:821::/46": "20115", - "2604:1380:4110::/44": "54825", - "2a02:26f7:e10d::/42": "20940", - "2001:559:816f::/48": "20214", - "2001:b08:14::/48": "28800", - "2400:a980:e4::/37": "133111", - "2408:8459:54c0::/38": "17816", - "2a00:5881:6000::/40": "199396", - "2a01:9940:100::/47": "12807", - "2a02:26f7:d245::/46": "20940", - "2001:559:363::/48": "33652", - "2001:559:84ac::/48": "7015", - "2600:1419:1801::/38": "20940", - "2801:b6::/38": "263083", - "2a03:521::/32": "201822", - "2001:668:200::/29": "3257", - "2001:df6:cb00::/48": "138076", - "2620:123:9000::/48": "394976", - "2804:7210:200::/45": "270830", - "2400:8b00:2100::/42": "45727", - "2404:138::/41": "38022", - "2409:8924:a100::/38": "56046", - "2001:559:c003::/48": "33491", - "2001:1248:9803::/43": "11172", - "2801:80:1b60::/48": "266443", - "2a07:3500:1060::/47": "208240", - "2001:4048:109::/32": "33922", - "2602:803:c001::/45": "26667", - "2603:900c::/30": "33363", - "2001:559:c1f2::/48": "7922", - "2804:25d8::/32": "264307", - "2804:37f0:8100::/33": "266445", - "2603:c001:2810::/38": "31898", - "2804:7c60::/32": "271492", - "2a10:4680::/29": "398559", - "2402:e280:3d98::/47": "134674", - "2408:8256:3681::/43": "17623", - "2607:d980::/32": "10271", - "2a00:d90::/29": "21195", - "2a07:4400::/29": "24961", - "2001:559:c370::/48": "33657", - "2801:15:a000::/48": "61477", - "2a00:c4c0::/32": "56477", - "2c0f:f7a0::/32": "37184", - "2001:67c:1818::/48": "3303", - "2001:ec0:800::/40": "23969", - "2408:8957:1940::/40": "17816", - "2604:fa40::/32": "7850", - "2620:149:a1a::/48": "6185", - "2800:160:18db::/45": "14259", - "2a02:808::/29": "35311", - "2001:df7:3d00::/48": "4748", - "2600:1901:ff80::/44": "396982", - "2a06:3c40::/29": "34477", - "2606:2800:4a44::/46": "15133", - "2800:160:16e0::/44": "14259", - "2a01:6d80:f000::/36": "6723", - "2a02:26f7:75::/48": "20940", - "240a:a941::/32": "145019", - "2a0b:7800::/29": "15600", - "2001:500:126::/47": "396574", - "2a00:5480::/29": "42346", - "2a02:26f7:e048::/48": "36183", - "2404:c0:30a0::/39": "23693", - "2a10:540::/29": "47747", - "240e:3bf:ac00::/35": "4134", - "2607:1b00:93b2::/48": "54456", - "2a02:26f7:ef09::/46": "20940", - "2a0f:9882::/31": "208861", - "2405:b000::/39": "6262", - "2620:171:46::/48": "42", - "2a10:c540::/29": "44070", - "2001:678:994::/48": "208907", - "240a:ae97::/32": "146385", - "2602:804:1000::/45": "14536", - "2804:19f8::/32": "61829", - "2804:51b4::/32": "268471", - "2a0c:7a80::/29": "204782", - "2001:2020::/31": "12929", - "2401:5b80::/32": "133425", - "2404:af80:15::/48": "38026", - "2604:f980:4360::/44": "19957", - "2804:8cc:7::/48": "272413", - "2806:2f0:7024::/41": "17072", - "2a06:8380::/29": "212526", - "2a03:6f40::/32": "199508", - "2001:559:8249::/48": "33657", - "2401:4900:5910::/44": "45609", - "2402:9500:a01::/39": "55720", - "2405:4d00::/32": "17416", - "2804:1708::/32": "263117", - "2804:35c0::/32": "266304", - "2804:3608::/32": "266322", - "2a0b:f304:463::/32": "62240", - "2001:559:c103::/48": "7922", - "240e:44d:a80::/41": "4134", - "2001:146a::/32": "51032", - "2400:eb40:4005::/48": "14821", - "2401:5300::/32": "45680", - "2407:9440:62::/43": "141626", - "240a:a299::/32": "143315", - "2a01:7a8::/48": "207701", - "2a0c:5840::/32": "197226", - "2001:4870:a250::/33": "3549", - "240a:adfb::/32": "146229", - "2620:130:30c4::/48": "62861", - "2804:d84:cad::/32": "28171", - "2804:81e4::/32": "272484", - "2001:67c:2138::/48": "31348", - "2400:1c00:1::/45": "45143", - "240a:af80::/32": "146618", - "2604:bf00::/38": "17185", - "2620:82:e000::/48": "33014", - "2a0f:9400:7668::/47": "20473", - "2408:8957:9b00::/40": "17816", - "2600:1408:d401::/34": "20940", - "2804:3a20::/32": "266072", - "2a0a:a400::/29": "64444", - "240a:a471::/32": "143787", - "240a:a663::/32": "144285", - "2804:4088::/32": "265965", - "2a02:26f7:a4::/48": "36183", - "240a:ab44::/32": "145534", - "2804:157c::/32": "263390", - "2806:102e:15::/44": "8151", - "2403:18c0:1::/45": "54574", - "240e:967:8c00::/35": "4134", - "2602:fd23:2::/48": "398292", - "2800:160:2016::/44": "14259", - "2804:3838:31::/32": "53170", - "2001:44b8:30db::/45": "4739", - "2400:adc0:4000::/46": "9541", - "2401:b200::/45": "24186", - "2404:bf40:c002::/41": "139084", - "2a02:2a58::/39": "702", - "2a03:7020:1::/48": "59625", - "2a0e:fd45:e80::/48": "211772", - "2001:559:853c::/47": "7015", - "2401:3c0:21e::/48": "45528", - "240e:967:9800::/33": "4134", - "2620:171:4::/48": "42", - "2803:3100::/32": "16973", - "2804:69b0:150::/32": "270285", - "2a02:1c8:30::/44": "57128", - "2001:678:1f4::/48": "50004", - "2409:8038:1100::/36": "9808", - "2620:10a:e000::/40": "11250", - "2801:1f0:2020::/33": "3573", - "2001:559:84a9::/48": "7922", - "240a:ac98::/32": "145874", - "2804:14d:e669::/40": "28573", - "2001:67c:268c::/48": "199902", - "2001:67c:2aa4::/48": "8447", - "2403:2b40::/32": "137715", - "2804:ef4:6002::/37": "28642", - "2a01:6920::/32": "54876", - "2400:db80::/32": "56293", - "2001:200:c000::/35": "23634", - "2001:559:8503::/45": "7922", - "2804:dd0:200::/39": "28639", - "2a0f:ff00:100::/38": "213281", - "2804:1efc:f000::/36": "264458", - "2001:320::/33": "1237", - "2001:1838:a100::/33": "23352", - "2403:9140:7::/32": "18101", - "2406:8540:4::/47": "141202", - "240a:a61f::/32": "144217", - "2605:dd40:8206::/48": "398549", - "2804:1674::/44": "53231", - "2a0d:da06::/32": "211675", - "2001:508:a:1::/32": "32020", - "2001:678:898::/48": "39420", - "240e:1f:5000::/36": "58466", - "2604:2280::/40": "53340", - "2800:484:8b00::/35": "10620", - "2401:d800:f560::/40": "7552", - "2804:46d4:2::/32": "267014", - "2001:5b0:5f00::/40": "6621", - "2407:6ec0::/32": "133384", - "2607:9800:c114::/46": "15085", - "2a02:26f7:53::/48": "20940", - "240a:a6ce::/32": "144392", - "2804:8284::/32": "272524", - "2a05:f440::/29": "35280", - "2a06:2ec0::/32": "206281", - "2a0d:3c47::/32": "25369", - "2804:4a8c::/39": "267248", - "2a09:3a00:2000::/48": "200299", - "2a0a:e00::/48": "64432", - "2001:df0:217::/48": "56201", - "2600:6c38:72e::/47": "20115", - "2607:9200::/32": "19009", - "2605:80::/32": "11831", - "2804:2cd4:90::/42": "265246", - "2a00:8240::/29": "61029", - "2a0e:8140::/29": "35048", - "2001:1a10:5000::/31": "8781", - "2400:c800:204::/37": "4515", - "240e:804:200::/39": "140636", - "240e:c3:2800::/37": "63838", - "2a00:1c78::/48": "25408", - "2404:e801:100f::/43": "55430", - "2607:fdf0:5ef7::/44": "8008", - "2620:101:403a::/48": "36421", - "2a01:6480:11::/46": "29049", - "2a02:4880::/32": "12630", - "240e:983:1e08::/48": "134773", - "240a:ab90::/32": "145610", - "2602:ffa5::/40": "20141", - "2001:559:527::/44": "7015", - "2600:6c38:2c::/41": "20115", - "2803:bb40::/32": "52507", - "2a00:fac0::/32": "20677", - "2001:559:5ed::/46": "33287", - "2001:de2::/48": "142500", - "240a:a954::/32": "145038", - "2806:230:101d::/48": "11888", - "2a02:128:2::/48": "197726", - "2402:b80::/32": "134001", - "2403:1380::/32": "133421", - "240a:af4f::/32": "146569", - "2620:74:13::/48": "26134", - "2804:36d0::/32": "266374", - "2804:70a8:1800::/34": "270740", - "2001:648::/35": "5408", - "2401:3c0:15::/48": "45528", - "2405:9800:60::/44": "45430", - "2406:bd00:de50::/48": "55651", - "2804:14d:9e00::/40": "28573", - "2600:1407:3001::/37": "20940", - "2804:12a0::/32": "61900", - "2a06:6540:30c1::/48": "3549", - "2001:579:5400::/36": "22773", - "2402:8cc0::/40": "131137", - "2409:8c2f:3820::/32": "56041", - "2606:e800::/39": "25843", - "2620:0:1600::/48": "4390", - "2804:80b8:a000::/36": "271769", - "2804:53e0::/32": "28258", - "2a02:26f7:f285::/46": "20940", - "2400:c180:19::/48": "132513", - "2402:ef04:f000::/31": "7633", - "240a:ac62::/32": "145820", - "2600:40ff:ff92::/41": "701", - "2605:6f00::/32": "40092", - "2803:a3a0::/32": "267750", - "2804:6c0:100::/40": "262418", - "240a:a40a::/32": "143684", - "240a:a72a::/32": "144484", - "2605:4380::/32": "260", - "2607:f378::/32": "131", - "2801:80:1e79::/48": "14026", - "2a0a:4580::/29": "29670", - "2001:502:be98::/48": "7342", - "2408:8957:f6c0::/39": "17816", - "240e:473:ac50::/39": "4134", - "2803:fce0::/32": "269916", - "2804:3080::/32": "264955", - "2a00:4e40:1::/46": "59980", - "2a02:cb43:3004::/44": "20546", - "2402:1580:2100::/36": "17682", - "2804:74a8:200::/32": "270995", - "2a02:13e0::/48": "48075", - "2001:67c:157c::/48": "3215", - "2607:fd48:d00:2::/45": "13536", - "2804:16c0::/32": "61914", - "2804:2214:800c::/33": "28177", - "2001:c20:4869::/48": "3758", - "2406:e780:eb1::/48": "63679", - "2408:8240::/32": "4837", - "2803:b0a0::/32": "266806", - "2a01:4b00::/32": "56478", - "240a:a213::/32": "143181", - "2602:ff0c:a3::/48": "5081", - "2604:1b40::/32": "396006", - "2804:49b4::/32": "267198", - "2a03:1e80:c000::/40": "3320", - "2a0b:ee80::/29": "51395", - "2001:df4:f680::/48": "136360", - "2001:df7:6e00::/48": "17665", - "2406:e000:333::/41": "23655", - "240a:ac82::/32": "145852", - "2606:7700::/48": "399830", - "2804:e48::/32": "262949", - "2400:d400:9897::/44": "45671", - "2a02:26f7:3::/48": "20940", - "2a0b:cbc1::/29": "200780", - "2001:559:2fe::/47": "7922", - "2001:559:8038::/47": "7922", - "2409:8d15:1a00::/34": "56044", - "240e:e9:4800::/37": "4134", - "2620:10a:80ab::/48": "394354", - "2800:160:1616::/42": "14259", - "2a01:90e0::/32": "199733", - "2001:559:c2b9::/48": "7922", - "2408:8956:6600::/40": "17622", - "2600:1006:a120::/36": "22394", - "2804:18d0::/32": "19990", - "240a:abbb::/32": "145653", - "2804:22b4:c8::/32": "264117", - "2c0f:fb18::/32": "37199", - "2001:559:cd::/48": "33659", - "2404:bf40:8002::/42": "139084", - "240a:ae09::/32": "146243", - "240a:af64::/32": "146590", - "2804:4574::/32": "266927", - "240a:a44e::/32": "143752", - "240a:acb0::/32": "145898", - "240e:3b2:c000::/37": "140315", - "2607:fcd0:fa80:5701::/52": "8100", - "2a02:26f7:c700::/48": "36183", - "2a04:5b81:2000::/48": "206499", - "2001:559:8470::/48": "7015", - "2001:559:852e::/48": "7922", - "2001:4870:a24f::/48": "10596", - "2401:d800:db40::/42": "7552", - "240e:108:1183::/45": "133775", - "2a00:bdc0:e006::/48": "60476", - "2001:1938:10::/44": "11588", - "2400:9700:6::/39": "24550", - "2607:d700::/32": "19566", - "2804:4ba0::/32": "267319", - "2806:2f0:96a1::/41": "17072", - "2a0e:1c80:8::/48": "3399", - "2001:559:84b0::/48": "7015", - "2001:559:853f::/48": "7015", - "2001:559:85e1::/48": "13367", - "2408:8406:9000::/39": "4808", - "240e:980:2500::/40": "134756", - "2001:559:19a::/48": "33652", - "2401:f040::/32": "45828", - "2402:9500:c01::/39": "55720", - "2408:8957:9900::/40": "17816", - "2001:4998:1c::/48": "14779", - "2606:4700::/47": "13335", - "2a00:c00:f030::/46": "24467", - "2a00:1288:ef85::/43": "10310", - "2001:559:84af::/48": "33657", - "2404:3500::/32": "58627", - "2407:5140::/32": "138235", - "2606:ae00:9300::/37": "7287", - "2a11:7600::/29": "211199", - "240a:a273::/32": "143277", - "2602:fc97::/48": "399544", - "2a02:26f0:700::/48": "7545", - "2a02:2ab8:310::/42": "702", - "2a06:1a00::/33": "39824", - "240a:a35c::/32": "143510", - "240e:44d:5180::/41": "4134", - "2a00:e2a0::/32": "51004", - "2a02:26f7:de45::/46": "20940", - "2a02:2e02:1b40::/40": "12479", - "2a0a:fa00::/29": "49191", - "2400:9800:6015::/42": "24203", - "240a:a0e1::/32": "142875", - "2600:6001::/32": "11351", - "2401:8800:800::/40": "17439", - "2801:15:7000::/48": "269867", - "2a00:b5c0::/32": "57910", - "2a02:26f7:eac9::/42": "20940", - "2001:550:a902::/45": "174", - "2402:800:9ac5::/43": "7552", - "2804:3588::/32": "266292", - "2a03:4300::/29": "51048", - "2001:559:c2ae::/48": "21508", - "2001:ee0:d240::/39": "45899", - "240e:983:203::/48": "17799", - "2600:140f:a000::/48": "24319", - "2800:160:11cf::/43": "14259", - "2a02:26f7:b949::/42": "20940", - "2a03:5a00:3d::/48": "200503", - "2001:4878:4003::/48": "35994", - "2405:fc00::/32": "37989", - "2604:d600:1c::/46": "32098", - "2610:b0:4107::/44": "21433", - "2402:800:7440::/42": "7552", - "2a01:190:15ed::/48": "16099", - "2406:d501::/44": "136557", - "2804:104c:4800::/40": "263629", - "2a03:7580:4000::/40": "34530", - "2804:75f8::/32": "271081", - "2001:559:8486::/48": "33657", - "2806:230:302d::/48": "11888", - "2001:df7:1300::/48": "137827", - "2a00:1ec8::/42": "2854", - "2a06:e881:1802::/45": "206885", - "2001:4878:2010::/48": "12222", - "2407:b4c0:c::/47": "142366", - "2a02:f50::/32": "41833", - "2a0c:52c0::/29": "203973", - "2001:1248:a4c7::/44": "11172", - "2404:4a00:3294::/33": "45629", - "2a04:4e40:5e00::/48": "54113", - "2001:b08:17::/48": "8398", - "2408:8459:ed10::/42": "17623", - "240a:aba7::/32": "145633", - "2a02:26f0:fe01::/39": "20940", - "2401:d800:7190::/42": "7552", - "2804:3190::/32": "53097", - "2a00:a980::/32": "9022", - "2a06:3cc0::/29": "57763", - "2a0c:b641:264::/47": "59598", - "2402:800:f570::/40": "7552", - "2402:f800:e000::/36": "7602", - "2600:1406:9400::/48": "35994", - "2001:16f8:667::/34": "25525", - "2406:ef80:1::/46": "63473", - "2a0a:48c0::/32": "39324", - "2001:7f9:8::/48": "51354", - "2001:df1:ce00::/48": "64032", - "2c0f:ede8::/34": "328510", - "2600:2002:3000::/36": "33517", - "2607:a400:8::/32": "21859", - "2a00:19d0::/29": "12586", - "2a0b:7380::/29": "31617", - "240a:a8fe::/32": "144952", - "2803:9000::/32": "262194", - "2001:559:80e9::/48": "33657", - "2402:7e00::/32": "45280", - "2409:8074:3100::/32": "9808", - "2400:3b00:40::/48": "18229", - "2405:9800:9c00::/40": "38443", - "2409:8002:1000::/40": "38019", - "2409:8924:8500::/38": "56046", - "2804:14c:798f::/41": "28573", - "2804:46c8::/32": "267011", - "2a04:9fc0::/29": "1136", - "2001:67c:22e0::/48": "48803", - "2604:d600:928::/47": "32098", - "2a01:8640:7::/48": "61046", - "2a02:2430::/46": "39869", - "2a03:6083:d000::/29": "16285", - "2a04:eb40::/29": "21183", - "2606:2000:16::/32": "1616", - "2802:0:46::/47": "18747", - "2a00:1210:fffe::/48": "34700", - "2001:559:80ed::/48": "7922", - "2600:1007:b130::/40": "22394", - "2804:3c50::/32": "266203", - "2a0c:4500::/32": "207517", - "2400:d740::/32": "136106", - "2409:8053:1002::/40": "56047", - "2604:2700:200::/32": "32181", - "2607:f208:df01::/48": "26496", - "2a07:2dc0::/29": "57878", - "2001:678:35c::/48": "12331", - "2620:112:f000::/48": "6336", - "2803:94c0::/32": "52273", - "2804:4e28::/32": "268243", - "2a03:c780::/32": "29672", - "2001:43f8:11f1::/48": "37282", - "2401:7500:1111::/48": "33480", - "240e:e5:8000::/30": "4812", - "2406:cb42::/48": "395092", - "2607:8300::/46": "13876", - "2804:1048::/32": "263628", - "2a0c:8f00::/29": "205044", - "2001:67c:1ba8::/48": "49494", - "2a02:26f7:cd81::/46": "20940", - "2a06:1287:330d::/48": "208753", - "240a:a45b::/32": "143765", - "2600:370f:7028::/43": "32261", - "2605:8000::/42": "4261", - "2620:35:8000::/48": "394522", - "2a02:26f7:b789::/42": "20940", - "2405:ba00:8efe::/48": "23885", - "2803:9800:a01c::/47": "11664", - "2a02:26f7:c1c9::/42": "20940", - "240a:ada2::/32": "146140", - "2605:4b40::/32": "26425", - "2a00:15f8::/32": "25532", - "2401:580::/32": "38200", - "2408:8957:af00::/40": "17816", - "2602:fd53::/36": "395611", - "2804:7438::/46": "270967", - "2a01:9ac0::/32": "59919", - "2406:840:a08::/48": "139317", - "2600:141b:7800::/48": "35994", - "2a02:26f7:bc01::/45": "20940", - "2a0a:6340:dc02::/29": "42624", - "2801:114:7::/48": "26506", - "2a02:26f7:c5::/48": "20940", - "2400:c000::/32": "38294", - "2404:5f40:2::/48": "38447", - "2a04:4e40:7a00::/48": "54113", - "2a09:10c0::/29": "6886", - "2001:559:8033::/45": "7922", - "2a04:4e40:7200::/47": "54113", - "2a0b:f842::/29": "205376", - "2a10:e140::/32": "12779", - "2001:559:8577::/48": "7922", - "2001:448a:5110::/42": "7713", - "2400:fc00:4a40::/32": "45773", - "2403:9800:11::/48": "4771", - "2804:8150::/32": "272446", - "2401:ff80:1893::/39": "133954", - "2801:80:760::/48": "263576", - "2620:8e:2000::/48": "397263", - "2804:e94:1000::/41": "262468", - "2a00:1268::/32": "39761", - "2402:bc00::/29": "18144", - "2806:230:200f::/48": "11888", - "2a02:cc40::/29": "2116", - "2a05:d03a:c000::/40": "16509", - "2001:559:82b3::/45": "7922", - "240a:a932::/32": "145004", - "240e:85c:10::/42": "4134", - "2600:9000:2061::/40": "16509", - "2a00:1178::/46": "35415", - "2a03:e780::/43": "39735", - "2401:5f80::/45": "38731", - "2605:6f80::/40": "53340", - "2806:264:300::/41": "13999", - "2a02:26f0:cf00::/48": "34164", - "2001:670::/29": "719", - "2401:4900:1d00::/41": "45609", - "2401:ff80:140d::/46": "133954", - "240a:a5cc::/32": "144134", - "2804:3b8:7::/44": "52965", - "2804:316c::/32": "265014", - "2a03:c800::/32": "56993", - "2406:3000:36::/44": "4657", - "2620:10a:d000::/44": "33703", - "2806:230:2010::/48": "265594", - "2a0c:5940::/29": "44668", - "2001:559:2fd::/48": "7015", - "2a01:4a0:6::/44": "201011", - "2a07:6080::/29": "39798", - "2606:b600:100::/48": "26527", - "2804:2484:8110::/40": "28258", - "2c0f:fc00:b012::/27": "3741", - "240a:a9c7::/32": "145153", - "2600:1405:6001::/35": "20940", - "2804:7370::/32": "270915", - "2a0a:d6c0:2035::/48": "203564", - "2001:4b98::/36": "29169", - "240a:a6f6::/32": "144432", - "2604:d600:1641::/46": "32098", - "2800:160:1a0e::/43": "14259", - "2a0e:acc0::/29": "208414", - "2001:579:5f88::/34": "22773", - "2406:daa0:90c0::/44": "16509", - "2804:7a28:2000::/40": "271351", - "2806:2f0:4004::/42": "17072", - "2a05:ce40::/29": "201006", - "2001:559:c1df::/48": "33652", - "2001:67c:2cf4::/48": "59951", - "2001:fb0:1035::/48": "133167", - "2804:4a34::/32": "267224", - "2404:c000:8000::/46": "17727", - "2408:8956:d840::/40": "17622", - "2605:5c0:c045::/44": "28885", - "2a09:82::/29": "59615", - "2a0e:9100::/29": "212872", - "2401:8d00:6::/44": "38345", - "2600:2108::/34": "54858", - "2a00:79e1:f12::/40": "36384", - "2a04:1b00:e::/47": "61007", - "2a07:1c42:1::/48": "209669", - "2a09:5e40::/29": "209424", - "2a09:9180:ecfb::/48": "42081", - "2800:160:1e07::/43": "14259", - "2001:559:521::/48": "33660", - "2400:adc7:2800::/39": "9541", - "2404:63c0:50::/48": "131645", - "240a:a01b::/32": "142677", - "2408:8456:9810::/42": "134543", - "2600:1419:8001::/37": "20940", - "2604:4dc0::/32": "54483", - "2620:74:4f::/43": "7342", - "2a0c:e440::/29": "200497", - "2001:388:e3::/35": "7575", - "2001:df7:6300::/48": "132772", - "2804:c48:ffff::/48": "52687", - "2a06:100::/32": "200760", - "2a0d:2f00::/48": "39691", - "2620:104:600a::/48": "53779", - "2a02:26f7:c2c0::/48": "36183", - "2001:678:ff4::/48": "211033", - "2607:b580::/44": "19754", - "2620:103:a000::/44": "12148", - "2804:2b68::/32": "265152", - "2a04:e4c0:14::/44": "36692", - "2a0c:4180::/29": "29854", - "240a:a234::/32": "143214", - "240a:a731::/32": "144491", - "2804:4e08:2001::/32": "268235", - "2804:5930::/32": "268174", - "2a00:1288:80::/48": "203220", - "2a00:7ce0::/32": "60832", - "2a0b:bf80::/32": "60522", - "2a0d:8d05:1::/48": "209389", - "2a10:e80::/29": "47289", - "2a10:b340::/29": "211629", - "2a0a:ab80::/32": "206637", - "2001:559:8209::/48": "7015", - "2408:8459:fb00::/37": "17622", - "240e:14:2000::/33": "4134", - "2602:fd34::/36": "393292", - "2a00:11c0:1010::/48": "42388", - "2a09:4f40::/48": "209562", - "2a0a:65c0::/32": "15703", - "2001:c20:800::/34": "3758", - "2600:1407:f801::/28": "20940", - "2a04:9dc0::/42": "9009", - "2605:59c2:1000::/34": "36492", - "2607:8300:4::/48": "13876", - "2600:8807:5360::/34": "22773", - "2a04:4a43:5200::/34": "206067", - "2a0d:2145::/36": "39083", - "2402:800:32e0::/44": "7552", - "240a:ae6c::/32": "146342", - "240e:5a:4300::/40": "140294", - "2620:131:3000::/47": "19747", - "2001:67c:1590::/48": "21430", - "2001:df0:3a80::/48": "139002", - "2001:df5:f180::/48": "141710", - "2a02:26f7:f808::/48": "36183", - "240a:ad9b::/32": "146133", - "2602:feb4:f0::/44": "25961", - "2a02:26f7:94::/48": "36183", - "2a02:26f7:c800::/48": "36183", - "2a05:1083:fec0::/44": "209870", - "2a0a:eac0::/31": "31143", - "2001:49f0:d0f4::/44": "174", - "240a:aa3a::/32": "145268", - "240a:ada5::/32": "146143", - "240e:818::/26": "4134", - "2804:5fd4::/32": "269126", - "2a09:3c00:1::/48": "213268", - "2600:1901:bdd0::/44": "396982", - "2804:3a8::/32": "53195", - "2402:800:bb30::/41": "7552", - "240e:3ba:9200::/36": "140317", - "2600:1005:b030::/41": "22394", - "2602:fded::/36": "397472", - "2a0e:8f02:20f7::/44": "212008", - "2a10:2f00:147::/48": "212793", - "2c0f:ec18::/32": "328391", - "2402:e300::/46": "131706", - "2600:5c01:31cc::/37": "10796", - "2604:a180:6000::/32": "11139", - "2804:4dd0::/32": "268221", - "2804:5f00:11::/32": "269070", - "2400:9380:92c0::/44": "136167", - "2a05:db80::/29": "41071", - "2001:468:2807::/126": "11537", - "2001:67c:3e0::/48": "16089", - "2403:c00:d00::/46": "17488", - "2404:6080::/32": "135415", - "2804:493c::/32": "267172", - "2806:2f0:60e1::/39": "17072", - "2a02:26f7:ddc9::/42": "20940", - "2a03:da0::/32": "201782", - "2001:460:78::/46": "7991", - "2001:550:5605::/44": "174", - "2403:9800:b016::/48": "4771", - "2404:c0:1820::/34": "23693", - "240a:ab6c::/32": "145574", - "2804:4780::/32": "267058", - "2a02:2e02:10b0::/41": "12479", - "2a06:6541:3081::/48": "3549", - "2001:559:318::/48": "7922", - "2001:4408:5241::/43": "4758", - "2401:d7c0::/32": "45355", - "2409:8915:7c00::/32": "56044", - "2a00:d340:ffff::/48": "51720", - "2a00:f440:d::/32": "48347", - "2a03:7202::/32": "44895", - "2406:3000:30::/47": "4657", - "2620:171:66::/44": "42", - "2804:2674::/47": "264344", - "2a07:e100::/32": "200925", - "2a10:9fc0::/29": "40970", - "2400:cb00:a4b0::/46": "13335", - "2404:bf40::/32": "139084", - "2408:822a:9200::/34": "139007", - "2801:0:390::/48": "14080", - "2804:2a1c::/32": "264057", - "2806:2f0:5041::/42": "17072", - "2a00:a8e0:1::/46": "202108", - "2001:480:51::/48": "6009", - "2620:e:4000::/48": "13649", - "2a02:26f7:ee41::/46": "20940", - "2001:579:244c::/42": "22773", - "2001:678:490::/48": "12843", - "2404:b0:2000::/47": "9891", - "2408:8956:8100::/40": "17816", - "2402:8700:54::/32": "58979", - "2408:8957:edc0::/38": "17622", - "2800:160:1da9::/45": "14259", - "2a02:2e02:1e80::/41": "12479", - "2001:559:c229::/48": "7015", - "2001:1ba8::/29": "50821", - "2402:c800:ff74::/44": "38639", - "240a:a253::/32": "143245", - "2605:1900:8440::/33": "12208", - "2a02:c100::/29": "199645", - "2400:a980:4000::/40": "38587", - "240a:a830::/32": "144746", - "2605:a40e::/47": "33363", - "2a00:4802:3b0::/36": "13124", - "2001:559:454::/48": "7922", - "240a:a00d::/32": "142663", - "2001:559:c117::/48": "33667", - "2600:1000:a020::/40": "22394", - "2a02:26f7:c7ca::/42": "20940", - "2a09:be40:4251::/40": "213349", - "2a0f:a180::/29": "208083", - "2001:559:3ac::/48": "21508", - "2604:ae80:a100::/40": "11904", - "2001:559:c113::/48": "7922", - "2400:9380:9205::/46": "4809", - "2001:df0:2f5::/48": "55912", - "2a02:2f0c:d000:32::/57": "8708", - "240a:af8a::/32": "146628", - "240e:f:b000::/36": "134768", - "2a00:6901:e002::/47": "20926", - "2a05:e580:fd00::/38": "134521", - "2001:559:432::/48": "33287", - "2606:2800:4a2c::/46": "15133", - "2800:5f0:80d::/42": "22724", - "2a01:8840:96::/44": "12041", - "2a01:8840:bd::/48": "207266", - "2804:4ff8::/32": "268361", - "2804:6630::/32": "269540", - "2001:559:26d::/48": "7015", - "2001:559:2b4::/47": "7922", - "2620:11a:a00b::/43": "43515", - "2804:41c8::/32": "267456", - "2a02:26f7:a9::/48": "20940", - "2001:1900:2385::/44": "3356", - "240e:108:26::/48": "4134", - "2a02:26f7:f18d::/42": "20940", - "2001:388:607c::/48": "135893", - "2001:df4:2880::/48": "7545", - "2600:6c38:632::/39": "20115", - "2600:8807:93ca::/45": "22773", - "2605:a404:8ad::/43": "33363", - "2a09:f200::/29": "39305", - "2400:5200:1c00::/40": "55410", - "2405:c840::/32": "140072", - "2602:80b:4000::/40": "393941", - "2804:2868::/32": "263961", - "2804:7528::/32": "271027", - "2a03:16e0::/32": "21235", - "2a06:e382::/29": "203507", - "2001:559:c084::/48": "33651", - "2400:8500:d37d::/48": "7506", - "2406:6e00:f03a::/48": "55517", - "240e:37e:2600::/32": "4134", - "2a02:2e02:1c20::/41": "12479", - "2a0a:e5c0:13::/48": "213081", - "2001:559:447::/48": "22909", - "2a03:4f40::/32": "206825", - "2001:13f8::/32": "27817", - "2406:b480:200::/46": "38146", - "2407:0:0:5::/58": "4761", - "2600:6c38:231::/45": "20115", - "2604:d600:1c15::/46": "32098", - "2800:160:1e63::/44": "14259", - "2804:7a3c:f000::/36": "271357", - "2402:6000::/32": "9503", - "2406:8800:904b::/33": "17465", - "2a02:26f7:ecc0::/48": "36183", - "2a09:f180::/48": "50007", - "2600:6c2e:cf::/39": "20115", - "2602:fd63::/36": "11805", - "2001:67c:104::/48": "198595", - "2001:67c:2574::/48": "25148", - "2001:4408:5203::/42": "4758", - "2400:9800:6028::/32": "24203", - "2a02:fe80:11::/44": "30148", - "2a0f:5382:1312::/48": "208135", - "2001:1248:5916::/44": "11172", - "2600:1417:1f::/48": "20940", - "2a0d:4d00::/46": "44794", - "2001:fd8:3380::/42": "132199", - "2402:8100:20c7::/48": "45271", - "2804:21ac::/32": "264566", - "2804:33dc::/36": "265421", - "2a01:520::/32": "2116", - "2607:f2f8::/32": "25795", - "2800:370:44::/48": "28006", - "2a02:26f7:fa88::/48": "36183", - "2001:559:103::/48": "20214", - "2001:559:8057::/44": "7922", - "2409:8a52:b00::/37": "56047", - "2607:fd50::/32": "40015", - "2804:1ae4::/32": "61697", - "2804:3690::/32": "266356", - "2804:37b0::/36": "266429", - "2600:1415:801::/38": "20940", - "2800:b70:2000::/48": "262191", - "2a00:e78:8000::/46": "47530", - "2a02:26f7:c94a::/47": "20940", - "2a09:4c0:1e1::/38": "58057", - "2409:8c85:81::/35": "9808", - "2607:f758::/35": "13649", - "2806:2f0:4001::/46": "17072", - "2001:253:128::/48": "142094", - "240e:5:8000::/30": "4134", - "2804:73fc::/32": "270950", - "2a05:fb47::/32": "208861", - "2404:2e00::/44": "10226", - "2600:c02:1020::/48": "27385", - "2406:840:1860::/48": "139317", - "2a0e:46c4:2900::/48": "138435", - "2001:678:c58::/48": "213080", - "2405:9800:d008::/39": "45430", - "2406:3000:32::/45": "4657", - "240e:974:e202::/40": "4134", - "2803:9800:a099::/37": "11664", - "2804:4564::/32": "266923", - "2603:2000::/19": "7922", - "2605:a404:74a::/40": "33363", - "2a02:e980:1fa::/38": "19551", - "2a09:1180::/29": "59441", - "2001:448a:2030::/41": "7713", - "2001:4b20:1000:1::/50": "34288", - "240a:a933::/32": "145005", - "2620:3::/48": "14200", - "2620:18c:f2::/36": "396507", - "2804:57c::/36": "262517", - "2804:78dc::/32": "271270", - "2804:70c0:f::/43": "270746", - "240a:a582::/32": "144060", - "2600:1000:b1f0::/36": "22394", - "2602:fe87::/36": "399693", - "2401:4900:5930::/40": "45609", - "240e:967:e600::/36": "4134", - "2800:160:c167::/34": "14259", - "2804:17f0::/32": "263259", - "2804:28d8::/32": "263984", - "2800:160:1159::/42": "14259", - "2800:1a0::/32": "27933", - "2804:3740::/32": "266399", - "2a01:8840:3d::/48": "207266", - "2a02:26f7:dcc0::/48": "36183", - "2001:1388:5548::/36": "6147", - "2401:d800:b8e0::/39": "7552", - "2600:1007:d040::/40": "22394", - "2001:559:8102::/48": "7922", - "2403:8300:e04::/44": "204527", - "2610:a1:3070::/48": "12008", - "2804:151:61::/46": "10954", - "2804:b18:b050::/33": "52941", - "2a04:8b80::/29": "25151", - "2406:daa0:60a0::/44": "16509", - "2604:d600:1234::/47": "32098", - "2604:d600:2201::/36": "32098", - "2803:1800::/32": "27831", - "2a05:fa40::/29": "197524", - "2a07:2904::/32": "15585", - "2001:678:880::/48": "35332", - "2001:d38::/32": "2914", - "2401:3bc0:401::/38": "137409", - "2404:bf40:f201::/36": "139084", - "2409:8904:d2b0::/37": "24547", - "240e:5f::/33": "4134", - "2610:190:1c00::/38": "62", - "2a07:61c0::/29": "12329", - "2409:8752:700::/36": "56047", - "2600:380:7880::/39": "20057", - "2800:190:101::/44": "11664", - "2804:5694::/32": "268010", - "2804:62a4::/32": "269309", - "2a01:4020:15::/46": "213122", - "2a04:bc40:2dc1::/46": "35277", - "2604:39c0::/32": "396276", - "2a01:d0:1e::/38": "29632", - "2a03:780::/32": "59702", - "2001:559:403::/48": "33287", - "2403:9800:b017::/48": "4648", - "2406:da00:e000::/40": "16509", - "2600:100b:b1e0::/33": "6167", - "2804:4ac0::/32": "267261", - "2a04:3544:c000::/30": "202053", - "2404:c8::/47": "10217", - "2600:80c:1300::/40": "701", - "2600:1008:6000::/44": "6167", - "2a09:38c0::/29": "30823", - "2a0b:3dc0::/32": "43359", - "2408:8456:4a10::/42": "134543", - "2a02:c40::/46": "13000", - "2a03:25c0::/32": "41770", - "240a:a336::/32": "143472", - "240e:3ba:2c00::/35": "134774", - "2620:1d5:9::/45": "14773", - "2804:eb4::/32": "61890", - "2804:3138:d020::/34": "265000", - "2a04:4e40:4410::/41": "54113", - "240a:a855::/32": "144783", - "2602:80a:2004::/48": "398351", - "240a:a9f9::/32": "145203", - "2602:feb4:230::/44": "25961", - "2803:d400::/32": "52384", - "2804:5e0c::/32": "269008", - "2a07:8c00::/32": "208692", - "2001:579:e328::/41": "22773", - "2804:2634:1170::/32": "264332", - "2400:adc7:800::/39": "9541", - "240a:a10e::/32": "142920", - "240a:ab09::/32": "145475", - "240a:ac3d::/32": "145783", - "2600:1415:401::/36": "20940", - "2804:f8c:8100::/36": "263591", - "2a0c:ea40::/29": "200409", - "2408:845c::/31": "4837", - "2804:4040::/32": "265947", - "2804:4f28::/32": "268308", - "2a02:6100::/32": "34572", - "2407:ad80::/32": "45062", - "240a:ae23::/32": "146269", - "2600:6c38:d1d::/46": "20115", - "2600:9000:2031::/48": "16509", - "2a0b:d2c0::/29": "205452", - "240a:ad32::/32": "146028", - "2600:1017:b4d0::/44": "22394", - "2607:fc48:f004::/48": "40009", - "2a03:ac1::/32": "42953", - "2a09:bac0:133::/48": "395747", - "2a0b:11c0:20::/44": "198682", - "2a0b:2d40:eeef::/35": "209135", - "2001:df0::/48": "9431", - "2405:7700:a000::/35": "45352", - "2800:484:c600::/40": "10620", - "2a02:748:4000::/34": "29802", - "240a:a90f::/32": "144969", - "2607:f740:e00b::/48": "63911", - "2800:bf0:14b::/43": "27947", - "2a02:2010:2020::/45": "20978", - "2a02:26f7:df01::/46": "20940", - "2a04:2e80:8::/48": "25106", - "2001:678:12::/48": "197440", - "2400:8500:5701::/48": "58791", - "2605:6180::/32": "14340", - "2804:4290::/32": "267508", - "2a01:248::/32": "28792", - "2a01:5040:a000::/48": "43996", - "2a07:4140::/29": "50084", - "240a:a661::/32": "144283", - "2804:1e38:e001::/36": "264415", - "2a02:1390:9000::/40": "21351", - "2a04:c440::/34": "2047", - "2001:559:c31a::/48": "33657", - "2001:1248:96b9::/41": "11172", - "2400:f700::/32": "58451", - "2607:f6f0:201::/48": "54588", - "2804:5f0c::/32": "269073", - "2804:709c::/32": "270737", - "2001:4d98:2200::/35": "3303", - "2402:800:37fe::/36": "7552", - "2804:14c:6100::/40": "28573", - "2a09:ee00::/29": "200272", - "2a0c:100::/29": "206065", - "2a0f:ecc0::/29": "62167", - "2001:1a11:7c::/47": "42298", - "2406:8d40::/32": "138225", - "2604:da80::/32": "29886", - "2a02:f90::/32": "12886", - "2a03:db80:2c11::/46": "680", - "2a05:a1c0::/32": "201155", - "2400:dd03:1009::/46": "7497", - "2405:d400::/32": "9927", - "2600:1017:f800::/44": "22394", - "2804:13b8::/32": "263548", - "2a02:26f7:c401::/46": "20940", - "2407:ff80::/32": "135881", - "240a:ad0f::/32": "145993", - "240e:3bc:7800::/39": "4134", - "2800:200:f101::/40": "12252", - "2803:e360::/32": "264824", - "2804:59fc::/35": "268738", - "2a02:6460::/32": "201875", - "2001:559:c0ef::/48": "33660", - "2001:67c:530::/48": "42295", - "2404:2280:113::/48": "24429", - "2607:f0c8::/32": "21949", - "2803:19c0::/32": "264605", - "2a02:5640::/29": "9137", - "2600:141b:c801::/35": "20940", - "2a00:1188:1a::/29": "8455", - "2a0f:5707:aa8a::/45": "56382", - "2406:d140:8000::/34": "49544", - "2a01:8840:ca::/45": "12041", - "2804:1398::/47": "263541", - "2804:4024:ff00::/40": "265937", - "2a0e:b107:2b::/48": "208059", - "2001:16a2:4c00::/34": "25019", - "2407:400::/32": "17734", - "2a06:e40::/29": "31631", - "2001:470:9d::/42": "6939", - "2001:559:c15d::/48": "22909", - "2620:16d:3000::/32": "7862", - "2001:1248:97c5::/44": "11172", - "2607:380::/32": "27195", - "2001:559:206::/48": "7922", - "2001:559:c3d8::/48": "7016", - "2001:4430:6090::/36": "17853", - "2804:6d1c::/32": "270513", - "2a02:26f7:ec04::/48": "36183", - "2001:12d0:841::/40": "28571", - "240a:a0aa::/32": "142820", - "240a:a445::/32": "143743", - "2804:11c0::/32": "263436", - "2a01:650::/32": "30795", - "2a02:26f0:1c::/48": "31108", - "2a06:57c0::/29": "3214", - "2001:67c:2e68::/47": "62217", - "2407:ab00::/48": "45270", - "2a00:55a0:f900::/40": "9009", - "2a02:ee80:4196::/44": "3573", - "2a05:91c1::/48": "58016", - "2405:7100::/32": "38474", - "240a:a308::/32": "143426", - "2600:380:da00::/34": "7018", - "2001:ee0:9a40::/39": "45899", - "240e:280::/23": "4134", - "2604:a1c0::/32": "395466", - "2804:5e4c::/32": "269024", - "2a07:9a00::/29": "202605", - "2001:559:212::/47": "7016", - "2001:559:841e::/48": "33491", - "2001:1248:a560::/45": "11172", - "2806:240::/32": "14178", - "2a00:9a40::/32": "6819", - "2a01:8560::/32": "25376", - "2a02:e00:fff1::/44": "29141", - "2001:559:864b::/48": "7015", - "2001:fd8:34b0::/44": "4775", - "2804:2658::/32": "264328", - "240a:a7e4::/32": "144670", - "240e:473:5a50::/39": "4134", - "2804:6088::/32": "269173", - "240a:a0ec::/32": "142886", - "2804:1890::/32": "61940", - "2401:3c00:201::/48": "38322", - "2404:e100:3::/48": "55685", - "2801:80:ad0::/48": "52826", - "2806:230:302f::/36": "11888", - "2a01:5f20::/32": "56784", - "2a02:2440::/32": "33835", - "2001:559:845b::/48": "33287", - "2a02:2ad0:245::/46": "702", - "2a0f:ca86::/40": "208046", - "2a0f:e640::/29": "60781", - "2408:840c:b800::/40": "17621", - "2600:1014:f100::/44": "6167", - "2607:f368:320f::/48": "46846", - "2804:598::/32": "262526", - "2408:8459:4610::/42": "17623", - "2409:8c29::/29": "9808", - "2804:e94:800::/38": "262468", - "2806:20d:1d18::/46": "32098", - "2804:1f12::/32": "52950", - "2a02:26f7:d74d::/42": "20940", - "2a0d:d080::/29": "49054", - "2a00:4802:1b00::/37": "13124", - "2001:559:2bd::/46": "7015", - "2001:df0:24f::/48": "58436", - "2602:807:6005::/48": "399652", - "2804:2b30::/32": "262741", - "2804:3de4::/32": "266560", - "2804:6764::/32": "269625", - "2a00:1c10:fff0::/44": "50300", - "2a09:bac0:106::/47": "13335", - "2001:df0:25e::/48": "131159", - "2402:800:6249::/42": "7552", - "2604:8200:5::/48": "23089", - "2401:d800:97b0::/36": "7552", - "240a:a493::/32": "143821", - "2804:5f4c::/32": "269090", - "2a01:8840:79::/48": "207266", - "2a02:26f7:d648::/48": "36183", - "2a02:4544:e8::/46": "197207", - "2001:559:c020::/47": "7922", - "2402:800:9663::/43": "7552", - "2406:57c0:244::/46": "134672", - "2600:1407:18::/46": "20940", - "2604:bc0::/48": "8100", - "2620:144:a00::/32": "53692", - "2a02:26f7:eb88::/48": "36183", - "2001:67c:2cec::/48": "2686", - "2403:780:c000::/34": "64098", - "2406:d740::/48": "141449", - "240a:a615::/32": "144207", - "2600:1402:4001::/35": "20940", - "2804:1bd0::/32": "61752", - "2a01:6ee0::/32": "62214", - "2001:559:8116::/47": "7922", - "240e:473:7f50::/40": "4134", - "2803:ca80::/47": "263249", - "2804:621c::/32": "269276", - "2a02:26f0:1e::/42": "20940", - "2a02:26f0:74::/48": "34164", - "2001:559:3e2::/48": "7016", - "2001:559:8383::/48": "33659", - "2001:16a2:34::/46": "25019", - "2409:804c:25::/44": "9808", - "2606:4f00:6::/48": "19324", - "2a04:eac0::/29": "201878", - "2a10:2a80:ac::/48": "207727", - "2001:559:c11d::/48": "33662", - "2620:ed:4000::/48": "852", - "2804:62a8::/32": "269310", - "240a:a3a8::/32": "143586", - "2a0b:e42:1::/48": "205809", - "2001:dc7:5d78::/40": "24151", - "2a00:d60::/32": "29680", - "2a0f:8680::/29": "60781", - "2001:559:c0::/48": "21508", - "2409:8753:900::/38": "56047", - "2804:904::/32": "263046", - "2a02:26f7:f941::/46": "20940", - "2001:67c:211c::/48": "8447", - "2001:4430:c028::/35": "17853", - "2600:5000::/33": "7029", - "2001:678:4c4::/48": "48060", - "2001:67c:2344::/48": "200479", - "2001:44b8:2034::/48": "4739", - "2407:6bc0::/32": "63981", - "240a:a38f::/32": "143561", - "2607:f770::/32": "22958", - "2408:80ea:6480::/42": "17622", - "2600:6c38:242::/45": "20115", - "2604:a400:b000::/33": "11320", - "2804:4f58:4100::/32": "268321", - "2804:36a0::/35": "266360", - "2403:4200:401::/48": "58534", - "2408:8456:5240::/39": "17816", - "2a00:6d43:a00::/32": "31034", - "2a0d:60c1::/30": "208861", - "2803:9800:a893::/45": "11664", - "2804:ab0::/32": "52907", - "240a:a4e7::/32": "143905", - "2620:91:c004::/47": "54900", - "2a07:7e80::/29": "202870", - "2001:df1:3700::/50": "136324", - "2404:a800:7::/35": "9498", - "2602:fce2::/36": "398874", - "2804:27cc::/32": "53125", - "2a01:5cc0::/32": "51050", - "2001:559:82fb::/48": "7016", - "240a:a9a5::/32": "145119", - "2800:160:1ead::/43": "14259", - "2001:500:120::/48": "396549", - "2803:4460::/32": "3549", - "2a02:26f7:16::/48": "36183", - "2a06:1e00:70::/48": "60695", - "2a0f:6140:100::/44": "207599", - "2402:4400::/32": "44356", - "240a:a31c::/32": "143446", - "2602:feb4:a0::/44": "25961", - "2607:8200:8000::/36": "46691", - "2a00:1560:d::/48": "59771", - "2400:3200:babb::/33": "37963", - "2806:2f0:9681::/42": "17072", - "2405:6e00:620::/43": "18291", - "2607:f140:a001::/33": "25", - "2804:7344::/32": "270905", - "2001:67c:17e4::/48": "2119", - "2409:8915:1e00::/39": "56044", - "2a06:1c80::/31": "60011", - "2001:1328::/32": "1797", - "2408:8256:3997::/44": "17623", - "240e:438:5020::/43": "140647", - "2600:6c38:11c::/42": "20115", - "2607:f028::/48": "2158", - "2620:1d6:ff0::/46": "2571", - "2a04:4e40:f440::/44": "54113", - "2001:559:1f8::/47": "33659", - "2602:fd4a::/36": "53610", - "2801:1fc:10::/48": "27951", - "2001:500:14::/48": "42", - "2401:d800:94d0::/39": "7552", - "240a:aea7::/32": "146401", - "2804:3ec8::/46": "266620", - "2408:8001:3000::/44": "17816", - "2604:d600:61b::/45": "32098", - "2a0c:9a40:808c::/48": "53356", - "2001:4c00:893b::/48": "197835", - "2606:6c00:102::/48": "32787", - "2a02:2a70:20::/32": "702", - "2001:df2:ac00::/48": "134073", - "2402:800:348d::/43": "7552", - "2600:1a0e:ce12::/31": "46650", - "2801:0:90::/48": "28109", - "2804:3288:7100::/32": "52827", - "2a01:7d60::/32": "50181", - "2a0f:2700:10::/48": "60781", - "2001:559:827d::/48": "7015", - "240e:979:6f00::/35": "4134", - "2604:8380:2c00::/35": "29802", - "2a09:bd00:ffca::/48": "8985", - "2001:559:85ac::/48": "7922", - "2001:c50::/32": "9924", - "2404:8000:81::/44": "17451", - "2607:d500:200::/47": "54527", - "2a02:2ad8:10d::/43": "702", - "2001:579:90fd::/39": "22773", - "2409:801a::/29": "132525", - "2620:121:5000::/46": "36351", - "2a00:1558::/32": "29311", - "2001:559:8518::/42": "7015", - "240a:a881::/32": "144827", - "2804:1a54::/34": "61854", - "2001:559:26e::/48": "7922", - "2001:67c:2248::/48": "31382", - "2001:4830:c601::/36": "27552", - "2600:9000:2159::/42": "16509", - "2806:370:53c0::/44": "28403", - "2a01:b1c0::/32": "48200", - "2401:ff80:1583::/45": "133954", - "2600:1406:1601::/36": "20940", - "2605:e4c0::/32": "63394", - "2804:32b8::/32": "265095", - "2a00:1498::/32": "8832", - "2001:df5:9600::/48": "135480", - "2a0f:305::/30": "398559", - "2a0f:4507:8000::/33": "204506", - "2001:57a:8202::/35": "22773", - "240a:a317::/32": "143441", - "2605:9d80:9003::/48": "4809", - "2800:160:1a57::/42": "14259", - "2804:2f94::/32": "264900", - "2a02:26f7:b688::/48": "36183", - "2a02:2748::/32": "49779", - "2403:8940::/45": "135817", - "2620:12d:5002::/44": "55128", - "2a07:76c0:2::/48": "29107", - "2a0e:3c0::/29": "553", - "2001:370::/44": "9607", - "2604:c380::/32": "25853", - "2a02:26f7:c894::/48": "36183", - "2a07:a343:bc70::/44": "9009", - "2a0b:e740::/29": "47787", - "2a04:6543::/32": "200168", - "2001:559:c0c6::/48": "33657", - "240e:925::/36": "132147", - "2602:feb4:1f0::/38": "25961", - "2804:adc::/32": "52927", - "2804:428c::/32": "267507", - "2806:2f0:12::/42": "17072", - "2a02:2e02:2b00::/37": "12479", - "2a0c:1d03::/32": "39614", - "2a0f:c082::/32": "16262", - "2a02:f700::/29": "12812", - "2001:4490:d080::/46": "9829", - "2402:7780:2::/32": "132933", - "2402:a1c0::/32": "137526", - "240e:108:1003::/44": "4134", - "240e:3b9:7800::/39": "4134", - "2606:2980:1000::/40": "26344", - "2a00:cd80:8000::/33": "30778", - "2406:9c40:2002::/32": "55366", - "2409:8b20::/29": "9808", - "2801:16e::/48": "19429", - "2a00:1ca8:57::/40": "50673", - "2a10:fa00::/29": "52193", - "2001:16d8:c006::/43": "16150", - "2402:e380:115::/44": "139073", - "2605:4480::/32": "21624", - "2804:16c::/32": "28309", - "2804:6944::/32": "270259", - "2402:3a80:1a20::/41": "38266", - "2001:648:2303::/42": "5408", - "2407:9540::/32": "142435", - "2800:160:1938::/41": "14259", - "2803:4c60:8::/32": "267845", - "2a00:43e0::/32": "60975", - "2c0f:f738:3801::/46": "61317", - "2804:d18::/32": "52599", - "2a01:4540::/29": "199554", - "2a02:2098::/29": "47314", - "2a0b:e540::/32": "205311", - "2001:4878:a102::/48": "12222", - "2401:d800:2690::/42": "7552", - "2602:feda:1bf::/48": "133846", - "2804:65ec::/37": "269523", - "2804:6c48::/32": "270457", - "2001:550:5c07::/48": "15235", - "2001:559:548::/48": "33657", - "2001:559:8270::/48": "7016", - "2001:fa8::/32": "4697", - "240a:a7c3::/32": "144637", - "240a:a835::/32": "144751", - "2604:dbc0::/32": "21777", - "2001:4da8:c010::/44": "207564", - "2406:24c0::/44": "136634", - "2605:a404:41::/44": "33363", - "2806:2f0:30c1::/46": "17072", - "2a0d:a1c0::/29": "42695", - "2a0e:b107:12d5::/48": "211358", - "2001:559:3a4::/48": "33287", - "2001:67c:298::/48": "51307", - "2001:4878:a151::/48": "12222", - "240e:84c:40::/44": "140345", - "2605:a000:70e::/48": "11955", - "2001:448a:50b0::/41": "7713", - "2402:800:9101::/44": "7552", - "240a:aa08::/32": "145218", - "2800:440:240::/48": "27738", - "2620:0:440::/48": "10146", - "2804:247c::/32": "264226", - "2804:636c:2000::/35": "269360", - "2804:6464::/32": "262725", - "2806:230:100b::/48": "11888", - "2a10:bcc0::/29": "211597", - "2001:67c:2b88::/48": "51200", - "2a04:ee40::/29": "15796", - "2001:559:c14c::/47": "7015", - "2a0b:2a40::/32": "29423", - "2a0c:8540:10::/47": "42198", - "2001:dea:4001::/48": "7615", - "2403:300:a31::/48": "714", - "240a:a900::/32": "144954", - "2a02:530:23::/44": "21191", - "2a02:2308::/43": "29028", - "2400:9380:9121::/48": "4809", - "2401:4800:2011::/48": "38457", - "2404:d200::/35": "9797", - "2602:fda4::/36": "27228", - "2603:b0af::/25": "11796", - "2804:8c8::/32": "262393", - "2600:6c38:831::/44": "20115", - "2a07:a880:3101::/48": "3399", - "2a0f:7540::/48": "49239", - "2a0f:cd00::/29": "44885", - "2001:df0:43::/48": "38629", - "2600:1003:a010::/40": "22394", - "2607:fd68::/32": "7029", - "2001:fb1::/39": "17552", - "2409:8050:1800::/47": "56047", - "2806:370:1280::/44": "28403", - "2a01:70::/32": "25098", - "2a02:26f7:7e::/48": "36183", - "2a03:f80:385::/48": "25467", - "240a:a157::/32": "142993", - "2806:230:2016::/48": "265594", - "2a00:1370::/32": "25513", - "2a06:4101::/32": "394094", - "2001:1388:2f0a::/45": "6147", - "2404:c900:8::/46": "58682", - "2604:3b80::/34": "31857", - "2800:160:16a8::/46": "14259", - "2804:3a7c::/32": "266092", - "2a00:8b00::/32": "35154", - "2001:559:c042::/48": "33491", - "2607:f6f0:d000::/40": "12085", - "2a01:b740:a11::/45": "714", - "2a09:4c2:27::/48": "207317", - "2001:559:3a9::/48": "7922", - "2001:df3:e000::/48": "13214", - "2403:80::/32": "134623", - "240e:978:e00::/40": "4134", - "2620:79::/46": "30013", - "2804:810c::/32": "272428", - "2803:6fa0:100::/48": "267790", - "2a0a:5400::/29": "49010", - "2a0d:9b00::/32": "207498", - "2001:678:3b4::/48": "49855", - "2401:f000:2:100::/56": "38477", - "2402:8100:2110::/44": "45271", - "2600:7800::/28": "22646", - "2603:c001:1c10::/34": "31898", - "2620:134:6004::/47": "397726", - "2a0a:a3c0::/40": "41955", - "2001:559:80a6::/48": "33659", - "2400:0:860::/44": "4766", - "2409:8924:1900::/37": "56046", - "2804:6590::/32": "269500", - "2a00:f826:4::/46": "34549", - "2a0b:d240::/32": "47886", - "2a0d:ca47:2::/48": "49423", - "2a03:6e0:8000::/33": "197284", - "2001:df5:2c00::/48": "59115", - "2409:8c20:816::/44": "56046", - "240a:a9cb::/32": "145157", - "2804:7c2c::/32": "271480", - "2a00:b300::/32": "8613", - "2a02:26f7:d8c0::/48": "36183", - "2a02:26f7:e1c9::/42": "20940", - "2001:da8::/38": "23910", - "2402:800:7da0::/41": "7552", - "2604:a300::/32": "17056", - "2804:14c:9b00::/40": "28573", - "2a02:6aa0::/32": "200081", - "2a0e:b107:550::/48": "207317", - "2001:559:5bf::/48": "33659", - "2406:4440:f00::/40": "38008", - "2600:6c18::/30": "20115", - "2604:d040::/32": "396879", - "2803:cc60::/32": "267846", - "2a00:dc0::/32": "39560", - "2a05:e740:45::/46": "29108", - "2600:1900:4160::/44": "396982", - "2804:3ed0:1240::/32": "266622", - "2a02:26f7:c480::/48": "36183", - "2c0f:ed68::/32": "328170", - "2001:559:c08b::/48": "33491", - "2401:e800::/32": "24173", - "240e:473:6d50::/40": "4134", - "2a10:ccc2:12::/44": "35619", - "2a02:26f0:d2::/47": "20940", - "2400:8500:d29d::/48": "7506", - "2c0f:f5c0:443::/40": "29465", - "2402:8c00:9::/48": "17753", - "2600:3001:25::/46": "13649", - "2804:3848::/32": "266467", - "2a01:98::/32": "8190", - "2001:fb0:109f:8005::/64": "15133", - "240e:d9:a800::/37": "38283", - "240e:67f:e600::/24": "4134", - "2804:6708::/32": "269599", - "2a00:4040::/48": "48426", - "2a00:c780::/32": "15557", - "240e:3b0:2800::/38": "4134", - "2620:116:8084::/48": "27281", - "2a09:2740::/29": "209536", - "2401:1400::/32": "9297", - "2605:fb80:e000::/43": "16584", - "2804:4fac::/32": "268342", - "2001:67c:2a84::/48": "204847", - "2401:be00::/48": "23724", - "2409:8087:200::/40": "38019", - "2600:140b:a401::/36": "20940", - "2800:160:12be::/41": "14259", - "2804:1b2:8000::/34": "18881", - "2804:2278::/32": "264103", - "2a0b:2900:1000::/38": "48582", - "2a0c:cf00::/29": "205002", - "2001:df2:4e80::/48": "139849", - "2405:1c0:6661::/45": "135062", - "240a:a13f::/32": "142969", - "2a00:4800:f0::/39": "13124", - "2a00:7240::/30": "16234", - "2a0f:d00::/32": "41114", - "2600:9000:2208::/47": "16509", - "2606:2800:4014::/48": "15133", - "2a02:2878:8000::/34": "62310", - "2a0d:2581:8::/47": "209261", - "2001:559:4db::/45": "7015", - "2804:2128::/32": "264539", - "2001:67c:22ec::/48": "197874", - "2605:6c80:3::/48": "13768", - "2a00:1598::/29": "29518", - "2a0f:5707:ab2d::/48": "13830", - "2a0f:c540::/29": "42487", - "2001:67c:200::/48": "51038", - "2607:fcd0:fa80:1201::/55": "8100", - "2a0c:5240::/32": "208861", - "2001:430::/32": "7332", - "2001:559:c031::/48": "33659", - "2001:fb0:10a3::/32": "7470", - "2403:5400::/35": "38450", - "240e:9f:d800::/26": "4134", - "2600:1406:2a01::/39": "20940", - "2606:2800:601b::/45": "15133", - "2401:f000:2::/56": "23838", - "2402:800:3555::/42": "7552", - "2409:8904:6870::/40": "24547", - "2600:1404:9401::/36": "20940", - "2001:550:3d06::/44": "174", - "2001:df4:2600::/48": "132398", - "2406:daa0:9080::/44": "16509", - "2600:6c39:233::/44": "20115", - "2602:fd46::/36": "398328", - "2803:af00::/32": "52453", - "2a0f:7c40::/29": "14037", - "2001:67c:1354::/48": "212469", - "2409:8052:1100::/37": "9808", - "2409:8c28:88f1::/39": "56041", - "240e:438:7040::/38": "4134", - "2602:fe41::/36": "393434", - "2a02:13b0:1::/48": "48635", - "2a0b:b86:100::/40": "34641", - "2400:ac40:ab0::/39": "136255", - "2404:e280::/47": "58866", - "2408:8026:390::/37": "17621", - "2804:46b8::/32": "267007", - "2806:2f0:92a2::/41": "17072", - "240e:fe:2000::/33": "134774", - "2600:1014:b1e0::/33": "22394", - "2800:190:7::/44": "11664", - "2001:c20:489a::/48": "9255", - "2400:ca00:1fc::/30": "23688", - "2407:cc00::/32": "6660", - "2620:1e0:111::/46": "10801", - "2804:81d8::/32": "272480", - "2a0f:ea80::/32": "60144", - "2408:80e2::/33": "4837", - "2804:160c::/33": "263264", - "2a0c:89c0::/29": "43260", - "2001:44b8:3086::/48": "7545", - "2804:1e2c:1000::/40": "264412", - "2a02:26f7:b900::/48": "36183", - "2001:1598::/32": "28747", - "2604:f340:1::/46": "398736", - "2a03:f000::/30": "25472", - "2402:3a80:1b68::/40": "38266", - "2a01:9f60::/32": "34139", - "2a0a:640::/32": "34762", - "2001:559:c318::/48": "33651", - "2001:678:374::/48": "52003", - "240e:37c:aa00::/39": "140330", - "2804:4d80::/32": "268200", - "2804:738c:c002::/44": "270922", - "2a00:64a0::/32": "44099", - "2a02:24e8::/29": "21040", - "2a0b:14c0:2::/48": "61273", - "2402:8100:14::/48": "38266", - "2408:8956:12c0::/39": "17816", - "240a:ae2d::/32": "146279", - "2605:8000:8901::/33": "4261", - "2a03:7000::/32": "28997", - "2a09:ea00::/48": "16509", - "2a0d:5d40::/32": "210094", - "2403:0:206::/47": "4755", - "2606:5940::/32": "399599", - "2607:f928:16::/48": "22645", - "2804:4850:200::/32": "267113", - "2001:550:1d06::/38": "174", - "2602:feda:d51::/48": "141712", - "2a01:758:ffe1::/44": "3326", - "2a02:26f7:f580::/48": "36183", - "2a0c:a6c0:1::/48": "21473", - "2602:feda:d6e::/47": "212034", - "2604:2a40::/32": "62943", - "2408:8956:9d00::/40": "17816", - "2a00:1588:d801::/46": "36040", - "2a0b:340::/32": "43886", - "2401:9d00:2::/39": "9835", - "2602:fd50:10::/48": "207609", - "2804:c90:2::/37": "28198", - "2a03:6947:c00::/40": "12400", - "2a05:9280::/32": "31019", - "2a10:e800:3::/48": "204170", - "2001:559:c015::/44": "7922", - "2001:67c:2850::/48": "212894", - "240e:3b1:ac00::/35": "4134", - "2a00:1651::/33": "213277", - "2001:559:8449::/48": "33659", - "2406:e001:f000::/36": "23655", - "240a:ad7c::/32": "146102", - "2600:1407:15::/46": "20940", - "2600:140f:2a00::/48": "9498", - "2602:fe10::/36": "394119", - "2602:fed2:7107::/48": "205096", - "2a07:3500:1200::/48": "38915", - "2800:484:5c00::/39": "10620", - "2806:230:2020::/48": "265594", - "2001:559:195::/48": "33666", - "2804:4950::/32": "267177", - "2001:550:2606::/48": "174", - "240a:a3b5::/32": "143599", - "2a0a:4900::/29": "49425", - "2001:1248:5672::/40": "11172", - "2600:6000:fcfe::/39": "12271", - "2803:80:1005::/32": "61317", - "2a0e:73c0::/29": "208478", - "2001:579:cec0::/39": "22773", - "2409:8c14:3c00::/32": "56044", - "240a:a33a::/32": "143476", - "2606:e480:200::/39": "55083", - "2a00:c8a0::/29": "48057", - "2a02:26f0:b::/43": "20940", - "2001:559:c30b::/48": "33659", - "2401:d800:2a40::/42": "7552", - "2408:8656:2f00::/35": "17816", - "2804:195c::/32": "61790", - "2a01:8280:3330::/48": "202818", - "2a10:7500::/29": "398559", - "2402:f700::/34": "23907", - "2409:8904:59b0::/38": "24547", - "240e:97d::/36": "134763", - "2602:fe3a:8::/48": "20119", - "2804:1b3:8080::/36": "18881", - "2a00:65e0::/32": "198947", - "2a0e:f2c0::/29": "205243", - "2804:455c::/32": "266921", - "2001:559:840b::/48": "7016", - "2001:559:c3f4::/48": "7015", - "2403:6000:801::/39": "24085", - "2408:8459:9010::/42": "17623", - "2409:806b:5b00::/37": "9808", - "240e:109:802b::/41": "4134", - "2607:9b80:a00::/43": "46558", - "2a02:d6a0::/30": "20692", - "2a0c:580::/29": "210107", - "2001:e00::/31": "4795", - "2604:fc80::/32": "33438", - "2803:e0e0:1ff::/48": "269852", - "2a02:26f7:ee8c::/48": "36183", - "2c0f:f588::/32": "327966", - "2404:e840::/32": "131949", - "2409:8c28:802::/39": "56041", - "240a:a66c::/32": "144294", - "2a02:e982:32::/48": "19551", - "2a0c:4b80::/29": "204810", - "2001:67c:1508::/48": "47692", - "240e:44d:7a80::/41": "4134", - "2001:19d0::/37": "2044", - "2607:fb90:d100::/38": "21928", - "2804:204::/38": "28186", - "2804:91c::/32": "52877", - "2a0a:b707:aaa2::/48": "20473", - "240e:108:91::/48": "140061", - "240e:390::/26": "4134", - "2a07:9380::/32": "50840", - "2001:1938:3000::/45": "33438", - "2001:4000::/32": "8565", - "2402:800:9d0f::/43": "7552", - "2001:1248:982c::/43": "11172", - "2a00:df80::/47": "12301", - "2a02:26f7:21::/48": "20940", - "240e:438:4640::/36": "4134", - "2a00:16f8:11::/32": "6461", - "2a02:26f7:e8c1::/46": "20940", - "2001:4408:4801::/40": "4758", - "2400:cb00:281::/45": "13335", - "2408:8856:8100::/40": "134543", - "2600:1001:b0d0::/44": "6167", - "2600:6c34:381::/48": "33588", - "2804:2c88::/32": "265225", - "2a02:26f7:44::/48": "36183", - "2a02:13a0::/32": "12519", - "2a02:28f0::/29": "44136", - "2600:6c46::/32": "20115", - "2a01:870::/32": "21334", - "2001:559:8111::/48": "33491", - "2001:44b8:30c7::/48": "7545", - "2a02:26f0:eb::/45": "20940", - "2607:f8e8::/32": "46208", - "2a0b:7b00::/29": "206593", - "2400:0:500::/38": "4766", - "240a:ad78::/32": "146098", - "2620:1ec:1e::/42": "8075", - "2a00:d40:10a::/48": "2597", - "2a03:9aa0::/32": "203646", - "2605:2880::/48": "18907", - "2406:6200::/37": "23756", - "2600:100f:b000::/41": "6167", - "2620:78:c000::/48": "62692", - "2804:11e0::/32": "263445", - "2a01:198:ff00::/40": "60781", - "2a02:26f7:b780::/48": "36183", - "2a03:e140:32::/48": "48327", - "2407:2440:1::/48": "139057", - "240a:aad3::/32": "145421", - "2605:a7c0:100::/48": "14618", - "2804:eec:1302::/36": "28226", - "2a03:37e0::/32": "197898", - "2401:c5c0::/47": "55492", - "2403:bc80::/32": "133882", - "2620:11a:a033::/45": "36040", - "2001:df4:200::/47": "2", - "2400:dcc0:af04::/33": "38631", - "2408:80ea:7500::/41": "17816", - "240e:3b1:1400::/38": "134773", - "2604:5400:4000::/38": "11776", - "2804:56a0::/32": "268013", - "2001:67c:2e8c::/48": "8881", - "2404:f4c0:f200::/46": "139589", - "240a:ab15::/32": "145487", - "2600:1405:9001::/34": "20940", - "2804:150::/32": "10954", - "2804:389c::/32": "266489", - "2a0c:58c0::/29": "205254", - "2001:559:83bd::/48": "7015", - "2001:c10:ff07::/44": "7473", - "2a02:26f7:c284::/48": "36183", - "2a02:4640::/32": "25542", - "2001:559:c29f::/42": "33657", - "2404:1f00:ffb5::/41": "55947", - "240a:a220::/32": "143194", - "2600:3001:1111::/30": "13649", - "2620:13:a000::/48": "395651", - "2a03:5880:105::/32": "12757", - "2001:df1:ba00::/48": "45259", - "2801:1c8:301::/48": "19429", - "2803:7200:8019::/45": "27696", - "2a0a:f9c5::/32": "42375", - "2a0c:ac80::/29": "201863", - "2001:559:3fe::/48": "7922", - "2001:4398::/32": "328411", - "2600:140f:c400::/48": "9498", - "2604:1380:1000::/34": "54825", - "2a0b:9380:21::/32": "206002", - "2801:0:1b0::/48": "16701", - "2a02:768::/32": "44489", - "2a0d:9b80:fe::/47": "43519", - "2001:67c:2e18::/48": "50407", - "2600:140f:a400::/48": "9498", - "2600:1a0f:2001::/32": "46650", - "2605:2040::/32": "396040", - "2a0a:cd00:1::/48": "50166", - "2c0f:ebb0::/39": "43256", - "2804:4934::/32": "267170", - "2001:559:8535::/48": "21508", - "2402:a300:3e6::/44": "55427", - "240e:40:c::/48": "58519", - "2602:801:c00f::/48": "3356", - "2a10:2f40::/32": "49824", - "2a02:ae0::/32": "8375", - "2001:254::/33": "24489", - "2001:1248:a002::/48": "11172", - "2001:16a2:360a::/43": "25019", - "2402:800:970f::/43": "7552", - "2404:5600::/32": "23700", - "2607:3a80:26::/32": "395100", - "2804:1b8c::/32": "61734", - "2a0d:2146:9900::/40": "56894", - "240a:a44d::/32": "143751", - "2804:190:240::/40": "53165", - "2804:44c4::/32": "267652", - "2001:550:1802::/48": "29727", - "2001:df0:44::/48": "17990", - "2401:47c0:1700::/36": "41095", - "2401:ca40::/32": "136978", - "240a:a3f4::/32": "143662", - "240a:a6dc::/32": "144406", - "2804:1e58:4::/33": "264422", - "2a06:3880::/29": "49981", - "2001:559:465::/48": "7922", - "2804:20f8:1100::/32": "264524", - "2a0d:2800::/29": "25003", - "2001:67c:28ac::/48": "25400", - "2001:1a40:c::/32": "5416", - "240e:7c0::/20": "4134", - "2a00:b900::/46": "51561", - "2001:559:85f0::/48": "33657", - "2001:67c:10e8::/48": "199220", - "2404:8000:1025::/40": "17451", - "2408:84f3:e840::/38": "17816", - "240e:438:240::/37": "4134", - "2600:1017:b030::/40": "6167", - "2a06:4000::/29": "204151", - "2001:559:43a::/48": "33657", - "2001:df7:6880::/48": "133296", - "240a:a359::/32": "143507", - "2804:75e8::/32": "271077", - "2a0e:97c0:252::/44": "211685", - "2001:388:608d::/35": "7575", - "240e:3bf:ec00::/35": "140314", - "2401:b0c0:1011::/36": "136941", - "240a:a119::/32": "142931", - "240a:a4e9::/32": "143907", - "2a0a:1980::/29": "206782", - "2001:67c:25c::/48": "51188", - "2406:e480::/32": "135371", - "2408:8456:3850::/39": "17816", - "240a:a4b2::/32": "143852", - "2620:3e:a000::/48": "393802", - "2001:559:5f9::/48": "33491", - "2001:67c:1b08::/48": "2598", - "240a:a82d::/32": "144743", - "240a:ad7b::/32": "146101", - "240e:473:1e50::/39": "4134", - "2602:ffe4:c3b::/45": "21859", - "2400:cb00:180::/47": "13335", - "2409:4043:1000::/34": "55836", - "240a:a042::/32": "142716", - "2a01:b740:a1e::/48": "6185", - "2a0c:b641:720::/47": "207363", - "2a0e:b107:a00::/44": "213215", - "2001:559:8563::/48": "33659", - "240a:add2::/32": "146188", - "2a02:970:1177::/44": "44002", - "2a0e:b107:9c0::/44": "213171", - "2001:678:a04::/48": "3320", - "2001:1248:564d::/43": "11172", - "2405:2500:5::/48": "136566", - "2800:c00::/47": "18747", - "2803:6b60::/32": "269806", - "2001:1900:2368::/40": "3356", - "2605:3600:11::/48": "20034", - "2607:fc48:808::/48": "40009", - "2800:9a0:2100::/35": "14522", - "2806:370:4180::/44": "28403", - "2c0f:f980:2000::/33": "33763", - "2001:559:296::/48": "7922", - "2400:fc00:4022::/44": "45773", - "2409:8053:1900::/37": "9808", - "2804:41fc::/32": "267470", - "2a02:d300::/29": "15595", - "2a04:4e40:4e10::/42": "54113", - "240e:3b4:7800::/39": "4134", - "2604:bc40:6000::/48": "14618", - "2800:160:1acf::/43": "14259", - "2804:3e60::/39": "266592", - "2001:559:840a::/48": "33287", - "2600:387::/44": "20057", - "2605:c540:c002::/48": "398378", - "2804:368c::/32": "266355", - "2a02:26f7:b851::/42": "20940", - "2a0b:3e00::/32": "14076", - "2600:1006:b100::/42": "6167", - "2620:74:49::/45": "7342", - "2a01:64c0::/32": "45012", - "2a0b:2180::/48": "206502", - "2a0e:97c5:6dc::/46": "20473", - "2c0f:f348::/44": "24757", - "2001:579:926c::/40": "22773", - "240e:108:1162::/44": "4134", - "2606:a000:708::/36": "11426", - "2a02:5340::/48": "12552", - "2001:fb0:10a2::/48": "55451", - "2402:8100:25c0::/43": "45271", - "2804:7e00::/32": "271596", - "2a02:20::/32": "9026", - "2001:559:81ce::/48": "7016", - "2406:8dc0:2400::/40": "141173", - "2409:8914:1500::/38": "56044", - "240a:abd7::/32": "145681", - "240a:a5ba::/32": "144116", - "240a:af3e::/32": "146552", - "240e:1e:4000::/36": "140313", - "2a04:4e40:610::/41": "54113", - "2a03:5f80::/46": "31500", - "2001:16a2:c0e4::/44": "39386", - "2406:2000:a1::/46": "10310", - "240e:44d:6700::/41": "140345", - "2801:80:b00::/48": "61789", - "2804:2378::/32": "264164", - "2a00:aca0::/32": "49223", - "2a01:b2e0::/29": "60781", - "2401:380::/32": "17907", - "2402:3a80:c041::/48": "38266", - "2402:f880::/32": "64056", - "2405:800::/46": "7545", - "2620:f3::/48": "30286", - "2001:559:c06e::/47": "7015", - "2a01:488:bb0c::/48": "20773", - "2a06:9080::/32": "203271", - "2a0f:8400::/32": "208210", - "240e:108:1081::/44": "4134", - "2a01:c50f:37c0::/36": "12479", - "2a04:7bc0::/29": "47232", - "2607:4e00::/32": "10674", - "2804:1eb0::/32": "264444", - "2a04:4280:10::/48": "43260", - "2a04:4e40:1a00::/48": "54113", - "2001:559:808b::/45": "7922", - "2800:2a0:ffff::/48": "27947", - "2a0a:de80::/32": "206605", - "2a0e:f600:2e::/29": "60781", - "2a11:5b00::/32": "62269", - "2001:c38:9000::/44": "9931", - "2001:b400:e000::/36": "17421", - "2800:160:17a7::/44": "14259", - "2804:4a48::/32": "267229", - "2a0e:1000::/29": "60989", - "2001:678:454::/48": "1257", - "2401:d800:470::/40": "7552", - "2405:f080:810::/44": "136907", - "2804:3af0::/32": "266119", - "2804:6688::/32": "269566", - "2a01:5043:2eff::/48": "202196", - "2a02:2010:2610::/45": "20978", - "2a04:8480::/30": "196714", - "2409:8000:5a00::/40": "56048", - "240a:a1c4::/32": "143102", - "240a:a3ba::/32": "143604", - "240e:108:1140::/47": "134768", - "2604:d600:1517::/44": "32098", - "2a00:8280::/32": "45011", - "2a02:b000::/23": "1267", - "2800:381:5152::/32": "10834", - "2001:1248:8749::/43": "11172", - "2001:4b18::/32": "20746", - "2408:8957:efc0::/35": "17622", - "2a03:aec0::/32": "199408", - "2a0c:abc0::/29": "212961", - "2a0f:5707:aa30::/44": "207306", - "2001:67c:4d4::/48": "30887", - "2001:df5:2680::/48": "138708", - "2409:4055:5000::/30": "55836", - "2804:238:a::/45": "23106", - "2001:579:cf04::/46": "22773", - "2001:4490:4e94::/46": "9829", - "2620:135:6000::/41": "22697", - "2800:160:1c4f::/43": "14259", - "2a0a:54c1:28::/47": "9053", - "2a0c:9a40:c002::/36": "209022", - "2a0e:97c5:760::/43": "20473", - "2001:ce0:5::/48": "4158", - "2408:84f3:e240::/37": "17816", - "240e:979:1000::/36": "4134", - "2607:f910::/32": "31753", - "2803:b6a0::/32": "266905", - "2804:7410::/32": "270956", - "2a07:78c0::/29": "211769", - "2600:1403:6001::/38": "20940", - "2602:ff95::/36": "19194", - "2610:a1:1072::/48": "397218", - "2620:b8:8000::/48": "15199", - "2a00:e40::/32": "9127", - "2001:218:2003::/39": "2914", - "2001:253:129::/48": "142095", - "2001:559:782::/45": "7015", - "2804:76e0::/32": "271140", - "2a00:10a0:b::/48": "51305", - "2a02:578:3c00::/33": "9031", - "2001:559:420::/48": "20214", - "2001:559:80e3::/48": "33659", - "2408:8256:3176::/48": "17816", - "240e:473:1320::/41": "140486", - "2600:8807:3a20::/39": "22773", - "2606:7e80::/36": "33695", - "2a03:3e00::/32": "50469", - "2a04:e802:12::/44": "57976", - "2001:cd8:4781::/32": "4780", - "2404:f801:8020::/48": "45139", - "2406:c300::/32": "137253", - "240e:67b:1000::/37": "140330", - "240e:67e:1800::/32": "4134", - "2607:f750:5000::/40": "23473", - "2804:4a1c:1000::/32": "267219", - "2001:1221::/48": "28496", - "2804:4808:8000::/33": "267093", - "2001:559:8516::/48": "33657", - "2405:1c0:6683::/39": "55303", - "2409:8028:3100::/37": "9808", - "240a:aa9f::/32": "145369", - "2602:800::/44": "397614", - "2a01:6500:a054::/29": "42925", - "240a:ae35::/32": "146287", - "2600:7000::/24": "6939", - "2607:5300::/32": "16276", - "2620:90::/48": "174", - "2402:1840::/32": "45355", - "2600:100f::/32": "22394", - "2a00:f10:300::/32": "48635", - "2a02:26f7:e609::/42": "20940", - "2001:678:de0::/48": "21158", - "240a:a9df::/32": "145177", - "2804:3530::/32": "266273", - "2806:2f0:24a4::/43": "22884", - "2a02:26f7:f348::/46": "36183", - "2a02:9009:201::/27": "3352", - "2409:8d03::/29": "9808", - "2001:978:90a::/38": "174", - "2604:a840:8::/48": "6233", - "2801:1a:2800::/48": "269977", - "2804:48f0::/32": "61589", - "2806:2f0:3444::/42": "17072", - "2a0b:2200::/29": "39806", - "2a0d:2c40::/29": "207146", - "2001:559:8251::/46": "7922", - "240e:967:9400::/38": "133776", - "2600:370f:5062::/43": "32261", - "2604:f980:4500::/44": "19957", - "2804:248c:4000::/34": "264229", - "2a00:47c0:311::/48": "27435", - "2a01:b747:4f2::/44": "714", - "2401:ff80:1c13::/40": "133954", - "2604:1d40:2000::/36": "30612", - "2804:30d0::/32": "264974", - "2001:1248:8431::/44": "11172", - "2804:141c::/32": "53130", - "2804:54ec::/32": "268678", - "2806:203::/32": "13999", - "2a01:53c0:ff0a::/43": "54994", - "2a0e:6540:b0::/48": "208364", - "2001:559:8338::/48": "33657", - "2001:678:dc8::/48": "213032", - "2400:cb00:380::/46": "13335", - "240e:104::/33": "4134", - "2600:1007:d0d0::/34": "22394", - "2804:19a8::/32": "61810", - "2a02:a98::/32": "42017", - "2001:ee0:3c40::/33": "45899", - "2804:68::/32": "53070", - "2a04:c700::/48": "34499", - "2408:8256:2f8d::/48": "17816", - "240a:a5f2::/32": "144172", - "2600:1402:17::/44": "35994", - "2600:6c38:c2d::/46": "20115", - "2620:0:e58::/48": "3677", - "2803:5e40::/32": "52510", - "2a03:5f00:10b::/36": "29644", - "2001:df6:8000::/48": "10014", - "2600:805:808::/48": "33172", - "2600:1000:9f00::/44": "6167", - "2600:100c:f010::/31": "22394", - "2a05:9c00::/29": "47626", - "2a07:8144::/36": "203926", - "2001:559:8337::/48": "13367", - "2404:4600::/46": "10158", - "2409:8052:3000::/47": "56047", - "2606:6c00:100::/48": "32787", - "2620:22::/48": "53355", - "2804:e64::/39": "262952", - "2a02:26f7:b885::/46": "20940", - "2001:67c:2fe4::/48": "9002", - "2409:8e79::/24": "9808", - "2806:261:300::/57": "13999", - "2a02:26f7:ef44::/48": "36183", - "2001:559:574::/48": "33657", - "2a02:26f0:bd00::/48": "34164", - "2a04:3800::/48": "44417", - "240a:a737::/32": "144497", - "2804:3e64::/32": "266593", - "2404:8000:31::/41": "17451", - "2600:1480:1000::/40": "33905", - "2001:44b8:30a3::/48": "4739", - "2404:f4c0::/46": "17920", - "2408:8256:3291::/48": "17816", - "240e:44d:3700::/41": "140345", - "2a02:26f7:c385::/46": "20940", - "2001:559:8566::/48": "7015", - "2001:df0:218::/48": "38830", - "2001:df0:5080::/48": "136379", - "2404:4600:9::/48": "7625", - "2605:a401:8369::/40": "33363", - "2804:130c:200::/32": "263512", - "2a04:2bc0::/32": "207133", - "2408:8957:eb00::/40": "17816", - "240a:a53a::/32": "143988", - "2804:4578::/32": "266928", - "2a03:b2c6::/31": "40676", - "240a:a549::/32": "144003", - "2606:2cc0::/46": "54113", - "2620:149:a22::/48": "6185", - "2804:6e40::/32": "270584", - "2a04:1f80::/29": "60961", - "2a00:1850:6ea::/48": "29357", - "2001:67c:13d4::/48": "51496", - "2403:ad80:60::/45": "134835", - "2404:bc0:4210::/44": "137735", - "2607:fc30:100::/38": "396026", - "2803:d6c0:2::/44": "265698", - "2803:f3e0:11::/32": "270077", - "2804:4aac::/34": "267256", - "2a00:1d58:f011::/48": "47524", - "2a09:bac0:20::/46": "13335", - "2a0f:9100::/32": "212906", - "2001:559:82ba::/47": "7015", - "2001:67c:234::/48": "47302", - "2400:89c0:1050::/46": "23724", - "2404:9400:f::/48": "133159", - "2001:a68::/32": "15830", - "2400:ca00::/39": "23688", - "2a02:26f7:f38c::/48": "36183", - "2001:678:32c::/48": "3170", - "2001:44b8:604e::/48": "7545", - "2600:140b:d401::/36": "20940", - "2603:c0f8:1410::/39": "20054", - "2606:200::/32": "11942", - "2804:5a6c::/32": "268772", - "2a02:26f7:cbc0::/48": "36183", - "2a09:a4c0::/30": "208861", - "240a:a460::/32": "143770", - "2801:1c8:500::/48": "18747", - "2804:d28::/32": "52604", - "2804:6264::/32": "269294", - "2a02:26f7:49::/48": "20940", - "2a02:26f7:4e::/48": "36183", - "2001:44b8:403e::/47": "4739", - "2620:138:3008::/48": "11251", - "2803:5c80:5001::/48": "64114", - "2c0f:fb50::/32": "15169", - "2001:1a10:1000::/44": "42298", - "2620:171:fc::/46": "42", - "2a01:110:8069::/35": "6584", - "2c0f:ef78:5::/46": "63293", - "2402:8100:2000::/43": "45271", - "2409:8914:9c00::/39": "56044", - "2604:6840:1c00::/40": "12989", - "2001:559:214::/48": "33657", - "2607:f110:e370::/37": "21889", - "2804:4218::/34": "267477", - "2804:42c4:e001::/44": "267524", - "2a00:6220::/32": "43557", - "2a02:26f0:7101::/37": "20940", - "2a02:26f7:f108::/48": "36183", - "2001:490:4008::/48": "1248", - "2408:8956:400::/40": "17622", - "2607:d500:300::/47": "13768", - "2607:ff10::/32": "10439", - "2804:6444::/35": "269417", - "2a01:648::/32": "57809", - "2a01:ce83:8000::/35": "51964", - "2001:df0:9080::/48": "63769", - "2409:8728::/33": "56041", - "240e:978:2100::/36": "4134", - "2607:7e80:e000::/36": "27611", - "2607:f8f8:1f00::/45": "201106", - "2a02:4780:bad::/48": "204915", - "2a07:aa80::/29": "202657", - "2404:3fc0::/45": "32590", - "2404:bf40:8040::/48": "7545", - "2602:ff89::/36": "26269", - "2804:2c80::/32": "265223", - "2001:c20:7805::/46": "3758", - "2001:4408:7001::/38": "4758", - "2409:8c34:ac00::/33": "9808", - "2804:7998::/32": "271315", - "2a03:720::/45": "57073", - "2001:19f0:4000::/37": "20473", - "2400:b300:2::/32": "38470", - "2403:6600::/32": "55329", - "2803:a900:107::/44": "52420", - "2001:4410:1005::/40": "132040", - "2403:b4c0:f000::/36": "138398", - "2620:11f:b000::/46": "394514", - "2001:559:842c::/48": "33657", - "2001:559:c1cf::/48": "7725", - "2600:140b:f801::/37": "20940", - "2600:370f:51e2::/38": "32261", - "2602:fd5c:800::/37": "36247", - "2801:1cc::/44": "27951", - "2404:bf40:c3c3::/34": "139084", - "2405:f980::/48": "135905", - "240a:abce::/32": "145672", - "2604:1380::/40": "54825", - "2401:ff80:1003::/45": "133954", - "2800:160:1c14::/42": "14259", - "2804:30::/32": "28169", - "2804:4640::/32": "266978", - "2804:68d4::/32": "269719", - "2001:559:8259::/48": "7016", - "2400:adc0:10::/45": "9541", - "2406:daa0:2040::/44": "16509", - "2600:140b:e801::/37": "20940", - "2804:8f0::/32": "263040", - "2a07:e02:41::/48": "16509", - "2409:8020:3052::/42": "56046", - "240e:3b2:1800::/34": "4134", - "2a02:558::/32": "12594", - "2a03:2040::/29": "198385", - "2a07:7d80::/29": "50304", - "2001:559:c337::/48": "33652", - "2405:8180:1100::/32": "135478", - "2a10:7706::/31": "399975", - "2001:678:b08::/48": "48749", - "2402:9200::/32": "10084", - "2408:8256:337a::/45": "17623", - "240e:438:a040::/38": "4134", - "2804:14c:a782::/45": "28573", - "2804:522c::/32": "268500", - "2a0a:df80:24::/48": "13030", - "2001:253:118::/48": "142084", - "2001:559:84f6::/44": "33659", - "2a00:6300::/32": "42228", - "240a:a3c6::/32": "143616", - "2600:370f:7260::/45": "32261", - "2602:feda:1e0::/44": "140926", - "2a02:503:9::/29": "5538", - "2c0f:f3c8:21::/32": "328112", - "2001:559:1bd::/48": "7016", - "2001:67c:1be0::/48": "210317", - "240a:a5c6::/32": "144128", - "2604:a540::/32": "54594", - "2804:1cd8::/46": "262691", - "2a0c:de80::/48": "49453", - "2001:559:80bb::/48": "19704", - "2001:67c:348::/48": "47426", - "2620:12f:c000::/46": "395831", - "2a02:6b8:f::/43": "208722", - "2a0c:b806:8000::/34": "204725", - "2406:f500::/36": "55714", - "2606:9d00::/32": "46231", - "2607:f170:30::/39": "6364", - "2804:4878::/32": "267123", - "2a00:fd0::/32": "30914", - "2a02:2e0:407::/43": "12306", - "2a02:448::/31": "34146", - "2600:370f:33ea::/37": "32261", - "2a06:e881:53f0::/44": "209859", - "2804:5098::/32": "268398", - "2404:ee80::/48": "63741", - "2405:9800:c91b::/45": "45430", - "2a02:ec0:300::/32": "41653", - "2001:559:3b8::/48": "22909", - "2001:67c:1750::/48": "208441", - "240e:3b1:9c00::/34": "140310", - "2a0e:b107:440::/44": "207445", - "2402:b801:1900::/34": "18371", - "2804:671c::/32": "269604", - "2a0e:fa40::/47": "56970", - "240a:ad8d::/32": "146119", - "2804:be8::/32": "52841", - "2a00:6901:e005::/48": "20926", - "2600:1009:9010::/40": "22394", - "2a00:a600::/32": "56595", - "2a02:2698:a002::/48": "31483", - "2a02:26f0:7001::/39": "20940", - "2a03:ca80::/31": "20860", - "2a04:e700::/30": "48849", - "2804:4e88::/32": "268267", - "2a02:26f7:db05::/46": "20940", - "2a02:2e02:8f00::/42": "12479", - "2a06:1600:2::/48": "39221", - "2a07:22c1:34::/48": "211776", - "2800:160:23af::/41": "14259", - "2804:7504::/33": "271018", - "2a0b:af80::/29": "206310", - "2c0f:f4a0::/32": "31856", - "2402:800:5aee::/39": "7552", - "2620:1ec:c11::/48": "8068", - "2806:370:8300::/42": "28403", - "2a02:26f7:c648::/48": "36183", - "2001:67c:8::/48": "196621", - "240a:aa1c::/32": "145238", - "240a:adf0::/32": "146218", - "2606:9580::/37": "394256", - "2a04:4e40:4600::/48": "54113", - "2a09:bac0:120::/47": "13335", - "240a:a374::/32": "143534", - "2620:1bc:102f::/48": "7726", - "2804:7cb0:3e80::/44": "271512", - "2a07:8740::/29": "34549", - "2001:da8:257::/48": "4538", - "2408:8957:d200::/40": "17622", - "2804:1674:f::/32": "53231", - "2a04:12c0::/48": "48749", - "2a0e:8f02:f02b::/45": "206477", - "2001:678:f24::/48": "211514", - "240a:ab16::/32": "145488", - "2806:263:c300::/37": "13999", - "2a0f:27c0::/29": "398559", - "2001:468:1a09::/40": "4557", - "2001:13d2:2816::/35": "7303", - "2408:8256:880::/39": "17622", - "2604:f400:800::/37": "26878", - "2806:1030:ceff::/34": "8151", - "2a00:86c0:207a::/40": "2906", - "2a02:2698:8c00::/38": "57026", - "2c0f:f6d0:82::/45": "327687", - "2c0f:f6d0:86::/44": "327687", - "2406:f000::/32": "4844", - "240a:a7ae::/32": "144616", - "2604:d6c0:5000::/36": "64271", - "2a02:26f7:d1c1::/46": "20940", - "2001:1388:83f1::/37": "6147", - "2001:43f8:d00::/48": "33764", - "240a:a102::/32": "142908", - "2607:f9f1::/46": "22205", - "2a02:26f7:d505::/46": "20940", - "2a03:ef42:c000::/34": "57218", - "2001:559:42e::/48": "33287", - "2001:559:4cf::/43": "7015", - "2001:12b0::/32": "28618", - "2602:fed2:7706::/48": "53356", - "2620:119:50be::/48": "202745", - "2a02:26f7:e3c5::/46": "20940", - "2404:5d80:6600::/40": "33438", - "2602:101:4003::/48": "20115", - "2804:8118::/32": "272431", - "2a01:7a00:b01::/32": "51701", - "2a0e:4ec0::/29": "41918", - "240e:974:1201::/32": "4134", - "2600:1008:e010::/36": "22394", - "2800:bf0:80a2::/43": "27947", - "2001:559:7ce::/48": "7016", - "240a:a6f8::/32": "144434", - "2600:c10::/32": "19024", - "2806:268:501::/48": "13999", - "2a0f:76c0::/29": "202709", - "2405:2b40::/32": "139605", - "240a:a2dc::/32": "143382", - "2a01:3e0:403::/36": "6453", - "2a02:26f7:c68a::/48": "36183", - "2a11:8680::/29": "18779", - "2a00:ec8:407::/32": "38930", - "2806:2b0::/32": "22566", - "2620:72:c000::/48": "13736", - "2804:14c:7f83::/41": "28573", - "2804:14d:fc00::/44": "28573", - "2804:47d0::/32": "267078", - "2a02:2010:2400::/45": "20978", - "2001:559:713::/48": "7015", - "2001:559:c0fd::/48": "33287", - "2001:67c:438::/48": "198337", - "2403:d400::/32": "24364", - "2804:3440::/32": "265445", - "2a02:26f7:ebc1::/46": "20940", - "2001:5a0:4e02::/35": "6453", - "2401:d800:9c0::/38": "7552", - "2a00:1690::/32": "44123", - "2a07:e03:4::/42": "210083", - "2a0e:aa07:e027::/48": "210815", - "2a02:c18::/46": "15436", - "2001:559:72b::/48": "7922", - "2404:a8:10::/48": "24514", - "2409:8c20:81b::/38": "56046", - "2610:20:8000::/43": "6629", - "2800:440:8106::/48": "27738", - "2804:89c::/32": "262381", - "2804:e94:49::/45": "262468", - "2001:df6:9f80::/48": "38281", - "2401:fdc0:20::/32": "137074", - "2604:b300:ad04::/48": "174", - "2607:fa70::/34": "19855", - "2a09:bac0:83::/45": "13335", - "2c0f:f7a8:9020::/48": "4809", - "2408:8459:4410::/42": "17623", - "240e:3b2:1200::/39": "4134", - "2a0b:640::/46": "35236", - "2409:8c00:7841::/32": "9808", - "240e:49:6000::/32": "4134", - "2600:140b:2401::/38": "20940", - "2607:d500:603::/40": "13768", - "2804:1f00::/32": "11802", - "2804:3f58::/33": "265886", - "2a02:ed04:4510::/38": "50304", - "2001:c78:2000::/32": "2764", - "2001:13e8::/32": "11815", - "240a:a00e::/32": "142664", - "240e:108:11e0::/48": "58466", - "2620:16e:f0f5::/48": "3147", - "2803:6ce0:6000::/32": "269909", - "2a04:100::/34": "49223", - "2400:4880::/46": "131178", - "2406:9dc0:1010::/48": "18250", - "240a:a1e1::/32": "143131", - "240e:108:11b4::/41": "4134", - "2607:d500:302::/48": "54527", - "2607:f5a0:214::/36": "17048", - "2408:8459:3030::/44": "17623", - "2600:140b:6800::/48": "24319", - "2620:5c:6000::/48": "27623", - "2804:14c:4387::/41": "28573", - "2a10:ccc0:300::/48": "56755", - "2001:559:c348::/48": "22909", - "2401:4d40::/30": "59125", - "2606:b300:8000::/40": "13926", - "2804:f14::/32": "262865", - "2804:5a20::/32": "268750", - "2804:7a54::/32": "271365", - "2a0f:9400:800d::/48": "58093", - "2001:67c:2918::/48": "212034", - "2001:6a0:4000::/34": "8890", - "2a00:1a00::/32": "25593", - "2a01:7a20::/32": "35383", - "2a02:26f7:c540::/48": "36183", - "2001:5a0:3604::/36": "6453", - "2408:8459:1010::/41": "17622", - "240e:438:7420::/43": "140647", - "2600:8807:b7ea::/33": "22773", - "2a00:ff0::/48": "25409", - "2a02:2370:c000::/48": "32787", - "2001:559:8462::/48": "33661", - "2607:8700:106::/48": "25820", - "2804:777c:8000::/33": "271181", - "2a00:1878::/29": "8448", - "2a00:b220::/32": "43957", - "2a09:9f42::/29": "207976", - "2402:800:961d::/41": "7552", - "2400:d800::/30": "9506", - "2604:6600:159::/40": "40676", - "2001:418:1401:6a::/64": "20940", - "2001:1980:4445::/35": "29838", - "240e:944:3000::/36": "58541", - "2a02:26f7:e088::/48": "36183", - "2606:2800:4a8a::/48": "15133", - "2804:14d:7800::/40": "28573", - "2806:2f0:33a1::/41": "17072", - "2a03:b980:300::/32": "56730", - "2804:38b0:502::/32": "266494", - "2a06:4140::/29": "207083", - "240a:a305::/32": "143423", - "2a07:fc00::/48": "39378", - "2804:6838::/32": "269677", - "2a09:6d80::/32": "13984", - "2408:8256:316d::/43": "17623", - "2804:2f2c::/32": "264876", - "2a02:26f0:8200::/48": "34164", - "2a09:4c0::/39": "58057", - "2409:8904:2640::/39": "24547", - "240a:acc1::/32": "145915", - "2a03:9920::/32": "51546", - "2a0f:3107::/32": "57487", - "2001:4878:8215::/46": "12222", - "2607:fcd0:dac0::/34": "8100", - "2607:ff18::/36": "40630", - "2001:559:600::/40": "7922", - "2405:f080:400::/38": "136907", - "2600:6ce6:4410::/27": "16787", - "2806:250:20::/48": "28512", - "2a00:4de0::/29": "202831", - "2001:67c:2a34::/48": "58346", - "2001:44b8:7::/48": "7545", - "2408:8956:9600::/40": "17622", - "2600:1008:a120::/36": "22394", - "2a00:11c0:1799::/48": "42473", - "2a02:26f7:c905::/46": "20940", - "2602:feda:bf0::/44": "139328", - "2804:1f3e::/32": "269324", - "2a0b:af00::/29": "56708", - "2401:a840::/38": "136917", - "2402:3780::/48": "132789", - "2404:8d00:1c10::/34": "24378", - "2a01:8840:42::/45": "12041", - "2a02:26f7:ce89::/42": "20940", - "2001:559:4a9::/48": "33660", - "2001:559:8179::/48": "7016", - "2404:69c0::/32": "132129", - "2409:8089:1021::/23": "9808", - "2a02:26f7:e4c8::/48": "36183", - "2001:40f8::/32": "15798", - "2407:c080:805::/37": "55990", - "2604:5ec0::/32": "13356", - "2a07:3506:c1::/48": "9150", - "2a0e:de80::/29": "200462", - "2c0f:f5e0::/32": "25139", - "2604:4b40::/32": "396420", - "2a01:c9c0:c7::/48": "8891", - "2a02:4840::/46": "52048", - "2001:559:539::/46": "7922", - "2001:559:81de::/47": "33651", - "240a:aa39::/32": "145267", - "2602:ffe4:c44::/47": "21859", - "2a02:6ea0:c000::/36": "60068", - "2001:559:879f::/48": "33662", - "2602:fdd0::/36": "397488", - "2a00:55a0:12::/47": "57717", - "2a00:7142::/31": "51430", - "2a02:26f7:f9c9::/42": "20940", - "2401:2f80::/32": "27568", - "2a01:8b20::/32": "42314", - "2a06:900::/29": "34373", - "2a0c:b642:1a0b::/48": "3280", - "240e:44d:2b80::/41": "4134", - "2001:559:8133::/48": "7922", - "2402:4f40::/32": "137404", - "2606:380::/32": "40545", - "2806:2f0:31e4::/38": "17072", - "2a02:ff0:2c00::/40": "12735", - "2001:fb1:3009::/48": "7470", - "2001:1260:10e::/43": "13591", - "2600:6c38:e1::/46": "20115", - "2610:1a0::/41": "40193", - "2a0f:5707:ab2c::/48": "60404", - "2001:559:151::/48": "7015", - "2001:678:578::/48": "198956", - "2001:2000:3100::/36": "1299", - "2607:f0a0::/32": "32335", - "2607:fd78::/39": "26677", - "2a02:2020::/48": "34619", - "2c0f:f438::/32": "37517", - "2001:470:61::/45": "6939", - "2400:cb00:255::/44": "13335", - "2408:8256:3d9b::/48": "17816", - "2409:8751:500::/38": "56047", - "2001:67c:2184::/48": "8365", - "2401:c700::/42": "55639", - "2804:3e84::/32": "266602", - "2a0e:b107:13c0::/44": "211242", - "2001:df0:247::/48": "58631", - "2001:1248:55f2::/45": "11172", - "2405:3200:711::/32": "17639", - "2408:8256:2d8a::/48": "17816", - "2620:9a:8000::/48": "174", - "2620:139:2000::/40": "396912", - "2a0f:ab40::/32": "207797", - "2001:57a:505::/46": "33438", - "2001:67c:27ec::/48": "50304", - "2001:b08:b::/45": "3267", - "2408:840c:6e00::/40": "17621", - "240e:3bc:2200::/37": "136198", - "2a02:26f7:f1c4::/48": "36183", - "2401:d800:2170::/40": "7552", - "2402:e280:2162::/45": "134674", - "2a02:8000::/32": "50472", - "2001:648:2331::/37": "5408", - "2001:678:7::/48": "48053", - "2a02:240:100::/40": "28812", - "2a06:62c0:90::/32": "204138", - "2a04:4e40:9400::/48": "54113", - "2001:559:86c4::/44": "7922", - "2001:e60:a000::/33": "4766", - "2401:d640::/32": "132168", - "2604:480::/32": "40098", - "2606:a780::/32": "394437", - "2607:3700::/32": "16851", - "2a01:5f80::/32": "47408", - "2a0d:fec0:21::/48": "47481", - "2409:8d14:1100::/38": "56044", - "240e:966:2800::/37": "133776", - "2600:6c38:d06::/44": "20115", - "2605:dd40:8204::/48": "398549", - "2a0a:f0c0::/29": "204860", - "2602:804:1006::/44": "14536", - "2804:64b8:c000::/34": "269444", - "2408:8956:d4c0::/38": "17816", - "2605:de00::/40": "30083", - "2804:2a00::/32": "264050", - "2a09:bac0:50::/46": "13335", - "2001:df4:f080::/48": "141214", - "2401:d800:5a00::/41": "7552", - "2408:8956:c400::/40": "17622", - "2804:66ac::/32": "269575", - "2a09:5140::/48": "34775", - "2404:5700::/32": "58666", - "2607:f298:5::/46": "26347", - "2801:1f:c800::/48": "19429", - "2804:1e90::/35": "264436", - "2a02:26f7:c3c8::/47": "36183", - "2a10:20c0::/29": "207265", - "2a0b:2d40:bac4::/33": "209135", - "2001:559:c3e7::/44": "7922", - "2001:1248:98f6::/44": "11172", - "240e:473:7050::/39": "4134", - "2801:1f0:400a::/42": "3573", - "2804:49f0::/32": "267210", - "2a01:8dc0:112::/48": "29479", - "2a07:dc00:180::/44": "29997", - "2001:504:40:108::/64": "6461", - "2001:559:c3c3::/45": "33657", - "2600:370f:74c5::/46": "32261", - "2a02:2dc0::/32": "9063", - "2a0d:4d40:1a::/48": "50630", - "2c0f:f9e8::/32": "37497", - "2804:1bdc::/32": "61753", - "2001:500:76::/44": "30133", - "2001:550:3d0d::/38": "174", - "2001:559:3a8::/48": "7016", - "2607:fc48:450::/48": "40009", - "2804:14c:5500::/40": "28573", - "2804:4d8::/32": "52995", - "2804:b80::/32": "52786", - "2401:b180::/33": "37963", - "2001:510::/39": "376", - "2001:ee0:307::/41": "45899", - "2408:8957:500::/40": "17816", - "2607:f6f0:204::/48": "29884", - "2803:380::/32": "263728", - "2806:230:500a::/48": "265594", - "2001:559:826e::/47": "7922", - "240e:5f:600d::/48": "140315", - "2620:138:300f::/48": "11251", - "2a02:ac80:41::/43": "25145", - "2a0a:7e40:3::/29": "206056", - "2a0c:440::/32": "204419", - "2a0f:ec40::/32": "42433", - "2001:978:8f00:1::/35": "174", - "240a:a432::/32": "143724", - "2600:1408:4801::/37": "20940", - "2604:ef40:2::/48": "396158", - "2a0a:e5c0:e::/47": "207996", - "2001:df4:d180::/48": "140050", - "2404:2080::/32": "131270", - "2800:370:87::/42": "28006", - "2a02:26f7:bb05::/48": "36183", - "2a02:26f7:f8d0::/48": "36183", - "2a0d:9c80::/29": "49127", - "2a0f:a302:600::/40": "212503", - "240a:ad4e::/32": "146056", - "240e:3bf:1400::/38": "134773", - "240e:473:6850::/39": "4134", - "2600:1015:b070::/40": "6167", - "2a02:26f7:d104::/48": "36183", - "240a:a96c::/32": "145062", - "2804:7eb0::/32": "271641", - "2a01:8840:2e::/43": "12041", - "2001:df0:21a::/48": "23855", - "2620:f:7::/48": "3630", - "2804:4ae4::/35": "267270", - "2a06:9680::/31": "31293", - "2409:8020:1081::/43": "56046", - "2804:63d0::/32": "269385", - "2a00:7c80::/32": "49981", - "2a00:8140:f000::/36": "60351", - "2a09:9240::/29": "35388", - "2403:8880::/32": "17964", - "240a:a22e::/32": "143208", - "2404:1c40:f0::/39": "24432", - "240a:ab87::/32": "145601", - "240a:ae5a::/32": "146324", - "2a02:27d0:101::/32": "49463", - "2a10:cc40:c00::/40": "20473", - "2408:8459:9a10::/42": "17623", - "240a:a2e6::/32": "143392", - "240e:473:9320::/41": "140486", - "2607:6003:2305::/48": "11572", - "2a02:2e02:12d0::/42": "12479", - "2602:ffc5:130::/44": "40676", - "2a02:26f7:68::/48": "36183", - "2a0e:97c5:740::/46": "20473", - "2408:840d:c300::/42": "17621", - "2a02:26f7:d48d::/42": "20940", - "2001:559:c299::/48": "7015", - "2408:8956:100::/40": "17816", - "2800:bf0:172::/40": "27947", - "2801:86::/32": "53164", - "2001:559:c165::/48": "7725", - "2600:1900:40e0::/39": "15169", - "2620:77:6000::/48": "174", - "2a04:4e41:32::/44": "54113", - "2001:df4:a900::/48": "137327", - "2801:80:c30::/48": "61721", - "2a02:120::/47": "29396", - "2a02:26f7:fa84::/48": "36183", - "2001:67c:2730::/48": "198524", - "2001:1248:97b0::/45": "11172", - "2408:805c:4009::/36": "17622", - "2408:8459:2440::/40": "17623", - "240a:ac6e::/32": "145832", - "2600:1001:b1e0::/33": "22394", - "2605:9780::/48": "36180", - "240e:1e:1000::/36": "134772", - "240e:3b9:f100::/36": "4134", - "2803:aba0:2100::/40": "265554", - "2a0a:d1c0::/29": "15600", - "2001:418:144d::/48": "275", - "2804:1784:ff05::/40": "263152", - "2a02:4de0::/32": "31590", - "2001:900::/32": "35393", - "2400:6180::/48": "14061", - "2401:e380:2102::/47": "131091", - "2602:80a::/40": "2722", - "2607:f620::/32": "11590", - "2804:7110::/33": "270764", - "2606:ba00::/32": "16700", - "2806:10a8::/32": "8151", - "2403:9f00::/32": "17420", - "2403:b3c0::/48": "135905", - "2804:270:200::/40": "262814", - "2a0f:a8c0::/29": "209372", - "2602:102:1003::/48": "20115", - "2a0d:4a00::/32": "29148", - "2607:f5e8::/32": "22926", - "2a00:efe0::/32": "49489", - "2a02:2510::/32": "44068", - "2001:559:119::/48": "33657", - "2401:d800:2520::/41": "7552", - "240e:5a:40c0::/39": "140291", - "2606:cf00::/32": "54327", - "2a02:26f7:e08d::/42": "20940", - "2806:10a0:cbff:100::/34": "8151", - "2a01:180::/29": "12709", - "2a01:7c8:8000::/33": "20857", - "2a0c:5247:4000::/34": "208861", - "2402:d000:7001::/32": "9329", - "2607:9e00:5002::/32": "30536", - "2406:b100::/32": "132730", - "2001:67c:12f0::/48": "12843", - "2001:e48:22:1034::/41": "9583", - "2001:fd8:261::/46": "4775", - "2001:4878:4347::/48": "12222", - "2402:800:5701::/44": "7552", - "2405:fd80:1000::/40": "135391", - "2406:8c00::/32": "24282", - "2408:840d:9100::/42": "17621", - "240a:a599::/32": "144083", - "2620:57:4010::/40": "62831", - "2803:ad80::/48": "42473", - "2a00:cc40::/48": "44395", - "2001:579:412c::/43": "22773", - "2001:1388:1b8e::/34": "6147", - "2606:2000::/43": "1616", - "2804:13c4::/32": "262825", - "2a03:2880:f155::/44": "32934", - "2001:ee0:d340::/37": "45899", - "2403:75c0::/32": "136716", - "2404:3d40::/32": "138544", - "2404:a800:ff02::/30": "9498", - "240a:a5ef::/32": "144169", - "240e:44d:c80::/41": "4134", - "2001:678:c9c::/48": "200924", - "2600:8400::/28": "14813", - "2620:12e:e000::/40": "14630", - "2a00:6ec0:300::/37": "56837", - "2a0b:2a87::/32": "27176", - "2001:579:a0d4::/39": "22773", - "2401:ff80:1613::/40": "133954", - "2804:18:7050::/39": "10429", - "2806:2f0:6261::/40": "17072", - "2a02:26f7:f60d::/42": "20940", - "2a0e:1c80:6::/48": "3399", - "2a0f:16c0::/29": "60262", - "2001:678:5a0::/48": "207946", - "2001:67c:28ec::/48": "209943", - "240a:a29e::/32": "143320", - "240a:ad50::/32": "146058", - "2806:2f0:62::/43": "17072", - "2402:800:969b::/42": "7552", - "2a02:26f7:c0c1::/46": "20940", - "2a02:26f7:c381::/46": "20940", - "2001:67c:21ac::/48": "197727", - "240a:ad31::/32": "146027", - "2600:8807:e000::/28": "22773", - "2604:ca00:f024::/46": "36492", - "2804:95c::/32": "28654", - "2806:230:4002::/48": "265594", - "2a0c:b641:70::/48": "211013", - "2001:559:4b9::/48": "7922", - "2406:2000:efbc::/48": "10229", - "240e:44d:2280::/41": "4134", - "2803:e340::/32": "264694", - "2001:559:8241::/48": "7922", - "2600:804:201::/37": "701", - "2600:1415:3001::/37": "20940", - "2803:a900:6000::/48": "52420", - "2a0a:1a40::/32": "38176", - "2001:fd8:1a1::/46": "4775", - "2408:8956:be00::/40": "17622", - "240a:a79b::/32": "144597", - "240a:afe5::/32": "146719", - "240e:44d:300::/41": "140345", - "2804:1e68:9::/48": "16735", - "2001:559:85c4::/46": "7922", - "2001:559:864d::/48": "7015", - "2001:678:ad4::/48": "205597", - "2001:df2:ca00::/48": "135905", - "2408:8256:2d9c::/46": "17623", - "240a:a22a::/32": "143204", - "240a:a585::/32": "144063", - "2402:800:bb60::/40": "7552", - "2406:3000:12:200::/44": "4657", - "2607:f7e0::/32": "25660", - "2804:628c::/42": "269303", - "2401:c280::/32": "9752", - "2409:8904:a940::/38": "24547", - "240a:a646::/32": "144256", - "2a0d:d500::/29": "208861", - "2620:87:a000::/48": "12186", - "2804:3a50::/32": "14204", - "2001:c10:ff09::/40": "7473", - "2408:8459:ee50::/39": "17816", - "2806:220::/32": "28503", - "2a03:1a60::/32": "197161", - "2a10:ca00:1::/45": "212217", - "2001:4268:140::/38": "15964", - "2402:3a80:1c70::/45": "38266", - "2604:cd00::/32": "7352", - "2804:79a8::/32": "271319", - "2001:559:c0ca::/48": "7015", - "2001:559:c11c::/48": "13367", - "2401:31c0:ffff::/48": "133429", - "2405:4200:f002::/36": "24482", - "2806:10be:6::/44": "8151", - "240a:a111::/32": "142923", - "2620:171:1e::/47": "42", - "2001:559:c3ba::/48": "33659", - "2405:b000:600::/36": "6262", - "240a:a37d::/32": "143543", - "2620:4d:a000::/48": "32995", - "2a0b:4f00::/32": "200807", - "2001:67c:2548::/48": "6782", - "240a:a576::/32": "144048", - "240a:ac63::/32": "145821", - "2600:809:641::/30": "701", - "2800:c30::/32": "52361", - "2801:80:3780::/48": "269543", - "2a03:52a0::/39": "12557", - "2001:67c:11f8::/48": "204796", - "2404:f900:51::/32": "58482", - "2602:feda:cdc::/48": "141221", - "2c0f:fbf8:210::/29": "32653", - "2001:559:85c1::/48": "21508", - "2405:84c0:ff60::/44": "139782", - "2406:d00:aaaa::/48": "132165", - "2408:8456:5c00::/42": "17622", - "2804:2ac4::/32": "265117", - "2a02:26f7:df8d::/42": "20940", - "2a06:c240:40::/29": "49222", - "2408:8957:f800::/40": "17622", - "2606:5000:200::/39": "3908", - "2804:14d:9084::/43": "28573", - "2804:7bd0::/32": "271456", - "2409:807e:3100::/36": "9808", - "240e:980:2d00::/40": "136197", - "2a0a:3680::/29": "34907", - "2600:140f:b800::/48": "9498", - "2602:fcf6:100::/48": "57401", - "2804:86c::/32": "262369", - "2a02:26f7:dd44::/48": "36183", - "2a02:cb80:2710::/48": "43766", - "2001:df5:b80::/48": "141107", - "2001:1248:5a6b::/43": "11172", - "2605:a404:aac::/39": "33363", - "2001:559:df::/48": "33489", - "2001:559:8180::/48": "33659", - "2804:5534:9000::/34": "268696", - "2001:df4:e780::/48": "141206", - "240a:a68c::/32": "144326", - "2606:a700::/32": "17113", - "2a02:4901::/32": "200128", - "2a04:4e40:2e10::/44": "54113", - "2a0b:b980:1::/46": "51920", - "2409:8052:800::/47": "56047", - "240a:ac4a::/32": "145796", - "2a0c:2040::/29": "47447", - "240a:ac9a::/32": "145876", - "2a0e:46c4:2b00::/40": "212767", - "2001:67c:2acc::/48": "205046", - "2001:1a90::/32": "8851", - "2401:d800:fa70::/40": "7552", - "240a:a83b::/32": "144757", - "240a:a8df::/32": "144921", - "2806:2f0:30a1::/46": "17072", - "2a02:2aa8:129::/45": "702", - "2401:2f00::/32": "17617", - "2401:4900:1260::/44": "45609", - "2404:e5:212::/30": "703", - "2a02:26f7:eb49::/42": "20940", - "2a0b:dd00::/29": "31252", - "2001:559:217::/48": "33659", - "2409:8721::/29": "9808", - "2604:5500:7000::/38": "19165", - "2804:ce4::/32": "52573", - "2001:200:e00::/40": "4690", - "240a:a839::/32": "144755", - "2a02:26f7:bbc5::/48": "36183", - "2a0b:3c40:13::/48": "209280", - "2620:0:500::/42": "11643", - "2804:80d8::/32": "272416", - "2001:67c:2f8::/48": "47639", - "2409:805c::/46": "9808", - "240a:af47::/32": "146561", - "2603:c010:e000::/36": "31898", - "2800:160:1e82::/43": "14259", - "2a03:4bc0:2200::/48": "30893", - "2001:4328::/32": "30844", - "2402:800:3b71::/44": "7552", - "240e:3bf:7a00::/32": "140313", - "2803:bee0:4000::/36": "269989", - "2804:7ac8::/32": "271392", - "240a:aea5::/32": "146399", - "2605:4400::/47": "40715", - "2804:6dc4::/32": "270554", - "2806:2f0:5181::/43": "17072", - "2406:9e00:6::/44": "55352", - "240a:ad23::/32": "146013", - "2804:3e50:12f::/34": "266587", - "2400:bd00::/32": "45267", - "2806:2f0:2420::/48": "17072", - "2a0c:b080::/29": "204751", - "2a10:4646:b::/48": "211693", - "2408:84e2:4c0::/32": "17621", - "240e:438:6620::/43": "140647", - "2603:c023:8000::/35": "31898", - "2a01:a500:2::/35": "42831", - "2a02:26f7:e201::/46": "20940", - "2a03:e440::/29": "206978", - "2001:678:63c::/48": "39566", - "2401:d800:70::/40": "7552", - "240c:c000::/20": "23910", - "2600:1012:b1a0::/43": "6167", - "2a0d:7100::/45": "41033", - "2001:559:54f::/48": "33491", - "2001:559:868b::/48": "33665", - "2600:1417:74::/46": "20940", - "2602:fc81:1::/46": "399334", - "2605:41c0:2::/48": "397042", - "2a0b:4342:3000::/36": "57695", - "2001:b10:a000::/44": "196844", - "240a:a6c3::/32": "144381", - "2001:428:c0d::/35": "209", - "2001:559:c1cb::/45": "7922", - "2001:678:4d4::/48": "24868", - "2001:13d2:280f::/43": "7303", - "240a:a981::/32": "145083", - "2402:800:3bd3::/44": "7552", - "2803:6f00::/36": "14117", - "2a02:cb80:2940::/48": "43766", - "2a0f:3100::/32": "47596", - "2402:7500:4b3::/45": "24158", - "2620:100:e000::/47": "5662", - "2804:e94:1c1::/43": "262468", - "2402:800:3d71::/44": "7552", - "240a:ab6e::/32": "145576", - "2600:1a0e::/48": "10307", - "2a02:26f7:d584::/48": "36183", - "2001:67c:10f4::/48": "211763", - "2a0e:b105:650::/46": "20473", - "2a02:61e0::/32": "31543", - "2607:ff60:400a::/35": "3900", - "2a00:1eb8:c004::/48": "43811", - "2600:370f:7563::/40": "32261", - "2a01:2c0:23db::/48": "9179", - "2a01:9700:1800::/41": "8376", - "2a02:16d8:108::/32": "5518", - "2a02:ac80:d1::/42": "25145", - "240e:44d:1c00::/41": "140345", - "2804:539c::/32": "268595", - "2806:268:300::/40": "13999", - "2a01:c9c0:800f::/48": "2280", - "2a04:ce40::/29": "13157", - "240e:473:6f50::/40": "4134", - "2604:8540:fc0c::/47": "33353", - "2610:b0:40d6::/47": "3573", - "2a0e:a880:1000::/36": "209043", - "2a0e:fd45:d90::/44": "44103", - "2001:67c:2f50::/48": "2119", - "2800:98::/35": "14754", - "2001:1248:9a93::/42": "11172", - "2804:aa8:900::/32": "52903", - "2001:67c:24b4::/48": "8587", - "240a:a284::/32": "143294", - "2606:ab80::/32": "36001", - "2607:fad0::/42": "32244", - "2001:550:6f01::/35": "174", - "2602:ffb0:27::/48": "32780", - "2806:2f0:62a0::/35": "17072", - "2001:678:2e0::/48": "29686", - "2402:800:3b01::/44": "7552", - "2a02:26f7:f248::/48": "36183", - "2a03:f480:1::/46": "198068", - "2a07:c800::/29": "42159", - "2001:678:3ec::/48": "1257", - "2001:678:944::/48": "34015", - "2001:67c:278c::/48": "12732", - "2001:888::/29": "3265", - "2405:10c0::/48": "135905", - "2a03:77e0:5301::/48": "48305", - "2a0e:1d80:10::/48": "9009", - "2401:d800:2ad0::/42": "7552", - "2402:800:318d::/43": "7552", - "2804:7308::/36": "270891", - "2a0a:3b00::/32": "206497", - "2001:550:1e00:1::/47": "174", - "2804:1218:8000::/40": "263456", - "2a0b:5380::/29": "206119", - "2602:fdc6::/36": "29768", - "2c0f:2900::/32": "328915", - "2409:8914::/39": "56044", - "2409:8924:6b00::/37": "56046", - "2409:892a::/27": "9808", - "240a:a19f::/32": "143065", - "240a:a713::/32": "144461", - "2620:103:2::/48": "27357", - "2804:38e4::/32": "266508", - "2a02:26f7:bcd0::/48": "36183", - "2a09:bac0:151::/44": "13335", - "2001:470:2b::/48": "12266", - "2409:8c4c:c01::/38": "9808", - "240e:473:5f50::/40": "4134", - "2a0c:4380::/40": "20860", - "2001:448a:5150::/34": "7713", - "2402:800:5571::/44": "7552", - "2804:138b:b030::/40": "53037", - "2a07:e02:bac::/48": "210083", - "2a0b:b800::/29": "51269", - "240a:a7f8::/32": "144690", - "240a:ae4b::/32": "146309", - "2606:f300:20::/43": "4544", - "2607:f6b8::/32": "4043", - "2001:67c:4dc::/48": "201471", - "2001:1248:a47d::/46": "11172", - "2405:19c0::/48": "18403", - "2408:803e::/32": "4837", - "2603:4007::/28": "3", - "2804:4cc0::/32": "267389", - "2804:1780::/32": "263151", - "2a02:26f7:c6::/48": "36183", - "2a0f:c081:6d96::/48": "43694", - "240a:a2d0::/32": "143370", - "2804:7c94::/32": "271505", - "2602:fdea:2::/48": "19186", - "2804:154c:5011::/44": "263382", - "2a00:e6a0::/46": "12303", - "2a01:a500:2567::/32": "42831", - "2a06:ed00::/29": "50642", - "2a09:2840::/29": "15525", - "2001:678:f0c::/48": "211638", - "2408:8456:5200::/42": "17622", - "2a00:11c0:11c0::/48": "42388", - "240a:a058::/32": "142738", - "240e:f:d000::/27": "4134", - "2a00:1e68::/39": "42861", - "2a0d:3b40::/29": "8808", - "2001:468:2101::/48": "3676", - "2804:14c:5f85::/41": "28573", - "2804:19c8::/34": "61818", - "2804:1dd0::/32": "262332", - "2804:2230::/32": "264590", - "2a01:170::/35": "8820", - "2a02:26f0:4e01::/35": "20940", - "2001:4878:a038::/48": "12222", - "2406:840:5800::/47": "139317", - "2406:3000:20::/44": "4657", - "2409:8915:5200::/39": "56044", - "240a:a040::/32": "142714", - "2620:76:a000::/48": "33491", - "2804:6384::/32": "269366", - "2001:67c:271c::/48": "60213", - "2408:8409:6000::/40": "4808", - "240e:41:4000::/37": "17897", - "2600:1406:3c01::/38": "20940", - "2804:2074::/32": "264491", - "2804:338c::/32": "265403", - "2001:550:3203::/45": "174", - "2001:44b8:309c::/48": "4739", - "2401:4900:5e00::/43": "45609", - "2402:800:bff0::/44": "7552", - "2605:b1c0::/32": "14404", - "2804:2540::/32": "264268", - "2a0c:9a40:8080::/48": "136620", - "2001:559:559::/48": "7922", - "2409:8751:900::/38": "56047", - "240e:44d:4a00::/41": "140345", - "2a09:7e40::/29": "35437", - "2a0c:4400::/32": "39405", - "2a02:26f7:df44::/48": "36183", - "2a02:26f7:eb00::/48": "36183", - "2a0b:ed40::/31": "212547", - "2409:8a3c:8a00::/31": "24444", - "2620:10f:b071::/48": "395700", - "2403:0:608::/32": "4755", - "2804:5fe8::/32": "269131", - "2a0d:52c0::/29": "210129", - "2001:559:c2e7::/48": "33668", - "2001:1938:4002::/48": "33438", - "2402:800:f420::/41": "7552", - "2a03:1ae0:10::/48": "59944", - "2a0c:ba80::/29": "204741", - "2407:500:502::/47": "58940", - "2600:141d:1::/32": "20940", - "2a0e:68c0:4::/48": "57616", - "2401:d800:5e60::/40": "7552", - "2405:4802:9740::/31": "18403", - "2607:fcb8::/32": "6479", - "2405:5940::/32": "17473", - "2406:da70:6000::/40": "16509", - "240a:a0b6::/32": "142832", - "2409:804f:1900::/34": "9808", - "2600:1408:cc00::/48": "32787", - "2804:2e4::/32": "53234", - "2a01:9700:1760::/48": "8376", - "2001:48d0::/32": "195", - "2400:8500:6800::/48": "58786", - "240a:a103::/32": "142909", - "2607:f770:8464::/33": "22958", - "2a06:61c0::/29": "56329", - "2a0b:9d80::/32": "15699", - "2001:1248:84c9::/45": "11172", - "2402:800:5e01::/42": "7552", - "2804:75d4::/32": "271072", - "2001:67c:2378::/48": "41504", - "240a:a325::/32": "143455", - "2607:ee80:10::/48": "11403", - "2600:6c7f:9060::/48": "20115", - "2607:fc08::/32": "46786", - "2a00:13b8::/32": "34279", - "2a02:26f7:e8c9::/42": "20940", - "2604:2e80::/36": "30036", - "2a01:780::/32": "25415", - "2a02:a00:1034::/34": "15987", - "240a:abc1::/32": "145659", - "2600:8807:c800::/35": "22773", - "2804:4f84::/32": "268331", - "2a02:26f7:c941::/46": "20940", - "2a07:240::/32": "16089", - "2a00:6580::/32": "39505", - "2001:559:82b5::/48": "33651", - "2408:80e9:4000::/34": "4837", - "2409:8050:2::/40": "56047", - "2409:8d14:400::/38": "56044", - "2605:a400:7::/31": "33363", - "2606:2800:4a28::/46": "15133", - "2804:960::/32": "263078", - "2402:3a80:c00a::/48": "55410", - "2804:21bc:201::/32": "264570", - "2a07:21c0::/29": "43260", - "2001:43f8:1161::/48": "327796", - "2001:4998:ef66::/44": "10310", - "2408:840c:7b00::/40": "17621", - "240a:a38b::/32": "143557", - "2a00:1228:6::/39": "31148", - "2409:8904:5eb0::/39": "24547", - "2600:100a:d000::/43": "6167", - "2804:18:6a00::/37": "10429", - "2804:38b0::/38": "266494", - "2804:6784::/32": "269633", - "2001:678:658::/48": "3209", - "2401:ee00:133::/38": "23951", - "2607:fc48:1008::/48": "40009", - "2801:15a::/44": "267788", - "2a05:7300::/32": "35701", - "2001:67c:14::/48": "15960", - "2405:6cc0::/32": "131958", - "2405:d900::/32": "56004", - "2a00:f0e0:11::/41": "198499", - "2a02:1740::/32": "197133", - "2c0f:eed8::/32": "328317", - "240a:aaf3::/32": "145453", - "240a:af12::/32": "146508", - "2a02:26f7:e549::/42": "20940", - "2409:8051:3000::/47": "56047", - "2800:160:1b99::/42": "14259", - "2a0c:9a40:1033::/48": "34927", - "2001:dce:d452::/47": "45285", - "240e:bf:d000::/25": "4134", - "240e:6b3::/35": "136200", - "2607:fde8::/32": "3853", - "2801:80:b90::/48": "21506", - "2804:14c:f289::/41": "28573", - "2a0e:b107:4aa::/45": "207427", - "2a01:148::/29": "34245", - "2a06:6e40::/29": "204120", - "2001:559:87d2::/47": "7922", - "2001:67c:2f08::/48": "32421", - "2404:7d80::/32": "9268", - "2405:84c0:9700::/44": "9886", - "2600:140f:b801::/38": "20940", - "2800:160:1b96::/44": "14259", - "2a0a:3140:1610::/44": "15532", - "240a:a4e3::/32": "143901", - "2603:c001:3400::/42": "31898", - "2800:160:12e6::/44": "14259", - "2a00:1560:19::/35": "29684", - "2001:559:86e6::/47": "7725", - "2001:688::/32": "5511", - "2001:dce:5300::/48": "45285", - "2401:b5c0::/48": "135923", - "2607:f4e8:10::/46": "22822", - "2804:3994::/47": "266037", - "2804:3aa4:c4::/32": "266101", - "2a0b:ae47:3::/45": "40676", - "2604:9f00:800:9::/37": "27364", - "2604:f500:2::/32": "16698", - "2800:af0::/32": "27984", - "2408:8459:a630::/41": "17622", - "2803:aa60::/32": "267882", - "2a0e:97c0:380::/48": "60404", - "2a06:cd40:300::/48": "60781", - "2001:1388:8a00::/44": "264684", - "2001:4888:801a::/47": "6167", - "240e:473:9920::/41": "140486", - "2604:6f00::/32": "35985", - "2804:14c:c600::/40": "28573", - "2a01:598::/29": "3320", - "2a03:f80:ed31::/48": "57169", - "2001:559:c233::/48": "7922", - "2001:559:c2a2::/48": "33651", - "2606:2ac0::/32": "46962", - "2a01:90::/40": "29668", - "2604:c580::/32": "55230", - "2a0f:1c40::/29": "208229", - "2405:8a00:c028::/34": "55824", - "2600:1415:4401::/36": "20940", - "2605:2c40::/40": "63210", - "2a0b:300::/29": "61317", - "2804:7890::/32": "271251", - "2a00:79e0:502::/32": "45566", - "2a02:26f7:f9c5::/46": "20940", - "2a0e:f340::/29": "44205", - "240a:a522::/32": "143964", - "2604:4300:f18::/45": "33387", - "2605:a7c0:151::/44": "16509", - "2804:46f0:41::/40": "267021", - "2804:795c::/32": "271301", - "2a02:8380::/30": "8412", - "2408:8256:3570::/44": "17623", - "240e:108:1071::/44": "4134", - "2600:5c01:2d3a::/35": "10796", - "2800:280::/33": "27781", - "2806:268:1501::/48": "13999", - "2a02:29e8::/32": "49604", - "2403:580::/32": "134715", - "2409:8907:7720::/36": "24547", - "2804:1300::/48": "263509", - "2804:1e90:1300::/32": "264436", - "2a05:e00::/29": "202793", - "2001:df2:8c80::/48": "137655", - "2600:1a0f:2000::/48": "10307", - "2804:768:880::/35": "52977", - "2001:559:c23d::/48": "13367", - "240a:afed::/32": "146727", - "2804:3020::/32": "264931", - "2a01:8460::/32": "199770", - "2a11:a80::/29": "208861", - "2407:b9c0::/36": "142616", - "2408:8000::/48": "4837", - "240a:a637::/32": "144241", - "2803:a180::/32": "28118", - "2a01:40c0::/29": "29608", - "2a02:26f7:b784::/47": "36183", - "2a04:4e40:4c10::/44": "54113", - "2001:559:516::/48": "33489", - "2600:2001::/32": "33517", - "2401:3340:6::/32": "45722", - "2604:11c0:200::/40": "395822", - "2a01:89c0::/32": "25428", - "2001:df1:cd00::/48": "135425", - "2602:fdb7::/47": "396073", - "2804:bfc::/32": "52654", - "2c0f:f000:800::/40": "36891", - "2001:559:7ad::/48": "33656", - "2001:1a11:73::/48": "8781", - "2400:e4c0::/32": "136093", - "2606:a600:4001::/48": "398024", - "2800:bf0:2c0::/45": "52257", - "2a02:e0:3128::/38": "34984", - "2a02:26f7:dfc5::/46": "20940", - "2001:978:5204::/39": "174", - "2401:d800:9d30::/41": "7552", - "2804:710:2::/44": "17222", - "2a00:1ce0::/32": "50530", - "2a02:2370:4000::/48": "32787", - "240a:a0ca::/32": "142852", - "240e:97e::/33": "58543", - "240e:980:4500::/40": "58461", - "2804:f74::/32": "263586", - "2a02:6900:880c::/48": "43894", - "2001:559:8447::/48": "33491", - "2405:a140::/32": "132559", - "2408:8956:f8c0::/37": "17816", - "2605:5300:200::/32": "21557", - "2804:1a34::/32": "61845", - "2a00:1938::/32": "42093", - "2a05:2c0::/29": "62178", - "2408:8459:2c40::/38": "17816", - "240a:ad93::/32": "146125", - "2604:6e00:800::/37": "13977", - "2605:a404::/42": "33363", - "2804:69d4::/32": "270294", - "2a02:26f7:18::/48": "36183", - "2001:438:fffd:125::/62": "397601", - "2001:618::/32": "15716", - "2404:b1::/35": "9891", - "2409:8028:1000::/40": "56041", - "2800:200:b430::/41": "12252", - "2602:fff6:1::/46": "8100", - "2605:a401:8b41::/40": "33363", - "2806:2f0:9d01::/34": "17072", - "2001:559:c041::/48": "7016", - "2001:559:c2f4::/48": "7015", - "2406:8800:40::/43": "17465", - "2408:8459:7650::/36": "17816", - "2600:141b:6801::/35": "20940", - "2401:b200:7::/41": "24186", - "2620:125:7009::/48": "53780", - "2a02:5c40::/32": "42451", - "2402:5300:4004::/42": "45903", - "2a03:b8c0:10::/48": "202276", - "2a0e:ed80::/29": "6735", - "2001:67c:28e8::/48": "199768", - "2409:8a75::/28": "9808", - "240a:a66f::/32": "144297", - "2600:1480:b000::/48": "21342", - "2620:149:575::/40": "714", - "2804:164c::/40": "263280", - "2804:5d90::/32": "13786", - "2a03:2880:4000::/32": "32934", - "2001:418:1c01:2::/34": "2914", - "2001:16a2:6200::/40": "25019", - "2408:84f3:de10::/42": "134543", - "240e:698:2000::/40": "4134", - "240e:940:e00::/40": "136197", - "240e:95d:1800::/37": "136194", - "2620:115:50::/40": "18888", - "2a09:5303::/32": "50113", - "2a0c:e300::/30": "198985", - "2a02:587:6800::/32": "6799", - "2001:559:302::/48": "7016", - "2001:559:700::/48": "33659", - "2400:af80::/32": "4693", - "2400:d400:11::/46": "45671", - "240a:ac88::/32": "145858", - "2804:558::/32": "262509", - "2806:269:3300::/37": "13999", - "2a02:cdc6:3101::/31": "59715", - "2a02:f040:4::/47": "59605", - "2a0e:fd45:2b19::/33": "44103", - "2803:3c0::/32": "265728", - "2a02:6000::/33": "35130", - "2a0f:2980::/29": "39587", - "2804:5b84:8000::/36": "28329", - "2a02:6560::/32": "201932", - "2a0d:82c7:c000::/34": "47787", - "2001:43f8:1620::/48": "328706", - "2600:1012:9020::/40": "22394", - "2804:145c:510::/33": "263327", - "2a00:6ec0:100::/40": "56837", - "2001:398::/32": "7682", - "2400:b000:1000::/48": "135162", - "2600:d09:4000::/30": "20161", - "2604:a00:1010::/32": "19318", - "2804:7ddc::/32": "271587", - "2001:678:770::/48": "201836", - "2400:80c0::/32": "132453", - "2404:ca40::/32": "134944", - "2404:e9c0::/46": "134405", - "2405:9800:c917::/44": "45430", - "2408:8957:5500::/40": "17816", - "2a02:26f7:bcc8::/48": "36183", - "240a:ab9a::/32": "145620", - "2600:1419:5c01::/38": "20940", - "2602:fdba::/36": "40676", - "2804:2d24::/32": "263032", - "2001:559:7dd::/46": "7922", - "2402:4900::/32": "9216", - "2600:1417:6d::/46": "9498", - "2602:ff96:13::/48": "26548", - "2a00:d7a0::/48": "8884", - "2a01:9700:1590::/41": "8376", - "2a02:27b0:5400::/39": "9146", - "2001:468:d02::/40": "4600", - "2400:addf::/39": "9541", - "2604:2e88:800::/30": "30036", - "2001:559:8680::/47": "7922", - "2001:16f8:16::/37": "25525", - "2402:8100:289e::/37": "55644", - "2604:d600:1659::/39": "32098", - "2804:14c:6521::/41": "28573", - "2a00:6f60::/32": "44923", - "2408:8000:5005::/32": "4837", - "2600:370f:7508::/45": "32261", - "2606:1a40:f006::/43": "398962", - "2804:26a8::/32": "263847", - "2001:67c:14bc::/48": "44594", - "2600:1008:f000::/44": "6167", - "2804:5494::/32": "268659", - "2a0f:3784:100::/46": "213204", - "2001:4490:3a00::/42": "9829", - "2600:100e:ff20::/40": "6167", - "2600:1400:2001::/32": "20940", - "2620:4d:4020::/48": "62597", - "2801:18:6800::/48": "271828", - "2a02:26f7:cb80::/48": "36183", - "2a02:26f7:d481::/46": "20940", - "2803:d100:9080::/38": "52362", - "2806:230:6035::/32": "11888", - "2a06:7a40:1::/46": "204050", - "2c0f:fc88:3f::/31": "36992", - "2001:2000:1000::/40": "3308", - "2408:8740::/32": "4837", - "2607:fdf0:5e2a::/43": "8008", - "2803:3c20::/32": "266672", - "2806:2a0:1000::/40": "28548", - "2a01:8840:12::/45": "12041", - "2a0c:2c40::/32": "58110", - "2001:4ba8::/29": "12570", - "2406:f940::/32": "141596", - "2610:68::/33": "5774", - "2804:497c::/32": "262896", - "2a02:bc8:37::/48": "202717", - "2a02:26f7:f681::/46": "20940", - "2a0a:ec02:701::/48": "42692", - "2803:d860::/32": "267826", - "2001:559:873f::/48": "33491", - "2001:67c:10b0::/48": "31317", - "2400:9380:82c0::/44": "136167", - "2804:cb0:8889::/33": "52742", - "2804:1cc8::/32": "61675", - "2804:249c::/32": "264233", - "2a0e:b107:15d0::/47": "210951", - "2001:559:c178::/48": "33657", - "2404:e801:201b::/45": "55430", - "2620:73:e000::/48": "396970", - "2804:265c::/32": "264329", - "2806:2f0:20e0::/48": "17072", - "2a00:b700::/47": "51659", - "2a07:3500:19b0::/48": "38915", - "240a:a6cb::/32": "144389", - "240a:a77a::/32": "144564", - "2804:30c:200::/35": "28343", - "2a0b:b87:ffd7::/48": "206804", - "2405:6e00:f820::/48": "133612", - "2605:bc0:2002::/48": "54201", - "2620:3a:2000::/48": "396418", - "2803:2f40:ffff::/48": "36351", - "2804:26ec::/32": "263864", - "2804:73e0::/32": "270943", - "2a05:7e80::/29": "50009", - "2001:44b8:27::/48": "4739", - "2620:68:6000::/48": "397321", - "2620:128:e082::/48": "22317", - "2804:63cc::/32": "269384", - "2a05:e40:1400::/34": "59909", - "2a0d:b201:1060::/43": "206026", - "2001:1a68:8::/47": "15694", - "2401:ab40:1::/48": "136961", - "2402:3a80:400::/41": "38266", - "2402:8100:2450::/45": "45271", - "2403:7a00::/32": "17676", - "240a:a243::/32": "143229", - "240e:108:28::/48": "133775", - "2408:8956:c9c0::/38": "17622", - "2a04:f900::/29": "59921", - "2a07:e880::/29": "202333", - "2a0f:600::/48": "51044", - "2404:a800:3003::/39": "9498", - "2408:8256:3160::/44": "17623", - "240a:ae0b::/32": "146245", - "2804:b2c::/32": "52946", - "2001:df2:f680::/48": "132269", - "2804:444c::/32": "267623", - "2a02:26f7:e900::/48": "36183", - "2a0a:9bc0::/29": "48303", - "2a0e:fd45:b30::/48": "42831", - "2401:ff80:170f::/43": "133954", - "2409:807e:900::/35": "9808", - "240a:af18::/32": "146514", - "2a00:a920::/32": "60486", - "2001:559:8793::/48": "33491", - "2801:80:350::/48": "262524", - "2a01:c50f:b780::/36": "12479", - "2c0f:e908::/32": "327750", - "2001:559:457::/48": "33651", - "2001:559:7e3::/45": "7725", - "2406:dd80::/32": "398704", - "2801:1b0::/40": "263719", - "2803:e8c0::/32": "266776", - "2a00:ecc0::/32": "16001", - "2803:8920::/33": "266673", - "2803:d600::/32": "20255", - "2a0b:5ac0::/29": "202803", - "2400:c800:4004::/29": "4515", - "2402:d000:1071::/45": "9329", - "2804:64d8::/32": "269453", - "240a:a14c::/32": "142982", - "240a:a40f::/32": "143689", - "240a:a8f3::/32": "144941", - "2804:6658::/32": "269552", - "2806:230:5016::/48": "265594", - "2a01:4a80::/32": "15630", - "2a01:5640::/32": "43207", - "2001:559:8050::/47": "33491", - "2405:a200::/32": "17534", - "2800:310:400::/45": "18678", - "2804:294::/33": "28604", - "2a0e:1d00::/32": "21263", - "2a03:5f00:105::/46": "29644", - "2001:253:103::/48": "142069", - "2402:800:9d55::/42": "7552", - "240a:a0ac::/32": "142822", - "240a:af0c::/32": "146502", - "2606:2800:21f::/42": "15133", - "2a02:26f7:bb45::/48": "36183", - "2a02:6680:1162::/48": "16116", - "2a0a:2ec0::/29": "201050", - "2001:648:20f0::/48": "199399", - "240e:95c:6000::/32": "4134", - "240e:980:9100::/40": "140061", - "2600:1402:a801::/35": "20940", - "2600:1403:12::/45": "20940", - "2a02:26f7:d15d::/48": "36183", - "2a06:de00::/29": "56469", - "2409:8a53:d00::/38": "56047", - "240a:a26a::/32": "143268", - "2602:fef4:300::/48": "54721", - "2604:9000:103::/34": "19693", - "2620:104:2041::/48": "16509", - "2800:4b0:400e::/40": "12252", - "2a04:2180::/32": "61272", - "2001:559:4e8::/48": "7922", - "2400:fc00:e50::/33": "45773", - "2607:f368:3220::/48": "46846", - "2803:7800::/32": "263703", - "2804:34:ff08::/40": "28306", - "2a00:7c00::/32": "41783", - "2a03:a5e0::/32": "51551", - "2a05:35c0:3::/29": "60781", - "2606:8e80:3000::/48": "394308", - "2620:118:b003::/48": "32110", - "2a02:26f7:ec4c::/48": "36183", - "2a0e:b107:f50::/44": "212270", - "2001:44b8:2039::/45": "4739", - "2402:f840:2::/32": "137883", - "2a03:2960:200::/32": "201590", - "2001:1248:a43f::/41": "11172", - "2001:16d8:57::/44": "16150", - "2407:1400:7::/40": "23752", - "2602:fe12:9::/48": "139267", - "2a01:c50f:c380::/41": "12479", - "2c0f:fe38:2220::/39": "33771", - "2001:1840:c000::/44": "196", - "2408:8256:2d7f::/48": "17816", - "240a:a186::/32": "143040", - "240a:aa10::/32": "145226", - "2600:6c38:a3::/44": "20115", - "2606:2800:447::/44": "15133", - "2610:100:6610::/32": "8047", - "2401:d800:71c0::/42": "7552", - "2600:370f:33c4::/44": "32261", - "2a00:86c0:2076::/47": "40027", - "2001:dc8:c000::/47": "24066", - "2406::/32": "9732", - "2408:8459:e10::/41": "17622", - "2602:fe19:11::/42": "26073", - "2602:ff62:203::/45": "61317", - "2a02:26f0:4801::/40": "20940", - "2001:1248:97cc::/42": "11172", - "2402:800:338d::/43": "7552", - "2803:9800:b505::/46": "11664", - "2806:320::/39": "28438", - "2001:67c:2e58::/48": "205376", - "2001:4998:ef5e::/48": "7233", - "2605:3600::/46": "30452", - "2607:b00::/32": "53834", - "2620:f3:8000::/48": "29825", - "2a0d:2902:caff::/48": "204185", - "2001:67c:1084::/48": "34686", - "240a:adb8::/32": "146162", - "2804:1268::/32": "263475", - "2806:230:1004::/48": "265594", - "2a02:26f7:f2c5::/46": "20940", - "2001:67c:1580::/48": "50277", - "2408:8456:aa10::/42": "134543", - "2409:805f:1900::/34": "9808", - "240a:a59c::/32": "144086", - "2600:1415:1c01::/34": "20940", - "2a0c:fc0::/29": "204383", - "240a:a854::/32": "144782", - "2a06:dd40:5600::/47": "203416", - "2a0a:580:1100::/43": "15404", - "2400:9380:a042::/48": "23764", - "2402:c4c0::/47": "132933", - "2806:269:300::/37": "13999", - "2a0e:1b00::/32": "49436", - "2001:550:2607::/48": "142580", - "2001:579:110c::/42": "22773", - "240a:a0d9::/32": "142867", - "240e:14:a000::/31": "4134", - "2804:6ea8::/33": "270611", - "2001:67c:740::/48": "44655", - "2401:d800:b060::/40": "7552", - "2403:8600:60f0::/47": "45820", - "240a:a130::/32": "142954", - "240a:acf7::/32": "145969", - "2804:3ab8::/32": "266105", - "2a00:11c0:82::/45": "42473", - "2001:408:10::/44": "6250", - "2408:8459:5c30::/41": "17622", - "240a:ab2b::/32": "145509", - "240a:acc9::/32": "145923", - "2804:4430::/32": "267608", - "2804:6be4::/32": "270432", - "2a03:5f00:108::/46": "207044", - "2001:67c:1588::/48": "198168", - "2408:840d:de00::/42": "17621", - "2604:3d00:d4fb::/45": "6327", - "2804:6930::/34": "270254", - "2a03:2cc0::/32": "57537", - "2405:c9c0:2a::/35": "138823", - "240a:a698::/32": "144338", - "2a02:e88:8000::/48": "44914", - "2001:470:90::/48": "36225", - "2001:df2:6c80::/48": "134928", - "2600:370f:7503::/45": "32261", - "2001:559:862d::/48": "7016", - "2001:1388:4446::/36": "6147", - "240a:afa1::/32": "146651", - "2606:6680:31::/46": "6315", - "2a06:1301:4090::/48": "47691", - "240e:1c7::/22": "4134", - "2600:1409:5801::/34": "20940", - "2405:ec00:9014::/42": "23955", - "2a07:5100::/29": "203052", - "2001:559:c296::/47": "7015", - "2001:ce0:2901::/32": "3662", - "2408:8459:3420::/44": "17816", - "240a:af48::/32": "146562", - "2605:cc40::/32": "46713", - "2800:160:24ff::/39": "14259", - "2a03:9180::/47": "199422", - "2409:8918::/31": "134810", - "2409:8b39::/30": "9808", - "240a:a75c::/32": "144534", - "2607:fdf8::/40": "13649", - "2804:5220::/32": "268496", - "2a00:16c8:10c::/48": "3257", - "2607:f110:17::/44": "21889", - "2a0c:ee00::/39": "206805", - "2a0c:a640:1::/48": "42298", - "2001:a48:8000::/36": "15851", - "2607:f6f0:6002::/40": "27566", - "2a01:4de0::/32": "199933", - "2a02:26f7:d581::/46": "20940", - "2a07:3b80:1::/48": "47447", - "2a09:6200::/29": "38946", - "2a0b:ed42::/29": "212547", - "2001:559:8586::/47": "7015", - "2404:ba00:8::/46": "17665", - "2a03:6f80::/30": "35676", - "240e:473:720::/41": "140486", - "2804:fc8::/32": "263603", - "2a02:2698:4c28::/38": "42682", - "2a02:26f0:2200::/48": "34164", - "2a04:a100::/29": "62183", - "2602:feda:dc0::/44": "142427", - "2001:18e8::/46": "87", - "2800:160:1df9::/38": "14259", - "2a02:ab40::/29": "196810", - "2001:559:845d::/48": "33667", - "2409:8b7f::/21": "9808", - "240e:3bc:dc00::/34": "4134", - "2804:5534:d000::/37": "268696", - "2a01:280:370::/48": "3301", - "240a:a6d9::/32": "144403", - "240e:6bd:1000::/30": "4134", - "2600:370f:352d::/41": "32261", - "2604:9e40:4::/32": "29457", - "2620:a4:2051::/48": "399120", - "2001:1900:228d::/43": "3356", - "2600:1003:a400::/44": "6167", - "2607:f3b0::/32": "21976", - "2804:5de0::/32": "268998", - "2a01:8840:4e::/43": "12041", - "2a02:26f7:c8d8::/48": "36183", - "2a02:26f7:bec9::/42": "20940", - "2401:7000::/33": "45177", - "2406:2000:9d::/46": "10310", - "2409:8061:900::/35": "9808", - "2607:f2d8:6000::/32": "18450", - "2801:13a::/44": "270028", - "2a01:8900::/32": "30847", - "2a02:2698:3c00::/38": "50498", - "2a02:52a0::/32": "202017", - "2a06:9500::/45": "204028", - "2001:559:8468::/48": "22909", - "2001:559:85ec::/48": "33657", - "2402:800:51c5::/43": "7552", - "2604:e800::/32": "23376", - "2a01:ce82:4000::/32": "51964", - "2a02:26f7:be81::/46": "20940", - "2a06:f880::/29": "200719", - "2001:579:92f2::/39": "22773", - "2403:2c00:fffc::/46": "4058", - "2806:230:2038::/48": "265594", - "2a02:2090::/47": "48287", - "2001:559:8746::/48": "7922", - "2409:8070:1100::/36": "9808", - "2600:140f:bc01::/38": "20940", - "2607:fb10:5030::/44": "2906", - "2804:6154::/32": "269228", - "2a02:26f7:f68c::/48": "36183", - "2a02:2e02:8d40::/42": "12479", - "2001:678:c0c::/48": "15823", - "2001:48c0::/46": "14589", - "2408:84f3:de40::/39": "17816", - "2400:9700:121::/44": "24550", - "2408:8406:c00::/39": "4808", - "2804:7374::/32": "270916", - "2a02:5f00::/32": "19229", - "2a07:df00::/29": "41974", - "2a0f:c084::/32": "199669", - "2001:1248:a000::/48": "11172", - "2600:1406:36::/48": "20940", - "2a00:12a0::/32": "34123", - "2001:67c:2ae4::/48": "20572", - "2408:8256:359d::/46": "17623", - "2a0e:fd80::/29": "208722", - "2001:678:5cc::/48": "31149", - "2001:44b8:4067::/48": "4739", - "2401:1d80:1003::/48": "133530", - "2600:140a:2000::/48": "35994", - "2803:83a0::/48": "267745", - "2804:49dc::/32": "267205", - "2408:8459:a030::/41": "17622", - "240a:a066::/32": "142752", - "240e:983:1e09::/22": "4134", - "2605:a401:80a5::/43": "33363", - "2a02:a40::/32": "25248", - "2402:800:9647::/43": "7552", - "2404:0:8fff:100::/48": "131591", - "2803:c010:d::/46": "271799", - "2a01:488:bb07::/44": "20773", - "2a03:b8c0:17::/44": "137922", - "2001:559:13a::/48": "7016", - "2001:67c:2a68::/48": "198944", - "2409:8904:5ab0::/39": "24547", - "2605:1140:1::/48": "394142", - "2804:7ab4:200::/32": "271387", - "2a00:5884::/32": "204092", - "2a07:3500:19e8::/48": "38915", - "2401:f000:6::/48": "23838", - "2408:8256:317f::/48": "17816", - "2a02:26f7:c985::/46": "20940", - "2001:559:8742::/48": "33491", - "2001:1248:96ff::/39": "11172", - "240a:a736::/32": "144496", - "2600:250f::/32": "26801", - "2620:135:e000::/40": "2495", - "2408:8459:7e10::/42": "17623", - "2a02:26f7:ce81::/46": "20940", - "2a02:26f7:d484::/48": "36183", - "2a04:4e80::/47": "211400", - "2001:559:4a8::/48": "33657", - "2610:130:100::/40": "2698", - "2620:9f:12::/48": "3356", - "2620:100:9004::/47": "22843", - "2804:2cac:ddde::/34": "265234", - "2001:1360::/32": "52286", - "2407:a080::/32": "133480", - "2a09:6600::/29": "208861", - "2a0b:26c0::/29": "56800", - "2001:4c8:1094::/47": "15290", - "2620:75:a000::/48": "397799", - "2a01:c50f:2380::/36": "12479", - "2a02:2d8:1:7808::/64": "35277", - "2001:ee0:9440::/38": "45899", - "240a:6b::/32": "9605", - "2a01:3d8::/32": "12759", - "2a02:2d8:1:7809::/64": "9002", - "2400:6140::/32": "64006", - "240a:a2fb::/32": "143413", - "240e:44d:280::/41": "4134", - "2804:7bb4::/32": "271449", - "2a09:b240::/32": "21269", - "2001:918:ff73::/45": "8300", - "240a:ac1f::/32": "145753", - "2607:f7a8:42d::/39": "16657", - "2a00:1288:7d::/46": "10310", - "2a09:9180:fd::/48": "786", - "2a0b:1980::/29": "206529", - "2401:e380:8522::/47": "131091", - "2404:bf00:800::/40": "9303", - "2409:805e:100::/36": "9808", - "240a:af3a::/32": "146548", - "2a02:26f7:cc41::/46": "20940", - "2a02:2970::/32": "43847", - "2001:df3:da00::/48": "132134", - "2001:df0:230::/48": "56237", - "2804:1d30::/32": "264353", - "2804:22d0::/32": "264124", - "2a09:a700::/29": "209854", - "240e:3bf:5600::/34": "4134", - "2600:1406:200::/48": "35994", - "2606:2800:4a68::/46": "15133", - "2620:d2::/48": "25631", - "2a0e:8f02:2133::/44": "211722", - "2401:4900:4ce0::/44": "45609", - "2407:1e40:401::/39": "141732", - "2806:268:1300::/37": "13999", - "2001:1260:4::/48": "28535", - "2401:d800:2b30::/41": "7552", - "2404:2b40::/32": "24373", - "2804:71ec::/32": "270820", - "2001:559:44a::/48": "33659", - "2620:12d:5000::/47": "55128", - "2804:7560::/32": "271042", - "2403:9800:b018::/48": "4771", - "2620:109:c006::/48": "55163", - "2001:1260:f::/48": "28544", - "2402:ef0b:a000::/36": "24515", - "2607:9800::/32": "15085", - "2a06:9900::/29": "12552", - "2001:3e0::/34": "10013", - "2001:559:8798::/47": "7922", - "2804:71c::/32": "53080", - "2a02:23f0::/32": "20771", - "2c0f:f238::/32": "328032", - "2605:a401:87aa::/43": "33363", - "2804:a28::/32": "263026", - "2a01:548::/32": "9113", - "2a03:ef42::/33": "57218", - "2a02:26f7:f648::/48": "36183", - "2408:8456:9240::/37": "17816", - "2408:8456:ec40::/40": "17816", - "2408:8459:cb30::/41": "17622", - "2600:6c39:1::/44": "20115", - "2803:e800::/32": "13424", - "2806:260:4200::/39": "13999", - "2a02:26f7:e7d1::/42": "20940", - "2001:559:c362::/48": "33287", - "240a:a865::/32": "144799", - "2800:160:1e79::/40": "14259", - "2804:3ab4::/33": "266104", - "2804:7a38::/32": "271356", - "2a00:da60::/32": "25581", - "2408:8456:9c10::/42": "134543", - "2600:6c7f:90d0::/48": "20115", - "2606:6c00:2000::/48": "393560", - "2800:310:12::/38": "18678", - "2a0e:b4c0::/29": "208420", - "2a02:26f7:da40::/48": "36183", - "2001:559:5b4::/48": "33662", - "2400:b5c0::/32": "9891", - "240e:3b4:dc00::/34": "4134", - "2607:fb58:2002::/36": "36086", - "2620:113:1005::/46": "15224", - "2001:559:8118::/48": "33659", - "2a0a:e5c1:100::/38": "207996", - "240a:ab77::/32": "145585", - "240e:379:ac00::/30": "4134", - "2620:74:7b::/45": "7342", - "2a00:cb8:44::/48": "15695", - "2a01:9420::/29": "62099", - "2a05:b880::/29": "44746", - "2001:400:b20::/48": "45", - "2001:56b:500d::/36": "852", - "2001:16b8:8f00::/33": "8881", - "240a:a833::/32": "144749", - "2620:11b:4016::/47": "47870", - "2600:140f:9c00::/48": "9498", - "2a0e:b107:1200::/47": "142130", - "2402:800:5563::/43": "7552", - "2402:2700:100::/33": "132061", - "2a0f:5701:3517::/44": "205593", - "2001:1248:971b::/42": "11172", - "2408:8459:5c50::/38": "17816", - "2804:2484::/32": "28258", - "2a02:26f0:118::/48": "20940", - "2a02:26f7:c94e::/42": "20940", - "2a0c:c500::/32": "49798", - "2a0e:bc0::/29": "41731", - "2001:559:87a7::/48": "7922", - "2408:8957:7700::/40": "17816", - "240e:473:3e00::/41": "140485", - "2620:11b:e0f2::/44": "3356", - "2a02:26f7:f345::/46": "20940", - "2a0b:c1c0::/29": "42580", - "2c0f:ed00:351::/48": "328442", - "2001:8a8::/32": "15623", - "2400:8b00:c80::/42": "45727", - "2402:b7c0::/32": "63774", - "2607:f060:1000::/46": "17017", - "2804:bcc::/32": "52830", - "2a02:1620:8004::/48": "4637", - "2a0b:33c0:1::/46": "57395", - "2c0f:fb20::/32": "36925", - "2401:d800:9d60::/40": "7552", - "2604:da00::/36": "31745", - "2606:a000:4000::/32": "11426", - "2607:f208:8::/48": "398107", - "2620:1f8:f046::/48": "40443", - "2804:11bc:4000::/38": "263435", - "2a03:2800::/29": "12488", - "240a:a1f2::/32": "143148", - "2620:be:4000::/48": "394068", - "2800:160:1650::/45": "14259", - "2803:6de0::/32": "64126", - "2803:d100:e380::/41": "52362", - "2001:559:283::/48": "33662", - "2001:559:8015::/44": "7922", - "2001:dcc:702::/47": "23600", - "2602:feda:a2::/48": "46997", - "2806:230:6026::/48": "265594", - "2a0e:8f02:f013::/48": "212279", - "2001:218::/34": "2914", - "2401:ff80:1491::/46": "133954", - "2a00:1f00::/32": "50295", - "2a03:47c0:1081::/34": "21277", - "240e:109:8045::/48": "58461", - "2001:67c:2d34::/48": "207583", - "2001:1248:977f::/48": "11172", - "2409:8924:9700::/36": "56046", - "2a0c:95c0::/29": "207509", - "2001:418:8004::/47": "7019", - "2600:1480:6100::/37": "20940", - "2600:e000:8000::/38": "22995", - "2620:11a:a02f::/43": "43515", - "2804:1360:80::/32": "263531", - "2405:1c0:6761::/45": "135062", - "2607:f7a8:a0b::/45": "46887", - "2620:12b:4000::/40": "395568", - "2001:4878:b007::/44": "12222", - "2402:c200::/32": "9374", - "2605:1540::/32": "22497", - "2804:330c::/32": "265113", - "240a:ae10::/32": "146250", - "2602:fd15::/36": "398465", - "2602:ff70::/36": "394367", - "2620:123:2085::/48": "30103", - "2603:c023:c000::/35": "31898", - "2604:d600:1b08::/47": "32098", - "2605:1cc0::/32": "7029", - "2801:80::/48": "28646", - "2804:eec::/35": "28226", - "2a0a:c380::/29": "50308", - "2600:5800:f628::/39": "11426", - "2001:388:406d::/40": "7575", - "2001:559:83fc::/48": "7015", - "2800:bf0:81c0::/47": "52257", - "2a01:9640::/32": "47727", - "240a:a91a::/32": "144980", - "2001:678:efc::/48": "212135", - "2409:8c34:1000::/33": "9808", - "240a:a2d1::/32": "143371", - "2606:7000::/32": "46435", - "2804:c00:ac00::/33": "52655", - "2a00:fb40::/32": "198792", - "2a03:54a0::/32": "49100", - "2402:800:5663::/43": "7552", - "240a:aa4e::/32": "145288", - "240a:ad1b::/32": "146005", - "240a:a952::/32": "145036", - "2804:6908:6000::/35": "270244", - "2a01:ce8d:6000::/32": "51964", - "2a02:26f7:f6cd::/43": "20940", - "2001:559:8427::/48": "7725", - "2a01:c50f:600::/36": "12479", - "2620:5f:4000::/48": "17378", - "2403:7500::/32": "38566", - "2804:49c8::/32": "267203", - "2a02:2430:4::/48": "39869", - "2a02:26f7:d211::/42": "20940", - "2a0e:fd45:2a00::/44": "213253", - "240a:a9ab::/32": "145125", - "2804:5cbc:fa40::/37": "268927", - "2001:550:560b::/39": "174", - "2001:559:e9::/48": "13367", - "2001:ac8:53::/42": "9009", - "2001:4c38::/29": "15435", - "2600:1400:8001::/35": "20940", - "2a02:26f7:c34b::/48": "20940", - "2400:adc2:900::/38": "9541", - "2401:4900:4790::/42": "45609", - "2409:8004:5::/36": "24547", - "2a00:1d58:ae00::/39": "47524", - "2a02:26f7:e548::/48": "36183", - "2001:559:3aa::/48": "7015", - "2404:1280:1::/48": "393398", - "240e:44d:5800::/41": "140345", - "2620:74:14::/48": "30060", - "2804:235c:c00::/32": "52747", - "2a04:43c0::/29": "12564", - "2001:559:86af::/48": "33491", - "2404:e801:101b::/45": "55430", - "2800:160:204c::/47": "14259", - "2804:429c::/32": "267512", - "2806:230:3014::/48": "265594", - "2a00:c200::/32": "39512", - "2a03:720:19::/32": "57073", - "2406:da12::/36": "16509", - "2600:1000:d000::/43": "6167", - "2801:10:f000::/48": "3816", - "2a02:26f7:ce88::/48": "36183", - "2001:559:c013::/48": "33491", - "2001:67c:1ba4::/48": "59586", - "2001:67c:28fc::/48": "48635", - "2001:1248:a02f::/48": "11172", - "2408:8026:b0::/41": "17621", - "2409:40f0:1000::/32": "55836", - "2607:2680::/32": "394969", - "2a0a:ca00::/32": "207038", - "2001:559:143::/48": "7015", - "2001:df0:75::/48": "23767", - "2402:4e00:101::/32": "45090", - "240a:a387::/32": "143553", - "2620:12e:4001::/48": "36741", - "2800:160:1bc0::/44": "14259", - "2a0a:441:1::/48": "47692", - "2001:559:399::/48": "13367", - "2804:1ab4::/32": "61877", - "2409:8a04:e300::/31": "24547", - "2607:fd28:a006::/48": "3725", - "2a0e:1580::/29": "208942", - "2001:bf7::/39": "44194", - "2804:7858::/33": "271236", - "2a02:26f7:f8c9::/46": "20940", - "2402:4000:2290::/32": "18001", - "2620:10b:b000::/44": "11807", - "2620:1f0::/32": "1798", - "2804:7f48::/32": "271678", - "2001:4290::/32": "23889", - "2804:3168::/32": "265013", - "2a05:4140:400::/47": "213388", - "2001:1250:d000::/44": "22894", - "2001:4998:150::/44": "10310", - "2605:edc0::/32": "398639", - "2607:f380:a50::/44": "2152", - "2607:f518:101::/46": "46887", - "2804:e94:43::/44": "262468", - "2a02:1388:3000::/33": "29247", - "2001:1af0:9001::/43": "13046", - "2401:47c0:1900::/38": "41095", - "2001:678:cf4::/48": "213400", - "240a:aa0b::/32": "145221", - "2603:c0f0:1000::/43": "6142", - "2804:7c70::/32": "271496", - "2806:2f0:12e4::/43": "17072", - "2a02:cf40::/29": "62121", - "2001:559:8362::/48": "33491", - "2001:67c:2970::/48": "211722", - "2001:c20:8409::/48": "9255", - "2409:8904:e140::/42": "24547", - "2a03:2380:6::/32": "198818", - "2001:460:7c::/40": "3561", - "2001:559:52c::/48": "7016", - "2001:559:80f2::/48": "7922", - "2001:559:85f6::/48": "7725", - "2401:d800:5540::/42": "7552", - "2602:ff98:340::/36": "63447", - "2a02:47e0::/29": "201984", - "2a03:2880:f05d::/46": "32934", - "2a09:cfc0::/29": "42926", - "2c0f:fd48::/32": "37329", - "2001:253:135::/48": "142101", - "2001:500:12::/48": "5927", - "2401:cf80:600e::/41": "55303", - "2407:c600:1::/48": "56140", - "2606:2800:20c::/46": "15133", - "2804:1040:fb00::/37": "263626", - "2a0d:d6c2::/29": "200350", - "2402:47c0::/39": "137280", - "2001:559:73d::/48": "7015", - "2001:df0:8380::/48": "131401", - "2001:4998:1c0::/48": "7280", - "2800:bf0:80e2::/48": "27947", - "2804:2ac0::/32": "264092", - "2806:109f:c::/43": "8151", - "2a01:6140::/32": "51164", - "2409:8535::/22": "9808", - "2a01:b880::/32": "1257", - "2a03:2f40::/32": "3330", - "2a06:9e00::/29": "57795", - "2001:559:c114::/48": "7016", - "2001:4de0:4000::/45": "33438", - "2401:b0c0:b000::/48": "136941", - "2001:559:850b::/48": "7015", - "2407:1000::/32": "24005", - "2409:8915:7600::/39": "56044", - "2804:38ac::/32": "266493", - "2804:3990::/32": "266036", - "2001:678:e38::/48": "212651", - "240a:aaef::/32": "145449", - "2804:7e4::/32": "52865", - "2a00:aea0:6500::/40": "12678", - "2a0e:b107:1477::/48": "142164", - "2001:1248:9c28::/43": "11172", - "2401:2400::/44": "38496", - "2401:fd40::/32": "56301", - "2403:1540::/48": "45671", - "240a:acff::/32": "145977", - "240a:ad26::/32": "146016", - "2001:1248:986d::/43": "11172", - "2001:4228::/32": "15706", - "2001:b400:f410::/45": "3462", - "2804:6dc0::/32": "270553", - "2001:19f0:ccc::/47": "20473", - "2400:9380:83c0::/44": "136167", - "2402:5300:4040::/39": "45903", - "2406:cf00::/48": "4808", - "2407:b000:4012::/32": "17819", - "2408:8256:3177::/44": "17623", - "240a:ae30::/32": "146282", - "2a03:75a0::/32": "31736", - "2a0c:b807::/32": "204725", - "240a:a201::/32": "143163", - "2600:1fa0:4080::/42": "16509", - "2a05:81c0::/29": "2875", - "2a0a:8d80::/48": "44094", - "2001:df0:66::/48": "45894", - "2605:3380:4147::/44": "12025", - "2606:f100::/32": "3300", - "2620:149:a1e::/48": "6185", - "2804:174::/32": "53152", - "2a0a:ad00:9a::/48": "42352", - "2001:500:80::/48": "27299", - "2001:559:1f5::/46": "33652", - "2401:d800:e000::/35": "7552", - "2403:2c00:7::102/63": "4058", - "2409:8051:1900::/37": "9808", - "240a:ab91::/32": "145611", - "2804:2b6c::/32": "262794", - "2a0c:1ec0::/29": "60341", - "240a:a8f9::/32": "144947", - "2600:1003:a810::/37": "22394", - "2600:1014:a000::/43": "6167", - "2804:204:311::/45": "28186", - "2804:3df8::/46": "266566", - "2804:54fc::/32": "268682", - "2a09:8440::/29": "41918", - "2407:3640::/32": "141995", - "2001:df0:22b::/48": "38574", - "2604:bc80:8000::/33": "29066", - "2a0a:ec02:201::/46": "42692", - "2a10:7300::/29": "398559", - "2001:559:85f3::/45": "33651", - "2408:8459:a850::/38": "17816", - "2409:8c4c::/36": "9808", - "2804:43b0::/32": "267584", - "2a0f:de00::/29": "208253", - "2a0f:eb80:2::/44": "47267", - "2a0e:3200::/29": "12843", - "2001:559:358::/48": "33651", - "2001:559:860c::/47": "7922", - "2001:eb0:104::/32": "9584", - "240a:af46::/32": "146560", - "2604:69c0::/47": "18439", - "2a00:9780::/32": "50928", - "2a02:2698:3000::/38": "50544", - "2800:160:12c4::/44": "14259", - "2804:e00:a000::/33": "11419", - "2804:52a4::/32": "268531", - "2001:559:47::/48": "33659", - "2400:9380:8ac0::/44": "136167", - "2603:c0f8:2020::/39": "20054", - "2a03:6180::/32": "41741", - "2001:559:c135::/48": "33651", - "2408:84f3:3440::/44": "17623", - "240a:ac07::/32": "145729", - "2602:800:1006::/44": "16970", - "2804:269c:fe52::/47": "47065", - "2a03:5de0::/32": "57676", - "2001:559:c0bf::/48": "33659", - "2600:140f:d801::/38": "20940", - "2601::/20": "7922", - "2a0c:8080::/32": "204772", - "2406:1440:1101::/48": "7630", - "2a02:25e0:f00::/40": "41691", - "2001:d10:9800::/34": "4787", - "2408:8459:e430::/41": "17622", - "2606:4900::/32": "13765", - "2a00:6920:1000::/40": "42020", - "2a02:26f7:fa05::/46": "20940", - "2001:1b70:b1::/48": "8147", - "2001:4801::/32": "19994", - "240a:a6db::/32": "144405", - "2607:9b80:a20::/40": "46558", - "2803:2c00::/32": "262231", - "240a:a09b::/32": "142805", - "240e:3b2:7a00::/32": "140313", - "2610:20:8040::/44": "20033", - "2001:559:8569::/48": "7922", - "2001:4490:3800::/42": "9829", - "2806:230:2000::/48": "265594", - "2001:67c:18c0::/48": "62311", - "2600:1005:b0f0::/39": "22394", - "2801:0:140::/48": "52314", - "2804:14c:3ba7::/41": "28573", - "2a00:7b00:f900::/37": "12338", - "2001:67c:1378::/48": "56823", - "2001:67c:2f7c::/48": "24605", - "2402:1200:11::/39": "24523", - "2600:9000:219d::/46": "16509", - "2804:14c:ce00::/40": "28573", - "2a02:26f7:d189::/42": "20940", - "2a09:9180:ff::/48": "786", - "2804:29b4::/32": "264030", - "2001:559:298::/48": "33652", - "2001:1248:5635::/46": "11172", - "240e:438:6220::/43": "140647", - "2605:bfc0:e000::/35": "36048", - "2607:fda8:5::/35": "6128", - "2804:db0:184::/32": "52862", - "2001:579:5a5c::/42": "22773", - "2408:8956:8500::/40": "17816", - "2804:10e0:2000::/38": "263653", - "2a02:ff0:2fa::/47": "12735", - "2a04:2e80:1::/48": "56740", - "2001:67c:2800::/48": "57957", - "2401:d800:b740::/42": "7552", - "2402:800:4303::/40": "7552", - "2408:80ea:64c0::/38": "17816", - "2607:f570::/32": "13326", - "2a02:26f0:b6::/44": "20940", - "2001:18c8:600::/40": "8015", - "2607:f368:f00::/40": "46846", - "2001:df7:3b80::/48": "142627", - "240a:ac14::/32": "145742", - "2600:380:7480::/38": "20057", - "2607:f2d8::/41": "18450", - "2a0e:bbc0:8001::/48": "11251", - "2001:388:3049::/43": "7575", - "2403:0:11d::/38": "4755", - "2403:8400::/48": "17917", - "2605:4a40::/36": "13786", - "2605:8300:2::/48": "25645", - "2a10:4b40::/29": "210107", - "2620:83:a000::/48": "394191", - "2806:230:3007::/48": "11888", - "2001:1938:4003::/45": "12989", - "240e:7:4800::/37": "4134", - "2602:fcce:f2::/39": "399200", - "2806:303::/32": "21623", - "2c0f:f970::/32": "328471", - "2001:559:8234::/48": "33656", - "240a:a666::/32": "144288", - "2806:230:6010::/48": "265594", - "2408:8459:ba50::/37": "17816", - "2409:8924:900::/38": "56046", - "240e:c0:2000::/30": "4134", - "2a01:7220::/32": "62179", - "2a02:26f7:d7c4::/48": "36183", - "2001:67c:1548::/48": "200693", - "2001:1248:5662::/45": "11172", - "2620:10d:9004::/48": "25993", - "2804:48b8::/32": "267140", - "2804:6014:8000::/33": "269144", - "2a0d:7bc0::/29": "40970", - "2001:67c:14d::/48": "21083", - "2600:1480:580e::/37": "20940", - "2602:fcf5::/36": "14058", - "2a02:26f7:e709::/42": "20940", - "2001:1278::/44": "18734", - "2602:ffc0::/36": "11080", - "2800:484:b00::/40": "14080", - "2804:214:8498::/39": "26615", - "2a01:358:8011::/33": "9121", - "2a01:6780:2::/48": "24679", - "2a00:1c90::/32": "29486", - "2401:d800:5090::/42": "7552", - "2403:ec00:38::/47": "17806", - "2405:1c0:6441::/46": "135062", - "240e:982:7000::/40": "134238", - "2600:1a0e:7bf::/36": "46650", - "2600:40ff:fc00::/48": "7046", - "2620:121:8::/45": "55219", - "2a02:128:9::/48": "50685", - "2a0c:b641:610::/47": "208505", - "2401:3bc0:c::/46": "137409", - "2405:f080:9ff::/48": "141180", - "2409:8060:1100::/36": "9808", - "2602:ffc5:109::/48": "7489", - "2a01:8100:1::/48": "203461", - "2400:6280:20::/48": "132876", - "2409:8c44:b00::/48": "9808", - "240a:adee::/32": "146216", - "2806:230:204b::/48": "11888", - "2a0c:6200::/29": "48655", - "2001:678:57c::/48": "42239", - "2001:fd8:b1a0::/44": "132199", - "2608:4121:2::/48": "27065", - "240b:4003:1bf::/48": "45102", - "2600:140b:5400::/48": "31109", - "2605:dbc0::/32": "397880", - "2804:3100::/32": "264986", - "2a0e:69c0::/48": "39862", - "2401:d800:9d90::/42": "7552", - "2402:800:f2f0::/39": "7552", - "2a00:10e8:3::/29": "44574", - "2001:df0:e9::/48": "55680", - "2605:1080:0:ffce::/63": "23367", - "2a0f:b100:200::/40": "201281", - "2001:d58::/32": "9416", - "2804:279c::/32": "263913", - "2804:5268::/39": "268516", - "2401:7c00:2000::/36": "132870", - "2a02:750::/44": "42708", - "2a07:e7c0:1000::/48": "201076", - "2001:4888:8050::/46": "22394", - "2402:d000:1069::/45": "9329", - "2602:fc6a:200::/48": "399747", - "2607:6b80:66::/48": "63213", - "2a0f:d9c0::/29": "205544", - "2001:3c8:1010::/47": "4621", - "2602:fed2:731c::/48": "20473", - "2620:104:2021::/46": "40185", - "2a0e:8f00:e000::/36": "42847", - "2001:df4:db00::/48": "134884", - "2604:df40::/32": "394991", - "2a00:a7a0:1000::/48": "62243", - "2a02:2880::/32": "28886", - "2402:3a80:c043::/44": "38266", - "2406:e000:393::/36": "23655", - "240e:5f:6000::/48": "134773", - "2a06:1287:2900::/47": "207150", - "2605:3b00::/36": "36146", - "2605:b240::/48": "13820", - "2405:1c0:6311::/45": "135062", - "2409:8730:8000::/33": "9808", - "2a06:fdc0::/32": "34971", - "2001:559:1f1::/48": "7015", - "2001:559:c38b::/48": "7922", - "2001:df3:8800::/48": "36351", - "2600:370f:20e3::/39": "32261", - "2001:510:305::/32": "376", - "2620:129:9001:51::/48": "13767", - "2804:1cf0::/32": "61684", - "2a00:c320::/32": "42263", - "2001:dd8:5::/48": "55439", - "240a:adaa::/32": "146148", - "2603:c023::/35": "31898", - "2a02:2698:1c00::/38": "34590", - "2a03:f80:ad15::/48": "57169", - "2001:559:728::/48": "7922", - "2001:559:c227::/48": "21508", - "2001:ee0:f000::/40": "45899", - "2402:49c0::/32": "137385", - "2405:1a80::/32": "18283", - "2804:796c::/32": "271304", - "2a02:ff00::/29": "60475", - "2a07:e640::/29": "2613", - "2a0f:9207:1::/42": "45009", - "2620:12d:4000::/44": "53988", - "2a07:9c0::/29": "203328", - "2403:5800:4::/33": "4764", - "2001:67c:1990::/48": "207077", - "240a:a33e::/32": "143480", - "2606:2680:a000::/48": "7138", - "2804:3b34:1106::/34": "266135", - "2a0b:4340:60::/44": "205603", - "2406:cc40::/32": "134236", - "2a02:2698:8000::/44": "41682", - "2001:559:c04c::/47": "7015", - "2803:12a0::/32": "266855", - "2a05:5a42::/32": "8943", - "2c0f:f850:dc06::/34": "327979", - "2001:470:f7::/48": "6939", - "2400:51c0::/32": "133073", - "240e:5e:2101::/35": "4134", - "2600:1417:c000::/48": "24319", - "2800:bf0::/44": "52257", - "2a01:7c00::/43": "52075", - "2a10:4e80::/29": "203012", - "2001:559:8439::/46": "33667", - "2408:8207:19d0::/32": "4808", - "2607:fc58:1:18::/64": "13536", - "2607:f6f0:4002::/45": "29884", - "2806:260:1012::/47": "28481", - "2400:cb00:298::/47": "13335", - "2406:9dc0:10::/44": "207268", - "2602:fdce::/36": "397617", - "2a03:22c0::/32": "199551", - "2607:fcd0:fa80:210c::/62": "8100", - "2405:9200:3100::/41": "131596", - "2409:8924:8b00::/37": "56046", - "2a00:ce0::/32": "8553", - "2001:678:d08::/48": "213376", - "2001:67c:554::/48": "12525", - "2a0f:5701:3200::/37": "206499", - "2001:559:810c::/48": "7922", - "2607:5980::/32": "393573", - "2804:2d90:2200::/32": "52682", - "2001:559:810d::/48": "21508", - "2401:c900:1f00::/34": "36351", - "240a:af8c::/32": "146630", - "2600:100a:f110::/36": "22394", - "2605:f440:54::/33": "54874", - "2607:f148:6000::/47": "11734", - "2800:160:1321::/44": "14259", - "2a00:6d47::/36": "205727", - "2a00:f520::/32": "29551", - "2a05:b400::/32": "786", - "2001:559:4ac::/48": "22909", - "2a07:2440::/29": "42695", - "2a0d:7100:b::/48": "44167", - "2001:fd8:121::/46": "4775", - "240a:a2a4::/32": "143326", - "2800:484:b500::/38": "14080", - "2a01:7300::/32": "50031", - "240e:44d:3f80::/41": "4134", - "240e:44d:4a80::/41": "4134", - "2804:1b0::/36": "10429", - "2804:53dc::/32": "268611", - "2806:230:403e::/48": "265594", - "2a01:8840:ae::/43": "12041", - "2a02:26f7:f280::/48": "36183", - "2001:559:83ee::/48": "7922", - "2401:3cc0:701::/36": "137409", - "2409:8c28:35b1::/33": "56041", - "2606:4a00:1200::/32": "33154", - "2607:f6f0:208::/48": "27330", - "2620:107:904c::/48": "22787", - "2804:5130::/34": "268436", - "2804:6450::/32": "269420", - "2001:67c:2f68::/48": "207748", - "2402:800:3d8d::/43": "7552", - "2404:4a00::/48": "45629", - "240a:a823::/32": "144733", - "2600:1407:9800::/48": "35994", - "2803:2180:19::/45": "27941", - "2804:e6c:2000::/33": "262954", - "2a03:a0a1::/32": "202467", - "2a09:8e40::/33": "200735", - "2001:678:94::/48": "42", - "2600:140b:9c00::/48": "24319", - "2a02:26f7:e345::/46": "20940", - "2001:559:c2ba::/48": "7725", - "2001:df4:6280::/48": "45553", - "2001:4888:8010::/44": "22394", - "2607:a800:917::/48": "15695", - "2001:460:84::/44": "3561", - "2804:14d:58a1::/41": "28573", - "2a00:ce20::/29": "15600", - "2a02:26f7:e2c9::/42": "20940", - "2a03:5341:10::/44": "18666", - "2405:1500:61::/40": "58717", - "2804:78e0::/32": "271271", - "2a03:2880:f13b::/45": "32934", - "2408:8256:3a80::/48": "17816", - "2620:10a:9046::/48": "7018", - "2a00:11c0:77::/48": "42360", - "2a0a:7880:1ff::/48": "206677", - "2001:559:8632::/47": "33651", - "2406:daa0:4040::/44": "16509", - "2804:7444::/32": "270970", - "2a0b:3700::/47": "61317", - "2a0f:cc87:d000::/34": "208861", - "2001:b10:e000::/35": "13293", - "2001:df0:421::/48": "4826", - "2001:1248:70a2::/45": "11172", - "2400:e480:e::/32": "131588", - "2a01:6f0:200::/32": "42366", - "2a02:26f0:1800::/48": "34164", - "2605:9b00::/32": "32220", - "2610:a1:1024::/48": "397213", - "2a02:26f7:bdcd::/42": "20940", - "2a02:26f7:ec8d::/42": "20940", - "2001:4870:e00c::/31": "3549", - "240a:a0db::/32": "142869", - "2a03:4a81::/32": "20473", - "2a04:4280:100::/48": "43260", - "2001:559:6c::/47": "7922", - "2a0a:90c0:10c1::/48": "205080", - "2001:67c:1138::/48": "57288", - "240a:a8c7::/32": "144897", - "2602:fced::/36": "398992", - "2804:3858::/32": "266471", - "2804:3e70:f008::/36": "266596", - "2a01:9700:1398::/42": "8376", - "2001:550:6800:2::/38": "174", - "2001:559:95::/48": "7016", - "2001:67c:2664::/48": "42525", - "2405:7800::/32": "17689", - "2604:9000::/39": "19693", - "2800:b70:11::/48": "262191", - "2803:b320::/32": "266732", - "2801:80:400::/48": "263012", - "2806:2f0:9202::/41": "17072", - "2a00:9f00:b::/43": "29314", - "2a0b:2c40::/29": "205741", - "2a0e:3840:1::/48": "3170", - "2001:503:d2d::/48": "396566", - "2401:ad00::/32": "18125", - "240a:a916::/32": "144976", - "2804:4f8:a005::/44": "28263", - "2804:2fe8::/32": "264920", - "2a0c:28c0::/32": "206429", - "2a0d:22c0::/29": "209715", - "2801:1c8:5f0::/48": "19429", - "2a05:1d40::/30": "58239", - "2a06:83c0::/29": "15391", - "2602:800:c000::/38": "397695", - "2001:df5:900::/48": "136167", - "240e:3b4:d000::/36": "134772", - "2804:218:bef0::/33": "27715", - "2a00:1ed0::/32": "43541", - "2a0e:97c7:130::/44": "212996", - "2001:559:840d::/48": "33657", - "2001:1878:b00::/44": "5726", - "2408:8656:30f6::/44": "17623", - "2620:8d:c000::/48": "26365", - "2402:800:9739::/41": "7552", - "2804:14d:4081::/46": "28573", - "2804:7c8:2000::/33": "262323", - "2001:559:49c::/47": "7922", - "2001:c38:9014::/42": "9931", - "2401:d800:faa0::/41": "7552", - "2406:2000:ec::/46": "24506", - "240a:a7a8::/32": "144610", - "2001:67c:1314::/48": "15935", - "240e:6ba:1000::/34": "4134", - "2620:171:6a::/48": "715", - "2a00:1110::/29": "5483", - "2c0f:fe10::/32": "20294", - "2a07:59c6:ca01::/45": "205413", - "2402:800:518d::/43": "7552", - "2403:ad80:4c00::/38": "134835", - "240e:473:a950::/40": "4134", - "240e:979:5f00::/34": "4134", - "2800:160:147b::/40": "14259", - "2804:3318::/32": "265116", - "2a00:1538::/32": "44356", - "2a0f:ad40::/32": "41090", - "2001:ee0:3101::/43": "45899", - "2803:cae0:c000::/47": "270046", - "2a01:9b40::/32": "59554", - "2a07:ecc0::/29": "48399", - "2001:559:4e5::/48": "20214", - "2001:67c:778::/48": "50607", - "2001:1a68:c::/43": "15694", - "2804:2e84:ab::/32": "265350", - "2a02:560::/32": "13045", - "2a07:7a00::/29": "204064", - "2408:8256:318d::/43": "17623", - "2408:8456:ac10::/42": "134543", - "2800:e00:4000::/34": "27665", - "2804:2838::/38": "263948", - "240a:add8::/32": "146194", - "2801:1b:4800::/48": "269844", - "2a0f:f4c0::/32": "43380", - "2001:559:1af::/43": "7922", - "2806:230:100e::/48": "265594", - "2a06:f905::/36": "56630", - "2a10:c940:11::/48": "35277", - "2c0f:f130::/32": "37642", - "2001:559:35f::/48": "33652", - "240a:aa5a::/32": "145300", - "2800:b30::/31": "27740", - "2804:19c0::/32": "61816", - "2a02:26f7:d8c9::/42": "20940", - "2a0a:144:400::/48": "16509", - "2403:100:1000::/48": "56300", - "2409:8924:6300::/37": "56046", - "240a:ad72::/32": "146092", - "2620:111:d005::/48": "32908", - "2403:bb00:abcd::/48": "24528", - "240e:3bb:ec00::/35": "140314", - "240e:44d:4300::/41": "140345", - "2620:107:4008:b9dc::/64": "6461", - "2806:2f0:20e4::/43": "22884", - "2a01:b740:a1d::/48": "714", - "2a03:9f00::/32": "8676", - "2001:df1:e000::/48": "55666", - "2402:800:9c71::/40": "7552", - "2404:bd40:3::/48": "138005", - "2804:18:4830::/35": "26599", - "2804:47e8::/32": "263523", - "2804:48d8::/32": "267148", - "2001:678:810::/48": "1836", - "2001:67c:19f0::/48": "199771", - "2402:e280:2117::/44": "134674", - "2600:1015:b170::/33": "6167", - "2804:34:1004::/34": "28306", - "2a00:1680::/32": "31726", - "2001:1998:2000::/35": "3456", - "2001:42d0:b::/40": "33764", - "2404:f4c0:f9c0::/48": "142281", - "2605:aa40::/48": "395394", - "2a09:900::/46": "15576", - "2a0d:e4c0::/29": "208861", - "2001:559:877f::/40": "7922", - "2401:4900:3bc0::/42": "45609", - "2406:3c80::/46": "17747", - "2804:5d4::/46": "262545", - "2a02:6fa0::/32": "51935", - "2a0e:b107:d0::/44": "207968", - "240a:a63d::/32": "144247", - "2607:f740:e00a::/48": "36217", - "2a00:4800:210::/42": "13124", - "2a0b:2600::/29": "57878", - "2a0e:b107:270::/48": "207852", - "2a0c:9a40:1010::/45": "202479", - "2001:67c:25e8::/48": "34958", - "240a:ab05::/32": "145471", - "2605:c380::/32": "21713", - "2a02:26f7:c009::/46": "20940", - "2a03:5d40::/32": "20926", - "2a05:e201::/32": "60079", - "2a0a:27c0::/32": "47217", - "2001:df3:6600::/48": "132023", - "2600:14e0:8::/48": "33905", - "2a00:1c50:2002::/45": "30811", - "2a0b:4e00::/48": "207059", - "2405:1c0:6817::/42": "55303", - "240a:aca9::/32": "145891", - "2a0e:b107:ff0::/48": "42394", - "2404:3d00:4174::/44": "3573", - "2600:1488:a361::/40": "20940", - "2604:8e80::/34": "32505", - "2801:80:1e21::/48": "14026", - "2001:668:120::/48": "17035", - "2408:8456:440::/39": "17816", - "2804:20e0::/32": "264518", - "2a02:26f7:ec80::/48": "36183", - "2a0e:f800::/29": "38919", - "2607:f038:4001::/44": "21527", - "2607:f5a0::/45": "17048", - "2402:800:98b7::/41": "7552", - "240a:a6f1::/32": "144427", - "2800:160:142e::/43": "14259", - "2803:7200::/46": "27696", - "240a:a612::/32": "144204", - "240a:aa93::/32": "145357", - "2a0d:3841:1000::/48": "57629", - "2806:109f:4::/47": "8151", - "2406:e780:eb2::/48": "63677", - "240a:a0f1::/32": "142891", - "240a:ab00::/32": "145466", - "2607:f5b1::/32": "27411", - "2a02:26f7:e040::/48": "36183", - "2001:388:3059::/40": "7575", - "2a09:4c0:cc01::/30": "58057", - "2a0a:c200:2::/48": "16247", - "2001:43f8:14c0::/48": "328644", - "2408:8956:b800::/40": "17622", - "240e:108:1151::/44": "4134", - "2607:8300:3000::/36": "13876", - "2804:6f4c:4000::/34": "270651", - "2a02:26f0:d101::/38": "20940", - "2a03:2a00::/29": "15817", - "2603:c021:8000::/35": "31898", - "2610:20:5004::/48": "5744", - "2001:1900:23ad::/46": "202818", - "2409:8924:7100::/38": "56046", - "2605:8540::/32": "64281", - "2804:5c44::/32": "268898", - "2a10:2e41::/32": "213395", - "240a:ab68::/32": "145570", - "2600:1408:a401::/48": "20940", - "2804:8c:8::/33": "28216", - "2804:404c:1012::/32": "265950", - "2a0b:1306:9::/48": "133142", - "2001:559:4b8::/48": "33287", - "2408:840d:1a00::/42": "17621", - "2804:72ac::/32": "270868", - "2a02:158:c000::/39": "44946", - "2a05:2a80::/47": "200567", - "2408:8456:b210::/42": "134543", - "2804:1b38::/32": "61716", - "2804:3b2c::/32": "266133", - "2804:5954::/32": "268183", - "2a03:4d80::/32": "43323", - "2001:1ae0::/32": "8262", - "2400:9380:84c0::/44": "136167", - "2401:4900:3360::/44": "45609", - "2407:5200::/42": "55915", - "2600:40ff:ff90::/47": "1321", - "2602:feda:180::/48": "35251", - "2806:230:500e::/48": "265594", - "2a0e:6901:200::/39": "57695", - "2001:318::/32": "7522", - "2401:cd80:100::/37": "63920", - "2409:8d5d::/26": "9808", - "2607:f740:56::/47": "36236", - "2804:2430::/32": "264207", - "2a00:9540::/32": "49974", - "2a03:97e0::/32": "203673", - "240a:a8a9::/32": "144867", - "2001:1248:9840::/43": "11172", - "2804:533c::/32": "268571", - "2a06:e881:4300::/40": "204307", - "2a0c:8fc0::/32": "202401", - "2a0c:e642:10::/42": "211323", - "240a:af9a::/32": "146644", - "240a:a6e1::/32": "144411", - "2804:1080:c300::/34": "28287", - "2a04:a500:1337::/48": "20769", - "2a0e:b107:12f0::/47": "211722", - "2001:df5:7980::/48": "132513", - "2001:559:306::/48": "22909", - "2401:d800:b490::/42": "7552", - "2409:8914:c800::/31": "56044", - "2409:8c85:aa03::/48": "9808", - "240a:a224::/32": "143198", - "2800:160:140e::/42": "14259", - "2604:bc0:2::/48": "47869", - "2a0a:3507::/48": "57327", - "2804:1cd8:4::/32": "262691", - "2804:57a4::/32": "268077", - "2804:8070::/32": "271750", - "2a00:6901:5::/48": "20926", - "2a0d:5e00::/29": "25577", - "240a:a34b::/32": "143493", - "240a:ae6a::/32": "146340", - "2a02:dc00:200::/48": "15493", - "2001:16d8:59::/45": "16150", - "2001:4430:5310::/34": "17853", - "2a01:a320::/32": "49560", - "2001:67c:2ca0::/46": "50838", - "2a00:6920:d000::/40": "42003", - "2a02:26f7:e805::/46": "20940", - "2400:cb00:160::/46": "13335", - "2402:800:972b::/43": "7552", - "2407:b640:40::/47": "132046", - "2408:8956:9000::/40": "17622", - "2001:559:5ce::/48": "33287", - "2406:fd00:100::/40": "24459", - "2408:8459:9050::/38": "17816", - "240a:a16c::/32": "143014", - "2a00:ad87:1303::/48": "198573", - "2c0f:f800::/28": "37053", - "2001:fd8:31f0::/38": "4775", - "240e:3bf:6400::/35": "140312", - "2600:1480:b801::/37": "20940", - "2a03:3380::/46": "47169", - "2a05:adc2::/32": "206083", - "2001:df7:ce00::/48": "135905", - "2a0f:c400:ca::/48": "60781", - "2001:718::/32": "2852", - "2409:8a53:300::/37": "56047", - "2a02:2578:1309::/45": "51375", - "2a02:26f7:ba09::/42": "20940", - "2a01:111:5000::/32": "8075", - "2a01:a200::/32": "41811", - "2001:559:852b::/48": "20214", - "2406:f40::/32": "135697", - "2407:3e00:3000::/48": "9255", - "2408:822a:a800::/33": "4837", - "2800:160:1581::/44": "14259", - "240e:980:2a00::/40": "63835", - "2804:14c:b100::/40": "28573", - "2804:c64::/32": "52699", - "2806:250:8::/47": "28545", - "2a0c:36c2::/31": "9009", - "2001:4408:5::/39": "4758", - "2600:1000:b170::/40": "22394", - "2607:1d80::/32": "11287", - "2402:800:7880::/42": "7552", - "2804:a80:200::/35": "262293", - "2a03:f80:7::/48": "56630", - "2a04:4e40:2e30::/41": "54113", - "2001:559:c20f::/48": "33662", - "2a03:5a00:3f::/48": "197394", - "2a03:90c0:9990::/48": "199524", - "2a0d:1a40:faf::/48": "202313", - "2001:13c7:6019::/48": "52508", - "2610:58:3:aaab::/32": "111", - "2a0f:7880::/48": "47384", - "2409:8750:500::/38": "56047", - "2a01:af80::/32": "34785", - "2606:f480::/32": "54328", - "2607:f710:60::/48": "19624", - "2803:d100:e480::/42": "52362", - "2a05:5240::/30": "198722", - "2a0e:46c4:109::/48": "142598", - "2a0f:9300::/29": "198668", - "2a02:26f7:bb89::/42": "20940", - "2400:8500:3000::/48": "55907", - "2400:adc0:17::/48": "9541", - "2605:380:40::/48": "42473", - "2803:6900:1510::/48": "52423", - "2804:6c64::/32": "270465", - "2a00:e200:104::/48": "198127", - "2a01:75c0::/29": "199284", - "2a05:6200:72::/48": "25369", - "2001:67c:698::/48": "201820", - "2001:df6:2a80::/48": "135738", - "2400:4d40:257::/42": "134204", - "2602:fd23:a::/36": "33185", - "2804:7b18::/32": "271410", - "2806:2f0:320::/47": "22884", - "2001:559:78d::/48": "7015", - "240a:abb1::/32": "145643", - "2408:8459:3440::/38": "17816", - "2600:9000:209f::/48": "16509", - "2a00:1728:1c::/48": "44017", - "2a04:5d86::/31": "61310", - "2a0a:2c0::/48": "48648", - "2001:67c:2c18::/48": "59750", - "2a02:26f7:c888::/48": "36183", - "2402:800:3bfe::/37": "7552", - "240a:ac9c::/32": "145878", - "2600:6c3b:42a::/40": "20115", - "2001:678:f50::/48": "62350", - "2605:e740:300::/40": "174", - "2606:2800:600b::/48": "14153", - "2801:80:1e5a::/48": "14026", - "2804:1580::/32": "263391", - "2a0d:a2c0::/29": "60721", - "2001:df0:c180::/48": "139260", - "240e:5e:4004::/47": "58543", - "2804:318c:200::/34": "265023", - "2a02:5080:2000::/32": "51825", - "2a0c:9540::/32": "202516", - "2a0e:b107:1400::/44": "211350", - "2001:559:c17c::/47": "7922", - "2001:67c:218c::/48": "12986", - "2001:1388:5982::/45": "6147", - "2001:4998::/44": "10310", - "240a:af6e::/32": "146600", - "2a10:6500::/29": "398559", - "2409:8052:3002::/40": "56047", - "2a02:26f7:dc09::/46": "20940", - "2406:840:f660::/44": "209218", - "2408:8459:ee30::/41": "17622", - "2620:b8:4000::/48": "394151", - "2a10:db00::/32": "42609", - "2001:1520:300::/32": "8972", - "2610:b0:40cc::/43": "3573", - "2001:559:81ea::/48": "33659", - "2001:1248:a525::/44": "11172", - "2401:d800:78d0::/42": "7552", - "240a:a9f8::/32": "145202", - "2607:f558::/32": "33189", - "2603:c002:e10::/35": "31898", - "2804:2a8c::/32": "264078", - "2001:559:8511::/48": "7015", - "2001:5a0:3b06::/37": "6453", - "2401:1c00:6100::/35": "38809", - "2401:ff80:1103::/45": "133954", - "2403:9c00::/32": "18068", - "2001:559:c3e6::/48": "7015", - "240a:a600::/32": "144186", - "240e:981:b000::/39": "134420", - "2606:2800:5091::/48": "15133", - "2a00:1228:103::/32": "31148", - "2a02:26f7:e8c0::/48": "36183", - "2a0e:2c40::/43": "50581", - "2605:c540:c010::/44": "398378", - "2001:678:80::/48": "51955", - "2801:8e::/36": "11993", - "2803:f720::/32": "266764", - "2a00:10f8::/32": "3347", - "2a00:8620::/32": "200698", - "2a07:aa00:89::/29": "3549", - "2001:559:85f9::/48": "7015", - "2400:f640::/48": "18231", - "2620:171:48::/47": "42", - "2a00:4a00:3000::/33": "39356", - "2a02:c38::/32": "30764", - "2a02:26f0:a2::/47": "34164", - "2600:40f0:140::/44": "3369", - "2804:26d0::/32": "262454", - "2a02:26f7:e0c9::/46": "20940", - "2a02:26f7:f609::/46": "20940", - "2a03:9c0::/32": "28716", - "2a0c:fa40::/29": "61317", - "2001:b10:c000::/35": "8501", - "2408:840c:6c00::/40": "17621", - "2804:9d4::/35": "262996", - "2a02:26f7:e105::/46": "20940", - "2403:34c0::/32": "4787", - "2a02:2e02:9cf0::/39": "12479", - "2a04:3a60:4000::/34": "56467", - "2607:3380:1100::/38": "395766", - "2403:4e00:30a::/47": "45528", - "2403:5f40::/48": "9268", - "240a:ac65::/32": "145823", - "2804:13d0:1008::/32": "263297", - "2c0f:ed00:44::/48": "328442", - "2c0f:f6d0:a7::/41": "327687", - "2001:559:da::/48": "7922", - "2406:d500:2::/45": "136557", - "2600:140f:7400::/48": "9498", - "2600:6c3a:403::/42": "20115", - "2a03:700::/32": "35271", - "240e:64:a000::/35": "140317", - "2803:7d80:a001::/45": "11664", - "2804:ac0::/32": "28134", - "2a10:7cc0::/29": "209711", - "2a10:d500::/32": "174", - "2001:678:984::/48": "207910", - "2401:a880::/32": "133661", - "240e:980:2c00::/48": "4816", - "2a10:5c40::/29": "59441", - "2400:9380:96c0::/44": "136167", - "2402:b801:2d00::/35": "18371", - "2605:f080:200::/40": "62755", - "2a04:2dc0:18::/48": "211970", - "2a0b:c040::/31": "42237", - "2a05:91c2::/48": "57640", - "2404:4a00:7500:1::/36": "45629", - "240a:a671::/32": "144299", - "2600:1409:801::/35": "20940", - "2600:370f:51a0::/45": "32261", - "2a00:a0c0::/32": "34233", - "2a02:240::/44": "28812", - "2a03:2880:f070::/47": "32934", - "2001:67c:27a0::/48": "44404", - "2001:1b70:8600::/48": "395592", - "2401:4900:2080::/45": "45609", - "2600:370f:5245::/44": "32261", - "2a0f:100::/30": "3356", - "2001:4c48::/29": "5483", - "2400:9600:8800::/48": "4812", - "2800:160:2448::/45": "14259", - "2804:7554::/32": "271039", - "2a01:839::/25": "3209", - "2a0a:700::/29": "49720", - "2a0b:71c0:1::/48": "56583", - "2001:678:64::/48": "199670", - "240a:a5a9::/32": "144099", - "2620:d7:c000::/48": "394464", - "2806:230:601f::/48": "11888", - "2806:327::/32": "265573", - "2607:fe28:20e0::/33": "53347", - "2806:2f0:2141::/46": "22884", - "2a01:8840:e5::/48": "207266", - "2a02:1668::/32": "51088", - "240e:3b3:2800::/38": "4134", - "2602:fd9a:b::/36": "54613", - "2001:ee0:e700::/36": "45899", - "2605:6ac0:5000::/36": "12179", - "2804:7688::/32": "271118", - "2a03:f4c0::/32": "30781", - "2620:149:a28::/48": "6185", - "2803:17a0::/32": "267777", - "2806:230:2045::/48": "11888", - "2a06:aa87:ffff::/48": "49238", - "2a0e:97c5:794::/46": "20473", - "2c0f:f188:8::/32": "28683", - "2001:4e8::/32": "6327", - "2402:800:4400::/35": "7552", - "2620:0:1a10::/48": "159", - "2804:16d8:1a00::/40": "262729", - "2a02:26f7:fb88::/48": "36183", - "2001:559:82df::/48": "33491", - "2408:8456:4c40::/39": "17816", - "2800:580::/32": "27695", - "2604:6d00:2300::/48": "36223", - "2a07:6d80::/29": "59891", - "2a10:6540::/29": "212650", - "2001:468:26e2::/36": "11537", - "2403:8740:1::/48": "138202", - "2409:806b:1100::/36": "9808", - "2804:1b2:f000::/39": "10429", - "2804:20f4::/32": "264523", - "2a01:c840::/28": "15962", - "2a02:26f7:c34d::/43": "20940", - "2804:66c8::/33": "269582", - "2001:559:82c9::/48": "33657", - "2001:6d0:ffff::/48": "5568", - "2001:df1:6002::/48": "10021", - "2600:1402:9801::/34": "20940", - "2603:c0e0:2000::/39": "54253", - "2606:4280:4000::/36": "16696", - "2804:854:c::/32": "28368", - "2001:579:8b4::/41": "22773", - "2001:918:1000::/32": "3303", - "2804:248:4003::/45": "28598", - "2a09:5301:7220::/48": "207415", - "2a0e:46c4:2500::/40": "142039", - "240a:a507::/32": "143937", - "2a0b:b87:ffb5::/48": "211571", - "2409:8053:3800::/47": "56047", - "2607:fc90::/32": "12036", - "2001:550:a905::/44": "174", - "2804:ef4:5800::/34": "28642", - "2804:4050::/32": "262856", - "2c0f:fe08:14b::/32": "36914", - "2408:8459:8e10::/42": "17623", - "240a:af45::/32": "146559", - "2605:4300:5::/48": "53813", - "2607:f740:44::/48": "36236", - "2606:3380:4::/43": "53334", - "2606:4700:8dd0::/42": "13335", - "2620:11d:9002:100::/56": "33186", - "2a00:1728:1e::/47": "34224", - "2a0e:b107:1520::/48": "38173", - "2605:6400:40::/48": "53667", - "2620:11f:100c::/48": "7385", - "2a00:ff0:9999::/48": "12672", - "2a0e:97c5:578::/46": "20473", - "2001:559:c131::/48": "33491", - "2606:bf00::/32": "35891", - "2620:5a:6000::/48": "397088", - "2402:800:7c80::/42": "7552", - "240c:6:1::/46": "45275", - "2605:9780:20::/47": "36180", - "2800:160:1f1a::/45": "14259", - "2a02:26f7:d408::/48": "36183", - "2409:802f:2900::/46": "9808", - "240a:ac47::/32": "145793", - "240e:870:40::/44": "140486", - "2607:fcd0:fa80:2108::/62": "8100", - "2610:b0:4062::/43": "3573", - "2a07:dc00:1810::/42": "29997", - "2001:df4:7700::/46": "137176", - "2a0f:b6c0::/29": "207788", - "2001:559:c210::/48": "33659", - "2001:559:c31b::/48": "7016", - "240e:978:1500::/40": "131325", - "2a01:2000::/20": "3269", - "2a02:26f7:b8c1::/46": "20940", - "2a02:6900:8820::/48": "7160", - "2a03:d604::/31": "12727", - "2001:559:c31c::/48": "33659", - "2800:160:13c9::/45": "14259", - "2a0d:e380::/47": "204460", - "2001:559:394::/48": "33651", - "240a:a1bf::/32": "143097", - "2a00:5fc1::/32": "48324", - "2a01:bc60::/32": "1836", - "2a0a:54c1:5a::/30": "62240", - "2001:998:82::/48": "49762", - "2409:8b75::/28": "9808", - "240a:aff0::/32": "146730", - "2600:1fa0:10c0::/44": "16509", - "2620:cb:c000::/48": "393965", - "2804:7d4c::/32": "271552", - "2a02:2f8::/32": "12335", - "2001:dc7:cd1a::/48": "38283", - "2a0e:fd45:2b12::/48": "44103", - "2c0f:f3f8::/32": "327972", - "2001:df3:3d00::/48": "9304", - "2001:44b8:4054::/48": "7545", - "2404:ff80::/39": "64096", - "2405:cb00::/48": "55309", - "2408:8456:5840::/39": "17816", - "240a:a492::/32": "143820", - "2a02:ff0:200::/40": "12735", - "2401:9d40::/32": "59165", - "2603:c025::/35": "31898", - "2a04:5c85::/36": "200584", - "2a0e:3780:8150::/48": "206059", - "2a0f:4c00::/29": "8822", - "2001:b08:4::/48": "9162", - "2405:9800:c910::/48": "55488", - "2409:8070:100::/36": "9808", - "240a:a4ea::/32": "143908", - "2605:2600::/32": "19842", - "2804:7f7c::/32": "271691", - "2600:1100::/28": "7381", - "2804:7264::/32": "270849", - "2001:4c8:10ff::/39": "15290", - "240a:ae43::/32": "146301", - "2a04:e00:3::/48": "54103", - "2001:559:12c::/48": "7922", - "2409:8924:1d00::/38": "56046", - "2607:fb90:cb00::/37": "21928", - "2800:3d0::/32": "2688", - "2a04:5c85:2000::/36": "47936", - "2a0c:6880::/32": "204796", - "2a0f:e480::/29": "60262", - "2602:fef7:81::/36": "396192", - "2a00:f10:142::/42": "48635", - "2a0c:b641:90::/46": "210103", - "2404:e200:1::/46": "18353", - "2607:fa18::/32": "6315", - "2a01:358:5411::/36": "9121", - "2c0f:ef78:1::/48": "63293", - "2800:bf0:f::/43": "27947", - "2409:8021::/34": "9808", - "2803:1a00:410d::/43": "262186", - "2a02:b50:4013::/48": "393954", - "2001:559:8060::/48": "21508", - "2001:678:d0c::/48": "35273", - "2001:42d0:1500::/40": "33764", - "2804:1710::/32": "263120", - "2a02:ff0:1600::/40": "12735", - "2606:a300:3::/45": "35847", - "2001:559:563::/48": "13367", - "2001:4250::/32": "17400", - "2401:d800:5af0::/39": "7552", - "2404:c480::/32": "135328", - "2407:c080:7800::/44": "23724", - "2409:8904:8540::/38": "24547", - "2602:feda:7::/44": "46997", - "2401:4900:1c00::/46": "24560", - "2804:5f80::/32": "269104", - "2404:3200:4::/32": "17509", - "2800:160:182e::/41": "14259", - "240a:ae84::/32": "146366", - "2605:d480::/32": "3257", - "2800:68:41::/48": "27841", - "2a04:c41::/29": "61098", - "2a07:14c0:5000::/36": "59504", - "2a0a:f780::/29": "49191", - "2001:678:16c::/48": "44872", - "2401:d800:d2b0::/41": "7552", - "2403:88c0:b::/32": "138192", - "2408:8956:6100::/40": "17816", - "2a02:26f0:cc::/48": "34164", - "2a03:21c0::/32": "41722", - "2a04:e4c4:1::/45": "36692", - "2a02:ee80:407f::/40": "3573", - "2001:559:8560::/48": "7922", - "240a:ace5::/32": "145951", - "2620:18:c000::/48": "39287", - "2620:171:a00::/44": "42", - "2801:0:270::/48": "262212", - "2806:2f0:20a0::/48": "17072", - "2a02:26f7:fbc5::/46": "20940", - "2a03:2887:ff21::/48": "63293", - "2a03:fc80::/29": "15366", - "2a0e:2b80:101::/38": "28875", - "2a0f:3a00::/29": "8647", - "2c0f:ebd0:2200::/32": "328608", - "2c0f:f900::/32": "36864", - "2a0e:d080::/29": "15623", - "2406:b400:14::/47": "18209", - "240e:26c::/30": "4812", - "2603:c0f9:2000::/36": "20054", - "2606:2800:4065::/48": "15133", - "2800:160:2048::/46": "14259", - "2a02:2ae0::/32": "702", - "2602:fcce:904::/38": "399200", - "2607:f518:136::/41": "46887", - "2620:132:f0fb::/39": "394977", - "2804:57f8::/32": "268098", - "2402:6d00::/32": "55943", - "240e:108:2c::/48": "4816", - "2606:1980:10::/48": "54994", - "2a09:11c0:200::/44": "207613", - "2604:eb80::/32": "22418", - "2804:6d8c::/32": "270540", - "2a01:8a80::/32": "25496", - "2001:559:81f1::/48": "7015", - "2001:559:836b::/45": "7015", - "2600:1806:515::/48": "16552", - "2607:f750:1000::/40": "23473", - "2a01:7c80:8000::/33": "24877", - "2a02:26f7:eac4::/48": "36183", - "240a:ae25::/32": "146271", - "2801:18:6000::/48": "61496", - "2a02:26f7:f::/48": "20940", - "2a0f:1900:1000::/36": "209446", - "2400:cd00:1037::/48": "38293", - "2402:e280:2172::/40": "134674", - "2406:e040::/48": "140765", - "2a01:ba20::/32": "24931", - "2a07:2180::/32": "48579", - "2001:67c:17f4::/48": "1257", - "2001:43f8:360::/48": "328206", - "2a01:8840:1a::/45": "12041", - "240e:44d:3380::/41": "4134", - "2600:370f:75a8::/43": "32261", - "2603:fb48::/29": "40676", - "2800:350::/29": "11556", - "2803:2800:6000::/32": "52368", - "2804:4c90::/32": "267378", - "2a00:db60:2000::/48": "15224", - "2a07:b800::/29": "44066", - "2a0f:8900::/29": "47787", - "240e:966:8c00::/35": "4134", - "2604:77c0::/32": "21782", - "2620:149:a23::/45": "714", - "2801:16:f000::/48": "19429", - "2a02:3b8::/32": "16371", - "2001:559:8076::/48": "7922", - "2606:bc00:8ef0::/39": "19419", - "2001:67c:2ad4::/48": "61430", - "2402:2b40:8000::/36": "55967", - "2405:8180::/36": "135478", - "2409:8924:7700::/36": "56046", - "2403:f000:11::/46": "38220", - "2a0c:2f44::/30": "59829", - "2600:380:b380::/37": "20057", - "2801:1fc:24::/48": "27951", - "2804:36f8::/32": "266383", - "2a02:2010:2290::/45": "20978", - "2a02:2a90:130::/32": "702", - "2a06:6540:1440::/48": "8220", - "2a0a:1b07::/32": "51892", - "2606:4800::/32": "11430", - "2607:fb90:af00::/35": "21928", - "2a07:4900::/29": "50959", - "2a0a:d6c0:2157::/48": "211454", - "2001:df0:237::/48": "131460", - "2400:a040:a::/48": "137995", - "2409:8c30:1010::/39": "9808", - "2605:72c0:a::/48": "40401", - "2803:1320::/32": "27843", - "2a01:570:2::/32": "33941", - "2a03:5000::/32": "15854", - "2001:661:4000::/35": "2472", - "240a:a229::/32": "143203", - "240e:61:6000::/32": "4134", - "2600:6c38:e05::/44": "20115", - "2a02:26f7:e244::/48": "36183", - "2a0e:dc00::/32": "208653", - "2a0e:f180::/29": "63023", - "2001:559:c1d3::/48": "33657", - "2402:d840::/32": "134555", - "2606:2800:5130::/48": "15133", - "2620:13a:b001::/48": "54344", - "2800:160:24fc::/46": "14259", - "2a09:a440::/48": "205479", - "240a:a781::/32": "144571", - "2406:d00:bbbb::/48": "132165", - "2804:449c:200::/39": "267642", - "2a00:f940:1::/44": "197695", - "2408:8026:830::/32": "17621", - "2a0e:97c1:f0e::/47": "20473", - "2604:d600:608::/46": "32098", - "2606:5700::/32": "6580", - "2a02:26f7:d548::/48": "36183", - "2a07:3500:17f8::/48": "33915", - "2405:e440::/32": "132139", - "2600:1010:9f10::/34": "22394", - "2804:14c:7b8b::/41": "28573", - "2001:c10::/32": "7473", - "2404:e800:104::/31": "55430", - "2408:84f3:ae10::/42": "134543", - "2409:8087:300::/40": "9808", - "240e:473:b50::/40": "4134", - "2604:20c0:4000::/36": "40641", - "2a02:26f7:dc0c::/48": "36183", - "2600:1600::/24": "40788", - "2001:c38:900e::/47": "9931", - "2408:8459:1c30::/41": "17622", - "240a:a706::/32": "144448", - "240e:44d:1f80::/41": "4134", - "2804:771c::/32": "271156", - "2a02:c28::/29": "8681", - "2a02:26f7:f505::/46": "20940", - "2402:8100:21d0::/45": "45271", - "2408:8456:c00::/42": "17622", - "2600:141c:c001::/35": "20940", - "2602:fcf8::/36": "7018", - "2605:2100::/36": "14442", - "2607:cf03::/32": "32522", - "2401:d800:5650::/42": "7552", - "2404:dac0::/48": "140807", - "2600:1410:4001::/34": "20940", - "2606:c00:33::/45": "9505", - "2a00:7b60::/32": "49058", - "2a02:26f7:d745::/46": "20940", - "2001:559:8706::/47": "33287", - "2402:800:74a0::/39": "7552", - "2607:fb40::/32": "19008", - "2804:4d3c:1220::/36": "267420", - "2408:8456:3250::/39": "17816", - "240e:e1:9f00::/33": "4811", - "2001:67c:400::/48": "44233", - "2402:800:5e80::/42": "7552", - "2804:2e68::/32": "265344", - "2a02:26f7:e1c0::/48": "36183", - "2a0e:8f02:f014::/48": "212268", - "2001:559:40::/48": "7922", - "2401:4900:35f0::/38": "45609", - "240e:41:800::/34": "4134", - "2a02:a00:100a::/42": "15987", - "2409:8753:500::/38": "56047", - "2602:ffc5:104::/48": "44954", - "2804:446c::/32": "28369", - "2001:559:8300::/48": "33651", - "2001:16a2:400a::/43": "25019", - "2600:1402:801::/38": "20940", - "2607:f698::/32": "30176", - "2804:14c:d482::/43": "28573", - "2001:559:82c4::/48": "7922", - "2403:c00:c00::/46": "17488", - "2403:c200::/48": "9503", - "2001:559:205::/48": "20214", - "2408:8956:300::/40": "17816", - "2a03:5a00:14::/48": "59679", - "2a05:7dc2:3000::/33": "51324", - "2408:8459:a650::/36": "17816", - "2409:873c::/32": "24444", - "2c0e:2200::/33": "37457", - "2a02:ee80:2040::/33": "3573", - "2001:559:425::/48": "33659", - "2001:559:81d7::/44": "21508", - "2403:a200:a200::/33": "17428", - "240a:aac0::/32": "145402", - "2608:101:8::/48": "5974", - "2801:15:b000::/48": "266700", - "2a00:4100::/32": "12460", - "2409:8c15:2100::/37": "56044", - "2804:1ed0::/32": "262286", - "2804:6348::/32": "269351", - "2a02:cb80:2a40::/48": "43766", - "2a0a:bf80::/29": "49223", - "2408:8957:e200::/40": "17622", - "2803:3a80::/32": "23383", - "2804:110::/32": "28590", - "2402:800:62b7::/39": "7552", - "2610:b0:40d4::/47": "21433", - "2a06:1280:ae03::/40": "61138", - "240a:a410::/32": "143690", - "2806:217:602::/32": "28394", - "2402:800:5455::/42": "7552", - "240a:a6b9::/32": "144371", - "2607:5e80::/32": "13807", - "2804:42f8::/32": "267540", - "2804:7aa4:4100::/32": "271383", - "2a01:8160::/32": "44454", - "2a0c:b641:670::/44": "207536", - "2401:ce00::/32": "24139", - "2600:140f:4e01::/39": "20940", - "2a02:26f7:c704::/48": "36183", - "2402:800:5863::/43": "7552", - "240a:a6e2::/32": "144412", - "240a:a911::/32": "144971", - "2605:540::/32": "62640", - "2605:4c40:41::/39": "30081", - "2620:91:a000::/48": "32170", - "2620:115:c000::/46": "2635", - "2001:67c:24fc::/48": "57423", - "2408:80f1:50::/44": "17621", - "2409:8914:1300::/37": "56044", - "2608:c144:1::/48": "5927", - "2804:4c14:ba01::/39": "267348", - "2804:28b8::/32": "263976", - "2a02:e98::/32": "24641", - "2a0a:e202:8013::/45": "33438", - "2a0b:2900:6100::/38": "48582", - "240a:a37f::/32": "143545", - "2607:fdf0:5ea6::/44": "8008", - "2801:184:e::/47": "264817", - "2806:2f0:2064::/43": "22884", - "2a02:26f0:5701::/36": "20940", - "2001:4868::/40": "701", - "2406:6e00:109::/32": "17457", - "2408:8956:de00::/40": "17622", - "240a:abbc::/32": "145654", - "2804:870::/44": "52871", - "2804:584c::/32": "268120", - "2a04:4e40:7610::/44": "54113", - "2a02:26f7:f9c8::/48": "36183", - "2001:49f8:40a::/48": "14230", - "2404:a8:19::/48": "24514", - "240e:3b7:2200::/37": "136198", - "2600:1480:d801::/37": "20940", - "2600:9000:a104::/48": "16509", - "2800:be0:3e3::/45": "267848", - "2804:7590::/32": "271055", - "2a0a:90c0:108a::/48": "205080", - "2605:7c00::/32": "25668", - "2610:190::/38": "62", - "2804:1408::/33": "28635", - "2804:6ed4::/32": "270621", - "2806:230:302b::/48": "11888", - "2001:67c:253c::/48": "21080", - "2001:ab8::/29": "34177", - "2401:ff80:1189::/43": "133954", - "2406:e002::/36": "23655", - "2a0a:880::/48": "41524", - "2a02:26f0:9f01::/34": "20940", - "2a03:90c0:1a0::/41": "199524", - "2001:1b88::/47": "39477", - "2602:fe90::/38": "35913", - "2a09:f4c0::/32": "205718", - "2001:550:90b::/38": "174", - "2401:21c0::/32": "59362", - "240a:a0a2::/32": "142812", - "2600:1006:a100::/43": "6167", - "2a09:f1c0::/29": "52031", - "2a0c:b642:ace::/48": "208753", - "2001:2003::/32": "1759", - "2403:57c0::/32": "133815", - "2409:8008:d2::/45": "24547", - "2600:1007:a100::/44": "6167", - "2607:fc50:5000::/36": "36236", - "2a02:26f7:fa01::/46": "20940", - "2a0e:b107:1580::/48": "211013", - "2402:9500:8001::/33": "55720", - "240e:473:9e50::/39": "4134", - "2607:fa78::/32": "10430", - "2804:1c8c::/32": "28322", - "2a02:26f7:db49::/42": "20940", - "2a05:3580:f100::/38": "35807", - "2b0f:9ac0::/30": "62908", - "2001:67c:25ec::/48": "207394", - "240a:ae9e::/32": "146392", - "2a02:26f0:c4::/48": "34164", - "2a0c:e643:babe::/48": "213316", - "2a02:26f7:d885::/46": "20940", - "2001:559:80ab::/48": "33652", - "2409:8b63::/27": "9808", - "240a:a9bd::/32": "145143", - "2001:dd8:6::/48": "18368", - "2404:bf40:c081::/39": "139084", - "2406:3002:40::/50": "138345", - "2409:8c28:5e91::/39": "56041", - "2a01:42e0:1700::/32": "29046", - "2a0e:aa06:40f::/48": "209306", - "2001:678:5d0::/48": "204723", - "2804:6c2c::/32": "270450", - "2a02:26f7:47::/48": "20940", - "2001:559:c12a::/48": "33287", - "2803:d100:e3f0::/44": "52362", - "2804:628::/32": "53029", - "2804:556c::/32": "267934", - "2a01:8aa0::/32": "31122", - "2a02:2e02:1a0::/38": "12479", - "2001:c20:840a::/38": "3758", - "2001:df4:1780::/48": "38074", - "2001:4878:a246::/48": "12222", - "2407:b400::/32": "17924", - "2409:8914:b800::/39": "56044", - "2605:a900:9000::/48": "46887", - "2a02:26f7:b7::/48": "20940", - "2800:160:1857::/44": "14259", - "2804:10e8:52c0::/32": "263655", - "2806:230:2054::/48": "265594", - "2001:559:8609::/48": "7016", - "2a00:1128::/32": "21069", - "2001:559:297::/48": "33660", - "2001:67c:29dc::/48": "28940", - "2001:1248:873f::/41": "11172", - "2409:8c85:aa04::/48": "24547", - "2800:800:930::/48": "26611", - "2806:2f0:2480::/48": "17072", - "2409:8008:2100::/36": "24547", - "240a:ac67::/32": "145825", - "2804:e94:740::/40": "262468", - "2001:559:c15a::/48": "7725", - "2001:559:c177::/48": "33491", - "2400:cb00:60::/47": "13335", - "2604:940:30::/48": "40386", - "2605:a401:89f4::/44": "33363", - "2405:a000:20::/48": "134461", - "2408:8256:3b8b::/48": "17816", - "2a00:5940::/32": "207693", - "2400:b200:4100::/46": "45102", - "2406:2000:efa7::/43": "10310", - "2408:8956:5a00::/40": "17622", - "2606:2800:401c::/48": "14153", - "2803:9800:94c1::/46": "11664", - "2a03:d400::/42": "198913", - "2604:1040::/32": "18918", - "2605:6440:5004::/34": "396356", - "2620:101:200f::/43": "16417", - "2800:bf0:3008::/43": "27947", - "2a02:26f7:c9cd::/42": "20940", - "2a02:c647::/32": "61998", - "2001:559:82ff::/48": "7922", - "2001:67c:115c::/48": "31554", - "2408:8459:e50::/35": "17816", - "2804:1948::/32": "61784", - "2804:7460::/32": "270977", - "2001:1b70:4292::/48": "158", - "2a02:ed80::/29": "61303", - "2001:579:c5c0::/36": "22773", - "2600:1417:5f::/48": "38040", - "2a00:1f98::/32": "43557", - "2a09:e3c0::/29": "60843", - "2a0a:5080::/29": "49865", - "240a:ae0e::/32": "146248", - "2606:44c0::/32": "16851", - "2800:bf0:3004::/46": "52257", - "2804:1d80:8000::/36": "264374", - "2804:3b68::/32": "266147", - "2a01:afa0::/32": "47715", - "600:6001:110b::/48": "11351", - "2001:6d0:6d07::/48": "42385", - "2620:132:c000::/40": "11478", - "2607:3c00:6404::/47": "26380", - "240a:a697::/32": "144337", - "2600:1406:8c00::/48": "35994", - "2400:cb00:a300::/45": "13335", - "2406:a400::/32": "10024", - "2606:a600:4003::/36": "23005", - "2620:14:e000::/48": "54177", - "2a02:26f7:c005::/46": "20940", - "2001:df0:46::/48": "24287", - "2a0a:2786::/31": "206774", - "2406:2000:ff60::/44": "10880", - "2408:8456:b640::/36": "17816", - "240a:ab21::/32": "145499", - "2a07:e480:1::/48": "207465", - "2001:559:8654::/48": "33491", - "240a:a9a4::/32": "145118", - "2602:fed2:7127::/48": "212112", - "2605:da00::/32": "14935", - "2a0e:b107:14ff::/48": "398355", - "2001:559:c1b3::/48": "20214", - "2001:1248:9889::/43": "11172", - "2602:ffe1::/36": "11475", - "2801:80:150::/48": "28261", - "2001:4de0:4009::/39": "33438", - "2400:4fc0:1::/44": "134146", - "2401:e380:1001::/46": "131091", - "2404:f300::/43": "58463", - "2405:1c0:6483::/39": "55303", - "2409:8904:d240::/42": "24547", - "2800:bf0:2441::/38": "27947", - "2804:1138::/32": "262726", - "2804:312c::/32": "264998", - "2a06:3f00::/29": "62163", - "2620:121:5081::/46": "16509", - "2a0a:7600::/29": "207096", - "2804:7edc::/32": "271652", - "2a02:7040:ff00::/47": "203501", - "2a03:d9c0:1000::/48": "3214", - "2001:559:53e::/48": "33651", - "2402:800:3301::/44": "7552", - "2407:19c0::/36": "141519", - "240e:966:c600::/36": "4134", - "2806:230:2017::/48": "11888", - "2001:559:3a1::/48": "33657", - "2001:559:8572::/48": "7016", - "2401:d800:57f0::/36": "7552", - "2600:6c38:8a8::/43": "20115", - "2804:7e14::/32": "271601", - "2a0b:3c40:15::/46": "208258", - "2001:67c:24d0::/48": "51316", - "240a:a540::/32": "143994", - "2605:3380:d000::/36": "395174", - "2620:13a:2000::/40": "1970", - "2804:29b0:c00::/38": "61577", - "2a04:9680::/29": "20830", - "2001:559:846b::/48": "22909", - "2600:1000:b0e2::/43": "22394", - "2801:80:17c1::/42": "61580", - "2a02:2668:7900::/32": "16345", - "2a03:59e0::/32": "31736", - "2001:4530:4::/32": "9433", - "2620:171:3d::/46": "715", - "2804:544::/32": "262505", - "2a02:26f7:d201::/46": "20940", - "2804:229c::/32": "264111", - "2a01:380::/33": "13127", - "2a02:f340::/29": "8767", - "2001:cf0::/32": "9848", - "2001:44b8:309b::/48": "7545", - "2400:cb00:a340::/46": "13335", - "2407:8b00:20c0::/38": "64073", - "2604:b440::/47": "19738", - "2a00:16e8::/32": "24634", - "2a07:c000::/29": "202551", - "2804:38d8::/32": "266505", - "2001:559:2bf::/48": "33667", - "2404:4a00:6a00:1::/37": "45629", - "2408:8456:cf00::/42": "17622", - "2408:8956:efc0::/35": "17622", - "2409:8235::/23": "9808", - "240e:934::/28": "4134", - "2606:2800:4290::/48": "15133", - "2a01:c50f:1a40::/39": "12479", - "2a09:9540::/48": "60328", - "2408:840c:6a00::/40": "17621", - "2600:6c4c::/32": "20115", - "2607:1700::/32": "36454", - "2607:f250:d000::/48": "7046", - "2607:f740:e00c::/48": "200325", - "2804:e30:b800::/37": "11338", - "2a04:ff00:300::/48": "206731", - "2a03:3c00::/32": "20847", - "2001:559:3ff::/37": "33652", - "2001:559:c02d::/48": "33659", - "2001:df5:af80::/48": "18229", - "240a:ab2c::/32": "145510", - "240e:97d:8000::/33": "4134", - "2800:160:1b13::/44": "14259", - "2800:bf0:8106::/43": "27947", - "2a0e:e6c0:4000::/36": "59584", - "2804:1e58::/46": "264422", - "2a05:2080::/29": "204819", - "2001:559:81a7::/48": "7725", - "2001:4408:8300::/44": "4758", - "2406:da00:2000::/40": "16509", - "240a:a0ef::/32": "142889", - "240e:30c:4a00::/35": "137688", - "2606:4700:8390::/42": "13335", - "2607:fb10:32::/34": "2906", - "2001:678:584::/48": "5409", - "2404:1b40::/48": "18230", - "2409:8080:3814::/46": "9808", - "240e:108:2e::/41": "4134", - "2606:1440::/32": "399100", - "2607:fb90:d500::/38": "21928", - "2a06:e881:6205::/48": "202297", - "2001:43f8:13c0::/48": "328522", - "2806:2a0:16::/44": "28548", - "2a02:970:1532::/34": "44002", - "2a03:2480:8033::/48": "200107", - "2001:559:c174::/48": "21508", - "2a02:101c::/32": "61352", - "2a0e:840::/29": "208663", - "2602:fef7:b::/40": "396192", - "2804:5198::/32": "268464", - "2a01:8880::/32": "8745", - "2a0d:1a40:7813::/40": "208563", - "2401:4900:5290::/44": "45609", - "240e:3b8:ac00::/35": "4134", - "240e:980:8000::/40": "23724", - "2602:808:4001::/46": "16509", - "2604:bc40:6111::/32": "22188", - "2001:c38:5000::/48": "4651", - "2001:128c:560::/34": "25933", - "2405:205:9000::/33": "55836", - "240a:a7d3::/32": "144653", - "2804:1d5c::/32": "264364", - "2a03:ff00::/32": "61097", - "2a0f:54c0::/29": "207906", - "2804:2ea0:c660::/40": "265356", - "2a00:11c0:63::/48": "42473", - "2a00:1348:11::/32": "8879", - "2a02:26f7:ce00::/48": "36183", - "2001:559:37d::/48": "7922", - "2800:1e0:2::/36": "7195", - "2403:3800::/44": "4007", - "2406:daa0:c080::/44": "16509", - "2409:8051:1002::/40": "56047", - "240e:3bb:4c00::/35": "136200", - "2607:fd48:301:100::/46": "13536", - "2401:fd80:800::/48": "138177", - "2800:110:2801::/35": "4270", - "2804:7b0c::/32": "14463", - "2a01:6560:8001::/33": "62248", - "2a0d:5642:112::/48": "35487", - "2a02:2698:2000::/42": "51645", - "2a03:cac0:a::/47": "61149", - "2a06:2340:1000::/44": "9558", - "2001:520:1039::/48": "8103", - "2001:559:c399::/48": "7015", - "2400:9800:13::/45": "24203", - "2803:3aa0::/32": "266876", - "2804:64c::/32": "262557", - "2a02:26f7:cac8::/48": "36183", - "2001:df3:2000::/48": "45712", - "2408:8459:610::/41": "17622", - "240e:438:7e20::/43": "140647", - "2801:80:1d20::/48": "265910", - "2804:7ff0::/32": "271719", - "2001:df1:e307::/48": "138603", - "2408:8456:a640::/36": "17816", - "2604:d600:606::/47": "32098", - "2605:d00::/32": "6300", - "2804:1da8::/32": "264384", - "2a02:26f7:d785::/46": "20940", - "2a0e:6440::/32": "208501", - "2a0d:ff00::/29": "204877", - "240a:a807::/32": "144705", - "2620:149:50::/42": "714", - "2a04:4e40:1400::/48": "54113", - "2405:1c0:7195::/36": "55303", - "2605:6f00:a000::/33": "40092", - "2607:4100:4000::/34": "19171", - "2804:1398:2::/34": "263541", - "2a02:e0:3201::/46": "34984", - "2a0c:b642:1030::/44": "210020", - "2402:9e80::/47": "7489", - "240e:187::/25": "4134", - "2600:5c00:1000::/34": "20001", - "2803:d6c0::/48": "265698", - "2804:45e4:7210::/37": "262567", - "2001:67c:56c::/48": "8925", - "2001:448a:10f0::/34": "7713", - "2403:a200:999a::/34": "17428", - "2405:201:1800::/34": "55836", - "2407:8b00:1163::/34": "64073", - "2804:77ac::/32": "271192", - "2806:230:202f::/48": "11888", - "2001:ee0:3120::/38": "45899", - "2408:8956:4900::/40": "17816", - "240e:96c::/30": "4812", - "2804:41d0:4300::/32": "267458", - "2402:4000:b2d0::/36": "18001", - "2402:a040::/32": "137522", - "240e:67e:c600::/34": "4134", - "2610:a0:17::/42": "7786", - "2804:18c0::/44": "61951", - "2001:d10:8411::/35": "4787", - "2402:7800:3002::/48": "21775", - "2408:8957:d2c0::/39": "17816", - "2a02:878:a801::/48": "42632", - "2a0b:4d07:801::/48": "44239", - "2600:ac00::/28": "14007", - "2804:43f4::/42": "267601", - "2a03:c380::/32": "21309", - "2a0e:b105:590::/45": "20473", - "2c0f:fc89:76::/44": "36992", - "240a:afe7::/32": "146721", - "2602:fe90:602::/45": "35913", - "2804:edc::/32": "263553", - "2a0a:4944::/30": "208972", - "2a0c:1a80::/29": "204861", - "2a0d:82c7::/45": "47787", - "2605:cd40::/32": "14363", - "2804:6c5c::/32": "270463", - "2a00:1af8::/32": "6856", - "240a:ab12::/32": "145484", - "240e:473:9250::/39": "4134", - "2804:3418:4000::/32": "265435", - "2804:7758::/32": "271172", - "2a0b:f1c0::/32": "198682", - "2a0d:900::/32": "59951", - "2001:559:8558::/48": "7922", - "2600:140f:3c01::/39": "20940", - "2a0e:b107:380::/48": "208753", - "2001:df0:312::/47": "135008", - "2001:df4:6480::/48": "140971", - "2001:1248:57d1::/42": "11172", - "240e:3b3:c800::/37": "4134", - "2600:140b:c00::/48": "31109", - "2c0e:2201::/30": "37457", - "2400:fc00:42d0::/39": "45773", - "240a:a67e::/32": "144312", - "2a00:4802:3300::/37": "13124", - "2a06:f907::/36": "56630", - "2a03:efc0:1500::/40": "33438", - "2001:559:86d9::/48": "33652", - "2402:1440:30::/48": "132168", - "2406:9680::/32": "17635", - "2408:8207:84c0::/39": "4808", - "2408:866a::/32": "4837", - "2605:f440:5353::/48": "57439", - "2804:31bc::/32": "265034", - "2001:dcd:21::/48": "58620", - "2408:8459:9850::/38": "17816", - "240e:37b:1a00::/34": "140330", - "2804:3b8:2::/45": "52965", - "2804:32b0:4030::/32": "265093", - "2001:67c:1998::/48": "203055", - "2402:2000::/33": "24350", - "2a02:258::/32": "43097", - "2001:559:86a8::/47": "33651", - "2404:0:5003::/45": "17709", - "2407:2080::/32": "3064", - "2001:559:81a8::/48": "33287", - "2403:300:a0d::/48": "714", - "240a:af7c::/32": "146614", - "240e:3b6:c800::/37": "4134", - "2604:4640::/32": "32625", - "2a07:dc00:2550::/44": "29997", - "2001:559:f8::/48": "7922", - "2001:559:c2d8::/48": "33287", - "2804:7bec::/32": "271463", - "2a02:26f7:bf45::/46": "20940", - "2001:579:1d84::/34": "22773", - "2401:d800:95b0::/41": "7552", - "2401:d800:d070::/40": "7552", - "2600:1400:f001::/31": "20940", - "2605:dd40:8ccc::/48": "398549", - "2607:f750:2000::/39": "23473", - "2804:80c::/32": "262343", - "2a0a:5340:ffff::/48": "3320", - "2001:ee0:d540::/36": "45899", - "240e:44d:2580::/41": "4134", - "2600:6000:fb35::/41": "12271", - "2804:1668::/32": "53132", - "2a07:6fc0:10::/44": "200462", - "2001:559:1c2::/48": "7015", - "2600:3000::/35": "13649", - "2a02:1378::/32": "39775", - "2a04:88c0:1::/48": "49992", - "2404:8d02:2983::/41": "9587", - "2405:e700:400::/40": "133089", - "240e:ff:a000::/36": "134764", - "2406:c800:a1cb::/33": "38016", - "240e:44d:5080::/41": "4134", - "2620:132:e002::/48": "41690", - "2a00:f30:10::/48": "12418", - "2a0d:7ec0::/31": "25398", - "2001:468:cc1::/43": "40220", - "2409:8070:900::/35": "9808", - "2605:a401:816a::/43": "33363", - "2620:134:8004::/47": "8100", - "2804:799c::/32": "271316", - "2a02:26f7:da01::/46": "20940", - "240a:aa69::/32": "145315", - "2602:fd60::/43": "396503", - "2801:10:e800::/48": "27951", - "2a02:e0:3803::/45": "34984", - "2001:550:1602::/47": "174", - "2804:7ed8::/32": "28232", - "2a03:6947:600::/40": "31027", - "2a0d:6900::/29": "35916", - "2001:678:44c::/48": "43722", - "2607:f720::/32": "7377", - "2803:a3e0::/32": "270068", - "2804:4248:9001::/33": "267490", - "2600:1405:5401::/36": "20940", - "2607:f8f0:1000::/40": "271", - "2604:dc40::/48": "393398", - "2001:559:c243::/48": "7922", - "2001:559:c286::/48": "33657", - "2001:67c:29c8::/48": "52016", - "2404:2a40::/32": "131633", - "2404:c500::/46": "45910", - "2a04:d140::/29": "202040", - "2a02:26f7:e401::/46": "20940", - "2400:ac40:b60::/40": "136255", - "2402:8100:15::/36": "55644", - "2402:e380:320::/48": "142165", - "240a:a88a::/32": "144836", - "2800:4f0:8::/48": "28006", - "2803:a900::/47": "52420", - "2a02:26f7:d701::/46": "20940", - "2a03:9980::/32": "30742", - "2a0a:c940::/32": "2119", - "2a0b:e541::/29": "35826", - "2001:16b8:1f00::/32": "8881", - "2401:cf80:61fa::/45": "55303", - "2804:4ac8::/32": "267263", - "2804:82d0::/32": "272158", - "2a02:26f7:f449::/42": "20940", - "2001:1248:a41b::/42": "11172", - "2404:8000:b4b2::/36": "17451", - "2405:1400::/32": "38176", - "2a0c:efc0::/46": "206356", - "2406:840:c00::/48": "139317", - "2409:8020:1051::/42": "56046", - "2600:1fa0:e020::/44": "16509", - "2607:f160:37::/48": "22394", - "2804:1928::/32": "61775", - "2001:438:fffd:1a::/57": "6461", - "2001:559:282::/48": "33657", - "2405:1c0:6a51::/46": "135062", - "2607:f6e0::/32": "22346", - "2a09:dc04::/30": "35916", - "2405:4803:c1c::/32": "18403", - "240a:a4d4::/32": "143886", - "2607:f8f0:670::/48": "271", - "2620:18::/48": "21525", - "2804:dc0::/32": "28610", - "2a00:16f8:e::/48": "397942", - "240e:473:7120::/41": "140486", - "2620:114:d000::/44": "3671", - "2804:3b0:4002::/32": "53062", - "2804:580c::/32": "268103", - "2a02:26f7:e448::/48": "36183", - "2407:8100:5::/48": "56308", - "240a:a5d9::/32": "144147", - "240e:900:40::/30": "4134", - "240e:964:cc00::/34": "4134", - "2607:fb10:7092::/42": "2906", - "2a01:8b00::/32": "3303", - "2603:f200::/29": "396356", - "2a04:a181::/32": "47474", - "2a07:6cc0:40::/47": "61098", - "2a0d:7a40:5::/48": "60254", - "2001:67c:2e0c::/48": "209721", - "2407:ef00:931::/32": "12422", - "240e:473:2a50::/39": "4134", - "240e:980:8600::/40": "136195", - "2607:fe10::/34": "11796", - "2804:28e4:e022::/36": "28260", - "2804:5f74::/32": "269100", - "2600:1f01:4800::/45": "16509", - "2605:6ac0::/36": "14586", - "240e:964:1800::/37": "133774", - "2804:6b08::/32": "270373", - "2a09:900:100::/38": "15576", - "2406:daa0:a080::/44": "16509", - "240a:a99f::/32": "145113", - "240a:ad1e::/32": "146008", - "2605:5e40:110::/48": "397810", - "2606:ae00:a100::/41": "7287", - "240a:a96f::/32": "145065", - "2604:8740::/32": "19575", - "2a02:26f7:b801::/46": "20940", - "240a:a909::/32": "144963", - "2607:f3a0:a001::/48": "399819", - "2804:3dc:f2::/36": "52967", - "2400:adc0:4110::/47": "9541", - "2606:5780::/32": "54579", - "2803:9460::/32": "262186", - "2001:559:859a::/48": "33667", - "2001:fb0:109f:8008::/42": "7470", - "240a:aba5::/32": "145631", - "2600:1417:50::/47": "9829", - "2604:1940::/32": "47096", - "2620:126:b000::/40": "22208", - "2804:7d18::/32": "271538", - "2001:559:862e::/48": "33659", - "240e:3b2:d000::/36": "134772", - "2605:8000:de2b::/34": "4261", - "2801:80:e60::/48": "264534", - "2a02:26f7:e6c1::/46": "20940", - "2a0f:5701:fe11::/39": "206499", - "2600:9000:a300::/47": "16509", - "2607:f518:16a::/45": "46887", - "2a06:7b80::/29": "204052", - "2001:559:83ce::/48": "33659", - "2001:4408:7900::/38": "4758", - "2402:7d80:8889::/35": "63582", - "2404:ec:420::/39": "703", - "2409:807e:2900::/35": "9808", - "2806:230:600b::/48": "11888", - "2400:2000:8::/46": "17676", - "240a:ad6b::/32": "146085", - "2600:141b:2001::/37": "20940", - "2600:6c3a:47::/42": "20115", - "2605:bb00::/35": "4213", - "2c0f:ff90::/32": "15808", - "2404:0:8000::/42": "131591", - "2600:1406:a001::/38": "20940", - "2602:ffeb::/36": "54819", - "2806:370:7340::/40": "28403", - "2806:3bf::/48": "270120", - "2a00:7660::/29": "60876", - "2a0e:b107:968::/48": "207427", - "2001:559:c295::/48": "33491", - "2402:f740:2000::/36": "140096", - "2405:b900:2000::/48": "55701", - "2a02:26f7:c08c::/48": "36183", - "2001:4da8::/32": "28824", - "2600:140f:2800::/48": "9498", - "2604:c040::/32": "21922", - "2607:f6d0::/32": "32", - "2a0b:5740::/29": "205671", - "240a:a489::/32": "143811", - "2804:1e38:21::/35": "264415", - "2a03:9a00::/29": "8896", - "2408:872b:400::/46": "139007", - "240a:aa00::/32": "145210", - "2604:fb80:6000::/36": "15128", - "2a00:41c0::/32": "48971", - "2a0b:9e80::/32": "15576", - "2a0f:cc00:1::/48": "60781", - "240e:967:ca00::/39": "133776", - "2804:7cf4::/32": "271529", - "2001:44b8:4049::/48": "4739", - "2001:4c10::/32": "24586", - "2408:832e::/27": "4837", - "2620:7d:e000::/48": "42909", - "2a09:8280:1::/48": "40509", - "2a10:de80::/32": "211993", - "2001:470:11d::/46": "6939", - "2402:e380:30f::/48": "138631", - "2a09:d180::/29": "35710", - "240a:a101::/32": "142907", - "2607:e880:5060::/47": "12220", - "2804:d88::/32": "52637", - "2a02:367:1566::/48": "42804", - "2408:8456:240::/39": "17816", - "2408:8459:b210::/42": "17623", - "2408:8920::/32": "4837", - "2408:8957:dc00::/40": "17622", - "2a02:4820::/32": "201964", - "2a09:3500::/29": "208861", - "2a0c:40::/32": "204426", - "2c0f:fff0::/32": "37125", - "2001:559:841f::/48": "33651", - "2001:559:c085::/48": "7922", - "2605:f300:ffff::/48": "29873", - "2607:f110:52::/40": "21889", - "2800:160:1b53::/44": "14259", - "2a02:26f7:d20d::/46": "20940", - "2a02:29a8:500::/36": "60142", - "2804:5d0:e000::/35": "28241", - "2a05:d050:20c0::/44": "16509", - "2001:559:1bf::/48": "33659", - "2001:559:30e::/48": "7922", - "2408:8256:3d8b::/48": "17816", - "240a:a181::/32": "143035", - "240a:a773::/32": "144557", - "2602:feb4:170::/44": "25961", - "2804:5964::/32": "268187", - "2001:559:386::/48": "20214", - "2001:67c:5a0::/48": "21286", - "2406:5800:400::/38": "132064", - "240a:ad90::/32": "146122", - "2001:500:e0::/47": "207266", - "2001:678:9cc::/48": "61384", - "2607:fc48:bc31::/48": "40009", - "2a03:1f40::/32": "199588", - "2001:4878:a347::/48": "12222", - "2620:13c:a0a0::/47": "19367", - "2804:c00:8100::/36": "52655", - "2001:559:80cb::/48": "33657", - "2a02:2aa8:220::/39": "702", - "2405:9800:c700::/47": "45458", - "2800:484:be00::/39": "10620", - "2001:468:2807::4/48": "396961", - "2001:559:85de::/48": "7015", - "2600:1408:c801::/38": "20940", - "2804:4828::/32": "267101", - "2a10:d480:ac01::/48": "206232", - "240a:a9a7::/32": "145121", - "2607:f208:d310::/44": "21499", - "2801:140:fff1::/46": "262249", - "2a05:4bc0::/29": "59395", - "2a09:be40:28ff::/48": "213170", - "2001:559:81b5::/48": "33657", - "2001:13d2:380e::/47": "7303", - "2403:b100:2013::/48": "394749", - "240a:a819::/32": "144723", - "2600:1400:b::/45": "20940", - "2603:c002:1210::/39": "31898", - "2803:140::/32": "264622", - "2602:ffe4:c1f::/42": "21859", - "2a01:55e0::/30": "199938", - "2602:800:e000::/44": "33201", - "2001:200:600::/40": "7667", - "2001:678:fd4::/48": "56951", - "2a00:6dc0::/32": "202237", - "2a0c:7000::/29": "57508", - "2a0d:d900:1::/48": "57164", - "2001:43f8:11d0::/48": "328381", - "2405:eb40::/46": "135815", - "2a0f:bf00:100::/42": "39890", - "2c0f:5a00::/32": "327996", - "2402:800:3d63::/43": "7552", - "2405:4800:ae01::/30": "18403", - "2407:5200:201::/46": "55915", - "240e:982:d400::/40": "131325", - "2606:2800:4aa8::/46": "15133", - "2804:60b0::/32": "269184", - "2c0f:eb00:800::/35": "61266", - "2604:2d80:8000::/36": "30036", - "2a07:9942:39d6::/47": "58305", - "2001:559:1f0::/48": "33659", - "2001:fd8:3006::/44": "132199", - "2404:4a00:8000::/64": "55423", - "2804:11d0::/32": "263441", - "2806:1080:101::/48": "19373", - "2a02:e980:153::/44": "19551", - "240a:ab40::/32": "145530", - "2605:4640::/32": "20213", - "2a02:26f7:bb81::/45": "20940", - "240a:a0c1::/32": "142843", - "2600:1800:16::/31": "16552", - "2604:2e8b::/33": "30036", - "2806:2f0:4204::/40": "17072", - "2801:1c8:88::/48": "19429", - "2804:8fc::/32": "263043", - "2001:1ab8::/31": "15440", - "2409:8c1a::/29": "132525", - "2800:160:19fa::/38": "14259", - "2804:8040::/32": "271739", - "2a02:8880::/25": "5089", - "2a05:9100::/29": "41993", - "2408:8779::/34": "10206", - "2408:8957:a600::/40": "17622", - "2607:fcc8:afc0::/48": "11955", - "2804:98c::/32": "263099", - "2804:2698::/32": "263841", - "2a02:2798::/32": "28775", - "2a03:50a0::/32": "39699", - "2406:f380::/48": "398109", - "2605:b100:500::/41": "577", - "2804:391c:f::/43": "262287", - "2a02:2e02:9b90::/37": "12479", - "2a0f:5707:af0f::/48": "211358", - "2a10:cc40:dc0::/45": "20473", - "2001:1290::/31": "16735", - "2403:bf00::/32": "7616", - "2806:2e1::/32": "265505", - "2a00:1d36:1000::/39": "47331", - "2a05:1084::/33": "59598", - "2a07:e480:100::/48": "202261", - "2001:67c:6ac::/48": "201742", - "2404:f440::/32": "58460", - "240a:a5db::/32": "144149", - "2602:ff75:1000::/36": "22653", - "2602:ffb0:29::/48": "20473", - "2804:4bd0::/32": "262320", - "2a01:caa0::/32": "47377", - "240e:473:550::/40": "4134", - "2606:18c0::/48": "399448", - "2a0d:1a40:5500::/48": "57782", - "2001:559:861b::/45": "7922", - "2402:e7c0::/41": "59078", - "2600:7400::/31": "29933", - "2806:2f0:6101::/43": "17072", - "2a02:26f7:f788::/48": "36183", - "2a03:32a0::/32": "198225", - "2001:410:a002::/43": "8111", - "2804:15fc:8000::/33": "28359", - "2a02:26f7:ed::/32": "20940", - "2606:6580::/34": "15305", - "2801:80:1df0::/48": "267509", - "2001:1998:700::/36": "7843", - "2600:6c3a:11::/45": "20115", - "2607:7c80:57::/48": "6373", - "2a0b:d100::/29": "206828", - "2605:1900:8380::/37": "12208", - "2a07:5900::/39": "203014", - "2a09:1405::/48": "48749", - "2a0b:b86:12::/48": "34692", - "2a10:9c80::/29": "29405", - "2409:8052:1802::/40": "56047", - "240a:ab0b::/32": "145477", - "2a0c:b640:17::/32": "34872", - "2404:bcc0::/32": "138352", - "2001:500:8f::/48": "26710", - "2001:df1:800::/48": "59253", - "2400:a980:7d00::/32": "133111", - "2406:f200::/32": "17534", - "2408:8459:5e30::/41": "17622", - "2604:6d00:2400::/48": "36223", - "2400:1f00::/43": "45769", - "2403:9800::/47": "4648", - "2409:8052:100::/37": "9808", - "2604:8600:9000::/33": "14453", - "2a04:3540::/30": "202053", - "2605:54c0::/32": "397735", - "2606:2800:7030::/46": "15133", - "2801:11c:c0::/44": "269888", - "2a02:26f7:c048::/48": "36183", - "2a0e:800:fff0::/48": "208328", - "2001:57a:3a04::/47": "22773", - "2409:8714:4a00::/34": "56044", - "2600:1003:a410::/38": "22394", - "2620:13a:8000::/40": "55037", - "2803:1a00:1513::/33": "262186", - "2806:2f0:3181::/46": "17072", - "2a0d:4c44:4::/30": "61317", - "2a0b:aac0::/29": "64236", - "2400:f340:100::/47": "131746", - "2408:8a24:4000::/34": "4837", - "2600:5800:f78b::/36": "11426", - "2604:b3c0::/40": "53989", - "2607:b400:a01::/48": "40220", - "2804:810::/32": "262344", - "2a02:cb43:2003::/48": "41179", - "2001:4d98::/34": "3303", - "2402:1b80::/38": "63956", - "2400:adc0:30::/46": "9541", - "2408:8256:2f7f::/48": "17816", - "2604:d600:c17::/44": "32098", - "2a0e:5f00::/29": "47787", - "2a0e:b102:129::/46": "212895", - "2a10:8280::/32": "2611", - "2600:6c38:ac::/43": "20115", - "2800:160:1b68::/47": "14259", - "2620:10c:e000::/40": "32629", - "2804:bd8:cd00::/34": "52838", - "2408:8459:4830::/41": "17622", - "2409:8706::/28": "9808", - "240a:a5b1::/32": "144107", - "2a09:7::/48": "43959", - "2401:d800:f950::/42": "7552", - "2402:8100:2140::/40": "45271", - "2804:3b6c::/32": "266148", - "2a02:888:8000:2::/39": "47794", - "2a05:a640::/29": "12859", - "2001:658::/29": "20676", - "2408:8456:ba40::/37": "17816", - "240e:3b8:7800::/39": "4134", - "2600:1017:9010::/39": "6167", - "2a0d:8600::/29": "205185", - "2403:9800:b010::/46": "4771", - "2606:2800:424a::/47": "15133", - "2804:3484::/32": "265463", - "2a03:5a00:3e::/48": "48614", - "2a0a:eb00::/29": "201341", - "2a0d:f700:400::/35": "207044", - "2401:d800:d220::/41": "7552", - "2a02:26f7:f3c0::/48": "36183", - "2001:16a6:c100::/40": "25019", - "2600:1417:f800::/48": "25019", - "2806:2f0:41a1::/43": "17072", - "2a02:bf0::/43": "25106", - "2a06:97c0:1::/48": "12459", - "2001:559:862f::/48": "7922", - "2001:4830:c171::/38": "27552", - "240e:12:1000::/32": "4134", - "2801:b4::/48": "20116", - "2804:2b4::/36": "28265", - "2405:f280:35::/32": "131464", - "2a01:48a0:4060::/48": "57271", - "2001:559:c3b0::/48": "33657", - "2804:65f0::/32": "269524", - "2a00:7180:800c::/33": "15557", - "2a02:26f7:e181::/46": "20940", - "2a0f:4680::/32": "50113", - "2001:4490:4e48::/46": "9829", - "2806:20d::/35": "32098", - "2a0a:21c0::/29": "30972", - "240a:acac::/32": "145894", - "2806:230:3025::/48": "11888", - "2a02:2e02:da0::/38": "12479", - "2409:4073:1000::/34": "55836", - "240a:ac35::/32": "145775", - "2600:1806:10::/44": "16552", - "2804:4a14::/32": "267217", - "2804:4bd8:600::/32": "267332", - "2a0d:3e80::/29": "202914", - "2001:ee0:cc40::/39": "45899", - "2a10:2f00:16c::/48": "211495", - "240a:ac58::/32": "145810", - "2620:ae::/48": "22950", - "2a04:4e40:a800::/48": "54113", - "2a00:11c0:beef::/48": "42473", - "2001:559:81c7::/44": "33652", - "2001:5b0:2100::/37": "6621", - "2001:4450:40::/48": "20940", - "2406:3000::/46": "4657", - "2407:8c0::/32": "134858", - "2804:3c0::/32": "28605", - "2804:1bfc::/32": "61632", - "2001:df2:ff00::/48": "58537", - "2404:7c00:3::/32": "45650", - "2605:9d80:9061::/48": "4809", - "2001:559:2a3::/48": "33660", - "2401:8f40::/48": "136933", - "2402:8100:2500::/44": "55644", - "2804:6458::/32": "269422", - "2c0f:f020:3000::/33": "327907", - "2001:df1:6c80::/48": "139648", - "2001:44b8:3c::/48": "7545", - "2404:f4c0:f607::/48": "139328", - "2604:e8c0::/48": "6233", - "2606:3380:12::/45": "53334", - "2804:318c::/39": "265023", - "2a09:7140::/29": "50628", - "240e:3bf:f100::/36": "4134", - "2803:6606:c000::/35": "28075", - "2a07:8e00::/29": "42331", - "2001:678:8ac::/48": "20570", - "2408:8957:7300::/40": "17816", - "2605:1b40::/32": "40389", - "2607:f190:4000::/32": "11320", - "2804:2b2c::/32": "265139", - "2a00:bec7:10::/47": "12946", - "2a04:f580:9060::/48": "4809", - "2001:559:85fa::/45": "7922", - "2620:74:a5::/46": "7342", - "2a00:1728:2::/47": "34224", - "2a06:ff40::/29": "15738", - "2401:d800:2ee0::/39": "7552", - "2408:8459:f700::/40": "17623", - "2a05:fa82::/29": "202139", - "2a0c:7a00::/29": "57910", - "2409:8904:4c60::/39": "24547", - "240a:ac3f::/32": "145785", - "2a01:7e27::/32": "199805", - "2a02:26f0:da00::/48": "34164", - "2a03:2880:f261::/45": "32934", - "2408:8957:9300::/40": "17816", - "2607:f670::/39": "10587", - "2804:3dc::/46": "52967", - "2804:2ebc::/34": "265363", - "2001:1998:8a0::/41": "7843", - "2402:1b80:3100::/32": "63956", - "240a:a47d::/32": "143799", - "2604:1100:d000::/39": "11911", - "2803:760::/39": "269816", - "2001:559:82f4::/48": "33668", - "2607:fc48:bc21::/46": "40009", - "2804:45d4::/32": "266952", - "2607:f6f0:5000::/48": "27224", - "2804:30e0::/32": "264978", - "240e:438:5e40::/34": "4134", - "2607:f110::/45": "21889", - "2804:20fc::/42": "264525", - "2a01:450::/32": "6908", - "2a01:802::/29": "3209", - "2a0a:2780::/31": "206774", - "2600:6c3b:31::/37": "20115", - "2804:489c:4000::/34": "267133", - "2001:559:d6::/48": "33287", - "2804:2e9c::/32": "265355", - "2a0b:b87:ffb0::/48": "16509", - "2001:559:86eb::/48": "7922", - "2001:559:c263::/48": "33657", - "240a:afcc::/32": "146694", - "2406:9600::/32": "10208", - "240e:473:5b50::/40": "4134", - "2c0f:f5c0:483::/36": "29465", - "2001:559:c151::/48": "33654", - "2001:8c0::/29": "2116", - "2401:d800:7700::/42": "7552", - "240a:aebe::/32": "146424", - "2804:2178:4004::/47": "264556", - "2804:376c::/32": "266413", - "2a02:13c0::/32": "20792", - "2409:8948:9400::/31": "24445", - "2600:370f:5205::/46": "32261", - "2606:f900:6104::/35": "812", - "2804:2168::/32": "53199", - "2001:44b8:30cc::/48": "7545", - "2600:809:424::/48": "397601", - "2602:feda:cb0::/48": "209557", - "2804:e0c:40::/48": "28176", - "2406:b400:d2::/45": "18209", - "2a0d:ed40::/32": "209985", - "2804:8318::/32": "272176", - "2a0e:97c0:e41::/48": "20473", - "2001:550:3402::/48": "398355", - "2001:559:c044::/48": "7725", - "2402:a300:8006::/44": "55427", - "2409:8915:8e00::/39": "56044", - "240a:a3fb::/32": "143669", - "2604:1740::/32": "37353", - "2a0b:a0c0::/29": "59682", - "240a:a857::/32": "144785", - "2806:370:5310::/44": "28403", - "2401:ff80:190b::/45": "133954", - "2404:2200::/43": "18200", - "2600:1406:ec01::/38": "20940", - "2602:feda:102::/48": "396303", - "2804:6864::/39": "269689", - "2001:678:f00::/48": "208930", - "2804:b4:f000::/36": "28294", - "2a02:26f7:b604::/48": "36183", - "2a0b:3700:2::/29": "61317", - "2001:559:584::/48": "33652", - "2001:559:c3da::/48": "33659", - "2804:1574::/32": "263389", - "2a02:26f7:c148::/48": "36183", - "2a03:8980::/32": "16232", - "2a01:b740:a1a::/48": "6185", - "2001:559:8332::/48": "20214", - "2001:67c:14d8::/48": "61413", - "2408:8459:9c30::/41": "17622", - "240a:aae0::/32": "145434", - "2602:fdf0::/36": "396056", - "2a03:1984::/32": "48260", - "2001:678:a3c::/48": "8867", - "2406:e500:2::/33": "58593", - "240a:a8c4::/32": "144894", - "2001:c10:ff03::/45": "7473", - "2401:d800:bc50::/42": "7552", - "2803:9800:a8c3::/45": "11664", - "2804:7d0c::/32": "271535", - "2a0f:5840::/44": "39192", - "2a04:3fc0::/46": "197669", - "2001:67c:154::/48": "25318", - "2001:67c:764::/48": "201530", - "2800:440:104::/48": "27738", - "2804:534::/37": "22177", - "2804:1c2c:2000::/32": "262869", - "2a00:7b00:e900::/35": "12338", - "2a03:4bc0:2300::/48": "30893", - "2a05:3580:28::/34": "35807", - "2a0c:2f07:fed5::/48": "206924", - "2c0f:e8a8::/32": "328631", - "2804:670c::/32": "269600", - "2001:16a2:3800::/37": "25019", - "2405:7f00:3000::/38": "133414", - "2405:9800:c911::/46": "45458", - "2406:8100:2000::/32": "24182", - "2801:13:a800::/48": "271809", - "2803:bc40:810b::/45": "52468", - "2804:1040:f700::/36": "263626", - "2a0f:9400:7728::/47": "53356", - "2803:10c0::/32": "264770", - "2001:559:8237::/48": "7015", - "2408:8456:2e50::/39": "17816", - "2408:8956:df00::/40": "17816", - "2408:8957:3300::/40": "17816", - "240a:a3d1::/32": "143627", - "240a:ab11::/32": "145483", - "2800:3c0:30a0::/32": "19863", - "2a04:5080::/29": "35579", - "2607:e580::/32": "36601", - "2804:3a90::/32": "266096", - "2001:559:241::/48": "7725", - "2400:d980::/32": "59340", - "2401:d800:d7c0::/42": "7552", - "240e:438:3220::/43": "140647", - "2001:df6:3e80::/48": "141993", - "2804:685c::/32": "269687", - "2a0c:b642:902::/40": "204625", - "2a0e:46c3:202::/40": "208717", - "2a0e:f780::/29": "208725", - "2a10:dc00::/29": "61193", - "2001:16a2:402c::/43": "25019", - "2606:6380:5::/46": "26721", - "2a0d:ac00:1000::/48": "205202", - "2a0e:97c5:49c::/46": "20473", - "2a0f:b4c4::/32": "47596", - "2001:418:1401:22::/63": "2914", - "2001:559:864a::/48": "7922", - "2605:3780::/32": "62622", - "2606:2000:12::/45": "1616", - "2803:9800:b037::/44": "11664", - "2804:35a4::/32": "266298", - "2a10:ba00:bee5::/48": "16509", - "2c0f:f5b8::/32": "327997", - "240a:ad28::/32": "146018", - "2603:c022:c000::/35": "31898", - "2804:2e78::/35": "28213", - "2804:5ab0::/32": "268789", - "2a0e:9b80::/46": "41737", - "240e:966:cc00::/34": "4134", - "2602:ff76::/36": "21722", - "2a02:2490::/32": "51815", - "2a02:26f7:f480::/48": "36183", - "2a04:4e40:fe30::/41": "54113", - "2001:559:76::/48": "33491", - "2600:140f:4a01::/39": "20940", - "2c0f:ed60::/32": "328474", - "2402:9e80:58::/48": "139677", - "2403:5a40:50::/48": "134562", - "2409:8924:4300::/37": "56046", - "2620:0:3b0::/48": "20452", - "2800:bf0:8266::/44": "52257", - "2804:890::/32": "52873", - "2403:f000:1::/48": "38220", - "2620:10d:c09b::/45": "54115", - "2a02:26f7:e089::/46": "20940", - "2a04:4e00::/29": "24651", - "2a0b:4340:80::/48": "134176", - "2001:4b00::/29": "12620", - "240a:ae79::/32": "146355", - "2600:1403:2001::/35": "20940", - "2a06:f040::/32": "5420", - "2a0c:5243::/32": "59504", - "2a10:6bc0::/48": "201511", - "2001:57a:9204::/46": "22773", - "240e:838:40::/44": "140647", - "2620:fa::/48": "293", - "2a02:ee80:41ee::/43": "3573", - "2400:ac40:bb0::/37": "136255", - "2402:800:63f1::/45": "7552", - "2606:f900:7604::/46": "812", - "2a02:208::/32": "5495", - "2a03:8520:1206::/48": "200981", - "2405:7c00:a000::/45": "9534", - "240e:925:4000::/30": "4134", - "2606:2800:4032::/47": "14210", - "2a02:2580::/32": "2119", - "2a02:2e02:9450::/39": "12479", - "2a0a:9e00:c::/29": "61317", - "2804:1e6c::/32": "264428", - "2001:470:31::/48": "6939", - "2001:67c:1008::/48": "42385", - "2408:8256:2d80::/44": "17623", - "240e:473:2d50::/40": "4134", - "2600:141b:a801::/35": "20940", - "2607:f5d8:20::/48": "2553", - "2804:920::/32": "263053", - "2a01:100::/32": "39912", - "2a04:f580:9240::/48": "4809", - "2400:c700:2001::/35": "55644", - "2408:8256:376a::/48": "17623", - "240e:473:9c50::/39": "4134", - "2605:3c80:e00::/41": "36180", - "2606:ae80:1440::/43": "25751", - "2804:3000::/32": "264925", - "2402:5b00:b0::/44": "18002", - "240a:af55::/32": "146575", - "2800:440:144::/48": "27738", - "2804:2da4::/32": "265294", - "2a00:19a8::/32": "49640", - "2400:cb00:266::/44": "13335", - "2602:ff96:15::/46": "40676", - "2a0b:9940::/32": "29413", - "2a0e:8f02:2175::/48": "211168", - "2400:dcc0:ac04::/39": "38631", - "2800:160:1e3a::/47": "14259", - "2801:15:4800::/48": "19429", - "2804:580::/33": "262518", - "2a02:26f7:c588::/48": "36183", - "2a04:840::/43": "33182", - "2400:db00::/32": "23881", - "240a:2:d90::/44": "9605", - "2600:1402:b801::/33": "20940", - "2620:171:fb::/48": "715", - "2804:575c::/32": "268061", - "2804:69b0:100::/41": "270285", - "2001:67c:2e80::/48": "20712", - "2a02:1c8:10::/44": "24955", - "2001:678:258::/48": "58057", - "2a10:9903:110::/44": "15510", - "2001:c38:90b0::/39": "9931", - "2001:df4:c200::/48": "58522", - "2401:8a40:24::/44": "45326", - "2408:8956:9b00::/40": "17816", - "2409:8750::/38": "56047", - "240e:b58::/24": "4134", - "2610:a1:3028::/48": "12008", - "2001:c00::/39": "4618", - "2405:8400::/32": "9245", - "2408:8957:2f00::/40": "17816", - "240e:983:700::/40": "140061", - "2620:12c:3000::/44": "3356", - "2804:71cc::/32": "270812", - "2001:db0:7000::/32": "17766", - "2403:2d40::/32": "64018", - "2408:8957:3400::/40": "17622", - "240a:a780::/32": "144570", - "2604:d600:52e::/43": "32098", - "2606:2800:6023::/44": "15133", - "2a02:26f7:38::/48": "36183", - "2401:17c0::/32": "136533", - "240a:afdc::/32": "146710", - "2600:1417:42::/44": "20940", - "2a0e:97c0:1374::/48": "20473", - "2803:d480::/32": "8053", - "2001:3d8::/32": "9595", - "2401:1d40:3f01::/48": "59019", - "2409:8924:bf00::/33": "56046", - "2600:1415:9::/48": "20940", - "2600:1417:4801::/37": "20940", - "2602:103:4000::/35": "20115", - "2801:80:22d0::/48": "267068", - "2a01:8a00::/32": "42484", - "2001:559:8739::/48": "33662", - "2001:df0:2f3::/48": "132351", - "2001:44b8:1c::/46": "7545", - "2407:bd40:3830::/48": "399686", - "240a:a3e3::/32": "143645", - "2605:f440:b00b::/48": "212149", - "2620:9c:6000::/48": "174", - "2a04:ac0:1::/48": "20860", - "2a0f:1fc0::/29": "60262", - "2401:fbc0::/32": "134922", - "2403:51c0::/32": "138022", - "2407:7400::/48": "9498", - "2607:fb10:503e::/41": "2906", - "2804:3360:fe00::/39": "262725", - "2001:559:8104::/48": "33287", - "2a0e:b107:b80::/44": "212995", - "2001:559:2a::/48": "7015", - "2001:67c:234c::/48": "42204", - "2408:8957:6400::/40": "17622", - "240a:ac41::/32": "145787", - "2604:9f00:1000::/32": "27364", - "2804:2df8:eeaf::/43": "265315", - "2804:4608:8000::/33": "266964", - "2001:1a11:bc::/48": "8781", - "2401:4900:50::/48": "9498", - "240a:a864::/32": "144798", - "2806:2f0:2240::/39": "17072", - "2a03:6b00:2::/44": "48832", - "2409:8924:9900::/38": "56046", - "2806:329::/32": "28429", - "2409:8050:2000::/47": "56047", - "2602:fd92:631::/48": "142158", - "2a0d:3200::/29": "61161", - "2a0e:1bc1::/35": "208621", - "2402:c800:fff2::/48": "38639", - "2600:140b:a400::/48": "24319", - "2606:50c0:8000::/46": "54113", - "2a04:dbc0::/30": "8395", - "2a06:2e00::/29": "28920", - "2a07:6200::/29": "47820", - "2a0e:97c5:708::/45": "20473", - "2001:559:806b::/45": "7725", - "2401:f40:f::/32": "134732", - "240e:982:e400::/31": "4134", - "2604:8600:7000::/32": "14453", - "2604:fb00::/32": "19223", - "2804:3814::/32": "266454", - "2a0b:82c0::/29": "41645", - "2408:8957:b700::/40": "17816", - "2803:4c60::/45": "267845", - "2804:1b70::/32": "61728", - "2804:55d0::/32": "267958", - "2a01:6f0::/39": "42366", - "2001:559:c172::/48": "33651", - "2001:678:9d0::/48": "34944", - "2001:df6:a680::/48": "45679", - "2401:5f40::/32": "38004", - "240a:ac02::/32": "145724", - "2a03:e600::/40": "1764", - "2a0e:2e80::/29": "60255", - "2400:ac40:d70::/38": "136255", - "2607:fa40::/47": "25899", - "2001:559:26b::/48": "7015", - "2a0c:ec00::/29": "205255", - "2001:559:83e6::/48": "7015", - "240a:a52c::/32": "143974", - "2408:8459:7e30::/41": "17622", - "2607:fd28:a008::/48": "36086", - "2a02:26f7:d449::/46": "20940", - "2a09:be40:3420::/48": "212348", - "2001:559:816c::/48": "7016", - "2001:df1:2280::/48": "139588", - "2409:8752:500::/38": "56047", - "240a:aa6d::/32": "145319", - "2a0a:9c80::/32": "200665", - "2001:448a:7070::/40": "7713", - "2001:4490:c00::/43": "9829", - "2408:8256:3282::/48": "17816", - "240e:37c:2600::/32": "4134", - "2607:f160:25::/48": "22394", - "2a0f:d300::/29": "47787", - "2001:559:82e8::/48": "33659", - "2408:8456:ee00::/42": "17622", - "2803:1460::/32": "267837", - "2804:49ec::/32": "267209", - "2a06:2280::/29": "200582", - "2a07:a080::/29": "51399", - "2402:800:9301::/44": "7552", - "2604:d600:22::/43": "32098", - "2606:1040:1338::/32": "12243", - "2a00:ed80::/32": "34100", - "2400:a980:5d00::/38": "133111", - "2620:0:6c4::/48": "16807", - "2a01:238:10b::/38": "6724", - "2a05:acc0::/29": "3212", - "2a0d:77c7:f6ce::/36": "7489", - "2001:16d8:c014::/36": "16150", - "240e:3bc:5600::/34": "4134", - "2620:171:f4::/47": "42", - "2804:71dc::/32": "270816", - "2a02:ee80:410b::/43": "3573", - "2001:918:ff3e::/48": "48038", - "2001:9e8:2004::/39": "8881", - "2408:84f3:aa40::/37": "17816", - "2600:1413:7001::/36": "20940", - "2a02:26f7:d048::/48": "36183", - "2a07:7b80:102::/48": "8757", - "2001:448a:6050::/42": "7713", - "2a00:11c0:25::/43": "42473", - "2a00:17a8::/32": "8478", - "2a0f:5707:aad0::/47": "212591", - "2001:43f8:a30::/48": "20294", - "2804:5604::/32": "267971", - "2401:d800:f350::/42": "7552", - "2620:112:9000::/44": "36225", - "2a03:e581:5::/29": "49282", - "2803:b80::/32": "27930", - "2804:5c4c::/32": "268900", - "2001:388:3058::/48": "24433", - "2001:678:8b4::/48": "9009", - "2604:d600:c3f::/41": "32098", - "2001:1938:4400::/34": "12989", - "2404:76c0::/32": "138636", - "2620:21:c000::/48": "30256", - "2a06:6540:4101::/48": "8220", - "2001:fc8::/32": "23624", - "2001:4998:3d::/41": "10310", - "2a00:86c0:2086::/47": "40027", - "2001:cb0:3203::/32": "4637", - "2600:1407:1c01::/34": "20940", - "2602:ff22::/36": "63297", - "2806:2f0:8101::/46": "17072", - "2c0f:ed38::/35": "328437", - "2408:840c:dd00::/34": "17621", - "240a:a495::/32": "143823", - "2a06:98c0:3607::/48": "132892", - "2001:12d8::/40": "1251", - "2405:ec0::/35": "132768", - "2400:1d00::/32": "9656", - "240a:a23e::/32": "143224", - "2a0d:2902:caf7::/44": "204185", - "2a10:6700::/29": "398559", - "2409:807c:1100::/36": "9808", - "240a:add6::/32": "146192", - "2600:1fa0:e040::/44": "16509", - "2604:880:a::/48": "29802", - "2605:3380:ff09::/45": "12025", - "2a09:4c0:301::/46": "58057", - "2001:559:c3f0::/48": "33651", - "2401:d800:2490::/42": "7552", - "2620:131:f000::/40": "10255", - "2a0f:7480::/29": "212807", - "2407:3000:7::/41": "17707", - "2607:f740:e07b::/45": "398748", - "2804:2d30::/32": "265265", - "2408:862a::/32": "4837", - "2a0e:f43::/48": "211935", - "2001:559:8155::/48": "33659", - "2001:67c:550::/48": "202068", - "2602:803:9003::/44": "17138", - "2605:5800::/32": "15305", - "2804:7c84::/33": "271501", - "2a0e:aa07:e100::/44": "142025", - "2602:fd68::/36": "30241", - "2a00:cb0:8000::/34": "13289", - "2a02:748::/35": "29802", - "2001:500:8e::/48": "12041", - "2402:3a80:16e0::/39": "38266", - "240a:ab5a::/32": "145556", - "240a:ae87::/32": "146369", - "2a0e:6540:53a::/48": "208364", - "2406:840:d0b0::/44": "38136", - "2406:8000::/32": "17955", - "240a:a566::/32": "144032", - "2606:6c00:4::/44": "32787", - "2620:135:7003::/48": "3257", - "2804:5288::/37": "268524", - "2404:2000::/34": "23905", - "2607:f060:b004::/48": "53708", - "2a00:e800::/32": "49895", - "2001:559:c2b6::/48": "7016", - "2401:f000:19::/32": "38477", - "2402:800:5163::/43": "7552", - "2804:6a30::/32": "270318", - "2a02:26f0:6200::/48": "34164", - "2001:500:2::/48": "2149", - "240a:affe::/32": "146744", - "2600:c0d::/32": "14742", - "2600:2003::/32": "33517", - "2600:5002:1806::/48": "26793", - "2a0f:4780::/29": "197706", - "2001:c20:487e::/48": "9255", - "2404:2e80:2a::/32": "135043", - "2600:1419:5001::/37": "20940", - "2a07:2f00:dead::/48": "203132", - "2001:40d0::/32": "20912", - "240a:a48b::/32": "143813", - "240e:97d:1000::/36": "4134", - "2800:320:822::/48": "27882", - "2a00:4802:f00::/35": "13124", - "2605:9d80:8041::/48": "4134", - "2001:559:80e7::/48": "7922", - "2402:3a80:c059::/48": "38266", - "2402:c300::/32": "55653", - "240a:adc5::/32": "146175", - "240e:978:1000::/40": "137702", - "2600:bc01::/32": "398993", - "2602:feda:d82::/48": "142566", - "2804:10::/43": "28299", - "2806:230:5004::/48": "265594", - "2a02:26f7:b844::/48": "36183", - "2001:559:3f4::/47": "7016", - "2403:300:a11::/46": "714", - "2408:8957:9400::/40": "17622", - "2607:fda8:1009::/45": "6128", - "2a00:a8e0:301::/48": "17054", - "2a02:4007::/32": "56821", - "2401:d800:2b60::/40": "7552", - "2604:2800:fff4::/44": "26793", - "2620:130:3080::/48": "62861", - "2804:5534:1800::/34": "268696", - "2a0b:1c00:1919::/48": "62240", - "2400:cb00:110::/44": "13335", - "2620:a9:8008::/45": "62872", - "2a01:298:f001::/48": "30893", - "2a02:b30::/32": "20886", - "2001:559:c29c::/48": "7922", - "2403:ad80:90::/46": "135309", - "2404:e801:201f::/42": "55430", - "2409:805f:3100::/36": "9808", - "2001:559:8568::/48": "20214", - "2401:d800:df90::/42": "7552", - "2408:826c::/27": "4837", - "2408:8456:c400::/42": "17622", - "2600:3402:1405::/29": "4181", - "2a02:24f0::/32": "8592", - "2a02:26f7:f7c5::/46": "20940", - "2409:8907:8620::/33": "24547", - "2600:5c00:386d::/38": "20001", - "2620:1d5:a40::/37": "14773", - "2a0d:2146:2404::/48": "44592", - "2001:559:843b::/48": "7922", - "2804:1b5c::/47": "28334", - "2804:2b44:12::/42": "265144", - "2405:9800:b022::/39": "45430", - "2605:a404:5a7::/41": "33363", - "2804:20e8::/32": "264520", - "2804:46fc::/33": "267024", - "2408:80ea:78c0::/39": "17816", - "2804:5274::/32": "268519", - "2a02:26f7:8::/48": "36183", - "240e:6b4:1000::/31": "4134", - "2001:df5:f980::/48": "138245", - "2401:d800:9a40::/40": "7552", - "2804:878::/32": "262374", - "2806:230:102c::/48": "265594", - "2a0c:d540::/32": "60159", - "2001:559:847d::/48": "33287", - "2406:9000::/32": "24175", - "2607:f7c8::/37": "36221", - "2804:1f26:cafe::/48": "265020", - "2a00:ea20::/29": "28884", - "2001:8f0::/30": "3329", - "2402:2200:8000::/35": "4788", - "2408:873d:2000::/36": "140716", - "2602:ff25:e00::/39": "46657", - "2a00:1c88:100::/48": "209242", - "2a00:55a0:ff00::/40": "9009", - "2001:470:30::/48": "2033", - "2001:67c:15c::/48": "34387", - "240a:addd::/32": "146199", - "2620:52:3::/48": "17314", - "2a02:3c8::/32": "43892", - "2001:559:8429::/48": "7015", - "2001:678:bb8::/48": "20853", - "2001:4cf8::/32": "13167", - "2602:fe7e::/36": "32494", - "2620:108:f006::/48": "8161", - "2a0a:56c4:8501::/48": "42649", - "2a10:be40:1::/48": "20799", - "2804:7320::/32": "270897", - "2001:678:a34::/48": "51567", - "2001:ce0:7::/48": "3363", - "2402:800:919b::/42": "7552", - "2404:5800::/39": "9911", - "2606:2800:10c::/46": "15133", - "2804:d50::/28": "8167", - "2804:5030::/32": "268374", - "2a0b:4d07:401::/48": "44239", - "2600:1419:c401::/36": "20940", - "2804:406c::/32": "265958", - "2804:5e70:c000::/34": "269033", - "2a00:f08::/32": "21367", - "2a06:f700::/29": "208332", - "2001:67c:20b8::/47": "25303", - "2605:dd40:8100::/48": "398549", - "2620:12c:9006::/47": "395359", - "2a02:26f7:ca08::/48": "36183", - "2a05:1500:600::/36": "48635", - "2001:df6:6b00::/48": "135772", - "2409:8038:3900::/30": "9808", - "2804:4d84::/32": "268201", - "2804:57a8::/32": "268078", - "2804:5f6c::/35": "262287", - "2001:67c:2224::/48": "42655", - "2404:1f00:7000::/32": "55947", - "2600:1480:f001::/28": "20940", - "2804:3670::/32": "266348", - "2a00:86c0:2090::/47": "40027", - "2a04:4e41::/42": "54113", - "2001:559:439::/48": "33659", - "2804:1df8::/32": "264404", - "2a0a:d7c7:808::/48": "8447", - "2001:579:6040::/40": "22773", - "2001:678:1e0::/48": "202739", - "2607:f480:999::/48": "27435", - "2a01:aee0::/32": "208582", - "2001:559:444::/48": "22909", - "2001:e60:d8a0::/45": "4766", - "2605:bc0::/48": "54201", - "2606:4580::/32": "22684", - "2a00:ad40:10::/44": "57052", - "2408:8406:8400::/39": "4808", - "2a01:ce9d:1000::/30": "51964", - "2a02:2808:1005::/48": "196943", - "2a02:c240:103::/48": "30383", - "2a03:f002:1::/31": "25472", - "2001:df4:3200::/48": "132476", - "2400:3dc0:30::/39": "134371", - "2804:4c8::/42": "262465", - "2a02:26f7:ccc1::/46": "20940", - "2001:44b8:3088::/48": "7545", - "2402:e280:2139::/45": "134674", - "2806:370:7110::/44": "28403", - "2405:9800:110::/32": "45430", - "2a02:26f7:84::/48": "36183", - "2405:2040:2334::/32": "48024", - "2804:6ca4::/32": "270482", - "2804:6aa4::/32": "270350", - "2001:559:83e3::/48": "33652", - "2001:dc7:2e00::/33": "24151", - "2404:c2c0:280::/44": "135629", - "2803:9800:a022::/43": "11664", - "2804:954:400::/45": "263073", - "2804:5bd4::/32": "268871", - "2804:6128::/33": "269217", - "2001:67c:1c8::/48": "48896", - "2001:c20:c854::/46": "9255", - "2001:ee0:9f40::/34": "45899", - "2a03:3ca0::/32": "59785", - "2a0b:640:4::/30": "35236", - "2001:978:2300:202::/55": "174", - "2409:8753:1100::/32": "56047", - "2804:4be0::/32": "267334", - "2a02:dd00::/29": "57388", - "2a11:8180::/29": "56897", - "2001:fe8:8110::/47": "24435", - "2402:8100:2550::/44": "55644", - "2800:4b0:4440::/36": "12252", - "2800:bf0:160::/44": "52257", - "2804:8100::/32": "262306", - "2a02:ab8::/32": "48943", - "2a02:26f7:b788::/48": "36183", - "2a0c:b641:150::/44": "211449", - "2001:559:2b::/45": "7922", - "2001:559:35::/48": "33491", - "2001:4ba3::/32": "24961", - "2405:ec01::/35": "137412", - "2408:8000:a017::/48": "140717", - "2408:8256:3b69::/48": "17816", - "2604:8ac0::/32": "35889", - "2401:d800:bec0::/42": "7552", - "240a:a5f1::/32": "144171", - "2605:b100:1000::/39": "577", - "2803:5ce0:b00::/32": "54235", - "2804:7af4::/32": "271402", - "2a05:3040::/29": "42910", - "2404:a700::/32": "33182", - "2409:8080:3825::/29": "9808", - "2600:1407:1401::/36": "20940", - "2800:160:1224::/43": "14259", - "2a02:26f7:f705::/46": "20940", - "2a02:2e02:5f0::/38": "12479", - "2402:800:941d::/41": "7552", - "2409:806b:5d00::/29": "9808", - "2600:140f:d001::/37": "20940", - "2a02:26f7:c304::/48": "36183", - "2a03:f80:30::/48": "8280", - "2001:1890:1fff:103::/64": "6461", - "2001:1a11:10c::/48": "8781", - "2402:9d80:3b8::/41": "131429", - "2620:57:e000::/48": "397031", - "2409:8c7f::/24": "9808", - "2600:1003:b130::/40": "22394", - "2608:c184:1::/48": "5927", - "2402:ef25::/28": "7633", - "2001:978:909::/48": "61083", - "2a0a:6e00:49::/48": "207098", - "2001:388:d::/42": "7575", - "2001:1850::/32": "32181", - "2001:448a:6010::/42": "7713", - "2600:1480:8800::/48": "21342", - "2a03:1b80:d::/32": "18705", - "2403:1940:10::/48": "137935", - "2602:feb4:40::/44": "25961", - "2604:f400:2::/48": "19453", - "2806:230:4024::/48": "265594", - "2806:2f0:7121::/41": "17072", - "2a0f:607:1000::/48": "60614", - "240a:abc6::/32": "145664", - "2a0f:3740::/29": "60262", - "2a0f:9400:7b10::/48": "210872", - "2607:fe28:2::/44": "53347", - "2804:1d28::/32": "264351", - "2804:2ab4::/32": "53149", - "2a06:e881:6602::/47": "208872", - "2c0f:f668::/32": "37519", - "2401:a580:4::/47": "55403", - "2001:559:504::/48": "7922", - "240a:adc0::/32": "146170", - "2a03:4b20:f000::/36": "3209", - "2a02:26f7:c6c9::/42": "20940", - "2a09:4040::/48": "50007", - "2001:559:286::/48": "22909", - "2401:ff80:1a8d::/46": "133954", - "2605:ce80::/37": "393713", - "2804:46d0::/32": "267013", - "2804:6760::/34": "269624", - "2001:67c:424::/48": "8220", - "2600:1406:d800::/48": "35994", - "2607:ff00:900::/40": "46385", - "2804:54:6008::/32": "28220", - "2a05:2740::/29": "47176", - "2804:d08::/32": "262311", - "2001:df2:c800::/48": "133394", - "2001:4070::/33": "5550", - "2001:4d78:fe13::/48": "15830", - "2402:3a80:b00::/41": "38266", - "2408:8957:3900::/40": "17816", - "240a:a7a7::/32": "144609", - "2602:fc71:f00::/48": "397270", - "2a02:e9::/30": "12637", - "2a0a:2a40::/29": "50758", - "2a10:a100::/32": "16509", - "2001:990::/32": "15703", - "2409:4086:a000::/28": "55836", - "2607:f330:a001::/46": "15130", - "2607:f990::/32": "16866", - "2804:32d0::/32": "265099", - "2806:230:1024::/48": "265594", - "2a04:4e40:3400::/48": "54113", - "2600:1003:b8d0::/44": "6167", - "2602:fd50:f30::/48": "212149", - "2001:1398:274::/48": "52234", - "240a:a825::/32": "144735", - "2a02:2e02:1350::/40": "12479", - "2404:ff40::/32": "4229", - "2a00:d20::/32": "47262", - "2a01:b580::/32": "12688", - "2a01:c9c0:bf::/48": "24600", - "2a02:2698:5409::/38": "41843", - "2a03:b500:81::/41": "41135", - "2001:559:8314::/48": "7922", - "2001:67c:13a0::/48": "57954", - "2001:67c:2940::/48": "50636", - "2001:fd8:f230::/44": "4775", - "2402:d540:1::/43": "135139", - "2a00:bac0::/32": "58323", - "2a0a:dc40::/29": "12843", - "2408:8756:1000::/37": "17622", - "2607:7300::/32": "40438", - "2803:3680::/32": "27851", - "2a02:2328::/32": "8426", - "2001:579:ef09::/35": "22773", - "2408:8456:a610::/42": "134543", - "2600:1407:1c::/48": "3257", - "2606:b400:8006::/48": "792", - "2620:125:7006::/48": "53780", - "2804:6db4::/32": "270550", - "2a02:6b8:81::/48": "13238", - "2001:67c:14dc::/48": "3301", - "2408:8956:d440::/40": "17622", - "2a01:550::/32": "42579", - "2001:418:1401:98::/64": "3949", - "2001:44b8:3a::/48": "7545", - "2403:df40:113::/45": "14630", - "2408:8256:2f76::/48": "17816", - "2408:8459:dc50::/38": "17816", - "2604:c80:ffff::/48": "30164", - "2804:1884::/32": "61937", - "2a0e:aa01:1fff::/48": "139589", - "2a0f:5701:3527::/32": "206499", - "2806:1070:401::/48": "3905", - "2001:559:83e0::/48": "33652", - "2001:13d0:100c::/38": "7303", - "2001:4878:8027::/48": "12222", - "2401:ff80:1b09::/45": "133954", - "2404:4280::/32": "18106", - "2804:5594::/34": "267943", - "2804:7260::/32": "52926", - "2a02:a00::/44": "15987", - "2c0f:fee0::/32": "33785", - "2001:67c:13d8::/48": "203158", - "2405:1c0:7a82::/37": "55303", - "240a:3:bfe::/48": "9605", - "2a09:9ec0::/48": "5606", - "2001:559:7d0::/48": "33657", - "2001:67c:2ca6::/47": "50838", - "2600:370f:3705::/42": "32261", - "2804:3ac0::/32": "266107", - "2804:7f78::/32": "271690", - "2a02:ee80:422c::/41": "3573", - "2a0a:1fc0::/29": "15426", - "2001:559:8765::/48": "7922", - "2620:136:a008::/46": "36198", - "2800:160:1866::/44": "14259", - "2804:8000::/32": "271723", - "2a00:f40:f000::/48": "43447", - "2a02:ac80:e01::/39": "25145", - "2401:df40:1::/48": "23734", - "240e:b2:e000::/36": "136197", - "2804:2c7c::/32": "265222", - "2a07:3502:1120::/48": "21286", - "2a10:2f01:2af::/48": "212995", - "2804:2974:b000::/33": "264016", - "2a00:f5c0::/32": "41369", - "2a09:2884::/48": "202316", - "2a0e:8b40::/29": "205614", - "2001:559:57a::/48": "33659", - "2001:67c:4c::/48": "35609", - "2804:5d64::/32": "268969", - "2a02:2e02:11c0::/38": "12479", - "2a02:5320:b00::/40": "12189", - "2c0f:ed00:110::/48": "328442", - "2001:678:6b0::/48": "33873", - "2804:14c:65c7::/44": "28573", - "2804:5d94::/32": "268980", - "2a03:4bc0:2900::/48": "30893", - "2a07:4300:972::/48": "209622", - "2401:9cc0:200::/48": "59256", - "2a00:cb60:1::/48": "47488", - "2a02:26f7:de80::/48": "36183", - "2a09:fc00::/29": "200848", - "2c0f:fdc8::/32": "37049", - "2001:43f8:14d0::/48": "328700", - "240a:af95::/32": "146639", - "240e:3b1:9200::/36": "140317", - "2620:13a:c013::/42": "53356", - "2a04:c000::/29": "202194", - "240e:37a:1a00::/34": "140330", - "2600:100b:a110::/35": "6167", - "2600:1404:7400::/48": "35994", - "2a0f:e143::/32": "60781", - "240e:3b8:9200::/36": "140317", - "2409:8020:2902::/35": "56046", - "240e:44d:2780::/41": "4134", - "2606:6500::/28": "19331", - "2a01:65c0::/32": "3242", - "2a01:ab80::/32": "204243", - "2a02:26f7:e504::/48": "36183", - "2a02:a400::/25": "1136", - "240a:a3d7::/32": "143633", - "2a04:1dc0::/29": "44252", - "240e:44d:4400::/41": "140345", - "2600:1480:4100::/37": "20940", - "2a04:2fc7::/32": "43238", - "2001:ee0:9640::/39": "45899", - "2001:1980:5400::/34": "29838", - "2001:4b20:20:2::/39": "34288", - "2402:800:5b39::/41": "7552", - "2803:d20::/32": "265684", - "2a04:3080::/29": "29170", - "2404:f4c0:f948::/48": "142551", - "2804:14d:4cb7::/41": "28573", - "2a0e:b107:5b0::/44": "207328", - "2a0f:1440::/48": "60781", - "2001:1248:9707::/43": "11172", - "2001:4450:41::/29": "9299", - "2605:ee00:30::/41": "29990", - "2804:30f8:b00::/40": "264984", - "2a00:15e0::/29": "15960", - "2a0b:8f80:100::/47": "29290", - "2001:559:73e::/48": "33287", - "2001:559:84f1::/48": "33659", - "2001:920::/31": "8220", - "240e:473:3350::/40": "4134", - "2800:bf0:16e::/48": "27947", - "2804:11dc::/33": "263444", - "2001:468:2811::/32": "11537", - "2001:559:c05d::/48": "33491", - "2602:fd7d:2::/43": "16925", - "2803:c10::/32": "271867", - "2a02:26f7:d081::/46": "20940", - "2001:1b40:3333::/48": "3356", - "2607:f768:4000::/32": "33152", - "2804:7864::/32": "271239", - "2806:230:204e::/48": "265594", - "2a02:26f7:b980::/48": "36183", - "2a05:f080::/29": "38919", - "2a0b:1600::/29": "56485", - "2001:559:429::/48": "22909", - "2804:56e0::/42": "268029", - "2804:1024::/32": "263620", - "2804:3964::/32": "266028", - "2001:678:24::/48": "201612", - "2001:67c:295c::/48": "8365", - "2405:1a40::/48": "135981", - "2606:40c0::/32": "7018", - "2804:65b8::/32": "269510", - "2a00:9f40::/32": "57961", - "2a02:26f7:f8c8::/48": "36183", - "2400:1a00:b1e1::/33": "17501", - "2a02:26f0:9d01::/40": "20940", - "2408:8456:1400::/42": "17622", - "2a04:4900::/29": "64401", - "2001:579:d184::/42": "22773", - "2001:df0:a8::/48": "46052", - "2404:4580::/47": "63526", - "240e:45c::/31": "131285", - "2602:808:4004::/48": "398960", - "2605:a404:5cd::/38": "33363", - "2803:1120::/32": "52328", - "2405:3740::/32": "38526", - "2804:72d4::/32": "270878", - "2a02:e3c0::/29": "213402", - "2401:ff80:158d::/46": "133954", - "2401:ff80:1593::/38": "133954", - "2403:1ec0:1610::/48": "4812", - "2610:b0:4146::/32": "3573", - "2001:559:8326::/48": "33651", - "2804:74bc::/32": "271000", - "2a02:26f7:d48c::/48": "36183", - "2001:4479:8000::/36": "7545", - "2607:f7c0:4000::/40": "40819", - "2001:1218:6015::/46": "278", - "240e:965:800::/37": "133774", - "2001:1497:2::/47": "208520", - "2400:3dc0:601::/39": "134371", - "2409:8904:3ea0::/39": "24547", - "2600:1007:c01::/46": "22394", - "2001:559:a8::/47": "33287", - "2001:67c:1280::/48": "34883", - "2604:0:c2::/32": "7397", - "2a01:47c1::/32": "41075", - "2a0e:68c0:1::/48": "204743", - "2409:8914:8600::/39": "56044", - "2607:fa00::/32": "30362", - "2620:149:a16::/48": "6185", - "2a04:940:1601::/29": "51407", - "2a0c:8040::/29": "211892", - "2604:85c0:8::/47": "16524", - "2a01:2c0::/34": "8282", - "2001:559:833c::/48": "33651", - "2001:57a:7002::/45": "22773", - "2402:3a80:c00b::/43": "38266", - "2a07:e00:ff::/48": "210083", - "2409:8954::/28": "56040", - "240a:af3f::/32": "146553", - "2600:370f:4060::/45": "32261", - "2a00:4802:3010::/38": "13124", - "2a02:26f7:d181::/46": "20940", - "2a03:1d80::/29": "31117", - "2001:559:8398::/48": "7016", - "2605:7280::/45": "54600", - "2001:559:5a0::/48": "33491", - "2001:678:848::/48": "8873", - "2804:4ec::/47": "28668", - "2806:213::/32": "33182", - "2c0f:f738:3803::/37": "61317", - "2001:559:37a::/48": "33651", - "2001:b50::/32": "16245", - "2001:44b8:30c0::/48": "7545", - "2406:5900::/32": "3786", - "240a:a0e9::/32": "142883", - "2a02:2d20::/32": "202096", - "2a0e:ec00::/36": "50236", - "2a0c:78c0::/29": "207133", - "2401:d800:b090::/42": "7552", - "2406:2000:ef65::/48": "58525", - "2800:bc0::/32": "20080", - "2804:268::/32": "262812", - "2a00:4802:d10::/38": "13124", - "2a01:4b40:8800::/33": "21299", - "2a02:2e02:1020::/40": "12479", - "2403:a140:100::/40": "141771", - "2801:12e::/48": "271858", - "2a00:b920::/32": "60422", - "2a06:93c0::/29": "680", - "2406:840:fbb3::/45": "139058", - "2610:108:f000::/48": "13506", - "2a06:cd40:400::/48": "43927", - "2a11:2800::/48": "42831", - "2401:d800:9140::/42": "7552", - "2404:f4c0:1101::/48": "24144", - "2604:ab80:2::/45": "55079", - "2001:559:c140::/46": "33657", - "2402:800:41ff::/38": "7552", - "2602:fca3::/48": "2165", - "2603:c002:1510::/40": "31898", - "2804:14d:ae85::/41": "28573", - "2804:5140::/32": "268440", - "2402:6800:0:3015::/46": "22822", - "2605:a404:83e::/41": "33363", - "2607:f358::/46": "18779", - "2800:490:8000::/36": "27951", - "2001:c20:c817::/48": "58562", - "2804:7d14::/32": "271537", - "2a0b:e200:1::/48": "208321", - "2a0e:8440::/29": "47373", - "2001:559:33f::/48": "33652", - "2804:3f34::/32": "262351", - "2804:7754::/32": "61604", - "2a00:13a0::/32": "31242", - "2a02:26f7:e38c::/48": "36183", - "2001:500:b::/45": "12041", - "2001:559:313::/48": "33662", - "2001:559:8067::/48": "33659", - "2a02:ca00::/29": "41307", - "2404:bc0:1::/48": "137735", - "2804:75a4::/40": "271060", - "2a10:e2c0::/29": "211441", - "2001:559:8623::/45": "7922", - "2605:5fc8::/32": "46573", - "2804:16d8:1d06::/48": "262729", - "2804:6788::/32": "269634", - "2a02:26f0:5201::/39": "20940", - "2a06:580::/29": "200590", - "2001:678:d50::/48": "213204", - "2a04:92c0::/31": "62240", - "2001:500:13f::/48": "396574", - "2408:8956:4b00::/40": "17816", - "240e:356:5c00::/34": "134419", - "2a06:cf00::/29": "62365", - "2602:fe9a:9::/48": "25687", - "2804:41f4::/37": "267468", - "2001:1420::/30": "8676", - "2405:9800:f010::/36": "45430", - "2408:8256:3d8c::/43": "17623", - "2a0d:5e80::/29": "200899", - "2402:9d80:a51::/42": "131429", - "2602:800:cc00::/38": "397695", - "2604:180::/46": "3842", - "2804:1194:f000::/44": "263424", - "2a0d:1642:1::/48": "49505", - "2001:559:c25f::/42": "7922", - "2400:7400:e032::/45": "23736", - "2406:8800:9015::/44": "17465", - "2408:8344::/35": "140726", - "240a:a689::/32": "144323", - "2a02:26f0:13e::/38": "20940", - "2a02:2e02:9430::/41": "12479", - "2001:559:2a9::/48": "33491", - "2407:56c0::/32": "142116", - "2800:110:3e01::/32": "4270", - "2804:6940::/32": "270258", - "2a02:26f7:de91::/42": "20940", - "2001:1b48::/32": "8218", - "2408:8256:399f::/38": "17816", - "240a:a291::/32": "143307", - "240a:a85d::/32": "144791", - "2804:18:7800::/43": "26599", - "2a02:faa0:2::/48": "203427", - "2a0e:b107:934::/48": "204446", - "2400:ae00:1981::/48": "38367", - "2401:ff80:1881::/44": "133954", - "2602:10f::/32": "33588", - "2804:248:4005::/46": "28598", - "2a02:e982:2e::/43": "19551", - "2804:6bb4:1600::/32": "270418", - "2a02:26f7:cac1::/46": "20940", - "2001:559:8092::/48": "33660", - "2a04:f500::/29": "33988", - "2a10:2a80::/48": "207727", - "2001:648:24a1::/39": "5408", - "2603:c0f2::/35": "6142", - "2607:fb90:3500::/36": "21928", - "2620:171:20::/46": "715", - "2804:6dd8::/32": "270559", - "2a02:26f7:b90c::/48": "36183", - "2a0b:6800::/48": "12552", - "2408:8956:da40::/40": "17622", - "2409:8915:9400::/39": "56044", - "2806:20d:1b04::/37": "32098", - "2001:49b8::/32": "21737", - "2400:7400:e011::/48": "23736", - "2406:66c0::/32": "62126", - "2409:8924:6900::/38": "56046", - "240a:a795::/32": "144591", - "240e:44d:3280::/41": "4134", - "2602:ff06:677::/48": "25720", - "2a01:3f0::/31": "8674", - "2a0f:6680::/29": "41820", - "2400:b800::/44": "45638", - "240a:af02::/32": "146492", - "240a:af89::/32": "146627", - "2620:116:3000::/44": "33024", - "2800:160:2c18::/42": "14259", - "2801:c4:26::/48": "265584", - "2a00:1480:3::/48": "50819", - "2001:559:327::/44": "7922", - "240a:a330::/32": "143466", - "2604:ce00::/32": "27425", - "2a02:26f7:eac8::/48": "36183", - "2a07:81c0::/29": "29608", - "2406:8800:9019::/46": "17465", - "240a:a473::/32": "143789", - "2600:380:4180::/37": "20057", - "2a0a:3980:2::/48": "198949", - "2a0a:b240::/29": "42584", - "2001:67c:2e88::/48": "198722", - "240e:6:d130::/44": "140083", - "2604:e180:de09::/34": "55002", - "2804:1e5c::/32": "264424", - "2a01:470::/29": "35189", - "2a02:26f0:a01::/37": "20940", - "2001:559:66::/48": "33491", - "2001:df6:da00::/48": "64312", - "2400:9380:88c0::/44": "136167", - "2402:800:5155::/42": "7552", - "2409:8014:300a::/30": "56044", - "2a0c:b641:210::/48": "209661", - "2600:80c:a00::/37": "11486", - "2600:6c33:219::/37": "20115", - "2608:4123:2::/48": "6025", - "2804:34d4::/32": "265483", - "2804:391c::/44": "262287", - "2a02:26f7:cf85::/46": "20940", - "2c0f:f288::/32": "328039", - "2001:b08:16::/48": "29581", - "2001:48d0:a000::/35": "75", - "2401:d800:d9f0::/38": "7552", - "2409:804e:1100::/36": "9808", - "2606:ae00:bbc0::/37": "7287", - "2a01:348:63::/38": "39326", - "2a02:26f7:d1::/48": "20940", - "2001:559:7df::/48": "33659", - "2001:40e8::/32": "30798", - "2400:5480::/32": "58451", - "2409:8052:1900::/37": "9808", - "2804:76a0::/32": "271124", - "2a0b:8580::/29": "206429", - "2620:7e::/44": "22414", - "2804:4c50::/32": "267363", - "2a04:6480::/29": "39923", - "2a07:6380::/29": "44821", - "2a0f:c080::/32": "44582", - "2408:8856:400::/32": "17816", - "2a0f:5701::/34": "206499", - "2001:1248:5f1a::/42": "11172", - "2001:1248:a530::/45": "11172", - "2600:6c38:25b::/45": "20115", - "2a00:9e80::/40": "56791", - "2a09:bac0:199::/48": "13335", - "2a02:26f7:55::/48": "20940", - "2001:559:1a5::/48": "33287", - "2001:559:c159::/48": "7922", - "2401:4900:5870::/44": "45609", - "2402:3a80:28::/47": "38266", - "240a:abba::/32": "145652", - "2602:fcd3:200::/48": "6233", - "2605:c080::/32": "393682", - "2a02:26f7:c58d::/42": "20940", - "2a03:ed80::/32": "13178", - "2604:9b00:3c00::/38": "14230", - "2a02:26f0:9201::/39": "20940", - "2a0a:b080::/29": "202743", - "2403:97c0:10::/44": "7489", - "2408:8957:3f00::/40": "17816", - "2409:8904:2fa0::/35": "24547", - "2600:1404:5c01::/34": "20940", - "2a02:2698:1800::/38": "51604", - "2001:67c:88::/48": "57436", - "2001:d10:9400::/38": "135478", - "2001:df3:5700::/48": "137198", - "240e:473:2800::/41": "140485", - "2804:4f98::/32": "268337", - "2a0e:3f00::/29": "197706", - "2001:559:18f::/43": "7016", - "2001:579:d0c4::/42": "22773", - "2602:feda:af3::/48": "131477", - "2620:13d:d01c::/48": "3356", - "2620:1b2:c60::/38": "26673", - "2a04:62c0::/31": "47477", - "2a0e:b107:4b8::/45": "135309", - "2402:ec00::/32": "7575", - "2408:84f3:e440::/38": "17816", - "2804:82e8::/32": "272164", - "2a02:26f7:ebc4::/48": "36183", - "2a02:9010:46::/42": "3352", - "2409:8704:d700::/31": "24547", - "2606:7300::/32": "11495", - "2806:2f0:92c2::/39": "17072", - "2001:648:25e1::/38": "5408", - "2401:a100:c010::/34": "45194", - "240a:a6fc::/32": "144438", - "2a02:4e0:10::/48": "16135", - "2a0f:c087:c3ae::/48": "212521", - "2400:8480:1000::/48": "133385", - "2406:4e40:6::/39": "140966", - "2406:9400::/32": "9253", - "240a:a789::/32": "144579", - "2804:1b54:8000::/33": "61722", - "2806:2f0:20a1::/46": "22884", - "2a00:a640:4::/32": "13445", - "2804:3040::/32": "264939", - "2001:559:4be::/48": "7015", - "2001:559:84e8::/48": "33657", - "2001:4878:2356::/48": "12222", - "2401:680::/32": "715", - "2405:7e00:17::/48": "17408", - "240a:a88f::/32": "144841", - "2804:1d80:4000::/35": "264374", - "2804:7abc::/34": "271389", - "2806:2f0:61a1::/41": "17072", - "2a07:2500::/29": "48374", - "2600:140b:1800::/48": "24319", - "2620:a:d::/48": "36008", - "2804:6650::/32": "269548", - "2a00:1b70::/29": "39642", - "240a:aead::/32": "146407", - "2605:380:19::/48": "42473", - "2610:128:4300::/32": "11686", - "2620:0:cc3::/44": "36692", - "2620:126:4000::/44": "68", - "2804:6e2c::/32": "270580", - "2804:7b74::/32": "271433", - "2806:266:300::/41": "27672", - "2001:559:86cc::/46": "7922", - "2402:c100::/36": "23673", - "2607:f6f0:2001::/48": "394749", - "2804:3ed0::/35": "266622", - "2a07:ec80:210::/47": "44949", - "2a07:f600:4010::/48": "60591", - "2001:df3:5c00::/48": "135905", - "2402:800:33e0::/44": "7552", - "2405:205:4000::/35": "55836", - "240e:3b9:1800::/34": "4134", - "2605:6a80::/32": "27531", - "2607:fb90:c151::/36": "21928", - "2806:2f0:5221::/41": "17072", - "2a0b:b400::/29": "207141", - "2001:a88::/32": "8426", - "2400:f880::/32": "42960", - "240e:964:9580::/41": "133775", - "2a09:9443::/32": "206766", - "2802:8010::/30": "22927", - "2804:1a90::/32": "61868", - "2a01:5c40:3::/48": "6807", - "2a02:2e02:f30::/41": "12479", - "2001:559:48::/48": "33657", - "240a:a311::/32": "143435", - "2804:416c::/32": "267432", - "2a0a:7400::/29": "34863", - "240a:a25b::/32": "143253", - "240a:a750::/32": "144522", - "240e:3b4:8200::/35": "140316", - "2600:1806:320::/48": "16552", - "2602:fed2:730f::/48": "53356", - "2806:2f0:7321::/43": "17072", - "2a03:f1c0::/32": "61121", - "2403:5680::/48": "7489", - "240a:af50::/32": "146570", - "2606:2800:6050::/48": "15133", - "2804:7a28:4000::/40": "271351", - "2a0c:7e41:8600::/48": "20473", - "2001:16a2:f000::/36": "25019", - "2404:afc0::/32": "138829", - "2602:feda:103::/45": "38008", - "2a05:e200::/32": "39767", - "2605:b100:600::/40": "577", - "2a01:2d8::/29": "8224", - "2402:c4c0:2::/39": "132933", - "2a00:14d0::/32": "8331", - "2a07:abc0::/29": "62000", - "2a01:760::/32": "41622", - "2a02:26f7:ec84::/48": "36183", - "2001:559:366::/48": "33660", - "2001:559:c115::/48": "33489", - "2001:67c:b0::/48": "50673", - "2402:c980::/32": "134086", - "2a00:1780:dd00::/34": "8194", - "2a09:bac0:63::/45": "13335", - "2a0e:b107:f28::/48": "212268", - "2a02:730:2000::/48": "33947", - "2001:559:873c::/46": "7015", - "2001:fb0::/36": "7470", - "2403:ac00::/32": "55826", - "240a:ab94::/32": "145614", - "2600:1402:19::/48": "20940", - "2804:5b04::/32": "268813", - "2a01:b980::/32": "57228", - "2a03:78c0::/32": "198167", - "2a06:6380::/29": "201453", - "2a07:e740:dc11::/29": "43299", - "2a10:1140::/29": "33438", - "2001:559:7e7::/48": "7922", - "2001:559:847c::/48": "7016", - "2409:8028:900::/37": "9808", - "2610:a1:30fd::/48": "397218", - "2800:5f0:3026::/47": "22724", - "2801:16a::/44": "269937", - "2402:3a80:c01f::/42": "38266", - "2a00:1d36:1140::/40": "9121", - "2a03:cc00::/32": "9183", - "2a04:5d00:71::/44": "60241", - "2a0b:e640:1::/48": "206316", - "2409:8002:2000::/40": "38019", - "2600:5c01:10de::/48": "11351", - "2804:1ae0:2::/48": "61696", - "2804:6448::/32": "269418", - "2a00:f50::/32": "21497", - "2a00:aea0:100::/38": "12678", - "2001:df4:2a00::/48": "132401", - "2a03:a140::/32": "200185", - "2402:800:97fe::/36": "7552", - "2600:1406:dc01::/38": "20940", - "2605:2080::/33": "33182", - "2a03:6bc0::/29": "43439", - "2001:df1:4480::/48": "135986", - "2401:4900:948::/40": "45609", - "2404:f4c0:f54e::/48": "140498", - "2a02:26f7:cfcc::/48": "36183", - "2001:12f0:3e::/38": "1916", - "2800:484:d100::/38": "10620", - "240a:a904::/32": "144958", - "2a00:c020:5000::/32": "200414", - "2600:9000:1e0e::/48": "16509", - "2a0e:b103:b7b::/40": "20473", - "2408:8957:cfc0::/35": "17622", - "2620:0:c91::/46": "8076", - "2806:230:200c::/48": "265594", - "2a01:728:108::/48": "12395", - "2a05:1083:a00::/40": "211398", - "2409:8704:300::/37": "24547", - "2a00:8a02::/44": "8983", - "2a0b:d080::/32": "205747", - "2001:550:1609::/39": "174", - "2408:80ea:6780::/41": "17622", - "2a00:fa40::/35": "45031", - "2a04:8c00::/29": "44772", - "2404:3980::/32": "134967", - "2804:3af8::/32": "266121", - "2804:3bf4::/32": "266182", - "2c0f:ef18::/47": "328266", - "2401:1c40::/48": "135915", - "240a:ab2a::/32": "145508", - "240e:350:6400::/31": "4134", - "2a02:4500::/32": "200567", - "2a02:7ac0::/32": "42708", - "2001:df0:480::/48": "38532", - "2600:1407:1801::/37": "20940", - "2607:f750:3000::/40": "23473", - "2c0f:f5f0::/32": "37564", - "2402:47c0:200::/32": "137280", - "2408:8957:5d00::/40": "17816", - "240e:473:6d20::/41": "140486", - "2a01:9cc0::/41": "198047", - "2001:559:128::/48": "7015", - "2001:678:34::/48": "48283", - "240e:108:11d4::/48": "131325", - "2405:ba00:8804::/48": "7160", - "240a:ad47::/32": "146049", - "2600:200::/28": "7029", - "2a02:26f7:d1cc::/48": "36183", - "2401:d800:baf0::/39": "7552", - "2403:7100::/44": "132220", - "2404:7180:f010::/48": "23848", - "240e:244:300::/28": "4134", - "2604:7e00::/42": "17378", - "2804:8130::/32": "272438", - "2a00:e200:101::/46": "41313", - "2402:800:388d::/43": "7552", - "2402:b940::/40": "138538", - "2406:8dc0:2300::/40": "17413", - "2600:1403:4401::/35": "20940", - "2600:1417:21::/44": "20940", - "2804:a00:5::/43": "262838", - "2a02:26f7:ebc5::/46": "20940", - "2001:559:832a::/48": "33652", - "2001:559:c2a8::/48": "7922", - "2001:1248:a50a::/43": "11172", - "2a00:6f40::/32": "48452", - "2001:500:16::/42": "12041", - "240a:adf8::/32": "146226", - "2600:9000:1092::/45": "16509", - "2606:e800:400::/32": "25843", - "2804:6fa0::/32": "270673", - "2600:5c01:1a2::/48": "11955", - "2804:39d8::/32": "266054", - "2a00:13b7::/48": "34762", - "2a09:8380::/48": "209672", - "2a0f:53c0::/29": "8823", - "2405:1c0:6517::/42": "55303", - "240a:a049::/32": "142723", - "2607:f750:8000::/40": "23473", - "2804:33f0::/38": "265426", - "2a02:2010:2300::/45": "20978", - "2804:5670::/32": "267998", - "2001:559:c154::/48": "33660", - "2402:800:99ee::/38": "7552", - "2403:4e00:317::/44": "45528", - "2408:8459:2050::/39": "17816", - "240a:ac04::/32": "145726", - "2606:40::/32": "36492", - "2606:b700::/32": "26809", - "2a01:7e00::/31": "63949", - "2a09:3506::/31": "208861", - "2a0b:d880:1::/46": "206344", - "2001:559:c1e7::/48": "20214", - "2001:678:ed0::/48": "212567", - "2402:800:91a9::/43": "7552", - "2607:f7a8:81d::/42": "16657", - "2804:14d:ce00::/40": "28573", - "2a01:5f7::/32": "5588", - "2402:800:bfc0::/42": "7552", - "2a00:6a00::/29": "56588", - "2a02:26f0:128::/48": "6762", - "2a03:5120:12b::/48": "2386", - "2001:559:81db::/48": "33651", - "2403:1cc0:2201::/48": "45352", - "2405:1000::/32": "45671", - "2607:f110:a2::/39": "21889", - "2620:11b:e0bc::/48": "202818", - "2804:7894::/32": "271252", - "2a05:e202::/29": "39767", - "2400:cb00:a740::/48": "13335", - "2400:cb00:a880::/47": "13335", - "2402:800:5355::/42": "7552", - "2406:4440:e000::/40": "140938", - "2a06:41c0::/45": "51559", - "2a0d:1640::/32": "200313", - "2407:5400::/32": "17551", - "2409:8020:21::/43": "56046", - "2610:1d0::/32": "40068", - "2804:4c08::/32": "267344", - "2a0e:8900::/29": "44205", - "2408:8256:3196::/48": "17816", - "2804:984::/34": "263097", - "2804:1e38::/42": "264415", - "2804:7c98::/32": "271506", - "2401:d800:d50::/42": "7552", - "2607:7d00::/32": "18780", - "2800:860:face::/48": "20299", - "2804:60b4::/32": "269185", - "2406:3d80::/32": "63620", - "240a:ade5::/32": "146207", - "2602:fed2:7119::/48": "207414", - "2606:6280::/32": "31914", - "2a02:26f7:c945::/46": "20940", - "2a0b:6900:5::/48": "206873", - "2001:559:2db::/48": "7922", - "2001:559:4fa::/48": "33491", - "240e:473:8450::/39": "4134", - "2800:4b0:8810::/33": "12252", - "2804:640::/40": "262713", - "240e:3b5:1800::/34": "4134", - "2600:6c38:b65::/37": "20115", - "2600:9000:1000::/48": "16509", - "2408:8256:66::/39": "17622", - "2408:8978::/30": "4837", - "2610:108:3000::/48": "13506", - "2620:13e:d000::/44": "32864", - "2a02:2028::/32": "15943", - "2408:8957:ad00::/40": "17816", - "2607:fc58:1:42::/64": "13536", - "2001:559:844b::/48": "7922", - "2c0f:f7a8:815f::/48": "4134", - "2a03:4d22::/32": "59397", - "2a06:c5c0:200::/48": "41436", - "2607:fdf0:5efe::/39": "8008", - "2620:107:9042::/48": "22787", - "2804:48c0::/32": "267142", - "2a0e:b107:1134::/44": "212121", - "2001:978:6712::/48": "207866", - "2001:44b8:205b::/48": "4739", - "240e:3be:5600::/34": "4134", - "2a02:1760::/32": "33864", - "2a02:6420::/32": "201596", - "240e:ff:e000::/36": "58466", - "2607:f380:805::/48": "2152", - "2804:6608::/32": "269529", - "2a0a:f00::/29": "207822", - "2001:4b22:12:1::/29": "34288", - "2a02:26f7:d108::/48": "36183", - "2a04:4440::/29": "31655", - "2a07:4340::/29": "200612", - "240e:473:750::/40": "4134", - "2600:6000:fcfd::/48": "11351", - "2803:21c0::/32": "265680", - "2a02:c080::/29": "25133", - "2001:579:601c::/42": "22773", - "2400:b4c0::/32": "134141", - "2409:8d14:2700::/36": "56044", - "2804:75ac::/32": "271062", - "2001:559:81b2::/48": "33652", - "2408:8956:ed40::/40": "17816", - "2804:7014::/32": "270704", - "2401:c00::/32": "17480", - "240a:a695::/32": "144335", - "2a00:1288:ef84::/48": "40986", - "2a00:52e0::/32": "41881", - "2a0b:8800::/46": "43376", - "2a0c:c647:fe05::/39": "50489", - "2c0f:f6d0:c2::/32": "327687", - "2804:7558::/32": "271040", - "2806:265:3300::/37": "13999", - "2001:559:729::/46": "33659", - "2001:559:c24c::/48": "33652", - "240a:a678::/32": "144306", - "2a02:26f0:9600::/48": "34164", - "2001:559:827a::/48": "33651", - "2001:67c:1748::/48": "60799", - "2404:8000:ae::/47": "17451", - "240a:a251::/32": "143243", - "2a05:4140:10::/48": "211604", - "2a06:4cc0::/29": "24633", - "2407:2640::/32": "141549", - "2409:8000::/40": "56048", - "2a03:2267::/32": "49009", - "2a0e:b107:530::/47": "209114", - "2001:4998:eff6::/44": "10310", - "2406:b400:a4::/44": "55577", - "2620:e4::/48": "17365", - "2a02:a00:e005::/35": "15987", - "2a09:3a00:6000::/48": "208394", - "2001:4e0:1050::/48": "64251", - "2800:bf0:3000::/46": "52257", - "2a06:e381::/32": "206970", - "2a0b:4342:1a80::/43": "57695", - "2a0c:16c0::/32": "59615", - "2605:8780::/32": "393457", - "2a02:ff0:3df3::/44": "12735", - "240a:a277::/32": "143281", - "240a:ae96::/32": "146384", - "2804:7f50::/32": "271680", - "2a02:26f7:ca0c::/48": "36183", - "2a03:9c80::/34": "15525", - "2a0b:8f80::/48": "48635", - "2001:268::/36": "2516", - "2409:8051:1100::/37": "9808", - "2409:8053:1100::/37": "9808", - "240e:107::/32": "4134", - "2a05:d980::/29": "200978", - "2001:4d50:fe00::/39": "34309", - "2405:fc80::/32": "23805", - "2407:2880:c001::/46": "24314", - "240a:af78::/32": "146610", - "2604:fb40::/32": "46939", - "2804:50::/35": "26592", - "2a01:18::/32": "29240", - "2001:e48:122:26::/32": "9583", - "2402:d400:6::/44": "17762", - "2607:fc48:800::/48": "40009", - "2a02:26f7:5a::/48": "36183", - "2001:978:1406::/36": "174", - "2001:1460::/32": "48635", - "2406:7ec0:9::/33": "38074", - "2804:574::/45": "53013", - "2a0c:4480:1::/46": "204720", - "2a0a:2bc0::/32": "206894", - "2400:3b00::/46": "18229", - "2404:8e01::/32": "55392", - "240e:438:3620::/43": "140647", - "2620:171:37::/44": "42", - "2804:1338::/32": "263522", - "2804:332c::/32": "265379", - "2a02:5400:820::/48": "33353", - "2603:1000::/25": "8075", - "2408:840c:8400::/40": "17621", - "2001:559:5c::/47": "7922", - "2001:559:16c::/48": "7016", - "2001:678:4a8::/48": "35062", - "2408:8957:6a00::/40": "17622", - "2600:1409:800::/48": "35994", - "2604:2900::/32": "16527", - "2605:45c0::/35": "62217", - "2408:84f3:2e90::/35": "17816", - "240e:438:4e40::/35": "4134", - "2806:2f0:9041::/42": "17072", - "2406:2000:efa5::/48": "45501", - "240a:a20a::/32": "143172", - "2a06:9380::/29": "203965", - "2a06:fb40::/30": "203385", - "2001:559:578::/48": "7016", - "2001:df2:d680::/48": "132010", - "2400:a980:2000::/38": "133111", - "2804:b28::/32": "52944", - "2804:7a88::/32": "271377", - "2a04:1c43::/29": "201035", - "2a05:b700::/29": "201086", - "2a00:1cf0::/32": "196724", - "2a00:86c0:263::/35": "2906", - "2001:559:43e::/48": "20214", - "2405:1c0:6665::/43": "55303", - "240a:a339::/32": "143475", - "2804:792c::/32": "271289", - "2a02:5d8::/32": "8596", - "2a04:2f81:6::/29": "61157", - "2a02:e180::/46": "15135", - "2001:4998:15d::/42": "10310", - "2400:3240:9000::/33": "63996", - "2600:370f:7268::/46": "32261", - "2607:6000:300::/40": "12189", - "2607:b100::/32": "40555", - "2804:14c:486::/44": "28573", - "2804:d7c:101::/40": "52634", - "2a0e:b107:180::/44": "6556", - "2401:ff80:1a91::/46": "133954", - "2407:ea00::/32": "56059", - "2408:8957:cd40::/40": "17816", - "2409:8752:900::/38": "56047", - "2001:559:1db::/48": "7016", - "2403:ad80:80::/44": "134835", - "2402:800:54d3::/44": "7552", - "2407:a600:2000::/36": "18004", - "2409:8c1e::/34": "9808", - "2a02:6b8:4::/48": "13238", - "2a10:9107:f000::/36": "209588", - "2600:40fc:1017::/30": "701", - "2a03:1ac0:2e93::/33": "9049", - "2a03:5342:10::/42": "200656", - "2408:84f3:9410::/42": "134543", - "2409:8c20:4a23::/37": "56046", - "2604:6400:40e0::/37": "29974", - "2604:8540:fd01::/48": "33353", - "2a0f:b506:ff02::/40": "206313", - "2001:4878:31::/48": "12222", - "2607:700:500::/36": "22343", - "2c0f:f188:7::/48": "328228", - "2400:9380:8fc0::/44": "136167", - "240a:afd2::/32": "146700", - "2607:fcf8:b0b1::/36": "26788", - "2804:2ad8::/32": "265122", - "2a02:e980::/42": "19551", - "2001:559:5f5::/48": "22909", - "2404:c8:2::/48": "27435", - "240a:a3f3::/32": "143661", - "2804:30b8:caff::/34": "28154", - "2804:4d3c:5cc0::/39": "267420", - "2a02:2ab0:220::/37": "702", - "2001:1358::/32": "11960", - "2409:8904:a140::/38": "24547", - "240a:a6d2::/32": "144396", - "2602:fc5d:350::/48": "399866", - "2804:f24:9a10::/48": "263567", - "2a02:26f7:edc9::/42": "20940", - "2a0e:a400::/29": "209042", - "2408:890c::/31": "17621", - "2806:20d:161e::/47": "32098", - "2001:559:771::/48": "13367", - "2400:fa80:4::/46": "133480", - "2600:6c26::/28": "20115", - "2804:1f4::/32": "262757", - "2a01:ce89:2000::/32": "51964", - "2a0e:2580::/29": "197915", - "2001:559:855c::/48": "7922", - "240a:a97f::/32": "145081", - "2600:380:fe00::/31": "20057", - "2606:2800:5110::/48": "15133", - "2800:160:28e2::/38": "14259", - "2a11:4780::/29": "56897", - "2001:559:86ad::/48": "7016", - "2408:840c:a200::/40": "17621", - "2607:f6f0:3001::/48": "394749", - "2a09:1380::/29": "209815", - "2001:579:b8d4::/39": "22773", - "240e:438:9020::/43": "140647", - "2604:b480:fffe::/47": "46841", - "2800:190:200::/37": "11664", - "2804:4c1c::/32": "267350", - "2607:f358:15::/48": "54500", - "2001:678:610::/48": "202967", - "2a0e:6600::/29": "205516", - "2001:559:555::/48": "7922", - "2001:559:c11f::/48": "33489", - "2001:559:c332::/48": "33659", - "240e:6ba:4020::/32": "4134", - "2806:230:2009::/48": "11888", - "2001:df0:295::/48": "58516", - "240a:a060::/32": "142746", - "2a00:17c8::/31": "12511", - "2a0f:2c80::/48": "40676", - "2403:ddc0::/32": "138388", - "2804:c30::/32": "28284", - "2401:1740:2000::/48": "136600", - "2408:8456:4010::/42": "134543", - "2607:bb80::/32": "395774", - "2607:ffb0:4005::/35": "6327", - "2a02:2698:c00::/35": "39435", - "2a09:2280::/48": "209792", - "2001:559:81e7::/48": "33491", - "240a:a709::/32": "144451", - "2804:4988::/32": "267189", - "2804:6678::/32": "269561", - "2a03:3da0::/48": "59649", - "2405:84c0:fadf::/42": "9886", - "240a:a1a0::/32": "143066", - "240e:108:1270::/44": "140061", - "2001:8b0:0:50::/58": "20712", - "2405:aac0:fe::/48": "139949", - "240a:a404::/32": "143678", - "2804:6ea0:4030::/32": "270609", - "2a00:bfc0::/35": "34757", - "2a07:6c40::/29": "29505", - "2a0d:b780::/29": "209549", - "2403:7100:a::/48": "142033", - "240a:a13e::/32": "142968", - "2605:a401:81ac::/43": "33363", - "2806:2f0:310::/46": "22884", - "2a02:f20::/32": "197695", - "2a02:26f7:ec09::/46": "20940", - "2404:3d00:4136::/47": "21433", - "2408:8459:a230::/41": "17622", - "2620:136:c000::/48": "40337", - "2c0f:f738:2202::/35": "61317", - "2a02:26f7:f309::/42": "20940", - "2400:7400:e01c::/46": "23736", - "2406:ea00::/32": "131322", - "240a:ab8e::/32": "145608", - "2600:141b:d801::/34": "20940", - "2620:123:2003::/45": "30103", - "2804:5498::/32": "268660", - "2804:66c4:8000::/33": "269581", - "2001:559:808d::/48": "7016", - "2801:146::/48": "19429", - "2001:550:2200:205::/62": "174", - "2001:559:85c9::/46": "7922", - "2001:43d0::/32": "37061", - "2001:4998:28::/48": "36229", - "2408:8456:1b40::/40": "17816", - "240e:a7:8800::/37": "134419", - "2602:fd26:1::/48": "22855", - "2804:14c:6589::/43": "28573", - "2600:100f:b100::/42": "6167", - "2606:ef80::/45": "7226", - "2804:2388::/32": "264168", - "2a00:d540::/29": "49250", - "2a0e:97c5:654::/46": "20473", - "2001:470:156::/48": "25948", - "2001:1248:8441::/45": "11172", - "2600:140b:e401::/38": "20940", - "2a07:bc0::/29": "197393", - "2a0a:540::/29": "205892", - "2a0e:6540:a16::/48": "208364", - "2a02:45c0:15::/48": "59675", - "2001:559:c316::/48": "33660", - "2401:3cc0:5::/38": "137409", - "2406:3000:1000:100::/31": "4657", - "2408:8957:600::/40": "17622", - "240a:a0d4::/32": "142862", - "2600:141b:15::/36": "20940", - "2606:2800:5011::/46": "15133", - "2a03:ad40:420::/48": "54995", - "2001:559:30f::/48": "33287", - "2001:559:c36f::/48": "7725", - "2607:fdc8:fff4::/44": "30036", - "2a0f:5707:aa70::/44": "213377", - "2a0f:5707:abc2::/44": "210887", - "2001:559:14f::/48": "33287", - "2409:8924:4900::/38": "56046", - "240e:438:9420::/43": "140647", - "2800:160:1669::/43": "14259", - "2a01:158::/32": "3249", - "2405:1c0:6651::/46": "135062", - "2408:84f3:4610::/42": "134543", - "2600:1006:b0f0::/44": "22394", - "2a0b:3080:20::/32": "206516", - "2a04:207:ffff::/48": "48101", - "2001:559:54b::/48": "33657", - "240a:a0b2::/32": "142828", - "240e:473:fffe::/48": "140486", - "2620:c1:4000::/48": "26988", - "2803:22a0::/32": "266853", - "2804:16f4::/32": "263110", - "2804:3574::/32": "266287", - "2001:559:853b::/48": "33491", - "2001:19d0:600::/40": "12025", - "2404:bf40:8001::/48": "2764", - "2408:8956:cfc0::/35": "17622", - "2600:140b:e001::/37": "20940", - "2a0b:4342:1a20::/44": "57578", - "2001:253:101::/48": "142067", - "2400:6980::/32": "7575", - "2408:8456:ba10::/42": "134543", - "2606:a300::/46": "35847", - "2800:3c0:1050::/40": "19863", - "2804:194::/32": "53131", - "2a02:26f0:8600::/48": "34164", - "2001:470:b2::/48": "394894", - "2409:8052:2c00::/38": "9808", - "2804:19b0::/32": "61812", - "2602:10d::/33": "20115", - "2804:1ea8::/32": "264442", - "2a02:26f7:b680::/48": "36183", - "2001:559:84ef::/48": "7922", - "2402:7700::/32": "18074", - "2803:6700:226::/48": "263210", - "2803:e820::/32": "264750", - "2a00:eb8::/32": "200044", - "2a09:bac0:251::/48": "13335", - "2001:559:8214::/48": "7015", - "240e:438:7c40::/38": "4134", - "2604:9980:2::/48": "17216", - "2804:18c8::/32": "53119", - "2a00:e460::/32": "62251", - "2607:f148:103::/48": "11734", - "2001:67c:15a2::/48": "61317", - "240e:1d:5000::/32": "4134", - "2804:1420:2000::/32": "52901", - "2a02:26f7:c0c4::/48": "36183", - "2001:559:8530::/48": "7922", - "2607:f0d0:3502:2f::/59": "36351", - "2804:3bc:2::/32": "28624", - "2804:f2c:5800::/32": "53191", - "2001:1868:a10b::/48": "63366", - "2001:1948::/32": "210", - "240a:a670::/32": "144298", - "2604:ee80::/32": "7276", - "2803:9800:98c5::/46": "11664", - "2803:b440::/32": "263785", - "2804:49c:319::/48": "15201", - "2a0a:48c1::/32": "29422", - "2001:559:4ff::/48": "33491", - "2408:84e3::/29": "4837", - "2605:3b40::/32": "54904", - "2804:301:8000::/34": "53237", - "2804:56c::/39": "28210", - "2804:5cbc::/32": "268927", - "2404:1f00:ffa0::/47": "9498", - "240a:a50e::/32": "143944", - "2806:2f0:2461::/46": "22884", - "2a04:64c0::/29": "208484", - "2806:2f0:20c1::/46": "22884", - "2001:fb0:109e::/48": "55476", - "240a:a973::/32": "145069", - "2804:236c::/32": "264161", - "2a02:44a0:ffff::/48": "61955", - "240e:108:2b::/48": "58563", - "240e:3b3:dc00::/34": "4134", - "2606:2800:60f7::/44": "15133", - "2806:283:5000::/36": "265515", - "2a01:57a0::/32": "208909", - "2a0a:fe00::/30": "207072", - "2800:160:150d::/43": "14259", - "2806:363::/35": "265607", - "2a05:f240::/29": "1828", - "2001:559:8684::/46": "7922", - "2001:19f8::/38": "4927", - "2401:c440::/48": "135905", - "2405:f280:15::/42": "131464", - "240e:91f::/32": "4134", - "2604:fb80:1600::/48": "15128", - "2620:115:40fe::/48": "4583", - "2001:559:81a1::/48": "7922", - "2001:1248:96d9::/42": "11172", - "2401:d800:5b50::/42": "7552", - "2401:d800:9410::/42": "7552", - "2806:2f0:8104::/42": "17072", - "2a07:a340::/32": "62217", - "2a0b:5800::/32": "62167", - "2001:559:1da::/48": "33659", - "240a:a638::/32": "144242", - "240e:44d:1300::/41": "140345", - "2804:67e4::/32": "269657", - "2409:8053:3802::/40": "56047", - "2605:1b00::/32": "25999", - "2806:32d::/32": "28431", - "2a00:4802:330::/41": "13124", - "240e:964:c400::/39": "133775", - "2607:ff00:500::/40": "11572", - "2804:498c::/32": "267190", - "2a00:c760::/32": "47381", - "2a0c:20c0::/29": "204344", - "2001:559:1ea::/48": "33287", - "2406:6e00:f049::/36": "17457", - "240a:aa7b::/32": "145333", - "2001:559:5cc::/48": "33491", - "2401:4900:4d40::/44": "45609", - "2a02:f480::/29": "60717", - "2a06:8800::/29": "12517", - "2a0b:fd81::/48": "49419", - "2001:67c:10d0::/48": "43101", - "2804:260::/32": "53214", - "2a01:298::/40": "30880", - "2405:6e00:488::/43": "18291", - "240a:ad5d::/32": "146071", - "240a:afc8::/32": "146690", - "2a01:c50e:b300::/36": "12479", - "2a05:4700:100::/47": "43578", - "2800:160:20e9::/39": "14259", - "2001:678:2dc::/48": "786", - "2001:c20:48b3::/45": "3758", - "2403:2d00::/32": "17516", - "240e:3b9:2c00::/35": "134774", - "240e:473:6600::/41": "140485", - "2600:a00::/31": "16904", - "2605:bb00:8000::/35": "32940", - "2804:cdc::/32": "52565", - "2a0a:340:1a00::/40": "56807", - "2600:1406:2801::/38": "20940", - "2804:8294::/32": "272527", - "2a02:26f7:ee40::/48": "36183", - "2a03:1aa0:9000::/33": "201730", - "2001:559:82c0::/48": "7015", - "2001:67c:290::/48": "42195", - "2408:8779:4000::/32": "4837", - "2409:8c04:1116::/31": "24547", - "240a:abde::/32": "145688", - "2a02:16c8:4000::/32": "6871", - "2a02:ee80:411d::/48": "3573", - "2001:418:4005::/48": "1412", - "2409:8d20::/29": "56046", - "2600:1404:801::/35": "20940", - "2607:ff60:11::/33": "3900", - "2a01:7dc0::/32": "204274", - "2804:56d4::/32": "268026", - "2804:5de4::/34": "268999", - "2806:230:2023::/48": "11888", - "2001:470:1b::/42": "6939", - "240a:aeb3::/32": "146413", - "2602:fc62:a::/47": "399760", - "2a00:114f:4::/46": "199295", - "2a0e:b1c0::/29": "41918", - "2001:468:1f10::/47": "396955", - "2001:978:4204::/37": "174", - "2001:18e8:c04::/32": "19782", - "2602:fca7:f02::/47": "399318", - "2804:52c::/32": "262501", - "2804:6fc:bfff::/33": "28158", - "2804:a14:4c01::/32": "262342", - "2408:840c:ba00::/40": "17621", - "2600:6c38:34b::/43": "20115", - "2804:7508::/32": "271019", - "2a03:3d60::/29": "35394", - "2400:cb00:211::/44": "13335", - "2408:8026:480::/42": "17621", - "2606:5000:2400::/36": "209", - "2607:9480:f0::/44": "14338", - "2607:fda0::/32": "27008", - "2804:18:7840::/44": "26599", - "2a01:41e3::/32": "62336", - "2001:578:d50::/31": "22773", - "2001:dc7:ffd2::/48": "24406", - "2603:9033:7000::/36": "33363", - "2801:1e:c800::/48": "19429", - "2804:14c:bba5::/44": "28573", - "2001:67c:1b00::/48": "58027", - "240a:aade::/32": "145432", - "240e:3be:7a00::/32": "140313", - "2804:e94:79::/40": "262468", - "2001:12f0:940::/38": "1916", - "2001:678:49c::/48": "44574", - "2001:4210:350a::/32": "25818", - "2a04:a040::/29": "21277", - "2a0b:1580::/29": "206766", - "2c0f:f568:3::/32": "37451", - "2409:801e:3004::/48": "24400", - "2409:897d::/30": "9808", - "2604:9580::/32": "11127", - "2604:ad40::/32": "395795", - "2804:104c:a000::/40": "263629", - "2a02:26f0:9601::/40": "20940", - "2a02:26f7:f3cd::/42": "20940", - "2001:4158::/29": "8201", - "2400:aa00:fa::/32": "9873", - "2401:4900:2e80::/43": "45609", - "2403:fbc0:1000::/48": "23959", - "2405:a900:fffe::/48": "55992", - "2408:8459:26c0::/36": "17816", - "2a0c:36c7::/32": "34702", - "2001:67c:2f3c::/48": "205970", - "2401:ff80:168b::/45": "133954", - "2402:c340:cacc::/37": "38047", - "2409:8053:802::/40": "56047", - "2607:7c80:c0ff::/34": "64260", - "2620:14a::/36": "13684", - "2001:550:200:1::/60": "174", - "2001:559:526::/48": "7016", - "2401:fd80:8ff::/39": "138177", - "2801:1fa::/44": "19429", - "2a02:a800::/26": "6739", - "2a03:82e0:2000::/32": "200991", - "2a10:7440::/29": "12552", - "2001:559:3bd::/46": "33651", - "2001:ac8:89::/43": "9009", - "2409:8c44:3::/37": "24445", - "2804:b04::/33": "52934", - "2a02:618:6::/47": "15774", - "2400:cb00:11::/46": "13335", - "2804:4cac::/32": "267384", - "2a06:8dc7::/48": "25369", - "2001:1258::/32": "28499", - "2401:dd40:1::/48": "24289", - "2408:8356::/28": "17816", - "2606:ef80:7::/32": "7226", - "2a06:e80::/36": "43350", - "2602:ff19::/36": "395033", - "2803:af60::/32": "264637", - "2804:3d74::/32": "262617", - "2a01:a080::/32": "30915", - "2001:67c:114::/48": "9150", - "2001:df7:7800::/48": "17523", - "240a:a2f2::/32": "143404", - "2a00:ea60:200::/40": "43463", - "2001:678:2d4::/48": "198284", - "240e:698:4700::/40": "131325", - "2803:4840::/32": "263757", - "2a10:5940::/29": "207603", - "2001:1250:bc00::/44": "22894", - "2804:13b0:fc00::/38": "263546", - "2806:370:82b0::/41": "28403", - "2401:4900:54b1::/48": "45609", - "240a:a6f4::/32": "144430", - "2804:188:b1a2::/33": "262750", - "2a06:1b00:101::/46": "8302", - "2001:559:87d8::/47": "7015", - "240a:a69d::/32": "144343", - "2605:2b00::/32": "19881", - "2607:9b80:420::/39": "46558", - "2a0a:5780::/32": "47490", - "240a:a77d::/32": "144567", - "2804:63a8:1002::/32": "269375", - "2a02:2770::/32": "196752", - "2a0a:5e40::/32": "200353", - "2001:559:800a::/48": "33657", - "2400:adc7:2000::/39": "9541", - "2804:710:10::/40": "17222", - "2620:88:8001::/48": "46269", - "2a04:3e00:1001::/29": "56910", - "2801:80:6e0::/44": "262829", - "2804:c78::/32": "52714", - "2a02:a18::/32": "29492", - "2a02:26f7:b940::/48": "36183", - "2001:500:c0::/47": "12041", - "2001:978:2:c1::c:0/38": "174", - "2001:df1:d00::/48": "136302", - "2405:e300::/32": "132506", - "2a02:ff0:1ef1::/44": "12735", - "2001:418:e401:3::/64": "14427", - "2001:67c:2d30::/48": "207575", - "2409:8924:b300::/37": "56046", - "2607:ac80::/40": "17", - "2607:e880:501::/48": "12220", - "2804:14d:9484::/41": "28573", - "2804:5888::/32": "268130", - "2a0b:b582::/48": "43304", - "2401:ff80:1a0d::/46": "133954", - "2402:45c0::/48": "38221", - "240e:938:a00::/44": "139203", - "2620:106:e001::/46": "40428", - "2804:e30:405::/44": "11338", - "2001:43f8:ac0::/48": "37356", - "2403:e800:516::/44": "4637", - "240a:a379::/32": "143539", - "2600:6000:f97f::/38": "12271", - "2620:0:e10::/48": "40387", - "2804:1300:8000::/48": "263509", - "2a02:2ab8::/39": "702", - "2001:559:1c0::/47": "33651", - "2001:559:3bc::/48": "33657", - "2001:559:3cd::/48": "7725", - "2001:67c:2dc4::/48": "25411", - "2606:1a40:1000::/43": "398962", - "2620:149:1405::/40": "714", - "2a01:4a0:57::/35": "201011", - "2a03:44a0:100::/48": "200521", - "2001:678:dbc::/48": "213067", - "240a:ad9d::/32": "146135", - "240e:438:6e20::/43": "140647", - "2a02:2398:2::/48": "41008", - "2608:148:b::/48": "27064", - "2803:d700:db00::/34": "61461", - "2400:8b00:a400::/44": "45727", - "2408:8956:7c00::/40": "17622", - "2600:380:b580::/36": "20057", - "2806:20d:1912::/38": "32098", - "2806:20d:520b::/43": "32098", - "2001:4130:21::/39": "24725", - "2001:44b8:24::/48": "7545", - "2409:8924:5500::/38": "56046", - "2600:1417:3c::/48": "24319", - "2a01:ce91::/36": "51964", - "2a02:26f7:e5c0::/48": "36183", - "2409:8924:500::/38": "56046", - "2620:129:9000::/48": "17216", - "2001:678:b9c::/48": "207853", - "240e:67c:8800::/38": "140330", - "2607:f7f8:4459::/48": "4459", - "2800:bf0:8066::/43": "27947", - "2001:559:c277::/48": "33657", - "2001:1250:fe00::/48": "22894", - "2804:63f4::/32": "269394", - "2001:559:843d::/48": "7016", - "2402:800:5a2b::/41": "7552", - "2620:149:522::/41": "714", - "2803:5200:1::/36": "64116", - "2806:2f0:4161::/40": "17072", - "2804:e30:2c00::/38": "11338", - "2604:55c0:a::/45": "4138", - "2804:61dc::/33": "269261", - "2a0d:a680::/32": "204609", - "2001:67c:16cc::/48": "59469", - "2001:2001:6100::/32": "1299", - "2001:4200:ab10::/33": "2018", - "2408:8756:af1::/37": "136958", - "240e:104:5000::/34": "4134", - "2602:feda:ae2::/47": "138181", - "2804:1a28::/32": "52644", - "2403:98c0:2000::/32": "138320", - "2404:bf40:8841::/48": "7545", - "2607:f718::/32": "11847", - "2001:4288::/39": "6713", - "2001:4888:8064::/44": "22394", - "2a01:b740:a24::/48": "6185", - "2a0d:3bc0::/29": "60781", - "2600:140f:5400::/48": "9498", - "2a02:2698:6400::/38": "56420", - "2a04:2e80:9::/48": "59860", - "2001:1400::/48": "1881", - "2806:230:4022::/48": "265594", - "2400:fc00:4a10::/42": "45773", - "240a:afe0::/32": "146714", - "2600:6c34:1e::/48": "33588", - "2a01:53c0:fff4::/44": "54994", - "2a01:b740:a09::/48": "714", - "2001:df3:7c80::/48": "140577", - "2408:862a:a800::/33": "4837", - "2409:8904:3ca0::/39": "24547", - "240e:698:2600::/40": "4134", - "2604:ae00::/46": "7029", - "2a0c:f7c0::/29": "200374", - "2001:559:80ba::/48": "33287", - "2400:c700:1203::/39": "55644", - "2600:c08:2016::/32": "10913", - "2a00:4080::/48": "41609", - "2a02:7e60::/32": "200925", - "2a04:4480::/32": "211037", - "2402:db40:2::/33": "131486", - "2804:6d8:3::/32": "262609", - "2804:46fc:5011::/34": "267024", - "2804:7604:8000::/34": "271084", - "2a00:1838::/32": "43317", - "2a02:26f0:cd00::/48": "34164", - "240e:982:d300::/40": "134756", - "2a02:4440::/32": "60185", - "2409:8c1e:27b0::/33": "9808", - "240a:a070::/32": "142762", - "240a:a719::/32": "144467", - "2604:5000:19::/35": "7752", - "2804:3ca0::/32": "61599", - "2a01:9f80::/32": "16006", - "2a0e:97c0:2b0::/47": "211553", - "2001:67c:2620::/48": "25238", - "2408:8957:c500::/40": "17816", - "2602:ff99:4::/47": "14333", - "2620:a8:4000::/48": "393900", - "2001:559:c2de::/48": "7922", - "2001:16a2:c400::/36": "25019", - "2602:fdd9::/36": "396935", - "2604:a180:a000::/35": "22933", - "2a02:26f7:e280::/48": "36183", - "2405:9800:b002::/45": "133481", - "2600:1406:3f::/41": "20940", - "2a0e:b107:eb1::/48": "212120", - "2001:559:840e::/48": "33659", - "240a:a422::/32": "143708", - "2a0b:6300::/29": "33983", - "2401:fd80:ffb1::/48": "139853", - "2806:20d:1601::/45": "32098", - "2a03:3a40::/47": "199629", - "2c0f:ec70::/32": "328341", - "240a:a21c::/32": "143190", - "240e:981:7000::/40": "140061", - "2600:6c38:b54::/46": "20115", - "2a01:5740::/31": "57763", - "2a06:1b00::/40": "8302", - "2a0e:b105:674::/44": "20473", - "2a02:ac80:201::/39": "25145", - "2401:ff80:1093::/39": "133954", - "240e:44d:6100::/41": "140345", - "2607:f6f0:20c::/48": "32550", - "2620:b4::/48": "1341", - "2804:4c58::/32": "267365", - "2806:2f0:7161::/40": "17072", - "2a00:1ca8:2d::/41": "50673", - "2001:559:1ac::/48": "20214", - "240a:ab8d::/32": "145607", - "2a09:9180:ecfd::/48": "42081", - "2001:559:8712::/47": "7725", - "2001:6d8::/32": "8267", - "2402:2840::/32": "10011", - "240a:ac15::/32": "145743", - "2803:e7c0::/32": "265769", - "2a0a:a040::/31": "12552", - "2620:8d:4000::/48": "7954", - "2804:6598::/32": "269502", - "2a05:4144::/32": "213388", - "2a0b:f302:463::/29": "62240", - "2001:1b70:81::/48": "16086", - "240e:964:ea00::/40": "133776", - "2605:ed00:6888::/32": "11427", - "2801:13e::/45": "19429", - "240a:a476::/32": "143792", - "2600:1004:a030::/40": "22394", - "2600:370f:75a1::/45": "32261", - "2804:5364:6000::/36": "268581", - "2a02:9010:45::/48": "20905", - "240a:a3f8::/32": "143666", - "2600:6c38:cc::/46": "20115", - "2607:f110:28::/43": "21889", - "2a02:2e02:8330::/40": "12479", - "2001:df5:4c80::/48": "141388", - "2001:44b8:30b2::/48": "7545", - "2404:4a00:4:1::/36": "45629", - "2001:67c:2d2c::/48": "206321", - "2406:2fc0::/32": "138997", - "2804:5010::/32": "268367", - "2806:20d:3603::/33": "32098", - "2a02:26f7:a0::/48": "36183", - "240a:a5f6::/32": "144176", - "2605:6400:100::/48": "53667", - "2607:7a00::/32": "26241", - "2402:7940::/32": "134090", - "240a:aca2::/32": "145884", - "240e:473:5050::/39": "4134", - "2a05:d050:60c0::/44": "16509", - "2a07:85c1::/48": "174", - "2001:1b70:82b6::/48": "158", - "240a:a6a6::/32": "144352", - "2604:eb00::/38": "19212", - "2806:2f0:9142::/42": "17072", - "2600:140b:bc01::/33": "20940", - "2806:322:2001::/32": "28546", - "2001:428:6402:6::/54": "209", - "2001:559:f3::/48": "33651", - "2001:579:1164::/36": "22773", - "240a:a8da::/32": "144916", - "2600:1003:b0a0::/44": "6167", - "2a02:ee80:40d8::/39": "3573", - "2a03:2880:f255::/44": "32934", - "2001:18e8:10::/38": "19782", - "2402:800:b590::/42": "7552", - "2a01:758:fff7::/44": "3326", - "2a02:26f7:c909::/42": "20940", - "2408:8957:b900::/40": "17816", - "2804:371c:2::/48": "266390", - "2a04:fee3::/32": "49774", - "2a07:380::/29": "49596", - "2a0e:b105:66c::/46": "20473", - "2a0e:b107:150::/44": "62075", - "2a01:5c8:806::/32": "12312", - "2001:559:85d1::/48": "7922", - "2405:11c0::/32": "134000", - "2408:8456:4040::/38": "17816", - "2408:8459:8630::/41": "17622", - "240a:af69::/32": "146595", - "2806:230:1009::/48": "11888", - "2806:230:3013::/48": "11888", - "2a02:26f7:64::/48": "36183", - "2408:8957:f8c0::/37": "17816", - "2801:11:4800::/48": "269850", - "2a04:1b40::/29": "20861", - "2001:559:73b::/48": "7015", - "2408:8456:4c00::/42": "17622", - "2607:a800:773::/48": "15695", - "2804:93c:1031::/40": "52878", - "2001:448a:4050::/42": "7713", - "2402:800:3b0f::/43": "7552", - "2402:800:3e40::/43": "7552", - "2806:2f0:2441::/46": "22884", - "2001:548::/32": "30432", - "2602:fff4::/32": "54869", - "2800:160:1317::/44": "14259", - "2804:15ec::/36": "28599", - "2a02:278::/32": "42227", - "2a06:a8c0:1::/48": "29017", - "2a07:3e00::/29": "559", - "2600:140f:1201::/37": "20940", - "2804:1b2:4042::/36": "18881", - "2a02:418::/29": "29691", - "2a07:62c0::/29": "202970", - "2001:559:c3c6::/48": "33287", - "2001:56b:e00c::/35": "852", - "2600:6c38:616::/44": "20115", - "2607:f5b4::/32": "395954", - "2a03:1980::/40": "48260", - "2406:400::/32": "7654", - "240a:a456::/32": "143760", - "2600:1000:a000::/43": "6167", - "2620:127:d011::/46": "394941", - "2a06:6540:1201::/48": "8220", - "2001:1900:2262::/48": "21775", - "2403:4280::/48": "4808", - "2001:559:5d3::/48": "33657", - "2001:1bf0::/29": "2586", - "2406:52c0::/32": "139141", - "2408:8256:30a0::/39": "17816", - "2804:73a4::/32": "270928", - "2a02:8010::/29": "13037", - "2402:4000:12d0::/42": "18001", - "2407:a300::/32": "132497", - "2001:418:142e:200::/55": "16625", - "240a:a1a4::/32": "143070", - "2a02:26f7:3a::/48": "36183", - "2001:df2:2100::/48": "136821", - "2404:b0:1002::/45": "4750", - "2a0b:6903:1ad::/48": "212461", - "240e:982:e200::/40": "4816", - "2602:ff18:216::/48": "21973", - "2605:a401:8960::/40": "33363", - "2610:1a0:301::/33": "40193", - "2804:75e4::/32": "271076", - "2a09:b687::/32": "208861", - "2a0e:97c0:2f0::/44": "211540", - "2405:6e00:2e00::/35": "133612", - "2406:ef40::/47": "133811", - "240a:aa8d::/32": "145351", - "2604:8440::/32": "32217", - "2607:f7a0:b::/43": "46562", - "2804:8280::/37": "272521", - "2a04:57c0::/29": "62183", - "2001:559:735::/48": "7015", - "2001:67c:18a0::/48": "39686", - "240a:a09c::/32": "142806", - "2620:76:6000::/48": "54544", - "2001:1a68:19::/46": "57367", - "2402:800:5c1d::/42": "7552", - "2409:8924:8f00::/35": "56046", - "240a:a1c2::/32": "143100", - "2600:100e:b1e0::/36": "6167", - "2620:128:7002::/47": "32030", - "2804:70c8::/32": "270748", - "2001:67c:1220::/46": "197451", - "2401:d800:56b0::/41": "7552", - "2409:8052:3800::/47": "56047", - "240a:a480::/32": "143802", - "2604:e180:de06::/44": "55002", - "2a02:2e02:9040::/43": "12479", - "2a05:ffc0::/32": "198317", - "2001:559:565::/48": "7922", - "240e:438:9c40::/38": "4134", - "2804:7d88::/32": "271567", - "2a02:c98::/32": "48918", - "2a07:1ec0::/29": "41364", - "2a0a:bf40::/36": "205943", - "2400:400:9::/48": "4766", - "2605:a401:8950::/44": "33363", - "2620:111:d00a::/47": "18828", - "2804:88:4000::/36": "28135", - "2a00:1fa2:ba00::/40": "42087", - "2a02:26f0:d1::/48": "34164", - "2001:559:84bd::/48": "7922", - "2001:df2:e180::/48": "140216", - "2409:8904:35a0::/38": "24547", - "2620:a4:2050::/48": "394592", - "2a00:1158::/47": "8972", - "2001:559:c070::/48": "33652", - "2604:4300::/36": "33387", - "2a01:6d8::/32": "30889", - "2c0f:f720::/32": "327767", - "2605:cc00::/32": "15065", - "2a02:7280::/32": "49572", - "2a07:3500:1998::/48": "38915", - "2401:b200:93::/32": "24186", - "2403:1280::/32": "141397", - "2803:6b80::/32": "28093", - "2a02:26f7:c981::/46": "20940", - "2001:67c:135c::/48": "12552", - "2001:1a11:9a::/48": "8781", - "2001:44b8:30c2::/48": "7545", - "2404:3c00:1000::/32": "23944", - "2a02:26f7:f1c9::/42": "20940", - "2a02:26f7:d851::/42": "20940", - "2001:3c8:5008::/37": "4621", - "2404:0:6000::/36": "24155", - "240a:aa1d::/32": "145239", - "2610:a1:1080::/48": "397218", - "2620:117:7010::/40": "26955", - "2a10:d880::/29": "211995", - "2804:314:4013::/45": "61568", - "2a02:26f0:d100::/48": "9121", - "2a03:c200::/32": "33814", - "2001:559:522::/48": "7015", - "2409:8000:3100::/37": "9808", - "2a0e:2bc0::/29": "61048", - "2001:470:df::/42": "6939", - "2001:559:8420::/48": "7016", - "2806:2f0:1100::/46": "22884", - "2401:7400:801:d::/33": "4773", - "240e:3be:9200::/36": "140317", - "2605:7900:1000::/48": "42831", - "2804:774::/38": "52858", - "2a01:8840:aa::/45": "12041", - "2a02:d28::/32": "3257", - "2001:559:589::/48": "20214", - "240a:a827::/32": "144737", - "2606:2e00:8000::/48": "32780", - "2a0d:a8c0::/29": "39405", - "2001:4490:d970::/46": "9829", - "240e:3bd:9c00::/34": "140310", - "2800:160:1eef::/43": "14259", - "2a00:a520::/32": "198570", - "2402:800:629a::/42": "7552", - "2804:5534:e000::/37": "268696", - "2a07:e02:baf::/48": "210083", - "2001:67c:2330::/48": "56963", - "2001:df2:7480::/48": "139909", - "2a02:26f0:e501::/38": "20940", - "2a02:2e02:ea0::/43": "12479", - "2001:678:de4::/48": "57632", - "2c0f:eb68::/32": "36924", - "2a09:bac0:100::/48": "13335", - "2001:559:856f::/48": "33652", - "2607:e400:2904::/46": "7459", - "2804:4838::/32": "267105", - "2a00::/22": "3209", - "2a00:fb8:4700::/34": "8881", - "2a00:f826:b::/43": "34549", - "2a03:f80:40::/48": "9009", - "2a0e:46c4:2930::/48": "138435", - "2001:559:8695::/48": "33287", - "240a:af0d::/32": "146503", - "2a02:26f7:e508::/48": "36183", - "2a0a:be80::/29": "43391", - "2a0d:5600:a32::/48": "9009", - "2606:6d00::/39": "1403", - "2a00:d580:4900::/40": "16365", - "2a0f:f0c0::/32": "6830", - "2401:8d00:3::/45": "38345", - "2402:9e80:24::/48": "137219", - "2403:6c0:137::/48": "137366", - "2605:7840:8000::/35": "12130", - "2804:3ef4::/32": "266631", - "2a0b:a280::/48": "203377", - "2001:500:83::/48": "42", - "2402:e380:30a::/48": "138166", - "2408:8956:cf40::/40": "17816", - "2804:276c:100::/37": "263900", - "2001:1248:57bf::/41": "11172", - "2400:cb00:a310::/45": "13335", - "2408:8957:3700::/40": "17816", - "2409:8924:3b00::/37": "56046", - "2a02:26f7:c8d9::/42": "20940", - "2a05:9f80::/29": "211308", - "2a09:5c80::/29": "40976", - "2001:559:c38f::/48": "33287", - "2804:6884::/32": "269698", - "2602:300::/24": "7018", - "2606:2800:5120::/48": "15133", - "2a01:8840:d6::/44": "12041", - "2a02:ac87:59cc::/32": "25145", - "2a06:9280::/29": "12984", - "2401:d800:d6e0::/39": "7552", - "2804:269c:fe41::/46": "47065", - "2804:2e78:2000::/32": "28213", - "2806:230:1017::/48": "11888", - "2a02:26f0:d701::/36": "20940", - "2001:b80::/29": "12767", - "2407:3280::/32": "4851", - "2803:9800:b4c3::/39": "11664", - "2804:2728:e00::/32": "263880", - "2804:7790::/32": "271186", - "2a03:4b20::/32": "56912", - "2402:800:9c01::/43": "7552", - "2402:8c00:2::/48": "17753", - "2600:6000:fd83::/48": "11351", - "2600:9000:2234::/44": "16509", - "2803:5440:177::/48": "264738", - "2804:3258::/32": "265072", - "2a0a:6fc0::/29": "56864", - "2001:559:c184::/47": "7922", - "2001:df0:ce::/48": "24101", - "240e:44d:4d80::/41": "4134", - "2600:1406:6801::/37": "20940", - "2602:fe5c::/36": "40881", - "2804:44::/32": "28606", - "2804:13d0::/35": "263297", - "2001:559:80c9::/46": "7725", - "2001:41ca::/29": "35425", - "2406:2000:efb3::/48": "45501", - "2602:ffc8:3d40::/32": "20278", - "2604:8fc0::/32": "13549", - "2a00:dfa0::/32": "50673", - "2001:1248:59d2::/42": "11172", - "2605:1080:0:4004::/48": "23367", - "2a04:3640::/29": "49784", - "2001:4878:1e0::/44": "35994", - "2a02:c740::/30": "24978", - "2a06:19c0::/29": "8309", - "2a06:afc0::/48": "41011", - "2403:e800:e803:800::/51": "4637", - "240a:acdc::/32": "145942", - "240a:ae3e::/32": "146296", - "2607:fcd0:fa80:1a01::/55": "8100", - "2a02:26f7:c384::/48": "36183", - "2a04:3f83:49::/48": "211633", - "2001:559:754::/48": "7016", - "240a:a0fc::/32": "142902", - "240e:3be::/35": "134773", - "2604:ca00:176::/40": "36492", - "2804:14d:da00::/40": "28573", - "2a04:b00::/29": "199256", - "2a02:26f7:c240::/48": "36183", - "2a0a:9a40::/29": "205801", - "2a10:2f01:2a0::/46": "212995", - "2001:559:c2a4::/48": "33652", - "240a:aace::/32": "145416", - "2607:f8a8::/32": "40913", - "2a01:68::/32": "13193", - "2001:559:808a::/48": "33660", - "2001:559:c2ec::/48": "33652", - "2600:1404:a800::/48": "35994", - "2804:1a2c::/32": "61842", - "2804:51b8::/33": "268472", - "2a04:2c00::/29": "6876", - "2001:678:114::/48": "57436", - "2402:f740:8000::/36": "138391", - "2620:37:4000::/44": "36213", - "2801:106::/48": "19429", - "2a04:c440:9000::/33": "2047", - "2602:fe90:500::/40": "35913", - "2607:6980::/43": "62217", - "2607:f018:ffff::/48": "36375", - "2001:1248:a411::/44": "11172", - "2402:d000:8109::/45": "9329", - "2409:8052:2002::/40": "56047", - "2a01:8840:66::/44": "12041", - "2a02:26f7:e505::/46": "20940", - "2a09:6e80::/29": "48585", - "2c0f:f450::/32": "37302", - "2001:418:8001::/48": "20940", - "2001:fd8:2a4::/46": "132199", - "2001:4479:a900::/40": "7545", - "2402:c480:6003::/35": "63916", - "2408:8956:e600::/40": "17622", - "2801:80:14e0::/43": "11097", - "2804:2e2c::/32": "265329", - "240a:acce::/32": "145928", - "2600:1408:c00::/48": "35994", - "2606:2800:511a::/48": "14153", - "2607:1280:1150::/44": "394972", - "2402:c340::/32": "38047", - "240e:983:b01::/35": "4134", - "2620:dc:4000::/40": "22023", - "240a:a208::/32": "143170", - "2600:1009:9000::/44": "6167", - "2a02:2ab0::/39": "702", - "2600:1408:4001::/38": "20940", - "2604:e180:6::/40": "55002", - "2804:12f8:2000::/32": "263507", - "2001:559:856e::/48": "7922", - "240a:a7c4::/32": "144638", - "2605:3380:4152::/45": "12025", - "2800:68:3d::/46": "61468", - "2804:5c0::/45": "262537", - "2a02:26f0:3401::/39": "20940", - "2a02:2e02:1d90::/38": "12479", - "2001:550:301::/48": "26988", - "2400:a980:2500::/36": "133111", - "2804:1094::/32": "263641", - "2804:4384::/32": "267575", - "2a02:26f7:dd41::/46": "20940", - "2a07:3c80:400::/40": "209322", - "2a0f:4800::/29": "50064", - "240e:438:7820::/43": "140647", - "2607:9000:3000::/36": "46844", - "2620:84:e000::/48": "29818", - "2804:314:4027::/43": "61568", - "2a02:26f7:c3dd::/42": "20940", - "2a0e:46c4:22a9::/46": "136918", - "2001:678:594::/48": "44973", - "2408:8956:c700::/40": "17816", - "240a:a59b::/32": "144085", - "2a02:68e0::/32": "201896", - "2a03:22a0::/32": "44833", - "2a03:5a00:1c::/48": "39864", - "2001:678:c88::/48": "206161", - "2001:1308::/32": "6400", - "2401:d800:960::/40": "7552", - "2403:7f00::/34": "56300", - "2404:4f80::/42": "58715", - "2406:2000:a5::/46": "10310", - "2409:8914:b200::/39": "56044", - "2001:559:114::/48": "7016", - "2001:67c:1211::/48": "42139", - "2400:a980:34ff::/48": "133111", - "240e:f7:6000::/36": "134771", - "2606:c00:36::/32": "9505", - "2a02:e0:3204::/36": "34984", - "2804:7f1c::/48": "271667", - "2a02:26f7:dac9::/42": "20940", - "2409:8924:c300::/37": "56046", - "2600:1802:15::/31": "16552", - "2804:7fec::/32": "271718", - "2a02:26f0:c801::/38": "20940", - "2a0d:5600:20::/44": "9009", - "2400:d400:9280::/48": "9280", - "2620:139:6004::/48": "22600", - "2804:435c::/37": "267565", - "2a0b:8f80:102::/48": "48635", - "2a10:2f01:280::/44": "213092", - "2804:70ec::/32": "270756", - "2a01:6100::/32": "15967", - "2001:df7:4480::/48": "142529", - "2402:800:f020::/41": "7552", - "2803:7900::/32": "28094", - "2804:6e04::/35": "270570", - "2a02:26f7:e9c0::/48": "36183", - "2a04:4e40:c60::/40": "54113", - "2001:579:a1fd::/35": "22773", - "2001:67c:2580::/48": "8751", - "2001:4878:c246::/48": "12222", - "2804:4f8:c000::/36": "28263", - "2406:3400:1d::/41": "10143", - "2800:160:1a6c::/43": "14259", - "2804:10a4::/34": "263642", - "2a01:a700:4643::/29": "39138", - "2a10:8140::/29": "207886", - "2620:1f7:3800::/37": "18703", - "2a04:4e40:f600::/48": "54113", - "2401:d800:d990::/42": "7552", - "2610:20:1000::/42": "10616", - "2620:133:2000::/40": "198949", - "2a0c:8680::/29": "59865", - "2001:559:c0ea::/48": "7015", - "2402:9e80:a00::/40": "138564", - "2405:9940::/32": "46044", - "2801:80:1418::/48": "11097", - "2a02:26f7:b9c1::/46": "20940", - "2a0e:dc0:3::/48": "63473", - "2a0f:c444::/48": "212073", - "2a03:2f00::/32": "29467", - "2a05:1500:ff00::/40": "48635", - "2600:140a:c001::/34": "20940", - "2602:801:c008::/48": "2639", - "2620:18c::/40": "396507", - "2801:19c:10::/48": "14080", - "2a02:26f7:c8c9::/46": "20940", - "2a02:17a6::/31": "47232", - "2001:67c:18ac::/48": "62316", - "2001:4490:d100::/46": "9829", - "2404:bf40:e701::/48": "2764", - "2408:8459:b030::/41": "17622", - "240a:a617::/32": "144209", - "2600:1419:7400::/48": "35204", - "2804:2f40:f00f::/36": "264880", - "2407:a580::/32": "4851", - "2001:12ff::/32": "22548", - "2804:6244::/32": "269287", - "2a06:fb00:1::/48": "203391", - "2001:d10:8410::/48": "131119", - "2404:fc00:1::/45": "45910", - "240a:a757::/32": "144529", - "2804:3f68::/32": "265891", - "2804:4fb8::/32": "268345", - "2001:49f0:a050::/44": "174", - "2409:807c:2900::/35": "9808", - "2806:230:301e::/48": "265594", - "2a0f:40c0::/29": "207929", - "2a0e:8f02:2030::/44": "212799", - "2001:559:c2fc::/48": "33659", - "2001:41c0::/31": "2818", - "2402:8100:30f0::/44": "45271", - "2600:1011::/32": "6167", - "2a02:158:aa00::/39": "44946", - "2a02:26f7:c988::/48": "36183", - "2a05:5000::/29": "207225", - "2001:559:270::/48": "7922", - "2001:67c:1094::/48": "210290", - "2001:67c:2858::/48": "8304", - "2001:e60:d500::/42": "4766", - "240a:a561::/32": "144027", - "2804:4658::/32": "266984", - "2620:e8:c000::/48": "394545", - "2800:bf0:a000::/48": "52257", - "2001:559:561::/46": "7922", - "2607:fdc8:c00::/48": "30036", - "2804:4024:2022::/44": "265937", - "2a02:26f7:e748::/48": "36183", - "2001:67c:31c::/48": "47195", - "2001:44b8:30a6::/44": "7545", - "2403:7940:fcd0::/48": "33353", - "2602:feda:b40::/48": "142130", - "2001:559:836f::/48": "33657", - "2001:ac8:88::/48": "16247", - "2001:b08:8::/48": "59714", - "2401:4900:38c0::/44": "45609", - "2803:6940::/35": "61512", - "2a0d:f802:9000::/33": "20278", - "2a0e:6540:d16::/48": "208364", - "2a02:2e02:8fd0::/42": "12479", - "2402:e280:2160::/47": "134674", - "240a:afec::/32": "146726", - "2604:640:e000::/48": "393562", - "2604:d600:1277::/40": "32098", - "2620:0:280::/48": "19783", - "2a01:8a40::/32": "8823", - "2a02:26f7:d444::/48": "36183", - "2001:400:241a::/48": "683", - "2001:559:1ab::/48": "7922", - "2001:559:849c::/48": "7725", - "2400:ca07:f020::/43": "23688", - "2606:2800:4a10::/46": "15133", - "2607:fe28::/47": "53347", - "2804:751c::/32": "271024", - "2001:550:1d05::/48": "9009", - "2001:559:819f::/48": "20214", - "2001:579:52c4::/39": "22773", - "2403:4b40::/32": "137785", - "240a:ab1d::/32": "145495", - "2620:138:b004::/40": "16740", - "2a0c:b640:14::/46": "34872", - "2a06:1680::/29": "207560", - "2001:67c:1210::/48": "45029", - "2402:800:fc40::/42": "7552", - "2600:1409:9001::/36": "20940", - "2600:1415:16::/44": "20940", - "2605:7840:d120::/34": "12130", - "2607:fc48:c28::/48": "40009", - "2a05:bd40:d13::/48": "29264", - "240e:bc0::/21": "4134", - "2606:4700:301d::/42": "13335", - "2a00:ff80::/32": "8264", - "2001:559:c176::/48": "33657", - "2408:840c:a000::/40": "17621", - "2409:8020:10c1::/43": "56046", - "2801:80:1b40::/48": "266426", - "2804:6720::/32": "269605", - "2a0b:32c0::/29": "205739", - "2600:6000:fb42::/37": "12271", - "2603:7080::/28": "11351", - "2804:5b80::/32": "268851", - "2a0e:b105:460::/46": "20473", - "2804:1000::/32": "28208", - "2406:1fc0::/32": "140689", - "240a:aadc::/32": "145430", - "2620:12c:b131::/48": "13448", - "2804:8cc:2::/45": "262394", - "2a01:5b0:8::/48": "48519", - "2a0b:9700::/32": "8943", - "240a:add7::/32": "146193", - "240a:af35::/32": "146543", - "2001:d08:b0::/34": "9534", - "2409:8915:2000::/39": "56044", - "2604:d600:62e::/43": "32098", - "2a03:9e00:406::/32": "14537", - "2a0d:4040::/29": "35070", - "2001:559:c289::/48": "7922", - "2001:bc8:2000::/32": "12876", - "2001:44b8:30f3::/44": "7545", - "240e:108:1110::/47": "137695", - "2800:26a::/32": "19429", - "2806:230:1031::/48": "11888", - "2001:678:808::/48": "210316", - "240e:e:c800::/37": "137690", - "2806:2f0:2440::/48": "17072", - "2a02:26f7:d9c5::/46": "20940", - "2a05:3580:e300::/36": "35807", - "2408:840c:d000::/40": "17621", - "240a:aae8::/32": "145442", - "2806:230:3000::/48": "265594", - "2a0d:4d00:81::/48": "62303", - "2a0e:8880::/29": "60262", - "2001:67c:2a74::/48": "57839", - "2001:44b8:205d::/48": "4739", - "2606:a880::/32": "12119", - "2804:1ac4:4000::/34": "61884", - "2a02:26f0:a5::/44": "34164", - "2a02:7f80::/29": "56510", - "2a0e:97c5:5e4::/44": "20473", - "2404:2200:11::/42": "18200", - "2408:840c:d600::/40": "17621", - "2607:9b80:8000::/35": "46558", - "2a0c:e640:18::/42": "211876", - "2409:8000:3800::/40": "56048", - "240e:a51:6400::/30": "4134", - "2600:1008:b100::/42": "6167", - "2001:df3:3200::/48": "135724", - "2401:d800:f230::/41": "7552", - "2409:8c04:1007::/39": "24547", - "240a:a3be::/32": "143608", - "2620:130:30c0::/48": "62861", - "2a02:26f0:124::/46": "34164", - "2806:102e:2::/45": "8151", - "2001:428:2001:206::/37": "209", - "2001:1248:5525::/43": "11172", - "2001:4998:124::/46": "26101", - "2406:2000:e8::/46": "10310", - "240a:a292::/32": "143308", - "240a:aa15::/32": "145231", - "2607:f928:4002::/32": "22645", - "2001:44b8:405e::/48": "7545", - "2409:8924:2b00::/37": "56046", - "2600:1406:1c::/42": "20940", - "2602:fed2:710d::/48": "53356", - "2801:10::/45": "28068", - "2606:ae00:9c00::/40": "7287", - "2408:8957:5100::/40": "17816", - "2607:d580::/32": "16717", - "2a00:bdc0::/35": "47541", - "2001:638::/38": "680", - "2602:ff0d::/39": "395938", - "2605:f400:2::/47": "54641", - "2804:7d0::/32": "262324", - "2a07:9443::/32": "205055", - "2a09:9680::/29": "51546", - "2001:c20:c839::/48": "9255", - "2409:8e14:7000::/32": "56044", - "2620:10a:6000::/44": "33651", - "2804:49cc::/32": "52663", - "2a01:b160::/32": "50064", - "2a02:2e02:1800::/40": "12479", - "2a06:e881:119::/48": "39753", - "2001:67c:2440::/48": "16107", - "2001:4818::/36": "12188", - "240a:a659::/32": "144275", - "240a:a78b::/32": "144581", - "2804:7bf0::/32": "271464", - "2408:8459:9830::/41": "17622", - "240e:fc::/33": "136200", - "2804:6f24::/32": "270641", - "2a02:26f7:d908::/48": "36183", - "2a07:22c0:a000::/35": "213190", - "2401:d800:7ed0::/42": "7552", - "2402:800:63a1::/44": "7552", - "2408:8957:7600::/40": "17622", - "240a:ada6::/32": "146144", - "2800:26c::/32": "19429", - "2804:47cc::/32": "267077", - "2a00:54c0::/32": "41966", - "2a02:26f7:ebc8::/48": "36183", - "2001:678:7bc::/48": "197600", - "2001:1900:229c::/39": "3356", - "2404:7a40:2000::/46": "132556", - "2409:8915:3a00::/33": "56044", - "2600:1402:7801::/32": "20940", - "2804:5a64::/32": "268770", - "2804:5f10::/32": "269074", - "2a07:7201::/29": "34197", - "2c0f:fd50::/32": "37187", - "2001:559:82cf::/48": "33659", - "2400:cb00:a9f0::/47": "13335", - "240a:abe8::/32": "145698", - "2620:69:c000::/48": "62993", - "2a07:3500:1ac0::/48": "1136", - "2406:daa0:4020::/44": "16509", - "2408:8459:1650::/36": "17816", - "2803:3a40::/32": "263826", - "2a10:cb42::/29": "198328", - "2001:df0:264::/48": "132043", - "2606:2800:500b::/48": "15133", - "2a02:26f7:bb00::/48": "36183", - "2a03:60e0::/32": "60768", - "2c0f:7c00::/32": "328809", - "2001:503:6810::/48": "7342", - "2001:559:28a::/48": "7922", - "240a:accf::/32": "145929", - "2605:380:aa1::/48": "42388", - "2a03:ab00::/32": "197046", - "2a0f:1640::/29": "60262", - "2400:4e80:1001::/33": "131584", - "2401:800::/32": "9812", - "2402:800:341d::/42": "7552", - "2608:4122:2::/48": "5927", - "2804:31e8::/32": "265044", - "2a02:26f7:c3::/48": "20940", - "2a03:2380::/45": "198818", - "2605:a80:1::/48": "13213", - "2620:11e:1000::/48": "20052", - "2800:160:1ce0::/44": "14259", - "2800:440:1800::/42": "27738", - "2a03:5e60::/32": "6895", - "2a04:e00:107::/44": "39855", - "2405:55c0:56::/40": "63991", - "2402:5400::/48": "45938", - "240a:ab7b::/32": "145589", - "240e:3b2:2c00::/35": "134774", - "240e:473:7450::/39": "4134", - "2605:f740::/32": "25892", - "2620:130::/48": "13460", - "2a02:5cc0::/32": "59689", - "2804:3560::/32": "266282", - "2a01:4bc0::/36": "12422", - "2a0e:9b80:70::/48": "41737", - "2407:5280:308::/37": "133557", - "2409:8915:4c00::/39": "56044", - "2620:10a:4001::/48": "17394", - "2804:2030:8000::/33": "262651", - "2804:2e28::/32": "265328", - "2804:7628::/32": "271093", - "2a00:a400::/32": "8943", - "2400:7400:e021::/48": "23736", - "2a00:af00:e000::/35": "15599", - "2a0b:1200::/29": "559", - "2a0c:b641:69c::/48": "209297", - "2a0c:e640:102f::/48": "210951", - "2409:8087:8009::/33": "9808", - "240a:abd3::/32": "145677", - "2804:4914::/32": "267163", - "2a01:74e0::/32": "205668", - "240e:a5:4000::/36": "137693", - "2803:29e0::/32": "270013", - "2a00:1020:8::/45": "24739", - "2a02:26f7:d941::/46": "20940", - "2401:7e00::/32": "38355", - "2a03:9480::/32": "42442", - "2a0c:4dc0:1::/48": "47945", - "2400:7500::/32": "45325", - "2604:38c0::/32": "54097", - "2804:14d:4cd2::/44": "28573", - "2405:e40:4::/32": "24511", - "2406:d00:5555::/48": "132165", - "2408:8957:8400::/40": "17622", - "2001:648:2420::/47": "31563", - "2620:f:6000::/48": "11509", - "2804:3068::/32": "264949", - "2a01:488::/32": "20773", - "2a02:23a0::/32": "13287", - "2001:1380:3800::/32": "19180", - "2804:1510::/32": "262327", - "2a01:32::/29": "8875", - "2c0f:eab0::/32": "328111", - "2404:7600::/39": "23853", - "2408:840d:b600::/42": "17621", - "2600:1409:f001::/36": "20940", - "2806:230:1028::/48": "265594", - "2a02:26f7:b584::/48": "36183", - "2001:df1:1b80::/48": "139364", - "2405:b900:20::/44": "55701", - "2407:cb00::/32": "23860", - "240e:438:4040::/38": "4134", - "2a00:7b00:15::/32": "12338", - "2a02:26f7:e285::/46": "20940", - "2408:8459:6e30::/41": "17622", - "2408:8956:e00::/40": "17622", - "2409:8051:1800::/47": "56047", - "240a:ad38::/32": "146034", - "2803:ec10:2::/32": "271880", - "2a03:6100::/33": "34594", - "2600:1488:a341::/42": "20940", - "2600:1488:c081::/38": "20940", - "2a01:348::/41": "39326", - "2001:480:90::/48": "5980", - "2604:d9c0::/32": "36222", - "2804:aac:8000::/33": "52905", - "2a02:420::/29": "38927", - "2804:30cc::/32": "263055", - "2804:6338::/32": "269347", - "2a0c:6980::/29": "50113", - "2001:502:f3ff::/48": "397237", - "240a:a942::/32": "145020", - "2604:be40::/32": "13857", - "2607:fb90:cd00::/38": "21928", - "2806:217:202::/39": "28394", - "2a00:86c0:1019::/42": "2906", - "2400:9780::/46": "136557", - "2606:13c0::/48": "10843", - "2800:bf0:1cc::/48": "52257", - "2804:6024::/32": "269148", - "2a02:6b8:20::/46": "13238", - "2a0f:c087:89ca::/48": "212521", - "2001:44c8:4670::/44": "45430", - "2402:9740::/32": "135023", - "2403:6000:114::/36": "24085", - "2800:160:1176::/44": "14259", - "2800:160:15f0::/38": "14259", - "2a00:c8e0::/32": "199876", - "2407:f100::/45": "133075", - "2803:e840::/32": "61498", - "2a07:c180::/29": "64442", - "2a0c:b641:140::/44": "211448", - "2001:1248:84d6::/44": "11172", - "2408:8956:a600::/40": "17622", - "240a:aee3::/32": "146461", - "2a03:4b40:5183::/38": "50710", - "2406:d00:2222::/48": "132165", - "2804:1a14:4000::/36": "28153", - "2407:4e40::/48": "142040", - "240a:a43c::/32": "143734", - "240e:e9:b800::/33": "23650", - "2602:802:d000::/44": "53506", - "2a02:2000:5::/32": "35297", - "240e:44d:7980::/41": "4134", - "2803:6604:e401::/39": "28075", - "2803:b5a0:8000::/33": "269804", - "2a0d:7980:1::/48": "12859", - "2408:8256:3b8c::/43": "17623", - "240d:4000::/21": "133111", - "240e:5e:1040::/42": "134774", - "240e:964:c600::/36": "4134", - "2a07:8080::/32": "62296", - "2001:480:36::/48": "289", - "2400:ffc0:4::/47": "132335", - "2804:aec::/32": "52928", - "2405:3840::/32": "131957", - "240a:aff9::/32": "146739", - "2a10:8400::/29": "203206", - "2402:a7c0::/32": "59253", - "2403:71c0:ff00::/48": "43959", - "2806:2f0:12a4::/41": "22884", - "2001:559:c30c::/48": "7922", - "240a:a137::/32": "142961", - "240e:44d:7000::/41": "140345", - "240e:698:2800::/40": "133775", - "2804:300:c000::/31": "53237", - "2804:42b4::/32": "267520", - "2001:559:1e9::/48": "33662", - "2001:ee0:cd40::/35": "45899", - "2620:0:6e0::/48": "4185", - "2a03:b300::/32": "35399", - "2a0e:b107:580::/44": "138211", - "2001:67c:2628::/48": "205016", - "2001:df7:c500::/48": "139943", - "2a02:26f7:ec81::/46": "20940", - "2409:8924:b100::/38": "56046", - "2804:7f54::/32": "271681", - "2a00:11c0:1337::/48": "42473", - "2a0f:25c0:1990::/48": "207077", - "2401:14c0:8b::/32": "136531", - "2801:14::/48": "19429", - "2801:19:e800::/48": "267777", - "2804:310:c000::/34": "262688", - "240a:a634::/32": "144238", - "2600:380:c800::/38": "7018", - "2607:fad8::/40": "22652", - "2a05:cc00::/29": "47447", - "240a:a0c0::/32": "142842", - "240e:473:5e50::/39": "4134", - "2604:2c00::/32": "11071", - "2a06:2340:2000::/44": "9558", - "2a0e:5880::/29": "60843", - "2a04:4e40:600::/48": "54113", - "2402:800:34c5::/43": "7552", - "2406:dc0:235e::/47": "9221", - "240a:aa1a::/32": "145236", - "2600:1417:6801::/35": "20940", - "2804:2bdc:2::/36": "265181", - "2a00:1228::/47": "31148", - "2a02:26f7:cd05::/46": "20940", - "2a0c:7e47:c909::/48": "20473", - "2001:67c:418::/48": "8981", - "2001:67c:28b8::/48": "28892", - "2408:8956:600::/40": "17622", - "240a:a05e::/32": "142744", - "2607:a680:f000::/36": "395092", - "2001:550:1304::/37": "174", - "240a:a21f::/32": "143193", - "240a:a37a::/32": "143540", - "2804:3558::/32": "53155", - "2804:6214::/32": "269274", - "2a0a:2842:15::/46": "42962", - "2001:67c:14b8::/48": "12655", - "2620:1ec:4::/46": "8068", - "2a0c:b642:1a08::/48": "202297", - "2607:3c00:6414::/47": "26380", - "2804:73d0::/32": "270939", - "2a02:6680:2166::/48": "16116", - "2001:678:9fc::/48": "15550", - "2402:800:592b::/43": "7552", - "2403:40c0::/48": "45215", - "2600:900::/28": "7896", - "2a0e:b103:f7a::/48": "20473", - "2001:19e8::/46": "2576", - "240e:108:1070::/48": "140061", - "240e:3b3:7a00::/32": "140313", - "2605:c0::/32": "397019", - "2400:4a00::/32": "9341", - "2600:1406:6400::/48": "35994", - "2602:feb4:180::/44": "25961", - "2605:a7c0:140::/48": "14618", - "2804:1374::/32": "263534", - "2001:559:c276::/48": "7015", - "2001:4878:8246::/48": "12222", - "2a01:8840:d::/48": "63403", - "2a03:f80:3991::/48": "56630", - "2a05:5f40::/31": "201366", - "2001:559:86ec::/48": "33667", - "240a:a1fa::/32": "143156", - "240a:abd4::/32": "145678", - "2804:1408:5100::/34": "28635", - "2a03:3f40:3::/40": "50673", - "2001:550:40a::/45": "174", - "2001:df2:7e01::/48": "135526", - "2606:5d00::/28": "11525", - "2a06:98c0:1001::/48": "139242", - "2402:800:52ee::/39": "7552", - "2405:6e00:690::/41": "133612", - "2a02:26f7:cd80::/48": "36183", - "2a10:2f00:14a::/48": "212767", - "2409:807c:900::/35": "9808", - "240a:a7f0::/32": "144682", - "240a:abbe::/32": "145656", - "2600:1488:6151::/42": "20940", - "2803:9640::/32": "264605", - "2803:b2c0:2100::/47": "264851", - "2001:559:8269::/48": "33651", - "2401:ff80:1409::/46": "133954", - "2806:230:4013::/48": "11888", - "2a0f:eb80:b::/45": "47267", - "2001:559:76a::/48": "22909", - "2001:5f8:7d04::/32": "5056", - "2403:6a00::/32": "18239", - "2a02:54c0::/29": "20811", - "2001:428:2501::/48": "2714", - "2407:a800:3e11::/48": "3949", - "2600:c08:2015::/48": "27385", - "2804:14c:a700::/40": "28573", - "2a02:26f7:ca88::/48": "36183", - "2401:ff80:1005::/44": "133954", - "2402:8640:2::/32": "137491", - "2403:8000:11::/32": "4796", - "240e:44d:5e80::/41": "4134", - "2600:140f:2601::/39": "20940", - "2620:13d:2000::/41": "20326", - "2a00:5000::/29": "51896", - "2606:5cc0:ff01::/46": "36263", - "2001:550:1d02::/45": "174", - "2001:559:c2d0::/48": "33662", - "2804:74f4:4::/33": "271014", - "2400:11c0::/32": "133296", - "2400:dd01:3007::/43": "7497", - "2404:f801::/32": "3598", - "2606:4700:3000::/43": "13335", - "2620:1ec:49::/36": "8075", - "2a00:1940::/32": "16353", - "2a02:26f0:2f01::/35": "20940", - "2a02:5120::/32": "3246", - "2001:579:6310::/36": "22773", - "2402:800:96ee::/39": "7552", - "2402:8100:2800::/40": "45271", - "2403:5800:2::/48": "4764", - "2409:8028:30a1::/43": "56041", - "240a:a5a3::/32": "144093", - "240e:3b6:1200::/39": "4134", - "2a02:17c0::/32": "44869", - "2001:559:468::/48": "33491", - "2001:df4:3b00::/48": "55688", - "2001:44b8:38::/48": "7545", - "2409:877f::/20": "9808", - "240e:352:5c00::/34": "134419", - "2804:fe0:2102::/45": "263049", - "2a01:7a00::/36": "51701", - "2a07:59c6:ee00::/40": "56382", - "2401:d800:130::/41": "7552", - "2402:c600::/32": "17941", - "240e:44d:6980::/41": "4134", - "2600:1404:d801::/37": "20940", - "2a02:26f7:fa49::/42": "20940", - "2001:559:38::/45": "7922", - "2408:8956:4400::/40": "17622", - "240a:ae40::/32": "146298", - "2404:0:3000::/36": "17709", - "240a:ad4a::/32": "146052", - "2620:10f:5000::/47": "21740", - "2001:4198::/32": "25525", - "2600:6c7f:9140::/44": "19115", - "2a0c:b980:1000::/36": "48096", - "2600:1006:d100::/41": "6167", - "2620:1d5:6f0::/36": "14773", - "2800:484:c00::/40": "10620", - "2a09:b440::/48": "20473", - "2402:3cc0::/32": "137257", - "2407:9740:ae00::/43": "131466", - "2408:8957:7800::/40": "17622", - "240a:a411::/32": "143691", - "2a03:fc40::/32": "41937", - "2c0f:3200:2::/32": "37558", - "2001:559:1ee::/48": "33287", - "2620:129:6010::/48": "395363", - "240a:aaab::/32": "145381", - "2801:196:2::/48": "19429", - "2a0e:b80::/29": "208951", - "2001:559:194::/48": "7016", - "2405:6e00:400::/43": "133612", - "240a:a6d1::/32": "144395", - "2804:1444::/32": "263322", - "2804:3ef0::/32": "266630", - "2806:2f0:2144::/43": "22884", - "2806:2f0:6120::/41": "17072", - "2401:ff80:1785::/44": "133954", - "2001:6f8:1501::/48": "8190", - "2408:84f3:4a10::/42": "134543", - "2800:160:1718::/42": "14259", - "2a00:1e98::/29": "34058", - "2a01:1df::/32": "15744", - "2a02:4540:9040::/46": "197207", - "2a0a:5e80::/48": "48715", - "2803:ab00::/40": "52471", - "2804:248:5::/44": "28598", - "2a00:e0c0::/32": "16174", - "2001:559:8701::/48": "33652", - "2401:1c00:7100::/32": "38809", - "2403:b4c0::/35": "138398", - "2605:c600::/32": "33097", - "2c0f:fc58::/32": "37294", - "2a0e:b107:1165::/48": "211184", - "2001:678:7dc::/48": "39149", - "2001:44c8:45c0::/43": "131445", - "2408:80f1:230::/44": "17621", - "2408:8456:3e10::/42": "134543", - "2800:440:8004::/48": "27738", - "2a02:2e02:96a0::/43": "12479", - "2a0c:640::/29": "328543", - "2001:678:8b0::/48": "43815", - "2001:df4:ac00::/48": "134347", - "2804:6bc::/32": "53078", - "2001:67c:15a3::/48": "5577", - "2001:df0:2ca::/48": "17944", - "2403:c00:704::/36": "17488", - "2605:6440:4009::/35": "396356", - "2a02:26f7:c7c5::/46": "20940", - "2401:d800:c90::/42": "7552", - "2409:8924:c500::/38": "56046", - "2605:a401:8423::/44": "33363", - "2001:67c:2b30::/48": "3320", - "2403:2600::/32": "24538", - "2408:8738::/32": "4837", - "240a:a653::/32": "144269", - "2a01:190:15ec::/48": "199216", - "2600:1800:11::/45": "16552", - "2804:36b4::/32": "266366", - "2804:550c::/33": "268686", - "2a02:26f0:5901::/37": "20940", - "2a0b:2740::/48": "205755", - "2a0c:9a40:8110::/46": "204438", - "2001:500:6::/48": "12287", - "2001:978:201:3::/37": "174", - "2405:1c0:6a11::/46": "135062", - "2409:8904:e170::/40": "24547", - "240e:d:b000::/37": "136191", - "2806:2f0:24a1::/46": "22884", - "2a02:2e02:bc0::/43": "12479", - "2a0d:2a00:ab1::/46": "205157", - "2405:1c0:6541::/46": "135062", - "2606:b400:882b::/48": "7160", - "2804:3494::/32": "265466", - "2a03:90c0:570::/40": "199524", - "2a06:8147:cc9a::/48": "199364", - "2c0f:eac0::/32": "37682", - "2a0f:d080::/29": "51659", - "2001:559:c34a::/47": "7015", - "2408:8406:b400::/39": "4808", - "240a:a967::/32": "145057", - "2602:feda:2a9::/46": "204185", - "2620:6:2000::/46": "395460", - "2a02:26f7:c089::/46": "20940", - "2a0f:be00::/29": "208250", - "2402:7480::/32": "18106", - "2408:8256:319f::/38": "17816", - "2607:f518::/39": "46887", - "2804:1a14::/34": "28153", - "2001:67c:2758::/48": "41618", - "2400:a980:4100::/37": "133111", - "2a02:fe9:337::/32": "39686", - "2a10:3040::/30": "208256", - "2001:67c:2c14::/48": "31424", - "2606:2800:4060::/46": "15133", - "2620:ef:4000::/48": "394137", - "2803:7860::/32": "267829", - "2a02:26f7:c080::/48": "36183", - "2001:978:1f00::/48": "43858", - "2001:c20:48c5::/48": "3758", - "240a:acea::/32": "145956", - "2804:691c::/32": "270249", - "2a01:298:fd::/48": "50827", - "2a02:26f7:f985::/46": "20940", - "2401:c1c0::/32": "136966", - "240e:108:1130::/47": "137693", - "2602:ff96:81::/46": "40676", - "2604:9380::/32": "33230", - "2800:160:2083::/41": "14259", - "2803:6940:2000::/32": "61512", - "2001:559:84f5::/48": "33657", - "2403:b100:2014::/32": "9989", - "2620:13a:5000::/44": "19755", - "2803:24c0::/32": "264796", - "2804:5a50::/32": "268764", - "2a0e:aa07:e00e::/48": "206843", - "2001:559:86ba::/48": "33657", - "2404:bf40:81c1::/38": "139084", - "240e:250:1400::/38": "134419", - "2804:14d:909a::/42": "28573", - "2804:ddc::/32": "262387", - "2a02:26f7:cc48::/48": "36183", - "2a0d:3842:1170::/48": "57629", - "2001:559:3e9::/48": "22909", - "240a:a31d::/32": "143447", - "2a00:7000::/32": "34762", - "2a00:dd00::/46": "212573", - "2a06:85c0::/48": "202610", - "240a:a2bd::/32": "143351", - "240a:a65d::/32": "144279", - "2806:269:4400::/41": "13999", - "2a02:2a38:38::/32": "58073", - "2a10:2f01:220::/48": "207890", - "2001:df5:5e80::/48": "141413", - "2620:12d:6000::/47": "13380", - "2804:31d4::/32": "53139", - "2804:49d0::/32": "52698", - "2a02:214a::/29": "1241", - "2a0e:b107:b15::/48": "212580", - "2620:16:6000::/48": "27195", - "2804:3f38::/35": "266646", - "2a05:2c00::/30": "201559", - "2001:44b8:4045::/48": "4739", - "2400:cb00:303::/45": "13335", - "2801:80:2330::/48": "267247", - "2a02:610:7501::/48": "51894", - "2a0d:9780::/32": "20860", - "2602:800:900e::/48": "40528", - "2a0d:ac00::/48": "205202", - "2404:d8::/32": "7629", - "2409:8c28:c06::/34": "56041", - "240a:a889::/32": "144835", - "2800:160:154b::/43": "14259", - "2804:1784:ff82::/41": "263152", - "2a02:1390:7000::/36": "21351", - "2a02:26f7:e38d::/42": "20940", - "2600:1488:a421::/41": "20940", - "2804:79d4::/32": "271330", - "2a06:7f80::/29": "204035", - "2602:feb4:110::/44": "25961", - "2604:f400:7::/48": "29930", - "2a02:c800::/41": "43930", - "2a07:2781:a4a3::/48": "206160", - "2408:8459:d180::/42": "134543", - "2806:230:1029::/48": "11888", - "2a02:2f0c:d000:41::/30": "8708", - "2a0a:9000::/29": "64472", - "2001:67c:2c2c::/48": "57763", - "2001:df6:4280::/48": "142006", - "2001:df7:200::/47": "135871", - "2400:9800::/44": "24203", - "2001:16d8:deae::/34": "16150", - "2402:ee40:3::/42": "134033", - "2406:c500:ffef::/48": "7545", - "2604:5000:18::/48": "26419", - "2001:559:5f6::/48": "33651", - "2001:ec0:2000::/40": "131293", - "2404:bf40:e101::/38": "139084", - "2405:f080::/38": "136907", - "240a:409a:c000::/35": "58834", - "2804:14c:cca2::/41": "28573", - "2a02:26f7:c641::/46": "20940", - "2603:c001:3430::/38": "31898", - "2806:230:2025::/48": "11888", - "2a05:900::/29": "198930", - "2400:cb00:a870::/45": "13335", - "240a:a84f::/32": "144777", - "2801:1fc:16::/48": "27951", - "2804:5ae4:ff10::/40": "268803", - "240a:a725::/32": "144479", - "240a:ab79::/32": "145587", - "2607:5700::/32": "20093", - "2800:484:c400::/40": "10620", - "2806:2f0:12e1::/46": "17072", - "2a01:5ec0:9000::/36": "44244", - "2001:338::/32": "4675", - "2a04:9300::/32": "62239", - "2a10:1680::/32": "47935", - "2001:559:c122::/48": "7015", - "2804:1110::/36": "262901", - "2409:8d35::/28": "9808", - "2804:14c:5d00::/40": "28573", - "2001:67c:13b8::/48": "196957", - "2402:ee40:10a::/32": "17754", - "2600:1fa0:4010::/42": "16509", - "2800:160:1f52::/45": "14259", - "2a06:bcc0:1::/45": "203724", - "2a07:a343:cc70::/44": "136620", - "2408:8456:c640::/39": "17816", - "240a:a1cf::/32": "143113", - "2803:8720::/32": "266755", - "2804:45e4:6100::/35": "262567", - "2a02:26f0:13d::/48": "8966", - "2001:1930:e80::/41": "11985", - "2408:84f3:f860::/40": "17623", - "2602:fcb1::/36": "399306", - "2001:559:322::/48": "7922", - "2001:559:c0e6::/48": "7922", - "2804:52f4:b00::/32": "268552", - "2a02:2e02:b50::/40": "12479", - "2c0f:f7f8:3::/32": "3356", - "2001:67c:25dc::/48": "41018", - "2402:800:bb90::/42": "7552", - "2405:1c0:6583::/38": "55303", - "2405:9800:f001::/44": "45430", - "240a:ac8d::/32": "145863", - "2605:b4c0:550::/48": "25780", - "2a02:d98::/32": "25146", - "2001:67c:2824::/48": "12722", - "2400:4d40::/47": "134204", - "2409:8924:2f00::/35": "56046", - "240e:965:c600::/36": "4134", - "2606:4f00:8::/48": "19324", - "2800:160:1ff5::/46": "14259", - "2a0f:5707:aaa0::/44": "205298", - "240a:abcf::/32": "145673", - "2603:90f5:2::/48": "12271", - "2620:125:f000::/44": "395114", - "2804:2250:7040::/32": "262756", - "2a00:8a84:a010::/30": "29119", - "2a0e:b40::/48": "62321", - "2c0f:ed68:ff02::/40": "328170", - "2409:806b:100::/36": "9808", - "2a0d:e4c4:d000::/34": "208861", - "2001:4541:a000::/29": "9924", - "2a0c:b641:4c0::/44": "212756", - "2001:559:3fb::/48": "33659", - "240a:aaa2::/32": "145372", - "2800:160:13f7::/44": "14259", - "2001:559:c2ef::/48": "7016", - "2401:ff80:148b::/45": "133954", - "2406:9300::/32": "38506", - "2602:ffa5:100::/40": "53907", - "2804:1360::/41": "263531", - "2a02:26f7:bd80::/48": "36183", - "2a0d:82c7:9000::/34": "47787", - "2a01:3e0:d01::/48": "38191", - "2001:738:5::/32": "1955", - "2401:2d00:12::/48": "17625", - "2405:9800:c921::/45": "45430", - "2804:4dfc::/32": "268232", - "2001:559:c14b::/48": "20214", - "2401:ee00:b2c::/35": "23951", - "240a:a2d9::/32": "143379", - "2610:190:5e00::/34": "62", - "2a0f:14c0::/29": "398559", - "2a0d:3842:1270::/48": "57629", - "2a02:80c0::/30": "49562", - "2a0a:dd80::/29": "211199", - "2001:578:d00::/41": "22773", - "2407:7900:1000::/40": "58955", - "2804:2d70::/32": "265282", - "2804:3394::/32": "265405", - "2a07:1400::/29": "24853", - "2402:800:94c5::/42": "7552", - "240a:aaf8::/32": "145458", - "2600:370f:7265::/46": "32261", - "2605:2840::/32": "393763", - "2620:10c:700e::/47": "2906", - "2a00:1a28:101::/35": "42708", - "2c0f:f7a8:8010::/47": "4134", - "2001:67c:2400::/48": "57146", - "240a:af33::/32": "146541", - "2600:40ff:fcfe::/38": "701", - "2607:fdf0:5e9d::/42": "8008", - "2402:ea80::/48": "17747", - "2604:ca00:13::/48": "36492", - "2800:5f0:841::/42": "22724", - "2804:3050::/32": "264943", - "2a03:3660:1::/48": "51151", - "2001:559:c3d3::/48": "33660", - "2001:df3:f800::/48": "59216", - "240e:964:2c00::/38": "133776", - "240e:a53:6400::/26": "4134", - "2803:17e0::/32": "52468", - "2a01:bb20:3000::/32": "61969", - "2001:559:8437::/48": "7016", - "2a00:1c41::/29": "8851", - "2a0b:a540::/29": "1267", - "2401:1700:1d::/33": "55666", - "2409:8914:a00::/39": "56044", - "2607:fc50::/46": "36236", - "2a03:a860:a1d::/48": "34587", - "2a0f:5381:acac::/33": "208135", - "2401:d800:9170::/40": "7552", - "240e:109:8000::/43": "58519", - "2604:6840:ac10::/48": "20446", - "2804:4f8:8400::/34": "28263", - "2a01:67c0::/32": "16074", - "2402:d000:8111::/45": "9329", - "2408:8274::/28": "4837", - "240e:473:6f20::/41": "140486", - "2607:f740:e644::/44": "63911", - "2804:4750::/32": "267045", - "2a02:26f7:d5c8::/47": "36183", - "2402:800:3563::/43": "7552", - "2402:800:578d::/43": "7552", - "2403:1940:dac1::/48": "137935", - "240a:a49c::/32": "143830", - "2803:4980::/32": "52328", - "2001:559:83b1::/48": "33287", - "2001:559:84ad::/46": "33659", - "2408:8459:1050::/37": "17816", - "2408:892c::/32": "4837", - "2600:4402:c004::/29": "6130", - "2a0a:6a80::/29": "13045", - "2001:fb0:100e::/47": "37992", - "2620:13e:9007::/48": "17218", - "2a03:83a0:2::/48": "201529", - "2600:d401:600::/32": "1403", - "2a01:5580::/32": "29037", - "240e:3b7:1400::/38": "134773", - "240a:a77c::/32": "144566", - "2800:160:1e2d::/43": "14259", - "2804:4c40::/32": "267359", - "2001:cb8::/32": "7687", - "240e:698:2a00::/40": "63835", - "2600:1409:d001::/34": "20940", - "2803:2a80:1265::/48": "262928", - "2a0d:d81::/32": "213075", - "2001:559:c2f1::/48": "20214", - "2604:d600:121c::/42": "32098", - "2607:fc48:818::/48": "40009", - "2804:2538::/32": "28183", - "2a0c:29c0::/32": "35614", - "240e:3b5:2c00::/35": "134774", - "2600:1f18::/33": "14618", - "2604:cb00::/32": "7029", - "2a02:4660::/32": "201975", - "2a02:26f7:f384::/48": "36183", - "2001:559:84d1::/48": "7922", - "2001:67c:208c::/48": "15562", - "2402:800:9ab7::/41": "7552", - "2620:10a:8004::/48": "27299", - "2804:40a0:acc4::/33": "265971", - "2806:310:6:3::/44": "16960", - "2a02:26f7:c6c4::/47": "36183", - "2a02:7900:101::/32": "16154", - "2001:1400:ffee::/48": "9201", - "240a:a3e8::/32": "143650", - "240a:a924::/32": "144990", - "240c:f:2::/32": "45275", - "2606:b400:800c::/48": "792", - "2804:1de0::/32": "264400", - "2a01:cf00:74::/46": "3215", - "2a02:2e02:d30::/41": "12479", - "2405:a000:21::/32": "7693", - "2600:6c38:e23::/45": "20115", - "2607:6100:1006::/44": "54380", - "2806:230:4026::/48": "265594", - "2a02:578:6400::/38": "9031", - "2a07:95c0::/30": "46723", - "2a02:503:8::/48": "51955", - "240e:e9:8800::/34": "23650", - "240e:3b9:c000::/37": "140315", - "2804:4538::/32": "266912", - "2001:559:c05a::/48": "7016", - "2001:67c:28d8::/48": "48345", - "2402:c000:3801::/32": "9230", - "2604:6d00:2100::/48": "36223", - "2a02:26f7:e289::/42": "20940", - "2a04:88c4::/32": "205544", - "2600:1406:30::/48": "35994", - "2600:140f:4a00::/48": "9498", - "2610:b0:4030::/47": "701", - "2804:8104::/32": "272426", - "2a03:2900::/32": "48823", - "2001:559:8570::/47": "33651", - "2001:1320::/32": "27733", - "2602:ff3b::/36": "395723", - "2a01:5043:2efd::/48": "202196", - "2a02:26f7:b98d::/46": "20940", - "2a02:26f7:f2c0::/48": "36183", - "2001:559:30b::/48": "33491", - "2001:fd8:f0b0::/44": "4775", - "2806:20d:110c::/43": "32098", - "2a02:26f7:e981::/46": "20940", - "2a0e:fb42::/32": "47596", - "2001:5a0::/34": "6453", - "2001:67c:2354::/48": "39287", - "2406:82c0::/32": "141201", - "240e:3b0:7800::/39": "4134", - "2606:8e80:4000::/48": "32133", - "2607:fda8:1014::/48": "54004", - "2a04:4e40:b800::/47": "54113", - "2001:559:359::/46": "33659", - "2001:678:31c::/48": "35213", - "2409:8a52:300::/37": "56047", - "240e:44d:1900::/41": "140345", - "2804:33c::/32": "53137", - "2a00:9d20:49::/48": "28753", - "2a0e:97c5:638::/46": "20473", - "2001:468:2621::/44": "11537", - "2401:cbc0::/32": "23778", - "2403:fdc0:6000::/36": "138460", - "2a00:2380::/25": "2856", - "2a02:26f7:eb08::/48": "36183", - "2a02:26f7:ec48::/48": "36183", - "2a0e:4f80::/29": "51083", - "2001:18f0::/32": "12059", - "2404:ae00:17::/44": "45474", - "240e:473:5120::/41": "140486", - "2800:160:1c9f::/42": "14259", - "2a01:5c40::/46": "12687", - "2a0e:46c4:2c20::/47": "137509", - "2001:559:2a0::/48": "20214", - "2001:dce:102::/33": "23869", - "2402:a800:fff0::/48": "55895", - "2a03:dd41::/32": "39122", - "2a04:4e40:1410::/44": "54113", - "2001:559:330::/48": "7922", - "2001:43d8:c001::/44": "15022", - "2001:4978:10af::/36": "19255", - "2401:d800:5f20::/41": "7552", - "2402:800:3b1d::/42": "7552", - "2600:1419:7c00::/48": "35204", - "2804:35ac::/32": "266300", - "2408:8647::/35": "140726", - "240e:5f:6001::/48": "134774", - "2605:b100:a81::/39": "577", - "2606:2800:41f::/42": "15133", - "2608:121:1::/44": "721", - "2800:5f0:878::/35": "22724", - "2a02:aa00::/27": "6830", - "2001:559:2e8::/48": "33652", - "2001:559:c069::/48": "7922", - "2001:18e8:810::/37": "19782", - "2401:2d00::/46": "17625", - "240a:ad63::/32": "146077", - "2600:1416:a001::/33": "20940", - "2a05:8240::/29": "57353", - "2001:44b8:10::/46": "7545", - "240a:a895::/32": "144847", - "240a:aca4::/32": "145886", - "2a00:8a84:27f0:f::/32": "29119", - "2a05:b680:6::/48": "31017", - "2a0d:7c40::/32": "54290", - "2001:1270:4000::/34": "22011", - "2600:1417:c801::/37": "20940", - "2801:17:6800::/48": "19429", - "2a01:9560::/32": "62094", - "2001:43f8:c90::/48": "328374", - "2401:7400:4801::/34": "4773", - "240e:44d:b80::/41": "4134", - "2604:a2c0::/32": "53256", - "2a09:a441::/32": "205479", - "2806:2f0:3424::/41": "17072", - "2a0c:dd42::/29": "42675", - "2001:470:11c::/48": "7175", - "2001:480:24::/44": "668", - "2803:ae0::/32": "269930", - "2a0f:cf80::/29": "208861", - "2409:8000:5900::/40": "9808", - "2001:4c00::/32": "34695", - "2803:f00:440::/40": "262182", - "2804:14d:5ce4::/44": "28573", - "2a02:26f7:bd4d::/42": "20940", - "2a02:ac80:3001::/33": "25145", - "2a09:d240::/48": "30870", - "2a0a:af80::/29": "24867", - "2400:8b00:2080::/42": "45727", - "2605:fb80:ffff::/48": "17216", - "2606:3c00:f000::/44": "20365", - "2804:5108::/32": "268426", - "2600:80d::/44": "6984", - "2604:ca00:f002::/48": "36492", - "2804:4660::/32": "266986", - "2a00:4b00:13e::/38": "41935", - "2001:559:81fe::/48": "7922", - "2001:678:714::/48": "43590", - "2403:ff00::/48": "24535", - "240a:af54::/32": "146574", - "240e:44d:7c80::/41": "4134", - "2600:1417:1001::/36": "20940", - "2804:2188::/32": "61789", - "2a02:2ad0:911::/44": "702", - "2a02:2e02:2cf0::/38": "12479", - "2001:579:10ac::/39": "22773", - "240a:ac7b::/32": "145845", - "240e:67d:c400::/39": "140330", - "2804:1ca0::/39": "61666", - "2804:5e48:ff30::/46": "269023", - "2804:6c94::/32": "270478", - "2a0f:ca85::/48": "207616", - "2001:19f8:212::/32": "4927", - "2401:b900::/32": "17894", - "240e:974:e300::/37": "38283", - "2408:84f3:a810::/42": "134543", - "240a:a3cc::/32": "143622", - "2607:4700:f002::/36": "25720", - "2a03:1c80::/32": "25222", - "2a04:4000::/29": "201020", - "2602:ff50::/38": "63452", - "2804:a98:2::/32": "52896", - "2804:1bb4::/32": "61744", - "2804:2b20::/32": "265136", - "2804:43d4::/32": "267593", - "2804:6afc::/32": "270370", - "2001:678:fc0::/48": "196944", - "2604:d600:661::/44": "32098", - "2804:14d:2a7f::/40": "28573", - "2001:df0:2e00::/48": "59022", - "2400:6280:15::/48": "132876", - "2001:559:c17e::/48": "33652", - "2404:1900::/32": "18092", - "2607:fca8:b100::/33": "17139", - "2a02:26f7:cb45::/46": "20940", - "2a02:2a90::/39": "702", - "2409:8779::/30": "9808", - "2607:c400:6000::/32": "5555", - "2803:9d80::/32": "26617", - "2a01:6ca0::/32": "12703", - "2001:559:260::/48": "33659", - "2001:4490:4e58::/46": "9829", - "240e:95d:2000::/37": "4134", - "2806:370:2010::/41": "28403", - "2a00:1158:2::/47": "34011", - "2a10:bc40::/29": "211598", - "2001:559:8440::/48": "7015", - "2402:800:597f::/40": "7552", - "2402:d000:1065::/44": "9329", - "2408:8772::/29": "4837", - "2800:160:1e05::/46": "14259", - "2804:6298::/32": "269306", - "2a0b:7980::/29": "208272", - "2800:484:2300::/40": "10620", - "2804:66a0:13::/32": "269572", - "2401:4900:5388::/43": "45609", - "2404:0:9000::/26": "17709", - "2800:190:110::/40": "11664", - "2806:3ca::/32": "270124", - "2a0d:6800::/29": "14576", - "2600:1488:c041::/40": "20940", - "2803:2a80::/48": "262928", - "2804:4f3c::/32": "268314", - "2001:559:c1d5::/46": "7016", - "2800:110:1021::/45": "4270", - "2a02:d107:f008::/36": "197155", - "2001:db0:4800::/37": "17766", - "2408:8456:ea10::/42": "134543", - "2604:2d80:c02c::/46": "30036", - "2a02:bc0::/32": "60781", - "2a0c:93c0:8002::/48": "212465", - "2001:559:850f::/48": "7922", - "2401:b0c0:c000::/48": "136941", - "2402:ef03:6100::/29": "7633", - "2605:1000::/32": "19662", - "2401:7500:1000::/39": "133296", - "2405:9f80::/32": "134743", - "2001:ee0:3001::/43": "45899", - "2602:fe60::/36": "209", - "2604:ca00:f007::/44": "36492", - "2803:23c0::/32": "52444", - "2a01:8f40::/32": "59472", - "2001:67c:1424::/48": "49030", - "2001:1248:5b23::/41": "11172", - "240e:3bd:ec00::/35": "140314", - "2620:11a:a000::/44": "43515", - "2800:88:14::/41": "26210", - "2a02:26f7:b904::/48": "36183", - "2001:67c:1878::/48": "3301", - "2402:b400:4628::/32": "45960", - "240e:980:4600::/40": "134756", - "2606:5200:c000::/36": "11115", - "2804:1100:3000::/32": "53178", - "2a04:b480:23::/29": "60110", - "2400:3000::/32": "7527", - "2404:8000:94::/44": "17451", - "240a:a4b8::/32": "143858", - "2001:559:450::/47": "33668", - "2001:1a11:74::/46": "42298", - "240a:a69f::/32": "144345", - "2605:6880::/32": "63052", - "2804:bd8::/32": "52838", - "2804:2144:104::/38": "52795", - "2a01:5820::/32": "204222", - "2001:678:250::/48": "41038", - "2800:4d0:24a0::/32": "7004", - "2a00:1798::/32": "8426", - "2800:160:17c2::/47": "14259", - "2a00:1eb8::/35": "8764", - "2a01:c50f:b400::/39": "12479", - "2405:8a00:a032::/41": "55824", - "2408:84f3:9c10::/42": "134543", - "2a01:367:abcd::/48": "201061", - "2a03:43e0::/32": "59748", - "2001:559:8159::/48": "33287", - "2605:f700:140::/42": "18978", - "2620:6e:c000::/48": "393401", - "2a02:214e::/31": "1241", - "2a02:2270::/34": "43939", - "2001:502:100e::/48": "397229", - "240a:a58f::/32": "144073", - "240a:afc7::/32": "146689", - "2610:130:3402::/32": "6122", - "2a09:7180::/30": "39614", - "2001:559:17b::/48": "7725", - "2001:4878:8000::/48": "12222", - "240e:980:4900::/40": "23724", - "2604:cf80::/32": "3257", - "2a0e:b107:194::/48": "207650", - "2a03:65e0::/32": "207426", - "2606:5580:4000::/38": "63242", - "2607:fa58::/32": "31877", - "2801:80:3680::/48": "269133", - "2803:7380::/32": "27781", - "2804:3f10:8000::/33": "262566", - "2806:230:6004::/48": "265594", - "2a00:e50::/29": "15451", - "2409:8920::/29": "56046", - "2600:1488:6141::/43": "20940", - "2800:160:222c::/41": "14259", - "2806:2a0:19::/46": "28548", - "2a02:fb8::/32": "56329", - "2a02:26f7:df4d::/42": "20940", - "2001:559:c1e0::/48": "33651", - "2001:67c:18a8::/48": "50438", - "2607:3a80::/42": "395100", - "2a00:e70::/32": "43655", - "2a02:587:50f8::/46": "6799", - "2a05:7400::/34": "31257", - "2a05:d000:6000::/40": "16509", - "240e:965:ec00::/30": "4134", - "2801:1d0:1::/48": "3549", - "2604:9dc0::/32": "393626", - "2a02:2e02:a30::/41": "12479", - "2a03:8d40::/32": "61287", - "2a0c:f280::/29": "204703", - "2001:49d0:180::/42": "15116", - "2620:112:e000::/44": "26679", - "2800:160:2c03::/43": "14259", - "2804:1bc::/39": "10310", - "2001:559:c23a::/48": "33651", - "2a0d:e7c7:ffff::/48": "210015", - "2001:520:103b::/48": "8103", - "2001:559:43b::/48": "21508", - "2408:8459:1e50::/39": "17816", - "240a:abfa::/32": "145716", - "2803:ace0::/32": "269908", - "2804:24e8:c000::/34": "53171", - "2806:20d:5100::/38": "32098", - "2403:5800::/48": "4764", - "2404:f801:802c::/48": "45139", - "240e:67c:8c00::/33": "4134", - "2a06:b800:1000::/36": "48096", - "2a0f:607:1051::/48": "131668", - "240a:ae06::/32": "146240", - "2a02:26f7:d905::/46": "20940", - "2a03:90c0:4a0::/41": "199524", - "2a07:f9c0::/29": "60144", - "2600:9000:103b::/48": "16509", - "2804:10e8::/35": "263655", - "2804:3d78::/32": "266533", - "2a02:26f7:d088::/48": "36183", - "2401:b0c0:a000::/48": "136941", - "2402:800:387f::/40": "7552", - "240e:3bc:c000::/37": "140315", - "2600:180f::/32": "16552", - "2804:33bc::/32": "265414", - "2001:e68:2001:2::/40": "4788", - "2405:6e00:2400::/43": "18291", - "2600:100d:9e00::/44": "6167", - "2600:9000:11b6::/47": "16509", - "2804:3260::/32": "265074", - "2804:3f14::/32": "266638", - "2600:370f:2060::/45": "32261", - "2606:ff80:a::/48": "53259", - "2a02:6ea0:e600::/39": "60068", - "2a02:e980:a3::/39": "19551", - "2a03:36c0::/32": "12329", - "2a0a:e740::/29": "207020", - "2001:559:d2::/48": "7922", - "2408:8256:377c::/46": "17623", - "240e:44d:e80::/41": "4134", - "2602:ffe4:c2e::/43": "55836", - "2a00:10c0::/32": "8758", - "2401:7f40::/32": "136908", - "2600:6c38:10a::/45": "20115", - "2607:b600:12::/47": "10397", - "2a02:8200::/27": "9145", - "2001:67c:2780::/48": "200060", - "2401:ff80:1c8d::/46": "133954", - "2409:8924:2700::/36": "56046", - "2607:f4e8:14::/48": "23059", - "2600:370e:7000::/42": "32261", - "2604:7c0::/39": "395841", - "2804:6148::/32": "269226", - "2804:74d8::/32": "271007", - "2606:be80::/32": "394678", - "2610:20:2000::/43": "7764", - "2804:2144::/46": "52795", - "2001:df0:45::/48": "37918", - "2408:8459:b410::/42": "17623", - "2804:2728:702::/36": "263880", - "2806:230:202c::/48": "265594", - "2a04:4345:10::/44": "38965", - "2001:b70::/32": "25061", - "2600:1406:2000:100::/54": "2914", - "2608:120:c::/48": "5927", - "2801:16:a800::/48": "27817", - "2a02:2590::/32": "51615", - "2a02:26f7:d609::/46": "20940", - "2a10:53c0::/29": "34907", - "2001:d30:3::/48": "4796", - "2401:d280::/32": "133771", - "2600:1406:4::/44": "20940", - "2607:fee0:2100::/33": "3599", - "2605:8000:91::/38": "4261", - "2804:4054::/32": "265952", - "2606:df80::/32": "64227", - "2800:bf0:8265::/48": "27947", - "2001:57a:104::/40": "22773", - "2001:678:60c::/48": "207608", - "2401:8e00:9100::/33": "9260", - "2405:6e00:2488::/45": "133612", - "2800:160:165e::/42": "14259", - "2806:230:500b::/48": "11888", - "2a0e:1380::/35": "209987", - "2804:156c::/32": "61905", - "2001:559:856d::/48": "33287", - "2001:559:c128::/48": "33287", - "2001:1398:16::/48": "27678", - "2408:8459:5630::/41": "17622", - "2607:fb90:d900::/38": "21928", - "2800:200:b390::/42": "12252", - "2803:2a01:9800::/46": "27895", - "2804:1c24::/32": "28670", - "2a02:26f7:f249::/42": "20940", - "2a09:13c0::/48": "209562", - "2001:1980::/39": "29838", - "2602:fd66:b45::/37": "14756", - "2001:978:2305::/48": "9009", - "2400:9380:8030::/48": "4134", - "240e:44d:4080::/41": "4134", - "2600:4c00:200::/39": "63410", - "2602:ff67::/36": "15231", - "2620:110:f000::/44": "17012", - "2804:5b9c::/32": "268858", - "2400:9380:9050::/47": "4809", - "2409:8028:8f3::/45": "9808", - "2409:8a52:100::/38": "56047", - "2409:8c0c::/30": "56042", - "2600:6c38:d12::/47": "20115", - "2606:8c00::/48": "22995", - "2a0b:6b83::/35": "202562", - "2607:f858:9::/32": "4136", - "2401:d800:d7f0::/36": "7552", - "2a02:108::/32": "3292", - "2a0d:4fc0::/29": "49191", - "2001:4490:d800::/46": "9829", - "2402:3380::/32": "134119", - "2408:8656:2ef2::/44": "17623", - "2a00:1358:f100::/30": "6866", - "2a0d:8240::/29": "210190", - "2600:1007:b1b0::/41": "22394", - "2606:a600:4002::/48": "397933", - "2a02:cb43:a000::/47": "20546", - "2804:628c:2000::/42": "269303", - "2806:20d:5005::/43": "32098", - "2001:579:f040::/42": "22773", - "240e:63::/34": "140313", - "2607:fdf0:5e37::/44": "8008", - "2a0b:4341:1500::/48": "57695", - "2a10:8a40:ff01::/29": "39405", - "2001:559:63::/48": "7015", - "240e:44d:7b80::/41": "4134", - "240e:473:6e50::/39": "4134", - "2604:380::/32": "237", - "2a01:7080:15::/42": "42848", - "2a01:ae20::/32": "47381", - "2a03:2880:f120::/47": "32934", - "2408:8956:6900::/40": "17816", - "2602:807:6000::/46": "53978", - "2001:559:3da::/48": "7016", - "2402:800:5971::/44": "7552", - "2408:8956:9800::/40": "17622", - "2605:a000:70f::/36": "10796", - "2a0a:90c0:1090::/48": "205080", - "2a0e:b680::/29": "208016", - "2800:160:1496::/42": "14259", - "2a02:23a8::/32": "16164", - "2a03:3380:3::/32": "47169", - "2001:67c:1364::/48": "41289", - "2400:7100::/32": "63590", - "2400:a980:7900::/37": "133111", - "2602:fde5::/42": "393424", - "2605:a401:87c4::/36": "33363", - "2a02:26f7:83::/48": "20940", - "2406:da1c::/36": "16509", - "2406:e002:1000::/34": "23655", - "2a01:7480::/32": "12750", - "2a11:c0::/32": "47753", - "2001:df4:e800::/48": "133453", - "2400:dc00:c000::/46": "131111", - "240a:a6fb::/32": "144437", - "2a00:1d36:1200::/39": "47331", - "2a03:1a00::/32": "39647", - "2001:1248:97b6::/44": "11172", - "2800:120:7::/32": "27843", - "2a00:79e1:805::/48": "15169", - "2a02:26f7:ecc4::/48": "36183", - "2a0b:1301::/32": "198018", - "2804:511c::/32": "268431", - "2001:df0:ea00::/48": "135469", - "2400:cb00:569::/48": "13335", - "2408:8956:9500::/40": "17816", - "2604:3400:dc3::/48": "209453", - "2605:e740:100::/40": "174", - "2620:11a:a0f1::/48": "36040", - "2804:11ec::/32": "52850", - "2401:ff80:198b::/45": "133954", - "2803:ba00:e00::/32": "52286", - "2a01:9700:1244::/46": "8376", - "2402:53c0::/36": "137144", - "2001:1a68:15::/48": "35491", - "2408:8459:8c30::/41": "17622", - "240a:a782::/32": "144572", - "2605:b280::/32": "26709", - "2804:28e4:e825::/35": "28260", - "2804:63f0::/32": "269393", - "2001:470:84::/44": "6939", - "2001:67c:2280::/48": "39399", - "2401:d800:bc80::/42": "7552", - "2001:44b8:30c8::/48": "4739", - "2401:6bfd::/32": "18220", - "2804:4d5c:c000::/34": "268192", - "2a02:26f7:c505::/46": "20940", - "2c0f:f3c0::/32": "3491", - "240a:ae48::/32": "146306", - "2a02:24b8::/40": "52030", - "2803:9c60::/32": "27896", - "2804:3ac0:f7b0::/36": "266107", - "2a0d:f103::/32": "208449", - "2804:6a70::/32": "270336", - "2a09:6340::/44": "42721", - "2001:cb0:210::/34": "4637", - "2620:0:2d0::/48": "40528", - "2a07:6c0::/29": "62116", - "2801:17:4800::/48": "27951", - "2001:4cec::/32": "34868", - "2404:cc80::/32": "135352", - "2a00:f980::/32": "21293", - "2a05:4140:6::/48": "211188", - "2a02:2638::/46": "44788", - "2400:fa40::/32": "58768", - "2401:8800:c06::/40": "17439", - "240a:a3de::/32": "143640", - "240a:a848::/32": "144770", - "2600:140b:1801::/38": "20940", - "2804:20c::/32": "28172", - "2a00:f940::/48": "12695", - "2001:840::/29": "5381", - "240e:982:a100::/38": "4812", - "2804:3d98::/32": "266541", - "2800:870:1003::/32": "6762", - "2001:67c:265c::/48": "24861", - "2607:fb10:5043::/42": "2906", - "2804:5948::/32": "268181", - "2001:470:7a::/40": "6939", - "2402:7500:4ff::/48": "24158", - "240a:a0f5::/32": "142895", - "2a0d:8680::/32": "204570", - "2607:9100::/32": "21743", - "2a01:aa40::/32": "59622", - "2a0c:3ec7::/32": "204310", - "2409:8914:4800::/34": "56044", - "2409:8a18::/31": "134810", - "2803:dac0:15::/38": "265634", - "2804:4b20::/32": "267285", - "2a01:b5a0::/32": "45010", - "2a0d:2581:5::/48": "209261", - "2a0e:6d00::/29": "39761", - "2402:8100:2470::/40": "55644", - "2404:e801:1004::/46": "55430", - "240e:3b4:ac00::/35": "4134", - "240e:804::/40": "140636", - "2600:1a0f:1001::/36": "46650", - "2804:14c:4d2::/42": "28573", - "2001:49f0:d0fb::/45": "174", - "240e:982:d900::/37": "4134", - "2607:8200:c000::/36": "6295", - "2607:a800:647::/48": "15695", - "2803:f00:49c::/41": "262182", - "2a01:c500::/29": "12479", - "2a07:8100::/29": "202865", - "2401:d800:6000::/35": "7552", - "2620:149:a12::/48": "6185", - "2804:2cd4:30::/41": "265246", - "2602:ff96:9::/48": "40676", - "2604:600::/33": "40260", - "2804:5e48:ff10::/48": "269023", - "2a00:6720::/32": "34031", - "2402:800:3601::/44": "7552", - "240e:473:4550::/40": "4134", - "240e:966:2000::/37": "4134", - "2a06:6540:3081::/48": "3549", - "2a0c:e640:8::/36": "211876", - "2a04:4e40:1e10::/41": "54113", - "2001:1248:5965::/44": "11172", - "2620:113:80c4::/42": "3680", - "2800:160:1d59::/42": "14259", - "2804:2cac:cccd::/35": "265234", - "2804:7520::/32": "271025", - "2a02:2698:7400::/38": "49048", - "2a02:26f7:d044::/48": "36183", - "2001:67c:7a4::/48": "199121", - "240a:61:e00::/48": "9605", - "2804:13dc::/32": "262428", - "2a03:6420::/32": "39384", - "2400:a980:c0::/44": "133111", - "2409:8c15:3c00::/33": "56044", - "2a01:678::/29": "29608", - "2001:559:8539::/48": "33652", - "2001:2001:5000::/36": "1299", - "2804:5ed8::/32": "269060", - "2a01:61c0::/40": "20860", - "2a01:c50f:f780::/36": "12479", - "2001:4878:4204::/48": "12222", - "2409:8914:c600::/39": "56044", - "2a04:9dc0:21::/29": "9009", - "2a0e:b107:b20::/44": "63279", - "240a:a1c3::/32": "143101", - "2a02:d8::/32": "44654", - "2400:6600::/32": "9812", - "2602:fdc8::/36": "397656", - "2804:2320::/43": "264144", - "2a05:1280::/29": "200647", - "2001:559:c17a::/47": "7016", - "2409:806b:3900::/33": "9808", - "2409:8904:5c70::/40": "24547", - "2620:110:e000::/46": "16653", - "2804:34bc::/32": "265476", - "2a03:5a00:8::/48": "49124", - "2c0f:f980::/35": "33763", - "240e:1c:6000::/32": "4134", - "2a02:ee80:424f::/43": "3573", - "2001:2f8:1003::/44": "2907", - "2001:559:821e::/48": "7015", - "2402:aa40::/32": "137330", - "2409:803c:3000::/40": "24444", - "2804:542c::/35": "268633", - "2a02:ef8::/32": "56730", - "2a03:4b27:f000::/36": "204320", - "2600:1404:a401::/38": "20940", - "2600:1406:8001::/37": "20940", - "2620:10:e000::/48": "55228", - "2c0e:4010:a000::/36": "36994", - "2001:1388:4::/44": "6147", - "2405:8a00:c024::/46": "55824", - "2409:8087:1e00::/39": "24400", - "240a:ac31::/32": "145771", - "2620:11d:9004::/44": "33186", - "2a01:5b0:27::/44": "50611", - "2001:1248:a51b::/42": "11172", - "2001:1520:7::/44": "8972", - "2400:9700:130::/32": "24550", - "2408:8956:1700::/40": "17816", - "2804:6a00::/32": "270305", - "2a02:29d0::/32": "35575", - "2408:8256:3c61::/43": "17623", - "2600:140e:2::/48": "24319", - "2600:14a0:1::/40": "20940", - "2803:7e00:600f::/32": "28026", - "2804:3d04::/32": "266248", - "2a00:10c8::/32": "12835", - "2a0c:4380:9ff2::/48": "51945", - "2404:6800:480f::/32": "15169", - "2600:1009:b040::/42": "6167", - "2a01:a940::/32": "15954", - "2001:4878:a010::/48": "12222", - "240a:ad65::/32": "146079", - "2607:7b00:7000::/36": "54643", - "2607:fcd0:fa80:3601::/52": "8100", - "2a00:f70::/32": "30962", - "2a02:2430:5::/46": "59491", - "2c0e:2007:200::/23": "5713", - "2001:559:84f0::/48": "7016", - "2001:67c:2124::/48": "39526", - "2001:1a98::/29": "6677", - "2401:4900:40a0::/41": "45609", - "2402:800:b0a0::/41": "7552", - "2408:8957:7c00::/40": "17622", - "2606:8b80::/32": "15129", - "2001:559:58e::/48": "7015", - "2408:8957:2c00::/40": "17622", - "2804:154c:500d::/46": "263382", - "2408:840c:8f00::/40": "17621", - "2600:1003:b1e0::/37": "22394", - "2804:145c:d000::/36": "263327", - "2a01:6960::/32": "39542", - "2a0e:aa07:e200::/44": "210903", - "2001:678:c40::/48": "207754", - "2402:800:9e40::/43": "7552", - "2402:800:9847::/43": "7552", - "2409:8062:2c00::/35": "9808", - "2804:45f8::/32": "266958", - "2a0b:6c80::/32": "12586", - "2603:c023:4000::/35": "31898", - "2804:466c::/32": "262689", - "2a00:c827:7::/32": "60330", - "2a01:1b8:6::/32": "1257", - "2404:bf40:ec02::/35": "139084", - "240e:838:50::/25": "4134", - "2804:3868:1000::/37": "266475", - "2804:5550:200::/33": "263067", - "2806:2f0:72::/40": "17072", - "2a03:aa40::/34": "12843", - "2001:df6:b780::/48": "142290", - "2604:3380::/28": "46437", - "2605:67c0::/32": "397911", - "2607:6100::/45": "54380", - "2a04:4e40:2010::/41": "54113", - "2402:ee80:b::/45": "132647", - "2a0c:8305::/32": "61049", - "2402:800:532b::/41": "7552", - "240a:a56a::/32": "144036", - "2607:fb00::/32": "13760", - "2806:3a9::/33": "265626", - "2a02:26f7:d8c1::/46": "20940", - "2001:67c:50::/48": "38970", - "2800:160:10d2::/47": "14259", - "2804:75b4::/32": "271064", - "2402:800:6277::/44": "7552", - "2409:801e:300f::/31": "24400", - "2a02:d280::/29": "197296", - "2001:559:c2c7::/48": "7015", - "2001:43f8:1f5::/48": "37668", - "2401:d800:5c50::/39": "7552", - "240e:44d:4780::/41": "4134", - "240e:438:2c40::/38": "4134", - "2800:160:1ee1::/44": "14259", - "2a01:8::/27": "2860", - "2a02:26f7:c984::/48": "36183", - "2a04:9500::/29": "62097", - "2a04:f580:9050::/48": "4809", - "2a0e:b105:524::/46": "20473", - "2620:149:a17::/48": "714", - "2001:678:61c::/48": "204423", - "2405:7f00:a560::/36": "133414", - "2407:c280:4000::/48": "24322", - "2a0b:eb80::/29": "38946", - "2800:b70:100::/48": "262191", - "2602:ffe2:99::/48": "53334", - "2406:840:f000::/44": "142582", - "2804:5f84::/32": "269105", - "2a0a:7cc0::/47": "60880", - "2001:559:83d1::/48": "7922", - "2400:9840::/32": "136217", - "2600:1408:9400::/48": "35994", - "2a02:26f7:db80::/48": "36183", - "2001:678:618::/48": "206006", - "240a:a687::/32": "144321", - "2a00:fc00:e003::/48": "47266", - "2a02:4c07:4000::/32": "12676", - "240e:878:180::/42": "137689", - "2804:1d04:5000::/36": "61689", - "2a02:26f7:e544::/48": "36183", - "2001:df0:b580::/48": "138876", - "2600:80c:1400::/39": "11486", - "2a01:ab20::/32": "47302", - "2400:dd0d:2001::/30": "7497", - "2605:6ac0:3000::/36": "32374", - "2a0d:5800::/29": "34422", - "2602:ffcb::/36": "21757", - "2a0f:1c0::/29": "60262", - "2001:67c:6f4::/48": "50073", - "240a:ab17::/32": "145489", - "2806:230:3019::/48": "11888", - "2a00:4820::/32": "24800", - "240a:a717::/32": "144465", - "2800:510::/32": "28022", - "2a00:b580::/32": "16188", - "2a02:6c20:6::/48": "207167", - "2a0b:bbc0:1c00::/40": "58010", - "2401:d800:d810::/42": "7552", - "240a:abf4::/32": "145710", - "2804:529c::/32": "268529", - "2403:18c0:1000::/47": "54574", - "240e:978:b00::/37": "4134", - "2600:1406:800::/48": "35994", - "2804:4220::/32": "267479", - "2a02:26f7:be44::/48": "36183", - "2001:418:2401:9::/64": "20940", - "2408:836c::/30": "4837", - "2600:140b:3::/48": "24319", - "2a05:6d80::/29": "9110", - "2001:550:8800::/48": "46642", - "2803:2a80:2::/48": "262928", - "2804:a54::/44": "262664", - "2a00:1af0::/29": "35699", - "240a:a33d::/32": "143479", - "2804:1080:8004::/33": "28287", - "2a09:e100::/29": "209834", - "240a:a59e::/32": "144088", - "240a:a5b9::/32": "144115", - "2607:fc58:1:30::/64": "13536", - "2a02:2350::/32": "51468", - "2a02:26f7:d249::/46": "20940", - "2a03:2887:ff15::/48": "35819", - "2001:408::/44": "14793", - "2001:559:8714::/48": "33662", - "2001:678:4b4::/48": "48395", - "2001:df0:e3::/48": "9536", - "2402:800:520f::/43": "7552", - "2a0e:97c0:4da::/48": "211024", - "2001:559:c235::/48": "7922", - "240e:3b2:ec00::/35": "140314", - "2a00:1728:25::/46": "34224", - "2a01:9980:1::/46": "50837", - "2a02:e982:3::/43": "19551", - "2a03:91c0::/32": "57394", - "2a0b:11c0:30::/45": "198682", - "2804:5c88::/32": "268914", - "2a05:1082:f000::/48": "211013", - "2a0d:3842:1100::/48": "57629", - "2a0e:b107:ae0::/47": "207632", - "2001:df0:d4::/48": "55870", - "2001:1508::/32": "29208", - "2409:8935::/28": "9808", - "240a:adeb::/32": "146213", - "2804:1dfc::/32": "262765", - "2001:67c:628::/48": "28727", - "2001:1938::/50": "12989", - "2a02:26f7:d600::/48": "36183", - "2a0e:b107:1596::/48": "142598", - "2001:550:1200:6::/45": "174", - "2605:7840:9130::/33": "12130", - "2a02:2a68::/32": "702", - "2804:53f0::/32": "268617", - "2a0c:9a40:1060::/48": "34927", - "2401:bc40:e303::/48": "136899", - "2600:6:ff05::/48": "1239", - "2a00:f46::/44": "43447", - "2a02:26f7:e384::/48": "36183", - "2403:e800:922::/32": "4637", - "2803:14c0::/32": "28023", - "2804:d0c::/32": "53112", - "2806:2f0:328::/41": "17072", - "2a04:4e40:2400::/45": "54113", - "2a0d:380::/29": "200044", - "2001:559:c2f2::/48": "33651", - "2604:9b40::/32": "29848", - "2804:18:6850::/39": "10429", - "240e:964:8c00::/35": "4134", - "2600:1013::/32": "6167", - "2a04:fa87:fffd::/46": "2635", - "2a0a:e200:1511::/36": "33438", - "2001:4408:6d00::/44": "55824", - "2408:8956:b700::/40": "17816", - "2607:7b00:3000::/33": "54643", - "2804:4de0::/32": "268225", - "2a04:c007::/32": "204248", - "2408:8956:9100::/40": "17816", - "2605:a401:860d::/42": "33363", - "2620:12f:c007::/44": "395831", - "2a04:5500::/29": "60357", - "2a09:9c00::/29": "209947", - "2c0f:e810::/32": "328624", - "2001:18e8:c02::/47": "10680", - "2404:df40::/32": "24249", - "240a:a4c2::/32": "143868", - "240e:250:2906::/48": "134419", - "2604:2e80:1804::/37": "30036", - "2604:e580::/32": "62600", - "2a04:b900::/31": "8587", - "2800:6e0::/32": "52320", - "2803:1a00::/35": "262186", - "2a02:26f0:4201::/39": "20940", - "2a02:26f7:c88d::/46": "20940", - "2a07:f680::/29": "202311", - "2400:a980:5100::/37": "133111", - "2400:adc4::/39": "9541", - "2605:f980::/32": "7753", - "2a0a:e040::/29": "42349", - "2409:8a20:c800::/34": "56046", - "240a:a7f4::/32": "144686", - "2620:186:8::/46": "19690", - "2001:559:bd::/46": "33491", - "2001:559:8415::/48": "33659", - "2001:6d0:6d06::/48": "8985", - "2405:1c0:6143::/43": "55303", - "2801:1b:800::/48": "267855", - "2001:579:a11d::/41": "22773", - "240a:a037::/32": "142705", - "2803:f7e0:2040::/48": "271773", - "2806:20d:162c::/43": "32098", - "2a02:f30::/32": "15879", - "2001:15d8::/32": "8657", - "2401:1840::/32": "136001", - "2600:1419:5c00::/48": "4230", - "2607:fb10:71d0::/32": "2906", - "2804:594::/32": "19723", - "2c0f:fda0::/32": "37525", - "2401:ff80:1b81::/45": "133954", - "2408:8459:3430::/44": "17623", - "2804:1538::/32": "263378", - "2804:2cac:bbbc::/33": "265234", - "2804:352c::/32": "262662", - "2804:50f4::/32": "268421", - "2804:72e4::/32": "270882", - "240a:a68d::/32": "144327", - "240e:438:8240::/37": "4134", - "2803:ba00::/37": "52286", - "2804:14c:475::/46": "28573", - "2001:559:202::/48": "33657", - "2001:4818:3000::/36": "40341", - "2404:f4c0:f90e::/47": "139833", - "2406:f700::/32": "132837", - "2620:13:2000::/48": "29807", - "2804:1b2::/35": "18881", - "2804:1d70::/32": "264368", - "2402:800:3a55::/42": "7552", - "240a:a2ef::/32": "143401", - "2804:2d4:10::/44": "28244", - "2401:b200:46::/43": "24186", - "2403:d000::/32": "23720", - "240a:a940::/32": "145018", - "2001:559:85b6::/44": "33491", - "2a02:ee80:40a9::/43": "3573", - "240a:a3c3::/32": "143613", - "240a:ae9f::/32": "146393", - "2a10:d700::/29": "44874", - "2600:100f:b070::/40": "22394", - "2a02:2600::/32": "48299", - "2a02:ce00::/29": "47521", - "2402:7340:1::/46": "136557", - "2408:8956:5e00::/40": "17622", - "2600:141b:14::/48": "35994", - "2806:10a6:4::/43": "8151", - "2804:7db8::/32": "271578", - "2001:559:80e1::/48": "33662", - "2001:678:da4::/48": "213068", - "2001:df1:ba80::/48": "139735", - "2402:b801:2900::/38": "18371", - "2408:8256:2f6e::/43": "17623", - "2409:8030:1009::/45": "9808", - "2600:1011:b070::/39": "6167", - "2a0a:d6c0:194::/48": "211447", - "2001:480:241::/43": "668", - "2408:4009:501::/22": "37963", - "2408:8456:1a40::/40": "17816", - "2804:17e0::/32": "263256", - "2a02:26f7:d148::/47": "36183", - "2a02:5360::/32": "51326", - "2a09:c740::/32": "205718", - "2001:559:c25a::/45": "20214", - "2406:8b40::/39": "141218", - "2a00:eb0:101::/32": "39912", - "2a02:26f7:d5ca::/42": "20940", - "2a0d:3a40:1::/48": "41838", - "2001:1398:275::/48": "52306", - "2a01:6bc0::/32": "50061", - "2001:252:ff00::/40": "4538", - "2001:559:c221::/48": "33657", - "240a:a640::/32": "144250", - "2606:3380:54::/48": "53334", - "2a0d:2146:8040::/48": "209864", - "2001:559:820d::/48": "7015", - "240a:ac8f::/32": "145865", - "2a0f:24c0::/29": "207954", - "2001:44b8:1066::/47": "7545", - "2402:8100:3840::/42": "45271", - "240e:438:3840::/38": "4134", - "2620:124:1000::/44": "12161", - "2802:0:12::/48": "18747", - "2804:6d24::/32": "270515", - "2a0e:b107:fa0::/44": "212756", - "2001:388:c5::/42": "7575", - "2408:8459:be30::/41": "17622", - "2804:3adc::/32": "266114", - "2a0b:4340:90::/48": "205610", - "2401:3d00::/28": "17547", - "240e:3b6:2800::/38": "4134", - "2607:f738:900::/41": "17184", - "2408:8459:6830::/41": "17622", - "240a:a316::/32": "143440", - "2803:d080::/32": "27960", - "2001:559:3::/44": "7922", - "2600:140b:cc00::/48": "24319", - "2800:160:1bbc::/46": "14259", - "2001:559:c3d7::/48": "22909", - "2402:3a80:1900::/40": "38266", - "240a:addc::/32": "146198", - "2602:fd72::/36": "2740", - "2804:1690::/37": "263292", - "2a04:f580:9220::/48": "4809", - "2404:4e00:1::/48": "32787", - "2801:80:13b0::/48": "264083", - "2400:dcc0:ad04::/38": "38631", - "2402:800:7690::/42": "7552", - "2001:1938:2001::/48": "26769", - "2800:160:127f::/40": "14259", - "2a02:26f7:f0c4::/48": "36183", - "2001:67c:2b80::/48": "60997", - "2001:67c:2fd0::/48": "201925", - "2400:5880::/32": "58983", - "2a00:a900::/33": "60819", - "2c0f:e8e8::/32": "327750", - "2001:559:832c::/48": "7016", - "2001:44b8:4070::/45": "7545", - "2604:3700:1000::/34": "10973", - "2620:130:5000::/44": "11714", - "2a02:26f7:d009::/42": "20940", - "2a10:1380::/29": "207335", - "2001:559:c327::/48": "7016", - "2001:ad0::/33": "3327", - "2600:80c::/40": "11486", - "2001:468:2640::/48": "11164", - "2406:ae00:101::/32": "55564", - "240a:a398::/32": "143570", - "2600:141b:1001::/37": "20940", - "2001:559:8445::/48": "21508", - "2408:8256:3283::/44": "17623", - "2804:51a4:4100::/34": "268467", - "2804:1994:d400::/34": "262905", - "2804:2210::/32": "264589", - "2a0c:4140::/32": "206656", - "2a0d:ec0::/29": "41709", - "2001:44b8:6066::/48": "7545", - "240a:aa9e::/32": "145368", - "240e:473:800::/41": "140485", - "2804:58::/32": "262659", - "2a01:4640:100::/38": "9042", - "2a02:2078::/32": "47720", - "2a0d:4f40::/32": "202724", - "2001:3c8:c306::/36": "4621", - "2001:4de0:6000::/40": "33438", - "240a:a1de::/32": "143128", - "2a02:26f7:fac8::/48": "36183", - "2a04:4720::/30": "31511", - "2a05:8700::/29": "43513", - "2a0d:3c45::/32": "51659", - "2400:cb00:94::/44": "13335", - "240a:aa9d::/32": "145367", - "240a:ac5d::/32": "145815", - "2602:fd50:bb::/48": "206628", - "2606:8700::/32": "7050", - "2a01:e0::/32": "39854", - "2a0e:2940::/29": "207787", - "240a:a081::/32": "142779", - "240e:473:b320::/41": "140486", - "2803:ad60::/32": "271920", - "2a06:5040:20::/45": "6134", - "2a06:e881:7300::/47": "213151", - "2a0e:b107:14e0::/44": "211481", - "2001:678:a40::/48": "204911", - "2a02:26f7:2f::/48": "20940", - "2a03:680::/32": "197518", - "2a04:cec0::/35": "5410", - "2a0d:2d40::/32": "62075", - "2a05:6a00::/29": "51395", - "2001:67c:1914::/48": "20708", - "2001:67c:2d84::/48": "201129", - "2402:ef2c::/31": "7633", - "2620:154:a10::/48": "16733", - "2804:14c:6330::/40": "28573", - "2a01:a280::/46": "35000", - "2a02:730:4000::/48": "42371", - "2001:56a:e::/47": "7861", - "2405:6400:2000::/35": "23678", - "2620:34::/48": "3356", - "2a04:4e40:f630::/44": "54113", - "2400:a980:38ff::/48": "133111", - "2404:c000:4004::/47": "55818", - "2604:bc40:6001::/39": "22188", - "2a02:2e02:89e0::/38": "12479", - "2a10:300::/29": "207367", - "2604:ca00:e000::/48": "36492", - "2606:3b00::/32": "4906", - "2804:3604::/32": "266321", - "2001:559:18b::/48": "7015", - "2600:2800::/30": "13490", - "2001:1a68:14::/48": "51373", - "2400:ee00:ffff::/48": "17962", - "2401:4900:1973::/45": "45609", - "2408:8456:4640::/36": "17816", - "240a:61::/36": "9605", - "240a:abc2::/32": "145660", - "240e:3b1::/35": "134773", - "2606:6680:30::/48": "12129", - "2a0d:c480::/29": "60721", - "2001:559:3d9::/48": "7922", - "2408:8656:2ef1::/48": "17816", - "2804:673c:4000::/32": "269615", - "2a06:7d40::/29": "34428", - "2602:fddb::/36": "397460", - "2001:559:354::/47": "7922", - "2001:5d8::/32": "3742", - "2804:7540::/35": "271034", - "2a01:4ae0::/32": "59933", - "2407:3c80:3::/45": "55705", - "240e:97f::/33": "58543", - "2602:ff96:1a::/48": "40676", - "2408:8256:3780::/44": "17623", - "240a:a04d::/32": "142727", - "2602:fe19:4003::/45": "26073", - "240a:a987::/32": "145089", - "2605:a401:8313::/42": "33363", - "2a00:1a40::/32": "33923", - "2a06:21c0::/29": "51942", - "240a:a67b::/32": "144309", - "240e:b3c::/25": "4134", - "2606:4640::/32": "399521", - "2804:2aec::/32": "265125", - "2a07:59c6:eed3::/48": "48646", - "2400:cb00:373::/45": "13335", - "2606:8100::/32": "21817", - "2a05:fb45::/32": "208861", - "240e:944:1000::/34": "4134", - "2600:1009:a020::/40": "22394", - "2602:ff1d::/47": "31843", - "2607:ffb0::/34": "6327", - "2800:160:1d92::/42": "14259", - "2a05:1500:500::/40": "43345", - "2001:df1:3580::/48": "135985", - "2400:c700:381::/35": "55644", - "2402:800:5e60::/43": "7552", - "2408:8409:a800::/40": "4808", - "2620:96:c000::/48": "399932", - "2801:13c::/42": "18747", - "2a00:4cc5::/32": "203875", - "2a02:26f7:66::/48": "36183", - "2a06:6c0::/46": "200738", - "240a:a0c3::/32": "142845", - "240e:870:10::/42": "4134", - "2600:6000:f570::/48": "11351", - "2620:148:f00::/44": "4983", - "2806:2f0:364::/43": "17072", - "2a0c:da04:10::/46": "202365", - "2001:253:106::/48": "142072", - "2402:800:32d3::/44": "7552", - "2406:8600:efaf::/48": "45915", - "2602:fc8b::/47": "211544", - "2c0f:ecc0::/47": "328523", - "2407:500:500::/48": "58940", - "2408:8459:8e30::/41": "17622", - "2a00:b940::/32": "33991", - "2a02:970:1447::/44": "44002", - "2a04:1bc7::/32": "60982", - "2001:13c7:7002::/48": "28001", - "2400:a980:3500::/36": "133111", - "240a:a57e::/32": "144056", - "240a:a67d::/32": "144311", - "240e:3b8:f100::/36": "4134", - "2620:11f:7003::/45": "13737", - "2a02:26f7:d480::/48": "36183", - "2a06:180::/29": "198371", - "2404:6900:cd00::/34": "17819", - "2804:2728:3::/37": "263880", - "2a03:a300:2000::/48": "35104", - "2a05:4840::/29": "60576", - "2001:fd8:b080::/42": "132199", - "240a:af28::/32": "146530", - "2a06:b282::/29": "199213", - "2408:840d:2900::/42": "17621", - "2602:fe6a:10::/40": "54632", - "2800:160:1994::/44": "14259", - "2a03:7380:5840::/42": "13188", - "2800:160:1634::/41": "14259", - "2804:7dc8::/32": "271582", - "2a02:330::/45": "31261", - "2a07:3c00::/29": "42093", - "2a0d:c740:1c::/48": "49367", - "2600:1417:e000::/48": "8966", - "2804:7974::/32": "271306", - "2a02:26f7:f181::/46": "20940", - "2a03:2880:f020::/47": "32934", - "2a03:ebc0:1000::/36": "31400", - "2a06:78c0:db::/48": "210079", - "2a0b:6900::/48": "206873", - "2a0e:8f00:dfc0::/42": "213018", - "2001:661:8000::/35": "2470", - "2406:e000:37a::/40": "23655", - "2607:fdf0:5e3e::/47": "8008", - "2804:5ae4::/32": "268803", - "2a03:6960::/32": "198944", - "2a0e:46c7::/48": "34681", - "2a00:c020:9000::/33": "200414", - "2a02:ae8::/29": "20625", - "2402:800:3901::/44": "7552", - "2409:8051:3800::/47": "56047", - "240e:87c::/40": "137692", - "2606:2940::/32": "15017", - "2a01:6240::/29": "58273", - "2a02:26f7:cd84::/48": "36183", - "2001:559:874a::/45": "7922", - "2409:8004:3041::/43": "24547", - "2804:39ac::/32": "266043", - "2a02:2e02:8b00::/41": "12479", - "2a02:f040::/47": "59605", - "2001:dcc:6::/48": "131100", - "240a:14:ecc::/48": "9605", - "2607:f6f0:6001::/48": "394749", - "2a03:3160::/32": "62149", - "2001:7fc:2::/48": "3970", - "2001:ee0:3d0::/35": "45899", - "2404:2600::/32": "4776", - "2406:840:e1ec::/48": "141237", - "2804:da0::/32": "28587", - "2804:537c::/32": "268587", - "2a02:1348::/32": "51059", - "2a04:680::/29": "61395", - "2001:4878:21e0::/44": "35994", - "2401:1880::/32": "45177", - "2804:254::/32": "262806", - "2a02:22c0::/32": "43045", - "2a09:84c0:700::/32": "8145", - "2001:7fc:1::/48": "16509", - "240a:af2f::/32": "146537", - "2620:17e:21::/43": "26072", - "2804:15fc::/33": "28359", - "2a02:fe0:dd06::/31": "41164", - "2a0c:af00:f5a1::/48": "205321", - "2400:13c0::/32": "135893", - "2602:fc5f::/36": "399772", - "2804:7f28::/32": "271670", - "2a02:26f7:e001::/46": "20940", - "2600:1403:8401::/36": "20940", - "240e:354:6400::/31": "4134", - "2604:6d00:1::/48": "36223", - "2804:7c30::/32": "271481", - "2a02:2971::/29": "43847", - "2001:1838:100b::/40": "23352", - "2a02:26f7:c980::/48": "36183", - "2401:ff80:1289::/43": "133954", - "2408:840d:7700::/42": "17621", - "2602:fea7::/40": "397270", - "2a02:26f7:e408::/48": "36183", - "2001:559:8493::/48": "7015", - "2404:0:10a7::/41": "17709", - "2406:3400:5d::/42": "10143", - "2408:8956:b900::/40": "17816", - "240e:3b9:9c00::/34": "140310", - "2001:1998:200::/39": "16787", - "2a01:750::/32": "6702", - "2a02:26f7:de44::/48": "36183", - "2a0c:9640::/29": "197248", - "2408:8957:c400::/40": "17622", - "2600:370f:3645::/43": "32261", - "2604:d600:616::/47": "32098", - "2620:11f:7005::/48": "399333", - "2a03:f80:56::/48": "28099", - "240a:aaa6::/32": "145376", - "2602:fe34::/36": "397095", - "2801:80:3e80::/48": "271640", - "2a00:10b8::/32": "47116", - "2a02:c205::/30": "51167", - "2a0d:b600::/29": "48642", - "2800:68:11::/48": "262212", - "2a00:18e0:2::/48": "196763", - "2a03:c7c0::/32": "59432", - "2a0c:8dc7::/32": "43260", - "2a0d:ae80::/32": "34953", - "2001:df3:ff80::/48": "140924", - "2606:c000::/32": "2721", - "2408:8459:b010::/42": "17623", - "2806:2f0:9102::/42": "17072", - "2a00:1b98::/32": "25376", - "2a0c:d2c0::/32": "57335", - "2a0d:3841:1030::/48": "57629", - "2a0b:5c80::/29": "204779", - "2001:559:8630::/48": "33659", - "240e:3b7:5600::/34": "4134", - "2604:180:9::/45": "3842", - "2804:4b0::/32": "262459", - "2a00:1760::/30": "42772", - "2a02:28d8::/36": "15774", - "2a05:d540::/29": "47269", - "2a0f:f380::/29": "60262", - "2a0b:bc7::/32": "39122", - "240a:aa6a::/32": "145316", - "2a0e:b107:1dd::/46": "139328", - "240a:aa2d::/32": "145255", - "240e:473:7c50::/39": "4134", - "2607:f3a0:a005::/48": "399815", - "2a02:2af8::/39": "702", - "2a07:be00::/29": "31723", - "2a01:c50f:dd40::/38": "12479", - "2001:559:c325::/48": "7725", - "2400:6280:139::/46": "132280", - "2407:ac0::/32": "136696", - "240a:aaa4::/32": "145374", - "2a00:ee8::/32": "43503", - "2a01:178::/32": "8607", - "2a01:5042:eff::/48": "202196", - "2a02:26f0:7600::/48": "34164", - "2001:4210:9805::/44": "25818", - "2602:feda:c51::/48": "212279", - "2604:5b80::/32": "22898", - "2803:f3e0::/43": "270077", - "2001:559:c181::/46": "7922", - "240e:108:11d8::/48": "134769", - "2606:6a00::/32": "14280", - "2a04:5201:4::/48": "200740", - "2001:559:3b6::/48": "7922", - "2803:88e0::/32": "269868", - "2001:503:e8ef::/48": "7342", - "2401:d800:7160::/40": "7552", - "2604:2180::/32": "396098", - "2c0f:f408::/46": "37684", - "2406:600::/34": "4694", - "2801:88::/32": "53166", - "2a02:7b02:2000::/36": "48328", - "2a03:4f20::/29": "200719", - "2a0c:7680:1337::/48": "50629", - "2a0d:bd87::/32": "59601", - "2001:913:6000::/36": "204092", - "2404:6380:1000::/48": "138950", - "2800:bf0:8166::/40": "27947", - "2a03:afe1::/32": "198203", - "2001:559:46f::/48": "33287", - "2001:df1:6400::/48": "55925", - "2409:8a4d:e00::/30": "9808", - "2610:20:8030::/44": "6629", - "2800:440:9200::/42": "27738", - "2a02:26f7:da09::/46": "20940", - "2602:fc6a:210::/48": "399747", - "2804:4544::/40": "266915", - "2a0b:8f80:103::/48": "29290", - "2408:8956:3100::/40": "17816", - "240e:d9:b000::/33": "4134", - "2600:1009:a000::/43": "6167", - "2804:3c4c::/32": "266202", - "2001:b030:9400::/34": "3462", - "2400:9380:90c0::/44": "136167", - "2804:1bd8:8001::/40": "28224", - "2a01:c50f:bcc0::/38": "12479", - "2a03:3a40:2001::/32": "199629", - "2402:6440:1::/46": "135905", - "240a:a503::/32": "143933", - "2605:7380::/32": "25697", - "2804:2ee0::/32": "265372", - "2804:4204::/32": "267472", - "2a00:e2c0::/32": "6830", - "2a03:4b40:8000::/29": "50710", - "2402:4000:12f0::/34": "18001", - "2402:6800:3::/45": "55429", - "2620:0:402::/47": "3389", - "2804:1498::/32": "263339", - "2804:49bc::/32": "267200", - "2402:800:9c39::/41": "7552", - "2a0f:5707:aa00::/44": "34924", - "240e:473:9750::/40": "4134", - "2a02:26f7:db01::/46": "20940", - "240a:2:ccc::/48": "9605", - "240a:a543::/32": "143997", - "2001:559:800e::/43": "7922", - "2401:d800:500::/41": "7552", - "240e:473:3a50::/39": "4134", - "2a0f:8a00::/29": "43402", - "2a0e:2400::/29": "64463", - "2001:3c8:900a::/34": "4621", - "2001:67c:1b1c::/48": "43719", - "2400:6280:142::/45": "132280", - "2404:7180:aa10::/48": "23848", - "2409:8d1b::/29": "9808", - "2600:9000:107f::/40": "16509", - "2a0c:7180::/29": "35207", - "2001:ee0:320a::/41": "45899", - "2001:44c8:4000::/43": "131445", - "2607:fb58:4000::/36": "36086", - "2001:559:810f::/43": "33659", - "240e:44d:3b00::/41": "140345", - "240e:982:9400::/40": "63838", - "2804:5f38::/32": "269084", - "2a02:26f7:cd40::/48": "36183", - "2001:500:100::/46": "21775", - "2600:1017:9400::/44": "22394", - "2620:a3::/48": "116", - "2a06:b080:a001::/48": "203776", - "2a02:26f7:c308::/48": "36183", - "2001:3c8:1602::/39": "4621", - "2607:fae0:9000::/36": "62529", - "2a02:2e02:1e40::/42": "12479", - "2a04:6fb0::/31": "58005", - "2600:1407:12::/48": "35994", - "2804:bd0:df::/32": "10670", - "2a02:26f7:de01::/46": "20940", - "2a0d:f46::/32": "61157", - "2408:8456:640::/39": "17816", - "240e:e1:1000::/33": "4134", - "2620:0:2a09::/48": "30343", - "2a03:6400::/43": "11054", - "2001:559:868a::/48": "33657", - "2400:adc0:c000::/47": "9541", - "2404:b300:10::/48": "59318", - "240e:90e:3000::/27": "4134", - "2602:ff88::/36": "33346", - "2600:1010:be0e::/39": "22394", - "2600:8070::/28": "29992", - "2800:410::/32": "10269", - "2a02:26f7:e905::/46": "20940", - "2610:a1:3024::/48": "12008", - "2620:d4:8000::/48": "27250", - "2804:4c24::/32": "263103", - "2a02:26f7:be00::/48": "36183", - "2001:559:43::/48": "33491", - "2001:559:857c::/48": "33659", - "240a:aa84::/32": "145342", - "240e:62:c000::/36": "4134", - "2602:feda:af8::/48": "138210", - "2604:5500:9000::/38": "19165", - "2604:9d80::/43": "395172", - "2a06:aa40:cadb::/48": "51931", - "2409:8914:c200::/39": "56044", - "2a06:e881:180f::/48": "206885", - "2a07:1c44:6300::/37": "64473", - "2803:3b80:c000::/36": "263702", - "2804:53b8::/32": "268602", - "2a00:d2e0::/29": "15600", - "2404:3800:f::/48": "38719", - "2a04:4e40:4200::/48": "54113", - "2001:480:561::/38": "668", - "2401:4900:4bd5::/44": "45609", - "2600:1008:a020::/40": "22394", - "2a06:2bc0::/29": "204171", - "2001:470:e4::/48": "36103", - "2001:67c:2e10::/48": "200986", - "2404:60c0::/32": "131911", - "2408:80ea:7700::/41": "17816", - "2001:df6:4880::/48": "140168", - "2402:800:949b::/42": "7552", - "240a:affd::/32": "146743", - "2804:48dc::/32": "267149", - "2a02:c0::/32": "39029", - "2001:c20:b006::/33": "3758", - "2404:4f80:320::/32": "58715", - "2806:104e:13::/42": "8151", - "2a02:26f7:d2c9::/42": "20940", - "2620:6c:40c0::/48": "32", - "2001:418:1456:1400::/52": "2914", - "2001:559:857a::/48": "7016", - "2001:810::/32": "8839", - "2404:f4c0:1100::/48": "37972", - "2600:140f:a800::/48": "9498", - "2600:1417:2::/48": "24319", - "2600:370f:74c8::/47": "32261", - "2804:eec:4002::/48": "25933", - "2a00:55a0:7::/48": "19969", - "2a01:c50f:a4c0::/38": "12479", - "2a02:26f7:bdc5::/46": "20940", - "2408:8459:9410::/42": "17623", - "2804:43dc::/32": "267595", - "2a01:4400:6::/48": "1257", - "2a02:26f7:f6e4::/48": "36183", - "2a0e:fd40::/39": "44103", - "2001:67c:2788::/48": "3301", - "2803:8060::/32": "267803", - "2a02:218::/29": "44973", - "2a02:970:1449::/39": "44002", - "2001:fd8:b270::/44": "4775", - "2402:e380:309::/48": "137940", - "2a0e:b107:22::/48": "208181", - "2001:1978:2000::/40": "13768", - "2403:bf40::/48": "131386", - "2405:ec01:2000::/32": "137412", - "2409:8c30:150::/35": "9808", - "2001:67c:20::/48": "198303", - "2a0f:9207:25::/32": "45009", - "2409:8902::/31": "38019", - "2806:250:10::/48": "28555", - "2001:559:b6::/47": "33287", - "2408:8957:d6c0::/39": "17816", - "2a00:8920::/32": "25415", - "2a02:26f7:d5c0::/48": "36183", - "2a07:6cc0:30::/47": "61098", - "2001:4490:7f8::/45": "9829", - "2402:d000:8139::/45": "9329", - "2620:10a:8003::/48": "15290", - "2804:238c:1000::/36": "264169", - "2a0a:1dc4::/30": "35758", - "2a10:2f00:168::/48": "211640", - "2001:460::/44": "3561", - "2001:ee0:df00::/34": "45899", - "2606:4680::/32": "19116", - "2804:57f4:800::/48": "264349", - "2607:3180:b001::/33": "14877", - "2804:3400::/32": "265430", - "2600:1408:1c01::/34": "20940", - "2801:80:3770::/46": "269498", - "2804:58c8::/32": "268149", - "2a0b:c700::/29": "204403", - "2001:b400:f218::/45": "17421", - "2600:1417:9801::/34": "20940", - "2610:108:3100::/40": "13506", - "2804:1e70::/33": "264429", - "2001:67c:2ae8::/48": "58329", - "2001:c20:486f::/43": "3758", - "2600:6c38:50a::/45": "20115", - "2a01:14f::/32": "47443", - "2a02:26f7:c040::/48": "36183", - "2001:678:e78::/48": "41225", - "2a00:1218::/32": "34772", - "2a01:7d8::/47": "34744", - "2600:100d:b0f0::/44": "22394", - "2a0f:b104::/48": "213110", - "2407:8b80::/32": "63631", - "2a02:70e0::/32": "61296", - "240a:a5a4::/32": "144094", - "240a:aa38::/32": "145266", - "2604:c400::/32": "30350", - "2a06:8dc6::/44": "57878", - "2401:f880::/32": "133936", - "2402:3a80:1364::/47": "38266", - "240e:3b9:7600::/39": "140313", - "240e:3bc:ac00::/35": "4134", - "2607:f4e8:ac2::/48": "55429", - "2804:6028::/32": "269149", - "2a00:800:441::/31": "1257", - "2001:1248:5998::/45": "11172", - "2620:91::/48": "6124", - "2a02:26f7:bb01::/45": "20940", - "2a02:2e02:9f70::/40": "12479", - "2400:9880::/32": "133333", - "2409:8d80:9000::/34": "56040", - "2803:a0a0:901::/48": "269799", - "2804:680:b00::/37": "262589", - "2a01:5a80::/32": "13213", - "2a04:1c84::/32": "60964", - "2001:550:3801::/38": "174", - "2001:1618::/32": "15702", - "2402:e800::/32": "37912", - "2605:700::/32": "13750", - "2804:738::/32": "53153", - "2804:8198::/32": "272464", - "2a00:d280::/48": "43919", - "2403:a800::/32": "1239", - "2408:8459:250::/37": "17816", - "240a:a584::/32": "144062", - "2a02:26f7:be49::/42": "20940", - "2a05:1082:f00f::/48": "210956", - "2001:2040::/32": "3301", - "240e:3bf:2c00::/35": "134774", - "2602:805:2000::/45": "394392", - "2a03:e140:f::/48": "42608", - "2400:7fc0:240::/44": "55960", - "2402:8100:2600::/42": "45271", - "2409:8904:d0b0::/39": "24547", - "2605:c00:1200::/40": "46920", - "2607:fe28:11::/34": "53347", - "2610:a1:303c::/48": "12008", - "2806:2f0:8161::/40": "17072", - "2a0b:52c0::/32": "205691", - "2400:10c0::/32": "136007", - "2401:d800:f830::/41": "7552", - "2603:b010:fffe::/47": "11796", - "2a09:7c45::/32": "135330", - "2001:559:301::/48": "33652", - "2408:8a06::/47": "9929", - "2804:a14:8400::/35": "262342", - "2a00:1230::/29": "20902", - "2a02:26f0:9a01::/39": "20940", - "2001:559:13b::/48": "397601", - "2001:6d0:ffd9::/48": "3316", - "2800:ab0::/32": "262196", - "2804:5520::/36": "268691", - "2a09:3700::/29": "61100", - "2001:559:86f3::/48": "7725", - "2409:8050:3100::/37": "9808", - "240a:a337::/32": "143473", - "2604:9140:ffff::/48": "265721", - "2a05:f780:4000::/36": "57667", - "2001:678:d98::/48": "3303", - "2a04:8880::/31": "52102", - "2a06:b1c0::/29": "203765", - "2a09:8280:2f::/48": "40509", - "2a0e:b107:23::/48": "44024", - "2001:559:8298::/47": "33661", - "2401:d800:5b0::/41": "7552", - "2403:300::/37": "714", - "240a:a81b::/32": "144725", - "2620:1d5:d::/39": "14773", - "2a01:b740:a1f::/48": "714", - "2a02:a30:f091::/45": "8926", - "2400:3f80::/32": "7664", - "2607:f3a0:2000::/35": "40061", - "2804:3e10::/32": "266571", - "2001:500:3::/48": "20144", - "2001:559:8177::/44": "7922", - "2408:8956:3f00::/40": "17816", - "240e:3ba:2800::/38": "4134", - "2804:14d:a495::/41": "28573", - "2a06:bbc2:1::/48": "212044", - "2a0a:90c0::/44": "198912", - "2602:fd66::/36": "14756", - "2803:1a00:4113::/35": "262186", - "2804:5e68::/32": "269031", - "2a04:4e40:7e00::/48": "54113", - "2403:3800:601::/39": "4007", - "2408:8957:3b00::/40": "17816", - "2a00:ccc1:4::/48": "30823", - "2001:559:c353::/48": "7016", - "2620:171:3b::/45": "42", - "2804:14d:8000::/40": "28573", - "2a0b:4340:530::/41": "131477", - "2001:67c:2938::/48": "1880", - "2001:12e0:200::/40": "10429", - "2001:4488:f962::/38": "7713", - "2600:6c3a:77::/37": "20115", - "2806:370:5500::/40": "28403", - "2a03:a580::/32": "197914", - "2a0a:ec00::/32": "20836", - "2402:800:61a5::/43": "7552", - "2409:8a1e::/31": "24400", - "2620:1ec:34::/48": "8068", - "2a0b:8140::/29": "38948", - "2408:8456:1d40::/40": "17816", - "240a:a808::/32": "144706", - "2620:11b:e0c2::/42": "3356", - "2804:ef0::/39": "263558", - "2402:b180:9000::/36": "49544", - "2804:cb8::/32": "53213", - "2001:559:334::/48": "7015", - "2a03:6947:200::/40": "49800", - "2404:f900:21::/43": "58482", - "2405:4240:1::/48": "135370", - "240a:a7c2::/32": "144636", - "2804:1314::/32": "263514", - "2a0a:ec02:301::/48": "42692", - "2a0e:8f00:f100::/47": "49933", - "2402:9900:411::/48": "132084", - "2a00:1210:fffd::/48": "16223", - "2a00:86c0:2078::/47": "2906", - "2401:4900:1680::/39": "45609", - "2408:8956:bd00::/40": "17816", - "2602:fce8::/36": "395823", - "2800:68:40::/48": "27947", - "2804:47fc::/32": "267090", - "2806:2f0:3124::/41": "17072", - "2a0e:97c0:1505::/48": "20473", - "2408:84eb::/29": "4837", - "2801:80:1d30::/48": "265916", - "2804:2098::/32": "264500", - "2806:230:3021::/48": "11888", - "2001:56a:4::/44": "852", - "2001:b28:5::/33": "42065", - "2607:ac80:100::/40": "397511", - "2001:559:862c::/48": "33287", - "2001:67c:1368::/48": "20932", - "2404:bf40:8083::/39": "139084", - "240e:379:1a00::/34": "140330", - "2606:4840::/32": "399570", - "2804:14c:5f00::/40": "28573", - "2a02:26f7:f0c9::/42": "20940", - "2001:67c:1e4::/48": "15779", - "2a04:6c80::/48": "6718", - "2001:559:83c6::/48": "7015", - "240a:a81c::/32": "144726", - "240e:980:2300::/40": "58519", - "2603:c0e8::/39": "1218", - "2604:4300:f0d::/43": "33387", - "2804:2784::/32": "263906", - "2001:67c:22e4::/48": "47886", - "2607:e880:8224::/48": "12220", - "2607:f8f0:210::/41": "271", - "2804:256c::/32": "264280", - "2a02:26f0:3701::/36": "20940", - "2804:1f8::/32": "262787", - "2804:66ec::/32": "269591", - "2a10:c941::/43": "35277", - "2403:7200::/32": "9785", - "240a:aa43::/32": "145277", - "240a:afd6::/32": "146704", - "2600:380::/39": "20057", - "2804:2ec::/32": "262848", - "2a02:26f0:90::/45": "20940", - "2001:ee0:c340::/37": "45899", - "2409:8904:5640::/42": "24547", - "2600:1003:f110::/37": "22394", - "2409:8907:7120::/38": "24547", - "2607:f380:a68::/48": "396310", - "2804:3ccc::/32": "266235", - "2a02:4a40:100::/48": "42673", - "2409:803c:3900::/31": "9808", - "240a:ab6f::/32": "145577", - "2804:7744::/32": "271166", - "2a00:1e10::/32": "12494", - "240a:af6b::/32": "146597", - "2804:27a4::/32": "263914", - "2a00:1248:501d::/46": "39058", - "2a0e:b107:ea8::/46": "211640", - "2001:559:c204::/48": "7922", - "240a:a68b::/32": "144325", - "240a:a759::/32": "144531", - "2605:ed00:6887::/48": "3834", - "2a01:d8::/45": "5537", - "2a05:68c0::/29": "201059", - "2a0e:5c41::/30": "57578", - "2001:559:86a0::/47": "7015", - "2600:1415:e001::/37": "20940", - "2604:d600:1570::/46": "32098", - "2804:2084::/35": "264496", - "2804:34f8::/32": "265492", - "2806:1000::/32": "8151", - "2a02:26f7:d140::/48": "36183", - "2001:df2:ce00::/48": "45899", - "2400:cb00:26::/44": "13335", - "2402:800:548d::/43": "7552", - "240a:a5e2::/32": "144156", - "240e:3b8:dc00::/34": "4134", - "2605:cd00::/32": "53907", - "2001:678:300::/48": "39892", - "2402:800:35e0::/44": "7552", - "2001:44b8:404d::/48": "4739", - "2001:49d0:8400::/38": "2496", - "2603:c011:e000::/36": "31898", - "2804:14d:4e00::/40": "28573", - "2407:6800::/32": "9723", - "240a:a11d::/32": "142935", - "240a:a8aa::/32": "144868", - "2600:1407:22::/45": "35994", - "2605:7440::/32": "20128", - "2607:6000:100::/40": "12189", - "2607:f820::/34": "11051", - "2a01:54e0:6800::/38": "62287", - "2401:4900:18e0::/44": "45609", - "2402:9d80:920::/41": "131429", - "2409:40c0:1000::/32": "55836", - "2801:170:1::/46": "264648", - "2a00:9500::/32": "43608", - "2a02:610:fffe::/48": "43615", - "2a0e:3940:d000::/36": "60767", - "2405:d3c0::/32": "133164", - "240a:a1e8::/32": "143138", - "240a:ab59::/32": "145555", - "2607:6004:100::/40": "12189", - "2c0e:7800::/24": "36969", - "2001:1248:9acf::/42": "11172", - "2800:160:1e93::/45": "14259", - "2a02:26f7:c356::/47": "20940", - "2a03:60c1::/29": "31251", - "2a0c:b381:400::/32": "204731", - "2001:df0:3600::/48": "135014", - "2602:fe9c::/36": "33345", - "2620:103:e019::/48": "13893", - "2800:160:1d34::/44": "14259", - "2806:106e:18::/42": "8151", - "2401:1d40:2101::/36": "59019", - "2401:d800:7cc0::/42": "7552", - "2409:8751:700::/36": "56047", - "240e:83::/37": "23724", - "240e:3b6::/35": "134773", - "240e:978:5000::/40": "137702", - "2804:4f8:a300::/36": "28263", - "2a02:c800:43::/32": "43930", - "2a02:e840:1002::/48": "8485", - "2a0a:6580::/32": "206548", - "2a0b:3780::/32": "206487", - "2a0e:b107:15e0::/48": "208753", - "2408:840c:8800::/40": "17621", - "240a:a133::/32": "142957", - "2600:140b:7401::/38": "20940", - "2a10:740::/29": "62240", - "2409:801f:300f::/32": "24400", - "2409:8904:9290::/39": "24547", - "240e:679:e600::/30": "4134", - "2600:6c3a:401::/46": "20115", - "2620:11a:a011::/48": "36040", - "2806:230:201c::/48": "265594", - "2a00:db60:4000::/48": "15224", - "2001:559:8554::/48": "7016", - "2001:13c7:6011::/48": "52375", - "2406:56c0::/32": "18229", - "240e:d9:a000::/37": "38283", - "2001:559:8720::/48": "33491", - "2001:a40::/32": "9186", - "2804:5348::/32": "268574", - "2620:135:f000::/44": "393468", - "2a00:16c8::/39": "50173", - "2401:d800:9ca0::/41": "7552", - "240a:a418::/32": "143698", - "2600:6c38:85a::/40": "20115", - "2c0f:edb0::/32": "36236", - "2001:253:113::/48": "142079", - "2001:2e0::/33": "9293", - "2001:c00:101::/33": "4618", - "2001:df0:8800::/48": "23901", - "2001:44b8:40d7::/48": "7545", - "2607:9080:6::/48": "7018", - "2a05:8943::/29": "3356", - "2001:559:173::/45": "7016", - "2408:8456:b840::/38": "17816", - "2600:370f:37a2::/41": "32261", - "2a06:ef40::/32": "50495", - "2a0a:4785::/32": "59504", - "2a10:4d40::/29": "49409", - "2401:fa00:60::/32": "45566", - "240a:ac1b::/32": "145749", - "240e:55:4000::/30": "4134", - "2602:ff99:6::/36": "14333", - "2607:fda8:8008::/48": "54004", - "2804:2f6c::/32": "264890", - "2620:9:6000::/48": "22742", - "2001:559:583::/48": "7015", - "240a:accc::/32": "145926", - "2607:fcf0:2::/45": "13445", - "2610:a1:3054::/48": "12008", - "2a02:2e02:1610::/40": "12479", - "240e:3b3:7800::/39": "4134", - "2804:958::/32": "263077", - "2a06:96c0::/29": "60517", - "2a02:26f0:e01::/35": "20940", - "2001:559:82a4::/48": "33287", - "240a:ac73::/32": "145837", - "240e:44d:1e80::/41": "4134", - "2610:a1:3048::/48": "12008", - "2803:6a0::/32": "266884", - "2804:1f38::/32": "268118", - "2806:2f0:42c1::/46": "17072", - "2a0e:c740::/29": "60262", - "2401:d800:9200::/42": "7552", - "2408:8256:2c84::/43": "17623", - "240a:a53d::/32": "143991", - "240e:109:8029::/48": "4134", - "2603:c013::/36": "31898", - "2a02:2660::/32": "42459", - "2a0c:4a00:c10::/42": "203351", - "2406:2000:ef69::/48": "56173", - "2600:4041:1000::/24": "701", - "2606:db00::/32": "393398", - "2a02:26f7:e145::/46": "20940", - "240e:3b1:d000::/36": "134772", - "2001:4830:c0d0::/42": "27552", - "240a:a8f2::/32": "144940", - "2600:80a:861::/31": "701", - "2604:2d80:ec00::/35": "30036", - "2804:5940::/32": "268179", - "2a01:8840:8a::/45": "12041", - "2a0d:ce80::/29": "204189", - "2001:559:5d9::/48": "33491", - "2001:67c:29d4::/48": "58247", - "2406:3540:fff0::/44": "17415", - "2605:a401:80ba::/47": "33363", - "2804:70a0::/32": "270738", - "2a02:e50::/32": "49605", - "2a07:e400::/29": "202282", - "2001:579:9208::/41": "22773", - "2001:a98:8001::/33": "8517", - "2405:6e00:f840::/48": "133612", - "2a00:1858::/32": "25454", - "2001:559:875d::/46": "7922", - "2600:1407:17::/48": "35994", - "2806:265:300::/37": "13999", - "2a03:23e0::/32": "201688", - "2a0c:3a80::/40": "35325", - "2001:1b28::/37": "8728", - "2409:8907:7520::/38": "24547", - "240a:a1c7::/32": "143105", - "2604:f100::/32": "33234", - "2a00:1b30::/32": "25478", - "2a01:7e80:117::/38": "197990", - "2001:559:c322::/48": "7015", - "2a00:18d8:2::/47": "328126", - "2a00:cb60:2::/32": "49312", - "2001:559:599::/48": "33660", - "2001:559:84cf::/48": "22909", - "2408:8957:8b00::/40": "17816", - "2800:160:12ce::/43": "14259", - "2804:4ae0:200::/32": "267269", - "2806:2f0:3401::/46": "17072", - "2405:7600:2::/34": "23956", - "2801:80:2a0::/48": "262534", - "2804:46a0::/36": "52562", - "2a02:26f7:e248::/48": "36183", - "2a0b:7a80::/29": "34856", - "2001:559:515::/48": "7016", - "2405:3200:701::/43": "17639", - "2409:8028:1090::/41": "56041", - "2604:a100:200::/48": "6939", - "2001:559:c1ae::/48": "7725", - "2405:9800:c90a::/47": "45430", - "2804:4b28::/32": "267287", - "2001:559:740::/48": "21508", - "2001:44b8:105c::/48": "7545", - "240a:ab8a::/32": "145604", - "2801:80:1930::/48": "264979", - "2804:5818::/35": "268106", - "2405:aac0:52::/48": "139949", - "240e:473:7920::/41": "140486", - "2001:d00::/32": "17678", - "2001:44c8:4600::/42": "131445", - "2801:1f:2000::/48": "263831", - "2a02:26f7:da11::/42": "20940", - "240a:af41::/32": "146555", - "2610:148::/32": "2637", - "2800:160:1589::/45": "14259", - "2620:0:2a01::/48": "31997", - "2001:67c:21ec::/48": "56662", - "240a:a6ff::/32": "144441", - "2605:a401:8177::/40": "33363", - "2a0c:2e00::/29": "56708", - "2001:579:c08d::/41": "22773", - "240a:afb4::/32": "146670", - "2602:fcc3:ab0::/48": "399135", - "2804:5264::/32": "268515", - "2a00:86c0:2042::/43": "2906", - "2001:559:82d3::/48": "7922", - "2001:1248:883f::/41": "11172", - "2404:3d00:4124::/47": "3573", - "2408:8459:ec30::/41": "17622", - "240e:925:1000::/34": "4134", - "2a0f:bc0::/29": "203536", - "2401:ff80:198d::/46": "133954", - "2001:16a0:6000::/48": "25019", - "2620:171:d4::/44": "715", - "2804:14c:fc00::/40": "28573", - "2a01:8d0::/32": "30722", - "2a02:26f7:ca84::/48": "36183", - "2a02:26f7:f589::/46": "20940", - "2400:9380:8003::/48": "4134", - "240a:a1ae::/32": "143080", - "2604:6840:ff::/48": "20446", - "2a02:578::/34": "9031", - "2403:8000::/44": "4796", - "2408:8956:2300::/40": "17816", - "2607:fcd0:10a::/35": "8100", - "2620:57:2000::/48": "22652", - "2803:5500::/32": "52431", - "2001:4878:8141::/48": "12222", - "2401:d000::/28": "38195", - "240a:aeba::/32": "146420", - "2a02:26f7:b5c5::/46": "20940", - "2a02:f401::/30": "206283", - "2a04:4e40:7210::/41": "54113", - "2001:57a:b800::/33": "22773", - "2804:71f0::/32": "270821", - "2804:7bf8::/39": "271466", - "2a00:1df0::/32": "5464", - "2804:19e0::/32": "61824", - "2804:5590::/32": "267942", - "2a01:af::/32": "200363", - "2001:500:71::/48": "33071", - "2401:d800:2550::/40": "7552", - "2804:2a50::/32": "262819", - "2804:73d8::/32": "270941", - "2a02:2698:402a::/47": "56377", - "2804:5d70::/32": "268972", - "2a02:26f7:f549::/46": "20940", - "2a0c:7880::/29": "60781", - "2001:550:9c04::/47": "174", - "2804:4188::/32": "267439", - "2001:678:c7c::/48": "44416", - "2402:e280:215c::/46": "134674", - "2001:559:8161::/48": "33657", - "2001:579:e3a4::/43": "22773", - "2804:3268:8100::/35": "265076", - "2804:6500::/32": "269462", - "2a07:6680::/29": "202954", - "2a09:1f00::/29": "197205", - "2405:f000::/32": "7530", - "240a:a73f::/32": "144505", - "2a01:73c0::/39": "21450", - "2a0e:7580:4590::/48": "9312", - "2001:559:287::/48": "33662", - "2403:4f00:6000::/36": "63956", - "240a:acaa::/32": "145892", - "2804:8c::/45": "28216", - "2a0d:8d04::/30": "44103", - "2408:84f3:e010::/42": "134543", - "2a02:2010:6002::/48": "20978", - "2a06:e881:6209::/48": "7489", - "2a0e:4380::/29": "208711", - "2001:67c:219c::/48": "49542", - "2001:67c:2608::/48": "197422", - "2001:6a8::/32": "2611", - "2400:8b00:c00::/42": "45727", - "2600:140b:9800::/48": "24319", - "2600:2004:3000::/36": "33517", - "2806:230:401a::/48": "265594", - "2001:559:856a::/48": "7016", - "240e:438:2a20::/43": "140647", - "2606:7d80:1000::/33": "16399", - "2a02:26f7:c3dc::/48": "36183", - "2a05:5080::/48": "62222", - "2a0f:e240::/29": "60781", - "2001:559:82d7::/48": "33668", - "2001:12a0:aaab::/33": "28292", - "2402:9a00::/32": "38199", - "2001:1248:55ff::/38": "11172", - "2620:101:b068::/43": "12079", - "2a0c:7b81::/32": "47596", - "2001:67c:206c::/48": "49788", - "2604:c200::/32": "33544", - "2a01:5a8:9::/32": "8866", - "2a02:4140::/45": "43957", - "2a07:4580:b0e::/29": "46261", - "2001:978:2306::/47": "174", - "2409:8a52:700::/36": "56047", - "240a:a79f::/32": "144601", - "2804:2fd8::/32": "264915", - "2804:75a4:fc::/46": "265130", - "2001:df2:2800::/48": "55353", - "2001:1248:1::/45": "11172", - "2a02:752:2::/48": "43948", - "2a02:2e02:c10::/42": "12479", - "2001:c28::/32": "4685", - "2408:80fa:6300::/35": "17816", - "2804:4150::/32": "267426", - "2806:20d:5030::/45": "32098", - "2806:210::/32": "28466", - "2001:559:8410::/48": "7015", - "2001:559:848a::/48": "33491", - "2001:559:c191::/48": "13367", - "2c0f:eef0:27::/48": "15695", - "2a0a:340:ff00::/40": "48043", - "2406:6040::/32": "138257", - "240a:aa1e::/32": "145240", - "240e:473:9a50::/39": "4134", - "2606:8800::/32": "19940", - "2804:74a8::/39": "270995", - "2a02:26f7:bfc4::/48": "36183", - "2a07:8900::/29": "15516", - "2001:480::/44": "668", - "2001:678:301::/48": "29551", - "2610:100::/34": "8047", - "2001:67c:1360::/48": "41231", - "2408:8957:8e00::/40": "17622", - "2604:d600:1b0a::/37": "32098", - "2806:267:2300::/37": "13999", - "2a10:c640::/48": "211541", - "2001:16b0::/32": "12741", - "2001:4878:8219::/48": "12222", - "2804:426c::/32": "267499", - "2804:5594:4000::/32": "267943", - "2a07:3502:1160::/48": "20559", - "2001:678:7b0::/48": "199568", - "2001:67c:24e0::/48": "198141", - "2407:d700::/32": "132884", - "240a:aeab::/32": "146405", - "2600:380:f104::/46": "20057", - "2605:f700:10::/48": "18978", - "2620:4e:2000::/48": "14694", - "2a0c:b641:d0::/44": "212196", - "2401:d800:28c0::/42": "7552", - "2a01:280:388::/48": "42303", - "2a02:2a48::/32": "43853", - "2a0e:1101::/47": "51255", - "2001:1388:70c2::/45": "6147", - "2001:4038::/32": "31383", - "2600:1488:60c1::/46": "20940", - "2606:a000::/37": "11426", - "2607:f4a0::/37": "11272", - "2804:6d50::/32": "270524", - "2806:263:3300::/37": "13999", - "2a02:26f7:fa89::/42": "20940", - "2a0e:97c0:1400::/40": "20473", - "2405:8100:8005::/48": "13335", - "2a00:1e6a::/41": "49373", - "2a02:2e0::/38": "12306", - "2001:4490:3400::/42": "9829", - "2404:bf40:8180::/46": "7545", - "2408:8957:c940::/40": "17816", - "2600:1409:3::/48": "20940", - "2804:6814::/32": "269668", - "2a0d:d200::/29": "54543", - "240a:a227::/32": "143201", - "2600:140f:7801::/32": "20940", - "2803:6900:200::/48": "52423", - "2806:230:3008::/48": "265594", - "2a02:fe00::/29": "199332", - "2a0d:2581:2333::/48": "209261", - "2001:559:5fb::/48": "33287", - "240a:a3a4::/32": "143582", - "240a:ada0::/32": "146138", - "2606:1a40:101c::/42": "398962", - "2a0c:9a40:8086::/48": "3280", - "2a0e:b107:200::/44": "207036", - "2600:1406:4800::/48": "35994", - "2604:cac0:133::/45": "11019", - "2605:5940::/32": "14235", - "2804:3da4:1100::/32": "266544", - "2804:4454::/32": "267625", - "2806:230:6011::/48": "11888", - "2a03:1fe0::/32": "39509", - "2001:559:8002::/44": "7922", - "2001:c20:c816::/48": "3758", - "2404:2800::/32": "9942", - "240e:bf:c800::/37": "4835", - "240e:90d:b000::/33": "4134", - "2a02:22d0:d::/32": "61323", - "2a02:26f7:da45::/46": "20940", - "2605:1080:0:ffd0::/60": "23367", - "2a00:ca80::/32": "29134", - "2a06:500::/29": "38990", - "2408:8957:9800::/40": "17622", - "2409:8c28:89f1::/35": "56041", - "2a02:26f7:ba89::/42": "20940", - "2a04:83c0::/29": "41561", - "2406:e002:c000::/29": "23655", - "2409:8904:9690::/34": "24547", - "2409:8a35::/28": "9808", - "2001:559:5d1::/48": "33659", - "2401:4900:4f80::/44": "45609", - "240a:a608::/32": "144194", - "2804:43c0:c000::/34": "267588", - "2a03:9d40:2d00::/38": "41095", - "2a03:e2c0::/32": "205125", - "2408:8956:f2c0::/37": "17816", - "240a:acf1::/32": "145963", - "2804:e54::/32": "262807", - "2a01:8180:3000::/36": "29063", - "2a03:a600::/29": "44600", - "2001:559:52e::/48": "33662", - "2401:d800:5790::/42": "7552", - "240e:3b6:d000::/36": "134772", - "2620:137:6000::/44": "393507", - "2800:484:1300::/37": "10620", - "2a02:26f7:c5c8::/48": "36183", - "2001:df0:214::/48": "132696", - "2a02:cbf7:2::/39": "61157", - "2001:67c:20f4::/48": "39732", - "2001:df6:8100::/47": "137670", - "2408:8956:9f00::/40": "17816", - "2600:1419:4c01::/35": "20940", - "2606:4700:302d::/43": "13335", - "2804:7198::/32": "270799", - "2a01:8840:10::/48": "12041", - "2a04:1500::/29": "61026", - "2806:230:3017::/48": "11888", - "2001:253::/39": "38272", - "2001:579:6240::/40": "22773", - "2403:1940:1000::/34": "137935", - "240a:a420::/32": "143706", - "240a:aac5::/32": "145407", - "2602:ffc5:108::/48": "20473", - "2603:60bd::/32": "11426", - "2a02:26f7:92::/48": "36183", - "2a0a:6680:bee5::/48": "203500", - "2a0c:9a40:8130::/46": "209833", - "2804:e94:8000::/44": "262468", - "2a0c:4481:8::/47": "204720", - "2403:1300:9000::/33": "56286", - "2408:8956:c940::/40": "17816", - "2620:103::/47": "19994", - "2620:17a:8::/48": "7345", - "2a02:f406:fe50::/48": "206283", - "2a03:5a00:35::/48": "201717", - "2a10:5fc0::/29": "213373", - "2a02:26f7:f848::/48": "36183", - "2001:4478:2::/35": "4802", - "2406:2000::/40": "10310", - "2409:8087:c00::/38": "56042", - "2409:8c20:b282::/33": "56046", - "240a:af09::/32": "146499", - "240e:473:c50::/39": "4134", - "2a02:970:1354::/42": "44002", - "2a0c:9a40:1017::/48": "202479", - "2a10:e100::/29": "174", - "2a0a:dc00::/30": "51262", - "2001:df1:d400::/47": "133904", - "2001:1248:a4c5::/46": "11172", - "2404:3d00:40e8::/47": "21433", - "2620:60:8000::/44": "22953", - "2804:eec:2001::/33": "28226", - "2804:138b:c100::/41": "53037", - "2a02:26f7:b99d::/46": "20940", - "2001:df0:6a80::/48": "134986", - "2400:1880::/32": "17670", - "2402:2f80:4::/48": "63956", - "2408:8756:a00::/40": "136958", - "240e:3b0:5600::/34": "136199", - "2a0a:db00::/44": "51559", - "2a06:c780::/29": "198024", - "2a10:6840::/29": "60781", - "2001:559:3a3::/48": "7015", - "240e:438:8420::/43": "140647", - "2806:262:3300::/37": "13999", - "240a:a694::/32": "144334", - "240e:3bd:2200::/37": "136198", - "2604:d600:155d::/42": "32098", - "2a05:b300::/30": "46723", - "2a0b:efc0::/37": "60893", - "2001:559:5ec::/48": "33657", - "2406:840:eb80::/43": "140731", - "2a01:828::/29": "3209", - "2001:67c:2f04::/48": "16074", - "2409:8030:2100::/36": "9808", - "2806:2f0:30a4::/41": "17072", - "2a00:1418:8000::/36": "41391", - "2a02:26f7:d251::/46": "20940", - "2001:559:86e3::/45": "7922", - "2001:44b8:40::/46": "7545", - "2406:d501:10::/32": "136557", - "2408:8456:9840::/38": "17816", - "2600:141c:5001::/32": "20940", - "2607:9000::/34": "11878", - "2804:cc4::/43": "52551", - "2001:559:80d7::/48": "7015", - "2001:559:c0e9::/48": "7922", - "2605:70c0::/32": "265601", - "2804:18:6010::/44": "10429", - "2804:9d4:5108::/34": "262996", - "2408:8662::/29": "4837", - "240e:473:2b50::/40": "4134", - "2620:128:1004::/48": "53620", - "2804:314:10::/34": "61568", - "2804:1f3c::/36": "52910", - "2a04:4e40:5210::/41": "54113", - "2404:4c40::/32": "134937", - "2a02:2ad8::/39": "702", - "2a02:2e02:1460::/40": "12479", - "2a03:44a0:300::/48": "200521", - "2001:1238::/32": "22566", - "2402:800:9c8d::/42": "7552", - "240e:967:ea00::/39": "133776", - "2600:1f01:4860::/47": "16509", - "2600:370f:2025::/43": "32261", - "2620:74:a3::/45": "11840", - "2804:52f4:a30::/41": "268552", - "2401:7500:100::/40": "33480", - "2404:1a0::/35": "24334", - "2408:864c::/32": "4837", - "2606:7400::/32": "19310", - "2a07:3500:10a0::/48": "58083", - "2402:8100:12::/48": "45271", - "240a:aa37::/32": "145265", - "2607:f6f0:1400::/40": "398811", - "2a02:c78::/29": "5607", - "2a02:2aa0:120::/32": "702", - "2001:559:816a::/47": "33657", - "2a05:3880::/29": "201518", - "2a05:91c3:1::/48": "39511", - "2402:c800:f0::/32": "38639", - "240a:aac3::/32": "145405", - "240e:44d:4f80::/41": "4134", - "2602:feda::/48": "46997", - "2804:1380:173::/32": "263536", - "2806:2f0:99e1::/37": "17072", - "2a02:26f7:e745::/46": "20940", - "2a0e:15c0:34b::/29": "60781", - "2001:67c:13c4::/48": "196978", - "2001:6d0:ffb8::/48": "3316", - "2001:4b10::/32": "3213", - "2408:8220::/31": "4837", - "240e:438:6a20::/43": "140647", - "2607:fb10:5020::/47": "55095", - "2a0c:1940:20::/44": "60354", - "2620:4d:402a::/48": "395403", - "2806:2f0:1121::/46": "22884", - "2a03:5640:f140::/40": "2906", - "2a03:a4e0::/40": "50304", - "2a0d:2580:1000::/36": "213262", - "2001:4f8:a::/48": "1280", - "2804:738c:c010::/34": "270922", - "2a03:300::/32": "207934", - "2a0c:9e80::/32": "199520", - "2604:ca00:1d8::/42": "36492", - "2806:1010:d000::/34": "8151", - "2a00:6901:2::/47": "20926", - "2a00:c440::/29": "57963", - "240a:a0c9::/32": "142851", - "240e:3be:ac00::/35": "4134", - "2607:2700::/32": "11239", - "2806:2f0:2123::/48": "17072", - "2a03:2880:f167::/44": "32934", - "2001:559:801a::/48": "33667", - "240a:a68e::/32": "144328", - "2607:fcd0:fa80:1c01::/50": "8100", - "2803:a740:6::/34": "27810", - "2804:5ed4::/32": "269059", - "2a00:47c0:811::/48": "27435", - "2a00:5180::/48": "51957", - "240a:acdb::/32": "145941", - "240e:105::/32": "4134", - "2604:2e8b:7c00::/32": "30036", - "2803:a600::/32": "52388", - "2806:230:3001::/48": "11888", - "2a09:1500:20::/48": "208175", - "2001:4888:8024::/46": "22394", - "2402:c940::/32": "59217", - "2408:80fa:7580::/42": "17623", - "240a:a702::/32": "144444", - "2600:1406:e401::/36": "20940", - "2620:bf::/48": "3423", - "2804:14d:b291::/41": "28573", - "2001:500:88::/48": "16876", - "2001:559:a4::/48": "33651", - "2001:df7:c900::/48": "138616", - "2001:1248:7004::/46": "11172", - "2400:df80::/32": "133444", - "2600:370f:3080::/47": "32261", - "2803:4640::/32": "61506", - "2a0c:e140::/29": "42136", - "2405:dc0:8000::/48": "22604", - "2600:1001:d020::/41": "6167", - "2a0c:7dc0::/29": "18779", - "2a0e:b107:100::/44": "211972", - "2401:d800:2770::/40": "7552", - "240a:a842::/32": "144764", - "2600:1000:9100::/44": "6167", - "2600:140b:8c01::/35": "20940", - "2801:1fc:20::/48": "27951", - "2804:4cd8::/32": "267396", - "2001:559:8546::/48": "7922", - "240e:473:2720::/41": "140486", - "2803:11e0::/32": "269997", - "2a00:5d00::/32": "39153", - "2a0e:b107:31f::/48": "57164", - "2804:3fc0::/32": "265912", - "2001:550:2200:208::/46": "174", - "2001:df3:f900::/48": "137422", - "240e:438:9240::/37": "4134", - "2600:9000:2035::/46": "16509", - "2603:9031::/40": "33363", - "2607:fc48:c50::/48": "40009", - "2804:150:f000::/31": "10954", - "2a03:7580:4100::/32": "28785", - "2402:800:f350::/42": "7552", - "2406:840:eb00::/45": "142553", - "240a:ae4f::/32": "146313", - "2602:fe54:23::/33": "16584", - "2804:642c::/32": "269411", - "2001:559:460::/48": "33287", - "2001:559:84b7::/44": "7922", - "2600:1409:3001::/36": "20940", - "2a02:5300::/32": "34119", - "2a07:a880:4601::/45": "3399", - "2c0f:f530::/44": "61138", - "2409:8c75::/28": "9808", - "2602:fdb3::/36": "397945", - "2604:5000::/43": "7752", - "2a02:26f7:b::/48": "20940", - "2c0f:eea8:8000::/36": "39356", - "2405:30c0::/32": "45687", - "2607:9280:a::/47": "395502", - "2804:262c::/32": "264326", - "2806:103e:13::/42": "8151", - "2a0e:b107:911::/48": "211819", - "2001:678:408::/48": "47451", - "2401:d9c0::/36": "64271", - "2403:86c0::/32": "131633", - "240a:a61c::/32": "144214", - "2804:1a8c::/32": "61865", - "2a0e:63c0::/29": "208516", - "240a:a152::/32": "142988", - "2a02:26f7:e588::/48": "36183", - "2001:559:83e8::/48": "7922", - "2001:559:858f::/48": "33651", - "2406:fe00::/32": "23616", - "2408:8456:bc10::/42": "134543", - "2800:160:1928::/45": "14259", - "2c0f:f6d8:4016::/47": "21433", - "240e:12:800::/37": "134765", - "2600:bc02::/24": "54600", - "2800:484:3900::/38": "10620", - "2804:571c::/32": "268044", - "2a01:b740:a22::/48": "6185", - "2a07:9944:20::/48": "58305", - "2a0c:b641:231::/48": "209645", - "2001:678:e88::/48": "212548", - "2001:df7:a900::/48": "135987", - "2804:e50::/32": "53067", - "2804:1430::/32": "263316", - "2804:1c28::/32": "262746", - "2804:5b0c::/32": "268815", - "2001:4d0:2418::/48": "7847", - "2001:49f0:d0e7::/43": "174", - "2402:800:368d::/43": "7552", - "2600:140b:7801::/38": "20940", - "2a02:128:8::/48": "50916", - "2a02:26f7:cd04::/48": "36183", - "2001:418:c07::/35": "2914", - "2001:678:b64::/48": "30781", - "2001:df6:f900::/48": "138352", - "2602:fca6::/36": "399466", - "2606:2800:40c::/46": "15133", - "2804:204:710::/36": "28186", - "2a01:9140:cccc::/48": "52122", - "2403:5000:189::/32": "9304", - "240a:abd0::/32": "145674", - "2600:6c38:124::/47": "20115", - "2a02:26f7:d401::/46": "20940", - "2a09:6280:1::/48": "56603", - "2a0c:9a40:1050::/47": "34927", - "2a04:4e40:cc30::/41": "54113", - "2400:8b00:a00::/42": "45727", - "2600:1404:d001::/37": "20940", - "2804:1614::/34": "263266", - "2804:163c:303::/32": "263277", - "2a00:19f8::/32": "49010", - "2a01:ce95:8002::/33": "51964", - "2a02:6c00:f000::/44": "44971", - "2a04:bdc7:100::/48": "63473", - "2605:a401:842b::/39": "33363", - "2a01:8de0::/32": "47169", - "2a0b:b500:2::/32": "60764", - "2001:559:796::/48": "7015", - "2408:84f3:ba40::/37": "17816", - "240a:ac66::/32": "145824", - "2806:1060::/32": "8151", - "2a10:e5c0::/48": "58349", - "240a:ae1a::/32": "146260", - "2804:5dfc::/32": "52972", - "2400:8700:105::/32": "55394", - "2607:2400::/32": "40335", - "2806:230:204c::/48": "265594", - "2a0f:9d80::/32": "207449", - "2001:559:7b7::/48": "7922", - "2001:67c:2e9c::/48": "8742", - "240a:abad::/32": "145639", - "2620:171:71::/46": "42", - "2804:6a04:44::/32": "270306", - "2804:8238::/32": "272506", - "2806:2f0:1000::/46": "22884", - "2001:559:80f7::/48": "33651", - "2001:579:8f8::/38": "22773", - "2804:2054::/32": "264486", - "2a02:2e02:1300::/41": "12479", - "2a0c:f8c0::/30": "210214", - "2001:1248:a46e::/43": "11172", - "2600:1419:e801::/37": "20940", - "2804:676c::/32": "269627", - "2a01:8840:55::/48": "207266", - "2a03:34e0::/32": "12695", - "2a0f:85c1:cafe::/48": "207781", - "2001:559:8645::/46": "33651", - "2408:8256:397f::/48": "17816", - "2408:8956:4e00::/40": "17622", - "240a:ad07::/32": "145985", - "2001:628:2000::/48": "1120", - "2001:b58::/29": "20626", - "2001:559:361::/48": "7922", - "2409:8055:306d::/30": "56040", - "240a:ad92::/32": "146124", - "2607:fad0:4000::/36": "53824", - "2800:bf0:2001::/39": "27947", - "2a0e:1107::/48": "208975", - "2001:559:8636::/48": "7922", - "2409:8c20:5a63::/34": "56046", - "240a:a1f9::/32": "143155", - "2600:1004:b210::/33": "22394", - "2803:6604:a600::/33": "28075", - "2a00:6680::/46": "3320", - "2001:579:2702::/33": "22773", - "2001:4900::/32": "13657", - "2607:f7d8::/32": "26554", - "2620:38:2000::/48": "53535", - "2804:6140::/32": "61597", - "2a05:2600::/29": "57948", - "2a0c:b641:61e::/48": "208505", - "2001:559:817c::/48": "33667", - "2001:49f0:a01f::/41": "174", - "240a:a535::/32": "143983", - "2600:1003:f100::/44": "6167", - "2a0a:ec02:501::/48": "42692", - "2a0f:3300::/29": "208543", - "2001:67c:285c::/48": "213199", - "240a:a082::/32": "142780", - "2606:fa00::/32": "239", - "2804:3770::/32": "266414", - "2a00:5300::/32": "45031", - "2a04:e540::/32": "197938", - "2001:520:1055::/46": "8103", - "2403:780:fe00::/40": "7175", - "2a04:4e40:da10::/41": "54113", - "2a09:2980::/29": "42375", - "2408:8456:6600::/42": "17622", - "2408:8957:a000::/40": "17622", - "2605:2540::/32": "397324", - "2806:230:6025::/48": "11888", - "2604:b680::/32": "18683", - "2804:64c0::/32": "269446", - "2a01:5c40:7::/32": "12687", - "2a02:26f7:dfc4::/48": "36183", - "2001:ded:8000::/48": "23726", - "2407:500:167::/48": "58940", - "240a:17:f90::/44": "9605", - "240e:14:1000::/36": "140330", - "2604:c7c0::/32": "35935", - "2806:250:200::/46": "28555", - "2607:ffc8:4001::/32": "17356", - "2a02:198::/32": "16171", - "2a0a:7a04:3::/31": "61317", - "2a0e:fd40:201::/32": "44103", - "2001:df6:d600::/48": "136009", - "2600:3504:c000::/28": "396998", - "2604:4c00::/32": "40383", - "2606:41c0:1::/46": "11448", - "2801:80:2c00::/40": "268460", - "2803:cfa0::/32": "27847", - "2a0c:82c0::/29": "203015", - "2001:559:852c::/48": "7015", - "2406:2b40::/32": "131937", - "2409:8948:9300::/40": "24445", - "2602:ff62:106::/42": "61317", - "2a0e:c80:1::/46": "3170", - "2001:19f0:8800::/38": "20473", - "2405:9800:b0::/41": "45430", - "2806:270::/32": "19373", - "2a0b:2180:1::/48": "204995", - "2620:171:55::/48": "715", - "2a02:2058::/32": "44512", - "2a10:4646:3::/48": "42101", - "2c0f:f9e0::/32": "37148", - "2001:559:c304::/48": "33287", - "2800:160:1cff::/39": "14259", - "2001:7a8:800::/47": "34019", - "2001:4878:4010::/48": "12222", - "2400:c540:c841::/37": "59238", - "2406:b400:f0::/47": "18209", - "2408:8456:8440::/39": "17816", - "240a:a287::/32": "143297", - "2804:5b18::/32": "268818", - "2804:6078::/32": "269169", - "2400:2000::/45": "17676", - "2401:55c0::/32": "131954", - "2a00:4680::/32": "56672", - "2a0e:c886::/44": "208759", - "2409:8e18::/31": "134810", - "2600:140f:3401::/39": "20940", - "2a05:9580::/29": "42120", - "2001:418:1401:6b::/59": "2914", - "2001:470:157::/48": "6939", - "2001:1680::/29": "9044", - "240a:a0f7::/32": "142897", - "240e:3bb:7800::/39": "4134", - "2a00:1210:ffff::/48": "6712", - "2001:57b:2000::/32": "22773", - "240a:a0df::/32": "142873", - "2a02:958::/32": "29008", - "2402:e380:303::/48": "134496", - "2403:4280:1::/48": "138950", - "2a00:ae80::/32": "49750", - "2a03:6000::/32": "3265", - "240a:a361::/32": "143515", - "2804:2f3c::/32": "264879", - "2a01:280:380::/48": "212079", - "2a04:4e42:4058::/35": "54113", - "2620:ab:4000::/48": "393681", - "2001:559:8725::/48": "33287", - "2401:9d00:102::/35": "9835", - "2402:ef1e:200::/48": "7633", - "2405:8700:3000::/48": "24168", - "2408:8456:be10::/42": "134543", - "2602:fed2:7105::/48": "207393", - "2605:3ac0::/36": "20029", - "2804:14d:a600::/40": "28573", - "2a01:7e80::/39": "197990", - "2a02:23c8::/40": "24592", - "2a02:26f7:e300::/48": "36183", - "2a0e:97c1:e00::/40": "20473", - "2400:ea00:ffff::/48": "23884", - "2402:800:5c39::/41": "7552", - "2804:4b4c::/32": "267296", - "2a0f:b880::/29": "208060", - "2001:559:8767::/48": "7725", - "2600:1419:1601::/36": "20940", - "2806:370:12a0::/41": "28403", - "2a02:e20::/29": "5603", - "2a02:5be0:2::/47": "39588", - "2400:cb00:331::/48": "13335", - "2600:370f:3420::/45": "32261", - "2801:14:8800::/48": "267896", - "2804:10f4::/32": "52683", - "2804:5538::/32": "268697", - "2a02:26f0:bc01::/40": "20940", - "2400:5400:10::/48": "18245", - "2602:fd37:fff::/48": "398493", - "2803:480::/45": "52458", - "2a0f:8280::/29": "44659", - "2001:2044::/27": "1299", - "2402:3c80::/32": "64098", - "240e:3b0:1800::/34": "4134", - "2606:4700:8d90::/44": "13335", - "2804:74d0::/32": "271005", - "2a02:26f7:f604::/48": "36183", - "2001:470:5a::/48": "13746", - "2401:d800:be60::/40": "7552", - "2408:8459:b050::/38": "17816", - "2607:fc48:1410::/48": "40009", - "2620:13d:f000::/46": "22711", - "2804:4c6c::/32": "52542", - "2a01:55c0::/29": "21197", - "2a0e:aa07:e026::/48": "210872", - "2001:df7:8a00::/48": "132937", - "2400:1a00::/45": "17501", - "2600:1405:9::/36": "20940", - "2602:fd7d:101::/40": "16925", - "2404:d940::/35": "134877", - "240a:ab96::/32": "145616", - "2602:fe19:2b::/34": "26073", - "2800:160:1658::/45": "14259", - "2800:300:6940::/40": "27651", - "2a07:3b80:2::/48": "62240", - "2c0f:4500::/32": "328808", - "2001:44b8:5::/48": "7545", - "2804:4c0:fffa::/45": "3549", - "2a02:26f7:d441::/46": "20940", - "2a06:cd40:200::/48": "43927", - "2001:388:607d::/40": "7575", - "2001:5b0:6500::/38": "6621", - "2620:101:3000::/42": "19945", - "2801:80:3460::/44": "268766", - "2a05:d4c0::/29": "201011", - "2405:7f00:95a0::/38": "133414", - "2620:12f:c005::/46": "395831", - "2a0a:2303::/32": "202572", - "2001:678:d54::/48": "213187", - "2401:cf80:6045::/40": "55303", - "2804:4924:10::/32": "267167", - "2804:5e08:180::/38": "269007", - "2804:6670::/32": "269558", - "2001:d88::/32": "4694", - "2409:8904:a840::/39": "24547", - "2804:30bc::/32": "52609", - "2806:2f0:2160::/40": "17072", - "2a00:6bc0::/32": "5588", - "2a00:a580::/32": "15557", - "2a0a:7cc0:2::/29": "60880", - "2001:470:bb::/48": "36324", - "2402:3a80:c062::/48": "38266", - "2a03:dec0::/32": "48524", - "2800:160:2197::/42": "14259", - "240a:ada9::/32": "146147", - "2605:840::/32": "26209", - "2607:1680::/32": "15083", - "2a02:26f7:ee08::/48": "36183", - "2001:4490:4c9c::/46": "9829", - "2401:cb80::/32": "63581", - "240a:aec6::/32": "146432", - "2620:105:c000::/48": "7767", - "2804:4dc::/32": "262474", - "2a02:26f7:b988::/48": "36183", - "2a0b:d6c0::/29": "205856", - "2001:559:c2af::/43": "33657", - "2001:67c:112c::/48": "212760", - "2408:84f3:b840::/38": "17816", - "2409:8914:c400::/39": "56044", - "2605:9080::/32": "54858", - "2a02:2398:100::/38": "9166", - "240a:a3f6::/32": "143664", - "2803:a80:1::/48": "22698", - "2a00:1fa1::/33": "29497", - "2a02:26f7:15::/48": "20940", - "2a03:b0a0:1::/46": "39923", - "2600:1012:b0f0::/44": "22394", - "2606:9280::/32": "30035", - "2620:8e:e000::/48": "398838", - "2001:1248:882b::/43": "11172", - "2401:d800:f6d0::/42": "7552", - "2408:8456:3200::/41": "17623", - "2a02:26f7:cdc9::/42": "20940", - "2408:8256:3292::/44": "17623", - "2a01:8840:91::/48": "207266", - "2a02:26f7:b9c6::/47": "20940", - "2a03:1ac0:2e92::/48": "12768", - "2800:484:c800::/40": "10620", - "2a06:ac80:11::/48": "205427", - "2605:a401:8bfa::/37": "33363", - "2800:bf0:a0::/44": "52257", - "2a02:26f7:ba00::/48": "36183", - "2a03:2880:f03b::/45": "32934", - "2a01:b740:a06::/48": "6185", - "2402:33c0::/32": "24413", - "240a:a4ed::/32": "143911", - "2800:940:941::/46": "27953", - "2804:3d8::/32": "262402", - "2a09:7a00::/29": "39182", - "2602:fd09:500::/38": "212643", - "2804:2524::/32": "264262", - "2a00:fa60::/35": "53550", - "240a:a154::/32": "142990", - "240e:698::/35": "58519", - "2a02:26f7:dc48::/48": "36183", - "2001:559:814c::/48": "7922", - "2001:67c:2740::/48": "198543", - "2401:7b40:4005::/48": "38071", - "2a02:6680:f::/48": "16116", - "2a0e:b107:760::/44": "205977", - "2404:e040::/32": "63773", - "240a:aadd::/32": "145431", - "2a01:4200::/38": "21453", - "2401:d800:7370::/37": "7552", - "2406:7e40::/32": "141190", - "2a06:3080::/32": "25595", - "2a0b:a8c0::/29": "13215", - "2001:559:81c1::/48": "33659", - "240a:a840::/32": "144762", - "2600:100d:f000::/44": "6167", - "2602:fcd9::/36": "36326", - "2800:800:620::/44": "26611", - "2a00:13d8::/29": "3212", - "2a02:ed02::/32": "50304", - "2401:8ac0:1c0::/48": "4671", - "2801:19:b000::/48": "266666", - "2a02:2578:1301::/45": "51375", - "2001:559:36f::/48": "33657", - "2a02:1010:4000::/38": "9197", - "2001:559:86fb::/45": "7015", - "2402:800:baa0::/41": "7552", - "240a:af75::/32": "146607", - "2a02:9000::/28": "3352", - "2001:438:fffd:14::/60": "6461", - "2001:559:8162::/48": "33491", - "2001:c20:48ac::/47": "3758", - "2800:160:1fda::/42": "14259", - "2804:4b9c::/32": "267318", - "2a0f:78c0::/29": "205322", - "2001:67c:2eec::/48": "60531", - "2402:5300:2210::/39": "45903", - "240a:a40c::/32": "143686", - "2602:fd9c::/36": "398045", - "2605:6a40::/32": "398081", - "2607:f740:e608::/47": "63911", - "2a02:26f7:e249::/42": "20940", - "2001:480:60::/48": "5957", - "2406:9e00::/45": "55352", - "2804:129c::/32": "263487", - "2405:7f00:aec0::/35": "133414", - "2804:3aa0::/32": "266100", - "2804:4970::/32": "267184", - "2a06:63c0::/29": "41937", - "2a07:e940::/29": "213150", - "2a0b:3540:8::/47": "397964", - "2001:559:191::/48": "33659", - "2001:559:8689::/48": "33655", - "2607:f3c8::/34": "33724", - "2c0f:ff30::/32": "37334", - "2408:8a04:8000::/36": "9929", - "240e:3ba:3e00::/33": "140308", - "2620:13b:b000::/45": "138005", - "2001:559:8749::/48": "7016", - "2401:4900:1bc0::/44": "45609", - "240e:3b5:c800::/37": "4134", - "2620:13f:7004::/46": "55706", - "2001:559:129::/48": "7922", - "2620:122:7000::/48": "16507", - "2803:c800:4060::/32": "23243", - "2804:5cd0::/32": "268932", - "2a02:26f7:c708::/48": "36183", - "2a02:2a58:230::/32": "702", - "2401:ff80:1b13::/40": "133954", - "2a04:1540::/29": "199348", - "2a04:4300::/48": "12703", - "2405:b580::/32": "135234", - "2a02:26f7:51::/48": "20940", - "2a03:7380:5400::/40": "13188", - "2001:428:1004::/34": "209", - "2001:4490:d0c0::/46": "9829", - "2402:800:71b0::/41": "7552", - "2a02:2339:4000::/34": "48854", - "2a07:9a40:dcb::/29": "30081", - "2001:480:1670::/48": "213", - "2401:c5c0:201::/36": "55492", - "2804:37fc::/32": "266448", - "2a03:b020::/29": "41327", - "2a0b:ad40::/29": "205493", - "2001:579:d2a4::/34": "22773", - "2409:8004:310e::/43": "24547", - "2a03:11c0::/32": "199657", - "2001:4998:c::/46": "36647", - "2602:ffc5:cb0::/44": "395839", - "2800:10:11::/48": "27750", - "2a02:26f7:db04::/48": "36183", - "2001:559:c0a4::/48": "33491", - "2001:579:1130::/41": "22773", - "2404:1640::/32": "138494", - "2408:8256:3270::/48": "17816", - "240a:a014::/32": "142670", - "2606:2800:4a84::/46": "15133", - "2606:8e80:1000::/48": "394497", - "2a0f:bf00:80::/42": "207801", - "2001:cf8:acf::/32": "9619", - "2405:1c0:6841::/46": "135062", - "240a:a1f8::/32": "143154", - "240a:ab64::/32": "145566", - "240e:3b5:6400::/35": "140312", - "240e:438:1620::/43": "140647", - "2804:2264::/34": "264096", - "2401:3bc0:701::/36": "137409", - "2800:e00:7000::/31": "27665", - "2001:559:867e::/48": "7922", - "2408:80ea:6900::/35": "17816", - "2408:8459:2e20::/44": "17816", - "2408:8957:d4c0::/39": "17816", - "2804:302:4000::/35": "53237", - "2001:67c:50c::/48": "15486", - "2001:df7:3480::/48": "42960", - "2400:8800:4181::/32": "3491", - "2402:df80::/32": "58473", - "2403:5800:d000::/28": "4764", - "2a02:ee80:4042::/45": "3573", - "2a0e:25c0::/29": "35236", - "2001:fd8:33c0::/42": "132199", - "2a01:5c40:6::/48": "212397", - "2a02:c0c0::/29": "25520", - "2a00:e48::/33": "35703", - "2001:559:75c::/48": "33659", - "2001:579:6220::/43": "22773", - "2402:d000:8119::/45": "9329", - "2403:8080::/32": "17964", - "2403:ac80::/40": "4785", - "2403:fc00::/42": "9482", - "2600:1400:e000::/48": "6128", - "2a0d:6e00::/29": "201290", - "2001:67c:1bec:f000::/52": "2148", - "2607:f388::/32": "59", - "2a01:a700::/33": "39138", - "2602:fc60::/40": "33385", - "2607:6100:e1::/48": "54380", - "2800:9f0::/32": "27845", - "2804:1c84::/46": "61659", - "2a02:25b0:aaab::/33": "51731", - "2620:1f7:81c::/48": "1747", - "2a02:7b8::/32": "45011", - "2a07:e440::/29": "59441", - "2602:ff39:99::/36": "63318", - "2400:8b00:1000::/44": "45727", - "2402:9e00::/37": "24183", - "2602:fc9d::/36": "20220", - "2804:e94:1d2::/42": "262468", - "2804:6e34::/32": "270582", - "2a01:8840:6a::/45": "12041", - "2a01:c50f:c100::/40": "12479", - "2600:1002:d000::/43": "6167", - "2803:8ae0::/32": "269933", - "2804:40fc::/32": "265996", - "2001:470:143::/44": "6939", - "2001:559:c09f::/48": "33287", - "2406:e000:321::/43": "23655", - "2a01:9700:14b8::/45": "8376", - "2a02:ee80:4123::/44": "3573", - "2a05:d9c0::/29": "200970", - "2001:b200:700::/34": "9505", - "2620:107:901d::/42": "22787", - "2804:1b6c::/32": "61727", - "2a09:7c46::/32": "200019", - "2001:4c28:3000::/48": "39832", - "2401:4900:1af0::/44": "45609", - "2405:acc0::/32": "139922", - "2a03:6947:100::/40": "50973", - "240e:438:c20::/43": "140647", - "240e:473:200::/41": "140485", - "2804:18b8::/32": "61949", - "2a01:a500::/47": "42831", - "2a02:26f7:f541::/46": "20940", - "2a0b:1f80::/29": "62412", - "2c0f:5d00::/48": "328677", - "2400:cb00:132::/48": "13335", - "2a0a:59c7:1000::/36": "204724", - "2001:4888:8061::/48": "22394", - "2409:10::/28": "55391", - "240a:a598::/32": "144082", - "2607:ffd0:200::/37": "13767", - "2804:2450:c00::/32": "264214", - "2001:418:1401:7::/64": "20940", - "2001:16c0:fefe::/48": "49981", - "240e:109:804b::/48": "133774", - "2801:102::/48": "19429", - "2a00:50e0:ffff::/48": "61204", - "2a02:cb80:2140::/48": "43766", - "2a09:bac0:131::/48": "395747", - "2a06:9c40::/29": "8769", - "2001:559:c349::/48": "33657", - "2001:678:8ec::/48": "41549", - "2001:1248:599e::/41": "11172", - "2001:1248:8019::/40": "11172", - "2401:c740::/32": "23734", - "2604:6600:fc7b::/39": "40676", - "2804:1ac:5900::/32": "53175", - "2a0f:2ec0::/29": "60262", - "2001:678:9::/48": "199670", - "2401:d800:9c40::/42": "7552", - "2402:5100:6::/32": "9902", - "2406:3000:35:100::/48": "16625", - "2406:3400:68::/43": "10143", - "2605:a401:82b4::/41": "33363", - "2804:49fc::/32": "267212", - "2a03:3680::/32": "33824", - "2a04:e3c0::/29": "57736", - "2a07:241::/29": "3170", - "2a0a:4e83:120::/48": "206074", - "2a06:5b87::/32": "207083", - "2001:559:c18b::/48": "21508", - "2600:1007:b1a0::/44": "6167", - "2a02:26f7:b681::/46": "20940", - "2001:1a70::/32": "12046", - "2604:d600:157a::/45": "32098", - "2a05:b340::/29": "49223", - "2402:800:3201::/44": "7552", - "2404:2940::/34": "132257", - "2804:27c::/32": "25933", - "2a01:40a0::/32": "62297", - "2804:694:5000::/32": "262596", - "2001:388:70cc::/32": "7575", - "2408:883a::/37": "4837", - "240e:967:2800::/37": "133776", - "2600:6c38:e26::/44": "20115", - "2a01:5b0:4::/48": "8561", - "2a02:74a0:a008::/47": "204038", - "2607:fa10::/32": "7106", - "2001:df2:e800::/48": "131302", - "2600:380:cc00::/41": "20057", - "2804:1dc::/32": "53202", - "2a00:47c0:411::/48": "44568", - "2a02:26f7:dd49::/42": "20940", - "2001:1248:a024::/44": "11172", - "240a:a02d::/32": "142695", - "2602:fe76::/36": "399032", - "2803:f7e0:4000::/48": "271773", - "2a07:1c40:102e::/48": "7489", - "2402:800:9d9b::/42": "7552", - "2001:559:c0e2::/48": "33489", - "2403:6100::/32": "4621", - "240a:afa7::/32": "146657", - "2a00:f440:c::/48": "57712", - "2a02:ce0::/32": "35819", - "2001:67c:2430::/46": "57517", - "2a0b:4340:97::/48": "205610", - "2403:c200:3::/32": "9503", - "2600:1011:b030::/41": "6167", - "2804:2b38::/32": "265141", - "2804:36a0:1200::/34": "266360", - "2a00:6fc0:c010::/44": "3215", - "2a0c:e640:6780::/48": "17830", - "2407:6fc0::/32": "137169", - "2607:f928::/47": "22645", - "2607:feb0::/32": "26546", - "2a02:ee80:424d::/46": "3573", - "2a0d:40c0::/32": "203448", - "2600:1413:3001::/33": "20940", - "2a07:e900::/29": "3214", - "2a09:bac0:162::/47": "13335", - "2402:93c0:100::/48": "59073", - "2600:1406:35::/48": "35994", - "2603:c0f8:2820::/39": "20054", - "2620:34:2000::/48": "395763", - "2800:bf0:ae::/41": "27947", - "2a0c:aac0::/29": "49890", - "2803:2a00:3c00::/38": "27895", - "2a09:3a00:3000::/40": "49981", - "2a09:1c00::/29": "209891", - "2a0b:6b81:1::/48": "203729", - "2406:b800::/32": "38652", - "2620:f:2::/48": "3755", - "2620:74:77::/48": "11840", - "2a0e:fb47::/32": "29182", - "2001:559:135::/48": "33661", - "2001:559:402::/48": "33659", - "2001:678:26c::/48": "41062", - "240a:a564::/32": "144030", - "2606:2800:4247::/48": "15133", - "2804:394::/32": "262895", - "2a10:4480::/29": "398559", - "2001:559:131::/48": "33652", - "2001:ee0:360::/47": "135905", - "2406:e740::/48": "140766", - "2607:700:1300::/37": "22343", - "2806:2ea::/32": "139235", - "2a0f:5707:af0a::/48": "208753", - "2a07:580::/29": "31263", - "2001:559:8203::/48": "33652", - "2001:559:c10d::/48": "33662", - "2405:1c0:6461::/45": "135062", - "2405:8a00:a055::/33": "55824", - "2800:160:1ed5::/42": "14259", - "2804:7c8:7000::/32": "262323", - "2804:12a4:100::/40": "263489", - "2001:559:8602::/48": "33287", - "2001:4878:2261::/48": "12222", - "2407:8c00:ffe1::/48": "131317", - "2801:1fc:34::/48": "27951", - "2a0c:e040:1338::/29": "200629", - "2600:1417:e801::/37": "20940", - "2804:6de4::/32": "270562", - "2a0f:2f40::/29": "60262", - "2001:500:d937::/48": "396566", - "2400:cc00:8000::/33": "17477", - "2400:dd01:200e::/35": "7497", - "2620:0:2b70::/44": "22847", - "2620:9f::/48": "30021", - "2a01:cb20:1000::/33": "3215", - "2001:388:20c5::/35": "7575", - "2401:d800:98c0::/42": "7552", - "2409:806a:1900::/34": "9808", - "2804:4230::/32": "267484", - "2a0c:700:3000::/36": "204515", - "2001:4860:4865::/32": "15169", - "2602:fed2:7060::/44": "53356", - "2804:14c:4500::/40": "28573", - "2a00:14d8::/29": "8542", - "2a09:e940::/32": "34762", - "2001:4368::/32": "9129", - "240a:a448::/32": "143746", - "2804:6724::/32": "269606", - "2a01:9700:14f0::/45": "8376", - "2001:dce:6::/40": "23869", - "2a01:7c80::/33": "24852", - "2001:df0:293::/48": "10010", - "2402:800:bde0::/38": "7552", - "2403:3800:1300::/32": "4007", - "240a:a9a9::/32": "145123", - "2602:feb4:1e0::/44": "25961", - "2a02:26f7:dd84::/48": "36183", - "2001:67c:dc::/48": "50273", - "2409:8714:8a00::/31": "56044", - "2602:fd9d::/36": "26576", - "2001:559:15b::/48": "22909", - "2406:d840::/32": "141322", - "2408:8459:a430::/41": "17622", - "2620:131:8008::/45": "4966", - "2806:230:102a::/48": "265594", - "2a05:ae40::/29": "41723", - "2001:1248:9754::/44": "11172", - "2804:179c::/43": "263159", - "2804:1e68::/44": "53006", - "2a00:d78::/32": "1140", - "2a05:5c80::/29": "48846", - "2001:4490:3bfc::/46": "9829", - "2401:8a00::/32": "10099", - "240e:3b0:c000::/37": "140315", - "2607:fcc8::/33": "10796", - "2620:34:a001::/48": "7381", - "2a02:2940::/32": "13246", - "2a04:4e40:800::/47": "54113", - "2405:9240::/32": "61317", - "2602:feda:cf0::/44": "212528", - "2604:b100::/32": "20394", - "2803:5440:4059::/48": "264738", - "2a01:367:c205::/36": "30823", - "2804:7aa4:8100::/33": "271383", - "2409:4052:1000::/34": "55836", - "2409:8915:2900::/40": "56044", - "240e:44d:1580::/41": "4134", - "2600:100f:f100::/44": "6167", - "2606:2800:60e0::/48": "15133", - "2804:448:2::/39": "262427", - "2804:2f84::/32": "264896", - "2806:34b::/32": "265601", - "2a01:6c60:4000::/30": "62217", - "2001:559:81eb::/45": "7922", - "2001:fd8:b200::/42": "132199", - "2404:aac0::/32": "131642", - "2804:3034::/39": "264936", - "2804:46d4::/47": "267014", - "2a0d:1780::/29": "12570", - "2001:559:458::/47": "7015", - "2804:10d4::/32": "262376", - "2a02:26f7:cbc5::/46": "20940", - "2402:800:5601::/44": "7552", - "2804:aa4::/32": "52902", - "2a05:f787:ffff::/48": "57667", - "2806:230:3022::/48": "265594", - "2806:2f0:20a4::/43": "22884", - "2c0f:f940::/32": "33779", - "2a05:57c0::/36": "31259", - "2001:ee0:1007::/40": "45899", - "2400:b100::/32": "55555", - "240e:d6:7000::/28": "4134", - "2603:90f5:6::/48": "10796", - "2801:80:a00::/48": "263279", - "2a00:1348::/44": "8879", - "2a02:180::/32": "35366", - "2800:160:199b::/45": "14259", - "2001:559:48b::/48": "7016", - "2405:1c0:6a71::/48": "135062", - "2405:201:3000::/33": "55836", - "240e:964:800::/37": "133774", - "2600:1413:e000::/48": "24319", - "2602:fe06::/36": "397672", - "2620:15e:101::/46": "30383", - "2804:7844::/32": "271231", - "2a00:1851:8000::/34": "29357", - "2a00:47c0:511::/48": "44568", - "2a01:c50f:c500::/38": "12479", - "2a03:a60::/32": "59862", - "2a03:2880:f10b::/43": "32934", - "2a00:1490:fac1::/48": "42416", - "2001:18c8:700::/41": "18982", - "2409:8915:5a00::/39": "56044", - "240a:a150::/32": "142986", - "240e:13:800::/37": "134238", - "2600:1480:2800::/48": "21342", - "2804:3868:400::/38": "266475", - "2804:38c4::/32": "266500", - "2a00:18f0:1e00::/48": "25432", - "2403:1000:5100::/40": "38819", - "240a:a19c::/32": "143062", - "2806:230:2040::/48": "265594", - "2806:33f::/32": "270131", - "2001:1900:2383::/45": "10753", - "2a0a:6680:bee::/48": "203500", - "2001:559:c024::/48": "33667", - "2001:648:22b0::/48": "47616", - "2001:19e8:8900::/48": "4046", - "2406:7400:38::/46": "131269", - "2a01:6520::/32": "199860", - "2001:1248:5a32::/41": "11172", - "2804:aa8:700::/36": "52903", - "2001:559:758::/48": "33657", - "2607:fdc0::/43": "20326", - "2a03:3b00:1::/46": "202053", - "2001:559:35e::/48": "7922", - "2408:8948::/32": "4837", - "2603:c0f8:2210::/40": "20054", - "2804:1f1a::/32": "265212", - "2804:4be4::/32": "267335", - "2a04:e800:5040::/48": "57976", - "2a05:fb41::/30": "59504", - "240a:a811::/32": "144715", - "2600:5c01::/39": "10796", - "2606:4700:1100::/40": "132892", - "2620:0:2220::/48": "15318", - "2001:559:c1f1::/48": "7015", - "2001:44b8:6::/48": "4739", - "240a:a0c2::/32": "142844", - "2600:1480:f000::/48": "21342", - "2800:ba0:4::/48": "263812", - "2a06:8c0::/29": "200739", - "2a0f:6580:102::/48": "200334", - "2806:2f0:2124::/43": "22884", - "2001:67c:2bfc::/48": "3301", - "2404:ff80:101::/32": "64096", - "2409:8914:400::/39": "56044", - "2600:1407:8801::/37": "20940", - "2801:19:2800::/48": "267708", - "2804:18:4000::/36": "26599", - "2804:1e38:6000::/32": "264415", - "2a02:2e8::/32": "44512", - "2001:678:668::/48": "39591", - "2402:800:3b9b::/41": "7552", - "240a:a22c::/32": "143206", - "2600:c808::/32": "7018", - "2806:230:2027::/48": "11888", - "2a01:9700:1720::/43": "8376", - "2001:559:8189::/48": "7922", - "2401:7700::/32": "24150", - "2403:d700::/32": "58598", - "2409:8915:2200::/39": "56044", - "2602:fcb3::/36": "3356", - "2001:678:c::/48": "2484", - "2404:c0:33a0::/32": "23693", - "240a:aad2::/32": "145420", - "2800:9a0:3100::/29": "14522", - "2804:348::/33": "28133", - "2a02:2498:3::/48": "36351", - "2001:559:81c4::/47": "7725", - "2001:44b8:30b3::/44": "4739", - "2600:1f01:4081::/48": "16509", - "2605:c640::/39": "62538", - "2804:19b8::/33": "52912", - "2001:67c:2384::/48": "197942", - "240a:a7a0::/32": "144602", - "2a00:5b20::/32": "39816", - "2a0f:d940::/29": "60781", - "2800:be0:4e3::/32": "267848", - "2804:592c::/32": "268173", - "2a00:6900:10::/48": "60199", - "2a0c:a780::/31": "200748", - "2001:559:823f::/48": "7015", - "2001:4c90::/29": "35612", - "2402:dc00::/32": "45682", - "2a04:f580:8290::/48": "4134", - "2a09:da40::/29": "61100", - "2409:8914:aa00::/39": "56044", - "2a0d:f740::/32": "43182", - "2001:559:8247::/48": "33657", - "2001:67c:2994::/48": "62452", - "2405:ec00:5::/39": "23955", - "2804:c4c::/32": "52689", - "2a10:2240::/32": "205885", - "240a:a479::/32": "143795", - "240e:473:ac00::/41": "140485", - "2a07:3080::/29": "41639", - "2405:8a00:21be::/33": "55824", - "2620:2d:4000::/46": "41231", - "2800:c70::/43": "23201", - "2801:134::/43": "3549", - "2a01:6b40::/32": "198403", - "2a02:4c8:af::/48": "47748", - "2a02:26f7:bc00::/48": "36183", - "2a0d:5641:2100::/44": "57695", - "2001:559:831e::/47": "7922", - "2001:2000:6000::/40": "1759", - "240a:adb3::/32": "146157", - "240e:44d:d00::/41": "140345", - "2804:812c::/32": "272437", - "2001:559:84cd::/48": "7922", - "2409:8775::/28": "9808", - "240a:acbc::/32": "145910", - "2a00:b000::/32": "48326", - "2a02:26f7:dcc5::/46": "20940", - "2408:8456:4610::/42": "134543", - "2a0e:b107:ea4::/48": "212085", - "240a:a58a::/32": "144068", - "2001:df4:4880::/48": "140923", - "2001:1260:230::/40": "28536", - "2607:f5d8:11::/44": "11096", - "2800:110:2201::/37": "4270", - "2803:d700:ae00::/35": "61461", - "2408:84f3:3650::/44": "17816", - "2602:fd38::/36": "394037", - "2801:80:210::/48": "52998", - "2a00:4cc6::/32": "203871", - "2a06:62c0:81::/44": "204138", - "2001:678:414::/48": "31317", - "2001:67c:2f98::/48": "29691", - "2605:cac0::/32": "398425", - "2a03:96c0::/32": "29319", - "2a10:d8c0::/29": "208861", - "2001:44b8:6056::/44": "7545", - "2605:c1c0::/32": "63264", - "2a01:498:600::/32": "42018", - "2a0a:e805:300::/37": "64476", - "2402:5700::/32": "56111", - "240a:a437::/32": "143729", - "240e:3b8:1400::/38": "134773", - "2606:8c00:2::/48": "22995", - "2806:230:301c::/48": "265594", - "240a:acbf::/32": "145913", - "2600:6c38:42::/43": "20115", - "2801:80:3910::/48": "270530", - "2001:48a8:68fd::/48": "177", - "2803:5c80:8056::/48": "64114", - "2a0e:7d40:50::/32": "209833", - "2001:559:80cf::/48": "33491", - "240a:aa4c::/32": "145286", - "2a02:26f7:e48d::/42": "20940", - "240e:640:ce00::/40": "136197", - "2602:fffd::/36": "55022", - "2600:8808:3e00::/39": "64019", - "2602:ffce:31::/36": "63019", - "2a02:5320:d00::/40": "12189", - "2001:559:598::/48": "7015", - "2404:bc0:4010::/44": "137735", - "240a:a67a::/32": "144308", - "2a02:26f7:cf08::/47": "36183", - "240e:44d:4b00::/41": "140345", - "2600:1408:4000::/48": "35994", - "2a02:23e9::/32": "49509", - "2a02:26f7:e6c8::/48": "36183", - "240a:af83::/32": "146621", - "2a01:358:4018::/47": "9121", - "2a02:26f7:e0c4::/48": "36183", - "2a02:26f7:ed40::/48": "36183", - "2401:b0c0:e000::/48": "136941", - "2404:b680::/32": "135290", - "240a:a9f2::/32": "145196", - "2806:20f::/32": "28408", - "2a0b:24c1::/33": "205961", - "2606:c100::/32": "36545", - "2804:4074::/32": "265960", - "2001:978:2100:100::/38": "174", - "2402:ef3f::/48": "9430", - "2604:880:4d::/48": "54540", - "2001:559:38b::/48": "7725", - "240e:108:82::/48": "58461", - "2803:2b80::/32": "263730", - "2a01:a280:101::/46": "21314", - "2a02:6680:e000::/47": "16116", - "2607:fc68:21::/39": "2711", - "2a00:1e08::/32": "196997", - "2a03:5900:c::/29": "31126", - "2a04:4e40:d200::/48": "54113", - "2a07:45c2::/40": "31463", - "2401:d800:fd60::/40": "7552", - "240e:981:f300::/36": "4134", - "2604:f980:6800::/40": "19957", - "2620:d8:8000::/48": "2900", - "2800:3c0:8180::/33": "19863", - "2604:200::/45": "33132", - "2804:2088::/32": "53223", - "2a03:67c0::/32": "12703", - "2001:16f7::/32": "201370", - "2402:800:3501::/44": "7552", - "2408:80ea:76e0::/43": "17623", - "240a:a746::/32": "144512", - "2a01:8840:4::/47": "207266", - "2a01:c50f:400::/39": "12479", - "2a03:2880:f161::/45": "32934", - "2404:6c00::/32": "24324", - "240e:67f:e400::/39": "140330", - "2a00:1418:1000::/34": "41391", - "2a03:7c60::/32": "201038", - "2001:4878:2007::/44": "12222", - "240a:a82c::/32": "144742", - "2604:4e80::/32": "39964", - "2605:8d80:1080::/32": "812", - "2a02:7080::/48": "398826", - "2620:101:9008::/47": "40934", - "2803:5c80:6595::/48": "64114", - "2806:2f0:30e4::/39": "17072", - "2409:4054:1000::/34": "55836", - "2602:ff7a::/36": "394144", - "2804:6b68::/32": "270398", - "2804:7b48::/32": "271422", - "2a0b:b87:ffe3::/48": "205117", - "2403:300:a32::/48": "6185", - "2408:8256:328d::/43": "17623", - "240e:982:3200::/39": "138991", - "2604:e740::/32": "32281", - "2a02:188:5108::/48": "35678", - "2a02:26f7:f148::/48": "36183", - "240a:a2b1::/32": "143339", - "2804:1644::/38": "262903", - "2804:7090::/32": "270734", - "2a02:6b8:82::/33": "208722", - "2001:4878:2158::/48": "12222", - "2401:d800:28f0::/39": "7552", - "2409:8b3d::/25": "9808", - "2803:9800:a8c5::/46": "11664", - "2804:32a8::/32": "265091", - "2a09:4200::/29": "47602", - "2001:579:9395::/36": "22773", - "2404:4dc0::/32": "63570", - "2804:77c8::/32": "271199", - "2a02:26f7:f8d9::/42": "20940", - "2a02:acc1::/30": "198726", - "2a03:f80:81::/48": "9009", - "2a04:5680::/29": "197790", - "2001:a48::/33": "8970", - "2404:7c00:2::/48": "141177", - "2405:e400::/32": "9268", - "2406:840:f893::/48": "212034", - "2001:b30::/33": "2614", - "240a:ac16::/32": "145744", - "240e:438:8c40::/38": "4134", - "2804:ce0::/32": "52572", - "2804:39cc::/32": "266051", - "2a04:4e40:2810::/41": "54113", - "2405:a840::/32": "38562", - "2604:edc0::/32": "40764", - "2804:12e4::/32": "263503", - "2804:6a28::/32": "270316", - "2408:8456:6840::/39": "17816", - "240a:ac21::/32": "145755", - "2a02:13f0:13::/48": "35584", - "2a0f:5707:fff4::/47": "207401", - "2001:19b0::/32": "7029", - "2001:4403:dead::/48": "9896", - "2400:a980:500::/36": "133111", - "2409:8751:300::/37": "56047", - "2600:1408:c01::/38": "20940", - "2804:1070:100::/40": "28209", - "2a00:7440::/32": "12625", - "2001:559:83ed::/48": "33652", - "2603:90f5:14::/48": "33588", - "2607:400::/32": "30583", - "2a01:b480::/32": "35362", - "2001:579:d1a4::/41": "22773", - "2401:4900:1100::/41": "45609", - "2403:2300::/32": "56309", - "2a02:970:117a::/40": "44002", - "2405:1c0:6617::/42": "55303", - "2620:149:a1c::/48": "6185", - "2a01:358:4014::/46": "9121", - "2001:df2:a980::/48": "131203", - "2620:4:c000::/48": "20126", - "2a0b:fb00::/29": "200548", - "2408:840c:6100::/40": "17621", - "240e:473:8c50::/39": "4134", - "2a02:2360::/32": "51034", - "2a02:26f7:e649::/42": "20940", - "2a04:4e40:9800::/48": "54113", - "2a0b:6b86:d18::/40": "212232", - "2a0d:a0c0::/48": "198426", - "2804:7478:8000::/33": "270983", - "2a02:ff0:20f1::/44": "12735", - "2a0a:a600::/29": "61317", - "2402:3a80:c032::/48": "38266", - "2408:8456:be40::/39": "17816", - "2600:1017:f410::/38": "6167", - "2600:6c2e:c81::/39": "20115", - "2a02:e0:3809::/33": "34984", - "2a0a:4c0::/32": "206303", - "2c0f:f2a0::/46": "327849", - "2a00:5880:1400::/44": "209090", - "2a02:5740:14::/48": "58065", - "2a02:6c80::/32": "39741", - "2a04:cf40::/29": "12843", - "2a0f:9441:42::/45": "62240", - "2600:1417:f001::/37": "20940", - "2804:5aec::/32": "268805", - "2a09:bac0:148::/48": "13335", - "2001:67c:1442::/48": "43832", - "240e:473:7200::/41": "140485", - "2804:1354::/32": "52892", - "2a04:81c0::/29": "56665", - "2001:4d78:fe01::/44": "15830", - "2402:800:91fe::/38": "7552", - "240a:a6e3::/32": "144413", - "2600:c02:b021::/33": "12182", - "2a00:11b8::/32": "44009", - "2a06:4940::/29": "204279", - "2804:534c::/32": "268575", - "2a02:26f7:d741::/46": "20940", - "2a06:e881:1800::/48": "206885", - "2a02:26f7:a5::/48": "20940", - "2a03:540::/32": "34718", - "2a00:11c0:38::/48": "203833", - "2a05:b0c6:200a::/47": "208753", - "2001:1a68::/47": "15694", - "2407:4d40:8::/32": "142050", - "2604:d600:1592::/45": "32098", - "2605:a7c0:101::/44": "16509", - "2620:0:2be0::/48": "19106", - "2804:2d28::/32": "265264", - "2a02:2aa8:130::/38": "702", - "240e:473:ad50::/40": "4134", - "2a02:2ad0:503::/43": "702", - "2404:e4c0:8::/48": "54201", - "2803:f200::/32": "52322", - "2001:4978:1005::/40": "19255", - "240a:aeb8::/32": "146418", - "2a02:26f7:e400::/48": "36183", - "2a05:400::/29": "205112", - "2a0c:b641:4f0::/44": "212653", - "2600:230f::/32": "20115", - "2803:10e0:ced1::/34": "269853", - "2804:325c::/32": "53142", - "2001:559:85ff::/48": "21508", - "2001:678:798::/48": "201734", - "2408:8459:1610::/41": "17622", - "2803:d820::/32": "265813", - "2a0e:e704:43::/48": "212972", - "2001:6d0:d4::/47": "8985", - "2401:8d00::/47": "38345", - "2409:8053::/47": "56047", - "2600:1419:ec01::/35": "20940", - "2606:d980::/32": "14051", - "2a06:4400::/29": "50698", - "2001:559:1a3::/48": "7922", - "2401:ff80:1209::/46": "133954", - "2a02:2370:1000::/48": "213120", - "2a06:bc0::/29": "213078", - "2804:18:6800::/44": "26599", - "2804:34a4::/32": "265470", - "2804:7d44::/32": "271550", - "2a01:8840:76::/44": "12041", - "2a07:8980:103::/30": "198651", - "2001:c10:ff00:a::/47": "7473", - "2804:2f30:fd00::/38": "53096", - "2806:269:501::/48": "13999", - "2409:8904:5b40::/42": "24547", - "240a:a03c::/32": "142710", - "2a02:730::/48": "29278", - "2a0c:14c0::/29": "20546", - "2001:4490:4e64::/46": "9829", - "2804:3dc:c2::/42": "52967", - "2a00:cd40::/32": "49113", - "2a0e:b107:4a1::/48": "207427", - "2001:1248:95b0::/38": "11172", - "2001:448a:50d0::/42": "7713", - "2801:80:2430::/48": "268334", - "2804:4540::/32": "266914", - "2a0f:9400:800f::/48": "211767", - "2001:559:c365::/48": "33657", - "2001:67c:26c1::/46": "198478", - "2001:4868:205::/44": "7046", - "2401:d800:2c40::/42": "7552", - "2408:84f3:3290::/37": "17816", - "2a02:ee80:41d4::/46": "3573", - "2a04:e4c0:40::/45": "36692", - "2401:4300:abcd::/48": "45184", - "2602:fd50::/48": "62513", - "2001:559:c214::/48": "22909", - "2001:df2:df80::/48": "139904", - "2600:140f:5001::/39": "20940", - "2a05:8140::/29": "12776", - "2a03:6085::/30": "16285", - "2001:67c:1968::/48": "24989", - "2406:e002:5000::/32": "23655", - "2408:8456:e840::/38": "17816", - "240e:3bb:7a00::/32": "140313", - "240e:870:50::/30": "4134", - "2607:f0d0:2a00::/35": "36351", - "2610:100:2418::/39": "8047", - "2a03:7380:5c80::/42": "13188", - "2a0c:b641:32::/48": "210233", - "2001:559:85bd::/48": "33491", - "2001:4490:4860::/46": "9829", - "2001:44b8:30fa::/36": "4739", - "2a02:26f7:e045::/46": "20940", - "2a0c:b280::/48": "16509", - "2001:67c:1790::/48": "51350", - "2001:df6:a800::/48": "59165", - "2604:9cc0:5::/37": "201106", - "2a02:2498:4::/41": "13213", - "2a0c:a9c7:253::/48": "41740", - "2a0e:db80::/29": "205516", - "2001:559:75b::/48": "7015", - "2401:f8c0::/32": "58895", - "2405:ba00:8004::/48": "1217", - "2607:fb58:d200::/40": "53933", - "2803:50c0:105::/46": "264763", - "2401:2000:8000::/33": "4608", - "2602:808:8000::/40": "3763", - "2602:809:6000::/44": "399214", - "2604:dc00:7454::/32": "19752", - "2800:484:2400::/38": "14080", - "2804:145c:c310::/37": "263327", - "2001:559:c3c5::/48": "33668", - "2001:1579::/47": "12657", - "2402:800:98ee::/39": "7552", - "2409:8904:8240::/39": "24547", - "2604:2b40::/32": "46262", - "2a00:f80::/32": "25542", - "2a0e:8f02:f029::/48": "207071", - "2a02:26f7:f089::/46": "20940", - "2400:cb00:ab90::/46": "13335", - "240e:90:3000::/30": "4134", - "2606:2800:247::/44": "15133", - "2607:f750:c000::/40": "23473", - "2a03:2ba0::/32": "47944", - "2402:800:9e60::/40": "7552", - "2602:fed3:6::/48": "21769", - "2a01:5ac0::/32": "25460", - "2a09:7f40::/29": "209378", - "2a0f:a304::/32": "44326", - "2001:388:30d9::/33": "7575", - "2401:bd00:b001::/46": "38636", - "240e:103:8b20::/44": "139462", - "2a06:86c0::/29": "3213", - "2a02:26f7:f889::/42": "20940", - "2001:559:3ef::/48": "20214", - "2001:6f8:1904::/32": "4589", - "2401:d800:fa10::/42": "7552", - "240a:a056::/32": "142736", - "2607:fd78:702::/36": "26677", - "2a00:1968::/48": "41528", - "2a01:8840:5a::/45": "12041", - "2001:1b58::/29": "35283", - "2001:4878:4062::/47": "12222", - "2404:a8:3ff::/48": "24514", - "2804:221c::/32": "264592", - "2a02:26f7:eb::/48": "20940", - "2408:8459:e210::/42": "17623", - "240a:408a:c000::/35": "58834", - "240e:438:5440::/38": "4134", - "2804:14c:5584::/41": "28573", - "2a01:8840:3a::/45": "12041", - "2001:978:601::/36": "174", - "2401:ff80:178f::/43": "133954", - "240e:473:b350::/33": "4134", - "2804:5e18::/33": "269011", - "2a0b:1306:1dc::/48": "209915", - "2a0e:aa01:bad2::/33": "206499", - "2001:678:dc4::/48": "213032", - "2401:a100:4::/32": "45194", - "2408:84f3:e640::/36": "17816", - "2605:e300::/32": "5009", - "2a02:970::/37": "44002", - "2001:559:374::/47": "7015", - "2001:18a0::/32": "23265", - "2404:8000:aa::/45": "17451", - "240e:62:3000::/32": "4134", - "2801:118::/48": "264823", - "2405:1c0:6781::/46": "135062", - "2804:e94:e::/47": "262468", - "2a0e:fd45:40f1::/48": "48646", - "2001:67c:5cc::/48": "3320", - "2409:8a50:d00::/38": "56047", - "2801:14:4800::/48": "19429", - "2001:67c:510::/51": "15486", - "2001:67c:2864::/48": "51091", - "2001:67c:2f94::/48": "34288", - "2402:e380:311::/48": "139058", - "2603:c011:2000::/36": "31898", - "2803:a8a0::/32": "266802", - "2a0f:1540::/29": "398559", - "2401:d800:9290::/39": "7552", - "2600:9000:224b::/45": "16509", - "2a00:7d80:11::/48": "44889", - "2a02:2100::/32": "39134", - "2a0e:46c4:22a5::/46": "136918", - "2600:1402:e001::/35": "20940", - "2a03:5c60::/32": "201157", - "2001:559:77d::/48": "7015", - "2001:559:8329::/48": "33660", - "2404:f4c0:f609::/48": "139328", - "2607:ffc8:1:2::/33": "17356", - "2804:2488:4000::/32": "264228", - "2a0c:9a40:8082::/48": "61138", - "2402:d000:813d::/36": "9329", - "240a:a0e8::/32": "142882", - "240a:aea6::/32": "146400", - "2a02:26f7:4d::/48": "20940", - "2001:4998:194::/46": "26101", - "2400:4880:4::/32": "131178", - "2a06:3000::/36": "28715", - "2001:4878:8031::/48": "12222", - "240e:982:1200::/34": "4134", - "2001:559:83f8::/48": "13367", - "2402:800:fa20::/41": "7552", - "2604:9700:100::/40": "54119", - "2804:998:81::/32": "28589", - "2a0c:9a40:1097::/48": "34927", - "2402:8100:3038::/41": "45271", - "2404:f4c0:fe1f::/48": "138632", - "2405:9800:b01b::/42": "133481", - "2406:daa0:9040::/44": "16509", - "240e:473:9b20::/41": "140486", - "2a02:13d0::/29": "13136", - "2405:2c40::/32": "45705", - "2408:8957:1bc0::/37": "17622", - "240e:90e:2000::/36": "137688", - "2401:4900:4a90::/42": "45609", - "2a10:a240::/29": "211694", - "240e:a50:6400::/31": "4134", - "2600:140f:7800::/48": "9498", - "2a00:55a0::/48": "199267", - "2001:559:3a2::/48": "7016", - "2405:5340::/32": "63781", - "2606:2800:6038::/48": "15133", - "2a00:17d8::/32": "12574", - "2a0c:2480::/29": "201372", - "2a0e:b107:1650::/44": "210926", - "2402:ef11:2::/47": "9430", - "2606:f900:9901::/37": "812", - "2a04:6c00::/29": "62412", - "2a0c:1d00:15::/32": "39614", - "2804:a50::/34": "28349", - "2a10:8a40::/29": "39405", - "2c0f:fbf0:1::/43": "32653", - "2001:678:150::/48": "59617", - "2408:8459:c210::/42": "17623", - "2804:5d44::/32": "268961", - "2a03:e100::/29": "52144", - "2001:4200:8010::/34": "2018", - "2401:e7c0::/32": "132298", - "2401:ff80:180f::/43": "133954", - "2607:f6f0:205::/48": "12085", - "2001:418:143b:200::/41": "2914", - "240a:ad9f::/32": "146137", - "2a00:a760::/32": "41216", - "2a0b:6580::/29": "204007", - "2001:559:c30f::/48": "7922", - "2408:8957:5600::/40": "17622", - "240e:979:4f00::/35": "4134", - "2800:8e0::/47": "18822", - "2804:6310::/35": "269336", - "2001:418:1401:1c::/64": "20940", - "2001:4408:4100::/38": "4758", - "2a0a:7c40::/32": "205925", - "2804:f08::/32": "263563", - "2804:13b4:8400::/33": "262288", - "2401:5700::/32": "131447", - "2405:8a00:6014::/46": "55824", - "2804:2bc4::/32": "265174", - "2a0b:9580::/32": "199324", - "2001:1248:98b6::/48": "11172", - "2402:7500:468::/40": "24158", - "2607:fe78::/32": "3851", - "2804:4bc:5001::/32": "262462", - "2a01:664:c00::/35": "48951", - "240a:a905::/32": "144959", - "2600:1417:52::/48": "24319", - "2804:41a4::/32": "267447", - "2001:559:c3b5::/44": "33287", - "2600:6c38:b27::/44": "20115", - "2a02:930::/32": "44237", - "2800:bf0:81c3::/45": "52257", - "2001:df0:2a00::/48": "63731", - "2401:8ac0:100::/48": "4671", - "2401:ff80:1809::/46": "133954", - "2404:bf40:a300::/48": "2764", - "2408:875c::/44": "140886", - "240e:438:2020::/43": "140647", - "240e:438:4a20::/43": "140647", - "2406:3400:dd::/38": "10143", - "2408:8256:2d6c::/48": "17816", - "2602:fd13::/36": "397787", - "2a0b:880:7::/36": "49624", - "2001:df5:ab80::/48": "141309", - "2408:8956:a200::/40": "17622", - "2804:4a38::/33": "267225", - "2804:57c8::/32": "268086", - "2804:80a8::/39": "271765", - "2a03:2260::/34": "201701", - "2a0a:62c0::/32": "16086", - "2a0b:3200::/31": "201080", - "2001:559:185::/48": "7015", - "2401:640:2110::/48": "134844", - "2408:8644:1200::/32": "4837", - "240a:a4be::/32": "143864", - "2620:104:1000::/44": "20074", - "2804:319c::/32": "265026", - "2a00:b0a0::/46": "203434", - "2804:3cac::/32": "266228", - "2001:1318:1015::/32": "3597", - "2401:d800:9920::/41": "7552", - "2404:9e80::/32": "64095", - "2407:ef00:911::/42": "12422", - "2408:805d:9::/40": "17623", - "240a:a2a3::/32": "143325", - "2804:1dc8::/32": "264393", - "2a02:26f7:e519::/42": "20940", - "2a0d:2146:be12::/40": "50801", - "240e:104:7d00::/38": "4134", - "2607:fb58:7000::/36": "36086", - "2620:1bc:102d::/46": "7726", - "2804:14c:bfe0::/43": "28573", - "2804:e00::/33": "11419", - "2804:2884::/32": "263966", - "2a02:26f7:e288::/48": "36183", - "2001:67c:27fc::/48": "12732", - "2602:fcff:19::/46": "38041", - "2a0e:5100::/29": "30823", - "2407:4600::/32": "45295", - "2408:840d:6a00::/42": "17621", - "2001:4b60:100::/48": "1764", - "2a00:1728:19::/48": "47748", - "2a00:4802:2d0::/42": "13124", - "2a01:bc80:1::/44": "32590", - "2a0e:3940:1000::/36": "60767", - "2402:800:541d::/42": "7552", - "2604:af80:c48::/35": "18859", - "2804:7f6:8000::/33": "18881", - "2804:2700::/32": "263869", - "2804:3458::/32": "28128", - "2001:559:c3d0::/47": "7922", - "2401:d800:dc30::/41": "7552", - "240a:ae9d::/32": "146391", - "2606:5300::/32": "3367", - "2607:f870:2::/32": "11992", - "2801:1d:e000::/48": "18747", - "2801:80:1230::/48": "264347", - "2a02:26f7:f64d::/42": "20940", - "2a02:6c20:5::/48": "208143", - "2402:d000::/39": "9329", - "240e:84c:50::/27": "4134", - "2a01:b420::/44": "60162", - "2a04:5200:5977::/48": "202306", - "2605:e000:c0c::/35": "20001", - "2401:d800:7500::/42": "7552", - "2604:eb40:7::/32": "32727", - "2801:80:38f0::/48": "270461", - "2a09:a443::/32": "205479", - "240a:a0de::/32": "142872", - "240a:a5bd::/32": "144119", - "240a:a8bb::/32": "144885", - "240e:1e:5000::/36": "140315", - "2801:a4:100::/38": "262742", - "2a0e:4180::/29": "25540", - "2001:559:299::/48": "33660", - "2a03:8641::/32": "39143", - "2a0a:4ec0::/29": "559", - "2a0e:e704:46::/48": "210851", - "2401:2400:a::/32": "38496", - "2605:a401:80d7::/44": "33363", - "2804:34ac::/32": "265472", - "2a01:6340::/29": "60404", - "2604:880:3a2::/48": "13820", - "2001:559:81a6::/48": "33660", - "2001:4988::/32": "7029", - "2804:6fc:17::/44": "28158", - "2a03:51e0::/32": "43776", - "2001:c20:c831::/48": "9255", - "240a:a74d::/32": "144519", - "2804:3fc4::/32": "265913", - "2a10:e380::/32": "29066", - "2409:805c:900::/35": "9808", - "2409:8915:7400::/39": "56044", - "2a00:1c18:334::/29": "31463", - "2a01:7080::/43": "42848", - "2a02:2e02:2c20::/41": "12479", - "2001:550:c08::/46": "174", - "2001:67c:258c::/48": "31424", - "2403:100:2000::/48": "56300", - "2409:8c20:4826::/38": "56046", - "2a02:2698:3400::/38": "56330", - "2a10:db80::/29": "49962", - "2001:dcd:9::/48": "38796", - "2804:e0c:100::/48": "28176", - "2804:e24::/32": "262417", - "2804:8064::/32": "271747", - "2001:4d0:2419::/48": "297", - "2001:559:c32e::/48": "33657", - "2401:d800:b660::/40": "7552", - "2a0a:2842:100::/48": "42962", - "2c0f:4900::/32": "328870", - "2402:940::/32": "137990", - "240a:a500::/32": "143930", - "240a:a8b1::/32": "144875", - "2600:1415:e801::/35": "20940", - "2a0c:e186::/32": "204690", - "2a06:e881:5402::/47": "209808", - "2001:559:10d::/46": "7922", - "2001:559:c16a::/48": "22909", - "2001:56b:e::/47": "7861", - "240a:a35d::/32": "143511", - "240a:ae8b::/32": "146373", - "2602:fe9f:ee0::/43": "23738", - "2620:0:1a30::/48": "10546", - "2001:559:5e9::/48": "7922", - "2409:8907:6c20::/39": "24547", - "2a07:e03:200::/32": "210083", - "2401:d800:d0::/42": "7552", - "2600:1009:b1d0::/42": "6167", - "2a02:dd0::/32": "15735", - "2a02:26f7:ba86::/47": "20940", - "2a02:26f7:bc84::/48": "36183", - "2a0b:5080::/29": "43402", - "2c0f:fef0::/32": "36958", - "2001:e60:8000::/35": "4766", - "2607:fcd0:fa80:8f38::/51": "8100", - "2620:126:7002::/48": "394559", - "2804:465c::/32": "266985", - "2001:559:789::/48": "7015", - "2606:f900:a402::/38": "812", - "2402:800:7610::/40": "7552", - "2402:800:9d71::/40": "7552", - "2a07:a680::/29": "60111", - "2001:67c:23c4::/48": "21155", - "2a02:cb43:3000::/46": "20546", - "2a03:5820::/32": "47736", - "2a0c:4a40::/29": "210107", - "2001:559:85a1::/46": "7922", - "2001:67c:2910::/48": "3301", - "2402:800:fa50::/42": "7552", - "2a02:26f7:cd89::/42": "20940", - "2405:2300:ff71::/46": "13443", - "2409:8904:58b0::/39": "24547", - "2600:1009:b030::/44": "22394", - "2a02:2760::/32": "51402", - "2a0a:a440::/29": "36459", - "2001:c38:9201::/36": "9931", - "2604:d600:1216::/44": "32098", - "2620:30:6000::/48": "14936", - "2a00:1cf8:2000::/35": "44944", - "2a02:26f7:ef05::/46": "20940", - "2a04:4e40:5200::/48": "54113", - "2a0a:e8c0::/32": "205412", - "2001:559:c1a3::/48": "33668", - "240a:aa86::/32": "145344", - "2a06:e881:2103::/45": "206479", - "2400:adc3::/39": "9541", - "2402:800:fdf0::/38": "7552", - "2409:805c:3::/45": "9808", - "2620:12f:d000::/48": "40342", - "2a03:26e0::/32": "201646", - "2001:559:4ed::/46": "33661", - "2001:559:8773::/48": "21508", - "240e:640:ee00::/40": "136197", - "2804:136c::/32": "262372", - "2804:4ac4::/32": "267262", - "2804:2dc:8000::/33": "28277", - "2804:cb0:facf::/37": "52742", - "2001:559:c261::/48": "33652", - "2402:e280:1200::/39": "134674", - "2804:7f44::/32": "271677", - "2a02:6d40::/32": "42652", - "2405:9800:c91e::/48": "45458", - "2408:8459:d1c0::/36": "17816", - "2a00:d102::/34": "15704", - "2a10:c5c0::/31": "211547", - "2804:5c0:800d::/33": "262537", - "2001:470:14f::/48": "47061", - "2401:1c00:3081::/41": "38809", - "2402:8100:20e1::/48": "45271", - "2600:6c38:e03::/45": "20115", - "2602:febb::/39": "394989", - "2620:15:e000::/48": "396079", - "2804:14c:5f83::/45": "28573", - "2a00:1398::/30": "34878", - "2001:559:8158::/48": "33659", - "240a:a2bb::/32": "143349", - "240a:ae38::/32": "146290", - "2a00:cb40::/32": "48972", - "2a02:2e02:a180::/42": "12479", - "2c0f:eae8::/32": "26130", - "2405:8dc0::/32": "45370", - "240a:a907::/32": "144961", - "240e:b:f800::/46": "139018", - "2600:1017:a800::/44": "22394", - "2a02:26f7:f381::/46": "20940", - "2a02:fa80::/32": "50520", - "2a0e:b107:32::/47": "209650", - "2001:57a:800::/38": "22773", - "2401:ff80:1413::/40": "133954", - "240a:a78c::/32": "144582", - "240a:ab9c::/32": "145622", - "2605:b800::/37": "23550", - "2a09:6500::/29": "57756", - "2c0f:ed98::/32": "328483", - "2804:e94:19::/48": "262468", - "2804:4154::/32": "52806", - "2001:1980:4444::/48": "32903", - "240e:0:9000::/36": "23724", - "2a02:26f7:c448::/48": "36183", - "2a0f:7280::/48": "60781", - "2001:559:2b7::/44": "7922", - "2001:4888:8056::/48": "22394", - "2803:9810::/35": "36492", - "2a02:26f7:f7c0::/48": "36183", - "2a02:ac80:d01::/38": "25145", - "2a0f:f40::/29": "60262", - "240e:ff:c002::/48": "134773", - "2604:6600:4c::/42": "40676", - "2620:10a:9012::/48": "11133", - "240e:3b5:2800::/38": "4134", - "2a02:26f0:a::/48": "34164", - "2600:9000:21e8::/38": "16509", - "2620:132:f181::/38": "394977", - "2804:7ed4:f100::/36": "271650", - "2a0f:5944::/32": "9009", - "2001:559:144::/47": "7922", - "2408:8912::/29": "4837", - "2620:171:d00::/44": "187", - "2803:5c80:6598::/48": "64114", - "2804:3ca4::/32": "266226", - "2804:6a84::/32": "270341", - "2a02:26f7:e781::/46": "20940", - "2403:cec0::/32": "137995", - "2604:cac0:1::/44": "11019", - "2800:160:1547::/44": "14259", - "2a07:9980::/29": "8487", - "240a:ac74::/32": "145838", - "240a:ae7d::/32": "146359", - "2600:380:1c00::/38": "7018", - "2804:e0c:1c0::/48": "28176", - "2a01:8e00::/29": "48803", - "2a02:888:100:701::/37": "47794", - "2408:8000:2::/47": "4837", - "240e:473:9450::/39": "4134", - "2604:fb80:6801::/37": "15128", - "2605:8300:3::/44": "33059", - "2a02:26f7:ef45::/46": "20940", - "2a04:4e40:9000::/48": "54113", - "2a05:41c0::/29": "15600", - "2403:c00:4::/48": "17488", - "2806:283:6000::/37": "265515", - "2a02:26f7:c151::/42": "20940", - "2a03:a300:4100::/48": "35104", - "2a09:5000::/29": "206189", - "2600:1000:f100::/44": "6167", - "2a02:2578:1305::/44": "51375", - "2804:4e38::/32": "268247", - "2001:503:a83e::/48": "396574", - "2001:67c:2b0c::/48": "15542", - "240a:a4c3::/32": "143869", - "2605:f500:10a::/43": "1828", - "2620:7e:60c0::/48": "7385", - "2a02:26f7:c000::/48": "36183", - "2a02:6b40::/32": "44066", - "2804:5844::/32": "268117", - "2804:6588::/32": "269497", - "2806:2f0:4022::/47": "17072", - "2a01:498::/37": "42018", - "2a02:750:9::/43": "42708", - "2001:559:861d::/48": "7015", - "240e:965:2800::/37": "133776", - "2a0d:b500::/29": "51834", - "2001:428:b21::/48": "4015", - "240e:473:6400::/41": "140485", - "2804:1f42::/32": "270694", - "2a00:cc80::/32": "15557", - "2a02:26f7:ccc0::/48": "36183", - "2a04:4280:30::/48": "43260", - "2001:559:77::/44": "33651", - "2804:5090::/32": "263005", - "2a00:1188:f::/48": "8455", - "2a02:26f7:c7c0::/48": "36183", - "2a02:26f7:f441::/46": "20940", - "2a0b:6b83:4225::/41": "202562", - "2001:559:239::/48": "33659", - "2001:559:c147::/44": "7922", - "2001:1a80::/29": "20676", - "2404:4a00:6000:1::/37": "45629", - "240a:af44::/32": "146558", - "2804:19a0:3000::/48": "61808", - "2a0a:d00::/29": "207023", - "2803:c200:7519::/48": "22411", - "2804:2140::/35": "53059", - "2804:37c4:8400::/33": "266435", - "2804:5420::/32": "268630", - "2a07:3200::/29": "201873", - "2a0e:fd47::/32": "49085", - "2409:8020::/43": "56046", - "2600:140f:5000::/48": "9498", - "2804:6c4:9000::/36": "262893", - "2804:23b8::/32": "61584", - "2a02:28b0::/31": "51790", - "2001:5b0:5b00::/40": "6621", - "2001:12d0:8c1::/32": "28571", - "2401:4900:3280::/42": "45609", - "2600:1415:3401::/36": "20940", - "2804:7224::/32": "270835", - "2806:288:2a00::/40": "28469", - "2403:5000::/39": "9304", - "240e:44d:5100::/41": "140345", - "2a02:26f7:dd88::/48": "36183", - "2a02:5600::/32": "31430", - "2a0e:46c4:1400::/46": "211930", - "2600:1406:f000::/48": "35994", - "2620:117:7002::/44": "26955", - "240e:44d:400::/41": "140345", - "2a00:dd0::/32": "47869", - "2a00:10a0::/45": "35745", - "2001:559:c03e::/41": "7922", - "2001:dec::/48": "132797", - "2602:fc74::/48": "13768", - "2804:7a10::/32": "271345", - "2001:67c:28e4::/48": "15370", - "2408:8957:8200::/40": "17622", - "240a:aeeb::/32": "146469", - "2607:4a80::/32": "3778", - "2a01:8840:69::/48": "207266", - "2001:559:385::/48": "33491", - "2804:838::/32": "262359", - "2804:cb0:fac4::/44": "52742", - "2a02:26f7:c08d::/42": "20940", - "2a0c:b641:212::/48": "209661", - "240e:848:40::/44": "140553", - "2a06:7740::/48": "48282", - "2001:559:85ab::/48": "33657", - "2402:c800:ff71::/48": "38639", - "2409:8924:2500::/38": "56046", - "2804:bc4::/32": "52824", - "2a00:dd80:14::/48": "36236", - "2001:12f0:b7f::/37": "1916", - "2401:d800:7450::/42": "7552", - "240a:aa78::/32": "145330", - "2620:108:4022::/48": "1313", - "2a02:ac80:7001::/38": "25145", - "2001:559:1c3::/45": "33659", - "2408:8247:1200::/28": "4837", - "2605:2800:1201::/32": "6922", - "2001:559:c195::/48": "33491", - "2001:1218:5006::/34": "278", - "2600:1417:5b::/45": "20940", - "2804:6cd8:400::/32": "270496", - "2a02:2810::/32": "15954", - "2a02:ee80:4195::/48": "3573", - "2a0a:4640:14::/42": "206177", - "2001:559:834a::/47": "7016", - "240a:a01d::/32": "142679", - "240a:acb5::/32": "145903", - "2800:160:1948::/42": "14259", - "2804:1a08::/32": "262780", - "2a01:666:500::/31": "48951", - "2a0a:981::/32": "50113", - "2a01:54e0:a000::/38": "62287", - "2a10:cc40:b0f::/43": "20473", - "2c0f:f830::/32": "30844", - "2406:9c40:1002::/34": "55366", - "2409:8904:6370::/40": "24547", - "2402:800:b0d0::/42": "7552", - "2407:c300::/32": "133043", - "2408:80ea:7980::/43": "17623", - "240e:1a:40::/44": "137702", - "2804:14d:90ae::/47": "28573", - "2a03:2ca0::/38": "59865", - "2001:253:137::/48": "142103", - "2001:559:2e3::/48": "33491", - "2001:559:80f3::/45": "22909", - "2001:559:c247::/48": "33659", - "2001:67c:136c::/48": "60384", - "2606:2800:31f::/42": "15133", - "2a02:26f7:dbc9::/46": "20940", - "2a05:1085::/32": "209300", - "2001:559:4a4::/48": "7016", - "2401:d800:2f10::/42": "7552", - "2404:bf40:8082::/48": "7545", - "240a:ac24::/32": "145758", - "240e:473:4250::/39": "4134", - "2607:f5a8::/33": "27589", - "2a0d:8d05:3::/48": "211891", - "2402:5300:4e00::/40": "38733", - "2409:804c:23::/45": "9808", - "240e:37d:ac00::/30": "4134", - "2a07:3500:1a48::/48": "29396", - "2a0f:7940::/29": "51262", - "2a03:a980::/32": "16281", - "2408:8957:5700::/40": "17816", - "240a:a847::/32": "144769", - "2804:6fc8:1000::/37": "270684", - "2a01:c50f:fc40::/40": "12479", - "2a02:26f7:ee00::/48": "36183", - "2a02:2e02:24d0::/39": "12479", - "2a02:ee80:4074::/46": "3573", - "2605:4c40:209::/36": "30081", - "2620:185:50::/36": "11396", - "2804:14c:bbe9::/43": "28573", - "2a0c:7080::/29": "18779", - "2001:559:816d::/48": "33657", - "2400:8b00:e80::/42": "45727", - "2401:1c00:3080::/48": "131298", - "2600:1012:a000::/43": "6167", - "2a10:a000::/45": "42201", - "2402:800:5b0f::/43": "7552", - "240e:473:2e50::/39": "4134", - "2600:1006:a020::/40": "22394", - "2a00:4802:310::/42": "13124", - "2a02:26f7:c300::/48": "36183", - "240e:97a:2e00::/31": "4134", - "2804:535c::/32": "268579", - "2a07:1180::/29": "203311", - "2406:3000:3c::/41": "4657", - "2800:d00::/32": "263766", - "2a02:26f7:ed81::/46": "20940", - "2a03:db80:4c85::/35": "680", - "2001:559:81cc::/47": "33287", - "240a:a902::/32": "144956", - "2a01:e0a::/37": "12322", - "2001:559:519::/48": "33651", - "2a02:918::/32": "31178", - "2400:1c00:1e::/41": "45143", - "2806:2f0:7002::/42": "17072", - "2a02:2698:5c00::/38": "41754", - "2a0a:1182::/32": "39122", - "2001:559:c2ab::/48": "7725", - "2620:10a:4008::/48": "29792", - "2804:7d7c:140::/32": "271564", - "2a00:7300:43::/32": "47894", - "2404:e6:230::/36": "703", - "2804:111c:5::/32": "52818", - "2804:442c::/32": "267607", - "240a:a12c::/32": "142950", - "2602:fff8::/36": "13866", - "2804:1f2e::/32": "10715", - "2804:2b60::/32": "262587", - "2a10:cc40:800::/40": "20473", - "2001:41e0::/32": "20932", - "2409:8087:8005::/44": "9808", - "2600:14e0:5::/46": "20940", - "2605:2a80::/32": "62489", - "2804:4c04::/32": "267343", - "2a02:26f7:bb06::/47": "20940", - "2a03:900::/32": "20574", - "2001:579:2430::/44": "22773", - "2801:80:2380::/48": "267322", - "2001:7c0::/34": "553", - "240a:a29c::/32": "143318", - "2804:14c:fc8b::/41": "28573", - "2a00:1288:1ac::/32": "10310", - "2404:de80:800::/39": "137443", - "2801:80:3550::/48": "268889", - "2804:14d:4283::/41": "28573", - "2400:6280:13c::/48": "132280", - "2402:e380:31e::/48": "142030", - "2401:d800:5b80::/42": "7552", - "2604:d600:c0c::/43": "32098", - "2605:a400::/45": "33363", - "2800:680::/43": "3816", - "2a03:53e0::/32": "49223", - "2a0e:8f02:f002::/48": "213124", - "2a0e:97c5:424::/44": "20473", - "2403:c00:11::/48": "17488", - "2409:8069:2a06::/47": "9808", - "2806:2f0:3241::/42": "17072", - "2a0e:97c0:210::/44": "212271", - "2400:4d40:26a::/39": "134204", - "2401:d800:d4b0::/41": "7552", - "240a:a850::/32": "144778", - "2804:34fc::/32": "265493", - "2001:579:6f06::/35": "22773", - "2407:3e00:4000::/48": "9255", - "240e:44d:5580::/41": "4134", - "2607:c400::/33": "5555", - "2800:490:e000::/39": "27951", - "2001:559:847a::/48": "33657", - "2402:800:3c55::/42": "7552", - "240e:44d:3180::/41": "4134", - "240e:473:3950::/40": "4134", - "2804:6edc::/39": "270623", - "2a09:7d40::/44": "209382", - "2606:6c00:c000::/48": "32787", - "2a01:b740:a16::/47": "714", - "2a02:26f7:d509::/42": "20940", - "2607:4000:500::/40": "64247", - "2620:132:7090::/41": "19537", - "2a01:cd01:1f2c::/43": "28708", - "2804:358:200::/32": "53246", - "2001:559:78c::/48": "33287", - "2001:559:838a::/48": "7015", - "2001:579:f06c::/40": "22773", - "2001:67c:25ac::/48": "24597", - "240e:fb:c000::/36": "140317", - "240e:473:3f50::/40": "4134", - "240e:974:e200::/47": "38283", - "2804:6928::/32": "270252", - "2c0f:f5c0:402::/48": "64999", - "2a02:26f7:e180::/48": "36183", - "2a04:7444::/30": "21413", - "2a0d:3280::/29": "34907", - "2600:1488:6341::/40": "20940", - "2804:1210::/32": "263454", - "2804:3710:a000::/33": "266387", - "2a00:83e0::/32": "199496", - "2a0c:7284::/30": "204786", - "2001:df7:9300::/47": "134392", - "2001:1960:12::/48": "26127", - "2a02:2e02:1950::/42": "12479", - "2001:559:80f6::/48": "7015", - "2001:67c:2ba4::/48": "212864", - "2403:6e40:160::/44": "9830", - "240a:ac09::/32": "145731", - "240e:438:4820::/43": "140647", - "2600:8807:7c6::/36": "22773", - "2a02:26f7:c9cc::/48": "36183", - "2001:67c:1b8c::/48": "197087", - "2409:8028:2c00::/38": "9808", - "240e:44d:4500::/41": "140345", - "2804:2eb0:fc41::/46": "265359", - "2804:555c::/32": "264105", - "2a03:7c0::/32": "57704", - "2a07:9700::/29": "202741", - "2001:678:2d0::/48": "25482", - "2602:ffb7:d00::/40": "62874", - "2620:185::/41": "11396", - "2804:bc8::/32": "52829", - "2a00:1638::/32": "49322", - "2a03:6947:1900::/32": "61266", - "2400:c700:283::/39": "55644", - "2604:d680:5::/48": "29757", - "2806:2f0:3021::/41": "17072", - "2001:559:3c5::/46": "7922", - "2001:559:540::/48": "33491", - "2408:8459:4450::/38": "17816", - "2408:8957:4700::/40": "17816", - "2606:3000:e000::/35": "394896", - "2804:6ac4:2000::/36": "16921", - "2a07:7580::/29": "44558", - "2001:508::/44": "32020", - "2001:aa0::/32": "5669", - "2001:4490:dc4c::/46": "9829", - "240e:e6:1000::/32": "4812", - "2607:f4e8:15::/40": "22822", - "2607:fed0::/32": "40076", - "2620:e9::/48": "11286", - "2804:4300::/32": "267542", - "2a04:e800:5015::/46": "57976", - "2402:800:380f::/43": "7552", - "2600:6c3a:842::/37": "20115", - "2602:fef7:4::/44": "396192", - "2606:2800:4ad8::/46": "15133", - "2001:678:b78::/48": "8794", - "2001:f58::/32": "18126", - "2407:5f00::/32": "132890", - "2408:8256:316c::/48": "17816", - "240e:3bf:1200::/39": "4134", - "2001:559:8100::/47": "33659", - "2603:90b8::/32": "10796", - "2606:2800:400e::/47": "15133", - "2a0c:cb00::/32": "212313", - "2405:1500:81::/43": "58717", - "2804:5640::/32": "267986", - "2804:7be0::/32": "266261", - "2a02:26f7:ed04::/48": "36183", - "2001:559:c072::/48": "33489", - "2001:579:e360::/40": "22773", - "240e:3b3:7600::/39": "140313", - "2600:1f01:48a0::/47": "16509", - "2607:fdb8::/47": "30496", - "2a02:247a::/32": "51862", - "2a09:7c0::/29": "209624", - "2402:800:be10::/42": "7552", - "240a:a393::/32": "143565", - "2605:5080:5031::/32": "3367", - "2a02:26f7:b998::/48": "36183", - "2a02:26f7:cf49::/42": "20940", - "240a:a6b3::/32": "144365", - "2604:b140::/32": "40918", - "2620:171:cd::/46": "42", - "2804:1f36::/32": "268005", - "2001:ac8:6::/44": "9009", - "2408:8456:e040::/38": "17816", - "2800:160:1b22::/45": "14259", - "2a02:b48:4100::/34": "3491", - "2001:559:81::/48": "33287", - "2600:140f:201::/39": "20940", - "2605:a401:8627::/41": "33363", - "2804:4f34:8050::/33": "268311", - "2001:559:360::/48": "33491", - "2001:67c:179c::/48": "64465", - "2001:49a0:fc00::/38": "10310", - "2607:fda8:8001::/46": "6128", - "2804:62e0::/32": "269325", - "2001:559:c198::/48": "7922", - "2405:5300::/32": "24255", - "240a:a002::/32": "142652", - "2804:380::/32": "262890", - "2804:5b50::/32": "268834", - "2804:6c34::/32": "270452", - "2a00:1678:b00b::/48": "49453", - "2001:13c7:7000::/48": "28498", - "2001:16f8::/43": "25525", - "2405:86c0::/32": "45905", - "2804:82a8::/32": "272532", - "2a02:26f7:f405::/46": "20940", - "2001:559:c9::/46": "33491", - "240e:44d:4000::/41": "140345", - "2602:fe77::/36": "53732", - "2804:3390::/34": "265404", - "2804:6150::/32": "269227", - "2a0b:f400::/32": "15698", - "2001:503:7bbf::/48": "7342", - "2001:19f0:a800::/35": "20473", - "2001:559:8344::/48": "7922", - "2804:a00:8a1::/32": "262838", - "2a06:c000::/31": "45027", - "2401:2200:10::/48": "55420", - "2a02:680::/36": "24995", - "2a06:e881:620f::/48": "13830", - "2804:7208::/32": "270828", - "2a01:c50f:3400::/38": "12479", - "2602:fed2:7308::/48": "23470", - "2001:400:b30::/48": "44", - "2405:9800:50::/44": "131445", - "2600:140b:e800::/48": "24319", - "2804:10b4::/47": "263645", - "2a0e:aa07:e01b::/48": "211843", - "2001:fd8:b190::/44": "4775", - "240e:3b8:2c00::/35": "134774", - "2600:1004:9010::/40": "22394", - "2804:55a8::/32": "267948", - "2a04:f580:9250::/48": "4809", - "2602:ff10::/36": "19544", - "2a00:f00::/32": "8359", - "2a04:b500::/32": "197540", - "2001:418:1401:71::/64": "20940", - "2402:b400:41f0::/37": "45960", - "2a00:5500::/32": "3238", - "2a10:2f00:16d::/48": "211485", - "2404:63c0:10::/44": "131645", - "2804:4d3c:5d42::/32": "267420", - "2a02:26f7:dd48::/48": "36183", - "2a04:31c0::/29": "60820", - "2c0f:f128::/32": "37629", - "2407:9740::/44": "139648", - "2602:fd9e::/36": "397666", - "2804:8120::/32": "272434", - "2001:500:103::/48": "55002", - "2600:140b:ac01::/35": "20940", - "2607:fd60:c938::/48": "6188", - "2620:103:4000::/44": "13953", - "2803:6660::/32": "267895", - "2a06:bdc7:1a::/32": "62240", - "2400:cb00:a625::/46": "13335", - "2603:40ff:4000::/36": "10578", - "2804:4044::/35": "265948", - "2001:4490:4eac::/46": "9829", - "2401:d800:57c0::/42": "7552", - "2408:8459:8850::/38": "17816", - "2602:fdaf::/36": "396176", - "2a0c:8840:1000::/36": "211453", - "2405:8a00:21b6::/44": "55824", - "240e:67d:8800::/38": "140330", - "2804:4118::/32": "266003", - "2001:df5:9780::/48": "55736", - "2a0c:9a40:82d0::/48": "211738", - "2001:559:16d::/43": "7922", - "2400:c300::/47": "23881", - "2402:800:bbf0::/37": "7552", - "2408:8a21:4000::/35": "4837", - "2a01:5b0:20::/45": "8561", - "2a03:5120:104::/48": "2386", - "2a03:e581::/48": "201057", - "2405:a540:1004::/32": "38156", - "2604:d600:33::/41": "32098", - "2a00:e4c0::/32": "42908", - "2a02:26f7:cb00::/48": "36183", - "2a07:59c6:eed4::/46": "56382", - "2001:1938:0:2003::/61": "34305", - "2401:4900:4bb0::/41": "45609", - "2401:d800:a20::/41": "7552", - "2606:2800:4080::/48": "15133", - "2800:160:1a9d::/42": "14259", - "2804:5660::/32": "267994", - "2804:6454::/32": "269421", - "240a:a115::/32": "142927", - "2607:fdf0:5ecc::/43": "8008", - "240a:a98d::/32": "145095", - "240e:61:4000::/35": "136198", - "2804:1b2:f104::/36": "18881", - "2a07:6a82::/31": "203568", - "2001:67c:6bc::/48": "201723", - "2408:8459:7410::/42": "17623", - "240e:1f::/48": "134774", - "2607:f7c0:c100::/34": "36444", - "2a00:86c0:2092::/45": "2906", - "2001:4978:1000::/47": "19255", - "2402:8100:2640::/39": "55644", - "2804:e60:facf::/37": "61888", - "2a00:4e60::/32": "13306", - "2001:dc7:fff2::/44": "24151", - "2404:3d00:412c::/47": "21433", - "2604:55c0:100::/48": "4138", - "2610:b0:410a::/43": "3573", - "2804:9d4:5106::/47": "262996", - "2804:341c::/32": "265436", - "2a00:1068::/32": "47998", - "240e:3bf:1800::/34": "4134", - "2600:1f01:4814::/47": "16509", - "2605:b900:2::/32": "36218", - "2607:f368:1004::/36": "32982", - "2607:f640:e::/32": "32354", - "2a0d:7c0::/29": "29262", - "2600:1017:b430::/40": "6167", - "2406:840:ece0::/44": "213215", - "2610:e0:a040::/44": "3390", - "2a0f:fb80::/29": "60262", - "2a10:fa80:10::/48": "57050", - "2a0e:1c80:2::/48": "50304", - "2409:8907:7820::/39": "24547", - "240e:d:1000::/32": "4134", - "240e:3ba:1400::/38": "134773", - "2600:100c:d2d0::/34": "22394", - "2620:40:4000::/48": "16931", - "2a02:26f7:eb80::/48": "36183", - "2a03:2880:ff0d::/31": "32934", - "2001:559:5e8::/48": "22909", - "2401:ff40::/33": "137080", - "2602:feda:ce0::/48": "141237", - "2602:fedd:1::/48": "397023", - "2800:120::/45": "27843", - "2804:7df0::/32": "271592", - "2a03:7600::/32": "34066", - "240a:a34e::/32": "143496", - "240e:438:1e20::/43": "140647", - "2606:1a40:200e::/47": "42473", - "2a01:8000:1ffd::/48": "60672", - "2a02:26f7:b901::/46": "20940", - "2620:d:e000::/48": "395661", - "2a00:1e1f:ff00::/40": "212642", - "2a02:26f7:db8d::/42": "20940", - "2001:678:62c::/48": "51428", - "2402:7d80:9999::/48": "63583", - "2a02:26f7:ea09::/42": "20940", - "2a0e:b702::/32": "47449", - "2803:7a00:810d::/33": "52468", - "2a02:2e02:9b30::/40": "12479", - "2a07:6cc0:10::/46": "61098", - "2a0f:7980::/44": "141694", - "2001:559:793::/48": "33659", - "2001:4b20:100:580::/60": "65505", - "2a01:830::/32": "3329", - "2a02:26f7:3e::/48": "36183", - "2a03:8d60::/48": "203618", - "2001:4f8:11::/48": "16509", - "2001:559:215::/48": "33659", - "2001:43f8:9f0::/48": "327705", - "240a:a327::/32": "143457", - "240a:a5ab::/32": "144101", - "2600:1900:4050::/40": "15169", - "2a02:21c8::/32": "35625", - "2a0d:5642:119::/48": "35487", - "2001:67c:f8::/48": "49125", - "2403:b4c0:9000::/36": "138398", - "2604:8200:98::/48": "23089", - "2610:b0:40bf::/48": "3573", - "2620:11d:9002::/56": "14805", - "2801:80:e80::/48": "264581", - "2a02:26f0:b100::/48": "12956", - "2401:d800:f60::/40": "7552", - "240e:109:802a::/48": "63835", - "2600:1010:9e10::/39": "22394", - "2804:6970::/32": "270270", - "2a00:7300::/41": "47894", - "2001:678:f40::/48": "52192", - "2405:9800:c981::/35": "45430", - "240e:438:6c20::/43": "140647", - "2800:150::/48": "22047", - "2404:5780::/47": "9558", - "2408:8756:2cff::/48": "135061", - "2604:4440::/32": "396139", - "2620:106:e00a::/48": "40428", - "2804:4ec:1500::/32": "28668", - "2a02:bf0:2000::/33": "25106", - "2a02:26f7:e800::/48": "36183", - "2a07:cc80::/29": "42908", - "2001:550:b02::/37": "174", - "2402:e280:210f::/43": "134674", - "240a:a450::/32": "143754", - "240a:a51a::/32": "143956", - "2604:d600:1654::/44": "32098", - "2804:7a60::/39": "271367", - "2a02:970:1029::/41": "44002", - "2407:c280:ffff::/48": "134409", - "2600:1005:b070::/40": "22394", - "2a01:4280::/47": "31391", - "2408:8459:7050::/38": "17816", - "2408:8956:6300::/40": "17816", - "2408:840c:bc00::/40": "17621", - "2605:e680::/32": "30500", - "2a02:e186::/34": "33517", - "2001:559:8428::/48": "33652", - "2804:410c::/32": "266000", - "2a10:240::/29": "62240", - "2a00:ad00:2020::/30": "41897", - "2001:678:510::/48": "42060", - "2404:e900:4000::/32": "46062", - "240a:a97b::/32": "145077", - "240a:aa4f::/32": "145289", - "240e:44d:7c00::/41": "140345", - "2604:ac0::/32": "40090", - "2800:bf0:8240::/44": "52257", - "2001:428:1003::/48": "2560", - "240e:473:1800::/41": "140485", - "2c0f:f368::/32": "327750", - "2620:10a:80f1::/48": "27299", - "2620:149:74::/40": "714", - "2a02:26f7:db48::/48": "36183", - "2804:6bfc::/32": "270438", - "2001:559:819d::/48": "7922", - "2001:579:62bc::/39": "22773", - "2001:678:3c::/48": "197997", - "2001:df0:71::/48": "45665", - "2001:12a0:5::/33": "28292", - "2803:c3c0::/32": "27884", - "2804:14c:f400::/42": "28573", - "2a00:9ce0::/32": "44891", - "2c0f:3800::/32": "37616", - "2804:2dcc::/48": "265304", - "2a02:6900:8810::/48": "7160", - "2001:559:84b3::/48": "33657", - "2001:4488:fb62::/37": "7713", - "2804:fa0::/32": "263596", - "2a0f:2a40::/29": "398559", - "2001:559:a5::/46": "33287", - "2001:44b8:30ec::/48": "4739", - "2409:8c28:902::/37": "56041", - "2804:1a24::/32": "61839", - "2001:ac0:30fd::/48": "12541", - "2407:c280:30ff::/48": "24322", - "2806:2f0:2024::/43": "22884", - "2806:370:8000::/44": "28403", - "2001:67c:1bc4::/48": "5588", - "2409:8b7d::/30": "9808", - "2600:1417:57::/44": "20940", - "2a02:26f7:c1c8::/48": "36183", - "2401:2880::/32": "17452", - "240e:63:d000::/34": "140314", - "2603:c0ec::/40": "54253", - "2800:484:d600::/39": "10620", - "2804:14d:5c45::/43": "28573", - "2a02:6e8::/32": "8399", - "2c0f:f1e0::/47": "37235", - "2001:559:8240::/48": "33652", - "2001:559:828e::/48": "33491", - "2001:df0:311::/48": "9255", - "2600:8802:8000::/29": "22773", - "2001:559:85b1::/48": "7015", - "2001:c38:1000::/34": "9335", - "2001:1248:99ab::/41": "11172", - "2a04:e7c0::/29": "197879", - "2409:8924:f00::/35": "56046", - "240e:473:920::/41": "140486", - "2803:efc0:1::/32": "266664", - "2804:34:2003::/32": "28306", - "2804:824c:2000::/32": "272511", - "2a05:1c0::/29": "201508", - "2804:34dc::/32": "265485", - "2001:678:8a0::/48": "6453", - "2408:8956:3300::/40": "17816", - "2605:2700:9001::/33": "47066", - "2605:f440:53::/48": "57439", - "2620:9b:8000::/40": "36152", - "2804:14c:bfb0::/41": "28573", - "2804:2b04::/32": "265131", - "2804:4c14:ea01::/39": "267348", - "2001:559:388::/48": "7922", - "2804:5a48::/32": "268762", - "2a03:8460:1::/48": "201222", - "2001:559:8673::/45": "7015", - "2001:67c:1164::/48": "24940", - "2001:67c:25e4::/48": "198239", - "2001:42d0:af00::/40": "33764", - "2408:8956:d8c0::/38": "17816", - "2600:1406:1a00::/48": "35994", - "2a01:9700:1750::/47": "8376", - "2c0f:f9a8::/32": "37680", - "2806:230:4036::/48": "265594", - "2001:678:c50::/48": "207358", - "2001:67c:12b0::/48": "29468", - "2001:12d0:c001::/34": "28571", - "2401:d800:b70::/40": "7552", - "2408:8459:7450::/38": "17816", - "2600:1417:5001::/34": "20940", - "2605:e80::/32": "11269", - "2001:559:8265::/48": "7922", - "2001:48c8:18::/32": "29791", - "2a02:c8c0::/29": "29385", - "2a07:2911::/32": "21449", - "2a02:26f0:fa::/47": "20940", - "2a10:9640::/29": "59437", - "2406:9740::/32": "131642", - "240e:3b6:1400::/38": "134773", - "2001:c20:c812::/47": "3758", - "2409:8d28::/29": "56041", - "2804:1004::/32": "263614", - "2a0f:c085::/30": "48108", - "2001:40a8::/32": "12400", - "2a02:6a80:530e::/48": "197997", - "240e:109:8027::/48": "133774", - "240e:186:c000::/34": "4812", - "2a0e:b107:6d0::/44": "134478", - "2001:559:4ba::/48": "33652", - "2001:559:85ba::/48": "33659", - "2001:67c:1038::/48": "59480", - "240a:a3c5::/32": "143615", - "2600:14c0:c::/26": "20940", - "2804:7088::/32": "270732", - "2a02:26f0:1601::/39": "20940", - "2001:67c:2f24::/48": "25365", - "2405:6e00:f810::/48": "133612", - "240a:addf::/32": "146201", - "2a06:a600::/30": "46723", - "2001:c20:c837::/48": "9255", - "2406:9f40::/32": "133480", - "240e:438:a240::/37": "4134", - "2a0b:7086:fff0::/44": "50867", - "2c0f:ebf8::/32": "328436", - "2001:559:c3d4::/48": "7015", - "2001:df1:f600::/48": "27385", - "2402:ecc0::/32": "58507", - "2606:2800:501f::/42": "15133", - "2620:107:6000:1126::/57": "6462", - "2a04:8d80::/29": "201508", - "2a0c:5cc0::/29": "197648", - "2001:559:c21f::/48": "33651", - "2408:8459:1e30::/41": "17622", - "240a:af25::/32": "146527", - "2a02:26f7:e10c::/48": "36183", - "2a03:6947:d00::/35": "61266", - "2a03:90c0:350::/40": "199524", - "2401:5a00:b000::/48": "10032", - "2408:8a26:c000::/35": "4837", - "2607:fdf0:5e42::/44": "8008", - "2804:24ec::/32": "264248", - "2a03:14e0::/32": "6908", - "2a0d:7540::/29": "3214", - "2001:559:3d3::/45": "33652", - "2001:4210::/34": "25818", - "2602:fd43::/36": "63267", - "2607:f180:4200::/35": "35908", - "2801:1fc::/48": "27951", - "2804:67bc::/32": "269647", - "2001:12e8::/34": "16397", - "2a00:1728:30::/48": "42446", - "2a02:cd80::/29": "49100", - "2a0e:f400::/29": "42897", - "2001:559:329::/48": "20214", - "2001:579:7200::/36": "22773", - "2607:f170:180::/32": "6364", - "2801:104:40::/44": "27828", - "2a00:4840::/29": "198967", - "2a02:26f7:b6c5::/46": "20940", - "2a10:7d00::/29": "398559", - "2001:559:32e::/48": "20214", - "240a:a7df::/32": "144665", - "2600:e009::/32": "22995", - "2602:809:f000::/47": "23026", - "2604:ca00:116::/42": "36492", - "2a0c:75c0:4::/29": "44486", - "2001:559:832f::/43": "33659", - "2001:12e0:800::/45": "10429", - "2408:8256:378a::/48": "17623", - "240e:108:93::/48": "134768", - "2800:690::/32": "3132", - "2804:2724::/39": "263879", - "2804:3b8c::/32": "266156", - "2408:8459:6430::/41": "17622", - "2806:230:201b::/48": "11888", - "2a02:26f7:e688::/48": "36183", - "2a0a:4a40:2270::/48": "200280", - "2a0a:acc0::/48": "6369", - "2c0f:fe68::/32": "36868", - "2604:2680:10::/47": "2386", - "2804:706c::/32": "270726", - "2a07:1980:18::/48": "48851", - "2402:8100:24c0::/42": "45271", - "2a00:ee0::/29": "5603", - "2a02:5e0::/32": "3330", - "2001:44b8:39::/48": "4739", - "240a:a142::/32": "142972", - "2a0c:1d01::/30": "39614", - "240a:a009::/32": "142659", - "2620:0:2b0::/48": "21617", - "2804:6c6c::/32": "270467", - "2600:370f:7561::/46": "32261", - "2405:8a00:8034::/34": "55824", - "2605:e000::/37": "20001", - "2620:9c:c000::/48": "393717", - "2800:bf0:8040::/46": "52257", - "2804:2fa0::/32": "264903", - "2a01:a180::/32": "47212", - "2408:840c:ad00::/40": "17621", - "2600:1003:b8e0::/33": "22394", - "2605:640f:85ab::/48": "210935", - "2001:559:85f1::/48": "7016", - "2408:80ea:77a0::/36": "17816", - "2610:f0:21f::/39": "22925", - "2a01:8840:ee::/43": "12041", - "2409:8907:7a20::/39": "24547", - "2801:18e::/48": "271845", - "2804:7184::/32": "270794", - "2c0f:f510::/32": "327941", - "2001:559:821b::/48": "33660", - "2605:a401:800e::/42": "33363", - "2a00:4280::/32": "15401", - "2a02:26f7:cd44::/48": "36183", - "2a09:aa80::/32": "50673", - "2400:a980:4500::/36": "133111", - "2401:7200:a000::/46": "55328", - "2600:1406:9001::/38": "20940", - "2606:2800:4ae4::/46": "15133", - "2a02:6a80::/33": "3245", - "240e:d9:d801::/29": "4134", - "2a02:ad8:14::/42": "12389", - "2a02:26f7:e6c4::/48": "36183", - "2a02:7100::/32": "12942", - "2406:57c0:136::/44": "134672", - "240a:a3dd::/32": "143639", - "240a:a501::/32": "143931", - "2803:5d20::/32": "267757", - "2804:2b44:3a::/40": "265144", - "2406:9b80::/32": "132585", - "2409:8904:cda0::/38": "24547", - "240e:44d:4b80::/41": "4134", - "2804:dd0::/39": "28639", - "2804:2650::/32": "264340", - "2a01:618:8300::/33": "8683", - "2607:f9d0:700::/36": "11979", - "2a01:108::/32": "31127", - "2001:dce:8001::/38": "23869", - "240a:a31e::/32": "143448", - "240a:af73::/32": "146605", - "240e:67d:1000::/37": "140330", - "2a01:c50e:3f00::/33": "12479", - "2a03:b900::/32": "196695", - "2a05:d050:e040::/44": "16509", - "2001:680::/32": "3257", - "2405:58c0:5e00::/40": "133101", - "240e:108:9b::/35": "4134", - "2a02:26f7:f745::/46": "20940", - "2a05:1083:fe00::/41": "209870", - "2001:559:c248::/48": "7922", - "2001:1610::/32": "9008", - "2406:7900:9000::/47": "45328", - "2408:8256:3d6b::/48": "17816", - "2606:f900::/35": "812", - "2804:2960::/32": "264011", - "2001:67c:2944::/48": "211781", - "2001:4998:24::/46": "36647", - "2001:bb0::/29": "5466", - "2001:1b30::/29": "20783", - "2404:af00::/32": "58451", - "2600:1405:1801::/34": "20940", - "2606:ae80:1410::/44": "25751", - "2804:69fc::/32": "270304", - "2a0b:1901::/32": "57878", - "240e:438:620::/43": "140647", - "2620:13d:e002::/47": "398123", - "2a0a:5c40::/29": "205976", - "2800:200:e2b1::/41": "12252", - "2a02:26f8::/32": "29551", - "2001:67c:1514::/48": "3257", - "2600:370f:20a1::/46": "32261", - "2804:1b08:facf::/37": "61704", - "2a10:d000::/43": "35506", - "2401:d880::/32": "133880", - "240a:ab62::/32": "145564", - "2a0f:e2c0::/29": "8422", - "2001:4ce0::/32": "25058", - "2804:2c10::/32": "265192", - "2400:4480:1000::/47": "17426", - "240e:679:c600::/34": "4134", - "2604:4300:f09::/45": "33387", - "2a09:bac0:165::/44": "13335", - "2c0f:f4c0:1090::/38": "37611", - "2a0b:f940:2af3::/35": "205373", - "2001:1260:6::/44": "13591", - "2400:bd00:8004::/33": "45267", - "2406:26c0::/32": "134040", - "240a:a0a7::/32": "142817", - "2606:9500:202::/40": "393423", - "2a02:26f7:ba04::/48": "36183", - "2a04:b700:185d::/48": "201403", - "2001:bf6::/32": "29670", - "2401:d800:f420::/41": "7552", - "2408:8256:3b9c::/46": "17623", - "240a:abb0::/32": "145642", - "2600:1406:600::/48": "35994", - "2600:6c38:b05::/44": "20115", - "2a03:49e0::/32": "58260", - "2605:a401:8124::/41": "33363", - "2806:342:fa00::/37": "265591", - "2a09:ba40::/29": "60843", - "2404:6800::/33": "15169", - "2605:a401:82dc::/39": "33363", - "2605:a401:8c1c::/41": "33363", - "2400:1700::/39": "4628", - "240a:a26d::/32": "143271", - "2001:df0:ab00::/48": "4739", - "240a:a93f::/32": "145017", - "2001:dce:5200::/48": "38064", - "2001:12f0:340::/37": "1916", - "2801:80:550::/48": "28215", - "2804:818::/32": "262345", - "2a00:16e0::/32": "3249", - "2400:ac40:c70::/40": "136255", - "2605:efc0::/32": "1970", - "2a09:7440::/32": "31027", - "2001:ad8::/29": "8823", - "2a02:26f7:50::/48": "36183", - "2a05:3343:a::/45": "134433", - "2a0e:b107:1350::/44": "212360", - "2001:550:1604::/48": "395730", - "2403:6e40:100::/44": "9830", - "2409:893e::/25": "9808", - "240a:ad25::/32": "146015", - "2604:f980:2500::/44": "19957", - "2800:bf0:3024::/38": "27947", - "2a02:70::/47": "3326", - "2c0f:f6c8::/32": "15964", - "2400:ac40::/36": "136255", - "2400:dd05:1007::/30": "7497", - "2408:8256:3461::/40": "17623", - "240e:473:eeef::/35": "4134", - "2a00:1d36::/36": "9121", - "2400:7400:e023::/45": "23736", - "2a01:8ee0::/32": "50295", - "2a03:ad40:110::/48": "199349", - "2a09:9840::/48": "34775", - "2a0e:b107:d91::/48": "213244", - "2001:559:3c1::/48": "33287", - "2001:df0:b500::/47": "61327", - "2408:8459:8610::/42": "17623", - "240a:ade3::/32": "146205", - "2606:6680:3::/48": "3170", - "2620:118:400e::/48": "127", - "2409:8907:8320::/37": "24547", - "2606:4700:22::/41": "13335", - "2804:e64:667::/32": "262952", - "2804:2940::/32": "264006", - "2400:f940:11::/46": "45766", - "2803:1a00:5013::/32": "262186", - "2803:fbc0::/45": "265762", - "2804:324c::/32": "265068", - "2a02:bf8:1601::/48": "1654", - "2401:ff80:160b::/43": "133954", - "2a09:a0c0::/29": "34515", - "2001:550:702::/36": "174", - "2001:67c:2b34::/48": "8220", - "2804:14d:7e00::/42": "28573", - "2a03:9d40:fe00::/39": "41095", - "2001:559:2c4::/48": "33652", - "2001:678:ac::/48": "49251", - "2001:16a2:401e::/47": "39386", - "2804:111c::/47": "52818", - "2806:1018:cc00::/40": "8151", - "2001:df7:2f00::/48": "138114", - "240a:a1ce::/32": "143112", - "2600:1407:b000::/48": "35994", - "2600:1407:b801::/33": "20940", - "2606:2800:511b::/48": "15133", - "2801:80:850::/48": "263428", - "2a02:26f7:da08::/48": "36183", - "2a02:26f7:f849::/42": "20940", - "2c0f:ef10::/32": "328262", - "2606:2800:4048::/48": "14210", - "2804:1164::/32": "263674", - "2804:2cd0::/32": "265245", - "2a02:26f7:c00c::/48": "36183", - "2a03:2a60:8100::/47": "59871", - "2a04:6f02::/29": "3214", - "2a10:4c40::/29": "212736", - "2001:520:1052::/48": "8103", - "2402:1b40:2000::/33": "7628", - "2804:4bb8::/32": "267326", - "2804:5f3c::/32": "269085", - "2a00:14f0::/32": "29017", - "240a:abe1::/32": "145691", - "2603:90f5:5::/48": "11427", - "2804:14c:9983::/41": "28573", - "2a02:26f7:e515::/46": "20940", - "2c0f:f048::/32": "36924", - "2001:559:87b0::/48": "7015", - "2001:1938:3200::/33": "12989", - "2001:4868:209::/42": "23148", - "240e:44d:1800::/41": "140345", - "2603:4010::/31": "3", - "2407:6380::/32": "131713", - "2804:64a8:cafe::/48": "269438", - "2001:559:8688::/48": "7015", - "2001:579:a09c::/41": "22773", - "2401:ee00:501::/38": "23951", - "2620:13d:2064::/40": "20326", - "2804:4f8:cac9::/37": "28263", - "2804:ad8:4380::/32": "262494", - "240a:aca7::/32": "145889", - "2607:f740:e619::/46": "63911", - "2607:fcd0:fa80:3505::/54": "8100", - "2a00:d0c0:201::/32": "58010", - "2001:678:198::/48": "61180", - "2602:feda:2a0::/45": "204185", - "2620:12d:e004::/46": "397635", - "2001:67c:2b68::/48": "204444", - "2409:8704:9b00::/33": "24547", - "240a:a8f8::/32": "144946", - "2804:5818:1500::/32": "268106", - "2a06:c240::/42": "49222", - "2402:800:33d3::/44": "7552", - "240a:a092::/32": "142796", - "2600:6000:fb41::/48": "11351", - "2605:a200::/32": "33576", - "2620:ed:c000::/48": "14209", - "2800:160:160a::/47": "14259", - "2602:fed2:7311::/48": "53356", - "2a02:f58::/35": "49409", - "2001:559:303::/48": "33491", - "2001:1520::/46": "8972", - "240e:fd:e000::/42": "140313", - "2a02:26f7:e184::/48": "36183", - "2001:559:fe::/47": "7725", - "240a:a24f::/32": "143241", - "2803:9660::/32": "267900", - "2001:559:83b5::/48": "33659", - "2407:2ec0::/48": "135967", - "2407:3000:6b::/45": "17707", - "2803:f080:8800::/41": "64120", - "2a00:c3c0::/32": "43928", - "2a04:5d00:70::/48": "202590", - "2001:470:bc::/48": "6939", - "2001:57a:f301::/46": "62957", - "2803:e880:9001::/34": "52468", - "2a02:920::/32": "12597", - "2a0f:2e40::/29": "60262", - "2001:ee0:a640::/35": "45899", - "240a:abb7::/32": "145649", - "240e:44d:6e00::/41": "140345", - "2602:802:b0ca::/48": "397795", - "2610:20:8420::/47": "3477", - "2804:2d94::/32": "265290", - "2a02:ac80:601::/39": "25145", - "2001:559:8206::/48": "7016", - "2001:559:c2b5::/48": "7015", - "2001:15b0::/32": "21221", - "2409:8a04:c300::/34": "24547", - "240a:a03f::/32": "142713", - "240a:a8e5::/32": "144927", - "2803:9800:b997::/38": "11664", - "2a03:6f00:9::/48": "9123", - "2a0e:aa01::/35": "206499", - "2001:df3:ac00::/48": "63972", - "2401:8800:200::/40": "17439", - "240e:379:aa00::/39": "140330", - "2800:68:2a::/47": "61468", - "2804:1810:f400::/36": "263262", - "2804:7ce4::/32": "271525", - "2a02:2720::/32": "6663", - "2a0f:8443::/32": "29182", - "2001:559:c121::/48": "33659", - "2404:138:4011::/48": "134227", - "2409:8924:300::/37": "56046", - "2606:5000:4400::/36": "3908", - "2804:7764::/32": "271175", - "240e:30e:5600::/31": "4134", - "2605:2800:8300::/48": "14373", - "2a02:26f0:dc00::/48": "34164", - "2001:559:c097::/48": "33651", - "2001:559:c27e::/48": "7016", - "240e:983:1e02::/48": "134763", - "2602:fdfc::/36": "36556", - "2804:dc8::/32": "28636", - "2a05:dfc7:5::/48": "204136", - "2804:62c:2001::/45": "262569", - "2001:559:8755::/46": "7922", - "2404:ba00:e::/48": "17665", - "2804:4f8:4f01::/34": "28263", - "2c0f:fbd8::/34": "37542", - "2401:ff80:1689::/46": "133954", - "2803:8180::/47": "263237", - "2a00:d58::/32": "12466", - "2a09:5740::/29": "206793", - "2a0f:7840::/29": "6764", - "2804:1d00::/32": "61688", - "2001:978:230b::/37": "174", - "2402:d000:8105::/44": "9329", - "2403:0:607::/48": "38191", - "2408:8256:398c::/48": "17623", - "240e:473:8b50::/40": "4134", - "2607:f358:26::/32": "18779", - "2803:e880:8101::/45": "52468", - "2804:94::/32": "53081", - "2804:2c58:1210::/39": "265211", - "2a0e:b107:116e::/47": "58015", - "2606:cd80:1::/48": "29802", - "2804:47a0:2000::/32": "267066", - "2804:5950::/32": "268182", - "2a01:9540::/32": "59597", - "2a02:358::/32": "12822", - "2a02:26f7:f945::/46": "20940", - "2a02:2b60::/47": "42947", - "2001:df1:6c00::/48": "138685", - "2400:cb00:a500::/46": "13335", - "240e:473:7f20::/41": "140486", - "2605:3380:4600::/39": "12025", - "2804:1a90:9400::/33": "61868", - "2a0c:1600::/32": "50537", - "2001:559:c22d::/48": "33659", - "2001:67c:1b10::/48": "41681", - "2001:67c:22c0::/48": "3246", - "2403:2500:9000::/41": "36236", - "2604:880:6f::/48": "29802", - "2a02:ee80:4165::/44": "3573", - "2001:559:c3::/44": "7922", - "2001:559:c1ac::/48": "20214", - "2001:fc0::/32": "17547", - "2001:4b22:10:1::/47": "34288", - "2600:1488:c001::/41": "20940", - "2600:5c01:34b7::/44": "11351", - "2a10:56c0::/29": "212731", - "2001:4490:ffc::/46": "9829", - "2409:8914:8400::/39": "56044", - "2607:feb8::/32": "15083", - "2a05:a000::/46": "44322", - "2a0b:c200::/29": "24953", - "2408:8459:f010::/42": "17623", - "2408:8957:c100::/40": "17816", - "2804:4c60::/32": "267367", - "2a0e:8ac0::/29": "203744", - "2408:8456:b810::/42": "134543", - "240a:afdf::/32": "146713", - "2a02:2e02:d70::/40": "12479", - "2a09:be40:3441::/48": "57401", - "2406:7100::/32": "132692", - "2409:8030:1900::/34": "9808", - "2409:8c04::/35": "24547", - "2a0f:19c0::/29": "60262", - "2a0f:7040::/32": "203622", - "2001:678:1b::/48": "51966", - "2401:4900:a00::/44": "45609", - "2407:7c0::/43": "138128", - "2407:d000::/32": "23674", - "2600:1002:a010::/40": "22394", - "2a10:a40::/32": "207271", - "2403:1480:1000::/36": "36351", - "240a:a635::/32": "144239", - "2600:c04:1022::/48": "10480", - "2600:6c38:179::/40": "20115", - "2a0e:ff40::/29": "207902", - "240e:438:3420::/43": "140647", - "2607:9e80:1281::/39": "397068", - "2401:d800:ba00::/42": "7552", - "2600:6c38:88a::/43": "20115", - "2804:189c::/32": "61943", - "2a02:26f7:e605::/46": "20940", - "2a02:6680:1130::/46": "16116", - "2a0f:5701:3516::/48": "206499", - "2001:559:41::/48": "33668", - "2001:67c:568::/48": "57533", - "2001:df4:d600::/48": "45900", - "2403:3b00::/32": "38083", - "2602:ff36::/38": "395348", - "2a00:4802:a70::/40": "13124", - "2607:f110:e1a0::/38": "21889", - "2001:559:1cd::/48": "20214", - "2800:160:1dd5::/44": "14259", - "2804:14::/32": "28360", - "2a0b:4340:c3::/48": "44421", - "2a0e:b107:b8f::/48": "212995", - "2001:559:874e::/48": "7922", - "2804:57d0::/32": "268088", - "2c0f:f178:8001::/48": "328365", - "2001:fd8:3370::/44": "4775", - "2607:f8f0:660::/48": "36391", - "2400:8000:9::/34": "4800", - "240a:a5ff::/32": "144185", - "2600:4400::/31": "6130", - "2804:2324:f000::/36": "262883", - "2001:628:454::/35": "1853", - "2001:67c:6d8::/48": "62359", - "2620:11c:8000::/36": "19", - "2a01:8280:3331::/32": "44735", - "2604:9e01::/32": "20264", - "2a0b:2a86::/32": "21769", - "2804:54e4::/32": "268676", - "2804:58f0::/32": "268159", - "2a02:26f7:c1::/48": "20940", - "2a02:26f7:d151::/45": "20940", - "2a03:ce40::/47": "28753", - "2001:559:86ca::/48": "33659", - "2001:df0:1600::/48": "134980", - "240a:a1b1::/32": "143083", - "240e:fd:e800::/37": "140316", - "2607:fdf0:5ebb::/41": "8008", - "2a0f:80::/32": "24796", - "2602:805:5000::/48": "29981", - "2604:4d40:2000::/36": "53667", - "2605:8900:3000::/36": "8100", - "2a00:d180::/32": "15457", - "240e:3b4:1800::/34": "4134", - "2605:a401:8c7c::/40": "33363", - "2a0d:1140::/29": "208861", - "2a0e:c80:3::/48": "40676", - "2001:4b80::/29": "206557", - "2409:8a50:900::/38": "56047", - "2620:3f:a000::/48": "18696", - "2a02:26f7:d944::/48": "36183", - "2a0f:2680::/29": "204188", - "2606:9500:5000::/36": "26004", - "2a01:9700:14a0::/45": "8376", - "2a02:ee80:4156::/44": "3573", - "2001:678:14::/47": "42385", - "2402:800:31d3::/44": "7552", - "2001:559:71d::/48": "33659", - "2001:67c:590::/48": "206809", - "2001:df5:7b00::/48": "137368", - "2603:c011:a000::/36": "31898", - "2620:2e:40c0::/46": "394506", - "2a02:26f7:9d::/48": "20940", - "2a01:6560::/32": "62248", - "2001:559:85b0::/48": "33491", - "240e:3:8000::/47": "134761", - "2806:20d:5404::/36": "32098", - "2806:370:91a0::/41": "28403", - "2806:1050::/32": "8151", - "2a00:1ca8:45::/48": "58061", - "2a01:4b40:5800::/32": "21299", - "2a01:b960:230b::/48": "39239", - "2001:559:336::/48": "7922", - "2401:d800:b330::/41": "7552", - "2604:880:273::/45": "29802", - "2604:d600:159a::/42": "32098", - "2804:e94:a4::/43": "262468", - "2a04:ed40::/29": "201864", - "2a06:e881:5509::/46": "209864", - "2620:11d:3000::/44": "7872", - "2a11:2e00::/29": "48755", - "2001:503:ba3e::/48": "396574", - "2001:df0:1a::/48": "38244", - "2401:4900:1c16::/44": "24560", - "2804:6bdc::/32": "270430", - "2001:67c:235c::/48": "54990", - "2404:b0:f::/43": "7568", - "2404:bf40:8842::/34": "139084", - "2600:1417:70::/48": "9498", - "2607:b600:8::/48": "10397", - "2620:13::/48": "11647", - "2620:149:a00::/48": "6185", - "2a05:e186::/31": "200941", - "2001:559:1ae::/48": "7015", - "2602:809:b000::/48": "399242", - "2800:320:8406::/48": "27882", - "2804:5128::/32": "268434", - "2401:4300:a::/48": "45184", - "2408:843f:2600::/25": "4837", - "2a02:5320:700::/40": "12189", - "2a06:f907:4000::/36": "56630", - "2a0c:b641:1a0::/46": "57470", - "2001:678:4a0::/48": "44574", - "240a:a312::/32": "143436", - "2600:1007:b030::/40": "22394", - "2804:2e30:21::/46": "265330", - "2a02:e00:ffe8::/48": "43289", - "2a03:e6c0::/32": "199420", - "2a0a:3740::/29": "1257", - "2803:3b80:13::/41": "263702", - "2a0b:a907::/32": "206468", - "2402:5300:2310::/33": "45903", - "2605:1980:102::/45": "13951", - "2804:13dc:8008::/33": "262428", - "2a02:2668:5500::/34": "16345", - "2a02:26f7:dd80::/48": "36183", - "2001:44b8:6051::/45": "4739", - "2001:4cd8::/32": "8319", - "2600:6c34:30f::/48": "33588", - "2a04:d480:3c00::/38": "25291", - "2604:2b80::/36": "54351", - "2a03:5c40::/32": "42777", - "2001:678:8c::/48": "44358", - "240e:473:a650::/39": "4134", - "2605:6c80:9::/48": "53340", - "2607:f768::/34": "33152", - "2804:61c::/32": "28166", - "2a01:5d00::/32": "51918", - "2a07:22c1:35::/48": "211777", - "2408:8872::/32": "4837", - "240a:a1c5::/32": "143103", - "2800:68:42::/43": "61468", - "2800:150:2::/45": "22047", - "2a00:55a0:11::/48": "19969", - "2001:57a:f204::/44": "22773", - "2402:d000:810d::/43": "9329", - "2610:20:500a::/48": "5744", - "2804:2000:5000::/36": "264459", - "2a02:26f7:d4c4::/48": "36183", - "2a0e:b107:1572::/48": "142158", - "2a0f:5707:abc0::/47": "210887", - "2605:6440:3000::/45": "396356", - "2610:120::/36": "33606", - "2a0f:2c40::/29": "60262", - "2400:5200:403::/45": "55410", - "2402:e380:13f::/40": "139073", - "2600:1407:25::/37": "20940", - "2620:6e:8000::/48": "21680", - "2804:1380::/47": "263536", - "2001:df0:de80::/48": "138762", - "2406:6f40::/47": "141163", - "2804:2050:5a8c::/43": "264485", - "2a00:b7c0::/32": "47548", - "2a02:24b0::/32": "29470", - "2408:8444::/40": "140726", - "2600:6c38:734::/36": "20115", - "2a02:26f0:5401::/39": "20940", - "2001:ec0:889::/41": "23969", - "2001:1b70:4296::/48": "395592", - "240a:a2aa::/32": "143332", - "2600:40fc:1010::/45": "14210", - "2800:bf0:8260::/45": "52257", - "2804:6fdc::/32": "270689", - "2806:2f0:34e1::/39": "17072", - "2a09:b340::/29": "202591", - "2401:d800:ba60::/40": "7552", - "240e:44d:5a00::/41": "140345", - "2602:803:1::/48": "5769", - "2402:e280:300::/48": "134674", - "2600:1407:b001::/36": "20940", - "2607:de00:3b::/38": "23498", - "2620:1ec:a93::/39": "8075", - "2a03:62c0::/32": "43402", - "2a0c:9380::/29": "328543", - "2a0f:9980:6::/48": "40676", - "2806:2f0:1004::/42": "22884", - "2001:559:84fb::/48": "33668", - "2409:8751:f00::/35": "56047", - "2606:3e80::/32": "55199", - "2607:ae00::/32": "11468", - "2620:11b:400e::/47": "47870", - "2803:2e40::/39": "27796", - "2804:145c:501::/44": "263327", - "2a02:26f7:f6e5::/44": "20940", - "2a05:5f80::/29": "48402", - "2001:559:520::/48": "33651", - "2001:a98::/42": "8517", - "2409:8020:61::/43": "56046", - "240a:afc4::/32": "146686", - "2804:2634::/35": "264332", - "2a07:f600:4058::/48": "34567", - "2405:1ac0::/48": "18403", - "2600:1016:a110::/35": "6167", - "2604:d600:925::/46": "32098", - "2a00:e200:100::/48": "39396", - "2a02:26f7:f388::/48": "36183", - "2a0e:fd44:49::/48": "204526", - "2001:550:7709::/32": "174", - "2001:6f8::/36": "4589", - "240f::/23": "2516", - "2a06:5500::/29": "204232", - "2a03:600::/32": "15774", - "2403:f500:4000::/32": "10103", - "2405:4803:edd0::/35": "18403", - "240a:a268::/32": "143266", - "2600:380:f1d1::/48": "20057", - "2606:6c00:8000::/48": "32787", - "2804:35f0:9000::/33": "266316", - "2804:4ba4::/32": "267320", - "2c0f:4200::/35": "328790", - "2620:101:8030::/47": "36856", - "2a02:c140::/29": "8426", - "2a0c:8980::/29": "59562", - "2804:3db8::/32": "266549", - "2001:678:e44::/48": "61232", - "2001:dc2::/32": "2515", - "2406:3400:a00::/32": "10143", - "2600:1008:9100::/44": "6167", - "2600:1406:e801::/38": "20940", - "2803:50c0:1::/48": "264763", - "2804:14c:9b89::/41": "28573", - "2a07:a343:f210::/44": "9009", - "2408:8456:b410::/42": "134543", - "2409:8924:5900::/38": "56046", - "240e:108:1161::/48": "138982", - "240e:3b1:7600::/39": "140313", - "2804:334::/37": "53242", - "2a03:f080::/35": "42685", - "2001:67c:1550::/48": "31451", - "2405:57c0::/48": "137799", - "240a:aa33::/32": "145261", - "2804:23fc::/32": "264196", - "2a01:37:6000::/32": "8875", - "2a02:26f7:d259::/42": "20940", - "2001:559:866a::/48": "7922", - "2001:559:c29e::/48": "33287", - "240a:a4f7::/32": "143921", - "240e:965:1800::/34": "4134", - "2600:1002:f010::/40": "22394", - "2804:4d2c::/32": "267416", - "2a0e:4d80::/29": "208882", - "2001:e30:1800::/40": "2697", - "2401:ff80:1313::/40": "133954", - "2606:2800:157::/44": "15133", - "2607:f5b3::/32": "396362", - "2a02:2b60:2::/39": "42947", - "2001:579:b004::/41": "22773", - "240a:ad8f::/32": "146121", - "2a0b:eb40::/29": "41000", - "2001:67c:20ac::/48": "20612", - "2001:4cee::/32": "34868", - "240a:ad01::/32": "145979", - "2600:1008:20::/33": "22394", - "2804:138b:c160::/45": "22085", - "2a0f:9207:24::/48": "61421", - "2001:630::/32": "786", - "2801:1a:6800::/48": "13489", - "2804:c08::/32": "52664", - "2804:4120::/32": "266005", - "2a02:2339:c000::/34": "204652", - "2a07:f100::/35": "34741", - "240e:6b1:2000::/32": "4134", - "2001:559:c157::/48": "33662", - "2607:f298:abb::/48": "7385", - "2610:128:9100::/37": "11686", - "2804:6c90::/32": "270477", - "2c0f:f208::/32": "328471", - "2001:388:1035::/40": "7575", - "2001:428:4005::/37": "209", - "240a:a769::/32": "144547", - "2a02:26f7:de40::/48": "36183", - "2001:15c0::/29": "21283", - "2408:8779:c008::/30": "4837", - "2a02:2268::/32": "197902", - "2a02:26f7:fa81::/46": "20940", - "2a04:16c0:200::/48": "24971", - "2a0a:ed80::/29": "49127", - "2405:5940:b000::/33": "17473", - "2406:4440::/48": "38008", - "240a:aeb4::/32": "146414", - "240e:44d:3200::/41": "140345", - "2804:6930:3000::/32": "270254", - "2001:559:8581::/46": "33657", - "2402:800:3255::/42": "7552", - "240a:af57::/32": "146577", - "2a01:c9c0:cf::/48": "8891", - "2a02:26f7:bac5::/48": "36183", - "2a06:f906::/36": "56630", - "2600:1008:f110::/31": "22394", - "2804:1130::/32": "263664", - "2a02:28f8:2::/48": "31323", - "2a03:3820::/32": "201838", - "2001:559:b3::/45": "7922", - "2806:370:2150::/44": "28403", - "2a00:f10:ff05::/29": "48635", - "2402:28c0:fff9::/48": "137411", - "2c0f:ec08::/32": "328384", - "2001:4c8:1020::/44": "15290", - "2604:36c0::/32": "393670", - "2804:7e10::/32": "271600", - "2a03:5ee0::/32": "3320", - "2a03:b500:4000::/32": "41135", - "2a05:7cc0::/32": "61053", - "2a09:ee40::/29": "201011", - "2001:559:c209::/48": "33657", - "2804:5388::/32": "268590", - "2a00:85c0:1::/48": "203315", - "2a02:1328:2::/48": "31059", - "2001:559:d::/48": "33662", - "2600:140f:a00::/48": "9498", - "2a00:8dc0:ff00::/45": "201029", - "2404:f900:11::/42": "58482", - "2001:559:c386::/48": "33287", - "2408:84f3:e610::/42": "134543", - "2a09:f140::/29": "211332", - "2001:559:44e::/47": "7922", - "2001:1248:70f5::/46": "11172", - "2406:9dc0::/44": "18250", - "2a09:1240::/48": "44364", - "2001:49f0:d09c::/46": "174", - "2406:e000:381::/44": "23655", - "2803:760:181a::/40": "269816", - "2a00:79e1:806::/42": "36384", - "2a0d:b201:8060::/43": "206026", - "2001:559:68::/48": "7922", - "2a05:6740:4060::/46": "206228", - "2001:559:87d1::/48": "7015", - "240a:aac7::/32": "145409", - "2602:fed2:7020::/46": "39753", - "2804:1280::/32": "263480", - "2402:800:9bc5::/43": "7552", - "240e:925:3000::/36": "132153", - "2600:1006:b040::/42": "6167", - "2a02:26f7:d0c5::/46": "20940", - "2a05:1083:d00::/48": "211168", - "2001:78a::/31": "6893", - "2409:8904:5d40::/42": "24547", - "2620:6d:c000::/48": "31921", - "2804:1224::/32": "263459", - "2a02:26f7:ca09::/46": "20940", - "2402:13c0:1::/48": "7474", - "2408:8256:396c::/48": "17623", - "240a:a414::/32": "143694", - "2804:3dc0:b000::/33": "266551", - "2a02:26f7:33::/48": "20940", - "2a02:7b01::/34": "48328", - "2001:559:c15b::/48": "33491", - "2401:d00::/32": "133466", - "2401:4900:4f10::/44": "45609", - "2a00:c00:f060::/46": "15769", - "2a00:f8c0::/32": "198288", - "2a0c:b642:2000::/44": "34641", - "2001:559:816e::/48": "7016", - "2402:800:72a0::/39": "7552", - "240a:a089::/32": "142787", - "240a:ab56::/32": "145552", - "2804:2c8::/32": "262837", - "2409:8c1e:5b80::/34": "9808", - "2804:1f16::/32": "265190", - "2a0d:fd40::/41": "14630", - "2a0e:f880::/29": "207902", - "2001:df0:93::/48": "45128", - "240a:ac42::/32": "145788", - "240a:afe9::/32": "146723", - "2001:3a8::/32": "9848", - "2401:d800:dc60::/39": "7552", - "2408:8459:ac30::/41": "17622", - "240e:728::/24": "4134", - "2801:174:1::/48": "18747", - "2a02:4fe0::/32": "60129", - "2001:559:773::/45": "7922", - "240a:a6cd::/32": "144391", - "2607:fd48::/39": "13536", - "2806:230:1035::/40": "11888", - "2a00:1440::/32": "43727", - "2a02:970:115a::/42": "44002", - "2a0f:9400:7724::/48": "211027", - "2408:8459:3c30::/44": "17623", - "2605:a404:fd::/39": "33363", - "2607:f560::/32": "7029", - "2607:fff0::/32": "17293", - "2620:11a:a020::/46": "43515", - "2a01:2c0:23dc::/32": "8282", - "2404:6900:2013::/32": "17819", - "2600:1fa0:c0c0::/44": "16509", - "240e:44d:1a00::/41": "140345", - "2606:7d00:c002::/35": "23248", - "2a00:c50::/29": "49289", - "2605:f440:b00c::/36": "54874", - "2620:111:8000::/46": "32771", - "2401:14c0:4b::/40": "136531", - "240a:aaf9::/32": "145459", - "2602:805:8000::/40": "397110", - "2600:1012:f020::/40": "22394", - "2a0e:9cc0:3000::/29": "208905", - "2600:c05:3011::/32": "11855", - "2001:559:5e::/48": "33651", - "240e:980:2000::/40": "4134", - "2402:800:5871::/44": "7552", - "2800:bf0:80c7::/48": "27947", - "2a04:d2c0::/29": "15552", - "2a05:4140:190::/48": "211358", - "2001:559:46::/48": "7922", - "2001:559:829a::/48": "33657", - "2001:67c:227c::/48": "3320", - "2400:d400:6::/48": "45671", - "2607:d500:202::/40": "54527", - "2804:2a0c::/32": "264053", - "2a02:26f7:e385::/46": "20940", - "2400:7fc0:8000::/36": "55960", - "2a00:b9a0::/32": "198872", - "240a:a6d5::/32": "144399", - "2806:1008:cfff:2::/34": "8151", - "2a02:2698:2400::/38": "41786", - "2a03:c580::/32": "39104", - "2a0d:7780::/29": "59441", - "2605:8400::/32": "10242", - "2804:3dbc::/32": "266550", - "2a02:26f0:a901::/38": "20940", - "2001:559:1fd::/48": "7922", - "2401:d800:dfc0::/42": "7552", - "2804:7a08::/32": "271343", - "2a02:26f0:9c01::/39": "20940", - "2a03:3300::/32": "50399", - "2a03:c400::/32": "8445", - "2a0f:c400:a::/47": "60781", - "240e:978:600::/36": "4134", - "2804:5f2c:50c0::/32": "269081", - "2a01:c9c0:c5::/48": "8891", - "2001:559:8284::/48": "22909", - "2402:9900:200::/48": "27435", - "2403:9800:2f::/48": "2570", - "2620:f::/48": "3754", - "2801:80:260::/48": "53012", - "2804:62a0::/32": "269308", - "2a0e:3840:4::/48": "40676", - "2001:559:54e::/48": "7922", - "2402:8100:20c1::/46": "55644", - "240e:44d:980::/41": "4134", - "2600:3000:5200::/31": "13649", - "2804:574:8::/34": "53013", - "2a00:f480::/32": "2848", - "2a02:5bf::/32": "35575", - "2001:4130:141::/34": "24725", - "2402:ef40::/32": "4808", - "2804:2370::/32": "264162", - "2806:230:1005::/48": "11888", - "2a0d:c680::/29": "204467", - "2a03:2be0::/32": "59859", - "2001:648:2330::/48": "9069", - "2001:1a68:3::/48": "24723", - "240a:a749::/32": "144515", - "2605:4f40:8::/45": "33661", - "2800:bf0:8143::/45": "52257", - "2806:20d:1d1b::/45": "32098", - "2a02:ad8:204::/35": "12389", - "2001:550:9803::/38": "174", - "2409:804b:29ff::/48": "9808", - "240e:473:4120::/41": "140486", - "2607:f0d0::/46": "36351", - "2a01:9700:1000::/42": "8376", - "2a02:26f7:f385::/46": "20940", - "2406:4e40:fcf::/32": "140966", - "2606:2e00::/33": "29854", - "2804:66e0:8000::/33": "269588", - "2a02:e982:1f::/42": "19551", - "2001:67c:1768::/48": "209859", - "2001:67c:17ec::/48": "13127", - "2408:840c:ab00::/40": "17621", - "2602:ffe4:c34::/48": "135905", - "2607:f000::/32": "26978", - "2a03:87c0::/29": "31042", - "2a0a:f586::/32": "51837", - "2400:f2:7001::/29": "4766", - "240a:a21b::/32": "143189", - "2604:b180:500::/44": "18601", - "2804:5304::/32": "268557", - "2a00:1288:ef6b::/48": "10310", - "2a02:26f7:e740::/48": "36183", - "2001:559:396::/48": "7725", - "2403:3140::/32": "23910", - "240a:a9ce::/32": "145160", - "2600:1488:6181::/43": "20940", - "2620:149:2::/43": "714", - "2620:149:ae8::/43": "714", - "2a04:2e80:5::/48": "208407", - "2001:559:384::/48": "33652", - "240a:a8c0::/32": "144890", - "2a02:26f7:e484::/48": "36183", - "2001:1a11:ba::/47": "42298", - "2402:800:7470::/40": "7552", - "2804:e30:dc00::/38": "11338", - "2804:2484:8190::/33": "28258", - "2a07:1980:16::/48": "25773", - "2001:559:c0b0::/45": "7922", - "2a05:3580:fa00::/29": "35807", - "2001:559:86dc::/47": "7922", - "240a:a095::/32": "142799", - "240a:abcb::/32": "145669", - "2605:2800:200::/35": "6922", - "2401:d800:5ec0::/42": "7552", - "2605:b100:100::/41": "577", - "2803:c010:e6::/48": "271799", - "2804:7f60::/32": "270680", - "2a02:2698:3824::/38": "59713", - "2001:559:5fc::/48": "7922", - "240a:a3a5::/32": "143583", - "2600:1406:b001::/37": "20940", - "2607:f038:ffff::/48": "21527", - "2804:b4:c0c0::/34": "28294", - "2a00:d2c0:5::/32": "12975", - "2a01:1101:5::/48": "29535", - "2a0e:b102:12b::/45": "212895", - "2402:7500:4ce::/42": "24158", - "2606:b500::/32": "19751", - "2620:1f:8000::/48": "10908", - "2806:2a0:e::/43": "28548", - "2a01:a860::/32": "202212", - "2c0f:eb00:500::/38": "61266", - "2401:ff80:1c01::/46": "133954", - "2600:1410:c001::/31": "20940", - "2604:d600:1404::/46": "32098", - "2800:bf0:8060::/45": "52257", - "2804:7278::/32": "270854", - "240e:37c:1a00::/34": "140330", - "2600:140b:f401::/36": "20940", - "2804:7620::/32": "271091", - "2a02:f600::/29": "199139", - "2a03:afe2::/32": "51392", - "2001:559:57::/48": "7016", - "2607:f3c8:8000::/33": "33724", - "2a0e:6b40::/48": "207580", - "2001:4528:9580::/33": "18101", - "2401:ff80:1c8f::/43": "133954", - "2607:f5b6::/32": "393886", - "2a02:7a01::/32": "197895", - "2a03:5640:f560::/48": "16509", - "2001:559:819c::/48": "33652", - "240e:3bd::/35": "134773", - "2806:230:1000::/48": "265594", - "2a04:bc40:2dc3::/48": "209813", - "2c0f:f7d0::/32": "15964", - "2401:e900:1000::/48": "23991", - "2402:3a80:830::/38": "38266", - "2a01:9700:1050::/46": "8376", - "2a02:26f7:c808::/48": "36183", - "2a0e:97c0:4ff::/48": "210956", - "2402:e280:3da1::/45": "134674", - "240a:aab0::/32": "145386", - "240e:473:1e00::/41": "140485", - "2a01:6780:4::/48": "12676", - "2a02:aa0::/29": "44034", - "2a03:8000::/32": "60830", - "2a06:4d00::/29": "41332", - "2a0e:b107:1168::/46": "58015", - "2001:df2:e100::/48": "136852", - "2001:1a11:79::/46": "42298", - "2401:4900:1c0e::/47": "24560", - "2403:1000:5300::/40": "38819", - "240a:aed7::/32": "146449", - "2600:380:9f80::/34": "20057", - "2804:124c:4c0::/38": "263468", - "2a07:44c0::/29": "203081", - "2001:418:9808::/33": "2914", - "2800:d302:15::/46": "11830", - "2a01:190:15e8::/48": "29330", - "2a01:831::/29": "3209", - "2a01:53c0:ffe8::/47": "54994", - "2a02:26f7:d200::/48": "36183", - "2a02:26f7:e044::/48": "36183", - "2001:559:227::/48": "13367", - "2804:35b4::/32": "266301", - "2409:803c:2000::/40": "24444", - "2409:8904:66b0::/39": "24547", - "2800:200::/44": "12252", - "2804:313c::/32": "265001", - "2804:4c5c::/32": "267366", - "2a0f:5680:2::/47": "60906", - "2001:67c:3d4::/48": "207143", - "2001:1490:100::/48": "30857", - "240a:a2fc::/32": "143414", - "2607:9e00:1002::/34": "30536", - "2a02:26f7:d645::/46": "20940", - "240e:44d:2500::/41": "140345", - "240e:964:3000::/37": "133775", - "2a0e:fdc0::/29": "207375", - "2a0f:5707:aae0::/44": "30823", - "2001:559:380::/48": "33659", - "2001:a70::/32": "8426", - "2804:d30::/32": "52610", - "2804:6ce0::/47": "270498", - "2a02:26f7:fc00::/48": "36183", - "2a11:b80::/29": "208861", - "2001:559:c03b::/45": "20214", - "240a:a396::/32": "143568", - "2600:200a:3001::/29": "33517", - "2600:6c38:a90::/46": "20115", - "2605:a480::/32": "32703", - "2804:1e58:8000::/33": "264422", - "2a02:2ae8:8110::/33": "702", - "2405:7b40::/48": "135994", - "2800:160:13fe::/37": "14259", - "2001:559:4cb::/48": "33659", - "2408:8459:b230::/41": "17622", - "2408:8756:2cf3::/44": "135061", - "2604:2d80:4000::/34": "30036", - "2804:5cf0::/32": "268940", - "240a:a4c9::/32": "143875", - "2603:c001:2610::/36": "31898", - "2804:4024::/34": "265937", - "2a02:26f7:e109::/46": "20940", - "240e:980:8500::/40": "133774", - "2a02:2198::/32": "21161", - "2a0b:1640:1::/48": "205787", - "2001:559:2c0::/48": "33652", - "2620:53:c000::/48": "62821", - "2a04:3f83:44::/48": "213054", - "2001:559:274::/48": "20214", - "2001:559:85cf::/43": "33662", - "240a:a270::/32": "143274", - "2804:22c:f700::/36": "22689", - "2a02:26f7:f18c::/48": "36183", - "2a05:9d40::/29": "62166", - "2a0d:b200:800a::/48": "206026", - "2401:2a00::/35": "7468", - "2403:400:400::/39": "23820", - "2804:24c8::/32": "52846", - "2804:519c::/32": "268465", - "2001:df6:4400::/48": "133301", - "2001:49f0:a060::/44": "174", - "2409:8914:9b00::/40": "56044", - "240e:108:11b2::/47": "58461", - "2600:1007:b000::/42": "6167", - "2600:1419:1a::/48": "20940", - "2607:fda8:1010::/47": "54004", - "2a00:e7a0::/47": "204167", - "2a02:26f7:c3c0::/48": "36183", - "2001:1248:97bc::/41": "11172", - "2403:6200::/33": "45758", - "240a:af1a::/32": "146516", - "2600:1404:c000::/48": "35994", - "2600:1407:6401::/38": "20940", - "2804:4b24::/32": "267286", - "2408:8957:a900::/40": "17816", - "240a:aa54::/32": "145294", - "2602:ffe4:c09::/46": "21859", - "2605:3ac0:1000::/36": "6939", - "2803:ea60::/32": "267883", - "2a02:26f7:ccc8::/48": "36183", - "2a02:cb43:8004::/48": "20546", - "2001:4830:c0c0::/44": "3384", - "2605:aa40:c1f0::/48": "395394", - "2804:1bd8:9000::/33": "28224", - "2804:7fc4::/32": "271708", - "2a10:2f00:11a::/48": "207317", - "2001:4998:58::/45": "26101", - "2803:5440:4062::/45": "264738", - "2a0e:1b01::/32": "50873", - "2400:fc00:9901::/33": "45773", - "2a04:4e40:1220::/43": "54113", - "2a0a:8880:aaaa::/48": "50937", - "240a:abd1::/32": "145675", - "2804:61c0::/32": "269254", - "2806:230:301f::/48": "11888", - "2402:800:37e0::/44": "7552", - "2600:1002:9010::/40": "22394", - "2a02:26f7:c549::/42": "20940", - "2a02:26f7:e9c1::/46": "20940", - "240e:ff:c006::/48": "140308", - "2607:ae80:128::/48": "26558", - "2607:f790:fff1::/45": "12129", - "2804:6a14::/39": "61601", - "2a01:788:aaab::/48": "34305", - "2001:4340::/32": "3208", - "2401:d800:dea0::/41": "7552", - "2402:8100:2120::/43": "38266", - "240a:aa62::/32": "145308", - "2604:e100:1::/48": "33028", - "2a02:26f7:cbc9::/42": "20940", - "2001:678:d28::/48": "209314", - "2001:df5:7800::/48": "133465", - "2a02:d0c0::/31": "39150", - "2a03:14a0::/32": "60427", - "240a:a3ad::/32": "143591", - "2605::/32": "29848", - "2a03:51a0::/32": "39046", - "2001:559:c1f7::/48": "33659", - "2405:ba00:8800::/48": "63295", - "2407:2400::/32": "45641", - "2607:f148:4000::/36": "11734", - "2a04:4e40:5600::/48": "54113", - "2001:678:620::/48": "204388", - "2001:1248:5627::/43": "11172", - "2600:1003:a800::/44": "6167", - "2607:f770:fffc::/46": "22958", - "2a02:26f0:7c01::/39": "20940", - "2a06:ca40::/29": "44749", - "2600:1017:9810::/34": "6167", - "2620:3f:c009::/48": "62645", - "2a03:2ca0:3136::/32": "59865", - "2c0f:f038::/32": "36924", - "2404:e801:2004::/46": "55430", - "240a:afab::/32": "146661", - "240e:3b8:9c00::/34": "140310", - "2600:140f:1c00::/48": "55836", - "2806:2f0:23e3::/48": "17072", - "2a01:528::/32": "6775", - "2600:1a0e:270f::/35": "46650", - "2600:6c38:50f::/41": "20115", - "2806:2f0:81a1::/41": "17072", - "2a01:8840:da::/45": "12041", - "2001:468:2809::4/48": "396961", - "2001:559:13f::/48": "33655", - "2602:fcd8:7::/48": "14618", - "2a02:26f7:c781::/46": "20940", - "2a04:e840::/29": "47704", - "2a0d:9600:c::/48": "39664", - "2404:c400:a000::/33": "9328", - "2405:55c0:82::/32": "63991", - "2001:1248:8703::/45": "11172", - "2804:1c78::/32": "263041", - "2a04:f580:8090::/48": "4134", - "2a0e:fd45:b52::/42": "44103", - "240a:af19::/32": "146515", - "240d:c010:50::/48": "132591", - "2600:1009:f010::/40": "22394", - "2620:108:7000::/44": "16509", - "2001:41a0::/32": "6882", - "2408:8459:6c30::/41": "17622", - "2408:8956:78c0::/39": "17816", - "2600:1406:6c01::/38": "20940", - "2606:2800:60c::/47": "15133", - "2610:a1:3044::/48": "12008", - "2600:100d:b0d0::/42": "6167", - "2a06:5b40::/29": "59402", - "2a07:2e80::/29": "203201", - "2a09:7700::/29": "211199", - "240e:3b9:1200::/39": "4134", - "2a05:e40::/35": "59909", - "2a0f:5900::/29": "62412", - "2401:1d40:f8::/39": "23724", - "2800:485:1c00::/40": "10620", - "2a00:ede0::/32": "35804", - "2a02:2e02:be0::/37": "12479", - "2406:3003:207e::/47": "4657", - "2409:8028:2100::/37": "9808", - "2605:9780:30::/48": "393544", - "2a03:b500::/40": "41135", - "2a09:59c0::/29": "63023", - "2001:550:3e01::/33": "174", - "2402:a0c0:6::/48": "137922", - "2405:3040::/32": "139370", - "2604:c880:20::/43": "46455", - "2620:d8:c000::/48": "7784", - "2a00:8c40:235::/48": "205418", - "2804:3414::/32": "28666", - "2a02:26f7:e7cd::/46": "20940", - "2001:67c:2c78::/48": "9201", - "2001:978:b701::/33": "174", - "2409:8904:2a40::/39": "24547", - "2a02:26f7:f204::/48": "36183", - "2001:559:8267::/48": "7922", - "2001:df2:1b00::/48": "138225", - "240a:a530::/32": "143978", - "2600:140b:b401::/36": "20940", - "2a05:b0c6:200f::/48": "208753", - "2a06:7243:1a::/45": "202365", - "2606:5e00::/35": "14576", - "2804:5cac::/32": "268923", - "2a06:e880:1::/48": "48550", - "2001:559:5f8::/48": "33659", - "240a:ab3c::/32": "145526", - "2600:1415:e800::/48": "24319", - "2607:fb10:5062::/47": "55095", - "2800:160:1826::/44": "14259", - "2600:6c38:72b::/45": "20115", - "2610:20:9008::/45": "3477", - "2804:56c:200::/32": "28210", - "2806:230:6015::/48": "11888", - "2a00:b700:5::/48": "51659", - "2a09:2600::/29": "197036", - "2001:57b:1001::/38": "22773", - "240a:a93a::/32": "145012", - "2605:9c0::/48": "55158", - "2620:1d5::/44": "14773", - "2a00:ebc0::/32": "3190", - "2001:388:31::/40": "7575", - "2001:559:8171::/48": "33657", - "2400:f1::/30": "4766", - "240a:a6d4::/32": "144398", - "2806:102e:7::/44": "8151", - "2001:67c:2570::/48": "13030", - "2402:3880::/32": "23791", - "2403:4f80::/32": "131270", - "2409:8038:100::/36": "9808", - "2605:f140::/32": "398735", - "2001:560::/32": "18530", - "2402:800:9b47::/43": "7552", - "2600:805:b01::/30": "701", - "2a09:c580::/32": "209979", - "2001:559:87aa::/45": "7922", - "2001:67c:344::/48": "50156", - "2804:14c:9d00::/40": "28573", - "2610:98::/32": "11478", - "2001:550:1e02::/34": "174", - "2001:4d78:2000::/40": "15830", - "2400:89c0:6100::/48": "37936", - "2406:eb00:210::/48": "132653", - "240a:a00c::/32": "142662", - "240a:a8cc::/32": "144902", - "2606:2800:547::/44": "15133", - "2803:51c0::/32": "262181", - "2a10:4a80::/32": "210072", - "2001:559:804e::/48": "33287", - "2406:3000:11:100c::/50": "4657", - "2407:6180::/32": "138466", - "2001:67c:2b4c::/48": "60218", - "2400:e940::/32": "136463", - "2408:897e::/32": "4837", - "2a00:9de0::/32": "60228", - "2a02:a50::/32": "20742", - "2a06:b280:2::/31": "199213", - "2402:9d80:a00::/47": "131429", - "2408:8256:2d8d::/43": "17623", - "2804:5c00::/32": "268882", - "2001:559:80f8::/48": "33652", - "2409:8000:3900::/33": "9808", - "2409:8d30::/29": "9808", - "2600:6c38:442::/45": "20115", - "2a02:26f7:d689::/42": "20940", - "240e:3b0:4c00::/35": "136200", - "2604:940:34::/48": "40386", - "2a0d:e380:2::/29": "204460", - "2804:154c:502e::/32": "263382", - "2001:67c:2480::/48": "212966", - "2001:df5:f500::/48": "133296", - "2403:2c80::/40": "9312", - "2403:fa40:2::/48": "23858", - "2405:8000::/32": "38462", - "240a:ae75::/32": "146351", - "240e:6b9:1000::/36": "4134", - "240e:473:7a50::/39": "4134", - "2a01:6500:4::/32": "42925", - "2a03:b6c0::/32": "20672", - "2a04:4e40:3c00::/47": "54113", - "2400:f2:7000::/48": "202818", - "240a:af60::/32": "146586", - "2604:ae00:3::/48": "4452", - "2607:f048::/32": "26803", - "2607:fcd0:fa80:2301::/53": "8100", - "2804:14c:6b82::/41": "28573", - "2a01:8840:c::/48": "33280", - "2a0f:6f00::/29": "208861", - "240a:a22b::/32": "143205", - "2602:fdd4::/36": "396855", - "2804:161c::/34": "263268", - "2804:3850:8200::/36": "266469", - "2408:8256:3661::/43": "17623", - "2804:7c80::/32": "271500", - "2a00:1510::/32": "42882", - "2a03:2880:f01d::/46": "32934", - "2a0b:ec82::/32": "52000", - "2600:1400:801::/37": "20940", - "2804:14d:1681::/41": "28573", - "2a03:2880:f0fe::/47": "32934", - "2a0d:9500::/29": "48551", - "2600:100e:f010::/39": "6167", - "2400:addd::/30": "9541", - "240a:a5df::/32": "144153", - "240e:44d:2d00::/41": "140345", - "2800:160:1315::/46": "14259", - "2a04:4e40:4400::/47": "54113", - "2a0c:9a40:82b0::/48": "1239", - "240e:a7:9000::/28": "4134", - "2600:1402:8801::/35": "20940", - "2604:3840::/48": "20061", - "2606:b400:8302::/48": "90", - "2804:128::/32": "28634", - "2a02:26f7:e144::/48": "36183", - "2a0b:9b40::/29": "202120", - "2a0f:8040::/29": "6735", - "2401:ff80:1685::/44": "133954", - "2800:440:1e00::/42": "27738", - "2804:28b0::/32": "52932", - "2a00:1dd8::/29": "31042", - "2a06:c5c0:1100::/48": "204548", - "2a09:3c00::/48": "6939", - "2a0a:7c00::/29": "38955", - "2a0f:cc40::/29": "8901", - "2001:678:294::/48": "2613", - "2001:1260:105::/44": "13591", - "2001:1490:104::/32": "8895", - "2401:f80::/32": "9268", - "2806:2f0:72a1::/41": "17072", - "2a03:6f00:1::/45": "9123", - "2a0a:1800:4::/43": "49915", - "2001:4878:136::/48": "12222", - "2406:2000:1d0::/48": "10880", - "240e:3b8:ec00::/35": "140314", - "2600:1402:4::/44": "20940", - "2620:133:6000::/44": "22084", - "2804:14d:7e91::/41": "28573", - "2604:10::/32": "19112", - "2800:160:14d8::/42": "14259", - "2804:2238:f00::/32": "264598", - "2400:c700:5001::/32": "55644", - "2607:f868:8000::/45": "20141", - "2620:171:e0::/43": "42", - "2800:200:2005::/44": "12252", - "2804:514::/32": "262490", - "2a0d:8d05:2::/48": "211944", - "2407:5200:4924::/32": "55915", - "240a:a915::/32": "144975", - "2801:11:6800::/48": "3816", - "2001:470:ee::/48": "62538", - "2001:559:3ec::/48": "33652", - "2600:6c38:16e::/43": "20115", - "2606:6340::/32": "399857", - "2607:ca00:8000::/33": "7122", - "2804:7b30::/32": "271416", - "2a02:1718::/32": "51182", - "240e:874::/41": "140638", - "2001:648:3400::/40": "8248", - "2001:67c:2a98::/48": "3301", - "2001:cc8::/31": "4637", - "2400:ee80::/34": "45177", - "2404:3d00:4064::/40": "3573", - "2405:6e00:f800::/48": "133612", - "2408:8459:b850::/38": "17816", - "2a02:26f0:7601::/39": "20940", - "2401:1f00::/32": "9268", - "2405:1c0:7181::/46": "135062", - "2606:1f80::/32": "13414", - "2620:0:150::/48": "2714", - "2804:8d4::/32": "262753", - "2a02:26f7:ed89::/42": "20940", - "2a0e:c5c0::/32": "208854", - "2001:559:1e0::/48": "33659", - "2001:559:831b::/48": "33660", - "2001:43f8:1460::/48": "328601", - "2405:1c0:6273::/40": "55303", - "2406:daa0:a040::/44": "16509", - "240a:a7ff::/32": "144697", - "2a02:26f0:1600::/48": "34164", - "2a0f:9400:7722::/48": "211066", - "2001:559:c358::/48": "7016", - "2a00:1d28::/32": "8523", - "2001:559:148::/48": "33491", - "2001:559:c3fa::/48": "7016", - "2001:4478:ff02::/40": "4802", - "2602:fcf4::/36": "398738", - "2620:130:3025::/46": "62861", - "2a0f:9400:8020::/48": "20473", - "2804:1e08::/32": "264406", - "2804:3c30::/32": "266195", - "2a00:83a0::/32": "60772", - "2a0c:f80::/29": "209372", - "2001:7f8:3a::/48": "41692", - "2404:5d80:6300::/40": "33438", - "2407:8c00:90::/42": "55441", - "2602:803:4070::/48": "398223", - "2604:bc0:4::/48": "30176", - "2a06:e881:3500::/44": "205117", - "2405:9800:d001::/48": "134240", - "240e:44d:2a00::/41": "140345", - "2607:b480::/32": "394814", - "2001:559:53d::/48": "33491", - "2001:f20:2000::/47": "9875", - "2405:a00::/32": "4783", - "2a03:7380:3800::/42": "13188", - "2a10:9a80:dc01::/48": "1764", - "2400:f340:9::/48": "131746", - "2804:284c::/33": "263954", - "2402:800:3671::/44": "7552", - "2600:e00c::/32": "22995", - "2607:ff58::/32": "40475", - "2a02:2370:200::/47": "32787", - "2a0c:1040::/29": "204382", - "2604:ca00:156::/42": "36492", - "2804:de8::/32": "52525", - "2600:1417:55::/46": "9498", - "2405:1c0:6443::/43": "55303", - "2408:8306::/28": "4808", - "240a:a018::/32": "142674", - "2001:df7:a401::/48": "134839", - "2001:43f8:e0::/48": "37045", - "2401:d800:dde0::/38": "7552", - "2406:3003:1029::/45": "4657", - "240e:473:9d20::/41": "140486", - "2607:fcd0:100:c000::/50": "8100", - "2620:22:4000::/48": "29773", - "2001:df3:b880::/48": "17538", - "2001:df0:31a::/45": "140592", - "2402:800:3a9b::/41": "7552", - "2403:4440::/32": "9367", - "2600:380:e980::/41": "20057", - "2607:9480::/43": "14338", - "2803:8240:2::/40": "52511", - "2a01:8840:35::/48": "207266", - "2a09:4c0:d01::/38": "58057", - "2a01:e0a:600::/26": "12322", - "2a02:8b8::/32": "15657", - "2a0d:9e40:1000::/36": "9558", - "2001:678:95c::/48": "34093", - "2001:df6::/46": "132557", - "240e:97c:4000::/36": "4816", - "2803:6604:a401::/39": "28075", - "2806:20d:590d::/38": "32098", - "2001:44b8:2046::/48": "7545", - "2406:dc0:88ca::/47": "9221", - "240e:982:b100::/40": "136190", - "2620:2:6000::/48": "395409", - "2a00:4802:290::/42": "13124", - "2a04:88c7::/32": "205544", - "2a0b:b86:f4::/48": "3280", - "2607:fb10:503a::/47": "2906", - "2a00:f40:1::/46": "43447", - "2a00:19c8:9000::/29": "35833", - "2a0a:600::/29": "64431", - "2a0e:8f02:f021::/48": "211498", - "2001:44b8:605f::/48": "4739", - "2405:9800:b810::/48": "133481", - "2a00:4e00::/33": "15368", - "2001:df6:2480::/48": "44103", - "2001:6d0:fffc::/48": "42385", - "2001:df3:8980::/48": "140593", - "2400:e440:400::/41": "42382", - "2a0a:6f80::/32": "50673", - "2a0f:1e80:61::/48": "60781", - "2408:8459:3a10::/44": "17623", - "2607:f598:f001::/48": "397715", - "2a0e:97c0:2c0::/44": "211548", - "2408:80ea:75e0::/43": "17623", - "2620:125:9050::/48": "397415", - "2a01:c9c0:c1::/46": "8891", - "2a02:ff0:1800::/40": "12735", - "2a03:c9c0::/32": "51752", - "2001:1620:210d::/32": "13030", - "2a00:6900::/47": "20926", - "2a00:fd40:1::/48": "58272", - "2a01:5880::/32": "20924", - "2804:5544::/32": "268699", - "2600:370f:3545::/40": "32261", - "2620:0:480::/48": "28729", - "2a09:2dc0::/32": "30860", - "2001:67c:217c::/48": "2486", - "2403:5180:8888::/48": "6233", - "2409:804c:3100::/36": "9808", - "240a:a7e0::/32": "144666", - "2804:680:19::/37": "262589", - "2804:e04::/32": "52535", - "2a02:26f7:c440::/48": "36183", - "2001:678:e4c::/48": "212622", - "2409:8d4c::/30": "9808", - "2604:8100::/32": "26292", - "2001:678:cac::/48": "39702", - "2404:b0:11::/46": "4750", - "240a:a13b::/32": "142965", - "2607:fd48:480:2::/36": "13536", - "2409:8f18::/31": "134810", - "2607:8e80::/32": "395479", - "2a02:26f7:e7c5::/46": "20940", - "2a03::/32": "204094", - "2a03:a8e0::/32": "57090", - "2001:4870::/32": "3549", - "2401:ce80:1002::/32": "14340", - "2600:1402:3::/48": "35994", - "2604:cc00:a3::/48": "53292", - "2804:728::/32": "53201", - "2804:59cc::/32": "268726", - "2a02:26f7:e888::/48": "36183", - "2a07:f300::/29": "208861", - "2a0b:33c0:10::/48": "57395", - "2c0f:f4b0::/32": "328471", - "2401:1540::/32": "136534", - "2a01:8840:92::/45": "12041", - "2001:559:c002::/48": "7922", - "2620:98:a000::/48": "399668", - "2a02:26f7:1a::/48": "36183", - "2a03:a080::/32": "198145", - "2402:800:f660::/40": "7552", - "240a:a2b7::/32": "143345", - "2620:4e:a000::/48": "393529", - "2804:21f8::/44": "262272", - "2a00:1fa1:8000::/30": "8359", - "2403:b100::/34": "9989", - "2409:8d75::/28": "9808", - "2a00:c70::/32": "21409", - "2a10:b5c0::/29": "211668", - "2001:4500:1200::/32": "18183", - "2402:ef38::/32": "38536", - "2001:df0:4e80::/48": "139035", - "240a:afb6::/32": "146672", - "2804:3b8:fd10::/38": "52965", - "2a00:19e8::/32": "31493", - "2a01:a740::/32": "61157", - "2a02:26f7:c3d0::/48": "36183", - "2001:559:83cf::/48": "7725", - "2001:559:c25e::/48": "33287", - "2401:ff80:1b0d::/46": "133954", - "2407:1e40:301::/37": "141732", - "240a:afca::/32": "146692", - "2804:6d18::/32": "270512", - "2a0b:7e40::/32": "206894", - "2408:8406:6000::/39": "4808", - "240a:afb2::/32": "146668", - "2803:9800:b507::/36": "11664", - "2804:7b68::/44": "271430", - "2a04:52c0::/32": "60404", - "2a0d:2680:1112::/40": "20473", - "2001:559:c10f::/48": "7015", - "2400:3800::/32": "9617", - "2408:8756:3af0::/46": "17623", - "2603:c0f8:1000::/43": "20054", - "2620:171:63::/45": "42", - "2804:5ab4::/32": "268790", - "2804:5b14::/32": "268817", - "2001:559:13e::/48": "22258", - "2600:1406:8c01::/38": "20940", - "2a0e:46c4:100::/48": "139653", - "2001:559:8208::/48": "33654", - "2001:dce:8800::/48": "38064", - "2400:6b00::/32": "63997", - "2804:2ae4:f000::/36": "13878", - "2a04:4e40:6200::/48": "54113", - "2001:1248:9613::/44": "11172", - "2408:8256:668::/39": "17622", - "2409:8904:4460::/39": "24547", - "2600:6000:f571::/40": "12271", - "2404:4300::/32": "9930", - "2604:ca00:136::/41": "36492", - "2001:67c:670::/48": "201824", - "2a00:1358:d100::/36": "6866", - "2c0f:e9c8::/32": "36926", - "2001:470:142::/48": "22989", - "2001:559:30a::/48": "7922", - "2001:559:c2bc::/48": "33662", - "2600:370f:352a::/45": "32261", - "2803:8d80::/33": "11664", - "2804:25e8::/32": "264310", - "2804:5480::/32": "268654", - "2409:8904:4760::/36": "24547", - "240a:a8ef::/32": "144937", - "240e:964:2800::/38": "133776", - "240e:980:2800::/40": "133775", - "2804:758c::/32": "271054", - "2a04:6400:191a::/29": "62240", - "2408:8256:318b::/48": "17623", - "2804:1f44::/32": "270710", - "2a02:cb80:4005::/46": "43766", - "2a06:c702::/29": "6810", - "2a07:de40:400::/38": "29298", - "2001:320:4002:2001::/32": "1237", - "2401:3c0:214::/48": "45528", - "2401:1d40:f21::/45": "23724", - "2607:f180:5200::/34": "35908", - "2804:2f04::/32": "264866", - "2408:8459:be50::/33": "17816", - "240a:a803::/32": "144701", - "2607:f5b2::/32": "396190", - "2806:2f0:71c1::/42": "17072", - "2a04:4e40:6000::/48": "54113", - "2001:559:79a::/47": "7922", - "2804:5c58::/32": "268903", - "2001:559:837e::/48": "33491", - "2001:df0:2c1::/48": "58624", - "2620:11d:9001::/48": "33186", - "2a02:26f7:c359::/45": "20940", - "2404:1d40:d::/32": "131216", - "2a00:9340::/32": "57795", - "2a0a:8d40::/29": "60987", - "2804:9a8:8000::/33": "262979", - "2804:5ae0::/32": "268802", - "2001:559:836a::/48": "33652", - "2801:116:1::/48": "27951", - "2804:3a0::/32": "52960", - "2001:550:a11::/46": "174", - "2804:2a54::/32": "264069", - "2a00:1108::/32": "8771", - "2c0f:fd80::/32": "25543", - "240e:97e:8000::/33": "4134", - "2607:fd78:102::/37": "26677", - "2804:43a0:3003::/33": "267580", - "2a02:26f7:d708::/47": "36183", - "2a03:2880:f21d::/46": "32934", - "2a0a:2b40::/29": "35278", - "2a0f:88c1::/30": "395003", - "2001:559:87dc::/46": "7922", - "2001:67c:2724::/48": "211696", - "2001:4bd8::/41": "15725", - "2401:f100::/32": "38651", - "2409:8e80:b000::/23": "9808", - "2600:370f:3741::/46": "32261", - "2804:3844::/32": "266457", - "2408:8456:b440::/38": "17816", - "2409:8020:1011::/42": "56046", - "2602:fdc2:a::/48": "397720", - "2607:f6f0:4001::/48": "394749", - "2001:550:2204::/46": "174", - "2001:18e0::/32": "6062", - "2401:4900:808::/43": "45609", - "2600:1012:f000::/43": "6167", - "2a02:5f83::/32": "39811", - "2a0f:9400:801e::/48": "53356", - "2a0f:eb80:10::/32": "47267", - "2001:500:d0::/47": "12041", - "2001:67c:1591::/48": "61317", - "240a:a11e::/32": "142936", - "2a00:8f20::/32": "60687", - "2001:1520:a::/40": "8972", - "2405:8a00:801d::/46": "55824", - "2804:699c::/32": "270280", - "2a0e:15c7:ff82::/41": "60781", - "2804:3398::/32": "265406", - "2402:800:6150::/40": "7552", - "2402:bcc0::/32": "9639", - "2403:3200::/32": "18268", - "240a:a0ed::/32": "142887", - "240e:1d:1000::/34": "58461", - "2600:1417:f801::/28": "20940", - "2620:104:a000::/44": "26008", - "2a00:6901:a103::/48": "20926", - "2a03:f80:370::/47": "56630", - "2a09:35c0:100::/38": "209510", - "2a09:8b00::/29": "38913", - "2001:4998:15c::/48": "36752", - "2400:4480::/47": "17426", - "2001:559:a1::/48": "7015", - "2001:13c7:6f00::/44": "27814", - "240e:95d:800::/38": "136192", - "2a02:26f7:dec8::/48": "36183", - "240e:473:4e50::/39": "4134", - "2804:4d8c::/32": "268204", - "2a02:e0:3805::/44": "34984", - "2001:559:814d::/48": "13367", - "2001:e30:2200::/40": "2697", - "2606:800::/32": "1442", - "240a:abfb::/32": "145717", - "2800:300:69a0::/32": "27986", - "2a07:59c6:e000::/47": "203125", - "2001:fd8:164::/46": "132199", - "2001:fd8:3340::/42": "132199", - "2409:8904:5540::/42": "24547", - "2620:0:d60::/46": "46", - "2804:49c:3101::/46": "15201", - "2804:4f10::/32": "266612", - "2a02:26f7:ef0c::/48": "36183", - "2a0c:b641:6::/48": "34872", - "2a10:840::/29": "62240", - "2c0f:f918:800::/34": "37002", - "2804:7458::/32": "270975", - "2a00:1f19::/32": "197519", - "2001:550:3b02::/37": "174", - "240a:a1dd::/32": "143127", - "2804:214:c001::/44": "26615", - "2a02:26f7:d205::/46": "20940", - "2404:5440::/44": "56272", - "2604:1ec0::/36": "11260", - "2804:7484::/32": "270986", - "2a0b:b87:ffe4::/48": "207083", - "2001:4528:203::/36": "18101", - "2602:fed2:711d::/48": "140244", - "2804:582c::/32": "268111", - "2806:2f0:42e1::/46": "17072", - "2a02:2d8:1:780a::/64": "35277", - "2001:67c:1233::/48": "56554", - "2800:1e0:1100::/40": "7195", - "2a0d:f407:1017::/48": "212448", - "2401:d800:91d0::/42": "7552", - "2408:8456:7a00::/42": "17622", - "2409:8924:1300::/37": "56046", - "2600:1419:f401::/36": "20940", - "2a05:1083:fc00::/44": "209870", - "2401:9640::/32": "133982", - "2605:100::/32": "11442", - "2605:5640::/36": "25635", - "2a0b:4040::/29": "62217", - "2607:b400:801::/39": "40220", - "2804:3a70::/32": "266089", - "2a03:ec00::/32": "12847", - "2804:18e0::/32": "262698", - "2804:34b0::/32": "265473", - "2a07:3500:19f0::/48": "38915", - "2001:678:81c::/48": "21195", - "2804:3678::/32": "266350", - "2a0a:2846::/36": "42962", - "2a0e:2fc0::/48": "208595", - "2001:559:7dc::/48": "33659", - "2606:a200::/32": "14155", - "2607:3280::/32": "11385", - "2620:96:e000::/48": "398324", - "2a02:26f7:d3c8::/47": "36183", - "2a0d:3f40::/29": "39182", - "240a:a05d::/32": "142743", - "2606:2800:4a08::/46": "15133", - "2a03:a80::/32": "15836", - "2405:7f00:91a0::/38": "133414", - "2408:8459:1d10::/42": "17623", - "2806:2f0:4121::/46": "17072", - "2c0f:fb08::/32": "16637", - "2408:8345:1200::/32": "4837", - "2001:16a8::/32": "12533", - "2400:ee80:2001::/32": "45177", - "2402:8100:20c6::/48": "55644", - "240a:a8d4::/32": "144910", - "240a:aebc::/32": "146422", - "2600:1001:a110::/36": "22394", - "2001:c38:9069::/40": "9931", - "2404:7840:1::/46": "138638", - "2605:4040::/32": "46300", - "2800:110:3c01::/38": "4270", - "2a00:1eb8:4000::/35": "8764", - "2a0b:4340:1304::/48": "205152", - "2001:500:63::/45": "30133", - "2001:678:ecc::/48": "25304", - "240a:a5ee::/32": "144168", - "2803:f5e0::/32": "270042", - "2406:e6c0::/48": "140766", - "2409:8087:5d00::/34": "9808", - "2409:8904:5060::/39": "24547", - "2806:2f0:2444::/43": "22884", - "2a0e:46c4:22a3::/48": "136918", - "2001:559:8597::/48": "7015", - "2001:ee0:e900::/38": "45899", - "2401:b740::/32": "137549", - "2403:89c0::/48": "55824", - "2604:d600:c7d::/46": "32098", - "2a02:2e02:18a0::/39": "12479", - "2a07:bfc0::/29": "9022", - "2607:f220:10::/44": "19050", - "2a11:fe00::/29": "42375", - "2001:559:8416::/48": "21508", - "2001:67c:1684::/48": "16104", - "2001:1248:973f::/41": "11172", - "240a:a894::/32": "144846", - "2620:10f:d000::/44": "208722", - "2804:13b0:3c00::/45": "263546", - "2a02:6604:4::/30": "5377", - "2001:559:c2a9::/48": "33287", - "2605:7580::/32": "40107", - "2620:134:b0ff::/48": "14593", - "240a:a526::/32": "143968", - "240a:a7cf::/32": "144649", - "240a:aa97::/32": "145361", - "2a00:fb8::/34": "8881", - "2a01:3f1:5400::/32": "8674", - "240a:aeb2::/32": "146412", - "2602:fd9a::/44": "54613", - "2804:40c0::/32": "265979", - "2a02:d3c7::/32": "59565", - "2400:a980:8ff::/48": "133111", - "2404:7a00::/32": "17953", - "2408:8434::/28": "4837", - "2409:8750:700::/36": "56047", - "2600:1407:c801::/35": "20940", - "2620:171:6e::/43": "715", - "2a02:26f7:cf40::/48": "36183", - "240e:44d:5280::/41": "4134", - "2607:f7a8:600::/47": "16657", - "2607:fb10:7052::/42": "2906", - "2001:67c:2110::/48": "28734", - "2001:b28:f23c::/48": "44907", - "240a:a178::/32": "143026", - "2602:ffbc:1::/48": "16628", - "2804:62c::/34": "262569", - "2001:1248:56ee::/43": "11172", - "240a:a10c::/32": "142918", - "2a05:2605::/30": "49544", - "2001:480:162::/38": "668", - "2a0b:4a40::/29": "47926", - "2a04:42c0::/29": "12593", - "2001:559:36c::/48": "7016", - "2001:1938:b00b::/48": "11588", - "2402:5600::/32": "10083", - "2402:8100:2420::/43": "55644", - "2404:63c0::/44": "131645", - "2602:fcd3:104::/47": "211224", - "2800:9a0::/34": "14522", - "2001:67c:10b8::/48": "207021", - "2400:7400:31::/46": "23736", - "2408:8459:b430::/41": "17622", - "2605:f080:700::/40": "62756", - "2001:559:1b5::/48": "7016", - "2604:d600:c05::/44": "32098", - "2806:370:9050::/40": "28403", - "2a00:1298::/32": "5578", - "2a06:e881:3200::/44": "31798", - "2001:9f0::/29": "719", - "2a05:46c0::/29": "200780", - "2a01:b740:a23::/48": "714", - "2001:550:9c06::/39": "174", - "2001:df2:2c00::/48": "133929", - "240a:ab48::/32": "145538", - "2620:44::/47": "7133", - "2804:158::/32": "53093", - "2804:37c0::/32": "266434", - "2a00:d740::/29": "61006", - "2a02:26f7:df81::/46": "20940", - "240a:a36e::/32": "143528", - "2600:1f01:4844::/47": "16509", - "2600:1488:a181::/38": "20940", - "2a02:26f7:b8c0::/48": "36183", - "2a05:8540::/29": "44543", - "2001:550:4a03::/37": "174", - "2001:559:81fa::/48": "33652", - "2402:f100::/38": "38902", - "2409:8004:2100::/36": "24547", - "2a01:8640:b::/48": "202015", - "2a06:c700::/31": "6810", - "2001:1938:3005::/39": "33438", - "2405:84c0:9710::/44": "40676", - "240e:5e:4007::/32": "4134", - "2402:2940::/32": "24390", - "240e:24:c000::/28": "4134", - "2a0a:580:1120::/48": "209689", - "2a0b:a900::/30": "206712", - "2001:559:23a::/48": "33287", - "2409:8004:1900::/34": "24547", - "2604:d600:543::/44": "32098", - "2a0a:54c0::/31": "62240", - "2a0d:7ac5::/30": "210206", - "240e:3b3:2200::/37": "136198", - "2a00:6700::/48": "202753", - "2a00:8180::/32": "16205", - "2a0b:b840:1::/48": "42167", - "2404:e600::/48": "132804", - "240a:a9ec::/32": "145190", - "2600:1017:b8d0::/44": "22394", - "2804:2a0:c000::/34": "28272", - "2a04:3740:1::/46": "24935", - "2a0a:f582::/32": "51837", - "2001:559:8794::/48": "33657", - "2001:870::/29": "8447", - "2400:5900::/32": "18021", - "2409:8c28:91a1::/34": "56041", - "2a01:4a0:18::/45": "201011", - "2a02:1798::/29": "24637", - "2001:df0:e780::/48": "16089", - "2402:800:a000::/35": "7552", - "240e:3b0:2200::/37": "136198", - "2607:fc58:1:50::/64": "13536", - "2a07:c883::/32": "59872", - "2a0f:e600::/48": "60781", - "2400:1680::/32": "58895", - "2403:dc00::/32": "45926", - "2600:6c34:274::/48": "33588", - "2804:427c::/32": "267503", - "2804:7d2c::/32": "271544", - "2806:230:4010::/48": "265594", - "2a04:4e40:7800::/47": "54113", - "2001:559:801c::/48": "33667", - "2001:559:80bc::/47": "7015", - "2409:804c:2100::/35": "9808", - "2804:4968::/32": "262625", - "2806:261::/48": "13999", - "240e:3b0:ec00::/35": "140314", - "2800:bf0:1cb::/48": "27947", - "2804:3ebc::/32": "266618", - "2001:559:8123::/48": "33287", - "2401:d800:bb80::/42": "7552", - "2404:a1c0::/32": "55699", - "2803:cd60::/32": "64116", - "2804:37a8:1219::/32": "266428", - "2a04:4a45::/44": "206067", - "2001:559:1bc::/48": "33659", - "2600:380:7780::/36": "20057", - "2804:2f4::/32": "53118", - "2804:187c:a9::/32": "262673", - "2804:673c:c500::/34": "269615", - "2001:559:8534::/48": "7015", - "2001:1b70:82::/48": "29518", - "2600:1417:6001::/36": "20940", - "2803:9800:5080::/39": "11664", - "2001:418:1401:25::/64": "20940", - "2404:f880::/32": "135386", - "2620:0:d50::/48": "17244", - "2803:87e0::/32": "270095", - "2804:64d4::/32": "269452", - "2a02:26f7:f300::/48": "36183", - "2408:80da::/32": "17816", - "240e:980:8200::/40": "58461", - "2803:dba0::/32": "267767", - "2a00:1dc0::/29": "43289", - "2a02:26f0:1b01::/37": "20940", - "2a06:10c0::/29": "198930", - "2a0a:bb80::/29": "206620", - "2804:343c::/32": "263665", - "2001:559:8054::/47": "7922", - "2001:559:874d::/48": "33657", - "2409:8924:9300::/37": "56046", - "2409:8c85:8001::/34": "9808", - "2600:1407:6::/44": "20940", - "2603:c0f0:2000::/43": "6142", - "2606:29c0::/32": "31775", - "2a0b:1306:c::/48": "198018", - "2406:840:feb0::/48": "208753", - "2806:2f0:4361::/40": "17072", - "2600:1006:f040::/44": "6167", - "2804:3448::/32": "265447", - "2a03:8100::/32": "5524", - "2001:4d78:100::/36": "15830", - "2403:2940:1::/48": "63612", - "2804:3af4::/32": "266120", - "2804:53d0::/32": "268608", - "2a06:3d80::/29": "60117", - "2a0d:a440::/29": "197915", - "2401:ff40:5050::/32": "137080", - "240a:acd3::/32": "145933", - "2600:6c38:8d0::/47": "20115", - "2605:ef00::/47": "7806", - "2804:8cc:c::/46": "262394", - "2804:51d8::/32": "268480", - "2804:145c::/37": "263327", - "240e:473:6000::/41": "140485", - "2402:800:78b0::/39": "7552", - "2804:2374::/32": "264163", - "2804:308c::/32": "264960", - "2a06:3380::/29": "12941", - "2001:559:8719::/48": "33651", - "2402:ab00:f0::/32": "24206", - "240a:ac7d::/32": "145847", - "240e:44d:3c80::/41": "4134", - "2604:d400:ff11::/48": "25934", - "2606:ec00:a100::/40": "40328", - "2001:fb0:1036::/41": "7470", - "2605:7cc0::/32": "397161", - "2620:12a:2000::/44": "395421", - "2804:1b50:c880::/34": "61719", - "2a05:d000:c000::/40": "16509", - "2a0b:fe00::/29": "207026", - "2001:978:1d02::/38": "174", - "2001:4998:efe6::/48": "26085", - "2407:5c80::/32": "59362", - "2806:102e:1b::/48": "8151", - "2a00:4087::/32": "41609", - "2a02:26f7:ed45::/46": "20940", - "2001:559:c236::/48": "33662", - "2408:8456:5a00::/42": "17622", - "240a:a6c0::/32": "144378", - "2607:f8f0::/40": "271", - "2804:1424::/32": "52940", - "2a0e:46c4:2269::/48": "136918", - "2001:df2:a780::/48": "140054", - "2409:8a52:d00::/38": "56047", - "2800:800:580::/43": "26611", - "2804:27d8::/32": "263925", - "2806:20d:502b::/45": "32098", - "2001:559:c390::/48": "33657", - "2001:678:3a8::/48": "34309", - "2600:1488:a281::/39": "20940", - "2a02:26f7:6f::/48": "20940", - "2a06:f900::/36": "56630", - "2406:19c0::/32": "140659", - "2604:d600:c42::/45": "32098", - "2620:5:e000::/48": "13951", - "2804:d24::/32": "52603", - "2804:40a0::/32": "265971", - "2a02:970:1006::/43": "44002", - "2401:a400:8000::/33": "7477", - "2408:8956:e700::/40": "17816", - "2604:d600:112f::/43": "32098", - "2402:800:9801::/44": "7552", - "2409:8904:5570::/40": "24547", - "240e:3bd:4c00::/35": "136200", - "2804:1124::/32": "53142", - "2001:44b8:5034::/44": "7545", - "2402:8100:2560::/43": "45271", - "2803:1a00:1114::/37": "262186", - "2a00:99a0:f000::/48": "64484", - "2402:800:3dfe::/38": "7552", - "240a:aa71::/32": "145323", - "2800:160:1824::/47": "14259", - "2800:6b0::/32": "6306", - "2803:7200:800e::/43": "27696", - "2a02:503::/47": "51955", - "2001:1240::/32": "28561", - "240a:a7bf::/32": "144633", - "2606:6200:1402::/36": "21570", - "2001:b98::/38": "5413", - "2400:cb00:aa90::/47": "13335", - "2401:4900:1b80::/43": "45609", - "2402:5680:8000::/36": "133798", - "2804:5110:161::/32": "268428", - "2804:51e4::/32": "268483", - "2a00:f740:101::/38": "28875", - "240e:629::/25": "4134", - "2600:6c38:de::/42": "20115", - "2804:7c28::/32": "271479", - "2a0b:c540::/29": "47926", - "2800:160:21a4::/41": "14259", - "2a00:d640::/31": "213192", - "2001:550:9201::/36": "174", - "2408:84e2:200::/40": "17621", - "2408:8956:9700::/40": "17816", - "2600:1901:c120::/44": "396982", - "2607:fbd8::/32": "11260", - "2a00:ec80::/32": "15557", - "2001:559:c33b::/48": "7922", - "2600:1014:9010::/40": "22394", - "2620:84:a000::/44": "398330", - "2800:200:e::/34": "12252", - "2804:82ec::/32": "272165", - "2a02:26f7:f5cd::/42": "20940", - "2a0e:46c4:22a1::/48": "136918", - "2001:559:84f3::/45": "33659", - "2404:a3c0::/32": "134823", - "2602:805:d000::/44": "46208", - "2800:bf0:3c00::/46": "52257", - "2804:390:2000::/36": "52956", - "2a01:8840:7e::/40": "12041", - "2001:559:8603::/48": "33662", - "2001:67c:17dc::/48": "3246", - "2401:ff80:1309::/46": "133954", - "2402:3a80:c80::/38": "38266", - "2409:806a:5d00::/31": "9808", - "240a:aee9::/32": "146467", - "2602:feda:b9f::/48": "212995", - "2a02:2e02:92a0::/37": "12479", - "240e:473:a850::/39": "4134", - "2600:3000:1b05::/34": "13649", - "2804:3e50:8000::/36": "266587", - "2a01:5a60::/32": "200487", - "2a0f:5707:ab25::/48": "201106", - "2c0f:f070::/32": "36912", - "2a0f:f640::/48": "12731", - "2001:16a2:6300::/40": "39386", - "2407:e700:14::/32": "132680", - "240a:a4f9::/32": "143923", - "2606:3c80:8001:1::/33": "33582", - "2a00:b960::/32": "47544", - "2a01:8840:ad::/48": "207266", - "2a0b:1306:b::/48": "133142", - "2001:559:487::/48": "7015", - "2405:1c0:6a31::/46": "135062", - "240e:3be:3e00::/33": "140308", - "2a02:26f7:de08::/48": "36183", - "2001:678:7c8::/48": "39086", - "2406:840:f890::/48": "212034", - "2a0b:60c0::/29": "205655", - "2a0f:301::/30": "398559", - "2a07:4300:31::/48": "209622", - "2001:559:404::/47": "7016", - "240e:44d:6f80::/41": "4134", - "2600:6c7f:9111::/46": "19115", - "2a0b:76c0::/29": "201011", - "2401:ff80:1505::/46": "133954", - "240a:a17c::/32": "143030", - "2620:101:1000::/42": "589", - "2804:210::/32": "262790", - "2804:463c::/32": "266977", - "2a02:2698:4c00::/42": "42682", - "2600:140a:e001::/31": "20940", - "240e:264:2000::/36": "140330", - "2804:1f3a::/32": "268839", - "2a01:7820::/32": "9063", - "2a0a:3c44::/32": "205415", - "2a0c:75c0::/46": "44486", - "2a10:2ec7:3000::/36": "208861", - "2400:ac40:840::/40": "136255", - "240a:ade1::/32": "146203", - "2600:1008:b0f0::/44": "22394", - "2607:f358:21::/48": "41095", - "2a00:ec8::/37": "38930", - "2a01:7c60::/32": "201198", - "2a02:26f7:d0c4::/48": "36183", - "2001:418:3808::/33": "2914", - "2001:559:c2ad::/48": "7015", - "240a:adf4::/32": "146222", - "2607:3d00::/28": "12083", - "2a04:9740::/29": "196954", - "2a04:9a00:104a::/45": "212157", - "2001:678:f44::/48": "203329", - "2804:478c::/32": "267061", - "2001:19f0:5000::/34": "20473", - "2605:4280::/32": "12189", - "2804:2f40:f00a::/45": "264880", - "2804:3eb4::/32": "266616", - "2a03:4200::/32": "5413", - "2001:1b75:2000::/36": "28852", - "240a:af11::/32": "146507", - "2600:1001:d0d0::/34": "22394", - "2604:d600:15fe::/38": "32098", - "2804:4a40::/32": "267227", - "2806:370:80b0::/44": "28403", - "2001:559:8436::/48": "33667", - "2409:8904:a240::/39": "24547", - "2600:380:8100::/38": "7018", - "2620:153::/40": "6498", - "2a07:4580::/36": "46261", - "2001:67c:2e4c::/48": "48724", - "2804:7b6c::/32": "271431", - "2001:4c88::/32": "49100", - "2604:8200:1::/48": "23089", - "2620:51:8000::/48": "394520", - "2a02:26f7:cc09::/42": "20940", - "2a04:3cc0:800::/35": "31036", - "2001:67c:2604::/48": "8447", - "2610:b0:40f8::/47": "21433", - "2804:35b8::/32": "266302", - "2a02:26f7:dac0::/48": "36183", - "2402:800:97e0::/44": "7552", - "2a03:98c0::/32": "15814", - "2001:4de0:400::/38": "33438", - "240a:a378::/32": "143538", - "2600:1417:39::/46": "20940", - "2604:8600:5000::/34": "14453", - "2804:104c:6000::/40": "263629", - "2804:3e44:3000::/32": "266584", - "2804:458c::/32": "266934", - "2001:559:8764::/48": "33659", - "2406:3003:3030::/41": "55430", - "2600:6c38:130::/41": "20115", - "2804:48f4::/32": "267155", - "2804:5f1c::/32": "269077", - "2402:9e80:10::/48": "20473", - "240a:aa34::/32": "145262", - "2600:1000:fe10::/40": "22394", - "2605:6440:2002::/47": "396356", - "2001:559:168::/48": "20214", - "2001:559:866f::/48": "33662", - "2001:559:c3fd::/48": "33667", - "2405:9000:204::/46": "7474", - "240e:44d:2380::/41": "4134", - "2620:0:890::/48": "54113", - "2a0a:e5c0:23::/45": "209898", - "2803:9800:a447::/40": "11664", - "2804:df0:2::/36": "262775", - "2a0e:97c5:5c0::/46": "20473", - "240a:ae21::/32": "146267", - "2804:62d4::/32": "269321", - "2800:160:1f58::/42": "14259", - "2806:20d:5016::/44": "32098", - "2405:6600:c44::/32": "45845", - "2401:c80::/32": "24111", - "240a:a945::/32": "145023", - "240e:3b6:3e00::/33": "140308", - "2804:6194::/32": "269243", - "2001:978:1c03::/48": "62000", - "2001:c38:9012::/47": "9931", - "2001:4868:224::/48": "7046", - "2800:160:1b1d::/46": "14259", - "240a:a39a::/32": "143572", - "240e:978:a00::/40": "23650", - "2602:fdfa::/36": "397332", - "2804:500::/32": "262485", - "2804:4f60::/32": "268323", - "2a02:26f7:eec4::/48": "36183", - "2a02:cb80:4010::/41": "43766", - "2a06:b740::/29": "31027", - "2a0b:2400::/32": "16097", - "240a:a3d2::/32": "143628", - "240a:a6a0::/32": "144346", - "2800:160:1426::/44": "14259", - "2804:93c:c1::/35": "52878", - "2a01:8840:d9::/48": "207266", - "2001:559:395::/48": "20214", - "2001:678:47c::/48": "42214", - "2001:43f8:30::/48": "6968", - "2a0e:78c0::/29": "174", - "2001:df0:e480::/47": "7545", - "2607:f5b8::/32": "46208", - "2804:6bf4::/32": "270436", - "2a04:92c6::/31": "62240", - "2a10:bac0::/32": "39396", - "2605:7900:16::/44": "19133", - "2a02:26f7:d949::/42": "20940", - "2a02:2ad0:920::/32": "702", - "2a0a:dc05::/30": "51262", - "2405:8a00:8001::/43": "55824", - "2606:7b00:4000::/32": "10538", - "2a10:4646:14::/48": "212065", - "240e:944::/36": "58541", - "2600:1413:2001::/36": "20940", - "2606:2800:5081::/48": "15133", - "2001:1a68:34::/48": "24723", - "2401:d800:bce0::/39": "7552", - "2406:3400:7d::/40": "10143", - "2600:140b:dc01::/34": "20940", - "2a03:5c0::/32": "199254", - "2001:559:8390::/48": "33657", - "2600:1003:9850::/37": "22394", - "2606:2800:4016::/44": "15133", - "2a01:111:202f::/36": "8075", - "2a03:98a0::/32": "203449", - "2804:6df0::/33": "270565", - "2a02:368::/32": "28859", - "2a10:cc40:a00::/40": "20473", - "2001:559:31::/45": "7922", - "2001:67c:26d4::/48": "57801", - "2605:a401:8118::/46": "33363", - "2620:10f:b070::/48": "4185", - "2804:7e2c::/32": "271607", - "2a01:367:deae::/34": "30823", - "2a01:5042:2efd::/48": "202196", - "240e:3bc:c800::/37": "4134", - "2606:2800:7033::/48": "14153", - "2620:10a:b0fd::/46": "15297", - "2800:88:41::/32": "26210", - "2804:2444::/32": "264211", - "2a03:aba0::/29": "786", - "2409:804f:100::/36": "9808", - "2a03:9900:101::/32": "8990", - "2a05:4800::/29": "12722", - "2001:559:81a0::/48": "7015", - "2001:67c:17b0::/48": "21436", - "2402:800:939b::/42": "7552", - "240a:ac4d::/32": "145799", - "2607:f3d0::/32": "27400", - "2a00:1818::/32": "8915", - "2a01:9700:12f4::/39": "8376", - "240a:ac8b::/32": "145861", - "2a07:36c0::/29": "57795", - "2001:dce:d455::/36": "23869", - "240e:44d:1400::/41": "140345", - "2602:fe13:800::/48": "53356", - "2620:67::/48": "22303", - "2a01:330::/32": "15517", - "2001:559:8115::/48": "33287", - "2001:fd8:3042::/45": "132199", - "2600:1404:b401::/38": "20940", - "2600:6000:f927::/48": "11351", - "2804:31dc::/32": "265041", - "2a04:4e40:8230::/44": "54113", - "2001:67c:2d28::/48": "29236", - "2a05:8900:aa1::/48": "42388", - "2a0e:fd45:1001::/38": "44103", - "2a10:9902:210::/48": "212105", - "2c0f:f1d8::/32": "328196", - "2001:468:d01::/48": "3582", - "2001:559:2dc::/47": "33651", - "2401:b400:13::/48": "58536", - "2a0e:6540:a32::/48": "208364", - "2001:648:2e81::/35": "5408", - "2406:840:e010::/47": "213069", - "240a:aa50::/32": "145290", - "2a04:a40::/29": "50324", - "2a06:ef00::/29": "213222", - "2001:978:1d00:2::/47": "174", - "2001:fd8:32b0::/44": "4775", - "240a:a30c::/32": "143430", - "2a01:5b40:ac4::/32": "12996", - "2404:e100::/47": "55685", - "2620:103:a00b::/45": "12148", - "2a02:29a0::/32": "56472", - "2400:8800:302::/33": "3491", - "2800:40:34::/47": "16814", - "2a02:26f7:d280::/48": "36183", - "2a02:2ca7:2e::/48": "58305", - "2a02:ab80::/28": "21334", - "2a0f:fa40::/29": "213162", - "2001:558::/31": "7922", - "2606:18c0:9::/46": "399448", - "2620:0:2ed0::/48": "26711", - "2a0a:7d80::/47": "6697", - "2a0e:2700::/29": "203136", - "2a0e:97c0:240::/44": "211688", - "2001:550:ae01::/35": "174", - "2001:559:c188::/46": "33287", - "2001:4b20:10::4/49": "34288", - "2408:80ea:79a0::/38": "17816", - "2804:70e0::/32": "270753", - "2a01:578:14::/32": "16509", - "2001:fd8:b1b0::/44": "4775", - "240e:90::/34": "140061", - "2607:fdf0:5e40::/47": "8008", - "2804:10c8::/32": "263649", - "2a06:2780::/29": "204195", - "2a0c:e040:127::/43": "200629", - "2a0e:b103:daa::/45": "20473", - "2a02:2e02:2e80::/43": "12479", - "2001:559:8478::/47": "7922", - "240a:a3ed::/32": "143655", - "240a:a433::/32": "143725", - "2600:1008:b170::/40": "22394", - "2606:a000:407::/48": "11955", - "2804:f88::/32": "28665", - "2a00:1288:ef6d::/40": "10310", - "2a07:90c0::/29": "202771", - "2001:559:83fd::/46": "7016", - "2001:1388:8470::/36": "6147", - "2407:45c0::/32": "135714", - "2408:8001:3020::/41": "17816", - "2a02:26f7:de88::/48": "36183", - "240e:438:5420::/43": "140647", - "2402:800:7970::/40": "7552", - "240a:abc9::/32": "145667", - "240a:ac2b::/32": "145765", - "240e:10:a800::/31": "4134", - "2600:80c:900::/40": "701", - "2400:ca0a::/29": "23688", - "2401:ff80:1089::/43": "133954", - "2607:fb90:7f00::/32": "21928", - "2804:6d98::/32": "270543", - "2a0c:5700::/34": "30893", - "2406:daa0:e040::/44": "16509", - "2804:4c::/32": "8055", - "2804:7d90:2::/32": "271569", - "2a02:118:2::/48": "43811", - "2a03:f87:ffff::/48": "57169", - "2001:559:157::/48": "33491", - "2001:9b8::/46": "6774", - "2001:44b8:606a::/45": "7545", - "2600:1404:a001::/38": "20940", - "2001:67c:1444::/48": "43832", - "2c0f:4000::/32": "1828", - "2409:8028:800::/40": "56041", - "240e:620::/30": "140061", - "2801:80:680::/48": "22819", - "2804:9a8::/34": "262979", - "2a02:26f7:b6c8::/48": "36183", - "2a0a:2180::/29": "2119", - "2001:df2:e600::/48": "133661", - "2001:fd8:302a::/43": "4775", - "2404:300::/32": "38901", - "2408:8956:3c00::/40": "17622", - "240e:473:8e50::/39": "4134", - "2610:b0:4038::/47": "21433", - "2a00:fc00:e011::/48": "212825", - "240a:a983::/32": "145085", - "2001:559:c067::/44": "33491", - "240a:a318::/32": "143442", - "2804:2bb4::/32": "265170", - "2a02:13f8::/32": "25260", - "2a02:26f7:dcc4::/48": "36183", - "2a0e:b105:4ec::/46": "20473", - "2605:6900::/32": "174", - "2a01:7780::/32": "3225", - "2001:42d0::/44": "33764", - "2600:1002:b030::/40": "22394", - "2606:1e00::/32": "12067", - "2a00:1908:fffa::/48": "205365", - "2a0f:c800::/29": "198385", - "2408:8656:c53::/35": "17622", - "2a07:9cc5::/32": "209589", - "2c0f:fda8::/32": "37349", - "2001:559:8567::/48": "33668", - "2407:ca00::/32": "45280", - "2408:8957:6300::/40": "17816", - "2804:7cd8::/32": "271522", - "2a02:1f8::/32": "8426", - "2a04:4e42::/47": "54113", - "2a0f:2fc0::/32": "203115", - "2c0f:f000:400::/40": "36891", - "2001:350::/32": "7671", - "2804:37a0::/32": "266425", - "2a02:9f8:9000::/44": "6900", - "2001:559:8540::/48": "33652", - "2001:df0:4::/48": "681", - "2409:8c85:aa15::/46": "9808", - "2602:250::/28": "46690", - "2804:59d4::/32": "268728", - "2a01:358:101a::/34": "9121", - "2a02:582:5c00::/34": "6799", - "2804:417c::/32": "267436", - "2001:559:827b::/45": "7922", - "2401:3c00::/43": "38322", - "2402:800:5e40::/43": "7552", - "2409:408c:2000::/32": "55836", - "2409:8b79::/29": "9808", - "240a:a6d7::/32": "144401", - "2604:d600:573::/40": "32098", - "2407:14c0::/32": "138077", - "240a:a03b::/32": "142709", - "2a00:c1e0::/29": "59891", - "2a0a:2f81::/32": "47891", - "2001:559:c264::/48": "33652", - "2407:7040::/32": "142299", - "240a:aed5::/32": "146447", - "2600:6c09:2::/30": "20115", - "2804:1790::/32": "53085", - "2a04:4e40:6a30::/41": "54113", - "2409:8028:3004::/47": "56041", - "2620:104:2011::/46": "40185", - "2a02:26f0:19::/46": "20940", - "2001:559:c34d::/46": "7016", - "2001:67c:1110::/47": "21406", - "240e:6ba:4000::/43": "140315", - "2409:4021:2000::/29": "55836", - "2600:1000:ff00::/44": "6167", - "2607:f110:e280::/39": "21889", - "2a07:23c0::/48": "13213", - "2a0d:5082:65::/29": "62240", - "2401:3200::/32": "10019", - "2402:c7c0::/32": "137576", - "2405:9800:c908::/48": "45430", - "240a:aa53::/32": "145293", - "2804:6df0:8000::/33": "270565", - "2a09:4c0:101::/44": "58057", - "2001:13c7:601d::/48": "64103", - "2409:8062:900::/35": "9808", - "240a:a88e::/32": "144840", - "2804:14d:c6fa::/45": "28573", - "2a0e:b107:3d0::/47": "207687", - "2001:559:4ea::/45": "7015", - "2001:c48::/32": "9457", - "2600:370f:3743::/45": "32261", - "2406:3000:a:2::/61": "4657", - "2a01:258::/32": "31122", - "2a03:d9c0:8000::/48": "3214", - "2a0e:b107:1567::/44": "209209", - "2001:67c:714::/48": "224", - "2401:d800:6f0::/39": "7552", - "240e:473:7250::/39": "4134", - "2600:40ff:fc15::/40": "701", - "2606:3980::/48": "55229", - "2a02:26f7:cc4c::/48": "36183", - "2406:9dc0:1011::/48": "10153", - "240a:a0ad::/32": "142823", - "2800:160:1860::/46": "14259", - "2804:5c84::/32": "268913", - "2407:8f80:a51a::/48": "135636", - "2602:ff36:301::/40": "395348", - "2606:2800:6060::/48": "15133", - "2a01:4020:33::/32": "25369", - "2a0e:3dc0::/32": "49981", - "2a0f:cc87:f000::/36": "208861", - "2401:5f80:7::/33": "38731", - "240a:a118::/32": "142930", - "2804:7b9c::/32": "271439", - "2a01:360::/29": "34549", - "2a0a:e5c0:10::/48": "213081", - "2001:470:79::/48": "393763", - "2001:678:10c::/48": "21155", - "2001:67c:2828::/48": "61013", - "2409:8053:3000::/47": "56047", - "2600:140b:d001::/37": "20940", - "2600:6c08::/31": "20115", - "2a00:b420::/32": "60478", - "2001:559:c319::/48": "7725", - "2001:678:228::/48": "2863", - "2001:1960:200::/32": "5650", - "2404:bc80::/47": "64072", - "2a01:41e0::/31": "62336", - "2401:2700:3::/48": "9286", - "2408:8957:e900::/40": "17816", - "2620:11c:f::/48": "27647", - "2a05:ab40::/29": "25180", - "2a03:b8c0:12::/48": "202276", - "2a0e:46c6::/40": "207968", - "2001:559:87db::/48": "7015", - "2001:678:464::/48": "34087", - "2001:67c:2dc::/48": "2119", - "2607:fb28::/44": "9", - "2804:63b4::/32": "269378", - "2a09:be40:1140::/45": "208755", - "2409:8924:6700::/36": "56046", - "2001:559:8199::/48": "7015", - "2001:678:9c8::/48": "56796", - "2404:bd00:a::/45": "58678", - "2804:5dc::/41": "53019", - "2001:4408:c003::/34": "4758", - "2408:8406:7800::/39": "4808", - "240a:a5d8::/32": "144146", - "240e:44d:4880::/41": "4134", - "2804:44e8::/39": "267660", - "2a00:4802:2300::/37": "13124", - "240e:980:2700::/40": "133774", - "2804:21ec::/32": "264582", - "2c0f:f8f0::/32": "30969", - "2604:d800:1002::/32": "20355", - "2001:df2:ee00::/48": "131107", - "2403:d300:2800::/32": "15932", - "2405:d300:21::/40": "17477", - "2405:d340::/32": "134712", - "2408:8956:800::/40": "17622", - "240a:a9da::/32": "145172", - "2600:100d:a100::/43": "6167", - "2803:25e0::/32": "28032", - "2a02:29b8::/32": "51852", - "2606:fa80::/32": "18616", - "2607:f0d8::/29": "7385", - "2404:c400:404::/32": "9328", - "2606:a000:c07::/48": "11955", - "2a01:1d8::/29": "8508", - "2a02:26f7:b5c4::/48": "36183", - "2a03:2880:f11a::/45": "32934", - "2001:559:82ae::/47": "7015", - "2606:4700:80c0::/44": "13335", - "2801:b0::/40": "52888", - "2001:678:b70::/48": "207886", - "2408:8456:7200::/42": "17622", - "2620:11d:9003::/48": "14805", - "2a0c:9600::/29": "42265", - "2604:e8c0:8::/32": "62805", - "2a00:df00::/29": "34790", - "2a02:26f0:af01::/40": "20940", - "2a04:3542:c000::/29": "202053", - "240e:86:3000::/37": "137688", - "2602:fe90:800::/46": "35913", - "2806:107e:22::/32": "8151", - "2a03:1380::/32": "12423", - "2001:480:b1::/39": "668", - "2404:a800:7001::/32": "9498", - "2602:ffe4:c0d::/48": "21859", - "2a00:8643::/29": "203993", - "2c0f:fe38:2060::/39": "33771", - "2001:fd8:2138::/40": "4775", - "240a:ab14::/32": "145486", - "2620:85:e000::/48": "46616", - "2620:171:36::/48": "715", - "2a00:1188:11::/44": "8455", - "2001:13d2:6805::/46": "7303", - "2620:16e:487::/48": "3147", - "2804:14c:f200::/40": "28573", - "2a01:7e8::/32": "42525", - "2a01:8840:f::/48": "40490", - "2a02:2bb8::/32": "24851", - "2a0f:5707:aa10::/46": "208814", - "2001:480:31::/48": "5887", - "240a:adfc::/32": "146230", - "240a:ae60::/32": "146330", - "2607:fcd0:bbc0::/33": "8100", - "2800:650:101::/32": "28032", - "2a00:f500::/29": "13194", - "2a04:8484::/30": "21413", - "2a09:dd81::/30": "12637", - "2409:8035::/28": "9808", - "240a:a9e7::/32": "145185", - "240a:ad17::/32": "146001", - "2604:7c0:200::/36": "395841", - "2605:a404:1bd::/41": "33363", - "2804:151c::/32": "263371", - "2806:2f0:4184::/42": "17072", - "2a0b:dd80::/32": "50869", - "2001:4408:8500::/45": "4758", - "2607:fb10:7036::/44": "2906", - "2620:49:40c0::/48": "36062", - "2804:6fc:cfff::/34": "28158", - "2a05:6cc0::/29": "25151", - "2405:6e00:804::/46": "133612", - "240a:a551::/32": "144011", - "240a:a572::/32": "144044", - "240a:a90d::/32": "144967", - "2800:bf0:2801::/48": "27947", - "2a0f:c083::/32": "51837", - "2402:b780:54::/32": "64047", - "2402:c4c0:180::/32": "132933", - "240a:a4c7::/32": "143873", - "240a:ad70::/32": "146090", - "2804:8cc::/47": "272413", - "2804:54d8::/32": "268673", - "2a0d:4d00:82::/47": "44794", - "2c0f:fe78::/33": "37239", - "240e:30f:4a00::/35": "137688", - "2408:8644::/35": "140726", - "2600:140f:5201::/39": "20940", - "2620:12c:7004::/48": "13652", - "2a03:2880:f246::/43": "32934", - "2001:559:8747::/48": "7015", - "2401:ff80:1001::/46": "133954", - "240e:3b9:dc00::/34": "4134", - "2602:ff6e:19::/36": "63202", - "2606:5200:d000::/34": "32477", - "2620:e6::/48": "394275", - "2a00:7180::/33": "15557", - "2a07:1c42:c::/48": "209089", - "2405:201:fffc::/30": "55836", - "2600:6c3a:c4d::/38": "20115", - "2607:fda8:800a::/45": "54004", - "2803:c560:e000::/36": "207688", - "2804:14d:7600::/40": "28573", - "2a03:2887:ff19::/48": "63293", - "2a0e:9a80::/29": "56708", - "2402:800:b950::/38": "7552", - "2408:8456:ca00::/42": "17622", - "2a00:1d88::/32": "13249", - "2a01:4a8::/32": "33873", - "2a02:578:7c00::/32": "9031", - "2a0f:ca00:8000::/48": "42209", - "2001:559:c1ad::/48": "7015", - "2407:b840::/32": "142614", - "2604:a140:f000::/48": "11414", - "2620:12d:d000::/48": "63415", - "2a0f:9400:8008::/48": "207756", - "2c0f:f878::/32": "37109", - "2801:1fc:36::/48": "27951", - "2a02:4540:7000::/43": "197207", - "2a02:ac80:c01::/39": "25145", - "2400:fc00::/42": "45773", - "2408:8456:1900::/42": "17622", - "240e:3ba:2200::/37": "136198", - "2001:67c:11ac::/48": "199470", - "2402:28c0:5::/39": "136620", - "2801:80:3510::/48": "268843", - "2804:3afc::/32": "266123", - "2a03:6e60::/48": "9085", - "2a04:2b01::/30": "42044", - "2a10:5500::/32": "33874", - "2001:559:8127::/48": "33660", - "2001:559:871e::/48": "33491", - "2001:b000:592::/47": "3462", - "2a00:1560:11::/45": "29684", - "2001:fd8:3430::/44": "4775", - "2600:1003:b470::/40": "22394", - "2800:130::/32": "27820", - "2001:559:852d::/48": "33662", - "2405:7a40::/32": "132808", - "240a:a1ed::/32": "143143", - "2800:bf0:2204::/40": "27947", - "2a03:bc00::/32": "29086", - "2402:800:9571::/40": "7552", - "2409:8e14:4000::/34": "56044", - "240a:ab25::/32": "145503", - "2800:160:1886::/43": "14259", - "2a04:4e40:4800::/48": "54113", - "2a0a:5580:1002::/47": "208687", - "2600:c0e:3010::/48": "26558", - "2600:1014:b130::/40": "22394", - "2600:1014:f110::/36": "22394", - "2606:ec00:1000::/36": "40328", - "2607:9800:a10a::/33": "15085", - "2a02:2bc0::/32": "31708", - "2001:559:133::/48": "33287", - "240a:a106::/32": "142912", - "2804:3214::/32": "265054", - "2804:4fbc::/32": "268346", - "2a02:26f7:d080::/48": "36183", - "2a0c:d240::/29": "43341", - "2001:559:188::/48": "7922", - "2a0a:f500::/32": "6883", - "2405:b900:4000::/48": "55701", - "2801:1d:800::/48": "267928", - "2804:3d60::/32": "266527", - "2a02:f38:2::/48": "15499", - "2a02:26f7:e848::/48": "36183", - "2a03:5640:f000::/41": "16509", - "2a04:9b47::/48": "56740", - "2a0e:b107:c00::/45": "212888", - "2001:559:14b::/48": "33660", - "2804:90c::/40": "262617", - "2804:5b58::/32": "268836", - "2a06:1c5:b::/40": "207455", - "2001:550:3405::/39": "174", - "240a:abdc::/32": "145686", - "2a02:d6c0::/29": "34524", - "2c0f:f6e8::/32": "37315", - "2401:d800::/42": "7552", - "2620:0:2e61::/48": "29997", - "2a02:ed04::/39": "50304", - "2804:3fd8:c001::/34": "265919", - "2804:69d8::/32": "270295", - "2a03:5ac0::/32": "199587", - "2001:df0:3d80::/48": "18124", - "2405:9f40::/32": "139898", - "2408:8456:3800::/41": "17623", - "2620:bb:c000::/48": "33151", - "2a02:5a80::/29": "197729", - "2a0d:8b00::/29": "208861", - "2605:b080::/32": "11708", - "2620:13d:f004::/40": "22711", - "2804:44f0::/32": "267662", - "2804:46f0:c1::/32": "267021", - "2604:2e80:2400::/38": "30036", - "2606:9200::/32": "6428", - "2a02:26f7:dc4d::/42": "20940", - "2408:8256:359f::/38": "17816", - "240a:a4ac::/32": "143846", - "2804:c98::/32": "52726", - "2a0a:54c1:25::/46": "62240", - "2400:df00::/32": "18260", - "240a:a00f::/32": "142665", - "2804:1464::/32": "52630", - "2001:559:8553::/48": "7922", - "240e:980:4c00::/40": "58519", - "2804:2e1c:e500::/38": "265324", - "240a:a032::/32": "142700", - "2a02:26f7:ec11::/42": "20940", - "2a03:5f00::/39": "29644", - "240e:3bb:1400::/38": "134773", - "2620:149:1010::/42": "714", - "2803:9800:9a01::/34": "11664", - "2a03:d60:2::/48": "201743", - "2a03:4ba0::/48": "15669", - "240a:ac68::/32": "145826", - "2600:1003:a000::/44": "6167", - "2600:1408:1001::/36": "20940", - "2605:6c00:9::/48": "10255", - "2804:2a98::/32": "264082", - "2001:418:8002::/47": "2914", - "2804:14d:2::/40": "28573", - "2a04:4e40:9600::/48": "54113", - "2c0f:efa8::/32": "328368", - "2408:8256:3aa0::/39": "17816", - "2408:8956:6200::/40": "17622", - "2403:6380:24::/41": "212237", - "2408:8956:d100::/38": "17816", - "240a:a944::/32": "145022", - "2a02:2338::/32": "48854", - "2a06:d480::/29": "59701", - "2a0d:1a40:fa0::/47": "202313", - "2a0f:607:1100::/44": "212425", - "2409:8c30:1110::/38": "9808", - "240a:a096::/32": "142800", - "2804:6494::/32": "269436", - "2a01:b740:a27::/44": "714", - "2a02:2339::/36": "207199", - "2a00:79e1:f07::/44": "36384", - "2001:559:8128::/48": "13367", - "2405:1800::/32": "9999", - "2620:0:28a0::/46": "33522", - "2800:160:1679::/40": "14259", - "2804:45c4::/32": "266948", - "2804:48fc::/32": "267157", - "2a00:dd0:aaab::/35": "47869", - "2407:b9c0:f000::/36": "57695", - "2804:14c:3f00::/40": "28573", - "240a:aefa::/32": "146484", - "240e:4b:c000::/37": "139018", - "240e:fe:6000::/32": "136200", - "2603:c000::/35": "31898", - "2620:171:200::/40": "715", - "2804:478::/32": "22250", - "2a00:1eb8:c001::/48": "50065", - "240e:3b7::/35": "134773", - "2606:bc00:9000::/34": "19419", - "2804:4ef4::/34": "268294", - "2a01:111:2003::/48": "8068", - "2a10:8701::/32": "212109", - "240a:a454::/32": "143758", - "2804:3840::/32": "266465", - "2a07:1c44:460::/44": "206161", - "240a:a765::/32": "144543", - "2804:3114::/32": "264991", - "240a:a1d2::/32": "143116", - "2604:b200::/32": "29", - "2804:323c::/32": "262367", - "2804:40b8::/32": "265977", - "2804:7ba4::/32": "271445", - "2a02:26f7:c7c1::/46": "20940", - "2a0e:6901:500::/40": "57695", - "2406:840:fcc0::/44": "132623", - "2408:8956:9c00::/40": "17622", - "240a:abf7::/32": "145713", - "2a05:5180::/47": "211262", - "2a0a:fd40::/29": "44851", - "2408:8459:fd00::/38": "17816", - "2801:1f:f000::/48": "19429", - "2804:23c0:2100::/37": "26218", - "2804:81ec::/32": "272486", - "2a00:e760::/32": "8368", - "2a07:f7c7:ffff::/48": "39020", - "2001:559:3ea::/48": "33656", - "2001:67c:2af0::/48": "201271", - "2a02:26f7:e0c5::/46": "20940", - "2a0e:8f02:f023::/48": "211522", - "2001:559:846c::/48": "20214", - "2401:d800:9020::/41": "7552", - "2405:da00:2::/43": "38235", - "2606:5000:4c00::/39": "209", - "2806:2f0:6161::/40": "17072", - "2a02:2ba0::/32": "42781", - "2c0f:fdd0::/32": "37358", - "240e:86:3800::/33": "4134", - "2607:f368:2100::/36": "32982", - "2a11:7c0::/32": "211084", - "2001:67c:245c::/48": "49762", - "2406:a4c0::/32": "141120", - "2620:14d::/36": "17324", - "2804:5ac::/32": "10412", - "2a00:cb20:1200::/34": "60266", - "2c0f:eb80::/33": "328029", - "2001:470:ea::/48": "16524", - "240e:109:8025::/48": "134756", - "2804:7510::/32": "271021", - "2a02:970:3281::/32": "44002", - "2804:f4::/32": "26606", - "2001:559:815e::/48": "33668", - "2001:678:6c4::/48": "202383", - "2400:a300::/32": "18278", - "2403:f880:6000::/39": "33438", - "2408:8957:7200::/40": "17622", - "2604:6600:10::/42": "40676", - "2607:f4e0:300::/32": "4150", - "2804:2d88::/32": "265288", - "2804:3248::/32": "61582", - "2a00:86c0:2088::/47": "2906", - "2a03:d000:6400::/39": "31205", - "2001:df4:9f00::/48": "135722", - "240e:473:8a00::/41": "140485", - "2600:100d:9010::/40": "22394", - "2800:bf0:2400::/45": "52257", - "2a06:3080:8002::/30": "25595", - "2607:fea8::/32": "812", - "2806:1070:cefe::/48": "20940", - "2a00:f30::/48": "12418", - "240a:a1f0::/32": "143146", - "240a:ad59::/32": "146067", - "240e:108:25::/48": "134756", - "2a0c:98c0::/29": "49223", - "2001:1248:9500::/41": "11172", - "2408:8256:f96::/35": "17622", - "2804:5f08::/32": "269072", - "2a02:cc4:2f0::/44": "8211", - "2a02:26f7:de05::/46": "20940", - "2a00:b700:2::/45": "49392", - "2403:6200:7105::/37": "45758", - "2408:8456:ed00::/42": "17622", - "2600:1400:e001::/35": "20940", - "2600:140f:9001::/37": "20940", - "2607:fcd0:fa80:3c01::/54": "8100", - "2610:18:8105::/36": "2828", - "2804:c48:e300::/36": "52687", - "2001:1248:84cf::/43": "11172", - "2803:5200::/48": "52439", - "2c0f:fa28::/32": "37054", - "2001:559:726::/48": "33659", - "240a:a458::/32": "143762", - "240a:af05::/32": "146495", - "2600:6c38:b42::/45": "20115", - "2801:19:c800::/48": "64050", - "2804:4fb4::/32": "268344", - "2001:559:c3e5::/48": "7725", - "2001:7f8:46::/48": "51988", - "2001:df6:6900::/48": "18229", - "240a:aecd::/32": "146439", - "2804:37b8::/32": "266431", - "2a02:4780:8::/46": "47583", - "2a02:f7c0::/32": "49273", - "240e:473:1000::/41": "140485", - "2804:f24:f000::/36": "263567", - "2804:4f6c::/32": "268326", - "2a00:9000::/29": "20910", - "2a0d:da00::/32": "205072", - "2a10:4740:40::/42": "212806", - "2001:559:53c::/48": "21508", - "2001:948:58::/47": "1653", - "2404:2a00::/32": "56089", - "2409:8924:2300::/37": "56046", - "2a01:388::/29": "42689", - "2605:3380:4149::/45": "12025", - "2a03:e1c0::/32": "199421", - "2620:3a:c000::/48": "21976", - "2804:2a68::/32": "262435", - "2405:43c0:1000::/48": "139636", - "2607:f1d0::/32": "11383", - "2a02:26f0:2501::/36": "20940", - "2a02:26f7:c041::/46": "20940", - "2001:dcd:23::/48": "14618", - "240e:44d:5b00::/41": "140345", - "2a06:c00::/30": "59414", - "2001:43f8:7b0::/48": "37578", - "2001:44b8:4061::/48": "4739", - "240a:a281::/32": "143291", - "2604:66c0::/32": "6528", - "2604:e7c0:10::/48": "174", - "2001:67c:2b04::/48": "28771", - "240e:438:7840::/38": "4134", - "2a01:9820::/32": "62086", - "2405:4800::/39": "18403", - "2804:3e98::/32": "266608", - "2a03:12c0::/32": "199672", - "2a0c:2f07:72::/48": "208024", - "2401:ff80:1a85::/44": "133954", - "240a:a254::/32": "143246", - "240e:100::/42": "4134", - "240a:a99e::/32": "145112", - "2804:4694::/32": "266998", - "2001:1998::/44": "7843", - "240a:a6a1::/32": "144347", - "2804:2cc0::/32": "265241", - "2804:39f0::/32": "266060", - "2a00:8780::/32": "8829", - "2a01:6380::/32": "25540", - "2001:678:bc4::/48": "62126", - "2408:8459:6610::/42": "17623", - "2600:1417:60::/48": "20940", - "2800:160:2a4a::/39": "14259", - "2801:c4:19::/48": "22122", - "2607:6100:1005::/48": "23026", - "2607:f478::/32": "18540", - "2804:188c::/32": "61939", - "2804:3294::/32": "265086", - "2a00:1ba8::/32": "57653", - "2a04:4e40:7630::/41": "54113", - "2a10:2f01:248::/48": "208193", - "2402:4480:305::/32": "174", - "2a02:26f7:b585::/46": "20940", - "2a0e:b107:fff::/48": "42394", - "2001:559:c3aa::/48": "33668", - "2001:67c:1058::/48": "50345", - "2408:8957::/40": "17622", - "2804:76c0::/32": "271132", - "2001:12f8:4::/47": "11644", - "2409:8052:802::/40": "56047", - "2804:12c0::/32": "263496", - "2804:41d0::/38": "267458", - "2a0e:6500::/29": "40970", - "2a0e:b107:ebf::/48": "212120", - "2404:e640::/32": "136697", - "2409:8914:9900::/40": "56044", - "2604:d600:c32::/45": "32098", - "2a0b:f940:1af3::/34": "205373", - "2a0f:c583::/29": "208861", - "2a04:4e40:200::/48": "54113", - "2001:559:5ae::/47": "20214", - "2001:559:c3f9::/48": "33662", - "2001:dd8:7::/48": "187", - "2001:1890::/35": "7018", - "2001:4878:4215::/46": "12222", - "240e:924:5000::/32": "4134", - "2804:214:8460::/40": "26615", - "2001:44c8:40ff::/39": "131445", - "2401:7080::/32": "24157", - "2408:822e::/27": "4837", - "2605:2cc0::/32": "395494", - "2804:231c::/32": "61591", - "2a02:738::/32": "5588", - "2804:29f0::/32": "264046", - "2804:3cc0::/32": "266232", - "2a02:26f7:bd89::/42": "20940", - "2a03:b840:2::/47": "61221", - "2a10:87c0::/29": "49820", - "240e:105:f000::/37": "4134", - "2602:ff84:c::/48": "36351", - "2800:484:3200::/36": "14080", - "2801:80:17b3::/41": "61580", - "2c0f:fe20::/32": "18931", - "2001:df0:251::/48": "18055", - "2402:6a40:6::/48": "135718", - "2801:1f:b000::/48": "266715", - "2804:3360::/32": "262725", - "2a00:1ec8:39::/41": "2854", - "2a01:9aa0::/32": "200999", - "2001:559:81e8::/48": "33489", - "240a:aef8::/32": "146482", - "2800:485:fe00::/48": "14080", - "2a02:26f7:d4c5::/46": "20940", - "2a0a:2100::/29": "199624", - "2001:559:8020::/43": "7922", - "2401:1a80::/32": "59374", - "2408:8645::/35": "140726", - "2803:19a0::/32": "267714", - "2a0e:b107:f08::/45": "9886", - "2610:a1:1003::/45": "397228", - "2001:559:91::/46": "7922", - "2001:c20:487c::/47": "3758", - "2406:840:e030::/44": "142418", - "2409:8914:7000::/36": "56044", - "2409:8a51:1100::/30": "56047", - "240e:438:2c20::/43": "140647", - "2600:6c7f:9310::/44": "20115", - "2a00:1a28:1106::/48": "33886", - "2a09:f7c0::/29": "49028", - "2a0d:da40::/29": "210095", - "2001:559:c3ec::/47": "7015", - "2001:1270:2000::/35": "22908", - "2001:43f8:b20::/48": "327074", - "240a:af71::/32": "146603", - "2803:9800:b8c7::/44": "11664", - "2804:5ff8::/32": "269137", - "240a:a2c7::/32": "143361", - "240e:357:5c00::/34": "134419", - "240e:3bd:f100::/36": "4134", - "2620:0:dc0::/49": "683", - "2804:1070:2000::/36": "28209", - "2804:2e70::/32": "265346", - "2a0d:1ac3::/32": "44050", - "2605:ffc0::/32": "398259", - "2804:2968:c000::/34": "264013", - "2a02:ee80:4169::/48": "3573", - "2400:9380:8201::/48": "4134", - "2408:8956:6c00::/40": "17622", - "2800:b70:801::/48": "262191", - "2001:559:83e4::/48": "7922", - "2403:8600:ea88::/46": "131317", - "2406:f240::/32": "131963", - "2a00:6000::/32": "35012", - "2a02:26f0:dc01::/39": "20940", - "2a0d:c7c0::/32": "55158", - "2400:dd0b:1006::/29": "7497", - "2404:3d00:40ea::/43": "3573", - "2408:8956:7500::/40": "17816", - "2607:f518:200b::/37": "46887", - "2806:2f0:6061::/40": "17072", - "2a00:ad00::/34": "41897", - "2a01:280:310::/48": "1257", - "2001:559:438::/48": "7016", - "2402:3a80:1730::/48": "38266", - "2604:7ac0:b00::/37": "12213", - "2804:fdc:b000::/33": "263608", - "2a0a:9040::/29": "25486", - "2001:559:c0bb::/45": "7922", - "2001:559:c192::/48": "7015", - "240e:a66:2600::/31": "4134", - "2602:803:c006::/48": "26667", - "2a0d:1f80::/32": "205614", - "2001:559:8506::/48": "33659", - "2406:8500::/32": "134773", - "240a:ac99::/32": "145875", - "2600:9000:11bf::/48": "16509", - "2a03:ad40:130::/48": "199349", - "2803:e8e0::/32": "269875", - "2804:3034:280::/32": "264936", - "2a01:aec0::/32": "41549", - "2a0e:8f02:201c::/48": "213021", - "2001:cb0::/38": "4637", - "2001:2090::/31": "3301", - "2001:43f8:b80::/48": "328017", - "2402:800:358d::/43": "7552", - "240a:a85e::/32": "144792", - "2602:fcdd::/36": "398697", - "2400:5300:4::/48": "45815", - "240a:a8a4::/32": "144862", - "2804:e24:fec0::/39": "262417", - "2a07:89c0::/48": "199484", - "2a0b:4940::/29": "205699", - "2a10:4646:60::/44": "212106", - "2804:28e4:e815::/46": "28260", - "2806:230:1022::/48": "265594", - "2806:230:400a::/48": "265594", - "2a00:4800:350::/40": "13124", - "2a0a:380::/29": "49223", - "2800:160:11f9::/38": "14259", - "2800:160:2cdd::/42": "14259", - "2a00:1618::/29": "12577", - "2a03:6300::/32": "15497", - "2001:c20:19::/37": "3758", - "2001:df3:2e80::/47": "9833", - "2001:df4:5d00::/48": "58820", - "2400:8b00:100::/42": "45727", - "2409:8002::/40": "38019", - "240e:965:e600::/36": "4134", - "2401:4900:5aa0::/39": "45609", - "2409:8053:2::/40": "56047", - "240a:a02c::/32": "142694", - "240a:aaaa::/32": "145380", - "2a00:fd40:8::/46": "204402", - "2c0f:ee68::/32": "328271", - "2001:559:7a5::/48": "7016", - "2405:fd80:900::/37": "135391", - "2803:f300::/32": "52405", - "2804:14c:de00::/41": "28573", - "2804:1d0::/32": "262770", - "240a:aa1b::/32": "145237", - "2600:1014:b100::/42": "6167", - "2001:678:c0::/48": "51058", - "2404:b000::/36": "9822", - "2a01:b747:61d::/40": "714", - "2001:67c:1430::/48": "207076", - "2400:f940::/43": "45766", - "2405:2900::/36": "132198", - "240a:ac85::/32": "145855", - "240e:3be:1800::/34": "4134", - "2804:1e50::/32": "264421", - "2804:7d04::/32": "271533", - "2a02:dc8::/30": "42656", - "2001:1248:98ad::/43": "11172", - "2404:d200:2000::/32": "9797", - "240a:a1d1::/32": "143115", - "240a:a5c1::/32": "144123", - "2600:1404:b001::/37": "20940", - "2800:160:1f3c::/41": "14259", - "2806:230:403c::/48": "265594", - "2001:57a:4044::/34": "22773", - "2001:728::/32": "2914", - "240a:adae::/32": "146152", - "2604:8580::/32": "55140", - "2a02:26f7:fb09::/42": "20940", - "2a0e:3840:2::/48": "40676", - "2a0e:a680:1::/48": "61157", - "2400:c540:54::/42": "59238", - "2600:100f:b0e0::/43": "22394", - "2602:fc42:2::/48": "203690", - "2804:4a50::/32": "267232", - "2804:14d:e650::/42": "28573", - "2804:f30::/32": "263569", - "2804:4334::/32": "267555", - "2a03:8180:1f00::/34": "36351", - "2409:8d14:1700::/36": "56044", - "240e:438:8440::/38": "4134", - "2804:14c:bba9::/45": "28573", - "2a00:82c0::/32": "198433", - "2a09:c5c0::/32": "205718", - "2001:559:c1ca::/48": "21508", - "2001:67c:184c::/48": "35600", - "240a:a127::/32": "142945", - "240e:974:e01::/35": "4134", - "2600:1417:1800:300::/48": "20940", - "2a02:f08:1100::/32": "42184", - "2a10:5b00::/29": "208256", - "2607:4b80::/32": "7018", - "2a00:a900:7aff::/32": "60819", - "2a06:e881:121::/48": "202313", - "2c0f:f088::/32": "328471", - "2001:5a0:4605::/36": "6453", - "2001:1248:59c3::/45": "11172", - "2a00:d320::/29": "15600", - "2a0b:4340:a2::/44": "205532", - "2001:67c:9c::/48": "35733", - "2001:67c:2294::/48": "9052", - "240e:44d:6480::/41": "4134", - "2600:140b:2201::/39": "20940", - "2600:2c00::/33": "7349", - "2804:77a0::/32": "271155", - "2a03:5a00:1e::/48": "50465", - "2409:8c54:b010::/28": "56040", - "2604:9fc0::/32": "63270", - "2806:2f0:7181::/42": "17072", - "2a00:cc0:ffff::/29": "13237", - "2a00:1490:f1ea::/48": "42416", - "2a04:4e40:ca30::/41": "54113", - "2a00:801:4c::/28": "1257", - "2400:9380:9005::/46": "4809", - "2401:3bc0::/45": "137409", - "240a:a96a::/32": "145060", - "240e:146:c000::/34": "4812", - "240e:438:640::/36": "4134", - "2606:6c40::/32": "25780", - "2800:68:1e::/42": "61468", - "2001:4878:151::/48": "12222", - "2804:7c::/32": "28585", - "2a09:407:2000::/32": "208861", - "2405:1c0:6735::/41": "55303", - "240e:108:11b0::/48": "58461", - "2804:14d:5891::/42": "28573", - "2804:1230:20c0::/42": "263462", - "2a0f:f400::/29": "40970", - "2404:0:5ffa::/45": "24154", - "240a:aa82::/32": "145340", - "240e:473:8000::/41": "140485", - "2600:1407:1d::/48": "20940", - "2804:5c0:8::/32": "262537", - "2804:7fb4::/34": "271704", - "2803:5440:334::/48": "264738", - "2a09:48c0::/29": "6735", - "2a0e:8180::/48": "48749", - "2001:468:c07::/48": "396955", - "2401:4900:39b0::/44": "45609", - "2a02:26f0:10b::/45": "20940", - "2a0a:bb00::/29": "64435", - "2a0f:5707:aa14::/46": "208814", - "2001:559:875f::/48": "21508", - "2402:800:97c5::/43": "7552", - "2a0d:7f40::/29": "50559", - "2409:8c85:2000::/43": "56046", - "240e:43:f800::/37": "134761", - "2806:230:4038::/48": "265594", - "2a0d:3842:1230::/48": "57629", - "2001:4e0:1008::/48": "25979", - "2001:559:2ac::/48": "33651", - "2400:addc::/39": "9541", - "2600:1488:a101::/40": "20940", - "2a03:aa00::/36": "48176", - "2402:b9c0::/32": "24259", - "2a00:4802:2100::/38": "13124", - "2408:8957:ab00::/40": "17816", - "2806:230:6009::/48": "11888", - "2001:559:3bb::/48": "22909", - "2403:9140::/47": "135732", - "2605:92c0:f000::/36": "13904", - "2801:80:36c0::/48": "269209", - "2001:559:b5::/48": "33657", - "2a00:7b01::/29": "12338", - "2a06:9300::/29": "35684", - "2402:800:b2e0::/39": "7552", - "240a:ae31::/32": "146283", - "240a:afff::/32": "146745", - "240e:3b3:1400::/38": "134773", - "2804:4948::/32": "267175", - "2a02:ac80:5001::/34": "25145", - "2a04:1c41::/30": "201035", - "2804:4234::/33": "26104", - "2804:80e0::/32": "272418", - "2a0f:a940::/29": "60781", - "2001:1248:5611::/44": "11172", - "2001:4cb8:40c::/29": "28878", - "2602:feb2::/41": "62492", - "2800:160:2453::/40": "14259", - "2804:54cc::/32": "268670", - "2804:6cc::/32": "262607", - "2804:2818::/44": "263940", - "2a0c:b641:c0::/44": "212201", - "2401:d800:59d0::/42": "7552", - "2402:ef0b:8000::/36": "24515", - "2409:8914:a400::/39": "56044", - "2606:4300::/48": "55045", - "2804:c::/32": "28343", - "2804:7958::/32": "271300", - "2a09:6840::/29": "43619", - "2403:7100:10::/48": "132220", - "2406:840:380::/48": "139317", - "240e:3b3:ec00::/35": "140314", - "2804:4b04:4000::/32": "267278", - "2a02:5f40::/32": "199244", - "2001:559:8549::/46": "7015", - "2001:df0:a900::/48": "45701", - "2001:fd8:34f0::/32": "4775", - "2402:6800:763::/45": "55429", - "2600:1014:b0d0::/42": "6167", - "2a09:c140:db::/48": "210079", - "2001:559:82ee::/48": "7015", - "2600:1009:a100::/43": "6167", - "2a05:d050:40c0::/44": "16509", - "2a0d:8200::/29": "205144", - "2001:559:2b6::/48": "33657", - "2408:84f3:2e40::/44": "17623", - "2620:12b:5001::/45": "27381", - "2620:134:c003::/45": "394887", - "2804:7ccc::/32": "271519", - "2806:230:2044::/48": "265594", - "2a00:1cd8::/29": "48620", - "2600:6c38:851::/45": "20115", - "2803:5900:cccc::/48": "263175", - "2804:3cd8::/32": "266238", - "2a05:c440::/48": "47645", - "2001:978:1802::/38": "174", - "2404:8e80:1::/48": "135168", - "2607:f750:a000::/40": "23473", - "2607:fdf0:5e4b::/45": "8008", - "2620:1f:a000::/48": "396231", - "2804:6e08::/32": "270571", - "2a02:26f7:f4c8::/48": "36183", - "2610:38::/32": "21570", - "2001:559:3fa::/48": "33491", - "2402:800:392b::/41": "7552", - "2405:2300:ff42::/48": "13443", - "2604:5dc0::/32": "21788", - "2606:2800:4100::/48": "15133", - "2804:3b9c::/32": "266160", - "2804:8068::/32": "271748", - "2a05:6d40::/29": "202128", - "2610:20:1035::/48": "209", - "2800:68:c0c1::/35": "61468", - "2409:8904:9490::/39": "24547", - "240a:a856::/32": "144784", - "2a10:b740::/29": "202709", - "2001:559:c107::/48": "33667", - "2804:7214::/32": "270831", - "2401:d800:d040::/42": "7552", - "2600:6c38:820::/47": "20115", - "2800:160:15aa::/43": "14259", - "2a04:f580:9000::/46": "4809", - "240a:a192::/32": "143052", - "2600:1408:1000::/48": "35994", - "2620:f6::/48": "26806", - "2404:e100:4000::/47": "55685", - "2800:160:2450::/46": "14259", - "2404:4a00:7a00:1::/37": "45629", - "2409:8718::/31": "134810", - "2620:52:c000::/48": "54538", - "2a00:8a00:2000::/35": "18666", - "2a04:4e40:3a00::/47": "54113", - "2a05:d050:c080::/44": "16509", - "2a09:5f80::/48": "48038", - "2001:678:ac8::/48": "47988", - "2401:803e:2025::/33": "9919", - "240a:ad0b::/32": "145989", - "2a10:5e40::/29": "8875", - "240a:a71a::/32": "144468", - "240a:adad::/32": "146151", - "2600:140b:3c00::/48": "31109", - "2804:13e4::/32": "61902", - "2804:7b94::/32": "271441", - "240a:a943::/32": "145021", - "2604:ff00:ae00::/44": "36271", - "2804:1020:9000::/33": "262544", - "2804:6230::/32": "269281", - "2a02:cb00::/29": "43352", - "2001:42d8::/32": "29571", - "2001:559:4f8::/48": "33489", - "2604:8540:fcd3::/48": "33353", - "2804:750c::/32": "271020", - "2a00:9e00::/32": "25220", - "2a02:26f0:d201::/37": "20940", - "2001:559:c258::/48": "33651", - "2001:7be:1::/31": "12859", - "2407:dc00::/46": "9714", - "2001:579:b950::/40": "22773", - "2001:df2:9900::/48": "134032", - "2001:df3:f780::/48": "141052", - "2607:6500::/32": "7794", - "2a02:26f7:d44d::/42": "20940", - "2a0b:59c2::/29": "16082", - "2602:ff37::/36": "53981", - "2605:c640:105::/44": "62538", - "2620:0:cc0::/48": "36692", - "2001:a17:fffb::/45": "204679", - "2001:1a68:b::/48": "42503", - "2405:84c0:ff17::/48": "9886", - "2408:8000:c038::/45": "140726", - "2600:6c2e::/42": "20115", - "2607:3500:f00::/40": "11228", - "2620:129:f003::/48": "393462", - "2001:559:82aa::/48": "7015", - "2a00:1807::/32": "57728", - "2a01:48a0:4071::/48": "57271", - "2a03:2887:ff33::/48": "63293", - "2408:80ea:74e0::/43": "17623", - "2408:8459:7a30::/41": "17622", - "2600:6:ffc7::/31": "1239", - "2001:678:ca0::/48": "58299", - "2001:43f8:e00::/40": "715", - "2400:6280:101::/48": "132280", - "2600:2000:2100::/42": "31898", - "2806:2f0:2140::/48": "17072", - "2a01:280:358::/48": "207448", - "2c0f:fbb0::/32": "37055", - "2400:e1c0::/48": "58659", - "2403:9800:c042::/44": "133124", - "2803:f00:4c3::/48": "262182", - "2a02:26f7:eb44::/48": "36183", - "2408:8459:ba30::/41": "17622", - "2804:7280::/33": "270857", - "2001:4878:158::/48": "12222", - "2409:8b14::/30": "56044", - "2620:25:6000::/48": "15296", - "2804:7ebc::/32": "271644", - "2001:67c:28cc::/48": "51468", - "2600:1417:3d::/41": "20940", - "2a0f:b00::/29": "43414", - "2001:67c:1718::/48": "2263", - "2409:8904:5cb0::/39": "24547", - "240a:abef::/32": "145705", - "2a0d:2581:3::/48": "209261", - "2405:f080:e00::/46": "136907", - "2409:891e::/31": "24400", - "2605:bcc0::/33": "40718", - "2803:bee0:8000::/36": "269989", - "2a00:dec0::/32": "29695", - "2a0b:69c0::/29": "205619", - "2a06:cfc0::/29": "199837", - "2a11:880::/29": "60987", - "2a02:bf0:2a::/35": "25106", - "2001:df0:27b::/48": "58487", - "2001:df1:fd80::/48": "139787", - "2401:d800:7d20::/41": "7552", - "2401:d800:9080::/42": "7552", - "2600:806:100::/48": "12234", - "2606:7b00:3fff::/48": "6939", - "2801:15a:20::/40": "267788", - "2a05:4880::/29": "199811", - "2a09:1140::/48": "50007", - "2408:8256:3d9f::/28": "17816", - "2408:8459:cd10::/42": "17623", - "2600:9000:119c::/42": "16509", - "2806:230:1030::/48": "265594", - "2001:3c8:d10a::/34": "4621", - "2001:559:c0fe::/48": "7922", - "2406:2000:9c::/48": "38033", - "2804:2e30:31::/48": "265330", - "2a0e:59c0::/29": "207187", - "2001:678:164::/48": "39345", - "2001:c20:7c00::/32": "3758", - "240a:a4cb::/32": "143877", - "240a:afaf::/32": "146665", - "2a00:cb8:39::/48": "15695", - "2a00:1d34:8000::/39": "47331", - "2a02:ca80::/29": "49515", - "2001:559:37f::/48": "33660", - "2001:bf7:870::/35": "44194", - "2600:40ff:fc01::/44": "701", - "2620:d3:8000::/48": "54536", - "2804:62b4:8000::/36": "269313", - "2001:df0:a280::/48": "139225", - "2402:7500:5c0::/48": "24158", - "2600:1403:5c00::/48": "35994", - "2600:1411:8001::/30": "20940", - "2607:f3a0:a003::/48": "399818", - "2800:a40::/42": "22080", - "2803:d200::/32": "28086", - "2c0f:f5d8::/32": "37381", - "2408:8256:379b::/48": "17816", - "2600:6c38:1d8::/45": "20115", - "2605:b600::/32": "53525", - "2803:4d60::/32": "269768", - "2804:25e4:703::/32": "61573", - "2a04:4e40:4630::/41": "54113", - "2800:160:1525::/44": "14259", - "2a02:26f7:d608::/48": "36183", - "2405:e0c0::/48": "63730", - "2409:8c14:8a00::/31": "56044", - "240a:a2f9::/32": "143411", - "2803:d100:9780::/43": "52362", - "2a03:3140:fffe::/47": "61345", - "2a07:ac80::/29": "44812", - "2a0e:7f40::/29": "57756", - "2001:1248:5659::/42": "11172", - "2404:3d00:40a5::/43": "3573", - "2800:4f0:3::/48": "28006", - "2804:665c::/32": "269553", - "2001:559:8121::/48": "33287", - "2001:559:8331::/48": "33652", - "2001:49a0:fbff::/48": "7233", - "240a:a7ab::/32": "144613", - "240e:980:8e00::/40": "4134", - "2600:6c66::/31": "33588", - "2801:c0:3::/48": "16596", - "2a02:26f0:6601::/36": "20940", - "2a03:4680::/29": "25184", - "2001:559:8691::/48": "33659", - "2001:678:c18::/48": "207487", - "2001:67c:2244:8000::/49": "50448", - "2001:a98:100::/48": "5474", - "2401:ff80:1213::/40": "133954", - "2804:7048::/32": "270717", - "2a00:e58::/32": "9022", - "240a:2000::/29": "23844", - "2600:140b:9001::/38": "20940", - "2607:9800:d001::/34": "15085", - "2001:559:875c::/48": "7015", - "240e:64::/32": "4134", - "2604:4e00:4100::/35": "25764", - "2a0f:b4c6::/32": "15317", - "2001:559:c2d9::/48": "33657", - "2001:1ad0::/32": "24953", - "2401:ff80:1793::/36": "133954", - "2404:3d00:500::/33": "3573", - "2406:f100::/32": "58923", - "2a00:1a68:8000::/33": "38955", - "2a10:c5c1:c0de::/48": "211547", - "2607:f368:2c00::/40": "46846", - "2804:17f4::/32": "263260", - "2804:5860::/32": "268125", - "2804:66a0::/43": "269572", - "2a06:d581:3000::/36": "3303", - "2001:4c8:109c::/41": "15290", - "2409:8014:100a::/45": "56044", - "2607:fb10:5064::/34": "2906", - "2a05:c6c0::/29": "49605", - "2406:da70:c000::/40": "16509", - "2804:30c:1400::/32": "28343", - "2001:4870:a24a::/48": "26402", - "240a:ad96::/32": "146128", - "2001:559:c0da::/48": "33652", - "2804:3bfc:1100::/40": "52607", - "2605:1500::/32": "19518", - "2a00:47c0:711::/48": "27435", - "2c0f:fad8::/40": "37019", - "2403:7cc0::/32": "138179", - "2408:8459:fe10::/44": "17622", - "2409:8d14::/43": "56044", - "2803:6780::/32": "264635", - "2804:3288:a200::/35": "52827", - "2a01:c50f:c400::/41": "12479", - "2a0c:6380::/29": "24971", - "2402:79c0:f008::/46": "30060", - "240a:aa40::/32": "145274", - "2a02:3e0::/32": "39837", - "2001:4d0:241a::/48": "1848", - "2400:6100::/32": "137549", - "2404:e00:161::/48": "15695", - "2600:6c38:45b::/45": "20115", - "2a00:1ca8:9c::/48": "58061", - "2a01:58c0::/32": "42487", - "2a03:e581:4::/48": "201057", - "2001:4878:8204::/48": "12222", - "240a:ada3::/32": "146141", - "240e:438:2640::/36": "4134", - "2607:8680::/32": "31972", - "2607:f220:50a::/48": "5766", - "2a09:99c0::/48": "212886", - "2409:801f:3004::/48": "24400", - "2803:3440:9000::/46": "64112", - "2804:71f4::/32": "270822", - "2a05:bd40:a00::/40": "51366", - "2a0d:6500::/29": "200000", - "2402:800:577f::/40": "7552", - "2001:6a8:a002::/35": "2611", - "240e:108:9a::/48": "58466", - "2a00:1197::/32": "206364", - "2a02:26f7:c409::/46": "20940", - "2a02:26f7:dd89::/42": "20940", - "2001:67c:2c88::/47": "60092", - "2a03:2881:3::/44": "32934", - "2a0a:90c0:1002::/43": "205080", - "2803:6700:40::/48": "263210", - "2804:6074::/32": "269168", - "2406:e002:3000::/33": "23655", - "2801:16:1000::/48": "264618", - "2804:4588::/32": "266933", - "2a00:e540::/32": "33964", - "2001:918:ff76::/48": "8300", - "2401:2a80:2::/47": "58793", - "2409:8904:d140::/42": "24547", - "2804:cac::/32": "262748", - "2a0a:a042::/29": "12552", - "2606:2800:4104::/44": "15133", - "2801:80:1e31::/48": "14026", - "2408:840c:c900::/40": "17621", - "240e:3b1:4c00::/35": "136200", - "2a01:b740:a80::/35": "714", - "2a0c:4480:a::/45": "204720", - "2a0d:ab80::/32": "204523", - "2404:4a00:6501:1::/36": "45629", - "2405:1c0:6643::/43": "55303", - "240e:3b9:8200::/35": "140316", - "2602:ff1f::/36": "393635", - "2806:230:6002::/48": "265594", - "2a0f:3f00::/29": "207902", - "2001:4888:8048::/45": "6167", - "2001:4c30::/32": "9085", - "240e:108:81::/48": "4134", - "2606:a000:408::/38": "11426", - "2806:2f0:7261::/40": "17072", - "2a03:8cc0::/32": "61215", - "2a0a:3100::/29": "206799", - "2600:140b:201::/37": "20940", - "2607:f220:400::/47": "3527", - "2801:1e:4800::/48": "269792", - "2a02:c20::/32": "41453", - "2a04:8640::/29": "62275", - "2a0e:fd45:40f8::/48": "60404", - "2c0f:ed18::/32": "328200", - "2001:559:7a3::/48": "7016", - "2620:7a:8000::/48": "30622", - "2804:d7c:1100::/32": "52634", - "2a02:26f7:c108::/48": "36183", - "2a02:26f7:ed48::/48": "36183", - "2a0a:d100::/29": "198551", - "2409:896d:5700::/27": "9808", - "2620:2d:a000::/48": "27282", - "2a02:26f7:e14d::/42": "20940", - "2405:1c0:7953::/42": "55303", - "2a03:8fe0::/32": "200861", - "2800:820::/32": "10697", - "2a00:ac40::/46": "49694", - "2a00:ece1:1::/48": "61050", - "2405:e340::/32": "137067", - "2602:ffe4:c25::/46": "21859", - "2620:1e8:1::/48": "29802", - "2804:68b4:8000::/34": "269710", - "2a02:26f7:dc45::/46": "20940", - "2a0b:f4c0:400::/48": "205100", - "2a06:5040:3::/48": "55933", - "2001:67c:2324::/48": "47904", - "240a:a62d::/32": "144231", - "240a:ac3a::/32": "145780", - "240e:878:200::/39": "137689", - "2604:c6c0::/48": "46323", - "2610:a1:1008::/47": "397228", - "2806:2f0:9621::/41": "17072", - "2401:d1c0::/33": "136994", - "2409:804b:2b08::/48": "9808", - "2a02:26f7:d0c1::/46": "20940", - "2001:ee0:8a40::/37": "45899", - "240a:a2c2::/32": "143356", - "240e:3b4:6400::/35": "140312", - "2602:fd6b::/36": "36043", - "2804:14d:b087::/41": "28573", - "2a02:70:200::/32": "3326", - "2a09:f440::/32": "29462", - "2620:8c:6000::/48": "11364", - "2001:df3:4300::/48": "133616", - "2001:43f8:cc0::/44": "23889", - "2401:8a00:f601::/36": "10099", - "2404:4a00:2::/64": "55423", - "2408:8256:3d76::/44": "17623", - "2600:370f:5225::/41": "32261", - "2610:a1:1021::/48": "397222", - "2801:a0::/32": "28616", - "2804:7a70::/32": "271371", - "2a06:3300::/29": "56532", - "2001:67c:3c::/48": "1257", - "2001:7c0:2310::/44": "34878", - "2001:ec0:4000::/40": "131293", - "2408:84f3:3240::/44": "17623", - "2602:ff8d:1::/48": "14744", - "2a0b:4340:a1::/48": "134575", - "2001:fd8:f1f0::/44": "4775", - "2401:4900:5130::/44": "45609", - "2408:8256:2f96::/48": "17816", - "2605:a404:71::/45": "33363", - "2a0c:59c0::/32": "3214", - "2a0e:fb80::/29": "208551", - "240e:14:7000::/37": "133775", - "2a02:26f7:c849::/42": "20940", - "2a03:fc0::/32": "60294", - "2001:550:1704::/36": "174", - "2001:559:5f3::/48": "33287", - "2806:32a::/32": "265574", - "2a03:4500::/32": "30827", - "2a0c:9a40:2700::/40": "34927", - "2a0e:b105:100::/44": "398549", - "2602:ff0b::/36": "11071", - "2804:3290::/32": "265085", - "2a02:4c80::/32": "41421", - "2a03:cfc0::/32": "201814", - "2a04:3780::/29": "48097", - "2a0c:b642:1a0e::/48": "61138", - "2408:802a:8000::/33": "4837", - "240a:af97::/32": "146641", - "2a02:6b8:8::/45": "13238", - "2a0d:5fc0::/29": "62412", - "2a0b:fc0::/29": "42217", - "2001:559:84c0::/48": "33668", - "2402:8100:257a::/45": "55644", - "2406:57c0:130::/47": "134672", - "2602:fed0::/36": "396109", - "2604:8b80:2::/48": "55106", - "2804:688::/32": "262592", - "2a01:7080:25::/32": "42848", - "2001:df1:2600::/48": "59151", - "2804:1748::/32": "263133", - "2804:2f40::/32": "264880", - "2a04:bd40::/29": "62038", - "2a09:ec00::/29": "39392", - "2806:230:600e::/48": "265594", - "2a02:26f7:e540::/48": "36183", - "2a04:4e40:5440::/44": "54113", - "2a06:be00::/31": "200519", - "2a0f:6580:101::/48": "48292", - "2408:84f3:b010::/42": "134543", - "2409:8904:5f70::/40": "24547", - "2804:222c:400::/32": "264596", - "2804:550c:a000::/35": "268686", - "2806:230:1023::/48": "11888", - "2a03:24c0:ffff::/48": "201342", - "2a0e:46c4:2c00::/45": "213326", - "2409:8924:a700::/36": "56046", - "2804:6398::/32": "269371", - "2a0c:b642:1a07::/48": "7489", - "2406:ef80:100::/40": "63473", - "240e:473:3c50::/39": "4134", - "2804:4690::/32": "266997", - "2a02:26f7:d845::/46": "20940", - "2001:67c:d8::/48": "47708", - "2804:7518::/32": "271023", - "2a02:2668:6200::/37": "16345", - "2a03:f600::/32": "41943", - "2a10:6ac0::/29": "49735", - "2001:559:8622::/48": "33659", - "2001:42d0:a::/48": "37301", - "2403:df40:17::/39": "14630", - "2600:1400:2000::/48": "35994", - "2600:8807:bb2::/41": "22773", - "2a01:9700:12e0::/46": "8376", - "2a06:e881:6900::/48": "208434", - "2001:7f8:2a::/48": "13041", - "240a:a8f5::/32": "144943", - "2001:678:684::/48": "203085", - "2602:feda:ad0::/44": "140362", - "2605:afc0::/32": "14488", - "2804:14d:7e8a::/45": "28573", - "2a0b:5540:6::/33": "213002", - "2a04:de40::/42": "20860", - "2a06:6580::/29": "34549", - "2a0b:140::/29": "57773", - "2001:df1:8000::/48": "132440", - "2406:daa0:c0a0::/44": "16509", - "2409:8750:f400::/31": "56047", - "2605:a401:80bc::/47": "33363", - "2804:5780::/32": "262734", - "2804:5804::/32": "268100", - "2001:df4:d000::/48": "59216", - "2400:cb00:a1f0::/45": "13335", - "2402:9800::/32": "38158", - "240a:a342::/32": "143484", - "2a02:26f7:f080::/48": "36183", - "2a0a:7107:1af4::/48": "206986", - "2a0f:9f00::/29": "208206", - "2001:df0:26b::/48": "58505", - "2402:800:63ab::/43": "7552", - "240a:aa05::/32": "145215", - "2605:1080:1:ffdb::/46": "23367", - "2a01:43a0::/32": "199998", - "2a01:c50f:bf80::/33": "12479", - "2a02:26f7:c049::/42": "20940", - "2001:559:c101::/46": "13367", - "2620:119:e011::/42": "30337", - "2804:2dc4::/32": "265302", - "2a00:db60::/48": "15224", - "2a02:db8::/32": "48417", - "2400:dcc0:aa04::/39": "38631", - "2604:7e00:255::/32": "17378", - "2804:29a0::/32": "28219", - "2804:2f40:a000::/33": "264880", - "2a02:28:d::/48": "209024", - "2402:800:7fb0::/41": "7552", - "2409:8904:57b0::/36": "24547", - "2600:370f:51e0::/47": "32261", - "2a06:2300::/29": "29458", - "2001:559:c35f::/48": "13367", - "240a:a984::/32": "145086", - "2606:5680:1000::/36": "394344", - "2800:160:1add::/42": "14259", - "2a02:610::/33": "2588", - "2001:253:131::/48": "142097", - "2001:67c:220c::/48": "48155", - "2001:1248:9a8d::/43": "11172", - "2001:5000:b04::/30": "1273", - "2405:1c0:6a64::/43": "55303", - "2804:79ac::/32": "271320", - "2a02:168::/34": "13030", - "2001:b200:4000::/32": "9505", - "2402:800:317f::/40": "7552", - "2604:3d00:dc00::/34": "6327", - "2a0f:15c0::/29": "60262", - "2a02:26f7:d681::/46": "20940", - "2a07:7800::/45": "48254", - "2a0f:9400:7315::/48": "211940", - "2001:4818:4000::/36": "27272", - "240a:a310::/32": "143434", - "2602:fd28::/36": "62866", - "2620:10c:f014::/48": "33459", - "2a02:26f7:ec51::/46": "20940", - "2a0e:b107:381::/48": "211358", - "2804:fe0:200f::/48": "263049", - "2a0f:2d40::/29": "60262", - "2001:f40::/43": "9930", - "2620:11f:1000::/48": "27421", - "2804:8cc:1c1::/32": "262394", - "2a02:26f7:be45::/46": "20940", - "2a0a:9301:1::/48": "35196", - "2001:559:1a1::/48": "7725", - "2400:e1c0:10::/47": "58659", - "2001:559:221::/45": "33491", - "2620:118:c000::/42": "237", - "2804:80bc::/32": "271770", - "2a0b:b87:ffe8::/48": "44754", - "2a0c:1100::/32": "781", - "2001:678:3d8::/48": "5413", - "2804:1d34::/32": "264354", - "2a10:e440::/32": "50293", - "240e:979:2f00::/35": "4134", - "2a01:288:4009::/32": "8717", - "2c0f:e9a8::/32": "328732", - "2a02:26f7:f6ed::/48": "36183", - "2a0c:a080::/29": "43646", - "2a0f:f940::/29": "62412", - "2409:8c85:aa6b::/45": "9808", - "2806:230:2049::/48": "11888", - "2a01:51a0::/32": "21348", - "2a00:1cc0::/32": "20521", - "2a02:26f0:c700::/48": "9121", - "2a02:4020::/48": "60094", - "2a10:2f00:160::/48": "212129", - "2001:559:875a::/47": "7922", - "2400:8800::/38": "3491", - "240a:ad5a::/32": "146068", - "2600:9000:a102::/48": "16509", - "2606:600::/32": "6639", - "2001:df0:f700::/48": "139399", - "2803:6ce0::/35": "269909", - "2400:cb00:a4a0::/45": "13335", - "240e:108:1142::/44": "4134", - "2001:1248:8453::/44": "11172", - "240e:981:8000::/40": "132153", - "2602:fea7:f00::/40": "397270", - "2804:14d:4685::/41": "28573", - "2001:d10:8402::/44": "4787", - "2a02:a8::/32": "9188", - "2a06:8dc0::/42": "57878", - "2a0c:2500::/29": "29551", - "2a0e:4c80::/29": "328543", - "2804:204:22d::/43": "28186", - "2804:14a8::/32": "263342", - "2001:559:813a::/45": "7015", - "2001:67c:1bec::/48": "59624", - "240a:a0b1::/32": "142827", - "240e:3b2:7600::/39": "140313", - "2804:800::/32": "16509", - "2a04:1c40::/32": "201035", - "2a02:760::/29": "29468", - "2a02:ddc0::/29": "47165", - "2001:4478:1310:2000::/47": "4802", - "2a0d:d380::/29": "210107", - "2001:6f8:823::/48": "3257", - "2001:ee0:c740::/36": "45899", - "2a07:290a::/32": "559", - "2600:1300::/32": "20021", - "2001:559:86be::/48": "33491", - "2402:800:560f::/43": "7552", - "2607:4700::/32": "25720", - "2803:1040:2000::/32": "263751", - "2a02:26f0:1a01::/39": "20940", - "2620:129:5000::/45": "393347", - "2800:370:c004::/40": "28006", - "2804:36c8::/32": "266371", - "2a00:1fe8::/32": "34154", - "2a00:f7a0::/40": "21277", - "2a02:26f7:d840::/48": "36183", - "2408:8256:2d96::/48": "17816", - "2409:8087:4f1::/39": "24547", - "240a:a233::/32": "143213", - "2604:d600:162f::/43": "32098", - "2607:f060:1004::/32": "11404", - "2001:559:c30e::/48": "33659", - "2804:14d:ac81::/43": "28573", - "2a02:26f7:cec5::/46": "20940", - "2a0c:e780::/29": "209936", - "2a02:26f7:ef81::/46": "20940", - "2a0b:b86:fff0::/44": "50867", - "2001:559:811a::/48": "33489", - "2402:800:59a9::/41": "7552", - "2600:100a:9110::/36": "22394", - "2804:6f54::/32": "270653", - "2a00:1cf8:6000::/35": "44944", - "240e:3b0:1400::/38": "134773", - "2804:1bc8::/32": "61750", - "2a09:2681::/32": "61282", - "2001:559:581::/48": "33491", - "2001:1548:206::/48": "206804", - "2602:803:b000::/44": "11478", - "2602:fe02::/47": "16816", - "2804:1d20::/34": "264349", - "2001:44b8:4001::/42": "4739", - "240e:473:9520::/41": "140486", - "2600:1d00::/28": "3128", - "2604:d600:170a::/47": "32098", - "2804:59a4::/32": "268715", - "2a02:2698:3800::/42": "59713", - "2001:559:1a6::/47": "7725", - "240a:a1fb::/32": "143157", - "2804:3f38:9000::/36": "266646", - "2a02:2560::/32": "21127", - "2a07:1440::/29": "203293", - "2a0e:3840:415::/48": "40676", - "2400:cb00:a640::/45": "13335", - "2407:c1c0::/48": "135905", - "2600:140f:3a00::/48": "9498", - "2602:fe8a::/36": "62663", - "2804:e34:e000::/36": "61889", - "2a02:26f7:bb49::/42": "20940", - "2403:c000::/35": "4741", - "240a:a03a::/32": "142708", - "2605:a404:722::/41": "33363", - "2804:10f0::/32": "17108", - "2a0e:5fc0::/29": "207686", - "2001:1578:100::/40": "29317", - "2401:fa40::/32": "134326", - "2404:e100:4004::/46": "133840", - "240e:528::/25": "4134", - "2804:66a8::/32": "269574", - "2a02:230::/32": "43383", - "2a0d:aa00::/29": "49362", - "2001:1578::/48": "12657", - "2600:1404:d000::/48": "35994", - "2a03:2887:ff35::/44": "63293", - "2a0e:8200::/29": "206516", - "2c0f:f320::/32": "37126", - "2409:8915:3400::/39": "56044", - "2a02:9e8::/32": "3257", - "2a02:40c0::/36": "60781", - "2001:67c:2af8::/48": "29518", - "2001:df0:b980::/48": "139251", - "2408:84f3:2e10::/44": "17623", - "2605:9d80:8021::/48": "4134", - "2620:19f::/36": "397962", - "2804:1168:1001::/36": "52904", - "2a02:5f83:d0cd::/39": "39811", - "2401:4900:1b60::/44": "45609", - "2600:1408:4400::/48": "35994", - "2607:f160:28::/48": "63335", - "2804:d38::/32": "53158", - "2a04:3a60::/34": "56467", - "2001:fb0:1076::/47": "7470", - "2600:380:f110::/40": "7018", - "2a02:26f7:d15e::/42": "20940", - "2401:d800:7250::/42": "7552", - "2408:8957:fe00::/28": "17816", - "2804:b4:c040::/40": "28294", - "2804:2abc::/32": "264091", - "2001:44b8:6034::/44": "4739", - "2407:7b00::/32": "58451", - "240e:438:6820::/43": "140647", - "2606:f900:9e01::/39": "812", - "2a04:ac00:b::/48": "3180", - "2a04:b480:20::/46": "209506", - "2607:ff68::/44": "46475", - "2001:559:8472::/48": "33662", - "2804:7a98::/32": "271381", - "2806:230:300e::/48": "265594", - "2a01:a680::/32": "59545", - "2001:dc7:ffd3::/42": "24151", - "2605:6f00:9000::/36": "10929", - "2800:5d0::/38": "52302", - "2a00:eb20::/32": "8330", - "2401:4900:58a0::/41": "45609", - "2800:5f0:2001::/42": "22724", - "2804:eec:1301::/48": "25933", - "2804:593c::/32": "268177", - "2a01:c50f:2a00::/37": "12479", - "2a10:9800::/29": "212708", - "2401:3c00:c0::/46": "38322", - "2409:4056:1000::/34": "55836", - "2800:160:19d2::/44": "14259", - "2804:14d:be00::/40": "28573", - "2a0f:ce00::/29": "208261", - "240e:698:2700::/40": "133774", - "2606:6680:10::/46": "40676", - "2804:603c::/32": "269154", - "2a0a:800::/29": "64478", - "2a07:6881::/32": "204860", - "2a0e:e740::/30": "208338", - "2a0f:d180::/31": "208041", - "2401:d800:d280::/42": "7552", - "2409:8904:63b0::/37": "24547", - "240a:afd9::/32": "146707", - "2803:21a0::/32": "267698", - "2804:6e1c::/32": "270576", - "2c0f:f8c8::/32": "37531", - "2604:d600:45::/37": "32098", - "2001:559:2e4::/48": "33660", - "2001:559:83f2::/47": "33651", - "2001:67c:2680::/48": "202064", - "2001:1a68:2f::/43": "15694", - "2403:c980::/32": "38283", - "2405:3140:31::/48": "56006", - "2600:1409:14::/37": "20940", - "2a01:8840:5e::/42": "12041", - "2a06:a006:f3::/48": "207083", - "2620:133:8000::/46": "19054", - "2800:160:1d73::/45": "14259", - "2804:11a0::/32": "262889", - "2804:6414::/32": "269403", - "2001:67c:16dc::/48": "559", - "2405:3001::/32": "4641", - "2804:1ad0::/32": "28621", - "2806:2f0:3484::/42": "17072", - "2a02:80e0::/30": "197216", - "2a02:ee80:4188::/43": "3573", - "240a:a83c::/32": "144758", - "2607:f1e0:1200::/33": "19092", - "2a05:d050:8050::/42": "16509", - "2001:1a10:1010::/33": "8781", - "2620:171::/48": "715", - "2803:b480::/48": "28099", - "2804:297c::/32": "262907", - "2a02:800::/32": "9119", - "2a0c:6a40::/29": "30823", - "2a0d:3480:d41d::/48": "19844", - "2603:4:1404::/48": "44273", - "2408:8256:396d::/48": "17816", - "240e:40:15::/32": "4134", - "240e:983:1300::/48": "134419", - "2804:5c4::/32": "262540", - "2a02:26f0:4701::/36": "20940", - "2a03:9d40:5000::/40": "41095", - "2a0d:2582:140::/43": "211367", - "2406:e007:c000::/34": "23655", - "2806:230:1001::/48": "11888", - "2a06:5840::/29": "21067", - "2409:8000:2a00::/39": "56048", - "240e:947:1000::/36": "137690", - "2600:b000::/28": "46595", - "2a01:74c0::/43": "15540", - "2a02:a60:8000::/33": "57739", - "2a05:3950:8661::/33": "201503", - "2408:8456:1d00::/42": "17622", - "2606:6e80::/32": "33548", - "2804:45e4:7c10::/39": "262567", - "2a06:7d80::/29": "204046", - "2a09:9f41::/32": "1239", - "2605:b880::/32": "62782", - "2a00:d240::/32": "25274", - "2a07:3500:12c0::/48": "212778", - "2a02:74a0:1::/48": "204038", - "2a03:3700::/33": "15774", - "2a0c:d500::/29": "41765", - "2001:7f8:5d::/48": "15645", - "2001:df0:426::/48": "38331", - "2a0c:e082:10::/29": "51095", - "2804:568:601::/32": "262514", - "2804:70c::/32": "262668", - "2806:230:5015::/48": "11888", - "2404:e0::/29": "703", - "2600:1806:511::/48": "16552", - "2600:370f:40a3::/43": "32261", - "2605:bc0:1005::/48": "54201", - "2606:2800:7011::/46": "15133", - "2a02:13f0:8100::/48": "48874", - "2001:559:8700::/48": "7015", - "2001:41b0::/32": "12741", - "2001:43f8:110::/48": "37181", - "2402:9d80:4::/48": "131429", - "2406:840:10::/45": "139317", - "2a01:5b0:26::/48": "8561", - "2001:559:80e6::/48": "33657", - "2403:4e00:31a::/32": "45528", - "2409:8908::/30": "9808", - "240a:ae20::/32": "146266", - "2600:1413:8001::/35": "20940", - "2600:370f:70a5::/44": "32261", - "2001:c20:486b::/48": "3758", - "2001:13d1:3c04::/30": "7303", - "2409:8948:9200::/40": "24445", - "2620:82:a000::/48": "207563", - "2a04:4e40:3e30::/41": "54113", - "2402:800:5ca9::/41": "7552", - "2402:ef13:1::/48": "9430", - "240a:a5e7::/32": "144161", - "240e:473:7a00::/41": "140485", - "2804:6dac::/32": "270548", - "2a02:2050::/32": "47264", - "2c0f:fc60::/32": "30988", - "2402:9900:d11::/48": "27435", - "2409:8075::/28": "9808", - "240a:a4d7::/32": "143889", - "2600:1417:77::/48": "38266", - "2804:3734::/32": "266396", - "2806:230:6000::/48": "265594", - "2401:d800:7590::/42": "7552", - "2610:e8::/35": "6224", - "2804:4c28::/32": "267353", - "2804:7888::/32": "271249", - "2a11:4900::/29": "42375", - "2409:8753:f00::/35": "56047", - "2001:12a4::/32": "28346", - "2402:9f80::/32": "9808", - "2a01:4f00:2234::/32": "35047", - "2a04:a8c0::/29": "33438", - "2a05:4a40:fff0::/44": "2571", - "2405:df80::/32": "38719", - "2a02:2e02:ff0::/35": "12479", - "2a03:1e00::/32": "34219", - "2a03:db80:3824::/48": "199578", - "2804:6390::/36": "269369", - "2001:4408:7f10::/32": "4758", - "2a02:46e0:1dd::/32": "60049", - "2001:559:858b::/48": "33491", - "2600:6000:fd41::/43": "12271", - "2a0a:16c0::/32": "48464", - "2607:ffb0:8001::/33": "6327", - "2001:360:12::/45": "135887", - "2001:dcc:700::/48": "23600", - "2404:b0:13::/35": "4750", - "2409:8904:4360::/37": "24547", - "240a:a5e8::/32": "144162", - "2600:1419:d001::/37": "20940", - "2605:a401:8929::/43": "33363", - "2402:800:f600::/42": "7552", - "2408:84f3:9610::/42": "134543", - "2803:87a0::/32": "13489", - "2804:fb4:a040::/33": "263599", - "2a00:4120:8000:7::/33": "20804", - "2a02:990::/32": "25459", - "2a0e:40c0:1::/48": "15626", - "2406:1300::/48": "38713", - "2408:84f3:4010::/42": "134543", - "240e:473:320::/41": "140486", - "2001:ee0:2f07::/43": "45899", - "2604:880:13::/48": "54540", - "2801:80:220::/48": "262483", - "2001:559:845a::/48": "33651", - "240e:473::/41": "140485", - "2803:3b80:f::/43": "263702", - "2a05:1086::/32": "141694", - "2a10:8800::/29": "31743", - "2401:ff80::/35": "133954", - "240a:a545::/32": "143999", - "2803:84e0::/32": "27951", - "2a00:1528:101::/32": "6696", - "2a0f:97c0::/29": "41817", - "2001:559:833f::/48": "22258", - "2001:579:400c::/42": "22773", - "2409:8a10::/30": "9808", - "2804:5df4::/32": "269003", - "2401:7400:6001::/43": "4773", - "2407:240::/48": "140775", - "2409:8d14:1900::/34": "56044", - "2600:6c3a:824::/43": "20115", - "2607:5c80::/32": "14713", - "2804:1a84::/32": "61863", - "2804:39ec::/32": "266059", - "2a03:5b00::/32": "202695", - "2001:470:97::/44": "6939", - "2001:1248:a4b4::/46": "11172", - "2408:8456:a240::/37": "17816", - "2408:8957:9d00::/40": "17816", - "2605:8340::/32": "14315", - "2a00:5881:c000::/40": "51083", - "2001:428:f000::/36": "3908", - "2001:559:571::/48": "33287", - "2603:c010:c000::/36": "31898", - "2607:c000::/32": "5645", - "2804:3f00::/32": "52643", - "2a00:b900:3::/32": "51561", - "2408:8459:a050::/38": "17816", - "2804:432c::/32": "267553", - "2806:106e:2::/48": "8151", - "2803:c010:7::/48": "271799", - "2804:2ea0:c6e0::/34": "265356", - "2001:678:5a8::/48": "8387", - "2400:5300::/47": "45815", - "240e:90d:f800::/30": "4134", - "2603:c011:c000::/36": "31898", - "2803:4680::/32": "263222", - "2a04:1ac0:fff3::/45": "211960", - "2607:f4e8:ac3::/32": "22822", - "2001:67c:2bf8::/48": "3301", - "2001:7fb:fe0a::/43": "12654", - "2401:93c0:1::/45": "135834", - "2605:a404:69c::/39": "33363", - "2001:559:830a::/48": "13367", - "2001:559:8536::/48": "33651", - "2408:8957:3500::/40": "17816", - "2804:5998::/32": "268712", - "2401:1b00::/32": "18103", - "2401:2d00:22::/48": "17625", - "2403:5cc0::/44": "134883", - "2409:8000:1900::/37": "9808", - "2803:9800:b8cb::/39": "11664", - "2804:490:8100::/37": "28613", - "2804:13dc:cd00::/34": "262428", - "2a10:da00::/32": "34576", - "2001:7f0:102::/34": "13237", - "2001:e90::/32": "9622", - "2600:80c:1600::/32": "701", - "2607:fdb8:8000::/33": "36024", - "2607:fdf0:5ee5::/44": "8008", - "2804:868:2002::/32": "28649", - "2401:d800:3a0::/41": "7552", - "2402:800:3155::/42": "7552", - "2605:e000:40c::/38": "20001", - "2804:59c::/32": "262527", - "2a00:f0e0::/43": "198499", - "2a04:92c7:3::/44": "62240", - "2001:428:e000::/36": "3910", - "2001:559:c190::/48": "33489", - "2406:e000:346::/42": "23655", - "2602:feda:e3f::/48": "147028", - "2604:880:78::/48": "13820", - "2a0c:7140::/29": "39305", - "2408:840d:3600::/42": "17621", - "2409:8c20:7c92::/32": "56046", - "240a:a613::/32": "144205", - "2803:8ea0:1000::/34": "266909", - "2804:62b0::/32": "269312", - "2a03:2e4::/30": "197451", - "2a0a:b640:1::/46": "9009", - "2001:559:8037::/48": "33491", - "2001:559:c387::/48": "7016", - "2804:5d88::/32": "268978", - "2a05:c900::/32": "42463", - "240e:3b6:c000::/37": "140315", - "2804:e0::/46": "28330", - "2804:168:1000::/48": "28279", - "2a02:24a0::/32": "58343", - "2a02:26f7:f949::/46": "20940", - "2a0b:e980::/29": "51783", - "2a0d:d480::/30": "35916", - "2001:948:5a::/42": "39590", - "2a0c:5f00::/32": "20647", - "2a0d:5642:113::/48": "48386", - "2001:559:426::/48": "22258", - "2408:8256:3b7b::/48": "17816", - "2600:1801:2::/47": "16552", - "2a10:ec0::/29": "207048", - "2001:559:2fc::/48": "33652", - "2600:1008:b070::/40": "22394", - "2608:121:c::/48": "27142", - "2800:b70:102::/48": "262191", - "2800:bf0:80c8::/48": "52257", - "2001:c20:c842::/48": "9255", - "2409:8052:2800::/47": "56047", - "2620:132:3000::/40": "395089", - "2804:14c:477::/44": "28573", - "2a02:26f7:c2c8::/48": "36183", - "2a09:4c2:28::/46": "58057", - "2001:550:2403::/39": "174", - "2001:1388:8a47::/43": "6147", - "2600:1402:1f::/37": "20940", - "2600:1406:5401::/36": "20940", - "2602:ffe4:c07::/48": "135905", - "2620:76:e000::/48": "397869", - "2a04:4e40:c410::/41": "54113", - "2001:678:964::/48": "49697", - "2607:f188::/32": "21769", - "2a02:5d80::/29": "48294", - "2001:c20:5009::/38": "3758", - "240a:aab2::/32": "145388", - "2804:1c44::/36": "61645", - "2a0b:e3c0::/29": "205215", - "2a0c:6580::/48": "43576", - "2a0c:84c0::/29": "48635", - "2401:4900:4f61::/48": "45609", - "240a:a7c5::/32": "144639", - "240a:ab9b::/32": "145621", - "240e:44d:580::/41": "4134", - "2602:fce7::/36": "399065", - "2804:7fa0:1051::/32": "271699", - "2a01:b5c0::/32": "43160", - "2c0f:f948::/47": "37582", - "2402:800:977f::/40": "7552", - "2a02:26f7:e100::/48": "36183", - "2a0d:57c0::/29": "44212", - "2408:84f3:e040::/38": "17816", - "240a:a139::/32": "142963", - "2800:650:5::/39": "28032", - "2803:1fc0::/32": "265781", - "2804:762c::/33": "271094", - "2a02:e0c7:ffff::/48": "9100", - "2001:470:121::/48": "29962", - "2001:4490:4e10::/46": "9829", - "2a01:c50f:e7c0::/36": "12479", - "2001:559:81f5::/48": "33652", - "2408:8459:1850::/39": "17816", - "2804:46c::/32": "52978", - "2001:12f0:a40::/39": "1916", - "2605:7840:f120::/36": "12130", - "2804:2068::/32": "262470", - "2a09:7c43::/32": "48108", - "2a0e:b107:c9f::/48": "140938", - "2001:16a6:c200::/31": "39386", - "2403:88c0:2::/44": "138192", - "2620:11a:a035::/48": "43515", - "2620:131:1000::/45": "26450", - "2804:1530::/32": "262481", - "2a01:53c0:ff01::/44": "54994", - "2001:67c:2c74::/48": "9201", - "2405:6e00:2220::/43": "18291", - "240a:a8b3::/32": "144877", - "2600:1002:b0c0::/43": "6167", - "2600:1408:8801::/37": "20940", - "2600:1417:1801::/34": "20940", - "2607:f480:300::/47": "27435", - "2a05:a282::/32": "31586", - "2a0b:4d07:501::/48": "44239", - "2001:503:ff39::/48": "7342", - "2602:feda:100::/47": "38008", - "240a:ab69::/32": "145571", - "2803:8e20::/32": "27843", - "2a00:1190::/32": "16302", - "2a0c:4480:6::/47": "204720", - "2a0c:c880::/29": "398465", - "240a:a63c::/32": "144246", - "2804:14d:3200::/40": "28573", - "2806:2f0:374::/40": "17072", - "2a02:26f7:f301::/46": "20940", - "2001:559:c3b2::/48": "33659", - "2602:fdac:10::/48": "397665", - "240a:a0ba::/32": "142836", - "2a0e:fd45:40f7::/48": "398646", - "2405:a080::/48": "135745", - "240a:aa11::/32": "145227", - "2600:100b:b030::/40": "6167", - "2804:14c:7900::/40": "28573", - "2400:8000:8004::/33": "4800", - "2409:8904:6070::/40": "24547", - "2600:c0b:2:200::/35": "14745", - "2604:e100:3::/45": "33028", - "2804:18a0::/32": "61944", - "2a0b:4340:c8::/47": "44421", - "2001:559:8531::/48": "33491", - "2001:559:85e5::/46": "33491", - "2409:8c62:f20::/32": "9808", - "2804:7058:4000::/32": "270721", - "2804:7500::/32": "271017", - "240e:438:4620::/43": "140647", - "2600:140b:f001::/37": "20940", - "2606:a600:5::/46": "23005", - "2407:8800::/32": "7545", - "2408:8247::/35": "140726", - "2409:8924:1100::/38": "56046", - "240a:a7cb::/32": "144645", - "2804:4f34::/32": "268311", - "2804:1724::/32": "263126", - "2001:559:7c8::/48": "33666", - "2001:1248:5a99::/42": "11172", - "2405:58c0:3400::/38": "133101", - "240a:a656::/32": "144272", - "2604:880:241::/42": "29802", - "2607:f220:403::/43": "3527", - "2620:106:7080::/46": "11795", - "2a02:26f7:c351::/48": "36183", - "2001:cb0:20e::/47": "4637", - "2402:800:9a9b::/42": "7552", - "240e:473:4050::/39": "4134", - "2803:55c0::/32": "265715", - "2804:4b6c::/32": "267305", - "2a09:bac0:268::/48": "13335", - "2001:44b8:4064::/48": "7545", - "2409:8c20:5625::/39": "56046", - "240e:688::/29": "4812", - "2600:1415:4801::/37": "20940", - "2607:f2d8:43::/33": "18450", - "2a01:7d80:2000::/38": "8990", - "2401:c240:4100::/32": "132847", - "2409:805c:1900::/34": "9808", - "2603:c001:2e00::/35": "31898", - "2610:a1:3058::/48": "12008", - "2804:487c:22f::/32": "267124", - "2a0a:1ec0::/31": "205790", - "2401:ff80:1411::/46": "133954", - "240a:a6f9::/32": "144435", - "240a:a951::/32": "145035", - "240a:aec9::/32": "146435", - "2605:a580::/32": "36103", - "2a04:5340::/47": "200081", - "2a03:17c0::/32": "44300", - "2001:67c:218::/48": "51172", - "2001:67c:2210::/48": "49167", - "2001:df0:7b00::/48": "136086", - "2600:1488:a301::/41": "20940", - "2804:1a7c::/32": "61862", - "2806:2f0:12e3::/48": "22884", - "2a00:1930::/32": "34624", - "2001:559:768::/48": "7016", - "2001:559:8124::/48": "7015", - "2409:8924:1f00::/34": "56046", - "2801:80:bf0::/48": "61867", - "2a0e:aa07:e024::/48": "210934", - "2a00:1da8::/32": "49725", - "2408:8459:de10::/42": "17623", - "240a:abe0::/32": "145690", - "2605:6440:6003::/45": "396356", - "2607:2800::/32": "33302", - "2800:160:156d::/43": "14259", - "2804:778c::/32": "271185", - "2a00:1288:f03f::/41": "10310", - "2a09:c540::/32": "209231", - "2a0e:b102:100::/44": "212895", - "2001:559:825e::/48": "21508", - "2001:6c0::/32": "25286", - "2406:eb00:1::/48": "132653", - "2408:862e::/27": "4837", - "240a:affb::/32": "146741", - "2607:fcd0:fa80:2e00::/63": "8100", - "2a0a:c842::/29": "205394", - "2001:67c:2c44::/48": "49588", - "2401:4900:6190::/41": "45609", - "2401:ff80:1a0b::/45": "133954", - "2a02:17e8::/36": "13002", - "2a10:d181::/32": "197444", - "2402:3a80:1ef3::/39": "38266", - "2600:140b:1c01::/38": "20940", - "2001:df6:3600::/48": "132559", - "2607:f110:e320::/41": "21889", - "2a03:fec0::/32": "47747", - "2001:df0:1400::/48": "64010", - "2001:4878:c102::/47": "12222", - "2402:f800:df01::/40": "7602", - "2604:f940::/45": "397134", - "2620:160:e740::/44": "4196", - "240a:a542::/32": "143996", - "2801:14a::/40": "3816", - "2a02:26f7:f5c1::/46": "20940", - "2a0a:9201::/32": "11403", - "2605:b780::/32": "54555", - "2806:260:1015::/44": "13999", - "2a00:dcc7:2200::/40": "48611", - "2804:4e58:8000::/33": "268255", - "2806:230:3018::/48": "265594", - "2a01:250:f900::/37": "34511", - "2a02:26f7:f049::/42": "20940", - "2408:8640::/32": "4837", - "2804:104c:c000::/40": "263629", - "2408:80f1:10::/42": "17621", - "240b:240::/26": "2516", - "2408:8409:4800::/40": "4808", - "2606:2800:557::/44": "15133", - "2606:6b80::/32": "16788", - "2607:f9c8::/32": "26949", - "2a01:6c8:2000::/36": "59705", - "2a0c:9a40:8116::/47": "204438", - "2001:559:8198::/48": "20214", - "240a:a961::/32": "145051", - "2600:1405:4001::/35": "20940", - "2804:14d:5400::/40": "28573", - "2a00:1920::/48": "15866", - "2001:410:2002::/40": "10965", - "2403:1400::/32": "24446", - "2a02:26f7:ca40::/48": "36183", - "2c0f:e8f8:2100::/32": "328699", - "240a:abe9::/32": "145699", - "2600:1009:f000::/44": "6167", - "2600:14e0:9::/27": "20940", - "2a06:3c80::/29": "197648", - "2001:b28::/46": "42065", - "2401:4900:d00::/41": "45609", - "240e:30e:4a00::/35": "137688", - "2605:a900:3002::/45": "46887", - "2a01:664:400::/36": "48951", - "2a09:94c0::/29": "209327", - "2a0a:4e83::/48": "206074", - "2a0a:a100::/32": "206906", - "2620:13a:4000::/40": "22686", - "2001:559:8548::/48": "7725", - "2402:800:3e01::/43": "7552", - "240e:4e::/37": "17633", - "2600:140f:5200::/48": "9829", - "2a02:26f7:de0d::/42": "20940", - "2a06:be80::/29": "24940", - "2620:20:4000::/48": "32019", - "2620:134:6008::/47": "30031", - "2804:2e0c::/34": "263019", - "2a07:3500:19d8::/48": "38915", - "2001:67c:198c::/48": "205016", - "2409:8915:9000::/39": "56044", - "240a:a29f::/32": "143321", - "2607:9b80:820::/40": "46558", - "2607:f750:8200::/48": "23473", - "2a02:26f7:c105::/46": "20940", - "2402:800:959b::/42": "7552", - "2605:a401:8188::/42": "33363", - "2a04:4e40:4e00::/48": "54113", - "2a0a:56c4:8401::/48": "42649", - "2001:df7:c700::/48": "45316", - "2001:44b8:4040::/47": "7545", - "2402:6780::/32": "45213", - "2408:8256:3b76::/44": "17623", - "2a0b:b87:ffc0::/44": "50867", - "2401:4900:3840::/43": "45609", - "2a02:7aa0::/35": "43513", - "2a10:d502::/29": "3356", - "2001:559:c3db::/48": "33287", - "2001:4200:5001::/34": "2018", - "2404:c80:f001::/36": "23704", - "2600:1402:1401::/36": "20940", - "2607:f5b0::/32": "19148", - "2804:7c38::/32": "271482", - "2001:559:820f::/48": "33659", - "2405:1c0:7a81::/48": "135062", - "2600:9000:1003::/48": "16509", - "2604:f240::/32": "30317", - "2803:39e0::/32": "270023", - "2a02:b50:8000::/47": "48910", - "2620:104:4000::/47": "15248", - "2804:834::/32": "262907", - "2a03:c6c0::/48": "42421", - "2a00:1728:e::/43": "34224", - "2001:67c:690::/48": "1836", - "2600:130c::/32": "20021", - "2600:140b:e01::/39": "20940", - "2606:2800:4adc::/46": "15133", - "2801:80:2800::/40": "262441", - "2802:0:1b::/48": "18747", - "2804:6354::/32": "269354", - "2001:67c:808::/48": "210945", - "2602:fc71::/47": "397270", - "2607:fcd0:fa80:3801::/55": "8100", - "2a02:26f7:eec5::/46": "20940", - "2a10:9400::/32": "212499", - "2001:1230:103::/32": "13579", - "2401:7340:1000::/48": "34985", - "2804:2f1c::/32": "264872", - "2401:d800:870::/40": "7552", - "2403:fdc0:800::/33": "7175", - "2a0e:be00::/29": "61272", - "2001:67c:2634::/48": "197431", - "2403:4900:1::/48": "131188", - "2405:b900:1000::/48": "55701", - "2001:4980:4445::/32": "7753", - "2409:8915:3000::/39": "56044", - "2800:220:10::/48": "13585", - "2804:1cb4::/32": "61670", - "2a0a:3b80::/29": "205645", - "2a0e:9b80:68::/47": "41737", - "2001:678:1d8::/48": "8339", - "2600:1416:2001::/32": "20940", - "2804:2da4:c000::/34": "265294", - "2804:5c18::/32": "268887", - "2400:9940::/35": "136224", - "240e:473:4350::/40": "4134", - "240e:978:2000::/40": "137702", - "2a00:7c40::/32": "202940", - "2a01:758:8300::/45": "15785", - "2a0d:1a45::/42": "57782", - "2402:800:3171::/44": "7552", - "240a:a796::/32": "144592", - "240e:473:e00::/41": "140485", - "240e:473:4920::/41": "140486", - "2600:100d:b140::/42": "6167", - "2803:bc80::/42": "263202", - "2a0e:aa07:e010::/48": "208370", - "2001:559:76c::/48": "7922", - "2001:df4:d80::/48": "60614", - "2400:c700::/44": "55644", - "2402:e380:13d::/46": "139073", - "2a00:19e0::/29": "25504", - "2402:800:75b0::/41": "7552", - "2404:5d80:6000::/39": "33438", - "2408:8459:3c40::/38": "17816", - "2409:4014:1000::/34": "55836", - "240a:a898::/32": "144850", - "2801:80:1aa0::/48": "28248", - "2804:4be4:9000::/33": "267335", - "2001:418:1401:a::/61": "2914", - "2401:d800:2630::/41": "7552", - "2408:8a23:4000::/34": "4837", - "2607:f7c0:c000::/40": "6188", - "2a06:5780::/29": "56457", - "2001:559:c1a1::/48": "33657", - "2001:df0:3a00::/48": "17439", - "240e:44d:700::/41": "140345", - "2610:a1:3004::/48": "12008", - "2804:68a0:c000::/34": "269705", - "2a00:4400::/32": "8692", - "2a01:7360::/32": "198290", - "2001:67c:6c8::/48": "31229", - "2001:14e8:2::/32": "6736", - "240e:473:7e00::/41": "140485", - "2a03:47c0:2181::/38": "21277", - "2001:559:180::/48": "33659", - "2001:67c:2cf8::/48": "12552", - "2001:1248:5920::/41": "11172", - "2408:8957:7400::/40": "17622", - "2620:1fc::/36": "55028", - "2a0e:6540:a64::/48": "208364", - "2408:8459:f500::/40": "17623", - "2600:370f:34e5::/44": "32261", - "2606:eb80::/32": "55044", - "2804:20b0::/40": "264508", - "2a02:26f7:bac9::/42": "20940", - "2a02:26f7:c5c6::/47": "20940", - "2a09:bac0:172::/48": "13335", - "2a02:e30:f007::/48": "199943", - "2001:420:4100::/37": "109", - "2001:559:83ef::/48": "33651", - "2409:8904:e1b0::/38": "24547", - "2605:a401:811b::/45": "33363", - "2800:400:1c::/48": "27668", - "2804:1080:8003::/48": "28287", - "2806:370:2110::/44": "28403", - "2a02:26f7:d24c::/48": "36183", - "2405:4c0::/32": "139281", - "2001:559:240::/48": "33659", - "2001:559:8595::/48": "33651", - "2001:6b0::/46": "1653", - "2409:8904:cfb0::/35": "24547", - "2605:4c40:105::/43": "30081", - "2a02:26f7:f40d::/42": "20940", - "2a0f:8442::/32": "49981", - "2001:67c:2058::/48": "20712", - "2001:c20:c843::/45": "3758", - "2408:8756:e00::/40": "17622", - "240e:3b7:f100::/36": "4134", - "2804:397c::/39": "52592", - "2001:678:93c::/48": "209467", - "2408:870c:30::/40": "17621", - "2600:1404:e401::/38": "20940", - "2801:176::/44": "19429", - "2a00:ad87:1300::/48": "15465", - "2a02:2308:20::/48": "198485", - "2a02:26f7:f744::/48": "36183", - "2a02:128:5::/48": "62165", - "240e:67c:1000::/37": "140330", - "2804:594c::/32": "52870", - "2804:7a64::/32": "271368", - "2001:1a68:2b::/48": "29272", - "2404:b0:1005::/48": "135586", - "240a:aef7::/32": "146481", - "2604:d600:582::/38": "32098", - "2800:4b0:8003::/43": "12252", - "2001:250::/31": "23910", - "2001:df0:20b::/48": "38549", - "2001:4830:c400::/40": "33083", - "240e:5a:4780::/36": "140300", - "2605:4a00:121::/44": "14361", - "2620:d0:8000::/48": "16411", - "2402:2600::/32": "17813", - "2804:4034::/32": "265944", - "2a02:26f7:bf44::/48": "36183", - "2a03:d940::/32": "6833", - "2001:44c8:4700::/42": "131445", - "2804:3920:4600::/40": "266013", - "2804:73b4::/34": "270932", - "2001:500:4431::/48": "396549", - "2001:4db0::/40": "35028", - "2600:1800::/45": "16552", - "2604:d600:682::/45": "32098", - "2605:a401:8039::/41": "33363", - "2404:bf40:a182::/38": "139084", - "240e:5:2000::/35": "58542", - "2610:128:2200::/33": "11686", - "2620:34:e000::/48": "11195", - "2402:9d80:601::/48": "131429", - "2404:4a00:1001::/34": "45629", - "2408:8459:e830::/41": "17622", - "240a:a41a::/32": "143700", - "2620:11:e000::/48": "33496", - "2a0f:f6c0::/29": "57191", - "240a:a83d::/32": "144759", - "2804:6794::/32": "269637", - "2408:8956:1dc0::/38": "17622", - "2600:1480:580b::/45": "21342", - "2620:12e:3000::/44": "25670", - "2804:614c::/32": "269223", - "2001:559:21a::/47": "7922", - "2604:5500:f800::/38": "19165", - "2804:718c::/32": "270796", - "2001:678:d38::/48": "42504", - "240a:a184::/32": "143038", - "240a:a1f3::/32": "143149", - "240a:a84c::/32": "144774", - "2600:1480:d800::/48": "21342", - "2001:fd8:32c0::/42": "132199", - "2a01:8640:3::/48": "201525", - "2a02:26f0:cf01::/35": "20940", - "2a0e:7a80::/29": "9009", - "2409:8050:900::/37": "9808", - "240a:a143::/32": "142973", - "240a:a633::/32": "144237", - "2607:f810::/38": "6192", - "2804:104c:e400::/40": "263629", - "2a02:a60::/33": "45031", - "2a03:bd80::/32": "15830", - "2401:c100::/32": "45634", - "240e:95c:4000::/36": "4134", - "2602:fc5d:c0a::/48": "399866", - "2602:feda:106::/41": "38008", - "2607:fef8:ffe4::/48": "18598", - "2804:25c8::/32": "264302", - "2a0c:db00::/29": "50467", - "2803:82c0::/32": "264832", - "2804:d04::/32": "52584", - "2a01:8580::/32": "198089", - "2001:579:5a54::/44": "22773", - "240a:a7dd::/32": "144663", - "2605:8200::/32": "19653", - "2801:80:34a0::/48": "268807", - "2804:1240::/32": "263465", - "2a06:82c2::/48": "136620", - "2a06:c0c0::/47": "41018", - "2a05:dfc7:dfc7::/48": "204136", - "2001:410:1000::/40": "271", - "2001:4c8:1101::/46": "15290", - "2001:678:738::/48": "202267", - "2405:b000:e00::/32": "6262", - "2620:131:1054::/42": "26450", - "2804:f8c::/34": "263591", - "2a04:df80::/29": "201962", - "2001:44b8:4065::/48": "4739", - "240a:a4ab::/32": "143845", - "2a02:26f7:bf80::/48": "36183", - "2a02:26f7:da49::/42": "20940", - "2001:559:80d4::/48": "7016", - "2001:678:824::/48": "59891", - "2804:5c0c::/32": "268884", - "2a05:1080:20::/48": "61004", - "2001:4490:effc::/46": "9829", - "2620:10f:b001::/48": "395700", - "2804:70dc::/32": "270752", - "2a0f:1e81::/29": "60781", - "2401:3c0:117::/44": "45528", - "2405:800:c000::/34": "7545", - "2600:6c38:9c::/47": "20115", - "2804:25ec::/32": "264309", - "2a03:4cc0::/32": "199569", - "2a0c:7e44:da38::/48": "20473", - "2a10:6f00::/29": "398559", - "2603:4:e::/47": "44273", - "2a02:26f7:cc85::/46": "20940", - "2001:4878:347::/48": "12222", - "2401:cf80:60ff::/39": "55303", - "2a04:2cc0::/29": "38917", - "2402:800:f450::/42": "7552", - "240a:a5de::/32": "144152", - "240a:a654::/32": "144270", - "2620:171:39::/46": "715", - "2001:559:8619::/48": "33491", - "2804:4b40::/32": "267293", - "2a00:53c0::/32": "57084", - "2401:d800:78a0::/41": "7552", - "2403:e200:14::/44": "45543", - "2600:8804:a000::/30": "22773", - "2606:1a40:200c::/47": "394256", - "2a02:6ea0:ce00::/35": "60068", - "2a04:4e40:7600::/48": "54113", - "240e:0:a000::/33": "4134", - "2605:2e40::/32": "11260", - "2806:230:2024::/48": "265594", - "2a04:4e42:ff3::/33": "54113", - "2001:67c:1bc0::/48": "60216", - "2408:8459:5e10::/42": "17623", - "2600:1404:a801::/38": "20940", - "2606:a600:9::/33": "23005", - "2a00:1450:480f::/32": "15169", - "2a03:1981::/32": "48260", - "2a03:8d20::/48": "200849", - "2a02:29b0::/32": "16298", - "2401:4900:1978::/40": "45609", - "2401:d800:7a20::/41": "7552", - "2408:8459:4c40::/40": "17623", - "240a:abb2::/32": "145644", - "2801:150::/32": "3132", - "2804:2008::/32": "264461", - "2a02:26f0:b101::/38": "20940", - "2001:df5:fb00::/48": "135495", - "2a0f:68c0::/29": "60781", - "2602:fe19:ffad::/41": "26073", - "2a02:26f7:d740::/48": "36183", - "240a:afd1::/32": "146699", - "2600:1417:800::/48": "24319", - "2607:f4e8::/45": "22822", - "2803:7d80:a008::/33": "11664", - "2804:f04::/32": "262591", - "2a10:1a40::/29": "206236", - "2606:9100:2000::/36": "1421", - "2804:138b:c041::/40": "53037", - "2804:660c::/32": "269530", - "2a06:e881:3900::/44": "204624", - "2a09:a300::/32": "8896", - "2001:559:c13e::/47": "33287", - "2001:678:370::/48": "202584", - "2600:80d:14::/47": "701", - "2610:a1:1075::/46": "397228", - "2804:338::/32": "262730", - "2a03:9800::/29": "8916", - "2a0f:607:1500::/44": "210932", - "2a03:f80:45::/48": "9009", - "2405:7f00:3251::/44": "133414", - "2604:d600:115c::/38": "32098", - "2408:8001:3070::/44": "17623", - "2620:42:2000::/48": "30542", - "2804:27c4:8008::/33": "263921", - "2a02:26f7:d309::/42": "20940", - "2a03:efc0:1700::/36": "33438", - "2001:559:8748::/48": "33662", - "2001:16d8:53::/45": "16150", - "2408:8459:aa30::/41": "17622", - "2600:6c34:19d::/48": "33588", - "2804:2d74::/32": "265283", - "2a02:6ea0:e100::/37": "60068", - "2001:559:832d::/46": "33491", - "2001:67c:19c::/48": "196967", - "2400:9380:93c0::/44": "136167", - "240e:f7:e000::/35": "136190", - "2801:140:11::/48": "262249", - "2a01:ae40::/32": "199163", - "2a02:26f7:d649::/46": "20940", - "2409:8020:10d1::/34": "56046", - "240a:adbb::/32": "146165", - "2604:2d80:8900::/34": "30036", - "2a01:7d80:2500::/35": "8990", - "2001:559:814e::/48": "33652", - "2401:9cc0:300::/48": "59256", - "2600:6000:ffb2::/41": "12271", - "2a02:26f0:b901::/38": "20940", - "2407:7a80:14::/42": "132384", - "240e:85c::/44": "131285", - "2600:d05:4000::/30": "20161", - "2607:9e80:1301::/40": "397068", - "2804:67ac:8::/43": "269643", - "2806:230:4030::/48": "265594", - "2c0f:ee08::/48": "328249", - "2a02:578:6c00::/38": "9031", - "2a0f:8d40::/29": "207670", - "2401:cf80:6200::/32": "55303", - "2605:a40c:24::/32": "33363", - "2801:1d:e800::/48": "271918", - "2404:efc0:1300::/46": "10122", - "2409:8904:38a0::/39": "24547", - "2600:100d:be0e::/40": "22394", - "2604:2f80::/32": "26523", - "2804:78f4::/32": "271276", - "2a02:fe80:20::/46": "30148", - "2001:559:56d::/48": "7922", - "2403:9800:c040::/47": "133124", - "2404:bf40:e001::/48": "2764", - "2605:99c0::/32": "394775", - "2a0b:8900::/32": "21214", - "2a10:4646:40::/44": "211617", - "2804:ee8::/32": "262704", - "2a03:2880:f044::/47": "32934", - "2a03:f700::/32": "5563", - "2a0e:97c5:7ec::/46": "20473", - "2001:559:8345::/48": "22258", - "2001:67c:2094::/48": "12695", - "2804:5e74::/32": "269034", - "2806:1000:8001::/33": "8151", - "2001:df5:b700::/48": "131418", - "2001:16a2:c0f4::/44": "39386", - "240e:6b8:5000::/32": "4134", - "2a02:e0:3006::/39": "34984", - "2a02:6200::/29": "35206", - "2409:8c1f:a930::/33": "9808", - "2a00:86c0:2057::/42": "2906", - "2a0e:fa00::/47": "49447", - "2001:418:4006::/32": "2914", - "2600:1408:6c00::/48": "35994", - "2800:160:16a6::/47": "14259", - "2a01:358:4029::/36": "9121", - "2001:1638::/32": "31400", - "2401:b400:20::/48": "58811", - "240a:a16a::/32": "143012", - "2607:9e00:3002::/33": "30536", - "2804:2664::/32": "52721", - "2a0f:9400:8004::/48": "208393", - "2001:678:398::/48": "57560", - "2001:67c:1518::/48": "34776", - "2001:df5:ca80::/48": "132513", - "2400:9380:9ac0::/44": "136167", - "240e:473:4400::/41": "140485", - "2804:7a8::/39": "262309", - "2806:230:3005::/48": "11888", - "2a04:ec40:e000::/44": "20712", - "2001:678:73c::/48": "202266", - "2600:1407:2c01::/35": "20940", - "2607:f6f0:8002::/40": "32550", - "2a0f:9340:10::/47": "1299", - "2001:67c:43c::/48": "12552", - "2001:44b8:3091::/44": "4739", - "2409:8904:6270::/40": "24547", - "2600:6c38:610::/45": "20115", - "2602:fd60:ff0::/48": "137908", - "2a07:59c1:30c0::/45": "140731", - "2001:4b20:100:f002::/36": "34288", - "240a:a7ad::/32": "144615", - "2606:ae80:1472::/47": "25751", - "2804:151:1::/46": "10954", - "2804:204:229::/45": "28186", - "2804:2ea0:c6a0::/41": "265356", - "2806:230:4040::/48": "265594", - "2a00:9ac0::/32": "198096", - "2402:800:91c5::/42": "7552", - "2402:1580:297::/34": "17682", - "240e:44d:5b80::/41": "4134", - "2620:11::/44": "7743", - "2804:74f4:8000::/33": "271014", - "2a03:9fe0::/32": "21109", - "2a09:4c2:4b::/48": "212895", - "2001:503:91ef::/48": "7342", - "240a:aae9::/32": "145443", - "2001:503:231d::/48": "26415", - "2001:4479:4000::/35": "7545", - "2804:26b8::/48": "263852", - "2a00:f88::/32": "15726", - "2001:df3:7b80::/48": "139605", - "2404:fc00:1001::/44": "45910", - "2804:4d7c::/32": "268199", - "2a04:b480::/43": "60110", - "2a0b:96c0::/29": "211210", - "2800:484:100::/38": "14080", - "2400:5380::/32": "58910", - "240a:ac30::/32": "145770", - "2600:1406:d001::/37": "20940", - "2600:140b:7c01::/32": "20940", - "2a02:26f7:20::/48": "36183", - "2001:4dd8::/32": "13069", - "2400:7400:33::/41": "38044", - "2408:8957:e800::/40": "17622", - "240a:a0c6::/32": "142848", - "2804:2f9c::/32": "264902", - "2606:2800:4111::/46": "15133", - "2620:10a:a002::/40": "16920", - "2804:4880::/32": "267125", - "2a02:26f7:6d::/48": "20940", - "2a02:6680:11f0::/44": "16116", - "2001:dce:9500::/48": "38064", - "2001:43f8:1f4::/48": "37663", - "2405:6e00:2088::/45": "18291", - "2408:8256:2f8b::/48": "17816", - "2a00:1c10::/42": "50300", - "2a0b:11c0:11::/44": "198682", - "240a:aa60::/32": "145306", - "2604:81c0:1000::/36": "396422", - "2803:daa0::/32": "266875", - "2806:2f0:4061::/46": "17072", - "2a00:1160::/29": "5500", - "2a01:5f40::/32": "15682", - "2408:8001:e800::/37": "10206", - "2600:6c38:a94::/47": "20115", - "2604:a180:4000::/36": "11139", - "2c0f:f188::/46": "328228", - "2c0f:fb30::/32": "37412", - "2001:df0:cf::/48": "55390", - "2001:448a:20b0::/35": "7713", - "2401:d800:b9d0::/42": "7552", - "240a:a029::/32": "142691", - "240a:ad80::/32": "146106", - "2001:428:b27::/37": "209", - "2001:df4:bb80::/48": "139495", - "2001:1a11:78::/48": "8781", - "2409:875c:4e00::/26": "9808", - "240a:acfd::/32": "145975", - "240e:4::/37": "140061", - "2600:6c5c::/30": "20115", - "2a09:be40:4200::/41": "213349", - "2405:1c0:6223::/43": "55303", - "240a:a2a1::/32": "143323", - "2804:126c::/32": "267463", - "2a04:2640::/29": "60460", - "2600:1410:6001::/32": "20940", - "2800:280:4002::/32": "27781", - "2a00:1d34:4500::/34": "9121", - "2a04:4e40:3800::/48": "54113", - "2409:8a50:b00::/37": "56047", - "2600:6c38:b3f::/41": "20115", - "2a02:7cc0::/48": "35000", - "2001:12e0:8000::/36": "10429", - "2400:cb00:80::/47": "13335", - "2402:2000:6001::/35": "24350", - "2604:7c80::/32": "18897", - "2806:288:4081::/48": "28469", - "2a0f:f041::/32": "205715", - "2001:908::/30": "8326", - "2401:8700:3a::/48": "36408", - "240a:ac5b::/32": "145813", - "2607:4d00::/35": "33260", - "2804:674c::/32": "269619", - "2a0f:2b40::/29": "60262", - "2a01:4080::/32": "42291", - "2001:67c:760::/48": "35008", - "2401:7400:6020::/36": "4773", - "2409:8c63::/27": "9808", - "2600:1009:9100::/44": "6167", - "2607:9800:e001::/35": "15085", - "2804:6a74::/32": "270337", - "2a00:cb8:41::/48": "15695", - "2a10:380::/29": "213140", - "2001:253:123::/48": "142089", - "2402:800:33ee::/37": "7552", - "2620:f0:c001::/45": "14148", - "2a0b:5b00::/29": "48205", - "2409:8904:6840::/42": "24547", - "2a0e:c6c0::/32": "62075", - "2a0c:9a40:81fb::/48": "213253", - "2001:19e8:8ab0::/48": "4046", - "2403:a040:cdef::/48": "38047", - "2409:807c:2100::/36": "9808", - "2600:1000:f110::/36": "22394", - "2a02:26f7:ea88::/48": "36183", - "2a02:26f7:f8c0::/48": "36183", - "2a06:bf40::/30": "46723", - "2001:559:c02e::/48": "7725", - "2001:559:c080::/47": "33491", - "2408:8459:a10::/41": "17622", - "2604:cc00:a1::/48": "53292", - "2804:7858:6040::/35": "271236", - "2001:559:81ef::/48": "7015", - "240e:4e:800::/27": "4134", - "2001:559:8744::/48": "7015", - "240a:a1ff::/32": "143161", - "240a:ab60::/32": "145562", - "2602:ff41::/36": "395176", - "2a02:2000::/45": "35297", - "2a0d:60c4::/31": "208861", - "2001:559:51a::/47": "7922", - "2001:448a:5050::/40": "7713", - "2402:800:991d::/42": "7552", - "2804:11b0:2::/32": "263432", - "2804:3e54::/32": "266588", - "2a00:da00::/32": "8560", - "2a07:b6c0::/29": "50782", - "2001:559:86f6::/48": "33491", - "2803:3960::/32": "262186", - "2804:1b04::/45": "53048", - "2a02:2698:28::/46": "12768", - "2001:559:c2ed::/48": "33659", - "2001:44b8:406a::/48": "7545", - "2406:8dc0:2204::/48": "60614", - "240a:a886::/32": "144832", - "2a0f:5707:ab2b::/48": "7489", - "2a02:5060::/32": "60144", - "2001:559:c09d::/48": "33651", - "2001:559:c28c::/47": "33491", - "2406:1400:c174::/48": "24342", - "2406:3002:50:4000::/31": "4657", - "240a:a19e::/32": "143064", - "2a00:d340:ffe0::/48": "41321", - "2a02:818::/32": "15525", - "2a0b:14c0:3::/48": "396535", - "2a03:dc00::/32": "57752", - "2001:559:549::/48": "33651", - "2001:579:9d8c::/34": "22773", - "2001:978:5203::/48": "209312", - "2401:4640::/32": "18259", - "2600:380:9800::/37": "20057", - "2800:160:1a8d::/43": "14259", - "2a02:26f7:ed05::/46": "20940", - "2001:559:2b1::/48": "33491", - "240a:a71e::/32": "144472", - "2600:100f:b140::/40": "22394", - "2804:5704::/32": "268038", - "2a05:3343:8::/47": "36351", - "2a07:58c0::/29": "203018", - "2001:67c:20f8::/48": "34290", - "2400:e1c0:800::/37": "58659", - "2a05:e700::/29": "198710", - "2a0c:9a40:8085::/48": "7489", - "2a0c:b641:1::/48": "34872", - "2a0f:9340:1a::/48": "1299", - "2600:380:f10c::/46": "20057", - "2600:9000:112e::/43": "16509", - "2a02:28a8::/32": "51800", - "2405:9800:9812::/47": "45430", - "2806:370:41a0::/41": "28403", - "2a02:26f7:c801::/46": "20940", - "2a0c:f700::/29": "206119", - "2a0d:4707::/35": "207044", - "2a0e:800:ff40::/42": "208266", - "2a0e:22c0:1::/48": "48918", - "2001:1248:8427::/44": "11172", - "2600:1404:b801::/37": "20940", - "2607:f740:e60b::/48": "63911", - "2a02:26f7:e6::/48": "36183", - "2408:8256:2d8c::/48": "17816", - "2804:68a4::/32": "269706", - "2806:230:1007::/48": "11888", - "2a00:1bf8::/32": "8487", - "2a00:8c60:2::/48": "60432", - "2001:67c:160::/48": "44238", - "2001:ee0:ee00::/40": "45899", - "2409:8c15:2000::/40": "9808", - "2600:140f:2a01::/39": "20940", - "2620:0:a00::/47": "2165", - "2a02:26f0:7401::/39": "20940", - "2402:7800:ff50::/40": "4826", - "2402:8a00:4080::/32": "24477", - "2600:100d:f010::/40": "22394", - "2001:18e8:800::/44": "17", - "2408:8956:8200::/40": "17622", - "240a:ac0a::/32": "145732", - "2801:80:190::/48": "262413", - "2a0a:4a40::/34": "206754", - "2001:468:509::/40": "14041", - "2001:559:50d::/43": "7922", - "240e:422::/32": "4134", - "2804:6280::/45": "269301", - "2a05:6700::/29": "203020", - "2001:67c:25bc::/48": "198008", - "2620:115:40ff::/48": "3145", - "2406:840:f480::/48": "142554", - "2409:8002:1900::/37": "9808", - "240a:a1eb::/32": "143141", - "240a:a787::/32": "144577", - "2406:b400:d0::/47": "55577", - "2607:f678::/32": "13868", - "2001:559:c28f::/43": "21508", - "2001:978:3b00:3::/37": "174", - "2001:df2:d380::/48": "132010", - "2a02:26f7:93::/48": "20940", - "2a03:b202::/29": "20860", - "2a0c:b641:470::/44": "208029", - "2001:559:814f::/48": "33657", - "2001:b08:21::/45": "3267", - "240a:ad67::/32": "146081", - "2a01:ce8e::/32": "51964", - "2a04:23c0::/29": "200851", - "2001:470:f6::/48": "13925", - "2404:4a00:2094::/48": "55423", - "2001:559:c092::/48": "7922", - "2402:800:579b::/42": "7552", - "2402:e380:31f::/48": "142148", - "2604:a140:1502::/45": "4755", - "2a05:1140::/29": "59890", - "2001:1440:201::/46": "5401", - "2402:800:b130::/41": "7552", - "240a:a000::/32": "142650", - "240a:ae14::/32": "146254", - "240e:808::/27": "4134", - "2801:11e:4::/44": "3816", - "2605:ae00::/33": "7819", - "2a03:4d41:110::/38": "199610", - "2a03:5a00:7::/48": "61400", - "2001:559:5a1::/48": "33287", - "2001:559:c254::/48": "33662", - "240a:a51d::/32": "143959", - "2804:53a0::/35": "268596", - "2606:740::/32": "3356", - "2a09:e900::/29": "211546", - "2a0b:df00::/32": "44984", - "2001:559:257::/48": "33287", - "240a:a9f6::/32": "145200", - "2600:1900:40d0::/44": "396982", - "2804:2ef4::/32": "264863", - "2a03:fc00::/29": "34756", - "2a0e:b107:14a0::/44": "142438", - "2001:67c:20e0::/48": "34225", - "2401:ff80:1a13::/40": "133954", - "240e:4b:4800::/32": "4134", - "2602:feda:20::/44": "205532", - "2604:b40::/32": "395846", - "2803:d640::/32": "27729", - "2a0d:3640::/29": "3214", - "2a0f:b140::/29": "50067", - "2a0d:7a40:1::/46": "60254", - "2001:7f8:e7::/48": "34800", - "2402:800:5ae0::/44": "7552", - "2600:1406:46::/48": "20940", - "2804:2e4:8001::/34": "53234", - "2804:10fc::/32": "263656", - "2a04:4e40:4000::/48": "54113", - "2a0a:cc40::/29": "44241", - "2a0e:b107:f60::/44": "207466", - "2404:f780:a::/48": "136557", - "2602:ff96:7::/48": "31863", - "2803:f4a0::/32": "266830", - "2a03:d000:2000::/36": "31133", - "2001:678:22c::/48": "25419", - "2403:9f40::/32": "138074", - "2405:d300::/43": "17477", - "2804:29f8:1::/48": "264048", - "2001:67c:1384::/48": "204896", - "2408:8256:357f::/48": "17816", - "2600:1480:e800::/48": "21342", - "2804:14d:ea00::/40": "28573", - "2a0e:b107:532::/44": "209114", - "2402:800:95b7::/41": "7552", - "2600:370f:3585::/42": "32261", - "2607:8b80::/32": "4986", - "2a01:b740:a2a::/41": "714", - "2a02:26f7:d805::/46": "20940", - "2c0e:7f89::/27": "36974", - "240a:a6c7::/32": "144385", - "240a:ae50::/32": "146314", - "2606:6800:2c00::/40": "394897", - "2620:0:50c0::/48": "6939", - "2804:20::/32": "26615", - "2804:5104::/32": "268425", - "2806:20d:5b05::/32": "32098", - "2408:8459:e810::/42": "17623", - "240a:a85a::/32": "144788", - "2804:1c1c:2001::/35": "61638", - "2806:370:9010::/44": "28403", - "2a02:26f7:f901::/46": "20940", - "2a02:ee80:413a::/45": "3573", - "2401:7000:a0a2::/36": "45177", - "240a:a0d5::/32": "142863", - "2801:80:2560::/48": "268620", - "2804:3bf0:4001::/32": "266181", - "2806:230:6001::/48": "11888", - "240a:a226::/32": "143200", - "2804:2f60::/39": "264887", - "2a01:6d80:2000::/36": "15683", - "2a09:7:2007::/48": "43357", - "2001:559:26a::/48": "7922", - "2604:d600:c6f::/43": "32098", - "2804:5574::/32": "267936", - "2804:6cfc::/32": "270505", - "2a01:666:100::/37": "48951", - "2001:678:fa4::/48": "43173", - "2001:4878:c347::/48": "12222", - "2a02:2370:101::/45": "32787", - "2404:bf40:f801::/48": "2764", - "2605:a401:878c::/42": "33363", - "2605:e000:70b::/48": "10838", - "2a0d:1ac7::/32": "56601", - "2a0b:4341:d01::/48": "57695", - "2001:559:6e::/48": "33651", - "2604:d00::/32": "40523", - "2806:2f0:7340::/32": "17072", - "2a00:5a20:2::/34": "199289", - "2a01:9580::/34": "49544", - "2a02:26f7:d15a::/45": "20940", - "2a02:26f7:e3c4::/48": "36183", - "2001:4878:a000::/48": "12222", - "2400:cb00:a410::/45": "13335", - "2620:74:a1::/48": "11840", - "2a07:d40::/29": "203338", - "2606:2800:3fff::/33": "15133", - "2606:3a80:500::/48": "396948", - "2400:7fc0:2c0::/44": "55960", - "2600:1480:8000::/40": "33905", - "2602:feb4::/44": "25961", - "2606:ae00:cc31::/41": "7287", - "2804:27f8::/32": "263932", - "2001:559:3ee::/48": "33491", - "2001:559:80ce::/48": "7922", - "240a:a5f8::/32": "144178", - "2a02:26f7:cc89::/42": "20940", - "2a06:c002::/32": "206766", - "2a0f:c700::/29": "39384", - "2001:808:e000::/31": "8364", - "2001:48c8::/45": "29791", - "2402:6f80::/32": "134220", - "2a00:1ea0::/47": "35007", - "2a02:26f7:fc08::/48": "36183", - "2a06:6c0:254::/47": "200738", - "2a0c:b641:690::/46": "209297", - "2001:16d8:bc00::/33": "16150", - "240e:3b7:2800::/38": "4134", - "2606:af00::/32": "30236", - "2804:8140:2000::/32": "272442", - "2a02:ad8::/43": "12389", - "2a03:80c0:abba::/48": "210079", - "2001:559:8460::/48": "33660", - "2001:67c:25d0::/48": "48061", - "2409:8000:2100::/37": "9808", - "2804:c70::/32": "52706", - "2a0f:9400:7340::/47": "209101", - "2a02:cb81:1000::/45": "43766", - "2001:400:b14::/48": "3671", - "2001:559:80c7::/44": "33662", - "2401:d800:5e00::/42": "7552", - "2408:84f3:bc10::/42": "134543", - "2408:8957:9600::/40": "17622", - "2408:8957:9700::/40": "17816", - "2a02:f40::/32": "20960", - "2001:f40:12::/32": "9930", - "2620:106:c009::/48": "11039", - "2001:438:3a::/41": "6461", - "2404:a8:5::/48": "24514", - "2001:559:122::/48": "7015", - "2001:5002:300:1::/64": "6461", - "2801:1e2::/44": "27951", - "2a0b:5400:1::/48": "13030", - "2a06:6740::/29": "20596", - "2001:438:39::/48": "17025", - "2001:df5:9180::/48": "9009", - "2001:448a:3010::/42": "7713", - "2402:79c0:1179::/48": "26415", - "240a:a1d7::/32": "143121", - "2600:140b:2800::/48": "24319", - "2800:484:1600::/34": "10620", - "2a06:b840::/29": "203608", - "2a0f:bb00::/29": "34856", - "2001:978:5d04::/34": "174", - "2804:96c::/32": "263085", - "2a06:600::/29": "200742", - "2406:da70:1000::/40": "16509", - "240e:c2:2000::/31": "4134", - "2806:310:9::/48": "28523", - "2a02:26f7:d2c4::/48": "36183", - "2a09:8d00::/29": "2593", - "2001:1248:975d::/42": "11172", - "2408:8456:3c00::/41": "17623", - "240e:473:3720::/41": "140486", - "2a00:1418:f::/48": "41391", - "2a03:1000::/32": "25575", - "2c0f:ec30::/32": "37722", - "2001:559:823a::/48": "13367", - "2400:9700:101::/43": "24550", - "2408:8956:3800::/40": "17622", - "2804:63c::/32": "262571", - "2a0b:4d07:b01::/48": "44239", - "2a0b:a700::/29": "207003", - "2a0d:9d40::/29": "48704", - "2001:4878:4000::/48": "12222", - "2408:8957:ba00::/40": "17622", - "2602:fcd3:100::/48": "212934", - "2001:559:762::/47": "7015", - "2400:cb00:a2c2::/48": "13335", - "2602:fccf::/36": "398355", - "2a02:26f7:c3c4::/48": "36183", - "2a02:26f7:cac4::/48": "36183", - "2a02:26f7:e305::/46": "20940", - "2404:c2c0:2c0::/44": "135629", - "2408:8956:6e00::/40": "17622", - "2600:1012:b180::/43": "22394", - "2605:8300::/47": "33059", - "2804:3b04::/32": "266124", - "2806:230:202a::/48": "265594", - "2a03:5240::/32": "199599", - "2804:3d7c::/32": "266534", - "2001:7a8:810::/44": "34019", - "2001:fd8:220::/48": "132199", - "2400:6180:100::/40": "14061", - "2402:800:5671::/44": "7552", - "2402:8100:2360::/43": "55644", - "240a:a7f7::/32": "144689", - "240a:aeef::/32": "146473", - "2a02:26f7:e481::/46": "20940", - "240a:aedd::/32": "146455", - "240a:af52::/32": "146572", - "2a00:ebe0::/32": "62423", - "2a0e:e704:44::/48": "212971", - "240a:a7c9::/32": "144643", - "2801:1e:4000::/45": "262266", - "2804:798::/32": "262304", - "2804:73a0::/32": "270927", - "2a0e:f42::/32": "208627", - "240e:438:2a40::/37": "4134", - "2804:7dc0::/32": "271580", - "2001:470:ef::/48": "6939", - "2409:8080:2a50::/44": "9808", - "2620:129::/44": "6169", - "2a0f:cc0::/29": "60262", - "2c0f:2800::/32": "328543", - "2401:1d40::/48": "23724", - "2620:130:3041::/48": "62861", - "2a03:580::/32": "15576", - "2001:44b8:605e::/48": "7545", - "2401:d800:fc0::/42": "7552", - "2606:fe00::/32": "7828", - "2620:30:c000::/44": "32234", - "2806:230:3009::/48": "11888", - "2001:67c:266c::/48": "25417", - "2402:800:b7a0::/41": "7552", - "2409:8924:bd00::/38": "56046", - "2804:e64:123::/37": "262952", - "2804:6c28::/32": "270449", - "2001:c20:4883::/45": "9255", - "2408:872b:404::/32": "4837", - "240e:473:1650::/39": "4134", - "2605:7900:42::/48": "19133", - "2a0b:88c0::/29": "206728", - "2400:fc00:8040::/39": "45773", - "2804:2b18::/32": "265134", - "2401:d800:9610::/42": "7552", - "240e:3be:c000::/37": "140315", - "240a:a2f4::/32": "143406", - "2604:3548::/32": "399587", - "2801:19:6800::/48": "19429", - "2804:1bc:efd4::/48": "14781", - "2804:4498::/32": "267641", - "2a01:7c00:20::/29": "52075", - "2001:559:82f9::/48": "33661", - "2402:cac0::/32": "59217", - "240e:3b5:5600::/34": "4134", - "2600:370f:5250::/44": "32261", - "2602:807:50e0::/47": "55136", - "2a02:7200::/32": "30721", - "2a02:1c8:5::/48": "47775", - "2001:b28:9999::/48": "31500", - "2001:4878:2246::/48": "12222", - "2604:880:3c::/48": "29802", - "2800:160:129a::/42": "14259", - "2804:76cc:2000::/32": "271135", - "2a04:ac00:2::/48": "203004", - "2600:6c38:10f::/43": "20115", - "2001:67c:4e8::/48": "62041", - "2001:67c:2738::/48": "12628", - "2401:7500:fff0::/47": "133296", - "2408:8647:1200::/28": "4837", - "240a:a618::/32": "144210", - "240a:abc4::/32": "145662", - "2600:370f:3425::/44": "32261", - "2400:cb00:a1a0::/46": "13335", - "2405:6e00:470::/40": "133612", - "240a:ac36::/32": "145776", - "2620:100:a005::/46": "19750", - "2801:1f0:4026::/47": "3573", - "2a02:2978::/32": "15830", - "2001:678:1c4::/48": "48971", - "240a:a8e2::/32": "144924", - "2804:58c0::/32": "268147", - "2804:6b6c::/32": "270399", - "2a07:e80::/29": "203329", - "2401:4900:4110::/38": "45609", - "2608:4162:1::/48": "27065", - "2803:5c80:5591::/48": "64114", - "2804:f28::/32": "262683", - "2402:8100:2460::/44": "45271", - "240a:a259::/32": "143251", - "2804:79e4::/32": "271334", - "2a07:12c0::/29": "25795", - "2001:559:c1c6::/48": "7016", - "2408:8756::/36": "17622", - "240a:ae1e::/32": "146264", - "2600:1012:9110::/36": "22394", - "2804:2804:f800::/37": "263935", - "2a02:2c00::/29": "203424", - "2404:4600:8::/48": "10158", - "2a07:8d85::/30": "61110", - "2405:3f00::/31": "38719", - "2602:fcbf::/36": "399338", - "2604:a400::/32": "11320", - "2806:2f0:9241::/42": "17072", - "2a00:79e1:f0f::/43": "36384", - "2001:559:479::/46": "7922", - "2001:559:4a7::/48": "33660", - "2408:80f1:1b0::/44": "17621", - "2001:1248:a67b::/40": "11172", - "2a00:7145:b1::/48": "51430", - "2a00:e040:c00::/47": "15953", - "2806:230:1032::/48": "265594", - "2a07:3502:1050::/48": "1136", - "2001:559:833d::/48": "33659", - "2001:678:214::/48": "62269", - "2408:8459:24c0::/38": "17816", - "2409:8904:5870::/40": "24547", - "2600:140b:b001::/38": "20940", - "2804:2954::/32": "264009", - "240e:438:7020::/43": "140647", - "2804:768::/36": "52977", - "2a02:2b80:101::/48": "45012", - "2a0c:63c0::/48": "39642", - "2001:67c:14b0::/48": "13127", - "2a00:dd8:1::/48": "15994", - "240a:a87e::/32": "144824", - "2606:1b00::/32": "11722", - "2804:61b4::/32": "269251", - "2a0a:580:1121::/40": "15404", - "2001:4d40::/32": "13237", - "2401:d800:5bb0::/41": "7552", - "2409:8051:1000::/47": "56047", - "2620:106:8000::/44": "33309", - "2a03:ae00:2001::/32": "49138", - "2a04:4e40:5a00::/48": "54113", - "2001:4490:4c60::/46": "9829", - "2600:1012:b1f0::/33": "22394", - "2604:5880::/48": "10980", - "2a02:26f7:d545::/46": "20940", - "2400:adc0:c100::/46": "9541", - "240a:aa65::/32": "145311", - "2804:108c:d700::/34": "28146", - "2620:125:9001::/48": "397415", - "2801:1b:8800::/48": "19429", - "2001:678:ab8::/48": "35814", - "2602:808:1::/46": "25948", - "2604:9cc0:800::/38": "50131", - "2408:8244:1200::/32": "4837", - "2a02:ac80:7371::/32": "25145", - "2a0a:8500::/29": "206936", - "2001:559:8385::/48": "33651", - "2403:c00::/46": "17488", - "2408:8256:327c::/48": "17816", - "2800:5e0::/32": "28007", - "2a01:8380::/32": "5433", - "2001:df1:3200::/48": "131353", - "2401:7500:1112::/36": "133296", - "2408:840d:200::/42": "17621", - "2a02:2e02:a1b0::/33": "12479", - "2001:559:c2c5::/48": "7016", - "2001:67c:209c::/48": "212430", - "2001:df3:e180::/48": "140695", - "2404:4f02::/40": "137840", - "2a06:fac0::/29": "13182", - "2a02:26f7:c084::/48": "36183", - "2a02:2e02:96c0::/39": "12479", - "2a0e:b107:27e::/48": "212519", - "2001:13b0:800f::/43": "3549", - "2400:3b00:30::/48": "18229", - "2400:cb00:120::/44": "13335", - "240a:a60c::/32": "144198", - "2a01:190:151e::/48": "207791", - "2001:468:26e1::/48": "237", - "2001:579:b05::/37": "22773", - "2c0f:ef40::/32": "328337", - "2400:dd03:100b::/29": "7497", - "2402:c340:cccd::/34": "38047", - "2408:840d:5000::/42": "17621", - "2602:fcf1::/36": "398998", - "2604:9500::/32": "13807", - "2a02:e0::/43": "34984", - "2405:6400:4000::/36": "45121", - "240e:438:b020::/43": "140647", - "2a01:5c8:800::/45": "35402", - "2a01:b200::/32": "44185", - "2a02:26f7:c4c5::/46": "20940", - "2c0f:fde8:1000::/36": "37712", - "2402:9d80:a71::/44": "131429", - "2408:8956:a00::/40": "17622", - "2620:16:e000::/48": "396027", - "2804:474c::/32": "267044", - "2a0e:aa07:e011::/48": "212916", - "2a00:47a0::/32": "61010", - "2001:559:c32a::/48": "33657", - "2405:ef00::/43": "58779", - "240a:a13d::/32": "142967", - "2600:140f:f800::/48": "24319", - "2600:5c00:3aad::/48": "11351", - "2a01:7e80:321::/32": "197990", - "2a02:26f7:c185::/46": "20940", - "2001:4b22:10::/64": "65505", - "2607:ce80::/32": "23523", - "2607:f3f8:7::/35": "19019", - "2a02:26f7:d089::/42": "20940", - "2a02:26f7:f40c::/48": "36183", - "2a05:8880:4::/48": "203589", - "2401:47c0::/35": "41095", - "2604:d600:50b::/43": "32098", - "2409:8008:3900::/32": "24547", - "2620:13f:7008::/48": "51439", - "2800:430:2100::/33": "23487", - "2801:80:1e61::/46": "14026", - "2a00:5fa0:1000::/48": "205028", - "2a0b:6b86:401::/48": "207080", - "2a0d:bd80::/30": "47724", - "2001:4878:c215::/46": "12222", - "2401:3c0:100::/46": "45528", - "2408:8456:5800::/42": "17622", - "240e:940:ef00::/30": "4134", - "2001:559:125::/48": "7725", - "240a:a9a1::/32": "145115", - "2605:a401:8074::/40": "33363", - "2804:60e0::/32": "269197", - "2a03:8580::/32": "8464", - "2a0b:fa00::/32": "28674", - "2804:950::/32": "263072", - "2001:559:c3dc::/48": "7015", - "2001:4ce9::/30": "34868", - "240a:a6f2::/32": "144428", - "2602:fd12::/48": "16509", - "2606:3a80:100::/48": "396949", - "2620:149:a06::/48": "6185", - "2800:a00::/32": "11315", - "2a00:13f0::/32": "39662", - "2a00:ac00::/31": "51728", - "2a01:bf00::/32": "9044", - "2a11:f00::/29": "50178", - "2605:e240:b::/48": "16509", - "2a00:79e1:380::/48": "395973", - "2a01:a220::/29": "57276", - "2a09:dc40::/29": "197522", - "2001:400:b31::/34": "293", - "2001:559:84f9::/48": "33287", - "2408:805d::/44": "17623", - "2a02:26f7:32::/48": "36183", - "2a02:ff80::/29": "34764", - "2a05:e980::/32": "47215", - "240a:a2f6::/32": "143408", - "2a0a:c3c0::/29": "208861", - "240a:ab19::/32": "145491", - "2600:100b:a010::/39": "6167", - "2605:e9c0::/32": "29696", - "2801:140:fffe::/48": "262249", - "2a00:19c8::/32": "35833", - "2a02:26f7:40::/48": "36183", - "2001:4bf8::/32": "8271", - "2605:a408:4f::/32": "33363", - "2605:dd40:8220::/48": "398549", - "2a00:1908:ffff::/48": "205365", - "2a00:eac0::/32": "20915", - "2001:fd8:a8::/41": "4775", - "2001:4b22:0:1::/44": "34288", - "2401:fd80:1fd::/48": "43519", - "2800:160:137f::/40": "14259", - "2a02:2e02:1520::/41": "12479", - "2a07:c600::/29": "199163", - "2001:559:84fa::/48": "7016", - "2001:df0:29f::/48": "58445", - "2400:d400:1337::/48": "45671", - "2402:800:3a8d::/43": "7552", - "2408:8956:f640::/40": "17622", - "2a05:45c0::/32": "8193", - "2a10:c340::/29": "208861", - "2001:67c:b4::/48": "16509", - "2405:7f00:a1a0::/38": "133414", - "2607:fcd8::/42": "33182", - "2a0e:b107:88b::/48": "212858", - "2001:559:8724::/48": "7922", - "2409:4070:5000::/31": "55836", - "2606:5000:600::/36": "3908", - "2803:4120:50::/48": "64108", - "2804:6460::/32": "269424", - "2804:805c::/32": "271746", - "2a02:26f7:c341::/45": "20940", - "2001:559:850c::/47": "7725", - "2001:49d0:1c0::/32": "2495", - "2804:6484::/32": "269432", - "2a00:16f8:10::/48": "397942", - "2a02:26f7:b781::/46": "20940", - "2402:800:5271::/44": "7552", - "2a07:9440::/30": "202682", - "2001:c20:c814::/47": "9255", - "240a:a508::/32": "143938", - "2600:1417:1e::/48": "9498", - "2604:5040::/32": "20150", - "2804:2688::/32": "262482", - "2001:559:325::/48": "7922", - "2403:7340::/32": "136308", - "2803:f00:64b::/48": "262182", - "2804:1010::/34": "263617", - "2402:28c0:fffa::/45": "136620", - "240e:3ba::/35": "134773", - "2606:2800:4a87::/48": "14210", - "2a02:2018::/32": "51218", - "2a03:560::/47": "201832", - "2a0d:4cc0::/29": "30823", - "2c0f:ed58::/32": "328471", - "2001:559:80a7::/48": "7015", - "2600:1010:d1d0::/34": "22394", - "2804:14d:2a2d::/41": "28573", - "2800:160:1738::/41": "14259", - "2800:bf0:81c7::/43": "27947", - "2409:8080:2aaf::/48": "56040", - "2603:c0e9:2000::/36": "1218", - "2620:11d:d000::/40": "18995", - "2804:6bec::/32": "270434", - "2806:268:2300::/47": "13999", - "2402:1580:2970::/32": "17682", - "2620:138:6000::/48": "36710", - "2001:4528:1000::/32": "18101", - "2405:1c0:6453::/42": "55303", - "2606:2800:4224::/48": "15133", - "2607:fdf0:5e86::/44": "8008", - "2804:5740::/32": "268054", - "2001:559:c29a::/48": "33657", - "2404:4f80:34::/47": "58715", - "240e:d2:8000::/29": "4134", - "2604:4300:f1f::/42": "33387", - "2001:559:595::/48": "33659", - "2401:14c0::/44": "136531", - "2405:2001:2::/48": "6421", - "2405:ec01:a000::/33": "137412", - "240a:aca8::/32": "145890", - "240e:698:4200::/40": "58466", - "2800:160:14f4::/44": "14259", - "2408:8957:7b00::/40": "17816", - "2803:c660::/32": "64122", - "2a02:26f0:3d01::/33": "20940", - "2001:678:d8::/48": "35407", - "2001:67c:1708::/48": "38974", - "2401:d800:d760::/40": "7552", - "2606:a800::/32": "4922", - "2607:f5b5:2::/47": "7203", - "2620:74:2c::/48": "396574", - "2a07:a900::/29": "46261", - "2605:c8c0::/32": "10546", - "2a0c:e641::/32": "209645", - "2403:c240::/32": "9264", - "240e:473:1b50::/37": "4134", - "2606:9380::/32": "15011", - "2804:74f4::/46": "271014", - "2806:2f0:3104::/42": "17072", - "2a01:3e0:d02::/29": "6453", - "2a0a:4786::/32": "208861", - "2001:559:34e::/48": "7016", - "2001:1248:5504::/43": "11172", - "240a:a198::/32": "143058", - "2a02:500:6000::/32": "5538", - "2a02:26f7:d900::/48": "36183", - "2800:2d0::/32": "3603", - "2a01:a040::/32": "39791", - "2405:4000:801::/61": "7470", - "2a0e:b107:4d0::/47": "209083", - "2a10:3d00::/29": "212457", - "2604:3d40::/32": "40943", - "2804:66bc::/32": "269579", - "2a02:26f7:ea89::/42": "20940", - "2a02:7980::/39": "43937", - "2001:678:888::/48": "209933", - "2a0e:8f02:f01f::/48": "211696", - "2610:b0:4112::/45": "3573", - "2a04:30c0::/32": "20473", - "2606:1780::/32": "40676", - "2804:4c0c::/41": "267345", - "240e:44d:6b00::/41": "140345", - "240e:951:2400::/38": "138991", - "2602:fcdb::/36": "55103", - "2a0f:5707:ab21::/48": "49367", - "2408:8456:7640::/36": "17816", - "2801:80:250::/48": "262512", - "2804:6c70::/32": "270468", - "2a01:4fe0::/32": "57928", - "2a11:ad80::/48": "210829", - "2001:559:4e4::/48": "7922", - "240a:a875::/32": "144815", - "240a:ab57::/32": "145553", - "2605:6440:1000::/44": "396356", - "2806:202::/32": "28458", - "2a06:e540::/29": "203600", - "2001:67c:25e0::/48": "44760", - "2001:9e8:2180::/32": "8881", - "240e:83:ff00::/40": "23724", - "2804:49c:3110::/48": "15201", - "2a00:1c60::/32": "47674", - "2a01:5041:c::/48": "202196", - "2a04:4e40:c010::/41": "54113", - "2803:7c60::/32": "27951", - "2a00:1278::/32": "12813", - "2a0c:ca80::/31": "34915", - "2a0d:ce00::/29": "200428", - "2001:1248:9c41::/42": "11172", - "240a:ad45::/32": "146047", - "2604:2280:ff00::/40": "53340", - "2620:13a:3000::/44": "14414", - "2804:4d4::/32": "262469", - "2a0e:97c5:5b0::/46": "20473", - "2001:559:3b4::/48": "7015", - "2401:7000:c100::/35": "45177", - "2405:1e00:fe::/47": "17771", - "2607:1380:2::/32": "6576", - "2806:2f0:3544::/42": "17072", - "2001:3a0:f006::/48": "38644", - "2001:559:824e::/48": "33661", - "2408:8957:1600::/40": "17622", - "2604:fec0::/32": "21808", - "2801:1c:e800::/48": "18747", - "2804:4d94::/32": "268206", - "2402:f800:cf01::/40": "7602", - "2604:f80:3::/45": "22458", - "2400:1f80::/32": "58451", - "2402:b801:2b00::/37": "18371", - "2602:fed5:3::/45": "27398", - "2602:ffb1:300::/48": "53356", - "2a0f:1040::/29": "60262", - "2001:550:9b04::/37": "174", - "2408:80ea:6380::/41": "17622", - "2a02:2e02:2040::/43": "12479", - "2001:ee0:a040::/37": "45899", - "2409:8002:1100::/37": "9808", - "2409:8752:b00::/37": "56047", - "2804:5ac0::/32": "268793", - "2806:288:4040::/47": "28469", - "2a09:1e80::/29": "21769", - "2001:4878:8136::/48": "12222", - "240a:a17e::/32": "143032", - "240a:a7ef::/32": "144681", - "240e:3bc:2c00::/35": "134774", - "240e:473:b20::/41": "140486", - "2803:46e0::/47": "269953", - "2a06:5cc0::/29": "42505", - "2600:1413:1001::/36": "20940", - "2001:559:41f::/48": "33651", - "2a01:6d0::/32": "12552", - "2a0a:d540::/32": "207322", - "2a0d:b00:9201::/48": "205862", - "2001:67c:2d64::/48": "39923", - "2400:4c80::/32": "7632", - "2406:e001:7800::/32": "23655", - "240e:c:6800::/37": "4134", - "2001:559:5f0::/48": "7922", - "2001:678:348::/48": "43861", - "2001:978:1b04::/37": "174", - "2001:df7:b300::/48": "131111", - "2400:adce:5000::/40": "9541", - "2406:4580::/32": "59123", - "240a:a8b4::/32": "144878", - "2804:6f48::/32": "270650", - "2a0d:5bc0::/32": "210252", - "2607:fcd0:fa80:5906::/60": "8100", - "2a01:9700:145c::/46": "8376", - "2001:48d8::/32": "6596", - "240a:afcb::/32": "146693", - "240e:44d:3d00::/41": "140345", - "2604:d600:651::/46": "32098", - "2620:0:1a80::/48": "46964", - "2804:4fd4::/32": "268352", - "2a09:4c0:8701::/34": "58057", - "2001:559:21e::/48": "33651", - "2600:6c7f:9062::/48": "20115", - "2a02:2ab8:32d::/46": "702", - "2a04:7f80::/29": "48728", - "2001:559:54c::/47": "21508", - "2600:5800:1602::/32": "11426", - "2607:fae0:6000::/36": "8038", - "2620:100:3012::/48": "23286", - "2a06:c3c0:2::/48": "29182", - "2a0e:b102:130::/44": "39526", - "2001:67c:110::/48": "3274", - "240a:a80b::/32": "144709", - "240a:aaba::/32": "145396", - "240e:438:2620::/43": "140647", - "2620:1c0:72::/47": "22773", - "2804:6378::/32": "269363", - "2001:ee0:8100::/36": "45899", - "2607:b400:a00::/48": "1312", - "2804:3e78::/32": "266598", - "2a02:26f7:fbc1::/46": "20940", - "2a10:6300::/29": "398559", - "2001:df0:41f::/48": "133014", - "2402:800:5a0f::/43": "7552", - "2a02:6621::/32": "47723", - "2a03:e140:2::/48": "59533", - "2a07:3500:19a0::/48": "38915", - "2001:253:116::/48": "142082", - "2406:b400:10::/46": "18209", - "2a02:26f7:d004::/48": "36183", - "2a0e:b103:b93::/41": "20473", - "2c0f:eea8:9000::/36": "328306", - "2001:7e0::/32": "13285", - "2620:149:551::/42": "714", - "2a03:bb40::/32": "61211", - "2a04:940::/47": "51407", - "2001:502:4612::/48": "397229", - "2001:559:808e::/43": "33657", - "2001:4188:2::/48": "49666", - "2a04:cc0::/29": "29075", - "2a04:a4c0::/48": "59789", - "2803:7180:2000::/36": "21575", - "2a00:de60::/32": "47999", - "2a02:26f7:c181::/46": "20940", - "2c0f:f020:100::/38": "327907", - "2001:559:199::/48": "7016", - "2405:1c0:6343::/43": "55303", - "240a:a959::/32": "145043", - "2604:d600:1329::/45": "32098", - "2804:4c0:fffd::/46": "3549", - "2a01:b740:1540::/32": "714", - "2a0b:7280::/29": "48635", - "2405:8a00:8022::/44": "55824", - "240e:438:8640::/36": "4134", - "240e:967:8800::/38": "133775", - "2a07:180::/32": "209242", - "2404:3d00:4058::/47": "21433", - "2610:30::/34": "30313", - "2001:559:315::/48": "33489", - "2001:559:8401::/48": "33491", - "2403:1240::/32": "24279", - "240a:a51c::/32": "143958", - "240a:a8ff::/32": "144953", - "2800:370:a::/48": "28006", - "2a02:2ad0:109::/43": "702", - "2001:559:c0cf::/48": "33659", - "240a:a1b4::/32": "143086", - "240a:a9f4::/32": "145198", - "2620:0:1af0::/48": "36786", - "2409:8050:2c00::/38": "9808", - "2a02:ee80:4264::/43": "3573", - "2a05:7780::/32": "39892", - "2409:8904:7c40::/39": "24547", - "2409:8a51:300::/37": "56047", - "2001:559:464::/48": "7725", - "240e:44d:1700::/41": "140345", - "2401:4900:46c0::/43": "45609", - "2405:ed00::/32": "10000", - "2409:8704::/38": "24547", - "2804:1f22::/32": "264957", - "2804:4734::/32": "267038", - "240a:a2d8::/32": "143378", - "2001:4ce8::/32": "250", - "2804:5c50::/32": "268901", - "2a05:8f00::/29": "201199", - "240a:ad79::/32": "146099", - "2602:fca9::/36": "1742", - "2806:230:5001::/48": "11888", - "2a02:26f7:f6c1::/46": "20940", - "2600:1408:bc01::/33": "20940", - "2620:128:2011::/40": "395287", - "2803:6700:1000::/40": "263210", - "2804:1c84:700::/32": "61659", - "2a02:26f7:b7c0::/48": "36183", - "2001:559:545::/48": "22258", - "2a02:26f7:c784::/47": "36183", - "2a02:2864::/30": "25255", - "2a03:2880:f300::/36": "32934", - "2001:448a:6090::/41": "7713", - "2620:9:a00c::/46": "395515", - "2806:20d:1631::/36": "32098", - "2806:2f0:70c1::/39": "17072", - "2a0f:b7c0::/29": "49688", - "2401:7000:f000::/36": "45177", - "2605:7900:8::/47": "19133", - "2804:14c:6587::/44": "28573", - "2a00:5540:5015::/32": "50763", - "2001:559:c2a6::/48": "33659", - "2600:1405:f001::/30": "20940", - "2a00:4120:8000:6::/64": "201044", - "2a09:84c0:500::/38": "8145", - "2a0e:aa06:450::/44": "135671", - "2a02:2454:8000::/33": "16202", - "2402:800:fe20::/41": "7552", - "2804:4904::/32": "267159", - "2001:559:83c1::/48": "7922", - "2001:67c:1758::/48": "8820", - "2408:8957:4c00::/40": "17622", - "2602:fd00::/36": "39967", - "2620:149:a01::/45": "714", - "2401:4900:1aa0::/44": "45609", - "240e:5a:4180::/38": "140292", - "2600:803:613::/48": "27030", - "2600:3007:1311::/40": "13649", - "2a0c:b641:26f::/48": "59598", - "2a04:84c1::/32": "29017", - "2001:559:788::/48": "21508", - "2001:678:688::/48": "8283", - "2409:806b:900::/35": "9808", - "2803:bee0::/36": "269989", - "2a00:6060:b000::/48": "199881", - "2a02:26f7:f509::/42": "20940", - "2a02:f1c0::/29": "6846", - "2001:500:a6::/48": "393246", - "2620:12c:b052::/48": "13448", - "2a04:4e40:2800::/48": "54113", - "2001:660:3007::/32": "2200", - "2603:90f5:13::/48": "20115", - "2607:6002::/32": "12189", - "2804:fbc::/32": "61894", - "2001:8b0:0:70::/47": "20712", - "2001:1640::/32": "25394", - "2406:3002:40:4000::/44": "4657", - "240a:a6ed::/32": "144423", - "2409:8751:1100::/30": "56047", - "2804:4d58::/32": "268191", - "2a02:26f7:e601::/46": "20940", - "2a02:5d00::/32": "196861", - "2001:67c:29ec::/48": "58298", - "2600:141b:b801::/33": "20940", - "2602:fdff::/36": "397376", - "2803:e440::/32": "263780", - "2806:230:301d::/48": "11888", - "2a02:26f7:fb40::/48": "36183", - "2403:f000:100::/40": "38220", - "2606:f500:4000::/32": "11352", - "2804:c00:8b00::/34": "52655", - "2804:8224::/32": "272501", - "2a0c:6d00:61::/48": "3218", - "2001:559:2c5::/48": "33287", - "2a00:1cf8:4000::/35": "44944", - "2a00:f7a0:100::/48": "204249", - "2a02:1648::/29": "49375", - "2402:800:7dd0::/42": "7552", - "240a:adbe::/32": "146168", - "2600:1419:14::/44": "20940", - "2804:75b0::/33": "271063", - "2806:2f0:99c0::/42": "17072", - "2a04:2b00:212::/48": "42044", - "240a:a49b::/32": "143829", - "2801:80:19a0::/48": "265071", - "2804:4e3c::/32": "268248", - "2400:a980:4900::/35": "133111", - "2602:fe5b::/36": "53872", - "2a04:b2c0::/29": "5413", - "2400:5d00::/32": "58507", - "2409:8915:9200::/39": "56044", - "2001:559:868f::/48": "33659", - "2600:100e:b0e0::/39": "6167", - "2804:204:304::/47": "28186", - "2804:3d4:8::/43": "262401", - "2a07:22c1:2::/48": "212858", - "240e:44d:7f00::/41": "140345", - "2804:56d0::/32": "268025", - "2a02:efc0::/29": "56689", - "2001:67c:580::/48": "12703", - "2001:df0:30e::/48": "17547", - "2605:c400::/32": "19381", - "2a04:4e40:da00::/47": "54113", - "2a02:26f0:10d::/46": "20940", - "2001:559:812c::/48": "33652", - "2400:54c0::/40": "136352", - "2402:ef0e::/32": "38536", - "2604:f980:4400::/44": "19957", - "2803:b60::/32": "269797", - "2804:14d:1c00::/40": "28573", - "2804:57f4:801::/32": "268097", - "240a:a272::/32": "143276", - "2a0c:b9c0::/32": "202448", - "2400:e500:1::/42": "38742", - "240a:ae3b::/32": "146293", - "2600:141b:9001::/36": "20940", - "2804:8274::/32": "272522", - "2a02:26f7:b581::/46": "20940", - "2001:678:320::/48": "206613", - "2a02:26f7:ce04::/48": "36183", - "2a05:6747::/48": "1759", - "2404:1d40::/44": "131216", - "2409:804c:900::/35": "9808", - "2806:2f0:2063::/48": "17072", - "2a09:2bc0::/32": "209528", - "2a0e:b107:d00::/44": "212746", - "240e:e7::/28": "4134", - "2a02:26f0:bb01::/37": "20940", - "2a09:1500::/48": "208175", - "2001:559:5c5::/48": "33668", - "2602:fda3::/46": "397942", - "2a04:b903::/32": "8587", - "2400:e501::/32": "138322", - "240a:ac2f::/32": "145769", - "2a07:4f40::/29": "8426", - "2001:c20:11::/44": "3758", - "2402:800:3ce0::/39": "7552", - "2404:7fc0:1000::/32": "18013", - "2404:c000:8003::/33": "17727", - "2408:8456:8200::/42": "17622", - "2605:a404:218::/42": "33363", - "2001:559:291::/45": "7015", - "2001:678:8a8::/48": "48686", - "2607:f640::/44": "32354", - "2401:1d80:3000::/47": "16509", - "2600:1417:d000::/48": "35819", - "2605:a401:899a::/41": "33363", - "2a03:dd40::/32": "61025", - "2001:400:a000:d::/64": "32982", - "2a02:26f7:eb48::/48": "36183", - "2a04:2340::/29": "59455", - "2401:4900:54c0::/39": "45609", - "2401:d800:7220::/41": "7552", - "2a01:5620::/29": "29396", - "2a02:26f0:106::/47": "34164", - "2a0b:abc0::/29": "205516", - "2401:d800:2eb0::/41": "7552", - "2408:8256:328c::/48": "17816", - "240a:a0cd::/32": "142855", - "240e:3bb::/35": "134773", - "2600:1f01:4850::/47": "16509", - "2607:f6f0:5002::/47": "27224", - "2a00:1728:21::/46": "34224", - "2404:e100:3006::/47": "133840", - "240a:a1e2::/32": "143132", - "2806:2a0:7::/44": "28548", - "2a0d:abc0::/29": "208861", - "2001:559:8013::/48": "7016", - "240a:ac5c::/32": "145814", - "2607:f358:a::/47": "18779", - "2a00:49c0::/32": "199213", - "2001:c20:48bb::/41": "3758", - "2001:44c8:2000::/48": "45781", - "2600:1419:9401::/36": "20940", - "2803:2500::/32": "262253", - "2a0e:13c0::/29": "44659", - "2001:559:c1a2::/48": "33659", - "2001:559:c339::/48": "7016", - "2402:800:521d::/42": "7552", - "240a:a261::/32": "143259", - "2a01:430:18::/32": "24971", - "2a02:26f7:d641::/46": "20940", - "2a00:1248::/33": "3216", - "2001:978:a701::/35": "174", - "2001:16a2:200::/36": "25019", - "2001:43f8:c40::/48": "37578", - "240a:a4ff::/32": "143929", - "2607:d500:d00::/40": "13768", - "2803:7000:e000::/36": "52362", - "2804:14d:1600::/40": "28573", - "2a0b:ae40:1::/45": "40676", - "2404:1a8::/32": "9595", - "2a0e:aa07:f004::/47": "139742", - "2001:559:c30a::/48": "33657", - "240a:a917::/32": "144977", - "240a:ade7::/32": "146209", - "240a:af5e::/32": "146584", - "2607:fae0:246::/36": "8038", - "2620:1ec:90d::/46": "8075", - "2a0d:3842:1220::/48": "57629", - "2001:67c:2c58::/48": "29551", - "2001:1980:6900::/32": "29838", - "240a:a8b9::/32": "144883", - "2620:111:d014::/48": "12025", - "2a00:8a01:8010::/44": "18666", - "2a0e:b105:7f4::/46": "20473", - "2a0f:7d00::/29": "60781", - "2001:559:5ad::/48": "7725", - "2001:559:8356::/48": "33651", - "2408:877f::/32": "134542", - "2600:6c7f:9300::/44": "19115", - "2604:ad80::/32": "17043", - "2804:3968:40::/32": "266029", - "2806:230:1025::/48": "11888", - "2a0f:85c1:23::/48": "211224", - "2401:47c0:1b00::/37": "41095", - "2401:fdc0:10::/44": "141013", - "2404:bc0:4f10::/44": "137735", - "2a0b:6c40::/29": "8540", - "2001:1a11:6d::/46": "8781", - "240a:a300::/32": "143418", - "2600:140f:2c00::/48": "9498", - "2604:4700:8000::/33": "53591", - "2605:18c0::/32": "25892", - "2806:230:602d::/48": "11888", - "240e:982:9500::/34": "4134", - "2607:8280::/47": "27027", - "2607:fe40::/32": "26794", - "2804:5524::/32": "268692", - "2a00:4700::/32": "56357", - "2a07:3c0::/29": "34049", - "2604:8480::/32": "54945", - "2001:559:7cf::/48": "7015", - "2605:c00:1400::/38": "46920", - "2a01:53a0:1001::/48": "199953", - "240a:a217::/32": "143185", - "240a:a3a0::/32": "143578", - "240a:ada4::/32": "146142", - "2602:fc66::/36": "399771", - "2800:3c0:10a0::/39": "19863", - "240e:979:9600::/30": "4134", - "2600:1408:3400::/48": "35994", - "2605:8680:fffe::/31": "25780", - "2a0e:cd40::/29": "35048", - "2001:67c:2c90::/47": "31308", - "2401:d800:fd00::/42": "7552", - "2607:f6b0::/32": "6189", - "2607:ff50::/32": "53264", - "2a01:6600::/32": "39405", - "2a09:a780::/29": "40970", - "2406:7400::/46": "24309", - "240e:438:7e40::/32": "4134", - "2607:f978:7::/48": "32475", - "2801:80:1ae0::/48": "266365", - "2409:8904:6570::/40": "24547", - "240a:aff5::/32": "146735", - "2600:1480::/46": "21342", - "2600:40ff:ff12::/40": "701", - "2001:559:19:e000::/64": "20940", - "2001:16d8:a0a1::/46": "16150", - "240e:473:3320::/41": "140486", - "2600:8808:4000::/30": "22773", - "2406:bec0::/32": "138734", - "2409:4063:5000::/29": "55836", - "2605:a40::/32": "39944", - "2a02:2e02:2670::/39": "12479", - "2402:e280:5900::/37": "134674", - "2600:1000:be0e::/40": "22394", - "2604:d600:1236::/47": "32098", - "2804:3180::/38": "265019", - "2a03:7940::/32": "197226", - "2a0a:7000::/29": "58073", - "2001:7fb:ff0a::/43": "12654", - "2001:dc0:2000::/35": "4608", - "2405:40::/32": "136744", - "2409:8904:3aa0::/39": "24547", - "240a:a1b9::/32": "143091", - "2806:370:8140::/42": "28403", - "2604:6600:fdb7::/41": "40676", - "2803:b2c0:1101::/45": "264851", - "2404:3d00:405a::/45": "3573", - "240a:aec5::/32": "146431", - "2620:124:6040::/43": "22918", - "2620:125:b00f::/48": "15092", - "2a02:26f7:b9a1::/46": "20940", - "2001:559:8046::/47": "7922", - "240e:982:a300::/36": "4134", - "2a03:2de0::/32": "35444", - "2405:b40:45::/37": "55674", - "2408:8957:f2c0::/39": "17816", - "2605:5b40::/32": "36363", - "2a0b:6200::/29": "16010", - "2a0d:6c40::/29": "40970", - "2a00:8e80::/32": "200678", - "2a01:7e0:30::/39": "44066", - "2a01:7140::/32": "41849", - "2a00:1d38::/40": "50655", - "2001:559:38a::/48": "33287", - "2001:67c:2030::/48": "33817", - "2401:ff80:1c0f::/43": "133954", - "240e:44d:100::/41": "140345", - "240e:473:950::/40": "4134", - "2800:ba0:10::/48": "263812", - "2804:28d4::/32": "263983", - "2a00:7aa0::/32": "41114", - "2a0e:fe80::/48": "47447", - "2001:1248:7092::/44": "11172", - "2620:28:c000::/48": "55219", - "2409:806a:5b00::/37": "9808", - "240a:aac6::/32": "145408", - "2600:100d:bf00::/44": "6167", - "2600:6c38:b4e::/43": "20115", - "2a02:26f7:f6c0::/48": "36183", - "2402:e380:318::/48": "141021", - "2403:300:a2a::/45": "714", - "2605:fd40::/32": "398930", - "2a0e:97c0:1110::/48": "20473", - "2001:1900:2390::/42": "3356", - "2404:be00::/32": "55799", - "2607:f810:f40::/32": "6192", - "2620:40:6000::/48": "30405", - "2804:4b44::/32": "267294", - "2804:6fb8::/36": "270679", - "2001:559:8218::/47": "7922", - "2400:cb00:171::/48": "395747", - "240a:a175::/32": "143023", - "240e:978:5100::/36": "4134", - "2804:18:7850::/39": "10429", - "2a0e:eec5::/32": "62240", - "2804:31c4::/32": "265036", - "2001:438:fffd:127::/46": "6461", - "2001:559:c3ce::/48": "20214", - "2604:5200::/48": "32504", - "2800:160:13a3::/41": "14259", - "2804:14d:148f::/41": "28573", - "2804:a44::/32": "262675", - "2804:2590::/32": "264288", - "2001:559:c38a::/48": "7015", - "2600:380:f10b::/48": "64011", - "2607:ffd8:802::/32": "33333", - "2620:11c:30a1::/41": "31764", - "2a05:b800::/29": "203550", - "2400:ffc0:13c::/47": "17439", - "2405:7c00:b000::/33": "24028", - "2a01:a300::/32": "21310", - "2405:9800:c642::/40": "45430", - "240e:438:9a20::/43": "140647", - "2600:140b:1400::/48": "31109", - "2a02:26f7:eec1::/46": "20940", - "2c0f:f560::/32": "36939", - "2001:550:6600:1::/46": "174", - "2001:559:7a1::/48": "33657", - "2001:67c:420::/48": "3303", - "2409:8061:2100::/35": "9808", - "2a0c:7e40:b397::/48": "20473", - "2001:559:c028::/47": "33491", - "2001:559:c2f0::/48": "7922", - "2409:8087:4401::/40": "24445", - "240a:a40b::/32": "143685", - "2607:f578::/32": "14263", - "2803:2180:2::/47": "27941", - "2806:10ae:3::/48": "8151", - "240e:964:1000::/37": "133775", - "2806:2f0:2060::/48": "17072", - "2a02:26f7:ddc1::/46": "20940", - "2a0e:b107:7f0::/48": "207722", - "2001:559:c144::/48": "33667", - "2403:c800::/32": "9738", - "2804:3de8:e000::/36": "266562", - "2a01:cde0:40::/48": "16028", - "2a06:6541:2002::/48": "3356", - "2001:559:3d7::/48": "33659", - "2620:1f7::/36": "18703", - "2a00:b840::/47": "31472", - "2a07:3340::/48": "5539", - "2a0b:8bc7::/32": "34420", - "2001:559:1a9::/48": "33659", - "2409:8c62:e20::/39": "9808", - "240a:a45a::/32": "143764", - "2600:1418:4::/34": "20940", - "2804:271c::/32": "263877", - "2804:62bc::/32": "269315", - "2a07:8b00::/29": "202817", - "2804:14e8::/32": "263015", - "2001:67c:2c08::/48": "31424", - "2001:978:3902::/38": "174", - "2001:4268:700::/35": "15964", - "2400:6280:111::/48": "132280", - "2401:4d44::/30": "131925", - "2401:d800:77e0::/36": "7552", - "2402:2980::/32": "134224", - "2804:2cd4:d0::/32": "265246", - "2806:20d:505a::/40": "32098", - "2001:1248:9989::/42": "11172", - "2408:8459:6010::/42": "17623", - "2a02:26f7:cdc5::/46": "20940", - "2a0a:d880:102::/48": "16509", - "2400:cb00:4::/48": "13335", - "2a0c:7340::/32": "204886", - "2001:559:8088::/48": "33657", - "240a:a714::/32": "144462", - "2607:f4a0:501::/33": "11272", - "2804:4160::/32": "267429", - "2a10:9902:73f::/48": "211972", - "2402:800:339b::/41": "7552", - "2409:8904:2540::/38": "24547", - "240a:a2ee::/32": "143400", - "2600:1a0e:1000::/48": "10307", - "2620:138:8000::/47": "62766", - "2a00:8440::/32": "198508", - "2a07:6f44::/40": "39083", - "2001:559:81ab::/48": "33659", - "2001:1248:56f6::/44": "11172", - "2407:4840::/32": "133301", - "2a02:26f7:b600::/47": "36183", - "2a03:5840:1::/40": "35661", - "2a0a:9e00::/44": "61317", - "2409:8a14:4a00::/34": "56044", - "2600:140f:f801::/38": "20940", - "2604:8d00::/32": "3700", - "2606:5440::/32": "1239", - "2a02:26f7:df88::/48": "36183", - "2a05:5e40:f00f::/48": "49681", - "2001:c20:402::/38": "3758", - "2605:a40a:d000::/34": "33363", - "2a04:de80::/29": "201952", - "2400:7400::/44": "38044", - "2a02:7320::/32": "31222", - "2409:800b:2b06::/32": "9808", - "2602:feda:ab7::/48": "141011", - "2a0f:3106::/32": "49392", - "2408:84f3:aa10::/42": "134543", - "2607:fb10:7144::/43": "2906", - "2804:5fd8::/32": "269127", - "2409:800b:2b04::/47": "9808", - "2620:12f:90ff::/48": "6200", - "2a02:580::/30": "6799", - "2a02:26f7:ef80::/48": "36183", - "2a02:2ad0:117::/44": "702", - "2001:4878:259::/48": "12222", - "2402:800:558d::/43": "7552", - "2a00:4120::/32": "20804", - "240a:a0b7::/32": "142833", - "2408:84f3:ae40::/35": "17816", - "2804:1900::/32": "61768", - "2806:230:401c::/48": "265594", - "2a01:9700:1740::/47": "8376", - "2a06:6541:2003::/48": "397568", - "2a07:a980::/32": "1764", - "240e:878:a0::/39": "4134", - "2001:44b8:405d::/48": "4739", - "2408:8459:8050::/38": "17816", - "240a:ad3d::/32": "146039", - "2602:ffc5:10c::/48": "40676", - "2604:d600:1910::/38": "32098", - "2a00:11c0:3d::/48": "42354", - "2a02:7dc0::/32": "559", - "2001:468:f00::/35": "11537", - "2620:124:b002::/48": "394731", - "2804:e94:d6::/44": "262468", - "2600:c14::/32": "13790", - "2600:1403:5401::/36": "20940", - "2604:d600:1625::/44": "32098", - "2a00:bce0::/32": "59913", - "2400:6800::/32": "10105", - "2401:d800:2920::/41": "7552", - "2408:8347::/35": "140726", - "2804:5610::/32": "267974", - "2a02:26f7:d7::/48": "20940", - "2001:559:c183::/48": "7015", - "2001:678:1::/48": "25192", - "2001:1248:884b::/42": "11172", - "240e:d:a000::/37": "136193", - "2600:140f:3200::/48": "55644", - "2a02:26f7:2a::/48": "36183", - "2a10:68c0::/29": "30633", - "2409:8907:8020::/39": "24547", - "240e:473:9c00::/41": "140485", - "2607:b600:11::/48": "25645", - "2620:149:21c::/42": "714", - "2600:d400::/31": "1403", - "2606:6200:1c01::/32": "21570", - "2803:c2c0::/32": "264836", - "2a07:c5c0::/29": "202526", - "2a0b:d580::/29": "206350", - "2001:559:82b0::/48": "33287", - "2404:e800:4::/39": "55430", - "2600:370f:7367::/44": "32261", - "2001:3a0:f007::/48": "131079", - "240e:103:8b10::/44": "4134", - "2600:141b:1800::/48": "35994", - "2602:fec5:1::/48": "62952", - "2001:559:84c6::/48": "20214", - "2403:6c0:7367::/48": "137367", - "2806:230:1010::/48": "265594", - "2a01:c50e:ca00::/37": "12479", - "2a02:8c8::/32": "20860", - "2001:df6:f600::/48": "131772", - "240e:e4::/31": "4134", - "2620:107:7004::/48": "53997", - "2a00:42a0::/32": "25108", - "2a0f:9400:8021::/48": "212995", - "2600:6000:fb34::/48": "11351", - "2605:3a00:7::/48": "22768", - "2804:2d60::/32": "265278", - "2804:54e0::/32": "268675", - "2a0b:8780::/48": "16509", - "2001:dd8:8::/45": "4608", - "240a:a732::/32": "144492", - "2605:8680::/48": "25780", - "2c0e:0:502::/25": "24863", - "2001:559:c392::/47": "33659", - "240e:6b9::/36": "140312", - "2804:4a98:f000::/36": "267251", - "240e:d:800::/37": "58563", - "2620:84:2000::/48": "20344", - "2620:119:fc::/48": "36692", - "2804:3d5c::/32": "266526", - "2a02:50c0:e0::/32": "29355", - "2001:4478:5a00::/32": "4802", - "2406:e500::/47": "58593", - "240a:a47a::/32": "143796", - "2600:40f0:b::/45": "701", - "2800:110:1019::/45": "4270", - "2a03:ff80::/29": "197075", - "2404:e480::/32": "18127", - "2a01:9dc0:beef::/48": "30361", - "2a02:26f7:f585::/46": "20940", - "2a04:e2c0::/29": "207050", - "240a:a764::/32": "144542", - "2a02:26f7:bcc0::/48": "36183", - "2001:559:809a::/48": "33287", - "2001:42d0:bee0::/44": "33764", - "2001:4490:4048::/46": "9829", - "2804:7f98::/32": "271697", - "2a00:c8c0::/47": "44964", - "2001:559:84a7::/48": "21508", - "2402:ef0f::/32": "9430", - "2405:1c0:6a43::/43": "55303", - "2620:108:1000::/40": "394009", - "2a0a:5c0::/29": "206298", - "2a0d:d400::/29": "12748", - "2a0e:afc0::/29": "207902", - "2a01:6b20:8000::/34": "39218", - "2a02:26f7:24::/48": "36183", - "2a02:26f7:dc05::/46": "20940", - "2a0e:d800::/46": "209110", - "2001:559:47e::/48": "7725", - "240a:a6d8::/32": "144402", - "2800:160:5::/37": "14259", - "2804:214:9::/43": "26615", - "2a0e:8f02:f003::/48": "213033", - "2001:559:801b::/48": "7922", - "240e:5a:4480::/39": "140296", - "2a0c:b641:a0::/44": "212299", - "2001:4998:1a0::/44": "10310", - "2404:b300:133::/48": "131207", - "2806:2f0:3184::/42": "17072", - "2a0d:7380::/29": "202918", - "2409:8d14:2400::/38": "56044", - "2803:bd80::/32": "28007", - "2804:5078::/32": "268391", - "2a02:bf8:1602::/32": "1239", - "2a02:2370:1::/45": "32787", - "2400:df40::/32": "18042", - "2804:8164::/32": "272451", - "2a02:26f7:cdc0::/48": "36183", - "2001:1ad0:c4ff::/34": "24953", - "2404:2280:124::/47": "24429", - "240a:a15e::/32": "143000", - "2620:0:190::/48": "33084", - "2a02:5260::/29": "59775", - "2804:7ce0::/32": "271524", - "2001:67c:790::/48": "207042", - "2407:8f00::/32": "45677", - "240e:473:3120::/41": "140486", - "240e:473:6520::/41": "140486", - "2600:1007:b0b0::/41": "22394", - "2605:ed00:4c4::/33": "11427", - "2804:5550::/39": "263067", - "2408:80f1:110::/42": "138421", - "2800:370:4::/48": "26613", - "2803:5180::/32": "263762", - "2806:230:5007::/48": "11888", - "2001:559:8464::/48": "7015", - "2607:fce0::/32": "7151", - "2800:440:9800::/42": "27738", - "2a0c:2ac0:3700::/48": "138456", - "2a0f:600:600::/47": "51044", - "2603:c0f8:1020::/38": "20054", - "2605:5880:2::/48": "26167", - "2a03:6900::/32": "48847", - "2401:8e00::/36": "9260", - "240a:a3b4::/32": "143598", - "240e:473:7150::/40": "4134", - "2620:19b::/32": "19648", - "2800:320:8401::/48": "27882", - "2804:386c::/32": "266476", - "2a0c:500::/30": "205103", - "2001:4c8:1009::/45": "15290", - "2001:559:587::/48": "7015", - "2402:7d80:242::/33": "63582", - "2403:1b80::/48": "59083", - "2800:200:b3f0::/37": "12252", - "2a02:7a8::/32": "47917", - "2a02:26f7:facc::/48": "36183", - "2001:67c:2b2c::/48": "212129", - "240a:a8d1::/32": "144907", - "2804:2bf0:8100::/33": "262740", - "2a00:90c0:301::/29": "197745", - "240e:f7:2000::/36": "134771", - "240e:982:b400::/33": "4134", - "2a02:cbf7:101::/32": "61157", - "2a0e:2c40:20::/29": "50581", - "2001:579:192c::/37": "22773", - "2001:67c:2b94::/48": "62463", - "2405:6c0::/48": "4515", - "2600:370f:73ab::/45": "32261", - "2801:0:370::/48": "262245", - "2620:104:4008::/48": "15248", - "2001:559:87c8::/48": "7922", - "2001:559:c2e0::/48": "7016", - "2001:df0:b600::/48": "135054", - "2604:d600:c2d::/43": "32098", - "2605:fb80:f000::/48": "201106", - "2606:2800:6070::/46": "15133", - "2620:0:28a4::/48": "33522", - "2a05:4140:187::/48": "211358", - "2001:978:2:c1::b:0/112": "35277", - "2001:49f0:d099::/46": "174", - "2602:fed2:712d::/48": "53356", - "2a10:1bc0::/29": "28972", - "2001:67c:1874::/48": "39249", - "2405:84c0:99f0::/44": "9886", - "2a02:8400::/25": "15557", - "2a0a:6800::/29": "207202", - "2001:67c:14a0::/48": "199665", - "2408:8459:dc10::/42": "17623", - "2602:fec0::/44": "396320", - "2a0e:b105:5c0::/46": "20473", - "2a0e:b105:6b8::/46": "20473", - "2c0f:ece8::/32": "328386", - "2a02:2e02:9720::/36": "12479", - "2001:559:80a9::/48": "33651", - "2001:579:e298::/39": "22773", - "2400:9800:16::/44": "24203", - "2408:8656:3100::/38": "17816", - "240a:a5a0::/32": "144090", - "240a:a9b0::/32": "145130", - "2803:480:6::/32": "52458", - "2001:950::/32": "47381", - "2001:df7:2b00::/48": "58965", - "2001:5000:805::/38": "1273", - "2604:6600:2800::/32": "40676", - "2607:1e00:1003::/32": "22489", - "2804:2b58::/32": "265148", - "2001:559:175::/48": "7922", - "2600:1007:b1d0::/44": "6167", - "2800:160:1051::/46": "14259", - "2a02:26f7:b995::/46": "20940", - "2a0c:4fc0::/29": "203835", - "2a0d:3842:1050::/48": "57629", - "2610:b0:c200::/34": "3573", - "2620:101:80f2::/48": "395642", - "2804:23e4:400::/32": "264191", - "2804:6744::/32": "269617", - "2a03:5a00:17::/48": "61335", - "2408:8256:3360::/43": "17623", - "240e:940:8e00::/40": "136197", - "2806:20d:1114::/40": "32098", - "2a0c:9a40:80a0::/46": "51861", - "2001:67c:2734::/48": "198531", - "2600:1015:f110::/30": "6167", - "2804:18:5028::/45": "26599", - "2a03:5260::/32": "48576", - "2001:559:7cc::/48": "7922", - "2001:df6:4e80::/48": "141892", - "2408:840d:8f00::/42": "17621", - "240a:a17d::/32": "143031", - "2620:a1:c000::/48": "35960", - "2804:a38::/32": "263035", - "2804:79f0::/32": "271337", - "2001:df2:e700::/48": "136397", - "2402:800:9771::/44": "7552", - "2604:3a00::/32": "33069", - "2606:2800:4af0::/47": "15133", - "2804:1058::/32": "262988", - "2404:7240::/34": "59074", - "2409:895c::/26": "9808", - "2804:3930::/32": "266017", - "2804:62e4::/32": "269326", - "2001:438:2f::/48": "17025", - "2801:120::/32": "27790", - "2a02:7de0::/32": "8621", - "2001:559:80ea::/45": "33287", - "2402:800:be40::/42": "7552", - "2620:129:6000::/48": "395363", - "2804:49a8::/32": "267195", - "2a02:788:1::19/29": "12843", - "2001:559:834e::/48": "21508", - "240a:aa59::/32": "145299", - "2620:8::/41": "6327", - "2803:9ca0::/32": "266842", - "2a02:68::/29": "21396", - "2a05:b0c4:1::/48": "198412", - "2001:559:2c7::/44": "33287", - "2001:559:51c::/48": "33657", - "240a:aabc::/32": "145398", - "2600:6000:f004::/40": "12271", - "2606:be00::/40": "13768", - "2803:7200:4::/46": "27696", - "2804:731c::/32": "270896", - "2001:418:1401:2e::/63": "20940", - "2001:550:e06::/39": "174", - "2402:3a80:1436::/41": "38266", - "2408:8656:32fe::/47": "17623", - "2409:8904:d1b0::/38": "24547", - "240a:a20c::/32": "143174", - "2804:3668::/32": "266346", - "2804:5534:f000::/37": "268696", - "2806:230:4004::/48": "265594", - "2a07:14c0:6000::/36": "208861", - "2401:d800:9470::/40": "7552", - "2607:f4e8:ad::/39": "22822", - "2804:2124::/32": "264538", - "2804:4014::/32": "265933", - "2607:f3f8:2000::/32": "19019", - "2804:3138:d001::/43": "265000", - "2a0b:4342:1a2a::/45": "57578", - "2a0f:d40::/29": "60262", - "2001:550:2800:101::/48": "174", - "2001:559:c1fd::/48": "33652", - "2804:7028::/32": "270709", - "2a01:278::/32": "41913", - "2a01:49a0::/32": "62199", - "2a04:dc00::/29": "56990", - "2a07:22c1:4::/48": "212845", - "2a10:80c0:2000::/29": "211331", - "2001:678:e30::/48": "48108", - "2401:4900:2580::/38": "45609", - "2406:2400:7777::/48": "45287", - "2408:80ea:7a80::/44": "17623", - "2600:1f13::/36": "16509", - "2607:f708::/32": "18558", - "2407:c280:b100::/45": "211876", - "2804:18e8::/32": "61762", - "2a02:26f7:f58d::/42": "20940", - "2a06:a403::/29": "203596", - "2001:4c00:893c::/29": "34695", - "2405:9800::/45": "45430", - "2408:8256:3d7b::/48": "17816", - "2a02:239c::/48": "9166", - "2400:cb00:34::/47": "13335", - "2804:7cc0::/32": "271516", - "2806:230:300d::/48": "11888", - "2a02:26f7:f700::/48": "36183", - "2001:3c8:2808::/48": "141714", - "2401:8340::/32": "136168", - "240e:107:c200::/34": "4134", - "2602:fd21:800::/37": "398488", - "2a01:8840:a1::/48": "207266", - "2a03:90c0:460::/40": "199524", - "2001:43e8::/32": "37105", - "2001:559:c2ee::/48": "33287", - "240a:af3d::/32": "146551", - "2a02:26f0:c001::/40": "20940", - "2a06:8804:1::/30": "12517", - "2001:56b:5::/44": "852", - "2a00:7840::/32": "197403", - "2604:2e88::/38": "30036", - "2600:6c38:16b::/45": "20115", - "2605:9cc0:378::/48": "16509", - "2606:2800:400d::/48": "14153", - "2a06:7ec0::/29": "201011", - "2a0c:2800::/32": "205316", - "2a0c:b641:7f0::/46": "213310", - "2603:c0e0:2110::/40": "54253", - "2001:648:2800::/48": "5470", - "2604:17c0::/40": "9009", - "2001:2f0::/32": "7514", - "2001:559:80d1::/48": "13367", - "2001:559:833e::/48": "21508", - "2408:840c:400::/40": "17621", - "240a:a223::/32": "143197", - "2c0f:f200::/32": "328015", - "2409:8a53:900::/38": "56047", - "2804:6180::/32": "269238", - "2806:2a0:200::/39": "28548", - "2806:2f0:7061::/40": "17072", - "2401:d800:fbc0::/42": "7552", - "2403:2500:400::/48": "36236", - "2a0a:f4c0::/29": "205848", - "2a0c:7e45:1f8e::/48": "20473", - "2001:1388:1c::/42": "6147", - "2402:1d40::/45": "58826", - "240a:aaf4::/32": "145454", - "2c0f:f190::/32": "328231", - "2804:dd0:101::/40": "28639", - "2001:fd8:f200::/42": "132199", - "240a:a39f::/32": "143577", - "240a:a880::/32": "144826", - "240a:aac4::/32": "145406", - "2600:1005:d170::/34": "22394", - "2602:809:2000::/44": "398312", - "2804:19c::/32": "262755", - "2804:3e18::/32": "266573", - "2001:df1:a800::/48": "133210", - "2001:df6:fd80::/48": "137531", - "2404:f4c0:f408::/48": "209218", - "2a06:c100::/29": "208920", - "2a0e:b107:df2::/48": "20473", - "2a0b:21c0:f000::/31": "21859", - "2c0f:fac0::/32": "37294", - "2401:c240::/33": "132847", - "240a:a800::/32": "144698", - "2a0e:8f02:f00f::/48": "212358", - "2a0f:3105::/32": "199669", - "2604:d600:c22::/44": "32098", - "2804:3da8::/32": "266545", - "2400:cb00:a140::/45": "13335", - "2403:1640::/32": "134564", - "2600:9000:f530::/47": "16509", - "2607:fcd0:fa80:3100::/54": "8100", - "2804:5d50::/32": "268964", - "2a03:9e42::/32": "31399", - "2a06:9087:ffff::/48": "203271", - "2402:ae80::/32": "38800", - "2804:354c::/32": "53018", - "2a06:62c0::/41": "204138", - "2c0f:ec48::/32": "327991", - "2001:4d80:7358::/32": "5606", - "2620:cc:c000::/48": "394298", - "2804:13b0::/44": "263546", - "2804:4bcc::/32": "267330", - "2804:76ec::/32": "271143", - "2a00:1eb8:c000::/48": "198651", - "2401:d800:59a0::/41": "7552", - "240a:a375::/32": "143535", - "2620:10a:80bb::/45": "40568", - "2620:137:1000::/40": "398535", - "240a:ad2a::/32": "146020", - "2600:140b:2c00::/48": "31109", - "2804:3838:6::/42": "53170", - "2001:67c:150c::/48": "199302", - "2402:4e00:d020::/34": "45090", - "2804:7a00::/32": "271341", - "2a00:4802:2810::/38": "13124", - "2a02:26f7:ed80::/48": "36183", - "2a0d:f280::/29": "59953", - "2a04:d00::/29": "204326", - "2001:67c:15a0::/48": "29208", - "2402:800:99d3::/44": "7552", - "240a:acf0::/32": "145962", - "2602:ff3c::/36": "395111", - "2607:f740:e060::/43": "398748", - "2608:121:d::/32": "721", - "2806:230:2029::/48": "11888", - "2001:559:461::/48": "7015", - "2001:df1:4600::/48": "4826", - "2600:140f:4801::/39": "20940", - "2607:fcd0:fa80:8901::/61": "8100", - "2610:b0:2070::/33": "3573", - "2620:c::/44": "7324", - "2a01:47e0::/32": "49223", - "2001:1af8:4411::/32": "60781", - "2402:800:3855::/42": "7552", - "2600:140b:401::/36": "20940", - "2605:6340::/32": "40033", - "2607:fcd0:100:e207::/45": "8100", - "2804:4eb0::/32": "268278", - "2a0e:c180::/29": "60262", - "2804:73ec::/33": "270946", - "2a02:26f7:d440::/48": "36183", - "2408:8456:1e40::/40": "17816", - "240a:ae88::/32": "146370", - "2602:ff2e::/36": "21694", - "2605:3600:fffc::/46": "30452", - "2620:101:f000::/47": "12093", - "2800:e00::/34": "27665", - "2402:3a80:1c3c::/41": "38266", - "2606:8900:b::/32": "33044", - "2803:8d80:5002::/32": "11664", - "2a06:8ec0:3::/48": "7489", - "2404:bd40:10::/48": "138005", - "2409:8904:d490::/39": "24547", - "240a:af98::/32": "146642", - "2001:559:86c2::/48": "7015", - "2403:df40:118::/32": "14630", - "240a:a626::/32": "144224", - "2804:1040:b0c1::/42": "263626", - "2806:105e:1f::/42": "8151", - "2607:f110:e470::/39": "21889", - "2001:559:83::/48": "33652", - "2001:559:498::/48": "7922", - "2001:559:c1f6::/48": "7016", - "2600:140b:b400::/48": "24319", - "2603:c001:3610::/36": "31898", - "2604:6600:2011::/37": "40676", - "2604:f400:51::/48": "29930", - "2804:1ac4:5::/44": "61884", - "2803:70a0::/32": "27855", - "2a02:26f7:cd09::/42": "20940", - "2806:230:4046::/36": "11888", - "2001:df0:455::/48": "45853", - "2001:1970::/32": "7992", - "2409:8000:1100::/37": "9808", - "240a:a648::/32": "144258", - "240a:a962::/32": "145052", - "2800:5f0:3028::/32": "22724", - "2804:77c:e100::/35": "53222", - "2401:7400:4001::/43": "4773", - "2600:9000:20a1::/44": "16509", - "2804:54c0::/32": "268668", - "2a07:7cc0::/29": "61232", - "2001:67c:2268::/48": "56740", - "2600:80a:441::/36": "701", - "2800:484:7700::/36": "14080", - "2804:6538::/32": "269476", - "2a03:2887:ff00::/48": "9498", - "2a03:5a00:e::/48": "51028", - "2a0a:e440::/48": "42240", - "2603:4:1304::/48": "44273", - "2806:2f0:9501::/41": "17072", - "2a01:c50e:5600::/36": "12479", - "2a07:6886::/32": "204860", - "240a:a6e8::/32": "144418", - "2a01:758:fffd::/46": "3326", - "2a06:56c0:11::/46": "51776", - "2001:67c:2c8::/48": "47829", - "2001:4878:b151::/48": "12222", - "2408:8256:398::/37": "17622", - "240a:a427::/32": "143713", - "240a:ab38::/32": "145522", - "2a0c:8000::/29": "62275", - "2405:7000::/38": "9354", - "2405:e480::/46": "9507", - "240e:106:c000::/34": "4812", - "2a04:2e40::/29": "51859", - "240a:a401::/32": "143675", - "2a00:13e0::/32": "44764", - "2a00:5bc0::/32": "49158", - "2a06:28c0::/29": "197798", - "2001:579:7164::/43": "22773", - "2001:4490:3fbc::/46": "9829", - "2405:6040::/32": "134021", - "2600:1f70:6000::/40": "16509", - "2600:8807:8a00::/35": "22773", - "2806:264:5501::/48": "13999", - "240a:aa57::/32": "145297", - "2806:370:9120::/43": "28403", - "2a02:26f7:10::/48": "36183", - "2402:800:3701::/44": "7552", - "2620:12c:c000::/46": "395837", - "2804:ef8::/32": "262302", - "2804:5824::/32": "268109", - "2a00:9800::/32": "25227", - "2800:370:bc::/39": "28006", - "2a03:b200::/31": "20860", - "2a06:1e00:14::/48": "60695", - "2001:4408:8510::/38": "4758", - "2a0e:97c1:fdc::/48": "20473", - "2001:559:870d::/48": "7922", - "2401:1fc0::/32": "59155", - "2404:a640:114::/42": "133827", - "240a:a7dc::/32": "144662", - "2803:db00::/36": "262234", - "2a07:d9c0::/30": "27176", - "2001:559:804c::/48": "21508", - "2001:579:134::/36": "22773", - "2620:56:c000::/47": "393279", - "2a02:26f7:f841::/46": "20940", - "2804:3714::/32": "266388", - "2a00:ab00:6000::/36": "61976", - "2a01:8840:99::/48": "207266", - "2405:b40:707::/32": "55674", - "2a0e:5040::/29": "58280", - "2001:559:c3fe::/48": "33659", - "2001:678:690::/48": "49677", - "2001:16a2:6400::/36": "25019", - "2405:7e40::/32": "137515", - "2407:4e00:1:3::/32": "17995", - "240e:44d:500::/41": "140345", - "2605:dd40:8f00::/44": "16509", - "2001:df6:e300::/48": "138225", - "2404:63c0:30::/44": "131645", - "2607:fa88::/32": "6582", - "2001:418:3fe::/48": "3727", - "2001:559:81ac::/48": "7725", - "2406:4a00:1600::/40": "56038", - "2409:4003:1000::/34": "55836", - "2804:1ce4::/34": "61681", - "2a04:e802:19::/45": "57976", - "2a07:3500:1bc0::/48": "1136", - "2001:ee0:8d40::/35": "45899", - "2406:840:d001::/48": "38136", - "2804:1310::/32": "263513", - "2804:7598::/32": "271057", - "2a02:2230:2300::/33": "25467", - "2a02:26f7:a8::/48": "36183", - "2a03:9d40:4000::/40": "41095", - "2a09:4c2:34::/48": "213372", - "2001:df0:5e00::/48": "135046", - "2001:44b8:406d::/48": "4739", - "2401:d800:2890::/42": "7552", - "2804:36a0:2200::/32": "266360", - "2a06:e040:6a00::/35": "198507", - "2a09:f00:a::/47": "1836", - "2001:44b8:28::/48": "7545", - "2600:2100::/32": "54858", - "2607:f180:7100::/40": "45652", - "2a00:e480:1::/48": "12859", - "2a02:2e02:2310::/41": "12479", - "2001:dc7:8889::/35": "24151", - "2401:5dc0::/32": "1828", - "2600:1f70:4000::/40": "16509", - "2803:7da0:51::/48": "64114", - "2a01:280:330::/48": "29518", - "2804:5190::/32": "268462", - "2001:4408:6700::/44": "55824", - "2401:d180:10::/47": "133865", - "2402:9880:100::/37": "58744", - "2402:dfc0:40::/44": "137805", - "2407:b0c0::/32": "131988", - "240a:a18b::/32": "143045", - "240e:108:11a1::/46": "4812", - "2a02:26f0:5400::/48": "34164", - "2a10:cf00::/29": "12651", - "2001:1660::/32": "25417", - "2001:4b21:0:1::/32": "34288", - "2407:2580::/33": "44592", - "2620:13e:1000::/44": "11917", - "2408:8957:ae00::/40": "17622", - "2409:8087:3010::/42": "9808", - "2a05:a880:dc20::/48": "36351", - "2a10:8f00::/29": "39018", - "2001:1248:5b07::/42": "11172", - "2401:803e:1000::/34": "9919", - "2a03:4bc0:1015::/48": "202687", - "2001:559:54::/46": "7922", - "240a:ab02::/32": "145468", - "2a02:26f7:cec1::/46": "20940", - "2001:1a50::/32": "25560", - "2600:1004:d100::/42": "6167", - "2607:6980:e030::/44": "136620", - "2806:2f0:20c0::/48": "17072", - "2001:4870:e00b::/48": "21928", - "2804:2be0:7200::/32": "262503", - "2a0c:ca40::/29": "42598", - "2600:1419:7c01::/38": "20940", - "2620:38:c000::/48": "25656", - "2804:2558::/48": "264275", - "2001:678:b44::/48": "25526", - "2408:8260::/32": "4837", - "240a:a61d::/32": "144215", - "2803:6ce0:1cb0::/41": "269909", - "2a0c:b641:260::/46": "59598", - "2c0f:f4b8::/32": "327889", - "2600:380:a180::/38": "20057", - "2602:fddd::/36": "26801", - "2804:90c:facf::/37": "262617", - "2a01:b700::/32": "45011", - "2a0b:4200:2001::/48": "198433", - "2001:1248:a00c::/46": "11172", - "2001:559:c160::/48": "33660", - "2001:678:c14::/48": "5588", - "2403:4a00::/32": "9304", - "2803:4e40::/32": "264608", - "2a02:e840:1001::/48": "5543", - "2a10:44c0::/29": "210054", - "2402:fa00::/33": "55359", - "2607:fb90:cf00::/35": "21928", - "2a0d:5642:107::/48": "35487", - "2001:559:c330::/48": "7015", - "2401:4900:1280::/41": "45609", - "2401:4900:4020::/44": "45609", - "2a00:9d80::/32": "28876", - "2001:559:62::/48": "7725", - "2405:9800:ba81::/39": "45430", - "240a:a70f::/32": "144457", - "2603:90f5:1::/48": "20001", - "2620:53:a000::/48": "396431", - "2a0c:9a40:8a00::/48": "213234", - "2a0e:a440::/29": "208429", - "2001:559:87c0::/48": "7015", - "2001:559:c309::/48": "7922", - "2001:4200::/41": "2018", - "2606:1980:4::/44": "54994", - "2a02:7f0::/32": "42739", - "2001:579:c0dc::/46": "22773", - "2607:f220:204::/44": "19050", - "2801:166::/48": "19429", - "2803:dac0::/44": "265634", +var ipv6CidrToAsnPairList = [...]struct{ cidr, asn string }{ + {"2600:1407:3001::/37", "20940"}, + {"2400:a980:5900::/37", "133111"}, + {"2409:8710::/34", "9808"}, + {"240e:7c0::/20", "4134"}, + {"2402:800:3701::/44", "7552"}, + {"2406:daa0:10c0::/44", "16509"}, + {"2001:559:8511::/48", "7015"}, + {"2a02:26f7:33::/48", "20940"}, + {"2a03:3680::/32", "33824"}, + {"2400:dc00:4100::/46", "131111"}, + {"2409:8052:2802::/38", "56047"}, + {"2a02:26f7:db85::/46", "20940"}, + {"240a:aab8::/32", "145394"}, + {"2605:bc80::/32", "3701"}, + {"2607:7c80:56::/48", "64260"}, + {"2800:160:1378::/45", "14259"}, + {"2804:204:212::/45", "28186"}, + {"2a02:29b8::/32", "51852"}, + {"2a06:e044:10::/48", "198507"}, + {"2001:dce:8400::/48", "45285"}, + {"240e:db:8801::/35", "4134"}, + {"2800:160:1818::/42", "14259"}, + {"2806:230:602c::/48", "265594"}, + {"2a01:280:318::/48", "206320"}, + {"2a01:5200::/32", "48304"}, + {"2a03:7380:5400::/40", "13188"}, + {"2401:2280::/32", "56294"}, + {"2401:c240:4100::/35", "132847"}, + {"2406:f280:8000::/33", "31972"}, + {"2600:1488:6191::/38", "20940"}, + {"2806:2f0:31c1::/46", "17072"}, + {"2a01:b960:230d::/48", "208136"}, + {"2001:559:828e::/48", "33491"}, + {"2001:559:c1e8::/48", "7015"}, + {"2001:678:e20::/48", "210882"}, + {"2409:8087:5c0d::/40", "9808"}, + {"240a:a1fe::/32", "143160"}, + {"240a:ab19::/32", "145491"}, + {"2607:fd78:702::/36", "26677"}, + {"2804:5640:1100::/32", "267986"}, + {"2a02:26f7:b740::/48", "36183"}, + {"2a0a:ec02:a01::/48", "42692"}, + {"2001:579:c1c::/42", "22773"}, + {"240a:a4b3::/32", "143853"}, + {"2803:96e0::/32", "269964"}, + {"2804:73c0::/32", "270935"}, + {"2001:14d8::/32", "12371"}, + {"2001:67c:830::/48", "57964"}, + {"2800:160:2a4a::/39", "14259"}, + {"2804:58e8::/32", "268157"}, + {"2a02:26f7:c1c0::/48", "36183"}, + {"2a02:f1c0::/29", "6846"}, + {"2a0f:1840::/29", "60262"}, + {"2001:67c:2b34::/48", "8220"}, + {"240e:438:3220::/43", "140647"}, + {"2602:feb4:10::/42", "25961"}, + {"2606:26c0::/32", "63033"}, + {"2804:14c:da00::/40", "28573"}, + {"2804:2538::/39", "28183"}, + {"2a03:f85:2::/48", "60781"}, + {"2a0f:e80::/29", "42926"}, + {"2402:800:3d63::/43", "7552"}, + {"2600:1000:9e00::/44", "6167"}, + {"2a0a:4680::/29", "206737"}, + {"240a:a95a::/32", "145044"}, + {"2610:b0:401a::/45", "21433"}, + {"2620:1ec:1d::/48", "8068"}, + {"2804:8674::/32", "272644"}, + {"2a02:26f7:c240::/48", "36183"}, + {"2a06:e881:8400::/44", "149422"}, + {"2a0b:7e40::/32", "206894"}, + {"2602:feda:f0d0::/42", "396303"}, + {"2620:92::/44", "1970"}, + {"2a02:26f7:c68c::/48", "36183"}, + {"2a0d:5ec0::/29", "208861"}, + {"2607:f978:5::/48", "32475"}, + {"2620:0:28a0::/46", "33522"}, + {"2620:119:5071::/46", "13443"}, + {"2804:4618::/34", "266968"}, + {"2a04:4e40:2000::/48", "54113"}, + {"2001:ac8:51::/46", "9009"}, + {"2402:800:530f::/43", "7552"}, + {"2806:230:102a::/48", "265594"}, + {"2a02:2058::/32", "44512"}, + {"2a09:fd40::/48", "16376"}, + {"2a0f:1ac0::/29", "60262"}, + {"2a0f:f140::/29", "41776"}, + {"2602:10d:8000::/36", "33588"}, + {"2606:5000:2200::/36", "209"}, + {"2804:14c:b300::/40", "28573"}, + {"2a03:5d40::/32", "20926"}, + {"2401:4900:1f24::/43", "24560"}, + {"240e:37a:ac00::/33", "4134"}, + {"2804:7d5c::/32", "271556"}, + {"2a04:4e40:3000::/48", "54113"}, + {"2a0d:d000::/29", "204790"}, + {"2001:dce:5100::/48", "38064"}, + {"2001:4de8::/32", "29208"}, + {"2400:cb00:308::/48", "13335"}, + {"2401:7400:801:d::/35", "4773"}, + {"240e:438:420::/43", "140647"}, + {"2a01:ce83:1000::/34", "51964"}, + {"2a02:1398::/32", "16350"}, + {"2a0b:7380::/29", "31617"}, + {"2001:1900:23ad::/46", "202818"}, + {"2804:42b4::/32", "267520"}, + {"2a02:26f7:dd88::/48", "36183"}, + {"2404:bf40:e002::/48", "139084"}, + {"240a:aa43::/32", "145277"}, + {"2804:59c8::/32", "268725"}, + {"2001:4b20:100:668::/48", "34288"}, + {"2405:5940:b000::/33", "17473"}, + {"2607:fc48:428::/48", "40009"}, + {"2804:f84::/32", "263589"}, + {"2804:2cd4::/42", "265246"}, + {"2a00:65e0::/32", "198947"}, + {"2a01:d0::/42", "29632"}, + {"2406:6040::/32", "138257"}, + {"2a00:ad00::/34", "41897"}, + {"2001:e48::/42", "9583"}, + {"2405:7f00:91a0::/38", "133414"}, + {"2408:840c:8f00::/40", "17621"}, + {"2803:9800:9507::/36", "11664"}, + {"2804:5740::/32", "268054"}, + {"2a00:ab20::/29", "60530"}, + {"2001:fb0:109f:800a::/61", "7470"}, + {"2001:1980:4445::/35", "29838"}, + {"2001:4288:8009::/33", "6713"}, + {"2403:45c0::/32", "137989"}, + {"2408:8256:2d8b::/48", "17623"}, + {"2409:871a::/29", "132525"}, + {"2409:8979::/30", "9808"}, + {"240a:a94b::/32", "145029"}, + {"2804:14c:dc00::/40", "28573"}, + {"2804:2664::/32", "52721"}, + {"2804:71f8::/32", "270823"}, + {"2a03:ecc0::/32", "199277"}, + {"2a0f:c080::/32", "44582"}, + {"2001:67c:21e8::/48", "51944"}, + {"2001:df5:7980::/48", "132513"}, + {"2401:d800:5330::/41", "7552"}, + {"2403:2e40:10::/48", "137959"}, + {"2800:b20:2000::/30", "14754"}, + {"2620:10a:80e7::/48", "394354"}, + {"2620:11e:f001::/44", "27644"}, + {"2804:6ff4::/32", "270697"}, + {"2804:7f08::/43", "271662"}, + {"2a02:26f7:d1cc::/48", "36183"}, + {"2a02:26f7:fac9::/46", "20940"}, + {"240a:a308::/32", "143426"}, + {"2804:788c::/32", "271250"}, + {"2001:4888:801c::/47", "22394"}, + {"240a:af1f::/32", "146521"}, + {"2600:1408:2c01::/35", "20940"}, + {"2620:3c:c040::/48", "395063"}, + {"2803:5c80:6507::/48", "64114"}, + {"2a04:4e40:c200::/48", "54113"}, + {"2a07:a40:d::/29", "48821"}, + {"2001:678:41c::/48", "42563"}, + {"2001:4878:a048::/48", "12222"}, + {"2407:2e00::/32", "24436"}, + {"2600:6c62::/29", "20115"}, + {"2a01:a8::/32", "39122"}, + {"2406:26c0::/32", "134040"}, + {"240a:a0b9::/32", "142835"}, + {"2804:7648::/32", "271101"}, + {"2a02:2578:1a30::/32", "51375"}, + {"2a0b:c640::/29", "205473"}, + {"2409:8904:8640::/39", "24547"}, + {"2402:8100:21e0::/43", "45271"}, + {"240a:ad6d::/32", "146087"}, + {"2001:250:3081::/38", "23910"}, + {"2001:559:84b7::/44", "7922"}, + {"2404:f4c0:200::/46", "146961"}, + {"2408:8256:3399::/48", "17816"}, + {"2804:632c::/32", "269343"}, + {"2a02:8c8::/32", "20860"}, + {"2a02:26f7:b9cd::/46", "20940"}, + {"2a05:e580:fd00::/38", "134521"}, + {"2001:67c:2d34::/48", "207583"}, + {"240a:aa07::/32", "145217"}, + {"2804:2f90::/32", "264899"}, + {"2a0e:f080:1::/48", "12363"}, + {"2409:803d:2900::/38", "24444"}, + {"2409:8f04::/32", "24547"}, + {"2600:380:dc00::/44", "20057"}, + {"2801:80:1bc0::/48", "266511"}, + {"2408:8956:f1c0::/42", "17622"}, + {"240a:a6b8::/32", "144370"}, + {"2804:58fc:6000::/32", "268162"}, + {"2a03:aa80::/32", "48479"}, + {"2001:250:6817::/48", "23910"}, + {"2001:559:87ed::/48", "7922"}, + {"2001:13c7:6014::/48", "52500"}, + {"2403:2c00:7:2::4/44", "4058"}, + {"2800:800:a12::/42", "26611"}, + {"2402:800:5c71::/40", "7552"}, + {"2403:2400::/32", "9729"}, + {"2407:f140::/48", "140826"}, + {"2408:8459:5810::/42", "17623"}, + {"2803:5de0::/32", "270054"}, + {"2806:2f0:32a1::/46", "17072"}, + {"2a02:27ac::/32", "50979"}, + {"2a11:b1c1::/32", "35913"}, + {"2001:550:5605::/44", "174"}, + {"2600:370f:7162::/47", "32261"}, + {"2620:119:5000::/46", "13443"}, + {"2001:559:8795::/48", "33489"}, + {"2404:85c0::/32", "59110"}, + {"2408:8256:3196::/48", "17816"}, + {"240a:a463::/32", "143773"}, + {"2604:6600:a4::/39", "40676"}, + {"2605:7940:1000::/44", "30456"}, + {"2001:250:1400::/45", "24354"}, + {"2001:559:861d::/48", "7015"}, + {"2800:160:1b0f::/43", "14259"}, + {"2a01:7ae0::/32", "49182"}, + {"2a05:1083:fc00::/44", "209870"}, + {"2804:314:4015::/44", "61568"}, + {"2a02:26f7:cfc1::/46", "20940"}, + {"2001:559:2cc::/47", "7015"}, + {"2001:67c:15dc::/48", "43284"}, + {"2402:800:592b::/43", "7552"}, + {"2403:e200:805::/32", "45543"}, + {"2404:4d40::/32", "138575"}, + {"2406:e000:346::/42", "23655"}, + {"2408:8957:bb00::/40", "17816"}, + {"2804:3e90:4264::/32", "266606"}, + {"2001:559:8638::/48", "33491"}, + {"2607:f348:3595::/48", "16626"}, + {"2a02:70:200::/32", "3326"}, + {"2001:4220:3::/45", "36935"}, + {"2400:3ce0::/32", "132752"}, + {"2606:f40:1001::/48", "16509"}, + {"2606:6c00:c000::/48", "32787"}, + {"2804:3994:4000::/34", "266037"}, + {"2806:2f0:8063::/40", "17072"}, + {"2a00:1dc0::/29", "43289"}, + {"2001:67c:2608::/48", "197422"}, + {"2602:fc52:30d::/48", "399888"}, + {"2803:de20::/32", "265879"}, + {"2804:62dc::/32", "269323"}, + {"2804:6fb0::/32", "270677"}, + {"2806:2f0:9ba1::/46", "17072"}, + {"2a02:26f0:bd01::/38", "20940"}, + {"2a10:4646:12::/47", "47157"}, + {"2408:80f0:4000::/32", "4808"}, + {"2409:875c:4e00::/26", "9808"}, + {"240a:ac54::/32", "145806"}, + {"2600:6c7f:9170::/44", "20115"}, + {"2a07:7ec0::/29", "59441"}, + {"240a:a47f::/32", "143801"}, + {"2804:7c58::/32", "271490"}, + {"2a01:6e00::/44", "43142"}, + {"2a03:e600:101::/32", "1764"}, + {"2a0e:fd45:bef::/37", "44103"}, + {"2a0f:1800::/29", "51711"}, + {"2001:4408:7f10::/32", "4758"}, + {"240a:af66::/32", "146592"}, + {"240e:44d:1600::/41", "140345"}, + {"2803:cd80::/33", "264811"}, + {"2a0c:4c00::/29", "205260"}, + {"2001:559:8449::/48", "33659"}, + {"2402:800:75e0::/38", "7552"}, + {"2804:5d80:8580::/33", "268976"}, + {"2a02:26f7:f814::/48", "36183"}, + {"2a0a:9040::/29", "25486"}, + {"2001:559:700::/48", "33287"}, + {"2804:d38::/32", "53158"}, + {"2804:590c::/32", "268166"}, + {"2001:df0:2b7::/48", "9555"}, + {"2620:149:74::/40", "714"}, + {"2620:149:a1f::/42", "714"}, + {"2001:559:81ca::/48", "33657"}, + {"2605:a401:805e::/42", "33363"}, + {"2806:2f0:8221::/46", "17072"}, + {"240a:aad5::/32", "145423"}, + {"240a:aff2::/32", "146732"}, + {"2604:cf00::/32", "40230"}, + {"2806:2f0:52c3::/37", "17072"}, + {"240a:a2a3::/32", "143325"}, + {"2620:0:d30::/48", "22920"}, + {"2a03:2887:ff19::/48", "63293"}, + {"2001:559:286::/48", "22909"}, + {"2409:0:1::/40", "38620"}, + {"240e:438:a840::/38", "4134"}, + {"2a01:538::/32", "8518"}, + {"240a:a7e2::/32", "144668"}, + {"240a:aa38::/32", "145266"}, + {"2a02:2e02:da0::/38", "12479"}, + {"2a0d:5642:107::/48", "35487"}, + {"2600:1419:8001::/37", "20940"}, + {"2602:806::/40", "16904"}, + {"2a02:2af8:409::/45", "702"}, + {"2a0b:d780::/29", "16019"}, + {"2001:559:532::/48", "7015"}, + {"2804:3200::/32", "265050"}, + {"2a03:8900::/32", "1197"}, + {"2a0d:f407:1017::/48", "212448"}, + {"2001:470:83::/48", "26110"}, + {"2001:559:8321::/48", "7015"}, + {"2408:80ea:6800::/41", "17816"}, + {"2600:6c10:52::/44", "20115"}, + {"2606:2800:7a0c::/48", "15133"}, + {"2a02:26f7:f1::/46", "20940"}, + {"2401:5100::/32", "38442"}, + {"240e:44d:2100::/42", "140345"}, + {"2600:6c38:161::/45", "20115"}, + {"2a0f:cc87:d000::/34", "208861"}, + {"2001:579:2702::/33", "22773"}, + {"2402:800:f3e0::/37", "7552"}, + {"2406:de00:100::/38", "18225"}, + {"240a:afbd::/32", "146679"}, + {"2a01:8f80:100::/40", "62168"}, + {"2a07:2fc0::/29", "41337"}, + {"2a0d:180::/31", "204668"}, + {"2a02:26f7:fa84::/48", "36183"}, + {"2a06:c003::/32", "45027"}, + {"2001:559:c3ba::/48", "33659"}, + {"2600:6c38:f30::/45", "20115"}, + {"2a04:5900::/29", "60304"}, + {"2001:559:448::/48", "7725"}, + {"2001:44c8:41fe::/38", "131445"}, + {"2404:3d00:40a3::/45", "3573"}, + {"2804:24c4::/34", "264241"}, + {"2a02:26f7:c348::/46", "36183"}, + {"2a03:9180:4::/32", "199422"}, + {"2001:559:7ab::/48", "33659"}, + {"2001:78a::/31", "6893"}, + {"240a:adcc::/32", "146182"}, + {"2001:559:117::/44", "7922"}, + {"2a02:cb80:4200::/45", "43766"}, + {"2001:559:46f::/48", "33287"}, + {"2001:67c:2124::/48", "39526"}, + {"2602:fd46::/36", "398328"}, + {"2604:1a00:b::/32", "46887"}, + {"2a03:94a0::/32", "203752"}, + {"2a10:7fc0::/29", "202505"}, + {"2403:c000::/35", "4741"}, + {"2405:6e00:2220::/43", "18291"}, + {"2408:8956:f00::/40", "17816"}, + {"240a:afdd::/32", "146711"}, + {"2602:fdba::/36", "40676"}, + {"2620:0:167e::/48", "7046"}, + {"2804:846c::/32", "272260"}, + {"2a03:8480::/32", "47394"}, + {"2401:d800:d480::/42", "7552"}, + {"240a:abe5::/32", "145695"}, + {"2605:6640::/32", "397797"}, + {"2800:320:8408::/45", "27882"}, + {"2804:5ed8::/32", "269060"}, + {"2a02:26f7:f981::/46", "20940"}, + {"2001:67c:25a8::/48", "8218"}, + {"2401:4900:4790::/42", "45609"}, + {"240a:a3e5::/32", "143647"}, + {"2605:a401:8929::/43", "33363"}, + {"2c0f:fb40::/32", "37315"}, + {"2001:4490:d040::/46", "9829"}, + {"2401:d800:f7b0::/41", "7552"}, + {"2803:5260::/32", "267870"}, + {"2804:f8c:8090::/41", "263591"}, + {"2a0a:2180::/29", "2119"}, + {"240a:a228::/32", "143202"}, + {"240a:ae99::/32", "146387"}, + {"2407:bf40::/32", "142450"}, + {"2600:4402:c004::/29", "6130"}, + {"2a02:b60:2000::/35", "41032"}, + {"2a07:6240::/29", "34290"}, + {"2c0f:4880::/32", "328964"}, + {"2001:678:84c::/48", "57007"}, + {"240a:a137::/32", "142961"}, + {"2804:728:6040::/32", "53201"}, + {"2804:4c50::/32", "267363"}, + {"2a02:26f7:f181::/46", "20940"}, + {"2a03:1f40::/32", "199588"}, + {"2a04:4720::/30", "31511"}, + {"2001:49f0:d0dc::/42", "174"}, + {"2404:69c0::/32", "132129"}, + {"2600:1009:f100::/44", "6167"}, + {"2600:1480:800::/48", "21342"}, + {"2804:7f8c::/43", "271695"}, + {"2001:559:823e::/48", "7922"}, + {"2400:7940::/32", "59126"}, + {"2402:1280::/32", "63931"}, + {"2402:2000:7001::/32", "24350"}, + {"2402:2000:9001::/33", "24350"}, + {"2403:fbc0:3000::/48", "23959"}, + {"2804:26b0::/32", "263849"}, + {"2001:468:2806::/44", "396961"}, + {"2400:6b00::/32", "63997"}, + {"240e:109:8028::/48", "133775"}, + {"2806:2f0:52c1::/46", "17072"}, + {"2001:67c:2550::/48", "39870"}, + {"2406:840:edd0::/48", "38173"}, + {"240e:e9:8000::/37", "137702"}, + {"2800:440:1a00::/42", "27738"}, + {"2a09:ed80::/29", "203959"}, + {"2600:140f:4600::/48", "9498"}, + {"2600:1414:1::/31", "20940"}, + {"2602:fe30::/36", "394752"}, + {"2804:24b0::/38", "264238"}, + {"2a00:c280::/39", "50463"}, + {"2a01:6500:a054::/29", "42925"}, + {"2a07:8144::/36", "203926"}, + {"2c0f:f320::/32", "37126"}, + {"2001:df5:5c00::/48", "9649"}, + {"2804:1774::/32", "263145"}, + {"2a04:4e40:5440::/44", "54113"}, + {"2001:146b::/35", "49183"}, + {"2603:f8d0::/26", "397165"}, + {"2408:8a21:4000::/35", "4837"}, + {"2603:90f5:800::/40", "20115"}, + {"2603:f980::/25", "397165"}, + {"2800:68:c0c1::/35", "61468"}, + {"2803:d480::/32", "8053"}, + {"2a0b:2bc0::/29", "13023"}, + {"2404:f780:b::/48", "206607"}, + {"2406:f00:3::/48", "55824"}, + {"2408:8957:9700::/40", "17816"}, + {"240e:97a:2d02::/40", "23650"}, + {"2600:1003:b870::/40", "22394"}, + {"2600:100d:bf0e::/33", "22394"}, + {"2607:f330:9400::/40", "25996"}, + {"2a04:9540::/29", "51265"}, + {"2001:418:1456:b20::/62", "397601"}, + {"2402:3a80:1800::/42", "38266"}, + {"240a:a2e4::/32", "143390"}, + {"240e:3bb:7a00::/32", "140313"}, + {"2600:6c38:d7::/44", "20115"}, + {"2606:3980::/48", "55229"}, + {"2804:35f4::/33", "266317"}, + {"2a0c:6b00::/32", "21473"}, + {"2001:1af0:9021::/29", "13046"}, + {"2401:d800:e92::/41", "7552"}, + {"2804:30c4::/35", "264973"}, + {"2804:775c::/32", "271173"}, + {"2a00:1488::/32", "1887"}, + {"2001:559:834c::/48", "33657"}, + {"2a09:c540::/32", "209231"}, + {"2a0a:4587:2014::/32", "29670"}, + {"2001:43f8:1f5::/48", "37668"}, + {"2804:4a50::/32", "267232"}, + {"2a00:16e0::/32", "3249"}, + {"2001:4410:2012::/40", "132040"}, + {"2405:9800:c911::/45", "45430"}, + {"2a06:e881:121::/48", "202313"}, + {"2405:2300:ff43::/45", "13443"}, + {"2406:d500:12::/48", "136557"}, + {"2602:fe74::/36", "393996"}, + {"2c0f:e820::/32", "328575"}, + {"2001:559:8651::/48", "33489"}, + {"2600:1000:9100::/44", "6167"}, + {"2600:1406:d401::/38", "20940"}, + {"2804:37a8:1205::/48", "65002"}, + {"2001:4878:136::/48", "12222"}, + {"2604:3d80:804::/48", "394302"}, + {"2606:2800:6038::/48", "15133"}, + {"2606:6880::/32", "63470"}, + {"2800:150:7::/32", "22047"}, + {"2806:2ed::/32", "28398"}, + {"2001:678:164::/48", "39345"}, + {"2401:d800:7190::/42", "7552"}, + {"2600:2:d20::/40", "1239"}, + {"2600:1002:f000::/44", "6167"}, + {"2806:2f0:32c1::/46", "17072"}, + {"2a02:930::/32", "44237"}, + {"2001:4998:14::/48", "14777"}, + {"2405:4000:801::/61", "7470"}, + {"2408:8406:a800::/39", "4808"}, + {"2804:45b8::/32", "266945"}, + {"2804:5928::/32", "268172"}, + {"2a0c:ca40::/29", "42598"}, + {"2001:559:8067::/48", "33287"}, + {"2001:67c:2214::/48", "3301"}, + {"2001:67c:26b4::/48", "57672"}, + {"2401:4900:1680::/39", "45609"}, + {"2401:d800:dba0::/41", "7552"}, + {"2402:c000:3801::/32", "9230"}, + {"240e:3bc:9c00::/34", "140310"}, + {"2806:20d:1d47::/34", "32098"}, + {"2806:2f0:3381::/46", "17072"}, + {"2a02:26f7:5a::/48", "36183"}, + {"2a04:f580:9220::/48", "4809"}, + {"2a0e:aa00:210::/47", "41378"}, + {"2001:44b8:30b1::/48", "4739"}, + {"240a:aed0::/32", "146442"}, + {"2603:3:6000::/39", "398101"}, + {"2800:70::/32", "27789"}, + {"2804:ad8:828a::/33", "262494"}, + {"2804:69dc:8000::/33", "270296"}, + {"2402:800:3e20::/43", "7552"}, + {"2408:8956:8700::/40", "17816"}, + {"2604:86c0:f000::/40", "61003"}, + {"2804:4510::/32", "267670"}, + {"2a00:c70::/32", "21409"}, + {"2001:df2:6780::/48", "134340"}, + {"240a:a12a::/32", "142948"}, + {"2804:2a00:c000::/34", "264050"}, + {"2a01:388::/29", "42689"}, + {"2a02:88d:8300::/48", "48695"}, + {"2408:805c:5000::/32", "17816"}, + {"2408:8256:316b::/48", "17623"}, + {"2600:1405:1801::/34", "20940"}, + {"2602:fc1c::/43", "53356"}, + {"2803:f300::/32", "52405"}, + {"2a02:44a0:ffff::/48", "61955"}, + {"2401:d800:b740::/42", "7552"}, + {"240e:44d:2400::/41", "140345"}, + {"2800:48::/32", "27898"}, + {"2a01:61c0::/40", "20860"}, + {"2a02:2e02:d50::/42", "12479"}, + {"2a0d:c680::/29", "204467"}, + {"2001:43e0::/32", "37074"}, + {"2407:7d00:1::/48", "138915"}, + {"2604:b440::/47", "19738"}, + {"2606:2800:4025::/44", "15133"}, + {"2606:3380::/48", "53334"}, + {"2804:ea0::/33", "52968"}, + {"2a02:26f0:9301::/37", "20940"}, + {"2a04:2300::/29", "197623"}, + {"2401:d800:b1e0::/38", "7552"}, + {"2804:1c04::/33", "61633"}, + {"2804:4c30::/32", "267355"}, + {"2a00:11f8::/29", "24875"}, + {"2a04:bb80::/29", "62040"}, + {"240e:bf:b8e8::/46", "138635"}, + {"240e:3b6:7a00::/32", "140313"}, + {"2600:1015:b130::/40", "6167"}, + {"2a00:c50::/29", "49289"}, + {"2a00:4100::/32", "12460"}, + {"2a02:26f7:41::/48", "20940"}, + {"2a02:47a0:a::/48", "49673"}, + {"2a0c:f480::/29", "328543"}, + {"2401:3c0:10b::/48", "45528"}, + {"2406:2000:efa5::/48", "45501"}, + {"2603:90f5:14::/40", "11426"}, + {"2620:100:c::/48", "19637"}, + {"2620:10a:4003::/45", "17394"}, + {"2804:9d4::/39", "262996"}, + {"2a02:26f7:b941::/46", "20940"}, + {"2a02:26f7:b78d::/42", "20940"}, + {"2a11:9d80::/29", "49396"}, + {"2804:7778::/32", "271180"}, + {"2a04:e240::/29", "35617"}, + {"240a:a521::/32", "143963"}, + {"2600:370f:352a::/45", "32261"}, + {"2607:fb58::/47", "36086"}, + {"2620:10:e000::/48", "55228"}, + {"2409:f:f2::/48", "142502"}, + {"2804:224c::/32", "262769"}, + {"2804:72f8::/32", "270887"}, + {"2804:4f50::/32", "268319"}, + {"2804:6dcc::/32", "270556"}, + {"2a02:2aa0::/39", "702"}, + {"2a09:4e07:8000::/36", "210625"}, + {"2c0f:f020:10::/48", "327907"}, + {"2401:d800:2490::/42", "7552"}, + {"2600:6c10:8e::/43", "20115"}, + {"2606:2800:7a10::/48", "15133"}, + {"2a11:7400:f2::/48", "50518"}, + {"240a:a939::/32", "145011"}, + {"2600:5c01:34b7::/44", "11351"}, + {"2a02:d8c0::/29", "2119"}, + {"2a03:2880:f020::/47", "32934"}, + {"2a11:7347::/33", "33171"}, + {"2001:da8:210::/48", "23910"}, + {"2001:df0:5800::/48", "55660"}, + {"2409:8c14::/40", "56044"}, + {"2606:5dc0:8a00::/39", "395561"}, + {"2804:db8::/32", "28335"}, + {"2804:11cc::/32", "263440"}, + {"2001:4878:2220::/48", "12222"}, + {"2409:8a1a::/35", "132525"}, + {"2602:fd4e::/36", "13465"}, + {"2a03:5a07::/32", "51028"}, + {"2a0b:e45:1::/48", "205809"}, + {"2001:c20:48a4::/48", "9255"}, + {"2001:44b8:30c7::/48", "7545"}, + {"2403:8ec0::/32", "134098"}, + {"2604:880:d::/46", "29802"}, + {"2604:4480::/32", "22552"}, + {"2804:41e8::/32", "267464"}, + {"2a00:f080::/42", "13030"}, + {"2a06:e381::/32", "206970"}, + {"2a0c:b641:600::/44", "210356"}, + {"2001:559:78b::/48", "7015"}, + {"2001:559:c23e::/48", "33491"}, + {"2001:67c:3e8::/47", "39358"}, + {"2406:a400::/32", "10024"}, + {"2610:58::/46", "111"}, + {"2620:11a:b000::/44", "12276"}, + {"2804:28e4:e022::/44", "28260"}, + {"2a04:4e40:2230::/44", "54113"}, + {"2001:480:502::/41", "668"}, + {"2400:e501::/32", "138322"}, + {"2409:8904:cf40::/42", "24547"}, + {"240e:9f:c000::/35", "134420"}, + {"2803:3620::/32", "265867"}, + {"2a02:88d:220::/44", "48695"}, + {"2a05:b680::/48", "33823"}, + {"2404:e900:8000::/33", "46062"}, + {"2408:8000:c000::/45", "140726"}, + {"240a:a93c::/32", "145014"}, + {"240e:44d:4e80::/41", "4134"}, + {"2620:82:a000::/48", "207563"}, + {"2001:559:4ad::/48", "7016"}, + {"2408:8256:2e61::/40", "17623"}, + {"240a:a3d1::/32", "143627"}, + {"240a:a5fe::/32", "144184"}, + {"240a:a7f5::/32", "144687"}, + {"240a:a7fb::/32", "144693"}, + {"2604:c4c0::/32", "11635"}, + {"2607:c980::/32", "399092"}, + {"2804:449c::/40", "267642"}, + {"2a0a:e5c0:2::/48", "207996"}, + {"2001:4870:a24f::/48", "10596"}, + {"2620:4d:a000::/48", "32995"}, + {"2a00:4802:2d0::/44", "8717"}, + {"2a0b:b87:ffd7::/48", "206804"}, + {"2408:8956:200::/40", "17622"}, + {"240e:980:4d00::/40", "4134"}, + {"2604:d600:1c23::/39", "32098"}, + {"2a02:26f7:24::/48", "36183"}, + {"2a09:5cc0::/29", "199163"}, + {"2404:e7:210::/28", "703"}, + {"2607:280::/32", "32365"}, + {"2406:3000:11:1013::/60", "4657"}, + {"2605:3380:4dfe::/47", "395174"}, + {"2a02:26f7:bc41::/46", "20940"}, + {"2a03:6083:9000::/33", "16285"}, + {"2a0d:2080::/29", "204646"}, + {"2402:800:5a47::/43", "7552"}, + {"2402:800:7120::/41", "7552"}, + {"2408:8256:2f7c::/46", "17623"}, + {"2620:119:500b::/43", "13443"}, + {"2a02:26f7:eb80::/48", "36183"}, + {"2001:678:808::/48", "210316"}, + {"2001:978:6408::/38", "174"}, + {"2402:800:3c55::/42", "7552"}, + {"2603:f220::/25", "397165"}, + {"2803:e0e0:1ff::/48", "269852"}, + {"2a02:26f0:a200::/48", "34164"}, + {"2a0b:2200::/29", "39806"}, + {"2a0e:b107:9da::/48", "213262"}, + {"2600:6c38:549::/43", "20115"}, + {"2a00:1728:25::/44", "34224"}, + {"2a01:c50f:b540::/38", "12479"}, + {"2001:559:7e::/47", "33491"}, + {"2001:559:c340::/48", "7922"}, + {"2001:67c:2b40::/48", "198235"}, + {"2001:da8:257::/48", "4538"}, + {"2803:2f80::/32", "61503"}, + {"2a03:a600::/29", "44600"}, + {"2404:3a80::/32", "135063"}, + {"2407:7a80:14::/42", "132384"}, + {"2804:5558::/32", "263102"}, + {"2a02:26f7:c100::/48", "36183"}, + {"2a05:e200::/32", "39767"}, + {"2001:559:823f::/48", "7015"}, + {"2001:43d8:c001::/34", "15022"}, + {"2804:cb8::/32", "53213"}, + {"2804:821c::/32", "272499"}, + {"2405:2300:ff00::/46", "13443"}, + {"240a:ab70::/32", "145578"}, + {"2606:6680:20::/48", "27323"}, + {"2a07:5940::/32", "43915"}, + {"2607:f4a0:5010::/48", "396926"}, + {"2800:bf0:30::/46", "52257"}, + {"2a00:e440::/32", "56876"}, + {"2001:4408:7d00::/38", "4758"}, + {"2603:c022:8000::/35", "31898"}, + {"2804:cac::/32", "262748"}, + {"2804:7028::/32", "270709"}, + {"2a01:4c01::/32", "58291"}, + {"2001:559:289::/48", "7016"}, + {"2001:559:310::/48", "7922"}, + {"2001:559:81b8::/48", "33287"}, + {"240e:947:2000::/36", "4134"}, + {"2605:3dc0:8::/48", "397952"}, + {"2620:149:5b6::/41", "714"}, + {"2804:5a30::/34", "268754"}, + {"2a0c:b641:455::/48", "208333"}, + {"2a0d:4cc0::/29", "30823"}, + {"2a10:d9c0::/29", "34907"}, + {"2403:7000:4100::/32", "45179"}, + {"2606:2800:20c::/46", "15133"}, + {"2a02:26f7:ec88::/48", "36183"}, + {"2a06:b080:a001::/48", "203776"}, + {"240a:ae57::/32", "146321"}, + {"2605:e540::/32", "13370"}, + {"2a02:26f7:cd48::/48", "36183"}, + {"2001:1248:9813::/45", "11172"}, + {"2401:d6c0::/32", "137199"}, + {"2804:204:2dc::/39", "28186"}, + {"2001:cb0::/38", "4637"}, + {"2605:5c0:c105::/44", "28885"}, + {"2804:14d:90ab::/45", "28573"}, + {"2806:230:402b::/48", "11888"}, + {"2a02:26f7:e850::/48", "36183"}, + {"2401:e980::/32", "64006"}, + {"2406:3d80::/32", "63620"}, + {"2600:6c20:a01::/46", "20115"}, + {"2a05:dcc0::/29", "15600"}, + {"2001:ce0:2900::/48", "7650"}, + {"2403:2040::/32", "17775"}, + {"2408:8256:3795::/48", "17816"}, + {"240e:44d:3280::/41", "4134"}, + {"2600:5c01::/39", "10796"}, + {"2602:ffb0:29::/48", "20473"}, + {"2620:0:150::/44", "16524"}, + {"2804:3f58::/33", "265886"}, + {"2806:2f0:24a2::/48", "17072"}, + {"2a0d:77c7:f6ce::/36", "7489"}, + {"2001:559:7e2::/48", "33657"}, + {"2001:1a11:af::/48", "42298"}, + {"240e:44d:e40::/42", "140358"}, + {"2607:f720::/32", "7377"}, + {"2620:12f:f000::/44", "43"}, + {"2804:ff4::/32", "53218"}, + {"2804:75e8::/32", "271077"}, + {"2001:559:5c2::/45", "7922"}, + {"2001:559:84d8::/48", "7922"}, + {"2001:da8:c3::/48", "138381"}, + {"2402:1580::/38", "17682"}, + {"2804:2050:8a8c::/33", "264485"}, + {"2804:7930::/32", "271290"}, + {"2a01:1b0:c010::/34", "31477"}, + {"2001:559:82e8::/48", "33660"}, + {"2001:559:8474::/48", "33650"}, + {"2001:8b8::/29", "1759"}, + {"2409:8924:2b00::/37", "56046"}, + {"2800:160:144e::/43", "14259"}, + {"2803:1a00:500f::/43", "262186"}, + {"2a03:8a0::/32", "200691"}, + {"2a0c:a940::/29", "9009"}, + {"2001:df0:64c0::/48", "147293"}, + {"2001:12f0::/42", "1916"}, + {"2606:7b00:4000::/32", "10538"}, + {"2804:7e28::/32", "271606"}, + {"2407:7a80:28::/43", "132384"}, + {"240a:a9ea::/32", "145188"}, + {"2a09:e200:e200::/48", "49121"}, + {"2405:6e00:8fc::/46", "133612"}, + {"2406:daa0:b080::/44", "16509"}, + {"2610:e0::/34", "2572"}, + {"2804:833c:8000::/33", "272185"}, + {"2a0e:5540:10::/46", "208258"}, + {"2001:559:86e4::/47", "33651"}, + {"2600:6c2e:49b::/39", "20115"}, + {"2604:ef00::/32", "18988"}, + {"2607:6100:101c::/48", "400053"}, + {"2001:67c:1118::/48", "2119"}, + {"2408:8459:1650::/36", "17816"}, + {"240e:980:8800::/40", "38283"}, + {"2600:1801:2::/47", "16552"}, + {"2804:14c:4186::/44", "28573"}, + {"2804:8488::/32", "272266"}, + {"2a0d:3842:1180::/48", "57629"}, + {"2408:8459:a430::/41", "17622"}, + {"2409:8963::/28", "9808"}, + {"240a:a381::/32", "143547"}, + {"2a04:5201:8018::/48", "200740"}, + {"2001:67c:2288::/48", "44073"}, + {"240e:44d:2280::/41", "4134"}, + {"2804:4f8::/36", "28263"}, + {"2806:1090::/32", "8151"}, + {"2401:d800:9c40::/42", "7552"}, + {"2409:8053:3000::/47", "56047"}, + {"240e:61:6000::/32", "4134"}, + {"2602:fedc:10::/42", "393857"}, + {"2605:dd40:8f00::/44", "16509"}, + {"2806:2f0:4003::/41", "17072"}, + {"2a02:26f0:9801::/39", "20940"}, + {"2a09:c140:3::/48", "210079"}, + {"2406:a6c0::/48", "18403"}, + {"2409:896a:4200::/39", "9808"}, + {"240a:ac9f::/32", "145881"}, + {"240e:3b8:ec00::/35", "140314"}, + {"2604:d600:1b08::/37", "32098"}, + {"2604:e180:1006::/33", "55002"}, + {"2804:1070:4000::/36", "28209"}, + {"2806:2f0:2141::/48", "22884"}, + {"2a00:fe00:c180::/48", "702"}, + {"2a07:9b83::/32", "50113"}, + {"2001:44c8:46c0::/42", "45430"}, + {"2400:cb00:376::/47", "13335"}, + {"2620:cb:c000::/48", "393965"}, + {"2620:10a:e000::/40", "11250"}, + {"2803:a4c0::/32", "264795"}, + {"2804:8468::/32", "272259"}, + {"2a02:2808:1006::/48", "47211"}, + {"2a0e:b107:b80::/45", "212995"}, + {"2c0f:f780::/32", "327805"}, + {"2001:559:c4d4::/48", "33287"}, + {"2001:df5:3780::/48", "24303"}, + {"2401:803e:2001::/42", "9919"}, + {"2602:fc3e::/48", "400190"}, + {"2604:4f00::/36", "47002"}, + {"2a0c:84c0::/29", "48635"}, + {"2001:4200:3210::/37", "2018"}, + {"2607:fcd0:ff03:1::/40", "8100"}, + {"2804:4cd0::/32", "267394"}, + {"2804:66c4::/32", "269581"}, + {"2001:400:b14::/48", "3671"}, + {"2001:fd8:a4::/46", "132199"}, + {"2402:800:9d0f::/43", "7552"}, + {"2406:da19::/36", "16509"}, + {"2804:2558:3::/48", "264275"}, + {"2a0d:ac80::/29", "204475"}, + {"2001:559:c2b7::/48", "13367"}, + {"2001:67c:1084::/48", "34686"}, + {"2a00:ef20::/29", "199752"}, + {"2a02:26f7:f085::/46", "20940"}, + {"2a11:a9c0::/29", "1239"}, + {"2c0f:fe10::/32", "20294"}, + {"2607:b500::/47", "54548"}, + {"2800:190:f3::/39", "11664"}, + {"2a02:26f7:d484::/48", "36183"}, + {"2a03:cdc0::/35", "31034"}, + {"2001:978:2:c1::c:0/38", "174"}, + {"2405:6800:3000::/33", "18207"}, + {"2803:14c0::/32", "28023"}, + {"2804:6a84::/32", "270341"}, + {"2806:10a0::/32", "8151"}, + {"2405:7000:400::/40", "59108"}, + {"240a:a4cf::/32", "143881"}, + {"2804:6788::/32", "269634"}, + {"2a0d:3bc0::/29", "60781"}, + {"2a10:d780:4::/32", "211997"}, + {"2402:800:b890::/42", "7552"}, + {"2a00:de61:100::/38", "16509"}, + {"2a05:5a00::/29", "212613"}, + {"2a05:b880::/29", "44746"}, + {"2401:4900:32e0::/39", "45609"}, + {"2408:8459:6810::/42", "17623"}, + {"2804:7210:200::/45", "270830"}, + {"2804:795c::/32", "271301"}, + {"2a04:4e40:210::/41", "54113"}, + {"2a07:a905:ffe4::/48", "204543"}, + {"2001:67c:2c92::/47", "60092"}, + {"2404:bf40:8083::/42", "139084"}, + {"2408:8256:2f80::/44", "17623"}, + {"2602:fd5d:100::/40", "62731"}, + {"2602:ff7a::/32", "394144"}, + {"2404:9740::/32", "135760"}, + {"2409:8948:9400::/31", "24445"}, + {"2606:2800:400d::/48", "14153"}, + {"2804:270::/40", "262814"}, + {"2a04:b2c0::/29", "5413"}, + {"2620:101:3000::/42", "19945"}, + {"2a00:cf00::/32", "41937"}, + {"2a02:26f0:74::/48", "34164"}, + {"2404:3d00:4117::/48", "3573"}, + {"2804:578::/32", "262516"}, + {"2a01:430:11::/48", "51134"}, + {"2a02:26f7:d449::/46", "20940"}, + {"2001:559:8445::/48", "21508"}, + {"2405:6e00:2ed::/48", "65442"}, + {"2409:8087:2005::/42", "56046"}, + {"240e:3be:7600::/39", "140313"}, + {"240e:978:2100::/36", "4134"}, + {"2804:14d:be00::/40", "28573"}, + {"2a00:ea60:200::/40", "43463"}, + {"2a01:8840:1be::/41", "12041"}, + {"2a02:2698:1400::/38", "50542"}, + {"2405:1c0:6751::/46", "55303"}, + {"2408:8456:3650::/39", "17816"}, + {"240a:a7c6::/32", "144640"}, + {"2803:7860::/32", "267829"}, + {"2804:1e20:10::/47", "264409"}, + {"2a02:2498:9002::/36", "13213"}, + {"2a0a:d580::/32", "60602"}, + {"2a02:26f7:d1c5::/46", "20940"}, + {"2a0e:97c0:332::/48", "210542"}, + {"2001:67c:21ec::/48", "56662"}, + {"2804:14b4::/32", "263345"}, + {"2a03:9e43::/32", "141760"}, + {"2001:1248:59be::/41", "11172"}, + {"2001:1248:971f::/42", "11172"}, + {"2001:4478:5a00::/32", "4802"}, + {"2408:8256:3b76::/44", "17623"}, + {"2608:4122:2::/48", "5927"}, + {"2800:440:1e00::/42", "27738"}, + {"2a00:1c60::/32", "47674"}, + {"2a02:88d:8100::/44", "48695"}, + {"2001:c10:ff00:a::/47", "7473"}, + {"2606:82c0:1::/46", "32167"}, + {"2607:f160:2e::/48", "22394"}, + {"2001:df1:6800::/48", "45671"}, + {"2408:8756:ca0::/41", "136958"}, + {"2001:559:1bf::/48", "33659"}, + {"2001:559:80d0::/48", "22909"}, + {"2001:678:57c::/48", "42239"}, + {"240c:cf82::/25", "23910"}, + {"2605:4400:8::/32", "40715"}, + {"2606:2800:4201::/48", "14153"}, + {"2a01:b580::/32", "12688"}, + {"2a02:2698:7c00::/38", "52207"}, + {"2a05:8f00::/29", "201199"}, + {"2400:9380:9fc0::/44", "136167"}, + {"2620:108:8002::/48", "14904"}, + {"2a02:888:148::/47", "48695"}, + {"2a10:c700::/32", "212324"}, + {"2001:559:8561::/48", "7015"}, + {"2403:b100:2014::/32", "9989"}, + {"2604:d600:1105::/44", "32098"}, + {"2620:149:fe::/47", "714"}, + {"2803:3a80::/32", "23383"}, + {"2a0c:8900::/29", "200462"}, + {"2001:49c8::/32", "22284"}, + {"2a02:26f0:ab01::/37", "20940"}, + {"2001:559:8037::/48", "33491"}, + {"2001:559:c17e::/48", "33652"}, + {"2600:140f:8::/47", "20940"}, + {"2606:6000:4000::/36", "10838"}, + {"2800:160:1dd2::/45", "14259"}, + {"2801:11:800::/48", "14080"}, + {"2a02:2420::/32", "197075"}, + {"2a05:900::/29", "198930"}, + {"2001:559:81ea::/48", "33659"}, + {"2402:800:378d::/43", "7552"}, + {"240a:a8bc::/32", "144886"}, + {"2607:fdf0:5e8f::/43", "8008"}, + {"2a01:7f60:30::/32", "9115"}, + {"2a02:26f7:b904::/48", "36183"}, + {"2a07:b40::/29", "202629"}, + {"2a07:8980:103::/30", "198651"}, + {"2001:538::/32", "7381"}, + {"240e:109:804b::/48", "133774"}, + {"2604:d600:55f::/42", "32098"}, + {"2605:9f00::/38", "36473"}, + {"2a02:26f7:b409::/39", "20940"}, + {"2a03:be80:4::/44", "15510"}, + {"2001:559:c0::/48", "21508"}, + {"2001:559:8469::/48", "33659"}, + {"2401:1640::/32", "18254"}, + {"240a:a487::/32", "143809"}, + {"240e:95:8001::/48", "58542"}, + {"2a09:bac0:102::/47", "13335"}, + {"2408:84f3:2e50::/44", "17816"}, + {"2409:8a53:900::/38", "56047"}, + {"2606:1440::/32", "399100"}, + {"2804:3c78:f000::/48", "266214"}, + {"2a02:582:5c00::/34", "6799"}, + {"2a02:26f7:c181::/46", "20940"}, + {"2a04:4e42:601::/36", "54113"}, + {"2a0b:4200:2001::/48", "198433"}, + {"2a0c:9a40:808c::/48", "53356"}, + {"2a10:41c0::/29", "211645"}, + {"2405:c0:90::/48", "138881"}, + {"2a0e:dbc0::/46", "208366"}, + {"2001:df4:1d80::/48", "140878"}, + {"2402:5b00::/44", "18002"}, + {"2804:14c:5500::/40", "28573"}, + {"2a00:fc00:e000::/48", "50392"}, + {"2a07:2e80::/29", "203201"}, + {"2a0e:bbc0:8001::/48", "11251"}, + {"2408:8000:9fff::/48", "138421"}, + {"240a:ab1a::/32", "145492"}, + {"2001:559:c390::/48", "33657"}, + {"2408:8459:e250::/37", "17816"}, + {"240e:947:6000::/32", "4134"}, + {"2a0b:4340:a1::/48", "134575"}, + {"2804:13b0:7c00::/38", "263546"}, + {"2804:71dc::/32", "270816"}, + {"2409:8d0c::/30", "56042"}, + {"240e:44d:6280::/41", "4134"}, + {"2804:78dc::/32", "271270"}, + {"2a02:26f0:d701::/36", "20940"}, + {"2a07:40::/29", "16186"}, + {"2001:678:ad0::/48", "205597"}, + {"2600:1408:25::/36", "20940"}, + {"2a01:c8cf:ffe0::/43", "25454"}, + {"2a0e:9cc0::/29", "208905"}, + {"2600:1f01:4081::/48", "16509"}, + {"2607:4980::/32", "395261"}, + {"2a00:4e80::/32", "12754"}, + {"2a02:ee80:4242::/47", "21433"}, + {"2408:826c::/27", "4837"}, + {"2408:8956:1700::/40", "17816"}, + {"240a:a570::/32", "144042"}, + {"2607:f160:37::/48", "22394"}, + {"2806:230:6022::/48", "265594"}, + {"2a00:1fd0:ec00::/48", "29033"}, + {"2a0c:bdc0::/29", "51333"}, + {"2001:559:538::/48", "33659"}, + {"2402:800:98a9::/43", "7552"}, + {"2804:51c:8000::/34", "262495"}, + {"2804:5110::/39", "268428"}, + {"2a04:4e40:1400::/48", "54113"}, + {"2a07:20c0::/29", "48602"}, + {"2001:3c8:cb02::/35", "4621"}, + {"2001:da8:2f01::/40", "23910"}, + {"2409:40f1::/30", "55836"}, + {"240a:aa16::/32", "145232"}, + {"240e:44d:4a40::/42", "140357"}, + {"2605:afc0::/32", "14488"}, + {"2406:3002:40::/50", "138345"}, + {"2804:7d3c::/34", "271548"}, + {"2a09:f400::/29", "38983"}, + {"2001:3c8:2706::/48", "4621"}, + {"2a09:d240::/48", "30870"}, + {"2001:67c:2864::/48", "51091"}, + {"2804:7838:e000::/35", "271228"}, + {"2a02:5b0::/32", "35467"}, + {"2a02:ee80:4161::/45", "3573"}, + {"2c0f:fbb0::/32", "37055"}, + {"2001:559:1e5::/48", "33491"}, + {"2406:3c0::/32", "132315"}, + {"2607:f178:4::/47", "30217"}, + {"2408:8456:e440::/38", "17816"}, + {"2a02:26f7:e641::/46", "20940"}, + {"2a02:26f7:f1c8::/48", "36183"}, + {"2a0f:29c4::/30", "398481"}, + {"2001:4878:b347::/48", "12222"}, + {"2401:8e00:801::/34", "9260"}, + {"2402:8100:266f::/43", "45271"}, + {"2806:1020:702::/32", "8151"}, + {"2001:559:c489::/46", "7922"}, + {"2001:4c08:2020::/45", "3356"}, + {"2401:4900:54b1::/48", "45609"}, + {"2408:8644::/35", "140726"}, + {"2a09:b240::/32", "21269"}, + {"2a0e:cf80::/29", "210661"}, + {"2001:1248:5f4b::/43", "11172"}, + {"2804:69fc::/37", "270304"}, + {"2a00:1968::/48", "41528"}, + {"2a0a:e240::/31", "205893"}, + {"240a:a87c::/32", "144822"}, + {"240e:978:d00::/40", "134756"}, + {"2a02:26f0:6b01::/37", "20940"}, + {"2a02:26f7:f980::/48", "36183"}, + {"2a10:6780::/29", "204790"}, + {"2001:559:535::/48", "7922"}, + {"2401:5800::/32", "24481"}, + {"2408:8956:b900::/40", "17816"}, + {"2800:160:1531::/41", "14259"}, + {"2804:6ee8:2000::/36", "270626"}, + {"2001:1a11:9a::/48", "8781"}, + {"2a02:e10::/32", "43646"}, + {"2001:df4:7000::/48", "45561"}, + {"2801:0:1d0::/45", "52378"}, + {"2a01:808::/27", "3209"}, + {"2001:8c8::/32", "6700"}, + {"2406:f900:28::/43", "132829"}, + {"2408:8956:7500::/40", "17816"}, + {"2a0e:b105:100::/44", "212996"}, + {"2a0f:aac0::/47", "16509"}, + {"2400:cb00:a4b0::/46", "13335"}, + {"2804:6970::/32", "270270"}, + {"2a00:5641::/32", "13030"}, + {"2a05:3580:d400::/34", "35807"}, + {"2400:d400:5eae::/48", "24238"}, + {"2402:800:41e7::/44", "7552"}, + {"2404:4f02::/40", "137840"}, + {"2408:8459:e210::/42", "17623"}, + {"2602:ff16:10::/46", "29802"}, + {"2a02:2178::/29", "29075"}, + {"2001:67c:640::/48", "59398"}, + {"2001:df5:2200::/48", "133156"}, + {"240a:aafa::/32", "145460"}, + {"2604:5cc0:1fff::/32", "13351"}, + {"2620:12d:e019::/48", "3356"}, + {"2804:c48:ffff::/48", "52687"}, + {"2a02:26f7:c04d::/42", "20940"}, + {"240e:f7:2000::/36", "134771"}, + {"2600:1488:c061::/40", "20940"}, + {"2604:d600:536::/41", "32098"}, + {"2a01:660::/29", "48951"}, + {"2a02:a00:10::/35", "15987"}, + {"2401:d800:df30::/41", "7552"}, + {"2409:40f2:2000::/32", "55836"}, + {"240a:ac43::/32", "145789"}, + {"240a:adfc::/32", "146230"}, + {"2804:335c:f000::/36", "265391"}, + {"2409:8087:8005::/44", "9808"}, + {"2604:a900::/32", "27539"}, + {"2a03:efc0:900::/40", "33438"}, + {"2401:ac00::/32", "9268"}, + {"240a:a079::/32", "142771"}, + {"240a:a71e::/32", "144472"}, + {"240a:a9c5::/32", "145151"}, + {"240e:438:220::/43", "140647"}, + {"2605:c00:100::/40", "46920"}, + {"2607:f6f0:1800::/40", "15830"}, + {"2620:64:a000::/47", "397277"}, + {"2804:18c::/32", "28637"}, + {"2406:6140::/32", "137102"}, + {"2606:2800:4214::/44", "15133"}, + {"240e:3b4:7800::/39", "4134"}, + {"2a02:2268::/32", "197902"}, + {"2a02:26f7:25::/48", "20940"}, + {"2a06:5b00::/29", "41937"}, + {"2406:a2c0::/32", "135845"}, + {"240a:a14b::/32", "142981"}, + {"2602:807:50e0::/47", "55136"}, + {"2607:f250:d010::/48", "7046"}, + {"2607:f6f0:4000::/48", "29884"}, + {"2804:62b4:8000::/36", "269313"}, + {"2406:e400:deee::/34", "7642"}, + {"240a:a411::/32", "143691"}, + {"240e:84c:40::/44", "140345"}, + {"2a0f:b506:ff01::/45", "206313"}, + {"2402:800:b010::/42", "7552"}, + {"240a:afc4::/32", "146686"}, + {"2600:1409:6001::/36", "20940"}, + {"2804:550c:e000::/35", "268686"}, + {"2a04:d880::/29", "5587"}, + {"2a0a:90c0:1000::/47", "205080"}, + {"2a0d:77c7:f1e5::/37", "7489"}, + {"2001:559:318::/48", "7922"}, + {"2001:559:8547::/48", "7016"}, + {"2409:802f:2905::/44", "9808"}, + {"2600:1806:511::/48", "16552"}, + {"2605:a5c0::/32", "54161"}, + {"2804:6a60::/32", "270332"}, + {"2a07:6c40::/29", "29505"}, + {"2a03:5640:f043::/40", "2906"}, + {"2a0e:f880::/29", "207902"}, + {"2001:559:828f::/48", "7922"}, + {"240a:a336::/32", "143472"}, + {"2402:800:5671::/44", "7552"}, + {"2404:2440:eeee::/48", "138521"}, + {"240a:aa7c::/32", "145334"}, + {"2a03:32c0::/44", "48503"}, + {"2a0e:b107:11d0::/47", "58015"}, + {"2001:550:1304::/37", "174"}, + {"2001:559:86ea::/48", "33651"}, + {"2801:16e:6::/42", "19429"}, + {"2804:5bc::/32", "28658"}, + {"2001:678:cf0::/48", "60557"}, + {"2600:1413:1000::/48", "24319"}, + {"2603:c0f1::/36", "6142"}, + {"2804:2bf0:8100::/33", "262740"}, + {"2a0c:3340::/29", "39602"}, + {"2a10:2a80:1ab::/48", "207727"}, + {"2001:c20:4879::/46", "3758"}, + {"240e:981:6100::/36", "4134"}, + {"2a07:7800:7::/29", "31727"}, + {"2001:ee0:a640::/33", "45899"}, + {"2401:d800:bdf2::/38", "7552"}, + {"2803:9880::/32", "264640"}, + {"2a02:128:10::/48", "48709"}, + {"2a0b:b87:ff14::/48", "210667"}, + {"2001:1900:23ce::/36", "3356"}, + {"2402:800:91ee::/43", "7552"}, + {"2402:800:97fe::/36", "7552"}, + {"2605:8240::/32", "398113"}, + {"2804:2af0::/45", "265126"}, + {"2a00:1c10:cd0::/44", "50300"}, + {"2a03:f80:359::/48", "56630"}, + {"2600:1417:5f::/48", "38040"}, + {"2800:68:3a::/47", "61468"}, + {"2800:440:146::/48", "27738"}, + {"2a00:1678:3cc0::/48", "49453"}, + {"2a09:7c47::/32", "44094"}, + {"2a0e:2b04::/30", "1239"}, + {"240e:37c:aa00::/39", "140330"}, + {"2602:fc20::/36", "6461"}, + {"2620:11f:5000::/40", "393869"}, + {"2804:165c::/32", "263284"}, + {"2a02:26f7:cb11::/42", "20940"}, + {"2c0f:efe8::/32", "327795"}, + {"2001:550:1e02::/34", "174"}, + {"2001:df0:5dc0::/48", "149324"}, + {"240a:a195::/32", "143055"}, + {"2001:b88::/33", "33915"}, + {"2408:8256:3360::/43", "17623"}, + {"2408:8656:30fc::/46", "17623"}, + {"2600:6c3a:77::/44", "20115"}, + {"2800:160:1add::/42", "14259"}, + {"2804:102c::/32", "263623"}, + {"2a10:cc42:1790::/46", "20473"}, + {"2408:8956:d640::/40", "17622"}, + {"240a:ac0b::/32", "145733"}, + {"2600:1008:a020::/40", "22394"}, + {"2001:559:8105::/48", "7016"}, + {"2407:4240::/46", "136678"}, + {"2409:8008::/40", "24547"}, + {"2602:805:6000::/48", "36127"}, + {"2a07:e880::/29", "202333"}, + {"2c0f:fbf0:20::/28", "32653"}, + {"2400:1a00:b031::/41", "17501"}, + {"240e:44d:4580::/41", "4134"}, + {"2600:380:9000::/38", "20057"}, + {"2605:e340::/40", "8036"}, + {"2a01:bc80:1::/44", "32590"}, + {"2a05:a884:de10::/48", "7473"}, + {"2404:4f80:18::/42", "58715"}, + {"2804:3f10:4203::/35", "262566"}, + {"2a00:ae00::/29", "34263"}, + {"2a02:5740:9::/48", "58065"}, + {"2001:df6:5180::/48", "38215"}, + {"2a01:8840:8e::/43", "12041"}, + {"2400:9380:9100::/47", "4809"}, + {"2800:bf0:80c0::/47", "52257"}, + {"2a03:9240::/32", "202632"}, + {"2a0a:d6c0:eff4::/48", "211454"}, + {"2001:db0:4800::/37", "17766"}, + {"2403:4800:1200::/32", "9443"}, + {"2407:e80:2::/47", "58689"}, + {"2409:8087:1400::/38", "56044"}, + {"2604:cb00::/32", "7029"}, + {"2801:1b:8800::/48", "19429"}, + {"2a04:b800::/29", "204348"}, + {"2001:559:86e6::/47", "7725"}, + {"2001:fb0:1078::/48", "55844"}, + {"2602:fc09:806::/43", "13780"}, + {"2804:7f1c::/48", "271667"}, + {"240a:a646::/32", "144256"}, + {"240a:af11::/32", "146507"}, + {"2620:eb:8000::/48", "35873"}, + {"2804:14d:a000::/41", "28573"}, + {"2804:4838::/32", "267105"}, + {"2806:2f0:8103::/42", "17072"}, + {"2603:4:1300::/48", "44273"}, + {"2803:840:ba00::/48", "263793"}, + {"2a01:c50f:d400::/40", "12479"}, + {"2c0f:f230::/32", "328193"}, + {"2001:559:871a::/48", "21508"}, + {"2400:1a00:bde1::/33", "17501"}, + {"2408:840d:1c00::/42", "17621"}, + {"2604:1180::/32", "25625"}, + {"2a02:26f7:c981::/46", "20940"}, + {"2a02:26f7:cb01::/46", "20940"}, + {"2001:44c8:3100::/40", "45781"}, + {"2606:2800:4a5c::/46", "15133"}, + {"2001:559:7ca::/48", "7922"}, + {"2400:1a00:8001::/46", "17501"}, + {"2405:7f00:a2a0::/37", "133414"}, + {"240a:a3f4::/32", "143662"}, + {"240e:438:1c40::/38", "4134"}, + {"2800:160:1807::/43", "14259"}, + {"2801:0:260::/48", "52427"}, + {"2a05:b0c6:300::/40", "8100"}, + {"2a05:dfc7:5::/48", "204136"}, + {"2001:559:830b::/48", "7922"}, + {"2405:9800:b418::/48", "133481"}, + {"2620:f6:8000::/48", "35922"}, + {"2804:3fa8::/32", "265905"}, + {"2a01:c50f:4580::/41", "12479"}, + {"2001:559:27c::/47", "33652"}, + {"2001:559:846c::/48", "20214"}, + {"2605:6c80:8000::/33", "40676"}, + {"2a02:26f7:c045::/46", "20940"}, + {"2402:b140::/32", "135425"}, + {"240e:438:1e40::/34", "4134"}, + {"2800:b40:201::/46", "262220"}, + {"2804:88:8002::/35", "28135"}, + {"2a03:11c0::/32", "199657"}, + {"2001:559:3ec::/48", "33652"}, + {"2401:d800:2aa0::/41", "7552"}, + {"2620:12c:b052::/48", "13448"}, + {"2a04:180::/29", "174"}, + {"2001:559:110::/48", "33657"}, + {"2409:8959:cb54::/37", "56040"}, + {"240a:a6c0::/32", "144378"}, + {"2a00:11c0:77::/48", "42360"}, + {"2a00:8860:700::/40", "210266"}, + {"2a0f:f041::/32", "205715"}, + {"2001:2000:6100::/32", "1299"}, + {"2401:d800:f4d0::/42", "7552"}, + {"2602:fd2c::/48", "398499"}, + {"2a04:5781:2000::/40", "12337"}, + {"2a0a:d6c0:226::/48", "212014"}, + {"2001:559:c0c2::/45", "33657"}, + {"2001:4870::/32", "3549"}, + {"240e:108:30::/41", "4134"}, + {"2800:bf0:8000::/44", "52257"}, + {"2804:84fc:1500::/36", "272550"}, + {"2806:2f0:9343::/42", "17072"}, + {"2a00:1e20::/29", "34661"}, + {"2a02:26f0:b::/43", "20940"}, + {"2a02:26f7:dcc0::/48", "36183"}, + {"2a0d:d040::/29", "197036"}, + {"2001:5a0::/34", "6453"}, + {"2001:67c:266c::/48", "25417"}, + {"2404:bf40:8381::/41", "139084"}, + {"240a:a1fc::/32", "143158"}, + {"240a:a584::/32", "144062"}, + {"2600:6c10:f282::/45", "20115"}, + {"2607:3f80::/32", "32248"}, + {"2620:13a:3000::/44", "14414"}, + {"2001:43f8:11f1::/48", "37282"}, + {"2602:fcd5:2::/47", "399122"}, + {"2a03:90c0:10::/39", "199524"}, + {"2001:559:82fb::/48", "7016"}, + {"2405:fd80:1001::/40", "135391"}, + {"2804:77b0::/32", "271193"}, + {"2a0e:97c0:580::/44", "210662"}, + {"2001:1248:988f::/43", "11172"}, + {"2602:807:6004::/48", "53978"}, + {"2a02:166b::/32", "51088"}, + {"2a03:54c0:1e52::/48", "51762"}, + {"2001:4878:c102::/47", "12222"}, + {"2404:bf40:a141::/48", "7545"}, + {"2409:8c85:aa0c::/48", "56042"}, + {"2602:ff96:1a::/48", "40676"}, + {"2604:a00:2::/43", "19318"}, + {"2800:160:1a8d::/43", "14259"}, + {"2804:5824::/32", "268109"}, + {"2a02:26f7:d181::/46", "20940"}, + {"2a03:5880:105::/32", "12757"}, + {"2a05:6c80::/29", "43366"}, + {"2001:559:c313::/48", "33652"}, + {"2001:fd8:32c0::/42", "132199"}, + {"2409:8019::/34", "134810"}, + {"240a:a75e::/32", "144536"}, + {"2a01:4207::/48", "48149"}, + {"2a02:26f7:e304::/48", "36183"}, + {"2406:3001:22:19::/47", "4657"}, + {"2408:8957:a00::/40", "17622"}, + {"2a07:f840::/29", "201116"}, + {"2600:7800::/28", "22646"}, + {"2800:160:1df7::/44", "14259"}, + {"2803:2a0::/32", "266849"}, + {"2a02:cb43:8006::/48", "20546"}, + {"2a03:b480::/32", "24993"}, + {"2409:803c:2100::/37", "9808"}, + {"2a02:27f0::/32", "4455"}, + {"2001:67c:1b38::/48", "203688"}, + {"2001:13d2:380e::/47", "7303"}, + {"2402:800:72d0::/42", "7552"}, + {"2600:1012:b000::/42", "6167"}, + {"2600:1417:1d::/48", "24319"}, + {"2a02:868:4012::/36", "13247"}, + {"2a02:26f7:ec5d::/42", "20940"}, + {"2001:438:70::/32", "6461"}, + {"2001:559:813a::/45", "7015"}, + {"2600:140f:b::/48", "9498"}, + {"2600:6c3a:72::/45", "20115"}, + {"2804:7598:c020::/34", "271057"}, + {"2806:230:400d::/48", "11888"}, + {"2001:df0:8800::/48", "23901"}, + {"2408:8256:2d7c::/46", "17623"}, + {"2408:8406:8400::/39", "4808"}, + {"2001:480:61::/40", "668"}, + {"2001:dcc:700::/48", "23600"}, + {"2001:1248:98dc::/46", "11172"}, + {"2401:3400:9000::/33", "45352"}, + {"2607:2280::/32", "14487"}, + {"2803:65e0:30::/32", "270034"}, + {"2804:3e10::/32", "266571"}, + {"2a02:6160::/32", "47272"}, + {"240a:accc::/32", "145926"}, + {"2a02:21b2:ac18::/48", "57370"}, + {"2a02:f380::/29", "199516"}, + {"240e:983:1e09::/40", "4134"}, + {"2804:4284:4000::/38", "267505"}, + {"2a04:4e40:6210::/44", "54113"}, + {"2a0d:9bc0::/32", "25540"}, + {"2402:800:c000::/34", "7552"}, + {"2610:88:3::/38", "14037"}, + {"2806:2f0:43e3::/37", "17072"}, + {"2a03:2880:f24d::/43", "32934"}, + {"2a0d:20c0::/29", "200689"}, + {"2401:d800:f8f0::/39", "7552"}, + {"240a:a148::/32", "142978"}, + {"240a:a984::/32", "145086"}, + {"240a:ab8c::/32", "145606"}, + {"2a03:2880:f244::/47", "32934"}, + {"240e:979:4e00::/40", "134770"}, + {"2a02:26f7:c980::/48", "36183"}, + {"2001:559:537::/48", "7016"}, + {"2404:7180:f010::/48", "23848"}, + {"2606:ae00:8800::/35", "7287"}, + {"2804:6cac::/32", "270484"}, + {"2806:230:3002::/48", "265594"}, + {"2a00:2380::/25", "2856"}, + {"2a03:2880:f146::/44", "32934"}, + {"2402:b400:4090::/41", "45960"}, + {"2602:107:110::/48", "10796"}, + {"2620:1d5:c9a::/38", "14773"}, + {"2001:67c:16c0::/48", "5588"}, + {"2801:144::/42", "264835"}, + {"2a02:2090:e400::/48", "48287"}, + {"2a02:6900:8810::/48", "7160"}, + {"2a0d:5f80::/29", "200899"}, + {"2400:9380:9bc0::/44", "136167"}, + {"2401:8040::/32", "136127"}, + {"240a:a4d8::/32", "143890"}, + {"2804:6df8::/32", "270567"}, + {"2a0e:b107:9f4::/48", "20473"}, + {"2604:8c00::/32", "4474"}, + {"2606:4700:9c60::/44", "13335"}, + {"2620:90:8000::/48", "23371"}, + {"2a09:bac0:14::/46", "13335"}, + {"2001:67c:2c78::/48", "9201"}, + {"2604:fb80:901::/37", "15128"}, + {"2001:559:867d::/48", "33652"}, + {"2001:559:c365::/48", "33657"}, + {"2001:df0:9080::/48", "63769"}, + {"2620:171:5d::/48", "42"}, + {"2800:160:1abf::/41", "14259"}, + {"2801:18:e800::/48", "19429"}, + {"2804:5b24::/32", "268821"}, + {"2a00:8100::/32", "9125"}, + {"2a01:a620:9::/48", "56911"}, + {"2a10:a500::/42", "205920"}, + {"2404:2280:124::/47", "24429"}, + {"2801:13:a800::/48", "271809"}, + {"2803:4fe0::/32", "271775"}, + {"2a00:6fa0:3200::/32", "49206"}, + {"2001:250:6002::/45", "23910"}, + {"2401:d800:5e00::/42", "7552"}, + {"2408:8459:2050::/39", "17816"}, + {"240a:a7a4::/32", "144606"}, + {"2a00:cee6:dcd::/32", "60268"}, + {"2a03:25e0:200::/40", "16376"}, + {"2001:5b0:4100::/36", "6621"}, + {"240a:ae98::/32", "146386"}, + {"2803:e0e0::/47", "269852"}, + {"2a05:d050:c040::/44", "16509"}, + {"2001:19e8:d1::/44", "2576"}, + {"2a04:49c0::/32", "60471"}, + {"240e:44d:3a00::/41", "140345"}, + {"2801:80:3d0::/48", "263076"}, + {"2804:17ac::/32", "263164"}, + {"2a02:660::/32", "9125"}, + {"2a02:26f7:f74d::/46", "20940"}, + {"2001:559:125::/48", "7725"}, + {"2400:1f00:b700::/48", "45769"}, + {"2804:2f10::/32", "264869"}, + {"2804:7838::/32", "271228"}, + {"2804:83b0::/32", "272212"}, + {"2a02:26f7:c400::/48", "36183"}, + {"2a02:2808:2601::/48", "35165"}, + {"2a05:41c0::/29", "15600"}, + {"2a10:eb80::/29", "211288"}, + {"2001:550:2608::/36", "174"}, + {"2001:559:c23f::/48", "33662"}, + {"2409:8004:2100::/36", "24547"}, + {"2603:40ff:2000::/36", "10578"}, + {"2605:640f:18fc::/48", "53667"}, + {"2406:5800:800::/38", "45577"}, + {"2602:802:4000::/48", "14038"}, + {"2605:c40::/32", "62668"}, + {"2804:6bf8::/32", "270437"}, + {"2a0c:f000:2000::/48", "205265"}, + {"2403:9f00::/32", "17420"}, + {"240e:44d:7940::/42", "140355"}, + {"2620:0:2d0::/48", "40528"}, + {"2804:5550:200::/33", "263067"}, + {"2001:c38:90a0::/46", "135566"}, + {"2400:fc00:4a10::/42", "45773"}, + {"240e:44d:2a00::/41", "140345"}, + {"2607:ffa8::/32", "21858"}, + {"2a02:1668::/32", "51088"}, + {"2a02:4a40:101::/48", "49528"}, + {"2001:250:4835::/48", "24360"}, + {"2001:2002::/32", "3301"}, + {"2600:6c38:448::/45", "20115"}, + {"2602:fc66::/36", "399771"}, + {"2606:f900:a402::/38", "812"}, + {"2406:bf00:1::/48", "45671"}, + {"240e:96b:600c::/46", "140368"}, + {"2610:20:9147::/48", "3477"}, + {"2804:1d60::/32", "264365"}, + {"2a00:47c0:311::/48", "27435"}, + {"2a02:26f7:fc01::/46", "20940"}, + {"2402:800:589b::/41", "7552"}, + {"2806:230:4040::/48", "265594"}, + {"2a00:1d58:f815::/44", "47524"}, + {"2a02:2230:3200::/39", "25467"}, + {"2a0d:d740:105::/48", "210036"}, + {"2001:559:2dc::/47", "33651"}, + {"2408:8256:3d8b::/48", "17816"}, + {"2408:8957:cf40::/40", "17816"}, + {"2409:8949:9f00::/30", "24445"}, + {"2409:8a04:c300::/34", "24547"}, + {"240a:a1d5::/32", "143119"}, + {"2602:fc9c::/36", "399603"}, + {"2620:fb::/48", "22651"}, + {"2804:ef4:6002::/37", "28642"}, + {"2a02:26f7:c4c4::/48", "36183"}, + {"2602:ffd1:1::/48", "29802"}, + {"240a:a09e::/32", "142808"}, + {"2605:4b40::/32", "26425"}, + {"2800:800:540::/43", "26611"}, + {"2804:4f8:4f01::/34", "28263"}, + {"2a02:26f7:d8c5::/46", "20940"}, + {"2a02:26f7:fb08::/48", "36183"}, + {"2001:559:454::/48", "7922"}, + {"2409:8002:2800::/39", "38019"}, + {"2001:1248:9a4c::/43", "11172"}, + {"2603:fcd0::/26", "397165"}, + {"2804:37f0:a100::/36", "266445"}, + {"2a07:e0c0::/30", "213206"}, + {"2401:fd80:1fd::/48", "43519"}, + {"2607:f148:6002::/36", "11734"}, + {"2804:2fec::/32", "52991"}, + {"2804:6e48::/32", "270586"}, + {"2a03:24c0:ffff::/48", "201342"}, + {"2402:ef2f:13::/48", "7633"}, + {"2803:6ce0:1cb0::/41", "269909"}, + {"240a:a925::/32", "144991"}, + {"240e:1::/37", "17897"}, + {"2600:1418:c001::/31", "20940"}, + {"2800:e0::/28", "13489"}, + {"2803:6c0::/32", "265639"}, + {"2a02:5d8::/32", "8596"}, + {"2a03:8600::/48", "3399"}, + {"2c0f:f3c8::/43", "328112"}, + {"2001:df0:30e::/48", "17547"}, + {"2600:c13::/32", "13791"}, + {"2800:320:9800::/48", "27882"}, + {"2804:4870:4800::/34", "267121"}, + {"2804:7a60:103::/40", "271367"}, + {"2a0e:5040::/29", "58280"}, + {"2600:8807:c782::/41", "22773"}, + {"2605:4840:2::/47", "63473"}, + {"2804:278c::/32", "263908"}, + {"2804:2a5c:c000::/34", "264071"}, + {"2804:2dbc::/32", "265300"}, + {"2804:7ee4::/32", "271653"}, + {"2a00:f30:10::/48", "12418"}, + {"2a02:26f7:ccc4::/48", "36183"}, + {"2001:550:6a03::/37", "174"}, + {"2001:4878:8204::/48", "12222"}, + {"2600:1488:6151::/42", "20940"}, + {"2001:ff0::/32", "9824"}, + {"2409:8c3c::/36", "24444"}, + {"240e:105:f600::/30", "4134"}, + {"2600:c02::/35", "12182"}, + {"2607:fdf0:5f68::/40", "8008"}, + {"2804:1168:2000::/32", "52904"}, + {"2806:266:400::/41", "27672"}, + {"2a0e:cd01:2100::/36", "23031"}, + {"2a11:cc80::/29", "59437"}, + {"2001:678:620::/48", "204388"}, + {"2001:1260:200::/42", "28536"}, + {"2001:42a8:101::/32", "36937"}, + {"2620:0:f0::/48", "26523"}, + {"2804:620::/32", "16735"}, + {"2804:4c54::/32", "267364"}, + {"2a02:26f7:de08::/48", "36183"}, + {"2a02:2e02:1d70::/40", "12479"}, + {"2001:1400:ffee::/48", "9201"}, + {"2001:4ba7::/48", "34936"}, + {"2408:8256:378b::/48", "17816"}, + {"240e:3b1:2200::/37", "136198"}, + {"2a03:aa40::/34", "12843"}, + {"2404:4600:7::/48", "45991"}, + {"2404:4a00:5542:3004::/48", "55423"}, + {"240e:967:e200::/39", "133774"}, + {"2a0e:8f02:2142::/45", "211414"}, + {"2804:72c0::/32", "270873"}, + {"2a0f:8642:b00c::/31", "25682"}, + {"2a11:5800::/29", "204790"}, + {"2001:67c:11bc::/48", "199462"}, + {"2a01:ce8c:9000::/33", "51964"}, + {"2a02:26f7:e7::/48", "20940"}, + {"2001:559:735::/48", "7015"}, + {"2001:df0:2e8::/48", "45896"}, + {"2406:f200::/32", "17534"}, + {"2409:8d80:7000::/32", "9808"}, + {"240a:af94::/32", "146638"}, + {"2804:3c6c::/32", "266210"}, + {"2a02:2c60::/32", "9063"}, + {"2a0d:f600::/29", "202277"}, + {"2001:1388:7bb1::/32", "6147"}, + {"2409:8c85:2020::/47", "9808"}, + {"240a:a047::/32", "142721"}, + {"2600:1404:27::/44", "20940"}, + {"240e:980:4800::/40", "134769"}, + {"2607:f5b0::/32", "19148"}, + {"2800:1e0:1100::/40", "7195"}, + {"2001:67c:1950::/48", "29037"}, + {"2001:4b20:100:57a::/61", "34288"}, + {"2401:d800:610::/42", "7552"}, + {"2a02:26f7:db89::/46", "20940"}, + {"2a02:26f7:e309::/42", "20940"}, + {"2001:520:105a::/48", "8103"}, + {"2408:8459:ce30::/41", "17622"}, + {"2408:8957:2140::/40", "17816"}, + {"2409:8a20:c800::/34", "56046"}, + {"240a:a001::/32", "142651"}, + {"2600:1406:4c00:1::/48", "20940"}, + {"2603:c000::/35", "31898"}, + {"2001:559:40::/48", "7922"}, + {"2001:559:1fb::/48", "33652"}, + {"2001:67c:1928::/48", "12843"}, + {"2402:e380:30d::/48", "138558"}, + {"2602:fdd7::/47", "2635"}, + {"2803:9800:5080::/39", "11664"}, + {"2402:800:b272::/40", "7552"}, + {"2402:2f80::/48", "36351"}, + {"2a01:238::/39", "6724"}, + {"2a0f:9240::/35", "49434"}, + {"2a12:9f40::/29", "400522"}, + {"240e:108:1185::/43", "4134"}, + {"240e:938:a10::/32", "4134"}, + {"2600:380:9800::/37", "20057"}, + {"2804:6240::/32", "269286"}, + {"2a02:2e02:2040::/43", "12479"}, + {"2a04:4e42:28::/45", "54113"}, + {"2a10:b680::/32", "44486"}, + {"2603:fe40::/26", "397165"}, + {"2620:13c:5000::/48", "14856"}, + {"2804:22c:f402::/38", "22689"}, + {"2804:3138:c000::/35", "265000"}, + {"2001:e60:d500::/42", "4766"}, + {"2409:8754:3e00::/32", "9808"}, + {"240a:a1aa::/32", "143076"}, + {"2a00:ac20::/32", "199581"}, + {"2a06:d040::/29", "50785"}, + {"2001:67c:664::/48", "42528"}, + {"2001:da8:1046::/36", "23910"}, + {"2402:d000::/39", "9329"}, + {"2408:8719::/30", "4837"}, + {"240a:ac3f::/32", "145785"}, + {"240c:c803::/32", "24362"}, + {"2605:a404:173::/45", "33363"}, + {"2804:c90:2000::/32", "28198"}, + {"2001:678:408::/48", "47451"}, + {"2400:d580:b0::/47", "131587"}, + {"2409:8055:61::/45", "56040"}, + {"2602:fd51::/36", "13895"}, + {"2001:559:80bb::/48", "19704"}, + {"2001:67c:550::/48", "202068"}, + {"2001:df6:4e80::/48", "141892"}, + {"2001:fd8:f180::/42", "132199"}, + {"2804:1100:3000::/32", "53178"}, + {"2001:506:100::/48", "20115"}, + {"2a0b:8fc1:2000::/32", "49825"}, + {"2607:f368:3220::/48", "46846"}, + {"2001:44b8:309f::/48", "4739"}, + {"2001:550:9c04::/47", "174"}, + {"2001:559:8258::/48", "7015"}, + {"2405:7e00:1000::/36", "17408"}, + {"2804:56dc::/32", "268028"}, + {"2a03:2680::/32", "39444"}, + {"2408:8459:b810::/42", "17623"}, + {"2a01:d8:8::/48", "43489"}, + {"2001:8f0::/30", "3329"}, + {"2800:160:18ed::/39", "14259"}, + {"2c0f:e848::/32", "328633"}, + {"2402:1b80:3100::/32", "63956"}, + {"2600:1419:a401::/36", "20940"}, + {"2607:fd48:106::/44", "13536"}, + {"2a0b:3c80::/29", "16097"}, + {"2a0c:2640::/32", "201750"}, + {"2001:678:b08::/48", "48749"}, + {"2401:1380::/32", "58411"}, + {"2804:2bb8::/32", "265171"}, + {"2a12:9940::/29", "49910"}, + {"2001:da8:b2::/48", "23910"}, + {"2400:dc00:c000::/46", "131111"}, + {"2803:6940:2000::/32", "61512"}, + {"2804:3180:301::/32", "265019"}, + {"2a02:188:1004::/48", "5491"}, + {"2409:804f:2100::/35", "9808"}, + {"2409:8b04::/31", "24547"}, + {"240a:a6c9::/32", "144387"}, + {"2a00:1e10::/29", "12494"}, + {"2a0e:aa06:440::/48", "135671"}, + {"2001:67c:1260::/48", "50398"}, + {"2408:8459:4250::/37", "17816"}, + {"2a02:6c60::/32", "49223"}, + {"2001:559:46c::/47", "7922"}, + {"2403:b840::/32", "138336"}, + {"2803:f7e0:2000::/43", "271773"}, + {"2a07:1b80::/40", "42473"}, + {"2a11:60c0:1::/48", "212217"}, + {"2408:8459:1610::/41", "17622"}, + {"2600:1005:b000::/41", "6167"}, + {"2600:1017:b400::/42", "22394"}, + {"2a02:26f7:f8c8::/48", "36183"}, + {"2401:d800:dbd0::/37", "7552"}, + {"2a0d:c740:3c::/48", "197226"}, + {"2a0f:9400:771d::/48", "53356"}, + {"2408:8956:cf40::/40", "17816"}, + {"240a:a31e::/32", "143448"}, + {"240a:a727::/32", "144481"}, + {"2600:2b00::/28", "6181"}, + {"2001:678:294::/48", "2613"}, + {"2001:67c:13b0::/48", "34953"}, + {"2620:11c:1001::/48", "46764"}, + {"2a03:f80:385::/48", "25467"}, + {"2a0b:2d40:bac4::/33", "209135"}, + {"2c0f:f3c8:11::/42", "328112"}, + {"2400:62a0::/32", "149644"}, + {"2403:3140::/32", "23910"}, + {"240a:a1c6::/32", "143104"}, + {"240a:a204::/32", "143166"}, + {"240a:a2b6::/32", "143344"}, + {"240a:acfc::/32", "145974"}, + {"2803:720::/32", "52317"}, + {"2a0a:c800::/30", "39798"}, + {"2a0b:c306::/32", "9119"}, + {"2001:c20:48c8::/48", "9255"}, + {"2001:d28::/32", "9621"}, + {"2600:1406:5001::/37", "20940"}, + {"2804:37c::/32", "52981"}, + {"2804:2cac:1112::/32", "265234"}, + {"2001:a98:8001::/33", "8517"}, + {"2804:1038::/32", "263625"}, + {"2a02:bc8:38::/29", "8641"}, + {"2001:da8:b80f::/43", "23910"}, + {"2406:2000:ef66::/48", "10310"}, + {"2409:804d:100::/36", "9808"}, + {"2607:f428:9112::/42", "20115"}, + {"2804:18:6040::/44", "10429"}, + {"2001:559:8796::/47", "20214"}, + {"2405:201:5a00::/37", "55836"}, + {"240c:c000::/32", "23910"}, + {"2a0b:4d07:101::/46", "44239"}, + {"2001:470:4f::/48", "271915"}, + {"2407:ba80::/32", "45062"}, + {"2607:f4e8:412::/36", "22822"}, + {"2a00:8a80::/29", "29119"}, + {"2a07:b0c0::/29", "202617"}, + {"2001:250:203b::/40", "23910"}, + {"2001:559:8709::/48", "33668"}, + {"2001:1a68:34::/48", "24723"}, + {"2603:c010:6000::/36", "31898"}, + {"2803:fb00::/32", "262248"}, + {"2a0a:7107:1af4::/48", "206986"}, + {"2a0d:4940::/29", "197706"}, + {"2001:559:81c3::/48", "33491"}, + {"2404:8d02:28c6::/39", "9587"}, + {"2a00:47c0:411::/48", "44568"}, + {"2001:559:8392::/48", "33651"}, + {"2001:67c:2bb4::/48", "207537"}, + {"2001:4878:2055::/48", "35994"}, + {"2408:8957:dac0::/39", "17816"}, + {"2804:3d98::/32", "266541"}, + {"2a02:2578:1301::/45", "51375"}, + {"2001:559:70e::/48", "7922"}, + {"2001:1248:9962::/44", "11172"}, + {"2408:8456:e240::/37", "17816"}, + {"2620:11a:a031::/48", "36040"}, + {"2a02:26f0:c001::/40", "20940"}, + {"2001:678:730::/48", "47869"}, + {"2001:1248:5625::/46", "11172"}, + {"2402:1500::/33", "4819"}, + {"2406:5c0::/32", "140395"}, + {"2801:150::/32", "3132"}, + {"2001:b400:f420::/22", "3462"}, + {"2402:7500:5ce::/42", "24158"}, + {"2403:c00:c00::/46", "17488"}, + {"240a:a144::/32", "142974"}, + {"2604:a040::/32", "38195"}, + {"2001:250:342b::/48", "138393"}, + {"2001:579:4f03::/44", "22773"}, + {"2600:1417:5001::/34", "20940"}, + {"2620:100:a001::/46", "19750"}, + {"2a02:26f7:f2c8::/48", "36183"}, + {"2001:3c8:d109::/48", "138547"}, + {"2402:ef2d:b::/30", "7633"}, + {"2406:6e00:109::/32", "17457"}, + {"2602:804:b000::/47", "397824"}, + {"2603:c002:9310::/37", "31898"}, + {"2605:dd40:8f10::/41", "398549"}, + {"2804:85bc:8000::/36", "272597"}, + {"2806:230:2011::/48", "11888"}, + {"2a09:bac0:268::/48", "13335"}, + {"2600:6c38:165::/44", "20115"}, + {"2001:41d0:fc00::/38", "35540"}, + {"2407:2080::/32", "3064"}, + {"2620:a3::/48", "116"}, + {"2804:7d50::/32", "271553"}, + {"2a0c:e440::/29", "200497"}, + {"2001:67c:280c::/48", "57839"}, + {"2001:da0::/32", "4718"}, + {"2402:f800:df01::/40", "7602"}, + {"2604:8200:98::/48", "23089"}, + {"2606:ec00:1000::/36", "40328"}, + {"2804:45c::/32", "28652"}, + {"2804:375c::/32", "266406"}, + {"2804:3b8c::/32", "266156"}, + {"2804:5210::/32", "268492"}, + {"2401:d800:bd40::/42", "7552"}, + {"2404:bf40:e800::/48", "7545"}, + {"240a:a56c::/32", "144038"}, + {"2620:41::/47", "11017"}, + {"2804:488c:8000::/33", "267128"}, + {"2804:5d28::/32", "268954"}, + {"2a03:9040::/32", "61281"}, + {"2001:559:35c::/48", "33491"}, + {"2001:1248:5b23::/41", "11172"}, + {"2408:8456:9610::/42", "134543"}, + {"240a:aa3d::/32", "145271"}, + {"2602:ffc5:400::/40", "398395"}, + {"2a02:118:2::/48", "43811"}, + {"2804:b38::/32", "52758"}, + {"2804:1dcc::/32", "264394"}, + {"2806:2f0:2483::/43", "22884"}, + {"2a0f:5900::/29", "62412"}, + {"2406:1400:c174::/48", "24342"}, + {"2c0f:1100::/32", "328255"}, + {"2804:1c00::/48", "28274"}, + {"2001:559:80c5::/46", "7922"}, + {"2a02:25e0:7700::/40", "41691"}, + {"2a07:e00::/48", "210083"}, + {"2a00:11e0::/32", "48072"}, + {"2a02:910::/32", "43070"}, + {"2a02:5320:f00::/40", "12189"}, + {"2803:53e0:1003::/45", "52468"}, + {"2804:859c::/32", "272590"}, + {"2a0f:8643:b00b::/48", "212149"}, + {"2001:a88::/32", "8426"}, + {"2401:5400:2010::/33", "4434"}, + {"2409:8959:cf44::/43", "9808"}, + {"240e:108:93::/48", "134768"}, + {"2001:3c8:9009::/48", "9464"}, + {"2001:559:868e::/48", "33490"}, + {"2a09:ca00:1::/29", "49434"}, + {"2001:ac0::/34", "8903"}, + {"2804:72ec::/32", "270884"}, + {"2001:559:40d::/48", "33287"}, + {"2804:65e4::/32", "269521"}, + {"2a0d:5280:f002::/47", "205989"}, + {"2607:8900::/32", "27298"}, + {"2804:6fc:cc01::/38", "28158"}, + {"2804:2910::/48", "263995"}, + {"2a02:7680::/32", "57119"}, + {"2a05:7cc0::/32", "61053"}, + {"2001:4888:8057::/44", "6167"}, + {"2406:7ec0:9::/33", "38074"}, + {"2620:137:d000:1::/64", "394161"}, + {"2803:9800:98d0::/39", "11664"}, + {"2a02:26f7:e04c::/48", "36183"}, + {"2804:1524::/32", "263373"}, + {"2a02:26f0:7901::/38", "20940"}, + {"2a0a:e805:300::/40", "64476"}, + {"2604:87c0::/32", "32267"}, + {"2620:127:7001::/48", "63016"}, + {"2804:3e60:610::/32", "266592"}, + {"2804:6738::/32", "269614"}, + {"2a09:6c80::/32", "43845"}, + {"2404:f4c0:f90a::/48", "139833"}, + {"2408:8456:e810::/42", "134543"}, + {"2a02:cc4:2f0::/44", "8211"}, + {"2001:4878:2321::/45", "12222"}, + {"2600:370f:3648::/42", "32261"}, + {"2a02:2a38:38::/32", "58073"}, + {"2001:559:315::/48", "33489"}, + {"240a:a73a::/32", "144500"}, + {"2600:1406:3a01::/37", "20940"}, + {"2606:97c0::/32", "7018"}, + {"2a02:2808:4101::/48", "196953"}, + {"2a03:28a0::/46", "201650"}, + {"2404:bc0:4000::/43", "137735"}, + {"240e:67c:8400::/38", "140329"}, + {"2602:808:3000::/44", "398883"}, + {"2a02:26f7:df49::/46", "20940"}, + {"2001:44c8:41c0::/42", "45430"}, + {"2408:84f3:3640::/44", "17623"}, + {"2600:1406:3c::/47", "20940"}, + {"2409:8062:2c00::/35", "9808"}, + {"2620:1e:e000::/48", "46701"}, + {"2a02:26f7:cbc0::/48", "36183"}, + {"2401:d800:d50::/42", "7552"}, + {"2620:5c:6000::/48", "27623"}, + {"2001:460:74::/46", "3561"}, + {"2001:503:f3da::/48", "7342"}, + {"2001:1a11:10f::/48", "8781"}, + {"2402:b180:9000::/36", "49544"}, + {"2403:4f80::/32", "131270"}, + {"2408:8256:318d::/43", "17623"}, + {"2408:8459:3610::/41", "17623"}, + {"2408:8957:1100::/38", "17816"}, + {"2a03:5f00:10b::/36", "29644"}, + {"2a09:bac0:464::/48", "13335"}, + {"2a0e:1d80:2::/45", "9009"}, + {"2001:400:201:75::/43", "293"}, + {"2001:559:583::/48", "7015"}, + {"2806:230:3020::/48", "265594"}, + {"2a03:fdc0::/32", "8818"}, + {"2a04:ac40::/29", "60140"}, + {"2a09:6840::/29", "43619"}, + {"2a0b:f4c0::/39", "205100"}, + {"2001:559:85f7::/48", "7016"}, + {"2001:1248:a4c7::/43", "11172"}, + {"2401:c240:6100::/32", "132847"}, + {"240a:a995::/32", "145103"}, + {"2804:7dc::/32", "262329"}, + {"2804:7b74::/32", "271433"}, + {"2a02:e20::/29", "5603"}, + {"2402:6b00::/32", "18126"}, + {"2409:8020:1051::/42", "56046"}, + {"2606:ae00:b000::/39", "7287"}, + {"2606:af40::/32", "40405"}, + {"2804:3ed4:2::/32", "266623"}, + {"2a00:7aa0::/32", "41114"}, + {"2a06:1287:41::/34", "61138"}, + {"2001:559:3e2::/48", "7016"}, + {"2605:b100:f000::/36", "36522"}, + {"2620:4d:402a::/48", "395403"}, + {"2a00:d420::/29", "15600"}, + {"2a02:26f7:16::/48", "36183"}, + {"2a0c:c880::/29", "398465"}, + {"2602:fd50:1::/48", "207609"}, + {"2606:4300::/48", "55045"}, + {"2804:540c::/32", "268625"}, + {"2a00:4800:230::/39", "8717"}, + {"2a01:4a0:57::/35", "201011"}, + {"2a04:c600::/29", "49544"}, + {"2a0b:2c0::/32", "205831"}, + {"2a10:9200::/47", "212441"}, + {"2c0f:f750::/32", "327724"}, + {"2001:6d0:ffd4::/48", "43832"}, + {"2001:f10::/32", "17709"}, + {"2602:fbc7::/40", "400442"}, + {"2604:d600:6ab::/36", "32098"}, + {"2804:1784:ff82::/41", "263152"}, + {"2600:100f:b0d0::/44", "6167"}, + {"2800:440:c5::/48", "27738"}, + {"2804:5fdc::/32", "269128"}, + {"2a03:60c1::/29", "31251"}, + {"2a0a:ce04::/47", "9009"}, + {"2001:559:8370::/48", "7922"}, + {"2001:dce::/47", "23869"}, + {"240a:a7df::/32", "144665"}, + {"240a:ad15::/32", "145999"}, + {"240a:af9c::/32", "146646"}, + {"2600:100f:b0e0::/43", "22394"}, + {"2600:1405:9001::/34", "20940"}, + {"2603:f7f0::/20", "397165"}, + {"2603:fb70::/29", "397165"}, + {"2801:1b8::/45", "28000"}, + {"2804:22a0:500::/36", "264112"}, + {"2a03:9d40:1000::/38", "41095"}, + {"2a0d:6900::/29", "35916"}, + {"2a10:5680::/29", "399975"}, + {"240e:267:3400::/36", "4134"}, + {"2a12:e100:3::/48", "51847"}, + {"2402:8100:20d5::/46", "55644"}, + {"2403:1940:20::/48", "137935"}, + {"2408:8456:6e40::/39", "17816"}, + {"2803:4480:7000::/36", "263189"}, + {"2804:41a4::/32", "267447"}, + {"2a0b:4700::/29", "50628"}, + {"2001:559:c007::/48", "7015"}, + {"2001:44c8:b000::/33", "45430"}, + {"2800:160:12c4::/44", "14259"}, + {"2a0e:97c0:36f::/48", "211484"}, + {"2a0e:ac40::/29", "202966"}, + {"2001:67c:2ea8::/48", "209718"}, + {"2402:3d00::/32", "9597"}, + {"2620:10f:7002::/44", "54765"}, + {"2001:67c:240c::/48", "12552"}, + {"240a:adc6::/32", "146176"}, + {"2804:30b8:caef::/43", "28154"}, + {"2804:4ff4::/32", "268360"}, + {"2a02:fb8::/32", "56329"}, + {"2001:559:35f::/48", "33652"}, + {"2409:804c:3019::/42", "9808"}, + {"2804:2fa0::/32", "264903"}, + {"2a0e:bb80::/30", "58317"}, + {"2001:df7:3d00::/48", "4748"}, + {"2800:bf0:3445::/43", "27947"}, + {"2804:9c4:20::/44", "33182"}, + {"2804:dec::/32", "52527"}, + {"2804:3b6c:a008::/33", "266148"}, + {"2a00:1798::/32", "8426"}, + {"2a02:26f7:cec8::/47", "36183"}, + {"2a05:fb80::/29", "31317"}, + {"2606:b640::/32", "394195"}, + {"2a02:cb80:406a::/45", "43766"}, + {"2a06:e144::/30", "203503"}, + {"2806:230:5008::/48", "265594"}, + {"2a11:880::/29", "60987"}, + {"2001:40b8::/32", "13039"}, + {"2400:b080:452a::/32", "45296"}, + {"2409:8924:3300::/37", "56046"}, + {"2801:1e:4000::/45", "262266"}, + {"2804:4e44::/32", "268250"}, + {"2c0f:f698:f001::/46", "37693"}, + {"240e:678:c200::/39", "140329"}, + {"240e:966:1000::/37", "133775"}, + {"2604:8540:fd01::/48", "33353"}, + {"2a02:26f0:9a00::/48", "34164"}, + {"2804:29f4::/37", "264047"}, + {"2402:1c00:d000::/34", "23838"}, + {"2408:84f3:9e40::/34", "17816"}, + {"2804:1368:ffe::/32", "262808"}, + {"2804:6888::/32", "269699"}, + {"2409:8d71::/29", "9808"}, + {"240a:a3da::/32", "143636"}, + {"2600:1419:1b::/48", "4230"}, + {"2804:a18::/32", "263022"}, + {"2001:4c00:893c::/29", "34695"}, + {"2400:eac0::/32", "5580"}, + {"2402:800:5163::/43", "7552"}, + {"240e:267::/38", "140328"}, + {"2602:fe59:10::/48", "46432"}, + {"2a02:4c00::/39", "12676"}, + {"2a06:a403::/29", "203596"}, + {"2001:559:81b1::/48", "7015"}, + {"2001:559:83fa::/48", "7922"}, + {"2a10:30c0::/30", "208256"}, + {"2001:559:c364::/48", "7016"}, + {"2001:648:2e02::/41", "5408"}, + {"2404:a140:17::/48", "138915"}, + {"240a:a065::/32", "142751"}, + {"2806:10ae:3::/48", "8151"}, + {"2404:4600:8::/48", "10158"}, + {"2409:8062:3002::/48", "139080"}, + {"2804:474::/32", "52980"}, + {"2a06:fdc0::/32", "34971"}, + {"2406:3001:23:2::/30", "4657"}, + {"2607:f348:3596::/32", "13354"}, + {"2620:119:50e3::/44", "14413"}, + {"2804:51d8::/32", "268480"}, + {"2001:448a:6050::/42", "7713"}, + {"2a09:f00:a::/47", "1836"}, + {"2a02:2e02:1e80::/41", "12479"}, + {"2a0b:8bc7::/32", "34420"}, + {"2001:4da8:c020::/34", "28824"}, + {"2402:800:5b01::/44", "7552"}, + {"240a:a7ac::/32", "144614"}, + {"2605:8000::/42", "4261"}, + {"2a0b:aa80::/29", "42669"}, + {"2001:418:8007::/37", "2914"}, + {"2402:92c0::/48", "4847"}, + {"2804:85e0::/32", "272606"}, + {"2a0c:5f00::/32", "20647"}, + {"2001:df7:8d00::/48", "138318"}, + {"2403:8300:80bf::/48", "55423"}, + {"2403:8600:60f0::/47", "45820"}, + {"2620:106:c009::/48", "11039"}, + {"2804:7500::/32", "271017"}, + {"2a0c:b641:16f::/48", "211139"}, + {"2001:4830:c100::/48", "395213"}, + {"2600:140f:d::/46", "9498"}, + {"2603:4:1404::/48", "44273"}, + {"2804:5c40::/32", "268897"}, + {"2a02:7a00:7::/32", "39904"}, + {"240a:a3f6::/32", "143664"}, + {"240a:aef5::/32", "146479"}, + {"2606:e100::/32", "47100"}, + {"2804:43a0:5000::/32", "267580"}, + {"2a02:26f0:cb01::/37", "20940"}, + {"2403:e840::/33", "149175"}, + {"240e:fe:e000::/35", "136199"}, + {"2804:1b00::/32", "61703"}, + {"2806:2f0:8201::/46", "17072"}, + {"2a0f:9400:7820::/46", "147028"}, + {"240a:ab7e::/32", "145592"}, + {"2600:1017:9400::/44", "22394"}, + {"2803:ef20::/48", "266774"}, + {"2a02:e200::/30", "8339"}, + {"2001:470:22::/48", "217"}, + {"2001:678:36c::/48", "3320"}, + {"2408:8459:2030::/41", "17622"}, + {"2804:4f4::/32", "262767"}, + {"2804:8348::/32", "272188"}, + {"240e:3b8::/35", "134773"}, + {"2620:11e:3010::/44", "19541"}, + {"2804:27fc::/32", "263933"}, + {"2a01:a280:101::/46", "21314"}, + {"2803:c000::/32", "264628"}, + {"2804:2ab8:69::/32", "53180"}, + {"2804:5c28:100::/45", "268892"}, + {"2a02:2698:5c00::/38", "41754"}, + {"2a02:26f7:e748::/48", "36183"}, + {"2a0d:5d40::/32", "210094"}, + {"2a11:c900::/29", "199468"}, + {"2a03:f85:8::/48", "60729"}, + {"2001:fd8:1a1::/46", "4775"}, + {"240e:422::/32", "4134"}, + {"2620:119:76::/48", "36692"}, + {"2804:5368::/32", "268582"}, + {"2a06:6540:2003::/48", "397568"}, + {"2400:a980:5500::/36", "133111"}, + {"2804:150::/32", "10954"}, + {"2804:41d0:400::/34", "267458"}, + {"2804:4d3c:1e20::/34", "267420"}, + {"2a02:26f7:d78d::/42", "20940"}, + {"2402:5300:810::/35", "45903"}, + {"240a:a627::/32", "144225"}, + {"2a00:14a8::/32", "35548"}, + {"2a02:26f7:bdc8::/48", "36183"}, + {"2001:559:c0b8::/46", "20214"}, + {"2001:678:6d4::/48", "200019"}, + {"2001:1a11:dc::/42", "42298"}, + {"2001:448a:4030::/41", "7713"}, + {"2a02:26f7:ef81::/46", "20940"}, + {"2001:559:c0fb::/48", "33652"}, + {"2001:df1:c500::/48", "136311"}, + {"2600:1408:e801::/37", "20940"}, + {"2a03:b80::/32", "198859"}, + {"2a03:ca80::/31", "20860"}, + {"2a0c:9a40:808a::/48", "48646"}, + {"2400:9c00::/32", "38880"}, + {"2403:7f00::/34", "56300"}, + {"2409:8914:be00::/39", "56044"}, + {"240a:a901::/32", "144955"}, + {"2607:ffb0:5005::/34", "6327"}, + {"2610:a1:1011::/46", "397228"}, + {"2620:13f:7004::/46", "55706"}, + {"2800:800:a72::/40", "26611"}, + {"2804:14c:5b93::/42", "28573"}, + {"2a00:1c50:1::/48", "30811"}, + {"2405:6d00::/39", "17887"}, + {"240a:a54f::/32", "144009"}, + {"240a:a7ee::/32", "144680"}, + {"2804:1bd8:4600::/36", "28224"}, + {"2a02:26f7:f208::/48", "36183"}, + {"2a02:2e02:9060::/39", "12479"}, + {"2c0f:fc89:76::/44", "36992"}, + {"2001:559:4f8::/48", "33489"}, + {"2001:14b8::/29", "16086"}, + {"2409:8904:5db0::/38", "24547"}, + {"2803:eb40::/32", "264712"}, + {"2001:559:862f::/48", "7922"}, + {"2405:1c0:6571::/46", "55303"}, + {"2607:f110:37::/41", "21889"}, + {"2800:2000::/20", "7303"}, + {"2001:559:1e1::/48", "33657"}, + {"2001:df0:425::/48", "131475"}, + {"2600:141d:8001::/25", "20940"}, + {"2603:f7c0::/26", "397165"}, + {"2607:1a00::/32", "22653"}, + {"2607:ffc0::/32", "18705"}, + {"2804:dd0:1100::/32", "28639"}, + {"2804:82f4::/32", "272167"}, + {"2409:8087:6a47::/44", "9808"}, + {"2604:8000::/32", "21528"}, + {"2620:11c:a002::/47", "26414"}, + {"2803:2180:2::/47", "27941"}, + {"2a00:f680::/32", "50171"}, + {"2a02:26f7:ed44::/48", "36183"}, + {"2001:678:414::/48", "31317"}, + {"2409:805b:2906::/38", "56040"}, + {"2620:103:4000::/44", "13953"}, + {"2a02:26f7:dc00::/48", "36183"}, + {"2620:9f:a000::/48", "400179"}, + {"2a02:26f7:db40::/48", "36183"}, + {"2001:bb0::/29", "5466"}, + {"240a:a4c5::/32", "143871"}, + {"2605:8d80:700::/36", "812"}, + {"2800:260::/31", "19429"}, + {"2a06:c3c0:1::/48", "47596"}, + {"2a0e:b107:1340::/44", "57429"}, + {"240a:a634::/32", "144238"}, + {"240a:a84e::/32", "144776"}, + {"2620:8b:8000::/48", "23307"}, + {"2a02:26f7:f540::/48", "36183"}, + {"2a07:7cc0::/29", "61232"}, + {"2001:559:57b::/45", "7015"}, + {"2001:559:817f::/48", "33489"}, + {"2001:559:c288::/48", "33660"}, + {"2402:93c0:20::/48", "59073"}, + {"2606:45c0:9591::/33", "26073"}, + {"2620:11a:a02f::/43", "43515"}, + {"2804:57ac::/32", "268079"}, + {"2a00:1f50::/32", "196655"}, + {"2001:4980::/33", "7753"}, + {"2402:800:3ae0::/44", "7552"}, + {"240e:964:8800::/38", "133775"}, + {"2803:c80::/32", "263192"}, + {"2a02:d600::/29", "35739"}, + {"2620:1f:8006::/48", "10908"}, + {"2804:5364:e000::/35", "268581"}, + {"2a02:26f7:d548::/48", "36183"}, + {"2a02:26f7:e6c9::/46", "20940"}, + {"2a03:b0a0:1::/46", "39923"}, + {"2001:559:2ed::/48", "7015"}, + {"2600:1403:8c01::/35", "20940"}, + {"2607:f3a0:a002::/48", "399817"}, + {"2620:dc:4000::/40", "22023"}, + {"2804:7c94::/32", "271505"}, + {"2001:678:580::/48", "50873"}, + {"2408:80f1:50::/44", "17621"}, + {"240a:a398::/32", "143570"}, + {"240e:108:9a::/48", "58466"}, + {"2604:1300::/34", "3833"}, + {"2804:3f9c::/32", "265902"}, + {"2a06:a800::/29", "203818"}, + {"2001:559:c339::/48", "7016"}, + {"2803:a3a0::/32", "267750"}, + {"2804:2488:4000::/35", "264228"}, + {"2a00:8a60::/29", "47610"}, + {"2401:d800:94d0::/42", "7552"}, + {"240e:3be:1400::/38", "134773"}, + {"240e:980:9000::/40", "134420"}, + {"2001:558::/31", "7922"}, + {"2408:843c:1600::/34", "140716"}, + {"240a:a29d::/32", "143319"}, + {"2605:8940::/32", "393398"}, + {"2408:8456:ba40::/37", "17816"}, + {"2c0f:1c00::/32", "328802"}, + {"2001:559:c48b::/48", "7015"}, + {"2408:8024:8000::/30", "17621"}, + {"2600:1010:b0c0::/43", "6167"}, + {"2a09:97c0::/48", "34775"}, + {"2605:a401:8627::/41", "33363"}, + {"2a01:4fe0::/32", "57928"}, + {"2a01:c50e:5d00::/34", "12479"}, + {"2a03:402::/32", "29141"}, + {"2a0b:8f80:300::/48", "200746"}, + {"2a0f:ca80::/47", "208046"}, + {"2001:df6:a680::/48", "45679"}, + {"2403:a040:cdef::/48", "38047"}, + {"2406:e740::/48", "140766"}, + {"2801:80:2310::/48", "267130"}, + {"2804:13b0:1c30::/44", "263546"}, + {"2a02:ad80::/29", "15633"}, + {"2a03:db80:4404::/48", "5501"}, + {"2a0a:8bc0::/29", "206021"}, + {"240a:aebe::/32", "146424"}, + {"2806:230:4014::/48", "265594"}, + {"2a04:140::/29", "1764"}, + {"2401:b400:13::/48", "58536"}, + {"2402:d000:1069::/45", "9329"}, + {"240a:a869::/32", "144803"}, + {"2620:121:1000::/48", "394010"}, + {"2804:43d4::/32", "267593"}, + {"2a0b:95c0::/32", "205555"}, + {"2001:550:1703::/48", "397384"}, + {"2001:559:8307::/48", "33490"}, + {"240a:a5cf::/32", "144137"}, + {"2a01:3e0:ff72::/29", "6453"}, + {"2a02:26f7:dbc0::/48", "36183"}, + {"2001:da8:8f01::/40", "23910"}, + {"2605:5000::/32", "20283"}, + {"2001:1248:8438::/41", "11172"}, + {"240e:980:4900::/40", "23724"}, + {"2607:c300::/32", "22915"}, + {"2607:fb58:f003::/36", "36086"}, + {"2a00:1b50::/43", "8343"}, + {"2a05:ae40::/29", "41723"}, + {"2a07:41c0::/32", "62240"}, + {"2001:1838:100b::/40", "23352"}, + {"2401:1f00::/32", "9268"}, + {"2610:128:4300::/32", "11686"}, + {"2001:67c:25b0::/48", "29105"}, + {"2001:1a68:3::/48", "24723"}, + {"2600:1405:d001::/34", "20940"}, + {"2803:5200:2000::/36", "52439"}, + {"2804:7804::/32", "271215"}, + {"2001:559:84ae::/48", "33659"}, + {"2001:559:8532::/48", "7725"}, + {"2001:559:c306::/48", "33662"}, + {"2a02:26f7:e545::/46", "20940"}, + {"2a02:7820::/32", "201873"}, + {"2a04:4e42:7e::/40", "54113"}, + {"2408:8459:9030::/41", "17622"}, + {"2801:80:23d0::/48", "268203"}, + {"2803:b1a0::/32", "267704"}, + {"2804:40c4::/32", "265980"}, + {"2402:1680:a::/48", "7590"}, + {"2409::/48", "142500"}, + {"2600:1fa0:60c0::/44", "16509"}, + {"2607:f8c0:203::/48", "25885"}, + {"2804:110c::/32", "52700"}, + {"2001:559:86e1::/48", "22909"}, + {"2409:805c:5::/36", "9808"}, + {"2001:b18:1017::/48", "47943"}, + {"2402:6640::/45", "134995"}, + {"2409:805c:4100::/36", "9808"}, + {"2a02:26f7:eb44::/48", "36183"}, + {"2a0b:99c0::/29", "207187"}, + {"2001:16a2:c2f0::/46", "39891"}, + {"2001:1948::/32", "210"}, + {"2407:38c0:61::/48", "59204"}, + {"2804:3d28:11::/46", "7063"}, + {"2804:5590::/32", "267942"}, + {"2a02:26f7:c108::/48", "36183"}, + {"2a02:26f7:cd04::/48", "36183"}, + {"2409:8060:3900::/31", "9808"}, + {"2600:1406:8401::/36", "20940"}, + {"2607:fcd0:100:6901::/51", "8100"}, + {"2803:7080::/32", "263172"}, + {"2a03:14e0::/32", "6908"}, + {"2001:67c:190::/48", "198568"}, + {"240e:982:6700::/40", "58563"}, + {"2602:fc60::/40", "33385"}, + {"2620:1b:e000::/48", "394805"}, + {"2a07:3a40::/34", "212734"}, + {"2a05:d480::/29", "57795"}, + {"2a0e:fd45:b52::/42", "44103"}, + {"2001:678:660::/48", "203829"}, + {"2001:678:de8::/48", "212834"}, + {"2408:8256:30a0::/39", "17816"}, + {"2804:e30:7e00::/39", "11338"}, + {"2806:107e:22::/32", "8151"}, + {"2a00:4802:b00::/37", "8717"}, + {"2a0b:4340:3331::/36", "48024"}, + {"2a0f:e401:111::/48", "204307"}, + {"2001:bf6::/32", "29670"}, + {"2401:2d00:c3e6::/44", "17625"}, + {"2401:d800:f1a0::/41", "7552"}, + {"2001:559:43c::/48", "7015"}, + {"2001:559:85ad::/46", "7015"}, + {"2402:5300:2110::/38", "45903"}, + {"2406:da70:2000::/40", "16509"}, + {"2408:805d:1000::/26", "17816"}, + {"2600:6c7f:f000::/48", "20115"}, + {"2600:9000:1106::/44", "16509"}, + {"2604:4500:900::/46", "29802"}, + {"2804:2bdc::/47", "265181"}, + {"2404:3d00:4138::/46", "3573"}, + {"2605:cdc0:11::/48", "398088"}, + {"2620:107:9044::/47", "22787"}, + {"2804:c2c::/32", "28191"}, + {"2806:1018:cc00::/40", "8151"}, + {"2001:4d0:108::/48", "24"}, + {"2600:9000:2159::/42", "16509"}, + {"2804:2140::/35", "53059"}, + {"2001:428:b20::/48", "7359"}, + {"2001:df4:5800::/48", "135885"}, + {"2405:13c0::/32", "135808"}, + {"2600:800::/30", "701"}, + {"2602:ff37::/36", "53981"}, + {"2804:90::/33", "28580"}, + {"2804:231c::/32", "61591"}, + {"2804:61f0::/46", "269266"}, + {"2001:678:888::/48", "209933"}, + {"2604:bf00::/38", "17185"}, + {"2605:5240:4900::/37", "397494"}, + {"2620:149:a17::/48", "714"}, + {"2600:140f:5201::/39", "20940"}, + {"2a02:26f7:c899::/46", "20940"}, + {"2001:559:5df::/48", "33651"}, + {"2401:d800:840::/42", "7552"}, + {"2406:6200:2000::/36", "23756"}, + {"2804:387c::/32", "266481"}, + {"2804:6460::/32", "269424"}, + {"2a02:bf0::/43", "25106"}, + {"2001:d68::/48", "7587"}, + {"2404:3900:1992::/48", "38320"}, + {"240e:108:1280::/44", "4134"}, + {"240e:44d:5380::/41", "4134"}, + {"2800:160:24fc::/46", "14259"}, + {"2804:575c::/32", "268061"}, + {"2a02:ee80:4204::/44", "3573"}, + {"2405:8700:3000::/48", "24168"}, + {"2804:a00:10::/47", "262838"}, + {"2804:4588::/32", "266933"}, + {"2a05:d000:e000::/40", "16509"}, + {"2a06:c07::/32", "59414"}, + {"2a0e:aa07:e500::/48", "147028"}, + {"240a:a101::/32", "142907"}, + {"2600:140b:8c01::/35", "20940"}, + {"2607:cc80::/35", "25664"}, + {"2607:fdb8:2::/47", "30496"}, + {"2804:6bb4:1600::/32", "270418"}, + {"2a02:26f7:d251::/46", "20940"}, + {"2a0b:8480::/29", "25341"}, + {"2a0e:fb46::/32", "51837"}, + {"2600:6c3a:c4d::/46", "20115"}, + {"2a00:139c::/32", "58069"}, + {"2001:67c:173c::/48", "60481"}, + {"2604:cb40::/32", "40020"}, + {"2a02:1397:5000::/40", "21351"}, + {"2a07:6380::/29", "44821"}, + {"2001:468:cc1::/43", "40220"}, + {"2409:8924:2700::/36", "56046"}, + {"240a:a7e8::/32", "144674"}, + {"2607:fc48:bc4b::/48", "40009"}, + {"2804:680c::/32", "269667"}, + {"2a0e:8f02:21a0::/46", "208763"}, + {"2001:400:210:105::/47", "293"}, + {"2401:d800:2eb0::/41", "7552"}, + {"2408:8456:c400::/42", "17622"}, + {"240e:679:e600::/30", "4134"}, + {"2806:20d:3242::/40", "32098"}, + {"2001:559:8118::/48", "33287"}, + {"2402:f840:2::/32", "137883"}, + {"2606:b40::/32", "393445"}, + {"2804:6d80::/32", "270537"}, + {"2a0d:b80::/32", "199971"}, + {"2605:9400::/32", "12042"}, + {"2a02:4bb::/29", "39605"}, + {"2a0e:eec7::/32", "51837"}, + {"2001:559:575::/46", "7016"}, + {"2402:800:7970::/40", "7552"}, + {"2605:f500:8111::/33", "1828"}, + {"2606:ae00:bac0::/37", "7287"}, + {"2804:6544::/32", "269479"}, + {"2a00:e2c0::/32", "6830"}, + {"2a06:2380::/29", "29423"}, + {"2620:18f::/32", "104"}, + {"2804:5eb0::/35", "269050"}, + {"2a02:26f0:f9::/48", "34164"}, + {"2a0b:dc80::/29", "206170"}, + {"2001:67c:258c::/48", "31424"}, + {"2001:df0:2ed::/48", "17932"}, + {"2402:800:99c5::/43", "7552"}, + {"240a:ac0c::/32", "145734"}, + {"2600:370f:9043::/42", "32261"}, + {"2a03:2880:f100::/47", "32934"}, + {"2001:dc7:1::/36", "24151"}, + {"2400:ca00::/39", "23688"}, + {"2604:d600:1570::/46", "32098"}, + {"2800:1e0:1700::/44", "7195"}, + {"2804:b8::/32", "52965"}, + {"2804:2dc8::/32", "265303"}, + {"2406:280::/32", "24372"}, + {"240e:983:1300::/48", "134419"}, + {"2c0f:eb00:1100::/40", "61266"}, + {"2001:559:8584::/47", "33651"}, + {"2400:9380:9050::/47", "4809"}, + {"2a00:11c0:60::/48", "197540"}, + {"2a02:ac80:e1::/43", "25145"}, + {"2001:559:875d::/48", "33287"}, + {"2408:8256:2d76::/48", "17816"}, + {"2c0f:7400::/32", "328720"}, + {"2001:1248:9a6c::/43", "11172"}, + {"2604:1580::/32", "54455"}, + {"2806:2f0:3021::/41", "17072"}, + {"2a0c:b980:1000::/36", "48096"}, + {"2001:67c:27d8::/48", "198494"}, + {"2605:f700:43::/44", "18978"}, + {"2804:8164::/32", "272451"}, + {"2806:230:2046::/48", "265594"}, + {"2806:230:4012::/48", "265594"}, + {"2001:678:70::/48", "57801"}, + {"2409:8028:3053::/40", "56041"}, + {"240e:3ba:1400::/38", "134773"}, + {"240e:44d:6400::/42", "140345"}, + {"2a01:42e0::/35", "29046"}, + {"2a02:40c1::/32", "48635"}, + {"2a0c:b642:1a08::/48", "202297"}, + {"2a0e:97c0:4b0::/44", "210542"}, + {"2001:559:c1b2::/48", "33491"}, + {"2001:728:0:5000::15ec/32", "2914"}, + {"2001:43f8:1070::/48", "328174"}, + {"240e:ff:b000::/36", "4134"}, + {"2600:1007:c04::/32", "22394"}, + {"2800:68:17::/44", "61468"}, + {"2a07:9080::/33", "6758"}, + {"2800:bf0:2900::/45", "52257"}, + {"2804:7390::/32", "270923"}, + {"2a02:26f0:9f01::/34", "20940"}, + {"2a09:7180::/30", "39614"}, + {"2001:43f8:1::/48", "327844"}, + {"240e:438:7020::/43", "140647"}, + {"2620:105:3000::/44", "20109"}, + {"2800:160:1be3::/43", "14259"}, + {"2a04:a470:10::/48", "2116"}, + {"2c0f:ef60::/32", "328346"}, + {"2a00:edc0:100::/44", "62597"}, + {"2401:ab00::/32", "17809"}, + {"2800:160:17de::/42", "14259"}, + {"2001:44b8:205a::/48", "7545"}, + {"2804:e30:be00::/39", "11338"}, + {"2a09:300::/29", "209899"}, + {"2a09:a7c4::/30", "13030"}, + {"2a11:5707:b00b::/48", "212149"}, + {"2001:67c:368::/48", "12509"}, + {"240a:a136::/32", "142960"}, + {"240e:45c:1e00::/40", "131285"}, + {"2620:e7::/48", "398451"}, + {"2a00:1fa2:80c0::/48", "42087"}, + {"2001:418:1401:26::/60", "2914"}, + {"2408:8957:d440::/40", "17622"}, + {"2603:fef0::/23", "397165"}, + {"2a03:8ea0::/32", "21321"}, + {"2a10:4646:1000::/36", "210662"}, + {"2400:cb00:390::/46", "13335"}, + {"2606:3280::/32", "20298"}, + {"2804:2f40:f005::/44", "264880"}, + {"2a03:1980::/40", "48260"}, + {"2a05:aec0::/29", "65540"}, + {"2a0c:a500:50::/40", "209385"}, + {"2001:559:25f::/48", "22258"}, + {"2600:14a0:81::/41", "20940"}, + {"2602:ff2f::/36", "22241"}, + {"2a01:7780::/32", "3225"}, + {"2a02:26f7:b584::/48", "36183"}, + {"2001:250:831::/46", "138182"}, + {"2001:559:1ed::/48", "33651"}, + {"240e:980:8200::/40", "58461"}, + {"2804:1bd8:8100::/36", "28224"}, + {"2a00:f40:1::/46", "43447"}, + {"2a02:26f7:ba81::/46", "20940"}, + {"2a12:4946:1222::/48", "211398"}, + {"2402:5300::/37", "45903"}, + {"240a:a95c::/32", "145046"}, + {"2804:154c:501f::/42", "263382"}, + {"2a02:26f7:db88::/48", "36183"}, + {"2400:3f80::/32", "7664"}, + {"2404:2280:106::/47", "24429"}, + {"2409:8d14:1700::/36", "56044"}, + {"2607:f098:2100::/35", "33363"}, + {"2802:8000::/31", "22927"}, + {"2001:b000:592::/47", "3462"}, + {"2804:4188::/32", "267439"}, + {"2001:559:866f::/48", "33662"}, + {"2001:559:c3c7::/48", "7922"}, + {"2001:559:c3d9::/48", "33650"}, + {"2001:648:2011::/48", "15690"}, + {"2409:804b:290b::/45", "9808"}, + {"2804:14c::/40", "28573"}, + {"2804:3784:2800::/32", "53121"}, + {"2804:37f0:f100::/36", "266445"}, + {"2806:2f0:6101::/46", "17072"}, + {"2c0f:fe38::/47", "33771"}, + {"2804:214:801d::/38", "26615"}, + {"2804:2960::/32", "264011"}, + {"2a02:26f7:f200::/48", "36183"}, + {"2001:559:80::/48", "7015"}, + {"240a:a0c7::/32", "142849"}, + {"240a:a4de::/32", "143896"}, + {"2600:370f:520a::/42", "32261"}, + {"2620:10a:4011::/48", "29792"}, + {"2804:610c::/32", "268347"}, + {"2a02:26f7:9f::/48", "20940"}, + {"2001:559:8340::/48", "7922"}, + {"2801:80:3ec0::/44", "272493"}, + {"2a00:4802:220::/44", "13124"}, + {"2a06:3084::/30", "57075"}, + {"240a:a472::/32", "143788"}, + {"2800:c70:402::/32", "23201"}, + {"2001:df7:8980::/48", "138787"}, + {"2400:fc00:9901::/33", "45773"}, + {"240e:96b:6027::/44", "140377"}, + {"2a01:578::/43", "16509"}, + {"2a0f:48c0::/29", "60781"}, + {"2001:4b8::/32", "14654"}, + {"2600:370f:6048::/42", "32261"}, + {"2607:fb10:7030::/45", "2906"}, + {"2620:0:5080::/48", "26462"}, + {"2001:559:867a::/45", "33651"}, + {"2001:559:c0d8::/48", "33662"}, + {"2001:67c:30::/48", "210961"}, + {"2001:67c:27f8::/48", "51040"}, + {"2405:3200:711::/32", "17639"}, + {"2803:6900:546::/47", "52423"}, + {"2a02:26f7:da49::/42", "20940"}, + {"2001:1900:229b::/48", "63168"}, + {"2401:ee00::/40", "23951"}, + {"2402:e7c0:80::/37", "59078"}, + {"240e:6b4:1000::/32", "4134"}, + {"2600:370f:37e5::/36", "32261"}, + {"2602:fe96::/36", "396502"}, + {"2001:559:7e4::/48", "7922"}, + {"2001:df4:3480::/48", "140905"}, + {"2402:1a80::/32", "134069"}, + {"2408:8344::/35", "140726"}, + {"2408:8957:ea00::/40", "17622"}, + {"2804:3d74:7::/39", "262617"}, + {"2a01:5ec0:9000::/36", "44244"}, + {"240a:a3fc::/32", "143670"}, + {"2600:3c0f:10::/45", "63949"}, + {"2803:9800:a024::/43", "11664"}, + {"2a01:4700::/48", "41151"}, + {"2001:8b0:0:50::/58", "20712"}, + {"2401:d800:9950::/42", "7552"}, + {"2409:801a:3001::/45", "132525"}, + {"240a:a44a::/32", "143748"}, + {"2804:45e4:6100::/35", "262567"}, + {"2600:140f:ec01::/38", "20940"}, + {"2a00:d3a0::/29", "15600"}, + {"2a06:a005:410::/44", "149296"}, + {"2001:559:c2aa::/48", "33651"}, + {"2001:dc8:d000::/48", "38737"}, + {"240a:a577::/32", "144049"}, + {"240e:3b7:c000::/37", "140315"}, + {"2600:9000:236e::/43", "16509"}, + {"2605:3000::/32", "12033"}, + {"2607:fcb8::/32", "6479"}, + {"2a00:6680::/46", "3320"}, + {"2a0c:9080::/29", "57353"}, + {"2001:418:1c01:1::/64", "20940"}, + {"240e:44d:5680::/41", "4134"}, + {"2620:104:2021::/46", "40185"}, + {"2803:d10::/32", "272035"}, + {"2a02:26f7:d205::/46", "20940"}, + {"240e:67a:1000::/37", "140330"}, + {"2600:1010:b1f0::/36", "22394"}, + {"2602:fd89::/36", "55129"}, + {"2400:adc7:3000::/39", "9541"}, + {"2402:8e00:3::/32", "38529"}, + {"240a:a7cf::/32", "144649"}, + {"2604:5e80:20::/48", "1700"}, + {"2804:3edc::/32", "266625"}, + {"2a00:b4a0::/32", "60388"}, + {"2800:4f0:10::/46", "28006"}, + {"2804:103c::/32", "52813"}, + {"2a00:a7c0::/32", "57866"}, + {"2a02:26f7:eb85::/46", "20940"}, + {"2a06:f1c0::/29", "203361"}, + {"2001:559:80b0::/45", "33657"}, + {"2400:fc00:85b0::/38", "45773"}, + {"2409:8055:35::/46", "56040"}, + {"240a:a300::/32", "143418"}, + {"2a09:3702::/32", "49981"}, + {"240e:250:1700::/34", "4134"}, + {"2804:7038::/32", "270713"}, + {"2a04:6580::/29", "6831"}, + {"2a06:a004:1000::/36", "61138"}, + {"2001:559:849b::/48", "7016"}, + {"2001:559:84a5::/46", "7922"}, + {"2001:559:c1b5::/48", "33657"}, + {"2402:db00::/32", "132142"}, + {"2406:e780:eb2::/48", "63677"}, + {"2407:ab00::/48", "45270"}, + {"2801:80:3910::/48", "270530"}, + {"2001:470:60::/48", "50763"}, + {"2402:800:5101::/44", "7552"}, + {"2408:84f3:bc40::/38", "17816"}, + {"2604:6600:2800::/32", "40676"}, + {"2608:4163:1::/48", "5927"}, + {"2803:e880:9001::/34", "52468"}, + {"2a0f:8840::/30", "207840"}, + {"2001:678:d98::/48", "3303"}, + {"2001:7f8:27::/48", "29535"}, + {"2804:214:8731::/41", "26615"}, + {"2a02:e982:53::/48", "19551"}, + {"2a03:8960::/32", "200914"}, + {"240a:aa6c::/32", "145318"}, + {"2602:80a:2005::/46", "14618"}, + {"2804:2ce4:4000::/34", "265249"}, + {"2804:451c::/32", "267673"}, + {"2806:370:4040::/40", "28403"}, + {"2a00:4700::/32", "56357"}, + {"2a0b:2340::/29", "205763"}, + {"2c0f:fcb8::/32", "37323"}, + {"2402:d40::/32", "63850"}, + {"2408:8956:9d00::/40", "17816"}, + {"240e:44d:4080::/41", "4134"}, + {"2804:cb0:d302::/45", "52742"}, + {"2a02:26f7:b401::/46", "20940"}, + {"2001:56a:10::/31", "852"}, + {"2001:1248:9754::/44", "11172"}, + {"2401:4900:4d40::/44", "45609"}, + {"2402:800:5571::/44", "7552"}, + {"2407:a800:3e12::/48", "4713"}, + {"240e:6b3::/35", "136200"}, + {"2806:217::/38", "28394"}, + {"2603:c002:1710::/36", "31898"}, + {"2604:d600:c38::/46", "32098"}, + {"2804:1ab0:8100::/33", "61876"}, + {"2a02:e981:27::/44", "19551"}, + {"2a04:e802:19::/45", "57976"}, + {"2a0d:ed80:300::/40", "6830"}, + {"2400:cb00:f00e::/48", "13335"}, + {"240a:a4fe::/32", "143928"}, + {"2600:140b:4801::/38", "20940"}, + {"2804:1454::/32", "263325"}, + {"2001:12b0::/32", "28618"}, + {"2001:44a0::/32", "2506"}, + {"2001:44b8:3083::/48", "4739"}, + {"2409:8080:2ab0::/41", "9808"}, + {"240a:a2f8::/32", "143410"}, + {"2620:74:22::/45", "7342"}, + {"2804:954:400::/45", "263073"}, + {"2a00:5580::/29", "5564"}, + {"2001:678:a1c::/48", "29001"}, + {"240a:ab4e::/32", "145544"}, + {"2600:6c38:25e::/42", "20115"}, + {"2806:265:300::/37", "13999"}, + {"2a0d:fec0:77::/48", "47481"}, + {"2a10:7cc0::/29", "201086"}, + {"2001:559:8664::/48", "33650"}, + {"2001:559:c2c1::/48", "33287"}, + {"2001:df7:ce00::/48", "135905"}, + {"2001:1840:c0b0::/44", "5400"}, + {"2620:128:e080::/48", "22317"}, + {"2804:22a0:b::/45", "264112"}, + {"2a04:ee40::/29", "15796"}, + {"2001:550:1d05::/48", "9009"}, + {"2408:8459:2440::/40", "17623"}, + {"240a:ac70::/32", "145834"}, + {"2602:fc3b:401::/36", "399970"}, + {"2804:5818::/35", "268106"}, + {"2a00:9f00:b::/45", "29314"}, + {"2a02:bf8:1601::/48", "1654"}, + {"2a02:26f7:c141::/46", "20940"}, + {"2001:43f8:11b0::/48", "327923"}, + {"2001:4408:4d00::/44", "55824"}, + {"2402:9500:d01::/32", "55720"}, + {"2403:c300::/32", "24157"}, + {"2404:bf40:8040::/47", "7545"}, + {"2605:b800:787::/48", "27435"}, + {"2804:67b8::/41", "269646"}, + {"2806:2f0:6003::/42", "17072"}, + {"2a02:26f7:b805::/46", "20940"}, + {"2a0a:31c0::/29", "62098"}, + {"2600:370f:7290::/47", "32261"}, + {"2408:8456:7200::/42", "17622"}, + {"2605:1980:1::/48", "65007"}, + {"2408:8459:1e10::/42", "17623"}, + {"240a:aea5::/32", "146399"}, + {"2801:1e:6800::/48", "14080"}, + {"2a00:18d8::/47", "8697"}, + {"2c0f:f738:2000::/45", "61317"}, + {"2606:2800:410b::/45", "15133"}, + {"2607:f750:3000::/40", "23473"}, + {"2806:230:202a::/48", "265594"}, + {"2a06:8400::/31", "198463"}, + {"2a0a:f780::/29", "49191"}, + {"2001:559:c289::/48", "7922"}, + {"2001:42d0:af00::/40", "33764"}, + {"240a:a54c::/32", "144006"}, + {"2806:230:2036::/48", "265594"}, + {"2a00:9ac0::/32", "198096"}, + {"2a0e:1c80:3::/48", "174"}, + {"240a:a1ae::/32", "143080"}, + {"240a:ad65::/32", "146079"}, + {"240e:438:6240::/37", "4134"}, + {"2803:6900:1400::/48", "52423"}, + {"2806:2f0:43c1::/42", "17072"}, + {"2a09:2dc0::/32", "30860"}, + {"2001:678:81c::/48", "12552"}, + {"2001:c10:ff09::/43", "7473"}, + {"2001:1248:a600::/43", "11172"}, + {"2001:16a2:7d00::/38", "39386"}, + {"2409:8028:90::/41", "56041"}, + {"240a:a71c::/32", "144470"}, + {"2620:11b:e0a6::/43", "3356"}, + {"2804:43b4::/32", "267585"}, + {"2806:20d:3238::/41", "32098"}, + {"2402:4e00::/47", "45090"}, + {"2404:880:26::/48", "38750"}, + {"2804:3100::/32", "264986"}, + {"2a01:8840:ad::/48", "207266"}, + {"2a02:e30:f050::/48", "61056"}, + {"2804:14c:6500::/42", "28573"}, + {"2804:4ebc::/32", "268279"}, + {"2804:72e4:4001::/32", "270882"}, + {"2001:67c:2848::/48", "213100"}, + {"2001:8a0::/32", "3243"}, + {"2408:80ea:7a80::/44", "17623"}, + {"240a:a348::/32", "143490"}, + {"240a:aa4b::/32", "145285"}, + {"2a0c:b642:2fff::/48", "34641"}, + {"2001:559:82bc::/48", "33659"}, + {"2001:dce:4::/48", "23869"}, + {"2804:4cb4::/32", "267386"}, + {"2400:cc00:8b00::/37", "17477"}, + {"2610:e8:8000::/33", "6223"}, + {"2600:370f:74f2::/39", "32261"}, + {"2801:1c8:301::/48", "19429"}, + {"2a02:26f7:bcc9::/46", "20940"}, + {"2a06:a080::/32", "207220"}, + {"2001:df0:ca00::/47", "137442"}, + {"2001:12f8:4::/47", "11644"}, + {"2001:1698::/32", "34683"}, + {"2a04:88c5::/32", "28753"}, + {"2606:6780:8::/48", "20324"}, + {"2804:200::/32", "28187"}, + {"2804:32bc::/32", "265096"}, + {"2a00:7145:c1::/46", "51430"}, + {"2a03:6280::/29", "203936"}, + {"2a05:a884:de20::/48", "7473"}, + {"2001:67c:2358::/48", "39287"}, + {"240a:a08b::/32", "142789"}, + {"2804:2e94::/32", "52780"}, + {"2804:30fc::/46", "263009"}, + {"2804:5848::/32", "268119"}, + {"2806:2f0:3361::/46", "17072"}, + {"2a05:fbe0::/31", "200474"}, + {"2a09:bac0:43::/44", "13335"}, + {"2407:ed00:1f00::/32", "9587"}, + {"2408:8459:ca30::/41", "17622"}, + {"2600:1417:f801::/28", "20940"}, + {"2605:ba40::/32", "60171"}, + {"2620:48:8000::/48", "1767"}, + {"2804:7a10::/32", "271345"}, + {"2a02:26f7:d8::/48", "36183"}, + {"2001:250:814::/48", "23910"}, + {"2001:1430::/32", "29243"}, + {"2409:8053:2000::/47", "56047"}, + {"2602:fec3:f00::/40", "62563"}, + {"2a01:5b0:2c::/47", "8561"}, + {"2001:480:20::/48", "48"}, + {"2001:559:879f::/48", "33662"}, + {"2408:8406:7800::/39", "4808"}, + {"2409:8904:65b0::/38", "24547"}, + {"2602:ffb0:28::/48", "64245"}, + {"2804:714c::/32", "270780"}, + {"2a11:7e05::/32", "206446"}, + {"2400:cb00:90::/48", "13335"}, + {"2409:8054:3d::/46", "56040"}, + {"2a0f:ca00:8002::/48", "209907"}, + {"2804:6c0:700::/43", "262418"}, + {"240e:3bb:7600::/39", "140313"}, + {"240e:44d:7900::/42", "140345"}, + {"2600:100e:f110::/36", "6167"}, + {"2a02:26f7:ce45::/46", "20940"}, + {"2a02:26f7:e084::/48", "36183"}, + {"2a10:2f01:242::/48", "213316"}, + {"2401:d800:220::/41", "7552"}, + {"240e:1f:5000::/36", "58466"}, + {"2800:160:1cfc::/46", "14259"}, + {"2804:2a0:c000::/34", "28272"}, + {"2804:3644::/32", "266338"}, + {"2a00:1d58:fa21::/48", "47524"}, + {"2620:78:c000::/48", "62692"}, + {"2803:8720::/32", "266755"}, + {"2a0b:b840:1::/48", "42167"}, + {"2a0c:4180::/32", "29854"}, + {"2a10:55c0::/29", "206332"}, + {"2001:13d0::/35", "7303"}, + {"2a02:26f7:ea00::/48", "36183"}, + {"2a0e:5800::/29", "212660"}, + {"240a:a1d2::/32", "143116"}, + {"2602:ffc5:152::/47", "7489"}, + {"2804:67ac:13::/32", "269643"}, + {"2001:559:8355::/48", "33287"}, + {"2400:cb00:496::/44", "13335"}, + {"2600:6c10:14d::/43", "20115"}, + {"2605:3040::/32", "12183"}, + {"2a02:6c20:819::/48", "24641"}, + {"2a02:ee80:4227::/44", "3573"}, + {"2a0f:9400:7826::/47", "9833"}, + {"2804:28::/32", "28162"}, + {"2804:c90:2::/35", "28198"}, + {"2404:cb00::/32", "17937"}, + {"2408:8459:9a30::/41", "17622"}, + {"240a:adcd::/32", "146183"}, + {"2804:23e8::/32", "262855"}, + {"2804:269c:fe47::/48", "47065"}, + {"2a02:26f7:da40::/48", "36183"}, + {"2a04:a7c0::/32", "198785"}, + {"2a0d:b201:c0::/42", "206026"}, + {"2a0e:97c3:7bc::/48", "20473"}, + {"2a12:a900:1::/48", "16509"}, + {"2001:4998:171::/44", "10310"}, + {"2401:4900:7010::/44", "45609"}, + {"2620:106:3004::/40", "36671"}, + {"2402:e380:120::/45", "139073"}, + {"240a:aff4::/32", "146734"}, + {"2600:8807:93ce::/42", "22773"}, + {"2a0e:9580::/32", "61381"}, + {"2a10:240::/29", "62240"}, + {"2409:8055:3012::/47", "9808"}, + {"2a00:1228:6::/39", "31148"}, + {"2001:df3:2e80::/45", "9833"}, + {"2001:4490:d7a0::/46", "9829"}, + {"2602:803:4075::/48", "398223"}, + {"2800:bf0:3b81::/42", "27947"}, + {"2402:9900:e11::/48", "27435"}, + {"2602:ff98:140::/38", "63447"}, + {"2a01:410::/46", "30844"}, + {"2a02:26f7:c5cd::/42", "20940"}, + {"2a02:5320:300::/40", "12189"}, + {"2a04:f580:8210::/47", "4134"}, + {"2001:559:81f1::/48", "7015"}, + {"2404:e280::/47", "58866"}, + {"240a:a150::/32", "142986"}, + {"2603:c011:2000::/36", "31898"}, + {"2607:f428:9390::/44", "20115"}, + {"2a01:540::/33", "12389"}, + {"2a06:4e40::/29", "200567"}, + {"2404:138:46::/47", "38299"}, + {"240a:a547::/32", "144001"}, + {"2606:5580:8000::/38", "63242"}, + {"2801:11e:3::/48", "3816"}, + {"2804:6c0:600::/43", "262418"}, + {"2c0f:fa58::/32", "37356"}, + {"2001:da8:244::/48", "24349"}, + {"240e:3bc:9200::/36", "140317"}, + {"2804:7a70::/32", "271371"}, + {"2a01:5300::/32", "2840"}, + {"2001:67c:510:1165::49:2/48", "15486"}, + {"2001:4998:20::/48", "14776"}, + {"2400:54c0::/40", "136352"}, + {"2402:800:6150::/38", "7552"}, + {"240a:adde::/32", "146200"}, + {"240d:c010:64::/48", "139341"}, + {"2607:fb90:c900::/35", "21928"}, + {"2a04:6400:191a::/29", "62240"}, + {"2a0a:b980::/32", "203604"}, + {"2a0c:8d40::/29", "202825"}, + {"2001:559:83dd::/48", "33657"}, + {"2402:b801:400::/35", "18371"}, + {"2405:8a00:2073::/44", "55824"}, + {"2407:19c0::/36", "141519"}, + {"2605:59c2:1000::/39", "36492"}, + {"2a09:d2c1:1::/48", "209669"}, + {"2408:8456:3200::/41", "17623"}, + {"2409:8020:81::/43", "56046"}, + {"2801:1a:4800::/48", "269790"}, + {"2804:898::/32", "262380"}, + {"2a00:1188:f::/48", "8455"}, + {"2a01:8640::/48", "59711"}, + {"2a07:9944:20::/48", "58305"}, + {"2a0e:e080::/32", "42487"}, + {"2408:8459:8650::/36", "17816"}, + {"240a:a796::/32", "144592"}, + {"240a:a918::/32", "144978"}, + {"2800:650:101::/32", "28032"}, + {"2801:80:2800::/40", "262441"}, + {"2001:2000:9000::/40", "3301"}, + {"2603:c0f0:2800::/43", "6142"}, + {"2a01:4520::/32", "25459"}, + {"2a03:f680::/32", "1547"}, + {"2001:67c:1308::/48", "211693"}, + {"2408:8456:4c40::/39", "17816"}, + {"2a02:26f7:b9d1::/42", "20940"}, + {"2600:1488:c041::/42", "20940"}, + {"2804:16f4::/32", "263110"}, + {"2a02:26f7:c5::/48", "20940"}, + {"2a02:26f7:c140::/48", "36183"}, + {"2001:648:25e0::/48", "203348"}, + {"240e:67b:8800::/38", "140330"}, + {"2602:ffb0:27::/48", "32780"}, + {"2a03:8640::/32", "8491"}, + {"2a0e:bf00:161::/31", "202539"}, + {"2001:f20:1000::/48", "9875"}, + {"2401:3400:1000::/33", "45352"}, + {"2402:800:97a9::/43", "7552"}, + {"2605:8040::/32", "398008"}, + {"2806:230:2048::/48", "265594"}, + {"2a00:d28::/32", "31662"}, + {"2001:559:c4ad::/48", "33659"}, + {"2001:67c:16b0::/48", "198093"}, + {"2001:dce:8401::/38", "23869"}, + {"2600:1010:b040::/42", "6167"}, + {"2603:c013:2000::/36", "31898"}, + {"2606:2800:1::/48", "15133"}, + {"2620:15:c000::/48", "7029"}, + {"2804:838::/32", "262359"}, + {"2804:497c::/32", "262896"}, + {"2805:f10:f12::/45", "262182"}, + {"2001:16a2:d000::/37", "39386"}, + {"2400:6180::/48", "14061"}, + {"2408:84e2:4c0::/32", "17621"}, + {"2806:2f0:33a1::/46", "17072"}, + {"2a00:1d58:ac00::/35", "47524"}, + {"2a02:4544:e0::/44", "197207"}, + {"2606:2800:508a::/45", "15133"}, + {"2a02:26f7:f5c5::/46", "20940"}, + {"2a0b:af40::/29", "205543"}, + {"2a02:2788:1000::/32", "12392"}, + {"2a09:ab80::/29", "60733"}, + {"2405:25c0:a100::/40", "131951"}, + {"2406:3002:40:4000::/44", "4657"}, + {"2406:4d00::/48", "23724"}, + {"2600:1002:b050::/40", "22394"}, + {"2607:f348::/34", "13354"}, + {"2804:4390::/34", "28194"}, + {"2001:67c:2c68::/48", "62396"}, + {"2001:1630::/29", "28847"}, + {"2409:8052:3900::/32", "9808"}, + {"240a:a34e::/32", "143496"}, + {"240a:af06::/32", "146496"}, + {"2800:160:11d3::/44", "14259"}, + {"2a0c:4481:8::/47", "204720"}, + {"2001:559:844b::/48", "7922"}, + {"2001:4210::/34", "25818"}, + {"2600:6c7f:9060::/48", "20115"}, + {"2a02:1630::/32", "30848"}, + {"2a0e:41c0::/29", "208566"}, + {"2001:67c:14d8::/48", "61413"}, + {"2001:890::/32", "8447"}, + {"2404:54c0::/32", "17831"}, + {"2406:daa0:4020::/44", "16509"}, + {"2804:e1c::/47", "52545"}, + {"2804:3c20::/32", "266192"}, + {"240a:a663::/32", "144285"}, + {"240a:af8e::/32", "146632"}, + {"2804:6c64::/32", "270465"}, + {"2a01:5400::/32", "12775"}, + {"2a02:101c::/32", "61352"}, + {"2400:b880::/32", "133556"}, + {"2800:510::/32", "28022"}, + {"2804:203c::/32", "264479"}, + {"2804:7fd4::/32", "271712"}, + {"2a01:c00::/26", "6805"}, + {"2a02:26f7:e5::/48", "20940"}, + {"2a03:3460::/32", "207015"}, + {"240a:a14f::/32", "142985"}, + {"240e:16:c800::/48", "38283"}, + {"240a:60:f01e::/48", "9605"}, + {"240e:640:8f00::/33", "4134"}, + {"2606:9100:9000::/36", "1421"}, + {"2620:129:9003::/48", "395506"}, + {"2804:c00:c100::/36", "52655"}, + {"2001:559:2ce::/48", "33659"}, + {"2a02:26f7:b9a8::/48", "36183"}, + {"2a0d:b780::/29", "209549"}, + {"2a0f:3f00::/29", "207902"}, + {"2a11:e487:dead::/48", "212568"}, + {"240a:ae83::/32", "146365"}, + {"2001:438:4a::/48", "399033"}, + {"2001:468:cf0::/44", "40220"}, + {"2001:67c:26f4::/48", "57821"}, + {"2800:b70:11::/48", "262191"}, + {"2804:259c:c000::/34", "52772"}, + {"2804:79fc::/32", "271340"}, + {"2a00:b380::/32", "198471"}, + {"2a02:26f0:d700::/48", "34164"}, + {"2a04:b900::/31", "8587"}, + {"2a04:f400:3000::/48", "36351"}, + {"2600:140b:a400::/48", "24319"}, + {"2605:4cc0::/32", "20257"}, + {"2800:160:2450::/46", "14259"}, + {"2001:67c:184c::/48", "35600"}, + {"2001:12f8:2::/47", "12136"}, + {"2403:7580::/32", "38364"}, + {"2804:2b9c::/32", "265163"}, + {"2a03:7ae0::/32", "200846"}, + {"2405:4000:800:6::/63", "7470"}, + {"2409:8050:3802::/40", "56047"}, + {"2804:4870:1c3::/33", "267121"}, + {"2001:559:c1d2::/48", "33287"}, + {"2001:67c:1b2c::/48", "204074"}, + {"2001:da8:8003::/48", "23910"}, + {"2a10:5f80::/29", "37221"}, + {"2001:df0:ee80::/48", "139298"}, + {"2602:fd6f:aba::/45", "18526"}, + {"2a02:26f7:b600::/47", "36183"}, + {"2001:4878:b220::/48", "12222"}, + {"2001:4998:eff6::/35", "10310"}, + {"2402:5300:4210::/39", "45903"}, + {"2409:8c1f:9000::/34", "9808"}, + {"240e:3bf:1200::/39", "4134"}, + {"2600:1415:5001::/36", "20940"}, + {"2602:801:8000::/46", "208188"}, + {"2607:8280::/45", "27027"}, + {"2804:93c:9000::/33", "52878"}, + {"2804:5010::/32", "268367"}, + {"2804:6a0c:ff00::/40", "270309"}, + {"2400:15a0::/48", "140766"}, + {"2401:d800:5390::/42", "7552"}, + {"240a:add9::/32", "146195"}, + {"240e:18:10::/47", "4811"}, + {"2a01:caa0::/32", "47377"}, + {"240a:60:f000::/44", "9605"}, + {"2620:101:9004::/47", "40934"}, + {"2620:145:400::/48", "12257"}, + {"2804:639c::/32", "269372"}, + {"2804:7b0c::/32", "14463"}, + {"2a01:48a0:4001::/48", "57271"}, + {"2a0d:de80::/29", "8888"}, + {"2001:da8:6001::/48", "23910"}, + {"2a02:26f7:d941::/46", "20940"}, + {"2800:bf0:2a0::/44", "52257"}, + {"2803:7e60::/32", "262186"}, + {"2001:418:143a::/41", "2914"}, + {"2001:678:24c::/48", "59474"}, + {"2800:110:301::/35", "4270"}, + {"2001:559:c26a::/48", "33650"}, + {"240a:a7a1::/32", "144603"}, + {"2801:80:22e0::/48", "267086"}, + {"2409:8014:a::/36", "56044"}, + {"2600:6c38:610::/45", "20115"}, + {"2a02:310::/32", "34106"}, + {"2a0f:ffc0::/29", "207767"}, + {"240a:70:8::/47", "9605"}, + {"240a:a1af::/32", "143081"}, + {"2600:380:ba00::/37", "20057"}, + {"2600:380:d000::/44", "20057"}, + {"2800:160:1f1f::/42", "14259"}, + {"2804:954:72::/40", "263073"}, + {"2804:4ae0:2::/39", "267269"}, + {"2a01:7660:6::/48", "20676"}, + {"2a05:d016::/36", "16509"}, + {"2a07:6e80::/29", "202932"}, + {"2001:67c:13a8::/48", "8613"}, + {"2402:6800:0:3015::/46", "22822"}, + {"2600:4402:c002::/47", "6130"}, + {"2600:8807:8a00::/35", "22773"}, + {"2405:c0:20::/48", "138881"}, + {"240a:a286::/32", "143296"}, + {"2401:cf80:61ee::/43", "55303"}, + {"2408:840c:7700::/40", "17621"}, + {"2804:e8:200::/32", "28280"}, + {"2804:14d:168f::/41", "28573"}, + {"2806:230:203c::/48", "265594"}, + {"2a00:49e0::/32", "199361"}, + {"2001:559:365::/48", "7922"}, + {"2409:8220::/27", "9808"}, + {"240e:3b6:8200::/35", "140316"}, + {"2620:0:480::/48", "28729"}, + {"2a06:1b00:104::/46", "8302"}, + {"2a0a:90c0:20::/44", "11868"}, + {"240e:db:e800::/37", "38283"}, + {"2a02:f98::/32", "33984"}, + {"2001:559:8280::/48", "7016"}, + {"2001:df6:2800::/48", "136639"}, + {"2001:4998:19c::/46", "36646"}, + {"2408:8957:1b40::/40", "17816"}, + {"240a:ad53::/32", "146061"}, + {"2602:ffd5::/36", "26832"}, + {"2604:6040:40::/48", "53698"}, + {"2804:2214:8008::/46", "28177"}, + {"2a02:6b80::/32", "197973"}, + {"2a0f:9400:7500::/47", "210576"}, + {"2600:100e:be1e::/39", "6167"}, + {"2803:9800:9849::/40", "11664"}, + {"2804:80cc:b::/48", "272413"}, + {"2806:230:201e::/48", "265594"}, + {"2a0e:b102:100::/48", "212895"}, + {"2800:bf0:2a82::/42", "27947"}, + {"2804:45dc::/32", "266954"}, + {"2a0f:9407::/32", "62240"}, + {"2001:559:c188::/46", "33287"}, + {"2620:11a:a01d::/46", "43515"}, + {"2a02:26f7:b7c0::/48", "36183"}, + {"240a:a1c8::/32", "143106"}, + {"2806:370:5400::/44", "28403"}, + {"2001:678:f5c::/48", "57483"}, + {"2001:67c:1434::/48", "29560"}, + {"2402:1200:2::/47", "24523"}, + {"2407:bd40:8000::/36", "399686"}, + {"2409:8f18::/31", "134810"}, + {"2600:1410:5001::/34", "20940"}, + {"2620:149:a01::/45", "714"}, + {"2806:2f0:10a1::/48", "17072"}, + {"2a0b:1300:8000::/48", "198018"}, + {"2607:f7a8:1e00::/34", "46887"}, + {"2a02:26f7:bfc5::/46", "20940"}, + {"2a02:26f7:c1c5::/46", "20940"}, + {"2a0d:99c0::/29", "40970"}, + {"2600:380:6900::/35", "20057"}, + {"2620:64::/48", "36811"}, + {"2804:14d:8c81::/44", "28573"}, + {"2a06:c080::/29", "60111"}, + {"2804:26cc::/32", "263858"}, + {"2804:4b38::/32", "267291"}, + {"2804:6e7c::/32", "270600"}, + {"2a0c:ff00:2::/29", "204975"}, + {"2001:559:798::/48", "33287"}, + {"2408:80f1:1c0::/42", "138421"}, + {"2607:f7a8:2a00::/32", "46887"}, + {"2804:4c14:ab01::/35", "267348"}, + {"2a0c:93c0::/43", "212465"}, + {"2001:df6:1e00::/48", "18403"}, + {"2001:1840:c060::/44", "196"}, + {"240a:a422::/32", "143708"}, + {"2604:c040::/32", "21922"}, + {"2a02:4c8:af::/48", "47748"}, + {"2a06:180::/29", "198371"}, + {"2a0e:97c0:570::/44", "210661"}, + {"2001:fd8:b1c0::/42", "132199"}, + {"2403:5400:1810::/48", "7470"}, + {"2600:140b:b001::/38", "20940"}, + {"2a0e:7d40:50::/32", "209833"}, + {"2a0e:b107:df3::/45", "141237"}, + {"2405:2300:ff76::/40", "13443"}, + {"240e:44d:3c80::/41", "4134"}, + {"2600:6c34:20::/48", "33588"}, + {"2a03:6100::/33", "34594"}, + {"2a02:26f7:be8d::/46", "20940"}, + {"2a09:79c0::/34", "208803"}, + {"2a0c:2b80::/29", "208677"}, + {"2001:559:431::/48", "7016"}, + {"2001:559:823d::/48", "33652"}, + {"2408:840c:1a00::/40", "17621"}, + {"2804:7bfc::/32", "271468"}, + {"2400:4ec0:8813::/38", "64300"}, + {"2408:840d::/42", "17621"}, + {"2804:15b8::/32", "52666"}, + {"2001:500:c0::/47", "12041"}, + {"2001:1a11:10::/47", "42298"}, + {"2602:feb4:50::/44", "25961"}, + {"2801:16e:2c::/48", "19429"}, + {"2804:1de8::/32", "17222"}, + {"2a03:1980:d1ff::/38", "48260"}, + {"2001:559:751::/46", "33287"}, + {"2001:ce0:3::/48", "3661"}, + {"2804:12b4::/32", "263493"}, + {"2001:559:1ea::/48", "33287"}, + {"2001:c90::/32", "9595"}, + {"2409:8051:2100::/37", "9808"}, + {"2804:70e4::/32", "270754"}, + {"2400:cb00:a480::/45", "13335"}, + {"240a:adfb::/32", "146229"}, + {"240e:438:8020::/43", "140647"}, + {"240e:978:4100::/36", "4134"}, + {"2620:13e:e000::/48", "29802"}, + {"2806:2f0:4121::/46", "17072"}, + {"2a06:82c4::/48", "39602"}, + {"2a0c:b641:202::/45", "209710"}, + {"2407:2f00:103::/48", "38001"}, + {"2409:8924:6900::/38", "56046"}, + {"240a:acda::/32", "145940"}, + {"2605:4c40:41::/46", "30081"}, + {"2a02:26f7:f900::/48", "36183"}, + {"2a03:82e0:2000::/32", "200991"}, + {"2a07:3500:19d8::/48", "38915"}, + {"2001:1248:a00c::/48", "11172"}, + {"2001:4878:48::/48", "12222"}, + {"2403:ad80:90::/48", "135309"}, + {"2409:807f:2a00::/39", "9808"}, + {"240e:108:10f1::/46", "136197"}, + {"240e:438:2420::/43", "140647"}, + {"2001:559:441::/48", "7015"}, + {"2409:8051:1800::/47", "56047"}, + {"2600:1409:b801::/33", "20940"}, + {"2804:3a38::/32", "53227"}, + {"2a02:cdc6:3075::/39", "59715"}, + {"2a03:1a80::/32", "39878"}, + {"2001:500:3682::/48", "397232"}, + {"2001:1938:2200::/46", "33438"}, + {"2409:896a:2a00::/39", "9808"}, + {"2600:6c10:643::/36", "20115"}, + {"2600:d401:600::/32", "1403"}, + {"2603:4:1704::/48", "44273"}, + {"2a02:730:2001::/35", "29278"}, + {"2402:800:fe20::/41", "7552"}, + {"240e:698:2900::/40", "4134"}, + {"2600:1419:2a01::/37", "20940"}, + {"2804:4f38::/32", "268312"}, + {"2a00:6340:4001::/32", "58299"}, + {"2a09:9240::/29", "35388"}, + {"2a0e:b107:c00::/46", "212888"}, + {"240a:aedb::/32", "146453"}, + {"2607:f358:26::/32", "18779"}, + {"2a00:c020:4000::/36", "199551"}, + {"2604:cac0:133::/45", "11019"}, + {"2804:460c::/32", "266965"}, + {"2a00:1c38::/47", "29014"}, + {"2001:678:e38::/48", "212651"}, + {"2406:9000::/32", "24175"}, + {"2603:c002:a010::/40", "31898"}, + {"2604:8240::/32", "7979"}, + {"2605:a404:218::/42", "33363"}, + {"2a02:28:d::/48", "209024"}, + {"2001:67c:1160::/48", "202539"}, + {"2804:1c1c:3001::/33", "61638"}, + {"2407:79c0::/32", "212744"}, + {"240a:a527::/32", "143969"}, + {"2606:ee00:5::/48", "15102"}, + {"2001:49f0:d0fd::/46", "30058"}, + {"2620:fc:c000::/48", "64241"}, + {"2804:2f4c::/32", "264882"}, + {"2a00:aa40::/32", "15415"}, + {"2a0d:5540::/47", "210269"}, + {"2400:5380::/32", "58910"}, + {"2620:75:a000::/48", "397799"}, + {"2804:7950::/32", "271298"}, + {"2405:ec00:9024::/41", "23955"}, + {"240a:a89b::/32", "144853"}, + {"240a:ac2e::/32", "145768"}, + {"2602:feda:dff::/48", "147071"}, + {"2804:5f00:2::/43", "269070"}, + {"2804:8548::/32", "272569"}, + {"2806:2f0:7221::/46", "17072"}, + {"2806:1016:6::/43", "8151"}, + {"2a02:6c20:81a::/42", "207167"}, + {"2001:559:5da::/47", "21508"}, + {"2001:4200:7801::/32", "2018"}, + {"2408:8957:b300::/40", "17816"}, + {"2409:8904:a640::/39", "24547"}, + {"2600:6c39:1::/45", "20115"}, + {"2603:f070::/29", "396356"}, + {"2605:6c80:11::/48", "397373"}, + {"2a02:26f7:d801::/46", "20940"}, + {"2a09:4380::/32", "41114"}, + {"2a09:4d40::/32", "44812"}, + {"2001:559:8650::/48", "33491"}, + {"2001:559:c44e::/47", "7016"}, + {"2001:830::/32", "61157"}, + {"2001:ee0:302::/45", "135905"}, + {"2402:8400::/46", "17820"}, + {"2406:840:9000::/47", "210041"}, + {"2408:8459:4810::/42", "17623"}, + {"2409:8038:2100::/35", "9808"}, + {"240a:a7f2::/32", "144684"}, + {"2600:6c10:f40b::/45", "20115"}, + {"2806:2f0:3421::/46", "17072"}, + {"2a01:258::/32", "31122"}, + {"2a02:26f7:e10c::/48", "36183"}, + {"2001:40d0::/32", "20912"}, + {"2a01:288:4005::/48", "201642"}, + {"2001:67c:1430::/48", "207076"}, + {"2403:300:a07::/48", "714"}, + {"240a:a4eb::/32", "143909"}, + {"240e:16::/32", "4134"}, + {"240e:438:5420::/43", "140647"}, + {"240e:698:2600::/40", "4134"}, + {"2a02:26f0:c500::/48", "34164"}, + {"2602:808:1000::/40", "398898"}, + {"2a0e:2540::/29", "207902"}, + {"2400:f6c0:600::/32", "136530"}, + {"2620:10a:80e6::/48", "55195"}, + {"2a00:1a90:c000::/34", "33854"}, + {"2a03:db80:4c85::/35", "680"}, + {"2803:4180::/36", "263238"}, + {"2a02:6b40::/32", "44066"}, + {"240a:a0b3::/32", "142829"}, + {"240d:c010:7d::/48", "139341"}, + {"240e:438:5e20::/43", "140647"}, + {"2600:6c38:f3f::/41", "20115"}, + {"2605:d7c1::/29", "53820"}, + {"2800:d302:2::/44", "11830"}, + {"2804:67b8:80::/32", "269646"}, + {"2a03:1d87:2::/32", "31117"}, + {"2a0d:2584:f000::/36", "142566"}, + {"2a10:8e00::/32", "20473"}, + {"2001:250:2424::/47", "24356"}, + {"2001:df0:1700::/48", "136070"}, + {"2001:df4:4480::/48", "140918"}, + {"2409:805c:2100::/36", "9808"}, + {"2600:1901:ffe0::/43", "396982"}, + {"2603:90f5:13::/48", "20115"}, + {"2804:14c:7986::/41", "28573"}, + {"2a05:1e80::/29", "202796"}, + {"2a09:3347::/32", "209509"}, + {"240a:a43c::/32", "143734"}, + {"2001:559:c38f::/48", "33287"}, + {"2405:1c0:7911::/45", "55303"}, + {"2408:8456:ba10::/42", "134543"}, + {"2804:b18:8500::/36", "52941"}, + {"2a01:8b40::/35", "203165"}, + {"2a02:26f7:c4c5::/46", "20940"}, + {"2001:4cb0::/32", "29009"}, + {"2a02:26f7:e7c5::/46", "20940"}, + {"2a04:93c0::/29", "24861"}, + {"2001:67c:82c::/48", "210881"}, + {"2001:4888:8062::/47", "6167"}, + {"2401:c5c0:dfd::/32", "55492"}, + {"2606:2800:4070::/46", "15133"}, + {"2801:15c:2::/48", "10753"}, + {"2804:6fe0::/32", "270690"}, + {"2a02:2090:ec00::/48", "48287"}, + {"2a10:9640::/29", "48329"}, + {"2001:559:c389::/48", "33650"}, + {"2600:141b:1001::/37", "20940"}, + {"2803:600:cacf::/34", "18809"}, + {"2001:df4:d880::/48", "135967"}, + {"2401:5000::/32", "24218"}, + {"2602:804:8000::/40", "54506"}, + {"2606:7e40::/32", "22649"}, + {"2620:106:3000::/46", "36671"}, + {"2620:117:0:e::/64", "10564"}, + {"2a04:7cc0::/29", "62332"}, + {"2600:1407:9800::/48", "35994"}, + {"2602:809:4001::/48", "14995"}, + {"2a05:4741:f::/48", "208393"}, + {"2001:559:5::/44", "7922"}, + {"240a:aee8::/32", "146466"}, + {"2a03:3660:1::/48", "51151"}, + {"2405:7a40::/32", "132808"}, + {"2600:370f:6040::/47", "32261"}, + {"2602:fc22::/36", "396970"}, + {"2a0a:1dc4::/30", "35758"}, + {"2a0f:601::/30", "51044"}, + {"2001:559:69::/46", "33651"}, + {"240a:a602::/32", "144188"}, + {"240e:250:400::/35", "4134"}, + {"2001:559:856e::/48", "33650"}, + {"2408:8956:f140::/40", "17816"}, + {"240a:a9e1::/32", "145179"}, + {"2a03:2880:f220::/47", "32934"}, + {"2a12:e00::/29", "24940"}, + {"2001:4358::/32", "36866"}, + {"2408:84f3:b610::/42", "134543"}, + {"240a:a583::/32", "144061"}, + {"240a:af58::/32", "146578"}, + {"2607:f350::/32", "27630"}, + {"2803:7bc0:2::/34", "266185"}, + {"2804:459c::/32", "266938"}, + {"2a0e:9a40::/29", "58061"}, + {"2a0e:9a80::/29", "56708"}, + {"2a0e:fd45:40fd::/48", "61138"}, + {"2a10:31c4::/30", "398481"}, + {"2001:648:2c31::/40", "5408"}, + {"2001:4050::/32", "6830"}, + {"2408:822e::/27", "4837"}, + {"2804:38b0:301::/37", "266494"}, + {"2a02:26f7:ccc5::/46", "20940"}, + {"2001:559:c330::/47", "7015"}, + {"240a:a68a::/32", "144324"}, + {"2605:aa40:c1e1::/46", "395394"}, + {"2a02:2458::/32", "6908"}, + {"2a04:b540:1000::/34", "42244"}, + {"2402:8100:3000::/42", "45271"}, + {"2600:1415:b001::/36", "20940"}, + {"2804:1b68::/37", "61726"}, + {"2804:4d3c:2080::/36", "267420"}, + {"2806:230:4009::/48", "11888"}, + {"2a02:1338::/32", "43561"}, + {"2001:4878:81e0::/44", "35994"}, + {"2804:1b2c::/35", "61713"}, + {"2a01:4c8:f402::/29", "12576"}, + {"2a03:e0c0::/32", "41960"}, + {"2a11:180::/29", "212714"}, + {"2600:1419:6401::/36", "20940"}, + {"2806:33e::/32", "265573"}, + {"2001:1a68:53::/48", "203756"}, + {"2605:a800:2::/48", "603"}, + {"2806:230:402f::/48", "11888"}, + {"2806:310:1c::/46", "16960"}, + {"2a02:2030::/32", "198252"}, + {"2a04:1bc7::/32", "60982"}, + {"2001:3c8:1601::/48", "38589"}, + {"240a:a431::/32", "143723"}, + {"240e:44d:6d40::/42", "140354"}, + {"2a02:b48:801a::/42", "39572"}, + {"2c0f:f598:6::/47", "327813"}, + {"2001:4d48::/29", "8468"}, + {"240a:a19a::/32", "143060"}, + {"2600:1407:6401::/38", "20940"}, + {"2804:85d4::/32", "272603"}, + {"2a05:3580:2f00::/32", "35807"}, + {"2a0d:ec0::/29", "41709"}, + {"2001:559:360::/48", "33491"}, + {"2406:da00:ff00::/48", "14618"}, + {"2408:8256:377f::/48", "17816"}, + {"2a02:26f0:cb::/48", "2914"}, + {"2001:428:4407::/48", "706"}, + {"2804:338c::/32", "265403"}, + {"2a0f:ec06::/32", "30633"}, + {"240e:804:200::/39", "140636"}, + {"2804:63c::/32", "262571"}, + {"2804:7088::/32", "270732"}, + {"2001:16d8:c006::/43", "16150"}, + {"240a:a62b::/32", "144229"}, + {"2605:a404:b88::/43", "33363"}, + {"2803:80:1005::/32", "61317"}, + {"2806:2f0:99e1::/46", "17072"}, + {"2a02:26f7:be91::/42", "20940"}, + {"2a02:26f7:de00::/48", "36183"}, + {"2001:500:63::/44", "30133"}, + {"2001:559:c455::/48", "7015"}, + {"240a:aa7b::/32", "145333"}, + {"2804:6b4c::/32", "270391"}, + {"2001:4e0:1020::/41", "2381"}, + {"2001:559:80e7::/48", "7922"}, + {"2001:df6:c480::/48", "38254"}, + {"2401:1d00::/32", "38505"}, + {"2402:6940:207::/39", "7645"}, + {"2406:7400:b0::/46", "24309"}, + {"240a:a492::/32", "143820"}, + {"240c:c284::/21", "23910"}, + {"2402:800:7dd0::/42", "7552"}, + {"2402:800:980f::/43", "7552"}, + {"240a:a0d0::/32", "142858"}, + {"2603:c0e0:1210::/39", "54253"}, + {"2001:502:8c25::/48", "7342"}, + {"2401:4900:4a60::/45", "45609"}, + {"2401:7500:fff7::/48", "133296"}, + {"2409:8924:c100::/38", "56046"}, + {"2602:feda:19f::/48", "142025"}, + {"2610:b0:40db::/48", "21433"}, + {"2a03:f4c0::/32", "30781"}, + {"2001:df7:1d80::/48", "142594"}, + {"2001:4918::/32", "7849"}, + {"240a:a697::/32", "144337"}, + {"2605:ec80::/32", "11114"}, + {"2606:a380::/32", "13746"}, + {"2605:9e40::/32", "396304"}, + {"2a09:d4c0::/29", "209070"}, + {"2001:470:157::/48", "6939"}, + {"2001:fd8:3020::/47", "4775"}, + {"2402:8c00:2::/48", "17753"}, + {"240a:a5b0::/32", "144106"}, + {"2801:80:c10::/48", "61880"}, + {"2a02:26f7:b5c1::/46", "20940"}, + {"2409:805e:2100::/36", "9808"}, + {"240a:ac46::/32", "145792"}, + {"240e:965:1000::/37", "133775"}, + {"2600:6c10:fc1a::/38", "20115"}, + {"2a01:8740:5::/48", "212588"}, + {"2400:cb00:133::/48", "395747"}, + {"240a:a751::/32", "144523"}, + {"2801:1d:2800::/48", "262589"}, + {"2806:230:4006::/48", "265594"}, + {"2a03:6947:1900::/40", "61266"}, + {"2001:559:500::/48", "7015"}, + {"2001:559:852c::/48", "7015"}, + {"2804:5898::/32", "268138"}, + {"2804:6c28::/32", "270449"}, + {"2401:e380:7551::/48", "131091"}, + {"2404:4a00:1000::/48", "55423"}, + {"2600:1402:4::/44", "20940"}, + {"2600:3007:1311::/40", "13649"}, + {"2603:c0e8:2000::/39", "1218"}, + {"2620:12c:f00a::/45", "19833"}, + {"2803:980::/32", "263248"}, + {"2804:29f8:3::/48", "264048"}, + {"2a01:200::/32", "25164"}, + {"2600:6000:fd54::/40", "12271"}, + {"2804:2258::/32", "264604"}, + {"2a03:6b00:9::/46", "48832"}, + {"2a06:e881:8700::/45", "210554"}, + {"2406:840:5800::/47", "139317"}, + {"2408:8456:e40::/39", "17816"}, + {"2620:53:a000::/48", "396431"}, + {"2800:160:14d3::/45", "14259"}, + {"2a02:ee80:4295::/44", "3573"}, + {"240a:a4a4::/32", "143838"}, + {"2604:d600:c19::/42", "32098"}, + {"2620:ad:8000::/40", "52127"}, + {"2a02:26f7:c6c0::/47", "36183"}, + {"2001:559:c33f::/48", "33660"}, + {"2409:8030:2c00::/35", "9808"}, + {"240e:3bd:9200::/36", "140317"}, + {"2804:1b84::/32", "61732"}, + {"2804:223c::/32", "264599"}, + {"2a01:90::/40", "29668"}, + {"2404:bf40:e103::/48", "2764"}, + {"2804:1a48::/32", "61850"}, + {"2001:559:8134::/48", "33659"}, + {"2401:8d00:7::/44", "38345"}, + {"2405:cc00:3000::/33", "9471"}, + {"2804:768:4b80::/32", "52977"}, + {"2a02:e00::/32", "29141"}, + {"240e:44d:6580::/41", "4134"}, + {"2406:a3c0::/32", "37922"}, + {"2604:9b00:1800::/38", "14230"}, + {"2606:2580::/32", "393994"}, + {"2620:118:b001::/48", "32110"}, + {"2806:370:9010::/44", "28403"}, + {"2a11:3880::/29", "34734"}, + {"2607:d500:602::/48", "54527"}, + {"240e:44d:1a80::/41", "4134"}, + {"2a02:ac80:b1::/41", "25145"}, + {"2600:1806:411::/48", "16552"}, + {"2804:8cc:1c1::/32", "262394"}, + {"2804:1368:ca6b::/34", "262808"}, + {"2806:2f0:20c1::/48", "22884"}, + {"2a02:26f7:dc0c::/48", "36183"}, + {"2001:559:46e::/48", "7725"}, + {"2001:559:521::/48", "33660"}, + {"2001:df0:68::/48", "45689"}, + {"2405:6e00:440::/44", "133612"}, + {"2408:84f3:ac40::/38", "17816"}, + {"2409:8904:5160::/38", "24547"}, + {"2607:b600:4::/46", "10397"}, + {"2804:2868:40::/32", "263961"}, + {"2a02:26f7:e144::/48", "36183"}, + {"2a04:4e40:e00::/48", "54113"}, + {"2a09:4b44:e::/30", "61317"}, + {"2001:c20:487c::/47", "3758"}, + {"2001:df0:fc0::/48", "137165"}, + {"2403:3800:1300::/33", "4007"}, + {"240a:a094::/32", "142798"}, + {"2a02:26f7:b8c4::/48", "36183"}, + {"2a0e:8b40::/29", "205614"}, + {"2604:fb80:f001::/46", "15128"}, + {"2a04:dec0::/29", "60044"}, + {"2001:1908::/32", "7029"}, + {"2408:8459:1410::/41", "17622"}, + {"2604:880:60::/48", "29802"}, + {"2607:f738:d00::/40", "17184"}, + {"2804:a94::/32", "262572"}, + {"2602:fc62:ee::/47", "399760"}, + {"2605:90c0::/32", "15221"}, + {"2803:a8a0::/32", "266802"}, + {"2a02:2864::/30", "25255"}, + {"2c0f:fcc8::/32", "37154"}, + {"2404:0:6000::/36", "24155"}, + {"2602:ff93:5000::/36", "26968"}, + {"2a00:47c0:811::/48", "27435"}, + {"2a02:26f7:c00c::/48", "36183"}, + {"2001:253:109::/48", "142075"}, + {"2401:1d40:3f00::/48", "58466"}, + {"240a:a6b0::/32", "144362"}, + {"2604:b0c0::/32", "54501"}, + {"2a09:3704::/32", "62240"}, + {"2001:ae8::/32", "9080"}, + {"2408:840c:2b00::/40", "17621"}, + {"240e:67a:c200::/39", "140329"}, + {"2600:6c10:f24d::/43", "20115"}, + {"2620:11:a000::/48", "41625"}, + {"2001:fd8:f270::/44", "4775"}, + {"2620:51:c000::/48", "25861"}, + {"2804:7f7:2000::/33", "18881"}, + {"2a01:cd00:8040::/48", "28708"}, + {"2a0a:d6c0:efff::/48", "61423"}, + {"2404:a800:3101::/33", "9498"}, + {"240e:a51:6400::/30", "4134"}, + {"2600:380:ec10::/41", "7018"}, + {"2408:8957:21c0::/38", "17622"}, + {"2600:6c38:88a::/43", "20115"}, + {"2600:cc01:e100::/35", "32298"}, + {"2801:17:4800::/48", "27951"}, + {"2a04:7580::/29", "9199"}, + {"2001:448a:6030::/41", "7713"}, + {"2600:6c10:f342::/45", "20115"}, + {"2800:110:11::/38", "4270"}, + {"2806:108e:21::/46", "8151"}, + {"2a02:26f7:bccd::/46", "20940"}, + {"2a02:e220::/30", "61094"}, + {"2001:559:50f::/43", "7922"}, + {"2402:800:3ce0::/39", "7552"}, + {"2408:840c:ab00::/40", "17621"}, + {"240a:a79b::/32", "144597"}, + {"2001:559:5f1::/48", "33659"}, + {"2001:4998:efec::/43", "10310"}, + {"2402:4e00:5::/46", "45090"}, + {"2600:1404:6c01::/35", "20940"}, + {"2001:ee0:362::/43", "135905"}, + {"2402:a0c0::/47", "137922"}, + {"2404:e100:4004::/46", "133840"}, + {"2408:8456:c900::/42", "17622"}, + {"240a:a648::/32", "144258"}, + {"240e:983:1e00::/48", "58466"}, + {"2600:40ff:ff12::/40", "701"}, + {"2804:768c::/32", "271119"}, + {"2a00:eec0::/32", "3292"}, + {"2a02:68::/29", "21396"}, + {"2a07:4840::/48", "64245"}, + {"2c0f:ee68::/32", "328271"}, + {"240a:ad31::/32", "146027"}, + {"2a04:4e40:c800::/48", "54113"}, + {"2001:1310:3121::/48", "26610"}, + {"2400:cb00:171::/48", "395747"}, + {"2402:7ac0::/32", "137316"}, + {"2407:2440:1::/44", "139057"}, + {"2a02:26f7:f40c::/48", "36183"}, + {"2001:44b8:30b0::/48", "7545"}, + {"2404:3d00:40f8::/47", "3573"}, + {"2600:370f:30c0::/46", "32261"}, + {"2804:3400::/32", "265430"}, + {"2a01:c50e:ca00::/37", "12479"}, + {"2a02:26f7:e189::/42", "20940"}, + {"2a0f:93c0::/31", "62240"}, + {"2001:559:78a::/48", "7922"}, + {"2401:7940::/32", "134971"}, + {"2401:d800:2e12::/41", "7552"}, + {"2a0c:1580::/29", "204860"}, + {"2804:314:4019::/42", "61568"}, + {"2a01:8840:10::/48", "12041"}, + {"2a04:4e40:2010::/41", "54113"}, + {"2a0f:a01::/46", "30633"}, + {"2001:559:c193::/48", "33489"}, + {"2001:18e8:500::/38", "19782"}, + {"2401:7000::/33", "45177"}, + {"2409:8924:1900::/37", "56046"}, + {"2607:9200::/32", "19009"}, + {"2a00:1020::/45", "24739"}, + {"2a0a:d1c0::/29", "15600"}, + {"2a0c:700::/36", "204515"}, + {"2a0e:2c40:20::/29", "50581"}, + {"2001:559:864b::/48", "7015"}, + {"2001:d08:b0::/34", "9534"}, + {"2401:640:2110::/48", "134844"}, + {"240a:aaa9::/32", "145379"}, + {"2804:108c:d700::/34", "28146"}, + {"2804:16d8:8000::/34", "262729"}, + {"2a04:4343::/29", "61349"}, + {"2404:dd00::/32", "58687"}, + {"2620:a9:4000::/48", "3356"}, + {"2803:7680::/32", "22541"}, + {"2804:14d:5821::/46", "28573"}, + {"2a00:1590::/32", "9051"}, + {"2a0e:aa06:480::/44", "207454"}, + {"2a0f:b400::/44", "60781"}, + {"2001:ee0:ef00::/40", "45899"}, + {"2408:84f3:aa10::/42", "134543"}, + {"2600:140b:1000::/48", "17511"}, + {"2804:1a3c::/32", "61847"}, + {"2804:2068::/32", "262470"}, + {"2804:5d9c::/32", "268982"}, + {"2a09:d2c0::/32", "49181"}, + {"2001:559:c253::/48", "7725"}, + {"2001:4888:1a::/47", "22394"}, + {"240a:a9c8::/32", "145154"}, + {"2804:514::/32", "262490"}, + {"2400:c640:81::/36", "136406"}, + {"2602:ffb7:d00::/40", "62874"}, + {"2a03:2880:f138::/46", "32934"}, + {"2001:559:8266::/48", "33651"}, + {"2001:678:798::/48", "201734"}, + {"2404:0:8000::/42", "131591"}, + {"2405:6d00:105::/32", "17887"}, + {"2800:160:182a::/45", "14259"}, + {"2800:2a0:7101::/32", "27947"}, + {"2a02:2298:8000::/36", "15544"}, + {"2001:559:8388::/48", "7922"}, + {"2001:559:859c::/48", "33287"}, + {"2605:5080:5031::/32", "3367"}, + {"2607:fc48:1010::/48", "40009"}, + {"2806:262:300::/37", "13999"}, + {"2806:2d0:1::/48", "263114"}, + {"2401:d640::/32", "132168"}, + {"240a:ad36::/32", "146032"}, + {"240e:44d:4c80::/41", "4134"}, + {"2600:6c2e::/42", "20115"}, + {"2600:6c33:218::/48", "11351"}, + {"2602:107:2d10::/48", "20115"}, + {"2a02:26f7:dac1::/46", "20940"}, + {"2001:559:23e::/47", "7015"}, + {"2804:77ec::/32", "271208"}, + {"2806:370:9120::/43", "28403"}, + {"2a0c:b641:730::/44", "207338"}, + {"2001:559:8564::/48", "33652"}, + {"2001:ce0:7::/48", "3363"}, + {"2001:df3:bc00::/48", "59113"}, + {"2402:800:361d::/42", "7552"}, + {"2001:559:804f::/48", "20214"}, + {"2001:559:8052::/47", "20214"}, + {"2001:16e8:2::/35", "25542"}, + {"240e:62:f000::/36", "4134"}, + {"2a02:26f7:f8d5::/46", "20940"}, + {"2a0c:1f40::/29", "49191"}, + {"2a0f:9400:7a0a::/48", "135395"}, + {"240e:228::/25", "4134"}, + {"2607:3580::/32", "33452"}, + {"2400:c540:c000::/38", "59238"}, + {"2804:14c:5fe0::/44", "28573"}, + {"2804:2d40::/32", "265269"}, + {"2804:5134::/32", "268437"}, + {"2a12:6f47::/32", "148996"}, + {"2c0f:5e00::/32", "328843"}, + {"2001:559:c01e::/48", "7922"}, + {"2001:4de0:200::/40", "33438"}, + {"2620:74:f::/48", "29403"}, + {"2804:e8:8100::/33", "28280"}, + {"2804:80dc::/32", "272417"}, + {"2a04:4e40:a10::/41", "54113"}, + {"2001:559:4ab::/48", "33287"}, + {"2a02:750:11::/45", "42708"}, + {"2408:8456:840::/39", "17816"}, + {"2603:c020:c000::/35", "31898"}, + {"2604:c880:d000::/34", "46455"}, + {"2a01:7c00::/43", "52075"}, + {"2a01:8840:b2::/45", "12041"}, + {"2a02:26f7:be50::/48", "36183"}, + {"2404:bf40:c181::/48", "2764"}, + {"2405:9800:f001::/44", "45430"}, + {"2a00:9b60::/40", "48635"}, + {"2a01:8840:21::/48", "207266"}, + {"2a02:578:6c00::/38", "9031"}, + {"2a0e:3840:4::/48", "40676"}, + {"2001:3c8:130b::/37", "4621"}, + {"2001:559:844a::/48", "33491"}, + {"2405:1c0:6851::/46", "55303"}, + {"2600:9000:1152::/48", "16509"}, + {"2803:9800:a849::/40", "11664"}, + {"2804:18:1810::/44", "10429"}, + {"2c0f:ef78:11::/48", "63293"}, + {"2602:feda:cf0::/44", "212528"}, + {"2a09:5040::/48", "209562"}, + {"2400:7400:3c::/41", "38044"}, + {"240e:3b8:5600::/34", "4134"}, + {"2600:1406:b::/43", "20940"}, + {"2804:a14:3012::/32", "262342"}, + {"240a:a9c3::/32", "145149"}, + {"2606:e280::/32", "46687"}, + {"2a00:fda0::/32", "62365"}, + {"2400:dcc0:a304::/37", "38631"}, + {"2a02:4f00::/32", "44212"}, + {"2a04:4e40:dc00::/48", "54113"}, + {"2a0c:da81::/30", "208861"}, + {"2001:250:c10::/48", "23910"}, + {"2001:578:10b::/45", "22773"}, + {"2800:160:1b32::/45", "14259"}, + {"2806:2f0:3401::/46", "17072"}, + {"2c0e:0:501::/25", "24863"}, + {"2001:978:9400:1::/36", "174"}, + {"2409:804c:1100::/36", "9808"}, + {"240e:103:8b30::/33", "4134"}, + {"240e:108:11a3::/44", "4134"}, + {"2605:a401:8def::/43", "33363"}, + {"2605:a408:4f::/32", "33363"}, + {"2804:1a34::/32", "61845"}, + {"2804:3008::/32", "264927"}, + {"2804:61a8::/32", "269248"}, + {"2a0c:5247:6000::/36", "208861"}, + {"2001:559:853c::/47", "7015"}, + {"2001:da8:ac::/48", "24349"}, + {"2403:9a00::/32", "7505"}, + {"2408:8256:3888::/48", "17816"}, + {"2409:805f:1900::/34", "9808"}, + {"2604:8c0::/32", "209"}, + {"2804:36f0:2400::/33", "266381"}, + {"2a00:1728:30::/48", "42446"}, + {"2001:559:157::/48", "33491"}, + {"2403:6a40::/48", "135967"}, + {"2a02:788::/47", "12843"}, + {"2a0a:1780::/29", "206784"}, + {"2a0b:c900::/29", "206836"}, + {"2001:678:97c::/48", "49697"}, + {"2401:89c0::/48", "137443"}, + {"240e:87c:700::/36", "137692"}, + {"2605:f440:54::/33", "54874"}, + {"2607:fcf0:9100::/33", "13445"}, + {"2400:fc00:8020::/43", "45773"}, + {"2403:1000:3100::/40", "38819"}, + {"2409:8c20:81b::/38", "56046"}, + {"2a01:6960::/32", "39542"}, + {"2a02:ff0:10f3::/44", "12735"}, + {"2a04:29c7::/32", "42821"}, + {"2408:8459:a010::/42", "17623"}, + {"2604:6e00::/37", "13977"}, + {"2804:697c::/32", "270273"}, + {"2806:2f0:2100::/48", "17072"}, + {"2a01:c50f:eec0::/35", "12479"}, + {"2402:ecc0::/32", "58507"}, + {"240a:adcf::/32", "146185"}, + {"2a06:a640::/29", "212144"}, + {"2001:559:c0d4::/47", "7922"}, + {"2001:df4:5f00::/47", "134033"}, + {"2a09:7140::/29", "50628"}, + {"2001:df0:2e4::/48", "18123"}, + {"2409:8924:4d00::/38", "56046"}, + {"2604:e7c0:1::/48", "14821"}, + {"2800:bf0:8030::/44", "27947"}, + {"2804:6bf0::/33", "270435"}, + {"2a02:6604:4::/30", "5377"}, + {"2a0e:7200::/40", "35112"}, + {"2001:678:5ec::/48", "39617"}, + {"2404:8d06:a000::/40", "133543"}, + {"2407:7a80:23::/45", "132384"}, + {"2a00:1288:88::/48", "203070"}, + {"2a02:a800::/26", "6739"}, + {"2a03:5ae0::/32", "49944"}, + {"240a:a232::/32", "143212"}, + {"240e:db:f800::/48", "38283"}, + {"2605:a401:80a5::/43", "33363"}, + {"2802:8010::/30", "22927"}, + {"2a0f:fe80::/29", "60262"}, + {"2001:67c:204c::/48", "34816"}, + {"2001:dd8:17::/44", "30133"}, + {"2001:fd0::/44", "10029"}, + {"2405:9000::/44", "7474"}, + {"2409:8000:3800::/40", "56048"}, + {"2606:2800:4a18::/46", "15133"}, + {"2800:160:264c::/39", "14259"}, + {"2001:67c:628::/48", "28727"}, + {"2001:4de0:2106::/38", "33438"}, + {"2804:a28:c000::/34", "263026"}, + {"2804:4ee0::/32", "268288"}, + {"2804:53cc::/32", "268607"}, + {"2405:1c0:6a81::/48", "55303"}, + {"2801:122::/40", "3816"}, + {"2a02:6a0:4ffe::/47", "4410"}, + {"2a0f:3104::/32", "56694"}, + {"240e:67b:800::/37", "140329"}, + {"2600:1406:2e01::/35", "20940"}, + {"2800:a40::/42", "22080"}, + {"2803:d60::/46", "269774"}, + {"2001:678:388::/48", "206373"}, + {"2408:8459:3810::/41", "17623"}, + {"240a:a954::/32", "145038"}, + {"2604:1500::/32", "35843"}, + {"2a04:f800::/29", "201776"}, + {"2a05:d050:4080::/44", "16509"}, + {"2a0d:82c3::/29", "47787"}, + {"2a0f:d00::/32", "41114"}, + {"2607:4a00::/32", "36316"}, + {"2001:559:c25a::/45", "20214"}, + {"2001:67c:2f0::/48", "51395"}, + {"2408:8456:1c40::/40", "17816"}, + {"2409:4055:5000::/30", "55836"}, + {"2a02:2e02:1a0::/38", "12479"}, + {"2405:1c0:6681::/46", "55303"}, + {"2409:8904:5940::/42", "24547"}, + {"240a:a04d::/32", "142727"}, + {"2607:f148::/48", "11734"}, + {"2804:14c:bd00::/40", "28573"}, + {"2a0b:1905::/30", "57878"}, + {"2a12:5300::/29", "204790"}, + {"2001:559:854b::/48", "22909"}, + {"2001:db0:7000::/32", "17766"}, + {"2001:df2:e380::/48", "140224"}, + {"2001:44c8:132::/35", "45430"}, + {"2604:3680::/32", "10279"}, + {"2606:2800:4a8a::/48", "15133"}, + {"2607:fc40::/32", "13433"}, + {"2620:13e:500a::/48", "206885"}, + {"2a06:6080::/40", "204180"}, + {"2400:46e0::/32", "63878"}, + {"2403:9800:b060::/45", "4771"}, + {"2600:1011:b030::/41", "6167"}, + {"2600:6c38:c2d::/46", "20115"}, + {"2804:3078::/32", "264953"}, + {"2001:250:81b::/48", "23910"}, + {"240a:a665::/32", "144287"}, + {"2a00:1a28:1107::/41", "42708"}, + {"2a03:1b80:d::/32", "18705"}, + {"2a04:7700::/29", "207203"}, + {"2001:678:a10::/48", "204526"}, + {"2804:4600::/32", "266961"}, + {"2a01:6780:1::/48", "15743"}, + {"2a02:26f7:cc::/48", "36183"}, + {"2001:4490:4400::/40", "9829"}, + {"2405:9800:b640::/36", "45430"}, + {"240a:aa9b::/32", "145365"}, + {"2804:14d:2a82::/47", "28573"}, + {"2a02:26f0:31::/46", "20940"}, + {"240a:a762::/32", "144540"}, + {"2600:6c20:3d::/46", "20115"}, + {"2605:a000:c0e::/48", "11955"}, + {"2607:b80::/46", "30247"}, + {"2800:bf0:81c5::/44", "27947"}, + {"2a02:26f7:58::/48", "36183"}, + {"2409:8c62:e10::/44", "139080"}, + {"2409:8054:39::/46", "56040"}, + {"2600:140b:5::/48", "24319"}, + {"2001:250:5838::/47", "24363"}, + {"240a:a345::/32", "143487"}, + {"2604:3cc0:1020::/44", "396298"}, + {"2607:f108:4700::/36", "29838"}, + {"2610:a1:3014::/48", "12008"}, + {"2a04:5b82::/44", "202265"}, + {"2001:1270:2000::/35", "22908"}, + {"2400:c540:c841::/37", "59238"}, + {"240a:a888::/32", "144834"}, + {"2804:14c:5fc1::/43", "28573"}, + {"2804:73a8::/32", "270929"}, + {"2a02:26f7:d380::/48", "36183"}, + {"2a06:5b80::/29", "207083"}, + {"2408:84f3:f840::/44", "17623"}, + {"240e:328::/32", "17638"}, + {"2620:149:241::/45", "714"}, + {"2803:de40::/32", "27879"}, + {"2804:5264::/32", "268515"}, + {"2a02:2b88::/32", "197019"}, + {"2001:559:86da::/48", "33287"}, + {"2403:9800:2::/43", "4648"}, + {"2403:fa40:1::/48", "49544"}, + {"240a:af62::/32", "146588"}, + {"2607:fdc0::/39", "20326"}, + {"2a02:88d:8120::/44", "48695"}, + {"2402:c800:ff74::/44", "38639"}, + {"2600:1407:6::/44", "20940"}, + {"2602:fced::/36", "398992"}, + {"2804:1044::/32", "263627"}, + {"2a02:26f7:f800::/48", "36183"}, + {"2a07:290a::/32", "559"}, + {"2001:67c:1b50::/48", "211879"}, + {"2001:67c:2d9c::/48", "29436"}, + {"2401:4440::/32", "58945"}, + {"2402:5700::/32", "56111"}, + {"2404:b180:1006::/32", "135310"}, + {"2603:8000::/28", "20001"}, + {"2a04:2e00::/29", "60751"}, + {"2a09:8340::/47", "42275"}, + {"2a0d:5642:113::/48", "48386"}, + {"240a:aea0::/32", "146394"}, + {"2a0e:1b80:3::/48", "54201"}, + {"2800:160:1a88::/47", "14259"}, + {"2a01:8840:69::/48", "207266"}, + {"2a02:ad8:24::/41", "12389"}, + {"2a0a:e5c1:400::/40", "209898"}, + {"2a0c:7080::/29", "18779"}, + {"2001:d08:2800::/32", "9534"}, + {"2001:4408:1101::/33", "4758"}, + {"240a:a338::/32", "143474"}, + {"2806:370:7070::/40", "28403"}, + {"2a02:2808:2001::/48", "47909"}, + {"2a04:1b00:2::/47", "61007"}, + {"2a0a:e200:1100::/40", "33438"}, + {"2001:388:6030::/48", "137188"}, + {"2001:13c7:601b::/48", "61520"}, + {"2803:ace0::/32", "269908"}, + {"2a02:26f7:b::/48", "20940"}, + {"2a03:7380:6000::/41", "13188"}, + {"2001:559:8663::/48", "7922"}, + {"2606:b980::/32", "12089"}, + {"2a03:5640:f228::/39", "2906"}, + {"2a10:6747:10::/32", "210777"}, + {"2607:f6f0:202::/48", "27224"}, + {"2804:7e7c::/32", "271627"}, + {"2001:250:7018::/46", "23910"}, + {"2001:5f8::/33", "5056"}, + {"2001:4546:1004::/28", "9924"}, + {"2401:df40:2::/48", "38001"}, + {"2a0c:7280::/29", "13058"}, + {"2001:1840:c000::/44", "196"}, + {"2001:44c8:48e0::/32", "45430"}, + {"2404:1c40:cb::/45", "24432"}, + {"240e:44d:2e00::/42", "140345"}, + {"2600:1415:8801::/35", "20940"}, + {"2600:1417:f001::/37", "20940"}, + {"2a0f:af40::/29", "207793"}, + {"2001:559:328::/48", "7016"}, + {"2400:6280:4::/44", "132280"}, + {"2402:3a80:1b08::/42", "38266"}, + {"2a02:770::/32", "5578"}, + {"2a10:cc40:15f::/48", "209669"}, + {"2001:4d0:6319::/32", "297"}, + {"2001:559:4f0::/47", "7015"}, + {"2a00:1b38::/32", "8339"}, + {"2a01:488::/32", "20773"}, + {"2a02:6c20:807::/48", "201922"}, + {"2001:5b0:ffff::/48", "6621"}, + {"2402:ce80:3::/48", "133005"}, + {"2404:bf40:a501::/46", "7545"}, + {"240e:965:f600::/30", "4134"}, + {"2607:f4e8:ad::/39", "22822"}, + {"2a02:26f7:fa05::/46", "20940"}, + {"2a12:f00::/29", "204790"}, + {"2001:ee0:c440::/39", "45899"}, + {"2402:700::/32", "9997"}, + {"240e:438:3420::/43", "140647"}, + {"2a01:8c81::/32", "205151"}, + {"2a06:2080::/29", "197825"}, + {"2001:678:e7c::/48", "49677"}, + {"2001:1388:83f1::/37", "6147"}, + {"2001:49f0:a06a::/47", "174"}, + {"2408:870c:2020::/41", "138421"}, + {"240e:397:900::/38", "140488"}, + {"2606:3d40:14::/48", "400097"}, + {"2804:2cb8::/42", "265239"}, + {"2a07:1100::/29", "57389"}, + {"2a0d:3580:12e0::/32", "200303"}, + {"2602:fe27:a0::/48", "6473"}, + {"2804:81c0::/32", "272474"}, + {"2a02:587:50db::/42", "6799"}, + {"2a02:26f7:dac8::/48", "36183"}, + {"2402:8100:2440::/47", "45271"}, + {"2408:8256:3061::/40", "17623"}, + {"2600:9000:1003::/48", "16509"}, + {"2a01:b0e0::/32", "61984"}, + {"2001:559:c399::/48", "7015"}, + {"2405:9800:11::/45", "45430"}, + {"2600:cc06::/28", "32298"}, + {"2620:11a:a0f2::/44", "43515"}, + {"2806:2f0:8441::/46", "17072"}, + {"2a0f:f3c0::/48", "207590"}, + {"2402:f800::/32", "7602"}, + {"2409:8055:4d::/46", "56040"}, + {"2a09:7:2005::/48", "41767"}, + {"2408:8456:9c10::/42", "134543"}, + {"2606:18c0:1a::/48", "14445"}, + {"2620:74:14::/48", "30060"}, + {"2800:bf0:a820::/45", "52257"}, + {"2804:8008::/32", "271725"}, + {"2a01:5cc0::/32", "51050"}, + {"2403:97c0::/48", "7489"}, + {"2804:80bc::/32", "271770"}, + {"2a0c:5700:5354::/29", "30893"}, + {"2a10:9902:210::/48", "212105"}, + {"2400:cb00:63::/44", "13335"}, + {"2600:9000:a1a0::/38", "16509"}, + {"2804:1d5c::/32", "264364"}, + {"2a07:f100::/35", "34741"}, + {"2001:ac8:6a::/43", "9009"}, + {"2402:c800:fff2::/48", "38639"}, + {"240a:a0a8::/32", "142818"}, + {"240a:aea6::/32", "146400"}, + {"2a03:7e0::/32", "12859"}, + {"2a0e:25c0::/29", "35236"}, + {"2800:160:1162::/47", "14259"}, + {"2804:2ed4::/32", "265369"}, + {"2806:230:5000::/48", "265594"}, + {"2a03:2880:f25d::/46", "32934"}, + {"2a03:ff00::/32", "61097"}, + {"2a04:4e40:c410::/41", "54113"}, + {"2001:218::/34", "2914"}, + {"2001:559:8189::/48", "33490"}, + {"2401:d800:dae0::/39", "7552"}, + {"2402:800:f200::/42", "7552"}, + {"2a04:c440:9000::/33", "2047"}, + {"2a05:7240::/29", "35784"}, + {"2a0d:8e02::/32", "197793"}, + {"2402:ef2f:4c::/47", "7633"}, + {"2803:68e0::/32", "269874"}, + {"2803:b480::/48", "28099"}, + {"2a03:d000:7000::/39", "31133"}, + {"240e:fd:b000::/33", "4134"}, + {"2001:559:59::/48", "13367"}, + {"2607:3380:1100::/38", "395766"}, + {"2a0b:d6c0::/29", "205856"}, + {"2402:800:9101::/44", "7552"}, + {"2620:118:400e::/48", "127"}, + {"2a00:1fb0::/29", "34660"}, + {"2607:fc58:1:6::/64", "13536"}, + {"2a00:1ca8:57::/42", "50673"}, + {"2a02:2e02:8f00::/42", "12479"}, + {"2404:b300:1000::/48", "131207"}, + {"2404:e801:2008::/46", "55430"}, + {"2803:2540::/43", "264668"}, + {"2806:2f0:3403::/42", "17072"}, + {"2a02:888:8040::/46", "48695"}, + {"2401:d800:9110::/42", "7552"}, + {"2409:8057:3011::/48", "56040"}, + {"240e:b6:1000::/31", "4134"}, + {"2620:119:4076::/36", "7726"}, + {"2a0f:1440::/48", "60781"}, + {"2001:4478:5800::/39", "4739"}, + {"2600:380:f200::/36", "7018"}, + {"2600:1409:f001::/36", "20940"}, + {"2600:6c38:730::/46", "20115"}, + {"2604:1380:4590::/44", "54825"}, + {"2620:120:9000::/44", "26227"}, + {"2804:6fcc::/32", "270685"}, + {"2a0a:2880::/29", "208861"}, + {"2001:559:8491::/48", "7015"}, + {"2001:978:7402::/39", "174"}, + {"2402:ef2f:2f::/43", "7633"}, + {"2a05:dfc7:5353::/48", "204136"}, + {"2407:2a00::/32", "55832"}, + {"240a:afa2::/32", "146652"}, + {"2804:5d68::/32", "268970"}, + {"2a02:2e02:1fa0::/34", "12479"}, + {"2401:bc40:300::/40", "12189"}, + {"2408:805d:f9::/36", "17623"}, + {"240a:ac16::/32", "145744"}, + {"240e:44d:600::/41", "140345"}, + {"2606:b400:8000::/47", "792"}, + {"2804:14d:2a00::/42", "28573"}, + {"2804:6c8::/32", "262606"}, + {"2a0e:97c0:600::/44", "210537"}, + {"2001:df0:a280::/48", "139225"}, + {"2800:bf0:81e3::/45", "52257"}, + {"2a02:26f7:39::/48", "20940"}, + {"2402:800:b310::/42", "7552"}, + {"240a:ab63::/32", "145565"}, + {"240e:980:9200::/40", "4134"}, + {"2605:d00::/32", "6300"}, + {"2801:1fc:2::/48", "27951"}, + {"2806:2f0:4443::/42", "17072"}, + {"2a0e:f680::/29", "208613"}, + {"2406:ce00::/29", "9370"}, + {"2409:802f:2b07::/48", "9808"}, + {"2604:d600:15ad::/43", "32098"}, + {"2804:145c:e001::/35", "263327"}, + {"2806:230:600a::/48", "265594"}, + {"2a02:e980:170::/40", "19551"}, + {"2400:adc0:4311::/48", "9541"}, + {"2403:580:a00::/34", "134715"}, + {"2403:9900::/24", "17676"}, + {"2600:9000:a310::/47", "16509"}, + {"2607:f7a8:1200::/39", "21687"}, + {"2806:230:3004::/48", "265594"}, + {"2a01:9f20::/37", "201746"}, + {"2001:678:25c::/48", "203055"}, + {"2803:5c80:8056::/48", "64114"}, + {"2a02:2e02:9660::/43", "12479"}, + {"2806:2f0:8403::/41", "17072"}, + {"2001:400:b31::/34", "293"}, + {"2001:559:730::/48", "7015"}, + {"2001:df0:6e80::/48", "17439"}, + {"2001:559:c279::/48", "33657"}, + {"2604:d600:c96::/42", "32098"}, + {"2803:6440::/32", "263755"}, + {"2804:1c1c:2000::/35", "61638"}, + {"2401:3bc0:801::/39", "137409"}, + {"2600:1410:2001::/35", "20940"}, + {"2604:b180:190::/44", "33700"}, + {"2a00:1280::/32", "39591"}, + {"2001:978:201:3::/37", "174"}, + {"2804:7d8c::/32", "271568"}, + {"2a01:448::/41", "42585"}, + {"2001:16a2:6100::/40", "39386"}, + {"2403:6ac0::/32", "138149"}, + {"240a:ad5e::/32", "146072"}, + {"2600:6c3a:833::/44", "20115"}, + {"2a02:888:50::/48", "48695"}, + {"2a02:ea8::/32", "41848"}, + {"2a0e:46c4:1310::/47", "142598"}, + {"2001:678:c60::/48", "39527"}, + {"2409:8080:2ae0::/35", "9808"}, + {"2600:1009:b100::/41", "6167"}, + {"2605:400:1::/48", "16406"}, + {"2001:9a0::/32", "15879"}, + {"2400:32a0::/32", "131987"}, + {"2404:ff40::/32", "4229"}, + {"2602:fce1:200::/48", "395886"}, + {"2605:aa80::/32", "27176"}, + {"2804:e64::/37", "262952"}, + {"2a00:6060:ee38::/35", "60983"}, + {"2001:559:c138::/48", "33651"}, + {"2604:e840::/47", "396965"}, + {"2605:b100:600::/40", "577"}, + {"2804:161c:1000::/46", "263268"}, + {"2804:1a80::/32", "262333"}, + {"2a0c:9a40:8070::/44", "212704"}, + {"2a0c:b641:4::/48", "34872"}, + {"2c0f:f1a0::/32", "37314"}, + {"2001:67c:11f0::/48", "212378"}, + {"2001:4888:8024::/46", "22394"}, + {"2804:9d4:1001::/34", "262996"}, + {"2804:10c8:1338::/32", "263649"}, + {"2804:376c::/32", "266413"}, + {"2408:8456:e840::/38", "17816"}, + {"2602:feda:2f0::/48", "133492"}, + {"2804:1898::/34", "61942"}, + {"2403:300:701::/36", "714"}, + {"2604:6900::/32", "29863"}, + {"2605:5640::/36", "25635"}, + {"2806:230:4026::/48", "265594"}, + {"2400:cb00:aae0::/47", "13335"}, + {"2409:8b5c::/26", "9808"}, + {"240a:aeb2::/32", "146412"}, + {"2600:1409:14::/37", "20940"}, + {"2606:7c80:cc1::/46", "40300"}, + {"2a02:26f7:c209::/42", "20940"}, + {"2001:550:1b0b::/37", "174"}, + {"2001:559:81dc::/47", "7922"}, + {"240a:a459::/32", "143763"}, + {"2600:1408:1d::/42", "20940"}, + {"2804:604::/32", "262560"}, + {"2804:2378::/32", "264164"}, + {"2a02:f680:1::/48", "212913"}, + {"2a06:8d40::/29", "21315"}, + {"2001:16b8:6700::/36", "8881"}, + {"2001:1900:2276::/40", "3356"}, + {"2402:5400::/48", "45938"}, + {"2409:8e35::/28", "9808"}, + {"240a:a8dd::/32", "144919"}, + {"2605:4d00::/32", "14613"}, + {"2a02:26f0:4a00::/48", "34164"}, + {"2001:67c:13c::/48", "16075"}, + {"2600:1002:9100::/44", "6167"}, + {"2600:140b:e801::/37", "20940"}, + {"2607:fcd0:106:3b00::/49", "8100"}, + {"2620:ef:4000::/48", "394137"}, + {"2a06:1b00:98::/47", "8302"}, + {"2a06:7244::/32", "57878"}, + {"2001:67c:71c::/48", "59824"}, + {"2400:9380:91c0::/44", "136167"}, + {"2409:8904:5270::/40", "24547"}, + {"2600:1409:3001::/36", "20940"}, + {"2804:2d5c::/32", "265277"}, + {"2001:559:85a7::/48", "33657"}, + {"2800:4b0:8008::/43", "12252"}, + {"2803:6900:616::/47", "52423"}, + {"2a00:d340:ffff::/48", "51720"}, + {"2a02:26f7:e689::/46", "20940"}, + {"2c0f:feb8::/32", "36959"}, + {"2001:559:5f5::/48", "22909"}, + {"2001:568::/37", "852"}, + {"2405:4000:aab::/32", "38082"}, + {"2408:8957:c200::/40", "17622"}, + {"2409:8750:b00::/37", "56047"}, + {"2804:4b90::/32", "267315"}, + {"2403:8680:2::/32", "134630"}, + {"2406:b400:14::/47", "18209"}, + {"240a:a76f::/32", "144553"}, + {"2a02:26f0:8c01::/39", "20940"}, + {"2a05:f506::/48", "14413"}, + {"2a0c:7e43:a525::/48", "20473"}, + {"2401:fd80:1ff::/48", "137502"}, + {"2605:9780:1800::/40", "36180"}, + {"2620:0:167a::/48", "6984"}, + {"2a02:26f7:c945::/46", "20940"}, + {"2a02:26f7:ea4d::/42", "20940"}, + {"2409:8904:6370::/40", "24547"}, + {"2409:8924:7100::/38", "56046"}, + {"2606:5c0::/32", "36165"}, + {"2804:3dc:4::/40", "52967"}, + {"2a0f:5707:abe0::/47", "210522"}, + {"2400:9380:9230::/47", "4809"}, + {"2409:8020:21::/43", "56046"}, + {"2409:8924:9100::/38", "56046"}, + {"240a:a72b::/32", "144485"}, + {"2a00:46c0::/32", "48500"}, + {"2600:6c10:fc13::/44", "20115"}, + {"2804:a0::/32", "262318"}, + {"2001:559:83a6::/48", "33660"}, + {"240a:a031::/32", "142699"}, + {"2606:3c0:3::/32", "399016"}, + {"2001:559:2da::/48", "33652"}, + {"2001:559:81a3::/48", "33657"}, + {"2001:44b8:38::/48", "7545"}, + {"2409:8a79::/30", "9808"}, + {"2800:110:10::/48", "42"}, + {"2a02:610:7501::/48", "51894"}, + {"2409:8907:7620::/39", "24547"}, + {"240a:a87e::/32", "144824"}, + {"240e:3b7:8200::/35", "140316"}, + {"2603:900c::/30", "33363"}, + {"2a0e:b107:1595::/48", "142419"}, + {"2a11:a500::/32", "60505"}, + {"2001:67c:28ec::/48", "209943"}, + {"2400:c700:9::/43", "55644"}, + {"240e:3b1:d000::/36", "134772"}, + {"2804:4380::/32", "267574"}, + {"2a10:480::/31", "4785"}, + {"2409:805c:5100::/36", "9808"}, + {"240a:aefb::/32", "146485"}, + {"2604:c0c0:6000::/32", "14525"}, + {"2803:fd80::/46", "18747"}, + {"2a0e:3e80::/29", "204504"}, + {"2001:df6:9500::/48", "137671"}, + {"2a12:c480::/29", "35297"}, + {"2606:2800:4044::/48", "14210"}, + {"2620:11a:a02d::/46", "36040"}, + {"2804:134::/32", "28323"}, + {"2804:8230::/32", "272504"}, + {"2a03:5c40::/32", "42777"}, + {"2001:559:2e4::/48", "33660"}, + {"2001:559:c1bd::/48", "7725"}, + {"2001:67c:5c0::/48", "205076"}, + {"2607:fc48:c50::/48", "40009"}, + {"2600:6c10:60b::/43", "20115"}, + {"2620:131:1054::/42", "26450"}, + {"2804:a::/31", "14840"}, + {"2001:678:5cc::/48", "31149"}, + {"2001:df6:2480::/48", "44103"}, + {"2001:df7:1900::/48", "137636"}, + {"2001:4868:100::/44", "23148"}, + {"2600:6c38:179::/40", "20115"}, + {"2620:62:400c::/46", "30045"}, + {"2800:160:1ec2::/43", "14259"}, + {"2a0c:53c0::/29", "204081"}, + {"2001:1af8::/33", "60781"}, + {"2400:f2:7000::/48", "202818"}, + {"2404:bf00:8800::/40", "9303"}, + {"240a:a686::/32", "144320"}, + {"240e:45c:5200::/40", "131285"}, + {"2603:f9e0::/22", "397165"}, + {"2607:f040::/32", "14007"}, + {"2a00:6f40::/32", "48452"}, + {"240e:5a:4480::/39", "140296"}, + {"2a02:bc8:37::/48", "202717"}, + {"2a06:98c0:1400::/47", "202623"}, + {"2a0b:5540::/33", "213002"}, + {"2a0e:9740::/29", "51920"}, + {"2001:fd8:1e0::/48", "132199"}, + {"2001:1248:563f::/41", "11172"}, + {"2408:8459:ac50::/38", "17816"}, + {"2408:84f3:9410::/42", "134543"}, + {"240a:a558::/32", "144018"}, + {"2603:c022::/35", "31898"}, + {"2804:3b6c:a004::/46", "265442"}, + {"2604:9440::/32", "53407"}, + {"2804:14c:b500::/40", "28573"}, + {"2a02:618:6::/44", "15774"}, + {"2a0d:2c40::/29", "207146"}, + {"2600:140b:5001::/38", "20940"}, + {"2600:1480:9000::/48", "21342"}, + {"2804:1824::/32", "262301"}, + {"2804:219c::/32", "264564"}, + {"2001:559:8588::/48", "33491"}, + {"2600:370f:70a1::/41", "32261"}, + {"2804:2928::/32", "52951"}, + {"2001:559:303::/48", "33491"}, + {"240a:afa3::/32", "146653"}, + {"240e:44d:7a40::/42", "140355"}, + {"2606:3c00:f000::/44", "20365"}, + {"2620:116:f004::/40", "14157"}, + {"2800:bf0:8106::/48", "27947"}, + {"2001:559:87dc::/48", "33287"}, + {"2001:67c:2650::/48", "1257"}, + {"2404:8d00:1820::/37", "24378"}, + {"2a02:2e02:1440::/43", "12479"}, + {"2001:559:c4e6::/48", "7016"}, + {"2408:8256:356d::/48", "17816"}, + {"2408:8756:2cf3::/44", "135061"}, + {"2804:22a8::/32", "264114"}, + {"2a02:530:29::/32", "21191"}, + {"2a0f:9440::/31", "62240"}, + {"2001:559:3c5::/46", "7922"}, + {"2001:67c:420::/48", "3303"}, + {"2a00:4cc5::/32", "203875"}, + {"2a05:6f80::/29", "201086"}, + {"2a0e:9300::/48", "17818"}, + {"2001:559:77c::/48", "33287"}, + {"2001:559:82f1::/48", "7016"}, + {"2001:67c:28c4::/48", "1257"}, + {"2600:6c7f:9050::/48", "20115"}, + {"2a02:7be0::/32", "201175"}, + {"2a0e:46c4:2800::/47", "213045"}, + {"240a:a130::/32", "142954"}, + {"2605:b100:d00::/41", "577"}, + {"2804:c70::/32", "52706"}, + {"2a06:4ac0::/32", "20609"}, + {"2a0e:fd45:693a::/32", "44103"}, + {"2001:559:c0fa::/48", "21508"}, + {"2408:8459:fe10::/44", "17622"}, + {"2600:1012:b1a0::/43", "6167"}, + {"2803:2c0::/32", "264830"}, + {"2804:7620::/32", "271091"}, + {"2a03:fb40::/29", "202796"}, + {"2001:550:560b::/39", "174"}, + {"2001:678:3ec::/48", "1257"}, + {"2400:bb40:2000::/46", "141039"}, + {"2409:8000:1000::/40", "56048"}, + {"240a:aa6b::/32", "145317"}, + {"2600:1419:1a01::/37", "20940"}, + {"2a00:9640::/41", "57710"}, + {"2a11:ed00::/29", "400522"}, + {"240a:acbf::/32", "145913"}, + {"2600:141b:6801::/35", "20940"}, + {"2a02:2e02:2370::/40", "12479"}, + {"2a03:4bc0:3150::/47", "209454"}, + {"2a03:da40::/31", "58222"}, + {"2001:a98:101::/37", "8517"}, + {"2800:160:1ef9::/45", "14259"}, + {"2804:14d:fb00::/63", "28573"}, + {"2401:d800:2110::/42", "7552"}, + {"240c:cda2::/22", "23910"}, + {"2600:5c00:2305::/37", "20001"}, + {"2602:ffc8:c000::/34", "20278"}, + {"2a09:c0c0::/29", "209235"}, + {"2001:44b8:29::/48", "4739"}, + {"2607:880::/32", "43288"}, + {"2607:f858:9::/32", "4136"}, + {"2620:10f:7000::/47", "54765"}, + {"2804:14c:7900::/40", "28573"}, + {"2804:2e30:21::/48", "265330"}, + {"2806:2f0:3161::/46", "17072"}, + {"2a00:e040:c0c::/48", "60436"}, + {"2a0f:1640::/29", "60262"}, + {"2001:678:a40::/48", "204911"}, + {"2806:230:2044::/48", "265594"}, + {"2a00:1850:2e1::/45", "29357"}, + {"2001:250:500a::/43", "24361"}, + {"2001:df0:90c0::/48", "140825"}, + {"2001:4978:5ff::/48", "13331"}, + {"2408:8459:3250::/37", "17816"}, + {"2409:8c28:3401::/40", "56041"}, + {"2600:1418:4::/33", "20940"}, + {"2806:10c8::/32", "8151"}, + {"2001:c80:c000::/34", "4673"}, + {"2001:1938:4300::/40", "33438"}, + {"2403:c00:a00::/39", "17488"}, + {"2408:8459:c630::/41", "17622"}, + {"2804:4b0:31c::/41", "262459"}, + {"2001:250:6c20::/43", "138370"}, + {"2001:44b8:6060::/45", "7545"}, + {"2409:8054:38::/48", "9808"}, + {"240e:44d:4800::/41", "140345"}, + {"2600:6c21:40c::/43", "20115"}, + {"2604:d600:c05::/44", "32098"}, + {"2620:11d:9001::/48", "33186"}, + {"2a05:fa80::/31", "202139"}, + {"2001:559:83ff::/48", "33655"}, + {"2001:da8:8019::/45", "24364"}, + {"2001:4220:c::/48", "36935"}, + {"2604:d600:1019::/42", "32098"}, + {"2804:5194::/32", "268463"}, + {"2804:817c::/32", "272457"}, + {"2001:67c:19e4::/48", "2119"}, + {"2804:2a4c::/32", "53167"}, + {"2403:3240::/32", "136975"}, + {"2606:2800:5052::/45", "15133"}, + {"2804:7de8::/32", "271590"}, + {"2a01:6b20::/34", "198296"}, + {"2a02:1006:c000::/48", "3320"}, + {"2a0e:97c3:4d0::/48", "20473"}, + {"2602:ff96:13::/48", "26548"}, + {"2620:1bc:102f::/48", "7726"}, + {"2800:160:1f1a::/45", "14259"}, + {"2a02:b48:8900::/38", "39572"}, + {"2a02:26f0:9e::/48", "20940"}, + {"2001:559:80e1::/48", "33662"}, + {"2001:559:8501::/48", "33650"}, + {"2001:661:2000::/35", "2199"}, + {"240e:967:1000::/37", "133775"}, + {"2a02:26f7:d784::/48", "36183"}, + {"2a07:2902:9c00::/38", "210378"}, + {"2001:67c:1400::/45", "29670"}, + {"2001:4878:4037::/44", "12222"}, + {"2a00:6860::/32", "60917"}, + {"2a01:8840:8d::/48", "207266"}, + {"2a0f:ea80::/32", "60144"}, + {"2001:67c:12c0::/47", "202033"}, + {"2001:1248:8755::/42", "11172"}, + {"2402:1dc0::/32", "137209"}, + {"240a:ab3c::/32", "145526"}, + {"240e:267:9400::/28", "4134"}, + {"2600:100d:ff10::/40", "22394"}, + {"2804:15e4:ff6::/44", "53001"}, + {"2804:3a18::/32", "266070"}, + {"2a07:3500:19f0::/48", "38915"}, + {"2a0f:c081:6d96::/48", "43694"}, + {"2001:470:c6::/48", "396097"}, + {"2001:c20:4878::/48", "9255"}, + {"2402:800:347f::/40", "7552"}, + {"2803:a040::/32", "263750"}, + {"2001:559:420::/48", "20214"}, + {"2405:d340::/32", "134712"}, + {"2602:fe7d::/36", "12155"}, + {"2606:b0c0:b00b::/48", "142598"}, + {"2a0b:7280::/62", "48635"}, + {"2804:3b2c:9000::/33", "266133"}, + {"2806:2f0:43a3::/41", "17072"}, + {"2001:5f8:7f06::/48", "18883"}, + {"2403:c900::/32", "58600"}, + {"2804:7f00::/32", "271660"}, + {"2806:2f0:5221::/46", "17072"}, + {"2a02:26f7:cb41::/46", "20940"}, + {"2a03:18e0::/32", "39567"}, + {"2407:8700::/32", "45415"}, + {"2408:8957:2a40::/40", "17622"}, + {"2803:cd60::/32", "64116"}, + {"2806:230:102c::/48", "265594"}, + {"2409:8c85:aa6d::/43", "9808"}, + {"240a:a80f::/32", "144713"}, + {"2605:a401:83f6::/37", "33363"}, + {"2a01:b740:a19::/48", "714"}, + {"2001:67c:888::/48", "8881"}, + {"240e:37b::/35", "140329"}, + {"240e:438:3840::/38", "4134"}, + {"2602:fdcb::/36", "397646"}, + {"2806:2f0:24e0::/35", "17072"}, + {"2a00:b440::/32", "12389"}, + {"2408:8956:21c0::/38", "17622"}, + {"2600:6c10:f058::/45", "20115"}, + {"2804:3324::/32", "265377"}, + {"2a02:26f7:ca80::/48", "36183"}, + {"240a:a0fa::/32", "142900"}, + {"2603:90f5:100::/40", "20001"}, + {"2804:3f4c::/32", "266651"}, + {"2a00:c2a0::/32", "25376"}, + {"2403:5680::/48", "7489"}, + {"2a00:6220::/32", "43557"}, + {"2a06:2340:1000::/44", "9558"}, + {"2606:6680:3::/48", "3170"}, + {"2620:11c:5000::/44", "13331"}, + {"2001:67c:704::/48", "25522"}, + {"2001:948:58::/47", "1653"}, + {"2406:81c0::/32", "141203"}, + {"240a:a672::/32", "144300"}, + {"2803:9d80::/32", "26617"}, + {"2804:1b3:9800::/34", "18881"}, + {"2804:1de0::/32", "264400"}, + {"2a0f:607:1059::/48", "57401"}, + {"2001:da8:2f00::/48", "138393"}, + {"240e:44d:6c80::/41", "4134"}, + {"2600:6c20:a96::/37", "20115"}, + {"2604:d600:1643::/44", "32098"}, + {"2804:14d:5c45::/43", "28573"}, + {"2804:22c::/45", "22689"}, + {"2001:1248:8470::/46", "11172"}, + {"240e:d9:a000::/37", "38283"}, + {"2602:fbf9::/40", "400283"}, + {"2804:1b5c::/47", "28334"}, + {"2402:800:37d3::/44", "7552"}, + {"2402:800:f5a0::/41", "7552"}, + {"2604:e540::/32", "30165"}, + {"2607:ff08::/32", "13722"}, + {"2804:68c4::/33", "269714"}, + {"2a0f:4ac0:1236::/32", "207921"}, + {"2001:da8:26f::/48", "24350"}, + {"2404:c080::/32", "135327"}, + {"2803:b9c0:8100::/40", "265705"}, + {"2a09:6381::/30", "62000"}, + {"2001:da8:2d00::/46", "138369"}, + {"2405:203:99d::/37", "55836"}, + {"2804:8170::/32", "272454"}, + {"2a02:1608::/32", "12531"}, + {"2a0e:b107:30::/48", "209650"}, + {"2001:12f0:b6f::/37", "1916"}, + {"240a:a829::/32", "144739"}, + {"2600:100d:be0e::/40", "22394"}, + {"2001:559:36d::/48", "7922"}, + {"2001:559:8578::/48", "33651"}, + {"2401:b0c0:b000::/48", "136941"}, + {"240c:c703::/27", "23910"}, + {"2606:fd00::/32", "11013"}, + {"2607:700:1500::/38", "22343"}, + {"2a00:ec20::/32", "16236"}, + {"2a09:d640::/29", "198345"}, + {"2001:3c8:2a07::/48", "135528"}, + {"2406:d00:dddd::/48", "132165"}, + {"2407:6e00:5::/48", "17987"}, + {"2600:1408:a401::/48", "20940"}, + {"2607:fae0:6000::/36", "8038"}, + {"2804:2530::/32", "264265"}, + {"2804:36c8::/32", "266371"}, + {"2804:62d8::/32", "269322"}, + {"2001:fd8:b180::/42", "132199"}, + {"2a00:4901::/32", "206509"}, + {"2a00:8180::/32", "16205"}, + {"2001:fb1:300a::/32", "17552"}, + {"240e:3bf:9200::/36", "140317"}, + {"2620:171:1e::/47", "42"}, + {"2a00:9880::/32", "12963"}, + {"2a07:ed00::/31", "41981"}, + {"2001:250:6818::/46", "138373"}, + {"2600:370f:7581::/42", "32261"}, + {"2604:d600:1252::/42", "32098"}, + {"2a02:26f7:f384::/48", "36183"}, + {"2409:8904:57b0::/36", "24547"}, + {"2600:370f:20c8::/42", "32261"}, + {"2602:801:c008::/48", "2639"}, + {"2a02:720::/38", "34427"}, + {"2405:ae00::/32", "10219"}, + {"2600:1406:2801::/38", "20940"}, + {"2604:ca00:f000::/48", "36492"}, + {"2a00:9b00::/32", "29282"}, + {"2600:1415:e001::/37", "20940"}, + {"2600:140b:1201::/39", "20940"}, + {"2804:4544:d800::/40", "266915"}, + {"2806:230:4023::/48", "11888"}, + {"2001:559:33b::/48", "33657"}, + {"2001:67c:29dc::/48", "28940"}, + {"2400:3e20::/36", "398355"}, + {"2401:d800:2170::/40", "7552"}, + {"2607:fe28:206::/35", "53347"}, + {"2001:1900:2272::/45", "3356"}, + {"2a00:fc00::/32", "3255"}, + {"2a06:8145:9f::/48", "199364"}, + {"2c0f:eff0::/32", "327859"}, + {"240a:a089::/32", "142787"}, + {"2620:11c:d000::/47", "63161"}, + {"2800:180::/32", "27924"}, + {"2804:2cac::/35", "265234"}, + {"2804:2fc4:fffe::/47", "264911"}, + {"2605:c3c0:c0fe::/47", "393954"}, + {"2804:3768::/32", "266410"}, + {"2a01:418::/32", "42344"}, + {"2a0c:e707:4000::/34", "39533"}, + {"2a0f:5381:acac::/33", "208135"}, + {"2001:559:815e::/48", "33668"}, + {"2001:67c:16b8::/48", "25166"}, + {"240a:a833::/32", "144749"}, + {"2620:0:1cff:dead:beee::140a/50", "32934"}, + {"2800:bf0:81c2::/48", "27947"}, + {"2804:14c:3f00::/40", "28573"}, + {"2806:2f0:5441::/46", "17072"}, + {"2a04:2500::/48", "60940"}, + {"2a0e:bc0::/29", "41731"}, + {"2a0f:ca87:4::/48", "210344"}, + {"2001:678:4c::/48", "42"}, + {"2001:df0:2ba::/48", "132277"}, + {"2409:8d00::/32", "56048"}, + {"2600:1005:f000::/44", "6167"}, + {"2804:30c::/39", "28343"}, + {"2804:11c8::/36", "263439"}, + {"2a02:d48:bb::/48", "16080"}, + {"2a0e:fd45:b00b::/48", "208150"}, + {"2001:67c:2310::/48", "34564"}, + {"2607:4880:a000::/33", "53508"}, + {"2803:6603:8000::/33", "28075"}, + {"2804:14d:4e85::/44", "28573"}, + {"2804:35d0::/32", "266308"}, + {"2804:5ed8:9000::/33", "269060"}, + {"2806:230:2006::/48", "265594"}, + {"2a03:3100::/32", "29072"}, + {"2409:8030:1100::/36", "9808"}, + {"2607:fae0:9000::/36", "62529"}, + {"2806:2f0:20e0::/48", "17072"}, + {"2a07:e02:bee::/48", "210083"}, + {"2409:8754:2c00::/35", "9808"}, + {"2a02:2f0f:385::/32", "8708"}, + {"2001:df7:df80::/48", "23676"}, + {"2400:4d40:255::/46", "134204"}, + {"2403:ca00::/32", "37933"}, + {"2804:14d:188b::/41", "28573"}, + {"2a03:9320::/32", "5505"}, + {"2a05:d050:80a0::/43", "16509"}, + {"2a10:9903:301::/48", "60790"}, + {"2a12:3e80::/40", "30823"}, + {"2400:adc0:c110::/47", "9541"}, + {"2605:7380::/32", "25697"}, + {"2607:d500:200::/47", "54527"}, + {"2620:58:c400::/48", "36140"}, + {"2804:638c::/32", "269368"}, + {"2806:20d:580f::/39", "32098"}, + {"2a05:840::/48", "43350"}, + {"240a:a269::/32", "143267"}, + {"240a:ac9b::/32", "145877"}, + {"2804:112c::/32", "263663"}, + {"2a12:9140::/48", "16509"}, + {"2001:4cf8:6000::/48", "3758"}, + {"240a:a4d3::/32", "143885"}, + {"2605:2fc0:1200::/36", "31984"}, + {"2a02:26f7:bb41::/46", "20940"}, + {"2a09:3a00:3a00::/40", "59795"}, + {"2406:3003:2081::/36", "4657"}, + {"240e:928:401::/35", "58542"}, + {"2804:3344::/32", "265385"}, + {"2a01:b740:1112::/38", "714"}, + {"2408:8459:e10::/41", "17622"}, + {"240e:108:1003::/44", "4134"}, + {"2600:140b:8401::/36", "20940"}, + {"2804:6998::/32", "262574"}, + {"2a03:1aa0:5000::/32", "201730"}, + {"2a0b:cbc0::/32", "2027"}, + {"2a0f:7a40::/31", "207858"}, + {"2001:510:131::/38", "376"}, + {"2402:8100:3080::/42", "45271"}, + {"2a02:26f7:f6e0::/47", "36183"}, + {"2001:250:2c05::/48", "24357"}, + {"2607:6980:50b0::/44", "20473"}, + {"2607:f6f0:6000::/48", "27566"}, + {"2804:4cb8::/32", "267387"}, + {"2a02:26f7:e000::/48", "36183"}, + {"2a0c:40::/32", "204426"}, + {"2001:678:b78::/48", "8794"}, + {"2001:913:3000::/36", "204708"}, + {"2405:4803:ce0::/44", "18403"}, + {"2405:c9c0:ff::/35", "138823"}, + {"2600:1488:a201::/40", "20940"}, + {"2a02:26f7:e441::/46", "20940"}, + {"2a03:4d41:310::/37", "199610"}, + {"240a:a1ac::/32", "143078"}, + {"2600:1419:19::/48", "4230"}, + {"2605:a401:899a::/41", "33363"}, + {"2803:6604:e600::/35", "28075"}, + {"2a0d:bfc0::/32", "210220"}, + {"2a0e:aa01:2000::/32", "206499"}, + {"2001:559:18f::/43", "7016"}, + {"2001:559:203::/48", "7015"}, + {"2409:805c:5b00::/37", "9808"}, + {"2409:871e::/31", "24400"}, + {"2600:140f:b001::/37", "20940"}, + {"2a02:26a0::/29", "15547"}, + {"2a02:26f7:fb41::/46", "20940"}, + {"2001:b30:4213::/32", "2614"}, + {"2001:dce:7801::/37", "23869"}, + {"2001:fb0:101c::/48", "55476"}, + {"2804:4e88::/32", "268267"}, + {"2a02:26f7:d156::/47", "20940"}, + {"2001:550:5500:1::/38", "174"}, + {"2001:250:2438::/38", "23910"}, + {"2001:559:8240::/48", "33652"}, + {"2602:fc45::/36", "399904"}, + {"2606:2800:420c::/48", "14210"}, + {"2606:cd80::/48", "394727"}, + {"2804:7f68::/32", "271686"}, + {"2a00:18d8:3::/32", "8697"}, + {"2a02:26f0:4d00::/48", "34164"}, + {"2a0b:b980:1::/46", "51920"}, + {"2001:579:c1a4::/38", "22773"}, + {"2001:1248:9989::/45", "11172"}, + {"240a:affc::/32", "146742"}, + {"2620:1d0:5a::/48", "397228"}, + {"2a02:26f7:da05::/46", "20940"}, + {"2001:480:51::/48", "6009"}, + {"2001:da8:27f::/36", "23910"}, + {"2800:440:8106::/48", "27738"}, + {"240a:a75c::/32", "144534"}, + {"240d:c010:77::/44", "139341"}, + {"240e:964:2c00::/38", "133776"}, + {"2607:f4f0::/32", "40581"}, + {"2806:230:204d::/48", "11888"}, + {"2a02:26f7:b5c8::/48", "36183"}, + {"2a02:26f7:e145::/46", "20940"}, + {"2a0a:6f80::/32", "50673"}, + {"2c0f:f500::/32", "327935"}, + {"2001:559:444::/48", "22909"}, + {"240a:aed7::/32", "146449"}, + {"240e:982:7000::/40", "134238"}, + {"2804:2c84::/32", "265224"}, + {"2804:60e8::/32", "269199"}, + {"2a0c:9200::/40", "200924"}, + {"2a0e:b107:10f0::/44", "213105"}, + {"2a10:6d00::/29", "399975"}, + {"240a:ab26::/32", "145504"}, + {"2620:149:a1c::/48", "6185"}, + {"2800:370::/48", "28006"}, + {"2804:56e0::/42", "268029"}, + {"2806:2f0:43a1::/46", "17072"}, + {"2a02:d48:bc::/32", "34913"}, + {"2001:559:8640::/46", "7015"}, + {"240e:438:2820::/43", "140647"}, + {"2600:1417:2::/48", "24319"}, + {"2803:9800:a485::/41", "11664"}, + {"2804:3b6c:e000::/35", "265442"}, + {"2a05:4140:1a1::/48", "211358"}, + {"2a11:3c02::/31", "57844"}, + {"2409:806b:100::/36", "9808"}, + {"240e:44d:1b80::/41", "4134"}, + {"2602:fd5d::/40", "398578"}, + {"2605:37c0::/39", "396469"}, + {"2a00:1cf0::/32", "196724"}, + {"2a00:aea0:600::/40", "12678"}, + {"2a04:4e40:9400::/48", "54113"}, + {"2a0a:1580::/29", "34993"}, + {"2a0e:97c0:694::/44", "210354"}, + {"2001:468:c07::/48", "396955"}, + {"2607:f130::/32", "35916"}, + {"2a02:26f0:1d01::/40", "20940"}, + {"2a00:4040::/48", "48426"}, + {"2a00:ad87:4601::/48", "22216"}, + {"2a0f:ec00:1f::/48", "60781"}, + {"2001:4130:107::/48", "24725"}, + {"2800:160:13c9::/45", "14259"}, + {"2a02:5b40::/31", "59943"}, + {"2001:1680::/29", "9044"}, + {"240a:a4ce::/32", "143880"}, + {"2606:e900::/32", "32444"}, + {"2620:123:2007::/44", "30103"}, + {"2a07:e480:1::/48", "207465"}, + {"2409:8944::/28", "24445"}, + {"2804:1758::/32", "263139"}, + {"2a0f:9340:10::/47", "1299"}, + {"2001:3c8:1701::/48", "23687"}, + {"2001:559:1a6::/47", "7725"}, + {"2400:6280:15::/48", "132876"}, + {"2402:800:547f::/40", "7552"}, + {"2404:e040:c000::/34", "63780"}, + {"2408:8256:3d6a::/48", "17623"}, + {"2804:66d4::/32", "269585"}, + {"2a02:1748::/32", "51184"}, + {"2a10:c640::/48", "211541"}, + {"240d:4000::/21", "133111"}, + {"240e:966:8c00::/35", "4134"}, + {"2800:160:152e::/43", "14259"}, + {"2804:1dbc::/35", "264390"}, + {"2804:2d2c::/32", "52971"}, + {"2804:4f2c::/33", "268309"}, + {"2a07:22c1:31::/48", "212405"}, + {"2001:559:84bf::/48", "33659"}, + {"2001:559:c1fb::/48", "33287"}, + {"2001:678:8a8::/48", "48686"}, + {"2001:df2:9900::/48", "134032"}, + {"2800:68:39::/48", "27947"}, + {"2600:6c10:e44::/44", "20115"}, + {"2603:90b8::/32", "10796"}, + {"2804:1090::/32", "263640"}, + {"2804:184c:104::/32", "61928"}, + {"2806:2f0:12e0::/48", "22884"}, + {"2a02:1f8::/32", "8426"}, + {"2a0c:e640:24::/36", "211876"}, + {"2001:559:23::/48", "33650"}, + {"2001:67c:291c::/48", "211935"}, + {"240a:a61b::/32", "144213"}, + {"2620:11b:e0a4::/47", "202818"}, + {"2800:200:e::/34", "12252"}, + {"2a01:9e02::/29", "41495"}, + {"2a02:26f0:4501::/38", "20940"}, + {"2401:1c00:5100::/34", "38809"}, + {"2604:3840:2::/48", "20061"}, + {"2607:fdb8:8000::/33", "36024"}, + {"2001:ad0:5100::/32", "3327"}, + {"2406:ee80::/32", "55699"}, + {"2600:370f:60a3::/45", "32261"}, + {"2a03:b980:300::/32", "56730"}, + {"2a04:4a45:c::/46", "206067"}, + {"2a0e:c9c0::/29", "50673"}, + {"2a0f:fec0::/29", "47232"}, + {"2001:1a11:55::/42", "42298"}, + {"2a03:57c0::/32", "48159"}, + {"2001:559:4a1::/48", "33659"}, + {"2001:d08::/40", "9534"}, + {"2607:cd80:a000::/36", "6528"}, + {"2800:370:19::/48", "28006"}, + {"2a00:1d36:1140::/40", "9121"}, + {"2a0d:82c7:2::/47", "47787"}, + {"2600:1417:42::/44", "20940"}, + {"2607:fef8:ffe5::/43", "13750"}, + {"2803:83a0::/48", "267745"}, + {"2a03:12c0::/32", "199672"}, + {"2a07:5202::/47", "213208"}, + {"2001:4b20::/55", "34288"}, + {"2804:4c68::/32", "267369"}, + {"2a0b:b582::/48", "43304"}, + {"2001:2b8:e6::/48", "1237"}, + {"2001:559:c4de::/48", "7922"}, + {"2607:f150:ffff::/48", "3601"}, + {"2620:11e:900a::/48", "12196"}, + {"2a01:8640:2::/48", "59711"}, + {"2a0f:6fc2::/32", "51837"}, + {"2001:559:202::/48", "33657"}, + {"240e:44d:7780::/41", "4134"}, + {"2a06:a5c0::/30", "400177"}, + {"2a00:4802:1010::/37", "8717"}, + {"2404:8d02:2041::/40", "9587"}, + {"2405:9800:c919::/46", "45458"}, + {"2804:7cc:100::/48", "28669"}, + {"2804:2690::/32", "263838"}, + {"2804:6fa8::/32", "270675"}, + {"2806:2f0:1000::/46", "22884"}, + {"2a0f:8646:b00c::/31", "25682"}, + {"2001:678:b54::/48", "41268"}, + {"2404:c2c0:4000::/40", "135629"}, + {"2001:4c50::/32", "35244"}, + {"2403:8880::/32", "17964"}, + {"2804:1778::/32", "263146"}, + {"2804:7134::/32", "270774"}, + {"2806:230:4034::/48", "265594"}, + {"2a01:800::/31", "12430"}, + {"2405:7f00:aec0::/35", "133414"}, + {"2800:bf0:a10b::/48", "52257"}, + {"2804:757c::/32", "261050"}, + {"2a02:26f0:7701::/36", "20940"}, + {"2402:800:3555::/42", "7552"}, + {"2a03:a0a0::/46", "39405"}, + {"2c0f:fe38:5::/46", "33771"}, + {"2001:678:564::/48", "56439"}, + {"2600:1480:2100::/37", "20940"}, + {"2607:f1e8::/32", "31939"}, + {"2804:41c::/36", "262416"}, + {"2001:14e0::/32", "12931"}, + {"240a:a6f1::/32", "144427"}, + {"2607:9e80::/35", "397068"}, + {"2620:124:9000::/44", "6838"}, + {"2a01:3f1:3400::/33", "8674"}, + {"2a0e:b704::/46", "210960"}, + {"2001:678:850::/48", "20853"}, + {"2402:4000:1251::/40", "18001"}, + {"2408:8459:fd00::/38", "17816"}, + {"2604:a140:1500::/47", "64658"}, + {"2607:f110:1a::/42", "21889"}, + {"2a05:d050:40c0::/44", "16509"}, + {"2403:0:11c::/48", "65353"}, + {"2804:2980::/32", "53172"}, + {"2001:559:141::/48", "33287"}, + {"2001:4ba3::/32", "24961"}, + {"240a:aaa3::/32", "145373"}, + {"240e:3b5:ec00::/35", "140314"}, + {"2604:4180::/32", "15191"}, + {"2605:5300::/39", "21557"}, + {"2803:1840::/32", "265688"}, + {"2001:500:80::/48", "27299"}, + {"2001:559:71d::/46", "33287"}, + {"2408:8957:8d00::/40", "17816"}, + {"2409:8904:32a0::/39", "24547"}, + {"2a01:77e0::/32", "51088"}, + {"2001:67c:404::/48", "13008"}, + {"240e:3b7:9200::/36", "140317"}, + {"2804:14ac::/32", "263343"}, + {"2a0e:df40::/32", "60117"}, + {"2c0f:f850:dc02::/47", "327979"}, + {"2405:2c40::/32", "45705"}, + {"2804:1b2:4042::/36", "18881"}, + {"2001:559:8573::/48", "33659"}, + {"2401:b080::/41", "133748"}, + {"2402:7a00::/32", "23639"}, + {"2405:6e00:2600::/41", "133612"}, + {"2600:1480:a100::/36", "20940"}, + {"2603:c0e8:1210::/39", "1218"}, + {"2804:7e24::/32", "271605"}, + {"2001:67c:390::/48", "51857"}, + {"2001:4998:ef6b::/48", "36647"}, + {"2800:200:f0d0::/39", "12252"}, + {"2804:14c:ca00::/40", "28573"}, + {"2804:7ef8::/32", "271658"}, + {"2a0e:b107:3f4::/47", "57883"}, + {"2a12:d280::/32", "56958"}, + {"2001:cd8:4781::/32", "4780"}, + {"2404:f4c0:f4cf::/48", "142549"}, + {"240a:a983::/32", "145085"}, + {"2803:c660::/32", "64122"}, + {"2804:6fc::/43", "28158"}, + {"2804:8308::/32", "272172"}, + {"2a00:1e88::/45", "12389"}, + {"2001:678:a18::/48", "43350"}, + {"240e:108:12a0::/39", "4134"}, + {"2a01:c50f:c200::/39", "12479"}, + {"2001:ab7:f000::/36", "15594"}, + {"2001:df6:5e00::/47", "134909"}, + {"2600:80c:100::/40", "701"}, + {"2607:f380:a68::/48", "396310"}, + {"2804:4aa8::/32", "267255"}, + {"2804:808c::/32", "271758"}, + {"2a02:2720::/32", "6663"}, + {"2a03:f80:32::/47", "9009"}, + {"2a0c:dc40::/29", "31370"}, + {"2402:9d80:a20::/41", "131429"}, + {"2403:7200::/32", "9785"}, + {"240a:a96b::/32", "145061"}, + {"240e:3b1:ec00::/35", "140314"}, + {"2620:10c:f014::/48", "33459"}, + {"2607:ff10:fdc2::/38", "10439"}, + {"2800:484:d00::/40", "14080"}, + {"2804:1350::/32", "263528"}, + {"2806:370:8000::/44", "28403"}, + {"2400:dcc0:ad04::/38", "38631"}, + {"2402:e280:200::/48", "134674"}, + {"240a:ad78::/32", "146098"}, + {"2600:9000:1e23::/48", "16509"}, + {"2607:fd48:d00:2::/45", "13536"}, + {"2620:117:0:a::/64", "10564"}, + {"2a04:4e41:24::/43", "54113"}, + {"2a0b:7140:2::/48", "212228"}, + {"2001:559:861f::/48", "33651"}, + {"2605:1980:107::/38", "13951"}, + {"2a02:2a70::/32", "702"}, + {"2620:111:d014::/48", "12025"}, + {"2803:8d00::/32", "27988"}, + {"2a03:1d60::/32", "60294"}, + {"2a03:7700::/32", "34439"}, + {"2a0a:b6c0::/32", "57728"}, + {"2402:79c0:1145::/48", "26415"}, + {"2404:fc00:1001::/45", "45910"}, + {"2001:428:2001:206::/35", "209"}, + {"2001:678:31c::/48", "35213"}, + {"240e:108:92::/48", "4134"}, + {"240e:44d:2380::/41", "4134"}, + {"2600:370f:36c8::/42", "32261"}, + {"2600:6c38:1c7::/44", "20115"}, + {"2804:1ca4:8081::/33", "263010"}, + {"2a00:66c0::/32", "200460"}, + {"2001:559:2ca::/47", "33657"}, + {"2408:8656:3800::/40", "17623"}, + {"2600:6c38:11::/46", "20115"}, + {"2801:17:c001::/48", "272037"}, + {"2803:71a0::/32", "267702"}, + {"2806:230:2054::/48", "265594"}, + {"2a03:d000:9000::/48", "13075"}, + {"240a:a6db::/32", "144405"}, + {"240e:5a:49c0::/38", "140303"}, + {"2804:130c::/39", "263512"}, + {"2a01:6c60::/34", "62217"}, + {"2001:67c:2abc::/48", "199552"}, + {"240a:a831::/32", "144747"}, + {"2804:19a8::/32", "61810"}, + {"2a0f:7600::/32", "43847"}, + {"2001:67c:31c::/48", "47195"}, + {"2401:4900:5aa0::/39", "45609"}, + {"2402:800:32e0::/44", "7552"}, + {"2610:28:f021::/36", "81"}, + {"2804:4870::/39", "267121"}, + {"2806:1018:cd00::/34", "8151"}, + {"2a00:1920::/48", "15866"}, + {"2001:418:1466::/48", "396370"}, + {"240e:983:b00::/48", "134420"}, + {"2804:928::/32", "53102"}, + {"2a02:26f7:d408::/48", "36183"}, + {"2a0c:e641::/32", "209645"}, + {"2a10:40c0::/32", "213299"}, + {"2001:4b98:aaac::/39", "29169"}, + {"2620:10a:d000::/44", "33703"}, + {"2a02:5520::/32", "35600"}, + {"2a0b:a8c0::/47", "13215"}, + {"2a0d:a5c0::/36", "197991"}, + {"240a:a119::/32", "142931"}, + {"240a:a927::/32", "144993"}, + {"2a02:26f7:bec4::/48", "36183"}, + {"2001:559:81a8::/48", "33287"}, + {"2001:4830:c171::/38", "27552"}, + {"2409:8021:3803::/29", "9808"}, + {"2409:8053:1800::/47", "56047"}, + {"2600:370f:7024::/46", "32261"}, + {"2804:45e4:7210::/37", "262567"}, + {"2a01:288::/33", "8717"}, + {"2a04:9d40:f000::/36", "13414"}, + {"2402:800:f9f0::/38", "7552"}, + {"2408:8a02:b110::/42", "9929"}, + {"2804:5e9c::/32", "269044"}, + {"2a02:2510::/32", "44068"}, + {"2a06:fb00:1::/45", "203391"}, + {"2a11:9780::/29", "204790"}, + {"2001:16a2:3e::/39", "39386"}, + {"2402:5680:4000::/36", "133798"}, + {"2600:6c10:20f::/37", "20115"}, + {"2800:bf0:a400::/43", "52257"}, + {"2001:559:5b3::/48", "13367"}, + {"2804:6278::/32", "269299"}, + {"2a10:4140::/29", "206478"}, + {"240a:a1ab::/32", "143077"}, + {"240a:a229::/32", "143203"}, + {"2620:12f:c00d::/46", "395831"}, + {"2804:238::/32", "23106"}, + {"2a03:9c80:8000::/34", "208277"}, + {"2001:559:c500::/48", "33668"}, + {"240a:a5c5::/32", "144127"}, + {"2600:370f:5224::/44", "32261"}, + {"2a0c:9a40:8080::/48", "136620"}, + {"2401:9f00::/32", "9925"}, + {"2402:8100:39ed::/46", "55644"}, + {"240a:aec6::/32", "146432"}, + {"2606:be00::/40", "13768"}, + {"2620:1e0:311::/46", "10801"}, + {"2804:85dc:f001::/36", "272605"}, + {"2c0f:f738:3803::/37", "61317"}, + {"2a03:7240::/40", "56973"}, + {"2001:1248:98e1::/48", "11172"}, + {"2404:bf40:e005::/48", "2764"}, + {"2406:840:feb0::/48", "208753"}, + {"2406:8800:9035::/44", "17465"}, + {"2607:f380:a4f::/48", "32361"}, + {"2804:3f8::/32", "262589"}, + {"2001:1248:8901::/40", "11172"}, + {"240a:aabb::/32", "145397"}, + {"2604:2800::/33", "26793"}, + {"2804:7da0::/32", "271573"}, + {"2a02:bf8:1602::/32", "1239"}, + {"2a02:26f7:d308::/48", "36183"}, + {"2a0e:b100:101::/45", "207556"}, + {"240e:e1:d100::/48", "4811"}, + {"2600:1007:a110::/36", "22394"}, + {"2804:8000::/32", "271723"}, + {"2a04:8d80::/29", "201508"}, + {"2a05:44c0::/32", "32338"}, + {"2a05:5b00::/29", "196881"}, + {"2a0a:2e40:ac01::/46", "206232"}, + {"2a0a:6400::/29", "35202"}, + {"2401:b780:5002::/47", "65435"}, + {"240a:a376::/32", "143536"}, + {"240a:a941::/32", "145019"}, + {"2600:380:f108::/46", "20057"}, + {"2a0f:cd40::/29", "47638"}, + {"2001:428:4005::/37", "209"}, + {"2001:468:2631::/44", "11537"}, + {"2001:480:52::/44", "668"}, + {"2001:550:9b04::/40", "174"}, + {"2602:ffc0::/36", "11080"}, + {"2804:1d9c::/35", "264381"}, + {"2a02:4a20::/32", "30742"}, + {"2001:250:2401::/46", "24356"}, + {"2001:559:8099::/48", "7922"}, + {"2a02:d107:f006::/47", "200088"}, + {"2a0c:a80::/29", "200000"}, + {"2804:3680::/32", "266352"}, + {"2a04:e540::/32", "197938"}, + {"2a0f:d840::/29", "207558"}, + {"2c0f:ed00:100::/44", "328442"}, + {"2402:3dc0:572::/47", "11179"}, + {"240a:ad48::/32", "146050"}, + {"2a02:6900:880c::/48", "43894"}, + {"2001:559:338::/48", "33652"}, + {"2409:803c:100::/37", "9808"}, + {"240e:94a::/29", "4134"}, + {"2806:230:101e::/48", "265594"}, + {"2a02:1390:b000::/40", "21351"}, + {"2a09:e1c1:eff0::/44", "210311"}, + {"2001:559:862c::/48", "33287"}, + {"2001:67c:678::/48", "201816"}, + {"2a0e:1d80:7::/48", "47890"}, + {"2401:d800:9830::/40", "7552"}, + {"2a03:c340::/32", "57324"}, + {"2602:804:4000::/40", "32655"}, + {"2804:3778::/32", "266417"}, + {"2804:3988::/32", "52571"}, + {"2804:4608:8000::/33", "266964"}, + {"2a07:f680::/29", "202311"}, + {"2a0f:8640:b00c::/31", "25682"}, + {"2001:559:c3e1::/48", "33660"}, + {"240a:a5dd::/32", "144151"}, + {"2803:1240::/41", "27855"}, + {"2001:559:c415::/48", "7016"}, + {"2001:dd8:1::/48", "38283"}, + {"2402:e380:31c::/48", "141749"}, + {"2403:9800:c040::/47", "133124"}, + {"2804:2a0c::/32", "264053"}, + {"2a02:26f7:dec9::/46", "20940"}, + {"2a04:5a40::/29", "60311"}, + {"2a07:1780::/29", "57696"}, + {"2a01:c50f:f5c0::/38", "12479"}, + {"2a0a:2842:16::/48", "42962"}, + {"2a0c:3ac0::/48", "46562"}, + {"2a0d:a680::/32", "204609"}, + {"2400:c800:620::/33", "4515"}, + {"240a:a1ce::/32", "143112"}, + {"2602:ff8f:fff::/48", "53274"}, + {"2620:37:c000::/48", "5050"}, + {"2804:57b0::/32", "268080"}, + {"2a07:84c0::/29", "43770"}, + {"2001:1250:ffe0::/43", "22894"}, + {"2405:1c0:6161::/45", "55303"}, + {"2602:fcc3::/48", "399135"}, + {"2800:4f0:50::/40", "28006"}, + {"2804:6658::/32", "269552"}, + {"2a04:4e40:b2f0::/48", "54113"}, + {"2804:14d:688b::/42", "28573"}, + {"2a02:26f7:b99c::/48", "36183"}, + {"2401:df80::/32", "133652"}, + {"240a:a2d9::/32", "143379"}, + {"2a00:86c0:2090::/47", "40027"}, + {"2001:44b8:30c4::/48", "7545"}, + {"2401:d800:5d32::/41", "7552"}, + {"2a01:aee0::/32", "208582"}, + {"2001:559:12b::/48", "33654"}, + {"2001:67c:1b94::/48", "44768"}, + {"2400:cb00:a0f0::/45", "13335"}, + {"2602:fff4::/32", "54869"}, + {"2a00:ef8::/32", "13243"}, + {"2a04:13c5::/32", "61049"}, + {"2001:579:6298::/45", "22773"}, + {"2001:df7:fe80::/48", "149001"}, + {"2406:e000:c11::/44", "23655"}, + {"2409:8030:3900::/31", "9808"}, + {"2607:f798:3000::/32", "812"}, + {"2803:5440:ffff::/48", "264738"}, + {"2804:69f8::/32", "270303"}, + {"2a00:1b11:115::/46", "29152"}, + {"2a02:26f0:3301::/37", "20940"}, + {"2001:559:33a::/48", "33287"}, + {"2600:1011:f110::/36", "6167"}, + {"2800:bf0:69::/43", "52257"}, + {"2001:44b8:406e::/48", "7545"}, + {"2400:b380::/32", "38843"}, + {"2404:bac0::/32", "131642"}, + {"240a:ab33::/32", "145517"}, + {"2804:5248:9000::/33", "268508"}, + {"2a01:a680::/32", "59545"}, + {"2001:44b8:30ce::/48", "7545"}, + {"2407:98c0::/32", "139924"}, + {"2800:a10::/34", "11014"}, + {"2a02:26f7:d704::/48", "36183"}, + {"2a02:c080::/29", "25133"}, + {"2a0b:88c0::/29", "206728"}, + {"2409:8c54:1850::/37", "56040"}, + {"240a:a05c::/32", "142742"}, + {"240e:c:7000::/37", "136197"}, + {"2a02:2971::/29", "43847"}, + {"2a02:6a80:530e::/48", "197997"}, + {"2001:1a11:10c::/48", "8781"}, + {"2001:4b6c::/30", "12635"}, + {"2409:8055:3d::/46", "56040"}, + {"2800:110:1021::/45", "4270"}, + {"2a00:6200::/29", "21502"}, + {"2a01:367:deae::/34", "30823"}, + {"2a0b:5800::/32", "62167"}, + {"2408:8459:a050::/38", "17816"}, + {"2a04:8040::/29", "44527"}, + {"2408:8956:5400::/40", "17622"}, + {"240a:a748::/32", "144514"}, + {"2610:108:f000::/48", "13506"}, + {"2804:191c::/32", "52641"}, + {"2804:2b78:8000::/33", "52468"}, + {"2a02:6680:f1e0::/43", "16116"}, + {"2001:4220:8011::/46", "24835"}, + {"2402:800:7e60::/40", "7552"}, + {"2804:14d:4487::/44", "28573"}, + {"2a00:10d8:10::/48", "29405"}, + {"2001:559:84f1::/48", "33659"}, + {"2001:559:c318::/48", "33651"}, + {"2001:678:4c8::/48", "41731"}, + {"2001:ee0:306::/41", "135905"}, + {"240e:679:c200::/39", "140329"}, + {"2602:803:9003::/44", "17138"}, + {"2604:aa80::/32", "46276"}, + {"2804:e94:700::/43", "262468"}, + {"2a01:9140:cccc::/48", "52122"}, + {"2604:d600:63b::/41", "32098"}, + {"2a0b:59c0::/31", "204945"}, + {"2a0c:b642:321::/40", "206499"}, + {"2a0d:2581:fffc::/48", "209261"}, + {"2a0e:400::/25", "210278"}, + {"2a0f:8ac1:d452::/48", "205749"}, + {"2001:678:970::/48", "31317"}, + {"2001:67c:290::/48", "42195"}, + {"2001:c20:4871::/48", "9255"}, + {"2001:559:31::/46", "7922"}, + {"2001:df1:3580::/48", "135985"}, + {"2600:6c38:202::/43", "20115"}, + {"2606:6040::/32", "399871"}, + {"2a01:300:71::/29", "9009"}, + {"2a09:1480::/39", "35704"}, + {"2001:559:8088::/48", "33657"}, + {"2400:6280:101::/48", "132280"}, + {"2800:400:4000::/48", "27668"}, + {"2804:148c::/32", "263336"}, + {"2001:559:8354::/48", "22909"}, + {"2620:8b:4000::/48", "36407"}, + {"2a03:b880::/29", "47297"}, + {"2001:559:8695::/48", "33287"}, + {"2001:dec::/48", "132797"}, + {"2405:e280:2080::/48", "55769"}, + {"2001:b200:2300::/35", "9505"}, + {"2405:1c0:6441::/46", "55303"}, + {"2804:1780::/32", "263151"}, + {"2a02:26f7:d689::/42", "20940"}, + {"2800:bf0:71::/46", "27947"}, + {"2001:559:29e::/48", "33490"}, + {"2001:4479:8000::/35", "7545"}, + {"2606:4700:140::/36", "13335"}, + {"2620:135:604f::/43", "22697"}, + {"2806:230:2057::/48", "11888"}, + {"2a01:1b0::/32", "31477"}, + {"2001:250:2c2d::/46", "138381"}, + {"2a01:53c0:fffa::/45", "54994"}, + {"2a03:9900::/40", "8990"}, + {"2001:dc8::/47", "23902"}, + {"2401:14c0:5::/42", "136531"}, + {"2408:8957:f440::/40", "17622"}, + {"2803:7be0::/32", "270093"}, + {"2408:8206:a840::/31", "4808"}, + {"2620:78:2000::/48", "26331"}, + {"2804:61a4::/32", "269247"}, + {"2a0a:21c0::/29", "30972"}, + {"2400:cb00:245::/44", "13335"}, + {"2a04:e702:980::/29", "48849"}, + {"2a09:b640::/29", "209255"}, + {"2401:4900:5690::/39", "45609"}, + {"2804:8274::/32", "272522"}, + {"2001:559:37e::/48", "33651"}, + {"2001:df4:200::/47", "133967"}, + {"2001:4878:b136::/48", "12222"}, + {"2409:8051:3002::/40", "56047"}, + {"240a:a074::/32", "142766"}, + {"240e:438:2020::/43", "140647"}, + {"2a00:1fe8::/32", "34154"}, + {"2403:20c0:2::/47", "137945"}, + {"2803:c580::/32", "55259"}, + {"2804:e14::/32", "52543"}, + {"2a07:fe00::/29", "3214"}, + {"2001:253:125::/48", "142091"}, + {"2001:1a11:65::/44", "42298"}, + {"2408:8459:1a10::/42", "17623"}, + {"2600:2:d10::/44", "399741"}, + {"2401:dac0::/32", "13984"}, + {"2600:370f:3641::/45", "32261"}, + {"2605:8000:25::/40", "4261"}, + {"2804:8218::/32", "272498"}, + {"2a0d:3841:1000::/48", "57629"}, + {"2a0e:e704:44::/48", "212971"}, + {"2001:250:2c2f::/39", "23910"}, + {"2405:2d00::/32", "58877"}, + {"2409:8b00::/31", "56048"}, + {"240e:624::/30", "4134"}, + {"2804:7a58::/32", "271361"}, + {"2a03:1100::/32", "42903"}, + {"2001:250:343f::/41", "138393"}, + {"2001:559:c4c6::/48", "33287"}, + {"2409:804c:3900::/33", "9808"}, + {"2409:8924:4500::/38", "56046"}, + {"240a:a33f::/32", "143481"}, + {"240a:aa0b::/32", "145221"}, + {"2804:14c:4500::/40", "28573"}, + {"2804:6924::/32", "270251"}, + {"2401:d800:2f10::/42", "7552"}, + {"2620:83::/48", "5787"}, + {"2804:2490::/32", "264230"}, + {"2804:4ef8:7001::/32", "268295"}, + {"2a02:2698:5400::/44", "41843"}, + {"2a02:26f7:cdc8::/48", "36183"}, + {"2409:8e80:9000::/34", "56040"}, + {"2620:67::/48", "22303"}, + {"2a02:2818:7::/48", "197481"}, + {"2a0f:9885::/30", "208861"}, + {"2001:559:5ce::/48", "33287"}, + {"2001:48c8::/45", "29791"}, + {"2401:d800:dfc0::/42", "7552"}, + {"2409:8055:51::/46", "56040"}, + {"2600:80a:423::/41", "701"}, + {"2a02:26f7:e5c8::/48", "36183"}, + {"2a02:6ea0:e600::/36", "60068"}, + {"2a0b:9fc0:1::/64", "13094"}, + {"2001:df4:2d00::/48", "135905"}, + {"2404:df40::/32", "24249"}, + {"240a:14:e90::/44", "9605"}, + {"2607:f428:9300::/44", "19115"}, + {"2800:160:1718::/42", "14259"}, + {"2a02:2698:2800::/38", "41668"}, + {"2001:1248:571d::/46", "11172"}, + {"240a:aa8c::/32", "145350"}, + {"2620:171:17::/44", "42"}, + {"2806:2f0:2441::/48", "22884"}, + {"2a01:668::/32", "13105"}, + {"2a07:3c80:200::/40", "209322"}, + {"2a07:a880:4701::/48", "3399"}, + {"2a09:580::/29", "209715"}, + {"2804:548:200::/32", "53005"}, + {"2804:5db4::/32", "268987"}, + {"2804:6c50::/32", "270459"}, + {"2a01:110:e051::/35", "6584"}, + {"2001:559:4a7::/48", "33660"}, + {"2001:67c:8c::/48", "39686"}, + {"2401:4900:4d00::/44", "45609"}, + {"2a02:27b8:4000::/48", "49278"}, + {"2a0a:54c1:31::/41", "62240"}, + {"2001:559:c414::/48", "7015"}, + {"2408:8247::/35", "140726"}, + {"240a:afdf::/32", "146713"}, + {"2803:4e0::/32", "262213"}, + {"2804:47c::/32", "262437"}, + {"2a00:4802:1000::/44", "13124"}, + {"2001:559:8080::/48", "7922"}, + {"2804:7f7::/35", "10429"}, + {"2806:230:102f::/48", "11888"}, + {"2606:2800:4065::/48", "15133"}, + {"2a0e:b107:12f2::/48", "211722"}, + {"2a10:4480::/29", "399975"}, + {"240e:67f:c200::/39", "140329"}, + {"2600:6c10:641::/46", "20115"}, + {"2607:f8f0:600::/48", "271"}, + {"2804:5c88:1d00::/32", "268914"}, + {"2001:480:241::/43", "668"}, + {"2001:559:8736::/47", "7015"}, + {"2604:5e80:21::/32", "8"}, + {"2a01:7c60::/32", "201198"}, + {"2001:559:c0b0::/45", "7922"}, + {"2804:d3c:8001::/39", "52613"}, + {"2a0e:3a80::/32", "47454"}, + {"2409:874c::/32", "9808"}, + {"2409:8924:8500::/38", "56046"}, + {"240e:925::/36", "132147"}, + {"2400:54a0:1020::/48", "34927"}, + {"2a04:16c0:201::/29", "48921"}, + {"2607:700::/37", "22343"}, + {"2620:138:b000::/40", "16740"}, + {"2806:2f0:4521::/46", "17072"}, + {"2a09:11c0:332::/44", "211352"}, + {"2001:559:10d::/46", "7922"}, + {"2404:f300:12::/32", "56258"}, + {"2607:6700::/32", "40464"}, + {"2804:6464::/32", "262725"}, + {"2001:df0:be::/48", "7467"}, + {"240a:a86e::/32", "144808"}, + {"240a:ac17::/32", "145745"}, + {"2804:6ee0::/32", "270624"}, + {"2a00:eb0:100::/48", "61201"}, + {"2a02:b8:234::/32", "25273"}, + {"2a02:26f7:ba04::/48", "36183"}, + {"2a0c:9a40:101a::/47", "202479"}, + {"2a0e:b107:17c0::/44", "210537"}, + {"2001:67c:2f48::/48", "51273"}, + {"2400:7400:61::/48", "23736"}, + {"2407:fb40::/32", "132767"}, + {"2408:8956:8600::/40", "17622"}, + {"2605:2b40:4000::/34", "394851"}, + {"2804:6a04::/41", "270306"}, + {"2001:da8:ef00::/48", "138373"}, + {"2400:a980:2d00::/38", "133111"}, + {"2402:800:3371::/44", "7552"}, + {"2406:4ac0::/32", "55891"}, + {"2001:559:3a6::/48", "7015"}, + {"2409:8907:7320::/37", "24547"}, + {"240a:a905::/32", "144959"}, + {"2606:9b00::/32", "35894"}, + {"2620:1ec:34::/48", "8068"}, + {"2a00:4802:3020::/39", "8717"}, + {"2a09:7e40::/29", "35437"}, + {"2a09:dc04::/30", "35916"}, + {"2c0f:fac8::/32", "37395"}, + {"2001:b90::/32", "15919"}, + {"2607:ffd0:703::/48", "13767"}, + {"2803:bc40::/32", "52468"}, + {"2a10:eec0::/44", "7342"}, + {"2402:800:5871::/44", "7552"}, + {"2620:12f:c007::/44", "395831"}, + {"2804:4024:2030::/35", "265937"}, + {"2a01:18::/32", "29240"}, + {"2a0c:c647:fe05::/39", "50489"}, + {"2a0d:78c0::/29", "49191"}, + {"2001:559:c254::/48", "33662"}, + {"240e:67d:1000::/37", "140330"}, + {"2804:2634::/35", "264332"}, + {"2804:36d8::/32", "266376"}, + {"2a02:2090:e800::/48", "48287"}, + {"2a03:e581:4::/48", "201057"}, + {"2a09:7c43::/32", "48108"}, + {"2001:559:8398::/48", "7016"}, + {"2401:a840:400::/32", "136917"}, + {"2607:3380:1000::/40", "395152"}, + {"2001:1b28:405::/48", "51103"}, + {"2401:ee00:701::/36", "23951"}, + {"240a:a17d::/32", "143031"}, + {"2001:1260:240::/40", "28536"}, + {"2406:2b40::/32", "131937"}, + {"2408:864e::/27", "4837"}, + {"240e:44d:4d40::/42", "140357"}, + {"2a00:7820::/32", "34863"}, + {"2405:1c0:6471::/46", "55303"}, + {"2803:6900:506a::/48", "52423"}, + {"2804:5950::/32", "268182"}, + {"2804:705c::/32", "270722"}, + {"2a05:f140::/29", "200896"}, + {"2409:8b34:aa00::/33", "9808"}, + {"2a0a:48c0::/32", "39324"}, + {"2401:ed80::/32", "63932"}, + {"2804:580c::/32", "268103"}, + {"2804:5f44::/32", "269088"}, + {"2600:1406:d001::/37", "20940"}, + {"2605:e000:1c00::/32", "20001"}, + {"2804:7d20::/32", "271540"}, + {"2a02:26f7:b605::/46", "20940"}, + {"2a02:26f7:c68a::/48", "36183"}, + {"2a02:4540:9000::/43", "197207"}, + {"2a04:2080::/29", "34758"}, + {"2001:4408:5b00::/45", "55824"}, + {"2801:80:19f0::/48", "265392"}, + {"2803:6900:561::/48", "52423"}, + {"2a02:c0::/32", "39029"}, + {"2a03:2880:f26a::/45", "32934"}, + {"2001:c20:4896::/44", "3758"}, + {"240a:ace1::/32", "145947"}, + {"2600:3001:12::/42", "13649"}, + {"2804:46d4:2::/32", "267014"}, + {"2a0b:4340:a2::/44", "205532"}, + {"2001:67c:14c8::/47", "29478"}, + {"2001:480:331::/48", "2621"}, + {"2404:b980::/35", "62240"}, + {"2409:8924:4900::/38", "56046"}, + {"240e:967:ea00::/39", "133776"}, + {"2a03:1ac0:2e01::/40", "9049"}, + {"2a0c:8840:1000::/36", "211453"}, + {"2001:fd8:b300::/42", "132199"}, + {"240a:acba::/32", "145908"}, + {"2804:4a2c::/32", "267222"}, + {"2408:8356::/28", "17816"}, + {"2409:8014:100a::/45", "56044"}, + {"2409:8c71::/29", "9808"}, + {"240e:44d:4380::/41", "4134"}, + {"2610:b0:40dc::/47", "3573"}, + {"2804:6878::/32", "269694"}, + {"2001:559:814d::/48", "13367"}, + {"2402:800:bd50::/42", "7552"}, + {"2406:8600:efaf::/48", "45915"}, + {"2804:6568::/32", "269488"}, + {"2a02:26f7:46::/48", "36183"}, + {"2a0b:9580::/32", "199324"}, + {"2001:520:1055::/46", "8103"}, + {"2400:9380:8ec0::/44", "136167"}, + {"2406:3000::/46", "4657"}, + {"2408:8756:af6::/37", "136958"}, + {"2804:1660::/32", "52560"}, + {"2a00:e90::/32", "8400"}, + {"2a0b:e84::/30", "206537"}, + {"2804:4024::/34", "265937"}, + {"2a02:26f7:e301::/46", "20940"}, + {"2a02:e981:32::/44", "19551"}, + {"2a10:6880::/29", "204790"}, + {"2a11:bc40::/29", "211823"}, + {"2001:559:c0fc::/48", "7922"}, + {"2001:678:de4::/48", "57632"}, + {"240d:c010::/47", "132203"}, + {"2604:d600:b000::/33", "32098"}, + {"2a0b:180::/29", "43872"}, + {"2001:ee0:7ec0::/32", "45899"}, + {"2806:230:2040::/48", "265594"}, + {"2a02:26f7:dd84::/48", "36183"}, + {"2a09:1c00::/29", "209891"}, + {"2001:1248:5662::/45", "11172"}, + {"2401:d800:9df0::/38", "7552"}, + {"2602:ffa2::/36", "2386"}, + {"2001:559:349::/48", "33652"}, + {"2001:1a10:d00::/38", "8781"}, + {"2405:e440::/32", "132139"}, + {"2804:506c::/32", "268388"}, + {"2a0e:bac0::/29", "33770"}, + {"2408:8456:9040::/38", "17816"}, + {"2409:8c1f:27b0::/33", "9808"}, + {"240a:a477::/32", "143793"}, + {"2600:6c34:1e::/48", "33588"}, + {"2604:10c0::/47", "40034"}, + {"2804:154c:500f::/43", "263382"}, + {"2804:5714::/32", "268042"}, + {"2a02:26f7:e70c::/48", "36183"}, + {"2400:a980:40fc::/46", "38587"}, + {"2409:896a:1e00::/39", "9808"}, + {"2001:a10:186::/32", "8308"}, + {"2603:4:1000::/44", "44273"}, + {"2603:6033::/32", "10796"}, + {"2804:954:407::/38", "263073"}, + {"2804:1f1c::/32", "265235"}, + {"2804:2164::/32", "264552"}, + {"2804:2918::/32", "263997"}, + {"2a00:8740:600::/40", "211282"}, + {"2a09:bac0:108::/48", "395747"}, + {"2001:550:1:305::/39", "174"}, + {"2401:2700::/47", "9286"}, + {"2403:6a00::/32", "18239"}, + {"2405:c0:70::/48", "138881"}, + {"240a:acca::/32", "145924"}, + {"2607:fdf0:5eb6::/47", "8008"}, + {"2402:800:558d::/43", "7552"}, + {"2602:fc15::/44", "142632"}, + {"2605:c600::/32", "33097"}, + {"2a02:26f7:c3ca::/47", "20940"}, + {"2a0c:b540::/32", "62188"}, + {"2001:49d0:180::/42", "15116"}, + {"2600:c14::/32", "13790"}, + {"2607:fe28:5020::/45", "53347"}, + {"2a00:6901:e002::/47", "20926"}, + {"2a02:26f7:60::/48", "36183"}, + {"2c0f:ed68:ff02::/40", "328170"}, + {"2001:559:8538::/48", "33651"}, + {"2401:d800:f140::/42", "7552"}, + {"2605:2880::/48", "18907"}, + {"2a00:9f00::/44", "29314"}, + {"2a03:5a00:10::/48", "57489"}, + {"2a0f:93c1:1::/42", "62240"}, + {"2a10:21c0:4001::/48", "28885"}, + {"2a04:4e40:c400::/47", "54113"}, + {"2a0a:e5c0:23::/45", "209898"}, + {"2a0c:7000::/29", "57508"}, + {"2a0d:9f00::/32", "49821"}, + {"2a0e:7040::/29", "206766"}, + {"2600:140a:2001::/35", "20940"}, + {"2620:be:4000::/48", "394068"}, + {"2001:1250:ffc0::/44", "22894"}, + {"2001:4c08:200c::/43", "3356"}, + {"2404:fbc0::/48", "63734"}, + {"2604:69c0::/47", "18439"}, + {"2001:559:8200::/48", "33659"}, + {"2001:67c:134::/48", "12643"}, + {"2001:67c:1354::/48", "212469"}, + {"240a:ac21::/32", "145755"}, + {"2602:107:2510::/48", "20115"}, + {"2606:5780::/32", "54579"}, + {"2a02:ee80:4087::/43", "3573"}, + {"2400:8b00:1000::/44", "45727"}, + {"240e:fb:a000::/35", "136200"}, + {"2a02:26f7:1a::/48", "36183"}, + {"2001:df5:d680::/48", "141676"}, + {"240d:c010:54::/48", "139341"}, + {"2a02:26f7:f580::/48", "36183"}, + {"2a11:e580::/29", "204790"}, + {"2001:559:4fd::/48", "13367"}, + {"2409:1::/28", "55824"}, + {"240a:a8bb::/32", "144885"}, + {"2600:100d:fe00::/44", "6167"}, + {"2602:fd7d:500::/36", "16925"}, + {"2804:37c4:8400::/33", "266435"}, + {"2a00:c3a0::/32", "51349"}, + {"2a02:ee80:40d8::/39", "3573"}, + {"2407:6a00::/32", "18055"}, + {"2804:843c::/32", "272248"}, + {"2001:4458::/32", "4818"}, + {"2600:370f:7028::/43", "32261"}, + {"2804:4198::/32", "267443"}, + {"2a02:26f7:c385::/46", "20940"}, + {"2a0f:4f00::/29", "62412"}, + {"2001:1900:230f::/48", "10753"}, + {"2402:9500:8001::/33", "55720"}, + {"2600:1003:a000::/44", "6167"}, + {"2602:fc23:140::/44", "210631"}, + {"2a02:2e02:b10::/41", "12479"}, + {"2a0a:7d80:8::/48", "25106"}, + {"2001:678:3c8::/48", "34516"}, + {"2001:4268::/39", "15964"}, + {"2403:3200::/32", "18268"}, + {"2409:805c:3091::/42", "9808"}, + {"240a:a05b::/32", "142741"}, + {"2804:40:c000::/36", "28657"}, + {"2a02:2698:2000::/42", "51645"}, + {"2001:43f8:5::/48", "328325"}, + {"2400:adc0:c010::/47", "9541"}, + {"2402:800:581d::/42", "7552"}, + {"2602:fc46::/36", "400005"}, + {"2602:fc5d:252::/48", "399866"}, + {"2a03:2880:f122::/43", "32934"}, + {"2001:1248:8724::/43", "11172"}, + {"2404:1b00::/32", "55912"}, + {"240e:848:80::/43", "140553"}, + {"2620:10a:8023::/48", "27299"}, + {"2804:585c::/32", "268124"}, + {"2a02:26f7:cbc5::/46", "20940"}, + {"2001:559:ea::/45", "20214"}, + {"2001:559:c4df::/48", "33491"}, + {"2804:18d8::/32", "61583"}, + {"2a0a:3507::/48", "57327"}, + {"2a06:45c0::/32", "200425"}, + {"2001:559:86c2::/48", "7015"}, + {"2402:800:998d::/43", "7552"}, + {"2600:140f:2601::/39", "20940"}, + {"2620:f:a::/48", "3629"}, + {"2804:11b4::/32", "263433"}, + {"2a0f:e280::/29", "50629"}, + {"2404:d200::/32", "17766"}, + {"2a0f:2100:171::/48", "62240"}, + {"2001:410:2002::/40", "10965"}, + {"2001:df7:f280::/48", "138277"}, + {"2604:c180::/32", "32882"}, + {"2804:5cc4::/32", "268929"}, + {"2806:320::/39", "28438"}, + {"2400:1c00:13::/48", "3758"}, + {"2a0d:2406:d00::/44", "202418"}, + {"2a0e:aac4::/32", "212675"}, + {"2a10:2f01:360::/44", "56894"}, + {"2a10:3bc0::/29", "204790"}, + {"2001:559:8554::/48", "7016"}, + {"2401:3bc0:701::/36", "137409"}, + {"2606:9500::/39", "19893"}, + {"2804:4d3c:a38::/41", "267420"}, + {"2620:2d:4005::/46", "41231"}, + {"2804:1868::/32", "61930"}, + {"2a02:6b8:82::/29", "208722"}, + {"2a03:3c00::/32", "20847"}, + {"2001:3e0::/34", "10013"}, + {"2001:da8:3012::/42", "24358"}, + {"240a:aa11::/32", "145227"}, + {"240a:ada4::/32", "146142"}, + {"2800:2e0::/32", "11081"}, + {"2801:c4:13::/48", "265533"}, + {"2804:874:8000::/33", "262373"}, + {"2804:5d14::/38", "268949"}, + {"2a05:dfc7:dfc7::/44", "204136"}, + {"2a0e:46c4:10a::/48", "142635"}, + {"2001:253:13a::/45", "38272"}, + {"2001:1388:8a46::/48", "264684"}, + {"240a:af26::/32", "146528"}, + {"2a0c:1a40:1::/48", "48362"}, + {"2a0d:5600:60::/48", "9009"}, + {"2001:569::/44", "852"}, + {"2a01:1c8::/32", "15699"}, + {"2405:7f00:a1a0::/38", "133414"}, + {"2801:1e:3000::/48", "267893"}, + {"2804:6808:2000::/32", "269666"}, + {"2602:fbec::/36", "211535"}, + {"2607:f428:91d0::/44", "20115"}, + {"2a02:2110::/32", "57910"}, + {"2402:800:5471::/44", "7552"}, + {"2406:e500::/47", "58593"}, + {"2804:62f0:c102::/35", "269329"}, + {"2a00:a680::/32", "61174"}, + {"2001:559:3d5::/48", "33651"}, + {"2600:1409:7801::/32", "20940"}, + {"2800:600::/39", "52323"}, + {"2a0e:f200:174::/48", "30633"}, + {"2001:df2:d900::/48", "18403"}, + {"2405:12c0::/32", "135775"}, + {"2001:f40:12::/32", "9930"}, + {"2400:d580:a0::/47", "131587"}, + {"2604:81c0:3d5c::/48", "396422"}, + {"2c0f:eef0:27::/48", "15695"}, + {"2001:df3:802::/47", "22787"}, + {"2401:ee00:e1::/39", "23951"}, + {"240a:a992::/32", "145100"}, + {"240e:45c:aa00::/35", "131285"}, + {"2600:1409:6801::/37", "20940"}, + {"2606:5b80:2157::/32", "22612"}, + {"2a02:26f7:efc0::/48", "36183"}, + {"2a0c:f47::/32", "49436"}, + {"2a0c:2140::/29", "31617"}, + {"2001:250:7011::/46", "24369"}, + {"2001:67c:1818::/48", "3303"}, + {"2401:4900:5c70::/44", "45609"}, + {"2604:6d00:2400::/48", "36223"}, + {"2804:68c4:e000::/36", "269714"}, + {"2001:678:f20::/48", "211551"}, + {"2001:1320::/32", "27733"}, + {"240e:b58::/24", "4134"}, + {"2001:500:3e5::/48", "26134"}, + {"2001:559:c39f::/48", "33651"}, + {"2001:678:d5c::/48", "12552"}, + {"2804:46f0:c1::/32", "267021"}, + {"2401:4900:4c10::/44", "45609"}, + {"240a:ae5d::/32", "146327"}, + {"2604:f980:4360::/44", "19957"}, + {"2800:160:18d4::/44", "14259"}, + {"2a04:cec0::/35", "5410"}, + {"2a05:e186::/31", "200941"}, + {"2a0f:5b80::/29", "204790"}, + {"2a10:13c0:da7a::/48", "212238"}, + {"240e:45c:8600::/35", "131285"}, + {"2806:31d::/32", "18734"}, + {"2a0b:d0c0::/29", "51178"}, + {"2001:1248:9f00::/42", "11172"}, + {"2404:ccc0::/32", "139021"}, + {"240e:438:2e20::/43", "140647"}, + {"2800:bf0:80c6::/48", "27947"}, + {"2804:1f32::/32", "265994"}, + {"2001:df0:5080::/48", "136379"}, + {"2604:3d09:f000::/29", "6327"}, + {"2a0e:46c4:107::/48", "142419"}, + {"2001:67c:29a8::/48", "42168"}, + {"2001:1248:593f::/41", "11172"}, + {"240a:a864::/32", "144798"}, + {"240a:ab76::/32", "145584"}, + {"240a:ad61::/32", "146075"}, + {"2001:559:374::/47", "7015"}, + {"2001:fd8:b330::/44", "4775"}, + {"2409:8907:7820::/39", "24547"}, + {"240a:ab08::/32", "145474"}, + {"240a:ac13::/32", "145741"}, + {"240e:6b9:1000::/36", "4134"}, + {"2607:f3a0:a006::/48", "399814"}, + {"2804:14d:cc00::/40", "28573"}, + {"2a02:26f7:cd49::/46", "20940"}, + {"2a02:26f7:db49::/42", "20940"}, + {"2408:8310::/30", "4837"}, + {"2408:8456:1900::/42", "17622"}, + {"240a:aae9::/32", "145443"}, + {"2803:8920:7000::/32", "266673"}, + {"2a00:9ce0::/32", "44891"}, + {"2001:67c:2968::/48", "33907"}, + {"2001:e60:d3a0::/45", "4766"}, + {"240e:979:6e00::/40", "134770"}, + {"2806:230:302a::/48", "265594"}, + {"2a02:3d8::/32", "39093"}, + {"2001:470:f6::/48", "13925"}, + {"2001:559:80f3::/45", "22909"}, + {"2001:4138::/31", "15533"}, + {"2404:3d00:4136::/47", "21433"}, + {"2406:daa0:2040::/44", "16509"}, + {"2409:801e:3003::/45", "24400"}, + {"2620:107:9064::/48", "18747"}, + {"2804:5388::/32", "268590"}, + {"2a01:4180::/33", "200517"}, + {"2a02:26f0:b201::/37", "20940"}, + {"2a07:36c0::/29", "57795"}, + {"2a01:e8::/32", "25473"}, + {"2404:a00::/32", "18121"}, + {"240a:acd7::/32", "145937"}, + {"2600:1403:6c01::/32", "20940"}, + {"2620:171:a00::/44", "42"}, + {"2604:d600:45::/37", "32098"}, + {"2a0c:d540:1111::/48", "210896"}, + {"2a0c:e644::/31", "38136"}, + {"2001:559:405::/48", "7016"}, + {"2404:1b8::/32", "9794"}, + {"2600:1417:4c::/47", "24319"}, + {"2a00:a080::/32", "15557"}, + {"2a01:a200::/32", "41811"}, + {"2a02:26f7:e94d::/42", "20940"}, + {"2001:250:84f::/43", "138182"}, + {"2001:57a:510::/36", "22773"}, + {"2001:e60:a408::/42", "4766"}, + {"2400:fc00::/42", "45773"}, + {"2405:2900::/36", "132198"}, + {"2405:f080:1602::/48", "136907"}, + {"2407:3000:7::/41", "17707"}, + {"2001:253:128::/48", "142094"}, + {"2001:4d80::/33", "5606"}, + {"2804:6fc:cfff::/34", "28158"}, + {"2409:801f:3009::/45", "9808"}, + {"2600:1403:6401::/36", "20940"}, + {"2603:4:1500::/48", "44273"}, + {"2620:119:5015::/44", "13443"}, + {"240a:abdd::/32", "145687"}, + {"2606:5000:5e00::/32", "209"}, + {"2a01:c50f:9dc0::/38", "12479"}, + {"2401:8a40:1::/46", "45326"}, + {"2a02:6c20:8::/36", "207167"}, + {"2001:67c:5d4::/48", "8422"}, + {"2604:2e8b:e000::/35", "30036"}, + {"2804:2250:7040::/32", "262756"}, + {"2a01:280:310::/48", "1257"}, + {"2a02:26f7:92::/48", "36183"}, + {"2403:f500::/34", "10103"}, + {"2406:e001:5800::/34", "23655"}, + {"2409:8c04:110e::/43", "24547"}, + {"240e:5:2000::/35", "58542"}, + {"2602:fdc7::/36", "397636"}, + {"2800:200:b450::/40", "12252"}, + {"2804:38c4::/32", "266500"}, + {"2a01:678::/29", "29608"}, + {"2a02:b60:4000::/45", "44217"}, + {"2a02:26f7:b3::/48", "20940"}, + {"2a0e:4d80::/29", "208882"}, + {"2a0e:d640::/29", "208372"}, + {"2001:559:8378::/48", "33652"}, + {"2001:678:334::/48", "48031"}, + {"2402:b80::/32", "134001"}, + {"2408:8459:c910::/42", "17623"}, + {"2600:140f:1a01::/39", "20940"}, + {"2a0b:ec00::/29", "34373"}, + {"2a0e:7340::/29", "60843"}, + {"2a10:1b80::/32", "8896"}, + {"2a11:580::/29", "62206"}, + {"2400:5200:c00::/40", "55410"}, + {"2600:370f:73a3::/45", "32261"}, + {"2607:f8f0:614::/48", "393249"}, + {"2606:f900:9e01::/34", "812"}, + {"2607:f140:a000::/48", "393282"}, + {"2a00:a160::/32", "60592"}, + {"2a0c:e300::/30", "198985"}, + {"2a0f:ca87:6::/48", "208421"}, + {"2620:1f7:2800::/37", "2686"}, + {"2804:5774::/32", "268066"}, + {"2a00:7420::/33", "60893"}, + {"2a04:4e40:7600::/48", "54113"}, + {"2a07:9380::/32", "50840"}, + {"2001:18c8:800::/40", "54111"}, + {"2001:40f0::/32", "15997"}, + {"2402:800:5555::/42", "7552"}, + {"2600:370f:7565::/40", "32261"}, + {"2803:1a00::/37", "262186"}, + {"2804:7f50::/32", "271680"}, + {"2a0d:2904::/44", "205651"}, + {"2001:67c:3dc::/48", "207696"}, + {"2001:df4:d000::/48", "59216"}, + {"2408:84f3:3050::/44", "17816"}, + {"240e:44d:7b40::/42", "140355"}, + {"2607:fee8::/32", "7078"}, + {"2620:62:4000::/46", "30045"}, + {"2001:1998:650::/40", "7843"}, + {"2408:8456:ea40::/39", "17816"}, + {"2a00:dd8:1::/48", "15994"}, + {"2001:678:9c8::/48", "56796"}, + {"2001:da8:245::/48", "23910"}, + {"2804:5154:a0::/39", "268445"}, + {"2804:5470::/32", "268650"}, + {"2a02:26f0:5901::/37", "20940"}, + {"2a12:fc00::/29", "204790"}, + {"2001:4060:4053::/32", "6772"}, + {"2001:b000:590::/47", "131660"}, + {"2408:8456:9e10::/42", "134543"}, + {"2600:c0d::/32", "14742"}, + {"2a0a:340:aa00::/40", "48043"}, + {"240e:958:2000::/40", "140527"}, + {"2804:2248::/32", "264602"}, + {"2a0c:9a40:8090::/44", "20473"}, + {"2001:1490:2::/40", "8895"}, + {"2400:51a0:e080::/44", "211946"}, + {"2404:8c80::/32", "55933"}, + {"2804:5ad4::/32", "268799"}, + {"2001:808:e000::/31", "8364"}, + {"2401:bbc0::/32", "133527"}, + {"2600:1408:9c01::/48", "20940"}, + {"2a02:ee80:4250::/47", "21433"}, + {"2607:9b80:820::/40", "46558"}, + {"2804:b0c:e001::/35", "52935"}, + {"2804:28d4::/32", "263983"}, + {"2a02:88d:8130::/44", "48695"}, + {"2001:559:85d6::/48", "33661"}, + {"2001:da8:203::/48", "24351"}, + {"2001:559:c4f6::/44", "7922"}, + {"2001:4b38::/32", "25220"}, + {"2a05:4f40::/30", "29485"}, + {"2001:1248:a469::/45", "11172"}, + {"2a01:5ec0:7000::/36", "44244"}, + {"2600:1416:1001::/36", "20940"}, + {"2603:c002:1910::/38", "31898"}, + {"2804:13d8:100::/32", "262669"}, + {"2a06:5fc0::/29", "212144"}, + {"2c0f:f5c0:391::/37", "29465"}, + {"2001:678:230::/48", "1102"}, + {"2400:5280::/35", "63199"}, + {"2401:d800:ff10::/42", "7552"}, + {"2409:4053:3000::/29", "55836"}, + {"2600:1407:800::/48", "18717"}, + {"2803:6700:40::/48", "263210"}, + {"2600:140b:1e01::/34", "20940"}, + {"2603:c002:9d10::/40", "31898"}, + {"2804:2a68::/32", "262435"}, + {"2804:55d8::/32", "267960"}, + {"2a09:a441::/32", "205479"}, + {"2402:3a80:1710::/46", "38266"}, + {"2408:8459:7250::/37", "17816"}, + {"2409:8c20:a18::/37", "56046"}, + {"240a:a28f::/32", "143305"}, + {"240a:aefd::/32", "146487"}, + {"2620:0:190::/48", "33084"}, + {"2a07:1400::/29", "24853"}, + {"2403:4900:1::/48", "131188"}, + {"2806:230:2042::/48", "265594"}, + {"2c0f:fb50::/32", "15169"}, + {"2001:1248:a454::/44", "11172"}, + {"240e:981:f300::/36", "4134"}, + {"2806:2f0:4621::/46", "17072"}, + {"2a01:5d40::/32", "24945"}, + {"2402:ee80:58::/47", "132647"}, + {"2409:8703::/32", "9808"}, + {"2620:171:db::/48", "715"}, + {"2804:5004::/32", "268364"}, + {"2a01:270:f000::/36", "41075"}, + {"2a02:d5c0::/29", "49565"}, + {"2409:8904:5b40::/42", "24547"}, + {"2a00:4802:d00::/44", "13124"}, + {"2001:4d68::/32", "25441"}, + {"240e:44d:2300::/42", "140345"}, + {"2604:8480::/32", "54945"}, + {"2806:370:7240::/40", "28403"}, + {"2a02:9b0:4023::/43", "35819"}, + {"2001:559:536::/48", "33660"}, + {"2001:67c:2c4c::/48", "1257"}, + {"2401:d800:7b70::/40", "7552"}, + {"2001:559:bd::/46", "33491"}, + {"2001:559:3d0::/48", "33489"}, + {"2804:6704::/32", "269598"}, + {"2001:559:c21a::/47", "33659"}, + {"2402:800:99ee::/38", "7552"}, + {"2001:da8:ca::/48", "138182"}, + {"2001:4878:8141::/48", "12222"}, + {"2400:1920::/32", "146974"}, + {"2804:3174:8000::/36", "265016"}, + {"2a03:2040::/29", "198385"}, + {"2a0b:51c0::/29", "205679"}, + {"2001:1248:97c5::/44", "11172"}, + {"2401:cf80::/33", "55303"}, + {"2a0f:6f00::/29", "208861"}, + {"2001:559:2d3::/48", "33659"}, + {"240a:a460::/32", "143770"}, + {"2409:8080:381f::/42", "9808"}, + {"240a:a1d9::/32", "143123"}, + {"2604:d600:33::/41", "32098"}, + {"2804:1be0::/32", "61754"}, + {"2804:63fc::/32", "269396"}, + {"2a09:d2c2:1::/48", "213064"}, + {"2001:67c:1324::/48", "43384"}, + {"240a:adb9::/32", "146163"}, + {"2600:1700::/28", "7018"}, + {"2800:1e0:1600::/44", "7195"}, + {"2804:22e8::/32", "264130"}, + {"2a02:26f7:b884::/48", "36183"}, + {"2a0d:1a45:babf::/37", "57782"}, + {"2001:559:c3a4::/47", "33651"}, + {"2408:8456:6800::/42", "17622"}, + {"2a02:26f7:bfc9::/46", "20940"}, + {"2a03:5800::/32", "31214"}, + {"2a05:5a42::/32", "8943"}, + {"2001:1470::/29", "2107"}, + {"2804:5844::/32", "268117"}, + {"2a02:7cc0::/48", "35000"}, + {"2a04:2b00:13ff::/48", "201303"}, + {"2a05:d050:e0c0::/44", "16509"}, + {"2001:559:8721::/48", "33650"}, + {"2001:67c:50c::/48", "15486"}, + {"2001:67c:194c::/48", "62434"}, + {"2803:b2a0::/32", "3549"}, + {"2806:2f0:9a03::/39", "17072"}, + {"2a02:29b0::/32", "16298"}, + {"2001:559:8396::/48", "33659"}, + {"2001:559:c03b::/45", "20214"}, + {"2602:feda:c52::/44", "212425"}, + {"2605:a404:3f::/41", "33363"}, + {"2803:7180:4000::/36", "21575"}, + {"2804:68::/32", "53070"}, + {"2001:f60::/27", "2519"}, + {"2602:fbd0:10::/47", "16509"}, + {"2804:4d6c::/32", "268195"}, + {"2a0b:af80::/29", "206310"}, + {"2001:559:262::/48", "33651"}, + {"2001:df7:4480::/48", "142529"}, + {"240e:108:13b0::/41", "4134"}, + {"2804:421c::/32", "267478"}, + {"2a06:a005:2c0::/44", "211139"}, + {"2a0f:6dc0::/29", "200567"}, + {"240a:ad81::/32", "146107"}, + {"2a03:5640:f041::/48", "2906"}, + {"2001:df5:bb00::/48", "131375"}, + {"2607:6003:2305::/48", "11572"}, + {"2a0a:8c41::/29", "204957"}, + {"2001:250:c31::/48", "138374"}, + {"2402:e280:2225::/46", "134674"}, + {"2a03:4740::/32", "50737"}, + {"2001:df5:9480::/48", "136360"}, + {"2405:58c0:5c00::/40", "133101"}, + {"2607:6880::/32", "11554"}, + {"2804:432c::/32", "267553"}, + {"2a10:4941:10::/44", "200964"}, + {"240a:ad7f::/32", "146105"}, + {"2604:8800::/32", "23028"}, + {"2803:3960::/32", "262186"}, + {"2806:230:5005::/48", "11888"}, + {"2401:1c40::/48", "135915"}, + {"2606:4700:301d::/42", "13335"}, + {"2800:be0:4e3::/32", "267848"}, + {"2800:bf0:2a00::/45", "52257"}, + {"2804:52f8:200::/40", "268554"}, + {"2001:579:c0c4::/43", "22773"}, + {"2405:1000::/32", "45671"}, + {"2803:da20::/40", "27951"}, + {"2804:dac::/32", "28181"}, + {"2804:46b8::/32", "267007"}, + {"2804:493c::/32", "267172"}, + {"2804:3f54::/32", "53185"}, + {"2001:1248:8453::/44", "11172"}, + {"2402:800:310f::/43", "7552"}, + {"2406:21c0::/32", "140429"}, + {"2602:fbd3::/48", "16509"}, + {"2a0c:c380::/32", "207242"}, + {"2a0e:4540:cafe::/48", "58247"}, + {"240a:a838::/32", "144754"}, + {"2804:14d:5c96::/44", "28573"}, + {"2a04:4e40:5e10::/44", "54113"}, + {"2402:800:b190::/42", "7552"}, + {"2405:4803:cf0::/39", "18403"}, + {"2602:fc01::/36", "210902"}, + {"2803:4f20::/32", "266768"}, + {"2405:6e00:688::/45", "18291"}, + {"240a:abe0::/32", "145690"}, + {"2600:140f:5000::/48", "9498"}, + {"2603:c025::/35", "31898"}, + {"2804:679c::/32", "269639"}, + {"2001:578:121::/43", "22773"}, + {"2001:fd8:a1::/46", "4775"}, + {"2806:2f0:94a3::/43", "17072"}, + {"2a02:26f7:d190::/48", "36183"}, + {"2001:57a:8013::/44", "22773"}, + {"2406:9b00::/32", "56264"}, + {"2800:bf0:b424::/48", "27947"}, + {"2804:30c:200::/35", "28343"}, + {"2001:468:2640::/48", "396955"}, + {"2001:550:7601:1::/39", "174"}, + {"2001:ec0:8a6::/41", "23969"}, + {"2001:1b70:4296::/48", "395592"}, + {"2602:ffc8:3d20::/32", "20278"}, + {"2803:e520::/32", "266687"}, + {"2a0f:9b40::/29", "212144"}, + {"2001:550:6701::/36", "174"}, + {"2a00:1280:8004::/33", "39591"}, + {"2a02:26f7:c3d8::/48", "36183"}, + {"2404:4980::/32", "132770"}, + {"2406:e1c0:301::/37", "141459"}, + {"2a0a:340:be00::/40", "48043"}, + {"2001:df1:6e80::/48", "174"}, + {"2400:cb00:a590::/45", "13335"}, + {"2600:d0b:c000::/29", "20161"}, + {"2800:160:196c::/46", "14259"}, + {"2a05:b080::/29", "198024"}, + {"2001:678:fd4::/48", "56951"}, + {"2404:bf40:f802::/48", "139084"}, + {"240e:108:1168::/45", "4134"}, + {"240e:250:1400::/38", "134419"}, + {"2620:c::/44", "7324"}, + {"2804:1b3:c000::/34", "18881"}, + {"2804:4f48::/32", "268317"}, + {"240a:a979::/32", "145075"}, + {"2620:119:4000::/43", "7726"}, + {"2a01:7f80::/32", "15975"}, + {"2001:df7:3b80::/48", "142627"}, + {"2408:80f1:220::/44", "138421"}, + {"240e:946:3001::/45", "58540"}, + {"2607:f110:32::/45", "21889"}, + {"2a00:15e0::/29", "15960"}, + {"2a0a:c440::/29", "205935"}, + {"2a0f:e940::/29", "60781"}, + {"2001:250:7014::/46", "24369"}, + {"2406:e4c0::/48", "140766"}, + {"2804:47d8::/32", "267080"}, + {"2a07:1980:4::/46", "48851"}, + {"240e:3b0:2200::/37", "136198"}, + {"2602:feda:bb0::/44", "140938"}, + {"2804:14d:5e00::/40", "28573"}, + {"2a01:8200::/32", "31216"}, + {"2403:4040::/32", "131937"}, + {"2804:2764::/32", "263898"}, + {"2001:559:8086::/48", "33657"}, + {"2406:eb00:208::/47", "132653"}, + {"2607:fe28:2::/44", "53347"}, + {"2620:32:8000::/48", "1742"}, + {"2a0c:e640:102d::/46", "210951"}, + {"2001:559:5e0::/48", "33287"}, + {"240a:a287::/32", "143297"}, + {"240a:abb7::/32", "145649"}, + {"2607:f9a8::/32", "2685"}, + {"2804:67d4::/32", "269653"}, + {"2a02:26f0:6d01::/35", "20940"}, + {"2a02:26f7:c089::/46", "20940"}, + {"2400:a980:6000::/40", "133512"}, + {"2402:800:520f::/43", "7552"}, + {"240a:a573::/32", "144045"}, + {"2602:ff75:1000::/36", "22653"}, + {"2a10:f840::/29", "52031"}, + {"2401:d800:5732::/40", "7552"}, + {"2600:380:a080::/39", "20057"}, + {"2602:feb4:1e0::/44", "25961"}, + {"2602:feda:c51::/48", "212279"}, + {"2803:6604:a401::/39", "28075"}, + {"2a0e:aa01:1fff::/48", "139589"}, + {"240a:a7be::/32", "144632"}, + {"2604:e840:a::/43", "396965"}, + {"2a02:cc8::/31", "60781"}, + {"2001:678:e8::/48", "41088"}, + {"2402:3a80:1364::/47", "38266"}, + {"2a02:26f7:e305::/46", "20940"}, + {"2804:43e0::/32", "267596"}, + {"2001:559:14f::/48", "33287"}, + {"240a:ac44::/32", "145790"}, + {"2c0f:f708::/32", "327693"}, + {"2001:6d0:ffb8::/48", "3316"}, + {"2604:2ec0::/32", "13984"}, + {"2804:6100::/32", "269205"}, + {"2a0e:b107:8e0::/44", "213372"}, + {"2001:44b8:105f::/48", "4739"}, + {"2401:d800:da80::/41", "7552"}, + {"2001:559:2de::/48", "33660"}, + {"2001:559:c3cb::/45", "7015"}, + {"2001:678:f70::/48", "213027"}, + {"2001:67c:18b0::/48", "35684"}, + {"2406:d740::/46", "141449"}, + {"2604:480::/32", "40098"}, + {"2804:1764::/32", "263143"}, + {"2a03:5240::/32", "199599"}, + {"2001:df0:e480::/47", "7545"}, + {"240a:a09f::/32", "142809"}, + {"2606:82c0:21::/45", "32167"}, + {"2a0d:8cc0::/29", "43350"}, + {"2001:559:838f::/48", "33490"}, + {"240a:aca8::/32", "145890"}, + {"2800:160:28b5::/41", "14259"}, + {"2804:18f4::/32", "61765"}, + {"2a0a:6780::/29", "206377"}, + {"2001:ee0:cb40::/37", "45899"}, + {"2402:800:7352::/40", "7552"}, + {"2620:12d:e0a0::/44", "394027"}, + {"2803:f1a0::/32", "267705"}, + {"2a00:e20::/39", "25048"}, + {"2a00:79e1:380::/48", "395973"}, + {"2a02:26f0:b000::/48", "34164"}, + {"2001:559:13b::/48", "397601"}, + {"2001:fd8:2a8::/41", "4775"}, + {"2001:4210:290a::/35", "25818"}, + {"2800:370:10::/48", "28006"}, + {"2803:48e0:2::/32", "52468"}, + {"2804:78ac::/32", "271258"}, + {"2001:648:22b1::/41", "5408"}, + {"2402:fa00::/33", "55359"}, + {"2404:3e00:a700::/33", "38758"}, + {"2600:6c2e:d0e::/38", "20115"}, + {"2607:f110:e320::/41", "21889"}, + {"2804:1e48::/32", "4809"}, + {"2620:123:2000::/48", "30103"}, + {"2a00:11c0:aa1::/48", "42388"}, + {"2a02:4460::/32", "202032"}, + {"2a04:4e40:ae00::/48", "54113"}, + {"2a04:4e40:ba00::/48", "54113"}, + {"2a00:6700:1::/48", "202784"}, + {"2607:f978:7::/48", "32475"}, + {"2620:107:9042::/48", "22787"}, + {"2804:4b08::/32", "267279"}, + {"2804:7178::/32", "270791"}, + {"2a0b:8900::/32", "21214"}, + {"2402:2500::/45", "13445"}, + {"2600:6c10:413::/45", "20115"}, + {"2803:5c80:6001::/48", "64114"}, + {"2804:5ca0::/32", "268920"}, + {"2804:628c:4000::/42", "269303"}, + {"2a02:26f7:c088::/48", "36183"}, + {"2a0c:9a40:8116::/47", "204438"}, + {"2001:559:847b::/48", "33650"}, + {"2001:4210:6b00::/32", "25818"}, + {"2001:4878:321::/45", "12222"}, + {"2404:e100:3002::/47", "55685"}, + {"2620:83:a000::/48", "394191"}, + {"2001:57a:8038::/41", "22773"}, + {"2404:3200::/32", "17509"}, + {"2405:1c0:61db::/48", "55303"}, + {"2804:4d0c::/32", "267409"}, + {"2a07:2180::/32", "48579"}, + {"2a05:f6c0::/29", "203953"}, + {"2001:250:3434::/44", "138393"}, + {"240e:6:d140::/40", "4134"}, + {"2803:9800:a507::/36", "11664"}, + {"2803:ac10::/32", "271876"}, + {"2804:75b0:8000::/33", "271063"}, + {"2a01:3a8::/32", "20507"}, + {"2a02:26f7:fb09::/42", "20940"}, + {"2a04:bc40:3dc0::/44", "44750"}, + {"2a07:2500::/29", "48374"}, + {"2001:67c:2480::/48", "212966"}, + {"240a:a058::/32", "142738"}, + {"2806:2f0:45c3::/42", "17072"}, + {"2a0b:b84::/31", "7489"}, + {"2404:c000:8000::/46", "17727"}, + {"240a:ac2f::/32", "145769"}, + {"2604:3fc0:2000::/35", "396300"}, + {"2001:559:807a::/47", "33651"}, + {"2405:a400::/32", "38793"}, + {"2408:84f3:3660::/40", "17623"}, + {"2409:804d:2100::/35", "9808"}, + {"2600:3000:5100::/40", "13845"}, + {"2600:370f:73b0::/41", "32261"}, + {"2600:9000:a120::/41", "16509"}, + {"2607:f770:fffc::/46", "22958"}, + {"2a01:5043:e::/48", "202196"}, + {"2a03:d480::/32", "42455"}, + {"2001:559:476::/48", "7922"}, + {"2001:16d8:a0a3::/36", "16150"}, + {"2600:4402:2019::/32", "6130"}, + {"2804:2ca4::/33", "265232"}, + {"2001:559:21a::/48", "33651"}, + {"240a:a86f::/32", "144809"}, + {"2806:230:100b::/48", "11888"}, + {"2a04:4e40:f010::/42", "54113"}, + {"2409:8535::/22", "9808"}, + {"2620:11:40::/45", "3486"}, + {"2001:559:85cc::/48", "7922"}, + {"2400:6280:10d::/48", "132280"}, + {"2408:8956:7400::/40", "17622"}, + {"2607:1000::/32", "30263"}, + {"2607:f380:805::/48", "2152"}, + {"2804:9f8::/33", "262773"}, + {"2a00:1a28::/40", "42708"}, + {"2001:4b98:abcb::/48", "209453"}, + {"2408:8956:6f00::/40", "17816"}, + {"2409:8c28:c06::/39", "56041"}, + {"2602:fd0a::/36", "63027"}, + {"2803:c180:2010::/39", "52341"}, + {"2001:4c8:8000::/33", "6461"}, + {"2c0f:ef78:d::/46", "63293"}, + {"2401:7400:2ff::/36", "4773"}, + {"2620:104:4008::/48", "15248"}, + {"2804:3cac::/32", "266228"}, + {"2a02:2170::/32", "41480"}, + {"2a0f:85c0::/48", "207841"}, + {"2001:470:50::/48", "36791"}, + {"2406:20c0:6001::/32", "140423"}, + {"2408:843c:2600::/30", "4837"}, + {"2804:1ccc::/32", "61676"}, + {"2a00:8080::/32", "43366"}, + {"2a01:a500:2::/34", "42831"}, + {"2402:db40:2::/33", "131486"}, + {"2604:c8c0::/36", "396045"}, + {"2404:4a00:1001::/34", "45629"}, + {"2404:4e00:8000::/48", "32787"}, + {"2408:8256:1196::/37", "17622"}, + {"2620:9:a00c::/46", "395515"}, + {"2800:bf0::/43", "52257"}, + {"2a02:26f7:b5c9::/42", "20940"}, + {"2604:f980:2500::/44", "19957"}, + {"2409:8c4c:17::/44", "9808"}, + {"2620:100:3010::/48", "23286"}, + {"2a09:adc0:2::/29", "64466"}, + {"2001:559:8549::/46", "7015"}, + {"2405:7f00:9e40::/40", "133414"}, + {"2803:9c60::/32", "46198"}, + {"2804:3a64::/32", "266086"}, + {"2001:1248:5ad8::/42", "11172"}, + {"2600:1012:9110::/36", "22394"}, + {"2605:9d80:9092::/48", "4809"}, + {"2804:84f0::/32", "272547"}, + {"2a02:26f7:cb09::/45", "20940"}, + {"2a02:6600:f001::/29", "5377"}, + {"2a02:c100::/29", "199645"}, + {"2409:8030:2100::/36", "9808"}, + {"2804:4760:fab4::/37", "267050"}, + {"2804:81e0::/32", "272483"}, + {"2001:559:35e::/48", "7015"}, + {"2001:4048:109::/32", "33922"}, + {"2001:4490:3bfc::/37", "9829"}, + {"2001:4998:ef64::/47", "14778"}, + {"2800:160:2034::/41", "14259"}, + {"2a00:1510::/32", "42882"}, + {"2a02:26f7:b6c5::/46", "20940"}, + {"2a02:2930::/32", "49767"}, + {"2409:8054:3045::/42", "56040"}, + {"2600:6c3a:403::/42", "20115"}, + {"2c0f:fe38:2340::/32", "33771"}, + {"2401:d800:720::/41", "7552"}, + {"240e:108:24::/48", "134768"}, + {"2606:2800:5120::/46", "15133"}, + {"2803:760::/39", "269816"}, + {"2804:188:6007::/32", "262750"}, + {"2804:5500::/34", "268683"}, + {"2a00:7fc0::/33", "25291"}, + {"2a0f:304::/32", "1239"}, + {"2001:b08:26::/48", "198685"}, + {"2804:32e8::/32", "265104"}, + {"2a12:ff80::/48", "212686"}, + {"2001:260::/32", "2518"}, + {"2600:1006:d140::/43", "6167"}, + {"2804:1e38:6000::/32", "264415"}, + {"2404:3c00:1000::/32", "23944"}, + {"2603:c002:9710::/36", "31898"}, + {"2620:100:6000::/43", "19679"}, + {"2a0e:b107:da0::/44", "142438"}, + {"2a0f:ff00:100::/38", "213281"}, + {"2610:b0:40fe::/39", "21433"}, + {"2001:550:2c01::/38", "174"}, + {"2001:559:388::/48", "7922"}, + {"2402:800:392b::/41", "7552"}, + {"240a:a845::/32", "144767"}, + {"2804:5098::/32", "268398"}, + {"2a04:4e40:fe30::/41", "54113"}, + {"2a0a:1086:c0fe::/47", "393954"}, + {"2a0b:14c0:2::/48", "61273"}, + {"2607:f110:e520::/36", "21889"}, + {"2804:4fb4::/32", "268344"}, + {"2a00:11c0:3b::/48", "42473"}, + {"2a02:e980:ae::/43", "19551"}, + {"2401:fdc0:10::/44", "141013"}, + {"2409:803c:1800::/40", "24444"}, + {"2804:5f50::/32", "269091"}, + {"2800:bf0:3785::/42", "27947"}, + {"2804:80a8::/39", "271765"}, + {"2a0c:dec0:f100::/48", "207063"}, + {"2a0e:97c0:76c::/48", "207662"}, + {"2001:978:a701::/35", "174"}, + {"2405:1640::/32", "138886"}, + {"2606:6800:2400::/40", "394903"}, + {"2001:559:1b3::/48", "20214"}, + {"2409:8a50:700::/36", "56047"}, + {"2604:9e01::/32", "20264"}, + {"2803:c760::/32", "269819"}, + {"2806:230:2038::/48", "265594"}, + {"240e:981:b000::/39", "134420"}, + {"2604:bb80:300::/32", "14602"}, + {"2606:8e80:6800::/35", "32133"}, + {"2610:20:8804::/46", "2648"}, + {"2804:2484::/32", "28258"}, + {"2804:82c8::/32", "272540"}, + {"2806:102e:2::/45", "8151"}, + {"2a00:4802:320::/44", "13124"}, + {"2a10:1800:666::666/128", "43142"}, + {"2001:1818::/32", "7850"}, + {"2403:300:a15::/48", "714"}, + {"240a:a20d::/32", "143175"}, + {"2a02:950::/30", "31229"}, + {"2a06:28c0::/29", "197798"}, + {"2001:559:78c::/48", "33287"}, + {"2001:559:c15d::/48", "22909"}, + {"2408:8956:4c00::/40", "17622"}, + {"2803:3410::/32", "64129"}, + {"2804:819c::/32", "272465"}, + {"2a00:15a8:900::/32", "29140"}, + {"240e:964:ec00::/35", "4134"}, + {"2a00:6740::/32", "8779"}, + {"2a02:26f7:23::/48", "20940"}, + {"2001:418:4001:2::/64", "20940"}, + {"240e:1c:6000::/32", "4134"}, + {"2a04:dc0::/48", "199386"}, + {"2a06:1580::/29", "201086"}, + {"2a0e:b107:1806::/48", "149007"}, + {"2001:4998:21::/46", "10310"}, + {"2400:0:720::/43", "4766"}, + {"240e:67e:8400::/38", "140329"}, + {"2804:2298::/32", "264110"}, + {"2a01:8840:1e::/42", "12041"}, + {"2001:590:3804::/37", "3257"}, + {"2408:8256:378a::/48", "17623"}, + {"2804:6f0:900::/32", "53047"}, + {"2a0a:c700::/29", "28788"}, + {"2401:3bc0:901::/35", "137409"}, + {"240a:a873::/32", "144813"}, + {"2804:15c8::/32", "263410"}, + {"2a05:6c00::/29", "62126"}, + {"2001:56a:c::/47", "852"}, + {"2001:67c:2dec::/48", "41617"}, + {"240a:afee::/32", "146728"}, + {"2804:7dbc::/32", "271579"}, + {"2406:c800:e001::/35", "38016"}, + {"240e:3b0:f100::/37", "134775"}, + {"2603:8077::/32", "11955"}, + {"2605:6400:d814::/48", "398355"}, + {"2607:2900::/32", "25914"}, + {"2803:1e10::/36", "271975"}, + {"2a06:e881:2509::/48", "205634"}, + {"2405:4803:edd0::/35", "18403"}, + {"2407:1e40:601::/36", "141732"}, + {"240a:a968::/32", "145058"}, + {"2600:370f:3628::/47", "32261"}, + {"2600:6c3a:43a::/36", "20115"}, + {"2804:2ac8::/32", "265118"}, + {"2a04:4e40:4000::/48", "54113"}, + {"2a05:bf00::/29", "43260"}, + {"2a06:a005:a::/47", "9833"}, + {"2001:67c:99c::/48", "209105"}, + {"2620:149:100d::/46", "714"}, + {"2001:42d0:b::/40", "33764"}, + {"2001:4878:8228::/48", "12222"}, + {"2402:800:350f::/43", "7552"}, + {"2605:a404:f0::/44", "33363"}, + {"2620:38:2000::/48", "53535"}, + {"2620:10f:d000::/44", "208722"}, + {"2620:132::/44", "63027"}, + {"2804:1a30:c100::/40", "61844"}, + {"2001:ad8::/29", "8823"}, + {"240a:a2ed::/32", "143399"}, + {"240a:ad8b::/32", "146117"}, + {"240e:379:aa00::/39", "140330"}, + {"2620:151::/36", "16793"}, + {"2a04:6040::/31", "49229"}, + {"2a0a:e805:610::/44", "64476"}, + {"240a:a621::/32", "144219"}, + {"2600:1415:a::/48", "24319"}, + {"2606:4700:85c0::/43", "13335"}, + {"2806:230:1000::/48", "265594"}, + {"2a0f:600:607::/44", "51044"}, + {"2001:559:256::/48", "33662"}, + {"2600:1010:f100::/44", "6167"}, + {"2800:bf0:2420::/45", "52257"}, + {"2803:5c80:5595::/48", "64114"}, + {"2804:6c1c::/32", "270446"}, + {"2a03:a2c2::/32", "60595"}, + {"2a0b:2542::/48", "137256"}, + {"2409:8c30:1110::/38", "9808"}, + {"2606:a000:4000::/32", "11426"}, + {"2804:14c:fc00::/40", "28573"}, + {"2804:787c::/32", "271245"}, + {"2400:7400:e013::/48", "23736"}, + {"2402:e380:301::/48", "133072"}, + {"2607:f8f8:1f10::/32", "23033"}, + {"2001:df5:1680::/48", "45671"}, + {"2a02:26f7:d208::/48", "36183"}, + {"2a0d:c980::/29", "204487"}, + {"2a10:6500::/29", "399975"}, + {"240e:44d:2700::/41", "140345"}, + {"2602:fcca::/36", "399428"}, + {"2a02:5640::/29", "9137"}, + {"2c0f:e9c8::/32", "36926"}, + {"2001:1598::/32", "28747"}, + {"2401:8ac0:1c0::/48", "4671"}, + {"2620:68::/48", "29906"}, + {"2803:9800:9099::/46", "11664"}, + {"2804:62ec::/32", "269328"}, + {"2a02:26f7:b68d::/42", "20940"}, + {"2a02:2808:1009::/48", "56361"}, + {"2001:559:c3::/44", "7922"}, + {"2402:800:ba02::/41", "7552"}, + {"2406:daa0:c0c0::/44", "16509"}, + {"2804:672c::/32", "269609"}, + {"2a07:bfc0::/29", "9022"}, + {"2a0b:7800::/29", "15600"}, + {"2001:250:3c04::/44", "138369"}, + {"2001:559:c231::/48", "33652"}, + {"2407:3e80::/32", "38768"}, + {"2606:6300::/32", "46618"}, + {"2804:1b3:6f00::/41", "10429"}, + {"2a02:26f7:f381::/46", "20940"}, + {"2001:559:5d6::/47", "7922"}, + {"2404:2200:28::/32", "18200"}, + {"2804:4bc:5001::/32", "262462"}, + {"2804:e40::/32", "262947"}, + {"2a02:2ac8::/32", "702"}, + {"2001:df1:e000::/48", "55666"}, + {"2001:1248:885c::/42", "11172"}, + {"2001:1248:97ef::/43", "11172"}, + {"2804:6538::/32", "269476"}, + {"2001:559:c178::/48", "33657"}, + {"2001:67c:29f4::/48", "58302"}, + {"2401:1100::/32", "133380"}, + {"2406:2000:100::/40", "10310"}, + {"2800:160:1b87::/44", "14259"}, + {"2a0a:e5c0::/48", "209898"}, + {"2001:559:3d9::/48", "7922"}, + {"240c:c02f::/32", "24349"}, + {"2607:6b80:65::/48", "55081"}, + {"2804:128c::/32", "263483"}, + {"2a02:158:c000::/39", "44946"}, + {"2a04:1b00:80::/47", "60679"}, + {"2a0e:eec4::/32", "398343"}, + {"2001:678:80::/48", "51955"}, + {"2401:d800:d220::/41", "7552"}, + {"2804:f18::/32", "263566"}, + {"2001:559:35b::/48", "33651"}, + {"2001:13c7:601d::/48", "64103"}, + {"2001:4408:4801::/40", "4758"}, + {"2401:8b00::/32", "55385"}, + {"2402:800:9d1d::/41", "7552"}, + {"2600:1f00:1000::/40", "16509"}, + {"2804:1018::/32", "263619"}, + {"2a00:7580:10::/48", "8659"}, + {"2a0c:b640:a::/43", "34872"}, + {"2001:559:747::/48", "33287"}, + {"2404:e00:852::/48", "15695"}, + {"240a:a1a1::/32", "143067"}, + {"2a02:ee80:4012::/45", "3573"}, + {"2001:4878:4007::/44", "12222"}, + {"2001:49f0:d110::/47", "174"}, + {"2600:400:8f00::/33", "15147"}, + {"2804:1080:8003::/48", "28287"}, + {"2804:84f4::/32", "272548"}, + {"2a00:1e28::/32", "12859"}, + {"2001:559:c24d::/46", "7015"}, + {"2403:9200::/32", "23641"}, + {"2800:ad0::/32", "11816"}, + {"2806:2f0:60e1::/46", "17072"}, + {"2a02:26f7:cd4d::/46", "20940"}, + {"2a03:7dc0::/32", "39256"}, + {"2a10:7d40::/29", "6939"}, + {"2001:678:3b8::/48", "208733"}, + {"2a01:41a0::/32", "62282"}, + {"2a09:be40:4200::/41", "213349"}, + {"2a0b:d280::/32", "20655"}, + {"2404:3d00:40ec::/46", "21433"}, + {"2605:f700:100::/44", "18978"}, + {"2804:7cb4::/32", "271513"}, + {"2a0d:7a00::/29", "205145"}, + {"2a0e:97c3:5c4::/48", "20473"}, + {"2400:89c0:1130::/44", "37936"}, + {"2a01:75c0::/29", "199284"}, + {"2408:8957:4d00::/40", "17816"}, + {"240a:ae0b::/32", "146245"}, + {"2600:1000:9110::/36", "22394"}, + {"2605:4d80::/32", "27626"}, + {"2401:d800:7e70::/40", "7552"}, + {"2a01:70::/32", "25098"}, + {"2a03:6100:6100::/48", "38937"}, + {"2a0d:fd40:57::/29", "14630"}, + {"2401:d800:f020::/41", "7552"}, + {"2402:800:7ce0::/39", "7552"}, + {"240a:ae14::/32", "146254"}, + {"240a:afa0::/32", "146650"}, + {"2605:a401:8313::/42", "33363"}, + {"2803:6900:524::/48", "52423"}, + {"2a0e:db80::/29", "205516"}, + {"2406:840:eb80::/43", "140731"}, + {"2806:2f0:33e3::/37", "17072"}, + {"2a01:5b40:ac4::/32", "12996"}, + {"2a03:9c00:d::/48", "41732"}, + {"2a0c:b641:45c::/48", "210348"}, + {"2401:1880::/32", "45177"}, + {"2600:1404:dc01::/34", "20940"}, + {"2620:10a:80ec::/48", "394354"}, + {"2801:11:4000::/48", "10753"}, + {"2801:80:e60::/48", "264534"}, + {"2a02:26f7:d445::/46", "20940"}, + {"2001:1a12::/29", "8781"}, + {"2001:41ca::/29", "35425"}, + {"2602:803:c006::/48", "26667"}, + {"2602:fd15:2::/36", "398465"}, + {"2610:1e0::/35", "3714"}, + {"2804:5c18::/32", "268887"}, + {"2a02:26f7:c004::/48", "36183"}, + {"2001:67c:2b64::/48", "210466"}, + {"240a:70::/46", "9605"}, + {"2604:56c0::/32", "53507"}, + {"2804:7b54::/32", "271425"}, + {"2a06:8781::/40", "47447"}, + {"2610:160::/43", "27325"}, + {"2804:5094::/32", "268397"}, + {"2806:2f0:6063::/40", "17072"}, + {"2408:8656:2cfd::/48", "17816"}, + {"240a:ad3e::/32", "146040"}, + {"2803:b6a0::/32", "266905"}, + {"2404:f4c0:f90e::/47", "139833"}, + {"240a:a993::/32", "145101"}, + {"2a01:7c8:8000::/33", "20857"}, + {"2a01:8840:35::/48", "207266"}, + {"2001:4878:c257::/48", "12222"}, + {"2400:9380:9250::/46", "4809"}, + {"2804:4e24::/32", "268242"}, + {"2a02:26f7:c894::/48", "36183"}, + {"2404:4f00:3045::/32", "17819"}, + {"2409:8915:3400::/39", "56044"}, + {"2605:59c0:8000::/33", "36492"}, + {"2a02:26f7:c94e::/42", "20940"}, + {"2001:16a2:c1f0::/44", "39386"}, + {"2001:19e8:8041::/48", "3923"}, + {"2001:1a11:22::/45", "8781"}, + {"2400:7400:36::/47", "23736"}, + {"2405:a740::/32", "58820"}, + {"240a:a1e6::/32", "143136"}, + {"2600:140f:c00::/48", "55836"}, + {"2804:58b8:11::/48", "15695"}, + {"2a00:e78::/33", "34602"}, + {"2a01:4f40::/32", "29222"}, + {"2a02:26f7:c::/48", "36183"}, + {"2001:67c:154::/48", "25318"}, + {"2408:840c:9c00::/40", "17621"}, + {"2620:46:4000::/48", "395431"}, + {"2804:14d:1a00::/40", "28573"}, + {"2a03:a300:2000::/48", "35104"}, + {"2404:2680::/32", "9618"}, + {"2606:2800:15::/46", "15133"}, + {"2403:2c00:f000::/43", "4058"}, + {"2610:e0:a010::/44", "26934"}, + {"2804:5bcc::/32", "52657"}, + {"2806:230:3009::/48", "11888"}, + {"2803:800:5::/32", "25607"}, + {"2a01:c50f:f780::/36", "12479"}, + {"2a0e:5b80::/29", "42487"}, + {"2402:1c00:c01::/45", "23838"}, + {"2605:6400:4000::/32", "53667"}, + {"2a00:d40:10a::/48", "2597"}, + {"2001:559:212::/48", "7016"}, + {"2405:205:4000::/35", "55836"}, + {"2408:8957:3800::/40", "17622"}, + {"240e:3bd:6400::/35", "140312"}, + {"240e:67d:800::/37", "140329"}, + {"240e:964:f600::/31", "4134"}, + {"240e:983:1702::/40", "4134"}, + {"2804:3984::/32", "262902"}, + {"2a05:d8c0::/29", "15391"}, + {"2001:da8:e824::/37", "23910"}, + {"2602:107:510::/48", "11351"}, + {"2610:b0:40f8::/47", "21433"}, + {"2803:a010::/32", "271795"}, + {"2a00:fa60:1520::/32", "53550"}, + {"2a02:26f7:112::/48", "36183"}, + {"2a0a:9c40::/29", "43809"}, + {"2001:559:857b::/48", "33662"}, + {"2001:559:c2cd::/48", "33650"}, + {"2001:470:c7::/44", "6939"}, + {"2001:559:c1ec::/48", "33651"}, + {"2001:43f8:1090::/48", "328267"}, + {"2402:3a80:c80::/38", "38266"}, + {"2403:ddc0::/32", "138388"}, + {"240e:54:8000::/33", "140329"}, + {"2600:805:b01::/30", "701"}, + {"2803:f00::/47", "262182"}, + {"2a01:9780::/32", "209754"}, + {"2a06:e040::/33", "198507"}, + {"2a0f:b4c3::/32", "199669"}, + {"2a10:7a40:3::/48", "39910"}, + {"2402:3a80:640::/40", "38266"}, + {"2403:e800:51b::/36", "4637"}, + {"2406:aa00::/35", "55354"}, + {"2400:d800::/30", "9506"}, + {"2409:8044::/34", "24445"}, + {"240a:aa21::/32", "145243"}, + {"2605:3380:444f::/48", "12025"}, + {"2a04:2ac0::/29", "61081"}, + {"2a0d:f3c0::/29", "34907"}, + {"2c0f:1300::/32", "37440"}, + {"2409:8080:2a20::/44", "9808"}, + {"2409:870c::/30", "56042"}, + {"240a:af29::/32", "146531"}, + {"2600:1419:ac01::/35", "20940"}, + {"2a01:cb20:1000::/33", "3215"}, + {"2a0d:540::/29", "203180"}, + {"2a0d:82c7:2000::/35", "47787"}, + {"2001:559:c0fe::/48", "33650"}, + {"240a:ad00::/32", "145978"}, + {"2604:f9c0::/32", "397064"}, + {"2606:f700::/32", "54359"}, + {"2a0c:cb00::/32", "212313"}, + {"240e:183:8210::/46", "140652"}, + {"2620:0:e50::/45", "3676"}, + {"2a0c:b641:70::/48", "211013"}, + {"2001:559:8668::/48", "7725"}, + {"2001:559:c010::/47", "33287"}, + {"2605:a401:842b::/39", "33363"}, + {"2804:256c::/32", "264280"}, + {"2804:6608::/33", "269529"}, + {"2a0e:11c0::/32", "61150"}, + {"2a11:fc0::/29", "210767"}, + {"2606:8c00:2::/48", "22995"}, + {"2607:ae80:128::/48", "26558"}, + {"2a04:1580::/29", "200155"}, + {"2a0f:9340::/48", "1299"}, + {"2001:559:8753::/48", "7015"}, + {"2401:d800:f1d0::/42", "7552"}, + {"2607:f220:204::/44", "19050"}, + {"2620:149:a19::/48", "714"}, + {"2804:2b4::/36", "28265"}, + {"2a02:970:139a::/37", "44002"}, + {"2804:51ec::/32", "268485"}, + {"2a03:91c0::/32", "57394"}, + {"2a0b:2d85::/32", "44582"}, + {"2001:1248:982c::/43", "11172"}, + {"2804:d10::/32", "52593"}, + {"2804:47a0:2000::/32", "267066"}, + {"2001:559:82::/48", "33651"}, + {"2001:559:8359::/48", "33659"}, + {"2001:da8:9000::/45", "24369"}, + {"2403:9800:12::/42", "4648"}, + {"2604:7ac0:b00::/37", "12213"}, + {"2607:fb58:9000::/33", "36086"}, + {"2804:e94:675::/44", "262468"}, + {"2a00:a4c0::/32", "57734"}, + {"2a06:e044::/44", "203382"}, + {"2408:8344:1200::/32", "4837"}, + {"2602:fcbc::/48", "14618"}, + {"2803:5b10::/32", "272083"}, + {"2a02:d88::/32", "20552"}, + {"2a03:c680::/29", "28919"}, + {"2a0e:8f02:f026::/48", "211480"}, + {"2600:802:1103::/45", "701"}, + {"2001:4488:5::/34", "7713"}, + {"2001:da8:d024::/48", "23910"}, + {"2001:4408:4900::/37", "4758"}, + {"2405:84c0:99f0::/44", "9886"}, + {"240e:438:b040::/38", "4134"}, + {"2803:da60::/32", "267890"}, + {"2a0a:e5c0:2a::/47", "213081"}, + {"2001:559:81f0::/48", "33657"}, + {"2001:44b8:405e::/48", "7545"}, + {"2409:804e:3100::/36", "9808"}, + {"2409:8958:cd44::/43", "9808"}, + {"2600:100d:b1d0::/42", "6167"}, + {"2a02:26f7:dd09::/42", "20940"}, + {"2a0b:4340:95::/48", "205610"}, + {"2a0b:9d80::/32", "15699"}, + {"2a0c:5247:9000::/36", "59504"}, + {"2610:20:6000::/37", "49"}, + {"2a01:240::/32", "30781"}, + {"2a02:748::/35", "29802"}, + {"2a02:26f0:8a00::/48", "34164"}, + {"2a05:b0c6:6006::/48", "211139"}, + {"2a0a:e580::/29", "208861"}, + {"2001:559:164::/48", "33489"}, + {"2001:559:51b::/48", "7922"}, + {"2407:c00:8000::/33", "45356"}, + {"2606:4fc0:10::/44", "399581"}, + {"2a0a:cf40::/29", "44295"}, + {"2403:1300:9000::/33", "56286"}, + {"2602:fe1e::/36", "22751"}, + {"2804:62e8::/32", "269327"}, + {"2a01:46c0::/48", "199248"}, + {"2a06:1287:2610::/36", "61138"}, + {"2a09:eb80::/29", "209649"}, + {"2001:559:864c::/48", "33491"}, + {"2001:559:86e8::/47", "33652"}, + {"2404:f4c0:f940::/46", "142551"}, + {"240e:3b8:7600::/39", "140313"}, + {"2806:2f0:1300::/46", "22884"}, + {"2604:880:26::/47", "29802"}, + {"2804:90:6300::/37", "28580"}, + {"2804:3e1c::/32", "266574"}, + {"2a0a:8740::/29", "205851"}, + {"2001:1580::/32", "9158"}, + {"2606:6240:dead::/48", "398447"}, + {"2607:f028:8::/48", "2173"}, + {"2001:559:c3f8::/48", "7725"}, + {"2001:df1:f600::/48", "27385"}, + {"2001:4400::/31", "4768"}, + {"2600:140b:2c00::/48", "31109"}, + {"2a10:3140::/30", "208256"}, + {"2a12:ea00::/29", "1239"}, + {"2001:559:401::/48", "20214"}, + {"2001:559:7bf::/48", "33651"}, + {"2001:1878:800::/44", "85"}, + {"2406:e540::/48", "140766"}, + {"2604:6d00:2000::/48", "36223"}, + {"2604:ca00:7::/48", "36492"}, + {"2a04:ac0:1::/48", "20860"}, + {"2404:a500:4::/47", "45854"}, + {"2a02:26f7:e345::/46", "20940"}, + {"2a02:26f7:e48c::/48", "36183"}, + {"2001:468:300::/48", "2637"}, + {"2001:df0:86::/48", "18055"}, + {"240a:a7ca::/32", "144644"}, + {"2605:cac0::/32", "398425"}, + {"2804:eac::/32", "262967"}, + {"2806:2f0:1182::/48", "17072"}, + {"2a02:26f0:d501::/40", "20940"}, + {"2a02:26f7:cdc5::/46", "20940"}, + {"2a0d:1cc0::/48", "208549"}, + {"2402:800:9363::/43", "7552"}, + {"2804:7654::/32", "271104"}, + {"2a02:c140::/29", "8426"}, + {"2c0f:f980:7000::/32", "33763"}, + {"2001:c20:486a::/48", "9255"}, + {"2001:1810::/42", "14116"}, + {"240a:aa95::/32", "145359"}, + {"2606:fe80:20::/44", "12180"}, + {"2620:9a:e000::/48", "399879"}, + {"2800:bf0:80ed::/46", "27947"}, + {"2804:14c:7579::/40", "28573"}, + {"2a02:480::/32", "8685"}, + {"2001:559:c299::/48", "7015"}, + {"2402:800:3a8d::/43", "7552"}, + {"2402:800:70c0::/42", "7552"}, + {"240a:acfd::/32", "145975"}, + {"2602:fc6d::/40", "25819"}, + {"2a0c:b641:32::/48", "210233"}, + {"2c0f:f360::/34", "7489"}, + {"2001:559:833f::/48", "22258"}, + {"2001:19d0:600::/40", "12025"}, + {"240a:a562::/32", "144028"}, + {"2a02:26f7:e4::/48", "36183"}, + {"2001:43f8:2a0::/48", "32279"}, + {"2001:4408:6d10::/38", "4758"}, + {"2001:4830:c500::/40", "27552"}, + {"2804:2844::/33", "263951"}, + {"2001:559:c19a::/48", "13367"}, + {"2001:559:c3d6::/48", "33657"}, + {"2001:678:5f4::/48", "204626"}, + {"2409:802f:2b05::/48", "9808"}, + {"240a:a26e::/32", "143272"}, + {"240a:a770::/32", "144554"}, + {"240a:a932::/32", "145004"}, + {"2804:c90::/47", "28198"}, + {"2001:400:6000:a::/37", "293"}, + {"2001:559:85a9::/46", "33662"}, + {"2600:1417:1a::/48", "24319"}, + {"2605:41c0:2::/48", "397042"}, + {"2620:149:5fc::/36", "714"}, + {"2a02:368::/32", "28859"}, + {"2a02:26f7:bd0c::/48", "36183"}, + {"2a06:6541:30c1::/48", "3549"}, + {"2c0f:fbc8::/32", "37075"}, + {"240a:aba2::/32", "145628"}, + {"2804:14c:445::/42", "28573"}, + {"2804:7acc::/32", "13357"}, + {"2806:230:1200::/45", "11888"}, + {"2a10:8580::/48", "206436"}, + {"2001:559:c41f::/48", "33287"}, + {"2402:2500:7::/33", "13445"}, + {"240a:ad80::/32", "146106"}, + {"240e:cf:a000::/33", "4134"}, + {"240e:3bf:c000::/37", "140315"}, + {"2a02:26f7:df01::/46", "20940"}, + {"2a0d:55c0::/29", "58011"}, + {"2403:2500:400::/48", "36236"}, + {"2409:8060:100::/36", "9808"}, + {"2605:ad80:12f0::/44", "62887"}, + {"2607:f7a8:200::/39", "46887"}, + {"2801:1fc:14::/48", "27951"}, + {"2a02:26f7:4d::/48", "20940"}, + {"2400:ac40:d50::/40", "136255"}, + {"240e:44d:5e00::/41", "140345"}, + {"2001:448a:2010::/47", "7713"}, + {"2803:d860::/32", "267826"}, + {"2804:5b64::/32", "268840"}, + {"2a00:d880::/32", "198203"}, + {"2001:559:c285::/48", "33660"}, + {"2400:3320::/48", "140766"}, + {"2408:8456:1940::/40", "17816"}, + {"2409:805e:1100::/36", "9808"}, + {"2600:6c10:f308::/43", "20115"}, + {"2607:f220:300::/44", "22828"}, + {"2800:bf0:8120::/44", "52257"}, + {"2804:de0::/32", "262604"}, + {"2a0f:9400:800e::/48", "140098"}, + {"2606:3380:4::/43", "53334"}, + {"2607:fb90:b500::/36", "21928"}, + {"2a02:22d0::/44", "61323"}, + {"2406:f400:161::/48", "38001"}, + {"2600:1417:50::/47", "9829"}, + {"2606:5000:1200::/34", "209"}, + {"2800:bf0:3a04::/42", "27947"}, + {"2402:9d80:a00::/47", "131429"}, + {"240e:44d:4480::/41", "4134"}, + {"2602:ff4b::/48", "18106"}, + {"2606:4e00::/32", "396362"}, + {"2600:5c00:141::/40", "10838"}, + {"2600:9000:103b::/48", "16509"}, + {"2605:9d80:9023::/48", "4809"}, + {"2800:68:14::/48", "61468"}, + {"2a01:7a00::/36", "51701"}, + {"2a01:bb22::/32", "14618"}, + {"2a07:7a00::/29", "204064"}, + {"2a0b:ae40:5::/44", "396362"}, + {"2001:4210:350a::/33", "25818"}, + {"2404:79c0:1002::/48", "138633"}, + {"2408:8957:6400::/40", "17622"}, + {"2409:8a52:900::/38", "56047"}, + {"240a:a74f::/32", "144521"}, + {"2001:559:84c2::/48", "33659"}, + {"2402:8100:24c0::/42", "45271"}, + {"2610:b0:403c::/41", "3573"}, + {"2804:38f4::/32", "266514"}, + {"2a03:2887:ff1b::/45", "63293"}, + {"2a03:f080::/35", "42685"}, + {"2a0c:b641:452::/48", "211944"}, + {"2001:fd8:e4::/46", "132199"}, + {"2001:44b8:5::/48", "7545"}, + {"2a03:1360::/32", "31736"}, + {"2a0c:61c0::/32", "203602"}, + {"2403:cb00:301::/46", "58621"}, + {"2600:7000::/24", "6939"}, + {"2804:5d0:e000::/35", "28241"}, + {"2a00:1260::/32", "31641"}, + {"2a03:5840:100::/48", "213073"}, + {"2001:250:6802::/45", "138373"}, + {"2607:f2c0::/32", "5645"}, + {"2a01:4a0:31::/44", "201011"}, + {"2001:da8:2024::/44", "24357"}, + {"2001:1248:9728::/43", "11172"}, + {"240a:a8ab::/32", "144869"}, + {"240e:3bd:f100::/37", "134775"}, + {"2602:107:60d::/48", "20001"}, + {"2a00:1ca8:2d::/41", "50673"}, + {"2a02:26f7:bc09::/42", "20940"}, + {"2a02:4140::/45", "43957"}, + {"2a03:43e0::/32", "59748"}, + {"2001:43f8:1320::/48", "328358"}, + {"2403:4a00::/32", "9304"}, + {"2404:e801:100c::/46", "55430"}, + {"240e:24:c000::/28", "4134"}, + {"2a0d:ac00:1000::/48", "205202"}, + {"2a11:29c2:b00b::/48", "212149"}, + {"2600:1406:6401::/36", "20940"}, + {"2a00:dd00::/46", "212573"}, + {"2a02:c1c0::/29", "31655"}, + {"2a04:1c43::/29", "201035"}, + {"2001:c38:9125::/48", "9931"}, + {"2402:3a80:c062::/48", "38266"}, + {"240a:a58e::/32", "144072"}, + {"240a:ab43::/32", "145533"}, + {"240a:ac7a::/32", "145844"}, + {"240e:267:400::/35", "4134"}, + {"2600:1419:4c01::/35", "20940"}, + {"2804:11dc::/33", "263444"}, + {"2806:230:1027::/48", "11888"}, + {"2a02:ed04:4610::/39", "50304"}, + {"2a0f:9200::/31", "45009"}, + {"240e:438:4220::/43", "140647"}, + {"2600:370f:2020::/47", "32261"}, + {"2603:6030::/31", "10796"}, + {"2804:14c:6589::/43", "28573"}, + {"2001:559:21f::/48", "33491"}, + {"2404:e680::/35", "18409"}, + {"240a:a009::/32", "142659"}, + {"2602:ff0d::/39", "395938"}, + {"2606:18c0:3::/48", "61317"}, + {"2a02:2108::/32", "43284"}, + {"2a0e:46c4:200::/48", "38230"}, + {"2a0f:5000::/29", "205500"}, + {"2001:678:302::/48", "35684"}, + {"2606:9200::/32", "6428"}, + {"2607:fae0:245::/48", "15562"}, + {"2a00:ac00::/31", "51728"}, + {"2a03:6780::/48", "2119"}, + {"2a06:1cc0::/32", "198964"}, + {"2001:c20:700a::/36", "3758"}, + {"2401:c080:1000::/34", "20473"}, + {"2800:bf0:2300::/47", "52257"}, + {"2806:230:4015::/48", "11888"}, + {"2001:df5:5480::/48", "141412"}, + {"2405:7f00:3000::/38", "133414"}, + {"240e:3bd:1400::/38", "134773"}, + {"2804:7a7c:1000::/36", "271374"}, + {"2001:df0:1600::/48", "134980"}, + {"2804:2ecc::/32", "265367"}, + {"2806:2f0:72a1::/46", "17072"}, + {"2806:370:2210::/41", "28403"}, + {"2a00:4802:3200::/44", "13124"}, + {"2a04:4e41:60::/48", "54113"}, + {"240a:ab4b::/32", "145541"}, + {"2600:6c10:111::/45", "20115"}, + {"2a02:24e0::/32", "50957"}, + {"2a0f:5707:ab22::/48", "202297"}, + {"2407:2c0::/48", "140775"}, + {"240a:abd3::/32", "145677"}, + {"2a01:c50f:1140::/40", "12479"}, + {"2a10:7500::/29", "399975"}, + {"2001:250:c0d::/46", "138374"}, + {"2a00:7180:8004::/46", "207806"}, + {"2a10:4646:d0::/44", "210810"}, + {"2607:fd28:a004::/48", "62753"}, + {"2a02:26f7:ec54::/48", "36183"}, + {"2001:c98::/32", "9858"}, + {"2001:df0:44::/48", "17990"}, + {"2001:44b8:40d7::/48", "7545"}, + {"240a:ace5::/32", "145951"}, + {"2600:1415:4001::/37", "20940"}, + {"2600:1488:6421::/41", "20940"}, + {"2803:e600:9999::/48", "65500"}, + {"2a10:2f00:16c::/48", "211495"}, + {"2407:ca00::/32", "45280"}, + {"2607:f518:136::/35", "46887"}, + {"2803:e400::/32", "52373"}, + {"2804:39ec::/32", "266059"}, + {"2a01:3d8::/32", "12759"}, + {"2001:559:20b::/48", "22909"}, + {"2001:559:c091::/48", "33667"}, + {"2001:559:c378::/48", "7922"}, + {"2405:800:a::/35", "7545"}, + {"2409:896a:9e00::/39", "9808"}, + {"2602:fed2:710e::/48", "20473"}, + {"2a00:8140:f000::/36", "60351"}, + {"2a01:90:400::/48", "29668"}, + {"2a02:26f7:c8::/48", "36183"}, + {"2a05:4840::/29", "60576"}, + {"2402:c100:c03::/32", "23673"}, + {"2402:e380:322::/48", "64041"}, + {"2407:fa00::/32", "24043"}, + {"2409:8320::/27", "9808"}, + {"2605:2980::/32", "11404"}, + {"2a11:6c0::/40", "211083"}, + {"2c0f:ec80:9000::/33", "37315"}, + {"2001:559:8752::/48", "7922"}, + {"2620:137:d::/46", "396253"}, + {"2804:58::/32", "262659"}, + {"2804:6e68::/32", "270595"}, + {"2a02:26f7:c180::/48", "36183"}, + {"2a02:2e02:1230::/40", "12479"}, + {"2a03:bdc0::/32", "30781"}, + {"2a09:fc00::/29", "200848"}, + {"2a10:5900::/29", "208256"}, + {"2001:503:4872::/48", "7342"}, + {"2405:ec01:2000::/32", "137412"}, + {"2a11:5b40::/29", "204790"}, + {"2408:8459:b850::/38", "17816"}, + {"2804:14d:8e87::/44", "28573"}, + {"2804:79b4::/32", "271322"}, + {"2a02:2e02:1210::/42", "12479"}, + {"2a0e:6b40:10::/48", "42034"}, + {"240e:30b::/35", "137691"}, + {"2607:f2b1:4001::/48", "30614"}, + {"2a02:2698:7000::/38", "50543"}, + {"2001:5a0:3e02::/39", "6453"}, + {"240a:a0ce::/32", "142856"}, + {"2605:3d00::/32", "46353"}, + {"2610:b0:4072::/40", "3573"}, + {"2804:84f8::/32", "272549"}, + {"2400:dd0d:2001::/30", "7497"}, + {"2403:3a00::/32", "9371"}, + {"2405:1040::/48", "135905"}, + {"2407:5680::/32", "133476"}, + {"240e:3b4:1400::/38", "134773"}, + {"2804:48c0::/32", "267142"}, + {"2a02:df0::/32", "25233"}, + {"2a0f:c083::/32", "51837"}, + {"2a11:5740::/29", "1239"}, + {"2403:780:c000::/34", "64098"}, + {"2600:80c:1000::/39", "701"}, + {"2a00:6901:b005::/48", "20926"}, + {"2a06:a001:a000::/44", "210542"}, + {"2a0c:7480::/32", "5606"}, + {"2001:559:8510::/48", "33657"}, + {"2602:107:1010::/48", "33363"}, + {"2606:6e00::/32", "7296"}, + {"2607:e080::/32", "197696"}, + {"2804:4c2c::/32", "267354"}, + {"2a03:b280:1000::/48", "29838"}, + {"2409:8d5a:600::/45", "9808"}, + {"240a:a4b8::/32", "143858"}, + {"2600:1402:1f::/37", "20940"}, + {"2801:19c:10::/48", "14080"}, + {"2804:36f8::/32", "266383"}, + {"2a0e:b107:1567::/44", "209209"}, + {"2606:eb80::/32", "55044"}, + {"2800:2e::/32", "7908"}, + {"2804:6f00::/32", "270632"}, + {"2a03:2887:ff21::/48", "63293"}, + {"2a0b:6e00::/32", "203687"}, + {"240a:ab54::/32", "145550"}, + {"240a:ad91::/32", "146123"}, + {"2a09:9cc0::/48", "44364"}, + {"2a0a:9204:31::/30", "61317"}, + {"2c0f:f3f0::/32", "328024"}, + {"2001:559:3c8::/48", "7922"}, + {"2001:559:87a7::/48", "33287"}, + {"2001:1900:2816::/35", "3356"}, + {"2620:100:6036::/41", "19679"}, + {"2806:230:3005::/48", "11888"}, + {"2a00:4802:4e00::/44", "13124"}, + {"2a01:e0::/32", "39854"}, + {"2a03:9c0::/32", "28716"}, + {"2001:470:bf::/41", "6939"}, + {"2001:1248:8000::/43", "11172"}, + {"240a:a05d::/32", "142743"}, + {"2804:3724::/32", "266392"}, + {"2806:20d:5049::/46", "32098"}, + {"2a0a:540::/29", "205892"}, + {"2001:200:c000::/35", "23634"}, + {"2403:8300:813f::/48", "2516"}, + {"2406:ae40::/32", "141590"}, + {"2a02:88d:100::/48", "48695"}, + {"2a02:2ab0:220::/37", "702"}, + {"2001:559:c3e2::/48", "7922"}, + {"2604:5ec0::/32", "13356"}, + {"2608:148:b::/48", "27064"}, + {"2402:8100:27c0::/47", "45271"}, + {"2405:e100::/43", "132116"}, + {"2607:fb60::/32", "1742"}, + {"2a02:e980:e5::/44", "19551"}, + {"2001:4998:ef6d::/43", "14778"}, + {"2804:fb0::/32", "262841"}, + {"2a01:bb23:8000::/29", "14618"}, + {"2a02:26f7:c5c4::/47", "36183"}, + {"2001:df1:8000::/48", "132440"}, + {"2800:484:2f00::/40", "10620"}, + {"2806:2f0:4061::/46", "17072"}, + {"2001:1978:1300::/40", "13768"}, + {"2401:6bfd::/32", "18220"}, + {"240e:3b3:1400::/38", "134773"}, + {"2600:6c20:c22::/45", "20115"}, + {"2804:c20::/32", "52680"}, + {"2804:74f8::/32", "271015"}, + {"2001:df0:8640::/48", "133658"}, + {"2408:8957:7e00::/40", "17622"}, + {"2409:896a:2e00::/39", "9808"}, + {"2606:18c0:1e::/48", "14445"}, + {"2a02:26f7:f148::/48", "36183"}, + {"2a02:7b40::/32", "62282"}, + {"2a03:6640::/32", "199562"}, + {"240a:ac02::/32", "145724"}, + {"2602:ff62:20e::/36", "61317"}, + {"2804:52e4::/32", "268548"}, + {"2a02:6420::/32", "201596"}, + {"2407:8c00:1b0::/44", "55441"}, + {"2a00:5a20::/47", "199289"}, + {"2a07:2780::/31", "15490"}, + {"2001:df0:272::/48", "132111"}, + {"2001:1838:9002::/40", "23352"}, + {"2001:67c:1bec:f000::/52", "2148"}, + {"2001:bf7:fc10::/38", "44194"}, + {"2804:15f0:8000::/33", "263419"}, + {"2402:800:538d::/43", "7552"}, + {"2408:8456:6040::/39", "17816"}, + {"2408:84f3:a840::/38", "17816"}, + {"2a02:888:8044::/46", "48695"}, + {"2a03:22a0::/32", "44833"}, + {"2a05:d012::/36", "16509"}, + {"2804:10b0::/32", "28175"}, + {"2a04:d480:2400::/35", "25291"}, + {"2408:8459:cc30::/41", "17622"}, + {"240e:44d:100::/42", "140345"}, + {"2a0c:a9c7:236::/48", "47445"}, + {"2400:7fc0:2c0::/44", "55960"}, + {"2600:380:9f80::/34", "20057"}, + {"2602:107:e000::/40", "11426"}, + {"2804:163c:303::/32", "263277"}, + {"2804:3584::/32", "266291"}, + {"2a02:2e02:8600::/42", "12479"}, + {"2a0e:4980::/32", "15879"}, + {"2001:43f8:92::/48", "37708"}, + {"2405:4803:31a::/37", "18403"}, + {"2a05:dec0::/29", "197580"}, + {"2403:8500:100::/36", "45804"}, + {"2403:df00:3::/32", "9292"}, + {"240e:982:5500::/36", "4134"}, + {"2600:140b:6::/44", "20940"}, + {"2a06:c6c0:1::/48", "15626"}, + {"2001:1388:8a0c::/47", "264684"}, + {"2406:da00:6000::/40", "16509"}, + {"2407:d600::/32", "7690"}, + {"2408:8459:3a50::/37", "17816"}, + {"2600:6c38:a3e::/41", "20115"}, + {"2600:9000:2378::/45", "16509"}, + {"2803:c010:3e4::/47", "271799"}, + {"2804:14d:5083::/41", "28573"}, + {"2804:4c14:aa01::/39", "267348"}, + {"2a02:26f0:10b::/45", "20940"}, + {"2a02:26f7:d255::/46", "20940"}, + {"2404:bf40:f081::/39", "139084"}, + {"2406:d501:10::/32", "136557"}, + {"2804:2324:f000::/36", "262883"}, + {"2a02:6680:f100::/44", "16116"}, + {"2401:2a00:1004::/34", "7468"}, + {"2600:1009:a100::/43", "6167"}, + {"2a02:26b0:8000::/48", "42910"}, + {"2a03:4080::/32", "47815"}, + {"2a0b:5380::/29", "206119"}, + {"2001:559:773::/45", "7922"}, + {"2401:b400:10::/47", "58536"}, + {"240a:a99a::/32", "145108"}, + {"2607:4d00:4000::/35", "33260"}, + {"2a0c:10c0::/40", "196755"}, + {"2a0d:ee00::/32", "42487"}, + {"2001:da8:b6::/48", "24359"}, + {"2403:f040::/32", "4618"}, + {"2803:21c0::/32", "265680"}, + {"2a01:79c0::/32", "58326"}, + {"2a06:c3c0::/48", "52048"}, + {"2001:559:4cf::/43", "7015"}, + {"2804:10a0:e0::/38", "28173"}, + {"2a02:26f7:b608::/48", "36183"}, + {"2001:67c:1f4::/48", "39500"}, + {"2405:8a00:8020::/47", "55824"}, + {"2804:8124::/32", "272435"}, + {"2a02:26f7:c1::/48", "20940"}, + {"2a02:26f7:d154::/47", "36183"}, + {"2a02:26f7:ea80::/48", "36183"}, + {"2001:678:6bc::/48", "202592"}, + {"240a:abfe::/32", "145720"}, + {"2600:c04::/35", "10912"}, + {"2606:4700::/47", "13335"}, + {"2a0a:9c0::/29", "207991"}, + {"2001:559:c50b::/45", "7922"}, + {"2804:51c::/33", "262495"}, + {"2001:67c:1578::/48", "43757"}, + {"2407:3dc0::/32", "140583"}, + {"240a:a08f::/32", "142793"}, + {"2605:c00:1200::/40", "46920"}, + {"2806:2f0:1041::/46", "22884"}, + {"2a02:26f7:b7c4::/48", "36183"}, + {"2a02:2e02:3ba0::/37", "12479"}, + {"2a06:6541:2002::/48", "3356"}, + {"2001:900::/32", "35393"}, + {"2402:ef01::/47", "9430"}, + {"2804:d74::/32", "28577"}, + {"2a00:1288:1a8::/46", "34010"}, + {"2405:ec0::/36", "132768"}, + {"2407:c080:805::/37", "55990"}, + {"2a03:2e0::/32", "197451"}, + {"2620:149:a1b::/48", "714"}, + {"2804:1644:fb00::/37", "262903"}, + {"2804:14c:9b89::/41", "28573"}, + {"2804:117c:8010::/33", "53061"}, + {"240a:a989::/32", "145091"}, + {"240a:ac96::/32", "145872"}, + {"2607:9c00::/32", "18474"}, + {"2803:c40::/32", "33182"}, + {"2001:44c8:45a0::/43", "45430"}, + {"2404:bf40:e101::/46", "139084"}, + {"2406:3000:3:2c::/45", "4657"}, + {"240a:a123::/32", "142941"}, + {"2600:1805:ff11::/48", "16552"}, + {"2001:559:87a6::/48", "7922"}, + {"2001:1a68:16::/44", "15694"}, + {"2600:1406:32::/48", "21342"}, + {"2604:7f80::/32", "17378"}, + {"2803:2b00:1103::/32", "52468"}, + {"2a00:ab80::/32", "50903"}, + {"2a0c:54c0::/32", "204065"}, + {"2001:470:cf::/43", "6939"}, + {"2001:579:e02c::/43", "22773"}, + {"2001:4878:31::/48", "12222"}, + {"240e:951:2c00::/28", "4134"}, + {"2804:7e00::/32", "271596"}, + {"2a01:7120::/32", "62206"}, + {"2a04:4a45::/44", "206067"}, + {"2001:67c:17b0::/48", "21436"}, + {"2602:fd23:a::/36", "33185"}, + {"2607:f178:10::/48", "30217"}, + {"2803:c200:7519::/48", "22411"}, + {"2a06:4000::/29", "204151"}, + {"2001:67c:24b8::/48", "212725"}, + {"2401:d800:b4c0::/42", "7552"}, + {"240e:350:6400::/31", "4134"}, + {"2606:a600:4001::/48", "398024"}, + {"2804:3c34::/32", "266196"}, + {"2a03:83a0:2::/48", "201529"}, + {"2001:559:4ba::/48", "33652"}, + {"2001:579:e03c::/41", "22773"}, + {"2001:da8:cd::/48", "138373"}, + {"2600:100b:b0e0::/39", "6167"}, + {"2610:20:6b00::/40", "2648"}, + {"2804:14c:d800::/40", "28573"}, + {"2a02:26f7:c148::/48", "36183"}, + {"2a02:cb80:2140::/48", "43766"}, + {"2404:ce40:2000::/32", "138884"}, + {"240a:a4c2::/32", "143868"}, + {"2403:f680:101::/48", "58898"}, + {"2406:3002:50::/50", "138345"}, + {"2408:8957:d240::/40", "17622"}, + {"2409:8e14:9000::/31", "56044"}, + {"240e:978:600::/36", "4134"}, + {"2620:13d:c000::/48", "399086"}, + {"2804:92c::/32", "263056"}, + {"2001:388:30d9::/33", "7575"}, + {"2402:8100:31d8::/47", "45271"}, + {"2403:e600::/36", "58376"}, + {"2a02:26f7:eb40::/48", "36183"}, + {"2001:4530:4::/32", "9433"}, + {"2409:8971::/29", "9808"}, + {"2001:1a11:126::/48", "8781"}, + {"2408:8459:1a30::/41", "17622"}, + {"2600:1417:62::/48", "20940"}, + {"2620:171:71::/46", "42"}, + {"2800:810::/39", "27747"}, + {"2602:fcdf::/36", "398491"}, + {"2a02:a48::/32", "48960"}, + {"2a02:26f7:c809::/46", "20940"}, + {"2401:4900:3280::/42", "45609"}, + {"240a:a132::/32", "142956"}, + {"2a02:26f7:ef10::/48", "36183"}, + {"2a0e:8f02:2154::/48", "211869"}, + {"2405:c9c0:1389::/32", "138823"}, + {"2a07:1980:e::/43", "48851"}, + {"2408:8957:8100::/40", "17816"}, + {"2001:579:e384::/35", "22773"}, + {"2404:c140:956e::/48", "57401"}, + {"2409:8904:e140::/42", "24547"}, + {"2605:a40c:24::/32", "33363"}, + {"2804:66ac::/32", "269575"}, + {"2a02:45c0:15::/48", "59675"}, + {"2a03:3da0::/48", "59649"}, + {"2a03:47c0:20c1::/39", "21277"}, + {"2a10:7900:ffff::/29", "399975"}, + {"2001:450::/34", "3549"}, + {"2600:1004:f000::/44", "6167"}, + {"2001:5b0:3d00::/38", "6621"}, + {"2402:800:3dd3::/44", "7552"}, + {"2408:8956:3100::/40", "17816"}, + {"240a:aa77::/32", "145329"}, + {"2600:6c34:221::/48", "33588"}, + {"2806:230:3012::/48", "265594"}, + {"2a01:170:2000::/32", "8820"}, + {"2a02:26f7:eccc::/48", "36183"}, + {"2a0d:2406:babe::/48", "49133"}, + {"2404:0:2000::/36", "7482"}, + {"2404:0:9000::/26", "17709"}, + {"2600:1fa0:e0c0::/44", "16509"}, + {"2804:683c::/32", "269678"}, + {"2001:4c8:1086::/43", "15290"}, + {"2400:a980:1500::/36", "133111"}, + {"2402:800:62ac::/43", "7552"}, + {"2407:0:0:3e::/32", "4761"}, + {"240a:a861::/32", "144795"}, + {"2606:4800::/32", "11430"}, + {"2800:5f0:3001::/42", "22724"}, + {"2a00:cc40:3::/29", "44395"}, + {"2a0c:2800::/32", "205316"}, + {"2001:559:509::/48", "33650"}, + {"2001:dc7:ffc2::/48", "24406"}, + {"2402:8700:54::/32", "58979"}, + {"2803:2e40::/39", "27796"}, + {"2804:8260::/32", "272516"}, + {"2a10:2f00:12a::/48", "9886"}, + {"2001:df0:cf::/48", "55390"}, + {"2600:1409:9000::/48", "35994"}, + {"2a05:68c0::/29", "201059"}, + {"2a05:9340::/30", "60117"}, + {"2a06:8dc7::/48", "25369"}, + {"240a:a0b7::/32", "142833"}, + {"2605:7440::/32", "20128"}, + {"2a0d:d380::/29", "210107"}, + {"2001:67c:20::/48", "198303"}, + {"2600:c010:100::/40", "7843"}, + {"2a05:5300::/29", "200562"}, + {"2a09:4d41::/32", "50673"}, + {"2a0b:fec0::/29", "205360"}, + {"2a0d:3080::/29", "205068"}, + {"2001:67c:1cc::/48", "50906"}, + {"2001:67c:124c::/48", "197564"}, + {"240e:3b5:1400::/38", "134773"}, + {"2804:48d8::/32", "267148"}, + {"2804:6b00::/32", "270371"}, + {"2a00:e200:100::/48", "39396"}, + {"2a0e:fb44::/32", "398343"}, + {"2408:8956:700::/40", "17816"}, + {"2600:1403:3::/44", "20940"}, + {"2801:16:f000::/48", "19429"}, + {"2804:d8c::/32", "52638"}, + {"240a:a409::/32", "143683"}, + {"240a:a867::/32", "144801"}, + {"2606:d980::/32", "396481"}, + {"2001:559:840c::/48", "7015"}, + {"240e:44d:40::/42", "140346"}, + {"2804:8270::/32", "61608"}, + {"2806:370:6000::/40", "28403"}, + {"2a03:b6c0::/32", "20672"}, + {"2a03:ed80::/32", "13178"}, + {"2a12:7c40::/48", "208446"}, + {"2001:559:5ae::/47", "20214"}, + {"2001:559:c2d4::/48", "33659"}, + {"2804:4a48::/32", "267229"}, + {"2a02:26f7:dc41::/46", "20940"}, + {"2402:800:9947::/43", "7552"}, + {"240a:a53d::/32", "143991"}, + {"2620:132:3000::/40", "395089"}, + {"2800:160:1053::/45", "14259"}, + {"2a02:ad8:7c::/38", "12389"}, + {"2a0a:56c4:8200::/47", "42649"}, + {"2a0b:c540::/29", "47926"}, + {"2001:559:8717::/48", "33659"}, + {"2402:800:3cc5::/43", "7552"}, + {"2406:3000:20::/44", "4657"}, + {"2409:8030:900::/35", "9808"}, + {"240e:3b6:dc00::/34", "4134"}, + {"2605:a401:80c6::/43", "33363"}, + {"2803:6900:553::/48", "52423"}, + {"2804:145c::/37", "263327"}, + {"2a01:4000::/32", "33852"}, + {"2001:502:1ca1::/48", "396574"}, + {"2001:559:4d8::/48", "33655"}, + {"2409:896a:7c00::/39", "9808"}, + {"240a:a157::/32", "142993"}, + {"2606:4700:8ca0::/44", "13335"}, + {"2607:7c80:54::/48", "7247"}, + {"2001:df6:6380::/48", "141866"}, + {"2400:9380:9200::/46", "4809"}, + {"2401:f000:2:100::/56", "38477"}, + {"2402:800:9be0::/44", "7552"}, + {"2a00:4802:ab0::/41", "13124"}, + {"2a0b:a180::/29", "41038"}, + {"2001:559:139::/48", "33287"}, + {"2408:8956:300::/40", "17816"}, + {"2800:bf0:2a80::/47", "52257"}, + {"2001:67c:22a8::/48", "197416"}, + {"240a:ab7b::/32", "145589"}, + {"2605:b280::/32", "26709"}, + {"2803:1e80::/32", "28111"}, + {"2002::/16", "6939"}, + {"2400:e440:500::/41", "42382"}, + {"2402:c600::/32", "17941"}, + {"240e:ff:c000::/48", "134773"}, + {"2605:a40a:b000::/33", "33363"}, + {"2a0c:b641:453::/48", "211891"}, + {"2001:559:aa::/47", "7922"}, + {"2404:3d00:4134::/47", "3573"}, + {"240a:abcd::/32", "145671"}, + {"240e:964:9580::/41", "133775"}, + {"2620:48:c002::/47", "26549"}, + {"2804:1c30::/32", "28285"}, + {"2a00:1b88::/32", "29075"}, + {"2a04:9f40::/29", "204790"}, + {"2001:250:7801::/43", "24372"}, + {"240e:982:6800::/37", "4134"}, + {"2604:af80:848::/40", "18859"}, + {"2800:160:25d5::/38", "14259"}, + {"2a02:26f7:d485::/46", "20940"}, + {"2001:df1:fe80::/48", "139786"}, + {"2409:8c14:ae00::/31", "56044"}, + {"240a:a717::/32", "144465"}, + {"240a:adc1::/32", "146171"}, + {"2a01:aea0:dd2::/48", "42473"}, + {"2a02:ee80:4048::/46", "3573"}, + {"2a03:5f00:105::/46", "29644"}, + {"2001:6d0:ffb7::/48", "47445"}, + {"2001:df6:a700::/48", "132046"}, + {"2800:160:1f2a::/43", "14259"}, + {"2804:74cc::/32", "271004"}, + {"2001:250:7001::/46", "24369"}, + {"2001:559:81ac::/48", "7725"}, + {"2a02:26f0:9700::/48", "6762"}, + {"2a02:2aa8:121::/44", "702"}, + {"2402:800:3955::/42", "7552"}, + {"2404:138::/41", "38022"}, + {"2405:1c0:7961::/48", "55303"}, + {"2806:310:25::/44", "16960"}, + {"2a02:26f7:e149::/46", "20940"}, + {"2a03:9cc0::/29", "5463"}, + {"2a07:b8c1::/45", "14043"}, + {"2408:8957:4100::/40", "17816"}, + {"240e:1a:160::/44", "146966"}, + {"2001:67c:8d0::/48", "31564"}, + {"2602:fd50:100::/40", "62513"}, + {"2602:feda:105::/48", "396303"}, + {"2620:8:4300::/48", "174"}, + {"2800:490:4000::/36", "27951"}, + {"2803:9800:b4c3::/39", "11664"}, + {"2a0a:e5c1:100::/38", "207996"}, + {"2001:650:cc01::/48", "3209"}, + {"2402:800:599b::/42", "7552"}, + {"2408:8459:4450::/38", "17816"}, + {"2408:84e2:2c0::/37", "17621"}, + {"240e:628::/32", "17638"}, + {"2602:fed2:7195::/48", "33696"}, + {"2a01:3e0::/37", "6453"}, + {"2a09:c580::/32", "209979"}, + {"2c0f:fd58::/32", "11845"}, + {"2001:559:8187::/48", "7725"}, + {"2001:1250:2000::/44", "22894"}, + {"240e:804::/40", "140636"}, + {"2a01:40e0:2::/48", "34012"}, + {"2a0e:c80:1::/46", "3170"}, + {"2a0e:b107:340::/44", "209710"}, + {"2001:df0:e780::/48", "16089"}, + {"2600:5c00:386c::/48", "11351"}, + {"2a02:88d:8220::/44", "48695"}, + {"2001:470:ce::/48", "396097"}, + {"2605:1e80::/34", "14380"}, + {"2801:1ca::/44", "3816"}, + {"2001:559:75d::/48", "7725"}, + {"2408:870c:30::/40", "17621"}, + {"2409:807c:2100::/36", "9808"}, + {"240e:44d:5700::/42", "140345"}, + {"2a02:4c07:4000::/32", "12676"}, + {"2a06:e881:550d::/46", "209864"}, + {"2a10:2380::/29", "204790"}, + {"2001:df6:b780::/48", "148971"}, + {"2408:84f3:ba40::/37", "17816"}, + {"2605:cdc0:20::/48", "398088"}, + {"2800:bf0:140::/45", "52257"}, + {"2a05:3580:b800::/33", "35807"}, + {"2c0f:f088::/32", "328471"}, + {"2406:20c0::/34", "140423"}, + {"2406:7400:34::/47", "131269"}, + {"2607:fb10:7012::/42", "2906"}, + {"2a02:ee80:4199::/48", "3573"}, + {"2a09:bac0:242::/48", "13335"}, + {"2402:800:34d3::/44", "7552"}, + {"2604:d240::/32", "396852"}, + {"2001:559:c276::/48", "7015"}, + {"2001:559:c2ec::/48", "33652"}, + {"2800:bf0:2445::/38", "27947"}, + {"2804:2f40:f000::/45", "264880"}, + {"2a09:1405::/48", "48749"}, + {"2400:6d80::/32", "58621"}, + {"2804:13b0:3c00::/43", "263546"}, + {"2a00:f620:1::/48", "174"}, + {"2001:67c:2f04::/48", "16074"}, + {"2800:bf0:8250::/44", "27947"}, + {"2804:1608::/32", "263423"}, + {"2a10:2f01:220::/48", "207890"}, + {"2a10:c540::/29", "44070"}, + {"2408:8956:cdc0::/38", "17622"}, + {"2804:12a0::/32", "61900"}, + {"2804:67c4::/32", "269649"}, + {"2a00:1210:ffff::/48", "34700"}, + {"2a01:a460::/32", "34520"}, + {"2a02:2e02:1140::/40", "12479"}, + {"2a07:14c0:7000::/36", "59504"}, + {"2a0c:9a40:1038::/47", "34927"}, + {"2606:2800:6040::/47", "15133"}, + {"2607:ffd0:5::/39", "13767"}, + {"2804:10a0:224::/32", "28173"}, + {"2a05:6a00::/29", "51395"}, + {"2001:df2:f680::/48", "132269"}, + {"2406:3000:4d::/43", "4657"}, + {"2001:559:8439::/46", "33667"}, + {"2001:16a2:c2c4::/42", "39386"}, + {"2408:8456:4010::/42", "134543"}, + {"240e:51:6000::/29", "4134"}, + {"2804:6cd8:1000::/38", "270496"}, + {"2a02:610::/33", "2588"}, + {"2a02:28f0::/29", "44136"}, + {"2402:3a80:1705::/48", "38266"}, + {"2001:559:1d6::/48", "33491"}, + {"2001:559:8128::/48", "13367"}, + {"240e:438:ac40::/38", "4134"}, + {"2600:370f:3743::/45", "32261"}, + {"2801:80:3680::/48", "269133"}, + {"2a0c:7840::/29", "50415"}, + {"2001:648:2e81::/35", "5408"}, + {"2603:90b6::/32", "12271"}, + {"2408:883a::/37", "4837"}, + {"240a:a929::/32", "144995"}, + {"2610:a1:1082::/48", "397226"}, + {"2001:559:1b2::/48", "33287"}, + {"240a:a3fa::/32", "143668"}, + {"2600:1407:3401::/38", "20940"}, + {"2600:1419:3201::/37", "20940"}, + {"2001:559:832b::/48", "7922"}, + {"2001:559:85da::/48", "13367"}, + {"2001:448a:3010::/41", "7713"}, + {"2001:4300::/32", "31065"}, + {"2402:e280:2136::/44", "134674"}, + {"2001:559:85d9::/48", "7922"}, + {"2604:6140::/32", "21818"}, + {"2a04:7c00::/29", "200023"}, + {"2001:559:831e::/48", "7922"}, + {"2400:dd0b:1006::/29", "7497"}, + {"2801:140:bfa::/48", "262249"}, + {"2806:20d:16fd::/46", "32098"}, + {"2a07:3506:c1::/48", "9150"}, + {"2a09:be40:28ff::/48", "213170"}, + {"2001:df3:e180::/48", "140695"}, + {"2001:448a:1070::/40", "7713"}, + {"2803:6604:c401::/39", "28075"}, + {"2a00:12e8::/32", "29014"}, + {"2a01:4020:35::/32", "25369"}, + {"2a02:26f7:cc41::/46", "20940"}, + {"2a06:6780::/29", "56568"}, + {"2606:3380:fff0::/48", "53334"}, + {"2a0d:1a43::/32", "208590"}, + {"2406:2f00::/32", "132542"}, + {"2406:b400:f0::/47", "18209"}, + {"2407:1000::/35", "24005"}, + {"2409:8014:300a::/30", "56044"}, + {"2600:370f:3765::/44", "32261"}, + {"2804:cdc:c000::/34", "52565"}, + {"2806:107e:1c::/42", "8151"}, + {"2a00:1ec8:9a::/32", "2854"}, + {"2406:f00:9::/48", "58758"}, + {"2800:5d0:213::/48", "17048"}, + {"2804:1f4::/32", "262757"}, + {"2804:4120::/32", "266005"}, + {"2a00:7740::/32", "33915"}, + {"2a0b:8140::/29", "38948"}, + {"2001:250:2413::/44", "24356"}, + {"2001:da8:b4::/48", "24367"}, + {"2a0f:8780::/29", "208108"}, + {"2001:e48:83::/32", "9583"}, + {"2604:a200::/32", "13614"}, + {"2001:648:2c01::/44", "5408"}, + {"2001:16a2:7400::/36", "25019"}, + {"240e:6c0::/23", "4134"}, + {"2803:8c40::/32", "263789"}, + {"2803:c480::/32", "263194"}, + {"2a00:7b60::/32", "49058"}, + {"2a02:2708::/32", "21378"}, + {"2001:559:6f::/48", "33287"}, + {"2600:1004:a100::/43", "6167"}, + {"2603:5:2100::/38", "44273"}, + {"2001:559:269::/48", "13367"}, + {"2402:800:940f::/43", "7552"}, + {"2402:800:96ee::/39", "7552"}, + {"2604:400::/32", "26225"}, + {"2607:f750:20::/47", "23473"}, + {"2801:80:2540::/48", "268558"}, + {"2804:314:10::/34", "61568"}, + {"2a02:7aa0:5000::/48", "52173"}, + {"2c0f:e908::/32", "327750"}, + {"2404:d180:1a::/48", "133372"}, + {"2a02:24b0::/32", "29470"}, + {"2404:7e80:4000::/36", "132717"}, + {"2409:8028:2b00::/40", "56041"}, + {"2607:f6f0:3002::/40", "19930"}, + {"2801:140:49::/48", "262249"}, + {"2804:4f8:a002::/45", "28263"}, + {"2804:138b:b0c2::/42", "53037"}, + {"2a02:26f7:b8cc::/48", "36183"}, + {"2a09:bac0:134::/44", "13335"}, + {"2a0d:a8c0::/29", "39405"}, + {"2620:96:8000::/48", "3719"}, + {"2620:171:d1::/45", "42"}, + {"2a02:26f7:df4c::/48", "36183"}, + {"2a03:4d42::/36", "199610"}, + {"240e:3b6:9c00::/34", "140310"}, + {"2600:1408:8000::/48", "35994"}, + {"2606:4280:8000::/36", "16696"}, + {"2a02:7d0::/32", "34141"}, + {"2001:67c:1750::/48", "208441"}, + {"2401:b640::/32", "136948"}, + {"2804:2838::/38", "263948"}, + {"2001:dce:100::/48", "38064"}, + {"2001:df4:4280::/48", "140920"}, + {"240a:a7a7::/32", "144609"}, + {"240e:f:b000::/36", "134768"}, + {"2600:1406:fc01::/31", "20940"}, + {"2600:1801:4::/46", "16552"}, + {"2001:1248:55d8::/47", "11172"}, + {"2001:4070::/33", "5550"}, + {"2409:8c70:3a20::/41", "9808"}, + {"2607:fdf0:5efc::/39", "8008"}, + {"2a09:9dc0::/48", "44364"}, + {"2a0e:b107:370::/44", "208751"}, + {"2a0f:9640::/29", "35415"}, + {"2001:4c8:102b::/41", "15290"}, + {"2001:19e8:a::/48", "2576"}, + {"2600:140f:f800::/48", "24319"}, + {"2606:62c0:1000::/34", "399686"}, + {"2800:440:1c00::/42", "27738"}, + {"2804:6cc:8200::/36", "262607"}, + {"2a01:4e8::/32", "44314"}, + {"2a05:e800:1::/48", "50881"}, + {"2a10:ba00:bee5::/48", "16509"}, + {"240e:3b5:9200::/36", "140317"}, + {"2600:6c10:e01::/46", "20115"}, + {"2602:fd6e::/36", "19999"}, + {"2620:105:f000::/40", "4201"}, + {"2401:d800:2080::/42", "7552"}, + {"2401:d800:f200::/42", "7552"}, + {"2a01:4ff::/40", "213230"}, + {"2001:67c:1442::/48", "43832"}, + {"2600:1407:1401::/36", "20940"}, + {"2804:354c::/33", "53018"}, + {"2401:2200:50::/48", "55420"}, + {"2401:d800:5650::/42", "7552"}, + {"2402:800:f690::/39", "7552"}, + {"2602:ffca::/36", "32875"}, + {"2603:c002:150::/38", "31898"}, + {"2803:d1a0::/32", "267700"}, + {"2804:694:5000::/32", "262596"}, + {"2804:1194::/36", "263424"}, + {"2804:7690::/33", "271120"}, + {"2a02:250:3::/48", "25234"}, + {"2a02:c6c1::/48", "44050"}, + {"2001:559:761::/48", "7016"}, + {"2806:2f0:4241::/46", "17072"}, + {"2001:44b8:30ed::/48", "7545"}, + {"240a:a41d::/32", "143703"}, + {"2801:1fa::/44", "19429"}, + {"2a03:2880:f167::/44", "32934"}, + {"2a12:3780::/29", "57113"}, + {"240e:966:c400::/39", "133775"}, + {"2800:600:181::/38", "52323"}, + {"2801:80:2330::/48", "267247"}, + {"2804:7a98::/32", "271381"}, + {"2600:1005:b1f0::/33", "22394"}, + {"2600:1800:11::/45", "16552"}, + {"2a02:26f7:bf49::/46", "20940"}, + {"2001:678:800::/48", "213103"}, + {"2402:800:9a0f::/43", "7552"}, + {"2404:bc0:4200::/43", "137735"}, + {"2408:894e::/32", "4837"}, + {"2a04:4e40:7840::/43", "54113"}, + {"2001:ee0:ee00::/40", "45899"}, + {"2603:c0f0:1210::/39", "6142"}, + {"2a02:6aa0::/32", "200081"}, + {"2a0b:b2c0::/48", "205504"}, + {"2405:4803:cea::/45", "18403"}, + {"2408:8459:50::/38", "17816"}, + {"240a:a08c::/32", "142790"}, + {"2804:66c0::/32", "269580"}, + {"2804:7048::/32", "270717"}, + {"2a01:7660:7::/32", "12843"}, + {"2602:fc3b:101::/38", "399970"}, + {"2a07:6880::/32", "202872"}, + {"2001:7f8:5d::1000/48", "15645"}, + {"2001:fd8:3040::/47", "4775"}, + {"2600:1003:a410::/38", "22394"}, + {"2804:20fc:1100::/36", "264525"}, + {"2a01:b000:9::/32", "35266"}, + {"2a02:26f7:cd::/48", "20940"}, + {"2a04:100::/34", "49223"}, + {"2406:1e00::/32", "56030"}, + {"2409:8087:2900::/35", "9808"}, + {"2600:c02:1021::/32", "12182"}, + {"2607:f928:4::/48", "13359"}, + {"2804:72b4::/32", "270870"}, + {"2a09:35c0:100::/38", "209510"}, + {"2001:6d0:6d0::/48", "43832"}, + {"2001:978:5401::/36", "174"}, + {"2402:9e80:2402::/48", "133752"}, + {"240a:a2e1::/32", "143387"}, + {"2600:c02:b020::/48", "22211"}, + {"2806:264:4300::/37", "13999"}, + {"2806:107e::/43", "8151"}, + {"2001:559:f3::/48", "33651"}, + {"2408:8256:2ca0::/39", "17816"}, + {"2408:861a::/31", "4837"}, + {"240a:adec::/32", "146214"}, + {"2600:1901:bde0::/33", "15169"}, + {"2a00:61e0::/32", "60294"}, + {"240a:a072::/32", "142764"}, + {"2804:3838:6::/42", "53170"}, + {"2600:400::/35", "15147"}, + {"2604:ee40::/32", "395646"}, + {"2a0e:97c0:380::/48", "60404"}, + {"2001:559:c107::/48", "33667"}, + {"2a07:2d40::/48", "25435"}, + {"240a:a39c::/32", "143574"}, + {"240a:a7ad::/32", "144615"}, + {"2606:7ec0::/32", "4046"}, + {"2608:c144:1::/48", "5927"}, + {"2800:2a0:230::/47", "264788"}, + {"2a06:7740::/48", "207651"}, + {"2001:559:c022::/47", "33657"}, + {"2001:df7:c700::/48", "45316"}, + {"240a:a322::/32", "143452"}, + {"2a12:4946:1700::/48", "211398"}, + {"2001:1878:600::/39", "226"}, + {"2409:8b7d::/30", "9808"}, + {"2804:65dc::/32", "269519"}, + {"2806:2f0:3263::/40", "17072"}, + {"2001:550:1704::/36", "174"}, + {"2405:7c00:a000::/45", "9534"}, + {"2407:c000:c025::/34", "9270"}, + {"240e:10:1000::/32", "4134"}, + {"240e:a66::/35", "140329"}, + {"2806:2f0:9e81::/42", "17072"}, + {"2a02:2e02:bc0::/43", "12479"}, + {"2408:8459:b050::/38", "17816"}, + {"2801:13:4800::/48", "269825"}, + {"2804:84fc::/37", "272550"}, + {"2a02:26f7:bd11::/42", "20940"}, + {"2001:559:2b4::/47", "7922"}, + {"240a:ab28::/32", "145506"}, + {"2600:1417:9001::/36", "20940"}, + {"2801:10:f000::/48", "3816"}, + {"2a02:6604:3::/48", "44933"}, + {"2401:8e80::/32", "18187"}, + {"2408:8956:cd40::/40", "17816"}, + {"2804:6dec::/32", "270564"}, + {"2001:da8:a7::/48", "24363"}, + {"2409:8057:3054::/42", "56040"}, + {"2803:6700:340::/48", "263210"}, + {"2804:5e28::/32", "269015"}, + {"2a02:26f7:c9c5::/46", "20940"}, + {"2803:50c0:105::/46", "264763"}, + {"2804:7aa8::/32", "271384"}, + {"2001:500:9c::/46", "20144"}, + {"2001:559:80cd::/48", "22258"}, + {"2001:da8:7011::/48", "23910"}, + {"2001:44b8:3084::/48", "7545"}, + {"2409:8c20:c800::/34", "56046"}, + {"2806:2f0:9843::/42", "17072"}, + {"2a02:26f7:c88c::/47", "36183"}, + {"2a02:26f7:cd47::/48", "20940"}, + {"2a02:dc00:100::/48", "15493"}, + {"2001:559:8208::/48", "33654"}, + {"2404:c8:3::/32", "10217"}, + {"2600:140b:f001::/37", "20940"}, + {"2600:1480:5801::/44", "21342"}, + {"2804:2778::/34", "263903"}, + {"2a00:da80::/32", "43614"}, + {"2001:559:c332::/48", "33659"}, + {"2406:840:9995::/46", "210320"}, + {"2804:200c::/32", "262815"}, + {"2804:802c:205::/32", "271734"}, + {"2a00:1c08::/32", "44335"}, + {"2a00:da00::/32", "8560"}, + {"2a02:558::/32", "12594"}, + {"2a0a:aa42::/32", "205668"}, + {"2001:678:8::/48", "210004"}, + {"2401:d800:9c70::/40", "7552"}, + {"2404:bf40:c441::/48", "7545"}, + {"240a:ab3d::/32", "145527"}, + {"2804:3d4::/45", "262401"}, + {"2001:250:2406::/44", "24356"}, + {"2404:e801:2004::/46", "55430"}, + {"2408:8459:ee10::/42", "17623"}, + {"2607:f148:1000::/34", "11734"}, + {"2610:a1:3068::/48", "12008"}, + {"2a02:26f7:eb84::/48", "36183"}, + {"2404:c2c0:240::/44", "135629"}, + {"2a06:11c0::/46", "31169"}, + {"2a0d:75c0::/29", "49191"}, + {"2a11:c00::/29", "47787"}, + {"2001:559:79::/48", "7725"}, + {"2400:9800:13::/45", "24203"}, + {"2409:8c85:5400::/43", "56040"}, + {"240e:10:a000::/37", "63838"}, + {"240e:3b8:dc00::/34", "4134"}, + {"2607:fc48:c18::/48", "40009"}, + {"2804:27c4::/32", "263921"}, + {"2804:7f04::/32", "271661"}, + {"2a06:f787:2::/48", "2686"}, + {"2a0c:f000:1000::/48", "206976"}, + {"2001:da8:201d::/48", "138369"}, + {"240e:438:7a40::/37", "4134"}, + {"2620:128:1002::/48", "53620"}, + {"2a01:480::/32", "24961"}, + {"2a0b:5340::/48", "13030"}, + {"2407:b080::/48", "23724"}, + {"240a:acfa::/32", "145972"}, + {"2a0d:2e00:3000::/48", "33932"}, + {"2407:b400::/32", "17924"}, + {"2406:3400:9d::/41", "10143"}, + {"2600:1413:2000::/48", "24319"}, + {"2607:f1d0::/32", "17378"}, + {"2607:f598:f001::/48", "397715"}, + {"2803:8700:10::/48", "25577"}, + {"2001:559:878d::/46", "33652"}, + {"2602:fd50:f00::/48", "207071"}, + {"2803:7210:efff::/35", "271915"}, + {"2804:4f60::/35", "268323"}, + {"2a0f:cc87:6000::/36", "208861"}, + {"2402:800:3bee::/43", "7552"}, + {"2404:1900::/32", "18092"}, + {"240a:a967::/32", "145057"}, + {"240c:ca08::/30", "23910"}, + {"2600:141b:1000::/48", "35994"}, + {"2604:49c0::/32", "395400"}, + {"2a02:1800::/24", "6848"}, + {"2a09:fe00::/29", "209900"}, + {"2402:800:397f::/40", "7552"}, + {"240e:44d:2140::/42", "140361"}, + {"2a01:7d80:2000::/38", "8990"}, + {"2a0d:1642:1::/48", "49505"}, + {"2001:67c:2698::/48", "50779"}, + {"2407:d6c0:8::/48", "136785"}, + {"2605:6840:101::/38", "398041"}, + {"2620:ed:c000::/48", "14209"}, + {"2a00:5881:9000::/40", "198978"}, + {"2a03:2880:f20b::/43", "32934"}, + {"2001:1388:76c2::/36", "6147"}, + {"2406:2000:a1::/46", "10310"}, + {"2600:1406:1600::/48", "16625"}, + {"2620:102:4000::/43", "4130"}, + {"2806:32a::/32", "265574"}, + {"2a02:26f7:dd::/46", "20940"}, + {"2a09:5940::/29", "209304"}, + {"2001:da8:4021::/48", "23910"}, + {"2001:43f8:14c0::/48", "328644"}, + {"2001:4970::/32", "11274"}, + {"2407:3000::/45", "17707"}, + {"2604:d600:c82::/45", "32098"}, + {"2803:cb40::/32", "16906"}, + {"2806:230:500f::/48", "11888"}, + {"2a01:3b8::/33", "33885"}, + {"2a0a:4d00::/29", "201706"}, + {"2a0d:a740:1::/46", "213371"}, + {"2a0e:b107:450::/45", "57883"}, + {"2001:4490:d180::/46", "9829"}, + {"2603:b0af::/25", "11796"}, + {"2604:b000:9000::/33", "14638"}, + {"2c0f:f0a0::/32", "328638"}, + {"2001:df6:a800::/48", "59165"}, + {"2001:fd8:121::/46", "4775"}, + {"2404:7180:b021::/46", "23848"}, + {"2408:877f::/32", "134542"}, + {"240e:3b2:4c00::/35", "136200"}, + {"2800:484:d000::/38", "10620"}, + {"2803:d100:e940::/38", "52362"}, + {"2804:8254::/32", "272513"}, + {"2a02:f7c0::/32", "49273"}, + {"2401:d800:2550::/42", "7552"}, + {"2402:800:bb90::/42", "7552"}, + {"2403:7b40:1::/44", "132931"}, + {"240a:a3ef::/32", "143657"}, + {"2610:a1:1010::/48", "397226"}, + {"2408:8640::/32", "4837"}, + {"2608:4123:2::/48", "6025"}, + {"2803:c010:10::/47", "271799"}, + {"2a02:26f7:f244::/48", "36183"}, + {"2406:8ec0::/32", "45701"}, + {"2407:7800::/32", "55803"}, + {"2a03:2a00::/29", "15817"}, + {"2001:67c:208c::/48", "15562"}, + {"2402:4f00:4004::/32", "58453"}, + {"2600:1015::/32", "6167"}, + {"2620:101:403c::/48", "16880"}, + {"2a00:e540::/32", "33964"}, + {"2a02:4e0:2a00::/42", "16135"}, + {"2a0c:b641:190::/44", "57853"}, + {"2001:13b1:3::/32", "3549"}, + {"2a03:13c0::/32", "199624"}, + {"2a09:4c0:d01::/38", "58057"}, + {"2a0f:85c1:220::/44", "207842"}, + {"2402:800:fe80::/42", "7552"}, + {"240a:af32::/32", "146540"}, + {"2a01:7e0::/42", "44066"}, + {"2001:590:2005:300::/35", "3257"}, + {"2400:c540:c753::/36", "59238"}, + {"2402:800:be40::/42", "7552"}, + {"2408:8459:4e80::/42", "136959"}, + {"2620:1e0:100::/48", "10801"}, + {"2a00:1140:201::/32", "44806"}, + {"2a02:ac80:a001::/35", "25145"}, + {"2a03:2c20::/42", "50287"}, + {"2a04:c442:8000::/38", "2534"}, + {"2602:fc6a:210::/48", "399747"}, + {"2800:160:1c58::/42", "14259"}, + {"2800:5f0:3022::/45", "22724"}, + {"2a02:26f7:b748::/48", "36183"}, + {"2a03:1300::/32", "13214"}, + {"2401:31c0:fffe::/48", "134830"}, + {"240a:aa5e::/32", "145304"}, + {"2804:42b8::/32", "267521"}, + {"2a0c:3880::/29", "44543"}, + {"2405:84c0:fd15::/48", "51089"}, + {"2604:2e88::/30", "30036"}, + {"2800:160:18e0::/44", "14259"}, + {"2001:559:8488::/48", "7922"}, + {"2001:559:8729::/46", "33652"}, + {"2400:cb00:370::/48", "13335"}, + {"2406:9840::/44", "134053"}, + {"240a:a221::/32", "143195"}, + {"2804:61e4::/32", "269263"}, + {"2406:e002::/34", "23655"}, + {"2603:f390::/26", "397165"}, + {"2606:3d40:100::/40", "400097"}, + {"2804:1c84:4::/46", "61659"}, + {"2c0e:2005:0:200::/30", "5713"}, + {"2001:559:c220::/48", "33667"}, + {"2001:67c:93c::/48", "208445"}, + {"2404:f080:2000::/32", "131392"}, + {"240a:a393::/32", "143565"}, + {"2a00:4802:a90::/42", "13124"}, + {"2001:da8:af::/48", "24353"}, + {"2400:cb00:164::/48", "395747"}, + {"2620:11b:e0f2::/44", "3356"}, + {"2001:678:b9c::/48", "207853"}, + {"2001:df6:5c00::/48", "55938"}, + {"2610:b0:40da::/48", "3573"}, + {"2610:1e0:1801::/37", "3714"}, + {"2804:68d4::/32", "269719"}, + {"2804:6a10::/32", "270310"}, + {"2a02:b48:8010::/45", "39572"}, + {"2a0e:b107:11d8::/45", "58015"}, + {"2001:559:85dd::/48", "7725"}, + {"240e:45c:500::/40", "137266"}, + {"240e:982:b000::/40", "58461"}, + {"2800:68:11::/48", "262212"}, + {"2a02:cb43:1002::/45", "20546"}, + {"2001:579:5f84::/34", "22773"}, + {"2001:df0:290::/48", "22787"}, + {"2400:dd01:100a::/45", "7497"}, + {"2408:8656:30f0::/48", "17623"}, + {"2602:fc8b:11::/48", "211544"}, + {"2804:ea0:4002::/32", "52968"}, + {"2804:18b4::/32", "61948"}, + {"2a02:2010:2000::/43", "20978"}, + {"2a02:26f7:e385::/46", "20940"}, + {"2a0d:3c00::/29", "205243"}, + {"2a12:2340::/48", "59458"}, + {"2c0f:f508::/32", "327754"}, + {"2402:8100:27e2::/45", "55644"}, + {"2605:a401:8136::/41", "33363"}, + {"2a02:4560:4::/32", "60157"}, + {"2a09:4e07:d000::/36", "208861"}, + {"2001:dd8:1f::/48", "56088"}, + {"240a:a859::/32", "144787"}, + {"240e:87c:880::/24", "4134"}, + {"2602:fca9::/36", "1742"}, + {"2804:790::/32", "28653"}, + {"2a00:12a0::/32", "34123"}, + {"2001:da8:c1::/48", "138377"}, + {"2406:3340:2000::/32", "139139"}, + {"2602:fe4f::/36", "396917"}, + {"2a04:dfc0::/29", "680"}, + {"2001:250:803::/45", "24348"}, + {"240a:a0d6::/32", "142864"}, + {"2620:16d::/37", "7862"}, + {"2a10:f5c0::/29", "211357"}, + {"2a12:3e40::/48", "16509"}, + {"2001:559:409::/48", "7922"}, + {"2406:3400::/43", "10143"}, + {"2409:8054:44::/48", "9808"}, + {"240a:a3d5::/32", "143631"}, + {"2804:3034:108::/40", "264936"}, + {"2804:3ea4::/32", "266611"}, + {"2a02:26f7:f804::/48", "36183"}, + {"2408:8957:9100::/40", "17816"}, + {"2600:141b:15::/36", "20940"}, + {"2a0b:a700::/29", "207003"}, + {"2409:8904:5c70::/40", "24547"}, + {"240e:103:8b00::/44", "139203"}, + {"2804:61ec::/32", "269265"}, + {"2804:8060::/32", "61606"}, + {"2a0b:14c0:1::/48", "205184"}, + {"2407:5200:49::/38", "55915"}, + {"240a:ada3::/32", "146141"}, + {"240e:3b0:c000::/37", "140315"}, + {"2804:82a0::/32", "272530"}, + {"2a00:8860:100::/40", "60558"}, + {"2a00:ad40:20::/44", "197872"}, + {"2a02:26f7:d041::/46", "20940"}, + {"2a02:26f7:eb50::/48", "36183"}, + {"2001:678:c8::/48", "33999"}, + {"2407:4840::/32", "133301"}, + {"2605:7cc0::/32", "397161"}, + {"2801:0:310::/48", "262238"}, + {"2803:6900:1::/48", "52423"}, + {"2a0e:b700::/30", "35085"}, + {"2001:579:1c08::/42", "22773"}, + {"2409:8010:2900::/35", "9808"}, + {"2620:149:1150::/42", "714"}, + {"2804:111c:2::/45", "52818"}, + {"2a11:940::/29", "25145"}, + {"2001:da8:252::/48", "24350"}, + {"2804:8654::/32", "272636"}, + {"2a02:220::/32", "31122"}, + {"2a02:26f0:1501::/40", "20940"}, + {"2001:4200:3021::/38", "2018"}, + {"2400:18e0:1::/46", "131210"}, + {"2404:3c40::/32", "55933"}, + {"2404:6900:2013::/32", "17819"}, + {"2800:bf0:2443::/48", "27947"}, + {"2001:559:2b7::/44", "7922"}, + {"2409:896a:4c00::/39", "9808"}, + {"2600:6c38:106::/47", "20115"}, + {"2602:ffa6:700::/40", "62731"}, + {"2804:145c:cd10::/38", "263327"}, + {"2a0b:58c0::/29", "42375"}, + {"2001:559:850c::/47", "7725"}, + {"2001:1920::/32", "25689"}, + {"2606:f405::/32", "11776"}, + {"2620:1df::/36", "395678"}, + {"2001:250:219::/46", "24348"}, + {"2001:67c:292c::/48", "210211"}, + {"2800:160:164c::/46", "14259"}, + {"2804:39a0::/32", "266040"}, + {"2409:8028:1000::/40", "56041"}, + {"2600:100c:e210::/35", "22394"}, + {"2605:a401:8ca2::/41", "33363"}, + {"2804:520:2::/32", "262496"}, + {"2602:fc59:c0::/42", "19625"}, + {"2604:ca00:494::/42", "36492"}, + {"2a0b:4000::/29", "64488"}, + {"2806:2f0:7203::/42", "17072"}, + {"2a02:26f7:b4::/48", "36183"}, + {"2a09:3507::/32", "208861"}, + {"2a0e:40c0:2::/48", "21100"}, + {"2001:678:ec::/48", "197467"}, + {"2604:fb80:6801::/37", "15128"}, + {"2803:6900:593::/48", "52423"}, + {"2804:34d0::/32", "265482"}, + {"2804:5118::/32", "268430"}, + {"2a0f:19c0::/29", "60262"}, + {"2001:559:848a::/48", "33491"}, + {"2001:1810:9980::/48", "30447"}, + {"2406:840:f44f::/48", "137835"}, + {"2409:8c15:2e00::/35", "9808"}, + {"2600:9000:1e47::/48", "16509"}, + {"2a00:7e40:9ac1::/48", "1301"}, + {"2001:678:4::/47", "42909"}, + {"2001:da8:b81c::/48", "24372"}, + {"2001:1248:a4b0::/46", "11172"}, + {"2001:43f8:30::/48", "6968"}, + {"2403:9000::/32", "7594"}, + {"2404:4a00:7000:1::/37", "45629"}, + {"2605:e8c0::/32", "393444"}, + {"2607:f180::/34", "35908"}, + {"2620:171:1::/46", "42"}, + {"2803:f00:3::/45", "262182"}, + {"2a00:e120::/32", "20860"}, + {"240a:a781::/32", "144571"}, + {"2600:380:7c80::/39", "20057"}, + {"2800:600:212::/39", "52323"}, + {"240a:ab36::/32", "145520"}, + {"2600:1408:23::/45", "20940"}, + {"2604:d600:62e::/43", "32098"}, + {"2804:14d:8489::/41", "28573"}, + {"2c0f:ff30::/32", "37334"}, + {"2001:559:821b::/48", "33660"}, + {"2407:cc00::/32", "6660"}, + {"2602:fed2:7701::/48", "53356"}, + {"2804:f14:c100::/34", "262865"}, + {"2a0b:140::/29", "57773"}, + {"2001:559:831d::/48", "7015"}, + {"2001:678:7a8::/48", "13037"}, + {"2401:1d40:f8::/39", "23724"}, + {"2402:2f80:8::/48", "38001"}, + {"2804:3d4:2e::/43", "262401"}, + {"2001:559:124::/48", "33661"}, + {"2402:5d40::/32", "137079"}, + {"2620:115:c00e::/47", "2635"}, + {"2a06:79c0::/47", "15622"}, + {"2a0f:5701:3509::/48", "205593"}, + {"2407:1c00::/32", "26496"}, + {"2a02:26f7:b9::/48", "20940"}, + {"2001:559:8683::/48", "33660"}, + {"2403:fbc0:1000::/48", "23959"}, + {"2408:8456:6a00::/42", "17622"}, + {"2408:8459:8a30::/41", "17622"}, + {"2620:16e:487::/48", "3147"}, + {"2804:18c0::/35", "61951"}, + {"2a00:1c10:100::/40", "50300"}, + {"2a0e:8380::/32", "57793"}, + {"2402:800:328d::/43", "7552"}, + {"2405:19c0:1::/32", "140810"}, + {"2604:9740::/32", "11252"}, + {"2803:3440:9100::/33", "263784"}, + {"2804:2728:702::/45", "263880"}, + {"2a00:1d36:cc0::/38", "9121"}, + {"2a01:5740::/31", "57763"}, + {"2a0b:1b00::/29", "49544"}, + {"2a0f:9400:771f::/48", "211767"}, + {"2001:43f8:dd0::/48", "328212"}, + {"240a:a95b::/32", "145045"}, + {"2804:aec::/32", "52928"}, + {"2001:559:304::/48", "33657"}, + {"2401:ce80::/36", "14340"}, + {"2406:daa0:6060::/44", "16509"}, + {"240a:a3c8::/32", "143618"}, + {"2602:fd6b::/36", "36043"}, + {"2a00:4802:1e00::/40", "13124"}, + {"2a02:6c8::/33", "56611"}, + {"2a02:26f7:be4c::/48", "36183"}, + {"2a06:e881:8222::/48", "210761"}, + {"2001:550:1602::/47", "174"}, + {"2001:18b8:46::/44", "29789"}, + {"240a:adaa::/32", "146148"}, + {"2800:300:84e0::/43", "27986"}, + {"2804:738c:c010::/34", "270922"}, + {"2a02:26f7:c3dd::/46", "20940"}, + {"2a04:6d40::/47", "197888"}, + {"2a0e:97c0:550::/44", "58336"}, + {"2001:43f8:7b0::/48", "37578"}, + {"2409:8051:802::/40", "56047"}, + {"2602:ff96:1fe::/48", "40676"}, + {"2804:18:10d0::/44", "10429"}, + {"2804:25bc:a::/42", "264299"}, + {"2a02:6b8:23::/40", "208722"}, + {"2001:559:8387::/48", "33650"}, + {"2401:d800:500::/42", "7552"}, + {"2401:f000:7::/48", "38477"}, + {"2402:3780:2::/47", "132789"}, + {"240a:a62d::/32", "144231"}, + {"2620:d4:8000::/48", "27250"}, + {"2804:7070::/32", "270727"}, + {"2a10:2040::/29", "204576"}, + {"2001:559:81a1::/48", "7922"}, + {"2001:678:4d8::/48", "212704"}, + {"2001:fd0:3401::/36", "10029"}, + {"240a:a16f::/32", "143017"}, + {"2607:f018:ffff::/48", "36375"}, + {"2804:14d:5c9c::/42", "28573"}, + {"2a03:d9c0:8000::/48", "3214"}, + {"2a0b:37c0::/29", "205728"}, + {"2607:f7a0:1::/46", "46562"}, + {"2620:132:e002::/48", "41690"}, + {"2803:5e00:b5::/39", "267765"}, + {"2a02:d400::/29", "50261"}, + {"2001:4de0:49::/48", "50525"}, + {"240a:a2f2::/32", "143404"}, + {"2607:f8c0:208::/48", "25885"}, + {"2a02:26f7:90::/48", "36183"}, + {"2a0a:6840::/29", "25317"}, + {"2001:1248:9ae6::/39", "11172"}, + {"2402:b940::/40", "138538"}, + {"2409:8d14:1900::/34", "56044"}, + {"240e:44d:2d80::/41", "4134"}, + {"2600:1408:8c01::/35", "20940"}, + {"2600:6c10:f207::/44", "20115"}, + {"2604:bc40:6000::/48", "14618"}, + {"2602:fc03::/36", "400231"}, + {"2a0a:e0c0::/29", "15755"}, + {"2400:1bc0::/32", "59368"}, + {"2a0e:d4c0::/29", "197706"}, + {"2001:559:c1b3::/48", "20214"}, + {"2400:fa80:1::/48", "133480"}, + {"2602:fd60::/43", "396503"}, + {"2804:7f40::/32", "271676"}, + {"2406:8800:9043::/45", "17465"}, + {"2406:e401::/32", "135053"}, + {"2804:14d:c200::/40", "28573"}, + {"2804:161c:400::/43", "263268"}, + {"2804:4f80:3e00::/39", "268330"}, + {"2a01:8f9::/32", "3209"}, + {"2001:559:843d::/48", "7016"}, + {"2001:559:c441::/48", "7922"}, + {"2001:5b0:4ed5::/44", "6621"}, + {"2400:3dc0:501::/38", "134371"}, + {"2603:c0f0:2910::/40", "6142"}, + {"2001:250:808::/46", "138182"}, + {"2001:4878:b151::/48", "12222"}, + {"2804:431:e000::/35", "27699"}, + {"2806:2a0:a00::/40", "28548"}, + {"2a0e:1200::/29", "209112"}, + {"2001:559:820d::/48", "7015"}, + {"2001:678:300::/48", "39892"}, + {"2001:4b20:0:193::/64", "65505"}, + {"2400:7400:e031::/48", "38044"}, + {"2408:8459:ef10::/42", "17623"}, + {"2600:6c10:62::/47", "20115"}, + {"2607:f370::/32", "8057"}, + {"2a00:17c0::/40", "12993"}, + {"2a01:8580::/32", "198089"}, + {"2001:df6:f000::/48", "133142"}, + {"2804:2ee8::/32", "262880"}, + {"2a01:5b0:12::/44", "8391"}, + {"2001:250:2032::/44", "24355"}, + {"2001:559:2fe::/47", "7922"}, + {"2401:13c0:e000::/36", "132652"}, + {"2a00:11c0:1337::/48", "42473"}, + {"2a02:26f7:bd51::/42", "20940"}, + {"2400:7400:e021::/48", "23736"}, + {"240e:1e:3000::/36", "4134"}, + {"2600:1009:b0d0::/42", "6167"}, + {"2804:1b94:640::/36", "52974"}, + {"2804:6a30::/32", "270318"}, + {"2a03:b940::/32", "206484"}, + {"2001:57a:9202::/47", "22773"}, + {"2408:8456:3400::/41", "17623"}, + {"240a:a203::/32", "143165"}, + {"2804:ea4::/32", "262965"}, + {"2a04:8240::/29", "6694"}, + {"2a06:1740::/29", "200652"}, + {"2a07:df00::/29", "41974"}, + {"2409:8a55:3c00::/39", "56040"}, + {"2803:6fa0:100::/48", "267790"}, + {"2804:4368:e000::/35", "267568"}, + {"2a07:6886::/32", "204860"}, + {"2402:8100:21d0::/45", "45271"}, + {"2405:7e00:17::/48", "17408"}, + {"2408:8456:5640::/39", "17816"}, + {"2604:ff40::/32", "30211"}, + {"2607:fc18::/36", "13706"}, + {"2806:2f0:3481::/46", "17072"}, + {"2a02:6ea0:cd77::/48", "60068"}, + {"2a0c:b641:560::/47", "210481"}, + {"2001:559:871b::/48", "7016"}, + {"2404:f080::/35", "131392"}, + {"2804:e24::/32", "262417"}, + {"2806:265:3300::/37", "13999"}, + {"2a04:4e40:7210::/41", "54113"}, + {"2a12:5900::/29", "204790"}, + {"2402:1e80::/50", "4672"}, + {"2408:8956:bb00::/40", "17816"}, + {"2607:fd28:a000::/48", "3725"}, + {"2a01:76c0::/29", "21263"}, + {"2a07:9700::/29", "202741"}, + {"2001:458::/32", "8002"}, + {"2001:1900:2366::/47", "202818"}, + {"2600:200d:3000::/36", "33517"}, + {"2404:1140:1::/44", "141439"}, + {"2404:4f80::/43", "58715"}, + {"2408:8956:19c0::/38", "17622"}, + {"2620:101:4034::/46", "16880"}, + {"2620:121::/45", "55219"}, + {"2a02:26f0:8001::/39", "20940"}, + {"2a02:4901::/32", "200128"}, + {"2a05:4f44::/30", "31012"}, + {"2001:978:904::/44", "174"}, + {"2001:df5:c080::/48", "134505"}, + {"2404:5d80:6800::/40", "33438"}, + {"2a01:540:d000::/34", "12389"}, + {"2a07:48c0::/29", "212629"}, + {"2402:3a80:740::/42", "38266"}, + {"2606:2800:4048::/48", "14210"}, + {"2803:cf00::/32", "264642"}, + {"2001:468:200::/40", "11537"}, + {"2402:800:b650::/39", "7552"}, + {"2a03:be80:2::/47", "15510"}, + {"2400:cb00:220::/44", "13335"}, + {"240a:a985::/32", "145087"}, + {"2602:80c:9000::/44", "400070"}, + {"2806:2f0:80e1::/46", "17072"}, + {"2a00:4802:4e20::/44", "13124"}, + {"240e:438:7620::/43", "140647"}, + {"2a02:c20::/32", "41453"}, + {"2804:2904:a12::/32", "262588"}, + {"2a0c:b641:10::/47", "205523"}, + {"2600:1017:9810::/34", "6167"}, + {"2804:2c14::/32", "265194"}, + {"2a00:1188::/44", "8455"}, + {"2a0f:9400:7700::/48", "20473"}, + {"2001:678:ddc::/48", "212989"}, + {"2001:4490:d8c0::/46", "9829"}, + {"2804:5698::/32", "268011"}, + {"2a0f:40c0::/29", "207929"}, + {"2001:678:fa8::/48", "211564"}, + {"2001:1248:9721::/46", "11172"}, + {"2a02:ac80::/43", "25145"}, + {"2a04:9fc0::/29", "1136"}, + {"2001:67c:2718::/48", "25068"}, + {"2401:3c0:211::/46", "45528"}, + {"2408:8656:30f1::/45", "17816"}, + {"2620:a5:2000::/48", "7018"}, + {"2804:104c:4800::/40", "263629"}, + {"2a02:b50:4012::/48", "29791"}, + {"2001:250:e20::/35", "23910"}, + {"2001:67c:680::/48", "202577"}, + {"2408:84f3:ea40::/35", "17816"}, + {"2409:8051:2800::/47", "56047"}, + {"2600:1011:b070::/39", "6167"}, + {"2803:2d60:1119::/36", "14754"}, + {"2804:5be8:4000::/32", "268876"}, + {"2a01:c50f:600::/36", "12479"}, + {"2a02:26f7:c70d::/42", "20940"}, + {"2a0c:7b81::/32", "47596"}, + {"2607:5e80:1000::/33", "13807"}, + {"2a10:2f00:17b::/48", "210074"}, + {"2409:8051:3800::/47", "56047"}, + {"2804:5d4c::/32", "268963"}, + {"2804:7f28::/32", "271670"}, + {"2a00:bd00::/32", "6898"}, + {"2a02:26f7:f040::/48", "36183"}, + {"2a04:5201:4::/48", "200740"}, + {"2a0e:6540:d16::/48", "208364"}, + {"2001:678:be4::/48", "207647"}, + {"2404:cdc0::/32", "138842"}, + {"2405:4802:9740::/31", "18403"}, + {"2800:160:1d8e::/47", "14259"}, + {"2a02:367:1566::/48", "42804"}, + {"2001:678:ff8::/48", "207812"}, + {"240a:ac91::/32", "145867"}, + {"240e:62:3000::/32", "4134"}, + {"2602:fc23:117::/48", "211946"}, + {"2607:400::/32", "30583"}, + {"2a02:26f7:cf01::/46", "20940"}, + {"2001:fd8:b080::/42", "132199"}, + {"2804:104c:ec00::/40", "263629"}, + {"2a0d:b201:50b0::/41", "206026"}, + {"2408:8256:2c83::/48", "17816"}, + {"2804:cec::/32", "52575"}, + {"2804:3f90::/32", "263081"}, + {"2806:230:6005::/48", "11888"}, + {"2a01:5040:a000::/48", "43996"}, + {"2401:8800:400::/40", "17439"}, + {"2409:892a::/27", "9808"}, + {"240a:a452::/32", "143756"}, + {"2804:2ccc::/35", "265244"}, + {"2001:559:c3f9::/48", "33662"}, + {"2001:67c:244::/48", "39822"}, + {"2402:800:5d63::/43", "7552"}, + {"2406:840:e500::/47", "211571"}, + {"2803:6900:559::/48", "52423"}, + {"2804:18:5868::/34", "26599"}, + {"2804:b18:8001::/44", "52941"}, + {"2a02:26f0:118::/48", "20940"}, + {"2a03:5640:f042::/48", "16509"}, + {"2001:559:8147::/48", "7015"}, + {"2602:feb4:1b0::/44", "25961"}, + {"2607:9e80:1201::/40", "397068"}, + {"2804:41f4::/37", "267468"}, + {"240a:a821::/32", "144731"}, + {"2600:6c20:c26::/47", "20115"}, + {"2620:160:e372::/48", "2011"}, + {"2804:1674::/44", "53231"}, + {"2001:559:826c::/48", "7015"}, + {"2001:4478:1a00::/34", "4802"}, + {"2400:7400:12::/42", "38044"}, + {"240a:a4a6::/32", "143840"}, + {"2405:db00::/32", "9268"}, + {"240a:a976::/32", "145072"}, + {"2a02:2478::/32", "51862"}, + {"2001:559:358::/48", "33651"}, + {"2001:67c:2a2c::/48", "49566"}, + {"2804:6ea8::/33", "270611"}, + {"2a0f:25c0::/48", "207077"}, + {"2001:250:3c18::/48", "23910"}, + {"2408:8956:7200::/40", "17622"}, + {"240a:a4e3::/32", "143901"}, + {"240e:3b3:8200::/35", "140316"}, + {"240e:438:5440::/38", "4134"}, + {"2a02:690::/29", "41960"}, + {"2a02:26f7:bd8c::/48", "36183"}, + {"2a06:cf00::/29", "62365"}, + {"2001:44b8:30a6::/44", "7545"}, + {"2405:1340::/32", "9654"}, + {"2a05:e880::/29", "50304"}, + {"2001:559:c4e3::/48", "33287"}, + {"2408:8956:a200::/40", "17622"}, + {"240a:ab0f::/32", "145481"}, + {"2600:140b:f401::/36", "20940"}, + {"2607:f758:1400::/33", "13649"}, + {"2a0f:5701:350a::/43", "206499"}, + {"2001:67c:10f4::/48", "211763"}, + {"240e:964:e400::/39", "133775"}, + {"2600:140f:1201::/37", "20940"}, + {"2804:3e2c::/32", "266578"}, + {"2a01:8f20::/32", "51863"}, + {"2001:67c:a8::/48", "197269"}, + {"2001:44b8:4058::/48", "7545"}, + {"2409:8904:4560::/38", "24547"}, + {"240a:a4dd::/32", "143895"}, + {"240a:a4f7::/32", "143921"}, + {"2604:3d00::/33", "6327"}, + {"2620:117:7010::/40", "26955"}, + {"2804:39a8::/32", "266042"}, + {"2a00:c320::/32", "42263"}, + {"2a02:26f0:d301::/37", "20940"}, + {"2401:d800:fe50::/42", "7552"}, + {"240e:679:e400::/39", "140330"}, + {"2600:1012:9100::/44", "6167"}, + {"2606:bc00:bf00::/33", "19419"}, + {"2800:160:1d81::/46", "14259"}, + {"2a02:6722::/32", "44234"}, + {"2a0c:9a40:8060::/44", "20473"}, + {"2401:f40::/32", "134732"}, + {"2401:4900:44c0::/42", "45609"}, + {"240a:a7c7::/32", "144641"}, + {"240e:b2:e000::/36", "136197"}, + {"2804:2d4:10::/44", "28244"}, + {"2a0e:7740::/32", "208490"}, + {"2403:300:a14::/48", "6185"}, + {"2a0b:6c80::/32", "12586"}, + {"2600:6c38:414::/44", "20115"}, + {"2804:187c::/32", "262673"}, + {"2001:559:7c9::/48", "20214"}, + {"2001:13d2:6807::/32", "7303"}, + {"2401:b740::/32", "137549"}, + {"2401:d800:f60::/40", "7552"}, + {"2406:daa0:1040::/44", "16509"}, + {"240a:aed5::/32", "146447"}, + {"2600:1f01:4814::/47", "16509"}, + {"2804:1258::/32", "263471"}, + {"2804:4ca0:200::/32", "267381"}, + {"2400:6800::/32", "10105"}, + {"2620:171:ce::/47", "42"}, + {"2804:40a8::/32", "265973"}, + {"2a0b:4342:1a2a::/45", "57578"}, + {"2a0d:5a80::/29", "21100"}, + {"2408:8924::/32", "4837"}, + {"2600:9000:1e41::/48", "16509"}, + {"2a02:88d:8030::/44", "48695"}, + {"2c0f:f498::/32", "37575"}, + {"2806:230:5007::/48", "11888"}, + {"2402:800:9647::/43", "7552"}, + {"2607:f9c0::/32", "22070"}, + {"2806:2f0:2062::/48", "17072"}, + {"2c0f:ea98::/32", "37347"}, + {"2001:67c:2f68::/48", "207748"}, + {"2402:800:9ea0::/43", "7552"}, + {"2403:0:11d::/38", "4755"}, + {"240e:44d:5900::/42", "140345"}, + {"2605:a401:80bc::/47", "33363"}, + {"2a06:e800::/32", "47950"}, + {"2001:1290::/31", "16735"}, + {"2404:8d02:48c9::/39", "9587"}, + {"2408:8957:1fc0::/34", "17622"}, + {"2409:8904:a140::/38", "24547"}, + {"240e:980:2b00::/40", "58563"}, + {"2600:1000:b0e2::/43", "22394"}, + {"2a01:348:63::/36", "39326"}, + {"2408:840d:c300::/42", "17621"}, + {"2a0f:9400:7719::/46", "53356"}, + {"2001:559:864f::/48", "33661"}, + {"2001:df0:1e::/50", "38794"}, + {"2a02:26f7:8e::/48", "36183"}, + {"2a02:26f7:f850::/48", "36183"}, + {"2001:67c:4c::/48", "35609"}, + {"2406:3400:dd::/38", "10143"}, + {"2602:fec9::/36", "46995"}, + {"2a0f:9f00::/29", "208206"}, + {"2001:559:8458::/48", "33287"}, + {"2001:67c:2878::/48", "8881"}, + {"2405:5440::/48", "56150"}, + {"2602:fea7::/38", "397270"}, + {"2804:370::/32", "262881"}, + {"2001:559:c1ac::/48", "20214"}, + {"2400:1a00:8011::/34", "17501"}, + {"2400:5200:1000::/40", "55410"}, + {"2607:fe88:1000::/33", "852"}, + {"2a01:1f8::/32", "34568"}, + {"2a04:c007::/32", "204248"}, + {"2a0c:e80::/29", "200000"}, + {"2408:873c::/31", "4837"}, + {"2605:a404:69c::/39", "33363"}, + {"2804:eb8::/32", "262970"}, + {"2804:19b8::/33", "52912"}, + {"2001:559:2fb::/48", "33287"}, + {"2001:5b0:5f00::/40", "6621"}, + {"2804:3a0::/32", "52960"}, + {"2a00:f10:ff02::/29", "48635"}, + {"2a03:84a0::/44", "29990"}, + {"2001:500:103::/48", "55002"}, + {"2001:6f8:1904::/40", "3257"}, + {"2408:8409:4800::/40", "4808"}, + {"2409:801f:3005::/46", "9808"}, + {"240a:a53e::/32", "143992"}, + {"240e:44d:5640::/42", "140347"}, + {"2600:3501:f000::/30", "396998"}, + {"2804:e64:667::/32", "262952"}, + {"2001:250:4008::/46", "24358"}, + {"2604:15c0::/32", "40187"}, + {"2a0b:8e80::/47", "43824"}, + {"2a11:7280::/29", "1239"}, + {"2620:22:a000::/48", "27580"}, + {"2a00:1728:2e::/47", "34224"}, + {"2001:250:4810::/42", "24360"}, + {"2604:d600:692::/45", "32098"}, + {"2804:1df8::/32", "264404"}, + {"2804:39f0::/32", "266060"}, + {"2a09:440::/29", "204790"}, + {"2a0e:2e00::/29", "9119"}, + {"2401:d800:7990::/42", "7552"}, + {"2605:1700::/32", "40029"}, + {"2001:559:c206::/48", "7016"}, + {"2402:e280:3d82::/43", "134674"}, + {"240a:a084::/32", "142782"}, + {"2620:1b2::/36", "26673"}, + {"2800:bf0:2800::/44", "52257"}, + {"240a:a6bc::/32", "144374"}, + {"2804:407c::/32", "28153"}, + {"2403:fc00::/38", "9443"}, + {"2602:fe19:2b::/34", "26073"}, + {"2602:feda:c30::/44", "209294"}, + {"2a05:1086:f000::/47", "141694"}, + {"2a0b:78c0::/32", "42830"}, + {"2a0c:b641:1::/48", "34872"}, + {"2801:19:b000::/48", "266666"}, + {"2a00:c540::/32", "57506"}, + {"2a01:9940:100::/47", "12807"}, + {"2a0a:4500::/29", "199163"}, + {"2001:559:862d::/48", "7016"}, + {"2400:a980:d00::/38", "133111"}, + {"2405:f940::/32", "139154"}, + {"2408:84f3:3610::/44", "17623"}, + {"2a00:4802:4a30::/39", "8717"}, + {"2a01:6d00::/43", "28726"}, + {"2a0b:b87:ffe9::/48", "202307"}, + {"2a0c:9a40:10a0::/48", "213288"}, + {"240e:3b2:f100::/37", "134775"}, + {"2600:370f:5141::/40", "32261"}, + {"2a02:b48:8000::/44", "39572"}, + {"2a0e:e704:60::/44", "212469"}, + {"2401:d800:72e0::/39", "7552"}, + {"2a02:26f7:bf0c::/48", "36183"}, + {"2600:140f:c400::/48", "9498"}, + {"2a03:75c0::/32", "197922"}, + {"2804:6820::/32", "269670"}, + {"2804:8594::/32", "272588"}, + {"2a02:fc8::/32", "42572"}, + {"2a0f:5707:ab20::/48", "3280"}, + {"2001:b28:999a::/34", "42065"}, + {"2001:df1:1b80::/48", "139364"}, + {"2401:ca40::/32", "136978"}, + {"240a:ad9b::/32", "146133"}, + {"2600:6c39:45b::/39", "20115"}, + {"2001:579:9395::/41", "22773"}, + {"2800:160:1b3c::/46", "14259"}, + {"2806:230:403f::/48", "11888"}, + {"2a01:4ce0:50::/48", "174"}, + {"2a04:1cc3::/29", "48635"}, + {"2a04:e1c0:1::/48", "12859"}, + {"2001:df7:b780::/48", "134505"}, + {"2408:8956:3400::/40", "17622"}, + {"240c:cda1::/32", "24357"}, + {"240e:108:25::/48", "134756"}, + {"240e:946:3007::/32", "58540"}, + {"2804:20c8::/32", "264514"}, + {"2a02:26f7:ed45::/46", "20940"}, + {"2a09:bac0:123::/45", "13335"}, + {"2a0b:31c0:563::/48", "205726"}, + {"2403:9500::/32", "9657"}, + {"2408:8956:8200::/40", "17622"}, + {"2600:804:441::/31", "701"}, + {"2001:df2:c900::/48", "38635"}, + {"2001:fd8:120::/48", "132199"}, + {"2400:7400:3b::/48", "23736"}, + {"2602:fed2:7123::/48", "206607"}, + {"2607:2200::/32", "17090"}, + {"2800:800:970::/48", "26611"}, + {"2001:678:110::/48", "57436"}, + {"2001:67c:2cc0::/48", "5588"}, + {"2001:df7:7d80::/48", "141909"}, + {"240e:3b5:f700::/36", "4134"}, + {"2a02:26f7:cec5::/46", "20940"}, + {"2001:559:c13d::/48", "7016"}, + {"2001:978:3401::/36", "174"}, + {"2604:e080::/32", "32458"}, + {"2804:14d:d682::/41", "28573"}, + {"2a07:3b00::/29", "198024"}, + {"2001:db0:5000::/34", "17766"}, + {"2402:800:36e0::/44", "7552"}, + {"2408:8957:3500::/40", "17816"}, + {"2600:1406:601::/39", "20940"}, + {"2605:f700:400::/38", "18978"}, + {"2610:18:8104::/48", "22550"}, + {"2804:21f8:50::/39", "262272"}, + {"2804:50a4::/32", "268401"}, + {"2a0e:b106:20::/44", "203038"}, + {"2001:559:c30b::/48", "33659"}, + {"2408:8256:3d9c::/46", "17623"}, + {"2602:fc09::/40", "13780"}, + {"2804:1bd8:4a00::/37", "28224"}, + {"240e:3bf:7800::/39", "4134"}, + {"2001:57a:4044::/34", "22773"}, + {"2001:e68:20db:12::/32", "4788"}, + {"2402:800:f020::/41", "7552"}, + {"2606:2800:247::/44", "15133"}, + {"2620:137:7000::/40", "396322"}, + {"2804:2e10::/32", "265320"}, + {"2a0b:9b00:401::/38", "62240"}, + {"2401:b080:64::/32", "133748"}, + {"2804:4138::/32", "266011"}, + {"2a02:e540::/29", "8661"}, + {"2001:550:2200:205::/62", "174"}, + {"2605:a401:8c0a::/41", "33363"}, + {"2804:30f8::/36", "264984"}, + {"2804:430c::/32", "267545"}, + {"2001:388:607c::/48", "135893"}, + {"2001:67c:2418::/48", "9023"}, + {"2001:44b8:605e::/48", "7545"}, + {"2408:8456:8a00::/42", "17622"}, + {"240e:30e:4a00::/35", "137688"}, + {"2804:230::/32", "53211"}, + {"2804:5ac4:20::/43", "268795"}, + {"2408:8459:e50::/35", "17816"}, + {"240a:a5e9::/32", "144163"}, + {"2a09:de40::/32", "209198"}, + {"2804:14d:2c00::/40", "28573"}, + {"2804:34e4::/32", "264985"}, + {"2804:5b14::/34", "268817"}, + {"2a02:330:8::/47", "209456"}, + {"2a0f:2ec0::/29", "60262"}, + {"2a03:ca40::/32", "197727"}, + {"2406:ef80:1::/45", "63473"}, + {"2408:84f3:3490::/38", "17816"}, + {"2409:8c1f:8fa0::/41", "9808"}, + {"240a:ae44::/32", "146302"}, + {"2600:6c20:c53::/39", "20115"}, + {"2605:3380:4a00::/40", "12025"}, + {"2001:559:c320::/48", "33657"}, + {"2400:89c0:2200::/48", "37936"}, + {"2602:fed2:770b::/48", "34924"}, + {"2607:f368:1000::/46", "32982"}, + {"2a0c:d2c6::/32", "7007"}, + {"2a0f:d080::/29", "57756"}, + {"2001:400:201:73::/61", "3425"}, + {"2607:fe98::/32", "10947"}, + {"2a00:d2c0:5::/32", "12975"}, + {"2a02:7800::/32", "15582"}, + {"2a06:e040:7602::/47", "198507"}, + {"2001:4998:48::/43", "10310"}, + {"2401:d800:7cc0::/42", "7552"}, + {"2409:8907:8320::/37", "24547"}, + {"240e:45c:100::/40", "137266"}, + {"2604:f80::/46", "22458"}, + {"2620:10a:80ef::/48", "55195"}, + {"2620:128:2000::/44", "395287"}, + {"2804:75fc::/32", "271082"}, + {"2001:df2:3a80::/48", "138270"}, + {"2401:2900:8888::/48", "23679"}, + {"2405:8f40:1::/48", "54994"}, + {"2602:fdc4::/48", "63430"}, + {"2604:6840:ac10::/48", "20446"}, + {"2605:e240:b::/48", "16509"}, + {"2a03:ec00:b200::/40", "12847"}, + {"2001:15c0::/29", "21283"}, + {"2001:559:184::/48", "33490"}, + {"2a02:2455::/33", "35244"}, + {"2a02:2e02:2490::/41", "12479"}, + {"2402:4e00:2::/45", "45090"}, + {"2403:200::/32", "45461"}, + {"2a00:4520:9::/32", "42961"}, + {"2a0c:1d80::/29", "31480"}, + {"2a11:a6c0::/46", "3269"}, + {"2001:3c8:e10e::/48", "137546"}, + {"2401:d800:fa40::/42", "7552"}, + {"240e:97d:4000::/34", "58543"}, + {"2606:b800::/32", "25983"}, + {"2a02:26f7:d440::/48", "36183"}, + {"2001:559:196::/48", "7016"}, + {"2001:559:4db::/48", "7015"}, + {"2001:678:efc::/48", "212135"}, + {"2803:26e0:a1fa::/48", "269955"}, + {"2804:1924::/32", "61774"}, + {"2804:6ac4:2000::/36", "16921"}, + {"2806:2f0:24c3::/43", "22884"}, + {"2a02:26f7:e541::/46", "20940"}, + {"2a0c:e303::/32", "211882"}, + {"2001:250:6030::/47", "24364"}, + {"2400:cb00:384::/46", "13335"}, + {"2a00:cb80::/32", "35393"}, + {"2400:8500:2000::/36", "58791"}, + {"2406:da18::/36", "16509"}, + {"2600:370f:33c4::/44", "32261"}, + {"2604:4dc0::/32", "54483"}, + {"2804:3160:4::/33", "265010"}, + {"2a02:26f7:e80c::/48", "36183"}, + {"2a09:be40:3100::/40", "213167"}, + {"2001:2f8::/32", "2907"}, + {"2001:559:8794::/48", "33657"}, + {"2606:2800:7001::/46", "15133"}, + {"2804:1b04:14::/44", "53048"}, + {"2804:54c0::/32", "268668"}, + {"2a04:4e40:1430::/41", "54113"}, + {"2a0a:2b00:20::/48", "16509"}, + {"2a0c:a4c0::/29", "202451"}, + {"2405:7f00:a020::/40", "133414"}, + {"2602:fd55::/47", "45250"}, + {"2804:1c94::/32", "61663"}, + {"2a02:26f7:e148::/48", "36183"}, + {"2a0d:2687::/32", "209650"}, + {"2804:1e2c:200::/40", "264412"}, + {"2001:67c:2b74::/48", "3320"}, + {"2001:e60:d400::/42", "4766"}, + {"240e:44d:4340::/42", "140359"}, + {"2a00:a760::/32", "41216"}, + {"2a04:ff00:600::/40", "206634"}, + {"2a06:ba00::/48", "34775"}, + {"2a0a:c5c0::/29", "29423"}, + {"2001:67c:1588::/48", "198168"}, + {"2001:910::/32", "20766"}, + {"2402:800:97e0::/44", "7552"}, + {"240e:267:7000::/38", "140335"}, + {"240e:3bd:c800::/37", "4134"}, + {"2a03:d5c0:a000::/40", "199391"}, + {"2001:df6:cc00::/48", "55683"}, + {"2402:1f00:8300::/33", "16276"}, + {"2406:9e00:6::/44", "55352"}, + {"240a:a037::/32", "142705"}, + {"2803:efa0::/32", "267792"}, + {"2001:678:430::/47", "205956"}, + {"2402:800:9471::/40", "7552"}, + {"2408:4000::/28", "37963"}, + {"2602:fbeb::/36", "46685"}, + {"2001:250:80c::/48", "23910"}, + {"2606:a300:5::/32", "35847"}, + {"2001:3c8:9007::/48", "9464"}, + {"2001:678:66c::/48", "200924"}, + {"2600:1005:b100::/41", "6167"}, + {"2804:160::/32", "28195"}, + {"2804:f14::/32", "262865"}, + {"2a02:68a0::/32", "201906"}, + {"2001:559:430::/48", "33489"}, + {"2001:b18:10::/48", "47787"}, + {"2402:800:fb40::/42", "7552"}, + {"2405:aac0:221::/46", "139949"}, + {"240a:a042::/32", "142716"}, + {"240a:a5dc::/32", "144150"}, + {"240a:a725::/32", "144479"}, + {"2a02:4280::/32", "40981"}, + {"2a03:5dc0:6::/48", "13032"}, + {"2a0b:3c40:10::/48", "1239"}, + {"2a0c:1100::/32", "781"}, + {"2a0e:b107:1710::/44", "210826"}, + {"2001:559:870b::/48", "7015"}, + {"2408:8459:ae10::/42", "17623"}, + {"2602:fc97:50::/48", "399544"}, + {"2804:168:1000::/48", "28279"}, + {"2804:222c::/38", "264596"}, + {"2804:5d2c::/47", "268955"}, + {"2a00:1ca8:8a::/43", "50673"}, + {"2a01:488:bb07::/44", "20773"}, + {"2a0e:b107:ea8::/46", "211640"}, + {"2402:800:3efe::/33", "7552"}, + {"2408:84f3:4810::/42", "134543"}, + {"2600:6c3b:424::/44", "20115"}, + {"2a00:db60:4000::/48", "15224"}, + {"2a02:e60::/32", "47506"}, + {"2a0f:39c0::/29", "60781"}, + {"2001:dd8:7::/48", "187"}, + {"2001:1878:405::/40", "226"}, + {"2607:f330:6aab::/37", "15130"}, + {"2804:591c:30::/32", "28370"}, + {"2a00:1cb8:2000::/35", "12713"}, + {"2a00:4802:2e00::/41", "13124"}, + {"2a0f:3dc0::/29", "207902"}, + {"2001:da8:6000::/48", "24355"}, + {"2a01:b740:a06::/48", "6185"}, + {"2001:559:8311::/48", "7922"}, + {"2001:1270:4000::/34", "22011"}, + {"2620:132:7090::/41", "19537"}, + {"2804:16d8:4000::/35", "262729"}, + {"2001:559:c0af::/48", "33491"}, + {"2001:df0:201::/48", "1221"}, + {"2804:14d:ba84::/46", "28573"}, + {"2806:109f:1::/48", "8151"}, + {"2a02:e040::/29", "43995"}, + {"2001:1248:552c::/43", "11172"}, + {"2400:5300::/47", "45815"}, + {"2401:7400:c002::/36", "4773"}, + {"2409:896a:9000::/39", "9808"}, + {"2600:9000:1e1a::/45", "16509"}, + {"2605:6700::/32", "11976"}, + {"2803:9800:9012::/42", "11664"}, + {"2a02:26f7:cbc9::/42", "20940"}, + {"2001:502:ad09::/48", "397226"}, + {"2001:e60:100a::/41", "4766"}, + {"2620:ef:8000::/48", "35977"}, + {"2a0e:aa07:e010::/48", "208370"}, + {"2001:67c:38c::/48", "43081"}, + {"2001:67c:774::/48", "64424"}, + {"2001:4b60::/40", "28857"}, + {"2409:896a:5f00::/34", "9808"}, + {"2604:2d80:6880::/38", "30036"}, + {"2804:14c:5900::/41", "28573"}, + {"2804:a8c:400::/32", "262299"}, + {"2a00:14b8::/32", "49826"}, + {"2a04:4e40:4610::/44", "54113"}, + {"2405:1c0:6461::/45", "55303"}, + {"2607:f020:2000::/40", "40289"}, + {"2620:123:7000::/44", "46757"}, + {"2804:14c:8794::/42", "28573"}, + {"2a00:1e50::/33", "34006"}, + {"2a03:d60:2::/48", "201743"}, + {"2a07:a40:c::/48", "205112"}, + {"2001:559:86b6::/48", "33660"}, + {"2600:1419:e800::/48", "61580"}, + {"2804:5f64::/32", "269096"}, + {"2806:230:6019::/48", "11888"}, + {"2401:8a40:44::/46", "45326"}, + {"2800:160:1b6a::/43", "14259"}, + {"2803:ec60::/32", "267850"}, + {"2804:6338::/32", "269347"}, + {"2804:8564::/35", "262313"}, + {"2a03:980:1::/46", "20645"}, + {"2001:550:a905::/44", "174"}, + {"2001:559:314::/48", "33491"}, + {"2001:559:7d7::/48", "33654"}, + {"2001:559:c52f::/48", "33490"}, + {"2001:67c:788::/48", "16509"}, + {"2001:1458::/31", "513"}, + {"2a02:26f7:cf08::/47", "36183"}, + {"2a03:7203::/32", "42322"}, + {"2a06:8ec0:3::/48", "7489"}, + {"2a07:9b40:d00f::/48", "39702"}, + {"2401:d800:a50::/42", "7552"}, + {"2404:c0:33a0::/33", "23693"}, + {"2001:1b10::/32", "29259"}, + {"2001:3c8:a702::/48", "132879"}, + {"2402:800:5b0f::/43", "7552"}, + {"2405:8a00:a055::/33", "55824"}, + {"2409:8044:2b14::/28", "24445"}, + {"2605:a404:6a::/43", "33363"}, + {"2a0e:8f02:2171::/46", "211168"}, + {"2408:8456:2040::/40", "17816"}, + {"240e:438:9820::/43", "140647"}, + {"2600:140f:2400::/48", "9498"}, + {"2804:568:601::/32", "262514"}, + {"2a0c:5000:3085::/30", "60502"}, + {"2607:3200::/46", "11240"}, + {"2804:27b4::/32", "53124"}, + {"2a01:64c0::/32", "45012"}, + {"2a02:6b0::/32", "24638"}, + {"2001:43f8:d00::/48", "33764"}, + {"2001:44c8:4150::/40", "131445"}, + {"2402:800:3d2b::/41", "7552"}, + {"2605:b240::/48", "13820"}, + {"2803:9100::/32", "52409"}, + {"2804:18:6058::/45", "10429"}, + {"2804:2a60:182::/32", "263089"}, + {"2a01:5043:2eff::/48", "202196"}, + {"2a0e:f500:1::/46", "60781"}, + {"2001:579:192c::/43", "22773"}, + {"2001:1900:225d::/48", "10753"}, + {"2600:1419:5401::/36", "20940"}, + {"2605:9d80:a000::/48", "36678"}, + {"2a05:ff80::/29", "8758"}, + {"2a07:3147::/32", "48408"}, + {"2001:559:c49f::/48", "33651"}, + {"2402:1100::/32", "132035"}, + {"2602:107:2410::/48", "20115"}, + {"2804:67d8::/32", "269654"}, + {"2406:daa0:60a0::/44", "16509"}, + {"2402:13c0:1::/48", "7474"}, + {"2606:2800:4ae8::/46", "15133"}, + {"2804:8054:2000::/40", "271744"}, + {"2409:873d::/25", "9808"}, + {"240e:45c:3800::/40", "131285"}, + {"2a02:24d8::/32", "21473"}, + {"2a05:22c0::/29", "42567"}, + {"2001:fd8:264::/46", "132199"}, + {"2001:4878:4062::/47", "12222"}, + {"2001:4888:8061::/48", "22394"}, + {"2606:b400:8006::/48", "792"}, + {"2804:6fa0::/32", "270673"}, + {"2a00:7380::/37", "51906"}, + {"2a01:8c9::/29", "3209"}, + {"2402:3a80:800::/44", "38266"}, + {"2405:f080:1e00::/46", "136907"}, + {"240a:a353::/32", "143501"}, + {"2a05:e580::/32", "63399"}, + {"2001:4830:c170::/48", "22147"}, + {"2401:9d00:2::/39", "9835"}, + {"2405:8a00:4015::/44", "55824"}, + {"2804:2938::/32", "264004"}, + {"2a02:798::/32", "31688"}, + {"2a02:26f7:b940::/48", "36183"}, + {"2a0c:8640::/30", "3257"}, + {"240e:44d:e00::/42", "140345"}, + {"2a00:c20::/32", "29611"}, + {"2a01:9e40::/32", "31287"}, + {"2a0f:2b40::/29", "60262"}, + {"2001:550:1208::/39", "174"}, + {"2402:800:71b0::/41", "7552"}, + {"2408:8256:3281::/48", "17623"}, + {"2603:c011::/36", "31898"}, + {"2620:0:5010::/48", "30094"}, + {"2804:3cec::/32", "266242"}, + {"2001:678:610::/48", "202967"}, + {"2001:e68:2001:2::/40", "4788"}, + {"2406:840:fef0::/48", "136591"}, + {"2804:ae0:2801::/38", "28352"}, + {"2c0f:ee40:3000::/36", "36666"}, + {"2001:559:847d::/48", "33287"}, + {"2400:da00:401::/45", "38365"}, + {"2607:fcc8:5000::/36", "11955"}, + {"2803:3b80:c000::/36", "263702"}, + {"2804:3824::/32", "266459"}, + {"2001:559:c278::/48", "7015"}, + {"2a02:ee80:406d::/46", "3573"}, + {"2a05:2d01::/32", "64404"}, + {"2a0d:bf80::/29", "206576"}, + {"2400:b200::/33", "37963"}, + {"2401:d800:7c22::/41", "7552"}, + {"2607:fd28:a008::/48", "36086"}, + {"2001:250:e04::/44", "138375"}, + {"2001:559:86a2::/47", "7922"}, + {"2604:da00::/36", "31745"}, + {"2610:1e0:1800::/48", "1657"}, + {"2a01:4ae0::/32", "59933"}, + {"2001:67c:23fc::/48", "41352"}, + {"2409:8052::/47", "56047"}, + {"240a:aabc::/32", "145398"}, + {"2600:1480:1801::/37", "20940"}, + {"2804:18:7840::/43", "26599"}, + {"2400:a980:30f3::/45", "133513"}, + {"2402:8400:6::/48", "17820"}, + {"2404:3d00:41a3::/48", "3573"}, + {"2804:3ec8::/32", "266620"}, + {"2a00:4720::/32", "42442"}, + {"2001:559:83f1::/48", "7725"}, + {"240a:a736::/32", "144496"}, + {"240e:45c:6400::/40", "131285"}, + {"2a0b:340::/32", "43886"}, + {"2400:eb40:4005::/48", "14821"}, + {"240e:a67:1a00::/34", "140330"}, + {"2a02:26f7:11d::/48", "20940"}, + {"2a07:59c1:30c0::/43", "140731"}, + {"2001:559:8669::/48", "33491"}, + {"2001:4888:8045::/46", "22394"}, + {"2603:90f5:400::/40", "11955"}, + {"2804:2894::/32", "263969"}, + {"2806:250:1c::/46", "28509"}, + {"2a02:26f7:c418::/48", "36183"}, + {"2c0f:ed70::/32", "327822"}, + {"2409:8d1b::/29", "9808"}, + {"240a:ae45::/32", "146303"}, + {"2a00:1560:1112::/32", "29684"}, + {"2a00:1780:dc00::/40", "210213"}, + {"2a02:6c20:3::/48", "201922"}, + {"2401:4900:ea0::/43", "45609"}, + {"240e:9b:f027::/44", "140258"}, + {"2a0b:4340:82::/47", "134176"}, + {"2c0f:f348:b::/35", "24757"}, + {"2600:100b:b1e0::/33", "6167"}, + {"2600:1419:3c01::/38", "20940"}, + {"2800:160:2016::/44", "14259"}, + {"2804:4be4::/32", "267335"}, + {"2401:d800:b9d0::/42", "7552"}, + {"2603:faf0::/23", "397165"}, + {"2606:13c0::/48", "10843"}, + {"2804:7b3c::/32", "271419"}, + {"2a09:3d03::/32", "210625"}, + {"2a0e:1d40::/29", "212655"}, + {"2a0e:3200::/29", "12843"}, + {"2001:4408:201::/35", "4758"}, + {"2a00:c38::/32", "15576"}, + {"2a00:18f8::/32", "31416"}, + {"2001:559:76b::/48", "21508"}, + {"2a01:8840:25::/48", "207266"}, + {"2a03:9980:1930::2/29", "30742"}, + {"2600:1407:c801::/35", "20940"}, + {"2620:189::/36", "16957"}, + {"2806:250:10::/48", "28555"}, + {"2806:2f0:2160::/40", "17072"}, + {"2a02:b80::/29", "30740"}, + {"2405:84c0:ff60::/44", "139782"}, + {"2406:9e00::/45", "55352"}, + {"2804:f2c::/33", "53191"}, + {"2a00:6cc0::/48", "62407"}, + {"2a00:7540::/29", "25145"}, + {"2a02:ad8:2e00::/33", "12389"}, + {"2a02:26f7:e780::/48", "36183"}, + {"2a03:e400::/32", "45005"}, + {"2001:559:85ac::/48", "7922"}, + {"2001:db0::/35", "17766"}, + {"240e:679:c400::/39", "140330"}, + {"2804:694c:c000::/34", "270261"}, + {"2a12:7bc0:104::/47", "204903"}, + {"2001:1a11:a8::/45", "42298"}, + {"2403:cfc0:1006::/48", "395092"}, + {"240a:ab74::/32", "145582"}, + {"240e:3b1:ac00::/35", "4134"}, + {"2804:84ec::/32", "272284"}, + {"2a0f:8640:b00b::/48", "212149"}, + {"2001:579:184c::/40", "22773"}, + {"2001:678:220::/48", "52022"}, + {"2605:5080:5011::/42", "3367"}, + {"2605:6ac0:5000::/36", "400475"}, + {"2606:6e80::/32", "33548"}, + {"2804:1f16::/32", "265190"}, + {"2a03:67e0::/32", "201201"}, + {"2001:3c8:9008::/48", "4621"}, + {"2001:44b8:1058::/46", "4739"}, + {"2a02:26f7:f180::/48", "36183"}, + {"2a06:5040:30::/45", "6134"}, + {"2400:8300::/32", "10002"}, + {"2604:880:64::/47", "29802"}, + {"2801:80:1930::/48", "264979"}, + {"2801:15c::/48", "14080"}, + {"2a01:5da0::/32", "15397"}, + {"2a02:53a0::/32", "35280"}, + {"2001:500:125::/48", "396566"}, + {"2400:adc0:4200::/46", "9541"}, + {"2404:f240::/32", "134863"}, + {"240e:6b3:2000::/32", "4134"}, + {"2804:23c4::/32", "264181"}, + {"2806:1070:cefe::/48", "20940"}, + {"2a00:1570::/32", "39308"}, + {"2001:559:c343::/48", "33490"}, + {"2405:6c40:4::/44", "24527"}, + {"2804:1e70:4000::/34", "264429"}, + {"2a0c:f587:fffe::/47", "200334"}, + {"2a10:4a00::/29", "399975"}, + {"2620:5f:8000::/48", "33281"}, + {"2a00:be00::/32", "29226"}, + {"2001:559:2df::/48", "33652"}, + {"2409:8057:3040::/43", "56040"}, + {"2a06:e881:4405::/48", "203801"}, + {"240a:ac8e::/32", "145864"}, + {"2804:8140:2000::/32", "272442"}, + {"2a0e:1b07::/32", "49436"}, + {"2001:67c:548::/48", "56513"}, + {"2402:3a80:1ee0::/43", "38266"}, + {"240a:aa88::/32", "145346"}, + {"2606:df80::/32", "64227"}, + {"2804:4ba0::/32", "267319"}, + {"2001:550:2403::/39", "174"}, + {"2001:579:d10c::/42", "22773"}, + {"240e:44d:5a80::/41", "4134"}, + {"2600:370f:5068::/40", "32261"}, + {"2605:c9c0::/32", "398371"}, + {"2a02:7a00:6::/48", "197895"}, + {"2001:250:2100::/48", "138381"}, + {"2001:67c:1ba8::/48", "49494"}, + {"240a:a2ce::/32", "143368"}, + {"2800:420::/30", "5639"}, + {"2804:510c::/33", "61594"}, + {"2a10:2f01:100::/48", "39753"}, + {"240a:a1be::/32", "143096"}, + {"240e:967:ec00::/35", "4134"}, + {"2a02:88d:401f::/48", "47794"}, + {"2a0d:3580::/35", "200303"}, + {"2804:1058::/32", "262988"}, + {"2a0c:7900::/29", "205052"}, + {"2001:559:490::/48", "7922"}, + {"2001:dcc:403::/48", "23599"}, + {"2600:9000:1030::/48", "16509"}, + {"2800:160:1928::/43", "14259"}, + {"2804:3d04::/32", "266248"}, + {"2001:559:7bc::/48", "7016"}, + {"2600:6c3b:42a::/40", "20115"}, + {"2606:6200::/35", "21570"}, + {"2804:1b1c:f000::/36", "61709"}, + {"2a02:26f7:c04c::/48", "36183"}, + {"2001:678:700::/48", "50464"}, + {"2804:ee8::/32", "262704"}, + {"2804:4778::/32", "267056"}, + {"2a03:c980:dead::/48", "210079"}, + {"2604:3400:ca01::/48", "29169"}, + {"2804:38bc::/32", "266498"}, + {"2a02:26f7:bc::/48", "36183"}, + {"2a04:4e40:3c10::/41", "54113"}, + {"2407:b4c0:12::/48", "142366"}, + {"2804:6ac::/32", "262601"}, + {"2804:5888::/32", "268130"}, + {"2404:a8:4094::/48", "24514"}, + {"2a02:7f0::/32", "42739"}, + {"2a0b:2d87::/32", "35048"}, + {"2a0e:b107:d0::/44", "207968"}, + {"240e:3be:6400::/35", "140312"}, + {"2600:b00::/28", "36728"}, + {"2603:f7b8::/29", "397165"}, + {"2607:f6f8:2000::/35", "30170"}, + {"2a02:928:16::/32", "34108"}, + {"2a02:26f0:5601::/39", "20940"}, + {"2a02:26f7:bd08::/48", "36183"}, + {"2a0a:9880::/29", "44974"}, + {"2001:559:c452::/48", "33662"}, + {"2001:4878:259::/48", "12222"}, + {"2401:d800:29b0::/41", "7552"}, + {"2801:80:240::/48", "262511"}, + {"2001:1248:9731::/45", "11172"}, + {"2402:e40::/32", "23943"}, + {"2600:100b:a010::/39", "6167"}, + {"2610:b0:4128::/43", "3573"}, + {"2804:9d4:173::/38", "262996"}, + {"2001:559:c39a::/48", "33667"}, + {"2803:a2e0::/32", "269921"}, + {"2804:33bc::/32", "265414"}, + {"2a03:40e0::/32", "196932"}, + {"2a0e:1bc5::/35", "208621"}, + {"2001:b08:21::/45", "3267"}, + {"2001:4048:108::/48", "47341"}, + {"2a0e:b107:1182::/48", "210925"}, + {"2001:678:650::/48", "49472"}, + {"2800:160:1812::/45", "14259"}, + {"2a02:2ad8:120::/33", "702"}, + {"2a07:85c2::/48", "174"}, + {"2001:559:23c::/48", "7015"}, + {"240a:ad05::/32", "145983"}, + {"2a00:edc0:6259::/48", "62597"}, + {"2a0a:4080::/32", "47493"}, + {"2001:559:82b2::/48", "7725"}, + {"240a:aa97::/32", "145361"}, + {"2604:d800:1002::/32", "20355"}, + {"2001:67c:27b8::/48", "42428"}, + {"240e:982:b100::/40", "136190"}, + {"2607:fad0:40::/44", "53824"}, + {"2a03:1e40::/32", "197799"}, + {"2402:800:5963::/43", "7552"}, + {"2a01:bb20:3000::/32", "61969"}, + {"2a0c:e080::/44", "51095"}, + {"2607:f7c0:4100::/32", "36444"}, + {"2800:bf0:146::/44", "52257"}, + {"2804:7a80::/32", "271375"}, + {"2a00:5c20::/32", "199298"}, + {"2803:7ce0::/32", "23140"}, + {"2a02:2010:2300::/45", "20978"}, + {"2402:8100:27ea::/45", "55644"}, + {"2a03:5640:f560::/48", "16509"}, + {"2a0f:5701:3527::/32", "206499"}, + {"2c0f:f330::/32", "327950"}, + {"2408:840c:6e00::/40", "17621"}, + {"2606:2800:5033::/48", "15133"}, + {"2804:43c0::/32", "267588"}, + {"2804:5d14:800::/38", "268949"}, + {"2800:1e0:d02::/38", "7195"}, + {"2001:648:2c00::/48", "6867"}, + {"2001:7c0::/34", "553"}, + {"2001:19f0:a800::/35", "20473"}, + {"240e:108:4f::/42", "4134"}, + {"2600:1416:2001::/35", "20940"}, + {"2a02:26f7:eb8d::/42", "20940"}, + {"2001:67c:1124::/48", "60973"}, + {"2001:df3:b980::/48", "17538"}, + {"2407:e740:2::/39", "59239"}, + {"240a:ae39::/32", "146291"}, + {"2806:230:6018::/48", "265594"}, + {"2a00:8b00::/32", "35154"}, + {"2a01:4dc0::/42", "206618"}, + {"2402:8100:27e0::/47", "45271"}, + {"2804:3964::/32", "266028"}, + {"2804:3d34::/32", "266260"}, + {"2804:6b44::/32", "270389"}, + {"2a03:efc0:ba5e::/48", "33438"}, + {"2001:67c:1be0::/48", "210317"}, + {"2a03:af60::/32", "25513"}, + {"2a10:ca00:1::/48", "212217"}, + {"2408:84f3:3060::/40", "17623"}, + {"2409:8752:700::/36", "56047"}, + {"2803:6900:1531::/48", "52423"}, + {"2806:266:300::/41", "27672"}, + {"2804:56c:1200::/34", "28210"}, + {"2804:16d8:800::/38", "262729"}, + {"2001:559:36a::/48", "33490"}, + {"2001:978:8e00::/48", "197205"}, + {"240a:a6b2::/32", "144364"}, + {"2600:1407:3c01::/33", "20940"}, + {"2605:32c0:a001::/48", "14618"}, + {"2a02:cb80:2a40::/48", "43766"}, + {"2804:e24:fe40::/40", "262417"}, + {"2a02:26f7:d104::/48", "36183"}, + {"240a:a65a::/32", "144276"}, + {"2a05:27c0::/46", "210021"}, + {"2604:34c0::/32", "25780"}, + {"2806:230:1028::/48", "265594"}, + {"2806:230:4008::/48", "265594"}, + {"2a02:26f7:b90c::/48", "36183"}, + {"2401:d800:dce2::/39", "7552"}, + {"2405:6e00:2088::/45", "18291"}, + {"2407:5280:200::/45", "133557"}, + {"2804:1e84::/32", "264433"}, + {"2806:230:300b::/48", "11888"}, + {"2403:9800:7100::/37", "4771"}, + {"240e:967:d400::/39", "58772"}, + {"2804:6408::/32", "269399"}, + {"2001:559:8274::/48", "33660"}, + {"2409:8053:3802::/40", "56047"}, + {"2600:140f:4601::/36", "20940"}, + {"2602:fff8::/36", "13866"}, + {"2804:3ea0::/32", "266610"}, + {"2a01:47c1::/32", "41075"}, + {"2a02:d8a0::/32", "43709"}, + {"2a04:da00::/29", "60140"}, + {"240a:ac48::/32", "145794"}, + {"240e:108:11b2::/47", "58461"}, + {"240e:397:1e00::/34", "140495"}, + {"2804:6258::/32", "269291"}, + {"2001:559:65::/48", "33657"}, + {"2409:8958:ca54::/39", "56040"}, + {"2804:b0c::/32", "52935"}, + {"2804:30b0::/32", "264969"}, + {"2804:7e50::/32", "271616"}, + {"2a04:4e47::/46", "54113"}, + {"2a0d:c740:1c::/48", "49367"}, + {"2400:cb00:a8f0::/47", "13335"}, + {"240a:aa17::/32", "145233"}, + {"2620:c7:c000::/48", "394128"}, + {"2a00:11c0:dd::/48", "42473"}, + {"2a04:5740::/29", "43857"}, + {"2a06:a001:a060::/44", "210542"}, + {"2001:67c:244c::/48", "39293"}, + {"2403:0:607::/48", "38191"}, + {"2800:160:2042::/45", "14259"}, + {"2408:8456:5400::/42", "17622"}, + {"2001:559:8256::/48", "33651"}, + {"2406:2000:ec::/46", "24506"}, + {"2409:8087:6a37::/41", "9808"}, + {"240a:ae20::/32", "146266"}, + {"2603:c002:1a10::/42", "31898"}, + {"2804:131c::/32", "263516"}, + {"2a00:1228::/47", "31148"}, + {"2a04:f80::/29", "42858"}, + {"2001:4830:c150::/44", "22147"}, + {"2401:b8c0:b::/45", "64074"}, + {"2a02:26f7:ddc0::/48", "36183"}, + {"2a02:26f7:e744::/48", "36183"}, + {"2409:8c28:6093::/39", "56041"}, + {"2001:57a:f213::/40", "22773"}, + {"2409:895c::/26", "9808"}, + {"2606:8b40::/32", "21748"}, + {"2a02:26f7:e510::/48", "36183"}, + {"2600:6c38:73c::/41", "20115"}, + {"2804:14c:de43::/40", "28573"}, + {"2a00:d30:120::/45", "47201"}, + {"2a02:26f7:f080::/48", "36183"}, + {"2001:559:8497::/48", "7015"}, + {"2602:fcf6:ffb::/48", "210930"}, + {"2800:bf0:824b::/48", "52257"}, + {"2804:318c:2020::/32", "265023"}, + {"2806:2f0:20a3::/43", "22884"}, + {"2a01:190:15ee::/48", "28839"}, + {"2a02:2ae8::/39", "702"}, + {"2001:1248:98a7::/44", "11172"}, + {"240a:a4d0::/32", "143882"}, + {"2602:fc26:cd::/48", "213339"}, + {"2001:67c:2610::/48", "197964"}, + {"2804:7f7:a000::/35", "10429"}, + {"2a02:26f7:d400::/48", "36183"}, + {"2405:a040::/32", "131667"}, + {"2803:2ee0:3842::/32", "269983"}, + {"2803:f7e0:1040::/48", "271773"}, + {"2a00:1288:114::/40", "10310"}, + {"2a02:26f7:113::/45", "20940"}, + {"2408:8256:3292::/44", "17623"}, + {"240a:a539::/32", "143987"}, + {"2600:1406:f001::/37", "20940"}, + {"2602:fed2:fc3::/44", "53356"}, + {"2606:f300:2::/47", "14135"}, + {"2a01:288:4008::/48", "198941"}, + {"2a07:3b80:3::/48", "60781"}, + {"2001:559:c100::/48", "33659"}, + {"2400:7400::/44", "38044"}, + {"2401:1801:140::/36", "58683"}, + {"2602:fbe7::/40", "398898"}, + {"2605:9500::/45", "14244"}, + {"2a02:88d:22f::/48", "47794"}, + {"2a02:2ad0:633::/44", "702"}, + {"2a0f:9400:6225::/48", "48741"}, + {"2001:559:52f::/43", "33287"}, + {"2001:67c:24e8::/47", "47749"}, + {"240a:a773::/32", "144557"}, + {"240a:a8c4::/32", "144894"}, + {"2607:ffd8:214::/36", "33333"}, + {"2a01:8840:f1::/48", "207266"}, + {"2a09:2dc2::/32", "43180"}, + {"2001:559:79b::/48", "7922"}, + {"2408:840d:ab00::/42", "17621"}, + {"240a:a9b0::/32", "145130"}, + {"2001:678:c98::/48", "48025"}, + {"2001:67c:2ab4::/48", "3301"}, + {"2001:1840:c020::/44", "196"}, + {"2600:6c38:72b::/45", "20115"}, + {"2606:2800:6050::/48", "15133"}, + {"2804:14d:ce00::/40", "28573"}, + {"2804:2444::/32", "264211"}, + {"2a01:7d20:c00::/40", "203645"}, + {"2a0a:7a00::/29", "61317"}, + {"2600:9000:1083::/45", "16509"}, + {"2804:5d00::/32", "268945"}, + {"2a02:26f7:d740::/48", "36183"}, + {"2620:111:d002::/47", "18841"}, + {"2804:954:2000::/32", "263073"}, + {"2406:840:400::/48", "139317"}, + {"2409:8904:7e40::/39", "24547"}, + {"2803:6900:200::/48", "52423"}, + {"2804:10c0::/32", "263647"}, + {"2a04:a100::/29", "62183"}, + {"2a0b:e41:1::/46", "205809"}, + {"2001:559:769::/48", "33491"}, + {"2001:df3:8f80::/48", "140603"}, + {"2804:18:1860::/40", "26599"}, + {"2001:559:860b::/48", "7725"}, + {"2404:3d00:40a8::/45", "3573"}, + {"240e:13:807::/48", "140859"}, + {"2607:ff00:700::/40", "19181"}, + {"2800:110:3401::/36", "4270"}, + {"2806:230:4003::/48", "11888"}, + {"2a02:ee80:4074::/46", "3573"}, + {"2a0b:1d80::/29", "202694"}, + {"2001:44b8:9::/45", "4739"}, + {"2408:8956:2f00::/40", "17816"}, + {"240a:a0df::/32", "142873"}, + {"240e:109:8044::/48", "134768"}, + {"2600:6c38:b65::/43", "20115"}, + {"2607:4600::/32", "33339"}, + {"2607:f180:7300::/31", "35908"}, + {"2607:f6b8::/32", "4043"}, + {"2620:0:f00::/47", "6431"}, + {"2804:82f8::/32", "272168"}, + {"2a04:6c0::/29", "9067"}, + {"2001:559:479::/46", "7922"}, + {"2001:559:c0f9::/48", "7016"}, + {"2001:6d9::/29", "8323"}, + {"240a:a1c9::/32", "143107"}, + {"2804:368::/32", "22381"}, + {"2804:213c::/46", "264544"}, + {"2a0b:2d40:c10b::/34", "209135"}, + {"2001:bc8:2000::/32", "12876"}, + {"2804:1e64::/32", "264426"}, + {"2a02:26f7:bf00::/48", "36183"}, + {"2001:559:297::/48", "33660"}, + {"2402:3a80:1738::/48", "38266"}, + {"2408:84f3:a640::/36", "17816"}, + {"2610:a1:302c::/48", "12008"}, + {"2801:80:200::/48", "52997"}, + {"2804:20f8::/35", "264524"}, + {"2804:8648::/32", "272633"}, + {"2a03:bc00::/32", "29086"}, + {"2001:559:825c::/48", "33659"}, + {"2001:579:9260::/44", "22773"}, + {"2001:df7:6d80::/48", "139484"}, + {"2405:84c0:fa00::/40", "9886"}, + {"2610:b8::/32", "19021"}, + {"2a0d:7100::/45", "41033"}, + {"2409:802f:2a05::/48", "9808"}, + {"2001:559:83cd::/48", "33651"}, + {"2001:5e0:21::/46", "16713"}, + {"2400:adc1::/30", "9541"}, + {"2402:ef1b:2100::/40", "7633"}, + {"2409:806b:5d00::/29", "9808"}, + {"2600:100c:b280::/33", "22394"}, + {"2001:559:c383::/45", "7922"}, + {"2001:738:4::/48", "12303"}, + {"2406:840:fbb0::/48", "139058"}, + {"2800:160:1032::/41", "14259"}, + {"2804:2f40:a000::/33", "264880"}, + {"2001:559:3e3::/45", "33662"}, + {"2001:559:813d::/46", "33491"}, + {"2001:1248:84c5::/43", "11172"}, + {"2600:1406:8000::/48", "35994"}, + {"2620:1d5:9::/45", "14773"}, + {"2800:590:206d::/36", "7004"}, + {"2804:2ebc:200a::/32", "265363"}, + {"2001:df3:a800::/48", "133408"}, + {"2407:6380::/32", "131713"}, + {"2604:d600:15d2::/44", "32098"}, + {"2806:230:fffa::/45", "11888"}, + {"2408:840c:1300::/40", "17621"}, + {"240a:aee1::/32", "146459"}, + {"240e:67e:8c00::/33", "4134"}, + {"2a02:26f7:ca81::/46", "20940"}, + {"2401:4900:3760::/44", "45609"}, + {"2804:3840::/32", "266465"}, + {"2001:1248:4300::/44", "11172"}, + {"240e:f:c800::/37", "4835"}, + {"2600:370f:34e5::/44", "32261"}, + {"2602:fed2:7115::/46", "53356"}, + {"2a0f:5707:17::/48", "212592"}, + {"2a0f:9340:32::/47", "1299"}, + {"2a10:8700::/32", "207925"}, + {"2408:8406:3000::/39", "4808"}, + {"240a:aa05::/32", "145215"}, + {"2804:18:7000::/42", "26599"}, + {"2804:4760:c002::/34", "267050"}, + {"2001:67c:299c::/48", "56813"}, + {"2409:4003:3000::/27", "55836"}, + {"2803:1860:1200::/36", "267823"}, + {"2803:f200::/32", "52322"}, + {"2602:fdb3::/36", "397945"}, + {"2604:6600:2::/45", "40676"}, + {"2606:380::/32", "40545"}, + {"2803:af00::/32", "52453"}, + {"2a02:26f7:cb04::/48", "36183"}, + {"2a10:45c0::/32", "212808"}, + {"2409:8055:19::/45", "56040"}, + {"2800:bf0:a000::/44", "52257"}, + {"2a02:26f7:c488::/48", "36183"}, + {"2a12:7c00::/30", "210625"}, + {"2402:ef21:8000::/35", "7633"}, + {"240a:a38e::/32", "143560"}, + {"2600:1003:f850::/29", "22394"}, + {"2603:c0f8:1410::/39", "20054"}, + {"2a05:62c0::/29", "48360"}, + {"2402:b5c0::/32", "137553"}, + {"2602:802::/40", "397843"}, + {"2605:8300:d::/46", "33059"}, + {"2620:25:6000::/48", "15296"}, + {"2a02:26f7:dbc9::/46", "20940"}, + {"2a09:bfc0::/29", "44103"}, + {"2405:84c0:ff19::/48", "9886"}, + {"2a02:c744::/30", "199644"}, + {"2a0e:b107:af0::/44", "50798"}, + {"2001:2045::/27", "1299"}, + {"2404:bf40:8481::/42", "139084"}, + {"2605:7580::/32", "40107"}, + {"2804:204:313::/45", "28186"}, + {"2804:2fc0::/33", "264910"}, + {"2804:7bc4::/32", "271453"}, + {"2806:230:2002::/48", "265594"}, + {"2001:44b8:6068::/48", "7545"}, + {"2401:1700::/44", "55666"}, + {"2600:140f:cc01::/38", "20940"}, + {"2804:23b4::/32", "264178"}, + {"2804:5948::/32", "268181"}, + {"2a04:4e40:3e30::/41", "54113"}, + {"2a05:6200:73::/48", "201630"}, + {"2c0f:eea0::/32", "37288"}, + {"2001:559:c3d5::/48", "33650"}, + {"2001:df1:9180::/48", "139689"}, + {"2606:1540::/35", "398704"}, + {"2804:64d4::/32", "269452"}, + {"2806:230:4021::/48", "11888"}, + {"2001:559:8070::/47", "33490"}, + {"2001:559:c3ea::/48", "33657"}, + {"2001:67c:232c::/48", "207160"}, + {"2001:12e0:b000::/33", "10429"}, + {"2001:4998:15c::/48", "36752"}, + {"2406:daa0:8020::/44", "16509"}, + {"2602:fed2:7188::/48", "396881"}, + {"2804:1b9c::/32", "61737"}, + {"2a0d:6780::/29", "200899"}, + {"2001:67c:24e0::/48", "198141"}, + {"240a:aa98::/32", "145362"}, + {"2607:de00:3b::/38", "23498"}, + {"2804:35c0::/32", "266304"}, + {"2001:678:1d4::/48", "64449"}, + {"2606:8e80:4000::/48", "32133"}, + {"2a02:78::/32", "44514"}, + {"2a0b:1b82::/31", "206521"}, + {"2400:c700:11::/40", "55644"}, + {"2402:7b00:3::/48", "55843"}, + {"2620:10b:7000::/46", "11483"}, + {"2804:72a4::/32", "270866"}, + {"2a06:3380::/29", "12941"}, + {"2a0e:b107:eb1::/48", "212120"}, + {"2001:4430:c000::/42", "17853"}, + {"2409:8054:51::/46", "56040"}, + {"2602:ff16:1::/44", "29802"}, + {"2803:6c20::/32", "265830"}, + {"2a09:5140::/48", "34775"}, + {"2001:559:8096::/47", "22909"}, + {"2402:800:3871::/44", "7552"}, + {"2409:8c1e:5b80::/34", "9808"}, + {"2001:559:c2e9::/48", "33650"}, + {"2400:e940::/32", "136463"}, + {"240e:964:1800::/37", "133774"}, + {"2a02:26f7:f949::/46", "20940"}, + {"2a05:3e80::/29", "201211"}, + {"2405:ef00::/43", "58779"}, + {"2620:120:8000::/44", "393990"}, + {"2804:2984:780::/32", "53184"}, + {"2a0f:c087:e::/48", "212521"}, + {"240a:a8b5::/32", "144879"}, + {"240a:a9d2::/32", "145164"}, + {"2607:5500::/31", "54290"}, + {"2620:102:b001::/48", "7195"}, + {"2801:1fc:10::/48", "27951"}, + {"2804:14c:5584::/41", "28573"}, + {"2804:22cc::/37", "264123"}, + {"2a0c:7e45:d430::/48", "20473"}, + {"2001:dce:9400::/48", "45285"}, + {"2001:454e:c011::/34", "9924"}, + {"2409:8520::/27", "9808"}, + {"240a:ae5b::/32", "146325"}, + {"2001:559:825a::/48", "7725"}, + {"2607:f8b0::/33", "15169"}, + {"2a00:b6e0::/32", "60362"}, + {"2a0f:74c0::/29", "207572"}, + {"2620:e1:c000::/48", "56647"}, + {"2804:5b38::/32", "52842"}, + {"2806:332::/37", "265578"}, + {"2a00:1f28::/32", "43733"}, + {"2a04:2b87::/32", "47602"}, + {"2620:ed:4000::/48", "852"}, + {"2a09:900::/46", "15576"}, + {"2001:df2:9980::/48", "139889"}, + {"2402:a600::/32", "17996"}, + {"2600:1008:b1f0::/33", "22394"}, + {"2600:9c00::/32", "7979"}, + {"2804:21dc::/32", "264578"}, + {"2804:6934::/32", "270255"}, + {"2001:559:325::/48", "7725"}, + {"2001:df7:5280::/48", "138754"}, + {"2605:32c0:a004::/33", "5670"}, + {"2605:a404:c74::/40", "33363"}, + {"2806:230:5003::/48", "11888"}, + {"2405:1e00:ff00::/48", "9498"}, + {"2804:5024::/32", "262826"}, + {"240e:5e:10e0::/44", "140053"}, + {"2a0d:63c1::/32", "30721"}, + {"2001:1278:10::/32", "18734"}, + {"2401:d800:2b30::/41", "7552"}, + {"2405:1480:1000::/48", "4811"}, + {"2602:fed2:7314::/48", "53356"}, + {"2604:3b80:2833::/32", "31857"}, + {"2a01:b740:a22::/48", "6185"}, + {"2a03:f700::/32", "5563"}, + {"2409:8052:2000::/47", "56047"}, + {"2402:800:9b01::/44", "7552"}, + {"2600:1407:801::/38", "20940"}, + {"2001:67c:934::/48", "31662"}, + {"2403:9800:30::/39", "4648"}, + {"2409:8c3d::/25", "9808"}, + {"2804:518c::/32", "268459"}, + {"2a02:ee80:40d4::/46", "21433"}, + {"2408:8456:d040::/36", "17816"}, + {"2600:1014:9110::/36", "22394"}, + {"2600:1408:ac01::/38", "20940"}, + {"2804:2d78::/32", "265285"}, + {"2a02:2ae8:150::/32", "702"}, + {"2a0b:3080:8020::/33", "206516"}, + {"2001:559:c101::/46", "13367"}, + {"2404:59c0:4000::/32", "58507"}, + {"2804:5454::/32", "268643"}, + {"2404:bf40:f202::/40", "139084"}, + {"2600:1415:15::/48", "24319"}, + {"2a03:58a0::/32", "201330"}, + {"2001:1900:2285::/46", "3356"}, + {"2401:d800:f110::/42", "7552"}, + {"240a:a0dc::/32", "142870"}, + {"240a:a23e::/32", "143224"}, + {"240a:aab1::/32", "145387"}, + {"2600:140f:bc00::/48", "9498"}, + {"2605:a401:8ebc::/41", "33363"}, + {"2804:14d:ec00::/40", "28573"}, + {"2804:3298::/32", "265087"}, + {"2a02:26f7:59::/48", "20940"}, + {"2a02:2b80::/47", "45012"}, + {"2a0f:8ac1:a0a::/48", "205749"}, + {"2001:559:31b::/48", "7922"}, + {"240e:640:cf00::/34", "4134"}, + {"2a02:ee80:40c2::/43", "3573"}, + {"2a04:95c0::/29", "29611"}, + {"240a:aa58::/32", "145298"}, + {"240e:ff:c00b::/36", "4134"}, + {"2804:970:8000::/33", "263086"}, + {"2806:230:3018::/48", "265594"}, + {"2a04:34c0::/29", "47156"}, + {"2a10:cc42:1dba::/45", "20473"}, + {"2a11:90c0::/29", "204790"}, + {"2001:1388:4446::/36", "6147"}, + {"2404:5cc0::/32", "142122"}, + {"240a:aa6e::/32", "145320"}, + {"2804:204:235::/46", "28186"}, + {"2a02:26f7:dac9::/42", "20940"}, + {"2a0c:6c40:a4ef::/48", "20705"}, + {"2001:67c:18c::/48", "47682"}, + {"2001:df0:c200::/48", "131182"}, + {"2600:100d:fe10::/40", "22394"}, + {"2603:c002:8150::/38", "31898"}, + {"2a05:b8c0::/29", "203815"}, + {"2407:c940::/35", "48024"}, + {"2409:801e::/34", "24400"}, + {"2600:1001:b030::/40", "22394"}, + {"2804:76bc::/32", "271131"}, + {"2a00:f5c0::/32", "41369"}, + {"2a06:7f80::/29", "204035"}, + {"2001:559:87db::/48", "7015"}, + {"2001:1248:97b0::/44", "11172"}, + {"2401:3bc0:1014::/32", "137409"}, + {"2620:139:6006::/48", "22600"}, + {"2804:2744::/32", "263888"}, + {"2804:84cc::/34", "272541"}, + {"2a0e:3a87:ff00::/40", "208741"}, + {"2001:559:237::/48", "33661"}, + {"2400:a980:8ff::/48", "133111"}, + {"2409:8057:3807::/44", "56040"}, + {"2600:6c10:f069::/46", "20115"}, + {"2800:160:113d::/41", "14259"}, + {"2804:74a8:200::/32", "270995"}, + {"2a02:26f0:1e::/42", "20940"}, + {"2a02:26f0:a800::/48", "34164"}, + {"2a0c:b641:530::/44", "210597"}, + {"2a0e:2800::/29", "63023"}, + {"2001:500:53::/45", "12041"}, + {"2401:c900:1f00::/34", "36351"}, + {"2a02:26f7:b3c0::/48", "36183"}, + {"2a0f:9400:770a::/48", "211481"}, + {"2404:f4c0:f608::/41", "139328"}, + {"2a0c:5247:3000::/36", "59504"}, + {"2a0f:1201::/32", "62240"}, + {"2602:fdfa::/36", "397332"}, + {"2803:2a00:2000::/35", "27895"}, + {"2803:6580::/32", "265839"}, + {"2804:2198::/32", "52807"}, + {"2001:559:834f::/48", "33287"}, + {"2403:f880:6000::/39", "33438"}, + {"2604:6640::/32", "3131"}, + {"2620:13b:3000::/48", "13607"}, + {"2620:15c::/36", "45566"}, + {"2001:559:7ac::/48", "33491"}, + {"2001:559:c321::/48", "7922"}, + {"240a:c000::/21", "137726"}, + {"2600:1488:6161::/40", "20940"}, + {"2408:8956:5f00::/40", "17816"}, + {"2607:f6f0:5004::/40", "27224"}, + {"2804:25e4:301::/37", "61573"}, + {"2806:10a0:cbff:100::/34", "8151"}, + {"2401:d800:d650::/42", "7552"}, + {"2402:800:568d::/43", "7552"}, + {"240a:a3a2::/32", "143580"}, + {"2803:5ce0:300::/40", "54235"}, + {"240a:a805::/32", "144703"}, + {"2804:18a0::/32", "61944"}, + {"2804:72ac::/32", "270868"}, + {"2a01:5041:e::/48", "202196"}, + {"2a02:4de0::/32", "31590"}, + {"2a03:3f40:8a::/32", "50673"}, + {"2a0f:3101::/32", "62240"}, + {"2405:6e00:2200::/43", "133612"}, + {"2408:84f3:b440::/38", "17816"}, + {"2620:94:e000::/48", "398915"}, + {"2a0e:97c0:5ee::/47", "210426"}, + {"2001:1248:5f3f::/41", "11172"}, + {"2600:1404:d001::/37", "20940"}, + {"2607:fb90:1000::/36", "21928"}, + {"2804:964::/34", "263080"}, + {"2a06:3000:1000::/36", "209220"}, + {"2001:da8:260::/47", "23910"}, + {"2409:8a04:6100::/36", "24547"}, + {"240b:4003:12b::/45", "45102"}, + {"2803:4480:8000::/33", "263189"}, + {"2804:ec0::/32", "262972"}, + {"2806:2f0:2443::/43", "22884"}, + {"2400:4e80:7a00::/32", "131584"}, + {"2a0f:e6c0:fe1::/48", "60781"}, + {"2405:d000:7000::/36", "17660"}, + {"2803:5ac0::/32", "265633"}, + {"2a02:26f7:c89d::/42", "20940"}, + {"2404:138:130::/46", "45131"}, + {"240e:982:1200::/34", "4134"}, + {"2600:6c38:20::/45", "20115"}, + {"2607:fc48:f004::/48", "40009"}, + {"2402:79c0:3::/48", "7342"}, + {"2602:fbbe::/40", "40676"}, + {"2800:485:1c00::/40", "10620"}, + {"2604:6400:8100::/33", "29974"}, + {"2604:d600:131e::/42", "32098"}, + {"2804:6bd4::/32", "270428"}, + {"2a10:d000::/43", "35506"}, + {"2408:80ea:7700::/41", "17816"}, + {"2408:8459:4a30::/41", "17622"}, + {"2409:8d6b::/27", "9808"}, + {"240e:3bb::/35", "134773"}, + {"2600:140f:3c00::/48", "9498"}, + {"2604:6d00:1000::/48", "36223"}, + {"2a02:26f7:e3cc::/48", "36183"}, + {"2a0c:f00::/107", "56485"}, + {"2409:8904:5840::/42", "24547"}, + {"240e:45c:c100::/40", "140536"}, + {"2a06:19c0::/29", "8309"}, + {"2001:559:c2c4::/47", "7016"}, + {"2403:6380:16::/47", "212237"}, + {"2602:fc95::/36", "399499"}, + {"2606:6680:245::/48", "40676"}, + {"2620:149:538::/41", "714"}, + {"2801:80:ec0::/48", "264102"}, + {"2804:14d:1488::/47", "28573"}, + {"2001:1388:70c6::/37", "6147"}, + {"2403:9800:b050::/45", "4771"}, + {"2405:1c0:6241::/46", "55303"}, + {"2409:896a:6900::/38", "9808"}, + {"240a:a8ca::/32", "144900"}, + {"2a00:b580::/32", "16188"}, + {"2a0e:fd45:2a0e::/40", "213253"}, + {"2402:8100:39d0::/42", "45271"}, + {"240e:1f:1000::/33", "4134"}, + {"2804:18a8::/32", "262502"}, + {"2a02:870::/32", "42863"}, + {"2a02:26f0:8200::/48", "34164"}, + {"2a02:26f7:c38b::/48", "20940"}, + {"2a09:4c0:c01::/39", "58057"}, + {"2804:4854::/32", "267114"}, + {"2001:678:b68::/48", "35684"}, + {"2001:c20:c857::/34", "3758"}, + {"2620:106:c005::/48", "11039"}, + {"2804:1754::/48", "263137"}, + {"2804:39e8::/34", "266058"}, + {"2a0d:c500::/29", "204888"}, + {"2001:4878:2037::/44", "12222"}, + {"2408:8459:e610::/42", "17623"}, + {"2620:6b:2000::/48", "397382"}, + {"2620:13b:3020::/48", "13607"}, + {"2001:470:bb::/48", "36324"}, + {"2001:559:25c::/47", "7922"}, + {"2001:559:5cf::/48", "7015"}, + {"2001:4878:8031::/48", "12222"}, + {"2600:1000:bf00::/44", "6167"}, + {"2600:140b:c01::/38", "20940"}, + {"2600:1f1e::/36", "16509"}, + {"2607:f238::/32", "11799"}, + {"2800:160:11cf::/43", "14259"}, + {"2a02:a90::/32", "3303"}, + {"2a02:26f7:e38d::/42", "20940"}, + {"240a:adb6::/32", "146160"}, + {"2606:2800:157::/44", "15133"}, + {"2607:9080:6::/48", "7018"}, + {"2803:59e0::/32", "270021"}, + {"2806:268:2300::/47", "13999"}, + {"2a00:16f8:10::/48", "397942"}, + {"2a02:26f0:6c01::/39", "20940"}, + {"2602:feda:182::/47", "211843"}, + {"2610:18:8801::/48", "17035"}, + {"2620:74:57::/42", "7342"}, + {"2804:2cac:cccd::/35", "265234"}, + {"2a01:c50f:cb40::/40", "12479"}, + {"2a0c:9a40:1050::/47", "34927"}, + {"2001:559:524::/48", "7015"}, + {"2405:1c0:6661::/45", "55303"}, + {"2407:11c0::/32", "139879"}, + {"240a:afd1::/32", "146699"}, + {"2804:62f0:e102::/35", "269329"}, + {"2a02:57e0::/32", "59779"}, + {"2a07:e80::/29", "203329"}, + {"2a07:a8c0::/33", "34939"}, + {"2001:df1:b900::/48", "132563"}, + {"2a03:ea40::/32", "197985"}, + {"2001:559:64::/48", "7725"}, + {"2001:559:787::/48", "22909"}, + {"2001:559:80e5::/48", "7725"}, + {"2001:678:56c::/48", "41887"}, + {"2409:8020:1031::/41", "56046"}, + {"2803:4160::/32", "269726"}, + {"2401:d800:d620::/41", "7552"}, + {"2604:980:7004::/47", "21859"}, + {"2804:1ab0::/32", "61876"}, + {"2804:2f1c:a300::/33", "264872"}, + {"2804:47cc::/32", "267077"}, + {"2a02:26f0:8b01::/37", "20940"}, + {"2a02:26f7:dc80::/48", "36183"}, + {"2001:668:120::/48", "17035"}, + {"2804:314::/44", "61568"}, + {"2804:5680::/32", "268004"}, + {"2804:8414::/32", "272238"}, + {"2806:33b::/32", "265586"}, + {"2001:559:471::/48", "7725"}, + {"2001:559:85c4::/46", "7922"}, + {"2001:df0:31a::/45", "140592"}, + {"2402:b040:fde9::/48", "137132"}, + {"2602:feda:1e0::/44", "140926"}, + {"2a01:ce84::/36", "51964"}, + {"2401:d800:7480::/42", "7552"}, + {"2407:ef00:930::/48", "2687"}, + {"240a:aa55::/32", "145295"}, + {"2600:370f:51b2::/44", "32261"}, + {"2607:fdf0:5e9f::/42", "8008"}, + {"2804:143c::/32", "263320"}, + {"2a04:23c0::/29", "200851"}, + {"2a0e:b107:9f7::/48", "210337"}, + {"2001:559:c4ee::/47", "7015"}, + {"2401:4900:4b30::/44", "45609"}, + {"2404:a800:1611::/34", "9498"}, + {"2408:8948::/32", "4837"}, + {"240e:950:c00::/38", "141157"}, + {"2603:c002:9f00::/43", "31898"}, + {"2a01:b2e0::/29", "60781"}, + {"2409:806b:5b00::/37", "9808"}, + {"2a02:2e02:1300::/41", "12479"}, + {"2001:678:64::/48", "199670"}, + {"2001:1460::/32", "48635"}, + {"2405:e700:400::/40", "133089"}, + {"2406:8800:9011::/46", "17465"}, + {"240e:d6:1000::/36", "140330"}, + {"2804:624c::/32", "53106"}, + {"2001:559:313::/48", "33662"}, + {"2001:678:d78::/48", "8298"}, + {"240a:a674::/32", "144302"}, + {"2610:b0:40fa::/45", "3573"}, + {"2a02:2340::/32", "51319"}, + {"2a02:2e02:a90::/39", "12479"}, + {"2a12:49c2:4000::/31", "211444"}, + {"2001:579:244c::/42", "22773"}, + {"2402:ee80::/48", "132647"}, + {"240e:698:2500::/40", "134756"}, + {"2a02:26f7:f6ec::/47", "36183"}, + {"2c0f:fbe0::/28", "36874"}, + {"240e:44d:7880::/41", "4134"}, + {"2605:5080:5021::/43", "3367"}, + {"2606:8640::/32", "400170"}, + {"2804:682c::/32", "269673"}, + {"2001:678:78c::/48", "12360"}, + {"2001:678:8f8::/48", "206884"}, + {"240a:afb0::/32", "146666"}, + {"2a10:fa80:56::/44", "57050"}, + {"2001:559:8122::/48", "13367"}, + {"2600:370f:40a0::/47", "32261"}, + {"2806:230:600f::/48", "11888"}, + {"2a02:f0a0::/30", "25376"}, + {"2001:559:214::/48", "33657"}, + {"2001:559:830a::/48", "13367"}, + {"2001:67c:7f8::/48", "21221"}, + {"2001:1248:96b0::/45", "11172"}, + {"2001:559:860a::/48", "33659"}, + {"2403:6c0:7367::/48", "137367"}, + {"2600:6c38:a90::/45", "20115"}, + {"2804:6aa8::/32", "270351"}, + {"2a0f:5707:aa14::/46", "208814"}, + {"2001:559:61::/48", "7015"}, + {"2001:da8:23d::/48", "24348"}, + {"2801:96:fff7::/48", "28586"}, + {"2a0f:57c0::/32", "199536"}, + {"2001:dce:7401::/38", "23869"}, + {"2408:8456:7000::/42", "17622"}, + {"240a:a4ed::/32", "143911"}, + {"2600:1419:601::/36", "20940"}, + {"2602:fe9e::/36", "395434"}, + {"2804:3654::/32", "266342"}, + {"2804:61dc:5000::/34", "269261"}, + {"2a10:2080::/29", "207551"}, + {"2001:578:b::/45", "22773"}, + {"2001:ce0:8::/48", "7651"}, + {"2806:2f0:3521::/46", "17072"}, + {"240a:ad56::/32", "146064"}, + {"2803:1d80::/32", "61481"}, + {"2804:37f0:3100::/36", "266445"}, + {"2a02:158:fffe::/48", "44946"}, + {"2001:559:394::/48", "33651"}, + {"2806:288:4092::/48", "28469"}, + {"2a0b:2a86::/32", "21769"}, + {"2a0e:1c40:4000::/48", "208635"}, + {"2600:1417:20::/48", "9498"}, + {"2620:10f:b071::/48", "395700"}, + {"2803:f340:1100::/36", "14754"}, + {"2001:1248:986a::/45", "11172"}, + {"2001:4408:5601::/36", "4758"}, + {"240e:3bb:f100::/37", "134775"}, + {"2602:107:810::/48", "11955"}, + {"2607:8e80::/32", "395479"}, + {"2620:79:5::/44", "30013"}, + {"2a02:ed03::/32", "61292"}, + {"2001:559:5c8::/48", "33668"}, + {"2604:9d80::/43", "395172"}, + {"2604:b400::/32", "11979"}, + {"2604:d040::/32", "396879"}, + {"2804:4d3c::/36", "267420"}, + {"2001:559:8507::/48", "33651"}, + {"2408:8956:f200::/42", "17816"}, + {"240e:6b8::/34", "140308"}, + {"2a04:ba80::/29", "202217"}, + {"240a:a5d5::/32", "144143"}, + {"2a0a:7dc0::/29", "57656"}, + {"2405:4803:d0a::/43", "18403"}, + {"2a09:bac0:133::/48", "395747"}, + {"2001:559:c163::/48", "7015"}, + {"2409:807e:3100::/36", "9808"}, + {"240a:a7f9::/32", "144691"}, + {"2600:40ff:fffc::/46", "701"}, + {"2800:bf0:81c9::/45", "52257"}, + {"2a0d:2580:ff00::/48", "20473"}, + {"2a10:4646:60::/44", "212106"}, + {"2001:da8:218::/47", "24349"}, + {"2409:8004:2900::/35", "24547"}, + {"2804:4748::/32", "267043"}, + {"2401:d800:53f0::/37", "7552"}, + {"2605:a401:8089::/42", "33363"}, + {"2610:20:9008::/45", "3477"}, + {"2404:6300::/35", "131310"}, + {"2405:84c0:ff25::/48", "9516"}, + {"2600:1417:c001::/36", "20940"}, + {"2001:678:820::/48", "213297"}, + {"2607:f178::/48", "30217"}, + {"2804:6e38::/32", "270583"}, + {"2a09:1c40::/32", "209553"}, + {"2a0f:3440::/29", "37296"}, + {"2001:678:ea8::/48", "209295"}, + {"2407:47c0::/32", "210542"}, + {"2804:8018:6000::/36", "271729"}, + {"2a01:5b0:30::/48", "50611"}, + {"2a09:4c2:34::/48", "213372"}, + {"2001:67c:8cc::/48", "210562"}, + {"2001:67c:157c::/48", "3215"}, + {"2001:15f8:c00::/48", "25384"}, + {"240a:a3b6::/32", "143600"}, + {"240e:87c:270::/39", "137692"}, + {"2a0d:e8c0::/47", "35829"}, + {"2001:559:82bd::/48", "33668"}, + {"2404:bf40:f803::/48", "7545"}, + {"2604:d00::/32", "40523"}, + {"2806:2f0:2400::/48", "17072"}, + {"2a00:c760::/32", "47381"}, + {"240a:aec7::/32", "146433"}, + {"2620:1d5:d::/39", "14773"}, + {"2a02:26f7:ce00::/48", "36183"}, + {"2a0e:b280::/29", "208794"}, + {"2001:67c:760::/48", "35008"}, + {"2001:978:5204::/39", "174"}, + {"2409:f:f5::/32", "55824"}, + {"240a:a698::/32", "144338"}, + {"2a02:238::/32", "16097"}, + {"2001:350::/32", "7671"}, + {"2001:500:124::/48", "396549"}, + {"240a:afe8::/32", "146722"}, + {"2a04:e800:5010::/47", "57976"}, + {"2a0a:6500::/48", "50219"}, + {"2804:14d:5823::/40", "28573"}, + {"2a01:5d0::/32", "8462"}, + {"2604:2c40:1000::/36", "63252"}, + {"2804:7dfc::/32", "271595"}, + {"2001:4978:10af::/36", "19255"}, + {"2407:7a80::/43", "132384"}, + {"240e:438:820::/43", "140647"}, + {"2804:4b0:364::/40", "262459"}, + {"2804:2804:840::/32", "263935"}, + {"2a04:6a40::/29", "49892"}, + {"2001:da8:4e00::/47", "138376"}, + {"2408:8459:7230::/41", "17622"}, + {"2804:1a84::/32", "61863"}, + {"2806:261:2300::/37", "13999"}, + {"2a02:ff0:3dfb::/45", "12735"}, + {"2607:fc58:2000:600::/64", "13536"}, + {"2806:2f0:97a1::/46", "17072"}, + {"2a0d:d900:2::/29", "61138"}, + {"240a:a080::/32", "142778"}, + {"240a:a2b3::/32", "143341"}, + {"2804:ef0:200::/32", "263558"}, + {"2001:559:8302::/48", "33651"}, + {"2400:cb00:a1b0::/45", "13335"}, + {"2402:b8c0::/32", "55966"}, + {"2408:8459:1b50::/37", "17816"}, + {"2620:120:e000::/40", "15169"}, + {"2800:bf0:8165::/48", "52257"}, + {"2001:b400:d408::/45", "17421"}, + {"2400:fa80:4::/46", "133480"}, + {"2409:8055:4c::/48", "9808"}, + {"240d:c010:6c::/48", "132203"}, + {"2600:6c10:f829::/41", "20115"}, + {"2604:d600:50b::/43", "32098"}, + {"2607:f440::/31", "7859"}, + {"2803:8280::/32", "264844"}, + {"2400:8800:500::/47", "6279"}, + {"2409:8054:301a::/48", "9808"}, + {"240e:3be:dc00::/34", "4134"}, + {"2620:0:a00::/44", "71"}, + {"2a02:26f0:1b01::/37", "20940"}, + {"2a06:a005:1::/48", "60438"}, + {"2001:df7:e200::/48", "135239"}, + {"2804:66a0:13::/32", "269572"}, + {"2a02:3d0::/45", "22822"}, + {"2a02:2160:8000::/36", "44679"}, + {"2404:bf40:c040::/46", "7545"}, + {"2600:1000:bf0e::/33", "22394"}, + {"2602:ffb0:11::/48", "40676"}, + {"2605:2700:9001::/33", "47066"}, + {"2607:f668::/32", "22351"}, + {"2804:2148::/32", "264545"}, + {"2407:c080::/36", "55990"}, + {"2409:8c4c::/43", "9808"}, + {"2600:1904::/30", "396982"}, + {"2a07:22c1:39::/48", "207846"}, + {"2001:559:4c6::/44", "7922"}, + {"2001:67c:850::/48", "210775"}, + {"240a:a607::/32", "144193"}, + {"2804:594::/32", "19723"}, + {"2804:32d4::/32", "265100"}, + {"2a00:1d58:fa15::/44", "47524"}, + {"2a01:4640:c800::/40", "9042"}, + {"2001:990::/32", "15703"}, + {"2001:df5:1700::/48", "18196"}, + {"2a11:540::/30", "210966"}, + {"2401:d800:5ef0::/39", "7552"}, + {"2600:1fa0:8010::/39", "16509"}, + {"2800:300:8500::/40", "27651"}, + {"2804:1950::/32", "61786"}, + {"2804:1f3a::/32", "268839"}, + {"2a0d:9540:a01::/46", "59460"}, + {"2c0f:f1e0::/47", "37235"}, + {"2408:8957:c100::/40", "17816"}, + {"240a:abb4::/32", "145646"}, + {"240e:3b9:1200::/39", "4134"}, + {"2a02:26f7:36::/48", "36183"}, + {"2001:4878:2164::/48", "12222"}, + {"2a0e:2a80::/29", "207902"}, + {"2409:8904:4160::/38", "24547"}, + {"2a02:340::/32", "48918"}, + {"2a02:26f7:e8d0::/48", "36183"}, + {"2a03:32c0:3023::/32", "48503"}, + {"2600:140b:e401::/38", "20940"}, + {"2602:80d:3000::/44", "545"}, + {"2604:ef40:2::/48", "396158"}, + {"2a02:27ba:4000::/34", "49278"}, + {"2001:df3:5580::/48", "14618"}, + {"240a:a669::/32", "144291"}, + {"2605:b100:a00::/40", "577"}, + {"2804:7db4::/32", "271577"}, + {"2a07:62c0::/29", "202970"}, + {"2402:3a80:1c3c::/41", "38266"}, + {"2408:840d:5b00::/42", "17621"}, + {"2604:d600:1156::/44", "32098"}, + {"2a01:5042:200b::/48", "202196"}, + {"2001:44b8:4052::/48", "7545"}, + {"2803:7da0:a::/48", "64114"}, + {"2a05:2140::/29", "201603"}, + {"2804:a9c::/32", "52898"}, + {"2806:2f0:62::/40", "17072"}, + {"2c0f:ea30::/32", "5713"}, + {"2600:380:8f00::/40", "7018"}, + {"2602:fc11::/36", "398334"}, + {"2806:2f0:12e2::/48", "22884"}, + {"2a00:b340:35::/48", "196745"}, + {"2a02:26f7:e604::/48", "36183"}, + {"2404:8d02:1049::/43", "9587"}, + {"2406:daa0:e040::/44", "16509"}, + {"2610:a1:1072::/48", "397220"}, + {"2a02:b48:8106::/44", "39572"}, + {"2a02:26f7:e448::/48", "36183"}, + {"2a05:3580::/42", "35807"}, + {"2001:559:c4bd::/46", "33287"}, + {"240a:a465::/32", "143775"}, + {"2600:380:cc80::/38", "7018"}, + {"2602:fd23:1::/48", "62788"}, + {"2a00:90c0::/38", "197745"}, + {"2a03:3e80::/32", "50372"}, + {"2001:4868:906::/33", "701"}, + {"2402:800:7940::/42", "7552"}, + {"2a09:4c0::/39", "58057"}, + {"2402:800:54ee::/39", "7552"}, + {"240a:a027::/32", "142689"}, + {"240a:a0b2::/32", "142828"}, + {"240a:a7d4::/32", "144654"}, + {"2804:88:4000::/36", "28135"}, + {"2804:674::/32", "28328"}, + {"2a00:ece0::/32", "6718"}, + {"2a0b:f800::/32", "39251"}, + {"2a11:6980::/29", "204790"}, + {"2401:1d40:1::/40", "59019"}, + {"2600:5c01:2c0c::/48", "11351"}, + {"2602:fddb::/36", "397460"}, + {"2a07:f600:4058::/48", "34567"}, + {"2001:ded:8000::/48", "23726"}, + {"2408:8026:100::/38", "17621"}, + {"240e:3be:f100::/37", "134775"}, + {"2a01:c9c0:8016::/48", "2285"}, + {"2a0b:2a41::/29", "29014"}, + {"2a0d:1a40:faf::/48", "202313"}, + {"240e:983:1f00::/22", "4134"}, + {"2600:4040:8000::/31", "701"}, + {"2804:3af4::/32", "266120"}, + {"2804:7d90::/47", "271569"}, + {"2a01:8840:e2::/45", "12041"}, + {"2a0b:4d07:401::/48", "44239"}, + {"2605:6c80:c::/48", "40244"}, + {"2804:7f14::/32", "271665"}, + {"2001:559:8636::/48", "7922"}, + {"240b:4005::/32", "45102"}, + {"2600:1406:2a01::/39", "20940"}, + {"2604:d600:1563::/44", "32098"}, + {"2610:20:8e00::/44", "3477"}, + {"2804:5a18::/32", "268748"}, + {"2a01:8840:29::/48", "207266"}, + {"2001:559:263::/48", "33657"}, + {"2402:800:3a63::/43", "7552"}, + {"240a:a188::/32", "143042"}, + {"2620:91:a000::/48", "32170"}, + {"2001:250:223::/48", "24349"}, + {"240e:980:2200::/40", "58466"}, + {"2a02:26f7:c588::/48", "36183"}, + {"2001:559:8057::/44", "7922"}, + {"2001:559:84f0::/48", "7016"}, + {"2001:4998:ef6c::/48", "36646"}, + {"2409:804c:2100::/35", "9808"}, + {"240e:438:8640::/36", "4134"}, + {"2604:c740::/32", "10392"}, + {"2a0e:b107:320::/44", "207756"}, + {"2001:559:849d::/46", "7015"}, + {"2603:f5e0::/27", "397165"}, + {"2620:54:2000::/48", "396997"}, + {"2a05:b0c6:5001::/48", "211358"}, + {"2600:6800::/24", "7155"}, + {"2804:8208::/32", "272494"}, + {"2a01:50c0:1000::/36", "12843"}, + {"2001:559:c16f::/48", "33657"}, + {"2401:d800:7de0::/38", "7552"}, + {"240e:980:8600::/40", "136195"}, + {"2600:8807:9e00::/34", "22773"}, + {"2a00:7460::/32", "24833"}, + {"2a0e:aa07:e100::/45", "142025"}, + {"2400:6600::/32", "9812"}, + {"2408:8459:1830::/41", "17622"}, + {"240a:a530::/32", "143978"}, + {"240a:a963::/32", "145053"}, + {"2607:6480:8000::/35", "54112"}, + {"2804:3764:fffd::/46", "266409"}, + {"2a02:26f7:f1c9::/42", "20940"}, + {"2a05:be80::/29", "12637"}, + {"2404:bf40:e703::/40", "139084"}, + {"240a:a928::/32", "144994"}, + {"240e:87c::/40", "137692"}, + {"2804:2de8::/32", "265311"}, + {"2a06:6540:1000::/48", "34893"}, + {"2a0e:97c0:68e::/47", "49953"}, + {"2001:678:fb4::/48", "50873"}, + {"2001:1498::/32", "12956"}, + {"2400:89c0:2100::/48", "37936"}, + {"2408:8459:a610::/42", "17623"}, + {"2620:c9::/48", "701"}, + {"2804:2364::/32", "264159"}, + {"2401:7500:fffa::/45", "133296"}, + {"2409:8087:3009::/45", "9808"}, + {"2a02:2698:8009::/38", "41682"}, + {"2001:559:424::/48", "33657"}, + {"2800:160:1ee1::/44", "14259"}, + {"2804:638::/32", "28178"}, + {"2001:559:34::/48", "7015"}, + {"2001:559:c36d::/48", "33667"}, + {"240e:44d:180::/41", "4134"}, + {"240e:45c:200::/40", "131285"}, + {"2606:43c0::/32", "3801"}, + {"2610:18:8105::/36", "2828"}, + {"2806:230:400c::/48", "265594"}, + {"2a02:938::/29", "8608"}, + {"2a07:54c0::/29", "61138"}, + {"240c:ca06::/32", "23910"}, + {"240e:108:11e0::/48", "58466"}, + {"2600:1406:a001::/38", "20940"}, + {"2001:559:806a::/48", "7922"}, + {"2001:6d0:ffff::/48", "5568"}, + {"2001:df0:71::/48", "45665"}, + {"2402:9900:d11::/48", "27435"}, + {"2600:1406:a401::/36", "20940"}, + {"2a10:482::/29", "4785"}, + {"2001:579:2483::/38", "22773"}, + {"2407:9000::/32", "24130"}, + {"2604:d600:162f::/43", "32098"}, + {"2800:190:7::/44", "11664"}, + {"2804:24c0::/32", "262290"}, + {"2804:5ae0::/32", "268802"}, + {"2a01:9d80::/32", "197883"}, + {"2001:67c:930::/48", "14907"}, + {"2001:da8:e019::/46", "23910"}, + {"2401:d800:d3a0::/41", "7552"}, + {"2605:7fc0::/32", "395846"}, + {"2a12:b380::/29", "210412"}, + {"2620:129:9000::/48", "17216"}, + {"2602:808:8000::/40", "3763"}, + {"2804:3550::/32", "266280"}, + {"2a02:2298::/36", "15544"}, + {"2a07:e00:ff::/48", "210083"}, + {"2001:559:c1f7::/48", "33287"}, + {"2804:7c8:2000::/33", "262323"}, + {"2a0d:8340::/32", "205125"}, + {"240a:adc9::/32", "146179"}, + {"2620:108:4022::/48", "1313"}, + {"2001:678:860::/48", "212466"}, + {"2001:da8:e015::/48", "23910"}, + {"2602:fba8:f00::/48", "14618"}, + {"2804:7910::/32", "271282"}, + {"2a02:c600::/29", "47317"}, + {"2001:1260:105::/44", "13591"}, + {"2620:136:f001::/48", "11153"}, + {"2804:145c:8c90::/39", "263327"}, + {"2a07:8084::/31", "62296"}, + {"2a0e:1c80:11::/46", "1299"}, + {"2602:fff6:4::/48", "20473"}, + {"2620:0:cf0::/48", "6456"}, + {"2a00:86c0:2092::/45", "2906"}, + {"2a09:d9c0::/32", "207568"}, + {"2603:90f5:e::/48", "20115"}, + {"2604:e840:2::/44", "396965"}, + {"2a03:a900::/32", "48926"}, + {"2c0f:f450::/32", "37302"}, + {"2400:cb00:230::/44", "13335"}, + {"2409:8c85:2000::/43", "56046"}, + {"240a:a972::/32", "145068"}, + {"2803:6900:597::/44", "52423"}, + {"2806:283::/35", "265515"}, + {"2a03:8980::/32", "16232"}, + {"2a09:9180:ecfd::/48", "42081"}, + {"2409:4056:1000::/34", "55836"}, + {"2606:9500:200::/47", "393423"}, + {"2804:1cc4:5000::/32", "61674"}, + {"2001:253:119::/48", "142085"}, + {"2406:c500:fff3::/48", "45671"}, + {"240e:3b1:c000::/37", "140315"}, + {"2602:ff62:106::/42", "61317"}, + {"2001:250:83b::/48", "138182"}, + {"2001:559:1cb::/48", "20214"}, + {"240e:3b4:6400::/35", "140312"}, + {"2804:93c:1031::/40", "52878"}, + {"2806:3ad::/32", "265586"}, + {"2001:67c:28e8::/48", "199768"}, + {"240e:67d:8400::/38", "140329"}, + {"2605:f540::/32", "398712"}, + {"2801:80:1bb0::/48", "266495"}, + {"2804:1218::/36", "263456"}, + {"2804:69b0:10::/42", "270285"}, + {"2001:559:8443::/48", "33660"}, + {"2001:559:c46b::/48", "33490"}, + {"2409:8b4c::/30", "9808"}, + {"2605:4f00::/32", "26413"}, + {"2806:2f0:50e1::/46", "17072"}, + {"2a02:26f0:dc00::/48", "34164"}, + {"2a06:afc0::/48", "41011"}, + {"2a0e:6540:d0d0::/48", "208364"}, + {"2406:c500:fffd::/48", "7545"}, + {"2620:45:2000::/48", "577"}, + {"2a02:26f7:bbc9::/42", "20940"}, + {"2a07:fc00::/48", "39378"}, + {"2a0d:2280::/29", "51815"}, + {"2605:5580::/32", "40805"}, + {"2001:559:811f::/48", "33652"}, + {"2001:df5:3580::/48", "136697"}, + {"2402:9500:a01::/39", "55720"}, + {"240a:a2a7::/32", "143329"}, + {"240e:ff:c007::/48", "136198"}, + {"240a:ad8d::/32", "146119"}, + {"2a02:26f7:f988::/48", "36183"}, + {"2001:559:52b::/48", "7922"}, + {"2402:8700::/41", "58979"}, + {"2620:0:f02::/41", "6431"}, + {"2620:11f:1000::/48", "27421"}, + {"2a00:f440::/44", "48347"}, + {"2a07:c180::/29", "64442"}, + {"2607:b080:301::/32", "29838"}, + {"2a02:748:a000::/33", "29802"}, + {"2c0f:f4f8::/32", "328471"}, + {"2404:fc00:20::/46", "45910"}, + {"2409:8057:302a::/43", "56040"}, + {"2620:f8:4000::/48", "1767"}, + {"2800:600:303::/37", "52323"}, + {"2803:4300::/32", "263759"}, + {"2804:7914::/32", "271283"}, + {"2001:978:901::/46", "174"}, + {"2403:57c0::/32", "133815"}, + {"2409:8000:2900::/40", "9808"}, + {"2804:23b0:b800::/33", "262645"}, + {"2a02:26f7:da09::/46", "20940"}, + {"2a0d:b880::/29", "39392"}, + {"2001:df0:9200::/48", "133384"}, + {"2408:892c::/32", "4837"}, + {"240e:41::/37", "17897"}, + {"2a02:26f7:e645::/46", "20940"}, + {"2001:250:22f::/43", "23910"}, + {"2001:250:3807::/48", "23910"}, + {"240e:9b:f003::/45", "140246"}, + {"2806:2f0:8123::/41", "17072"}, + {"2a00:e200:101::/46", "41313"}, + {"2a02:ac80:2001::/35", "25145"}, + {"2a03:42e0::/48", "47105"}, + {"2a07:7200::/47", "34197"}, + {"2a10:e300:26::/48", "44854"}, + {"2001:250:301c::/40", "24357"}, + {"2001:559:83e1::/48", "7922"}, + {"2001:e68:2:100::/34", "4788"}, + {"2408:8956:5900::/40", "17816"}, + {"2603:2000::/19", "7922"}, + {"2a0b:a40::/29", "57684"}, + {"2001:978:1406::/36", "174"}, + {"2001:1af0::/32", "13046"}, + {"240e:108:43::/48", "63835"}, + {"240e:874:360::/30", "4134"}, + {"2604:b180:500::/44", "18601"}, + {"2a0e:3840:415::/48", "40676"}, + {"2001:918:ff45::/43", "3303"}, + {"2001:430::/32", "7332"}, + {"2401:4900:2100::/45", "45609"}, + {"2408:8459:8230::/41", "17622"}, + {"2804:25e4:705::/32", "61573"}, + {"2a0b:eb80::/29", "38946"}, + {"2a0c:f00::14:0/29", "56485"}, + {"2620:2b:a000::/48", "394118"}, + {"2a01:440::/37", "29551"}, + {"2a03:2880:f05d::/46", "32934"}, + {"2a09:bac0:336::/47", "13335"}, + {"2a0e:6540:a32::/48", "208364"}, + {"2600:6c38:840::/44", "20115"}, + {"2001:67c:750::/48", "206170"}, + {"2804:1f2c::/32", "265478"}, + {"2a07:6840::/29", "29119"}, + {"2001:67c:10::/48", "60149"}, + {"2405:6e00:2680::/44", "18291"}, + {"2801:80:19d0::/48", "265375"}, + {"2804:1810:f400::/36", "263262"}, + {"2a02:26f7:f400::/48", "36183"}, + {"2001:4ba8::/29", "12570"}, + {"2402:800:fc10::/42", "7552"}, + {"2620:9c:a000::/48", "16509"}, + {"2620:11a:a00b::/43", "43515"}, + {"2001:1b70:82::/48", "29518"}, + {"2403:71c0:8000::/48", "43959"}, + {"2409:8a21::/29", "9808"}, + {"240a:af09::/32", "146499"}, + {"2600:370f:7424::/41", "32261"}, + {"2804:145c:c630::/36", "263327"}, + {"2001:559:81d1::/46", "20214"}, + {"2800:300:64e0::/43", "27986"}, + {"2806:230:301c::/48", "265594"}, + {"2a02:ee80:4192::/44", "3573"}, + {"2001:678:158::/48", "202886"}, + {"2001:67c:2ae8::/48", "58329"}, + {"2606:5180::/32", "7992"}, + {"2620:149:a18::/48", "6185"}, + {"2a06:a005:c::/46", "208753"}, + {"2001:559:850e::/48", "7015"}, + {"2401:4900:35f0::/38", "45609"}, + {"2408:862a:a800::/33", "4837"}, + {"2600:140a:1::/35", "20940"}, + {"2605:2180::/36", "12422"}, + {"2806:288:4050::/48", "28469"}, + {"2a01:300:10:6::/41", "9009"}, + {"2a02:3e8::/32", "43646"}, + {"2a05:f507:43::/45", "13443"}, + {"2001:559:7f0::/48", "7015"}, + {"2001:559:84d0::/48", "7725"}, + {"240a:a80d::/32", "144711"}, + {"240a:a9de::/32", "145176"}, + {"2600:9000:1128::/46", "16509"}, + {"2606:cd00:11::/32", "40845"}, + {"2803:d20::/32", "265684"}, + {"2001:678:424::/48", "43442"}, + {"2409:8055:39::/46", "56040"}, + {"2600:9000:2310::/46", "16509"}, + {"2603:c001:2a10::/37", "31898"}, + {"2620:9f::/48", "30021"}, + {"2001:250:82f::/43", "23910"}, + {"2603:90bb::/32", "11426"}, + {"2a02:26f7:98::/48", "36183"}, + {"2a09:bac0:113::/45", "13335"}, + {"2400:ca02:f01f::/40", "23688"}, + {"2606:1f80:f000::/36", "13414"}, + {"2607:f738::/39", "17184"}, + {"2804:3364::/37", "265393"}, + {"2001:67c:590::/48", "206809"}, + {"2001:67c:1010::/47", "8674"}, + {"2a05:6200:72::/48", "25369"}, + {"2001:1248:9658::/47", "11172"}, + {"2400:7400:e026::/48", "38044"}, + {"2804:49c:13::/48", "7162"}, + {"2a00:5ae0:100::/48", "198638"}, + {"2a02:2892:40::/48", "51185"}, + {"2a02:ee80:41bd::/48", "21433"}, + {"2a09:fbc0::/32", "205718"}, + {"2001:559:c040::/48", "33490"}, + {"2401:4900:880::/44", "45609"}, + {"2804:4094::/32", "265968"}, + {"2a05:7dc2:3000::/33", "51324"}, + {"2001:4478:1400::/40", "4802"}, + {"2403:cfc0:1004::/48", "9678"}, + {"240e:5:8000::/30", "4134"}, + {"2a01:8640:3::/48", "201525"}, + {"2a02:27b8:2002::/45", "49278"}, + {"2001:559:13d::/48", "22909"}, + {"2001:678:4a8::/48", "35062"}, + {"2401:d800:de10::/42", "7552"}, + {"2402:fbc0:10::/32", "134014"}, + {"2409:8010:2100::/36", "9808"}, + {"2a02:26f7:cc48::/48", "36183"}, + {"2a04:4e40:a800::/48", "54113"}, + {"2a06:aa40:cadc::/29", "51944"}, + {"2a11:7b80::/29", "57866"}, + {"2401:73c0::/47", "136792"}, + {"2402:800:9447::/43", "7552"}, + {"240e:d6:2000::/33", "4134"}, + {"2a0d:e4c5::/30", "208861"}, + {"2001:559:8152::/48", "33657"}, + {"2001:7a8:802::/44", "13193"}, + {"240a:a590::/32", "144074"}, + {"240a:affa::/32", "146740"}, + {"2606:7b00::/34", "10538"}, + {"2a02:bf0:20::/44", "25106"}, + {"2a03:6400:40::/47", "11054"}, + {"2001:559:716::/48", "7922"}, + {"2001:44c8:a000::/39", "38444"}, + {"2402:db40::/47", "131486"}, + {"2001:16b8:7a00::/32", "8881"}, + {"2401:d800:900::/42", "7552"}, + {"2405:b40:32::/41", "55674"}, + {"240a:a78a::/32", "144580"}, + {"240e:3b8:6400::/35", "140312"}, + {"2620:3a:c000::/48", "21976"}, + {"2803:1500::/32", "27800"}, + {"2804:7a00::/32", "271341"}, + {"2a09:bac0:145::/48", "13335"}, + {"2001:1520:3::/48", "34011"}, + {"240e:3bb:ac00::/35", "4134"}, + {"2804:39c:1000::/33", "28329"}, + {"2a01:699::/32", "25084"}, + {"2001:67c:2b68::/48", "204444"}, + {"2602:fd92:e00::/40", "39618"}, + {"2804:14d:1600::/40", "28573"}, + {"2a02:a0::/32", "8426"}, + {"2a02:888:48::/47", "48695"}, + {"2a02:26f7:95::/48", "20940"}, + {"2001:1bb8::/32", "31122"}, + {"2600:6c3a:1b::/45", "20115"}, + {"2600:a003::/29", "22450"}, + {"2602:fe06::/36", "397672"}, + {"2804:670c::/32", "269600"}, + {"2a05:9400::/29", "204957"}, + {"2001:678:9b4::/48", "213210"}, + {"240a:a801::/32", "144699"}, + {"240a:af60::/32", "146586"}, + {"2800:480:ff52::/48", "14080"}, + {"2a02:2888::/32", "8265"}, + {"2001:250:1407::/48", "23910"}, + {"2c0f:fec8:49::/38", "37197"}, + {"2402:800:fdc0::/42", "7552"}, + {"240a:a0a0::/32", "142810"}, + {"2a02:ef80::/48", "16509"}, + {"2001:559:830c::/48", "33657"}, + {"2408:8459:f600::/40", "17816"}, + {"2804:4e3c::/32", "268248"}, + {"2a02:26f7:ba88::/48", "36183"}, + {"2401:4900:5230::/41", "45609"}, + {"2c0f:fda0::/32", "37525"}, + {"240e:438:7e20::/43", "140647"}, + {"2602:febe:301::/36", "30405"}, + {"2603:7033::/32", "12271"}, + {"2a00:bdc0::/35", "47541"}, + {"2001:c20:c832::/45", "3758"}, + {"2001:559:55f::/42", "7016"}, + {"2402:e280:2412::/40", "134674"}, + {"2607:f3d0::/32", "27400"}, + {"2800:160:129a::/42", "14259"}, + {"2800:370:4000::/40", "28006"}, + {"2a00:1f40::/29", "42864"}, + {"2a0c:9f00::/48", "47890"}, + {"2001:559:2d0::/48", "33650"}, + {"2001:559:806d::/48", "33287"}, + {"2001:df1:1080::/48", "136977"}, + {"240a:a557::/32", "144017"}, + {"2600:6c20:262::/36", "20115"}, + {"2604:5880:2::/45", "10980"}, + {"2603:f920::/25", "397165"}, + {"2800:160:120d::/43", "14259"}, + {"2a02:1320::/32", "34409"}, + {"2a0a:8d80:1::/48", "200019"}, + {"240a:a03d::/32", "142711"}, + {"240a:a701::/32", "144443"}, + {"2610:b0:4030::/47", "701"}, + {"2001:df1:f080::/48", "139776"}, + {"2404:bf40:e001::/48", "2764"}, + {"2607:9e80:1181::/38", "397068"}, + {"2620:f0:c00a::/48", "14148"}, + {"2a02:670::/32", "47217"}, + {"2a0d:2406:510::/46", "39753"}, + {"2001:559:4ca::/47", "33287"}, + {"2407:e3c0::/48", "38732"}, + {"2400:39a0::/48", "63739"}, + {"2400:6280:129::/46", "132280"}, + {"2400:a980:1400::/40", "133515"}, + {"2402:800:5939::/41", "7552"}, + {"2600:6c10:182::/45", "20115"}, + {"2600:6c10:f402::/45", "20115"}, + {"2620:126:7002::/48", "394559"}, + {"2804:5f74::/32", "269100"}, + {"2a00:1218::/32", "34772"}, + {"2001:559:13c::/48", "33667"}, + {"2001:559:821a::/48", "20214"}, + {"2001:559:c1be::/48", "33652"}, + {"2001:b08:a::/48", "29147"}, + {"2600:6c20:85b::/45", "20115"}, + {"2804:5ae4::/32", "268803"}, + {"2001:559:1f5::/46", "33652"}, + {"2001:559:80f1::/48", "33287"}, + {"2001:df0:41f::/48", "133014"}, + {"2001:ee0:9940::/38", "45899"}, + {"2409:806a:1a::/40", "9808"}, + {"2804:cdc:2040::/32", "52565"}, + {"2a00:f280::/32", "206288"}, + {"2402:3a80:1a6f::/40", "38266"}, + {"2409:8a10::/34", "9808"}, + {"240e:44d:5540::/42", "140347"}, + {"2409:8c00:7840::/48", "56048"}, + {"240a:ad59::/32", "146067"}, + {"2804:4fe0::/32", "268355"}, + {"2a03:f80:ed15::/46", "57169"}, + {"2001:df7:9300::/47", "134392"}, + {"2001:e60:d110::/38", "4766"}, + {"2408:8957::/40", "17622"}, + {"2600:1488:6181::/43", "20940"}, + {"2801:1d2::/44", "18747"}, + {"2803:e880:8112::/45", "52468"}, + {"2a00:1728:21::/46", "34224"}, + {"2a03:2480:8010::/44", "200107"}, + {"2a05:93c6::/31", "7979"}, + {"240a:a877::/32", "144817"}, + {"2600:6:ff44::/42", "1239"}, + {"2606:b00::/32", "15305"}, + {"2a09:4c0:5e1::/36", "58057"}, + {"2401:d800:23b0::/41", "7552"}, + {"2402:800:b3a0::/41", "7552"}, + {"2800:bf0:172::/45", "27947"}, + {"240a:a3cf::/32", "143625"}, + {"2800:190::/48", "11664"}, + {"2806:2f0:9341::/46", "17072"}, + {"2001:500:1::/48", "1508"}, + {"2001:559:8409::/48", "7922"}, + {"2403:31c0::/32", "137376"}, + {"2408:84f3:d810::/42", "134543"}, + {"2801:106::/48", "19429"}, + {"2405:4cc1:300::/40", "55891"}, + {"2407:6dc0::/32", "140944"}, + {"2600:1400:5::/48", "35994"}, + {"2001:550:4f02::/35", "174"}, + {"2400:7fc0:2a0::/44", "55960"}, + {"240a:abf9::/32", "145715"}, + {"2a02:26f7:c1c4::/48", "36183"}, + {"2a02:ae00::/32", "16125"}, + {"2402:800:bf90::/42", "7552"}, + {"2620:138:3008::/48", "11251"}, + {"2804:6ae4::/32", "270364"}, + {"2a02:16d8::/39", "5518"}, + {"2a03:afe2::/32", "51392"}, + {"2402:f200::/32", "18196"}, + {"2405:ec00:1002::/39", "23955"}, + {"2600:1480:2801::/37", "20940"}, + {"2a09:6ec0::/29", "197706"}, + {"2001:978:1c01::/39", "174"}, + {"2001:1b28:406::/38", "8728"}, + {"240a:ad19::/32", "146003"}, + {"240e:983:1e01::/48", "134764"}, + {"2a02:26f7:ef04::/48", "36183"}, + {"2a0b:b87:ff15::/48", "210614"}, + {"2a10:a00::/32", "209208"}, + {"2001:559:85ef::/48", "7015"}, + {"2001:1a60::/32", "2594"}, + {"2405:7040:6001::/48", "17621"}, + {"240a:a1a5::/32", "143071"}, + {"240a:a591::/32", "144075"}, + {"2602:fed2:4000::/36", "53356"}, + {"2804:4b98:e000::/35", "267317"}, + {"2a0d:2902:caff::/48", "204185"}, + {"2001:559:87da::/48", "33489"}, + {"2001:678:54::/48", "57382"}, + {"2001:1978:1500::/36", "13768"}, + {"240a:a852::/32", "144780"}, + {"2804:4540::/32", "266914"}, + {"2804:5270::/32", "268518"}, + {"2804:8040::/32", "271739"}, + {"2600:1004:d160::/34", "22394"}, + {"2602:ff6e:19::/36", "63202"}, + {"2a0f:31c0::/29", "37405"}, + {"2401:d800:be60::/40", "7552"}, + {"2606:f900:7608::/32", "812"}, + {"2803:d6c0::/48", "265698"}, + {"2a0f:7940::/29", "51262"}, + {"2001:44b8:401::/35", "4739"}, + {"2001:4de0:2::/47", "34343"}, + {"2800:160:18db::/45", "14259"}, + {"2804:6ea0:4030::/32", "270609"}, + {"2a06:ec00::/29", "553"}, + {"240a:a22d::/32", "143207"}, + {"2603:c001:2610::/36", "31898"}, + {"2600:9000:2388::/47", "16509"}, + {"2800:160:1116::/44", "14259"}, + {"2804:5200::/32", "268489"}, + {"2806:2f0:2101::/48", "22884"}, + {"2a02:26f7:b8cd::/42", "20940"}, + {"2a03:b500:4000::/32", "41135"}, + {"2a11:7e02::/32", "52000"}, + {"2001:559:83fd::/46", "7016"}, + {"240e:84c::/44", "140345"}, + {"2804:eb4::/37", "61890"}, + {"2001:7f8:2a::/48", "13041"}, + {"2401:200::/32", "17666"}, + {"240a:aa79::/32", "145331"}, + {"2a0c:7e40:7bb1::/48", "20473"}, + {"2402:800:54d3::/44", "7552"}, + {"2408:8459:4210::/42", "17623"}, + {"2a0a:e940::/29", "207543"}, + {"240a:aa35::/32", "145263"}, + {"2804:7030::/32", "270711"}, + {"2a05:7e80::/30", "50009"}, + {"2a0f:d300::/29", "47787"}, + {"2001:fe8:10::/47", "24435"}, + {"240a:a173::/32", "143021"}, + {"2602:fe3a:2::/48", "20119"}, + {"2620:13c:a000::/48", "19367"}, + {"2800:160:1d13::/42", "14259"}, + {"2801:80:b00::/48", "61789"}, + {"2804:5360::/32", "268580"}, + {"2804:5520::/32", "268691"}, + {"2a02:26f7:d54d::/46", "20940"}, + {"2401:d800:2ad0::/42", "7552"}, + {"240e:438:5840::/38", "4134"}, + {"2607:dc80::/32", "64262"}, + {"2804:2a40::/32", "264067"}, + {"2a07:6cc0:60::/48", "61098"}, + {"2001:559:113::/48", "7922"}, + {"2403:43c0::/32", "137990"}, + {"240a:ab44::/32", "145534"}, + {"2604:b980::/32", "47103"}, + {"2a07:9944:1b::/45", "40676"}, + {"240e:267:6000::/38", "140334"}, + {"2600:c08::/34", "10913"}, + {"2a02:ff0:1400::/40", "12735"}, + {"2a02:26f7:d151::/46", "20940"}, + {"2001:559:80b7::/48", "7922"}, + {"2406:7400:60::/46", "24309"}, + {"2804:43f4:70::/40", "267601"}, + {"2a0e:b107:12d4::/46", "211358"}, + {"2405:6480::/32", "135425"}, + {"2406:5e00::/47", "38456"}, + {"2a00:10a0:6::/48", "199234"}, + {"2a0e:b107:1220::/44", "211479"}, + {"240a:a143::/32", "142973"}, + {"2600:370f:70ce::/39", "32261"}, + {"2602:fd92:700::/40", "174"}, + {"2804:b34::/32", "52751"}, + {"2804:6808::/35", "269666"}, + {"2a00:1b40::/32", "47777"}, + {"2001:67c:12c8::/48", "43028"}, + {"2001:c38:9012::/47", "9931"}, + {"2600:140f:4201::/37", "20940"}, + {"2607:fcc0::/33", "36483"}, + {"2803:9800:a8ce::/47", "11664"}, + {"2804:a3c::/32", "53054"}, + {"2a02:26f7:8::/48", "36183"}, + {"2a02:26f7:f704::/48", "36183"}, + {"2a0b:7f00::/29", "44489"}, + {"2a10:4880::/29", "204802"}, + {"240a:afd7::/32", "146705"}, + {"2600:9000:112e::/43", "16509"}, + {"2806:2f0:3043::/43", "17072"}, + {"2400:81c0::/32", "17804"}, + {"240a:af54::/32", "146574"}, + {"2602:80a:2001::/48", "14618"}, + {"2001:559:8766::/48", "7016"}, + {"2408:875c::/44", "140886"}, + {"240e:3b2::/35", "134773"}, + {"2606:2980:1000::/40", "26344"}, + {"2804:23ec::/32", "21574"}, + {"2806:370:1010::/44", "28403"}, + {"2a0a:1dc0::/30", "42994"}, + {"2001:559:c08b::/48", "33491"}, + {"2001:67c:1288::/48", "29560"}, + {"2404:8000:102b::/45", "17451"}, + {"2407:96c0::/32", "140158"}, + {"2605:8900:3000::/36", "8100"}, + {"2620:7d:c000::/48", "4190"}, + {"2a05:3b80::/29", "33915"}, + {"2c0f:f9e8::/32", "37497"}, + {"240a:a291::/32", "143307"}, + {"2600:6c3a:848::/37", "20115"}, + {"2804:7a3c::/39", "271357"}, + {"2a02:e980:28::/45", "19551"}, + {"2a0e:3500::/29", "56456"}, + {"2001:67c:21fc::/48", "43922"}, + {"2a01:b740:a1d::/48", "714"}, + {"2a02:26f0:da00::/48", "34164"}, + {"2a12:4942::/31", "211398"}, + {"2c0f:f428::/32", "30844"}, + {"2001:678:1f4::/48", "50004"}, + {"2001:67c:2588::/48", "8447"}, + {"240a:ab5b::/32", "145557"}, + {"2603:c011:8000::/36", "31898"}, + {"2607:fb10:32::/34", "2906"}, + {"2a06:3ac0::/29", "196945"}, + {"2001:559:c409::/48", "7015"}, + {"2409:8008:1100::/36", "24547"}, + {"2600:180a::/35", "16552"}, + {"2620:11d:d000::/40", "18995"}, + {"2a03:5c0::/32", "199254"}, + {"2a03:9fc0:1::/46", "200820"}, + {"240a:a8b9::/32", "144883"}, + {"2602:808:4000::/48", "398960"}, + {"2804:21cc::/32", "264574"}, + {"2804:7ae8::/32", "271399"}, + {"2001:559:182::/48", "7922"}, + {"2001:730::/29", "6830"}, + {"2401:4900:1b10::/42", "45609"}, + {"2408:8957:f6c0::/36", "17816"}, + {"2001:559:397::/44", "7922"}, + {"2001:da8:e803::/48", "24368"}, + {"2001:14f7:50::/32", "12355"}, + {"2408:8456:3600::/41", "17623"}, + {"240e:967:e400::/39", "133775"}, + {"2804:2b08::/32", "61578"}, + {"2806:230:2037::/48", "11888"}, + {"2806:2f0:50a3::/41", "17072"}, + {"2001:df2:f300::/48", "136699"}, + {"2408:8456:6400::/42", "17622"}, + {"240a:aa37::/32", "145265"}, + {"2602:feda:b8f::/48", "205923"}, + {"2610:20:5002::/48", "5744"}, + {"2a02:26f7:de81::/46", "20940"}, + {"2a05:ef40::/29", "200428"}, + {"2400:8b00:980::/42", "45727"}, + {"2409:8c28:6d08::/35", "56041"}, + {"2400:3dc0:301::/37", "134371"}, + {"2402:800:9a7f::/40", "7552"}, + {"2607:f5a0:214::/36", "17048"}, + {"2620:138:6000::/48", "36710"}, + {"2001:559:77e::/48", "20214"}, + {"2606:2000:12::/45", "1616"}, + {"2a01:8840:4d::/48", "207266"}, + {"2a02:148::/29", "1680"}, + {"2a0b:b580:ffff::/31", "43304"}, + {"2a0e:c887::/44", "208759"}, + {"2406:3000:7::/44", "4657"}, + {"240e:438:9a20::/43", "140647"}, + {"2a00:8aa0::/32", "62059"}, + {"2a0f:af00::/32", "208201"}, + {"2400:e3c0::/32", "45267"}, + {"240a:af25::/32", "146527"}, + {"2804:427c::/32", "267503"}, + {"2804:61b4::/32", "269251"}, + {"2a02:26f0:fc::/47", "20940"}, + {"2a02:59e0::/48", "60118"}, + {"2001:559:c0c8::/48", "7922"}, + {"2604:e500::/32", "6461"}, + {"2a02:26f7:d188::/48", "36183"}, + {"2001:7f8:107::/48", "211947"}, + {"2606:2f80::/32", "395075"}, + {"2801:19:e000::/48", "61499"}, + {"2804:2f3c:2030::/32", "264879"}, + {"2402:800:6249::/42", "7552"}, + {"2404:e8c0::/32", "139090"}, + {"2408:8456:5840::/39", "17816"}, + {"2603:90f2::/32", "7843"}, + {"2804:7cc8::/32", "271518"}, + {"2001:559:c457::/48", "7015"}, + {"2001:67c:4c8::/48", "50034"}, + {"240e:3be:1800::/34", "4134"}, + {"240e:924:4000::/36", "132153"}, + {"2803:d280::/32", "264733"}, + {"2a03:5640:f143::/48", "14618"}, + {"2a10:3780::/29", "206238"}, + {"2404:3d00:4174::/44", "3573"}, + {"2603:f3f8::/29", "396356"}, + {"2606:2800:51f::/42", "15133"}, + {"2606:2800:5062::/45", "15133"}, + {"2a05:544::/31", "206766"}, + {"2a0a:d6c0:9145::/48", "210596"}, + {"2001:4c8:1009::/45", "15290"}, + {"2401:ea80::/32", "133930"}, + {"2607:f010::/32", "52"}, + {"2a0f:140::/30", "62240"}, + {"2607:f6f0:2002::/40", "54588"}, + {"2001:2040::/32", "3301"}, + {"240e:580::/22", "4134"}, + {"2600:1480:e100::/37", "20940"}, + {"2602:fd9a:fff1::/44", "54613"}, + {"2a02:26f7:c34b::/48", "20940"}, + {"2a07:f7c7:ffff::/48", "39020"}, + {"2600:100d:b000::/42", "6167"}, + {"2803:ab00:92::/48", "23520"}, + {"2a0e:7b80::/32", "29014"}, + {"2001:550:a11::/46", "174"}, + {"2001:c20:489b::/45", "3758"}, + {"2604:d600:1270::/45", "32098"}, + {"2001:559:864a::/48", "33657"}, + {"2600:1404:fc01::/31", "20940"}, + {"2602:fd80:2::/36", "53612"}, + {"2804:6af0::/32", "270367"}, + {"240e:3ba:dc00::/34", "4134"}, + {"2a0f:b300:b300::/48", "208200"}, + {"2409:8915:9000::/39", "56044"}, + {"240a:a0a4::/32", "142814"}, + {"240e:874:300::/41", "140638"}, + {"2600:1003:b060::/40", "22394"}, + {"2a02:26f7:f708::/48", "36183"}, + {"2a0c:7a80::/29", "204782"}, + {"2620:0:2830::/48", "16876"}, + {"2001:678:828::/48", "24639"}, + {"2001:da8:7000::/45", "24363"}, + {"2407:3a40::/32", "58411"}, + {"2409:800b:2c05::/40", "24547"}, + {"2602:fe65:10::/41", "396872"}, + {"2607:fcf0:104::/32", "13445"}, + {"2804:1934::/32", "61778"}, + {"2a01:6ae0::/29", "62227"}, + {"2a02:26f7:d9c1::/46", "20940"}, + {"2401:d800:bb80::/42", "7552"}, + {"2402:3300:cac2::/48", "56300"}, + {"2001:dde::/48", "24082"}, + {"2405:6e00:640::/40", "133612"}, + {"240a:ac00::/32", "145722"}, + {"2a05:546::/32", "210352"}, + {"2a09:8580::/29", "43341"}, + {"2400:1f00:20::/48", "45769"}, + {"2406:6f40::/47", "141163"}, + {"2600:1415:3000::/48", "2914"}, + {"2602:fe05::/32", "54936"}, + {"2605:a140::/30", "40021"}, + {"2803:5e00::/40", "267765"}, + {"2804:ac4::/32", "52920"}, + {"2401:c900:1000::/38", "36351"}, + {"2607:3500::/48", "11228"}, + {"2607:fb10:2035::/41", "2906"}, + {"2607:fc58:1:30::/64", "13536"}, + {"2804:49c:4210::/48", "7162"}, + {"2804:1dc4::/32", "264392"}, + {"2a00:80a::/25", "1257"}, + {"2a01:6f60::/32", "62365"}, + {"2a0f:4640::/29", "200750"}, + {"2001:559:4f3::/48", "33657"}, + {"2001:579:f104::/42", "22773"}, + {"240e:965:1800::/34", "4134"}, + {"2600:1005:9100::/44", "6167"}, + {"2606:7d00:c002::/35", "23248"}, + {"2001:559:7cd::/48", "33657"}, + {"2001:559:8098::/48", "7016"}, + {"2001:67c:3e0::/48", "16089"}, + {"240a:a25b::/32", "143253"}, + {"240a:a5c3::/32", "144125"}, + {"2800:98:111b::/37", "14754"}, + {"2804:204:311::/46", "28186"}, + {"2a00:5740::/32", "56582"}, + {"2001:559:81bc::/48", "33491"}, + {"2404:6900::/34", "17819"}, + {"2600:1488:6341::/40", "20940"}, + {"2602:ffb0:ffd::/48", "32780"}, + {"2605:a401:8a3e::/39", "33363"}, + {"2605:f000::/32", "22442"}, + {"2606:5980::/32", "11071"}, + {"2600:1407:b001::/36", "20940"}, + {"2804:65b4::/32", "269509"}, + {"2001:4f8:9::/48", "30132"}, + {"2402:800:36ee::/39", "7552"}, + {"240e:37e:aa00::/39", "140330"}, + {"2605:5c0:40::/44", "26517"}, + {"2607:3200:3::/43", "11240"}, + {"2804:5f04::/32", "269071"}, + {"2401:4200::/32", "24195"}, + {"2409:805a:2902::/48", "9808"}, + {"2409:805b:2b05::/32", "56040"}, + {"2800:5f0:8001::/34", "22724"}, + {"2001:678:dd0::/48", "47753"}, + {"2401:d800:bce0::/39", "7552"}, + {"2a01:6480:14::/46", "29049"}, + {"2001:df0:8400::/48", "55741"}, + {"2403:300:2000::/32", "714"}, + {"2803:f4a0::/32", "266830"}, + {"2806:2a0:19::/46", "28548"}, + {"2409:8004:3031::/41", "24547"}, + {"2600:5c00:3aff::/39", "20001"}, + {"2620:12e:b000::/46", "7046"}, + {"2001:559:1ab::/48", "7922"}, + {"2001:67c:858::/48", "210775"}, + {"2800:200:b4b0::/41", "12252"}, + {"2804:1ca0:ff01::/46", "61666"}, + {"2a00:f28::/43", "15802"}, + {"2a0b:7500::/29", "206859"}, + {"2001:559:32e::/48", "7016"}, + {"2403:a200:a400::/33", "17428"}, + {"2406:5200::/32", "18067"}, + {"2408:8459:8210::/42", "17623"}, + {"2602:fc6e::/36", "399893"}, + {"2801:80:7b0::/48", "263613"}, + {"2804:4bb4:400::/35", "267325"}, + {"2408:8456:5040::/39", "17816"}, + {"240a:a46a::/32", "143780"}, + {"2602:fed2:7706::/48", "53356"}, + {"2610:a1:306c::/48", "12008"}, + {"2402:800:f570::/40", "7552"}, + {"2409:8924:7500::/38", "56046"}, + {"2600:9000:221e::/42", "16509"}, + {"2a06:ee05::/32", "25623"}, + {"2a0b:6dc0::/29", "5482"}, + {"2610:a1:3020::/48", "12008"}, + {"2803:380::/32", "263728"}, + {"2a0c:d80::/29", "200000"}, + {"2001:678:d34::/48", "59570"}, + {"2a0a:d340::/29", "56616"}, + {"2001:67c:13c8::/48", "42936"}, + {"2a02:26f7:e208::/48", "36183"}, + {"2a02:e0c7:ffff::/48", "9100"}, + {"2001:1248:57f2::/44", "11172"}, + {"2400:adcc:800::/39", "9541"}, + {"2402:800:fa20::/41", "7552"}, + {"240a:a695::/32", "144335"}, + {"2a01:8640:b::/48", "202015"}, + {"2a01:8cc0::/32", "59456"}, + {"2800:800:620::/44", "26611"}, + {"2800:bf0:80c7::/43", "52257"}, + {"2a01:d0:318::/45", "29632"}, + {"2a01:aa80::/48", "3301"}, + {"2a0d:e4c1::/32", "59504"}, + {"2a10:3cc0::/29", "204790"}, + {"2001:590:2005:200::/56", "20940"}, + {"2001:678:cfc::/48", "61400"}, + {"2001:1a68:21::/48", "57723"}, + {"2402:800:b410::/42", "7552"}, + {"2408:8456:cf40::/35", "17816"}, + {"2600:1403:b::/43", "20940"}, + {"2600:1419:18::/48", "20940"}, + {"2804:7970::/32", "271305"}, + {"2a00:10a0:b::/48", "51305"}, + {"2a02:26f7:b7c9::/42", "20940"}, + {"2001:559:76d::/48", "7725"}, + {"2400:e480:e::/32", "131588"}, + {"2605:2800:100::/47", "3354"}, + {"2804:14d:2::/40", "28573"}, + {"240a:a0e8::/32", "142882"}, + {"2a05:4700:200::/48", "43578"}, + {"2804:104c:2400::/40", "263629"}, + {"2a0a:5080::/29", "49865"}, + {"2405:db40::/32", "137987"}, + {"2602:ff96:11::/48", "8100"}, + {"2605:a404:cf4::/39", "33363"}, + {"2804:4734:3000::/32", "267038"}, + {"2804:4c38::/32", "267357"}, + {"2a07:b380::/29", "202604"}, + {"2a07:ba80::/29", "40970"}, + {"2001:df0:96::/48", "45770"}, + {"2406:5d40::/47", "141009"}, + {"2804:14d:5c5f::/42", "28573"}, + {"2a02:2308:21::/43", "29028"}, + {"2605:a000:40f::/38", "10796"}, + {"2607:f699::/32", "53999"}, + {"2803:ddc0::/32", "27855"}, + {"2804:1040::/33", "263626"}, + {"2804:1cc8::/32", "61675"}, + {"2001:250:7401::/44", "24371"}, + {"2804:30c:1400::/32", "28343"}, + {"2a02:850:ffe0::/48", "1921"}, + {"2402:3a80::/46", "38266"}, + {"2607:f8f0:e00::/40", "271"}, + {"2804:4784::/32", "267059"}, + {"2a02:26f7:eac4::/48", "36183"}, + {"2c0f:edd8::/32", "328114"}, + {"2001:4878:a136::/48", "12222"}, + {"240c:6:3::/48", "24445"}, + {"2607:f738:800::/41", "17184"}, + {"2a02:ee80:403a::/41", "3573"}, + {"2404:efc0:155::/48", "10122"}, + {"2408:8956:3e00::/40", "17622"}, + {"2408:8957:ed40::/40", "17816"}, + {"240a:a7fe::/32", "144696"}, + {"2804:aa8::/37", "52903"}, + {"2a03:7f20::/48", "8473"}, + {"2401:d800:d760::/40", "7552"}, + {"2408:862a::/32", "4837"}, + {"2804:321c::/32", "265056"}, + {"2804:5b58::/32", "268836"}, + {"2a01:270:e000::/46", "29657"}, + {"2a01:6780:2::/48", "24679"}, + {"2a0b:2040::/29", "559"}, + {"2001:438:fffd:13::/64", "20940"}, + {"2001:559:c094::/48", "33651"}, + {"2001:ee0:e200::/40", "45899"}, + {"2408:8956:b600::/40", "17622"}, + {"2408:8956:d6c0::/36", "17816"}, + {"2804:3494::/32", "265466"}, + {"2a03:b000:600::/36", "42695"}, + {"2a04:5ec7::/48", "62154"}, + {"2100:1900:5:2:2::1ba4/126", "3356"}, + {"2600:141b:2800::/48", "35994"}, + {"2606:ec00:a100::/40", "40328"}, + {"2a02:1c8:7::/48", "41704"}, + {"2001:559:406::/48", "7725"}, + {"2001:559:8191::/46", "33659"}, + {"2407:4cc0::/32", "134905"}, + {"2408:8456::/42", "17622"}, + {"240e:3b2:f700::/36", "4134"}, + {"2620:131:104c::/47", "26450"}, + {"2804:7b8::/32", "262315"}, + {"2a02:26f7:b604::/48", "36183"}, + {"2001:67c:2aa8::/48", "3330"}, + {"2403:9800:c021::/43", "4648"}, + {"2001:559:7a4::/48", "7015"}, + {"2001:559:83c0::/48", "33659"}, + {"2600:803:22d::/41", "701"}, + {"2602:fe43::/36", "397005"}, + {"2804:1c4::/32", "262744"}, + {"2a00:ab40:3001::/33", "41798"}, + {"2a0d:5600:a32::/48", "9009"}, + {"2a0f:64c0::/29", "31463"}, + {"2001:559:84c5::/48", "33287"}, + {"2405:c0:40::/48", "138881"}, + {"2a06:f2c0::/29", "202975"}, + {"2a11:f2c0::/48", "207960"}, + {"2406:7800::/32", "10101"}, + {"2a0c:b5c0::/29", "59909"}, + {"2a0e:8f02:f036::/48", "210915"}, + {"2001:dd8:8::/45", "4608"}, + {"2402:be80::/32", "131749"}, + {"2600:100a:b0e0::/43", "22394"}, + {"2600:8807:7a2::/41", "22773"}, + {"2804:669c:4080::/32", "269571"}, + {"2a02:26f7:c3d4::/48", "36183"}, + {"2405:8a00:2079::/40", "55824"}, + {"2800:160:c167::/34", "14259"}, + {"2804:1088::/33", "52913"}, + {"2804:3de8::/33", "266562"}, + {"2a00:4902::/32", "12390"}, + {"2a03:6400:20::/44", "11054"}, + {"2a0d:3842:1070::/48", "57629"}, + {"240a:a9f1::/32", "145195"}, + {"2803:2e60::/32", "267920"}, + {"2804:2d34::/32", "265266"}, + {"2a0a:8887:1::/48", "59922"}, + {"2a0e:fdc0::/29", "207375"}, + {"240a:a1bb::/32", "143093"}, + {"240e:3b6:f100::/37", "134775"}, + {"2602:ff25::/39", "394346"}, + {"2804:15dc::/32", "263415"}, + {"2001:559:80a4::/48", "33287"}, + {"2001:4998:194::/46", "26101"}, + {"2804:3b8:1e9::/43", "52965"}, + {"2a00:c560::/29", "62416"}, + {"2a00:d580:4900::/40", "16365"}, + {"240a:aff3::/32", "146733"}, + {"2804:adc::/32", "52927"}, + {"2a00:d240::/32", "25274"}, + {"2001:67c:23a8::/48", "50101"}, + {"2001:fd8:3330::/44", "4775"}, + {"2408:8956:ea00::/40", "17622"}, + {"2800:160:14d8::/42", "14259"}, + {"2804:3f70::/32", "265892"}, + {"2804:4794::/32", "267063"}, + {"2a0e:46c3:300::/40", "51745"}, + {"2001:1838:4200::/35", "23352"}, + {"2402:800:5a55::/42", "7552"}, + {"240a:aab2::/32", "145388"}, + {"240e:e3:8000::/33", "4812"}, + {"2603:fd00::/29", "63023"}, + {"2620:82:4000::/48", "22098"}, + {"2801:15:2800::/48", "270033"}, + {"2804:2fdc:8000::/36", "264917"}, + {"2806:310:2e::/43", "16960"}, + {"2a00:4580::/30", "3226"}, + {"2a03:1fe0::/32", "39509"}, + {"2a03:2420::/32", "201682"}, + {"2a06:f0c0::/29", "3352"}, + {"2a07:7280::/29", "202591"}, + {"2001:57a:6031::/35", "22773"}, + {"2001:912::/33", "51083"}, + {"2400:8800:4082::/32", "3491"}, + {"2400:b800::/44", "45638"}, + {"240a:a88c::/32", "144838"}, + {"2806:2f0:7223::/41", "17072"}, + {"2001:559:3c3::/48", "33651"}, + {"2803:7260:3::/43", "52238"}, + {"2804:80cc:f::/43", "272413"}, + {"2a00:4802:4c20::/39", "8717"}, + {"2a00:9300::/32", "12843"}, + {"2a02:26f7:e008::/48", "36183"}, + {"2a11:27c0::/43", "199524"}, + {"2001:559:2f9::/48", "7922"}, + {"240a:a58d::/32", "144071"}, + {"2605:4000::/32", "2722"}, + {"2804:93c::/42", "52878"}, + {"2402:8100:20ee::/43", "55644"}, + {"2405:9800:c906::/47", "45458"}, + {"2804:6e80::/32", "270601"}, + {"2001:559:8553::/48", "7922"}, + {"2605:4300:ff00::/40", "62907"}, + {"2605:5480::/32", "26253"}, + {"2606:2180:1::/46", "22241"}, + {"2a02:26f7:e089::/46", "20940"}, + {"2602:fc64:df1::/48", "36829"}, + {"2604:ad00::/32", "4181"}, + {"2804:7110:6100::/35", "270764"}, + {"2a01:4480::/32", "196816"}, + {"2a02:1390:5000::/40", "21351"}, + {"2a02:2ad0:140::/38", "702"}, + {"2a0c:d947::/32", "209877"}, + {"2406:da1c::/36", "16509"}, + {"240a:a062::/32", "142748"}, + {"240a:a5a0::/32", "144090"}, + {"2606:f200::/32", "36097"}, + {"2620:56:a000::/48", "46924"}, + {"2409:8904:5770::/40", "24547"}, + {"2602:feda:b90::/46", "212995"}, + {"2620:13a:2000::/40", "1970"}, + {"2803:7180:6000::/36", "21575"}, + {"2804:1bb4::/32", "61744"}, + {"2804:62b4:4000::/36", "269313"}, + {"2a09:ae80::/29", "204537"}, + {"2a12:13c0::/29", "35710"}, + {"2402:3500::/32", "45177"}, + {"240a:a4b7::/32", "143857"}, + {"240e:44d:6c00::/41", "140345"}, + {"2a04:8680::/32", "39150"}, + {"2001:640::/32", "2895"}, + {"2001:fd8:302c::/43", "4775"}, + {"2001:44c8:48d0::/44", "131445"}, + {"2806:2f0:70e3::/39", "17072"}, + {"2a02:818::/32", "15525"}, + {"2a02:7860::/32", "201859"}, + {"2001:559:3cd::/48", "7725"}, + {"2404:2400:201::/32", "56132"}, + {"2409:805e:3900::/31", "9808"}, + {"2600:1802:13::/45", "16552"}, + {"2804:2fc4:ff14::/44", "264911"}, + {"2a02:ee80:428e::/47", "21433"}, + {"2a0c:b641:f0::/48", "210985"}, + {"2001:df4:7100::/48", "131784"}, + {"2001:df5:a080::/48", "134461"}, + {"2400:d400:9::/48", "45671"}, + {"2405:9240::/32", "61317"}, + {"240e:0:a000::/33", "4134"}, + {"2600:6c38:b33::/44", "20115"}, + {"2800:cd0::/32", "6568"}, + {"2804:3d9c::/32", "266542"}, + {"2806:250:c::/48", "28554"}, + {"2a03:5580::/29", "57280"}, + {"2001:57b:2000::/32", "22773"}, + {"2600:140f:1801::/39", "20940"}, + {"2800:160:13fe::/37", "14259"}, + {"2a00:1288:ef68::/47", "10310"}, + {"2001:250:241f::/48", "23910"}, + {"2001:938:4001::/44", "8437"}, + {"2600:140f:1601::/39", "20940"}, + {"2600:6c38:61f::/42", "20115"}, + {"2a02:f640::/29", "58291"}, + {"2001:4de0:3000::/45", "33438"}, + {"240a:a655::/32", "144271"}, + {"2804:6410::/32", "269402"}, + {"2a0d:e640::/29", "210017"}, + {"2602:feda:a2::/47", "46997"}, + {"2606:bc00:5000::/32", "19419"}, + {"2607:fdb8:4::/48", "7181"}, + {"2800:381:bbbc::/33", "10834"}, + {"2803:9800:91c0::/37", "11664"}, + {"2804:7754::/32", "61604"}, + {"2806:2f0:1283::/43", "17072"}, + {"2a02:888:40::/46", "48695"}, + {"2a04:4e40:fe10::/44", "54113"}, + {"2a09:7:2004::/48", "35537"}, + {"2a10:6f00::/32", "399975"}, + {"2408:8957:ef40::/40", "17816"}, + {"2409:8924:7b00::/37", "56046"}, + {"2804:4080::/32", "265963"}, + {"2806:2f0:8001::/46", "17072"}, + {"2001:67c:18fc::/48", "35073"}, + {"2804:eec:1302::/36", "28226"}, + {"2a02:26f0:117::/48", "21342"}, + {"2a02:26f0:bb00::/48", "34164"}, + {"2c0f:f020:3000::/33", "327907"}, + {"2405:3001::/32", "4641"}, + {"2600:370f:4020::/47", "32261"}, + {"2607:fcc8:afc1::/33", "10796"}, + {"2804:5064::/32", "268386"}, + {"2a00:dc0::/32", "39560"}, + {"2001:428:b21::/48", "4015"}, + {"2001:503:91ef::/48", "7342"}, + {"2001:550:6502::/38", "174"}, + {"2001:559:152::/48", "33652"}, + {"2402:800:5a01::/44", "7552"}, + {"2404:9d00::/32", "135817"}, + {"2a02:26f7:cd81::/46", "20940"}, + {"2a03:ec0::/47", "199669"}, + {"2001:ee0:8300::/36", "45899"}, + {"2401:4300:abcd::/48", "45184"}, + {"2408:8456:3800::/41", "17623"}, + {"2409:4064:5000::/27", "55836"}, + {"2804:fc4::/32", "263602"}, + {"2804:3800:1000::/34", "266449"}, + {"2a0b:df00::/32", "44984"}, + {"2604:6600:200a::/43", "40676"}, + {"2620:0:2b10::/48", "20381"}, + {"2409:8020:91::/42", "56046"}, + {"240e:3b2:c000::/37", "140315"}, + {"2600:1409:5801::/34", "20940"}, + {"2803:55c0::/32", "265715"}, + {"2001:559:8800::/33", "7922"}, + {"2408:84f3:2e60::/40", "17623"}, + {"2804:547c::/32", "268653"}, + {"2a03:63c0::/32", "199578"}, + {"2400:9380:8bc0::/44", "136167"}, + {"2600:1004:9100::/44", "6167"}, + {"2804:2d50::/32", "265274"}, + {"2804:43f8::/32", "267613"}, + {"2a00:54e0::/32", "199324"}, + {"2401:cbc0::/32", "23778"}, + {"240a:a04a::/32", "142724"}, + {"2600:370f:37ca::/42", "32261"}, + {"2606:ae80:1410::/44", "25751"}, + {"2620:42:c000::/48", "395089"}, + {"2a02:888:8140::/46", "48695"}, + {"2a09:bac0:78::/47", "13335"}, + {"2001:250:2011::/48", "23910"}, + {"2406:9c40:1002::/34", "55366"}, + {"2600:1901:4020::/32", "15169"}, + {"2602:ffe4:c3b::/45", "21859"}, + {"2804:d4::/32", "28138"}, + {"2804:6a3c::/32", "270321"}, + {"2409:8c74:f200::/36", "9808"}, + {"2600:9000:2089::/45", "16509"}, + {"2803:5c80:6034::/48", "64114"}, + {"2a01:5b40::/45", "12996"}, + {"2001:9e0::/29", "12414"}, + {"2401:c7c0:21a::/48", "134148"}, + {"2603:c0e0::/39", "54253"}, + {"2620:8d::/48", "23342"}, + {"2a00:1728:20:200::/48", "31490"}, + {"2a09:a280::/29", "210051"}, + {"2401:4900:5b80::/42", "45609"}, + {"2800:1e0:1071::/40", "7195"}, + {"2a02:f040:a::/48", "59605"}, + {"240e:264:1000::/36", "140329"}, + {"2804:4970::/32", "267184"}, + {"2804:4e38::/32", "268247"}, + {"2804:61bc::/32", "269253"}, + {"2a02:26f7:e8c1::/46", "20940"}, + {"2a03:39c0::/29", "43858"}, + {"2a07:9e00::/29", "20740"}, + {"2001:6d0:ffc7::/48", "8985"}, + {"2620:119:501b::/45", "13443"}, + {"2804:5cf0::/32", "268940"}, + {"2001:418:2401:2::/35", "2914"}, + {"2001:4de0::/47", "34343"}, + {"2402:800:b920::/41", "7552"}, + {"2405:84c0:ff26::/44", "59598"}, + {"240a:a885::/32", "144831"}, + {"2600:370f:35aa::/43", "32261"}, + {"2804:cc0::/32", "52550"}, + {"2402:9d80:601::/48", "131429"}, + {"240a:a3bd::/32", "143607"}, + {"2c0f:faa0::/32", "36998"}, + {"2403:2900::/32", "132005"}, + {"2406:daa0:9040::/44", "16509"}, + {"2406:e000:378::/47", "23655"}, + {"240a:14:ecc::/48", "9605"}, + {"2607:fcd0:100:7f01::/48", "8100"}, + {"2a00:e20:154::/31", "25048"}, + {"2a02:540::/45", "35432"}, + {"2a04:4e40:d600::/48", "54113"}, + {"2604:20c0:2000::/36", "40641"}, + {"2620:4d:400e::/48", "395403"}, + {"2a02:1c0::/29", "29084"}, + {"2a02:26f7:ce80::/48", "36183"}, + {"2a06:c840::/29", "198024"}, + {"2001:500:7::/48", "40490"}, + {"2001:56a:e::/47", "7861"}, + {"2402:a0c0:6::/48", "137922"}, + {"240a:aeb7::/32", "146417"}, + {"2804:2cd0::/32", "265245"}, + {"2a02:26f7:b9c6::/47", "20940"}, + {"2001:550:8200:1::/36", "174"}, + {"2401:4900:38e0::/43", "45609"}, + {"240e:44d:7380::/41", "4134"}, + {"2806:370:40a0::/44", "28403"}, + {"2a03:37a0::/32", "59755"}, + {"2001:940::/32", "12853"}, + {"2001:1a68:54::/32", "15694"}, + {"2409:8904:d170::/40", "24547"}, + {"2801:80:1330::/48", "264019"}, + {"2804:d88::/32", "52637"}, + {"2a04:4e40:4410::/41", "54113"}, + {"2001:559:8005::/44", "7922"}, + {"240e:a7:7fc0::/46", "140508"}, + {"2606:2200::/32", "35986"}, + {"2804:3dbc:c000::/35", "266550"}, + {"2a02:e48::/32", "5379"}, + {"2400:cb00:94::/44", "13335"}, + {"2402:ea80::/48", "17747"}, + {"2407:1e40:501::/38", "141732"}, + {"2409:8915:2700::/40", "56044"}, + {"2a03:f1c0::/32", "61121"}, + {"2a0f:3d81::/29", "1239"}, + {"2001:48f8:f330::/36", "11232"}, + {"2409:8728:4600::/32", "56041"}, + {"240e:3b6:d000::/36", "134772"}, + {"2605:a401:86cd::/39", "33363"}, + {"2a02:26f7:62::/48", "36183"}, + {"2a04:1c0::/29", "57795"}, + {"240e:964:5000::/37", "58772"}, + {"2605:6400:1::/46", "53667"}, + {"2607:f810:f40::/32", "6192"}, + {"2804:15a4:11a0::/38", "263400"}, + {"2001:559:546::/48", "33651"}, + {"240a:afa4::/32", "146654"}, + {"2a06:2bc0::/29", "204171"}, + {"2001:1638::/32", "44066"}, + {"2407:2640::/32", "141549"}, + {"2409:8057:3020::/47", "9808"}, + {"2800:bf0:827a::/40", "52257"}, + {"2804:5e40::/32", "269021"}, + {"2a02:26f0:90::/45", "20940"}, + {"2a03:8320::/32", "200874"}, + {"2001:12e8::/34", "16397"}, + {"2800:160:1b99::/42", "14259"}, + {"2a02:26f7:b5c4::/48", "36183"}, + {"2001:559:c4fb::/48", "33659"}, + {"2001:cb0:3203::/32", "4637"}, + {"240a:abd1::/32", "145675"}, + {"2800:160:1169::/46", "14259"}, + {"2a0e:e640::/29", "202844"}, + {"2001:4878:215::/46", "12222"}, + {"240a:a0f0::/32", "142890"}, + {"2001:559:770::/48", "22909"}, + {"2407:3100:8114::/33", "10118"}, + {"2602:806:b000::/40", "63279"}, + {"2620:11a:a033::/45", "36040"}, + {"2a01:8020::/32", "199800"}, + {"2a02:26f7:e700::/48", "36183"}, + {"2a0b:2cc0::/48", "203929"}, + {"2001:da8:26a::/48", "23910"}, + {"240a:ac50::/32", "145802"}, + {"240e:3b0:7a00::/32", "140313"}, + {"2603:c0f8:1210::/37", "20054"}, + {"2001:559:8750::/47", "20214"}, + {"2001:c30::/32", "4721"}, + {"2409:8057:3012::/47", "9808"}, + {"240a:aa4c::/32", "145286"}, + {"2605:3380:4d01::/48", "395174"}, + {"2001:250:342a::/48", "138438"}, + {"2001:67c:2cf8::/48", "12552"}, + {"2401:b0c0:f000::/48", "136941"}, + {"2407:38c0:64::/48", "59204"}, + {"240a:a0c4::/32", "142846"}, + {"2605:a404:de8::/46", "33363"}, + {"2804:29a8::/32", "264027"}, + {"2a02:26f7:f201::/46", "20940"}, + {"2a0d:d00::/29", "212865"}, + {"2a0f:1fc0::/29", "60262"}, + {"2001:4c70::/32", "28678"}, + {"240a:a0db::/32", "142869"}, + {"240a:a211::/32", "143179"}, + {"2a02:ff0:1e00::/40", "12735"}, + {"2a03:2880:f21a::/45", "32934"}, + {"2a0a:2842:f853::/48", "136796"}, + {"2a0b:6903::/48", "206873"}, + {"240e:30a::/35", "137691"}, + {"2600:100d:f110::/36", "22394"}, + {"2801:80:1e21::/48", "14026"}, + {"2803:d100:1000::/36", "52362"}, + {"2a02:2698:9000::/38", "41661"}, + {"2001:67c:15a3::/48", "5577"}, + {"2620:72:a000::/48", "20115"}, + {"2804:3234::/32", "265062"}, + {"2804:7ab4:200::/32", "271387"}, + {"2806:2f0:8043::/42", "17072"}, + {"2a03:14a0::/32", "60427"}, + {"2406:180:8000::/40", "63956"}, + {"2409:8c85:aa03::/48", "9808"}, + {"240e:d6:6000::/37", "133774"}, + {"2a06:d581:3000::/36", "3303"}, + {"2a0d:3842:1050::/48", "57629"}, + {"2804:3af8::/32", "266121"}, + {"2804:758c::/32", "271054"}, + {"2a02:5c20::/29", "60111"}, + {"2a0c:5c81::/29", "55081"}, + {"2a11:fe00::/29", "42375"}, + {"2600:1410:e001::/31", "20940"}, + {"2804:25e8::/32", "264310"}, + {"2a05:d050:a0c0::/44", "16509"}, + {"2a09:9c00::/29", "209947"}, + {"2001:4e8::/32", "6327"}, + {"2803:9800:a893::/45", "11664"}, + {"2804:6120::/32", "269214"}, + {"2a02:7080::/48", "398826"}, + {"2001:559:7d2::/48", "33657"}, + {"2001:da8:2009::/48", "23910"}, + {"2001:1980:900::/34", "29838"}, + {"240a:ab67::/32", "145569"}, + {"2606:6680:5::/48", "53340"}, + {"2620:1d5:a40::/37", "14773"}, + {"2804:6444::/35", "269417"}, + {"2806:230:4019::/48", "11888"}, + {"2a00:a140::/32", "34686"}, + {"2a02:1620::/32", "1290"}, + {"2a02:26f7:dc::/48", "36183"}, + {"2a02:27b0:5600::/32", "9146"}, + {"240e:980:9500::/40", "58563"}, + {"2604:4b40::/32", "396420"}, + {"2604:d600:108c::/39", "32098"}, + {"2803:4e40::/32", "264608"}, + {"2a00:1fa2:80c1::/34", "28884"}, + {"2a02:4e8::/32", "20738"}, + {"2a02:26f7:f791::/46", "20940"}, + {"2a05:3280::/37", "50999"}, + {"2a0f:c400:a::/48", "60781"}, + {"2001:559:49::/48", "33491"}, + {"2001:fd8:f2b0::/44", "4775"}, + {"2a02:f040:c::/48", "59605"}, + {"2001:559:c144::/48", "33667"}, + {"2001:fd8:f280::/42", "132199"}, + {"2001:1248:5621::/45", "11172"}, + {"2605:3380:1000::/36", "12025"}, + {"2804:14d:5cc3::/43", "28573"}, + {"2409:896a:4600::/39", "9808"}, + {"240a:a46d::/32", "143783"}, + {"2600:3501:1200::/33", "396998"}, + {"2a00:efe0::/32", "49489"}, + {"2a0c:e740::/33", "51778"}, + {"2001:559:c407::/44", "33659"}, + {"2405:2500:11::/48", "136566"}, + {"2409:801e:3000::/46", "9808"}, + {"2603:c021::/35", "31898"}, + {"2403:4280:1::/48", "138950"}, + {"240e:5f:6003::/48", "136200"}, + {"2a0d:4b00::/29", "204943"}, + {"2407:ed00::/35", "9587"}, + {"2603:c002:8000::/39", "31898"}, + {"2610:120::/36", "33606"}, + {"2804:14d:4c91::/45", "28573"}, + {"2401:d800:ff40::/42", "7552"}, + {"2403:300:a32::/48", "6185"}, + {"240e:14:2000::/33", "4134"}, + {"2804:18:7858::/39", "10429"}, + {"2804:3808::/32", "266451"}, + {"2804:54a0:1e00::/32", "27688"}, + {"2a00:cd0::/32", "48173"}, + {"2a01:5100::/32", "50032"}, + {"2a03:7000::/32", "28997"}, + {"2a0e:8940::/29", "209528"}, + {"2a0e:b800:abcd::/48", "20473"}, + {"2a10:5740::/46", "34412"}, + {"2804:1040:b100::/33", "263626"}, + {"2a02:26f7:d9c8::/48", "36183"}, + {"2001:ae1::/32", "42008"}, + {"2804:1384::/32", "263537"}, + {"2a00:b404:e000::/36", "203329"}, + {"2a02:26f7:f::/48", "20940"}, + {"2a02:26f7:cf41::/46", "20940"}, + {"2a02:26f7:ec11::/42", "20940"}, + {"2a06:c240:40::/29", "49222"}, + {"2a0b:db00::/29", "13285"}, + {"2001:559:82c5::/44", "7015"}, + {"2409:896a:3c00::/39", "9808"}, + {"240e:5f:6010::/26", "4134"}, + {"2001:503:a83e::/48", "396574"}, + {"2001:559:4b3::/45", "7922"}, + {"240a:abf5::/32", "145711"}, + {"2606:91c0::/32", "400229"}, + {"2804:24e8::/32", "53171"}, + {"2a03:efc0:1900::/40", "54203"}, + {"2a07:3c80:400::/40", "209322"}, + {"2401:d800:27d0::/36", "7552"}, + {"2604:9b00:4800::/38", "14230"}, + {"2605:c000::/32", "7393"}, + {"2607:f5a0:8::/38", "17048"}, + {"2803:4580:9100::/38", "52468"}, + {"2804:7438:4::/32", "270967"}, + {"2806:2f0:4603::/42", "17072"}, + {"2a0c:c9c0::/30", "202414"}, + {"2001:559:5c6::/48", "33287"}, + {"2606:9f00::/32", "30640"}, + {"2001:559:791::/48", "33668"}, + {"2401:d800:7ba0::/41", "7552"}, + {"2401:d800:d370::/40", "7552"}, + {"2402:8100:17::/36", "55644"}, + {"2600:5400:e901::/27", "19108"}, + {"2405:7f00:8000::/39", "133414"}, + {"240c:c407::/28", "23910"}, + {"2a02:26f7:e549::/42", "20940"}, + {"2a11:f300::/29", "400522"}, + {"2001:559:871f::/48", "7015"}, + {"2001:559:c2cf::/48", "33652"}, + {"2408:8459:f130::/41", "17622"}, + {"2607:f740:e003::/48", "63911"}, + {"2804:130c:200::/32", "263512"}, + {"2804:1f36::/32", "268005"}, + {"2a0a:5c0::/29", "206298"}, + {"2001:250:5878::/37", "23910"}, + {"2001:420::/40", "109"}, + {"2001:e60:a788::/36", "4766"}, + {"240e:982:5100::/38", "4134"}, + {"2600:6c3a:83c::/41", "20115"}, + {"2a02:26f7:f344::/48", "36183"}, + {"2a06:b140::/29", "58264"}, + {"2a09:e200::/48", "49121"}, + {"2403:bc00:7fff::/32", "45668"}, + {"2602:fbd3:10::/48", "398653"}, + {"2620:100:4000::/46", "25923"}, + {"240a:aa9c::/32", "145366"}, + {"2607:ffb0:4007::/35", "6327"}, + {"2804:8614::/32", "272619"}, + {"2a02:26f7:d008::/48", "36183"}, + {"2a09:bac0:162::/47", "13335"}, + {"2a0a:ef40::/29", "5378"}, + {"2001:550:2a02::/39", "174"}, + {"240e:3bb:5600::/34", "4134"}, + {"2804:6784::/32", "269633"}, + {"2806:230:202d::/48", "11888"}, + {"2806:230:3021::/48", "11888"}, + {"240a:a4ec::/32", "143910"}, + {"2801:13:2800::/48", "14080"}, + {"2804:5918:2000::/33", "268169"}, + {"2a03:3500::/32", "13054"}, + {"2a0e:b107:19b1::/48", "206569"}, + {"2c0f:eb00:400::/40", "328962"}, + {"2c0f:f940::/32", "33779"}, + {"240e:9b:f021::/46", "140256"}, + {"2604:f980:5800::/40", "19957"}, + {"2605:5f00::/32", "15257"}, + {"2401:3bc0:601::/39", "137409"}, + {"2408:840c:5200::/40", "17621"}, + {"240a:a283::/32", "143293"}, + {"240e:979:9500::/40", "131325"}, + {"2804:6124::/32", "269215"}, + {"2001:1520:200::/40", "20738"}, + {"2404:ea80:d21::/32", "135373"}, + {"2408:8956:6a00::/40", "17622"}, + {"2408:8957:f140::/40", "17816"}, + {"2600:1417:68::/47", "20940"}, + {"2804:4dcc:6000::/32", "52856"}, + {"2804:7da4::/32", "61605"}, + {"2a02:3c0::/29", "44065"}, + {"2a11:7500::/29", "42375"}, + {"2001:559:87fe::/48", "7015"}, + {"2607:f220:10::/44", "19050"}, + {"2800:bf0:8268::/45", "52257"}, + {"2804:42e0::/32", "267533"}, + {"2a01:5041:400b::/48", "202196"}, + {"2403:fa40:2::/48", "23858"}, + {"2404:c400::/37", "9328"}, + {"240a:a880::/32", "144826"}, + {"240a:aa8a::/32", "145348"}, + {"2600:5c00:2304::/48", "3456"}, + {"2600:6c7f:90a0::/48", "20115"}, + {"2600:d800::/31", "13804"}, + {"2a00:14e8::/29", "25358"}, + {"240a:ae77::/32", "146353"}, + {"2606:7640::/32", "54502"}, + {"2a12:2a80::/29", "204790"}, + {"2001:559:c258::/48", "33651"}, + {"2600:1fa0:e040::/44", "16509"}, + {"2620:124:5000::/40", "19523"}, + {"2001:4860::/35", "15169"}, + {"2400:cb00:403::/44", "13335"}, + {"2404:f4c0:f402::/48", "209218"}, + {"2620:a2:e000::/48", "399273"}, + {"2804:2e3c::/32", "265334"}, + {"2a00:6920:e000::/39", "42003"}, + {"2001:1248:5bb6::/41", "11172"}, + {"2405:84c0:fadf::/42", "9886"}, + {"2406:d501::/44", "136557"}, + {"2a03:32c0:16::/48", "29555"}, + {"2a05:f7c0::/29", "43260"}, + {"2001:559:846e::/48", "33287"}, + {"2001:579:b914::/41", "22773"}, + {"240a:abf3::/32", "145709"}, + {"2a00:d8c0::/48", "31138"}, + {"2402:5300:4004::/42", "45903"}, + {"2409:8069:2c00::/30", "9808"}, + {"2409:8752:f00::/35", "56047"}, + {"2001:559:40b::/45", "33659"}, + {"2a00:1628::/32", "21360"}, + {"2a02:cb80:2120::/48", "43766"}, + {"2602:107:1110::/48", "33363"}, + {"2604:5500:800::/42", "19165"}, + {"2804:3454::/32", "265451"}, + {"2a01:4640:100::/38", "9042"}, + {"2a02:ee80:4025::/44", "3573"}, + {"2402:e280:3d98::/47", "134674"}, + {"2406:3003:3030::/41", "55430"}, + {"2409:8924:8f00::/35", "56046"}, + {"240a:a1d7::/32", "143121"}, + {"2605:8bc0:3462::/48", "26695"}, + {"2a05:f8c0::/29", "49940"}, + {"2408:8459:8630::/41", "17622"}, + {"240a:ab07::/32", "145473"}, + {"2605:2800:8300::/48", "14373"}, + {"2607:fb91:2000::/36", "21928"}, + {"2801:18c::/48", "10753"}, + {"2804:6f14::/32", "270637"}, + {"2a02:22e0::/32", "38987"}, + {"2a02:af80::/29", "39440"}, + {"2a03:53a0::/32", "31736"}, + {"2a04:71c7::/32", "206583"}, + {"2604:ff00:b000::/44", "36271"}, + {"2804:2d30::/32", "265265"}, + {"2a0a:7c40::/32", "205925"}, + {"2a0d:2146:be00::/43", "50801"}, + {"2400:8800::/39", "3491"}, + {"2804:3e44::/34", "266584"}, + {"2001:67c:200::/48", "51038"}, + {"2001:df6:7900::/48", "135843"}, + {"2800:160:2cc3::/43", "14259"}, + {"2001:678:998::/48", "200288"}, + {"2404:ec00::/32", "18081"}, + {"2604:1300:4000::/34", "3833"}, + {"2804:250::/32", "262803"}, + {"2804:3d54::/32", "266268"}, + {"2a11:1b00::/29", "210967"}, + {"2001:67c:24b0::/48", "50905"}, + {"2001:67c:2858::/48", "8304"}, + {"240a:a555::/32", "144015"}, + {"2600:140f:3a00::/48", "9498"}, + {"2604:d600:c54::/42", "32098"}, + {"2804:14d:4cd2::/45", "28573"}, + {"240e:44d:5c80::/41", "4134"}, + {"2602:80a::/40", "2722"}, + {"2620:13f:f000::/44", "397687"}, + {"2a02:5180::/32", "43247"}, + {"2a03:2880:4000::/32", "32934"}, + {"2a03:32a0::/32", "198225"}, + {"2a0c:c00:400::/41", "208402"}, + {"2a0e:46c4:2c25::/48", "137509"}, + {"2001:559:577::/48", "7015"}, + {"2400:70c0::/32", "58507"}, + {"2402:800:5b2b::/43", "7552"}, + {"2804:7e08::/32", "271598"}, + {"2a00:dcc0::/32", "34971"}, + {"2a02:26f7:f9c9::/42", "20940"}, + {"2607:f778::/32", "32035"}, + {"2804:22f8::/32", "264135"}, + {"2a03:1980:d113::/48", "61029"}, + {"2a07:85c3::/48", "174"}, + {"2a0a:3380::/29", "16353"}, + {"2a0d:3b80::/29", "39384"}, + {"2a0d:ca47:3::/36", "8423"}, + {"2a10:cc44:112::/48", "59922"}, + {"2620:0:2ed0::/48", "26711"}, + {"2620:125:4008::/45", "394812"}, + {"2804:e30:400::/45", "11338"}, + {"2a02:26f7:f004::/48", "36183"}, + {"2001:250:6007::/48", "24364"}, + {"2001:550:1:d::/55", "174"}, + {"2001:67c:135c::/48", "12552"}, + {"2001:67c:136c::/48", "60384"}, + {"2a02:26f7:cf05::/46", "20940"}, + {"2a02:26f7:e74c::/48", "36183"}, + {"2001:1b70:b3::/48", "6461"}, + {"2405:7f00:8520::/36", "133414"}, + {"240a:2:d90::/44", "9605"}, + {"240c:4000::/24", "38365"}, + {"2600:140b:7400::/48", "31109"}, + {"2602:fd21:800::/37", "398488"}, + {"2801:80:350::/48", "262524"}, + {"2a02:2498:53aa::/48", "13213"}, + {"2a02:26f7:30::/48", "36183"}, + {"2a06:ecc0::/29", "12552"}, + {"2a0a:ec02:902::/48", "42692"}, + {"2600:1017:a400::/44", "22394"}, + {"2804:894::/32", "262379"}, + {"2a0a:e5c1:500::/38", "207996"}, + {"2402:2f00::/32", "58434"}, + {"2404:b9c0::/32", "137409"}, + {"2620:160:e720::/44", "4196"}, + {"2001:4c88::/32", "49100"}, + {"2800:160:1855::/46", "14259"}, + {"2803:f7a0::/32", "267783"}, + {"2a00:1e50:8000::/33", "204273"}, + {"2803:9800:a501::/45", "11664"}, + {"2804:4308::/32", "267544"}, + {"2a00:1db8::/29", "34659"}, + {"2a02:26f7:4b::/48", "20940"}, + {"2a0d:77c7:2241::/35", "7489"}, + {"2a0f:8e40::/29", "200602"}, + {"2409:8c54:b010::/28", "56040"}, + {"2600:140b:2601::/39", "20940"}, + {"2a02:2668:6200::/37", "16345"}, + {"2001:559:205::/48", "20214"}, + {"2001:559:284::/48", "33657"}, + {"2406:cb40::/48", "395092"}, + {"2804:df8::/32", "52532"}, + {"2a0a:3980:9::/48", "198949"}, + {"2a0d:2587:c200::/48", "7721"}, + {"2001:559:8050::/47", "33491"}, + {"2001:559:8352::/48", "33660"}, + {"2404:f340:4000::/34", "139190"}, + {"240a:a23f::/32", "143225"}, + {"2607:f740:19::/48", "36236"}, + {"2607:ff00:500::/40", "11572"}, + {"2800:bf0:3a00::/46", "52257"}, + {"2804:3424::/32", "265438"}, + {"2a0b:4d07:701::/46", "44239"}, + {"2a0f:b100:100::/40", "210118"}, + {"2001:559:160::/48", "20214"}, + {"2804:7c7c:e00::/32", "271499"}, + {"2a11:48c0::/29", "24940"}, + {"2001:ee0:ea00::/40", "45899"}, + {"2400:3460::/32", "131812"}, + {"240a:af7c::/32", "146614"}, + {"2804:a48::/32", "263084"}, + {"2804:1f38::/32", "268118"}, + {"2a10:cc42:137e::/40", "20473"}, + {"2001:559:38::/45", "7922"}, + {"240a:a3e6::/32", "143648"}, + {"2a0b:4340:530::/41", "131477"}, + {"2a02:ee80:4070::/46", "3573"}, + {"2a04:9600::/29", "199766"}, + {"2804:2514::/32", "264259"}, + {"2001:559:58a::/47", "7922"}, + {"2001:67c:90c::/48", "41294"}, + {"240a:a1ee::/32", "143144"}, + {"2804:2a60:ff00::/40", "263089"}, + {"2a0a:2640::/29", "200428"}, + {"2a02:da8::/32", "39906"}, + {"2a02:4bc0::/32", "20618"}, + {"2001:df1:7e00::/48", "135300"}, + {"2001:fd8:f330::/44", "4775"}, + {"2600:1fa0:8120::/44", "16509"}, + {"2800:bf0:3024::/43", "27947"}, + {"2804:14d:2c84::/42", "28573"}, + {"2a05:3240::/29", "59780"}, + {"2a09:4dc0::/32", "196822"}, + {"2600:14c0::/45", "21342"}, + {"2620:149:65::/43", "714"}, + {"2a0c:9a40:1010::/45", "202479"}, + {"2001:579:b950::/40", "22773"}, + {"2001:ee0:d540::/36", "45899"}, + {"2403:1ec0:1610::/48", "4812"}, + {"2001:2a8::/32", "7670"}, + {"2001:388:608d::/35", "7575"}, + {"2406:7900:7226::/48", "132300"}, + {"2a00:1728:20::/55", "31490"}, + {"2001:67c:98::/48", "15600"}, + {"2001:1248:5965::/44", "11172"}, + {"2402:1200:156::/32", "24523"}, + {"2604:e180:5206::/32", "55002"}, + {"2607:f220::/44", "26810"}, + {"2804:73d8::/32", "270941"}, + {"2806:286:6000::/32", "265524"}, + {"2a0e:a680::/48", "8767"}, + {"2401:d800:cc0::/42", "7552"}, + {"2408:841a::/29", "4837"}, + {"2605:6800::/32", "11996"}, + {"2a07:e300::/29", "43341"}, + {"2001:559:15e::/48", "33659"}, + {"2604:d600:1c0b::/43", "32098"}, + {"2804:214:2::/44", "26615"}, + {"2001:550:10d::/38", "174"}, + {"2405:5540::/32", "133676"}, + {"2a02:4e0:2300::/42", "16135"}, + {"2404:7940::/32", "58593"}, + {"240a:ad89::/32", "146115"}, + {"240c:c781::/32", "24367"}, + {"2600:370f:37e1::/45", "32261"}, + {"2600:8808:4000::/31", "22773"}, + {"2607:fdf0:5ef2::/45", "8008"}, + {"2804:1088:8000::/33", "52913"}, + {"2804:3488::/32", "262766"}, + {"2404:f4c0:f944::/47", "142551"}, + {"2a00:8780::/32", "8829"}, + {"2a01:198:ff00::/40", "60781"}, + {"2a02:26f0:cd00::/48", "34164"}, + {"2a02:26f7:dc0d::/42", "20940"}, + {"2c0f:f5d8::/32", "37381"}, + {"2001:57a:7002::/45", "22773"}, + {"2408:84e2:200::/40", "17621"}, + {"2800:b10:10::/48", "27884"}, + {"2803:abc0::/48", "265632"}, + {"2804:20f0::/32", "264522"}, + {"2a0b:3100::/39", "12859"}, + {"2a10:c941:101::/30", "35277"}, + {"2001:559:c436::/48", "7016"}, + {"2406:daa0:6020::/44", "16509"}, + {"2408:8957:5d00::/40", "17816"}, + {"240e:438:6420::/43", "140647"}, + {"2604:bd40::/32", "395236"}, + {"2804:13b0::/44", "263546"}, + {"2804:6558::/32", "269484"}, + {"2a03:80c0::/47", "210079"}, + {"2a0d:2146:8040::/48", "209864"}, + {"2a0d:9b00::/32", "207498"}, + {"2605:4580:3141::/46", "14299"}, + {"2800:bf0:3440::/45", "52257"}, + {"2804:5538::/32", "268697"}, + {"2806:230:2016::/48", "265594"}, + {"2402:800:f192::/41", "7552"}, + {"240a:a051::/32", "142731"}, + {"240e:3b8:1200::/39", "4134"}, + {"2a02:26f7:f581::/46", "20940"}, + {"2a06:1a00::/33", "39824"}, + {"2804:a14::/34", "262342"}, + {"2a04:ff00:501::/40", "206607"}, + {"2001:388:c5::/42", "7575"}, + {"2001:4878:151::/48", "12222"}, + {"2401:1d40:4000::/32", "59019"}, + {"2403:e800:80c::/39", "4637"}, + {"2404:bf40:a182::/42", "139084"}, + {"2600:1f13::/36", "16509"}, + {"2800:160:1c9f::/42", "14259"}, + {"2804:4404::/32", "267616"}, + {"2a01:8480:2005::/32", "15704"}, + {"2408:80e3:8000::/33", "4837"}, + {"2804:7f58::/32", "271682"}, + {"2405:4803:c4e::/40", "18403"}, + {"2001:678:978::/48", "209347"}, + {"2405:1500::/42", "58717"}, + {"2409:8924:7300::/37", "56046"}, + {"240e:44d:5400::/42", "140345"}, + {"2c0f:fd20::/32", "36909"}, + {"2800:bf0:2820::/44", "52257"}, + {"2803:5c40::/32", "263796"}, + {"2a01:97a0::/32", "34702"}, + {"2001:438:fffd:127::/46", "6461"}, + {"2001:559:c307::/48", "33657"}, + {"2001:1a11:122::/45", "8781"}, + {"2408:8656:3b00::/37", "17816"}, + {"2a0c:5540::/43", "204020"}, + {"2400:1c00:f0::/44", "45143"}, + {"240a:a413::/32", "143693"}, + {"240a:abcc::/32", "145670"}, + {"2804:4858::/32", "267115"}, + {"2a02:26f7:bec8::/48", "36183"}, + {"2001:250:84d::/46", "23910"}, + {"2001:550:5b00:3::/37", "174"}, + {"2001:559:228::/43", "33491"}, + {"2a07:3500:1060::/47", "208240"}, + {"2a0d:a280::/29", "206487"}, + {"2804:6440::/32", "269416"}, + {"2a03:97e0::/32", "203673"}, + {"2a07:85c0::/48", "174"}, + {"2a0a:c980::/29", "48596"}, + {"2001:559:372::/48", "13367"}, + {"240e:e1:1000::/33", "4134"}, + {"2604:c400::/32", "30350"}, + {"2620:81:c000::/48", "393420"}, + {"2804:2930::/32", "264002"}, + {"2a04:4e40:b200::/48", "54113"}, + {"2001:da8:6f01::/40", "23910"}, + {"2001:44b8:3b::/48", "4739"}, + {"2600:1000::/44", "6167"}, + {"2607:f438::/32", "23520"}, + {"2804:4358::/32", "267564"}, + {"2001:678:980::/48", "35675"}, + {"2401:4900:5110::/44", "45609"}, + {"2405:ce00::/32", "7575"}, + {"2408:8459:bc30::/41", "17622"}, + {"2604:2380::/32", "33029"}, + {"2a02:26f7:d385::/46", "20940"}, + {"2a03:6940::/32", "61266"}, + {"2001:de8:13::/48", "55822"}, + {"2001:4998:1b1::/44", "10310"}, + {"2806:104e:3::/45", "8151"}, + {"2a02:26f7:bb::/48", "20940"}, + {"2a03:af80::/29", "16342"}, + {"2001:fb0:109f:8006::/64", "7470"}, + {"2001:4479:900::/35", "7545"}, + {"2401:d800:53c0::/42", "7552"}, + {"2600:9000:1e0c::/48", "16509"}, + {"2606:4700:8d90::/44", "13335"}, + {"2a06:c980::/29", "13287"}, + {"2a09:d880::/48", "209680"}, + {"2a02:c740::/30", "24978"}, + {"2a07:8140::/36", "49690"}, + {"2405:7f00:3203::/45", "133414"}, + {"240a:a20f::/32", "143177"}, + {"2804:4bd8:600::/33", "267332"}, + {"2806:2f0:21e0::/48", "17072"}, + {"2a04:7c0:1::/45", "61135"}, + {"2400:dbc0::/32", "133255"}, + {"2600:1014:b0d0::/42", "6167"}, + {"2a03:49e0::/32", "58260"}, + {"2a0e:97c0:720::/48", "208779"}, + {"2408:8206:19d0::/32", "4808"}, + {"2409:8a52:500::/38", "56047"}, + {"2800:440:2000::/42", "27738"}, + {"2803:6910::/32", "272004"}, + {"2804:214:8018::/45", "26615"}, + {"2a02:26f7:cc89::/46", "20940"}, + {"2a02:46e0::/39", "60049"}, + {"2001:250:209::/48", "24348"}, + {"2001:4479:c000::/36", "7545"}, + {"2402:800:6239::/41", "7552"}, + {"2409:805f:3900::/26", "9808"}, + {"2a0f:e1c3::/29", "60781"}, + {"2407:c00::/33", "45356"}, + {"240a:a3c5::/32", "143615"}, + {"2602:fbf1:20::/40", "38136"}, + {"2605:dd40:9000::/33", "398549"}, + {"2804:8f4:3000::/40", "52875"}, + {"2001:428:4408::/36", "209"}, + {"2a02:23a0::/32", "13287"}, + {"2001:67c:2204:607::2ffa:1/48", "24708"}, + {"2408:8956:a800::/40", "17622"}, + {"240a:a7db::/32", "144661"}, + {"240a:a7fa::/32", "144692"}, + {"2600:1488:a301::/41", "20940"}, + {"2620:46:2000::/48", "13535"}, + {"2804:fac::/32", "263598"}, + {"2001:4d0:6118::/48", "10343"}, + {"240e:95d:2800::/37", "139316"}, + {"2a0e:8f02:2130::/48", "211722"}, + {"2a0f:de40::/48", "60781"}, + {"240a:aa1a::/32", "145236"}, + {"2606:34c0:1::/48", "398810"}, + {"2800:440:240::/48", "27738"}, + {"2804:79bc::/32", "271324"}, + {"2a04:4280:30::/48", "43260"}, + {"2a0b:6440::/29", "41779"}, + {"2a0d:5bc0::/32", "210252"}, + {"2001:428:b22::/45", "209"}, + {"2001:559:c38d::/48", "22909"}, + {"2001:df7:80::/48", "136697"}, + {"2a0c:b381::/37", "204731"}, + {"2a0d:f80::/29", "58273"}, + {"2a01:c50e:9800::/38", "12479"}, + {"2a02:d4e0::/30", "197491"}, + {"2401:d800:9d30::/41", "7552"}, + {"240a:abc1::/32", "145659"}, + {"2600:5000::/30", "7029"}, + {"2604:ae00:3::/48", "4452"}, + {"2a09:da00::/32", "35913"}, + {"2409:8008:3900::/32", "24547"}, + {"240a:af24::/32", "146526"}, + {"2605:a404:cd0::/42", "33363"}, + {"2804:774::/38", "52858"}, + {"2a05:d050:6080::/44", "16509"}, + {"2001:df1:d400::/47", "133904"}, + {"2001:44b8:30e5::/44", "7545"}, + {"2806:2f0:22::/48", "22884"}, + {"2a01:5043:2000::/48", "202196"}, + {"2605:5440::/44", "23328"}, + {"2605:bb00:1002::/47", "4213"}, + {"2620:1ec:c12::/38", "8075"}, + {"2a00:8c60:2::/48", "60432"}, + {"2a01:b740:a02::/48", "6185"}, + {"2a0d:5600:34::/46", "9009"}, + {"2001:480:24::/44", "668"}, + {"2001:559:2a1::/46", "7015"}, + {"2001:67c:618::/48", "199061"}, + {"2001:43f8:160::/48", "37170"}, + {"2408:8456:5240::/39", "17816"}, + {"240e:108:82::/48", "58461"}, + {"2a02:40c0::/36", "60781"}, + {"2a06:a001:a030::/48", "211481"}, + {"2a09:6140::/29", "50107"}, + {"2001:559:8452::/47", "33287"}, + {"2001:df6:1500::/48", "134003"}, + {"2400:cb00:a146::/48", "13335"}, + {"2405:f600:41::/44", "45117"}, + {"240a:a533::/32", "143981"}, + {"2607:b080::/38", "29838"}, + {"2804:3894::/32", "266487"}, + {"2620:137:8::/48", "396253"}, + {"2804:5534:4000::/43", "268696"}, + {"2806:2f0:62a0::/35", "17072"}, + {"2a02:cb80:2a10::/48", "43766"}, + {"2a07:5900::/39", "203014"}, + {"2a10:c800::/47", "56322"}, + {"2400:1a00:b041::/39", "17501"}, + {"2409:8904:5060::/39", "24547"}, + {"240a:af10::/32", "146506"}, + {"2606:a780::/32", "394437"}, + {"2607:e880:55::/48", "13602"}, + {"2a02:2588::/29", "28851"}, + {"2a04:6480::/29", "39923"}, + {"2a10:3040::/30", "208256"}, + {"2001:550:3801::/38", "174"}, + {"2403:2700:10::/48", "38500"}, + {"2a02:26f7:d785::/46", "20940"}, + {"2a0a:af00::/29", "206955"}, + {"2a0b:f200::/32", "207031"}, + {"2001:678:a98::/48", "208702"}, + {"2602:fbfa::/36", "400270"}, + {"2620:18:c000::/48", "39287"}, + {"2804:8070::/32", "271750"}, + {"2a07:d840::/29", "210107"}, + {"2a0d:2bc0::/48", "43260"}, + {"2a00:6340::/33", "58299"}, + {"2a01:8840:e::/48", "12287"}, + {"2a02:ad8:204::/35", "12389"}, + {"2a06:6541:2003::/48", "397568"}, + {"2406:3000:35:100::/48", "16625"}, + {"2602:ff2e::/36", "21694"}, + {"2a00:df0::/32", "28717"}, + {"2600:140f:e800::/48", "12222"}, + {"2806:2f0:9521::/46", "17072"}, + {"2001:1890:1fff:103::/64", "6461"}, + {"2400:fc00:81b0::/38", "45773"}, + {"2b0d:6f84::/30", "37268"}, + {"2401:d800:f0a2::/39", "7552"}, + {"240a:ab30::/32", "145514"}, + {"2607:f9f1::/46", "22205"}, + {"2800:1e0:2::/36", "7195"}, + {"2801:1fc:1a::/48", "27951"}, + {"2804:29a0::/32", "28219"}, + {"2a0b:ee80::/29", "51395"}, + {"2001:418:1401:2c::/64", "20940"}, + {"2001:559:c31b::/48", "7016"}, + {"2405:9000:90::/48", "17719"}, + {"240e:979:2e00::/40", "134770"}, + {"2607:6980:e030::/44", "136620"}, + {"2a0e:b107:159b::/48", "142598"}, + {"2408:8256:196::/38", "17622"}, + {"2600:100b:f110::/36", "6167"}, + {"2806:20d:1908::/43", "32098"}, + {"2a05:4680::/29", "57902"}, + {"2001:559:4d6::/48", "22909"}, + {"2001:678:d50::/48", "213204"}, + {"2001:43f8:1400::/48", "328650"}, + {"2401:b780:6a::/33", "45410"}, + {"2605:d7c0::/32", "207976"}, + {"2a0b:a900::/30", "206712"}, + {"2001:1248:5696::/41", "11172"}, + {"2001:4ce8::/32", "250"}, + {"2403:600::/32", "135391"}, + {"2604:6780::/32", "13694"}, + {"2804:45e4:7c10::/39", "262567"}, + {"2a02:26f7:da44::/48", "36183"}, + {"2c0f:f7c0:3001::/32", "30986"}, + {"2804:85b4::/32", "272595"}, + {"2a02:ed04::/39", "50304"}, + {"2a0e:b107:9d7::/48", "213262"}, + {"2001:43f8:c70::/48", "328030"}, + {"2401:47c0:1b00::/37", "41095"}, + {"2605:ef80:16::/42", "36492"}, + {"2804:45a8::/32", "266941"}, + {"2001:559:8165::/48", "33654"}, + {"2001:559:111::/48", "33287"}, + {"2001:67c:710::/48", "197933"}, + {"2404:f801:802c::/48", "45139"}, + {"240e:67b:c200::/39", "140329"}, + {"2600:9000:2000::/44", "16509"}, + {"2806:230:6010::/48", "265594"}, + {"2a00:79a0::/36", "60771"}, + {"2a02:23e0::/32", "35393"}, + {"2a03:d640::/32", "24713"}, + {"2001:388:d::/42", "7575"}, + {"2600:6c2e:fd4::/32", "20115"}, + {"2604:200::/45", "33132"}, + {"2800:c20::/32", "28110"}, + {"2804:18:10e0::/43", "26599"}, + {"2806:20d:5b03::/45", "32098"}, + {"2a01:8180:1000::/36", "21150"}, + {"2a0f:2bc0::/29", "60262"}, + {"2001:559:c1b0::/48", "22909"}, + {"2400:c600:3320::/41", "24389"}, + {"2407:a2c0::/32", "63791"}, + {"2602:feb0::/36", "174"}, + {"2606:8740:1000::/40", "26968"}, + {"2a0b:7140:1::/48", "207408"}, + {"2001:67c:24d8::/48", "204228"}, + {"240a:a9ec::/32", "145190"}, + {"2605:9880::/38", "23470"}, + {"2804:469c::/33", "267000"}, + {"2804:4ef8::/33", "268295"}, + {"2a02:80::/29", "34244"}, + {"2a0b:9b40::/29", "202120"}, + {"2001:559:c49e::/48", "7725"}, + {"2001:559:c4a4::/48", "33651"}, + {"2001:1900:224e::/43", "3356"}, + {"2409:8704:300::/37", "24547"}, + {"2a01:758:fff9::/45", "3326"}, + {"2a02:26f7:f78d::/46", "20940"}, + {"2a0a:7640::/30", "206049"}, + {"2402:800:6310::/40", "7552"}, + {"2402:b400:41b0::/41", "45960"}, + {"2604:ca00:1100::/44", "36492"}, + {"2a05:dfc7:8::/48", "200897"}, + {"2c0f:3600:100::/38", "328855"}, + {"2403:1380::/32", "133421"}, + {"2408:8256:3d8a::/48", "17623"}, + {"2801:80:1af0::/48", "266373"}, + {"2804:104c:a000::/40", "263629"}, + {"2a0d:12c0:2000::/48", "205804"}, + {"2400:8480:3010::/42", "133385"}, + {"240a:a2d2::/32", "143372"}, + {"2602:fd53::/36", "395611"}, + {"2804:7b64::/32", "271429"}, + {"2a02:2048::/32", "1342"}, + {"2a0e:2740::/29", "208093"}, + {"2c0f:f2b0::/32", "328049"}, + {"2001:1388:7aa1::/39", "6147"}, + {"2409:8a5c::/33", "9808"}, + {"240a:a662::/32", "144284"}, + {"240e:d:b000::/37", "136191"}, + {"2806:2f0:4423::/41", "17072"}, + {"2620:98:e00e::/48", "399728"}, + {"2804:3a7c::/32", "266092"}, + {"2a00:12f8:410::/32", "9198"}, + {"2a02:26f7:f0c1::/46", "20940"}, + {"2a03:2887:ff4a::/47", "63293"}, + {"2001:df7:e080::/48", "137165"}, + {"2407:a180:1c9::/48", "131758"}, + {"240e:3b2:c800::/37", "4134"}, + {"2804:15a4::/35", "263400"}, + {"2806:2f0:3561::/46", "17072"}, + {"2a03:11a0:1::/48", "201684"}, + {"2a0e:a880::/36", "51561"}, + {"2600:9000:1170::/46", "16509"}, + {"2804:34:2007::/42", "28306"}, + {"2804:7ba4::/32", "271445"}, + {"2a0f:21c0::/29", "60262"}, + {"2a0f:8400::/32", "208210"}, + {"2001:559:135::/48", "33661"}, + {"2001:559:705::/48", "33659"}, + {"2402:8100:3840::/42", "45271"}, + {"2408:8647:1200::/28", "4837"}, + {"2620:ed::/48", "3660"}, + {"2804:18:6050::/45", "26599"}, + {"2a07:940::/29", "201127"}, + {"2001:559:c3c8::/48", "33651"}, + {"2401:47c0:1700::/36", "41095"}, + {"2404:ba00:4::/48", "17665"}, + {"240e:44d:2c00::/42", "140345"}, + {"2603:f7b0::/29", "396356"}, + {"2a0c:b641:7a1::/46", "207268"}, + {"2001:57a:aa09::/35", "22773"}, + {"2001:4350:3002::/32", "2609"}, + {"2402:7500:faff::/48", "24158"}, + {"2602:fe54::/43", "16584"}, + {"2804:2144:1000::/32", "52795"}, + {"2a01:8840:c2::/45", "12041"}, + {"2a02:26f7:b7::/48", "20940"}, + {"2001:559:c510::/48", "33287"}, + {"2404:c900:8::/46", "58682"}, + {"2a00:1730::/32", "25549"}, + {"2a01:c50f:e140::/37", "12479"}, + {"2804:5c44::/32", "268898"}, + {"2408:8406::/39", "4808"}, + {"2a0b:efc0:401::/32", "60893"}, + {"2001:4878:c220::/48", "12222"}, + {"2402:800:fca0::/39", "7552"}, + {"2806:2f0:31e1::/46", "17072"}, + {"2806:2f0:9941::/46", "17072"}, + {"2a0a:a400::/29", "64444"}, + {"2a11:3bc0::/29", "212238"}, + {"2001:559:715::/48", "33490"}, + {"2001:44b8:406b::/48", "4739"}, + {"2403:9800:6000::/40", "4771"}, + {"2406:2000:e4::/46", "56173"}, + {"2620:11a:40b0::/48", "7014"}, + {"2804:6474:c000::/34", "269429"}, + {"2a01:8840:2e::/43", "12041"}, + {"2a0e:97c0:6b0::/44", "210076"}, + {"2804:4e8c::/32", "268268"}, + {"2804:70c0:32::/48", "270746"}, + {"2400:201::/48", "4766"}, + {"2407:c940:2103::/32", "48024"}, + {"2600:9000:20a1::/44", "16509"}, + {"2806:230:5009::/48", "11888"}, + {"2806:250:1::/45", "28509"}, + {"2a01:9bc0::/29", "39686"}, + {"2a02:26f7:c185::/46", "20940"}, + {"2406:e00:800::/48", "55740"}, + {"2a00:1ca0::/34", "21413"}, + {"240a:aebf::/32", "146425"}, + {"240e:3b9:c800::/37", "4134"}, + {"2602:250::/28", "46690"}, + {"2804:3d28:a::/45", "7063"}, + {"2a02:2068:a000::/29", "15830"}, + {"2a02:26f7:df09::/42", "20940"}, + {"2600:1010:9f00::/44", "6167"}, + {"2602:fd92:a00::/40", "39618"}, + {"2804:52f4:a70::/40", "268552"}, + {"2001:48a8:68fd::/48", "177"}, + {"2804:20dc::/32", "264517"}, + {"2400:adc0:4000::/46", "9541"}, + {"2405:1c0:6171::/46", "55303"}, + {"240a:aeba::/32", "146420"}, + {"2800:160:1b37::/44", "14259"}, + {"2a00:1278::/32", "12813"}, + {"2a00:ccc0::/31", "57433"}, + {"2c0f:ed68::/32", "328170"}, + {"2001:559:781::/48", "33287"}, + {"2001:ee0:e500::/40", "45899"}, + {"2a02:26f7:c040::/48", "36183"}, + {"2a0d:d6c2::/29", "200350"}, + {"2408:8256:2f8b::/48", "17816"}, + {"2408:8459:9230::/41", "17622"}, + {"2801:1fc:34::/48", "27951"}, + {"2804:3b6c:c004::/46", "265442"}, + {"2a02:26f7:dd05::/46", "20940"}, + {"2001:559:c205::/48", "33491"}, + {"2001:df6:ad80::/48", "142064"}, + {"2606:5580::/47", "63242"}, + {"2804:3eb0::/32", "266615"}, + {"2a0b:d5c1:100::/40", "197202"}, + {"240e:44d:7480::/41", "4134"}, + {"2600:1415:2c01::/38", "20940"}, + {"2804:8080::/32", "271754"}, + {"2806:2f0:6081::/46", "17072"}, + {"2403:f3c0::/32", "131626"}, + {"2406:daa0:e0c0::/44", "16509"}, + {"2408:870c:90::/41", "17621"}, + {"2409:8904:8890::/39", "24547"}, + {"240a:a680::/32", "144314"}, + {"2600:380:a880::/38", "7018"}, + {"2a02:2e02:2630::/41", "12479"}, + {"2a05:bec0:40::/48", "44486"}, + {"2001:559:402::/47", "33287"}, + {"2401:d100::/44", "18705"}, + {"240e:964:3000::/37", "133775"}, + {"2600:140b:4c01::/35", "20940"}, + {"2608:c143:1::/48", "27066"}, + {"2a01:c9c0:c1::/46", "8891"}, + {"2001:67c:318::/48", "51608"}, + {"2001:1a11:b0::/47", "8781"}, + {"2604:880:207::/43", "29802"}, + {"2803:2a01:9800::/46", "27895"}, + {"2a0f:ca80:1337::/44", "208046"}, + {"2a10:f8c0::/29", "8387"}, + {"2402:800:52ee::/39", "7552"}, + {"2402:800:5771::/44", "7552"}, + {"2402:9e80:2a::/48", "140224"}, + {"2402:e380:12d::/43", "139073"}, + {"2607:f428:9350::/44", "11351"}, + {"2a00:d540::/29", "49250"}, + {"2a0f:5701:3515::/48", "205593"}, + {"2001:559:c11a::/48", "7015"}, + {"2401:bc40:e303::/48", "136899"}, + {"2620:11e:f000::/48", "6130"}, + {"2804:14c:7700::/40", "28573"}, + {"2404:1a40:200::/32", "9744"}, + {"2408:8459:aa30::/41", "17622"}, + {"2a04:3600::/29", "57487"}, + {"2a04:4e40:9600::/48", "54113"}, + {"2806:2f0:5121::/46", "17072"}, + {"2a00:e580::/29", "25424"}, + {"2401:c340::/46", "56136"}, + {"2401:ce80:1003::/32", "14340"}, + {"2408:84f3:e610::/42", "134543"}, + {"2409:8a3c:1400::/33", "24444"}, + {"2604:df40::/32", "394991"}, + {"2001:559:10b::/48", "7016"}, + {"2001:559:8764::/47", "33659"}, + {"2001:fd8:1a0::/48", "132199"}, + {"2001:1388:2f06::/44", "6147"}, + {"2409:821e::/31", "24400"}, + {"240a:af4d::/32", "146567"}, + {"2a02:26f7:da0d::/46", "20940"}, + {"2a02:26f7:ea09::/42", "20940"}, + {"2a07:a900::/29", "46261"}, + {"2001:67c:738::/48", "43139"}, + {"2001:da8:3010::/48", "24358"}, + {"2400:cb00:270::/48", "13335"}, + {"2801:1e4::/42", "27951"}, + {"2001:559:1b9::/46", "33652"}, + {"2800:160:17fa::/45", "14259"}, + {"2801:140:eeee::/48", "264798"}, + {"2a01:4c8::/32", "12576"}, + {"2a02:888:8240::/46", "48695"}, + {"2a11:3::/29", "8888"}, + {"2402:b940:200::/39", "138538"}, + {"2c0f:f388::/32", "37004"}, + {"2001:18b8:124::/32", "29789"}, + {"2401:4900:c00::/43", "45609"}, + {"2408:8956:3500::/40", "17816"}, + {"2a02:ee80:4285::/44", "3573"}, + {"2001:4210:980d::/43", "25818"}, + {"2600:1806:119::/48", "16552"}, + {"2607:f428:91b0::/41", "20115"}, + {"2a02:2398::/46", "9166"}, + {"2001:dc7:5df8::/45", "24151"}, + {"2001:559:815f::/48", "7015"}, + {"240a:aaef::/32", "145449"}, + {"240e:44d:2880::/41", "4134"}, + {"2803:2200::/32", "263174"}, + {"2a02:26f7:e580::/48", "36183"}, + {"2a10:31c0::/30", "208256"}, + {"2409:8054:3020::/47", "9808"}, + {"2607:f480:24::/48", "27435"}, + {"2a0f:4d80::/29", "201847"}, + {"2604:6600:e900::/40", "201106"}, + {"2804:487c::/32", "267124"}, + {"2804:542c:8000::/36", "268633"}, + {"2a02:26f7:f000::/48", "36183"}, + {"2409:8c44:801::/38", "24445"}, + {"2602:ffa6:300::/46", "62731"}, + {"2a02:26f7:f7d0::/48", "36183"}, + {"2a02:2af8:220::/37", "702"}, + {"2a0f:b100:200::/40", "201281"}, + {"2001:67c:2ce8::/48", "199508"}, + {"2620:121:a000::/44", "6082"}, + {"240a:a90f::/32", "144969"}, + {"2600:1409:9001::/36", "20940"}, + {"2a00:5f40::/29", "8469"}, + {"2a01:b200::/32", "44185"}, + {"240e:44d:2780::/41", "4134"}, + {"240e:938:f910::/44", "139462"}, + {"2804:194::/32", "53131"}, + {"2804:1f26:ca5a::/48", "265020"}, + {"2404:bf40:a583::/45", "7545"}, + {"2605:6300::/32", "27026"}, + {"2001:559:717::/48", "33659"}, + {"2402:800:9a9b::/42", "7552"}, + {"240a:a7bc::/32", "144630"}, + {"2607:f750:7000::/40", "23473"}, + {"2803:6700:220::/48", "263210"}, + {"2804:3108::/32", "264988"}, + {"2a00:8000::/32", "200707"}, + {"2a02:502::/32", "5538"}, + {"2a0d:49c0::/29", "43260"}, + {"2804:17c4::/32", "263250"}, + {"2a01:9d20::/29", "39611"}, + {"2402:e380:13f::/40", "139073"}, + {"2600:806:100::/48", "12234"}, + {"2602:ffc5:110::/44", "40676"}, + {"240a:aa87::/32", "145345"}, + {"240e:438:9640::/36", "4134"}, + {"2602:feb4:240::/44", "25961"}, + {"2607:f058::/34", "22302"}, + {"2803:6700:1000::/40", "263210"}, + {"2804:74::/32", "28338"}, + {"2804:22d8:8000::/33", "264126"}, + {"2a01:8840:11::/48", "13657"}, + {"2a02:26f7:ed08::/48", "36183"}, + {"2001:559:1a3::/48", "7922"}, + {"2001:559:c40b::/45", "7015"}, + {"2001:678:a7c::/48", "200924"}, + {"2602:feda:b9f::/48", "212995"}, + {"2a0a:2b00::/43", "52129"}, + {"2405:8a00::/40", "55824"}, + {"2406:d00::/48", "132165"}, + {"2606:4700:a2::/39", "13335"}, + {"2607:a800:408::/48", "15695"}, + {"2800:200:e2c1::/42", "12252"}, + {"2a10:1240::/29", "15589"}, + {"2a10:f240::/29", "211385"}, + {"2620:74:4f::/43", "7342"}, + {"2803:96c0::/32", "265654"}, + {"2402:800:5c55::/42", "7552"}, + {"2408:862e::/27", "4837"}, + {"240e:978:7100::/36", "4134"}, + {"2606:4840::/32", "399570"}, + {"2400:5ce0::/44", "149522"}, + {"2401:d800:b40::/42", "7552"}, + {"2804:2020::/32", "264470"}, + {"2a00:1588:f800::/37", "43139"}, + {"2a03:2880:f151::/45", "32934"}, + {"2400:adca::/39", "9541"}, + {"2409:8e28::/29", "56041"}, + {"2602:feb4:90::/44", "25961"}, + {"2603:c0e9::/36", "1218"}, + {"2001:44b8:2049::/48", "4739"}, + {"2804:45e4:8100::/33", "262567"}, + {"2a11:7480::/29", "1239"}, + {"2404:b300::/48", "59318"}, + {"2a02:26f7:e648::/48", "36183"}, + {"2a09:8280:14::/42", "40509"}, + {"2a0f:5707:aa10::/46", "208814"}, + {"240a:a363::/32", "143517"}, + {"2600:6c38:8ec::/43", "20115"}, + {"2606:2800:601b::/45", "15133"}, + {"2a0d:a400::/29", "30836"}, + {"2603:c020::/35", "31898"}, + {"2001:559:8603::/48", "33662"}, + {"2001:67c:20a0::/47", "50472"}, + {"2605:72c0:500::/40", "40401"}, + {"2a11:7b40::/29", "210545"}, + {"2001:559:820b::/45", "7016"}, + {"2605:e640::/32", "13370"}, + {"2804:b18:c020::/36", "52941"}, + {"2001:559:c371::/48", "33287"}, + {"2408:8957:c940::/40", "17816"}, + {"240a:a0cc::/32", "142854"}, + {"240a:a883::/32", "144829"}, + {"2607:2a00::/47", "29909"}, + {"2803:6200::/32", "262237"}, + {"2804:7d90:2::/32", "271569"}, + {"2001:418:1401:21::/64", "20940"}, + {"2001:559:835f::/48", "33287"}, + {"2001:559:c38e::/48", "7922"}, + {"2401:1c00:3080::/48", "131298"}, + {"2401:4800:2011::/48", "38457"}, + {"2402:800:7030::/41", "7552"}, + {"2408:8456:8040::/39", "17816"}, + {"240a:a71b::/32", "144469"}, + {"240e:f7:3000::/36", "136190"}, + {"2620:117:7002::/44", "26955"}, + {"2804:39c:6000::/32", "28329"}, + {"2804:f8c:5000::/32", "263591"}, + {"2804:3244:28::/32", "265066"}, + {"2a03:5a00:d::/48", "58319"}, + {"240a:a046::/32", "142720"}, + {"2800:484:5e00::/39", "14080"}, + {"2001:559:81e3::/48", "33652"}, + {"2401:f000::/47", "38477"}, + {"2406:1440:1101::/48", "7630"}, + {"2409:8008:db::/48", "24547"}, + {"240a:a8d0::/32", "144906"}, + {"2600:370f:7468::/40", "32261"}, + {"2804:f4::/32", "26606"}, + {"2a02:26f7:d3c8::/47", "36183"}, + {"2001:448a:5030::/41", "7713"}, + {"2409:806a:100::/36", "9808"}, + {"2602:fcce:f2::/36", "399200"}, + {"2604:a00:1010::/32", "19318"}, + {"2804:4b50::/34", "267297"}, + {"2a03:f80:40::/48", "9009"}, + {"2001:250:2808::/42", "138378"}, + {"2001:6d0:d4::/47", "8985"}, + {"2405:4802:7610::/32", "18403"}, + {"2600:1406:3e::/48", "35994"}, + {"2806:2f0:23e3::/43", "22884"}, + {"2a12:b840::/32", "29119"}, + {"2a01:8840:41::/48", "207266"}, + {"2001:fd8:f1f0::/44", "4775"}, + {"2408:8456:6a40::/39", "17816"}, + {"2801:16:c800::/48", "19429"}, + {"2803:b780:1::/48", "65000"}, + {"2a10:2f01:2b0::/46", "205635"}, + {"2001:250:5073::/48", "23910"}, + {"2401:c5c0::/47", "55492"}, + {"240a:a434::/32", "143726"}, + {"2607:fb90:7f00::/32", "21928"}, + {"2804:175c::/32", "263140"}, + {"2a10:8680::/29", "197071"}, + {"2001:da8:7015::/48", "23910"}, + {"2400:cb00:a710::/48", "13335"}, + {"2401:f880::/32", "133936"}, + {"2402:800:7d40::/42", "7552"}, + {"2408:8459:c50::/38", "17816"}, + {"2600:6c10:fc11::/46", "20115"}, + {"2408:84f3:a610::/42", "134543"}, + {"2804:8608::/32", "272615"}, + {"2001:559:835a::/48", "33287"}, + {"2401:c680:e::/48", "134371"}, + {"240e:44d:1200::/41", "140345"}, + {"2600:6c38:b47::/44", "20115"}, + {"2605:35c0::/36", "6597"}, + {"2607:fd48:200:3::/47", "13536"}, + {"2804:1664::/32", "263285"}, + {"2001:678:bd0::/48", "207631"}, + {"2001:67c:168c::/48", "199217"}, + {"2400:e240::/32", "38247"}, + {"2600:140b:cc00::/48", "24319"}, + {"2620:12c:3000::/44", "3356"}, + {"2a00:1248:501f::/32", "3216"}, + {"2a02:bd8::/32", "8535"}, + {"2a0e:e740::/30", "208338"}, + {"2409:800b:2b04::/47", "9808"}, + {"2a02:d0c2:2::/48", "212414"}, + {"2001:559:5e8::/48", "22909"}, + {"2804:297c:c3c0::/42", "262907"}, + {"2001:440:1880::/48", "1880"}, + {"2001:67c:151c::/48", "210543"}, + {"2a02:26f7:f545::/46", "20940"}, + {"2604:2d80:c030::/34", "30036"}, + {"2407:8b00:1163::/34", "64073"}, + {"2607:ea00::/32", "57"}, + {"2607:fb90:8c00::/35", "21928"}, + {"2620:f:2::/48", "3755"}, + {"2a01:160::/32", "16186"}, + {"2001:4c0:6003::/32", "855"}, + {"2407:8c00:20::/48", "55441"}, + {"2a02:26f7:ef50::/48", "36183"}, + {"2001:678:ce0::/48", "206384"}, + {"2404:1c40:45::/44", "24432"}, + {"2806:36f::/32", "265619"}, + {"2a02:26f7:c9c9::/46", "20940"}, + {"2001:559:c0ff::/48", "33660"}, + {"2001:559:c11b::/48", "33651"}, + {"2600:380:f1e2::/47", "64011"}, + {"2600:6c38:b31::/46", "20115"}, + {"2602:fdfc::/36", "36556"}, + {"2804:5b68::/32", "268841"}, + {"240a:a8ba::/32", "144884"}, + {"2602:fd92:800::/48", "211481"}, + {"2620:103:c006::/44", "14203"}, + {"2a04:e702:97f::/48", "9044"}, + {"2a07:8b00::/29", "202817"}, + {"2001:df7:1500::/48", "135955"}, + {"240a:a233::/32", "143213"}, + {"240e:3b5:2c00::/35", "134774"}, + {"2607:b400:a00::/48", "1312"}, + {"2607:fcf0:2::/45", "13445"}, + {"2800:370:4c::/43", "28006"}, + {"2804:4e58::/32", "268255"}, + {"2001:559:c48e::/48", "33659"}, + {"2001:1980:5400::/34", "29838"}, + {"2402:800:5855::/42", "7552"}, + {"2600:1016:f110::/31", "6167"}, + {"2607:f900::/32", "10823"}, + {"2806:2f0:90a6::/39", "17072"}, + {"2409:8904:5eb0::/39", "24547"}, + {"2600:2601:101::/28", "33362"}, + {"2a02:26f7:e900::/48", "36183"}, + {"2a02:6d40::/32", "42652"}, + {"2a0b:cf00::/32", "208683"}, + {"2a0e:f800::/29", "38919"}, + {"2001:550:4201::/37", "174"}, + {"2001:559:c451::/48", "7016"}, + {"240e:1:a000::/37", "137688"}, + {"2607:f6f8::/35", "30170"}, + {"2001:43f8:ab0::/48", "328093"}, + {"2620:171:51::/48", "715"}, + {"2804:244::/32", "262801"}, + {"2a06:a005:210::/44", "207705"}, + {"2001:500:8f::/48", "26710"}, + {"240a:a257::/32", "143249"}, + {"2a02:b60:4006::/32", "44217"}, + {"2a09:5c80::/29", "40976"}, + {"2001:559:833e::/48", "21508"}, + {"2001:44b8:6051::/45", "4739"}, + {"240a:a006::/32", "142656"}, + {"2a0a:1a40::/32", "38176"}, + {"2001:250:4::/48", "24348"}, + {"2401:7840::/32", "136795"}, + {"2402:d400:d::/32", "17762"}, + {"240e:438:9440::/38", "4134"}, + {"2804:4344::/32", "267559"}, + {"2804:6efc::/32", "270631"}, + {"2a00:4bc0:600::/40", "48263"}, + {"2001:559:8613::/48", "33650"}, + {"2403:f500:4000::/32", "10103"}, + {"2407:65c0::/32", "142272"}, + {"240a:a1d1::/32", "143115"}, + {"2603:fb40::/29", "397165"}, + {"2606:ad00::/32", "25694"}, + {"2801:1fc:32::/48", "27951"}, + {"2a01:c50f:3400::/36", "12479"}, + {"2a0f:27c0::/29", "399975"}, + {"2406:f400::/44", "38001"}, + {"240a:ae00::/32", "146234"}, + {"240e:108:11d8::/48", "134769"}, + {"240e:44d:3c00::/41", "140345"}, + {"2803:c3c0::/32", "27884"}, + {"2a0d:8f40::/29", "208906"}, + {"2001:559:815c::/48", "33287"}, + {"2001:559:8698::/48", "33659"}, + {"2a02:3000::/23", "6805"}, + {"2a11:58c0::/29", "62240"}, + {"2001:559:8489::/48", "33287"}, + {"2001:67c:2634::/48", "197431"}, + {"2401:d800:190::/42", "7552"}, + {"2403:5180:16::/48", "138467"}, + {"2604:6d00:2500::/48", "36223"}, + {"2804:4368:4d0::/42", "267568"}, + {"2a12:49c0::/30", "211444"}, + {"2001:67c:288::/48", "28855"}, + {"2402:800:9247::/43", "7552"}, + {"2403:8e80::/32", "134739"}, + {"240a:a93f::/32", "145017"}, + {"2804:1060::/32", "263632"}, + {"2804:7208::/32", "270828"}, + {"2a0b:c180::/32", "16019"}, + {"2a0e:7d02::/31", "211335"}, + {"2001:4868:4200::/40", "23148"}, + {"2402:4480::/38", "174"}, + {"2404:3280:b::/32", "9287"}, + {"2604:c7c0::/32", "35935"}, + {"2a00:f120::/32", "200026"}, + {"2a03:5120::/40", "6830"}, + {"2600:8804:a000::/30", "22773"}, + {"2a02:698::/32", "34784"}, + {"2a0c:e9c0::/29", "197036"}, + {"2405:da00::/47", "38235"}, + {"2602:107:e600::/40", "20001"}, + {"2606:5cc0:ff01::/45", "36263"}, + {"2606:6240::/46", "398447"}, + {"2a02:26f7:c001::/48", "20940"}, + {"2a04:c880::/32", "208189"}, + {"2600:140f:1800::/48", "9498"}, + {"2803:4be0::/32", "270078"}, + {"2a02:26f7:d2c9::/42", "20940"}, + {"2c0f:eb00:1300::/40", "328962"}, + {"2001:ee0:c540::/38", "45899"}, + {"2408:8459:4cc0::/38", "17816"}, + {"2607:6003:2307::/48", "19181"}, + {"2620:44::/47", "7133"}, + {"2801:80:1d90::/48", "265988"}, + {"2a02:26f7:ea90::/48", "36183"}, + {"2600:6c10:c35::/46", "20115"}, + {"2607:fb90:1f00::/34", "21928"}, + {"2a07:72c0::/29", "57029"}, + {"2001:1a11:10b::/48", "42298"}, + {"2605:21c0::/32", "20055"}, + {"2804:7884::/32", "271248"}, + {"2806:20d:350e::/43", "32098"}, + {"2402:e280:3d7c::/40", "134674"}, + {"2001:4478:ff01::/48", "4739"}, + {"2401:1040:400::/32", "134806"}, + {"2405:aac0:fe::/48", "139949"}, + {"240a:a66a::/32", "144292"}, + {"2605:380:40::/48", "42473"}, + {"2804:8284::/32", "272524"}, + {"2a02:26f7:b3c5::/46", "20940"}, + {"2001:559:c160::/48", "33660"}, + {"2400:4e80::/35", "131584"}, + {"2602:fed2:710b::/48", "34927"}, + {"240e:979:6f00::/35", "4134"}, + {"2603:c002:1210::/39", "31898"}, + {"2806:230:4035::/48", "11888"}, + {"2a01:568:6000::/32", "43950"}, + {"2a02:26f7:c3d5::/46", "20940"}, + {"2a02:26f7:eb04::/48", "36183"}, + {"2a03:5900::/44", "31126"}, + {"2408:8956:1500::/40", "17816"}, + {"2600:1008:b170::/40", "22394"}, + {"2a03:db80:5464::/48", "200943"}, + {"2a06:1e85:2::/48", "57782"}, + {"2800:160:2735::/36", "14259"}, + {"2803:eee0::/32", "269987"}, + {"2a04:f580:8000::/48", "4134"}, + {"2001:4878:b038::/48", "12222"}, + {"2400:c540:c277::/39", "59238"}, + {"2604:300::/32", "21947"}, + {"2a09:bac0:100::/48", "13335"}, + {"2001:df0:df80::/48", "139297"}, + {"2600:1406:9400::/48", "35994"}, + {"2a0a:380::/29", "49223"}, + {"2001:978:2a01::/46", "56638"}, + {"240a:ab50::/32", "145546"}, + {"2a01:ab80::/32", "204243"}, + {"2600:1014:b0f0::/44", "22394"}, + {"2804:37a8:1206::/43", "266428"}, + {"2806:101e:1::/48", "8151"}, + {"2604:ca00:1000::/48", "36492"}, + {"2400:dd01:1010::/34", "7497"}, + {"2800:484:e100::/40", "10620"}, + {"2800:bf0:828e::/48", "27947"}, + {"2803:5300::/32", "264637"}, + {"2406:8500::/32", "134773"}, + {"2600:370f:3721::/45", "32261"}, + {"2a10:7706::/31", "399975"}, + {"2c0f:f738:2202::/35", "61317"}, + {"2610:160:11::/48", "30312"}, + {"2801:80:400::/48", "263012"}, + {"2804:104c:e400::/40", "263629"}, + {"2a05:7900::/29", "48348"}, + {"2001:da8:701f::/48", "138371"}, + {"2001:44b8:2059::/48", "4739"}, + {"2001:559:707::/44", "7016"}, + {"2001:678:f38::/48", "211362"}, + {"2402:e280:212e::/47", "134674"}, + {"2404:4a00:3294::/33", "45629"}, + {"2600:d402::/28", "1403"}, + {"2604:4d40:7fff::/48", "399196"}, + {"2a00:eb9::/32", "16083"}, + {"2a02:6c20:829::/32", "207167"}, + {"2a04:4e42:ff3::/33", "54113"}, + {"2c0f:f5c0:131::/38", "29465"}, + {"2401:d800:d182::/42", "7552"}, + {"2605:48c0::/32", "397504"}, + {"2001:67c:1874::/48", "39249"}, + {"2409:8d14:20::/38", "56044"}, + {"2404:3800::/47", "45459"}, + {"2406:9e00:1110::/47", "55352"}, + {"2620:149:245::/37", "714"}, + {"2804:3848::/47", "266467"}, + {"2a06:3e40::/29", "42102"}, + {"2001:1248:5a6b::/43", "11172"}, + {"2001:4d78:1300::/40", "15830"}, + {"2400:6500:ff01::/40", "16509"}, + {"240e:b08::/27", "4134"}, + {"2602:fd10:800::/44", "398795"}, + {"2a00:aac0::/29", "25375"}, + {"2001:df1:6001::/48", "4755"}, + {"2405:201:7200::/32", "55836"}, + {"2408:840c:3600::/40", "17621"}, + {"2408:870c:d0::/42", "138421"}, + {"2409:8c70:3ad5::/46", "9808"}, + {"2a00:4cc6::/32", "203871"}, + {"2a02:2ad0:120::/43", "702"}, + {"2a09:e140::/29", "9119"}, + {"2a0c:4e40::/29", "48943"}, + {"2a10:7700:f215::/48", "400177"}, + {"2001:550:221b::/39", "174"}, + {"2001:67c:2dac::/48", "42886"}, + {"2404:f4c0:f502::/48", "134666"}, + {"2001:1a50::/32", "25560"}, + {"2001:4200:310::/40", "2018"}, + {"240a:a191::/32", "143051"}, + {"240a:acff::/32", "145977"}, + {"240e:86:9000::/28", "4134"}, + {"2604:1100:d200::/39", "11911"}, + {"2a07:bcc0::/47", "35146"}, + {"2a0e:c400::/29", "51083"}, + {"2401:3cc0:841::/39", "137409"}, + {"2600:1000:a020::/40", "22394"}, + {"2001:1900:23af::/41", "3356"}, + {"2803:6604:6401::/39", "28075"}, + {"2a00:4802:380::/44", "13124"}, + {"2a0b:56c0::/29", "41960"}, + {"2001:1248:9723::/45", "11172"}, + {"2402:6c00::/32", "46015"}, + {"240e:3bf::/35", "134773"}, + {"2604:d600:2005::/38", "32098"}, + {"2804:14d:7681::/45", "28573"}, + {"2804:59d4::/32", "268728"}, + {"2804:5bb8:cc::/32", "268865"}, + {"2001:67c:854::/48", "210775"}, + {"2600:6c7f:9350::/44", "11351"}, + {"2a00:7147:b1::/48", "51430"}, + {"2402:b300::/32", "23631"}, + {"240e:44d:4240::/42", "140359"}, + {"2804:7dc0::/32", "271580"}, + {"2a03:6880::/32", "39835"}, + {"2001:559:371::/48", "33652"}, + {"2001:4488:7008::/32", "7713"}, + {"2405:ed80::/44", "135106"}, + {"2408:8459:9e10::/42", "17623"}, + {"240e:933::/32", "134420"}, + {"2606:2800:10c::/46", "15133"}, + {"2a05:ed80::/29", "200278"}, + {"2402:d500::/32", "45235"}, + {"2620:40:4000::/48", "16931"}, + {"2a01:488:bb1b::/33", "20773"}, + {"2a0c:b641:580::/48", "210469"}, + {"2001:a17:fffb::/45", "204679"}, + {"2409:8018:28f2::/35", "134810"}, + {"240a:40aa:c000::/35", "58834"}, + {"2606:6800:2c00::/40", "394897"}, + {"2a06:4940::/29", "204279"}, + {"2001:678:40::/48", "25354"}, + {"2405:8d40:aa0::/48", "139831"}, + {"2a0e:fd45:2b70::/48", "210305"}, + {"2001:4b20:1000::/64", "65505"}, + {"2405:2d40::/43", "55695"}, + {"2600:1488:a501::/42", "20940"}, + {"2a02:26f7:becc::/48", "36183"}, + {"2a02:26f7:d7c9::/42", "20940"}, + {"2408:84f3:9a10::/42", "134543"}, + {"2803:6700:440::/48", "263210"}, + {"2804:49c:319::/48", "15201"}, + {"2402:800:63a1::/44", "7552"}, + {"2402:800:9a1d::/42", "7552"}, + {"2408:8956:1fc0::/34", "17622"}, + {"2409:8028:8f1::/46", "56041"}, + {"2001:559:44b::/45", "7015"}, + {"2001:559:563::/48", "13367"}, + {"240e:978:a00::/40", "23650"}, + {"2804:62f0::/32", "269329"}, + {"2a05:300::/47", "59895"}, + {"2001:678:5e4::/48", "61961"}, + {"2402:4b80::/32", "24367"}, + {"2603:fcb0::/25", "397165"}, + {"2a02:1770::/33", "8865"}, + {"2401:8e00::/36", "9260"}, + {"2404:138:4012::/31", "38022"}, + {"2606:bc0::/32", "7018"}, + {"2607:f3f0::/46", "16724"}, + {"2804:3c10::/32", "266188"}, + {"2804:4808::/32", "267093"}, + {"2a07:2f40::/29", "212659"}, + {"2a07:4247:3000::/36", "211956"}, + {"2001:67c:49c::/48", "2799"}, + {"2001:df0:2ea::/48", "38605"}, + {"2407:9440:62::/43", "141626"}, + {"2804:4ef4:4000::/32", "268294"}, + {"2409:806b:2900::/35", "9808"}, + {"2001:67c:27fc::/48", "12732"}, + {"2600:c800::/28", "7018"}, + {"2804:214:c001::/44", "26615"}, + {"2a03:4900::/46", "197695"}, + {"2a0e:8f02:f01f::/48", "211696"}, + {"240e:1:1000::/33", "4134"}, + {"2620:119:4014::/41", "7726"}, + {"2804:14d:2a84::/41", "28573"}, + {"2a02:26f7:3::/48", "20940"}, + {"2a02:26f7:f6c5::/46", "20940"}, + {"2a0b:2900:5200::/40", "48582"}, + {"2a0d:3c0::/29", "201211"}, + {"2001:67c:5e8::/48", "29663"}, + {"2402:e380:314::/48", "140244"}, + {"2406:7400:f1::/45", "24309"}, + {"240a:acde::/32", "145944"}, + {"2800:160:16dd::/46", "14259"}, + {"2804:300:c000::/31", "53237"}, + {"2a02:26f7:bd4c::/48", "36183"}, + {"2a02:26f7:c580::/48", "36183"}, + {"2406:6e00:f03b::/41", "17457"}, + {"2804:1a8::/32", "28229"}, + {"2a00:a8e0:201::/46", "15598"}, + {"2a07:5fc0::/29", "209621"}, + {"2a07:cbc0::/39", "201299"}, + {"2a0e:b1c0::/29", "60843"}, + {"2c0f:f6d0::/44", "327687"}, + {"2001:388:10ad::/41", "7575"}, + {"2001:559:3c0::/48", "33652"}, + {"2001:559:76e::/47", "33659"}, + {"2804:1380:173::/32", "263536"}, + {"2a00:15b8:500::/32", "31122"}, + {"2a06:1287:3300::/44", "206499"}, + {"2a0e:6d00::/29", "39761"}, + {"2607:2800::/32", "33302"}, + {"2607:fcd0:100:2d04::/49", "8100"}, + {"2804:1bd8::/33", "28224"}, + {"2001:559:c04c::/47", "7015"}, + {"2001:559:c073::/48", "33659"}, + {"2001:16a2:4200::/37", "25019"}, + {"2403:6dc0:1000::/36", "38047"}, + {"2404:2340:5000::/36", "134926"}, + {"2409:8915:9200::/39", "56044"}, + {"2620:1ec:14::/44", "8075"}, + {"2804:e0c::/48", "28176"}, + {"2a02:ee80:4169::/48", "3573"}, + {"2001:67c:198c::/48", "205016"}, + {"240a:a69a::/32", "144340"}, + {"2600:1417:4001::/37", "20940"}, + {"2606:2800:2::/48", "14153"}, + {"2a02:26f7:f0c5::/46", "20940"}, + {"2a02:e982:1f::/42", "19551"}, + {"2a02:e0:3201::/46", "34984"}, + {"2a11:97c0::/29", "204790"}, + {"2001:500:120::/48", "396549"}, + {"2403:400:900::/31", "23820"}, + {"2600:c000::/40", "7843"}, + {"2401:d800:a80::/42", "7552"}, + {"240a:a0af::/32", "142825"}, + {"2606:ae00:ac00::/40", "7287"}, + {"2607:f680::/32", "26228"}, + {"2001:559:877f::/48", "33651"}, + {"2001:4878:8215::/46", "12222"}, + {"2006:75c0::/32", "400010"}, + {"2408:8a27:4000::/35", "4837"}, + {"2409:8004:310e::/43", "24547"}, + {"2804:3ef0:a101::/48", "266630"}, + {"2a0c:9a40:1030::/47", "34927"}, + {"2401:340::/32", "55720"}, + {"2402:800:3163::/43", "7552"}, + {"2403:1840::/32", "137845"}, + {"2803:b2c0::/47", "264851"}, + {"2806:2f0::/43", "17072"}, + {"240a:ae32::/32", "146284"}, + {"2602:fca3::/48", "2165"}, + {"2604:7ac0::/36", "12213"}, + {"2620:14:2000::/48", "395899"}, + {"2804:11a0::/32", "262889"}, + {"2a02:26f7:e14d::/42", "20940"}, + {"2a02:faa0::/48", "203427"}, + {"2a09:51c0::/29", "202053"}, + {"2a10:f900::/29", "49191"}, + {"2409:8a56:9200::/40", "9808"}, + {"2600:cc03:e000::/40", "62833"}, + {"2001:559:812d::/46", "7922"}, + {"2001:16a2:c120::/44", "39386"}, + {"2405:6c40::/47", "24527"}, + {"2600:6c7f:9012::/48", "20115"}, + {"2a05:1082:1::/48", "136918"}, + {"2407:7380::/32", "134970"}, + {"2600:370f:5250::/42", "32261"}, + {"2607:f740:e60a::/48", "63911"}, + {"2803:cd80:8000::/33", "61478"}, + {"2001:678:268::/48", "206939"}, + {"2400:addb:800::/39", "9541"}, + {"2606:8980::/32", "394368"}, + {"2001:550:1b0a::/48", "397496"}, + {"2401:d800:2350::/42", "7552"}, + {"2804:2f6c::/32", "264890"}, + {"2a02:e70:19a::/32", "33965"}, + {"2001:1528::/32", "15685"}, + {"2403:2800:2::/48", "27435"}, + {"2409:8d14:2900::/31", "56044"}, + {"2606:2800:4a68::/46", "15133"}, + {"2804:5114::/32", "268429"}, + {"2001:a90::/32", "21119"}, + {"2001:16a2:4028::/47", "39386"}, + {"2402:800:f420::/41", "7552"}, + {"2404:bf40:8403::/42", "139084"}, + {"240e:964:2000::/37", "4134"}, + {"2600:140f:c800::/48", "24319"}, + {"2600:6c38:d44::/38", "20115"}, + {"2607:f740:44::/48", "36236"}, + {"2800:bf0:1d1::/46", "52257"}, + {"2804:14c:7575::/46", "28573"}, + {"2402:800:561d::/42", "7552"}, + {"2606:3900::/32", "13329"}, + {"2001:559:84f9::/48", "33287"}, + {"2800:5f0:6::/39", "22724"}, + {"2001:559:473::/48", "33659"}, + {"2402:4e00:7::/41", "45090"}, + {"2606:f900:2000::/33", "812"}, + {"2a02:5f00::/32", "19229"}, + {"2a03:9a00::/29", "8896"}, + {"2a0f:5707:fff7::/48", "50310"}, + {"2600:6c38:76d::/36", "20115"}, + {"2607:f038::/46", "21527"}, + {"2409:896a:9800::/39", "9808"}, + {"2409:8c70:3aa0::/44", "9808"}, + {"240a:aa4f::/32", "145289"}, + {"2804:4a34::/32", "267224"}, + {"2a02:1648::/29", "49375"}, + {"2a0a:6380::/29", "12552"}, + {"2c0f:f220::/32", "36924"}, + {"2001:4958::/32", "577"}, + {"2401:d800:da50::/42", "7552"}, + {"2405:e40:9::/32", "139005"}, + {"2409:8a14::/33", "56044"}, + {"2607:9800:c104::/44", "15085"}, + {"2804:43b0::/32", "267584"}, + {"2a00:1eb8:c006::/48", "47583"}, + {"2a02:26f7:e9::/48", "20940"}, + {"2a04:7b40::/29", "200003"}, + {"2a11:29c6:b00b::/48", "212149"}, + {"2409:8915:5400::/39", "56044"}, + {"240e:44d:4f00::/41", "140345"}, + {"2600:1480:f000::/48", "21342"}, + {"2605:8680:fffe::/31", "25780"}, + {"2806:2f0:9e61::/40", "17072"}, + {"2a02:ee80:402b::/43", "3573"}, + {"2a06:1280::/36", "61138"}, + {"2a0f:ec40::/32", "42433"}, + {"2001:67c:2160::/48", "2486"}, + {"240c:c410::/32", "24369"}, + {"2800:4b0:4503::/44", "12252"}, + {"2803:9800::/33", "11664"}, + {"2a07:59c6:caca::/48", "205413"}, + {"2001:b400:f408::/45", "17421"}, + {"2402:f800:d000::/36", "7602"}, + {"2620:85:8000::/48", "46453"}, + {"2804:4d60::/32", "263096"}, + {"2a03:3260::/32", "6829"}, + {"2404:7a40:16::/36", "132556"}, + {"240a:ad6f::/32", "146089"}, + {"240a:aee3::/32", "146461"}, + {"2804:3aec::/32", "266118"}, + {"2001:559:877c::/48", "33287"}, + {"2001:67c:1600::/44", "47487"}, + {"2402:ef11:2::/47", "9430"}, + {"2406:840:7::/48", "139317"}, + {"2607:fb20:10::/48", "14230"}, + {"2800:160:156d::/43", "14259"}, + {"2a06:1700:100::/48", "200651"}, + {"2a0f:cc80::/32", "210625"}, + {"2620:1fd:20::/44", "11971"}, + {"2804:84a4::/32", "28267"}, + {"2a0a:7c80::/32", "206672"}, + {"2404:3bc0::/32", "55933"}, + {"2409:801e:3010::/31", "24400"}, + {"2804:6250::/32", "262964"}, + {"2001:250:600a::/48", "23910"}, + {"2401:1700:1d::/33", "55666"}, + {"2408:8957:9b00::/40", "17816"}, + {"2804:1ad0::/32", "28621"}, + {"2a02:26f7:e749::/46", "20940"}, + {"2001:4830:2446::/48", "395326"}, + {"2401:8f40::/48", "136933"}, + {"2804:1f06::/32", "52887"}, + {"2a02:26f7:bcd0::/48", "36183"}, + {"2a02:5560::/32", "60130"}, + {"2a03:8180:1c00::/39", "36351"}, + {"2001:67c:3c4::/48", "1136"}, + {"2405:55c0:3d::/46", "63991"}, + {"240a:acd0::/32", "145930"}, + {"2620:81:2000::/48", "16904"}, + {"2620:98:4002::/47", "393949"}, + {"2800:bf0:b42d::/33", "27947"}, + {"2001:67c:2668::/48", "31566"}, + {"2408:8956:6800::/40", "17622"}, + {"2804:54:1c00::/33", "28220"}, + {"2804:1b3:4100::/41", "10429"}, + {"2404:c0:31a0::/38", "23693"}, + {"2a02:c40:3::/32", "13000"}, + {"2a0f:5707:ab27::/48", "43927"}, + {"2001:b08:9::/48", "3267"}, + {"2407:f440::/32", "59191"}, + {"2800:bf0:3a40::/47", "52257"}, + {"2001:559:8271::/48", "7725"}, + {"2804:1b04:20::/46", "53048"}, + {"2a02:2891:4::/48", "51185"}, + {"2001:678:680::/48", "25223"}, + {"2403:1000:5100::/40", "38819"}, + {"2409:8907:8220::/39", "24547"}, + {"2804:5300::/32", "268556"}, + {"2806:230:2039::/48", "11888"}, + {"2a02:26f7:ce05::/46", "20940"}, + {"2401:4900:50::/48", "9498"}, + {"2401:d800:dc60::/40", "7552"}, + {"2404:d500:4::/47", "132370"}, + {"240a:a268::/32", "143266"}, + {"2605:6180::/32", "14340"}, + {"240a:a4fa::/32", "143924"}, + {"2600:1f1c::/36", "16509"}, + {"2a09:9b80::/29", "204790"}, + {"2001:c20:487b::/48", "9255"}, + {"2401:d800:97d2::/36", "7552"}, + {"2a02:26f7:ebc4::/48", "36183"}, + {"2a04:6650::/31", "210156"}, + {"2001:559:19:e001::/45", "7922"}, + {"2401:a040::/32", "131586"}, + {"2402:8100:16::/48", "45271"}, + {"240a:a129::/32", "142947"}, + {"2602:fc2a::/36", "15020"}, + {"2800:bf0:14b::/48", "27947"}, + {"2a05:fec0::/29", "39224"}, + {"2a0e:ce40::/29", "12778"}, + {"2001:ec0:800::/40", "23969"}, + {"2a02:26f7:cb08::/48", "36183"}, + {"2a0b:5100::/29", "15765"}, + {"2a0d:1a40:7800::/43", "208563"}, + {"2001:559:869b::/45", "33667"}, + {"2001:678:154::/48", "203017"}, + {"240a:a49b::/32", "143829"}, + {"240e:978:4000::/40", "137702"}, + {"2607:ffc8:4001::/32", "17356"}, + {"2620:137:6000::/44", "393507"}, + {"2001:250:5400::/42", "24362"}, + {"2001:559:c4f1::/45", "7922"}, + {"2001:ee0:c640::/36", "45899"}, + {"2407:8f00::/32", "45677"}, + {"240a:a76a::/32", "144548"}, + {"2803:8c10:40::/42", "271868"}, + {"2a00:fe00:c0a0::/48", "702"}, + {"2001:da8:800a::/47", "24364"}, + {"240a:ac36::/32", "145776"}, + {"2402:a300:3e6::/44", "55427"}, + {"240a:ac6c::/32", "145830"}, + {"240e:357:6400::/26", "4134"}, + {"2804:85b0::/32", "262810"}, + {"2806:230:101f::/48", "11888"}, + {"2a06:a005:b0::/48", "207941"}, + {"2804:46f4::/32", "267022"}, + {"2001:559:81d9::/46", "7015"}, + {"2001:678:210::/48", "204506"}, + {"240e:f:a000::/36", "4835"}, + {"2610:108:8001::/48", "11724"}, + {"2620:124:6000::/42", "40816"}, + {"2a04:1b00:4::/47", "61005"}, + {"2408:8956:ac00::/40", "17622"}, + {"240a:a507::/32", "143937"}, + {"2804:428c::/32", "267507"}, + {"2806:230:1006::/48", "265594"}, + {"2a02:26f7:fa41::/46", "20940"}, + {"240a:a020::/32", "142682"}, + {"240a:a679::/32", "144307"}, + {"2804:840c::/32", "272236"}, + {"2a11:1::/30", "44103"}, + {"2403:100:1000::/48", "56300"}, + {"240a:ae49::/32", "146307"}, + {"2600:6c3a:c4f::/38", "20115"}, + {"2610:a1:3048::/48", "12008"}, + {"2620:13d:f004::/40", "22711"}, + {"2800:200:bd30::/41", "12252"}, + {"2a0d:1080:1::/48", "47215"}, + {"2001:4998:19::/46", "10310"}, + {"2401:d180:2120::/48", "133865"}, + {"2804:60cc::/32", "269192"}, + {"2001:67c:104::/48", "198595"}, + {"2407:4d00:ff02::/48", "38841"}, + {"240e:3bb:1800::/34", "4134"}, + {"240e:982:4300::/36", "4134"}, + {"2804:1b70::/32", "61728"}, + {"2804:291c:4100::/32", "263998"}, + {"2a01:8840:9e::/42", "12041"}, + {"2a0b:6b86:b00::/47", "206699"}, + {"2409:8000:2a00::/39", "56048"}, + {"2804:4c14:9a01::/39", "267348"}, + {"2a03:1ac0:1::/34", "9049"}, + {"240a:a5c9::/32", "144131"}, + {"2607:fe20::/32", "30404"}, + {"2800:bf0:2905::/40", "27947"}, + {"2a09:8280:2f::/48", "40509"}, + {"2001:d58::/32", "9416"}, + {"2402:4f40::/32", "137404"}, + {"240e:974:e202::/40", "4134"}, + {"2600:6c38:822::/44", "20115"}, + {"2a00:6901:2::/47", "20926"}, + {"2408:870c:4010::/30", "17621"}, + {"2605:1b00::/32", "25999"}, + {"2001:67c:2e10::/48", "200986"}, + {"2408:8256:3282::/48", "17816"}, + {"2806:230:4038::/48", "265594"}, + {"2001:559:1fc::/48", "33491"}, + {"2400:cb00:26::/44", "13335"}, + {"2a0f:c581::/30", "208861"}, + {"2602:feda:1d1::/46", "137256"}, + {"2804:710:10::/32", "17222"}, + {"2a02:26f7:cf00::/48", "36183"}, + {"2a02:ee80:4121::/46", "3573"}, + {"240a:a3e2::/32", "143644"}, + {"240a:a56a::/32", "144036"}, + {"240e:44d:2240::/42", "140361"}, + {"2607:9100::/32", "21743"}, + {"2a0e:97c0:74f::/48", "208260"}, + {"2001:559:551::/46", "33659"}, + {"2001:da8:b8::/48", "24366"}, + {"2401:1400::/32", "9297"}, + {"2409:8e18::/31", "134810"}, + {"2804:42c4:c803::/48", "267524"}, + {"2a02:e0:3809::/33", "34984"}, + {"2a02:2e02:8f70::/40", "12479"}, + {"2a0a:af40::/32", "208075"}, + {"2001:df2:8200::/47", "135551"}, + {"2001:1398:121::/48", "52304"}, + {"2600:140f:a00::/48", "9498"}, + {"2800:160:14e4::/44", "14259"}, + {"2804:4cfc::/32", "267405"}, + {"2a01:5040::/42", "43996"}, + {"2a02:26f0:9201::/39", "20940"}, + {"2a11:a680::/29", "204790"}, + {"2001:438:fffd:11f::/58", "6461"}, + {"2001:da8:6f00::/48", "138378"}, + {"2602:fda1::/38", "397031"}, + {"2804:66f8::/32", "269595"}, + {"2a02:26f7:f884::/48", "36183"}, + {"2a02:4240::/32", "50266"}, + {"2a06:83c0::/29", "15391"}, + {"2001:3a0:f007::/48", "131079"}, + {"2001:559:12::/44", "7922"}, + {"2001:559:82ae::/47", "7015"}, + {"2400:57e0::/32", "142317"}, + {"2a07:aa00:7::/48", "203"}, + {"2001:559:722::/48", "7922"}, + {"2405:201:fffc::/30", "55836"}, + {"2620:0:500::/42", "11643"}, + {"2a00:4a00:8000::/33", "39356"}, + {"2a01:6020:f000::/36", "199070"}, + {"2a02:26f7:8f::/48", "20940"}, + {"2a04:5d00:71::/44", "60241"}, + {"2001:67c:1104::/48", "213021"}, + {"240e:108:11b4::/41", "4134"}, + {"240e:438:3a40::/37", "4134"}, + {"2605:59c2:1140::/33", "36492"}, + {"2a03:4f00::/32", "5524"}, + {"2a03:5ee0::/32", "3320"}, + {"2408:8779:c008::/30", "4837"}, + {"2607:fde8::/32", "3853"}, + {"2001:df0:c0::/48", "55741"}, + {"240a:a120::/32", "142938"}, + {"240a:ac78::/32", "145842"}, + {"2001:470:11b::/48", "395570"}, + {"2001:13c7:600d::/48", "52359"}, + {"2401:cac0::/32", "136982"}, + {"2404:8000:ba72::/33", "17451"}, + {"240a:a5a3::/32", "144093"}, + {"240a:ad70::/32", "146090"}, + {"2604:84c0::/32", "7979"}, + {"2604:d600:1558::/47", "32098"}, + {"2a01:7360::/32", "198290"}, + {"2a01:cb22::/34", "3215"}, + {"2a02:26f7:d1c1::/46", "20940"}, + {"2001:579:d204::/42", "22773"}, + {"2001:67c:24f4::/48", "196653"}, + {"2a04:fac0::/29", "212859"}, + {"2a0b:6b81:210::/48", "203729"}, + {"2001:49f8:40a::/48", "14230"}, + {"2408:8256:3780::/44", "17623"}, + {"2409:803c:30c0::/48", "9808"}, + {"240a:af9b::/32", "146645"}, + {"2806:2f0:4581::/46", "17072"}, + {"2a11:a980::/29", "204790"}, + {"2408:8256:2f8e::/43", "17623"}, + {"2806:250:d::/46", "28509"}, + {"2a02:26f7:cd44::/48", "36183"}, + {"2001:559:209::/48", "7016"}, + {"2602:ffc5:105::/48", "398395"}, + {"2804:24d4::/32", "52781"}, + {"2a00:1fa3::/29", "8359"}, + {"2a02:26f7:f109::/42", "20940"}, + {"2a09:4a47::/32", "23470"}, + {"2600:1012:b1c0::/44", "22394"}, + {"2605:a401:8ce3::/39", "33363"}, + {"2804:2540::/32", "264268"}, + {"2804:3e70:d008::/34", "266596"}, + {"2001:559:8262::/47", "33657"}, + {"240e:982::/39", "136195"}, + {"2804:a54:13::/32", "262664"}, + {"2001:250:210::/48", "24349"}, + {"2401:d800:29e0::/38", "7552"}, + {"2408:8406:5400::/39", "4808"}, + {"2a03:9c40::/48", "34655"}, + {"2a0a:ec02:301::/48", "42692"}, + {"2001:67c:6b0::/48", "34756"}, + {"2a04:4e40:f810::/41", "54113"}, + {"2a07:4f40::/29", "8426"}, + {"2a0d:12c0:1000::/48", "205804"}, + {"2401:4900:5850::/44", "45609"}, + {"2401:d800:75c0::/42", "7552"}, + {"2408:8956:b000::/40", "17622"}, + {"2804:4218::/34", "267477"}, + {"2a0c:1680::/29", "15874"}, + {"2001:57a:3a04::/47", "22773"}, + {"240a:a256::/32", "143248"}, + {"240e:938:a00::/44", "139203"}, + {"2a0b:d680::/32", "201127"}, + {"2a11:4280::/29", "210883"}, + {"2408:8956::/40", "17622"}, + {"240a:ad57::/32", "146065"}, + {"2a0b:5cc0::/32", "49432"}, + {"2001:559:381::/48", "7922"}, + {"2401:d800:5fb0::/41", "7552"}, + {"2804:332c::/32", "265379"}, + {"2a04:9a40::/29", "51373"}, + {"2a06:6d40::/29", "198090"}, + {"2a07:59c6:ca01::/45", "205413"}, + {"2001:510::/39", "376"}, + {"2400:e500:1::/42", "38742"}, + {"2402:800:7180::/42", "7552"}, + {"2602:fc64:ce00::/48", "36829"}, + {"2a0a:e5c0:13::/48", "208731"}, + {"2001:559:116::/48", "20214"}, + {"2001:559:80f9::/48", "33660"}, + {"2001:df1:c600::/48", "133821"}, + {"2001:b400:f220::/37", "3462"}, + {"240e:908:8000::/39", "137698"}, + {"2620:0:960::/48", "6223"}, + {"2806:230:4030::/48", "265594"}, + {"2a03:52a0::/39", "12557"}, + {"2602:fe90::/38", "35913"}, + {"2a02:ff0:e00::/40", "12735"}, + {"2401:d800:7fb2::/41", "7552"}, + {"2606:2800:6a60::/46", "15133"}, + {"2001:559:59d::/48", "33287"}, + {"2408:8776::/28", "4837"}, + {"240a:a24a::/32", "143236"}, + {"240c:c7ba::/20", "23910"}, + {"240e:67b:c400::/39", "140330"}, + {"2a00:1908::/36", "43586"}, + {"2a03:3840::/29", "199600"}, + {"2a05:19c0:2::/47", "59802"}, + {"2a0d:7b40::/29", "60016"}, + {"2a02:e90::/32", "15389"}, + {"2a02:26f7:c40c::/48", "36183"}, + {"2603:b000::/27", "11796"}, + {"2801:80:36d0::/48", "269216"}, + {"2804:7eb0::/32", "271641"}, + {"2a02:26f7:f204::/48", "36183"}, + {"2a03:e580::/32", "49282"}, + {"2a0d:df40::/29", "61272"}, + {"2402:8cc0:200::/40", "131137"}, + {"2406:840:f62f::/48", "140506"}, + {"2407:58c0::/32", "24277"}, + {"2409:8028::/40", "56041"}, + {"2409:8904:cfb0::/35", "24547"}, + {"2804:2cd4:90::/42", "265246"}, + {"2a06:a281::/32", "49117"}, + {"2a0a:68c0::/40", "134835"}, + {"2a0d:b201:80c0::/42", "206026"}, + {"2c0f:fbc0::/32", "37670"}, + {"2001:4998:ef5f::/42", "10310"}, + {"2405:d900::/32", "56004"}, + {"240a:a1d0::/32", "143114"}, + {"2a0c:9a40:808b::/48", "398646"}, + {"2600:141c:e001::/35", "20940"}, + {"2602:fc71:f00::/48", "400232"}, + {"2603:c013::/36", "31898"}, + {"2604:7c00::/32", "40244"}, + {"2a02:1370::/32", "39324"}, + {"2a04:f580:9212::/47", "4809"}, + {"2001:559:c2f9::/48", "33659"}, + {"2001:678:dc8::/48", "213032"}, + {"2001:67c:14b0::/48", "13127"}, + {"2001:fd0:e::/40", "10029"}, + {"2401:1801:1120::/32", "58683"}, + {"2402:ef04:f000::/31", "7633"}, + {"240e:3bb:c800::/37", "4134"}, + {"2600:1409:3::/48", "20940"}, + {"2a0b:b87:ffd2::/48", "213186"}, + {"2a0d:1a45:babe::/48", "210089"}, + {"2001:559:86ca::/48", "33287"}, + {"2001:b58::/29", "20626"}, + {"2408:8256:3087::/43", "17623"}, + {"2800:bf0:80ef::/43", "52257"}, + {"2a0b:a080:1::/48", "202165"}, + {"2001:67c:19a4::/48", "51815"}, + {"2001:1490:100::/48", "30857"}, + {"2600:140f:801::/39", "20940"}, + {"2607:f108::/38", "29838"}, + {"2801:82::/32", "10881"}, + {"2804:18:4878::/35", "26599"}, + {"2a0f:1140::/32", "34959"}, + {"2a02:26f7:f745::/46", "20940"}, + {"2a05:7880::/32", "209242"}, + {"2600:1016:f010::/39", "6167"}, + {"2600:370f:72a8::/47", "32261"}, + {"2a02:73a0:90::/48", "201895"}, + {"2001:44b8:30af::/48", "4739"}, + {"2408:8656:2ef0::/48", "17623"}, + {"240a:ad3f::/32", "146041"}, + {"240e:679:1800::/32", "4134"}, + {"2a0c:e186::/32", "204690"}, + {"2001:67c:2068::/48", "34261"}, + {"2402:800:5a0f::/43", "7552"}, + {"2402:800:b590::/42", "7552"}, + {"2404:4a00:8a00::/64", "55423"}, + {"2a00:1f78:fffe::/48", "39227"}, + {"2a02:26f7:e841::/46", "20940"}, + {"2a0b:11c0:bea::/48", "198682"}, + {"2a0c:b641:4f0::/44", "212653"}, + {"2a0c:db00::/29", "50467"}, + {"2406:840:e0c0::/45", "141429"}, + {"2408:80f1:180::/43", "17621"}, + {"2600:6c10:ff9d::/42", "20115"}, + {"2804:f74::/32", "263586"}, + {"2804:28e4:e002::/42", "28260"}, + {"2804:4fd8::/32", "268353"}, + {"2806:2f0:9b61::/46", "17072"}, + {"2400:d400:b97::/48", "45671"}, + {"240e:44d:3000::/41", "140345"}, + {"2803:8d00:e001::/35", "27988"}, + {"2804:7878::/32", "271244"}, + {"2409:8f50::/30", "56047"}, + {"2620:171:60::/48", "42"}, + {"2a01:8840:81::/48", "207266"}, + {"2001:67c:10e0::/48", "201612"}, + {"2409:8924:b700::/36", "56046"}, + {"2a01:4060::/32", "9063"}, + {"2a02:6b8:81::/48", "13238"}, + {"2001:559:c0ab::/45", "33490"}, + {"2407:e540::/32", "146969"}, + {"2409:8a04:6a00::/32", "24547"}, + {"2804:75c0::/32", "271067"}, + {"2806:108e:2::/47", "8151"}, + {"2a07:a740::/29", "57795"}, + {"2001:678:98c::/48", "31371"}, + {"2001:1900:2263::/48", "3356"}, + {"2804:100::/32", "28364"}, + {"2a04:4e40:b010::/41", "54113"}, + {"2606:3580::/32", "46450"}, + {"2a00:1cf8:8000::/33", "44944"}, + {"2a09:84c0::/37", "8145"}, + {"2803:ecc0::/37", "264814"}, + {"2804:1244::/32", "263466"}, + {"2a10:847:8000::/33", "3223"}, + {"2a10:7240::/32", "212574"}, + {"240a:ad2e::/32", "146024"}, + {"240a:adc2::/32", "146172"}, + {"2800:300:89e0::/43", "27651"}, + {"2a01:360::/29", "34549"}, + {"2001:49f0:d105::/44", "174"}, + {"2408:8459:10::/41", "17622"}, + {"2409:8d15:2a00::/30", "56044"}, + {"240e:981:8000::/40", "132153"}, + {"2602:feda:e39::/46", "147028"}, + {"2001:4408:c001::/46", "4758"}, + {"2402:8100:cb0::/35", "55644"}, + {"240e:1f:d000::/36", "134764"}, + {"2804:448c::/32", "267638"}, + {"2a02:ac80:e01::/39", "25145"}, + {"2a04:c340::/29", "44640"}, + {"2c0f:f528:40::/45", "327782"}, + {"2400:a440:144::/48", "18019"}, + {"2401:d800:bd70::/40", "7552"}, + {"2602:feda::/48", "46997"}, + {"2001:4430:6090::/36", "17853"}, + {"2408:8026:830::/32", "17621"}, + {"2804:db0:100::/40", "52862"}, + {"2a00:f0e0::/43", "198499"}, + {"2a06:e881:7700::/40", "212024"}, + {"2a0a:340:1400::/39", "48043"}, + {"2a10:87c0::/29", "49820"}, + {"2001:559:73a::/48", "33491"}, + {"2001:67c:10fc::/48", "3301"}, + {"2402:800:569b::/41", "7552"}, + {"2404:5d80:6300::/40", "33438"}, + {"240a:a426::/32", "143712"}, + {"240e:3bf:1400::/38", "134773"}, + {"2600:140f:e801::/38", "20940"}, + {"2a04:f580:80a0::/48", "4134"}, + {"2001:67c:234c::/48", "42204"}, + {"2001:df6:b500::/48", "136715"}, + {"240a:a081::/32", "142779"}, + {"240a:a8a3::/32", "144861"}, + {"2a10:8703::/32", "207925"}, + {"2604:2600::/32", "46209"}, + {"2a04:3f83:45::/44", "9120"}, + {"2001:559:c3dc::/48", "7015"}, + {"2001:1248:841e::/42", "11172"}, + {"2408:80ea:7680::/43", "17623"}, + {"2409:807c:2900::/35", "9808"}, + {"2607:fae0::/38", "8038"}, + {"2c0f:ef10::/32", "328262"}, + {"2605:bc0:2008::/48", "54201"}, + {"2804:7a68::/32", "271369"}, + {"2806:28e::/32", "265530"}, + {"2a02:230::/32", "43383"}, + {"2a02:26f7:dfcc::/47", "36183"}, + {"2a04:6540::/32", "200168"}, + {"2a12:4946:9900::/40", "211696"}, + {"2001:678:594::/48", "58132"}, + {"2401:4900:3e80::/42", "45609"}, + {"2a02:3c8::/32", "43892"}, + {"2a02:888:4047::/48", "47794"}, + {"2001:1248:8845::/44", "11172"}, + {"2409:807c:100::/36", "9808"}, + {"2804:812c::/32", "272437"}, + {"2a02:c280::/29", "198725"}, + {"2a04:5b81:2010::/44", "202265"}, + {"2a09:9f42::/29", "1239"}, + {"2408:8957:a000::/40", "17622"}, + {"2a04:4e40:1600::/47", "54113"}, + {"2a0d:9c40::/29", "210150"}, + {"240a:ac09::/32", "145731"}, + {"2604:d600:c71::/44", "32098"}, + {"2804:4acc::/32", "267264"}, + {"2804:4d58::/35", "268191"}, + {"2804:5ab4::/32", "268790"}, + {"2804:6f60::/32", "270656"}, + {"2a03:5a00:a::/48", "198778"}, + {"2a06:ed00::/29", "50642"}, + {"2600:6c20:249::/45", "20115"}, + {"2a00:79e1:f02::/45", "395973"}, + {"2a09:380::/29", "204860"}, + {"2001:440:1800::/48", "1880"}, + {"2610:b0:415b::/42", "3573"}, + {"2610:150::/32", "46844"}, + {"2804:42c8::/32", "267526"}, + {"2804:57e4::/32", "268093"}, + {"2a03:e140:3a::/48", "16262"}, + {"2402:9800:4006::/48", "138138"}, + {"240a:a4df::/32", "143897"}, + {"240e:1a:20::/44", "23650"}, + {"2a00:ca8::/32", "30764"}, + {"2a0d:9340:1004::/29", "35761"}, + {"2001:559:3ce::/48", "33668"}, + {"2001:978:7303::/37", "174"}, + {"2a00:a640::/46", "13445"}, + {"2a06:c7c0::/29", "198024"}, + {"2001:480:91::/44", "668"}, + {"2001:7e0::/32", "13285"}, + {"2400:7400:e022::/48", "38044"}, + {"240a:a97f::/32", "145081"}, + {"240a:af87::/32", "146625"}, + {"2803:5440:4049::/48", "264738"}, + {"2804:104::/32", "262685"}, + {"2a0e:7d40:44::/44", "209833"}, + {"2600:1007:f002::/45", "6167"}, + {"2a02:23f8::/32", "24590"}, + {"2605:6880::/32", "63052"}, + {"2605:9780::/48", "36180"}, + {"2607:f460::/32", "22742"}, + {"2804:14c0::/32", "263348"}, + {"2001:5a8::/32", "46375"}, + {"2001:1248:989c::/42", "11172"}, + {"2001:1a11:12e::/48", "8781"}, + {"2401:d800:9410::/42", "7552"}, + {"2409:8c85:aa35::/44", "9808"}, + {"2804:6114::/32", "269211"}, + {"2001:1248:a4d6::/44", "11172"}, + {"2402:d840::/32", "134555"}, + {"240c:c804::/23", "23910"}, + {"2804:190:300::/32", "53165"}, + {"2804:3210::/35", "262779"}, + {"2804:7d84::/32", "271566"}, + {"2a02:26f7:e640::/48", "36183"}, + {"2a06:1e00:40::/48", "60695"}, + {"2001:559:82da::/48", "33662"}, + {"240a:a153::/32", "142989"}, + {"2600:141c:8::/36", "20940"}, + {"2001:4de0:7001::/46", "33438"}, + {"2403:40c0::/48", "45215"}, + {"2604:a180:a000::/35", "22933"}, + {"2a04:3cc0:800::/35", "31036"}, + {"2402:e280:2162::/45", "134674"}, + {"2001:559:c48f::/48", "7922"}, + {"2404:8000:b3::/41", "17451"}, + {"2405:6e00:200::/42", "133612"}, + {"2408:8956:3300::/40", "17816"}, + {"2409:8087:3021::/40", "9808"}, + {"2606:fd80::/32", "2552"}, + {"2806:230:102e::/48", "265594"}, + {"2a01:5e80::/32", "42789"}, + {"2404:f4c0:f000::/44", "24239"}, + {"2408:84f3:3690::/36", "17816"}, + {"2408:8956:2700::/36", "17816"}, + {"2602:fed2:7311::/48", "53356"}, + {"2804:58ec::/32", "268158"}, + {"2001:57a:9204::/46", "22773"}, + {"2001:c38:9000::/44", "9931"}, + {"2402:800:3671::/44", "7552"}, + {"240a:a437::/32", "143729"}, + {"240a:a775::/32", "144559"}, + {"2804:54c::/32", "262507"}, + {"2804:8c0::/32", "262391"}, + {"2a01:5041:2000::/48", "202196"}, + {"2a03:90c0:500::/40", "199524"}, + {"2a06:a005:3c0::/42", "149296"}, + {"2a0c:b641:690::/46", "209297"}, + {"2804:25f0::/32", "264311"}, + {"2a00:1e80::/32", "21473"}, + {"2a01:8640:4::/47", "202015"}, + {"2001:dce:101::/48", "45285"}, + {"2a09:b681::/32", "208861"}, + {"2a0d:b00:2901::/48", "205862"}, + {"2001:67c:2fb4::/48", "200826"}, + {"2001:6d8::/32", "8267"}, + {"2401:d800:b300::/42", "7552"}, + {"2620:107:a000::/40", "20"}, + {"2a11:2800::/48", "42831"}, + {"2406:e00:10e::/47", "55740"}, + {"240a:a58a::/32", "144068"}, + {"2604:ca00:233::/48", "36492"}, + {"2804:37f0:a900::/35", "266445"}, + {"2806:2f0:3163::/40", "17072"}, + {"2a02:26f7:3e::/48", "36183"}, + {"2a0f:52c1::/48", "212319"}, + {"2401:3bc0:f::/37", "137409"}, + {"2804:50f4::/32", "268421"}, + {"2406:840:e80f::/48", "134488"}, + {"2610:190::/38", "62"}, + {"2a0b:3e00::/32", "14076"}, + {"2001:df0:214::/48", "132696"}, + {"240a:a053::/32", "142733"}, + {"240a:a33b::/32", "143477"}, + {"2a01:b1c0::/32", "48200"}, + {"2a02:26f7:e389::/46", "20940"}, + {"2804:82b0::/32", "272534"}, + {"2a0f:e404:100::/46", "58057"}, + {"2001:438:fffd:6d::/55", "6461"}, + {"2600:6c38:a31::/45", "20115"}, + {"2804:8d0::/32", "28269"}, + {"2400:f280:2200::/39", "55766"}, + {"2406:6e00:f049::/36", "17457"}, + {"240a:a677::/32", "144305"}, + {"2a10:9fc0::/29", "40970"}, + {"2001:559:8742::/47", "33491"}, + {"2001:628:454::/35", "1853"}, + {"2001:67c:1894::/48", "3301"}, + {"2001:dc0:a000::/35", "4608"}, + {"2408:8456:e010::/42", "134543"}, + {"2602:feb4:1a0::/44", "25961"}, + {"2a02:2780::/32", "35434"}, + {"2a03:4cc0::/32", "199569"}, + {"2001:559:238::/46", "33287"}, + {"2001:579:b11c::/41", "22773"}, + {"2a02:26f7:d0c8::/48", "36183"}, + {"2a0b:8c80::/29", "206420"}, + {"2a0f:7880:100::/40", "210542"}, + {"2a0f:aac0:2::/48", "14618"}, + {"2001:1968::/32", "7029"}, + {"2401:2e00::/32", "37963"}, + {"2404:bd00:a::/45", "58678"}, + {"240e:982:8100::/40", "133775"}, + {"2001:1248:9a54::/44", "11172"}, + {"2001:44b8:4057::/48", "4739"}, + {"2402:800:9b9b::/42", "7552"}, + {"2409:8080:2a10::/44", "9808"}, + {"2a03:6f00:1::/45", "9123"}, + {"2604:8440::/32", "32217"}, + {"2804:280::/32", "53219"}, + {"2804:6e0c::/32", "270572"}, + {"2a0d:4d40::/44", "50630"}, + {"2a04:4e40:6610::/44", "54113"}, + {"2a0f:be00::/29", "208250"}, + {"2001:da8:8017::/44", "23910"}, + {"240e:378::/35", "140329"}, + {"2603:c002:9a30::/39", "31898"}, + {"2804:14c:4700::/40", "28573"}, + {"2a02:26f7:c249::/40", "20940"}, + {"2600:141c:1001::/36", "20940"}, + {"2600:370f:738b::/42", "32261"}, + {"2a00:1600::/32", "50195"}, + {"2a05:35c0::/46", "60781"}, + {"2001:559:c45b::/48", "33650"}, + {"2403:e240::/32", "4767"}, + {"2405:4803:dda0::/34", "18403"}, + {"2600:100f:a010::/40", "22394"}, + {"2603:90b1::/32", "10838"}, + {"2800:bf0:8068::/46", "52257"}, + {"2c0f:f778::/32", "37009"}, + {"2400:32e0::/48", "140770"}, + {"2408:8456:be10::/42", "134543"}, + {"240a:a731::/32", "144491"}, + {"2600:1006:d160::/34", "22394"}, + {"2600:1480:580c::/47", "21342"}, + {"2606:2800:4204::/46", "15133"}, + {"2a02:16c8::/32", "6871"}, + {"2001:67c:22f4::/48", "200490"}, + {"240e:108:1162::/45", "4134"}, + {"2604:3e00::/32", "2552"}, + {"2804:18:830::/44", "26599"}, + {"2a0d:2902:caf9::/45", "204185"}, + {"2604:8600:9000::/33", "14453"}, + {"2803:9800:ba01::/33", "11664"}, + {"2a00:edc0:136::/48", "136468"}, + {"2a04:2b01::/30", "42044"}, + {"2a10:1c80::/29", "400522"}, + {"2001:1260:5::/48", "28544"}, + {"2607:9e80:1281::/39", "397068"}, + {"2620:d8:c000::/48", "7784"}, + {"2803:1040:2000::/32", "263751"}, + {"2804:2004::/32", "264460"}, + {"2a00:1d80::/32", "6789"}, + {"240a:af65::/32", "146591"}, + {"240e:974:eb00::/40", "38283"}, + {"2a09:bac0:1000::/47", "13335"}, + {"2001:c10:ff13::/44", "7473"}, + {"2409:805e:900::/35", "9808"}, + {"2409:8924:3100::/38", "56046"}, + {"2600:1406:ac00::/48", "35994"}, + {"2606:2800:4ad0::/47", "15133"}, + {"2620:39:6000::/48", "25682"}, + {"2804:90:6700::/32", "28580"}, + {"2804:14a8::/32", "263342"}, + {"2a02:508::/32", "8473"}, + {"2001:559:9f::/48", "7922"}, + {"2607:3f00:4::/42", "46261"}, + {"2607:5200::/32", "18501"}, + {"2610:18::/32", "2828"}, + {"2a01:c50f:e7c0::/36", "12479"}, + {"240a:aa15::/32", "145231"}, + {"240e:108:1151::/46", "4134"}, + {"2804:6fc8:8000::/37", "270684"}, + {"2a01:b8::/32", "8978"}, + {"2c0f:e878::/32", "60171"}, + {"2001:502:7094::/48", "396566"}, + {"2001:559:c4bc::/48", "33659"}, + {"2408:8957:cbc0::/37", "17622"}, + {"2409:8904:e040::/42", "24547"}, + {"2800:160:1880::/45", "14259"}, + {"2804:8024::/32", "271732"}, + {"2806:2f0:3243::/42", "17072"}, + {"2a02:587:501b::/40", "6799"}, + {"2a09:7d40:9::/32", "209382"}, + {"2001:559:87f1::/48", "20214"}, + {"2001:da8:8002::/48", "24366"}, + {"2401:9640::/32", "133982"}, + {"2604:9b40::/32", "29848"}, + {"2804:4218:3100::/32", "267477"}, + {"2a06:1000::/29", "35041"}, + {"2400:f7c0::/32", "133952"}, + {"2804:1b40::/35", "28255"}, + {"2001:250:4800::/44", "24360"}, + {"2001:4878:8102::/48", "12222"}, + {"2604:8600:7000::/32", "14453"}, + {"2806:2f0:3041::/46", "17072"}, + {"2a0f:bc0::/29", "203536"}, + {"2400:ad40::/32", "136262"}, + {"2606:cf00::/32", "54327"}, + {"2607:fc08::/32", "46786"}, + {"2a02:2308:31::/32", "29028"}, + {"2405:9800:c926::/44", "45430"}, + {"240a:a5f0::/32", "144170"}, + {"2804:3968::/32", "266029"}, + {"2804:4580:800::/35", "266931"}, + {"2a00:d0c0:200::/48", "205766"}, + {"2400:35e0::/32", "149026"}, + {"2404:2640:4000::/32", "138523"}, + {"2604:d600:1236::/44", "32098"}, + {"2408:8956:6200::/40", "17622"}, + {"2604:cac0:49::/48", "11019"}, + {"2801:bc:2000::/32", "28601"}, + {"2804:6a8c::/32", "270343"}, + {"2409:8053:2802::/38", "56047"}, + {"2620:171:59::/45", "715"}, + {"2a0f:9400:770c::/48", "53356"}, + {"2403:300:a31::/48", "714"}, + {"2605:8a40::/32", "13855"}, + {"2a01:c50f:fcc0::/39", "12479"}, + {"2a03:d900::/32", "49079"}, + {"2a0e:b107:ac2::/48", "204307"}, + {"2001:da8:267::/44", "23910"}, + {"2402:800:9a01::/44", "7552"}, + {"2803:4600:111b::/36", "14754"}, + {"2804:d84::/36", "28171"}, + {"2a0b:e46:1::/48", "203055"}, + {"2001:67c:1444::/48", "43832"}, + {"240a:a8f8::/32", "144946"}, + {"2a02:26f7:9a::/48", "36183"}, + {"2a03:7180::/32", "8499"}, + {"2a09:1380::/29", "209815"}, + {"2001:503:e239::/48", "397226"}, + {"2409:8904:38a0::/39", "24547"}, + {"240e:980:4e00::/40", "136195"}, + {"2600:5002:1807::/28", "7029"}, + {"2600:6c10:37::/44", "20115"}, + {"240e:1a:50::/39", "23650"}, + {"2600:380:c600::/39", "20057"}, + {"2a0d:6fc0::/29", "12400"}, + {"2001:eb0:100::/46", "9584"}, + {"2409:8915:4c00::/39", "56044"}, + {"240e:3b3:7800::/39", "4134"}, + {"2610:a1:fff::/48", "12008"}, + {"2a01:348::/41", "39326"}, + {"2a01:7140::/32", "41849"}, + {"2a0d:52c0::/29", "210129"}, + {"240a:a9a2::/32", "145116"}, + {"2607:f740:e610::/48", "63911"}, + {"2a03:9d40:4000::/40", "41095"}, + {"2a10:cb42::/29", "198328"}, + {"2804:768:880::/35", "52977"}, + {"2804:3c70::/32", "266211"}, + {"2408:8956:4300::/40", "17816"}, + {"2600:6c10:a1::/45", "20115"}, + {"2600:6c2e:711::/36", "20115"}, + {"2804:544::/32", "262505"}, + {"2804:3288::/32", "52827"}, + {"2a02:26f0:8e00::/48", "34164"}, + {"2a02:2750::/32", "8245"}, + {"2a02:6c00::/37", "786"}, + {"2001:df4:b400::/48", "17701"}, + {"2402:8100:20c8::/47", "55644"}, + {"2a02:e980:12f::/43", "19551"}, + {"2001:559:83d2::/47", "7725"}, + {"2804:5ccc::/36", "268931"}, + {"2a0c:eec0::/29", "50819"}, + {"2001:428:6808::/48", "19648"}, + {"2001:559:c1d3::/48", "33657"}, + {"2804:d50::/28", "8167"}, + {"2a01:a8c0::/29", "44712"}, + {"2a0d:1a40:fa0::/47", "202313"}, + {"2800:484:2400::/38", "14080"}, + {"2804:1bf4::/32", "61759"}, + {"2a01:6f0:fffe::/48", "36351"}, + {"2001:fd8:1e1::/46", "4775"}, + {"2600:1003:9110::/37", "22394"}, + {"2806:217:602::/32", "28394"}, + {"2a02:26f7:d984::/48", "36183"}, + {"2a02:26f7:f984::/48", "36183"}, + {"2001:559:c456::/48", "7922"}, + {"2804:34:2025::/32", "28306"}, + {"2a01:53c0:ffed::/43", "54994"}, + {"2001:550:7705::/46", "174"}, + {"240a:a70a::/32", "144452"}, + {"2607:f740:e03a::/48", "63911"}, + {"2804:c54::/32", "262650"}, + {"2a05:ca40::/29", "41906"}, + {"2403:ae00::/32", "38766"}, + {"2409:8e10::/30", "9808"}, + {"2a0c:e643:1984::/48", "146992"}, + {"2001:16a2:8200::/40", "25019"}, + {"2600:1417:c000::/48", "24319"}, + {"2800:8a0:c400::/38", "5722"}, + {"2a01:758:1::/32", "3326"}, + {"2a02:d10::/32", "9050"}, + {"2001:3a8::/32", "9848"}, + {"2600:141b:3801::/33", "20940"}, + {"2001:418:144e::/47", "15562"}, + {"2408:8256:2d9f::/38", "17816"}, + {"240a:a8a7::/32", "144865"}, + {"2804:694:4500::/38", "262596"}, + {"2804:269c:fe05::/48", "47065"}, + {"2806:20d:3214::/46", "32098"}, + {"2a02:26f7:ca::/48", "36183"}, + {"2a02:26f7:f889::/46", "20940"}, + {"2a12:9240::/32", "198034"}, + {"2600:6c10:fff6::/47", "20115"}, + {"2607:6800::/32", "27258"}, + {"2a02:440::/32", "30968"}, + {"2a02:26f0:96::/48", "34164"}, + {"2a04:9a00:1113::/48", "208153"}, + {"2a0b:11c0:11::/44", "198682"}, + {"2001:4478:1312::/48", "4739"}, + {"2001:4cb8:c1::/38", "28878"}, + {"2401:f540:1::/46", "134094"}, + {"240a:af53::/32", "146573"}, + {"2800:160:21a4::/41", "14259"}, + {"2404:2440:e0e0::/48", "138521"}, + {"2405:7f00:8900::/38", "133414"}, + {"240e:44d:1280::/41", "4134"}, + {"2800:860::/47", "262197"}, + {"2a00:15f8:a001::/33", "25532"}, + {"2a00:d360::/29", "15600"}, + {"2a0c:ab40::/29", "51105"}, + {"2a0e:bc00::/29", "206316"}, + {"2804:cc4::/43", "52551"}, + {"2001:678:1e0::/48", "202739"}, + {"2404:fa00::/34", "45780"}, + {"2620:123:d001::/48", "3356"}, + {"2a02:2290::/48", "206610"}, + {"2a02:26f7:b684::/48", "36183"}, + {"2a02:26f7:de91::/42", "20940"}, + {"2400:7400:e037::/35", "38044"}, + {"240a:a7a3::/32", "144605"}, + {"2600:803:1201::/29", "701"}, + {"2607:f740:50::/48", "36236"}, + {"2a02:26f7:b2::/48", "36183"}, + {"2a03:db02::/32", "25086"}, + {"240e:e1:9c00::/38", "4812"}, + {"2600:141b:3800::/48", "35994"}, + {"2001:559:c400::/48", "33651"}, + {"2402:1200:4::/44", "24523"}, + {"2a0e:8f02:f014::/48", "212268"}, + {"2001:67c:2278::/48", "44574"}, + {"2806:2f0:3121::/46", "17072"}, + {"2a00:1138::/33", "43782"}, + {"2a00:1490:fac1::/48", "42416"}, + {"2a09:5ec0::/29", "209428"}, + {"2001:67c:2a74::/48", "57839"}, + {"2405:6ac0::/32", "139736"}, + {"2409:8a4c:ce00::/31", "9808"}, + {"240a:a263::/32", "143261"}, + {"240e:a7:7fd5::/46", "140515"}, + {"2602:fed9::/36", "209"}, + {"2603:90f5:700::/40", "11351"}, + {"2804:5d78::/36", "268974"}, + {"2a02:d3c7::/32", "59565"}, + {"2408:8459:cd30::/41", "17622"}, + {"2408:8956:7e00::/40", "17622"}, + {"2602:ffe2:53::/45", "53334"}, + {"2a01:73c0:124::/37", "21450"}, + {"2001:559:153::/45", "7922"}, + {"2400:ac40:b80::/42", "136255"}, + {"2804:5884::/32", "268134"}, + {"2404:b0:2000::/47", "9891"}, + {"2605:3380:44fe::/47", "12025"}, + {"2804:2204::/32", "264586"}, + {"2c0f:fb18::/32", "37199"}, + {"2c0f:fe38:2060::/39", "33771"}, + {"2001:428:c0c::/48", "19604"}, + {"2001:df3:9a00::/48", "135769"}, + {"2001:1900:3012::/48", "6086"}, + {"2001:2060::/30", "1759"}, + {"240e:878:400::/39", "4134"}, + {"2a03:5640:f510::/46", "2906"}, + {"2001:67c:1bf0::/48", "33885"}, + {"2001:4878:c031::/48", "12222"}, + {"2402:800:512b::/41", "7552"}, + {"2604:3400:dc1::/48", "209453"}, + {"2001:df7:dc80::/48", "17487"}, + {"2402:800:f110::/42", "7552"}, + {"2001:559:8783::/45", "7922"}, + {"2001:67c:1100::/48", "197498"}, + {"2001:1260:2::/48", "28537"}, + {"2405:6e00:f820::/48", "133612"}, + {"2604:9cc0:a::/38", "50131"}, + {"2804:5f98::/32", "269111"}, + {"2a03:ff40::/33", "61102"}, + {"2a0f:a01:3::/45", "7018"}, + {"2001:559:326::/48", "13367"}, + {"2001:df7:6100::/48", "138504"}, + {"2402:3a80:1a20::/41", "38266"}, + {"2800:1e0:b02::/37", "7195"}, + {"2804:6040::/32", "269155"}, + {"2402:a300:8006::/44", "55427"}, + {"2001:1a11:ae::/48", "8781"}, + {"2404:4a00:2::/64", "55423"}, + {"240a:ad29::/32", "146019"}, + {"2602:fe6b::/36", "46475"}, + {"2a0f:9400:8023::/48", "213092"}, + {"2001:78c::/32", "57651"}, + {"2401:fa00:40::/47", "24424"}, + {"2607:da00:190::/36", "15164"}, + {"2804:5148::/32", "268443"}, + {"2c0f:fa28::/32", "37054"}, + {"2001:559:24e::/48", "33659"}, + {"2404:8e01::/32", "55392"}, + {"2a02:88d:811f::/48", "47794"}, + {"2a0f:a300::/32", "44326"}, + {"2001:559:c387::/48", "7016"}, + {"2400:8bc0::/32", "134907"}, + {"2408:8957:4c00::/40", "17622"}, + {"2600:1008:f010::/40", "22394"}, + {"2602:807:5000::/46", "55136"}, + {"2602:fcef::/36", "398984"}, + {"2a02:1778::/32", "41079"}, + {"2402:e380:310::/48", "138632"}, + {"2404:2440:c0c0::/48", "138521"}, + {"2409:8b3c::/32", "24444"}, + {"2607:f4e0:300::/32", "4150"}, + {"2620:0:1a20::/48", "33368"}, + {"2804:214::/47", "26615"}, + {"2804:6c58::/32", "270462"}, + {"2a01:c9c0:b1::/45", "24600"}, + {"2a02:26f7:de41::/46", "20940"}, + {"2a0d:8d06:1003::/32", "60557"}, + {"2408:8244::/35", "140726"}, + {"2600:380:f110::/40", "7018"}, + {"2604:5500:ac00::/38", "19165"}, + {"2607:b300:fd03::/48", "54994"}, + {"2804:4fc0::/32", "268347"}, + {"2806:2f0:34e1::/39", "17072"}, + {"2001:550:6600:1::/46", "174"}, + {"2606:800::/32", "1442"}, + {"2a02:c205::/30", "51167"}, + {"2a09:a4c7:8000::/36", "210625"}, + {"2402:800:961d::/41", "7552"}, + {"2001:da8:20f::/48", "24349"}, + {"2401:d800:5270::/40", "7552"}, + {"2804:2f3c::/34", "264879"}, + {"2a00:11c0:39::/48", "42473"}, + {"2a01:8dc0:109::/48", "29479"}, + {"2400:cb00:40::/47", "13335"}, + {"2600:2001::/32", "33517"}, + {"2620:65:a000::/48", "13536"}, + {"2804:13d0:99c0::/38", "263297"}, + {"2804:2fb0::/32", "264906"}, + {"2001:388:3058::/48", "24433"}, + {"2001:559:21::/48", "7015"}, + {"2409:8720:c800::/34", "56046"}, + {"2600:9000:1e4f::/43", "16509"}, + {"2804:7a0c::/32", "271344"}, + {"2001:4010::/32", "44444"}, + {"2404:188::/29", "6619"}, + {"2405:4cc1:d00::/40", "9471"}, + {"240a:aefe::/32", "146488"}, + {"2a04:aa40::/32", "47176"}, + {"2a06:85c0::/48", "202610"}, + {"2a0b:8f80:1::/48", "200746"}, + {"2001:4968::/32", "30513"}, + {"2604:8600:5000::/34", "14453"}, + {"2804:f24:9a11::/33", "263567"}, + {"2a02:26f7:c3c8::/47", "36183"}, + {"2402:e280:2201::/44", "134674"}, + {"240a:a1f2::/32", "143148"}, + {"2603:90b7::/32", "20001"}, + {"2804:4bb4:2000::/32", "267325"}, + {"2a02:26f7:be44::/48", "36183"}, + {"240a:a01a::/32", "142676"}, + {"2a01:66c0::/32", "58308"}, + {"2a0c:4480:a::/48", "204720"}, + {"2001:559:450::/47", "33668"}, + {"2001:67c:2890::/48", "43862"}, + {"2001:df0:d780::/48", "139288"}, + {"240a:a154::/32", "142990"}, + {"2600:6c10:d4::/46", "20115"}, + {"2a06:6541:1440::/48", "8220"}, + {"2a0a:d980::/31", "213113"}, + {"2a0f:1e00:456::/48", "30633"}, + {"2409:8030:1900::/34", "9808"}, + {"240e:352:6400::/31", "4134"}, + {"2605:70c0::/32", "398013"}, + {"2606:cc0:10::/47", "40676"}, + {"2804:3ba0::/32", "52688"}, + {"2620:0:2ea1::/48", "26777"}, + {"2a0c:9a40:8040::/43", "213392"}, + {"2602:fc5d:707::/48", "399866"}, + {"2607:f3f0:3::/32", "16724"}, + {"2a02:2e02:27c0::/36", "12479"}, + {"2402:5c40:5c42::/48", "64089"}, + {"2409:803c:30c1::/42", "24444"}, + {"240a:a0b0::/32", "142826"}, + {"240a:aee7::/32", "146465"}, + {"2604:5040:11::/48", "20150"}, + {"2605:3380:412e::/43", "12025"}, + {"2804:47e4::/32", "267083"}, + {"2a02:2090:6800::/48", "43489"}, + {"2a0b:4d07:501::/48", "44239"}, + {"2a0e:fa00:1::/48", "49447"}, + {"2001:428:f000::/36", "3908"}, + {"2804:e30:dc00::/38", "11338"}, + {"2804:1498::/32", "263339"}, + {"2a07:4bc0::/29", "198537"}, + {"2a0c:9a40:81a0::/48", "213385"}, + {"2001:da8:243::/48", "24348"}, + {"2401:c5c0:201::/37", "55492"}, + {"2406:7400:10::/46", "24309"}, + {"240a:a18a::/32", "143044"}, + {"2400:181::/48", "4766"}, + {"240a:afb1::/32", "146667"}, + {"2804:5420::/32", "268630"}, + {"2a02:26f0:c201::/37", "20940"}, + {"2a03:c8c0::/29", "50476"}, + {"2a0f:607:1056::/48", "212057"}, + {"2800:bf0:2ca::/35", "27947"}, + {"240a:a4d6::/32", "143888"}, + {"2606:8e80:53::/48", "32133"}, + {"2804:18:7800::/43", "26599"}, + {"2a04:42c0::/29", "12593"}, + {"2a0b:20c0:2001::/36", "205766"}, + {"2402:6f40:1::/48", "4812"}, + {"2404:1c40:ff::/39", "24432"}, + {"2804:4b28::/32", "267287"}, + {"2a0b:2780::/29", "43260"}, + {"2a10:c941:10:d::/47", "35277"}, + {"2407:cdc0:e014::/46", "38136"}, + {"2409:804b:2908::/48", "24445"}, + {"240a:acf5::/32", "145967"}, + {"2602:800:c000::/38", "397695"}, + {"2804:18f0::/32", "61764"}, + {"2001:1a08::/32", "15830"}, + {"240a:a81c::/32", "144726"}, + {"2800:bf0:828c::/47", "27947"}, + {"2804:22b0::/32", "264116"}, + {"2a01:768::/32", "25563"}, + {"2a0a:6340::/29", "42624"}, + {"2a0e:d601:7220::/48", "202436"}, + {"2403:c240::/32", "9264"}, + {"2600:6c38:b1c::/46", "20115"}, + {"2605:aa40:c1e5::/34", "395394"}, + {"2a0b:7d40:1::/46", "205583"}, + {"2a0c:b641:5d0::/48", "212952"}, + {"2001:57a:eff1::/35", "22773"}, + {"2001:df4:f900::/48", "137351"}, + {"2804:ac::/32", "18547"}, + {"2406:840:80::/47", "139317"}, + {"2408:8956:f4c0::/38", "17816"}, + {"2800:490:e000::/39", "27951"}, + {"2800:bf0:3780::/45", "52257"}, + {"2a00:1288:f043::/48", "23880"}, + {"2a03:8b60::/45", "29256"}, + {"2a0d:2144::/38", "39083"}, + {"2001:559:84d9::/46", "7015"}, + {"2409:8924:6700::/36", "56046"}, + {"240a:a890::/32", "144842"}, + {"2607:6480:4000::/35", "395337"}, + {"2001:550:a01::/48", "18640"}, + {"2602:ffdf::/38", "63060"}, + {"2604:1d40:200::/40", "30612"}, + {"2402:7f40::/32", "137166"}, + {"2404:6480::/32", "135130"}, + {"2408:8957:f8c0::/37", "17816"}, + {"2a01:aea0:df6::/32", "42473"}, + {"2a06:8c0::/29", "200739"}, + {"2a0e:b107:cb0::/44", "212948"}, + {"2a11:e487:cafe::/48", "212568"}, + {"2600:1010:e000::/44", "6167"}, + {"2803:4610::/32", "271939"}, + {"2a02:2010:2110::/45", "20978"}, + {"2001:559:8733::/45", "33651"}, + {"2402:3a80:1e64::/40", "38266"}, + {"2607:fd48:300:100::/47", "13536"}, + {"2803:e080::/32", "12150"}, + {"2001:559:fe::/39", "7922"}, + {"2001:559:c013::/48", "33491"}, + {"2001:559:8060::/48", "21508"}, + {"2001:c20:7805::/46", "3758"}, + {"2406:e580::/32", "63679"}, + {"2408:8120:7000::/36", "9929"}, + {"240a:a753::/32", "144525"}, + {"2607:fdc8:800::/48", "30036"}, + {"2804:2f60:200::/32", "264887"}, + {"2001:4c8:1111::/33", "15290"}, + {"2a02:5260::/29", "59775"}, + {"2a0a:d180:1000::/29", "206652"}, + {"2409:8904:4260::/39", "24547"}, + {"2803:1680:3000::/36", "21351"}, + {"2a0a:4a40:2273::/29", "206754"}, + {"2600:100c:9010::/38", "22394"}, + {"2620:11a:6000::/44", "32064"}, + {"2a02:27ab::/32", "21100"}, + {"2a02:6600::/32", "5377"}, + {"2a02:ddc3::/48", "47246"}, + {"2001:67c:2eac::/48", "211060"}, + {"2401:7500:fffd::/48", "33480"}, + {"240a:a2b2::/32", "143340"}, + {"2605:38c0::/32", "393601"}, + {"2620:13f:7018::/47", "51439"}, + {"2a01:58:6106::/48", "12552"}, + {"2a09:bd00:ffca::/48", "8985"}, + {"2a0b:1740::/29", "42202"}, + {"2001:550:6f01::/35", "174"}, + {"2406:600::/34", "4694"}, + {"2409:8000:3900::/33", "9808"}, + {"2804:26a4::/32", "263846"}, + {"2a06:cc0::/29", "30929"}, + {"2a0e:8f02:2120::/46", "211635"}, + {"2001:44c8:46b0::/44", "131445"}, + {"2400:ffc0:13c::/47", "17439"}, + {"240a:a342::/32", "143484"}, + {"2606:2800:4290::/48", "15133"}, + {"2804:64fc::/33", "269461"}, + {"2a02:7280::/32", "49572"}, + {"2a04:f240::/29", "201825"}, + {"2a07:b8c1:6::/43", "14043"}, + {"2407:4b40::/47", "141796"}, + {"2800:160:2c37::/44", "14259"}, + {"2804:51b0::/32", "268470"}, + {"2408:80ea:6300::/41", "17816"}, + {"2605:2280::/32", "62886"}, + {"2804:4b54::/32", "267298"}, + {"2a00:7180:8010::/46", "212775"}, + {"2a02:26f7:e2c4::/48", "36183"}, + {"2a0e:b107:5a1::/46", "203943"}, + {"2001:67c:28cc::/48", "51468"}, + {"240a:ad23::/32", "146013"}, + {"2600:1000:9f00::/44", "6167"}, + {"2610:e0:a001::/44", "2572"}, + {"2800:160:1acf::/43", "14259"}, + {"2a02:ac87:ac88::/33", "25145"}, + {"2405:3200::/39", "17639"}, + {"2602:ffc5:30::/46", "7489"}, + {"2a03:b8c0:20::/45", "396253"}, + {"2409:8070:1100::/36", "9808"}, + {"2a03:5342:10::/42", "200656"}, + {"2a03:9180:2::/47", "199813"}, + {"2001:1838:5003::/40", "23352"}, + {"240a:aa81::/32", "145339"}, + {"240a:af93::/32", "146637"}, + {"2804:315c::/32", "265009"}, + {"2a02:2698:9800::/38", "31363"}, + {"2a03:3000::/32", "42772"}, + {"2a0a:3140:1610::/44", "15532"}, + {"2a0d:2146:2404::/48", "44592"}, + {"2a11:3380::/29", "20565"}, + {"2001:e60:a488::/38", "4766"}, + {"2001:1248:5916::/44", "11172"}, + {"2001:1a10:2::/40", "8781"}, + {"2600:1409:3801::/33", "20940"}, + {"2610:a1:1028::/48", "19905"}, + {"2800:3f0::/33", "15169"}, + {"2401:8800:4::/43", "17439"}, + {"240a:a358::/32", "143506"}, + {"240a:ac95::/32", "145871"}, + {"2620:109:40::/40", "10753"}, + {"2804:13b8::/32", "263548"}, + {"2a02:6da0::/29", "47638"}, + {"2408:8456:5000::/42", "17622"}, + {"2408:8459:c930::/41", "17622"}, + {"240a:ae3f::/32", "146297"}, + {"240a:aff6::/32", "146736"}, + {"2600:1406:201::/39", "20940"}, + {"2803:2a00::/38", "27895"}, + {"2804:7114::/32", "270765"}, + {"2a0f:d600::/39", "208236"}, + {"2600:370f:350e::/42", "32261"}, + {"2a02:2968::/29", "48635"}, + {"2a10:9903:110::/44", "15510"}, + {"2001:559:90::/48", "7725"}, + {"2001:df2:4100::/48", "132304"}, + {"2001:1aea::/32", "5588"}, + {"240a:ac5c::/32", "145814"}, + {"2604:10c0:ffff::/48", "40034"}, + {"2800:160:2b07::/41", "14259"}, + {"2803:1780:8000::/48", "264646"}, + {"2804:6348::/32", "269351"}, + {"2a11:a880::/29", "204790"}, + {"2804:52b4::/32", "268535"}, + {"2a00:1c88:100::/48", "209242"}, + {"2001:559:c005::/48", "7016"}, + {"2408:8256:318c::/48", "17816"}, + {"2603:fb80::/27", "397165"}, + {"2a0d:1580::/48", "202085"}, + {"2001:559:822a::/48", "21508"}, + {"2001:678:4a0::/48", "44574"}, + {"2600:1407:e801::/35", "20940"}, + {"2804:1240::/32", "263465"}, + {"2a02:26f0:116::/48", "3292"}, + {"2a11:5705:b00b::/48", "212149"}, + {"2001:559:c262::/48", "33659"}, + {"2620:125:9001::/48", "397415"}, + {"2a02:1710:4::/48", "44843"}, + {"2a0e:cb80::/29", "44486"}, + {"240a:a3b4::/32", "143598"}, + {"2001:559:83d5::/48", "7922"}, + {"2001:4830:c210::/48", "64249"}, + {"2600:1901:c130::/34", "15169"}, + {"2620:106:6009::/45", "3562"}, + {"2a00:4802:5010::/40", "8717"}, + {"2a07:7b80:101::/44", "8757"}, + {"2a11:c300::/29", "204790"}, + {"2001:559:706::/48", "33287"}, + {"2804:a84:8001::/33", "262296"}, + {"2a0e:aa06:470::/44", "208618"}, + {"2400:e500::/48", "138322"}, + {"2620:10a:80ac::/48", "396501"}, + {"2409:8924:6300::/37", "56046"}, + {"2602:feb4:250::/44", "25961"}, + {"2605:e000:40c::/38", "20001"}, + {"2806:230:202f::/48", "11888"}, + {"2806:102e:1e::/48", "8151"}, + {"2001:559:4f9::/48", "33287"}, + {"2405:16c0::/32", "134781"}, + {"240a:ad30::/32", "146026"}, + {"2600:1409:f801::/30", "20940"}, + {"2800:370:84::/48", "28006"}, + {"2401:d800:70::/40", "7552"}, + {"2409:803c:2c00::/38", "9808"}, + {"2409:896a:1b00::/37", "9808"}, + {"2620:128:2010::/48", "397457"}, + {"240a:afcc::/32", "146694"}, + {"2600:1409:b::/48", "20940"}, + {"2607:f6f0:a004::/40", "16553"}, + {"2804:204:206::/44", "28186"}, + {"2001:13d2:5802::/47", "7303"}, + {"2603:fa30::/25", "397165"}, + {"2804:14d:5ca6::/43", "28573"}, + {"2001:559:76a::/48", "22909"}, + {"2001:559:c085::/48", "33287"}, + {"2401:d800:7e10::/42", "7552"}, + {"2406:e900::/48", "132649"}, + {"2804:2fcc::/32", "264912"}, + {"2806:269:3300::/37", "13999"}, + {"2001:5a0:4e02::/35", "6453"}, + {"2001:df2:4380::/48", "139870"}, + {"2409:8a50:1100::/31", "56047"}, + {"2620:2e:40ce::/47", "394506"}, + {"2804:9f8:400c::/32", "262773"}, + {"2804:531c:228::/43", "268564"}, + {"2a07:a105::/30", "200486"}, + {"2a10:a1c0::/32", "6730"}, + {"2001:e60:a388::/37", "4766"}, + {"2604:9e02::/32", "53365"}, + {"2620:11c:f000::/48", "393667"}, + {"2804:6590::/32", "269500"}, + {"2804:7308::/36", "270891"}, + {"2a02:2e02:1ee0::/39", "12479"}, + {"2001:559:86b2::/48", "33650"}, + {"2001:650:cc03::/29", "28748"}, + {"2600:1000:b1d0::/42", "6167"}, + {"2600:1488:c001::/41", "20940"}, + {"2804:14d:600::/40", "28573"}, + {"2804:2674:4000::/40", "264344"}, + {"2804:3c98::/32", "266223"}, + {"2a07:9944:10::/48", "58305"}, + {"2607:f038:4010::/45", "21527"}, + {"2a02:2010:2310::/45", "20978"}, + {"2a04:aa47::/32", "47176"}, + {"2001:559:c267::/44", "7922"}, + {"2408:8000:a018::/48", "140716"}, + {"2408:8956:7840::/40", "17622"}, + {"2602:fd6f:aaa::/45", "18526"}, + {"2a0b:efc0::/37", "60893"}, + {"2a0f:34c0::/29", "400177"}, + {"240a:a206::/32", "143168"}, + {"240e:62:c000::/36", "4134"}, + {"2600:2003::/32", "33517"}, + {"2803:b80::/32", "27930"}, + {"2a00:c40::/32", "34315"}, + {"2a01:8840:52::/45", "12041"}, + {"2001:559:c235::/48", "7922"}, + {"2001:1248:9703::/45", "11172"}, + {"2402:5b00:20::/41", "18002"}, + {"2607:f4e8:e::/47", "22822"}, + {"2001:1bc0::/31", "29686"}, + {"2a01:53c0:ffbf::/48", "54994"}, + {"2001:559:804d::/48", "33662"}, + {"2001:559:c10e::/48", "33659"}, + {"2602:240::/28", "46375"}, + {"2606:40cc::/30", "1239"}, + {"2a00:86c0:2086::/47", "40027"}, + {"2a03:7f80::/32", "42010"}, + {"2a06:1280:ce06::/31", "61138"}, + {"2001:559:1e2::/48", "33656"}, + {"2001:df3:5700::/48", "137198"}, + {"2a00:d00::/39", "41887"}, + {"2a01:6100::/32", "15967"}, + {"2001:df0:a3::/48", "45305"}, + {"2404:a640::/41", "133827"}, + {"240a:a251::/32", "143243"}, + {"2600:1419:6c01::/35", "20940"}, + {"2803:c10::/32", "271867"}, + {"2804:17c8::/32", "263251"}, + {"2a02:26f7:d088::/48", "36183"}, + {"2409:804d:900::/35", "9808"}, + {"2604:6600:fe7d::/40", "40676"}, + {"2804:318c:ff02::/40", "265023"}, + {"2806:20d:322e::/47", "32098"}, + {"2404:7180:aa00::/48", "23848"}, + {"2408:84f3:2c20::/43", "17816"}, + {"2604:e180:de06::/44", "55002"}, + {"2403:6c00::/32", "17514"}, + {"2001:559:8689::/48", "33655"}, + {"2001:559:c136::/48", "20214"}, + {"2401:d380::/32", "38031"}, + {"2a02:26f7:d781::/46", "20940"}, + {"2a0e:b107:15d0::/46", "210951"}, + {"240a:a226::/32", "143200"}, + {"2804:4efc::/34", "268296"}, + {"2804:7d70::/35", "271561"}, + {"2400:1c00:1::/45", "45143"}, + {"2600:1404:a001::/38", "20940"}, + {"2800:5f0:2034::/46", "22724"}, + {"2804:41c4::/32", "267455"}, + {"2806:2f0:2183::/42", "22884"}, + {"2a02:ec80:500::/48", "14907"}, + {"2a0b:8f80::/48", "48635"}, + {"2600:9000:1e0e::/48", "16509"}, + {"2605:a401:8e41::/44", "33363"}, + {"2804:5d08::/32", "263101"}, + {"2a09:2bc0::/32", "209528"}, + {"2a0f:d0c0::/29", "43424"}, + {"2a10:da40::/29", "34907"}, + {"2c0f:ef68:4::/32", "37662"}, + {"2001:579:412c::/43", "22773"}, + {"2001:43f8:13a0::/48", "37187"}, + {"2400:1701::/32", "4765"}, + {"2604:880:264::/43", "29802"}, + {"2803:6f00:801::/32", "14117"}, + {"2a02:2600::/32", "48299"}, + {"2a02:26f0:9d01::/40", "20940"}, + {"2a02:26f7:8c::/48", "36183"}, + {"2a02:4d40::/32", "25394"}, + {"2a0d:a80::/29", "200851"}, + {"2404:c140:222::/34", "138997"}, + {"2600:1006:b030::/44", "22394"}, + {"2606:65c0:30::/48", "399804"}, + {"2804:118c::/32", "53182"}, + {"2804:2a04::/32", "264051"}, + {"2804:574c::/34", "268057"}, + {"2a00:4140::/32", "34766"}, + {"2a0f:9400:7726::/48", "53356"}, + {"2001:1388:80a::/38", "6147"}, + {"240a:accd::/32", "145927"}, + {"2600:1008:b030::/44", "22394"}, + {"2600:14c0:a::/47", "21342"}, + {"2605:9600::/32", "62"}, + {"2800:160:1231::/44", "14259"}, + {"2801:80:a10::/48", "263287"}, + {"2804:7be8:2::/32", "271462"}, + {"2a06:9f40::/30", "204136"}, + {"2406:3400:a00::/32", "10143"}, + {"2409:8050:2100::/37", "9808"}, + {"2607:f718::/32", "11847"}, + {"2a06:6541:4181::/48", "8220"}, + {"2408:880c::/27", "17621"}, + {"2607:8200:c000::/36", "6295"}, + {"2801:80:3400::/48", "268743"}, + {"2806:230:100c::/48", "265594"}, + {"2a02:2380:1::/45", "51941"}, + {"2001:500:89::/48", "26710"}, + {"240e:108:1090::/48", "58542"}, + {"2600:6c38:97::/44", "20115"}, + {"2800:bf0:b405::/42", "27947"}, + {"2804:21ec::/32", "264582"}, + {"2a02:26f7:b404::/48", "36183"}, + {"2001:559:142::/48", "20214"}, + {"2401:4900:40a0::/41", "45609"}, + {"240a:a093::/32", "142797"}, + {"2804:1f08::/32", "263293"}, + {"2804:28b0::/32", "52932"}, + {"2a01:1b8:6::/32", "1257"}, + {"2001:559:467::/48", "33657"}, + {"2001:678:7::/48", "48053"}, + {"2001:67c:2840::/48", "25046"}, + {"2001:d50::/32", "7665"}, + {"240a:a46f::/32", "143785"}, + {"240e:980:9400::/40", "4134"}, + {"2a00:d100::/32", "15704"}, + {"2a06:a004:6000::/36", "44570"}, + {"2a10:3100::/29", "35598"}, + {"2c0f:7b00::/28", "8452"}, + {"2408:8456:cc00::/42", "17622"}, + {"2a00:19c8::/32", "35833"}, + {"2a06:cfc0::/29", "199837"}, + {"2a0f:2a04::/32", "42692"}, + {"240a:a397::/32", "143569"}, + {"2604:8fc0::/32", "13549"}, + {"2a01:77c0:6::/48", "34848"}, + {"2a02:6e8::/32", "8399"}, + {"2a0e:6c80::/29", "208599"}, + {"2c0f:f6d8:4022::/47", "21433"}, + {"2001:7f8:ec::/48", "208425"}, + {"2001:da8:e016::/44", "24367"}, + {"2620:b3:4000::/48", "62611"}, + {"2803:ea80:2000::/36", "28048"}, + {"2804:808::/32", "16735"}, + {"2804:145c:8d90::/38", "263327"}, + {"2804:8150::/34", "272446"}, + {"2001:250:342d::/48", "138393"}, + {"2408:8756:4d00::/32", "17816"}, + {"240e:108:98::/48", "137698"}, + {"2804:3d58::/32", "266525"}, + {"2600:6c20:85e::/40", "20115"}, + {"2001:c20:489a::/48", "9255"}, + {"2001:4878:4225::/48", "12222"}, + {"240b:4007::/32", "45102"}, + {"2a0e:e6c0:4000::/36", "59584"}, + {"2001:559:85af::/48", "20214"}, + {"2001:b20::/29", "24611"}, + {"2405:aa00::/32", "7712"}, + {"2600:140b:cc01::/38", "20940"}, + {"2620:74:29::/48", "396574"}, + {"2803:f00:680::/42", "262182"}, + {"2806:20d:5014::/47", "32098"}, + {"2a00:6180::/32", "29062"}, + {"2a01:9660::/43", "199743"}, + {"2401:8700:3a::/48", "36408"}, + {"2406:c7c0::/32", "138800"}, + {"2600:1418:8001::/33", "20940"}, + {"2804:81d8::/32", "272480"}, + {"2c0f:f598:3::/48", "327813"}, + {"2405:9000:b::/41", "7474"}, + {"2600:140b:7001::/38", "20940"}, + {"2605:380:32::/48", "42473"}, + {"2605:6ac0:3000::/36", "32374"}, + {"2607:f128:1::/37", "32748"}, + {"2610:b0:414c::/43", "3573"}, + {"2a0f:ca86::/40", "208046"}, + {"2001:559:16c::/48", "7016"}, + {"2400:cb00:a770::/47", "13335"}, + {"240e:44d:1100::/42", "140345"}, + {"2602:fed2:718b::/45", "53356"}, + {"2606:4700:3000::/43", "13335"}, + {"2a00:be80::/32", "15557"}, + {"2001:43f8:90::/48", "37708"}, + {"2800:160:1caf::/43", "14259"}, + {"2804:2aa8::/32", "264088"}, + {"2806:2f0:6141::/46", "17072"}, + {"2a0e:3840:1::/48", "3170"}, + {"2001:4408::/45", "4758"}, + {"2403:8400:10::/47", "17917"}, + {"2600:100d:9010::/40", "22394"}, + {"2605:f440:5353::/48", "57439"}, + {"2a0a:7780::/29", "207167"}, + {"2001:1578:200::/40", "12817"}, + {"2404:8d02:4983::/41", "9587"}, + {"2409:8087:102c::/38", "9808"}, + {"2800:8f0::/32", "22860"}, + {"2402:800:5ee0::/44", "7552"}, + {"2405:9200:5f00::/44", "131596"}, + {"240e:3b7:ec00::/35", "140314"}, + {"2a02:ce00::/29", "47521"}, + {"2a11:fe80:fabd::/46", "209209"}, + {"2c0f:f530:20::/44", "61138"}, + {"2804:6064::/32", "269164"}, + {"2a02:2e02:10b0::/41", "12479"}, + {"2001:559:c3b1::/48", "33659"}, + {"240e:45c:3a00::/40", "131285"}, + {"2606:5b00::/38", "29765"}, + {"2620:124:b003::/40", "32521"}, + {"2620:149:100::/41", "714"}, + {"2804:2c58:1010::/39", "265211"}, + {"2a02:ab0::/29", "42346"}, + {"2a03:c400::/32", "8445"}, + {"2001:468:913::/48", "1747"}, + {"2400:9380:99c0::/44", "136167"}, + {"240a:acdb::/32", "145941"}, + {"2a02:63e0::/32", "202709"}, + {"2a02:ad40::/29", "21207"}, + {"2a09:a4c2::/32", "210625"}, + {"2001:559:8495::/48", "22909"}, + {"2001:df1:8900::/48", "136733"}, + {"240e:44d:5a40::/42", "140350"}, + {"2804:3b8::/44", "52965"}, + {"2804:6908:6000::/35", "270244"}, + {"2a07:4841::/48", "13213"}, + {"2a0e:da40:10::/42", "210542"}, + {"2001:250:c29::/48", "23910"}, + {"2001:268:837::/44", "2516"}, + {"2001:468:702::/36", "11537"}, + {"2001:4878:a038::/48", "12222"}, + {"2405:9640::/48", "136557"}, + {"240a:a604::/32", "144190"}, + {"2607:1280:12e0::/44", "394972"}, + {"2607:fb10:5043::/42", "2906"}, + {"2403:1940:10::/48", "137935"}, + {"2409:8914:9c00::/39", "56044"}, + {"2600:1407:20::/47", "20940"}, + {"2602:fff0::/36", "18889"}, + {"2607:f620::/32", "11590"}, + {"2803:cae0:c002::/47", "27951"}, + {"2a0a:c140::/32", "205901"}, + {"2001:559:8338::/48", "33657"}, + {"2001:67c:2944::/48", "211781"}, + {"240e:438:1440::/38", "4134"}, + {"2a02:26f7:d345::/46", "20940"}, + {"2a0f:4680::/32", "50113"}, + {"2a11:bd40::/29", "18779"}, + {"2001:500:61::/48", "33080"}, + {"2607:fc48:c00::/48", "40009"}, + {"2804:70d4::/34", "270751"}, + {"2a0b:6b84:b::/35", "200639"}, + {"2400:1c00:1e::/41", "45143"}, + {"2400:fc00:87e0::/36", "45773"}, + {"2600:6000:fb34::/48", "11351"}, + {"2604:880:222::/43", "29802"}, + {"2607:fb58:7000::/36", "36086"}, + {"2a0b:97c0::/29", "58067"}, + {"2001:1248:a02f::/48", "11172"}, + {"240c:caa1::/32", "24363"}, + {"2600:6c38:d42::/47", "20115"}, + {"2001:559:c1d4::/48", "33287"}, + {"2804:482c::/32", "267102"}, + {"2a02:2e02:280::/37", "12479"}, + {"2001:503:3227::/48", "7342"}, + {"2403:300:a16::/48", "6185"}, + {"2404:bc0:4100::/43", "137735"}, + {"2408:8459:e450::/38", "17816"}, + {"2607:f5b3::/32", "396362"}, + {"2620:e2:4000::/48", "64230"}, + {"2804:660c::/32", "269530"}, + {"2804:67ec::/32", "269659"}, + {"2001:550:9006::/39", "174"}, + {"2405:3140:31::/48", "56006"}, + {"2406:3000:e::/48", "140929"}, + {"2606:4700:1100::/40", "132892"}, + {"2a05:cf40::/29", "199163"}, + {"2400:cb00:a320::/45", "13335"}, + {"2600:bc01::/32", "398993"}, + {"2604:f180::/32", "30526"}, + {"2620:11b:4000::/48", "19210"}, + {"2a02:26f7:f188::/48", "36183"}, + {"2800:160:1f08::/46", "14259"}, + {"2406:eb00:1::/48", "132653"}, + {"2600:380:e900::/41", "7018"}, + {"2600:803:613::/48", "27030"}, + {"2600:1401:8::/34", "20940"}, + {"2804:1288:2000::/32", "263482"}, + {"2a00:47c0:611::/48", "27435"}, + {"2a10:1fc0:4::/48", "61102"}, + {"2001:df3:8880::/48", "132335"}, + {"2603:f078::/24", "397165"}, + {"2604:d600:54f::/43", "32098"}, + {"2803:f00:4c9::/48", "262182"}, + {"2804:7094:5000::/32", "270735"}, + {"2a0f:f480::/29", "60262"}, + {"2402:800:f9c0::/42", "7552"}, + {"240e:67c:c600::/34", "4134"}, + {"2604:9000:103::/34", "19693"}, + {"2a04:4e40:2400::/45", "54113"}, + {"2401:7500:ff6::/47", "33480"}, + {"2806:2f0:5163::/40", "17072"}, + {"2404:7a00::/32", "17953"}, + {"240e:3b9:4c00::/35", "136200"}, + {"240e:44d:5440::/42", "140347"}, + {"2600:380:f107::/48", "64011"}, + {"2600:387:15::/25", "7018"}, + {"2607:f778:c100::/38", "32035"}, + {"2a00:1b00:1000::/48", "47862"}, + {"2a0c:3580::/29", "30823"}, + {"2c0f:fbf0::/48", "37394"}, + {"2001:df0:e6::/48", "45596"}, + {"2001:4878:4031::/48", "12222"}, + {"2405:ec00:9014::/42", "23955"}, + {"2605:940::/40", "396919"}, + {"2607:f160:ff00::/40", "6167"}, + {"2a06:c100::/29", "208920"}, + {"2001:678:108::/48", "196682"}, + {"2402:800:1131::/34", "7552"}, + {"2402:8a80::/32", "134375"}, + {"2407:c40:1::/46", "46562"}, + {"2409:8087:2025::/40", "56046"}, + {"240a:a384::/32", "143550"}, + {"2804:3940::/32", "266021"}, + {"2a04:1a00::/29", "199318"}, + {"2a04:4e40:3a00::/47", "54113"}, + {"2402:800:9601::/44", "7552"}, + {"2600:140b:1401::/38", "20940"}, + {"2800:160:11a4::/43", "14259"}, + {"2804:314:4007::/43", "61568"}, + {"2a0e:9680::/29", "57112"}, + {"2001:df2:f980::/48", "17439"}, + {"2402:800:3de0::/44", "7552"}, + {"2403:e800:e80c::/35", "4637"}, + {"2408:8456:f100::/42", "17622"}, + {"2602:fe04::/36", "15164"}, + {"2804:4498::/32", "267641"}, + {"2a02:26f7:b6c9::/46", "20940"}, + {"2a0f:5707:aa23::/44", "207622"}, + {"2001:cc8::/31", "4637"}, + {"2402:ef40::/32", "4808"}, + {"2404:bf40:f002::/41", "139084"}, + {"240a:a2af::/32", "143337"}, + {"240e:979:7f00::/32", "4134"}, + {"2a0a:4ac0::/29", "40970"}, + {"2001:1900:2288::/45", "3356"}, + {"2404:3d00:4146::/44", "3573"}, + {"240a:ad25::/32", "146015"}, + {"2a00:12d8::/43", "12586"}, + {"2001:df3:a980::/48", "135900"}, + {"2401:dc40::/32", "24253"}, + {"2a0e:97c0:4da::/48", "211024"}, + {"2001:559:30f::/48", "33287"}, + {"2401:7b40:4001::/46", "38071"}, + {"2404:8000:94::/44", "17451"}, + {"2409:8914:9e00::/39", "56044"}, + {"240a:a387::/32", "143553"}, + {"240a:a6f8::/32", "144434"}, + {"2604:b180:150::/44", "26925"}, + {"2605:7b40::/32", "53384"}, + {"2620:104:600a::/48", "53779"}, + {"2804:7734::/33", "271162"}, + {"2a00:dd80:3e::/41", "36236"}, + {"2406:e000::/38", "23655"}, + {"2607:f740:e626::/48", "29997"}, + {"2620:17c::/36", "30641"}, + {"2804:59c::/32", "262527"}, + {"2804:bfc::/32", "52654"}, + {"2a0e:97c3:416::/48", "20473"}, + {"2800:110:3400::/48", "28068"}, + {"2001:49f0:a071::/36", "174"}, + {"2800:370:61::/48", "28006"}, + {"2a00:6c80::/32", "44974"}, + {"2a02:2a60::/32", "702"}, + {"2a0c:9840::/29", "202510"}, + {"2804:cb0:facf::/37", "52742"}, + {"2001:500:6::/48", "12287"}, + {"2404:2280:1c8::/48", "24429"}, + {"240a:a8a1::/32", "144859"}, + {"2604:a2c0::/32", "53256"}, + {"2800:550:5::/42", "7004"}, + {"2804:4604::/32", "266962"}, + {"2a0c:8540:1::/45", "42198"}, + {"240a:a429::/32", "143715"}, + {"2804:7c18::/42", "271475"}, + {"240e:44d:6000::/41", "140345"}, + {"2600:140b:9800::/48", "24319"}, + {"2607:f148:4000::/36", "11734"}, + {"2800:860:facf::/37", "262197"}, + {"2804:49a4::/32", "267194"}, + {"2804:6010::/32", "269143"}, + {"2600:6c08::/31", "20115"}, + {"2a02:26f0:af01::/40", "20940"}, + {"2c0f:ecf0::/32", "36924"}, + {"2001:559:8350::/47", "7922"}, + {"2001:559:c0a1::/48", "33652"}, + {"2001:df5:3080::/48", "55308"}, + {"2804:76d0::/32", "271136"}, + {"2a02:ec0:300::/32", "41653"}, + {"2804:7090::/32", "270734"}, + {"2a05:4741:6::/48", "51699"}, + {"2a06:a000:200::/40", "210842"}, + {"2409:8904:a840::/39", "24547"}, + {"240a:a5ac::/32", "144102"}, + {"2a02:4b8::/31", "39605"}, + {"2a0b:7ec0::/33", "206728"}, + {"2001:468:2620::/48", "237"}, + {"2001:57a:b800::/33", "22773"}, + {"2401:b180:8000::/33", "37963"}, + {"240a:a0c9::/32", "142851"}, + {"2602:fcb8::/36", "36289"}, + {"2603:b0e0:caff::/34", "11796"}, + {"2610:b0:40bf::/41", "3573"}, + {"2620:122:8003::/48", "399731"}, + {"2804:550c::/33", "268686"}, + {"2400:6280:150::/48", "132280"}, + {"2607:9e80:1381::/32", "397068"}, + {"2803:2a80:1255::/48", "262928"}, + {"2a02:26f7:cf0a::/42", "20940"}, + {"2a02:26f7:d888::/48", "36183"}, + {"2a09:f780::/48", "203395"}, + {"2001:559:c298::/48", "33287"}, + {"2400:cb00:380::/46", "13335"}, + {"240e:3b8:1800::/34", "4134"}, + {"2600:9000:232a::/45", "16509"}, + {"2a02:2e02:a0d0::/39", "12479"}, + {"2a0c:a9c7:2::/47", "62135"}, + {"2001:250:5831::/48", "138371"}, + {"2001:559:c30c::/48", "7922"}, + {"2001:e48:22:1018::/48", "9583"}, + {"2001:4220:800b::/45", "24835"}, + {"2402:9800:4005::/48", "136108"}, + {"2405:9cc0::/32", "139967"}, + {"2606:54c0::/32", "13335"}, + {"2804:2bc::/39", "262832"}, + {"2001:1248:9c0f::/43", "11172"}, + {"2400:a980:4000::/40", "38587"}, + {"2600:c0e::/34", "13789"}, + {"2600:140b:b801::/38", "20940"}, + {"2600:8807:a840::/38", "22773"}, + {"2c0f:1a00::/32", "37603"}, + {"240e:96b:600f::/43", "140369"}, + {"2001:1260:4f1::/44", "28532"}, + {"2400:9380:8140::/48", "4134"}, + {"2404:bf40:c201::/41", "139084"}, + {"2404:f4c0:5151::/36", "139248"}, + {"2604:92c0::/32", "19568"}, + {"2804:1d0c::/32", "61692"}, + {"2804:455c::/32", "266921"}, + {"240e:30a:1200::/32", "4134"}, + {"2806:230:602b::/48", "11888"}, + {"2a03:8ac0:250::/48", "47523"}, + {"2a0a:e680::/29", "21159"}, + {"2600:1402:4000::/48", "35994"}, + {"2607:f058:2200::/32", "22302"}, + {"2a09:b0c0::/32", "9063"}, + {"2001:559:c116::/48", "7922"}, + {"2001:df0:21e::/48", "55396"}, + {"2001:df5:9980::/48", "140766"}, + {"2407:cdc0:a000::/44", "38136"}, + {"240a:a681::/32", "144315"}, + {"240e:980:2c01::/40", "4134"}, + {"2604:200:7::/43", "33132"}, + {"2801:ba::/32", "28602"}, + {"2804:67fc::/32", "269663"}, + {"2a03:d200::/32", "56366"}, + {"2a0f:5701:fe02::/43", "206499"}, + {"2800:160:1afb::/39", "14259"}, + {"2001:559:c032::/45", "22909"}, + {"2409:8a02::/32", "38019"}, + {"2600:1417:78::/48", "9498"}, + {"2804:14c:dc81::/41", "28573"}, + {"2a02:128:6::/48", "50765"}, + {"2a02:26f7:f284::/48", "36183"}, + {"2a03:a580::/32", "197914"}, + {"2001:579:6290::/45", "22773"}, + {"2402:800:76c0::/42", "7552"}, + {"240a:aa40::/32", "145274"}, + {"2804:3c28::/36", "263011"}, + {"2804:77d0::/32", "271201"}, + {"2a03:6306::/32", "12837"}, + {"2a0f:85c2::/32", "207841"}, + {"2620:10a:80ad::/48", "55195"}, + {"2a02:ff0:3df1::/46", "12735"}, + {"2a02:26f7:f6f8::/47", "36183"}, + {"2a0c:9ac0::/29", "18779"}, + {"2001:1b70:86ae::/48", "158"}, + {"240a:abbc::/32", "145654"}, + {"2402:800:3eb1::/44", "7552"}, + {"2402:800:5d2b::/41", "7552"}, + {"240a:afa5::/32", "146655"}, + {"2a02:2e02:24d0::/39", "12479"}, + {"2a10:d8c0::/29", "208861"}, + {"2a11:e700::/29", "60935"}, + {"240a:acd5::/32", "145935"}, + {"2607:f710:60::/48", "19624"}, + {"2001:df2:e600::/48", "133661"}, + {"2607:4800::/32", "25637"}, + {"2804:431c:300::/32", "267549"}, + {"2a02:26f7:b8c5::/46", "20940"}, + {"2001:559:8550::/47", "33490"}, + {"2600:1004:d060::/40", "22394"}, + {"2603:c001:3e00::/43", "31898"}, + {"2606:1a40:200e::/47", "42473"}, + {"2804:4f10::/32", "266612"}, + {"2804:599c::/32", "268713"}, + {"2a0b:bc80::/29", "42924"}, + {"2a0b:c4c0::/29", "9144"}, + {"2a0f:2240::/29", "60262"}, + {"2400:8901::/29", "63949"}, + {"2407:3280::/32", "4851"}, + {"2409:8087:1000::/44", "9808"}, + {"2620:40:6000::/48", "30405"}, + {"2620:100:6029::/43", "19679"}, + {"2a02:1390:7000::/36", "21351"}, + {"2a03:c940::/32", "52142"}, + {"2a0a:6680:197a::/34", "203500"}, + {"2001:fd8:f200::/42", "132199"}, + {"2607:e480:4::/48", "395748"}, + {"2607:fdf0:5fff::/32", "8008"}, + {"2801:15:a800::/48", "19429"}, + {"2a00:4802:3c10::/39", "8717"}, + {"2400:4ec0:8f01::/35", "64300"}, + {"2408:8459:ce10::/42", "17623"}, + {"2409:8055:301a::/48", "9808"}, + {"2803:8100::/32", "21826"}, + {"2a0d:4ac0::/46", "208006"}, + {"2001:44b8:309b::/48", "7545"}, + {"2403:3800:601::/35", "4007"}, + {"2600:6c7f:91c0::/43", "20115"}, + {"2620:149:a23::/45", "714"}, + {"2a09:f0c0::/29", "209169"}, + {"2a0c:7680:1337::/48", "50629"}, + {"2406:bf00::/48", "38220"}, + {"240a:aea8::/32", "146402"}, + {"240e:41:c000::/37", "17799"}, + {"2604:d600:698::/42", "32098"}, + {"2606:c380::/32", "11440"}, + {"2606:ef80:7::/32", "7226"}, + {"2801:b6:1000::/32", "263083"}, + {"240a:aae6::/32", "145440"}, + {"2804:62c::/34", "262569"}, + {"2001:559:558::/48", "33287"}, + {"2001:dd8:1b::/48", "24049"}, + {"2405:8a00:c028::/34", "55824"}, + {"240a:a69e::/32", "144344"}, + {"2606:c280::/32", "394968"}, + {"2607:f8f0:680::/48", "271"}, + {"2803:6ce0:6000::/32", "269909"}, + {"2a01:a560::/32", "12552"}, + {"2001:1248:5a0d::/43", "11172"}, + {"2a00:1e68:113::/31", "42861"}, + {"2a00:dcc7:d000::/38", "34971"}, + {"2a02:26f7:78::/48", "36183"}, + {"2a02:6900:8818::/48", "7160"}, + {"2409:8070:30fd::/46", "9808"}, + {"240a:aa86::/32", "145344"}, + {"2600:1009:9100::/44", "6167"}, + {"2607:d500:202::/40", "54527"}, + {"2a00:5a60:c000::/48", "199274"}, + {"2a03:2880:f03b::/45", "32934"}, + {"2c0f:f858:3::/32", "36947"}, + {"2001:559:3db::/48", "7725"}, + {"2408:8956:f6c0::/36", "17816"}, + {"2606:2800:4ac4::/46", "15133"}, + {"2a00:1c98::/32", "34762"}, + {"2a0a:9000::/29", "64472"}, + {"2001:1900:221f::/42", "3356"}, + {"2407:5040:a00::/34", "134715"}, + {"2606:ae00:1000::/48", "7287"}, + {"2806:230:2025::/48", "11888"}, + {"2a03:b8c0:1b::/45", "396253"}, + {"2001:470:f7::/48", "6939"}, + {"2406:4c00::/32", "9509"}, + {"2407:ff80::/35", "135881"}, + {"240a:a13f::/32", "142969"}, + {"2001:818::/29", "12353"}, + {"2404:4600:6::/48", "38099"}, + {"2800:160:232f::/40", "14259"}, + {"2a01:b5a0::/32", "45010"}, + {"2804:2b44::/43", "265144"}, + {"2a01:6e60::/32", "199883"}, + {"2001:500:f1::/48", "198260"}, + {"2401:4800::/48", "38457"}, + {"2404:880:22::/48", "38750"}, + {"2602:fd35::/36", "398427"}, + {"2a01:4ac0:1::/46", "57497"}, + {"2a09:7d40::/44", "209382"}, + {"2a0f:d940::/29", "60781"}, + {"2400:cc00::/34", "17477"}, + {"2a07:4f81:1::/48", "14870"}, + {"2402:800:9855::/42", "7552"}, + {"2402:800:9cc5::/43", "7552"}, + {"240e:44d:4f80::/41", "4134"}, + {"2806:2f0:1062::/48", "22884"}, + {"2406:2000:9c::/48", "38033"}, + {"2600:6c10:a5::/44", "20115"}, + {"2610:20:8030::/44", "6629"}, + {"2607:8b80::/32", "4986"}, + {"2a01:c840::/28", "15962"}, + {"2a0b:79c0::/29", "8426"}, + {"2001:468:c81::/42", "40220"}, + {"2001:67c:217c::/48", "2486"}, + {"2001:ee0:eb00::/40", "45899"}, + {"2001:f20:4001::/48", "9875"}, + {"2804:2f34::/35", "264877"}, + {"2a02:26f7:2b::/48", "20940"}, + {"2405:4000::/36", "38082"}, + {"2600:1002:d000::/43", "6167"}, + {"2a0a:a3c0:c0::/32", "41955"}, + {"2600:6000:fd0f::/42", "12271"}, + {"2804:7110:5100::/34", "270764"}, + {"2a02:26f7:d000::/48", "36183"}, + {"2a02:26f7:d588::/48", "36183"}, + {"2001:470:9a::/48", "17197"}, + {"2001:559:8446::/48", "33657"}, + {"2402:800:5a2b::/41", "7552"}, + {"2404:4a00:7a00:1::/37", "45629"}, + {"240e:351:5c00::/34", "134419"}, + {"2a04:4e40:810::/41", "54113"}, + {"2001:559:878f::/48", "7015"}, + {"2001:678:fc8::/48", "207960"}, + {"2a02:6900:8807::/48", "43898"}, + {"2a06:6541:1000::/48", "34893"}, + {"2001:df3:2d00::/48", "63765"}, + {"2a0e:1a00::/29", "206894"}, + {"2600:1003:b0a0::/44", "6167"}, + {"2a10:1180::/31", "212181"}, + {"2001:559:68::/48", "7922"}, + {"2001:559:340::/45", "33651"}, + {"2001:c20:48c2::/48", "9255"}, + {"2001:df3:8e80::/48", "140599"}, + {"240e:f7::/36", "58461"}, + {"2602:feb4:130::/44", "25961"}, + {"2607:f098:3300::/33", "33363"}, + {"2804:4ad0::/32", "267265"}, + {"2a07:5100::/29", "203052"}, + {"2001:e40::/29", "9370"}, + {"2605:5980::/32", "12284"}, + {"2606:7d00:c001::/48", "14749"}, + {"2806:2f0:6123::/41", "17072"}, + {"2001:67c:17f4::/48", "1257"}, + {"2402:f700:4000::/32", "23907"}, + {"2404:3d00:40de::/47", "3573"}, + {"240e:3b1:2c00::/35", "134774"}, + {"2800:b000::/32", "7303"}, + {"2a00:1ec8:26::/47", "2854"}, + {"2001:67c:12e8::/47", "24603"}, + {"2001:67c:27dc::/48", "8426"}, + {"2402:e280:211b::/45", "134674"}, + {"240a:a777::/32", "144561"}, + {"2600:380:c180::/37", "20057"}, + {"2600:6000:fd0e::/48", "11351"}, + {"2804:64f4::/32", "269459"}, + {"2a0e:b107:22::/48", "208181"}, + {"2400:5e00::/32", "7598"}, + {"2408:8957:1000::/40", "17622"}, + {"2a00:4802:a70::/40", "13124"}, + {"2a02:26f7:c2::/48", "36183"}, + {"2a02:26f7:c480::/48", "36183"}, + {"2a05:400::/29", "205112"}, + {"2401:4900:3840::/43", "45609"}, + {"2605:9300:2::/48", "13767"}, + {"2804:13dc:ff30::/40", "262428"}, + {"2804:76b4::/32", "271129"}, + {"2a01:c9c0:8018::/48", "2285"}, + {"2a0a:90c0:1059::/42", "205080"}, + {"2001:43f8:1180::/48", "37394"}, + {"2405:4000:800:a::/61", "38082"}, + {"2600:140f:3201::/37", "20940"}, + {"2a02:a80::/29", "52126"}, + {"2a06:5d00::/29", "47372"}, + {"2001:43f8:3b0::/48", "327694"}, + {"2402:9d80:26d::/40", "131429"}, + {"240a:a6a9::/32", "144355"}, + {"2804:13d0:9940::/40", "263297"}, + {"2a02:dc00:202::/48", "15493"}, + {"2a0e:fd45:40fc::/48", "3280"}, + {"2001:418:9808::/48", "21778"}, + {"2001:dcc:702::/48", "23600"}, + {"2604:7c40:100::/40", "31867"}, + {"2a01:a7e0::/36", "200711"}, + {"2a05:1580:10::/46", "59874"}, + {"240a:a902::/32", "144956"}, + {"2804:b18:89::/45", "52941"}, + {"2001:678:128::/48", "205236"}, + {"2001:da8:d800::/42", "24362"}, + {"240a:a5a8::/32", "144098"}, + {"2804:644c::/32", "269419"}, + {"2804:6ac4:3000::/32", "16921"}, + {"2806:230:3015::/48", "11888"}, + {"240a:a632::/32", "144236"}, + {"2605:a401:8c75::/44", "33363"}, + {"2800:b70:2::/44", "262191"}, + {"2001:1b70:6202::/48", "158"}, + {"2600:1480:1100::/37", "20940"}, + {"2800:3c0:20a0::/39", "19863"}, + {"2a0e:8880::/29", "210662"}, + {"240a:a98e::/32", "145096"}, + {"2402:800:510f::/43", "7552"}, + {"2402:800:f840::/42", "7552"}, + {"2602:803:6000::/44", "25915"}, + {"2606:b440::/32", "396893"}, + {"2a00:ea40::/32", "2589"}, + {"2a01:6c8::/36", "29006"}, + {"2a01:4660::/32", "34360"}, + {"2a02:26f7:ee41::/46", "20940"}, + {"2001:559:c282::/48", "33652"}, + {"2001:67c:2554::/48", "39840"}, + {"2001:da8:4805::/48", "24360"}, + {"2001:448a:10f0::/34", "7713"}, + {"2404:9400:f::/48", "133159"}, + {"2409:8c70:3a10::/44", "140105"}, + {"240a:a121::/32", "142939"}, + {"2804:50::/35", "26592"}, + {"2804:62b4::/35", "269313"}, + {"2a06:4280::/29", "60032"}, + {"2a10:f9c0::/29", "202365"}, + {"2404:af80:10::/47", "38026"}, + {"240e:d9:d801::/34", "4134"}, + {"2a04:4e40:9420::/43", "54113"}, + {"2a05:9d40::/29", "62166"}, + {"2607:f298:b::/48", "26347"}, + {"2803:7600::/32", "265751"}, + {"2806:2f0:8183::/42", "17072"}, + {"2a01:7d20:102::/38", "203645"}, + {"240e:983:1a00::/40", "4811"}, + {"2804:2e2c::/32", "265329"}, + {"2804:3f3c::/32", "266647"}, + {"2a02:26f7:d884::/48", "36183"}, + {"2001:678:d::/48", "49488"}, + {"2405:be40::/48", "131378"}, + {"2408:8957:e700::/40", "17816"}, + {"240e:108:8d::/48", "137693"}, + {"2620:1ec:49::/36", "8075"}, + {"2a00:16c8::/39", "50173"}, + {"2a06:21c0::/29", "51942"}, + {"2403:6b80::/44", "2635"}, + {"2404:7c80::/32", "133661"}, + {"2804:3bbc::/32", "266168"}, + {"2a04:2cc0::/29", "38917"}, + {"2c0f:f030::/34", "328137"}, + {"2408:840d:2900::/42", "17621"}, + {"2800:160:1ed5::/42", "14259"}, + {"2a03:c100::/32", "49808"}, + {"2a09:a940::/29", "61437"}, + {"2408:870c:100::/34", "17621"}, + {"240a:af9a::/32", "146644"}, + {"2a03:1180::/32", "198002"}, + {"2001:1600::/32", "29222"}, + {"2405:8dc0::/32", "45370"}, + {"2610:a0:2::/47", "7786"}, + {"2804:40d0::/32", "265983"}, + {"2a04:b480:20::/46", "209506"}, + {"2a12:5840:b00b::/48", "212149"}, + {"2401:c500:fd10::/46", "54994"}, + {"240a:a59a::/32", "144084"}, + {"2620:98:a000::/47", "399668"}, + {"2804:2fc::/32", "53238"}, + {"2a0b:cdc1::/32", "35790"}, + {"2602:fed2:7190::/45", "53356"}, + {"2801:1f0:2020::/33", "3573"}, + {"2804:7b28::/32", "271414"}, + {"2a06:3d80::/29", "60117"}, + {"2402:6640:6::/43", "134995"}, + {"2804:4274::/32", "267501"}, + {"2a02:2698:2c00::/38", "41727"}, + {"2a02:26f7:b648::/48", "36183"}, + {"2a04:e4c7:fffd::/46", "36692"}, + {"2001:1248:5ae6::/47", "11172"}, + {"2001:18e8:400::/40", "1767"}, + {"2620:13f:3000::/43", "46842"}, + {"2804:2f88:e100::/35", "264897"}, + {"2a04:7840::/32", "56523"}, + {"2a05:d000:2000::/40", "16509"}, + {"2404:f4c0:f9cb::/48", "142281"}, + {"2605:dd40:40::/44", "398549"}, + {"2607:f4a0:5011::/32", "11272"}, + {"2804:c1c::/32", "52679"}, + {"2a03:48c0::/32", "199608"}, + {"2602:fd50:f60::/44", "212276"}, + {"2804:50a0::/32", "268400"}, + {"2a04:2bc0::/32", "207133"}, + {"2001:67c:2eb4::/48", "207372"}, + {"2400:a980:68fc::/47", "133111"}, + {"2408:8256:2d8d::/43", "17623"}, + {"240a:ae18::/32", "146258"}, + {"240e:44d:3580::/41", "4134"}, + {"2600:1406:fc00::/48", "35994"}, + {"2600:6c10:98::/46", "20115"}, + {"2602:fd81::/36", "32018"}, + {"240e:108:86::/48", "136195"}, + {"240e:438:4240::/37", "4134"}, + {"2603:f730::/24", "397165"}, + {"2001:678:6a4::/48", "202481"}, + {"2001:b08:17::/48", "8398"}, + {"2602:107:2b10::/48", "20115"}, + {"2804:3980::/32", "266034"}, + {"2a0d:d680::/29", "57588"}, + {"2c0f:f568::/46", "37451"}, + {"2001:559:866d::/48", "13367"}, + {"2001:559:c1ae::/48", "7725"}, + {"2600:6c7f:9040::/48", "20115"}, + {"2001:559:831f::/48", "33650"}, + {"2001:678:a20::/48", "15380"}, + {"2001:913:1000::/36", "204059"}, + {"2001:4998:61::/46", "10310"}, + {"2001:4b18::/34", "20746"}, + {"2604:ab80:2::/45", "55079"}, + {"2a07:7340::/29", "34549"}, + {"2c0e:7f80:300::/29", "36974"}, + {"2402:800:3c8d::/41", "7552"}, + {"2804:3868:1800::/32", "266475"}, + {"2a01:6f00::/29", "43571"}, + {"2001:559:87e5::/48", "7922"}, + {"2001:559:c394::/48", "33651"}, + {"2405:f080:2e00::/47", "136907"}, + {"2806:303::/32", "21623"}, + {"2a06:1a40::/29", "20988"}, + {"2001:250:85a::/48", "138182"}, + {"2a10:540::/29", "47747"}, + {"2402:6f40::/48", "45079"}, + {"2404:bf40:c4c0::/48", "7545"}, + {"2406:9dc0::/44", "18250"}, + {"2801:1e:7000::/48", "266773"}, + {"2801:80:3770::/46", "269498"}, + {"2408:8256:3273::/44", "17623"}, + {"240a:a713::/32", "144461"}, + {"2804:f1c::/32", "262463"}, + {"2a03:5a00:39::/48", "203517"}, + {"2001:559:77d::/48", "7015"}, + {"2001:df3:2000::/48", "45712"}, + {"2409:805c:1100::/36", "9808"}, + {"2620:4d:4021::/46", "395403"}, + {"2a09:bac0:143::/48", "13335"}, + {"2001:559:5b0::/48", "7922"}, + {"2001:559:c008::/46", "33651"}, + {"2001:67c:86c::/48", "59935"}, + {"2001:df0:2780::/48", "138973"}, + {"2407:6800::/32", "9723"}, + {"2a03:2887:ff31::/46", "33667"}, + {"2402:c340:eeef::/35", "38047"}, + {"2409:8051:1802::/40", "56047"}, + {"240e:438:e20::/43", "140647"}, + {"2a0d:76c0::/48", "209608"}, + {"2001:559:c2fd::/39", "33287"}, + {"240a:a807::/32", "144705"}, + {"240a:a305::/32", "143423"}, + {"2604:d600:15a8::/45", "32098"}, + {"2402:8100:c::/43", "55644"}, + {"2607:f280::/32", "14615"}, + {"2804:40:e000::/35", "28657"}, + {"2804:4524::/32", "267675"}, + {"2a01:5042:3::/48", "202196"}, + {"2a02:2e02:1ba0::/43", "12479"}, + {"2a04:2e80:6::/48", "59861"}, + {"2001:470:91::/45", "6939"}, + {"2804:2384:f000::/36", "264167"}, + {"2a0e:b40::/48", "62321"}, + {"2001:df0:c2::/48", "9749"}, + {"240a:a10c::/32", "142918"}, + {"240a:a94d::/32", "145031"}, + {"2a07:d880::/32", "3214"}, + {"2a0b:b81::/46", "211772"}, + {"2602:fed5:5::/36", "27398"}, + {"2603:b051::/26", "11796"}, + {"2c0f:ffa8::/32", "37057"}, + {"2001:2000:6000::/40", "1759"}, + {"2600:8806:c000::/31", "22773"}, + {"2620:1ec:41::/44", "8068"}, + {"2804:734::/32", "262624"}, + {"2804:49e8::/32", "267208"}, + {"2409:8924:c500::/38", "56046"}, + {"2a10:3900::/48", "39392"}, + {"2001:67c:284::/48", "198605"}, + {"2409:408c:9000::/31", "55836"}, + {"240a:ac26::/32", "145760"}, + {"2804:63a8::/36", "269375"}, + {"2a00:63c0::/29", "44133"}, + {"2001:67c:25b8::/48", "41038"}, + {"2402:800:7090::/42", "7552"}, + {"240a:aa4a::/32", "145284"}, + {"240e:105::/32", "4134"}, + {"2600:8807:9400::/36", "22773"}, + {"2602:fc8b:25::/46", "211544"}, + {"2604:ae80:1000::/36", "11904"}, + {"2a02:26f7:e408::/48", "36183"}, + {"2a06:6dc0::/29", "49788"}, + {"2801:1:8805::/46", "64102"}, + {"2804:6b04::/32", "270372"}, + {"2a03:5840:1::/40", "35661"}, + {"2a03:db80:3410::/48", "12643"}, + {"2a0c:5600::/29", "208106"}, + {"2a0e:d200::/29", "209044"}, + {"2001:559:18b::/48", "7015"}, + {"2400:fc00:42d0::/37", "45773"}, + {"2408:8256:2d77::/44", "17623"}, + {"240a:a2d4::/32", "143374"}, + {"240a:a5ae::/32", "144104"}, + {"240c:c0a8:5c4a::/32", "24348"}, + {"2804:14d:148f::/43", "28573"}, + {"2804:46f0:81::/41", "267021"}, + {"2804:5570::/32", "267935"}, + {"2a04:9a00:1046::/44", "212157"}, + {"2a0a:e340::/29", "205689"}, + {"2a10:a80::/32", "202717"}, + {"2001:9f0::/29", "719"}, + {"2604:d600:1073::/40", "32098"}, + {"2804:6244::/32", "269287"}, + {"2a01:598::/29", "3320"}, + {"2001:67c:1810::/48", "62392"}, + {"240a:a6d3::/32", "144397"}, + {"2a0a:fd40::/29", "44851"}, + {"2a0e:f600:49::/29", "60781"}, + {"2a01:a7c0::/32", "199606"}, + {"2a0d:4d00:80::/48", "44794"}, + {"240a:afbe::/32", "146680"}, + {"240a:afbf::/32", "146681"}, + {"2607:6004:a100::/40", "397378"}, + {"2607:b400:a01::/48", "40220"}, + {"2a02:5360::/32", "51326"}, + {"2400:cb00:300::/47", "13335"}, + {"2a02:26f0:ea01::/39", "20940"}, + {"2c0f:eb00:700::/40", "37148"}, + {"2607:a780:1::/48", "395518"}, + {"2620:0:2250::/48", "20130"}, + {"2800:bc0::/32", "20080"}, + {"2a02:26f7:dbc1::/46", "20940"}, + {"2a02:2e02:1950::/42", "12479"}, + {"2001:67c:2c54::/48", "13189"}, + {"240a:ac6e::/32", "145832"}, + {"2804:90:4100::/38", "28580"}, + {"2804:5cd4::/33", "268933"}, + {"2806:230:200c::/48", "265594"}, + {"2a03:efc0:1700::/40", "33438"}, + {"2a0e:68c0:4::/48", "57616"}, + {"2a0e:97c0:6d1::/46", "208690"}, + {"2c0f:5200::/32", "328822"}, + {"2c0f:fc90:1002::/32", "16284"}, + {"2001:480:50::/48", "6043"}, + {"240a:a6b3::/32", "144365"}, + {"240e:3bd:4c00::/35", "136200"}, + {"2a01:9860::/32", "205952"}, + {"2a02:26f7:cc09::/42", "20940"}, + {"2a03:6420::/32", "39384"}, + {"2a0a:ec40::/32", "62214"}, + {"240a:a977::/32", "145073"}, + {"2602:fc0a::/48", "400191"}, + {"2804:4008::/32", "265929"}, + {"2804:59a0:1000::/36", "268714"}, + {"2a02:7d8:e10::/32", "3302"}, + {"2a03:4d42:1000::/31", "199610"}, + {"2a09:7c45::/32", "135330"}, + {"2001:4088::/32", "9153"}, + {"2402:800:9739::/41", "7552"}, + {"2a02:26f7:cc80::/48", "36183"}, + {"2a02:26f7:cdc9::/42", "20940"}, + {"2a03:dc00::/32", "57752"}, + {"2a0b:aac0::/29", "64236"}, + {"2a0e:b101:302::/32", "60474"}, + {"2001:67c:2b38::/48", "16101"}, + {"2600:6c38:1b7::/44", "20115"}, + {"2803:10a0::/32", "266793"}, + {"2804:6b6c::/32", "270399"}, + {"2a02:b48:800c::/46", "39572"}, + {"2001:da8:b00c::/48", "23910"}, + {"2406:c500:ffef::/48", "4739"}, + {"2605:1500::/32", "19518"}, + {"2620:106:f000::/47", "22964"}, + {"2a02:26f7:da85::/46", "20940"}, + {"2001:d10:9800::/33", "4787"}, + {"240a:a2ab::/32", "143333"}, + {"2600:2c01:1000::/36", "27582"}, + {"2603:c027:4000::/35", "31898"}, + {"2800:88:14::/41", "26210"}, + {"2a01:8840:b5::/48", "207266"}, + {"2a03:5640:f200::/42", "16509"}, + {"2c0f:f5b8::/32", "327997"}, + {"2400:44a0::/48", "149194"}, + {"2403:c000:1401::/48", "38228"}, + {"240e:67a:1800::/32", "4134"}, + {"2a00:1908:e965::/48", "50475"}, + {"2a10:3dc0::/29", "204790"}, + {"2620:84:a000::/44", "398330"}, + {"2804:764::/32", "10733"}, + {"2a06:7880::/29", "12437"}, + {"2001:df3:5a00::/48", "131996"}, + {"2001:df4:9f00::/48", "135722"}, + {"2403:7500::/32", "38566"}, + {"2605:a900:2200::/35", "46887"}, + {"2607:f6f0:8001::/48", "394749"}, + {"2804:2524::/32", "264262"}, + {"2804:504c::/33", "268380"}, + {"2a02:26f7:c285::/46", "20940"}, + {"2a02:26f7:ed88::/48", "36183"}, + {"2a06:e881:7800::/40", "212002"}, + {"2a0c:f80::/29", "209372"}, + {"2001:67c:2054::/48", "34953"}, + {"2001:1248:5a99::/42", "11172"}, + {"2607:fb58:2::/34", "36086"}, + {"2a0b:b602::/32", "57758"}, + {"2001:550:9803::/38", "174"}, + {"2606:3d40:e::/48", "400097"}, + {"2620:0:630::/48", "4185"}, + {"2001:1248:559d::/42", "11172"}, + {"2001:1248:5f00::/43", "11172"}, + {"2001:49f0:d0e6::/48", "30058"}, + {"2409:8008:d9::/48", "24547"}, + {"2a02:26f7:7f::/48", "20940"}, + {"2c0f:fd80::/32", "25543"}, + {"2001:3c8:1401::/48", "3839"}, + {"2001:67c:2e54::/48", "200871"}, + {"2804:f64::/32", "263583"}, + {"2804:3ef8::/32", "266632"}, + {"2a02:5320:b00::/40", "12189"}, + {"2001:428::/36", "209"}, + {"2001:550:c00:103::/61", "174"}, + {"2001:559:c2f1::/48", "20214"}, + {"2401:f100::/32", "38651"}, + {"240a:aad8::/32", "145426"}, + {"2607:f408:1::/48", "19871"}, + {"2804:1c50::/32", "61649"}, + {"2600:1408:4801::/37", "20940"}, + {"2602:ff84:8::/48", "3223"}, + {"2a04:5ec0::/29", "60239"}, + {"2001:678:5d0::/48", "204723"}, + {"2001:978:2a03::/35", "174"}, + {"2403:1000:1100::/38", "38819"}, + {"2404:e801:200c::/46", "55430"}, + {"240a:a906::/32", "144960"}, + {"2620:149:ae2::/45", "714"}, + {"2804:5484::/32", "268655"}, + {"2806:20d:1114::/42", "32098"}, + {"2a00:1f00::/32", "50295"}, + {"2a0a:7e04::/30", "61317"}, + {"2001:67c:2bd0::/48", "204847"}, + {"2a02:76c0:1::/48", "61170"}, + {"240a:a2a1::/32", "143323"}, + {"240a:a8d2::/32", "144908"}, + {"2a00:d740::/29", "61006"}, + {"2a02:26f7:84::/48", "36183"}, + {"2a0e:97c0:130::/44", "211972"}, + {"2402:e280:216b::/43", "134674"}, + {"2607:f928:5::/48", "14085"}, + {"2800:160:16e0::/44", "14259"}, + {"2001:470:32::/48", "19969"}, + {"2401:4d40::/30", "59125"}, + {"2804:85bc::/36", "272597"}, + {"2a02:2e02:8cf0::/39", "12479"}, + {"2a05:7980::/29", "201246"}, + {"240a:a63b::/32", "144245"}, + {"240e:109:8000::/43", "58519"}, + {"2a07:c540::/29", "198930"}, + {"2800:160:2421::/41", "14259"}, + {"2a02:26f7:df04::/48", "36183"}, + {"2a0c:ea40::/29", "200409"}, + {"2001:df7:9980::/48", "147039"}, + {"240a:a797::/32", "144593"}, + {"2600:380:7d80::/32", "20057"}, + {"2620:131:1038::/41", "26450"}, + {"2800:160:1ab7::/44", "14259"}, + {"2402:5ac0::/32", "137409"}, + {"2409:8915:6000::/39", "56044"}, + {"2600:1419:b401::/36", "20940"}, + {"2602:fed2:8000::/36", "1239"}, + {"2800:160:20e9::/39", "14259"}, + {"2804:4ca8::/36", "267383"}, + {"2a04:dc1::/48", "199386"}, + {"2403:6d00::/40", "56094"}, + {"2804:25d8::/32", "264307"}, + {"2806:2f0:21c1::/48", "22884"}, + {"2a00:19e0::/29", "25504"}, + {"2a00:8d80::/32", "15557"}, + {"2a02:26f7:e485::/46", "20940"}, + {"2001:4978:500::/45", "13331"}, + {"2402:fa00:6000::/32", "55359"}, + {"240e:3bb:8200::/35", "140316"}, + {"2600:6c21:489::/41", "20115"}, + {"2605:a380::/34", "53828"}, + {"2804:840:8030::/38", "262680"}, + {"2a09:b682::/31", "210625"}, + {"2a0e:b107:93a::/48", "204446"}, + {"2001:559:5b2::/48", "33287"}, + {"2406:8f00::/32", "38761"}, + {"240e:378:aa00::/39", "140330"}, + {"2a02:e8::/32", "43128"}, + {"2a0d:3842:1170::/48", "57629"}, + {"240a:a8ce::/32", "144904"}, + {"2804:14d:8e8e::/43", "28573"}, + {"2804:6900::/32", "270242"}, + {"2401:d800:f9e0::/38", "7552"}, + {"240a:a629::/32", "144227"}, + {"2803:39e0::/32", "270023"}, + {"2804:8658:200::/32", "272637"}, + {"2a06:cbc0::/29", "12693"}, + {"2001:1900:220a::/48", "53670"}, + {"2408:8452::/31", "4837"}, + {"2001:4490:d500::/46", "9829"}, + {"2401:8a00::/32", "10099"}, + {"2408:4009::/37", "37963"}, + {"2408:8256:3889::/43", "17623"}, + {"2602:80a:c000::/48", "399685"}, + {"2607:8200:e000::/36", "6295"}, + {"2620:31:c000::/48", "62478"}, + {"2804:1f50::/32", "61607"}, + {"2a01:664:c00::/35", "48951"}, + {"2001:559:2a3::/48", "33660"}, + {"2001:67c:228::/48", "42175"}, + {"2407::/62", "4761"}, + {"2408:8256:396d::/48", "17816"}, + {"2600:6c3b:4e6::/32", "20115"}, + {"2604:4d40:7b1b::/48", "399196"}, + {"2804:3ae0::/32", "266115"}, + {"2a01:7080::/43", "42848"}, + {"2a02:2e00:f000::/36", "12479"}, + {"2a0e:97c0:780::/46", "47316"}, + {"2001:16a2:c2c0::/46", "39891"}, + {"2602:fd28::/36", "62866"}, + {"2a02:850::/44", "30971"}, + {"2a04:4e40:3c00::/47", "54113"}, + {"2600:6c10:ff25::/44", "20115"}, + {"2607:fc68:101::/32", "2711"}, + {"2804:6478::/32", "53123"}, + {"2a04:2e40::/29", "51859"}, + {"2604:d600:543::/44", "32098"}, + {"2a00:6901:b002::/47", "20926"}, + {"2a0e:b107:18::/48", "210814"}, + {"240a:a5ee::/32", "144168"}, + {"2602:feda:d70::/44", "138435"}, + {"2a02:13c8::/32", "39484"}, + {"2a03:a80::/32", "15836"}, + {"2a06:6f00::/29", "197164"}, + {"2a0e:6901:200::/37", "57695"}, + {"2001:67c:21cc::/48", "25354"}, + {"2a00:1c20::/32", "50989"}, + {"2a0c:b641:1c0::/47", "39792"}, + {"2001:559:85ec::/48", "33657"}, + {"2408:84f3:4010::/42", "134543"}, + {"240a:a9c7::/32", "145153"}, + {"2a03:9220::/32", "15742"}, + {"2001:559:852b::/48", "20214"}, + {"2403:ad80:94::/48", "135309"}, + {"2801:0:330::/48", "52382"}, + {"2401:d800:9b00::/42", "7552"}, + {"2804:34ac::/32", "265472"}, + {"2001:67c:1211::/48", "42139"}, + {"2001:918:f00::/40", "8300"}, + {"2404:6dc0::/32", "135876"}, + {"2620:13e:d000::/44", "32864"}, + {"2401:13c0::/34", "132652"}, + {"2405:84c0:9000::/44", "139618"}, + {"240a:a90e::/32", "144968"}, + {"2804:18f8::/32", "61766"}, + {"2a02:88d:813f::/40", "47794"}, + {"2a0c:9a40::/48", "202479"}, + {"2403:8600:a080::/43", "45820"}, + {"2407:2bc0::/32", "136380"}, + {"2607:2480:2::/48", "395450"}, + {"2620:ef:c000::/48", "64233"}, + {"2804:ae0:8100::/38", "28352"}, + {"2806:2f0:21e1::/46", "17072"}, + {"2a02:ac80:d01::/38", "25145"}, + {"2404:f4c0:fac0::/47", "142284"}, + {"2600:3505:f000::/28", "396998"}, + {"2600:6c21:6::/43", "20115"}, + {"2620:3e::/48", "394271"}, + {"2a02:2528:2613::/48", "2613"}, + {"2001:67c:274c::/48", "42034"}, + {"240a:a4a8::/32", "143842"}, + {"2620:16e:287::/48", "3147"}, + {"2804:145c:c510::/42", "263327"}, + {"2804:62f0:a102::/35", "269329"}, + {"2a03:94e0::/30", "56655"}, + {"2408:8459:c450::/38", "17816"}, + {"2409:8924:6b00::/37", "56046"}, + {"2600:6c10:9b::/45", "20115"}, + {"2804:28ec::/32", "263987"}, + {"2804:5048::/32", "268379"}, + {"2a04:4e40:4810::/41", "54113"}, + {"2001:df6:5880::/48", "142022"}, + {"2001:44b8:28::/48", "7545"}, + {"2405:9800:d003::/48", "133848"}, + {"2804:ef4:3::/33", "28642"}, + {"2a12:3f00::/29", "204790"}, + {"2403:2500:4000::/41", "36236"}, + {"2409:8907:7520::/38", "24547"}, + {"2605:a404:29a::/41", "33363"}, + {"2a00:fde0::/32", "199736"}, + {"2a11:f880::/29", "204790"}, + {"2400:5d80::/32", "58507"}, + {"2402:600:a12b::/33", "38515"}, + {"2a02:678::/32", "8632"}, + {"2a02:26f7:df41::/46", "20940"}, + {"2408:8957:8e00::/40", "17622"}, + {"2409:8055:9::/45", "56040"}, + {"2409:8c54:4020::/36", "56040"}, + {"240a:a405::/32", "143679"}, + {"240a:ac9c::/32", "145878"}, + {"2605:a404::/42", "33363"}, + {"2a02:26f7:dec0::/48", "36183"}, + {"2600:6c3a:1e::/41", "20115"}, + {"2605:aa40:c1e0::/48", "18792"}, + {"2800:160:1b71::/40", "14259"}, + {"2804:4284::/38", "267505"}, + {"240a:a307::/32", "143425"}, + {"2a00:7145:b1::/48", "51430"}, + {"2a02:d8:e::/32", "44654"}, + {"2001:df1:b400::/48", "10214"}, + {"2605:9d80:8001::/48", "4134"}, + {"2801:80::/48", "28646"}, + {"2001:250:6400::/45", "24367"}, + {"240a:a496::/32", "143824"}, + {"2603:fe80::/25", "397165"}, + {"2620:12d:6000::/47", "13380"}, + {"2804:22c:6::/32", "22689"}, + {"2804:80d4::/32", "272415"}, + {"2804:81b8::/33", "272472"}, + {"2a00:c1c0::/32", "31241"}, + {"2408:8957:9800::/40", "17622"}, + {"2600:370f:7421::/46", "32261"}, + {"2800:a00::/32", "11315"}, + {"2001:3c8:1702::/34", "4621"}, + {"2001:559:8586::/47", "7922"}, + {"2001:16a2:8030::/44", "25019"}, + {"2001:1a11:b2::/45", "42298"}, + {"2001:559:c405::/48", "33657"}, + {"2001:1a11:115::/48", "8781"}, + {"2402:1c00:c05::/46", "23838"}, + {"2408:8956:4d00::/40", "17816"}, + {"2606:b300::/33", "33438"}, + {"2620:108:7000::/44", "16509"}, + {"2804:4d74::/32", "268197"}, + {"2a02:26f7:dc08::/48", "36183"}, + {"2001:559:4e5::/48", "20214"}, + {"2001:16a3::/29", "39386"}, + {"2404:4e00:1083::/48", "32787"}, + {"240e:878::/40", "137689"}, + {"2804:4d14::/32", "266054"}, + {"2a00:4fa0::/29", "206293"}, + {"2001:44c8:4750::/40", "45430"}, + {"2603:c0f8:2000::/43", "20054"}, + {"2804:416c::/32", "267432"}, + {"2a03:7940::/32", "197226"}, + {"2001:df0:5bc0::/48", "140825"}, + {"2408:8459:ba30::/41", "17622"}, + {"2a0c:2bc0::/29", "212302"}, + {"2405:58c0:4100::/38", "133101"}, + {"2600:1408:a402::/36", "20940"}, + {"2607:fcd0:100:b01::/53", "8100"}, + {"2620:11e:3050::/44", "395686"}, + {"2a03:a4e0:100::/40", "2119"}, + {"2a0a:a980::/29", "31742"}, + {"2a0f:600:600::/47", "51044"}, + {"2001:c20:c843::/45", "3758"}, + {"240a:a89c::/32", "144854"}, + {"240e:44d:1e00::/41", "140345"}, + {"2803:4e10::/32", "271965"}, + {"2804:4024:2022::/44", "265937"}, + {"2a03:30c0::/32", "61408"}, + {"2a03:41a0:10::/44", "59764"}, + {"2001:b200:700::/34", "9505"}, + {"2407:7a80:11::/46", "132384"}, + {"2408:8001:3070::/44", "17623"}, + {"240a:a019::/32", "142675"}, + {"240e:fe:6000::/32", "136200"}, + {"2804:124c:4c0::/38", "263468"}, + {"2a02:2e02:17d0::/42", "12479"}, + {"2001:559:4d7::/48", "33657"}, + {"240e:ff:c008::/48", "140310"}, + {"2606:7080::/32", "13727"}, + {"2803:dac0:15::/38", "265634"}, + {"2804:52f4:b00::/32", "268552"}, + {"2001:42d0::/44", "33764"}, + {"240e:108:41::/48", "4811"}, + {"2a03:2480:8028::/46", "200107"}, + {"2401:d800:73f2::/37", "7552"}, + {"2402:e380:309::/48", "137940"}, + {"2408:8256:3b7f::/48", "17816"}, + {"2a07:5cc0::/29", "3399"}, + {"2a0e:46c4:1100::/40", "38230"}, + {"2400:9c80::/48", "58396"}, + {"2402:b740:8002::/33", "140867"}, + {"240e:85c:50::/26", "4134"}, + {"2602:801:f00d::/46", "32590"}, + {"2607:3e80::/32", "16463"}, + {"2a00:40a0::/40", "49528"}, + {"2a0a:df80:24::/48", "39212"}, + {"2001:250:301b::/48", "23910"}, + {"240a:a9e0::/32", "145178"}, + {"2604:2e80::/47", "30036"}, + {"2607:f6f8:3101::/32", "30170"}, + {"2620:f0:4000::/45", "394699"}, + {"2620:10c:700e::/47", "2906"}, + {"2a01:a700:4643::/29", "39138"}, + {"2a0d:c80::/29", "21032"}, + {"2a10:4680::/29", "399975"}, + {"2001:1388:8a60::/46", "264684"}, + {"2406:eb00:132::/48", "132653"}, + {"240e:44d:4440::/42", "140359"}, + {"2801:80:a70::/48", "263257"}, + {"2a02:26f7:ed89::/42", "20940"}, + {"2001:1900:300a::/43", "3356"}, + {"2409:8c44:b01::/35", "24445"}, + {"2a02:26f0:d500::/48", "34164"}, + {"2a05:4c00::/29", "24750"}, + {"2001:559:85df::/48", "33491"}, + {"2001:4479:1900::/34", "7545"}, + {"2600:1417:d001::/37", "20940"}, + {"2600:9000:11e0::/47", "16509"}, + {"2a00:fa40:2000::/36", "57739"}, + {"2a03:17c0::/32", "44300"}, + {"2a04:7f80::/29", "48728"}, + {"2001:559:8085::/48", "33287"}, + {"2405:43c0:1000::/48", "139636"}, + {"2600:6c33:219::/37", "20115"}, + {"2804:4f90::/38", "268335"}, + {"2a00:41e0::/29", "57809"}, + {"2a03:b8c0:1e::/48", "396253"}, + {"2a06:a005:240::/43", "211358"}, + {"2402:800:9163::/43", "7552"}, + {"2a05:e780::/29", "52115"}, + {"2a09:2940::/32", "209898"}, + {"2001:df6:b800::/48", "59349"}, + {"2001:e60:a308::/42", "4766"}, + {"2405:dc00:fe::/47", "4804"}, + {"2001:67c:19d4::/48", "30877"}, + {"2400:6280:104::/48", "132280"}, + {"240a:ab72::/32", "145580"}, + {"2606:3d00::/32", "13549"}, + {"2620:171:65::/48", "715"}, + {"2403:cfc0:100c::/48", "395092"}, + {"240e:3b7:c800::/37", "4134"}, + {"2804:40a0:f400::/36", "265971"}, + {"2a02:4a8::/32", "25234"}, + {"2806:2f0:7103::/42", "17072"}, + {"2a03:4360::/32", "61307"}, + {"240e:44d:2500::/41", "140345"}, + {"2804:ad8:4380::/32", "262494"}, + {"2804:2b44:87::/32", "265144"}, + {"2a02:5500::/32", "40993"}, + {"2a03:2887:ff25::/48", "63293"}, + {"2a07:b5c0::/29", "41046"}, + {"2a0c:dc80::/32", "208033"}, + {"2001:978:4f06::/35", "174"}, + {"2001:c20:48a7::/44", "3758"}, + {"2602:fc53:1::/46", "399924"}, + {"2602:fd92:801::/48", "142418"}, + {"2a09:c740::/32", "205718"}, + {"2a0a:4540:1000::/48", "16509"}, + {"2408:8957:d2c0::/37", "17816"}, + {"240a:a958::/32", "145042"}, + {"2605:3a40::/47", "6233"}, + {"2600:1f16::/36", "16509"}, + {"2602:fe0d::/36", "30168"}, + {"2804:2028::/32", "264473"}, + {"2a02:26f0:3401::/39", "20940"}, + {"2a06:1287:3010::/38", "61138"}, + {"2400:cb00:a2c2::/48", "13335"}, + {"2409:896a:5200::/39", "9808"}, + {"240a:a896::/32", "144848"}, + {"2804:2ca4:4100::/32", "265232"}, + {"2804:43dc::/32", "267595"}, + {"2804:6c08:c000::/34", "270441"}, + {"2a02:88d:4030::/44", "48695"}, + {"2a04:4e40:3a10::/41", "54113"}, + {"2a06:fd80::/47", "206206"}, + {"2600:140f:f400::/48", "9498"}, + {"2804:5e8c::/32", "269040"}, + {"2a0c:9a40:8085::/48", "7489"}, + {"2001:559:87cc::/48", "33657"}, + {"2408:8957:2840::/40", "17622"}, + {"2605:a000:70e::/48", "11955"}, + {"2804:2884::/32", "263966"}, + {"2402:4480:304::/48", "138433"}, + {"2409:8c14:f0::/44", "9808"}, + {"2a02:26f7:c309::/46", "20940"}, + {"2a04:5d00::/41", "60241"}, + {"2408:8956:c600::/40", "17622"}, + {"2a02:2e02:95b0::/38", "12479"}, + {"2a03:26e0::/32", "201646"}, + {"2a03:90c0:320::/40", "199524"}, + {"2001:559:369::/48", "33287"}, + {"2001:5a0:5202::/32", "6453"}, + {"240e:59:8000::/30", "4134"}, + {"2801:1c:3000::/48", "16906"}, + {"2804:84d8::/32", "272283"}, + {"2a05:7300::/32", "35701"}, + {"2001:559:84f2::/48", "33657"}, + {"2600:1408:4401::/36", "20940"}, + {"2600:6c10:c25::/44", "20115"}, + {"2a09:cc0::/48", "44364"}, + {"2a0f:5180::/32", "29802"}, + {"2a10:9100:7::/48", "209588"}, + {"2606:1980:100::/48", "54994"}, + {"2804:3b80::/32", "266153"}, + {"2a02:26f7:e388::/48", "36183"}, + {"2a02:ee80:4140::/43", "3573"}, + {"2a0e:1c80:2::/48", "50304"}, + {"2a0e:2940::/29", "207787"}, + {"2001:559:556::/48", "33659"}, + {"2001:67c:1b8::/48", "8916"}, + {"2402:800:3d01::/44", "7552"}, + {"2602:fca7:1::/46", "399318"}, + {"2806:2f0:9f21::/40", "17072"}, + {"2001:44b8:1054::/47", "4739"}, + {"2404:bf40:a041::/40", "139084"}, + {"240a:a048::/32", "142722"}, + {"2600:1408:5401::/36", "20940"}, + {"2804:40::/34", "28657"}, + {"2806:370:2110::/44", "28403"}, + {"2a04:4e40:c600::/48", "54113"}, + {"2600:1010:9f10::/40", "22394"}, + {"2600:140b:d001::/37", "20940"}, + {"2a00:bc20::/32", "9186"}, + {"2a02:26f7:6b::/48", "20940"}, + {"2a02:6c20:5::/48", "208143"}, + {"2001:559:545::/48", "22258"}, + {"2001:678:100::/48", "47697"}, + {"240a:a743::/32", "144509"}, + {"2620:96:a000::/48", "399628"}, + {"2602:fcc9:777::/48", "32505"}, + {"2605:a7c0:111::/44", "16509"}, + {"2806:230:1600::/36", "11888"}, + {"2a06:98c1:3120::/46", "13335"}, + {"2001:253:133::/48", "142099"}, + {"2001:559:81ed::/48", "33668"}, + {"2001:678:e60::/48", "212596"}, + {"2001:8b0::/57", "20712"}, + {"2620:4:a000::/48", "16539"}, + {"2800:200:e281::/43", "12252"}, + {"2804:113c:ac00::/33", "53181"}, + {"2a00:11b0::/29", "16019"}, + {"2a00:df80:ffff::/48", "210611"}, + {"2a02:26f7:d90d::/42", "20940"}, + {"2401:3c0:118::/47", "45528"}, + {"240e:16:b203::/45", "38283"}, + {"2607:cc00::/32", "36003"}, + {"2a02:e0:3803::/45", "34984"}, + {"2a09:1b40::/32", "209383"}, + {"2a09:2681::/32", "61282"}, + {"2001:559:81cc::/47", "33287"}, + {"2402:800:32c5::/43", "7552"}, + {"2409:8924:a700::/36", "56046"}, + {"2803:ffe0::/32", "27951"}, + {"240a:aba8::/32", "145634"}, + {"2606:f100::/32", "3300"}, + {"2a04:1b00:e::/47", "61007"}, + {"2001:559:860c::/47", "7922"}, + {"240a:a36c::/32", "143526"}, + {"240e:3bc:f100::/37", "134775"}, + {"2600:1419:4a01::/39", "20940"}, + {"2603:d090::/25", "30600"}, + {"2605:f700:40::/46", "18978"}, + {"2800:484:cd00::/38", "10620"}, + {"2804:4bfc::/32", "267341"}, + {"2a03:2480:80::/48", "200107"}, + {"2a0a:90c0:1090::/48", "205080"}, + {"2408:8459:1050::/37", "17816"}, + {"2409:8052:3802::/40", "56047"}, + {"2606:1980:12::/47", "54994"}, + {"2a02:f880::/29", "61244"}, + {"2a07:2280::/29", "48909"}, + {"2400:9700:121::/44", "24550"}, + {"2400:cb00:11::/46", "13335"}, + {"2600:1480:3000::/40", "33905"}, + {"2804:214:4002::/43", "26615"}, + {"2a00:1d58:fa1c::/46", "47524"}, + {"2001:56b:e::/47", "7861"}, + {"2620:65:8000::/46", "20306"}, + {"2620:101:2009::/46", "30238"}, + {"2800:160:1fc8::/46", "14259"}, + {"2804:aa8:700::/36", "52903"}, + {"2806:230:601c::/48", "265594"}, + {"2a01:367:c205::/35", "30823"}, + {"2a02:1760::/32", "33864"}, + {"2a0d:8d04::/31", "44103"}, + {"2001:dce:8800::/48", "38064"}, + {"240a:a9f0::/32", "145194"}, + {"2001:df7:8280::/48", "147017"}, + {"2a01:4aa0::/32", "24951"}, + {"2a0e:c5c0::/32", "208854"}, + {"2401:d800:93e0::/37", "7552"}, + {"2402:3a80:1900::/40", "38266"}, + {"2a00:c840::/32", "44998"}, + {"2a05:ed40::/29", "207628"}, + {"2606:1340::/32", "399091"}, + {"2a00:c00:f060::/46", "15769"}, + {"2a09:9ac0::/48", "209562"}, + {"240e:967:ac00::/33", "4134"}, + {"2620:128:e00c::/48", "22317"}, + {"2a03:47c0:2181::/38", "21277"}, + {"2804:3b9c::/32", "266160"}, + {"2a02:26f7:c88e::/47", "20940"}, + {"2001:b201::/21", "3462"}, + {"240a:af2d::/32", "146535"}, + {"2a00:da8:fffb::/48", "6878"}, + {"2a07:9100::/29", "202774"}, + {"2a09:bac0:201::/45", "13335"}, + {"2001:200:a00::/37", "2500"}, + {"2400:1700:200::/48", "136552"}, + {"2402:7500:5c0::/48", "24158"}, + {"2604:d600:c7b::/45", "32098"}, + {"2001:559:364::/48", "13367"}, + {"2001:559:520::/48", "33651"}, + {"2001:1248:a4b4::/46", "11172"}, + {"2001:1540:dd06::/34", "47886"}, + {"2407:500:4000::/39", "58940"}, + {"2a01:c50f:b100::/38", "12479"}, + {"2a02:26f7:d248::/48", "36183"}, + {"2a0b:7ec0:deae::/29", "206728"}, + {"2620:11a:c018::/48", "54113"}, + {"2804:2b58::/32", "265148"}, + {"2804:7608::/32", "271085"}, + {"2806:20d:36ff::/33", "32098"}, + {"2a07:1980::/46", "25773"}, + {"2001:19f0:5000::/34", "20473"}, + {"2806:268:2405::/40", "13999"}, + {"2a05:55c0::/31", "50597"}, + {"2a0c:6c40:c82f::/48", "20705"}, + {"2402:800:41ef::/43", "7552"}, + {"2803:f3a0::/32", "267758"}, + {"2804:4220::/32", "267479"}, + {"2a02:26f7:bac4::/47", "36183"}, + {"2001:559:c2ed::/48", "33659"}, + {"2a01:4120::/32", "62363"}, + {"2a10:2f00:15c::/48", "212292"}, + {"2406:e780::/36", "63679"}, + {"240a:a86c::/32", "144806"}, + {"240e:51:5800::/37", "137695"}, + {"2804:5330::/32", "174"}, + {"2a02:26f7:d48c::/48", "36183"}, + {"2605:cb80::/32", "17210"}, + {"2800:bf0:826f::/48", "27947"}, + {"2a0b:f300:4c7::/30", "62240"}, + {"2001:480:561::/38", "668"}, + {"2001:67c:744::/48", "59632"}, + {"2001:1900:2269::/43", "3356"}, + {"240a:a421::/32", "143707"}, + {"240e:438:5040::/38", "4134"}, + {"2a11:7e03::/32", "135330"}, + {"2804:14c:7577::/44", "28573"}, + {"2804:8334::/32", "272183"}, + {"2409:8057:3074::/37", "56040"}, + {"2c0f:f6c8::/32", "15964"}, + {"2001:559:460::/48", "33287"}, + {"2001:ee0:1007::/40", "45899"}, + {"2408:840d:9e00::/42", "17621"}, + {"2603:c012:2000::/36", "31898"}, + {"2806:230:6012::/48", "265594"}, + {"2a00:c4c0::/32", "56477"}, + {"2602:fcff:10::/48", "57164"}, + {"2607:fdb8:5::/42", "30496"}, + {"2a05:d050:4020::/44", "16509"}, + {"2001:f00::/32", "3836"}, + {"2400:9380:9005::/46", "4809"}, + {"2401:3f00::/32", "56308"}, + {"2402:800:7850::/42", "7552"}, + {"2408:8459:7050::/38", "17816"}, + {"2600:6c38:231::/45", "20115"}, + {"2603:1062:2::/27", "8075"}, + {"2a0d:2e00:1000::/48", "33932"}, + {"2a0f:6fc6::/32", "16262"}, + {"2401:5f80::/45", "38731"}, + {"2405:40::/32", "136744"}, + {"2405:4803:2ee::/43", "18403"}, + {"2604:d600:616::/47", "32098"}, + {"2606:6800::/40", "394597"}, + {"2a01:5c00::/32", "201205"}, + {"2001:678:704::/48", "1257"}, + {"2403::/44", "4755"}, + {"2404:8d02:1045::/44", "9587"}, + {"2406:e000:38a::/43", "23655"}, + {"2409:8028:1800::/40", "56041"}, + {"2600:1408:3401::/36", "20940"}, + {"2a0e:1bc1:2000::/35", "59566"}, + {"2402:800:9afe::/39", "7552"}, + {"2406:840:110::/47", "139317"}, + {"240a:a1e4::/32", "143134"}, + {"2600:1419:c::/48", "35204"}, + {"2408:84f3:4040::/38", "17816"}, + {"2803:4580:8100::/45", "52468"}, + {"2804:3e70::/35", "266596"}, + {"2804:5648::/32", "267988"}, + {"2a01:c50f:ad80::/38", "12479"}, + {"2c0f:e8f8:2100::/32", "328699"}, + {"2001:579:b218::/36", "22773"}, + {"2408:8459:1d10::/42", "17623"}, + {"240e:44d:500::/41", "140345"}, + {"2600:6c10:f042::/44", "20115"}, + {"2804:28e4:403::/32", "28260"}, + {"2408:8957:8b00::/40", "17816"}, + {"2001:559:8106::/48", "20214"}, + {"2001:67c:1868::/48", "57683"}, + {"2620:139:7000::/40", "396950"}, + {"2a02:88d:200::/44", "48695"}, + {"2001:4878:8037::/44", "12222"}, + {"2402:ef2f:2c::/48", "7633"}, + {"240a:a092::/32", "142796"}, + {"240e:698:4900::/38", "4134"}, + {"2a00:1e88:8::/48", "39229"}, + {"2a02:cec0::/30", "25459"}, + {"2a05:5240::/30", "198722"}, + {"2001:700::/32", "224"}, + {"2400:dd03:100b::/29", "7497"}, + {"2803:4000::/32", "265801"}, + {"2001:250:20c::/48", "24349"}, + {"2402:800:63f1::/45", "7552"}, + {"240e:e9:4800::/37", "4134"}, + {"2607:6b80:34::/48", "9009"}, + {"2607:feb0::/32", "26546"}, + {"2800:bf0:2400::/44", "52257"}, + {"2a02:26f7:e501::/46", "20940"}, + {"2a02:2e02:a00::/42", "12479"}, + {"2a0f:240::/29", "60262"}, + {"2405:3300::/32", "131143"}, + {"240a:a8e3::/32", "144925"}, + {"2804:3430::/32", "265441"}, + {"2a00:85a0::/32", "12703"}, + {"2a09:6903::/32", "49981"}, + {"2a09:e640::/29", "204981"}, + {"2a0e:1e80::/29", "9119"}, + {"2a0e:b680::/29", "208016"}, + {"2a11:4980::/29", "210879"}, + {"2001:559:800d::/48", "7725"}, + {"2001:1a11:112::/48", "8781"}, + {"2409:8904:ab40::/33", "24547"}, + {"240a:a766::/32", "144544"}, + {"2620:10a:4008::/48", "29792"}, + {"2a10:200:2::/36", "208059"}, + {"2405:f080:1000::/37", "136907"}, + {"2406:840:44::/47", "139317"}, + {"240e:44d:7280::/41", "4134"}, + {"2a07:aa00:89::/29", "3549"}, + {"2a0a:2307::/48", "20853"}, + {"2001:559:258::/48", "7922"}, + {"2001:7f9::/48", "211655"}, + {"2001:df0:3d80::/48", "18124"}, + {"240a:a6b7::/32", "144369"}, + {"2a0b:e181:400::/38", "198605"}, + {"2001:559:2ea::/48", "33287"}, + {"2408:8956:6c00::/40", "17622"}, + {"2606:aa00::/32", "3794"}, + {"2a0d:c040::/29", "210081"}, + {"2400:dcc0:a604::/39", "38631"}, + {"2401:d800:5f80::/42", "7552"}, + {"2604:d600:2201::/36", "32098"}, + {"2804:77ac::/32", "271192"}, + {"2a01:8840:f5::/48", "207266"}, + {"2a04:3542:c000::/29", "202053"}, + {"2a0d:c9c0:1::/48", "49645"}, + {"2001:468:f00::/35", "11537"}, + {"2001:559:1b6::/48", "33287"}, + {"2001:559:87f8::/48", "7922"}, + {"2408:8056::/32", "4837"}, + {"2600:140b:4c00::/48", "31109"}, + {"2001:559:247::/48", "7016"}, + {"2409:8051:1002::/40", "56047"}, + {"2606:2c80::/32", "36813"}, + {"2607:f740:e640::/46", "63911"}, + {"2803:4c80::/32", "263181"}, + {"2001:559:81a7::/48", "7725"}, + {"2001:df0:7480::/48", "139076"}, + {"2403:7000::/33", "45179"}, + {"2600:1417:17::/44", "20940"}, + {"2a02:2e02:6b0::/41", "12479"}, + {"240a:a7f3::/32", "144685"}, + {"2402:800:910f::/43", "7552"}, + {"2406:f400:40::/44", "38001"}, + {"240e:37a::/35", "140329"}, + {"2a01:43a0::/32", "199998"}, + {"2a0d:d580::/32", "205588"}, + {"2001:559:2e1::/48", "33659"}, + {"2404:bf40:c280::/48", "7545"}, + {"2806:2f0:51a1::/46", "17072"}, + {"2a02:26f7:df8d::/42", "20940"}, + {"2a09:bac0:4::/48", "13335"}, + {"240a:aab4::/32", "145390"}, + {"2604:c840::/32", "397181"}, + {"2804:1784:ff05::/40", "263152"}, + {"2a00:4802:270::/44", "8717"}, + {"2a0c:4380::/40", "20860"}, + {"2407:59c0::/32", "140072"}, + {"2605:a401:80dd::/46", "33363"}, + {"2806:2f0:7061::/46", "17072"}, + {"2001:fd8:34b0::/44", "4775"}, + {"2604:d600:65c::/42", "32098"}, + {"2a02:26f7:d9::/48", "20940"}, + {"2402:800:3363::/43", "7552"}, + {"240a:ac99::/32", "145875"}, + {"2604:2c00:ff80::/41", "11071"}, + {"2804:14c:c600::/40", "28573"}, + {"2804:14d:7e3c::/41", "28573"}, + {"2804:5ec::/32", "28143"}, + {"2804:55b8::/32", "267952"}, + {"2a00:5400::/35", "35753"}, + {"2001:1a11:ca::/47", "8781"}, + {"2603:c022:c000::/35", "31898"}, + {"2606:4700:55::/46", "13335"}, + {"2804:3e70:b008::/33", "266596"}, + {"2a02:26f7:bcc1::/46", "20940"}, + {"2403:bdc0::/32", "138338"}, + {"240a:a718::/32", "144466"}, + {"2606:2800:5130::/48", "15133"}, + {"2a10:5c80::/29", "25726"}, + {"2001:559:7b3::/48", "7922"}, + {"2408:84f3:3650::/44", "17816"}, + {"2409:8a20::/32", "56046"}, + {"240a:aa4d::/32", "145287"}, + {"2a0b:380::/29", "60111"}, + {"2001:250:1c0a::/48", "23910"}, + {"2001:df3:1880::/48", "140015"}, + {"2401:d800:810::/42", "7552"}, + {"2a02:26f7:c3d9::/46", "20940"}, + {"2600:1003:b840::/42", "6167"}, + {"2620:115:50::/40", "18888"}, + {"2804:77c:501::/32", "53222"}, + {"2806:230:3017::/48", "11888"}, + {"2a02:2ab8:330::/32", "702"}, + {"2401:a140:1::/48", "4811"}, + {"240a:ac6f::/32", "145833"}, + {"240e:3bb:6400::/35", "140312"}, + {"2801:194::/44", "18747"}, + {"2a02:26f7:c589::/46", "20940"}, + {"2a0d:e0c0::/29", "210662"}, + {"2408:81a3:c800::/48", "140707"}, + {"2a02:2610::/32", "25521"}, + {"2a02:cb43:3004::/44", "20546"}, + {"2a04:4e40:b840::/44", "54113"}, + {"2a0a:8300::/29", "50911"}, + {"2001:550:1605::/39", "174"}, + {"2620:17e:300::/42", "19991"}, + {"2804:4098:3e90::/32", "265969"}, + {"2804:73e4:3000::/32", "270944"}, + {"2a00:40c0::/31", "12762"}, + {"2a02:7720::/32", "2119"}, + {"2001:559:3b5::/48", "33651"}, + {"2001:559:c197::/48", "33491"}, + {"2602:fed2:3ec::/46", "53356"}, + {"2a0d:ae00::/29", "42910"}, + {"2001:67c:314::/48", "39628"}, + {"2001:da8:4009::/42", "24353"}, + {"2801:17:800::/48", "264635"}, + {"2a02:88d:20::/44", "48695"}, + {"2a04:8580:ffff::/48", "21030"}, + {"2001:4490:3200::/42", "9829"}, + {"240e:946:3005::/46", "58540"}, + {"2600:140f:1e01::/34", "20940"}, + {"2804:5f58::/32", "269093"}, + {"2a06:6440::/29", "200000"}, + {"2a0a:7a04:3::/31", "61317"}, + {"2001:648:22b0::/48", "47616"}, + {"240e:6b6:4000::/36", "140310"}, + {"2a02:c6c2::/31", "58061"}, + {"2001:638:30e::/32", "680"}, + {"2001:4998:28::/48", "36229"}, + {"2402:8dc0::/32", "137496"}, + {"2409:8914:4600::/39", "56044"}, + {"2607:f740:e00c::/48", "200325"}, + {"2804:c00:3600::/32", "52655"}, + {"2804:2070::/32", "28661"}, + {"2804:72d8::/32", "270879"}, + {"2a02:290::/32", "8732"}, + {"2001:67c:1460::/45", "47487"}, + {"2400:8b00:a80::/42", "45727"}, + {"2407:6c80::/32", "38298"}, + {"2804:49a4:c008::/34", "267194"}, + {"2804:4c64::/32", "267368"}, + {"2a00:7b00:f900::/37", "12338"}, + {"2a02:26f7:e281::/46", "20940"}, + {"2a03:af20::/32", "197949"}, + {"240a:a82b::/32", "144741"}, + {"2607:fb10:5064::/43", "2906"}, + {"2a00:1f78:ffff::/48", "8893"}, + {"2620:1ec:901::/45", "8075"}, + {"2a0d:e480::/29", "51207"}, + {"2c0f:5500::/32", "328895"}, + {"2600:140f:3e00::/48", "9498"}, + {"2605:f440:cafe::/48", "209864"}, + {"2804:90c:f800::/38", "262617"}, + {"2a01:b740:a1e::/48", "6185"}, + {"2a02:26f7:ba09::/42", "20940"}, + {"2001:559:8049::/46", "7922"}, + {"2001:559:84ed::/48", "33489"}, + {"2604:e800::/32", "23376"}, + {"2a0c:2dc0::/29", "49028"}, + {"2001:da8:e804::/48", "138373"}, + {"240e:1e:6000::/32", "4134"}, + {"2604:d600:1329::/45", "32098"}, + {"2804:4930::/32", "267169"}, + {"2a02:2760::/32", "51402"}, + {"2a07:9a40::/36", "30081"}, + {"2001:559:2fc::/48", "33652"}, + {"2401:2540::/32", "55899"}, + {"2404:e680:1141::/32", "18409"}, + {"240a:a3d7::/32", "143633"}, + {"240a:af55::/32", "146575"}, + {"240e:3bf:7a00::/32", "140313"}, + {"2603:c002:8e10::/35", "31898"}, + {"2c0f:f0f8::/32", "36924"}, + {"2400:7400:e029::/48", "38044"}, + {"240e:397:600::/36", "140487"}, + {"2602:808:a003::/45", "16509"}, + {"2a02:2e02:83d0::/37", "12479"}, + {"2001:678:784::/48", "3301"}, + {"2402:9900:100::/47", "27435"}, + {"2403:300:a33::/35", "714"}, + {"2001:559:8168::/48", "33662"}, + {"2804:5edc::/32", "269061"}, + {"2a02:26f0:115::/48", "34164"}, + {"2001:c20:4872::/47", "3758"}, + {"2401:d800:54e0::/39", "7552"}, + {"2600:9000:1000::/48", "16509"}, + {"2a00:d60::/32", "29680"}, + {"2a02:26f7:d2c8::/48", "36183"}, + {"2a0b:1900::/44", "57878"}, + {"2001:1248:9745::/46", "11172"}, + {"2804:2788::/32", "263907"}, + {"2a00:1450:480f::/32", "15169"}, + {"2c0f:e870::/32", "60171"}, + {"2001:559:84f6::/44", "33659"}, + {"2001:1248:a4e0::/45", "11172"}, + {"2402:1580:2970::/32", "17682"}, + {"2804:30f8:809::/46", "264984"}, + {"2a02:26f7:b90d::/42", "20940"}, + {"2c0f:f6d0:107::/32", "327687"}, + {"2001:559:80ea::/45", "33287"}, + {"2408:8256:316a::/48", "17816"}, + {"2606:dc0::/32", "398816"}, + {"2620:132:f702::/36", "394977"}, + {"2806:2f0:4283::/43", "17072"}, + {"2a02:28c0::/48", "51806"}, + {"2001:728::/49", "2914"}, + {"2001:b200:4000::/32", "9505"}, + {"2602:fdae::/36", "14106"}, + {"2603:f200::/27", "397165"}, + {"2605:6400:d815::/34", "53667"}, + {"2605:de40:3005::/32", "397553"}, + {"2a02:26f7:c008::/48", "36183"}, + {"2a03:5700::/32", "5524"}, + {"2001:43f8:920::/48", "3741"}, + {"2409:8c85:aa14::/48", "56044"}, + {"240a:ab95::/32", "145615"}, + {"2600:140f:3c01::/39", "20940"}, + {"2408:8459:f800::/40", "17816"}, + {"2607:fa08::/46", "23404"}, + {"2804:1e58::/46", "264422"}, + {"2804:5bdc:8004::/33", "268873"}, + {"2806:2f0:4081::/46", "17072"}, + {"2a02:26f7:d254::/48", "36183"}, + {"2405:23c0::/32", "134325"}, + {"2a00:f0e0:71::/32", "198499"}, + {"2a02:26f7:d988::/48", "36183"}, + {"2a0a:d7c7:808::/48", "8447"}, + {"2001:67c:248c::/48", "47638"}, + {"2001:978:3000:1::/38", "174"}, + {"2401:d800:b292::/41", "7552"}, + {"2a0c:d400:100::/48", "7809"}, + {"2001:bb8::/32", "3221"}, + {"2001:da8:e800::/48", "24368"}, + {"2404:b5c0::/32", "134911"}, + {"2001:1388:2146::/37", "6147"}, + {"2001:1af0:9000::/48", "44325"}, + {"2404:6300:4001::/32", "131310"}, + {"2604:b180:80::/44", "32775"}, + {"2604:d800:1001::/48", "3713"}, + {"2804:1b3:1000::/36", "18881"}, + {"2804:4c74::/32", "267371"}, + {"2a0a:6280::/29", "199434"}, + {"2607:f698::/32", "30176"}, + {"2a00:f90::/32", "34781"}, + {"2a02:5740:18::/48", "41564"}, + {"2001:df0:8380::/48", "131401"}, + {"2402:800:6218::/42", "7552"}, + {"2406:cf00:1000::/43", "23724"}, + {"2408:840c:8800::/40", "17621"}, + {"2607:f928:3::/48", "22645"}, + {"2001:559:41b::/45", "7725"}, + {"240e:67a:c600::/34", "4134"}, + {"2804:248:4008::/32", "28598"}, + {"2001:559:131::/48", "33652"}, + {"2400:adc4::/39", "9541"}, + {"2401:c800::/32", "7511"}, + {"2605:7c0::/48", "19382"}, + {"2804:e30:5800::/37", "11338"}, + {"2a02:ab00::/29", "6830"}, + {"2804:c48:ff01::/44", "52687"}, + {"2804:743c::/32", "270968"}, + {"2a02:2698:3000::/38", "50544"}, + {"2600:1413:9001::/34", "20940"}, + {"2620:6a::/48", "3152"}, + {"2402:8e00::/46", "38529"}, + {"2605:8300:b::/48", "174"}, + {"2606:9580:ff03::/48", "394256"}, + {"2804:62c:2006::/43", "262569"}, + {"2804:4a20::/32", "267220"}, + {"2a02:26f7:c740::/48", "36183"}, + {"2001:559:80c1::/48", "7015"}, + {"2407:d0c0::/32", "133434"}, + {"2620:171:50::/48", "42"}, + {"2a02:598:3334::/33", "43037"}, + {"2a04:4ec0::/31", "202503"}, + {"2a0a:fa00::/29", "49191"}, + {"2a0d:5e80::/29", "200899"}, + {"2001:1978:1b00::/37", "13768"}, + {"2409:895a:d000::/31", "56040"}, + {"2800:d302:13::/45", "11830"}, + {"2a00:1d08::/32", "13003"}, + {"2a01:8840:b1::/48", "207266"}, + {"2a0a:3d00::/48", "1836"}, + {"2001:410:8003::/48", "549"}, + {"2404:f4c0:fa0a::/47", "142280"}, + {"2600:1404:8401::/35", "20940"}, + {"2606:b400:881c::/48", "7160"}, + {"2800:160:1063::/43", "14259"}, + {"2804:4c14:da01::/39", "267348"}, + {"240e:1f:7000::/36", "134763"}, + {"2604:b5c0::/32", "394859"}, + {"2804:1184::/32", "61895"}, + {"2804:7948::/32", "271296"}, + {"2001:559:c0c9::/48", "7016"}, + {"2001:16a2:b800::/38", "25019"}, + {"2a04:5b84:1::/48", "202265"}, + {"2001:ac8:98::/32", "9009"}, + {"2a02:26f7:b408::/48", "36183"}, + {"2a02:26f7:c485::/46", "20940"}, + {"2a02:26f7:d24d::/46", "20940"}, + {"2401:c500:fd04::/48", "54994"}, + {"2402:800:59c5::/43", "7552"}, + {"2a00:e48::/33", "35703"}, + {"2a0a:4300::/29", "56655"}, + {"240a:a56e::/32", "144040"}, + {"2605:6400:9004::/33", "53667"}, + {"2804:7edc::/32", "271652"}, + {"240a:ac90::/32", "145866"}, + {"240a:af20::/32", "146522"}, + {"240e:438:8e40::/35", "4134"}, + {"240e:878:180::/41", "137689"}, + {"2804:710::/47", "17222"}, + {"2806:2f0:4201::/46", "17072"}, + {"2001:5a0:4403::/38", "6453"}, + {"240a:afaf::/32", "146665"}, + {"2602:feda:af8::/48", "138210"}, + {"2800:2f0::/48", "27668"}, + {"2806:230:5014::/48", "265594"}, + {"2a0a:1a80::/29", "203828"}, + {"2a0c:5100::/29", "205071"}, + {"2a0f:cc00:1::/48", "60781"}, + {"2a10:4941:30::/44", "62214"}, + {"2404:4a00:4::/64", "55423"}, + {"2600:100b:b030::/40", "6167"}, + {"2607:f2d8:6000::/32", "18450"}, + {"2a00:1d58:fa23::/45", "47524"}, + {"2001:a48:9000::/33", "8970"}, + {"2001:dce:9500::/48", "38064"}, + {"2001:1260:11f::/40", "13591"}, + {"240a:a3de::/32", "143640"}, + {"2602:feda:c40::/48", "212580"}, + {"2a00:15a8::/36", "29140"}, + {"2a00:17c0:c5::/32", "12993"}, + {"2602:102:1019::/31", "20115"}, + {"2803:10e0::/32", "269853"}, + {"2001:500:76::/44", "30133"}, + {"2803:9800:b037::/44", "11664"}, + {"2804:2678::/32", "264342"}, + {"2600:1488:a521::/35", "20940"}, + {"2a02:1380::/32", "50572"}, + {"2a02:26f7:db48::/48", "36183"}, + {"2a03:6947:1700::/40", "61266"}, + {"2a06:98c0:1000::/48", "203898"}, + {"2a09:500::/32", "48131"}, + {"2409:803c:3091::/42", "24444"}, + {"240a:a88e::/32", "144840"}, + {"240a:a9af::/32", "145129"}, + {"2803:f80::/32", "263726"}, + {"2a02:26f0:8000::/48", "8551"}, + {"2a05:dfc7:9::/42", "61138"}, + {"2a0b:4200:1001::/48", "3303"}, + {"2001:67c:2f9c::/48", "5588"}, + {"2408:8956:500::/40", "17816"}, + {"240a:a996::/32", "145104"}, + {"2804:ef4:5402::/38", "28642"}, + {"2804:4520::/32", "267674"}, + {"2804:77dc::/32", "271204"}, + {"2a02:888:4040::/46", "48695"}, + {"2a02:26f7:dcc8::/48", "36183"}, + {"2001:559:876f::/43", "7016"}, + {"2001:b48::/29", "16117"}, + {"240e:108:44::/48", "134768"}, + {"2804:3af0::/32", "266119"}, + {"2804:4488:7010::/44", "262480"}, + {"2a00:cee5:dcd::/30", "60268"}, + {"2408:8957:1240::/40", "17622"}, + {"240a:ae95::/32", "146383"}, + {"2406:93c0::/32", "137042"}, + {"240a:af47::/32", "146561"}, + {"2001:559:518::/48", "33655"}, + {"2001:4998:64::/48", "393245"}, + {"2604:880:3ad::/41", "29802"}, + {"2620:149:ae7::/43", "714"}, + {"2a01:aea0:dd6::/42", "42473"}, + {"2001:1248:57cf::/42", "11172"}, + {"2604:2e80:1403::/36", "30036"}, + {"2607:7b00:7000::/36", "54643"}, + {"2806:2f0:4641::/46", "17072"}, + {"2a05:4a40:fffe::/47", "2571"}, + {"2a09:5302::/32", "205090"}, + {"2a0a:f0c0::/29", "204860"}, + {"2a10:30c4::/30", "398481"}, + {"2001:559:c31d::/48", "7015"}, + {"240a:ad2a::/32", "146020"}, + {"2600:6c38:557::/42", "20115"}, + {"2605:a401:8f47::/40", "33363"}, + {"2620:124:1000::/44", "12161"}, + {"2a05:e581::/29", "63399"}, + {"2001:559:c366::/44", "7015"}, + {"2404:8d02:2983::/37", "9587"}, + {"2600:6c20:dff::/38", "20115"}, + {"2604:5400:4400::/35", "11776"}, + {"2804:aac:8000::/33", "52905"}, + {"2a00:88a0::/32", "25540"}, + {"2001:1248:5988::/43", "11172"}, + {"2806:230:1016::/48", "265594"}, + {"2a02:26f7:d8c4::/48", "36183"}, + {"2001:df0:c300::/48", "136099"}, + {"2803:87e0::/32", "270095"}, + {"2a04:c180::/29", "12842"}, + {"2a0b:4e80::/32", "206491"}, + {"2001:da8:8000::/48", "24364"}, + {"2602:ff36:301::/40", "395348"}, + {"2620:149:983::/41", "714"}, + {"2804:5598::/32", "267944"}, + {"2804:5ac4:40::/34", "268795"}, + {"2a0d:5c0::/29", "61317"}, + {"2001:678:b7c::/48", "207871"}, + {"2001:16c0:12::/32", "31732"}, + {"2408:8957:f200::/42", "17816"}, + {"240e:3bb:d000::/36", "134772"}, + {"240e:438:6e20::/43", "140647"}, + {"2602:ff3a::/36", "62512"}, + {"2620:49:8080::/48", "7046"}, + {"2804:2000:1000::/33", "264459"}, + {"2a02:26f7:cf85::/46", "20940"}, + {"2a03:9980::/35", "30742"}, + {"2001:ce0:4::/48", "4616"}, + {"2a04:1bc0::/32", "60982"}, + {"2402:800:55ee::/38", "7552"}, + {"2604:38c0::/32", "54097"}, + {"2800:160:1212::/44", "14259"}, + {"2804:2010::/32", "264462"}, + {"2a05:9580::/29", "42120"}, + {"2001:df0:cb::/48", "45786"}, + {"2606:2c40::/48", "209242"}, + {"2a00:10b0::/29", "49586"}, + {"2001:559:53b::/48", "7015"}, + {"2001:559:82a2::/47", "7922"}, + {"2404:3380::/32", "134707"}, + {"2806:2f0:9e03::/42", "17072"}, + {"2a0f:f780::/29", "60262"}, + {"2001:559:161::/48", "7725"}, + {"2001:559:2e3::/48", "33491"}, + {"2001:559:4ac::/48", "22909"}, + {"2620:171:aa::/48", "42"}, + {"2a00:1dc8::/32", "34352"}, + {"2a02:128:14::/48", "201069"}, + {"2a02:2698:a001::/48", "12768"}, + {"2602:feda:e40::/44", "149285"}, + {"2804:eb0::/32", "262968"}, + {"2804:4bc8::/40", "267329"}, + {"2a06:98c1:50::/45", "13335"}, + {"2a09:bac0:11::/46", "13335"}, + {"240a:ab18::/32", "145490"}, + {"2804:7110::/34", "270764"}, + {"2a0e:8f02:f039::/48", "210826"}, + {"2800:bf0:259::/45", "52257"}, + {"240a:a383::/32", "143549"}, + {"2610:1c8::/43", "23393"}, + {"2a02:26f0:2::/45", "20940"}, + {"2a02:26f0:6901::/38", "20940"}, + {"2a0e:b107:21::/48", "137490"}, + {"2001:250:583b::/41", "24363"}, + {"2001:559:8467::/48", "7015"}, + {"2602:805:8000::/40", "397110"}, + {"2a01:51c0::/31", "29422"}, + {"2001:559:714::/48", "20214"}, + {"2401:8800:a00::/46", "17439"}, + {"2405:9800:9814::/38", "45430"}, + {"2407:b000:4015::/48", "394749"}, + {"240e:108:84::/48", "63835"}, + {"2606:3c80:c000::/34", "33582"}, + {"2a02:26f7:c440::/48", "36183"}, + {"2a04:f900::/29", "59921"}, + {"2a07:3fc0::/29", "203468"}, + {"2a07:f600:4045::/48", "9098"}, + {"2600:5400:ce01::/34", "19108"}, + {"2800:1e0:3000::/40", "7195"}, + {"2a01:111:2004::/42", "8075"}, + {"2a0f:e6c0:a::/48", "60781"}, + {"2001:550:502::/38", "174"}, + {"2001:559:2b::/45", "7922"}, + {"2a0b:9e00::/29", "35370"}, + {"2001:468:d02::/40", "4600"}, + {"2804:3434::/32", "265442"}, + {"2a01:618:8000::/38", "8683"}, + {"2a01:5bc0::/32", "48298"}, + {"2a02:26f6:1::/32", "20940"}, + {"2a02:26f7:b984::/47", "36183"}, + {"2a06:d480::/29", "59701"}, + {"2a0e:47c7:1000::/48", "208259"}, + {"2001:559:c208::/48", "33491"}, + {"2602:feda:20::/44", "205532"}, + {"2a06:3c40::/29", "1764"}, + {"2406:3002:20::/48", "9874"}, + {"240e:45c:6800::/40", "131285"}, + {"2607:1b00:10::/48", "54456"}, + {"2620:138:3009::/45", "22604"}, + {"2804:7d48::/32", "271551"}, + {"2001:559:8188::/48", "33659"}, + {"2001:18a0::/32", "23265"}, + {"2001:44b8:6034::/44", "4739"}, + {"240a:a0eb::/32", "142885"}, + {"240a:a28b::/32", "143301"}, + {"2600:1409:c801::/35", "20940"}, + {"2602:fcae::/36", "16904"}, + {"2a04:29c2::/32", "42821"}, + {"2403:3800:8000::/33", "4007"}, + {"240a:ad9e::/32", "146136"}, + {"2620:149:f02::/35", "714"}, + {"2001:559:8160::/48", "7725"}, + {"2403:6e40:160::/44", "9830"}, + {"2803:c010:2a::/48", "271799"}, + {"2804:70bc::/32", "270745"}, + {"2804:7f10::/32", "271664"}, + {"2a02:26f7:ea85::/46", "20940"}, + {"2a04:5c85:1000::/36", "42570"}, + {"2a05:43c3::/29", "210139"}, + {"2409:8c20:5800::/38", "56046"}, + {"2800:160:1869::/43", "14259"}, + {"2a01:8fa::/32", "12302"}, + {"2001:559:465::/48", "7922"}, + {"2001:dce:7000::/48", "45285"}, + {"2603:4010::/31", "3"}, + {"2402:93c0:100::/48", "59073"}, + {"240a:adb1::/32", "146155"}, + {"2001:67c:2b30::/48", "3320"}, + {"2605:7000::/32", "44444"}, + {"2a02:80e0::/30", "197216"}, + {"2a0f:5707:af07::/44", "211358"}, + {"2001:678:e24::/48", "212717"}, + {"240e:3b3:f100::/37", "134775"}, + {"2602:107:2610::/48", "20115"}, + {"2606:b0c0::/32", "8095"}, + {"2a05:980::/29", "201702"}, + {"2001:678:19::/48", "44358"}, + {"2406:a340::/32", "141327"}, + {"2600:1001:f110::/30", "22394"}, + {"2800:bf0:8166::/47", "27947"}, + {"2804:37c4:8200::/39", "266435"}, + {"2804:5960::/32", "268186"}, + {"2804:6414::/32", "269403"}, + {"2a00:1909::/32", "3266"}, + {"2a00:1a10::/29", "41230"}, + {"2602:feda:d55::/44", "141712"}, + {"2001:559:8281::/48", "33665"}, + {"2001:dcc:4::/48", "23599"}, + {"2408:8956:bd00::/40", "17816"}, + {"240a:a19d::/32", "143063"}, + {"2610:a1:1073::/48", "397228"}, + {"2804:2e64::/32", "265343"}, + {"2001:44b8:5034::/44", "7545"}, + {"2401:d800:d790::/42", "7552"}, + {"2604:bfc0::/32", "54646"}, + {"2a00:19c8:9000::/29", "35833"}, + {"2a0f:480::/29", "198111"}, + {"2a10:3f80::/29", "212144"}, + {"2001:559:c35a::/48", "33651"}, + {"2404:1f00:ffa2::/45", "55947"}, + {"2408:8957:2600::/40", "17622"}, + {"2804:23e4:2a::/32", "264191"}, + {"2804:561c::/32", "267977"}, + {"2001:968::/29", "24875"}, + {"2001:49f0:d0b0::/44", "174"}, + {"2406:3002:50:4000::/31", "4657"}, + {"2408:8409:6c00::/40", "4808"}, + {"2607:f4e8:6::/44", "22822"}, + {"2a02:26f7:c9cd::/42", "20940"}, + {"2a09:bfc7::/32", "49544"}, + {"240a:a54b::/32", "144005"}, + {"2803:5c80:5507::/48", "64114"}, + {"2a02:26f7:cbc1::/46", "20940"}, + {"2a0e:97c3:55c::/48", "20473"}, + {"2001:67c:1108::/47", "198060"}, + {"2001:44c8:4080::/44", "131445"}, + {"2402:5300:4110::/38", "45903"}, + {"2408:8256:2f7f::/48", "17816"}, + {"240a:ad50::/32", "146058"}, + {"2a02:26f7:d160::/48", "36183"}, + {"240a:a6dd::/32", "144407"}, + {"2600:1fa0:1040::/44", "16509"}, + {"2a00:c68::/32", "43513"}, + {"2a0a:4640:14::/42", "206177"}, + {"240e:981:300::/36", "4134"}, + {"2605:a404:23c::/40", "33363"}, + {"2606:2800:60f5::/48", "15133"}, + {"2001:410:a01c::/48", "40007"}, + {"2001:468:600::/40", "10578"}, + {"2401:d800:bef0::/39", "7552"}, + {"240a:a309::/32", "143427"}, + {"240a:a396::/32", "143568"}, + {"240a:a7dc::/32", "144662"}, + {"2600:1407:1801::/37", "20940"}, + {"2a02:f840:2::/31", "199483"}, + {"2a0f:9400:8020::/48", "20473"}, + {"2401:f800::/32", "7529"}, + {"240a:a46b::/32", "143781"}, + {"2602:ff18:221::/48", "21973"}, + {"2620:8b:c000::/48", "14382"}, + {"2804:45cc::/32", "266950"}, + {"2a06:ec0::/32", "8943"}, + {"2a0a:7980::/32", "41114"}, + {"2a0f:9400:8011::/48", "207445"}, + {"2001:559:8386::/48", "33491"}, + {"2406:f00:1::/48", "132524"}, + {"2a01:53a0:1001::/48", "199953"}, + {"2001:559:3dc::/48", "33657"}, + {"2001:4430:41e8::/36", "17853"}, + {"240a:abb0::/32", "145642"}, + {"2602:fd2d::/36", "398567"}, + {"2a0b:6b81:208::/48", "203729"}, + {"2a0f:8ac1:d9a3::/48", "205749"}, + {"2401:3c0:205::/44", "45528"}, + {"2a02:2bb8::/32", "24851"}, + {"240e:44d:7340::/42", "140356"}, + {"2001:44b8:2054::/44", "7545"}, + {"2402:800:527f::/40", "7552"}, + {"2606:f40:3001::/48", "14618"}, + {"2a05:e980::/32", "47215"}, + {"2a0e:b107:1170::/47", "142055"}, + {"2407:5440::/48", "141145"}, + {"2407:aa40::/32", "142508"}, + {"240a:ac87::/32", "145857"}, + {"240a:af97::/32", "146641"}, + {"2600:1410:b001::/33", "20940"}, + {"2600:1480:b001::/37", "20940"}, + {"2602:fddd::/36", "26801"}, + {"2604:880:38c::/46", "29802"}, + {"2804:85c8::/32", "272600"}, + {"2a02:2010:2410::/45", "20978"}, + {"2a12:79c0::/32", "47536"}, + {"2001:559:803a::/48", "33491"}, + {"2403:9800:b019::/41", "4648"}, + {"2606:6580::/34", "15305"}, + {"2606:e600::/32", "4258"}, + {"2804:5bc0:c000::/34", "268867"}, + {"2a04:e7c0::/29", "197879"}, + {"2603:c0e8:2910::/40", "1218"}, + {"2607:f740:e621::/48", "63911"}, + {"2a06:1780::/32", "60781"}, + {"2408:8956:9200::/40", "17622"}, + {"240a:aaa1::/32", "145371"}, + {"240e:3b3:2200::/37", "136198"}, + {"2606:2800:50c::/46", "15133"}, + {"2a03:2ca0:256::/34", "59865"}, + {"2001:559:c0f8::/48", "33659"}, + {"2001:678:cf8::/48", "38974"}, + {"2001:1688::/29", "3212"}, + {"240a:a476::/32", "143792"}, + {"2a0e:9300:42c0::/48", "62184"}, + {"2400:adc3::/39", "9541"}, + {"2405:7f00:9b00::/37", "133414"}, + {"2408:8956:d440::/40", "17622"}, + {"2607:f2d8:401b::/48", "33494"}, + {"2803:6604:a001::/37", "28075"}, + {"2804:1288::/36", "263482"}, + {"2a02:26f7:cb00::/48", "36183"}, + {"2a02:2a28::/32", "51137"}, + {"2a09:2740::/29", "209536"}, + {"2404:8d06:6100::/36", "10089"}, + {"240a:ad22::/32", "146012"}, + {"2804:ffc::/32", "263612"}, + {"2a00:e000::/48", "56975"}, + {"2a0d:d6c0::/31", "200350"}, + {"2406:8600:f03f::/41", "10310"}, + {"240e:108:1196::/42", "4134"}, + {"2804:25b4:ff01::/40", "264297"}, + {"2804:2c38::/32", "265204"}, + {"2a04:b903::/32", "8587"}, + {"2a0b:b600:1000::/38", "60404"}, + {"2001:559:8132::/48", "33491"}, + {"2a05:d018::/35", "16509"}, + {"2001:da8:258::/48", "23910"}, + {"2001:1b70:86::/48", "158"}, + {"240e:438:6a40::/37", "4134"}, + {"2804:1ae4::/32", "61697"}, + {"2804:2994::/32", "264023"}, + {"2804:7570::/32", "271046"}, + {"2a0d:f980::/29", "204431"}, + {"2001:559:817c::/48", "33667"}, + {"2001:1b70:4292::/48", "158"}, + {"240e:d:a000::/37", "136193"}, + {"2604:6840:f800::/37", "33438"}, + {"2a0e:c640::/29", "208386"}, + {"2001:503:e8ef::/48", "7342"}, + {"2001:559:c06b::/48", "7016"}, + {"2001:4350:a000::/48", "31245"}, + {"2408:84f3:9e10::/42", "134543"}, + {"240e:3b4:2200::/37", "136198"}, + {"2600:1016:b0e0::/39", "6167"}, + {"2603:b0a3::/28", "11796"}, + {"2a10:50c0::/48", "212772"}, + {"2001:670::/29", "719"}, + {"2001:e10::/32", "7539"}, + {"2408:8456:7a00::/42", "17622"}, + {"240a:a16b::/32", "143013"}, + {"2804:6388::/32", "269367"}, + {"2a00:1938::/32", "42093"}, + {"2a0b:1301:8000::/48", "198018"}, + {"2409:8763::/28", "9808"}, + {"2606:2800:4100::/48", "15133"}, + {"2a02:26f7:e704::/48", "36183"}, + {"2a03:5a00:8::/48", "49124"}, + {"2a03:7c00::/32", "199087"}, + {"2a0b:e200:1::/48", "208321"}, + {"2a11:d940::/29", "30879"}, + {"2409:8054:45::/44", "56040"}, + {"240c:c7b9::/32", "24367"}, + {"240e:980:2400::/40", "134768"}, + {"2603:6080::/28", "11426"}, + {"2804:2cdc::/32", "263069"}, + {"2001:503:6810::/48", "7342"}, + {"2001:5014:400:4::/64", "6461"}, + {"2405:6e00:f810::/48", "133612"}, + {"2a02:26f7:ea81::/46", "20940"}, + {"2403:2500:300::/48", "36236"}, + {"2408:8256:3590::/44", "17623"}, + {"2804:29cc::/32", "264035"}, + {"2001:c20:c84d::/46", "9255"}, + {"2404:a800:2a01::/35", "9498"}, + {"2602:ffa5:100::/40", "53907"}, + {"2804:5e08::/39", "269007"}, + {"2001:559:461::/48", "7015"}, + {"2001:559:8420::/48", "7016"}, + {"240a:a3db::/32", "143637"}, + {"2a01:8840:d1::/48", "207266"}, + {"2a02:26f0:1701::/36", "20940"}, + {"2400:4a20:f000::/36", "141731"}, + {"2401:3c0:217::/44", "45528"}, + {"2407:b000:4016::/32", "17819"}, + {"2604:4c40::/32", "395555"}, + {"2606:4700:9ae0::/44", "13335"}, + {"2800:160:1bbc::/46", "14259"}, + {"2804:38:3403::/45", "19089"}, + {"2001:1a11:79::/46", "42298"}, + {"2402:800:3771::/44", "7552"}, + {"2806:267:2300::/37", "13999"}, + {"2a02:ad8:1200::/37", "12389"}, + {"2409:803c:3800::/40", "24444"}, + {"240e:44d:4a00::/42", "140345"}, + {"2804:2bc4::/32", "265174"}, + {"2a06:5040:10::/45", "4785"}, + {"2605:19c0::/32", "30697"}, + {"2620:1f7:3800::/37", "18703"}, + {"2800:bf0:3742::/42", "27947"}, + {"2803:9840::/32", "263765"}, + {"2804:145c:9000::/33", "263327"}, + {"2a03:8800:2::/32", "49687"}, + {"2c0f:eac0::/32", "37682"}, + {"2408:8409:9000::/40", "4808"}, + {"2607:f428:9360::/44", "12271"}, + {"2804:b18:8090::/41", "52941"}, + {"2001:fd8:261::/46", "4775"}, + {"2403:6200:7105::/37", "45629"}, + {"240e:67e:800::/37", "140329"}, + {"2600:370f:33c0::/46", "32261"}, + {"2605:2480::/32", "53454"}, + {"2804:448::/32", "262427"}, + {"2a00:4900::/32", "12390"}, + {"2a03:3200::/32", "8752"}, + {"2a0f:e404:10a::/48", "58057"}, + {"2408:84ee::/32", "140726"}, + {"2408:84f3:a440::/38", "17816"}, + {"2806:329::/32", "28429"}, + {"2a02:26f7:e949::/46", "20940"}, + {"2001:559:84bd::/48", "33490"}, + {"2001:67c:2f88::/48", "204082"}, + {"240a:a2bc::/32", "143350"}, + {"2600:141b:c01::/38", "20940"}, + {"2804:2168::/32", "53199"}, + {"2a02:970:1244::/47", "44002"}, + {"2a04:3740:3::/29", "35625"}, + {"2001:df0:de80::/48", "138762"}, + {"2400:1440::/32", "135666"}, + {"2406:3a00:10::/48", "136557"}, + {"240a:aa2d::/32", "145255"}, + {"2610:108:8004::/47", "11724"}, + {"2800:3c0:1130::/34", "19863"}, + {"2804:2634:2000::/39", "264332"}, + {"2a00:800:429::/41", "1257"}, + {"2001:67c:6a4::/48", "50370"}, + {"2402:800:b2e0::/39", "7552"}, + {"2607:f7a0:8::/47", "46562"}, + {"2804:14c:9b00::/40", "28573"}, + {"2806:288:4040::/47", "28469"}, + {"2a0e:aa00:301::/48", "41378"}, + {"2001:559:d::/48", "33662"}, + {"2404:7cc0:7f00::/47", "10100"}, + {"240a:a92a::/32", "144996"}, + {"2600:370f:20e1::/43", "32261"}, + {"2a02:26f0:8d01::/40", "20940"}, + {"2401:d800:9bf0::/37", "7552"}, + {"240a:a617::/32", "144209"}, + {"2602:fbfe::/48", "18944"}, + {"2602:fe45::/36", "35900"}, + {"2607:1280:13a0::/44", "394972"}, + {"2800:bf0:1c0::/45", "52257"}, + {"2804:500::/32", "262485"}, + {"2a02:26f7:c74c::/48", "36183"}, + {"2605:a401:8de1::/44", "33363"}, + {"2400:cd00::/35", "38794"}, + {"2402:7400:8000::/33", "38883"}, + {"2409:8055:3074::/30", "56040"}, + {"240a:a315::/32", "143439"}, + {"2800:160:2c18::/42", "14259"}, + {"2a00:c720::/32", "60323"}, + {"2a03:99a0::/32", "2606"}, + {"2001:678:75c::/48", "199819"}, + {"2001:49d0::/40", "2495"}, + {"2600:1400:2000::/48", "35994"}, + {"2804:8e8::/34", "262399"}, + {"2a07:1980:a::/45", "48851"}, + {"2a0c:b641:250::/44", "210821"}, + {"2a10:dfc0::/29", "62206"}, + {"2a00:4802:5110::/29", "8717"}, + {"2a04:4280:10::/48", "43260"}, + {"2a0e:97c0:a41::/46", "210667"}, + {"2001:4488:2005::/33", "7713"}, + {"2a04:3740:1::/46", "24935"}, + {"2a0a:2a40::/29", "50758"}, + {"2a00:c020:5000::/32", "200414"}, + {"2a0a:5000::/29", "57814"}, + {"2001:559:c050::/48", "7015"}, + {"2620:56:4000::/48", "31990"}, + {"2804:71b0::/34", "270805"}, + {"2001:559:581::/48", "33491"}, + {"2001:12f0:d00::/42", "1916"}, + {"240a:adb7::/32", "146161"}, + {"2a03:7600::/32", "34066"}, + {"2001:4478:1600::/36", "4802"}, + {"2400:addd::/30", "9541"}, + {"240e:14:7000::/37", "133775"}, + {"2a0c:b641:454::/48", "210344"}, + {"2001:559:8267::/48", "33650"}, + {"2001:559:c1fa::/48", "7015"}, + {"2001:fb0:10b5::/48", "138685"}, + {"2001:4878:c062::/47", "12222"}, + {"2406:840:fef9::/48", "141776"}, + {"2408:8459:8050::/38", "17816"}, + {"240e:fe::/35", "140317"}, + {"2600:370f:50af::/39", "32261"}, + {"2804:3a4c::/32", "266082"}, + {"2a07:ef40::/29", "204860"}, + {"240e:3be:2c00::/35", "134774"}, + {"2a02:26f7:cc00::/48", "36183"}, + {"2a09:9444::/32", "395092"}, + {"2a0e:97c0:5e0::/48", "210426"}, + {"2a11:aa80::/47", "35673"}, + {"2c0f:f698:8ff1::/33", "37693"}, + {"2804:3e98::/40", "266608"}, + {"2a00:5f80::/32", "57353"}, + {"2a06:1307::/32", "49392"}, + {"2001:400::/43", "293"}, + {"2401:5e80::/32", "132895"}, + {"2607:f500::/35", "6181"}, + {"2800:4b0:4013::/42", "12252"}, + {"2803:1a00:5213::/37", "262186"}, + {"2803:8040::/32", "263749"}, + {"2804:6790::/32", "269636"}, + {"2a04:6000::/29", "50477"}, + {"2001:ce0:9::/34", "3662"}, + {"240a:a07e::/32", "142776"}, + {"240a:a673::/32", "144301"}, + {"2606:1a40:2000::/44", "398962"}, + {"2001:559:3fb::/48", "33287"}, + {"2408:8456:440::/39", "17816"}, + {"240a:a9b4::/32", "145134"}, + {"2a00:8420::/32", "9304"}, + {"2a02:26f7:cfc4::/48", "36183"}, + {"2a03:3a40:2001::/32", "199629"}, + {"2a05:d050:8050::/42", "16509"}, + {"2001:df7:6c00::/48", "134633"}, + {"240a:a8ef::/32", "144937"}, + {"240e:438:3c40::/38", "4134"}, + {"2602:fce1:226::/48", "395886"}, + {"2804:19d8::/32", "61822"}, + {"2804:5164::/32", "268449"}, + {"2806:230:6027::/48", "11888"}, + {"2620:fa::/48", "293"}, + {"2a01:c9c0:801a::/48", "2285"}, + {"2a05:a880:de56::/48", "20765"}, + {"2a07:9540::/29", "206141"}, + {"2a0c:88c0::/46", "202344"}, + {"2a0e:b107:777::/48", "213105"}, + {"2401:a700::/32", "17726"}, + {"2408:8956:100::/40", "17816"}, + {"2606:ae00:a480::/42", "7287"}, + {"2804:8d4::/32", "262753"}, + {"2001:67c:13f4::/48", "1257"}, + {"2001:1490:101::/46", "8895"}, + {"2001:1b08::/32", "20900"}, + {"2406:d00:ddcc::/48", "132165"}, + {"2408:84f3:3090::/38", "17816"}, + {"2603:90d8::/30", "10838"}, + {"2620:171:f4::/47", "42"}, + {"2a00:c500::/32", "48661"}, + {"2a0d:9e00::/29", "204988"}, + {"2a10:13c0:ef1c::/48", "197816"}, + {"2001:6f0:4006::/29", "1257"}, + {"2800:190:4005::/32", "11664"}, + {"2800:370:46::/48", "28006"}, + {"2800:484:dd00::/38", "14080"}, + {"2804:1c4c:593::/35", "61648"}, + {"2a00:59c0:4::/32", "49232"}, + {"2001:ac0:30fd::/48", "12541"}, + {"2402:bc00::/29", "18144"}, + {"240a:a1ff::/32", "143161"}, + {"2800:ba0:16::/48", "263812"}, + {"2405:3140:3a::/48", "59068"}, + {"2804:49cc::/32", "52663"}, + {"2804:51b4:6a00::/35", "268471"}, + {"2806:2f0:23::/41", "17072"}, + {"2a03:2887:ff3f::/41", "63293"}, + {"2001:ac0:c880::/44", "12541"}, + {"2001:1900::/45", "3356"}, + {"2404:6c00::/32", "24324"}, + {"2406:5f40::/48", "135905"}, + {"2602:804:9000::/44", "11661"}, + {"2620:130:7004::/47", "27518"}, + {"2001:579:1c34::/40", "22773"}, + {"240a:aa8d::/32", "145351"}, + {"2600:803:270::/48", "12234"}, + {"2605:3380:4403::/45", "12025"}, + {"2800:bf0:800d::/46", "27947"}, + {"2803:c200::/47", "22411"}, + {"2804:3bcc:8000::/35", "266171"}, + {"2806:2f0:6163::/40", "17072"}, + {"2a00:86c0:1022::/41", "2906"}, + {"2a0f:607:130f::/48", "138181"}, + {"2402:9d80:3ff::/37", "131429"}, + {"2a01:7f8::/29", "15925"}, + {"2a04:e4c0:14::/44", "36692"}, + {"2001:56b:a00c::/33", "852"}, + {"2001:579:5104::/40", "22773"}, + {"2001:678:964::/48", "49697"}, + {"2405:9800:c91b::/45", "45430"}, + {"2600:1405:e001::/35", "20940"}, + {"2607:fce0::/32", "7151"}, + {"2a01:240:ab01::/48", "49030"}, + {"240e:438:2440::/38", "4134"}, + {"2001:678:7bc::/48", "197600"}, + {"2409:8958:ce54::/39", "56040"}, + {"2806:2f0:5263::/40", "17072"}, + {"2a01:5c40:7::/32", "12687"}, + {"2a02:5d80::/29", "48294"}, + {"2a11:1ec0::/29", "25145"}, + {"2001:8000::/20", "1221"}, + {"2803:f080::/33", "64120"}, + {"2001:388:7001::/32", "7575"}, + {"2001:7f8:5b::/48", "62047"}, + {"2001:978:6407::/48", "212711"}, + {"2404:0:1100::/36", "17709"}, + {"240e:678::/36", "140329"}, + {"2803:9840:a000::/33", "263765"}, + {"2a02:26f7:b945::/46", "20940"}, + {"2001:559:c01b::/48", "33659"}, + {"2408:8956:28c0::/38", "17816"}, + {"240a:a03a::/32", "142708"}, + {"2600:100d:9f10::/40", "22394"}, + {"2804:3b4c::/32", "266140"}, + {"2a00:8a01:10::/44", "18666"}, + {"2a01:6a00::/29", "13122"}, + {"2001:df5:3800::/48", "56285"}, + {"2408:8001:3180::/36", "17816"}, + {"2408:8456:40::/39", "17816"}, + {"2804:104c:e800::/40", "263629"}, + {"2804:6474::/33", "269429"}, + {"2a02:26f0:d201::/39", "20940"}, + {"2001:559:22::/48", "7922"}, + {"2408:8456:cb00::/42", "17622"}, + {"240a:ae56::/32", "146320"}, + {"2605:8680::/48", "25780"}, + {"2806:2f0:2023::/43", "22884"}, + {"2001:1b70:88ae::/48", "158"}, + {"2408:8256:99a::/38", "17622"}, + {"2408:8456:7400::/42", "17622"}, + {"2605:bec0::/32", "32313"}, + {"2a01:8d80::/48", "35157"}, + {"2001:559:814c::/48", "7922"}, + {"2402:2080::/32", "131144"}, + {"2406:2600:2::/44", "55569"}, + {"2408:8956:6400::/40", "17622"}, + {"2409:8c30:50::/39", "9808"}, + {"240e:981:1100::/33", "4134"}, + {"2801:15:b000::/48", "266700"}, + {"2a0a:1301::/29", "207028"}, + {"2001:913::/36", "60197"}, + {"2405:1c0:6a61::/46", "55303"}, + {"2600:370f:362a::/41", "32261"}, + {"2600:5c00:2542::/35", "20001"}, + {"2603:ff60::/24", "397165"}, + {"2804:54a0::/35", "27688"}, + {"2a01:2c0::/34", "8282"}, + {"2a04:4e40:4800::/48", "54113"}, + {"2804:59f0::/32", "268735"}, + {"2a02:f00::/48", "48137"}, + {"2001:df3:3200::/48", "135724"}, + {"2402:800:92b7::/41", "7552"}, + {"2402:ee40:50::/48", "134033"}, + {"240a:addb::/32", "146197"}, + {"2600:6c38:716::/47", "20115"}, + {"2605:a404:53c::/41", "33363"}, + {"2804:3220:1001::/48", "265058"}, + {"2804:52b8::/32", "268537"}, + {"2001:678:640::/48", "204302"}, + {"2408:84e2::/39", "17621"}, + {"2804:5ea4::/32", "269047"}, + {"2a02:2368:ffff::/48", "50270"}, + {"2a02:26f7:c105::/46", "20940"}, + {"2a02:26f7:f710::/48", "36183"}, + {"2001:559:c03a::/48", "13367"}, + {"2001:67c:2884::/48", "35003"}, + {"2401:d800:94f2::/39", "7552"}, + {"2406:2fc0::/32", "138997"}, + {"240a:a24b::/32", "143237"}, + {"240e:5a:4180::/38", "140292"}, + {"2600:1406:b401::/36", "20940"}, + {"2605:a404:70b::/42", "33363"}, + {"2607:f510::/32", "21719"}, + {"2a01:4d40:1::/48", "43994"}, + {"2804:14c:477::/44", "28573"}, + {"2a00:51c0::/32", "51758"}, + {"2a06:ffc0::/29", "203376"}, + {"2404:bf40:c100::/48", "7545"}, + {"2804:728::/33", "53201"}, + {"2a01:b740:a03::/48", "714"}, + {"2a0f:99c0::/32", "205240"}, + {"2604:5880::/48", "10980"}, + {"2620:126:4000::/44", "68"}, + {"2001:480:422::/39", "668"}, + {"240a:a9fc::/32", "145206"}, + {"240a:adda::/32", "146196"}, + {"2804:2974::/32", "264016"}, + {"2001:4078::/29", "16086"}, + {"2600:1407:b000::/48", "35994"}, + {"2a02:ee80:4224::/46", "3573"}, + {"2001:4350:2000::/48", "31245"}, + {"2804:4ec:1100::/38", "28668"}, + {"2a02:e5e::/32", "25057"}, + {"2a0b:86c0::/30", "202120"}, + {"2401:b180:4100::/48", "45102"}, + {"240a:a5ca::/32", "144132"}, + {"2600:6c38:b3f::/41", "20115"}, + {"2605:cc40::/32", "46713"}, + {"2402:800:73f0::/37", "7552"}, + {"2600:380:3200::/33", "20057"}, + {"2804:7018::/32", "270705"}, + {"2a02:d40:8::/32", "44592"}, + {"2a04:1a40::/48", "50362"}, + {"2a06:63c0::/29", "41937"}, + {"2a06:e881:7000::/44", "208226"}, + {"2402:4000:b1c1::/38", "18001"}, + {"240a:a9e8::/32", "145186"}, + {"2806:370:8300::/42", "28403"}, + {"2a02:239c::/48", "9166"}, + {"2a02:26f7:e0cc::/48", "36183"}, + {"2a09:a4c7:e000::/35", "208861"}, + {"2a10:4646:c0::/44", "210816"}, + {"2001:1700::/27", "6730"}, + {"2605:a401:80ba::/47", "33363"}, + {"2804:7220::/32", "270834"}, + {"2a00:1640::/32", "12389"}, + {"2a02:2b30::/32", "21390"}, + {"2402:9d80:266::/47", "131429"}, + {"2a0f:5707:ab21::/48", "49367"}, + {"2402:8100:2012::/41", "45271"}, + {"2001:df1:7f00::/48", "136726"}, + {"2404:bf40:e702::/48", "7545"}, + {"240a:a8d1::/32", "144907"}, + {"2800:160:2046::/47", "14259"}, + {"2803:7210::/32", "271915"}, + {"2a0b:440::/36", "39921"}, + {"2001:16d8:ef00::/35", "16150"}, + {"240a:aee0::/32", "146458"}, + {"2a04:5540::/29", "42557"}, + {"2001:559:c05c::/48", "7015"}, + {"2001:da8:800e::/43", "24364"}, + {"2401:d800:24f0::/39", "7552"}, + {"2620:5f:4000::/48", "17378"}, + {"2804:732c::/32", "270900"}, + {"2a00:f10:300::/32", "48635"}, + {"2001:559:5aa::/48", "33490"}, + {"2a0a:7600::/29", "207096"}, + {"2a0d:9dc0::/29", "40970"}, + {"2a11:6200::/29", "204790"}, + {"2001:868::/29", "12731"}, + {"2001:4478:2300::/33", "4802"}, + {"2400:5b60::/32", "131916"}, + {"2600:1400:8001::/35", "20940"}, + {"2c0f:5400::/48", "205897"}, + {"2001:559:8529::/48", "33651"}, + {"2001:559:86f7::/48", "7016"}, + {"2605:a404:b2::/44", "33363"}, + {"2a06:ef00::/29", "213222"}, + {"2a0f:17c0::/29", "60262"}, + {"240e:108:11d5::/48", "134769"}, + {"2001:18c8:600::/40", "8015"}, + {"2401:4900:52f0::/39", "45609"}, + {"2406:d7c0::/32", "38839"}, + {"240e:3b4:f700::/36", "4134"}, + {"2800:160:1d0e::/43", "14259"}, + {"2806:265:4300::/37", "28481"}, + {"2001:559:82d5::/48", "33650"}, + {"2001:7f8:3a::/48", "41692"}, + {"2001:4288::/39", "6713"}, + {"2606:2800:4aa8::/46", "15133"}, + {"2804:e04::/32", "52535"}, + {"2804:82a8::/32", "272532"}, + {"240e:67a:800::/37", "140329"}, + {"2600:1f70:c000::/40", "16509"}, + {"2a01:c50f:c380::/41", "12479"}, + {"2a0e:b107:381::/48", "211358"}, + {"2a11:6e01::/32", "57695"}, + {"2001:559:19a::/48", "33652"}, + {"2604:e780::/32", "15154"}, + {"2a0e:2c40::/43", "50581"}, + {"2001:57a::/39", "22773"}, + {"2400:1000::/32", "10021"}, + {"2401:2900:8000::/45", "23679"}, + {"2600:6c38:c0b::/45", "20115"}, + {"2604:a680:5::/48", "55079"}, + {"2804:6d9c::/32", "270544"}, + {"2a01:7d60::/32", "50181"}, + {"2a02:26f7:ecc8::/48", "36183"}, + {"2a02:7320::/32", "31222"}, + {"2001:559:c353::/48", "7016"}, + {"2402:800:f630::/41", "7552"}, + {"2607:fe28:5027::/43", "53347"}, + {"2a02:26f7:ecc1::/46", "20940"}, + {"2804:1b04:10::/46", "53048"}, + {"2804:5348::/32", "268574"}, + {"2a01:488:bb19::/48", "20773"}, + {"240e:37c:1a00::/34", "140330"}, + {"2001:250:343a::/47", "138438"}, + {"2001:550:2901::/38", "174"}, + {"2001:b28:4::/48", "31500"}, + {"2401:d800:d870::/40", "7552"}, + {"2403:8680::/47", "134630"}, + {"2600:1402:c801::/35", "20940"}, + {"2a02:2698:28::/46", "12768"}, + {"2a0e:8780::/29", "37289"}, + {"2409:807e:900::/35", "9808"}, + {"2409:8c28:802::/39", "56041"}, + {"2001:4878:b225::/48", "12222"}, + {"2400:cb00:331::/48", "13335"}, + {"2402:3a80:1c00::/42", "38266"}, + {"2408:80ea:6480::/42", "17622"}, + {"2604:ca00:1c8::/43", "36492"}, + {"2a07:8500::/32", "1104"}, + {"2c0f:f138::/32", "37577"}, + {"2c0f:fb08::/32", "16637"}, + {"2409:8908::/30", "9808"}, + {"2606:a600:4003::/36", "23005"}, + {"2804:78b4::/32", "271260"}, + {"2a0d:7a40:5::/48", "60254"}, + {"2a0f:1e00:def9::/48", "30633"}, + {"2401:d800:fe80::/42", "7552"}, + {"2408:8a22:9a00::/34", "139007"}, + {"2409:8904:8d90::/38", "24547"}, + {"2600:1900:4140::/40", "396982"}, + {"2600:9000:2386::/48", "16509"}, + {"2803:87a0::/32", "13489"}, + {"2a05:43c0::/30", "210139"}, + {"2001:4878:41e0::/44", "35994"}, + {"2401:a840::/38", "136917"}, + {"240e:37c::/35", "140329"}, + {"240e:698:2300::/40", "58519"}, + {"2606:9600::/32", "17018"}, + {"2a0a:2e80::/32", "210695"}, + {"2a11:5100::/29", "50304"}, + {"2404:8ec0::/32", "135780"}, + {"2600:6c38:42::/43", "20115"}, + {"2605:a404:7fb::/36", "33363"}, + {"2605:dcc0::/35", "398570"}, + {"2801:80:12e0::/48", "28650"}, + {"2804:1e20:19::/48", "264409"}, + {"2a03:3060::/29", "48635"}, + {"2001:df2:b600::/48", "132645"}, + {"2001:df6:2d80::/48", "141778"}, + {"2405:84c0:faaa::/48", "138990"}, + {"2406:7400::/46", "24309"}, + {"2600:9000:1160::/44", "16509"}, + {"2607:f740:e07b::/45", "398748"}, + {"2620:10f:a000::/47", "54496"}, + {"2a02:8880::/25", "5089"}, + {"2607:b580::/44", "19754"}, + {"2607:f740:45::/48", "63911"}, + {"2a02:7500::/32", "9155"}, + {"2a0e:97c0:366::/48", "211484"}, + {"2001:1248:56ff::/39", "11172"}, + {"2404:bf40:a341::/37", "139084"}, + {"2404:bf40:c3c4::/37", "139084"}, + {"240a:a3f3::/32", "143661"}, + {"240a:a891::/32", "144843"}, + {"2803:f340:1060::/40", "14754"}, + {"2804:4918::/32", "267164"}, + {"2a0d:b280::/29", "41720"}, + {"2408:8256:1466::/39", "17622"}, + {"2604:3400:dc3::/48", "209453"}, + {"2804:7c7c:200::/36", "271499"}, + {"2a01:c9c0:af::/48", "8891"}, + {"2a04:7180::/32", "28717"}, + {"2404:bf40:a441::/48", "7545"}, + {"2409:8053:2100::/37", "9808"}, + {"2409:8904:5fb0::/34", "24547"}, + {"240e:104:5000::/34", "4134"}, + {"2610:130:100::/40", "2698"}, + {"2620:171:1d::/48", "715"}, + {"2803:f00:64b::/48", "262182"}, + {"2804:104c:e000::/40", "263629"}, + {"2001:df0:2b40::/48", "149179"}, + {"2604:d600:15f4::/44", "32098"}, + {"2001:fd0:301::/37", "10029"}, + {"2001:12e0:200::/40", "10429"}, + {"2404:f4c0:f9c0::/48", "142281"}, + {"2405:8a00:2111::/40", "55824"}, + {"240a:a25c::/32", "143254"}, + {"2605:a401:8241::/40", "33363"}, + {"2803:9c60:a000::/33", "46198"}, + {"2804:39b0::/32", "266044"}, + {"2804:40cc::/32", "265982"}, + {"2001:250:340b::/45", "138393"}, + {"2001:678:5a8::/48", "8387"}, + {"240e:678:1a00::/34", "140330"}, + {"2a00:c2e0::/39", "30919"}, + {"2a06:e3c0::/29", "62159"}, + {"2a11:5702:b00b::/48", "212149"}, + {"2402:e000:2::/47", "24499"}, + {"240e:db:b801::/33", "4134"}, + {"2a12:fe00::/29", "206170"}, + {"2001:df1:9580::/48", "138433"}, + {"2405:400::/32", "24439"}, + {"2405:6e00:f830::/48", "133612"}, + {"2b10:3c84::/30", "53820"}, + {"240e:90d:f800::/30", "4134"}, + {"2803:f60::/32", "269832"}, + {"2804:6198::/32", "269244"}, + {"2001:4f8:12::/32", "1280"}, + {"2407:d340:f020::/44", "142586"}, + {"2409:8020:1011::/42", "56046"}, + {"2408:865c::/31", "4837"}, + {"2804:505c::/32", "268384"}, + {"2a04:c480::/29", "34241"}, + {"2400:fc00:8d20::/41", "45773"}, + {"2405:ba00:8efe::/48", "23885"}, + {"2a11:6f40::/29", "1239"}, + {"2001:df0:43::/48", "38629"}, + {"240a:a7c1::/32", "144635"}, + {"240a:ac5a::/32", "145812"}, + {"2804:352c::/32", "262662"}, + {"2a00:a7e0::/48", "200741"}, + {"2a04:4e40:1a00::/48", "54113"}, + {"2600:140f:c01::/39", "20940"}, + {"2604:cac0:118::/48", "11019"}, + {"2803:4120:50::/48", "64108"}, + {"2804:14c:4c8::/42", "28573"}, + {"2a0e:cd00::/37", "23031"}, + {"2001:470:f9::/39", "6939"}, + {"2001:559:30e::/48", "33650"}, + {"2001:559:8365::/48", "33660"}, + {"240e:b2:f000::/29", "4134"}, + {"2605:a880:8000::/48", "46261"}, + {"2a02:e300::/48", "60280"}, + {"2a0f:3980::/29", "202543"}, + {"2a10:4e80::/29", "203012"}, + {"2001:559:7c1::/48", "7016"}, + {"2001:559:c025::/46", "7922"}, + {"2001:da8:7013::/48", "138371"}, + {"2405:1c0:6271::/46", "55303"}, + {"2602::/24", "209"}, + {"2605:1980:401::/48", "13767"}, + {"2606:1980::/46", "54994"}, + {"2804:3e4c::/32", "266586"}, + {"2804:7784::/32", "271183"}, + {"2806:2f0:4401::/46", "17072"}, + {"2a0e:6b40::/48", "207580"}, + {"2403:5f40:ca05::/48", "16509"}, + {"2600:1405:5001::/37", "20940"}, + {"2600:9000:2334::/44", "16509"}, + {"2804:3d74:102::/48", "266532"}, + {"2a02:582:4c00::/35", "6799"}, + {"2a02:890::/32", "5631"}, + {"2a02:2430:80::/32", "39869"}, + {"2001:df5:b700::/48", "131418"}, + {"2804:6480::/32", "269431"}, + {"2a02:26f7:bf90::/48", "36183"}, + {"2001:559:5bd::/48", "22909"}, + {"2001:559:8635::/48", "33651"}, + {"2001:579:a11d::/41", "22773"}, + {"2001:fe8:8110::/47", "24435"}, + {"2001:1a68::/47", "15694"}, + {"2408:8459:6030::/41", "17622"}, + {"2409:807e:2c00::/35", "9808"}, + {"2804:629c::/32", "269307"}, + {"2001:559:74::/48", "33659"}, + {"2600:6c20:6d::/43", "20115"}, + {"2a0d:3c45::/32", "51659"}, + {"2001:559:8464::/48", "7015"}, + {"2001:678:d24::/48", "15830"}, + {"2001:16b8:1900::/37", "8881"}, + {"2406:38c0::/32", "140449"}, + {"240e:3b4:ec00::/35", "140314"}, + {"2a02:26f7:de45::/46", "20940"}, + {"2001:559:c215::/48", "7922"}, + {"2620:13f:700f::/48", "59116"}, + {"2804:28e4:e02a::/36", "28260"}, + {"2a0c:af00:f5a1::/48", "205321"}, + {"240a:ac32::/32", "145772"}, + {"2600:9000:238e::/48", "16509"}, + {"2a09:140::/29", "26636"}, + {"2001:44b8:204a::/45", "7545"}, + {"2405:206::/31", "55836"}, + {"2409:8710:2400::/30", "9808"}, + {"2600:1006:a020::/40", "22394"}, + {"2607:cf00::/30", "32522"}, + {"2001:67c:2248::/48", "31382"}, + {"2600:100a:b030::/44", "22394"}, + {"2607:4e00::/32", "10674"}, + {"2001:559:1e9::/48", "33662"}, + {"2001:559:588::/48", "33657"}, + {"2001:df1:3b00::/48", "134750"}, + {"2603:f340::/29", "397165"}, + {"2607:4b00::/32", "4307"}, + {"2803:4840::/32", "263757"}, + {"2804:221c::/32", "264592"}, + {"2402:800:3d7f::/40", "7552"}, + {"2404:e000::/32", "17673"}, + {"240a:a5d4::/32", "144142"}, + {"2600:1901:c0d0::/39", "15169"}, + {"2606:cb00:17::/48", "6643"}, + {"2804:8228::/32", "272502"}, + {"2408:8456:bc10::/42", "134543"}, + {"2620:149:a1a::/48", "6185"}, + {"2800:160:1ff5::/46", "14259"}, + {"2804:ad0::/32", "262773"}, + {"2804:b0c:f005::/36", "52935"}, + {"2804:2fe8::/32", "264920"}, + {"2806:264:4501::/48", "13999"}, + {"2a02:26f7:e6cc::/48", "36183"}, + {"2a0e:1d00::/32", "21263"}, + {"2001:250:806::/47", "23910"}, + {"2001:1248:9707::/44", "11172"}, + {"2800:485:fe00::/48", "14080"}, + {"2804:3b6c:c010::/45", "266148"}, + {"2001:67c:21d0::/48", "35096"}, + {"240a:ac5f::/32", "145817"}, + {"2607:fcd0:105:6c00::/46", "8100"}, + {"2001:18b8:116::/44", "29789"}, + {"2408:84f3:f890::/37", "17816"}, + {"2409:8e0c::/30", "56042"}, + {"2600:1407:9001::/37", "20940"}, + {"2600:1415:2401::/36", "20940"}, + {"2600:6c38:ac::/43", "20115"}, + {"2620:74:78::/48", "30060"}, + {"2a00:b920::/32", "60422"}, + {"2001:559:28a::/48", "7922"}, + {"2001:67c:83c::/48", "24840"}, + {"2a0b:8f80:200::/48", "200746"}, + {"2c0f:f738:3801::/46", "61317"}, + {"2001:559:3a9::/48", "7922"}, + {"2001:c20:c856::/48", "9255"}, + {"2402:800:f660::/40", "7552"}, + {"2405:8a00:c013::/42", "55824"}, + {"240a:aa45::/32", "145279"}, + {"2602:fbde:253::/48", "26057"}, + {"2620:118:c080::/42", "237"}, + {"2400:9380:8020::/47", "4134"}, + {"2401:ea00::/44", "55501"}, + {"2604:1740::/32", "37353"}, + {"2a03:6947:e00::/39", "61266"}, + {"2001:250:781d::/48", "23910"}, + {"2001:559:45e::/48", "7922"}, + {"2400:adc0:100::/48", "9541"}, + {"2600:140a:e001::/31", "20940"}, + {"2604:b900:6000::/36", "40900"}, + {"2803:6810::/32", "271829"}, + {"2a00:7320::/29", "49191"}, + {"2a02:26f7:ef44::/48", "36183"}, + {"2001:559:8599::/48", "7725"}, + {"2001:67c:1328::/48", "199268"}, + {"2409:8914:c00::/38", "56044"}, + {"2602:fc5d:573::/48", "399866"}, + {"2607:fad8:1101::/32", "22652"}, + {"2607:fe28:2030::/40", "53347"}, + {"2610:1c8:1c::/32", "23393"}, + {"2804:524c::/32", "268509"}, + {"2001:1248:98d0::/45", "11172"}, + {"2402:e580:10::/32", "40138"}, + {"2600:141a:8001::/31", "20940"}, + {"2804:1bc:115::/32", "10310"}, + {"2804:1a90::/32", "61868"}, + {"2804:259c:ab00::/35", "52772"}, + {"2a04:9a00:1114::/48", "198730"}, + {"2a0b:fac0::/29", "51920"}, + {"2001:250:240e::/48", "23910"}, + {"2001:dc8:3000::/48", "23962"}, + {"2407:62c0::/32", "38854"}, + {"2804:47ac::/32", "267070"}, + {"2001:559:80f7::/48", "33651"}, + {"2402:2400::/33", "9226"}, + {"2804:354::/44", "262874"}, + {"2a00:1728:2d::/48", "43548"}, + {"2a01:6ea0::/32", "199880"}, + {"2a02:26f7:c401::/46", "20940"}, + {"2a0e:eec5::/32", "62240"}, + {"2a0f:afc0::/29", "50782"}, + {"2001:678:264::/48", "16509"}, + {"2406:3003:1030::/41", "55430"}, + {"240a:a690::/32", "144330"}, + {"240e:3ba:c800::/37", "4134"}, + {"2c0f:ec98::/32", "328278"}, + {"2001:4de0:1006::/48", "50525"}, + {"2607:f870:2::/32", "11992"}, + {"2a07:bbc0::/48", "207085"}, + {"2c0f:f7b8::/32", "327824"}, + {"2404:ae00:ff27::/48", "45474"}, + {"2603:f430::/25", "397165"}, + {"2804:6e10::/32", "270573"}, + {"2a10:fb80::/29", "211969"}, + {"2401:d800:930::/41", "7552"}, + {"2409:8904:9290::/39", "24547"}, + {"240a:a4e4::/32", "143902"}, + {"240a:ad52::/32", "146060"}, + {"2804:63dc::/32", "269388"}, + {"2408:8456:7e40::/39", "17816"}, + {"2a00:fbe0::/32", "62113"}, + {"2a02:26f0:4e01::/35", "20940"}, + {"2001:610:120::/48", "1104"}, + {"2001:67c:153c::/48", "3301"}, + {"2409:8087:3001::/44", "9808"}, + {"2409:8d14:2100::/38", "56044"}, + {"2a02:26f7:c149::/46", "20940"}, + {"2001:678:ca0::/48", "58299"}, + {"2403:300:a0d::/48", "714"}, + {"2408:8957:3e00::/40", "17622"}, + {"240a:ade7::/32", "146209"}, + {"2800:5b0::/32", "27975"}, + {"2a04:9bc0::/29", "62186"}, + {"2a06:6541:3081::/48", "3549"}, + {"2a11:9080::/29", "204790"}, + {"2400:adcc:1000::/39", "9541"}, + {"2408:840d:d000::/42", "17621"}, + {"2607:4a80::/32", "3778"}, + {"2804:14c:bb91::/42", "28573"}, + {"240a:a6c5::/32", "144383"}, + {"2800:160:23e9::/37", "14259"}, + {"2a00:c020:1000::/34", "200414"}, + {"2001:44c8:4000::/41", "131445"}, + {"2800:160:1e82::/43", "14259"}, + {"2a00:96c0::/32", "198538"}, + {"2402:3a80:172b::/45", "38266"}, + {"2402:4000:b193::/42", "18001"}, + {"2804:eec:2000::/33", "28226"}, + {"2a00:9220::/32", "49867"}, + {"2001:df4:4980::/48", "140463"}, + {"2408:8256:3b60::/44", "17623"}, + {"2606:a400::/32", "11922"}, + {"2a00:1288:7c::/48", "43428"}, + {"2001:559:8278::/48", "33651"}, + {"2001:1b60::/29", "31103"}, + {"2409:8c70:3ad9::/32", "9808"}, + {"240a:a658::/32", "144274"}, + {"2606:2800:4006::/44", "15133"}, + {"2804:32a8::/32", "265091"}, + {"2001:1998:700::/36", "7843"}, + {"2400:aa00:4300::/32", "9873"}, + {"2401:4900:3da0::/44", "45609"}, + {"2401:5840:400::/32", "132113"}, + {"2408:8956:1000::/40", "17622"}, + {"2409:8020:3028::/43", "56046"}, + {"2409:8061:900::/35", "9808"}, + {"240e:85:8800::/30", "4134"}, + {"2a0d:f540::/29", "56786"}, + {"2400:a980:28ff::/48", "133111"}, + {"2409:4054:3000::/31", "55836"}, + {"240a:a561::/32", "144027"}, + {"2804:7c00::/32", "271469"}, + {"2a02:4020::/48", "60094"}, + {"2a03:6b00:b::/32", "48832"}, + {"240a:a723::/32", "144477"}, + {"2804:14c:9900::/40", "28573"}, + {"2a05:1280::/29", "200647"}, + {"2a0d:5380::/29", "204818"}, + {"2001:250:3423::/45", "138393"}, + {"2001:370::/44", "9607"}, + {"2001:579:6220::/43", "22773"}, + {"2001:4898::/32", "3598"}, + {"2409:8002:2c00::/31", "9808"}, + {"2604:2800:fff2::/44", "26793"}, + {"2a03:f080:1001::/37", "42685"}, + {"2a11:ee00::/29", "204790"}, + {"2c0f:f7a8:9220::/48", "4809"}, + {"2409:805c:3061::/43", "9808"}, + {"240a:a2b0::/32", "143338"}, + {"2602:fc23:120::/44", "60438"}, + {"2803:ecc0:3d00::/32", "264814"}, + {"2804:6854::/32", "269685"}, + {"2001:678:494::/48", "42135"}, + {"2406:9dc0:1010::/48", "141747"}, + {"2409:803c:900::/37", "9808"}, + {"2804:57c:c00::/32", "262517"}, + {"2804:532c:8900::/33", "268568"}, + {"2a02:888:8048::/47", "48695"}, + {"2a02:f68::/29", "15542"}, + {"2001:559:84cd::/48", "33650"}, + {"2001:b030:ae00::/31", "3462"}, + {"2602:803:5000::/48", "30330"}, + {"2a02:26f0:6101::/40", "20940"}, + {"2a07:9e40::/29", "1902"}, + {"2001:da8:3000::/45", "24358"}, + {"2402:800:399b::/41", "7552"}, + {"2806:2f0:9563::/40", "17072"}, + {"2001:559:54e::/48", "7922"}, + {"2001:559:5d1::/48", "33287"}, + {"2401:4900:52b0::/44", "45609"}, + {"240e:44d:6780::/41", "4134"}, + {"2803:fe10::/32", "271982"}, + {"2a10:b340::/29", "211629"}, + {"2804:71b0:ff00::/40", "270805"}, + {"2409:8730:8000::/33", "9808"}, + {"2804:6570::/33", "269490"}, + {"2a00:1760::/30", "42772"}, + {"2a02:6680:11f0::/44", "16116"}, + {"2a02:26f7:d44c::/48", "36183"}, + {"2a09:bac0:19::/48", "13335"}, + {"2a0f:9400:8004::/48", "208393"}, + {"2409:8914:b800::/39", "56044"}, + {"2a02:4e0:2100::/41", "16135"}, + {"2a02:a00:e::/47", "15987"}, + {"2a06:5680::/29", "210947"}, + {"2a09:bac0:184::/47", "13335"}, + {"2a0e:2580::/29", "197915"}, + {"2a0e:b107:1520::/48", "38173"}, + {"2001:559:786::/48", "33491"}, + {"2001:67c:2e38::/48", "31424"}, + {"2402:800:519b::/41", "7552"}, + {"2600:1406:46::/48", "20940"}, + {"2620:103:e049::/48", "16711"}, + {"2a00:cb20:1200::/34", "60266"}, + {"2a02:26f7:ce41::/46", "20940"}, + {"2a0a:7540:4::/29", "206066"}, + {"2001:468:1500::/40", "81"}, + {"2804:0:6c01::/32", "2716"}, + {"2a00:dd0:aaab::/35", "47869"}, + {"2a02:26f7:bbc6::/47", "20940"}, + {"2a03:f80:354::/48", "50613"}, + {"2001:250:2c06::/44", "138381"}, + {"2001:559:87b5::/48", "33650"}, + {"2400:9380:9205::/46", "4809"}, + {"2402:800:b620::/41", "7552"}, + {"2600:1419:1001::/38", "20940"}, + {"2001:678:984::/48", "207910"}, + {"240e:97c:5000::/32", "4134"}, + {"2610:20:8420::/47", "3477"}, + {"2610:a1:3040::/48", "12008"}, + {"2804:5108::/32", "268426"}, + {"2001:67c:12bc::/48", "199249"}, + {"2001:848::/32", "2595"}, + {"2001:4c28:1::/48", "39832"}, + {"2804:4870:1b1::/46", "267121"}, + {"2001:67c:13b8::/48", "196957"}, + {"2001:1248:845d::/42", "11172"}, + {"2804:470::/32", "53108"}, + {"2c0f:f700::/32", "327726"}, + {"2408:84eb::/29", "4837"}, + {"2610:20:8000::/43", "6629"}, + {"2a00:1630::/33", "49544"}, + {"2a07:2800::/29", "21473"}, + {"2400:c700:188::/38", "55644"}, + {"2401:d800:2770::/40", "7552"}, + {"2408:8456:cb40::/40", "17816"}, + {"240a:a3ec::/32", "143654"}, + {"2602:fdaa::/48", "27385"}, + {"2803:420::/32", "28120"}, + {"2a10:4ec0::/29", "57353"}, + {"2404:3d00:40c0::/46", "3573"}, + {"2a01:4020:3::/45", "25369"}, + {"2a02:26f7:b881::/46", "20940"}, + {"2a0d:2586::/47", "213115"}, + {"2001:1248:9cfe::/47", "11172"}, + {"240a:a659::/32", "144275"}, + {"2800:2a0:ffff::/48", "27947"}, + {"2803:6700::/47", "263210"}, + {"2804:3a28:4000::/34", "266074"}, + {"2804:8588::/32", "268186"}, + {"2a03:f003:400::/34", "25472"}, + {"2408:8456:800::/42", "17622"}, + {"240e:44d:7b80::/41", "4134"}, + {"2606:7980::/32", "54182"}, + {"2804:5978::/32", "268704"}, + {"2a09:eac0::/32", "205718"}, + {"2001:550:2100:300::/44", "174"}, + {"2001:6d0:6d08::/48", "205022"}, + {"2800:680:11::/48", "263719"}, + {"2803:4d60::/32", "269768"}, + {"2804:24e0::/32", "264246"}, + {"2804:67ac::/45", "269643"}, + {"2001:559:725::/48", "7015"}, + {"2403:5700::/47", "2497"}, + {"240a:afd9::/32", "146707"}, + {"2600:6c20:29::/43", "20115"}, + {"2804:5dc::/41", "53019"}, + {"2a00:cb00::/32", "25144"}, + {"2c0f:e8b0::/32", "327712"}, + {"2c0f:f7e8::/47", "62217"}, + {"2001:678:94::/48", "42"}, + {"240a:a92c::/32", "144998"}, + {"2804:7a94:2100::/32", "271380"}, + {"2804:7fb4:7f00::/32", "271704"}, + {"2001:df3:5b80::/48", "140389"}, + {"2602:ff64::/36", "3900"}, + {"2a02:26f7:bf04::/48", "36183"}, + {"2404:bf40:a5c2::/38", "139084"}, + {"240e:109:8021::/48", "4811"}, + {"2610:f0:21f::/39", "22925"}, + {"2a02:6c8:8000::/33", "202425"}, + {"2a03:53e0::/32", "49223"}, + {"240a:a1b3::/32", "143085"}, + {"2600:100b:9110::/34", "6167"}, + {"2607:fca8:b100::/33", "17139"}, + {"2a09:6bc0::/29", "51920"}, + {"2001:44b8:4066::/48", "7545"}, + {"2402:9e80:9::/48", "135103"}, + {"240e:965:8c00::/35", "4134"}, + {"2a01:7820::/32", "9063"}, + {"2a0c:ac80::/29", "201863"}, + {"2a0d:4d00:82::/47", "44794"}, + {"2001:559:8560::/48", "7922"}, + {"2804:2a74::/32", "52948"}, + {"2a0e:8f02:2140::/48", "211414"}, + {"2602:ff79::/32", "30257"}, + {"2602:ffd9:400::/40", "62874"}, + {"2804:390::/36", "52956"}, + {"2806:1080::/39", "8151"}, + {"2c0f:ed08::/32", "327764"}, + {"2001:559:c1eb::/48", "33650"}, + {"2001:4bb0::/32", "41497"}, + {"2400:8240::/32", "38719"}, + {"2408:882c::/32", "4837"}, + {"2409:8d15:1a00::/34", "56044"}, + {"2804:14d:a600::/40", "28573"}, + {"2a01:5a8:8::/48", "211526"}, + {"2a02:26f7:cf48::/48", "36183"}, + {"2001:559:7c5::/46", "7922"}, + {"2408:8957:7400::/40", "17622"}, + {"2409:8715:9800::/30", "56044"}, + {"2804:19c8:1007::/44", "61818"}, + {"2804:82e8::/32", "272164"}, + {"2a00:10e8::/46", "44574"}, + {"2a02:a68::/32", "39574"}, + {"2a02:26f7:e9cd::/42", "20940"}, + {"2a07:e740::/32", "43299"}, + {"2405:4803:d4c4::/36", "18403"}, + {"2408:8459:e050::/38", "17816"}, + {"2804:3ed0:1240::/32", "266622"}, + {"2804:7a48::/32", "271362"}, + {"2a06:4800::/32", "209283"}, + {"2001:559:40a::/48", "21508"}, + {"2001:559:56a::/47", "7015"}, + {"2001:df1:4600::/48", "4826"}, + {"2a04:4b00::/29", "12843"}, + {"2001:4830:2070::/48", "25623"}, + {"2602:fe76::/36", "399032"}, + {"2606:6c00:201::/48", "32787"}, + {"2001:7c0:2310::/44", "34878"}, + {"2408:8256:398e::/43", "17623"}, + {"2607:4000:400::/40", "73"}, + {"2a02:26f7:79::/48", "20940"}, + {"2001:b70::/32", "25061"}, + {"240a:af64::/32", "146590"}, + {"2804:234::/32", "262731"}, + {"2a00:1b30::/32", "25478"}, + {"2404:2440:d0d0::/48", "138521"}, + {"2409:8030:3100::/36", "9808"}, + {"240e:3bf:2800::/38", "4134"}, + {"2c0f:ed18::/32", "328200"}, + {"2c0f:f5c0:481::/46", "29465"}, + {"2001:fb0:109e::/48", "55476"}, + {"2404:bf40:8602::/41", "139084"}, + {"2405:9800:c642::/40", "45430"}, + {"240a:a002::/32", "142652"}, + {"240a:a449::/32", "143747"}, + {"2804:e0c:40::/48", "28176"}, + {"2001:559:55c::/48", "20214"}, + {"2001:559:828c::/47", "33660"}, + {"2001:7f8:94::/48", "51225"}, + {"2606:8e80:5001::/37", "32133"}, + {"2804:e0c:300::/48", "28176"}, + {"2a09:b280:ffbb::/45", "210025"}, + {"2a11:5e80::/29", "204790"}, + {"2400:cb00:190::/44", "13335"}, + {"2404:9dc0:cd01::/48", "138699"}, + {"2409:8020:3072::/47", "56046"}, + {"240a:ac79::/32", "145843"}, + {"2001:559:8223::/48", "33287"}, + {"2404:8d02:1053::/34", "9587"}, + {"2409:8d7d::/30", "9808"}, + {"240a:a85a::/32", "144788"}, + {"2600:1009:f110::/30", "22394"}, + {"2602:804:1006::/44", "14536"}, + {"2a09:d2c1:9::/48", "207530"}, + {"2001:67c:6c0::/48", "34984"}, + {"2001:df7:1180::/48", "138277"}, + {"240a:af2e::/32", "146536"}, + {"2610:100::/32", "8047"}, + {"2804:286c::/32", "262799"}, + {"2804:4760::/32", "267050"}, + {"2804:4a8c::/39", "267248"}, + {"2a02:26f7:f0c0::/48", "36183"}, + {"2001:480:501::/48", "37"}, + {"2001:559:84ec::/48", "33287"}, + {"2001:1248:442c::/43", "11172"}, + {"2404:e801:100f::/43", "55430"}, + {"2803:7d80:5011::/42", "11664"}, + {"2a0e:8f02:f034::/48", "211153"}, + {"240a:af50::/32", "146570"}, + {"240a:aff1::/32", "146731"}, + {"2a02:e80::/32", "39823"}, + {"2001:559:26b::/48", "7015"}, + {"2408:8347:1200::/28", "4837"}, + {"2a02:26f7:be51::/42", "20940"}, + {"2001:550:9001::/45", "174"}, + {"2001:559:82ee::/48", "7015"}, + {"2408:8956:f840::/40", "17622"}, + {"240e:108:1191::/45", "63835"}, + {"240e:97e:8000::/33", "4134"}, + {"2600:6c20:888::/43", "20115"}, + {"2a02:26f7:d195::/42", "20940"}, + {"2a09:4fc0::/48", "209562"}, + {"2001:19d0:306::/37", "2044"}, + {"2400:a980:1900::/37", "133111"}, + {"2602:ffce:31::/36", "63019"}, + {"2606:3380:ffff::/48", "53334"}, + {"2a00:db0::/32", "9092"}, + {"2a09:be40:1140::/45", "208755"}, + {"2001:520:5031::/48", "8103"}, + {"2402:800:3bc5::/43", "7552"}, + {"2408:8957:1dc0::/38", "17622"}, + {"2600:350f:3000::/32", "396998"}, + {"2a00:1778::/32", "42252"}, + {"2a04:16c0:200::/48", "24971"}, + {"2001:67c:278::/48", "51278"}, + {"2402:800:b860::/40", "7552"}, + {"2a0e:b107:5c0::/48", "213366"}, + {"2001:559:c504::/48", "7922"}, + {"2408:8459:4830::/41", "17622"}, + {"2409:8c85:aa05::/44", "9808"}, + {"2600:370f:3661::/45", "32261"}, + {"2605:3380:4156::/42", "12025"}, + {"2620:171:4::/48", "42"}, + {"2806:2a0:1000::/40", "28548"}, + {"2600:100e:b070::/36", "6167"}, + {"2600:6c10:142::/45", "20115"}, + {"2604:d7c0::/32", "11114"}, + {"2804:621c::/32", "269276"}, + {"2a0c:2040::/29", "47447"}, + {"2a10:a40::/32", "207271"}, + {"2001:67c:5bc::/48", "197915"}, + {"2400:fc00:70::/36", "45773"}, + {"2804:25b0::/32", "264295"}, + {"2804:43a0::/34", "267580"}, + {"2a01:b980::/32", "57228"}, + {"2a02:26f7:f444::/48", "36183"}, + {"2001:1520::/46", "8972"}, + {"2600:9000:a600::/43", "16509"}, + {"2804:1eb0::/32", "264444"}, + {"2804:29b0::/36", "61577"}, + {"2a02:26f7:e708::/48", "36183"}, + {"2001:4d0:2419::/48", "297"}, + {"2804:2974:b000::/33", "264016"}, + {"2804:43cc::/32", "267590"}, + {"2001:559:c112::/48", "33657"}, + {"2001:da8:e818::/46", "138373"}, + {"2600:9000:a210::/47", "16509"}, + {"2800:160:1c76::/40", "14259"}, + {"2800:bf0:8169::/40", "27947"}, + {"2a03:3b00:1::/46", "202053"}, + {"2a0e:b107:d91::/48", "213244"}, + {"2001:df3:8b80::/48", "139726"}, + {"2408:84f3:a040::/38", "17816"}, + {"2409:802f:2904::/48", "56041"}, + {"2604:3a00::/32", "33069"}, + {"2a01:4a0:c::/46", "201011"}, + {"2a03:7380:5c00::/42", "13188"}, + {"2a0c:e600::/29", "197036"}, + {"2a11:2b07:f000::/47", "210892"}, + {"2001:df4:e780::/48", "141206"}, + {"2400:1700:201::/44", "4628"}, + {"2406:4440:10::/48", "142641"}, + {"2804:40a0:acc2::/47", "265971"}, + {"2001:67c:1a4::/48", "15879"}, + {"2001:67c:2844::/48", "51458"}, + {"2406:840:eddd::/48", "38173"}, + {"2a02:26f7:ce04::/48", "36183"}, + {"2a0b:9400:1000::/48", "209505"}, + {"2a12:7d40::/32", "210035"}, + {"2001:129c:6000::/32", "22356"}, + {"2804:6834::/32", "269676"}, + {"2a03:1d20::/32", "201704"}, + {"2403:f440::/32", "134869"}, + {"2620:122:8001::/48", "393490"}, + {"2620:171:9f::/48", "42"}, + {"2001:480:b1::/39", "668"}, + {"2001:678:b50::/48", "62009"}, + {"2804:3d00::/32", "266247"}, + {"2a02:188:5402::/34", "31027"}, + {"2a02:26f7:dc05::/46", "20940"}, + {"2a04:cec0:1400::/29", "5410"}, + {"2a10:6080::/29", "33770"}, + {"2001:550:d09::/45", "174"}, + {"2406:9dc0:30::/44", "213262"}, + {"2001:559:c239::/48", "33650"}, + {"2409:8924:8900::/38", "56046"}, + {"2806:20d:5913::/40", "32098"}, + {"2401:d800:7010::/42", "7552"}, + {"240e:378:ac00::/33", "4134"}, + {"2600:140a:6001::/32", "20940"}, + {"2604:f980:2d00::/40", "19957"}, + {"2607:f330:a001::/46", "15130"}, + {"2001:559:86ed::/48", "22909"}, + {"2408:8459:1950::/38", "17816"}, + {"2600:1008:9010::/40", "22394"}, + {"2607:f368:2c00::/40", "46846"}, + {"2a04:5c85:f000::/47", "200584"}, + {"2a0e:97c0:a10::/47", "206895"}, + {"2401:d800:2fa0::/41", "7552"}, + {"2408:8957:e600::/40", "17622"}, + {"2806:2f0:30c1::/46", "17072"}, + {"2a00:fa00::/32", "12926"}, + {"2600:1001:b0d0::/44", "6167"}, + {"2800:830::/31", "19114"}, + {"2a0e:fd45:d90::/44", "44103"}, + {"2a11:7e00::/32", "43624"}, + {"2401:d800:77e0::/36", "7552"}, + {"2408:8256:3d9f::/28", "17816"}, + {"240a:a5c4::/32", "144126"}, + {"2804:4ab8::/32", "7155"}, + {"2a0b:640:4::/30", "35236"}, + {"2001:df0:220::/48", "55684"}, + {"2001:1b75:2000::/36", "28852"}, + {"2001:4878:2356::/48", "12222"}, + {"2404:f801:8021::/44", "3598"}, + {"2607:ffc8::/62", "17356"}, + {"2a03:f80:30::/48", "8280"}, + {"2a0d:4300::/47", "204920"}, + {"2a0d:6640::/29", "40970"}, + {"2a10:7f40::/29", "202505"}, + {"2001:678:2a0::/48", "35292"}, + {"2604:6940:100::/36", "11006"}, + {"2620:101:e000::/47", "46646"}, + {"2a02:ff0:2800::/40", "12735"}, + {"2a02:50c0:a000::/29", "29355"}, + {"2a0b:2f40::/32", "52176"}, + {"2a0c:79c0:2::/48", "12779"}, + {"2a0e:8900::/29", "44205"}, + {"2806:2f0:9821::/46", "17072"}, + {"2001:678:758::/48", "202144"}, + {"2001:1a11:10a::/48", "8781"}, + {"2408:8256:2f6c::/48", "17623"}, + {"2408:8957:f2c0::/37", "17816"}, + {"2409:8b71::/29", "9808"}, + {"2606:2800:4a1c::/46", "15133"}, + {"2804:2924::/32", "264000"}, + {"2806:230:402a::/48", "265594"}, + {"2a05:dfc7:30::/48", "36351"}, + {"2001:250:7032::/48", "24370"}, + {"2001:559:848d::/48", "7016"}, + {"2400:cb00:a130::/45", "13335"}, + {"240a:ae29::/32", "146275"}, + {"2606:7400::/32", "19310"}, + {"2803:9800:b039::/40", "11664"}, + {"2804:4b0:388::/43", "262459"}, + {"2001:67c:2b58::/48", "41980"}, + {"240a:a6ac::/32", "144358"}, + {"2604:4500:903::/40", "29802"}, + {"2605:bb00:8000::/35", "32940"}, + {"2800:160:17ab::/43", "14259"}, + {"2a02:26f7:f001::/46", "20940"}, + {"2a0e:b107:198::/48", "207740"}, + {"2001:67c:2030::/48", "33817"}, + {"2402:800:9871::/40", "7552"}, + {"240a:a48f::/32", "143817"}, + {"2602:fc38::/48", "6315"}, + {"2602:ff70::/36", "394367"}, + {"2604:e140::/32", "30174"}, + {"2804:2210::/32", "264589"}, + {"2a01:8ee0::/32", "50295"}, + {"2a04:4e41:53::/44", "54113"}, + {"2406:7ac0::/32", "141078"}, + {"240e:10:a800::/31", "4134"}, + {"2600:6c3a:401::/46", "20115"}, + {"2607:b600:12::/47", "10397"}, + {"2804:53b0:4::/33", "268600"}, + {"2a0e:e980::/29", "60781"}, + {"2001:da8:300e::/48", "24358"}, + {"2402:800:f8c2::/42", "7552"}, + {"2406:8540::/45", "141202"}, + {"2604:880:200::/45", "29802"}, + {"2606:2800:6a68::/48", "15133"}, + {"2607:f6f0:6002::/40", "27566"}, + {"2804:2728:8202::/33", "263880"}, + {"2804:3eec::/32", "266629"}, + {"2a00:801:4b::/48", "41819"}, + {"2a00:6901:1002::/47", "20926"}, + {"2001:559:809f::/48", "7922"}, + {"2408:8a26:c000::/35", "4837"}, + {"240a:ab9f::/32", "145625"}, + {"240e:3b9:d000::/36", "134772"}, + {"2803:2540:13::/40", "264668"}, + {"2a00:ed0::/32", "8426"}, + {"2c0f:fc60::/32", "30988"}, + {"2a06:a004:7000::/36", "61138"}, + {"2001:559:c43a::/48", "22909"}, + {"240a:a2f9::/32", "143411"}, + {"2806:2f0:9861::/46", "17072"}, + {"2a00:c340::/32", "57951"}, + {"2001:559:c34c::/48", "33287"}, + {"240a:a5f8::/32", "144178"}, + {"2a03:be80:d::/43", "15510"}, + {"2a05:6200:74::/48", "60068"}, + {"2c0f:fcb0:4000::/35", "36916"}, + {"2400:9700:111::/42", "24550"}, + {"2400:cb00:388::/48", "13335"}, + {"2804:6cc:8a00::/33", "262607"}, + {"2a02:26f7:d6c8::/48", "36183"}, + {"2a09:2340::/29", "43260"}, + {"2a02:26f7:c14d::/46", "20940"}, + {"2a11:8140::/29", "211199"}, + {"2400:cb00:a840::/48", "13335"}, + {"2401:4900:1a50::/44", "45609"}, + {"2406:2400:f1f0::/48", "45287"}, + {"240a:a99e::/32", "145112"}, + {"2801:80:25f0::/48", "268716"}, + {"2804:4010::/32", "265931"}, + {"2804:47a4::/32", "267067"}, + {"2804:68bc::/32", "269712"}, + {"2a02:2e02:d30::/41", "12479"}, + {"2001:13c7:7005::/44", "30133"}, + {"2400:3840:8000::/35", "23860"}, + {"2804:2508::/32", "264254"}, + {"2a10:5c0::/29", "201299"}, + {"2001:df5:8000::/48", "58885"}, + {"2406:1600::/38", "23871"}, + {"240e:1d:4000::/36", "136190"}, + {"2600:380:6880::/41", "7018"}, + {"2804:b4::/32", "28294"}, + {"2a02:ee80:4171::/45", "3573"}, + {"2a0a:d80::/29", "206795"}, + {"2a0e:aa07:e02b::/48", "210384"}, + {"2401:4900:1b80::/43", "45609"}, + {"2408:8456:a240::/37", "17816"}, + {"240e:3b4:9c00::/34", "140310"}, + {"2602:fe19:4005::/43", "26073"}, + {"2001:559:c3c9::/48", "7015"}, + {"2804:7d80::/32", "271565"}, + {"2a02:26f7:dbc8::/48", "36183"}, + {"2a05:9c00::/29", "47626"}, + {"2401:4900:4990::/42", "45609"}, + {"240e:900:100::/30", "4134"}, + {"2606:1400::/32", "10732"}, + {"2a03:1e82:90ff::/48", "2856"}, + {"2a0c:e640:6001::/46", "17830"}, + {"2600:2c01:3000::/33", "16858"}, + {"2a02:26f7:c891::/46", "20940"}, + {"2001:678:4b0::/48", "197942"}, + {"2001:df6:ff80::/48", "141818"}, + {"2408:8956:b500::/40", "17816"}, + {"2804:2bf0::/32", "262740"}, + {"2806:2f0:2041::/48", "22884"}, + {"2620:110:5000::/44", "6623"}, + {"2800:160:196f::/40", "14259"}, + {"2a03:1380::/32", "12423"}, + {"240e:9b:f00f::/43", "140250"}, + {"2620:1ec:90c::/48", "8068"}, + {"2803:9800:9995::/46", "11664"}, + {"2001:b08:13::/48", "51352"}, + {"2404:7a40:2000::/46", "132556"}, + {"2600:1419:3001::/38", "20940"}, + {"2606:2800:6037::/48", "14153"}, + {"2409:8907:7220::/39", "24547"}, + {"2a05:8900:28::/48", "199159"}, + {"2001:1248:99ff::/38", "11172"}, + {"240a:a934::/32", "145006"}, + {"2620:74:1b::/48", "397226"}, + {"2803:9800:a039::/40", "11664"}, + {"2804:14d:baa8::/41", "28573"}, + {"240a:a417::/32", "143697"}, + {"2804:6b78::/32", "270402"}, + {"2a01:1d8::/29", "8508"}, + {"2001:490:4008::/48", "1248"}, + {"2001:67c:245c::/48", "49762"}, + {"240a:abdc::/32", "145686"}, + {"240a:af72::/32", "146604"}, + {"2607:7e80:e000::/36", "27611"}, + {"2806:2f0:2221::/46", "17072"}, + {"2a11:1140::/29", "34907"}, + {"2001:400:a000:d::/64", "32982"}, + {"240e:438:a20::/43", "140647"}, + {"2a06:aa40:cadb::/48", "51931"}, + {"2a0c:b641:459::/48", "208771"}, + {"2a0d:187::/32", "16246"}, + {"2001:2e0::/32", "9293"}, + {"2001:918:ffb8::/41", "3303"}, + {"2404:9e80::/32", "64095"}, + {"2404:ca00::/32", "24295"}, + {"2600:6c34:251::/48", "33588"}, + {"2a00:4b00:12e::/43", "41935"}, + {"2a10:7a40:a::/48", "39910"}, + {"2602:fed2:7f00::/47", "203027"}, + {"2606:ae80:10::/48", "209242"}, + {"2804:188c::/32", "61939"}, + {"2a01:8f8::/32", "21334"}, + {"2a02:26f7:ecc9::/46", "20940"}, + {"2a03:9c40:200::/48", "34655"}, + {"2402:6800:0:3014::/64", "7473"}, + {"2800:160:1f7e::/40", "14259"}, + {"2804:6bc::/32", "53078"}, + {"2804:4ce0::/32", "267398"}, + {"2401:d800:7960::/40", "7552"}, + {"2804:2ffc::/32", "264924"}, + {"2600:6c38:f::/43", "20115"}, + {"2804:6c70::/32", "270468"}, + {"2a00:4802:3800::/44", "13124"}, + {"2a02:2b20::/32", "29422"}, + {"2a05:f700::/46", "50457"}, + {"2a0a:1540::/29", "43532"}, + {"2001:250:2012::/42", "24355"}, + {"2001:4d30::/32", "5555"}, + {"2404:6d00::/32", "45294"}, + {"240a:aca1::/32", "145883"}, + {"2602:ffb7:5a0::/46", "62874"}, + {"2001:250:6c1f::/48", "23910"}, + {"2001:559:c427::/48", "20214"}, + {"2804:4a24:6::/48", "267221"}, + {"2a02:26f7:da81::/46", "20940"}, + {"2001:67c:2908::/48", "209718"}, + {"2605:b200::/32", "26097"}, + {"2803:97a0::/32", "267778"}, + {"2a11:6c80::/29", "210785"}, + {"2001:559:c1a0::/48", "33651"}, + {"2602:80a:1000::/46", "11378"}, + {"2804:465c::/32", "266985"}, + {"2804:688c::/32", "269700"}, + {"2806:2f0:71a1::/46", "17072"}, + {"2a01:8840:c5::/48", "207266"}, + {"2a02:2530::/32", "43088"}, + {"2001:4878:c225::/48", "12222"}, + {"2402:800:3d0f::/43", "7552"}, + {"240e:980:4300::/40", "63835"}, + {"2600:6c38:a9b::/45", "20115"}, + {"2604:d600:1649::/46", "32098"}, + {"2804:6dd8::/32", "270559"}, + {"2a00:7a20::/32", "39194"}, + {"2402:800:bf60::/40", "7552"}, + {"2404:bf40:a4c0::/48", "7545"}, + {"2409:807c:3100::/36", "9808"}, + {"2800:160:17c2::/47", "14259"}, + {"2804:54c8::/32", "61595"}, + {"2a00:db8::/32", "3058"}, + {"2001:468:ef01::/48", "396955"}, + {"2001:da8:7fff::/48", "24363"}, + {"2001:16a0::/48", "39386"}, + {"2400:4d40:e001::/35", "134204"}, + {"240a:aa24::/32", "145246"}, + {"2602:fba1::/39", "60438"}, + {"2804:18:6800::/44", "26599"}, + {"2804:c48:ff09::/40", "52687"}, + {"2a02:ac80:31::/41", "25145"}, + {"2405:3340:e011::/48", "142437"}, + {"2600:1f14::/35", "16509"}, + {"2605:1680::/32", "18596"}, + {"2801:80:1e11::/48", "14026"}, + {"2806:2f0:310::/46", "22884"}, + {"240e:108:4e::/48", "136195"}, + {"240e:44d:1a00::/42", "140345"}, + {"2600:6c38:d1d::/46", "20115"}, + {"2804:14c:7573::/45", "28573"}, + {"2804:2474::/32", "264223"}, + {"2a00:6400::/32", "197558"}, + {"2a02:26f7:ef4d::/46", "20940"}, + {"2a04:41c0::/29", "199952"}, + {"240e:108:49::/48", "23724"}, + {"2600:1402:b::/45", "20940"}, + {"2001:1388:80b0::/38", "6147"}, + {"2604:d600:66a::/45", "32098"}, + {"2a02:ac80:401::/39", "25145"}, + {"2409:8054:8::/48", "9808"}, + {"240a:a98a::/32", "145092"}, + {"240a:ac15::/32", "145743"}, + {"2600:1408:6c00::/48", "35994"}, + {"2602:fd4a::/36", "53610"}, + {"2804:1708::/32", "263117"}, + {"2804:49f4::/32", "6453"}, + {"2a02:28:e::/29", "8359"}, + {"2a02:26f7:c9cc::/48", "36183"}, + {"2404:ae00:ffff::/48", "45474"}, + {"2406:b640:4100::/48", "139138"}, + {"240e:108:90::/48", "134420"}, + {"2803:29e0::/32", "270013"}, + {"2001:253:101::/48", "142067"}, + {"2001:678:9::/48", "199670"}, + {"2402:4440:a811::/33", "24423"}, + {"240e:983:1806::/48", "140330"}, + {"2806:3bf::/48", "270120"}, + {"240a:ac81::/32", "145851"}, + {"240a:af98::/32", "146642"}, + {"2606:6100::/32", "33262"}, + {"2804:2f40:f00f::/36", "264880"}, + {"2a02:26f7:c5c0::/48", "36183"}, + {"2620:10a:80f1::/48", "27299"}, + {"2803:3440:9004::/40", "64112"}, + {"2804:41e4::/32", "267463"}, + {"2a00:d58::/32", "12466"}, + {"2c0f:ec70::/32", "328341"}, + {"2001:67c:348::/48", "47426"}, + {"2400:4a00::/32", "9341"}, + {"2409:894a:8000::/34", "24445"}, + {"240a:a7d8::/32", "144658"}, + {"2804:2ad8::/32", "265122"}, + {"2402:800:342b::/41", "7552"}, + {"2403:4e00:303::/44", "45528"}, + {"2404:e9c0::/46", "134405"}, + {"2610:b0:40de::/42", "3573"}, + {"2a02:6c20:811::/44", "207167"}, + {"2a0f:100::/30", "7018"}, + {"2a07:b180::/29", "50963"}, + {"2001:388:607d::/40", "7575"}, + {"2001:19f8:212::/32", "4927"}, + {"240e:3be:2200::/37", "136198"}, + {"2620:108:a000::/44", "393601"}, + {"2a0b:1302::/33", "133142"}, + {"2400:9800:11::/46", "24203"}, + {"240e:d9:ad01::/38", "38283"}, + {"2400:e000::/32", "18070"}, + {"240a:a040::/32", "142714"}, + {"2605:1880::/32", "19257"}, + {"2804:6c0:400::/43", "262418"}, + {"2a02:b58::/32", "9125"}, + {"2a02:26f7:f209::/42", "20940"}, + {"240a:afc8::/32", "146690"}, + {"2803:2600::/32", "28114"}, + {"2a02:26f7:f6d4::/48", "36183"}, + {"2a11:2c0::/29", "210627"}, + {"2403:4f00:6000::/36", "63956"}, + {"2600:1406:a::/48", "35994"}, + {"240e:1a:10::/44", "137702"}, + {"240e:397:f00::/35", "140490"}, + {"2a02:6721::/32", "44631"}, + {"2001:708::/43", "1741"}, + {"2406:daa0:4060::/44", "16509"}, + {"240e:397::/38", "140483"}, + {"2605:7c80::/32", "393417"}, + {"2620:df:8000::/48", "30679"}, + {"2a02:26f7:dfc1::/46", "20940"}, + {"2001:559:c539::/48", "33668"}, + {"2401:d800:5b80::/42", "7552"}, + {"240a:a21e::/32", "143192"}, + {"2404:2200:18::/42", "18200"}, + {"2408:8956:2e00::/40", "17622"}, + {"2606:600::/32", "6639"}, + {"2804:54b0::/32", "268665"}, + {"240e:67b:8400::/38", "140329"}, + {"2605:8340::/32", "14315"}, + {"2c0f:eed8::/32", "328317"}, + {"2001:67c:23c8::/48", "49793"}, + {"2804:514:8001::/33", "262490"}, + {"2a02:730:1::/48", "42964"}, + {"2a02:26f7:ee81::/46", "20940"}, + {"2a0a:2786::/31", "206774"}, + {"2001:438:2f::/48", "17025"}, + {"2001:67c:15cc::/48", "210404"}, + {"2001:67c:24bc::/48", "42652"}, + {"2606:2800:4a7c::/46", "15133"}, + {"2a03:4a0::/32", "201888"}, + {"2a04:3280::/29", "21176"}, + {"2a05:fc1::/32", "49791"}, + {"2406:f900::/43", "132829"}, + {"240a:ab8a::/32", "145604"}, + {"240a:acbc::/32", "145910"}, + {"240e:267:5000::/38", "140333"}, + {"2a02:26f7:bd91::/42", "20940"}, + {"2a03:1400::/32", "50272"}, + {"2a09:405::/30", "208861"}, + {"2001:559:102::/48", "33287"}, + {"2001:df7:e480::/48", "138574"}, + {"2401:c00::/32", "17480"}, + {"2001:420:c0f0::/44", "109"}, + {"2001:1930:e80::/41", "11985"}, + {"2402:800:7610::/42", "7552"}, + {"240a:a5a5::/32", "144095"}, + {"2607:9800:d001::/34", "15085"}, + {"2800:bf0:80e7::/48", "27947"}, + {"2a02:26f7:ac::/48", "36183"}, + {"2a0b:d1c0::/32", "9188"}, + {"2001:500:2::/48", "2149"}, + {"2001:13c7:7002::/48", "28001"}, + {"2402:8100:25de::/42", "55644"}, + {"240a:ab58::/32", "145554"}, + {"2602:feda:e000::/36", "396303"}, + {"2604:f980:5c00::/40", "19957"}, + {"2a02:250:2::/48", "51013"}, + {"2a0b:eb40::/29", "41000"}, + {"2a0c:8f40::/29", "199216"}, + {"2a05:3343::/42", "36351"}, + {"2a0a:d6c0::/48", "61423"}, + {"2c0f:ff00::/32", "14988"}, + {"2620:17b:4::/48", "174"}, + {"2a02:bf0:1003::/36", "25106"}, + {"2a05:70c0::/35", "203455"}, + {"2a0d:82c7:5::/48", "47787"}, + {"2001:559:81b0::/48", "22909"}, + {"2001:678:f04::/48", "211646"}, + {"240a:a854::/32", "144782"}, + {"240a:aac3::/32", "145405"}, + {"2620:121:3000::/40", "54666"}, + {"2a02:26f7:b74d::/42", "20940"}, + {"2a04:3f83:44::/48", "213054"}, + {"2001:559:427::/44", "33491"}, + {"2001:c38:5000::/48", "4651"}, + {"2001:1980:2300::/37", "29838"}, + {"2403:2800::/47", "38566"}, + {"2403:5500::/32", "17537"}, + {"2600:6c34:5c::/48", "33588"}, + {"2607:9880::/32", "812"}, + {"2620:0:9c0::/48", "7941"}, + {"2806:230:302b::/48", "11888"}, + {"2a02:26f7:f64c::/48", "36183"}, + {"2a09:8ac0::/32", "205718"}, + {"2402:3a80:28::/46", "38266"}, + {"2806:322::/37", "28546"}, + {"2a02:f8c0::/29", "60713"}, + {"2001:559:72c::/48", "33287"}, + {"2001:df2:e200::/48", "133661"}, + {"2409:8904:a240::/39", "24547"}, + {"2409:8002::/40", "38019"}, + {"240e:44d:900::/41", "140345"}, + {"2604:f400:4800::/37", "29930"}, + {"2800:bf0:16::/44", "27947"}, + {"2a04:d80::/32", "20895"}, + {"2001:1248:a4b8::/45", "11172"}, + {"2001:4c28:3000::/48", "39832"}, + {"2402:8100:26c2::/45", "55644"}, + {"2620:8d:8000::/48", "4385"}, + {"2a02:26f7:f009::/42", "20940"}, + {"2001:1248:99ef::/43", "11172"}, + {"2408:8459:7e10::/42", "17623"}, + {"240a:a5aa::/32", "144100"}, + {"240a:ad45::/32", "146047"}, + {"2a06:e881:5301::/45", "209859"}, + {"2a10:9300::/29", "200736"}, + {"2001:559:c17c::/47", "33490"}, + {"2001:67c:810::/48", "210941"}, + {"2401:d800:f9b0::/41", "7552"}, + {"2402:4f00:4000:5::/46", "58453"}, + {"240a:ab9d::/32", "145623"}, + {"2600:6c20::/47", "20115"}, + {"2804:6330::/32", "269344"}, + {"2806:20d:1640::/46", "32098"}, + {"2a02:26f7:fac8::/48", "36183"}, + {"2a04:8a40::/29", "62283"}, + {"2001:df0:18c0::/48", "138277"}, + {"2401:2a80:2::/47", "58793"}, + {"2403:8940:10::/38", "135817"}, + {"2409:8057:10::/37", "56040"}, + {"2800:bf0:802b::/45", "52257"}, + {"2803:2ee0::/34", "269983"}, + {"2804:1314::/32", "263514"}, + {"2001:559:c020::/47", "7922"}, + {"2605:aec0::/32", "35932"}, + {"2806:230:6001::/48", "11888"}, + {"2001:67c:2808::/48", "197678"}, + {"240e:6ba::/36", "140314"}, + {"2405:800::/46", "7545"}, + {"2407:8b80::/32", "63631"}, + {"2804:14d:4cd7::/42", "28573"}, + {"2804:292c::/32", "264008"}, + {"2806:230:401d::/48", "11888"}, + {"2a07:1e00::/32", "197686"}, + {"2400:c800:4004::/29", "4515"}, + {"240e:7b0:1000::/31", "4134"}, + {"2a02:5a60::/32", "12685"}, + {"2a0a:2582::/32", "206568"}, + {"2001:559:8325::/48", "33652"}, + {"2001:1b00::/32", "20597"}, + {"2400:5680::/32", "55720"}, + {"2401:2500::/32", "7684"}, + {"2407:af40::/32", "142453"}, + {"2a01:b747:42a::/40", "714"}, + {"2a03:2260::/34", "201701"}, + {"2a0c:9a40:1060::/48", "34927"}, + {"2001:559:cb::/48", "7015"}, + {"240a:ad41::/32", "146043"}, + {"2600:6c38:41a::/47", "20115"}, + {"2620:6:2004::/44", "395460"}, + {"2804:644::/32", "53225"}, + {"2806:230:4032::/48", "265594"}, + {"2001:1a11:72::/48", "42298"}, + {"2409:8915:9400::/39", "56044"}, + {"240e:16:b207::/44", "38283"}, + {"2604:f582::/32", "399462"}, + {"2804:40:a000::/36", "28657"}, + {"2a00:4802:3410::/38", "8717"}, + {"2a05:f780:1000::/36", "57667"}, + {"2a0d:3840:110::/47", "57629"}, + {"2400:adc0:c100::/46", "9541"}, + {"2600:370f:9020::/46", "32261"}, + {"2800:6b0::/32", "6306"}, + {"2c0f:1500:6000::/36", "328888"}, + {"240a:a1b2::/32", "143084"}, + {"2620:3f:c009::/48", "62645"}, + {"2a05:6200::/41", "201630"}, + {"2804:3e14::/32", "266572"}, + {"2a0a:2842:15::/48", "136796"}, + {"2804:2cd8::/32", "265247"}, + {"2804:4d68::/32", "268194"}, + {"2a00:8a00:4000::/36", "8983"}, + {"2a02:540:6::/32", "35432"}, + {"2a10:2480::/29", "204790"}, + {"2401:4900:4530::/46", "45609"}, + {"240a:a389::/32", "143555"}, + {"2803:a100::/32", "262213"}, + {"2a00:aee0::/29", "60503"}, + {"2605:6c80:6::/48", "397423"}, + {"2607:f3e0::/32", "11647"}, + {"2620:131:8008::/45", "4966"}, + {"2620:171:fc::/46", "42"}, + {"2806:2f0:1082::/48", "22884"}, + {"2409:8c85:2802::/33", "9808"}, + {"2620:4d:4003::/45", "62597"}, + {"2806:103e:13::/42", "8151"}, + {"2001:559:3a4::/48", "33287"}, + {"2402:800:627e::/40", "7552"}, + {"2804:7140::/32", "270777"}, + {"2a10:8140::/29", "207886"}, + {"2001:559:82dc::/48", "33659"}, + {"2001:df2:ce00::/48", "45899"}, + {"2001:b032:ae00::/33", "3462"}, + {"2608:120:c::/48", "5927"}, + {"2804:5ac4:2080::/32", "268795"}, + {"2a04:4e40:7c30::/41", "54113"}, + {"2a07:3500:10c0::/48", "208973"}, + {"2001:dce:5::/48", "133532"}, + {"240a:a55c::/32", "144022"}, + {"2600:6c33:4c1::/48", "11351"}, + {"2602:fcbc:2::/48", "16509"}, + {"2606:5000::/37", "209"}, + {"2800:484:6100::/37", "14080"}, + {"2a02:26f7:e981::/46", "20940"}, + {"2a07:aa00::/47", "3549"}, + {"2001:678:7ec::/48", "210397"}, + {"240a:a6fe::/32", "144440"}, + {"2606:82c0:e005::/48", "32167"}, + {"2806:1008:cfff:2::/34", "8151"}, + {"2a00:ae40::/32", "50923"}, + {"2a02:26f7:c880::/48", "36183"}, + {"2a02:26f7:f541::/46", "20940"}, + {"2a0a:c0::/46", "29099"}, + {"240e:438:4040::/38", "4134"}, + {"2a00:4802:1b00::/40", "8717"}, + {"2a04:2fc0::/32", "8496"}, + {"2407:5d00::/32", "55720"}, + {"240a:ae82::/32", "146364"}, + {"2602:806:a002::/45", "398565"}, + {"2604:1380:1000::/34", "54825"}, + {"2604:5240::/34", "54614"}, + {"2604:cd40::/32", "32899"}, + {"2804:49c:3110::/48", "15201"}, + {"2804:5d34:2000::/32", "52690"}, + {"2409:8043:2c01::/48", "24444"}, + {"240e:438:c20::/43", "140647"}, + {"2a00:59c0::/46", "49232"}, + {"2a02:6300:31::/32", "50128"}, + {"2a0e:f400::/29", "42897"}, + {"240a:a85c::/32", "144790"}, + {"2600:6c10:aa::/43", "20115"}, + {"2607:fdf0:5ed0::/44", "8008"}, + {"2a03:6f80::/31", "35676"}, + {"2a0e:6080::/48", "212745"}, + {"2001:480:11::/44", "668"}, + {"2401:d800:5172::/40", "7552"}, + {"2406:c500:ffd0::/48", "20473"}, + {"2606:2800:5a74::/47", "15133"}, + {"2607:fc48:418::/48", "40009"}, + {"2800:68:40::/48", "27947"}, + {"2804:c08::/32", "52664"}, + {"2001:44b8:6056::/44", "7545"}, + {"2800:88:41::/32", "26210"}, + {"2804:6054::/32", "269160"}, + {"2a09:7440::/32", "31027"}, + {"2401:d800:9470::/40", "7552"}, + {"2409:8914:c800::/31", "56044"}, + {"2409:8c54:1800::/44", "9808"}, + {"2804:4424::/32", "267605"}, + {"2001:559:83ef::/48", "33651"}, + {"2001:6e0::/32", "8935"}, + {"2001:16a2:f000::/36", "25019"}, + {"2a00:7180:8014::/46", "210675"}, + {"2a02:b18::/32", "35339"}, + {"2a02:26f7:ca09::/46", "20940"}, + {"2403:8600:e080::/43", "45820"}, + {"2607:fad8:c8::/35", "22652"}, + {"2804:39c:f000::/36", "28329"}, + {"2001:fb0:10a2::/48", "55451"}, + {"240e:924:1000::/34", "4134"}, + {"2a02:26f7:d505::/46", "20940"}, + {"2400:a980:e0::/46", "133111"}, + {"2804:b18:8100::/37", "52941"}, + {"2001:df2:4080::/47", "55318"}, + {"2600:9000:10f8::/39", "16509"}, + {"2605:3380:4455::/46", "12025"}, + {"2606:2e00::/48", "29854"}, + {"2a00:8643::/29", "203993"}, + {"2a09:be40:4251::/40", "213349"}, + {"2a0e:b107:c90::/45", "140938"}, + {"2402:800:5701::/44", "7552"}, + {"2408:8936::/32", "4837"}, + {"2408:8956:9a00::/40", "17622"}, + {"2604:980:d000::/34", "21859"}, + {"2804:16a8::/32", "52817"}, + {"2804:2050:5a8c::/43", "264485"}, + {"2804:6df0::/33", "270565"}, + {"2a02:2b38::/32", "12703"}, + {"2001:559:566::/48", "33651"}, + {"2409:8730:3000::/33", "9808"}, + {"2a02:220e:290::/31", "6697"}, + {"2a0d:b201:8050::/40", "206026"}, + {"2400:c700:1086::/39", "55644"}, + {"2401:4900:54bd::/48", "45609"}, + {"2402:9d80:804::/47", "131429"}, + {"2405:c900::/32", "4739"}, + {"2600:1014:f110::/36", "22394"}, + {"2620:10a:8053::/48", "394354"}, + {"2804:7898:4000::/47", "271253"}, + {"2a01:c50f:3340::/40", "12479"}, + {"2a02:2698:3400::/38", "56330"}, + {"2403:3bc0::/32", "55933"}, + {"240a:a456::/32", "143760"}, + {"2a02:970:1186::/43", "44002"}, + {"2a0d:3180:7::/48", "49121"}, + {"2001:559:82c0::/48", "7015"}, + {"2001:1248:5b45::/42", "11172"}, + {"2400:9380:9260::/47", "4809"}, + {"2605:7780::/32", "26744"}, + {"2607:feb8::/32", "15083"}, + {"2a03:9b60::/32", "57184"}, + {"2001:250:20b::/48", "24350"}, + {"2001:67c:2038::/48", "197444"}, + {"2001:460:84::/39", "3561"}, + {"2001:1388:248a::/36", "6147"}, + {"2401:4900:2180::/45", "45609"}, + {"240a:a2b8::/32", "143346"}, + {"2600:141c:3801::/33", "20940"}, + {"2607:f6f0:20c::/48", "32550"}, + {"2a02:6fa0::/32", "51935"}, + {"2a03:c280::/32", "198330"}, + {"2a0c:b641:5b0::/48", "213015"}, + {"2406:daa0:7040::/44", "16509"}, + {"240a:ad08::/32", "145986"}, + {"240e:879:8000::/40", "137689"}, + {"2804:5bb8:2c::/40", "268865"}, + {"2a02:26f0:9501::/40", "20940"}, + {"2a10:9c80::/29", "29405"}, + {"2001:67c:2880::/48", "198311"}, + {"2406:3000:d::/48", "140928"}, + {"240a:a01d::/32", "142679"}, + {"240a:ae21::/32", "146267"}, + {"2607:fdf0:5eac::/43", "8008"}, + {"2620:171:fb::/48", "715"}, + {"2800:160:1faf::/41", "14259"}, + {"2a01:5b0::/47", "8391"}, + {"2a04:2180::/32", "61272"}, + {"2a0a:9740::/32", "206011"}, + {"2402:800:98c5::/42", "7552"}, + {"2402:800:f050::/42", "7552"}, + {"2804:2b90::/32", "265160"}, + {"2804:8434:387::/44", "272246"}, + {"2001:418:1451::/45", "2914"}, + {"2001:4c8:10a0::/47", "15290"}, + {"2404:bf40:8580::/46", "45887"}, + {"240e:3bc:7800::/39", "4134"}, + {"2600:6c3a:69::/43", "20115"}, + {"2806:2f0:4441::/46", "17072"}, + {"2804:1900::/32", "61768"}, + {"2001:44b8:3091::/44", "4739"}, + {"2405:c0:babe::/48", "138881"}, + {"2408:8957:7500::/40", "17816"}, + {"2600:380:1200::/36", "20057"}, + {"2804:5d0::/32", "28241"}, + {"2804:5ce8:9100::/33", "268938"}, + {"2804:676c::/36", "269627"}, + {"2806:230:6032::/48", "265594"}, + {"2a00:9d20:31::/48", "60781"}, + {"2a01:c50f:a880::/37", "12479"}, + {"2a02:26f7:dec4::/48", "36183"}, + {"2a12:ef00::/29", "204790"}, + {"2001:559:848e::/48", "33650"}, + {"2620:10d:6000::/46", "26722"}, + {"2a02:748:4000::/34", "29802"}, + {"2a0b:6e80::/29", "30745"}, + {"2a0b:b580::/48", "43304"}, + {"2001:678:f80::/48", "52158"}, + {"2606:f900:6104::/35", "812"}, + {"2620:11b:e0c2::/42", "3356"}, + {"2804:113c::/32", "53181"}, + {"2806:2f0:72e3::/39", "17072"}, + {"2a06:1e00:5::/48", "60695"}, + {"2a0a:1087::/32", "393954"}, + {"2001:559:38d::/48", "33662"}, + {"2408:84f3:be10::/42", "134543"}, + {"2806:230:500e::/48", "265594"}, + {"2407:ea00::/32", "56059"}, + {"2804:7898::/36", "271253"}, + {"2806:2f0:3443::/42", "17072"}, + {"2a0c:9a40:80c0::/48", "210529"}, + {"2001:678:c88::/48", "206161"}, + {"2001:da8:22e::/47", "23910"}, + {"2602:fc23:114::/47", "44406"}, + {"2602:ff49::/36", "10753"}, + {"2001:559:115::/48", "33650"}, + {"2402:53c0::/36", "137144"}, + {"240e:3ba:d000::/36", "134772"}, + {"2804:b04::/32", "52934"}, + {"2001:c20:4860::/45", "3758"}, + {"240a:a03c::/32", "142710"}, + {"240e:45c:400::/40", "131285"}, + {"240e:620::/30", "140061"}, + {"2600:370f:73a5::/46", "32261"}, + {"2607:fee0:2100::/33", "3599"}, + {"2a0c:4b80:4000::/34", "204810"}, + {"2406:dc0:88ca::/47", "9221"}, + {"2607:f208:d200::/43", "26496"}, + {"2a00:dd80:14::/48", "36236"}, + {"2a07:c400::/29", "34407"}, + {"240a:a922::/32", "144988"}, + {"2600:140f:2a01::/39", "20940"}, + {"2606:2800:4a84::/46", "15133"}, + {"2a0b:21c0:3004::/31", "21859"}, + {"2001:7d0::/32", "3249"}, + {"240a:a97c::/32", "145078"}, + {"2600:380:da00::/39", "7018"}, + {"2a02:26f7:d3ca::/42", "20940"}, + {"2a0e:a680:1::/48", "61157"}, + {"2001:4f8::/44", "1280"}, + {"2401:d800:b330::/41", "7552"}, + {"240a:abea::/32", "145700"}, + {"2604:9980:2::/48", "17216"}, + {"2803:ab60::/32", "269805"}, + {"2804:1624::/35", "263270"}, + {"2a01:cd20::/32", "47377"}, + {"2001:1400:ffef::/48", "2119"}, + {"2408:8456:ee40::/40", "17816"}, + {"2408:8956:d2c0::/37", "17816"}, + {"2620:10a:80e3::/45", "55195"}, + {"2801:86::/32", "53164"}, + {"2806:230:6016::/48", "265594"}, + {"2a0d:4fc0::/29", "49191"}, + {"2a0a:aa40::/32", "205668"}, + {"2a11:9940::/32", "205160"}, + {"2001:480:1610::/48", "518"}, + {"2001:da8:205::/44", "24350"}, + {"2408:8246::/35", "140726"}, + {"2806:2f0:81a3::/41", "17072"}, + {"2a02:5bf::/32", "35575"}, + {"2a07:6881::/32", "204860"}, + {"2001:5f8:7f0c::/48", "5056"}, + {"240e:a7:7fe4::/46", "140520"}, + {"2602:fc31::/47", "400071"}, + {"2804:4494::/32", "267640"}, + {"2a02:2370:1000::/48", "213120"}, + {"2c0f:fe08:305::/37", "36914"}, + {"2604:3cc0::/44", "396298"}, + {"2803:bfc0::/48", "265787"}, + {"2a05:f1c0::/29", "60924"}, + {"2001:559:8242::/48", "33651"}, + {"240a:af0c::/32", "146502"}, + {"2804:397c::/32", "52592"}, + {"2a02:26f7:d64c::/48", "36183"}, + {"2001:559:d6::/48", "33287"}, + {"2001:559:5e3::/45", "7015"}, + {"2001:14f0::/29", "12355"}, + {"2406:840:fef3::/48", "142553"}, + {"240e:3b6:1200::/39", "4134"}, + {"2605:cf40::/32", "15242"}, + {"2806:2a0:1200::/39", "28548"}, + {"2a09:3501::/30", "208861"}, + {"2400:61a0::/32", "38047"}, + {"2408:8957:c800::/39", "17622"}, + {"240a:a9a5::/32", "145119"}, + {"2607:ff28::/46", "62904"}, + {"2620:11b:400e::/47", "47870"}, + {"2804:cd8::/32", "52559"}, + {"2a04:7444::/30", "21413"}, + {"2a0d:3ec0::/32", "49981"}, + {"2a11:6e40::/32", "35913"}, + {"2400:34a0::/32", "147269"}, + {"2600:140b:6800::/48", "24319"}, + {"2a03:7480::/44", "60781"}, + {"2a05:b700::/29", "201086"}, + {"2a0c:b641:61e::/48", "208505"}, + {"2001:468:701::/48", "3681"}, + {"2001:559:423::/48", "7922"}, + {"2001:67c:b0::/48", "50673"}, + {"2001:dc7:9d0f::/33", "24151"}, + {"240a:a045::/32", "142719"}, + {"2804:4d58:1001::/32", "268191"}, + {"2a02:2230:4200::/40", "25467"}, + {"2a09:4b44:1::/44", "61317"}, + {"2a0c:8980::/29", "59562"}, + {"2001:3c8:5505::/48", "137850"}, + {"2400:9800::/45", "24203"}, + {"2408:8000:9ffe::/48", "17621"}, + {"2605:f300:ffff::/48", "29873"}, + {"2803:c210::/32", "271899"}, + {"2804:374c:100::/40", "266402"}, + {"2a05:adc2::/32", "206083"}, + {"2001:df3:9880::/48", "136969"}, + {"2600:380:8900::/40", "7018"}, + {"2a02:2e02:be0::/37", "12479"}, + {"2404:f4c0:ff04::/46", "139247"}, + {"2405:9800:b012::/48", "45430"}, + {"2600:100d:a100::/43", "6167"}, + {"2804:df0::/47", "262775"}, + {"2a00:14e0::/32", "41412"}, + {"2001:559:c003::/48", "33491"}, + {"2001:4878:141::/48", "12222"}, + {"2804:22fc::/32", "52612"}, + {"2603:c002::/39", "31898"}, + {"2605:6000::/37", "11427"}, + {"2800:160:1a7e::/40", "14259"}, + {"2a06:e380:9000::/33", "203507"}, + {"2001:1248:8600::/39", "11172"}, + {"240a:ae01::/32", "146235"}, + {"2607:ff10::/32", "10439"}, + {"2804:6078::/32", "269169"}, + {"2a00:ff0::/48", "25409"}, + {"2404:e00:81::/48", "15695"}, + {"2a00:1d58:8002::/34", "47524"}, + {"2a0d:7ac5::/30", "210206"}, + {"2001:4b27:ffff::11/126", "34288"}, + {"2001:4d78:fe17::/48", "15830"}, + {"2409:8753:d00::/38", "56047"}, + {"240e:e1:c300::/35", "4812"}, + {"2801:141:b::/48", "271958"}, + {"2a11:1080::/29", "204790"}, + {"2001:bf7:1310::/42", "206813"}, + {"2a01:7d80:2500::/35", "8990"}, + {"2a02:26f7:df8c::/48", "36183"}, + {"2a0d:6840::/29", "210232"}, + {"2001:559:485::/46", "7922"}, + {"2001:fd8:2010::/39", "4775"}, + {"2001:1310:7211::/48", "11340"}, + {"240a:a249::/32", "143235"}, + {"2a11:71c0::/29", "1239"}, + {"2401:78c0::/47", "56150"}, + {"240a:adc3::/32", "146173"}, + {"240e:378:2600::/32", "4134"}, + {"2600:370f:7181::/42", "32261"}, + {"2607:f600::/32", "12"}, + {"2a02:26f7:b1::/48", "20940"}, + {"2a06:1e86:babe::/48", "210089"}, + {"2405:c9c0:2a::/40", "138823"}, + {"2409:8017:2902::/48", "56044"}, + {"240a:aa14::/32", "145230"}, + {"2605:1b40::/32", "40389"}, + {"2804:3bfc:300::/37", "52607"}, + {"2a00:1288::/41", "10310"}, + {"2a04:b480::/43", "60110"}, + {"2a10:2780::/29", "3356"}, + {"2400:1700:212::/40", "4628"}, + {"2402:ef3f:2::/48", "9430"}, + {"2a0c:3400::/29", "205268"}, + {"2001:4490:d280::/46", "9829"}, + {"240e:44d:6300::/42", "140345"}, + {"2803:ff20::/32", "262186"}, + {"2a0a:d6c0:2157::/48", "211454"}, + {"2409:8a7f::/24", "9808"}, + {"2605:a1c0:1001::/32", "11738"}, + {"2606:2800:6a34::/47", "15133"}, + {"2a02:26f7:d4cc::/48", "36183"}, + {"2a07:3146::/32", "47688"}, + {"2a0f:e400::/32", "61218"}, + {"2607:8480::/34", "22639"}, + {"2600:370f:7371::/40", "32261"}, + {"2605:3380:445b::/42", "12025"}, + {"2804:90:6500::/38", "28580"}, + {"2806:345::/32", "265596"}, + {"2001:67c:4e8::/48", "62041"}, + {"2001:df3:3d00::/48", "9304"}, + {"2610:1d8::/32", "5078"}, + {"2a02:6800::/32", "43205"}, + {"2a0f:9400:8021::/48", "212995"}, + {"2405:f3c0::/48", "41378"}, + {"2600:1000:9f10::/40", "22394"}, + {"2620:74:7b::/40", "7342"}, + {"2a02:26f7:87::/48", "20940"}, + {"2404:bf40:a2c0::/47", "7545"}, + {"2408:8456:7a40::/39", "17816"}, + {"2606:aac0::/32", "399831"}, + {"2001:559:4e8::/48", "7922"}, + {"2409:8057:303e::/47", "9808"}, + {"2607:f038:fffe:1::/48", "21527"}, + {"2400:dd03:1009::/46", "7497"}, + {"240a:a982::/32", "145084"}, + {"2801:16a::/44", "269937"}, + {"2804:1254::/32", "263470"}, + {"2804:722c::/32", "270837"}, + {"2a02:26f7:f6f0::/48", "36183"}, + {"2001:338::/32", "4675"}, + {"240a:a623::/32", "144221"}, + {"2a01:7d20:100::/47", "203645"}, + {"2a01:b747::/39", "714"}, + {"2407:c3c0::/32", "142454"}, + {"2408:8956:c200::/40", "17622"}, + {"2409:408a:1000::/29", "55836"}, + {"2604:55c0::/48", "4138"}, + {"2a02:2d8:1:7809::/64", "9002"}, + {"240e:3bf:1800::/34", "4134"}, + {"2600:1fa0:50c0::/44", "16509"}, + {"2a01:238:10b::/38", "6724"}, + {"2001:67c:660::/48", "8881"}, + {"2602:fcd5:8::/47", "397373"}, + {"2804:772c::/32", "271160"}, + {"2a02:26f7:ed85::/46", "20940"}, + {"2001:559:7d1::/48", "7016"}, + {"2001:67c:2088::/48", "20902"}, + {"2408:8956:9800::/40", "17622"}, + {"2800:280:4002::/32", "27781"}, + {"2620:74:82::/45", "7342"}, + {"2a07:ee00::/32", "206711"}, + {"2a12:2c80::/29", "204790"}, + {"2c0f:f7c0::/34", "30986"}, + {"2001:250:23c::/47", "23910"}, + {"2001:df3:8d80::/48", "139521"}, + {"2001:1938:4100::/40", "33438"}, + {"2406:b480:200::/46", "38146"}, + {"2806:2f0:9161::/45", "17072"}, + {"2409:8004:3021::/43", "24547"}, + {"240a:a453::/32", "143757"}, + {"2806:230:301f::/48", "11888"}, + {"2a06:8800::/29", "12517"}, + {"2001:559:80e2::/48", "33287"}, + {"2408:8459:2c50::/38", "17816"}, + {"2600:1000:9e10::/40", "22394"}, + {"2600:40fc:1004::/44", "701"}, + {"2602:ffe4:c49::/45", "21859"}, + {"2a00:d220::/32", "206894"}, + {"2408:840c:dd00::/34", "17621"}, + {"2800:5f0:2037::/44", "22724"}, + {"2001:da8:4030::/48", "23910"}, + {"2401:3cc0::/39", "137409"}, + {"2804:3d7c::/32", "266534"}, + {"2804:6c08::/32", "270441"}, + {"2a0d:ac00:dc01::/48", "205202"}, + {"2001:4870:a250::/33", "3549"}, + {"240a:afcb::/32", "146693"}, + {"2600:5800:1601::/48", "33363"}, + {"2803:e600::/46", "18809"}, + {"2804:7840::/32", "271230"}, + {"2a01:8760::/32", "199758"}, + {"2402:800:978d::/43", "7552"}, + {"240a:aa94::/32", "145358"}, + {"240a:ac0f::/32", "145737"}, + {"2801:1c8:230::/46", "27817"}, + {"2804:204:247::/44", "28186"}, + {"2804:72c8::/32", "270875"}, + {"2a00:1728:e::/43", "34224"}, + {"2a02:26f0:83::/48", "20940"}, + {"2a02:26f7:f891::/42", "20940"}, + {"2001:1530::/32", "2586"}, + {"240e:183:8224::/46", "140657"}, + {"2602:fed2:7118::/48", "53356"}, + {"2607:f750:8000::/44", "23473"}, + {"2800:160:1a3f::/41", "14259"}, + {"240a:afe4::/32", "146718"}, + {"2620:c3:c000::/44", "46416"}, + {"2a02:503:2::/45", "5538"}, + {"2a0b:33c0:107::/48", "57395"}, + {"2001:678:d1c::/48", "56948"}, + {"2806:2f0:9d23::/41", "17072"}, + {"2a04:4e40:6a30::/41", "54113"}, + {"2c0f:f000:900::/37", "36891"}, + {"2001:559:861a::/48", "33287"}, + {"240a:a09c::/32", "142806"}, + {"240a:ab60::/32", "145562"}, + {"2600:c07::/48", "29791"}, + {"2600:1900:41f0::/31", "15169"}, + {"2610:10::/32", "6366"}, + {"2a00:8a01:8000::/44", "10455"}, + {"2a06:c701:eeef::/29", "6810"}, + {"2001:559:808b::/45", "7922"}, + {"2402:800:b0d0::/42", "7552"}, + {"2600:1901:ffa0::/41", "396982"}, + {"2604:a00:15::/46", "19318"}, + {"2a03:3400::/32", "20559"}, + {"2001:67c:1910::/48", "3301"}, + {"2409:8087:100c::/42", "9808"}, + {"240e:45c:5600::/34", "131285"}, + {"2804:41d4:1000::/32", "267459"}, + {"2804:54ec::/32", "268678"}, + {"2806:2f0:8041::/46", "17072"}, + {"2a0b:2f80::/29", "62412"}, + {"2001:df6:4280::/48", "142006"}, + {"2001:ee0:9740::/36", "45899"}, + {"2404:2200::/43", "18200"}, + {"2409:8904:4e60::/39", "24547"}, + {"240e:108:89::/48", "4134"}, + {"2a0a:a440::/29", "36459"}, + {"2001:678:a5c::/48", "209075"}, + {"240a:ac40::/32", "145786"}, + {"2804:5394::/32", "268593"}, + {"2a01:5c20::/35", "61419"}, + {"2a02:26f7:f94d::/42", "20940"}, + {"2a0e:aa07:e024::/48", "210934"}, + {"2405:1c0:7181::/46", "55303"}, + {"2600:1010:d170::/40", "22394"}, + {"2a07:4540:a::/48", "203116"}, + {"2001:1248:9c83::/44", "11172"}, + {"2408:84e3::/29", "4837"}, + {"2600:6c39:d::/38", "20115"}, + {"2804:80c::/32", "262343"}, + {"2a02:26f7:c244::/48", "36183"}, + {"2804:5aec::/32", "268805"}, + {"2806:2f0:9da3::/41", "17072"}, + {"2a00:8220::/32", "24971"}, + {"2a06:3840::/29", "204182"}, + {"2402:ab00:f0::/32", "24206"}, + {"2408:8459:3c50::/38", "17816"}, + {"240a:a13d::/32", "142967"}, + {"240e:966:cc00::/35", "4134"}, + {"2606:9580:fffa::/48", "394256"}, + {"2800:68:3d::/46", "61468"}, + {"2a02:2e02:82f0::/39", "12479"}, + {"2a0c:7500::/29", "205046"}, + {"2a0e:47c6::/32", "212362"}, + {"240a:ab32::/32", "145516"}, + {"240e:a65:2600::/32", "4134"}, + {"2602:fea7:e00::/40", "32181"}, + {"2604:a880::/45", "14061"}, + {"2607:3d00::/28", "12083"}, + {"2804:37d0::/46", "266437"}, + {"240e:e1:9900::/38", "4811"}, + {"2602:fbf7::/36", "400201"}, + {"2800:68:33::/48", "269844"}, + {"2a03:b900::/32", "196695"}, + {"2a04:2e80:7::/48", "6697"}, + {"2a09:bac0:97::/44", "13335"}, + {"2403:ac00::/32", "55826"}, + {"2600:1417:3000::/54", "24203"}, + {"2602:802:2000::/40", "55244"}, + {"2800:b70:e::/47", "262191"}, + {"2a01:b740:a18::/48", "6185"}, + {"2a04:4e40:3810::/41", "54113"}, + {"2001:559:c214::/48", "22909"}, + {"2001:67c:1058::/48", "50345"}, + {"2001:1a11:db::/48", "8781"}, + {"240e:3bc:2c00::/35", "134774"}, + {"2607:9b80:400::/43", "46558"}, + {"2800:160:1acc::/46", "14259"}, + {"2001:559:8207::/48", "33650"}, + {"2409:807c:1900::/34", "9808"}, + {"240a:a24f::/32", "143241"}, + {"240e:44d:1900::/42", "140345"}, + {"2602:fc6b::/36", "852"}, + {"2800:68:2a::/47", "61468"}, + {"2804:14d:d600::/40", "28573"}, + {"2804:4d3c:5dc0::/32", "267420"}, + {"2a02:26f7:bc04::/47", "36183"}, + {"2a12:1e01::/32", "41634"}, + {"2403:6d00:cf::/35", "56094"}, + {"2806:250:12::/48", "28509"}, + {"2a02:f784:30::/48", "25252"}, + {"2001:3c8:1203::/39", "4621"}, + {"2001:468:f100::/36", "11537"}, + {"2001:559:734::/48", "7016"}, + {"2001:559:c3ca::/48", "33489"}, + {"2001:579:e0bc::/39", "22773"}, + {"2402:800:b130::/41", "7552"}, + {"2403:9800:6100::/40", "4648"}, + {"2804:1878:196::/32", "61935"}, + {"2a02:5740:10::/48", "58065"}, + {"2a02:7dc0::/32", "559"}, + {"2a09:c400::/29", "13032"}, + {"2001:559:3f0::/48", "33490"}, + {"2001:67c:6b8::/48", "31477"}, + {"2404:200::/32", "7672"}, + {"240a:ab69::/32", "145571"}, + {"2a0b:5ec0::/29", "42926"}, + {"2602:fcf6:fff::/48", "48413"}, + {"2a02:26f7:e040::/48", "36183"}, + {"2001:559:8427::/48", "7725"}, + {"2a02:26f7:d204::/48", "36183"}, + {"2001:618::/32", "15716"}, + {"2409:8020:11::/42", "56046"}, + {"2600:d09:4000::/30", "20161"}, + {"2600:1408:d401::/34", "20940"}, + {"2804:28e4:20::/41", "28260"}, + {"2a01:b747:16e::/37", "714"}, + {"2a02:26f7:dc44::/48", "36183"}, + {"2001:550:3101::/38", "174"}, + {"2a0d:77c7:e908::/35", "7489"}, + {"2a0f:e440::/29", "205544"}, + {"2600:2501:3000::/28", "26801"}, + {"2804:e8c::/34", "52561"}, + {"2a02:2aa8:220::/39", "702"}, + {"2a0e:b107:1574::/47", "141011"}, + {"2402:800:9bc5::/43", "7552"}, + {"2406:fb00:1000::/48", "15224"}, + {"2804:3f58:7000::/32", "265886"}, + {"240a:ab4a::/32", "145540"}, + {"2602:803:b000::/44", "399214"}, + {"2803:9800:b88d::/41", "11664"}, + {"2a00:b900::/46", "51561"}, + {"2001:df3:ad00::/48", "137275"}, + {"2804:354c:4600::/32", "53018"}, + {"2804:4204::/32", "267472"}, + {"2a00:e480:1::/48", "12859"}, + {"2a02:1400::/26", "2119"}, + {"2a03:2de0::/32", "35444"}, + {"2600:80c::/40", "11486"}, + {"2602:fd92:500::/40", "206607"}, + {"2607:f220:412::/44", "3527"}, + {"2404:c0:30a0::/39", "23693"}, + {"2607:f180:7200::/40", "4213"}, + {"2a07:a343:e0f0::/44", "9009"}, + {"2001:559:c1fd::/48", "33652"}, + {"2600:6c7f:9111::/46", "19115"}, + {"2602:802:5000::/40", "19065"}, + {"2606:ae00:c500::/36", "7287"}, + {"2a01:8c8::/32", "3329"}, + {"2001:559:8382::/48", "7015"}, + {"2001:df0:c800::/48", "133173"}, + {"2001:fe8:8130::/47", "24435"}, + {"2804:3444::/32", "265446"}, + {"2a0e:c740::/29", "210661"}, + {"2001:559:841e::/48", "33491"}, + {"240a:a0f3::/32", "142893"}, + {"2600:1419:a::/47", "20940"}, + {"2a01:111:202f::/36", "8075"}, + {"2a01:130::/32", "8495"}, + {"2001:418:1401:2d::/57", "2914"}, + {"2605:88c0::/36", "398202"}, + {"2804:1b48::/32", "61718"}, + {"2806:2f0:2463::/43", "22884"}, + {"2a02:e982:1e::/48", "62571"}, + {"2a07:bbc2::/47", "50864"}, + {"2a11:dc00::/29", "42375"}, + {"2404:4880::/32", "135069"}, + {"2408:8456:1e40::/40", "17816"}, + {"240a:a474::/32", "143790"}, + {"240e:964:c600::/36", "4134"}, + {"2600:6c10:f241::/45", "20115"}, + {"2604:8540:fcd3::/48", "33353"}, + {"2620:10a:b0fd::/46", "15297"}, + {"2620:119:4043::/48", "7726"}, + {"2a00:8a02::/44", "8983"}, + {"2a0c:a7c0::/46", "202468"}, + {"2a11:5f80::/29", "18779"}, + {"2001:4878:b031::/48", "12222"}, + {"2400:cb00:274::/47", "13335"}, + {"2804:2984::/40", "53184"}, + {"2804:3e40:8000::/33", "266583"}, + {"2a00:19d0::/29", "12586"}, + {"2001:16a2:c2f4::/44", "39386"}, + {"2408:8456:6640::/39", "17816"}, + {"240a:afea::/32", "146724"}, + {"2a0d:9c80::/29", "49127"}, + {"2001:559:7a9::/48", "7922"}, + {"2001:559:86c9::/48", "20214"}, + {"2600:1005:b1d0::/42", "6167"}, + {"2804:6fa4::/32", "270674"}, + {"2001:1248:a67b::/40", "11172"}, + {"2404:c0:5e00::/34", "23693"}, + {"2607:a280::/32", "394117"}, + {"2610:1f0::/32", "4181"}, + {"2a04:4000::/29", "201020"}, + {"2409:8053:1002::/40", "56047"}, + {"2600:80c:f00::/40", "11486"}, + {"2a02:4720::/31", "201333"}, + {"2a0b:ec82::/32", "52000"}, + {"2c0f:f6d0:82::/47", "327687"}, + {"2804:1450::/32", "262861"}, + {"2001:559:c36a::/48", "33659"}, + {"2001:dda::/48", "18149"}, + {"240e:67e:1800::/32", "4134"}, + {"2600:1fa0:8180::/44", "16509"}, + {"2a02:26f7:f305::/46", "20940"}, + {"2a03:fbc0::/29", "61317"}, + {"2804:4f04::/32", "268298"}, + {"2a00:1b60::/32", "12552"}, + {"2a00:5884::/32", "204092"}, + {"2a0c:fac0::/48", "200076"}, + {"2604:9100:1001::/48", "14313"}, + {"2607:fa40::/47", "25899"}, + {"2a00:6d43:a00::/32", "31034"}, + {"2a00:a780:5::/36", "44229"}, + {"2a07:2911::/32", "21449"}, + {"2409:8a15:9800::/30", "56044"}, + {"2600:1404:a400::/48", "35994"}, + {"2602:fc09:a00::/40", "13780"}, + {"2602:ffe4:c2e::/43", "55836"}, + {"2603:90b0::/32", "10796"}, + {"2804:e4c:7000::/36", "269104"}, + {"240a:a872::/32", "144812"}, + {"240e:90d:b000::/33", "4134"}, + {"2804:37f0:d100::/36", "266445"}, + {"2001:559:805d::/48", "7725"}, + {"2403:a200:a3ff::/48", "58466"}, + {"2409:8907:7020::/39", "24547"}, + {"2606:2800:144::/48", "15133"}, + {"2607:2a00:3::/32", "29909"}, + {"2804:4e4::/32", "262476"}, + {"2806:230:6023::/48", "11888"}, + {"2a04:4e40:6600::/48", "54113"}, + {"2a07:e7c0:147::/48", "201076"}, + {"2406:2000:ef68::/48", "24506"}, + {"2a01:8840:ea::/45", "12041"}, + {"2a02:88d:20f::/48", "47794"}, + {"2a04:4e41:1::/46", "54113"}, + {"2a09:1400::/30", "42423"}, + {"2001:67c:2048::/48", "31317"}, + {"240a:a0ab::/32", "142821"}, + {"2a00:9bc0::/32", "57844"}, + {"2a02:26f0:1d::/48", "34164"}, + {"2a0b:4341:509::/48", "57695"}, + {"2a0c:b641:720::/47", "207363"}, + {"2402:8640:2::/44", "137491"}, + {"2406:b480:100::/46", "38146"}, + {"2600:140e:2::/48", "24319"}, + {"2a0a:cac0::/29", "31246"}, + {"2001:559:287::/48", "33662"}, + {"2001:df0:1a00::/48", "132779"}, + {"2402:4440:9c83::/34", "24423"}, + {"2804:e28:c0::/42", "52547"}, + {"2a00:7d00::/32", "41165"}, + {"2a03:aec0::/32", "199408"}, + {"2001:559:317::/48", "33489"}, + {"2405:b000:411::/39", "6262"}, + {"240e:95d:1000::/37", "136191"}, + {"2600:14c0:6::/44", "21342"}, + {"2806:230:2030::/48", "265594"}, + {"2a01:b747:a00::/34", "714"}, + {"2a0e:fd45:dd0::/38", "44103"}, + {"2401:d800:bf20::/41", "7552"}, + {"2406:e780:eb1::/48", "63679"}, + {"2605:1980:105::/46", "13951"}, + {"2a02:6b8:f::/42", "208722"}, + {"2001:559:868d::/48", "7922"}, + {"2001:67c:1028::/47", "12553"}, + {"2804:1ce4:4000::/32", "61681"}, + {"2a00:1d58:f021::/48", "47524"}, + {"2a07:12c0::/29", "25795"}, + {"2001:67c:ec::/48", "44097"}, + {"2001:1838:5100::/34", "23352"}, + {"2406:7bc0::/32", "141077"}, + {"2620:0:cc0::/48", "36692"}, + {"2806:2f0:24c2::/48", "17072"}, + {"2a02:26f7:f281::/46", "20940"}, + {"2a04:4e40:b600::/48", "54113"}, + {"2a05:6740:4060::/46", "206228"}, + {"2001:550:1e00:1::/47", "174"}, + {"2401:4900:6270::/40", "45609"}, + {"2804:14d:2a7f::/40", "28573"}, + {"2806:264:5501::/48", "13999"}, + {"2a04:e00:13::/48", "39855"}, + {"2a07:4880::/29", "24971"}, + {"2001:559:39e::/48", "33491"}, + {"2408:8456:b410::/42", "134543"}, + {"2a03:66e0::/32", "200538"}, + {"2804:12a4::/32", "263489"}, + {"2804:6d74::/32", "270534"}, + {"2806:101e:3::/45", "8151"}, + {"2a00:4802:1c00::/44", "13124"}, + {"2a00:a9a0::/32", "198721"}, + {"2408:8256:2f9c::/46", "17623"}, + {"240a:a610::/32", "144202"}, + {"240a:a6e0::/32", "144410"}, + {"2610:148::/32", "2637"}, + {"2803:c560:e000::/36", "207688"}, + {"2804:2e58::/32", "265340"}, + {"2804:806c::/32", "271749"}, + {"2a00:11c0:62::/48", "42354"}, + {"2a02:10:101::/29", "24785"}, + {"2a02:888:152::/47", "48695"}, + {"2a09:bac0:106::/47", "13335"}, + {"2a09:be40:3420::/48", "212348"}, + {"2a0f:ecc0::/29", "62167"}, + {"2602:fd1b::/36", "398871"}, + {"2001:550:102::/48", "16409"}, + {"2001:4818:4000::/36", "27272"}, + {"2a0a:4784::/32", "43317"}, + {"240a:a28d::/32", "143303"}, + {"2605:2680::/32", "393301"}, + {"2804:22c:e124::/35", "22689"}, + {"2c0e:2200::/32", "37457"}, + {"2001:678:4c0::/48", "41948"}, + {"2400:3620::/32", "149025"}, + {"2620:ac:4000::/48", "22652"}, + {"2804:6fc:bfff::/33", "28158"}, + {"2804:138b:b100::/33", "53037"}, + {"2a01:560::/29", "34087"}, + {"2a0c:b641:620::/44", "211851"}, + {"2001:4878:a246::/48", "12222"}, + {"2602:ffe2:ffe::/47", "53334"}, + {"2001:250:2411::/46", "23910"}, + {"2400:cb00:a300::/45", "13335"}, + {"2604:880:1::/46", "29802"}, + {"2606:4580::/32", "22684"}, + {"2620:0:880::/48", "29763"}, + {"2800:160:1b62::/45", "14259"}, + {"2804:6f34::/32", "28234"}, + {"2a0e:800:6666::/48", "139833"}, + {"2a10:4e40::/48", "209286"}, + {"2804:45e0::/32", "263065"}, + {"2806:202::/32", "28458"}, + {"2a06:1e00:14::/48", "60695"}, + {"2a07:4dc0::/29", "14576"}, + {"2407:c080:fc0::/35", "55990"}, + {"2001:67c:21ac::/48", "197727"}, + {"2401:d800:670::/40", "7552"}, + {"2801:1a0::/42", "52467"}, + {"2001:1248:9a60::/44", "11172"}, + {"2602:fed2:770a::/48", "53356"}, + {"2606:2800:4a20::/46", "15133"}, + {"2804:7c34::/32", "28361"}, + {"2a0e:84c0::/32", "24929"}, + {"2804:37d4::/32", "266438"}, + {"2001:559:384::/48", "33652"}, + {"240e:6b5:2000::/32", "4134"}, + {"2600:9000:2461::/48", "16509"}, + {"2607:4200::/32", "19214"}, + {"2a02:888:8052::/47", "48695"}, + {"2a07:c280::/32", "206892"}, + {"2001:559:1a8::/48", "7922"}, + {"2402:9d80:105::/48", "131429"}, + {"2408:8410::/29", "4837"}, + {"240e:67d:e600::/30", "4134"}, + {"2604:95c0::/32", "20130"}, + {"2804:3b20::/32", "266131"}, + {"2a04:5340::/47", "200081"}, + {"2400:3e20:e000::/35", "210542"}, + {"2406:c3c0::/32", "134823"}, + {"2606:4700:9640::/44", "13335"}, + {"2a00:6540::/29", "9032"}, + {"2a02:2b60:52::/39", "42947"}, + {"2a06:440::/29", "57842"}, + {"2a0b:4340:c3::/48", "44421"}, + {"2a0d:3640::/29", "8888"}, + {"2a11:2640::/31", "3170"}, + {"240a:a497::/32", "143825"}, + {"2602:feb4:110::/44", "25961"}, + {"2604:d600:625::/46", "32098"}, + {"2401:b200:46::/43", "24186"}, + {"2403:300:a04::/46", "6185"}, + {"2a00:1728:33::/32", "34224"}, + {"2a02:26f7:d700::/48", "36183"}, + {"2001:df7:6a80::/48", "137166"}, + {"2606:d680::/32", "4508"}, + {"2803:ab00::/40", "52471"}, + {"2804:7014:8100::/33", "270704"}, + {"240a:a955::/32", "145039"}, + {"240e:250:2907::/26", "4134"}, + {"2800:160:1886::/43", "14259"}, + {"2804:2728:3::/37", "263880"}, + {"2806:20d:16ff::/36", "32098"}, + {"2a01:5b0:25::/48", "48519"}, + {"2c0f:f578:30::/41", "24691"}, + {"2402:79c0:1179::/48", "26415"}, + {"2409:8028:30b3::/41", "56041"}, + {"240e:438:b360::/25", "4134"}, + {"240e:967:cc00::/35", "4134"}, + {"2620:137:5000::/42", "10851"}, + {"2804:3990::/32", "266036"}, + {"2a11:7980::/40", "210861"}, + {"2001:559:87c1::/48", "33667"}, + {"2400:3c00::/47", "38258"}, + {"2001:4888:8048::/45", "6167"}, + {"2405:9800:c92e::/41", "45430"}, + {"2407:cf40::/32", "146932"}, + {"240e:3bc:3e00::/33", "140308"}, + {"240e:6b1:2000::/32", "4134"}, + {"2620:da:4000::/48", "393945"}, + {"2a09:4c0:5701::/40", "58057"}, + {"2a0d:b201::/43", "206026"}, + {"2a0e:b107:ec0::/46", "212196"}, + {"2001:559:c1a1::/48", "33657"}, + {"240e:45c:c700::/40", "140538"}, + {"240e:60c:d800::/38", "137688"}, + {"240e:944:4000::/32", "4134"}, + {"2801:80:1a90::/48", "265490"}, + {"2a06:4400::/29", "50698"}, + {"2001:559:857e::/47", "33657"}, + {"2401:f4c0::/32", "132754"}, + {"2620:c2:4000::/48", "394101"}, + {"2a09:40c0::/48", "50007"}, + {"2c0f:ef00::/32", "327900"}, + {"2404:bf40:c580::/48", "2764"}, + {"2408:8956:900::/40", "17816"}, + {"2409:f:f3::/48", "142501"}, + {"2804:104c:a800::/40", "263629"}, + {"2a01:540:b000::/33", "12389"}, + {"2a02:26f7:bf50::/48", "36183"}, + {"2a12:7cc0::/29", "212986"}, + {"2401:6bff::/40", "9466"}, + {"2408:883a:7c0::/32", "4837"}, + {"2409:8d30::/29", "9808"}, + {"2a02:320::/29", "8351"}, + {"2405:9800:b022::/39", "45430"}, + {"2606:cd00:2::/43", "40845"}, + {"2a01:47c2::/32", "12301"}, + {"2a02:26f7:c9c0::/48", "36183"}, + {"2001:67c:214c::/48", "24909"}, + {"2401:3c0:106::/48", "45528"}, + {"2409:8a51:f00::/35", "56047"}, + {"2600:6c38:cc::/46", "20115"}, + {"2605:a900:9001::/33", "46887"}, + {"2a02:26f7:d448::/48", "36183"}, + {"2001:420:4488::/32", "109"}, + {"2401:c700::/42", "55639"}, + {"240a:a82e::/32", "144744"}, + {"2606:4f40::/32", "64227"}, + {"2610:108:3000::/48", "13506"}, + {"2402:b780:54::/32", "64047"}, + {"2409:874c:ce00::/30", "9808"}, + {"2a01:80a0:ffff::/48", "62156"}, + {"2001:559:c33c::/48", "7015"}, + {"2402:800:5355::/42", "7552"}, + {"2409:8a53:d00::/38", "56047"}, + {"2806:1080:101::/48", "19373"}, + {"2409:8e80:b000::/23", "9808"}, + {"2804:3734::/32", "266396"}, + {"2804:7c54::/32", "271489"}, + {"2a00:b7c0::/32", "47548"}, + {"2a02:cf80:3::/48", "35435"}, + {"2a04:b904::/48", "211321"}, + {"2001:240::/32", "2497"}, + {"2001:67c:324::/48", "30950"}, + {"2a02:2b00::/32", "702"}, + {"2600:9000:1e25::/44", "16509"}, + {"2605:1980:204::/47", "13951"}, + {"2a02:2008::/32", "49503"}, + {"2001:df0:264::/48", "132043"}, + {"2001:1900:2368::/47", "3356"}, + {"2604:d600:14::/44", "32098"}, + {"2a02:26f7:decc::/48", "36183"}, + {"2a04:f340:1100::/29", "8758"}, + {"2a0e:46c4:2910::/48", "138435"}, + {"2001:67c:2c90::/47", "31308"}, + {"2001:4c08::/34", "3356"}, + {"2620:52:2::/48", "22753"}, + {"2806:20d:1d31::/45", "32098"}, + {"2a02:20c8:1242::/34", "50304"}, + {"2a02:ee80:4011::/48", "3573"}, + {"2a06:db80::/29", "24631"}, + {"2a0e:b107:10c0::/44", "211495"}, + {"2001:df2:d100::/48", "136707"}, + {"240a:a27e::/32", "143288"}, + {"240a:acd9::/32", "145939"}, + {"2801:196::/48", "19429"}, + {"2a09:bac0:308::/48", "13335"}, + {"2408:8956:2140::/40", "17816"}, + {"2600:3000:5200::/31", "13649"}, + {"2602:fd10:8f0::/44", "398795"}, + {"2001:4388:7::/32", "8452"}, + {"2600:9000:114b::/48", "16509"}, + {"2a0e:b107:b10::/48", "212580"}, + {"2408:8256:356f::/48", "17816"}, + {"2001:559:121::/48", "33287"}, + {"2404:9200::/32", "2516"}, + {"240e:3b3:1800::/34", "4134"}, + {"2a0e:8f02:f002::/48", "213124"}, + {"2001:67c:600::/48", "20491"}, + {"2804:1e0c:fffe::/47", "264141"}, + {"2a0e:4180::/29", "25540"}, + {"240e:940:ce00::/40", "136197"}, + {"2804:69c0::/32", "270289"}, + {"2a01:e00::/30", "12322"}, + {"2a0c:e304:2::/30", "198985"}, + {"2a0f:f0c0::/32", "6830"}, + {"2001:67c:2b2c::/48", "212129"}, + {"2401:2d00::/46", "17625"}, + {"2607:f738:600::/41", "17184"}, + {"2a00:1851:8000::/34", "29357"}, + {"2001:559:859b::/48", "7015"}, + {"2001:559:c2bb::/48", "7015"}, + {"2600:1406:7400::/48", "35994"}, + {"2804:4ae4::/35", "267270"}, + {"2a06:4dc0::/29", "60501"}, + {"2a07:79c0::/29", "44920"}, + {"2001:678:5d8::/48", "3399"}, + {"2401:1d40:3f01::/48", "59019"}, + {"2401:ee00:2011::/40", "23951"}, + {"240a:abf6::/32", "145712"}, + {"2620:121:d000::/44", "19108"}, + {"2804:2ec0::/32", "265364"}, + {"2a09:ac40::/32", "57040"}, + {"2607:f110:e810::/38", "21889"}, + {"2a01:ae40::/32", "199163"}, + {"2001:250:700d::/43", "23910"}, + {"2001:559:876d::/48", "7015"}, + {"2001:fb1:fe1::/34", "17552"}, + {"2402:800:7470::/40", "7552"}, + {"2403:b4c0::/35", "138398"}, + {"2602:fe37::/36", "54987"}, + {"2610:f0:afb::/34", "22925"}, + {"2001:668:118::/45", "3257"}, + {"2402:800:3bfe::/37", "7552"}, + {"2606:1a40:2015::/48", "398962"}, + {"2607:f8f0:200::/48", "271"}, + {"2804:3d90::/32", "266539"}, + {"2a00:db00::/32", "47868"}, + {"2a03:90c0:999f::/48", "199524"}, + {"2a0c:fc0::/29", "204383"}, + {"2804:4680::/32", "266993"}, + {"2806:230:403c::/48", "265594"}, + {"2806:230:5010::/48", "265594"}, + {"2a02:26f0:6200::/48", "34164"}, + {"2400:4fc0:b::/48", "134146"}, + {"2401:c240::/35", "132847"}, + {"240a:a4b4::/32", "143854"}, + {"240a:adb4::/32", "146158"}, + {"2602:fca7:f01::/46", "399318"}, + {"2804:18:820::/44", "10429"}, + {"2804:642c::/32", "269411"}, + {"2804:791c::/32", "271285"}, + {"2806:310:130::/37", "16960"}, + {"2a07:7f00::/29", "43142"}, + {"2a0d:d900::/48", "61138"}, + {"2001:4888:8060::/48", "6167"}, + {"2605:5d00::/32", "27288"}, + {"2800:bf0:73::/44", "52257"}, + {"2a02:26f7:f688::/48", "36183"}, + {"2400:cb00:aa90::/47", "13335"}, + {"2405:8180:1100::/32", "135478"}, + {"2407:5280:300::/45", "133557"}, + {"2600:6c4a::/32", "20115"}, + {"2620:74:2b::/48", "40717"}, + {"2800:320:8403::/45", "27882"}, + {"2a02:e0:3003::/45", "34984"}, + {"2a02:26f7:f081::/46", "20940"}, + {"2a10:d640::/29", "211309"}, + {"2800:bf0:81c0::/47", "52257"}, + {"2804:391c:1a::/47", "262287"}, + {"2804:76c0::/32", "271132"}, + {"2a05:8dc0::/29", "15377"}, + {"2a0b:fd87:ffff::/48", "49419"}, + {"2a10:cc42:15e1::/45", "20473"}, + {"2602:803::/48", "393457"}, + {"2403:a200:a1ff::/48", "4811"}, + {"2605:db80::/32", "5742"}, + {"2804:57f4::/37", "268097"}, + {"2001:da8:a4::/48", "24364"}, + {"2602:fc9e::/40", "399525"}, + {"2402:800:5971::/44", "7552"}, + {"240a:a8e5::/32", "144927"}, + {"2600:1002:f110::/31", "22394"}, + {"2603:f348::/29", "63023"}, + {"2606:ae80:1c20::/43", "19834"}, + {"2a0c:c440::/29", "44489"}, + {"2001:1640::/32", "25394"}, + {"2404:f4c0:f703::/44", "138517"}, + {"2408:8245:1200::/32", "4837"}, + {"2605:a404:210::/45", "33363"}, + {"2620:0:890::/48", "54113"}, + {"2804:18c0:1a00::/32", "61951"}, + {"2001:250:1c0e::/39", "23910"}, + {"240a:a793::/32", "144589"}, + {"2602:fdc6::/36", "29768"}, + {"2a00:7142::/31", "51430"}, + {"2a03:2880:f022::/43", "32934"}, + {"2a05:c900::/32", "42463"}, + {"2001:678:17::/48", "43832"}, + {"2806:261:1400::/41", "13999"}, + {"2620:0:30::/45", "8075"}, + {"2804:3dd4::/32", "266556"}, + {"2806:20d:5a24::/39", "32098"}, + {"2a02:2a08::/32", "39923"}, + {"2403:fc0::/35", "398704"}, + {"2402:4f00:f000::/36", "58807"}, + {"2620:139:6004::/48", "22600"}, + {"2a00:1148:5::/48", "21051"}, + {"2a01:540:5000::/34", "12389"}, + {"2a02:26f7:eb45::/46", "20940"}, + {"2404:cf00:f001::/36", "38511"}, + {"2a09:407:e000::/36", "210625"}, + {"2a0b:db80::/29", "48004"}, + {"2a10:2240::/32", "205885"}, + {"2001:1a11:11d::/48", "8781"}, + {"2600:1007:9110::/36", "22394"}, + {"2600:6c38:150::/42", "20115"}, + {"2606:6680:15::/44", "40676"}, + {"2804:6e9c::/32", "270608"}, + {"2a03:4d41:900::/40", "199610"}, + {"2001:559:87c2::/48", "33490"}, + {"2001:df4:c200::/48", "58522"}, + {"2804:8644::/32", "272632"}, + {"2806:2f0:71e1::/46", "17072"}, + {"2a02:61a0::/32", "41937"}, + {"2400:3b00:40::/48", "18229"}, + {"2405:ec00::/45", "23955"}, + {"2408:8256:398b::/48", "17816"}, + {"240e:104:7c00::/40", "137690"}, + {"2600:40f1::/48", "46639"}, + {"2804:14c:bbe5::/43", "28573"}, + {"2804:105c::/32", "263631"}, + {"2804:1c84::/46", "61659"}, + {"2804:3460::/32", "265453"}, + {"2a0e:fd45:40f6::/48", "202297"}, + {"2403:1940::/47", "137935"}, + {"2a04:4e40:b400::/47", "54113"}, + {"2a0a:4940:1::/44", "208972"}, + {"2600:1003:b4e0::/36", "22394"}, + {"2804:63b4::/32", "269378"}, + {"2806:230:1023::/48", "11888"}, + {"2a05:2a80::/47", "200567"}, + {"2001:67c:2d8::/48", "13042"}, + {"2001:df3:f800::/48", "59216"}, + {"2404:0:70b0::/36", "131142"}, + {"2407:9f00::/32", "58834"}, + {"2408:8956:9400::/40", "17622"}, + {"240e:3b1:8200::/35", "140316"}, + {"2a02:26f7:db01::/46", "20940"}, + {"2a02:26f7:e68c::/48", "36183"}, + {"2001:400:6411::/41", "293"}, + {"2400:d280:a::/32", "45648"}, + {"2401:d800:ba60::/40", "7552"}, + {"2403:8600:c090::/42", "45820"}, + {"240a:a2c9::/32", "143363"}, + {"2804:14c:a785::/41", "28573"}, + {"2a05:24c0:1::/46", "211889"}, + {"2a0b:2900:1f00::/40", "48582"}, + {"2a11:8d00::/29", "61271"}, + {"2402:800:f600::/42", "7552"}, + {"2605:3a40:4::/48", "6233"}, + {"2607:fdf0:5e39::/41", "8008"}, + {"2a10:200::/47", "208059"}, + {"2001:1808::/32", "46650"}, + {"2804:5d6c::/32", "268971"}, + {"2a05:2100::/30", "198977"}, + {"2a0a:44c0::/29", "50083"}, + {"2a02:158:aa00::/39", "44946"}, + {"2800:1e0:2100::/40", "64124"}, + {"2a02:26f0:78::/45", "20940"}, + {"2001:559:5c1::/48", "33651"}, + {"2001:67c:d8::/48", "47708"}, + {"2600:1406:6400::/48", "35994"}, + {"2806:220::/32", "28503"}, + {"2001:252::/32", "23911"}, + {"240e:96b:6012::/45", "140370"}, + {"2604:da80::/32", "29886"}, + {"2a00:fcc0::/32", "9135"}, + {"2a0c:b642:200::/39", "206499"}, + {"2600:1402:f001::/31", "20940"}, + {"2606:2800:e400::/43", "15133"}, + {"2610:a1:301c::/48", "12008"}, + {"2803:b0e0:9985::/33", "269862"}, + {"2a0a:ce80::/29", "40970"}, + {"2a0b:b87:ff10::/48", "210902"}, + {"2a0e:fd45:40fa::/48", "7489"}, + {"2001:559:77a::/48", "7725"}, + {"2001:1248:970e::/43", "11172"}, + {"240e:438:ae20::/43", "140647"}, + {"2804:4b0:35c::/42", "262459"}, + {"2804:138b:b030::/40", "53037"}, + {"2804:2b38:e020::/35", "265141"}, + {"2402:8100:20e2::/48", "55644"}, + {"2801:80:460::/48", "52915"}, + {"2a0f:9400:7370::/44", "213092"}, + {"2600:1404:e401::/38", "20940"}, + {"2803:8d20::/32", "28007"}, + {"2804:15e4:6::/36", "53001"}, + {"2804:25d0::/32", "262656"}, + {"240a:a8db::/32", "144917"}, + {"2a01:b740:a11::/45", "714"}, + {"2a05:d050:9080::/44", "16509"}, + {"2a0e:4280::/29", "59717"}, + {"2001:559:82a1::/48", "33651"}, + {"2001:559:842c::/48", "33657"}, + {"2604:8d80::/32", "13427"}, + {"2620:11a:a01c::/48", "36040"}, + {"2a02:26f7:e140::/48", "36183"}, + {"2a03:2902::/32", "31400"}, + {"2a0a:b706:999f::/48", "204363"}, + {"2402:1d40:5005::/36", "58826"}, + {"240a:a1fb::/32", "143157"}, + {"2a0e:46c4:29f0::/44", "147047"}, + {"2400:2000:6::/47", "20940"}, + {"2402:800:94c5::/42", "7552"}, + {"2001:67c:1d4::/48", "2043"}, + {"2408:8956:de00::/40", "17622"}, + {"2606:2e00:800c::/48", "36351"}, + {"2803:9620:2501::/32", "265865"}, + {"2804:37f0:9100::/36", "266445"}, + {"2804:4984::/32", "267188"}, + {"2a09:4d42::/29", "44812"}, + {"2a0f:5707:abd0::/44", "210881"}, + {"2001:559:c2c9::/46", "7922"}, + {"2402:8100:31d2::/45", "55644"}, + {"240a:a696::/32", "144336"}, + {"2804:7d98::/32", "271571"}, + {"2a04:e840::/29", "47704"}, + {"2a0d:2406:11ea::/48", "212025"}, + {"2001:559:8763::/48", "33667"}, + {"2405:55c0:82::/32", "63991"}, + {"240a:a4ba::/32", "143860"}, + {"2a02:26f7:c000::/48", "36183"}, + {"2a04:5180::/29", "34855"}, + {"2c0f:ee78::/32", "61317"}, + {"2401:d800:2320::/41", "7552"}, + {"2407:b4c0:c::/47", "142366"}, + {"240a:a884::/32", "144830"}, + {"2803:5ce0:700::/40", "27887"}, + {"2804:2f30::/33", "53096"}, + {"2001:559:84e1::/48", "33657"}, + {"2400:cb00:a260::/47", "13335"}, + {"240e:44d:f00::/42", "140345"}, + {"2801:1a:a800::/48", "19429"}, + {"2804:15d4::/33", "263413"}, + {"2402:8100:2360::/43", "55644"}, + {"2403:5800:6::/27", "4764"}, + {"2a03:3180:f::/48", "47692"}, + {"2001:559:fc::/47", "33490"}, + {"240a:a3ab::/32", "143589"}, + {"2602:233::/32", "7782"}, + {"2804:4e1c::/32", "268240"}, + {"2a02:7940::/32", "9063"}, + {"2a04:f8c0::/29", "201698"}, + {"2001:67c:2a1c::/48", "24836"}, + {"240a:a8d7::/32", "144913"}, + {"2600:6c7f:91f0::/44", "20115"}, + {"2804:1110:ab00::/47", "262901"}, + {"2402:8100:267a::/45", "55644"}, + {"2406:e500:2::/33", "58593"}, + {"2602:804:1000::/45", "14536"}, + {"2604:81c0:1000::/36", "396422"}, + {"2606:6240:174::/48", "398447"}, + {"2a05:3fc0::/29", "201491"}, + {"2a06:d641::/32", "49981"}, + {"2a0b:4d80::/29", "206492"}, + {"2a0e:97c0:4f0::/48", "211013"}, + {"2a11:e487:affe::/48", "212568"}, + {"2001:559:c22a::/48", "33651"}, + {"2001:1aa8::/32", "24642"}, + {"2404:ba00:ff::/48", "17665"}, + {"240a:ae65::/32", "146335"}, + {"2602:ff5d::/36", "27382"}, + {"2605:f440:5600::/47", "50555"}, + {"2620:8f:4002::/44", "3424"}, + {"2001:559:8204::/48", "7015"}, + {"2001:67c:254c::/48", "39871"}, + {"2001:828::/32", "21155"}, + {"2801:116:a::/48", "271827"}, + {"2a00:17e0::/32", "49983"}, + {"2a02:ee80:2020::/43", "3573"}, + {"2a0d:3c42::/32", "25369"}, + {"2a0f:2f40::/29", "60262"}, + {"2001:da8:7006::/47", "132553"}, + {"240a:a3c2::/32", "143612"}, + {"2604:f980:4480::/43", "19957"}, + {"2001:559:82b9::/48", "33659"}, + {"2405:4cc1:c00::/40", "132468"}, + {"240e:f:d000::/27", "4134"}, + {"240e:964:9600::/39", "133776"}, + {"2804:7198::/32", "270799"}, + {"2001:c18::/32", "10204"}, + {"2401:d800:26c0::/42", "7552"}, + {"2408:8957:c400::/40", "17622"}, + {"240e:d9:a500::/36", "38283"}, + {"2804:1c8::/39", "53184"}, + {"2804:2674:c000::/40", "264344"}, + {"2606:2800:6a6a::/48", "15133"}, + {"2803:c100::/32", "28103"}, + {"2a04:4e40::/48", "54113"}, + {"2a10:340::/30", "207995"}, + {"2001:559:c249::/46", "33651"}, + {"2401:d800:2ee0::/39", "7552"}, + {"2603:90fb:20::/41", "19115"}, + {"2804:1120::/32", "52670"}, + {"2804:2d00::/32", "265256"}, + {"240a:a2dd::/32", "143383"}, + {"240a:a705::/32", "144447"}, + {"2620:12e:3009::/45", "25670"}, + {"2804:3a6c::/32", "266088"}, + {"2a04:d740::/29", "12907"}, + {"2600:6c10:ff06::/44", "20115"}, + {"2606:93c0::/32", "400220"}, + {"2607:2f80::/32", "2734"}, + {"2a0f:9a80::/29", "51290"}, + {"2a11:7440::/29", "204790"}, + {"2407:53c0::/44", "63630"}, + {"240a:acd6::/32", "145936"}, + {"2604:d600:1592::/44", "32098"}, + {"2804:93c:8101::/36", "52878"}, + {"2001:559:c066::/48", "7922"}, + {"2001:4b20:10:4101::/44", "34288"}, + {"2800:bf0:812e::/41", "27947"}, + {"2804:6d44:9000::/33", "270521"}, + {"2804:7de4::/32", "271589"}, + {"2a0d:63c0::/32", "200313"}, + {"2001:678:27c::/48", "203369"}, + {"2400:9380:9121::/48", "4809"}, + {"2800:68:53::/36", "61468"}, + {"2a0a:2842:481::/48", "42962"}, + {"2001:559:c083::/48", "33657"}, + {"2001:579:c9c0::/38", "22773"}, + {"2001:13d2:e801::/29", "7303"}, + {"2804:5a6c::/32", "268772"}, + {"2a06:80::/29", "206312"}, + {"2408:8646::/35", "140726"}, + {"2804:383c:300::/32", "52601"}, + {"2806:1016:4::/48", "8151"}, + {"2a04:b5c0::/29", "2611"}, + {"2a07:3500:19a8::/48", "38915"}, + {"2a0c:b641:210::/48", "209661"}, + {"2600:1802:5::/46", "16552"}, + {"2804:1270::/40", "262851"}, + {"2a03:ab80::/32", "197876"}, + {"2a04:27c0::/29", "197706"}, + {"2a0b:5a40::/29", "1764"}, + {"2a0c:14c0::/29", "204188"}, + {"2602:fed2:7113::/48", "53356"}, + {"2a00:7143:102::/29", "51430"}, + {"2a0a:5400::/29", "49010"}, + {"2001:559:856a::/48", "7016"}, + {"2001:1248:99ab::/41", "11172"}, + {"2408:84f3:9a40::/37", "17816"}, + {"240a:a608::/32", "144194"}, + {"2600:1406:5801::/34", "20940"}, + {"2602:fd58:1::/48", "32505"}, + {"2620:149:a16::/48", "6185"}, + {"2a00:1620::/32", "137"}, + {"2a02:26f7:5f::/48", "20940"}, + {"2a02:ed04:4710::/30", "50304"}, + {"2a06:f240::/29", "207355"}, + {"2a07:e345:3::/44", "211588"}, + {"2a0c:7180::/29", "35207"}, + {"2001:559:c2ad::/48", "7015"}, + {"2001:67c:2f1c::/48", "41847"}, + {"2402:800:3c71::/40", "7552"}, + {"2602:fdc2::/48", "397720"}, + {"2607:f428:9370::/44", "19115"}, + {"2a02:7b07::/48", "48328"}, + {"2401:c000::/32", "24323"}, + {"2403:cc0::/32", "131314"}, + {"2408:8456:3e10::/42", "134543"}, + {"2800:d302:20::/47", "11830"}, + {"2001:67c:1240::/48", "198812"}, + {"2001:ee0:8940::/38", "45899"}, + {"240a:a088::/32", "142786"}, + {"2605:a480::/32", "32703"}, + {"2800:160:1b28::/43", "14259"}, + {"2804:c00:d000::/34", "52655"}, + {"2a04:ad80::/47", "44684"}, + {"2401:d800:78a0::/41", "7552"}, + {"240a:a015::/32", "142671"}, + {"240a:a6a2::/32", "144348"}, + {"2803:1460::/32", "267837"}, + {"2001:4490:d780::/46", "9829"}, + {"2408:8957:5800::/40", "17622"}, + {"2a02:ae8::/29", "20625"}, + {"2a02:26f0:2901::/38", "20940"}, + {"2a0a:640::/32", "34762"}, + {"2001:559:8771::/46", "7922"}, + {"2001:67c:1734::/48", "60805"}, + {"2402:800:9655::/42", "7552"}, + {"2403:6000:900::/32", "24085"}, + {"2400:cb00:253::/44", "13335"}, + {"2404:fd00:facf::/37", "58552"}, + {"2408:8346::/35", "140726"}, + {"2600:1007:9000::/44", "6167"}, + {"2804:2050:4abd::/35", "264485"}, + {"2401:d800:95e0::/38", "7552"}, + {"2407:8b40::/32", "135188"}, + {"240a:afc1::/32", "146683"}, + {"2605:ba80::/32", "40473"}, + {"2a02:26f7:ae::/48", "36183"}, + {"240a:aa62::/32", "145308"}, + {"2605:a900::/45", "46887"}, + {"2a02:17d0::/32", "12668"}, + {"2a0b:6b84:1338::/32", "200639"}, + {"2c0f:ee28::/32", "37172"}, + {"240c:c0a8:9c02::/33", "24348"}, + {"240e:3b5:3e00::/33", "140308"}, + {"2001:1900:222c::/46", "3356"}, + {"2404:1940::/32", "136030"}, + {"240a:a933::/32", "145005"}, + {"2804:5da0::/32", "268983"}, + {"2a00:4920::/32", "202169"}, + {"2a07:6000::/29", "59586"}, + {"2001:df0:301::/48", "18402"}, + {"2405:b40:2a::/43", "55674"}, + {"2a02:26f7:f799::/42", "20940"}, + {"2a03:ec00:b900::/40", "24921"}, + {"2a06:7580::/29", "203460"}, + {"2001:559:8362::/48", "33491"}, + {"2001:559:c292::/48", "33287"}, + {"2405:9800:d200::/48", "134240"}, + {"240e:354:6400::/31", "4134"}, + {"2800:800:900::/44", "26611"}, + {"2a02:26f7:e808::/48", "36183"}, + {"2404:ae00:12::/47", "45474"}, + {"2800:160:1367::/43", "14259"}, + {"2a02:26f7:f605::/46", "20940"}, + {"2404:4a00:5543::/36", "45629"}, + {"2804:1408:a001::/33", "28635"}, + {"2a02:ad8:1600::/34", "12389"}, + {"2a0b:9780::/29", "41847"}, + {"2001:559:574::/48", "33657"}, + {"2404:4a00:3:1::/48", "45629"}, + {"2804:8244::/32", "272509"}, + {"2408:8434::/28", "4837"}, + {"2a00:1c10:fff0::/44", "50300"}, + {"2a01:a1e0:1::/48", "39293"}, + {"2a02:850:ffe5::/46", "1921"}, + {"2a0b:100::/29", "210858"}, + {"2001:67c:8f4::/48", "210189"}, + {"2400:6280:130::/48", "132280"}, + {"2408:8256:319f::/38", "17816"}, + {"240a:a319::/32", "143443"}, + {"240a:a3af::/32", "143593"}, + {"2803:2500::/32", "262253"}, + {"2804:1248:5000::/32", "263467"}, + {"2806:261:507::/48", "13999"}, + {"2a07:3501:1050::/48", "39686"}, + {"2a0b:6200::/29", "16010"}, + {"2804:fec::/32", "262493"}, + {"2a0a:f584::/32", "62240"}, + {"2a0f:de00::/29", "208253"}, + {"2a10:8441:112::/48", "8422"}, + {"2001:250:2807::/48", "23910"}, + {"2409:8904:4f60::/35", "24547"}, + {"2600:1002:f010::/40", "22394"}, + {"2605:3380:4474::/44", "12025"}, + {"2800:bf0:81e7::/44", "27947"}, + {"2a0e:8f02:1024::/46", "204446"}, + {"2001:253:138::/48", "142104"}, + {"2a0e:b107:178c::/47", "208679"}, + {"2001:67c:2980::/48", "196948"}, + {"2404:ba00:e::/48", "17665"}, + {"2405:9800:c909::/48", "55476"}, + {"2a01:62a0::/32", "206250"}, + {"240a:a4b5::/32", "143855"}, + {"240e:679:8400::/38", "140329"}, + {"2607:fd28:a006::/48", "3725"}, + {"2a00:7800::/32", "51929"}, + {"2a0f:d180::/31", "208041"}, + {"2a12:a4c1::/32", "35543"}, + {"2001:dce:3::/48", "133532"}, + {"2001:fd8:61::/46", "4775"}, + {"2400:ea00::/48", "23884"}, + {"2408:8957:4400::/40", "17622"}, + {"2409:8028:1090::/41", "56041"}, + {"2620:1ec:8fd::/46", "8075"}, + {"2a00:ee0::/29", "5603"}, + {"2a02:26f0:f401::/39", "20940"}, + {"2001:559:82fe::/48", "33660"}, + {"2407:b001::/35", "24121"}, + {"240e:97c:4000::/36", "4816"}, + {"2804:294:8100::/33", "28604"}, + {"2a09:6980::/29", "56598"}, + {"2001:da8:a005::/43", "24352"}, + {"2400:adc0:4300::/47", "9541"}, + {"240a:a2fc::/32", "143414"}, + {"2804:4d80::/36", "268200"}, + {"2a02:26f7:55::/48", "20940"}, + {"2a02:2e02:2f40::/40", "12479"}, + {"2001:dc7:5dcd::/42", "24151"}, + {"2606:2800:130::/48", "15133"}, + {"2a02:4b0:217::/32", "43751"}, + {"2a02:26f7:d405::/46", "20940"}, + {"2402:800:56c5::/43", "7552"}, + {"2404:e801:1004::/46", "55430"}, + {"2409:8904:5a40::/42", "24547"}, + {"2a10:5940::/29", "207603"}, + {"2402:800:9ec0::/43", "7552"}, + {"2600:370f:3101::/45", "32261"}, + {"2a02:26f7:b645::/46", "20940"}, + {"2a02:5a80::/29", "197729"}, + {"2a03:dc40:ffff::/48", "196904"}, + {"2400:1520::/44", "132829"}, + {"240e:37d::/35", "140329"}, + {"2602:fce1:250::/48", "395886"}, + {"2606:2800:50a0::/43", "15133"}, + {"2406:a1c0:2::/48", "131921"}, + {"2408:8756:2c00::/40", "135061"}, + {"240a:a59f::/32", "144089"}, + {"2600:1417:3801::/33", "20940"}, + {"2605:ee00:30::/41", "29990"}, + {"2a00:6fc0:c010::/44", "3215"}, + {"2a0b:b87:ffea::/48", "201331"}, + {"2401:d800:dea0::/41", "7552"}, + {"240e:3b0:4c00::/35", "136200"}, + {"2600:6000:fd41::/43", "12271"}, + {"2607:f670::/32", "10587"}, + {"2804:3cd0::/32", "266236"}, + {"2804:446c::/32", "28369"}, + {"2a02:2aa8:203::/43", "702"}, + {"2a05:d01a::/36", "16509"}, + {"2c0e:4000:a000::/36", "36994"}, + {"2001:559:37::/48", "7046"}, + {"2600:1009:9000::/44", "6167"}, + {"2600:1010:a100::/43", "6167"}, + {"2803:2e40:102::/44", "27796"}, + {"2804:6ba0::/32", "270413"}, + {"2804:6ec8::/32", "270618"}, + {"2a09:bac0:445::/48", "13335"}, + {"240e:438:ae40::/35", "4134"}, + {"2800:370:44::/48", "28006"}, + {"2a02:26f7:d249::/46", "20940"}, + {"2a10:b641::/36", "211607"}, + {"2001:559:c29e::/48", "33287"}, + {"2407:14c0:800::/32", "138077"}, + {"2a01:8c20::/32", "8368"}, + {"2a02:26f7:c7::/48", "20940"}, + {"2001:67c:2bd4::/48", "1257"}, + {"2406:e002:3000::/33", "23655"}, + {"2804:4734::/34", "267038"}, + {"2a06:26c0::/29", "31662"}, + {"2001:559:c4e9::/48", "33657"}, + {"2405:84c0:ff11::/48", "9886"}, + {"2602:ff36::/38", "395348"}, + {"2a00:4b40::/32", "51013"}, + {"2a03:96e0:8000::/33", "2119"}, + {"2001:559:868a::/48", "33657"}, + {"2001:da8:249::/48", "24350"}, + {"2407:3640::/32", "141995"}, + {"240a:a066::/32", "142752"}, + {"2001:67c:22a4::/48", "56825"}, + {"240a:a5e7::/32", "144161"}, + {"2803:fce0::/32", "269916"}, + {"2804:265c::/32", "264329"}, + {"2804:764c::/32", "271102"}, + {"2401:d800:be22::/41", "7552"}, + {"2600:1404:b401::/38", "20940"}, + {"2604:d600:554::/44", "32098"}, + {"2a02:26f7:c648::/48", "36183"}, + {"2a03:5100::/32", "197742"}, + {"2a04:ff07::/32", "202297"}, + {"2001:559:1b7::/48", "7922"}, + {"2600:141b:a000::/48", "35994"}, + {"2600:6c21:a0f::/43", "20115"}, + {"2606:ae00:6d40::/40", "7287"}, + {"2620:116:800a::/48", "16509"}, + {"2a00:1a28:101::/35", "42708"}, + {"2a10:e580:2000::/48", "399114"}, + {"2800:ba0:4::/48", "263812"}, + {"2804:28ac::/32", "263974"}, + {"2a02:2208::/47", "6697"}, + {"2a0e:1e40::/29", "64484"}, + {"2a11:fe80::/32", "209209"}, + {"2405:8a00:4020::/34", "55824"}, + {"2600:140b:15::/38", "20940"}, + {"2606:2800:5012::/48", "15133"}, + {"2804:8078::/32", "271752"}, + {"2a00:58c0::/48", "200774"}, + {"2a02:6b60::/28", "201838"}, + {"2001:559:8518::/42", "7015"}, + {"2001:67c:1050::/48", "58130"}, + {"2001:890:c000::/34", "8562"}, + {"2001:12d8::/40", "1251"}, + {"2408:8207:19d0::/32", "4808"}, + {"240a:aad7::/32", "145425"}, + {"2607:f9d0::/39", "11979"}, + {"2803:5440:4062::/45", "264738"}, + {"2803:9a40:8001::/46", "263824"}, + {"2803:c180:2110::/38", "52341"}, + {"2804:4448::/32", "267622"}, + {"2804:5f84::/32", "269105"}, + {"2a0d:2680:1100::/40", "20473"}, + {"2001:578:110::/46", "22773"}, + {"2408:840d:1e00::/42", "17621"}, + {"2804:6d04::/32", "270507"}, + {"2a0a:54c1:53::/45", "62240"}, + {"240a:a4b2::/32", "143852"}, + {"2604:f100::/32", "33234"}, + {"2620:f::/48", "3754"}, + {"2804:fdc::/32", "263608"}, + {"2a01:bf40::/32", "15691"}, + {"2a02:ee80:4042::/45", "3573"}, + {"2a09:bec0::/32", "12552"}, + {"2c0f:f2e8::/32", "37182"}, + {"2001:559:832c::/48", "7016"}, + {"2001:579:d184::/42", "22773"}, + {"2401:8d00:3::/48", "38345"}, + {"2607:ce00::/32", "53488"}, + {"2804:32c0::/32", "265097"}, + {"2a01:7ee0::/48", "1257"}, + {"2a02:26f7:d78c::/48", "36183"}, + {"2400:7400:e02a::/47", "23736"}, + {"2405:ef00:18::/32", "58779"}, + {"2804:5cc8:3300::/32", "268930"}, + {"2001:559:278::/48", "7015"}, + {"2001:5b0:2100::/37", "6621"}, + {"2402:e280:214f::/43", "134674"}, + {"240a:a6cf::/32", "144393"}, + {"2a02:26f7:f588::/48", "36183"}, + {"2a04:940:2::/35", "51407"}, + {"2605:6c80:2::/48", "14935"}, + {"2a01:4400:6::/48", "1257"}, + {"2a0c:d4c0::/29", "8823"}, + {"2406:4a00:15::/48", "56038"}, + {"2409:8043:2c02::/47", "9808"}, + {"2409:8c20:1832::/48", "56046"}, + {"2600:380:7680::/39", "20057"}, + {"2804:7fe0:4000::/34", "271715"}, + {"2a03:a0e0::/32", "44493"}, + {"2607:f598::/32", "32329"}, + {"2610:130:2301::/48", "14513"}, + {"2a03:31c0::/37", "43256"}, + {"2001:678:80c::/48", "29560"}, + {"2409:8914:c200::/39", "56044"}, + {"2804:9ec::/37", "263002"}, + {"2806:230:600c::/48", "265594"}, + {"2a07:b000::/29", "35902"}, + {"2001:250:810::/47", "138182"}, + {"2a00:de00::/32", "56566"}, + {"2001:559:1bc::/48", "33659"}, + {"2001:fd8:e1::/46", "4775"}, + {"2401:4900:4f52::/48", "45609"}, + {"240a:a2c1::/32", "143355"}, + {"2607:fd48:204::/39", "13536"}, + {"2a0e:f240::/29", "208348"}, + {"2602:fcff::/48", "40916"}, + {"2804:eec:11c5::/38", "28226"}, + {"2a01:ce85::/35", "51964"}, + {"240e:3b9:2200::/37", "136198"}, + {"2804:fe4::/32", "28343"}, + {"2a03:1a20:10::/48", "207467"}, + {"2a11:af40::/29", "210626"}, + {"2001:c20:48a5::/48", "3758"}, + {"2600:1006:b0d0::/42", "6167"}, + {"2602:fce1:241::/48", "395886"}, + {"2801:80:220::/48", "262483"}, + {"2804:14d:be84::/44", "28573"}, + {"2a04:6bc0::/36", "48635"}, + {"2a07:980::/29", "48213"}, + {"2606:4700:4700::/48", "13335"}, + {"2804:2ff0::/32", "264921"}, + {"2806:230:1002::/48", "265594"}, + {"2001:559:126::/48", "33659"}, + {"2001:559:236::/48", "7922"}, + {"2001:1248:97ff::/36", "11172"}, + {"2401:4900:3a00::/42", "45609"}, + {"240a:af16::/32", "146512"}, + {"240e:67a:e400::/39", "140330"}, + {"2804:1040:fb00::/37", "263626"}, + {"2804:1998::/32", "61805"}, + {"2a02:348:7a::/40", "35470"}, + {"2001:550:6c04::/48", "26824"}, + {"2a02:25c8::/32", "43557"}, + {"2a0e:c80:743::/48", "40676"}, + {"2001:57a:7008::/32", "22773"}, + {"2001:4408:8300::/44", "4758"}, + {"2406:1940::/32", "131925"}, + {"2409:8053:1100::/37", "9808"}, + {"2409:8087:2000::/45", "56046"}, + {"240a:a502::/32", "143932"}, + {"2a07:cc00::/29", "207988"}, + {"2a0a:144:400::/48", "16509"}, + {"2a0c:d100::/29", "202283"}, + {"2001:559:8423::/48", "7015"}, + {"2400:80c0::/32", "132453"}, + {"2402:800:7bb0::/41", "7552"}, + {"2803:9800:a8d0::/39", "11664"}, + {"2a01:8840:56::/44", "12041"}, + {"2a01:aac0::/32", "43391"}, + {"2c0f:800::/32", "328778"}, + {"240e:5f:600e::/48", "4134"}, + {"2607:4b80::/32", "7018"}, + {"2a00:a362::/32", "60435"}, + {"2a00:ad87:1300::/48", "15465"}, + {"2a05:8cc0::/29", "201210"}, + {"2a05:a040::/29", "43652"}, + {"2001:df3:809::/43", "22787"}, + {"2406:3400:1d::/41", "10143"}, + {"240e:3b6:2800::/38", "4134"}, + {"2801:141:9::/48", "271958"}, + {"2a01:55c0::/29", "21197"}, + {"240a:a8f2::/32", "144940"}, + {"2600:1403:11::/48", "21342"}, + {"2a01:190:151e::/48", "207791"}, + {"2001:559:84d4::/48", "33659"}, + {"2602:107:e500::/40", "11427"}, + {"2a10:f300::/29", "212263"}, + {"2001:559:81ef::/48", "7015"}, + {"2001:559:8629::/46", "7016"}, + {"2001:67c:17e0::/48", "207688"}, + {"240a:a86d::/32", "144807"}, + {"2602:fd60:11::/48", "49134"}, + {"2001:4d98:2200::/35", "3303"}, + {"2606:ae80::/44", "25751"}, + {"2a01:5860::/32", "199939"}, + {"2804:6f38::/32", "270646"}, + {"2a0f:5707:fff3::/48", "207469"}, + {"2001:df0:421::/48", "4826"}, + {"2001:fb0:10a3::/43", "7470"}, + {"2001:4490:7000::/46", "9829"}, + {"2806:230:2055::/48", "11888"}, + {"2a00:4bc0:2134::/32", "31004"}, + {"2a02:26f7:e445::/46", "20940"}, + {"2404:1b40::/47", "18230"}, + {"2600:1004:b000::/40", "6167"}, + {"2620:100:a005::/44", "19750"}, + {"2a00:1288:ef67::/48", "14778"}, + {"2001:559:4be::/48", "7015"}, + {"2402:800:379b::/41", "7552"}, + {"2605:a401:80d9::/45", "33363"}, + {"2806:370:4210::/40", "28403"}, + {"2607:4700::/32", "25720"}, + {"2801:1b:2000::/48", "61447"}, + {"2804:a20::/32", "263024"}, + {"2a02:e0:3128::/45", "34984"}, + {"2001:da8:3007::/44", "24358"}, + {"2001:1248:558a::/43", "11172"}, + {"2401:d800:59d0::/42", "7552"}, + {"2804:4a8c:200::/32", "267248"}, + {"2804:5090::/32", "263005"}, + {"2a04:d00::/29", "204326"}, + {"2402:9f80::/32", "9808"}, + {"2804:3d74:103::/32", "262617"}, + {"2a02:8801::/32", "5089"}, + {"2a03:74c0::/32", "203304"}, + {"2a0f:607:1100::/44", "212425"}, + {"2a10:e580:4000::/48", "399114"}, + {"2001:648:2c11::/42", "5408"}, + {"2407:9440:42::/43", "141626"}, + {"2409:8028:2000::/40", "56041"}, + {"2409:8904:5bb0::/37", "24547"}, + {"240a:a0b1::/32", "142827"}, + {"2804:5d04::/32", "268946"}, + {"2600:1f01:4870::/47", "16509"}, + {"2804:14::/32", "28360"}, + {"2804:14c:6b00::/40", "28573"}, + {"2804:3600::/32", "266320"}, + {"2a0c:1600::/32", "50537"}, + {"2001:559:c0da::/48", "33652"}, + {"2001:678:250::/48", "41038"}, + {"2400:7400:e027::/44", "23736"}, + {"2402:4000:1290::/34", "18001"}, + {"2600:6c20:10::/45", "20115"}, + {"2a05:2940::/32", "43740"}, + {"2402:800:f230::/41", "7552"}, + {"2604:980:1000::/33", "21859"}, + {"2001:559:c196::/48", "7922"}, + {"2401:fb00::/32", "17754"}, + {"2409:8907:8420::/39", "24547"}, + {"240a:abaf::/32", "145641"}, + {"2605:c880::/32", "63290"}, + {"2a06:1287:3310::/32", "61138"}, + {"2001:67c:210::/48", "51066"}, + {"2001:4c08:201e::/48", "3356"}, + {"2a0f:5707:ffa5::/46", "131668"}, + {"240e:45c:6d00::/40", "140531"}, + {"2a02:e980:f8::/45", "19551"}, + {"2a0c:d040::/32", "30781"}, + {"2001:468:f0ff::/48", "11164"}, + {"240a:a40a::/32", "143684"}, + {"240e:108:81::/48", "4134"}, + {"2a03:6947:b00::/40", "59819"}, + {"240d:c010:18::/47", "139341"}, + {"2800:430:a000::/35", "23487"}, + {"2804:64::/32", "27693"}, + {"2a01:4ce0:62::/39", "19624"}, + {"2a02:2370:101::/45", "32787"}, + {"2001:40b0::/32", "13041"}, + {"2408:8256:327d::/46", "17623"}, + {"2804:1f12::/32", "52950"}, + {"2a00:cc40::/48", "44395"}, + {"2001:559:8773::/48", "21508"}, + {"2001:648:24a0::/48", "12402"}, + {"240e:97d:1000::/36", "4134"}, + {"2408:8456:bc40::/38", "17816"}, + {"2606:2800:4270::/46", "15133"}, + {"2606:bbc0::/48", "400509"}, + {"2804:14d:7200::/40", "28573"}, + {"2804:fb4::/34", "263599"}, + {"2001:c20:402::/38", "3758"}, + {"240a:ad67::/32", "146081"}, + {"2600:1406:2201::/37", "20940"}, + {"2606:f180:7::/48", "3356"}, + {"2a00:c60::/32", "8851"}, + {"2a01:c50f:f6c0::/39", "12479"}, + {"2a04:92c7:3::/44", "62240"}, + {"2408:8256:34a0::/39", "17816"}, + {"240e:3bd:5600::/34", "4134"}, + {"2602:fe23::/36", "7018"}, + {"2803:50e0::/32", "269857"}, + {"2a09:bac0:373::/45", "13335"}, + {"2001:559:220::/48", "21508"}, + {"240a:ab82::/32", "145596"}, + {"2607:fdb8::/47", "30496"}, + {"2a02:4260::/29", "60163"}, + {"2a0c:3ec7::/32", "204310"}, + {"2a0e:fd40:be01::/43", "44103"}, + {"2001:7f8:6::/48", "9070"}, + {"240e:ff:f000::/36", "4816"}, + {"2607:ff28:b008::/43", "62904"}, + {"2602:fed2:711c::/48", "53356"}, + {"2804:8570::/32", "272579"}, + {"2a10:bb40::/29", "41050"}, + {"2001:418:4001:3::/64", "2914"}, + {"240e:438:3e40::/33", "4134"}, + {"240e:45c:6300::/40", "140530"}, + {"2806:2f0:44e3::/39", "17072"}, + {"2001:67c:2c88::/47", "60092"}, + {"2001:918:ff76::/47", "8300"}, + {"2001:1248:95b0::/38", "11172"}, + {"2001:1248:9879::/45", "11172"}, + {"240a:a8d8::/32", "144914"}, + {"2606:8e80:1000::/48", "394497"}, + {"2607:fcd0:cd80::/35", "8100"}, + {"2620:106:e00a::/48", "40428"}, + {"2804:36b4::/32", "266366"}, + {"2a02:26f7:de01::/46", "20940"}, + {"2001:fd8:3470::/44", "4775"}, + {"240e:108:1132::/47", "138991"}, + {"2a01:96e0::/32", "35179"}, + {"2a05:8140::/29", "12776"}, + {"2a0f:9400:772b::/48", "207941"}, + {"2a02:26f7:ca84::/48", "36183"}, + {"2001:128c:2004::/33", "25933"}, + {"240a:ab9c::/32", "145622"}, + {"2a0c:b0c0::/29", "64398"}, + {"240a:afd5::/32", "146703"}, + {"240e:108:1270::/44", "140061"}, + {"2607:fc30:200::/40", "396026"}, + {"2804:1c18::/32", "61637"}, + {"2001:559:81b2::/48", "33652"}, + {"2402:3580:9011::/48", "134118"}, + {"2409:8904:8990::/38", "24547"}, + {"240e:438:8c20::/43", "140647"}, + {"2600:1417:61::/48", "24319"}, + {"2804:119c::/32", "263427"}, + {"2a0a:d6c0:1::/48", "51658"}, + {"2401:13c0:6000::/36", "132652"}, + {"240a:a57a::/32", "144052"}, + {"2620:118:a004::/47", "26342"}, + {"2804:3ae8::/32", "266117"}, + {"2001:559:8716::/48", "7725"}, + {"2001:19f0:ccc::/47", "20473"}, + {"2407:8440::/32", "135981"}, + {"2605:4200::/32", "14543"}, + {"2605:a404:c48::/43", "33363"}, + {"2804:78d8::/32", "271269"}, + {"2402:800:332b::/41", "7552"}, + {"240a:a578::/32", "144050"}, + {"2607:f770:8464::/33", "22958"}, + {"2620:149:a15::/48", "714"}, + {"2800:4f0:8::/48", "28006"}, + {"2804:84dc::/32", "272543"}, + {"2a01:5900::/32", "29239"}, + {"2001:1248:8469::/46", "11172"}, + {"240e:9f:d800::/26", "4134"}, + {"2a0e:6200::/29", "8888"}, + {"2001:ac8:87::/48", "9009"}, + {"2600:6000:fb35::/37", "12271"}, + {"2a00:6800::/32", "42730"}, + {"2a0c:cc40::/29", "204790"}, + {"2600:80a:441::/36", "701"}, + {"2804:2178:4004::/47", "264556"}, + {"2409:8a50:900::/38", "56047"}, + {"240e:982:4000::/38", "134768"}, + {"2606:be80::/32", "394678"}, + {"2607:f798:2600::/36", "812"}, + {"2a05:8b80::/29", "201206"}, + {"2c0f:ef40::/32", "328337"}, + {"2401:3c0:101::/46", "45528"}, + {"2407:dc00:4::/39", "9714"}, + {"240e:3b8:c800::/37", "4134"}, + {"240e:45c:1d00::/40", "137401"}, + {"2a01:ce82::/34", "51964"}, + {"2408:834e::/27", "4837"}, + {"240a:a767::/32", "144545"}, + {"2806:20d:59ff::/38", "32098"}, + {"2a02:26f7:d90c::/48", "36183"}, + {"2a02:5680::/32", "41484"}, + {"2806:230:6031::/48", "11888"}, + {"2001:559:c47c::/48", "33651"}, + {"2620:100:e000::/47", "5662"}, + {"2602:feb4:70::/44", "25961"}, + {"2a00:1d70::/32", "39020"}, + {"2a00:aa00::/32", "15663"}, + {"2a00:b840:2::/29", "31472"}, + {"2a01:c9c0:c7::/48", "8891"}, + {"2a02:4e0:2d00::/40", "16135"}, + {"2403:e200::/43", "45543"}, + {"2803:e1c0::/32", "265684"}, + {"2804:28e4:e817::/42", "28260"}, + {"2804:6404::/32", "269398"}, + {"2a02:26f7:b901::/46", "20940"}, + {"2a07:10c0::/48", "203234"}, + {"2a09:4c2:2f::/48", "58133"}, + {"2a0e:fd40:be11::/29", "44103"}, + {"2804:2984:100::/40", "53184"}, + {"2806:2a0:28::/43", "28548"}, + {"2a03:1ac0:2e93::/33", "9049"}, + {"240e:982:d600::/40", "134756"}, + {"2605:8900:5000::/36", "3800"}, + {"2600:380:4180::/37", "20057"}, + {"2603:c010:c000::/36", "31898"}, + {"2607:f480:999::/48", "27435"}, + {"2806:2f0:2122::/48", "17072"}, + {"2a0e:9b42::/32", "213342"}, + {"2401:4900:4ca0::/44", "45609"}, + {"240a:a3b8::/32", "143602"}, + {"2801:80:36e0::/48", "269224"}, + {"2620:10a:8017::/44", "394354"}, + {"2800:be0:3e3::/45", "267848"}, + {"2804:4d84::/32", "268201"}, + {"2001:559:c155::/48", "33651"}, + {"2804:3dc:c2::/42", "52967"}, + {"2a0e:b800:aaaa::/48", "20473"}, + {"2001:579:5a94::/44", "22773"}, + {"240e:438:2c20::/43", "140647"}, + {"2a03:b980::/38", "56730"}, + {"2001:559:c442::/48", "7016"}, + {"2001:da8:225::/48", "24348"}, + {"2408:8256:328d::/43", "17623"}, + {"240a:0:100::/38", "9605"}, + {"2a0e:8f02:f03d::/48", "208223"}, + {"2001:559:80fc::/47", "33657"}, + {"2001:d30:3::/48", "4796"}, + {"2001:559:86cb::/48", "13367"}, + {"2001:559:c2a5::/48", "21508"}, + {"2409:8e00::/32", "56048"}, + {"2604:85c0:8::/47", "16524"}, + {"2a02:1c8:9::/48", "57128"}, + {"2a09:b600:5::/48", "61323"}, + {"240e:1f:1::/48", "58543"}, + {"2800:68::/44", "61468"}, + {"2804:19b0::/32", "61812"}, + {"2606:f900:7604::/46", "812"}, + {"2620:11:50::/47", "3486"}, + {"2804:6580::/32", "269495"}, + {"2a02:26f7:ce09::/42", "20940"}, + {"2001:559:827a::/48", "33651"}, + {"2001:4830:c101::/41", "27552"}, + {"240e:37b:aa00::/39", "140330"}, + {"2804:36f4:9000::/33", "266382"}, + {"2a02:2560:4::/40", "21127"}, + {"2001:4878:2204::/48", "12222"}, + {"2600:1400:2001::/36", "20940"}, + {"2800:bf0:b421::/48", "52257"}, + {"2001:550:1d06::/38", "174"}, + {"2401:4900:5388::/43", "45609"}, + {"2407:e700:12::/32", "132680"}, + {"2409:8959:c954::/38", "56040"}, + {"2803:f7e0:3000::/48", "271773"}, + {"2a03:240::/32", "25009"}, + {"2001:3c8:243::/48", "138685"}, + {"2800:bf0:814c::/48", "27947"}, + {"2001:67c:26c1::/46", "198478"}, + {"2409:8914:1300::/37", "56044"}, + {"2606:7d40:201::/48", "400042"}, + {"2804:7d44::/32", "271550"}, + {"2a10:cc46:100::/44", "58057"}, + {"240e:105:e800::/37", "4134"}, + {"2620:10f:b001::/48", "395700"}, + {"2804:3fd8::/39", "265919"}, + {"2804:6a08::/32", "270307"}, + {"2804:7758::/32", "271172"}, + {"2a07:3500:1a00::/48", "38915"}, + {"2001:559:37a::/48", "33651"}, + {"2001:678:b0::/46", "6736"}, + {"2610:a1:1002::/48", "397220"}, + {"2800:160:12d9::/45", "14259"}, + {"2806:2f0:33e1::/46", "17072"}, + {"2a00:1560:19::/35", "29684"}, + {"2a0d:da07::/32", "53755"}, + {"2a0e:fcc0::/29", "201963"}, + {"2a10:ee00::/32", "212401"}, + {"2c0f:2e00::/38", "328578"}, + {"2001:559:5e::/48", "33651"}, + {"2402:840:d000::/46", "63646"}, + {"2404:c6c0::/48", "135905"}, + {"2606:4700:110::/42", "13335"}, + {"2804:b0c:f003::/45", "52935"}, + {"2a02:26f7:d584::/48", "36183"}, + {"2a06:a004:3000::/33", "61138"}, + {"2a0f:2700:10::/48", "60781"}, + {"2401:d800:f350::/42", "7552"}, + {"240a:a445::/32", "143743"}, + {"2600:1488:a181::/38", "20940"}, + {"2804:7a44::/32", "271359"}, + {"2a00:1128::/32", "21069"}, + {"2a03::/32", "204094"}, + {"2001:4490:dbf0::/46", "9829"}, + {"240a:a1fd::/32", "143159"}, + {"2804:5730::/32", "268050"}, + {"2400:1000:8026::/33", "10021"}, + {"2403:9800:c071::/40", "4648"}, + {"240a:af3c::/32", "146550"}, + {"240e:104::/33", "4134"}, + {"240e:980:2f00::/40", "134760"}, + {"2a06:1e40::/29", "12941"}, + {"2001:1998:6f0::/44", "16787"}, + {"2600:1406:31::/48", "20940"}, + {"2800:bf0:a82b::/43", "52257"}, + {"2c0f:f030:8000::/33", "328137"}, + {"2408:8957:78c0::/39", "17816"}, + {"2607:fb90:c150::/48", "16509"}, + {"2a10:9040::/29", "212795"}, + {"240a:a0c8::/32", "142850"}, + {"240e:983:180a::/48", "133774"}, + {"2607:fb08:5::/32", "32703"}, + {"2620:130:5000::/44", "11714"}, + {"2804:240c::/32", "262289"}, + {"2a00:8a04::/44", "34414"}, + {"2a0d:c000::/29", "205345"}, + {"2c0e:2210::/21", "5713"}, + {"2001:559:82b7::/48", "21508"}, + {"2001:559:c05a::/48", "7016"}, + {"2400:cb00:aa20::/47", "13335"}, + {"240a:a7c3::/32", "144637"}, + {"2a02:26f7:ef80::/48", "36183"}, + {"2405:a6c0::/32", "58820"}, + {"2602:fd92:630::/45", "141011"}, + {"2605:a401:8177::/40", "33363"}, + {"2607:ac80::/40", "17"}, + {"2607:f108:e00::/35", "29838"}, + {"2a03:73a0::/29", "203368"}, + {"2408:8256:359d::/46", "17623"}, + {"2604:a00::/47", "19318"}, + {"2803:6604:c001::/37", "28075"}, + {"2804:4f18::/36", "268303"}, + {"2001:559:c498::/48", "7922"}, + {"2001:67c:18d0::/48", "60216"}, + {"2803:ba00:110::/37", "52286"}, + {"2804:4678::/32", "266991"}, + {"2804:4b94::/32", "267316"}, + {"2a02:27a8::/32", "15626"}, + {"2a0e:1cc0:9::/48", "207846"}, + {"2401:bf00::/32", "17530"}, + {"2804:cc8::/32", "52554"}, + {"2804:6320::/32", "269340"}, + {"2a01:7540::/32", "13097"}, + {"2001:559:84b3::/48", "33657"}, + {"2001:559:c48c::/47", "7922"}, + {"2400:e4c0::/32", "136093"}, + {"240a:a5ad::/32", "144103"}, + {"2804:14d:cc82::/45", "28573"}, + {"2804:22e4::/32", "264129"}, + {"2a02:26f7:50::/48", "36183"}, + {"2804:163c::/39", "263277"}, + {"2a04:5c80::/32", "201365"}, + {"2c0f:ea18::/32", "328519"}, + {"2001:67c:808::/48", "210945"}, + {"2408:8456:9e40::/34", "17816"}, + {"2806:1000:8001::/33", "8151"}, + {"2a02:13f0:8200::/48", "64398"}, + {"2a02:2e02:b50::/40", "12479"}, + {"2001:43d8::/32", "15022"}, + {"2402:800:59ee::/38", "7552"}, + {"2405:4000:800:8::/63", "38082"}, + {"2620:b0::/48", "16796"}, + {"2a03:e040:10::/48", "34879"}, + {"2001:43fe:c000::/48", "328913"}, + {"2401:d800:f752::/40", "7552"}, + {"2402:2b40:a000::/36", "55967"}, + {"2604:d600:1139::/41", "32098"}, + {"2001:df4:ba80::/48", "136306"}, + {"2402:800:52e0::/44", "7552"}, + {"2406:e300:5::/32", "45250"}, + {"2001:df4:ac80::/48", "141048"}, + {"2401:d800:b6b2::/39", "7552"}, + {"2600:370f:51a5::/43", "32261"}, + {"2a10:4b40::/29", "210107"}, + {"2001:1248:a452::/47", "11172"}, + {"2406:3003:207e::/47", "4657"}, + {"2a02:26f7:dc8d::/42", "20940"}, + {"2409:897b::/29", "9808"}, + {"2602:fe0b::/36", "23415"}, + {"2603:8079::/34", "33363"}, + {"2a00:bdc0:f000::/36", "47542"}, + {"2a03:8a00::/36", "13768"}, + {"2a04:b500::/32", "197540"}, + {"2a07:1cc0::/29", "48760"}, + {"2a0a:3c44::/32", "205415"}, + {"2001:43f8:d40::/48", "328998"}, + {"2403:1940:70::/48", "137935"}, + {"2408:8256:2c61::/40", "17623"}, + {"240a:a9f5::/32", "145199"}, + {"240a:ace8::/32", "145954"}, + {"2600:802:721::/36", "701"}, + {"2600:6c34:3e2::/48", "33588"}, + {"2800:160:16ea::/39", "14259"}, + {"2a06:bc0::/29", "213078"}, + {"2a0b:f1c0::/32", "198682"}, + {"2001:559:83::/48", "33652"}, + {"240a:a7e7::/32", "144673"}, + {"2600:9000:2346::/47", "16509"}, + {"2a04:5200::/41", "50113"}, + {"2001:67c:115c::/48", "31554"}, + {"2001:44b8:309c::/48", "4739"}, + {"240e:a50:5c00::/34", "134419"}, + {"2608:c185:1::/48", "6025"}, + {"2800:160:19de::/42", "14259"}, + {"2804:7ca0::/32", "271508"}, + {"2a02:26f7:cf8d::/46", "20940"}, + {"2a0c:9a44::/48", "34927"}, + {"2402:800:590f::/43", "7552"}, + {"2408:8256:3977::/44", "17623"}, + {"2409:8070:30ec::/47", "9808"}, + {"240e:107::/32", "4134"}, + {"2a00:e78:8000::/46", "47530"}, + {"2001:67c:2e18::/48", "50407"}, + {"2402:3a80:40::/46", "38266"}, + {"2804:790c::/32", "52602"}, + {"2a05:6e40::/29", "200552"}, + {"2400:1f00:b0::/44", "45769"}, + {"2600:40f1:1::/39", "701"}, + {"2605:f4c0::/32", "398717"}, + {"2a05:92c0::/29", "12859"}, + {"2606:6800:1000::/40", "394634"}, + {"2606:e480::/39", "55083"}, + {"2402:8100:20e1::/48", "45271"}, + {"2600:140b:c001::/36", "20940"}, + {"2604:d600:1036::/44", "32098"}, + {"2804:21bc:201::/32", "264570"}, + {"2804:60b8::/32", "269186"}, + {"2a00:8a84:1050::/34", "29119"}, + {"2408:8856:8100::/40", "134543"}, + {"2804:5984::/32", "268707"}, + {"2a00:fc20::/32", "200059"}, + {"2a02:2698:4c00::/42", "42682"}, + {"2a02:26f0:af00::/48", "34164"}, + {"2a04:7bc0::/29", "47232"}, + {"2a0e:46c3:202::/40", "208717"}, + {"2001:67c:2648::/48", "13030"}, + {"2402:b801:1900::/34", "18371"}, + {"2408:8001:3020::/41", "17816"}, + {"2804:141c::/32", "53130"}, + {"2804:7b8c::/32", "271438"}, + {"2a00:1eb8:c002::/47", "8764"}, + {"2001:49d0:8400::/38", "2496"}, + {"240a:a711::/32", "144459"}, + {"240e:45::/33", "17638"}, + {"2606:5dc0:e:c::/64", "395561"}, + {"2a01:47e0::/32", "49223"}, + {"2a02:26f0:97::/44", "20940"}, + {"2a04:62c2:1::/45", "47477"}, + {"2a07:4280::/29", "48147"}, + {"240a:a068::/32", "142754"}, + {"2a07:5480::/29", "203034"}, + {"2001:da8:e007::/48", "23910"}, + {"2001:dcd:1::/46", "397226"}, + {"2001:fd8:124::/46", "132199"}, + {"2606:5580:4000::/38", "63242"}, + {"2a10:f980::/29", "49801"}, + {"2001:df4:5100::/48", "18229"}, + {"2402:e280:106::/48", "134674"}, + {"240e:44d:6540::/42", "140348"}, + {"2804:2098::/32", "264500"}, + {"2804:2290::/32", "264108"}, + {"2a0a:9240::/32", "201543"}, + {"2a0e:46c4:2930::/48", "138435"}, + {"2001:678:d9c::/48", "3303"}, + {"2804:e0c:280::/48", "28176"}, + {"2a07:6800::/29", "203443"}, + {"2600:8802:8000::/29", "22773"}, + {"2620:101:900c::/47", "40934"}, + {"2803:d100:9500::/38", "52362"}, + {"2804:260::/32", "53214"}, + {"2804:30f8:b00::/40", "264984"}, + {"2804:5fcc::/32", "269124"}, + {"2a0e:b107:1070::/44", "211622"}, + {"2c0f:feb0::/31", "37100"}, + {"2001:510:207::/44", "376"}, + {"2001:648:2331::/37", "5408"}, + {"2001:67c:2e3c::/48", "57896"}, + {"2001:da8:b814::/44", "23910"}, + {"2001:fd8:f2c0::/42", "132199"}, + {"2408:8001:4000::/32", "4837"}, + {"2409:8915:2200::/39", "56044"}, + {"240a:a15f::/32", "143001"}, + {"240a:a485::/32", "143807"}, + {"2620:171:45::/46", "42"}, + {"2800:e00:4000::/34", "27665"}, + {"2a0c:93c0:8002::/48", "212465"}, + {"240e:14:6800::/37", "133774"}, + {"2605:340:cd02::/48", "396986"}, + {"2620:1e2::/36", "36502"}, + {"2801:14:8800::/48", "267896"}, + {"2804:77c::/37", "53222"}, + {"2804:12cc::/32", "263499"}, + {"2804:1f3c:4000::/35", "269679"}, + {"2001:da8:230::/48", "24349"}, + {"2001:df3:f280::/48", "140712"}, + {"2404:4a00:2:1::/48", "45629"}, + {"2803:6fa0:2::/48", "267790"}, + {"2804:840::/32", "262680"}, + {"2804:6904:4000::/34", "270243"}, + {"2408:84f3:9440::/38", "17816"}, + {"2409:8070:302b::/45", "9808"}, + {"2602:80c:1008::/48", "10796"}, + {"2800:160:206d::/43", "14259"}, + {"2804:42b0::/32", "267519"}, + {"2a0f:fb00::/29", "208178"}, + {"2001:da8:b80b::/45", "23910"}, + {"2400:1c00:64::/48", "45143"}, + {"2a0c:b641:6f0::/46", "210546"}, + {"2001:400:210:89::/55", "293"}, + {"2001:559:260::/48", "33659"}, + {"2600:6c38:364::/37", "20115"}, + {"2001:559:85f6::/48", "7725"}, + {"2804:4b0:588::/35", "262459"}, + {"2804:5800::/32", "52843"}, + {"2001:fb0:109f:8013::/61", "36040"}, + {"240e:44d:7c00::/42", "140345"}, + {"2600:140b:3401::/36", "20940"}, + {"2600:1fa0:6020::/44", "16509"}, + {"2001:1a11:ba::/47", "42298"}, + {"240e:107:c200::/34", "4134"}, + {"2804:1c9c::/32", "61665"}, + {"2804:8440::/32", "272249"}, + {"2a0a:6680:bee1::/48", "203500"}, + {"2001:559:8333::/48", "33287"}, + {"2403:40c0:4::/48", "45215"}, + {"2404:b300:133::/48", "131207"}, + {"2001:678:8f0::/48", "209619"}, + {"2405:1c0:6311::/45", "55303"}, + {"2804:16f8::/32", "263111"}, + {"2804:44e8:301::/32", "267660"}, + {"2a01:1000::/23", "5617"}, + {"2a06:6541:1201::/48", "8220"}, + {"2404:3fc0::/45", "32590"}, + {"240a:a73b::/32", "144501"}, + {"2605:d800::/32", "11067"}, + {"240e:44d:2340::/42", "140361"}, + {"2a02:26f7:a7::/48", "20940"}, + {"2001:44b8:30cb::/48", "4739"}, + {"2401:d800:be90::/42", "7552"}, + {"2605:2800:1201::/32", "6922"}, + {"2803:cae0:1::/48", "3816"}, + {"2a01:298::/40", "30880"}, + {"2a02:26f7:c64c::/48", "36183"}, + {"2a02:4540:5040::/46", "197207"}, + {"2a02:26f0:5401::/39", "20940"}, + {"2a0c:e642::/42", "211323"}, + {"2001:559:87d7::/48", "33287"}, + {"2001:1478:1101::/32", "3257"}, + {"2408:8256:357f::/48", "17816"}, + {"2607:fa00::/32", "30362"}, + {"2804:274::/32", "53217"}, + {"2a0a:eac0::/31", "31143"}, + {"2409:8008:d8::/48", "9808"}, + {"2602:801:c00a::/45", "397849"}, + {"2604:6400::/33", "29974"}, + {"2604:f880::/32", "62695"}, + {"2804:55e0::/32", "267962"}, + {"2a02:26f7:d0c0::/48", "36183"}, + {"2a03:f80:36::/48", "5483"}, + {"2600:6c39:51f::/38", "20115"}, + {"2806:2f0:9cc1::/46", "17072"}, + {"2a02:ac80:61::/43", "25145"}, + {"2a09:9c40::/29", "209148"}, + {"2001:cb0:209::/46", "4637"}, + {"2001:4ba0::/31", "24961"}, + {"2604:d600:155a::/45", "32098"}, + {"2001:579:4280::/36", "22773"}, + {"2804:22c0::/34", "264120"}, + {"2a02:c440::/29", "8399"}, + {"2402:800:7fb0::/41", "7552"}, + {"2803:b440::/32", "263785"}, + {"2a01:77c0:1180::/47", "34848"}, + {"2a02:26f7:ca88::/48", "36183"}, + {"2a11:4180::/29", "1239"}, + {"2001:da8:ab::/48", "24372"}, + {"2001:16a2:c3d0::/42", "39386"}, + {"2400:c400:a001::/31", "45570"}, + {"2404:bf40:a700::/48", "7545"}, + {"2600:2c00:f000::/36", "17378"}, + {"2a00:1850:6e1::/45", "29357"}, + {"2a0c:7780::/29", "21263"}, + {"2001:df1:9780::/48", "56150"}, + {"2409:8018::/34", "134810"}, + {"2a00:c6e0::/32", "12552"}, + {"2a04:4e40:f000::/48", "54113"}, + {"2a06:6c0::/46", "200738"}, + {"2001:559:c467::/44", "7922"}, + {"2600:140f:6800::/48", "9498"}, + {"2a02:26f0:b501::/38", "20940"}, + {"2a02:26f7:cd01::/46", "20940"}, + {"2a05:db80::/29", "41071"}, + {"2a05:edc0::/29", "58314"}, + {"2001:448a:6070::/40", "7713"}, + {"2402:800:f320::/41", "7552"}, + {"2408:80f1:230::/44", "17621"}, + {"2408:8957:e800::/40", "17622"}, + {"2605:b0c0::/32", "11282"}, + {"2a01:8280:3330::/48", "202818"}, + {"2a03:2880:f102::/44", "32934"}, + {"240a:a66e::/32", "144296"}, + {"2a00:5881:6000::/40", "199396"}, + {"2a0f:7b81::/48", "9009"}, + {"2001:67c:22b0::/48", "42564"}, + {"2001:4490:d970::/46", "9829"}, + {"2607:5c80::/32", "14713"}, + {"2804:14c:5b00::/40", "28573"}, + {"2001:c20:7807::/38", "3758"}, + {"2001:ec0:5300::/40", "131293"}, + {"2404:f4c0:6666::/48", "7721"}, + {"240a:abce::/32", "145672"}, + {"2804:18:1820::/41", "26599"}, + {"2804:7880::/32", "271247"}, + {"2a02:26f7:d844::/48", "36183"}, + {"2404:bf00:800::/40", "9303"}, + {"240a:aa90::/32", "145354"}, + {"2600:c10::/32", "19024"}, + {"2800:160:1c53::/45", "14259"}, + {"2804:4764::/32", "267051"}, + {"2a02:45c0:6::/48", "8881"}, + {"2a06:a900::/29", "213358"}, + {"2c0f:ffc8:6004::/32", "22355"}, + {"2001:559:146::/48", "33491"}, + {"2804:5a0c::/32", "268742"}, + {"2a00:edc0:1010::/48", "62597"}, + {"2a03:6080::/45", "16285"}, + {"2001:559:788::/48", "21508"}, + {"2001:1248:a55a::/45", "11172"}, + {"240a:a6ca::/32", "144388"}, + {"2001:4998:efe6::/48", "26085"}, + {"2405:205:9000::/33", "55836"}, + {"2409:8020:61::/43", "56046"}, + {"240a:a76b::/32", "144549"}, + {"2804:214:c009::/34", "26615"}, + {"2804:44c4::/32", "267652"}, + {"2001:559:8116::/47", "7922"}, + {"2001:eb0:104::/32", "9584"}, + {"240e:3b3:ac00::/35", "4134"}, + {"2803:6410::/32", "271855"}, + {"2a03:a080::/32", "198145"}, + {"2602:103:c000::/29", "20115"}, + {"2804:3d4c::/32", "266266"}, + {"2001:559:856f::/48", "33652"}, + {"2403:1cc0:2000::/48", "45352"}, + {"2604:5dc0::/32", "21788"}, + {"2804:33fc::/32", "265429"}, + {"2806:230:fff4::/44", "265594"}, + {"2a01:6e0::/32", "12976"}, + {"2a04:9444::/30", "25584"}, + {"2a0c:b641:510::/48", "209586"}, + {"2a0e:800:fff0::/48", "208328"}, + {"2001:559:8500::/48", "33490"}, + {"2a05:7380::/29", "201283"}, + {"2001:559:40e::/43", "33659"}, + {"2409:8c2f::/34", "56041"}, + {"2600:1003:9450::/36", "22394"}, + {"2600:1010:e010::/36", "22394"}, + {"2a06:e881:2000::/44", "206313"}, + {"2a11:df80::/29", "204790"}, + {"2a12:5780::/29", "204790"}, + {"2001:67c:2c3c::/48", "29226"}, + {"2409:896a:2400::/39", "9808"}, + {"240e:968:3000::/30", "4134"}, + {"2001:470:13a::/45", "6939"}, + {"2806:2f0:9ba3::/41", "17072"}, + {"2a05:7100::/29", "42673"}, + {"2804:21a4:3800::/32", "53190"}, + {"2a12:a640::/29", "400522"}, + {"2001:559:2d8::/47", "7922"}, + {"2409:8087:5803::/37", "9808"}, + {"2620:3a:4000::/44", "36711"}, + {"2806:20d:540b::/39", "32098"}, + {"2a02:26f7:dd48::/48", "36183"}, + {"2a0d:3000::/30", "205544"}, + {"2001:1838::/35", "23352"}, + {"2804:90c:102::/45", "262617"}, + {"2a04:2b00:14ee::/48", "212391"}, + {"2409:8051:1100::/37", "9808"}, + {"2804:4b18::/32", "267283"}, + {"2a01:5ec0:b000::/36", "44244"}, + {"2a03:b700::/32", "51269"}, + {"2402:800:38e0::/44", "7552"}, + {"2402:800:9c01::/43", "7552"}, + {"2405:7f00:92a0::/39", "133414"}, + {"2408:8256:b98::/37", "17622"}, + {"2604:6840:ff::/48", "20446"}, + {"2804:48fc::/32", "267157"}, + {"2a0b:ffc0::/40", "207013"}, + {"240a:a23b::/32", "143221"}, + {"2806:2f0:81a1::/46", "17072"}, + {"2806:322:2100::/37", "28546"}, + {"2a02:26f7:c0c8::/48", "36183"}, + {"2404:8d00::/35", "24378"}, + {"2804:14c:65e1::/45", "28573"}, + {"2001:253:130::/48", "142096"}, + {"2001:67c:2110::/48", "28734"}, + {"2403:3a40::/32", "55933"}, + {"2806:250:6::/47", "28554"}, + {"2a05:e40:1400::/34", "59909"}, + {"2001:df7:480::/48", "138754"}, + {"2400:cb00:a430::/45", "13335"}, + {"2402:e380:303::/48", "134496"}, + {"2804:1e0::/32", "262784"}, + {"2a02:800::/32", "9119"}, + {"2a03:2880:f265::/46", "32934"}, + {"2605:4c40:105::/43", "30081"}, + {"2a02:20b2::/32", "16278"}, + {"2801:0:4c0::/48", "266736"}, + {"2801:1f0:4050::/32", "3573"}, + {"2806:370:2150::/44", "28403"}, + {"2001:67c:27ec::/48", "50304"}, + {"2401:5ac0::/32", "131923"}, + {"2402:9e80::/47", "7489"}, + {"240a:a145::/32", "142975"}, + {"240e:3b7:dc00::/34", "4134"}, + {"2001:2022::/27", "1299"}, + {"2606:2800:41f::/42", "15133"}, + {"2804:854:a::/47", "61832"}, + {"2804:3a90::/32", "266096"}, + {"2a02:26f0:f501::/38", "20940"}, + {"2a06:7ec0::/29", "201011"}, + {"2a0f:2fc0::/32", "203115"}, + {"2a0b:8380::/29", "60580"}, + {"2a0b:cbc1::/29", "200780"}, + {"2401:ee00:2100::/32", "23951"}, + {"2803:5440:4038::/48", "264738"}, + {"2804:5ac4::/43", "268795"}, + {"2a01:ce80::/34", "51964"}, + {"2001:678:5dc::/48", "204675"}, + {"2406:3003:1000::/43", "55430"}, + {"240a:af17::/32", "146513"}, + {"2600:1003:f110::/37", "22394"}, + {"2600:1409:b000::/48", "35994"}, + {"2600:1480:e000::/40", "33905"}, + {"2804:4e70::/32", "268261"}, + {"2001:1b70:82ad::/46", "158"}, + {"240e:924::/36", "132147"}, + {"2620:f:8000::/48", "27500"}, + {"2804:7b00::/32", "271405"}, + {"2a02:26f7:ee80::/48", "36183"}, + {"2602:feda:be0::/48", "38173"}, + {"2a02:26f7:ea48::/48", "36183"}, + {"2a04:92c7:fa11::/37", "62240"}, + {"2001:678:55c::/48", "12552"}, + {"2401:b0c0:1011::/36", "136941"}, + {"2620:2e:40c0::/48", "394506"}, + {"2a02:26f7:e400::/48", "36183"}, + {"2a0b:4340:c0::/48", "44421"}, + {"2a0c:1140::/29", "48611"}, + {"240a:a904::/32", "144958"}, + {"240e:e4::/31", "4134"}, + {"2804:76c4::/32", "271133"}, + {"2a00:ee8::/32", "43503"}, + {"2a00:bbe0::/29", "60414"}, + {"2a02:26f0:c701::/36", "20940"}, + {"2a02:26f7:ca04::/48", "36183"}, + {"2a02:26f7:df08::/48", "36183"}, + {"2a07:4843::/48", "64245"}, + {"2001:579:9042::/44", "22773"}, + {"2400:cb00:326::/48", "13335"}, + {"240a:ae0a::/32", "146244"}, + {"2404:c0:9400::/36", "23693"}, + {"2408:8956:9100::/40", "17816"}, + {"2409:8b02::/32", "38019"}, + {"2604:5000::/35", "7752"}, + {"2803:3f80::/38", "263739"}, + {"2803:4220::/32", "27843"}, + {"2804:5a14::/32", "268747"}, + {"2a0e:46c4:101::/48", "137490"}, + {"2806:2f0:2060::/48", "17072"}, + {"2a02:26f7:c08c::/48", "36183"}, + {"2a06:6541:2001::/48", "46887"}, + {"2a0d:77c7:792d::/32", "7489"}, + {"2001:559:13a::/48", "7016"}, + {"2408:84f3:f660::/40", "17623"}, + {"2a0b:7040::/29", "208819"}, + {"2402:800:959b::/42", "7552"}, + {"2409:8050:900::/37", "9808"}, + {"2a02:2b80:393::/48", "45012"}, + {"2404:f340::/34", "139070"}, + {"2408:84f3:3040::/44", "17623"}, + {"240e:16:b800::/33", "4134"}, + {"2a02:7e80::/32", "20655"}, + {"2a0f:c100::/29", "56485"}, + {"2c0f:f7a8:9010::/47", "4809"}, + {"2c0f:f8f0::/32", "30969"}, + {"240e:44d:6d00::/42", "140345"}, + {"2604:5e40::/32", "16409"}, + {"2804:4b4c:400::/32", "267296"}, + {"2001:559:30a::/48", "7922"}, + {"2001:559:c32f::/48", "33659"}, + {"2607:6200::/32", "21817"}, + {"2804:3b84::/32", "266154"}, + {"2a07:2f00:1337::/48", "12502"}, + {"2605:1c00:50f0::/44", "16787"}, + {"2800:484:b00::/40", "14080"}, + {"2804:71c::/32", "53080"}, + {"2a0e:e580::/29", "204394"}, + {"2001:4840::/32", "7029"}, + {"2607:f3a0:a00b::/33", "23342"}, + {"2800:bf0:3460::/46", "52257"}, + {"2804:7c0::/32", "262316"}, + {"2a02:250:ffff::/48", "39570"}, + {"2a03:2880:f046::/44", "32934"}, + {"240a:a10b::/32", "142917"}, + {"240a:add4::/32", "146190"}, + {"2803:cae0:8020::/48", "3549"}, + {"2a02:26f7:c484::/48", "36183"}, + {"2a11:6880::/29", "204790"}, + {"2001:579:c0dc::/46", "22773"}, + {"2604:b300:ad03::/48", "394896"}, + {"2620:2d:4000::/46", "41231"}, + {"2a06:bdc0::/35", "62240"}, + {"2a0d:5600:33::/48", "63473"}, + {"2001:4350::/35", "2609"}, + {"2403:600:b001::/48", "7641"}, + {"2001:4c8:1069::/40", "15290"}, + {"2408:840c::/40", "17621"}, + {"240e:44d:7e00::/41", "140345"}, + {"2600:6c38:8b9::/41", "20115"}, + {"2806:230:6024::/48", "265594"}, + {"2a01:c910::/28", "3215"}, + {"2a0e:6440::/32", "208501"}, + {"2605:cd00::/32", "53907"}, + {"2a02:88d:4020::/44", "48695"}, + {"240a:a09b::/32", "142805"}, + {"240a:a2a6::/32", "143328"}, + {"240a:ae30::/32", "146282"}, + {"2605:a000:c0f::/35", "10796"}, + {"2804:2368::/32", "264160"}, + {"2c0f:f800::/28", "37053"}, + {"2600:141b:e801::/35", "20940"}, + {"2801:1ec::/42", "19429"}, + {"2a00:1108::/32", "8771"}, + {"2a07:b00::/29", "29468"}, + {"2400:ee80::/34", "45177"}, + {"2402:800:9671::/40", "7552"}, + {"2804:6b58::/32", "270394"}, + {"2001:559:c243::/48", "7922"}, + {"2404:8d06:8100::/36", "10089"}, + {"2001:559:83d8::/48", "33661"}, + {"240a:a532::/32", "143980"}, + {"2607:6100:1003::/48", "54380"}, + {"2804:7934::/34", "271291"}, + {"2a0a:ab40::/47", "205988"}, + {"2408:820c:6840::/32", "17621"}, + {"240e:6:d021::/39", "4134"}, + {"2a00:1b18::/32", "47527"}, + {"2a0b:7fc0::/29", "43668"}, + {"2a0e::/26", "31549"}, + {"2001:67c:25a0::/48", "41954"}, + {"2600:100b:9010::/39", "6167"}, + {"2606:4280:4000::/36", "16696"}, + {"2804:259c::/32", "52772"}, + {"2c0f:fc89:12f::/33", "36992"}, + {"2400:580:9::/48", "4766"}, + {"2801:80:1230::/48", "264347"}, + {"2a05:d03a:e000::/40", "16509"}, + {"2001:579:d124::/41", "22773"}, + {"240e:44d:5e80::/41", "4134"}, + {"2800:160:1c06::/44", "14259"}, + {"2a0b:3900::/31", "58310"}, + {"2a11:6f00::/29", "20592"}, + {"2001:250:700a::/45", "24370"}, + {"2001:4878:2261::/48", "12222"}, + {"2400:df40::/32", "18042"}, + {"240a:a545::/32", "143999"}, + {"2801:0:80::/48", "262148"}, + {"2804:2b4c::/32", "262960"}, + {"2a01:8160::/32", "44454"}, + {"2409:8028:3004::/47", "56041"}, + {"2620:149:522::/43", "714"}, + {"2a02:350::/29", "16246"}, + {"2a06:1280:ce05::/48", "204136"}, + {"2a0b:f4c0:400::/48", "205100"}, + {"2001:590:1006::/48", "20940"}, + {"2001:df6:4900::/48", "139195"}, + {"2806:250:8::/47", "28545"}, + {"2001:559:87a0::/48", "33650"}, + {"2001:df6:5080::/48", "137655"}, + {"2001:fd8:2138::/41", "4775"}, + {"2001:1b70:8600::/48", "395592"}, + {"2402:3a80:c041::/48", "38266"}, + {"2405:9800:c700::/47", "45458"}, + {"2a0f:1e40::/32", "58055"}, + {"2001:559:3b6::/48", "33659"}, + {"2a01:8840:fb::/48", "207266"}, + {"2c0f:3a00::/32", "328835"}, + {"2401:d900::/32", "10003"}, + {"2406:4440::/44", "38008"}, + {"240a:a9fb::/32", "145205"}, + {"240e:438:3640::/36", "4134"}, + {"240e:44d:2d00::/42", "140345"}, + {"2a0c:be00::/32", "209846"}, + {"2a0d:c00::/29", "29632"}, + {"2a02:26f7:e845::/46", "20940"}, + {"2610:20:500a::/48", "5744"}, + {"2803:3b60::/32", "269811"}, + {"2804:640:3e96::/32", "262713"}, + {"2a00:17a8::/32", "8478"}, + {"2001:df5:ac80::/48", "140768"}, + {"2408:8956:8400::/40", "17622"}, + {"2600:6c7f:9150::/44", "20115"}, + {"2804:e00:a000::/33", "11419"}, + {"2804:6838::/32", "269677"}, + {"2001:500:16::/42", "12041"}, + {"240a:ab4c::/32", "145542"}, + {"2600:140f:d800::/48", "55836"}, + {"2600:e009::/32", "22995"}, + {"2803:d100:ee80::/42", "52362"}, + {"2001:559:79a::/48", "33490"}, + {"2a00:e6c0::/32", "198385"}, + {"2a06:4101::/32", "394094"}, + {"2001:250:e03::/48", "23910"}, + {"2602:ffc5:cb0::/44", "395839"}, + {"2605:c4c0::/32", "398338"}, + {"2a04:11c0::/29", "48252"}, + {"2a0c:9a40:81fb::/48", "213253"}, + {"240a:a37c::/32", "143542"}, + {"2620:11d:9002:600::/56", "14805"}, + {"2405:9800:bc00::/40", "133481"}, + {"2408:8957:1600::/40", "17622"}, + {"2409:804c:31::/36", "9808"}, + {"240a:ab5c::/32", "145558"}, + {"2a02:26f7:d089::/42", "20940"}, + {"2620:a1::/48", "19285"}, + {"2400:7500::/32", "45325"}, + {"2402:ef34::/32", "7633"}, + {"2600:1012:a000::/43", "6167"}, + {"2620:171:6e::/43", "715"}, + {"2404:bfc0::/32", "135859"}, + {"2600:1409:7001::/36", "20940"}, + {"2804:18:900::/35", "26599"}, + {"2804:1c54::/32", "61650"}, + {"2a01:5ec0:d000::/34", "44244"}, + {"2a0a:16c0::/32", "48464"}, + {"2a0e:b107:c96::/48", "140938"}, + {"2402:ad80::/48", "59257"}, + {"240a:af80::/32", "146618"}, + {"2a0c:5900::/29", "202120"}, + {"2001:418:1401:1d::/58", "2914"}, + {"2402:6940:307::/37", "7645"}, + {"240a:a8b1::/32", "144875"}, + {"240a:a8d9::/32", "144915"}, + {"2600:1008:b140::/42", "6167"}, + {"2a01:8840:be::/41", "12041"}, + {"2a02:ac80:51::/42", "25145"}, + {"2001:559:23d::/48", "7922"}, + {"2001:4490:dfa8::/46", "9829"}, + {"240a:afc3::/32", "146685"}, + {"2804:c44::/32", "52917"}, + {"2804:69d4::/32", "270294"}, + {"2a01:a740::/32", "61157"}, + {"2a0e:2980::/48", "34568"}, + {"2001:978:8802::/39", "174"}, + {"2001:1248:596d::/46", "11172"}, + {"2001:57a:104::/40", "22773"}, + {"2804:224::/32", "262792"}, + {"2a07:7b00::/29", "60960"}, + {"2001:250:80d::/46", "138182"}, + {"2401:de00::/32", "7497"}, + {"2607:fb10:2042::/48", "55095"}, + {"2001:559:4e1::/48", "20214"}, + {"2001:1a40::/44", "5416"}, + {"2405:9800:b01a::/48", "45430"}, + {"2607:d500:300::/47", "13768"}, + {"2a01:488:bb0e::/48", "397513"}, + {"2605:dd40:1000::/33", "398549"}, + {"2a03:7580:4000::/40", "34530"}, + {"2001:ee0:400::/35", "45899"}, + {"2406:840:300::/48", "139317"}, + {"240a:aa53::/32", "145293"}, + {"2620:a9:8008::/45", "62872"}, + {"2620:101:1000::/42", "589"}, + {"2804:8:6::/33", "14840"}, + {"2a0a:340:1a00::/40", "56807"}, + {"2a0e:b107:3f8::/45", "57883"}, + {"2001:559:c1c3::/48", "7922"}, + {"2401:d800:b460::/40", "7552"}, + {"2a07:5200::/48", "213208"}, + {"2a0b:c700::/29", "204403"}, + {"2a0c:b641:5e0::/44", "212912"}, + {"2a0e:3dc0::/32", "49981"}, + {"2404:63c0:40::/44", "131645"}, + {"2a0b:d2c0::/29", "205452"}, + {"2a0e:3840:801::/48", "40676"}, + {"2a0e:8f02:f018::/48", "212057"}, + {"2409:8053:800::/40", "56047"}, + {"2600:1000:a120::/36", "22394"}, + {"2610:120:aab::/32", "33606"}, + {"2803:1ec0::/32", "265671"}, + {"2a02:26f7:ce40::/48", "36183"}, + {"2001:1280:2000::/36", "16685"}, + {"240a:a95f::/32", "145049"}, + {"2600:80d::/44", "6984"}, + {"2804:4260::/32", "267496"}, + {"2a0b:e880::/29", "205614"}, + {"240a:a490::/32", "143818"}, + {"2a03:ebc0:1000::/36", "31400"}, + {"2001:410:a002::/43", "8111"}, + {"2404:de80:400::/40", "137443"}, + {"240a:a24e::/32", "143240"}, + {"2600:1014:a110::/36", "22394"}, + {"2600:6c2e:c81::/39", "20115"}, + {"2602:feda:bf0::/44", "139328"}, + {"2803:d100:9780::/43", "52362"}, + {"2804:1094:c000::/34", "263641"}, + {"2804:27e0::/32", "262817"}, + {"2001:44b8:14::/46", "4739"}, + {"2620:1f:8004::/48", "10908"}, + {"2804:4004::/32", "265928"}, + {"2001:559:c0d0::/47", "20214"}, + {"2806:2f0:2103::/43", "22884"}, + {"2a00:d0c0::/39", "58010"}, + {"2001:67c:23b8::/48", "5524"}, + {"2408:8456:9810::/42", "134543"}, + {"2409:896d:5708::/27", "9808"}, + {"240e:bf:b8f4::/46", "138513"}, + {"2600:6c10:c2b::/43", "20115"}, + {"2600:6c3a:824::/43", "20115"}, + {"2600:6c38:104::/47", "20115"}, + {"2804:2674:a::/48", "264344"}, + {"2804:5b1c::/32", "268819"}, + {"2a02:4840::/46", "52048"}, + {"2a07:9944:1a::/48", "8100"}, + {"2605:1c00:1ff0::/44", "16787"}, + {"2804:4098::/34", "265969"}, + {"2a02:26f7:111::/48", "20940"}, + {"2a02:26f7:f6c0::/48", "36183"}, + {"2001:559:782::/45", "7015"}, + {"2406:840:5860::/47", "139317"}, + {"2409:8958:cc54::/39", "56040"}, + {"2600:6c38:a96::/44", "20115"}, + {"2603:c001:2410::/38", "31898"}, + {"2804:2abc::/32", "264091"}, + {"2a00:55a0:f000::/40", "9009"}, + {"2a02:26f7:b680::/48", "36183"}, + {"2804:d90::/32", "52639"}, + {"2001:559:c199::/48", "7015"}, + {"2804:cb0:b000::/33", "52742"}, + {"2804:3e04::/35", "266568"}, + {"2a0e:97c3:4c2::/48", "20473"}, + {"2a0e:b107:1408::/48", "208548"}, + {"2401:7400:8888:12::/33", "4773"}, + {"2409:802f:290b::/48", "9808"}, + {"2605:ea80::/32", "32709"}, + {"2a00:1bd8::/32", "8315"}, + {"2a05:1c47::/32", "201594"}, + {"240e:45c:cc00::/31", "131285"}, + {"2a02:26f7:e200::/48", "36183"}, + {"2a02:2e02:8ca0::/41", "12479"}, + {"2001:559:86b8::/47", "7922"}, + {"2408:840c:ba00::/40", "17621"}, + {"2408:8456:6000::/42", "17622"}, + {"2803:9800:5200::/34", "11664"}, + {"2804:2108::/32", "264528"}, + {"2a09:87c0:ffff::/48", "59497"}, + {"2001:559:803c::/48", "33491"}, + {"2401:d800:2b90::/42", "7552"}, + {"240a:a5b2::/32", "144108"}, + {"240a:ae67::/32", "146337"}, + {"2a01:68c0::/32", "35168"}, + {"2a02:26f7:bf05::/46", "20940"}, + {"2a05:1c0::/29", "201508"}, + {"2001:559:8331::/48", "33657"}, + {"2001:67c:2d88::/48", "3320"}, + {"2a00:9d80::/32", "28876"}, + {"2a09:1740::/29", "25582"}, + {"2001:df6:3e80::/48", "141993"}, + {"2600:900::/28", "7896"}, + {"2804:bb4:201::/32", "52812"}, + {"2a02:26f0:5701::/36", "20940"}, + {"2a02:26f7:e9c9::/46", "20940"}, + {"2a0c:b641:7af::/48", "207268"}, + {"2001:1378::/32", "52250"}, + {"2405:2300:ff46::/42", "13443"}, + {"2804:67f4::/32", "269661"}, + {"2a09:4c0:b01::/37", "58057"}, + {"240e:44d:3b80::/41", "4134"}, + {"240a:a2f0::/32", "143402"}, + {"2606:1980:104::/48", "54994"}, + {"2804:14c:4395::/41", "28573"}, + {"2804:9d0::/32", "262995"}, + {"2a03:efc0:1300::/40", "33438"}, + {"2a0b:4341:2e00::/48", "35487"}, + {"2001:559:7a5::/48", "7016"}, + {"2001:559:c388::/48", "33657"}, + {"2a0e:a3c0::/29", "33770"}, + {"2605:4c40:101::/45", "30081"}, + {"2804:6f8c::/32", "270668"}, + {"2a09:6880::/29", "56814"}, + {"2408:8256:3560::/44", "17623"}, + {"240c:c019::/26", "23910"}, + {"240e:3b4:8200::/35", "140316"}, + {"2620:146:d::/48", "16500"}, + {"2a02:7980::/39", "43937"}, + {"2a0c:4840::/29", "204296"}, + {"2001:c20:c83a::/45", "3758"}, + {"2001:4878:a031::/48", "12222"}, + {"2402:800:9301::/44", "7552"}, + {"2402:c800:caff::/34", "38639"}, + {"2a0d:2587::/34", "142553"}, + {"2603:c026:4000::/35", "31898"}, + {"2804:8214::/32", "272497"}, + {"2001:400:2411::/33", "293"}, + {"2409:8904:39a0::/38", "24547"}, + {"2409:8c50:402::/36", "56047"}, + {"2803:71e0::/32", "270007"}, + {"2803:c880::/32", "398712"}, + {"2a0d:82c7:1000::/48", "47787"}, + {"2a0e:eec6::/32", "398343"}, + {"2001:480:32::/47", "668"}, + {"2001:559:478::/48", "20214"}, + {"2409:8050:2::/40", "56047"}, + {"2800:9a7:3070::/32", "14522"}, + {"2001:559:c13b::/45", "7922"}, + {"2a01:8140::/32", "42331"}, + {"2404:2080::/32", "131270"}, + {"2409:8a0c::/30", "56042"}, + {"240a:a9b1::/32", "145131"}, + {"2801:1a2:6::/48", "269845"}, + {"2001:250:5872::/48", "23910"}, + {"2001:559:35d::/48", "33287"}, + {"2001:559:86d4::/48", "7015"}, + {"2804:6f0c::/32", "270635"}, + {"2a06:78c0:db::/48", "210079"}, + {"2a0a:2303::/32", "202572"}, + {"2a0b:d40::/29", "59437"}, + {"2400:3c00:2::/32", "38258"}, + {"2408:8459:610::/41", "17622"}, + {"2600:1003:b000::/41", "6167"}, + {"2800:bf0:1ce::/43", "27947"}, + {"2803:810:2021::/48", "271822"}, + {"2a00:10d0::/32", "5588"}, + {"2a01:c50f:d0c0::/39", "12479"}, + {"2a02:26f7:82::/48", "36183"}, + {"2a02:e980:117::/42", "19551"}, + {"2a03:2880:f13b::/45", "32934"}, + {"2400:a980:900::/37", "133111"}, + {"2403:df40:118::/32", "14630"}, + {"2607:fdf0:5e42::/43", "8008"}, + {"2800:bf0:79::/45", "27947"}, + {"2804:46ec:3400::/32", "267020"}, + {"2804:85c0::/34", "272598"}, + {"2a07:440::/30", "49532"}, + {"240a:adca::/32", "146180"}, + {"2600:2800::/30", "13490"}, + {"2804:2a10::/32", "264054"}, + {"2806:260:1015::/44", "13999"}, + {"2001:978:3c03::/45", "174"}, + {"2001:4878:8158::/48", "12222"}, + {"2404:7f40:ffff::/48", "138645"}, + {"2409:8904:37a0::/36", "24547"}, + {"240a:a360::/32", "143514"}, + {"2600:6400::/28", "14371"}, + {"2801:80:bf0::/48", "61867"}, + {"2806:2f0:70a3::/41", "17072"}, + {"2a00:1c18::/38", "31463"}, + {"2a01:d8::/45", "5537"}, + {"2a01:581:9::/45", "9136"}, + {"2a0b:1300::/34", "198018"}, + {"2402:800:57b7::/41", "7552"}, + {"2804:53c0::/32", "268604"}, + {"2a02:2698:800::/38", "57044"}, + {"2a0d:f480::/29", "57933"}, + {"2403:71c0::/48", "43959"}, + {"2800:4b0:880d::/46", "12252"}, + {"2a0c:32c0::/48", "61183"}, + {"2406:c80::/32", "132092"}, + {"2804:565c::/32", "267993"}, + {"2806:2f0:4083::/42", "17072"}, + {"2001:559:8462::/48", "33661"}, + {"2408:8256:3960::/44", "17623"}, + {"2600:1417:64::/47", "20940"}, + {"2605:6480::/32", "92"}, + {"2607:6b80:5e::/48", "133480"}, + {"2806:2fb::/32", "265547"}, + {"240a:a2f6::/32", "143408"}, + {"240e:3b7:9c00::/34", "140310"}, + {"2600:6c38:e6::/44", "20115"}, + {"2803:4e80::/32", "263232"}, + {"2a03:e140:f::/48", "42608"}, + {"2a06:a001:a0b2::/48", "210260"}, + {"2a09:a4c3::/29", "208861"}, + {"2a0b:8e00::/47", "1921"}, + {"2604:d600:110f::/43", "32098"}, + {"240e:5a:7000::/29", "4134"}, + {"2607:f450::/32", "19170"}, + {"2800:190:101::/44", "11664"}, + {"2804:4d3c:a48::/35", "267420"}, + {"2a01:8840:3d::/48", "207266"}, + {"2a02:26f7:d64d::/46", "20940"}, + {"240a:a90a::/32", "144964"}, + {"2804:60d4:4100::/34", "269194"}, + {"2a02:26f7:f9c4::/48", "36183"}, + {"2800:68:dc1::/35", "61468"}, + {"2804:2e4:ffaf::/41", "53234"}, + {"2a00:8da0::/32", "6696"}, + {"2001:559:9c::/46", "33651"}, + {"240e:40:d::/43", "4134"}, + {"2a02:46e0:1dd::/32", "60049"}, + {"2401:d800:9200::/42", "7552"}, + {"2607:fb10:70f0::/44", "55095"}, + {"2804:5154::/40", "268445"}, + {"2a00:d3c0::/32", "204165"}, + {"240e:397:1b00::/37", "140494"}, + {"2a04:4e40:bef0::/48", "54113"}, + {"240a:a8c5::/32", "144895"}, + {"2607:f170:180::/32", "6364"}, + {"2804:7224::/32", "270835"}, + {"2400:1680::/32", "58895"}, + {"240a:a2fd::/32", "143415"}, + {"2602:fed2:7034::/48", "62997"}, + {"2602:ffe4:c05::/46", "21859"}, + {"2a01:4ce0::/41", "19624"}, + {"2a0f:9100::/32", "212906"}, + {"2001:559:c2c3::/48", "7015"}, + {"2001:44c8:43e0::/37", "131445"}, + {"2001:4930:4000::/32", "19530"}, + {"2402:800:a000::/35", "7552"}, + {"2402:8100:30b0::/41", "55644"}, + {"240a:a83f::/32", "144761"}, + {"2804:1dd4::/32", "264397"}, + {"2a02:26f7:c901::/46", "20940"}, + {"2600:6c3a:831::/46", "20115"}, + {"2801:19:c800::/48", "64050"}, + {"2804:279c:d000::/34", "263913"}, + {"2804:2c58:1310::/32", "265211"}, + {"2a00:1288:80::/48", "203220"}, + {"2602:fefa::/32", "64267"}, + {"2603:90be::/32", "12271"}, + {"2607:f098:1100::/34", "33363"}, + {"2801:181::/48", "271954"}, + {"2804:69e8::/32", "270299"}, + {"2a02:5c80::/32", "5602"}, + {"2001:da8:e008::/43", "24367"}, + {"2a03:5f80:8::/46", "50952"}, + {"2408:8957:3d00::/40", "17816"}, + {"240a:a53f::/32", "143993"}, + {"2804:2658:800::/32", "264328"}, + {"2405:e400::/32", "9268"}, + {"2800:160:1c0f::/43", "14259"}, + {"2804:67a4:11a::/42", "269641"}, + {"2a0a:ed40::/29", "8881"}, + {"2001:503:d414::/48", "397197"}, + {"2001:1248:5969::/45", "11172"}, + {"2408:8256:3c80::/48", "17816"}, + {"2a0c:b641:73b::/45", "207338"}, + {"240e:3b7:2c00::/35", "134774"}, + {"2620:130:3011::/46", "62861"}, + {"2001:c20:48c3::/48", "3758"}, + {"2800:160:1936::/47", "14259"}, + {"2804:4f1c::/32", "268304"}, + {"2804:78b8::/32", "271261"}, + {"240e:44d:a00::/41", "140345"}, + {"2001:559:201::/48", "33660"}, + {"2401:af40::/32", "41690"}, + {"2606:5640::/32", "399673"}, + {"2a03:a1a0::/32", "201004"}, + {"2001:e48:48::/40", "9583"}, + {"2001:44b8:4053::/48", "4739"}, + {"240a:a3ba::/32", "143604"}, + {"2600:141d:3::/32", "20940"}, + {"2804:4a24:69::/48", "267221"}, + {"2a01:578:14::/32", "16509"}, + {"2a02:1c8:40::/44", "60095"}, + {"2a04:240::/29", "3222"}, + {"2001:738::/46", "1955"}, + {"2001:b80::/29", "12767"}, + {"2001:1260:500::/32", "13591"}, + {"2404:a700::/32", "33182"}, + {"2604:d600:1065::/43", "32098"}, + {"2804:3064::/32", "264948"}, + {"2001:559:8514::/48", "33491"}, + {"2001:678:1c::/48", "35052"}, + {"2001:49d0:1c0::/32", "2495"}, + {"2401:4900:5600::/42", "45609"}, + {"2405:6600:c44::/32", "45845"}, + {"240a:a2b1::/32", "143339"}, + {"2804:14d:c800::/40", "28573"}, + {"2a02:7100::/32", "12942"}, + {"2001:559:80e3::/48", "33659"}, + {"2001:67c:780::/48", "200643"}, + {"2001:df1:801::/48", "133752"}, + {"2001:4490:efe8::/43", "9829"}, + {"2408:8409:c00::/40", "4808"}, + {"2408:84f3:f860::/40", "17623"}, + {"240a:aabf::/32", "145401"}, + {"2804:3ebc::/32", "266618"}, + {"2001:268::/36", "2516"}, + {"240a:a12f::/32", "142953"}, + {"240a:af6c::/32", "146598"}, + {"2602:ffd8::/36", "29838"}, + {"2604:6600:fdb7::/41", "40676"}, + {"2804:7300::/32", "270889"}, + {"2a0a:2400::/32", "206157"}, + {"2a0b:5e00::/29", "50309"}, + {"2001:250:85c::/42", "138182"}, + {"2001:67c:28d8::/48", "48345"}, + {"2804:8238::/32", "272506"}, + {"2a02:f5c0::/32", "207388"}, + {"240e:438:c40::/38", "4134"}, + {"2804:2674:8000::/48", "264344"}, + {"2804:7a38::/32", "271356"}, + {"2a10:2f00:168::/48", "211640"}, + {"240a:a7c2::/32", "144636"}, + {"2804:145c:81d0::/37", "263327"}, + {"2804:2e20::/32", "265326"}, + {"2804:70a4::/32", "270739"}, + {"2001:448a:4050::/42", "7713"}, + {"2607:b580:15::/46", "19754"}, + {"2001:418:1401:7::/64", "20940"}, + {"2406:400::/32", "7654"}, + {"2406:4440:e000::/40", "140938"}, + {"2804:54e8::/32", "268677"}, + {"2a02:26f0:701::/36", "20940"}, + {"2a05:fa40::/29", "197524"}, + {"2400:d400:d51::/48", "45671"}, + {"2402:8100:2200::/42", "55644"}, + {"2607:fd48:10a:1::/56", "13536"}, + {"2610:20::/37", "33343"}, + {"2620:134:1000::/44", "30025"}, + {"2620:1e1::/36", "26848"}, + {"2804:14c:de8a::/43", "28573"}, + {"2804:7ea4::/32", "271637"}, + {"2804:8320::/32", "272178"}, + {"2a00:53c0::/32", "57084"}, + {"2001:b10:e000::/35", "13293"}, + {"2405:9800:5a::/45", "131445"}, + {"240e:1c:1000::/36", "58461"}, + {"2804:41f4:2000::/38", "267468"}, + {"2a02:dd00::/29", "57388"}, + {"2409:8061:2903::/35", "9808"}, + {"2600:1404:9c01::/38", "20940"}, + {"2604:ccc0::/32", "46506"}, + {"2804:bac::/32", "262317"}, + {"2804:673c:4000::/32", "269615"}, + {"2a00:9e20::/32", "60574"}, + {"2a02:5f0::/32", "35320"}, + {"2a0a:7e00::/30", "61317"}, + {"2804:7958::/32", "271300"}, + {"2a01:790::/32", "42926"}, + {"2001:559:c2c7::/48", "7015"}, + {"2001:678:804::/48", "12897"}, + {"2401:dd00::/32", "38229"}, + {"2404:b300:101::/48", "131207"}, + {"2602:fed2:7117::/48", "57257"}, + {"2001:559:d3::/48", "7015"}, + {"2401:3480:2000::/48", "4811"}, + {"2409:8b39::/30", "9808"}, + {"240a:ade8::/32", "146210"}, + {"2a01:cd00:80d0::/48", "28708"}, + {"2a0c:b641:570::/48", "209300"}, + {"2a11:2a47::/32", "35913"}, + {"2001:559:7f3::/48", "33491"}, + {"2001:fd8:1ef0::/39", "4775"}, + {"2403:5c80::/48", "23724"}, + {"2408:84f3:2c40::/44", "17623"}, + {"2a00:1020:8::/45", "24739"}, + {"2a0d:2f00::/48", "39691"}, + {"2001:df5:ab80::/48", "141309"}, + {"2403:1cc0:3201::/46", "45352"}, + {"2800:160:2c2c::/43", "14259"}, + {"2a02:26f0:1e01::/34", "20940"}, + {"2001:559:8656::/48", "33659"}, + {"2402:15c0:6::/48", "10222"}, + {"2607:7c80:53::/48", "398987"}, + {"2a05:f507:76::/44", "13443"}, + {"2001:500:86::/47", "26710"}, + {"2001:559:8565::/48", "33650"}, + {"2001:fd8:1f10::/41", "4775"}, + {"2001:1900:2100:3800::/56", "54030"}, + {"2001:1a68:8::/47", "15694"}, + {"2401:d800:b7a0::/41", "7552"}, + {"240a:a374::/32", "143534"}, + {"2804:3944::/32", "266022"}, + {"2a01:138::/32", "15598"}, + {"2001:44b8:30d0::/45", "7545"}, + {"2804:6e44::/32", "270585"}, + {"2a0d:d500::/29", "208861"}, + {"2409:8914:1900::/34", "56044"}, + {"2605:dd40:8ff0::/44", "16509"}, + {"2804:7554::/32", "271039"}, + {"2a0b:7240::/29", "43355"}, + {"2c0f:f038::/32", "36924"}, + {"2001:559:3bc::/48", "33657"}, + {"2401:4900:1c30::/46", "24560"}, + {"2404:2440:b0b0::/48", "138521"}, + {"2600:1f00:5000::/40", "16509"}, + {"2a00:89c0::/32", "197981"}, + {"2a02:26f7:d191::/46", "20940"}, + {"2a04:c440:2a00::/40", "47340"}, + {"2a11:b980::/29", "204790"}, + {"2c0f:f188:4::/46", "28683"}, + {"2620:149:a12::/48", "6185"}, + {"2607:1880:ffff::/48", "13499"}, + {"2c0f:6c00:fff0::/44", "51110"}, + {"2001:1248:55bf::/41", "11172"}, + {"240a:aca7::/32", "145889"}, + {"2600:1404:b801::/37", "20940"}, + {"2610:68:8000::/33", "5774"}, + {"2405:1c0:6561::/45", "55303"}, + {"240e:3b1:f700::/36", "4134"}, + {"2804:4c5c:f7c0::/36", "267366"}, + {"2804:5a10::/32", "268746"}, + {"2804:6660::/32", "269554"}, + {"2804:7110:3100::/33", "270764"}, + {"2a02:888:4051::/48", "47794"}, + {"2001:df5:a300::/48", "137925"}, + {"2620:1a:e000::/48", "396233"}, + {"2803:3b80::/44", "263702"}, + {"2a02:f406:fe50::/48", "206283"}, + {"2400:b640::/48", "64067"}, + {"2405:e000:1421::/32", "37963"}, + {"240a:af8a::/32", "146628"}, + {"2600:1488:b001::/33", "20940"}, + {"2804:41a0:4000::/32", "267446"}, + {"2600:370f:344a::/43", "32261"}, + {"2803:d000:fffe::/48", "393398"}, + {"2a05:b4c0::/47", "201093"}, + {"2a05:f700:fffe::/48", "42236"}, + {"2804:7e04::/32", "271597"}, + {"2a11:1b80::/29", "42375"}, + {"2001:559:c4d9::/48", "33657"}, + {"2401:d800:2cd0::/42", "7552"}, + {"2402:2700:100::/33", "132061"}, + {"2409:8904:68b0::/39", "24547"}, + {"240a:a536::/32", "143984"}, + {"2804:2e30:31::/46", "265330"}, + {"2001:559:8336::/48", "33657"}, + {"2402:3a80:c060::/48", "38266"}, + {"2408:8459:7210::/42", "17623"}, + {"2602:fd40:ca1::/48", "14618"}, + {"2806:2f0:24a3::/43", "22884"}, + {"2001:559:499::/48", "33651"}, + {"2a02:26f7:bd45::/46", "20940"}, + {"2a0e:2c47:b::/32", "50581"}, + {"2804:5820::/32", "268108"}, + {"2a03:2780::/32", "57238"}, + {"2603:c0fd::/36", "54253"}, + {"2001:67c:2e04::/48", "21473"}, + {"240e:3b2:7800::/39", "4134"}, + {"2a00:c000::/32", "41090"}, + {"2a02:26f7:edc1::/46", "20940"}, + {"2001:43f8:a40::/48", "31960"}, + {"240a:afd8::/32", "146706"}, + {"2602:fcdb::/36", "55103"}, + {"2804:1e10::/32", "53122"}, + {"2a01:abe0::/32", "199786"}, + {"2001:67c:238::/48", "49974"}, + {"2001:67c:15e0::/48", "50360"}, + {"2401:d800:280::/42", "7552"}, + {"2804:2c3c::/32", "265205"}, + {"2a02:26f7:f1c0::/48", "36183"}, + {"2a07:b7c0::/29", "35280"}, + {"2400:a980:1f00::/40", "133515"}, + {"2400:cb00:480::/48", "13335"}, + {"2402:800:f162::/40", "7552"}, + {"2409:8904:6870::/40", "24547"}, + {"240e:982:d800::/40", "134769"}, + {"2001:67c:10d8::/48", "211501"}, + {"2001:7c0:2320::/29", "553"}, + {"2400:9380:90b0::/45", "4809"}, + {"2402:800:3b55::/42", "7552"}, + {"2620:1f7::/36", "18703"}, + {"2803:9140::/32", "264609"}, + {"2804:4de8::/32", "268227"}, + {"2a11:b740::/29", "204790"}, + {"2c0f:4f00::/32", "328961"}, + {"2401:d800:ba30::/41", "7552"}, + {"2401:d800:bf80::/42", "7552"}, + {"2806:230:6013::/48", "11888"}, + {"2a01:8840:96::/44", "12041"}, + {"2001:559:8297::/48", "33657"}, + {"2607:fb91:1700::/36", "21928"}, + {"2403:2700::/45", "38500"}, + {"240a:a5e5::/32", "144159"}, + {"2602:fc47::/36", "20454"}, + {"2a02:5060::/32", "60144"}, + {"2001:250:2427::/48", "24356"}, + {"2409:8054:303c::/48", "9808"}, + {"2803:6660::/32", "267895"}, + {"2a00:ce60::/32", "8542"}, + {"2a0a:e2c6::/32", "202015"}, + {"2001:559:8248::/48", "7015"}, + {"2001:559:8755::/46", "33491"}, + {"2404:ec:311::/42", "703"}, + {"2407:ae80::/32", "45062"}, + {"2620:138:3020::/48", "11251"}, + {"2a03:2b20::/48", "202077"}, + {"2408:8a22:9200::/36", "139007"}, + {"2600:1009:b1d0::/42", "6167"}, + {"240a:a097::/32", "142801"}, + {"2605:ad80:ff::/48", "62887"}, + {"2800:440:46::/48", "27738"}, + {"2a00:19e8::/32", "31493"}, + {"2001:480:36::/48", "289"}, + {"2001:67c:15d4::/48", "47397"}, + {"2001:67c:1978::/48", "24956"}, + {"2607:6980:e1a0::/44", "16584"}, + {"2804:5f1c::/32", "269077"}, + {"2408:8459:ac10::/42", "17623"}, + {"2804:2ec::/32", "262848"}, + {"2a03:2480:81::/33", "41983"}, + {"2a0d:7c80::/32", "204425"}, + {"2404:e680:1102::/42", "18409"}, + {"2605:a401:87aa::/43", "33363"}, + {"2605:ad80::/40", "62887"}, + {"2800:200:b390::/42", "12252"}, + {"2402:2100::/32", "19855"}, + {"2600:1406:9c00::/48", "35994"}, + {"2604:fb00::/32", "19223"}, + {"2606:4880::/32", "26156"}, + {"2804:49b4::/32", "267198"}, + {"2804:5688::/32", "268007"}, + {"2001:559:78d::/48", "7015"}, + {"2408:840c:1c00::/40", "17621"}, + {"2600:1008:9000::/44", "6167"}, + {"2600:1408:b001::/37", "20940"}, + {"2620:10a:80aa::/48", "55195"}, + {"2804:698c::/32", "270277"}, + {"2a01:5042:2efd::/48", "202196"}, + {"2a02:b48:8017::/44", "39572"}, + {"2a09:8400::/29", "44016"}, + {"2a0e:fd80::/29", "208722"}, + {"2001:ce8::/32", "17511"}, + {"2600:380:f10c::/46", "20057"}, + {"2602:feda:3b0::/44", "134575"}, + {"2620:101:80f8::/48", "395622"}, + {"2804:44::/32", "28606"}, + {"2804:17f8:200::/32", "262628"}, + {"2a05:7dc2:1000::/36", "51324"}, + {"2001:550:109::/45", "174"}, + {"2402:8100:2800::/40", "45271"}, + {"2408:8459:a250::/37", "17816"}, + {"2600:1006:b100::/42", "6167"}, + {"2605:a7c0:140::/48", "14618"}, + {"2620:a6:2000::/48", "27566"}, + {"2800:200:b3f0::/37", "12252"}, + {"2a02:5840::/32", "49476"}, + {"2402:8100:26c8::/47", "45271"}, + {"240e:3be:d000::/36", "134772"}, + {"2606:9580::/37", "394256"}, + {"2a0a:8c40::/32", "50979"}, + {"2001:559:86f1::/48", "33659"}, + {"2001:da8:b807::/44", "24372"}, + {"2404:73c0:2102::/48", "48024"}, + {"2409:8924:a900::/38", "56046"}, + {"240a:a438::/32", "143730"}, + {"2804:356c::/32", "266285"}, + {"2a02:ed80::/29", "61303"}, + {"2001:fd8:220::/48", "132199"}, + {"2409:861e::/31", "24400"}, + {"2409:8924:9500::/38", "56046"}, + {"240a:a3d6::/32", "143632"}, + {"2801:b6:300::/36", "263083"}, + {"2a02:4a40:108::/48", "50994"}, + {"2a05:8900:aa1::/48", "42388"}, + {"2001:559:c02f::/43", "20214"}, + {"2001:df4:6480::/48", "140971"}, + {"240e:96b:6003::/45", "140365"}, + {"2a00:1d34:8000::/39", "47331"}, + {"2a09:4980::/32", "39360"}, + {"2001:559:818f::/48", "13367"}, + {"2403:5440::/32", "138033"}, + {"2604:2000::/32", "12271"}, + {"2620:118:e001::/44", "27418"}, + {"2804:5100:2100::/35", "268424"}, + {"2001:579:247c::/40", "22773"}, + {"2001:67c:864::/48", "210887"}, + {"2001:7f8:1::/64", "35277"}, + {"2401:d800:faa0::/41", "7552"}, + {"2402:5680:8000::/36", "133798"}, + {"2a02:530:1a::/42", "21191"}, + {"2a0a:56c4::/48", "42649"}, + {"240a:a54e::/32", "144008"}, + {"2600:c0c::/32", "11854"}, + {"2a0e:97c3:589::/48", "20473"}, + {"240e:108:11b0::/48", "58461"}, + {"2804:3ee0::/32", "266626"}, + {"2804:8430::/34", "272245"}, + {"2407:e740::/47", "59239"}, + {"240a:a46e::/32", "143784"}, + {"2602:feda:7::/44", "46997"}, + {"2800:4f0::/48", "28006"}, + {"2804:1b0:1a82::/47", "10429"}, + {"2804:802c:110::/42", "271734"}, + {"2a02:a00:e005::/35", "15987"}, + {"2a09:f1c0::/29", "57756"}, + {"2001:559:2bf::/48", "33667"}, + {"2804:53dc::/32", "268611"}, + {"2a06:b740::/29", "31027"}, + {"240e:108:85::/48", "133774"}, + {"2a0d:f407:1030::/48", "211030"}, + {"2600:6c38:1ca::/43", "20115"}, + {"2620:106:e00f::/48", "22518"}, + {"2a09:7700::/29", "211199"}, + {"2a12:8d40:2022::/48", "208171"}, + {"240a:a13c::/32", "142966"}, + {"2607:fa70:2490::/32", "19855"}, + {"2803:6e0::/32", "269950"}, + {"2001:67c:14dc::/48", "3301"}, + {"2402:600::/47", "38515"}, + {"2402:1d40:3::/33", "58826"}, + {"2408:8456:ac40::/38", "17816"}, + {"2600:9000:2368::/48", "16509"}, + {"2a02:898::/32", "8283"}, + {"2a05:b780::/29", "57809"}, + {"2a09:80::/29", "59615"}, + {"2409:8d14:700::/36", "56044"}, + {"240a:ae10::/32", "146250"}, + {"2a12:7340::/29", "400522"}, + {"2001:559:1fa::/48", "7922"}, + {"2404:b300:400::/48", "131207"}, + {"2408:8206:8510::/34", "4808"}, + {"2409:8080:2a30::/41", "9808"}, + {"2602:fc2d::/36", "3653"}, + {"2801:140:fffb::/45", "262249"}, + {"2a0c:640::/29", "328543"}, + {"2402:3a80:830::/38", "38266"}, + {"2402:ce00::/31", "7700"}, + {"2408:8956:3600::/40", "17622"}, + {"2408:8957:c600::/40", "17622"}, + {"240e:44d:2080::/41", "4134"}, + {"2a05:1602::/32", "207249"}, + {"2c0f:f698:cff1::/34", "37693"}, + {"2001:579:534c::/40", "22773"}, + {"2001:67c:2960::/48", "209844"}, + {"240a:ac9e::/32", "145880"}, + {"2804:80cc:7::/48", "272413"}, + {"240a:aa31::/32", "145259"}, + {"2804:6090::/32", "269177"}, + {"2a00:df8::/32", "24753"}, + {"2a02:26f7:c58d::/42", "20940"}, + {"2001:468:e00::/40", "2153"}, + {"2001:550:200:9::/44", "174"}, + {"2804:7cb8::/32", "271514"}, + {"2a02:cb80:4005::/46", "43766"}, + {"2001:4868:205::/44", "7046"}, + {"2400:d980::/32", "59340"}, + {"2407:c800::/32", "9365"}, + {"2620:12c:9004::/48", "395359"}, + {"2a02:26f7:e844::/48", "36183"}, + {"2a0d:b680::/29", "50304"}, + {"2408:8956:1600::/40", "17622"}, + {"2804:5ee8:c000::/34", "269064"}, + {"2a02:26f7:e181::/46", "20940"}, + {"240a:a8fa::/32", "144948"}, + {"240e:44d:2f00::/41", "140345"}, + {"2607:fb10:50c3::/34", "2906"}, + {"2620:117:2000::/40", "194"}, + {"2402:800:70f0::/39", "7552"}, + {"240a:a62e::/32", "144232"}, + {"2600:6c38:199::/42", "20115"}, + {"2804:6864::/39", "269689"}, + {"2a05:dfc7:dfc9::/34", "61138"}, + {"2001:43f8:10::/48", "36948"}, + {"2408:8957:5e00::/40", "17622"}, + {"240a:a931::/32", "145003"}, + {"2600:1008:9100::/44", "6167"}, + {"2804:75cc::/32", "271070"}, + {"2a00:1728:b::/45", "34224"}, + {"2a02:fd00::/29", "15613"}, + {"2a0a:a040::/31", "12552"}, + {"2001:df4:9980::/48", "141007"}, + {"2401:4900:1200::/42", "45609"}, + {"2406:ab40::/28", "63784"}, + {"2a01:8840:a5::/48", "207266"}, + {"2c0f:ec30::/32", "37722"}, + {"2001:67c:2e90::/48", "203918"}, + {"2a02:26f7:e801::/46", "20940"}, + {"2001:67c:25e4::/48", "198239"}, + {"2408:8957:f1c0::/42", "17622"}, + {"2606:4700:2001::/48", "395747"}, + {"2607:f750:2400::/38", "23473"}, + {"2001:559:87ca::/48", "33287"}, + {"240e:3ba:2200::/37", "136198"}, + {"2600:1402:5001::/34", "20940"}, + {"2620:107:f000::/40", "13541"}, + {"2801:80:3eb0::/48", "272519"}, + {"2804:593c::/32", "268177"}, + {"2804:7458::/32", "270975"}, + {"2a01:4280::/47", "31391"}, + {"2a01:8840:aa::/45", "12041"}, + {"2a02:6a80:5300::/48", "197997"}, + {"2a07:a880:3101::/48", "42675"}, + {"2a0b:6980::/29", "43414"}, + {"2001:48c0:4::/32", "14589"}, + {"2408:8256:66::/39", "17622"}, + {"2620:a8::/48", "237"}, + {"2804:1a04:c::/42", "61832"}, + {"2001:559:c1ef::/48", "33660"}, + {"2402:800:fa50::/42", "7552"}, + {"2804:8448::/32", "272251"}, + {"2604:6600:9a::/42", "40676"}, + {"2606:6800:c00::/40", "32940"}, + {"2607:f3a0:a003::/48", "399818"}, + {"2a02:2120::/30", "2119"}, + {"2a04:4e40:f200::/48", "54113"}, + {"2a06:8784::/32", "205112"}, + {"240a:a0bd::/32", "142839"}, + {"240e:44d:6940::/42", "140351"}, + {"2604:6840:ac19::/48", "20446"}, + {"2607:8700:102::/48", "25820"}, + {"2620:12c:b131::/48", "13448"}, + {"2a00:1d58::/32", "47524"}, + {"2001:559:c1e2::/47", "33651"}, + {"2404:8d02:20a7::/37", "9587"}, + {"2804:6a4c::/32", "270325"}, + {"2a0c:7e44:da38::/48", "20473"}, + {"2a0f:5fc0:beef::/48", "205036"}, + {"2001:4830:c400::/40", "33083"}, + {"240a:a638::/32", "144242"}, + {"2604:d600:54d::/46", "32098"}, + {"2a02:cb80:2a20::/48", "43766"}, + {"2406:66c0::/32", "62126"}, + {"2620:10a:9046::/48", "7018"}, + {"2a04:33c0::/40", "60671"}, + {"2a0e:b105:120::/44", "211659"}, + {"2001:2e8::/32", "10013"}, + {"2001:559:17b::/48", "7725"}, + {"2402:ad80:c0::/48", "138423"}, + {"2409:8004::/45", "24547"}, + {"2620:119:c000::/44", "46322"}, + {"2001:559:418::/48", "20214"}, + {"240a:acac::/32", "145894"}, + {"2607:f1e0:5200::/32", "19092"}, + {"2a02:d900::/29", "43809"}, + {"2c0f:4900::/32", "328870"}, + {"2409:8027:2b07::/37", "9808"}, + {"2803:fc40::/32", "264651"}, + {"2804:735c::/32", "270910"}, + {"2a0f:9400:772d::/48", "209533"}, + {"2401:d800:de0::/38", "7552"}, + {"2408:8256:317d::/46", "17623"}, + {"240a:aa6a::/32", "145316"}, + {"240e:45e::/26", "4134"}, + {"2001:250:681c::/38", "23910"}, + {"2001:fd8:228::/41", "4775"}, + {"240a:af19::/32", "146515"}, + {"2804:7080::/32", "270730"}, + {"2a02:26f7:f6d5::/46", "20940"}, + {"2001:559:f9::/48", "7015"}, + {"2600:6c2e:36::/40", "20115"}, + {"2606:2800:4050::/48", "14210"}, + {"2a00:1728::/47", "34224"}, + {"2001:559:c31a::/48", "33657"}, + {"240a:a9cd::/32", "145159"}, + {"2600:6c10:f612::/36", "20115"}, + {"2607:f330:5fa1::/48", "15130"}, + {"2607:f740:e630::/46", "63911"}, + {"2a02:2698:c00::/35", "39435"}, + {"2001:250:6428::/43", "24367"}, + {"2405:201:6400::/35", "55836"}, + {"2606:b400:8820::/48", "7160"}, + {"2804:3bfc:100::/40", "52607"}, + {"2a02:3f8:7::/48", "8359"}, + {"2a0e:f2c0::/29", "205243"}, + {"2001:67c:25c::/48", "51188"}, + {"2001:1900:2100:3900::/38", "3356"}, + {"2801:80:850::/48", "263428"}, + {"2605:b4c0:1234::/48", "25780"}, + {"2803:1a00:513::/35", "262186"}, + {"2a00:79c0::/32", "41998"}, + {"2a06:9380::/29", "203965"}, + {"2a0c:bf80::/48", "61295"}, + {"2402:800:5d8d::/43", "7552"}, + {"2404:3900:1::/48", "38320"}, + {"2804:3230::/32", "265061"}, + {"2804:3534::/32", "266274"}, + {"2c0f:ef28::/32", "328333"}, + {"2c0f:fc89:e1::/39", "36992"}, + {"2001:559:390::/46", "7922"}, + {"2001:678:c5c::/48", "50509"}, + {"2001:df1:6003::/48", "9318"}, + {"240a:ae9d::/32", "146391"}, + {"2001:1248:5a29::/46", "11172"}, + {"2403:2c00:f020::/36", "4058"}, + {"2602:feda:ca1::/48", "39753"}, + {"2804:800:ff01::/40", "16509"}, + {"2402:800:9bee::/43", "7552"}, + {"2600:9000:2035::/46", "16509"}, + {"2a02:587:1c00::/33", "6799"}, + {"2001:1960:100::/40", "32587"}, + {"2400:7400:e01a::/47", "38044"}, + {"2a00:8040::/32", "50792"}, + {"2001:559:c275::/48", "33650"}, + {"2001:56b:8000::/44", "852"}, + {"2001:1940::/32", "21947"}, + {"2a02:26f7:d1cd::/42", "20940"}, + {"2401:8800:200::/40", "17439"}, + {"2600:6:ff05::/48", "1239"}, + {"2801:1b:800::/48", "267855"}, + {"2803:7c10::/32", "271884"}, + {"2804:4b4c::/38", "267296"}, + {"2a02:26f7:d80a::/47", "20940"}, + {"2001:678:c00::/48", "49554"}, + {"2400:6280:12d::/48", "132280"}, + {"240e:44d:5000::/41", "140345"}, + {"2a00:82a0::/32", "21230"}, + {"2001:678:280::/48", "50169"}, + {"2001:df2:7f80::/48", "133803"}, + {"240e:878:640::/31", "4134"}, + {"2a02:568:fe00::/48", "31529"}, + {"2a02:26f7:c5c9::/46", "20940"}, + {"2a0c:b641:f2::/47", "210985"}, + {"2a10:6f00:ffff::/29", "399975"}, + {"2001:67c:2564::/48", "1133"}, + {"2806:2f0:12e3::/43", "17072"}, + {"2a02:26f7:d701::/46", "20940"}, + {"2a04:4e40:2200::/48", "54113"}, + {"2a0e:fc80::/36", "212286"}, + {"2804:5df0::/32", "269002"}, + {"2a00:eb20::/32", "8330"}, + {"2a0c:a9c7:225::/48", "44597"}, + {"2c0f:f7a0::/32", "37184"}, + {"2001:678:42c::/48", "205955"}, + {"2401:cf80:6045::/40", "55303"}, + {"2402:800:5755::/42", "7552"}, + {"2804:715c::/32", "270784"}, + {"2a03:38a0::/32", "60781"}, + {"2a04:4e40:9200::/48", "54113"}, + {"2a09:6f80::/29", "3320"}, + {"2600:1007:b0d0::/44", "6167"}, + {"2620:122:8000::/48", "18541"}, + {"2a01:358:8011::/33", "9121"}, + {"2403:bac0::/32", "133815"}, + {"240a:a51d::/32", "143959"}, + {"240e:698:2200::/40", "58466"}, + {"2606:f900:a201::/37", "812"}, + {"2620:1ec:8::/47", "8075"}, + {"2804:1b2:6000::/32", "18881"}, + {"2804:6d4::/32", "53045"}, + {"2804:2b34:f900::/37", "265140"}, + {"2a00:1ec0::/47", "8544"}, + {"2a03:2300::/29", "47975"}, + {"2001:df1:1400::/48", "133296"}, + {"2620:16:6000::/48", "27195"}, + {"2a06:6ec0::/29", "37478"}, + {"2a0d:4d80::/29", "1764"}, + {"2406:b400:6::/44", "18209"}, + {"240a:ab6c::/32", "145574"}, + {"240d:c010:12::/48", "132203"}, + {"2a03:28a0:4::/32", "201650"}, + {"2a04:c440:8000::/36", "2534"}, + {"2001:559:435::/46", "7922"}, + {"2600:1410:4001::/35", "20940"}, + {"2a02:26f7:7d::/48", "20940"}, + {"2a0e:38c0::/32", "207747"}, + {"2a11:f700::/29", "400522"}, + {"2001:4860:1025::/48", "36040"}, + {"2001:4998:1a0::/44", "10310"}, + {"2408:8957:b600::/40", "17622"}, + {"240a:a875::/32", "144815"}, + {"2001:da8:302f::/41", "24358"}, + {"2409:8948:8d00::/40", "24445"}, + {"240a:a802::/32", "144700"}, + {"2804:6adc::/32", "270362"}, + {"2001:559:8209::/48", "7015"}, + {"2001:978:1f01::/34", "174"}, + {"2001:1478::/35", "3257"}, + {"2406:4e40::/32", "140966"}, + {"2600:1004:b1f0::/44", "22394"}, + {"2600:6c10:11d::/46", "20115"}, + {"2607:f928:2::/48", "16905"}, + {"2620:107:9029::/48", "7018"}, + {"2804:43c8::/32", "267589"}, + {"2a02:ee80:41f0::/45", "3573"}, + {"2c0f:f000::/39", "36891"}, + {"2001:559:812f::/48", "7015"}, + {"2001:559:c147::/48", "7922"}, + {"2408:8256:357c::/48", "17816"}, + {"2a03:ee40::/32", "3170"}, + {"2a10:6100::/29", "399975"}, + {"240a:a1b7::/32", "143089"}, + {"240e:108:1134::/44", "4134"}, + {"2600:370f:3622::/45", "32261"}, + {"2620:13f:701e::/48", "59116"}, + {"2804:62c:2011::/32", "262569"}, + {"2a0b:9100::/32", "201098"}, + {"2001:250:5874::/48", "23910"}, + {"2001:559:c1db::/45", "7922"}, + {"2401:b8c0:e::/47", "64074"}, + {"2408:8456:2e50::/39", "17816"}, + {"2a05:7640:fb0::/44", "174"}, + {"2a0a:340:1000::/40", "48043"}, + {"2600:1415:2001::/37", "20940"}, + {"2620:110:f000::/44", "17012"}, + {"2806:2f0:24a0::/48", "17072"}, + {"2a06:e881:5508::/48", "212243"}, + {"2a0e:b107:32::/47", "209650"}, + {"2602:ff44::/36", "393524"}, + {"2602:ff96:1f::/48", "40676"}, + {"2a01:4040::/32", "25176"}, + {"2a03:5000::/32", "15854"}, + {"2001:67c:17a4::/48", "59891"}, + {"240a:ae50::/32", "146314"}, + {"2804:1b5c:2::/32", "28334"}, + {"2a02:27d0::/39", "49463"}, + {"2404:1b0::/32", "18059"}, + {"2404:5f40:2::/48", "38447"}, + {"2409:801a::/34", "132525"}, + {"2603:b010:2000::/33", "11796"}, + {"2620:1fb::/36", "12061"}, + {"2804:35ac::/32", "266300"}, + {"2a02:4fe0::/32", "60129"}, + {"2001:ae0::/32", "8925"}, + {"240e:83:ff00::/40", "23724"}, + {"2607:fb10:70d2::/44", "2906"}, + {"2804:6204::/32", "269271"}, + {"2806:10b0::/32", "8151"}, + {"2001:559:d9::/48", "13367"}, + {"2404:4e00:1003::/48", "32787"}, + {"2408:8456:3e40::/33", "17816"}, + {"2a02:26f7:e848::/48", "36183"}, + {"2a0f:9441:44::/29", "62240"}, + {"2401:4900:4940::/44", "45609"}, + {"2a04:7640::/48", "6730"}, + {"2a0e:3940:1000::/36", "60767"}, + {"240a:ae6c::/32", "146342"}, + {"2804:7a3c:f000::/36", "271357"}, + {"2a01:c8:400::/32", "20756"}, + {"2804:4bf8::/32", "267340"}, + {"2a01:8840:7d::/48", "207266"}, + {"2001:250:5824::/46", "24363"}, + {"2602:ffdf:400::/36", "63060"}, + {"2607:6d00::/32", "1798"}, + {"2804:3578::/32", "266288"}, + {"2804:4184::/32", "267438"}, + {"2a00:1d58:f01c::/46", "47524"}, + {"2a02:e9::/30", "12637"}, + {"2a0c:6400::/32", "207045"}, + {"2a0c:b640:14::/46", "34872"}, + {"2c0f:e890::/32", "60171"}, + {"2001:44b8:404f::/48", "4739"}, + {"2409:8904:6340::/42", "24547"}, + {"2a02:26f7:d608::/48", "36183"}, + {"2001:4f8:11::/48", "16509"}, + {"240e:b7:5000::/34", "58563"}, + {"2804:62c:2001::/45", "262569"}, + {"2804:3188::/32", "265022"}, + {"2401:1700:7c30::/32", "55666"}, + {"2620:121:5::/44", "55219"}, + {"2001:559:c2d0::/48", "33662"}, + {"2409:8028:3100::/37", "9808"}, + {"240e:438:4e40::/35", "4134"}, + {"2600:803:1200::/48", "15572"}, + {"2607:f7f8:4459::/48", "4459"}, + {"2801:80:b90::/48", "21506"}, + {"2806:2f0:46a3::/39", "17072"}, + {"2a02:2188:2000::/36", "60848"}, + {"2001:1978:1000::/39", "13768"}, + {"2409:8052:2100::/37", "9808"}, + {"240a:a192::/32", "143052"}, + {"2806:20d:1638::/46", "32098"}, + {"2a00:8640::/30", "203993"}, + {"2a03:2400::/29", "47295"}, + {"2001:250:21e::/48", "24349"}, + {"2001:579:9004::/43", "22773"}, + {"240a:a489::/32", "143811"}, + {"2606:6c00:4::/44", "32787"}, + {"2607:d500:603::/40", "13768"}, + {"2806:2f0:61a3::/41", "17072"}, + {"2a05:37c0::/29", "48091"}, + {"2401:13c0:a000::/36", "132652"}, + {"2605:a580::/32", "36103"}, + {"2800:160:2cdd::/42", "14259"}, + {"2804:11e4::/32", "52945"}, + {"2a0f:c087:b29::/48", "48108"}, + {"2a11:7347:7348::/32", "33171"}, + {"2001:559:86a4::/48", "33650"}, + {"2001:648:2010::/48", "8643"}, + {"2605:4180::/28", "35985"}, + {"2800:bf0:2ac3::/37", "27947"}, + {"2804:14c:4300::/40", "28573"}, + {"2001:4878::/48", "12222"}, + {"2409:8958:cf54::/31", "56040"}, + {"240e:95c:6000::/32", "4134"}, + {"2a0a:f240::/29", "205820"}, + {"2001:67c:207c::/48", "39913"}, + {"2001:df0:311::/48", "9255"}, + {"2001:f20:3000::/46", "9875"}, + {"2001:13d2:6805::/46", "7303"}, + {"240e:44d:5740::/42", "140350"}, + {"2620:12d:e010::/48", "29909"}, + {"2806:2f0:45a1::/46", "17072"}, + {"2408:80ea:77a0::/36", "17816"}, + {"2a07:1980:18::/48", "48851"}, + {"2a0f:9400:7721::/48", "20473"}, + {"2407:600::/32", "9268"}, + {"2600:6c20:846::/43", "20115"}, + {"2408:8956:3b00::/40", "17816"}, + {"2001:559:843f::/48", "33491"}, + {"2402:800:960f::/43", "7552"}, + {"240a:a67e::/32", "144312"}, + {"2804:2d0c:e0::/32", "262408"}, + {"2001:559:8441::/48", "33668"}, + {"2001:668:1f8::/46", "30371"}, + {"2600:1417:4800::/48", "8781"}, + {"2610:20:6f96::/47", "49"}, + {"2a07:6200::/29", "47820"}, + {"2001:1a10:1010::/33", "8781"}, + {"2405:e480:1::/46", "9507"}, + {"2408:8957:e00::/40", "17622"}, + {"2600:6c38:6::/44", "20115"}, + {"2801:0:20::/48", "28027"}, + {"2a00:4b80::/48", "43833"}, + {"2a04:4e40:1a20::/44", "54113"}, + {"240a:aa27::/32", "145249"}, + {"2600:1419:b001::/37", "20940"}, + {"2605:9380::/32", "32614"}, + {"2800:bf0:a800::/48", "52257"}, + {"2804:19cc::/32", "61819"}, + {"2a04:a2c0::/32", "9044"}, + {"2409:8924:5f00::/34", "56046"}, + {"2620:11a:a03d::/40", "43515"}, + {"2801:80:2240::/48", "267592"}, + {"2a02:27d8::/32", "20741"}, + {"2402:800:3b0f::/43", "7552"}, + {"240a:a3bc::/32", "143606"}, + {"2804:340::/33", "28165"}, + {"2804:145c:c530::/38", "263327"}, + {"2001:559:8144::/48", "33650"}, + {"2001:dc7:dd02::/45", "24151"}, + {"2606:96c0::/32", "26943"}, + {"2a05:a400::/29", "8492"}, + {"2a05:d540::/29", "47269"}, + {"2c0f:f418::/46", "37714"}, + {"2409:8000:5100::/40", "56048"}, + {"2800:160:168d::/42", "14259"}, + {"2800:bf0:2c22::/38", "27947"}, + {"2803:3a00::/36", "23243"}, + {"2806:20d:500a::/43", "32098"}, + {"2a02:26f7:f601::/46", "20940"}, + {"2a06:bc00::/29", "203732"}, + {"2001:559:dd::/46", "7922"}, + {"2401:8d00:f::/43", "38345"}, + {"2405:1c0:6341::/46", "55303"}, + {"240a:a525::/32", "143967"}, + {"2804:6448::/32", "269418"}, + {"2a03:4ba0:1::/48", "47697"}, + {"2a07:b280:100::/38", "212148"}, + {"2a0e:acc0::/48", "208414"}, + {"2a10:e541::/30", "211434"}, + {"2001:358::/32", "4680"}, + {"2001:df7:3f80::/48", "140819"}, + {"2400:4f00::/36", "17911"}, + {"2600:1415:6::/44", "20940"}, + {"2400:4880::/46", "131178"}, + {"2803:ec10::/47", "271880"}, + {"2a0a:2000::/29", "201057"}, + {"2001:fd8:304a::/39", "4775"}, + {"2602:feb4:f0::/44", "25961"}, + {"2605:5240:2500::/33", "397494"}, + {"2804:e2c::/32", "262938"}, + {"2a00:d900::/32", "58160"}, + {"2402:45c0::/48", "38221"}, + {"2604:cec0::/32", "36472"}, + {"2a02:210::/32", "6898"}, + {"2a05:48c0::/29", "207227"}, + {"2a0d:9480::/29", "50313"}, + {"2a11:e980::/29", "24940"}, + {"2406:ef40::/47", "133811"}, + {"2600:6c38:7a::/45", "20115"}, + {"2606:2800:4120::/48", "15133"}, + {"2a06:9f45:1200::/40", "211480"}, + {"2a07:9b00::/29", "202640"}, + {"2a0c:4880::/29", "212660"}, + {"2001:678:1e8::/48", "213151"}, + {"2401:3400:8000::/48", "45352"}, + {"240a:af8d::/32", "146631"}, + {"2a02:26f7:e1c4::/48", "36183"}, + {"2a02:4540:9040::/46", "197207"}, + {"2a0f:8740::/29", "34596"}, + {"2401:2000:8000::/33", "4608"}, + {"2402:ef03:d::/40", "7633"}, + {"2404:8e80:1::/48", "135168"}, + {"2406:20c0:4001::/34", "140423"}, + {"240e:3bd:8200::/35", "140316"}, + {"2605:ee00::/43", "29990"}, + {"2a02:2010:22d0::/45", "20978"}, + {"2001:559:2c0::/48", "33652"}, + {"2001:559:82a4::/48", "33287"}, + {"2001:67c:117c::/48", "207825"}, + {"2800:40:34::/47", "16814"}, + {"2a0a:7a06::/31", "61317"}, + {"2a12:8d06::/31", "57695"}, + {"2001:559:8652::/48", "7015"}, + {"2001:df0:4::/48", "681"}, + {"2408:8256:358e::/48", "17623"}, + {"240e:108:4d::/48", "4134"}, + {"2600:805:149::/37", "701"}, + {"2620:1c0:72::/47", "22773"}, + {"2801:12:b000::/48", "265884"}, + {"2804:59a8::/35", "268717"}, + {"2a03:4600::/32", "44334"}, + {"2a07:2918:6000::/36", "60115"}, + {"2a10:e5c0::/48", "58349"}, + {"240e:44d:1500::/41", "140345"}, + {"2806:2f0:1121::/46", "22884"}, + {"2a02:5420:627::/48", "43541"}, + {"2001:df0:69::/48", "41625"}, + {"2402:800:b0a0::/41", "7552"}, + {"2408:8456:200::/42", "17622"}, + {"240a:a6e7::/32", "144417"}, + {"2804:233c::/32", "264150"}, + {"2a0f:9400:7728::/48", "53356"}, + {"2001:250:22e::/48", "24349"}, + {"2001:559:472::/48", "7016"}, + {"240e:698:4400::/40", "134768"}, + {"2802:0:24::/41", "18747"}, + {"2403:cfc0:1003::/48", "135134"}, + {"240e:250:2900::/45", "4134"}, + {"2600:6c10:f064::/47", "20115"}, + {"2001:559:5d3::/48", "33657"}, + {"2801:80:1d30::/48", "265916"}, + {"2804:7024:8400::/33", "270708"}, + {"2804:7868::/32", "271240"}, + {"2a00:6380::/32", "51469"}, + {"2a02:eb8::/29", "51132"}, + {"2001:44b8:205b::/48", "4739"}, + {"2001:559:e8::/48", "22909"}, + {"2404:ef00::/32", "63515"}, + {"2600:370f:71a5::/41", "32261"}, + {"2a02:26f0:501::/46", "20940"}, + {"2001:559:794::/48", "33657"}, + {"2001:559:c1ba::/48", "13367"}, + {"2620:8d:4000::/48", "7954"}, + {"2803:7900::/32", "28094"}, + {"2a02:108::/32", "3292"}, + {"2001:250:342f::/48", "23910"}, + {"2408:8459:1c50::/39", "17816"}, + {"2620:11c:30a1::/41", "31764"}, + {"2a02:26f7:d0c5::/46", "20940"}, + {"2001:4878:261::/48", "12222"}, + {"2407:3e00:3000::/48", "9255"}, + {"2408:840c:d00::/40", "17621"}, + {"2620:0:2a0c::/48", "40344"}, + {"2804:6eb0::/32", "270613"}, + {"2409:8c20:28c2::/33", "56046"}, + {"2602:feda:3d2::/44", "213361"}, + {"2804:3184::/32", "265021"}, + {"2a00:ec40::/29", "34127"}, + {"2a0e:97c0:490::/44", "211044"}, + {"2405:8a00:a00e::/43", "55824"}, + {"2606:9b80::/32", "394487"}, + {"2620:117:80::/48", "10564"}, + {"2804:18:6010::/44", "10429"}, + {"2804:229c::/32", "264111"}, + {"2a0b:7a00:2::/47", "60689"}, + {"2606:6ec0::/32", "22773"}, + {"2a02:26f7:31::/48", "20940"}, + {"2a02:2e02:c60::/40", "12479"}, + {"2a0b:8780::/48", "16509"}, + {"2a0f:9400:700c::/48", "211144"}, + {"2804:540::/32", "262504"}, + {"2804:7c8::/35", "262323"}, + {"2404:bf40:e100::/48", "2764"}, + {"2a04:9f80::/29", "5432"}, + {"2400:adcc:1800::/39", "9541"}, + {"2405:9200:5100::/41", "131596"}, + {"2409:8c20:4826::/38", "56046"}, + {"240a:a488::/32", "143810"}, + {"240a:a7c9::/32", "144643"}, + {"2620:12d:e03f::/48", "7015"}, + {"2801:1c:1800::/48", "18678"}, + {"2001:df2:a780::/48", "140054"}, + {"2602:fd23::/48", "33185"}, + {"2602:fed2:7119::/48", "207414"}, + {"2804:2984:700::/41", "53184"}, + {"2804:3504::/32", "265495"}, + {"2804:6dc8::/32", "270555"}, + {"2001:4b98:aaaa::/47", "209453"}, + {"2405:9800:b010::/47", "133481"}, + {"2804:2230::/32", "264590"}, + {"2a02:2890:ffff::/31", "51185"}, + {"2a07:14c0:2::/34", "208861"}, + {"2001:678:ad8::/48", "208562"}, + {"2001:4878:8347::/48", "12222"}, + {"2602:ffd3::/36", "6140"}, + {"2605:29c0::/32", "397312"}, + {"2a05:b300::/30", "400177"}, + {"2a0f:607:1000::/47", "7480"}, + {"2001:16a0:4::/33", "39386"}, + {"2602:ff62:124::/40", "61317"}, + {"2604:f400:6000::/37", "40579"}, + {"2620:123:f008::/48", "20127"}, + {"2a01:8840:75::/48", "207266"}, + {"2a02:26f7:c8c5::/46", "20940"}, + {"2a04:53c0:80::/48", "47784"}, + {"2001:ac0:c890::/34", "8903"}, + {"2400:8b00:500::/42", "45727"}, + {"240a:ad5d::/32", "146071"}, + {"2001:200:e000::/35", "7660"}, + {"2607:f750:8010::/38", "23473"}, + {"2804:7674::/32", "271113"}, + {"2804:7b80::/32", "262610"}, + {"2a02:ac80:b001::/33", "25145"}, + {"2804:77f4::/32", "271210"}, + {"2a02:26f7:cfc5::/46", "20940"}, + {"2a04:3e00:2::/36", "56910"}, + {"240e:44d:6500::/42", "140345"}, + {"2606:840::/32", "3356"}, + {"2a02:26f7:bf88::/48", "36183"}, + {"2a03:12a0::/29", "3301"}, + {"2a07:2440::/29", "42695"}, + {"2001:559:108::/48", "33659"}, + {"2001:67c:10d4::/48", "58057"}, + {"2400:8500:9d07::/48", "7506"}, + {"2a02:26f7:ee89::/46", "20940"}, + {"2804:21fc::/32", "264584"}, + {"2804:54bc::/32", "268667"}, + {"2a02:26f7:ea89::/46", "20940"}, + {"2a0b:2a00::/32", "51933"}, + {"2804:4938::/32", "267171"}, + {"2a0c:1940:20::/44", "60354"}, + {"2a0e:b00::/29", "63023"}, + {"2401:d800:5cd2::/39", "7552"}, + {"2a0a:5780::/32", "47490"}, + {"2a0a:7cc0:2::/29", "60880"}, + {"2a0d:8fc0::/29", "44050"}, + {"2001:559:8203::/48", "33652"}, + {"2001:559:8678::/47", "7922"}, + {"2403:1ec0:1200::/48", "4808"}, + {"2804:4bd8:86::/47", "270891"}, + {"2804:8434::/48", "272246"}, + {"2a00:5020::/48", "60781"}, + {"2a04:e00:200::/46", "39855"}, + {"2001:559:8324::/48", "7922"}, + {"2400:1b20::/32", "141518"}, + {"240e:471::/32", "140486"}, + {"2602:fef2::/36", "396313"}, + {"2803:5100::/32", "263761"}, + {"2804:80c8::/32", "262626"}, + {"2a02:d40::/46", "44592"}, + {"2a02:e980:110::/46", "19551"}, + {"2405:7e00:4000::/36", "17408"}, + {"2600:1408:c::/43", "20940"}, + {"2800:160:18a4::/41", "14259"}, + {"2a02:26f7:e1c5::/46", "20940"}, + {"2a0a:3b80::/29", "205645"}, + {"2a0e:c180::/29", "25726"}, + {"240e:981:1000::/40", "137698"}, + {"2604:fb80:6000::/36", "15128"}, + {"2804:2c5c::/33", "265214"}, + {"2001:559:87e7::/48", "7015"}, + {"2001:559:c309::/48", "33651"}, + {"2409:8c85:5430::/36", "9808"}, + {"2a02:26f7:d644::/48", "36183"}, + {"2a02:2e02:89c0::/43", "12479"}, + {"2001:67c:2bf4::/48", "39036"}, + {"240a:a4e1::/32", "143899"}, + {"240a:a542::/32", "143996"}, + {"2605:b3c0::/32", "16576"}, + {"2800:160:1307::/44", "14259"}, + {"2804:70ac::/32", "270741"}, + {"2a01:6380::/32", "25540"}, + {"2a02:ee80:420f::/43", "3573"}, + {"2a10:c704::/32", "211858"}, + {"2606:4700:3108::/48", "13335"}, + {"2804:2778:8000::/35", "263903"}, + {"2a02:26f7:e001::/46", "20940"}, + {"2001:df7:f580::/48", "136496"}, + {"2001:f18::/32", "9916"}, + {"240a:a8a9::/32", "144867"}, + {"2a02:26f7:c48d::/46", "20940"}, + {"2001:579:4154::/42", "22773"}, + {"2804:492c::/32", "267168"}, + {"2806:2f0:3363::/40", "17072"}, + {"2a02:26f0:e1::/44", "20940"}, + {"2001:1af8:4410::/48", "38930"}, + {"2001:4cf8:6001::/32", "13167"}, + {"240e:964:9400::/39", "133776"}, + {"2001:559:70d::/48", "33657"}, + {"2408:8456:c200::/42", "17622"}, + {"240a:ae04::/32", "146238"}, + {"240e:a50:6400::/31", "4134"}, + {"2804:3bf8::/32", "266183"}, + {"2a0d:4707::/35", "207044"}, + {"240a:ac94::/32", "145870"}, + {"2804:13e4::/32", "61902"}, + {"2a09:5240::/48", "34775"}, + {"2400:c300::/47", "23881"}, + {"2409:8914:6c00::/39", "56044"}, + {"2600:100f:b140::/40", "22394"}, + {"2804:10c::/32", "28144"}, + {"2a07:3500:1c30::/48", "207894"}, + {"240a:af95::/32", "146639"}, + {"2600:6c38:9c::/47", "20115"}, + {"2804:5078::/32", "268391"}, + {"2a02:214e::/31", "1241"}, + {"2001:678:f68::/48", "211169"}, + {"2001:67c:18e8::/48", "49855"}, + {"2a02:920::/32", "12597"}, + {"2a0b:3880::/32", "62217"}, + {"2604:fb80:f00a::/47", "15128"}, + {"2a00:1c70::/32", "28890"}, + {"2407:5140::/32", "138235"}, + {"240a:a612::/32", "144204"}, + {"240a:aaff::/32", "145465"}, + {"2804:6150::/32", "269227"}, + {"2a02:26f0:cb00::/48", "9121"}, + {"2001:4490::/43", "9829"}, + {"2401:d800:5f20::/41", "7552"}, + {"2409:8c29::/29", "9808"}, + {"240e:62:a000::/35", "140310"}, + {"2604:d600:c3b::/45", "32098"}, + {"2804:7710:8000::/33", "271152"}, + {"2a02:e980:16b::/45", "19551"}, + {"2a03:7c60::/32", "201038"}, + {"2a10:4740:40::/42", "212806"}, + {"2001:1248:5500::/44", "11172"}, + {"2400:8b00:b80::/42", "45727"}, + {"2607:f110:11::/46", "21889"}, + {"2804:52f4:a30::/41", "268552"}, + {"2a09:4c0:306::/40", "58057"}, + {"2a0e:aa00:126::/41", "41378"}, + {"2402:800:7b50::/42", "7552"}, + {"240a:a238::/32", "143218"}, + {"2804:1c8:8200::/33", "53184"}, + {"2804:59fc:c000::/34", "268738"}, + {"240e:108:11e3::/48", "134763"}, + {"2a01:758:fff7::/44", "3326"}, + {"2a02:8383:8000::/29", "8412"}, + {"2402:800:7550::/42", "7552"}, + {"2405:9800:8::/48", "45430"}, + {"2409:8958:cf44::/43", "9808"}, + {"2402:800:3aee::/43", "7552"}, + {"240e:438:a620::/43", "140647"}, + {"2607:f380:864::/48", "23483"}, + {"2804:5f48::/32", "269089"}, + {"2a0c:e8c0::/29", "208861"}, + {"2001:559:87d4::/48", "33661"}, + {"2001:fd8:3300::/42", "132199"}, + {"2600:1415:b801::/33", "20940"}, + {"2620:3a:2000::/48", "396418"}, + {"2001:df5:e000::/48", "132885"}, + {"2402:800:3263::/43", "7552"}, + {"2402:800:3a01::/44", "7552"}, + {"2405:3740::/32", "38526"}, + {"240e:44d:7080::/41", "4134"}, + {"240e:91e::/32", "134761"}, + {"2804:ec4::/32", "262973"}, + {"2804:1614::/32", "263266"}, + {"2a0d:700::/29", "39104"}, + {"2409:8a52:b00::/37", "56047"}, + {"240e:5a:4540::/40", "140297"}, + {"2806:230:3026::/48", "265594"}, + {"2a04:9a00:104e::/47", "212157"}, + {"2001:3e0:3001::/32", "10013"}, + {"2404:b780::/32", "63967"}, + {"2409:8959:c844::/43", "9808"}, + {"2600:6000:faad::/39", "12271"}, + {"2600:6c38:f65::/31", "20115"}, + {"2605:380:38::/48", "42473"}, + {"2620:1ec:8f1::/45", "8075"}, + {"2a0b:b600:3000::/48", "15703"}, + {"2001:4d80:7358::/32", "5606"}, + {"2407:c840::/48", "140823"}, + {"240e:7b3::/36", "140315"}, + {"2a03:c980:b239::/48", "210079"}, + {"2001:559:8226::/48", "33657"}, + {"2001:67c:296c::/48", "211723"}, + {"2620:0:10::/48", "18694"}, + {"2806:20d:1614::/44", "32098"}, + {"2a02:26f7:d551::/42", "20940"}, + {"2a11:9ac0::/31", "210652"}, + {"2001:df0:2140::/48", "149048"}, + {"240e:929::/32", "17638"}, + {"2606:1b40:800::/40", "19740"}, + {"2a05:d580::/32", "199753"}, + {"2c0f:f6d0:14::/42", "327687"}, + {"2001:559:c3e9::/48", "21508"}, + {"2001:ee0:c240::/39", "45899"}, + {"2804:84a0::/32", "272272"}, + {"2001:df1:b80::/48", "139466"}, + {"240a:17:fcc::/48", "9605"}, + {"2620:0:dd0::/48", "46357"}, + {"2001:1328::/32", "1797"}, + {"2001:44b8:405c::/48", "7545"}, + {"2400:a980:60fa::/45", "133512"}, + {"2602:fbaf:ab::/48", "400519"}, + {"2804:e80::/32", "262676"}, + {"2804:3df8:6001::/46", "266566"}, + {"2a0b:af00::/29", "56708"}, + {"2001:df0:b5::/48", "46049"}, + {"2406:c140:65::/48", "132337"}, + {"240a:aeb0::/32", "146410"}, + {"2800:bf0:3500::/48", "52257"}, + {"2804:2674:b000::/39", "264344"}, + {"2a05:50a7::/32", "62445"}, + {"2400:8800:302::/37", "3491"}, + {"2401:e380:10::/48", "131091"}, + {"2409:8002:2100::/37", "9808"}, + {"2409:804f:1900::/34", "9808"}, + {"240a:a786::/32", "144576"}, + {"240e:96b:6018::/46", "140372"}, + {"2607:4e80::/32", "15165"}, + {"2620:121:5000::/46", "36351"}, + {"2800:160:3::/45", "14259"}, + {"2a02:61e0::/32", "31543"}, + {"2620:bb:c000::/48", "33151"}, + {"2620:10d:6004::/48", "26722"}, + {"2803:dfa0::/32", "267797"}, + {"2804:c6c:8103::/45", "52704"}, + {"2001:559:51a::/48", "33650"}, + {"2402:8100:2560::/43", "45271"}, + {"240a:a618::/32", "144210"}, + {"2600:1417:2d::/46", "20940"}, + {"2600:141b:2801::/37", "20940"}, + {"2600:1480:c100::/36", "20940"}, + {"2607:cd80:2000::/33", "6528"}, + {"2a00:6920::/48", "42020"}, + {"2001:1248:983d::/46", "11172"}, + {"2409:8b35::/28", "9808"}, + {"240a:a021::/32", "142683"}, + {"240e:924:5000::/32", "4134"}, + {"2607:f740:e00a::/48", "36217"}, + {"2620:132:e000::/48", "41690"}, + {"2a02:f38:2::/48", "15499"}, + {"2001:559:599::/48", "7922"}, + {"2400:5120::/32", "131642"}, + {"240e:37f:ac00::/24", "4134"}, + {"2804:4ddc::/32", "268224"}, + {"2a01:ce8d:9000::/30", "51964"}, + {"2a0a:4ec0::/29", "559"}, + {"2a0f:5707:aa80::/44", "56382"}, + {"2620:100:9000::/47", "26211"}, + {"2804:22a0::/44", "264112"}, + {"2a02:26f7:cb::/48", "20940"}, + {"2a05:b6c1::/32", "12637"}, + {"2001:250:6815::/46", "24368"}, + {"2001:468:500::/48", "14041"}, + {"2607:f7c0:4000::/40", "40819"}, + {"2806:2f0:8143::/42", "17072"}, + {"2a00:14c0::/32", "35382"}, + {"2001:559:87df::/48", "7725"}, + {"2001:799::/32", "21320"}, + {"2001:4ce0::/32", "25058"}, + {"240e:379::/35", "140329"}, + {"2605:4a00:211::/44", "14361"}, + {"2a00:18a8::/32", "29246"}, + {"2a02:20c8:2570::/32", "50304"}, + {"2401:d800:f860::/40", "7552"}, + {"2409:8054:3035::/44", "56040"}, + {"2607:b300:fd06::/48", "54994"}, + {"2804:5bd4::/32", "268871"}, + {"2a04:4e42:2e::/43", "54113"}, + {"2801:80:16f0::/48", "264895"}, + {"2a0d:2784::/30", "62068"}, + {"2001:428:6402:5::/64", "2639"}, + {"2001:559:c464::/48", "33651"}, + {"2401:d800:7420::/41", "7552"}, + {"2a03:a900:ffff::/48", "57707"}, + {"2a05:4800::/29", "12722"}, + {"2a07:3c0::/29", "34049"}, + {"2a0d:5440::/29", "48927"}, + {"2001:253:118::/48", "142084"}, + {"2001:df6:b981::/48", "136969"}, + {"2406:800::/32", "23661"}, + {"2409:8002:2000::/40", "38019"}, + {"240a:a36a::/32", "143524"}, + {"240a:aaca::/32", "145412"}, + {"2606:3240::/33", "399252"}, + {"2620:160:e300::/44", "4196"}, + {"2804:4c4::/32", "28271"}, + {"2804:ef0::/39", "263558"}, + {"2804:1e90::/35", "264436"}, + {"2a00:114f:4::/46", "199295"}, + {"2001:559:c218::/47", "33667"}, + {"2001:fd8:3370::/44", "4775"}, + {"2a00:4800::/40", "8717"}, + {"2a02:d58::/29", "44919"}, + {"2001:520:1001::/48", "8103"}, + {"2803:5c80:5054::/44", "64114"}, + {"2401:4900:3380::/44", "45609"}, + {"2404:9ec0:500::/48", "38136"}, + {"2408:8346:1200::/32", "4837"}, + {"2600:380:e010::/38", "7018"}, + {"2a00:7580:16::/48", "3257"}, + {"2a00:b900:3::/32", "51561"}, + {"2001:559:2f7::/48", "22258"}, + {"2001:dc7:5e00::/32", "24151"}, + {"2403:300:a08::/48", "6185"}, + {"2800:a30::/37", "262187"}, + {"2401:4900:4538::/45", "45609"}, + {"2402:e880::/32", "9808"}, + {"2404:bf40:8600::/47", "7545"}, + {"2606:4740::/32", "399116"}, + {"2606:7d00:d001::/34", "23248"}, + {"2803:8060::/32", "267803"}, + {"2803:d040::/32", "61497"}, + {"2804:2488::/43", "264228"}, + {"2804:7a84::/32", "271376"}, + {"2400:7400:e02c::/48", "38044"}, + {"2401:d800:50c0::/42", "7552"}, + {"2a03:8d60::/48", "203618"}, + {"2001:12b4::/32", "262983"}, + {"2401:1d40:3f02::/48", "58466"}, + {"2408:8409:6000::/40", "4808"}, + {"240a:af83::/32", "146621"}, + {"2600:140f:e01::/35", "20940"}, + {"2605:5c0:c085::/44", "28885"}, + {"2607:fdb0::/32", "3361"}, + {"2a06:fb80::/29", "21013"}, + {"2a0b:c340::/29", "205477"}, + {"2a0f:c480::/29", "56655"}, + {"2001:470:96::/48", "55243"}, + {"2001:559:119::/48", "33657"}, + {"2001:67c:8::/48", "196621"}, + {"2401:d800:7b10::/42", "7552"}, + {"2406:bfc0::/32", "131668"}, + {"240e:97e::/33", "58543"}, + {"2804:213c:4::/42", "264544"}, + {"2a01:8840:2a::/45", "12041"}, + {"2a0c:b641:456::/48", "208421"}, + {"2001:fb0:109f:12::/64", "36040"}, + {"240a:a0bc::/32", "142838"}, + {"240a:a9da::/32", "145172"}, + {"2a02:26f7:f60d::/42", "20940"}, + {"2a02:2da0::/32", "47447"}, + {"2a02:2e02:1af0::/39", "12479"}, + {"2a07:4300:31::/48", "209622"}, + {"2407:c280:30ff::/48", "24322"}, + {"2a00:fa60:1260::/37", "53550"}, + {"2a12:a2c0::/29", "400522"}, + {"2001:1398:1::/45", "27678"}, + {"2408:8957:5000::/40", "17622"}, + {"2409:8054:35::/46", "56040"}, + {"240a:ab2d::/32", "145511"}, + {"2620:107:9050::/48", "22787"}, + {"2620:149::/47", "714"}, + {"2a00:bdc0:e002::/45", "28709"}, + {"2a01:4020:17::/42", "25369"}, + {"2a04:8e80::/48", "199937"}, + {"2a04:8f40:ffff::/48", "205505"}, + {"2a02:26f7:ef41::/46", "20940"}, + {"2620:135:6000::/44", "22697"}, + {"2a0d:1fc0::/29", "8888"}, + {"2a0e:b107:220::/44", "208717"}, + {"2604:3b80::/34", "31857"}, + {"2803:d100:a000::/33", "52362"}, + {"2804:655c::/32", "269485"}, + {"2a04:4280:200::/48", "43260"}, + {"2a04:92c7:f::/42", "62240"}, + {"240a:a299::/32", "143315"}, + {"240e:965:ac00::/33", "4134"}, + {"2001:559:43b::/48", "21508"}, + {"2600:1404:bc01::/38", "20940"}, + {"2804:2b6c::/32", "262794"}, + {"2806:2f0:7321::/46", "17072"}, + {"2600:6c38:16e::/43", "20115"}, + {"2620:129:9001:2::/57", "13767"}, + {"2800:bf0:b422::/48", "27947"}, + {"2001:da8:21c::/48", "24349"}, + {"2001:df3:2580::/48", "140110"}, + {"2404:4a00:6500:1::/48", "45629"}, + {"2406:69c0:1000::/36", "17439"}, + {"2806:230:3022::/48", "265594"}, + {"2a02:26f7:e90c::/48", "36183"}, + {"2001:fd8:3022::/44", "132199"}, + {"2400:54a0:1030::/48", "149476"}, + {"2620:0:50c0::/48", "6939"}, + {"2a03:44a0:100::/48", "200521"}, + {"2001:250:681b::/48", "24368"}, + {"2604:f040::/32", "395927"}, + {"2605:72c0:3::/48", "32354"}, + {"2804:18:6060::/45", "26599"}, + {"2a01:be80::/32", "51401"}, + {"2001:579:10ac::/41", "22773"}, + {"2804:4f80:9200::/48", "268330"}, + {"2a04:4e40:2210::/44", "54113"}, + {"2a04:dbe0::/30", "201894"}, + {"2a0e:e704:46::/48", "210851"}, + {"2600:9000:21ca::/48", "16509"}, + {"2804:2bc8::/32", "265175"}, + {"2a02:26f7:cf88::/48", "36183"}, + {"2a02:26f7:f2c0::/48", "36183"}, + {"2a03:4300::/29", "51048"}, + {"2001:1900:22a3::/39", "3356"}, + {"2400:1c00:1a0::/43", "45143"}, + {"2408:8459:9210::/42", "17623"}, + {"2409:8e15:8000::/35", "56044"}, + {"2801:134::/43", "3549"}, + {"2a02:26f7:cec0::/48", "36183"}, + {"2407:e400::/32", "18390"}, + {"2804:2dd4::/32", "265306"}, + {"2806:2f0:2123::/43", "22884"}, + {"2409:8924:9b00::/37", "56046"}, + {"240a:a377::/32", "143537"}, + {"240e:95d:3000::/26", "4134"}, + {"2606:f900:a602::/36", "812"}, + {"2607:500::/32", "17049"}, + {"2803:2a80:8f0::/47", "262928"}, + {"2a0a:2c0:2::/48", "48648"}, + {"2001:6b0:5::/32", "1653"}, + {"240a:a720::/32", "144474"}, + {"240e:353:5c00::/34", "134419"}, + {"2a02:26f7:bed1::/42", "20940"}, + {"2a0a:b500::/29", "57878"}, + {"2401:7ec0::/32", "59127"}, + {"240e:438:3c20::/43", "140647"}, + {"2600:9000:10e8::/43", "16509"}, + {"2602:feda:d60::/47", "212034"}, + {"2604:5500:1000::/42", "19165"}, + {"2a00:a0c0::/32", "34233"}, + {"2a0e:b107:1130::/46", "212121"}, + {"2001:678:f30::/48", "211398"}, + {"2001:67c:6c4::/48", "38914"}, + {"2610:b0:4038::/47", "21433"}, + {"2a09:afc0::/48", "207597"}, + {"2a10:6740::/32", "60672"}, + {"2403:2c40::/32", "58668"}, + {"2600:6c38:604::/44", "20115"}, + {"2a02:26f7:c101::/46", "20940"}, + {"2a03:4800::/39", "21286"}, + {"2001:df0:2cc::/48", "55909"}, + {"2001:12f8:8::/47", "10906"}, + {"2409:896a:5600::/39", "9808"}, + {"2804:710c::/32", "270763"}, + {"240a:add3::/32", "146189"}, + {"2605:e000:c0b::/48", "10838"}, + {"2a01:821::/29", "3209"}, + {"2a0c:9a40:1::/48", "34927"}, + {"2001:559:c095::/48", "7015"}, + {"2001:1388:8a0b::/48", "6147"}, + {"240a:a9dd::/32", "145175"}, + {"2804:6d6c::/33", "270532"}, + {"2a01:5ec0::/34", "44244"}, + {"2001:67c:213c::/48", "43681"}, + {"2408:8957:6000::/40", "17622"}, + {"2606:2800:4a9c::/46", "15133"}, + {"2620:e8:c000::/48", "394545"}, + {"2804:a24::/32", "263025"}, + {"2804:1bd8:9000::/33", "28224"}, + {"2a0d:2902:caf7::/44", "204185"}, + {"240e:960:c00::/40", "148969"}, + {"2a02:ce0:1809::/32", "35819"}, + {"2a02:26f7:cccd::/42", "20940"}, + {"2001:250:3814::/38", "23910"}, + {"2001:1bf8::/29", "47814"}, + {"2401:d800:9a40::/40", "7552"}, + {"240a:a3be::/32", "143608"}, + {"240a:ab75::/32", "145583"}, + {"2600:140f:5401::/38", "20940"}, + {"2409:8f04:c300::/35", "24547"}, + {"240a:a212::/32", "143180"}, + {"2600:6c10:f84c::/37", "20115"}, + {"2606:82c0:31::/46", "32167"}, + {"2a00:6060:8000::/48", "199881"}, + {"2a02:ac80:7371::/32", "25145"}, + {"2a05:cfc0::/29", "48635"}, + {"2402:800:9571::/40", "7552"}, + {"2409:8904:5740::/42", "24547"}, + {"2605:dd40::/44", "398549"}, + {"2606:2800:5091::/48", "15133"}, + {"240a:a0e6::/32", "142880"}, + {"2804:56cc::/32", "268024"}, + {"2a00:1718::/32", "25176"}, + {"2a02:26f7:f6d8::/46", "36183"}, + {"2a11:2180::/29", "56897"}, + {"2800:484:9300::/36", "14080"}, + {"2001:da8:233::/45", "24349"}, + {"2401:c300::/32", "55353"}, + {"240a:acb8::/32", "145906"}, + {"2605:a401:8960::/40", "33363"}, + {"2801:1b:f000::/48", "267703"}, + {"2804:664::/32", "262582"}, + {"2804:59b0::/32", "268719"}, + {"2001:678:90::/48", "57801"}, + {"2401:d800:d680::/42", "7552"}, + {"2405:c0:10::/48", "138881"}, + {"240a:a5b9::/32", "144115"}, + {"2600:140b:7c00::/48", "31109"}, + {"2607:f0a0::/32", "32335"}, + {"2a02:26f0:7c01::/39", "20940"}, + {"2001:df2:9280::/48", "136375"}, + {"240a:a5ab::/32", "144101"}, + {"2804:1a70::/32", "61859"}, + {"2804:7fd0::/32", "271711"}, + {"2a05:3f40::/29", "60781"}, + {"2a08:600::/45", "206747"}, + {"2a0b:6800:3::/29", "16150"}, + {"240e:10:800::/37", "63835"}, + {"2600:6c38:108::/47", "20115"}, + {"2800:68:dc42::/34", "61468"}, + {"2806:370:4310::/40", "28403"}, + {"2a00:1930::/32", "34624"}, + {"2001:559:525::/48", "7922"}, + {"2001:67c:2a4c::/48", "20712"}, + {"2408:8347::/35", "140726"}, + {"2804:124c:800::/32", "263468"}, + {"2001:a98:100::/48", "5474"}, + {"2402:f080::/46", "38150"}, + {"240e:45c:8500::/40", "140533"}, + {"240e:45c:9100::/40", "140534"}, + {"240e:879:80c0::/30", "4134"}, + {"240e:982:8500::/36", "4134"}, + {"2600:1403:5c00::/48", "35994"}, + {"2001:550:6603::/40", "174"}, + {"2001:559:39a::/48", "7015"}, + {"2001:559:801d::/48", "7015"}, + {"2001:6d0:6d0b::/48", "45029"}, + {"2407:1e40:301::/37", "141732"}, + {"2607:fb10:5039::/48", "55095"}, + {"2804:8350::/32", "272190"}, + {"2a01:828::/29", "3209"}, + {"2a0e:9dc0::/29", "34919"}, + {"2401:4900:5ee0::/43", "45609"}, + {"2409:8e14:7000::/32", "56044"}, + {"240a:a6f9::/32", "144435"}, + {"2801:18:9001::/48", "14080"}, + {"2a02:26f7:bf85::/46", "20940"}, + {"2001:56a:4::/44", "852"}, + {"2001:1a68:ec00::/40", "57367"}, + {"2600:370f:20c1::/46", "32261"}, + {"2a05:e740:145::/48", "29108"}, + {"2001:559:8523::/48", "7725"}, + {"2607:b400::/40", "1312"}, + {"2607:f9a0::/32", "36149"}, + {"2a04:ec10::/47", "32066"}, + {"2001:678:2e4::/48", "31079"}, + {"2001:930::/39", "15924"}, + {"2408:840c:d400::/40", "17621"}, + {"2803:5e40::/32", "52510"}, + {"2804:20c::/32", "28172"}, + {"2804:6750::/32", "52648"}, + {"2806:1030:cefe::/48", "20940"}, + {"2a00:1d24::/30", "49544"}, + {"2a01:7860::/32", "12859"}, + {"2a07:e400::/29", "202282"}, + {"2001:44b8:205d::/48", "4739"}, + {"240e:44d:3840::/42", "140353"}, + {"2a04:2640::/29", "60460"}, + {"2001:559:843c::/48", "7725"}, + {"2001:1a11:f8::/39", "42298"}, + {"2804:3670::/32", "266348"}, + {"2a06:7a00::/48", "49544"}, + {"2403:5000:189::/38", "9304"}, + {"2405:7f00:9620::/36", "133414"}, + {"2804:9c4:30::/32", "53055"}, + {"2804:1bb8::/32", "61745"}, + {"2a0c:c7c0::/29", "202424"}, + {"2001:559:84ad::/48", "33287"}, + {"2408:8256:596::/38", "17622"}, + {"2803:d80::/29", "13489"}, + {"2804:156c::/32", "61905"}, + {"2001:559:744::/48", "33650"}, + {"240e:44d:6480::/41", "4134"}, + {"2804:73f8::/32", "270949"}, + {"2a0d:bc2::/29", "29384"}, + {"2a0f:2940::/29", "399975"}, + {"2001:c10:ff02::/48", "397942"}, + {"2400:32::/48", "4766"}, + {"2603:f0c8::/29", "63023"}, + {"2604:4bc0::/36", "11509"}, + {"2803:9800:b8cb::/45", "11664"}, + {"2001:ee0:f140::/36", "45899"}, + {"240a:a678::/32", "144306"}, + {"240a:ac25::/32", "145759"}, + {"2605:5240::/34", "397494"}, + {"2a00:1750::/32", "3257"}, + {"2a0a:3b40::/34", "207974"}, + {"2a0c:7e47:c909::/48", "20473"}, + {"2001:559:80ce::/48", "7922"}, + {"2001:44b8:2046::/48", "7545"}, + {"2409:8904:6040::/42", "24547"}, + {"2001:13c7:7000::/48", "28498"}, + {"2400:7400:42::/48", "38044"}, + {"2605:7b00::/32", "22110"}, + {"2607:f3a0:1014::/36", "23342"}, + {"240e:26c::/30", "4812"}, + {"2607:f368:2d00::/35", "32982"}, + {"2804:44e8:201::/39", "267660"}, + {"2803:3280::/32", "263218"}, + {"2a02:26f7:e484::/48", "36183"}, + {"2001:67c:24fc::/48", "57423"}, + {"2001:df3:5d00::/48", "137204"}, + {"2001:18b8::/45", "29789"}, + {"2603:fe10::/26", "397165"}, + {"2803:e600:aaab::/35", "18809"}, + {"2a00:c584::/32", "198813"}, + {"2a02:26f7:b749::/46", "20940"}, + {"2001:559:8181::/46", "33287"}, + {"2001:67c:2560::/48", "57763"}, + {"2404:bf40:a002::/42", "139084"}, + {"2801:80:1c30::/48", "266077"}, + {"2804:18:10f8::/36", "26599"}, + {"2a02:26f7:b609::/46", "20940"}, + {"2a09:7f40::/29", "209378"}, + {"2001:250:3c22::/38", "23910"}, + {"2404:e5:130::/38", "703"}, + {"2409:8055:10::/48", "9808"}, + {"2600:1012:b080::/44", "6167"}, + {"2804:1798::/32", "263156"}, + {"2806:102e:1b::/48", "8151"}, + {"2409:8a04:3100::/33", "24547"}, + {"240a:a316::/32", "143440"}, + {"240a:aaba::/32", "145396"}, + {"240a:ac14::/32", "145742"}, + {"2804:1bfc::/32", "61632"}, + {"2a0a:7840::/29", "25433"}, + {"2a0e:b107:14d3::/48", "50058"}, + {"2001:f80::/32", "23775"}, + {"2408:8256:3174::/48", "17816"}, + {"2803:e880:8108::/45", "52468"}, + {"2a0d:e7c7:ffff::/48", "210015"}, + {"2001:559:8477::/48", "33659"}, + {"2804:171c::/32", "263124"}, + {"2a03:8580::/32", "8464"}, + {"2620:74:2d::/48", "26415"}, + {"2801:80:3890::/48", "270327"}, + {"2804:78f0::/32", "271275"}, + {"2a0c:fc00::/31", "205250"}, + {"2001:44b8:2035::/44", "7545"}, + {"2408:8459:3050::/38", "17816"}, + {"2620:171:36::/48", "715"}, + {"2a02:dc8::/30", "42656"}, + {"2a02:26f7:eb09::/42", "20940"}, + {"2a03:700::/32", "35271"}, + {"2001:559:8454::/48", "33651"}, + {"2001:df2:fc00::/48", "59111"}, + {"2403:6200:7603::/36", "45629"}, + {"2a00:fd40:1::/48", "58272"}, + {"2a0e:f340::/29", "44205"}, + {"2001:1900:5:2:2::5a20/108", "3356"}, + {"2409:804d:1100::/36", "9808"}, + {"240a:af02::/32", "146492"}, + {"240e:45c:6e00::/35", "131285"}, + {"2408:8459:f300::/37", "17622"}, + {"2409:8d75::/28", "9808"}, + {"240e:44d:6b80::/41", "4134"}, + {"2600:140b:ac01::/35", "20940"}, + {"2606:200::/32", "11942"}, + {"2a02:26f7:c0::/48", "36183"}, + {"2a02:26f7:d9c0::/48", "36183"}, + {"2a06:e881:6600::/48", "208872"}, + {"2001:559:3af::/48", "33491"}, + {"2001:4b20:100:599::/54", "34288"}, + {"240e:438:1e20::/43", "140647"}, + {"2620:10a:80f4::/48", "27299"}, + {"2803:3140::/32", "27843"}, + {"2804:7f7c::/32", "271691"}, + {"2a02:26f0:7001::/39", "20940"}, + {"2001:43f8:240::/47", "37304"}, + {"2600:6c38:b05::/44", "20115"}, + {"2803:1920::/32", "266671"}, + {"2804:4300::/32", "267542"}, + {"2a02:d00::/32", "49101"}, + {"2409:8054:3040::/45", "56040"}, + {"2409:8907:7b20::/37", "24547"}, + {"2409:8c85:81::/37", "9808"}, + {"2607:4000:600::/32", "73"}, + {"2800:3a0:194::/32", "23201"}, + {"2804:14c:4e5::/44", "28573"}, + {"2806:105e:c::/48", "8151"}, + {"2a03:2480:6a::/45", "41983"}, + {"2a06:fac0::/29", "13182"}, + {"2001:44b8:404a::/48", "7545"}, + {"2804:14d:4283::/41", "28573"}, + {"2804:5c00::/32", "268882"}, + {"2a02:570::/32", "15935"}, + {"2a04:7340:7341::/29", "62172"}, + {"2a00:f826:9::/48", "34549"}, + {"2a02:2498:3::/48", "36351"}, + {"2a02:26f7:a3::/48", "20940"}, + {"2a02:26f7:bac0::/48", "36183"}, + {"2400:c3c0::/32", "136407"}, + {"2401:d800:2830::/41", "7552"}, + {"2607:4d00:2000::/35", "33398"}, + {"2803:86e0::/32", "269952"}, + {"2804:84:881b::/33", "14282"}, + {"2a09:28c0::/48", "25540"}, + {"240a:a5e0::/32", "144154"}, + {"240e:966:800::/37", "133774"}, + {"2605:2080:8000::/34", "394844"}, + {"2804:5140::/32", "268440"}, + {"2804:7dc8::/32", "271582"}, + {"2a04:5200:5977::/48", "202306"}, + {"2a0d:2581:8::/48", "209261"}, + {"2402:6800:6::/48", "26506"}, + {"2404:c800:8204::/29", "4760"}, + {"2408:840c:9300::/40", "17621"}, + {"2408:84f3:3410::/44", "17623"}, + {"2620:149:224::/44", "714"}, + {"2a09:4f40::/48", "209562"}, + {"2a0b:a200::/29", "208681"}, + {"2a00:5881:1000::/40", "203432"}, + {"2a01:248::/32", "28792"}, + {"2001:480:60::/48", "5957"}, + {"2001:df0:480::/48", "38532"}, + {"2401:14c0:31::/32", "136531"}, + {"2600:1408:3400::/48", "35994"}, + {"2401:4900:1b60::/44", "45609"}, + {"2a02:26f0:da01::/39", "20940"}, + {"2a02:ed02::/32", "50304"}, + {"2a03:2100:31::/48", "209127"}, + {"2001:550:105::/44", "174"}, + {"2001:559:c110::/48", "7016"}, + {"2001:67c:438::/48", "198337"}, + {"2402:800:3b9b::/41", "7552"}, + {"2408:8456:b240::/37", "17816"}, + {"2409:8904:9190::/38", "24547"}, + {"240e:964:ac00::/33", "4134"}, + {"240e:978:7000::/40", "137702"}, + {"2804:1b74::/32", "61729"}, + {"2804:44b0::/32", "267647"}, + {"2a09:2ac0::/29", "41563"}, + {"2001:1248:55a8::/47", "11172"}, + {"240a:a28a::/32", "143300"}, + {"2605:4a80:ef00::/40", "11055"}, + {"2a0b:7f80::/29", "13126"}, + {"2406:3000:f::/43", "4657"}, + {"240e:5a:4a80::/34", "4134"}, + {"2605:700::/32", "13750"}, + {"2a00:12c0::/29", "47215"}, + {"2a03:62c0::/32", "43402"}, + {"2a03:85c0:141::/31", "20561"}, + {"2a0b:a280::/48", "203377"}, + {"2001:1a11:12f::/48", "42298"}, + {"2404:a800:7::/35", "9498"}, + {"2408:840d:2b00::/42", "17621"}, + {"240a:a4d5::/32", "143887"}, + {"2a02:26f7:e94c::/48", "36183"}, + {"2a02:26f7:f8d8::/48", "36183"}, + {"2a0a:3140:600::/46", "15532"}, + {"2001:df4:4b00::/48", "137315"}, + {"2400:a980:30f2::/48", "38587"}, + {"2402:47c0:200::/32", "137280"}, + {"2407:e80::/47", "58689"}, + {"240a:a1b8::/32", "143090"}, + {"2600:9000:2452::/48", "16509"}, + {"2a00:5dc0::/29", "31313"}, + {"2a0e:fd45:2::/45", "44103"}, + {"2400:d400:5648::/48", "45671"}, + {"2001:ee0:305::/48", "45899"}, + {"240e:438:5220::/43", "140647"}, + {"240e:6b6::/36", "136199"}, + {"2600:370f:372a::/41", "32261"}, + {"2602:ff18:241::/46", "21973"}, + {"2804:693c::/33", "270257"}, + {"2804:7890::/32", "271251"}, + {"2001:418:8004::/47", "7019"}, + {"240a:aab0::/32", "145386"}, + {"2806:2f0:6181::/46", "17072"}, + {"2a06:3880::/29", "49981"}, + {"2001:678:adc::/48", "3320"}, + {"2605:2600::/32", "19842"}, + {"2800:430:2100::/33", "23487"}, + {"2a10:88c0::/29", "49808"}, + {"2001:559:8002::/47", "7922"}, + {"2001:559:c118::/48", "33657"}, + {"2001:41a0::/32", "6882"}, + {"2403:300:a0e::/48", "6185"}, + {"240a:a953::/32", "145037"}, + {"2804:431:c000::/35", "27699"}, + {"2a01:358:4014::/47", "9121"}, + {"2a06:1e00:27::/48", "210075"}, + {"2408:8956:b800::/40", "17622"}, + {"240a:a090::/32", "142794"}, + {"2620:115:c007::/44", "2635"}, + {"2802:0:47::/44", "18747"}, + {"2408:8459:b610::/42", "17623"}, + {"240a:a275::/32", "143279"}, + {"2804:2538:4ee0::/32", "28183"}, + {"2001:388:30c5::/43", "7575"}, + {"2001:67c:2268::/48", "56740"}, + {"2605:6fc0::/32", "19523"}, + {"2803:5440:100::/47", "264738"}, + {"2804:6370::/32", "269361"}, + {"2806:2f0:2182::/48", "17072"}, + {"240a:a9c0::/32", "145146"}, + {"2600:6c3a:44::/46", "20115"}, + {"2607:fba8::/32", "7029"}, + {"2804:2f48::/33", "53052"}, + {"2001:67c:2f80::/48", "42251"}, + {"2402:800:99e0::/44", "7552"}, + {"2a00:f940::/48", "12695"}, + {"2401:d800:692::/39", "7552"}, + {"2804:60d4::/33", "269194"}, + {"2806:2f0:2422::/48", "17072"}, + {"2a00:6dc0::/32", "202237"}, + {"2001:559:8435::/48", "22909"}, + {"2402:800:5ca9::/41", "7552"}, + {"2408:8459:ee50::/39", "17816"}, + {"2408:8912::/29", "4837"}, + {"2600:1409:a801::/37", "20940"}, + {"2602:fcd5:18::/46", "399122"}, + {"2604:d600:1216::/44", "32098"}, + {"2a0e:40c0:4::/48", "50979"}, + {"2c0f:ed00:44::/48", "328442"}, + {"2402:5300:4510::/38", "45903"}, + {"2600:1000:a100::/43", "6167"}, + {"2a11:82c0::/29", "1239"}, + {"2001:df4:2a00::/48", "132401"}, + {"2409:8820::/27", "9808"}, + {"240a:a078::/32", "142770"}, + {"2604:d600:154c::/46", "32098"}, + {"2804:400::/32", "262409"}, + {"2001:559:16b::/48", "7015"}, + {"2800:160:147b::/40", "14259"}, + {"2806:230:402d::/48", "11888"}, + {"2a0b:3f80::/29", "43019"}, + {"2403:a500::/32", "133495"}, + {"2804:48dc::/32", "267149"}, + {"2a02:f000::/32", "199490"}, + {"2001:67c:1094::/48", "210290"}, + {"2620:a2:c000::/48", "46875"}, + {"2a07:23c0:8::/47", "13213"}, + {"2001:1248:57a6::/43", "11172"}, + {"2606:5dc0:8800::/40", "395561"}, + {"2607:f750:2000::/39", "23473"}, + {"2400:6140::/32", "64006"}, + {"2607:f6f0:e000::/40", "398814"}, + {"2804:1040:888b::/34", "263626"}, + {"2804:2ac4::/32", "265117"}, + {"2a07:ae80::/29", "8455"}, + {"2405:c400::/48", "133104"}, + {"2605:6440:6006::/32", "396356"}, + {"2800:160:24ff::/39", "14259"}, + {"2a03:2880:f10b::/43", "32934"}, + {"2001:67c:2c74::/48", "9201"}, + {"240a:a428::/32", "143714"}, + {"240a:abf8::/32", "145714"}, + {"2602:fbdf::/36", "398355"}, + {"2606:f900:4407::/34", "812"}, + {"2a07:4d80::/32", "206332"}, + {"2a0b:b86:fe01::/48", "205749"}, + {"2001:559:8630::/47", "33287"}, + {"2001:16a2:401e::/47", "39386"}, + {"2001:559:c093::/48", "33657"}, + {"240a:a808::/32", "144706"}, + {"240a:adae::/32", "146152"}, + {"2602:fc99::/36", "400142"}, + {"2a01:4a60:ffc0::/42", "6768"}, + {"2a06:a001:a10e::/48", "210384"}, + {"2001:678:a14::/48", "13101"}, + {"240a:ab81::/32", "145595"}, + {"2a01:a480::/32", "15576"}, + {"2a02:6680:2100::/44", "16116"}, + {"2400:6980::/32", "7575"}, + {"2600:370f:34c5::/43", "32261"}, + {"2804:778c::/32", "271185"}, + {"2001:67c:2f18::/48", "56344"}, + {"2001:df7:400::/48", "134753"}, + {"2409:8a55:2800::/38", "56040"}, + {"2a00:1d60:f000::/36", "59990"}, + {"2a0c:b642:900::/47", "204625"}, + {"2001:4830:3101::/40", "22147"}, + {"2607:f148:6000::/47", "11734"}, + {"2001:559:c323::/48", "7016"}, + {"2001:fd8:32f0::/44", "4775"}, + {"2408:8026:40::/40", "17621"}, + {"240e:62:e000::/36", "140310"}, + {"2600:140b:d401::/36", "20940"}, + {"2603:90f5:b00::/40", "20115"}, + {"2804:38d4::/32", "266504"}, + {"2a00:5980::/32", "197869"}, + {"2a01:8840:26::/44", "12041"}, + {"2a0b:2080::/32", "36924"}, + {"2001:da8:25f::/48", "24351"}, + {"2001:df2:e500::/48", "14907"}, + {"2804:2580:4000::/35", "264284"}, + {"2a04:1600::/29", "61967"}, + {"240a:a568::/32", "144034"}, + {"240c:c001::/32", "59201"}, + {"2804:13c8::/32", "263551"}, + {"2804:4be4:9000::/33", "267335"}, + {"2804:7f84::/32", "271693"}, + {"2600:140b:2800::/48", "24319"}, + {"2607:f0d0::/46", "36351"}, + {"2610:b0:40d6::/47", "3573"}, + {"2800:160:1310::/45", "14259"}, + {"2a0d:60c0::/32", "59504"}, + {"2001:4b80::/29", "206557"}, + {"240a:ab5d::/32", "145559"}, + {"2a03:b4c0::/32", "61169"}, + {"2a09:b280:ff81::/48", "133846"}, + {"2a0d:5642:101::/48", "35487"}, + {"2001:559:839d::/42", "33652"}, + {"2001:67c:60c::/48", "201907"}, + {"2001:1248:882b::/43", "11172"}, + {"2402:800:55e0::/44", "7552"}, + {"2606:6c00:6001::/45", "49846"}, + {"2620:125:9014::/48", "397415"}, + {"2a01:4a8::/32", "33873"}, + {"2a02:22f0::/32", "52088"}, + {"2a03:dd41::/32", "39122"}, + {"2402:a700::/32", "7575"}, + {"2620:10f:400e::/48", "30037"}, + {"2001:fd8:f300::/42", "132199"}, + {"2600:1402:7801::/32", "20940"}, + {"2607:4100::/34", "19171"}, + {"2001:250:342e::/48", "138438"}, + {"2001:ee0:8a40::/37", "45899"}, + {"2409:0:100::/32", "142500"}, + {"2602:fc05::/40", "398355"}, + {"2607:fb10:7203::/42", "2906"}, + {"2607:fca8:534::/35", "17139"}, + {"2a06:8280:20::/44", "42978"}, + {"2803:fbe0:100::/46", "270092"}, + {"2a02:26f7:e08d::/42", "20940"}, + {"2a05:1a10:2002::/26", "43754"}, + {"2a0f:9400:7932::/45", "210718"}, + {"240a:afd6::/32", "146704"}, + {"2604:85c0:6::/47", "16524"}, + {"2804:6a64::/32", "270333"}, + {"2a00:8a00:a000::/36", "45769"}, + {"2001:559:477::/48", "33650"}, + {"2001:ee0:9140::/40", "45899"}, + {"2401:8d00:14::/48", "24149"}, + {"2607:fcd0:100:f01::/50", "8100"}, + {"2804:7598:c001::/44", "271057"}, + {"2a02:5f60::/32", "201955"}, + {"240a:ab5a::/32", "145556"}, + {"2600:14a0:1::/40", "20940"}, + {"2606:ae80:1470::/46", "26762"}, + {"2a01:280:1::/48", "12381"}, + {"2402:e380:313::/48", "139677"}, + {"2a02:26f7:dc40::/48", "36183"}, + {"2a04:9301::/29", "1764"}, + {"2001:67c:1544::/48", "3301"}, + {"2001:67c:2738::/48", "12628"}, + {"2001:df0:ac00::/44", "133729"}, + {"2405:17c0:2::/32", "139331"}, + {"2607:fb10:2015::/42", "2906"}, + {"2a0f:ca87:1::/48", "209389"}, + {"2001:67c:2488::/48", "48258"}, + {"2a03:2600::/32", "25353"}, + {"2a0a:5800::/29", "200428"}, + {"2c0f:f560::/32", "36939"}, + {"2402:800:7f80::/42", "7552"}, + {"2406:3000:3:2a::/63", "4657"}, + {"240a:ae11::/32", "146251"}, + {"2a00:1f08::/32", "28676"}, + {"2405:3200:102::/37", "17639"}, + {"240e:3b7:3e00::/33", "140308"}, + {"2a02:26f0:bf00::/48", "34164"}, + {"2408:8957:2ac0::/39", "17816"}, + {"2409:8e5d::/26", "9808"}, + {"2801:1fc:1c::/48", "27951"}, + {"2804:c84:26::/43", "52720"}, + {"2a01:328::/32", "31117"}, + {"2001:c20:48ae::/43", "9255"}, + {"240a:a9dc::/32", "145174"}, + {"2602:fd55:2::/48", "40564"}, + {"2804:e24:fffb::/45", "262417"}, + {"2804:1bac::/32", "61651"}, + {"2804:51b4::/33", "268471"}, + {"2a02:26f7:c8cd::/46", "20940"}, + {"2001:559:c459::/48", "33659"}, + {"2001:ee0:3208::/47", "45899"}, + {"2401:d800:440::/42", "7552"}, + {"2401:d800:a20::/41", "7552"}, + {"2409:8904:8790::/36", "24547"}, + {"240a:a77b::/32", "144565"}, + {"240a:a8f0::/32", "144938"}, + {"2a0c:9a40:2100::/38", "34927"}, + {"2001:67c:2ee0::/48", "51214"}, + {"240e:438:4840::/38", "4134"}, + {"2604:dc00:100a::/33", "19752"}, + {"2001:559:c203::/48", "33667"}, + {"2001:678:301::/48", "29551"}, + {"2001:67c:2e20::/48", "12945"}, + {"2408:8956:9f00::/40", "17816"}, + {"2800:bf0:3429::/43", "27947"}, + {"2001:559:565::/48", "33490"}, + {"2a02:52a0::/32", "202017"}, + {"2001:559:81d7::/44", "21508"}, + {"2605:47c0::/32", "397589"}, + {"2804:6ff0::/32", "270696"}, + {"2a0a:b780::/29", "51815"}, + {"2001:1248:9c9f::/42", "11172"}, + {"2402:28c0::/46", "136620"}, + {"2402:ef3c::/32", "7633"}, + {"2405:7f00:9ec0::/34", "133414"}, + {"2603:1061:7::/30", "8075"}, + {"2806:264:3300::/37", "13999"}, + {"2620:0:22b0::/48", "20144"}, + {"2803:6700:201::/46", "263210"}, + {"2804:14c:a700::/40", "28573"}, + {"2804:8660::/32", "272639"}, + {"2001:67c:158c::/48", "5539"}, + {"2001:df4:1580::/48", "137146"}, + {"2404:f4c0:f700::/47", "138517"}, + {"2804:62e4::/32", "269326"}, + {"2a06:f905::/36", "56630"}, + {"2001:559:86e3::/48", "33652"}, + {"240a:ad87::/32", "146113"}, + {"240a:ade4::/32", "146206"}, + {"2600:1480:b000::/48", "21342"}, + {"2806:2f0:4183::/41", "17072"}, + {"2a02:e50::/32", "49605"}, + {"2403:5000:29a::/32", "9304"}, + {"2408:8456:1b00::/42", "17622"}, + {"240e:108:8b::/48", "137695"}, + {"240e:438:1620::/43", "140647"}, + {"2a06:3e80::/32", "62217"}, + {"2a09:d380::/30", "35709"}, + {"2409:8b3d::/25", "9808"}, + {"2800:430:b600::/33", "23487"}, + {"2a02:26f7:cb81::/46", "20940"}, + {"2a02:26f7:fb81::/46", "20940"}, + {"2001:250:742e::/48", "24371"}, + {"240e:438:5820::/43", "140647"}, + {"2607:f6f0:7002::/40", "27330"}, + {"2a02:26f7:d004::/48", "36183"}, + {"2a0f:9400:7864::/47", "147028"}, + {"2001:4479:a000::/37", "7545"}, + {"2402:53c0:2000::/33", "137144"}, + {"240e:945:1000::/32", "4134"}, + {"2600:6c20:65::/44", "20115"}, + {"2001:559:19e::/48", "33652"}, + {"2001:678:b18::/48", "15507"}, + {"2001:fd8:3004::/47", "4775"}, + {"2a0e:1c80:7::/48", "50304"}, + {"2a0f:14c0::/29", "399975"}, + {"2001:559:5fb::/48", "33287"}, + {"2001:559:c328::/48", "33651"}, + {"2407:a3c0::/32", "136742"}, + {"2604:ca00:1d8::/42", "36492"}, + {"2806:2f0:3301::/46", "17072"}, + {"2a00:ede0::/32", "35804"}, + {"2a0f:2680::/29", "204188"}, + {"240a:a61f::/32", "144217"}, + {"2604:20c0:4000::/36", "40641"}, + {"2801:0:370::/48", "262245"}, + {"2806:230:602f::/48", "11888"}, + {"2a00:1be7::/32", "205005"}, + {"2a02:26f7:dcc4::/48", "36183"}, + {"2a03:d000:301::/48", "31213"}, + {"2001:16a2:c0e0::/44", "39386"}, + {"240a:af68::/32", "146594"}, + {"2604:e580:ffff::/48", "2900"}, + {"2804:4870:1b3::/41", "267121"}, + {"2a00:42a0::/32", "25108"}, + {"2405:9800:110::/32", "45430"}, + {"2408:8456:3000::/41", "17623"}, + {"240a:af88::/32", "146626"}, + {"2001:1248:8200::/39", "11172"}, + {"2001:16a2:200::/36", "25019"}, + {"2001:4878:a062::/48", "12222"}, + {"2607:fe28:2090::/42", "53347"}, + {"2a01:4020:15::/46", "213122"}, + {"2a02:2b60:101::/46", "42947"}, + {"2400:cb00:184::/44", "13335"}, + {"2406:3000:3c::/41", "4657"}, + {"240e:698:4300::/40", "63835"}, + {"2606:9100:2000::/36", "1421"}, + {"2803:34c0::/32", "264806"}, + {"2806:322:500::/36", "28546"}, + {"2a01:110f:5100::/21", "5617"}, + {"240a:ae6f::/32", "146345"}, + {"2804:14c:7d83::/45", "28573"}, + {"2804:2cbc::/35", "265240"}, + {"2a0b:ef00::/29", "205697"}, + {"2001:559:268::/48", "33651"}, + {"2001:4490:4078::/40", "9829"}, + {"2408:8956:bf00::/40", "17816"}, + {"240a:a27c::/32", "143286"}, + {"2606:8840::/32", "3136"}, + {"2804:100c::/32", "263616"}, + {"2804:6030::/32", "269151"}, + {"2a04:9a00:1010::/44", "212157"}, + {"2402:8100:27f8::/47", "45271"}, + {"2606:2800:547::/44", "15133"}, + {"2a01:298:fe::/32", "30880"}, + {"2a03:5a00:e::/48", "51028"}, + {"2a04:88c4::/32", "205544"}, + {"2001:df7:6e00::/48", "17665"}, + {"2402:800:3855::/42", "7552"}, + {"2408:8957:e900::/40", "17816"}, + {"2a02:2318::/32", "15766"}, + {"2409:8c50:a01::/32", "56047"}, + {"2607:cd80:6000::/36", "6528"}, + {"2806:230:601d::/48", "11888"}, + {"2a01:74c0::/43", "15540"}, + {"2a02:26f7:e509::/46", "20940"}, + {"2a04:26c0::/29", "60532"}, + {"2402:800:38ee::/39", "7552"}, + {"2606:ed00::/47", "47869"}, + {"2804:7cc:1000::/48", "28669"}, + {"2001:978:2204::/39", "174"}, + {"2001:13b2::/29", "3356"}, + {"2001:4b22:10::/64", "65505"}, + {"240e:3b4:dc00::/34", "4134"}, + {"2800:860:b0b::/48", "20299"}, + {"2803:1240:3502::/32", "27855"}, + {"2001:1b30::/29", "20783"}, + {"2404:8280::/32", "38719"}, + {"2804:4f28::/32", "268308"}, + {"2a00:8a02:8000::/44", "8983"}, + {"2a03:f80:44::/48", "24851"}, + {"2a04:cec0:1300::/40", "25117"}, + {"2a10:ac80::/31", "29405"}, + {"2401:d800:d900::/42", "7552"}, + {"2402:800:559b::/41", "7552"}, + {"2408:8459:7010::/42", "17623"}, + {"2600:6c10:80::/44", "20115"}, + {"2620:162::/36", "14381"}, + {"2804:1b30::/32", "61714"}, + {"2a02:26f7:dc8c::/48", "36183"}, + {"2a0f:5384:acab::/48", "208135"}, + {"2401:2fc0::/32", "149305"}, + {"2406:dc0:8850::/47", "9221"}, + {"240a:a761::/32", "144539"}, + {"2804:154c:c000::/34", "263382"}, + {"2a0e:b107:13de::/48", "59922"}, + {"2001:1260:113::/44", "13591"}, + {"2404:c2c0:2c0::/44", "135629"}, + {"2a00:1348::/44", "8879"}, + {"2001:1248:56ee::/43", "11172"}, + {"2600:1400:6::/44", "20940"}, + {"2604:1d80::/32", "54876"}, + {"2804:54fc::/32", "268682"}, + {"2a02:2ad0:640::/32", "702"}, + {"2a0a:3540::/29", "208861"}, + {"2001:559:797::/48", "33490"}, + {"2600:1415:f801::/30", "20940"}, + {"2a01:5043:efd::/48", "202196"}, + {"2a0b:4a40::/29", "47926"}, + {"2001:559:8492::/48", "33667"}, + {"2001:1248:9c41::/40", "11172"}, + {"240a:a4a9::/32", "143843"}, + {"240a:ae89::/32", "146371"}, + {"2602:fd92:637::/44", "141011"}, + {"2806:288:2a00::/40", "28469"}, + {"2a02:2339:c000::/34", "204652"}, + {"2402:c500::/32", "56284"}, + {"2a01:c50f:4680::/35", "12479"}, + {"2408:8459:4a10::/42", "17623"}, + {"2620:115:a::/45", "18888"}, + {"2804:3360::/32", "262725"}, + {"2804:5be0::/32", "268874"}, + {"2a00:afe0::/32", "60491"}, + {"2a0d:4c44:4::/30", "61317"}, + {"2001:678:378::/48", "57294"}, + {"2801:80:1610::/48", "2635"}, + {"2a04:55c0::/29", "207630"}, + {"2408:8456:b440::/38", "17816"}, + {"240e:980:8b00::/40", "137695"}, + {"2606:5d80::/32", "32613"}, + {"2a02:26f0:2b01::/35", "20940"}, + {"2a0f:29c0::/30", "208256"}, + {"2001:67c:2b24::/48", "1257"}, + {"2001:12f0:940::/38", "1916"}, + {"2401:5400:5001::/32", "4434"}, + {"2408:8768::/32", "4837"}, + {"2409:8060:900::/35", "9808"}, + {"2600:8807:6d22::/43", "22773"}, + {"2a0c:3140:ffff::/48", "48989"}, + {"2a0f:f4c1:2::/48", "36040"}, + {"2406:daa0:b040::/44", "16509"}, + {"240a:a246::/32", "143232"}, + {"2804:290::/32", "28669"}, + {"2a02:26f7:cec1::/46", "20940"}, + {"2a02:26f7:d14c::/48", "36183"}, + {"2001:550:1205::/46", "174"}, + {"2001:559:c32b::/48", "33650"}, + {"2600:1419:d801::/34", "20940"}, + {"2604:8e80:3400::/32", "32505"}, + {"2620:a7:c000::/47", "40035"}, + {"2804:77c:e100::/35", "53222"}, + {"2a09:0:11::/48", "3214"}, + {"2409:4063:5000::/29", "55836"}, + {"240a:a3b1::/32", "143595"}, + {"2a02:d300::/29", "15595"}, + {"2a00:1288:110::/47", "34010"}, + {"2a02:26f7:f890::/48", "36183"}, + {"2a02:cb80:2720::/48", "43766"}, + {"2a11:ba40::/29", "211199"}, + {"2001:559:8483::/48", "22258"}, + {"240a:af4c::/32", "146566"}, + {"2600:1413:3001::/33", "20940"}, + {"2001:250:2c2c::/48", "23910"}, + {"2001:559:87f2::/48", "7015"}, + {"240a:a522::/32", "143964"}, + {"2600:6:ff89::/42", "1239"}, + {"2600:80c:a00::/37", "11486"}, + {"2602:101:4008::/30", "20115"}, + {"2605:1900:2::/32", "12208"}, + {"2a00:7bc0::/32", "200727"}, + {"2001:df3:b500::/48", "135946"}, + {"2001:43f8:bc0::/48", "37399"}, + {"240e:3b0:c800::/37", "4134"}, + {"2804:2ab4::/32", "53149"}, + {"2a02:26f7:b949::/42", "20940"}, + {"240e:44d:3a80::/41", "4134"}, + {"2604:2e80:1400::/46", "30036"}, + {"2800:110:1025::/34", "4270"}, + {"2a00:1a20::/29", "21283"}, + {"2804:378c::/32", "266420"}, + {"2408:8957:1400::/40", "17622"}, + {"240e:6:d1a0::/44", "149178"}, + {"2620:13a:c000::/46", "53356"}, + {"2804:707c::/32", "270729"}, + {"240a:a582::/32", "144060"}, + {"240a:a952::/32", "145036"}, + {"2607:e880:1000::/48", "12220"}, + {"2a02:5580::/32", "34547"}, + {"240a:a4ad::/32", "143847"}, + {"2806:2f0:2142::/48", "17072"}, + {"2806:10b8::/32", "8151"}, + {"2a02:26f7:ef00::/48", "36183"}, + {"2409:8043:2c04::/48", "24444"}, + {"240e:3b4:7a00::/32", "140313"}, + {"240e:964:eac0::/42", "133775"}, + {"2600:9000:1e3c::/47", "16509"}, + {"2605:6440:4009::/35", "396356"}, + {"2607:3e00::/32", "14928"}, + {"2804:3d8::/32", "262402"}, + {"2804:78e4::/32", "271272"}, + {"2804:37a8:1219::/45", "266428"}, + {"2a02:120:3::/29", "29396"}, + {"2001:559:5cb::/48", "33651"}, + {"2404:aa00::/32", "10031"}, + {"2605:ba00:f000::/36", "14638"}, + {"2a0e:fd45:d35::/44", "207803"}, + {"2001:df0:2740::/48", "149063"}, + {"2a02:e5c::/32", "44530"}, + {"2a02:2270:3000::/32", "43939"}, + {"2001:559:814b::/48", "33651"}, + {"2800:4b0:4510::/32", "12252"}, + {"2a03:db80:3825::/33", "680"}, + {"2600:370f:7160::/47", "32261"}, + {"2606:3800::/32", "3912"}, + {"2606:b100::/32", "32393"}, + {"2a02:26f7:f088::/48", "36183"}, + {"240a:ae72::/32", "146348"}, + {"240e:438:1640::/36", "4134"}, + {"2804:da8:f7b0::/36", "262605"}, + {"2806:2f0:7083::/42", "17072"}, + {"2a01:73c0:690::/41", "21450"}, + {"2a02:888:43::/48", "47794"}, + {"2a04:2200::/31", "60955"}, + {"2001:559:c02e::/48", "7725"}, + {"2404:bf40:ea03::/48", "7545"}, + {"2a0e:97c0:2c0::/44", "211548"}, + {"2a10:e080::/32", "20473"}, + {"2001:c80:84::/32", "4673"}, + {"2409:4012:3000::/29", "55836"}, + {"2607:ffc8:0:3::/61", "17356"}, + {"2804:5cb0::/32", "268924"}, + {"2001:df5:2800::/48", "24558"}, + {"2607:f790::/32", "12129"}, + {"2800:160:2c3b::/41", "14259"}, + {"2801:174:3::/48", "27951"}, + {"240e:67f:8c00::/33", "4134"}, + {"2800:bf0:25e::/42", "27947"}, + {"2806:230:1025::/48", "11888"}, + {"2a0f:3800::/29", "198211"}, + {"2a0f:9c00::/29", "52031"}, + {"240a:ab93::/32", "145613"}, + {"2a02:26f7:bc85::/46", "20940"}, + {"2404:a140:20::/48", "138915"}, + {"2804:673c:c400::/34", "269615"}, + {"2001:579:d224::/41", "22773"}, + {"2607:4100:8000::/33", "19171"}, + {"2803:84a0::/32", "266820"}, + {"2804:2df8::/32", "265315"}, + {"2804:6a38:f0::/44", "270320"}, + {"2a03:2f40::/32", "3330"}, + {"2001:250:5::/38", "23910"}, + {"2620:ea:8000::/48", "2386"}, + {"2a00:4802:2c00::/42", "13124"}, + {"2001:500:4::/48", "10745"}, + {"2600:6c38:31c::/42", "20115"}, + {"2803:4600::/35", "14754"}, + {"2001:559:c449::/48", "7922"}, + {"2620:131:1066::/40", "26450"}, + {"2803:e800::/32", "13424"}, + {"2804:a84::/33", "262296"}, + {"2804:6500::/32", "269462"}, + {"2607:f400::/32", "7029"}, + {"2800:ba0:20::/48", "263812"}, + {"2804:7f20::/39", "271668"}, + {"2001:559:c06c::/48", "33287"}, + {"2804:3868::/38", "266475"}, + {"2a01:8840:8a::/45", "12041"}, + {"2a04:9500::/29", "62097"}, + {"2a0a:7cc0::/47", "60880"}, + {"2001:67c:256c::/48", "48091"}, + {"240e:3b0:7800::/39", "4134"}, + {"2600:1003:b0d0::/44", "6167"}, + {"2a06:100::/32", "200760"}, + {"2001:250:5816::/48", "138371"}, + {"240a:a4a7::/32", "143841"}, + {"2620:103:a00b::/45", "12148"}, + {"2800:160:f4d0::/36", "14259"}, + {"2804:1a54:2040::/32", "61854"}, + {"2001:df0:2e00::/48", "59022"}, + {"2401:d800:d310::/42", "7552"}, + {"2402:800:537f::/40", "7552"}, + {"2600:2c00:c000::/36", "7349"}, + {"2605:a401:80d2::/45", "33363"}, + {"2800:a90::/32", "262195"}, + {"2804:79c8::/32", "271327"}, + {"2806:2f0:30a1::/46", "17072"}, + {"2a0a:b600::/29", "61317"}, + {"2804:556c::/32", "267934"}, + {"2001:559:c3d2::/48", "7016"}, + {"2001:559:7df::/48", "33659"}, + {"2001:dce:6::/40", "23869"}, + {"2001:fd8:160::/48", "132199"}, + {"2001:1368::/32", "3551"}, + {"2602:808:7000::/44", "14618"}, + {"2800:160:190d::/42", "14259"}, + {"2804:7d78::/32", "271563"}, + {"2a00:5860::/32", "197308"}, + {"2a01:8000::/35", "60672"}, + {"2a02:2428::/32", "196845"}, + {"2a0e:b107:1350::/44", "212360"}, + {"2404:f4c0:fa81::/44", "142282"}, + {"2408:8456:5c00::/42", "17622"}, + {"2408:8456:9440::/38", "17816"}, + {"2604:8540:fcf2::/48", "33353"}, + {"2804:3e8:2002::/40", "28663"}, + {"2804:a8::/32", "4230"}, + {"2804:1c80::/32", "61657"}, + {"2a0c:5940::/29", "44668"}, + {"2c0f:ecd0::/32", "328433"}, + {"2605:9780:2000::/36", "36180"}, + {"2a00:8dc0:ff05::/40", "57811"}, + {"2a07:22c0::/48", "34854"}, + {"2600:370f:73ae::/47", "32261"}, + {"2800:490:4900::/37", "27951"}, + {"2a02:26f7:de48::/48", "36183"}, + {"2a0c:e340::/47", "30150"}, + {"2404:bf40:8701::/48", "7545"}, + {"2606:2800:7033::/48", "14153"}, + {"2620:3d:c000::/48", "22512"}, + {"2804:2bb4::/32", "265170"}, + {"2a04:3fc0::/46", "197669"}, + {"2001:16a2:ee00::/39", "39386"}, + {"2606:1000::/32", "20448"}, + {"2804:938::/32", "263062"}, + {"2a05:e202::/29", "39767"}, + {"2001:559:c006::/48", "33660"}, + {"2409:800b:2d00::/32", "9808"}, + {"2602:803:3000::/44", "21705"}, + {"2a07:a343:120::/44", "9009"}, + {"2600:3000:2412::/38", "13649"}, + {"2620:171:3b::/45", "42"}, + {"2804:618::/32", "28254"}, + {"2804:5adc::/32", "268801"}, + {"2001:1248:99a7::/44", "11172"}, + {"2402:2700::/40", "132061"}, + {"2404:f4c0:a000::/46", "210320"}, + {"2804:43d8::/32", "267594"}, + {"2803:1780::/47", "264646"}, + {"2803:2f40:ffff::/48", "36351"}, + {"2a01:260::/29", "34779"}, + {"2a01:5041:200b::/45", "202196"}, + {"2a04:a802:102::/32", "3549"}, + {"2a0f:cfc0::/32", "207729"}, + {"2001:579:5a9c::/37", "22773"}, + {"2404:ca40::/32", "134944"}, + {"2804:18:20::/44", "10429"}, + {"2a01:40e0:3::/32", "8315"}, + {"2a11:1b40::/29", "204790"}, + {"2001:559:87f0::/48", "33287"}, + {"2001:4998:c::/46", "36647"}, + {"2408:8459:1f10::/42", "17623"}, + {"2a07:4842::/48", "13213"}, + {"2a0e:f43::/48", "211935"}, + {"2001:559:82cb::/48", "33659"}, + {"2001:678:fcc::/48", "211023"}, + {"2001:67c:8e8::/48", "210409"}, + {"2605:9d80:9013::/48", "4809"}, + {"2803:e600:6::/48", "65500"}, + {"2804:44f0::/32", "267662"}, + {"2804:54d4::/32", "268672"}, + {"2400:a980:6900::/35", "133111"}, + {"2404:f4c0:f667::/40", "139328"}, + {"240e:3bd:2800::/38", "4134"}, + {"2606:2800:400c::/48", "15133"}, + {"2804:486c::/32", "267120"}, + {"2403:a100::/48", "55994"}, + {"240a:ab11::/32", "145483"}, + {"2604:cc00:801::/48", "53292"}, + {"2606:8e80:64::/48", "32133"}, + {"2a03:f80:39::/48", "9009"}, + {"2a04:4040::/29", "60610"}, + {"2406:3000:36::/44", "4657"}, + {"2605:fa80::/36", "11990"}, + {"2804:1d04:6::/37", "61689"}, + {"2804:53f8::/32", "268619"}, + {"2800:484:c800::/40", "10620"}, + {"2a00:11c0:47::/44", "47147"}, + {"2c0f:ed60::/32", "328474"}, + {"2405:6240::/32", "136700"}, + {"2600:370f:3545::/40", "32261"}, + {"2604:4e00::/33", "25764"}, + {"2607:fa18::/32", "6315"}, + {"2800:160:1f0b::/45", "14259"}, + {"2804:37f0:d900::/34", "266445"}, + {"240e:981:7100::/36", "4134"}, + {"2602:ffc5:34::/48", "25926"}, + {"2606:3a80:800::/48", "36007"}, + {"2a11:8080::/29", "210807"}, + {"2401:d800:fd90::/42", "7552"}, + {"2408:8710::/30", "4837"}, + {"2a02:73c0::/32", "59395"}, + {"2402:800:8400::/35", "7552"}, + {"2402:7500:4c0::/48", "24158"}, + {"2602:feda:c90::/44", "212360"}, + {"2606:6000::/34", "20001"}, + {"2800:bf0:83::/43", "52257"}, + {"2a00:1d60::/32", "30851"}, + {"2a05:1087::/32", "142438"}, + {"2001:559:3e9::/48", "22909"}, + {"2001:da8:cb::/48", "138370"}, + {"2400:f0c0:fcf::/32", "136477"}, + {"2605:a401:87c4::/36", "33363"}, + {"2803:5480::/32", "28038"}, + {"2a01:9e00:427a::/32", "41495"}, + {"2a02:26f7:bdd0::/48", "36183"}, + {"2a03:efc0:1100::/40", "33438"}, + {"2803:dd80::/32", "269918"}, + {"2804:2984:200::/40", "53184"}, + {"2a0c:7880::/31", "60781"}, + {"2001:559:8425::/48", "33287"}, + {"2001:fb0:109f:8009::/64", "36040"}, + {"2605:b600::/32", "53525"}, + {"2800:160:1dd5::/44", "14259"}, + {"2a06:a001:a101::/46", "210384"}, + {"2409:8a51:100::/38", "56047"}, + {"2803:e960::/32", "269738"}, + {"2804:c7c::/32", "52718"}, + {"240e:438:1240::/37", "4134"}, + {"2804:2608::/32", "264319"}, + {"2a02:2aa0:101::/43", "702"}, + {"2a02:2e02:10e0::/39", "12479"}, + {"2804:6c0c::/32", "270442"}, + {"2a0a:1a00::/29", "58130"}, + {"2001:559:825e::/48", "21508"}, + {"2001:e38:f001::/36", "17934"}, + {"240e:267:5400::/36", "4134"}, + {"2600:1801:7::/43", "16552"}, + {"2600:370f:2065::/40", "32261"}, + {"2602:fc23:159::/42", "8095"}, + {"2804:4878::/32", "267123"}, + {"2a01:8840:42::/45", "12041"}, + {"2408:8256:3b6b::/48", "17816"}, + {"2408:8456:ef00::/42", "17622"}, + {"2409:8080:3814::/44", "9808"}, + {"2610:60::/32", "29748"}, + {"2804:4a1c:1000::/32", "267219"}, + {"2a02:2e02:8b80::/37", "12479"}, + {"2001:559:803f::/41", "33657"}, + {"2400:7400:e035::/48", "38044"}, + {"2605:85c0::/32", "398196"}, + {"2620:4e::/48", "11872"}, + {"2803:a240::/32", "263805"}, + {"2803:e440::/32", "263780"}, + {"2a06:e881:5509::/48", "209864"}, + {"2a0a:d240::/29", "205916"}, + {"2a12:4940::/35", "211398"}, + {"240e:44d:3400::/41", "140345"}, + {"2a00:f7a0:100::/48", "204249"}, + {"2a02:582:7400::/29", "6799"}, + {"2a10:4a40:4ddc::/48", "31463"}, + {"2001:550:5400:100::/46", "174"}, + {"2402:8100:2470::/40", "55644"}, + {"2404:e6:200::/42", "703"}, + {"2407:1e40::/45", "141732"}, + {"2602:fd80::/47", "53612"}, + {"2603:c001:3a10::/39", "31898"}, + {"2800:bf0:8020::/44", "52257"}, + {"2a03:6f00:8::/48", "200088"}, + {"2a10:2680::/29", "212813"}, + {"2001:c38:9127::/38", "9931"}, + {"2405:b40:45::/37", "55674"}, + {"240e:44d:3880::/41", "4134"}, + {"2a02:26f7:d3c4::/48", "36183"}, + {"2a09:840::/32", "209634"}, + {"2a0b:b87:ffa4::/48", "212332"}, + {"2a11:fe80:fab4::/46", "209209"}, + {"2607:fdf0:5e6b::/43", "8008"}, + {"2804:6b28::/32", "270382"}, + {"2a04:7340::/33", "62172"}, + {"2a06:e881:3500::/44", "205117"}, + {"240a:a79c::/32", "144598"}, + {"2600:1406:47::/48", "35994"}, + {"2604:2340::/32", "32281"}, + {"2606:ce80:6100::/37", "33438"}, + {"2804:1854::/32", "53176"}, + {"2804:33b0::/32", "52662"}, + {"2a0a:b580::/29", "201296"}, + {"2001:559:81ba::/48", "13367"}, + {"2001:580::/32", "1798"}, + {"2600:6c10:f016::/42", "20115"}, + {"2602:fcfc:1::/48", "398868"}, + {"2804:1cac::/32", "61668"}, + {"2a02:6b8::/45", "208722"}, + {"2a04:4e42:7a::/45", "54113"}, + {"2400:c780::/32", "131590"}, + {"240e:a66:2600::/32", "4134"}, + {"2600:9000:2031::/46", "16509"}, + {"2606:2800:4af0::/47", "15133"}, + {"2a02:26f7:c48c::/48", "36183"}, + {"2a0f:7b80::/48", "62282"}, + {"2400:17a0::/44", "139351"}, + {"2a02:88d:820f::/48", "47794"}, + {"2a02:26f7:c845::/46", "20940"}, + {"2001:550:7202::/45", "174"}, + {"2409:8958:c844::/43", "9808"}, + {"2600:380:d800::/43", "20057"}, + {"2600:6c34:274::/48", "33588"}, + {"2602:fe3d::/36", "46246"}, + {"2605:3380:4501::/48", "12025"}, + {"2804:5b70::/32", "268845"}, + {"2a02:2b98::/32", "39642"}, + {"2001:559:da::/48", "7922"}, + {"2001:559:8782::/48", "33660"}, + {"2408:820c:2750::/33", "17621"}, + {"240c:c0a8:5c27::/41", "24348"}, + {"2600:5c00:3afe::/48", "11351"}, + {"2804:14c:b386::/47", "28573"}, + {"2001:559:555::/48", "7922"}, + {"2001:559:778::/48", "33652"}, + {"2001:67c:654::/48", "34244"}, + {"2404:300::/32", "38901"}, + {"2404:ba00:fd00::/46", "17665"}, + {"2804:232c::/32", "264146"}, + {"2001:49f0:a000::/44", "174"}, + {"2804:24b4::/32", "264239"}, + {"240e:3be:9200::/36", "140317"}, + {"2602:809:f000::/47", "23026"}, + {"2001:559:83cb::/48", "33657"}, + {"2a02:26f7:e0c9::/46", "20940"}, + {"2403:ff00::/48", "24535"}, + {"2409:8d14:1400::/38", "56044"}, + {"2602:fc97:40::/44", "399544"}, + {"2602:fe19:6401::/32", "26073"}, + {"2804:c00::/34", "52655"}, + {"2001:559:c2ae::/48", "21508"}, + {"2001:579:104::/43", "22773"}, + {"2400:9380:94c0::/44", "136167"}, + {"2620:10d:c09b::/45", "54115"}, + {"2800:b40:1::/48", "262220"}, + {"240e:983:1800::/48", "133775"}, + {"2803:2360::/32", "269782"}, + {"2804:601c::/32", "269146"}, + {"2a02:be8::/32", "42612"}, + {"2a02:26f7:c608::/47", "36183"}, + {"2607:f688::/32", "26935"}, + {"2804:4890::/33", "267129"}, + {"2001:470:e3::/48", "11282"}, + {"2408:8459:cf30::/41", "17622"}, + {"2a0c:8f00::/29", "205044"}, + {"2a0d:d200::/29", "54543"}, + {"2404:3d00:405a::/45", "3573"}, + {"2408:840c:b800::/40", "17621"}, + {"2600:6c39:625::/46", "20115"}, + {"2804:954::/42", "263073"}, + {"2806:264:400::/43", "13999"}, + {"2a02:ee80:4260::/46", "3573"}, + {"2001:129c::/33", "22356"}, + {"2a02:7aa0:161a::/33", "43513"}, + {"2a0f:d500::/29", "208425"}, + {"2402:800:318d::/43", "7552"}, + {"2402:c00::/32", "9268"}, + {"2409:877b::/29", "9808"}, + {"240e:3b5:7a00::/32", "140313"}, + {"240e:95d:2000::/37", "4134"}, + {"2600:1003:b100::/41", "6167"}, + {"2607:f7a8:827::/38", "46887"}, + {"2620:122:f001::/46", "14870"}, + {"2a00:1678:baba::/48", "49453"}, + {"2a00:5881:8100::/40", "60630"}, + {"2a02:ee80:412d::/43", "3573"}, + {"2a0f:607:150a::/48", "210932"}, + {"2001:df2:e700::/48", "136397"}, + {"2400:3a60:ff0::/35", "149051"}, + {"240a:a9d4::/32", "145166"}, + {"2600:100a:b040::/44", "6167"}, + {"2620:101:c000::/40", "3359"}, + {"2804:75c8::/32", "271069"}, + {"2806:28c:2000::/36", "265529"}, + {"2a02:868:8000::/34", "8820"}, + {"2405:d180:1::/46", "9506"}, + {"2408:8957:8500::/40", "17816"}, + {"240e:528::/25", "4134"}, + {"2605:6c00::/44", "2734"}, + {"2804:45f8::/32", "266958"}, + {"2804:53e8::/32", "268615"}, + {"2a00:fe0::/32", "34953"}, + {"2001:67c:19d0::/48", "43770"}, + {"2001:da8:302a::/45", "24358"}, + {"2001:1248:5a51::/44", "11172"}, + {"2001:4398::/32", "328411"}, + {"2400:cb00:120::/44", "13335"}, + {"2604:2dc0::/32", "16276"}, + {"2a05:3580:c400::/36", "35807"}, + {"2a07:a6c0::/29", "3267"}, + {"240a:ae62::/32", "146332"}, + {"2001:438:fffd:112::/60", "6461"}, + {"2001:560::/32", "18530"}, + {"2400:ed00:1::/48", "7595"}, + {"240a:ada6::/32", "146144"}, + {"2804:3e8::/47", "28663"}, + {"2804:4024:3001::/32", "265937"}, + {"2a02:28:2::/45", "8359"}, + {"2a02:4722::/29", "201333"}, + {"2a0c:6600:1::/46", "48011"}, + {"2001:559:507::/48", "33652"}, + {"2a06:1287:40::/48", "12406"}, + {"2001:559:80c7::/44", "33662"}, + {"2804:954:700::/36", "263073"}, + {"2a02:2e02:15c0::/38", "12479"}, + {"2a0e:97c0:170::/48", "58057"}, + {"2001:c20:48c4::/48", "9255"}, + {"2401:d800:5e0::/38", "7552"}, + {"2800:190:2::/45", "11664"}, + {"2001:559:7dc::/48", "33659"}, + {"2402:a00:96::/47", "45916"}, + {"2403:4c0::/33", "17639"}, + {"240a:a56b::/32", "144037"}, + {"240a:ad58::/32", "146066"}, + {"240e:49:6000::/32", "4134"}, + {"2607:fb10:7144::/43", "2906"}, + {"2804:79d0::/32", "271329"}, + {"2402:cf80:100a::/47", "136468"}, + {"240a:a551::/32", "144011"}, + {"2600:6c38:187::/44", "20115"}, + {"2620:1ec:912::/38", "8075"}, + {"2804:689c::/32", "269704"}, + {"2a0f:bb00::/29", "34856"}, + {"2001:4479:e000::/38", "7545"}, + {"2800:bf0:8300::/44", "52257"}, + {"2401:d800:7bd0::/37", "7552"}, + {"2406:e240::/48", "131976"}, + {"2408:8956:7600::/40", "17622"}, + {"240e:27f:3::/32", "4134"}, + {"2620:131:1000::/45", "26450"}, + {"2a00:16d8::/41", "42695"}, + {"2001:559:8199::/48", "7015"}, + {"2400:2000::/45", "17676"}, + {"2604:d600:503::/44", "32098"}, + {"2806:2f0:92c6::/42", "17072"}, + {"2a01:7a40::/32", "48483"}, + {"2a02:26f7:e480::/48", "36183"}, + {"2001:559:5bb::/48", "21508"}, + {"2001:559:c4d3::/48", "7015"}, + {"2620:ab:4000::/48", "393681"}, + {"2a02:26f7:b5::/48", "20940"}, + {"2a05:90c0::/29", "42812"}, + {"2409:8c00:7841::/32", "9808"}, + {"2620:115:6::/44", "18888"}, + {"2804:d84:cad::/32", "28171"}, + {"2a0b:3780::/32", "206487"}, + {"2a0d:b201:f090::/42", "206026"}, + {"2a10:2ec1::/32", "208861"}, + {"2001:559:809d::/48", "33652"}, + {"240a:a018::/32", "142674"}, + {"240a:a2df::/32", "143385"}, + {"2605:9d80:8041::/48", "4134"}, + {"2001:550:d0d::/38", "174"}, + {"2404:8d00:1c10::/32", "24378"}, + {"2001:250:818::/48", "23910"}, + {"240e:438:6e40::/35", "4134"}, + {"2a00:79e1:f11::/48", "395973"}, + {"2a00:b6c0::/29", "35170"}, + {"2402:dc40:4::/47", "134331"}, + {"2406:daa0:6080::/44", "16509"}, + {"2409:896a:9a00::/39", "9808"}, + {"2803:ca20::/32", "265849"}, + {"2804:23e0::/32", "264189"}, + {"2804:7298::/48", "270863"}, + {"2001:4238::/32", "30844"}, + {"2a0f:600:604::/46", "51044"}, + {"2804:5130::/34", "268436"}, + {"2804:6314::/32", "269337"}, + {"2001:7d8::/32", "12329"}, + {"2001:c20:484a::/43", "3758"}, + {"2401:d800:79f0::/38", "7552"}, + {"2800:3c0:10a0::/39", "19863"}, + {"2a02:e98::/32", "24641"}, + {"2a02:ee80:41b6::/44", "3573"}, + {"2a10:4646:70::/44", "211405"}, + {"2001:559:c424::/48", "7922"}, + {"2409:8924:2f00::/35", "56046"}, + {"240a:a8fd::/32", "144951"}, + {"2a0a:2846::/48", "136796"}, + {"2001:270::/32", "3786"}, + {"240a:a5db::/32", "144149"}, + {"240a:a87a::/32", "144820"}, + {"2a03:cc00:fc1::/32", "9183"}, + {"2001:559:41d::/46", "7922"}, + {"2402:e7c0:440::/36", "59078"}, + {"2606:18c0:26::/47", "14445"}, + {"2804:1590::/32", "263395"}, + {"2a02:26f7:63::/48", "20940"}, + {"2a02:26f7:d550::/48", "36183"}, + {"2001:678:63c::/48", "39566"}, + {"2001:4978:1002::/45", "13331"}, + {"2001:559:8390::/48", "33657"}, + {"2001:4be0::/32", "31703"}, + {"2a0d:b00:3502::/48", "205862"}, + {"2a11:ef80::/29", "204790"}, + {"2401:4900:30b0::/41", "45609"}, + {"2600:6c39:608::/42", "20115"}, + {"2602:fd86:1::/48", "400113"}, + {"2804:8dc::/32", "262395"}, + {"2a00:5ec0::/32", "197581"}, + {"2001:67c:184::/48", "25111"}, + {"2409:8902::/31", "38019"}, + {"2804:22a0:e::/40", "264112"}, + {"2a01:8e20::/32", "12843"}, + {"2001:5b0:6500::/38", "6621"}, + {"2001:df4:3500::/48", "17439"}, + {"2001:4600::/24", "2119"}, + {"240a:a30b::/32", "143429"}, + {"240e:13:801::/48", "140853"}, + {"2603:c0ec:2000::/40", "54253"}, + {"2a00:6d47::/36", "205727"}, + {"2404:0:7000::/40", "131142"}, + {"240a:a170::/32", "143018"}, + {"2800:160:201b::/42", "14259"}, + {"2804:6690::/32", "269568"}, + {"2a02:2978::/32", "15830"}, + {"2409:8057:306d::/43", "56040"}, + {"240a:a889::/32", "144835"}, + {"240a:af5f::/32", "146585"}, + {"2600:1d00::/28", "3128"}, + {"2804:197c::/32", "61797"}, + {"2804:383c:5::/38", "52601"}, + {"2804:5cbc:fa40::/37", "268927"}, + {"2a02:26f7:f784::/48", "36183"}, + {"2a06:f040::/32", "5420"}, + {"2001:3c8:1012::/48", "24475"}, + {"2600:1800:9::/43", "16552"}, + {"2603:fb48::/29", "40676"}, + {"2804:7f74::/46", "271689"}, + {"2a00:4802:a50::/42", "13124"}, + {"2a09:bac0:172::/48", "13335"}, + {"2a0f:5701:3100::/40", "205593"}, + {"2404:9ac0::/32", "37981"}, + {"2620:149:1b01::/32", "714"}, + {"2806:2f0:7081::/46", "17072"}, + {"2001:559:8680::/48", "33650"}, + {"240a:a1c5::/32", "143103"}, + {"240a:af2a::/32", "146532"}, + {"2620:12c:9030::/47", "395359"}, + {"2804:314:402e::/47", "61568"}, + {"2804:71e4::/32", "270818"}, + {"2804:5c58::/32", "268903"}, + {"2a0b:d580::/29", "206350"}, + {"2c0f:ea38::/32", "328527"}, + {"2402:800:517f::/40", "7552"}, + {"2405:f080:2a00::/48", "136907"}, + {"2804:30c0::/32", "264972"}, + {"2a0d:26c0::/32", "209041"}, + {"2a0e:7d40::/41", "209833"}, + {"2001:559:c2e8::/48", "7015"}, + {"2001:67c:2bac::/48", "12886"}, + {"2803:b300::/32", "52455"}, + {"2a01:280:338::/48", "42303"}, + {"2404:3d00:417a::/47", "21433"}, + {"2804:47d0::/32", "267078"}, + {"2a00:1138:7400::/32", "43782"}, + {"2604:1a00::/44", "46887"}, + {"2806:5:201::/32", "6503"}, + {"2a02:26f0:e201::/39", "20940"}, + {"2a05:d014::/36", "16509"}, + {"2a06:e80::/36", "43350"}, + {"2400:cb00:336::/44", "13335"}, + {"2406:840:fcc0::/44", "132623"}, + {"2408:84f3:2c50::/44", "17816"}, + {"2409:8914:b000::/39", "56044"}, + {"2600:6c2e:627::/43", "20115"}, + {"2800:4f0:560::/46", "28006"}, + {"2a0a:e440::/48", "42240"}, + {"2001:df0:37c0::/48", "141296"}, + {"2001:df4:f680::/48", "136360"}, + {"240e:438:6620::/43", "140647"}, + {"2600:6c2e:373::/37", "20115"}, + {"2804:7374::/32", "270916"}, + {"2a06:8a00::/32", "12307"}, + {"2409:8f04:d600::/34", "24547"}, + {"240c:c716::/26", "23910"}, + {"2600:6c38:851::/45", "20115"}, + {"2804:2050:5a7f::/40", "264485"}, + {"2401:d800:100::/42", "7552"}, + {"2402:e80:41::/48", "23901"}, + {"240a:af43::/32", "146557"}, + {"2602:fc09:d2f::/48", "13780"}, + {"2604:6600:fe9c::/39", "40676"}, + {"2a0e:8f02:2110::/44", "213326"}, + {"2407:3380::/32", "64063"}, + {"2604:1900::/40", "12182"}, + {"2804:206c::/32", "264490"}, + {"2a0d:e4c4:5000::/32", "208861"}, + {"2a0a:e8c0::/32", "205412"}, + {"2001:559:487::/48", "7015"}, + {"2404:7600:101::/32", "23853"}, + {"2803:77c0::/32", "52290"}, + {"2001:67c:14e0::/45", "25516"}, + {"2408:8907:9000::/44", "4808"}, + {"2409:8b54::/28", "56040"}, + {"2a01:cc00::/32", "47377"}, + {"2a04:e4c0:20::/45", "36692"}, + {"2001:e48:40:5::/64", "22317"}, + {"240a:a125::/32", "142943"}, + {"2804:5a94::/32", "268782"}, + {"2a0c:a580::/29", "62206"}, + {"2a0f:f980::/29", "60262"}, + {"2402:1440::/42", "63689"}, + {"2404:7ac0:607::/48", "139216"}, + {"2600:9000:22fd::/48", "16509"}, + {"2602:fff6:7::/48", "54561"}, + {"2603:c023::/35", "31898"}, + {"2604:ca00:116::/42", "36492"}, + {"2a01:52e0::/32", "57325"}, + {"2605:a401:8bc7::/42", "33363"}, + {"2a02:dc00:200::/48", "15493"}, + {"2a05:4145:1::/48", "211522"}, + {"2a05:9f40:1f::/48", "42831"}, + {"2001:dcd:23::/48", "14618"}, + {"240e:6:d020::/48", "140527"}, + {"2600:1006:b140::/42", "6167"}, + {"2a03:5640:f561::/36", "2906"}, + {"2001:559:8107::/48", "7725"}, + {"240a:a732::/32", "144492"}, + {"240e:3bb:9200::/36", "140317"}, + {"2806:2f0:9503::/42", "17072"}, + {"2a0f:5707:af05::/48", "211358"}, + {"2804:7b58:10::/32", "4"}, + {"2a02:26f7:bc80::/48", "36183"}, + {"2804:d70:50::/39", "52626"}, + {"2404:bf40:a481::/42", "139084"}, + {"2409:8a51:d00::/38", "56047"}, + {"240a:ab5e::/32", "145560"}, + {"240e:44d:5840::/42", "140350"}, + {"2600:80a:861::/31", "701"}, + {"2a01:280:348::/47", "3166"}, + {"2a0a:6bc0::/29", "60059"}, + {"2402:5380::/32", "63980"}, + {"240a:a920::/32", "144986"}, + {"2600:1404:d401::/38", "20940"}, + {"2607:f3f8:8001::/33", "17378"}, + {"2804:3774:2500::/33", "266416"}, + {"2a00:79e1:f0c::/47", "36384"}, + {"2a02:26f7:d744::/48", "36183"}, + {"2001:67c:510::/51", "15486"}, + {"240e:438:7640::/36", "4134"}, + {"2602:feda:de0::/46", "142641"}, + {"2a00:7ce0::/32", "60832"}, + {"2a0e:97c0:690::/46", "210354"}, + {"2a10:3ac0::/29", "204790"}, + {"2001:559:80be::/48", "7922"}, + {"2409:8771::/29", "9808"}, + {"240e:3ba:5600::/34", "4134"}, + {"2600:2000:1002::/47", "33517"}, + {"2001:559:80a8::/48", "33667"}, + {"240a:a791::/32", "144587"}, + {"2804:1b2:d000::/39", "18881"}, + {"2804:6384::/32", "269366"}, + {"2a06:3980::/29", "34694"}, + {"2405:f080:1500::/38", "136907"}, + {"240e:3b2:3e00::/33", "140308"}, + {"2804:1ac:581c::/40", "53175"}, + {"2a00:d520::/29", "15600"}, + {"2a0e:f42::/32", "208627"}, + {"2001:559:1a2::/48", "33652"}, + {"2a02:26f7:fa45::/46", "20940"}, + {"2001:559:c28f::/43", "21508"}, + {"2606:7100:1cac::/34", "21581"}, + {"2607:f110:47::/43", "21889"}, + {"2a0a:3340::/29", "25424"}, + {"2402:800:6381::/42", "7552"}, + {"240e:438:8240::/37", "4134"}, + {"240e:980:8e00::/39", "4134"}, + {"2a07:6fc0::/48", "205948"}, + {"2a11:29c1:b00b::/48", "212149"}, + {"240e:966:3000::/33", "4134"}, + {"2804:768:2000::/35", "52977"}, + {"2a02:26f7:f851::/42", "20940"}, + {"2a02:29a0::/32", "56472"}, + {"2a04:d340::/29", "60717"}, + {"2405:9000:81::/44", "7474"}, + {"2600:1406:3e01::/33", "20940"}, + {"2804:7b58::/44", "4"}, + {"2a0b:4540::/29", "42011"}, + {"2a0e:b107:150::/44", "62075"}, + {"2001:559:5c9::/48", "7922"}, + {"2001:4278::/32", "8346"}, + {"2001:448a:7090::/42", "7713"}, + {"2409:8054:21::/45", "56040"}, + {"240a:a189::/32", "143043"}, + {"2620:68:2000::/48", "397335"}, + {"2620:90::/48", "174"}, + {"2a02:26f7:fb80::/48", "36183"}, + {"2a05:3580:24::/46", "35807"}, + {"2001:678:474::/48", "205866"}, + {"2001:1248:9ad5::/42", "11172"}, + {"2001:44b8:1066::/44", "7545"}, + {"240a:ae91::/32", "146379"}, + {"2a07:1e01::/32", "207446"}, + {"2409:8907:7e20::/39", "24547"}, + {"2604:2d80:f400::/36", "30036"}, + {"2a0f:b100:300::/40", "208074"}, + {"2001:559:2eb::/48", "33651"}, + {"2603:fba0::/25", "397165"}, + {"2a02:26f7:d58c::/48", "36183"}, + {"2a07:2400::/29", "48402"}, + {"2a0e:fd45:da2::/45", "44103"}, + {"2800:bf0:8095::/44", "27947"}, + {"2605:a7c0:131::/44", "16509"}, + {"2607:4100:4000::/34", "19171"}, + {"2607:f0d0:2200::/36", "36351"}, + {"2620:119:1000::/48", "33004"}, + {"2620:130:1000::/48", "62649"}, + {"2804:be4::/44", "52840"}, + {"2804:454c::/32", "266917"}, + {"2a03:2880:f240::/46", "32934"}, + {"2a06:9880::/29", "203713"}, + {"2a0e:b107:23a::/45", "209419"}, + {"2a10:c5c1:c0de::/48", "211547"}, + {"2001:550:100:4::/63", "174"}, + {"2401:4900:1c88::/47", "24560"}, + {"240e:3be:7a00::/32", "140313"}, + {"2a00:eab::/32", "9211"}, + {"2a02:503:8::/48", "51955"}, + {"2a04:3800::/48", "44417"}, + {"2a05:1220::/29", "201625"}, + {"2001:559:c2db::/45", "7015"}, + {"2402:3a80:1368::/40", "38266"}, + {"2409:800b:2c04::/48", "9808"}, + {"2804:35f0:9000::/33", "266316"}, + {"2a02:26f7:d044::/48", "36183"}, + {"2a02:26f7:f3c5::/46", "20940"}, + {"2408:8956:8b00::/40", "17816"}, + {"240a:aa30::/32", "145258"}, + {"2001:678:ef8::/48", "202592"}, + {"240a:a837::/32", "144753"}, + {"2600:1419:1601::/36", "20940"}, + {"2804:3f5c::/32", "265887"}, + {"2407:e1c0:90::/32", "146872"}, + {"2804:2d1c::/32", "265262"}, + {"2a02:26f7:dc48::/48", "36183"}, + {"2a05:b0c1::/48", "198412"}, + {"2001:4998:15::/46", "10310"}, + {"2402:800:5263::/43", "7552"}, + {"2803:f100::/32", "52255"}, + {"2a06:e881:5800::/45", "204003"}, + {"2a09:fe40::/29", "400522"}, + {"2c0f:f130::/32", "37642"}, + {"2804:2440::/32", "52686"}, + {"2804:4098:f180::/36", "265969"}, + {"2a02:26f7:e589::/42", "20940"}, + {"2a0a:ec04::/32", "42692"}, + {"2001:559:853a::/48", "7015"}, + {"2409:8b18::/31", "134810"}, + {"240a:a277::/32", "143281"}, + {"240e:983:105::/38", "4134"}, + {"2606:1380::/32", "22079"}, + {"2606:e580::/32", "14237"}, + {"2620:0:2280::/48", "26827"}, + {"2804:2030:8000::/33", "262651"}, + {"2a00:e68::/29", "15743"}, + {"2a02:8060::/31", "6752"}, + {"2a0c:8480::/30", "5400"}, + {"2a10:dcc0::/29", "34907"}, + {"2408:840d:5000::/42", "17621"}, + {"2606:5000:5a00::/37", "209"}, + {"2404:a340::/32", "135273"}, + {"2408:8256:377b::/48", "17816"}, + {"240a:a69f::/32", "144345"}, + {"2600:6c38:45e::/39", "20115"}, + {"2607:f5d8:20::/48", "2553"}, + {"2a00:10a0:c::/32", "35745"}, + {"2a02:180::/32", "35366"}, + {"2a02:26f7:f901::/45", "20940"}, + {"2a0e:b107:1560::/45", "209209"}, + {"2a02:2e02:ff0::/35", "12479"}, + {"2001:1248:84dc::/46", "11172"}, + {"2406:b480:204::/48", "24538"}, + {"2409:8055:3020::/47", "9808"}, + {"2a0e:a780::/36", "16509"}, + {"2001:559:483::/48", "7016"}, + {"2001:559:80fb::/48", "33660"}, + {"2400:cb00:14::/46", "13335"}, + {"240e:960:d00::/29", "4134"}, + {"2620:138:301e::/48", "23344"}, + {"2a02:26f7:df85::/44", "20940"}, + {"2a03:e6c0::/32", "199420"}, + {"2001:559:73c::/48", "21508"}, + {"2603:c013:6000::/36", "31898"}, + {"2a02:26f7:e940::/48", "36183"}, + {"2a02:cb80:4010::/41", "43766"}, + {"2a11:2d40::/29", "204790"}, + {"2401:d800:b910::/42", "7552"}, + {"2402:e280:3da7::/43", "134674"}, + {"240a:a2ba::/32", "143348"}, + {"240a:a6f3::/32", "144429"}, + {"2a02:26f7:d14d::/46", "20940"}, + {"2a03:2880:f040::/46", "32934"}, + {"2001:678:270::/48", "206128"}, + {"2600:141b:b001::/36", "20940"}, + {"2804:5cac::/32", "268923"}, + {"2a07:241::/29", "3170"}, + {"2001:1248:870a::/45", "11172"}, + {"2402:8100:27d2::/44", "55644"}, + {"2a00:d68::/32", "24594"}, + {"2001:4878:c136::/48", "12222"}, + {"240e:6bd::/36", "140317"}, + {"2001:468:700::/48", "20080"}, + {"240e:5f::/33", "4134"}, + {"2603:c002:1310::/37", "31898"}, + {"2a00:79e0:101::/48", "36385"}, + {"2a09:dec0::/29", "43424"}, + {"2402:800:38d3::/44", "7552"}, + {"240a:ae19::/32", "146259"}, + {"2803:6900:609::/48", "52423"}, + {"2a00:8740:10::/47", "49037"}, + {"2a06:a001:a090::/45", "208814"}, + {"2a09:4d46::/32", "44066"}, + {"2a0e:b107:bf4::/48", "140938"}, + {"2600:1406:c401::/36", "20940"}, + {"2804:2348::/32", "264153"}, + {"2a0e:3780::/36", "41652"}, + {"2001:e60:d720::/43", "4766"}, + {"2a02:26f7:b6c8::/48", "36183"}, + {"2a02:6720::/32", "201890"}, + {"2a04:f580:9050::/48", "4809"}, + {"2a07:1e80::/29", "57795"}, + {"240a:add6::/32", "146192"}, + {"2001:559:ba::/47", "33654"}, + {"2620:13e:3000::/40", "397326"}, + {"2a10:7c40::/29", "212751"}, + {"2001:678:17c::/48", "201163"}, + {"2001:12e0:2000::/36", "10429"}, + {"2404:bf40:a701::/35", "139084"}, + {"2605:a7c0:110::/48", "14618"}, + {"2804:139c::/32", "52908"}, + {"2a00:1d58:f823::/45", "47524"}, + {"2a02:21b2:beee::/48", "57370"}, + {"2a02:26f7:f9c5::/46", "20940"}, + {"2a0a:56c4:8100::/47", "42649"}, + {"2a0c:9700::/29", "57376"}, + {"2806:230:100d::/48", "11888"}, + {"2001:559:86cd::/48", "7922"}, + {"2001:ac8::/44", "9009"}, + {"2403:2800:3::/32", "38566"}, + {"2804:7598:c000::/48", "265442"}, + {"2a00:60a0::/32", "42339"}, + {"2a01:8840:99::/48", "207266"}, + {"2a0a:4440::/32", "207242"}, + {"2001:df0:c80::/48", "58499"}, + {"240e:d:c000::/30", "4134"}, + {"2606:38c0::/32", "399307"}, + {"2607:d980::/32", "10271"}, + {"2804:45e4::/33", "262567"}, + {"2a02:13f8::/32", "25260"}, + {"2a02:2e02:1520::/41", "12479"}, + {"2a07:a380::/29", "15426"}, + {"2a02:26f0:504::/38", "20940"}, + {"2a07:2e40::/32", "2259"}, + {"2c0f:fd98:8110::/48", "28698"}, + {"2001:559:c3d0::/47", "7922"}, + {"240a:a3b3::/32", "143597"}, + {"2606:ae00:8300::/40", "7287"}, + {"2801:184:e::/47", "264817"}, + {"2001:678:3fc::/48", "197422"}, + {"2001:df6:b400::/48", "138148"}, + {"2001:e68::/46", "4788"}, + {"2408:8459:c10::/41", "17622"}, + {"2620:b0:4000::/48", "209"}, + {"2a01:820::/32", "30722"}, + {"2a0f:d480::/48", "205942"}, + {"2001:4878:2048::/48", "12222"}, + {"2405:da40::/32", "140220"}, + {"240a:a91c::/32", "144982"}, + {"2800:3e0::/32", "1239"}, + {"2001:559:812b::/48", "33490"}, + {"2001:67c:67c::/48", "15404"}, + {"2404:bf40:8185::/42", "139084"}, + {"240e:980:4100::/40", "4811"}, + {"2600:370f:4024::/43", "32261"}, + {"2800:400::/46", "27668"}, + {"2804:11d8::/32", "263443"}, + {"2a03:3ec0::/32", "61124"}, + {"2001:559:148::/48", "33491"}, + {"2408:8459:b230::/41", "17622"}, + {"2800:110:2801::/35", "4270"}, + {"2a04:4c0::/29", "58321"}, + {"2a04:5c85:4000::/36", "207161"}, + {"2408:8956:d100::/38", "17816"}, + {"2409:8050:1002::/40", "56047"}, + {"2803:c510::/32", "272019"}, + {"2804:2bec::/32", "265184"}, + {"2a0a:9e00::/44", "61317"}, + {"2c0f:f378::/32", "36941"}, + {"2001:550:a90a::/38", "174"}, + {"2001:628:453::/48", "1120"}, + {"240e:878:1d0::/44", "4134"}, + {"2804:5f00:11::/32", "269070"}, + {"2408:8459:ea50::/37", "17816"}, + {"2600:c02:b021::/33", "12182"}, + {"2a02:a30:173::/32", "8926"}, + {"2001:559:c1::/48", "33667"}, + {"2001:559:307::/48", "33489"}, + {"2605:7c0:1006::/44", "19382"}, + {"2804:7bf4::/32", "271465"}, + {"2001:559:4aa::/48", "13367"}, + {"2400:cb00:200::/44", "13335"}, + {"2402:6800:765::/32", "22822"}, + {"2804:527c::/32", "268521"}, + {"2a01:4c8:f401::/48", "2856"}, + {"2001:559:82d6::/48", "33287"}, + {"2a01:758:fffd::/46", "3326"}, + {"2402:800:341d::/42", "7552"}, + {"240a:a61e::/32", "144216"}, + {"2804:2e68::/32", "265344"}, + {"2a10:9902:73f::/48", "211972"}, + {"2402:800:7be0::/37", "7552"}, + {"240e:3bc:2200::/37", "136198"}, + {"2620:1d5:6f0::/36", "14773"}, + {"2800:ba0:22::/48", "263812"}, + {"2804:6c30::/32", "270451"}, + {"2a01:2c0:23db::/48", "9179"}, + {"2a01:758:8300::/45", "15785"}, + {"2a0d:2582:120::/43", "211367"}, + {"2a0f:c583::/29", "210625"}, + {"2001:4b20:1000:2515::/32", "34288"}, + {"240a:a9a0::/32", "145114"}, + {"2804:12e8::/32", "53082"}, + {"2a02:26f7:f3c1::/46", "20940"}, + {"2a06:940::/48", "207333"}, + {"2001:559:ac::/48", "33489"}, + {"2600:1010:9e10::/40", "22394"}, + {"2405:8a00:801d::/46", "55824"}, + {"2a00:f46:1000::/31", "43447"}, + {"2a0f:e200::/47", "60781"}, + {"2402:800:7780::/42", "7552"}, + {"2406:840:fbb3::/45", "139058"}, + {"2804:2df8:eebf::/41", "265315"}, + {"2409:8d80:9000::/34", "56040"}, + {"2001:559:768::/48", "7016"}, + {"2402:800:f8f2::/39", "7552"}, + {"2406:840:f100::/47", "39753"}, + {"2a00:fc80::/48", "60781"}, + {"2001:67c:1684::/48", "16104"}, + {"240e:58:d000::/31", "4812"}, + {"2804:5408::/32", "268624"}, + {"2a02:ec0::/38", "41653"}, + {"2a02:26f7:c3cc::/48", "36183"}, + {"2001:4c8:1104::/44", "15290"}, + {"2001:559:7d4::/48", "7725"}, + {"2001:4de0:aaa0::/44", "34343"}, + {"2408:84f3:4a40::/32", "17816"}, + {"2600:1419:1e01::/34", "20940"}, + {"2605:1640::/32", "19681"}, + {"2a09:27c0::/29", "209531"}, + {"2001:559:c3a0::/48", "7725"}, + {"2402:800:9ee0::/44", "7552"}, + {"2607:f690::/32", "7029"}, + {"2620:12d:4000::/44", "53988"}, + {"2a06:2800::/29", "25579"}, + {"2a11:b580::/29", "204790"}, + {"2c0f:f698::/32", "37693"}, + {"240e:64:c000::/24", "4134"}, + {"2600:1008:6000::/44", "6167"}, + {"2600:370f:3665::/40", "32261"}, + {"2804:1dc::/32", "53202"}, + {"2a06:6541:1241::/48", "8220"}, + {"2a0a:f000::/32", "207210"}, + {"2401:d800:d070::/40", "7552"}, + {"240a:aae0::/32", "145434"}, + {"2001:559:592::/48", "33491"}, + {"240a:a5c2::/32", "144124"}, + {"2602:ffe4:c1c::/48", "21859"}, + {"2a03:2c80::/32", "31084"}, + {"2804:14d:ecf3::/39", "28573"}, + {"2a04:f480::/34", "25373"}, + {"2001:df0:310::/48", "17547"}, + {"2602:feda:1bf::/48", "133846"}, + {"2620:74:77::/48", "11840"}, + {"2804:8184::/32", "272459"}, + {"2620:12e:1000::/47", "396075"}, + {"2a00:8d60::/32", "60720"}, + {"2001:400:2410::/48", "3152"}, + {"2408:802c::/32", "4837"}, + {"2804:41b0::/38", "267450"}, + {"2a03:8de0::/32", "41887"}, + {"2001:df0:45::/48", "37918"}, + {"2a05:3951::/32", "201503"}, + {"2001:250:2c12::/48", "23910"}, + {"2001:559:53f::/48", "33650"}, + {"2001:1248:5525::/44", "11172"}, + {"2401:d800:94a0::/41", "7552"}, + {"2804:67a4:3::/39", "269641"}, + {"2806:20d:191a::/40", "32098"}, + {"2a11:5701:b00b::/48", "212149"}, + {"2602:808:a000::/48", "14618"}, + {"2a03:b240::/32", "3250"}, + {"2a0a:e200:1511::/36", "33438"}, + {"2402:dfc0:40::/44", "137805"}, + {"2600:380:fe00::/31", "20057"}, + {"2604:f400:7::/48", "29930"}, + {"2803:760:7800::/32", "269816"}, + {"2804:a84:4400::/32", "262296"}, + {"2804:76cc:2000::/32", "271135"}, + {"2a04:4e40:cc00::/48", "54113"}, + {"2001:67c:1009::/48", "44522"}, + {"240a:aa6f::/32", "145321"}, + {"2606:4700:8d70::/44", "13335"}, + {"2a01:a520::/32", "62002"}, + {"2c0f:f250::/32", "37678"}, + {"2001:4cd0::/29", "8551"}, + {"2401:d800:5a00::/41", "7552"}, + {"2a02:e0:14::/34", "34984"}, + {"2001:7f8:49::/48", "20530"}, + {"2001:df4:a300::/48", "135817"}, + {"2001:1248:9737::/41", "11172"}, + {"2408:8456:dc40::/38", "17816"}, + {"240a:a6c6::/32", "144384"}, + {"2a09:9f40::/31", "1239"}, + {"2406:9740::/32", "131642"}, + {"240a:ab04::/32", "145470"}, + {"240e:d:b800::/37", "136194"}, + {"2602:fd86:2::/36", "33412"}, + {"2804:5374::/32", "268585"}, + {"2a06:e881:108::/48", "206633"}, + {"2001:200:600::/40", "7667"}, + {"2402:2600::/32", "17813"}, + {"240a:a919::/32", "144979"}, + {"240e:979:5f00::/34", "4134"}, + {"2604:5500:7000::/38", "19165"}, + {"2607:f928:13::/45", "22645"}, + {"2804:30a0::/32", "264965"}, + {"2804:78a8::/32", "271257"}, + {"2a0d:1a45::/42", "57782"}, + {"2c0f:fdf8::/32", "37028"}, + {"240e:44d:5300::/41", "140345"}, + {"2804:18:7820::/43", "10429"}, + {"2a06:5dc0::/29", "25542"}, + {"2a10:4640:ffff::/48", "212815"}, + {"2001:559:54::/46", "7922"}, + {"2404:ffc0:12::/45", "62707"}, + {"2405:7000:2c00::/40", "18281"}, + {"2600:1419:9c01::/34", "20940"}, + {"2604:5d00::/32", "11915"}, + {"2620:0:2f0::/48", "32629"}, + {"2a01:488:bb10::/45", "20773"}, + {"2a02:26f7:d845::/46", "20940"}, + {"2a05:9407::/32", "15626"}, + {"2001:1448::/32", "16245"}, + {"2400:89c0:3010::/44", "37936"}, + {"2408:84f3:3240::/44", "17623"}, + {"240a:a8f9::/32", "144947"}, + {"2604:6600:fdc1::/38", "40676"}, + {"2801:1e6::/44", "27951"}, + {"2a0b:3540:8::/47", "397964"}, + {"2001:559:9a::/47", "7922"}, + {"240a:a54d::/32", "144007"}, + {"2606:ce80:6900::/40", "33438"}, + {"2607:8300::/46", "13876"}, + {"2001:559:c503::/48", "33659"}, + {"2402:4d40::/32", "24479"}, + {"2406:35c0::/32", "38038"}, + {"2605:9cc0:302::/48", "14618"}, + {"2606:69c0:5000::/36", "11039"}, + {"2405:9800:9806::/43", "45430"}, + {"240a:a6f7::/32", "144433"}, + {"2804:408c::/32", "265966"}, + {"2804:4224::/32", "267480"}, + {"2a02:fa8:c410::/44", "399104"}, + {"2408:8956:800::/40", "17622"}, + {"2600:1417:f800::/48", "25019"}, + {"2804:3dcc::/32", "266554"}, + {"2001:559:8339::/48", "33661"}, + {"240e:978:1600::/36", "4134"}, + {"2806:230:1017::/48", "11888"}, + {"2001:250:340a::/48", "138438"}, + {"2409:8904:6270::/40", "24547"}, + {"2800:b70:801::/48", "262191"}, + {"2a0a:59c7:100b::/45", "204724"}, + {"2600:1012:b100::/42", "6167"}, + {"2600:6c21:416::/44", "20115"}, + {"2804:c48:ef01::/35", "52687"}, + {"2a00:9780::/32", "50928"}, + {"2a06:bdc7:1a::/32", "62240"}, + {"240a:ada1::/32", "146139"}, + {"2607:f7c0:c100::/34", "36444"}, + {"2a01:aea0:df3::/45", "40980"}, + {"2a0b:4342:1a30::/44", "57695"}, + {"2401:fd80:ffb1::/48", "139853"}, + {"2403:780::/44", "64098"}, + {"240e:55:4000::/30", "4134"}, + {"2804:83f0::/32", "272230"}, + {"2406:2d40::/34", "36492"}, + {"2406:3340::/35", "139139"}, + {"2a0b:6800:1::/46", "42695"}, + {"240a:af13::/32", "146509"}, + {"2602:fed0::/36", "396109"}, + {"2a10:52c0::/48", "60078"}, + {"2001:559:395::/48", "7922"}, + {"2001:16a2:3616::/39", "39386"}, + {"2405:9800:c90a::/47", "45430"}, + {"2408:8756:af1::/45", "136958"}, + {"240a:a118::/32", "142930"}, + {"240a:a17c::/32", "143030"}, + {"2806:2f0:3483::/42", "17072"}, + {"2a05:93c5::/32", "39134"}, + {"2a07:f80::/29", "45033"}, + {"2001:1248:98b8::/45", "11172"}, + {"240a:a4d9::/32", "143891"}, + {"240e:878:1f0::/44", "4134"}, + {"2a03:5440::/29", "42541"}, + {"2a0b:4d07:301::/48", "44239"}, + {"2001:559:8430::/46", "33287"}, + {"2404:8380::/32", "135158"}, + {"240a:a810::/32", "144714"}, + {"2a06:e881:5600::/48", "203478"}, + {"2001:559:8348::/48", "33287"}, + {"2001:4dc8::/36", "16316"}, + {"2406:8700::/32", "7575"}, + {"240a:ad21::/32", "146011"}, + {"2804:6b5c::/32", "270395"}, + {"2a02:26f7:d60d::/42", "20940"}, + {"2a10:1e40::/29", "206173"}, + {"2001:1248:4343::/45", "11172"}, + {"2409:8c30:150::/35", "9808"}, + {"2605:bb00:4000::/34", "18672"}, + {"2804:5df4::/32", "269003"}, + {"2a02:26f7:b908::/48", "36183"}, + {"2806:230:201f::/48", "11888"}, + {"2001:559:81bf::/48", "21508"}, + {"2402:800:5371::/44", "7552"}, + {"2402:c800:ff7b::/48", "18131"}, + {"2406:f240::/32", "131963"}, + {"2a02:26f7:c145::/46", "20940"}, + {"2a02:cb80:2110::/48", "43766"}, + {"2a04:7501::/32", "62373"}, + {"2001:559:162::/48", "7016"}, + {"2001:559:c437::/48", "7015"}, + {"2409:8915:8e00::/39", "56044"}, + {"2603:f470::/24", "397165"}, + {"2604:d600:1573::/44", "32098"}, + {"2806:370:7200::/44", "28403"}, + {"2a02:26f7:de49::/42", "20940"}, + {"2803:82c0::/32", "264832"}, + {"2804:14d:4000::/42", "28573"}, + {"2804:1b54:c000::/34", "61722"}, + {"2804:5954::/32", "268183"}, + {"2a07:3500:12c0::/48", "212778"}, + {"2001:218:3004::/48", "20940"}, + {"2001:438::/42", "6461"}, + {"240e:3b6:7800::/39", "4134"}, + {"2620:13c:a0a0::/47", "19367"}, + {"2001:67c:1088::/47", "8426"}, + {"2001:bf0:e000::/31", "12732"}, + {"2401:8a40:3c::/46", "45326"}, + {"2402:e380:306::/48", "135646"}, + {"2620:11b:4018::/48", "19210"}, + {"2804:1f34::/32", "262679"}, + {"2804:318c::/39", "265023"}, + {"2001:480:240::/48", "687"}, + {"2001:559:446::/48", "7015"}, + {"2001:559:847e::/48", "33657"}, + {"2a00:4802:2c0::/44", "13124"}, + {"2a02:26f7:c8c4::/48", "36183"}, + {"2a04:1700::/29", "41354"}, + {"2a0b:11c0:92::/48", "198682"}, + {"2a0e:fd45:4100::/34", "44103"}, + {"2401:b400::/48", "58536"}, + {"2402:8100:21a0::/43", "55644"}, + {"2804:33b4::/32", "265412"}, + {"2a02:26f7:ed80::/48", "36183"}, + {"2a09:65c0::/32", "48045"}, + {"2001:4888:8010::/44", "22394"}, + {"2607:f3f8:7000::/36", "17378"}, + {"2a03:47c0:2401::/40", "21277"}, + {"2a0a:3640::/29", "29504"}, + {"2001:7f0:3004::/33", "13237"}, + {"2001:44b8:400::/48", "7545"}, + {"2402:b500::/48", "38203"}, + {"240a:abaa::/32", "145636"}, + {"2804:694:4c90::/38", "262596"}, + {"2a04:1b00::/47", "61005"}, + {"2a05:8940::/30", "8468"}, + {"2a05:b7c0::/48", "61400"}, + {"2c0f:f128::/32", "37629"}, + {"2001:550:5c00:100::/45", "174"}, + {"2001:1248:871d::/46", "11172"}, + {"2401:5700::/32", "131447"}, + {"2407:4a00::/32", "56055"}, + {"2409:8051:3900::/32", "9808"}, + {"2607:fb10:70e4::/44", "2906"}, + {"2620:0:2220::/48", "15318"}, + {"2806:2f0:4063::/40", "17072"}, + {"2001:67c:233c::/48", "47438"}, + {"2800:160:1dca::/43", "14259"}, + {"2001:1a11:26::/48", "42298"}, + {"2604:9b00:c00::/46", "14230"}, + {"2001:fd8:161::/46", "4775"}, + {"2607:f3a0:2000::/35", "40061"}, + {"2804:27ec::/32", "263929"}, + {"2a03:6f20::/32", "201146"}, + {"2a05:e40::/35", "59909"}, + {"2a09:8900::/29", "210303"}, + {"2a11:b180::/29", "204790"}, + {"240a:aa68::/32", "145314"}, + {"2600:cc0e::/32", "32298"}, + {"2804:2bdc:900::/32", "265181"}, + {"2806:2f0:70e1::/46", "17072"}, + {"2001:559:156::/48", "7015"}, + {"2600:6c38:718::/47", "20115"}, + {"2a02:26f7:e505::/46", "20940"}, + {"240e:62:d000::/36", "140308"}, + {"2804:7e38::/32", "269561"}, + {"2a0c:140::/29", "31631"}, + {"2a0e:e2c0::/32", "42282"}, + {"2001:559:c4f9::/48", "7015"}, + {"2600:6c7f:9300::/44", "19115"}, + {"2804:4d2c::/32", "267416"}, + {"2a0c:9bc0::/29", "25415"}, + {"2001:678:f28::/48", "211523"}, + {"2804:1784:b::/39", "263152"}, + {"2804:37f0:b100::/36", "266445"}, + {"2001:559:809e::/48", "33668"}, + {"2001:559:c0e8::/48", "33662"}, + {"2001:1250:d000::/44", "22894"}, + {"2404:ea80::/38", "135373"}, + {"2804:14d:9eb1::/41", "28573"}, + {"2a0f:c707::/32", "39384"}, + {"2001:df3:4400::/48", "133969"}, + {"240a:a76c::/32", "144550"}, + {"2804:3f20::/32", "266641"}, + {"2001:678:b90::/48", "35407"}, + {"2404:a140:f::/48", "138915"}, + {"2606:ec0:2000::/36", "14618"}, + {"2a02:26f7:dfc4::/48", "36183"}, + {"2a02:26f7:f604::/48", "36183"}, + {"2a04:207:100::/40", "48101"}, + {"2a0e:e1c0::/29", "15391"}, + {"2401:3c0:113::/48", "45528"}, + {"2409:8a52:700::/36", "56047"}, + {"2a01:b340::/32", "15751"}, + {"2401:d800:db10::/42", "7552"}, + {"2406:da70:c000::/40", "16509"}, + {"240a:a109::/32", "142915"}, + {"2607:f558::/32", "33189"}, + {"2607:fb90:f800::/31", "21928"}, + {"2804:198c::/32", "61802"}, + {"2804:1a68::/32", "262420"}, + {"2a06:f300::/29", "203421"}, + {"2403:c00:11::/48", "17488"}, + {"240a:60:f010::/44", "9605"}, + {"2605:a401:8bbc::/41", "33363"}, + {"2806:230:2013::/48", "11888"}, + {"240e:1:7200::/32", "4134"}, + {"2602:fef4:300::/48", "54721"}, + {"2607:fee0:4100::/32", "3599"}, + {"2a00:86c0:2076::/47", "40027"}, + {"2001:579:e1bc::/38", "22773"}, + {"2804:2314:2::/32", "262811"}, + {"2804:2fc0:4041::/34", "264910"}, + {"2a02:5ba0::/32", "203354"}, + {"2a0c:2580::/30", "211186"}, + {"2405:cc00:5000::/32", "55943"}, + {"240e:951:2400::/38", "138991"}, + {"2600:6c10:40::/44", "20115"}, + {"2803:fe00::/32", "27650"}, + {"2001:559:c15b::/48", "33491"}, + {"2001:da8:2040::/36", "23910"}, + {"2402:800:b040::/42", "7552"}, + {"2804:5fb4::/32", "269118"}, + {"2804:66e4::/32", "269589"}, + {"2001:67c:2b78::/48", "59516"}, + {"2620:171:28::/48", "42"}, + {"2804:5de4::/34", "268999"}, + {"2a02:a48:f000::/36", "49025"}, + {"2a0e:5c41::/30", "57578"}, + {"2001:67c:1268::/48", "203383"}, + {"2804:1168:1e00::/39", "52904"}, + {"2806:108e:26::/48", "8151"}, + {"2001:550:a02::/45", "174"}, + {"240a:a237::/32", "143217"}, + {"2600:9000:1133::/45", "16509"}, + {"2620:107:9000::/43", "22787"}, + {"2a00:1020:e::/32", "24739"}, + {"2a0e:2440::/29", "60781"}, + {"2a11:af01::/32", "210625"}, + {"2001:df6:5e80::/48", "142029"}, + {"2407:b0c0::/32", "131988"}, + {"2409:8000:5200::/37", "9808"}, + {"2a02:878:1::/46", "42632"}, + {"2405:8a00:200b::/42", "55824"}, + {"2603:c002:1f00::/43", "31898"}, + {"2a0e:f600::/42", "60781"}, + {"2001:559:c397::/44", "33657"}, + {"2405:9800:9812::/47", "45430"}, + {"2406:23c0::/48", "131409"}, + {"240e:878:1e0::/44", "137689"}, + {"2604:8400::/32", "25689"}, + {"2620:14::/48", "6481"}, + {"2804:9c8::/32", "262992"}, + {"2402:c800:fff3::/45", "37900"}, + {"240a:ab14::/32", "145486"}, + {"2800:bf0:8312::/35", "27947"}, + {"2a09:5e40::/29", "209424"}, + {"2a0f:3140::/29", "37540"}, + {"2001:470:84::/44", "6939"}, + {"2001:559:85d3::/45", "7922"}, + {"2001:da8:7008::/46", "24363"}, + {"2800:160:11e1::/43", "14259"}, + {"2806:266:501::/48", "27672"}, + {"2a00:c00:f030::/46", "24467"}, + {"2a00:7e40:80e::/48", "1301"}, + {"2a02:8070::/31", "3209"}, + {"2001:559:845a::/48", "33651"}, + {"2001:1318::/35", "3597"}, + {"2400:4c80::/35", "7632"}, + {"2402:800:549b::/41", "7552"}, + {"2402:3a80:1cd0::/42", "38266"}, + {"2408:8957:6c00::/40", "17622"}, + {"2606:5240:f1bf::/36", "6649"}, + {"2001:559:c1f8::/47", "7922"}, + {"2804:46cc::/32", "267012"}, + {"2001:559:c3f3::/48", "7922"}, + {"2403:7300::/32", "55891"}, + {"2606:e800:200::/39", "25843"}, + {"2607:f4e8:411::/48", "23059"}, + {"2804:4e90::/32", "268269"}, + {"2a02:5f83:d0cd::/39", "39811"}, + {"2a0b:2180:1::/48", "204995"}, + {"2804:52f4:a50::/42", "268552"}, + {"2a02:5fa0::/32", "198545"}, + {"2a0e:5880::/29", "211626"}, + {"2405:1c0:6181::/46", "55303"}, + {"240a:ae51::/32", "146315"}, + {"2607:fdf0:5e19::/45", "8008"}, + {"2a02:fa0::/32", "35191"}, + {"2408:8456:c00::/42", "17622"}, + {"2603:c012:a000::/36", "31898"}, + {"2a0e:b107:b50::/44", "213064"}, + {"2400:cb00:a2e0::/47", "13335"}, + {"240a:a3ce::/32", "143624"}, + {"2600:1008:b1d0::/42", "6167"}, + {"2602:fe19:6400::/48", "62623"}, + {"2804:3050::/32", "264943"}, + {"2409:8753:f00::/35", "56047"}, + {"2409:8c0c:400::/30", "56042"}, + {"2803:5c80:6593::/48", "64114"}, + {"2a0c:bfc0::/29", "61998"}, + {"2a11:5b00::/32", "62269"}, + {"2001:559:1c9::/48", "33652"}, + {"2001:559:711::/48", "33490"}, + {"240a:ac01::/32", "145723"}, + {"2a03:fc80::/29", "15366"}, + {"2001:df1:2600::/48", "59151"}, + {"2406:c700::/32", "9358"}, + {"2620:109:a006::/44", "15294"}, + {"2001:559:8292::/48", "33657"}, + {"2620:74:27::/48", "396566"}, + {"2a0e:2c00::/29", "63023"}, + {"2403:ba00::/34", "24521"}, + {"240a:add7::/32", "146193"}, + {"2600:100f::/32", "22394"}, + {"2806:310:18::/46", "16960"}, + {"2a03:75a0::/32", "31736"}, + {"2401:d800:f920::/41", "7552"}, + {"2404:8d06:2100::/35", "10089"}, + {"240a:a8e1::/32", "144923"}, + {"2607:f0d0:4::/46", "36351"}, + {"2a05:ba00::/32", "207595"}, + {"2a0e:46c4:2940::/48", "138435"}, + {"2001:559:84a0::/46", "33660"}, + {"2602:fd2f:10::/44", "33229"}, + {"2600:e000:8000::/38", "22995"}, + {"2a03:2d40::/38", "198056"}, + {"2a05:e5c0::/29", "200977"}, + {"2a0b:4341:a0e::/48", "57695"}, + {"2804:14c:578c::/41", "28573"}, + {"2a00:5b00::/29", "33986"}, + {"2a01:4f0:4017::/48", "31027"}, + {"2a03:efc0:700::/40", "33438"}, + {"2001:559:8129::/46", "7922"}, + {"2001:559:c0cd::/46", "33287"}, + {"2401:d800:d810::/42", "7552"}, + {"2402:800:9563::/43", "7552"}, + {"2404:8e80:2::/47", "45881"}, + {"2405:9000:91::/38", "7474"}, + {"2409:8c3c:1300::/40", "9808"}, + {"240e:874:2c0::/42", "4134"}, + {"2803:9800:a083::/43", "11664"}, + {"2600:380:f10b::/48", "64011"}, + {"2600:1402:c01::/35", "20940"}, + {"2602:feda:adb::/45", "140362"}, + {"2804:84ac::/32", "28223"}, + {"2402:76c0::/32", "137449"}, + {"2a02:fe1:d100::/29", "41164"}, + {"2a0d:2e40::/29", "208861"}, + {"2406:3000:30::/47", "4657"}, + {"2406:cf00::/48", "23724"}, + {"240e:45c:b300::/40", "140537"}, + {"2600:1801:14::/30", "16552"}, + {"2800:5f0:2001::/42", "22724"}, + {"2804:802c:201::/46", "271734"}, + {"2a06:e881:531a::/48", "209859"}, + {"2406:9680::/32", "17635"}, + {"2408:8256:316c::/48", "17816"}, + {"240e:45c:c300::/40", "140536"}, + {"2604:d600:1580::/44", "32098"}, + {"2804:2cac:bbbc::/33", "265234"}, + {"2408:8256:d98::/38", "17622"}, + {"2600:6c10:41d::/46", "20115"}, + {"2801:80:3960::/44", "270693"}, + {"2a02:ab80::/28", "21334"}, + {"2001:559:49e::/48", "33287"}, + {"2001:678:604::/48", "49824"}, + {"2602:107:910::/48", "10838"}, + {"2604:9d40:1f9::/48", "7018"}, + {"2800:160:1ff9::/46", "14259"}, + {"2a0b:7980::/29", "208272"}, + {"2001:468:ef02::/40", "11537"}, + {"2001:678:898::/48", "62445"}, + {"2406:c500:ffd2::/48", "4764"}, + {"240a:abe3::/32", "145693"}, + {"2a00:e78:7000::/36", "34602"}, + {"2409:8055:28::/48", "9808"}, + {"2804:e24:fec0::/39", "262417"}, + {"2804:415c::/32", "267428"}, + {"2806:2f0:9dc3::/42", "17072"}, + {"2a06:dc40::/29", "29182"}, + {"2a10:c80::/29", "56786"}, + {"2403:7100:a::/48", "142033"}, + {"2401:1840::/32", "136001"}, + {"2401:ff40::/32", "137080"}, + {"2804:7be8:c00a::/45", "271462"}, + {"2a00:4b00:100::/42", "41935"}, + {"2a04:dc00::/29", "56990"}, + {"2a11:5580::/29", "61192"}, + {"2a01:358:401e::/47", "9121"}, + {"2a02:2010:22a0::/45", "20978"}, + {"2a02:2e02:86d0::/39", "12479"}, + {"2a11:5d00::/29", "210863"}, + {"240e:3b8:f100::/37", "134775"}, + {"2803:7200:800e::/43", "27696"}, + {"2a0a:7240::/32", "206082"}, + {"2001:43f8:1f3::/48", "37474"}, + {"2620:fe::/48", "19281"}, + {"2001:559:8231::/48", "33650"}, + {"2405:1c0:6481::/46", "55303"}, + {"2602:80b:a001::/48", "399791"}, + {"2001:fd8:331::/41", "4775"}, + {"2001:4408:8510::/38", "4758"}, + {"2402:800:51ee::/38", "7552"}, + {"2408:8456:8e40::/39", "17816"}, + {"2804:2138::/32", "264543"}, + {"2a0b:3140::/29", "204790"}, + {"2001:bf7::/39", "44194"}, + {"2001:4878:c164::/48", "12222"}, + {"2400:cb00:80::/47", "13335"}, + {"240a:a3ea::/32", "143652"}, + {"2600:1009:a000::/43", "6167"}, + {"2a00:1910::/29", "29551"}, + {"2a0c:b642:2000::/44", "34641"}, + {"2001:67c:219c::/48", "49542"}, + {"2804:7aa4::/32", "271383"}, + {"2a06:f900::/36", "56630"}, + {"2a0d:58c0::/29", "202932"}, + {"2804:2a84::/32", "264076"}, + {"2a00:4800:1b0::/41", "8717"}, + {"2a0c:3080::/48", "204809"}, + {"2001:4488::/45", "7713"}, + {"2001:4870:a24b::/45", "3549"}, + {"2404:bf40:f801::/48", "2764"}, + {"2607:f160:a::/45", "6167"}, + {"2a0b:3901:2::/29", "58310"}, + {"2001:559:82fc::/47", "7922"}, + {"2001:559:c2d9::/48", "33657"}, + {"2001:579:e22c::/39", "22773"}, + {"2400:4000::/22", "4713"}, + {"2402:800:fb10::/42", "7552"}, + {"2602:ff96:10::/48", "26548"}, + {"2804:8520::/32", "272559"}, + {"2405:e4c0::/32", "131677"}, + {"2409:8d28::/29", "56041"}, + {"240a:a288::/32", "143298"}, + {"2804:7388::/32", "270921"}, + {"2806:265:501::/48", "13999"}, + {"240a:a601::/32", "144187"}, + {"240e:44d:6440::/42", "140348"}, + {"2804:1b08:facf::/37", "61704"}, + {"2804:2820::/32", "263942"}, + {"2804:3c58::/32", "266205"}, + {"2804:7a28::/34", "271351"}, + {"2602:fd9d::/36", "26576"}, + {"2804:1ea8::/32", "264442"}, + {"2a10:3a40::/29", "204790"}, + {"2001:4408:4500::/45", "4758"}, + {"2600:140b:4400::/48", "31109"}, + {"2a00:7180:8000::/46", "208157"}, + {"2001:559:8393::/48", "7015"}, + {"2001:1a11:14c::/48", "8781"}, + {"2402:800:b3d0::/37", "7552"}, + {"2600:380:2600::/36", "20057"}, + {"2602:fd3a:228::/48", "16509"}, + {"2620:132:f3a1::/37", "394977"}, + {"2001:559:c024::/48", "33667"}, + {"2400:cb00:a4c0::/47", "13335"}, + {"2408:84ee:c000::/27", "4837"}, + {"2804:2ec4::/32", "265365"}, + {"2804:6ef4::/34", "270629"}, + {"2a05:bec0:41::/29", "197071"}, + {"2804:7e4:8100::/33", "52865"}, + {"2804:33c0::/32", "265415"}, + {"2a06:3f40::/29", "21466"}, + {"2406:4440:f00::/43", "38008"}, + {"2600:1010:b1d0::/42", "6167"}, + {"2804:1b08::/37", "61704"}, + {"2c0e:2201::/30", "37457"}, + {"2001:44b8:1052::/47", "7545"}, + {"2402:600:1001::/32", "38515"}, + {"2402:800:9201::/44", "7552"}, + {"2620:171:13::/48", "42"}, + {"2804:8370::/32", "272198"}, + {"2a05:5000::/29", "207225"}, + {"2001:df2:3c00::/45", "63950"}, + {"2402:3a80:c059::/48", "38266"}, + {"240e:f7:7000::/36", "136190"}, + {"240e:982:a100::/38", "4812"}, + {"2804:3694::/32", "266357"}, + {"2001:559:84e2::/44", "7016"}, + {"2602:fe59:30::/48", "46432"}, + {"2804:5218::/32", "268494"}, + {"2a0d:4d00:81::/48", "62303"}, + {"2400:4d40::/47", "134204"}, + {"2402:8100:2683::/44", "55644"}, + {"2600:9000:200f::/42", "16509"}, + {"2606:4600::/32", "23118"}, + {"2804:62f0:b102::/33", "269329"}, + {"2a10:4180::/29", "399975"}, + {"240a:4092:c000::/35", "58834"}, + {"2801:124::/44", "270030"}, + {"2a01:ac00::/32", "9066"}, + {"2a03:5b80::/32", "20870"}, + {"2001:df4:9300::/48", "134305"}, + {"2406:840:e112::/48", "141712"}, + {"2a01:cde0:c010::/48", "16028"}, + {"2001:7fd::/32", "25152"}, + {"2001:df0:4b00::/48", "9723"}, + {"2409:8087:4f1::/39", "24547"}, + {"240e:244:300::/28", "4134"}, + {"2600:1405:7801::/32", "20940"}, + {"2a10:bc0::/29", "62240"}, + {"2001:df3:800::/47", "22787"}, + {"2402:800:9c8d::/42", "7552"}, + {"240a:adb2::/32", "146156"}, + {"2600:141b:5801::/37", "20940"}, + {"2600:6c33:4c2::/38", "20115"}, + {"2600:6c38:a99::/46", "20115"}, + {"2608:121:d::/32", "721"}, + {"2620:c1:4000::/48", "26988"}, + {"2804:1250:c000::/34", "263469"}, + {"2a00:5a60::/48", "199274"}, + {"2a0d:1700::/29", "30791"}, + {"2001:2000:1::/36", "1299"}, + {"2409:8008:d2::/45", "24547"}, + {"2604:2e80:2400::/38", "30036"}, + {"2604:fd80::/32", "62688"}, + {"2803:1a00:1114::/37", "262186"}, + {"2804:2cb8:40::/32", "265239"}, + {"2001:1248:a51b::/42", "11172"}, + {"2001:1900:2356::/44", "3356"}, + {"2405:9800:c91e::/48", "45458"}, + {"2804:5dec::/32", "269001"}, + {"2804:67b0::/32", "269644"}, + {"2a0c:8fc0::/32", "202401"}, + {"2a10:c280::/32", "212059"}, + {"2001:3c8:2808::/48", "141714"}, + {"240e:3ba:f700::/36", "4134"}, + {"2804:7d68::/32", "271559"}, + {"2001:67c:26c::/48", "211731"}, + {"2001:1388:6644::/35", "6147"}, + {"2401:f400::/32", "9269"}, + {"240e:106:c000::/34", "4812"}, + {"2803:3a00:1800::/37", "23243"}, + {"2803:7200:8012::/45", "27696"}, + {"2804:504c:6000::/32", "268380"}, + {"2a10:5b80::/29", "25793"}, + {"2a11:2800:4::/48", "14445"}, + {"2001:d30::/46", "4717"}, + {"2403:7f40:ff00::/48", "20473"}, + {"2804:74a8::/39", "270995"}, + {"2a07:22c1:c002::/48", "207649"}, + {"2800:160:1f95::/46", "14259"}, + {"2806:106e:5::/48", "8151"}, + {"2a02:26f7:9c::/48", "36183"}, + {"2a03:8a80::/32", "12930"}, + {"2a0a:7880:1ff::/48", "206677"}, + {"2001:250:2c13::/42", "138381"}, + {"2409:896a:3200::/39", "9808"}, + {"2600:1f70:8000::/40", "14618"}, + {"2602:fed2:7189::/48", "53356"}, + {"2605:34c0:e000::/36", "397449"}, + {"2a02:88d:8210::/44", "48695"}, + {"2001:559:5fa::/48", "7725"}, + {"2600:1417:800::/48", "24319"}, + {"2602:feda:dd0::/44", "46997"}, + {"2605:dd40:5bbc::/37", "398549"}, + {"2803:9800:988d::/41", "11664"}, + {"2806:20d:5208::/46", "32098"}, + {"2a0d:2640::/29", "60501"}, + {"2001:250:6c42::/47", "138370"}, + {"2001:550:6800:2::/38", "174"}, + {"2001:559:2e2::/48", "33287"}, + {"2602:fde6::/36", "10796"}, + {"2a0c:55c0:1::/48", "43009"}, + {"2a0c:c181::/32", "46844"}, + {"2001:67c:528::/48", "50222"}, + {"2403:0:608::/32", "4755"}, + {"2408:870c::/44", "138421"}, + {"2001:67c:988::/48", "207716"}, + {"2001:1248:a024::/44", "11172"}, + {"2404:bf40:c4c1::/39", "139084"}, + {"2604:e100:3::/45", "33028"}, + {"2606:4a00:1100::/40", "18572"}, + {"2620:100:f00d::/48", "46571"}, + {"2001:678:944::/48", "34015"}, + {"2001:708:11::/32", "1741"}, + {"2801:11:8800::/48", "19429"}, + {"2806:286:a800::/33", "265524"}, + {"2a03:16a0::/32", "15397"}, + {"2a02:d8:800d::/33", "44654"}, + {"2a02:2e02:9cf0::/39", "12479"}, + {"2a0a:be80::/29", "43391"}, + {"2a0e:b107:1134::/44", "212121"}, + {"2001:559:c406::/48", "7015"}, + {"2001:67c:1b9c::/48", "9143"}, + {"2001:bf7:870::/35", "44194"}, + {"2a01:55e4::/30", "201709"}, + {"2a0b:2900:4100::/38", "48582"}, + {"2001:df7:3480::/48", "42960"}, + {"240a:a28c::/32", "143302"}, + {"2602:fed2:fd0::/44", "49134"}, + {"2605:a401:8758::/45", "33363"}, + {"2804:37f0:e900::/35", "266445"}, + {"2c0f:e9f0::/32", "328748"}, + {"2001:559:c0f6::/47", "21508"}, + {"2402:e380:312::/48", "139073"}, + {"2404:1c40:4f::/48", "24432"}, + {"2602:feb4:180::/44", "25961"}, + {"2602:feda:da0::/44", "142055"}, + {"2001:550:210b::/38", "174"}, + {"2400:7400:76::/48", "23736"}, + {"2405:8a40::/32", "139161"}, + {"2602:fd60:ff0::/48", "137908"}, + {"2804:8420::/32", "272241"}, + {"2a03:6300::/32", "15497"}, + {"2a04:4900::/29", "64401"}, + {"2a04:a900:2::/48", "43067"}, + {"2a0b:6800::/48", "12552"}, + {"2a0f:2a40::/29", "399975"}, + {"2001:480:121::/41", "668"}, + {"2001:df4:6180::/48", "132515"}, + {"2400:8f80::/47", "45638"}, + {"2400:c540:3::/45", "59238"}, + {"2403:2300::/32", "56309"}, + {"2a02:26f7:c585::/46", "20940"}, + {"2001:559:846f::/48", "33651"}, + {"2605:c5c0::/32", "395853"}, + {"2804:5d18::/32", "268950"}, + {"2a02:2000:5::/32", "35297"}, + {"2a09:3440::/29", "400522"}, + {"2a11:3e80::/29", "204790"}, + {"2401:d800:b262::/40", "7552"}, + {"240a:ae52::/32", "146316"}, + {"2a0f:7680::/29", "42316"}, + {"2c0f:fce8::/33", "37153"}, + {"2001:2093::/20", "1299"}, + {"2402:800:969b::/42", "7552"}, + {"2a00:8a20::/32", "60745"}, + {"2a01:8840:16::/44", "12041"}, + {"2407:c300::/32", "133043"}, + {"2604:9000:2101::/32", "19693"}, + {"2001:559:c222::/48", "33667"}, + {"2001:67c:2fc4::/48", "197936"}, + {"2001:4bd8::/41", "15725"}, + {"2400:dc00:4002::/48", "131111"}, + {"2401:d800:7760::/40", "7552"}, + {"2600:140f:7800::/48", "9498"}, + {"2a02:26f7:da88::/48", "36183"}, + {"2001:1388:8a00::/44", "264684"}, + {"2402:800:3ee0::/44", "7552"}, + {"2404:4a00:7a00::/64", "55423"}, + {"240a:a07f::/32", "142777"}, + {"2a06:a000:1e0::/48", "206804"}, + {"2a10:b600::/32", "212241"}, + {"2001:579:7f07::/32", "22773"}, + {"2607:fc48:bc6b::/48", "40009"}, + {"2620:131:1005::/42", "26450"}, + {"2804:5dc:880::/32", "53019"}, + {"2001:559:2a0::/48", "20214"}, + {"2001:559:c2b8::/48", "33287"}, + {"240a:a6cb::/32", "144389"}, + {"2604:d600:157a::/45", "32098"}, + {"2607:f6f0:203::/48", "19930"}, + {"2806:2f0:2240::/39", "17072"}, + {"2a0f:5680::/47", "60906"}, + {"2001:559:c294::/48", "33667"}, + {"2001:67c:16c4::/48", "199612"}, + {"2404:7ac0:608::/48", "4842"}, + {"2404:8500::/32", "55470"}, + {"240a:aa5a::/32", "145300"}, + {"2604:7a40:1200::/34", "394710"}, + {"2605:d9c0::/32", "32361"}, + {"2607:3380::/40", "395152"}, + {"2a02:cb43:8004::/48", "20546"}, + {"2a0f:2880:100::/38", "208164"}, + {"2404:e040::/32", "63773"}, + {"2405:9800:b013::/44", "133481"}, + {"240a:ad3b::/32", "146037"}, + {"2600:1405:3001::/36", "20940"}, + {"2600:370f:5090::/42", "32261"}, + {"2603:90c8::/30", "11955"}, + {"2804:44c0::/32", "267651"}, + {"2a00:4802:3a0::/44", "13124"}, + {"2400:4d40:302::/44", "134204"}, + {"2600:1407:c01::/35", "20940"}, + {"2804:30c4:1800::/37", "264973"}, + {"2a02:ee80:41d4::/46", "3573"}, + {"2001:250:7035::/48", "24369"}, + {"2001:559:4a8::/48", "33657"}, + {"2406:340::/32", "140576"}, + {"240a:aa83::/32", "145341"}, + {"240e:30f:5600::/27", "4134"}, + {"2804:2228::/32", "264595"}, + {"2804:83a0::/32", "272209"}, + {"2a00:54c0::/32", "41966"}, + {"2407:a640::/32", "146753"}, + {"2602:ff05::/36", "55009"}, + {"2804:20fc::/42", "264525"}, + {"2804:5cb8::/32", "268926"}, + {"2001:559:5dc::/48", "7922"}, + {"2409:8904:9090::/39", "24547"}, + {"2800:320:8003::/48", "27882"}, + {"2801:80:2a00::/44", "271107"}, + {"2804:5278::/32", "268520"}, + {"2804:6928::/32", "270252"}, + {"2a04:2b00:14bb::/48", "204055"}, + {"2001:c20:c816::/48", "3758"}, + {"2402:800:3571::/44", "7552"}, + {"2602:107:2c10::/48", "20115"}, + {"2a06:2980::/29", "42695"}, + {"2a0c:58c0::/29", "205254"}, + {"2405:9200:2100::/41", "131596"}, + {"2409:8055:55::/44", "56040"}, + {"2620:20:a000::/48", "16539"}, + {"2800:5f0:203b::/45", "22724"}, + {"2803:cae0:2::/48", "27951"}, + {"2804:1a94::/32", "61869"}, + {"2a07:7800:2::/48", "31727"}, + {"2a09:7::/48", "43959"}, + {"2a0a:aec0::/29", "6830"}, + {"2001:559:3ee::/48", "33491"}, + {"2804:3c9c::/32", "266224"}, + {"2001:250:fe01::/48", "24372"}, + {"2405:8a00:6036::/35", "55824"}, + {"2406:9600::/32", "10208"}, + {"2602:ff01::/48", "396101"}, + {"2607:fb10:70e0::/47", "2906"}, + {"2804:7da8::/32", "271575"}, + {"2a01:c9c0:8010::/48", "2285"}, + {"2407:4ec0::/45", "134012"}, + {"2408:8459:ed50::/38", "17816"}, + {"2409:8c28:2809::/39", "56041"}, + {"240a:a1e8::/32", "143138"}, + {"240e:438:9e40::/34", "4134"}, + {"2803:db00:a81::/32", "262234"}, + {"2804:1e60::/32", "264425"}, + {"2a05:ad00::/29", "56803"}, + {"2a06:5400::/29", "62341"}, + {"2001:1248:a002::/48", "11172"}, + {"2001:12f0:dc0::/38", "1916"}, + {"240a:a856::/32", "144784"}, + {"2a06:a004:8000::/33", "44570"}, + {"2406:45c0::/32", "64300"}, + {"2605:99c0::/32", "394775"}, + {"2800:3c0:2060::/40", "19863"}, + {"2804:4c7c::/32", "267373"}, + {"2600:9000:2170::/40", "16509"}, + {"2620:ee:8000::/48", "16881"}, + {"2804:104c:8800::/40", "263629"}, + {"2001:1a11:145::/48", "42298"}, + {"2620:0:2f00::/41", "693"}, + {"2803:5b20:2000::/33", "27735"}, + {"2402:ef19::/39", "7633"}, + {"2804:79d4::/32", "271330"}, + {"2403:9800:7800::/38", "4771"}, + {"240a:a739::/32", "144499"}, + {"2a06:52c0:1::/46", "201483"}, + {"2001:3c8:4008::/35", "4621"}, + {"2001:16a2:c3a0::/41", "39386"}, + {"240a:a3c9::/32", "143619"}, + {"2604:ee00::/48", "18865"}, + {"2620:13d:d000::/44", "6461"}, + {"2804:84cc:2100::/33", "272541"}, + {"2403:fbc0:2000::/48", "23959"}, + {"2804:37f0:1900::/34", "266445"}, + {"240a:a1cf::/32", "143113"}, + {"2600:380:b380::/37", "20057"}, + {"2801:0:180::/48", "19429"}, + {"2a02:26f7:bd01::/46", "20940"}, + {"2a0e:aa06:400::/45", "209306"}, + {"2001:67c:29ec::/48", "58298"}, + {"2402:5080::/32", "133959"}, + {"2408:8645:1200::/32", "4837"}, + {"2610:a1:1071::/48", "397228"}, + {"2a03:2881:3::/43", "32934"}, + {"240a:a331::/32", "143467"}, + {"240a:adf8::/32", "146226"}, + {"2600:1408:6401::/36", "20940"}, + {"2600:3006:1400::/31", "13649"}, + {"2600:370f:7265::/44", "32261"}, + {"2620:79:3::/45", "30013"}, + {"2620:11a:c081::/48", "394192"}, + {"2801:1e:e800::/48", "262186"}, + {"2804:6dc4::/32", "270554"}, + {"2409:8a15:3c00::/32", "56044"}, + {"240a:a017::/32", "142673"}, + {"2a01:7a0::/30", "29066"}, + {"2001:4de0:2000::/39", "33438"}, + {"2402:2f80:5::/46", "134451"}, + {"2001:559:845d::/48", "33667"}, + {"2404:e801:2015::/44", "55430"}, + {"2408:8256:1796::/41", "17622"}, + {"2a03:90c0:5d0::/42", "199524"}, + {"2a04:d480::/35", "25291"}, + {"2a07:fa00::/29", "8888"}, + {"2001:4490:da00::/46", "9829"}, + {"2804:268::/32", "262812"}, + {"2804:7fe4::/32", "271716"}, + {"2a02:120:2::/48", "41887"}, + {"2001:559:c2a7::/48", "21508"}, + {"2403:a040:1688::/48", "38047"}, + {"240e:925:4000::/30", "4134"}, + {"2a0c:1040::/29", "204382"}, + {"2a0e:b107:1600::/44", "210842"}, + {"2a0f:9400:800f::/48", "211767"}, + {"2607:d100::/32", "394844"}, + {"2001:4878:2215::/46", "12222"}, + {"2400:cb00:a880::/47", "13335"}, + {"2407:39c0::/32", "133653"}, + {"240a:a9e7::/32", "145185"}, + {"2607:ffd8:213::/48", "17048"}, + {"2804:568::/37", "262514"}, + {"2804:3ac0::/32", "266107"}, + {"2a03:5640:f51a::/42", "2906"}, + {"2001:250:813::/48", "138182"}, + {"2001:da8:4022::/44", "24353"}, + {"2001:16a2:c200::/44", "39891"}, + {"2408:8256:668::/39", "17622"}, + {"2409:8054:10::/48", "9808"}, + {"2605:64c0:2::/32", "63294"}, + {"2804:7b44::/32", "271421"}, + {"2001:67c:11ac::/48", "199470"}, + {"2a00:b3a1::/32", "31027"}, + {"2a02:c6c7::/32", "58061"}, + {"2a0f:f40::/29", "60262"}, + {"2409:8a29::/27", "9808"}, + {"2600:40f0:f::/40", "701"}, + {"2803:b3a0::/32", "267755"}, + {"2803:b510::/32", "272032"}, + {"2804:4780::/32", "267058"}, + {"2a01:190:151f::/40", "1764"}, + {"2a0c:9a40:8020::/44", "212925"}, + {"240a:a247::/32", "143233"}, + {"240e:3b9:5600::/34", "4134"}, + {"2620:115:10::/41", "18888"}, + {"2a00:bfc0::/35", "34757"}, + {"2a0e:fd40:200::/48", "60557"}, + {"2402:800:9c55::/42", "7552"}, + {"2606:f900:ae01::/33", "812"}, + {"2801:be::/32", "263610"}, + {"2804:850c::/32", "272554"}, + {"2a02:2168::/29", "42610"}, + {"2001:df5:c780::/48", "137033"}, + {"2606:18c0::/48", "14445"}, + {"2804:50fc::/34", "268423"}, + {"2c0f:e8e0:40d0::/34", "327926"}, + {"2001:4878:a228::/48", "12222"}, + {"2402:800:320f::/43", "7552"}, + {"2409:8904:d490::/39", "24547"}, + {"2605:a401:875e::/40", "33363"}, + {"2804:1094::/32", "263641"}, + {"2804:6f18::/32", "270638"}, + {"2804:333c::/32", "265383"}, + {"2a0e:fb47::/32", "29182"}, + {"2001:500:20a::/45", "394353"}, + {"2600:1407:b::/43", "20940"}, + {"2600:140b:9801::/38", "20940"}, + {"2602:fc51::/48", "399114"}, + {"2800:440:8004::/48", "27738"}, + {"2804:48cc::/32", "267145"}, + {"2001:559:84c6::/48", "20214"}, + {"2620:153::/40", "6498"}, + {"2001:49f0:d099::/46", "174"}, + {"2401:d800:5a60::/40", "7552"}, + {"2409:8d80:3000::/33", "9808"}, + {"2607:1d00::/32", "63003"}, + {"2804:405c::/32", "265954"}, + {"2404:9ec0:114::/48", "138919"}, + {"240a:afe5::/32", "146719"}, + {"2602:fcf6:ffc::/48", "210902"}, + {"2a02:808::/29", "35311"}, + {"2a03:a100::/32", "56635"}, + {"2a11:a780::/29", "204790"}, + {"2600:100d:9e10::/40", "22394"}, + {"2a10:5500::/34", "33874"}, + {"2001:470:34::/41", "6939"}, + {"2001:1388:14c4::/36", "6147"}, + {"2404:4c40::/32", "134937"}, + {"2a01:cd00:c000::/41", "28708"}, + {"2001:12ff::/32", "22548"}, + {"240a:aa46::/32", "145280"}, + {"240e:974:1201::/32", "4134"}, + {"2600:6000::/32", "12271"}, + {"2620:7f:e000::/48", "394719"}, + {"2804:196c::/32", "61794"}, + {"2804:4bd8:88::/37", "267332"}, + {"2a00:1ac0::/32", "35260"}, + {"2407:7a40::/32", "142412"}, + {"2a0a:2842:d853::/48", "136796"}, + {"2a0e:97c0:565::/46", "210659"}, + {"2001:4868:225::/37", "701"}, + {"2401:d800:2920::/41", "7552"}, + {"2403:6000:200::/36", "24085"}, + {"2404:af80:14::/47", "38026"}, + {"2407:2140::/32", "141532"}, + {"2605:aa40:c1e4::/48", "18792"}, + {"2a0f:78c0::/29", "205322"}, + {"2605:a401:8c7c::/40", "33363"}, + {"2804:1e58:4::/33", "264422"}, + {"2804:33c8::/32", "265417"}, + {"2a00:c700:c000::/34", "47609"}, + {"2a02:26f7:b78c::/48", "36183"}, + {"2a05:b0c6:6000::/48", "211139"}, + {"2600:140f:c801::/38", "20940"}, + {"2804:1834::/32", "61923"}, + {"2804:4614:e000::/35", "266967"}, + {"2a09:7c40::/32", "43624"}, + {"2a0c:7e42:993c::/48", "20473"}, + {"2001:288::/32", "1659"}, + {"2001:678:22c::/48", "25419"}, + {"2001:67c:144::/48", "41887"}, + {"2001:da8:ef01::/35", "23910"}, + {"2401:af80:9016::/33", "59103"}, + {"2402:6980::/32", "59278"}, + {"2602:fed2:710c::/48", "202479"}, + {"2606:2800:4247::/48", "15133"}, + {"2800:160:160a::/47", "14259"}, + {"2a02:17b8::/32", "34040"}, + {"2a02:26f7:e585::/46", "20940"}, + {"2a0f:3a00::/29", "8647"}, + {"2001:67c:1591::/48", "61317"}, + {"2407:5040:2100::/32", "134715"}, + {"2606:1a40::/45", "398962"}, + {"2620:112:3000::/44", "36459"}, + {"2620:149:a11::/48", "714"}, + {"2800:160:174c::/43", "14259"}, + {"2a02:26f7:b986::/47", "20940"}, + {"2a0c:a9c7:1::/48", "12938"}, + {"2a0f:11c0::/29", "45671"}, + {"2606:4f00:2::/48", "19324"}, + {"2800:300:6240::/37", "27651"}, + {"2a02:2310::/32", "39817"}, + {"2a04:e00:1e::/47", "54103"}, + {"2001:559:c513::/44", "7922"}, + {"2407:a800:3e11::/51", "3949"}, + {"2600:6c20:a92::/45", "20115"}, + {"2804:7188::/32", "270795"}, + {"2a09:7:2006::/48", "205758"}, + {"240a:a3a4::/32", "143582"}, + {"240e:982:d500::/40", "134769"}, + {"2602:fed2:711b::/48", "210715"}, + {"2804:d78::/32", "262444"}, + {"2a03:5d00::/30", "29399"}, + {"2a05:a840::/29", "29424"}, + {"2a12:a540::/29", "400522"}, + {"240a:a676::/32", "144304"}, + {"2600:1003:9440::/44", "6167"}, + {"2600:1806:311::/48", "16552"}, + {"2a00:1110::/29", "5483"}, + {"2a00:1928::/32", "12898"}, + {"2a0e:97c0:2bf::/48", "211553"}, + {"2001:250:400c::/43", "24358"}, + {"2401:4900:4020::/44", "45609"}, + {"2402:e280:2107::/44", "134674"}, + {"2a06:2a80::/29", "201791"}, + {"2001:b08:19::/48", "197467"}, + {"2402:ef21::/36", "7633"}, + {"240e:44d:1000::/42", "140345"}, + {"2a02:2e02:8a10::/40", "12479"}, + {"2a0d:2146:9900::/40", "56894"}, + {"2a0d:e4c4:c000::/34", "208861"}, + {"2400:cb00:a550::/46", "13335"}, + {"240a:a280::/32", "143290"}, + {"2600:5c00:21d0::/48", "20001"}, + {"2607:2c00:9000::/33", "14265"}, + {"2607:ffb0:5001::/46", "6327"}, + {"2804:14d:ac92::/47", "28573"}, + {"2804:95c::/32", "28654"}, + {"2a00:1480:3::/48", "50819"}, + {"240e:3b1:9c00::/34", "140310"}, + {"2607:f710:35::/48", "19624"}, + {"2800:160:1e38::/47", "14259"}, + {"2804:5a78::/32", "268775"}, + {"2a00:e300::/32", "43711"}, + {"2001:67c:25ac::/48", "24597"}, + {"2a02:9e0::/32", "25459"}, + {"2800:110:1020::/48", "61496"}, + {"2804:36f4::/32", "266382"}, + {"2001:4158::/29", "8201"}, + {"2001:4908::/32", "7029"}, + {"2001:4998:170::/48", "10880"}, + {"240a:a1f7::/32", "143153"}, + {"2001:460:a::/41", "3561"}, + {"2001:678:c4::/48", "9066"}, + {"2408:8878::/31", "4837"}, + {"2602:ff65::/36", "33083"}, + {"2620:13f:7008::/48", "51439"}, + {"2a05:1080:10::/48", "61004"}, + {"2001:da8:b010::/48", "23910"}, + {"2804:3b0::/33", "53062"}, + {"2a03:2f00::/32", "29467"}, + {"2001:559:82b6::/48", "7922"}, + {"2800:bf0:a80a::/45", "52257"}, + {"2a0b:b600:2000::/38", "57758"}, + {"2001:13b4:4005::/32", "3356"}, + {"2a0b:2600::/29", "57878"}, + {"2a0b:2900:216d::/40", "48582"}, + {"2a11:7ec0::/29", "204790"}, + {"2001:df4:1b80::/48", "140874"}, + {"240a:a3f9::/32", "143667"}, + {"2804:35f8::/32", "266318"}, + {"2804:4400::/32", "267615"}, + {"2001:559:32f::/48", "33491"}, + {"2404:34c0:2::/48", "138536"}, + {"2409:801e:3009::/45", "9808"}, + {"2606:42c0::/40", "399078"}, + {"2804:2d0c::/40", "262408"}, + {"2a01:8840:f::/48", "40490"}, + {"2a04:c147::/32", "60786"}, + {"2001:67c:2138::/48", "31348"}, + {"2401:d800:5d02::/42", "7552"}, + {"2402:a300:23e8::/48", "55427"}, + {"240a:aadc::/32", "145430"}, + {"2602:fb9d:80::/48", "400554"}, + {"2a09:4e01::/30", "210625"}, + {"2402:800:f380::/42", "7552"}, + {"2001:559:81e8::/48", "33489"}, + {"2001:559:86e2::/48", "33659"}, + {"2604:bb80::/38", "14602"}, + {"2001:1248:5a8d::/43", "11172"}, + {"2001:1a11:87::/43", "42298"}, + {"2406:840:e10f::/48", "134477"}, + {"2409:8a7b::/29", "9808"}, + {"2600:1406:5000::/48", "35994"}, + {"2800:160:1bab::/43", "14259"}, + {"2a00:d78::/32", "1140"}, + {"2c0f:eb00:800::/39", "61266"}, + {"2c0f:fd28::/32", "29091"}, + {"2408:8256:3380::/43", "17623"}, + {"2409:8904:e240::/42", "24547"}, + {"2800:160::/46", "14259"}, + {"2a02:26f7:f6e8::/47", "36183"}, + {"2a04:f580:9270::/48", "4809"}, + {"2001:16a2:803c::/39", "39386"}, + {"2600:1417:6d::/46", "9498"}, + {"2602:fe26::/36", "53740"}, + {"2620:129:1009::/48", "36821"}, + {"2800:160:1857::/44", "14259"}, + {"2001:67c:1134::/48", "205915"}, + {"2001:da8:c000::/44", "24354"}, + {"2001:19f0:c000::/38", "20473"}, + {"2605:41c0:300::/40", "397042"}, + {"2a02:26f7:cfc8::/48", "36183"}, + {"2a03:a420::/32", "51007"}, + {"2a0d:ac00::/48", "205202"}, + {"2001:500:122::/47", "396574"}, + {"2001:559:c382::/48", "13367"}, + {"2401:2880::/32", "17452"}, + {"2401:d800:f530::/41", "7552"}, + {"2604:8540:fc00::/48", "33353"}, + {"2605:4c40:223::/41", "30081"}, + {"2606:4ec0::/32", "399551"}, + {"2804:7998::/32", "271315"}, + {"2a0a:f586::/32", "51837"}, + {"2403:5400::/35", "38450"}, + {"2602:fffa::/36", "29889"}, + {"2804:248:4003::/45", "28598"}, + {"2804:8234::/32", "272505"}, + {"2806:230:6033::/48", "11888"}, + {"2a00:9800::/32", "25227"}, + {"2001:67c:17c0::/48", "204896"}, + {"240a:ad1f::/32", "146009"}, + {"2a02:20f8::/32", "34510"}, + {"2a02:26f7:d::/48", "20940"}, + {"2001:42d0:7a00::/44", "33764"}, + {"2402:800:39c5::/43", "7552"}, + {"2404:bf40:8a00::/47", "7545"}, + {"2409:8a74:1000::/32", "9808"}, + {"2600:370f:5064::/46", "32261"}, + {"2620:0:1654::/48", "6984"}, + {"2804:588::/32", "53014"}, + {"2804:7918::/36", "271743"}, + {"2a00:1230::/29", "20902"}, + {"2402:800:3963::/43", "7552"}, + {"2408:8956:1800::/39", "17622"}, + {"2804:1d0::/32", "262770"}, + {"2a02:c180:1fff::/48", "701"}, + {"2a02:26f7:f648::/48", "36183"}, + {"2404:7f40::/48", "138645"}, + {"2602:ffbc:1::/48", "16628"}, + {"2800:160:783f::/32", "14259"}, + {"2c0f:f6d0:29::/46", "327687"}, + {"2001:67c:484::/48", "35044"}, + {"240e:67e:e200::/39", "140329"}, + {"2607:6b80:1::/46", "46562"}, + {"2607:ff58::/32", "40475"}, + {"2a02:9010:6d::/43", "3352"}, + {"2600:d05:4000::/30", "20161"}, + {"2607:ffd8::/38", "33333"}, + {"2a01:358:401c::/47", "9121"}, + {"2a09:1780::/34", "205718"}, + {"2a10:2f01:3df::/48", "134666"}, + {"2400:9380:9ac0::/44", "136167"}, + {"2620:bc:4000::/48", "394858"}, + {"2a07:6c0::/29", "62116"}, + {"2a0f:fa40::/29", "213162"}, + {"2600:1005:a020::/40", "22394"}, + {"2a09:be40:b200::/40", "34641"}, + {"2a09:e683:4::/48", "213143"}, + {"2a0b:f300:4::/37", "62240"}, + {"2001:559:c113::/48", "7922"}, + {"2a06:a8c0:1::/48", "29017"}, + {"2001:250:4418::/38", "23910"}, + {"2001:559:8093::/48", "7922"}, + {"2001:67c:2918::/48", "212034"}, + {"2001:df7:8380::/48", "131990"}, + {"2409:895a:83f0::/44", "9808"}, + {"2a09:4c0:2d01::/33", "58057"}, + {"240c:ca23::/32", "138371"}, + {"2606:8180::/32", "31769"}, + {"2804:2888:4000::/32", "263967"}, + {"2a11:8f00::/29", "60345"}, + {"2001:67c:12b4::/48", "200564"}, + {"2a00:12a8::/29", "6855"}, + {"2c0f:f400:10fe::/47", "3741"}, + {"240a:aa85::/32", "145343"}, + {"2001:559:87ff::/48", "33651"}, + {"2401:2d00:10::/48", "17625"}, + {"240e:13:803::/48", "140855"}, + {"2001:da8:a022::/48", "23910"}, + {"2400:8b00:c00::/42", "45727"}, + {"2401:1c00:3081::/41", "38809"}, + {"2409:40f3::/29", "55836"}, + {"2409:8080:2aaf::/48", "56040"}, + {"2a0c:a9c7:166::/48", "45029"}, + {"2401:300::/32", "4658"}, + {"2a05:3600::/29", "201290"}, + {"2a07:d881::/30", "43357"}, + {"2a11:9e00::/29", "204790"}, + {"2001:4370::/32", "36915"}, + {"2607:fdf8:1c1::/38", "13649"}, + {"2800:160:1cbc::/41", "14259"}, + {"2800:bf0:282a::/43", "52257"}, + {"2a02:26f7:e8::/48", "36183"}, + {"2a11:3980::/29", "34734"}, + {"2607:f740:14::/46", "36236"}, + {"2804:31b4::/32", "265032"}, + {"2a05:4140:181::/48", "211358"}, + {"2001:df4:ac00::/48", "134347"}, + {"2407:fe80:200::/32", "134749"}, + {"240e:67c:e600::/31", "4134"}, + {"2801:b8::/32", "52886"}, + {"2804:269c:fe45::/48", "47065"}, + {"2a03:5b00::/32", "202695"}, + {"240e:808::/27", "4134"}, + {"2600:6c21:41a::/40", "20115"}, + {"2620:113:8000::/41", "3680"}, + {"2804:84fc:900::/35", "272550"}, + {"2a03:9c40:600::/48", "34655"}, + {"2a07:a980::/32", "1764"}, + {"2a0a:a3c0::/40", "41955"}, + {"240e:f9:8000::/34", "134773"}, + {"2803:2180:8000::/33", "27941"}, + {"2804:1d48::/32", "264358"}, + {"2804:6e04::/35", "270570"}, + {"2804:3bc4::/32", "266169"}, + {"2400:8b00:1800::/42", "45727"}, + {"2607:f140::/32", "25"}, + {"2a02:26f7:b994::/48", "36183"}, + {"2604:4d40:3a00::/40", "213073"}, + {"2800:160:123e::/41", "14259"}, + {"2a00:1ca8:46::/43", "50673"}, + {"2a0b:86c3::/29", "202120"}, + {"2a10:a240::/29", "211694"}, + {"2c0f:f548::/32", "327963"}, + {"2803:9800:a898::/41", "11664"}, + {"2804:3acc::/32", "266110"}, + {"2804:7e48::/32", "271614"}, + {"2001:67c:6fc::/48", "29551"}, + {"2804:15c::/32", "11835"}, + {"2001:fb0:109f:14::/64", "36040"}, + {"2402:8100:20da::/45", "55644"}, + {"2406:4540::/32", "140464"}, + {"2001:559:7d6::/48", "33491"}, + {"2400:4e80:1001::/33", "131584"}, + {"2401:d800:d122::/41", "7552"}, + {"2404:3d00:40a5::/46", "3573"}, + {"2610:20:8020::/44", "40623"}, + {"2804:6918:5000::/32", "270248"}, + {"2a09:bac0:20::/46", "13335"}, + {"2001:559:c2b6::/48", "7016"}, + {"2401:8800:c06::/40", "17439"}, + {"2409:804c:900::/35", "9808"}, + {"2605:3380:ffff::/48", "12025"}, + {"2804:1ad8::/32", "52589"}, + {"2804:47a0::/35", "267066"}, + {"2001:559:c273::/48", "33287"}, + {"2001:678:780::/48", "201626"}, + {"2a01:7080:25::/46", "42848"}, + {"2001:9e8::/34", "8881"}, + {"2001:df2:8c80::/48", "137655"}, + {"2001:1b78::/32", "28855"}, + {"2404:3d00:4144::/47", "21433"}, + {"2404:c000:4004::/47", "55818"}, + {"2600:141b:9001::/36", "20940"}, + {"2600:40f0:a::/48", "7046"}, + {"2806:2f0:4723::/41", "17072"}, + {"2a00:5c60:e::/47", "43329"}, + {"2001:559:244::/48", "7016"}, + {"2001:df7:6400::/48", "134809"}, + {"2402:fa80::/32", "24516"}, + {"240a:a481::/32", "143803"}, + {"2600:3001:25::/46", "13649"}, + {"2604:af80:2048::/37", "18859"}, + {"2800:440:34::/47", "27738"}, + {"2a02:26f7:f90d::/42", "20940"}, + {"2402:a300:8000::/45", "55427"}, + {"240a:a00f::/32", "142665"}, + {"2600:1413:e000::/48", "24319"}, + {"2a04:ac00:4::/48", "201848"}, + {"2001:559:c2d6::/47", "7922"}, + {"2001:c38:4000::/36", "9931"}, + {"2404:8680:1000::/36", "135161"}, + {"240a:a38a::/32", "143556"}, + {"2804:4370::/32", "267570"}, + {"2a03:4940::/32", "3292"}, + {"2a0c:b641:170::/44", "211364"}, + {"2001:1248:5992::/42", "11172"}, + {"2800:160:116f::/43", "14259"}, + {"2804:66d8::/32", "269586"}, + {"2804:7260::/32", "52926"}, + {"2a02:888:52::/47", "48695"}, + {"2a04:e3c0::/29", "57736"}, + {"2a0a:7d80:f::/48", "6697"}, + {"2a00:1ce8::/32", "34525"}, + {"2001:678:d8::/48", "35407"}, + {"2001:978:3b00:3::/37", "174"}, + {"2001:1248:98b6::/48", "11172"}, + {"2405:84c0:faab::/41", "9886"}, + {"2406:2400:1000::/48", "45287"}, + {"2408:8456:6c00::/42", "17622"}, + {"2a06:9500:8::/29", "204028"}, + {"2001:67c:1270::/48", "20712"}, + {"2803:480:6::/32", "52458"}, + {"2a00:10a0:7::/44", "35745"}, + {"2a03:2880:f055::/44", "32934"}, + {"2a0b:bc7::/32", "39122"}, + {"2a0d:9b80:fe::/47", "43519"}, + {"2409:8019:4000::/32", "9808"}, + {"2600:1419:7c01::/38", "20940"}, + {"2806:2f0:7301::/46", "17072"}, + {"2a02:26f0:c200::/48", "34164"}, + {"2404:bf00:8000::/40", "9303"}, + {"2600:6c38:b76::/47", "20115"}, + {"2605:f500:10a::/43", "1828"}, + {"2800:160:1b8e::/43", "14259"}, + {"2001:67c:17a0::/48", "24929"}, + {"2409:8704:e300::/31", "24547"}, + {"2409:8904:e0b0::/39", "24547"}, + {"2409:8e44::/28", "24445"}, + {"2a00:f8c0::/32", "198288"}, + {"2001:579:f0bf::/41", "22773"}, + {"2001:1248:9a93::/42", "11172"}, + {"2001:1b70:82a3::/48", "158"}, + {"2603:c002:9610::/39", "31898"}, + {"2620:4e:2000::/48", "14694"}, + {"2800:160:1d52::/44", "14259"}, + {"2a03:5a00:3b::/48", "60299"}, + {"2001:13d0:1300::/31", "7303"}, + {"2806:105e:1::/48", "8151"}, + {"2001:678:60c::/48", "207608"}, + {"2001:67c:9c::/48", "35733"}, + {"2001:67c:8a4::/48", "210648"}, + {"2001:1a10:c2::/44", "8781"}, + {"2405:9800:7::/48", "45458"}, + {"2620:115:83::/41", "18888"}, + {"2800:e00::/34", "27665"}, + {"2801:80:17a1::/43", "61580"}, + {"2400:cb00:303::/45", "13335"}, + {"2403:89c0::/48", "55824"}, + {"240a:aa18::/32", "145234"}, + {"2604:b180:40::/44", "23278"}, + {"2800:2a0::/38", "27947"}, + {"2a01:b740:a80::/35", "714"}, + {"2a03:3600::/32", "49285"}, + {"2a05:d050:9040::/44", "16509"}, + {"2001:2001:6000::/40", "1759"}, + {"2402:800:929b::/42", "7552"}, + {"240a:ace0::/32", "145946"}, + {"2620:12d:400b::/45", "395853"}, + {"2806:230:2041::/48", "11888"}, + {"2001:1248:9aae::/43", "11172"}, + {"2401:d800:b940::/42", "7552"}, + {"2402:e280:2246::/44", "134674"}, + {"240a:ad9a::/32", "146132"}, + {"2801:1e:4800::/48", "269792"}, + {"2804:3da4:1100::/32", "266544"}, + {"2a00:1ba0:2::/48", "6720"}, + {"2a02:26f7:ad::/48", "20940"}, + {"2a02:26f7:c808::/48", "36183"}, + {"2a09:bac0:151::/44", "13335"}, + {"2001:df0:ab00::/48", "4739"}, + {"2402:800:3471::/44", "7552"}, + {"2406:da70:1000::/40", "16509"}, + {"240e:109:8022::/48", "58466"}, + {"2607:f6a0::/32", "11563"}, + {"2a01:7c8:f0::/46", "34762"}, + {"2a0e:8f02:212e::/47", "211635"}, + {"2409:8c70:3ab0::/44", "140105"}, + {"2804:1624:2000::/32", "263270"}, + {"2a0f:dc0::/29", "60262"}, + {"2001:559:8345::/48", "22258"}, + {"2001:559:83b2::/48", "33659"}, + {"2408:805d::/44", "17623"}, + {"2408:80f1:250::/40", "17621"}, + {"2605:7900:16::/44", "19133"}, + {"2804:34dc::/32", "265485"}, + {"2a02:888:143::/48", "47794"}, + {"2a02:ac80:e001::/35", "25145"}, + {"2a04:c442:8300::/36", "2534"}, + {"2001:559:83cf::/48", "7725"}, + {"2a01:3f0::/31", "8674"}, + {"2603:fa10::/26", "397165"}, + {"2803:c180:2210::/39", "52341"}, + {"2001:678:958::/48", "197069"}, + {"2804:1c24::/32", "28670"}, + {"2a02:26f7:f70c::/48", "36183"}, + {"2a0f:fa80::/29", "60262"}, + {"2001:559:84d2::/48", "33491"}, + {"240a:acce::/32", "145928"}, + {"2604:8ac0::/32", "35889"}, + {"2a03:5e00::/32", "203975"}, + {"2a0a:2306:f000::/45", "20853"}, + {"2001:559:354::/47", "7922"}, + {"2001:1401::/29", "9201"}, + {"2400:ee00:ffff::/48", "17962"}, + {"2605:a404:74a::/40", "33363"}, + {"2803:e360::/32", "264824"}, + {"2804:658::/32", "262578"}, + {"2804:1e08::/32", "264406"}, + {"2a02:26f7:6f::/48", "20940"}, + {"240a:abfa::/32", "145716"}, + {"2a01:5041:2002::/48", "202196"}, + {"2803:8920::/33", "266673"}, + {"2a02:26f7:d250::/48", "36183"}, + {"2404:4a00:6000:1::/37", "45629"}, + {"2405:c0:50::/48", "138881"}, + {"2620:10c:7009::/45", "2906"}, + {"2a02:88d:803f::/40", "47794"}, + {"2001:559:8384::/48", "33491"}, + {"2001:da8:901f::/36", "23910"}, + {"240e:5f:600f::/48", "134774"}, + {"2001:5a0:3f07::/33", "6453"}, + {"2408:8459:250::/37", "17816"}, + {"2600:380:e880::/41", "20057"}, + {"2600:1007:b150::/40", "22394"}, + {"2a09:5fc0::/29", "35360"}, + {"2a11:3a80::/29", "34734"}, + {"2001:559:85::/46", "7922"}, + {"2400:d8c0::/32", "38525"}, + {"2409:8d63::/28", "9808"}, + {"240e:6b0:1000::/32", "4134"}, + {"2a06:800::/40", "207257"}, + {"2001:559:8405::/48", "7725"}, + {"2001:bf0:c000::/35", "29670"}, + {"240a:ac30::/32", "145770"}, + {"240a:ad9d::/32", "146135"}, + {"2600:1fa0:4080::/41", "16509"}, + {"2801:80:35c0::/47", "269086"}, + {"2804:3e40:f400::/36", "266583"}, + {"2a0e:2240:3::/48", "1239"}, + {"2001:559:14b::/48", "33660"}, + {"2001:559:462::/48", "33652"}, + {"2403:300:1540::/36", "714"}, + {"240a:a7bf::/32", "144633"}, + {"240e:958:1000::/40", "142608"}, + {"2603:f870::/24", "397165"}, + {"2a0e:fd45:a00::/40", "44541"}, + {"2a0f:85c1:214::/48", "206751"}, + {"2001:1af8:4411::/32", "60781"}, + {"2403:27c0:c03::/48", "139866"}, + {"2406:7400:50::/44", "24309"}, + {"2409:8915:4e00::/39", "56044"}, + {"2a0f:ca84::/40", "208046"}, + {"2001:550:4a03::/37", "174"}, + {"2001:da8:2d03::/38", "23910"}, + {"2001:44b8:403c::/47", "7545"}, + {"2001:4b27:ffff::49/48", "34288"}, + {"240a:a77e::/32", "144568"}, + {"2603:c002:9f20::/34", "31898"}, + {"2804:37f0:3900::/33", "266445"}, + {"2a02:f406:fe90::/48", "206283"}, + {"2001:678:f08::/48", "202325"}, + {"2406:840:f900::/48", "139833"}, + {"2600:100a:f100::/44", "6167"}, + {"2a0e:8f02:20fa::/45", "212008"}, + {"2001:559:8074::/48", "7922"}, + {"2001:4160::/32", "8586"}, + {"2408:8956:400::/40", "17622"}, + {"2409:8d44::/28", "24445"}, + {"2408:8256:317f::/48", "17816"}, + {"2409:8924:af00::/35", "56046"}, + {"240a:a44e::/32", "143752"}, + {"2a02:26f7:f789::/46", "20940"}, + {"2a05:dfc7:7::/48", "61138"}, + {"2001:559:83e2::/48", "33660"}, + {"2404:ab00::/32", "132347"}, + {"2620:30:6000::/48", "14936"}, + {"2804:1be8::/32", "61756"}, + {"2a04:4e40:4600::/48", "54113"}, + {"2803:de80::/32", "262186"}, + {"2a0a:7540::/46", "206066"}, + {"2407:ef00:911::/42", "12422"}, + {"240a:aaa6::/32", "145376"}, + {"240e:14:8000::/36", "140329"}, + {"2620:1ec:a::/45", "8068"}, + {"2a01:5b0:7::/48", "8391"}, + {"2001:df1:3b80::/48", "139609"}, + {"2a02:26f7:e548::/48", "36183"}, + {"2a0b:7d80::/29", "59889"}, + {"2400:3080::/32", "55424"}, + {"2401:b0c0:a::/48", "136941"}, + {"2602:fc5d:c0a::/48", "399866"}, + {"2605:a404:85a::/40", "33363"}, + {"2001:df0:a180::/48", "135977"}, + {"2001:e20::/32", "17435"}, + {"2001:4d20::/33", "8569"}, + {"2400:c540:53::/48", "59238"}, + {"2406:4b00:b::/32", "132602"}, + {"2803:5ee0::/32", "269986"}, + {"2a00:ed20::/32", "64401"}, + {"2a03:42c0::/32", "50818"}, + {"2a0e:fd45:b30::/48", "42831"}, + {"2a10:4440::/29", "212693"}, + {"2001:559:85b3::/48", "7015"}, + {"2001:be8::/32", "13189"}, + {"2804:56b4:1000::/34", "268019"}, + {"2a01:b740:a10::/48", "6185"}, + {"2a02:2010:6002::/48", "20978"}, + {"2a02:e981:3d::/41", "19551"}, + {"2a01:ce83:8000::/35", "51964"}, + {"2c0f:fe28:e::/48", "36951"}, + {"2001:df5:fa80::/47", "141564"}, + {"240e:83::/37", "23724"}, + {"2600:6c38:18c::/43", "20115"}, + {"2806:230:2014::/48", "265594"}, + {"2a02:26f7:b9a9::/43", "20940"}, + {"2a02:26f7:d304::/48", "36183"}, + {"2a0e:b107:ef0::/44", "212129"}, + {"2407:5040::/38", "134715"}, + {"2408:84f3:3450::/44", "17816"}, + {"2602:fe90:700::/48", "35913"}, + {"2804:43bc::/32", "267587"}, + {"2a00:8e00:1::/48", "20712"}, + {"2a02:26f7:b681::/46", "20940"}, + {"2a02:2e02:3160::/43", "12479"}, + {"2404:f801:8020::/48", "45139"}, + {"240a:a6b1::/32", "144363"}, + {"2a00:1b70::/29", "39642"}, + {"2a0e:1d80::/47", "203523"}, + {"2400:6280:135::/48", "132280"}, + {"2405:f600:61::/48", "45117"}, + {"2a0e:b980::/29", "208644"}, + {"240a:af7f::/32", "146617"}, + {"2800:3b0:2000::/36", "263173"}, + {"2a01:ce90:9000::/34", "51964"}, + {"2a10:9100:5::/48", "267784"}, + {"2a10:fc80::/29", "47447"}, + {"2001:4b22::/64", "65505"}, + {"240e:978:8100::/31", "4134"}, + {"2804:72d4::/32", "270878"}, + {"2a01:190:3a::/39", "1764"}, + {"2001:559:c33e::/48", "7725"}, + {"2605:8300::/47", "33059"}, + {"2a02:26f7:bc40::/48", "36183"}, + {"2a0d:6600::/29", "39650"}, + {"2001:559:3e1::/48", "7015"}, + {"2604:11c0:200::/40", "395822"}, + {"2620:149:2::/43", "714"}, + {"2804:5d2c:2::/32", "268955"}, + {"2a00:1e88:c000::/34", "12389"}, + {"2a00:68c0::/32", "30781"}, + {"2406:e400:2::/32", "7642"}, + {"2408:8756:ea0::/41", "17622"}, + {"2a02:26f7:86::/48", "36183"}, + {"2a05:2a44:601::/46", "201411"}, + {"2a0f:9207:1::/42", "45009"}, + {"2402:e380:11f::/48", "139073"}, + {"240e:1c:c000::/31", "4134"}, + {"2a07:1980:16::/48", "25773"}, + {"2001:49f0:a06c::/43", "174"}, + {"2a02:26f7:bf0d::/42", "20940"}, + {"2001:559:84a9::/48", "7922"}, + {"2804:6e00::/32", "270569"}, + {"2806:2f0:61c3::/42", "17072"}, + {"2a02:26f7:ec50::/48", "36183"}, + {"2a0a:1c40::/29", "198024"}, + {"2406:daa0:e080::/44", "16509"}, + {"2408:8456:7440::/39", "17816"}, + {"2803:f9e0::/32", "270026"}, + {"2a02:2090:9800::/48", "47595"}, + {"2a02:f540::/30", "15692"}, + {"2610:1e8::/32", "11814"}, + {"2620:4e:4000::/48", "18472"}, + {"2406:2ac0::/32", "140736"}, + {"2407:a500::/39", "18356"}, + {"2408:8456:9210::/42", "134543"}, + {"240a:a45d::/32", "143767"}, + {"2803:280::/32", "52498"}, + {"2a01:5c0::/32", "42652"}, + {"2a03:7fc0::/32", "35717"}, + {"2001:559:82bf::/48", "33491"}, + {"2600:140f:600::/48", "55836"}, + {"2606:5200:c000::/36", "11115"}, + {"2600:370f:7080::/45", "32261"}, + {"2a00:79e1:f22::/40", "36384"}, + {"2a01:8840:5e::/42", "12041"}, + {"2a0f:9400:7708::/48", "20473"}, + {"240a:aca0::/32", "145882"}, + {"2a02:26f7:e609::/42", "20940"}, + {"240a:a9a1::/32", "145115"}, + {"2606:1980:7::/44", "54994"}, + {"2607:f220:41f::/48", "393689"}, + {"2804:9d4:2001::/35", "262996"}, + {"2804:bc4::/32", "52824"}, + {"2a00:1b58::/32", "50621"}, + {"2a0c:b641:200::/48", "209710"}, + {"2a0f:8641:b00c::/30", "25682"}, + {"2001:559:823b::/48", "7015"}, + {"2001:67c:2b3c::/48", "47127"}, + {"2400:9800:b010:1200::/33", "24203"}, + {"240e:44d:3380::/41", "4134"}, + {"2600:1002:9110::/36", "22394"}, + {"2620:1f:4000::/48", "14086"}, + {"2804:534::/37", "22177"}, + {"2804:2c7c::/32", "265222"}, + {"2806:250:24::/46", "28512"}, + {"2a04:e00:10::/46", "54103"}, + {"2a0d:2e00:2000::/48", "33932"}, + {"2001:57a:505::/46", "33438"}, + {"2400:e500:3b::/32", "38742"}, + {"2409:896a:1900::/38", "9808"}, + {"2606:2800:5a01::/48", "15133"}, + {"2a02:26f7:ca08::/48", "36183"}, + {"2a04:e080::/29", "201949"}, + {"2a09:bac0:216::/44", "13335"}, + {"240a:a158::/32", "142994"}, + {"2804:72a0::/32", "270865"}, + {"2806:20d:5224::/47", "32098"}, + {"2a02:26f7:c3d0::/48", "36183"}, + {"2001:559:860f::/43", "33667"}, + {"240c:c0a9:1000::/40", "4538"}, + {"2804:41f0::/32", "267467"}, + {"2a02:26f0:c4::/48", "34164"}, + {"2a05:7640:21c0::/38", "174"}, + {"240a:a4f8::/32", "143922"}, + {"2600:1004:b170::/40", "22394"}, + {"2600:1404:5::/48", "35994"}, + {"2604:7640::/32", "393796"}, + {"2804:14c:a782::/45", "28573"}, + {"2603:f2b0::/25", "397165"}, + {"2a0c:d0c0::/29", "48390"}, + {"2001:67c:14bc::/48", "44594"}, + {"2001:67c:2dd8::/48", "43351"}, + {"240a:a6bb::/32", "144373"}, + {"2804:161c::/43", "263268"}, + {"2804:36e4::/32", "266379"}, + {"2804:3908::/32", "266519"}, + {"2806:2f0:6241::/46", "17072"}, + {"2001:1418::/29", "12779"}, + {"2604:2900::/32", "16527"}, + {"2a07:1480::/29", "59626"}, + {"2001:1a11:155::/48", "42298"}, + {"2409:8055:301b::/45", "56040"}, + {"2602:fd5b::/36", "398280"}, + {"2a05:1084:2::/33", "59598"}, + {"2001:559:84b1::/48", "13367"}, + {"2001:67c:dc::/48", "50273"}, + {"2801:80:2350::/48", "267300"}, + {"2803:78a0::/32", "266815"}, + {"2804:37d0:8000::/33", "266437"}, + {"2a04:5380::/29", "202292"}, + {"2001:250:7023::/48", "24369"}, + {"2001:df4:1780::/48", "38074"}, + {"2403:300:a30::/48", "6185"}, + {"2a01:8600::/32", "8636"}, + {"2a02:26f0:127::/48", "20940"}, + {"2a0c:ed40::/29", "8888"}, + {"2001:6a8:a002::/35", "2611"}, + {"2620:112:9000::/44", "36225"}, + {"2804:b8c::/32", "52794"}, + {"2804:3d28:13::/32", "7063"}, + {"2a02:2010:22e0::/45", "20978"}, + {"2a12:c100::/29", "204790"}, + {"2607:f1c0:fe::/47", "15418"}, + {"2804:6604::/32", "269528"}, + {"2a04:2b00:13ee::/48", "201304"}, + {"2a0e:5f40::/29", "41529"}, + {"2a11:5840::/29", "18779"}, + {"2001:559:8156::/48", "7922"}, + {"240c:cd22:cd22::/48", "24357"}, + {"2a01:8840:f7::/48", "207266"}, + {"2a11:1d40::/47", "210937"}, + {"2804:3868:800::/37", "266475"}, + {"2804:637c::/32", "269364"}, + {"2804:70d0:c000::/34", "270750"}, + {"2a04:e00:107::/44", "39855"}, + {"2001:918:dedf::/34", "3303"}, + {"240a:a526::/32", "143968"}, + {"2600:1417:3800::/48", "24319"}, + {"2605:dd40:8213::/45", "398549"}, + {"2800:160:1e3a::/47", "14259"}, + {"2804:14d:cc85::/41", "28573"}, + {"2a00:7840::/32", "197403"}, + {"2a07:380::/29", "49596"}, + {"2001:470:68::/48", "12266"}, + {"2400:cb00:298::/47", "13335"}, + {"2405:5940::/32", "17473"}, + {"2a0d:df80::/31", "52091"}, + {"2a12:83c0::/29", "43202"}, + {"2001:550:8e03::/35", "174"}, + {"2001:df0:a6::/48", "55536"}, + {"2a01:600::/32", "25148"}, + {"2a07:e02:1000::/40", "210083"}, + {"2001:559:c28b::/48", "33650"}, + {"240e:bf:b900::/37", "134768"}, + {"2600:6c34:71::/48", "33588"}, + {"2607:fd08::/32", "36610"}, + {"2a01:c50e:f400::/36", "12479"}, + {"2a10:20c0::/29", "207265"}, + {"2a01:528::/32", "6775"}, + {"2a03:ae60:8::/32", "202847"}, + {"2a0f:9400:7386::/44", "53356"}, + {"2408:84f3:4410::/42", "134543"}, + {"240a:a131::/32", "142955"}, + {"2600:1000:b090::/42", "22394"}, + {"2803:5ce0:800::/40", "19114"}, + {"2803:aea0::/32", "18678"}, + {"2806:230:2021::/48", "11888"}, + {"2400:a980:1000::/40", "133517"}, + {"2406:da00:a000::/40", "16509"}, + {"2804:6458::/32", "269422"}, + {"2408:8956:1d40::/40", "17816"}, + {"2409:408c:2000::/32", "55836"}, + {"2804:382c::/32", "266462"}, + {"2400:a980:7100::/37", "133111"}, + {"2a02:26f7:e405::/46", "20940"}, + {"2a0a:8880:aaaa::/48", "50937"}, + {"2a0d:3e80::/29", "202914"}, + {"2001:559:8275::/48", "33650"}, + {"2001:ee0:cd40::/35", "45899"}, + {"2403:d600::/32", "4826"}, + {"240a:a5de::/32", "144152"}, + {"240e:978:3900::/40", "146966"}, + {"2620:d1:8000::/48", "36726"}, + {"2804:30ac::/32", "264968"}, + {"2a02:ac80:a1::/43", "25145"}, + {"2a0f:5701:3519::/45", "206499"}, + {"2001:1308::/32", "6400"}, + {"2408:8459:9c50::/38", "17816"}, + {"240a:aef2::/32", "146476"}, + {"2600:100f:b000::/42", "6167"}, + {"2602:ff93:1000::/36", "26968"}, + {"2a01:8840:4e::/43", "12041"}, + {"2a02:26f7:ee40::/48", "36183"}, + {"2a0c:9f40::/32", "41785"}, + {"2001:880::/32", "24973"}, + {"2402:800:62b7::/41", "7552"}, + {"240e:109:8045::/48", "58461"}, + {"240e:438:5c20::/43", "140647"}, + {"2607:fb58:f000::/46", "36086"}, + {"2a03:aa00:1001::/48", "204169"}, + {"2400:8500:3300::/48", "55907"}, + {"2804:14d:12fa::/45", "28573"}, + {"2804:6930::/34", "270254"}, + {"2a02:26f7:f1c4::/48", "36183"}, + {"2001:4490:f020::/46", "9829"}, + {"2604:bc40::/33", "22188"}, + {"2607:a500:9::/45", "12025"}, + {"2804:1aa8::/32", "61874"}, + {"2a00:4802:260::/44", "13124"}, + {"2a02:26f7:66::/48", "36183"}, + {"2a03:4bc0:1015::/48", "202687"}, + {"2001:559:74b::/48", "33657"}, + {"240a:a7d0::/32", "144650"}, + {"240e:3b7:5600::/34", "4134"}, + {"2001:250:4834::/48", "23910"}, + {"2001:678:340::/48", "206480"}, + {"2400:9bc0::/46", "55313"}, + {"2408:8256:3b8a::/48", "17623"}, + {"2600:6c38:70f::/43", "20115"}, + {"2603:c0ec:1000::/39", "54253"}, + {"2800:440:9400::/42", "27738"}, + {"2804:25b4::/32", "264297"}, + {"2a0a:3440::/29", "207092"}, + {"2a0a:e200:1300::/37", "33438"}, + {"2c0f:fb20::/32", "36925"}, + {"2400:f340:100::/47", "131746"}, + {"2600:1008:e000::/44", "6167"}, + {"2804:6630::/32", "269540"}, + {"2a01:8640:a::/48", "59711"}, + {"2001:559:150::/48", "13367"}, + {"2001:559:c210::/48", "33659"}, + {"2804:1b1c::/32", "61709"}, + {"2806:2f0:7201::/46", "17072"}, + {"2402:3180:3::/48", "141706"}, + {"2606:1980:15::/44", "54994"}, + {"2804:1be4::/32", "61755"}, + {"2804:5534::/37", "268696"}, + {"2a00:13f0::/32", "39662"}, + {"240a:a5e3::/32", "144157"}, + {"2600:1008:b0d0::/42", "6167"}, + {"2600:140f:3200::/48", "55644"}, + {"2620:13a:7000::/44", "5078"}, + {"2804:6310:1000::/37", "269336"}, + {"2a06:7100::/29", "48520"}, + {"2a0c:a300::/29", "44486"}, + {"2401:1c00::/34", "38809"}, + {"2402:800:5a1d::/42", "7552"}, + {"240a:aa2e::/32", "145256"}, + {"2800:160:204c::/47", "14259"}, + {"2806:20d:9100::/38", "32098"}, + {"2001:559:c153::/48", "33490"}, + {"240a:af22::/32", "146524"}, + {"2604:d9c0::/32", "36222"}, + {"2804:14c:6100::/40", "28573"}, + {"2a0c:e040:132::/35", "200629"}, + {"240e:104:8000::/33", "4134"}, + {"2607:f1d8::/40", "7795"}, + {"2a02:e981:60::/47", "19551"}, + {"2001:418:1::/48", "3130"}, + {"2001:559:84c4::/48", "33659"}, + {"2a00:1368::/32", "28933"}, + {"2a04:4e40:4630::/41", "54113"}, + {"2403:89c0:1::/46", "137661"}, + {"2804:6e30::/32", "270581"}, + {"2a10:5dc0::/32", "212033"}, + {"2604:4080::/32", "54858"}, + {"2804:109c::/32", "262854"}, + {"2a02:26f7:e14c::/48", "36183"}, + {"2a11:1bc0::/32", "59639"}, + {"2407:e500::/46", "17929"}, + {"240e:60c:6000::/36", "137688"}, + {"2a04:4e40:5420::/44", "54113"}, + {"2a06:3fc0::/29", "42344"}, + {"2001:253:139::/48", "142105"}, + {"2001:8b0:2::/35", "20712"}, + {"2a0c:4300:90::/41", "43722"}, + {"2605:3c80:e00::/41", "36180"}, + {"2804:802c::/39", "271734"}, + {"2806:2f0:9723::/41", "17072"}, + {"2a04:1000::/29", "61001"}, + {"2a10:8c00::/32", "20473"}, + {"2605:c780::/32", "30674"}, + {"2a02:26f7:bf45::/46", "20940"}, + {"2001:678:91c::/48", "206671"}, + {"2001:df3:f380::/48", "140718"}, + {"2001:e60:a018::/42", "4766"}, + {"2401:d800:dc30::/41", "7552"}, + {"2402:6000::/32", "9790"}, + {"2406:57c0:2130::/48", "134672"}, + {"240a:a1f1::/32", "143147"}, + {"240e:44d:4880::/41", "4134"}, + {"2001:67c:17f0::/48", "702"}, + {"2001:67c:2574::/48", "25148"}, + {"2001:df4:2c80::/48", "140896"}, + {"2a07:da80::/29", "209372"}, + {"2a10:7a40::/47", "39910"}, + {"2001:67c:2d04::/48", "198463"}, + {"2408:8957:7300::/40", "17816"}, + {"2409:8070:30e9::/48", "9808"}, + {"2408:8456:e640::/36", "17816"}, + {"2600:1406:4::/44", "20940"}, + {"2620:134:c000::/48", "394887"}, + {"2804:c00:a100::/38", "52655"}, + {"2804:1084::/32", "52847"}, + {"2804:68ac:8000::/33", "269708"}, + {"2a04:8880::/31", "52102"}, + {"2406:daa0:1080::/44", "16509"}, + {"2600:c0a::/32", "12180"}, + {"2608:149:b::/48", "27064"}, + {"2a03:2f80::/32", "197308"}, + {"2a07:cc80::/29", "42908"}, + {"2001:250:781e::/47", "24372"}, + {"2001:559:80d2::/48", "7015"}, + {"2400:9380:8fc0::/44", "136167"}, + {"2408:8456:1400::/42", "17622"}, + {"240a:a1f0::/32", "143146"}, + {"240e:965:5000::/37", "58772"}, + {"2600:1415:2801::/37", "20940"}, + {"2a0c:a9c7:240::/48", "42139"}, + {"2001:559:51c::/48", "33657"}, + {"2001:559:8137::/48", "33660"}, + {"240a:a030::/32", "142698"}, + {"2600:9000:223c::/41", "16509"}, + {"2604:6e00:2000::/37", "13977"}, + {"2804:3024::/32", "264932"}, + {"2804:79b8::/32", "271323"}, + {"2806:2f0:9bc1::/46", "17072"}, + {"2001:559:8194::/48", "22909"}, + {"2405:4f00::/32", "132432"}, + {"2800:370:c004::/40", "28006"}, + {"2803:2040::/32", "28050"}, + {"2804:3d0c::/32", "266250"}, + {"2402:800:5301::/44", "7552"}, + {"240a:a265::/32", "143263"}, + {"240a:abb8::/32", "145650"}, + {"2801:80:1bf0::/48", "52608"}, + {"2a05:b9c0::/29", "201057"}, + {"2405:b40:23::/44", "55674"}, + {"2409:8057:2060::/35", "56040"}, + {"240a:ab13::/32", "145485"}, + {"2804:14c:de00::/41", "28573"}, + {"2804:37f0:6100::/36", "266445"}, + {"2804:6fe8::/32", "270692"}, + {"2a00:da60::/32", "25581"}, + {"2a0d:ce00::/29", "200428"}, + {"2001:4408:7900::/38", "4758"}, + {"240a:a8cb::/32", "144901"}, + {"2a00:1e88:5::/46", "12389"}, + {"2a04:2e80:19::/48", "62351"}, + {"2a0c:9a40:c004::/36", "209022"}, + {"2001:67c:2d50::/48", "201173"}, + {"2001:18e0::/32", "6062"}, + {"2409:4073:5000::/24", "55836"}, + {"2600:1403:12::/45", "20940"}, + {"2804:22dc::/32", "264127"}, + {"2001:559:43f::/41", "33287"}, + {"2001:df1:e300::/48", "132402"}, + {"2409:8915:2900::/40", "56044"}, + {"240a:ac2c::/32", "145766"}, + {"2a00:4c40:2000::/36", "197965"}, + {"2a02:e70::/39", "33965"}, + {"2001:559:8b::/45", "33667"}, + {"2a00:89e0::/32", "198024"}, + {"2a02:26f0:6001::/39", "20940"}, + {"2a02:26f7:c7ca::/42", "20940"}, + {"2001:678:2d8::/48", "39285"}, + {"2600:1410:6001::/35", "20940"}, + {"2800:a30:6a6::/35", "262187"}, + {"2001:500:96::/48", "15135"}, + {"2001:559:5c0::/48", "22909"}, + {"2001:16d8::/41", "16150"}, + {"2001:4c00::/32", "34695"}, + {"2404:f4c0:ea00::/47", "140731"}, + {"2800:200:bc10::/39", "12252"}, + {"2801:80:12d0::/48", "263892"}, + {"2804:2784:d000::/34", "263906"}, + {"2a06:1c80::/31", "60011"}, + {"2a0d:9a00::/32", "39401"}, + {"2001:550:1404::/38", "174"}, + {"2402:800:3301::/44", "7552"}, + {"2407:8c00:ffe1::/48", "131317"}, + {"240a:a64e::/32", "144264"}, + {"2602:ffa6:303::/40", "62731"}, + {"2a00:f2a0::/32", "12555"}, + {"2a02:26f7:f18c::/48", "36183"}, + {"2a07:3500:1240::/46", "33915"}, + {"2a11:29c7:b00b::/48", "212149"}, + {"2409:896a:3400::/39", "9808"}, + {"240e:978:2a00::/37", "4134"}, + {"2607:f358:16::/42", "18779"}, + {"2a06:e881:1800::/48", "206885"}, + {"2a0a:2100::/29", "199624"}, + {"2001:559:533::/48", "33287"}, + {"240e:3b8:7a00::/32", "140313"}, + {"2600:1004:9110::/36", "22394"}, + {"2605:4400:2::/45", "40715"}, + {"2001:250:400::/48", "55826"}, + {"2600:1488:a401::/42", "20940"}, + {"2602:fe62::/36", "394356"}, + {"2620:11d:5000::/46", "393732"}, + {"2804:125c::/32", "263472"}, + {"2a01:590::/32", "8492"}, + {"2a03:c80::/32", "8829"}, + {"2a07:3480::/29", "47759"}, + {"2001:559:169::/48", "7016"}, + {"2001:678:c30::/48", "39591"}, + {"2001:67c:1bfc::/48", "3264"}, + {"2001:df7:1000::/48", "59216"}, + {"2001:43fd::/48", "327811"}, + {"240e:965:ec00::/35", "4134"}, + {"2604:5b80::/32", "22898"}, + {"2a10:cc42:1200::/40", "20473"}, + {"2001:67c:2a68::/48", "198944"}, + {"2804:dd4:4100::/32", "53024"}, + {"2a01:b740:a1a::/48", "6185"}, + {"2a02:2e02:a60::/40", "12479"}, + {"2a0a:e5c3::/32", "207996"}, + {"2a11:7e04::/32", "61424"}, + {"2c0f:f158::/32", "328220"}, + {"2001:559:39b::/45", "7922"}, + {"2408:8957:e200::/40", "17622"}, + {"2607:e580::/32", "36601"}, + {"2804:958::/32", "263077"}, + {"2a02:26f7:f501::/46", "20940"}, + {"2a03:c980:db::/48", "210079"}, + {"2a0e:b107:1901::/48", "207111"}, + {"2a10:2880::/32", "51968"}, + {"2404:1f00:9000::/33", "55947"}, + {"2404:3d00:4124::/46", "21433"}, + {"2803:5c80:6591::/48", "64114"}, + {"2403:0:119::/46", "4755"}, + {"2408:840c:5400::/40", "17621"}, + {"240e:13:802::/48", "140854"}, + {"2a02:26f7:eb::/48", "20940"}, + {"2a02:26f7:bc89::/42", "20940"}, + {"2001:da8:304f::/48", "23910"}, + {"2001:df5:6400::/48", "55380"}, + {"240a:a700::/32", "144442"}, + {"240a:afc0::/32", "146682"}, + {"2604:b3c0::/40", "53989"}, + {"2803:5700:8000::/33", "28024"}, + {"2001:550:90a::/48", "32489"}, + {"2600:7402::/28", "29933"}, + {"2a01:5b0:5::/46", "50611"}, + {"2a02:2090:a800::/48", "47595"}, + {"2a04:280::/29", "28917"}, + {"2001:470:bd::/48", "16621"}, + {"2001:df0:8a80::/48", "139250"}, + {"2605:a408::/41", "33363"}, + {"2804:65ec::/32", "269523"}, + {"2a01:6bc0::/32", "50061"}, + {"2a0a:fc40::/29", "29075"}, + {"2001:4c8:10ff::/39", "15290"}, + {"2001:c38:20f9::/36", "9335"}, + {"2401:d800:bf50::/42", "7552"}, + {"2407:f800:800::/40", "38182"}, + {"2408:8656:2f00::/35", "17816"}, + {"2001:4490:7400::/46", "9829"}, + {"2605:1b80::/32", "26153"}, + {"2a02:26f0:fb01::/37", "20940"}, + {"2a0b:b86:fe03::/48", "205749"}, + {"240a:ad5b::/32", "146069"}, + {"2606:ae00:6dd0::/35", "7287"}, + {"2607:8280:5::/32", "27027"}, + {"240a:abf4::/32", "145710"}, + {"2606:5e80:ff01::/28", "22379"}, + {"2620:96:c000::/48", "399932"}, + {"2a00:c4e0::/32", "200133"}, + {"2a04:a980::/29", "206833"}, + {"2001:4060:4052::/48", "197439"}, + {"2405:8a00:a01e::/42", "55824"}, + {"2409:804b:2a00::/39", "24445"}, + {"240e:96b:6024::/46", "140376"}, + {"2001:550:7206::/37", "174"}, + {"2001:1a98::/29", "6677"}, + {"240a:ad69::/32", "146083"}, + {"2600:1405:b001::/33", "20940"}, + {"2604:5c40::/32", "14078"}, + {"2a02:16c0::/29", "56402"}, + {"2600:1014:b1f0::/33", "22394"}, + {"2606:b400:8024::/48", "1216"}, + {"2607:4d00::/35", "33260"}, + {"2a0b:4d07:901::/48", "44239"}, + {"2a0d:f740::/32", "43182"}, + {"2408:8756:2d00::/35", "17816"}, + {"2600:140f:5001::/39", "20940"}, + {"2620:119:5004::/47", "13443"}, + {"2804:284c::/33", "263954"}, + {"2001:648::/35", "5408"}, + {"2620:1e0:111::/46", "10801"}, + {"2806:2f0:364::/43", "17072"}, + {"2a00:ad44:3084::/48", "199875"}, + {"2a0f:f640::/48", "12731"}, + {"2409:8e1e::/31", "24400"}, + {"240a:a94e::/32", "145032"}, + {"240e:438:9c40::/38", "4134"}, + {"2a07:3440::/29", "201873"}, + {"2001:250:7036::/37", "23910"}, + {"2001:559:8319::/48", "33652"}, + {"2001:4408:5241::/43", "4758"}, + {"2404:bf40:f200::/47", "7545"}, + {"2600:1017:b8d0::/44", "22394"}, + {"2600:1f01:48d0::/46", "16509"}, + {"2607:f388::/32", "59"}, + {"2804:3784::/34", "53121"}, + {"2a06:1ec7::/32", "49832"}, + {"2001:678:9e8::/48", "208447"}, + {"2610:b0::/34", "3573"}, + {"2605:b40:f0c1::/36", "397142"}, + {"2408:8256:2e87::/43", "17623"}, + {"2804:14d:800::/40", "28573"}, + {"2804:1f4a::/32", "271354"}, + {"2a05:2d00::/32", "62217"}, + {"2001:559:834a::/47", "7016"}, + {"2001:df0:13::/48", "38244"}, + {"2001:4878:4055::/48", "35994"}, + {"2404:8c00::/32", "3605"}, + {"2408:8957:5300::/40", "17816"}, + {"2804:298::/34", "53087"}, + {"2804:6c84::/32", "270473"}, + {"2001:559:c43b::/45", "33651"}, + {"2001:579:40d8::/42", "22773"}, + {"2001:678:458::/48", "8422"}, + {"2408:8456:4810::/42", "134543"}, + {"2409:8904:55b0::/38", "24547"}, + {"240e:44d:5180::/41", "4134"}, + {"2804:336c::/32", "265395"}, + {"2a00:86c0:ff0b::/40", "2906"}, + {"2001:250:e0d::/48", "23910"}, + {"2401:4900:2e80::/43", "45609"}, + {"2403:8600:80e0::/43", "45820"}, + {"2409:8720::/32", "56046"}, + {"2804:3690::/32", "266356"}, + {"2a00:41c0::/32", "48971"}, + {"2a09:4c0:304::/47", "58057"}, + {"2001:559:86b5::/48", "7016"}, + {"2409:8004:3900::/31", "24547"}, + {"240a:a423::/32", "143709"}, + {"2804:2ef0::/32", "264862"}, + {"2a00:5400:f000::/45", "43766"}, + {"2001:67c:2188::/48", "197500"}, + {"2408:8956:8d00::/40", "17816"}, + {"2a02:26f7:f808::/48", "36183"}, + {"2001:678:3e0::/48", "42718"}, + {"2804:1048::/32", "263628"}, + {"2a01:5041:b::/45", "202196"}, + {"2a02:ac80:f1::/39", "25145"}, + {"2a09:aac0::/29", "209289"}, + {"2a09:bac0:63::/45", "13335"}, + {"2a0d:3842:1220::/48", "57629"}, + {"2408:8459:4410::/42", "17623"}, + {"240e:2e:8000::/25", "4134"}, + {"2800:580::/32", "27695"}, + {"2804:4130::/32", "266009"}, + {"2a02:26f0:2101::/37", "20940"}, + {"2a0a:59c7:1000::/45", "204724"}, + {"2800:d302:a::/43", "11830"}, + {"2a05:b500:53::/48", "39176"}, + {"2a0c:b641:76a::/48", "207292"}, + {"2a0d:1ac3::/32", "44050"}, + {"240a:a30e::/32", "143432"}, + {"2605:7900:100::/48", "19133"}, + {"2804:7808::/32", "271216"}, + {"2001:559:8261::/48", "33651"}, + {"2001:13c7:600e::/48", "52374"}, + {"2406:7400:c0::/45", "24309"}, + {"2804:768::/36", "52977"}, + {"2804:78ec::/32", "271274"}, + {"2a0f:85c1:70::/44", "209267"}, + {"2001:559:53d::/48", "33491"}, + {"2001:67c:1030::/48", "3257"}, + {"2001:4350:fff0::/44", "2609"}, + {"2606:ca00:408::/32", "14537"}, + {"2607:fa48::/39", "5769"}, + {"2803:5960::/32", "269743"}, + {"2a02:26f7:f6c9::/46", "20940"}, + {"2a03:e280::/32", "60781"}, + {"2001:16a2:c290::/42", "39386"}, + {"2a03:5880::/39", "12757"}, + {"2001:559:82d3::/48", "33650"}, + {"2001:67c:2120::/48", "31710"}, + {"2a01:758:8308::/33", "3326"}, + {"2a02:26f7:f845::/46", "20940"}, + {"2001:503:39c1::/48", "397197"}, + {"2402:7400::/34", "38883"}, + {"2404:5780::/47", "9558"}, + {"2804:4be0::/32", "267334"}, + {"2a0b:6000::/29", "60721"}, + {"2404:f380::/46", "38614"}, + {"2804:2554::/32", "264274"}, + {"2a02:26f7:ec89::/46", "20940"}, + {"2a03:41e0::/32", "201510"}, + {"2a03:6bc0::/29", "43439"}, + {"2409:8080:3825::/29", "9808"}, + {"240a:aafe::/32", "145464"}, + {"2604:9980:230::/48", "17216"}, + {"2804:14c:fc88::/46", "28573"}, + {"2804:5f5c::/32", "269094"}, + {"2001:250:680d::/48", "24368"}, + {"2001:67c:68::/48", "24971"}, + {"2001:c20:4888::/46", "3758"}, + {"240a:a53b::/32", "143989"}, + {"2a02:998::/32", "9197"}, + {"2a0f:85c1:212::/48", "207529"}, + {"2a10:ba80::/29", "211360"}, + {"2408:8956:3d00::/40", "17816"}, + {"2610:a1:2016::/48", "19905"}, + {"2803:d8c0::/40", "264787"}, + {"2402:800:95a9::/43", "7552"}, + {"2607:f778:c300::/34", "32035"}, + {"2a02:26f7:f8c1::/46", "20940"}, + {"2a09:f9c0::/29", "211626"}, + {"2001:4878:2062::/47", "12222"}, + {"2620:132:f181::/38", "394977"}, + {"2804:436c::/32", "267569"}, + {"2a02:26f7:f309::/42", "20940"}, + {"2001:559:8284::/48", "22909"}, + {"2001:559:c12e::/48", "7015"}, + {"2001:678:ac8::/48", "47988"}, + {"2001:16a2:c370::/40", "39386"}, + {"2404:2800::/32", "9942"}, + {"2001:559:c3da::/48", "33659"}, + {"2407:a740:8::/48", "38852"}, + {"240a:ad01::/32", "145979"}, + {"240e:40:14::/48", "139767"}, + {"240e:45c:9500::/40", "140534"}, + {"2602:feda:b42::/45", "142130"}, + {"2402:800:560f::/43", "7552"}, + {"2402:800:b5f0::/38", "7552"}, + {"2405:6600:70a::/36", "45845"}, + {"2803:7820:8000::/45", "267708"}, + {"2804:a1c::/32", "262727"}, + {"2402:1::/36", "10197"}, + {"2402:3a80:1c38::/47", "38266"}, + {"2804:549c::/32", "268661"}, + {"2001:579:b849::/45", "22773"}, + {"2402:800:79a0::/41", "7552"}, + {"240e:3be:7800::/39", "4134"}, + {"2801:80:35a0::/48", "269045"}, + {"2806:2f0:9463::/43", "17072"}, + {"2a07:dc00:1330::/44", "14627"}, + {"2a0d:b201:5030::/41", "206026"}, + {"2406:e6c0::/48", "140766"}, + {"2408:8459:7a30::/41", "17622"}, + {"2604:4540::/32", "88"}, + {"2806:230:1007::/48", "11888"}, + {"2a02:26f7:f5::/46", "20940"}, + {"2001:559:c0c6::/48", "33657"}, + {"240e:67d:e400::/39", "140330"}, + {"2800:bf0:3703::/42", "27947"}, + {"2804:6e08::/32", "270571"}, + {"2a0f:ca87:5::/48", "208333"}, + {"2600:370f:340b::/45", "32261"}, + {"2603:4:1204::/48", "44273"}, + {"2804:904::/32", "263046"}, + {"240a:aa84::/32", "145342"}, + {"2604:f400:12::/48", "18923"}, + {"2607:f740:e608::/48", "63911"}, + {"2a0a:4180::/48", "57724"}, + {"2001:4818:5000::/36", "30715"}, + {"2001:48c8:16::/47", "29791"}, + {"2402:800:39d3::/44", "7552"}, + {"2605:3b80:cad::/48", "9009"}, + {"2800:4d0:2485::/44", "52489"}, + {"2001:67c:380::/48", "41599"}, + {"2001:67c:1110::/47", "21406"}, + {"2001:e60:a028::/38", "4766"}, + {"2001:4350:e009::/35", "2609"}, + {"2600:140f:1a00::/48", "9498"}, + {"2a00:1248:e283::/35", "3216"}, + {"2a01:5041:4000::/48", "202196"}, + {"2a0c:9a40:8110::/46", "204438"}, + {"2001:559:c2a6::/48", "33659"}, + {"2001:da8:a9::/48", "24370"}, + {"2408:80c2::/33", "4837"}, + {"2a07:aa00:3::/45", "3549"}, + {"2a0e:aa07:f094::/44", "208884"}, + {"2401:8ac0:100::/48", "4671"}, + {"2a02:2518:12::/29", "28917"}, + {"2a11:1280::/29", "56485"}, + {"2401:d800:2d82::/42", "7552"}, + {"2804:75ac::/32", "271062"}, + {"2a0b:a840::/32", "206894"}, + {"2400:9800:6028::/32", "24203"}, + {"2409:8924:1500::/38", "56046"}, + {"2606:2800:4212::/48", "15133"}, + {"2607:fb91:1a00::/37", "21928"}, + {"2620:117:7000::/47", "26955"}, + {"2404:5440::/44", "56272"}, + {"2804:1b3:8080::/35", "18881"}, + {"2a00:1860::/32", "35369"}, + {"2401:d800:b390::/42", "7552"}, + {"2001:559:578::/48", "7016"}, + {"2001:559:83f7::/48", "33650"}, + {"2001:fb0:109f:8015::/42", "7470"}, + {"2402:800:62a0::/44", "7552"}, + {"2402:7280:cfa2::/48", "46014"}, + {"240e:788::/29", "4812"}, + {"2a02:26f0:6300::/48", "34164"}, + {"2a0a:1f40::/32", "209372"}, + {"2001:13c7:7012::/48", "52224"}, + {"2409:8070:30ea::/47", "140105"}, + {"240a:a52b::/32", "143973"}, + {"2801:80:3990::/48", "270807"}, + {"2804:a00:12::/36", "262838"}, + {"2001:559:4e7::/48", "33651"}, + {"2408:8459:1e50::/39", "17816"}, + {"2620:1f:8002::/48", "10908"}, + {"2a0c:2e00::/29", "56708"}, + {"2c0f:eaa8::/32", "37540"}, + {"2401:fc0::/32", "136523"}, + {"240a:ac8c::/32", "145862"}, + {"2607:a400::/45", "21859"}, + {"2804:2a8c::/32", "264078"}, + {"2a02:1688::/32", "48362"}, + {"2a0f:f940::/29", "62412"}, + {"240a:aa9a::/32", "145364"}, + {"240e:44d:6e00::/42", "140345"}, + {"2a0f:ca85:11::/48", "207616"}, + {"2c0f:f0b0:1100::/48", "37069"}, + {"2001:559:8475::/48", "7922"}, + {"2409:805a:2903::/31", "56040"}, + {"240a:a2bf::/32", "143353"}, + {"2604:f940:7::/32", "397134"}, + {"2600:100f:d040::/34", "22394"}, + {"2606:a700:2000::/32", "17378"}, + {"2801:164::/40", "27951"}, + {"2804:3d84::/32", "266536"}, + {"2804:4bd8::/40", "267332"}, + {"2804:5bd0::/32", "268870"}, + {"2a02:420::/29", "38927"}, + {"2a02:26f7:61::/48", "20940"}, + {"2001:559:808d::/48", "7016"}, + {"240e:3bf:4c00::/35", "136200"}, + {"2600:1001:d060::/40", "22394"}, + {"2606:ed00:2::/47", "47869"}, + {"2a03:8520:1206::/48", "200981"}, + {"2001:df6:180:8100::/49", "141731"}, + {"2804:1a54::/34", "61854"}, + {"2a0e:b107:14c2::/44", "211042"}, + {"2001:559:c11c::/46", "7922"}, + {"2600:140f:4200::/48", "9498"}, + {"2804:4cac::/32", "267384"}, + {"2a0c:b641:c0::/44", "212201"}, + {"240e:56:c800::/31", "4134"}, + {"2804:910::/32", "53075"}, + {"2804:1918:180::/46", "52862"}, + {"2806:2f0:4801::/35", "17072"}, + {"2001:44b8:30ef::/43", "7545"}, + {"2804:3bc::/32", "28624"}, + {"2c0f:ebd0::/34", "328608"}, + {"2402:ab00::/40", "24206"}, + {"240a:aa80::/32", "145338"}, + {"2600:6c38:a56::/44", "20115"}, + {"2600:7f00::/28", "6465"}, + {"2a00:f28:3000::/29", "15802"}, + {"2a02:26f7:becd::/46", "20940"}, + {"2804:293c::/32", "264005"}, + {"2001:480:1671::/32", "668"}, + {"2001:fd0:1201::/39", "10029"}, + {"2402:800:b9d2::/38", "7552"}, + {"240e:109:8024::/48", "134768"}, + {"2804:6fc4::/32", "270683"}, + {"2a02:970:1069::/39", "44002"}, + {"2406:840:e666::/47", "211843"}, + {"2600:370f:7088::/42", "32261"}, + {"2a02:26f0:a0::/47", "20940"}, + {"2a09:7:2002::/48", "57969"}, + {"2a0b:8f80:100::/45", "29290"}, + {"2a02:26f7:c350::/47", "36183"}, + {"2600:1402:3::/48", "35994"}, + {"2804:8128::/32", "272436"}, + {"2a02:26f7:f549::/46", "20940"}, + {"2001:250:5865::/48", "24363"}, + {"2001:559:7b::/45", "7922"}, + {"2408:8779:4000::/32", "4837"}, + {"240a:a4f4::/32", "143918"}, + {"240a:a82c::/32", "144742"}, + {"2804:1810::/34", "263262"}, + {"2804:1954::/32", "61787"}, + {"2a07:7400::/29", "203964"}, + {"2001:c20:48aa::/47", "9255"}, + {"2001:1900:221a::/45", "3356"}, + {"2604:2680:10::/47", "2386"}, + {"2604:fac0::/30", "398481"}, + {"2605:3e00::/32", "13706"}, + {"2804:774c::/32", "271169"}, + {"2a12:b200::/29", "44592"}, + {"2402:4000:c002::/34", "18001"}, + {"240a:ab02::/32", "145468"}, + {"240a:ad8f::/32", "146121"}, + {"2804:108c:c500::/35", "28146"}, + {"2a0e:b102:12f::/48", "20473"}, + {"2001:470:142::/48", "22989"}, + {"2001:550:4102::/38", "174"}, + {"2001:67c:1a8::/48", "1200"}, + {"2001:67c:2244:8000::/49", "50448"}, + {"2001:df0:fc00::/47", "59173"}, + {"2001:fd8:b270::/44", "4775"}, + {"240a:a589::/32", "144067"}, + {"2800:c30:ad00::/40", "265705"}, + {"2804:6e54::/32", "270589"}, + {"2408:8956:ba00::/40", "17622"}, + {"240d:c010:69::/48", "139341"}, + {"2806:230:600d::/48", "11888"}, + {"2a00:f320::/48", "24586"}, + {"2a02:26f7:e8c9::/46", "20940"}, + {"2a11:e080::/29", "204790"}, + {"2001:559:83a5::/48", "33652"}, + {"2401:d800:9f70::/40", "7552"}, + {"2406:3000:32::/45", "4657"}, + {"240e:40:15::/32", "4134"}, + {"240e:44d:6680::/41", "4134"}, + {"2600:6c38:87d::/40", "20115"}, + {"2607:fe28:20b1::/41", "53347"}, + {"2a02:4ba::/32", "200271"}, + {"2a04:12c0::/48", "48749"}, + {"2604:8280::/32", "27618"}, + {"2806:370:5600::/40", "28403"}, + {"2a09:1e80::/29", "21769"}, + {"2001:1900:2812::/45", "3356"}, + {"2408:8459:6c30::/41", "17622"}, + {"2409:8924:b900::/38", "56046"}, + {"2a02:970:1249::/40", "44002"}, + {"2a02:26f0:db01::/40", "20940"}, + {"2a02:26f0:dd01::/38", "20940"}, + {"2a02:26f7:bf::/48", "20940"}, + {"2001:4408:5d00::/38", "4758"}, + {"2401:4900:1c36::/44", "24560"}, + {"2604:880:231::/41", "29802"}, + {"2604:8540:fcc0::/48", "33353"}, + {"2606:4700:2::/43", "13335"}, + {"2a07:80c0::/29", "202829"}, + {"2a0b:f300::/46", "62240"}, + {"2a0c:b641:610::/47", "208505"}, + {"2a0e:5cc0::/29", "43282"}, + {"2001:559:8233::/48", "7015"}, + {"2001:559:c038::/48", "7922"}, + {"2001:67c:2108::/48", "41446"}, + {"2606:740::/32", "7018"}, + {"2803:5440:4050::/47", "264738"}, + {"2a00:1030::/32", "24956"}, + {"2a01:4f0::/33", "28717"}, + {"2405:8a00:a053::/45", "55824"}, + {"2607:f740:e60c::/48", "63911"}, + {"2804:2e1c:e503::/45", "265324"}, + {"2001:67c:1b70::/48", "2488"}, + {"2001:44b8:6030::/46", "7545"}, + {"240c:cec1::/32", "138440"}, + {"2600:370f:740a::/42", "32261"}, + {"2a00:1bc8::/32", "50554"}, + {"2a06:e881:3200::/44", "31798"}, + {"2a0a:c3c0::/29", "208861"}, + {"2001:559:86bd::/48", "7016"}, + {"2001:678:b60::/48", "12496"}, + {"2001:df6:e500::/47", "18030"}, + {"2402:800:31e0::/44", "7552"}, + {"240a:ad2c::/32", "146022"}, + {"2001:1b70:83::/48", "32094"}, + {"2408:8256:3195::/48", "17623"}, + {"240a:ac8d::/32", "145863"}, + {"2804:5d20::/32", "268952"}, + {"2a04:e4c4:1::/45", "36692"}, + {"2401:7b40:4300::/44", "38071"}, + {"2405:1500:b1::/32", "58717"}, + {"2408:8000:a019::/45", "4837"}, + {"240a:af5e::/32", "146584"}, + {"2804:1b28::/32", "61712"}, + {"2a02:f48:2000::/40", "50613"}, + {"2001:559:819d::/48", "7922"}, + {"2001:14a0::/32", "15879"}, + {"2406:b400:f9::/48", "18209"}, + {"240a:a565::/32", "144031"}, + {"2600:100d:b070::/40", "22394"}, + {"2a04:ac00:2::/48", "203004"}, + {"2402:8100:2420::/43", "55644"}, + {"240e:3b7:f700::/36", "4134"}, + {"2600:6c38:c6::/47", "20115"}, + {"2409:8054:60::/48", "9808"}, + {"2a03:f080:1800::/48", "47515"}, + {"2001:df7:480a::/48", "131893"}, + {"2600:1406:4801::/37", "20940"}, + {"2603:c000:1f00::/34", "31898"}, + {"2800:160:1547::/44", "14259"}, + {"2801:1e0::/41", "27875"}, + {"2803:7bc0:4000::/32", "265761"}, + {"2a09:3d00::/32", "210625"}, + {"2a0d:b201:3060::/43", "206026"}, + {"2001:1248:55ff::/38", "11172"}, + {"2001:44b8:205c::/48", "7545"}, + {"2402:800:511d::/42", "7552"}, + {"2407:e700::/43", "132680"}, + {"2408:8256:3d6b::/48", "17816"}, + {"240a:a7dd::/32", "144663"}, + {"2603:c027:c000::/35", "31898"}, + {"2605:8000:23a::/32", "4261"}, + {"2605:b100:a81::/39", "577"}, + {"2804:3998::/32", "266038"}, + {"2a0e:97c0:3b5::/48", "211484"}, + {"2001:559:8125::/48", "33489"}, + {"2a02:5f80::/32", "39811"}, + {"2001:3c8:e10f::/35", "4621"}, + {"2001:559:844d::/48", "33650"}, + {"2600:1010:bf0e::/33", "22394"}, + {"2605:3380:ff05::/46", "12025"}, + {"2605:a900:8::/48", "26793"}, + {"2800:440:8064::/48", "27738"}, + {"2a0c:5240::/31", "59504"}, + {"2804:2bdc:2::/37", "265181"}, + {"2a04:ecc0::/29", "207992"}, + {"2401:1700:a::/43", "55666"}, + {"2401:4900:1978::/40", "45609"}, + {"2408:8256:3861::/40", "17623"}, + {"2600:6c38:f18::/42", "20115"}, + {"2a04:4e40:3800::/48", "54113"}, + {"2804:5940::/32", "268179"}, + {"2a01:b220::/32", "202164"}, + {"2001:df0:7c80::/48", "6461"}, + {"2401:1d40:f21::/45", "23724"}, + {"2401:d800:ba0::/41", "7552"}, + {"2403:2e40:1::/46", "137959"}, + {"240a:a354::/32", "143502"}, + {"2606:a600:4002::/48", "397933"}, + {"2800:160:1ff7::/44", "14259"}, + {"2a01:520::/32", "2116"}, + {"2001:559:c3ec::/47", "7015"}, + {"2804:297c:aaab::/33", "262907"}, + {"2602:804:d000::/44", "27587"}, + {"2a02:18::/32", "44569"}, + {"2402:800:35d3::/44", "7552"}, + {"2409:8904:cba0::/37", "24547"}, + {"2409:896a:2000::/39", "9808"}, + {"2a01:79e0::/32", "199791"}, + {"2a09:b440::/48", "20473"}, + {"2001:559:83c5::/48", "33652"}, + {"2804:656c::/32", "269489"}, + {"2001:559:fa::/47", "33660"}, + {"2001:678:e70::/48", "211607"}, + {"2001:fd8:3480::/42", "132199"}, + {"2001:16a2:c360::/44", "39891"}, + {"240a:a68b::/32", "144325"}, + {"2604:ca00:434::/41", "36492"}, + {"2606:4700:8040::/44", "13335"}, + {"2001:67c:2094::/48", "12695"}, + {"2001:67c:21c0::/48", "39265"}, + {"2001:1330::/29", "11830"}, + {"240a:a603::/32", "144189"}, + {"2600:6c3b:21::/43", "20115"}, + {"2a02:26f0:37::/44", "20940"}, + {"2a02:2838::/32", "31264"}, + {"2001:250:6c00::/43", "138370"}, + {"2001:559:c458::/48", "7922"}, + {"2804:c::/32", "28343"}, + {"2804:343c::/32", "263665"}, + {"2804:46f0:41::/40", "267021"}, + {"2a02:26f7:ec08::/48", "36183"}, + {"2a04:e00:100::/47", "48806"}, + {"2a0a:9200::/29", "61317"}, + {"2401:e380:8522::/47", "131091"}, + {"2408:8444:100::/31", "140726"}, + {"2a05:26c0::/40", "201536"}, + {"2406:e001:c800::/34", "23655"}, + {"2409:8020:1091::/42", "56046"}, + {"2409:804c:3025::/40", "9808"}, + {"2a0c:9c80::/29", "204760"}, + {"2001:559:868c::/48", "22909"}, + {"2803:b4e0::/32", "263218"}, + {"2a00:1d58:f800::/43", "47524"}, + {"2a07:a300::/30", "400177"}, + {"2a0b:b87:ffbb::/48", "212831"}, + {"2001:559:48e::/47", "33657"}, + {"2001:678:dbc::/48", "213067"}, + {"2001:df0:5d40::/48", "142394"}, + {"2001:4978:1000::/47", "19255"}, + {"2409:8c39::/30", "9808"}, + {"2804:14d:a400::/40", "28573"}, + {"2804:522c::/32", "268500"}, + {"2a04:b907::/48", "211321"}, + {"2400:180:9::/48", "4766"}, + {"2403:a140:100::/40", "141771"}, + {"240a:a4f0::/32", "143914"}, + {"2804:1224::/32", "263459"}, + {"2a00:8a00:4f02::/35", "8983"}, + {"2a02:26f7:b8c9::/46", "20940"}, + {"2001:4090::/31", "12312"}, + {"2401:d800:7f52::/40", "7552"}, + {"2804:1784:12a::/45", "263152"}, + {"2a0e:aa07:e027::/48", "210815"}, + {"240a:a63e::/32", "144248"}, + {"2600:6c38:84b::/43", "20115"}, + {"2603:c0f0:2820::/39", "6142"}, + {"2a0c:5247:8000::/36", "208861"}, + {"2a0e:bf01:101::/32", "202539"}, + {"2600:5c01:e0a::/48", "11351"}, + {"2603:c0e0:2110::/40", "54253"}, + {"2620:10b:b000::/44", "11807"}, + {"2801:13e:6::/40", "19429"}, + {"2a02:2298:4000::/36", "15544"}, + {"2a02:28c8::/32", "42353"}, + {"2a0c:8d80::/29", "212991"}, + {"2a0f:85c1:50::/48", "210202"}, + {"240a:a1a4::/32", "143070"}, + {"240a:a3e0::/32", "143642"}, + {"2607:e600::/32", "32719"}, + {"2803:160::/32", "267932"}, + {"2a01:9420::/29", "62099"}, + {"2401:d800:fd60::/40", "7552"}, + {"2409:8020:1081::/43", "56046"}, + {"2600:1419:2601::/36", "20940"}, + {"2001:253:12a::/45", "38272"}, + {"2401:d800:12::/42", "7552"}, + {"2001:44b8:503a::/34", "4739"}, + {"2606:7f00:400::/40", "32307"}, + {"2620:112:4000::/47", "36204"}, + {"2001:250:102e::/38", "23910"}, + {"2a03:ad40:420::/48", "54995"}, + {"2a0a:7c00::/29", "38955"}, + {"2402:800:7da0::/41", "7552"}, + {"2409:8e75::/28", "9808"}, + {"2600:141c:6801::/35", "20940"}, + {"2804:1e74::/32", "264430"}, + {"2a12:8f40::/32", "60488"}, + {"2001:44b8:2048::/48", "7545"}, + {"2800:300:89a0::/41", "27986"}, + {"2a05:e380::/46", "15739"}, + {"2a0c:b641:d0::/46", "212196"}, + {"2409:8054:300a::/43", "56040"}, + {"240a:ac52::/32", "145804"}, + {"240e:44d:340::/42", "140346"}, + {"2600:6c38:e0c::/47", "20115"}, + {"2804:3b8:9::/41", "52965"}, + {"2001:559:819c::/48", "33652"}, + {"2001:678:3e8::/48", "206108"}, + {"2a02:2190::/29", "44134"}, + {"2a0e:46c4:2900::/48", "138435"}, + {"2001:fd8:2a0::/48", "132199"}, + {"2401:9d00::/47", "9835"}, + {"2409:8235::/23", "9808"}, + {"2800:c80::/32", "61510"}, + {"2a01:4a0:1f::/42", "201011"}, + {"2a0c:9640::/29", "197248"}, + {"2c0f:ef20::/32", "37611"}, + {"2001:559:8719::/48", "33651"}, + {"2406:3540::/48", "17415"}, + {"2408:8957:8f00::/40", "17816"}, + {"2a00:c980::/29", "52148"}, + {"2001:57a:f210::/46", "22773"}, + {"2408:8456:d010::/42", "134543"}, + {"240a:af3b::/32", "146549"}, + {"2801:12:e800::/48", "271885"}, + {"2a02:88d:f::/48", "47794"}, + {"2a03:dc0::/32", "61428"}, + {"2a04:fa80:2::/44", "2635"}, + {"2a05:3580:28::/34", "35807"}, + {"2001:408:ff02::/40", "14793"}, + {"2001:559:7c7::/48", "20214"}, + {"2001:9e8:2004::/39", "8881"}, + {"2400:cb00:70::/44", "13335"}, + {"2600:1419:e801::/37", "20940"}, + {"2602:fdd3::/36", "46573"}, + {"2620:8::/41", "6327"}, + {"2a02:26f0:bb01::/37", "20940"}, + {"2604:d700::/32", "53824"}, + {"2001:559:54b::/48", "33657"}, + {"2001:559:c0cb::/48", "33651"}, + {"2400:cb00:a6a0::/45", "13335"}, + {"2a0a:b300::/29", "206951"}, + {"2001:559:3b9::/48", "21508"}, + {"2404:a800:2002::/36", "9498"}, + {"2406:7440::/32", "131970"}, + {"240c:ca22::/32", "23910"}, + {"2603:90bd::/32", "11955"}, + {"2620:a0:2000::/48", "397994"}, + {"2804:3c50::/32", "266203"}, + {"2804:7898:5ff0::/44", "271253"}, + {"2a01:440:510::/29", "29551"}, + {"2a02:218::/29", "44973"}, + {"2a0d:2406:1134::/48", "202656"}, + {"2001:4830:100::/40", "27552"}, + {"2804:22c:f002::/37", "22689"}, + {"2a03:9960::/32", "208719"}, + {"2a07:a100::/29", "202701"}, + {"240a:a5d6::/32", "144144"}, + {"2600:1004:b0f0::/44", "22394"}, + {"2a02:26f7:de8c::/48", "36183"}, + {"2a07:1180::/29", "203311"}, + {"2a0c:89c0::/29", "43260"}, + {"2a11:e180::/29", "204790"}, + {"240a:a7b7::/32", "144625"}, + {"240a:aa76::/32", "145328"}, + {"2604:d600:161a::/47", "32098"}, + {"2620:4f:e000::/48", "22652"}, + {"2804:19c8::/35", "61818"}, + {"2405:4802:1270::/37", "18403"}, + {"2409:806b:900::/35", "9808"}, + {"2803:140::/32", "264622"}, + {"2001:500:4e::/47", "207266"}, + {"2001:559:85f0::/48", "33657"}, + {"2804:1b2:f080::/41", "10429"}, + {"2a00:ad87:1303::/48", "198573"}, + {"2a06:cd40:1::/46", "43927"}, + {"2600:6c10:f608::/43", "20115"}, + {"2600:cc04:e100::/35", "32298"}, + {"2a0f:2c80::/48", "40676"}, + {"2001:559:2d1::/48", "33491"}, + {"2001:49f0:d0d9::/46", "30058"}, + {"2804:18:1850::/44", "10429"}, + {"2804:6c18:8000::/33", "270445"}, + {"2a02:26f7:d4d1::/42", "20940"}, + {"2400:dd06:1006::/28", "7497"}, + {"2402:d000:1065::/44", "9329"}, + {"2001:559:c159::/48", "7922"}, + {"2409:8c2f:3820::/32", "56041"}, + {"2804:510::/32", "28163"}, + {"2a01:4f00::/34", "35047"}, + {"2a02:fe80:20::/46", "30148"}, + {"2a07:7d40::/29", "202876"}, + {"2a0a:5ec0::/29", "206123"}, + {"2804:7ec8::/32", "271647"}, + {"2001:559:8798::/47", "7922"}, + {"2803:d700:4000::/32", "61461"}, + {"2a02:26f7:d1c9::/46", "20940"}, + {"2001:df7:6c80::/48", "146963"}, + {"2403:5000:166::/43", "9304"}, + {"240e:44d:2600::/41", "140345"}, + {"2620:104:4000::/45", "15248"}, + {"2804:2838:21a::/32", "263948"}, + {"2a03:220:f001::/36", "61400"}, + {"2001:da8:3009::/48", "23910"}, + {"2401:4900:43a0::/44", "45609"}, + {"2409:8924:1100::/38", "56046"}, + {"240a:acad::/32", "145895"}, + {"2600:1308::/32", "20021"}, + {"2600:2500::/31", "26801"}, + {"2a01:7e00::/31", "63949"}, + {"2a10:9880::/29", "39050"}, + {"2001:42d0:1500::/40", "33764"}, + {"2408:8956:6300::/40", "17816"}, + {"2001:678:870::/48", "199815"}, + {"2401:2900::/40", "23679"}, + {"2404:6140::/33", "138143"}, + {"2405:4803:270::/40", "18403"}, + {"2600:6c1c::/30", "20115"}, + {"2607:f368:1003::/48", "46846"}, + {"2a00:fb8::/33", "8881"}, + {"2a00:c1e0::/29", "59891"}, + {"240a:ac82::/32", "145852"}, + {"2600:100d:b100::/42", "6167"}, + {"2600:6c7f:9410::/44", "20001"}, + {"2606:a4c0::/32", "400290"}, + {"2001:559:c2d5::/48", "33652"}, + {"2402:800:34fe::/39", "7552"}, + {"240a:aa47::/32", "145281"}, + {"2602:805:2000::/45", "394392"}, + {"2602:fc23:162::/36", "8095"}, + {"2602:fc3b:201::/39", "399970"}, + {"2607:f478::/32", "18540"}, + {"2804:136c::/32", "262372"}, + {"2804:2f74::/32", "264892"}, + {"2a07:a680::/29", "60111"}, + {"2a0e:b107:790::/44", "208680"}, + {"2001:559:c10b::/48", "33657"}, + {"2405:7000:500::/34", "9354"}, + {"2a05:ec0::/29", "56828"}, + {"2001:559:760::/48", "33659"}, + {"2401:4900:3bc0::/42", "45609"}, + {"240a:aa0e::/32", "145224"}, + {"2a0f:c087:f51c::/48", "212521"}, + {"2001:67c:20dc::/48", "51740"}, + {"2607:f738:400::/39", "17184"}, + {"2610:a1:1025::/48", "397228"}, + {"2804:2e4c::/32", "265337"}, + {"2001:4928::/32", "13819"}, + {"240e:1a:40::/44", "137702"}, + {"2806:2f0:6061::/46", "17072"}, + {"2806:10be:2::/45", "8151"}, + {"2a02:6f00:ec0::/48", "59518"}, + {"2001:559:271::/48", "7725"}, + {"2001:de4::/48", "131621"}, + {"2604:d680::/48", "29757"}, + {"2a02:26f7:dd80::/48", "36183"}, + {"2a03:d940::/32", "6833"}, + {"2a07:ac80::/29", "44812"}, + {"2607:f360::/39", "32592"}, + {"2804:4054::/32", "265952"}, + {"2a02:26f7:b9c0::/48", "36183"}, + {"2409:8914:f00::/35", "56044"}, + {"240a:a0de::/32", "142872"}, + {"240a:ae4d::/32", "146311"}, + {"2804:6944::/32", "270259"}, + {"2a01:65c0::/32", "3242"}, + {"2a06:140::/29", "47704"}, + {"2404:4a00:6501:1::/36", "45629"}, + {"2603:90fb:10::/44", "20115"}, + {"2804:48e4::/32", "267151"}, + {"2804:6ac8:2704::/32", "270358"}, + {"2a11:f0c0::/29", "204790"}, + {"2001:470:120::/48", "63343"}, + {"2803:32e0::/32", "269928"}, + {"2804:6830::/32", "269674"}, + {"2a0e:c80:403::/48", "40676"}, + {"2001:559:8720::/48", "33491"}, + {"2606:4700:ff02::/48", "395747"}, + {"2402:1d40:4001::/45", "58826"}, + {"240e:30c:4a00::/35", "137688"}, + {"2607:f108:4900::/32", "29838"}, + {"2a02:26f7:ed00::/48", "36183"}, + {"2a0c:c640::/29", "50489"}, + {"2400:9380:9070::/47", "4809"}, + {"2404:fc40::/32", "133971"}, + {"2407:4d00::/48", "38841"}, + {"2a0b:20c0::/39", "205766"}, + {"2001:559:86ce::/48", "7016"}, + {"2602:fd91::/36", "399533"}, + {"2607:9f00:3::/48", "25875"}, + {"2001:480:90::/48", "5980"}, + {"2001:da8:24f::/43", "24350"}, + {"2408:8456:3850::/39", "17816"}, + {"2607:ff60:4::/43", "3900"}, + {"2804:57c4::/32", "268085"}, + {"2a0e:cd40::/29", "35048"}, + {"2a0f:bd40::/32", "197560"}, + {"2803:9c0:100::/40", "265695"}, + {"2803:2280::/32", "264663"}, + {"2804:1600::/32", "263421"}, + {"2401:d800:76d0::/42", "7552"}, + {"2405:8a00:8034::/34", "55824"}, + {"2408:8459:26c0::/36", "17816"}, + {"2a02:26f7:e608::/48", "36183"}, + {"2a04:d900::/29", "8470"}, + {"2a10:bec0::/29", "13247"}, + {"2404:ae00::/48", "45474"}, + {"2a00:7180::/33", "15557"}, + {"2a0d:cc80::/29", "59493"}, + {"2a0f:85c1:cafe::/48", "207781"}, + {"2400:9380:8001::/48", "4134"}, + {"2406:da1a::/36", "16509"}, + {"2602:ffe4:c09::/46", "21859"}, + {"2620:8a::/48", "19574"}, + {"2a02:26f7:f58c::/48", "36183"}, + {"2a05:dfc0::/29", "61138"}, + {"2a0a:7c0::/29", "34909"}, + {"2401:d800:5060::/40", "7552"}, + {"240e:67c:1000::/37", "140330"}, + {"2a05:91c0::/32", "56430"}, + {"2001:559:8220::/48", "33650"}, + {"2001:fd8:b3f0::/33", "4775"}, + {"2401:d800:d570::/40", "7552"}, + {"240a:aac0::/32", "145402"}, + {"2604:7100::/32", "32391"}, + {"2605:2700::/32", "47066"}, + {"2001:df7:2b00::/48", "58965"}, + {"2804:3dc0:e000::/35", "266551"}, + {"2607:fdf0:5e86::/44", "8008"}, + {"2607:ffd0::/45", "13767"}, + {"2001:559:3cb::/48", "33491"}, + {"2404:bf40:ea01::/46", "139084"}, + {"2407:f100::/45", "133075"}, + {"2804:2060::/32", "264489"}, + {"2804:4850::/39", "267113"}, + {"2a05:4140:187::/48", "211358"}, + {"2a04:4e40:2800::/48", "54113"}, + {"2a05:b0c6:200f::/48", "208753"}, + {"2001:559:218::/48", "33651"}, + {"2001:559:c334::/48", "33660"}, + {"2001:1248:9c15::/44", "11172"}, + {"2404:8d00:1410::/36", "24378"}, + {"2406:e000:37a::/40", "23655"}, + {"2408:8956:1bc0::/37", "17622"}, + {"2a05:9bc0::/44", "51559"}, + {"2a0e:b107:14c0::/47", "211042"}, + {"2a12:a740::/29", "400522"}, + {"2001:250:3800::/45", "138440"}, + {"2801:13a::/44", "270028"}, + {"2804:80b8::/36", "271769"}, + {"2a06:f901:4000::/36", "8849"}, + {"2001:16a2:360a::/43", "25019"}, + {"2a00:83e0::/32", "199496"}, + {"2a0c:93c0:6002::/48", "212465"}, + {"2001:559:c3bb::/41", "33287"}, + {"2001:978:6713::/45", "174"}, + {"2001:ee0::/38", "45899"}, + {"240a:ad7d::/32", "146103"}, + {"2600:1f01:4810::/47", "16509"}, + {"2a02:26f0:7101::/37", "20940"}, + {"2001:678:de0::/48", "21158"}, + {"2405:8000::/32", "38462"}, + {"2800:bf0:a801::/45", "27947"}, + {"2804:ff8::/32", "263611"}, + {"2804:25bc::/44", "264299"}, + {"2001:1900:2265::/46", "3356"}, + {"240e:6:d013::/44", "4134"}, + {"2602:fcd7::/36", "6939"}, + {"2800:160:137f::/40", "14259"}, + {"2804:22e0::/32", "264128"}, + {"2804:483c::/32", "267106"}, + {"2a0b:f5c0::/29", "205377"}, + {"2001:559:3eb::/48", "33657"}, + {"2001:559:426::/48", "22258"}, + {"2600:1415:3801::/37", "20940"}, + {"2602:feda:ce0::/48", "141237"}, + {"2804:5660::/32", "267994"}, + {"2804:8028::/32", "271733"}, + {"2a07:14c0:8000::/29", "208861"}, + {"2a0e:b107:100::/44", "211972"}, + {"2a0e:b107:ff0::/48", "42394"}, + {"2001:250:341a::/47", "138438"}, + {"2405:7f00:a560::/36", "133414"}, + {"2409:8d14:2400::/38", "56044"}, + {"2600:1008:b070::/40", "22394"}, + {"2801:80:2210::/48", "267525"}, + {"2a00:fa60:1510::/44", "200077"}, + {"2a0b:71c0:1::/48", "56583"}, + {"2a10:a380::/29", "196777"}, + {"2a02:2858::/29", "8315"}, + {"2001:559:740::/48", "21508"}, + {"2400:dd02:1013::/31", "7497"}, + {"240a:ad73::/32", "146093"}, + {"2001:559:c3f2::/48", "33657"}, + {"2404:e0::/29", "703"}, + {"2406:9900::/32", "17936"}, + {"2407:e940::/48", "18403"}, + {"2600:6c10:816::/47", "20115"}, + {"2606:6c00:2::/48", "32787"}, + {"2a03:db80:2c14::/48", "47610"}, + {"2a11:28c0::/47", "212688"}, + {"2c0f:fb30::/32", "37412"}, + {"2001:559:8417::/44", "7016"}, + {"2803:2e0::/32", "269917"}, + {"2a10:2f00:13a::/48", "213069"}, + {"2001:559:c161::/46", "7922"}, + {"2001:697::/32", "199155"}, + {"2404:1c40:b0::/45", "24432"}, + {"2409:8704:7d00::/32", "24547"}, + {"2606:2ac0::/32", "46962"}, + {"2607:f110:140::/32", "21889"}, + {"2804:670::/32", "262665"}, + {"2a03:61a0::/32", "202719"}, + {"2a12:4946:1658::/48", "211398"}, + {"2001:468:c0f::/41", "10886"}, + {"2402:800:7820::/41", "7552"}, + {"240e:397:1500::/38", "140492"}, + {"2602:fca6::/36", "399466"}, + {"2804:6e34::/32", "270582"}, + {"2001:67c:1e8::/48", "49820"}, + {"2404:b0::/44", "4750"}, + {"240e:438:6840::/38", "4134"}, + {"2804:4e34::/32", "268246"}, + {"240a:ab77::/32", "145585"}, + {"2620:104:e000:ad::/64", "13536"}, + {"2800:160:142e::/43", "14259"}, + {"2a0a:2bc0::/32", "206894"}, + {"2001:559:45c::/48", "33652"}, + {"2001:559:7b7::/48", "7922"}, + {"2001:978:2100:100::/38", "174"}, + {"240a:a999::/32", "145107"}, + {"2603:ffb8::/25", "397165"}, + {"2801:80:c90::/48", "61656"}, + {"2a10:8980::/29", "15623"}, + {"2804:778::/32", "262411"}, + {"2804:eec::/35", "28226"}, + {"2a02:26c8::/32", "13156"}, + {"2a0f:ae40::/32", "207489"}, + {"2001:550::/47", "174"}, + {"2001:49f0:a00b::/43", "174"}, + {"240e:438:9420::/43", "140647"}, + {"2800:484:b800::/40", "10620"}, + {"2a00:cd80::/33", "24848"}, + {"2a0b:300::/29", "61317"}, + {"2607:fb90:c151::/36", "21928"}, + {"2a00:1288:ef99::/41", "10310"}, + {"2a04:fa87:fffd::/46", "2635"}, + {"2600:1415:9::/48", "20940"}, + {"2801:104:20::/44", "27828"}, + {"2804:128::/32", "28634"}, + {"2a02:2698:1c00::/38", "34590"}, + {"2a02:26f7:bec1::/46", "20940"}, + {"2a03:4b27:d000::/36", "206452"}, + {"2602:fd75:1::/46", "46793"}, + {"2001:7f8:69::/48", "201925"}, + {"240a:af9e::/32", "146648"}, + {"2804:8610::/32", "272618"}, + {"2a02:26f7:f68c::/48", "36183"}, + {"2001:4b58::/32", "6802"}, + {"2401:d800:5142::/42", "7552"}, + {"2402:9f00::/32", "58740"}, + {"2602:ff50:200::/48", "63452"}, + {"2602:ff62:203::/45", "61317"}, + {"2605:c140::/32", "32674"}, + {"2a00:ff40::/32", "6782"}, + {"2a0c:b641:493::/48", "53356"}, + {"2c0f:ea00::/32", "327733"}, + {"2610:1c0::/31", "11403"}, + {"2620:74:a9::/45", "7342"}, + {"2804:5d80::/33", "268976"}, + {"2806:2f0:9b83::/42", "17072"}, + {"2001:67c:1d0::/48", "42061"}, + {"2404:3d00:40e0::/47", "21433"}, + {"240e:67b:e400::/39", "140330"}, + {"2804:3900::/32", "266517"}, + {"2a00:1ef8::/32", "29690"}, + {"2a03:32c0:17::/34", "48503"}, + {"2a09:6a80::/48", "50007"}, + {"2001:559:567::/48", "33657"}, + {"2001:d38::/32", "2914"}, + {"2001:1980:6300::/36", "29838"}, + {"2804:7d00::/32", "271532"}, + {"2404:4600:fce::/48", "45991"}, + {"2409:8057:380f::/48", "56040"}, + {"2602:ff52::/48", "394923"}, + {"2607:f738:900::/41", "17184"}, + {"2804:690::/32", "262595"}, + {"2a0f:9400:8019::/48", "213262"}, + {"2001:559:87dd::/48", "7016"}, + {"2001:559:c012::/48", "33657"}, + {"2001:df0:1740::/48", "142369"}, + {"240e:980:4700::/40", "131325"}, + {"2a0c:2f07:9459::/48", "206924"}, + {"2403:1480:1000::/36", "36351"}, + {"2404:fa00:d000::/36", "45780"}, + {"240a:ae9f::/32", "146393"}, + {"2a03:a3a0::/32", "25780"}, + {"2a0b:4fc1::/32", "205688"}, + {"2c0f:fa78::/32", "37387"}, + {"2001:559:21e::/48", "7922"}, + {"2001:1248:5627::/43", "11172"}, + {"2001:4403:deae::/34", "9500"}, + {"2404:9600:400::/32", "7600"}, + {"2804:4f8:6200::/36", "28263"}, + {"2804:1408:6001::/35", "28635"}, + {"2a01:238:20b::/37", "6724"}, + {"2a0b:f940:1af3::/34", "205373"}, + {"2001:480:21::/46", "668"}, + {"2001:da8:c8::/48", "138442"}, + {"2001:4cc0::/32", "8426"}, + {"2404:bf40::/32", "139084"}, + {"2a02:b48::/33", "39572"}, + {"2a0e:97c3:631::/48", "20473"}, + {"2c0f:f140:e000::/35", "327700"}, + {"2001:67c:294c::/48", "210211"}, + {"2409:804c:25::/44", "9808"}, + {"2409:8078:2100::/36", "9808"}, + {"240a:a5cc::/32", "144134"}, + {"240e:e9:6800::/37", "134770"}, + {"240e:438:2c40::/38", "4134"}, + {"2800:bf0:3000::/44", "52257"}, + {"2804:3dc::/46", "52967"}, + {"2804:14a4::/32", "263341"}, + {"2001:7f8:31::/48", "24957"}, + {"2001:4d78:fe13::/48", "15830"}, + {"2804:695c::/32", "270265"}, + {"2403:6200:7602::/48", "138685"}, + {"2a02:26f7:e244::/48", "36183"}, + {"2a06:2540::/29", "44994"}, + {"2001:559:82d8::/47", "7922"}, + {"2001:67c:18c0::/48", "62311"}, + {"2404:bf40:e006::/48", "7545"}, + {"2a03:85c1:925d::/29", "20561"}, + {"2408:8459:6050::/38", "17816"}, + {"240e:965:e400::/39", "133775"}, + {"2800:b10:100::/44", "27884"}, + {"2a04:9a00:1001::/46", "202553"}, + {"2a0e:b107:16::/48", "208191"}, + {"2001:cb0:20c::/47", "4637"}, + {"2605:f700:10::/48", "18978"}, + {"2607:f7d8::/32", "26554"}, + {"2804:85a4::/32", "272592"}, + {"2806:2f0:50c1::/46", "17072"}, + {"2408:8957:a900::/40", "17816"}, + {"2600:8804:3f07::/32", "22773"}, + {"2605:6080::/32", "62833"}, + {"2607:3200:13::/45", "11240"}, + {"2804:ef8::/32", "262302"}, + {"2c0f:f0c8::/32", "328037"}, + {"2404:8640::/32", "17675"}, + {"2600:1008:e010::/36", "22394"}, + {"2804:3cb8::/32", "53221"}, + {"2806:2f0:8460::/35", "17072"}, + {"2403:7a40::/32", "133317"}, + {"240a:a789::/32", "144579"}, + {"2404:5540::/37", "134715"}, + {"240e:965:f400::/39", "58772"}, + {"2600:370f:3725::/44", "32261"}, + {"2800:160:15f0::/38", "14259"}, + {"2a03:5d80::/32", "44858"}, + {"240a:a72f::/32", "144489"}, + {"2605:32c0::/32", "5670"}, + {"2a00:cb0::/34", "29624"}, + {"2a03:5a00:4::/48", "34518"}, + {"2001:44b8:30a3::/48", "4739"}, + {"2404:bf40:f804::/37", "139084"}, + {"2409:8950::/30", "56047"}, + {"240e:3b0:2c00::/35", "134774"}, + {"2a02:26f7:d194::/48", "36183"}, + {"2a02:26f7:e988::/48", "36183"}, + {"2401:7200::/47", "55328"}, + {"2404:d500:6::/44", "132370"}, + {"240a:a6e2::/32", "144412"}, + {"240c:c030::/24", "23910"}, + {"2610:a1:3060::/48", "12008"}, + {"2804:59cc::/32", "268726"}, + {"2a01:5b80::/32", "13226"}, + {"2a0b:b140::/29", "62000"}, + {"2001:559:866c::/48", "33651"}, + {"2602:fec2::/32", "16713"}, + {"2a02:26f7:18::/48", "36183"}, + {"2a04:4e40:b410::/41", "54113"}, + {"2a0c:b641:45a::/48", "208850"}, + {"2a0d:a740::/48", "208673"}, + {"2602:10d::/33", "20115"}, + {"2806:2f0:50e3::/39", "17072"}, + {"2001:559:c108::/48", "33287"}, + {"240e:1a:150::/44", "134770"}, + {"2600:9000:117e::/48", "16509"}, + {"2605:4c0::/32", "6939"}, + {"2401:b780:5010::/47", "65435"}, + {"2405:1e40:2::/32", "58475"}, + {"2405:ba00:8804::/48", "7160"}, + {"2801:80:17b3::/41", "61580"}, + {"2001:918:ffab::/43", "3303"}, + {"2404:3d00:40d7::/48", "21433"}, + {"2408:8256:378c::/43", "17623"}, + {"2620:112:c000::/40", "29899"}, + {"2804:60:40::/32", "53066"}, + {"2804:5bf4::/32", "268879"}, + {"2804:7d60::/32", "20473"}, + {"2a06:a000:1d0::/44", "142594"}, + {"2a0b:3c40:fca6::/48", "208258"}, + {"2001:ee0:cc40::/40", "45899"}, + {"2600:9000:1188::/46", "16509"}, + {"2804:66b4::/32", "269577"}, + {"2a02:e982:27::/43", "19551"}, + {"2600:1006:9140::/44", "6167"}, + {"2603:c013:e000::/36", "31898"}, + {"2806:230:1014::/48", "265594"}, + {"2a02:6ea0:e000::/38", "60068"}, + {"2a07:22c1:4::/48", "212845"}, + {"2a07:2680::/29", "8823"}, + {"2001:559:82aa::/48", "7015"}, + {"2408:8456:f140::/28", "17816"}, + {"240a:a271::/32", "143275"}, + {"2620:119:50d2::/48", "13443"}, + {"2804:7b1c::/32", "271411"}, + {"2400:cb00:a310::/45", "13335"}, + {"2401:d800:52a0::/41", "7552"}, + {"240a:a935::/32", "145007"}, + {"2803:ad80:69::/48", "42473"}, + {"2a00:ebe0::/32", "62423"}, + {"2a04:9ac0::/32", "62242"}, + {"240e:44d:6f80::/41", "4134"}, + {"2605:2800:c300::/48", "11481"}, + {"2804:a80::/32", "262293"}, + {"2804:539c::/32", "268595"}, + {"2404:b0:1005::/48", "135586"}, + {"240e:108:99::/48", "4816"}, + {"2604:180:9::/45", "3842"}, + {"2800:160:1770::/44", "14259"}, + {"2804:1884::/32", "61937"}, + {"2804:6374::/32", "269362"}, + {"2a00:ece1:2::/48", "43474"}, + {"2a10:57c0::/29", "8767"}, + {"2403:5180:5::/48", "134666"}, + {"2409:804c:23::/45", "9808"}, + {"2607:fa48:fc11::/29", "5769"}, + {"2610:a8::/32", "600"}, + {"2a05:f507::/45", "13443"}, + {"2a07:9140::/29", "57475"}, + {"2001:250:6408::/43", "24367"}, + {"2001:dd8:12::/48", "18366"}, + {"2408:8459:cc10::/42", "17623"}, + {"2607:9800:c117::/35", "15085"}, + {"2a03:1aa0::/33", "201730"}, + {"2a03:4d43:2800::/32", "199610"}, + {"2a10:2f00:15d::/48", "39282"}, + {"2001:504:35::/48", "14432"}, + {"2001:559:86c4::/47", "33490"}, + {"2001:67c:130::/48", "30857"}, + {"2401:c900:1400::/38", "36351"}, + {"2405:ba00:8004::/48", "1217"}, + {"2600:1403:6c00::/48", "35994"}, + {"2602:ff62:82::/39", "61317"}, + {"2804:4398::/32", "267578"}, + {"2804:6fdc::/32", "270689"}, + {"2a06:62c0:51::/40", "204138"}, + {"2a06:b5c0::/30", "400177"}, + {"2a07:a540::/29", "394545"}, + {"2001:559:8694::/48", "33651"}, + {"2001:559:c4ea::/48", "7922"}, + {"2604:3d80:808::/48", "394302"}, + {"2804:ae0:8500::/38", "28352"}, + {"2804:7dd8::/32", "271586"}, + {"2001:559:c16c::/48", "33489"}, + {"2001:da8:22c::/48", "23910"}, + {"2001:df7:e180::/48", "137165"}, + {"2406:2000:fc::/46", "10229"}, + {"2a02:26f7:cd41::/46", "20940"}, + {"2a03:6920::/32", "60592"}, + {"2a04:1b00:a::/47", "61007"}, + {"2a04:a4c0::/48", "59789"}, + {"2403:e200:405::/36", "45543"}, + {"2804:83b8::/33", "272214"}, + {"2408:8957:3000::/40", "17622"}, + {"240a:a4cd::/32", "143879"}, + {"240e:a65::/35", "140329"}, + {"2600:9000:1e05::/48", "16509"}, + {"2001:678:f0c::/48", "211638"}, + {"2402:ef02::/31", "7633"}, + {"2409:8004:807::/44", "9808"}, + {"2600:1011::/32", "6167"}, + {"2607:f220:41e::/48", "70"}, + {"2804:40dc::/32", "265986"}, + {"2a01:1b0:c000::/44", "51923"}, + {"2a03:2880:f267::/44", "32934"}, + {"2001:559:87a1::/45", "7015"}, + {"2403:2200::/48", "45148"}, + {"240e:9:7000::/32", "4134"}, + {"2a00:d600::/32", "24778"}, + {"2001:559:8389::/48", "33651"}, + {"2405:9800:100::/44", "131445"}, + {"2602:fd3a:229::/48", "14618"}, + {"2804:104c:2800::/40", "263629"}, + {"2a02:d880::/32", "41960"}, + {"2a07:3740::/29", "47132"}, + {"2804:5f68::/32", "269097"}, + {"2a0b:b87:ffee::/48", "213361"}, + {"2001:559:85c0::/48", "7922"}, + {"2001:1620:2015::/48", "35663"}, + {"2001:49f0:d200::/48", "30058"}, + {"2403:7cc0::/32", "138179"}, + {"2a02:730:4001::/36", "29278"}, + {"2401:0:8001::/48", "23966"}, + {"2607:f390:7200::/39", "17244"}, + {"2a02:26f7:d580::/48", "36183"}, + {"2804:8280::/37", "272521"}, + {"2a01:c9c0:bf::/48", "24600"}, + {"2a02:26f7:b889::/42", "20940"}, + {"2a02:7b07:fff::/48", "48328"}, + {"2a03:2ca0:3136::/32", "59865"}, + {"2a03:87c0::/29", "31042"}, + {"2a04:9a00:100e::/48", "202553"}, + {"2a0e:e280::/29", "208740"}, + {"2001:b68::/32", "2108"}, + {"2001:da8:a2::/48", "24357"}, + {"2407:6e00:4::/48", "38332"}, + {"2606:3080::/32", "16423"}, + {"2804:108c:fa00::/37", "28146"}, + {"2a10:1c0::/29", "207297"}, + {"2001:559:834d::/48", "33651"}, + {"2600:1f15::/36", "16509"}, + {"2620:0:2ee0::/48", "20144"}, + {"2801:1fc:36::/48", "27951"}, + {"2804:3440::/32", "265445"}, + {"2001:559:8645::/46", "33651"}, + {"2001:448a:50d0::/42", "7713"}, + {"2607:fe68::/32", "15146"}, + {"2402:800:f7e0::/36", "7552"}, + {"2600:1006:f150::/31", "22394"}, + {"2600:1010:9100::/44", "6167"}, + {"2a01:5041:5000::/48", "202196"}, + {"2001:250:218::/48", "24349"}, + {"2402:e380:319::/48", "141374"}, + {"2403:4c00::/32", "24453"}, + {"2405:1c0:7151::/48", "55303"}, + {"2804:6df0:8000::/33", "270565"}, + {"2001:fc0::/32", "17547"}, + {"2404:f780::/46", "136557"}, + {"240a:aee5::/32", "146463"}, + {"240e:67f:e600::/24", "4134"}, + {"2604:dfc0::/32", "14727"}, + {"2605:640f:640f::/48", "211066"}, + {"2607:fc88::/32", "30475"}, + {"2801:8e::/36", "11993"}, + {"2804:3b0:4002::/32", "53062"}, + {"2804:164c:fad::/32", "263280"}, + {"2806:20d:504b::/43", "32098"}, + {"2001:67c:2674::/48", "57684"}, + {"2a0c:dec0:3008::/48", "207063"}, + {"2001:559:86c6::/44", "7922"}, + {"2001:4de0:2101::/48", "34305"}, + {"2606:1b00::/32", "11722"}, + {"2801:16:800::/48", "19429"}, + {"2a02:5320:100::/40", "12189"}, + {"2a0d:8480::/48", "48282"}, + {"2001:559:806b::/45", "7725"}, + {"2001:1248:84e4::/44", "11172"}, + {"2404:140::/32", "37992"}, + {"2409:8904:d070::/40", "24547"}, + {"2806:310:d::/43", "16960"}, + {"2001:559:143::/45", "7922"}, + {"2001:df4:4700::/48", "137107"}, + {"2001:1248:561b::/42", "11172"}, + {"240e:983:1301::/40", "4134"}, + {"2a02:2af8::/39", "702"}, + {"2a0c:f440::/29", "200319"}, + {"2001:550:9101::/38", "174"}, + {"2401:1740:3000::/48", "136600"}, + {"240a:aba6::/32", "145632"}, + {"2804:14d:6887::/44", "28573"}, + {"2804:2a30::/32", "264063"}, + {"2804:6290::/32", "269304"}, + {"2806:2f0:1181::/48", "22884"}, + {"2a0f:8d40::/29", "207670"}, + {"2404:f4c0:ea02::/40", "140731"}, + {"2605:a401:8369::/40", "33363"}, + {"2607:fc48:bc08::/48", "40009"}, + {"2804:cd0::/32", "52557"}, + {"2a04:ce40::/29", "13157"}, + {"2001:480:31::/48", "5887"}, + {"2001:4940:2002::/32", "21547"}, + {"2408:80e9:4000::/34", "4837"}, + {"240a:aee6::/32", "146464"}, + {"2401:1800::/32", "45187"}, + {"2402:e280:2157::/44", "134674"}, + {"2403:2880::/32", "131905"}, + {"2a0b:5080::/29", "43402"}, + {"2606:9400::/32", "3737"}, + {"2800:484:7700::/36", "14080"}, + {"2a03:2480:8023::/48", "200107"}, + {"2602:fd10:e00::/40", "399980"}, + {"2001:559:c3de::/47", "7922"}, + {"2401:4900:4f00::/45", "45609"}, + {"2402:800:398d::/43", "7552"}, + {"2402:e280:222d::/43", "134674"}, + {"2620:52:6::/48", "21785"}, + {"2804:72e4::/34", "270882"}, + {"2a02:ac80:b01::/37", "25145"}, + {"2a10:77c0::/29", "212144"}, + {"2001:4868:4300::/32", "701"}, + {"2620:74:2c::/48", "396574"}, + {"2408:8957:7840::/40", "17622"}, + {"2a01:ce9e:1000::/31", "51964"}, + {"2409:8924:2100::/38", "56046"}, + {"2409:896a:3000::/39", "9808"}, + {"240e:980:4c00::/40", "58519"}, + {"2602:809:c000::/44", "54364"}, + {"2607:fdf0:5e7a::/40", "8008"}, + {"2804:6acc::/32", "270359"}, + {"2a02:2818:5::/48", "196705"}, + {"2001:559:83d7::/48", "7015"}, + {"2001:559:85a5::/46", "33659"}, + {"2001:559:c192::/48", "7015"}, + {"2400:9380:97c0::/44", "136167"}, + {"2620:125:b000::/47", "15092"}, + {"2800:4b0:400d::/43", "12252"}, + {"2804:811c::/32", "272433"}, + {"240e:109:8048::/48", "134769"}, + {"2620:126:5040::/47", "27632"}, + {"2804:248:9::/39", "28598"}, + {"2a00:9801:e001::/48", "199072"}, + {"2a02:720:300::/32", "34427"}, + {"2404:c400:dc05::/48", "58735"}, + {"2800:160:1a1b::/42", "14259"}, + {"2a0a:b440::/29", "212755"}, + {"2a0d:8f80::/29", "204790"}, + {"240e:109:8029::/48", "4134"}, + {"2604:5c80::/32", "21981"}, + {"2804:dd4::/33", "53024"}, + {"2804:1c90::/32", "61662"}, + {"2804:4d44::/32", "262978"}, + {"2804:6a54::/32", "270329"}, + {"2a03:e1c0::/32", "199421"}, + {"2001:67c:170c::/48", "60829"}, + {"2001:dce:7400::/48", "45285"}, + {"240a:af1e::/32", "146520"}, + {"2a02:26f0:75::/46", "20940"}, + {"2a0b:22c0::/29", "59939"}, + {"2a0c:9380::/29", "328543"}, + {"2404:bf40:a101::/46", "7545"}, + {"2406:20c0:a001::/33", "140423"}, + {"2a00:1c90::/32", "29486"}, + {"2402:1580:297::/34", "17682"}, + {"2a03:b840:2::/47", "61221"}, + {"2a0b:8880::/29", "51164"}, + {"2001:4b20:0:194::/43", "34288"}, + {"240e:6:d012::/48", "142608"}, + {"2600:1480:5000::/40", "33905"}, + {"2602:101::/33", "20115"}, + {"2604:14c0::/32", "22121"}, + {"2806:2f0:9da1::/46", "17072"}, + {"2a01:1ee::/32", "33843"}, + {"2001:559:80a6::/48", "33659"}, + {"2600:1008:a120::/36", "22394"}, + {"2600:140f:3600::/48", "9498"}, + {"2800:160:1f97::/42", "14259"}, + {"240e:3b3:f700::/36", "4134"}, + {"2804:6b4::/32", "53224"}, + {"2001:559:5ef::/43", "7922"}, + {"2402:800:9b47::/43", "7552"}, + {"2404:bf40:8783::/41", "139084"}, + {"2606:2800:6030::/46", "15133"}, + {"2001:200:e00::/40", "4690"}, + {"2402:c340::/32", "38047"}, + {"240a:a9b3::/32", "145133"}, + {"2600:6c10:f248::/45", "20115"}, + {"2a03:9ba0:201::/46", "209082"}, + {"2620:104:f000::/44", "33517"}, + {"2801:80:34a0::/48", "268807"}, + {"2a0b:6cc1:8::/29", "202984"}, + {"2400:ac40:a10::/41", "136255"}, + {"2409:8087:3c00::/40", "24444"}, + {"2804:a8c::/38", "264159"}, + {"2804:4fe4::/32", "53086"}, + {"2001:dc8:8000::/48", "24089"}, + {"2402:8000::/32", "24541"}, + {"2406:da00:1000::/40", "16509"}, + {"240e:101:4000::/30", "4134"}, + {"2803:3010::/32", "271808"}, + {"2803:9800:9505::/46", "11664"}, + {"2803:b800::/32", "262202"}, + {"2001:559:c479::/48", "33650"}, + {"2001:67c:2740::/48", "198543"}, + {"2001:4d50:fe00::/39", "34309"}, + {"2409:8a35::/28", "9808"}, + {"2a02:26f0:13d::/48", "8966"}, + {"2a02:26f7:be11::/42", "20940"}, + {"2c0f:f590:0:203::/32", "36974"}, + {"2001:559:c3a6::/48", "7922"}, + {"2001:678:7d8::/48", "2643"}, + {"2400:cb00:a2c0::/48", "13335"}, + {"2610:a1:3024::/48", "12008"}, + {"2804:54:6008::/32", "28220"}, + {"2804:48e0::/32", "267150"}, + {"2001:559:833b::/48", "33659"}, + {"2600:6c38:b42::/45", "20115"}, + {"2a01:a620::/45", "56911"}, + {"2001:418:8006::/48", "3927"}, + {"2605:4ac0::/32", "23503"}, + {"2607:ae80:192::/48", "26558"}, + {"2607:f380:a69::/32", "2152"}, + {"2a01:6f0::/39", "42366"}, + {"2a09:dd40::/32", "205718"}, + {"2401:d800:96f0::/39", "7552"}, + {"2605:a401:8120::/43", "33363"}, + {"2a03:2880:f300::/36", "32934"}, + {"2401:2200:10::/48", "55420"}, + {"240a:a599::/32", "144083"}, + {"2604:d680:5::/48", "29757"}, + {"2800:160:1397::/42", "14259"}, + {"2804:810::/32", "262344"}, + {"2a02:2a8::/32", "29655"}, + {"2001:388:20c5::/35", "7575"}, + {"2409:8750:500::/38", "56047"}, + {"2604:9e40::/46", "29457"}, + {"2804:4800::/32", "267091"}, + {"2804:7e74::/33", "271625"}, + {"2800:3c0:3060::/40", "19863"}, + {"2803:5d20::/32", "267757"}, + {"2a02:ac80:d001::/34", "25145"}, + {"2a06:56c0:11::/46", "51776"}, + {"2a09:8380:a::/48", "209561"}, + {"2402:3a80:400::/41", "38266"}, + {"2804:339c::/32", "265407"}, + {"2a00:1288:f044::/36", "10310"}, + {"2a12:6fc0::/31", "204957"}, + {"2001:559:87c4::/46", "7015"}, + {"2001:7f0::/39", "13237"}, + {"240a:a84f::/32", "144777"}, + {"2607:f7a8:603::/45", "46887"}, + {"2806:2f0:4281::/46", "17072"}, + {"2a02:4340::/32", "51551"}, + {"2a0d:3200::/29", "61161"}, + {"2001:df7:4e80::/48", "138754"}, + {"2001:1248:98fb::/45", "11172"}, + {"2402:800:5001::/39", "7552"}, + {"2404:60c0::/32", "131911"}, + {"240a:a335::/32", "143471"}, + {"240a:aa7f::/32", "145337"}, + {"2804:6378::/32", "269363"}, + {"2a00:bae0::/32", "14381"}, + {"2402:800:552b::/41", "7552"}, + {"2403:2c00:7::102/63", "4058"}, + {"2602:fe19::/43", "26073"}, + {"2a06:ac80:11::/48", "205427"}, + {"240a:aed2::/32", "146444"}, + {"2402:cec0::/32", "137566"}, + {"2800:160:1679::/40", "14259"}, + {"2a0e:b107:9d4::/47", "213262"}, + {"2001:4268:201::/40", "15964"}, + {"2407:e1c0::/42", "146872"}, + {"2620:12b:4081::/41", "395568"}, + {"2804:49dc::/32", "267205"}, + {"2804:8244:8400::/33", "272509"}, + {"2806:2f0:4321::/46", "17072"}, + {"2a00:1ec8:28::/43", "2854"}, + {"2a01:a980::/29", "197524"}, + {"2001:559:331::/48", "7015"}, + {"2001:67c:209c::/48", "212430"}, + {"2402:5580::/32", "133817"}, + {"2409:8a14:7000::/32", "56044"}, + {"2600:1901:ff80::/44", "396982"}, + {"2806:230:400e::/48", "265594"}, + {"2806:2f0:3463::/40", "17072"}, + {"2602:feda:185::/48", "142586"}, + {"2804:884::/47", "262375"}, + {"2804:cb0::/32", "52742"}, + {"2a01:c50e:f000::/39", "12479"}, + {"2a0d:f840::/29", "57756"}, + {"2001:67c:2f98::/48", "29691"}, + {"2404:4800::/46", "9892"}, + {"2804:14d:ac81::/43", "28573"}, + {"2804:6c90::/32", "270477"}, + {"2a0e:8f02:213d::/48", "211722"}, + {"240a:a218::/32", "143186"}, + {"2804:14c:65ca::/43", "28573"}, + {"2804:108c::/32", "28146"}, + {"2a00:5080::/32", "204119"}, + {"2a02:2e02:16b0::/39", "12479"}, + {"2001:559:86bb::/48", "7922"}, + {"2402:3880::/32", "23791"}, + {"2409:8008:1900::/34", "24547"}, + {"2409:8087:6c70::/35", "9808"}, + {"2409:8924:ab00::/37", "56046"}, + {"2602:fc80::/40", "396503"}, + {"2804:5d80:4100::/32", "268976"}, + {"2a02:188:6202::/29", "31027"}, + {"2a0e:a280::/29", "208254"}, + {"2001:67c:19ac::/48", "48919"}, + {"2001:67c:2ed4::/48", "6890"}, + {"2804:1398:12::/34", "263541"}, + {"2804:1460::/32", "28308"}, + {"2a0c:9280::/29", "42316"}, + {"2001:ee0:300::/47", "135905"}, + {"2407:4800::/33", "139759"}, + {"2620:100:4::/46", "19637"}, + {"2620:139:6008::/48", "22600"}, + {"2a02:128:7::/48", "50245"}, + {"2a02:26f7:f34b::/48", "20940"}, + {"2001:559:842e::/48", "33287"}, + {"2400:bb40:2005::/44", "141039"}, + {"2402:800:7410::/42", "7552"}, + {"240e:60c:b000::/37", "137688"}, + {"2600:6c10:c39::/38", "20115"}, + {"2a02:8200::/27", "9145"}, + {"240a:a1f8::/32", "143154"}, + {"2600:141c:7801::/32", "20940"}, + {"2a09:4c0:e01::/39", "58057"}, + {"2602:ffbd::/36", "14440"}, + {"2804:48f0::/32", "61589"}, + {"2001:559:c21d::/48", "33491"}, + {"2402:8100:2442::/44", "55644"}, + {"2408:8957:9500::/40", "17816"}, + {"240a:a47a::/32", "143796"}, + {"240a:a997::/32", "145105"}, + {"2604:bc40:6001::/39", "22188"}, + {"2a00:7ec0::/47", "8528"}, + {"2a01:7d20:e00::/40", "203645"}, + {"2001:520:101c::/42", "8103"}, + {"2806:2f0:1100::/46", "22884"}, + {"2402:ee40:5f::/48", "134033"}, + {"240a:aaed::/32", "145447"}, + {"2602:feda:b8c::/47", "200334"}, + {"2803:1000::/32", "263783"}, + {"2a04:4e40:2600::/48", "54113"}, + {"2001:1960:3::/43", "5650"}, + {"2409:8f1e::/31", "24400"}, + {"2605:18c0::/32", "25892"}, + {"2804:1570::/32", "263388"}, + {"2804:7be8:c00e::/43", "271462"}, + {"2a00:1348:10::/48", "57837"}, + {"2a0b:b40::/29", "51815"}, + {"2001:4d40::/32", "13237"}, + {"2604:ca00:156::/42", "36492"}, + {"2804:43fc:ff00::/40", "267614"}, + {"2404:ea80:300::/36", "135373"}, + {"2408:8456:8400::/42", "17622"}, + {"2001:559:c4fc::/48", "7725"}, + {"2a02:e980:19c::/42", "19551"}, + {"2400:dcc0::/32", "38631"}, + {"2405:ca40::/32", "134918"}, + {"2409:8087:3100::/36", "9808"}, + {"240a:a7aa::/32", "144612"}, + {"2602:fd23:3::/44", "33185"}, + {"2605:db40::/32", "398326"}, + {"2800:484:2800::/37", "14080"}, + {"2800:bf0:a810::/44", "27947"}, + {"2a02:26f7:eacc::/48", "36183"}, + {"2a0b:6b81:1::/48", "203729"}, + {"2a0e:b107:f60::/48", "207466"}, + {"2403:4c0:8000::/33", "17639"}, + {"2404:8000:a0:609::/44", "17451"}, + {"2606:2800:257::/44", "15133"}, + {"2801:80:6d0::/48", "52750"}, + {"2804:5fd4::/32", "269126"}, + {"2a03:82e0::/35", "200991"}, + {"2001:559:3cf::/48", "33654"}, + {"2001:57a:2203::/35", "22773"}, + {"2401:5a40::/32", "136759"}, + {"240e:3b9:f700::/36", "4134"}, + {"2001:559:4df::/42", "7725"}, + {"2400:dcc0:ab04::/37", "38631"}, + {"2603:b0e0:feee::/39", "11796"}, + {"2620:129:6020::/48", "395363"}, + {"2804:11bc:c000::/38", "263435"}, + {"2a00:7146::/48", "51430"}, + {"2a00:8a02:8010::/44", "200656"}, + {"2a02:e0c0:1000::/38", "9100"}, + {"2001:559:1ff::/48", "33491"}, + {"2001:559:8541::/48", "22909"}, + {"2408:2000::/24", "4608"}, + {"2a04:1bc3::/32", "60982"}, + {"2a09:800::/29", "209975"}, + {"2408:8459:8010::/42", "17623"}, + {"2600:1011:9010::/39", "6167"}, + {"2602:fbf0::/32", "400312"}, + {"2602:fd06::/36", "22150"}, + {"2803:8960::/39", "269736"}, + {"2a00:ec8::/37", "38930"}, + {"2a02:26f7:fbc9::/42", "20940"}, + {"2001:67c:674::/48", "12552"}, + {"2001:4870:e00b::/48", "21928"}, + {"2409:8904:8240::/39", "24547"}, + {"240e:438:7220::/43", "140647"}, + {"2620:0:690::/47", "13371"}, + {"2804:10d4::/32", "262376"}, + {"2804:3a48::/32", "266081"}, + {"2a02:26f7:be0c::/48", "36183"}, + {"2a0c:6180::/29", "47648"}, + {"2001:559:86f4::/47", "33651"}, + {"2001:978:8e01::/39", "174"}, + {"240a:a7a8::/32", "144610"}, + {"240a:a840::/32", "144762"}, + {"2806:2f0:20e2::/48", "17072"}, + {"2c0f:fc00::/27", "3741"}, + {"2001:559:8535::/48", "21508"}, + {"2001:df3:b380::/48", "38238"}, + {"2604:8100::/32", "26292"}, + {"2800:bf0:100::/46", "52257"}, + {"2404:3d00:40d4::/46", "21433"}, + {"240a:a11f::/32", "142937"}, + {"240a:a2d7::/32", "143377"}, + {"2403:5400:1811::/32", "38450"}, + {"2804:1dd8::/32", "264398"}, + {"2a00:13d0::/32", "48961"}, + {"2a02:26f7:c358::/48", "36183"}, + {"2a03:5640:f533::/41", "2906"}, + {"2c0f:f608:f200::/40", "21351"}, + {"2403:e040::/33", "138399"}, + {"2620:54:a000::/48", "396024"}, + {"2401:d800:7782::/41", "7552"}, + {"2401:d800:fca0::/41", "7552"}, + {"2804:5c70::/32", "268909"}, + {"2804:6710::/32", "269601"}, + {"2a05:dd80::/29", "1764"}, + {"2001:678:d30::/48", "59570"}, + {"240a:a11d::/32", "142935"}, + {"240a:a32d::/32", "143463"}, + {"2800:160:1c14::/42", "14259"}, + {"2800:160:2197::/42", "14259"}, + {"2804:204:231::/45", "28186"}, + {"2804:7a94::/35", "271380"}, + {"2001:559:727::/48", "33287"}, + {"2001:44b8:6066::/48", "7545"}, + {"2404:e801:1015::/44", "55430"}, + {"240e:3b5:7800::/39", "4134"}, + {"2a10:a8c0::/29", "211678"}, + {"2406:b700::/32", "58504"}, + {"2402:800:991d::/42", "7552"}, + {"2605:a900:6000::/32", "46887"}, + {"2804:14c:87fd::/46", "28573"}, + {"2a09:58c0:1::/48", "9186"}, + {"2a0f:8644:b00c::/31", "25682"}, + {"2a11:fac0::/32", "41044"}, + {"2001:4de0:3005::/39", "33438"}, + {"2804:1784:8900::/33", "263152"}, + {"2001:559:84dc::/47", "7015"}, + {"240e:966:9800::/34", "4134"}, + {"2804:c80::/32", "52719"}, + {"2804:4118::/32", "266003"}, + {"2806:36a::/32", "265613"}, + {"2a00:50c0::/48", "31415"}, + {"2409:8904:9490::/39", "24547"}, + {"2a02:2698:2400::/38", "41786"}, + {"2a05:1500:400::/40", "205631"}, + {"2a0e:1c80:8::/48", "3399"}, + {"2605:b780::/32", "54555"}, + {"2a00:1d58:ff00::/44", "47524"}, + {"2804:53e0:8200::/33", "28258"}, + {"2806:2f0:7063::/40", "17072"}, + {"2400:8b00:1600::/42", "45727"}, + {"2605:5340::/32", "62532"}, + {"2401:7400:e002::/36", "4773"}, + {"240a:a598::/32", "144082"}, + {"240a:a752::/32", "144524"}, + {"2600:9000:11b6::/47", "16509"}, + {"2603:c0e1:2000::/36", "54253"}, + {"2803:94c0::/32", "52273"}, + {"2806:230:4007::/48", "11888"}, + {"2a0d:6100::/29", "60781"}, + {"2400:4500::/32", "24167"}, + {"2402:800:54c5::/43", "7552"}, + {"240e:679:1000::/37", "140330"}, + {"2806:230:1206::/48", "265594"}, + {"2a06:e881:690f::/48", "208434"}, + {"2001:579:8c4::/43", "22773"}, + {"2001:1388:8a47::/43", "6147"}, + {"240e:940:8f00::/33", "4134"}, + {"2803:f2e0::/32", "269931"}, + {"2804:30::/32", "28169"}, + {"2804:6c0:500::/43", "262418"}, + {"2a02:cb43:8000::/48", "20546"}, + {"240e:3b9:7a00::/32", "140313"}, + {"2600:370f:60c1::/43", "32261"}, + {"2a03:fd80::/29", "200781"}, + {"2a0d:10c0::/29", "31566"}, + {"2401:d800:9640::/42", "7552"}, + {"2404:e100:2001::/48", "55685"}, + {"2408:8256:3681::/43", "17623"}, + {"240e:309::/35", "137691"}, + {"2803:aa80::/32", "263698"}, + {"2804:3a08::/32", "266066"}, + {"2a02:26f7:d745::/46", "20940"}, + {"2a03:db80:4815::/37", "680"}, + {"2400:9940:2001::/32", "136224"}, + {"2605:940:400::/40", "396919"}, + {"2606:2800:4af4::/47", "15133"}, + {"2804:c78::/32", "52714"}, + {"2a03:d5c0:1c00::/42", "199391"}, + {"2001:559:8332::/48", "20214"}, + {"2400:adc7:1000::/39", "9541"}, + {"240e:5a:46c0::/39", "140299"}, + {"2604:d600:532::/45", "32098"}, + {"2804:65e8::/32", "269522"}, + {"2806:260:1009::/48", "27672"}, + {"2a02:ee80:410b::/43", "3573"}, + {"2400:6100::/32", "137549"}, + {"2403:8740:1::/48", "138202"}, + {"240a:af46::/32", "146560"}, + {"2600:806:300::/48", "12234"}, + {"2a00:f28:20::/48", "57187"}, + {"2a0b:ae00:1c00::/29", "207044"}, + {"2607:f3a0::/43", "23342"}, + {"2406:2400:f01d::/48", "45287"}, + {"240a:abca::/32", "145668"}, + {"2001:678:d74::/48", "197058"}, + {"2001:67c:112c::/48", "212760"}, + {"2604:b300:ad01::/48", "394896"}, + {"2001:559:822b::/48", "33650"}, + {"2001:559:c2f3::/48", "33652"}, + {"2602:fed2:7128::/48", "53356"}, + {"2a02:26f7:cd05::/46", "20940"}, + {"2a03:6980::/32", "15830"}, + {"2405:19c0::/48", "18403"}, + {"2407:6180::/32", "138466"}, + {"2806:250:700::/40", "28509"}, + {"2001:579:d144::/42", "22773"}, + {"2001:6a8:8a01::/34", "2611"}, + {"2001:1248:5bdb::/42", "11172"}, + {"2409:8027:2a07::/39", "9808"}, + {"2620:46:8000::/48", "17234"}, + {"2801:c4:b4::/48", "28392"}, + {"2a02:1620:8004::/48", "4637"}, + {"2a02:26a8:f000::/36", "49675"}, + {"2001:480:1670::/48", "213"}, + {"2408:8256:337f::/48", "17816"}, + {"2605:a7c0:120::/48", "14618"}, + {"2804:4d50:e000::/36", "268189"}, + {"2a03:f040::/32", "48133"}, + {"2a0a:e5c0:8::/48", "207996"}, + {"2001:d88::/32", "4694"}, + {"2408:8456:7c00::/42", "17622"}, + {"2600:1004:d000::/41", "6167"}, + {"2605:c740::/32", "395510"}, + {"2a00:79e0:504::/48", "395973"}, + {"2a02:26f7:c3c0::/48", "36183"}, + {"2a02:d500::/29", "48596"}, + {"2606:7d00::/32", "23248"}, + {"2a04:1b00:10::/47", "61005"}, + {"2400:1d60::/32", "45727"}, + {"2406:3540:ffec::/46", "18041"}, + {"2408:8957:d6c0::/36", "17816"}, + {"2409:8c70:3ad4::/48", "140105"}, + {"2607:f220:f0::/48", "7046"}, + {"2a01:7ce0::/32", "62102"}, + {"2a0c:6580:2::/48", "35365"}, + {"2001:678:bc4::/48", "62126"}, + {"2001:1248:846b::/45", "11172"}, + {"2804:84fc:500::/36", "272550"}, + {"2a02:8380::/30", "8412"}, + {"2001:428:6809::/32", "209"}, + {"2401:1780::/32", "18046"}, + {"2a05:6740:40c0::/48", "206228"}, + {"2001:67c:4a4::/48", "3301"}, + {"240e:44d:6600::/42", "140345"}, + {"240e:965:800::/37", "133774"}, + {"2602:fcd8:1c::/46", "399141"}, + {"2a01:c9c0:800f::/48", "2280"}, + {"2a03:56a0::/32", "50971"}, + {"2001:67c:88c::/48", "42441"}, + {"2408:8459:8c50::/38", "17816"}, + {"2409:8c54:4900::/35", "56040"}, + {"2606:4180::/35", "393775"}, + {"2800:160:17fd::/36", "14259"}, + {"2a03:97c0:1::/48", "58076"}, + {"2a07:acc0::/29", "39899"}, + {"2a0d:d900:1::/48", "57164"}, + {"2402:3a80:1c88::/42", "38266"}, + {"240e:45c:c600::/40", "131285"}, + {"2a00:79e1:f20::/48", "36384"}, + {"2a07:3b80:4::/29", "47869"}, + {"2c0f:efd0::/36", "328336"}, + {"2001:510:101::/44", "376"}, + {"2400:8000:2421::/35", "4800"}, + {"2804:984:f800::/37", "263097"}, + {"2a00:e40::/32", "9127"}, + {"2400:9380:9dc0::/44", "136167"}, + {"240a:a84b::/32", "144773"}, + {"2800:bf0:806b::/43", "27947"}, + {"2001:250:3c11::/46", "138369"}, + {"2620:134:a000::/47", "40907"}, + {"2804:1b0:e000::/31", "18881"}, + {"2804:60e0::/32", "269197"}, + {"2804:7d64::/32", "271558"}, + {"2a0d:ca47:863::/32", "8423"}, + {"2001:559:8217::/48", "33651"}, + {"2408:80ea:7500::/41", "17816"}, + {"2406:840:e20f::/48", "142112"}, + {"2a04:ad80:2::/48", "60011"}, + {"2001:550:b701::/36", "174"}, + {"2403:4100::/32", "24210"}, + {"2804:2be4::/32", "263004"}, + {"2804:5e68::/32", "269031"}, + {"2a02:5600::/32", "31430"}, + {"2001:559:c30f::/48", "33650"}, + {"2001:40e8::/32", "30798"}, + {"2402:800:539b::/41", "7552"}, + {"2407:a8c0::/32", "135772"}, + {"2408:8256:398c::/48", "17623"}, + {"2a02:26f7:f881::/46", "20940"}, + {"2408:84e9::/32", "4837"}, + {"240e:3b0:1800::/34", "4134"}, + {"2607:f428:93b0::/44", "20115"}, + {"2800:bf0:34::/44", "52257"}, + {"2a02:fa8:4400::/44", "25751"}, + {"2408:8256:2f9f::/35", "17816"}, + {"240a:af6e::/32", "146600"}, + {"240e:67c:e200::/39", "140329"}, + {"2604:880:54::/48", "29802"}, + {"2804:27d8::/32", "263925"}, + {"2a02:88d:4010::/44", "48695"}, + {"2a0f:9980:6::/48", "40676"}, + {"2001:559:3de::/48", "7922"}, + {"2400:9380:9270::/46", "4809"}, + {"2404:3d00:4058::/47", "21433"}, + {"240a:a682::/32", "144316"}, + {"240a:a7f1::/32", "144683"}, + {"2600:1004:f010::/40", "22394"}, + {"2801:80:3f00::/48", "272616"}, + {"2400:cb00:83::/44", "13335"}, + {"2402:800:340f::/43", "7552"}, + {"2a02:26f7:7c::/48", "36183"}, + {"2a0b:6900:1ad::/48", "212461"}, + {"2001:480:aa::/47", "5132"}, + {"2001:67c:448::/48", "1257"}, + {"2001:1a11:d6::/48", "8781"}, + {"2605:bf80:100::/40", "11889"}, + {"2607:1b00:93b2::/48", "54456"}, + {"2607:fdc0:300::/32", "20326"}, + {"2804:e0:4::/37", "28330"}, + {"2a02:2fc0::/29", "12586"}, + {"2a0c:b641:a0::/44", "212299"}, + {"2a0f:5707:aa30::/44", "207306"}, + {"2001:678:b5c::/48", "60033"}, + {"2001:4408:8508::/45", "55824"}, + {"2001:4878:2246::/48", "12222"}, + {"240e:108:28::/48", "133775"}, + {"2a07:2f00::/48", "203132"}, + {"2a0b:ecc0::/29", "205390"}, + {"2404:7180:a000::/48", "23848"}, + {"2804:6148::/32", "269226"}, + {"2806:230:1022::/48", "265594"}, + {"2a02:26f7:c8d0::/48", "36183"}, + {"2c0f:ed48::/32", "328467"}, + {"2407:3e00:e000::/48", "24075"}, + {"2407:f0c0::/32", "140151"}, + {"2409:894a:6400::/35", "24445"}, + {"2a06:d980::/29", "51539"}, + {"2407:3c80::/47", "55705"}, + {"2803:c600::/44", "27901"}, + {"2804:1680::/32", "263289"}, + {"2806:269:4300::/37", "13999"}, + {"2a0e:fd45:40fb::/48", "136620"}, + {"2c0f:f3d0::/32", "3491"}, + {"2001:559:52e::/48", "33662"}, + {"2001:559:58e::/48", "7015"}, + {"2001:1248:a006::/44", "11172"}, + {"240a:a004::/32", "142654"}, + {"240a:a734::/32", "144494"}, + {"2804:e0:501::/32", "28330"}, + {"2a02:26f7:bac9::/42", "20940"}, + {"2a02:e980:15e::/42", "19551"}, + {"2a0a:4f80::/32", "206281"}, + {"2402:4e00:50::/39", "45090"}, + {"2405:7f00:c220::/36", "133414"}, + {"2804:14d8:c000::/34", "263354"}, + {"2a03:c6c0::/48", "42421"}, + {"2a0f:6440::/29", "200899"}, + {"2001:67c:2acc::/48", "205046"}, + {"2409:8027:290a::/38", "9808"}, + {"240e:356:6400::/31", "4134"}, + {"2600:1480:9001::/37", "20940"}, + {"2804:346c::/32", "265457"}, + {"2a00:4802:370::/44", "8717"}, + {"2a05:1083:ff03::/48", "211876"}, + {"2001:1658::/29", "719"}, + {"2402:f100::/38", "38902"}, + {"2804:605c::/32", "269162"}, + {"2804:6794::/32", "269637"}, + {"2403:41c0::/32", "63969"}, + {"2607:8300:1010::/48", "13876"}, + {"2a0c:4ac0:1100::/38", "58212"}, + {"2409:896a:6100::/38", "9808"}, + {"240e:a5:4000::/36", "137693"}, + {"2605:a404:e00::/32", "33363"}, + {"2a01:ad00:129::/32", "51865"}, + {"2a02:26f7:da80::/48", "36183"}, + {"2001:559:2b9::/46", "7015"}, + {"2001:978:6000:1::/37", "174"}, + {"2806:230:6009::/48", "11888"}, + {"2a0d:7380::/29", "202918"}, + {"2c0e:40:402::/39", "24863"}, + {"2001:559:85ee::/48", "7016"}, + {"240e:44d:1140::/42", "140358"}, + {"2801:16e::/48", "19429"}, + {"2804:14d:8e92::/41", "28573"}, + {"2406:6cc0:a300::/48", "63515"}, + {"2409:806c:3900::/27", "9808"}, + {"2001:520:103b::/48", "8103"}, + {"2604:f980:4300::/44", "19957"}, + {"2a02:26f7:cc8d::/46", "20940"}, + {"2a0e:5100::/29", "30823"}, + {"2a10:9906::/36", "39409"}, + {"2001:559:8082::/48", "33490"}, + {"2408:870c:3010::/36", "17621"}, + {"2408:8956:3000::/40", "17622"}, + {"240a:aaf2::/32", "145452"}, + {"2001:fd8:f0b0::/44", "4775"}, + {"2001:1a11:131::/44", "42298"}, + {"2402:b801:2b00::/35", "18371"}, + {"2602:fe02::/47", "16816"}, + {"2604:940:30::/48", "40386"}, + {"2804:4388::/32", "267576"}, + {"2a07:bbc0:1::/48", "35365"}, + {"2001:559:75c::/48", "33659"}, + {"2001:1248:992a::/43", "11172"}, + {"2406:1600:301::/32", "23871"}, + {"2407:d40:8001::/33", "139009"}, + {"2800:bf0:1c5::/48", "27947"}, + {"2a0a:ad00:9a::/48", "42352"}, + {"2803:2a80:1265::/48", "262928"}, + {"2804:1784:130::/32", "263152"}, + {"2804:4058::/32", "265953"}, + {"2a02:2698:8c00::/38", "57026"}, + {"2001:559:c42c::/48", "33287"}, + {"2001:678:568::/48", "58116"}, + {"2001:678:cac::/48", "39702"}, + {"2401:78c0:2::/32", "56150"}, + {"2401:d800:f042::/42", "7552"}, + {"2404:4e00:3::/45", "32787"}, + {"240a:ae1f::/32", "146265"}, + {"2a00:10d8:11::/31", "42005"}, + {"2a00:dd80:20::/48", "36236"}, + {"2a02:26f7:d305::/46", "20940"}, + {"2408:8956:fd00::/40", "17622"}, + {"2a00:e520::/32", "35551"}, + {"2a02:26f7:65::/48", "20940"}, + {"2001:4890::/32", "3257"}, + {"2401:b300::/32", "131999"}, + {"2402:1940::/32", "38198"}, + {"2403:1e40::/39", "137967"}, + {"2408:8956:af00::/40", "17816"}, + {"240a:a27f::/32", "143289"}, + {"2600:370f:5200::/45", "32261"}, + {"2804:9d8::/32", "262997"}, + {"2804:78c0::/32", "271263"}, + {"2a11:2800:2::/48", "42244"}, + {"2001:250:c0c::/48", "23910"}, + {"2401:d600::/32", "45204"}, + {"2403:51c0::/32", "138022"}, + {"2600:1006:b170::/40", "22394"}, + {"2804:10bc:500::/32", "263646"}, + {"2a03:90c0:9990::/46", "199524"}, + {"2a04:4100::/29", "31712"}, + {"2a0f:3300::/29", "208543"}, + {"2600:370f:40a2::/47", "32261"}, + {"2603:c002:8350::/36", "31898"}, + {"2001:1424::/48", "47578"}, + {"2409:896a:7a00::/39", "9808"}, + {"2600:5c00:f8e5::/37", "20001"}, + {"2800:310:3::/43", "18678"}, + {"2804:4b0:348::/43", "262459"}, + {"2a02:26f7:eec4::/48", "36183"}, + {"2402:800:9401::/44", "7552"}, + {"2406:840:f4cf::/48", "142586"}, + {"2409:8069:2a08::/39", "9808"}, + {"240a:a43b::/32", "143733"}, + {"2600:1419:a001::/37", "20940"}, + {"2610:b0:40d8::/47", "21433"}, + {"2804:16f0::/33", "263109"}, + {"2804:1bd8:4901::/40", "28224"}, + {"2a0e:8f02:2000::/44", "213045"}, + {"2001:559:7fd::/48", "7725"}, + {"2001:4490:3d00::/42", "9829"}, + {"2402:800:362b::/41", "7552"}, + {"2403:9800:11::/48", "4771"}, + {"2404:f4c0:f200::/48", "139589"}, + {"240a:ae36::/32", "146288"}, + {"2806:1008::/32", "8151"}, + {"2409:896a:2c00::/39", "9808"}, + {"240e:438:aa40::/37", "4134"}, + {"2605:46c0::/44", "395658"}, + {"2804:3e04:2000::/32", "266568"}, + {"2a11:2480::/29", "61192"}, + {"2001:67c:1198::/47", "47805"}, + {"2409:8054:3c::/48", "9808"}, + {"2601::/20", "7922"}, + {"2620:0:61f::/48", "6223"}, + {"2a02:ee80:4248::/47", "21433"}, + {"2a06:e881:6700::/44", "208751"}, + {"240a:a317::/32", "143441"}, + {"240e:96b:601b::/45", "140373"}, + {"2800:bf0:1cc::/47", "52257"}, + {"2804:14d:4cef::/43", "28573"}, + {"2a02:26f7:b580::/48", "36183"}, + {"2600:1403:3c01::/33", "20940"}, + {"2a02:23c0::/32", "45011"}, + {"2001:418:1401:1c::/64", "20940"}, + {"2409:8057:3810::/48", "9808"}, + {"2409:805f:3100::/36", "9808"}, + {"2620:89:c000::/48", "20099"}, + {"2804:bd8:6100::/32", "52838"}, + {"2a0a:2842:100::/48", "42962"}, + {"2a0e:46c4:22ad::/48", "136918"}, + {"2001:678:d84::/48", "207908"}, + {"2001:41f8::/32", "13115"}, + {"2804:1398:2::/43", "263541"}, + {"2a0c:3300::/32", "211215"}, + {"2001:67c:2748::/48", "51810"}, + {"2001:67c:27ac::/48", "8881"}, + {"2402:9e80:43::/48", "138631"}, + {"2404:0:8040::/38", "131591"}, + {"240a:a0fd::/32", "142903"}, + {"2605:3c80:fa::/48", "20115"}, + {"2a06:41c0::/45", "51559"}, + {"2a06:e881:110::/48", "206551"}, + {"2a10:a600::/32", "201641"}, + {"2a11:e40::/29", "204790"}, + {"2401:4900:4bd5::/44", "45609"}, + {"2402:800:338d::/43", "7552"}, + {"240a:af9f::/32", "146649"}, + {"2604:c0c0:2000::/35", "14525"}, + {"2605:a401:8665::/40", "33363"}, + {"2803:d180::/48", "263245"}, + {"2804:e94:800::/38", "262468"}, + {"2a06:b7c0::/29", "203740"}, + {"2a0a:40c0::/29", "49596"}, + {"2602:fc42:1::/48", "398017"}, + {"2a00:6720::/32", "34031"}, + {"2404:8000:101a::/42", "17451"}, + {"2603:c0ee::/35", "54253"}, + {"2606:c00:35::/48", "10126"}, + {"2a00:4bc0:700::/34", "31004"}, + {"2a0e:1c04:1::/30", "61317"}, + {"2604:fb80:601::/36", "15128"}, + {"2800:160:127f::/40", "14259"}, + {"2404:e200:101::/45", "18353"}, + {"2803:c010:e6::/48", "271799"}, + {"2804:17f0::/32", "263259"}, + {"2001:67c:1560::/46", "41231"}, + {"240a:aea9::/32", "146403"}, + {"2001:579:4204::/41", "22773"}, + {"2400:8800:1800::/37", "3491"}, + {"2404:bf40:a103::/41", "139084"}, + {"2404:fd00::/44", "58552"}, + {"2409:8904:5340::/42", "24547"}, + {"2620:11d:9002:100::/56", "33186"}, + {"2a05:df00::/31", "47891"}, + {"2001:938:4022::/45", "8437"}, + {"240a:a3b5::/32", "143599"}, + {"2a07:be00::/29", "31723"}, + {"2001:559:846b::/48", "22909"}, + {"2001:da8:e805::/44", "24368"}, + {"2001:1a11:146::/47", "8781"}, + {"2408:8459:f010::/42", "17623"}, + {"2801:18:800::/48", "267740"}, + {"2402:800:3afe::/39", "7552"}, + {"2409:8053::/47", "56047"}, + {"2800:bf0:95::/44", "27947"}, + {"2a00:1a90:8000::/48", "33854"}, + {"2a0e:b107:31f::/48", "57164"}, + {"2404:1f00:ffa0::/47", "9498"}, + {"2606:6dc0::/35", "13781"}, + {"2606:d101::/36", "395563"}, + {"2a10:7a80::/29", "213317"}, + {"2402:800:bb30::/41", "7552"}, + {"2408:8459:ea10::/42", "17623"}, + {"240e:3bd:7600::/39", "140313"}, + {"2804:62a4::/32", "269309"}, + {"2a00:15f8::/32", "25532"}, + {"2a0c:6cc0::/29", "203082"}, + {"2a0c:a680::/29", "21331"}, + {"2a0f:2cc0::/29", "60262"}, + {"2001:14a8::/32", "15547"}, + {"2402:c180::/32", "134503"}, + {"240a:a900::/32", "144954"}, + {"2600:1012:f100::/44", "6167"}, + {"2620:1b:4000::/48", "54722"}, + {"2806:2f0:34c3::/42", "17072"}, + {"2a0b:bbc0::/39", "205388"}, + {"2804:5e0c::/32", "269008"}, + {"2a00:8440::/32", "198508"}, + {"2001:bf7:180::/37", "44194"}, + {"240e:5e:10d0::/44", "140320"}, + {"2800:160:15c3::/43", "14259"}, + {"2804:3258::/32", "265072"}, + {"2a00:13c8:4::/32", "25291"}, + {"2401:cf80:60ff::/39", "55303"}, + {"2407:cdc0:eeee::/48", "38136"}, + {"2620:128:2011::/40", "395287"}, + {"2800:160:1279::/45", "14259"}, + {"2803:bc60::/32", "264773"}, + {"2804:4b1c::/32", "267284"}, + {"2a0a:b706:9992::/45", "204363"}, + {"2001:1900:228d::/43", "3356"}, + {"2a01:cde0:40::/48", "16028"}, + {"2001:559:8185::/48", "33652"}, + {"2402:8100:27a0::/47", "45271"}, + {"2600:1408:d400::/48", "36183"}, + {"2a02:26f7:22::/48", "36183"}, + {"2c0f:f5c0::/46", "29465"}, + {"2001:4490:de24::/46", "9829"}, + {"2400:a980:60f0::/44", "133512"}, + {"2a06:cd40:200::/48", "43927"}, + {"2a0e:15c0:34b::/31", "60781"}, + {"2a0e:97c0:3b0::/48", "211484"}, + {"2001:678:5e0::/48", "204671"}, + {"2001:df3:c180::/48", "140671"}, + {"2408:8256:2f8c::/48", "17623"}, + {"2607:f170:120::/41", "6364"}, + {"2801:80:3540::/48", "268850"}, + {"2806:230:2049::/48", "11888"}, + {"2a02:26f0:b6::/44", "20940"}, + {"2001:b000:100::/37", "3462"}, + {"2603:c0e9:2000::/36", "1218"}, + {"2804:297c:c921::/37", "262907"}, + {"2804:5534:f000::/37", "268696"}, + {"2a02:2e02:9d40::/38", "12479"}, + {"2400:adc0:4020::/48", "9541"}, + {"2400:fa40::/32", "58768"}, + {"2604:3040::/32", "394907"}, + {"2803:a600::/32", "52388"}, + {"2a02:2e02:9c70::/40", "12479"}, + {"2a0a:9080::/29", "60981"}, + {"2001:728:0:5000::15ea/127", "29632"}, + {"2001:4d78:fe19::/48", "15830"}, + {"2401:d800:f700::/42", "7552"}, + {"2406:da70:a000::/40", "16509"}, + {"2409:807c:3900::/33", "9808"}, + {"2604:4000:6800::/37", "32636"}, + {"2605:6404::/32", "53667"}, + {"2804:1b0::/36", "10429"}, + {"2806:206::/32", "28398"}, + {"2a02:16a8::/32", "5404"}, + {"2001:418:1401:72::/60", "2914"}, + {"2406:3003:2060::/43", "55430"}, + {"240e:983:a00::/40", "4134"}, + {"2a02:26f7:e805::/46", "20940"}, + {"240a:a219::/32", "143187"}, + {"2607:fb10:7192::/38", "2906"}, + {"2800:b70:2000::/48", "262191"}, + {"2a02:26f7:b804::/48", "36183"}, + {"2a05:47c0::/36", "199167"}, + {"2600:1fa0:c020::/44", "16509"}, + {"2804:2b44:8100::/33", "265144"}, + {"2804:3364:500::/32", "265393"}, + {"2a00:ed80::/32", "34100"}, + {"2001:559:1b4::/48", "33652"}, + {"2001:559:7a1::/48", "33657"}, + {"2001:559:c251::/46", "7015"}, + {"2407:f700:2000::/32", "132215"}, + {"2a02:6ea0:1000::/39", "212238"}, + {"2a0c:eb00::/32", "204983"}, + {"2604:b300:ad0a::/48", "394896"}, + {"2800:280::/33", "27781"}, + {"2803:bc40:a003::/45", "52468"}, + {"2a0b:1306:1dc::/48", "209915"}, + {"2001:250:7008::/47", "24369"}, + {"2408:8957:e100::/40", "17816"}, + {"2001:1900:2211::/46", "3356"}, + {"2600:1417:3001::/37", "20940"}, + {"2606:18c0:f::/48", "14445"}, + {"2620:11a:a011::/48", "36040"}, + {"2800:bf0:292::/44", "27947"}, + {"2a01:2e1:ffff:6::/64", "21243"}, + {"2a02:ee80:424d::/46", "3573"}, + {"240a:a541::/32", "143995"}, + {"2602:fc23:110::/48", "57401"}, + {"2001:559:871c::/48", "7015"}, + {"2001:df0:66::/48", "45894"}, + {"2407:a080::/33", "133480"}, + {"2409:8000:5d00::/31", "9808"}, + {"2610:a1:30fd::/48", "397226"}, + {"2803:8240:db::/32", "52511"}, + {"2803:fbc0::/45", "265762"}, + {"2001:67c:2aa4::/48", "8447"}, + {"2402:c4c0::/32", "132933"}, + {"2a0c:bf81::/48", "61295"}, + {"240e:45c:6600::/40", "131285"}, + {"2800:5f0:3028::/33", "22724"}, + {"2a01:6f0:ffff::/48", "63473"}, + {"2a02:26f7:e9c5::/46", "20940"}, + {"240a:acd1::/32", "145931"}, + {"2602:107:610::/48", "20001"}, + {"2604:5500:8000::/38", "19165"}, + {"2a00:11c0:78::/48", "42473"}, + {"2a03:b7c0::/32", "29286"}, + {"2603:c002:9910::/38", "31898"}, + {"2a03:3ca0::/32", "59785"}, + {"2a10:5f00::/29", "399975"}, + {"2001:559:7cf::/48", "7015"}, + {"2001:559:814a::/48", "33652"}, + {"240a:a267::/32", "143265"}, + {"2620:80:8000::/48", "16796"}, + {"2620:104:c000::/44", "13462"}, + {"2804:4234:8001::/33", "26104"}, + {"2a02:26f7:e800::/48", "36183"}, + {"2001:df0:cd80::/48", "139279"}, + {"2001:16a2:3c00::/39", "39386"}, + {"2804:6ddc::/32", "270560"}, + {"2001:559:259::/48", "33651"}, + {"2405:3d40::/32", "139523"}, + {"2620:12d:d000::/48", "63415"}, + {"2804:eb4:780::/32", "61890"}, + {"2804:6c88::/32", "270474"}, + {"2001:448a:2050::/40", "7713"}, + {"240e:983:1701::/48", "134238"}, + {"2403:9800:b056::/44", "4648"}, + {"2405:7f80::/32", "137510"}, + {"2407:3880:101::/32", "133012"}, + {"240a:a30a::/32", "143428"}, + {"2606:4700:22::/41", "13335"}, + {"2803:b2c0:1100::/48", "264851"}, + {"2806:2f0:31e3::/38", "17072"}, + {"2a02:26f7:dd08::/48", "36183"}, + {"2610:1a0:301::/33", "40193"}, + {"2806:230:204e::/48", "265594"}, + {"2806:2f0:9165::/40", "17072"}, + {"2a02:26f7:d4::/48", "36183"}, + {"2001:67c:24cc::/48", "12464"}, + {"2001:df6:b380::/48", "142288"}, + {"2401:d800:2980::/42", "7552"}, + {"2a01:4b40:7000::/32", "21299"}, + {"2a02:7a60::/47", "47674"}, + {"240a:aaf7::/32", "145457"}, + {"2604:9380::/32", "33230"}, + {"2620:185::/41", "11396"}, + {"2001:da8:20a::/48", "24351"}, + {"2602:fda3::/46", "397942"}, + {"2a02:cd8::/32", "42760"}, + {"2a0e:b107:a5f::/48", "209606"}, + {"2408:8957:5b00::/40", "17816"}, + {"2605:b100:800::/40", "577"}, + {"240a:a96d::/32", "145063"}, + {"2600:2c00:8000::/34", "7349"}, + {"2607:f5c0::/32", "10326"}, + {"2607:f750:1000::/40", "23473"}, + {"2a04:e4c0:40::/44", "36692"}, + {"2a07:3500:1b90::/48", "33915"}, + {"2600:1417:7b::/37", "20940"}, + {"2a09:7:2008::/48", "3258"}, + {"2001:559:8604::/48", "7922"}, + {"240a:acc2::/32", "145916"}, + {"2605:8400::/32", "10242"}, + {"2620:131:5000::/40", "395468"}, + {"2a01:4840::/32", "43942"}, + {"2a03:73c0::/48", "8426"}, + {"2a0a:f80::/29", "51546"}, + {"2a0e:8f02:f013::/48", "212279"}, + {"2a0f:5381:1313::/42", "208135"}, + {"2402:800:5563::/43", "7552"}, + {"2404:bf40:e104::/38", "139084"}, + {"2406:8800:9025::/44", "17465"}, + {"2408:8459:a830::/41", "17622"}, + {"240a:a503::/32", "143933"}, + {"240a:aaaf::/32", "145385"}, + {"2804:474c::/32", "267044"}, + {"2a01:aea0::/36", "42473"}, + {"2a0e:b107:f28::/48", "212268"}, + {"2a0e:fd45:2ba0::/48", "211041"}, + {"2409:8924:5900::/38", "56046"}, + {"2602:fc52:315::/48", "209864"}, + {"2604:c240::/32", "22952"}, + {"2804:3c3c::/32", "266198"}, + {"2001:fd8:3280::/42", "132199"}, + {"2401:d800:f640::/42", "7552"}, + {"2404:9600::/38", "7600"}, + {"2600:140f:bc01::/38", "20940"}, + {"2600:1413:d001::/36", "20940"}, + {"2602:ff10::/36", "19544"}, + {"2804:218:e002::/35", "27715"}, + {"2804:7b48::/32", "271422"}, + {"2a01:170:1050::/48", "208545"}, + {"2001:559:2bd::/46", "7015"}, + {"2001:67c:7ac::/48", "13030"}, + {"2001:67c:104c::/48", "59524"}, + {"240a:ac1b::/32", "145749"}, + {"2620:129:9001::/63", "13767"}, + {"2806:3d6::/32", "270142"}, + {"2a02:ee80:411e::/42", "3573"}, + {"2001:da8:e814::/48", "24368"}, + {"2620:115:c000::/46", "2635"}, + {"2620:171:5e::/47", "715"}, + {"2620:18c:f2::/36", "396507"}, + {"2a02:26f7:2::/48", "36183"}, + {"2a02:26f7:a6::/48", "36183"}, + {"2a09:bac0:59::/48", "13335"}, + {"2001:df5:3b00::/48", "17439"}, + {"2600:100f:b030::/41", "22394"}, + {"2600:6c32::/31", "20115"}, + {"2a00:ea20::/29", "28884"}, + {"2001:559:80c0::/48", "33650"}, + {"2001:1b40::/34", "20860"}, + {"2600:1407:8800::/48", "35994"}, + {"2602:ff96:4::/48", "8100"}, + {"2606:8440::/32", "400030"}, + {"2a0e:fd45:40f1::/48", "48646"}, + {"2001:da8:e01b::/45", "24367"}, + {"2603:c002:8b30::/37", "31898"}, + {"2620:64:4000::/48", "54480"}, + {"2a01:510::/32", "43708"}, + {"2a02:b28::/29", "42605"}, + {"2a06:4a80::/32", "57685"}, + {"2a07:c3c0::/29", "50033"}, + {"2001:67c:191c::/48", "35445"}, + {"2600:1406:36::/48", "20940"}, + {"2600:9000:10c8::/48", "16509"}, + {"2804:399c::/32", "266039"}, + {"2a0f:607:1300::/44", "7603"}, + {"2001:678:ac4::/48", "208505"}, + {"2400:ac40:cb0::/41", "136255"}, + {"2620:10b:3000::/40", "55166"}, + {"2a02:1c8:a::/48", "60095"}, + {"240e:8f:e000::/35", "134761"}, + {"2806:230:4041::/46", "11888"}, + {"2a00:77a0::/32", "39586"}, + {"2a01:a580::/29", "30972"}, + {"2604:8540:fcf0::/48", "33353"}, + {"2604:f240::/32", "30317"}, + {"2a02:26f7:b7c5::/46", "20940"}, + {"2a03:1980:d400::/40", "48260"}, + {"2a03:f003:4::/38", "25472"}, + {"2605:f400:2::/47", "54641"}, + {"2804:630c::/32", "269335"}, + {"2a02:26f7:c541::/46", "20940"}, + {"2a0f:7180::/29", "43995"}, + {"240a:a117::/32", "142929"}, + {"2600:1419:f401::/36", "20940"}, + {"2603:60b3::/32", "11426"}, + {"2604:9cc0:7::/44", "50131"}, + {"2804:17b8::/32", "262434"}, + {"2a01:2a8::/29", "1836"}, + {"2a07:5080::/29", "49223"}, + {"240a:a2f4::/32", "143406"}, + {"240e:96b:602a::/45", "140378"}, + {"2804:3aa0::/32", "266100"}, + {"2a01:8340::/39", "59410"}, + {"2a06:7400::/29", "59398"}, + {"2c0f:fe38:2260::/39", "33771"}, + {"2001:559:838c::/48", "7922"}, + {"2001:df5:b80::/48", "141107"}, + {"2400:3b00:20::/48", "18229"}, + {"2404:a640:114::/42", "133827"}, + {"2804:14d:5000::/40", "28573"}, + {"2804:2650:d000::/34", "264340"}, + {"2a01:488:bb0d::/48", "398107"}, + {"2a0a:e5c0:e::/47", "207996"}, + {"2400:1120:168::/48", "56308"}, + {"2409:4021:2000::/29", "55836"}, + {"2409:805e:100::/36", "9808"}, + {"2a00:1ce0::/32", "50530"}, + {"2a03:34e0::/32", "12695"}, + {"2a06:8187:fb00::/40", "64475"}, + {"240e:97d:2000::/36", "134764"}, + {"2607:fcd0:fac0::/37", "8100"}, + {"2620:1d6:ff4::/44", "2571"}, + {"2a04:4cc0::/29", "47215"}, + {"2001:df0:f500::/48", "142379"}, + {"2401:3c00:d8::/45", "38322"}, + {"2607:6100:1005::/48", "23026"}, + {"2400:cb00:360::/48", "13335"}, + {"2a04:5e80::/29", "60243"}, + {"2a0d:40::/29", "39204"}, + {"2001:559:873f::/48", "33491"}, + {"240a:a4f2::/32", "143916"}, + {"2804:14d:e650::/42", "28573"}, + {"2804:cb0:d000::/38", "52742"}, + {"2804:6574::/32", "269491"}, + {"2a04:f310::/31", "12344"}, + {"2001:388:a099::/33", "7575"}, + {"2402:8100:26d8::/47", "45271"}, + {"2403:780:e400::/35", "64098"}, + {"2600:1405:a001::/35", "20940"}, + {"2610:a1:3070::/48", "12008"}, + {"2a03:2887:ff37::/44", "63293"}, + {"2001:559:c4d5::/48", "33667"}, + {"2001:da8:b013::/37", "23910"}, + {"240a:af73::/32", "146605"}, + {"2600:1015:b030::/41", "6167"}, + {"2a01:5040:21::/41", "43996"}, + {"2402:b400:41f0::/37", "45960"}, + {"2409:8c14:2000::/36", "56044"}, + {"240a:a6d1::/32", "144395"}, + {"2604:2680:5::/46", "2386"}, + {"2a02:ce80::/46", "200183"}, + {"2a10:2f00:181::/48", "207556"}, + {"2408:8256:3b6c::/43", "17623"}, + {"2804:2190::/32", "264562"}, + {"2a0a:54c1:28::/47", "9053"}, + {"2803:7260::/46", "52238"}, + {"2001:470:156::/48", "25948"}, + {"2001:559:c3b4::/48", "7922"}, + {"2001:df1:3100::/48", "64050"}, + {"2620:55:8000::/48", "53804"}, + {"2804:4950::/32", "267177"}, + {"2804:6fd4::/32", "270687"}, + {"2a03:9da0::/40", "42831"}, + {"2a0e:9100::/29", "212872"}, + {"2a0f:5ac0::/32", "60472"}, + {"2001:559:84bb::/48", "33491"}, + {"2001:fd8:3006::/44", "132199"}, + {"2402:800:f2f0::/39", "7552"}, + {"2402:8100:39a0::/44", "45271"}, + {"2408:8656:3100::/38", "17816"}, + {"2408:8957:19c0::/38", "17622"}, + {"2a04:3a00::/29", "60703"}, + {"240a:a72c::/32", "144486"}, + {"2600:6c38:f2e::/47", "20115"}, + {"2a01:b740:a0b::/45", "714"}, + {"2400:adc7:800::/39", "9541"}, + {"2408:8459:6450::/38", "17816"}, + {"2804:14c:bba9::/45", "28573"}, + {"2804:4b9c::/32", "267318"}, + {"2a01:8840:b9::/48", "207266"}, + {"2001:250:21b::/45", "23910"}, + {"2408:8756:4cf2::/44", "136959"}, + {"2620:1f8:f011::/46", "40443"}, + {"2804:6d8::/32", "262609"}, + {"2804:3ca4::/32", "266226"}, + {"2804:6588::/32", "269497"}, + {"2a04:6b40::/29", "8681"}, + {"2a11:f740:2::/48", "210560"}, + {"2001:579:b04c::/43", "22773"}, + {"2402:8100:259e::/42", "55644"}, + {"2804:e94:8000::/44", "262468"}, + {"2a02:26f7:f008::/48", "36183"}, + {"2a11:af04::/30", "208861"}, + {"2401:d800:b232::/41", "7552"}, + {"2804:180::/32", "26615"}, + {"2804:3f34::/32", "262351"}, + {"2804:7668::/32", "271110"}, + {"2a0d:240::/29", "8881"}, + {"2402:8100:2000::/43", "45271"}, + {"2402:ef0f::/32", "9430"}, + {"240a:ac8f::/32", "145865"}, + {"2804:37f0:4100::/36", "266445"}, + {"2804:5ef8::/32", "269068"}, + {"2804:8638::/32", "272629"}, + {"2600:6c34:1d8::/48", "33588"}, + {"2600:9000:2061::/40", "16509"}, + {"2620:109:c001::/46", "14413"}, + {"2800:484:cb00::/40", "10620"}, + {"2804:204:301::/46", "28186"}, + {"2806:3dd::/32", "28443"}, + {"2a01:4a0:f::/43", "201011"}, + {"2a0c:7040::/32", "203488"}, + {"2001:1248:971b::/45", "11172"}, + {"2001:4d40:840f::/29", "13237"}, + {"2409:8904:2ea0::/39", "24547"}, + {"2409:8a51:900::/38", "56047"}, + {"240a:a135::/32", "142959"}, + {"240a:abe4::/32", "145694"}, + {"240e:3bb:2200::/37", "136198"}, + {"2804:2b20::/32", "265136"}, + {"2a03:fec0::/32", "47747"}, + {"2a11:9680::/29", "204790"}, + {"2001:559:3ca::/48", "33657"}, + {"2804:4c14:8a01::/39", "267348"}, + {"2a00:cb8:31::/48", "15695"}, + {"2a00:55a0:12::/47", "57717"}, + {"2a03:4ca0::/32", "208154"}, + {"2a03:b040::/32", "60981"}, + {"2001:468:502::/48", "12145"}, + {"2804:14d:7e84::/44", "28573"}, + {"2402:3a80:1760::/48", "38266"}, + {"2403:e000::/32", "9555"}, + {"2409:8924:5500::/38", "56046"}, + {"240a:a20e::/32", "143176"}, + {"2806:20d:5222::/47", "32098"}, + {"2a07:8180::/29", "202680"}, + {"2001:df7:4d80::/48", "138754"}, + {"240a:a78e::/32", "144584"}, + {"2604:fb40::/32", "46939"}, + {"2a00:d1c0::/32", "20559"}, + {"2a00:d4e0::/29", "15600"}, + {"2001:418:3807::/48", "4128"}, + {"2001:559:1fd::/48", "7922"}, + {"2001:559:86fa::/48", "7016"}, + {"2001:4878:2151::/48", "12222"}, + {"240e:e:b800::/37", "136195"}, + {"2605:a401:80be::/41", "33363"}, + {"2804:490:8100::/37", "28613"}, + {"2804:3e54::/32", "266588"}, + {"2001:1248:9c00::/44", "11172"}, + {"2402:8100:399f::/48", "55644"}, + {"240e:438:4640::/36", "4134"}, + {"2603:ff40::/27", "397165"}, + {"2606:18c0:2::/48", "14445"}, + {"2a01:c50f:c400::/41", "12479"}, + {"2409:8050:2802::/38", "56047"}, + {"2603:f4b8::/25", "397165"}, + {"2604:f400:5::/48", "19406"}, + {"2800:484:7200::/37", "14080"}, + {"2a03:1b20:1::/44", "39351"}, + {"2a05:3580:e100::/35", "35807"}, + {"2404:3900:a92::/48", "38320"}, + {"240e:944:1000::/34", "4134"}, + {"2606:acc0::/32", "20055"}, + {"2803:7260:11::/42", "52238"}, + {"2a02:1ba::/29", "47692"}, + {"2a03:d000:6400::/39", "31205"}, + {"2405:4803:2da::/42", "18403"}, + {"240a:a7ab::/32", "144613"}, + {"2001:4408:5f00::/34", "4758"}, + {"2405:9800:c601::/42", "45430"}, + {"2408:8756:f0a::/40", "136958"}, + {"240a:a887::/32", "144833"}, + {"2800:160:1d3f::/41", "14259"}, + {"2a00:8120::/32", "41480"}, + {"2a02:26f0:f8::/48", "20940"}, + {"2001:559:51d::/46", "7922"}, + {"2402:800:93c5::/42", "7552"}, + {"2600:1901:c0a0::/41", "396982"}, + {"2605:80::/32", "11831"}, + {"2803:9e20::/32", "265877"}, + {"2804:1b2c:1003::/32", "61713"}, + {"2a0b:33c0:117::/44", "57395"}, + {"2001:559:a7::/48", "33651"}, + {"240e:45c:600::/35", "131285"}, + {"2a0b:8f80:301::/48", "12859"}, + {"2407:500:500::/48", "58940"}, + {"240a:a39b::/32", "143573"}, + {"2620:119:4044::/42", "7726"}, + {"2804:7f44::/32", "271677"}, + {"2a00:1480::/47", "39737"}, + {"2409:8e20::/29", "9808"}, + {"2a09:bac0:189::/48", "13335"}, + {"2001:559:3ed::/48", "33662"}, + {"2001:559:c133::/48", "33657"}, + {"2400:c700:1182::/47", "55644"}, + {"2603:f1c0::/26", "397165"}, + {"2607:1c00::/32", "40395"}, + {"2804:2048::/32", "264483"}, + {"2a01:40e0::/47", "8315"}, + {"2a05:f440::/44", "35280"}, + {"2001:678:480::/48", "3320"}, + {"2404:1c40:b6::/41", "24432"}, + {"240e:90:3000::/30", "4134"}, + {"2800:bf0:240::/43", "52257"}, + {"2804:59a8:2000::/32", "268717"}, + {"2806:230:4031::/48", "11888"}, + {"2a02:2578::/35", "51375"}, + {"2a02:2f0c:d000:41::/30", "8708"}, + {"2a06:e881:5504::/48", "209864"}, + {"2001:67c:18c8::/47", "30857"}, + {"2605:9f00:300::/32", "36473"}, + {"2804:7054::/32", "270720"}, + {"2804:8138:2000::/32", "272440"}, + {"2a01:4a00::/32", "44395"}, + {"2a0c:8540:10::/47", "42198"}, + {"2001:df7:200::/47", "135871"}, + {"2400:c800:610::/44", "4760"}, + {"2401:e740::/32", "135607"}, + {"240a:aeb8::/32", "146418"}, + {"2600:6c39:441::/43", "20115"}, + {"2001:559:8406::/48", "7922"}, + {"2001:13d2:811::/46", "7303"}, + {"240e:983:b01::/37", "4134"}, + {"2607:f4e8:ac3::/32", "22822"}, + {"2620:0:1c00::/40", "32934"}, + {"2a02:ac80:d1::/42", "25145"}, + {"2001:49f0:d100::/47", "30058"}, + {"2405:4cc1:1000::/40", "55891"}, + {"2620:ed:8000::/48", "36288"}, + {"2600:803:618::/48", "3495"}, + {"2800:160:1511::/42", "14259"}, + {"2804:24a4::/32", "264235"}, + {"2a02:26f7:f805::/46", "20940"}, + {"2a02:4600::/32", "200831"}, + {"2001:56b:e00c::/35", "852"}, + {"2604:ca00:4f4::/44", "36492"}, + {"2a03:6000::/32", "60131"}, + {"2803:35e0::/32", "270040"}, + {"2803:9800:9039::/40", "11664"}, + {"2a00:52c0::/32", "29396"}, + {"2403:5a40:20::/48", "134562"}, + {"2409:8959:cd54::/38", "56040"}, + {"2a0f:8444::/32", "16262"}, + {"2001:df0:24f::/48", "58436"}, + {"2403:71c0:ff00::/48", "43959"}, + {"2406:2000:9d::/46", "10310"}, + {"240e:3b4:d000::/36", "134772"}, + {"2800:bf0:160::/44", "52257"}, + {"2806:2f0:5443::/40", "17072"}, + {"2a01:8840:ee::/43", "12041"}, + {"2a02:26f7:1f::/48", "20940"}, + {"2a03:5620::/32", "51090"}, + {"2001:6f0:3603::/33", "1257"}, + {"2409:8021::/34", "9808"}, + {"2600:370f:7260::/47", "32261"}, + {"2603:c0f9:2000::/36", "20054"}, + {"2804:59e4::/32", "268732"}, + {"2804:6ecc::/32", "270619"}, + {"2a0a:6700::/45", "40676"}, + {"2001:559:2e9::/48", "7725"}, + {"2001:da8:23a::/48", "24350"}, + {"2400:adda::/35", "9541"}, + {"2a02:26f7:bac6::/47", "20940"}, + {"2a05:c340::/29", "61157"}, + {"2001:b18:1014::/48", "47787"}, + {"240e:44d:4180::/41", "4134"}, + {"2a02:45c0:14::/48", "3209"}, + {"2a12:cd00::/29", "204790"}, + {"2001:508:a:1::/32", "32020"}, + {"2409:8c85:1a01::/37", "9808"}, + {"2400:dd0a:1006::/31", "7497"}, + {"2408:84f3:3e10::/42", "134543"}, + {"2801:b6::/38", "263083"}, + {"2804:c0::/32", "53100"}, + {"2806:230:2008::/48", "265594"}, + {"2a0d:6800::/29", "14576"}, + {"2001:559:c090::/48", "20214"}, + {"2600:1002:6000::/44", "6167"}, + {"2600:1409:9801::/37", "20940"}, + {"2606:4680::/32", "19116"}, + {"2620:74:28::/48", "396568"}, + {"2001:758::/32", "35393"}, + {"2403:fc00:400::/32", "9443"}, + {"2607:fc48:1000::/48", "40009"}, + {"2620:114:2000::/40", "5707"}, + {"2804:1e2c::/40", "264412"}, + {"2a0f:641::/32", "201086"}, + {"2400:9380:8dc0::/44", "136167"}, + {"2405:1c0:6551::/46", "55303"}, + {"2a0a:7d80:3::/48", "35594"}, + {"2a0d:5e00::/29", "25577"}, + {"2404:bf40:80c2::/39", "139084"}, + {"2404:e800::/46", "55430"}, + {"2800:200:bd50::/33", "12252"}, + {"2a02:26f7:cccc::/48", "36183"}, + {"2001:dc8:6000::/48", "45554"}, + {"2408:8956:2a40::/40", "17622"}, + {"2a02:888:8147::/48", "47794"}, + {"2a09:bd00:ffbc::/48", "42385"}, + {"2001:67c:1944::/48", "61430"}, + {"2001:da8:7030::/48", "23910"}, + {"240a:ae5e::/32", "146328"}, + {"2602:102:1018::/48", "33588"}, + {"2a02:26f7:e74d::/42", "20940"}, + {"2a02:26f7:f809::/46", "20940"}, + {"2001:678:12c::/48", "29405"}, + {"2001:678:b44::/48", "25526"}, + {"2001:67c:1b4::/48", "50188"}, + {"2001:df1:2900::/48", "136301"}, + {"2001:ee0:4600::/36", "45899"}, + {"2803:9800:a4c1::/46", "11664"}, + {"2a00:9080::/32", "30736"}, + {"2a02:26f7:cd40::/48", "36183"}, + {"2a0b:d000::/29", "34665"}, + {"2400:12::/48", "4766"}, + {"2401:d800:870::/40", "7552"}, + {"2408:8862::/29", "4837"}, + {"2602:fd21::/37", "398488"}, + {"2a02:6c20:808::/45", "207167"}, + {"2a03:5780:197::/44", "25122"}, + {"2001:559:3f8::/48", "33287"}, + {"2001:559:810e::/48", "33657"}, + {"2607:b600:11::/48", "25645"}, + {"2610:20:3000::/44", "3635"}, + {"2001:559:85b2::/48", "33659"}, + {"2402:4000:2290::/32", "18001"}, + {"2406:840:e030::/47", "142418"}, + {"2600:1010:b100::/42", "6167"}, + {"2602:ffe4:c11::/44", "21859"}, + {"2604:c200::/32", "33544"}, + {"2804:8088::/32", "271757"}, + {"2a02:26f7:d5::/48", "20940"}, + {"2001:410:e000::/40", "7860"}, + {"2400:8800:101::/38", "3491"}, + {"240a:a827::/32", "144737"}, + {"2804:1e38:2000::/43", "264415"}, + {"2804:6b98::/32", "270411"}, + {"2804:7644::/32", "271100"}, + {"2a0f:89c0::/29", "212238"}, + {"2001:4268:1120::/32", "15964"}, + {"2405:ec01:a000::/33", "137412"}, + {"2600:6c34:19d::/48", "33588"}, + {"2803:5840:e004::/35", "262145"}, + {"2803:5ba0::/32", "267766"}, + {"2a04:85c0::/29", "51890"}, + {"2a0e:1380::/35", "209987"}, + {"2402:800:76f0::/39", "7552"}, + {"2606:62c0:7000::/32", "399686"}, + {"2804:7f30::/33", "271672"}, + {"2a06:1a80::/29", "207481"}, + {"2408:840c:af00::/40", "17621"}, + {"240e:438:3e20::/43", "140647"}, + {"2600:6c10:40b::/43", "20115"}, + {"2a11:b080::/29", "211737"}, + {"2001:559:3df::/42", "33652"}, + {"2001:678:f14::/48", "8767"}, + {"2001:44b8:30fb::/36", "4739"}, + {"240e:91f::/32", "4134"}, + {"2804:2ac::/32", "28300"}, + {"2804:81e4::/32", "272484"}, + {"2a02:f181::/48", "197573"}, + {"2001:559:505::/48", "33659"}, + {"2001:b08:18::/48", "8684"}, + {"2401:2700:1:1::/48", "9286"}, + {"2a02:26f0:3501::/40", "20940"}, + {"2a10:cc42:1e00::/40", "20473"}, + {"240a:a3f2::/32", "143660"}, + {"2600:5c01:319c::/48", "11351"}, + {"2804:53d0::/32", "268608"}, + {"2a00:1688::/32", "34056"}, + {"2a02:9b0:405f::/32", "35819"}, + {"2a02:26f7:8d::/48", "20940"}, + {"2001:da8:bc::/48", "24351"}, + {"2408:8459:8030::/41", "17622"}, + {"2409:8038:1900::/34", "9808"}, + {"2a02:2578:1309::/45", "51375"}, + {"2a02:26f7:bd00::/48", "36183"}, + {"2a06:cc80::/29", "203659"}, + {"2001:1388:10c::/37", "6147"}, + {"2401:6c0::/32", "136514"}, + {"2600:1404:a000::/48", "35994"}, + {"2804:31c4::/32", "265036"}, + {"2a00:1458::/32", "50083"}, + {"2a02:26f7:bd80::/48", "36183"}, + {"2a02:26f7:e70d::/42", "20940"}, + {"2001:559:82d0::/48", "7922"}, + {"2602:ffe4:c3e::/41", "21859"}, + {"2804:4030::/32", "265943"}, + {"2a02:26f7:d201::/46", "20940"}, + {"2a06:1287:30::/44", "203909"}, + {"2001:5b0:6900::/40", "6621"}, + {"2402:5300:4f00::/35", "45903"}, + {"240a:acb6::/32", "145904"}, + {"240a:af3e::/32", "146552"}, + {"2a06:e382::/29", "203507"}, + {"2401:d800:5be0::/37", "7552"}, + {"2806:2f0:6143::/42", "17072"}, + {"2a05:2cc0::/29", "44439"}, + {"240a:a108::/32", "142914"}, + {"240a:a9f7::/32", "145201"}, + {"2600:1488:6101::/41", "20940"}, + {"2804:2214:e::/32", "28177"}, + {"2804:6ac8:103::/45", "270358"}, + {"2a02:88d::/44", "48695"}, + {"2405:b000::/39", "6262"}, + {"2603:c021:c000::/35", "31898"}, + {"2a0e:8f01:10b::/45", "38230"}, + {"2001:559:7fc::/48", "7015"}, + {"2001:44b8:30c3::/48", "4739"}, + {"240e:45c:2c00::/35", "131285"}, + {"2603:c001::/38", "31898"}, + {"2606:6240:b00b::/48", "212149"}, + {"2620:10c:7000::/44", "2906"}, + {"2801:c4:15::/48", "262922"}, + {"2804:4db0::/34", "268213"}, + {"2a03:560::/47", "201832"}, + {"2a0a:3cc0::/29", "62035"}, + {"2600:6c38:726::/44", "20115"}, + {"2a00:5b20::/32", "39816"}, + {"2a09::/48", "6233"}, + {"2001:550:2801::/48", "63199"}, + {"240a:a747::/32", "144513"}, + {"2604:a880:400::/48", "14061"}, + {"2607:fe50::/32", "5661"}, + {"2001:678:374::/48", "52003"}, + {"2405:5500::/32", "54187"}, + {"2405:d300:20::/48", "38809"}, + {"2602:80c:2015::/40", "399976"}, + {"2605:bb00::/35", "4213"}, + {"2804:6d98::/32", "270543"}, + {"2a0b:32c0::/29", "205739"}, + {"2a0c:ee00::/39", "206805"}, + {"2404:a300::/48", "23884"}, + {"2a02:d140::/29", "49788"}, + {"2405:5240::/35", "398704"}, + {"2a02:26f0:5201::/39", "20940"}, + {"2a09:4c2:2d::/48", "58057"}, + {"2409:8704:9900::/38", "24547"}, + {"2603:c001:3210::/37", "31898"}, + {"2604:8540:fc02::/45", "33353"}, + {"2a02:26f7:b9a0::/48", "36183"}, + {"2a02:26f7:d901::/46", "20940"}, + {"240a:affe::/32", "146744"}, + {"2a0d:c340::/29", "206123"}, + {"2001:67c:7bc::/48", "8949"}, + {"2001:67c:1580::/48", "50277"}, + {"240a:a2cf::/32", "143369"}, + {"240a:a394::/32", "143566"}, + {"2804:3e90:8b01::/33", "266606"}, + {"2a00:cc0::/46", "13237"}, + {"2a07:3b80:1::/48", "47447"}, + {"2a0c:8b40::/29", "42908"}, + {"2001:19f0:8000::/38", "20473"}, + {"2400:fd80:100::/40", "55891"}, + {"240e:13:7000::/37", "139201"}, + {"2607:f250:d000::/48", "7046"}, + {"2a07:6a86::/32", "203568"}, + {"2a0f:5701:3517::/44", "205593"}, + {"2803:ad60::/32", "271920"}, + {"2a0c:b641:750::/44", "210546"}, + {"2405:8a00:601d::/42", "55824"}, + {"2801:80:1400::/48", "11097"}, + {"2804:58a8::/32", "268142"}, + {"2a02:1211::/28", "3303"}, + {"2a02:26f7:bd84::/48", "36183"}, + {"2a04:4e40:7630::/41", "54113"}, + {"2a06:6240::/29", "20643"}, + {"2401:4900:c80::/44", "45609"}, + {"240b:4003:fee3::/48", "45102"}, + {"2a07:3500:11e0::/48", "39686"}, + {"2a0e:e44::/32", "208638"}, + {"2409:8061:1100::/36", "9808"}, + {"240e:44d:2b80::/41", "4134"}, + {"2605:3380:4802::/48", "14532"}, + {"2804:43c::/34", "262422"}, + {"2804:646c::/32", "269427"}, + {"2a02:26f7:e081::/46", "20940"}, + {"2001:559:ae::/48", "33657"}, + {"240a:ad40::/32", "146042"}, + {"2600:370f:7292::/42", "32261"}, + {"2a02:26f7:f5c4::/48", "36183"}, + {"2001:559:8637::/48", "7015"}, + {"2402:800:93ee::/37", "7552"}, + {"2600:380:2100::/37", "20057"}, + {"2600:140f:6801::/37", "20940"}, + {"2600:370f:522a::/41", "32261"}, + {"2804:3d50::/32", "266267"}, + {"2a09:57c0::/29", "63023"}, + {"2600:6c38:723::/45", "20115"}, + {"2a01:b740:921::/40", "714"}, + {"2a0e:46c4:2c33::/48", "142597"}, + {"2001:67c:2c80::/48", "198217"}, + {"2804:42fc::/32", "267541"}, + {"2804:5564::/32", "264173"}, + {"2c0f:3200:2::/32", "37558"}, + {"2001:67c:1b78::/48", "61411"}, + {"2607:fee0:a100::/33", "3599"}, + {"2801:80:12c0::/48", "263890"}, + {"2a01:8640:f::/48", "59711"}, + {"2001:678:bb4::/48", "43962"}, + {"2603:9000::/28", "33363"}, + {"2605:3380:4459::/48", "12025"}, + {"2606:2800:4016::/44", "15133"}, + {"2800:110:3c01::/38", "4270"}, + {"2a02:c390::/29", "31304"}, + {"2606:2800:504c::/48", "15133"}, + {"2800:200:e890::/35", "12252"}, + {"2a0b:9440::/29", "34766"}, + {"2a0e:8f02:f029::/48", "207071"}, + {"2001:df0:411::/48", "17439"}, + {"2001:1248:9803::/44", "11172"}, + {"2409:8060:3100::/36", "9808"}, + {"2620:49:3::/45", "16686"}, + {"2a02:26f7:ecc0::/48", "36183"}, + {"2a0a:15c0::/29", "206273"}, + {"2a0b:e300::/32", "44808"}, + {"2a0c:fe80::/29", "200490"}, + {"2409:8c7f::/24", "9808"}, + {"2600:1a00::/28", "46650"}, + {"2804:2e00::/32", "265317"}, + {"2a00:dbc0::/32", "48885"}, + {"2a04:c040::/29", "212694"}, + {"2804:7bc::/32", "52861"}, + {"2a06:bcc0:11::/48", "203724"}, + {"2a09:3800::/29", "208861"}, + {"2001:4128::/32", "28788"}, + {"2600:141c:f001::/31", "20940"}, + {"2a00:1450::/33", "15169"}, + {"2a00:5a00::/32", "197529"}, + {"2001:559:c15a::/48", "7725"}, + {"2401:75c0::/32", "136793"}, + {"240a:a076::/32", "142768"}, + {"2602:210::/32", "11290"}, + {"2804:7db0::/32", "271576"}, + {"2a00:4802:230::/41", "8717"}, + {"2a05:46c0::/29", "200780"}, + {"2a0b:b7c0::/29", "57717"}, + {"2a10:a000::/45", "42201"}, + {"2606:2800:5a0c::/47", "15133"}, + {"2a0f:dac0::/29", "60781"}, + {"2001:16f8:666::/48", "30870"}, + {"2401:d800:d592::/41", "7552"}, + {"2804:14d:68b1::/41", "28573"}, + {"2806:20d::/35", "32098"}, + {"2a02:26f0:b100::/48", "12956"}, + {"2c0f:1d00::/32", "60171"}, + {"2001:559:94::/48", "7015"}, + {"2001:678:ffc::/48", "210959"}, + {"2001:1a11:bd::/41", "42298"}, + {"2a04:4e40:f600::/48", "54113"}, + {"2a09:d2c1:6::/48", "209117"}, + {"2403:8600:2080::/43", "45820"}, + {"2407:c600:1::/48", "56140"}, + {"240a:a6d6::/32", "144400"}, + {"2605:a401:8118::/45", "33363"}, + {"2804:18:40::/42", "26599"}, + {"2804:66a8::/32", "269574"}, + {"2804:385c:200::/32", "262687"}, + {"2a05:1d40::/30", "58239"}, + {"2a06:1783::/32", "202134"}, + {"2602:ff75::/36", "8100"}, + {"2804:37c0::/32", "266434"}, + {"2a09:6f00::/29", "208861"}, + {"240e:5a:40c0::/39", "140291"}, + {"2001:559:872d::/48", "33491"}, + {"2001:67c:488::/48", "1257"}, + {"240a:a3ac::/32", "143590"}, + {"2804:245c::/32", "264217"}, + {"2a06:aa40::/32", "51944"}, + {"2a0b:e740::/29", "47787"}, + {"2a10:6340::/48", "49981"}, + {"2401:d800:b600::/42", "7552"}, + {"2600:140f:b800::/48", "9498"}, + {"2602:ff19::/36", "395033"}, + {"2804:33a0::/32", "265408"}, + {"2a05:a1c0::/32", "201155"}, + {"2401:d7c0::/32", "45355"}, + {"2406:c800::/32", "38016"}, + {"240a:a367::/32", "143521"}, + {"2a05:9a40::/29", "212144"}, + {"2a07:de80::/29", "35779"}, + {"2001:4878:228::/48", "12222"}, + {"240a:ae4c::/32", "146310"}, + {"2620:74:1c::/48", "397228"}, + {"2a01:ad00:7::/39", "51865"}, + {"2001:4998:60::/48", "14196"}, + {"2a02:548::/32", "35087"}, + {"2001:559:c354::/48", "33287"}, + {"240a:a2f5::/32", "143407"}, + {"240a:a8e8::/32", "144930"}, + {"2400:4b20::/32", "149330"}, + {"2405:1c0:6541::/46", "55303"}, + {"2408:8956:6900::/40", "17816"}, + {"2408:8957:2d00::/40", "17816"}, + {"2801:12:2800::/48", "269972"}, + {"2803:70e0::/32", "263235"}, + {"2804:1a7c::/32", "61862"}, + {"2a00:13c8::/46", "25291"}, + {"2a10:c941:11:11::/39", "35277"}, + {"2602:fc26:16::/48", "211562"}, + {"2800:650:5::/39", "28032"}, + {"2804:1010:4500::/36", "263617"}, + {"2804:7110:7100::/32", "270764"}, + {"2804:8568::/32", "272577"}, + {"2a01:2000::/20", "3269"}, + {"2001:4998:160::/48", "7280"}, + {"2401:d800:b542::/40", "7552"}, + {"240a:a691::/32", "144331"}, + {"2600:140f:201::/39", "20940"}, + {"2a10:5980::/29", "208254"}, + {"2a02:26f7:ff::/48", "20940"}, + {"2a02:26f7:b9cc::/48", "36183"}, + {"2a02:26f7:ee09::/42", "20940"}, + {"2a09:bac0:199::/48", "13335"}, + {"2603:c024:4000::/35", "31898"}, + {"2a0f:5707:b101::/48", "211684"}, + {"2001:559:8135::/48", "7922"}, + {"2001:559:63::/48", "7015"}, + {"2001:559:7f8::/48", "33657"}, + {"2602:fd9a:1000::/32", "54613"}, + {"2607:f368:3221::/46", "32982"}, + {"2607:f7a8:400::/39", "16657"}, + {"2804:51c:7001::/38", "262495"}, + {"2a01:8100:2000::/36", "39729"}, + {"2a02:b000::/23", "1267"}, + {"2400:cb00:490::/46", "13335"}, + {"240e:13:806::/48", "140858"}, + {"2602:fe12:9::/48", "139267"}, + {"2605:a7c0:141::/44", "16509"}, + {"2804:14c:ce00::/40", "28573"}, + {"2a00:11d8::/32", "39598"}, + {"2a02:24c0::/32", "197307"}, + {"2001:250:343e::/48", "23910"}, + {"2800:160:140e::/42", "14259"}, + {"2804:3b8:6a::/39", "52965"}, + {"2404:168::/32", "24229"}, + {"2409:4061:3000::/30", "55836"}, + {"240a:a6ce::/32", "144392"}, + {"2603:b010:fffe::/47", "11796"}, + {"2804:b30::/32", "52748"}, + {"2a10:1ac0::/29", "209886"}, + {"2001:13c7:7001::/48", "28000"}, + {"2401:50c0::/32", "136732"}, + {"2402:6800:761::/46", "22822"}, + {"2404:e100:4009::/48", "133840"}, + {"240c:ca30::/32", "24363"}, + {"2804:5a9c::/32", "268784"}, + {"2001:559:816f::/48", "20214"}, + {"2401:4900:20:84::/46", "45609"}, + {"2a00:1981::/32", "39603"}, + {"2001:668:200::/29", "3257"}, + {"2001:4408:8609::/33", "4758"}, + {"2803:d640::/32", "27729"}, + {"2804:3da4::/35", "266544"}, + {"2c0f:fe08:14b::/38", "36914"}, + {"2001:250:3808::/43", "138440"}, + {"2001:559:810f::/48", "33287"}, + {"2001:559:8149::/48", "7016"}, + {"2400:a980:d6::/44", "133111"}, + {"240a:aa73::/32", "145325"}, + {"2a02:26f7:e004::/48", "36183"}, + {"2a06:a005:400::/44", "211358"}, + {"2a0f:c085::/30", "48108"}, + {"2606:8200::/32", "32400"}, + {"2800:370:bc::/39", "28006"}, + {"2803:c010::/48", "271799"}, + {"2a02:26f7:e5c9::/42", "20940"}, + {"2001:67c:828::/48", "210833"}, + {"2408:870c:20::/44", "138421"}, + {"240a:a49a::/32", "143828"}, + {"2620:b1:4000::/48", "393238"}, + {"2a00:6f00::/32", "31273"}, + {"2a01:58a0::/39", "51018"}, + {"2a05:fc87::/32", "39540"}, + {"2a0b:2180::/48", "206502"}, + {"2c0f:fe98::/32", "30844"}, + {"2804:d7c:1100::/32", "52634"}, + {"2804:4530::/32", "262873"}, + {"2804:4afc:8000::/33", "267276"}, + {"2a01:8200:ff01::/40", "31216"}, + {"2001:67c:1bc::/48", "1921"}, + {"2001:1578::/48", "12657"}, + {"2401:d800:5510::/42", "7552"}, + {"2404:82c0::/42", "135377"}, + {"2408:8420::/30", "4837"}, + {"2600:5c00:3b7d::/37", "20001"}, + {"2804:3e8:2::/39", "28663"}, + {"2a02:250:4::/33", "39570"}, + {"2a06:9dc4::/32", "41917"}, + {"2a0e:a2c0::/32", "39702"}, + {"2803:6604:e001::/37", "28075"}, + {"2804:8354::/32", "272191"}, + {"2001:559:82e9::/46", "7922"}, + {"2001:559:c12b::/48", "7922"}, + {"2400:cc00:3000::/36", "140637"}, + {"2401:7000:f000::/36", "45177"}, + {"2a00:12d0::/29", "13101"}, + {"2001:4490:d080::/46", "9829"}, + {"2607:6480:6000::/35", "30377"}, + {"2402:e380:15::/48", "135646"}, + {"2600:5c01:1a3::/36", "10796"}, + {"2602:ffd1:2::/47", "393336"}, + {"2001:559:4c4::/47", "7015"}, + {"2001:559:81f6::/48", "33491"}, + {"2409:8715:3c00::/32", "56044"}, + {"2001:559:8745::/48", "33651"}, + {"2001:df0:1e:4000::/64", "45796"}, + {"240a:ac7c::/32", "145846"}, + {"2600:1413:3000::/48", "24319"}, + {"2800:4b0::/33", "12252"}, + {"2804:7960::/32", "271302"}, + {"2a0c:8187::/32", "206994"}, + {"2001:250:2c0d::/43", "138381"}, + {"2001:559:877b::/48", "33657"}, + {"2404:8840::/32", "32519"}, + {"2605:3380:4000::/39", "12025"}, + {"2607:f6e0::/32", "22346"}, + {"2806:230:101d::/48", "11888"}, + {"2a05:8c40::/29", "201172"}, + {"2400:4480:8000::/48", "17426"}, + {"2402:79c0:1154::/46", "26415"}, + {"2403:8500:1200::/40", "45804"}, + {"2409:805a:2901::/48", "56040"}, + {"2607:f7c0::/34", "36444"}, + {"2a02:610:7502::/32", "2588"}, + {"2001:1248:56c5::/43", "11172"}, + {"2600:5800:f78b::/36", "11426"}, + {"2804:5dac::/32", "52984"}, + {"2001:da8:a003::/45", "23910"}, + {"2402:9c00::/32", "9676"}, + {"2408:8956:5800::/40", "17622"}, + {"240a:a6f2::/32", "144428"}, + {"240a:a792::/32", "144588"}, + {"240a:a809::/32", "144707"}, + {"2001:df1:2980::/48", "55654"}, + {"240a:a408::/32", "143682"}, + {"240e:980:8400::/40", "63835"}, + {"2804:fbc::/32", "61894"}, + {"2a00:dca0::/29", "60175"}, + {"2c0f:4480::/32", "329028"}, + {"2804:640::/41", "262713"}, + {"2804:1b08:700::/34", "61704"}, + {"2804:1bc8::/32", "61750"}, + {"2a03:70e0::/32", "58243"}, + {"2607:f750:5000::/40", "23473"}, + {"2800:160:1d92::/42", "14259"}, + {"2800:c70::/43", "23201"}, + {"2804:46c4::/32", "267010"}, + {"2a0c:3fc0::/29", "206268"}, + {"2001:4c8:1020::/44", "15290"}, + {"2001:df0:93::/48", "45128"}, + {"2806:230:203b::/48", "11888"}, + {"2a05:1083:ff00::/48", "211876"}, + {"2a10:f2c0::/29", "207003"}, + {"2405:58c0:3a00::/40", "133101"}, + {"2604:bac0::/32", "19748"}, + {"2803:1fc0::/32", "265781"}, + {"2804:615c::/32", "269230"}, + {"2806:230:2033::/48", "11888"}, + {"2a01:558::/32", "15516"}, + {"2401:7200:2128::/48", "55328"}, + {"2a05:d050:2080::/44", "16509"}, + {"2a0b:3c40:13::/48", "209280"}, + {"2404:b0:1009::/36", "4750"}, + {"2408:84f3:b840::/38", "17816"}, + {"240a:a44c::/32", "143750"}, + {"2804:204:254::/46", "28186"}, + {"2804:1540::/32", "263380"}, + {"2804:5b18::/32", "268818"}, + {"2a01:688::/32", "20694"}, + {"2a06:8e00::/48", "7489"}, + {"2001:559:8033::/48", "7922"}, + {"2001:1260:7::/48", "28532"}, + {"2620:34:2000::/48", "395763"}, + {"2804:14c:f400::/42", "28573"}, + {"2a03:65e0::/32", "207426"}, + {"2001:1248:5ae3::/45", "11172"}, + {"2801:1d:e000::/48", "18747"}, + {"2804:14d:728a::/45", "28573"}, + {"2804:15e4::/46", "53001"}, + {"2a02:4e0:2900::/42", "16135"}, + {"2a02:1308::/29", "196922"}, + {"2a02:26f7:e851::/42", "20940"}, + {"2001:978:4204::/37", "174"}, + {"2001:df6:6300::/47", "133225"}, + {"2603:ffb0::/29", "40676"}, + {"2803:d100:9810::/42", "52362"}, + {"2804:ef4::/46", "28642"}, + {"2001:df0:8::/48", "18149"}, + {"2404:9400::/45", "133159"}, + {"240e:64:a000::/35", "140317"}, + {"2800:370:53::/44", "28006"}, + {"2801:1c:c800::/48", "269883"}, + {"2804:2b28::/32", "265138"}, + {"2a0f:a307::/32", "44326"}, + {"2001:67c:16c8::/48", "206479"}, + {"2001:1a30::/32", "29488"}, + {"2404:6d40::/32", "138810"}, + {"2404:8000:e2::/35", "17451"}, + {"2404:f4c0:fe1f::/48", "138632"}, + {"2800:190:9::/40", "11664"}, + {"2804:6c0:900::/43", "262418"}, + {"2804:3c1c::/32", "266191"}, + {"240a:a510::/32", "143946"}, + {"2604:5500:c00::/42", "19165"}, + {"2a0f:7700::/29", "47787"}, + {"2001:559:c051::/45", "7922"}, + {"2602:fc5c:4::/48", "29802"}, + {"2604:5940::/32", "395839"}, + {"2800:110:2200::/48", "264630"}, + {"2a0b:8240::/31", "205581"}, + {"2a0f:9180::/29", "21217"}, + {"2001:4490:d660::/45", "9829"}, + {"2600:6c04:be::/30", "20115"}, + {"2604:b180::/44", "11192"}, + {"2620:a9:8000::/45", "16991"}, + {"2001:559:83b8::/48", "33652"}, + {"2001:67c:72c::/48", "61337"}, + {"2602:102:1004::/46", "20115"}, + {"2804:5eb8::/32", "262866"}, + {"2a0e:b107:147a::/48", "142164"}, + {"2a10:4a80::/32", "210072"}, + {"2800:68:f::/43", "61468"}, + {"2a02:26f7:d108::/48", "36183"}, + {"2a04:ee00::/29", "56724"}, + {"2001:4d0:241a::/48", "1848"}, + {"2001:1900:2365::/48", "3356"}, + {"2409:8751:d00::/38", "56047"}, + {"2600:6c3a:e04::/31", "20115"}, + {"2001:559:c129::/48", "33657"}, + {"240a:aba4::/32", "145630"}, + {"240e:44d:2580::/41", "4134"}, + {"2604:50::/45", "393950"}, + {"2620:32:4000::/48", "395956"}, + {"2620:12a:600a::/45", "32578"}, + {"2804:151:63::/30", "10954"}, + {"2a02:2450::/29", "20880"}, + {"2001:500:3::/48", "20144"}, + {"240a:a20c::/32", "143174"}, + {"2c0f:f7a8:805f::/48", "4134"}, + {"2001:569:c::/30", "852"}, + {"2409:806b:3100::/36", "9808"}, + {"240e:4e:800::/27", "4134"}, + {"2603:6035::/32", "20001"}, + {"2804:111c:5::/32", "52818"}, + {"2a06:e881:140e::/47", "202540"}, + {"2a02:1378::/32", "39775"}, + {"2a02:26f7:e508::/48", "36183"}, + {"2001:500:90::/48", "33517"}, + {"2001:48a8::/33", "237"}, + {"2800:68:25::/44", "61468"}, + {"2804:79a0::/32", "271317"}, + {"2a03:6440:2001::/46", "199055"}, + {"2a12:3e80:100::/48", "48314"}, + {"2001:559:44a::/48", "33659"}, + {"2401:3c0:108::/47", "45528"}, + {"2403:9800:6d00::/38", "4771"}, + {"2804:1718::/32", "263121"}, + {"2a03:1f60::/32", "8787"}, + {"2400:df80::/32", "133444"}, + {"2600:370f:5268::/47", "32261"}, + {"2804:3b48::/32", "52591"}, + {"2a00:5300::/32", "45031"}, + {"2a06:e540:203::/29", "203600"}, + {"2a0e:a1c0::/29", "206576"}, + {"2a12:5240::/48", "209626"}, + {"2001:4998:3c::/48", "14780"}, + {"2408:8256:3980::/44", "17623"}, + {"240a:a6d2::/32", "144396"}, + {"240a:a83e::/32", "144760"}, + {"2804:7348::/32", "262690"}, + {"2a01:c50e:2900::/33", "12479"}, + {"2a02:26f7:ee04::/48", "36183"}, + {"2001:559:1cc::/48", "7725"}, + {"2401:2d80::/48", "58641"}, + {"240a:a10a::/32", "142916"}, + {"240a:ae08::/32", "146242"}, + {"240e:3b6:9200::/36", "140317"}, + {"2600:1407:1c01::/34", "20940"}, + {"2803:bc40:a006::/43", "52468"}, + {"2804:22b4:c8::/32", "264117"}, + {"2a07:22c1:c100::/40", "213021"}, + {"2001:12a0::/45", "28292"}, + {"2401:d800:7e40::/42", "7552"}, + {"2401:d800:de70::/40", "7552"}, + {"2402:a1c0::/39", "137526"}, + {"2a01:8840:45::/48", "207266"}, + {"2a02:6c00:f00b::/36", "44971"}, + {"2a02:cb80:4100::/43", "43766"}, + {"2a07:6cc0:10::/46", "61098"}, + {"2001:44c8:4700::/42", "131445"}, + {"240a:ad1a::/32", "146004"}, + {"240e:379:2600::/32", "4134"}, + {"2a0c:4a40::/29", "210107"}, + {"2001:1248:98c6::/44", "11172"}, + {"2406:2000:1a8::/46", "10310"}, + {"2806:230:1026::/48", "265594"}, + {"2001:559:c0ae::/48", "7922"}, + {"2409:8c3c:905::/35", "24444"}, + {"240a:a365::/32", "143519"}, + {"2600:cc04::/32", "32298"}, + {"2606:98c0::/32", "400333"}, + {"2a01:c50f:1600::/36", "12479"}, + {"2a02:6460::/32", "201875"}, + {"2a0f:cc83::/32", "208861"}, + {"2001:559:8400::/48", "33287"}, + {"2409:8035::/28", "9808"}, + {"2a02:26f0:119::/48", "34164"}, + {"2a02:26f7:c449::/42", "20940"}, + {"2a0f:4a80::/48", "50673"}, + {"2001:480:332::/37", "668"}, + {"2001:4860:4806::/41", "15169"}, + {"240e:1c:2000::/36", "4134"}, + {"2a00:1e6b::/29", "42861"}, + {"2a0c:b641:1a0::/47", "57470"}, + {"2c0f:fde8:1000::/36", "37712"}, + {"2001:49f0:d097:8000::/44", "174"}, + {"240e:f7:e000::/35", "136190"}, + {"2600:6c10:c37::/44", "20115"}, + {"2804:7e20::/32", "271604"}, + {"2a09:a0c0::/29", "34515"}, + {"2001:559:c2e3::/48", "7922"}, + {"2001:44b8:404c::/48", "7545"}, + {"2408:8459:ee30::/41", "17622"}, + {"2409:8928::/31", "56041"}, + {"2804:47c0::/32", "263665"}, + {"2804:4998::/32", "267192"}, + {"2a01:8840:ce::/43", "12041"}, + {"2a02:888:8247::/48", "47794"}, + {"2400:5ba0::/48", "149079"}, + {"2806:2f0:6283::/43", "17072"}, + {"2a01:4540::/29", "199554"}, + {"2603:c024:c000::/35", "31898"}, + {"2804:694:3900::/33", "262596"}, + {"2a00:cb40::/32", "48972"}, + {"2607:f6f0:b000::/40", "64275"}, + {"2804:7db8::/32", "271578"}, + {"2a0c:b641:69c::/48", "209297"}, + {"2401:4900:4ce0::/44", "45609"}, + {"2a02:26f7:c7c1::/46", "20940"}, + {"240a:a9d1::/32", "145163"}, + {"2604:e8c0:7::/48", "6233"}, + {"2800:150::/48", "22047"}, + {"2801:80:330::/48", "53046"}, + {"2a02:2b18::/32", "35816"}, + {"2001:df7:6800:2000::/48", "59194"}, + {"240a:a92b::/32", "144997"}, + {"240e:6bb::/36", "140316"}, + {"2804:46ec:2300::/35", "267020"}, + {"2804:6698::/32", "269570"}, + {"2a00:1358:1001::/32", "6866"}, + {"2a02:26f7:eccd::/42", "20940"}, + {"2a0d:3842:1260::/48", "57629"}, + {"2404:bf40:a504::/42", "139084"}, + {"2602:fc26:14::/48", "211562"}, + {"2a02:e30:f008::/48", "51426"}, + {"2001:559:4::/48", "33490"}, + {"2804:14d:ca00::/40", "28573"}, + {"2a02:26f7:c780::/48", "36183"}, + {"2001:559:871e::/48", "33491"}, + {"2804:66a0::/43", "269572"}, + {"2a01:8840:d2::/45", "12041"}, + {"2a02:26f7:be48::/48", "36183"}, + {"2a02:26f7:cf84::/48", "36183"}, + {"2001:67c:298::/48", "51307"}, + {"2400:c540:c827::/41", "59238"}, + {"2401:4900:1000::/41", "45609"}, + {"2804:1b3:3000::/39", "18881"}, + {"2a02:418::/29", "29691"}, + {"2a02:25b0:aaaa::/48", "42422"}, + {"2a04:4e40:5600::/48", "54113"}, + {"2a11:5ec0::/48", "16509"}, + {"2408:8956:b200::/40", "17622"}, + {"2604:700::/32", "10384"}, + {"2607:1280:1490::/44", "394972"}, + {"2804:56c:200::/35", "28210"}, + {"2a06:4b02::/29", "51191"}, + {"2001:559:299::/48", "33660"}, + {"2401:d800:5850::/42", "7552"}, + {"2408:8459:1c10::/42", "17623"}, + {"2800:630::/32", "7049"}, + {"2801:80:1c70::/48", "266122"}, + {"2804:4088::/32", "265965"}, + {"2001:559:84d5::/46", "7015"}, + {"2403:5800::/47", "4764"}, + {"2409:8030::/36", "9808"}, + {"2604:a640::/32", "54980"}, + {"2a01:ce95:8002::/33", "51964"}, + {"2a02:26f0:84::/48", "8966"}, + {"2a03:69c0:100::/40", "49981"}, + {"2a03:9520::/32", "42220"}, + {"2a03:c5c0::/32", "198484"}, + {"2a0e:46c6:8d5::/48", "208696"}, + {"2401:3280:1000::/34", "133613"}, + {"240a:a2b9::/32", "143347"}, + {"240a:ad8c::/32", "146118"}, + {"2600:8807:4782::/36", "22773"}, + {"2804:297c:c400::/36", "262907"}, + {"2a02:70::/47", "3326"}, + {"2a02:26f7:4e::/48", "36183"}, + {"2001:559:5de::/48", "7922"}, + {"2001:559:f2::/48", "7922"}, + {"2001:148f:fffc::/48", "59747"}, + {"2405:6e00:690::/41", "133612"}, + {"2a01:cde0:8010::/48", "16028"}, + {"2a02:26f7:ce44::/48", "36183"}, + {"2a03:1e02::/32", "203865"}, + {"2a0e:ba40::/29", "207547"}, + {"2600:6c38:f0e::/43", "20115"}, + {"2001:253:11a::/45", "38272"}, + {"2001:550:aa02::/35", "174"}, + {"2001:559:593::/48", "33287"}, + {"2001:df0:d1::/48", "55857"}, + {"2401:4900:5910::/44", "45609"}, + {"2402:8100:26a0::/46", "45271"}, + {"2406:840:fd10::/48", "134993"}, + {"2408:8957:9a00::/40", "17622"}, + {"2600:140f:7001::/38", "20940"}, + {"2620:122:b000::/48", "46656"}, + {"2804:2074::/32", "264491"}, + {"2a03:efc0:200::/40", "33438"}, + {"2a09:3c00:2::/29", "6939"}, + {"2a0a:6640::/29", "42658"}, + {"2001:559:728::/48", "7922"}, + {"2001:559:8015::/44", "7922"}, + {"2001:678:ef4::/48", "202592"}, + {"2001:13b0::/32", "3549"}, + {"2403:a340::/32", "134823"}, + {"2404:2f40::/32", "133938"}, + {"240a:a3e8::/32", "143650"}, + {"2800:bf0:118::/42", "27947"}, + {"2a04:f580:9230::/48", "4809"}, + {"2a05:6c0::/36", "203043"}, + {"2a0b:4d07:159::/48", "44239"}, + {"2001:16a0:6000::/48", "25019"}, + {"2409:8028:2c00::/38", "9808"}, + {"2a02:26f7:d4d0::/48", "36183"}, + {"2804:28e0::/32", "262550"}, + {"2a0b:dbc0::/29", "207003"}, + {"2402:c040::/32", "137567"}, + {"2408:8459:6e30::/41", "17622"}, + {"240e:44d:7700::/42", "140345"}, + {"2a01:aea0:dd3::/45", "40980"}, + {"2001:f98::/32", "17683"}, + {"2408:840d:dd00::/42", "17621"}, + {"240e:3bf:ec00::/35", "140314"}, + {"2804:3df8:6004::/35", "266566"}, + {"2a06:e881:5501::/46", "209864"}, + {"2a0b:b5c0::/29", "54543"}, + {"2001:1938:2000::/40", "33438"}, + {"240a:a961::/32", "145051"}, + {"2600:1407:f801::/28", "20940"}, + {"2600:140f:a01::/39", "20940"}, + {"2607:f110:e170::/40", "21889"}, + {"2620:0:1601::/48", "33052"}, + {"2804:1d70::/32", "264368"}, + {"2a02:868::/33", "13247"}, + {"2a02:26f7:dc04::/48", "36183"}, + {"2001:550:2802::/45", "174"}, + {"2600:100b:f010::/39", "6167"}, + {"2620:0:b30::/48", "32982"}, + {"2804:5640:f800::/37", "267986"}, + {"2a03:6580::/32", "19855"}, + {"240a:acef::/32", "145961"}, + {"2804:4cf8:2000::/32", "267404"}, + {"2001:559:81cf::/48", "33287"}, + {"2404:63c0:10::/44", "131645"}, + {"2406:e00:104::/47", "55740"}, + {"2604:d400:ff11::/48", "25934"}, + {"2606:4700:3055::/46", "13335"}, + {"2800:6c0::/32", "27823"}, + {"2a01:8840:66::/44", "12041"}, + {"2a0b:b87:ffef::/48", "20473"}, + {"240e:44d:2900::/41", "140345"}, + {"2804:1698::/32", "263295"}, + {"2c0f:fcb0:6000::/32", "36916"}, + {"2602:feca::/36", "6939"}, + {"2801:80:ae0::/48", "61779"}, + {"2806:2f0:3543::/42", "17072"}, + {"2a10:6c0::/29", "207324"}, + {"2600:1413:c001::/35", "20940"}, + {"2602:fd41::/36", "53859"}, + {"2a06:a005:14::/47", "210925"}, + {"2408:8957:9600::/40", "17622"}, + {"240a:ae92::/32", "146380"}, + {"2620:135:7001::/48", "7029"}, + {"2803:ca0::/32", "266831"}, + {"2a05:2080::/29", "204819"}, + {"240a:a302::/32", "143420"}, + {"2a02:4560::/46", "60157"}, + {"2001:df1:9000::/48", "58820"}, + {"2400:a980:500::/36", "133111"}, + {"2402:a00:fffa::/45", "45916"}, + {"2a02:47e0::/29", "201984"}, + {"2a0d:d740::/48", "210036"}, + {"2001:18c8:500::/40", "26326"}, + {"2001:4408:5227::/41", "4758"}, + {"2407:de40:4200::/48", "146886"}, + {"2001:1248:982a::/48", "11172"}, + {"2400:4d40:100a::/34", "134204"}, + {"2408:8956:e000::/40", "17622"}, + {"2804:316c::/32", "265014"}, + {"2804:7974::/32", "271306"}, + {"2a02:4e0:2800::/41", "16135"}, + {"2a0c:f040::/48", "51765"}, + {"2804:24dc::/32", "264245"}, + {"2a00:79e1:f1f::/48", "395973"}, + {"2610:20:6f15::/48", "49"}, + {"2804:5220::/32", "268496"}, + {"2a02:8f0::/32", "29003"}, + {"2a04:c940::/29", "25081"}, + {"2001:4878:4321::/45", "12222"}, + {"2401:4900:1c26::/44", "24560"}, + {"2402:1580:2100::/36", "17682"}, + {"2404:7a40::/43", "132556"}, + {"2800:bf0:a103::/45", "27947"}, + {"2803:6e80::/32", "27923"}, + {"2a02:cf40::/29", "62121"}, + {"240a:a0b6::/32", "142832"}, + {"240a:a66b::/32", "144293"}, + {"2600:1009:a120::/36", "22394"}, + {"2600:370f:36e5::/46", "32261"}, + {"2605:a401:8000::/47", "33363"}, + {"2605:de00:bc::/32", "30083"}, + {"2800:160:182e::/41", "14259"}, + {"2804:24c::/32", "262605"}, + {"2a03:9e00:406::/32", "14537"}, + {"2408:80fa:4000::/34", "17816"}, + {"2600:6c20:a10::/44", "20115"}, + {"2602:ff68::/36", "63436"}, + {"2800:160:19fa::/38", "14259"}, + {"2a0d:b201:6030::/41", "206026"}, + {"2408:870c:3000::/44", "138421"}, + {"240a:a164::/32", "143006"}, + {"240a:a633::/32", "144237"}, + {"2600:6c10:ffe4::/46", "20115"}, + {"2606:3b00::/32", "4906"}, + {"2607::/32", "19016"}, + {"2804:1530::/32", "262481"}, + {"2804:48a4::/32", "267135"}, + {"2a02:888:14a::/45", "47794"}, + {"2a02:26f7:cd45::/48", "20940"}, + {"2001:559:a4::/48", "33651"}, + {"2401:d800:b5a0::/41", "7552"}, + {"2409:8053:3002::/40", "56047"}, + {"240a:a650::/32", "144266"}, + {"240e:3b0:3e00::/33", "140308"}, + {"2607:f8d8::/32", "3580"}, + {"2801:2:101::/32", "17147"}, + {"2001:678:148::/48", "16302"}, + {"2001:67c:137c::/48", "49638"}, + {"2001:1988::/32", "16467"}, + {"2600:6:ff80::/44", "10507"}, + {"2804:319c::/32", "265026"}, + {"2a00:8140::/35", "60351"}, + {"2a11:e487:beef::/48", "212580"}, + {"2001:16e8:1118::/32", "25542"}, + {"2401:fa00::/42", "45566"}, + {"2600:5c01:2bd6::/37", "10796"}, + {"2804:90:5100::/38", "28580"}, + {"2804:7710::/34", "271152"}, + {"2a01:c50f:c040::/39", "12479"}, + {"2a03:2887:ff0f::/43", "35819"}, + {"240a:a6f6::/32", "144432"}, + {"2804:63a8:1002::/32", "269375"}, + {"2a02:f480::/29", "60717"}, + {"2404:ec:520::/32", "703"}, + {"2804:f78:cecf::/34", "263587"}, + {"2a02:26f7:72::/48", "36183"}, + {"2a02:ee80:415e::/42", "3573"}, + {"2a09:da80::/29", "15830"}, + {"2620:52:7::/48", "40955"}, + {"2a00:ca0::/32", "29286"}, + {"2a01:8000:1ffe::/32", "60672"}, + {"2a0b:f840::/32", "205376"}, + {"2001:c20:48b6::/48", "3758"}, + {"2404:6800:480f::/32", "15169"}, + {"240a:a005::/32", "142655"}, + {"240e:3b2:7600::/39", "140313"}, + {"2610:108:4000::/48", "13506"}, + {"2a05:d4c0::/29", "201011"}, + {"2406:d00:5555::/48", "132165"}, + {"2409:8904:5540::/42", "24547"}, + {"240a:ab8e::/32", "145608"}, + {"2a04:eb40::/29", "21183"}, + {"2a04:f580:9030::/48", "4809"}, + {"2a07:3500:13b8::/48", "212151"}, + {"2a0a:c540::/29", "205940"}, + {"2001:559:c036::/47", "20214"}, + {"2401:13c0:4000::/36", "132652"}, + {"2804:154c:4404::/35", "263382"}, + {"2804:4da8::/32", "268211"}, + {"2a00:5600::/32", "31727"}, + {"2a00:8c60:1::/48", "60706"}, + {"2a00:90c0:301::/29", "197745"}, + {"2a03:59e0::/32", "31736"}, + {"2001:559:4dc::/48", "7922"}, + {"2001:559:511::/48", "7016"}, + {"2001:67c:4d0::/48", "43354"}, + {"2403:4000:1a::/32", "24122"}, + {"240a:a552::/32", "144012"}, + {"240e:44d:2b40::/42", "140349"}, + {"2607:fb10:7152::/42", "2906"}, + {"2a00:6760::/32", "202140"}, + {"2a02:26f7:d049::/42", "20940"}, + {"2405:84c0:fade::/48", "138990"}, + {"2409:8924:900::/38", "56046"}, + {"2800:950::/32", "10299"}, + {"2804:78e8::/32", "271273"}, + {"2a00:4b00:13e::/38", "41935"}, + {"2400:c400::/32", "45570"}, + {"240e:44d:3f80::/41", "4134"}, + {"2620:3c::/42", "35929"}, + {"2804:1274::/32", "263477"}, + {"2001:418:2::/36", "2914"}, + {"2001:470:e7::/48", "15011"}, + {"2001:57a:1206::/34", "22773"}, + {"2404:7240:2009::/33", "59074"}, + {"2600:6c10:d7::/39", "20115"}, + {"2605:3380:440e::/48", "12025"}, + {"2804:4c14:eb01::/35", "267348"}, + {"2a00:c440::/29", "2116"}, + {"2001:559:c428::/48", "7922"}, + {"2402:1c80:4000::/32", "133957"}, + {"2804:2984:380::/37", "53184"}, + {"2a01:6e80:fffe::/48", "198156"}, + {"2001:590:3c01::/48", "34164"}, + {"2001:df7:fc80::/48", "136897"}, + {"2600:2002:3000::/36", "33517"}, + {"2600:6c21:403::/45", "20115"}, + {"2803:e880:fff1::/44", "52468"}, + {"2804:81a4::/32", "272467"}, + {"2a03:9120::/32", "43232"}, + {"2c0f:fe78:6000::/32", "37239"}, + {"2001:559:e::/48", "7922"}, + {"240e:44d:7d80::/41", "4134"}, + {"2804:4f90:300::/32", "268335"}, + {"2a03:25a0::/32", "201656"}, + {"2405:ba00:8701::/48", "136025"}, + {"2407:2ec0::/48", "135967"}, + {"2a02:f800::/29", "20485"}, + {"2001:579:408c::/41", "22773"}, + {"240a:60:f00e::/48", "9605"}, + {"240a:abd0::/32", "145674"}, + {"2804:67c0::/32", "269648"}, + {"2a02:750:15::/30", "42708"}, + {"2a05:3580:d000::/38", "35807"}, + {"2001:559:264::/47", "7922"}, + {"240a:a3b9::/32", "143603"}, + {"2a06:dd40:5600::/47", "203416"}, + {"2c0f:f350::/32", "328471"}, + {"2001:44b8:44::/38", "4739"}, + {"2600:6c7f:9072::/48", "20115"}, + {"2409:8052:3800::/47", "56047"}, + {"2804:2984:300::/41", "53184"}, + {"2001:c20::/43", "3758"}, + {"2a02:e980:1fa::/38", "19551"}, + {"2408:8956:edc0::/38", "17622"}, + {"240a:a34a::/32", "143492"}, + {"2606:2800:3::/48", "15133"}, + {"2804:884:2::/32", "262375"}, + {"2a0f:cd00::/29", "44885"}, + {"2001:678:2f0::/48", "20847"}, + {"2400:8000:8004::/33", "4800"}, + {"2600:6c39:23a::/40", "20115"}, + {"2800:160:1656::/47", "14259"}, + {"2a02:2e02:1bc0::/42", "12479"}, + {"2a03:7500::/29", "20810"}, + {"2800:bf0:81e9::/46", "52257"}, + {"2a02:26f7:53::/48", "20940"}, + {"2a0c:8540:a::/47", "42198"}, + {"2a07:a40::/44", "48821"}, + {"2a0f:3500::/29", "201188"}, + {"2408:8957:1500::/40", "17816"}, + {"2409:8087:4401::/40", "24445"}, + {"2a04:83c0::/29", "41561"}, + {"2a10:84c0::/29", "44103"}, + {"240a:a379::/32", "143539"}, + {"2600:370f:2022::/45", "32261"}, + {"2607:d580::/32", "16717"}, + {"2409:8a51:b00::/37", "56047"}, + {"2a09:ea00::/48", "16509"}, + {"2a0d:2c80::/29", "204647"}, + {"2001:978:7501::/38", "174"}, + {"2001:16a2:c00::/34", "39386"}, + {"2a01:c50e:a400::/35", "12479"}, + {"2a05:6e00::/29", "30781"}, + {"2c0f:ee88::/32", "328285"}, + {"2001:559:c177::/48", "33491"}, + {"2402:5300:4310::/37", "45903"}, + {"240a:a15e::/32", "143000"}, + {"2804:2644::/32", "264336"}, + {"2804:37f0::/35", "266445"}, + {"2001:df0:6800::/48", "23620"}, + {"2001:1248:9701::/46", "11172"}, + {"2404:8d06:b000::/40", "133543"}, + {"2804:211c:fe40::/39", "264536"}, + {"2804:22d0::/32", "264124"}, + {"2a02:2ad8::/39", "702"}, + {"2a04:c840::/29", "197830"}, + {"2a0a:5f40::/32", "207242"}, + {"2a0e:97c0:2f0::/44", "211540"}, + {"2c0f:ec08::/32", "328384"}, + {"2408:8469::/27", "4837"}, + {"2600:2c00:b000::/36", "17378"}, + {"2a05:a880:dc20::/48", "36351"}, + {"2a10:8001:c000::/36", "8551"}, + {"2a12:ba00::/29", "204790"}, + {"2404:f780:100::/48", "136557"}, + {"2804:18:6858::/39", "10429"}, + {"2804:c9c::/32", "52729"}, + {"2806:230:204c::/48", "265594"}, + {"2400:9380:8201::/48", "4134"}, + {"2607:d600::/32", "13576"}, + {"2a09:c80::/29", "41743"}, + {"2a02:26f7:f609::/46", "20940"}, + {"240a:afb6::/32", "146672"}, + {"2606:a680::/32", "393706"}, + {"2804:7918:1000::/32", "271284"}, + {"2a02:26f7:f508::/48", "36183"}, + {"2001:559:27b::/48", "33491"}, + {"2402:800:951d::/41", "7552"}, + {"2606:ae00:bee1::/39", "7287"}, + {"2620:f4:c000::/48", "13543"}, + {"2804:78::/32", "262684"}, + {"2a01:7640::/38", "21282"}, + {"2001:559:55d::/48", "7015"}, + {"2001:1490:104::/32", "8895"}, + {"2606:5580:c000::/38", "63242"}, + {"2607:f148:2005::/36", "11734"}, + {"2803:bb20::/32", "266752"}, + {"2a06:1287:330e::/47", "206499"}, + {"2401:5e40::/35", "63770"}, + {"2602:ffb9::/36", "16621"}, + {"2804:3b64::/32", "266146"}, + {"2403:9800:7f0d::/46", "4771"}, + {"2409:8904:d270::/40", "24547"}, + {"2804:640:112::/34", "262713"}, + {"2804:6d2c::/32", "270517"}, + {"2a00:ccc1:100::/40", "44486"}, + {"2600:1001:b100::/42", "6167"}, + {"2a01:7640:9000::/48", "206768"}, + {"2001:678:2ac::/48", "206763"}, + {"2001:df1:6c00::/48", "138685"}, + {"2001:df5:b000::/48", "45637"}, + {"2406:da00:e000::/40", "16509"}, + {"2600:6c20:80d::/42", "20115"}, + {"2606:2800:154::/48", "15133"}, + {"2607:fcd0:105:2700::/49", "8100"}, + {"2803:2fa0:ff00::/40", "265705"}, + {"2804:3358:4000::/32", "265390"}, + {"2804:41ec::/33", "267466"}, + {"2804:4fd4:c000::/34", "268352"}, + {"2a0b:6b86:d00::/43", "212232"}, + {"2a0e:8f02:f022::/48", "211479"}, + {"2001:250:1020::/44", "24353"}, + {"2001:15b0::/32", "21221"}, + {"2400:cb00:340::/45", "13335"}, + {"2405:6e00:2488::/45", "133612"}, + {"2606:2800:4a30::/46", "15133"}, + {"2401:3cc0:501::/38", "137409"}, + {"2600:1419:6400::/48", "35994"}, + {"2602:fe68::/36", "26370"}, + {"2804:81b0::/32", "272470"}, + {"240a:ad5c::/32", "146070"}, + {"2001:559:1e0::/48", "33659"}, + {"2001:559:c283::/45", "7015"}, + {"2603:c0f0:2000::/43", "6142"}, + {"2804:7d0::/32", "262324"}, + {"2a01:5f7::/32", "5588"}, + {"2a03:f80:381::/48", "9009"}, + {"2001:680::/32", "3257"}, + {"2605:a404:68b::/43", "33363"}, + {"2804:f2c:5800::/32", "53191"}, + {"2804:5238::/32", "268503"}, + {"2a02:26f7:e101::/46", "20940"}, + {"2a09:9a00::/29", "212417"}, + {"2401:cec0::/32", "55996"}, + {"2401:d800:b060::/40", "7552"}, + {"2402:2680::/32", "63873"}, + {"2607:180::/32", "395663"}, + {"2a00:4802:310::/44", "8717"}, + {"2001:4878:4158::/48", "12222"}, + {"2405:9800:c000::/37", "45430"}, + {"2607:f790:fff1::/45", "12129"}, + {"2607:fc58:1:29::/64", "13536"}, + {"2a00:a920::/36", "60486"}, + {"2a11:2780::/29", "21040"}, + {"2804:14c:65fa::/45", "28573"}, + {"2a0f:9207:24::/48", "61421"}, + {"2400:adc2:900::/38", "9541"}, + {"2405:ec00:5::/39", "23955"}, + {"2c0f:f578:70::/32", "24691"}, + {"2400:c6c0::/32", "58909"}, + {"2803:be20::/32", "52444"}, + {"2804:4db4::/32", "268214"}, + {"2001:559:1c5::/48", "33660"}, + {"2804:45e4:7410::/36", "262567"}, + {"2001:559:c14c::/47", "7015"}, + {"2620:c0::/48", "6492"}, + {"2803:f080:8800::/41", "64120"}, + {"2804:3110::/32", "264990"}, + {"2804:4488:2010::/44", "262480"}, + {"2a0c:1880::/29", "211594"}, + {"2a0c:7d40::/32", "209418"}, + {"2001:df0:d::/48", "24088"}, + {"2408:8459:a450::/38", "17816"}, + {"2804:1644::/38", "262903"}, + {"2a02:26f0:e301::/40", "20940"}, + {"2a0b:4340:520::/44", "134098"}, + {"2600:1403:9401::/36", "20940"}, + {"2801:1:8800::/48", "64102"}, + {"2a01:728::/29", "16347"}, + {"2a02:26f7:ec45::/46", "20940"}, + {"2a0c:3dc0::/29", "61323"}, + {"2408:840c:400::/40", "17621"}, + {"2607:fdf0::/33", "8008"}, + {"2a02:26f7:d788::/48", "36183"}, + {"2001:13d2:3805::/44", "7303"}, + {"2620:11e:1000::/48", "20052"}, + {"2001:250:1e0a::/39", "23910"}, + {"2001:fd8:b3b0::/44", "4775"}, + {"2402:1980::/32", "4818"}, + {"2600:370f:34c0::/45", "32261"}, + {"2804:28d0::/32", "263982"}, + {"2408:84f3:2c10::/44", "17623"}, + {"2603:f4b0::/29", "63023"}, + {"2804:20fc:2500::/32", "264525"}, + {"2a02:26f7:d585::/46", "20940"}, + {"2408:8956:cbc0::/37", "17622"}, + {"2600:140b:2201::/39", "20940"}, + {"2804:f88::/32", "28665"}, + {"2403:e00::/32", "38437"}, + {"2800:160:17b4::/44", "14259"}, + {"2a0a:6680:a000::/36", "206398"}, + {"2a0d:b201:c000::/43", "206026"}, + {"2804:827c::/32", "262937"}, + {"2806:2f0:9783::/42", "17072"}, + {"2a03:d7c0::/29", "42695"}, + {"2a06:e881:7100::/46", "207748"}, + {"2001:67c:890::/48", "49881"}, + {"2803:48e0::/47", "52468"}, + {"2001:559:82d7::/48", "33668"}, + {"2001:1ba0::/32", "5578"}, + {"2401:d280::/32", "133771"}, + {"2404:3d00:4132::/47", "21433"}, + {"2409:8904:8040::/39", "24547"}, + {"240a:a366::/32", "143520"}, + {"2a02:28e8::/32", "34347"}, + {"2600:4800::/41", "54004"}, + {"2a04:ac00::/48", "56534"}, + {"2001:468:f000::/48", "11164"}, + {"2804:5ef4::/32", "269067"}, + {"2806:2f0:1103::/42", "22884"}, + {"2a00:dc8::/32", "39637"}, + {"2a0d:c480::/29", "60721"}, + {"2001:579:50f8::/39", "22773"}, + {"2800:481::/32", "14080"}, + {"2804:1410::/32", "262360"}, + {"2001:44b8:30c8::/48", "4739"}, + {"2001:4818:2000::/36", "36030"}, + {"2606:a800::/32", "4922"}, + {"2800:5f0:3026::/47", "22724"}, + {"2806:2ea::/32", "139235"}, + {"2001:1960:200::/32", "5650"}, + {"2620:7e:3::/44", "22414"}, + {"2804:3a88::/32", "266094"}, + {"2804:414c::/32", "28204"}, + {"2a01:758::/48", "15785"}, + {"2a02:26f7:bb46::/47", "20940"}, + {"2a02:26f7:e1c1::/46", "20940"}, + {"2a11:8b80::/32", "13030"}, + {"2600:1406:43::/48", "35994"}, + {"2605:8d80:900::/34", "812"}, + {"2001:559:c20b::/48", "7922"}, + {"2001:67c:2444::/48", "43018"}, + {"2402:a900::/32", "9877"}, + {"2a0d:8580::/32", "204572"}, + {"2001:44b8:605d::/48", "4739"}, + {"2400:4ec0:8d01::/38", "64300"}, + {"2804:4020::/32", "265936"}, + {"2a02:54e0::/29", "50606"}, + {"2a0e:1106:fd::/46", "62142"}, + {"2c0f:f000:200::/37", "36891"}, + {"2001:da8:201::/48", "59201"}, + {"2001:dce:d454::/48", "38064"}, + {"2402:800:529b::/41", "7552"}, + {"240a:ae1c::/32", "146262"}, + {"2a10:2f00:15e::/48", "212227"}, + {"2600:6c21:805::/46", "20115"}, + {"2001:559:819e::/48", "22909"}, + {"2001:c20:c836::/44", "3758"}, + {"2001:dc7:cd01::/43", "24151"}, + {"2604:71c0::/32", "10423"}, + {"2a0b:1306:2::/48", "198018"}, + {"2001:cb0:2207::/35", "4637"}, + {"2602:fd7d:200::/37", "16925"}, + {"2800:bf0:3b42::/42", "27947"}, + {"2804:348:8000::/33", "28133"}, + {"2a0b:ed40::/31", "212547"}, + {"2a0c:6200::/29", "48655"}, + {"2a10:8441:113::/29", "50455"}, + {"2001:4998:68::/48", "5779"}, + {"2401:d800:f670::/40", "7552"}, + {"2a0c:cf00::/29", "205002"}, + {"2a0e:8f02:f010::/48", "212331"}, + {"2a10:2140::/29", "205843"}, + {"2a10:2f01:330::/44", "44024"}, + {"2001:850::/29", "8447"}, + {"2405:201:c800::/35", "55836"}, + {"240a:aae4::/32", "145438"}, + {"2607:f3d8::/32", "21513"}, + {"2803:dac0:201::/32", "265634"}, + {"2804:1368:f0d1::/36", "262808"}, + {"2804:8620::/32", "272623"}, + {"2001:559:c070::/48", "33652"}, + {"2408:8256:3176::/48", "17816"}, + {"240e:979:e00::/40", "134770"}, + {"2801:80:19c0::/48", "265101"}, + {"2804:b18:8009::/41", "52941"}, + {"2806:2f0:9dc1::/46", "17072"}, + {"2a02:13b0:1::/48", "48635"}, + {"2404:97c0::/32", "138814"}, + {"240a:a9d0::/32", "145162"}, + {"2600:1017:b4e0::/38", "6167"}, + {"2804:8a8::/32", "262385"}, + {"2804:7c7c::/39", "271499"}, + {"2a02:26f0:77::/48", "34164"}, + {"2a07:a343:f210::/44", "9009"}, + {"2a0b:2900:1000::/38", "48582"}, + {"2a11:8481::/32", "210852"}, + {"2001:559:7ec::/48", "33491"}, + {"240e:44d:a80::/41", "4134"}, + {"240e:67d:1800::/32", "4134"}, + {"2600:370f:7505::/44", "32261"}, + {"2620:125:9003::/48", "397415"}, + {"2806:34b::/32", "398013"}, + {"2a04:c41::/29", "61098"}, + {"2404:4e00:2000::/48", "32787"}, + {"2404:8000:31::/41", "17451"}, + {"240a:a67b::/32", "144309"}, + {"2605:e000:1b00::/40", "10838"}, + {"2606:8e80:800::/37", "32133"}, + {"2a02:26f7:e104::/48", "36183"}, + {"2a02:26f7:edc5::/42", "20940"}, + {"2a03:4d41:110::/38", "199610"}, + {"2001:559:86ad::/48", "7016"}, + {"2604:d600:111e::/42", "32098"}, + {"2804:15ec::/36", "28599"}, + {"2a02:26f1::/29", "20940"}, + {"2a0e:ec0::/29", "211147"}, + {"2001:559:84fe::/47", "33659"}, + {"2001:fd8:f230::/44", "4775"}, + {"2a00:1d36:c00::/40", "47331"}, + {"2a10:6800::/29", "399975"}, + {"2403:73c0::/32", "135244"}, + {"2408:8256:328c::/48", "17816"}, + {"240e:e:c800::/37", "137690"}, + {"2604:8f40::/32", "23423"}, + {"2806:335:100::/37", "265580"}, + {"2402:ab00:caff::/34", "24206"}, + {"2602:fca3:10::/48", "2165"}, + {"2607:fd80::/32", "14103"}, + {"240a:a034::/32", "142702"}, + {"240a:adf7::/32", "146225"}, + {"2804:6424::/32", "269409"}, + {"2001:df1:2000::/48", "9268"}, + {"240a:40a2:c000::/35", "58834"}, + {"240e:13::/37", "4134"}, + {"2800:590:1000::/34", "7004"}, + {"2803:bb40::/32", "52507"}, + {"2a02:26f0:fe01::/39", "20940"}, + {"2a0b:3380::/29", "28686"}, + {"2001:559:87e6::/48", "33491"}, + {"2001:da8:b009::/48", "23910"}, + {"2001:df7:ed00::/48", "138806"}, + {"2001:1248:59c3::/45", "11172"}, + {"2605:ca40:2::/48", "16158"}, + {"2607:1c80::/32", "18615"}, + {"2a02:4e0:2700::/41", "16135"}, + {"2a10:4646:14::/48", "212065"}, + {"2001:dce:5201::/40", "23869"}, + {"2001:df1:b200::/48", "135343"}, + {"2400:9380:9060::/47", "4809"}, + {"240e:44d:1d80::/41", "4134"}, + {"2804:3a44::/32", "266080"}, + {"2a02:d107:f001::/48", "200088"}, + {"2001:550:2602::/45", "174"}, + {"2001:43f8:1440::/48", "328578"}, + {"2401:e180::/32", "9674"}, + {"2407:4340::/32", "142014"}, + {"2409:8924:9f00::/34", "56046"}, + {"2409:8c20:5022::/45", "56046"}, + {"2604:d600:104d::/42", "32098"}, + {"2801:80:1970::/48", "265049"}, + {"2801:15a::/40", "267788"}, + {"2804:558::/32", "262509"}, + {"2001:559:b0::/47", "33491"}, + {"2401:4900:2580::/38", "45609"}, + {"2404:bf40:f000::/48", "7545"}, + {"2a02:990::/32", "25459"}, + {"2001:468:2810::/48", "396961"}, + {"2406:b2c0::/32", "40676"}, + {"240a:a43a::/32", "143732"}, + {"240a:a687::/32", "144321"}, + {"2600:370f:3585::/46", "32261"}, + {"2600:6c38:324::/43", "20115"}, + {"2620:12c:9020::/48", "395359"}, + {"2800:160:19ce::/43", "14259"}, + {"2a01:190:15f0::/29", "1764"}, + {"2a0d:5600:57::/44", "9009"}, + {"2001:559:8205::/48", "7922"}, + {"2001:559:c105::/48", "33659"}, + {"2409:8904:4760::/36", "24547"}, + {"2607:f408:10::/45", "19871"}, + {"2620:11a:a036::/44", "36040"}, + {"2a02:26f7:ba80::/48", "36183"}, + {"2001:67c:2e1c::/48", "6848"}, + {"240a:af76::/32", "146608"}, + {"2a02:26f7:cac8::/48", "36183"}, + {"2a0a:8ec0::/29", "48918"}, + {"2408:8656:c53::/35", "17622"}, + {"240a:a88f::/32", "144841"}, + {"2804:6768::/32", "269626"}, + {"2a02:26f7:e3c5::/46", "20940"}, + {"2a11:e487:1::/46", "212580"}, + {"2001:da8:8031::/48", "23910"}, + {"2001:fd8:b1f0::/44", "4775"}, + {"2607:c400::/33", "5555"}, + {"2804:74f4:8000::/33", "271014"}, + {"2a01:c50f:fa00::/37", "12479"}, + {"2001:559:c50e::/48", "7016"}, + {"2001:df5:af80::/48", "18229"}, + {"2403:d400::/32", "24364"}, + {"240e:109:8023::/48", "4134"}, + {"2804:3ef4::/32", "266631"}, + {"2804:4394::/32", "267577"}, + {"2a0b:5400:1::/48", "13030"}, + {"2a11:e680::/29", "60022"}, + {"2408:8459:9410::/42", "17623"}, + {"2803:12a0::/32", "266855"}, + {"2804:14d:7400::/40", "28573"}, + {"2a05:d050:20c0::/44", "16509"}, + {"2a0a:4a40::/34", "206754"}, + {"2a0d:5642:129::/48", "35487"}, + {"2001:cb8::/32", "7687"}, + {"2804:2d0::/32", "53230"}, + {"2804:4f8:c000::/36", "28263"}, + {"2a00:1978::/32", "12579"}, + {"2001:fd8:31b0::/44", "4775"}, + {"2408:8459:6a10::/42", "17623"}, + {"2607:fc58:1004::/48", "12055"}, + {"2804:4928::/32", "28161"}, + {"2a01:b740:16::/37", "714"}, + {"2a03:5400:100::/47", "6279"}, + {"240a:a320::/32", "143450"}, + {"240e:109:8047::/48", "131325"}, + {"240e:3b5:6400::/35", "140312"}, + {"2a07:eec0::/29", "201240"}, + {"2400:dcc0:a704::/36", "38631"}, + {"2409:8c28:6193::/36", "56041"}, + {"2600:140f:7801::/32", "20940"}, + {"2804:71e0::/32", "270817"}, + {"2a02:26f7:e5c5::/46", "20940"}, + {"2001:67c:28ac::/48", "25400"}, + {"2401:4900:4cc0::/44", "45609"}, + {"2409:8754:3c00::/39", "56040"}, + {"240e:947:3000::/33", "139887"}, + {"2600:1410:3001::/33", "20940"}, + {"2806:230:6030::/48", "265594"}, + {"2a02:e00:fff1::/44", "29141"}, + {"2c0f:fe38:2220::/41", "33771"}, + {"2001:559:c1f1::/48", "7015"}, + {"2408:8957:aa00::/40", "17622"}, + {"240e:108:1010::/48", "137698"}, + {"2a02:9010:75::/23", "3352"}, + {"2001:1540::/32", "47886"}, + {"2a0b:6b86:d13::/45", "212232"}, + {"2402:800:62dc::/39", "7552"}, + {"240e:438:9840::/38", "4134"}, + {"2607:f5e8::/32", "22926"}, + {"2804:117c:800d::/46", "262182"}, + {"2a00:5540:5014::/48", "198362"}, + {"2a02:7a0:908::/29", "12586"}, + {"2a02:2ad0:503::/43", "702"}, + {"2001:559:c072::/48", "33489"}, + {"2001:67c:1364::/48", "41289"}, + {"2001:4b20:100:570::/60", "65505"}, + {"2405:ba00:8800::/48", "63295"}, + {"2409:8904:4b60::/37", "24547"}, + {"240a:a10f::/32", "142921"}, + {"240e:b1:f800::/30", "4134"}, + {"2600:1000:f000::/44", "6167"}, + {"2001:559:3a1::/48", "33657"}, + {"2606:4700:4400::/44", "13335"}, + {"2620:12:2000::/48", "394756"}, + {"2804:8160::/32", "272450"}, + {"2c0e:2000::/29", "5713"}, + {"2400:7400:43::/45", "23736"}, + {"2402:800:92ee::/39", "7552"}, + {"2600:1415:13::/45", "20940"}, + {"2800:200:bd10::/42", "12252"}, + {"2804:4580:503::/38", "266931"}, + {"2804:4f80:c000::/46", "268330"}, + {"2804:5370::/32", "268584"}, + {"240a:a6e4::/32", "144414"}, + {"2600:370f:72a5::/46", "32261"}, + {"2602:fe8a::/36", "62663"}, + {"2610:a1:3018::/48", "12008"}, + {"2a02:7260::/29", "201898"}, + {"2a06:e881:7300::/47", "213151"}, + {"2a0f:9884::/32", "210625"}, + {"2001:250:205::/48", "24349"}, + {"2001:559:300::/48", "33659"}, + {"2001:559:72b::/48", "7922"}, + {"2001:559:c1b4::/48", "33668"}, + {"2600:381:200::/39", "20057"}, + {"2803:6604:6a00::/32", "28075"}, + {"2404:f4c0:fe10::/44", "139249"}, + {"240a:a855::/32", "144783"}, + {"2600:1800:16::/31", "16552"}, + {"2400:ca07:f020::/43", "23688"}, + {"2607:f740:e619::/45", "63911"}, + {"2a02:2698:5000::/38", "43478"}, + {"2a02:c6a0::/30", "680"}, + {"2a0a:3e00::/29", "64411"}, + {"2a0f:7c80::/29", "50113"}, + {"2001:16a2:8300::/34", "39386"}, + {"2405:7f00:81a0::/38", "133414"}, + {"240a:a914::/32", "144974"}, + {"2001:67c:7e4::/48", "57243"}, + {"2401:d800:bcb0::/41", "7552"}, + {"2600:100d:b170::/40", "22394"}, + {"2a02:26f7:ec05::/46", "20940"}, + {"2a03:b300::/32", "35399"}, + {"2a0f:e402::/32", "61218"}, + {"2c0f:fef8:11::/32", "15399"}, + {"2001:c20:4886::/48", "3758"}, + {"2001:df2:7900::/48", "6939"}, + {"2401:4900:55a0::/41", "45609"}, + {"2408:8256:3b6a::/48", "17623"}, + {"2804:14d:4400::/40", "28573"}, + {"2c0f:fec8:201::/35", "37197"}, + {"2001:579:5044::/40", "22773"}, + {"240a:afb3::/32", "146669"}, + {"2604:7a00:ffc0::/42", "11055"}, + {"2804:20e8::/32", "264520"}, + {"2a01:7e80:321::/32", "197990"}, + {"2a07:3d00::/29", "49088"}, + {"2001:559:c490::/46", "33287"}, + {"2001:67c:394::/48", "47698"}, + {"2001:da8:901e::/48", "24370"}, + {"240a:aa63::/32", "145309"}, + {"2600:1fa0:60a0::/44", "16509"}, + {"2604:8500::/32", "25769"}, + {"2605:89c0::/32", "16556"}, + {"2a01:94a0::/32", "8680"}, + {"2001:250:3433::/48", "138438"}, + {"2001:df0:5b40::/48", "140825"}, + {"2001:16a2:400a::/43", "25019"}, + {"2408:84f3:f610::/44", "17623"}, + {"2801:c4:10::/48", "28383"}, + {"2804:1464::/32", "52630"}, + {"2804:3dec::/32", "266563"}, + {"2400:cb00:a940::/47", "13335"}, + {"2400:da00:5ff1::/48", "58540"}, + {"2402:9e80:60::/48", "138351"}, + {"2803:a10::/32", "265822"}, + {"2803:37c0::/32", "265772"}, + {"2804:1030::/32", "53163"}, + {"2804:665c::/32", "269553"}, + {"2a01:3f1:3000::/38", "56908"}, + {"2a01:5042:e::/48", "202196"}, + {"2a02:6621::/32", "47723"}, + {"2a05:5ec0::/47", "201364"}, + {"2001:559:c346::/48", "33662"}, + {"2408:8456:1040::/38", "17816"}, + {"2602:fea7:f00::/40", "397270"}, + {"2620:26:c000::/47", "55243"}, + {"2a0f:9400:8018::/48", "213316"}, + {"2806:322:d00::/35", "28546"}, + {"2001:fb0:100e::/47", "37992"}, + {"2600:1415:c01::/35", "20940"}, + {"2606:cb80::/32", "394752"}, + {"2a03:dec0::/32", "48524"}, + {"2a0e:97c3:539::/48", "20473"}, + {"2001:dc7:ffc3::/45", "24151"}, + {"2401:4900:1aa0::/44", "45609"}, + {"2a00:7d20::/32", "44671"}, + {"2a03:b500::/40", "41135"}, + {"2a06:e881:5101::/46", "210090"}, + {"2001:3c8:c10c::/38", "4621"}, + {"2001:559:c272::/48", "7922"}, + {"2804:14c:5f88::/41", "28573"}, + {"2a06:e881:5402::/45", "209808"}, + {"2806:230:2017::/48", "11888"}, + {"2602:ff62:208::/45", "61317"}, + {"2804:37bc::/32", "266433"}, + {"2804:3ef0:e100::/47", "266630"}, + {"2001:559:842b::/48", "7015"}, + {"2001:67c:11cc::/48", "3301"}, + {"2001:67c:2910::/48", "3301"}, + {"2001:43f8:13c0::/48", "328522"}, + {"2001:44b8:2045::/48", "4739"}, + {"240e:838:50::/25", "4134"}, + {"2602:feb4:220::/44", "25961"}, + {"2a00:fbc0::/32", "29512"}, + {"2a01:8800::/29", "15693"}, + {"240e:108:13a0::/44", "4811"}, + {"2804:5158::/32", "268446"}, + {"2804:6eb4::/32", "270614"}, + {"2806:20d:1b04::/37", "32098"}, + {"2a02:26f7:f645::/46", "20940"}, + {"2a11:c780::/29", "210799"}, + {"2001:559:5b5::/48", "22909"}, + {"2001:49f0:a017::/44", "174"}, + {"2001:67c:2b8::/48", "51413"}, + {"2401:d800:bd0::/37", "7552"}, + {"2407:3100::/32", "10118"}, + {"2407:8780:2::/47", "135628"}, + {"240a:a1df::/32", "143129"}, + {"240a:a740::/32", "144506"}, + {"240e:44d:5600::/42", "140345"}, + {"240e:46c::/30", "4812"}, + {"2804:7bbc::/32", "271451"}, + {"2a10:d501::/32", "398464"}, + {"2001:559:c26c::/48", "33668"}, + {"240a:a4c9::/32", "143875"}, + {"2804:269c:fe41::/46", "47065"}, + {"2a10:cc42:1c00::/40", "20473"}, + {"2409:8c1f:5b80::/34", "9808"}, + {"2600:370f:31c3::/42", "32261"}, + {"2620:171:cc::/48", "42"}, + {"2800:320:8406::/48", "27882"}, + {"2804:1f04::/32", "53046"}, + {"2804:3828::/32", "266460"}, + {"2a06:cb00::/29", "203615"}, + {"2001:df0:99::/48", "45304"}, + {"2806:230:4011::/48", "11888"}, + {"2a06:45c1::/32", "200416"}, + {"2a0c:b641:24f::/48", "141694"}, + {"2405:d300:21::/40", "17477"}, + {"2600:140b:bc01::/33", "20940"}, + {"2804:348::/33", "28133"}, + {"2804:bd4::/32", "52836"}, + {"2804:3bf0:4001::/32", "266181"}, + {"2a0e:8f02:f001::/48", "213126"}, + {"2a0e:b107:13d6::/48", "211168"}, + {"2408:8957:b200::/40", "17622"}, + {"2607:f3f8:8000::/48", "19019"}, + {"2408:8656:3d00::/28", "17816"}, + {"2800:160:1b1f::/42", "14259"}, + {"2800:3c0:2130::/35", "19863"}, + {"2001:fd8:b0b0::/41", "4775"}, + {"2605:380:53::/44", "42473"}, + {"2804:44c:e001::/35", "262761"}, + {"2a00:1ca8:9c::/48", "58061"}, + {"2400:c700:381::/35", "55644"}, + {"240a:a424::/32", "143710"}, + {"2604:d600:ca1::/44", "32098"}, + {"2a02:26f7::/48", "36183"}, + {"2a10:5200::/29", "399975"}, + {"2803:4540::/32", "264658"}, + {"2a01:c50f:1bc0::/34", "12479"}, + {"2a02:26f7:c909::/42", "20940"}, + {"2001:df5:5d80::/48", "9930"}, + {"2401:d800:990::/42", "7552"}, + {"240a:a43f::/32", "143737"}, + {"2803:16a0:2::/48", "262206"}, + {"2a04:5d86::/31", "61310"}, + {"2a0c:e640::/47", "211876"}, + {"2a0f:ca00::/33", "43309"}, + {"240e:3bf:9c00::/34", "140310"}, + {"2605:b100:700::/41", "577"}, + {"2800:160:1bf3::/37", "14259"}, + {"2a01:a240::/32", "49984"}, + {"2409:8020:3035::/41", "56046"}, + {"2605:6440:100a::/34", "396356"}, + {"2804:960::/32", "263078"}, + {"2a0a:2c0::/48", "48648"}, + {"2001:df3:3080::/48", "137123"}, + {"2001:49f0:d09c::/46", "174"}, + {"2408:8256:3461::/40", "17623"}, + {"2408:8956:a500::/40", "17816"}, + {"240a:a435::/32", "143727"}, + {"2408:8957:7600::/40", "17622"}, + {"2600:6c10:608::/46", "20115"}, + {"2804:782c::/32", "271225"}, + {"2a02:26f7:b849::/46", "20940"}, + {"2a0a:e202:8000::/48", "33438"}, + {"2402:800:5739::/41", "7552"}, + {"240a:a702::/32", "144444"}, + {"2600:6c38:50a::/45", "20115"}, + {"2a01:b420::/44", "60162"}, + {"2a02:188:5108::/48", "35678"}, + {"2a04:3d80::/29", "50628"}, + {"2a05:4ac0::/32", "201453"}, + {"2001:4870:a24a::/48", "26402"}, + {"2401:3c00:100::/42", "38322"}, + {"2401:c680::/47", "133854"}, + {"2404:bf40:a580::/48", "2764"}, + {"2408:8647::/35", "140726"}, + {"2600:1000:be0e::/40", "22394"}, + {"2606:a100::/32", "394285"}, + {"2a02:a28::/32", "210958"}, + {"2407:a00::/32", "9268"}, + {"2806:203::/32", "13999"}, + {"2a00:c00:f033::/48", "24467"}, + {"2a02:26f7:d70a::/42", "20940"}, + {"2a02:6700::/32", "51695"}, + {"2001:67c:4e0::/48", "48550"}, + {"2001:dd8:5::/48", "55439"}, + {"2001:4410:2100::/35", "132040"}, + {"2401:4900:4040::/44", "45609"}, + {"2401:8f40:1::/48", "136950"}, + {"2404:4580::/47", "63526"}, + {"2600:6c20:806::/44", "20115"}, + {"2804:eec:4003::/32", "28226"}, + {"2a06:c480::/29", "203698"}, + {"2409:8b06::/28", "9808"}, + {"2803:ba80::/32", "262932"}, + {"2804:2050:7a8c::/32", "264485"}, + {"2001:559:c4c8::/47", "21508"}, + {"2606:b040:100::/43", "399726"}, + {"2a05:7600:2::/48", "203438"}, + {"2001:559:81a5::/48", "33652"}, + {"2400:7bc0:20::/43", "42962"}, + {"2401:d800:160::/40", "7552"}, + {"2402:800:562b::/41", "7552"}, + {"2607:7a00::/32", "26241"}, + {"2620:106:6000::/45", "3562"}, + {"2a06:7c00::/29", "50307"}, + {"2a0a:a540::/28", "8422"}, + {"2001:250:819::/46", "138182"}, + {"2407:e1c0:22::/41", "146872"}, + {"2804:6af4::/32", "270368"}, + {"2a03:8800::/48", "49687"}, + {"2001:400:b20::/48", "45"}, + {"2403:ad80:10::/48", "36351"}, + {"2404:9700::/32", "10023"}, + {"240a:a606::/32", "144192"}, + {"240e:1c6:c000::/34", "4812"}, + {"2804:5178::/32", "268454"}, + {"2a01:7d0::/32", "8612"}, + {"2a02:26f0:5::/44", "20940"}, + {"2a0d:f802::/32", "20278"}, + {"2a11:f040::/29", "204790"}, + {"2405:f600:1d::/46", "45117"}, + {"2409:8087:3010::/42", "9808"}, + {"2607:f0b0:8::/32", "13319"}, + {"2800:160:1a57::/42", "14259"}, + {"2a02:26f0:3001::/39", "20940"}, + {"2401:5a00:b000::/48", "10032"}, + {"2402:800:9aee::/43", "7552"}, + {"2408:8459:50c0::/38", "17816"}, + {"2804:1bc::/39", "10310"}, + {"2a00:8200::/32", "3292"}, + {"240a:a9f3::/32", "145197"}, + {"240e:44d:1680::/41", "4134"}, + {"2804:61c4::/32", "269255"}, + {"2a01:758:ffe1::/44", "3326"}, + {"2a02:ff0:1ef1::/44", "12735"}, + {"2a0b:b2c0:2::/48", "8892"}, + {"2402:4200:1200::/48", "24284"}, + {"2408:8957:5c00::/40", "17622"}, + {"2a09:8b00::/29", "38913"}, + {"240e:640:ee00::/40", "136197"}, + {"2001:da8:22d::/48", "24349"}, + {"240e:982:5300::/37", "149178"}, + {"2604:bc0:2::/48", "47869"}, + {"2a0a:6fc0::/29", "56864"}, + {"2a0f:6500::/34", "208183"}, + {"2001:250:5837::/48", "23910"}, + {"2001:559:c46f::/43", "7922"}, + {"2403:b300:ff01::/40", "16509"}, + {"2605:6c80:9::/48", "53340"}, + {"2804:60f0::/32", "269201"}, + {"2001:fd8:391::/42", "4775"}, + {"2400:aa00::/33", "9873"}, + {"2402:800:329b::/41", "7552"}, + {"240a:af40::/32", "146554"}, + {"2001:67c:11d8::/48", "200144"}, + {"2001:44b0::/32", "17940"}, + {"240a:ac4c::/32", "145798"}, + {"2001:67c:2f5c::/48", "21100"}, + {"2401:d800:250::/42", "7552"}, + {"240a:ac37::/32", "145777"}, + {"2607:6100:100a::/48", "23026"}, + {"2a0d:d8c0::/48", "395092"}, + {"2a0e:6400::/32", "209094"}, + {"2409:8a51:300::/37", "56047"}, + {"240a:a007::/32", "142657"}, + {"2602:fde8::/36", "398020"}, + {"2804:195c::/32", "61790"}, + {"2407:41c0::/32", "142015"}, + {"2409:8904:a940::/38", "24547"}, + {"2620:12f:c004::/48", "21581"}, + {"2806:2f0:9de3::/38", "17072"}, + {"2806:10a8::/32", "8151"}, + {"2a00:1908:fffc::/48", "205365"}, + {"2a02:2dc0::/32", "9063"}, + {"2a0e:46c4:2400::/46", "211579"}, + {"2001:43f8:d60::/48", "328162"}, + {"2405:9800:15::/41", "45430"}, + {"2406:2000:f01f::/36", "10310"}, + {"2604:7580::/32", "46873"}, + {"2a02:a00:100a::/42", "15987"}, + {"2a02:c840::/29", "8607"}, + {"2a0b:a880::/29", "42316"}, + {"2c0f:fe30::/32", "37006"}, + {"2403:4440::/32", "9367"}, + {"2404:f4c0:6660::/48", "7721"}, + {"2408:840c:5d00::/40", "17621"}, + {"2804:2484:8190::/36", "28258"}, + {"2a02:26f7:bcc0::/48", "36183"}, + {"2a0e:97c0:6ca::/45", "210013"}, + {"2407:e300::/31", "55536"}, + {"240a:a014::/32", "142670"}, + {"240e:fb:c000::/36", "140317"}, + {"2800:200:e2b1::/41", "12252"}, + {"2804:6d38::/32", "270518"}, + {"2a0f:4b41::/32", "29802"}, + {"2402:800:391d::/42", "7552"}, + {"2801:80:2a0::/48", "262534"}, + {"2401:d800:5300::/42", "7552"}, + {"2804:39e8:3e90::/32", "266058"}, + {"2804:5b5c::/32", "268837"}, + {"2a0c:9a40:1057::/48", "34927"}, + {"2403:ad80:20::/48", "36351"}, + {"2404:5740::/48", "395266"}, + {"2409:8924:500::/38", "56046"}, + {"2602:ff39:99::/36", "63318"}, + {"2600:2c00:7000::/36", "17378"}, + {"2602:808:5000::/44", "13578"}, + {"2804:3e84::/32", "266602"}, + {"2806:2f0:9963::/40", "17072"}, + {"2a0b:6b86:3ff::/48", "202562"}, + {"2001:4cb8:267::/37", "28878"}, + {"2607:6900::/32", "14818"}, + {"2001:8d8:100::/32", "8560"}, + {"2403:9800:c100::/40", "4771"}, + {"2405:9800:c600::/48", "45458"}, + {"2604:d600:67b::/40", "32098"}, + {"2806:2f0:3423::/41", "17072"}, + {"2400:8b00:100::/42", "45727"}, + {"2804:2a9c::/32", "264084"}, + {"2a06:8500::/29", "35684"}, + {"2a06:fa00::/29", "207395"}, + {"2001:df0:410::/48", "132228"}, + {"2602:feda:184::/48", "38308"}, + {"2a0f:9400:6228::/48", "48741"}, + {"2001:559:8198::/48", "20214"}, + {"2406:db00::/32", "59216"}, + {"240a:aaa2::/32", "145372"}, + {"2607:ca00::/33", "15290"}, + {"2001:559:835e::/48", "7922"}, + {"2400:9380:87c0::/44", "136167"}, + {"240a:a0d7::/32", "142865"}, + {"2620:138:300f::/48", "11251"}, + {"2804:4b2c::/32", "267288"}, + {"2a00:1880::/32", "15897"}, + {"2a02:21b2:b3ee::/48", "57370"}, + {"2403:ec00::/39", "17806"}, + {"2804:858::/32", "262365"}, + {"2804:76ec::/32", "271143"}, + {"2804:7fe8::/32", "271717"}, + {"2a0b:9040::/29", "9009"}, + {"240e:63:8000::/34", "140316"}, + {"240e:818::/26", "4134"}, + {"2600:141c:7::/48", "8151"}, + {"2803:e4e0::/32", "269890"}, + {"2a04:4e40:1800::/48", "54113"}, + {"2a0a:e5c0:1d::/48", "207996"}, + {"2402:800:7c80::/42", "7552"}, + {"2404:c800::/32", "4760"}, + {"2604:9b00:c04::/38", "14230"}, + {"2605:9d80:8011::/48", "4134"}, + {"2a07:7a80::/29", "206616"}, + {"240e:3b6:2200::/37", "136198"}, + {"2804:1330::/32", "263520"}, + {"2804:6c74::/32", "270469"}, + {"2a00:b000::/32", "48326"}, + {"2400:7700::/32", "56214"}, + {"2404:f4c0:fb00::/48", "139796"}, + {"2408:8459:ce50::/39", "17816"}, + {"2409:8057:3801::/45", "56040"}, + {"2620:95:4000::/45", "40138"}, + {"2a00:19c0::/32", "15922"}, + {"2a0f:6bc0::/29", "60404"}, + {"2001:559:c301::/48", "33491"}, + {"2406:6d40::/32", "141056"}, + {"240a:a6fa::/32", "144436"}, + {"2600:370f:40c8::/43", "32261"}, + {"2a10:c580::/29", "212041"}, + {"2001:da8:a01d::/48", "23910"}, + {"2804:7ab8::/32", "271388"}, + {"2a06:1700::/46", "200651"}, + {"2a0c:dd80:2000::/48", "52000"}, + {"2001:559:c2::/48", "33659"}, + {"2406:1400::/48", "24342"}, + {"240a:a23d::/32", "143223"}, + {"2620:128:7002::/47", "32030"}, + {"2804:37f0:e100::/36", "266445"}, + {"2804:6ae0::/32", "270363"}, + {"2a10:2f00:138::/48", "213105"}, + {"2401:d800:2690::/42", "7552"}, + {"2404:8d06:4000::/40", "133543"}, + {"2406:1d40::/32", "138259"}, + {"240a:a6df::/32", "144409"}, + {"2800:bf0:177::/48", "52257"}, + {"2a0f:e040:3::/48", "60781"}, + {"2001:19c0::/32", "36666"}, + {"2801:16:5000::/44", "266906"}, + {"2804:15b4::/32", "263405"}, + {"2a03:3ac0::/32", "57077"}, + {"2a0a:b640:1::/46", "9009"}, + {"2a0c:2100::/29", "208861"}, + {"2a0e:7a80::/29", "9009"}, + {"2a10:9d80::/29", "15447"}, + {"2406:3003:1060::/43", "55430"}, + {"2001:559:81f8::/48", "7015"}, + {"2001:da8:b5::/48", "24368"}, + {"2001:da8:dfff::/48", "24362"}, + {"2401:d800:7730::/41", "7552"}, + {"240a:a304::/32", "143422"}, + {"240a:a57c::/32", "144054"}, + {"240e:838::/44", "140647"}, + {"2800:440:104::/48", "27738"}, + {"2804:4044::/35", "265948"}, + {"2401:f2c0::/32", "63760"}, + {"2408:8806::/41", "4808"}, + {"2604:2d80:fc00::/48", "30036"}, + {"2605:a404:be9::/37", "33363"}, + {"2804:7bec::/32", "271463"}, + {"2a0c:e640:2::/45", "211876"}, + {"2803:3540::/32", "61519"}, + {"2804:4790::/32", "267062"}, + {"2a0e:c6c0::/32", "62075"}, + {"2001:df7:6680::/48", "146961"}, + {"2400:cb00:a6b0::/46", "13335"}, + {"240e:1d:1000::/34", "58461"}, + {"240e:44d:5500::/42", "140345"}, + {"2804:3b54::/32", "266142"}, + {"2a02:26f7:ec4c::/48", "36183"}, + {"2a02:e982:3::/43", "19551"}, + {"2a05:dfc7:47::/40", "61138"}, + {"240e:980:2700::/40", "133774"}, + {"2804:49ec::/32", "267209"}, + {"2804:4c20::/32", "267351"}, + {"2804:7c38::/32", "271482"}, + {"2806:2f0:5083::/42", "17072"}, + {"2001:df0:bc0::/48", "149013"}, + {"2400:8b00:e00::/42", "45727"}, + {"2402:800:63ab::/43", "7552"}, + {"2402:ee40:28::/41", "17754"}, + {"2406:2000:ef67::/48", "10229"}, + {"2610:b0:4120::/45", "3573"}, + {"2804:3bb8::/32", "266167"}, + {"2804:3bcc::/35", "266171"}, + {"2806:268:501::/48", "13999"}, + {"2a00:1fb8::/32", "29462"}, + {"2a02:26f7:c9c8::/48", "36183"}, + {"2a0e:ed80::/29", "6735"}, + {"240e:3b8:ac00::/35", "4134"}, + {"2a0e:b107:140::/45", "57883"}, + {"2001:df2:b780::/47", "140068"}, + {"2605:3380:43fe::/48", "12025"}, + {"2800:160:2583::/41", "14259"}, + {"2804:2dc:8000::/33", "28277"}, + {"2a0f:607:1051::/48", "131668"}, + {"2001:559:82d2::/48", "7725"}, + {"2001:559:c4dd::/48", "7015"}, + {"2409:8c54:1060::/37", "56040"}, + {"2607:fc48:450::/48", "40009"}, + {"2606:ab00::/47", "55106"}, + {"2a0a:ec02:ff00::/48", "42692"}, + {"2a0e:8f00:dfc0::/42", "213018"}, + {"2a10:7140::/29", "204007"}, + {"2405:a000:14::/32", "7693"}, + {"2409:8000:2000::/40", "56048"}, + {"2603:c0f8:1000::/43", "20054"}, + {"2605:4300:f001::/48", "22616"}, + {"2c0f:f4b0::/32", "328471"}, + {"2409:8730:f000::/31", "9808"}, + {"2620:149:108a::/43", "714"}, + {"2803:3110::/32", "271996"}, + {"2804:16d8:1a00::/40", "262729"}, + {"2a01:98c0::/48", "44882"}, + {"2600:370f:36a5::/46", "32261"}, + {"2607:f5d8:21::/32", "11096"}, + {"2804:5d10:c000::/34", "268948"}, + {"2c0f:ffd0::/32", "36968"}, + {"2001:559:8481::/48", "33491"}, + {"2402:e7c0:c00::/38", "134366"}, + {"2602:107:2810::/48", "20115"}, + {"2604:d600:1514::/46", "32098"}, + {"2606:c800::/32", "36012"}, + {"2607:f6f0:204::/48", "29884"}, + {"2001:ee0:c340::/37", "45899"}, + {"2407:d080::/32", "133120"}, + {"2605:d780::/32", "30162"}, + {"2804:5d4::/46", "262545"}, + {"2a01:c50e:fc00::/38", "12479"}, + {"2a02:f40::/32", "20960"}, + {"2a02:26f7:fb05::/46", "20940"}, + {"2a03:bf01::/32", "43529"}, + {"2001:df5:2d80::/48", "139727"}, + {"2001:1260::/47", "13591"}, + {"240a:a790::/32", "144586"}, + {"2605:3380:414d::/43", "12025"}, + {"2800:bf0:824a::/48", "27947"}, + {"2803:7760::/32", "269829"}, + {"2806:2f0:3081::/42", "17072"}, + {"2806:2f0:4463::/40", "17072"}, + {"2a01:8960::/32", "202136"}, + {"2001:590:3800::/46", "3257"}, + {"2001:67c:22a0::/48", "1764"}, + {"2001:df6:3600::/48", "132559"}, + {"2401:7500:1112::/36", "133296"}, + {"2405:6040::/32", "134021"}, + {"240a:aeeb::/32", "146469"}, + {"2a05:9a00::/45", "59441"}, + {"2001:559:1ef::/48", "33668"}, + {"2001:ee0:2820::/37", "45899"}, + {"2402:800:5a7f::/40", "7552"}, + {"2404:bf40:8682::/41", "139084"}, + {"2804:5b8::/32", "262535"}, + {"2a00:ad87:3b01::/46", "22216"}, + {"2a0b:f4c0:16c::/48", "205100"}, + {"2001:b08:15::/48", "3267"}, + {"2404:e6:810::/39", "703"}, + {"2603:90f5:c::/48", "20115"}, + {"2402:c800:ff7c::/40", "38639"}, + {"240a:abcf::/32", "145673"}, + {"2001:bf0:41::/32", "12732"}, + {"2001:c20:4000::/36", "3758"}, + {"2406:da70:e000::/40", "16509"}, + {"2408:8256:339a::/45", "17623"}, + {"2605:a40e:10::/37", "33363"}, + {"2a00:9100::/32", "196925"}, + {"2a06:1e00:60::/48", "60695"}, + {"2408:84f3:e000::/44", "17622"}, + {"2408:8660::/32", "4837"}, + {"2620:0:7f00::/48", "395262"}, + {"2804:548c::/32", "268657"}, + {"2a00:1728:1a::/47", "34224"}, + {"2a02:26f7:d15e::/47", "20940"}, + {"2a10:cc42:1191::/45", "20473"}, + {"2408:80f1:70::/44", "138421"}, + {"2408:883a:700::/40", "140716"}, + {"2600:6c20:e0f::/43", "20115"}, + {"2602:ff96:7::/48", "31863"}, + {"2604:8600::/34", "14453"}, + {"2605:a40::/32", "39944"}, + {"2806:20d:5a0e::/43", "32098"}, + {"2001:678:e4c::/48", "212622"}, + {"2400:4ec0:ff13::/44", "64300"}, + {"2401:ce80:1000::/46", "396417"}, + {"2620:12b::/48", "13993"}, + {"2803:41e0::/32", "269995"}, + {"2c0f:fb10::/48", "21003"}, + {"2001:df5:2a80::/47", "141371"}, + {"2001:44b8:30c0::/48", "7545"}, + {"2604:9d40:100::/44", "393290"}, + {"2a0e:17c0::/29", "59668"}, + {"2001:67c:7fc::/48", "201460"}, + {"2606:4700:91b0::/44", "13335"}, + {"2806:2f0:2460::/48", "17072"}, + {"2806:312::/32", "265562"}, + {"2a0a:4640::/44", "206177"}, + {"2408:8207:8510::/34", "4808"}, + {"2600:2000:600::/44", "33517"}, + {"2804:7528::/32", "271027"}, + {"2a05:1c40::/29", "203208"}, + {"2a09:b280:ffb0::/46", "210025"}, + {"2400:9380:9280::/46", "4809"}, + {"2406:9c80::/48", "45544"}, + {"2620:53:c000::/48", "62821"}, + {"2a0d:b980::/29", "56708"}, + {"2a11:de40::/29", "1239"}, + {"2402:800:b8f0::/39", "7552"}, + {"2605:3600:a::/48", "30452"}, + {"2804:e18::/32", "52544"}, + {"2804:6e64::/32", "270594"}, + {"2a02:26f7:f34d::/42", "20940"}, + {"2409:8914:9900::/40", "56044"}, + {"2600:1480:2000::/40", "33905"}, + {"2801:80:a80::/44", "11242"}, + {"2801:80:2260::/48", "267630"}, + {"2803:e140::/32", "264631"}, + {"2a02:26f7:ee85::/46", "20940"}, + {"2401:d800:5f50::/42", "7552"}, + {"2a01:8840::/46", "12041"}, + {"2a02:2e02:8910::/42", "12479"}, + {"2406:f00:7::/48", "24186"}, + {"2407:9880::/32", "23856"}, + {"240a:ac35::/32", "145775"}, + {"2a02:d8:800b::/45", "44654"}, + {"2001:4878:164::/48", "12222"}, + {"240e:983:1803::/48", "140329"}, + {"2801:80:210::/48", "52998"}, + {"2804:756c::/32", "271045"}, + {"2a00:1ec8::/42", "2854"}, + {"2a02:db8::/32", "48417"}, + {"2a03:b8c0:27::/48", "137922"}, + {"2a04:2f81::/47", "16509"}, + {"2001:678:2dc::/48", "786"}, + {"2804:204:216::/44", "28186"}, + {"2804:1e88::/32", "264434"}, + {"2a05:9b80::/29", "50083"}, + {"2c0f:eb80:4000::/34", "328029"}, + {"2001:559:15b::/48", "22909"}, + {"2602:fc5f::/36", "399772"}, + {"2800:484:9a00::/34", "10620"}, + {"2801:80:1210::/48", "264314"}, + {"2a00:1478::/32", "43190"}, + {"2a03:a320::/32", "203457"}, + {"2a06:e881:5380::/41", "209859"}, + {"2001:579:18cc::/39", "22773"}, + {"2a00:7ec0:2::/32", "8528"}, + {"2a02:26f7:b689::/46", "20940"}, + {"2a02:d107:e000::/47", "200088"}, + {"2a09:5303::/32", "50113"}, + {"2a0b:2d83::/32", "49542"}, + {"2402:2dc0::/32", "135607"}, + {"2403:300:a0b::/48", "714"}, + {"2804:dfc::/35", "263042"}, + {"2408:8656:2ef9::/45", "17816"}, + {"2804:1a04:8000::/33", "61832"}, + {"2a02:26f7:fc00::/48", "36183"}, + {"2600:1002:b100::/41", "6167"}, + {"2607:f6f0:2001::/48", "394749"}, + {"2803:9800:b8d0::/39", "11664"}, + {"2804:46d0::/32", "267013"}, + {"2a10:2ec7:3000::/36", "208861"}, + {"2603:c002:1510::/38", "31898"}, + {"2402:3a80:1ad8::/42", "38266"}, + {"2404:580::/32", "56268"}, + {"2406:840:f48f::/48", "142554"}, + {"240a:af00::/32", "146490"}, + {"2600:1407:4401::/38", "20940"}, + {"2800:160:1ddc::/42", "14259"}, + {"2804:3fd8:c001::/34", "265919"}, + {"2804:7b78::/32", "271434"}, + {"2a06:340::/29", "34942"}, + {"2001:1248:870d::/43", "11172"}, + {"240a:a5d1::/32", "144139"}, + {"2001:470:57::/48", "6939"}, + {"2401:21c0::/32", "59362"}, + {"2a05:7400:8000::/34", "208221"}, + {"2a06:8200::/32", "208355"}, + {"2a10:fa80:216::/48", "57050"}, + {"2a05:c1c0::/29", "31662"}, + {"2001:559:c2d2::/47", "7922"}, + {"2409:8915:7600::/39", "56044"}, + {"2804:572c::/32", "268049"}, + {"2804:858c::/33", "272586"}, + {"2806:10a8:cbff:100::/34", "8151"}, + {"2a06:9ac0::/32", "209242"}, + {"2a07:3505:80::/44", "31477"}, + {"2a07:3e00::/29", "559"}, + {"2401:1740:2000::/48", "7586"}, + {"240a:a45a::/32", "143764"}, + {"2803:a920::/32", "266668"}, + {"2a0e:97c3:6e0::/48", "20473"}, + {"2001:1a80::/29", "20676"}, + {"2600:6000:fd53::/48", "11351"}, + {"2804:7e14::/32", "271601"}, + {"2a02:26f7:11e::/48", "36183"}, + {"2408:8256:356e::/48", "17623"}, + {"240a:ad1d::/32", "146007"}, + {"240e:13:80b::/48", "140863"}, + {"2402:8100:2110::/44", "45271"}, + {"2403:9800:6600::/36", "4771"}, + {"2405:201:aa00::/37", "55836"}, + {"2405:6e00:f812::/47", "133612"}, + {"240e:982:5000::/40", "140527"}, + {"2804:41d8::/32", "267460"}, + {"2a03:2380::/45", "198818"}, + {"2001:da8:a1::/48", "24358"}, + {"2600:140f:c::/48", "20940"}, + {"2a00:1728:4::/44", "34224"}, + {"2a09:adc0::/47", "64466"}, + {"2001:4b22:12::/64", "65505"}, + {"2405:da00:2::/43", "38235"}, + {"240a:aeb4::/32", "146414"}, + {"2605:3380:3000::/36", "62947"}, + {"2800:bf0:40::/43", "27947"}, + {"2a00:a200::/32", "5520"}, + {"2a0d:6e80::/29", "204562"}, + {"2a0e:68c0::/48", "34907"}, + {"2001:4478::/35", "4802"}, + {"2402:7800:3003::/32", "4826"}, + {"2408:8459:8e30::/41", "17622"}, + {"240a:aeec::/32", "146470"}, + {"2001:559:8035::/46", "7922"}, + {"2407:0:0:3d::/64", "36040"}, + {"2600:370f:7503::/45", "32261"}, + {"2600:6c20:893::/38", "20115"}, + {"2600:6c38:501::/45", "20115"}, + {"2604:ca00:216::/48", "36492"}, + {"2606:e480:4800::/32", "55083"}, + {"2804:6724::/32", "269606"}, + {"2a0b:4341:b02::/48", "57695"}, + {"2a0d:7140::/29", "208861"}, + {"2a0d:fec0:98::/47", "47481"}, + {"2001:678:184::/48", "34953"}, + {"2a0a:f980::/29", "50877"}, + {"2001:559:2c9::/48", "7015"}, + {"2001:559:42e::/48", "33287"}, + {"2001:c20:c842::/48", "9255"}, + {"2001:df7:bb00::/48", "138051"}, + {"2406:840:20::/48", "139317"}, + {"2406:2000:1a4::/46", "24506"}, + {"2600:140f:dc00::/48", "55836"}, + {"2a02:1658::/32", "12290"}, + {"2602:fd9a:b::/36", "54613"}, + {"2605:5fc9::/29", "1239"}, + {"2a0c:2f06::/32", "207080"}, + {"2001:760::/32", "137"}, + {"2602:fff9:fff::/48", "54839"}, + {"2800:bf0:8048::/43", "27947"}, + {"2a04:5b81:2050::/44", "202265"}, + {"2406:daa0:8080::/44", "16509"}, + {"2804:d0c:8080::/33", "53112"}, + {"2a02:26f7:ef51::/42", "20940"}, + {"2a02:4540:5000::/43", "197207"}, + {"2001:4878:a261::/48", "12222"}, + {"2620:111:b000::/48", "22517"}, + {"2804:1d6c::/32", "262521"}, + {"2804:4074::/32", "265960"}, + {"2001:559:82ec::/48", "33659"}, + {"2001:67c:6c8::/48", "31229"}, + {"2401:4900:3a60::/40", "45609"}, + {"240e:3b2:6400::/35", "140312"}, + {"2607:f2b1:f080::/44", "1294"}, + {"2803:5200:1000::/36", "28319"}, + {"2806:2f0:51a3::/38", "17072"}, + {"2a02:26f7:ca0c::/48", "36183"}, + {"2a06:d640::/48", "56601"}, + {"2a0d:27c0::/29", "197706"}, + {"2404:c2c0:8000::/36", "135629"}, + {"2409:8924:9d00::/38", "56046"}, + {"2620:fd:8000::/48", "7922"}, + {"2001:470:a4::/48", "395681"}, + {"2001:559:c269::/48", "13367"}, + {"2001:4490:3600::/42", "9829"}, + {"2400:b000:100::/48", "23862"}, + {"2402:800:339b::/41", "7552"}, + {"2405:b900:1000::/48", "55701"}, + {"2804:58cc::/32", "268150"}, + {"2a03:ba40::/32", "39280"}, + {"2a04:92c7:b::/45", "62240"}, + {"2407:5200:402::/33", "55915"}, + {"2408:8459:7630::/41", "17622"}, + {"2408:8957:4f00::/40", "17816"}, + {"240e:96b:6000::/46", "140364"}, + {"2600:370f:36e8::/39", "32261"}, + {"2620:13f:3019::/40", "46842"}, + {"2804:294::/33", "28604"}, + {"2804:4564::/32", "266923"}, + {"2a07:e340::/32", "9009"}, + {"2a11:1980::/29", "204790"}, + {"2001:678:618::/48", "206006"}, + {"2620:1bc:1027::/44", "7726"}, + {"2804:4d90::/32", "268205"}, + {"2c0f:f3c8:21::/32", "328112"}, + {"2001:550:3405::/40", "174"}, + {"2001:da8:e821::/48", "138373"}, + {"2a02:ca80::/29", "49515"}, + {"2a0e:b107:960::/44", "207427"}, + {"2001:400:6410::/48", "43"}, + {"240e:44d:2200::/42", "140345"}, + {"2605:3380:4171::/44", "12025"}, + {"2403:3440::/36", "4787"}, + {"240a:acab::/32", "145893"}, + {"2a02:26f0:9701::/36", "20940"}, + {"2a02:26f7:fa01::/46", "20940"}, + {"2001:e60:8778::/40", "4766"}, + {"240a:a036::/32", "142704"}, + {"2610:a1:305c::/48", "12008"}, + {"2a0b:f940::/35", "205373"}, + {"2a0c:4100::/29", "204823"}, + {"2406:e000:c05::/43", "23655"}, + {"2407:34c0::/48", "140788"}, + {"2600:1406:3401::/38", "20940"}, + {"2800:800:580::/43", "26611"}, + {"2804:1b0:1a00::/41", "10429"}, + {"2804:2968::/32", "264013"}, + {"2a00:1ff8::/32", "47138"}, + {"2a00:8960::/48", "62082"}, + {"2a01:b8c0::/32", "198869"}, + {"2a02:618::/45", "20485"}, + {"2001:13d2:813::/45", "7303"}, + {"2408:84e1::/39", "4808"}, + {"2607:f928:6::/43", "22645"}, + {"2620:115:7000::/47", "55091"}, + {"2804:1b38::/32", "61716"}, + {"2804:6494::/32", "269436"}, + {"2a0f:c540::/29", "42487"}, + {"2a11:33c0::/29", "211199"}, + {"2001:550:a902::/45", "174"}, + {"2001:559:1e8::/48", "33659"}, + {"2a0c:1d03::/32", "39614"}, + {"2610:a0:17::/42", "7786"}, + {"2804:3480::/32", "265462"}, + {"2001:678:254::/48", "47251"}, + {"2400:6400::/32", "38201"}, + {"2602:fcac::/40", "400260"}, + {"2804:1130::/32", "263664"}, + {"2a09:5080:2::/47", "42652"}, + {"2a11:a480::/29", "204790"}, + {"2001:fd0:405::/35", "10029"}, + {"240a:aeae::/32", "146408"}, + {"240a:af12::/32", "146508"}, + {"2600:9000:1180::/48", "16509"}, + {"2803:ba40::/46", "263756"}, + {"2804:32f0::/32", "265106"}, + {"2001:4888:1c::/32", "6167"}, + {"2804:14c:a985::/44", "28573"}, + {"2804:4bcc::/32", "267330"}, + {"2600:370f:3425::/44", "32261"}, + {"2804:14c:9bfa::/45", "28573"}, + {"2a0a:100::/29", "40970"}, + {"2404:d940:f000::/36", "134877"}, + {"2407:d000::/32", "23674"}, + {"2408:8459:ca50::/39", "17816"}, + {"2606:2800:5042::/48", "15133"}, + {"2804:550c:a000::/35", "268686"}, + {"2804:66d0::/32", "269584"}, + {"2c0e:0:402::/39", "24863"}, + {"2409:8907:6d20::/38", "24547"}, + {"2600:1417:72::/47", "20940"}, + {"2610:a1:3030::/48", "12008"}, + {"2804:d64::/32", "52617"}, + {"2804:6390::/36", "269369"}, + {"2001:1800::/32", "10381"}, + {"240a:ad27::/32", "146017"}, + {"2804:1f26:cafe::/48", "265020"}, + {"2a01:cd01:1f2c::/43", "28708"}, + {"2a02:26f7:47::/48", "20940"}, + {"2401:d800:d152::/40", "7552"}, + {"2604:1b40::/32", "396006"}, + {"2606:6680:409::/48", "40676"}, + {"2804:4248:8001::/35", "267490"}, + {"2a0d:8980::/29", "42237"}, + {"2001:559:c028::/47", "33491"}, + {"2804:7bd0::/32", "271456"}, + {"2a02:e40::/32", "6700"}, + {"2a02:26f7:ebcd::/42", "20940"}, + {"2404:2480:6501::/32", "135391"}, + {"2600:6c38:d19::/45", "20115"}, + {"2401:4900:18e0::/44", "45609"}, + {"2604:980:7006::/32", "21859"}, + {"2001:bf7:1350::/44", "213106"}, + {"2001:df0:2c1::/48", "58624"}, + {"2001:df4:6b00::/48", "136493"}, + {"240a:a05e::/32", "142744"}, + {"240e:980:2800::/40", "133775"}, + {"2600:6c10:ff8f::/43", "20115"}, + {"2803:9800:b0d4::/42", "11664"}, + {"2804:76cc::/35", "271135"}, + {"2804:8484::/32", "272265"}, + {"2001:16d8:55::/46", "16150"}, + {"2404:bf40:c043::/40", "139084"}, + {"2804:2b8::/32", "28130"}, + {"2001:44b8:30f3::/44", "7545"}, + {"2604:7a40:3000::/32", "394710"}, + {"2804:bf8:5000::/32", "52653"}, + {"2001:df6:e100::/48", "138359"}, + {"2001:18c8:900::/32", "8015"}, + {"2600:1408:6000::/48", "35994"}, + {"2804:816c::/32", "272453"}, + {"2a03:b8c0:19::/48", "396253"}, + {"2a09:7d80::/29", "16245"}, + {"2a0c:6880::/32", "204796"}, + {"2a0d:7980:2::/39", "48635"}, + {"2a0e:b107:934::/48", "204446"}, + {"2001:4818:1000::/36", "36031"}, + {"2405:f600:70::/40", "45117"}, + {"2804:58fc::/33", "268162"}, + {"2804:5a34::/38", "268755"}, + {"2a05:b680:10::/48", "44682"}, + {"2001:250:c1d::/48", "23910"}, + {"2a00:b280::/32", "15557"}, + {"2a01:5b0:9::/48", "50611"}, + {"2001:559:80bc::/47", "7015"}, + {"2804:93c:c1::/35", "52878"}, + {"2a02:2e02:1c20::/41", "12479"}, + {"2600:1010:d120::/41", "6167"}, + {"2804:20bc::/32", "264511"}, + {"2804:4a98:f000::/36", "267251"}, + {"2a02:26f7:cb05::/46", "20940"}, + {"2a0e:fb45::/32", "62240"}, + {"2400:a980:6100::/37", "133111"}, + {"2401:d800:d540::/42", "7552"}, + {"2408:8256:2d6d::/43", "17623"}, + {"2001:43f8:360::/48", "328206"}, + {"2401:b80:4000::/32", "133334"}, + {"2a0b:6640::/32", "213158"}, + {"2a0b:8700::/29", "61317"}, + {"2407:6400::/32", "9484"}, + {"2620:13f:3018::/48", "27538"}, + {"2001:559:31a::/48", "33660"}, + {"2001:43f8:1d0::/48", "37288"}, + {"2001:44b8:4049::/48", "4739"}, + {"2403:c00:f00::/45", "17488"}, + {"240a:aca2::/32", "145884"}, + {"2a01:1e8::/32", "33843"}, + {"2a0a:f200::/29", "208861"}, + {"2001:559:8201::/48", "21508"}, + {"2001:fd8:f080::/42", "132199"}, + {"2406:8100::/35", "24182"}, + {"240a:a5da::/32", "144148"}, + {"2620:171:43::/45", "715"}, + {"2804:14d:bac1::/43", "28573"}, + {"2804:6a68::/32", "270334"}, + {"2a0b:880:7::/36", "210834"}, + {"2001:df6:2180::/48", "135738"}, + {"2606:5480:2000::/36", "395309"}, + {"2804:3098::/32", "264963"}, + {"2a02:f401::/30", "206283"}, + {"2a0f:301::/30", "398559"}, + {"2001:559:2aa::/47", "7922"}, + {"240a:a625::/32", "144223"}, + {"2602:fc5d:100::/47", "399866"}, + {"2620:131:104e::/43", "26450"}, + {"2a02:26f7:2f::/48", "20940"}, + {"2409:806a:3100::/36", "9808"}, + {"2001:559:17f::/48", "7922"}, + {"240a:a735::/32", "144495"}, + {"2602:107:2e10::/48", "20115"}, + {"2606:2800:4a2c::/46", "15133"}, + {"2804:70ec::/32", "270756"}, + {"240e:67a:8c00::/33", "4134"}, + {"2607:9480:f000::/44", "14338"}, + {"2a00:b703:fff1::/46", "210352"}, + {"2001:678:e88::/48", "212548"}, + {"2402:f740:1000::/36", "131477"}, + {"2606:4700:310c::/48", "13335"}, + {"2607:f6f0:3001::/48", "394749"}, + {"240a:a744::/32", "144510"}, + {"2607:f8c8::/32", "23308"}, + {"2620:fe:2040::/48", "174"}, + {"2804:1b04:6::/44", "53048"}, + {"2a02:b78::/32", "6894"}, + {"2a02:26f7:d641::/46", "20940"}, + {"2001:559:868b::/48", "33665"}, + {"2001:8b0:0:70::/47", "20712"}, + {"240a:a8e9::/32", "144931"}, + {"2602:107:e400::/40", "12271"}, + {"2a04:5200:68::/48", "200740"}, + {"2a11:3000::/29", "204790"}, + {"2001:43f8:100::/48", "6968"}, + {"2800:1a0::/32", "27933"}, + {"2a0b:91c0::/29", "203489"}, + {"2600:6c38:d06::/43", "20115"}, + {"2606:b400:8830::/46", "7160"}, + {"2620:0:8a0::/48", "3495"}, + {"2a0b:9480::/29", "50308"}, + {"2a0d:9cc0::/29", "57782"}, + {"2c0f:2b00::/32", "328984"}, + {"2001:678:e74::/48", "196994"}, + {"2001:dd8:25::/48", "45494"}, + {"2400:3ca0::/40", "136373"}, + {"2405:ed00::/32", "10000"}, + {"2a02:e30:f0a0::/48", "60755"}, + {"2a05:c700::/32", "24989"}, + {"2a0e:aa06:100::/48", "138631"}, + {"240c:ca47::/32", "24363"}, + {"2a02:26f7:d541::/45", "20940"}, + {"2a09:4bc7:d020::/47", "140096"}, + {"2a0a:1c80::/29", "44407"}, + {"2001:67c:220::/48", "43911"}, + {"2605:a404:c4::/46", "33363"}, + {"2602:febb::/39", "394989"}, + {"2800:ba0:24a::/48", "263812"}, + {"2402:2700:8000::/33", "132618"}, + {"240e:6bb:2000::/36", "140316"}, + {"2605:45c0::/35", "62217"}, + {"2a07:e345::/46", "211588"}, + {"2001:559:86ef::/43", "7922"}, + {"2001:67c:22bc::/48", "34086"}, + {"2400:4480::/47", "17426"}, + {"2403:e040:8000::/33", "16509"}, + {"2404:c680::/32", "135330"}, + {"2606:4700:9760::/44", "13335"}, + {"2804:6060:c000::/34", "269163"}, + {"2a0a:85c0::/29", "35189"}, + {"2a0d:5a00::/29", "3175"}, + {"2001:559:85ca::/48", "33650"}, + {"240a:aede::/32", "146456"}, + {"240e:146:c000::/34", "4812"}, + {"240e:45c:7700::/40", "140532"}, + {"2600:1404:c000::/48", "35994"}, + {"2600:1409:b001::/36", "20940"}, + {"2620:a8:c000::/48", "32425"}, + {"2804:1354:facf::/37", "52892"}, + {"2a09:bac0:196::/47", "13335"}, + {"2401:d800:3000::/33", "7552"}, + {"2a05:d03a:2000::/40", "16509"}, + {"2001:559:855f::/48", "20214"}, + {"240a:a142::/32", "142972"}, + {"2602:fe54:12::/42", "16584"}, + {"2607:e880:8221::/48", "12220"}, + {"2804:300:2001::/48", "53237"}, + {"2a02:2e02:8500::/42", "12479"}, + {"2c0f:f590::/54", "36974"}, + {"2001:4998:1c1::/32", "10310"}, + {"2405:1c0:6741::/46", "55303"}, + {"2001:978:1d00:2::/47", "174"}, + {"2001:1900:2383::/45", "10753"}, + {"2400:fb00::/32", "55670"}, + {"2600:1406:8c01::/38", "20940"}, + {"2a00:a7a0:ffff::/48", "60212"}, + {"2a01:c50f:b400::/39", "12479"}, + {"2a11:6d40::/29", "204790"}, + {"2001:1248:97cc::/42", "11172"}, + {"2001:18e8:c02::/47", "10680"}, + {"2405:201:8800::/35", "55836"}, + {"2600:1005:9000::/44", "6167"}, + {"2804:442c::/32", "267607"}, + {"2001:678:1d8::/48", "8339"}, + {"2401:4900:3c70::/40", "45609"}, + {"2407:5200:4924::/32", "55915"}, + {"2600:370f:36a8::/41", "32261"}, + {"2607:f078::/32", "18750"}, + {"2806:230:400f::/48", "11888"}, + {"2a00:f46::/44", "43447"}, + {"2a02:ee80:4083::/45", "3573"}, + {"2a0a:54c1:15::/42", "62240"}, + {"240a:a642::/32", "144252"}, + {"2620:149:ac3::/42", "714"}, + {"2804:6bec::/32", "270434"}, + {"2001:250:2e01::/39", "23910"}, + {"2001:559:b8::/47", "33657"}, + {"2405:bc0::/32", "136842"}, + {"240e:980:4f00::/34", "4134"}, + {"2620:128:e040::/48", "22317"}, + {"2804:5580::/32", "267938"}, + {"2a0a:e5c0:19::/48", "213081"}, + {"2a0d:6140::/29", "8823"}, + {"2001:559:87cd::/46", "33654"}, + {"2600:1014:f010::/40", "22394"}, + {"240e:3bc:c800::/37", "4134"}, + {"2620:135:7003::/48", "3257"}, + {"2804:5540::/32", "268427"}, + {"2408:8459:6a30::/41", "17622"}, + {"2600:1003:a100::/44", "6167"}, + {"2a00:1a68::/32", "38955"}, + {"2401:d800:9260::/40", "7552"}, + {"2804:145c:fe00::/39", "263327"}, + {"2001:678:c18::/48", "207487"}, + {"2408:8957:a800::/40", "17622"}, + {"240e:5e:10c0::/44", "140319"}, + {"2a00:1e68::/39", "42861"}, + {"2a02:26f7:f849::/46", "20940"}, + {"240e:87c:600::/42", "137692"}, + {"2600:100d:9000::/44", "6167"}, + {"2a0c:b641:771::/48", "207299"}, + {"2001:67c:1174::/48", "12552"}, + {"2001:67c:18a4::/48", "56881"}, + {"2001:48c8:8::/43", "29791"}, + {"2404:11c0::/32", "134806"}, + {"2404:3100:1::/48", "45669"}, + {"2803:8180:2::/32", "263237"}, + {"2a00:eaa0::/32", "59842"}, + {"2403:8000:11::/32", "4796"}, + {"2803:3f60::/32", "264744"}, + {"2804:57f4:801::/32", "268097"}, + {"2a02:26f7:f544::/48", "36183"}, + {"2001:559:c1f0::/48", "33657"}, + {"2402:800:b440::/39", "7552"}, + {"240a:aef3::/32", "146477"}, + {"240e:108:1160::/48", "58563"}, + {"2600:1407:6800::/48", "35994"}, + {"2600:6c10:f288::/39", "20115"}, + {"2800:bf0:a807::/44", "52257"}, + {"2804:3b04::/32", "266124"}, + {"2804:50a8::/32", "268402"}, + {"2a06:2900:125::/48", "39063"}, + {"2001:559:75::/48", "7015"}, + {"2001:df0:6480::/48", "63752"}, + {"2408:8256:3272::/48", "17816"}, + {"2604:880:39::/48", "29802"}, + {"2804:82c0::/32", "272538"}, + {"2a00:4802:2810::/39", "8717"}, + {"2a00:8a01::/44", "10455"}, + {"2a04:e00:207::/48", "39855"}, + {"2a05:d80::/29", "51257"}, + {"2001:67c:1210::/48", "45029"}, + {"2001:43f8:13b0::/48", "328501"}, + {"2400:8500:d37d::/48", "7506"}, + {"2803:ae80::/32", "263197"}, + {"2804:11dc:5000::/32", "263444"}, + {"2804:21e4::/32", "264580"}, + {"2a03:9e41::/32", "32611"}, + {"2a0f:3786::/40", "64475"}, + {"2001:4930::/34", "6263"}, + {"2408:8459:3e10::/42", "17623"}, + {"2408:8957:6e00::/40", "17622"}, + {"2600:1406:ec00::/48", "35994"}, + {"2800:e00:7000::/31", "27665"}, + {"2804:138b:c100::/34", "53037"}, + {"2804:3dc0:b000::/33", "266551"}, + {"2a0a:ec02:101::/48", "42692"}, + {"2a11:4e80::/29", "211344"}, + {"2001:67c:1508::/48", "47692"}, + {"2800:bf0:8107::/44", "52257"}, + {"2001:500:134::/48", "396566"}, + {"2001:559:8707::/48", "33287"}, + {"2406:ef80:100::/40", "63473"}, + {"2409:8052:3002::/40", "56047"}, + {"2409:8a53:100::/38", "56047"}, + {"240e:3b4:9200::/36", "140317"}, + {"2600:370f:340e::/42", "32261"}, + {"2607:f710:47::/48", "19624"}, + {"2804:6298::/32", "269306"}, + {"2a02:e0:5000::/32", "34984"}, + {"2a02:4e0:10::/48", "16135"}, + {"2402:3a80:1452::/44", "38266"}, + {"240e:3b9:f100::/37", "134775"}, + {"2602:107:50d::/48", "11351"}, + {"2604:9d40:1e0::/44", "393290"}, + {"2607:fb08:8001::/33", "32703"}, + {"2804:529c::/40", "268529"}, + {"2a02:26f7:fac4::/48", "36183"}, + {"2001:559:c14f::/48", "7922"}, + {"2406:f00:4::/48", "23770"}, + {"2409:807c:900::/35", "9808"}, + {"240e:108:80::/48", "23724"}, + {"2800:200:b9f0::/37", "12252"}, + {"240e:45c:a700::/40", "140535"}, + {"2600:6c21:224::/43", "20115"}, + {"2001:44b8:2052::/48", "7545"}, + {"2403:6d00:2000::/32", "56094"}, + {"2604:b180:20::/44", "32776"}, + {"2804:3b6c:c008::/46", "266148"}, + {"2602:fed2:7309::/48", "20473"}, + {"2605:5c0:10::/44", "26517"}, + {"2804:19e8::/32", "61826"}, + {"2804:23c8::/32", "264182"}, + {"2a00:fa0::/32", "13237"}, + {"2a01:53c0:ffd2::/48", "36408"}, + {"2a0d:2940::/29", "206028"}, + {"2c0f:fc90::/35", "16284"}, + {"2404:4a00:1:1::/48", "45629"}, + {"2804:648::/32", "53038"}, + {"2804:7c28::/32", "271479"}, + {"2a0b:cd00::/29", "206372"}, + {"2400:6280::/47", "132876"}, + {"2408:8456:8800::/42", "17622"}, + {"2804:7e90:fc00::/38", "271632"}, + {"2405:f600::/44", "45117"}, + {"2603:f600::/29", "40676"}, + {"2607:f110:e470::/39", "21889"}, + {"2a05:e140::/29", "6735"}, + {"2a0c:52c0::/29", "203973"}, + {"240a:a8f6::/32", "144944"}, + {"240a:ad43::/32", "146045"}, + {"2804:640:80::/44", "262713"}, + {"2a06:d900::/29", "208861"}, + {"2001:559:c2f4::/48", "7015"}, + {"2400:8700::/39", "55394"}, + {"2401:d800:5710::/42", "7552"}, + {"2406:2000:a0::/48", "24376"}, + {"2409:8008:3100::/36", "24547"}, + {"2603:c0f8:2800::/43", "20054"}, + {"2a01:358:401a::/47", "9121"}, + {"2a03:2880:f11a::/45", "32934"}, + {"2a03:44a0:300::/48", "200521"}, + {"2001:559:83d0::/48", "33652"}, + {"2402:800:3bd3::/44", "7552"}, + {"2804:2484:80a0::/39", "28258"}, + {"2804:617c::/32", "269237"}, + {"2a0f:9400:7395::/46", "210815"}, + {"2001:ac0:30fe::/32", "8903"}, + {"2001:16f0::/32", "49220"}, + {"2600:1410:1001::/34", "20940"}, + {"2605:1900:8380::/37", "12208"}, + {"2a02:88d:8020::/44", "48695"}, + {"2a02:26f7:b642::/47", "20940"}, + {"2a03:6947:1b00::/40", "61266"}, + {"2a0c:5247:1000::/36", "59504"}, + {"2001:67c:21a8::/48", "51421"}, + {"2607:fb10:50a4::/41", "2906"}, + {"2804:5ebc::/32", "269053"}, + {"2a02:26f7:e904::/48", "36183"}, + {"2001:579:c800::/39", "22773"}, + {"2001:df4:5d00::/48", "58820"}, + {"2600:1488:c241::/26", "20940"}, + {"2600:6c7f:9330::/41", "40294"}, + {"2801:1a:2800::/48", "269977"}, + {"2001:67c:2a7c::/48", "15598"}, + {"2408:8001:e800::/37", "10206"}, + {"2602:feda:2a7::/44", "204185"}, + {"2607:f110:a2::/39", "21889"}, + {"2a02:26f7:ca05::/46", "20940"}, + {"2001:44b8:4060::/48", "7545"}, + {"2801:154:10::/42", "266669"}, + {"2803:50c0:1::/48", "264763"}, + {"2804:40e8::/32", "265990"}, + {"2a06:8640::/29", "55081"}, + {"2001:ac0:c800::/44", "12541"}, + {"2409:8a56:2200::/37", "9808"}, + {"2600:6c38:de::/42", "20115"}, + {"2620:49:f::/48", "16686"}, + {"2a04:5c85:2000::/36", "47936"}, + {"2602:ff96:5::/48", "40676"}, + {"2001:678:2cc::/48", "16509"}, + {"2001:67c:20fc::/48", "210564"}, + {"2400:adc0:4030::/47", "9541"}, + {"2600:9000:20b5::/41", "16509"}, + {"2604:2e8b:b400::/33", "30036"}, + {"2607:f110:ea20::/35", "21889"}, + {"2c0f:f1c0::/32", "328178"}, + {"2806:2f0:1023::/41", "22884"}, + {"2806:2f0:4203::/42", "17072"}, + {"2a02:26f0:1301::/37", "20940"}, + {"2a02:26f7:ea04::/48", "36183"}, + {"2408:80ea:7980::/43", "17623"}, + {"2804:59fc::/35", "268738"}, + {"2a01:5b0:2f::/48", "8391"}, + {"2a01:6780:4::/48", "12676"}, + {"2a02:26f0:cd01::/40", "20940"}, + {"2001:559:85e7::/48", "33659"}, + {"2610:1a0:7000::/32", "40193"}, + {"2804:ac8:100::/47", "262672"}, + {"2a02:26f7:da01::/46", "20940"}, + {"2a03:d000:1300::/46", "31163"}, + {"2a05:4200:4::/47", "21534"}, + {"240e:438:4020::/43", "140647"}, + {"2a02:21b4::/32", "57370"}, + {"240e:44d:6840::/42", "140351"}, + {"2606:2ec0::/32", "399356"}, + {"2607:f6f0:2c00::/40", "15830"}, + {"2804:82c4::/32", "272539"}, + {"2a11:b280::/29", "204790"}, + {"2001:678:a3c::/48", "8867"}, + {"2600:6c10:f258::/40", "20115"}, + {"2600:9000:234c::/43", "16509"}, + {"2605:a3c0::/32", "395731"}, + {"2806:230:1104::/40", "265594"}, + {"2a0e:6c40::/29", "37221"}, + {"2001:67c:24f8::/48", "57407"}, + {"2408:8456:b210::/42", "134543"}, + {"2409:804b:2901::/45", "9808"}, + {"2600:380:e980::/41", "20057"}, + {"2800:160:175a::/42", "14259"}, + {"2a03:2560::/32", "8982"}, + {"2408:8456:2c50::/39", "17816"}, + {"240e:982:d300::/40", "134756"}, + {"2600:1902::/31", "19527"}, + {"2804:788::/32", "262300"}, + {"2a00:4802:3810::/38", "8717"}, + {"2a01:c50e:b300::/36", "12479"}, + {"2a02:26f7:f3c9::/46", "20940"}, + {"2001:da8:b9::/46", "23910"}, + {"2402:8100:2041::/42", "45271"}, + {"2409:8e15:a000::/30", "56044"}, + {"240a:ad39::/32", "146035"}, + {"2620:122:8008::/48", "30069"}, + {"2a04:2400::/27", "12302"}, + {"2a0c:6740::/29", "58061"}, + {"2a04:5c87::/32", "201365"}, + {"2605:a404:77::/40", "33363"}, + {"2800:4f0:21::/48", "28006"}, + {"2a0b:f303:464::/29", "62240"}, + {"2a0e:b107:14ff::/48", "398355"}, + {"2001:c20:c817::/48", "58562"}, + {"2403:c200::/32", "9790"}, + {"240a:a654::/32", "144270"}, + {"2806:2f0:31c3::/42", "17072"}, + {"2a00:4802:290::/44", "8717"}, + {"2a07:aa00:80::/48", "3356"}, + {"2403:bb00:abcd::/48", "24528"}, + {"2a0b:e480::/29", "206331"}, + {"2406:8800:9033::/45", "17465"}, + {"2408:8456:2200::/42", "17622"}, + {"2603:c012:e000::/36", "31898"}, + {"2a00:c280:101::/29", "50463"}, + {"2001:4d78:2000::/40", "15830"}, + {"2402:800:999b::/42", "7552"}, + {"2804:14d:7685::/41", "28573"}, + {"2403:fc80::/32", "63501"}, + {"2409:8c54:2800::/43", "9808"}, + {"240e:44d:5c00::/41", "140345"}, + {"2806:230:1011::/48", "11888"}, + {"2001:44b8:18::/47", "7545"}, + {"2404:f440::/32", "58460"}, + {"2a00:ce0::/32", "8553"}, + {"2a01:7c8::/40", "20857"}, + {"2a06:ff40::/29", "15738"}, + {"2a0f:d000::/29", "35048"}, + {"2a0f:f180::/32", "60682"}, + {"2001:67c:2664::/48", "42525"}, + {"2804:18:6820::/41", "26599"}, + {"2804:161c:a00::/45", "263268"}, + {"2a00:c080::/32", "5524"}, + {"2001:559:452::/47", "33659"}, + {"2001:559:85fa::/45", "7922"}, + {"2001:57a:f300::/46", "62957"}, + {"2400:fc00:40b0::/39", "45773"}, + {"2620:9c:2000::/48", "54406"}, + {"2800:310:2::/48", "262589"}, + {"2a02:5c0::/32", "21232"}, + {"2a02:26f7:e2c8::/48", "36183"}, + {"2a06:3b80:110::/48", "200478"}, + {"2001:559:103::/48", "20214"}, + {"2001:559:7ad::/48", "33656"}, + {"2400:11c0::/32", "133296"}, + {"2408:8459:3850::/38", "17816"}, + {"2804:299c::/32", "264025"}, + {"2a0e:c680::/32", "208654"}, + {"2001:550:a07::/43", "174"}, + {"2001:559:c312::/48", "22909"}, + {"2001:da8:cc::/48", "138371"}, + {"2a0e:aa07:f0e0::/44", "208680"}, + {"2001:fd8:221d::/35", "4775"}, + {"2400:3680::/32", "45582"}, + {"240a:a134::/32", "142958"}, + {"2600:6c10:f31d::/41", "20115"}, + {"2a04:81c0::/29", "56665"}, + {"2400:6280:114::/48", "132280"}, + {"2406:d500:9::/48", "136557"}, + {"2605:a404:180::/42", "33363"}, + {"2a03:e100::/29", "52144"}, + {"240a:a02c::/32", "142694"}, + {"240e:978:1500::/40", "131325"}, + {"2a06:bdc0:1a40::/29", "62240"}, + {"2604:bb00::/32", "46692"}, + {"2620:129:f003::/48", "393462"}, + {"2a00:4802:2a10::/39", "8717"}, + {"2a01:bca0::/32", "202114"}, + {"2a02:888:de::/39", "47794"}, + {"2a03:3b40::/38", "24971"}, + {"2001:4220:800f::/43", "24835"}, + {"2803:7820::/45", "267708"}, + {"2a10:7b00::/29", "399975"}, + {"240a:a29f::/32", "143321"}, + {"2803:84e0::/32", "27951"}, + {"2806:20d:3230::/45", "32098"}, + {"2001:418:1401:600::/42", "2914"}, + {"2a01:8f00::/32", "197063"}, + {"2a09:58c0::/48", "8426"}, + {"2a0d:2480::/29", "328543"}, + {"2001:559:58f::/48", "33287"}, + {"2001:1388:8a0e::/42", "6147"}, + {"2402:9e80:41::/48", "138558"}, + {"2408:8957:300::/40", "17816"}, + {"240a:aa51::/32", "145291"}, + {"2800:160:216f::/40", "14259"}, + {"2804:8528::/40", "272561"}, + {"2a02:26f7:c445::/46", "20940"}, + {"2404:2f80:ff01::/48", "58495"}, + {"2804:4d4c::/32", "267422"}, + {"2804:7f6c:71::/32", "271687"}, + {"2a0e:c885::/44", "208759"}, + {"2401:d800:92c0::/42", "7552"}, + {"2402:7800:3002::/48", "21775"}, + {"2408:8956:da40::/40", "17622"}, + {"240a:a008::/32", "142658"}, + {"240a:a60d::/32", "144199"}, + {"240e:950:5c00::/31", "4134"}, + {"2606:2000:16::/32", "1616"}, + {"2a02:26f7:df45::/46", "20940"}, + {"2a0e:a940::/32", "210499"}, + {"2c0f:f5e0::/32", "25139"}, + {"2001:559:85cf::/43", "33662"}, + {"2400:7fc0::/40", "55960"}, + {"240a:abbf::/32", "145657"}, + {"2607:f768:4000::/32", "33152"}, + {"2a03:2880:f200::/47", "32934"}, + {"2a0e:97c0:770::/44", "212935"}, + {"2a11:fc80:6277::/48", "20473"}, + {"2001:67c:730::/48", "60754"}, + {"2409:802e:2906::/32", "9808"}, + {"2409:8053:2c02::/48", "56047"}, + {"240e:438:8a20::/43", "140647"}, + {"2804:824c:2000::/32", "272511"}, + {"2a00:1068::/32", "47998"}, + {"2001:67c:2670::/48", "43451"}, + {"2600:1014:b030::/44", "22394"}, + {"2804:3798:10::/32", "266423"}, + {"2401:d800:2050::/42", "7552"}, + {"240a:a3dc::/32", "143638"}, + {"2804:3c::/32", "28576"}, + {"2402:800:522b::/41", "7552"}, + {"2403:8300:e00::/46", "204527"}, + {"2404:bf40:f080::/48", "2764"}, + {"240e:d9:e801::/30", "4134"}, + {"2600:1003:a010::/40", "22394"}, + {"2a00:11c0:3d::/48", "42354"}, + {"2a00:ff80::/29", "8264"}, + {"2a02:f48::/40", "44515"}, + {"2a0b:2180:2::/32", "206502"}, + {"2001:df7:880::/48", "45325"}, + {"2401:d800:640::/42", "7552"}, + {"240a:a6d0::/32", "144394"}, + {"240e:3b3:4c00::/35", "136200"}, + {"2804:14d:b000::/40", "28573"}, + {"2a00:1c78:1::/48", "49340"}, + {"2a0c:4500::/32", "207517"}, + {"2001:559:219::/48", "33657"}, + {"2400:3c20::/32", "18196"}, + {"240a:a2d5::/32", "143375"}, + {"240a:a40f::/32", "143689"}, + {"2a03:23e0::/32", "201688"}, + {"2a05:1c00::/29", "6718"}, + {"2001:559:c08c::/48", "33287"}, + {"2402:4380::/32", "132162"}, + {"2806:2f0:1303::/43", "22884"}, + {"2a00:4802:d10::/40", "8717"}, + {"2a02:df8::/29", "20799"}, + {"2a02:2a90:8110::/33", "702"}, + {"2a03:f80:65::/48", "9009"}, + {"2a0c:b280::/48", "16509"}, + {"2a0c:bcc0::/34", "206476"}, + {"2a0e:ed00::/29", "208839"}, + {"2001:559:8748::/48", "33662"}, + {"240a:a73e::/32", "144504"}, + {"2607:ff28:5003::/36", "62904"}, + {"2804:40bc::/32", "265978"}, + {"2804:45d0::/32", "266951"}, + {"2001:1998:2000::/35", "3456"}, + {"2401:7500:ff1::/48", "133296"}, + {"2610:20:8c20::/44", "3477"}, + {"2a00:1f30::/29", "29081"}, + {"2001:67c:838::/48", "24840"}, + {"240a:a846::/32", "144768"}, + {"2607:fb91:3000::/33", "21928"}, + {"2a02:26f7:e080::/48", "36183"}, + {"2a0d:f8c0::/42", "209122"}, + {"2600:1408:1001::/36", "20940"}, + {"2604:4d40:8000::/36", "13830"}, + {"2a0d:ea80::/29", "43350"}, + {"240a:a2e8::/32", "143394"}, + {"2804:248:3::/45", "28598"}, + {"2a01:c9c0:a1::/45", "8891"}, + {"2a04:4e40:d200::/48", "54113"}, + {"2408:84f3:3620::/43", "17816"}, + {"2409:8c4c:e02::/31", "9808"}, + {"240a:a044::/32", "142718"}, + {"240e:3bd:2c00::/35", "134774"}, + {"2a01:8840:6::/44", "12041"}, + {"2a06:e881:4800::/48", "134666"}, + {"2a09:5500::/29", "49010"}, + {"2a0b:6b82::/32", "42615"}, + {"2001:550:4002::/39", "174"}, + {"2001:1960:12::/48", "26127"}, + {"2605:2180:901::/43", "12422"}, + {"2606:c00:33::/45", "9505"}, + {"2001:559:594::/48", "33650"}, + {"2001:df0:23e::/48", "9752"}, + {"2602:fed2:7305::/48", "53356"}, + {"2a02:d6a0::/30", "20692"}, + {"2a0d:3c40:d498::/48", "49542"}, + {"240a:ab84::/32", "145598"}, + {"2607:fcc8::/33", "10796"}, + {"2a02:26f7:f0::/48", "36183"}, + {"2a0b:9e80::/32", "15576"}, + {"2a0c:5247:e000::/36", "59504"}, + {"2a0d:9b84:1000::/36", "25180"}, + {"2405:55c0:40::/40", "63991"}, + {"2804:14d:7e8d::/41", "28573"}, + {"2606:2680:a000::/48", "7138"}, + {"2804:e30:405::/44", "11338"}, + {"2806:2a0:2f2::/37", "28548"}, + {"2806:2f0:9761::/46", "17072"}, + {"2001:fb0:1075::/48", "55498"}, + {"2403:600:b002::/33", "135391"}, + {"2804:3fd8:8001::/33", "265919"}, + {"2a01:470::/29", "35189"}, + {"2a02:26f7:ef49::/46", "20940"}, + {"2001:dc7:fffe::/47", "24409"}, + {"2400:db00::/32", "23881"}, + {"2800:bf0:3700::/46", "52257"}, + {"2a06:f140::/29", "42034"}, + {"2620:10a:30f1::/44", "10349"}, + {"2804:18:870::/40", "26599"}, + {"2804:7cf4::/32", "271529"}, + {"2a02:26f7:ef88::/48", "36183"}, + {"2a09:db40::/48", "60781"}, + {"2a10:7700::/32", "399975"}, + {"240a:a1ca::/32", "143108"}, + {"2a0a:d00::/29", "207023"}, + {"2a0c:9540::/32", "202516"}, + {"2401:d800:9a10::/42", "7552"}, + {"2607:ffd0:900::/32", "13767"}, + {"2620:11d:9002:700::/48", "33186"}, + {"2804:1c04:fe00::/39", "61633"}, + {"2804:51cc::/32", "268478"}, + {"2a0c:b642:1a01::/48", "60404"}, + {"2c0f:4600::/32", "328839"}, + {"2001:579:f184::/36", "22773"}, + {"2001:4b78::/29", "12637"}, + {"2600:1409:a001::/36", "20940"}, + {"2804:75a8::/32", "271061"}, + {"2408:8957:6500::/40", "17816"}, + {"2001:978:3400::/48", "9009"}, + {"2001:c20:48a6::/48", "9255"}, + {"240a:ad88::/32", "146114"}, + {"2600:100::/28", "32703"}, + {"2602:fd3f::/46", "6939"}, + {"2a02:26f7:c408::/48", "36183"}, + {"2a05:7a80::/29", "204269"}, + {"2a10:9902:730::/46", "211972"}, + {"2001:559:84ab::/48", "22258"}, + {"2602:fdfe::/36", "17177"}, + {"2a02:26f0:b601::/39", "20940"}, + {"2001:678:384::/48", "207207"}, + {"2401:4900:4bdc::/46", "45609"}, + {"2401:d800:9140::/42", "7552"}, + {"240e:982:3400::/36", "4134"}, + {"2804:6d18::/32", "270512"}, + {"2a01:8840:65::/48", "207266"}, + {"2c0f:fa60::/32", "36917"}, + {"2001:559:50e::/48", "33650"}, + {"2600:1017:f800::/44", "22394"}, + {"2804:718c::/32", "270796"}, + {"2a02:2e02:12d0::/42", "12479"}, + {"2600:6c2e:692::/39", "20115"}, + {"2c0f:c00::/32", "328327"}, + {"2001:67c:218c::/48", "12986"}, + {"2001:df4:2880::/48", "7545"}, + {"2405:f600:ba::/47", "45117"}, + {"240a:ac6a::/32", "145828"}, + {"2600:1006:b000::/42", "6167"}, + {"2600:1800::/45", "16552"}, + {"2406:5800:ff00::/48", "45577"}, + {"2409:8915:2600::/40", "56044"}, + {"240a:a067::/32", "142753"}, + {"240a:a5a6::/32", "144096"}, + {"240c:c604::/23", "23910"}, + {"240e:108:11c1::/48", "38283"}, + {"2806:230:1020::/48", "265594"}, + {"2a02:26f7:cc44::/48", "36183"}, + {"2a02:26f7:fa89::/42", "20940"}, + {"2001:4a0::/32", "8134"}, + {"2405:203:886::/47", "55836"}, + {"2600:6c20:a03::/44", "20115"}, + {"2803:580::/32", "61449"}, + {"2a0d:6680::/29", "50782"}, + {"2001:1248:9818::/42", "11172"}, + {"2804:194c::/32", "61785"}, + {"2a0f:c800::/29", "198385"}, + {"2001:559:1e3::/48", "33491"}, + {"240a:a2a0::/32", "143322"}, + {"240a:a5f5::/32", "144175"}, + {"2600:6c10:f055::/46", "20115"}, + {"2607:6b80:41::/44", "13213"}, + {"2800:bf0:a809::/48", "27947"}, + {"2a01:bb24:2::/48", "16509"}, + {"2605:c680::/32", "63251"}, + {"2a00:1728:1d::/48", "44796"}, + {"2404:f300::/43", "56258"}, + {"240a:a37a::/32", "143540"}, + {"2600:1007:b1e0::/43", "22394"}, + {"2a02:26f7:f600::/48", "36183"}, + {"2a03:a200::/32", "43451"}, + {"2401:2f80::/32", "27568"}, + {"2800:484:e300::/40", "14080"}, + {"2a02:2698:400::/38", "50512"}, + {"2a04:5ec7:1::/32", "60239"}, + {"2404:a8:5::/48", "24514"}, + {"2405:f080:1e0a::/47", "136907"}, + {"2409:8c14:e00::/35", "9808"}, + {"240a:a860::/32", "144794"}, + {"2602:feb4:270::/44", "25961"}, + {"2a03:57e0::/32", "60481"}, + {"2a0c:b640:17::/32", "34872"}, + {"2a10:3ec0:32::/48", "198417"}, + {"2001:b60::/32", "20836"}, + {"240e:d6:6800::/37", "133775"}, + {"2600:140b:2400::/48", "31109"}, + {"2804:3dc:a10::/32", "52967"}, + {"2804:27a4::/32", "263914"}, + {"2a0b:20c0:3000::/32", "205766"}, + {"2602:feb4:e0::/44", "25961"}, + {"2a0f:e6c2::/32", "62240"}, + {"2c0f:ec78::/32", "328088"}, + {"240a:a455::/32", "143759"}, + {"2607:f6f0:9001::/48", "394749"}, + {"2620:13d:2060::/46", "209"}, + {"2804:2b64::/32", "265151"}, + {"2804:76a4::/32", "271125"}, + {"2a11:3800::/29", "43624"}, + {"2001:480:631::/35", "668"}, + {"2404:2940:4000::/32", "132257"}, + {"2607:fb28::/44", "9"}, + {"2803:e600:ff01::/40", "18809"}, + {"2001:1a38::/32", "34081"}, + {"2402:93c0::/48", "59073"}, + {"2600:370f:73e8::/37", "32261"}, + {"2001:df2:e900::/48", "137035"}, + {"2409:8959:ce54::/39", "56040"}, + {"2600:1005:b180::/41", "22394"}, + {"2804:2fc8::/32", "262611"}, + {"2a02:26f7:b991::/46", "20940"}, + {"2405:5700::/32", "17882"}, + {"2600:1000:10::/32", "22394"}, + {"2620:13f:7014::/46", "10975"}, + {"2804:7280::/33", "270857"}, + {"2a02:26f7:d885::/46", "20940"}, + {"2a0e:b107:1165::/48", "58057"}, + {"2a05:10c0::/29", "207594"}, + {"240a:afdb::/32", "146709"}, + {"2806:1080:102::/32", "8151"}, + {"2a0a:6d00::/29", "206988"}, + {"2800:310:407::/44", "18678"}, + {"2602:802:b040::/47", "399788"}, + {"2a00:c2e0:101::/32", "30919"}, + {"2a02:26f7:d980::/48", "36183"}, + {"2804:6230::/32", "269281"}, + {"2a02:26f7:e245::/46", "20940"}, + {"2a0b:fd81::/48", "49419"}, + {"2001:253:136::/48", "142102"}, + {"2001:6f8::/38", "3257"}, + {"2408:8459:fe20::/30", "17816"}, + {"2804:1d20:440::/38", "264349"}, + {"2a00:4600::/32", "25451"}, + {"2a0b:6b83:4225::/41", "202562"}, + {"2405:9800:9802::/47", "45458"}, + {"2602:fbfd::/36", "395019"}, + {"2604:1380:4500::/42", "54825"}, + {"2804:104c:c800::/40", "263629"}, + {"2804:5030::/32", "268374"}, + {"2a04:4e40:b810::/42", "54113"}, + {"2a0c:b641:e1::/48", "206877"}, + {"2409:8924:2900::/38", "56046"}, + {"240a:a5c1::/32", "144123"}, + {"240a:aeea::/32", "146468"}, + {"2620:11d:500f::/48", "393732"}, + {"2402:9b00::/40", "45796"}, + {"2402:ca40::/32", "137707"}, + {"2406:840:fbba::/48", "139058"}, + {"240e:44d:4d80::/41", "4134"}, + {"2620:10a:80ab::/48", "394354"}, + {"2804:4254::/32", "267493"}, + {"2a0d:41c0::/32", "204179"}, + {"240e:438:2a20::/43", "140647"}, + {"2a11:4140::/29", "5405"}, + {"240a:a07c::/32", "142774"}, + {"2804:64a0::/32", "269439"}, + {"2a02:1a8::/32", "203865"}, + {"2a05:7640:f40::/42", "174"}, + {"2001:678:a80::/48", "56796"}, + {"2001:1388:5548::/34", "6147"}, + {"2405:1500:91::/42", "58717"}, + {"240a:a882::/32", "144828"}, + {"2604:2d80:be80::/33", "30036"}, + {"2607:ff00:300::/40", "19437"}, + {"2620:15:8000::/48", "26039"}, + {"2c0f:f900::/32", "36864"}, + {"2405:df80::/32", "38719"}, + {"240a:afa9::/32", "146659"}, + {"2a00:1288:f03f::/41", "10310"}, + {"2a02:7b02:2000::/36", "48328"}, + {"2a07:3500:1778::/48", "34373"}, + {"2001:df0:3980::/48", "135942"}, + {"2a0e:97c0:410::/46", "211275"}, + {"2800:160:1658::/45", "14259"}, + {"2804:51c:7400::/36", "262495"}, + {"2804:8044::/32", "271740"}, + {"2a02:26f7:e84c::/48", "36183"}, + {"2405:9800:f000::/48", "45458"}, + {"240e:397:300::/37", "140484"}, + {"2800:8e0:2::/32", "14259"}, + {"2a02:26f7:c384::/48", "36183"}, + {"2401:f540:6::/47", "134094"}, + {"2402:73c0::/32", "131929"}, + {"2402:c100:c001::/34", "23673"}, + {"2a0c:46c0::/29", "29262"}, + {"2001:da8:c800::/45", "24356"}, + {"2405:203:986::/47", "55836"}, + {"2804:30a8::/32", "264967"}, + {"2804:37f0:8100::/36", "266445"}, + {"2a03:1440::/32", "9063"}, + {"2a0b:3200::/31", "201080"}, + {"2001:559:542::/48", "22909"}, + {"2001:df7:f300::/48", "138653"}, + {"2001:44b8:4046::/48", "7545"}, + {"2400:5880::/32", "58983"}, + {"2804:3dc4::/34", "266552"}, + {"2001:559:2d7::/48", "7016"}, + {"2001:559:539::/46", "7922"}, + {"2402:800:41ff::/38", "7552"}, + {"2a05:1083:407e::/48", "209870"}, + {"2a0e:46c4:2d0d::/48", "208753"}, + {"2001:559:c1bb::/45", "33287"}, + {"2409:8907:8120::/38", "24547"}, + {"240e:3b8:1400::/38", "134773"}, + {"2600:1408:8001::/37", "20940"}, + {"2804:1928::/32", "61775"}, + {"2a04:52c0::/32", "60404"}, + {"2a0e:aa06:490::/45", "24239"}, + {"2c0f:f850:155::/46", "327979"}, + {"2001:559:86b3::/45", "7922"}, + {"2401:d800:7220::/41", "7552"}, + {"2408:890c::/31", "17621"}, + {"2602:fff6:f::/48", "29802"}, + {"2001:67c:924::/48", "13030"}, + {"240a:a2ff::/32", "143417"}, + {"2806:2f0:9d01::/46", "17072"}, + {"2a00:139b::/32", "204680"}, + {"2001:559:8001::/48", "26868"}, + {"2001:559:c3f5::/48", "33660"}, + {"2001:678:454::/48", "1257"}, + {"2001:fe8:9000::/48", "24435"}, + {"2001:1868:a10c::/33", "11404"}, + {"2a02:26f7:ec51::/46", "20940"}, + {"2001:559:c0d9::/48", "33489"}, + {"2402:800:9dee::/43", "7552"}, + {"2402:e380:100::/43", "139073"}, + {"2600:2c01:5000::/34", "17378"}, + {"240a:a73c::/32", "144502"}, + {"2605:7900:42::/48", "19133"}, + {"2804:6684::/32", "269565"}, + {"2804:6c9c::/32", "270480"}, + {"2a0d:2406:200::/39", "64425"}, + {"2c0f:eb98::/32", "328594"}, + {"2001:250:7410::/42", "24371"}, + {"2400:5400:10::/48", "18245"}, + {"2404::/35", "17709"}, + {"2409:8054:303e::/47", "9808"}, + {"240a:adf4::/32", "146222"}, + {"2a04:1740::/29", "42159"}, + {"2001:559:c23b::/45", "7922"}, + {"2001:67c:1514::/48", "3257"}, + {"2409:8915:2000::/39", "56044"}, + {"2606:9e80::/32", "32212"}, + {"240a:a22a::/32", "143204"}, + {"2804:14c:3b91::/44", "28573"}, + {"2a01:878::/32", "12302"}, + {"2400:5200:1800::/40", "55410"}, + {"2602:fe10:ff5::/44", "394119"}, + {"2620:101:80f2::/48", "395642"}, + {"2804:54e4::/32", "268676"}, + {"2804:8478::/32", "272262"}, + {"2806:230:6003::/48", "11888"}, + {"2a03:7380:2140::/37", "13188"}, + {"2402:800:9d55::/42", "7552"}, + {"2405:7f00:c1a0::/38", "133414"}, + {"240a:a9b5::/32", "145135"}, + {"2602:fd10:820::/44", "398795"}, + {"2a0f:5707:aae0::/44", "44592"}, + {"2001:13d1:c04::/34", "7303"}, + {"240a:a749::/32", "144515"}, + {"2607:f208:df05::/48", "21499"}, + {"2406:8800:9015::/44", "17465"}, + {"2409:8915:7c00::/32", "56044"}, + {"240e:108:29::/48", "4134"}, + {"2600:141b:3000::/48", "35994"}, + {"2a01:879::/24", "3209"}, + {"2001:c20:840a::/38", "3758"}, + {"2408:8256:3760::/44", "17623"}, + {"2a02:2e02:18a0::/39", "12479"}, + {"2001:559:85c1::/48", "21508"}, + {"2001:fb0:101d::/42", "7470"}, + {"2403:0:208::/37", "4755"}, + {"2409:8087:200::/40", "38019"}, + {"240a:a938::/32", "145010"}, + {"2600:1005:f110::/30", "22394"}, + {"2804:2a0:400::/32", "28272"}, + {"2806:230:302e::/48", "265594"}, + {"2a0c:a640:1::/48", "42298"}, + {"2a0e:aac0::/32", "209974"}, + {"2001:e58::/32", "18266"}, + {"240a:a5e6::/32", "144160"}, + {"240a:ae34::/32", "146286"}, + {"2001:559:127::/48", "7725"}, + {"2804:13dc:8008::/33", "262428"}, + {"2a01:40a0::/32", "62297"}, + {"2001:1248:98e5::/43", "11172"}, + {"2402:e280:4001::/39", "134674"}, + {"2a01:320::/29", "31252"}, + {"2402:800:b7d0::/36", "7552"}, + {"2404:c000::/46", "45147"}, + {"240a:a94c::/32", "145030"}, + {"2a0f:8443::/32", "29182"}, + {"2a10:8003:8000::/27", "8551"}, + {"2001:250:3c14::/46", "138369"}, + {"2001:503:bfb0::/48", "7342"}, + {"240e:938:f901::/44", "4134"}, + {"2600:100d:b0f0::/44", "22394"}, + {"2600:1010:b030::/44", "22394"}, + {"2620:106:7000::/48", "11795"}, + {"2804:254c::/32", "264272"}, + {"2804:5770::/32", "268065"}, + {"2804:7694::/32", "271121"}, + {"2a10:9a80:dc01::/48", "1764"}, + {"2001:559:8508::/46", "33287"}, + {"2408:8956:df00::/40", "17816"}, + {"240a:a950::/32", "145034"}, + {"2804:1594::/32", "263396"}, + {"2a03:6960::/32", "198944"}, + {"2001:559:589::/48", "20214"}, + {"2409:4003:1000::/34", "55836"}, + {"2409:8038:100::/36", "9808"}, + {"240a:aa5c::/32", "145302"}, + {"2604:61c0:1201::/33", "29831"}, + {"2620:48:a000::/48", "32242"}, + {"2801:80:1b70::/48", "266455"}, + {"2a0d:ca40::/29", "8423"}, + {"2001:ac0:c810::/41", "8903"}, + {"2400:fc00:8190::/42", "45773"}, + {"2602:fbae::/40", "400495"}, + {"2605:2400:300::/37", "19528"}, + {"2a0c:e640:1012::/45", "141011"}, + {"2001:67c:27d4::/48", "42177"}, + {"2405:1c0:6431::/45", "55303"}, + {"2409:8057:3028::/47", "9808"}, + {"2605:a401:8b41::/42", "33363"}, + {"2803:2800:6000::/32", "52368"}, + {"2a03:e581:1::/46", "49282"}, + {"2602:fea4::/36", "399584"}, + {"2620:131:4000::/40", "394015"}, + {"2a0f:eb80:10::/32", "47267"}, + {"2408:84f3:e640::/36", "17816"}, + {"2804:5f7c::/32", "269103"}, + {"2a0b:7e00::/38", "198622"}, + {"2405:9800:b900::/38", "133481"}, + {"2409:8c2f:3800::/48", "9808"}, + {"240e:108:2b::/48", "58563"}, + {"2800:8c0::/32", "18840"}, + {"2a05:88c0::/29", "210107"}, + {"2a0c:aa40::/29", "50113"}, + {"2a0d:b4c0::/29", "210101"}, + {"2408:8957:c700::/40", "17816"}, + {"2804:4b00::/32", "267277"}, + {"2804:6918:2000::/33", "270248"}, + {"2a02:26f7:e6c8::/48", "36183"}, + {"2a02:8010::/29", "13037"}, + {"2a11:840:1::/45", "9009"}, + {"2606:c100::/32", "36545"}, + {"2620:12a:8000::/44", "54113"}, + {"2a02:ee80:424a::/45", "3573"}, + {"2001:559:158::/48", "33662"}, + {"2600:c08:2015::/48", "27385"}, + {"2605:a401:89f4::/44", "33363"}, + {"2001:4490:c00::/43", "9829"}, + {"2402:8100:27d0::/47", "45271"}, + {"2620:11a:a0f1::/48", "36040"}, + {"2a03:b500:100::/34", "41135"}, + {"2a06:e600::/29", "43826"}, + {"2001:559:875f::/48", "21508"}, + {"2401:d800:bb50::/42", "7552"}, + {"2602:feda:b66::/48", "146950"}, + {"2804:4f3c::/32", "268314"}, + {"2a02:26f0:9b01::/37", "20940"}, + {"2a0f:df00:dead::/48", "41281"}, + {"2001:67c:2210::/48", "49167"}, + {"2001:4900::/32", "13657"}, + {"2603:c002:1410::/39", "31898"}, + {"2a0b:ea40::/32", "198188"}, + {"2001:559:3fc::/47", "33652"}, + {"2606:7e00:4::/48", "7215"}, + {"2804:1b3:4003::/45", "10429"}, + {"2804:751c::/32", "271024"}, + {"2804:83f4::/32", "52918"}, + {"2a00:9860::/37", "44789"}, + {"2001:502:2eda::/48", "397226"}, + {"2001:4408:5225::/46", "4758"}, + {"2401:4900:3920::/43", "45609"}, + {"2804:3b90::/36", "266157"}, + {"2a01:488:bb06::/48", "39779"}, + {"2001:df1:a100::/48", "136758"}, + {"2804:291c:2000::/33", "263998"}, + {"2a0e:e42::/32", "208638"}, + {"2a0f:7040::/32", "203622"}, + {"2001:559:4a4::/48", "7016"}, + {"2001:1a40:120::/38", "5416"}, + {"2401:a580::/46", "55403"}, + {"2407:680:8000::/33", "7656"}, + {"240e:45c:a500::/40", "140535"}, + {"2600:140f:4e00::/48", "38266"}, + {"2801:1fc::/48", "27951"}, + {"2804:56c0::/32", "268021"}, + {"2806:2f0:61c1::/46", "17072"}, + {"2400:f1::/30", "4766"}, + {"2408:8409:a800::/40", "4808"}, + {"2605:a900:9::/46", "46887"}, + {"2a0f:5707:aa8a::/45", "56382"}, + {"2001:504:40:108::/64", "6461"}, + {"2001:48f8:c000::/34", "11232"}, + {"2a06:b840::/29", "203608"}, + {"2404:3280::/44", "9287"}, + {"2600:6c10:805::/44", "20115"}, + {"2a02:13e0:1::/48", "7018"}, + {"2405:b7c0::/32", "139112"}, + {"2605:60c0::/40", "395846"}, + {"2803:4640::/32", "61506"}, + {"2a01:270:eaeb::/37", "29657"}, + {"2a02:26f7:c6c8::/48", "36183"}, + {"2803:9640::/32", "264605"}, + {"2804:14c:6b82::/41", "28573"}, + {"2a02:88d:403f::/34", "47794"}, + {"2a02:2891:10::/46", "51185"}, + {"2a04:30c0::/32", "20473"}, + {"2a01:6b0::/32", "1820"}, + {"2a03:4b22::/32", "39835"}, + {"2a0d:3341:7000::/36", "36492"}, + {"2001:559:3c9::/48", "33491"}, + {"240a:a6fb::/32", "144437"}, + {"2602:fca7:4::/44", "399318"}, + {"2604:ad40::/32", "395795"}, + {"2a03:6a0::/32", "56925"}, + {"2a04:4e42:201::/37", "54113"}, + {"2001:67c:1878::/48", "3301"}, + {"2001:978:230b::/37", "174"}, + {"2607:f868:8000::/45", "20141"}, + {"2a00:a8a0::/32", "60533"}, + {"240e:5f:6000::/48", "134773"}, + {"2600:9000:2206::/48", "16509"}, + {"2804:14d:2400::/40", "28573"}, + {"2a02:2e02:8ff0::/35", "12479"}, + {"2001:44b8:30a5::/48", "4739"}, + {"2400:1a00::/45", "17501"}, + {"240a:a614::/32", "144206"}, + {"2a00:1b00::/48", "47862"}, + {"2a02:ee80:4022::/45", "3573"}, + {"2a10:fa00::/29", "52193"}, + {"2801:1b:a000::/48", "265700"}, + {"2804:3dbc:8000::/35", "266550"}, + {"2a00:1148::/45", "47764"}, + {"2a07:a343:bc70::/44", "9009"}, + {"2804:15fc::/32", "28359"}, + {"2a02:fe80:11::/44", "30148"}, + {"2a12:4946:1800::/48", "211398"}, + {"2001:470:69::/43", "6939"}, + {"2001:c20:4887::/48", "9255"}, + {"2001:4b26:0:100::/31", "34288"}, + {"2800:160:1d44::/46", "14259"}, + {"2806:2f0:4123::/41", "17072"}, + {"2a0f:76c0::/29", "202709"}, + {"2001:559:8459::/48", "7015"}, + {"2408:8956:eb00::/40", "17816"}, + {"240a:af63::/32", "146589"}, + {"2602:ffc5:10a::/48", "19969"}, + {"2001:1900:2231::/45", "3356"}, + {"240a:a4b0::/32", "143850"}, + {"2a02:26f0:124::/46", "34164"}, + {"240a:a6de::/32", "144408"}, + {"2602:fd2a::/40", "17326"}, + {"2801:80:22f0::/48", "267111"}, + {"2804:7468::/32", "270979"}, + {"2a0a:6040::/33", "61138"}, + {"2a0b:2900:2100::/41", "48582"}, + {"2408:8256:396e::/43", "17623"}, + {"2409:8918::/31", "134810"}, + {"2409:8c28:1201::/39", "56041"}, + {"240a:a640::/32", "144250"}, + {"2604:2f40::/38", "29749"}, + {"2001:550:9f00:1::/46", "174"}, + {"2001:559:83c6::/48", "7015"}, + {"2600:1417:2a::/47", "24319"}, + {"2605:c540:c000::/46", "398378"}, + {"2800:bf0:175::/48", "52257"}, + {"2600:370f:5221::/46", "32261"}, + {"2a02:26f7:b644::/48", "36183"}, + {"2a0f:5707:aaf0::/44", "211301"}, + {"2001:559:c137::/48", "7015"}, + {"2402:ef1c::/31", "7633"}, + {"2404:4fc0::/32", "38047"}, + {"2408:80fa:a000::/33", "17816"}, + {"240a:a913::/32", "144973"}, + {"240a:afc6::/32", "146688"}, + {"2602:ffc5:d10::/44", "7489"}, + {"2a02:26f7:d985::/46", "20940"}, + {"2803:9800:a847::/44", "11664"}, + {"2001:67c:1b8c::/48", "197087"}, + {"2803:bf40::/32", "264764"}, + {"2804:6848::/32", "269682"}, + {"2a0e:aa07:e025::/48", "210903"}, + {"2001:df0:f400::/47", "133657"}, + {"2804:51ac::/32", "268469"}, + {"2a0a:3900::/29", "208425"}, + {"2a0e:2700::/30", "203136"}, + {"2a0e:e7c0::/29", "204348"}, + {"2001:250:3011::/48", "23910"}, + {"2001:559:84b9::/48", "33287"}, + {"2001:67c:182c::/48", "47667"}, + {"2402:f800:ff01::/40", "7602"}, + {"2408:8957:6300::/40", "17816"}, + {"2600:140f:5400::/48", "9498"}, + {"2600:370f:5322::/41", "32261"}, + {"2800:310:40d::/36", "18678"}, + {"2a01:a860::/32", "202212"}, + {"2a02:2e02:1c70::/40", "12479"}, + {"2a03:6e60::/48", "9085"}, + {"2c0f:fdc8::/32", "37049"}, + {"2001:559:824f::/48", "33657"}, + {"2408:84f3:b010::/42", "134543"}, + {"240e:44d:8000::/41", "140345"}, + {"2001:559:e6::/48", "22909"}, + {"2001:df0:9e80::/48", "45926"}, + {"2804:478c::/32", "267061"}, + {"2804:75f4::/32", "271080"}, + {"2001:559:c410::/48", "7922"}, + {"2001:1248:5b07::/42", "11172"}, + {"2409:8051:2::/40", "56047"}, + {"2a0d:3340:c000::/31", "36492"}, + {"2001:1248:8427::/44", "11172"}, + {"2600:1408:2c00::/48", "35994"}, + {"2604:8bc0::/32", "14932"}, + {"2a05:8900:36::/48", "199159"}, + {"2a0e:46c4:1314::/48", "142598"}, + {"2a11:bd80::/32", "16509"}, + {"240a:a448::/32", "143746"}, + {"240a:a51e::/32", "143960"}, + {"240a:a787::/32", "144577"}, + {"2804:774:8600::/39", "52858"}, + {"2804:6564::/32", "269487"}, + {"2402:8400:600::/39", "17820"}, + {"2405:1c0:6631::/45", "55303"}, + {"2409:8a34:aa00::/33", "9808"}, + {"240a:a0a3::/32", "142813"}, + {"2804:36bc::/32", "266368"}, + {"2a02:26f7:d001::/46", "20940"}, + {"2001:559:3f9::/48", "33652"}, + {"2406:cb42::/48", "395092"}, + {"240e:438:440::/38", "4134"}, + {"2602:fbda:700::/44", "149506"}, + {"2606:2800:4a8c::/48", "15133"}, + {"2800:160:12ce::/43", "14259"}, + {"2804:49c:3104::/48", "15201"}, + {"2a10:640::/32", "1680"}, + {"2c0f:eb00:500::/38", "61266"}, + {"2001:67c:2f64::/48", "34393"}, + {"2001:4b20:100:206::/53", "34288"}, + {"2405:8a00:21be::/33", "55824"}, + {"2803:5c80:5001::/48", "64114"}, + {"2a02:26f7:e901::/46", "20940"}, + {"2001:1a11:b9::/48", "8781"}, + {"2400:3b00:30::/48", "18229"}, + {"240e:438:2220::/43", "140647"}, + {"2804:3f48::/32", "266650"}, + {"2001:67c:26ec::/48", "6908"}, + {"2001:df3:8600::/48", "131418"}, + {"2001:ec0:2000::/40", "131293"}, + {"2800:160:1824::/47", "14259"}, + {"2804:8500::/32", "272551"}, + {"2a02:26f7:bf51::/42", "20940"}, + {"2a02:26f7:fa85::/46", "20940"}, + {"2401:a400:5000::/34", "7477"}, + {"2402:e280:1104::/47", "134674"}, + {"2408:84f3:9840::/38", "17816"}, + {"240a:a668::/32", "144290"}, + {"240e:108:1011::/41", "4134"}, + {"2804:2144:307::/44", "52795"}, + {"2a0f:b480::/29", "213152"}, + {"240e:e9:4000::/37", "137702"}, + {"2620:13f:4000::/44", "397386"}, + {"2801:80:1d0::/48", "8075"}, + {"2804:1cc0:6000::/32", "61673"}, + {"2a0f:9a00::/29", "328543"}, + {"2408:8456:b040::/38", "17816"}, + {"240e:3b4:7600::/39", "140313"}, + {"240e:438:4c40::/38", "4134"}, + {"2607:b600:10::/48", "10397"}, + {"2a02:e58:3::/32", "209523"}, + {"2001:df1:1580::/48", "137130"}, + {"2001:4de0:1004::/47", "34343"}, + {"2401:d800:fc0::/42", "7552"}, + {"2403:9800:c049::/45", "133124"}, + {"2803:e600:cac4::/44", "18809"}, + {"2a0f:607:1003::/48", "7480"}, + {"2001:4868:10d::/40", "23148"}, + {"2620:10c:c072::/48", "15009"}, + {"2804:3404::/32", "52539"}, + {"2804:5bc0::/32", "268867"}, + {"2001:1b70:4293::/45", "8147"}, + {"2401:d800:7340::/42", "7552"}, + {"240e:3b8:9200::/36", "140317"}, + {"2804:1054::/32", "53135"}, + {"2a09:2dc3::/29", "30860"}, + {"2c0f:fe38:8::/34", "33771"}, + {"2001:ad0::/33", "3327"}, + {"2800:160:10ab::/43", "14259"}, + {"2804:1c04:8000::/33", "61633"}, + {"2001:559:70a::/48", "33659"}, + {"2801:80:b80::/48", "61841"}, + {"2a06:7c80::/29", "204030"}, + {"2a06:8000::/29", "50673"}, + {"2a0e:f200:164::/48", "30633"}, + {"2a0e:fd45:40f8::/48", "60404"}, + {"2400:f940:11::/46", "45766"}, + {"2804:54d8::/32", "268673"}, + {"2a00:c00:f050::/46", "8373"}, + {"2a00:1050::/32", "12470"}, + {"2a01:6d00:13::/32", "28726"}, + {"2a0e:b107:3f0::/46", "57883"}, + {"2001:480:254::/39", "668"}, + {"2402:800:96a9::/43", "7552"}, + {"2405:57c0:100::/48", "137799"}, + {"2602:ffe4:402::/36", "21859"}, + {"2a0f:4c40::/29", "207923"}, + {"2a0f:e841::/32", "30633"}, + {"2001:df0:23b::/48", "18188"}, + {"2a07:76c0:2::/48", "29107"}, + {"240a:af28::/32", "146530"}, + {"2607:fcd0:100:9a01::/50", "8100"}, + {"2804:7e4::/32", "52865"}, + {"2001:559:c478::/48", "33657"}, + {"2001:67c:2b20::/48", "59467"}, + {"2405:1c0:6841::/46", "55303"}, + {"240a:a2c8::/32", "143362"}, + {"2800:160:2080::/46", "14259"}, + {"2804:3c60::/32", "266207"}, + {"2a0a:e5c1:c00::/40", "213081"}, + {"2401:d800:2890::/42", "7552"}, + {"2401:f200::/32", "9988"}, + {"2407:c280:da02::/48", "138510"}, + {"240a:a486::/32", "143808"}, + {"2a00:9500::/32", "43608"}, + {"2001:19e8:d::/46", "2576"}, + {"2603:f0d0::/26", "397165"}, + {"2620:139:6002::/48", "22600"}, + {"2804:204:245::/46", "28186"}, + {"2a00:f48::/32", "47447"}, + {"2a03:6607::/32", "197838"}, + {"2001:19e8:8001::/48", "4046"}, + {"2406:6cc0:a200::/48", "63515"}, + {"2606:55c0::/32", "399969"}, + {"2a01:8840:e6::/44", "12041"}, + {"2409:8924:8700::/36", "56046"}, + {"2600:140b:11::/46", "20940"}, + {"2607:5580::/32", "18747"}, + {"2620:104:1f::/48", "6356"}, + {"2804:1ca4::/32", "263010"}, + {"2806:2f0:3461::/46", "17072"}, + {"2001:43ff::/48", "328813"}, + {"2401:d800:cf0::/39", "7552"}, + {"2600:6c38:408::/43", "20115"}, + {"2602:fc42:2::/48", "203690"}, + {"2605:ee00:fff0::/44", "29990"}, + {"2a03:8c60::/46", "51920"}, + {"2a03:b000:200::/40", "42695"}, + {"2407:5200::/42", "55915"}, + {"2602:ffc5:10d::/48", "398395"}, + {"2606:2800:4003::/48", "15133"}, + {"2001:559:f7::/48", "21508"}, + {"2001:559:c314::/48", "7016"}, + {"2404:4e00:1::/48", "32787"}, + {"2409:8c28:34b1::/39", "56041"}, + {"240a:aac2::/32", "145404"}, + {"2804:14c:4e9::/43", "28573"}, + {"2804:2050:3abd::/33", "264485"}, + {"2a07:b780::/29", "50601"}, + {"2806:230:1031::/48", "11888"}, + {"2401:8800:800::/40", "17439"}, + {"240a:a707::/32", "144449"}, + {"240e:438:2040::/38", "4134"}, + {"240e:983:204::/37", "4134"}, + {"2602:fe09::/36", "397072"}, + {"2806:2f0:3503::/42", "17072"}, + {"2403:60c0::/32", "134734"}, + {"2a09:f4c0::/32", "205718"}, + {"2a10:2f00:109::/48", "207650"}, + {"2001:559:860e::/48", "33668"}, + {"2001:dcc:1000::/48", "23600"}, + {"2001:1b70:a1::/48", "158"}, + {"2401:d800:f3d2::/37", "7552"}, + {"240e:44d:1b00::/41", "140345"}, + {"2001:df0:25e::/48", "131159"}, + {"2001:579:92f2::/39", "22773"}, + {"2804:1c84:700::/32", "61659"}, + {"2804:3994::/34", "266037"}, + {"2a0a:1000::/29", "31507"}, + {"2001:559:38b::/48", "7725"}, + {"2404:bf40:8141::/48", "7545"}, + {"2602:fbc8::/36", "400413"}, + {"2804:12c4::/32", "263497"}, + {"2001:1980:4444::/48", "32903"}, + {"2400:ca02:f122::/43", "23688"}, + {"240a:a8cd::/32", "144903"}, + {"240a:aecc::/32", "146438"}, + {"240e:37a:2600::/32", "4134"}, + {"2604:fb80::/37", "15128"}, + {"2804:5704::/32", "268038"}, + {"2804:7604:8000::/34", "271084"}, + {"2a0a:da80::/29", "213112"}, + {"2a0e:fd45:2b00::/41", "44103"}, + {"2804:1020::/32", "262544"}, + {"2804:4b78::/32", "267308"}, + {"2a04:4e40:6c00::/48", "54113"}, + {"2801:1a:6800::/48", "13489"}, + {"2804:14c:cc00::/40", "28573"}, + {"2a00:18c8::/29", "33915"}, + {"2a02:ef8::/32", "57793"}, + {"2a0c:1b80::/29", "50873"}, + {"2804:34f8::/32", "265492"}, + {"2a00:5840::/32", "5631"}, + {"2a03:fc0::/32", "60294"}, + {"2a04:4e40:8600::/48", "54113"}, + {"2a0f:e080::/48", "202971"}, + {"2409:8c04:1116::/31", "24547"}, + {"2607:fcd0:100:5900::/50", "8100"}, + {"2801:8e:a000::/36", "11993"}, + {"2a00:e200:104::/48", "198127"}, + {"2a09:a4c7:5000::/34", "208861"}, + {"2a0e:3940:f000::/36", "60767"}, + {"2001:559:1aa::/48", "33287"}, + {"2408:84f3:3220::/43", "17816"}, + {"2600:6c10:f498::/38", "20115"}, + {"2806:230:2012::/48", "265594"}, + {"2a02:d48::/40", "34913"}, + {"2405:1c0:6881::/46", "55303"}, + {"2409:8a51:1100::/30", "56047"}, + {"2a03:c200::/32", "33814"}, + {"2001:930:130::/48", "8386"}, + {"240a:a9d3::/32", "145165"}, + {"2804:1434::/32", "262492"}, + {"2405:42c0::/32", "139379"}, + {"2407:7c0:14::/40", "138128"}, + {"2602:102:1008::/43", "20115"}, + {"2604:b040:3::/48", "26282"}, + {"2803:c9e0::/32", "270012"}, + {"2804:14c:8581::/41", "28573"}, + {"2804:65e0::/32", "269520"}, + {"2a02:26f7:f848::/48", "36183"}, + {"2a0a:3b00::/32", "206497"}, + {"2001:559:85d7::/48", "33662"}, + {"2001:559:c396::/48", "7922"}, + {"2605:3380:4125::/44", "12025"}, + {"2800:860:2::/45", "262197"}, + {"2a02:26f7:bb86::/47", "20940"}, + {"2a0e:97c0:7ec::/46", "270014"}, + {"2804:228c:c000::/48", "264107"}, + {"2a00:fc00:e003::/48", "47266"}, + {"2001:559:438::/48", "7016"}, + {"2600:6c39:632::/44", "20115"}, + {"2806:230:300d::/48", "11888"}, + {"2a00:1fa2:ba00::/40", "42087"}, + {"2403:ecc0::/32", "58750"}, + {"240e:fd:a000::/36", "140308"}, + {"2600:1012:a100::/43", "6167"}, + {"2600:141b:6000::/48", "3257"}, + {"2806:2f0:4661::/46", "17072"}, + {"2a02:26f7:cd46::/48", "36183"}, + {"2409:4014:3000::/26", "55836"}, + {"2604:b000:3000::/32", "14638"}, + {"2607:6b80:3a::/48", "46562"}, + {"2804:4a28::/32", "53194"}, + {"2c0f:f7f8:3::/32", "3356"}, + {"2001:559:865d::/42", "33651"}, + {"240e:438:2620::/43", "140647"}, + {"2404:3d40::/32", "138544"}, + {"2407:4d40:f::/43", "142050"}, + {"2600:140b:4401::/36", "20940"}, + {"2620:88:8001::/48", "46269"}, + {"2800:300:6940::/40", "27651"}, + {"2a00:1990::/32", "34442"}, + {"2a01:c50f:4200::/40", "12479"}, + {"2a02:26f7:c08d::/42", "20940"}, + {"2408:8240::/32", "4837"}, + {"2001:559:c05b::/48", "33657"}, + {"2600:1406:e801::/38", "20940"}, + {"2602:fe92::/36", "13752"}, + {"2803:c0c0::/32", "264759"}, + {"2804:67c8::/32", "269650"}, + {"2409:8904:8540::/38", "24547"}, + {"2607:9800:c109::/43", "15085"}, + {"2a00:c827:7::/44", "60330"}, + {"2a05:7440:c14b::/48", "200165"}, + {"2a06:c040::/31", "61430"}, + {"2a0c:4187:8001::/48", "47596"}, + {"2001:67c:2b10::/48", "60275"}, + {"2408:8957:ad00::/40", "17816"}, + {"2804:2050:facf::/37", "264485"}, + {"2806:2f0:47e1::/36", "17072"}, + {"2a00:1d20::/30", "49544"}, + {"2a12:72c0::/29", "400522"}, + {"2404:bf40:a2c2::/42", "139084"}, + {"2407:9440:2::/41", "141626"}, + {"2607:f3f8::/34", "17378"}, + {"2620:a:d::/48", "36008"}, + {"2804:6254::/32", "269290"}, + {"2001:67c:149c::/48", "44968"}, + {"2402:6d00::/32", "55943"}, + {"2404:f4c0:feff::/48", "139249"}, + {"240a:ad6a::/32", "146084"}, + {"2001:470:bc::/48", "6939"}, + {"2405:6e00:f82e::/48", "133612"}, + {"240a:aa25::/32", "145247"}, + {"240e:97a:2d01::/48", "131325"}, + {"2a03:76e0::/32", "44424"}, + {"2408:8459:8c30::/41", "17622"}, + {"2801:1f0:4026::/41", "3573"}, + {"2804:4fd4::/32", "268352"}, + {"2a02:26f0:5c01::/39", "20940"}, + {"2a02:26f7:c749::/46", "20940"}, + {"2a02:2748::/32", "49779"}, + {"240a:ad77::/32", "146097"}, + {"2600:1419:bc01::/33", "20940"}, + {"2409:8054:18::/48", "9808"}, + {"2605:3380:446b::/48", "12025"}, + {"2a03:d000:8400::/39", "31133"}, + {"2001:388:1031::/45", "7575"}, + {"2001:57a:508::/45", "22773"}, + {"2001:16c0:feff::/29", "31732"}, + {"2a00:15b8::/37", "31122"}, + {"2604:d801::/32", "36372"}, + {"2a02:26f0:9101::/38", "20940"}, + {"2001:559:339::/48", "33659"}, + {"240a:a32c::/32", "143462"}, + {"2602:feb4:2b0::/36", "25961"}, + {"2806:370:8260::/40", "28403"}, + {"240a:a364::/32", "143518"}, + {"2602:ffc8:105::/38", "20278"}, + {"2607:f028::/48", "2158"}, + {"2804:6f48::/32", "270650"}, + {"2a02:26f7:e041::/46", "20940"}, + {"2a0d:cc0::/29", "60501"}, + {"2001:4de0:ac13::/48", "33438"}, + {"2402:9d80:4::/48", "131429"}, + {"2a00:1780:dd00::/34", "8194"}, + {"2a0d:9340:2::/37", "35761"}, + {"2a0e:c886::/44", "208759"}, + {"2001:67c:2050::/48", "199118"}, + {"240e:3bf:2c00::/35", "134774"}, + {"2600:1001:d020::/41", "6167"}, + {"2001:559:8616::/48", "7015"}, + {"2406:840:1110::/48", "139317"}, + {"2804:18::/43", "26599"}, + {"2001:559:35::/48", "33491"}, + {"2620:4d:400f::/43", "62597"}, + {"2a00:4802:2300::/37", "8717"}, + {"2a02:26f7:f481::/46", "20940"}, + {"2a03:fe40::/32", "60793"}, + {"2a0d:3842:1250::/48", "57629"}, + {"240e:3b9:8200::/35", "140316"}, + {"2801:80:2600::/40", "263261"}, + {"2a02:590::/29", "21263"}, + {"2a03:5f80:2:11::/47", "31500"}, + {"2a04:5200:69::/33", "50113"}, + {"2a10:4741:21::/48", "208914"}, + {"2800:484:c00::/40", "10620"}, + {"2a00:1418:8000::/36", "41391"}, + {"2a02:26f7:f405::/46", "20940"}, + {"2a0f:8642:b00b::/48", "212149"}, + {"2001:67c:22e4::/48", "47886"}, + {"2400:8480:1100::/48", "133385"}, + {"2800:bf0:60::/45", "52257"}, + {"2804:8400::/32", "272233"}, + {"2a00:ad04::/30", "41897"}, + {"2a02:2498:8000::/40", "13213"}, + {"240a:a075::/32", "142767"}, + {"240e:44d:1080::/41", "4134"}, + {"2602:ff1d::/36", "31843"}, + {"2800:160:1e07::/43", "14259"}, + {"2804:706c::/32", "270726"}, + {"2a0b:6b84::/44", "200639"}, + {"2001:67c:19c4::/48", "62159"}, + {"2a02:26f7:e085::/46", "20940"}, + {"240e:87c:640::/40", "4134"}, + {"2804:14d:8e00::/40", "28573"}, + {"2804:1b1:e000::/36", "10429"}, + {"2804:7d14::/32", "271537"}, + {"2001:400:211:52::/58", "293"}, + {"2001:559:183::/48", "33652"}, + {"2602:feda:af7::/48", "138919"}, + {"2a11:2e00::/29", "48755"}, + {"2001:559:79f::/48", "7922"}, + {"2408:8956:e900::/40", "17816"}, + {"2603:b0e1::/27", "11796"}, + {"2604:9b00:3c00::/38", "14230"}, + {"2607:f3a0:1a::/35", "23342"}, + {"2803:9800:9024::/43", "11664"}, + {"2001:16d8:b00c::/36", "16150"}, + {"2403:eb40::/32", "138418"}, + {"2407:8100:5::/48", "56308"}, + {"240a:a1d8::/32", "143122"}, + {"2607:a500::/45", "12025"}, + {"2804:75e0::/32", "271075"}, + {"2a02:26f0:c901::/38", "20940"}, + {"2a05:fb47::/32", "208861"}, + {"2001:dce:9401::/40", "23869"}, + {"2001:df0:232::/48", "9355"}, + {"240e:44d:1f00::/41", "140345"}, + {"2600:6c10:ff0e::/42", "20115"}, + {"2607:b380::/32", "19635"}, + {"2803:4a10::/32", "271916"}, + {"2001:559:c232::/48", "33660"}, + {"2607:f428:9330::/41", "40294"}, + {"2620:103:e0f9::/48", "13893"}, + {"2a06:1980::/48", "58321"}, + {"240a:ae9a::/32", "146388"}, + {"2804:24a8::/32", "264236"}, + {"2a02:24d8:ffff::/48", "15945"}, + {"2a0e:5e86::/32", "44176"}, + {"2001:559:8244::/48", "33651"}, + {"2607:f358:22::/45", "18779"}, + {"2800:5d0:214::/36", "52302"}, + {"2001:1440:201::/46", "5401"}, + {"2402:e380:30c::/48", "138351"}, + {"240a:aa44::/32", "145278"}, + {"2803:e340::/32", "264694"}, + {"2804:c00:8100::/34", "52655"}, + {"2a01:620:d000::/34", "12389"}, + {"2a0c:1d00::/43", "39614"}, + {"2a11:b8c0::/29", "204790"}, + {"2001:559:c143::/48", "7015"}, + {"2408:8a05:6002::/32", "17816"}, + {"240a:a8ae::/32", "144872"}, + {"240e:108:2a::/48", "63835"}, + {"2610:b0:40f0::/45", "3573"}, + {"2620:104:6003::/48", "14618"}, + {"2804:2404::/32", "264197"}, + {"2001:67c:920::/48", "62256"}, + {"2401:d800:7700::/42", "7552"}, + {"2402:3bc0::/32", "137225"}, + {"2409:8020:1041::/43", "56046"}, + {"2620:106:e001::/46", "40428"}, + {"2800:40:30::/47", "16814"}, + {"2804:1f54::/32", "272220"}, + {"2804:3de8:e000::/36", "266562"}, + {"2806:2f0:3281::/46", "17072"}, + {"2a05:9f04:25::/40", "210374"}, + {"2001:559:8598::/48", "7922"}, + {"2403:d140::/32", "133187"}, + {"240a:a774::/32", "144558"}, + {"2a02:26f7:3b::/48", "20940"}, + {"2a04:94c0::/30", "202746"}, + {"2a09:4c0:8701::/34", "58057"}, + {"2001:418:1401:5::/62", "2914"}, + {"2001:559:83f9::/48", "7015"}, + {"2405:84c0:fd01::/46", "51089"}, + {"2409:8020:41::/43", "56046"}, + {"2a01:8640:7::/48", "61046"}, + {"2001:559:718::/48", "33657"}, + {"2401:d800:9230::/41", "7552"}, + {"2604:d600:1119::/45", "32098"}, + {"2620:18c::/40", "396507"}, + {"2a0a:d6c0:194::/48", "211447"}, + {"2001:16a0:6001::/31", "39386"}, + {"240e:438:7440::/38", "4134"}, + {"2604:66c0::/32", "6528"}, + {"2804:70f4::/32", "270758"}, + {"2604:cc00:a1::/48", "53292"}, + {"2605:e480::/32", "393398"}, + {"2a03:2480:8033::/48", "200107"}, + {"2a09:1500::/48", "208175"}, + {"2404:b8c0::/32", "55933"}, + {"240a:abcb::/32", "145669"}, + {"2600:40ff:fcfa::/47", "701"}, + {"2620:1d9::/40", "20164"}, + {"2a0c:cb40::/29", "48571"}, + {"2001:448a:3052::/42", "7713"}, + {"2403:300:a17::/42", "714"}, + {"2405:3040::/32", "139370"}, + {"2806:264:5300::/37", "13999"}, + {"2a02:26f7:d348::/48", "36183"}, + {"2001:559:3bf::/48", "33657"}, + {"2001:559:81c4::/47", "7725"}, + {"2804:908:4900::/32", "263047"}, + {"2a01:baa0::/38", "57795"}, + {"2a11:980::/29", "208861"}, + {"2001:df6:780::/48", "141384"}, + {"2402:e380:30e::/48", "138564"}, + {"2600:1407:d801::/34", "20940"}, + {"2606:d380::/32", "7829"}, + {"2804:1dd0::/32", "262332"}, + {"2804:5550::/39", "263067"}, + {"2a01:580::/31", "9136"}, + {"2a02:26f7:e1c8::/48", "36183"}, + {"2a03:5a00:1::/48", "47196"}, + {"2001:678:368::/48", "15935"}, + {"2402:8100:21c8::/45", "55644"}, + {"2404:8d02:3000::/33", "9587"}, + {"240a:a1eb::/32", "143141"}, + {"240e:44d:2000::/42", "140345"}, + {"2602:ffe4:c1f::/42", "21859"}, + {"2804:2968:c000::/34", "264013"}, + {"2a00:1808::/32", "196843"}, + {"2a06:5b40::/29", "59402"}, + {"2001:4e0:1008::/48", "25979"}, + {"2001:559:8065::/48", "33650"}, + {"2001:dc0::/35", "4777"}, + {"2001:1b80::/29", "12912"}, + {"2408:8459:54c0::/38", "17816"}, + {"2600:6c38:10f::/43", "20115"}, + {"2c0f:fdc0::/32", "36930"}, + {"2001:4878:8136::/48", "12222"}, + {"2401:d800:d9c0::/42", "7552"}, + {"240a:a516::/32", "143952"}, + {"2620:12c:f001::/45", "19833"}, + {"2804:1eac::/32", "264443"}, + {"2a02:26f7:f6e2::/47", "20940"}, + {"2a04:ff00:b00b::/48", "200299"}, + {"240e:874::/40", "140638"}, + {"2804:1878:192::/45", "61935"}, + {"2a04:7800::/29", "200697"}, + {"2a0f:607:1500::/48", "210932"}, + {"2001:da8:7021::/44", "24363"}, + {"2804:8180::/32", "272458"}, + {"2001:559:8692::/48", "7922"}, + {"2607:7c00::/32", "21898"}, + {"2607:f990::/32", "16866"}, + {"2804:7af8::/32", "271403"}, + {"2a0e:eac0:2100::/44", "204582"}, + {"2001:44b8:30c9::/46", "7545"}, + {"240a:aa22::/32", "145244"}, + {"2607:fc30:300::/32", "19740"}, + {"2801:15:7000::/48", "269867"}, + {"2803:fbe0:800::/38", "270092"}, + {"2a0e:d602::/32", "50113"}, + {"2001:559:515::/48", "7016"}, + {"2001:559:c526::/44", "7922"}, + {"2400:a300::/32", "18278"}, + {"2402:840:e000::/48", "63646"}, + {"2604:880:4c::/48", "29802"}, + {"2604:a240::/32", "53449"}, + {"2803:2a80:2::/48", "262928"}, + {"2a0e:3040::/32", "49696"}, + {"2001:559:8639::/45", "7015"}, + {"240a:a17b::/32", "143029"}, + {"240a:a30d::/32", "143431"}, + {"2604:d600:154f::/43", "32098"}, + {"2607:f308::/32", "6405"}, + {"2a0b:3080::/43", "206516"}, + {"2001:559:189::/46", "33659"}, + {"2402:800:b340::/42", "7552"}, + {"2405:30c0::/32", "45687"}, + {"2001:1248:5abc::/47", "11172"}, + {"2401:b780:5001::/48", "45410"}, + {"240a:a6cd::/32", "144391"}, + {"2620:171:4a::/45", "715"}, + {"2a02:26f7:f6dd::/46", "20940"}, + {"2c0f:f140::/33", "327700"}, + {"2c0f:f8e8::/32", "37282"}, + {"2001:1618::/32", "15702"}, + {"2400:cb00:a140::/45", "13335"}, + {"2401:3200::/32", "10019"}, + {"2620:20:4000::/48", "32019"}, + {"2803:5440:face::/48", "264738"}, + {"2408:84f3:4840::/38", "17816"}, + {"240e:44d:f80::/41", "4134"}, + {"2001:44b8:3d::/46", "4739"}, + {"2804:5060::/32", "268385"}, + {"2804:784c:8000::/33", "271233"}, + {"2a01:330::/32", "15517"}, + {"2001:559:805c::/48", "33657"}, + {"2a02:560::/32", "13045"}, + {"2806:20d:1a00::/39", "32098"}, + {"2a02:26f7:d4c4::/48", "36183"}, + {"2001:6d0:ffd9::/48", "3316"}, + {"2404:c140:210::/44", "149030"}, + {"2804:2050::/35", "264485"}, + {"2001:908::/30", "8326"}, + {"2001:16e8::/47", "25542"}, + {"2602:807:6005::/48", "399652"}, + {"2804:998:11::/40", "28589"}, + {"2001:559:8269::/48", "33651"}, + {"2400:cb00:470::/46", "13335"}, + {"2602:feda:e36::/48", "147028"}, + {"2607:d00::/32", "14325"}, + {"2804:310:c000::/34", "262688"}, + {"2804:266c::/32", "12989"}, + {"2a00:1c10:40::/44", "50300"}, + {"2a02:26f7:de40::/48", "36183"}, + {"2400:adc7:2000::/39", "9541"}, + {"240a:aa3f::/32", "145273"}, + {"2602:fce1::/48", "395886"}, + {"2804:8068::/32", "271748"}, + {"240e:3b1:1200::/39", "4134"}, + {"2800:160:15aa::/43", "14259"}, + {"2a06:2240::/29", "31726"}, + {"2001:5e0:23::/48", "395394"}, + {"240a:a8b8::/32", "144882"}, + {"2806:230:201d::/48", "11888"}, + {"2001:550:1c01::/39", "174"}, + {"2001:d80::/32", "2687"}, + {"2402:e280:222a::/45", "134674"}, + {"2607:6b80:67::/48", "46562"}, + {"2602:fb9d::/44", "400554"}, + {"2607:a300::/32", "36222"}, + {"2a03:900::/32", "20574"}, + {"2a07:e00:bb::/45", "210083"}, + {"2001:650::/32", "28748"}, + {"240e:983:1603::/40", "4134"}, + {"2600:1005:d170::/34", "22394"}, + {"2800:440:1600::/42", "27738"}, + {"2804:3afc::/32", "266123"}, + {"2a0f:b507::/32", "206313"}, + {"2407:7200::/47", "10098"}, + {"2408:8957:200::/40", "17622"}, + {"240a:abb9::/32", "145651"}, + {"2a00:1288:efc2::/47", "10310"}, + {"2a03:e40::/41", "202042"}, + {"2001:b030:9400::/34", "3462"}, + {"2402:800:7632::/40", "7552"}, + {"2804:4618:2200::/35", "266968"}, + {"2402:800:5155::/42", "7552"}, + {"2804:7b94::/34", "271441"}, + {"2a03:2880:f251::/45", "32934"}, + {"2001:678:bd8::/48", "51895"}, + {"2001:ce0:2901::/32", "3662"}, + {"2400:5740::/32", "23953"}, + {"2804:4bc:4001::/35", "262462"}, + {"2804:243c::/32", "264210"}, + {"2a01:afa0::/32", "47715"}, + {"240a:a8ed::/32", "144935"}, + {"240e:965:9400::/38", "133776"}, + {"2605:a401:8188::/42", "33363"}, + {"2a00:1338::/32", "8878"}, + {"2a00:1390::/32", "34139"}, + {"2a01:4020::/46", "25369"}, + {"2a02:26f7:ba41::/46", "20940"}, + {"2a02:26f7:ec0d::/46", "20940"}, + {"2001:559:c0e3::/48", "33287"}, + {"2001:4d40:8407::/44", "13237"}, + {"2402:800:bb00::/42", "7552"}, + {"2404:bf40:c301::/40", "139084"}, + {"2409:8c85:aa18::/48", "134810"}, + {"2620:30:4000::/48", "1226"}, + {"2804:f58::/32", "28343"}, + {"2804:27f8::/32", "263932"}, + {"2806:2f0:3303::/42", "17072"}, + {"2a02:26f7:bd10::/48", "36183"}, + {"2a03:f300::/29", "47834"}, + {"2001:559:8556::/47", "7015"}, + {"2402:800:9755::/42", "7552"}, + {"2405:2500:25::/46", "136565"}, + {"2806:2f0:99e3::/38", "17072"}, + {"2001:559:8444::/48", "33657"}, + {"240e:44d:4540::/42", "140359"}, + {"2806:230:1308::/37", "265594"}, + {"2a03:e140:34::/48", "43465"}, + {"2001:559:36::/48", "7922"}, + {"2605:4680::/32", "54665"}, + {"2607:5180::/33", "54501"}, + {"2803:a0a0::/40", "266790"}, + {"2804:14d:8400::/40", "28573"}, + {"2804:5640::/35", "267986"}, + {"2a02:d0c0::/31", "39150"}, + {"2001:1250:1000::/44", "22894"}, + {"2400:89c0:6000::/48", "23724"}, + {"2409:8054:55::/44", "56040"}, + {"2600:1406:34::/48", "20940"}, + {"2604:8540:fcc2::/48", "33353"}, + {"2001:5b0:1f00::/40", "6621"}, + {"2403:1480:9000::/36", "49544"}, + {"2408:8957:7200::/40", "17622"}, + {"2a07:8000::/29", "199575"}, + {"2a09:6380::/32", "51269"}, + {"2a0e:3940:d000::/36", "60767"}, + {"2a0e:b107:17f0::/44", "142553"}, + {"2a0f:9e00::/29", "60781"}, + {"2001:67c:910::/48", "209693"}, + {"2405:8f00:edca::/48", "15133"}, + {"240e:3b3:3e00::/33", "140308"}, + {"2600:6c20:118::/47", "20115"}, + {"2001:df0:295::/46", "58516"}, + {"2402:ef30::/30", "7633"}, + {"2804:20fc:601::/46", "264525"}, + {"2a03:b000:400::/40", "42695"}, + {"2a07:4300:972::/48", "209622"}, + {"2a0d:82c7:c::/47", "47787"}, + {"2001:559:8700::/48", "7015"}, + {"2402:8100:26d0::/47", "45271"}, + {"240a:abd9::/32", "145683"}, + {"2404:9540::/48", "24242"}, + {"2409:8054:31::/46", "56040"}, + {"2800:160:144a::/47", "14259"}, + {"2806:2f0:20c2::/48", "17072"}, + {"2a04:4e40:f440::/44", "54113"}, + {"2001:df4:6280::/48", "45553"}, + {"2409:8915:3000::/39", "56044"}, + {"2802:0:1c::/42", "18747"}, + {"2001:df2:ff00::/48", "58537"}, + {"2404:7180:f000::/48", "23848"}, + {"240a:a824::/32", "144734"}, + {"2800:160:1cb2::/44", "14259"}, + {"2803:f0c0::/32", "264773"}, + {"2a02:9b0:28::/33", "35819"}, + {"2a02:26f0:5d::/42", "20940"}, + {"2a0a:e5c0:14::/48", "207996"}, + {"2001:678:8d4::/48", "1205"}, + {"2402:800:7240::/42", "7552"}, + {"2404:2380::/32", "135025"}, + {"2607:ff28:a::/33", "62904"}, + {"2a03:4c40::/32", "197964"}, + {"2001:44b8:3c::/48", "7545"}, + {"2404:f340:8000::/33", "15169"}, + {"2604:7a80:1000::/36", "26548"}, + {"2803:ed40::/32", "264676"}, + {"2804:18:7030::/44", "10429"}, + {"2a00:6780::/29", "57809"}, + {"2a03:2960::/39", "201590"}, + {"2408:8957:c500::/40", "17816"}, + {"240e:183:8103::/40", "4134"}, + {"2602:80e:c002::/45", "198622"}, + {"2606:4700:12::/42", "13335"}, + {"2804:1784:fe03::/43", "263152"}, + {"2001:559:8531::/48", "33491"}, + {"2001:559:c453::/45", "33657"}, + {"2001:678:c64::/48", "207341"}, + {"2001:2000::/48", "3301"}, + {"2405:4802:3190::/42", "18403"}, + {"2600:6c21:60a::/36", "20115"}, + {"2804:48f8::/32", "267156"}, + {"240a:a2c0::/32", "143354"}, + {"2804:2cac:ddde::/34", "265234"}, + {"2804:511c::/32", "268431"}, + {"2001:579:6288::/45", "22773"}, + {"2001:67c:2c70::/48", "9201"}, + {"2001:df0:45d::/48", "132556"}, + {"2001:1b98::/32", "51184"}, + {"2620:13a:c021::/40", "53356"}, + {"2803:2fe0::/32", "271781"}, + {"2a02:2892:32::/48", "51185"}, + {"2a04:1b40::/29", "20861"}, + {"2a05:3400::/29", "200675"}, + {"2a0f:95c0:4000::/34", "208662"}, + {"2001:4478:1313::/40", "4802"}, + {"2403:bf40::/47", "131386"}, + {"2405:10c0::/48", "135905"}, + {"2600:6c38:41c::/41", "20115"}, + {"2804:13dc:ffb0::/41", "262428"}, + {"2a0c:5540:16::/39", "204020"}, + {"240e:438:5a20::/43", "140647"}, + {"2a02:26f7:f4c4::/48", "36183"}, + {"2a05:8880:4::/48", "203589"}, + {"2a06:fd00::/32", "5488"}, + {"2600:c04:1022::/48", "10480"}, + {"2a02:26f7:43::/48", "20940"}, + {"2a02:26f7:cd08::/48", "36183"}, + {"2a10:b4c0::/29", "59852"}, + {"2001:67c:96c::/48", "16095"}, + {"2602:809:9004::/48", "399201"}, + {"2603:c011:a000::/36", "31898"}, + {"2620:13c:1000::/40", "397085"}, + {"2801:bc::/35", "28601"}, + {"2a02:f59::/32", "49409"}, + {"2a07:23c0::/48", "13213"}, + {"2001:559:198::/48", "33652"}, + {"2001:678:47c::/48", "42214"}, + {"2606:8d40::/32", "400209"}, + {"2a02:298::/32", "6908"}, + {"2a0f:7d00::/29", "60781"}, + {"2a12:4940:e710::/35", "211398"}, + {"2001:1248:59b0::/46", "11172"}, + {"240a:a60a::/32", "144196"}, + {"240a:aef7::/32", "146481"}, + {"240e:30d:4a00::/35", "137688"}, + {"2a02:cc40::/29", "2116"}, + {"2401:d800:da20::/41", "7552"}, + {"240e:983:2::/45", "23724"}, + {"2600:2000:3010::/47", "15135"}, + {"2600:6c38:339::/45", "20115"}, + {"2806:230:102d::/48", "11888"}, + {"2a04:2f80::/32", "61157"}, + {"2a07:a342:7000::/36", "56655"}, + {"2001:1388:2f0a::/45", "6147"}, + {"2404:b300:31::/46", "59318"}, + {"240a:a214::/32", "143182"}, + {"2602:fcc6::/36", "394737"}, + {"2804:5418::/32", "268628"}, + {"2a09:bac0:275::/48", "13335"}, + {"2001:559:c201::/48", "7922"}, + {"2409:8020:10a1::/43", "56046"}, + {"2804:45ec::/32", "266955"}, + {"2a05:e40:2400::/29", "59909"}, + {"2001:559:1f4::/48", "33659"}, + {"2a02:26f7:c388::/46", "36183"}, + {"2a04:4e42::/45", "54113"}, + {"2a06:e040:7604::/32", "198507"}, + {"2a0f:e840::/32", "7018"}, + {"2001:da8:a000::/48", "55826"}, + {"2402:5100::/45", "9902"}, + {"2405:7c00:b000::/33", "24028"}, + {"240a:adce::/32", "146184"}, + {"2602:fcd5:10::/47", "399122"}, + {"2804:2bf8::/32", "265185"}, + {"2a02:ff0:600::/40", "12735"}, + {"2408:8956:a600::/40", "17622"}, + {"240e:640:e00::/40", "136197"}, + {"2800:200:e291::/42", "12252"}, + {"2a0a:7d80:9::/48", "35594"}, + {"240a:a90b::/32", "144965"}, + {"2a02:26f7:f045::/46", "20940"}, + {"2001:67c:2994::/48", "62452"}, + {"2600:100f:b1d0::/44", "6167"}, + {"2804:19f8::/32", "61829"}, + {"2806:2f0:8081::/46", "17072"}, + {"2600:1402:6001::/36", "20940"}, + {"2605:a040::/32", "14077"}, + {"2a02:26f7:e3c8::/48", "36183"}, + {"2001:fd8:128::/41", "4775"}, + {"2400:54a0:1010::/48", "34927"}, + {"2401:4900:1d00::/41", "45609"}, + {"240e:60c:7000::/32", "4134"}, + {"2600:1405:2801::/35", "20940"}, + {"240e:438:9040::/38", "4134"}, + {"240e:44d:4980::/41", "4134"}, + {"2600:1f70:6000::/40", "16509"}, + {"2620:124:b000::/47", "32521"}, + {"2800:160:19da::/45", "14259"}, + {"2a04:4e40:1610::/42", "54113"}, + {"2404:e3c0::/32", "134676"}, + {"2800:6d0::/32", "19889"}, + {"2803:7200::/46", "27696"}, + {"2804:9d4:5106::/34", "262996"}, + {"2806:230:3027::/48", "11888"}, + {"2a00:c660::/32", "60341"}, + {"2a0f:e880::/29", "6898"}, + {"2409:8c28:a3c1::/33", "56041"}, + {"2605:cdc0::/48", "398088"}, + {"2804:3f80::/32", "265897"}, + {"2a07:e02:1200::/40", "210083"}, + {"2804:18:7040::/43", "26599"}, + {"2a00:4180:1000::/36", "56665"}, + {"2001:43f8:610::/48", "37419"}, + {"2405:4240:1::/48", "135370"}, + {"2620:a::/48", "36008"}, + {"2620:57:4002::/48", "62831"}, + {"2a02:7900:ff01::/48", "43044"}, + {"2001:67c:20c8::/48", "42836"}, + {"2607:e400::/34", "7459"}, + {"2a02:7d00::/32", "52130"}, + {"2400:f6::/32", "4766"}, + {"2401:4900:4820::/41", "45609"}, + {"2402:800:5b1d::/42", "7552"}, + {"2402:800:9901::/44", "7552"}, + {"2a06:f787:1::/48", "6905"}, + {"2001:250:602f::/48", "23910"}, + {"2001:df3:e500::/48", "135934"}, + {"2604:d600:634::/44", "32098"}, + {"2803:5440:cace::/48", "264738"}, + {"2409:8948:9300::/40", "24445"}, + {"240a:adf9::/32", "146227"}, + {"2a03:e500::/29", "35297"}, + {"2c0f:fec8:9::/41", "37197"}, + {"2607:f858::/44", "4136"}, + {"2a00:1c18:334::/29", "31463"}, + {"2001:da8:212::/47", "23910"}, + {"2408:8957:bf00::/40", "17816"}, + {"2620:10a:801e::/48", "394354"}, + {"2a02:26f7:f689::/46", "20940"}, + {"2001:1bb0::/32", "8342"}, + {"2604:f980:6100::/40", "19957"}, + {"2a09:0:10::/48", "34854"}, + {"2001:579:926c::/40", "22773"}, + {"2001:16a2:82a0::/43", "39386"}, + {"2405:9600::/32", "20940"}, + {"2600:4407:c036::/34", "6130"}, + {"2804:14c:6593::/42", "28573"}, + {"2a03:f80:61::/48", "9009"}, + {"2001:250:6c3a::/45", "23910"}, + {"2402:ef3f::/48", "9430"}, + {"240a:ad84::/32", "146110"}, + {"240e:13:805::/48", "140857"}, + {"2604:3d80:200::/40", "11030"}, + {"2803:e880:8101::/45", "52468"}, + {"2804:7f24::/47", "271669"}, + {"2806:2f0:23e2::/48", "17072"}, + {"2a00:dd8::/48", "31012"}, + {"2a02:aa8::/29", "30892"}, + {"2a02:e980:a0::/45", "19551"}, + {"2a09:6905::/32", "208861"}, + {"2a09:e940::/32", "34762"}, + {"2a0d:4500::/29", "205119"}, + {"2620:171::/48", "715"}, + {"2a03:4bc0:2300::/48", "30893"}, + {"2a04:d3c0::/29", "61155"}, + {"2408:8456:c940::/40", "17816"}, + {"2602:ffc5:108::/48", "20473"}, + {"2605:3380:42fd::/39", "12025"}, + {"2610:b0:40b1::/44", "3573"}, + {"2804:34e8::/32", "265487"}, + {"2001:44b8:10::/46", "7545"}, + {"2401:d800:2950::/42", "7552"}, + {"2405:201:5e00::/34", "55836"}, + {"2406:6940:60::/32", "141047"}, + {"2804:3594::/32", "28240"}, + {"2804:4d94::/32", "268206"}, + {"2a05:8f80::/31", "201722"}, + {"2401:4900:1973::/45", "45609"}, + {"2605:c8c0::/32", "10546"}, + {"2806:230:3029::/48", "11888"}, + {"2a10:cc40:130::/44", "210659"}, + {"2001:559:c430::/48", "33491"}, + {"2406:c00::/32", "45224"}, + {"2607:1280:1170::/44", "394972"}, + {"2800:160:1d47::/44", "14259"}, + {"2a00:1728:2a::/47", "34224"}, + {"2607:f480:9900::/40", "27435"}, + {"2804:14d:448b::/43", "28573"}, + {"2001:678:d2c::/48", "213318"}, + {"2001:4490:fffc::/46", "9829"}, + {"240e:37f:aa00::/39", "140330"}, + {"2620:0:ed0::/48", "22787"}, + {"2804:328::/32", "262868"}, + {"2804:1ae0::/46", "61696"}, + {"2a00:11c0:76::/48", "42473"}, + {"2a0c:6ac0::/32", "213050"}, + {"2401:fd80:9ff::/48", "138177"}, + {"2409:8055:41::/46", "56040"}, + {"2a00:4802:1810::/39", "8717"}, + {"2001:559:8760::/47", "7016"}, + {"2001:559:c11f::/48", "33489"}, + {"2001:559:c20d::/48", "33651"}, + {"2600:1fa0:10c0::/44", "16509"}, + {"2a02:26f7:f840::/48", "36183"}, + {"2a0e:ff40::/29", "207902"}, + {"2001:559:8632::/47", "33651"}, + {"2001:b08:e::/48", "9111"}, + {"2402:1b80:2000::/35", "63956"}, + {"2620:57::/48", "2640"}, + {"2801:1f:2000::/48", "263831"}, + {"2a00:1a60::/32", "15826"}, + {"2a0b:2d40:eeef::/35", "209135"}, + {"240e:3ba:2c00::/35", "134774"}, + {"2600:1406:c801::/37", "20940"}, + {"2804:35f0:5000::/32", "266316"}, + {"2a01:cd00:80f0::/48", "28708"}, + {"2a0e:b107:1910::/47", "211139"}, + {"2001:559:857c::/48", "33659"}, + {"2605:a401:884a::/40", "33363"}, + {"2804:be8::/32", "52841"}, + {"2804:1168:1001::/36", "52904"}, + {"2804:64a8::/32", "269438"}, + {"2a0d:9340::/47", "35761"}, + {"2a0e:b704:4::/48", "210960"}, + {"2001:df0:3840::/48", "149306"}, + {"2804:85e4::/32", "272607"}, + {"2a02:26f7:e98c::/48", "36183"}, + {"2a02:cbf7:101::/32", "61157"}, + {"2402:9e80:58::/48", "139677"}, + {"2403:9800::/47", "4648"}, + {"2607:f110:e410::/42", "21889"}, + {"2801:1c8:300::/48", "14080"}, + {"2a07:3500:19b0::/48", "38915"}, + {"2001:67c:2e5c::/48", "39299"}, + {"2407:c080:1800::/37", "58519"}, + {"2409:8a55:7800::/39", "56040"}, + {"2803:6a0::/32", "266884"}, + {"2001:559:84b4::/48", "33491"}, + {"2407:9d00::/32", "45179"}, + {"2a02:26f7:b845::/46", "20940"}, + {"2a03:2b20:ff::/48", "202077"}, + {"2a10:6747::/44", "210777"}, + {"2001:559:c3f1::/48", "33659"}, + {"2001:44b8:39::/48", "4739"}, + {"240a:a227::/32", "143201"}, + {"2804:314:4011::/45", "61568"}, + {"2001:559:233::/48", "33666"}, + {"2406:f0c0:111::/48", "138654"}, + {"2604:7e00:32::/41", "17378"}, + {"2800:160:1315::/46", "14259"}, + {"2800:310:400::/45", "18678"}, + {"2804:1b10::/32", "61706"}, + {"2a02:26f7:f184::/48", "36183"}, + {"2402:800:3801::/44", "7552"}, + {"2a01:5940::/35", "31034"}, + {"2001:559:82fa::/48", "7015"}, + {"2401:df00::/31", "17916"}, + {"2605:6c80:7::/44", "397373"}, + {"2a02:71a0::/32", "60003"}, + {"2a0c:6380::/29", "24971"}, + {"2001:67c:1b6c::/48", "8767"}, + {"2803:4c60:8::/32", "267845"}, + {"2806:2f0:90a2::/45", "17072"}, + {"2401:4900:38c0::/44", "45609"}, + {"2403:e200:14::/44", "45543"}, + {"2404:3d00:4106::/44", "21433"}, + {"2405:d200::/32", "2907"}, + {"2804:54e0::/32", "268675"}, + {"2a01:9b40::/32", "59554"}, + {"2001:250:5820::/46", "138371"}, + {"2001:df3:7600::/48", "132060"}, + {"2001:1978:803::/48", "54002"}, + {"2800:160:1e93::/45", "14259"}, + {"2804:178c::/32", "263154"}, + {"2804:2e98::/32", "265354"}, + {"2a02:26f0:36::/48", "34164"}, + {"2a0e:97c0:390::/44", "211437"}, + {"2a0f:e6c1::/32", "60781"}, + {"2607:f038:2:1::/44", "21527"}, + {"2406:4a00:1100::/48", "56038"}, + {"240a:a2a2::/32", "143324"}, + {"240e:3bc:1800::/34", "4134"}, + {"2804:3844::/32", "266457"}, + {"2001:df1:bf00::/48", "136773"}, + {"2401:3cc0:201::/37", "137409"}, + {"2600:1480:580e::/37", "20940"}, + {"2607:e300::/32", "40948"}, + {"2607:f1c0:100::/32", "8560"}, + {"2607:fb90:9200::/34", "21928"}, + {"2a0d:d1c0::/32", "209582"}, + {"2001:16a2:c000::/40", "39891"}, + {"240a:adf6::/32", "146224"}, + {"2801:80:810::/48", "263662"}, + {"2804:68d0::/32", "269718"}, + {"2a02:26f0:7d01::/40", "20940"}, + {"2001:559:57e::/48", "33650"}, + {"2001:db0:2800::/35", "17766"}, + {"2405:1e00:ff01::/40", "17771"}, + {"240e:bc0::/21", "4134"}, + {"2607:6b80:38::/48", "9009"}, + {"2803:e600:bc00::/33", "18809"}, + {"2a01:8840:86::/44", "12041"}, + {"2001:559:3f6::/47", "7922"}, + {"2001:559:833c::/48", "33651"}, + {"2402:7d80:7778::/32", "63582"}, + {"2409:896a:8e00::/39", "9808"}, + {"240a:aec4::/32", "146430"}, + {"240e:967:ca00::/39", "133776"}, + {"2607:a800:773::/48", "15695"}, + {"2a02:2148::/31", "1241"}, + {"2a0b:8100::/44", "51559"}, + {"2402:800:37ee::/43", "7552"}, + {"2600:1407:a801::/37", "20940"}, + {"2804:61d0::/32", "269258"}, + {"2a01:41c0::/32", "199092"}, + {"2600:1419:4201::/37", "20940"}, + {"2804:365c::/32", "266343"}, + {"2a01:aa00::/32", "34144"}, + {"2001:559:813f::/48", "20214"}, + {"2001:16b8::/36", "8881"}, + {"240a:a0fb::/32", "142901"}, + {"2600:6c10:64::/46", "20115"}, + {"2604:5500:c000::/34", "19165"}, + {"2a00:1eb8:4000::/35", "8764"}, + {"2a0f:6780::/29", "20766"}, + {"2408:8306::/28", "4808"}, + {"2602:808:1::/46", "25948"}, + {"2a04:2f81:2::/47", "61157"}, + {"2a09:bac0:83::/45", "13335"}, + {"2402:800:3b1d::/42", "7552"}, + {"240e:979:f00::/40", "138950"}, + {"2604:26c0:500::/40", "36815"}, + {"2608:129:b::/48", "27064"}, + {"2a02:26f7:bec5::/46", "20940"}, + {"2001:559:c170::/48", "13367"}, + {"2001:af0::/32", "13036"}, + {"2001:df6:180::/55", "141731"}, + {"2403:a200:999a::/34", "17428"}, + {"2405:203:89b::/45", "55836"}, + {"240a:a750::/32", "144522"}, + {"2620:16d:3000::/32", "7862"}, + {"2a0c:b1c0::/32", "202090"}, + {"2001:500:6d::/46", "30133"}, + {"2620:171:8::/48", "42"}, + {"2803:f420::/32", "265827"}, + {"2600:1001:b0e0::/43", "22394"}, + {"2804:1838::/32", "61925"}, + {"2a00:4802:4a00::/42", "13124"}, + {"2a05:26c0:d2::/29", "201536"}, + {"2405:55c0::/42", "63991"}, + {"2a0f:4200::/29", "207614"}, + {"2404:3d80:400::/32", "61138"}, + {"2800:160:226e::/47", "14259"}, + {"2804:4bb4:200::/39", "267325"}, + {"2804:5930::/32", "268174"}, + {"2806:20d:1601::/45", "32098"}, + {"2a00:b1e0:f001::/48", "60497"}, + {"2400:a040:a::/48", "137995"}, + {"2404:aac0::/32", "131642"}, + {"2405:3c00::/32", "24437"}, + {"2405:6400:4000::/36", "45121"}, + {"2801:14e:1::/45", "27951"}, + {"2804:74b8::/32", "270999"}, + {"2a02:730:4000::/48", "42371"}, + {"2a02:ee80:4176::/47", "2856"}, + {"2a0e:97c0:252::/44", "211685"}, + {"2001:da8:a800::/46", "24370"}, + {"2001:40a0::/32", "8607"}, + {"240e:3b0:9c00::/34", "140310"}, + {"2604:cc00:c::/47", "53292"}, + {"2605:2c40:100::/48", "7979"}, + {"2001:559:8172::/45", "7922"}, + {"2001:1aeb::/29", "13036"}, + {"2401:e900:1000::/48", "23991"}, + {"2620:0:a16::/48", "71"}, + {"2804:5550:facf::/37", "263067"}, + {"2001:1248:8720::/46", "11172"}, + {"2402:800:b370::/40", "7552"}, + {"2403:3d00::/32", "133720"}, + {"2404:bc0:4300::/44", "137735"}, + {"240e:6b0::/36", "134773"}, + {"2607:f428:9111::/48", "19115"}, + {"2a0f:5707:ab26::/48", "41108"}, + {"2c0f:fe90::/32", "36943"}, + {"2403:4940::/32", "135217"}, + {"2605:3380:42f0::/48", "12025"}, + {"2a00:1ba8::/32", "57653"}, + {"2a00:b4c0::/32", "47764"}, + {"2a02:2430:4::/48", "39869"}, + {"2a02:ac80:21::/43", "25145"}, + {"2001:df7:d80::/48", "138754"}, + {"2001:44b8:4001::/42", "4739"}, + {"2401:4d44::/30", "131925"}, + {"2405:6e00:2490::/41", "18291"}, + {"2804:30b8:ac::/43", "28154"}, + {"2804:3ff4::/32", "265924"}, + {"2a02:ca8::/32", "44981"}, + {"2a0e:2c80::/29", "24940"}, + {"2001:559:c3b0::/48", "33657"}, + {"2409:8e4c::/30", "9808"}, + {"240b:4003:1bf::/48", "45102"}, + {"2603:f3b0::/25", "397165"}, + {"2001:df0:213::/48", "17477"}, + {"2001:13b0:9002::/33", "3549"}, + {"2404:bf40:8140::/48", "2764"}, + {"240a:a152::/32", "142988"}, + {"2804:20d8::/32", "264516"}, + {"2a02:26f7:ec5c::/48", "36183"}, + {"2a0e:97c3:4f9::/48", "20473"}, + {"2a02:26f7:54::/48", "36183"}, + {"2a07:ca80::/29", "34762"}, + {"2a11:d540:530::/44", "207586"}, + {"2620:112:d000::/44", "11297"}, + {"2803:e880::/32", "52468"}, + {"2804:43e8::/32", "267598"}, + {"2806:20d:1d18::/46", "32098"}, + {"2a00:e7a0:4::/47", "204167"}, + {"2001:5e0:24::/32", "16713"}, + {"240a:ae8d::/32", "146375"}, + {"2804:da8::/32", "262605"}, + {"2804:1478::/32", "263332"}, + {"2804:489c::/32", "267133"}, + {"2804:73a0::/32", "270927"}, + {"2a02:28b0::/31", "51790"}, + {"2001:559:8422::/48", "22909"}, + {"2001:559:c45f::/42", "21508"}, + {"2408:8956:e400::/40", "17622"}, + {"2409:8027:2c0a::/32", "9808"}, + {"240e:e9:b800::/33", "23650"}, + {"2600:370f:726e::/40", "32261"}, + {"2607:fda8::/32", "6128"}, + {"2a02:ae0::/32", "8375"}, + {"2a12:7440::/29", "400522"}, + {"2001:559:5d0::/48", "7725"}, + {"2400:5900::/32", "18021"}, + {"2407:f800::/38", "38182"}, + {"240e:3b4:1200::/39", "4134"}, + {"2600:1419:7401::/36", "20940"}, + {"2800:590:206c::/48", "16629"}, + {"2a01:8840:1d::/48", "207266"}, + {"2a0f:5707:aad0::/47", "212591"}, + {"2409:8087:2095::/37", "56046"}, + {"2409:8c62:e20::/39", "9808"}, + {"2602:ff8d:1::/48", "14744"}, + {"2606:2800:5140::/48", "15133"}, + {"2607:fed0::/32", "40076"}, + {"2806:2f0:61e3::/38", "17072"}, + {"2a00:ad07:4000::/32", "41897"}, + {"2001:559:8349::/48", "33490"}, + {"2001:67c:960::/48", "212774"}, + {"2404:2440:f0f0::/48", "138521"}, + {"2a05:c4c0::/29", "48635"}, + {"2a0c:a780::/31", "200748"}, + {"2a10:8f00::/29", "39018"}, + {"240a:aa20::/32", "145242"}, + {"2610:a1:1014::/48", "397226"}, + {"2800:160:1386::/43", "14259"}, + {"2804:5a58::/32", "268767"}, + {"2001:559:864d::/48", "7015"}, + {"2606:ae00:bd31::/41", "7287"}, + {"2a03:4260::/29", "201476"}, + {"2409:8028:3800::/40", "56041"}, + {"2803:88e0::/32", "269868"}, + {"2806:2f0:10a0::/48", "22884"}, + {"2001:428:1004::/34", "209"}, + {"2001:67c:1b60::/48", "13040"}, + {"2402:9e80:24::/48", "137219"}, + {"2408:8459:2e50::/35", "17816"}, + {"240e:3b1:2800::/38", "4134"}, + {"2804:404c:67::/35", "265950"}, + {"2804:5b8c::/32", "268854"}, + {"2a03:4b27:e000::/36", "200491"}, + {"2a05:e1c0::/29", "50673"}, + {"2405:1c0:6511::/45", "55303"}, + {"2409:8089::/35", "9808"}, + {"2804:3ab4::/33", "266104"}, + {"2804:5eb0:2000::/32", "269050"}, + {"2a02:26f7:101::/45", "20940"}, + {"2a03:5343::/43", "28723"}, + {"2a04:9a02:1000::/36", "42894"}, + {"2001:559:7f9::/48", "33491"}, + {"2001:678:1c8::/48", "47543"}, + {"2001:67c:61c::/48", "200943"}, + {"2602:fc8e::/40", "399522"}, + {"2800:160:2048::/46", "14259"}, + {"2803:8600::/32", "27759"}, + {"2a02:7f84::/30", "56510"}, + {"2a04:3e00::/47", "56910"}, + {"2001:559:c2b4::/48", "7922"}, + {"2405:9800:9804::/47", "45430"}, + {"2406:4440:f20::/40", "38008"}, + {"2408:8256:3b89::/48", "17816"}, + {"240c:4082::/28", "38365"}, + {"240e:44d:1380::/41", "4134"}, + {"2607:fb10:17::/42", "2906"}, + {"2804:3f10:8201::/33", "262566"}, + {"2804:5534:d000::/37", "268696"}, + {"2a00:6901:c005::/48", "20926"}, + {"2a02:26f7:ed::/48", "20940"}, + {"2600:3c00::/29", "63949"}, + {"2804:91c::/32", "52877"}, + {"2a0c:3e00::/29", "49601"}, + {"2001:550:1906::/38", "174"}, + {"2001:559:83e8::/48", "7922"}, + {"2605:e740:300::/40", "174"}, + {"2803:fbe0:300::/46", "270092"}, + {"2605:3b80:11::/48", "9009"}, + {"2806:2e1::/32", "265505"}, + {"2a10:cc47:100::/40", "39282"}, + {"2001:250:7816::/48", "23910"}, + {"2401:4900:5f70::/44", "45609"}, + {"2402:680::/32", "24213"}, + {"2404:4300::/32", "9930"}, + {"2c0f::/32", "328001"}, + {"2605:4500::/32", "46636"}, + {"2804:81d0::/32", "272478"}, + {"2a02:ab8::/32", "48943"}, + {"2a05:3484:272::/48", "20655"}, + {"2001:c20:c847::/48", "9255"}, + {"2a01:750:2::/32", "6702"}, + {"2a02:26f7:be8c::/48", "36183"}, + {"2402:d1c0::/32", "137816"}, + {"240a:a174::/32", "143022"}, + {"240e:45c::/40", "131285"}, + {"2804:4ec:1700::/32", "28668"}, + {"2001:67c:2d7c::/48", "12859"}, + {"240a:a3f5::/32", "143663"}, + {"2804:29c0:c000::/34", "264032"}, + {"2a00:ff0:8888::/48", "12672"}, + {"2a01:288:4004::/48", "42794"}, + {"2a02:26f7:3d::/48", "20940"}, + {"2a03:5fe0::/30", "43191"}, + {"2a0a:9300:aaaa::/48", "207569"}, + {"2c0f:f6d0:c2::/39", "327687"}, + {"2001:5000:b04::/37", "1273"}, + {"2602:fe34::/36", "397095"}, + {"2604:eb40:6::/48", "6233"}, + {"2a0c:cd00::/32", "41913"}, + {"2001:470:11c::/48", "7175"}, + {"2407:1400:8a::/32", "23752"}, + {"2604:d600:132f::/43", "32098"}, + {"2a02:b90::/32", "16082"}, + {"2602:ff7f::/32", "7219"}, + {"2804:1398::/47", "263541"}, + {"2a00:9e00::/32", "25220"}, + {"2001:559:8246::/48", "33491"}, + {"2401:d800:f7e0::/36", "7552"}, + {"2406:e002:5000::/29", "23655"}, + {"2600:1480:8100::/37", "20940"}, + {"2600:3000:1b05::/34", "13649"}, + {"2804:908:a00::/33", "263047"}, + {"2804:35a0::/32", "266297"}, + {"2a0c:4dc0:1::/48", "47945"}, + {"2409:8087:4500::/36", "9808"}, + {"240a:a6ad::/32", "144359"}, + {"240a:afb5::/32", "146671"}, + {"240e:679:c600::/34", "4134"}, + {"2401:d800:5970::/40", "7552"}, + {"2409:806a:81a::/40", "9808"}, + {"2605:f080::/40", "29869"}, + {"2607:f038:aaad::/33", "21527"}, + {"2001:250:507a::/38", "23910"}, + {"240a:a6e9::/32", "144419"}, + {"2600:1417:3::/45", "20940"}, + {"2804:7940::/32", "271294"}, + {"2a04:6c80::/48", "6718"}, + {"2a10:6300::/29", "399975"}, + {"2001:559:c3ab::/48", "7015"}, + {"2404:8000:16::/42", "17451"}, + {"2804:2ae4:4000::/36", "13878"}, + {"2804:371c:8000::/48", "266390"}, + {"2a04:4940::/29", "60278"}, + {"2001:1248:a4d4::/47", "11172"}, + {"240a:a908::/32", "144962"}, + {"2604:af40::/32", "14099"}, + {"2606:6280::/32", "31914"}, + {"2607:f870::/47", "11992"}, + {"2801:1fe::/40", "19429"}, + {"2a02:b50:8003::/34", "48910"}, + {"2001:559:c29a::/48", "7922"}, + {"240e:37d:ac00::/33", "4134"}, + {"2602:ffa5::/40", "20141"}, + {"2804:6118::/32", "269212"}, + {"2a00:4802:3b0::/36", "8717"}, + {"2403:75c0::/32", "136716"}, + {"2600:5c00::/39", "10838"}, + {"2602:fcc3:ab0::/48", "399135"}, + {"2800:440:186::/48", "27738"}, + {"2803:2a80:800::/48", "262928"}, + {"2a0f:9400:7244::/48", "213163"}, + {"2401:d800:7100::/42", "7552"}, + {"2402:800:5a63::/43", "7552"}, + {"2602:fc23:11c::/46", "8095"}, + {"2607:f6f0:7001::/48", "394749"}, + {"2620:60:8000::/44", "22953"}, + {"2620:149:a13::/48", "714"}, + {"2a07:dd00::/32", "39485"}, + {"2401:d800:7500::/42", "7552"}, + {"240a:ac59::/32", "145811"}, + {"240e:3c0::/21", "4134"}, + {"2602:fdd5::/36", "30685"}, + {"2607:f4d0:a00::/32", "17054"}, + {"2620:11d:3000::/44", "7872"}, + {"2804:3608::/32", "266322"}, + {"2a02:2790::/32", "51796"}, + {"2001:559:549::/48", "33651"}, + {"2408:8256:3194::/48", "17816"}, + {"2409:8904:a540::/38", "24547"}, + {"2600:6c20:a1f::/40", "20115"}, + {"2806:342:fa00::/37", "265591"}, + {"2403:1940:1000::/34", "137935"}, + {"240a:ad32::/32", "146028"}, + {"2804:b18:8d00::/38", "52941"}, + {"2804:3ae4::/32", "266116"}, + {"2a01:666:100::/37", "48951"}, + {"2a02:26f7:be::/48", "36183"}, + {"2a02:2e02:1c00::/43", "12479"}, + {"2a0d:1d00::/29", "212974"}, + {"2001:428:3808::/33", "209"}, + {"2a00:1098::/32", "44684"}, + {"2a00:86c0:2008::/47", "40027"}, + {"2a03:7900::/37", "197731"}, + {"2001:44b8:4047::/48", "4739"}, + {"2401:b00:f000::/36", "17564"}, + {"2600:1480:5100::/36", "20940"}, + {"2a00:66a0::/35", "199270"}, + {"2a01:498:8600::/33", "42018"}, + {"2a03:7020:10::/48", "59625"}, + {"2a0c:f840::/29", "28716"}, + {"2c0f:fa18::/32", "36884"}, + {"2402:4e00:d020::/34", "45090"}, + {"240a:a5eb::/32", "144165"}, + {"240a:aed9::/32", "146451"}, + {"240e:982:3000::/39", "137693"}, + {"2602:fc16:1::/48", "203380"}, + {"2607:fc48:c48::/48", "40009"}, + {"2603:c0f0::/39", "6142"}, + {"2606:5b40::/32", "399821"}, + {"2001:67c:454::/48", "62083"}, + {"2001:ab7::/34", "15594"}, + {"2404:138:4005::/43", "38022"}, + {"2404:bf40:8480::/48", "7545"}, + {"240a:aa12::/32", "145228"}, + {"240e:44d:7f00::/41", "140345"}, + {"2600:1419:6001::/38", "20940"}, + {"2606:ae00:64f8::/36", "7287"}, + {"2620:58:4c00::/48", "6122"}, + {"2804:1e00::/32", "52566"}, + {"2a02:38::/35", "6881"}, + {"2001:c20:488b::/45", "9255"}, + {"2405:1c0:6761::/45", "55303"}, + {"240a:a0fc::/32", "142902"}, + {"240a:acb0::/32", "145898"}, + {"2600:9000:1092::/45", "16509"}, + {"2a00:c98::/34", "28753"}, + {"2a02:26f7:c404::/48", "36183"}, + {"2a0a:2c00::/29", "48506"}, + {"2a0b:e43:1::/48", "205809"}, + {"240a:a356::/32", "143504"}, + {"2602:ffc5:168::/47", "211169"}, + {"2804:204:25b::/42", "28186"}, + {"240a:ab85::/32", "145599"}, + {"2600:6c10:f842::/44", "20115"}, + {"2801:80:3500::/47", "268830"}, + {"2804:4310::/32", "267546"}, + {"2a02:ac80:f01::/35", "25145"}, + {"2a03:5180::/43", "3223"}, + {"2a09:9d40::/48", "44364"}, + {"2001:559:c3a9::/48", "7015"}, + {"240e:44d:3f00::/41", "140345"}, + {"2607:f4a0::/37", "11272"}, + {"2a07:6480::/29", "202812"}, + {"2407:8c0::/32", "134858"}, + {"2600:1405:4001::/35", "20940"}, + {"2a0f:1e00:abc::/48", "30633"}, + {"2001:468:501::/48", "104"}, + {"240a:a2da::/32", "143380"}, + {"2a01:a440:2::/48", "51297"}, + {"2001:7f8:e4::/48", "43431"}, + {"240a:af51::/32", "146571"}, + {"2803:9800:7080::/32", "11664"}, + {"2401:c240:5100::/34", "132847"}, + {"2402:a000::/32", "24211"}, + {"2408:8459:7410::/42", "17623"}, + {"240a:a4d7::/32", "143889"}, + {"2607:f498::/32", "10835"}, + {"2800:160:2531::/40", "14259"}, + {"2a0f:9400:8010::/48", "207393"}, + {"2001:528::/32", "46742"}, + {"2001:df0:bd::/48", "147171"}, + {"2001:df6:1800::/48", "131755"}, + {"2001:19f8::/38", "4927"}, + {"2406:ef40:5::/46", "133811"}, + {"2605:9d80:8021::/48", "4134"}, + {"2a01:8640:9::/48", "42708"}, + {"2a0a:6680:bee::/48", "203500"}, + {"2001:559:2cf::/48", "20214"}, + {"2402:800:96c5::/42", "7552"}, + {"2408:84f3:4240::/37", "17816"}, + {"2a01:64e0::/32", "212144"}, + {"2a04:3f83:4a::/29", "9120"}, + {"2001:559:c1a4::/48", "33287"}, + {"2001:df2:f100::/48", "136862"}, + {"2001:1248:a411::/44", "11172"}, + {"2401:9100::/32", "45918"}, + {"2402:e280:220b::/45", "134674"}, + {"2620:104:a000::/44", "26008"}, + {"2804:28a0::/32", "263971"}, + {"2001:ac8:53::/42", "9009"}, + {"2001:da8:226::/44", "23910"}, + {"2804:533c::/32", "268571"}, + {"2a02:ff0:1200::/40", "12735"}, + {"2a0b:2300::/32", "30962"}, + {"2c0f:5400:1::/48", "328799"}, + {"2001:fd8:168::/40", "4775"}, + {"2402:800:58e0::/44", "7552"}, + {"2a06:9a40:1::/48", "8948"}, + {"2a07:9947::/32", "58305"}, + {"2a10:e7c0::/29", "211423"}, + {"2408:872b:400::/46", "139007"}, + {"2600:1014:f100::/44", "6167"}, + {"2606:340::/32", "398913"}, + {"2804:2c10::/32", "265192"}, + {"2a02:26f7:ddc4::/48", "36183"}, + {"2a07:aa00:2::/48", "3356"}, + {"2602:feda:f010::/44", "147048"}, + {"2606:65c0:20::/48", "399804"}, + {"2a02:26f7:d4ca::/47", "20940"}, + {"2001:559:83ae::/48", "7015"}, + {"2404:f880::/32", "135386"}, + {"2800:bf0:3600::/48", "52257"}, + {"2804:3cb0::/32", "266229"}, + {"2804:6200::/32", "269270"}, + {"2a0f:ea40::/32", "41108"}, + {"2605:a401:8b8e::/42", "33363"}, + {"2a02:26f7:c081::/46", "20940"}, + {"2a07:7f40::/29", "39500"}, + {"2a0c:b641:2da::/48", "209449"}, + {"2001:12f0:a40::/39", "1916"}, + {"240e:90d:f000::/37", "137688"}, + {"2a02:2b60:103::/38", "42947"}, + {"2001:df0:2ca::/48", "17944"}, + {"240a:a863::/32", "144797"}, + {"2804:5964::/32", "268187"}, + {"2806:370:54c0::/43", "28403"}, + {"2a02:2ab0:502::/48", "33442"}, + {"240a:a5f6::/32", "144176"}, + {"240a:af44::/32", "146558"}, + {"2607:7c80:55::/48", "7034"}, + {"2001:559:864e::/48", "33651"}, + {"2602:fc0d::/36", "400181"}, + {"2804:1dfc::/32", "262765"}, + {"2a0b:5740::/29", "205671"}, + {"2402:79c0:100::/44", "7342"}, + {"2a01:ac80::/32", "15958"}, + {"2600:d0d:4000::/30", "20161"}, + {"2804:2e1c::/32", "265324"}, + {"2001:678:558::/48", "50472"}, + {"2401:d800:70c2::/42", "7552"}, + {"2401:d800:98c0::/42", "7552"}, + {"2804:5e48::/33", "269023"}, + {"2a02:e30:f030::/48", "199410"}, + {"2a06:8143:9d9d::/48", "199364"}, + {"2001:d30:4::/32", "4717"}, + {"2a02:1200::/27", "3303"}, + {"2600:1fa0:c0c0::/44", "16509"}, + {"2801:1b:e800::/48", "271940"}, + {"2804:14c:3ba5::/46", "28573"}, + {"2a06:e881:102::/48", "202959"}, + {"2001:1250:bc00::/44", "22894"}, + {"240a:a243::/32", "143229"}, + {"2602:800:900e::/48", "40528"}, + {"2800:550:2a::/48", "20940"}, + {"2603:c0e2::/35", "54253"}, + {"2409:8914:8600::/39", "56044"}, + {"2600:6c39:505::/44", "20115"}, + {"2600:9000:11ba::/47", "16509"}, + {"2603:f170::/24", "397165"}, + {"2a0e:fe80::/48", "47447"}, + {"240a:ade9::/32", "146211"}, + {"2600:380:9600::/39", "7018"}, + {"2602:107:2310::/48", "20115"}, + {"2801:14:4800::/48", "19429"}, + {"2001:df2:6880::/48", "139892"}, + {"240a:a569::/32", "144035"}, + {"2607:fc48:c08::/48", "40009"}, + {"2620:138:3010::/48", "23344"}, + {"2804:1a04::/45", "61832"}, + {"2806:230:600b::/48", "11888"}, + {"2a05:8380::/29", "43645"}, + {"2a12:8d00::/29", "57695"}, + {"2001:5f8:7f07::/44", "5056"}, + {"2a02:26f7:dd44::/48", "36183"}, + {"2a0d:e380::/47", "204460"}, + {"2001:67c:1c::/48", "41884"}, + {"2401:d800:9ad0::/42", "7552"}, + {"2407:1500:20::/48", "58752"}, + {"2409:803c:3100::/37", "9808"}, + {"2800:440:3::/44", "27738"}, + {"2a00:bc40::/32", "198731"}, + {"2a09:3a00:3000::/40", "49981"}, + {"2a0c:a500::/41", "209385"}, + {"2001:678:8a0::/48", "6453"}, + {"2409:8000:1900::/37", "9808"}, + {"2600:1406:bc01::/33", "20940"}, + {"2804:12f8::/32", "263507"}, + {"2a00:1248::/33", "3216"}, + {"2001:559:832a::/48", "33657"}, + {"2607:ce80::/32", "23523"}, + {"2800:bf0:810a::/43", "27947"}, + {"2a05:a880:de10::/48", "20765"}, + {"2001:da8:c80f::/37", "23910"}, + {"2400:e440:400::/41", "42382"}, + {"2403:6d00:cd::/46", "56094"}, + {"2a0b:3dc0::/32", "43359"}, + {"2a0e:b107:1980::/48", "138517"}, + {"2001:4888:a609::/45", "6167"}, + {"2602:ff84:10::/46", "36351"}, + {"2605:bb00:b000::/36", "4213"}, + {"2606:ae00:61c0::/38", "7287"}, + {"2804:3ff0::/32", "265923"}, + {"2a02:730:2000::/48", "33947"}, + {"2a09:5a00::/29", "204760"}, + {"2a11:9a00::/29", "204790"}, + {"2001:559:85ce::/48", "7922"}, + {"2409:8c30:1310::/29", "9808"}, + {"2606:7100:3010::/40", "21581"}, + {"2607:3a80:26::/32", "395100"}, + {"2804:2724::/39", "263879"}, + {"2a12:a5c0::/29", "400522"}, + {"2001:dd8:14::/47", "30133"}, + {"2001:1248:5f78::/40", "11172"}, + {"2409:8904:d240::/42", "24547"}, + {"2604:d600:1214::/47", "32098"}, + {"2620:11c:a000::/47", "26021"}, + {"2600:3402:1100::/37", "4181"}, + {"2a00:1560:17::/44", "29684"}, + {"2a06:5040:5::/48", "4785"}, + {"2404:f4c0:f50f::/48", "134666"}, + {"2408:8956:c000::/40", "17622"}, + {"2803:5c80:6595::/48", "64114"}, + {"2a02:26f7:c248::/48", "36183"}, + {"2001:559:5e7::/48", "33650"}, + {"2400:adda:2000::/31", "9541"}, + {"2604:d600:22::/43", "32098"}, + {"2607:f790:fff7::/44", "12129"}, + {"2001:44b8:4036::/44", "4739"}, + {"2001:4868:905::/48", "7046"}, + {"2400:fc00:4060::/40", "45773"}, + {"2408:877e::/32", "133119"}, + {"2803:8500::/32", "27987"}, + {"2804:12bc::/32", "263495"}, + {"2001:268:852::/32", "2516"}, + {"2001:ac8:80::/45", "9009"}, + {"2400:9800:6026::/47", "139994"}, + {"2402:d400:6::/44", "17762"}, + {"2409:8924:8100::/38", "56046"}, + {"240e:109:8025::/48", "134756"}, + {"2804:5504::/32", "268684"}, + {"2401:8500::/32", "55350"}, + {"2600:1408:9001::/38", "20940"}, + {"2602:ff39::/40", "63318"}, + {"2801:80:720::/48", "263559"}, + {"2603:6037::/32", "11955"}, + {"2607:fef8:ffe4::/48", "18598"}, + {"2a02:ca0::/32", "8587"}, + {"2a02:24e8::/29", "21040"}, + {"2a02:26f7:c4::/48", "36183"}, + {"2001:ee0:c940::/38", "45899"}, + {"2402:800:3101::/44", "7552"}, + {"2408:8256:379b::/48", "17816"}, + {"2c0f:6400::/32", "37088"}, + {"2001:428:c0d::/35", "209"}, + {"2404:bf00::/40", "9303"}, + {"2607:8880::/32", "31798"}, + {"2a09:407:d000::/36", "208861"}, + {"2a0c:ed80::/29", "34191"}, + {"2804:2ea8::/32", "262642"}, + {"2001:250:340e::/47", "138438"}, + {"2001:559:277::/48", "7016"}, + {"2600:1409:4::/46", "35994"}, + {"2408:842a::/29", "4837"}, + {"240a:aace::/32", "145416"}, + {"2600:40f0:110::/42", "701"}, + {"2a02:fae0::/29", "58193"}, + {"2408:8256:3d9b::/48", "17816"}, + {"240e:438:840::/38", "4134"}, + {"2605:b340::/32", "16713"}, + {"2a10:1680::/32", "47935"}, + {"2001:250:6008::/48", "23910"}, + {"2001:678:ce8::/48", "60557"}, + {"2405:1c0:6831::/45", "55303"}, + {"2804:14c:a900::/40", "28573"}, + {"2a00:4800:f0::/39", "8717"}, + {"2a07:8dc0::/31", "35661"}, + {"2406:3001:20:7::/60", "4657"}, + {"2408:8206:84c0::/39", "4808"}, + {"2620:137:e000::/44", "53758"}, + {"2804:18:18f8::/37", "26599"}, + {"2a02:26f7:d800::/48", "36183"}, + {"2001:468:100::/40", "11317"}, + {"240a:a352::/32", "143500"}, + {"2806:230:4029::/48", "11888"}, + {"2a02:26f0:10d::/46", "20940"}, + {"240e:105:f000::/37", "4134"}, + {"2a02:26f0:eb::/45", "20940"}, + {"2a02:2e02:8680::/42", "12479"}, + {"2a0e:b107:f50::/44", "212270"}, + {"2a0f:8040::/29", "6735"}, + {"2001:559:7c0::/48", "33650"}, + {"240a:a540::/32", "143994"}, + {"2800:bf0:82c0::/48", "52257"}, + {"2804:7110:4100::/35", "270764"}, + {"2806:21b:2::/32", "19332"}, + {"2600:9000:10cb::/48", "16509"}, + {"2804:e30:b800::/37", "11338"}, + {"2a11:7a80::/29", "204790"}, + {"2001:16a2:38::/47", "39386"}, + {"2400:7400:66::/44", "38044"}, + {"2602:105::/32", "33588"}, + {"2604:3d00:dc00::/34", "6327"}, + {"2804:1e50::/32", "264421"}, + {"2a05:687:1::/32", "201597"}, + {"240a:a1d6::/32", "143120"}, + {"240e:108:1183::/45", "133775"}, + {"2a02:aa00::/27", "6830"}, + {"2001:559:7c8::/48", "33666"}, + {"2605:5880::/48", "26167"}, + {"2401:d800:d8d0::/42", "7552"}, + {"2a02:26f7:cc49::/42", "20940"}, + {"2a0d:5042::/29", "8315"}, + {"2001:400:a000:8::/61", "293"}, + {"2001:559:584::/48", "33652"}, + {"2409:8c51::/30", "56047"}, + {"2804:4518::/32", "267672"}, + {"240a:a730::/32", "144490"}, + {"2a06:1e00:18::/48", "60695"}, + {"2405:1c0:6211::/45", "55303"}, + {"2408:8256:2e86::/48", "17816"}, + {"2a01:5140::/32", "30830"}, + {"2001:559:c403::/45", "7922"}, + {"2001:980::/29", "3265"}, + {"2400:adc7::/39", "9541"}, + {"2a00:7147:22::/48", "51430"}, + {"2a09:99c0::/48", "212886"}, + {"2001:559:858c::/48", "33650"}, + {"2001:6d0:4004::/48", "60915"}, + {"240a:a7e9::/32", "144675"}, + {"2600:5800::/35", "11426"}, + {"2801:80:1200::/48", "264313"}, + {"2a00:1028::/29", "5610"}, + {"2a02:22a0::/32", "28685"}, + {"2001:628::/37", "1853"}, + {"2001:1248:993f::/41", "11172"}, + {"240a:ab90::/32", "145610"}, + {"2602:ff84:1::/48", "36351"}, + {"2a02:d107:f008::/36", "197155"}, + {"2602:ffe4:c29::/46", "55836"}, + {"2605:9780:20::/47", "36180"}, + {"2804:5020::/32", "268371"}, + {"240e:44d:3540::/42", "140353"}, + {"2600:1406:1c::/42", "20940"}, + {"2a0e:8400::/29", "63023"}, + {"2001:559:285::/48", "33287"}, + {"2001:1520:102::/40", "34011"}, + {"240a:a43e::/32", "143736"}, + {"2804:2b84::/32", "265157"}, + {"2a00:cee3:dcd::/29", "60268"}, + {"2a06:7a07::/43", "49072"}, + {"2a03:2480:71::/44", "41983"}, + {"2a10:7900::/32", "399975"}, + {"2001:559:c381::/48", "7922"}, + {"2001:da8:7016::/44", "24363"}, + {"2001:18e8:3::/44", "87"}, + {"240a:a433::/32", "143725"}, + {"2600:c0e:3010::/48", "26558"}, + {"2607:f2b1::/43", "3614"}, + {"2620:107:9036::/48", "13951"}, + {"2001:559:c497::/48", "7015"}, + {"2001:67c:11d4::/48", "47702"}, + {"2404:bf40:f281::/48", "2764"}, + {"2600:1403:bc01::/29", "20940"}, + {"2a01:5040:1021::/34", "43996"}, + {"2405:7000:2d00::/32", "9354"}, + {"2408:8256:3a81::/43", "17623"}, + {"240e:267:9000::/38", "140337"}, + {"2604:9100:1002::/32", "29944"}, + {"2620:3b::/48", "11488"}, + {"2a01:8840:a9::/48", "207266"}, + {"2a0f:ca87:a::/48", "208850"}, + {"2001:df0:b6::/48", "63510"}, + {"2402:c980:141::/48", "134086"}, + {"2405:4803:d1a::/32", "18403"}, + {"2600:6000:faac::/48", "11351"}, + {"2620:ad:8081::/41", "52127"}, + {"2a0b:6f40::/32", "29582"}, + {"2605:4800:3::/48", "20209"}, + {"2606:5f00::/32", "10396"}, + {"2620:13a:8000::/40", "55037"}, + {"2a01:cd00:8020::/48", "28708"}, + {"2a03:2880:f11d::/46", "32934"}, + {"2a07:8f00::/29", "208828"}, + {"2001:559:c475::/48", "33667"}, + {"2001:678:a04::/48", "3320"}, + {"2409:877d::/30", "9808"}, + {"2409:8914:ac00::/38", "56044"}, + {"2a01:4420::/32", "30936"}, + {"2a02:858:200::/29", "3329"}, + {"2a02:26f7:db0d::/46", "20940"}, + {"2a0b:b87:ffb5::/48", "211571"}, + {"2a0b:bb40::/32", "28725"}, + {"2001:579:9314::/42", "22773"}, + {"240a:a9b2::/32", "145132"}, + {"2a02:26f7:cd8d::/42", "20940"}, + {"2a02:26f7:d80c::/48", "36183"}, + {"2a10:fc40::/29", "57777"}, + {"2604:5500:3000::/38", "19165"}, + {"2001:468:d00::/48", "4600"}, + {"2620:12:4000::/48", "22945"}, + {"2400:cb00:280::/45", "13335"}, + {"2402:800:941d::/41", "7552"}, + {"2600:1417:5::/48", "8966"}, + {"2a00:11c0:11c0::/48", "42388"}, + {"2a02:26f7:c540::/48", "36183"}, + {"2001:250:6431::/38", "23910"}, + {"240a:a5a4::/32", "144094"}, + {"2803:f7e0:1000::/43", "271773"}, + {"2620:11::/44", "7743"}, + {"2a02:26f7:bb40::/48", "36183"}, + {"2001:df0:1e:4001::/48", "38794"}, + {"240a:a240::/32", "143226"}, + {"2804:6620::/32", "269536"}, + {"2a06:5bc0::/32", "56911"}, + {"2600:803:22c::/48", "7046"}, + {"2604:4d40:eff::/48", "213073"}, + {"2605:a404:b0::/47", "33363"}, + {"2403:1300::/34", "56286"}, + {"2610:20:5006::/48", "5744"}, + {"2803:e600:c200::/36", "18809"}, + {"2001:559:447::/48", "22909"}, + {"2409:815d::/22", "9808"}, + {"2001:3c0::/35", "7516"}, + {"2001:550:302::/37", "174"}, + {"2403:c980::/32", "38283"}, + {"2a05:f780:4000::/35", "57667"}, + {"2600:370f:75a5::/46", "32261"}, + {"2604:640:e000::/48", "393562"}, + {"2605:e440::/48", "398343"}, + {"2620:bf::/48", "3423"}, + {"2a02:26f7:d600::/48", "36183"}, + {"2001:1a11:13b::/41", "42298"}, + {"2401:c500:fd00::/48", "54994"}, + {"2602:fed2:7102::/48", "53356"}, + {"2001:ee0:3001::/43", "45899"}, + {"2001:1248:a00e::/48", "11172"}, + {"240a:ad35::/32", "146031"}, + {"2804:7cf8:120::/32", "271530"}, + {"2a05:a740::/29", "42926"}, + {"2a0f:e1c0::/30", "60781"}, + {"2001:559:c168::/48", "33489"}, + {"2600:8807:e000::/28", "22773"}, + {"2800:bf0:a102::/48", "52257"}, + {"2a05:3f00::/29", "201454"}, + {"2a0b:4341:704::/48", "57695"}, + {"240e:108:1061::/44", "4134"}, + {"2804:5658::/32", "267992"}, + {"2604:1380::/40", "54825"}, + {"2001:67c:880::/48", "60454"}, + {"2800:160:159e::/42", "14259"}, + {"2a0a:2200::/29", "35132"}, + {"2800:800:a62::/43", "26611"}, + {"2803:7510::/32", "272033"}, + {"2a0e:b107:24::/48", "39753"}, + {"2a0f:1a40::/29", "60262"}, + {"2001:559:c3a3::/48", "33491"}, + {"2001:678:f94::/48", "211088"}, + {"2405:5740:1::/45", "138277"}, + {"2409:8915:1e00::/39", "56044"}, + {"240a:a9ab::/32", "145125"}, + {"2a11:b340::/29", "204790"}, + {"2001:1248:59d2::/42", "11172"}, + {"2001:500:7d::/48", "42"}, + {"2406:b800::/32", "38652"}, + {"2408:8956:c00::/40", "17622"}, + {"2600:370f:30c3::/42", "32261"}, + {"2800:381:aaab::/35", "10834"}, + {"2001:559:a8::/47", "33287"}, + {"240e:44d:6a40::/42", "140351"}, + {"2602:fc23:150::/48", "8095"}, + {"2801:140::/45", "262249"}, + {"2803:7200:8003::/45", "27696"}, + {"2803:9800:b485::/41", "11664"}, + {"2408:8256:2f96::/48", "17816"}, + {"240e:983:103::/45", "17897"}, + {"2600:6000:f97f::/38", "12271"}, + {"2606:7e00:ff00::/40", "3064"}, + {"2620:106:7008::/48", "11795"}, + {"2804:14c:4785::/41", "28573"}, + {"2a04:1d00::/29", "31343"}, + {"2001:788::/31", "6893"}, + {"2001:df4:9500::/48", "135938"}, + {"2804:6c00::/32", "270439"}, + {"2001:559:75b::/48", "7015"}, + {"2001:559:85e0::/48", "33660"}, + {"240c:c702::/32", "24366"}, + {"2602:feda:f027::/48", "147173"}, + {"2620:e0:c000::/48", "17116"}, + {"2804:4f8:a100::/38", "28263"}, + {"2a00:b704::/30", "51659"}, + {"2405:9940::/32", "46044"}, + {"240e:fb:d000::/34", "4134"}, + {"2a00:5180:1::/46", "44491"}, + {"2a0f:5701:fe11::/39", "206499"}, + {"2400:5800:5::/32", "38712"}, + {"2403:b200:a99c::/48", "38506"}, + {"2409:804e:1100::/36", "9808"}, + {"240e:983:140a::/47", "134768"}, + {"2604:f440:100::/40", "174"}, + {"2620:f3::/48", "30286"}, + {"2804:1784:fe19::/39", "263152"}, + {"2a02:888::/42", "47794"}, + {"2a02:c640::/32", "30836"}, + {"2605:400:500::/40", "19780"}, + {"2620:102:2000::/44", "3659"}, + {"2804:f8c:d000::/34", "263591"}, + {"2001:67c:8dc::/48", "205920"}, + {"2001:15a8::/32", "29449"}, + {"2001:550:100:6::/47", "174"}, + {"2402:8100:2120::/43", "38266"}, + {"240a:a231::/32", "143211"}, + {"2a0f:4ac0::/35", "207921"}, + {"2404:4a00:6a00:1::/37", "45629"}, + {"2a00:1210:fffd::/48", "16223"}, + {"2001:559:47d::/48", "33491"}, + {"2001:4100::/32", "12401"}, + {"2402:9400::/32", "55803"}, + {"2600:6c20:a1a::/45", "20115"}, + {"2803:a9e0::/32", "270014"}, + {"2804:330:3000::/36", "53240"}, + {"2804:4c14:cb01::/35", "267348"}, + {"2a0b:c800:1::/45", "8637"}, + {"2402:e280:214d::/46", "134674"}, + {"2408:8256:e66::/39", "17622"}, + {"2620:104:e000:ae::/40", "1351"}, + {"2803:c00::/32", "262230"}, + {"2804:14c:3d83::/41", "28573"}, + {"2a02:4780:bad::/48", "204915"}, + {"2a0e:fd45:6::/48", "213285"}, + {"2400:fc00:8cf2::/39", "45773"}, + {"240e:67a:e600::/31", "4134"}, + {"2605:2b40::/34", "40763"}, + {"2001:678:754::/48", "202171"}, + {"2402:800:7b80::/42", "7552"}, + {"2803:6ce0:1d00::/33", "269909"}, + {"2a02:1140:100::/40", "43193"}, + {"2a07:45c4::/40", "202521"}, + {"2001:418:8404:2::/35", "2914"}, + {"2001:1ac0::/32", "16004"}, + {"2401:5dc0::/32", "1828"}, + {"2620:107:4008:b9dc::/64", "6461"}, + {"2a06:b600::/29", "42184"}, + {"240a:a054::/32", "142734"}, + {"2610:b0:4170::/32", "3573"}, + {"2001:559:c15f::/48", "33491"}, + {"2001:dcd:22::/48", "16509"}, + {"2605:a401:858e::/41", "33363"}, + {"2804:6fc:21::/32", "28158"}, + {"2a0f:9400:6100::/45", "53356"}, + {"2001:559:c431::/45", "7015"}, + {"2401:4900:4fb0::/41", "45609"}, + {"2804:1e38::/35", "264415"}, + {"2a02:26f7:f944::/48", "36183"}, + {"2001:559:5a::/48", "7725"}, + {"2400:a980:c2::/44", "133111"}, + {"2406:840:1860::/48", "139317"}, + {"2620:4a:a000::/48", "30438"}, + {"2800:160:1437::/41", "14259"}, + {"2803:59a0::/32", "52468"}, + {"2a00:1298:8017::/33", "5578"}, + {"2001:559:279::/48", "33651"}, + {"2001:43f8:1100::/48", "328283"}, + {"2001:4d38::/32", "12850"}, + {"2600:380:f1d2::/47", "64011"}, + {"2803:7200:8006::/47", "27696"}, + {"2804:73e4::/34", "270944"}, + {"2a0a:9340::/48", "60016"}, + {"2001:4b20:100:f002::/36", "34288"}, + {"2401:4340::/32", "132268"}, + {"240a:af91::/32", "146635"}, + {"2600:140b:a401::/36", "20940"}, + {"2a01:c50f:3fc0::/33", "12479"}, + {"2001:559:57::/48", "7016"}, + {"2001:579:28::/40", "22773"}, + {"2600:1008:f100::/44", "6167"}, + {"2602:fbf1:10::/44", "9833"}, + {"2604:b180:290::/44", "21882"}, + {"2804:6e4:c000::/34", "262612"}, + {"2804:2ae0::/32", "53057"}, + {"2a02:6f8::/32", "39287"}, + {"2a0b:4d00:1::/44", "44239"}, + {"2001:250:3c19::/42", "138369"}, + {"2001:67c:2aac::/48", "57508"}, + {"2402:c480:3000::/47", "63916"}, + {"2600:6c38:b0e::/43", "20115"}, + {"2602:fbe9::/36", "51999"}, + {"2604:7a40::/35", "394710"}, + {"2a0b:a8c0:3::/29", "13215"}, + {"2001:559:84ee::/48", "33287"}, + {"2804:2728:705::/43", "263880"}, + {"2a00:1cf8:2000::/35", "44944"}, + {"2804:14d:888::/41", "28573"}, + {"2804:5990::/32", "268710"}, + {"2a02:7a00:2::/48", "199604"}, + {"2a0f:8900::/29", "47787"}, + {"2a0f:a8c0::/29", "209372"}, + {"2400:c700:b001::/33", "55644"}, + {"2401:d800:5b50::/42", "7552"}, + {"2402:a300:13e6::/44", "55427"}, + {"2404:c140:220::/47", "138997"}, + {"2600:1017:9410::/38", "6167"}, + {"2602:802:b000::/44", "397795"}, + {"2804:47b4::/32", "267072"}, + {"2804:7304::/32", "270890"}, + {"2806:217:202::/39", "28394"}, + {"2a00:1da8::/32", "49725"}, + {"2405:9800:b006::/44", "45430"}, + {"240a:a7bb::/32", "144629"}, + {"2600:1406:d801::/37", "20940"}, + {"240a:a491::/32", "143819"}, + {"2606:5d00::/28", "11525"}, + {"2800:160:1d34::/44", "14259"}, + {"2a00:85c0:3::/45", "203315"}, + {"2001:250:2c0c::/48", "23910"}, + {"2001:1248:98c0::/45", "11172"}, + {"2803:ab00:93::/32", "52471"}, + {"2406:3000:a:8::/45", "4657"}, + {"2408:840c:8400::/40", "17621"}, + {"240a:a769::/32", "144547"}, + {"2600:141c:2001::/36", "20940"}, + {"2600:370f:1040::/42", "32261"}, + {"2600:370f:7345::/46", "32261"}, + {"2804:1c4c:1714::/32", "61648"}, + {"2a02:128:5::/48", "62165"}, + {"2a06:5100::/29", "15576"}, + {"2a0f:4440:abcd::/48", "50937"}, + {"2a10:6700:ffff::/29", "399975"}, + {"2a11:aec0::/29", "1239"}, + {"2402:800:31fe::/38", "7552"}, + {"2801:152::/40", "14080"}, + {"2a10:4000::/29", "28701"}, + {"2409:8087:6a0c::/43", "9808"}, + {"2804:18:1010::/44", "10429"}, + {"2a00:8740:110::/46", "49037"}, + {"2a0d:f46::/32", "61157"}, + {"2a10:9a40::/40", "35065"}, + {"2408:8957:1800::/39", "17622"}, + {"2001:678:3c::/48", "197997"}, + {"2400:da00:5ff2::/32", "38365"}, + {"2a02:26f7:e50c::/48", "36183"}, + {"2a06:1b40::/29", "203762"}, + {"2a0b:e440::/29", "211774"}, + {"2402:af00::/32", "38719"}, + {"240a:ab00::/32", "145466"}, + {"240e:44d:5780::/41", "4134"}, + {"2602:fdd2::/36", "21659"}, + {"2603:90f5:d::/48", "11426"}, + {"2a04:4e40:2c00::/48", "54113"}, + {"2400:9700::/45", "24550"}, + {"2402:e740::/32", "9405"}, + {"2409:8055:3045::/42", "56040"}, + {"240a:a70f::/32", "144457"}, + {"2602:fdc2:a::/48", "397720"}, + {"2620:91:4000::/48", "393599"}, + {"2804:53c:c000::/34", "53004"}, + {"2804:1f24:101::/48", "30383"}, + {"2a02:26f0:e01::/35", "20940"}, + {"2a0c:efc0:fff::/29", "206356"}, + {"2001:250:5864::/48", "138371"}, + {"2610:e0:b000::/33", "2572"}, + {"2804:39fc::/32", "266063"}, + {"2a01:4ff:ff01::/48", "24940"}, + {"2a0e:1400::/29", "209106"}, + {"2001:559:523::/48", "7016"}, + {"2600:140b:1801::/38", "20940"}, + {"2800:930::/29", "27717"}, + {"2a02:26f7:dfc9::/46", "20940"}, + {"2a02:cb43:2003::/48", "41179"}, + {"2001:438:fffd:11e::/64", "397601"}, + {"240a:adee::/32", "146216"}, + {"240e:3b7:2200::/37", "136198"}, + {"2600:2c03:1000::/36", "7349"}, + {"2803:bc40:811d::/34", "52468"}, + {"2804:a28::/32", "263026"}, + {"2804:3b88::/32", "266155"}, + {"2a01:690::/29", "16326"}, + {"2803:d220::/32", "266880"}, + {"2a02:9010:46::/42", "3352"}, + {"2402:ef25::/28", "7633"}, + {"2406:daa0:a040::/44", "16509"}, + {"2600:1010:bf00::/44", "6167"}, + {"2a01:4d8::/32", "39122"}, + {"2a02:2770::/32", "196752"}, + {"2001:448a:10b0::/41", "7713"}, + {"2620:cc:8000::/48", "3685"}, + {"2a03:7540::/38", "44406"}, + {"2a0f:eb80:b::/45", "47267"}, + {"2001:3c8:100f::/48", "133919"}, + {"2001:559:c4fa::/48", "33491"}, + {"2001:1248:a50a::/43", "11172"}, + {"2001:4410:3100::/32", "132040"}, + {"2800:160:117f::/40", "14259"}, + {"2800:b70:102::/48", "262191"}, + {"2804:55c8::/32", "267956"}, + {"2a0b:2c40::/29", "205741"}, + {"2a0f:2840::/29", "399975"}, + {"2001:67c:2354::/48", "39287"}, + {"2001:df0:c280::/48", "140096"}, + {"2804:2904::/36", "262588"}, + {"2a02:2498:6d7b::/48", "13213"}, + {"2001:67c:2410::/48", "34755"}, + {"2400:dcc0:a004::/39", "38631"}, + {"2401:d800:2b60::/40", "7552"}, + {"2404:ff80:fff0::/44", "64096"}, + {"240e:44d:1980::/41", "4134"}, + {"2620:0:1cff:dead:beee::1408/127", "29632"}, + {"2a03:ad40:140::/48", "199349"}, + {"2a03:db80:5460::/48", "200943"}, + {"2405:a700:1b::/45", "9498"}, + {"2407:4d40:1::/45", "142050"}, + {"2409:8924:3500::/38", "56046"}, + {"240a:a664::/32", "144286"}, + {"2804:1f42::/32", "270694"}, + {"2a04:500::/29", "198249"}, + {"2001:258::/32", "2510"}, + {"2001:1b28:1000::/32", "8728"}, + {"2409:8904:5d70::/40", "24547"}, + {"2804:1bcc::/32", "61751"}, + {"2a0d:e000::/29", "59682"}, + {"2404:bf40:8042::/40", "139084"}, + {"2800:160:5::/37", "14259"}, + {"2804:12ac::/32", "263491"}, + {"2804:4fa8::/32", "268341"}, + {"2a02:26f7:dcc9::/42", "20940"}, + {"2c0f:f8c0::/32", "37529"}, + {"2604:bf00:211::/32", "17185"}, + {"2402:b400::/33", "45960"}, + {"2409:8050:2800::/47", "56047"}, + {"2804:14c:6f00::/40", "28573"}, + {"2804:14d:fc00::/44", "28573"}, + {"2a02:26f7:c601::/46", "20940"}, + {"2a03:2480:68::/47", "200107"}, + {"2a07:22c1:34::/48", "211776"}, + {"2a0f:9400:7709::/48", "213312"}, + {"2409:8054:5d::/46", "56040"}, + {"240a:ab57::/32", "145553"}, + {"2804:14c:6330::/40", "28573"}, + {"2a02:4e0:2200::/41", "16135"}, + {"2a02:f38:3::/48", "8422"}, + {"2001:559:c379::/46", "33657"}, + {"2001:1a10:5000::/31", "8781"}, + {"2401:d800:9fa0::/41", "7552"}, + {"2402:ee40:2::/48", "17754"}, + {"240e:3bc:c000::/37", "140315"}, + {"2600:1417:d801::/37", "20940"}, + {"2604:2d80:8900::/34", "30036"}, + {"2a02:26f7:cd85::/46", "20940"}, + {"2a03:560:148::/47", "201832"}, + {"2a06:e80:1000::/36", "200699"}, + {"2001:2000:9100::/31", "1299"}, + {"2600:6c20:e26::/44", "20115"}, + {"2402:ef2f:51::/48", "7633"}, + {"240a:a7b9::/32", "144627"}, + {"2605:5c0:c010::/44", "26517"}, + {"2801:118::/48", "264823"}, + {"2a00:7b00:c100::/34", "12338"}, + {"2a01:7e20::/31", "199805"}, + {"2a02:26f7:fac0::/48", "36183"}, + {"2a0f:10c0::/29", "43809"}, + {"2a06:2700::/29", "46516"}, + {"2001:559:8617::/48", "33657"}, + {"2402:8100:266b::/45", "55644"}, + {"240a:a3ed::/32", "143655"}, + {"2804:ed8::/32", "28343"}, + {"2a10:1647:fe00::/39", "206330"}, + {"2001:7a8:800::/47", "34019"}, + {"2600:4c01:ffff::/48", "13760"}, + {"2620:0:57f::/48", "62955"}, + {"2804:1ca0:1000::/40", "61666"}, + {"2001:1a11:bc::/48", "8781"}, + {"2409:8a1e::/31", "24400"}, + {"240a:ada9::/32", "146147"}, + {"2607:2000::/32", "5786"}, + {"2a0e:2704::/30", "203136"}, + {"2c0f:fe08:601::/32", "36914"}, + {"2001:559:86c3::/48", "33287"}, + {"2001:559:c0bd::/46", "33651"}, + {"2001:44c8:2000::/48", "45781"}, + {"2402:8100:21d8::/45", "55644"}, + {"2405:4400::/32", "18001"}, + {"240e:651:3000::/36", "134419"}, + {"2600:1488:a0c1::/39", "20940"}, + {"2a02:2e0:41d::/42", "12306"}, + {"2001:4498::/32", "24218"}, + {"2a01:49e0::/32", "201167"}, + {"2a0e:8a84::/32", "13559"}, + {"240e:980:9900::/40", "4816"}, + {"2804:4ecc::/32", "268283"}, + {"2a02:f78::/32", "42927"}, + {"2a07:5740::/31", "44901"}, + {"2803:5a80::/32", "262931"}, + {"2804:37a0::/32", "266425"}, + {"2001:559:c35e::/48", "7922"}, + {"2400:3200:babb::/33", "37963"}, + {"2804:29f8:1::/48", "264048"}, + {"2a00:1ea0::/47", "35007"}, + {"2a02:26f7:b944::/48", "36183"}, + {"2a0d:2582:100::/44", "211367"}, + {"2a0d:8d80::/32", "31424"}, + {"2a11:6c6:1000::/32", "210916"}, + {"2001:448a:4070::/35", "7713"}, + {"240a:ac53::/32", "145805"}, + {"2600:380:f980::/37", "7018"}, + {"2620:0:2a09::/48", "30343"}, + {"2405:a840:a000::/33", "38562"}, + {"2406:840:e014::/44", "213069"}, + {"2804:2800::/32", "263934"}, + {"2a07:a905:ffeb::/48", "204543"}, + {"2001:310::/34", "4694"}, + {"2001:559:c3fc::/48", "7016"}, + {"2001:948::/42", "2603"}, + {"2404:6180::/32", "58890"}, + {"2408:4009:500::/48", "45102"}, + {"2c0e:7f85::/27", "36974"}, + {"2001:500:135::/48", "396574"}, + {"2001:678:15:8000::/46", "42385"}, + {"2600:1407:7801::/32", "20940"}, + {"2803:e8e0::/32", "269875"}, + {"2a03:d9c0:1000::/48", "3214"}, + {"2001:67c:110::/48", "3274"}, + {"2408:8656:2cfa::/45", "17623"}, + {"2603:a000::/24", "395662"}, + {"2804:14d:b087::/44", "28573"}, + {"2405:8a00:21b6::/44", "55824"}, + {"240a:ab27::/32", "145505"}, + {"2607:fc48:818::/48", "40009"}, + {"2801:172::/48", "14080"}, + {"2a02:970:1385::/43", "44002"}, + {"2a0f:5382:1312::/48", "208135"}, + {"2600:6c38:1b::/45", "20115"}, + {"2605:ea00:1::/48", "26388"}, + {"2a02:188:1005::/33", "31027"}, + {"2a11:7380::/29", "18779"}, + {"2408:8256:1666::/39", "17622"}, + {"2409:8053:2002::/40", "56047"}, + {"2a09:407:3000::/36", "210625"}, + {"2a10:2f01:280::/44", "213092"}, + {"2001:250:802::/48", "138182"}, + {"2401:cf80:600d::/48", "198949"}, + {"2607:fdf0:5ea6::/44", "8008"}, + {"2408:8957:b100::/40", "17816"}, + {"240e:108:21::/48", "4811"}, + {"2804:14c:5d39::/40", "28573"}, + {"2804:76ac::/32", "271127"}, + {"2a02:26f7:ef45::/46", "20940"}, + {"2a02:4780:dead::/48", "204915"}, + {"2a03:4e40::/29", "25447"}, + {"2a03:8e20::/32", "211713"}, + {"2402:3a80:48::/46", "38266"}, + {"2405:6c0:1::/46", "63641"}, + {"2604:bc0:8::/48", "47869"}, + {"2620:1d4:501e::/47", "19726"}, + {"2804:7460::/32", "270977"}, + {"2001:559:8291::/48", "33490"}, + {"240e:44d:7d00::/41", "140345"}, + {"2620:fc:4000::/48", "26206"}, + {"2a02:ae80::/29", "200139"}, + {"2001:559:46b::/48", "20214"}, + {"2001:57a:503::/48", "33438"}, + {"2404:bf40:e007::/40", "139084"}, + {"2804:8474::/43", "272261"}, + {"2804:2ae4:f000::/36", "13878"}, + {"2806:230:4025::/48", "11888"}, + {"2001:559:84de::/48", "33657"}, + {"2408:8459:4650::/36", "17816"}, + {"2804:25ac::/32", "264294"}, + {"2a09:dc40::/29", "197522"}, + {"2605:9780:40::/48", "393544"}, + {"240a:a960::/32", "145050"}, + {"2620:119:5020::/43", "13443"}, + {"2804:1f54:f100::/36", "272220"}, + {"2804:2d98::/32", "61579"}, + {"2a00:8c40:235::/48", "205418"}, + {"2404:4600:4::/47", "9764"}, + {"2620:97:e000::/48", "399663"}, + {"2803:f340:2000::/32", "14754"}, + {"2a0c:a9c7:253::/48", "41740"}, + {"2001:1838:1100::/34", "23352"}, + {"2408:8256:3775::/48", "17816"}, + {"2600:6c0c::/31", "20115"}, + {"2a03:e880::/32", "20686"}, + {"2001:470:be::/48", "12266"}, + {"2409:8008:dd::/36", "24547"}, + {"2804:14e0::/32", "263356"}, + {"2806:2f0:4743::/42", "17072"}, + {"2a04:4e40:5010::/41", "54113"}, + {"2a0c:4300:50::/42", "43722"}, + {"2c0f:f408::/32", "37684"}, + {"2001:df5:d200::/48", "46050"}, + {"240a:aec8::/32", "146434"}, + {"240e:95a:4000::/36", "149178"}, + {"2801:1f0:400a::/42", "3573"}, + {"2804:34f4::/32", "265491"}, + {"2804:5614::/32", "267513"}, + {"2806:230:3000::/48", "265594"}, + {"2001:67c:4b4::/48", "206153"}, + {"2406:2000:1b0::/41", "10310"}, + {"240a:a51f::/32", "143961"}, + {"2804:1580::/32", "263391"}, + {"2a05:6c40::/32", "51012"}, + {"2402:800:5201::/44", "7552"}, + {"2402:800:9863::/43", "7552"}, + {"240a:ac33::/32", "145773"}, + {"2a02:26f0:69::/43", "20940"}, + {"2001:16d8:59::/45", "16150"}, + {"2001:4888:802f::/43", "22394"}, + {"240a:a710::/32", "144458"}, + {"240a:ae93::/32", "146381"}, + {"2800:440:8043::/45", "27738"}, + {"2804:4b30::/32", "267289"}, + {"2a02:1740::/32", "197133"}, + {"2a02:26f7:f38c::/48", "36183"}, + {"2a03:8cc0::/32", "61215"}, + {"240c:c782::/26", "23910"}, + {"2803:f6a0::/32", "266904"}, + {"2a02:2454:8000::/33", "16202"}, + {"2a02:26f7:d244::/48", "36183"}, + {"2001:408::/44", "14793"}, + {"2001:559:550::/48", "7922"}, + {"2001:678:8c::/48", "44358"}, + {"2402:3640::/32", "137248"}, + {"240a:a21c::/32", "143190"}, + {"2602:ffc4:6::/47", "393398"}, + {"2a0e:97c3:769::/48", "20473"}, + {"2001:678:634::/48", "204345"}, + {"2409:896a:ba00::/29", "9808"}, + {"2600:1017:a110::/38", "6167"}, + {"2a03:3f40::/47", "50673"}, + {"2406:7400:40::/46", "24309"}, + {"240e:7:5800::/32", "4134"}, + {"2607:f160::/48", "6167"}, + {"2804:46b0::/32", "267005"}, + {"2a00:e30:a00::/40", "61333"}, + {"2a06:10c0::/29", "198930"}, + {"2001:678:85c::/48", "59801"}, + {"2402:3fc0::/32", "134090"}, + {"240e:570::/28", "4134"}, + {"2804:4bc4::/32", "267328"}, + {"2a01:b5c0::/32", "43160"}, + {"2001:200::/37", "2500"}, + {"2001:448a:20b0::/35", "7713"}, + {"240e:61::/35", "134775"}, + {"2a06:7a06::/48", "44541"}, + {"2c0f:fe28:1::/48", "36951"}, + {"2408:8957:c00::/40", "17622"}, + {"2604:8d40::/32", "23260"}, + {"2a00:4800:3e0::/44", "13124"}, + {"2001:550:9c01::/46", "174"}, + {"2001:559:85a8::/48", "7725"}, + {"2001:1620::/34", "13030"}, + {"2402:e280:2154::/46", "134674"}, + {"2a06:e881:2103::/45", "206479"}, + {"2a0e:7580:4590::/48", "9312"}, + {"2001:12f0:f79::/40", "1916"}, + {"2403:b100::/34", "9989"}, + {"2600:14c0:5::/48", "20940"}, + {"2602:feda:e3f::/48", "147028"}, + {"2803:7200:2001::/32", "27696"}, + {"2a00:ecc0::/32", "16001"}, + {"2a02:26f7:d908::/48", "36183"}, + {"2001:df0:3a00::/48", "17439"}, + {"2403:5180:1::/48", "138038"}, + {"2606:36c0:500::/40", "399342"}, + {"2804:4a1c::/36", "267219"}, + {"2a00:1288:89::/39", "10310"}, + {"2001:559:62::/48", "7922"}, + {"2403:9800:c200::/40", "4648"}, + {"2606:2e00:8014::/44", "36351"}, + {"2804:4b4::/32", "262460"}, + {"2806:2f0:20a0::/48", "17072"}, + {"2a04:4e41:4e::/43", "54113"}, + {"2408:8956:6000::/40", "17622"}, + {"2a06:3080::/30", "25595"}, + {"2a0a:54c0::/31", "62240"}, + {"240a:a8dc::/32", "144918"}, + {"2a01:28:eeef::/35", "39392"}, + {"2607:f298:abb::/48", "7385"}, + {"2a02:26f7:ecc5::/46", "20940"}, + {"2001:15d8::/32", "8657"}, + {"2001:57a:f20b::/45", "22773"}, + {"2620:11a:a035::/48", "43515"}, + {"2804:145c:8890::/37", "263327"}, + {"240a:a58b::/32", "144069"}, + {"2607:fae0:246::/36", "8038"}, + {"2800:160:2b48::/42", "14259"}, + {"2a0a:bcc0::/29", "41001"}, + {"2a0e:6500::/29", "40970"}, + {"2402:8100:2240::/39", "45271"}, + {"240e:438:8840::/38", "4134"}, + {"2a02:ac80:7001::/38", "25145"}, + {"2a09:62c0::/29", "8224"}, + {"2a0f:1204::/31", "60781"}, + {"2602:fc81:1::/46", "399334"}, + {"2001:502:8cc::/48", "397197"}, + {"2001:559:81f9::/48", "7922"}, + {"2408:8207:84c0::/39", "4808"}, + {"240e:44d:3780::/41", "4134"}, + {"2a03:8a40::/32", "48173"}, + {"2c0f:f8e0::/32", "37100"}, + {"2403:82c0::/32", "9924"}, + {"2800:5f0:b022::/33", "22724"}, + {"2a06:71c0::/29", "203968"}, + {"240a:a1b5::/32", "143087"}, + {"240a:ad04::/32", "145982"}, + {"2607:f530::/32", "10996"}, + {"2620:10a:c000::/44", "53708"}, + {"2804:1964::/32", "61792"}, + {"2001:438:4b::/42", "6461"}, + {"2001:678:b28::/48", "204867"}, + {"2600:6c38:868::/43", "20115"}, + {"2605:f440:caff::/34", "54874"}, + {"2607:fb90:c13f::/41", "21928"}, + {"2620:113:1005::/46", "15224"}, + {"2804:bd0::/40", "10670"}, + {"2a06:7bc0::/29", "34373"}, + {"2001:559:7f4::/48", "33662"}, + {"2001:16d8:8f0::/44", "16150"}, + {"240a:a92d::/32", "144999"}, + {"2a0f:85c1:30::/47", "206628"}, + {"2804:38a4:8000::/42", "266491"}, + {"2a00:1288:1ac::/32", "10310"}, + {"2404:5e40:6::/44", "137703"}, + {"240a:ac4b::/32", "145797"}, + {"2804:2bc:200::/32", "262832"}, + {"2c0f:f698:f003::/44", "37693"}, + {"2600:6c38:1bd::/41", "20115"}, + {"2001:df7:7c80::/48", "140156"}, + {"2402:800:5ac5::/43", "7552"}, + {"2605:9200::/32", "36394"}, + {"2620:11a:a026::/44", "43515"}, + {"2a02:13a0::/32", "12519"}, + {"2a02:7842::/31", "47816"}, + {"2800:bf0:b0::/48", "27947"}, + {"2801:14:a000::/48", "61455"}, + {"2a0f:bf00:40::/42", "208069"}, + {"2001:67c:23d8::/47", "48151"}, + {"2603:c0e8:1000::/38", "1218"}, + {"2a02:500:6000::/32", "5538"}, + {"2a03:47c0::/35", "21277"}, + {"2a07:71c0::/29", "202918"}, + {"2001:559:2c7::/44", "33287"}, + {"2001:4998:128::/41", "10310"}, + {"2804:7f8c:20::/35", "271695"}, + {"2a02:ca00::/29", "41307"}, + {"2a03:d540::/32", "50904"}, + {"2001:559:8104::/48", "33287"}, + {"2600:140f:e400::/48", "9498"}, + {"2620:119:30::/48", "36692"}, + {"2620:119:35::/48", "36692"}, + {"2804:8100::/32", "262306"}, + {"2001:559:841d::/48", "33657"}, + {"2001:559:85a1::/48", "7922"}, + {"2001:559:c1e0::/48", "33651"}, + {"2001:678:94c::/48", "30962"}, + {"2402:c480:7000::/48", "63916"}, + {"2804:4544:8000::/40", "266915"}, + {"2a01:6a8::/32", "34554"}, + {"2400:dcc0:ae04::/39", "38631"}, + {"2607:a500:d::/32", "12025"}, + {"2a01:c50f:b000::/40", "12479"}, + {"2a02:26f0:4b01::/37", "20940"}, + {"2001:559:8100::/48", "33659"}, + {"2001:df1:b401::/48", "132458"}, + {"2804:161c:fc00::/48", "263268"}, + {"2a07:6bc0::/29", "197451"}, + {"2a0f:5707:af0f::/48", "211358"}, + {"2405:2500:65::/48", "136565"}, + {"2600:1409:12::/48", "20940"}, + {"2620:e:2000::/48", "30546"}, + {"2620:1ec:90a::/47", "8075"}, + {"2804:66c8:c000::/34", "269582"}, + {"2a00:b420::/32", "60478"}, + {"2001:559:83ba::/48", "33651"}, + {"2604:f140::/32", "22413"}, + {"2c0f:fad8::/40", "37019"}, + {"2001:559:8316::/48", "33652"}, + {"2001:67c:1ba0::/48", "8445"}, + {"2402:800:be10::/42", "7552"}, + {"2a02:582:1c00::/33", "6799"}, + {"2a05:d840::/29", "200994"}, + {"2001:559:846a::/48", "33657"}, + {"2001:4220:8000::/44", "24835"}, + {"2400:8200::/32", "45061"}, + {"2402:800:381d::/42", "7552"}, + {"2409:8a06::/28", "9808"}, + {"2800:68:12::/47", "61468"}, + {"2803:a5a0::/32", "267728"}, + {"2a01:358:4016::/44", "9121"}, + {"2001:559:c461::/48", "33659"}, + {"240e:397:2700::/26", "4134"}, + {"2804:14d:aca1::/41", "28573"}, + {"2a06:8401:3::/29", "198463"}, + {"2001:bf7:1330::/41", "44194"}, + {"2001:41b0::/32", "12741"}, + {"2401:d800:98f0::/39", "7552"}, + {"2402:3800:dc04::/34", "7503"}, + {"2603:c010:4000::/36", "31898"}, + {"2603:c0f0:1020::/38", "6142"}, + {"2605:940:710::/44", "396919"}, + {"2a01:5042:2007::/48", "202196"}, + {"2a09:96c0::/48", "20473"}, + {"2001:559:c1df::/48", "33652"}, + {"2001:559:c255::/48", "33650"}, + {"2001:559:c2d1::/48", "7015"}, + {"2401:5200::/32", "23659"}, + {"2401:d800:d0d0::/42", "7552"}, + {"2a10:cb40::/31", "198328"}, + {"2001:67c:15e8::/48", "3301"}, + {"2001:18b8:113::/45", "29789"}, + {"2408:8957:bd00::/40", "17816"}, + {"240a:a45b::/32", "143765"}, + {"240a:aaf5::/32", "145455"}, + {"2607:f6f0:9000::/48", "32323"}, + {"2800:bf0:3c00::/45", "52257"}, + {"2804:4f94::/32", "268336"}, + {"2804:6cc4::/32", "270490"}, + {"2a0e:8f02:2015::/48", "213021"}, + {"2001:df4:4f80::/48", "140941"}, + {"2405:203:89d::/39", "55836"}, + {"2607:f5a0::/45", "17048"}, + {"2001:ce0:2800::/40", "7651"}, + {"2602:802:b0ca::/48", "397795"}, + {"2604:d600:15bb::/45", "32098"}, + {"2804:2d94::/32", "265290"}, + {"2a00:fa80::/29", "203489"}, + {"2400:ff00:6::/32", "132045"}, + {"2a0a:e805:210::/44", "64476"}, + {"2403:7800::/32", "10010"}, + {"240a:a554::/32", "144014"}, + {"240e:3b3:7600::/39", "140313"}, + {"240e:964:3800::/33", "4134"}, + {"2800:160:165e::/42", "14259"}, + {"2a03:d000:9004::/46", "29648"}, + {"2a0f:8c40::/29", "42375"}, + {"2401:d800:dc90::/42", "7552"}, + {"2406:82c0::/32", "141201"}, + {"2804:a00:8a1::/41", "262838"}, + {"2a0a:340:cd00::/40", "48043"}, + {"2001:43f8:e0::/48", "37045"}, + {"2a00:84c0::/32", "197078"}, + {"2a05:547::/32", "206766"}, + {"2a09:740::/32", "62214"}, + {"2a0c:8fc1:6400::/39", "34081"}, + {"2001:678:b40::/48", "208003"}, + {"2403:ac80::/40", "4785"}, + {"2409:8779::/30", "9808"}, + {"2a03:1e01::/32", "9145"}, + {"2401:4900:5090::/42", "45609"}, + {"2403:a640::/39", "63776"}, + {"2404:bf40:8006::/42", "139084"}, + {"2406:3400:68::/43", "10143"}, + {"2408:8957:d00::/40", "17816"}, + {"2606:1a40:2010::/47", "398962"}, + {"2a02:26f7:cd80::/48", "36183"}, + {"2001:400:b21::/44", "293"}, + {"2402:800:911d::/41", "7552"}, + {"2405:9800:60::/44", "45430"}, + {"2603:c013:a000::/36", "31898"}, + {"2803:6a60::/46", "262186"}, + {"2804:60b0::/32", "269184"}, + {"2804:76dc::/32", "271139"}, + {"2a02:7c9::/44", "211099"}, + {"2a02:cc4:2100::/41", "8211"}, + {"2001:7e8::/32", "6661"}, + {"2001:df1:9c00::/48", "133882"}, + {"2605:4300:ee00::/40", "62907"}, + {"2804:30fc:4::/32", "263009"}, + {"2a0b:27c0::/31", "34215"}, + {"240e:44d:6f40::/42", "140354"}, + {"2804:2278::/32", "264103"}, + {"2a00:6620:2000::/48", "197746"}, + {"2a02:26f7:bf48::/48", "36183"}, + {"2a02:26f7:dc88::/48", "36183"}, + {"2003::/19", "3320"}, + {"2401:d800:7590::/42", "7552"}, + {"240a:a6d4::/32", "144398"}, + {"2800:160:1fc2::/45", "14259"}, + {"2a02:26f0:42::/43", "20940"}, + {"2001:559:82f3::/48", "33287"}, + {"2407:ef00:931::/32", "12422"}, + {"2408:8459:c250::/37", "17816"}, + {"2409:802f:2c06::/48", "9808"}, + {"240e:980:9100::/40", "140061"}, + {"2804:920:4200::/35", "263053"}, + {"2a03:eb80::/32", "56704"}, + {"2a0c:93c0:6000::/48", "212465"}, + {"2001:559:5a2::/45", "7922"}, + {"2001:ee0:a040::/37", "45899"}, + {"2409:8074:3100::/32", "9808"}, + {"2603:70b3::/32", "11351"}, + {"2a01:8840:39::/48", "207266"}, + {"2a03:5f00:1000::/48", "207044"}, + {"2600:2108:4000::/29", "11404"}, + {"2804:2f30:4800::/34", "53096"}, + {"2a00:c90::/32", "20853"}, + {"2001:3c8:2a08::/33", "4621"}, + {"2620:134:b0ff::/48", "14593"}, + {"2804:cf8:c::/46", "52580"}, + {"2a01:5042:2eff::/48", "202196"}, + {"2a03:5a00:c::/48", "198324"}, + {"2402:8100:3031::/45", "55644"}, + {"2806:230:2045::/48", "11888"}, + {"2404:bf40:c000::/47", "2764"}, + {"240a:aeb9::/32", "146419"}, + {"2602:fbb7::/36", "399899"}, + {"2606:b400:8808::/48", "7160"}, + {"2a02:4f60::/32", "60198"}, + {"2a0d:3842:1040::/48", "57629"}, + {"2001:579:c08d::/41", "22773"}, + {"2401:2d00:8000::/46", "17625"}, + {"240a:a77d::/32", "144567"}, + {"240a:addd::/32", "146199"}, + {"2800:940::/32", "27953"}, + {"2620:119:53::/48", "36692"}, + {"2620:136:c000::/48", "40337"}, + {"2804:4d5c::/32", "268192"}, + {"2a0b:480::/29", "16181"}, + {"2600:1415:3c01::/33", "20940"}, + {"2620:10e:6000::/40", "11279"}, + {"2001:250:1e00::/44", "138377"}, + {"2001:559:8089::/48", "13367"}, + {"2001:559:85f2::/48", "33652"}, + {"2001:b400:f000::/38", "3462"}, + {"240a:aa69::/32", "145315"}, + {"2620:120:2000::/40", "393983"}, + {"2a02:26f7:be49::/46", "20940"}, + {"2a04:400::/29", "34254"}, + {"2a0b:5dc0::/29", "198288"}, + {"2404:1c40:25::/44", "24432"}, + {"2408:840c:2000::/40", "17621"}, + {"2409:8739::/30", "9808"}, + {"2607:f8f0:400::/40", "271"}, + {"2800:590:2058::/42", "7004"}, + {"2804:2a4::/32", "262828"}, + {"2804:35a4::/32", "266298"}, + {"2804:7e80::/32", "271628"}, + {"2a03:50c0:3300::/40", "202087"}, + {"2a03:ad40:130::/48", "199349"}, + {"2001:559:8544::/48", "33662"}, + {"2001:559:8666::/47", "33657"}, + {"2620:12f:c009::/45", "395831"}, + {"2803:9800:b995::/46", "11664"}, + {"2804:1a88::/32", "61864"}, + {"2a02:26f7:ef4c::/48", "36183"}, + {"2a03:7520::/32", "13030"}, + {"2a06:6000::/29", "20802"}, + {"2001:df0:1b40::/48", "135906"}, + {"2400:a980::/40", "133111"}, + {"2408:8256:2d9b::/48", "17816"}, + {"2620:a5:6000::/48", "14618"}, + {"2804:204:710::/36", "28186"}, + {"2804:3c04:2::/32", "266185"}, + {"1900:5:2:2::5170/126", "3356"}, + {"2001:1900:2353::/45", "10753"}, + {"240a:a9c9::/32", "145155"}, + {"2620:171:55::/48", "715"}, + {"2a04:4e40:7c00::/48", "54113"}, + {"2001:559:8148::/48", "20214"}, + {"2001:1388:a::/43", "6147"}, + {"2001:44c8:43d0::/44", "45430"}, + {"2600:1401:3::/45", "20940"}, + {"2804:37b0::/36", "266429"}, + {"2804:56d0::/32", "268025"}, + {"2a03:65c0::/32", "61331"}, + {"2a0e:8f02:213a::/48", "211722"}, + {"2a0f:9880::/30", "208861"}, + {"2001:c48::/32", "9457"}, + {"2404:a800:7001::/32", "9498"}, + {"2a01:c50f:400::/39", "12479"}, + {"2001:500:6f::/48", "30128"}, + {"2001:678:32c::/48", "3170"}, + {"2404:4340:2::/32", "133275"}, + {"240a:af81::/32", "146619"}, + {"2600:1001:a110::/36", "22394"}, + {"2606:4f00:6::/48", "19324"}, + {"2a02:26f7:b850::/48", "36183"}, + {"2a0d:d9c7:a::/48", "208948"}, + {"240e:3bd:dc00::/34", "4134"}, + {"2606:ae40::/32", "174"}, + {"2607:ff28:b006::/47", "62904"}, + {"2804:8120::/32", "272434"}, + {"2a02:26f7:d6cc::/48", "36183"}, + {"240a:af4a::/32", "146564"}, + {"240e:3b2:7a00::/32", "140313"}, + {"2a02:618:a::/32", "20485"}, + {"2405:4200::/38", "24482"}, + {"2600:1404:f401::/36", "20940"}, + {"2801:16e:4::/48", "19429"}, + {"2a11:e000::/29", "42375"}, + {"2001:dcc:600::/48", "131100"}, + {"2401:7200:2010::/47", "55328"}, + {"2408:84f3:3e40::/33", "17816"}, + {"2600:140f:c001::/38", "20940"}, + {"2a00:cce0::/32", "43870"}, + {"2a03:521::/32", "201822"}, + {"2a06:e881:6200::/48", "60404"}, + {"2406:380::/31", "7979"}, + {"2804:11bc:4000::/38", "263435"}, + {"2001:559:c13e::/47", "33287"}, + {"2001:67c:21f8::/48", "34964"}, + {"2600:100f:9100::/44", "6167"}, + {"2604:9100:1000::/48", "25864"}, + {"2605:dbc0::/32", "397880"}, + {"2a01:5e00::/32", "34688"}, + {"2a02:888:8143::/48", "47794"}, + {"2a02:26f7:80::/48", "36183"}, + {"2001:678:8b0::/48", "43815"}, + {"2001:b08:16::/48", "29581"}, + {"2001:44b8:4063::/48", "4739"}, + {"2401:1a80::/32", "59374"}, + {"2605:3380:4184::/47", "12025"}, + {"2606:9380::/32", "15011"}, + {"2001:4878:c027::/48", "12222"}, + {"2409:8062:1100::/36", "9808"}, + {"2409:8904:5ab0::/39", "24547"}, + {"2605:a404:32f::/41", "33363"}, + {"2620:112:f006::/48", "6336"}, + {"2800:bf0:37c0::/45", "52257"}, + {"2803:24c0:600::/32", "264796"}, + {"2001:948:5a::/42", "39590"}, + {"240e:3b6:c000::/37", "140315"}, + {"2a02:f08::/32", "42184"}, + {"2001:1440:203::/48", "5401"}, + {"2407:cb00::/32", "23860"}, + {"2607:f060:b005::/33", "11404"}, + {"2801:136::/46", "19429"}, + {"2804:4f60:2000::/32", "268323"}, + {"2001:df1:6400::/48", "55925"}, + {"2604:a540::/32", "54594"}, + {"240a:ad5f::/32", "146073"}, + {"2a02:26f7:e7c1::/46", "20940"}, + {"2001:559:3b2::/47", "33660"}, + {"2405:1c0:6351::/46", "55303"}, + {"2600:1408:4c01::/35", "20940"}, + {"2606:5c80::/32", "394255"}, + {"2a10:d2c0::/32", "198288"}, + {"2a01:b740:a01::/48", "714"}, + {"2a02:26f7:c5c6::/47", "20940"}, + {"2a0a:90c2::/35", "198912"}, + {"2a0e:aa07:e300::/48", "149007"}, + {"2001:1578:400::/40", "35003"}, + {"2001:448a:5050::/40", "7713"}, + {"2402:5300:4700::/40", "38733"}, + {"2001:b400:f210::/45", "3462"}, + {"2a09:8387:ffff::/48", "51972"}, + {"2605:b800:788::/32", "23550"}, + {"2801:80:2430::/48", "268334"}, + {"2803:69e0::/32", "270015"}, + {"2a03:f180::/32", "42571"}, + {"2001:559:853b::/48", "33491"}, + {"2406:3003:2080::/48", "55430"}, + {"2604:2f40:243::/32", "29749"}, + {"2605:e000:70b::/48", "10838"}, + {"2800:160:1ffb::/34", "14259"}, + {"2801:8a::/32", "53187"}, + {"2804:4b40::/42", "267293"}, + {"2804:6ab8::/32", "270355"}, + {"2a02:26f0:ae::/43", "20940"}, + {"2001:559:81e9::/48", "7016"}, + {"2001:978:601::/36", "174"}, + {"2400:cb00:a625::/46", "13335"}, + {"2408:8026:710::/36", "17621"}, + {"2804:df0:2::/36", "262775"}, + {"2a03:7480:10::/44", "15699"}, + {"2a0a:59c7:100f::/43", "204724"}, + {"2a10:2f01:380::/42", "39526"}, + {"2804:5c78:5000::/32", "53245"}, + {"2806:239::/32", "18592"}, + {"2a01:5b0:a::/45", "8391"}, + {"2001:3c8:244::/35", "4621"}, + {"2409:8000:100::/37", "9808"}, + {"2409:8975::/28", "9808"}, + {"240a:a112::/32", "142924"}, + {"2001:df0:6440::/48", "149488"}, + {"240e:979:2f00::/35", "4134"}, + {"2a00:1180::/32", "15518"}, + {"2a0e:8f02:20f0::/45", "212008"}, + {"2001:559:77f::/48", "7015"}, + {"2600:1000:ff10::/31", "22394"}, + {"2800:160:2ba1::/37", "14259"}, + {"2804:14c:8183::/41", "28573"}, + {"2001:559:8767::/48", "7725"}, + {"2001:559:c412::/47", "7922"}, + {"2001:67c:1424::/48", "49030"}, + {"2405:ad40::/32", "137159"}, + {"240a:a0c0::/32", "142842"}, + {"2a11:4740::/29", "204790"}, + {"2407:9001:200::/45", "2764"}, + {"240a:a370::/32", "143530"}, + {"240e:3bd:2200::/37", "136198"}, + {"2620:103:e008::/47", "16711"}, + {"2001:559:363::/48", "33652"}, + {"2409:8054:3028::/47", "9808"}, + {"2409:8c1f:75c0::/32", "9808"}, + {"240a:ab1c::/32", "145494"}, + {"2604:d600:1517::/44", "32098"}, + {"2804:2e78:2000::/32", "28213"}, + {"2804:783c::/32", "271229"}, + {"2806:2f0:40a1::/46", "17072"}, + {"2001:559:c248::/48", "33650"}, + {"2402:3a80:c02c::/48", "38266"}, + {"2403:1b80::/48", "59083"}, + {"2404:87c0::/32", "138652"}, + {"2620:b0:8000::/48", "54297"}, + {"2804:6304::/32", "269333"}, + {"2a0d:7700::/29", "41645"}, + {"2001:559:3e8::/48", "33489"}, + {"2408:8957:6a00::/40", "17622"}, + {"240a:a7d7::/32", "144657"}, + {"2804:d7c:200::/35", "52634"}, + {"2a02:2e02:39f0::/38", "12479"}, + {"2001:559:8780::/47", "7015"}, + {"2001:c38:9201::/36", "9931"}, + {"2800:bf0:a00c::/39", "27947"}, + {"2a06:4e80::/29", "49375"}, + {"2600:1008:a100::/43", "6167"}, + {"2605:cd40:2::/32", "14363"}, + {"2a0b:b780::/29", "206291"}, + {"2a0b:d700::/29", "13178"}, + {"2607:1280:1310::/44", "394972"}, + {"2804:8358::/32", "272192"}, + {"2a0b:25c0::/29", "58243"}, + {"2a0c:7600::/29", "205190"}, + {"2001:56b:400c::/35", "852"}, + {"2401:d800:2c40::/42", "7552"}, + {"2607:fdf0:5e1e::/42", "8008"}, + {"2804:70d8::/32", "270743"}, + {"2c0f:ef98::/32", "328359"}, + {"2a02:26f7:c544::/48", "36183"}, + {"2404:6c80::/32", "134658"}, + {"2a02:fe9:337::/32", "39686"}, + {"2a02:26f7:56::/48", "36183"}, + {"2a02:26f7:e2c9::/42", "20940"}, + {"2a05:4a40:fff0::/44", "2571"}, + {"2a06:941::/48", "202958"}, + {"2001:67c:2b0c::/48", "15542"}, + {"2001:18e8::/46", "87"}, + {"240a:a5af::/32", "144105"}, + {"2804:1d3c:8000::/33", "264356"}, + {"2a01:7fe0::/32", "199803"}, + {"2a02:21b2:ac14::/48", "57370"}, + {"2001:1218:604d::/43", "278"}, + {"2001:16a2:c3cc::/46", "39891"}, + {"2001:4408:7001::/38", "4758"}, + {"240a:a49c::/32", "143830"}, + {"2600:6c10:ffb5::/41", "20115"}, + {"2a01:8400::/32", "20676"}, + {"2a02:2658:3000::/32", "20860"}, + {"2a03:1ac0:2e00::/48", "34533"}, + {"2a04:c7c0::/29", "31382"}, + {"2a0c:9a40:1005::/48", "34927"}, + {"2001:559:8224::/48", "7725"}, + {"2001:c10::/32", "7473"}, + {"240a:a2d3::/32", "143373"}, + {"2605:4300:1213::/40", "22616"}, + {"2800:160:1866::/44", "14259"}, + {"2804:2fa4::/32", "52771"}, + {"2400:cb00:131::/48", "395747"}, + {"2804:2c80::/32", "265223"}, + {"2a02:26f7:d080::/48", "36183"}, + {"2a0d:2584:efff::/48", "141776"}, + {"2a0d:5087:1a2c::/48", "34202"}, + {"2001:559:45::/48", "33659"}, + {"2001:1248:998f::/42", "11172"}, + {"2620:118:a000::/47", "42633"}, + {"2804:2ff8::/32", "264923"}, + {"2c0f:fe38:2::/45", "33771"}, + {"2001:1388:49ca::/35", "6147"}, + {"2801:80:3780::/48", "269543"}, + {"2a05:fdc0:1001::/29", "42313"}, + {"2a0a:e5c0:10::/48", "213081"}, + {"2a0d:d81::/32", "213075"}, + {"2001:559:81c0::/48", "7015"}, + {"240e:3b5:7600::/39", "140313"}, + {"2605:a7c0:130::/48", "14618"}, + {"240a:a10e::/32", "142920"}, + {"240a:aae5::/32", "145439"}, + {"2001:16a6:c100::/40", "25019"}, + {"2a04:8f40:1000::/48", "205505"}, + {"240a:a657::/32", "144273"}, + {"2a02:26f7:f744::/48", "36183"}, + {"2001:470:8b::/45", "6939"}, + {"2001:67c:2dd0::/48", "200881"}, + {"2602:fdab::/36", "397968"}, + {"2602:feb4:120::/44", "25961"}, + {"2610:20:5110::/42", "5744"}, + {"2a06:8146:49a1::/48", "199364"}, + {"2001:559:1a5::/48", "33287"}, + {"2001:559:c150::/48", "33668"}, + {"240e:67f:c400::/39", "140330"}, + {"2a01:a180::/32", "47212"}, + {"2001:559:c422::/48", "7725"}, + {"2001:67c:7e8::/48", "47405"}, + {"2600:6c38:b1::/41", "20115"}, + {"2804:2728:713::/36", "263880"}, + {"2a0c:9180::/48", "13127"}, + {"2600:1413:7001::/36", "20940"}, + {"2620:138:30ff::/48", "398849"}, + {"2804:214:8753::/40", "26615"}, + {"2a0c:b641:5f0::/44", "212832"}, + {"2a0f:280::/29", "57353"}, + {"2400:adc0::/45", "9541"}, + {"2409:8c14:3c00::/32", "56044"}, + {"2620:9b:8000::/40", "36152"}, + {"2a01:c50f:a140::/37", "12479"}, + {"2a10:cc42:19d6::/44", "20473"}, + {"2001:559:8708::/48", "33650"}, + {"2001:559:870f::/48", "20214"}, + {"2400:cb00:429::/48", "13335"}, + {"2404:8d06:6000::/40", "133543"}, + {"2600:1415:801::/38", "20940"}, + {"2620:171:ab::/43", "715"}, + {"2803:7210:effe::/48", "21826"}, + {"2a00:8de7::/32", "51840"}, + {"2a0d:1e40::/29", "202714"}, + {"2001:559:491::/48", "33657"}, + {"2404:1400::/48", "46027"}, + {"2408:8459:a410::/42", "17623"}, + {"2806:2a0:1c::/42", "28548"}, + {"2a10:4741:30::/45", "208914"}, + {"2402:3a80:1ab8::/41", "38266"}, + {"240e:983:5::/39", "4134"}, + {"2607:fc58:1:97::/60", "13536"}, + {"2804:76f8::/32", "271146"}, + {"2a0a:4640:21::/29", "206177"}, + {"2a10:cc42:1800::/40", "20473"}, + {"2001:559:8034::/48", "33490"}, + {"2001:559:c350::/48", "7922"}, + {"2600:8809:c000::/30", "22773"}, + {"2602:fd9c::/36", "398045"}, + {"2a11:8180::/29", "56897"}, + {"2001:388:10e1::/34", "7575"}, + {"2001:559:c494::/46", "7922"}, + {"2407:4e00:1:1::/62", "17995"}, + {"2a02:2538::/32", "43012"}, + {"2001:67c:17cc::/48", "3301"}, + {"2605:a900:d::/46", "46887"}, + {"2a02:ff0:2::/48", "12735"}, + {"2a02:26f0:1c::/48", "31108"}, + {"2a03:6400:30::/44", "11054"}, + {"2a0e:b107:2b::/48", "208059"}, + {"2001:559:70c::/48", "33659"}, + {"2a07:8d80::/29", "61110"}, + {"2001:1248:a43d::/41", "11172"}, + {"2804:2954::/32", "264009"}, + {"2602:808:c000::/48", "19661"}, + {"2804:4aec::/32", "267272"}, + {"2a02:26f7:facd::/42", "20940"}, + {"2a06:cd40:cafe::/47", "43927"}, + {"2a09:4c2:35::/41", "58057"}, + {"2c0f:ecb0::/32", "328423"}, + {"2001:12f0:b40::/42", "1916"}, + {"2603:fa70::/24", "397165"}, + {"2409:8054:29::/45", "56040"}, + {"2610:a1:3034::/48", "12008"}, + {"2a02:3d0:601::/42", "22822"}, + {"2a04:4e42:18::/42", "54113"}, + {"2a06:a005:bb::/48", "207941"}, + {"2a0f:5707:abc0::/44", "210887"}, + {"2404:bf40:c3c2::/47", "7545"}, + {"240a:a745::/32", "144511"}, + {"2607:d500:a00::/40", "54527"}, + {"2607:f920::/32", "11758"}, + {"2a03:f200::/32", "30962"}, + {"2a04:4b80::/29", "39397"}, + {"2001:67c:2e4::/48", "47886"}, + {"2001:67c:1790::/48", "51350"}, + {"2001:4d78:2700::/40", "15830"}, + {"2401:d800:b430::/41", "7552"}, + {"2804:84::/32", "14282"}, + {"2a02:26f7:69::/48", "20940"}, + {"2a05:9a00:1000::/46", "59441"}, + {"2406:7600::/32", "38084"}, + {"240a:a194::/32", "143054"}, + {"2600:1406:d800::/48", "35994"}, + {"2604:d600:1133::/44", "32098"}, + {"2620:7c:a000::/48", "32982"}, + {"2800:40:36::/32", "16814"}, + {"2a06:14c0::/32", "213211"}, + {"2a05:8883:ffff::/48", "48749"}, + {"2605:dd40:8201::/46", "398549"}, + {"2a01:c9c0:8000::/48", "2280"}, + {"2a02:ac80:701::/36", "25145"}, + {"2a04:4e40:f800::/48", "54113"}, + {"2001:559:81a9::/48", "33651"}, + {"2001:67c:16cc::/48", "59469"}, + {"2001:14b0:54::/32", "12374"}, + {"2001:4408:5201::/46", "4758"}, + {"2404:a140:a::/45", "138915"}, + {"240a:ab37::/32", "145521"}, + {"2a00:86c0:263::/35", "2906"}, + {"2a0c:44c0:1::/46", "198611"}, + {"2607:f2b1:70::/47", "12257"}, + {"2803:2a20::/32", "265850"}, + {"2001:559:c47d::/40", "7922"}, + {"2001:da8:c4::/48", "138393"}, + {"2401:7500:fff2::/47", "33480"}, + {"240e:0:9000::/36", "23724"}, + {"2610:e0:a020::/43", "2572"}, + {"2803:a210::/32", "271900"}, + {"2804:5d1c::/32", "268951"}, + {"2a00:c940::/32", "12581"}, + {"2001:1248:9987::/44", "11172"}, + {"2402:a740::/32", "134868"}, + {"240e:a65:1a00::/34", "140330"}, + {"2604:9d40:1337::/48", "393290"}, + {"2a06:e180::/29", "57081"}, + {"2a0b:4380::/32", "43594"}, + {"2001:dce:d452::/47", "45285"}, + {"2406:8800:9019::/46", "17465"}, + {"2607:7b80:f000::/36", "32798"}, + {"2a04:d202::/29", "61438"}, + {"2001:7fb:fd04::/48", "15562"}, + {"2401:4900:18f0::/39", "45609"}, + {"240a:a245::/32", "143231"}, + {"240a:a264::/32", "143262"}, + {"2a02:3d0:8::/37", "22822"}, + {"2a0a:2846:1::/36", "42962"}, + {"2607:f428::/32", "20115"}, + {"2801:1a:c800::/48", "262589"}, + {"2405:4803:2d0::/44", "18403"}, + {"2409:e:e1::/48", "142502"}, + {"2607:fc58:1:23::/64", "13536"}, + {"2a04:5b81:2000::/48", "206499"}, + {"2a06:cd00::/29", "57129"}, + {"2001:559:8762::/48", "20214"}, + {"2402:2f80:1::/48", "38001"}, + {"2405:d000:8000::/33", "18024"}, + {"2610:b0:2070::/33", "3573"}, + {"2803:9800:b01a::/42", "11664"}, + {"2606:d00::/32", "3926"}, + {"2a04:4e41:18::/42", "54113"}, + {"2620:0:120::/48", "32058"}, + {"2a01:8840:6e::/43", "12041"}, + {"2409:40c3::/26", "55836"}, + {"2409:804c::/42", "9808"}, + {"2600:b404::/32", "57695"}, + {"2605:a7c0:150::/48", "14618"}, + {"2607:f928:17::/33", "22645"}, + {"2804:653c::/32", "269477"}, + {"2001:4c58::/30", "8286"}, + {"2600:380:d400::/44", "20057"}, + {"2a0c:3800:ff::/39", "205315"}, + {"2001:67c:254::/48", "51224"}, + {"240a:a949::/32", "145027"}, + {"2602:fbd0:12::/48", "14618"}, + {"2a02:26f7:d8c0::/48", "36183"}, + {"2a05:8880:5::/30", "34304"}, + {"2a0d:7100:b::/48", "44167"}, + {"2a0e:46c7:2a0e::/48", "210645"}, + {"240e:109:802a::/48", "63835"}, + {"2806:10ae:5::/44", "8151"}, + {"2a04:4e40:cc30::/41", "54113"}, + {"2a00:ddc0::/32", "47836"}, + {"2a07:8c40::/47", "202810"}, + {"2a09:6301::/30", "48314"}, + {"2409:891a::/29", "132525"}, + {"240a:ac7f::/32", "145849"}, + {"2600:6c21:406::/44", "20115"}, + {"2804:4ca0::/47", "267381"}, + {"2a02:598::/46", "43037"}, + {"2a02:26f7:c241::/46", "20940"}, + {"2a0b:b500:f800::/48", "60764"}, + {"2400:3a60::/36", "149051"}, + {"2403:3800:9::/37", "4007"}, + {"2408:840d:8f00::/42", "17621"}, + {"2620:0:1605::/48", "6984"}, + {"2620:135:604a::/45", "22697"}, + {"2803:f960::/32", "269749"}, + {"2804:7588::/32", "271053"}, + {"2804:7c70::/32", "271496"}, + {"2a02:26f7:db08::/48", "36183"}, + {"2a02:2808:1005::/48", "196943"}, + {"2402:e380:307::/48", "137219"}, + {"2405:7f00:8360::/37", "133414"}, + {"240e:183:8228::/29", "4134"}, + {"2a05:dfc7:beef::/48", "204136"}, + {"240e:438:4820::/43", "140647"}, + {"2600:370f:3105::/41", "32261"}, + {"2804:417c::/32", "267436"}, + {"2804:6978::/32", "270272"}, + {"2804:31a4::/32", "265028"}, + {"2605:ef80:800a::/40", "36492"}, + {"2620:139:a000::/44", "31807"}, + {"2a01:190:1500::/48", "206159"}, + {"2a09:bac0:433::/48", "13335"}, + {"2402:9900::/48", "27435"}, + {"240a:ab1d::/32", "145495"}, + {"2804:140::/32", "53138"}, + {"2408:8256:798::/36", "17622"}, + {"2605:a401:889d::/39", "33363"}, + {"2a03:db80:4405::/44", "680"}, + {"2a07:3500:11a0::/48", "1136"}, + {"2a0d:b400::/29", "60695"}, + {"2001:559:6c::/47", "7922"}, + {"2001:678:358::/48", "206514"}, + {"2403:e600:1000::/32", "58376"}, + {"240a:ad7b::/32", "146101"}, + {"2600:140a:3001::/33", "20940"}, + {"2600:370f:7348::/45", "32261"}, + {"2a07:89c0::/48", "199484"}, + {"2001:638::/38", "680"}, + {"2001:67c:2bf8::/48", "3301"}, + {"2403:b3c0::/48", "135905"}, + {"2407:7c0::/43", "138128"}, + {"2409:8904:a440::/39", "24547"}, + {"2a0c:d240::/29", "43341"}, + {"2604:2d80:7000::/39", "30036"}, + {"2607:fda0::/32", "27008"}, + {"2801:80:3ab0::/41", "270410"}, + {"2804:1b3:4006::/40", "18881"}, + {"2a0b:f4c0:1a4::/48", "205100"}, + {"2001:67c:29b8::/48", "48430"}, + {"2001:c20:486b::/48", "3758"}, + {"2408:80ea:79a0::/38", "17816"}, + {"2409:8904:6970::/40", "24547"}, + {"2001:650:cc02::/48", "3320"}, + {"2400:9c80:1::/48", "58401"}, + {"2409:8057:3062::/44", "56040"}, + {"2409:896a:3a00::/39", "9808"}, + {"240a:a930::/32", "145002"}, + {"2602:ffe0::/36", "27337"}, + {"2a02:cb80:4280::/45", "43766"}, + {"2600:1006:a000::/43", "6167"}, + {"2001:559:3cc::/48", "7015"}, + {"2001:559:4c1::/48", "7922"}, + {"2001:559:8020::/43", "7922"}, + {"2402:7500:5ff::/38", "24158"}, + {"240a:a5bb::/32", "144117"}, + {"2600:1100::/28", "7381"}, + {"2804:1b44::/32", "61717"}, + {"2804:38cc::/32", "266502"}, + {"2a02:26f7:e78d::/42", "20940"}, + {"2409:8c4d:5201::/30", "9808"}, + {"2804:5334::/32", "268569"}, + {"2806:2f0:7263::/40", "17072"}, + {"2001:1248:5bac::/43", "11172"}, + {"2606:b400:8012::/48", "31898"}, + {"2804:14d:b484::/41", "28573"}, + {"2a0e:b107:5a5::/46", "203943"}, + {"240e:16:b209::/37", "38283"}, + {"2804:ea8::/32", "262966"}, + {"2a02:f740::/29", "39834"}, + {"2a09:bac0:69::/48", "13335"}, + {"2a0f:6680::/29", "41820"}, + {"2001:568:900::/37", "852"}, + {"2001:1248:9a0d::/42", "11172"}, + {"240e:870:50::/30", "4134"}, + {"2804:1ce4::/34", "61681"}, + {"2804:8434:37f::/40", "272246"}, + {"2806:2f0:9c83::/42", "17072"}, + {"2a02:2c8::/32", "44381"}, + {"2a05:cf00::/29", "201014"}, + {"2c0f:fba0::/45", "37333"}, + {"2400:a980:7900::/37", "133111"}, + {"240a:aa5b::/32", "145301"}, + {"2602:fc56::/36", "397901"}, + {"2804:5c0::/32", "262537"}, + {"2a00:9000::/29", "20910"}, + {"2a09:20c0::/31", "25115"}, + {"2001:559:c080::/47", "33491"}, + {"2401:d800:9bc0::/42", "7552"}, + {"2804:1c74::/32", "52712"}, + {"2804:4ed0::/32", "268284"}, + {"2c0f:f188:7::/48", "328228"}, + {"2001:978:2305::/48", "9009"}, + {"2407:4d00:fd02::/48", "38841"}, + {"2602:fd82::/36", "394728"}, + {"2803:ad80::/48", "42473"}, + {"2804:21f8::/44", "262272"}, + {"2001:250:238::/46", "23910"}, + {"2001:4998:180::/48", "7280"}, + {"2400:c600:1331::/48", "24389"}, + {"240a:a991::/32", "145099"}, + {"240a:a9d7::/32", "145169"}, + {"2806:2f0:9d03::/42", "17072"}, + {"2a06:1e00:70::/48", "60695"}, + {"2c0f:fbd8::/34", "37542"}, + {"2001:559:83c3::/48", "33287"}, + {"2401:d800:2b0::/41", "7552"}, + {"240e:44d:2e40::/42", "140349"}, + {"2604:1240:9000::/48", "53423"}, + {"2604:2700:200::/32", "32181"}, + {"2620:53:2000::/48", "6521"}, + {"2a02:28b7::/32", "51790"}, + {"2404:3a00::/48", "45557"}, + {"240e:678:8400::/38", "140329"}, + {"2607:f740:100::/47", "36236"}, + {"2804:5bac::/48", "268862"}, + {"2a02:688::/32", "5394"}, + {"2a06:2340:2000::/44", "9558"}, + {"2001:250:3444::/48", "23910"}, + {"2001:579:2052::/37", "22773"}, + {"2401:d800:e10::/42", "7552"}, + {"2620:1d6:ffe::/47", "2571"}, + {"2804:446c:8001::/33", "28369"}, + {"2a02:578:5c00::/38", "9031"}, + {"2a03:e60:8000::/46", "47530"}, + {"2001:559:1c2::/48", "7015"}, + {"2001:4978:f::/48", "26943"}, + {"2402:8100:20df::/42", "55644"}, + {"2404:4f00:3044::/48", "394749"}, + {"240e:979:3f00::/33", "4134"}, + {"2607:6b80:32::/48", "9009"}, + {"2001:49f0:d001::/44", "174"}, + {"2803:f680::/32", "263230"}, + {"2a0f:c600::/29", "208262"}, + {"240a:a9cb::/32", "145157"}, + {"2a02:26f7:109::/45", "20940"}, + {"2001:da8:203f::/48", "138369"}, + {"2001:4888:8056::/48", "22394"}, + {"2405:c5c0::/32", "139976"}, + {"240a:a41f::/32", "143705"}, + {"240a:a42d::/32", "143719"}, + {"2a02:3a8::/32", "15965"}, + {"2001:1248:977f::/48", "11172"}, + {"2404:2440:face::/48", "138521"}, + {"2804:4b0:4e4::/44", "262459"}, + {"2804:7b18::/32", "271410"}, + {"2a02:60a0::/32", "8793"}, + {"2a05:ee80::/29", "202523"}, + {"2401:b780:68::/47", "65435"}, + {"2409:8904:e1b0::/38", "24547"}, + {"2607:da00:802::/32", "15164"}, + {"2804:6438::/32", "269414"}, + {"2804:7788::/32", "271184"}, + {"2a00:4802:3f00::/33", "8717"}, + {"2001:16a2:c0f4::/44", "39386"}, + {"240a:ade6::/32", "146208"}, + {"2606:bd80::/32", "53732"}, + {"2804:1cc4::/33", "61674"}, + {"2a00:11c0:beef::/48", "42473"}, + {"2a03:4da0::/32", "25341"}, + {"2a07:3c80::/40", "209322"}, + {"2405:7100::/32", "38474"}, + {"2407:b7c0::/32", "17754"}, + {"2408:8459:9650::/36", "17816"}, + {"2605:a401:878c::/42", "33363"}, + {"2620:90:a000::/47", "398989"}, + {"2804:2ee0::/32", "265372"}, + {"2a02:6ca3::/32", "50242"}, + {"2001:559:8353::/48", "33659"}, + {"2001:df6:bd00::/48", "138069"}, + {"2600:1409:7000::/48", "35994"}, + {"2001:4298:89::/32", "30990"}, + {"2405:d800:111::/48", "393954"}, + {"2620:14:e000::/48", "54177"}, + {"2804:2728::/46", "263880"}, + {"2804:7ce8::/32", "271526"}, + {"2a11:1180::/29", "204790"}, + {"2001:559:86f3::/48", "7725"}, + {"2607:f750:9000::/39", "23473"}, + {"2620:e9::/48", "11286"}, + {"2a04:4e40:7610::/44", "54113"}, + {"2a0c:cc00::/32", "205206"}, + {"2001:16a2:16::/42", "39386"}, + {"2602:ff84::/48", "13213"}, + {"2804:7c0c::/32", "271472"}, + {"2403:cb00:cb00::/46", "58621"}, + {"2407:e9c0::/45", "17439"}, + {"2409:896a:9400::/39", "9808"}, + {"2804:53fc::/32", "268621"}, + {"2806:2f0:2223::/43", "17072"}, + {"2a06:dd00::/29", "56694"}, + {"2a0a:9440::/29", "57111"}, + {"2a0b:6700::/32", "197277"}, + {"2001:250:3402::/45", "138438"}, + {"240a:a600::/32", "144186"}, + {"240e:3:8000::/47", "134761"}, + {"2804:1af4::/32", "61700"}, + {"240a:a9f6::/32", "145200"}, + {"2804:4a18::/32", "267218"}, + {"2804:685c::/32", "269687"}, + {"2804:82ac::/32", "272533"}, + {"2a04:9140:3003::/48", "201958"}, + {"2001:559:49a::/47", "21508"}, + {"2001:559:c326::/47", "7922"}, + {"2402:4440:9820::/37", "24423"}, + {"2408:8256:3d75::/48", "17816"}, + {"2a01:210::/32", "8510"}, + {"2a02:9009:201::/27", "3352"}, + {"2401:d800:b3f0::/37", "7552"}, + {"240e:938:f920::/25", "4134"}, + {"2800:160:1f72::/45", "14259"}, + {"2804:14d:1031::/40", "28573"}, + {"2001:550:9203::/36", "174"}, + {"2001:67c:16dc::/48", "559"}, + {"2001:4478:2200::/40", "4739"}, + {"2404:f4c0:a003::/43", "210320"}, + {"2804:3dc8::/32", "266553"}, + {"2a11:680::/29", "208861"}, + {"2409:807e:3900::/31", "9808"}, + {"2a02:26f0:13e::/38", "20940"}, + {"2a0a:f040::/29", "61961"}, + {"2a0b:ea00::/32", "41827"}, + {"2c0f:fc89:60::/43", "36992"}, + {"2606:8e80:4800::/35", "32133"}, + {"2001:500:91::/46", "15135"}, + {"2001:44b8:406a::/48", "7545"}, + {"2408:84f3:3420::/43", "17816"}, + {"2801:13:e800::/48", "271925"}, + {"2a00:54a0::/32", "50941"}, + {"2a02:26f7:d609::/46", "20940"}, + {"2a02:26f7:f68d::/42", "20940"}, + {"2001:67c:2084::/48", "44030"}, + {"2403:ba00:2030::/32", "24521"}, + {"2408:8456:9a40::/37", "17816"}, + {"240a:a2e3::/32", "143389"}, + {"240a:a3a0::/32", "143578"}, + {"2804:640:90::/39", "262713"}, + {"2001:559:8357::/48", "20214"}, + {"2402:79c0:f008::/46", "30060"}, + {"2402:9e80:8::/48", "29802"}, + {"2406:4f40:c::/43", "40676"}, + {"2607:f5b7::/32", "30633"}, + {"2a04:fee3::/32", "49774"}, + {"2a0e:b107:9dc::/48", "141237"}, + {"2001:678:98::/48", "51833"}, + {"2001:678:4c4::/48", "48060"}, + {"2804:6bfc::/32", "270438"}, + {"240a:a7b6::/32", "144624"}, + {"2600:180a:4002::/31", "16552"}, + {"2804:3ed8::/32", "266624"}, + {"2804:4c0c:70::/32", "267345"}, + {"2a02:88d:21f::/48", "47794"}, + {"2a07:2902:400::/38", "3303"}, + {"2a07:d883:100::/48", "208476"}, + {"2a0f:9400:8001::/48", "208393"}, + {"2001:f58::/32", "18126"}, + {"240a:ad86::/32", "146112"}, + {"2620:19b::/32", "19648"}, + {"2804:3c8::/32", "262908"}, + {"2804:3938::/32", "266019"}, + {"2a00:e900::/29", "41175"}, + {"2a03:580::/32", "15576"}, + {"2402:6800:763::/45", "55429"}, + {"2a02:26f0:9f::/48", "34164"}, + {"2001:550:c00:105::/45", "174"}, + {"2001:559:872b::/45", "7922"}, + {"2607:fc58:1:e::/64", "13536"}, + {"2404:f4c0:ff01::/48", "139247"}, + {"2406:e480::/32", "135371"}, + {"240e:3b4:f100::/37", "134775"}, + {"2a00:77e0::/32", "60868"}, + {"2a03:8d20:1ce::/48", "200849"}, + {"2001:559:c4ab::/48", "33657"}, + {"2402:800:3be0::/44", "7552"}, + {"2610:a1:1019::/48", "397228"}, + {"2a02:26f7:ca41::/46", "20940"}, + {"2a06:5040:8::/47", "60188"}, + {"2001:559:c238::/48", "7922"}, + {"2401:d800:7092::/41", "7552"}, + {"240a:a103::/32", "142909"}, + {"240e:db:f000::/37", "4134"}, + {"2a01:7d80:c000::/40", "62214"}, + {"2a01:9700::/35", "8376"}, + {"2a04:4e40:8c00::/48", "54113"}, + {"2a06:8144:1121::/48", "199364"}, + {"2001:4c8:1018::/45", "15290"}, + {"2408:840c:5b00::/40", "17621"}, + {"240a:a7d5::/32", "144655"}, + {"240a:ae8b::/32", "146373"}, + {"240e:44d:4a80::/41", "4134"}, + {"2804:14e8::/32", "263015"}, + {"2a05:2a00::/29", "59816"}, + {"2401:4900:2ec0::/39", "45609"}, + {"2409:8958:ca44::/43", "9808"}, + {"2a0f:b300:1000::/46", "208200"}, + {"2001:579:5a64::/40", "22773"}, + {"2001:da8:201f::/48", "23910"}, + {"2402:e280:4112::/40", "134674"}, + {"2606:2800:420e::/47", "14210"}, + {"2606:4700:42c8::/45", "13335"}, + {"2a02:1397:4000::/40", "21351"}, + {"2001:44b8:105d::/48", "4739"}, + {"240a:a073::/32", "142765"}, + {"2803:9800:9997::/34", "11664"}, + {"2a0f:c087:89ca::/48", "212521"}, + {"2402:800:7e30::/41", "7552"}, + {"2604:5500:b400::/38", "19165"}, + {"2804:2050:5a9f::/34", "264485"}, + {"2001:d68:10::/46", "38759"}, + {"2405:58c0:3a::/47", "140840"}, + {"2409:4042:5000::/31", "55836"}, + {"2600:2c00:4000::/36", "7349"}, + {"2605:2180:911::/32", "12422"}, + {"2405:9800:d001::/48", "134240"}, + {"2804:6318::/32", "269338"}, + {"2a04:f580:9000::/46", "4809"}, + {"2a09:d881::/48", "209680"}, + {"2001:67c:85c::/48", "210775"}, + {"2001:c20:48b5::/48", "9255"}, + {"2001:4b22:12:1::/29", "34288"}, + {"240e:44d:3980::/41", "4134"}, + {"2600:1407:2c01::/35", "20940"}, + {"2800:320:8401::/48", "27882"}, + {"2804:4544::/40", "266915"}, + {"2a01:6d8::/32", "30889"}, + {"2001:67c:2970::/48", "211722"}, + {"2408:8456:4c00::/42", "17622"}, + {"2409:8750:900::/38", "56047"}, + {"240a:a00b::/32", "142661"}, + {"240c:ca24::/30", "23910"}, + {"2a02:2ab8:310::/42", "702"}, + {"2001:4878:4003::/48", "35994"}, + {"2408:8459:d1c0::/36", "17816"}, + {"240a:a75f::/32", "144537"}, + {"2800:370:a::/48", "28006"}, + {"2804:3e24::/32", "266576"}, + {"2800:a30:1709::/33", "262187"}, + {"2803:2b00::/35", "52468"}, + {"2804:64b8:4000::/34", "269444"}, + {"2a0b:ed42::/29", "212547"}, + {"2001:df2:9b00::/48", "56141"}, + {"2404:f4c0:5000::/39", "139248"}, + {"2605:640f:bcd7::/48", "211481"}, + {"2804:14d:4ce5::/44", "28573"}, + {"2a00:b940::/32", "33991"}, + {"2001:678:93c::/48", "209467"}, + {"2803:6680:102::/32", "267789"}, + {"2a07:81c0::/29", "29608"}, + {"2001:559:4e6::/48", "7016"}, + {"2001:559:81eb::/45", "7922"}, + {"2001:df3:f980::/48", "132040"}, + {"2409:804f:1100::/36", "9808"}, + {"2a04:4e40:8400::/48", "54113"}, + {"240e:940:ee00::/40", "136197"}, + {"2604:d600:15ee::/43", "32098"}, + {"2804:23bc::/32", "264180"}, + {"2402:2900::/32", "45701"}, + {"2a01:111:4005::/36", "8075"}, + {"2a0a:7880:103::/48", "206677"}, + {"2806:2f0:7283::/42", "17072"}, + {"2402:e380:305::/48", "135103"}, + {"240e:3b4:2c00::/35", "134774"}, + {"2610:e0:3000::/33", "2572"}, + {"2a00:8860:300::/48", "50389"}, + {"2001:1248:566a::/43", "11172"}, + {"2408:8459:1850::/39", "17816"}, + {"240a:a060::/32", "142746"}, + {"2606:2800:4ae4::/46", "15133"}, + {"2001:67c:7b0::/48", "57287"}, + {"2001:44b8:6044::/44", "7545"}, + {"2404:c000:4000::/46", "45147"}, + {"240a:abdb::/32", "145685"}, + {"2605:a404:722::/41", "33363"}, + {"2804:14d:1800::/40", "28573"}, + {"2a01:8840:5a::/45", "12041"}, + {"2a02:26f7:d651::/42", "20940"}, + {"2001:1960::/46", "5650"}, + {"2401:d800:9b30::/41", "7552"}, + {"2605:8300:3::/44", "33059"}, + {"2a02:26f7:ce48::/48", "36183"}, + {"2600:6c38:b25::/46", "20115"}, + {"2804:25bc:21::/32", "264299"}, + {"2405:9800:b01b::/42", "133481"}, + {"2a00:1248:501d::/46", "39058"}, + {"2a07:a905:ffef::/48", "204543"}, + {"2a0c:b641:270::/44", "207149"}, + {"2400:cb00:36::/48", "132892"}, + {"2804:7108::/32", "52881"}, + {"240a:aea1::/32", "146395"}, + {"240e:90e:2000::/36", "137688"}, + {"2800:bf0:152::/44", "27947"}, + {"2001:67c:28f0::/48", "57090"}, + {"2a00:4802:e40::/40", "13124"}, + {"2001:67c:1548::/48", "200693"}, + {"2001:7c8::/29", "2110"}, + {"2408:8956:8100::/40", "17816"}, + {"2604:f400:1::/48", "26878"}, + {"2804:13b4:8400::/33", "262288"}, + {"2804:4df4::/32", "268230"}, + {"2a02:328::/29", "25279"}, + {"2a0e:1d80:8::/47", "9009"}, + {"2402:7500:5b3::/45", "24158"}, + {"2409:8924:4300::/37", "56046"}, + {"2804:4068::/32", "265957"}, + {"2a01:488:bb05::/48", "20773"}, + {"2a04:680::/29", "61395"}, + {"2a0a:90c0:10c1::/48", "205080"}, + {"240a:a7d9::/32", "144659"}, + {"2600:140b:c00::/48", "31109"}, + {"2a02:26f7:d848::/48", "36183"}, + {"2a02:cb80:2510::/48", "43766"}, + {"2001:448a:70b0::/32", "7713"}, + {"2600:1005:b080::/42", "22394"}, + {"2001:c20:485e::/47", "9255"}, + {"240c:ca12::/32", "23910"}, + {"240e:107:c100::/40", "134774"}, + {"2a02:26f7:dac4::/48", "36183"}, + {"2001:4d0:109::/34", "297"}, + {"2001:2041::/32", "1299"}, + {"2408:8956:cb40::/40", "17816"}, + {"240e:108:4a::/48", "4811"}, + {"2600:100d:9100::/44", "6167"}, + {"2606:2e00:8002::/47", "32780"}, + {"2620:0:28b0::/48", "2936"}, + {"2001:678:498::/48", "44574"}, + {"240a:ae7a::/32", "146356"}, + {"2a00:ef80::/32", "35334"}, + {"2408:8256:2f97::/44", "17623"}, + {"2408:8738::/32", "4837"}, + {"240a:a235::/32", "143215"}, + {"2620:0:250::/48", "7046"}, + {"2a00:7280::/32", "56745"}, + {"2a02:26f7:e515::/46", "20940"}, + {"2401:d800:b030::/41", "7552"}, + {"2600:1415:1001::/37", "20940"}, + {"2602:fcd8:10::/46", "399141"}, + {"2605:3380:d000::/36", "395174"}, + {"2800:484:f200::/40", "14080"}, + {"2804:214:8788::/33", "26615"}, + {"2a01:c50f:9f40::/34", "12479"}, + {"2a02:888:8043::/48", "47794"}, + {"2a03:1a60::/32", "197161"}, + {"2a09:be40:ba00::/47", "208915"}, + {"2a0e:8200::/29", "206516"}, + {"2001:578:139::/45", "22773"}, + {"2001:67c:2658::/48", "204179"}, + {"2402:f800:f000::/36", "7602"}, + {"2408:84f4::/28", "4837"}, + {"2804:7c98::/32", "271506"}, + {"2a01:5041:2::/48", "202196"}, + {"2a01:9fc0::/32", "3238"}, + {"2001:559:407::/48", "22258"}, + {"2404:ae40::/32", "138932"}, + {"2603:c024::/35", "31898"}, + {"2607:f6f0:8000::/48", "32550"}, + {"2800:160:28e2::/38", "14259"}, + {"2804:5610::/32", "267974"}, + {"2804:5cbc::/32", "268927"}, + {"2a02:24d0::/32", "43545"}, + {"2404:d500::/47", "132370"}, + {"2405:7140::/47", "132335"}, + {"2600:100f:b080::/41", "22394"}, + {"2800:bf0:81ec::/47", "52257"}, + {"2a02:26f7:cd89::/46", "20940"}, + {"240e:44d:400::/41", "140345"}, + {"2620:115:7002::/40", "55091"}, + {"2a04:5d00:70::/48", "202590"}, + {"2a11:2980::/29", "60135"}, + {"2404:6900:cd00::/34", "17819"}, + {"240e:958:1300::/36", "4134"}, + {"2620:1ec:4::/46", "8068"}, + {"2a03:27a0::/32", "13237"}, + {"2a07:3500:1bc0::/48", "1136"}, + {"2a0c:681::/29", "200000"}, + {"2a0f:d40::/29", "60262"}, + {"2001:559:85e9::/48", "33662"}, + {"2001:5b0::/39", "6621"}, + {"2600:140f:2801::/39", "20940"}, + {"2602:fed2:731d::/48", "142418"}, + {"2605:3380:45fe::/38", "12025"}, + {"2804:2f40:f00a::/45", "264880"}, + {"2001:559:c37e::/47", "7922"}, + {"2404:f4c0:f408::/48", "209218"}, + {"240a:a0aa::/32", "142820"}, + {"2604:4580:204::/32", "26375"}, + {"2804:4084::/32", "265964"}, + {"2804:79e8::/32", "271335"}, + {"2a02:26f0:8701::/36", "20940"}, + {"2001:470:5b::/45", "6939"}, + {"2001:550:bb02::/33", "174"}, + {"2001:559:1fe::/48", "7725"}, + {"2405:6600:c01::/41", "45845"}, + {"240a:a0d3::/32", "142861"}, + {"2804:71ec::/32", "270820"}, + {"2a02:ac80:11::/42", "25145"}, + {"2401:4900:3820::/44", "45609"}, + {"2a02:26f7:f2c4::/48", "36183"}, + {"2a05:b80::/29", "50867"}, + {"2001:559:c226::/48", "33650"}, + {"2404:2280:113::/48", "24429"}, + {"240a:a32e::/32", "143464"}, + {"2600:140f:d801::/38", "20940"}, + {"2a06:8080::/29", "31349"}, + {"2a09:be40:ba02::/48", "137909"}, + {"2001:67c:2778::/48", "57926"}, + {"2001:1468::/33", "30738"}, + {"2409:8e50::/30", "56047"}, + {"240a:ae90::/32", "146378"}, + {"2600:140b:f801::/37", "20940"}, + {"2803:6b80::/32", "28093"}, + {"2803:9800:a88d::/43", "11664"}, + {"2a01:58:20::/47", "12782"}, + {"2a03:c980:beef::/48", "210079"}, + {"2800:3b0:10ff::/48", "6429"}, + {"2c0f:ea88::/32", "327931"}, + {"2c0f:fb60::/32", "12455"}, + {"2001:559:86be::/48", "33491"}, + {"2402:800:55d3::/44", "7552"}, + {"2600:6c7f:9002::/48", "20115"}, + {"2804:bb0:8000::/40", "52808"}, + {"2a02:26f7:cf8c::/48", "36183"}, + {"2a02:2b08::/32", "5552"}, + {"2a06:3b80:30::/48", "200478"}, + {"2a0e:c780::/29", "7018"}, + {"240a:ab21::/32", "145499"}, + {"2620:118:8032::/48", "40885"}, + {"240a:a54a::/32", "144004"}, + {"240a:a59b::/32", "144085"}, + {"2620:d3:8000::/48", "54536"}, + {"2804:58c8::/32", "268149"}, + {"2806:2f0:30a3::/41", "17072"}, + {"2401:7400:cc01::/34", "4773"}, + {"240a:a077::/32", "142769"}, + {"240a:a207::/32", "143169"}, + {"2604:3f40::/36", "394277"}, + {"2604:d800::/35", "20355"}, + {"2800:160:220f::/42", "14259"}, + {"2804:380::/32", "262890"}, + {"2a02:26f7:f8c9::/46", "20940"}, + {"2a03:2200::/32", "50998"}, + {"2400:5200:1c00::/40", "55410"}, + {"2400:cb00:250::/47", "13335"}, + {"2401:440::/32", "10004"}, + {"240a:a9f9::/32", "145203"}, + {"2606:ae00:6ac0::/37", "7287"}, + {"2a07:6100::/29", "202979"}, + {"2404:d00::/32", "58616"}, + {"240a:a91b::/32", "144981"}, + {"2600:1480:e800::/48", "21342"}, + {"2606:8b80::/32", "15129"}, + {"2620:11a:a02b::/45", "43515"}, + {"2a02:26f7:d4c0::/48", "36183"}, + {"2a0f:1e84::/32", "7203"}, + {"2602:fbef::/48", "32150"}, + {"2604:4000:2000::/36", "32133"}, + {"2001:678:39c::/48", "29684"}, + {"2600:140b:5801::/38", "20940"}, + {"2800:160:1245::/46", "14259"}, + {"2804:7014::/32", "270704"}, + {"2806:2f0:4761::/40", "17072"}, + {"2a01:c50f:c500::/38", "12479"}, + {"2001:559:3b7::/48", "13367"}, + {"2001:678:c84::/48", "48655"}, + {"2001:49f0:a060::/44", "174"}, + {"2401:4900:5290::/44", "45609"}, + {"2600:1007:f010::/40", "22394"}, + {"2600:6c3a:e01::/46", "20115"}, + {"2a0b:6b86:3fc::/48", "202562"}, + {"2a0f:3106::/32", "49392"}, + {"2001:67c:78c::/48", "56531"}, + {"2408:8956:5100::/40", "17816"}, + {"2804:5a5c::/35", "268768"}, + {"2a03:6b00::/47", "48832"}, + {"2c0f:f050::/32", "327804"}, + {"2001:67c:2c44::/48", "49588"}, + {"2600:1404:ac00::/48", "35994"}, + {"2001:67c:2f24::/48", "25365"}, + {"2404:8600::/33", "17918"}, + {"2409:8052:2::/40", "56047"}, + {"240a:ae37::/32", "146289"}, + {"2800:160:111a::/42", "14259"}, + {"2800:a30:ed31::/35", "262187"}, + {"2804:14d:7e25::/43", "28573"}, + {"2a00:1b48::/32", "197695"}, + {"2a01:5a00::/32", "9208"}, + {"2001:559:8775::/48", "7725"}, + {"2620:11d:9002:300::/53", "33186"}, + {"2804:33cc::/32", "28656"}, + {"2804:5d5c::/32", "268967"}, + {"2a02:6a0:cffe::/47", "8729"}, + {"2a0b:b87:ffe8::/48", "44754"}, + {"2001:250:84a::/48", "138182"}, + {"240a:ad71::/32", "146091"}, + {"240e:964:800::/37", "133774"}, + {"2605:de40:a000::/33", "397553"}, + {"2001:559:4d9::/48", "7015"}, + {"2400:a980:e6::/44", "133111"}, + {"2401:d800:7d50::/42", "7552"}, + {"2402:800:91b7::/41", "7552"}, + {"2600:6c10:f306::/47", "20115"}, + {"2603:c028::/35", "31898"}, + {"2620:149:ac1::/46", "714"}, + {"2a02:26f7:c5cc::/48", "36183"}, + {"2a0c:b180::/29", "16019"}, + {"2a0f:a00::/32", "396362"}, + {"2001:559:835c::/48", "33657"}, + {"2001:df2:6000::/48", "58392"}, + {"2409:8054:4d::/46", "56040"}, + {"2a02:a00::/44", "15987"}, + {"2a03:4b20:f000::/36", "3209"}, + {"2404:8000:b0::/46", "17451"}, + {"2a02:26f7:f794::/48", "36183"}, + {"2001:559:8161::/48", "33657"}, + {"2001:938:402c::/46", "8437"}, + {"2620:107:6000:1601::/44", "6462"}, + {"2803:da20:100::/40", "265855"}, + {"2804:f4c::/32", "263578"}, + {"2804:11e8::/32", "52752"}, + {"2001:891::/29", "8447"}, + {"2400:7400:30::/46", "23736"}, + {"2804:14c:5fd5::/44", "28573"}, + {"2a00:1d58:bf00::/33", "47524"}, + {"2001:559:19:e000::/64", "20940"}, + {"2001:559:8315::/48", "7015"}, + {"2001:4878:2136::/48", "12222"}, + {"2401:d800:9dc0::/42", "7552"}, + {"2402:23c0::/32", "137210"}, + {"2408:84f3:e210::/42", "134543"}, + {"2804:759c::/35", "271058"}, + {"2a10:4741:24::/48", "213327"}, + {"2001:4978::/44", "19255"}, + {"2409:804f:100::/36", "9808"}, + {"2801:88::/32", "53166"}, + {"2408:8459:7c50::/38", "17816"}, + {"2409:8020:1071::/40", "56046"}, + {"2804:6a5c:8000::/40", "270331"}, + {"2a02:26f7:bb44::/47", "36183"}, + {"2a06:7600::/29", "44205"}, + {"2001:df2:380::/48", "138296"}, + {"2a06:9cc7:ff11::/46", "8666"}, + {"2001:7fb:fe00::/47", "12654"}, + {"2402:7d80:240::/48", "24348"}, + {"2404:0:5006::/36", "17709"}, + {"2405:8a00:a01c::/47", "55824"}, + {"2604:30c0::/32", "395880"}, + {"2620:74:a0::/48", "30060"}, + {"2406:3000:8:4030::/60", "9874"}, + {"240e:397:c00::/38", "140489"}, + {"2804:6008::/32", "269141"}, + {"2804:7d18::/32", "271538"}, + {"2001:559:8580::/48", "7015"}, + {"2402:800:542b::/41", "7552"}, + {"240a:ab7d::/32", "145591"}, + {"2a00:a000::/32", "35332"}, + {"2001:16a2:c390::/44", "39891"}, + {"240a:a410::/32", "143690"}, + {"2600:6c3b:498::/41", "20115"}, + {"2607:f938::/32", "40028"}, + {"2804:21ac::/32", "264566"}, + {"2a00:1ca8:2c::/48", "206264"}, + {"2a0c:6fc0::/40", "198755"}, + {"2001:da8:901b::/45", "23910"}, + {"240a:a9ed::/32", "145191"}, + {"2800:bf0:2c6::/48", "27947"}, + {"2806:267:3400::/41", "13999"}, + {"2a00:f820::/29", "34549"}, + {"2001:559:8232::/48", "7922"}, + {"2001:559:87fd::/48", "7922"}, + {"240a:aaae::/32", "145384"}, + {"2604:900::/32", "14477"}, + {"2804:930::/32", "263057"}, + {"2804:62bc::/32", "269315"}, + {"2a02:26f0:85::/46", "20940"}, + {"2a0e:97c0:620::/44", "210562"}, + {"2409:804d:1900::/34", "9808"}, + {"2600:100f:f000::/44", "6167"}, + {"2604:880:41::/48", "29802"}, + {"2607:fa58::/32", "31877"}, + {"2001:678:890::/48", "33958"}, + {"2409:8000:900::/37", "9808"}, + {"240a:aed8::/32", "146450"}, + {"2804:650::/32", "262558"}, + {"2a03:540::/32", "34718"}, + {"2001:67c:2b94::/48", "62463"}, + {"240e:187::/25", "4134"}, + {"240e:979:7e00::/40", "134770"}, + {"2804:3e8:2100::/32", "28663"}, + {"2804:65fc::/32", "269526"}, + {"2804:8114::/32", "272430"}, + {"2a09:2701::/32", "208187"}, + {"2a0c:4300::/41", "43722"}, + {"2a0f:9400:7830::/47", "147028"}, + {"2001:4998:1c::/48", "14779"}, + {"2401:c80::/32", "24111"}, + {"2404:3d00:400e::/41", "3573"}, + {"240a:a8e6::/32", "144928"}, + {"2800:9b0::/32", "52342"}, + {"2804:85dc::/32", "272605"}, + {"2001:559:8537::/48", "33491"}, + {"2a02:26f7:6e::/48", "36183"}, + {"2408:84f3:3290::/37", "17816"}, + {"2600:809:425::/38", "701"}, + {"2a01:5b0:2::/48", "48519"}, + {"2a05:1940::/29", "203243"}, + {"2001:559:cc::/48", "33657"}, + {"2001:559:376::/48", "33651"}, + {"2402:800:63b1::/41", "7552"}, + {"2402:800:9271::/40", "7552"}, + {"2403:1280::/32", "141397"}, + {"2a02:1c8:700::/40", "41704"}, + {"2a02:26f7:f101::/46", "20940"}, + {"2a0b:d7c0::/29", "47237"}, + {"2407:ad80::/32", "45062"}, + {"2409:8062:100::/36", "9808"}, + {"240a:a820::/32", "144730"}, + {"240e:108:1290::/44", "17638"}, + {"240e:45c:1b00::/40", "137401"}, + {"2600:1014:b1a0::/41", "6167"}, + {"2600:1417:58:200::/45", "20940"}, + {"2604:4d40:70ae::/48", "399196"}, + {"2804:39c0::/32", "266048"}, + {"2804:42e4::/32", "267535"}, + {"2a10:78c0::/29", "212559"}, + {"2001:559:82b3::/45", "7922"}, + {"2001:678:16:8000::/49", "42385"}, + {"2a03:2880:f170::/40", "32934"}, + {"2001:559:18c::/46", "33651"}, + {"2001:1900:2264::/48", "27564"}, + {"2406:e940::/35", "9449"}, + {"2407:a580::/32", "4851"}, + {"240a:a0c5::/32", "142847"}, + {"2800:b70:100::/48", "262191"}, + {"2804:10b4:200::/32", "263645"}, + {"2a02:26f7:b800::/48", "36183"}, + {"2a0c:9a40:1017::/48", "202479"}, + {"2001:1238::/32", "22566"}, + {"2401:d800:7370::/40", "7552"}, + {"2620:10d:1000::/44", "5719"}, + {"2800:370:87::/42", "28006"}, + {"2801:0:220::/44", "262156"}, + {"2804:4f8:2000::/36", "28263"}, + {"2804:4c14:9b01::/34", "267348"}, + {"2a02:fe8::/31", "39686"}, + {"2a04:cc0::/29", "29075"}, + {"2a09:7:1::/48", "23959"}, + {"2620:0:6c4::/48", "16807"}, + {"2806:2f0:21e3::/43", "17072"}, + {"2a02:2698:8000::/44", "41682"}, + {"2a05:7c40::/30", "55222"}, + {"2001:da8:5080::/36", "23910"}, + {"240e:3b9:ec00::/35", "140314"}, + {"2a0d:8d07:115::/44", "207616"}, + {"2001:559:7cc::/48", "33650"}, + {"2610:a1:1018::/48", "397226"}, + {"2a04:e00:4::/48", "54103"}, + {"2a0c:fd80::/29", "202334"}, + {"2001:559:16a::/48", "33657"}, + {"2001:559:c4da::/45", "7922"}, + {"2001:ee0:9040::/39", "45899"}, + {"240a:a661::/32", "144283"}, + {"2602:80c::/47", "14618"}, + {"2001:c00:facf::/37", "4618"}, + {"240a:a149::/32", "142979"}, + {"2001:678:f44::/48", "203329"}, + {"2402:8100:31e8::/36", "55644"}, + {"2404:bf40:8584::/48", "7545"}, + {"240a:a276::/32", "143280"}, + {"2800:bf0:2a07::/48", "52257"}, + {"2001:b98::/29", "5413"}, + {"2001:4408:5203::/42", "4758"}, + {"2402:800:73c0::/42", "7552"}, + {"2a02:1710:2::/48", "42775"}, + {"2a11:c480::/29", "204790"}, + {"2605:6ac0:7000::/36", "12182"}, + {"2620:138:5000::/44", "13925"}, + {"2a07:3501:1010::/48", "1136"}, + {"2402:800:fdf0::/38", "7552"}, + {"2404:7180:aa10::/48", "23848"}, + {"2600:1408:2001::/36", "20940"}, + {"2600:6c10:f316::/44", "20115"}, + {"2800:160:1f63::/43", "14259"}, + {"2804:c04::/32", "52660"}, + {"2804:4250::/32", "267492"}, + {"2408:8956:5200::/40", "17622"}, + {"240a:a14d::/32", "142983"}, + {"2600:6c20:2::/44", "20115"}, + {"2607:f138::/32", "19151"}, + {"2620:4b:c000::/46", "29921"}, + {"2804:1424::/32", "52940"}, + {"2a03:8b60:10::/45", "29256"}, + {"2001:df0:245::/48", "132020"}, + {"240e:1d:5000::/30", "4134"}, + {"240e:438:8420::/43", "140647"}, + {"2804:4850:200::/32", "267113"}, + {"2804:7680::/32", "271116"}, + {"2a00:15a0::/32", "201577"}, + {"2a0d:adc0::/29", "60843"}, + {"2001:1a00::/32", "15412"}, + {"2401:2400:a::/32", "38496"}, + {"2404:a800:ff02::/30", "9498"}, + {"240a:a35e::/32", "143512"}, + {"2600:8807:aaf4::/39", "22773"}, + {"2804:4e30::/32", "268245"}, + {"2a02:26f7:f301::/46", "20940"}, + {"2a0d:2581:12::/48", "209261"}, + {"2a0f:900::/29", "15435"}, + {"2c0f:f1f0::/32", "328242"}, + {"2001:559:c429::/48", "7725"}, + {"2402:ef03:2001::/40", "7633"}, + {"2408:8000:a021::/35", "4837"}, + {"2607:f140:a001::/33", "25"}, + {"2607:f428:93f0::/37", "20115"}, + {"2804:7a54::/33", "271365"}, + {"2001:fb0:109f:13::/64", "7470"}, + {"240a:a222::/32", "143196"}, + {"240e:ff:c009::/48", "134773"}, + {"2001:1a11:69::/46", "8781"}, + {"2001:44b8:30ee::/48", "4739"}, + {"2407:b000:4011::/48", "45682"}, + {"240a:ac71::/32", "145835"}, + {"2604:7e00:31::/48", "399612"}, + {"2001:559:870c::/48", "33287"}, + {"2800:160:156a::/45", "14259"}, + {"2a04:b080::/29", "42343"}, + {"2001:4528:9580::/38", "18101"}, + {"2a0d:3841:1020::/48", "57629"}, + {"2a10:2f01:2aa::/48", "212995"}, + {"2001:4528:1000::/32", "18101"}, + {"2400:8b00:2000::/42", "45727"}, + {"2401:d800:57c0::/42", "7552"}, + {"2402:800:5c1d::/42", "7552"}, + {"2a02:bf0:2a::/35", "25106"}, + {"2a02:2e02:8930::/41", "12479"}, + {"2602:fe54:5001::/32", "16584"}, + {"2620:149:10a0::/39", "714"}, + {"2001:470:13f::/41", "6939"}, + {"2402:800:311d::/42", "7552"}, + {"2408:8957:7f00::/40", "17816"}, + {"2600:1417:66::/47", "24319"}, + {"2804:7ca4::/32", "271509"}, + {"2a00:4bc0::/37", "31004"}, + {"2a02:26f7:ec8d::/42", "20940"}, + {"2404:3dc0:1::/48", "138552"}, + {"240a:a9fd::/32", "145207"}, + {"240a:ae58::/32", "146322"}, + {"2001:559:c1a5::/48", "21508"}, + {"2401:2d00:22::/48", "17625"}, + {"2405:7f00:95a0::/38", "133414"}, + {"240e:a53:5c00::/34", "134419"}, + {"2600:6c10:146::/47", "20115"}, + {"2a02:7c20::/32", "201424"}, + {"2a06:8bc0::/29", "57103"}, + {"2406:f000::/32", "4844"}, + {"2408:8459:5a50::/37", "17816"}, + {"2408:8957:6700::/40", "17816"}, + {"240a:ab45::/32", "145535"}, + {"2600:380::/39", "20057"}, + {"2a00:cdc0::/32", "12586"}, + {"240a:a0e9::/32", "142883"}, + {"2600:c08:2016::/32", "10913"}, + {"2a0b:1306:4::/48", "198018"}, + {"2408:8956:c9c0::/38", "17622"}, + {"240e:698:4700::/40", "131325"}, + {"2a05:1080:30::/48", "61004"}, + {"2408:8459:3a10::/41", "17623"}, + {"240e:966:ec00::/35", "4134"}, + {"2604:ea40::/32", "13687"}, + {"2401:d800:7810::/41", "7552"}, + {"2408:8459:f150::/38", "17816"}, + {"240a:a776::/32", "144560"}, + {"2604:a180:6000::/32", "11139"}, + {"2a0f:607:1005::/48", "7480"}, + {"2001:df1:3700::/50", "136324"}, + {"240e:3:8002::/36", "134761"}, + {"2620:149:21c::/42", "714"}, + {"2804:6eec::/32", "270627"}, + {"2406:ea00::/32", "131322"}, + {"2408:8756:ce0::/39", "136958"}, + {"240a:a1c7::/32", "143105"}, + {"240e:438:6040::/38", "4134"}, + {"2600:1007:f008::/45", "6167"}, + {"2a02:26f7:d949::/42", "20940"}, + {"2a03:e340::/48", "28753"}, + {"2001:5000:f04::/30", "1273"}, + {"2409:802f:2b06::/48", "56041"}, + {"2600:6c7f:90d0::/48", "20115"}, + {"2605:2840::/32", "393763"}, + {"2804:3748::/32", "266401"}, + {"240a:a252::/32", "143244"}, + {"2600:100a:9000::/44", "6167"}, + {"2402:2200:2b00::/33", "24090"}, + {"240a:a8c2::/32", "144892"}, + {"2600:1012:f020::/40", "22394"}, + {"2600:370f:5243::/45", "32261"}, + {"2800:bf0:289::/43", "52257"}, + {"2804:5ac0::/32", "268793"}, + {"2a0e:3f40::/29", "43282"}, + {"2001:559:377::/48", "33657"}, + {"2001:678:540::/48", "16108"}, + {"2405:9800:c915::/46", "45458"}, + {"2600:1f70:2000::/40", "8987"}, + {"2a02:6c20:4::/48", "207167"}, + {"2a10:ce40::/48", "140224"}, + {"2408:8459:c030::/41", "17622"}, + {"240a:a671::/32", "144299"}, + {"2804:14c:d490::/48", "28573"}, + {"2804:297c::/32", "262907"}, + {"2804:82d8::/32", "272160"}, + {"2a00:e9e0::/32", "48670"}, + {"2a03:9420::/32", "9008"}, + {"2a0e:b107:15a8::/46", "142597"}, + {"2001:648:2801::/44", "5408"}, + {"240a:afe9::/32", "146723"}, + {"2605:b400:600::/32", "25956"}, + {"2620:ff:8000::/48", "22773"}, + {"2a02:ee80:40b2::/47", "21433"}, + {"2001:16a0:1::/46", "25019"}, + {"2408:8a07:6000::/37", "9929"}, + {"240e:41:c800::/30", "4134"}, + {"2804:3870::/32", "266477"}, + {"2a02:2e02:8b00::/41", "12479"}, + {"2a0f:7ac0::/29", "60154"}, + {"2406:840:eabf::/48", "142642"}, + {"2409:8000:5c00::/40", "56048"}, + {"240a:a0cf::/32", "142857"}, + {"2600:1901:8160::/34", "15169"}, + {"2800:800:7f7::/48", "26611"}, + {"2800:a10:2002::/32", "11014"}, + {"2a0a:a5c0:c::/46", "22787"}, + {"2a0b:1301::/34", "198018"}, + {"2001:559:c12c::/48", "7015"}, + {"2409:8c85:1a00::/48", "132525"}, + {"2a02:ee80:4178::/45", "3573"}, + {"2402:7500:468::/40", "24158"}, + {"2404:d940::/35", "134877"}, + {"2804:214:8658::/40", "26615"}, + {"2a06:9cc7:ff01::/46", "8666"}, + {"2001:250:800::/48", "138182"}, + {"2804:31f0::/32", "265046"}, + {"2a00:fb80::/48", "48918"}, + {"2a02:26f7:ba48::/48", "36183"}, + {"2a04:1f00::/30", "8416"}, + {"2a0e:c80:3::/48", "40676"}, + {"2402:800:3a71::/44", "7552"}, + {"2a06:c0c0::/47", "41018"}, + {"2a10:4646:10::/48", "212124"}, + {"240a:a6cc::/32", "144390"}, + {"2401:e300::/32", "23786"}, + {"2406:2000:ef64::/48", "45501"}, + {"2600:1406:9001::/38", "20940"}, + {"2001:df5:5100::/48", "34768"}, + {"2404:160:a040::/37", "10030"}, + {"240a:a631::/32", "144235"}, + {"2804:3c08::/32", "266186"}, + {"2a00:1430::/32", "24958"}, + {"2408:8957:2700::/36", "17816"}, + {"240a:ac89::/32", "145859"}, + {"2602:fe6d::/36", "64249"}, + {"2a01:a920::/32", "201866"}, + {"2001:502:f3ff::/48", "397226"}, + {"2600:6000:f97e::/48", "11351"}, + {"2804:3e78::/32", "266598"}, + {"2a01:82a0::/32", "61952"}, + {"2a06:a001:a010::/44", "208046"}, + {"2a12:dc00::/29", "204790"}, + {"2600:6c38:8d0::/47", "20115"}, + {"2a03:6947:1500::/40", "59819"}, + {"2402:800:98b7::/41", "7552"}, + {"2406:fe00::/32", "23616"}, + {"240e:438:1020::/43", "140647"}, + {"240e:980:9800::/40", "137698"}, + {"2602:fbf6::/40", "8095"}, + {"2605:6a80::/32", "27531"}, + {"2804:f8c:8890::/37", "263591"}, + {"2001:67c:1044::/48", "50609"}, + {"240e:95c:4000::/36", "4134"}, + {"2804:1ed8::/32", "264449"}, + {"2a02:26f7:f749::/46", "20940"}, + {"2001:4228::/32", "15706"}, + {"2600:9000:1e16::/47", "16509"}, + {"2804:7d4::/32", "262325"}, + {"2804:3b2c::/32", "266133"}, + {"2806:250:b::/48", "28545"}, + {"2a01:8840:59::/48", "207266"}, + {"2606:640::/48", "3356"}, + {"2800:690::/32", "3132"}, + {"2804:2860::/32", "263959"}, + {"2a12:a040::/29", "400522"}, + {"2600:1419:cc01::/35", "20940"}, + {"2001:559:1a0::/48", "7015"}, + {"2001:559:c0d6::/48", "7016"}, + {"240e:3b8:3e00::/33", "140308"}, + {"2804:329c::/32", "265088"}, + {"2a04:2ec0::/29", "60849"}, + {"2a09:87c0::/48", "59497"}, + {"240a:adfa::/32", "146228"}, + {"2806:20d:5a07::/44", "32098"}, + {"2001:dce:7001::/38", "23869"}, + {"2400:aa00:9300::/33", "9873"}, + {"2402:800:9ca9::/41", "7552"}, + {"2408:8459:7e30::/41", "17622"}, + {"2a00:8e80::/32", "200678"}, + {"2a0e:97c3:766::/48", "20473"}, + {"2001:4200:7001::/36", "2018"}, + {"2001:4878:8246::/48", "12222"}, + {"2804:33f4::/32", "265427"}, + {"2a00:1d58:f023::/45", "47524"}, + {"2602:fc85:ff0::/45", "398875"}, + {"2001:67c:106c::/48", "58102"}, + {"2607:cf03::/32", "32522"}, + {"2607:f750:a000::/40", "23473"}, + {"2a02:26f7:e340::/48", "36183"}, + {"240a:a2c2::/32", "143356"}, + {"240a:a461::/32", "143771"}, + {"2600:1404:6001::/37", "20940"}, + {"2804:6000::/32", "269139"}, + {"2402:2500:7100::/32", "13445"}, + {"2804:63b0::/32", "269377"}, + {"2a02:26f7:a8::/48", "36183"}, + {"2a0c:b381:800::/32", "204731"}, + {"2001:ee0:2f07::/43", "45899"}, + {"2409:8904:6070::/40", "24547"}, + {"2402:e280:2249::/43", "134674"}, + {"2406:7400:7::/44", "24309"}, + {"2408:8256:3160::/44", "17623"}, + {"2600:1406:9c01::/34", "20940"}, + {"2603:c002:9510::/38", "31898"}, + {"2605:380:aa1::/48", "42388"}, + {"2a02:26f0:a01::/37", "20940"}, + {"2a02:2ad0:619::/42", "702"}, + {"2001:559:8607::/48", "22909"}, + {"2001:5a0:4402::/48", "20940"}, + {"2405:3800::/32", "38466"}, + {"2804:1388::/30", "53037"}, + {"2001:678:c28::/48", "13195"}, + {"240a:a1d3::/32", "143117"}, + {"2600:1000:f100::/44", "6167"}, + {"2a03:4d45::/36", "199610"}, + {"2001:da8:402e::/47", "24353"}, + {"2604::/40", "7397"}, + {"2a10:2500::/29", "400522"}, + {"2600:809:629::/41", "701"}, + {"2600:140f:6000::/48", "55836"}, + {"2600:6c10:f02a::/41", "20115"}, + {"2608:c184:1::/48", "5927"}, + {"2800:160:144c::/47", "14259"}, + {"2801:1d:4800::/48", "13489"}, + {"2803:b9c0:9000::/36", "265705"}, + {"2804:3b8:1e4::/47", "52965"}, + {"2806:230:1008::/48", "265594"}, + {"2001:c28::/32", "4685"}, + {"2400:dd00::/31", "7497"}, + {"2409:8750:700::/36", "56047"}, + {"240a:a8d6::/32", "144912"}, + {"240c:c603::/32", "24361"}, + {"2600:1404:5401::/36", "20940"}, + {"2606:c40::/32", "32913"}, + {"2a02:1065:1000::/36", "13045"}, + {"2a03:3180:4000::/36", "44453"}, + {"2800:c90::/32", "263689"}, + {"2a06:1280:ae03::/33", "61138"}, + {"2a09:38c0::/29", "30823"}, + {"2001:1248:59e8::/45", "11172"}, + {"240e:355:5c00::/34", "134419"}, + {"2803:f8c0::/32", "264750"}, + {"2a02:2ad0:133::/45", "702"}, + {"2407:a9c0::/32", "142356"}, + {"2604:d600:627::/44", "32098"}, + {"2806:2f0:46a1::/46", "17072"}, + {"2001:559:c51b::/42", "7922"}, + {"2606:6800:1800::/40", "394899"}, + {"2804:4ac0::/32", "267261"}, + {"2a04:4e00::/29", "24651"}, + {"240a:af6a::/32", "146596"}, + {"2620:149:a1d::/48", "714"}, + {"2001:559:404::/48", "7922"}, + {"2001:559:c4bb::/48", "7922"}, + {"240a:a3aa::/32", "143588"}, + {"240e:438:a220::/43", "140647"}, + {"2600:6c38:b1f::/42", "20115"}, + {"2804:4154::/32", "52806"}, + {"2a02:26f7:fb00::/48", "36183"}, + {"2a04:4e40:9000::/48", "54113"}, + {"2001:1248:997a::/40", "11172"}, + {"2404:7c00:3::/44", "45650"}, + {"2a04:5b80:53::/48", "202265"}, + {"2001:470:9c::/48", "54972"}, + {"2001:67c:1394::/48", "199351"}, + {"240a:a141::/32", "142971"}, + {"240a:a294::/32", "143310"}, + {"240a:ae80::/32", "146362"}, + {"2602:80c:4::/48", "14618"}, + {"2605:4c40:202::/44", "30081"}, + {"2607:8300:4::/48", "13876"}, + {"2804:3ed0::/35", "266622"}, + {"240a:a27b::/32", "143285"}, + {"2607:ca00:8000::/33", "7122"}, + {"2800:bf0:81cd::/42", "27947"}, + {"2804:6a28::/32", "270316"}, + {"2806:230:204b::/48", "11888"}, + {"2001:559:84a8::/48", "33491"}, + {"240e:945::/36", "136195"}, + {"2604:d600:1659::/36", "32098"}, + {"2a0a:6680:bee5::/46", "203500"}, + {"2a0b:de00:30::/47", "207486"}, + {"240a:a230::/32", "143210"}, + {"2800:160:1d76::/44", "14259"}, + {"2806:2f0:4161::/46", "17072"}, + {"2a01:aa40::/32", "59622"}, + {"2001:df3:da00::/48", "132134"}, + {"2804:574::/45", "53013"}, + {"2804:5248::/32", "268508"}, + {"2001:250:3431::/46", "138393"}, + {"2001:44b8:204f::/48", "4739"}, + {"2620:11d:6000::/42", "30548"}, + {"2800:bf0:16e::/48", "27947"}, + {"2804:27e4::/32", "263927"}, + {"2804:67dc::/32", "269655"}, + {"2804:6bc8::/32", "270425"}, + {"2a09:8d00::/29", "2593"}, + {"2400:4d40:309::/35", "134204"}, + {"2603:c002:9a10::/42", "31898"}, + {"2607:f6f0:20d::/48", "32323"}, + {"2a0e:8a00::/29", "208256"}, + {"2001:67c:2394::/48", "25504"}, + {"2402:800:9155::/42", "7552"}, + {"2408:8256:2f6e::/43", "17623"}, + {"2408:8256:359f::/38", "17816"}, + {"2607:fdf0:5e35::/44", "8008"}, + {"2a02:26f7:c748::/48", "36183"}, + {"2400:cb00:100::/48", "13335"}, + {"2401:c5c0:440::/36", "55492"}, + {"2a02:888:4054::/32", "47794"}, + {"2a0b:e680::/29", "49601"}, + {"2a0f:4ac4::/41", "207671"}, + {"2a10:300::/29", "207367"}, + {"2401:cf80:61fa::/32", "55303"}, + {"2806:230:200b::/48", "11888"}, + {"2a02:2230:6400::/40", "25467"}, + {"2a03:7740::/32", "39232"}, + {"2a0a:1980::/29", "206782"}, + {"2001:559:8434::/48", "7015"}, + {"240a:ab0b::/32", "145477"}, + {"2600:140b:7c01::/32", "20940"}, + {"2600:6c38:177::/44", "20115"}, + {"2605:8300:12::/48", "33059"}, + {"2605:a401:8cd7::/42", "33363"}, + {"2804:60::/42", "53066"}, + {"2804:7764::/32", "271175"}, + {"2a02:26f7:ed48::/48", "36183"}, + {"2001:c38:90a3::/45", "9835"}, + {"2401:e800::/32", "24173"}, + {"2620:d:e000::/48", "395661"}, + {"2806:230:1300::/45", "265594"}, + {"2a03:34a0::/32", "59817"}, + {"2a0c:4200::/29", "48112"}, + {"2408:8456:6600::/42", "17622"}, + {"2620:12e:1002::/44", "396075"}, + {"2804:4c14:ba01::/39", "267348"}, + {"2001:19e8::/46", "2576"}, + {"240c:ca13::/29", "24363"}, + {"2001:559:873a::/45", "7015"}, + {"2001:559:82c4::/48", "7922"}, + {"2001:678:760::/48", "50472"}, + {"2804:104c:800::/40", "263629"}, + {"2804:27d0::/32", "53162"}, + {"2804:3bac:1100::/33", "266164"}, + {"2001:12f0:640::/39", "1916"}, + {"2409:8c50:ffff::/48", "9808"}, + {"2804:5f28::/32", "269080"}, + {"2a00:7660::/29", "60876"}, + {"2a01:4a0::/44", "201011"}, + {"2a06:98c0:3600::/44", "132892"}, + {"2605:a1c0::/35", "11738"}, + {"2a09:9441::/32", "49981"}, + {"2001:678:a64::/48", "198423"}, + {"240a:a98d::/32", "145095"}, + {"2604:d600:cab::/35", "32098"}, + {"2a00:7a60::/32", "200000"}, + {"2a0b:3cc0::/29", "48147"}, + {"2001:4ca0::/29", "12816"}, + {"2602:feda:d63::/45", "212034"}, + {"2804:2174::/32", "264555"}, + {"2a0f:5707:ab25::/48", "201106"}, + {"240a:a6e8::/32", "144418"}, + {"2800:ba0:18::/48", "263812"}, + {"2804:4a64::/32", "267237"}, + {"2001:67c:276c::/48", "50622"}, + {"2401:d800:fd00::/42", "7552"}, + {"2605:1600::/32", "17143"}, + {"2806:320:200::/39", "28438"}, + {"2a02:2e0:41c::/48", "206564"}, + {"2a0b:33c0:10::/48", "57395"}, + {"240a:400b::/33", "58834"}, + {"240a:afc2::/32", "146684"}, + {"2804:2c44::/32", "265207"}, + {"2a0b:72c0::/32", "60522"}, + {"2a0e:b107:1950::/47", "207705"}, + {"2a12:32c0::/29", "206430"}, + {"2001:559:c207::/48", "33651"}, + {"240e:5f:6004::/44", "4134"}, + {"2600:100a:f000::/44", "6167"}, + {"2600:9000:119c::/42", "16509"}, + {"2804:e0c:1c0::/48", "28176"}, + {"2804:84c8::/32", "272281"}, + {"2409:8028:1900::/37", "9808"}, + {"2a02:26f7:a9::/48", "20940"}, + {"2a02:e240::/29", "20676"}, + {"2a10:3940::/29", "204790"}, + {"2001:67c:2f84::/48", "44496"}, + {"2404:e801:1020::/34", "55430"}, + {"2408:840d:5200::/42", "17621"}, + {"240a:abd6::/32", "145680"}, + {"2400:9100::/48", "45552"}, + {"2620:1d5:650::/40", "14773"}, + {"2a02:26f7:c806::/47", "20940"}, + {"2a0a:ca00::/32", "207038"}, + {"2a05:8943::/29", "3356"}, + {"2001:559:8648::/47", "33491"}, + {"2001:dcc:6::/48", "131100"}, + {"2001:19f0:a08::/48", "46407"}, + {"240a:abd2::/32", "145676"}, + {"2600:1404:d801::/37", "20940"}, + {"2a04:e00:2::/48", "3257"}, + {"2001:4408:6700::/47", "55824"}, + {"2402:3a80:1300::/41", "38266"}, + {"2a12:4946:46::/48", "211398"}, + {"2804:6aac::/32", "270352"}, + {"2a01:5040:2001::/42", "43996"}, + {"2a02:2668:3a00::/33", "16345"}, + {"2a02:26f0:4601::/39", "20940"}, + {"2a02:26f7:c085::/46", "20940"}, + {"2001:1478:1100::/48", "27385"}, + {"240a:a5fd::/32", "144183"}, + {"2803:ce0::/32", "269897"}, + {"2804:677c::/32", "269631"}, + {"2a0b:b87:ff12::/48", "210718"}, + {"2001:44b8:4042::/47", "4739"}, + {"2404:1980::/32", "131199"}, + {"2804:4ff8::/32", "268361"}, + {"2a02:26f0:b901::/38", "20940"}, + {"2a0b:740::/29", "200599"}, + {"2604:9b00:2801::/48", "14230"}, + {"2606:2600::/32", "27425"}, + {"2803:5010::/32", "271803"}, + {"2001:250:7817::/44", "24372"}, + {"2400:cb00:a580::/47", "13335"}, + {"240a:ad7c::/32", "146102"}, + {"2602:10e:1a::/47", "20115"}, + {"2604:bc40:6110::/48", "14618"}, + {"2a09:4c0:aee1::/30", "58057"}, + {"2606:7800::/32", "11598"}, + {"2804:7a6c::/32", "271370"}, + {"2a0b:b87:ffb0::/48", "16509"}, + {"2806:230:302d::/48", "11888"}, + {"2001:470:139::/48", "46997"}, + {"2001:559:8140::/47", "33657"}, + {"2001:559:848c::/48", "7015"}, + {"2405:77c0::/32", "139449"}, + {"2409:8904:67b0::/36", "24547"}, + {"2a0b:6c81::/32", "16509"}, + {"2001:678:e48::/48", "61232"}, + {"2409:806c:2900::/35", "9808"}, + {"2800:b10::/48", "27884"}, + {"2804:7d28::/32", "271543"}, + {"2a03:d60:1::/48", "42503"}, + {"2a11:5d80::/29", "204790"}, + {"2001:428:b26::/48", "10753"}, + {"2001:1248:a4dc::/47", "11172"}, + {"2402:800:3501::/44", "7552"}, + {"2a00:4760::/32", "39217"}, + {"2c0e:7f80::/38", "36974"}, + {"2001:559:c359::/48", "7922"}, + {"2001:6d0:4005::/48", "57503"}, + {"2607:480::/32", "396443"}, + {"2a00:4802:2200::/40", "13124"}, + {"2a02:26f7:116::/48", "36183"}, + {"2001:559:5f6::/48", "33651"}, + {"2001:559:804e::/48", "33287"}, + {"2401:d800:7b0::/41", "7552"}, + {"2407:4000:5::/32", "38005"}, + {"2409:8c04:1111::/45", "24547"}, + {"2001:559:8517::/48", "33491"}, + {"2001:1248:a428::/43", "11172"}, + {"2803:2110::/32", "271987"}, + {"2a01:bf20::/32", "39608"}, + {"2a02:d78::/32", "44819"}, + {"2a09:e9c0::/29", "209181"}, + {"2a0e:b107:1880::/44", "210633"}, + {"2001:4e0:1009::/43", "2381"}, + {"2001:12f0:740::/40", "1916"}, + {"2001:4b20:100:667::/64", "65505"}, + {"2408:8001:f000::/36", "4837"}, + {"240a:a31f::/32", "143449"}, + {"2610:b0:40ee::/47", "21433"}, + {"2801:80:22a0::/48", "262654"}, + {"2804:40c0::/32", "265979"}, + {"2001:579:9194::/42", "22773"}, + {"2001:678:320::/48", "206613"}, + {"240e:100::/42", "4134"}, + {"2607:5a80::/32", "11847"}, + {"2a06:3000::/36", "28715"}, + {"2400:ea00:3560::/47", "23884"}, + {"2403:da00::/32", "3382"}, + {"2602:fce2::/36", "398874"}, + {"2620:11:a::/47", "10934"}, + {"2a0b:6380::/29", "206318"}, + {"2a10:e2c0::/29", "211441"}, + {"2001:67c:25bc::/48", "198008"}, + {"2401:d800:f6d0::/42", "7552"}, + {"2606:4a00:fff2::/44", "33154"}, + {"2804:73b4:4000::/32", "270932"}, + {"2402:800:5b71::/44", "7552"}, + {"2602:80c:a000::/40", "46969"}, + {"2001:df0:314::/46", "140592"}, + {"2404:c140:2597::/32", "138997"}, + {"240e:44d:380::/41", "4134"}, + {"2605:a401:82aa::/43", "33363"}, + {"2001:678:c44::/48", "209718"}, + {"2406:840:5100::/47", "139317"}, + {"2409:8924:8300::/37", "56046"}, + {"2602:fc26:a::/48", "211562"}, + {"2607:fb10:5015::/46", "2906"}, + {"2c0f:f338::/32", "327983"}, + {"2001:43f8:de0::/48", "328213"}, + {"240a:ab53::/32", "145549"}, + {"240e:982:d900::/37", "4134"}, + {"2600:6c2e:c44::/40", "20115"}, + {"2605:dd40:8570::/44", "16509"}, + {"2804:2344::/32", "264152"}, + {"2804:5bf8::/32", "268880"}, + {"2a00:6900::/47", "20926"}, + {"2a04:ac00:6::/48", "56534"}, + {"2001:559:75f::/48", "7922"}, + {"2001:67c:2e68::/47", "62217"}, + {"2a04:2140::/29", "199283"}, + {"2408:8956:12c0::/39", "17816"}, + {"2607:f7c0:c000::/40", "6188"}, + {"2a02:26f7:e4c4::/48", "36183"}, + {"2001:559:80fa::/48", "33489"}, + {"2001:df4:5300::/48", "137469"}, + {"240e:355:6400::/30", "4134"}, + {"2806:2f0:1381::/34", "17072"}, + {"2a00:dac0::/32", "197765"}, + {"2a01:4020:7::/43", "25369"}, + {"2a02:26f7:e381::/46", "20940"}, + {"2001:250:4007::/48", "23910"}, + {"2001:c20:7c00::/32", "3758"}, + {"2404:ba00::/47", "17665"}, + {"2409:8051:900::/37", "9808"}, + {"2803:9a00::/32", "262239"}, + {"2804:3cf8::/32", "266245"}, + {"2a0b:bc0::/29", "62455"}, + {"2001:559:c05d::/48", "33491"}, + {"2400:be00::/48", "4847"}, + {"2401:d800:6000::/35", "7552"}, + {"2403:7f40:e000::/48", "211622"}, + {"2600:1006:9150::/36", "22394"}, + {"2a03:ca0::/32", "59984"}, + {"2a05:8880::/46", "34304"}, + {"2001:c38:9083::/43", "9931"}, + {"2408:8456:7c40::/39", "17816"}, + {"2600:140f:4a00::/48", "9498"}, + {"2804:808c:b000::/33", "271758"}, + {"2804:8344::/32", "272187"}, + {"2001:3b8::/32", "2527"}, + {"2405:6600:601::/39", "45845"}, + {"2604:d8c0::/32", "46280"}, + {"2605:3b80:1::/48", "9009"}, + {"2001:43f8:120::/48", "37177"}, + {"2409:805f:1100::/36", "9808"}, + {"240a:a2c6::/32", "143360"}, + {"2806:2f0:2143::/43", "22884"}, + {"2a0d:1780::/29", "12570"}, + {"2001:559:c1c2::/48", "33490"}, + {"2602:800:9007::/48", "26710"}, + {"2605:4280::/32", "12189"}, + {"2804:69fc:500::/32", "270304"}, + {"2a0e:f600:2e::/41", "60781"}, + {"2a0f:5840::/44", "39192"}, + {"2401:d800:302::/42", "7552"}, + {"2403:3540::/32", "137370"}, + {"240a:a225::/32", "143199"}, + {"240a:aa0f::/32", "145225"}, + {"2a00:1358::/35", "6866"}, + {"2400:a980:1100::/38", "133111"}, + {"2402:800:9d71::/40", "7552"}, + {"2402:4f00:9000::/33", "58453"}, + {"2804:6a38:7000::/36", "270320"}, + {"2a01:710::/32", "34968"}, + {"2a0c:5540:134::/32", "204020"}, + {"2001:4818:6000::/36", "603"}, + {"2603:f608::/27", "397165"}, + {"2a01:870::/32", "21334"}, + {"2a02:26f7:b5c5::/46", "20940"}, + {"2a0b:b87:ffb6::/48", "207649"}, + {"2001:678:f84::/48", "197942"}, + {"2400:adc0:4110::/47", "9541"}, + {"2402:800:990f::/43", "7552"}, + {"2605:a40c::/44", "33363"}, + {"2607:ff48::/32", "8100"}, + {"2804:e94:300::/42", "262468"}, + {"2804:3610::/32", "266324"}, + {"2804:6f2c::/32", "270643"}, + {"2402:800:94fe::/39", "7552"}, + {"2408:80fa:62c0::/42", "17622"}, + {"240a:a2bd::/32", "143351"}, + {"2804:2308::/33", "264138"}, + {"2001:250:849::/48", "23910"}, + {"2406:6e00::/39", "17457"}, + {"2409:8c4c:c01::/38", "9808"}, + {"2a0d:77c7:33c6::/33", "7489"}, + {"240e:14:a000::/31", "4134"}, + {"2804:1b0:8000::/36", "18881"}, + {"2a06:fb40::/33", "203385"}, + {"2a07:e342::/32", "49981"}, + {"2001:57a:504::/48", "22773"}, + {"2404:a140:1d::/48", "138915"}, + {"240e:e:a800::/37", "17633"}, + {"240e:3bf:3e00::/33", "140308"}, + {"2001:550:9201::/46", "174"}, + {"2602:80d:2000::/47", "400274"}, + {"2605:8200::/32", "19653"}, + {"2804:14c:bfe0::/43", "28573"}, + {"2804:7230::/32", "270838"}, + {"2a0f:9980:936::/48", "40676"}, + {"2001:710::/32", "8419"}, + {"2001:1a11:130::/48", "8781"}, + {"2409:8924:8d00::/38", "56046"}, + {"2603:f790::/26", "397165"}, + {"2620:171:23::/48", "42"}, + {"2001:938::/34", "8437"}, + {"2409:8915:6200::/35", "56044"}, + {"2600:1480:801::/37", "20940"}, + {"2604:f440:7::/44", "397423"}, + {"2607:f6f0:3000::/48", "19930"}, + {"2620:108:d000::/44", "8987"}, + {"2a0f:8641:b00b::/48", "212149"}, + {"2001:49f0:a01a::/47", "174"}, + {"2a00:c040::/32", "8749"}, + {"2001:1248:557c::/40", "11172"}, + {"2804:5594::/34", "267943"}, + {"2804:6f68::/32", "270658"}, + {"2804:7c14:8000::/33", "271474"}, + {"2a00:bec7:ff00::/40", "12946"}, + {"2a02:26f7:d085::/46", "20940"}, + {"2a0f:b100:40::/48", "211672"}, + {"2409:8904:30a0::/38", "24547"}, + {"2408:8026:b0::/41", "17621"}, + {"2806:2f0:8223::/39", "17072"}, + {"2803:aa60::/32", "267882"}, + {"2804:13b0:ec00::/48", "263546"}, + {"2804:21bc::/38", "264570"}, + {"2804:82dc::/32", "272161"}, + {"2001:250:2000::/43", "24355"}, + {"2401:fd80:8ff::/39", "138177"}, + {"2402:4e00:4012::/32", "45090"}, + {"2804:14c:c692::/41", "28573"}, + {"2804:14d:4c95::/42", "28573"}, + {"2804:41fc::/32", "267470"}, + {"2a03:2880:f01a::/45", "32934"}, + {"2001:678:d08::/48", "213376"}, + {"240a:ae97::/32", "146385"}, + {"2606:62c0:180::/46", "399686"}, + {"2620:137:1000::/40", "398535"}, + {"2804:767c::/32", "271115"}, + {"2a0b:6c40::/29", "8540"}, + {"2c0f:f020:100::/38", "327907"}, + {"2001:559:5b6::/48", "33287"}, + {"2406:9300::/32", "38506"}, + {"2605:bd40::/32", "22608"}, + {"2803:9f20::/32", "266780"}, + {"2804:cb0:a500::/36", "52742"}, + {"2a03:98c0::/32", "15814"}, + {"2a0c:93c0:8060::/48", "212465"}, + {"2001:559:c505::/48", "33657"}, + {"240a:abfb::/32", "145717"}, + {"240e:698:2100::/40", "4811"}, + {"2600:8807:9a82::/37", "22773"}, + {"2a04:bd80::/29", "52004"}, + {"2a09:bac0:376::/48", "13335"}, + {"2001:559:854e::/48", "33491"}, + {"2602:fc23:161::/48", "149424"}, + {"2a02:26f7:c1c8::/48", "36183"}, + {"2001:1248:553f::/41", "11172"}, + {"2408:80f1:1b0::/44", "17621"}, + {"2600:e00f:4000::/45", "22995"}, + {"2800:3a0::/47", "23201"}, + {"2804:9a8:8000::/33", "262979"}, + {"2a0a:340:e300::/40", "56807"}, + {"2a0e:b107:30f::/48", "134666"}, + {"2400:1240::/32", "64098"}, + {"2401:fdc0:20::/32", "137074"}, + {"2404:640::/32", "131262"}, + {"2406:3000:2b::/45", "4657"}, + {"240a:a0a2::/32", "142812"}, + {"2001:da8:d846::/37", "23910"}, + {"240e:438:a640::/36", "4134"}, + {"2600:370f:726b::/45", "32261"}, + {"2600:6c38:61b::/45", "20115"}, + {"2800:26c::/32", "19429"}, + {"2804:1b1:b680::/41", "10429"}, + {"2804:1938::/32", "262752"}, + {"2a03:9800::/29", "8916"}, + {"2a0f:b4c6::/32", "15317"}, + {"2001:559:c10f::/48", "7015"}, + {"2a02:26f7:c789::/46", "20940"}, + {"2406:f040:c8::/48", "131775"}, + {"2408:8957:b500::/40", "17816"}, + {"2604:c5c0:100::/38", "29727"}, + {"2604:fa00::/32", "32278"}, + {"2620:171:29::/48", "715"}, + {"2604:5500:4000::/38", "19165"}, + {"2607:fb10:2053::/33", "2906"}, + {"2401:95c0:f001::/48", "206729"}, + {"2602:fce8::/36", "395823"}, + {"2607:3a80::/42", "395100"}, + {"2806:106e:18::/42", "8151"}, + {"2a02:26f7:5c::/48", "36183"}, + {"2a0b:6900:4::/46", "206873"}, + {"2001:df5:3d00::/48", "136312"}, + {"2400:cb00:a7d0::/46", "13335"}, + {"2404:92c0:233::/48", "48024"}, + {"240e:3b9:1800::/34", "4134"}, + {"2602:fe90:810::/48", "35913"}, + {"2a05:1240::/29", "201809"}, + {"2a05:c440::/48", "47645"}, + {"2a01:8840:ca::/45", "12041"}, + {"2a0e:1cc1::/47", "207960"}, + {"2001:559:8285::/48", "7015"}, + {"2001:67c:2f6c::/48", "15626"}, + {"2a0f:e143::/32", "60781"}, + {"2001:4dd0::/29", "8422"}, + {"2a02:ee80:4264::/43", "3573"}, + {"2a0e:aa01::/35", "206499"}, + {"2001:fd8:1a8::/41", "4775"}, + {"240a:a36f::/32", "143529"}, + {"2605:ab80::/32", "46792"}, + {"2607:fdf8:dd::/39", "13649"}, + {"2a03:ec00:ba00::/33", "12847"}, + {"2402:800:f922::/40", "7552"}, + {"2600:1f01:4850::/47", "16509"}, + {"2602:fe55::/36", "267"}, + {"2001:4288:102::/38", "6713"}, + {"2401:ee00:b2c::/35", "23951"}, + {"2405:8a00:8022::/44", "55824"}, + {"2602:80d:4000::/40", "11511"}, + {"2602:fe64:4::/44", "396881"}, + {"2804:204:219::/46", "28186"}, + {"2001:559:c213::/48", "33650"}, + {"2001:da8:26b::/45", "133111"}, + {"2a02:200::/32", "24889"}, + {"2a0a:54c1:5::/44", "62240"}, + {"2a0d:6500::/29", "200000"}, + {"2001:470:23::/44", "6939"}, + {"2001:559:83a9::/48", "33489"}, + {"2001:67c:620::/48", "197639"}, + {"2402:2380::/32", "134102"}, + {"2406:840:860::/48", "139317"}, + {"240a:aa93::/32", "145357"}, + {"2a01:b740:a1c::/48", "6185"}, + {"2a02:26f7:b5c0::/48", "36183"}, + {"2001:468:2641::/44", "11537"}, + {"2401:da80::/32", "63927"}, + {"2600:6c38:c2f::/39", "20115"}, + {"2620:129:4000::/40", "62909"}, + {"2a04:71c0::/32", "200086"}, + {"2402:800:3601::/44", "7552"}, + {"2600:8807:43e0::/37", "22773"}, + {"2a02:88d:230::/44", "48695"}, + {"2a03:bf00:200::/40", "43529"}, + {"2001:dcc:401::/48", "23599"}, + {"2001:44b8:4054::/48", "7545"}, + {"2a02:26f7:dfce::/42", "20940"}, + {"2a04:1040::/29", "59767"}, + {"2404:3d00:40c8::/47", "21433"}, + {"2407:fe80::/39", "134749"}, + {"240e:45c:6a00::/40", "131285"}, + {"2a02:fc00::/29", "61207"}, + {"2a09:d00::/29", "199496"}, + {"2a0d:bc6::/48", "32539"}, + {"2a0e:68c0:1::/48", "204743"}, + {"2a11:b380::/29", "204790"}, + {"2605:6c80:4::/47", "397373"}, + {"2606:2800:7011::/46", "15133"}, + {"2607:fc48:c20::/48", "40009"}, + {"2804:3e90:4244::/43", "266606"}, + {"2a04:9b47::/48", "56740"}, + {"2a0b:1306:9::/48", "133142"}, + {"2a0f:85c1:51::/48", "209552"}, + {"2402:7d80:8889::/35", "63582"}, + {"240a:af03::/32", "146493"}, + {"240e:1f:8000::/47", "58543"}, + {"2605:a401:8ed9::/39", "33363"}, + {"2606:29c0:400::/32", "31775"}, + {"2606:cc00::/32", "5760"}, + {"240a:ab5f::/32", "145561"}, + {"2602:ff42::/36", "7018"}, + {"2800:370:63::/45", "28006"}, + {"2a00:1370::/32", "25513"}, + {"2a02:2698:7400::/38", "49048"}, + {"2408:8956:8500::/40", "17816"}, + {"2600:80c:1300::/40", "701"}, + {"2804:8f8::/32", "2914"}, + {"2804:4828::/32", "267101"}, + {"2402:6800:5::/48", "22822"}, + {"2408:8957:d840::/40", "17622"}, + {"240a:a7b0::/32", "144618"}, + {"240e:108:11e4::/44", "4134"}, + {"2600:1417:6a::/48", "9498"}, + {"2620:a0:4000::/47", "55064"}, + {"2a02:66a0::/32", "60086"}, + {"2001:df3:a880::/48", "4826"}, + {"2402:800:3401::/44", "7552"}, + {"2600:9000:a300::/47", "16509"}, + {"2402:800:fe50::/42", "7552"}, + {"2001:559:34e::/48", "7016"}, + {"2001:559:7aa::/48", "33657"}, + {"240e:183:8204::/46", "140649"}, + {"2804:14d:4e90::/41", "28573"}, + {"2a05:9280::/32", "31019"}, + {"2a0b:83c0::/29", "20634"}, + {"2408:8459:b030::/41", "17622"}, + {"240a:a581::/32", "144059"}, + {"2602:fe25::/36", "33174"}, + {"2602:febe:e01::/39", "30405"}, + {"2605:a900:3006::/43", "46887"}, + {"2a03:a9a0::/32", "22208"}, + {"240a:ab42::/32", "145532"}, + {"2a02:88d:1f::/48", "47794"}, + {"2001:559:8555::/48", "33654"}, + {"240e:679:e200::/39", "140329"}, + {"2804:5fe8::/32", "269131"}, + {"2804:7bb0::/32", "271448"}, + {"2001:559:82e2::/48", "7015"}, + {"2001:67c:234::/48", "47302"}, + {"2001:67c:2dc4::/48", "25411"}, + {"2001:1248:9748::/43", "11172"}, + {"2401:1740::/39", "136600"}, + {"2404:f4c0:ff10::/48", "149506"}, + {"2a01:4ce0:51::/42", "19624"}, + {"2001:16d8:cd00::/35", "16150"}, + {"2402:800:3171::/44", "7552"}, + {"2404:2400:110::/40", "56132"}, + {"2600:1003:b470::/40", "22394"}, + {"2605:3380:ff09::/45", "12025"}, + {"2804:998::/47", "28589"}, + {"2804:1f3c::/36", "52910"}, + {"2a02:26f7:de90::/48", "36183"}, + {"2a03:aba0::/29", "786"}, + {"2a06:3040::/48", "203020"}, + {"2001:559:c0ec::/48", "7016"}, + {"2001:67c:2ad4::/48", "61430"}, + {"2001:4490:d820::/46", "9829"}, + {"240a:a311::/32", "143435"}, + {"2001:67c:5f4::/48", "51815"}, + {"2001:67c:16b4::/48", "51942"}, + {"2001:ec0:889::/42", "23969"}, + {"2001:1b28::/37", "8728"}, + {"2404:bc00::/32", "18037"}, + {"2407:d340:f000::/44", "142586"}, + {"2605:a404:67::/44", "33363"}, + {"2001:44b8:1056::/47", "7545"}, + {"240a:a26b::/32", "143269"}, + {"2602:fe9d::/36", "13760"}, + {"2803:c180::/34", "52341"}, + {"2c0f:f4c0::/35", "37611"}, + {"2001:559:14c::/46", "7016"}, + {"2401:4900:4450::/42", "45609"}, + {"2408:8256:3493::/44", "17623"}, + {"240a:aa59::/32", "145299"}, + {"2800:381:5152::/32", "10834"}, + {"2a0b:6b86:3fa::/48", "202562"}, + {"2001:4490:4e00::/40", "9829"}, + {"2400:fc00:4a40::/32", "45773"}, + {"2409:8003:2a00::/40", "9808"}, + {"2806:2f0:7323::/32", "17072"}, + {"2a02:26f7:d141::/45", "20940"}, + {"2407:5000::/32", "17494"}, + {"2409:8120::/25", "9808"}, + {"240a:ac2d::/32", "145767"}, + {"2001:559:20::/48", "33490"}, + {"2001:1248:9709::/45", "11172"}, + {"2409:4040:1000::/30", "55836"}, + {"240e:640:ef00::/27", "4134"}, + {"2a02:348:64::/43", "35470"}, + {"2a05:f00::/29", "41163"}, + {"2a06:82c1::/48", "201106"}, + {"2400:a600::/32", "55803"}, + {"240e:ff:c001::/48", "134774"}, + {"2600:140b:e01::/39", "20940"}, + {"2806:230:601e::/48", "265594"}, + {"2a00:74a0::/32", "20904"}, + {"2a0f:9400:770b::/48", "210576"}, + {"2001:559:c3e0::/48", "7015"}, + {"2401:4900:844::/44", "45609"}, + {"2600:6c38:e26::/44", "20115"}, + {"2604:f500::/47", "16698"}, + {"2801:114:5::/46", "23059"}, + {"2804:7e2c::/32", "271607"}, + {"2403:6cc0::/32", "138155"}, + {"2405:9800:c980::/48", "45458"}, + {"240a:a15b::/32", "142997"}, + {"240a:a575::/32", "144047"}, + {"2605:52c0:4000::/48", "32519"}, + {"2a0e:97c3:7ea::/48", "20473"}, + {"2001:388:31::/40", "7575"}, + {"2001:500:46::/44", "207266"}, + {"2600:1406:4401::/38", "20940"}, + {"2801:0:390::/48", "14080"}, + {"2001:44c8:4190::/42", "131445"}, + {"2409:8053:1900::/37", "9808"}, + {"240e:981:6000::/40", "134761"}, + {"2607:fb78::/32", "23309"}, + {"2a02:26f0:111::/45", "20940"}, + {"2401:f000:9::/43", "38477"}, + {"2600:6c38:e2a::/43", "20115"}, + {"2620:10a:8003::/48", "15290"}, + {"2800:160:23af::/41", "14259"}, + {"2a02:ed04:4510::/38", "50304"}, + {"2001:250:3::/48", "23910"}, + {"2001:428:6402:221::/36", "209"}, + {"2409:8948:8e00::/40", "24445"}, + {"2a01:7c80:8000::/33", "24877"}, + {"2a0f:8645:b00b::/48", "212149"}, + {"2402:800:9da9::/43", "7552"}, + {"2402:e280:2130::/45", "134674"}, + {"2605:a401:804a::/43", "33363"}, + {"2804:1620::/32", "263269"}, + {"2804:1a20::/32", "61838"}, + {"2600:1413:2::/36", "20940"}, + {"2607:c400:6000::/32", "5555"}, + {"2607:f998::/32", "11767"}, + {"2607:fe70::/32", "11170"}, + {"2001:559:80e4::/48", "7922"}, + {"2605:c240::/28", "7018"}, + {"2606:9300::/32", "16904"}, + {"2a09:bac0:453::/48", "13335"}, + {"2a0e:6540:d32::/48", "208364"}, + {"2408:8256:358d::/48", "17816"}, + {"2605:cc80::/32", "398700"}, + {"2606:7300::/32", "11495"}, + {"2608:141:c::/48", "6025"}, + {"2620:13d:2080::/41", "20326"}, + {"2804:3f10:4101::/38", "262566"}, + {"2001:250:805::/48", "138182"}, + {"2001:1900:2372::/45", "10753"}, + {"2408:840c:9100::/40", "17621"}, + {"240e:90d:d000::/37", "137688"}, + {"2602:fd34::/36", "393292"}, + {"2804:4ae0:200::/32", "267269"}, + {"2804:7bac::/32", "271447"}, + {"2a02:26f7:be0d::/46", "20940"}, + {"2a02:26f7:e945::/46", "20940"}, + {"2a05:a140::/29", "41174"}, + {"2a0d:b000::/29", "12637"}, + {"2a0e:b107:148::/45", "57883"}, + {"240e:e9:8800::/34", "23650"}, + {"240e:45c:c400::/40", "131285"}, + {"2600:6c20:10b::/45", "20115"}, + {"2804:1a2c::/32", "61842"}, + {"2c0f:f690:8000::/36", "37019"}, + {"2001:b000:59d::/27", "3462"}, + {"2402:800:3d1d::/42", "7552"}, + {"240a:a851::/32", "144779"}, + {"2600:1007:b0e0::/43", "22394"}, + {"2604:d600:64b::/45", "32098"}, + {"2620:10a:3000::/40", "10349"}, + {"2803:56a0::/32", "266894"}, + {"2a07:4f00::/29", "31263"}, + {"2a0f:9400:7718::/48", "210715"}, + {"2605:1ac0::/32", "397189"}, + {"2620:12f:c005::/46", "395831"}, + {"2804:608c::/32", "269174"}, + {"2001:559:36f::/48", "33657"}, + {"2001:56b:10::/33", "852"}, + {"240a:ac76::/32", "145840"}, + {"2606:1040:1338::/32", "12243"}, + {"2a00:1d36:1000::/39", "47331"}, + {"240e:967:f600::/28", "4134"}, + {"2a00:c0a0::/32", "200154"}, + {"2001:559:8335::/48", "33651"}, + {"240a:ae46::/32", "146304"}, + {"2607:fea0:8450::/48", "16578"}, + {"2803:6cc0::/32", "264813"}, + {"2804:1edc::/32", "264450"}, + {"2001:67c:2760::/48", "47655"}, + {"2605:8d40:8000::/33", "46292"}, + {"2620:59:a000::/48", "7018"}, + {"2a01:b960:2309::/48", "209485"}, + {"2a0a:3100::/29", "206799"}, + {"2a0e:fb42::/32", "47596"}, + {"2001:559:8595::/48", "33651"}, + {"2001:df0:46::/48", "24287"}, + {"2001:4490:db40::/46", "9829"}, + {"2402:800:598d::/43", "7552"}, + {"2404:2b40::/32", "24373"}, + {"2804:4178::/32", "267435"}, + {"2806:230:4001::/48", "11888"}, + {"2a03:fb80::/32", "206920"}, + {"2001:428:4804::/34", "209"}, + {"2001:67c:2d40::/48", "50581"}, + {"2804:1918:184::/38", "52862"}, + {"2a01:b640:7700::/40", "39045"}, + {"2001:503:f261::/48", "26134"}, + {"2001:1878::/37", "226"}, + {"2405:6e00:22ee::/48", "18291"}, + {"2607:f380:808::/41", "2152"}, + {"2804:51e8::/32", "268484"}, + {"2804:8380::/32", "272202"}, + {"2001:579:7184::/41", "22773"}, + {"2405:9800:c640::/47", "45458"}, + {"2409:8954::/28", "56040"}, + {"240a:ad7a::/32", "146100"}, + {"2804:54a0:1a00::/39", "27688"}, + {"2a00:c2c0:ffff::/48", "46844"}, + {"2a03:5080::/32", "43341"}, + {"2001:559:807f::/48", "7016"}, + {"2620:111:1008::/48", "18469"}, + {"2404:b1:9000::/34", "9891"}, + {"240e:5e:4000::/48", "134773"}, + {"2600:1480:3100::/36", "20940"}, + {"2804:38b0:502::/32", "266494"}, + {"2804:6744::/32", "269617"}, + {"2a07:e02:baf::/48", "210083"}, + {"2001:559:147::/48", "7015"}, + {"2402:800:3d71::/44", "7552"}, + {"2605:a401:87b4::/41", "33363"}, + {"2803:99e0::/44", "270020"}, + {"2001:500:202::/48", "4"}, + {"2605:4900::/32", "13576"}, + {"2607:2e00::/32", "19229"}, + {"2801:186::/44", "27951"}, + {"2404:6380:1000::/48", "138950"}, + {"2408:8956:a00::/40", "17622"}, + {"2804:6fc8::/34", "270684"}, + {"2001:67c:17fc::/48", "212024"}, + {"2402:5300:1210::/34", "45903"}, + {"2407:4ac0::/35", "142045"}, + {"2607:6b80:63::/45", "46562"}, + {"2a0e:fd87:4::/32", "208722"}, + {"2a0f:607:1400::/44", "211132"}, + {"2404:3d00:414e::/42", "3573"}, + {"240e:87c:400::/39", "4134"}, + {"2600:1417:1e::/48", "9498"}, + {"2a02:2ad0::/39", "702"}, + {"2a03:7720::/43", "201094"}, + {"2001:df0:ed00::/48", "139398"}, + {"2401:d800:75f0::/38", "7552"}, + {"2600:1013:b0e0::/33", "6167"}, + {"2001:ee0:2f02::/45", "45899"}, + {"2602:ff98:340::/36", "63447"}, + {"2620:13d:2064::/43", "20326"}, + {"2a00:b880::/32", "44943"}, + {"2a0b:11c0::/48", "198682"}, + {"2a10:d080::/29", "212023"}, + {"2001:1838:2008::/35", "23352"}, + {"2600:1010:d1a0::/41", "6167"}, + {"2600:1408:c800::/48", "35994"}, + {"2a04:4e40:ac00::/47", "54113"}, + {"2001:559:49f::/48", "7922"}, + {"2001:67c:14d::/48", "21083"}, + {"2600:140f:2a00::/48", "9498"}, + {"2803:b9c0:4100::/38", "265705"}, + {"2a01:8840:82::/45", "12041"}, + {"2401:7b40:4005::/48", "38071"}, + {"2407:240::/48", "140775"}, + {"2600:100d:9110::/36", "22394"}, + {"2600:6c38:126::/44", "20115"}, + {"2604:d600:52e::/43", "32098"}, + {"2001:fff:100::/32", "142500"}, + {"2600:6c21:15::/44", "20115"}, + {"2620:12c:9001::/46", "395359"}, + {"2804:598::/32", "262526"}, + {"2401:d800:73a0::/41", "7552"}, + {"240e:67e:c600::/34", "4134"}, + {"2600:1413:8000::/48", "24319"}, + {"2804:13b0:1c00::/44", "263546"}, + {"2a10:92c0::/29", "211786"}, + {"2001:559:875a::/47", "33490"}, + {"2001:67c:964::/48", "207947"}, + {"2401:af80:8000::/35", "59103"}, + {"2403:9d40::/32", "137263"}, + {"2800:440:8006::/48", "27738"}, + {"2804:1158::/32", "263672"}, + {"2806:230:5015::/48", "11888"}, + {"2a12:c080::/29", "1299"}, + {"2001:559:81a2::/48", "33287"}, + {"240e:96b:601e::/42", "140374"}, + {"2600:370f:3521::/46", "32261"}, + {"2603:f640::/27", "397165"}, + {"2a00:6b40::/32", "197603"}, + {"2405:201:d800::/34", "55836"}, + {"2406:840:f400::/48", "142111"}, + {"2620:aa:c000::/48", "15304"}, + {"2804:25e4::/38", "61573"}, + {"2a03:a300:800::/35", "35104"}, + {"2a05:d980::/29", "200978"}, + {"2401:4900:4f61::/48", "45609"}, + {"2408:8656:3cfe::/47", "17623"}, + {"240e:44d:5100::/41", "140345"}, + {"2600:1419:a01::/37", "20940"}, + {"2a02:26f7:d489::/46", "20940"}, + {"2a0f:8643:b00c::/29", "25682"}, + {"2001:559:8643::/48", "33651"}, + {"2001:559:c27e::/47", "7016"}, + {"2407:5200:204::/47", "55915"}, + {"2603:f6b0::/23", "397165"}, + {"2001:df5:e280::/48", "141640"}, + {"2001:4c5c::/30", "13119"}, + {"2409:8055:18::/48", "9808"}, + {"240a:a50c::/32", "143942"}, + {"2602:fc26::/46", "211562"}, + {"2804:4840::/32", "267107"}, + {"2a00:1af8::/32", "6856"}, + {"2a09:2980::/29", "42375"}, + {"2001:df5:6f80::/48", "141424"}, + {"240a:aa2c::/32", "145254"}, + {"2600:6c39:455::/44", "20115"}, + {"2806:2f0:4383::/42", "17072"}, + {"2001:67c:1998::/48", "203055"}, + {"2600:6c38:573::/38", "20115"}, + {"2804:73b4::/34", "270932"}, + {"2a09:b180::/29", "56485"}, + {"240a:a55d::/32", "144023"}, + {"240a:a666::/32", "144288"}, + {"2620:0:a1a::/48", "71"}, + {"2a00:86c0:2061::/43", "2906"}, + {"2a05:7640:2090::/44", "174"}, + {"2001:250:5875::/48", "138371"}, + {"240a:adbb::/32", "146165"}, + {"2600:380:e410::/36", "7018"}, + {"2602:fe19:ffad::/41", "26073"}, + {"2800:160:2c03::/43", "14259"}, + {"2806:108e:24::/48", "8151"}, + {"2a02:27aa::/32", "59729"}, + {"2a0d:b201:1000::/44", "206026"}, + {"2402:c480:5000::/48", "63916"}, + {"240a:a187::/32", "143041"}, + {"240e:44d:1700::/42", "140345"}, + {"2804:14d:a495::/41", "28573"}, + {"2a00:8841::/32", "12365"}, + {"2001:df2:3880::/48", "139836"}, + {"2405:f580::/32", "132019"}, + {"2408:8957:fe00::/28", "17816"}, + {"2605:9d80:8081::/48", "4134"}, + {"2a00:1908:ffff::/48", "205365"}, + {"2a09:bac0:191::/45", "13335"}, + {"2a0a:1f42::/32", "64236"}, + {"2a0d:86c0::/29", "210181"}, + {"2a0f:32c0::/29", "328221"}, + {"2602:ffc5::/48", "7489"}, + {"2001:df2:5100::/48", "133929"}, + {"2406:c500:ffd3::/48", "4739"}, + {"2600:80d:100::/27", "701"}, + {"2620:141:4fe::/48", "6075"}, + {"2a01:cf00:74::/46", "3215"}, + {"2a02:26f0:9c::/47", "34164"}, + {"2001:559:81a4::/48", "7922"}, + {"2404:a8:19::/48", "24514"}, + {"2406:b400:16::/47", "55577"}, + {"2605:3380:48fe::/47", "12025"}, + {"2800:160:1a6c::/43", "14259"}, + {"2804:7ba0::/32", "271443"}, + {"2a02:13d0::/29", "13136"}, + {"2a0e:15c7:ff82::/41", "60781"}, + {"2001:559:86b1::/48", "33490"}, + {"2001:67c:1ec::/48", "29607"}, + {"2001:4350:3000::/48", "2609"}, + {"2403:c880::/31", "7363"}, + {"2408:8256:3175::/48", "17623"}, + {"240e:979:3e00::/40", "134770"}, + {"2605:a40a:9000::/34", "33363"}, + {"2803:bc40:810d::/43", "52468"}, + {"2a03:7300::/32", "8426"}, + {"2a07:8147:ffff::/48", "211846"}, + {"240a:a64d::/32", "144263"}, + {"240e:db:f801::/29", "4134"}, + {"2600:40f0:100::/44", "3369"}, + {"2803:9800:9037::/44", "11664"}, + {"2a02:26f7:e38c::/48", "36183"}, + {"2a04:2e80:17::/48", "50294"}, + {"2001:1218:60be::/32", "278"}, + {"2401:d800:7fe2::/43", "7552"}, + {"2402:800:3dee::/43", "7552"}, + {"2a0f:aa40::/29", "207646"}, + {"2a10:b840::/29", "211624"}, + {"2001:559:c1fc::/48", "7922"}, + {"2001:678:938::/48", "29608"}, + {"2001:4248:7b::/32", "30999"}, + {"2401:680::/32", "715"}, + {"2409:8020:31::/41", "56046"}, + {"2605:ef00::/47", "7806"}, + {"2620:118:b003::/48", "32110"}, + {"2804:73d0::/32", "270939"}, + {"2806:230:202e::/48", "265594"}, + {"2001:559:9::/48", "33287"}, + {"2001:559:8581::/46", "33657"}, + {"2600:1406:e001::/37", "20940"}, + {"2602:feda:2ab::/45", "204185"}, + {"2800:200:b410::/42", "12252"}, + {"2401:e380:1001::/46", "131091"}, + {"2600:6c38:82d::/43", "20115"}, + {"2803:6604:a600::/33", "28075"}, + {"2a12:89c0::/29", "49581"}, + {"2600:1f01:48c0::/47", "16509"}, + {"2804:4420::/32", "267604"}, + {"2408:8456:ed40::/40", "17816"}, + {"2408:8957:4900::/40", "17816"}, + {"240e:3b6:5600::/34", "4134"}, + {"2a02:26f7:e240::/48", "36183"}, + {"2001:600::/32", "702"}, + {"2409:8028:2800::/39", "56041"}, + {"2409:8904:2b40::/37", "24547"}, + {"240a:a93e::/32", "145016"}, + {"2a0e:b102:160::/44", "212546"}, + {"2402:800:7d70::/40", "7552"}, + {"2a00:f10:142::/42", "48635"}, + {"2a02:2808:5501::/48", "47531"}, + {"2001:550:3d06::/33", "174"}, + {"2001:559:c0ca::/48", "7015"}, + {"2001:4948::/32", "7782"}, + {"2408:8256:2d6b::/48", "17623"}, + {"2600:1406:a01::/35", "20940"}, + {"2406:daa0:b0c0::/44", "16509"}, + {"2408:8256:3796::/44", "17623"}, + {"2a02:8080::/29", "6830"}, + {"2a0c:4d80::/29", "208327"}, + {"2001:559:2fa::/48", "7015"}, + {"2001:18b8:4a::/39", "29789"}, + {"2400:9380:a01f::/48", "23764"}, + {"2406:840:e114::/48", "141712"}, + {"240a:a0b5::/32", "142831"}, + {"2600:1017:b8b0::/41", "6167"}, + {"2804:7ac::/32", "262542"}, + {"2a02:888:8152::/47", "48695"}, + {"2a09:be41::/29", "209968"}, + {"2409:8904:63b0::/37", "24547"}, + {"2604:7040::/32", "10821"}, + {"2800:300:90e0::/33", "27986"}, + {"2800:860:a::/48", "262206"}, + {"2804:6430::/32", "269412"}, + {"2806:230:1010::/48", "265594"}, + {"2a02:26f7:af::/48", "20940"}, + {"2a0b:4340:c6::/48", "44421"}, + {"2607:f250:d008::/48", "7046"}, + {"2804:4814::/32", "267096"}, + {"2804:6dc0::/32", "270553"}, + {"2a10:d500::/32", "174"}, + {"2400:fc00:30::/41", "45773"}, + {"2409:8057:805::/35", "56040"}, + {"240a:a33c::/32", "143478"}, + {"240e:44d:7040::/42", "140354"}, + {"2604:4f40::/32", "396472"}, + {"2604:6600:159::/40", "40676"}, + {"2620:115:6001::/48", "32336"}, + {"2a02:2e0:421::/32", "12306"}, + {"2409:8959:cd44::/43", "9808"}, + {"2804:179c::/34", "263159"}, + {"2a01:6320::/32", "197580"}, + {"2a02:2e02:9b90::/37", "12479"}, + {"2a05:4280::/29", "62248"}, + {"2600:80c:200::/36", "11486"}, + {"2804:4774:9000::/33", "267055"}, + {"2a09:7c41::/30", "52000"}, + {"2001:559:8699::/46", "33650"}, + {"240a:a182::/32", "143036"}, + {"2804:37f0:6900::/35", "266445"}, + {"2a01:65e0::/32", "62244"}, + {"2a01:9500::/40", "197696"}, + {"2a02:26f7:c189::/42", "20940"}, + {"2a0b:3c40:9::/48", "208258"}, + {"2408:8000:c008::/42", "4837"}, + {"240a:afb9::/32", "146675"}, + {"2604:f980:4220::/44", "19957"}, + {"2001:559:c36c::/48", "33651"}, + {"2001:44b8:105c::/48", "7545"}, + {"2604:a580::/40", "1610"}, + {"2804:14d:4c00::/40", "28573"}, + {"2804:61f0:4::/32", "269266"}, + {"2804:7584::/32", "271052"}, + {"2a01:6ec0::/32", "198904"}, + {"2a02:26f7:f788::/48", "36183"}, + {"2001:559:c375::/48", "33657"}, + {"240e:a7:7fd2::/45", "140514"}, + {"2600:380:4780::/35", "20057"}, + {"2600:6c21:807::/38", "20115"}, + {"2806:370:5500::/40", "28403"}, + {"2402:8100:26a3::/44", "55644"}, + {"2406:2600::/48", "55569"}, + {"240a:acf7::/32", "145969"}, + {"2a01:5e40::/32", "34555"}, + {"2001:559:c3c2::/48", "7016"}, + {"2803:2300::/32", "17069"}, + {"2a03:7580::/34", "28785"}, + {"2606:2800:4ad8::/46", "15133"}, + {"2610:a1:304c::/48", "12008"}, + {"2804:3d4:40::/32", "262401"}, + {"2a06:d380::/29", "57860"}, + {"2a0d:2405::/30", "62068"}, + {"2401:f000:2::/56", "23838"}, + {"2801:2::/39", "17147"}, + {"2804:af4::/32", "52930"}, + {"2c0f:ea60::/32", "37215"}, + {"240e:db:b800::/48", "38283"}, + {"2600:1419:801::/38", "20940"}, + {"2603:c023:4000::/35", "31898"}, + {"2607:fff0::/32", "17293"}, + {"2001:67c:798::/48", "15404"}, + {"2001:1900:220f::/43", "3356"}, + {"2402:800:368d::/43", "7552"}, + {"2409:8914:800::/39", "56044"}, + {"2801:10a::/44", "19429"}, + {"2001:559:c::/48", "7015"}, + {"2001:1248:564d::/43", "11172"}, + {"2400:1480::/48", "132425"}, + {"2401:ebc0:1000::/32", "137041"}, + {"2405:58c0:38::/47", "133101"}, + {"2409:8080:2a60::/44", "9808"}, + {"2600:6c21:222::/47", "20115"}, + {"2605:5e40:110::/48", "397810"}, + {"2803:10c0::/32", "264770"}, + {"2a00:1950::/32", "39647"}, + {"2402:800:919b::/42", "7552"}, + {"240a:a0ec::/32", "142886"}, + {"2620:7a:8000::/48", "30622"}, + {"2804:84e8::/32", "272546"}, + {"2a00:a900::/33", "60819"}, + {"2a0e:a6c1::/30", "41047"}, + {"2001:16c0::/43", "31732"}, + {"2401:d800:b2d0::/42", "7552"}, + {"2408:860c::/30", "17621"}, + {"240a:a07b::/32", "142773"}, + {"2a02:608::/32", "41698"}, + {"2a04:3740::/48", "35625"}, + {"2a10:8280::/32", "2611"}, + {"2408:8956:c800::/39", "17622"}, + {"240a:af0d::/32", "146503"}, + {"2a0a:56c4:8500::/47", "42649"}, + {"2a10:11c0::/32", "206858"}, + {"2001:da8:251::/48", "23910"}, + {"2600:809:641::/30", "701"}, + {"2800:bf0:3020::/46", "52257"}, + {"2804:3b8:1e6::/44", "52965"}, + {"2804:38e0::/32", "266507"}, + {"2001:df0:7080::/48", "23954"}, + {"2804:950:8200::/33", "263072"}, + {"2804:14f0::/32", "263360"}, + {"2a06:1301:4050::/48", "24940"}, + {"2a0d:1740::/32", "201547"}, + {"2a0f:e6c0:991::/48", "60781"}, + {"2405:c440::/47", "139972"}, + {"2620:5e:6000::/48", "701"}, + {"2408:8957:1bc0::/37", "17622"}, + {"2607:f220:203::/48", "7046"}, + {"2806:230:2005::/48", "11888"}, + {"240a:a755::/32", "144527"}, + {"2a04:84c1::/32", "29017"}, + {"2001:df6:aa80::/48", "136421"}, + {"2406:d200::/32", "23629"}, + {"240e:95d:c00::/38", "4134"}, + {"2620:11a:e000::/46", "22300"}, + {"2a0e:e704:43::/48", "212972"}, + {"2001:6a8::/32", "2611"}, + {"2403:3800::/44", "4007"}, + {"2408:8456:7e00::/42", "17622"}, + {"2409:8c28:6c08::/39", "56041"}, + {"2620:1:a000::/48", "19770"}, + {"2804:24cc::/32", "264242"}, + {"2001:67c:648::/48", "51942"}, + {"2a02:26f7:cfcc::/48", "36183"}, + {"2409:8070:ac0::/42", "9808"}, + {"2a02:26f7:d8c9::/42", "20940"}, + {"240e:980:8500::/40", "133774"}, + {"2607:f190:4000::/32", "11320"}, + {"2800:160:10c7::/44", "14259"}, + {"2804:3e40:fb02::/37", "266583"}, + {"2001:67c:15c8::/48", "1257"}, + {"2408:8256:3a61::/43", "17623"}, + {"240e:965:3000::/33", "4134"}, + {"2620:101:2011::/46", "30238"}, + {"2804:10c8::/35", "263649"}, + {"2c0f:f7f8::/48", "3356"}, + {"2a02:168::/31", "13030"}, + {"2c0f:f758::/32", "37204"}, + {"2001:559:8032::/48", "7015"}, + {"2804:6654::/32", "269551"}, + {"2a04:ff00:300::/48", "206731"}, + {"2a10:1fc0:2::/47", "62005"}, + {"240a:a549::/32", "144003"}, + {"2a02:2330:b3::/29", "12578"}, + {"2001:4130:20::/48", "29067"}, + {"2001:4998:198::/46", "36647"}, + {"2607:f108:302::/36", "29838"}, + {"2607:fd48:480:2::/36", "13536"}, + {"2a01:3e0:ff71::/48", "8297"}, + {"2a0a:c842::/29", "205394"}, + {"2401:d800:7e0::/36", "7552"}, + {"2408:8456:1a00::/42", "17622"}, + {"2606:82c0:800::/40", "32167"}, + {"2804:b18:d0::/32", "52941"}, + {"2804:1340::/32", "263524"}, + {"2001:559:86ba::/48", "33657"}, + {"2001:67c:2744::/48", "47676"}, + {"240a:a4ab::/32", "143845"}, + {"2620:61::/48", "46720"}, + {"2806:2f0:20a1::/48", "22884"}, + {"2a00:b700:2::/45", "49392"}, + {"2a05:3a40::/32", "210236"}, + {"2a0c:6580::/48", "43576"}, + {"2001:67c:4f0::/48", "3303"}, + {"2400:cb00:a4e0::/45", "13335"}, + {"2a04:3880::/30", "60721"}, + {"2001:df5:2880::/48", "141370"}, + {"2804:18:860::/44", "10429"}, + {"2a04:1cc1::/30", "48635"}, + {"2a0a:7400::/29", "34863"}, + {"2a12:4946:1900::/48", "211398"}, + {"2604:36c0::/32", "393670"}, + {"2606:2800:147::/44", "15133"}, + {"2606:7d80:9000::/33", "2707"}, + {"2606:ab40:20::/41", "400339"}, + {"2a00:ab00:7000::/32", "49505"}, + {"2409:8d5a:5c0::/45", "9808"}, + {"240e:966:8800::/38", "133775"}, + {"2804:3be4::/32", "266178"}, + {"2804:60e4::/32", "269198"}, + {"2a03:4d80::/32", "43323"}, + {"2001:df0:2fd::/48", "17436"}, + {"2001:4408:8500::/45", "4758"}, + {"2406:8800:9045::/44", "17465"}, + {"2800:800:6f0::/44", "26611"}, + {"2804:1e18::/32", "264407"}, + {"2806:230:3007::/48", "11888"}, + {"2a09:bac0:128::/48", "13335"}, + {"2a10:e300:35::/48", "44854"}, + {"2806:230:601f::/48", "11888"}, + {"2a02:26f7:e789::/46", "20940"}, + {"240a:af59::/32", "146579"}, + {"2600:1480:4100::/37", "20940"}, + {"2600:6c7f:9140::/44", "19115"}, + {"2605:a401:8f41::/45", "33363"}, + {"2620:66:6000::/48", "54345"}, + {"2001:67c:2580::/48", "8751"}, + {"2001:12d0::/32", "28571"}, + {"240a:a420::/32", "143706"}, + {"240a:a7f0::/32", "144682"}, + {"2600:1011:b170::/33", "6167"}, + {"2804:5e48:ff10::/48", "269023"}, + {"2a00:d8c0:100::/48", "50716"}, + {"2603:80bd::/32", "11427"}, + {"2801:80:1b40::/48", "266426"}, + {"2806:230:2019::/48", "11888"}, + {"2a10:2a80::/48", "207727"}, + {"2401:b0c0:d000::/48", "136941"}, + {"2800:680::/43", "3816"}, + {"2a0c:1a80::/29", "204861"}, + {"2001:4200:598::/34", "2018"}, + {"2404:e00:165::/48", "15695"}, + {"2804:38a8::/32", "266492"}, + {"2001:678:138::/48", "38990"}, + {"2402:4480:305::/32", "174"}, + {"2407:38c0:82::/48", "59204"}, + {"240c:c715::/32", "24364"}, + {"2a01:8840:4a::/45", "12041"}, + {"2a02:26f7:d404::/48", "36183"}, + {"2402:3a80:c030::/48", "38266"}, + {"240a:a609::/32", "144195"}, + {"2803:5320::/32", "266728"}, + {"2a01:37:6000::/32", "8875"}, + {"2a10:2f00:129::/48", "213346"}, + {"2001:250:6c3d::/48", "138370"}, + {"2001:1878:b10::/32", "226"}, + {"2401:d800:7cf0::/39", "7552"}, + {"2406:8800:901b::/42", "17465"}, + {"2409:8e39::/25", "9808"}, + {"2a00:e66::/31", "200519"}, + {"2001:559:c488::/48", "33287"}, + {"2401:b780::/41", "45410"}, + {"2409:8924:1d00::/38", "56046"}, + {"2a03:8920::/32", "41103"}, + {"2001:559:16d::/43", "7922"}, + {"2001:2003::/32", "1759"}, + {"2607:6480::/35", "395336"}, + {"2804:4788::/32", "267060"}, + {"2001:15f0::/32", "213211"}, + {"2407:d840:1::/48", "149502"}, + {"240e:44d:4100::/41", "140345"}, + {"2803:dac0::/44", "265634"}, + {"2a00:1400::/32", "44764"}, + {"2a05:a940::/29", "20546"}, + {"2001:250:6807::/48", "23910"}, + {"240a:a870::/32", "144810"}, + {"2620:12d:5000::/47", "55128"}, + {"2800:bf0:8148::/47", "27947"}, + {"2a02:128:2::/48", "197726"}, + {"2408:840d:8400::/42", "17621"}, + {"240e:5e:2100::/48", "134774"}, + {"2803:e880:8116::/35", "52468"}, + {"2a0a:cdc0::/32", "43771"}, + {"2a0d:60c4::/30", "208861"}, + {"2001:559:732::/48", "7016"}, + {"2001:44b8:2053::/48", "4739"}, + {"2605:a900:301a::/33", "46887"}, + {"2620:11f:b003::/45", "394514"}, + {"2620:149:a28::/47", "6185"}, + {"2a02:26f7:f2cd::/42", "20940"}, + {"2001:559:8524::/44", "7015"}, + {"2403:400::/38", "23820"}, + {"2603:c012::/36", "31898"}, + {"2804:37e0::/32", "266441"}, + {"2804:62a0::/32", "269308"}, + {"2a03:e600:100::/48", "208323"}, + {"2001:579:91e1::/38", "22773"}, + {"2408:8256:3b8c::/43", "17623"}, + {"2602:fd86::/48", "33412"}, + {"2804:3554::/32", "262273"}, + {"2001:16a2:402a::/43", "25019"}, + {"2402:800:9e40::/43", "7552"}, + {"2603:c0f8:2910::/38", "20054"}, + {"2804:2b38::/36", "265141"}, + {"2804:41bc::/36", "267453"}, + {"2a04:92c3::/29", "62240"}, + {"2a06:c0::/29", "47467"}, + {"2806:2f0:4261::/46", "17072"}, + {"2a02:b10:1::/48", "20860"}, + {"2001:559:8251::/46", "7922"}, + {"240e:97c::/36", "58466"}, + {"2606:a200::/32", "14155"}, + {"2a05:b0c0::/48", "198412"}, + {"2a0e:1c00::/29", "61317"}, + {"240a:adaf::/32", "146153"}, + {"2804:4488:6010::/44", "262480"}, + {"2a02:26f7:45::/48", "20940"}, + {"2a0e:4100::/32", "57279"}, + {"2405:7900::/32", "24398"}, + {"2600:140b:6401::/38", "20940"}, + {"2a04:2b00:14cc::/48", "212222"}, + {"2001:559:c229::/48", "7015"}, + {"2400:0:500::/38", "4766"}, + {"2408:8120:1::/46", "9929"}, + {"2a0e:8f02:20ec::/46", "213033"}, + {"2001:420:c0fc::/34", "109"}, + {"2402:800:98ee::/39", "7552"}, + {"2600:1010:9000::/44", "6167"}, + {"2800:ba0:12::/48", "263812"}, + {"2a09:4e07:a000::/33", "210625"}, + {"2a09:9940::/48", "50007"}, + {"2401:d800:4a0::/41", "7552"}, + {"2408:8459:f900::/38", "17623"}, + {"2600:6c2e:e84::/39", "20115"}, + {"2804:5f0c::/32", "269073"}, + {"2a00:1ca8:d3::/45", "58061"}, + {"2a00:7640::/32", "48954"}, + {"2001:579:b0dc::/39", "22773"}, + {"2400:cb00:a9f0::/47", "13335"}, + {"2605:b4c0:550::/48", "25780"}, + {"2a00:79e1:f08::/46", "36384"}, + {"2400:e1c0::/48", "58659"}, + {"240a:a122::/32", "142940"}, + {"2a07:2781:a4a3::/48", "206160"}, + {"2a0f:24c0::/29", "207954"}, + {"2400:ac40:d90::/41", "136255"}, + {"240d:c010:81::/45", "139341"}, + {"2804:9a8::/34", "262979"}, + {"2401:803e:2025::/33", "9919"}, + {"2401:fd80:400::/45", "137502"}, + {"2405:4800::/39", "18403"}, + {"2801:1d:800::/48", "267928"}, + {"2804:de8::/32", "52525"}, + {"2a02:26f7:fb84::/48", "36183"}, + {"2402:e380:30a::/48", "138166"}, + {"2001:559:8739::/48", "33662"}, + {"2401:4900:1c46::/44", "24560"}, + {"2600:8807:6ca2::/39", "22773"}, + {"2604:d600:163e::/41", "32098"}, + {"2804:14c:7b8b::/41", "28573"}, + {"2804:749c::/32", "270992"}, + {"2a02:26f7:b6c4::/48", "36183"}, + {"2001:559:81f5::/48", "33652"}, + {"2409:8915:5c00::/39", "56044"}, + {"240a:ac24::/32", "145758"}, + {"2620:190::/32", "3379"}, + {"2a02:2010:20a0::/45", "20978"}, + {"2a04:9f00::/29", "199837"}, + {"2408:8247:1200::/28", "4837"}, + {"240a:a4ee::/32", "143912"}, + {"2600:370f:2041::/42", "32261"}, + {"2607:f368:3225::/32", "32982"}, + {"2620:114:3002::/48", "54391"}, + {"2a0c:8000::/29", "62275"}, + {"2407:8bc0:100::/32", "137990"}, + {"2804:1a4c::/32", "61851"}, + {"2407:1100::/32", "132825"}, + {"240a:ac66::/32", "145824"}, + {"240a:aedd::/32", "146455"}, + {"2602:fea2:1::/46", "40680"}, + {"2804:1338::/32", "263522"}, + {"2804:7c8c::/32", "271503"}, + {"2a01:4de0::/32", "199933"}, + {"2a02:2e02:8b60::/43", "12479"}, + {"2407:f540::/48", "140803"}, + {"2604:e180:5001::/38", "55002"}, + {"2605:a600::/31", "16591"}, + {"2801:19:a800::/48", "271802"}, + {"2a00:5c40::/29", "6821"}, + {"2a0e:f201::/32", "55286"}, + {"2600:4400::/31", "6130"}, + {"2607:f5b6::/32", "393886"}, + {"2a0f:c700::/32", "39384"}, + {"2406:3003:3028::/45", "4657"}, + {"2001:dc5:a::/48", "23600"}, + {"2409:8c50::/37", "56047"}, + {"2602:fd00:c::/46", "147297"}, + {"2401:4900:5f90::/44", "45609"}, + {"2620:e6::/48", "394275"}, + {"2804:312c::/32", "264998"}, + {"2804:7684::/32", "271117"}, + {"2400:8906::/31", "63949"}, + {"2407:4e00:1:3::/32", "17995"}, + {"2620:19f::/36", "397962"}, + {"2800:bf0:8040::/45", "52257"}, + {"2a01:9f80::/32", "16006"}, + {"2a02:6d0::/32", "47227"}, + {"2001:19f0:caba::/48", "20473"}, + {"2607:3200:11::/46", "11240"}, + {"2804:14d:5681::/41", "28573"}, + {"2a02:26f7:d684::/48", "36183"}, + {"2a0e:46c6:300::/40", "207955"}, + {"2806:322:2500::/32", "28546"}, + {"2a00:1728:1e::/47", "34224"}, + {"2a02:2338::/32", "48854"}, + {"2401:4900:53d0::/42", "45609"}, + {"2605:c2c0::/32", "398490"}, + {"2607:fd48:10a:100::/38", "13536"}, + {"2804:22bc::/32", "264119"}, + {"2602:80b:e000::/44", "396921"}, + {"2602:ffb0:7::/48", "20473"}, + {"2a01:d0:304::/47", "29632"}, + {"2001:1a11:11e::/42", "42298"}, + {"2001:480:30::/48", "13"}, + {"2001:4408:7b00::/37", "4758"}, + {"2600:1005:b0f8::/45", "22394"}, + {"2610:28:f020::/48", "19718"}, + {"2a06:6bc0::/29", "12905"}, + {"2001:559:877d::/48", "33651"}, + {"2400:a4c0::/48", "7575"}, + {"2402:800:bbc0::/42", "7552"}, + {"2407:e5c0::/32", "45724"}, + {"2408:8957:1d40::/40", "17816"}, + {"2606:b400:8030::/48", "20037"}, + {"2804:13a0::/32", "263542"}, + {"2804:7c88::/32", "271502"}, + {"2a02:578:6400::/38", "9031"}, + {"2a02:26f7:f2c9::/46", "20940"}, + {"2001:559:87c7::/48", "7016"}, + {"2001:c20:c811::/48", "9255"}, + {"2001:1a40:104::/44", "5416"}, + {"2001:978:1802::/38", "174"}, + {"2402:800:f7b0::/41", "7552"}, + {"240c:ca2a::/29", "23910"}, + {"2602:fdbc::/36", "397774"}, + {"2620:a7:4000::/48", "19473"}, + {"2803:9110::/34", "271992"}, + {"2001:4488:fe62::/30", "7713"}, + {"2001:44c8:4640::/43", "131445"}, + {"240a:a0f1::/32", "142891"}, + {"2001:4b60:100::/48", "1764"}, + {"240e:1a::/44", "23650"}, + {"2a03:8000::/32", "60830"}, + {"2a06:5f80::/32", "57780"}, + {"2402:800:5b7f::/40", "7552"}, + {"2402:800:f260::/40", "7552"}, + {"2a07:4c0::/29", "42306"}, + {"2001:559:c03e::/47", "7922"}, + {"2800:160:1077::/40", "14259"}, + {"2a05:1500:fe00::/40", "12859"}, + {"2001:559:4b7::/48", "33662"}, + {"2406:e000:32d::/43", "23655"}, + {"2409:8c15:2900::/37", "56044"}, + {"2804:5fec::/32", "269134"}, + {"2001:67c:28b8::/48", "28892"}, + {"2001:fd8:f1b0::/44", "4775"}, + {"2402:8100:211f::/48", "55644"}, + {"2a0b:a8c0:2::/48", "202181"}, + {"2a0c:2500::/32", "48314"}, + {"2001:678:794::/48", "201281"}, + {"2001:678:f00::/48", "208930"}, + {"2804:3c80:11a0::/32", "266216"}, + {"240a:ad64::/32", "146078"}, + {"240e:966:d400::/39", "58772"}, + {"2a07:9200::/29", "62206"}, + {"240e:45c:6b00::/40", "140531"}, + {"2a02:20b0::/31", "8315"}, + {"2c0f:f9d8::/32", "37352"}, + {"2401:d800:bac0::/42", "7552"}, + {"2604:8380:2400::/35", "29802"}, + {"2610:a1:3054::/48", "12008"}, + {"2a01:110:8069::/35", "6584"}, + {"2001:559:3bd::/46", "33651"}, + {"2403:9800:7f1d::/46", "4771"}, + {"240a:a1dd::/32", "143127"}, + {"240e:423::/32", "140061"}, + {"2800:bf0:8063::/48", "27947"}, + {"2804:204:32a::/47", "28186"}, + {"2806:230:101c::/48", "265594"}, + {"2a02:26f7:c3e1::/43", "20940"}, + {"2a04:4e40:9a00::/48", "54113"}, + {"2a0a:d040::/29", "59682"}, + {"2c0f:f020:8100::/40", "327907"}, + {"2406:7ec0::/44", "38074"}, + {"2600:1403:ac01::/35", "20940"}, + {"2a02:680::/36", "24995"}, + {"2a03:f87:ffff::/48", "57169"}, + {"2a07:3500:1b48::/48", "1136"}, + {"2404:bf40:8180::/45", "7545"}, + {"2402:e400::/32", "4851"}, + {"240e:108:4b::/48", "133774"}, + {"2a0c:c500::/32", "49798"}, + {"2604:3e40::/32", "19117"}, + {"2804:2c0::/33", "262834"}, + {"2400:ca00:101::/30", "23688"}, + {"2401:4900:1c16::/44", "24560"}, + {"2600:6c10:f07b::/40", "20115"}, + {"2a02:26f7:c9c1::/46", "20940"}, + {"2001:559:c385::/48", "33657"}, + {"2001:559:c438::/47", "7922"}, + {"2409:8020:b1::/41", "56046"}, + {"2801:1ac::/48", "18747"}, + {"2a09:bac0:148::/48", "13335"}, + {"2402:800:9255::/42", "7552"}, + {"2409:8004:1100::/36", "24547"}, + {"2a02:5740:4::/48", "58065"}, + {"2a0e:2380::/32", "208929"}, + {"2a10:9d40::/29", "211727"}, + {"2402:8100:2100::/44", "45271"}, + {"2409:8c54:2020::/37", "56040"}, + {"2a07:9280::/29", "202759"}, + {"2001:678:61c::/48", "204423"}, + {"2402:800:9ab7::/41", "7552"}, + {"2a02:26f7:d048::/48", "36183"}, + {"2a05:d050:4040::/44", "16509"}, + {"2001:e48:23::/41", "9583"}, + {"2001:4cf0::/29", "680"}, + {"2407:d700::/32", "132884"}, + {"2a02:2698:a004::/46", "49874"}, + {"2804:330::/35", "53240"}, + {"2804:5284::/46", "268523"}, + {"2804:7428::/32", "270962"}, + {"2404:bf40:a001::/48", "7545"}, + {"2409:8054:3074::/31", "56040"}, + {"240a:ab3f::/32", "145529"}, + {"2001:559:2a::/48", "7015"}, + {"2001:559:c509::/48", "33287"}, + {"2001:678:4a4::/48", "44574"}, + {"2804:37b8::/32", "266431"}, + {"2a06:5cc0::/29", "42505"}, + {"2a0d:b201:c030::/41", "206026"}, + {"2001:559:c2de::/48", "7922"}, + {"2001:df0:b100::/48", "136475"}, + {"2001:4878:c254::/48", "34164"}, + {"2400:d400:9280::/48", "9280"}, + {"240e:928::/37", "58542"}, + {"2610:b0:416e::/47", "21433"}, + {"2a01:8ca0::/32", "24589"}, + {"2a02:17b0::/32", "29252"}, + {"2a0f:85c1:28::/48", "213384"}, + {"2401:2d00:83e6::/44", "17625"}, + {"2402:7500:568::/40", "24158"}, + {"2404:f4c0:f4c0::/48", "142549"}, + {"2405:6580::/29", "4685"}, + {"2408:8456:a00::/42", "17622"}, + {"2605:6400:10::/48", "53667"}, + {"2804:2c24::/32", "265198"}, + {"2a02:2e02:cc0::/42", "12479"}, + {"2a03:9780::/32", "47767"}, + {"2a0d:bc00::/29", "51426"}, + {"2402:800:bb60::/40", "7552"}, + {"240a:a803::/32", "144701"}, + {"2a01:190:39::/48", "199015"}, + {"2a01:a280:103::/30", "35000"}, + {"2001:559:540::/48", "33491"}, + {"2403:2f00::/32", "24466"}, + {"2600:9000:1136::/44", "16509"}, + {"2606:e980::/32", "393945"}, + {"2804:14d:5891::/42", "28573"}, + {"2a02:74a0:1::/48", "204038"}, + {"2001:14c8::/32", "16128"}, + {"240a:a2db::/32", "143381"}, + {"240a:a5fb::/32", "144181"}, + {"240e:c9:4000::/35", "134765"}, + {"2600:6000:fcd2::/39", "12271"}, + {"2409:8924:4f00::/35", "56046"}, + {"2600:6c10:f409::/46", "20115"}, + {"2620:1e:a000::/48", "196962"}, + {"2a01:6b80::/32", "8887"}, + {"2400:9800:d::/43", "24203"}, + {"240e:6b6:1000::/34", "4134"}, + {"2804:164c::/40", "263280"}, + {"2806:2f0:20e3::/43", "22884"}, + {"2a0d:60c1::/30", "208861"}, + {"2001:4cb8:40c::/29", "28878"}, + {"2409:800b:2904::/47", "9808"}, + {"240a:a196::/32", "143056"}, + {"2a0c:3000::/32", "34953"}, + {"2c0f:f850:157::/32", "327979"}, + {"2605:f400:1::/48", "22611"}, + {"2a00:11b8::/32", "44009"}, + {"2a00:4280::/32", "15401"}, + {"2c0f:f000:700::/36", "36891"}, + {"2400:1d20::/32", "45727"}, + {"2408:8459:450::/38", "17816"}, + {"2a00:cc20::/33", "20495"}, + {"2402:800:550f::/43", "7552"}, + {"2402:bcc0::/32", "9639"}, + {"2409:8904:4460::/39", "24547"}, + {"2606:6680:2::/48", "40676"}, + {"2607:e480::/46", "395748"}, + {"2001:3c8:900a::/34", "4621"}, + {"2001:559:776::/48", "33659"}, + {"2402:e280:2167::/44", "134674"}, + {"2600:9000:a102::/48", "16509"}, + {"2a00:4fc0::/32", "39931"}, + {"2a02:26f7:dc85::/46", "20940"}, + {"2406:da11::/36", "16509"}, + {"240a:a512::/32", "143948"}, + {"240e:67a:8400::/38", "140329"}, + {"2600:9000:248c::/43", "16509"}, + {"2602:fc23:156::/47", "8095"}, + {"2607:3900::/32", "27382"}, + {"2800:4d0:2490::/44", "52489"}, + {"2804:14d:7e00::/42", "28573"}, + {"2a02:26f7:d605::/46", "20940"}, + {"2a03:62a0:3501::/48", "1759"}, + {"2001:678:3d4::/48", "201723"}, + {"2400:b340::/32", "139901"}, + {"2406:2000:efbd::/35", "10310"}, + {"240e:44d:4b00::/42", "140345"}, + {"2a01:7480::/32", "12750"}, + {"2a02:a60::/33", "45031"}, + {"2a0c:b641:260::/44", "59598"}, + {"2001:67c:684::/48", "12502"}, + {"2409:8074:100::/35", "9808"}, + {"240e:44d:7240::/42", "140356"}, + {"2602:ff84:c::/48", "36351"}, + {"2606:e480:400::/33", "55083"}, + {"2a02:26f7:bbc0::/48", "36183"}, + {"2a0e:8f02:f03a::/48", "210707"}, + {"2001:559:c1c9::/48", "33650"}, + {"2401:fa00:45::/43", "24424"}, + {"2804:2d4c::/32", "265272"}, + {"2001:559:c071::/48", "21508"}, + {"240a:a14e::/32", "142984"}, + {"2606:2800:4203::/48", "14210"}, + {"2804:4c0::/32", "3549"}, + {"2a04:f380::/32", "59985"}, + {"2c0f:f140:a000::/33", "327700"}, + {"2401:8d00::/47", "38345"}, + {"2405:f080:1e0e::/43", "136907"}, + {"2620:13b:3010::/47", "13607"}, + {"2804:40ec::/32", "265991"}, + {"2a02:26f7:e914::/48", "36183"}, + {"240a:a29a::/32", "143316"}, + {"2804:204:315::/42", "28186"}, + {"2a0e:c80:323::/48", "40676"}, + {"2804:471c::/32", "267032"}, + {"2806:20d:9300::/33", "32098"}, + {"2a01:a280::/46", "35000"}, + {"2a02:26f7:ebc9::/46", "20940"}, + {"2a0e:8f02:f005::/48", "212983"}, + {"2408:8456:5e40::/39", "17816"}, + {"2409:8020:c1::/43", "56046"}, + {"2610:a1:303c::/48", "12008"}, + {"2806:105e:f::/43", "8151"}, + {"2402:78c0:1000::/34", "137455"}, + {"2a02:26f7:c044::/48", "36183"}, + {"2001:67c:2fdc::/48", "42063"}, + {"2403:cd40:8001::/33", "10075"}, + {"2804:7f5c::/32", "271683"}, + {"2a00:9c80::/32", "35613"}, + {"2a06:8dc0::/42", "57878"}, + {"2001:4430:5128::/38", "17853"}, + {"2403:5a40:40::/48", "134562"}, + {"2a03:9180::/47", "199422"}, + {"2401:d800:ff92::/41", "7552"}, + {"2600:140f:6401::/38", "20940"}, + {"2604:ba00::/32", "11798"}, + {"2408:8456:8c40::/39", "17816"}, + {"240a:a2eb::/32", "143397"}, + {"240e:966:ac00::/33", "4134"}, + {"2804:18:5030::/36", "26599"}, + {"2a0f:d700::/29", "208861"}, + {"240e:940:f00::/32", "4134"}, + {"2604:1380:40d0::/39", "54825"}, + {"2606:2800:600a::/48", "15133"}, + {"2804:82b4::/32", "272535"}, + {"2a02:26f7:c905::/46", "20940"}, + {"2409:8052:2002::/40", "56047"}, + {"2804:6c0:100::/38", "262418"}, + {"2804:950:8010::/39", "263072"}, + {"2804:3054::/32", "264944"}, + {"2804:4b8c::/32", "267313"}, + {"2a0a:340:100::/40", "56807"}, + {"2001:250:81c::/42", "138182"}, + {"2602:fdd0::/36", "397488"}, + {"2620:106:7002::/45", "11795"}, + {"2a0c:b641:458::/48", "208749"}, + {"2001:67c:22d4::/48", "3320"}, + {"2409:896a:a200::/39", "9808"}, + {"240a:a056::/32", "142736"}, + {"2600:1417:79::/46", "20940"}, + {"2801:1b:a800::/48", "19429"}, + {"2001:559:85c7::/44", "33651"}, + {"2001:67c:15ec::/48", "21485"}, + {"2001:df2:c480::/48", "140001"}, + {"2001:16b8:1f00::/33", "8881"}, + {"2001:4490:3dfc::/38", "9829"}, + {"2403:1000:5300::/40", "38819"}, + {"2602:ffc8::/39", "20278"}, + {"2605:3600::/46", "30452"}, + {"2804:14c:3d00::/40", "28573"}, + {"2804:536c::/32", "268583"}, + {"2402:8100:2600::/41", "45271"}, + {"2409:8a6c:6300::/27", "9808"}, + {"240a:aa64::/32", "145310"}, + {"240e:67f:c600::/34", "4134"}, + {"2604:d600:1061::/45", "32098"}, + {"2a02:26f7:b8c0::/48", "36183"}, + {"2a05:d050:c0c0::/44", "16509"}, + {"2404:9400:1000::/33", "133159"}, + {"2404:bf40:a0c1::/39", "139084"}, + {"240a:ae1d::/32", "146263"}, + {"2602:ff96:14::/48", "8100"}, + {"2605:8600::/32", "26827"}, + {"2804:73bc::/46", "270934"}, + {"2408:8256:3260::/44", "17623"}, + {"2408:8957:4800::/40", "17622"}, + {"2409:8907:7d20::/38", "24547"}, + {"2804:4f0:c000::/34", "22129"}, + {"2804:7000::/32", "270700"}, + {"2a02:26f7:bd44::/48", "36183"}, + {"2a02:26f7:fa48::/48", "36183"}, + {"2a10:d100::/32", "28919"}, + {"2001:559:81bb::/48", "33651"}, + {"2604:21c0::/32", "396097"}, + {"2804:6138::/32", "269221"}, + {"2a06:e881:1802::/45", "206885"}, + {"2400:cd00:1038::/41", "38794"}, + {"240e:958:1100::/40", "4134"}, + {"2620:1fc::/36", "55028"}, + {"2408:84f3:b810::/42", "134543"}, + {"2804:1310::/32", "263513"}, + {"2a06:6f40::/29", "204109"}, + {"2400:b4c0::/32", "134141"}, + {"2400:bc00:1811::/46", "140637"}, + {"2804:954:41::/42", "263073"}, + {"2804:1634::/32", "263275"}, + {"2a00:79e1:f1c::/46", "36384"}, + {"2001:559:87b0::/47", "7015"}, + {"2001:1820:1a::/48", "6147"}, + {"2401:380::/32", "17907"}, + {"2c0f:f6d0:86::/42", "327687"}, + {"2001:550:9b00:100::/46", "174"}, + {"2602:ffb0:16::/48", "20473"}, + {"2a0f:bf00:80::/42", "207801"}, + {"2001:579:dc::/39", "22773"}, + {"2001:dc3::/32", "7500"}, + {"2001:dcc:5::/48", "23596"}, + {"2401:4900:4ac0::/44", "45609"}, + {"2404:c0:6400::/32", "23693"}, + {"2602:fc4a::/36", "399890"}, + {"2a00:1560:d::/48", "59771"}, + {"2400:b600::/32", "24362"}, + {"2606:7500::/32", "54154"}, + {"2620:171:5::/46", "715"}, + {"2a02:26f7:ca48::/48", "36183"}, + {"2a0a:69c0::/29", "25375"}, + {"2a0e:6902:4000::/40", "57695"}, + {"2406:840:f660::/44", "209218"}, + {"2408:80da::/32", "17816"}, + {"240a:a71a::/32", "144468"}, + {"2a02:26f7:eec9::/42", "20940"}, + {"2a0f:cc87:3000::/33", "210625"}, + {"2001:559:104::/48", "33651"}, + {"2600:6000:fcd1::/48", "11351"}, + {"2602:fda3:4::/36", "397942"}, + {"2806:370:5310::/44", "28403"}, + {"2a09:11c0:32c::/43", "211352"}, + {"2405:205:6000::/32", "55836"}, + {"2409:8a3e::/25", "9808"}, + {"240a:abc4::/32", "145662"}, + {"2602:fd50:f20::/44", "207609"}, + {"2804:8c8::/32", "262393"}, + {"2804:3d28:10::/48", "262664"}, + {"2001:559:e9::/48", "13367"}, + {"2001:660:3007::/32", "2200"}, + {"2001:67c:1550::/48", "31451"}, + {"2605:db00::/32", "25222"}, + {"2804:5cc8:dd00::/34", "268930"}, + {"2a01:298:fd::/48", "50827"}, + {"2a02:2068::/32", "15830"}, + {"2001:1b28:800::/37", "205950"}, + {"2400:1c00:220::/43", "45143"}, + {"2400:6280:111::/48", "132280"}, + {"2405:b900:2000::/48", "55701"}, + {"2408:8406:b400::/39", "4808"}, + {"240a:ac93::/32", "145869"}, + {"240e:db:a800::/37", "38283"}, + {"2605:5fc1::/29", "1239"}, + {"2610:e0:a000::/48", "26934"}, + {"2a01:8840:dd::/48", "207266"}, + {"2a0c:5500::/45", "205081"}, + {"2001:550:2600:200::/47", "174"}, + {"2001:67c:1bc8::/48", "210729"}, + {"2402:2200:2000::/36", "24090"}, + {"2803:7d40::/32", "264680"}, + {"2001:1a70::/32", "12046"}, + {"2001:4450:41::/29", "9299"}, + {"2604:af80::/37", "18859"}, + {"2001:550:6700::/48", "14877"}, + {"240e:964:5800::/32", "4134"}, + {"2a0a:49c0::/29", "206178"}, + {"2a0d:a780::/29", "208994"}, + {"2001:43f8:b30::/48", "327917"}, + {"2400:cb00:a340::/46", "13335"}, + {"240e:e2:2000::/31", "4134"}, + {"2800:310:12::/38", "18678"}, + {"2801:1f0::/34", "3573"}, + {"2a02:26f7:bd09::/46", "20940"}, + {"2a04:4e42:84::/38", "54113"}, + {"2001:559:c40a::/48", "7016"}, + {"2001:16b8:6d00::/35", "8881"}, + {"2600:370f:5040::/47", "32261"}, + {"2602:fb9d:10::/48", "400554"}, + {"2804:2c88::/32", "265225"}, + {"2a02:a40::/32", "25248"}, + {"2a02:26f7:bf80::/48", "36183"}, + {"2a02:cb43:4000::/45", "20546"}, + {"2001:7f8:26::/64", "6461"}, + {"2404:3d00:41a9::/32", "3573"}, + {"2604:d600:103f::/41", "32098"}, + {"2a03:b200::/31", "20860"}, + {"2610:30:2001::/33", "30313"}, + {"2804:1318::/32", "263515"}, + {"2a0d:82c7:8000::/36", "47787"}, + {"2402:800:6211::/45", "7552"}, + {"2600:370f:9061::/46", "32261"}, + {"2a05:f740::/29", "206119"}, + {"2001:67c:2044::/48", "51290"}, + {"2001:860::/29", "5410"}, + {"2001:fb0:109f:18::/63", "36040"}, + {"2408:840c:7900::/40", "17621"}, + {"240a:a06f::/32", "142761"}, + {"2600:5c01:3044::/48", "11351"}, + {"2600:6c20:e07::/44", "20115"}, + {"2a03:780::/32", "59702"}, + {"2001:678:c20::/48", "200303"}, + {"2001:67c:1bac::/48", "59876"}, + {"2405:9800:70::/40", "131445"}, + {"2409:8714:4a00::/34", "56044"}, + {"2a00:f08::/32", "21367"}, + {"2a02:ff0:200::/40", "12735"}, + {"2a10:7b40::/29", "9186"}, + {"2a10:9100:6::/48", "47890"}, + {"2001:559:8255::/48", "7922"}, + {"2001:559:841c::/48", "21508"}, + {"2600:141b:3001::/37", "20940"}, + {"2602:fd92:c20::/44", "46997"}, + {"2607:f750:c000::/40", "23473"}, + {"2800:150:2::/45", "22047"}, + {"2001:559:c0bf::/48", "33287"}, + {"2001:1248:9a85::/44", "11172"}, + {"2a02:26f7:e8c0::/48", "36183"}, + {"2001:250:7024::/48", "24370"}, + {"2001:559:c1e9::/46", "7922"}, + {"2001:678:f4c::/48", "56793"}, + {"2401:d800:fb90::/42", "7552"}, + {"2402:f8c0::/48", "137798"}, + {"2600:1017:b0e0::/39", "6167"}, + {"2600:1409:4801::/35", "20940"}, + {"2801:80:1700::/40", "61580"}, + {"2a11:c9c0::/29", "1239"}, + {"2602:fea0::/36", "18531"}, + {"2801:190::/42", "10753"}, + {"2a06:7343:1f2c::/48", "199364"}, + {"2a0e:b107:12d1::/46", "211358"}, + {"2a0f:2e40::/29", "60262"}, + {"2001:468:1a00::/45", "4557"}, + {"2001:559:494::/48", "7016"}, + {"240a:a61c::/32", "144214"}, + {"240e:980:4600::/40", "134756"}, + {"2607:f820:4000::/32", "11051"}, + {"2800:440:86::/48", "27738"}, + {"2a00:1cb8:2:9::/61", "12713"}, + {"2001:559:291::/45", "7015"}, + {"2001:559:875c::/48", "7015"}, + {"2600:380:b580::/36", "20057"}, + {"2001:678:74::/48", "55195"}, + {"2001:918:ff74::/48", "8300"}, + {"2001:1978:2300::/37", "13768"}, + {"2401:d800:130::/41", "7552"}, + {"2408:8957:a700::/40", "17816"}, + {"240e:5e:f000::/36", "58543"}, + {"2600:6c38:769::/45", "20115"}, + {"2605:1980:2::/39", "13951"}, + {"2606:6080:1001::/46", "32489"}, + {"2001:559:5d2::/48", "7015"}, + {"2001:df5:f180::/48", "141710"}, + {"2804:30e0::/32", "264978"}, + {"2806:250:300::/46", "28512"}, + {"2806:2f0:12::/42", "17072"}, + {"2a0b:d240::/32", "47886"}, + {"2001:468:2610::/48", "396955"}, + {"240e:41:800::/34", "4134"}, + {"2a00:c600::/29", "41960"}, + {"2a09:6d40::/32", "60349"}, + {"2a0e:aa01:aa10::/44", "210311"}, + {"2001:559:c49c::/48", "33659"}, + {"2001:4878:8220::/48", "12222"}, + {"2409:8087:1b00::/37", "9808"}, + {"2803:d060::/32", "267813"}, + {"2001:1388:b46::/35", "6147"}, + {"2402:8100:39f0::/38", "45271"}, + {"2600:1003:b1d0::/44", "6167"}, + {"2600:e000::/38", "22995"}, + {"2803:6ce0::/35", "269909"}, + {"2a02:26f0:b001::/40", "20940"}, + {"2a07:14c0:4000::/36", "208861"}, + {"2a0b:82c0::/29", "41645"}, + {"2402:800:371d::/42", "7552"}, + {"2600:141b:7800::/48", "35994"}, + {"2804:6e4:a000::/35", "262612"}, + {"2804:136c:e001::/35", "262372"}, + {"2804:3e50::/39", "266587"}, + {"2804:7698::/32", "271122"}, + {"2a00:4200::/32", "41349"}, + {"2a01:ad40::/32", "198781"}, + {"2a12:5c00::/32", "42000"}, + {"2803:d600::/32", "20255"}, + {"2001:559:843b::/48", "7922"}, + {"2400:3740::/32", "136000"}, + {"2403:5a00::/32", "23783"}, + {"2a02:26f7:fa88::/48", "36183"}, + {"2c0f:3200::/47", "37558"}, + {"2c0f:ee78:8003::/45", "61317"}, + {"2406:e1c0:601::/36", "141459"}, + {"2600:6000:f004::/40", "12271"}, + {"2605:c700::/32", "819"}, + {"2620:4f:2000::/48", "40773"}, + {"2804:3994:8000::/33", "266037"}, + {"2a09:72c0::/29", "400522"}, + {"2001:550:d03::/45", "174"}, + {"2405:a540:100f::/32", "38156"}, + {"2409:8704:5900::/34", "24547"}, + {"240a:a694::/32", "144334"}, + {"2600:6c38:892::/44", "20115"}, + {"2a0a:fc80::/32", "12409"}, + {"2a10:d200::/29", "212323"}, + {"2001:15b8::/32", "24730"}, + {"2400:7e80::/32", "59258"}, + {"240a:a0be::/32", "142840"}, + {"2606:1c00::/32", "11714"}, + {"2610:88:2:1::/48", "14037"}, + {"2804:645c::/32", "269423"}, + {"2804:7a2c::/32", "271352"}, + {"2a00:a640:4::/32", "13445"}, + {"2a02:16a::/31", "13030"}, + {"2a03:90c0:9994::/44", "199524"}, + {"2a05:7640:2040::/42", "174"}, + {"2001:559:c202::/48", "33661"}, + {"2001:df1:6f80::/48", "139655"}, + {"2804:80e0::/32", "272418"}, + {"2a02:26f7:c746::/47", "20940"}, + {"2a02:26f7:f885::/46", "20940"}, + {"2a0f:fc0::/29", "60262"}, + {"2001:559:8428::/48", "33652"}, + {"2401:9780::/32", "132893"}, + {"2604:5500:a000::/38", "19165"}, + {"2801:12:7000::/48", "266737"}, + {"2804:54b4::/32", "262821"}, + {"2a02:26f7:ca89::/42", "20940"}, + {"2001:388:1030::/48", "137188"}, + {"2001:559:36c::/48", "7016"}, + {"2401:d800:bdc2::/42", "7552"}, + {"2404:bf40:c081::/48", "7545"}, + {"240a:aeaf::/32", "146409"}, + {"240e:3ba::/35", "134773"}, + {"2803:700::/32", "27976"}, + {"2806:2f0:7101::/46", "17072"}, + {"2001:559:5be::/48", "7922"}, + {"2402:9d80:a04::/46", "131429"}, + {"2402:e800::/32", "37912"}, + {"2403:1000:4100::/40", "38819"}, + {"2605:bfc0::/32", "36048"}, + {"2620:5:e000::/48", "13951"}, + {"2a02:26f0:301::/37", "20940"}, + {"2a0d:4f40::/32", "202724"}, + {"2403:300:a0c::/48", "6185"}, + {"2602:ff06:725::/48", "6939"}, + {"2607:fdf0:5c99::/38", "8008"}, + {"2a02:26f7:d649::/46", "20940"}, + {"2a02:2b50:ffff::/48", "21286"}, + {"2a02:2ab0:430::/39", "702"}, + {"2404:138:48::/39", "38022"}, + {"2405:9400::/32", "45172"}, + {"240e:978:1a00::/37", "4134"}, + {"2a02:ad8:14::/42", "12389"}, + {"2a02:c502::/29", "199246"}, + {"2409:8904:5e40::/42", "24547"}, + {"240e:3b5:2800::/38", "4134"}, + {"2a07:6c80::/29", "27176"}, + {"2001:4878:21e0::/44", "35994"}, + {"2804:ebc::/32", "61588"}, + {"2a03:e841::/32", "47492"}, + {"2a0b:aa00::/29", "20811"}, + {"2001:559:8289::/48", "20214"}, + {"2605:4a00:131::/44", "14361"}, + {"2605:cf80::/32", "63297"}, + {"2801:80:2560::/48", "268620"}, + {"2804:14c:75a6::/47", "28573"}, + {"2001:67c:1b08::/48", "2598"}, + {"2604:d600:566::/38", "32098"}, + {"2804:2cd4:30::/41", "265246"}, + {"2001:559:c20f::/48", "33662"}, + {"2001:57a:102::/47", "26008"}, + {"240a:a7e6::/32", "144672"}, + {"240a:ae25::/32", "146271"}, + {"2600:140b:1c01::/38", "20940"}, + {"2603:c0fc:2800::/40", "54253"}, + {"2804:eb4:480::/38", "61890"}, + {"2001:559:c247::/48", "33659"}, + {"240a:a97d::/32", "145079"}, + {"2600:370f:376e::/40", "32261"}, + {"2804:145c:8500::/36", "263327"}, + {"2a02:26f7:d60c::/48", "36183"}, + {"2408:8406:9c00::/39", "4808"}, + {"2409:8c28:203::/36", "56041"}, + {"2607:fc58:1:57::/64", "13536"}, + {"2a06:1140::/29", "49262"}, + {"2a0f:5707:ffa0::/45", "131668"}, + {"2405:ba00:8010::/48", "38538"}, + {"2620:10a:80d1::/48", "27299"}, + {"2804:6e2c::/32", "270580"}, + {"2a0f:bd00::/29", "202591"}, + {"2001:250:181a::/48", "23910"}, + {"2402:79c0:1149::/48", "26415"}, + {"2a01:581:d::/29", "9136"}, + {"2a02:26f7:d300::/48", "36183"}, + {"2405:3340::/48", "137856"}, + {"2800:160:2c57::/40", "14259"}, + {"2804:80ac::/32", "271766"}, + {"2a02:e747::/48", "210168"}, + {"2001:1248:a444::/43", "11172"}, + {"2404:e400:20::/32", "45345"}, + {"2804:46d4::/47", "267014"}, + {"240a:aaee::/32", "145448"}, + {"2a07:e00:ac::/48", "210083"}, + {"2001:559:7ef::/48", "22258"}, + {"2001:d10::/32", "4787"}, + {"2001:df4:bd00::/48", "137338"}, + {"2001:df7::/48", "59162"}, + {"2405:8d40:b00::/37", "139831"}, + {"2408:8456:1640::/39", "17816"}, + {"2408:8957:500::/40", "17816"}, + {"240d:c010:41::/46", "139341"}, + {"2620:111:800a::/45", "32771"}, + {"2804:3868:1000::/37", "266475"}, + {"2804:38e4::/32", "266508"}, + {"2a03:be80:42::/32", "15510"}, + {"2407:9240:2900::/40", "212358"}, + {"2607:f3a0:a001::/48", "399819"}, + {"2800:160:2b78::/40", "14259"}, + {"2804:61dc::/33", "269261"}, + {"2a02:26f0:aa01::/39", "20940"}, + {"2001:67c:2af8::/48", "29518"}, + {"2408:8459:be50::/33", "17816"}, + {"2a02:26f7:d241::/46", "20940"}, + {"2405:1c0:6871::/46", "55303"}, + {"240a:ab8d::/32", "145607"}, + {"2602:feda:d83::/48", "209645"}, + {"2605:b1c0::/32", "14404"}, + {"2403:1940:50::/48", "137935"}, + {"2408:8456:dc10::/42", "134543"}, + {"2408:8610::/29", "4837"}, + {"2001:67c:2378::/48", "41504"}, + {"2001:67c:2c18::/48", "59750"}, + {"240a:a33a::/32", "143476"}, + {"2607:f250:d020::/48", "7046"}, + {"2001:678:e00::/48", "44471"}, + {"2400:cb00:a842::/48", "13335"}, + {"2804:14c:d000::/40", "28573"}, + {"2a00:7160::/32", "8449"}, + {"2a0c:dd80:1000::/48", "208626"}, + {"240a:a7d3::/32", "144653"}, + {"2605:6440:6003::/45", "396356"}, + {"2804:426c::/32", "267499"}, + {"2806:2f0:4523::/41", "17072"}, + {"2a02:26f7:f280::/48", "36183"}, + {"2a03:300::/31", "207934"}, + {"2a0f:cc40::/29", "8901"}, + {"2403:1cc0:1301::/48", "45352"}, + {"2408:822a:9200::/34", "139007"}, + {"2409:8752:900::/38", "56047"}, + {"240e:14:7800::/37", "133776"}, + {"2606:2800:501b::/48", "14153"}, + {"2800:bf0:80a0::/47", "52257"}, + {"2804:240:3000::/32", "262798"}, + {"2001:da8:e81e::/48", "24368"}, + {"240a:a22f::/32", "143209"}, + {"2801:0:200::/48", "8053"}, + {"2001:559:c349::/48", "33657"}, + {"240a:a65c::/32", "144278"}, + {"240a:aa50::/32", "145290"}, + {"2804:1c8:8010::/39", "53184"}, + {"2a03:2267::/32", "49009"}, + {"2a0d:2146:8586::/44", "39526"}, + {"2600:141c:1801::/34", "20940"}, + {"2607:fa98::/35", "22439"}, + {"2804:1420::/32", "52901"}, + {"2a00:ae80::/32", "49750"}, + {"2a0d:4900::/48", "205996"}, + {"2001:559:2::/48", "7016"}, + {"2001:559:4dd::/48", "7015"}, + {"2001:559:c24f::/48", "33659"}, + {"2408:8456:a840::/38", "17816"}, + {"2606:c140::/32", "211444"}, + {"2804:4ff0::/32", "268359"}, + {"2a02:c50:db8::/48", "196610"}, + {"2a02:26f7:ba84::/47", "36183"}, + {"2a04:200::/29", "48101"}, + {"2001:559:c130::/48", "33659"}, + {"2001:42a8::/39", "36937"}, + {"2404:181::/32", "6619"}, + {"2600:1400:f001::/31", "20940"}, + {"2806:20d:7500::/32", "32098"}, + {"2001:da8:a400::/48", "24348"}, + {"240a:a9bf::/32", "145145"}, + {"240a:aa66::/32", "145312"}, + {"2606:2800:6a4d::/46", "15133"}, + {"2a04:4e40:4e00::/48", "54113"}, + {"2001:1248:5a32::/41", "11172"}, + {"2401:d800:ae0::/39", "7552"}, + {"2404:fd00:c::/32", "58552"}, + {"240e:108:1110::/47", "137695"}, + {"2a00:8860:900::/40", "209485"}, + {"2a02:c900::/29", "62319"}, + {"2001:978:90a::/38", "174"}, + {"240a:a5d3::/32", "144141"}, + {"2605:7240::/32", "10352"}, + {"2a05:c5c0::/48", "3164"}, + {"240e:67f:1800::/32", "4134"}, + {"2600:1417:e801::/37", "20940"}, + {"2a00:79e1:f14::/48", "395973"}, + {"2001:559:866e::/48", "7922"}, + {"2001:da8:6408::/48", "24367"}, + {"240e:dd:e000::/30", "4134"}, + {"2600:370f:3741::/46", "32261"}, + {"2803:7d80:5041::/32", "11664"}, + {"2a02:5c00::/29", "12580"}, + {"2a0c:1380::/29", "209984"}, + {"2001:428:3807::/48", "18703"}, + {"2001:1250:e300::/44", "22894"}, + {"240a:abdf::/32", "145689"}, + {"2800:40::/43", "16814"}, + {"2a02:918::/32", "31178"}, + {"2a02:6000:ffff::/48", "63017"}, + {"2600:3402:900::/35", "4181"}, + {"2800:bf0:8080::/45", "52257"}, + {"2804:38ec::/32", "266510"}, + {"2804:6990::/32", "270278"}, + {"2403:2940:1::/48", "63612"}, + {"2001:559:c065::/48", "33652"}, + {"2001:67c:19c0::/48", "48778"}, + {"2001:da8:6011::/46", "23910"}, + {"2804:14c:7f49::/43", "28573"}, + {"2a06:be00::/31", "200519"}, + {"2001:559:c23a::/48", "33651"}, + {"2001:67c:118::/48", "50419"}, + {"2400:4ec0:8300::/36", "64300"}, + {"2403:8300:8282::/48", "24442"}, + {"240a:a9a8::/32", "145122"}, + {"240c:ca1a::/32", "23910"}, + {"2804:f6c:2051::/32", "263585"}, + {"2804:5d44::/32", "268961"}, + {"2a02:1010:4000::/38", "9197"}, + {"2a0c:da04:10::/46", "202365"}, + {"2a0f:88c0::/32", "397651"}, + {"2001:dcd:7::/48", "397232"}, + {"2405:4040::/32", "135206"}, + {"2a02:758::/32", "29056"}, + {"2a02:2010:2200::/45", "20978"}, + {"2a02:26f7:d680::/48", "36183"}, + {"2a0a:5180::/29", "203231"}, + {"2401:8700:7f::/48", "36408"}, + {"2405:3e00::/32", "3908"}, + {"2804:2ab8:a::/41", "53180"}, + {"2804:79f4::/32", "271338"}, + {"2a00:b700:f::/48", "51659"}, + {"2a03:8940::/32", "49784"}, + {"2a0e:fd45:b01::/42", "44103"}, + {"2408:8957:e000::/40", "17622"}, + {"2600:1406:e000::/48", "35994"}, + {"2606:5440::/32", "1239"}, + {"2001:559:8482::/48", "7015"}, + {"2001:44c8:45e0::/43", "45430"}, + {"2403:2b40::/32", "137715"}, + {"2408:8207:a840::/28", "4808"}, + {"2408:8957:8a00::/40", "17622"}, + {"240e:45c:5500::/40", "140529"}, + {"2803:60a0::/32", "266809"}, + {"2a02:2aa0:120::/32", "702"}, + {"2001:fd8:31c0::/42", "132199"}, + {"2408:896c::/32", "4837"}, + {"2604:c800:ffff::/48", "6939"}, + {"2610:20:8808::/37", "3477"}, + {"2a00:1d32::/32", "9121"}, + {"2a00:ae20::/32", "60501"}, + {"2a01:788:1000::/48", "34305"}, + {"2a03:7380:3800::/42", "13188"}, + {"2001:57a:c222::/34", "22773"}, + {"2600:1010:f110::/36", "22394"}, + {"2607:f038:6006::/32", "21527"}, + {"2804:2c04::/32", "265188"}, + {"2001:559:842f::/48", "33651"}, + {"2001:67c:1064::/48", "51088"}, + {"240e:698:2a00::/40", "63835"}, + {"2804:1d30::/32", "264353"}, + {"2a00:1850:6ea::/48", "29357"}, + {"2408:8957:8000::/40", "17622"}, + {"2607:f7a8:1400::/38", "46887"}, + {"2a01:49a0::/32", "62199"}, + {"2a04:f580:9240::/48", "4809"}, + {"2a10:7bc0::/63", "60905"}, + {"2a06:6800::/29", "20565"}, + {"2804:65b8::/32", "269510"}, + {"2a07:e344::/32", "49981"}, + {"2001:559:c0a2::/48", "33659"}, + {"2001:579:e328::/41", "22773"}, + {"2401:e780::/32", "63930"}, + {"2607:f208:209::/48", "26496"}, + {"2610:b0:c100::/42", "701"}, + {"2804:2484:8150::/40", "28258"}, + {"2a09:4e04::/32", "208861"}, + {"240a:adfd::/32", "146231"}, + {"2804:3e34::/32", "266580"}, + {"2a02:2ad0:502::/48", "1270"}, + {"2001:559:8327::/44", "7015"}, + {"2402:800:9c71::/40", "7552"}, + {"2404:e100:3::/48", "55685"}, + {"240e:f7:6000::/36", "134771"}, + {"2600:1003:9850::/37", "22394"}, + {"2600:1417:16::/48", "7473"}, + {"2800:4b0:8810::/33", "12252"}, + {"240e:5a:6c00::/38", "137702"}, + {"2606:1e00::/32", "12067"}, + {"2620:22:4000::/48", "29773"}, + {"240a:acf8::/32", "145970"}, + {"240e:106:8000::/34", "4134"}, + {"2406:840:e1ef::/48", "141237"}, + {"2602:fd23:2::/48", "398292"}, + {"2607:6b80:66::/48", "63213"}, + {"2806:2f0:7303::/42", "17072"}, + {"2a0c:9a40:8170::/48", "210633"}, + {"2001:559:1ad::/48", "7725"}, + {"2001:678:78::/48", "42"}, + {"2406:840:f200::/44", "141694"}, + {"2409:8c2f:3801::/43", "56041"}, + {"2620:116:8082::/48", "27281"}, + {"2804:14d:8000::/40", "28573"}, + {"2804:2854::/32", "263956"}, + {"2001:468:26e1::/48", "237"}, + {"240e:3b8:d000::/36", "134772"}, + {"2a00:e800::/32", "49895"}, + {"2a06:1287:4::/42", "61138"}, + {"2a09:d340::/29", "39175"}, + {"2a0e:b107:14dd::/48", "50058"}, + {"2a0f:b507:ff03::/40", "206313"}, + {"2001:388:e3::/35", "7575"}, + {"2001:67c:24a0::/48", "198143"}, + {"2801:1b6::/44", "27951"}, + {"2a0b:6e40::/29", "61399"}, + {"2001:559:134::/48", "33491"}, + {"2001:4878:b228::/48", "12222"}, + {"2402:800:b7a0::/41", "7552"}, + {"2607:f740:20::/45", "36236"}, + {"2804:7504::/33", "271018"}, + {"2a10:ae80::/29", "212131"}, + {"2001:67c:7c2::/48", "57031"}, + {"2804:3c8c::/32", "266219"}, + {"2806:230:401b::/48", "11888"}, + {"2409:8050:3800::/47", "56047"}, + {"2a00:1c50:5::/46", "30811"}, + {"2a00:c8e0::/32", "199876"}, + {"2409:8904:8c90::/39", "24547"}, + {"2605:f340::/32", "399007"}, + {"2a0e:b107:17a1::/45", "56758"}, + {"2001:559:721::/48", "33657"}, + {"2401:d800:58b0::/41", "7552"}, + {"2804:2d8::/32", "52532"}, + {"2a02:26f7:d341::/46", "20940"}, + {"2a03:4c00::/29", "16347"}, + {"2001:480:161::/48", "5978"}, + {"2404:5d80:6600::/40", "33438"}, + {"2600:1001:9010::/40", "22394"}, + {"2607:6100:d0::/48", "54380"}, + {"2a04:e2c0::/29", "207050"}, + {"2a0f:1b00::/29", "7155"}, + {"2402:d0c0::/45", "35913"}, + {"240e:983:1e08::/48", "134773"}, + {"2604:bc0:5::/46", "46562"}, + {"2804:5e74::/32", "269034"}, + {"2a03:1900::/29", "47623"}, + {"2400:9380:89c0::/44", "136167"}, + {"2600:9000:115e::/48", "16509"}, + {"2607:f750:700::/36", "23473"}, + {"2a02:26f7:ec41::/46", "20940"}, + {"2a0d:d742::/45", "210036"}, + {"2a12:4946:4940::/44", "209958"}, + {"2409:8060:1900::/34", "9808"}, + {"2600:1409:a000::/48", "35994"}, + {"2803:17a0::/32", "267777"}, + {"2a02:970:115a::/42", "44002"}, + {"2a02:26f7:df48::/48", "36183"}, + {"2404:1f00:ffb5::/41", "55947"}, + {"2a02:26f7:dcc1::/46", "20940"}, + {"2a00:1aa8::/29", "42189"}, + {"2600:1406:1401::/39", "20940"}, + {"2607:fdc0:180::/38", "20326"}, + {"2804:14d:5c61::/43", "28573"}, + {"2a02:2e02:ea0::/43", "12479"}, + {"2a07:e940::/29", "213150"}, + {"2a0a:d6c0:2::/45", "61423"}, + {"2a0e:1107::/48", "208975"}, + {"2409:4071:1000::/30", "55836"}, + {"240a:a1ea::/32", "143140"}, + {"2603:f400::/26", "397165"}, + {"2806:268:1300::/37", "13999"}, + {"2a0e:e704:45::/48", "212970"}, + {"2001:468:c00::/45", "10886"}, + {"2001:559:443::/48", "7015"}, + {"2001:4410::/35", "132040"}, + {"2a00:1850:6a1::/48", "29357"}, + {"2a00:1908:e48::/32", "43586"}, + {"2001:67c:10cc::/48", "45011"}, + {"2405:1c0:6611::/45", "55303"}, + {"2804:770c::/32", "271151"}, + {"2a03:e00::/32", "50163"}, + {"2001:559:c345::/48", "7922"}, + {"2400:7400:3a::/48", "38044"}, + {"2401:d800:9b60::/40", "7552"}, + {"2405:1300::/32", "58698"}, + {"2406:daa0:a0c0::/44", "16509"}, + {"2600:5c01:2d3a::/35", "10796"}, + {"2804:7f60::/32", "271684"}, + {"2a0b:4581::/48", "16509"}, + {"2607:ac80:100::/40", "397511"}, + {"2607:b480::/32", "394814"}, + {"2620:f1:c000::/48", "22773"}, + {"2804:3244::/46", "265066"}, + {"2804:3c7c::/32", "266215"}, + {"2a05:3280:43a::/29", "50999"}, + {"2a0c:4140::/32", "206656"}, + {"2a0e:b107:510::/48", "209101"}, + {"2001:559:8260::/48", "33667"}, + {"2001:df2:ee00::/47", "45192"}, + {"2001:19f0::/38", "20473"}, + {"2402:800:9b39::/41", "7552"}, + {"2602:fde7::/36", "5650"}, + {"2610:b0:4117::/48", "3573"}, + {"2800:bf0:a6::/48", "27947"}, + {"2a00:ff0:1234::/48", "41494"}, + {"2a00:7b80::/32", "62370"}, + {"2001:998::/40", "719"}, + {"2607:fc48:410::/48", "40009"}, + {"2a0a:59c7:1009::/46", "204724"}, + {"2a03:9e42::/32", "31399"}, + {"2a0e:97c0:738::/45", "208699"}, + {"2001:43f8:d20::/44", "328209"}, + {"2a05:3740::/29", "8774"}, + {"2a0f:ff00:1912::/48", "213281"}, + {"2001:559:8347::/48", "7015"}, + {"2001:67c:504::/48", "61337"}, + {"2402:a300:c006::/36", "55427"}, + {"2a0f:c081:b11e::/48", "48108"}, + {"2001:559:c104::/48", "7725"}, + {"2001:559:c2ea::/47", "33659"}, + {"2401:7400:ec01::/35", "4773"}, + {"2404:b800::/32", "4739"}, + {"240a:a643::/32", "144253"}, + {"2801:1e:c800::/48", "27951"}, + {"2803:5200::/48", "52439"}, + {"2a02:840::/32", "41828"}, + {"2a05:b800::/29", "203550"}, + {"2a0a:1880::/29", "39647"}, + {"2404:bf40:a040::/48", "7545"}, + {"2405:e0c0::/48", "63730"}, + {"2804:5100::/34", "268424"}, + {"2a0b:4d07:a01::/48", "44239"}, + {"2001:1980:500::/36", "29838"}, + {"240a:a239::/32", "143219"}, + {"240a:a5a1::/32", "144091"}, + {"2604:cbc0::/32", "398143"}, + {"2a03:c000::/29", "2116"}, + {"2a0b:b87:ffd4::/48", "204826"}, + {"2c0f:e958::/32", "15399"}, + {"2402:800:34ee::/43", "7552"}, + {"240e:3be:ac00::/35", "4134"}, + {"2a01:b800::/32", "41937"}, + {"2a02:26f7:f089::/46", "20940"}, + {"2001:ee0:9640::/39", "45899"}, + {"2402:800:357f::/40", "7552"}, + {"2409:8c30:1210::/39", "9808"}, + {"2a02:ee80:41d8::/42", "3573"}, + {"2a06:4540::/29", "200428"}, + {"2a06:c5c0:700::/48", "44709"}, + {"2a07:59c6:eed7::/44", "48646"}, + {"2001:559:8322::/48", "33651"}, + {"2a00:f9c0::/32", "31727"}, + {"2a02:888:4052::/47", "48695"}, + {"2001:c38:90aa::/45", "135566"}, + {"2404:3d00:40c4::/47", "21433"}, + {"2604:2e00::/32", "11650"}, + {"2a02:26f7:c8d8::/48", "36183"}, + {"2001:579:d0e4::/39", "22773"}, + {"2409:896a:b000::/36", "9808"}, + {"2600:1402:801::/38", "20940"}, + {"2604:2e80:806::/37", "30036"}, + {"2a02:26f7:cc45::/46", "20940"}, + {"2a04:5c85::/36", "200584"}, + {"2001:c50::/32", "9924"}, + {"2620:12e:e000::/40", "14630"}, + {"2a03:19c0::/32", "204141"}, + {"2001:550:8901:2::/37", "174"}, + {"2804:555c::/32", "264105"}, + {"2001:418:1467::/40", "2914"}, + {"2404:8000:10bb::/32", "17451"}, + {"240c:c0a9:1300::/40", "133513"}, + {"240e:4a:4300::/40", "58571"}, + {"2a0f:ca87:9::/48", "208771"}, + {"2001:559:8596::/48", "7922"}, + {"2001:559:c0cc::/48", "33659"}, + {"2407:4000::/45", "38005"}, + {"240e:86:3000::/37", "137688"}, + {"2620:57:4000::/48", "62831"}, + {"2602:fcff:14::/47", "57164"}, + {"2607:3180::/47", "14877"}, + {"2620:101:200f::/43", "16417"}, + {"2804:6398::/32", "269371"}, + {"2a02:26f7:f300::/48", "36183"}, + {"2a04:8480::/30", "196714"}, + {"2a0d:1a45:6665::/32", "57782"}, + {"2a0e:b540::/29", "30823"}, + {"2a00:1d50::/32", "47605"}, + {"2a00:ab01::/32", "50149"}, + {"2a04:2100::/31", "40999"}, + {"2001:67c:2460::/48", "1257"}, + {"240a:a784::/32", "144574"}, + {"240a:a7bd::/32", "144631"}, + {"2600:3002:1212::/32", "13649"}, + {"2a02:26f0:d101::/38", "20940"}, + {"2a02:26f7:1b::/48", "20940"}, + {"2001:559:10::/48", "7922"}, + {"2001:67c:1264::/48", "51883"}, + {"240e:267:4400::/36", "4134"}, + {"2804:208c::/32", "264497"}, + {"2a07:5c0::/29", "213035"}, + {"2a0e:fd45:40f4::/48", "49367"}, + {"2a0f:5707:b000::/48", "212895"}, + {"2001:559:137::/44", "33650"}, + {"2407:bb00:5000::/44", "45625"}, + {"2602:fd65::/36", "55140"}, + {"2803:ce00::/32", "52422"}, + {"2804:20:7a::/32", "26615"}, + {"2a00:c020::/36", "197588"}, + {"2a03:5a00:3e::/48", "48614"}, + {"2a07:57c0::/32", "50113"}, + {"2001:559:43a::/48", "33657"}, + {"2001:579:60ac::/38", "22773"}, + {"240a:a3dd::/32", "143639"}, + {"2001:559:852f::/48", "33662"}, + {"2001:67c:40::/48", "35733"}, + {"2400:13c0::/32", "135893"}, + {"2402:3a80:c043::/44", "38266"}, + {"2804:b4:f000::/36", "28294"}, + {"2804:d04::/32", "52584"}, + {"2804:1a30:c300::/40", "61844"}, + {"2a02:2e02:2670::/39", "12479"}, + {"2a10:6b00::/29", "399975"}, + {"2001:1260:4::/48", "28535"}, + {"2409:8a52:1100::/31", "56047"}, + {"2a00:ece1::/48", "5606"}, + {"2a01:9500:81::/32", "197696"}, + {"2a04:f580:9200::/46", "4809"}, + {"2001:559:827d::/48", "7015"}, + {"2001:40c0::/48", "21217"}, + {"2409:8752:b00::/37", "56047"}, + {"2001:559:c27a::/48", "33652"}, + {"2001:df7:af00::/48", "138142"}, + {"2001:44c8:4660::/43", "45430"}, + {"2407:5380::/32", "63629"}, + {"2604:af80:448::/36", "18859"}, + {"2a04:4240::/29", "48871"}, + {"2401:3bc0:401::/38", "137409"}, + {"240a:a84d::/32", "144775"}, + {"2605:7200::/32", "21804"}, + {"2803:2a00:3c00::/33", "27895"}, + {"2c0f:f020:8b00::/40", "327907"}, + {"240a:ac03::/32", "145725"}, + {"2600:1007:d0c0::/44", "6167"}, + {"2603:c026:c000::/35", "31898"}, + {"2800:160:1da2::/44", "14259"}, + {"2a00:1d34:4400::/40", "47331"}, + {"2409:8924:6f00::/35", "56046"}, + {"2a00:1588::/33", "25372"}, + {"2a02:2af8:130::/38", "702"}, + {"2a0a:4e83:120::/48", "206074"}, + {"2a0c:82c0::/29", "203015"}, + {"2001:16d8:65::/36", "16150"}, + {"2402:ef03:1::/46", "7633"}, + {"2409:802f:2900::/46", "9808"}, + {"240a:abad::/32", "145639"}, + {"240e:3b5:4c00::/35", "136200"}, + {"2804:2688::/32", "262482"}, + {"2804:2b44:37::/40", "265144"}, + {"2a03:2c40::/32", "199653"}, + {"2a10:44c0::/29", "210054"}, + {"2001:559:5a6::/44", "7922"}, + {"2401:b400:8::/47", "58536"}, + {"2402:9a00::/32", "38199"}, + {"2600:370f:3141::/40", "32261"}, + {"2620:11c:c000::/48", "54830"}, + {"2405:100:101::/32", "9905"}, + {"2600:1017:f110::/38", "6167"}, + {"2620:12b:4000::/40", "395568"}, + {"2801:80:16b0::/48", "265325"}, + {"2001:559:85b0::/48", "33491"}, + {"240a:a8fc::/32", "144950"}, + {"240e:60c:f800::/38", "137688"}, + {"2a0f:3784:100::/46", "213204"}, + {"2001:559:870e::/48", "7016"}, + {"2001:df1:3700:4000::/122", "136324"}, + {"2a0d:c5c0::/32", "210051"}, + {"2408:8956:1f40::/40", "17816"}, + {"2605:7c0:f100::/46", "19382"}, + {"2a10:2f00:14a::/48", "212767"}, + {"2403:e100:1001::/32", "58601"}, + {"2a0e:97c0:240::/44", "211688"}, + {"2001:67c:58::/48", "24629"}, + {"2400:1020::/44", "45276"}, + {"240a:a667::/32", "144289"}, + {"2602:ff62:183::/38", "61317"}, + {"2800:482:4001::/48", "14080"}, + {"2a02:26f7:d6cd::/42", "20940"}, + {"2a0c:c9c2:2::/40", "202414"}, + {"2001:3c8:1202::/48", "4762"}, + {"2001:67c:23b4::/48", "21297"}, + {"2603:b010:8000::/33", "11796"}, + {"2a02:2d8:1:780a::/64", "35277"}, + {"2001:559:73e::/48", "7922"}, + {"2001:16f8::/43", "25525"}, + {"2406:daa0:4080::/44", "16509"}, + {"2804:868::/32", "28649"}, + {"2804:2a50::/32", "262819"}, + {"2a06:6580::/29", "34549"}, + {"2a0f:6580::/44", "48292"}, + {"2001:1248:4320::/41", "11172"}, + {"240e:948::/31", "137695"}, + {"2804:14d:be82::/47", "28573"}, + {"2806:2f0:31a3::/41", "17072"}, + {"2001:67c:1933::/48", "12337"}, + {"2001:810::/32", "8839"}, + {"2409:8914:c600::/39", "56044"}, + {"2001:559:c3db::/48", "33287"}, + {"240a:a23c::/32", "143222"}, + {"2600:1013::/32", "6167"}, + {"2606:ec0:1000::/36", "4906"}, + {"2800:ab0::/32", "262196"}, + {"2a0a:1141:4000::/34", "206702"}, + {"2402:1c00:c07::/33", "23838"}, + {"2402:ef1e:100::/47", "7633"}, + {"2402:f000::/32", "45576"}, + {"2620:134:d000::/44", "32263"}, + {"2804:179c:2016::/35", "263159"}, + {"2a07:fec0::/29", "213138"}, + {"2c0f:f530::/44", "61138"}, + {"2001:418:4001:4::/64", "20940"}, + {"2806:230:5013::/48", "11888"}, + {"240a:a47e::/32", "143800"}, + {"2600:6c36:990::/48", "33588"}, + {"2602:fd36::/36", "398547"}, + {"2606:2800:11c::/48", "15133"}, + {"2804:4900::/34", "267158"}, + {"2a01:250:f000::/36", "34511"}, + {"2a02:4680::/48", "12722"}, + {"2604:4280::/32", "14866"}, + {"2606:5580:2000::/38", "63242"}, + {"2800:bf0:8291::/45", "52257"}, + {"2804:69b0:140::/44", "270285"}, + {"2a02:26f7:c048::/48", "36183"}, + {"2800:68:36::/48", "61468"}, + {"2800:98::/35", "14754"}, + {"2804:640:3e81::/43", "262713"}, + {"2a0a:2540::/29", "42244"}, + {"2001:470:13e::/48", "14979"}, + {"2806:263:c300::/37", "13999"}, + {"2a02:26f7:bd81::/46", "20940"}, + {"2a02:26f7:e80d::/42", "20940"}, + {"2001:559:1c4::/48", "33287"}, + {"2001:559:2b2::/47", "33652"}, + {"2001:559:8601::/46", "33287"}, + {"2001:4220:8015::/48", "24835"}, + {"2602:fc8b:22::/47", "211544"}, + {"2604:4500::/43", "29802"}, + {"2800:160:1db0::/41", "14259"}, + {"2804:38b8::/32", "266497"}, + {"2a02:26f7:d688::/48", "36183"}, + {"2a10:a040::/29", "40970"}, + {"2c0f:f6d8:4004::/47", "3573"}, + {"240a:a65d::/32", "144279"}, + {"240e:108:9b::/48", "134761"}, + {"2804:64d0::/32", "269450"}, + {"2a00:ed40::/32", "51043"}, + {"2a03:63e0::/29", "197099"}, + {"2408:8459:9a10::/42", "17623"}, + {"2600:380:b480::/39", "20057"}, + {"2620:106:e006::/47", "40428"}, + {"2804:2284::/32", "264106"}, + {"2405:203:c09::/29", "55836"}, + {"2407:6ac0::/32", "141968"}, + {"2806:363::/35", "265607"}, + {"2a07:3500:1a48::/48", "29396"}, + {"2a0c:b641:680::/44", "207466"}, + {"2001:4490:7f8::/36", "9829"}, + {"2409:8904:d0b0::/39", "24547"}, + {"2620:138:8000::/47", "62766"}, + {"2806:2f0:374::/40", "17072"}, + {"2a01:6d0::/32", "12552"}, + {"2001:559:80cf::/48", "33491"}, + {"2804:53d4:8000::/33", "268609"}, + {"2001:7f8:5d::/116", "29632"}, + {"2a02:26f0:a601::/39", "20940"}, + {"2a0a:4781::/30", "208861"}, + {"2400:4d40:f001::/36", "134204"}, + {"2400:a740::/32", "133034"}, + {"240a:a3e3::/32", "143645"}, + {"2804:3b6c:c00c::/46", "265442"}, + {"2a01:4fc0::/34", "5517"}, + {"2a10:6980::/29", "204790"}, + {"2001:250:2::/48", "24348"}, + {"2600:1480:9801::/37", "20940"}, + {"2001:978:7602::/36", "174"}, + {"2804:41f8::/32", "267469"}, + {"2a02:26f7:c581::/46", "20940"}, + {"2a06:7340:1782::/48", "199364"}, + {"2001:250:7021::/46", "23910"}, + {"2001:678:ed0::/48", "212567"}, + {"2001:b10:6000::/35", "16283"}, + {"2001:4150::/32", "5539"}, + {"2400:ddc0:1001::/34", "4785"}, + {"240a:afe2::/32", "146716"}, + {"2602:feda:d82::/48", "142566"}, + {"2a02:128:18::/48", "210845"}, + {"2a06:8100::/29", "34549"}, + {"2001:388:1035::/40", "7575"}, + {"2400:7400:65::/48", "23736"}, + {"2409:8e1b::/29", "9808"}, + {"240a:a899::/32", "144851"}, + {"2600:1404:ec01::/35", "20940"}, + {"2620:138:800e::/47", "62766"}, + {"2804:97c::/32", "263092"}, + {"2804:3458::/32", "28128"}, + {"2a06:5240:1ff0::/44", "50629"}, + {"2a0f:85c1:100::/40", "209401"}, + {"2804:4::/32", "28667"}, + {"2a03:6180::/32", "41741"}, + {"2a09:b00::/29", "209895"}, + {"2001:67c:16f8::/48", "198611"}, + {"240a:adc7::/32", "146177"}, + {"240e:45c:c900::/40", "140538"}, + {"2605:ff80::/32", "21632"}, + {"2606:5480:1000::/36", "21722"}, + {"2804:833c:2400::/33", "272185"}, + {"2a00:19d8::/32", "42004"}, + {"2a02:26f7:fc09::/38", "20940"}, + {"2001:559:8237::/48", "7015"}, + {"2405:3580:1919::/48", "62240"}, + {"2408:894c::/32", "4837"}, + {"240a:a66f::/32", "144297"}, + {"240e:bf:b8fc::/46", "138436"}, + {"2600:1006:b130::/44", "22394"}, + {"2604:81c0:3d5::/48", "396422"}, + {"2804:7420::/32", "270960"}, + {"2a02:17e8:801::/37", "13002"}, + {"2c0f:f798::/32", "327817"}, + {"240a:a183::/32", "143037"}, + {"2602:fbc3::/36", "13737"}, + {"2606:2800:5081::/48", "15133"}, + {"2803:7e00:600f::/32", "28026"}, + {"2409:807f:2c00::/24", "9808"}, + {"240a:ad79::/32", "146099"}, + {"2804:14d:ba87::/42", "28573"}, + {"2a01:9760:2::/47", "62087"}, + {"2001:559:8470::/48", "7015"}, + {"2001:67c:18e0::/48", "199971"}, + {"2401:d800:db0::/41", "7552"}, + {"240e:3ba:4c00::/35", "136200"}, + {"240e:438:1a20::/43", "140647"}, + {"2600:1409:1801::/34", "20940"}, + {"2605:fd00::/32", "15296"}, + {"2a02:53e0::/32", "44092"}, + {"2001:1b88:2::/32", "39477"}, + {"2606:2500::/32", "7194"}, + {"2a02:26f7:f6ea::/47", "20940"}, + {"2409:8775::/28", "9808"}, + {"2804:390:2000::/35", "52956"}, + {"2402:9e80:10::/48", "20473"}, + {"240a:a7a5::/32", "144607"}, + {"240e:94::/31", "17638"}, + {"2600:1001:b1d0::/44", "6167"}, + {"2606:f100:b000::/33", "3300"}, + {"2405:fc80::/32", "23805"}, + {"2604:340::/32", "32281"}, + {"2a02:26f7:b741::/46", "20940"}, + {"2a03:3180:10::/36", "44453"}, + {"2001:340::/32", "4678"}, + {"2602:ff12::/36", "62529"}, + {"2804:6e40:3000::/32", "270584"}, + {"2a05:5dc0::/29", "201193"}, + {"2a0c:180::/29", "39419"}, + {"2001:44b8:30b2::/48", "7545"}, + {"2404:8e00::/32", "55391"}, + {"2405:6c0:4::/48", "63641"}, + {"2a02:21b2:ac10::/48", "57370"}, + {"2a0c:2f07:ac1::/48", "206924"}, + {"2001:559:11::/48", "7015"}, + {"2001:559:80d7::/48", "7015"}, + {"2401:b0c0:e000::/48", "136941"}, + {"2604:ff00:1b01::/48", "36271"}, + {"2a03:2760::/32", "49115"}, + {"2a06:e043::/32", "198507"}, + {"2001:559:836e::/48", "7922"}, + {"2402:800:ba70::/40", "7552"}, + {"2402:a7c0::/32", "59253"}, + {"2402:b801::/38", "18371"}, + {"2600:140e:3::/31", "20940"}, + {"2602:fed2:7181::/46", "53356"}, + {"2800:160:1e98::/46", "14259"}, + {"2001:578:118::/42", "22773"}, + {"240e:37b:2600::/32", "4134"}, + {"2600:6c39:22c::/43", "20115"}, + {"2607:f0c8::/32", "21949"}, + {"2a07:3500:1da8::/48", "1136"}, + {"2001:559:852e::/48", "7922"}, + {"2001:67c:271c::/48", "60213"}, + {"2001:1250::/44", "22894"}, + {"240a:a799::/32", "144595"}, + {"2a00:fc00:e004::/35", "3255"}, + {"2a05:7400::/34", "31257"}, + {"2a07:3500:1100::/48", "34108"}, + {"2001:559:81f3::/48", "33657"}, + {"2001:da8:7010::/48", "24363"}, + {"2401:4900:3a2a::/45", "45609"}, + {"2804:14c:a989::/41", "28573"}, + {"2a00:18e0::/48", "196763"}, + {"2a01:ce9c:9000::/31", "51964"}, + {"2a09:1140::/48", "50007"}, + {"2c0f:f188::/46", "328228"}, + {"2406:840:800::/41", "139317"}, + {"2409:8904:cda0::/38", "24547"}, + {"2603:c0f8:1020::/38", "20054"}, + {"2001:559:85b6::/44", "33491"}, + {"2001:8d8::/40", "8560"}, + {"2402:ef1a:1::/32", "7633"}, + {"2605:2040::/32", "396040"}, + {"2607:e400:2904::/32", "7459"}, + {"2a00:4780::/32", "35600"}, + {"2a0b:4340:a0::/48", "205532"}, + {"2408:840c:1e00::/40", "17621"}, + {"2408:8456:9410::/42", "134543"}, + {"240a:a63d::/32", "144247"}, + {"2620:104:8000::/40", "3807"}, + {"2a03:7540:5556::/34", "44406"}, + {"2408:8459:9e50::/34", "17816"}, + {"2001:559:c145::/48", "33652"}, + {"2001:44b8:27::/48", "4739"}, + {"240a:a868::/32", "144802"}, + {"2605:3380:42f2::/45", "12025"}, + {"2607:5600::/32", "31863"}, + {"2804:e0c:80::/48", "28176"}, + {"2001:253:121::/48", "142087"}, + {"2804:1e7c::/32", "264432"}, + {"2a0a:e040::/29", "42349"}, + {"240e:965:e600::/36", "4134"}, + {"2607:e880:8224::/48", "12220"}, + {"2800:484:2300::/40", "10620"}, + {"2804:242c::/32", "264206"}, + {"2001:df3:3980::/48", "44592"}, + {"240a:a36e::/32", "143528"}, + {"240e:44d:2d40::/42", "140349"}, + {"2600:1415:d800::/48", "9443"}, + {"2a0e:fd45:40ff::/48", "53356"}, + {"2402:800:72a0::/41", "7552"}, + {"2a00:5500::/32", "3238"}, + {"240e:e9:5000::/37", "138950"}, + {"2602:fe2e:fff::/48", "212123"}, + {"2804:3770::/32", "266414"}, + {"2a00:7000::/32", "34762"}, + {"2a03:f80:45::/48", "9009"}, + {"2a0a:54c1:57::/30", "62240"}, + {"2a0d:1100::/29", "200000"}, + {"2001:559:ee::/47", "7922"}, + {"2001:7f9:c::/48", "15606"}, + {"2400:a980:4500::/36", "133111"}, + {"240e:5a:4600::/40", "140298"}, + {"2600:c0b::/35", "14745"}, + {"2001:559:8399::/48", "33662"}, + {"2001:c20:4866::/44", "3758"}, + {"2001:4de0:ac18::/47", "20446"}, + {"2407:dc00:104::/38", "9714"}, + {"2602:fba9::/40", "400517"}, + {"2602:fe12:22::/48", "62707"}, + {"2001:559:c16d::/46", "33660"}, + {"2001:678:a8::/48", "48132"}, + {"2408:80ea:6880::/41", "17622"}, + {"2600:141b:7801::/32", "20940"}, + {"2620:104:2040::/48", "14618"}, + {"2a02:2000:facf::/29", "35297"}, + {"2001:16d8:ed00::/38", "16150"}, + {"2403:c00:d00::/46", "17488"}, + {"2806:2f0:8061::/46", "17072"}, + {"2a03:2887:ff46::/47", "33660"}, + {"2a0b:7540::/29", "21140"}, + {"2a0e:b107:f68::/48", "207466"}, + {"2401:a400:8000::/33", "7477"}, + {"2606:1980:10::/48", "54994"}, + {"2a03:ba0::/29", "201188"}, + {"2a09:4c0:3e1::/37", "58057"}, + {"2402:8100:2380::/37", "45271"}, + {"2602:fff3::/36", "11512"}, + {"2607:f050::/32", "7784"}, + {"2804:90:5300::/34", "28580"}, + {"2001:550:405::/44", "174"}, + {"2001:44b8:30a0::/46", "7545"}, + {"2801:1cc::/44", "27951"}, + {"2001:418:1401:19::/62", "2914"}, + {"2001:468:1f0f::/48", "11537"}, + {"2a0b:7086:fff0::/44", "50867"}, + {"2001:1838:c100::/34", "23352"}, + {"2402:800:3155::/42", "7552"}, + {"2409:805c:900::/35", "9808"}, + {"240a:aa39::/32", "145267"}, + {"2600:6c38:238::/41", "20115"}, + {"2604:d600:1333::/37", "32098"}, + {"2001:13d1:3c04::/30", "7303"}, + {"2803:3e40::/32", "269892"}, + {"2804:14c:bb00::/40", "28573"}, + {"2804:73c4::/32", "270936"}, + {"2804:7858::/32", "271236"}, + {"2a05:3e00::/29", "29484"}, + {"2a02:26f7:ee08::/48", "36183"}, + {"2001:559:8513::/48", "7016"}, + {"2404:7a80::/29", "2518"}, + {"2607:c180::/36", "13851"}, + {"2a02:26f7:e948::/48", "36183"}, + {"2a0b:40::/29", "205930"}, + {"2405:6e00:2400::/43", "18291"}, + {"2406:de00:400::/40", "18225"}, + {"2607:f5d8:11::/44", "11096"}, + {"2804:3da8::/32", "266545"}, + {"2806:230:102b::/48", "11888"}, + {"2a06:1ec0::/32", "49832"}, + {"2a07:a040::/29", "49542"}, + {"240d::/27", "2527"}, + {"240e:3b6:ec00::/35", "140314"}, + {"2a01:b180::/47", "57037"}, + {"2a02:26f7:e980::/48", "36183"}, + {"2a02:ee00::/29", "61297"}, + {"2a0b:8800::/46", "43376"}, + {"2a0f:7d07:fc16::/38", "60781"}, + {"2600:e00f:4009::/36", "22995"}, + {"2804:74b4::/32", "270998"}, + {"2001:678:274::/48", "8220"}, + {"2408:877d::/32", "133118"}, + {"240e:108:11c3::/43", "4134"}, + {"2a06:82c5::/48", "209537"}, + {"2001:43f8:1700::/46", "328365"}, + {"2400:c700:9001::/34", "55644"}, + {"2401:4900:5c20::/41", "45609"}, + {"240a:aa75::/32", "145327"}, + {"2602:ffdf:f00::/40", "25851"}, + {"2804:e94:640::/42", "262468"}, + {"2804:6f84::/32", "270665"}, + {"2404:77c0::/32", "138637"}, + {"2607:f3a0:a00a::/48", "399809"}, + {"2a02:26f7:f750::/48", "36183"}, + {"2a03:1e20::/32", "59925"}, + {"2001:3c8:cb01::/48", "136624"}, + {"2001:559:c0aa::/48", "33651"}, + {"2804:1080:c300::/34", "28287"}, + {"2804:64b8:c000::/34", "269444"}, + {"2804:7efc::/36", "271659"}, + {"2806:288:4081::/48", "28469"}, + {"2a04:ffc0:1::/48", "59949"}, + {"2a0b:6880::/32", "206466"}, + {"2001:559:13e::/48", "22258"}, + {"2402:8100:3038::/41", "45271"}, + {"2404:c0:32a0::/39", "23693"}, + {"240a:a7b3::/32", "144621"}, + {"2608:121:c::/48", "27142"}, + {"2803:c010:d::/48", "271799"}, + {"2a0f:5701:fe01::/48", "56382"}, + {"2001:c20:487f::/40", "3758"}, + {"2600:6c34:18e::/48", "33588"}, + {"2801:a6::/32", "52853"}, + {"2a07:b1c0::/29", "207853"}, + {"2001:578:113::/45", "22773"}, + {"240a:aa54::/32", "145294"}, + {"2602:fbd4::/36", "14079"}, + {"2607:f4e8:18::/40", "22822"}, + {"2001:67c:1378::/48", "56823"}, + {"240e:44d:7a80::/41", "4134"}, + {"2604:bf00:210::/48", "397384"}, + {"2804:1d04:b000::/33", "61689"}, + {"2001:250:742d::/48", "23910"}, + {"2402:800:3271::/44", "7552"}, + {"2402:800:3b01::/44", "7552"}, + {"2602:fc23:112::/48", "212360"}, + {"2a0e:fd45:2a00::/44", "213253"}, + {"2001:559:8293::/48", "33650"}, + {"2409:805c:5d00::/34", "9808"}, + {"2409:8915:7800::/39", "56044"}, + {"2804:7068::/32", "270725"}, + {"2a07:ab40::/48", "51172"}, + {"2801:80:c30::/48", "61721"}, + {"2a0d:5642:112::/48", "35487"}, + {"2001:67c:17c4::/48", "3301"}, + {"240a:a2a4::/32", "143326"}, + {"2604:d0c0:ecc1::/46", "396871"}, + {"2804:90:4300::/35", "28580"}, + {"2a02:26f7:e7cc::/48", "36183"}, + {"2a06:7500::/29", "24786"}, + {"2001:559:832d::/48", "33491"}, + {"2001:19d0::/38", "2044"}, + {"2600:1408:c01::/38", "20940"}, + {"2a02:29e8::/32", "49604"}, + {"2001:500:60::/48", "30132"}, + {"2001:67c:2ee4::/48", "28773"}, + {"2408:8456:de40::/34", "17816"}, + {"240e:44d:6d80::/41", "4134"}, + {"2620:171:40::/46", "42"}, + {"2804:694:4900::/37", "262596"}, + {"2a0f:13c0::/29", "20473"}, + {"2001:dc4::/32", "23774"}, + {"2001:df2:a00::/48", "38760"}, + {"2402:a00:4a::/45", "45916"}, + {"2404:8ec0:afb0::/33", "135780"}, + {"2803:9800:a907::/35", "11664"}, + {"2a0e:1c80:14::/47", "1299"}, + {"2001:fd8:b380::/42", "132199"}, + {"2804:80b0::/32", "271767"}, + {"2a00:1a78::/32", "41729"}, + {"2804:57d0::/32", "268088"}, + {"2001:559:322::/48", "7922"}, + {"2602:fd2e::/36", "174"}, + {"2001:1248:55c6::/44", "11172"}, + {"2001:44b8:2039::/45", "4739"}, + {"2402:800:33ee::/37", "7552"}, + {"2a01:8300::/32", "20681"}, + {"2a02:26f7:fa44::/48", "36183"}, + {"2a05:cec0::/29", "47487"}, + {"2402:800:31c5::/43", "7552"}, + {"2a12:4946:1655::/48", "211398"}, + {"2001:44b8:308d::/46", "4739"}, + {"2408:8756::/36", "17622"}, + {"240a:a585::/32", "144063"}, + {"2a00:f826:11::/48", "62874"}, + {"240a:a5fa::/32", "144180"}, + {"240a:a90c::/32", "144966"}, + {"240a:afe6::/32", "146720"}, + {"2800:430:c100::/35", "23487"}, + {"2a06:4b40::/29", "197328"}, + {"2001:48e8:1000::/40", "1249"}, + {"2402:800:9747::/43", "7552"}, + {"2800:160:1a33::/44", "14259"}, + {"2001:df7:7e80::/48", "135959"}, + {"2607:5980::/32", "393573"}, + {"2806:2f0:9480::/42", "17072"}, + {"2a02:26f7:d504::/48", "36183"}, + {"2405:600::/46", "55805"}, + {"2408:8260::/32", "4837"}, + {"2605:a404:5a7::/41", "33363"}, + {"2a02:26f7:f711::/42", "20940"}, + {"2a02:26f7:f741::/46", "20940"}, + {"2001:559:c463::/48", "33650"}, + {"2401:4900:1ce0::/47", "24560"}, + {"2404:d9c0::/32", "134022"}, + {"2001:df7:cd80::/47", "147304"}, + {"2001:4878:225::/48", "12222"}, + {"2603:fd08::/26", "397165"}, + {"2001:559:8363::/48", "33657"}, + {"2001:df0:eb80::/48", "138529"}, + {"2405:b000:a00::/37", "6262"}, + {"2602:fe6a::/40", "54632"}, + {"2800:bf0:92::/47", "27947"}, + {"2804:14d:a08a::/41", "28573"}, + {"2409:8b20::/29", "9808"}, + {"240e:980:8700::/40", "4134"}, + {"2a01:3e0:402::/48", "34164"}, + {"2a06:e540::/47", "203600"}, + {"2600:5c01:1a2::/48", "11955"}, + {"2a05:3340::/42", "134433"}, + {"2001:579:1924::/44", "22773"}, + {"2001:67c:10b4::/48", "34891"}, + {"2408:8256:3b75::/48", "17816"}, + {"2607:f428:91f0::/38", "20115"}, + {"2607:f470::/32", "55"}, + {"2620:101:9000::/48", "40934"}, + {"2001:559:c42d::/48", "7922"}, + {"2001:67c:2f4c::/48", "59729"}, + {"2001:da8:7014::/48", "24363"}, + {"2407:8c00:90::/42", "55441"}, + {"2603:8033::/32", "20001"}, + {"2804:214:8420::/43", "26615"}, + {"2a02:1390:4000::/40", "21351"}, + {"2a02:26f7:db81::/46", "20940"}, + {"2001:fd8:e0::/48", "132199"}, + {"2402:800:9147::/43", "7552"}, + {"240e:3b7:7600::/39", "140313"}, + {"240a:a3d0::/32", "143626"}, + {"240a:a917::/32", "144977"}, + {"2606:2800:4aec::/46", "15133"}, + {"2a0d:7080::/29", "200322"}, + {"2407:8a80::/32", "134437"}, + {"240a:a5d9::/32", "144147"}, + {"2001:df6:2200::/48", "135908"}, + {"2408:8456:3c50::/38", "17816"}, + {"2408:8957:4500::/40", "17816"}, + {"2409:8b03::/32", "9808"}, + {"240a:a272::/32", "143276"}, + {"2606:2800:4a48::/46", "15133"}, + {"2804:63d0::/32", "269385"}, + {"2402:8100:14::/47", "38266"}, + {"2405:800:4::/44", "7545"}, + {"2408:8459:b410::/42", "17623"}, + {"240a:a66d::/32", "144295"}, + {"2605:dd40:8215::/42", "398549"}, + {"2a02:26f7:e285::/42", "20940"}, + {"2001:6a0:4000::/34", "8890"}, + {"240e:108:1171::/46", "139201"}, + {"2a02:26f7:d748::/48", "36183"}, + {"2a02:6ea0:ec00::/39", "60068"}, + {"2408:8956:4a00::/40", "17622"}, + {"2800:160:148e::/43", "14259"}, + {"2804:7034::/34", "270712"}, + {"2806:2f0:4503::/42", "17072"}, + {"2a01:280:358::/48", "207448"}, + {"2602:fe6b:1013::/36", "398646"}, + {"2620:123:4000::/40", "22990"}, + {"2804:df4:9001::/33", "52531"}, + {"2804:5c50::/32", "268901"}, + {"2a02:2aa8:310::/32", "702"}, + {"240e:3b7:7a00::/32", "140313"}, + {"2001:bf7:1321::/48", "213106"}, + {"2001:c20:800::/34", "3758"}, + {"2001:dce:5301::/34", "23869"}, + {"2403:100:2000::/48", "56300"}, + {"2409:8904:4960::/38", "24547"}, + {"240a:adc4::/32", "146174"}, + {"2806:230:4005::/48", "11888"}, + {"2a05:2e00::/32", "49460"}, + {"2001:559:c493::/48", "33660"}, + {"2404:4a00:8500::/64", "55423"}, + {"2a0e:8f00:f100::/47", "49933"}, + {"2a0f:6c40::/29", "34615"}, + {"2600:6c38:212::/45", "20115"}, + {"2604:7300::/32", "393227"}, + {"2a02:26f7:c70c::/48", "36183"}, + {"2401:0:6f00::/40", "58470"}, + {"2402:800:528d::/43", "7552"}, + {"2401:d800:2d30::/41", "7552"}, + {"2408:8256:2f76::/48", "17816"}, + {"240e:49:9400::/30", "4134"}, + {"2600:1002:d020::/34", "22394"}, + {"2602:feda:f020::/48", "147173"}, + {"2604:f980:6800::/40", "19957"}, + {"2a02:6680:2166::/48", "16116"}, + {"2001:df0:8c0::/48", "149005"}, + {"2403:df40::/43", "14630"}, + {"240c:c0a9:1100::/40", "23910"}, + {"2600:6c34:4e::/48", "33588"}, + {"2803:97c0::/32", "265770"}, + {"2804:6764::/32", "269625"}, + {"2a02:26f7:e049::/46", "20940"}, + {"2c0f:f4a8::/34", "37254"}, + {"2001:559:85e2::/48", "33659"}, + {"2400:8500:7000::/36", "58791"}, + {"2409:8959:ca44::/43", "9808"}, + {"2800:160:1994::/44", "14259"}, + {"240a:a0f8::/32", "142898"}, + {"2606:db00::/32", "393398"}, + {"2400:3aa0::/32", "7676"}, + {"2001:4830:c0d0::/42", "27552"}, + {"2402:5100:6::/32", "9902"}, + {"2404:bf40:82c1::/39", "139084"}, + {"2409:8915:5a00::/39", "56044"}, + {"2600:1417:a001::/36", "20940"}, + {"2600:6c10:f286::/47", "20115"}, + {"2804:20a0::/32", "264502"}, + {"2806:103e:5::/46", "8151"}, + {"2a02:26f7:f705::/46", "20940"}, + {"2a0d:9d40::/29", "48704"}, + {"2400:a980:d4::/47", "133111"}, + {"240a:a7ba::/32", "144628"}, + {"2600:1480:d001::/37", "20940"}, + {"2602:10d:9000::/30", "20115"}, + {"2607:6f00::/32", "394111"}, + {"2a02:b48:8115::/36", "39572"}, + {"2a06:5500::/29", "204232"}, + {"2405:7d00::/32", "23777"}, + {"2610:e0:a050::/36", "2572"}, + {"2a00:ce80::/46", "50535"}, + {"240a:aa08::/32", "145218"}, + {"2001:559:a0::/48", "7016"}, + {"2401:d800:ddb0::/41", "7552"}, + {"2406:e000:393::/36", "23655"}, + {"2409:8914:4000::/39", "56044"}, + {"240e:45c:6900::/40", "140531"}, + {"2403:9800:b041::/48", "202818"}, + {"2804:2f8::/32", "28188"}, + {"2804:b18::/40", "52941"}, + {"2804:1028::/32", "263622"}, + {"2a0e:46c3:100::/40", "204982"}, + {"2001:559:8558::/48", "33490"}, + {"2600:140f:1c01::/38", "20940"}, + {"2a02:26f7:f6e4::/48", "36183"}, + {"2001:df4:b880::/48", "17823"}, + {"2001:43f8:900::/48", "327935"}, + {"2402:5300:2310::/33", "45903"}, + {"2409:8055:3014::/46", "56040"}, + {"240e:397:2400::/38", "140497"}, + {"2600:1016:b130::/40", "6167"}, + {"2607:f2d8:43::/33", "18450"}, + {"2a00:93c0::/32", "198853"}, + {"2a04:4ac0::/29", "200844"}, + {"2a09:4e07:e000::/35", "210625"}, + {"2001:67c:13e4::/48", "51410"}, + {"2001:1250:e600::/44", "22894"}, + {"240a:af1a::/32", "146516"}, + {"2a01:45c0::/32", "58208"}, + {"2402:800:5a9b::/42", "7552"}, + {"2408:8957:dc00::/40", "17622"}, + {"2409:8014:80a::/35", "56044"}, + {"240e:58::/32", "4812"}, + {"2a05:1500:300::/40", "202861"}, + {"2a09:6340::/44", "42721"}, + {"2a0c:1d01::/30", "39614"}, + {"2a0c:9a40:8210::/48", "210445"}, + {"2001:559:3d1::/48", "7922"}, + {"2001:559:c530::/48", "33491"}, + {"2403:71c0:3000::/48", "43959"}, + {"2620:12b:d000::/46", "35873"}, + {"2800:160:1e2d::/43", "14259"}, + {"2804:6c5c::/32", "270463"}, + {"2806::/29", "6503"}, + {"2404:5540:401::/32", "134715"}, + {"2605:73c0::/35", "10583"}, + {"2605:dd40:8101::/43", "398549"}, + {"2804:36d0::/32", "266374"}, + {"2804:75b0::/34", "271063"}, + {"2a05:d050:1080::/44", "16509"}, + {"2001:1670::/32", "28885"}, + {"2408:8957:5400::/40", "17622"}, + {"2604:c980::/32", "54203"}, + {"2a03:93e0:2000::/32", "203228"}, + {"2a04:2880::/48", "12684"}, + {"2a0d:140::/35", "209014"}, + {"2001:250:140d::/42", "24354"}, + {"2405:da00:400::/32", "38235"}, + {"240e:982:7400::/36", "4134"}, + {"2804:4160::/32", "267429"}, + {"2001:4490:37fc::/36", "9829"}, + {"2401:8a40:24::/46", "45326"}, + {"2408:8406:6c00::/39", "4808"}, + {"240a:a9a3::/32", "145117"}, + {"2600:1417:d000::/48", "35819"}, + {"2806:230:4028::/48", "265594"}, + {"2a03:4b80::/32", "21246"}, + {"240e:1c:5000::/36", "134771"}, + {"2804:1bf0:f::/32", "61758"}, + {"2604:8740::/32", "19575"}, + {"2001:4b20:1000:2514::/64", "65505"}, + {"2605:3800::/32", "21554"}, + {"2804:6868::/32", "269690"}, + {"2804:68b4:8000::/34", "269710"}, + {"2806:2f0:6281::/46", "17072"}, + {"2001:44b8:30ec::/48", "4739"}, + {"240a:a439::/32", "143731"}, + {"2804:25a4::/32", "52821"}, + {"2401:3480:3000::/36", "58466"}, + {"2402:800:5955::/42", "7552"}, + {"2403:8700::/32", "132232"}, + {"2a04:c700::/48", "34499"}, + {"2401:3140::/48", "55482"}, + {"2404:1c40:4::/48", "24432"}, + {"2409:8753:300::/37", "56047"}, + {"240a:ab61::/32", "145563"}, + {"2804:12b0::/32", "263492"}, + {"2a00:1580:3::/30", "39010"}, + {"2a02:2ad0:243::/45", "702"}, + {"2a04:2dc0:e::/47", "39216"}, + {"2a05:e100::/48", "6830"}, + {"2a09:1680::/48", "209811"}, + {"2607:f868::/34", "20141"}, + {"2620:1b4:ffff::/48", "16401"}, + {"2620:1e0:300::/48", "10801"}, + {"2804:5174::/32", "268453"}, + {"2806:2f0:7043::/42", "17072"}, + {"2a00:4802:390::/44", "8717"}, + {"2a0b:3c40:1::/48", "208258"}, + {"2401:4900:63e0::/37", "45609"}, + {"2600:1404:1001::/37", "20940"}, + {"2607:4280::/32", "36730"}, + {"2801:80:3e70::/47", "271541"}, + {"2a0a:e805:100::/40", "64476"}, + {"2400:ea00:c010::/48", "23884"}, + {"2402:7040::/32", "63704"}, + {"2405:6100::/32", "3462"}, + {"240a:afe3::/32", "146717"}, + {"2801:18:c000::/48", "263186"}, + {"2001:559:7a2::/48", "33659"}, + {"2001:1250:e400::/44", "22894"}, + {"2001:16a2:c300::/44", "39891"}, + {"2001:4478:1500::/40", "4739"}, + {"2401:4900:5760::/43", "45609"}, + {"2403:8400::/48", "17917"}, + {"2409:8030:2900::/38", "9808"}, + {"2605:5e40::/48", "397810"}, + {"2c0f:f850::/39", "327979"}, + {"2001:500:31::/48", "393220"}, + {"2001:559:8461::/48", "33650"}, + {"2405:84c0:ff3e::/48", "139782"}, + {"2408:8459:6010::/42", "17623"}, + {"2a04:4e40:3e00::/48", "54113"}, + {"2a10:8080::/29", "62270"}, + {"2001:4b98:dc7::/32", "29169"}, + {"2401:d800:9f02::/42", "7552"}, + {"2605:a404:8de::/39", "33363"}, + {"2a01:c50f:2380::/36", "12479"}, + {"2a0a:9300:1::/48", "207569"}, + {"2409:8948:9000::/40", "24445"}, + {"240a:ae2a::/32", "146276"}, + {"2806:2f0:9c63::/40", "17072"}, + {"2a03:6085::/30", "16285"}, + {"2600:370f:6063::/45", "32261"}, + {"2804:1354::/33", "52892"}, + {"2600:1002:a110::/36", "22394"}, + {"2600:1419:4001::/38", "20940"}, + {"2606:2800:4280::/48", "15133"}, + {"2620:68:6000::/48", "397321"}, + {"2a00:1468::/48", "35810"}, + {"2a03:8180:1f00::/34", "36351"}, + {"2a07:5340::/29", "62177"}, + {"2602:fff6:d::/48", "30475"}, + {"2803:480::/45", "52458"}, + {"2a02:f9c0::/29", "61231"}, + {"240a:aaec::/32", "145446"}, + {"2600:804:440::/48", "396941"}, + {"2606:1a00::/32", "18973"}, + {"2a02:26f7:d4cd::/46", "20940"}, + {"2403:2c80::/31", "9312"}, + {"2604:ca00:176::/40", "36492"}, + {"2620:101:80fb::/48", "395606"}, + {"2804:cb0:d306::/47", "52742"}, + {"2001:1388:8a45::/48", "6147"}, + {"2001:13c7:6015::/48", "61441"}, + {"2001:49f0:d10e::/47", "30058"}, + {"2408:8956:1940::/40", "17816"}, + {"240a:ac51::/32", "145803"}, + {"240e:983:800::/40", "4134"}, + {"2600:1404:b001::/37", "20940"}, + {"2a02:26f7:c300::/48", "36183"}, + {"2001:470::/42", "6939"}, + {"240a:a1f4::/32", "143150"}, + {"2001:550:7707::/48", "174"}, + {"240e:44d:480::/41", "4134"}, + {"2a05:2a40::/48", "201411"}, + {"2602:ff83::/36", "29948"}, + {"2801:1b:4800::/48", "269844"}, + {"2404:0:10a5::/46", "17709"}, + {"2409:8b7f::/21", "9808"}, + {"2001:1998:9::/39", "7843"}, + {"2404:bd00::/44", "58678"}, + {"2803:4ce0::/32", "269905"}, + {"2804:350c::/32", "265497"}, + {"2a00:1678:dea1::/48", "49453"}, + {"2a02:2c40::/32", "2611"}, + {"2a0b:6b86:401::/48", "207080"}, + {"2001:559:8115::/48", "33287"}, + {"2804:67e4::/32", "269657"}, + {"2804:7c50::/32", "271488"}, + {"2a0f:ee00::/47", "60781"}, + {"240a:a2cd::/32", "143367"}, + {"2806:109f:4::/47", "8151"}, + {"2001:df3:ba00::/48", "134808"}, + {"2001:4878:4164::/48", "12222"}, + {"2402:4600::/40", "45186"}, + {"2607:ae00::/32", "11468"}, + {"2a01:c50f:2a00::/37", "12479"}, + {"2a01:ce9d:1000::/30", "51964"}, + {"2800:160:13a1::/46", "14259"}, + {"2804:7060::/32", "270723"}, + {"2a04:4e42:fd4::/46", "54113"}, + {"2001:470:90::/48", "36225"}, + {"2409:8028:3900::/29", "9808"}, + {"2409:891e::/31", "24400"}, + {"2600:1413:8001::/35", "20940"}, + {"2a0c:2600::/29", "205010"}, + {"2403:2600::/32", "24538"}, + {"2607:eb00::/32", "53486"}, + {"2001:1248:a4c5::/46", "11172"}, + {"2401:d800:9080::/42", "7552"}, + {"2400:a980:30f6::/44", "133513"}, + {"2607:ffd0:704::/36", "26994"}, + {"2620:13:4000::/48", "16652"}, + {"2a01:358:101a::/34", "9121"}, + {"2a0e:be80::/29", "25793"}, + {"2603:b0ae::/32", "53849"}, + {"2620:f5:8000::/48", "22388"}, + {"2803:5fe0::/32", "271785"}, + {"2804:406c::/32", "265958"}, + {"2a02:ee80:41ca::/47", "21433"}, + {"2a03:d9c0:c0de::/48", "3214"}, + {"2a04:9a03:1010::/44", "48037"}, + {"2403:1300:3000::/32", "56286"}, + {"2600:6c38:34b::/42", "20115"}, + {"2804:4fdc::/32", "268354"}, + {"240a:a620::/32", "144218"}, + {"2604:d180::/32", "46573"}, + {"2804:14c:7984::/47", "28573"}, + {"2a01:7d20:700::/40", "203645"}, + {"2a02:26f7:da41::/46", "20940"}, + {"2a03:2b80::/29", "33883"}, + {"2001:1900:236a::/48", "202818"}, + {"2001:44b8:4062::/48", "7545"}, + {"2409:8050:1000::/47", "56047"}, + {"2600:9000:2208::/47", "16509"}, + {"2a0e:b107:1596::/48", "142598"}, + {"2001:559:c32a::/48", "33657"}, + {"2400:7400:e012::/48", "38044"}, + {"2404:c8::/47", "10217"}, + {"2404:8d02::/35", "9587"}, + {"2405:1200::/29", "9824"}, + {"2409:8020:1021::/43", "56046"}, + {"2600:6c44::/32", "20115"}, + {"2607:f7c8:401::/38", "36221"}, + {"2803:8220::/32", "27843"}, + {"2804:5c88::/35", "268914"}, + {"2804:76d8::/32", "271138"}, + {"2a10:fa80:10::/48", "57050"}, + {"2c0f:e970::/32", "327750"}, + {"2401:4900:5130::/44", "45609"}, + {"2a02:2339:4000::/34", "48854"}, + {"2001:559:85ab::/48", "33657"}, + {"2001:16a2:bc00::/38", "39386"}, + {"2403:2d40::/32", "64018"}, + {"2600:6c38:33f::/41", "20115"}, + {"2804:4694::/32", "266998"}, + {"2a0a:9741::/32", "61964"}, + {"2001:559:c324::/48", "33652"}, + {"2001:fd8:2a1::/46", "4775"}, + {"2604:6600:1c7::/38", "40676"}, + {"2a0b:6f80:100::/46", "211196"}, + {"2a0c:2fc0::/29", "50598"}, + {"2001:559:84fb::/48", "33668"}, + {"2001:df1:9680::/48", "135989"}, + {"2600:6c21:a1a::/29", "20115"}, + {"2804:57fc::/32", "268099"}, + {"2804:6984::/32", "270275"}, + {"2a00:79e1:f15::/44", "36384"}, + {"2a03:52e0::/29", "206182"}, + {"2a06:a001:a070::/44", "212085"}, + {"2a0d:2581:14::/48", "209261"}, + {"2409:8050:100::/37", "9808"}, + {"240e:3b9:c000::/37", "140315"}, + {"2a0b:a340::/32", "205934"}, + {"240a:a22b::/32", "143205"}, + {"240a:a903::/32", "144957"}, + {"2620:135:4001::/44", "393891"}, + {"2803:2b80::/32", "263730"}, + {"2001:559:49d::/48", "7922"}, + {"2800:160:19eb::/43", "14259"}, + {"2806:263:9300::/37", "13999"}, + {"2a0c:69c0::/32", "202312"}, + {"2a0d:b201:f040::/42", "206026"}, + {"2409:8055:3019::/48", "56040"}, + {"240e:44d:3e00::/41", "140345"}, + {"2803:9000::/32", "262194"}, + {"2001:559:c271::/48", "13367"}, + {"2804:2b30::/32", "262741"}, + {"2804:85c4::/32", "272599"}, + {"2a02:26f7:7::/48", "20940"}, + {"2001:da8:900e::/43", "24369"}, + {"2401:d800:b1b0::/41", "7552"}, + {"2402:8100:31d0::/47", "45271"}, + {"2408:8456:ae10::/42", "134543"}, + {"2606:4d00::/32", "53893"}, + {"2804:5bbc::/32", "268866"}, + {"2806:2f0:314::/44", "17072"}, + {"2a09:98c0::/48", "50007"}, + {"2001:4998:efeb::/48", "36646"}, + {"2404:7c00:10::/42", "141177"}, + {"240a:aaaa::/32", "145380"}, + {"2a02:680:8000::/36", "20539"}, + {"2a0d:d080::/29", "49054"}, + {"2001:559:84af::/48", "33657"}, + {"2400:9800:1c:5000::/33", "24203"}, + {"2400:dc00:4006::/48", "131111"}, + {"2402:800:349b::/41", "7552"}, + {"2403:4240::/32", "138029"}, + {"2406:24c0::/44", "136634"}, + {"2600:1405:c001::/35", "20940"}, + {"2409:8e1a::/32", "132525"}, + {"2a04:5a00::/29", "60316"}, + {"2400:9880::/32", "133333"}, + {"240a:a5a7::/32", "144097"}, + {"2603:b079::/24", "11796"}, + {"2604:880:52::/48", "396881"}, + {"2801:80:1950::/48", "264995"}, + {"2804:837c::/32", "272201"}, + {"2001:c00:4619::/32", "4618"}, + {"2402:e380:33c::/48", "7489"}, + {"240e:983:203::/48", "17799"}, + {"2600:1417:6001::/36", "20940"}, + {"2603:c001:2010::/37", "31898"}, + {"2a00:1d38:fb::/32", "50655"}, + {"2a06:2e00::/29", "28920"}, + {"2001:44b8:25::/48", "4739"}, + {"2409:805f:2100::/35", "9808"}, + {"2607:9b80:a00::/43", "46558"}, + {"2a0e:97c0:330::/48", "211481"}, + {"2001:559:826a::/48", "13367"}, + {"2001:da8:222::/48", "24348"}, + {"2001:448a:2012::/42", "7713"}, + {"2001:4d10::/32", "16030"}, + {"2401:d800:5da0::/41", "7552"}, + {"2402:800:5463::/43", "7552"}, + {"2a12:5b80::/32", "210460"}, + {"2001:4320::/32", "28683"}, + {"2405:7bc0::/48", "45538"}, + {"2409:8087:5801::/48", "9808"}, + {"2620:149:1170::/38", "714"}, + {"2001:559:c184::/47", "7922"}, + {"2001:1248:55aa::/43", "11172"}, + {"2606:4280::/36", "16696"}, + {"2804:55a8::/32", "267948"}, + {"2804:7ecc::/32", "271648"}, + {"2001:559:c0e9::/48", "7016"}, + {"2001:559:c4e0::/48", "7015"}, + {"240a:a70b::/32", "144453"}, + {"2605:ef80:8000::/44", "36492"}, + {"2803:c800:c000::/34", "23243"}, + {"2804:2304::/32", "264137"}, + {"2a03:6947:1d00::/40", "61266"}, + {"2a04:9a00:104a::/45", "212157"}, + {"2401:b8c0:10::/32", "64074"}, + {"2408:84f3:4a10::/42", "134543"}, + {"2a02:b50:4000::/43", "30282"}, + {"2001:df2:6a80::/48", "55664"}, + {"2404:e100:4000::/47", "55685"}, + {"2804:6ce0::/47", "270498"}, + {"2001:678:6c::/48", "199670"}, + {"2401:d800:5910::/42", "7552"}, + {"2803:7300::/32", "262150"}, + {"2a02:26f7:c390::/48", "36183"}, + {"2a0c:9a40:8084::/48", "13830"}, + {"2408:8459:9810::/42", "17623"}, + {"2804:145c:8f90::/41", "263327"}, + {"2001:470:ee::/48", "62538"}, + {"2800:160:172f::/43", "14259"}, + {"2001:67c:2bfc::/48", "210317"}, + {"240a:a025::/32", "142687"}, + {"2605:dd40:8211::/46", "398549"}, + {"2606:cd00::/47", "40845"}, + {"2803:c200:100::/44", "22411"}, + {"2804:19f0::/32", "22092"}, + {"2804:60b4::/32", "269185"}, + {"2a07:1340::/29", "34907"}, + {"2001:559:c2bc::/48", "33662"}, + {"2001:dc0:e000::/35", "4608"}, + {"2401:d800::/43", "7552"}, + {"2404:a800:1452::/38", "9498"}, + {"2404:f4c0:ff0f::/48", "139247"}, + {"2408:8459:6630::/41", "17622"}, + {"2605:9d80:8031::/48", "4134"}, + {"2606:ed00:4::/48", "40244"}, + {"2a0b:c600::/29", "51344"}, + {"2c0f:f7a8:8211::/48", "4134"}, + {"2001:67c:2e14::/48", "200986"}, + {"240a:a5c7::/32", "144129"}, + {"2a01:b740:a27::/41", "714"}, + {"2001:67c:2ab8::/48", "3301"}, + {"240a:aa1e::/32", "145240"}, + {"2800:130::/32", "27820"}, + {"2a03:d400:25::/39", "198913"}, + {"2001:fd0:3301::/37", "10029"}, + {"240a:a948::/32", "145026"}, + {"2603:c010:2000::/36", "31898"}, + {"2804:6ba4::/32", "270414"}, + {"2a02:2970::/32", "43847"}, + {"2401:c100::/32", "45634"}, + {"2409:896a:6b00::/35", "9808"}, + {"2620:123:2081::/46", "30103"}, + {"2402:800:53d3::/44", "7552"}, + {"2408:8000:1000::/39", "4808"}, + {"2800:bf0:b1::/48", "52257"}, + {"2803:b780:11::/42", "27742"}, + {"2804:14d:ea00::/40", "28573"}, + {"2804:8630::/32", "272627"}, + {"2a02:26f7:ed40::/48", "36183"}, + {"240a:a25a::/32", "143252"}, + {"240a:af15::/32", "146511"}, + {"2a0c:acc0::/29", "13739"}, + {"2401:d800:9cd0::/42", "7552"}, + {"2409:8000:1800::/40", "56048"}, + {"2806:2f0:8083::/43", "17072"}, + {"2a02:26f7:d1c4::/48", "36183"}, + {"2a02:26f7:de89::/46", "20940"}, + {"2001:559:c09d::/48", "33651"}, + {"2401:2000::/33", "4608"}, + {"2607:f3f8:3000::/33", "17378"}, + {"2001:780::/33", "12337"}, + {"240e:67d:c600::/34", "4134"}, + {"2602:806:a000::/48", "398565"}, + {"2a00:e740::/32", "21472"}, + {"2001:559:c2f2::/48", "33651"}, + {"240a:a4a5::/32", "143839"}, + {"2604:a280::/32", "35911"}, + {"2a0f:ca87:b::/48", "210335"}, + {"2604:eb80::/32", "22418"}, + {"2804:14c:f425::/46", "28573"}, + {"2a01:7d8::/47", "34744"}, + {"2001:4de0:1000::/48", "33438"}, + {"2400:6280:109::/48", "132280"}, + {"2405:58c0:4400::/40", "133101"}, + {"2406:bec0::/32", "138734"}, + {"240e:3ba:f100::/37", "134775"}, + {"2620:100:6060::/40", "19679"}, + {"240a:a6d9::/32", "144403"}, + {"2607:1700::/32", "36454"}, + {"2804:6afc::/32", "270370"}, + {"2001:44b8:4048::/48", "7545"}, + {"2a01:7b40::/32", "47347"}, + {"240a:aa70::/32", "145322"}, + {"2600:1402:a801::/35", "20940"}, + {"2804:77c4:8000::/36", "271198"}, + {"2a0b:cc0::/32", "51131"}, + {"2001:250:600b::/48", "24364"}, + {"2001:559:848f::/43", "7922"}, + {"2001:d98::/32", "18106"}, + {"2001:e68:2001:1::/64", "65530"}, + {"2404:4a00:4:1::/36", "45629"}, + {"2607:2a80::/32", "31849"}, + {"2a02:6c20:7::/48", "211085"}, + {"2a07:1800::/29", "51560"}, + {"2c0f:f2a0:7::/32", "327849"}, + {"2400:dcc0:a104::/38", "38631"}, + {"2605:3dc0:1002::/48", "397952"}, + {"2803:7200:7::/43", "27696"}, + {"240e:45c:a900::/40", "140535"}, + {"2602:feda:d30::/44", "212292"}, + {"2a02:1c8:100::/40", "24955"}, + {"2a0b:9401::/32", "209505"}, + {"2a0e:b107:5c8::/48", "1239"}, + {"2001:1900:3007::/44", "3356"}, + {"2402:800:f0b0::/41", "7552"}, + {"240a:af56::/32", "146576"}, + {"2602:803:7000::/44", "399214"}, + {"2804:297c:cf81::/34", "262907"}, + {"2001:16a2:34::/46", "25019"}, + {"2400:cb00:373::/45", "13335"}, + {"2408:8256:399f::/38", "17816"}, + {"2600:9000:21ea::/43", "16509"}, + {"2603:c002:b30::/37", "31898"}, + {"2804:5dfc::/32", "52972"}, + {"2a00:6c40::/32", "9103"}, + {"2001:559:50::/47", "7922"}, + {"2001:559:8078::/47", "7015"}, + {"2001:df7:3700::/48", "138456"}, + {"2001:44b8:4050::/48", "7545"}, + {"2409:8753:900::/38", "56047"}, + {"2409:8924:3700::/36", "56046"}, + {"2a0c:6d00:61::/48", "3218"}, + {"2001:559:c067::/44", "33491"}, + {"240a:a038::/32", "142706"}, + {"2602:fcc5::/48", "207722"}, + {"2605:4400:5::/48", "8001"}, + {"2804:6be0::/32", "270431"}, + {"2a06:200::/29", "200770"}, + {"2001:678:488::/48", "206335"}, + {"2401:d800:b820::/41", "7552"}, + {"2600:80c:1600::/32", "701"}, + {"2602:ffc5:200::/48", "20473"}, + {"2604:4a00::/32", "393885"}, + {"2607:fc48:1410::/48", "40009"}, + {"2a04:9140:3001::/48", "196670"}, + {"2a0a:d540::/32", "207322"}, + {"2001:da8:103b::/48", "23910"}, + {"2001:da8:a01e::/42", "24352"}, + {"2404:6080::/32", "135415"}, + {"2806:2f0:9ea1::/41", "17072"}, + {"2001:468:1b00::/37", "11537"}, + {"2404:bf40:83c4::/37", "139084"}, + {"2a00:f10::/39", "48635"}, + {"2a02:2ad0:250::/37", "702"}, + {"2620:4d:e000::/48", "13367"}, + {"2a0b:8400:1::/48", "43350"}, + {"2c0f:5a00::/48", "327996"}, + {"2620:13c:b000::/44", "18531"}, + {"2804:3e0::/32", "262403"}, + {"240a:adc5::/32", "146175"}, + {"2600:14a0:100::/48", "16625"}, + {"2600:6c34:3a1::/48", "33588"}, + {"2605:9c0::/48", "6233"}, + {"2606:b080::/32", "55140"}, + {"2804:269c:fe10::/46", "47065"}, + {"2a01:a500::/47", "42831"}, + {"2a10:7d00:ffff::/29", "399975"}, + {"2001:df4:1500::/48", "138995"}, + {"2001:df6:ea80::/48", "135876"}, + {"2001:13f0::/32", "28118"}, + {"2001:4da8::/32", "28824"}, + {"2402:800:3b7f::/40", "7552"}, + {"2804:3f00::/32", "52643"}, + {"2a00:16b0::/32", "33837"}, + {"2c0f:f748:103::/32", "37662"}, + {"2001:559:c06e::/47", "7015"}, + {"2804:7b84::/32", "271436"}, + {"2001:520:1039::/48", "8103"}, + {"2408:8456:8640::/39", "17816"}, + {"2607:2680::/32", "394969"}, + {"2a00:14f0::/32", "29017"}, + {"2402:f880::/32", "64056"}, + {"2804:3ecc::/32", "266621"}, + {"2806:370:80d0::/44", "28403"}, + {"2a02:2e0::/38", "12306"}, + {"2a02:26f7:b990::/48", "36183"}, + {"2a02:2ab0::/38", "702"}, + {"2a03:4760::/32", "201457"}, + {"2a03:17e0::/32", "15623"}, + {"2001:559:c446::/44", "33657"}, + {"2001:678:e68::/48", "212567"}, + {"2401:4900:5170::/44", "45609"}, + {"240e:67a:c400::/39", "140330"}, + {"2a01:b740:1341::/36", "714"}, + {"2a02:8100::/27", "3209"}, + {"2a03:9880::/32", "24817"}, + {"2a0a:8c46::/32", "15626"}, + {"2a10:2ec6::/32", "210625"}, + {"2001:598:1301::/32", "21548"}, + {"2a02:26f7:f380::/48", "36183"}, + {"2a04:4e41:12::/45", "54113"}, + {"2001:4408:4510::/36", "4758"}, + {"2407:b000::/33", "17819"}, + {"2804:126c::/32", "263476"}, + {"2001:559:81fa::/48", "33652"}, + {"2001:df7:c680::/48", "137165"}, + {"240a:a615::/32", "144207"}, + {"2804:485c::/33", "267116"}, + {"2806:2f0:4263::/40", "17072"}, + {"2a0e:46c6::/40", "207968"}, + {"2a0e:9780::/29", "39305"}, + {"240a:a511::/32", "143947"}, + {"240a:ab98::/32", "145618"}, + {"2804:7750::/32", "271170"}, + {"2a02:1328:2::/48", "31059"}, + {"2a02:50c0:e0::/32", "29355"}, + {"2605:a404:af8::/39", "33363"}, + {"2803:d560::/32", "269761"}, + {"2a02:4c8:b0::/32", "9070"}, + {"2a02:2330:b2::/48", "34073"}, + {"2401:b200:7::/44", "24186"}, + {"2600:140f:d000::/48", "9498"}, + {"2620:138:30fe::/48", "23344"}, + {"2804:14c:bd87::/41", "28573"}, + {"2001:559:824b::/48", "21508"}, + {"2400:6280:11e::/48", "132280"}, + {"2800:160:119a::/42", "14259"}, + {"2804:75ec::/32", "271078"}, + {"2a02:26f0:3600::/48", "34164"}, + {"2a0a:86c0::/44", "206163"}, + {"2408:84f3:bc10::/42", "134543"}, + {"2620:124:b002::/48", "394731"}, + {"2800:800:a32::/41", "26611"}, + {"2001:1900:2214::/48", "10753"}, + {"2001:19f8:211::/48", "26402"}, + {"2404:b300:1::/46", "131207"}, + {"2610:130::/40", "6122"}, + {"2a01:618:8300::/33", "8683"}, + {"2001:df0:26b::/48", "58505"}, + {"2401:80c0::/32", "135191"}, + {"2407:9240:2400::/40", "141173"}, + {"2409:8f54::/24", "9808"}, + {"2a0a:54c3::/29", "62240"}, + {"2001:1318:1015::/32", "3597"}, + {"2405:201:a200::/37", "55836"}, + {"2600:9000:222b::/43", "16509"}, + {"2804:5068::/32", "268387"}, + {"2a01:7700::/32", "15372"}, + {"2a10:c940::/31", "35277"}, + {"2403:fbc0::/48", "23959"}, + {"2a03:6f81:8000::/30", "35676"}, + {"2a0e:37c0::/32", "29014"}, + {"2001:559:5cd::/48", "33657"}, + {"2001:559:c245::/46", "20214"}, + {"2402:9740::/32", "135023"}, + {"2408:8956:5600::/40", "17622"}, + {"2409:805c:5900::/38", "9808"}, + {"2600:1014:9010::/40", "22394"}, + {"2800:160:1022::/43", "14259"}, + {"2a09:5000::/29", "206189"}, + {"2001:48f8::/32", "11232"}, + {"2804:2144::/46", "52795"}, + {"2806:2f0:7141::/46", "17072"}, + {"2a02:478::/32", "30975"}, + {"240a:a355::/32", "143503"}, + {"2600:6c38:712::/45", "20115"}, + {"2804:2414::/32", "264200"}, + {"2a02:26f7:e009::/42", "20940"}, + {"2001:648:2c10::/48", "8762"}, + {"2001:44b8:6::/48", "4739"}, + {"2402:f500::/32", "63961"}, + {"2604:6d00:3000::/48", "36223"}, + {"2604:ab80:8::/48", "55079"}, + {"2801:0:2f0::/48", "28107"}, + {"2a02:2e02:8d90::/38", "12479"}, + {"2a03:4b40:5701::/34", "50710"}, + {"2a06:d700::/33", "43892"}, + {"2001:4878:c204::/48", "12222"}, + {"2804:1128:c100::/34", "263661"}, + {"2a03:7b80::/32", "198024"}, + {"2001:67c:2af0::/48", "201271"}, + {"2402:e80:24::/48", "23901"}, + {"2800:160:1c93::/44", "14259"}, + {"2803:9800:b8c7::/44", "11664"}, + {"2a00:4802:2f0::/44", "8717"}, + {"2a03:c980:b916::/48", "210079"}, + {"2620:137::/45", "396253"}, + {"2803:6310::/48", "272063"}, + {"2a03:f080:1801::/32", "42685"}, + {"2001:44b8:404e::/48", "7545"}, + {"2403:4e00::/38", "45528"}, + {"2408:8246:1200::/32", "4837"}, + {"2600:1400:2801::/32", "20940"}, + {"2a01:b740:a00::/48", "6185"}, + {"2001:559:8411::/48", "7016"}, + {"2001:559:c2b3::/48", "7015"}, + {"2403:a140:10::/48", "23724"}, + {"2602:fe10::/36", "394119"}, + {"2607:f6f0:1000::/48", "12085"}, + {"2620:49:8::/47", "16686"}, + {"2a0f:6580:104::/48", "200334"}, + {"2a0f:c340::/29", "34487"}, + {"2001:d10:840a::/35", "4787"}, + {"2607:f928::/47", "22645"}, + {"2620:18::/48", "21525"}, + {"2801:80:3ee0::/48", "272215"}, + {"2001:579:a1d4::/42", "22773"}, + {"2001:44b8:2065::/48", "4739"}, + {"2405:f5c0::/48", "135932"}, + {"2409:8078:100::/35", "9808"}, + {"240e:980::/35", "58519"}, + {"2600:1407:6801::/35", "20940"}, + {"2600:9000:f150::/48", "16509"}, + {"2804:1dac::/38", "264385"}, + {"2804:6ac8:105::/34", "270358"}, + {"240a:a296::/32", "143312"}, + {"2607:de00::/42", "23498"}, + {"2610:130:3402::/32", "6122"}, + {"2804:c6c:8105::/33", "52704"}, + {"2804:6a04:44::/32", "270306"}, + {"2a01:66a0::/32", "202208"}, + {"2001:418:1401:22::/63", "2914"}, + {"2001:418:4001:5::/45", "2914"}, + {"2401:dec0::/32", "137023"}, + {"2402:800:321d::/42", "7552"}, + {"240a:a60e::/32", "144200"}, + {"2600:1901:8100::/41", "396982"}, + {"2607:9b80:4000::/36", "46558"}, + {"2a02:88d:101::/40", "47794"}, + {"2a04:eec0::/29", "57795"}, + {"2a0d:abc0::/29", "208861"}, + {"2001:559:8436::/48", "33667"}, + {"2001:67c:2fe0::/48", "39381"}, + {"2001:fd8:a0::/48", "132199"}, + {"2404:fc00:76::/44", "45910"}, + {"240a:a8ff::/32", "144953"}, + {"2600:6c39:452::/45", "20115"}, + {"2602:fe12:20::/48", "62707"}, + {"2602:fe21::/36", "394304"}, + {"2605:a7c0::/43", "53766"}, + {"240a:adc0::/32", "146170"}, + {"2800:160:1553::/42", "14259"}, + {"2804:43c4::/32", "53095"}, + {"2a00:4802:a30::/41", "13124"}, + {"2a02:26f7:de09::/46", "20940"}, + {"2c0f:fd50::/32", "37187"}, + {"2001:df5:3600::/48", "56236"}, + {"2405:9800:c90f::/48", "45430"}, + {"2804:6450::/32", "269420"}, + {"2001:648:24a1::/39", "5408"}, + {"2400:adc7:2800::/39", "9541"}, + {"2400:cb00:279::/48", "13335"}, + {"2409:8c14:8a00::/35", "56044"}, + {"240a:a40b::/32", "143685"}, + {"240a:ac3e::/32", "145784"}, + {"2600:1419:1c01::/38", "20940"}, + {"2607:f7a8:600::/46", "46887"}, + {"2a01:498:8200::/37", "42018"}, + {"2a01:8d00::/31", "43070"}, + {"2a0d:3840::/48", "57629"}, + {"2001:559:86f6::/48", "33491"}, + {"2001:1248:8401::/44", "11172"}, + {"2804:56c::/39", "28210"}, + {"2804:59d8::/32", "268729"}, + {"2a02:26f7:cd84::/48", "36183"}, + {"2001:dc6::/32", "4622"}, + {"2001:43f8:20::/48", "36944"}, + {"2403:9800:6c00::/40", "4648"}, + {"2a0f:b502::/29", "206313"}, + {"2001:559:4a0::/48", "33657"}, + {"2001:559:723::/48", "7015"}, + {"2001:559:879a::/45", "7015"}, + {"2001:da8:d000::/44", "24359"}, + {"2407:adc0::/32", "142470"}, + {"2801:142::/40", "27951"}, + {"2a0e:6540:a48::/48", "208364"}, + {"2a0f:3107::/32", "57487"}, + {"2403:a2c0:128::/47", "131662"}, + {"2407:3e00:c000::/48", "24075"}, + {"2804:954:32::/41", "263073"}, + {"2804:fb4:2ffb::/32", "263599"}, + {"2a02:26f7:f6c8::/48", "36183"}, + {"2a03:d000:67fe::/47", "31205"}, + {"2a10:2a80:53a::/47", "207727"}, + {"2001:9e8:3a40::/32", "8881"}, + {"2404:1c00::/32", "55454"}, + {"2404:7180:a010::/48", "23848"}, + {"2a02:40e0::/32", "48364"}, + {"2a04:4e42:50::/42", "54113"}, + {"2001:500:126::/47", "396574"}, + {"2001:df7:4700::/48", "135957"}, + {"2607:f7e0::/32", "25660"}, + {"2804:5e08:280::/39", "269007"}, + {"2a00:ef60::/32", "12826"}, + {"2a07:bec0::/29", "201466"}, + {"2600:6c21:239::/46", "20115"}, + {"2804:1408:5100::/34", "28635"}, + {"2804:37f0:5900::/34", "266445"}, + {"2804:53b0:4011::/32", "268600"}, + {"2a01:5040:a100::/48", "43996"}, + {"2a0c:b641:4d0::/48", "210732"}, + {"2600:6c3a:61::/44", "20115"}, + {"2605:5fc0::/32", "397881"}, + {"2606:5e00::/35", "14576"}, + {"2606:6440::/32", "16504"}, + {"2804:188:aaab::/35", "262750"}, + {"2804:4758::/32", "267047"}, + {"2804:58b4::/32", "268145"}, + {"2001:559:5ac::/48", "33491"}, + {"2001:559:818a::/48", "7015"}, + {"2001:67c:2ed0::/48", "8767"}, + {"2600:6c10:148::/46", "20115"}, + {"2602:fc41:100::/40", "53667"}, + {"2607:fc50::/34", "36236"}, + {"2804:964:2701::/32", "263080"}, + {"2a0c:4a01:c10::/42", "134981"}, + {"2001:67c:1c0::/48", "25577"}, + {"2400:b200:4100::/46", "45102"}, + {"2409:8055:29::/45", "56040"}, + {"2803:4680::/32", "263222"}, + {"2a03:db05::/32", "28832"}, + {"2a0e:840::/29", "208663"}, + {"2405:8180:f00::/35", "135478"}, + {"240e:3b6:f700::/36", "4134"}, + {"2602:803:2000::/40", "11894"}, + {"2610:20:516a::/48", "5744"}, + {"2620:74:ee::/48", "7342"}, + {"2801:1ee::/48", "19429"}, + {"2803:9c0:4000::/32", "265695"}, + {"2806:266:480::/41", "13999"}, + {"240e:983:904::/40", "17638"}, + {"2804:2dc4::/32", "265302"}, + {"2a01:9840::/32", "31115"}, + {"2a0f:5382:acab::/48", "208135"}, + {"2404:c400:402::/47", "9328"}, + {"2406:dd40::/32", "141268"}, + {"2803:ea80::/36", "28048"}, + {"240e:97d:8000::/33", "4134"}, + {"2600:6c39:2a2::/37", "20115"}, + {"2606:f403::/32", "11776"}, + {"2a0d:5600:30::/47", "63473"}, + {"240a:abf1::/32", "145707"}, + {"2a00:4cc1::/32", "51691"}, + {"240a:ab4f::/32", "145545"}, + {"240a:ae24::/32", "146270"}, + {"240e:964:c400::/39", "133775"}, + {"2607:f6f0:2400::/39", "15830"}, + {"2610:b0:4108::/43", "3573"}, + {"2806:230:403e::/48", "265594"}, + {"2a0c:b641:26b::/45", "59598"}, + {"2a0f:a01:5::/32", "30633"}, + {"240a:ae9c::/32", "146390"}, + {"2602:ff1c:1::/48", "36351"}, + {"2804:1ed0::/35", "262286"}, + {"2806:2f0:93e1::/46", "17072"}, + {"2001:c20:48c9::/46", "3758"}, + {"2001:4878:4259::/48", "12222"}, + {"240c:ca16::/31", "23910"}, + {"240e:698::/35", "58519"}, + {"2804:2b3c::/32", "265142"}, + {"2806:370:1210::/44", "28403"}, + {"2001:1900:229c::/42", "3356"}, + {"2402:6800:7::/37", "22822"}, + {"2620:171:bc::/41", "715"}, + {"2001:559:8552::/48", "33651"}, + {"2001:15e8::/32", "24806"}, + {"2401:7e00::/32", "38355"}, + {"2a00:fe80::/32", "8585"}, + {"2a0c:dd40::/29", "42675"}, + {"240a:ad82::/32", "146108"}, + {"2001:67c:50::/48", "38970"}, + {"2404:de80::/39", "137443"}, + {"240e:44d:4c00::/42", "140345"}, + {"2801:17a:6::/44", "270105"}, + {"2a04:1dc0::/29", "41937"}, + {"2600:2a02::/31", "396319"}, + {"2600:e00f:4005::/44", "22995"}, + {"2604:d600:1404::/46", "32098"}, + {"2803:b310::/32", "271854"}, + {"2a02:26f0:c7::/44", "20940"}, + {"2001:559:c29d::/48", "33651"}, + {"2400:3dc0:701::/32", "134371"}, + {"2409:8904:8f90::/35", "24547"}, + {"2a0c:b641:660::/44", "210189"}, + {"2001:500:2c::/48", "12041"}, + {"240a:ad33::/32", "146029"}, + {"240e:983:1900::/48", "63838"}, + {"2605:a404:71::/45", "33363"}, + {"2607:ff68:9::/43", "46475"}, + {"2001:87f::/32", "198455"}, + {"2600:6c38:514::/46", "20115"}, + {"2001:1248:9719::/46", "11172"}, + {"2407:c280:3000::/45", "24322"}, + {"2a02:ee80:419a::/47", "21433"}, + {"2a10:f200::/29", "212399"}, + {"2001:579:2430::/44", "22773"}, + {"2001:4190:8025::/33", "12912"}, + {"2001:4b00::/29", "12620"}, + {"2402:4900::/32", "9216"}, + {"2605:a80:1::/48", "13213"}, + {"2620:1ec:35::/41", "8075"}, + {"2a07:3502:1070::/48", "38915"}, + {"2a07:dfc0::/32", "212944"}, + {"2a0f:104::/30", "7018"}, + {"2001:559:8659::/48", "33659"}, + {"2001:67c:1bc0::/48", "60216"}, + {"2a00:cf8::/32", "12605"}, + {"2a0a:c340::/32", "12996"}, + {"2409:8904:6670::/40", "24547"}, + {"2a0b:dd00::/29", "31252"}, + {"2001:df6:4f00::/48", "136167"}, + {"2401:1040::/47", "134806"}, + {"2406:9b40::/32", "24262"}, + {"240a:aa42::/32", "145276"}, + {"2600:6c38:e03::/45", "20115"}, + {"2605:a404:a03::/42", "33363"}, + {"2606:2800:4226::/44", "15133"}, + {"2804:6368::/32", "269359"}, + {"2001:4de0:2203::/39", "33438"}, + {"2405:9000:208::/32", "7474"}, + {"2408:8456:e210::/42", "134543"}, + {"2408:8459:a50::/37", "17816"}, + {"240e:983:1804::/47", "4134"}, + {"2600:6c10:818::/46", "20115"}, + {"2620:126:b000::/40", "22208"}, + {"2620:149:1010::/42", "714"}, + {"2a04:4b40::/29", "60476"}, + {"2401:1740:1000::/48", "136600"}, + {"240a:afff::/32", "146745"}, + {"2800:880::/30", "27773"}, + {"2604:cac0::/44", "11019"}, + {"2605:9780:2::/48", "36180"}, + {"2607:6b80:5d::/48", "12167"}, + {"2a00:4802:2610::/39", "8717"}, + {"2604:d600:d::/43", "32098"}, + {"240a:a83b::/32", "144757"}, + {"2600:140f:cc00::/48", "9498"}, + {"2607:8700:110::/46", "25820"}, + {"2405:68c0:21::/48", "139179"}, + {"240a:a5b7::/32", "144113"}, + {"2001:250:701b::/45", "24370"}, + {"2001:b012::/26", "3462"}, + {"2408:8459:5650::/36", "17816"}, + {"240a:a18d::/32", "143047"}, + {"2804:3b0:8309::/45", "53062"}, + {"2804:1644:340::/32", "262903"}, + {"2001:559:8628::/48", "33287"}, + {"2404:bf40:c200::/48", "7545"}, + {"240e:438:7820::/43", "140647"}, + {"240e:983:900::/46", "17638"}, + {"2804:14d:ac94::/42", "28573"}, + {"2a0d:f802:9000::/33", "20278"}, + {"2001:250:812::/48", "23910"}, + {"2001:1248:8473::/45", "11172"}, + {"2404:f4c0:8861::/46", "210384"}, + {"2405:6400:5000::/32", "23678"}, + {"2605:a8c0:10f::/48", "11827"}, + {"2a01:380::/32", "13127"}, + {"2a03:3300::/32", "50399"}, + {"2a02:26f7:c881::/46", "20940"}, + {"2a02:26f7:d981::/46", "20940"}, + {"2a04:8d40::/29", "50304"}, + {"2001:ee0:d040::/39", "45899"}, + {"2400:3860::/32", "149037"}, + {"240e:438:1840::/38", "4134"}, + {"2800:68:3c::/48", "27947"}, + {"2800:160:10d2::/47", "14259"}, + {"2800:484:d800::/40", "10620"}, + {"2a06:62c0::/41", "204138"}, + {"2001:1890::/35", "7018"}, + {"240e:44d:140::/42", "140346"}, + {"2804:80cc::/47", "272413"}, + {"2a02:26f7:38::/48", "36183"}, + {"2a0a:c400::/29", "47716"}, + {"2c0f:f438::/32", "37517"}, + {"2001:67c:1304::/48", "211000"}, + {"240a:a321::/32", "143451"}, + {"2602:807:a000::/44", "398668"}, + {"2605:4e40::/32", "40033"}, + {"2606:2b80::/32", "53338"}, + {"2804:14c:7500::/41", "28573"}, + {"2806:370:9100::/44", "28403"}, + {"2a12:800::/29", "210555"}, + {"2001:4d0:2418::/48", "7847"}, + {"2001:da8:20d::/48", "133111"}, + {"2600:1806:10::/44", "16552"}, + {"2602:fe77::/36", "53732"}, + {"2605:3940::/32", "397566"}, + {"2001:559:2c1::/48", "33287"}, + {"2001:559:c086::/48", "33657"}, + {"2401:9440::/32", "56264"}, + {"2404:2f80:ff00::/48", "140399"}, + {"2604:d600:928::/47", "32098"}, + {"2a02:26f7:d388::/47", "36183"}, + {"2a06:f907::/36", "56630"}, + {"2c0f:1000::/32", "328767"}, + {"2001:de8:16::/48", "55943"}, + {"240e:308:1200::/32", "4134"}, + {"2607:fcd0:10d::/35", "8100"}, + {"2a00:62c0::/32", "12389"}, + {"2a03:25c0::/32", "41770"}, + {"2a06:8dc3::/48", "57878"}, + {"2001:559:c146::/48", "33651"}, + {"2001:df0:ce::/48", "24101"}, + {"2001:44b8:7::/44", "7545"}, + {"2607:fb50:2100::/32", "22781"}, + {"2801:1de::/46", "271901"}, + {"2803:9800:909b::/42", "11664"}, + {"2001:1248:595a::/42", "11172"}, + {"2803:e600:cacf::/34", "18809"}, + {"2804:3810:100::/38", "266453"}, + {"2a0c:a9c7:147::/48", "41740"}, + {"2001:4998:f00f::/36", "10310"}, + {"2404:b640::/32", "137653"}, + {"240a:ae60::/32", "146330"}, + {"2804:1f44::/32", "270710"}, + {"2a00:f940:1::/44", "197695"}, + {"240a:ae9b::/32", "146389"}, + {"2605:5440:a::/32", "23328"}, + {"2806:106e:22::/45", "8151"}, + {"2a02:45c0::/47", "59675"}, + {"2a0d:3341:9000::/34", "36492"}, + {"2a0e:1580::/29", "208942"}, + {"2001:67c:1688::/48", "42632"}, + {"2409:8074:1900::/34", "9808"}, + {"240e:44d:4500::/42", "140345"}, + {"2a02:160::/32", "62183"}, + {"2a02:2230:200::/37", "25467"}, + {"240e:5f:6002::/48", "134772"}, + {"2600:1406:2600::/48", "35994"}, + {"2620:51:8000::/48", "394520"}, + {"2801:11e:1::/48", "3816"}, + {"2001:470:122::/43", "6939"}, + {"2405:c440:2::/32", "139972"}, + {"2406:e001:a000::/33", "23655"}, + {"2409:8d80:b000::/25", "9808"}, + {"2806:230:2052::/48", "265594"}, + {"2a02:888:8151::/48", "47794"}, + {"2409:8915:2a00::/40", "56044"}, + {"240e:3be::/35", "134773"}, + {"2600:6c10:f808::/47", "20115"}, + {"2a02:26f7:d189::/46", "20940"}, + {"2401:d800:b150::/42", "7552"}, + {"2404:5800:101::/32", "9911"}, + {"2605:9880:344::/47", "23470"}, + {"2a06:a005:b5::/48", "207941"}, + {"2a0f:6fc4::/32", "57487"}, + {"2001:250:5811::/46", "23910"}, + {"2001:4802::/32", "27357"}, + {"2400:a040:b::/32", "136237"}, + {"2402:800:bc60::/39", "7552"}, + {"240a:a7a6::/32", "144608"}, + {"2600:1005:d130::/41", "6167"}, + {"2804:5ce8:4100::/32", "268938"}, + {"2a0d:82c7:b000::/36", "47787"}, + {"2001:559:840e::/48", "33659"}, + {"2402:e380:31f::/48", "142148"}, + {"2600:100a:d020::/34", "22394"}, + {"2600:6c10:ff86::/44", "20115"}, + {"2605:4400:6::/47", "40715"}, + {"2804:7924::/32", "271287"}, + {"2a01:9480::/32", "49268"}, + {"2a10:cc42:1600::/40", "20473"}, + {"2001:559:83bb::/48", "33660"}, + {"2001:67c:28d4::/48", "59467"}, + {"2409:8904:5640::/42", "24547"}, + {"240e:5a:4780::/36", "140300"}, + {"2804:358::/39", "53246"}, + {"2a0e:b107:f2a::/48", "212268"}, + {"2a10:4741:20::/48", "208806"}, + {"2001:250:680b::/45", "138373"}, + {"2400:adc0:4010::/47", "9541"}, + {"2408:8459:ec50::/39", "17816"}, + {"2600:5c00:201::/36", "10838"}, + {"2a02:2498::/47", "13213"}, + {"2a04:3200::/47", "30742"}, + {"2a0b:6b81:3::/45", "42615"}, + {"240e:5e:1040::/42", "134774"}, + {"240e:108:1180::/48", "133774"}, + {"2a02:2e02:1350::/40", "12479"}, + {"2a02:50c0::/40", "29355"}, + {"2001:13c7:6016::/48", "61494"}, + {"2001:44b8:4059::/48", "4739"}, + {"2409:8c85:2801::/48", "56041"}, + {"2804:18d0::/32", "19990"}, + {"2804:7598::/32", "271057"}, + {"2a02:26f7:e4c9::/42", "20940"}, + {"2a02:ee80:4272::/45", "3573"}, + {"2a09:4b00::/32", "35280"}, + {"2c0f:f200::/32", "328015"}, + {"2001:559:c3b3::/48", "7016"}, + {"2001:4490:3f00::/42", "9829"}, + {"240a:ae76::/32", "146352"}, + {"2607:fac8::/36", "11404"}, + {"2a04:2dc0:18::/48", "211970"}, + {"2001:67c:23f4::/48", "197982"}, + {"2001:4490:4c00::/40", "9829"}, + {"2403:2c00::/45", "4058"}, + {"2602:ff0c:a3::/48", "5081"}, + {"2804:4f58:4100::/32", "268321"}, + {"2806:2f0:41e3::/38", "17072"}, + {"2a02:5f83:d1cd::/34", "39811"}, + {"2a03:6083:d000::/29", "16285"}, + {"240e:5e:10f0::/34", "4134"}, + {"2800:bf0:8012::/44", "27947"}, + {"2a03:cc00:fc0::/48", "212403"}, + {"2001:da8:e81f::/48", "138373"}, + {"2600:1010:a020::/40", "22394"}, + {"2a02:26f7:7b::/48", "20940"}, + {"2001:559:296::/48", "7922"}, + {"2405:203:888::/43", "55836"}, + {"2408:8459:210::/41", "17622"}, + {"240a:a5c6::/32", "144128"}, + {"240a:aa9e::/32", "145368"}, + {"2607:f0d0:1400::/36", "36351"}, + {"2a04:4e40:f040::/44", "54113"}, + {"2a06:6540:1241::/48", "8220"}, + {"2a06:cd40:400::/48", "43927"}, + {"240a:ad6c::/32", "146086"}, + {"2600:8808:1a00::/34", "22773"}, + {"2800:800:7f0::/45", "26611"}, + {"2a01:cf00:50::/46", "3215"}, + {"2001:1248:a016::/48", "11172"}, + {"2800:160:1431::/45", "14259"}, + {"2a03:7360:1::/48", "197943"}, + {"2a0c:3800:400::/48", "202410"}, + {"2a10:d504::/47", "22773"}, + {"2400:7fc0:220::/44", "55960"}, + {"2406:8b40::/39", "141218"}, + {"2804:3710:a000::/33", "266387"}, + {"2804:5214::/32", "268493"}, + {"2a03:5d60::/29", "14340"}, + {"2a0d:8780::/29", "49475"}, + {"2001:559:86d0::/48", "22909"}, + {"2001:b08:4::/48", "9162"}, + {"2406:8800::/42", "17465"}, + {"2a00:99a0:f000::/48", "64484"}, + {"2a02:7aa0::/35", "43513"}, + {"2404:1fc0::/35", "133217"}, + {"2600:370f:52c1::/42", "32261"}, + {"2604:c340::/32", "17055"}, + {"2a02:26f7:d245::/46", "20940"}, + {"2a06:e881:1709::/48", "206813"}, + {"2001:559:109::/48", "33287"}, + {"2001:678:fdc::/48", "206362"}, + {"2a00:1af0::/29", "35699"}, + {"2a03:2887:ff15::/48", "35819"}, + {"2c0f:fe08:111::/41", "36914"}, + {"2001:1248:571f::/41", "11172"}, + {"2607:f1d8:d2::/32", "7795"}, + {"2607:ffb0:7001::/32", "6327"}, + {"2806:2f0:3343::/42", "17072"}, + {"2a06:f907:4000::/36", "56630"}, + {"2001:559:777::/48", "33657"}, + {"2001:1a11:a7::/48", "8781"}, + {"2001:1ae8::/31", "13036"}, + {"2a02:ac80:601::/39", "25145"}, + {"2001:559:25a::/47", "33657"}, + {"2001:67c:2710::/48", "57823"}, + {"2402:800:5ad3::/44", "7552"}, + {"2405:9800:c908::/48", "45430"}, + {"2605:4640::/32", "20213"}, + {"2800:5f0:6024::/32", "22724"}, + {"2804:e0c:100::/48", "28176"}, + {"2a05:3950::/32", "201503"}, + {"2001:1248:5672::/40", "11172"}, + {"2800:160:1669::/43", "14259"}, + {"2806:370:7110::/44", "28403"}, + {"2a02:26f7:cac9::/42", "20940"}, + {"2401:4900:4a90::/42", "45609"}, + {"2a02:ac80:201::/39", "25145"}, + {"2607:b580:12::/48", "19754"}, + {"2600:2c00:3000::/36", "17378"}, + {"2a00:9340::/32", "57795"}, + {"2a01:5c40:6::/48", "212397"}, + {"2a10:cf00::/29", "12651"}, + {"2001:559:c531::/45", "7922"}, + {"2402:800:9501::/44", "7552"}, + {"2804:4750::/32", "267045"}, + {"2804:7ccc::/32", "271519"}, + {"2a00:d8a0::/29", "44332"}, + {"2a02:26f0:4701::/36", "20940"}, + {"2a02:26f7:eb01::/46", "20940"}, + {"2a04:3f83:49::/48", "211633"}, + {"2a09:9400::/29", "24822"}, + {"2a10:5800::/29", "399975"}, + {"2001:4801::/32", "19994"}, + {"2a0d:740::/29", "57878"}, + {"2600:9000:236a::/47", "16509"}, + {"2620:171:14::/46", "715"}, + {"2a02:2078::/32", "47720"}, + {"2607:fb40::/32", "19008"}, + {"2a02:e0:312f::/38", "34984"}, + {"2a02:26f7:19::/48", "20940"}, + {"2a0d:3840:100::/48", "57629"}, + {"2a0f:4e80::/29", "50629"}, + {"2c0f:fc89:8038::/40", "36992"}, + {"2407:4e00::/47", "17995"}, + {"240e:183:820c::/46", "140651"}, + {"2600:1404:a401::/38", "20940"}, + {"2602:fc09:bc::/41", "13780"}, + {"2602:fed2:7100::/48", "20473"}, + {"2606:2800:500c::/48", "14153"}, + {"2801:1:8004::/48", "18916"}, + {"2804:2044::/32", "52774"}, + {"2a02:7f40::/32", "20860"}, + {"2a06:e881:5901::/48", "209569"}, + {"2001:470:121::/48", "29962"}, + {"2001:559:2c6::/48", "33662"}, + {"2001:df4:1e80::/48", "136632"}, + {"2001:c38:9054::/46", "9931"}, + {"2001:da8:259::/48", "24349"}, + {"240e:9b:f01e::/42", "140255"}, + {"2408:8456:8e00::/42", "17622"}, + {"2408:8957:700::/40", "17816"}, + {"2605:b400::/37", "25956"}, + {"2804:5dd8::/32", "268996"}, + {"2a05:4b80::/29", "59395"}, + {"2a10:400::/32", "201787"}, + {"2400:ac40::/36", "136255"}, + {"2409:8050:1900::/37", "9808"}, + {"2606:2800:4252::/48", "15133"}, + {"2a06:d581:2000::/36", "207308"}, + {"2a03:1981::/32", "48260"}, + {"2001:4c21::/32", "60610"}, + {"2400:cb00:a870::/45", "13335"}, + {"2402:28c0:101::/32", "136620"}, + {"2408:8956:3900::/40", "17816"}, + {"240a:a898::/32", "144850"}, + {"2605:a404:17a::/45", "33363"}, + {"2800:800:a22::/43", "26611"}, + {"2a02:2e02:2570::/40", "12479"}, + {"2a0b:bdc0::/29", "42000"}, + {"2402:e380:318::/48", "141021"}, + {"2404:3d00:41a4::/44", "3573"}, + {"240e:9b:f033::/29", "4134"}, + {"2600:381:3a00::/29", "7018"}, + {"2001:da8:8001::/48", "24365"}, + {"2400:cb00:482::/44", "13335"}, + {"2409:8721::/29", "9808"}, + {"240e:12:1000::/32", "4134"}, + {"240e:67e:e600::/31", "4134"}, + {"2602:fec0::/44", "396320"}, + {"2606:f500:4000::/32", "11352"}, + {"2804:7e0c::/32", "271599"}, + {"2806:230:6017::/48", "11888"}, + {"2a01:170:1051::/36", "8820"}, + {"2a02:26f0:8f01::/35", "20940"}, + {"2a06:e0c0::/31", "28769"}, + {"2001:559:561::/46", "7922"}, + {"2401:d800:b8e0::/39", "7552"}, + {"2402:a00:4d::/42", "45916"}, + {"2801:80:7c0::/46", "263621"}, + {"2001:4888:8041::/46", "22394"}, + {"240e:974:ea00::/40", "4134"}, + {"2620:4e:a000::/48", "393529"}, + {"2a02:26f7:ea84::/48", "36183"}, + {"2a02:2b58::/29", "51074"}, + {"2a06:7243:f::/43", "62425"}, + {"2801:80:2410::/48", "268306"}, + {"2a05:7782::/32", "39892"}, + {"2a0d:40c0:8100::/33", "203448"}, + {"2a0d:ff00::/29", "204877"}, + {"2001:67c:206c::/48", "49788"}, + {"2001:67c:2ad8::/48", "198611"}, + {"2001:df0:247::/48", "58631"}, + {"2001:4b98:dc4::/46", "203476"}, + {"2404:2440:a0a0::/48", "138521"}, + {"2600:1417:d800::/48", "35819"}, + {"2604:5400:8800::/35", "11776"}, + {"2a0e:b107:12f5::/48", "211722"}, + {"2a11:4700::/31", "28680"}, + {"2001:4e0:1051::/32", "2381"}, + {"2001:559:c3b2::/48", "33287"}, + {"2001:da8:23f::/48", "23910"}, + {"240a:a3ca::/32", "143620"}, + {"2800:bf0:2440::/46", "52257"}, + {"2a02:26f7:e48d::/42", "20940"}, + {"2a0f:9400:7860::/47", "9833"}, + {"2001:4b27:ffff::34/121", "34288"}, + {"240e:186:c000::/34", "4812"}, + {"2602:803:4077::/48", "398223"}, + {"2804:6038::/32", "269153"}, + {"2a01:4b40:5000::/34", "21299"}, + {"2001:df6:b000::/48", "45533"}, + {"2400:1660::/48", "140766"}, + {"2804:4560::/32", "266922"}, + {"2a0d:3841:1030::/48", "57629"}, + {"2001:1260:3::/48", "28536"}, + {"2604:6600:78::/40", "40676"}, + {"2803:2210::/36", "271896"}, + {"2001:67c:29cc::/48", "3330"}, + {"2408:8456:4840::/38", "17816"}, + {"240e:45c:3b00::/40", "140528"}, + {"2600:180f::/32", "16552"}, + {"2620:1b::/44", "17103"}, + {"2a01:6c60:4000::/30", "62217"}, + {"2a02:9a8::/32", "47902"}, + {"2a0d:c0c0:3e1::/48", "59439"}, + {"2001:559:323::/48", "33652"}, + {"2402:f300::/32", "132125"}, + {"2a12:a200::/29", "210521"}, + {"2001:559:8004::/48", "33650"}, + {"2001:da8:214::/46", "24350"}, + {"2404:4a00:5542:3a2::/50", "55423"}, + {"2620:79:c000::/48", "62903"}, + {"2800:bf0:1c6::/44", "52257"}, + {"2804:6b14::/33", "270376"}, + {"2001:253:140::/48", "142106"}, + {"240a:a6a5::/32", "144351"}, + {"2602:fca0::/36", "399504"}, + {"2001:df6:2580::/48", "135738"}, + {"2600:805:b00::/48", "397601"}, + {"2605:a401:8419::/42", "33363"}, + {"2a00:4120::/32", "20804"}, + {"2603:c001:3610::/36", "31898"}, + {"2804:f8::/32", "53147"}, + {"2806:2f0:3283::/42", "17072"}, + {"2001:1388:5544::/46", "6147"}, + {"2607:ab00::/32", "600"}, + {"2804:7a4c::/32", "271363"}, + {"2a00:11c0:1799::/48", "42473"}, + {"2402:800:91fe::/38", "7552"}, + {"2408:8956:7300::/40", "17816"}, + {"2804:46f0:21::/41", "267021"}, + {"2001:559:33c::/48", "7016"}, + {"2401:4900:1fe0::/34", "45609"}, + {"2600:6c38:6c::/43", "20115"}, + {"2801:80:2c00::/40", "268460"}, + {"2a02:6900:8820::/48", "7160"}, + {"2a03:1ac0:5f50::/32", "9049"}, + {"2402:800:370f::/43", "7552"}, + {"2408:84f3:f620::/43", "17816"}, + {"240e:12:9000::/37", "134766"}, + {"2600:6c39:63d::/30", "20115"}, + {"2a01:c50e:ff40::/31", "12479"}, + {"2a05:4140:3::/45", "212271"}, + {"2605:b100:fcff::/48", "36522"}, + {"2607:f8f8:600::/39", "27323"}, + {"2804:27ac::/32", "52833"}, + {"2a01:56c1:300::/40", "198864"}, + {"2804:3688::/32", "266354"}, + {"2804:4364::/32", "267567"}, + {"2a00:d400::/32", "197506"}, + {"2001:df0:246::/48", "9555"}, + {"2400:cb00:356::/44", "13335"}, + {"2402:800:5efe::/34", "7552"}, + {"2406:f680:2::/33", "132298"}, + {"2605:4300:1200::/43", "22616"}, + {"2607:ffc8:1::3/63", "17356"}, + {"2804:2620::/32", "264323"}, + {"2a09:e080::/29", "29686"}, + {"2a10:e100::/29", "174"}, + {"2001:300::/32", "2497"}, + {"2001:579:62a0::/35", "22773"}, + {"240a:ad13::/32", "145997"}, + {"2804:716c::/32", "270788"}, + {"2001:44b8:30d8::/46", "7545"}, + {"2402:c800:fff1::/48", "37900"}, + {"2403:cc00:3000::/36", "20860"}, + {"2408:8a23:4000::/34", "4837"}, + {"240a:a4ff::/32", "143929"}, + {"2a02:26f7:e7d0::/48", "36183"}, + {"2a06:fb41::/32", "203385"}, + {"2a0b:3540::/45", "204413"}, + {"2001:41b8::/32", "8365"}, + {"2001:4888:801e::/48", "6167"}, + {"2409:8924:4700::/36", "56046"}, + {"2409:8958:c854::/39", "56040"}, + {"2607:f098:3100::/38", "33363"}, + {"2806:20d:5800::/45", "32098"}, + {"2a02:20a8::/32", "15830"}, + {"2a04:980::/29", "15659"}, + {"2a02:2e02:89e0::/38", "12479"}, + {"2001:978:2801::/38", "174"}, + {"2402:800:9455::/42", "7552"}, + {"2405:ec00:111::/35", "23955"}, + {"2610:a1:1021::/46", "397228"}, + {"2804:a98::/32", "52896"}, + {"2001:1900:2261::/48", "3356"}, + {"2a04:4280:100::/48", "43260"}, + {"2a0e:40c0:3::/48", "204957"}, + {"2001:559:186::/47", "33651"}, + {"2001:67c:48::/48", "51210"}, + {"2600:370f:3588::/42", "32261"}, + {"2606:6080:1004::/48", "32489"}, + {"2001:44b8:606f::/32", "4739"}, + {"2401:4900:40d1::/44", "45609"}, + {"2404:4a00:7500::/64", "55423"}, + {"2405:f080:e00::/46", "136907"}, + {"2600:2:da0::/29", "1239"}, + {"2620:13d:a000::/48", "19712"}, + {"2a02:2e0:407::/43", "12306"}, + {"2a02:ed04:110::/34", "50304"}, + {"2402:ef2f:1c::/48", "7633"}, + {"240e:5e:1080::/44", "4134"}, + {"2602:802:4003::/48", "14038"}, + {"2602:fc23:151::/48", "54625"}, + {"2806:2f0:92e6::/39", "17072"}, + {"2001:dc7::/48", "24409"}, + {"2001:16a2:c310::/41", "39386"}, + {"2404:2940::/34", "132257"}, + {"2a02:ee80:4058::/47", "21433"}, + {"2406:dec0::/32", "45284"}, + {"2a01:b5e0::/32", "43359"}, + {"2a02:26f7:df00::/48", "36183"}, + {"2a0a:ec00::/32", "20836"}, + {"2001:468:1203::/37", "11537"}, + {"2001:559:2a4::/48", "7015"}, + {"2001:559:7a6::/48", "7922"}, + {"2402:800:5de0::/44", "7552"}, + {"2409:8904:5970::/40", "24547"}, + {"2409:8f04:9700::/33", "24547"}, + {"2620:1e:2000::/48", "396288"}, + {"2804:2700::/32", "263869"}, + {"2001:67c:2004::/48", "25173"}, + {"2405:1c0:7951::/46", "55303"}, + {"2605:6f80::/40", "53340"}, + {"2001:250:5866::/48", "138371"}, + {"2001:67c:29c8::/48", "52016"}, + {"2a02:26f7:e100::/48", "36183"}, + {"240a:a095::/32", "142799"}, + {"240a:a4e7::/32", "143905"}, + {"2600:6c20:e4a::/43", "20115"}, + {"240a:ad0e::/32", "145992"}, + {"2600:140b:14::/48", "24319"}, + {"2603:7000::/28", "12271"}, + {"2001:da8:23c::/48", "23910"}, + {"2001:df0:4780::/48", "45278"}, + {"2804:14c:f289::/41", "28573"}, + {"2a01:53c0:ff01::/44", "54994"}, + {"2402:e7c0:840::/38", "59078"}, + {"2605:a900:100a::/34", "46887"}, + {"2804:32e0::/32", "265102"}, + {"2806:230:402e::/48", "265594"}, + {"2a0a:ec02:c01::/48", "42692"}, + {"2a0d:a140::/29", "24639"}, + {"2a0e:800:ff03::/45", "209083"}, + {"2400:4840::/48", "395363"}, + {"2804:7494::/32", "270990"}, + {"2a02:26f7:5e::/48", "36183"}, + {"2c0f:eb68::/32", "36924"}, + {"2401:7400:6001::/43", "4773"}, + {"2606:6a80::/32", "394384"}, + {"2607:fb10:5017::/42", "2906"}, + {"2804:14c:da99::/41", "28573"}, + {"2804:48b4::/32", "267139"}, + {"2804:4968::/32", "262625"}, + {"2a00:1fa2:bb00::/33", "28884"}, + {"2a00:ab00::/33", "49505"}, + {"2a02:26f7:e7d5::/42", "20940"}, + {"2c0f:fbf0:1::/48", "32653"}, + {"2001:559:c233::/48", "33650"}, + {"2001:44b8:4079::/40", "4739"}, + {"240a:ade2::/32", "146204"}, + {"2600:6c7f:9022::/48", "20115"}, + {"2605:940:610::/44", "396919"}, + {"2800:200:f1d0::/36", "12252"}, + {"2001:559:8401::/48", "33491"}, + {"2001:678:e98::/48", "212495"}, + {"2001:1488::/32", "25192"}, + {"2409:8948:8b00::/40", "24445"}, + {"2800:d302:38::/29", "11830"}, + {"2804:a30:c000::/34", "263030"}, + {"2a02:a11::/29", "31251"}, + {"2a02:26f7:c6c2::/47", "20940"}, + {"2a09:a4c7:3000::/36", "208861"}, + {"240a:a75a::/32", "144532"}, + {"2800:68:bacb::/33", "61468"}, + {"2804:30b8:caff::/34", "28154"}, + {"2804:3128::/32", "264997"}, + {"2a02:5e0::/32", "3330"}, + {"2a02:ee80:42d6::/32", "3573"}, + {"2a0b:9cc0::/29", "12859"}, + {"240a:aaf0::/32", "145450"}, + {"2803:8240::/47", "52511"}, + {"2a03:db80:4424::/48", "5501"}, + {"2a0e:aa06:498::/45", "24239"}, + {"2001:559:217::/48", "33659"}, + {"2001:67c:109c::/48", "211479"}, + {"2400:ddc0:d000::/34", "4785"}, + {"2a03:94c0::/40", "39326"}, + {"2001:559:3f4::/47", "7016"}, + {"2402:7d80:241::/48", "63583"}, + {"2404:ce40::/35", "138884"}, + {"2406:daa0:2080::/44", "16509"}, + {"2408:805c:4000::/44", "17622"}, + {"2800:5d0:801::/48", "17048"}, + {"2804:2848::/32", "263952"}, + {"2804:7854::/32", "271235"}, + {"2a02:26f0:9401::/39", "20940"}, + {"2406:5880::/32", "135391"}, + {"240a:adb5::/32", "146159"}, + {"240e:45c:c200::/40", "131285"}, + {"240e:964:ea00::/40", "133776"}, + {"2600:180b:2002::/33", "16552"}, + {"2620:11d:9002::/56", "14805"}, + {"2a02:26f7:d284::/48", "36183"}, + {"2c0f:f148::/32", "37542"}, + {"2602:fe6f:2::/47", "11374"}, + {"2a02:26f7:e989::/46", "20940"}, + {"2a02:5300::/32", "34119"}, + {"2600:2:120::/36", "1239"}, + {"2803:c800::/33", "23243"}, + {"2a01:5041:1000::/48", "202196"}, + {"2a0f:b100::/44", "202945"}, + {"2001:559:c164::/48", "20214"}, + {"2001:43f8:bf0::/48", "2635"}, + {"240e:96b:602d::/32", "4134"}, + {"2605:bc0:2002::/48", "54201"}, + {"2402:800:382b::/41", "7552"}, + {"2407:a080:8000::/33", "133480"}, + {"2600:140f:1c00::/48", "55836"}, + {"2604:4d40:6c::/47", "213073"}, + {"2804:24ac:8000::/33", "264237"}, + {"2a02:2e02:8fd0::/42", "12479"}, + {"2a07:3502:1050::/48", "1136"}, + {"2602:ffe1::/36", "11475"}, + {"2800:bf0:b425::/44", "52257"}, + {"2801:b0:b4::/32", "52888"}, + {"2a0a:fb00::/32", "206969"}, + {"2001:559:8286::/47", "7922"}, + {"240e:44d:d80::/41", "4134"}, + {"2604:f680::/40", "39962"}, + {"2806:269:501::/48", "13999"}, + {"2a01:8dc0:112::/48", "29479"}, + {"2a01:c50f:a080::/39", "12479"}, + {"2a03:3a40:2::/35", "199629"}, + {"2a0d:b0c0::/29", "210111"}, + {"2602:ff92::/36", "54868"}, + {"2620:7a:6000::/48", "398208"}, + {"2804:4e28::/32", "268243"}, + {"2a01:af80::/32", "34785"}, + {"2600:9000:11c1::/44", "16509"}, + {"2804:1f4e::/32", "33353"}, + {"2a02:d100::/29", "197155"}, + {"2a0f:1740::/29", "60262"}, + {"2001:559:4f5::/48", "7922"}, + {"2001:67c:940::/48", "209719"}, + {"2001:da8:702b::/48", "23910"}, + {"2600:8807:6d3e::/32", "22773"}, + {"2605:4a80:f000::/36", "11232"}, + {"2620:0:2900::/48", "22843"}, + {"2800:bf0:255::/44", "27947"}, + {"2804:5b50::/32", "268834"}, + {"2a0e:8240::/29", "207902"}, + {"2001:df0:2fc::/48", "58404"}, + {"2001:44b8:406c::/48", "7545"}, + {"2409:8c85:aa0d::/43", "9808"}, + {"2a01:8aa0::/32", "31122"}, + {"2401:4900:3b00::/42", "45609"}, + {"2804:1354:7900::/32", "52892"}, + {"2804:1ca0:ff05::/48", "61666"}, + {"2001:ee0:ca40::/39", "45899"}, + {"2400:adcc::/39", "9541"}, + {"2405:b8c0:1000::/32", "131674"}, + {"2408:80ea:7880::/42", "17623"}, + {"240e:3bb:c000::/37", "140315"}, + {"2620:12f:e000::/40", "40216"}, + {"2804:2940::/32", "264006"}, + {"2806:20d:5045::/44", "32098"}, + {"2a02:26f7:f288::/48", "36183"}, + {"2a02:2e02:9c10::/41", "12479"}, + {"2a0a:9a04::/48", "61317"}, + {"2a0f:9400:100::/46", "59893"}, + {"2a11:d140::/29", "1239"}, + {"2001:559:8512::/48", "7922"}, + {"2001:67c:784::/48", "201511"}, + {"2409:8904:3da0::/38", "24547"}, + {"240a:a605::/32", "144191"}, + {"240a:aac5::/32", "145407"}, + {"2a01:298:f002::/31", "30880"}, + {"2a01:53c0:ffcb::/45", "54994"}, + {"2a02:2230:6200::/40", "25467"}, + {"2001:559:84c0::/48", "33668"}, + {"2408:8256:880::/39", "17622"}, + {"2409:8061:2100::/36", "9808"}, + {"240e:397:1200::/37", "140491"}, + {"2605:4a00:111::/44", "14361"}, + {"2a02:26f7:decd::/46", "20940"}, + {"2001:638:30d::/48", "8519"}, + {"2405:8100:8005::/48", "13335"}, + {"2406:e1c0:6::/38", "141459"}, + {"2409:803c:3090::/48", "9808"}, + {"2600:5800:1602::/34", "11426"}, + {"2602:ff95::/36", "19194"}, + {"2606:6680:6::/48", "30475"}, + {"2a00:eb80::/32", "48518"}, + {"2a02:26f7:d50c::/48", "36183"}, + {"2a0f:56c0::/48", "48749"}, + {"2c0f:f618::/32", "327814"}, + {"2401:3c0:20c::/46", "45528"}, + {"2408:8256:1066::/39", "17622"}, + {"240a:a070::/32", "142762"}, + {"2604:3d80:400::/40", "11030"}, + {"2001:678:684::/48", "203085"}, + {"2803:a440::/32", "263776"}, + {"2804:4c58::/32", "267365"}, + {"2806:230:5017::/36", "11888"}, + {"2001:250:3417::/44", "138393"}, + {"2001:559:29b::/48", "33490"}, + {"2407:d380::/32", "135673"}, + {"240a:ab1b::/32", "145493"}, + {"2606:2800:4080::/48", "15133"}, + {"2804:74e4::/32", "271010"}, + {"2a03:5ce0::/48", "29667"}, + {"2a07:9440::/30", "202682"}, + {"2409:8020:3074::/40", "56046"}, + {"2a01:c9c0:c5::/48", "8891"}, + {"2a02:26f7:c005::/46", "20940"}, + {"2400:8b00:2180::/42", "45727"}, + {"2402:8a00::/33", "24477"}, + {"2804:543c::/32", "268636"}, + {"2804:7238::/32", "270840"}, + {"2606:d600::/32", "18590"}, + {"2803:5c80:5598::/48", "64114"}, + {"2803:ca80::/47", "263249"}, + {"2a02:5860::/32", "3561"}, + {"2600:1004:f110::/31", "22394"}, + {"2803:c560:fffb::/48", "207688"}, + {"2001:16a2:b20c::/43", "25019"}, + {"2400:dc00:4003::/48", "131702"}, + {"2400:dcc0:a204::/39", "38631"}, + {"2401:c7c0:2::/48", "23864"}, + {"2409:8057:3022::/45", "56040"}, + {"2607:fb10:503d::/46", "2906"}, + {"2a00:7380:feed::/48", "205868"}, + {"2607:fcd0:1338::/32", "8100"}, + {"2620:134:6006::/47", "33538"}, + {"2804:204:23f::/41", "28186"}, + {"2a02:26f7:bd::/48", "20940"}, + {"2a0b:b0c0::/29", "210625"}, + {"2a07:e00:a::/45", "210083"}, + {"2001:579:d264::/40", "22773"}, + {"2001:4200:49::/38", "2018"}, + {"2402:3a80:c037::/44", "38266"}, + {"2806:20d:5226::/40", "32098"}, + {"2a0a:ab80::/32", "206637"}, + {"2a0e:97c0:76f::/48", "207662"}, + {"2001:13c7:601f::/48", "64104"}, + {"2408:8456:5a00::/42", "17622"}, + {"240a:ae35::/32", "146287"}, + {"2600:380:a180::/38", "20057"}, + {"2600:9000:1e01::/46", "16509"}, + {"2a02:2698:782a::/47", "56981"}, + {"2a02:26f7:d9c9::/42", "20940"}, + {"2408:84f3:b210::/42", "134543"}, + {"2408:8957:b000::/40", "17622"}, + {"240a:a4c1::/32", "143867"}, + {"2600:370f:36c5::/46", "32261"}, + {"2606:2800:7030::/46", "15133"}, + {"2620:21:c000::/48", "30256"}, + {"2a02:26f7:d6c5::/46", "20940"}, + {"2a03:d180:fffe::/48", "13172"}, + {"2401:d800:9e50::/42", "7552"}, + {"2402:9e80:55::/48", "141376"}, + {"2408:8459:c050::/38", "17816"}, + {"2604:6600::/47", "40676"}, + {"2a02:2498:295::/48", "13213"}, + {"2a04:5500::/29", "60357"}, + {"2602:fd93::/36", "398230"}, + {"2a00:df80::/47", "12301"}, + {"2a01:53c0:ffba::/45", "54994"}, + {"2001:678:7e8::/48", "200300"}, + {"2607:f380:865::/38", "2152"}, + {"2607:f560::/32", "7029"}, + {"2800:bf0:80c2::/48", "27947"}, + {"2800:bf0:80e0::/45", "52257"}, + {"2a02:2630::/29", "15419"}, + {"2a05:c200::/29", "201050"}, + {"2001:250:21f::/42", "23910"}, + {"2001:579:5384::/36", "22773"}, + {"2402:8100:3a4f::/32", "55644"}, + {"2804:7994::/32", "271314"}, + {"2402:800:5901::/44", "7552"}, + {"2800:4b0:4310::/37", "12252"}, + {"2804:30cc::/32", "263055"}, + {"2a09:9180:ecfb::/48", "42081"}, + {"2001:559:580::/48", "33650"}, + {"2001:c00:101::/33", "4618"}, + {"2001:1340::/32", "10569"}, + {"2001:43f8:13e0::/48", "328403"}, + {"240a:a15a::/32", "142996"}, + {"240e:3b8:9c00::/34", "140310"}, + {"240e:438:e40::/35", "4134"}, + {"2604:6100::/32", "39970"}, + {"2620:13f:701a::/47", "55706"}, + {"2804:108c:d100::/37", "28146"}, + {"2804:3414::/32", "28666"}, + {"2607:fb10:7052::/42", "2906"}, + {"2a02:21e0::/32", "44700"}, + {"2a02:2e02:8c50::/42", "12479"}, + {"2001:559:501::/48", "7725"}, + {"2001:1248:986d::/43", "11172"}, + {"2408:8956:dac0::/39", "17816"}, + {"2409:8c20:5027::/39", "56046"}, + {"240a:a31a::/32", "143444"}, + {"2620:171:a0::/44", "715"}, + {"2a02:26f7:bdd1::/42", "20940"}, + {"2a02:26f7:e8cc::/48", "36183"}, + {"2a02:6f00:ec1::/32", "197692"}, + {"2a0a:2842:3450::/47", "136796"}, + {"2001:da8:ffc::/48", "24351"}, + {"2600:140f:4e01::/39", "20940"}, + {"2620:149:1110::/41", "714"}, + {"2803:b780:2::/44", "27742"}, + {"2803:e600:ffab::/41", "18809"}, + {"2a04:f340:1000::/40", "211174"}, + {"2a09:8180::/30", "3320"}, + {"2001:ee0:3740::/36", "45899"}, + {"2409:807e:100::/36", "9808"}, + {"240a:addc::/32", "146198"}, + {"2600:1006:a120::/36", "22394"}, + {"2606:2800:4ac8::/46", "15133"}, + {"2620:9:c000::/48", "23099"}, + {"2803:7320::/32", "266758"}, + {"2a0c:600::/29", "8399"}, + {"2c0f:f238:8000::/33", "328032"}, + {"2604:2b80::/36", "54351"}, + {"2a02:2861::/32", "25255"}, + {"2a02:4fc0:4200::/32", "199081"}, + {"2402:9040:9001::/33", "137498"}, + {"2806:2f0:2200::/42", "17072"}, + {"2402:b400:4428::/38", "45960"}, + {"240a:a32a::/32", "143460"}, + {"2605:1980:102::/45", "13951"}, + {"2620:135:6052::/40", "22697"}, + {"2800:160:1b22::/45", "14259"}, + {"2804:60a8::/32", "269182"}, + {"2a00:f740:400::/48", "57118"}, + {"2409:8062:3100::/36", "9808"}, + {"240a:a236::/32", "143216"}, + {"2605:b880::/32", "62782"}, + {"2606:e480:200::/39", "55083"}, + {"2800:200::/44", "12252"}, + {"2a03:4900:a0::/47", "197695"}, + {"2a03:fa00::/32", "28760"}, + {"2001:14f8::/32", "12502"}, + {"2402:ee80:b::/45", "132647"}, + {"240e:183:8200::/46", "140648"}, + {"2600:380:8100::/38", "7018"}, + {"2620:130:3022::/47", "62861"}, + {"2804:431c::/38", "267549"}, + {"2a0e:b107:240::/44", "204982"}, + {"2a0f:9400:7846::/44", "147028"}, + {"2001:559:c34d::/46", "7016"}, + {"2804:16a0::/32", "61908"}, + {"2a0e:8180::/48", "48749"}, + {"2001:559:789::/48", "7015"}, + {"2001:559:869f::/42", "7015"}, + {"2404:d500:2::/47", "132370"}, + {"2620:4d:402f::/43", "395403"}, + {"2804:45c4::/32", "266948"}, + {"2a00:1398::/30", "34878"}, + {"2c0f:e8e0:8000::/33", "327926"}, + {"2001:4cf8::/33", "13167"}, + {"2400:b000:300::/48", "45600"}, + {"240a:a2ec::/32", "143398"}, + {"2803:a0::/32", "266784"}, + {"2a02:26f7:dc89::/46", "20940"}, + {"2a03:2880:f140::/46", "32934"}, + {"2001:4b18:4000::/32", "20746"}, + {"2409:8c54:a00::/37", "56040"}, + {"2a00:b220::/32", "43957"}, + {"2a02:c98::/32", "48918"}, + {"240e:678:8800::/33", "4134"}, + {"2804:5818:1500::/32", "268106"}, + {"2a00:aea0:100::/38", "12678"}, + {"2001:250:2426::/48", "23910"}, + {"2604:d600:c3f::/41", "32098"}, + {"2400:bb00:101::/46", "56274"}, + {"240a:a57d::/32", "144055"}, + {"2602:ffc5:da0::/44", "7489"}, + {"2604:2680:2::/48", "2386"}, + {"2a02:503::/47", "51955"}, + {"2a02:ee80:41cc::/43", "3573"}, + {"2a0f:3b03::/32", "58313"}, + {"2001:579:d2a4::/34", "22773"}, + {"2602:ff28::/36", "14877"}, + {"2607:f758:5400::/32", "13649"}, + {"2804:14c:5971::/40", "28573"}, + {"2001:ec0:4000::/44", "131293"}, + {"2406:4440:50::/42", "396303"}, + {"2409:805c:30c1::/42", "9808"}, + {"2607:f060:1004::/32", "11404"}, + {"2804:5a30:4000::/32", "268754"}, + {"2a02:cbf7:2::/39", "61157"}, + {"2403:6e40:190::/44", "9830"}, + {"2a02:26f7:be01::/46", "20940"}, + {"2a02:26f7:e045::/46", "20940"}, + {"2001:559:87a8::/45", "7015"}, + {"240e:ff:a000::/36", "134764"}, + {"240e:6bd:1000::/30", "4134"}, + {"240e:a67:2600::/23", "4134"}, + {"2604:d600:60b::/45", "32098"}, + {"2620:11a:a032::/48", "43515"}, + {"2806:2f0:4721::/46", "17072"}, + {"2a00:86c0:2040::/47", "40027"}, + {"2a02:23c8:ff00::/40", "24592"}, + {"240a:a709::/32", "144451"}, + {"2602:feda:c0::/47", "43126"}, + {"2804:1408:8001::/35", "28635"}, + {"2804:2144:900::/37", "52795"}, + {"2001:559:875e::/48", "7922"}, + {"2001:fb0:1076::/47", "7470"}, + {"2400:cb00:172::/44", "13335"}, + {"240e:3b9:9c00::/34", "140310"}, + {"2600:1007:b1f2::/33", "22394"}, + {"2800:380::/32", "22927"}, + {"2804:7864::/32", "271239"}, + {"2a07:9a40:dcb::/29", "30081"}, + {"2a07:c500::/29", "48501"}, + {"2001:559:7af::/43", "7922"}, + {"2001:44b8:606a::/45", "7545"}, + {"2400:cd00:1037::/48", "38293"}, + {"240e:979:5e00::/40", "134770"}, + {"2603:c001:4010::/39", "31898"}, + {"2605:59c2:8000::/36", "36492"}, + {"2001:df3:7880::/48", "140583"}, + {"2406:840:4880::/47", "139317"}, + {"240a:a754::/32", "144526"}, + {"2600:1901:ffd0::/44", "15169"}, + {"2606:ae00:9c00::/40", "7287"}, + {"2804:69c4::/32", "270290"}, + {"2404:8d02:5000::/32", "9587"}, + {"2408:8957:100::/40", "17816"}, + {"2a02:26f7:d100::/48", "36183"}, + {"2a02:2e02:a30::/41", "12479"}, + {"2a02:5400:828::/48", "33353"}, + {"2001:4860:1026::/33", "15169"}, + {"2001:4d98::/34", "3303"}, + {"2408:8456:5200::/42", "17622"}, + {"240a:a6a3::/32", "144349"}, + {"2a01:8782::/29", "50343"}, + {"240a:a1b1::/32", "143083"}, + {"2a00:1d34::/33", "9121"}, + {"2a06:7a03::/48", "3170"}, + {"2a09:8740::/29", "35426"}, + {"240a:a97e::/32", "145080"}, + {"2001:67c:52c::/48", "49639"}, + {"2001:da8:4031::/46", "24353"}, + {"2408:8409:2400::/40", "4808"}, + {"240e:983:1201::/40", "4134"}, + {"2600:6c38:505::/44", "20115"}, + {"2804:437c:c000::/35", "267573"}, + {"2a03:1e80:ff9::/45", "8590"}, + {"2a0c:3b85::/32", "58057"}, + {"2001:559:1eb::/45", "33489"}, + {"2001:1ab0::/32", "29134"}, + {"2402:a00:6e::/40", "45916"}, + {"2605:4c40:244::/36", "30081"}, + {"2605:f440:5354::/37", "54874"}, + {"2803:6210::/32", "271904"}, + {"2804:1b2:4000::/41", "18881"}, + {"2804:680:600::/36", "262589"}, + {"2804:3e18::/32", "266573"}, + {"2a00:a920:a00::/32", "60486"}, + {"2a09:f880::/32", "52052"}, + {"2a0b:1306:400::/48", "198018"}, + {"2001:bf7:1360::/32", "44194"}, + {"2409:8b63::/27", "9808"}, + {"240e:f9:c000::/30", "134774"}, + {"2606:68c0::/32", "11722"}, + {"2620:3c:8080::/48", "54763"}, + {"2803:9800:a012::/42", "11664"}, + {"2a02:26f7:e404::/48", "36183"}, + {"2a06:1281:5::/48", "203943"}, + {"2001:559:8448::/48", "22909"}, + {"2001:4028::/29", "8798"}, + {"2408:8456:f040::/40", "17816"}, + {"2409:8914::/39", "56044"}, + {"240a:a35d::/32", "143511"}, + {"2602:feb4:40::/44", "25961"}, + {"2a06:8780::/32", "50629"}, + {"240a:a644::/32", "144254"}, + {"2605:9300:1::/48", "13768"}, + {"2806:203:f001::/48", "262916"}, + {"2a02:29ea:14::/48", "49604"}, + {"2a06:a001:a104::/48", "210384"}, + {"240a:ad51::/32", "146059"}, + {"2a02:2370:1::/45", "32787"}, + {"2600:6c10:f06b::/43", "20115"}, + {"2804:63cc::/32", "269384"}, + {"2a00:1cb0::/32", "44219"}, + {"2a01:5042:eff::/48", "202196"}, + {"2a06:a005:3::/45", "147028"}, + {"2a0b:ca80::/32", "57723"}, + {"2400:8480:1000::/48", "133385"}, + {"2407:1400:7::/40", "23752"}, + {"2409:40c1::/30", "55836"}, + {"2620:149:575::/40", "714"}, + {"2001:559:379::/48", "33652"}, + {"2600:140f:5c01::/38", "20940"}, + {"2602:807:d000::/44", "397736"}, + {"2804:14c:9d84::/41", "28573"}, + {"2a09:48c0::/29", "6735"}, + {"2402:1200:11::/39", "24523"}, + {"2408:8456:b840::/38", "17816"}, + {"2804:5f4::/32", "262983"}, + {"2804:6a74::/32", "270337"}, + {"2806:2f0:1183::/43", "22884"}, + {"2a02:1022::/32", "13128"}, + {"2a02:26f7:6c::/48", "36183"}, + {"2a04:15c0::/29", "34134"}, + {"2402:800:930f::/43", "7552"}, + {"2404:e80:b000::/33", "134697"}, + {"2405:9800:b41e::/40", "45430"}, + {"2a02:240::/44", "28812"}, + {"240e:44d:7f80::/41", "4134"}, + {"2620:186::/46", "396013"}, + {"2a01:8840:3e::/41", "12041"}, + {"2a0e:de80::/29", "200462"}, + {"2402:d400::/45", "17762"}, + {"2403:9800:c061::/43", "4648"}, + {"2406:d140:8000::/34", "49544"}, + {"2600:140b:ec01::/35", "20940"}, + {"2804:6048::/32", "269157"}, + {"2a03:85c1:925c::/48", "12085"}, + {"2404:bf40:85c1::/42", "139084"}, + {"2405:f080:2000::/36", "136907"}, + {"2409:4001:2000::/35", "55836"}, + {"2a0d:77c7:748a::/36", "7489"}, + {"2001:da8:202f::/48", "23910"}, + {"2a00:1e1c:4000::/30", "8896"}, + {"2a0a:c40:ffff::/48", "206304"}, + {"2001:559:839a::/48", "33287"}, + {"2001:67c:160::/48", "44238"}, + {"2001:7b0::/32", "8881"}, + {"2402:9900:111::/48", "27435"}, + {"2408:8459:5280::/42", "136959"}, + {"2620:74:10::/48", "11840"}, + {"2800:d300:5000::/30", "11830"}, + {"2a05:6744::/48", "3549"}, + {"240a:a7f8::/32", "144690"}, + {"2a01:190:15f::/48", "51454"}, + {"2a0f:6580:103::/48", "48292"}, + {"2a0f:85c1:240::/44", "206792"}, + {"2804:3118::/32", "264992"}, + {"2804:3448::/32", "265447"}, + {"2804:3a68::/32", "266087"}, + {"2a07:2781:a4a4::/29", "15490"}, + {"2a0f:9400:780a::/47", "147028"}, + {"2001:559:c361::/46", "33287"}, + {"2607:ff60:5002::/48", "397110"}, + {"2a02:26f0:dc01::/39", "20940"}, + {"2001:559:8277::/48", "7016"}, + {"240a:a2c4::/32", "143358"}, + {"240a:adb8::/32", "146162"}, + {"2804:51a4:4100::/34", "268467"}, + {"2804:80f0::/32", "272422"}, + {"2a01:5560::/32", "44128"}, + {"2a02:2368::/32", "50270"}, + {"2a04:3480::/29", "60783"}, + {"2a0d:900::/32", "59951"}, + {"2001:678:ea0::/48", "48992"}, + {"2400:dd09:1006::/30", "7497"}, + {"2606:6c00:100::/48", "32787"}, + {"2a01:250:f900::/37", "34511"}, + {"2401:d800:28c0::/42", "7552"}, + {"2403:4b40::/32", "137785"}, + {"2801:80:1f0::/48", "52996"}, + {"2803:9800:a8c7::/44", "11664"}, + {"2804:7c10::/32", "271473"}, + {"2a03:6505::/32", "6731"}, + {"2a03:8fa0:1000::/36", "17819"}, + {"2001:559:83b9::/48", "33657"}, + {"2001:559:8728::/48", "33657"}, + {"2401:d800:9780::/42", "7552"}, + {"240a:a1b0::/32", "143082"}, + {"2600:2a05::/28", "396319"}, + {"2605:e740::/40", "398710"}, + {"2606:2800:433::/45", "15133"}, + {"2804:720::/32", "262621"}, + {"2001:579:709c::/42", "22773"}, + {"2602:ff50:300::/37", "63452"}, + {"2804:4d3c:2e02::/35", "267420"}, + {"2a01:4da0::/48", "34895"}, + {"2001:1b88::/47", "39477"}, + {"2600:1003:b1b0::/41", "22394"}, + {"2606:2800:21f::/42", "15133"}, + {"2804:8064::/32", "271747"}, + {"2a03:b000:a00::/40", "25369"}, + {"2001:67c:25ec::/48", "207394"}, + {"240e:67e:e400::/39", "140330"}, + {"2600:1001:b130::/40", "22394"}, + {"2606:2800:4209::/48", "14210"}, + {"2607:f358:15::/48", "54500"}, + {"2a00:1748::/32", "44225"}, + {"2001:da8:1001::/42", "24361"}, + {"2400:fc00:4022::/44", "45773"}, + {"2800:3c0:8180::/33", "19863"}, + {"2a02:26f7:be40::/48", "36183"}, + {"2001:200:700::/36", "2500"}, + {"2804:3e90:8a01::/39", "266606"}, + {"2804:684c::/32", "269683"}, + {"2a03:7540:7541::/32", "44406"}, + {"2800:bf0:a805::/48", "52257"}, + {"2806:230:2007::/48", "11888"}, + {"2a01:280:380::/48", "212079"}, + {"2a01:7c0::/32", "12294"}, + {"2a02:4820::/32", "201964"}, + {"2409:805c:6100::/30", "9808"}, + {"2409:8752:100::/38", "56047"}, + {"2600:3300::/24", "398197"}, + {"2607:6004:e301::/48", "397378"}, + {"2620:171:d0::/48", "715"}, + {"2801:80:17c1::/43", "61580"}, + {"2400:9380:95c0::/44", "136167"}, + {"2605:6900::/32", "174"}, + {"2606:7c80:100::/48", "40300"}, + {"2606:a700::/35", "17378"}, + {"2803:1a00:1513::/33", "262186"}, + {"2a01:5042:7::/48", "202196"}, + {"2a02:26f7:f18d::/42", "20940"}, + {"2a04:1b00:8::/47", "61005"}, + {"2001:559:c45c::/48", "7922"}, + {"2001:67c:430::/48", "51523"}, + {"2001:df1:fe00::/48", "141107"}, + {"2001:559:547::/48", "7725"}, + {"240e:108:1170::/48", "134238"}, + {"2804:3e8:1100::/34", "28663"}, + {"2a01:8840:12::/45", "12041"}, + {"2804:c0c::/32", "52665"}, + {"2a02:970:471::/35", "44002"}, + {"2001:67c:18e4::/48", "199957"}, + {"2402:a300:800b::/36", "55427"}, + {"2407:9e40::/32", "210807"}, + {"2602:fe87::/36", "399693"}, + {"2605:a401:806c::/40", "33363"}, + {"2803:33a0::/32", "52471"}, + {"2a0c:4b80::/34", "197991"}, + {"2600:100d:b040::/42", "6167"}, + {"2001:559:71f::/48", "7922"}, + {"2001:df5:f00::/48", "24205"}, + {"2400:a980:3000::/40", "133513"}, + {"240e:37b:1a00::/34", "140330"}, + {"2602:ffe4:c50::/46", "21859"}, + {"2804:57c::/36", "262517"}, + {"2a09:be40:4501::/48", "209109"}, + {"2402:800:3455::/42", "7552"}, + {"240e:3b0:6400::/35", "140312"}, + {"2605:abc0::/32", "16436"}, + {"2804:7b10::/32", "271408"}, + {"2a00:8740:100::/48", "49037"}, + {"2a01:b160::/32", "50064"}, + {"2a06:6280::/29", "209390"}, + {"2a0e:dc0:3::/44", "63473"}, + {"2001:67c:768::/48", "210103"}, + {"2402:800:36d3::/44", "7552"}, + {"240a:a330::/32", "143466"}, + {"2404:bf40:ec02::/38", "139084"}, + {"2404:f4c0:fd00::/47", "131171"}, + {"2408:84f3:e410::/42", "134543"}, + {"240a:ae9e::/32", "146392"}, + {"2600:140b:3c01::/33", "20940"}, + {"2a0e:a900::/29", "208981"}, + {"240e:983:1901::/40", "4134"}, + {"2606:ae00:62a0::/37", "7287"}, + {"2804:18:18d0::/42", "10429"}, + {"2804:7aa0::/32", "271382"}, + {"2402:1200:9::/43", "24523"}, + {"2402:7481::/32", "134809"}, + {"240a:a44b::/32", "143749"}, + {"2a00:c8c0::/47", "44964"}, + {"2a07:4300:1610::/48", "209622"}, + {"2a07:dc40::/32", "34629"}, + {"2409:8002:1900::/37", "9808"}, + {"2409:896a:6300::/37", "9808"}, + {"2604:7fc0::/32", "17017"}, + {"2606:9280::/32", "30035"}, + {"2806:322:1500::/34", "28546"}, + {"2a00:8a01:8010::/44", "18666"}, + {"2401:4900:5070::/40", "45609"}, + {"240e:37f:2600::/32", "4134"}, + {"2804:574:4000::/32", "53013"}, + {"2804:3e50:8000::/36", "266587"}, + {"2001:43f8:df0::/47", "3970"}, + {"2401:47c0:1900::/38", "41095"}, + {"2409:8000:2800::/40", "56048"}, + {"2a02:2698:6400::/38", "56420"}, + {"2a0f:c084::/32", "199669"}, + {"2001:559:c042::/48", "33491"}, + {"2400:4620::/32", "149187"}, + {"2409:8004:3041::/43", "24547"}, + {"2600:370e:7000::/43", "32261"}, + {"2800:160:1d84::/44", "14259"}, + {"2804:22b4::/40", "264117"}, + {"2a01:6140::/32", "51164"}, + {"2a0d:7680::/29", "206576"}, + {"2a0d:e400::/32", "60363"}, + {"2001:44b8:2040::/47", "7545"}, + {"2401:7000:b000::/33", "45177"}, + {"2404:bf40:8002::/45", "7545"}, + {"2408:8256:3b69::/48", "17816"}, + {"2a07:3502:1120::/48", "21286"}, + {"2a0e:77c0:2099::/48", "213281"}, + {"2001:559:c296::/47", "7015"}, + {"2409:8057:380a::/45", "56040"}, + {"240a:adbe::/32", "146168"}, + {"2a02:26f0:1600::/48", "34164"}, + {"2a02:26f7:ce::/48", "36183"}, + {"2a02:d107:e002::/35", "197155"}, + {"2c0f:f5c0:3::/39", "29465"}, + {"2001:559:8687::/48", "33657"}, + {"2620:f0:4005::/44", "394699"}, + {"2804:cfc::/32", "262887"}, + {"2804:2144:8800::/34", "52795"}, + {"2a10:5fc0::/29", "213373"}, + {"2001:df6:1580::/48", "141745"}, + {"240a:a31c::/32", "143446"}, + {"240a:a391::/32", "143563"}, + {"2604:a400:b000::/33", "11320"}, + {"2804:5bdc:4::/32", "268873"}, + {"2a01:55e0::/30", "199938"}, + {"2a02:970:1012::/44", "44002"}, + {"2a02:5320:500::/40", "12189"}, + {"2a03:90c0:4a0::/41", "199524"}, + {"2a04:be20::/30", "47258"}, + {"2401:d800:50f0::/39", "7552"}, + {"2409:8907:6c20::/39", "24547"}, + {"2600:6c10:f099::/45", "20115"}, + {"2804:425c::/32", "267495"}, + {"2a0e:a380::/29", "207902"}, + {"2604:4e80::/32", "39964"}, + {"2804:765c::/32", "271106"}, + {"2001:550:90e::/38", "174"}, + {"2001:67c:294::/48", "47167"}, + {"2001:df1:4480::/48", "135986"}, + {"2001:c38:904b::/43", "9931"}, + {"2606:b840::/32", "397906"}, + {"2a0e:6902:2000::/36", "57695"}, + {"2401:4900:1c00::/46", "24560"}, + {"2408:8459:3210::/41", "17623"}, + {"2620:171:bb::/48", "42"}, + {"2804:2128::/32", "264539"}, + {"2a00:10c0::/32", "8758"}, + {"2001:dea:4001::/48", "7615"}, + {"2402:9500::/36", "55720"}, + {"2404:bf40:8501::/42", "139084"}, + {"2602:ffe4:c44::/47", "21859"}, + {"2800:d302:24::/46", "11830"}, + {"2803:d100:edc0::/38", "52362"}, + {"2409:8055:34::/48", "9808"}, + {"2a03:ac0::/32", "2128"}, + {"2001:678:510::/48", "42060"}, + {"2001:df4:6080::/48", "140967"}, + {"2401:3c00::/43", "38322"}, + {"2408:8459:1c30::/41", "17622"}, + {"240a:a9c4::/32", "145150"}, + {"2800:bf0:a0::/45", "52257"}, + {"2001:6d0:ffd8::/48", "8985"}, + {"2001:c20:48a2::/48", "9255"}, + {"2620:13e:7000::/47", "62621"}, + {"2a02:e981:1::/42", "19551"}, + {"2a09:ec00::/29", "39392"}, + {"240a:a78c::/32", "144582"}, + {"2603:803d::/32", "20001"}, + {"2604:4000:4000::/48", "32491"}, + {"2606:ab80::/32", "36001"}, + {"2804:2e8:a::/42", "262847"}, + {"2a0a:f640::/32", "213155"}, + {"2001:250:212::/48", "24349"}, + {"2001:559:86f9::/48", "33287"}, + {"2001:67c:2018::/48", "204296"}, + {"2408:8459:7610::/42", "17623"}, + {"2408:8656:2d00::/38", "17816"}, + {"2604:f80:3::/45", "22458"}, + {"2605:3dc0::/48", "397952"}, + {"2610:a0:4::/43", "7786"}, + {"2800:bf0:2a08::/42", "27947"}, + {"2804:36c4::/32", "266370"}, + {"2804:4ad8::/32", "267267"}, + {"2804:7bc8::/32", "271454"}, + {"2a01:5a8:9::/32", "8866"}, + {"2a05:96c0::/29", "47886"}, + {"2001:470:a5::/43", "6939"}, + {"2403:7f40:e001::/48", "57401"}, + {"240e:37f::/35", "140329"}, + {"2a09:2884::/48", "202316"}, + {"2001:250:7033::/48", "23910"}, + {"2001:559:85de::/48", "7015"}, + {"2804:745c::/32", "270976"}, + {"2a01:7d20:500::/40", "203645"}, + {"2409:8914:9a00::/40", "56044"}, + {"2600:6c20:e02::/45", "20115"}, + {"2604:d600:15ce::/43", "32098"}, + {"2804:2b2c::/32", "265139"}, + {"2804:713c::/32", "270776"}, + {"2a0b:2280::/32", "32931"}, + {"2001:44b8:308a::/45", "7545"}, + {"2a10:d580::/29", "51809"}, + {"2001:da8:b802::/48", "23910"}, + {"2610:a1:3058::/48", "12008"}, + {"2620:149:ae6::/48", "6185"}, + {"2a0e:97c6:d7::/44", "20473"}, + {"2604:d600:100d::/43", "32098"}, + {"2804:2388::/32", "264168"}, + {"2a0c:9a40:808e::/48", "60404"}, + {"2406:3000:11::/51", "4657"}, + {"240e:651:4000::/26", "4134"}, + {"2804:55fc::/32", "267969"}, + {"2a00:1e88:9::/32", "12389"}, + {"2a02:470::/32", "42303"}, + {"2c0f:f4a8:4000::/32", "37254"}, + {"2001:559:86d2::/47", "397601"}, + {"2001:4200:3401::/33", "2018"}, + {"240a:abeb::/32", "145701"}, + {"240a:afe0::/32", "146714"}, + {"2602:fc97:20::/44", "399544"}, + {"2a02:26f7:e10d::/42", "20940"}, + {"2a02:26f7:f408::/48", "36183"}, + {"2a05:4e40::/32", "49808"}, + {"2a06:1280:1000::/36", "44570"}, + {"2620:13a:5000::/44", "19755"}, + {"2806:2f0:10a3::/43", "17072"}, + {"2a0b:6b86:a00::/40", "200365"}, + {"2001:678:8fc::/48", "209520"}, + {"2408:80ea:75e0::/43", "17623"}, + {"240e:470::/32", "4134"}, + {"2001:520:1052::/48", "8103"}, + {"2001:df7:4b80::/48", "138754"}, + {"2404:b000:1000::/32", "4826"}, + {"2404:f4c0:a012::/37", "210320"}, + {"2408:8957:3b00::/40", "17816"}, + {"240a:a96f::/32", "145065"}, + {"2a00:5720::/32", "61015"}, + {"2a00:79e1:abc::/46", "36384"}, + {"2a00:a960::/32", "200161"}, + {"2a04:a500:1337::/48", "20769"}, + {"2a11:1d00::/29", "210983"}, + {"2001:df3:f900::/48", "137422"}, + {"2409:8914:a000::/39", "56044"}, + {"2803:22a0::/32", "266853"}, + {"2a00:f80::/38", "25542"}, + {"2a02:4880::/32", "12630"}, + {"2001:2092::/32", "3308"}, + {"2804:2d64::/32", "265279"}, + {"2a02:26f7:f7c0::/48", "36183"}, + {"2001:1248:9a7f::/40", "11172"}, + {"240a:a703::/32", "144445"}, + {"2a03:660::/32", "60117"}, + {"2a05:4100::/29", "204272"}, + {"2401:4900:6130::/41", "45609"}, + {"2600:1416:e000::/48", "25019"}, + {"2600:9000:113e::/41", "16509"}, + {"2607:a000::/32", "22799"}, + {"2620:1ec:1e::/42", "8075"}, + {"2804:52ac::/32", "268533"}, + {"2a00:1ca8:89::/48", "204963"}, + {"2a01:e35::/28", "12322"}, + {"2001:44b8:4056::/48", "7545"}, + {"2402:6940:1202::/37", "7645"}, + {"2806:36c::/32", "265615"}, + {"2a06:2d40::/47", "20473"}, + {"2001:559:8202::/48", "33667"}, + {"2001:559:c07c::/47", "33651"}, + {"2401:7140::/32", "136781"}, + {"2404:138:4004::/48", "9431"}, + {"2803:6900:1503::/48", "52423"}, + {"2804:33e4:200::/40", "265423"}, + {"2a01:8840:d6::/44", "12041"}, + {"2001:250:1408::/46", "24354"}, + {"2001:c20:48cc::/43", "9255"}, + {"240a:abd7::/32", "145681"}, + {"2604:2c80::/32", "6591"}, + {"2a10:ec0::/29", "207048"}, + {"2001:559:332::/47", "33650"}, + {"2001:dce:2::/48", "133745"}, + {"240e:6:d800::/44", "139721"}, + {"2602:107:2110::/48", "20115"}, + {"2804:50:2000::/32", "15830"}, + {"2401:4900:5d10::/41", "45609"}, + {"2402:800:93b7::/41", "7552"}, + {"2600:5c01:e0b::/35", "10796"}, + {"2607:ff38::/46", "22937"}, + {"2800:d302:15::/46", "11830"}, + {"2408:8756:2cf1::/46", "135061"}, + {"2620:aa:4000::/48", "26716"}, + {"2804:2d4:400::/38", "28244"}, + {"2600:8807:1fa2::/34", "22773"}, + {"2800:160:1769::/45", "14259"}, + {"2803:1a00:5413::/32", "262186"}, + {"2804:800::/32", "16509"}, + {"2a00:4802:2e0::/44", "13124"}, + {"2a02:26f0:d401::/40", "20940"}, + {"2a05:18c0::/29", "3257"}, + {"2001:ee0:e100::/40", "45899"}, + {"2603:c002:2010::/40", "31898"}, + {"2a02:26f7:ed09::/42", "20940"}, + {"2a0e:2c0::/29", "47755"}, + {"2402:bb00::/32", "23627"}, + {"2409:8948:8f00::/40", "24445"}, + {"240e:934::/28", "4134"}, + {"2a01:550::/32", "42579"}, + {"2001:559:136::/48", "33657"}, + {"2001:559:846d::/48", "7922"}, + {"2400:7400:e019::/48", "23736"}, + {"2400:8500:cbbd::/48", "7506"}, + {"2408:8459:410::/41", "17622"}, + {"2603:ff38::/29", "63023"}, + {"2803:5c80:5051::/46", "64114"}, + {"2409:8914:9b00::/40", "56044"}, + {"2a0a:9e00:a::/29", "61317"}, + {"2a0e:fd45:40f9::/48", "44103"}, + {"2602:feb4:1d0::/44", "25961"}, + {"2a03:9400::/48", "41938"}, + {"2404:cc00:2223::/32", "24441"}, + {"2600:370f:40a4::/46", "32261"}, + {"2a00:6060::/33", "60983"}, + {"2a04:f580:9010::/48", "4809"}, + {"2a05:7f80::/29", "201213"}, + {"2402:9e80:50::/48", "139058"}, + {"240a:a425::/32", "143711"}, + {"2602:ffdf:300::/40", "25851"}, + {"2602:fff6:6::/48", "8100"}, + {"2605:9d80:9052::/48", "4809"}, + {"2605:b100:1000::/39", "577"}, + {"2800:9a0:3100::/30", "14522"}, + {"2a03:3a40::/47", "199629"}, + {"2a11:11c0::/29", "56485"}, + {"2001:579:b114::/44", "22773"}, + {"2404:a640:13a::/32", "133827"}, + {"2620:34:e000::/48", "11195"}, + {"2804:9e0::/32", "262999"}, + {"2001:13b0:8016::/35", "3549"}, + {"2a0f:5701:3521::/48", "206499"}, + {"2001:678:8ec::/48", "41549"}, + {"2001:1248:9e22::/47", "11172"}, + {"2400:5300:3::/45", "45815"}, + {"2401:d800:5940::/42", "7552"}, + {"2620:13d:f000::/46", "22711"}, + {"2804:2ef4::/32", "264863"}, + {"2001:e60:87b8::/35", "4766"}, + {"2001:1248:5798::/42", "11172"}, + {"2401:f000:6::/48", "23838"}, + {"2a0e:5f00::/29", "47787"}, + {"2404:c0::/34", "23693"}, + {"240e:3b4:c800::/37", "4134"}, + {"2602:ff82::/48", "3064"}, + {"2804:7774::/32", "271179"}, + {"2600:8807:1f62::/40", "22773"}, + {"2800:160:1e51::/45", "14259"}, + {"2804:ef4:8004::/33", "28642"}, + {"2804:30d4::/32", "264975"}, + {"2804:6850::/32", "269684"}, + {"2806:267:1300::/37", "13999"}, + {"2a04:a580::/29", "12874"}, + {"2a0c:6a41:f231::/29", "30823"}, + {"2001:559:8358::/48", "21508"}, + {"2001:df5:1e80::/48", "137650"}, + {"240e:ff:c00a::/48", "134774"}, + {"2804:66c8::/33", "269582"}, + {"2a00:b840::/47", "31472"}, + {"2a0a:7e40:3::/29", "206056"}, + {"2406:9f40::/32", "133480"}, + {"2600:1488:6083::/41", "20940"}, + {"2804:2cac:eeef::/35", "265234"}, + {"2804:4fec::/32", "268358"}, + {"2001:fb1::/39", "17552"}, + {"2405:8500::/32", "55898"}, + {"2803:9400::/32", "27839"}, + {"2a0c:2480::/29", "201372"}, + {"2001:320::/32", "1237"}, + {"2001:67c:27f0::/48", "198650"}, + {"2408:80ea:6380::/41", "17622"}, + {"2409:806c:100::/35", "9808"}, + {"2607:b100::/32", "40555"}, + {"2804:2374::/32", "264163"}, + {"2806:10b7:2::/47", "8151"}, + {"2a00:1850:2a1::/48", "29357"}, + {"2a02:26f7:f248::/48", "36183"}, + {"2a0f:dfc0::/32", "60781"}, + {"2606:a000:3000::/36", "11955"}, + {"2a00:fb8:4d00::/34", "8881"}, + {"2a0a:5980::/29", "49544"}, + {"2001:559:7d8::/47", "7922"}, + {"240e:30d:5600::/30", "4134"}, + {"2801:12a::/48", "19429"}, + {"2a00:bec7:10::/47", "12946"}, + {"2001:1810:3000::/33", "30447"}, + {"2403:1cc0:1128::/48", "45352"}, + {"2803:c540::/32", "28049"}, + {"2a02:5ac0::/33", "48424"}, + {"2001:fd8::/41", "4775"}, + {"2403:27c0:1000::/48", "7586"}, + {"2a02:cb80:4240::/44", "43766"}, + {"2a03:7540:223::/33", "44406"}, + {"2a0a:3507:1::/48", "203038"}, + {"240a:a41a::/32", "143700"}, + {"2806:2f0:72e1::/46", "17072"}, + {"2a06:3000:2000::/29", "28715"}, + {"2a07:a905:ffe5::/44", "46261"}, + {"2001:df7:ec00::/48", "7575"}, + {"2001:19f0:4000::/37", "20473"}, + {"2400:cb00:a540::/46", "13335"}, + {"2407:a180::/47", "131758"}, + {"2600:6000:f0cc::/37", "12271"}, + {"2604:8200:1400::/38", "23089"}, + {"2804:1bbc::/32", "61746"}, + {"2a0a:a7c0::/29", "50966"}, + {"2a0b:7b00::/29", "206593"}, + {"2a0f:7540::/48", "49239"}, + {"2001:678:a50::/48", "24971"}, + {"240a:ab68::/32", "145570"}, + {"2a03:ae40:ff00::/40", "56511"}, + {"2c0f:fda8::/32", "37349"}, + {"2605:a400::/31", "33363"}, + {"2a0b:adc0::/29", "205243"}, + {"2401:10c0::/32", "131717"}, + {"2402:b400:4628::/32", "45960"}, + {"2605:e300::/32", "5009"}, + {"2607:f778:b100::/33", "32035"}, + {"2001:938:4044::/43", "8437"}, + {"2001:df1:cd00::/48", "135425"}, + {"2402:800:387f::/40", "7552"}, + {"2605:e200::/32", "18451"}, + {"2620:1ec:28::/47", "8068"}, + {"2803:1100::/32", "60022"}, + {"2804:4844::/32", "267108"}, + {"2804:6670::/32", "269558"}, + {"2001:43a8::/32", "22351"}, + {"2401:d800:5680::/42", "7552"}, + {"2a02:26f7:db10::/48", "36183"}, + {"2a02:c0c0::/29", "25520"}, + {"2806:261:418::/40", "13999"}, + {"2a02:26f7:b688::/48", "36183"}, + {"2a04:2e80:8::/48", "25106"}, + {"2a04:4e40:9800::/48", "54113"}, + {"2001:559:26c::/48", "33660"}, + {"2401:f040::/32", "45828"}, + {"2605:af00::/32", "21782"}, + {"2620:32:c000::/44", "53869"}, + {"2800:160:1fda::/42", "14259"}, + {"2001:67c:8ac::/48", "43183"}, + {"2408:8456:6840::/39", "17816"}, + {"2408:84f3:f820::/43", "17816"}, + {"240a:ac38::/32", "145778"}, + {"2806:2f0:50c3::/42", "17072"}, + {"2a05:1083:fec0::/44", "209870"}, + {"2001:67c:728::/48", "198837"}, + {"2001:df0:2400::/48", "7713"}, + {"2409:805c::/46", "9808"}, + {"2600:370f:74e5::/43", "32261"}, + {"2804:e28::/40", "52547"}, + {"2a02:ee80:420d::/46", "3573"}, + {"2001:57a:501::/46", "22773"}, + {"2400:cb00:a570::/47", "13335"}, + {"2408:8256:2d97::/44", "17623"}, + {"2620:115:40ff::/48", "3145"}, + {"2804:14c:f285::/44", "28573"}, + {"2a0c:e643:babe::/48", "213316"}, + {"2409:8069:2b08::/40", "9808"}, + {"2600:6c20:220::/41", "20115"}, + {"2620:10d:d004::/47", "15101"}, + {"2800:490:c000::/36", "27951"}, + {"2a02:26f0:cf00::/48", "34164"}, + {"2a02:26f7:ce88::/48", "36183"}, + {"2804:3d90:8103::/33", "266539"}, + {"2a00:f0e0:41::/42", "198499"}, + {"2001:df1:800::/48", "59253"}, + {"240a:ab40::/32", "145530"}, + {"2804:1648::/32", "263278"}, + {"240a:a9ac::/32", "145126"}, + {"2602:fcd3:100::/48", "212934"}, + {"2602:feb4:b0::/44", "25961"}, + {"2a02:6620:2::/48", "47478"}, + {"2a0c:b641:650::/48", "212963"}, + {"2001:648:2300::/46", "8248"}, + {"2605:3f40::/32", "15054"}, + {"2804:738::/32", "53153"}, + {"2a09:c5c0::/32", "205718"}, + {"2a0a:6040:407e::/48", "209870"}, + {"2001:df6:8100::/47", "137670"}, + {"240e:438:2e40::/35", "4134"}, + {"2600:80a:422::/48", "55228"}, + {"2602:feda:adf::/48", "140362"}, + {"2606:ae80:1c40::/44", "25751"}, + {"2620:8f:4001::/48", "293"}, + {"2800:bf0:3bc0::/48", "52257"}, + {"2a02:2370:f000::/48", "32787"}, + {"2401:880::/32", "45630"}, + {"2403:e840:8000::/33", "141768"}, + {"2405:8a00:203a::/41", "55824"}, + {"2409:8d35::/28", "9808"}, + {"2600:1007:9010::/40", "22394"}, + {"2607:2c00::/32", "14265"}, + {"2001:559:844c::/48", "7016"}, + {"2400:cb00:a742::/45", "13335"}, + {"2604:8200:5::/48", "23089"}, + {"2804:490:8600::/40", "265705"}, + {"2a01:6480:20::/48", "29049"}, + {"2001:678:770::/48", "201836"}, + {"2407:8100:3::/48", "58436"}, + {"240a:a2cb::/32", "143365"}, + {"240e:267:8000::/38", "140336"}, + {"2607:f740:e635::/44", "63911"}, + {"2804:3180::/38", "265019"}, + {"2a02:26f7:da04::/48", "36183"}, + {"2001:250:6808::/48", "138373"}, + {"2607:ff00:900::/40", "46385"}, + {"2620:a0:4001:1::/46", "55064"}, + {"2a00:f600::/32", "34946"}, + {"2001:678:ecc::/48", "25304"}, + {"2001:559:3b4::/48", "7015"}, + {"2401:8a40:54::/44", "45326"}, + {"2a02:26f7:bf91::/42", "20940"}, + {"2a04:7d00::/29", "3209"}, + {"2a09:4c2:4b::/29", "58057"}, + {"2a0e:97c3:5a7::/48", "20473"}, + {"2a11:5900::/29", "211199"}, + {"2407:5600::/32", "45186"}, + {"2620:134:6004::/47", "397726"}, + {"2804:5524::/32", "268692"}, + {"2806:2f0:6183::/42", "17072"}, + {"2a01:9aa0::/32", "200999"}, + {"2c0f:ef18::/34", "328266"}, + {"2001:df1:1d00::/48", "136547"}, + {"2001:df2:c100::/48", "55306"}, + {"2803:2a01:8400::/48", "27895"}, + {"2804:640:102::/43", "262713"}, + {"2804:3268:9003::/33", "265076"}, + {"2a02:26f7:c0c5::/46", "20940"}, + {"2a04:4e40:1220::/44", "54113"}, + {"2a0e:97c0:2ea::/48", "211544"}, + {"2001:510:303::/45", "376"}, + {"2001:67c:89c::/48", "210731"}, + {"2600:1901:bdd0::/44", "396982"}, + {"2804:8604::/35", "272614"}, + {"2a03:720:19::/32", "57073"}, + {"2402:2000:6001::/35", "24350"}, + {"240a:3:bcc::/48", "9605"}, + {"2600:1407:17::/48", "35994"}, + {"2803:9800:b8ce::/47", "11664"}, + {"2804:85ac::/32", "272594"}, + {"2a06:40c0::/29", "201933"}, + {"2409:8028:8f0::/48", "9808"}, + {"240a:a31b::/32", "143445"}, + {"2804:1214::/32", "263455"}, + {"2a00:1558::/32", "29311"}, + {"2001:44c8::/39", "45430"}, + {"2400:c700:181::/45", "55644"}, + {"2402:800:570f::/43", "7552"}, + {"2409:8904:4c60::/39", "24547"}, + {"240e:267:3000::/38", "140331"}, + {"2600:c04:1024::/32", "10912"}, + {"2800:440:9000::/42", "27738"}, + {"2804:43f4::/42", "267601"}, + {"2a07:a347::/32", "47447"}, + {"2a09:7100::/29", "20676"}, + {"2001:df5::/48", "58869"}, + {"2804:4670::/32", "266989"}, + {"2a02:4540::/41", "197207"}, + {"2a07:e380::/29", "203561"}, + {"2a0e:b107:5d0::/42", "20473"}, + {"2001:1260:400::/40", "28532"}, + {"2001:4c90::/29", "35612"}, + {"240e:966:e400::/39", "133775"}, + {"2620:12f:2000::/40", "32726"}, + {"2620:171:df::/48", "715"}, + {"2804:393c::/32", "266020"}, + {"2c0f:fe08:105::/43", "36914"}, + {"2600:6c10:9e::/42", "20115"}, + {"2804:1ea0::/32", "264440"}, + {"2001:5a0:3604::/36", "6453"}, + {"2001:67c:2308::/48", "39538"}, + {"240a:a334::/32", "143470"}, + {"240a:ad0f::/32", "145993"}, + {"2604:e200::/32", "40237"}, + {"2a02:26f7:f005::/46", "20940"}, + {"2001:4d0:241c::/33", "297"}, + {"2001:559:29::/48", "33660"}, + {"2001:559:858f::/48", "33651"}, + {"2001:1900:2268::/48", "10753"}, + {"2600:3001:1111::/30", "13649"}, + {"2600:6c10:11f::/41", "20115"}, + {"2a09:50c0::/48", "34775"}, + {"2a00:1e70::/30", "50858"}, + {"2a01:7080:17::/42", "42848"}, + {"2a02:26f0:4a01::/40", "20940"}, + {"2001:559:c502::/48", "7015"}, + {"2001:948:40::/43", "39590"}, + {"2401:5f40::/32", "38004"}, + {"2402:7800::/38", "4826"}, + {"2804:523c::/32", "268504"}, + {"2001:da8:a805::/44", "24370"}, + {"2405:5e00::/32", "3257"}, + {"2408:8001:3010::/44", "17622"}, + {"2602:ff96:12::/48", "40676"}, + {"2803:1860:1000::/39", "267823"}, + {"2a0e:da40:140::/44", "147173"}, + {"2001:559:83e5::/48", "33668"}, + {"2001:df0:5e00::/48", "135046"}, + {"2001:4130:50f1::/48", "29067"}, + {"2a0e:6a80::/29", "44486"}, + {"2001:df0:4940::/48", "58965"}, + {"2405:9800:b41d::/48", "133481"}, + {"2620:51:a000::/48", "395730"}, + {"2804:814c::/32", "272445"}, + {"2a05:8e40::/29", "198710"}, + {"2a0b:4580::/32", "20860"}, + {"240a:a5cd::/32", "144135"}, + {"2620:0:2b30::/44", "50"}, + {"2800:160:199b::/45", "14259"}, + {"2804:700c::/32", "270703"}, + {"2806:20d:5025::/44", "32098"}, + {"2001:678:630::/48", "197574"}, + {"2001:df6:c880::/48", "136906"}, + {"240a:a00e::/32", "142664"}, + {"2604:d600:c14::/44", "32098"}, + {"2a00:e460::/32", "62251"}, + {"2a02:26f0:e401::/39", "20940"}, + {"240a:a795::/32", "144591"}, + {"2a00:65c0:2::/32", "25156"}, + {"2001:559:5e1::/46", "22909"}, + {"2001:559:c4f0::/48", "20214"}, + {"2001:128c::/37", "25933"}, + {"2408:8459:9850::/38", "17816"}, + {"2a03:e140:32::/48", "48327"}, + {"2001:559:86db::/48", "33660"}, + {"2001:559:c347::/48", "33651"}, + {"2001:e60:a888::/33", "4766"}, + {"2402:800:78b0::/39", "7552"}, + {"2404:2280:10d::/48", "24429"}, + {"240a:aa78::/32", "145330"}, + {"240e:85:8000::/37", "137691"}, + {"2600:6000:fd84::/38", "12271"}, + {"2604:d600:685::/44", "32098"}, + {"2620:123:5000::/40", "16519"}, + {"2801:120::/32", "27790"}, + {"2001:44b8:4055::/48", "4739"}, + {"2406:3003:3050::/32", "4657"}, + {"2406:e1c0::/45", "141459"}, + {"240e:838:10::/42", "4134"}, + {"2a01:8840:e1::/48", "207266"}, + {"2001:559:8243::/48", "33659"}, + {"2603:90b5::/32", "11955"}, + {"2804:3d5c::/32", "266526"}, + {"2804:59a4::/32", "268715"}, + {"2a04:880:afff::/29", "43623"}, + {"2001:250:5873::/48", "24363"}, + {"2001:559:312::/48", "33287"}, + {"2404:bf40:a542::/42", "139084"}, + {"2600:1406:33::/48", "35994"}, + {"2804:6908:2000::/38", "270244"}, + {"2a05:4540::/29", "35041"}, + {"2a05:e740:162::/48", "29108"}, + {"2a07:6d80::/29", "59891"}, + {"2a0e:b107:13c0::/44", "211242"}, + {"240a:a62f::/32", "144233"}, + {"2602:fc23:14::/48", "38308"}, + {"2607:f5b5::/46", "7203"}, + {"2804:1024::/32", "263620"}, + {"2804:4cf8::/35", "267404"}, + {"2a02:26f7:e511::/46", "20940"}, + {"2a10:b9c0::/32", "211623"}, + {"2001:1b18::/32", "21385"}, + {"2409:8054:68::/48", "9808"}, + {"240e:44d:7680::/41", "4134"}, + {"2600:9000:11a5::/43", "16509"}, + {"2a06:9500::/45", "204028"}, + {"2401:c500:fd06::/44", "54994"}, + {"2404:3d00:400::/40", "21433"}, + {"240e:3b8:2200::/37", "136198"}, + {"2600:1008:b130::/44", "22394"}, + {"2a04:9a00:1110::/46", "208153"}, + {"2001:559:8077::/48", "20214"}, + {"2001:df6:3380::/48", "141884"}, + {"2408:8957:7c00::/40", "17622"}, + {"2606:5580:2::/38", "63242"}, + {"2607:f6f0:a000::/46", "16553"}, + {"2a0a:a3c0:b0::/44", "3320"}, + {"2001:1a68:19::/46", "57367"}, + {"2407:7a00::/32", "24187"}, + {"2602:ffce::/42", "63019"}, + {"2a02:26f7:bcc4::/48", "36183"}, + {"2a03:5a00:3d::/48", "200503"}, + {"2406:840:e1ec::/48", "141237"}, + {"2604:cd00::/32", "7352"}, + {"2803:6900:533::/45", "52423"}, + {"2001:559:52c::/48", "7016"}, + {"2001:678:c14::/48", "5588"}, + {"2001:448a:5150::/34", "7713"}, + {"240e:438:4420::/43", "140647"}, + {"2a00:1be0::/32", "21034"}, + {"2a03:a4e0::/40", "50304"}, + {"2001:559:1de::/47", "33651"}, + {"2001:18c8:700::/41", "18982"}, + {"2401:b780:5004::/44", "45410"}, + {"240e:438:7240::/37", "4134"}, + {"2a04:100:3000::/29", "49223"}, + {"2a04:c100::/29", "210625"}, + {"2402:8100:2550::/44", "55644"}, + {"2800:484:c100::/40", "10620"}, + {"2a00:11c0:df::/48", "42473"}, + {"2a01:a000::/32", "47474"}, + {"2001:e48:44:5::/46", "9583"}, + {"2405:b40:707::/32", "55674"}, + {"2405:9800:b500::/38", "133481"}, + {"2408:8956:2840::/40", "17622"}, + {"2620:11:e000::/48", "33496"}, + {"2804:3d28:9::/48", "262664"}, + {"2a02:26f7:cb80::/48", "36183"}, + {"2001:1221::/48", "28496"}, + {"2400:d400:1008::/48", "45671"}, + {"2001:df0:a900::/48", "45701"}, + {"2403:a3c0:4::/32", "131600"}, + {"2408:80f1:160::/43", "138421"}, + {"2600:1f18::/33", "14618"}, + {"2a00:6901:1005::/48", "20926"}, + {"2a02:2ae8:8110::/33", "702"}, + {"2001:678:5c0::/48", "206883"}, + {"2404:0:5ffa::/45", "24154"}, + {"2405:6e00:240::/40", "133612"}, + {"2a04:b80:1::/48", "42160"}, + {"2001:250:3427::/48", "138438"}, + {"2605:6440:5004::/34", "396356"}, + {"2001:559:c2df::/48", "33491"}, + {"2001:67c:13d4::/48", "51496"}, + {"2a02:26f7:f3c4::/48", "36183"}, + {"2606:2800:401c::/48", "14153"}, + {"2400:7400:63::/48", "23736"}, + {"2404:ae00:17::/44", "45474"}, + {"240a:a56f::/32", "144041"}, + {"2602:fc52:356::/48", "399888"}, + {"2607:fc28:9000::/33", "22911"}, + {"2804:6540::/32", "269478"}, + {"2a02:26f0:9c01::/39", "20940"}, + {"2a0d:4280::/29", "204630"}, + {"2001:559:80a3::/48", "33668"}, + {"2001:da8:21b::/48", "23910"}, + {"2001:da8:5000::/45", "24360"}, + {"2001:4cc8::/31", "31246"}, + {"2400:a980:f00::/40", "133111"}, + {"2607:9b80:420::/39", "46558"}, + {"2a04:b880::/48", "43578"}, + {"2a05:3580:fc00::/29", "35807"}, + {"2001:559:82a0::/48", "7922"}, + {"2604:d600:914::/44", "32098"}, + {"2606:8fc0::/32", "17234"}, + {"2001:559:3da::/48", "7016"}, + {"2605:dd40:8580::/36", "398549"}, + {"2620:13b::/48", "7034"}, + {"2804:250c:c400::/34", "264255"}, + {"2806:230:3019::/48", "11888"}, + {"2401:7400::/38", "4773"}, + {"2600:1480:8000::/40", "33905"}, + {"2804:204:222::/47", "28186"}, + {"2806:230:4036::/48", "265594"}, + {"2a00:f826:8::/48", "200462"}, + {"2001:938:4027::/44", "8437"}, + {"2404:6380:8001::/48", "18257"}, + {"2408:8256:327c::/48", "17816"}, + {"2804:2af4::/32", "265127"}, + {"2804:2d04::/32", "265257"}, + {"2806:2a0:8f1::/44", "28548"}, + {"2001:559:c20c::/48", "13367"}, + {"2408:840d:6a00::/42", "17621"}, + {"240c:ca21::/32", "24363"}, + {"2a0e:8840::/29", "48627"}, + {"2620:192:3::/36", "6461"}, + {"2804:79f0::/32", "271337"}, + {"2a02:f2c0::/29", "208704"}, + {"2001:1ba8::/29", "50821"}, + {"2401:c5c0:dfb::/45", "55492"}, + {"240a:a4da::/32", "143892"}, + {"2607:fd48:3000:100::/32", "13536"}, + {"2401:d800:b7d0::/36", "7552"}, + {"2806:3d4::/32", "265586"}, + {"2a02:6ea0:1300::/40", "212238"}, + {"2001:388:406d::/35", "7575"}, + {"2001:559:c3d4::/48", "7015"}, + {"2001:67c:2178::/48", "29298"}, + {"2405:9800:f010::/36", "45430"}, + {"240a:aa2b::/32", "145253"}, + {"2405:1c0:6141::/46", "55303"}, + {"2803:5180::/32", "263762"}, + {"2a02:b50:4013::/48", "393954"}, + {"2a02:26f7:f681::/46", "20940"}, + {"2a0c:6d00:85::/48", "3218"}, + {"240a:a39d::/32", "143575"}, + {"240a:af39::/32", "146547"}, + {"2a00:1a28:1157::/48", "63473"}, + {"2a07:59c6:ee00::/40", "56382"}, + {"2a10:5d00::/29", "208256"}, + {"2a10:c941:10:b::/61", "35277"}, + {"240a:a5fc::/32", "144182"}, + {"240a:ad3d::/32", "146039"}, + {"2801::/48", "52224"}, + {"2801:16:a800::/48", "27817"}, + {"2606:a600:5000::/34", "23005"}, + {"2a00:9400::/32", "52063"}, + {"2a03:7080::/32", "25387"}, + {"2001:678:688::/48", "8283"}, + {"2001:df0:b500::/47", "61327"}, + {"240a:a9e2::/32", "145180"}, + {"240a:adf3::/32", "146221"}, + {"2804:6c0:800::/43", "262418"}, + {"2001:559:80da::/47", "33287"}, + {"2800:2b0::/32", "14232"}, + {"2804:3924::/32", "266014"}, + {"2804:4ae4:1244::/32", "267270"}, + {"2a06:a000:1e2::/48", "206804"}, + {"2a0f:3680::/32", "211476"}, + {"2001:4178::/29", "15456"}, + {"2600:1402:1401::/36", "20940"}, + {"2804:20dc:b000::/33", "264517"}, + {"2803:e600:7::/43", "18809"}, + {"2a02:26f7:eac9::/46", "20940"}, + {"2a02:e980:18d::/43", "19551"}, + {"2001:df7:c500::/48", "139943"}, + {"2408:8459:a030::/41", "17622"}, + {"2600:1011:f010::/39", "6167"}, + {"2602:107:1310::/48", "33363"}, + {"2804:1cf0::/32", "61684"}, + {"2804:3304::/32", "265111"}, + {"2a04:7d84::/32", "41110"}, + {"2a0c:b641:470::/44", "208029"}, + {"2a0d:4bc0::/29", "8888"}, + {"2001:559:c36e::/48", "7015"}, + {"2401:d800:59a0::/41", "7552"}, + {"2800:9f0::/32", "27845"}, + {"2600:7c00::/28", "15344"}, + {"2620:10a:b000::/47", "15297"}, + {"2a02:26f7:f389::/46", "20940"}, + {"2a09:8880::/36", "56690"}, + {"2a09:9340::/29", "209824"}, + {"2a0d:82c0::/31", "47787"}, + {"2001:520:1014::/47", "8103"}, + {"2001:559:720::/48", "21508"}, + {"2606:9a00::/32", "31845"}, + {"2804:14d:a281::/41", "28573"}, + {"2001:559:8478::/47", "7922"}, + {"2600:9000:2029::/45", "16509"}, + {"2604:af80:2848::/32", "18859"}, + {"2620:63:e000::/48", "13731"}, + {"2804:49fc::/32", "267212"}, + {"2a04:ac00:b::/48", "3180"}, + {"2a01:b140::/29", "24940"}, + {"2001:480:253::/48", "228"}, + {"2001:559:805f::/48", "7016"}, + {"2001:67c:12e0::/48", "206351"}, + {"2405:4cc0::/32", "139671"}, + {"2605:9780:1000::/40", "36180"}, + {"2605:dd40:8207::/44", "398549"}, + {"2620:149:14c::/46", "714"}, + {"2804:1efc:7000::/36", "264458"}, + {"2409:805c:2c00::/35", "9808"}, + {"240a:a708::/32", "144450"}, + {"240a:aa56::/32", "145296"}, + {"2606:c700::/33", "53850"}, + {"2607:fdf0:5e09::/43", "8008"}, + {"2a04:3640::/29", "49784"}, + {"2001:1388:8461::/44", "6147"}, + {"2403:5200::/32", "18049"}, + {"2600:5c01:2c0d::/39", "10796"}, + {"2610:130:200::/35", "6122"}, + {"2409:8051::/47", "56047"}, + {"240a:acb3::/32", "145901"}, + {"240e:108:11a1::/46", "4812"}, + {"2600:100d:be00::/44", "6167"}, + {"2804:70e0::/33", "270753"}, + {"2408:840c:8200::/40", "17621"}, + {"240e:18::/44", "4812"}, + {"2801:16e:2::/48", "19429"}, + {"2001:250:2824::/47", "23910"}, + {"2607:9b80:8000::/35", "46558"}, + {"2804:2c00::/32", "265187"}, + {"2804:63e8::/32", "269391"}, + {"2001:559:c1a3::/48", "33668"}, + {"2404:7e00::/32", "38493"}, + {"240a:ad44::/32", "146046"}, + {"2a01:358:4b11::/35", "9121"}, + {"2a0e:b107:bf0::/47", "140938"}, + {"2408:8459:aa10::/42", "17623"}, + {"2409:8087:1800::/39", "134810"}, + {"240a:71:8000::/35", "2497"}, + {"2605:f440:5652::/47", "50555"}, + {"2a01:270:e003::/36", "29657"}, + {"2a05:4143::/32", "212271"}, + {"2001:559:c1a2::/48", "33287"}, + {"2401:d800:5b0::/41", "7552"}, + {"2800:484:e500::/40", "10620"}, + {"2001:559:8463::/48", "33287"}, + {"2001:5b0:4ede::/35", "6621"}, + {"240a:a819::/32", "144723"}, + {"240a:a862::/32", "144796"}, + {"240c:6:4::/28", "45275"}, + {"240e:9b:f02d::/46", "140260"}, + {"2620:6c:40c0::/48", "32"}, + {"2804:2d80:d00d::/34", "262378"}, + {"2a0a:a2c0:2::/29", "205992"}, + {"2a0c:1940::/43", "60354"}, + {"2a0c:ffc0::/48", "57342"}, + {"2001:77c::/32", "5479"}, + {"2604:d600:15df::/42", "32098"}, + {"2804:29f0::/32", "264046"}, + {"2a0e:46c3:800::/40", "213392"}, + {"2001:559:c356::/47", "33287"}, + {"2001:18b8:a::/42", "29789"}, + {"2402:800:9963::/43", "7552"}, + {"2402:d000:8f01::/33", "9329"}, + {"2408:822a:a800::/31", "4837"}, + {"240a:afc5::/32", "146687"}, + {"2a05:1140::/29", "59890"}, + {"2001:da8:246::/48", "24349"}, + {"2a0f:380::/29", "206766"}, + {"2001:1520:a::/40", "8972"}, + {"2001:1a11:113::/45", "42298"}, + {"240e:e1:9700::/36", "4812"}, + {"2804:6674::/32", "269559"}, + {"2408:8459:e430::/41", "17622"}, + {"2a00:1358:df01::/34", "6866"}, + {"2a02:26f7:d1::/48", "20940"}, + {"2a02:2e02:30b0::/41", "12479"}, + {"2a03:db80:4814::/48", "60824"}, + {"2607:f180:5200::/34", "35908"}, + {"2620:103:e028::/47", "13893"}, + {"2803:d100:ec40::/42", "52362"}, + {"2a02:26f7:c010::/48", "36183"}, + {"2a02:26f7:c151::/42", "20940"}, + {"2001:13d8::/32", "3790"}, + {"2001:4de0:2102::/45", "33438"}, + {"2600:140b:1001::/38", "20940"}, + {"2600:1806:420::/48", "16552"}, + {"2804:828:91::/32", "262354"}, + {"2a02:26f7:dfc5::/46", "20940"}, + {"2a02:2e02:900::/40", "12479"}, + {"240a:a171::/32", "143019"}, + {"240e:85c::/44", "131285"}, + {"2620:13d:d01c::/48", "3356"}, + {"2a01:1b8::/45", "1257"}, + {"2a02:44a0::/43", "61955"}, + {"2404:7c00::/47", "45650"}, + {"2409:8924:4100::/38", "56046"}, + {"240e:3bd:d000::/36", "134772"}, + {"2a00:8a84:27f0:f::/32", "29119"}, + {"2a02:ad8::/43", "12389"}, + {"2605:1980::/48", "13951"}, + {"2a02:26f7:b3c1::/46", "20940"}, + {"2401:4900:3d30::/44", "45609"}, + {"2402:800:5d55::/42", "7552"}, + {"240a:a986::/32", "145088"}, + {"240a:ad62::/32", "146076"}, + {"2804:62e4:facf::/37", "269326"}, + {"2a01:8f40::/32", "59472"}, + {"2a02:26f7:c084::/48", "36183"}, + {"2001:559:120::/48", "7015"}, + {"2001:2004::/28", "1299"}, + {"2409:8924:1300::/37", "56046"}, + {"240a:add8::/32", "146194"}, + {"2603:90f5:2::/44", "11426"}, + {"2804:801c::/32", "271730"}, + {"2a06:6880:800::/29", "209620"}, + {"2a0b:e0c0::/29", "41206"}, + {"2a0c:f700::/29", "206119"}, + {"2001:df2:7e01::/48", "135526"}, + {"2402:7780:2::/32", "132933"}, + {"2604:6040:80::/48", "53698"}, + {"2402:8100:12::/47", "45271"}, + {"2600:380:ec00::/44", "20057"}, + {"2605:7c0:1003::/48", "19382"}, + {"2800:10:11::/48", "27750"}, + {"2804:8584::/32", "272584"}, + {"2402:800:7270::/40", "7552"}, + {"240a:ad4b::/32", "146053"}, + {"240e:698:4b00::/40", "133774"}, + {"2600:100f:d000::/42", "6167"}, + {"2600:8807:1f82::/42", "22773"}, + {"2801:80:3460::/44", "268766"}, + {"2a02:26f7:d2::/48", "36183"}, + {"2408:80ea:7780::/43", "17623"}, + {"2804:4360::/32", "267566"}, + {"2804:4b20::/32", "267285"}, + {"2a02:26f7:d18c::/48", "36183"}, + {"2001:df3:900::/48", "135905"}, + {"240a:a839::/32", "144755"}, + {"2804:14d:4200::/40", "28573"}, + {"2806:230:201a::/48", "265594"}, + {"2001:da8:5853::/48", "24363"}, + {"2001:44b8:3080::/48", "7545"}, + {"2600:1406:9000::/48", "35994"}, + {"2804:6b68::/32", "270398"}, + {"2a02:ff0:3d00::/40", "12735"}, + {"2a02:26f0:5400::/48", "34164"}, + {"2001:388:c::/48", "23859"}, + {"2001:559:810d::/48", "21508"}, + {"2001:1248:5659::/42", "11172"}, + {"2409:8924:c700::/30", "56046"}, + {"240a:a92f::/32", "145001"}, + {"2800:bf0:3420::/44", "52257"}, + {"2804:631c::/32", "269339"}, + {"2804:83a8::/32", "272210"}, + {"2001:559:815d::/48", "33491"}, + {"2001:67c:200c::/48", "51408"}, + {"240a:a34b::/32", "143493"}, + {"240e:44d:7400::/42", "140345"}, + {"240e:947::/36", "139887"}, + {"2607:f220:50a::/48", "5766"}, + {"2804:2314::/47", "262811"}, + {"2a02:26f0:108::/46", "20940"}, + {"240a:a298::/32", "143314"}, + {"2602:fc1f::/36", "46887"}, + {"2a04:4e40:2810::/41", "54113"}, + {"2001:1388:1c::/39", "6147"}, + {"2402:800:95b7::/41", "7552"}, + {"2604:a880:800::/48", "14061"}, + {"2803:2f80:feab::/39", "61503"}, + {"2a02:26f7:c895::/46", "20940"}, + {"2a04:88c0::/48", "60781"}, + {"2a04:a000::/29", "59630"}, + {"2a12:5800::/29", "52177"}, + {"2001:559:245::/48", "22909"}, + {"2408:8957:6d00::/40", "17816"}, + {"2a01:5620::/29", "29396"}, + {"2a02:ed00::/31", "50304"}, + {"2a06:9087:ffff::/48", "203271"}, + {"2a06:a001:a0d0::/44", "213234"}, + {"2001:a98:31::/40", "8517"}, + {"2401:4900:5360::/40", "45609"}, + {"2604:d600:1603::/43", "32098"}, + {"2804:14d:9800::/40", "28573"}, + {"2a02:26f7:e9c1::/46", "20940"}, + {"2a03:a000::/32", "13009"}, + {"2403:300:1c2a::/40", "714"}, + {"2403:44c0:3::/48", "135814"}, + {"2800:bf0:80c3::/45", "52257"}, + {"2a02:5400:820::/48", "33353"}, + {"2001:559:87f4::/48", "7015"}, + {"2402:800:38c5::/43", "7552"}, + {"240e:45c:1f00::/40", "137401"}, + {"2602:fe31::/36", "32281"}, + {"2606:2800:4a50::/47", "15133"}, + {"2804:3244:26::/47", "265066"}, + {"2001:67c:1138::/48", "57288"}, + {"2620:0:e10::/48", "40387"}, + {"2804:29e8::/32", "264043"}, + {"2a00:800::/38", "1257"}, + {"2001:67c:558::/48", "202060"}, + {"2001:7fb:fe18::/48", "12654"}, + {"2001:df4:d600::/48", "45900"}, + {"240e:37a:aa00::/39", "140330"}, + {"2600:9000:202f::/48", "16509"}, + {"2804:170::/33", "28131"}, + {"2402:2000::/33", "24350"}, + {"2607:fdb8:2000::/33", "30496"}, + {"2800:bf0:800b::/45", "52257"}, + {"2a04:9a01:1000::/36", "34663"}, + {"2a06:a000:170::/48", "20473"}, + {"2402:800:5601::/44", "7552"}, + {"240a:a6a6::/32", "144352"}, + {"2804:4f8:8400::/34", "28263"}, + {"2804:64e8::/32", "269457"}, + {"2a0a:e5c0:12::/48", "213081"}, + {"2001:dd9::/48", "24302"}, + {"2401:d800:7a20::/41", "7552"}, + {"240e:3bf:f700::/36", "4134"}, + {"2a00:1200::/32", "33828"}, + {"2001:559:1f1::/48", "7015"}, + {"2409:8061:1900::/34", "9808"}, + {"2600:1417:57::/44", "20940"}, + {"2804:7310::/32", "270893"}, + {"2a0a:f500::/32", "6883"}, + {"2800:5f0:878::/35", "22724"}, + {"2804:45e4:7d10::/32", "262567"}, + {"2a07:68c0::/30", "32338"}, + {"2409:8b28::/32", "56041"}, + {"240a:aed6::/32", "146448"}, + {"2800:160:1e5d::/42", "14259"}, + {"2803:3a40::/32", "263826"}, + {"2a0a:51c0::/30", "48314"}, + {"2a0a:d480::/29", "206549"}, + {"2a0c:f140::/29", "204790"}, + {"2001:df4:2900::/48", "56155"}, + {"2001:fd8:220b::/43", "4775"}, + {"2804:38f0::/32", "266513"}, + {"2402:800:518d::/43", "7552"}, + {"240a:a464::/32", "143774"}, + {"2804:5724::/32", "268047"}, + {"2a01:cd01:2f2a::/47", "28708"}, + {"2001:559:83f0::/48", "7922"}, + {"2400:cd00:1045::/32", "38794"}, + {"240e:438:6020::/43", "140647"}, + {"2806:2f0:72c3::/42", "17072"}, + {"2a05:2c0::/29", "62178"}, + {"2a09:8b40::/29", "197690"}, + {"2a0a:f280:203::/48", "211157"}, + {"2404:e100::/47", "55685"}, + {"2804:14d:8088::/43", "28573"}, + {"2804:2870:1::/46", "52863"}, + {"2001:559:67::/48", "7015"}, + {"240a:a04b::/32", "142725"}, + {"2804:d08::/32", "262311"}, + {"2a01:53c0:ffff:1::/48", "54994"}, + {"2a0a:4640:a::/43", "206177"}, + {"2a0c:b641:6e2::/47", "213201"}, + {"2001:67c:1888::/48", "203426"}, + {"2a01:148::/29", "34245"}, + {"2606:2e00:800e::/43", "36351"}, + {"2804:7354::/32", "270908"}, + {"2a09:9b40::/48", "209562"}, + {"2a0f:5fc0:dead::/48", "39673"}, + {"2001:559:42f::/48", "7015"}, + {"2001:448a:6090::/41", "7713"}, + {"2402:ee40:3::/42", "134033"}, + {"2408:8956:6700::/40", "17816"}, + {"2409:8062:3003::/40", "9808"}, + {"2409:8907:8520::/38", "24547"}, + {"2804:1040:a240::/35", "263626"}, + {"2804:6300::/32", "262898"}, + {"2804:6aa4::/32", "270350"}, + {"2a00:14d8::/29", "8542"}, + {"2a00:e100::/32", "196819"}, + {"2a02:26f7:4f::/48", "20940"}, + {"2a02:ee80:422d::/48", "3573"}, + {"2a06:6e40::/29", "204120"}, + {"2a0f:9400:7b00::/43", "210872"}, + {"2400:cb00:4::/48", "13335"}, + {"2406:e1c0:401::/39", "141459"}, + {"2408:8459:c430::/41", "17622"}, + {"2409:8a55:7a00::/32", "9808"}, + {"2a03:69c0::/48", "60601"}, + {"2a0e:b107:bf6::/48", "140938"}, + {"2a09:bac0:120::/47", "13335"}, + {"2001:df5:2380::/48", "138754"}, + {"2409:8754:f700::/28", "56040"}, + {"2600:1419:5c00::/48", "4230"}, + {"2606:6680:8::/48", "19844"}, + {"2606:f000::/32", "13917"}, + {"2804:214:4016::/47", "26615"}, + {"2001:fb0:109f:8010::/64", "36040"}, + {"2406:2e00::/32", "17648"}, + {"2408:8256:2f6d::/48", "17816"}, + {"2408:8656:32fe::/47", "17623"}, + {"2803:6900:574::/48", "52423"}, + {"2a01:8840:31::/48", "207266"}, + {"2a02:26f7:27::/48", "20940"}, + {"2a02:26f7:d650::/48", "36183"}, + {"2001:1928::/32", "30528"}, + {"2408:8456:1c00::/42", "17622"}, + {"2a12:3540::/29", "60135"}, + {"2001:559:30c::/48", "7922"}, + {"2406:8680::/32", "45753"}, + {"2804:149c::/32", "262643"}, + {"2001:df3:5880::/48", "136704"}, + {"2409:8914:8200::/39", "56044"}, + {"2a02:26f7:e6cd::/42", "20940"}, + {"2600:6c7f:9052::/48", "20115"}, + {"2607:f4e8:10::/46", "22822"}, + {"2a01:280:398::/48", "48942"}, + {"2a03:3f00::/47", "21245"}, + {"2a0b:7ec0:7702::/32", "206728"}, + {"2804:1f2e::/32", "10715"}, + {"2001:559:83dc::/48", "33652"}, + {"2001:4d00::/32", "8226"}, + {"2405:800:a000::/35", "4817"}, + {"2409:8d54::/28", "9808"}, + {"2804:20ec::/32", "264521"}, + {"2806:370:4100::/44", "28403"}, + {"2408:8756:3af3::/33", "17816"}, + {"240e:982:7100::/38", "139201"}, + {"2600:6c20:a0e::/47", "20115"}, + {"2620:11b:e080::/44", "3549"}, + {"2801:1fc:22::/48", "27951"}, + {"2400:1420:1000::/36", "147305"}, + {"2402:800:380f::/43", "7552"}, + {"2a00:1140::/46", "44806"}, + {"240a:add1::/32", "146187"}, + {"2602:fdb1::/36", "54638"}, + {"2604:11c0:600::/40", "395822"}, + {"2806:20d:3100::/38", "32098"}, + {"240a:a788::/32", "144578"}, + {"240a:abc0::/32", "145658"}, + {"2600:140b:8c00::/48", "31109"}, + {"2a00:1560::/45", "29684"}, + {"2a02:2698:a100::/38", "9049"}, + {"2001:559:741::/48", "7016"}, + {"2a01:ce8c:d000::/31", "51964"}, + {"2a02:26f7:c34d::/46", "20940"}, + {"2a02:26f7:fac1::/46", "20940"}, + {"2a05:7ac0::/29", "21263"}, + {"240a:a818::/32", "144722"}, + {"2602:fc97:30::/44", "399544"}, + {"2804:38ac::/32", "266493"}, + {"2804:43fc::/32", "267614"}, + {"2806:2f0:9541::/46", "17072"}, + {"2a00:1678:da7a::/48", "49453"}, + {"2401:cf80:6044::/48", "198949"}, + {"2800:4b0:8011::/40", "12252"}, + {"2803:c080::/32", "27927"}, + {"2a03:5540::/32", "61343"}, + {"2001:1248:97f2::/44", "11172"}, + {"2404:3d00:4064::/40", "3573"}, + {"240a:a177::/32", "143025"}, + {"2605:a900:1005::/44", "46887"}, + {"2607:4000:300::/40", "14221"}, + {"240e:d:a800::/37", "136192"}, + {"2620:118:5000::/44", "4901"}, + {"2804:62f0:f102::/36", "269329"}, + {"2804:6d00::/32", "270506"}, + {"2408:8220::/31", "4837"}, + {"2408:8459:cf50::/35", "17816"}, + {"2600:140b:c801::/38", "20940"}, + {"2602:feda:3ab::/48", "141706"}, + {"2801:1f:c800::/48", "19429"}, + {"2804:920::/33", "263053"}, + {"2404:f801::/32", "3598"}, + {"2800:160:1e05::/46", "14259"}, + {"2a06:aa87:ffff::/48", "49238"}, + {"2001:559:876e::/48", "33652"}, + {"240a:ae12::/32", "146252"}, + {"2602:fc09:de::/42", "13780"}, + {"2408:8957:f4c0::/38", "17816"}, + {"2001:454e:aab1::/33", "9924"}, + {"2600:1007:b000::/41", "6167"}, + {"2804:1b2:d104::/38", "18881"}, + {"2a02:ee80:4136::/44", "3573"}, + {"2a0f:f100::/29", "60776"}, + {"2001:1900:2352::/48", "3356"}, + {"2804:14d:5493::/45", "28573"}, + {"2a02:26f7:d7c4::/48", "36183"}, + {"2001:250:80b::/48", "24348"}, + {"2402:7d80:242::/33", "63582"}, + {"2405:e280:2180::/48", "55769"}, + {"240a:a70e::/32", "144456"}, + {"240a:af27::/32", "146529"}, + {"2a00:18e0:2::/48", "196763"}, + {"2a0c:9a40:8130::/46", "209833"}, + {"2a0e:46c4:2920::/48", "138435"}, + {"2a0e:fd45:d40::/42", "44103"}, + {"2a11:4701:1101::/29", "28680"}, + {"2001:559:c501::/48", "20214"}, + {"2404:8d03::/29", "10089"}, + {"2001:1ae0::/32", "8262"}, + {"2803:d700::/34", "61461"}, + {"2001:df6:ac00::/48", "58404"}, + {"2a03:83a0:1::/48", "201528"}, + {"2a04:4e40:2e10::/44", "54113"}, + {"2a0b:14c0:3::/48", "396535"}, + {"2a0f:30c0::/29", "37637"}, + {"2001:559:a2::/48", "33657"}, + {"2001:1248:a41b::/45", "11172"}, + {"240e:438:2240::/37", "4134"}, + {"2607:f340::/32", "46231"}, + {"2803:e8c0::/32", "266776"}, + {"2804:747c::/32", "270984"}, + {"2804:7a34::/32", "271355"}, + {"2a00:9900::/29", "31252"}, + {"2800:4b0:4420::/39", "12252"}, + {"2a02:26f7:eec5::/46", "20940"}, + {"2a0f:8a80::/29", "62009"}, + {"2001:559:8066::/48", "7016"}, + {"2001:579:2439::/46", "22773"}, + {"2001:fb0:10b6::/32", "7470"}, + {"2804:5c4::/32", "262540"}, + {"2a03:d400:124::/32", "198913"}, + {"2a04:4e40:2e00::/48", "54113"}, + {"240a:a0b4::/32", "142830"}, + {"240a:a339::/32", "143475"}, + {"240a:aeb1::/32", "146411"}, + {"2600:1408:c401::/38", "20940"}, + {"2600:1416:e001::/31", "20940"}, + {"2804:27b0::/32", "263917"}, + {"2a03:b8c0:17::/44", "137922"}, + {"2a11:4d40::/48", "42652"}, + {"2001:559:195::/48", "33666"}, + {"2800:160:11a2::/47", "14259"}, + {"2804:7f2c::/32", "271671"}, + {"2a02:247a::/32", "51862"}, + {"240a:a1ad::/32", "143079"}, + {"2001:559:c47b::/48", "7922"}, + {"2400:4ec0:8a01::/37", "64300"}, + {"2403:f000:11::/46", "38220"}, + {"2a00:9640:6a::/32", "57710"}, + {"2001:4530::/46", "9433"}, + {"2400:ac40:cd0::/39", "136255"}, + {"2401:4900:3dc0::/42", "45609"}, + {"2600:1407:1e::/47", "35994"}, + {"2604:ca00:8000::/35", "36492"}, + {"2620:104:2041::/48", "16509"}, + {"2804:5f18::/32", "269076"}, + {"2a01:c50f:3a00::/37", "12479"}, + {"2a02:26f7:bb84::/47", "36183"}, + {"2a04:4e40:ccf0::/48", "54113"}, + {"240a:adbc::/32", "146166"}, + {"2804:391c:f::/43", "262287"}, + {"240a:ac04::/32", "145726"}, + {"2804:3838:3::/45", "53170"}, + {"2a02:26f7:f844::/48", "36183"}, + {"2001:16a2:4700::/36", "39386"}, + {"2600:1004:b1d0::/42", "6167"}, + {"2801:1c4::/48", "27951"}, + {"2a00:97a0::/32", "60651"}, + {"2001:559:316::/48", "7922"}, + {"2001:559:c221::/48", "33657"}, + {"2607:8400::/32", "3582"}, + {"2804:40f8::/32", "265995"}, + {"2a02:26f0:bb::/45", "34164"}, + {"2a02:4840:200::/47", "60567"}, + {"2001:559:792::/48", "7922"}, + {"2001:41d0::/32", "16276"}, + {"2400:ca02:f08a::/41", "23688"}, + {"240a:a945::/32", "145023"}, + {"240a:ae4e::/32", "146312"}, + {"2620:1d5:620::/41", "14773"}, + {"2400:4fc0:1::/45", "134146"}, + {"2409:802f::/34", "56041"}, + {"2a02:26f7:cc91::/42", "20940"}, + {"2a04:4e40:6630::/41", "54113"}, + {"2a0c:c080::/29", "57866"}, + {"2a0d:3842:1100::/48", "57629"}, + {"2001:4490:d0c0::/46", "9829"}, + {"2401:c680:f::/35", "133854"}, + {"2a00:dd0::/32", "47869"}, + {"2a03:8180:1800::/39", "36351"}, + {"2001:559:876b::/45", "7016"}, + {"2001:49d0:140::/42", "20177"}, + {"2402:e280:2117::/44", "134674"}, + {"240a:a8d5::/32", "144911"}, + {"2804:1494::/32", "263338"}, + {"2a00:1a28:1158::/32", "42708"}, + {"2a07:3502:1160::/48", "20559"}, + {"2a0c:500::/30", "205103"}, + {"2405:2200::/32", "55853"}, + {"2804:7f74:4::/32", "271689"}, + {"240a:aa0c::/32", "145222"}, + {"2600:1008:b000::/42", "6167"}, + {"2607:fcd0:aac0::/35", "8100"}, + {"2620:131:f000::/40", "10255"}, + {"2804:82fc::/32", "272169"}, + {"2c0f:fec8::/44", "37197"}, + {"2001:4479:a900::/38", "7545"}, + {"2409:8e14:4000::/34", "56044"}, + {"2800:160:1321::/44", "14259"}, + {"2001:559:33f::/48", "33652"}, + {"2405:1c0:6131::/45", "55303"}, + {"2408:8957:efc0::/35", "17622"}, + {"2803:a3e0::/32", "270068"}, + {"2804:5c14::/32", "268886"}, + {"2a0b:b86:8::/45", "3280"}, + {"2408:8459:4630::/41", "17622"}, + {"240a:ae88::/32", "146370"}, + {"2606:23c0::/32", "399228"}, + {"2607:f2d8:401c::/35", "18450"}, + {"2a01:8340:200::/32", "59410"}, + {"2a02:2ae0::/32", "702"}, + {"2401:4900:2080::/45", "45609"}, + {"2620:19:e000::/44", "19432"}, + {"2a06:5a80::/29", "12488"}, + {"2a0e:a400::/29", "209042"}, + {"2409:8750:d00::/38", "56047"}, + {"2409:8c54:1810::/42", "56040"}, + {"2804:5414::/32", "268627"}, + {"2804:7874::/32", "271243"}, + {"2a05:6200:75::/32", "201630"}, + {"240a:a06b::/32", "142757"}, + {"240e:983:1e03::/45", "58543"}, + {"2604:ae80:a100::/40", "11904"}, + {"2803:9600::/32", "52391"}, + {"2a0c:5e00::/32", "205053"}, + {"2604:d600:1291::/44", "32098"}, + {"2620:103:c00d::/48", "14203"}, + {"2a01:c50f:cc00::/35", "12479"}, + {"2a02:26f7:2a::/48", "36183"}, + {"2a06:2280::/29", "200582"}, + {"2001:308::/32", "7668"}, + {"2001:559:c18d::/48", "33651"}, + {"2605:8000:8901::/33", "4261"}, + {"2804:802c:203::/45", "271734"}, + {"2a02:26f7:d209::/46", "20940"}, + {"2a03:a980::/32", "16281"}, + {"2001:559:54f::/48", "33491"}, + {"2001:df0:7ac0::/48", "149388"}, + {"2800:390::/32", "25620"}, + {"2a06:9780::/29", "13199"}, + {"2a0d:e4c0::/32", "208861"}, + {"2402:800:92c5::/42", "7552"}, + {"2607:fb10::/43", "2906"}, + {"2804:5468::/32", "268648"}, + {"2804:6628::/32", "269538"}, + {"2a00:5647::/32", "34182"}, + {"2a00:98c0::/32", "29287"}, + {"2a0e:46c6:160::/44", "206161"}, + {"2001:df2:d800::/48", "131895"}, + {"2804:2e1c:e781::/35", "265324"}, + {"2a02:e640::/29", "199571"}, + {"2a07:291b::/32", "211452"}, + {"2001:559:25::/48", "7922"}, + {"2602:feda:c50::/48", "212425"}, + {"2804:3a94::/32", "266097"}, + {"2a03:a660::/32", "203441"}, + {"2a07:2580::/29", "203223"}, + {"2804:8:4002::/31", "14840"}, + {"2a00:ce8::/32", "20914"}, + {"2a01:9ec0::/32", "201785"}, + {"2a02:c804::/32", "24843"}, + {"2600:1901:ff90::/44", "15169"}, + {"2606:b400:880c::/48", "7160"}, + {"2806:2f0:4623::/41", "17072"}, + {"2a02:5cc0::/32", "59689"}, + {"2a04:4e40:8800::/48", "54113"}, + {"2402:800:5be0::/44", "7552"}, + {"2600:1f01:48a0::/47", "16509"}, + {"2804:7b50::/32", "271424"}, + {"2a01:111::/34", "8075"}, + {"2a03:7380:5840::/42", "13188"}, + {"2c0f:f6e8::/32", "37315"}, + {"2406:ae00:101::/32", "55564"}, + {"2606:f900:9901::/37", "812"}, + {"2001:559:8623::/45", "7922"}, + {"2604:e180:6::/40", "55002"}, + {"2801:80:1340::/48", "264029"}, + {"2804:577c::/32", "268068"}, + {"2001:252:ff00::/40", "4538"}, + {"2001:678:d18::/48", "213343"}, + {"2001:67c:2074::/48", "57763"}, + {"2001:40f8::/32", "15798"}, + {"240e:108:47::/48", "131325"}, + {"2800:160:1e79::/40", "14259"}, + {"2804:1638:facf::/37", "263276"}, + {"2a00:8240::/29", "61029"}, + {"2001:16d8:bc00::/33", "16150"}, + {"240e:a52:5c00::/34", "134419"}, + {"2600:1406:200::/48", "35994"}, + {"2604:f1c0::/32", "27580"}, + {"2c0f:fe08::/39", "36914"}, + {"2401:d800:df90::/42", "7552"}, + {"2406:840:c00::/48", "139317"}, + {"2407:eec0::/32", "141556"}, + {"2409:8a3c::/35", "24444"}, + {"2804:2e8:24::/32", "262847"}, + {"2a02:26f7:f0c4::/48", "36183"}, + {"2400:adce:5000::/40", "9541"}, + {"2402:800:5e80::/42", "7552"}, + {"2402:e380:302::/48", "133846"}, + {"2409:8c85:2022::/36", "9808"}, + {"2602:fbd9::/48", "20473"}, + {"2620:13a:1000::/40", "40457"}, + {"2401:7400:4801::/34", "4773"}, + {"2409:40f0:1000::/32", "55836"}, + {"2a0a:59c7:1011::/36", "204724"}, + {"2001:67c:5c::/48", "35627"}, + {"2001:44b8:30db::/45", "4739"}, + {"240a:ad1c::/32", "146006"}, + {"2620:11a:a012::/44", "43515"}, + {"2804:14d:ae00::/40", "28573"}, + {"2a02:26f7:b998::/48", "36183"}, + {"2c0f:f208::/32", "328471"}, + {"2001:559:97::/44", "7922"}, + {"240a:ab97::/32", "145617"}, + {"240a:af86::/32", "146624"}, + {"2806:310:1::/44", "16960"}, + {"2a00:5880:1400::/44", "209090"}, + {"2001:1248:56d8::/47", "11172"}, + {"2001:4408:5251::/37", "4758"}, + {"240a:a71d::/32", "144471"}, + {"2a01:830::/31", "3329"}, + {"2a01:c50f:4300::/40", "12479"}, + {"2408:8956:c940::/40", "17816"}, + {"240a:ab29::/32", "145507"}, + {"2602:103:9000::/34", "20115"}, + {"2804:d0c::/32", "53112"}, + {"2a0a:3a40::/32", "8308"}, + {"2a12:3800::/32", "210512"}, + {"2001:559:367::/48", "33657"}, + {"2001:df7:5380::/47", "3970"}, + {"2602:feda:af2::/48", "138038"}, + {"2a02:568::/32", "8763"}, + {"2a01:8840:f6::/48", "12041"}, + {"2607:fad8:d::/40", "22652"}, + {"2806:250:500::/40", "28509"}, + {"2001:503:83eb::/48", "396574"}, + {"2001:57a:1204::/47", "22773"}, + {"2a00:b402::/31", "12857"}, + {"2a01:8840:15::/48", "207266"}, + {"2a0f:ad00::/31", "208202"}, + {"2001:559:3a3::/48", "7015"}, + {"2401:d800:91d0::/42", "7552"}, + {"2602:fbda:400::/48", "146961"}, + {"2804:7a30::/36", "271353"}, + {"2001:559:24::/48", "7016"}, + {"2402:800:939b::/42", "7552"}, + {"2800:160:1224::/43", "14259"}, + {"2804:3014::/32", "264929"}, + {"2a04:4e40:7e00::/48", "54113"}, + {"240a:a7b1::/32", "144619"}, + {"240a:aff0::/32", "146730"}, + {"2600:6c10:f09e::/38", "20115"}, + {"2620:129::/44", "6169"}, + {"2804:e54::/32", "262807"}, + {"2806:230:301b::/48", "11888"}, + {"2806:2f0:41c1::/46", "17072"}, + {"2a00:7700::/32", "31200"}, + {"2a02:5480::/32", "197013"}, + {"240e:44d:980::/41", "4134"}, + {"2a02:26f7:b74c::/48", "36183"}, + {"2a02:2e02:8410::/41", "12479"}, + {"2a0b:e140::/29", "205241"}, + {"2804:444c::/32", "267623"}, + {"2a02:2010:2510::/42", "20978"}, + {"2a02:26f7:e5c4::/48", "36183"}, + {"2a07:91c0::/29", "47304"}, + {"2001:559:c172::/48", "33651"}, + {"2804:7cc4::/32", "271517"}, + {"2a01:c50f:3e80::/39", "12479"}, + {"2402:8100:2690::/46", "45271"}, + {"2a00:9320:fffd::/46", "48559"}, + {"2a02:400::/32", "47264"}, + {"2a05:dfc7:26::/44", "61138"}, + {"2001:550:907::/48", "32489"}, + {"2001:559:878c::/48", "33661"}, + {"2001:668:1fc::/46", "16260"}, + {"2402:e280:2172::/44", "134674"}, + {"2408:8459:ef30::/41", "17622"}, + {"240a:ae47::/32", "146305"}, + {"240e:108:2c::/48", "4816"}, + {"2801:114:4::/48", "22822"}, + {"2a03:a9c0::/29", "41709"}, + {"2001:1248:8707::/44", "11172"}, + {"2001:12e0:8000::/36", "10429"}, + {"2400:3d80::/32", "56304"}, + {"2402:e280:2242::/47", "134674"}, + {"2803:2610::/32", "271942"}, + {"2a01:2e0::/31", "8374"}, + {"2409:8a50:b00::/37", "56047"}, + {"2804:1bd8:5000::/32", "28224"}, + {"2a00:10b8::/32", "47116"}, + {"2a09:17c0::/29", "60781"}, + {"2a0d:8d07::/39", "207616"}, + {"2402:e280:1000::/47", "134674"}, + {"240a:abed::/32", "145703"}, + {"240e:44d:b00::/41", "140345"}, + {"2605:9180::/33", "53597"}, + {"2800:300:65e0::/36", "27986"}, + {"2a00:5000::/29", "51896"}, + {"2a0a:2f00:1::/46", "49683"}, + {"2001:bf7:7a0::/36", "44194"}, + {"240e:37d:1a00::/34", "140330"}, + {"2804:6310:2000::/33", "269336"}, + {"2603:c010::/36", "31898"}, + {"2a00:d440::/29", "58046"}, + {"2a09:bac0:251::/48", "13335"}, + {"2a0a:df80:25::/48", "42346"}, + {"2001:b50::/32", "16245"}, + {"2001:1a11:85::/46", "8781"}, + {"240e:37c:2600::/32", "4134"}, + {"2806:21a:a000::/46", "262913"}, + {"2a00:1238::/46", "35236"}, + {"2a02:26f7:c201::/46", "20940"}, + {"2404:0:5005::/48", "24154"}, + {"2804:61c::/32", "28166"}, + {"2a01:c50f:bcc0::/38", "12479"}, + {"2001:559:10c::/48", "7015"}, + {"2001:da8:d833::/48", "23910"}, + {"2804:1d04:5000::/36", "61689"}, + {"2402:8c0:1::/44", "137083"}, + {"2408:8456:2e00::/41", "17623"}, + {"240e:3b3:dc00::/34", "4134"}, + {"2800:6e0::/32", "52320"}, + {"2001:250:140c::/48", "23910"}, + {"2001:559:5fc::/48", "7922"}, + {"2409:8914:c000::/39", "56044"}, + {"2804:6fc:b100::/36", "28158"}, + {"2804:15a4:aab0::/33", "263400"}, + {"2804:46dc::/32", "267016"}, + {"2a05:79c0:1::/46", "27381"}, + {"2001:559:82b0::/48", "33287"}, + {"2001:df7:fa80::/48", "138277"}, + {"2803:7420::/32", "265826"}, + {"2804:ad8::/33", "262494"}, + {"2a00:1169::/39", "21499"}, + {"2a02:c00::/32", "12316"}, + {"2a0c:5247:d000::/36", "208861"}, + {"2001:678:95c::/48", "34093"}, + {"2602:fc23:152::/45", "8095"}, + {"2801:1c8:500::/48", "18747"}, + {"2804:384c::/32", "266468"}, + {"2804:6734::/32", "269612"}, + {"2a02:828::/48", "44285"}, + {"2a02:26f7:f6cc::/48", "36183"}, + {"2001:559:8494::/48", "33650"}, + {"2408:8957:cb40::/40", "17816"}, + {"240a:a3cd::/32", "143623"}, + {"2800:484:5c00::/39", "10620"}, + {"2804:4918:8100::/38", "267164"}, + {"2a07:8f40::/29", "57831"}, + {"2001:fd8:260::/48", "132199"}, + {"2600:804:201::/37", "701"}, + {"2800:670::/32", "262589"}, + {"2001:559:c43e::/48", "33657"}, + {"2001:678:c6c::/48", "212123"}, + {"2600:e004::/32", "22995"}, + {"2a03:d9c0:3000::/48", "3214"}, + {"2605:dd40:8205::/46", "398549"}, + {"2a03:5840:101::/44", "35661"}, + {"2a05:d01e::/36", "16509"}, + {"2001:67c:1a0::/48", "5603"}, + {"2403:8600:ea88::/46", "131317"}, + {"2604:5e80::/43", "8"}, + {"2806:2f0:3203::/42", "17072"}, + {"2001:559:c322::/48", "7015"}, + {"2404:a140:11::/48", "138915"}, + {"2405:a540::/35", "38156"}, + {"2604:17c0::/40", "9009"}, + {"2606:4700:99e0::/44", "13335"}, + {"2a00:12d8:700e::/29", "12586"}, + {"240e:1c7::/22", "4134"}, + {"2a02:26f7:b747::/48", "20940"}, + {"2001:559:81fd::/48", "33491"}, + {"2001:620::/29", "559"}, + {"2402:79c0:f0f9::/48", "11840"}, + {"2403:9c00::/32", "18068"}, + {"2602:fe69:a00::/40", "36369"}, + {"2800:484:3000::/40", "14080"}, + {"2001:df6:6900::/48", "18229"}, + {"240e:44:8000::/33", "4134"}, + {"2620:11d:500c::/47", "393732"}, + {"2001:579:1164::/36", "22773"}, + {"2605:a401:8c46::/42", "33363"}, + {"2a02:9b0:1e::/42", "64105"}, + {"2c0f:e9a8::/32", "328732"}, + {"2001:1998:890::/44", "8052"}, + {"2401:2400::/44", "38496"}, + {"2402:fd40::/48", "137889"}, + {"2408:8459:ae30::/41", "17622"}, + {"240a:a197::/32", "143057"}, + {"2600:5801::/32", "7843"}, + {"2607:f810::/38", "6192"}, + {"2001:559:c0ed::/46", "33652"}, + {"2403:ad80:4c00::/38", "134835"}, + {"2406:1400:c100::/48", "24342"}, + {"2001:4878:a007::/44", "12222"}, + {"2804:204:258::/46", "28186"}, + {"2804:1b64::/32", "61725"}, + {"2a02:2228::/32", "51378"}, + {"2001:df3:a280::/48", "16509"}, + {"2001:1b40:3333::/48", "3356"}, + {"240a:a0bf::/32", "142841"}, + {"2604:d600:1327::/44", "32098"}, + {"2806:21a::/48", "32098"}, + {"2001:44b8:206d::/35", "4739"}, + {"2804:14d:ba60::/40", "28573"}, + {"2a02:ed04:3410::/33", "50304"}, + {"2406:840:e770::/46", "136591"}, + {"2801:c4:12::/48", "28477"}, + {"2804:3e70:f008::/36", "266596"}, + {"2600:6c38:224::/44", "20115"}, + {"2604:3d00:d500::/36", "6327"}, + {"2800:68:19::/42", "61468"}, + {"2a02:56c0::/32", "5500"}, + {"2a0a:5dc0::/29", "51395"}, + {"240a:a200::/32", "143162"}, + {"240a:a326::/32", "143456"}, + {"2600:370f:5320::/47", "32261"}, + {"2606:2800:5a80::/46", "15133"}, + {"2a02::/32", "12684"}, + {"2405:9800:b820::/41", "133481"}, + {"2408:8456:8a40::/39", "17816"}, + {"2409:802e:2904::/47", "9808"}, + {"2801:80:3e50::/48", "271444"}, + {"2a00:15c0::/32", "31543"}, + {"2a02:26f7:f70d::/46", "20940"}, + {"2a02:4140:5::/32", "43957"}, + {"2a05:7640:2100::/41", "174"}, + {"2a0f:5c40::/44", "48981"}, + {"2001:559:15c::/48", "33668"}, + {"2404:e640::/32", "136697"}, + {"2a03:7420::/48", "8751"}, + {"2001:67c:268c::/48", "199902"}, + {"2001:1a11:73::/48", "8781"}, + {"2600:1407:2401::/36", "20940"}, + {"2604:880:5e::/48", "29802"}, + {"2804:3f10:5000:900::/34", "262566"}, + {"2404:bf40:a5c0::/47", "7545"}, + {"2803:3c0::/32", "265728"}, + {"2a02:26f7:c7c8::/47", "36183"}, + {"2001:44b8:4034::/47", "7545"}, + {"2607:7300::/32", "40438"}, + {"2804:658c:10::/46", "269499"}, + {"2a0e:4ac0::/29", "207902"}, + {"2001:559:13f::/48", "33655"}, + {"2001:da8:702c::/46", "24363"}, + {"240a:af08::/32", "146498"}, + {"2600:1419:14::/47", "20940"}, + {"2803:fe60::/32", "262186"}, + {"2804:3868:400::/38", "266475"}, + {"2804:7984::/32", "271310"}, + {"2a04:5d00:80::/48", "206754"}, + {"2001:4408:7700::/36", "4758"}, + {"2401:d800:2860::/40", "7552"}, + {"2404:2280:19d::/48", "24429"}, + {"2620:0:1607::/48", "6984"}, + {"2a09:1b80::/29", "203959"}, + {"2001:559:836a::/48", "33652"}, + {"2403:580:2100::/32", "134715"}, + {"240a:a611::/32", "144203"}, + {"2001:559:c4ae::/48", "33287"}, + {"2001:dc7:dd05::/34", "24151"}, + {"2604:5400:c000::/35", "11776"}, + {"2804:5868::/32", "268127"}, + {"2408:840d:a900::/42", "17621"}, + {"2604:10::/32", "19112"}, + {"2804:48d0::/32", "267146"}, + {"2a02:13c0::/32", "20792"}, + {"2a0b:4780::/29", "60129"}, + {"2409:8051:100::/37", "9808"}, + {"2607:f8f0:1200::/40", "271"}, + {"2620:52::/48", "22753"}, + {"2a00:f900::/32", "43925"}, + {"2001:559:c00e::/47", "33651"}, + {"2001:44b8:605b::/48", "4739"}, + {"2607:fe90:8000::/47", "22169"}, + {"2a02:26f7:bed0::/48", "36183"}, + {"2c0f:fe60::/32", "37619"}, + {"2001:559:85ba::/48", "33659"}, + {"2001:559:c0a0::/48", "33651"}, + {"2804:3b70::/32", "266149"}, + {"2001:4830:200::/40", "25623"}, + {"2620:11a:a000::/44", "43515"}, + {"2804:7ffc::/32", "271722"}, + {"2a01:7b0::/32", "34752"}, + {"2a02:26f7:f9c0::/48", "36183"}, + {"2a0f:da40::/29", "60781"}, + {"2408:897e::/32", "4837"}, + {"2a02:1628::/32", "12360"}, + {"2001:559:8045::/48", "33657"}, + {"2001:678:f98::/48", "211069"}, + {"2401:b400:16::/44", "58811"}, + {"2405:4803:2e4::/44", "18403"}, + {"2a02:5960::/32", "201986"}, + {"2408:8459:d040::/42", "134543"}, + {"2804:46a0::/32", "52562"}, + {"2a09:a400::/29", "212660"}, + {"2804:52f0::/32", "268551"}, + {"2408:8456:ef40::/40", "17816"}, + {"2602:fed2:7308::/48", "23470"}, + {"2a01:8840:6a::/45", "12041"}, + {"2a02:26f7:cc88::/48", "36183"}, + {"2a03:51a0::/32", "39046"}, + {"2a07:5c80::/29", "207758"}, + {"2a09:71c0::/29", "44486"}, + {"2a10:4040::/29", "213300"}, + {"2407:f2c0::/32", "139688"}, + {"240a:a4d1::/32", "143883"}, + {"2a07:ec80:230::/47", "44949"}, + {"2a0a:7000::/29", "58073"}, + {"2405:203:c07::/44", "55836"}, + {"2408:8957:9e00::/40", "17622"}, + {"2600:6c34:3d1::/48", "33588"}, + {"2804:14d:a200::/40", "28573"}, + {"2a0a:c0:ffff::/48", "43824"}, + {"2001:67c:64c::/48", "47846"}, + {"2001:42d0:bee0::/44", "33764"}, + {"2001:43f8:e00::/40", "715"}, + {"240a:aad3::/32", "145421"}, + {"2a02:1610::/32", "50986"}, + {"2a0c:4dc0:2::/29", "203959"}, + {"2a0f:2c40::/29", "60262"}, + {"2001:c38:9041::/44", "9931"}, + {"2600:1f01:4844::/47", "16509"}, + {"2606:f500::/34", "11352"}, + {"2620:133:2000::/40", "14074"}, + {"2804:a2c::/32", "263028"}, + {"2a02:10::/42", "24785"}, + {"2a09:c500::/29", "209842"}, + {"2401:4900:6190::/41", "45609"}, + {"240e:7:4000::/37", "134420"}, + {"2603:b0e0:bef0::/33", "11796"}, + {"2801:c4:30::/48", "2708"}, + {"2804:3290::/32", "265085"}, + {"2a07:e01::/32", "210083"}, + {"2403:d300::/34", "15932"}, + {"240a:aec9::/32", "146435"}, + {"2405:3000::/32", "3661"}, + {"2600:100f:9000::/44", "6167"}, + {"2401:d800:d6e0::/39", "7552"}, + {"240a:a368::/32", "143522"}, + {"240a:a172::/32", "143020"}, + {"240e:d6::/36", "140329"}, + {"2620:145:800::/38", "12257"}, + {"2804:5e48:ff30::/46", "269023"}, + {"2a02:26f7:d3c5::/46", "20940"}, + {"2a06:1280:2000::/32", "61138"}, + {"2001:559:c4c4::/47", "7015"}, + {"2409:8055:31::/46", "56040"}, + {"240e:44d:3d80::/41", "4134"}, + {"2602:ff6e::/43", "63202"}, + {"2a02:878:a::/48", "42632"}, + {"2804:204:210::/47", "28186"}, + {"2a12:2140::/29", "210045"}, + {"2001:fb1:190::/36", "17552"}, + {"240e:966:1800::/37", "133774"}, + {"2804:2484:8a00::/33", "28258"}, + {"2a01:7e8::/32", "42525"}, + {"2a0d:5087:1a2d::/32", "62240"}, + {"2605:15c0::/33", "19528"}, + {"2610:a1:1007::/48", "397220"}, + {"2a02:23b0::/32", "44141"}, + {"2a02:2e02:86b0::/41", "12479"}, + {"2001:da8:274::/47", "24349"}, + {"2806:20d:5b05::/40", "32098"}, + {"2a02:26f7:28::/48", "36183"}, + {"2a04:640::/29", "61160"}, + {"2a0c:c647:fd05::/38", "50489"}, + {"2401:7400:801:b::/61", "4773"}, + {"2402:9d80:100::/47", "131429"}, + {"2607:9080:705::/48", "62424"}, + {"2804:694:4c01::/40", "262596"}, + {"2a06:62c0:81::/44", "204138"}, + {"2a0b:5c80::/29", "204779"}, + {"2400:cb00:a720::/45", "13335"}, + {"2401:d800:8a0::/41", "7552"}, + {"2404:bf40:8440::/48", "7545"}, + {"2600:9000:220b::/43", "16509"}, + {"2804:2be0:7200::/32", "262503"}, + {"2a02:2e02:8560::/40", "12479"}, + {"2a04:1200::/29", "33951"}, + {"2a06:6a00::/29", "20493"}, + {"2a06:7b40::/29", "198024"}, + {"2001:da8:202::/48", "24350"}, + {"2001:da8:802a::/48", "23910"}, + {"240e:698:2800::/40", "133775"}, + {"2600:140b:d::/48", "17511"}, + {"2a02:28f8:2::/48", "31323"}, + {"2a03:9ea0::/32", "51815"}, + {"2a04:e8c0::/29", "44486"}, + {"2001:503:5419::/48", "7342"}, + {"2800:160:1e63::/44", "14259"}, + {"2804:2d28::/32", "265264"}, + {"2600:1004:b140::/42", "6167"}, + {"2801:9e::/32", "15256"}, + {"2804:5e48:ff20::/46", "269023"}, + {"2a00:1018::/37", "25394"}, + {"2a00:1858:1100::/32", "25454"}, + {"2a07:9c0::/29", "203328"}, + {"2001:df0:6980::/48", "135973"}, + {"2408:8456:4640::/36", "17816"}, + {"2804:43c:4000::/32", "262422"}, + {"2a01:5041:2004::/48", "202196"}, + {"2a02:26f0:a201::/39", "20940"}, + {"2402:2a80::/33", "46489"}, + {"2606:3c80:8e00::/34", "33582"}, + {"2804:2724:150::/32", "263879"}, + {"2804:4b48::/32", "267295"}, + {"2a02:26f7:b848::/48", "36183"}, + {"2a11:9d40::/29", "210646"}, + {"2409:8052:802::/40", "56047"}, + {"240e:438:b340::/43", "140647"}, + {"2607:f180:7100::/40", "45652"}, + {"2804:768:3880::/33", "52977"}, + {"2a04:8580:fff0::/47", "21030"}, + {"2001:559:c2fa::/47", "33287"}, + {"2409:8055:8::/48", "9808"}, + {"240c:cf81::/32", "138378"}, + {"2602:fdb8:1f0::/44", "394151"}, + {"2800:a4:2a00::/28", "6057"}, + {"2804:833c::/34", "272185"}, + {"2a02:2698:6000::/38", "57378"}, + {"2a07:9780::/29", "202705"}, + {"2a0b:da00::/29", "50113"}, + {"240e:978:3000::/40", "137702"}, + {"2602:fd50::/48", "62513"}, + {"2804:6600::/32", "269527"}, + {"2a02:26f7:b405::/46", "20940"}, + {"2a02:26f7:efc1::/46", "20940"}, + {"240a:a1e0::/32", "143130"}, + {"240a:a4d4::/32", "143886"}, + {"2a02:957::/48", "60217"}, + {"2a02:f28::/32", "20647"}, + {"2a02:26f7:c94c::/47", "36183"}, + {"2a02:26f7:f8c4::/48", "36183"}, + {"2a03:ab00::/32", "197046"}, + {"2804:3a4::/32", "262900"}, + {"2a02:88d:400f::/48", "47794"}, + {"2a02:26f7:f041::/46", "20940"}, + {"2a03:a60::/32", "59862"}, + {"2a0b:1901::/32", "57878"}, + {"2a0e:aa01:aa20::/35", "206499"}, + {"2001:598::/35", "21548"}, + {"2405:8a00:a049::/45", "55824"}, + {"240c:c283::/32", "24353"}, + {"240e:67c:c200::/39", "140329"}, + {"2a02:26f7:b8c1::/46", "20940"}, + {"2a0e:97c3:6d8::/48", "20473"}, + {"2a0a:acc1::/48", "3258"}, + {"2001:559:83a4::/48", "7922"}, + {"240e:7:5000::/37", "134420"}, + {"2605:bc0:1005::/48", "54201"}, + {"2a02:4e0:2400::/40", "16135"}, + {"2a02:2908::/29", "50010"}, + {"2001:559:762::/47", "7015"}, + {"2600:6c38:457::/44", "20115"}, + {"2800:870:1003::/32", "6762"}, + {"2a00:6960::/32", "60950"}, + {"240a:a79e::/32", "144600"}, + {"2a01:c50f:dec0::/34", "12479"}, + {"2a02:26f7:a5::/48", "20940"}, + {"2001:559:86b0::/48", "7922"}, + {"2001:67c:1830::/48", "3301"}, + {"2404:ef80::/48", "135944"}, + {"2408:8674::/28", "4837"}, + {"2804:537c::/32", "268587"}, + {"2a02:258::/32", "43097"}, + {"2a02:26f7:b602::/47", "20940"}, + {"240e:3b8:7800::/39", "4134"}, + {"2604:5500:9000::/38", "19165"}, + {"2605:3100:fffb::/45", "22906"}, + {"2804:14c:7d93::/41", "28573"}, + {"2a0a:1240::/35", "12440"}, + {"2804:79ac::/32", "271320"}, + {"2a02:26f7:e3c1::/46", "20940"}, + {"2a03:e40:47::/32", "202042"}, + {"2a04:f580:8010::/47", "4134"}, + {"2a0c:440::/32", "204419"}, + {"2a0d:5642:119::/48", "35487"}, + {"2a0e:6380::/29", "207902"}, + {"2401:d800:5c20::/41", "7552"}, + {"2402:800:3b71::/44", "7552"}, + {"2403:df40:113::/45", "14630"}, + {"240e:438:5a40::/37", "4134"}, + {"2a01:d0:29::/41", "29632"}, + {"2a02:26f7:dc4c::/48", "36183"}, + {"2a04:4e40:2a00::/47", "54113"}, + {"2a0e:b107:c30::/44", "140731"}, + {"2001:559:8038::/48", "33650"}, + {"2402:3a80:1e18::/45", "38266"}, + {"2405:e6c0::/32", "137532"}, + {"2407:c280:b100::/46", "211876"}, + {"240e:678:1000::/36", "4134"}, + {"2801:140:11::/48", "262249"}, + {"2a02:26f0:7401::/38", "20940"}, + {"2a0b::/29", "41453"}, + {"2408:8456:1f00::/42", "17622"}, + {"2804:56e0:8400::/33", "268029"}, + {"2a0d:65c0::/29", "208091"}, + {"2001:67c:2758::/48", "41618"}, + {"2001:df2:fe80::/48", "132906"}, + {"2405:1500:31::/41", "58717"}, + {"2408:8956:5300::/40", "17816"}, + {"240a:ab87::/32", "145601"}, + {"2804:1a30:8000::/39", "61844"}, + {"2a0f:70c0:100::/48", "207869"}, + {"2001:559:80de::/47", "7922"}, + {"2001:4868::/40", "701"}, + {"2400:9800:6016::/42", "24203"}, + {"2803:a110::/32", "271988"}, + {"2804:130::/32", "28264"}, + {"2804:1194:f000::/44", "263424"}, + {"2409:806b:1900::/34", "9808"}, + {"2606:2c0:2::/48", "14618"}, + {"2806:230:300e::/48", "265594"}, + {"2001:67c:23c4::/48", "21155"}, + {"2400:adc0:10::/45", "9541"}, + {"240e:45c:b500::/40", "140537"}, + {"2600:804:200::/48", "12234"}, + {"2804:14d:5200::/40", "28573"}, + {"2804:73e0:8040::/33", "270943"}, + {"2a11:af03::/32", "210625"}, + {"2401:d800:9e20::/41", "7552"}, + {"2405:4cc1:b00::/40", "55891"}, + {"2a00:e140::/32", "198161"}, + {"2a02:26f0:f400::/48", "34164"}, + {"2400:6280:133::/48", "132280"}, + {"2620:37:4000::/44", "36213"}, + {"2804:d40::/28", "7738"}, + {"2804:edc::/32", "263553"}, + {"2001:559:582::/48", "33287"}, + {"2001:559:82e3::/48", "7922"}, + {"2001:559:c311::/48", "33660"}, + {"2001:67c:1890::/48", "12552"}, + {"2001:c20:c812::/45", "3758"}, + {"2406:5900::/32", "3786"}, + {"2a00:c9c0::/32", "58002"}, + {"2a07:2dc0::/29", "57878"}, + {"2400:d400:1::/46", "45671"}, + {"2600:cc04:e000::/40", "62833"}, + {"2604:d600:c80::/47", "32098"}, + {"2605:a880::/48", "46261"}, + {"2a0b:4d07:201::/46", "44239"}, + {"2406:7400:70::/45", "24309"}, + {"2604:5200:1001::/48", "701"}, + {"2606:a300:f001::/36", "35847"}, + {"2620:171:2d::/46", "715"}, + {"2800:3c0:30a0::/39", "19863"}, + {"2001:559:c4a1::/48", "33650"}, + {"2001:67c:1640::/44", "43516"}, + {"2400:9380:9020::/47", "4809"}, + {"2408:8956:d8c0::/38", "17816"}, + {"2409:4073:1000::/34", "55836"}, + {"240e:109:8026::/48", "4134"}, + {"2606:5700::/32", "6580"}, + {"2001:67c:148::/48", "12991"}, + {"2001:c20:487e::/48", "9255"}, + {"2401:d800:bbe0::/37", "7552"}, + {"2402:7340:1::/46", "136557"}, + {"2408:8459:b830::/41", "17622"}, + {"2600:6c2e:110::/42", "20115"}, + {"2607:fdf0:5ee3::/45", "8008"}, + {"2804:4f78::/32", "268329"}, + {"2001:67c:20ac::/48", "20612"}, + {"2001:559:c374::/48", "7922"}, + {"2001:559:c3a7::/44", "7725"}, + {"2804:b:c002::/45", "14840"}, + {"2804:14d:1000::/42", "28573"}, + {"2806:2f0:8443::/43", "17072"}, + {"2408:8256:3976::/48", "17816"}, + {"240a:a156::/32", "142992"}, + {"240c:c0a9:1200::/40", "133512"}, + {"2602:fbda::/38", "38136"}, + {"2607:f8f0:610::/48", "393249"}, + {"2001:559:c23d::/48", "13367"}, + {"2406:54c0::/32", "140479"}, + {"2409:8924:f00::/35", "56046"}, + {"2800:640::/32", "262149"}, + {"2a02:c40::/46", "13000"}, + {"2a03:ec40::/29", "60800"}, + {"2a04:940::/47", "51407"}, + {"240a:aa36::/32", "145264"}, + {"240e:874:200::/40", "140638"}, + {"2804:485c:6a00::/32", "267116"}, + {"2a0e:97c0:6a0::/48", "206981"}, + {"240a:aa01::/32", "145211"}, + {"2606:2800:511a::/48", "14153"}, + {"2804:1bd0::/32", "61752"}, + {"240a:a3cc::/32", "143622"}, + {"2607:f5b1::/32", "27411"}, + {"2620:100:d000::/47", "33419"}, + {"2806:20d:1300::/37", "32098"}, + {"2001:559:255::/48", "7725"}, + {"2403:9800:b042::/44", "4648"}, + {"240a:a4f6::/32", "143920"}, + {"240e:264:a000::/36", "58772"}, + {"2607:f928:4002::/32", "22645"}, + {"2607:fdf0:5ee7::/44", "8008"}, + {"2620:119:50e1::/48", "14413"}, + {"2801:80:3e60::/48", "271467"}, + {"2804:52c0::/32", "268539"}, + {"2806:2a0:e00::/40", "28548"}, + {"2a01:8840:c::/48", "33280"}, + {"2a0c:1700:2::/47", "205112"}, + {"2a0c:b200::/29", "39782"}, + {"2a0e:b107:1960::/44", "210633"}, + {"2a0e:f780::/29", "208725"}, + {"2c0f:f5c0:483::/36", "29465"}, + {"2001:470:5f::/48", "198362"}, + {"240a:61:1e00::/48", "9605"}, + {"240a:ac45::/32", "145791"}, + {"2800:160:1248::/42", "14259"}, + {"2804:14c:8100::/40", "28573"}, + {"2804:7aac::/32", "271385"}, + {"2804:7ff4::/34", "271720"}, + {"2a09:1d80::/29", "62563"}, + {"2a0b:4d07:801::/48", "44239"}, + {"2401:4900:5810::/45", "45609"}, + {"2610:188::/32", "14511"}, + {"2620:0:cc3::/44", "36692"}, + {"2804:1ca4:8001::/41", "263010"}, + {"2a00:4400::/32", "8692"}, + {"2a03:5760::/46", "201900"}, + {"2001:4430:f::/48", "3786"}, + {"2804:6e6c::/32", "270596"}, + {"2806:230:6015::/48", "11888"}, + {"2a06:9800::/29", "6908"}, + {"2001:318::/32", "7522"}, + {"2001:67c:15a0::/48", "29208"}, + {"2404:bc0:4f00::/43", "137735"}, + {"2600:6c00:2::/47", "33588"}, + {"2600:6c38:855::/42", "20115"}, + {"2800:200:e2e1::/36", "12252"}, + {"2a01:8a60::/39", "60191"}, + {"2a02:26f7:eb00::/48", "36183"}, + {"2804:7ac4::/32", "271391"}, + {"2a02:88d:8110::/44", "48695"}, + {"2a02:26f7:e248::/48", "36183"}, + {"240a:a528::/32", "143970"}, + {"2001:418:1430:200::/44", "2914"}, + {"2604:d200::/32", "33470"}, + {"2a02:26f7:52::/48", "36183"}, + {"2a02:6680:f::/48", "16116"}, + {"2001:df1:e307::/48", "138603"}, + {"2804:2400::/32", "264195"}, + {"2804:37f0:8900::/35", "266445"}, + {"2001:44b8:604d::/48", "4739"}, + {"2404:ee80::/48", "63741"}, + {"2001:559:295::/48", "33651"}, + {"2401:c680:1400::/32", "133854"}, + {"2620:18:6000::/48", "396142"}, + {"2804:62bc:c0cb::/34", "269315"}, + {"2806:2f0:9841::/46", "17072"}, + {"2a01:6980::/32", "43291"}, + {"240a:a0da::/32", "142868"}, + {"2605:32c0:a003::/48", "16509"}, + {"2a05:f507:46::/42", "13443"}, + {"2a0b:f940:2af3::/35", "205373"}, + {"2001:978:4a00::/48", "51863"}, + {"2400:1a00:5::/32", "17501"}, + {"2401:d800:ff62::/40", "7552"}, + {"240a:a4e9::/32", "143907"}, + {"2602:80e:d000::/40", "45"}, + {"2803:5440:4053::/45", "264738"}, + {"2804:14c:de93::/41", "28573"}, + {"2804:1f00::/32", "11802"}, + {"2a0f:1c40::/29", "208229"}, + {"240a:ae61::/32", "146331"}, + {"2a0f:9d00::/29", "51711"}, + {"2804:b48::/32", "262732"}, + {"2a0c:8fc3::/40", "23470"}, + {"2001:510:203::/45", "376"}, + {"2620:11b:4002::/48", "19210"}, + {"2804:41f8:f304::/37", "267469"}, + {"2a00:f060::/32", "19399"}, + {"2a06:a006::/35", "61138"}, + {"2a07:2540::/29", "60991"}, + {"2a10:6e40::/32", "212635"}, + {"2c0f:f818::/32", "37090"}, + {"2404:4a00:6500::/64", "55423"}, + {"2606:2800:422b::/48", "14153"}, + {"2804:18:8f0::/44", "10429"}, + {"2804:fc0::/32", "263601"}, + {"2a02:2010:2120::/45", "20978"}, + {"2a0c:9a40:8089::/48", "202297"}, + {"2001:480:23::/48", "5058"}, + {"2409:8000:2c00::/35", "9808"}, + {"2a00:cd40::/32", "49113"}, + {"2001:420:4100::/37", "109"}, + {"2001:559:8460::/48", "33660"}, + {"2606:8e80:6020::/44", "32133"}, + {"2804:57c8::/32", "268086"}, + {"2a02:6c20::/46", "207167"}, + {"2a03:3320:387::/48", "209098"}, + {"2a07:59c3:45::/46", "203027"}, + {"2a11:cf40::/29", "60530"}, + {"2603:8075::/32", "20001"}, + {"2804:36d4::/32", "266375"}, + {"2804:3fa4::/32", "265904"}, + {"2a0a:ee80:8::/47", "43988"}, + {"2404:4e40:2::/32", "136429"}, + {"2801:80:1d20::/48", "265910"}, + {"2804:d28::/32", "52604"}, + {"2806:230:6020::/48", "265594"}, + {"2001:559:c2ce::/48", "33651"}, + {"2404:8000:aa::/45", "17451"}, + {"2408:8256:a68::/39", "17622"}, + {"2001:559:159::/48", "7015"}, + {"2600:1415:d001::/37", "20940"}, + {"2600:370f:3748::/47", "32261"}, + {"2607:6500::/32", "7794"}, + {"2a00:c80::/32", "48564"}, + {"2a03:f80:81::/48", "9009"}, + {"2620:12c:c000::/46", "395837"}, + {"2a06:c006::/31", "206766"}, + {"2a0e:eac0:2000::/44", "204582"}, + {"2409:8c20:7c92::/32", "56046"}, + {"240a:ab9e::/32", "145624"}, + {"2001:559:5fd::/48", "33659"}, + {"2001:128c:560::/34", "25933"}, + {"2409:8904:cf70::/40", "24547"}, + {"240a:aab6::/32", "145392"}, + {"2604:6f00::/32", "35985"}, + {"2620:12e:3000::/44", "25670"}, + {"2a00:fa40:3000::/33", "45012"}, + {"2a06:8c80::/29", "49223"}, + {"2a11:5703:b00b::/48", "212149"}, + {"2409:8053:1000::/47", "56047"}, + {"240c:c018::/32", "24350"}, + {"2804:f8c:3000::/33", "263591"}, + {"2804:11e0::/32", "263445"}, + {"2c0f:f510::/32", "327941"}, + {"2001:418::/48", "2914"}, + {"2402:800:9bb7::/41", "7552"}, + {"2800:9a5::/30", "14522"}, + {"2a0f:3540::/29", "60262"}, + {"2001:44b8:30c5::/46", "4739"}, + {"2804:e34:e000::/36", "61889"}, + {"2001:67c:2628::/48", "205016"}, + {"2400:89c0:1050::/46", "23724"}, + {"2600:1400:801::/35", "20940"}, + {"2a02:26f7:d441::/46", "20940"}, + {"2c0f:f568:3::/32", "37451"}, + {"240a:a2be::/32", "143352"}, + {"2606:40::/32", "36492"}, + {"2620:110:d000::/44", "26"}, + {"2001:678:6a8::/48", "39577"}, + {"2001:4408:6702::/36", "4758"}, + {"2401:d800:fb30::/41", "7552"}, + {"2604:9cc0:2::/45", "201106"}, + {"2604:d600:120a::/43", "32098"}, + {"2800:bf0:3bc1::/42", "27947"}, + {"2a07:7840::/29", "207390"}, + {"2a09:8280:1::/48", "40509"}, + {"2a0f:9400:7390::/46", "210815"}, + {"2600:1419:8401::/36", "20940"}, + {"2620:171:48::/47", "42"}, + {"2a07:6cc0:40::/47", "61098"}, + {"2401:af80::/33", "10010"}, + {"2402:800:9a71::/44", "7552"}, + {"2402:9e80:17::/48", "149500"}, + {"2406:da1e::/36", "16509"}, + {"2a00:c3c0::/32", "43928"}, + {"2405:201:9800::/34", "55836"}, + {"2a0e:ac00::/32", "48447"}, + {"2406:f040:bcd::/48", "131775"}, + {"240a:a8d4::/32", "144910"}, + {"2600:1404:9401::/36", "20940"}, + {"2620:52:8::/45", "22753"}, + {"2804:d30::/32", "52610"}, + {"2804:37f0:2900::/35", "266445"}, + {"2804:77f8::/32", "271211"}, + {"2a00:e20:144::/44", "25048"}, + {"240a:a274::/32", "143278"}, + {"2404:a640:63::/39", "133827"}, + {"2600:1010:b170::/40", "22394"}, + {"2602:800:c800::/38", "398642"}, + {"2607:f490::/32", "7029"}, + {"2804:26d8::/32", "53160"}, + {"2a01:b740:535::/36", "714"}, + {"2a02:2180::/32", "16245"}, + {"2a03:db40::/32", "61178"}, + {"2a07:6fc0:20::/29", "34549"}, + {"2001:49f0:d0f4::/44", "174"}, + {"2a02:4a00::/32", "48638"}, + {"2a10:e80::/29", "47289"}, + {"2001:559:785::/48", "33659"}, + {"2001:57a:a202::/36", "22773"}, + {"2402:800:367f::/40", "7552"}, + {"2402:b9c0::/32", "24259"}, + {"2605:a404:4f6::/39", "33363"}, + {"2a04:5c85:f002::/48", "47936"}, + {"2606:ae80:1430::/44", "19834"}, + {"2804:15e4:4::/47", "53001"}, + {"2a00:f740::/39", "28875"}, + {"2a10:8701::/30", "212109"}, + {"2400:d400:1337::/48", "45671"}, + {"2405:200:b00::/31", "55836"}, + {"2803:1300::/32", "52263"}, + {"2803:99e0:10::/44", "270020"}, + {"2402:c340:cacc::/34", "38047"}, + {"2804:7eac::/32", "271639"}, + {"2001:1aa0::/29", "12301"}, + {"2404:f000::/32", "18001"}, + {"2600:3c0f:6::/47", "63949"}, + {"2804:aac::/33", "52905"}, + {"2a0b:4f00::/32", "200807"}, + {"2a10:df40::/29", "211458"}, + {"2001:b08:14::/48", "28800"}, + {"2402:800:548d::/43", "7552"}, + {"2402:8100:20e3::/48", "45271"}, + {"2409:8a55:c000::/37", "56040"}, + {"240e:981:9000::/40", "58542"}, + {"2604:fbc0::/36", "13830"}, + {"2605:2c40::/40", "63210"}, + {"2607:ff68:11::/32", "46475"}, + {"2a02:26e8::/32", "51155"}, + {"2a06:c400::/44", "51559"}, + {"2a07:a440::/30", "42927"}, + {"2001:18c8:767::/40", "18982"}, + {"2804:5d88::/32", "268978"}, + {"2400:4480:4000::/34", "17426"}, + {"2606:9080::/32", "397122"}, + {"2a0c:9a47::/44", "209533"}, + {"2001:de8:b::/48", "9825"}, + {"2804:456c::/32", "266925"}, + {"2a02:26f7:cfcd::/42", "20940"}, + {"2804:48c::/32", "262699"}, + {"2001:49f0:d01b::/42", "174"}, + {"2610:b0:415a::/48", "21433"}, + {"2a06:4b00::/31", "51191"}, + {"2a12:bc0::/48", "50414"}, + {"2001:4878:a027::/48", "12222"}, + {"2408:886e::/31", "4837"}, + {"2409:8c1f:68f0::/35", "9808"}, + {"240a:a8ec::/32", "144934"}, + {"2607:fe78::/32", "3851"}, + {"2800:160:13e7::/43", "14259"}, + {"2a06:4600::/29", "200423"}, + {"240e:d9:e800::/48", "38283"}, + {"2607:7e80::/35", "395354"}, + {"2607:fae0:f001::/48", "8038"}, + {"2620:10e:d080::/41", "21538"}, + {"2001:ee0:8140::/38", "45899"}, + {"2001:4dd8::/32", "2116"}, + {"2620:62:c000::/48", "11820"}, + {"2a00:18c0::/32", "8402"}, + {"2001:559:8186::/48", "33490"}, + {"2001:1b70:82b6::/48", "158"}, + {"240a:ac5b::/32", "145813"}, + {"2600:1009:d020::/34", "22394"}, + {"2803:77a0::/32", "269876"}, + {"2a00:b404:f000::/36", "205867"}, + {"2001:fd8:33b0::/44", "4775"}, + {"2600:1404:6401::/36", "20940"}, + {"2605:a404:814::/42", "33363"}, + {"2804:2590::/32", "264288"}, + {"2a01:b880::/32", "1257"}, + {"2a04:9a00:1021::/46", "203396"}, + {"2404:8a00::/48", "17470"}, + {"2602:fed2:770f::/48", "53356"}, + {"2606:a600:fff0::/44", "23005"}, + {"2a00:e040:c08::/48", "60436"}, + {"2001:fd8:b280::/42", "132199"}, + {"2001:44b8:30cc::/48", "7545"}, + {"240a:2:ccc::/48", "9605"}, + {"240e:a7:7fea::/45", "140522"}, + {"2602:fed2:731e::/48", "53356"}, + {"2a0d:9240::/29", "210167"}, + {"240a:a6ef::/32", "144425"}, + {"2804:1b3:4180::/36", "18881"}, + {"2804:603c::/32", "269154"}, + {"2a00:1ca8::/42", "50673"}, + {"2001:428:4803::/48", "19603"}, + {"2001:1900:2018::/48", "10753"}, + {"2803:c310::/32", "23031"}, + {"2a00:cb20:3b00::/32", "60266"}, + {"2401:d800:2de2::/38", "7552"}, + {"2604:d600:15ea::/45", "32098"}, + {"2606:b180::/32", "63069"}, + {"2620:7:6000::/47", "62744"}, + {"2800:160:2e11::/33", "14259"}, + {"2804:33a8::/32", "265410"}, + {"2a01:89a0::/34", "31556"}, + {"2001:3c8:1306::/48", "137198"}, + {"2001:1248:5abe::/41", "11172"}, + {"2001:1248:a47f::/48", "11172"}, + {"2607:f408:1010::/45", "19871"}, + {"2620:11c:3000::/40", "31764"}, + {"2804:1248::/33", "263467"}, + {"2804:7e10::/32", "271600"}, + {"2606:2800:60c::/47", "15133"}, + {"2804:7358::/32", "270909"}, + {"2001:579:f040::/40", "22773"}, + {"2405:ff00::/32", "132519"}, + {"2600:1417:4e::/47", "20940"}, + {"2a12:7800::/32", "42675"}, + {"2001:418:1401:24::/64", "2639"}, + {"240a:a61a::/32", "144212"}, + {"240a:a80a::/32", "144708"}, + {"2620:0:e20::/46", "1999"}, + {"2804:1370::/32", "61901"}, + {"2804:7538::/32", "271032"}, + {"2001:559:20c::/48", "33659"}, + {"2001:c20:7000::/44", "3758"}, + {"2a04:9ac2::/32", "20766"}, + {"2409:8028:30c1::/42", "56041"}, + {"2800:160:1f58::/42", "14259"}, + {"2a00:ccc2::/32", "59592"}, + {"2a10:4646:b::/48", "211693"}, + {"2600:141b:14::/48", "35994"}, + {"2607:f110:e1a0::/38", "21889"}, + {"2803:19c0::/32", "264605"}, + {"2001:6f8:1502::/36", "3257"}, + {"2001:da8:24a::/47", "23910"}, + {"2801:14::/48", "19429"}, + {"2a02:1318::/32", "25054"}, + {"2a0c:b240::/32", "202441"}, + {"2001:67c:758::/48", "204254"}, + {"2800:ba0:10::/48", "263812"}, + {"2a02:2010:2090::/45", "20978"}, + {"2a0d:4600::/29", "204319"}, + {"2a0e:6600::/29", "205516"}, + {"2001:250::/47", "23910"}, + {"2001:c38:b000::/36", "131090"}, + {"2001:1218:6042::/45", "278"}, + {"2402:ef03:b::/45", "7633"}, + {"2804:1888::/32", "61938"}, + {"2a02:26f7:cc90::/48", "36183"}, + {"2a0d:4a40::/29", "197706"}, + {"2001:590::/35", "3257"}, + {"2600:1417:c00::/48", "7713"}, + {"2a02:23d0::/32", "5435"}, + {"2a02:26f7:e209::/42", "20940"}, + {"2a0b:a0c0::/29", "59682"}, + {"2a11:7240::/29", "43114"}, + {"2a00:d10::/32", "20559"}, + {"2a01:190:160::/35", "1764"}, + {"2804:4978::/32", "267186"}, + {"2001:250:c32::/39", "23910"}, + {"2406:7900:9000::/47", "45328"}, + {"2a06:1287:330a::/45", "206499"}, + {"2001:678:2a4::/48", "206777"}, + {"2402:800:91a9::/43", "7552"}, + {"2402:3a80:1e08::/45", "38266"}, + {"240e:3ba:1800::/34", "4134"}, + {"2a00:1b50:11::/32", "8343"}, + {"2a0f:e0c0::/29", "7203"}, + {"2404:7180:c001::/46", "23848"}, + {"240e:3b1:7800::/39", "4134"}, + {"2604:2700::/39", "32181"}, + {"2804:1e38:4001::/45", "264415"}, + {"2001:559:42a::/48", "33657"}, + {"2402:ef2f:33::/48", "7633"}, + {"2a05:2c00::/30", "201559"}, + {"2a05:5800::/29", "200924"}, + {"2a0b:440:880::/32", "39921"}, + {"2001:550:d01::/46", "174"}, + {"2a0e:6300::/29", "210661"}, + {"2a0e:aa07:e02c::/48", "210370"}, + {"2001:400:6441:52::/58", "293"}, + {"2001:c20:5400::/34", "3758"}, + {"2806:2f0:2480::/48", "17072"}, + {"2001:4180::/32", "5409"}, + {"2402:800:59e0::/44", "7552"}, + {"2409:8a04:e300::/31", "24547"}, + {"240a:aad4::/32", "145422"}, + {"2600:6c18::/30", "20115"}, + {"2607:fcf8::/32", "26788"}, + {"2a0b:9b80::/29", "43332"}, + {"2001:559:c2ac::/48", "33287"}, + {"2001:df3:bc80::/48", "135067"}, + {"2600:1002:b0d0::/44", "6167"}, + {"2801:80:1be0::/48", "266521"}, + {"2804:74bc::/32", "271000"}, + {"2a02:214a::/29", "1241"}, + {"2a0b:7940::/29", "207541"}, + {"2a0f:9ac0::/29", "212144"}, + {"2600:370f:374a::/42", "32261"}, + {"2606:5540::/32", "40165"}, + {"2804:564::/32", "20044"}, + {"2404:d540::/47", "2501"}, + {"2407:d300::/32", "17819"}, + {"2a01:c50f:ca40::/39", "12479"}, + {"2400:cb00:20::/46", "13335"}, + {"2408:8957:c000::/40", "17622"}, + {"2602:fc4c::/36", "46082"}, + {"2803:7f60::/32", "52468"}, + {"2806:263:3300::/37", "13999"}, + {"2a02:26f7:ea91::/42", "20940"}, + {"2406:3400:700::/36", "10143"}, + {"240a:adab::/32", "146149"}, + {"240e:267:6400::/36", "4134"}, + {"2804:7704::/32", "271149"}, + {"2001:250:815::/48", "138182"}, + {"2001:1248:5970::/40", "11172"}, + {"2402:2980::/32", "134224"}, + {"2604:ca00:110a::/41", "36492"}, + {"2607:6980:e710::/44", "9009"}, + {"2620:100:9004::/47", "22843"}, + {"2a01:6f8::/32", "15580"}, + {"2405:1f00::/32", "38077"}, + {"240a:a0bb::/32", "142837"}, + {"240a:a592::/32", "144076"}, + {"2a0d:2581:1000::/36", "209261"}, + {"240a:a407::/32", "143681"}, + {"2600:9000:f140::/48", "16509"}, + {"2604:1580:fe03::/39", "54455"}, + {"2801:11a::/48", "14080"}, + {"2a0c:9a40:8280::/48", "207414"}, + {"2800:484:8b00::/35", "10620"}, + {"2804:13dc:cd00::/34", "262428"}, + {"2806:2f0:7041::/46", "17072"}, + {"2a01:9e00::/33", "41495"}, + {"2a0b:7e80:0:200::/29", "43372"}, + {"2600:1408:6001::/37", "20940"}, + {"2a04:5b81:1fff::/48", "202265"}, + {"2001:559:5b4::/48", "33662"}, + {"2001:648:2012::/40", "5408"}, + {"2400:380:9::/48", "4766"}, + {"2804:e1c:fc00::/38", "52545"}, + {"2a03:4b40:5401::/38", "50710"}, + {"2a04:79c0::/29", "59507"}, + {"2a0e:97c3:580::/48", "20473"}, + {"2803:2d60::/35", "14754"}, + {"2804:61b0::/32", "269250"}, + {"2400:bb40:4444::/48", "136787"}, + {"2402:800:7750::/42", "7552"}, + {"240a:a68e::/32", "144328"}, + {"2804:4bac::/32", "267323"}, + {"2a01:3e0:403::/36", "6453"}, + {"2001:1250:e200::/44", "22894"}, + {"2600:100c:f010::/31", "22394"}, + {"2804:b18:90::/41", "52941"}, + {"2a00:4802:3400::/44", "13124"}, + {"2408:84e1:140::/32", "4808"}, + {"2001:7a8:810::/44", "34019"}, + {"2408:8459:d180::/42", "134543"}, + {"2600:1003:b050::/45", "22394"}, + {"2801:12:1800::/48", "27951"}, + {"2804:2db4:4000::/32", "265298"}, + {"2804:2f1c:8300::/34", "264872"}, + {"2001:df2:5380::/48", "48024"}, + {"2400:ac00::/32", "45846"}, + {"2600:1407:9000::/48", "35994"}, + {"2600:1fa0:e080::/44", "16509"}, + {"2806:230:2022::/48", "265594"}, + {"2a09:4c0:402::/39", "58057"}, + {"2001:12a0:aaab::/33", "28292"}, + {"2001:b400:f218::/45", "17421"}, + {"2408:8456:1440::/39", "17816"}, + {"2600:1408:7001::/37", "20940"}, + {"2a02:26f7:e344::/48", "36183"}, + {"240e:67e:1000::/37", "140330"}, + {"2610:80::/34", "6079"}, + {"2801:80:1de0::/48", "267485"}, + {"2a0e:9640::/29", "44592"}, + {"2001:628:2000::/48", "1120"}, + {"2620:103:e0c9::/48", "13893"}, + {"2a00:4bc0:211a::/48", "31004"}, + {"2a00:f826:12::/42", "34549"}, + {"2a02:26f7:cf91::/42", "20940"}, + {"2001:16a2:4020::/45", "25019"}, + {"2409:8a54:c000::/37", "9808"}, + {"240e:698:4600::/40", "134756"}, + {"2600:1003:b150::/40", "22394"}, + {"2600:140f:6001::/37", "20940"}, + {"2605:8c80::/32", "6391"}, + {"2a02:2ab0:8620::/33", "702"}, + {"2a12:1d00::/35", "210103"}, + {"2606:2800:500b::/48", "15133"}, + {"2610:f0::/38", "22925"}, + {"2804:213c:2a::/32", "264544"}, + {"2a0c:2f44::/30", "59829"}, + {"240a:a08a::/32", "142788"}, + {"240a:ab0c::/32", "145478"}, + {"2604:4d40:acc::/48", "213073"}, + {"2804:6f54::/32", "270653"}, + {"2a0c:7340::/32", "204886"}, + {"240a:a78d::/32", "144583"}, + {"2606:4f00:4::/48", "19324"}, + {"2a05:eb40::/29", "200915"}, + {"2001:df6:2a80::/48", "135738"}, + {"2800:160:121b::/42", "14259"}, + {"2a01:6d00:12::/48", "48445"}, + {"2a02:ee80:41b5::/48", "3573"}, + {"2a07:3640::/29", "203179"}, + {"2406:e1c0:501::/38", "141459"}, + {"2600:100d:b130::/44", "22394"}, + {"2604:3fc0:3003::/36", "396300"}, + {"2607:8300:3000::/36", "13876"}, + {"2a00:8740:500::/40", "207490"}, + {"2a00:b405::/30", "12857"}, + {"2a02:26f7:dd49::/42", "20940"}, + {"2a02:26f7:ebc1::/46", "20940"}, + {"2a06:d700:4445::/29", "43892"}, + {"2001:559:82ed::/48", "7922"}, + {"2402:800:5a8d::/43", "7552"}, + {"2405:9800:c702::/36", "45430"}, + {"2602:feda:ae7::/48", "140913"}, + {"2804:2618::/32", "262362"}, + {"2804:7bb4::/32", "271449"}, + {"2a0e:fd45::/48", "47750"}, + {"2001:418:1401:18::/64", "20940"}, + {"2401:ab40:1::/48", "136961"}, + {"2804:3a50::/32", "14204"}, + {"2a00:5320::/32", "24953"}, + {"2604:bc0:3::/48", "18779"}, + {"2a01:8840:d::/48", "63403"}, + {"2a02:26f7:b784::/47", "36183"}, + {"2001:559:8516::/48", "33657"}, + {"2402:800:9a55::/42", "7552"}, + {"2403:9800:7000::/40", "4648"}, + {"2600:6c20:24d::/42", "20115"}, + {"2402:b740:8000::/47", "140867"}, + {"2600:370f:72e0::/48", "32261"}, + {"2605:1140:1::/48", "394142"}, + {"2a00:1830::/32", "24845"}, + {"2a02:26f7:dc4d::/42", "20940"}, + {"2600:1001:d0c0::/44", "6167"}, + {"2806:370:5390::/44", "28403"}, + {"2a02:ce0::/35", "35819"}, + {"2402:e380:30f::/48", "138631"}, + {"240e:438:8220::/43", "140647"}, + {"2a00:f440:b::/48", "48347"}, + {"2a02:26f7:e9c0::/48", "36183"}, + {"2600:141b:1800::/48", "35994"}, + {"2607:f4e8:14::/48", "23059"}, + {"2804:23c0:2100::/32", "26218"}, + {"2a02:26f7:ea4c::/48", "36183"}, + {"2a12:a840::/31", "47556"}, + {"2001:dce:7800::/48", "38064"}, + {"2001:df0:456::/48", "55904"}, + {"240a:a637::/32", "144241"}, + {"2a05:7280::/32", "202173"}, + {"2a0f:f380::/29", "60262"}, + {"2400:7400:71::/45", "38044"}, + {"240a:ac0e::/32", "145736"}, + {"2405:4803:40a::/36", "18403"}, + {"240e:3b6::/35", "134773"}, + {"2600:1413:c000::/48", "24319"}, + {"2a02:9b0:a::/43", "35819"}, + {"2001:559:81e0::/46", "7015"}, + {"240e:14:1000::/36", "140330"}, + {"2800:160:12e6::/44", "14259"}, + {"2a00:9120:1::/46", "60680"}, + {"2001:67c:2e9c::/48", "8742"}, + {"2001:1248:88ee::/43", "11172"}, + {"2001:1a11:27::/41", "8781"}, + {"2402:e380:300::/48", "132316"}, + {"2600:250f::/32", "26801"}, + {"2600:370f:40a8::/41", "32261"}, + {"2803:6604:e401::/39", "28075"}, + {"2a02:26f7:e7cd::/46", "20940"}, + {"2001:579:400c::/42", "22773"}, + {"2001:550:2200:100::/54", "174"}, + {"2001:67c:2a40::/48", "20712"}, + {"240a:a2ac::/32", "143334"}, + {"2604:4b00::/32", "26123"}, + {"2a0b:60c0::/29", "205655"}, + {"2001:559:800e::/43", "7922"}, + {"2400:6280:16::/47", "132280"}, + {"240e:db:8800::/48", "38283"}, + {"2600:6c38:ac0::/39", "20115"}, + {"2804:49c:4203::/48", "7162"}, + {"2a00:1618::/29", "12577"}, + {"2a04:eac0::/29", "201878"}, + {"2001:fd8:f2f0::/44", "4775"}, + {"2a02:578:7400::/38", "9031"}, + {"2408:8459:7a10::/42", "17623"}, + {"2804:6e4::/34", "262612"}, + {"2a0e:97c3:55a::/48", "20473"}, + {"2403:7bc0::/32", "133593"}, + {"2404:bf40:a1c0::/48", "7545"}, + {"2407:9240:2700::/40", "41378"}, + {"240e:438:6a20::/43", "140647"}, + {"2804:2cd4:50::/40", "265246"}, + {"2804:4c90::/32", "267378"}, + {"2a02:2560::/46", "21127"}, + {"2001:250:3430::/48", "138438"}, + {"2001:da8:7020::/48", "23910"}, + {"2401:d800:bbb0::/41", "7552"}, + {"2602:fd50:f::/48", "39975"}, + {"2620:15e:7101::/48", "30383"}, + {"2803:2240::/32", "263777"}, + {"2c0e:2007:200::/23", "5713"}, + {"2409:8915:7200::/39", "56044"}, + {"2604:1700::/48", "23237"}, + {"2620:a2:6000::/48", "40948"}, + {"2800:a40:a000::/35", "22080"}, + {"2001:678:ab4::/48", "208584"}, + {"2001:4878:a321::/45", "12222"}, + {"240e:267:8400::/36", "4134"}, + {"2603:90f5:1::/48", "20001"}, + {"2806:10a6:4::/43", "8151"}, + {"2a02:26f7:d601::/46", "20940"}, + {"2a06:13c0::/29", "206141"}, + {"2a0f:7c40::/29", "14037"}, + {"2409:8704:3f00::/33", "24547"}, + {"2620:13e::/44", "397327"}, + {"2801:80:9e0::/48", "263417"}, + {"2a02:e580::/29", "199339"}, + {"2001:16a2:4c00::/34", "25019"}, + {"240a:a07a::/32", "142772"}, + {"2a03:7c0::/32", "57704"}, + {"2001:67c:1164::/48", "24940"}, + {"2408:8256:376c::/43", "17623"}, + {"2606:2e00:8004::/46", "36351"}, + {"2804:5e48:f000::/40", "269023"}, + {"2804:6894::/32", "269702"}, + {"2a06:9c40::/29", "8769"}, + {"2001:67c:5ac::/48", "44204"}, + {"2001:df7:a401::/48", "134839"}, + {"2401:d800:2630::/41", "7552"}, + {"2408:80f1:10::/44", "17621"}, + {"2804:ac8:102::/40", "262672"}, + {"2804:1ee4::/32", "264452"}, + {"2a06:6f07:ffff::/48", "197164"}, + {"2001:df5:b880::/48", "63528"}, + {"240a:a418::/32", "143698"}, + {"2606:5e80::/32", "22379"}, + {"240e:108:1155::/44", "4134"}, + {"2600:1007:d000::/42", "6167"}, + {"2605:a401:8148::/43", "33363"}, + {"2a01:7d20:a00::/40", "203645"}, + {"2a02:c60::/32", "49985"}, + {"2409:8907:8620::/33", "24547"}, + {"2a00:1d38::/40", "50655"}, + {"2a09:bac0:56::/47", "13335"}, + {"2a10:1440::/29", "213035"}, + {"2001:eb0::/40", "9584"}, + {"2800:440:76::/48", "27738"}, + {"2a02:2e02:30e0::/39", "12479"}, + {"2001:500:70::/48", "30133"}, + {"240e:264:b000::/30", "4134"}, + {"2607:f6f0:a003::/48", "394749"}, + {"2800:8a0:4000::/32", "5722"}, + {"2a00:d000::/29", "34790"}, + {"2001:559:c34a::/47", "7015"}, + {"2403:8100:1000::/40", "24023"}, + {"240a:a0e1::/32", "142875"}, + {"240e:67e:c200::/39", "140329"}, + {"2600:6c39:627::/43", "20115"}, + {"2605:fec0::/32", "398852"}, + {"2607:f110:e110::/42", "21889"}, + {"2804:6d44::/32", "270521"}, + {"2a00:12f0::/32", "27970"}, + {"2a06:ee01::/32", "27552"}, + {"2001:df0:75::/48", "23767"}, + {"2401:d800:c60::/40", "7552"}, + {"2600:1806:30::/46", "16552"}, + {"2a00:4802:a00::/42", "13124"}, + {"2001:559:58d::/48", "7016"}, + {"2001:559:840a::/48", "33287"}, + {"2001:4878:2000::/48", "12222"}, + {"2001:4878:2225::/48", "12222"}, + {"2402:800:597f::/40", "7552"}, + {"240a:a4f5::/32", "143919"}, + {"2800:220:10::/48", "13585"}, + {"2a00:1190::/32", "16302"}, + {"2a00:1e48::/32", "20485"}, + {"2001:57a:801a::/42", "22773"}, + {"2804:5674::/32", "267999"}, + {"2a02:ee80:41be::/41", "3573"}, + {"240e:970::/29", "4134"}, + {"2804:14d::/47", "28573"}, + {"2804:1cbc::/32", "61672"}, + {"2a03:7960::/46", "47661"}, + {"2001:500:4431::/48", "396549"}, + {"2404:ffc0:2::/43", "62707"}, + {"2408:8456:2640::/36", "17816"}, + {"2408:8459:e410::/42", "17623"}, + {"240e:3b4:2800::/38", "4134"}, + {"2a03:5c00::/32", "29177"}, + {"2a0e:b107:980::/48", "213263"}, + {"2602:10f::/32", "33588"}, + {"2a00:f0e0:11::/41", "198499"}, + {"2001:559:7e7::/48", "7922"}, + {"2400:5280:3000::/38", "63199"}, + {"2406:4c40::/48", "135953"}, + {"2408:8456:2140::/40", "17816"}, + {"2a03:46c0::/32", "42525"}, + {"2001:559:8229::/48", "13367"}, + {"2408:84f3:9c10::/42", "134543"}, + {"2409:8054:61::/45", "56040"}, + {"2409:8907:7a20::/39", "24547"}, + {"2620:130:30c0::/48", "62861"}, + {"2804:2818::/44", "263940"}, + {"2804:3e60:150::/37", "266592"}, + {"2001:559:85be::/47", "20214"}, + {"2804:802c:150::/38", "271734"}, + {"2a04:4e40:3400::/48", "54113"}, + {"2404:3d00:40fa::/47", "21433"}, + {"2605:d600::/32", "13823"}, + {"2a01:a360::/32", "200030"}, + {"2a02:26f7:f8::/46", "36183"}, + {"2001:df4:f080::/48", "141214"}, + {"2401:d800:2520::/41", "7552"}, + {"2602:231::/32", "5056"}, + {"2800:3c0:3130::/32", "19863"}, + {"2a03:7400::/29", "39642"}, + {"2001:67c:270::/48", "202592"}, + {"2404:2480::/33", "135391"}, + {"240a:a2e0::/32", "143386"}, + {"2804:528c::/32", "268525"}, + {"2a02:e30:f00c::/48", "51636"}, + {"2408:8957:a200::/40", "17622"}, + {"240a:a79a::/32", "144596"}, + {"2803:e820::/32", "264750"}, + {"2001:250:5829::/48", "24363"}, + {"2408:840c:c300::/40", "17621"}, + {"2605:4c40:209::/42", "30081"}, + {"2606:2800:60e0::/48", "15133"}, + {"2804:7c60::/32", "271492"}, + {"2a01:70:ffff::/48", "25098"}, + {"2a03:adc0::/48", "42807"}, + {"2a12:4b00::/29", "204790"}, + {"2401:c440::/48", "135905"}, + {"2408:840c:a200::/40", "17621"}, + {"240a:abba::/32", "145652"}, + {"2600:1480:4801::/37", "20940"}, + {"2607:f0d0:6:1::/35", "36351"}, + {"2a02:4000::/32", "35361"}, + {"2a04:c00::/29", "41400"}, + {"2402:800:57e0::/44", "7552"}, + {"2404:4a00:1::/64", "55423"}, + {"240e:5f:600b::/48", "140313"}, + {"2804:6a7c::/32", "270339"}, + {"2a06:9000::/32", "25386"}, + {"2a0b:5ac0::/29", "202803"}, + {"2001:1620:2016::/32", "13030"}, + {"2409:8c3c:1400::/32", "24444"}, + {"2401:d800:fe20::/41", "7552"}, + {"2605:c1c0::/32", "63264"}, + {"2804:5104::/32", "268425"}, + {"2a02:26f7:c5c8::/48", "36183"}, + {"2a06:b00::/29", "3342"}, + {"2a0e:97c0:2e0::/47", "211544"}, + {"2001:1248:57cd::/46", "11172"}, + {"2001:4878:2259::/48", "12222"}, + {"2620:16e:f0f5::/48", "3147"}, + {"2a00:cd80:8000::/33", "30778"}, + {"2001:44b8:605f::/48", "4739"}, + {"240a:ab49::/32", "145539"}, + {"2001:418:1450::/48", "3938"}, + {"2404:c0:9900::/33", "23693"}, + {"2606:9740::/32", "400295"}, + {"2804:39ac::/32", "266043"}, + {"2a12:2540::/32", "56488"}, + {"2a03:5da0::/32", "201293"}, + {"2a0b:6b83:2000::/48", "208249"}, + {"2001:678:4bc::/48", "42214"}, + {"2604:2d80:ec00::/35", "30036"}, + {"2804:14d:9e87::/42", "28573"}, + {"2a0e:cf40::/29", "8823"}, + {"240a:a0e0::/32", "142874"}, + {"240a:a3a8::/32", "143586"}, + {"240a:aa1c::/32", "145238"}, + {"240e:ff::/32", "4134"}, + {"2600:1001:f010::/40", "22394"}, + {"2806:230:1005::/48", "11888"}, + {"2a06:f900:4000::/36", "56630"}, + {"2a0f:5385::/32", "208135"}, + {"2001:67c:3cc::/48", "56700"}, + {"2001:9b8::/46", "6774"}, + {"2402:e280:5900::/37", "134674"}, + {"240a:a5bf::/32", "144121"}, + {"2600:140f:9c00::/48", "9498"}, + {"2602:fc7a::/36", "399612"}, + {"2a0a:3680::/29", "34907"}, + {"240a:a04e::/32", "142728"}, + {"2600:1005:a120::/36", "22394"}, + {"2604:d600:682::/45", "32098"}, + {"2a01:498::/37", "42018"}, + {"2a02:26f0:9a01::/39", "20940"}, + {"2a0c:a9c7:160::/48", "43832"}, + {"2001:250:5845::/44", "138371"}, + {"240a:a202::/32", "143164"}, + {"2a03:1c80::/32", "25222"}, + {"2a0c:8a40::/46", "9009"}, + {"2001:df7:c600::/48", "135905"}, + {"2409:8e79::/24", "9808"}, + {"2804:134c::/32", "263527"}, + {"240a:a57f::/32", "144057"}, + {"2a02:26f7:df80::/48", "36183"}, + {"2a0a:36c0::/29", "208457"}, + {"2a0a:3f40::/32", "50673"}, + {"2a12:5844:1212::/48", "209768"}, + {"2c0f:ec40::/33", "327936"}, + {"2001:da8:e801::/46", "138373"}, + {"2403:1400::/32", "24446"}, + {"2602:fdff::/36", "397376"}, + {"2804:7d0c::/32", "271535"}, + {"2a02:ee80:40c0::/47", "21433"}, + {"2403:18c0:1::/45", "54574"}, + {"2801:13e::/45", "19429"}, + {"2804:14d:8c00::/40", "28573"}, + {"2a02:1c8:10::/44", "24955"}, + {"2a04:4e40:1200::/48", "54113"}, + {"2a0a:eac2:1::/29", "31143"}, + {"2a0b:b1c0::/32", "28717"}, + {"2001:500:72::/45", "30133"}, + {"2801:16:6800::/48", "3549"}, + {"2a02:ff0:2000::/40", "12735"}, + {"2a09:7340::/32", "198985"}, + {"2a09:9000::/29", "34907"}, + {"2001:44c8:12a::/45", "45430"}, + {"2001:48e0::/32", "40498"}, + {"2402:ef2f:17::/48", "7633"}, + {"2406:7400:30::/47", "131269"}, + {"240a:afe7::/32", "146721"}, + {"240d:c010:1a::/47", "132203"}, + {"2804:302:4000::/35", "53237"}, + {"2a02:d480::/38", "680"}, + {"2a02:e400::/29", "199318"}, + {"2001:559:83c8::/48", "33659"}, + {"2001:1828::/32", "10297"}, + {"2604:d600:1543::/44", "32098"}, + {"2804:4a84::/32", "267245"}, + {"2a05:4140:6::/48", "211188"}, + {"2605:a404:b02::/43", "33363"}, + {"2a02:26f7:cb84::/48", "36183"}, + {"2001:559:c12d::/48", "13367"}, + {"240a:a2f1::/32", "143403"}, + {"240a:a9e3::/32", "145181"}, + {"2600:1415:1c01::/34", "20940"}, + {"2803:70a0::/32", "27855"}, + {"2804:1bc4::/32", "61748"}, + {"2804:3278::/32", "265080"}, + {"2a0d:8d06:1001::/48", "60557"}, + {"2402:a00:19::/41", "45916"}, + {"2409:896a:3e00::/39", "9808"}, + {"2a0d:4b40::/29", "61317"}, + {"2001:13e0::/32", "262178"}, + {"2600:1405:6001::/35", "20940"}, + {"2803:46e0::/47", "269953"}, + {"2a0f:52c1:1::/48", "212345"}, + {"2001:c20:48d1::/35", "3758"}, + {"2400:6c00::/32", "45838"}, + {"2620:109::/43", "10753"}, + {"2620:171:f00::/45", "42"}, + {"2a00:4cc4:4001::/48", "60109"}, + {"2001:67c:15a1::/48", "21430"}, + {"2402:7780::/47", "132933"}, + {"2406:daa0:9080::/44", "16509"}, + {"2408:8656:2ef1::/48", "17816"}, + {"2806:261:300::/37", "13999"}, + {"2a04:4480::/32", "211037"}, + {"2a07:2d00::/48", "202730"}, + {"2a0e:b107:1390::/44", "211231"}, + {"2402:800:3a7f::/40", "7552"}, + {"2402:5ec0::/35", "23724"}, + {"2804:64f8::/32", "269460"}, + {"2a02:26f7:b60d::/42", "20940"}, + {"2a02:26f7:dd00::/48", "36183"}, + {"2a03:4f20::/29", "200719"}, + {"240a:ad1b::/32", "146005"}, + {"240a:ae55::/32", "146319"}, + {"2600:803:271::/37", "701"}, + {"2605:5c0:c144::/48", "28885"}, + {"2607:f710:85::/48", "19624"}, + {"2401:fcc0::/32", "55699"}, + {"2408:8409:3c00::/40", "4808"}, + {"240a:a8cf::/32", "144905"}, + {"240a:acf0::/32", "145962"}, + {"2600:6c38:e0e::/47", "20115"}, + {"2a00:1418:f::/48", "41391"}, + {"2a02:ff0:ffff::/48", "12735"}, + {"2a07:3503:1033::/48", "208492"}, + {"2600:6c10:c0::/43", "20115"}, + {"2a01:5f0::/32", "35592"}, + {"2a0f:b4c1::/32", "57487"}, + {"2001:559:82a5::/48", "33657"}, + {"2001:678:30::/48", "48283"}, + {"2001:1248:9889::/48", "11172"}, + {"240a:af57::/32", "146577"}, + {"2001:559:749::/46", "33650"}, + {"2402:7500:4b3::/45", "24158"}, + {"2600:1017:b8a0::/44", "22394"}, + {"2600:9000:a400::/43", "16509"}, + {"2602:fdc2:55::/48", "397720"}, + {"2607:fae0:a000::/35", "8038"}, + {"2804:31ec::/32", "265045"}, + {"2804:32cc::/32", "265098"}, + {"2804:44d4::/32", "267656"}, + {"2a01:1101:5::/48", "29535"}, + {"2001:559:282::/48", "33657"}, + {"240a:ada0::/32", "146138"}, + {"2804:14c:b388::/41", "28573"}, + {"2804:1654::/33", "263282"}, + {"2a05:d050:80d0::/42", "16509"}, + {"2405:84c0:fcf5::/48", "211686"}, + {"240a:af5d::/32", "146583"}, + {"240e:37a:1a00::/34", "140330"}, + {"2a00:d40:1::/48", "2597"}, + {"2a02:26f7:f781::/46", "20940"}, + {"2a12:4180::/29", "51088"}, + {"2001:678:b1c::/48", "20676"}, + {"2402:800:9eb1::/44", "7552"}, + {"2409:8050:1100::/37", "9808"}, + {"2409:8635::/24", "9808"}, + {"240a:a259::/32", "143251"}, + {"2803:f860::/32", "262186"}, + {"2804:1ca8::/32", "61667"}, + {"2a03:4b20::/32", "56912"}, + {"2a03:7c80::/32", "25176"}, + {"2a0b:33c0:6::/48", "57395"}, + {"2804:f9c::/32", "263595"}, + {"2a12:a307:1::/48", "138330"}, + {"2001:559:320::/48", "7922"}, + {"2001:44b8:1060::/45", "7545"}, + {"240e:980:8d00::/40", "137693"}, + {"2600:140f:800::/48", "9498"}, + {"2800:bf0:80e8::/45", "52257"}, + {"2804:5e2c:f000::/36", "269016"}, + {"2a01:5b0:2e::/48", "50611"}, + {"2a0e:1a80::/31", "30633"}, + {"2001:df1:bd80::/48", "139742"}, + {"2001:4410:2004::/43", "132040"}, + {"2401:3480::/36", "23724"}, + {"2804:78e0::/32", "271271"}, + {"2800:490::/36", "27951"}, + {"2a00:1d28::/32", "8523"}, + {"2a01:5041:4efd::/48", "202196"}, + {"2a02:88d:10::/44", "48695"}, + {"2a00:86c0:2042::/43", "2906"}, + {"2a09:2900::/48", "212710"}, + {"2a0d:2146:be12::/40", "50801"}, + {"2001:67c:285c::/48", "213199"}, + {"2401:7400:6020::/36", "4773"}, + {"2408:84f3:dc40::/38", "17816"}, + {"240e:44d:3600::/42", "140345"}, + {"2607:8600::/32", "13692"}, + {"2a07:6fc7::/32", "34549"}, + {"2001:4bf0::/48", "34623"}, + {"2400:7400:10::/47", "23736"}, + {"2401:2a00::/35", "7468"}, + {"2408:84f3:f690::/36", "17816"}, + {"2804:1034::/32", "263624"}, + {"2806:230:1019::/48", "11888"}, + {"2a03:f580::/47", "15763"}, + {"2c0f:f918::/32", "37002"}, + {"2001:559:c2e1::/46", "33657"}, + {"2001:579:a1fd::/35", "22773"}, + {"2001:2030:c006::/28", "1299"}, + {"2409:803c:1900::/37", "9808"}, + {"2800:ba0:14::/48", "27796"}, + {"2804:978::/32", "263087"}, + {"2804:20f8:1100::/32", "264524"}, + {"2a05:d03a:8000::/40", "16509"}, + {"2001:559:86ae::/48", "7922"}, + {"2408:8256:2c84::/43", "17623"}, + {"240a:aded::/32", "146215"}, + {"2600:1017:b0b0::/41", "6167"}, + {"2600:1417:53::/48", "9498"}, + {"2a03:7380:600::/40", "13188"}, + {"2001:67c:1038::/48", "59480"}, + {"2405:4bc0::/32", "137677"}, + {"2604:6600:26::/41", "40676"}, + {"2620:83:8000::/48", "16"}, + {"2620:98:c000::/48", "11810"}, + {"2401:9140::/46", "136897"}, + {"2001:57b:1243::/36", "22773"}, + {"2804:190:240::/40", "53165"}, + {"2804:2aec::/32", "265125"}, + {"2001:559:c19b::/48", "7015"}, + {"2409:8904:62b0::/39", "24547"}, + {"2605:9d80:9042::/48", "4809"}, + {"2001:559:830e::/48", "33659"}, + {"2001:4060::/33", "6772"}, + {"2401:38c0::/32", "58915"}, + {"240a:aa99::/32", "145363"}, + {"240a:ac39::/32", "145779"}, + {"2602:fed2:710d::/48", "53356"}, + {"2606:2800:447::/44", "15133"}, + {"2a00:a220::/32", "13287"}, + {"2a02:b48:8b00::/30", "39572"}, + {"2401:f940::/32", "132839"}, + {"2a05:1084:7400::/40", "138990"}, + {"2a09:bac0:470::/48", "13335"}, + {"2a0a:cec0::/29", "47926"}, + {"2001:678:2c0::/48", "206740"}, + {"2406:d500:2::/45", "136557"}, + {"2806:20d:5043::/45", "32098"}, + {"2a0f:2a00::/48", "60236"}, + {"2001:550:2204::/46", "174"}, + {"2001:559:87d5::/48", "7922"}, + {"2001:67c:2894::/48", "3292"}, + {"2001:df0:1040::/48", "138277"}, + {"240e:45c:2a00::/40", "131285"}, + {"2804:553c::/32", "268698"}, + {"2600:1406:a400::/48", "35994"}, + {"2600:6c38:242::/45", "20115"}, + {"2804:2bdc:601::/36", "265181"}, + {"2804:5fe4::/32", "269130"}, + {"2a02:26f7:e0c8::/48", "36183"}, + {"2a07:3501:1060::/48", "39686"}, + {"2001:559:c37d::/48", "33651"}, + {"2408:8459:1b10::/42", "17623"}, + {"2804:2f4::/32", "53118"}, + {"2806:20d:5807::/44", "32098"}, + {"2a02:26f7:da84::/48", "36183"}, + {"2a09:5c0::/29", "202204"}, + {"2a0b:4340:3000::/38", "48024"}, + {"2001:df2:a600::/48", "45320"}, + {"2402:e280:2320::/37", "134674"}, + {"2600:200::/28", "7029"}, + {"2600:1005:a100::/43", "6167"}, + {"2607:fea0::/46", "16578"}, + {"2804:4368::/37", "267568"}, + {"2c0f:f948::/48", "37582"}, + {"2001:559:29a::/48", "7015"}, + {"2001:559:c019::/46", "33490"}, + {"2001:df3:3580::/48", "45325"}, + {"2600:1405:2::/44", "20940"}, + {"2603:7::/32", "398789"}, + {"2607:f740:27::/48", "36236"}, + {"2620:11a:a00a::/48", "36040"}, + {"2804:1b04:d::/48", "53048"}, + {"2a06:e540:2::/39", "203600"}, + {"2a0b:6d80::/29", "31477"}, + {"2001:a10::/39", "8308"}, + {"240a:a4be::/32", "143864"}, + {"2804:7f08:19::/34", "271662"}, + {"2a02:26f7:f100::/48", "36183"}, + {"2a0e:b107:1770::/44", "210631"}, + {"2001:1830::/32", "16559"}, + {"2409:8731:1000::/29", "9808"}, + {"240a:aa26::/32", "145248"}, + {"2600:1488:6001::/40", "20940"}, + {"2606:e800::/39", "25843"}, + {"2804:2f1c::/32", "264872"}, + {"2001:559:8675::/48", "33650"}, + {"2803:9a40:4001::/32", "263824"}, + {"2804:20c4::/32", "264513"}, + {"2a03:4e0::/32", "59897"}, + {"2001:146a::/32", "51032"}, + {"2001:48c8:18::/32", "29791"}, + {"2409:8018:28f0::/47", "9808"}, + {"2620:139:2000::/40", "396912"}, + {"2804:e28:100::/32", "52547"}, + {"2a00:9060::/32", "8778"}, + {"2a02:2540::/32", "8258"}, + {"2a04:f780:1000::/36", "134512"}, + {"2a05:4880::/29", "199811"}, + {"2a0d:1b80::/32", "204664"}, + {"2001:559:595::/48", "7922"}, + {"2803:1720::/32", "266815"}, + {"2804:4e48::/32", "268251"}, + {"2a00:d5c0::/29", "196890"}, + {"2a11:d240::/29", "204790"}, + {"2600:6c38:b13::/44", "20115"}, + {"2800:d300::/33", "11830"}, + {"2804:3c0:4::/32", "28605"}, + {"2a06:4c00::/32", "20473"}, + {"2401:4900:46c0::/43", "45609"}, + {"2a07:4580::/36", "46261"}, + {"2401:5180::/32", "31216"}, + {"240e:3bc:ac00::/35", "4134"}, + {"2804:4704::/32", "267026"}, + {"2a09:8040::/29", "42611"}, + {"2620:118:3000::/40", "46476"}, + {"2001:418:1401:4::/64", "20940"}, + {"2001:67c:2d00::/48", "205597"}, + {"240e:3b5:ac00::/35", "4134"}, + {"2a03:69e0::/32", "51784"}, + {"2001:67c:358::/48", "50262"}, + {"2001:4408:6300::/37", "4758"}, + {"2400:1700:300::/46", "45166"}, + {"2402:5c40:5c40::/48", "64089"}, + {"2800:160:12b1::/44", "14259"}, + {"2a02:4d8::/32", "41589"}, + {"2a02:26f7:b988::/48", "36183"}, + {"2001:44b8:1a::/47", "4739"}, + {"2605:1e80:4000::/32", "14380"}, + {"2620:3d:a000::/48", "14410"}, + {"2a00:55a0:f900::/40", "9009"}, + {"2a0d:3c43::/32", "51659"}, + {"2001:559:c125::/46", "33659"}, + {"2001:4c08:2002::/44", "3356"}, + {"2001:253:141::/32", "38272"}, + {"2408:84f3:be40::/33", "17816"}, + {"240a:ab15::/32", "145487"}, + {"2804:641c:f000::/36", "269407"}, + {"2a04:1640::/29", "60610"}, + {"2a09:a4c7:9000::/34", "208861"}, + {"2a0f:b880::/29", "208060"}, + {"2001:44c8:4880::/41", "45430"}, + {"2a02:2f0c:d000:32::/57", "8708"}, + {"2804:4b34::/32", "267290"}, + {"2804:74fc::/32", "271016"}, + {"2a01:7a00:b01::/32", "51701"}, + {"2400:6280:107::/48", "132280"}, + {"2400:f640::/32", "18231"}, + {"2620:171:800::/44", "42"}, + {"2600:5400::/32", "19108"}, + {"2a00:dec0::/32", "29695"}, + {"2a02:ebc0::/29", "52126"}, + {"2600:802:1101::/46", "701"}, + {"2600:6c10:81c::/37", "20115"}, + {"2a02:970::/37", "44002"}, + {"2001:678:5c::/48", "198147"}, + {"2605:6ac0:4000::/36", "32751"}, + {"2620:cb::/48", "3549"}, + {"2804:1d20:640::/34", "264349"}, + {"2804:74f4::/46", "271014"}, + {"2806:2f0:4681::/46", "17072"}, + {"2806:1070:401::/48", "3905"}, + {"2a00:bfe0::/32", "41088"}, + {"2a04:9dc0::/42", "9009"}, + {"2a0a:b387::/32", "35048"}, + {"2600:1017:b430::/40", "6167"}, + {"2607:3100::/32", "13994"}, + {"2804:5ddc::/32", "268997"}, + {"2804:5ff4::/32", "269136"}, + {"2804:7f24:a::/32", "271669"}, + {"2400:0:810::/41", "4766"}, + {"2404:d0:b::/32", "6648"}, + {"2600:1402:1a::/45", "35994"}, + {"2a02:348:ad::/41", "35470"}, + {"2a02:e08::/32", "41601"}, + {"2a04:cc00::/29", "30781"}, + {"2001:df3:8800::/48", "36351"}, + {"2409:8055:3028::/47", "9808"}, + {"240a:a566::/32", "144032"}, + {"240a:a7c8::/32", "144642"}, + {"2600:1415:9001::/34", "20940"}, + {"2804:3540::/32", "266277"}, + {"2800:440:9a00::/42", "27738"}, + {"2806:286::/33", "265524"}, + {"2a03:c980:e5::/48", "210079"}, + {"2804:744:b0b2::/33", "262632"}, + {"2a03:2880:f078::/40", "32934"}, + {"2a06:1480::/29", "39371"}, + {"2001:559:17e::/48", "33651"}, + {"2001:1a11:151::/45", "8781"}, + {"2408:8256:3a80::/48", "17816"}, + {"2409:8028:8f5::/44", "56041"}, + {"240a:a71f::/32", "144473"}, + {"2800:970::/32", "27787"}, + {"2a00:e180::/32", "57353"}, + {"2a0e:aa06:405::/44", "209306"}, + {"2400:6880:2c00::/32", "9652"}, + {"2604:bc0:4::/48", "30176"}, + {"2806:21b::/47", "19332"}, + {"2a02:2e02:1d50::/42", "12479"}, + {"2a0c:3240::/29", "51134"}, + {"2804:a44::/32", "262675"}, + {"2a09:3504::/32", "208861"}, + {"2405:2000:ff00::/40", "6453"}, + {"2408:8459:b250::/37", "17816"}, + {"2602:807:9000::/44", "11043"}, + {"2605:4c40:43::/39", "30081"}, + {"2a03:2b40::/32", "16143"}, + {"2a06:6541:4101::/48", "8220"}, + {"2001:13e8::/32", "11815"}, + {"2402:800:9371::/40", "7552"}, + {"2600:1406:e401::/36", "20940"}, + {"2a02:26f7:bc84::/48", "36183"}, + {"2a0d:2583:ab00::/40", "148971"}, + {"2001:559:8412::/48", "7015"}, + {"2804:45a4::/32", "266940"}, + {"2a02:26f7:e8c4::/48", "36183"}, + {"2a02:e980:107::/44", "19551"}, + {"2404:f4c0:f9c3::/48", "142281"}, + {"240a:a05f::/32", "142745"}, + {"240e:966:e600::/36", "4134"}, + {"2800:160:2003::/45", "14259"}, + {"2800:860:b0c::/32", "262197"}, + {"2806:2f0:40a3::/41", "17072"}, + {"2001:559:826d::/48", "33287"}, + {"2404:bf40:82c0::/48", "7545"}, + {"2602:fea1::/36", "20018"}, + {"2804:60d4:7002::/32", "269194"}, + {"2a01:1c0::/32", "29513"}, + {"2402:800:582b::/41", "7552"}, + {"2402:3a80:1ef3::/39", "38266"}, + {"2a00:4080::/48", "41609"}, + {"2a12:df00:3800::/32", "210462"}, + {"2409:8c85:430::/35", "9808"}, + {"2605:9480:1000::/39", "31775"}, + {"2804:2b68::/32", "265152"}, + {"2804:6e58::/32", "270590"}, + {"2402:e280:220f::/43", "134674"}, + {"2408:84f3:dc10::/42", "134543"}, + {"240a:a390::/32", "143562"}, + {"2600:6c10:f827::/44", "20115"}, + {"2610:20:90a0::/44", "3477"}, + {"2804:669c::/33", "269571"}, + {"2a03:b8c0:12::/45", "202276"}, + {"2a0e:97c0:3f0::/46", "212539"}, + {"2001:559:87cb::/48", "33650"}, + {"2001:1a11:102::/44", "42298"}, + {"2001:4878:4001::/48", "35994"}, + {"2402:800:37fe::/36", "7552"}, + {"2620:b8:8000::/48", "15199"}, + {"2804:739c::/32", "270926"}, + {"2801:80:38b0::/48", "270348"}, + {"2804:14ec::/32", "263359"}, + {"2804:4904::/32", "267159"}, + {"2a02:26f0:8901::/40", "20940"}, + {"2a0e:b107:ae0::/44", "210980"}, + {"2001:678:134::/48", "206725"}, + {"240a:a670::/32", "144298"}, + {"240a:a881::/32", "144827"}, + {"2600:c00::/32", "14744"}, + {"2602:feda:190::/45", "142025"}, + {"2a00:18f0:1e00::/48", "25432"}, + {"240e:1f:e000::/26", "4134"}, + {"2a01:190::/42", "1764"}, + {"2001:1248:88b0::/47", "11172"}, + {"2401:d800:51a2::/38", "7552"}, + {"2409:8915:5e00::/39", "56044"}, + {"240a:a0a9::/32", "142819"}, + {"2804:65ac::/32", "269507"}, + {"2a03:6600::/32", "44124"}, + {"2600:1417:63::/48", "24319"}, + {"2620:74:2f::/41", "7342"}, + {"2806:2f0:70c3::/42", "17072"}, + {"2a09:7240::/29", "210662"}, + {"2001:1248:5582::/45", "11172"}, + {"2409:8087::/39", "56048"}, + {"2602:ff96:81::/46", "40676"}, + {"2804:14d:4cbb::/41", "28573"}, + {"2408:8426::/31", "4837"}, + {"240a:aa65::/32", "145311"}, + {"2804:6394::/32", "269370"}, + {"2a02:26f7:cd51::/46", "20940"}, + {"2a02:26f7:df40::/48", "36183"}, + {"2a03:c380::/32", "21309"}, + {"2605:8840::/32", "397867"}, + {"2a02:26f7:b840::/48", "36183"}, + {"2a02:26f7:c985::/46", "20940"}, + {"2a02:26f7:dd01::/46", "20940"}, + {"2409:8914:aa00::/39", "56044"}, + {"240a:a915::/32", "144975"}, + {"2600:3502:d000::/31", "396998"}, + {"2803:e100::/32", "27971"}, + {"2804:6004:c000::/34", "269140"}, + {"2001:67c:2b88::/48", "51200"}, + {"2804:2018::/32", "264464"}, + {"2a03:47c0:2281::/37", "21277"}, + {"2a05:7180::/29", "35684"}, + {"2402:800:7a00::/42", "7552"}, + {"240a:af8c::/32", "146630"}, + {"2804:14c:4189::/42", "28573"}, + {"2a02:2278:205::/43", "28907"}, + {"2a02:26f7:ebc0::/48", "36183"}, + {"2a02:cb43:8002::/48", "20546"}, + {"2408:8956:c500::/40", "17816"}, + {"240a:a128::/32", "142946"}, + {"240e:a66:1a00::/34", "140330"}, + {"2405:9ac0::/32", "131920"}, + {"2408:8957:be00::/40", "17622"}, + {"240a:a6af::/32", "144361"}, + {"2600:140f:4801::/39", "20940"}, + {"2600:6c2e:e0f::/40", "20115"}, + {"2001:43f8:ac0::/48", "37356"}, + {"2402:800:7a30::/39", "7552"}, + {"2409:8924:bf00::/33", "56046"}, + {"2800:160:1c2b::/43", "14259"}, + {"2001:678:49c::/48", "44574"}, + {"2401:d800:72b0::/41", "7552"}, + {"2406:3000:11:2006::/44", "4657"}, + {"2804:53f0:f000::/36", "268617"}, + {"2a0a:adc0::/47", "50705"}, + {"2c0f:fef8::/43", "15399"}, + {"2001:67c:7a8::/48", "57720"}, + {"2402:800:91c5::/42", "7552"}, + {"2409:804d:3900::/30", "9808"}, + {"2a0c:fd00::/29", "43541"}, + {"2c0f:eaf8::/32", "328581"}, + {"2404:be00::/32", "55799"}, + {"240a:a4cc::/32", "143878"}, + {"2602:fef4::/48", "54721"}, + {"2a02:6680:1166::/48", "16116"}, + {"2a0a:7880:101::/48", "206677"}, + {"2402:800:3663::/43", "7552"}, + {"2606:fa80::/32", "18616"}, + {"2804:370c::/32", "266386"}, + {"2a02:26f7:ce08::/48", "36183"}, + {"2a02:2988::/32", "24916"}, + {"2a0b:70c0::/32", "206420"}, + {"2a10:b9c0:ffff::/48", "213346"}, + {"2001:254::/33", "24489"}, + {"240a:a24c::/32", "143238"}, + {"2600:1411:6000::/64", "4788"}, + {"2804:2da4::/32", "265294"}, + {"2a00:16d8:53::/32", "42695"}, + {"2404:bf40:e003::/45", "7545"}, + {"2406:8800:9021::/46", "17465"}, + {"240a:ab34::/32", "145518"}, + {"2800:bf0:a10c::/38", "27947"}, + {"2a0c:4480:6::/47", "204720"}, + {"2a0f:5707:ac01::/48", "139589"}, + {"2401:d800:fdc0::/42", "7552"}, + {"2404:138:4011::/48", "134227"}, + {"2409:807c:1100::/36", "9808"}, + {"240a:ab4d::/32", "145543"}, + {"2a02:28a8::/32", "51800"}, + {"2a02:fac0::/32", "58220"}, + {"2001:df2:1000::/47", "132335"}, + {"2600:1488:a361::/40", "20940"}, + {"2804:2958::/32", "264010"}, + {"2a06:ac00::/29", "41405"}, + {"2a0f:5880::/29", "204860"}, + {"2400:9380:9cc0::/44", "136167"}, + {"2607:fb28:10::/48", "29384"}, + {"2803:5ce0:600::/40", "54235"}, + {"2a03:5840::/48", "199586"}, + {"2001:df3:fc00::/48", "134548"}, + {"2408:8957:7b00::/40", "17816"}, + {"240a:a468::/32", "143778"}, + {"240e:6b8:3000::/32", "4134"}, + {"2803:f6e0::/32", "269976"}, + {"2001:df0:1580::/48", "138906"}, + {"2402:ef1e:200::/48", "7633"}, + {"2409:8050::/47", "56047"}, + {"2600:6c38:d1f::/42", "20115"}, + {"2a02:26f7:bd8d::/46", "20940"}, + {"2a02:cb80:4250::/47", "43766"}, + {"2a0c:8fc3:8000::/40", "23470"}, + {"2001:559:c348::/48", "22909"}, + {"2001:df7:6800::/51", "59194"}, + {"2605:b7c0::/32", "30177"}, + {"2a02:26f7:f60c::/48", "36183"}, + {"2a0e:5340::/29", "42306"}, + {"2001:559:83c7::/48", "33491"}, + {"2401:fd80:ff00::/45", "139853"}, + {"2402:8100:27a2::/44", "55644"}, + {"2600:9000:1e1f::/42", "16509"}, + {"2604:9f00::/32", "27364"}, + {"2607:f8e0::/32", "21947"}, + {"2a01:7b60::/32", "48223"}, + {"2a04:440::/32", "12324"}, + {"2a0f:ad40::/32", "41090"}, + {"2001:559:c1ca::/48", "21508"}, + {"2001:df0:30f::/48", "9255"}, + {"2409:807e:1100::/36", "9808"}, + {"240a:afda::/32", "146708"}, + {"2602:fcd3:1::/48", "212934"}, + {"2607:2480:b::/48", "46887"}, + {"2a02:28f8::/48", "31323"}, + {"2a0e:46c4:2500::/40", "142039"}, + {"2620:100:6011::/42", "19679"}, + {"2806:2f0:93e3::/37", "17072"}, + {"2a02:26f7:ba::/48", "36183"}, + {"2001:4998:ef71::/40", "10310"}, + {"2404:4e40::/47", "136429"}, + {"2404:bf40:e903::/40", "139084"}, + {"2804:517c::/32", "268455"}, + {"2a02:26f7:49::/48", "20940"}, + {"2406:e400:deae::/41", "7642"}, + {"2600:1417:3c::/48", "24319"}, + {"2600:6c21:803::/45", "20115"}, + {"2606:2800:647::/48", "15133"}, + {"2620:0:d50::/48", "17244"}, + {"2a09:6800::/29", "50308"}, + {"2001:559:55a::/48", "33651"}, + {"2001:df0:d080::/48", "134337"}, + {"2402:68c0:a000::/36", "137432"}, + {"2607:fe28:5040::/32", "53347"}, + {"2a01:5a60::/32", "200487"}, + {"2a05:b680:1::/48", "34450"}, + {"2001:fd8:301e::/47", "132199"}, + {"2600:1f70:1000::/40", "16509"}, + {"2409:8924:6500::/38", "56046"}, + {"240e:3ba:ac00::/35", "4134"}, + {"2610:e8:1901::/33", "6224"}, + {"2804:3138:d001::/43", "265000"}, + {"2a01:8840:85::/48", "207266"}, + {"2a0e:97c7:160::/48", "42394"}, + {"2001:559:8068::/48", "33657"}, + {"2001:559:c225::/48", "33491"}, + {"2606:2400:1003::/32", "36295"}, + {"2803:bc00::/39", "52438"}, + {"2804:4ccc:8000::/33", "267393"}, + {"2a05:52a0::/30", "201401"}, + {"2401:d800:5430::/41", "7552"}, + {"240a:a4a1::/32", "143835"}, + {"240a:ab2f::/32", "145513"}, + {"2600:380:ac80::/38", "7018"}, + {"2603:f840::/26", "397165"}, + {"2001:400:201:7::/57", "293"}, + {"2001:559:836b::/45", "7015"}, + {"2001:da8:e817::/48", "24368"}, + {"2400:9380:90c0::/44", "136167"}, + {"2401:c5c0:4::/41", "55492"}, + {"2804:1320::/32", "263517"}, + {"2a02:17f9::/32", "35548"}, + {"2a02:2430::/46", "39869"}, + {"2405:1c0:6111::/45", "55303"}, + {"2403:e100::/35", "58601"}, + {"2606:9780::/32", "394141"}, + {"2800:bf0:3044::/38", "27947"}, + {"2804:18:6068::/37", "10429"}, + {"2804:1c2c::/35", "262869"}, + {"2804:5720::/32", "268046"}, + {"2402:800:5d7f::/40", "7552"}, + {"240e:3b0:2800::/38", "4134"}, + {"2804:2778:5000::/36", "263903"}, + {"2a02:ac80:c1::/43", "25145"}, + {"2a04:f480:8000::/34", "25373"}, + {"240a:a76e::/32", "144552"}, + {"2602:fd45::/36", "398419"}, + {"2604:b500::/32", "11045"}, + {"2a0e:b107:ea2::/48", "134478"}, + {"2001:a48:8000::/36", "15851"}, + {"2400:9d80::/47", "58714"}, + {"240a:abe6::/32", "145696"}, + {"240a:acea::/32", "145956"}, + {"240a:ade3::/32", "146205"}, + {"2a03:90a0::/32", "49251"}, + {"2c0f:ede8::/34", "328510"}, + {"2001:4258::/32", "37084"}, + {"2401:d800:d422::/41", "7552"}, + {"2404:fa80::/32", "132111"}, + {"2605:4a40:e00::/32", "13786"}, + {"2605:9c40::/32", "23420"}, + {"2620:111:8000::/46", "32771"}, + {"2a00:1140:3::/38", "44806"}, + {"2001:510:20b::/45", "376"}, + {"2001:67c:210c::/48", "29683"}, + {"240a:ae4a::/32", "146308"}, + {"2600:40f1:102::/28", "701"}, + {"2607:9000:4000::/32", "11878"}, + {"2a01:53c0:ffe8::/47", "54994"}, + {"2a02:f58::/35", "49409"}, + {"2a09:bac0:497::/48", "13335"}, + {"2404:4e00:200::/47", "32787"}, + {"240e:1f:8002::/34", "58543"}, + {"2607:fe28:10::/48", "398119"}, + {"2803:a180::/32", "28118"}, + {"2804:9d4:7000::/32", "262996"}, + {"2a0f:3d80::/48", "30633"}, + {"2001:250:3000::/43", "24357"}, + {"2001:4388:6::/48", "202818"}, + {"2408:8956:e500::/40", "17816"}, + {"2600:1003:a810::/37", "22394"}, + {"2606:a9c0::/32", "399826"}, + {"2a02:c58::/32", "29217"}, + {"2a03:e140:41::/48", "44056"}, + {"2409:8c34:4500::/32", "9808"}, + {"2401:d800:5e90::/42", "7552"}, + {"2401:da40::/32", "134548"}, + {"2607:fa70::/34", "19855"}, + {"240a:a0ea::/32", "142884"}, + {"2a02:26f7:bdcc::/48", "36183"}, + {"2a02:5f81::/32", "8359"}, + {"2001:3c8:4007::/48", "137241"}, + {"2001:559:306::/48", "22909"}, + {"2a09:be45::/30", "211444"}, + {"2001:559:8064::/48", "7725"}, + {"2408:8957:ba00::/40", "17622"}, + {"2409:8a04:5400::/34", "24547"}, + {"2600:3500:1200::/31", "396998"}, + {"2605:e740:ff04::/46", "398710"}, + {"2a12:a1c0::/29", "400522"}, + {"2409:804f:3900::/32", "9808"}, + {"2a03:7380:6400::/42", "13188"}, + {"2a06:8040::/29", "41332"}, + {"2a09:3e40::/29", "41327"}, + {"2a0f:8647:b00b::/48", "212149"}, + {"2600:140f:3601::/36", "20940"}, + {"2605:9d80:9033::/48", "4809"}, + {"2a01:8840:61::/48", "207266"}, + {"2a10:9980:254::/48", "39110"}, + {"2408:8256:3b9b::/48", "17816"}, + {"2804:14d:5cde::/42", "28573"}, + {"2806:2f0:40e0::/39", "17072"}, + {"2a09:be40:3000::/46", "208483"}, + {"2a0a:fe00::/30", "207072"}, + {"2a0e:b107:12c0::/44", "141445"}, + {"2001:678:920::/48", "209487"}, + {"2001:b28:f23f::/48", "62014"}, + {"2001:df0:401::/48", "9357"}, + {"240a:aa13::/32", "145229"}, + {"2600:1806:419::/48", "16552"}, + {"2600:6c20:e59::/31", "20115"}, + {"2001:559:c50f::/48", "7922"}, + {"2401:d800:99e0::/38", "7552"}, + {"2a00:4d60::/32", "12969"}, + {"2a0c:7bc0::/29", "51092"}, + {"2a0d:1000::/29", "206264"}, + {"2402:ef2e:b::/31", "7633"}, + {"2804:5320::/32", "268565"}, + {"2a02:26f7:b640::/47", "36183"}, + {"2402:800:fa80::/42", "7552"}, + {"240a:a4b1::/32", "143851"}, + {"2605:a401:8b6b::/40", "33363"}, + {"2a02:26f7:ec::/48", "36183"}, + {"2404:b280:c000::/34", "141461"}, + {"240a:a656::/32", "144272"}, + {"2600:100e:a010::/39", "6167"}, + {"2605:a404:3c6::/42", "33363"}, + {"2001:579:bf07::/33", "22773"}, + {"2001:fd8:3380::/42", "132199"}, + {"2402:6800:3::/45", "55429"}, + {"240a:a782::/32", "144572"}, + {"2600:1a0f:2001::/32", "46650"}, + {"2400:4800::/32", "9790"}, + {"2403:eb00::/32", "132267"}, + {"2409:8010:3100::/30", "9808"}, + {"2409:8055:44::/48", "9808"}, + {"2604:d600:1c15::/46", "32098"}, + {"2607:f6f0:c000::/40", "29884"}, + {"2a02:26f7:bd41::/46", "20940"}, + {"2a02:26f7:d045::/46", "20940"}, + {"2a05:6440::/29", "49544"}, + {"2409:8910::/30", "9808"}, + {"240a:a5e2::/32", "144156"}, + {"240e:3bd:7a00::/32", "140313"}, + {"2605:a404:c0::/46", "33363"}, + {"2606:f900:a801::/37", "812"}, + {"2607:da00::/39", "15164"}, + {"2001:1248:a4e7::/43", "11172"}, + {"2001:4420::/32", "4782"}, + {"2401:f80::/32", "9268"}, + {"2602:fdb0::/36", "21853"}, + {"2a01:d0:31e::/35", "29632"}, + {"2a02:26f7:f641::/46", "20940"}, + {"2404:2440:dada::/48", "138521"}, + {"2408:8956:5c00::/40", "17622"}, + {"2806:230:4046::/36", "11888"}, + {"2001:67c:15d0::/48", "52201"}, + {"2001:c38:90b0::/39", "9931"}, + {"2602:ffa3::/36", "22921"}, + {"2800:160:1d4d::/43", "14259"}, + {"2a10:9400::/32", "212499"}, + {"2406:dd80::/35", "398704"}, + {"2407:3000:6e::/32", "17707"}, + {"240e:438:2a40::/37", "4134"}, + {"2804:3ca0::/32", "61599"}, + {"2a01:8840:9d::/48", "207266"}, + {"2a02:26f7:ecc4::/48", "36183"}, + {"2a02:f600::/29", "199139"}, + {"2001:5b0:5b00::/40", "6621"}, + {"2405:4000:800:2::/61", "38082"}, + {"2602:fe68:ff0::/44", "26370"}, + {"2607:fb50:1a00::/34", "22781"}, + {"2607:fdf0:5e22::/45", "8008"}, + {"2001:559:179::/46", "33650"}, + {"2408:8456:5e00::/42", "17622"}, + {"2804:14d:2483::/41", "28573"}, + {"2804:3e60:500::/38", "266592"}, + {"2a0a:4380::/29", "60924"}, + {"2404:8d06:2000::/40", "133543"}, + {"2600:1012:a120::/36", "22394"}, + {"2804:145c:501::/33", "263327"}, + {"2806:2f0:4341::/46", "17072"}, + {"2400:4d40:257::/39", "134204"}, + {"240e:44d:7600::/42", "140345"}, + {"2803:7dc0::/32", "265725"}, + {"2806:2f0:38c::/36", "17072"}, + {"2a00:4840::/29", "198967"}, + {"2604:f400:9::/48", "29930"}, + {"2c0f:e8e8::/32", "327750"}, + {"240a:a9eb::/32", "145189"}, + {"2804:4770:8000::/47", "267054"}, + {"2804:545c::/32", "268645"}, + {"2a00:1eb8:e000::/45", "8764"}, + {"2a01:bb24:100::/48", "14618"}, + {"2001:579:418c::/38", "22773"}, + {"2804:571c::/32", "268044"}, + {"2804:7e60::/32", "271620"}, + {"2409:8a3c:5100::/32", "24444"}, + {"2a06:3e87::/32", "198507"}, + {"2c0f:f7a8:8050::/48", "4134"}, + {"2001:a98::/42", "8517"}, + {"240e:c2:2000::/31", "4134"}, + {"2804:8fc::/32", "263043"}, + {"2804:15bc::/32", "28184"}, + {"2a02:26f7:d5c4::/48", "36183"}, + {"2a02:26f7:e90d::/46", "20940"}, + {"2001:67c:20d8::/48", "5603"}, + {"2403:3b40::/32", "55933"}, + {"2600:805:809::/38", "701"}, + {"2605:ed00:6887::/48", "3834"}, + {"2a02:2ad0:245::/46", "702"}, + {"2a10:8640::/31", "198525"}, + {"2804:e30:411::/45", "11338"}, + {"2a02:26f7:c2c9::/42", "20940"}, + {"2a02:26f7:ebc8::/48", "36183"}, + {"2001:1248:55bd::/46", "11172"}, + {"2600:100d:ff00::/44", "6167"}, + {"2801:176::/44", "19429"}, + {"2a01:2b0::/29", "12552"}, + {"2a06:96c0::/29", "60517"}, + {"2a0b:9f00::/29", "47973"}, + {"2001:678:3cc::/48", "206155"}, + {"240e:3be:3e00::/33", "140308"}, + {"2a02:e980:185::/44", "19551"}, + {"2a0f:cc81::/30", "208861"}, + {"2001:bf0::/41", "12732"}, + {"2001:13d0:100c::/38", "7303"}, + {"2405:200:300::/36", "55836"}, + {"240a:a47b::/32", "143797"}, + {"2602:fd00::/44", "147297"}, + {"2620:13a:d000::/36", "395605"}, + {"2a03:3700::/33", "15774"}, + {"2001:4950::/32", "20205"}, + {"2408:84f3:b640::/36", "17816"}, + {"240a:a712::/32", "144460"}, + {"2001:559:3ba::/48", "33657"}, + {"240a:a165::/32", "143007"}, + {"240a:a72a::/32", "144484"}, + {"240e:438:9c20::/43", "140647"}, + {"2600:1401:1::/46", "21342"}, + {"2600:6c10:20::/43", "20115"}, + {"2600:6c38:22a::/43", "20115"}, + {"2a02:26f7:b981::/46", "20940"}, + {"240a:ad26::/32", "146016"}, + {"2600:1806:319::/48", "16552"}, + {"2602:fd9a::/44", "54613"}, + {"2604:9a00::/32", "30633"}, + {"2607:f8f0::/40", "271"}, + {"2800:370:3::/48", "28006"}, + {"2806:370:8140::/42", "28403"}, + {"2a07:a880:4601::/46", "42675"}, + {"2a0d:5c80::/29", "200899"}, + {"2001:67c:1280::/48", "34883"}, + {"2001:44b8:604f::/48", "4739"}, + {"240a:aa89::/32", "145347"}, + {"2600:6c34:18a::/48", "33588"}, + {"2801:1f:b000::/48", "266715"}, + {"2a05:5f80::/29", "210855"}, + {"2402:3680::/32", "135543"}, + {"2606:2800:4ab8::/46", "15133"}, + {"2804:5ac4:2060::/43", "263432"}, + {"2a0b:4340:6::/48", "205603"}, + {"2a11:9c0::/32", "211075"}, + {"2001:579:1130::/41", "22773"}, + {"2800:160:222c::/41", "14259"}, + {"2a00:1eb8:c000::/48", "198651"}, + {"2a01:290::/32", "30781"}, + {"2001:1248:96b9::/41", "11172"}, + {"2001:1900:2385::/42", "3356"}, + {"2400:9380:8301::/48", "4134"}, + {"2403:b100:2013::/48", "394749"}, + {"2405:6e00:f840::/48", "133612"}, + {"2604:5500:e800::/38", "19165"}, + {"2a06:cd40:300::/48", "60781"}, + {"2402:3a80:1c70::/45", "38266"}, + {"240a:a843::/32", "144765"}, + {"2001:559:c0ef::/48", "33660"}, + {"2001:678:aa4::/48", "202297"}, + {"2001:1610::/32", "9008"}, + {"2803:4460::/32", "3549"}, + {"2001:df1:d900::/48", "136797"}, + {"2001:4bd8:52::/48", "199284"}, + {"2400:8500:5701::/48", "58791"}, + {"2404:dac0::/48", "140807"}, + {"2605:e900::/32", "122"}, + {"2804:40a0::/32", "265971"}, + {"2804:6164::/34", "262424"}, + {"2a03:1080::/32", "44395"}, + {"2a03:2480::/41", "41983"}, + {"2607:9e00:2002::/35", "30536"}, + {"2a04:4e40:5210::/41", "54113"}, + {"2001:559:83ec::/48", "7922"}, + {"2001:1980:2500::/33", "29838"}, + {"2804:13b0:2c00::/43", "263546"}, + {"2001:67c:150c::/48", "199302"}, + {"240a:af78::/32", "146610"}, + {"2604:82c0:1::/48", "62917"}, + {"2605:a404:c5f::/42", "33363"}, + {"2620:131:6000::/40", "16639"}, + {"2803:ec10:2::/32", "271880"}, + {"2a06:e881:7302::/40", "213151"}, + {"2406:8800:904b::/33", "17465"}, + {"2408:8459:fb00::/37", "17622"}, + {"240a:a64c::/32", "144262"}, + {"240e:c3:3000::/28", "4134"}, + {"2804:3f4::/32", "262407"}, + {"2a04:2e80:15::/48", "44272"}, + {"2a0b:90c0::/29", "205565"}, + {"2a0e:8f02:1040::/44", "204446"}, + {"2404:2440:abcd::/48", "138521"}, + {"2607:fb00::/32", "13760"}, + {"2620:103:2::/48", "27357"}, + {"2001:1878:401::/45", "4"}, + {"2407:f800:301::/37", "38182"}, + {"240a:a1dc::/32", "143126"}, + {"240a:a4e8::/32", "143906"}, + {"2804:214:8558::/38", "26615"}, + {"2a01:5880::/32", "20924"}, + {"2a06:bcc0:6::/44", "205272"}, + {"2001:d10:9400::/38", "135478"}, + {"2001:df6:6e80::/48", "142049"}, + {"2404:2600::/32", "4776"}, + {"2404:f900::/44", "58482"}, + {"2408:8456:a440::/38", "17816"}, + {"2600:1007:f100::/44", "6167"}, + {"2604:6600:2011::/37", "40676"}, + {"2001:49b8::/32", "21737"}, + {"2606:c000::/32", "2721"}, + {"2a02:970:3281::/32", "44002"}, + {"2a02:2778::/32", "35665"}, + {"2a02:6c20:810::/48", "208143"}, + {"2605:dec0::/32", "17303"}, + {"2804:5ba4::/32", "268860"}, + {"2001:250:5832::/48", "24363"}, + {"2402:d7c0:5::/46", "133234"}, + {"240a:a3cb::/32", "143621"}, + {"2a10:6700::/32", "399975"}, + {"2001:559:81c6::/48", "7016"}, + {"2001:559:c109::/48", "13367"}, + {"2804:79cc::/32", "271328"}, + {"2a10:1340::/29", "206775"}, + {"2001:df1:a800::/48", "133210"}, + {"2409:8c15:2100::/37", "56044"}, + {"240a:ab94::/32", "145614"}, + {"240e:45c:9300::/40", "140534"}, + {"2803:9800:b849::/40", "11664"}, + {"2804:502c::/32", "268373"}, + {"2804:6880::/32", "269696"}, + {"2001:559:7c4::/48", "7015"}, + {"2600:1f70:4000::/40", "16509"}, + {"2605:3380:4c00::/40", "12025"}, + {"2804:6844::/32", "269681"}, + {"2a04:3584::/30", "3308"}, + {"2001:250:7006::/47", "23910"}, + {"2001:559:b3::/45", "33490"}, + {"2409:8070:30ef::/43", "9808"}, + {"2803:c200:c200::/48", "22411"}, + {"2804:16a4::/32", "262977"}, + {"2a00:4020::/32", "24800"}, + {"2a00:de60::/32", "47999"}, + {"2001:559:8138::/47", "7725"}, + {"240a:a4cb::/32", "143877"}, + {"240e:e9:7800::/37", "4134"}, + {"2804:34e0::/32", "265486"}, + {"2a00:1728:d::/48", "198228"}, + {"2a04:6c40::/29", "5432"}, + {"2402:b400:4408::/42", "45960"}, + {"2404:e801:201b::/45", "55430"}, + {"2600:200a:3000::/48", "33517"}, + {"2a01:5a8:4:100::/46", "8866"}, + {"2a03:d000:8701::/46", "31133"}, + {"2c0f:f1a8::/32", "328237"}, + {"240e:3ba:7800::/39", "4134"}, + {"240e:438:4c20::/43", "140647"}, + {"2620:69:c000::/48", "62993"}, + {"2a02:26f0:c1::/46", "20940"}, + {"2a10:a100::/32", "16509"}, + {"2001:559:1af::/48", "33490"}, + {"2607:f6f0:9002::/39", "32323"}, + {"2a02:128:9::/48", "50685"}, + {"2405:3840::/32", "131957"}, + {"240e:904::/30", "23724"}, + {"2600:100c:d230::/34", "22394"}, + {"2600:6c38:820::/47", "20115"}, + {"2001:559:8164::/48", "33490"}, + {"2001:7fe::/32", "29216"}, + {"2001:df0:c180::/48", "139260"}, + {"2001:1248:b0a1::/48", "11172"}, + {"2001:4888:8023::/48", "6167"}, + {"2408:8956:d00::/40", "17816"}, + {"240a:a333::/32", "143469"}, + {"240e:983:1700::/48", "139201"}, + {"2602:fc71::/47", "400232"}, + {"2a09:9ec0::/48", "5606"}, + {"2001:67c:1380::/48", "61078"}, + {"240a:a41e::/32", "143704"}, + {"2600:6c10:f209::/46", "20115"}, + {"2a02:ee80:4290::/45", "3573"}, + {"2a0b:4d07:e01::/48", "44239"}, + {"2001:4998:65::/46", "10310"}, + {"2001:678:508::/48", "766"}, + {"240a:aefc::/32", "146486"}, + {"2610:30::/34", "30313"}, + {"2801:80:3550::/48", "268889"}, + {"2804:1b60::/32", "61724"}, + {"2804:4218:2100::/35", "267477"}, + {"2804:6f24::/32", "270641"}, + {"2a00:cf40::/32", "28902"}, + {"2a10:cc44:110::/48", "59922"}, + {"2001:250:84c::/48", "138182"}, + {"2402:6c80::/32", "23780"}, + {"2406:e000:321::/44", "23655"}, + {"2600:100a:9010::/40", "22394"}, + {"2602:fdf2::/36", "32639"}, + {"2620:27::/48", "10846"}, + {"2620:171:9::/48", "715"}, + {"2a0f:3cc7::/32", "59813"}, + {"2001:4430:4000::/39", "17853"}, + {"2401:803e:1000::/34", "9919"}, + {"2605:9700::/32", "46785"}, + {"2605:280::/32", "22709"}, + {"2804:5124::/32", "268433"}, + {"2a0c:93c0:8022::/48", "212465"}, + {"2001:559:554::/48", "20214"}, + {"2602:220::/32", "16532"}, + {"2a0c:7980::/29", "209372"}, + {"2a0f:5707:aaa0::/44", "205298"}, + {"240a:ab0d::/32", "145479"}, + {"2607:f480:411::/48", "27435"}, + {"2806:2f0:9ee1::/39", "17072"}, + {"2a0e:f7c0::/29", "57048"}, + {"2001:4bb8::/29", "8447"}, + {"240a:acd4::/32", "145934"}, + {"2620:103:200f::/48", "30539"}, + {"2800:bf0:8287::/44", "52257"}, + {"2a02:648::/32", "8804"}, + {"2a09:d2c1:a::/48", "209669"}, + {"2001:559:cd::/48", "33287"}, + {"2400:c540:c345::/37", "59238"}, + {"2603:c002:1610::/39", "31898"}, + {"2a00:8dc0::/32", "57811"}, + {"2a02:26f7:c884::/48", "36183"}, + {"2a02:26f7:d74d::/42", "20940"}, + {"2a02:cbe0::/31", "197029"}, + {"2a04:b647::/32", "28979"}, + {"2a0f:5701:3516::/48", "206499"}, + {"2406:ca00:1::/46", "4858"}, + {"2806:2f0:70a1::/46", "17072"}, + {"2a0e:fd40::/39", "44103"}, + {"2001:da8:e815::/46", "138373"}, + {"2408:8456:c040::/39", "17816"}, + {"2600:1009:b0f0::/44", "22394"}, + {"2a0a:1c00::/29", "207187"}, + {"2401:d800:5880::/42", "7552"}, + {"2404:f4c0:1101::/48", "24144"}, + {"2605:a404:2d9::/45", "33363"}, + {"2a00:4802:2800::/44", "13124"}, + {"2001:da8:e048::/37", "23910"}, + {"240a:a5e1::/32", "144155"}, + {"2804:4b0:110::/38", "262459"}, + {"2a03:5980::/32", "34391"}, + {"2a0b:4ec0::/29", "205692"}, + {"2001:4c30::/32", "9085"}, + {"2605:c900::/32", "26223"}, + {"2607:4300::/47", "55286"}, + {"2a00:afa0::/32", "62210"}, + {"2a03:d000::/39", "31213"}, + {"2407:9300:1::/45", "58765"}, + {"2a0a:90c0:104d::/43", "205080"}, + {"2401:4900:1bb0::/48", "45609"}, + {"240a:a645::/32", "144255"}, + {"2605:1bc0::/32", "16400"}, + {"2605:ae00::/33", "7819"}, + {"2804:11d4:800::/32", "263442"}, + {"2a0b:e7c0::/29", "205400"}, + {"2001:250:5060::/48", "24349"}, + {"2001:250:ff29::/31", "23910"}, + {"2001:559:330::/48", "7922"}, + {"240e:3bc:2800::/38", "4134"}, + {"2606:2800:4060::/46", "15133"}, + {"2806:230:6008::/48", "265594"}, + {"2806:2f0:30e1::/46", "17072"}, + {"2a01:a500:2567::/32", "42831"}, + {"2a06:1d00::/29", "30875"}, + {"2a0f:5940::/30", "209372"}, + {"2001:4878:b048::/48", "12222"}, + {"2a02:2698:5409::/38", "41843"}, + {"2a03:c20::/29", "50825"}, + {"2001:678:5a0::/48", "207946"}, + {"2408:8256:2d9c::/46", "17623"}, + {"240a:afb7::/32", "146673"}, + {"240e:438:8c40::/38", "4134"}, + {"2408:8456:7640::/36", "17816"}, + {"2a02:2b60:242::/32", "42947"}, + {"2001:fb0:109f:1a::/48", "7470"}, + {"2001:1938:3005::/39", "33438"}, + {"2408:840d:6c00::/42", "17621"}, + {"240a:a9b7::/32", "145137"}, + {"2800:be0::/38", "267848"}, + {"2804:135c::/32", "263530"}, + {"2a09:9443::/32", "206766"}, + {"2a10:5500:2002::/32", "33874"}, + {"2a11:6800:1::/48", "204957"}, + {"240e:438:5240::/37", "4134"}, + {"2804:e30:5e00::/39", "11338"}, + {"2a01:e14::/26", "12322"}, + {"2001:ee0:e600::/40", "45899"}, + {"2001:4d78:1900::/40", "15830"}, + {"2401:f980::/32", "63862"}, + {"240e:378:1a00::/34", "140330"}, + {"2600:6c38:72e::/47", "20115"}, + {"2804:853c::/32", "272566"}, + {"2a0b:6040::/32", "41821"}, + {"2401:d800:7d20::/41", "7552"}, + {"2a01:5580::/32", "29037"}, + {"2a11:7300::/29", "204790"}, + {"2409:8924:5700::/36", "56046"}, + {"240e:354:5c00::/34", "134419"}, + {"2620:171:6b::/45", "42"}, + {"2a00:c820::/32", "60330"}, + {"2a01:8840:c6::/44", "12041"}, + {"2a02:5440::/32", "198477"}, + {"240a:acf3::/32", "145965"}, + {"240e:44d:7440::/42", "140356"}, + {"2600:1488:c081::/38", "20940"}, + {"2602:fff9:f00::/40", "54839"}, + {"2605:a401:82b4::/41", "33363"}, + {"2803:4320::/32", "266734"}, + {"2806:265:5300::/37", "28481"}, + {"2a12:a140::/29", "400522"}, + {"2001:1a11:63::/45", "8781"}, + {"2001:2000:1000::/40", "3308"}, + {"240e:980:4200::/40", "58466"}, + {"2607:f898::/32", "13415"}, + {"2a02:6120::/32", "51333"}, + {"2a09:8280:50::/42", "40509"}, + {"2a10:ccc2:33::/36", "35619"}, + {"2001:559:8062::/48", "7922"}, + {"240e:3b9:9200::/36", "140317"}, + {"240e:3ba:8200::/35", "140316"}, + {"2604:d600:15da::/45", "32098"}, + {"2a02:2590::/32", "51615"}, + {"2400:1da0::/48", "140834"}, + {"2602:ff18:216::/48", "21973"}, + {"2804:1d68::/32", "264367"}, + {"2a00:99a0::/33", "28855"}, + {"2a04:78c0::/30", "24764"}, + {"2a0d:c740:1a::/48", "49367"}, + {"2600:6c7f:10::/48", "20115"}, + {"2a02:26f7:ba49::/42", "20940"}, + {"2001:559:1e7::/48", "33657"}, + {"2001:678:c::/48", "2484"}, + {"2001:4878:2228::/48", "12222"}, + {"2620:12c:7004::/48", "13652"}, + {"2a02:2498:9000::/47", "13213"}, + {"2401:4900:46a0::/44", "45609"}, + {"2605:b100::/40", "577"}, + {"2a02:26f7:dec8::/48", "36183"}, + {"2a03:a5a0:1::/48", "57152"}, + {"2a04:ebc0::/29", "30746"}, + {"2001:67c:2b4c::/48", "60218"}, + {"2409:8004:3116::/36", "24547"}, + {"2604:ca00:4b4::/41", "36492"}, + {"2607:fcd8::/42", "33182"}, + {"2801:140:10::/48", "42"}, + {"2804:248:4005::/46", "28598"}, + {"2a02:26f7:c003::/48", "20940"}, + {"2400:a980:6500::/36", "133111"}, + {"2405:11c0::/32", "134000"}, + {"240a:a6bd::/32", "144375"}, + {"2a05:bd40:d17::/48", "29264"}, + {"2a0f:cf00::/29", "30813"}, + {"2001:678:ba8::/48", "207722"}, + {"2a0e:1c40:1::/48", "208635"}, + {"2001:400:211:61::/36", "293"}, + {"2600:1008:d040::/36", "22394"}, + {"2804:5ce8::/33", "268938"}, + {"2606:5e00:f000::/36", "14576"}, + {"2620:20:8000::/48", "14618"}, + {"2a01:4280:2::/32", "31391"}, + {"2001:559:257::/48", "33287"}, + {"2804:14c:5700::/40", "28573"}, + {"2804:574:8::/34", "53013"}, + {"2804:2d48::/32", "265271"}, + {"2a09:5bc0::/29", "63023"}, + {"2001:559:4b9::/48", "33650"}, + {"240a:a80e::/32", "144712"}, + {"2a02:ee80:417e::/40", "3573"}, + {"2a05:d050:40a0::/44", "16509"}, + {"2804:1a90:9400::/33", "61868"}, + {"2a00:1da0:4004::/47", "51969"}, + {"2a02:240:100::/40", "28812"}, + {"2001:559:8744::/48", "7015"}, + {"2001:67c:2b14::/48", "29107"}, + {"2001:c20:c828::/43", "3758"}, + {"2001:1a11:74::/46", "42298"}, + {"2402:800:9ac5::/43", "7552"}, + {"240a:a2d0::/32", "143370"}, + {"240a:acf9::/32", "145971"}, + {"2607:f380::/36", "2152"}, + {"2a02:f200::/29", "33940"}, + {"2600:100e:ff20::/40", "6167"}, + {"2600:40f1:101::/48", "46639"}, + {"2603:7080::/28", "11351"}, + {"2606:8dc0::/32", "400202"}, + {"2804:5dc:48::/36", "53019"}, + {"2804:2fc0:6300::/32", "264910"}, + {"2001:250:1423::/38", "23910"}, + {"240a:a313::/32", "143437"}, + {"240e:a6:2000::/31", "4134"}, + {"2804:214:8408::/43", "26615"}, + {"2a01:5042:2003::/48", "202196"}, + {"2a10:c640:dead::/48", "211541"}, + {"2001:559:c1d9::/46", "33650"}, + {"2408:8957:8300::/40", "17816"}, + {"240a:ac83::/32", "145853"}, + {"2606:ff80:a::/48", "53259"}, + {"2804:f6c::/34", "263585"}, + {"2804:5b34::/32", "268827"}, + {"2804:692c::/32", "270253"}, + {"2a06:4100::/32", "206376"}, + {"2001:559:80cb::/48", "33657"}, + {"2804:1f3e::/32", "269324"}, + {"2a03:16e0::/32", "21235"}, + {"2a03:5640:f100::/42", "14618"}, + {"2001:da8:e80f::/48", "138373"}, + {"240a:a35c::/32", "143510"}, + {"2a03:54a0::/32", "49100"}, + {"240e:96c::/30", "4812"}, + {"2607:a680:f000::/36", "395092"}, + {"2620:132:f523::/38", "394977"}, + {"2804:161c:c00::/45", "263268"}, + {"2804:5410::/32", "268626"}, + {"2804:8564:2160::/43", "262313"}, + {"2806:2f0:9de1::/46", "17072"}, + {"2a01:4a0:51::/45", "201011"}, + {"2a02:26f7:efc9::/42", "20940"}, + {"240a:a9a4::/32", "145118"}, + {"2804:7f30:7c00::/32", "271672"}, + {"2a04:3080::/29", "29170"}, + {"2404:5d80:6000::/40", "54203"}, + {"2606:fe00::/32", "7828"}, + {"2a03:e600::/40", "1764"}, + {"2603:fc90::/26", "397165"}, + {"2800:160:21de::/42", "14259"}, + {"2a02:2370:8000::/48", "32787"}, + {"2a06:a005:20::/41", "210260"}, + {"2409:8054:3012::/47", "9808"}, + {"2001:4888:8064::/44", "22394"}, + {"2600:370f:3705::/42", "32261"}, + {"2806:2f0:7143::/42", "17072"}, + {"240e:6bb:1000::/36", "4134"}, + {"2a00:1caa::/32", "50673"}, + {"2804:38d0::/32", "266503"}, + {"2001:559:80aa::/48", "7922"}, + {"2401:d800:410::/42", "7552"}, + {"2409:8c79::/30", "9808"}, + {"2001:468:ce0::/44", "1312"}, + {"2001:4878:c037::/44", "12222"}, + {"2a01:398::/32", "24867"}, + {"2a06:c380::/29", "60721"}, + {"2401:b240::/46", "133001"}, + {"240e:97f:5000::/32", "4134"}, + {"2a00:efa0::/32", "6776"}, + {"2406:daa0:70c0::/44", "16509"}, + {"240a:a11e::/32", "142936"}, + {"2804:429c::/32", "267512"}, + {"2a02:26f7:fa00::/48", "36183"}, + {"2a0e:aa07:e200::/44", "210903"}, + {"2a10:ef40::/29", "212559"}, + {"240a:a1a0::/32", "143066"}, + {"2600:1408:f801::/31", "20940"}, + {"2602:802:b00c::/43", "397795"}, + {"2a04:2e80:21::/48", "44397"}, + {"2c0f:ed00::/48", "328442"}, + {"2a02:26f7:e184::/48", "36183"}, + {"2a09:bac0:131::/48", "395747"}, + {"2a0d:8240::/29", "210190"}, + {"2404:bf40:f001::/48", "2764"}, + {"240c:cb21::/32", "24360"}, + {"2801:80:2360::/47", "267310"}, + {"2a0e:97c0:381::/46", "211305"}, + {"2001:559:8450::/48", "33660"}, + {"2001:da8:ffd::/48", "24350"}, + {"2402:cf80:1000::/48", "62597"}, + {"2603:c0f0:2020::/39", "6142"}, + {"2607:f038:ffff::/48", "21527"}, + {"2a02:26f0:9e01::/39", "20940"}, + {"2402:e280:3da1::/45", "134674"}, + {"2406:e000:381::/44", "23655"}, + {"2607:f428:9140::/44", "19115"}, + {"2607:fd50::/32", "40015"}, + {"2001:559:15d::/48", "33491"}, + {"2001:df6:f400::/48", "132203"}, + {"240a:a6fd::/32", "144439"}, + {"240a:ad12::/32", "145996"}, + {"2602:fc97::/44", "399544"}, + {"2804:6c7c::/32", "270471"}, + {"2a02:26f7:bcd1::/42", "20940"}, + {"2a04:dcc0::/29", "201983"}, + {"2a10:b040:1::/45", "211582"}, + {"2a10:e780::/40", "212027"}, + {"2001:67c:27c::/48", "2494"}, + {"2001:13c7:7010::/48", "52224"}, + {"2408:8000:2::/47", "4837"}, + {"2607:f100::/32", "13776"}, + {"2804:6edc::/32", "270623"}, + {"2806:230:401a::/48", "265594"}, + {"2001:470:30::/48", "2033"}, + {"2401:8700:ff01::/45", "54994"}, + {"2402:1680:1::/46", "7590"}, + {"2804:1810:4000::/32", "263262"}, + {"2a02:2f00::/28", "8708"}, + {"2401:d800:a0::/41", "7552"}, + {"2401:d800:9d90::/42", "7552"}, + {"2603:40ff:4000::/36", "10578"}, + {"2801:140:fffe::/48", "262249"}, + {"2a02:26f7:1c::/48", "36183"}, + {"2001:559:8366::/47", "7015"}, + {"240a:a06a::/32", "142756"}, + {"240a:ac4f::/32", "145801"}, + {"2600:6c38:8c3::/44", "20115"}, + {"2a10:b740::/29", "202709"}, + {"2001:f28::/32", "9644"}, + {"2001:1248:98cb::/45", "11172"}, + {"2408:8026:480::/42", "17621"}, + {"2804:2990::/33", "264022"}, + {"2804:420c::/32", "267474"}, + {"2a00:8dc0:ff00::/45", "201029"}, + {"2403:ee00::/32", "9244"}, + {"2607:f930::/32", "675"}, + {"2804:4c14:ea01::/39", "267348"}, + {"2001:678:b64::/48", "30781"}, + {"240e:3:9000::/33", "4134"}, + {"2a03:9920::/32", "51546"}, + {"2a0d:8e40::/29", "40970"}, + {"2001:559:1c7::/48", "33287"}, + {"240a:a273::/32", "143277"}, + {"2a01:5420::/32", "199947"}, + {"2a01:74e0::/32", "205668"}, + {"2a0b:14c0:4::/48", "61273"}, + {"2a0f:6fc5:3e84::/48", "43694"}, + {"2620:149:a00::/48", "6185"}, + {"2a02:26f7:fa49::/42", "20940"}, + {"2a0b:4d07:1::/46", "44239"}, + {"2409:8d50::/30", "56047"}, + {"240e:964:e600::/36", "4134"}, + {"2600:370f:7164::/40", "32261"}, + {"2001:559:870a::/48", "33659"}, + {"2001:67c:2e88::/48", "198722"}, + {"2605:1c00:ff0::/44", "16787"}, + {"2804:254::/32", "262806"}, + {"2001:67c:2184::/48", "8365"}, + {"2405:9800:c903::/45", "45430"}, + {"2600:6c10:f22d::/46", "20115"}, + {"2604:2e8b:7c00::/32", "30036"}, + {"2803:9800:a905::/46", "11664"}, + {"2804:5c7c::/32", "268911"}, + {"2a11:7400:d1::/48", "3320"}, + {"2001:559:81ff::/48", "33657"}, + {"2401:3d00::/28", "17547"}, + {"240a:af1b::/32", "146517"}, + {"2a07:21c0::/29", "43260"}, + {"2a0c:b641:220::/46", "210890"}, + {"2a10:ccc0:300::/48", "56755"}, + {"2001:1a11:f0::/45", "42298"}, + {"2401:d800:b630::/41", "7552"}, + {"2402:800:5b9b::/42", "7552"}, + {"2803:d700:bb00::/33", "61461"}, + {"2804:72c4::/32", "270874"}, + {"2a02:27b8:2000::/48", "49278"}, + {"2a03:9d40:fe00::/39", "41095"}, + {"2a06:87c0::/29", "12655"}, + {"2001:67c:69c::/48", "47267"}, + {"2402:800:f780::/42", "7552"}, + {"2a02:26f7:bbc4::/47", "36183"}, + {"2a07:3500:1200::/48", "38915"}, + {"2803:d540::/32", "8053"}, + {"2a02:26f7:bd85::/46", "20940"}, + {"2001:559:823c::/48", "13367"}, + {"2001:559:c4fd::/46", "7922"}, + {"2001:67c:1370::/48", "29203"}, + {"240a:a64b::/32", "144261"}, + {"2a02:26f7:c204::/48", "36183"}, + {"2a10:8001:d000::/30", "8551"}, + {"2001:559:85e5::/46", "33491"}, + {"2405:ba00:887f::/48", "63295"}, + {"2407:7040::/32", "142299"}, + {"2600:140f:e00::/48", "9498"}, + {"2409:8008:d0::/47", "9808"}, + {"2803:6700:140::/48", "263210"}, + {"2a01:a280:8::/40", "35000"}, + {"2a02:2660::/32", "42459"}, + {"2a0b:b583::/48", "208175"}, + {"2001:559:107::/48", "7015"}, + {"2409:8904:d040::/42", "24547"}, + {"2804:1c3c::/32", "61642"}, + {"2a0d:97c0::/29", "208861"}, + {"2400:1d00::/32", "9656"}, + {"2804:43a8::/32", "267582"}, + {"2a01:c50f:43c0::/37", "12479"}, + {"2a09:3c00::/48", "6939"}, + {"240a:aa0a::/32", "145220"}, + {"2604:880:39f::/42", "29802"}, + {"2605:37c0:200::/34", "396469"}, + {"2605:a404:177::/44", "33363"}, + {"2408:8459:5e10::/42", "17623"}, + {"2804:10a4::/34", "263642"}, + {"2001:df1:8700::/48", "136735"}, + {"2404:b1:2000::/33", "9891"}, + {"2406:57c0:130::/47", "134672"}, + {"2804:114::/32", "262721"}, + {"2a0b:b87:ffe1::/48", "204994"}, + {"2a0e:eb00:1::/48", "43431"}, + {"2a0f:9400:7801::/46", "147028"}, + {"2001:16d8:deae::/34", "16150"}, + {"2401:4900:3360::/44", "45609"}, + {"2405:b900:3000::/48", "55701"}, + {"2607:f518:12e::/43", "46887"}, + {"2804:5b0::/32", "266181"}, + {"2a02:26f7:f88d::/46", "20940"}, + {"2a02:45c0:2::/45", "59675"}, + {"2408:8956:3c00::/40", "17622"}, + {"240e:3b6:c800::/37", "4134"}, + {"2804:3ea0:8100::/33", "266610"}, + {"240a:a67a::/32", "144308"}, + {"2806:2f0:80c3::/42", "17072"}, + {"2a04:4e40:5400::/48", "54113"}, + {"2a0e:6540:a16::/48", "208364"}, + {"2600:1406:8c00::/48", "35994"}, + {"2600:370f:5245::/44", "32261"}, + {"2602:fded::/36", "397472"}, + {"2608:c183:1::/48", "27066"}, + {"2800:9a0::/34", "14522"}, + {"2a02:dcc::/30", "31621"}, + {"2c0f:f368::/32", "327750"}, + {"2600:1008:9110::/36", "22394"}, + {"2607:fb10:5040::/48", "55095"}, + {"2620:84:2000::/48", "20344"}, + {"2804:31c0::/32", "262438"}, + {"2804:8454::/32", "272254"}, + {"2001:67c:56c::/48", "8925"}, + {"2406:8d40::/32", "138225"}, + {"2620:2b:e000::/48", "22697"}, + {"2001:250:2031::/48", "23910"}, + {"2001:559:8576::/48", "13367"}, + {"2001:559:8791::/46", "33652"}, + {"2001:559:c51a::/48", "7015"}, + {"2001:678:cc8::/48", "41427"}, + {"2001:e38::/32", "17934"}, + {"2402:800:7eb2::/41", "7552"}, + {"2404:5e40::/45", "137703"}, + {"2620:d0:8000::/48", "16411"}, + {"2620:11c:f::/48", "27647"}, + {"2c0f:5000::/32", "328745"}, + {"2606:7100:3100::/48", "395831"}, + {"2610:b0:4118::/47", "21433"}, + {"2620:6e:a007::/44", "397444"}, + {"2620:89:2000::/48", "394616"}, + {"2a02:73a0:70::/48", "201895"}, + {"2001:550:908::/47", "174"}, + {"2001:559:845b::/48", "33287"}, + {"2600:1417:21::/44", "20940"}, + {"2607:f6f0:8002::/40", "32550"}, + {"2a02:26f7:ba00::/48", "36183"}, + {"2401:4900:40f0::/44", "45609"}, + {"240e:a52:6400::/31", "4134"}, + {"2607:f2d8::/41", "18450"}, + {"2804:4ac8::/32", "267263"}, + {"2806:2f0:3441::/46", "17072"}, + {"2a02:2690::/32", "39783"}, + {"2a03:a5e0::/32", "51551"}, + {"2405:4d00::/32", "17416"}, + {"2409:8020:71::/40", "56046"}, + {"2602:fe9a:9::/48", "25687"}, + {"2804:4fbc::/32", "268346"}, + {"2a00:4802:1800::/44", "13124"}, + {"2a02:26f7:c409::/46", "20940"}, + {"2a02:27a9::/32", "21100"}, + {"2a09:8780::/29", "209737"}, + {"2a10:6ac0::/29", "49735"}, + {"2408:84f3:4610::/42", "134543"}, + {"240a:afc7::/32", "146689"}, + {"2602:fe41::/36", "393434"}, + {"2605:a404:2df::/39", "33363"}, + {"2607:fc48:420::/48", "40009"}, + {"2803:c400::/32", "52308"}, + {"2804:1db0::/32", "264386"}, + {"2804:5cc8::/39", "268930"}, + {"2a02:c200::/47", "51167"}, + {"2a05:14c0::/29", "28686"}, + {"2a07:e140::/29", "50582"}, + {"2a0f:9400:802d::/48", "53356"}, + {"2a0f:eb80::/47", "47267"}, + {"2001:559:7e1::/48", "7725"}, + {"240e:fb::/32", "4134"}, + {"2607:fb10:2033::/45", "55095"}, + {"2800:370:5::/48", "28006"}, + {"2804:2698::/32", "263841"}, + {"2804:68f8::/32", "270240"}, + {"2001:470:2b::/48", "12266"}, + {"2001:559:4fe::/48", "7922"}, + {"2a0c:8fc4::/30", "202401"}, + {"2a0f:9340:1a::/48", "1299"}, + {"2001:559:c1c0::/47", "7922"}, + {"2604:dbc0::/32", "21777"}, + {"2620:116:801a::/45", "27281"}, + {"2a05:2740::/29", "47176"}, + {"2404:5bc0::/32", "138596"}, + {"2404:8d02:1041::/45", "9587"}, + {"2607:2080::/32", "11678"}, + {"2800:24::/32", "14187"}, + {"2804:4170::/39", "267433"}, + {"2a01:8840:c1::/48", "207266"}, + {"2a02:1d8::/32", "20953"}, + {"2a0d:c600::/29", "35826"}, + {"2804:7ed8::/32", "28232"}, + {"2001:559:816c::/48", "7016"}, + {"2001:16a2:4000::/44", "39386"}, + {"2001:4268:120::/43", "15964"}, + {"2800:bf0:b2::/41", "27947"}, + {"2803:e560::/32", "262186"}, + {"2001:df2:7580::/48", "139903"}, + {"2001:1980:6100::/38", "29838"}, + {"2001:4b20:ca1f:1::/31", "34288"}, + {"2800:160:10da::/42", "14259"}, + {"2801:1fc:18::/48", "27951"}, + {"2a01:4a40::/32", "44814"}, + {"2001:559:841b::/48", "33657"}, + {"2402:e380:115::/44", "139073"}, + {"2a05:3580:ca00::/37", "35807"}, + {"2a0a:98c0::/29", "208571"}, + {"2a0b:d9c0:164::/46", "49544"}, + {"1900:2100::2a2c/126", "3356"}, + {"2001:559:204::/48", "33491"}, + {"240a:abff::/32", "145721"}, + {"2600:141b:1801::/34", "20940"}, + {"2801:18e::/48", "271845"}, + {"2804:ad4:d100::/34", "52925"}, + {"2001:db0:4003:ffff::3/37", "17766"}, + {"2001:dc7:cd1b::/35", "24151"}, + {"2603:f4e0::/27", "397165"}, + {"2606:2800:4233::/48", "15133"}, + {"2804:204:229::/45", "28186"}, + {"2001:559:c369::/48", "33651"}, + {"2001:1ad8::/32", "12552"}, + {"2405:2a00::/32", "55388"}, + {"2602:ff41::/36", "395176"}, + {"2804:5690::/32", "268009"}, + {"2a02:26f7:e6c4::/48", "36183"}, + {"2a02:26f7:edc0::/48", "36183"}, + {"2a0a:48c1::/32", "29422"}, + {"2408:8459:2640::/40", "17623"}, + {"2602:fdbf::/48", "397550"}, + {"2a03:2a80::/30", "47232"}, + {"2001:470:de::/48", "8046"}, + {"2001:559:213::/48", "7922"}, + {"2a02:2698:4400::/38", "42116"}, + {"2001:559:8383::/48", "33287"}, + {"2409:8a53:b00::/37", "56047"}, + {"2806:2f0:6083::/42", "17072"}, + {"2a00:11c0:82::/45", "42473"}, + {"2803:d100:e380::/41", "52362"}, + {"2a02:26f0:33::/48", "34164"}, + {"2a02:26f7:f9c1::/46", "20940"}, + {"2001:559:817a::/47", "33668"}, + {"2001:4d78:fe01::/44", "15830"}, + {"2620:75:6000::/48", "397800"}, + {"2804:145c:c210::/39", "263327"}, + {"2a02:26f7:c60a::/47", "20940"}, + {"2402:800:51c5::/43", "7552"}, + {"2407:5200:201::/46", "55915"}, + {"2409:8031:2a00::/29", "9808"}, + {"2606:82c0:500::/40", "32167"}, + {"2606:e800:400::/32", "25843"}, + {"2620:130:3025::/46", "62861"}, + {"2806:2f0:3123::/41", "17072"}, + {"2a02:22c0::/32", "43045"}, + {"2a03:6947:c00::/40", "12400"}, + {"2a0a:27c0::/32", "47217"}, + {"2402:7800:204::/34", "4826"}, + {"2a0e:1c80:a::/48", "1299"}, + {"2001:559:80ae::/48", "7016"}, + {"240a:a163::/32", "143005"}, + {"2a00:1bb0::/32", "28768"}, + {"2a0f:9400:7389::/48", "210337"}, + {"240a:a78b::/32", "144581"}, + {"2804:1040:f700::/36", "263626"}, + {"2a02:2560:a2::/32", "21127"}, + {"2001:559:86d9::/48", "33652"}, + {"2403:fc00:300::/40", "4826"}, + {"240a:af1d::/32", "146519"}, + {"2620:7e::/46", "22414"}, + {"2804:2188::/32", "61789"}, + {"2a01:c50f:fc40::/40", "12479"}, + {"2a02:2e02:2460::/40", "12479"}, + {"2001:559:8693::/48", "7015"}, + {"2600:805:461::/36", "701"}, + {"2607:1280:11a0::/43", "394972"}, + {"2800:300:6500::/40", "27651"}, + {"2a0d:f803:8f00::/40", "20278"}, + {"2a0e:b107:1787::/48", "142553"}, + {"2804:403c::/32", "265946"}, + {"2804:6650::/32", "269548"}, + {"2a0e:46c4:22a5::/44", "136918"}, + {"2600:140f:ac00::/48", "55836"}, + {"2600:370f:342b::/41", "32261"}, + {"2a0c:5000::/34", "60502"}, + {"2405:7f00:a900::/38", "133414"}, + {"2407:7200:2::/33", "10098"}, + {"2800:270::/32", "26610"}, + {"2806:2f0:2421::/48", "22884"}, + {"2a02:88d:810f::/48", "47794"}, + {"2a0e:7e40::/29", "208349"}, + {"2404:d400::/32", "38193"}, + {"2a02:26f0:1::/48", "34164"}, + {"2620:0:280::/48", "19783"}, + {"2a03:3f40:89::/48", "208685"}, + {"2a03:f440::/32", "12552"}, + {"2a0d:5642:117::/48", "35487"}, + {"2403:300::/37", "714"}, + {"2409:8904:6740::/42", "24547"}, + {"240a:a260::/32", "143258"}, + {"240a:a81a::/32", "144724"}, + {"2402:8100:2580::/43", "45271"}, + {"2405:8a00:20c4::/42", "55824"}, + {"2600:1f01:4840::/47", "16509"}, + {"2600:6c38:831::/44", "20115"}, + {"2804:3814::/32", "266454"}, + {"2804:5344::/32", "268573"}, + {"2a02:26f0:fe::/47", "20940"}, + {"2a02:26f0:e501::/38", "20940"}, + {"2a06:3280::/31", "201722"}, + {"2a0c:b641:571::/48", "24239"}, + {"2001:579:523c::/41", "22773"}, + {"2001:df0:3140::/48", "142348"}, + {"2400:b000:1000::/48", "135162"}, + {"240e:721::/29", "4134"}, + {"2620:109:1000::/40", "16958"}, + {"2804:3428::/32", "265439"}, + {"2804:3f94::/32", "262452"}, + {"2a06:b280::/29", "199213"}, + {"2001:da8:d026::/37", "23910"}, + {"2806:2f0:9603::/39", "17072"}, + {"2a03:ff40:4ed2::/32", "61102"}, + {"2a06:1680::/29", "207560"}, + {"2a0f:5100:a01::/48", "20473"}, + {"2c0f:fc88:2f::/43", "36992"}, + {"2001:e60:d8b0::/45", "4766"}, + {"2401:d800:56e0::/39", "7552"}, + {"2600:1002:b150::/40", "22394"}, + {"2801:10:800::/48", "18747"}, + {"2804:6ec0::/32", "28293"}, + {"2001:559:c287::/48", "33652"}, + {"2001:67c:4dc::/48", "201471"}, + {"2001:df1:2280::/48", "139588"}, + {"2001:4210:9816::/33", "25818"}, + {"2402:800:fb70::/40", "7552"}, + {"2600:1480:6801::/37", "20940"}, + {"2607:f740:e627::/44", "63911"}, + {"2620:79::/46", "30013"}, + {"2a00:8740:700::/40", "206680"}, + {"2a0f:e580::/48", "197424"}, + {"2c0f:f930::/32", "39287"}, + {"2404:1a3:1003::/32", "24334"}, + {"2602:107:2710::/48", "20115"}, + {"2607:a800:213::/45", "15695"}, + {"2001:559:835b::/48", "33659"}, + {"2001:df6:9000::/48", "59256"}, + {"2610:b0:4115::/46", "3573"}, + {"2804:7c::/46", "28585"}, + {"2804:2f04::/32", "264866"}, + {"2804:7968::/32", "271303"}, + {"2a04:2b40::/29", "56515"}, + {"2a04:c442:6400::/40", "2047"}, + {"2a04:f580:8290::/48", "4134"}, + {"2a0e:b107:23f::/48", "209419"}, + {"2403:1cc0::/48", "45352"}, + {"240a:ae0d::/32", "146247"}, + {"2a00:6ec0:300::/37", "56837"}, + {"2a05:3c80::/29", "47447"}, + {"2a0e:6340::/29", "58154"}, + {"2400:ca02:f138::/31", "23688"}, + {"2407:9440:52::/42", "141626"}, + {"2604:d600:1641::/46", "32098"}, + {"2a01:71a0::/32", "208988"}, + {"2a02:2498:e000::/45", "13213"}, + {"2001:559:c45a::/48", "7922"}, + {"240a:acc9::/32", "145923"}, + {"2803:d010:f::/32", "271806"}, + {"2804:14c:486::/44", "28573"}, + {"2804:2c0:7f01::/32", "262834"}, + {"2804:4f8:a00c::/40", "28263"}, + {"2804:53c8::/32", "268606"}, + {"2a01:c50f:b280::/39", "12479"}, + {"2001:559:c10c::/48", "7922"}, + {"2001:16a2:6200::/40", "25019"}, + {"2a0e:c4c0::/29", "51711"}, + {"2a10:4646:120::/44", "52073"}, + {"2a10:8011::/28", "8551"}, + {"2001:559:834e::/48", "21508"}, + {"2a02:26f0:b701::/36", "20940"}, + {"2001:470:e8::/45", "6939"}, + {"2409:8062:2100::/36", "9808"}, + {"240a:a538::/32", "143986"}, + {"2607:fc58:1:75::/64", "13536"}, + {"2a05:a1c7::/32", "201155"}, + {"2001:67c:2e64::/48", "15542"}, + {"240a:a87f::/32", "144825"}, + {"2804:4580::/37", "266931"}, + {"2a02:26f7:ec04::/48", "36183"}, + {"2a02:cb80:2710::/48", "43766"}, + {"2405:6e00:4f0::/44", "133612"}, + {"2406:840:e0cf::/48", "141429"}, + {"2a02:b50:8002::/48", "393954"}, + {"2001:559:1cf::/48", "33660"}, + {"2607:fd78::/39", "26677"}, + {"2804:1724::/32", "263126"}, + {"2804:5dc8::/32", "268992"}, + {"2a03:3080:53::/48", "16244"}, + {"2a04:4e40:4200::/48", "54113"}, + {"2a06:b800:1000::/36", "48096"}, + {"2001:fb0:109f:8005::/64", "15133"}, + {"240a:ad76::/32", "146096"}, + {"240e:49:9000::/38", "134419"}, + {"2600:1003:f450::/36", "22394"}, + {"2804:2fc4:ff1e::/40", "264911"}, + {"240a:a68d::/32", "144327"}, + {"2804:23ac::/32", "264177"}, + {"2a02:26f0:c5::/46", "20940"}, + {"2a0b:d00:1::/46", "206886"}, + {"2402:800:33e0::/44", "7552"}, + {"2405:edc0::/48", "140746"}, + {"240a:a13a::/32", "142964"}, + {"240a:a4b6::/32", "143856"}, + {"240e:982:a300::/36", "4134"}, + {"2a00:7420:8000::/33", "208693"}, + {"2400:cb00:a460::/45", "13335"}, + {"2a01:8fb::/29", "3209"}, + {"2a0c:4480:c::/48", "204720"}, + {"2402:800:3e80::/42", "7552"}, + {"2600:6c38:b4e::/43", "20115"}, + {"2803:5ce0:500::/40", "271809"}, + {"2408:8459:bc10::/42", "17623"}, + {"240a:ab89::/32", "145603"}, + {"2607:f358:21::/48", "41095"}, + {"2620:135:5000::/45", "26457"}, + {"2a03:3780::/48", "203474"}, + {"2001:559:c372::/48", "7725"}, + {"2409:8752:300::/37", "56047"}, + {"2600:140b:9001::/38", "20940"}, + {"2800:1e0:1041::/42", "7195"}, + {"2a01:7d00::/32", "15450"}, + {"2404:f380:4::/36", "38614"}, + {"2803:18a0::/32", "266805"}, + {"2a02:26f7:fe::/48", "36183"}, + {"2a08:600:ee::/47", "206747"}, + {"2a0e:aa40::/46", "208408"}, + {"240e:45c:7500::/40", "140532"}, + {"2a02:8b8::/32", "15657"}, + {"2a02:26f7:cd09::/42", "20940"}, + {"2408:8456:4410::/42", "134543"}, + {"240a:a5be::/32", "144120"}, + {"2804:b58::/32", "52767"}, + {"2001:559:8609::/48", "7016"}, + {"2001:43f8:770::/46", "37501"}, + {"2402:3a80:18::/46", "38266"}, + {"2403:4800::/35", "9443"}, + {"2409:8087:5700::/36", "56040"}, + {"2620:107:90e1::/48", "22787"}, + {"2a00:4de0::/29", "202831"}, + {"2a0d:5600:38::/41", "9009"}, + {"2a0f:9300::/29", "198668"}, + {"2001:df3:a300::/48", "137267"}, + {"2804:1d20::/37", "264349"}, + {"2804:2bbc::/33", "265172"}, + {"2804:7e18::/32", "271602"}, + {"2a10:ae02::/48", "8767"}, + {"2001:559:3ac::/48", "21508"}, + {"2001:559:c333::/48", "7015"}, + {"2600:1480::/46", "21342"}, + {"2804:6d40::/32", "270520"}, + {"2a02:a8::/32", "9188"}, + {"2a02:26f7:bb89::/42", "20940"}, + {"2a09:402::/32", "208861"}, + {"2408:8459:a810::/42", "17623"}, + {"2409:f:f4::/48", "142502"}, + {"240c:ce05::/24", "23910"}, + {"2804:2910:10::/42", "263995"}, + {"2a02:d40:6::/48", "44592"}, + {"2a02:2698:9400::/38", "51819"}, + {"2a0e:a600::/29", "209050"}, + {"2402:8100:2140::/40", "45271"}, + {"2a02:26f7:c708::/48", "36183"}, + {"2a0b:b86:12::/48", "34692"}, + {"2001:428:4004::/48", "32571"}, + {"2804:3718::/32", "266389"}, + {"2a00:6480:8748::/48", "29018"}, + {"2a02:26f7:c8c9::/46", "20940"}, + {"2a03:8d20:8000::/48", "200849"}, + {"2a0a:7bc0::/32", "44066"}, + {"2001:559:8568::/48", "20214"}, + {"2001:4018::/32", "9150"}, + {"2407:8b00:9000::/36", "64073"}, + {"2a02:48::/32", "12969"}, + {"2c0f:fab0:1000::/48", "37492"}, + {"2001:559:33d::/48", "33668"}, + {"2001:559:8621::/48", "7922"}, + {"2001:559:86bf::/41", "7725"}, + {"2001:df4:8b00::/48", "137325"}, + {"2402:ef12::/32", "24397"}, + {"2a03:9900:100::/48", "20568"}, + {"2a09:4a40::/29", "62240"}, + {"2001:460::/44", "3561"}, + {"2001:559:4a5::/46", "33657"}, + {"240a:ab0a::/32", "145476"}, + {"240a:abab::/32", "145637"}, + {"2600:1004:a000::/42", "6167"}, + {"2602:ffc5:141::/48", "203027"}, + {"2804:6224::/32", "269278"}, + {"2a02:26f7:ea08::/48", "36183"}, + {"240a:afcd::/32", "146695"}, + {"240e:e:d000::/37", "139887"}, + {"2620:31:2009::/48", "53722"}, + {"2a05:b400::/32", "786"}, + {"2a0d:6940::/29", "47447"}, + {"2001:67c:290c::/48", "212113"}, + {"240e:438:aa20::/43", "140647"}, + {"2600:9000:118e::/43", "16509"}, + {"2804:42a8::/32", "267517"}, + {"2a02:cb43:9000::/47", "20546"}, + {"2a03:2880:f16a::/45", "32934"}, + {"2405:8a00:8030::/46", "55824"}, + {"2604:ca00:400::/42", "36492"}, + {"2800:c30::/32", "52361"}, + {"2a02:25a8:deae::/29", "12824"}, + {"2a0f:1e83:2::/32", "30633"}, + {"2001:559:74c::/48", "7922"}, + {"2604:b080::/32", "54665"}, + {"2804:6ca4::/32", "270482"}, + {"2a02:2658::/34", "20860"}, + {"2a0e:e2c2::/29", "42282"}, + {"2600:141b:b801::/33", "20940"}, + {"2804:dd0::/35", "28639"}, + {"2a02:26f7:cf::/48", "20940"}, + {"2a05:9480::/29", "202247"}, + {"2a0c:9a40:101d::/48", "202479"}, + {"2c0f:f3a0::/32", "327934"}, + {"2001:559:81f4::/48", "7922"}, + {"2001:678:9c0::/48", "50030"}, + {"2600:1419:16::/47", "20940"}, + {"2804:154c:5003::/44", "263382"}, + {"2001:1548::/38", "8280"}, + {"2401:d800:99b0::/41", "7552"}, + {"2409:807e:1900::/34", "9808"}, + {"240e:108:91::/48", "140061"}, + {"2607:f5d8:4::/43", "11096"}, + {"2620:f:1::/48", "3756"}, + {"2804:609c::/32", "269180"}, + {"2408:8956:9000::/40", "17622"}, + {"240e:105:e600::/39", "138982"}, + {"2a02:26f0:e601::/36", "20940"}, + {"2a05:3d80::/31", "59414"}, + {"2600:1004:9010::/40", "22394"}, + {"2604:9e00::/32", "27257"}, + {"2804:7078::/32", "270728"}, + {"2a10:ddc0::/29", "34907"}, + {"2001:1838:9001::/48", "13331"}, + {"2409:8054:69::/34", "56040"}, + {"240d:c000:1000::/34", "132203"}, + {"2607:fcd0:100:b200::/52", "8100"}, + {"2804:be4:c::/32", "52840"}, + {"2804:3858::/32", "266471"}, + {"2804:7158:c000::/34", "270783"}, + {"2a02:6b8:5::/46", "208722"}, + {"2a02:26f7:c2c8::/48", "36183"}, + {"2001:579:8a0::/41", "22773"}, + {"240a:aed4::/32", "146446"}, + {"2001:df0:41a::/48", "9509"}, + {"2408:8956:7b00::/40", "17816"}, + {"2602:fed5:3::/45", "27398"}, + {"2a10:7f00::/29", "399975"}, + {"2400:3b00:f::/48", "18229"}, + {"2405:f280::/47", "131464"}, + {"240a:a033::/32", "142701"}, + {"240e:86:3800::/33", "4134"}, + {"2600:d01:4000::/29", "20161"}, + {"2600:7400::/31", "29933"}, + {"2602:ff22::/36", "63297"}, + {"2604:9cc0:800::/38", "50131"}, + {"2a02:26f0:6601::/36", "20940"}, + {"2001:b08:b::/45", "3267"}, + {"2401:8000::/38", "9919"}, + {"2600:1488:60c3::/39", "20940"}, + {"2606:2800:533::/45", "15133"}, + {"2a01:8320::/32", "39636"}, + {"240e:105:ee00::/39", "58563"}, + {"2605:a401:89cc::/42", "33363"}, + {"2a02:26f7:c419::/42", "20940"}, + {"2402:4440:9c30::/40", "24423"}, + {"2804:4ea8::/32", "268275"}, + {"2403:27c0:5000::/48", "7586"}, + {"2404:5c80::/47", "59261"}, + {"2600:1403:4401::/35", "20940"}, + {"2606:a000:407::/48", "11955"}, + {"2803:3f40::/48", "264754"}, + {"2804:70fc::/32", "270760"}, + {"2001:470:9d::/42", "6939"}, + {"2405:aac0:52::/48", "139949"}, + {"240a:a2f3::/32", "143405"}, + {"240a:aa1f::/32", "145241"}, + {"2a00:11c0:3e::/48", "42473"}, + {"2a01:5f40::/32", "15682"}, + {"2a0d:940::/32", "39191"}, + {"2a0e:3c80::/29", "208909"}, + {"2a0e:46c6:4ff::/48", "209771"}, + {"2001:67c:2604::/48", "8447"}, + {"2408:840c:6a00::/40", "17621"}, + {"2603:c002:1010::/38", "31898"}, + {"2606:ae00:b1d8::/38", "7287"}, + {"2607:f748::/32", "32613"}, + {"2a02:2e02:2c20::/40", "12479"}, + {"2001:4170::/32", "13092"}, + {"2001:b000:595::/44", "3462"}, + {"2403:7e00::/32", "7546"}, + {"240a:acf2::/32", "145964"}, + {"240b::/26", "2516"}, + {"2607:f518::/39", "46887"}, + {"2804:54f8::/32", "268681"}, + {"2a02:6c40::/32", "29283"}, + {"2a04:4a43:4000::/34", "206067"}, + {"2a04:e802:12::/44", "57976"}, + {"2a10:dbc0::/29", "34907"}, + {"2408:8409::/40", "4808"}, + {"2408:8956:d240::/40", "17622"}, + {"240a:a76d::/32", "144551"}, + {"2a00:c1a0::/32", "16202"}, + {"2603:c0e8:2110::/40", "1218"}, + {"2604:3840::/48", "20061"}, + {"2804:14c:479::/40", "28573"}, + {"2804:13d0:1008::/32", "263297"}, + {"2001:559:c122::/48", "7015"}, + {"2403:d340::/32", "136462"}, + {"2409:896a:5800::/39", "9808"}, + {"2a02:26f7:d444::/48", "36183"}, + {"2a0d:ed80:101::/48", "3303"}, + {"2001:559:8498::/48", "33490"}, + {"2408:8360::/29", "4837"}, + {"2a04:4e40:8000::/48", "54113"}, + {"2600:140b:5401::/36", "20940"}, + {"2a0a:e5c0:1b::/48", "207996"}, + {"2001:1a11:9b::/42", "42298"}, + {"2401:ee00:121::/44", "23951"}, + {"2600:1413:1001::/36", "20940"}, + {"2a10:1fc0::/48", "133398"}, + {"2c0f:e8e0:4040::/42", "327926"}, + {"2001:fd8:33c0::/42", "132199"}, + {"240e:870::/44", "140485"}, + {"2800:bf0:3800::/46", "52257"}, + {"2804:4330::/32", "267554"}, + {"2a07:8d85::/30", "61110"}, + {"2a0a:fa40::/29", "210107"}, + {"2001:1248:5781::/46", "11172"}, + {"2001:1978:1e00::/40", "13768"}, + {"2600:370f:71a1::/46", "32261"}, + {"2a00:10f8::/32", "3347"}, + {"2a02:2698:3824::/38", "59713"}, + {"2407:8100:1::/48", "58436"}, + {"2409:8959:44::/32", "56040"}, + {"2602:fc62:a::/47", "399760"}, + {"2620:10f:b070::/48", "4185"}, + {"2a02:26f7:5::/48", "20940"}, + {"2a02:26f7:9e::/48", "36183"}, + {"2401:d9c0::/36", "64271"}, + {"240a:a4a3::/32", "143837"}, + {"240e:3bd:f700::/36", "4134"}, + {"2a05:1082:f000::/48", "211013"}, + {"2a0e:1040:1::/45", "208655"}, + {"2001:559:82dd::/46", "33287"}, + {"2a06:2780::/29", "204195"}, + {"2a0d:ca47::/47", "41195"}, + {"2001:1a11:81::/46", "42298"}, + {"2605:ba00::/32", "14638"}, + {"2a00:e10:2c00::/32", "61157"}, + {"2001:67c:1984::/48", "3303"}, + {"2001:5000:805::/38", "1273"}, + {"2408:836c::/30", "4837"}, + {"240e:3ba:7a00::/32", "140313"}, + {"2602:fff9::/40", "54839"}, + {"2607:fc50:5000::/36", "36236"}, + {"2620:13f:700c::/46", "59116"}, + {"2620:149:234::/41", "714"}, + {"2402:ee40::/47", "134033"}, + {"2600:8807:a0c2::/39", "22773"}, + {"2604:c0c0::/35", "14525"}, + {"2607:f9f0::/32", "14492"}, + {"2803:d900::/32", "262252"}, + {"2804:55dc:2000::/35", "267961"}, + {"2a0c:b641:280::/44", "60240"}, + {"2400:b300:2::/32", "38470"}, + {"2a01:bb20::/35", "61969"}, + {"2a02:26f7:d540::/48", "36183"}, + {"2a0c:8240::/47", "20853"}, + {"2a0d:f407:1001::/48", "209334"}, + {"2001:67c:2dfc::/48", "48004"}, + {"2a00:ba80::/32", "15557"}, + {"2001:559:8471::/48", "33659"}, + {"2800:bf0:82d4::/42", "27947"}, + {"2804:6f3c::/32", "270647"}, + {"2a02:26f0:89::/46", "20940"}, + {"2a02:26f7:d805::/46", "20940"}, + {"2001:559:c315::/48", "33651"}, + {"2404:f4c0:f900::/47", "139833"}, + {"2409:804c:3023::/45", "9808"}, + {"2606:18c0:4::/44", "14445"}, + {"2800:6f0::/37", "20207"}, + {"2804:124::/32", "28247"}, + {"2804:69bc:8000::/33", "270288"}, + {"2804:75a4::/32", "271060"}, + {"2001:678:cec::/48", "60557"}, + {"2404:cc00:8889::/35", "24441"}, + {"2600:1417:70::/48", "9498"}, + {"2606:3240:f800::/37", "399252"}, + {"2800:160:154b::/43", "14259"}, + {"2a06:9680::/41", "31293"}, + {"240a:ad98::/32", "146130"}, + {"2600:1406:44::/47", "20940"}, + {"2620:113:8045::/40", "3680"}, + {"2806:20d:5a09::/45", "32098"}, + {"2a02:cb80:4148::/47", "43766"}, + {"2402:800:9c1d::/42", "7552"}, + {"2a01:c50f:3dc0::/38", "12479"}, + {"2a02:ba0:1::/48", "12491"}, + {"2001:559:825f::/48", "33657"}, + {"2001:44b8:406f::/48", "4739"}, + {"2406:2800::/32", "18282"}, + {"2406:e300:4::/48", "40564"}, + {"2600:3005::/30", "13649"}, + {"2a0a:aac0::/29", "50599"}, + {"2408:84f3:3210::/44", "17623"}, + {"240e:308::/35", "137691"}, + {"2804:1488::/32", "28125"}, + {"2806:20d:1101::/44", "32098"}, + {"2a02:3f0::/32", "9189"}, + {"2a03:e780::/43", "39735"}, + {"2001:4f8:a::/48", "1280"}, + {"2001:4130::/48", "24725"}, + {"2403:1940:60::/48", "137935"}, + {"2409:8915:2800::/40", "56044"}, + {"2001:67c:2f54::/48", "197474"}, + {"2406:9840:1112::/32", "134053"}, + {"2408:840c:d200::/40", "17621"}, + {"240e:44d:5480::/41", "4134"}, + {"240e:978:e00::/40", "4134"}, + {"2806:230:200f::/48", "11888"}, + {"2a01:40c0::/29", "29608"}, + {"2a0c:3c00::/29", "204596"}, + {"2a10:2f00:15a::/48", "212237"}, + {"2620:11d:60c0::/46", "30548"}, + {"2a02:26f7:48::/48", "36183"}, + {"2a06:6500::/29", "204165"}, + {"2001:579:93c3::/36", "22773"}, + {"2610:b0:40d4::/47", "21433"}, + {"2804:2a60::/42", "263089"}, + {"2605:c00:900::/37", "46920"}, + {"2605:a401:81f8::/38", "33363"}, + {"2402:6800:731::/44", "22822"}, + {"2406:f3c0::/48", "135905"}, + {"2408:8000:c038::/45", "140726"}, + {"2600:380:ed00::/35", "7018"}, + {"2604:11c0:400::/40", "395822"}, + {"2a01:8640:1::/48", "61046"}, + {"2a06:dc80::/29", "202898"}, + {"2a0c:a9c7:4::/48", "64409"}, + {"2403:8940::/45", "135817"}, + {"240a:a2fa::/32", "143412"}, + {"240a:a351::/32", "143499"}, + {"2602:80b:7000::/44", "20473"}, + {"2801:80:3200::/48", "61572"}, + {"2804:241c::/32", "264202"}, + {"2804:3678::/32", "266350"}, + {"2804:7f34::/32", "271673"}, + {"2c0f:ef08::/32", "20459"}, + {"2404:3d00:413c::/46", "21433"}, + {"2409:806b:2100::/36", "9808"}, + {"2800:160:1eea::/45", "14259"}, + {"240a:aa48::/32", "145282"}, + {"240a:ad4a::/32", "146052"}, + {"2604:4d40:6a::/48", "213073"}, + {"2801:80:4d0::/48", "52834"}, + {"2409:8924:2300::/37", "56046"}, + {"240a:a90d::/32", "144967"}, + {"2a02:26f7:b705::/46", "20940"}, + {"2001:978:2:c1::b:0/112", "35277"}, + {"2a0f:b4c4::/32", "47596"}, + {"2001:559:839c::/48", "33661"}, + {"2001:1248:5b7f::/40", "11172"}, + {"2401:d800:7032::/41", "7552"}, + {"2a00:fd00::/32", "29695"}, + {"2a01:300::/43", "9009"}, + {"2a04:4e40:ac30::/41", "54113"}, + {"2001:4c38::/29", "15435"}, + {"2400:fa00::/32", "18065"}, + {"2404:bf40:8441::/42", "139084"}, + {"2405:7c00:1000::/32", "24028"}, + {"2600:1010:b0e0::/43", "22394"}, + {"2606:7e00:6::/48", "7215"}, + {"2620:84:8000::/48", "26830"}, + {"2800:160:199e::/41", "14259"}, + {"2a00:1e1f:ff00::/40", "212642"}, + {"2a05:4480::/29", "20853"}, + {"2a0e:46c0::/31", "57183"}, + {"2001:559:234::/47", "7016"}, + {"2a00:1708::/32", "49544"}, + {"2a02:26f7:f80c::/48", "36183"}, + {"2001:559:8654::/48", "33491"}, + {"2400:7400:e023::/45", "23736"}, + {"2408:84f3:e240::/37", "17816"}, + {"2804:4f8:cac9::/37", "28263"}, + {"2804:e34::/36", "61889"}, + {"2400:8700:105::/32", "55394"}, + {"2403:a040:f852::/48", "134823"}, + {"2408:8456:8840::/39", "17816"}, + {"2a09:2fc0::/29", "212144"}, + {"2001:559:82f6::/48", "33667"}, + {"2405:1ac0::/48", "18403"}, + {"2604:d600:651::/46", "32098"}, + {"2606:f780::/32", "394829"}, + {"2804:1d34::/32", "264354"}, + {"2a07:9b40::/48", "202698"}, + {"240e:18:12::/41", "4812"}, + {"2604:f440::/45", "397423"}, + {"2620:149:ae1::/48", "6185"}, + {"2806:2f0:324::/41", "17072"}, + {"2001:559:820a::/48", "33287"}, + {"2400:cb00:165::/44", "13335"}, + {"2409:8904:aa40::/39", "24547"}, + {"2a04:8e40::/29", "199927"}, + {"2001:559:26::/48", "33491"}, + {"2001:4580::/26", "4780"}, + {"2401:4900:3990::/44", "45609"}, + {"2402:800:f0e0::/39", "7552"}, + {"2406:3001:20:d::/46", "4657"}, + {"2408:8756:2cff::/48", "135061"}, + {"2607:ad00::/32", "30325"}, + {"2a00:b700:5::/48", "51659"}, + {"2a06:be80::/29", "24940"}, + {"2a07:f980::/47", "202310"}, + {"2001:da8:a8::/48", "24369"}, + {"2403:5800:4::/47", "4764"}, + {"2a02:26f0:4e00::/48", "34164"}, + {"2001:559:829c::/46", "7015"}, + {"240e:13:8800::/33", "4134"}, + {"2803:bc80::/42", "263202"}, + {"2a0c:93c0:8062::/48", "212465"}, + {"2400:adc5::/39", "9541"}, + {"240a:a783::/32", "144573"}, + {"2600:1415:e800::/48", "24319"}, + {"2001:470:f0::/48", "21589"}, + {"2001:559:7a8::/48", "33650"}, + {"2001:67c:2bb0::/48", "28674"}, + {"2001:dc7:2e00::/33", "24151"}, + {"2404:e00:161::/48", "15695"}, + {"2409:8053:3800::/47", "56047"}, + {"240e:45c:2900::/40", "137402"}, + {"2600:1001:d0d0::/34", "22394"}, + {"2804:67a4::/46", "269641"}, + {"2a00:1a28:100::/48", "48618"}, + {"2a09:b680::/32", "210625"}, + {"2a0e:dc00::/32", "208653"}, + {"2001:918:1000::/32", "3303"}, + {"2001:da8:253::/48", "24349"}, + {"2001:1248:97f9::/46", "11172"}, + {"2001:1548:207::/29", "8280"}, + {"2604:7ac0:900::/40", "398014"}, + {"2606:6680:7::/48", "40676"}, + {"2620:0:c80::/48", "1224"}, + {"2803:b0e0::/32", "269862"}, + {"2804:542c::/35", "268633"}, + {"2804:5ff0::/32", "269135"}, + {"2806:2f0:3141::/46", "17072"}, + {"2001:559:19b::/48", "33662"}, + {"2403:c00:700::/46", "17488"}, + {"2804:230c::/32", "264139"}, + {"2a00:17c8::/31", "12511"}, + {"2a04:4e40:e000::/48", "54113"}, + {"2a10:b940::/29", "5524"}, + {"2404:2000::/32", "23905"}, + {"240a:a9e5::/32", "145183"}, + {"240a:aec0::/32", "146426"}, + {"2602:feda:100::/47", "38008"}, + {"2620:4b::/48", "393523"}, + {"2800:c00::/32", "18747"}, + {"2804:29b4::/32", "264030"}, + {"2a00:13c0:202::/32", "29076"}, + {"2a0d:5dc0::/29", "12453"}, + {"2804:3dc:a2::/41", "52967"}, + {"2a0e:b107:550::/48", "207317"}, + {"240a:a50d::/32", "143943"}, + {"2804:6cd0::/32", "270494"}, + {"2001:559:83e4::/48", "7922"}, + {"2001:559:848b::/48", "33287"}, + {"240e:67b:1000::/37", "140330"}, + {"240e:964:9800::/34", "4134"}, + {"2a00:1588:dc00::/38", "43380"}, + {"2a02:ee80:418f::/43", "3573"}, + {"2408:840d:b800::/42", "17621"}, + {"2600:1008:b100::/42", "6167"}, + {"2620:ec:c000::/48", "394683"}, + {"2804:10b4::/47", "263645"}, + {"2620:1:c000::/48", "22773"}, + {"2a02:26f7:f5c9::/46", "20940"}, + {"2806:2f0:80e3::/39", "17072"}, + {"2a01:5d00::/32", "51918"}, + {"2a11:cfc0::/32", "5408"}, + {"2001:1900:2310::/41", "3356"}, + {"2405:6e00:2e00::/35", "133612"}, + {"240a:aa8f::/32", "145353"}, + {"240a:aac1::/32", "145403"}, + {"2a06:62c0:90::/32", "204138"}, + {"2402:8600::/32", "38896"}, + {"2600:140a:c001::/34", "20940"}, + {"2603:c0f8:2210::/40", "20054"}, + {"2606:9500:300::/36", "19893"}, + {"2a03:aa00::/36", "48176"}, + {"2a0c:98c0::/29", "49223"}, + {"2604:4500:100::/40", "29802"}, + {"2620:1f8:f0ef::/48", "40443"}, + {"2a02:26f7:e300::/48", "36183"}, + {"2a04:5d40::/29", "59767"}, + {"2804:297c:e001::/35", "262907"}, + {"2401:5f80:f000::/36", "38731"}, + {"2409:8051:2c00::/38", "9808"}, + {"2620:3b:4000::/48", "62681"}, + {"2804:33a4::/32", "265409"}, + {"2a02:cb80:2920::/48", "43766"}, + {"2001:4998:ef66::/44", "10310"}, + {"2400:6280:145::/46", "135381"}, + {"240a:ac2b::/32", "145765"}, + {"2607:a800:206::/48", "15695"}, + {"2804:5a1c::/32", "268749"}, + {"2a00:b740:5::/48", "13253"}, + {"2001:559:c134::/48", "33668"}, + {"2600:6c50::/30", "20115"}, + {"2407:7100::/32", "131149"}, + {"240e:438:8620::/43", "140647"}, + {"2602:ff66::/36", "394146"}, + {"2804:4ef4::/34", "268294"}, + {"2a01:b300::/29", "51678"}, + {"2a0b:4340:c8::/47", "44421"}, + {"2c0f:7800::/32", "60171"}, + {"2001:559:7a0::/48", "13367"}, + {"2400:bc00:1800::/48", "10115"}, + {"2401:7400:4020::/36", "4773"}, + {"2804:76e8::/32", "271142"}, + {"2001:628:2001::/29", "1853"}, + {"2001:df0:22c0::/48", "7603"}, + {"2604:2d40::/32", "53764"}, + {"2804:2d80::/32", "262378"}, + {"2001:559:81bd::/46", "7922"}, + {"2001:1a68:7::/48", "42503"}, + {"240a:a2c3::/32", "143357"}, + {"2804:741c::/32", "270959"}, + {"2a02:26f7:d648::/48", "36183"}, + {"2804:64c4::/32", "269447"}, + {"2001:559:2b6::/48", "33657"}, + {"2001:4528::/36", "18101"}, + {"2401:3c00:c0::/46", "38322"}, + {"2401:4900:5c90::/44", "45609"}, + {"2602:fc23:118::/47", "8095"}, + {"2607:7b00:3000::/33", "54643"}, + {"2803:5440:334::/48", "264738"}, + {"2804:4bb8::/32", "267326"}, + {"2a07:c600::/29", "199163"}, + {"2a10:7440::/29", "12552"}, + {"2402:ef23::/32", "7633"}, + {"2404:1fc0:1105::/32", "133217"}, + {"2605:6840:300::/32", "398041"}, + {"2620:10a:8055::/48", "394354"}, + {"2a01:111:202c::/46", "8068"}, + {"2a07:6fc6::/32", "204254"}, + {"2a0e:b107:1580::/48", "211013"}, + {"2605:6400:40::/48", "53667"}, + {"2806:1060::/32", "8151"}, + {"240e:97d::/36", "134763"}, + {"2600:6c10:f05d::/42", "20115"}, + {"2a00:16d8:52::/48", "52011"}, + {"2001:df7:5300::/48", "138115"}, + {"2404:55c0::/32", "17831"}, + {"2a0c:5b00::/29", "204970"}, + {"2a0f:23c7::/32", "35425"}, + {"2a10:e380::/32", "29066"}, + {"2600:370f:3082::/47", "32261"}, + {"2804:1468:9000::/33", "263328"}, + {"2408:8456:7040::/39", "17816"}, + {"240a:a33d::/32", "143479"}, + {"240a:ae86::/32", "146368"}, + {"2602:fd76::/36", "393986"}, + {"2605:500::/32", "823"}, + {"2607:f4e8:ac::/48", "38622"}, + {"2803:5ce0:b00::/37", "54235"}, + {"2a04:71c3::/29", "206583"}, + {"2a0c:5a80::/29", "57269"}, + {"2a0e:b107:900::/44", "20473"}, + {"2001:4457:ff1::/32", "9299"}, + {"240a:ae41::/32", "146299"}, + {"240e:3b0:f700::/36", "4134"}, + {"2a02:2e02:a1b0::/33", "12479"}, + {"2a0b:f600::/48", "56647"}, + {"2a0f:5701:3502::/45", "205593"}, + {"2001:5e0:1e::/47", "16713"}, + {"2409:8a50:500::/38", "56047"}, + {"240a:ae42::/32", "146300"}, + {"2620:f:6000::/48", "11509"}, + {"2a04:d180::/29", "42831"}, + {"240e:44d:6b40::/42", "140351"}, + {"2600:6c38:64::/44", "20115"}, + {"2620:106:8000::/44", "33309"}, + {"2a00:1288:84::/48", "203219"}, + {"2a00:1a08::/32", "25534"}, + {"2a02:26f7:cf45::/46", "20940"}, + {"2001:559:c411::/48", "33650"}, + {"2404:e6:230::/36", "703"}, + {"2001:67c:2f4::/48", "47137"}, + {"2401:ad00::/32", "18125"}, + {"2409:894a:a900::/37", "24445"}, + {"2803:9200::/32", "16592"}, + {"2804:42d4::/32", "267530"}, + {"2a04:3f80::/30", "9120"}, + {"2a0e:97c3:5b5::/48", "20473"}, + {"2001:559:840d::/48", "33657"}, + {"2a02:17c8::/32", "39648"}, + {"2a02:dc00:1::/46", "15493"}, + {"2a04:e800:5015::/46", "57976"}, + {"2620:125:9015::/48", "10780"}, + {"2804:14c:5fe9::/43", "28573"}, + {"2001:13c7:600a::/48", "52376"}, + {"2408:863c::/31", "4837"}, + {"2a01:c50e:5600::/36", "12479"}, + {"2604:a440:ffff::/48", "22549"}, + {"2803:6d00:8c00::/33", "52444"}, + {"2a0a:5900::/29", "30852"}, + {"2405:9800:c880::/48", "45458"}, + {"2406:9840:10::/35", "134053"}, + {"2409:8057:3018::/48", "9808"}, + {"2a02:cdc0::/29", "59715"}, + {"2a04:d040::/29", "48641"}, + {"2605:a900:b::/45", "46887"}, + {"2620:0:6b0::/48", "23028"}, + {"2806:2f0:4563::/40", "17072"}, + {"2001:13c7:6009::/48", "52332"}, + {"2402:7500:4ff::/48", "24158"}, + {"2408:8256:3491::/46", "17816"}, + {"240a:a523::/32", "143965"}, + {"2804:1288:f99a::/37", "263482"}, + {"2804:81dc::/32", "272481"}, + {"2806:2f0:47c1::/42", "17072"}, + {"2001:559:8413::/48", "7016"}, + {"2001:918:fffb::/45", "3303"}, + {"2401:d800:9ea2::/41", "7552"}, + {"2408:8456:ae40::/35", "17816"}, + {"2804:46c0::/32", "267009"}, + {"2a00:e10::/34", "61157"}, + {"2a0d:b201:3000::/42", "206026"}, + {"2801:80:1b60::/48", "266443"}, + {"2804:1ee8::/32", "264453"}, + {"2a00:9de0::/32", "60228"}, + {"2a0c:4187:8002::/33", "29854"}, + {"2001:559:81ab::/48", "33659"}, + {"2001:e60:8768::/43", "4766"}, + {"2400:a840::/32", "134090"}, + {"2a05:36c0:2::/48", "48809"}, + {"2402:6440:1::/46", "135905"}, + {"2409:8924:9700::/36", "56046"}, + {"2804:7f6c::/42", "271687"}, + {"2a0a:2584::/31", "206568"}, + {"2404:8d00:1020::/37", "24378"}, + {"240a:ae3e::/32", "146296"}, + {"2600:6c7f:9010::/48", "20115"}, + {"2606:5300::/32", "3367"}, + {"2a03:cc00::/36", "9183"}, + {"2a09:be40:3662::/48", "41108"}, + {"2001:559:8127::/48", "33660"}, + {"2001:559:8438::/48", "33650"}, + {"2001:559:c338::/48", "33659"}, + {"2001:4540::/31", "9924"}, + {"2600:1800:6::/44", "16552"}, + {"2600:6c38:455::/46", "20115"}, + {"2402:800:fc70::/40", "7552"}, + {"240a:a02e::/32", "142696"}, + {"240a:a09d::/32", "142807"}, + {"2602:fed2:730a::/45", "53356"}, + {"2804:2238:f00::/32", "264598"}, + {"2804:5160::/32", "268448"}, + {"2602:feb4:a0::/44", "25961"}, + {"2606:a500::/32", "10653"}, + {"2a06:480::/29", "200758"}, + {"2401:d800:9f40::/42", "7552"}, + {"2404:cc00::/45", "24441"}, + {"2605:4c40:119::/38", "30081"}, + {"2801:18a::/44", "19429"}, + {"2c0f:f2a0:3::/45", "327849"}, + {"2001:4490:7800::/46", "9829"}, + {"2800:1e0:1020::/46", "7195"}, + {"2806:2f0:10e0::/43", "17072"}, + {"2806:3c6::/32", "270148"}, + {"2a02:26f7:e0c0::/48", "36183"}, + {"2a02:2e02:8f30::/41", "12479"}, + {"2a03:4b27:f000::/36", "204320"}, + {"2001:678:298::/48", "2613"}, + {"2804:37f0:1100::/36", "266445"}, + {"2a02:7540::/32", "47359"}, + {"2a03:8820::/32", "200932"}, + {"2a0b:b480::/29", "43288"}, + {"2404:3d00:4118::/42", "3573"}, + {"2408:8957:5a00::/40", "17622"}, + {"2400:a980:cc::/48", "134169"}, + {"2404:8d06:9000::/40", "133543"}, + {"2600:6:ff40::/46", "10507"}, + {"2620:1bc:1025::/46", "7726"}, + {"2803:6700:10::/48", "263210"}, + {"2804:b:c00d::/48", "14840"}, + {"2407:7c0:100::/43", "9422"}, + {"2409:896a:8200::/39", "9808"}, + {"240e:ff:d000::/36", "58543"}, + {"2607:f318::/32", "7774"}, + {"2620:111:e008::/45", "27367"}, + {"2800:5a0::/32", "27792"}, + {"2001:da8:802b::/43", "24364"}, + {"2401:25c0::/32", "131918"}, + {"2804:2dac::/35", "265296"}, + {"2804:7de0::/32", "271588"}, + {"2c0f:e8e0:4070::/40", "327926"}, + {"2001:bf2::/29", "12732"}, + {"2803:f800:50::/45", "13335"}, + {"2001:4878:a141::/48", "12222"}, + {"2400:9fc0::/32", "136525"}, + {"2408:8459:1f50::/34", "17816"}, + {"2604:680::/32", "40281"}, + {"2a00:bd20::/32", "8455"}, + {"2a02:26f7:bd4d::/46", "20940"}, + {"2408:8459:9610::/42", "17623"}, + {"2604:d600:1818::/38", "32098"}, + {"2800:160:10f5::/39", "14259"}, + {"2804:4124::/32", "266006"}, + {"2a01:750::/47", "6702"}, + {"2a02:26f7:e741::/46", "20940"}, + {"2001:67c:8a0::/48", "24954"}, + {"2402:800:b8c0::/42", "7552"}, + {"2403:140::/32", "134113"}, + {"2804:7008::/32", "270702"}, + {"2a02:26f0:bf01::/33", "20940"}, + {"2620:107:904c::/48", "22787"}, + {"2804:1324::/32", "263518"}, + {"2804:2584::/32", "264285"}, + {"2a00:1ae8::/32", "42517"}, + {"2a12:d100::/29", "204790"}, + {"2400:7800::/32", "4713"}, + {"2401:d800:5ca2::/41", "7552"}, + {"240e:37d:2600::/32", "4134"}, + {"2804:2118::/32", "264533"}, + {"2804:40b0::/32", "265975"}, + {"2001:678:2e0::/48", "29686"}, + {"2001:43f8:c40::/48", "37578"}, + {"240a:ad06::/32", "145984"}, + {"2602:feda:cdc::/48", "141221"}, + {"2a00:8a00:2000::/35", "18666"}, + {"2a0a:d140::/29", "205919"}, + {"2001:253:132::/48", "142098"}, + {"2806:2f0:4421::/46", "17072"}, + {"2a02:26f7:be00::/48", "36183"}, + {"2001:559:c158::/48", "22258"}, + {"2404:a8:3ff::/48", "24514"}, + {"2408:8456:f000::/42", "17622"}, + {"2408:8957:d640::/40", "17622"}, + {"2800:160:10d4::/44", "14259"}, + {"2800:160:1b3f::/41", "14259"}, + {"2a05:4741:25::/48", "212520"}, + {"2606:d280::/32", "394625"}, + {"2800:160:1525::/44", "14259"}, + {"2804:4f58:8100::/33", "268321"}, + {"2a02:26f7:c30d::/42", "20940"}, + {"2a02:cb43:3000::/46", "20546"}, + {"2a06:6d00::/29", "22663"}, + {"2a0c:1480::/29", "16353"}, + {"2400:c0::/27", "4766"}, + {"2409:8904:6570::/40", "24547"}, + {"2620:101:402d::/48", "16880"}, + {"2800:484:7a00::/32", "10620"}, + {"2a00:5646::/32", "13030"}, + {"2401:7500:fff0::/47", "133296"}, + {"2603:c0f8:2a10::/40", "20054"}, + {"2a07:8780::/29", "211466"}, + {"2a12:a307:2::/48", "134666"}, + {"2408:8940::/32", "4837"}, + {"2409:8904:5b70::/40", "24547"}, + {"2600:140f:e401::/38", "20940"}, + {"2604:f3c0::/32", "27602"}, + {"2804:28f0::/32", "263988"}, + {"2804:5548::/32", "268700"}, + {"2a00:f7a0::/40", "21277"}, + {"2a10:22c0::/29", "206807"}, + {"2001:559:8442::/48", "7016"}, + {"2800:300:69a0::/32", "27986"}, + {"2804:6268::/32", "269295"}, + {"2607:6100:100b::/48", "398951"}, + {"2a00:5881:c000::/40", "51083"}, + {"2a01:5c40::/46", "12687"}, + {"2a0b:c200::/29", "24953"}, + {"2804:bd0:df::/32", "10670"}, + {"2804:3218::/32", "265055"}, + {"2a00:1c39::/32", "29014"}, + {"2a0d:8480:1::/48", "207651"}, + {"2602:feb4:80::/44", "25961"}, + {"2a02:26f7:be84::/48", "36183"}, + {"2a02:26f7:d851::/42", "20940"}, + {"2408:8957:8400::/40", "17622"}, + {"2a0e:8f02:f024::/48", "211521"}, + {"2600:6c2e:230::/39", "20115"}, + {"2804:4324::/32", "267551"}, + {"2406:b400:50::/44", "18209"}, + {"2804:1218:4000::/36", "263456"}, + {"2001:559:81b6::/48", "33287"}, + {"2a11:9180::/29", "204790"}, + {"2c0f:f828::/32", "37468"}, + {"2402:800:b160::/40", "7552"}, + {"2406:8000::/32", "17955"}, + {"240e:92a::/31", "58542"}, + {"2600:1003:a800::/44", "6167"}, + {"2a02:26f7:b6cc::/48", "36183"}, + {"2a02:21f8::/32", "8851"}, + {"2a02:26f0:df01::/34", "20940"}, + {"2a11:c80::/29", "208861"}, + {"2001:15e0::/32", "8897"}, + {"2405:af80::/32", "135559"}, + {"2407:ac00::/32", "45470"}, + {"2409:8054:28::/48", "9808"}, + {"2600:1404:1401::/36", "20940"}, + {"2a0c:e082::/43", "51095"}, + {"2a11:af02::/32", "208861"}, + {"2400:a980:c0::/48", "133111"}, + {"2401:d800:fd30::/41", "7552"}, + {"2600:1014::/32", "22394"}, + {"2602:ff3d::/36", "395214"}, + {"2804:204:20a::/45", "28186"}, + {"2804:248::/46", "28598"}, + {"2804:1564::/34", "52570"}, + {"2a02:638::/32", "34803"}, + {"2001:da8:e823::/48", "138373"}, + {"2001:44c8:4600::/43", "131445"}, + {"2803:5780::/32", "263720"}, + {"2a02:26f0:5d01::/38", "20940"}, + {"2404:5800::/39", "9911"}, + {"2409:8020:3032::/45", "56046"}, + {"2600:1008:b040::/42", "6167"}, + {"2620:3::/48", "14200"}, + {"2800:5f0:83e::/41", "22724"}, + {"2a00:14b0::/32", "13135"}, + {"2a0d:70c0::/29", "47995"}, + {"2804:360::/32", "53088"}, + {"2806:20f::/32", "28408"}, + {"240a:acb4::/32", "145902"}, + {"2804:49c8::/32", "267203"}, + {"2a0c:a9c7:8::/46", "41740"}, + {"2001:43f8:c1::/48", "37578"}, + {"2402:800:f290::/42", "7552"}, + {"2606:3380:212::/47", "53334"}, + {"2620:1ec:c11::/48", "8068"}, + {"2804:6b54::/32", "270393"}, + {"2a03:bcc0:1::/48", "197882"}, + {"2001:559:8634::/48", "33659"}, + {"2001:579:90a0::/44", "22773"}, + {"2409:8907:6b20::/37", "24547"}, + {"2804:15a4:1210::/32", "263400"}, + {"2a09:a700::/29", "209854"}, + {"2001:67c:21c::/48", "51090"}, + {"2001:67c:2104::/48", "9182"}, + {"2400:cb00:a800::/45", "13335"}, + {"2800:200:e221::/41", "12252"}, + {"2804:14c:7b00::/40", "28573"}, + {"2a0b:2900:3100::/38", "48582"}, + {"2a0e:6540:b0::/48", "208364"}, + {"2001:448a:10d0::/42", "7713"}, + {"240a:a1a7::/32", "143073"}, + {"2804:2384:d000::/34", "264167"}, + {"2806:103e:10::/48", "8151"}, + {"2a0d:5f00::/30", "31438"}, + {"2c0f:f9e0::/48", "37148"}, + {"2402:9e00::/37", "24183"}, + {"240c:c0a1::/29", "23910"}, + {"2600:1401:6001::/48", "20940"}, + {"2620:111:103d::/48", "18469"}, + {"2a00:1de8::/32", "48220"}, + {"2a0b:2d80::/32", "212521"}, + {"2a0e:97c0:5d0::/44", "210476"}, + {"2001:559:c4d2::/48", "7922"}, + {"2403:7940:fcc0::/48", "33353"}, + {"240a:a57e::/32", "144056"}, + {"2804:185c::/32", "52541"}, + {"2804:6ea0:8030::/34", "270609"}, + {"2a0e:5540:100::/48", "208258"}, + {"240a:a6ea::/32", "144420"}, + {"2803:a760::/32", "269855"}, + {"2a07:1980:13::/48", "25773"}, + {"2a09:6d00::/29", "209871"}, + {"2a10:c0c0::/29", "208861"}, + {"2a11:c500::/29", "42375"}, + {"2405:c0:1000::/47", "138881"}, + {"2607:f4e8::/45", "22822"}, + {"2804:2f88::/32", "264897"}, + {"2001:1388:8441::/42", "6147"}, + {"240a:a6b4::/32", "144366"}, + {"2801:1b:1800::/48", "10753"}, + {"2806:2f0:5241::/46", "17072"}, + {"2a0f:93c1:28::/29", "62240"}, + {"2001:388:cf86::/34", "7575"}, + {"2a02:2a68::/32", "702"}, + {"2a06:2600::/32", "20473"}, + {"2a10:3e40::/29", "204790"}, + {"2406:da00:2000::/40", "16509"}, + {"2620:10a:b080::/47", "15297"}, + {"2a02:26f7:d808::/47", "36183"}, + {"240a:a9ad::/32", "145127"}, + {"2804:4468::/32", "267631"}, + {"2001:559:3e7::/48", "7015"}, + {"2406:a1c0:100::/37", "131921"}, + {"2a01:6a0::/32", "13284"}, + {"2001:559:811e::/48", "33657"}, + {"2001:559:c1aa::/47", "7015"}, + {"2001:67c:1788::/48", "209295"}, + {"2409:8c20:816::/44", "56046"}, + {"2803:e580::/32", "61467"}, + {"2606:b600:104::/48", "12167"}, + {"2001:253:111::/48", "142077"}, + {"2605:b40::/32", "397142"}, + {"2804:14c:7981::/46", "28573"}, + {"2a02:970:1407::/41", "44002"}, + {"2a02:26f7:efc8::/48", "36183"}, + {"2a0e:b107:139::/48", "212227"}, + {"2c0f:eb58::/32", "36924"}, + {"2604:b000:f000::/36", "14638"}, + {"2620:a3:e030::/48", "39952"}, + {"2804:a54:2::/43", "262664"}, + {"2804:b18:8050::/40", "52941"}, + {"2804:b64::/32", "52770"}, + {"2804:13dc::/32", "262428"}, + {"2804:435c::/38", "267565"}, + {"2a02:26f7:32::/48", "36183"}, + {"2001:559:c152::/48", "33652"}, + {"2001:4490:ffc::/46", "9829"}, + {"2408:821a::/31", "4837"}, + {"240c:c002::/27", "23910"}, + {"2607:f4a8:200e::/32", "803"}, + {"2001:4c8:101e::/47", "15290"}, + {"2001:559:862b::/48", "7922"}, + {"2001:67c:176c::/48", "31725"}, + {"2001:ee0:8d40::/35", "45899"}, + {"240e:983:140c::/39", "4134"}, + {"2600:1415:f001::/37", "20940"}, + {"2a02:5940::/32", "42160"}, + {"2a09:400::/35", "208861"}, + {"2001:678:398::/48", "57560"}, + {"2409:8055:302a::/43", "56040"}, + {"2a02:26f0:fa01::/39", "20940"}, + {"2a06:1e00::/48", "60695"}, + {"2001:559:837f::/40", "33657"}, + {"2001:5a0:a000::/33", "6453"}, + {"2001:dc7:ffd3::/45", "24151"}, + {"2400:cb00:a173::/45", "13335"}, + {"2409:806a:5d00::/31", "9808"}, + {"240a:a778::/32", "144562"}, + {"2804:680:11::/44", "262589"}, + {"2a02:fe00::/29", "199332"}, + {"2001:559:81aa::/48", "7015"}, + {"2001:579:114::/42", "22773"}, + {"2409:8924:5300::/37", "56046"}, + {"2607:1280:14b0::/44", "394972"}, + {"2803:e880:bff1::/33", "52468"}, + {"2a02:26f0:bd00::/48", "34164"}, + {"2a09:9d00::/29", "201178"}, + {"2409:8057:303c::/48", "9808"}, + {"240a:a05a::/32", "142740"}, + {"2600:9000:2340::/46", "16509"}, + {"2804:14c:3b81::/44", "28573"}, + {"2804:1d1c::/40", "53196"}, + {"2806:20d:5035::/46", "32098"}, + {"2c0f:ed50::/32", "328468"}, + {"2408:8656:2ef2::/44", "17623"}, + {"2600:1017:a800::/44", "22394"}, + {"2606:9000::/32", "18618"}, + {"2a06:cdc0:2006::/44", "49941"}, + {"2a0e:b107:4d0::/47", "209083"}, + {"2408:8779::/34", "10206"}, + {"240a:aecf::/32", "146441"}, + {"2a02:26f7:eb81::/46", "20940"}, + {"2a09:bac0:282::/45", "13335"}, + {"2a0b:b87:ffd1::/48", "29802"}, + {"2001:4528:9100::/37", "18101"}, + {"2401:d800:5c80::/42", "7552"}, + {"240e:3b7:1200::/39", "4134"}, + {"2600:6c38:c0d::/46", "20115"}, + {"2607:3180:a001::/35", "14877"}, + {"2607:fad0::/42", "32244"}, + {"2800:160:1e26::/44", "14259"}, + {"2a02:26f7:ef09::/45", "20940"}, + {"2001:67c:262c::/48", "1103"}, + {"2605:4080::/32", "26077"}, + {"2606:11c0::/32", "398263"}, + {"2803:d100:e770::/44", "52362"}, + {"2806:2f0:5481::/46", "17072"}, + {"2a0f:8380::/29", "13045"}, + {"2402:4000:bbf9::/33", "18001"}, + {"2403:71c0:2000::/48", "23959"}, + {"2408:8957:4b00::/40", "17816"}, + {"2600:1002:b1e0::/33", "22394"}, + {"2600:140f:2600::/48", "9829"}, + {"2001:67c:978::/48", "2"}, + {"2804:204:32e::/37", "28186"}, + {"2a11:c600::/29", "48352"}, + {"240a:a4f1::/32", "143915"}, + {"2600:6c3a:842::/45", "20115"}, + {"2a05:4180::/29", "201436"}, + {"2001:3c8:5506::/32", "4621"}, + {"2409:8051:3000::/47", "56047"}, + {"240a:a493::/32", "143821"}, + {"2606:c480::/32", "22361"}, + {"2804:2d2c:fa00::/39", "52971"}, + {"2001:559:c096::/48", "33287"}, + {"240a:a32f::/32", "143465"}, + {"2a02:b50:4014::/34", "30282"}, + {"2a02:26f7:e605::/46", "20940"}, + {"2001:ee0:4a80::/34", "45899"}, + {"2400:1c00:310::/44", "45143"}, + {"2602:feb3::/47", "54116"}, + {"2803:7180:2000::/36", "21575"}, + {"2804:14d:b081::/45", "28573"}, + {"2804:3068::/32", "264949"}, + {"2804:6d30::/32", "262831"}, + {"2a07:e080::/29", "202347"}, + {"2409:896a:8400::/39", "9808"}, + {"2620:104:400c::/46", "15248"}, + {"2001:fd8:e8::/39", "4775"}, + {"2001:18c0::/32", "11290"}, + {"2a02:438::/32", "13132"}, + {"2a0d:2681:100::/37", "210842"}, + {"2001:418:149e::/36", "2914"}, + {"2001:559:2f::/48", "33491"}, + {"2409:8055:68::/48", "9808"}, + {"240a:aaa5::/32", "145375"}, + {"2804:428::/32", "28218"}, + {"2a03:a800::/32", "34762"}, + {"2001:67c:240::/48", "42473"}, + {"240a:a73d::/32", "144503"}, + {"2602:ff99:5::/48", "14333"}, + {"2800:bf0:a829::/48", "52257"}, + {"2a02:26f7:db41::/45", "20940"}, + {"240a:a19f::/32", "143065"}, + {"240a:a3ee::/32", "143656"}, + {"2607:f3a0:a009::/48", "399810"}, + {"2620:0:e58::/48", "3677"}, + {"2a04:17c0::/29", "43404"}, + {"2a0c:4182::/29", "29854"}, + {"2c0f:f078:100::/37", "327939"}, + {"2001:1a11:6b::/45", "42298"}, + {"2400:cb00:a7b0::/45", "13335"}, + {"2804:431:8000::/35", "27699"}, + {"2804:4428::/32", "267606"}, + {"2a11:57c0::/29", "1239"}, + {"2001:56b:800c::/34", "852"}, + {"2606:3600:105::/48", "16839"}, + {"2806:2f0:4683::/42", "17072"}, + {"2001:688::/32", "5511"}, + {"2405:fd80:f00::/35", "135391"}, + {"2406:2000:ef69::/48", "56173"}, + {"2409:8c20:b282::/33", "56046"}, + {"2409:8e30::/29", "9808"}, + {"2606:8940::/32", "398464"}, + {"2806:230:1004::/48", "265594"}, + {"2400:cb00:50::/45", "13335"}, + {"2408:8456:e040::/38", "17816"}, + {"2804:da4::/32", "27720"}, + {"2806:288:4090::/48", "28469"}, + {"2a00:1960::/32", "47608"}, + {"2001:550:9005::/48", "2637"}, + {"2407:b001:1011::/40", "24121"}, + {"2806:2f0:44c3::/42", "17072"}, + {"2001:559:8083::/45", "7922"}, + {"2402:8400:400::/40", "17820"}, + {"2408:840d:f00::/42", "17621"}, + {"2a02:ee80:4165::/44", "3573"}, + {"2a06:e881:112::/48", "205897"}, + {"2001:559:1d3::/48", "33287"}, + {"2001:678:bf8::/48", "29301"}, + {"2001:da8:bd::/46", "23910"}, + {"2602:ffb0:ffe::/48", "40676"}, + {"2804:694:4700::/36", "262596"}, + {"2a0f:9400:7340::/47", "209101"}, + {"2001:559:8591::/46", "7016"}, + {"2001:1a10::/47", "8781"}, + {"2402:800:5a71::/44", "7552"}, + {"240e:3b1:5600::/34", "136199"}, + {"2803:7610::/45", "271956"}, + {"2804:580::/33", "262518"}, + {"2001:448a:7030::/41", "7713"}, + {"2402:800:b070::/40", "7552"}, + {"2408:84f3:e440::/38", "17816"}, + {"2620:f0:c006::/47", "14148"}, + {"2804:8324::/32", "272179"}, + {"2a00:f480::/32", "2848"}, + {"2a0e:5480::/29", "16019"}, + {"2001:1b70:b1::/48", "8147"}, + {"2406:3003:1029::/45", "4657"}, + {"2607:9080:105::/48", "7018"}, + {"2804:6170::/38", "269234"}, + {"2001:ec0:400d::/40", "131293"}, + {"2001:44c8:45c0::/43", "131445"}, + {"2409:8a53:300::/37", "56047"}, + {"2605:2400:500::/32", "3361"}, + {"2804:7638::/32", "271097"}, + {"2a00:d90::/31", "12552"}, + {"2a05:4140:190::/48", "211358"}, + {"2a0e:3940:3200::/44", "207834"}, + {"2001:18b8:112::/48", "30361"}, + {"2602:fcb6::/36", "399392"}, + {"2804:56d4::/32", "268026"}, + {"2001:559:856b::/48", "7015"}, + {"2001:18b8:5::/48", "30361"}, + {"240a:ab9b::/32", "145621"}, + {"240e:1c:3000::/36", "136188"}, + {"2804:2d90:2200::/32", "52682"}, + {"2408:8456:5800::/42", "17622"}, + {"2804:bd8:cd00::/34", "52838"}, + {"2804:36a0::/32", "266360"}, + {"2a00:8760::/32", "60750"}, + {"2a07:dbc0::/32", "42422"}, + {"2001:559:48::/48", "33657"}, + {"2001:559:849f::/48", "33657"}, + {"2001:da8:263::/48", "23910"}, + {"2600:1488:41c2::/34", "20940"}, + {"2804:2330::/32", "264147"}, + {"2a02:26f7:da08::/48", "36183"}, + {"2a02:2810::/32", "15954"}, + {"2a07:7580::/29", "44558"}, + {"2a0c:f40::/32", "41451"}, + {"2001:df0:92::/48", "55479"}, + {"2409:8002:1100::/37", "9808"}, + {"2607:ffc8:0:5::/62", "17356"}, + {"2a00:1cd0:6::/48", "43408"}, + {"2001:559:809c::/48", "7922"}, + {"2001:67c:19f8::/48", "56879"}, + {"2001:1248:8477::/40", "11172"}, + {"240a:a1a3::/32", "143069"}, + {"240e:678:c400::/34", "4134"}, + {"2607:f678::/32", "13868"}, + {"2a00:cb8:33::/45", "15695"}, + {"2a05:81c0::/29", "2875"}, + {"2a0c:e640:5::/44", "211876"}, + {"2a0e:1106::/40", "62142"}, + {"2001:da8:5ff6::/44", "23910"}, + {"2402:9800:4007::/32", "38158"}, + {"2402:e280:2244::/47", "134674"}, + {"2602:fed2:7105::/48", "207393"}, + {"2401:2a00:2004::/32", "7468"}, + {"2804:68a0::/32", "269705"}, + {"2a02:26f7:e4c0::/48", "36183"}, + {"240e:45c:6500::/40", "140530"}, + {"2620:171:26::/47", "715"}, + {"2806:2f0:7163::/40", "17072"}, + {"2a04:a182::/32", "201301"}, + {"2a0f:9b80::/32", "210231"}, + {"2001:44c8:2001::/35", "45430"}, + {"240a:a07d::/32", "142775"}, + {"2804:5634::/32", "267983"}, + {"2001:559:11d::/46", "7725"}, + {"240a:ae5a::/32", "146324"}, + {"2602:fc23:130::/44", "142419"}, + {"2001:559:c27c::/47", "33652"}, + {"2405:4700::/32", "132426"}, + {"2408:820c::/34", "17621"}, + {"2a00:ce20::/29", "15600"}, + {"2001:559:8468::/48", "22909"}, + {"2600:1406:30::/48", "35994"}, + {"2602:fe5f::/36", "32899"}, + {"2801:1d:9000::/48", "264718"}, + {"2001:df4:6300::/48", "137487"}, + {"2001:49d0:8800::/33", "2495"}, + {"2600:6c7f:91e0::/44", "19115"}, + {"2606:6000:5000::/34", "20001"}, + {"2606:6c00:104::/44", "32787"}, + {"2a00:11c0:43::/45", "42473"}, + {"2a03:4bc0:3133::/48", "13214"}, + {"2001:559:780::/48", "33652"}, + {"240a:a40c::/32", "143686"}, + {"2607:fc58:1:33::/64", "13536"}, + {"2620:11b:e030::/41", "3356"}, + {"2804:2804::/36", "263935"}, + {"2804:80a4::/32", "271764"}, + {"2a12:2400::/29", "1239"}, + {"2001:67c:25d0::/48", "48061"}, + {"2409:896a:9600::/39", "9808"}, + {"2607:f110:6::/44", "21889"}, + {"2800:bf0:2205::/40", "27947"}, + {"2a01:5240::/31", "58243"}, + {"2a02:26f7:f341::/46", "20940"}, + {"2001:559:c212::/48", "33652"}, + {"2001:fd8:3180::/42", "132199"}, + {"2407:4800:c000::/34", "139759"}, + {"2600:140a:6000::/48", "812"}, + {"2801:80:22b0::/48", "267001"}, + {"2a02:6f40::/32", "199235"}, + {"2a0c:9b40::/29", "202499"}, + {"2001:559:8103::/48", "7922"}, + {"2400:4d40:2::/38", "134204"}, + {"2407:9240:2500::/40", "51044"}, + {"240a:61:e00::/48", "9605"}, + {"2607:4480:1::/46", "40470"}, + {"2607:f5b4::/32", "395954"}, + {"2620:171:52::/45", "42"}, + {"2a07:e740:dc11::/29", "43299"}, + {"2001:559:72::/48", "7725"}, + {"2001:559:28b::/48", "33489"}, + {"2001:559:8056::/48", "33491"}, + {"2804:4fd0::/32", "268351"}, + {"2001:250:3400::/48", "138438"}, + {"2001:559:830d::/48", "33661"}, + {"2404:e00:60::/46", "15695"}, + {"2404:3800:8::/46", "45459"}, + {"240e:44a::/29", "4134"}, + {"2a0c:3cc0::/32", "203936"}, + {"2001:49d0:100::/42", "18460"}, + {"2408:8345::/35", "140726"}, + {"240e:925:3000::/36", "132153"}, + {"2604:1380:4070::/40", "54825"}, + {"2607:f208:d000::/43", "398101"}, + {"2804:3b00::/32", "52973"}, + {"2a02:ee80:4078::/45", "3573"}, + {"2408:84f3:3020::/43", "17816"}, + {"2603:4:1010::/46", "44273"}, + {"2400:adc0:c130::/48", "9541"}, + {"2400:dcc0:ac04::/39", "38631"}, + {"2409:8904:cca0::/39", "24547"}, + {"240e:438:5c40::/38", "4134"}, + {"2804:14c:8789::/45", "28573"}, + {"2804:db0::/40", "52862"}, + {"2806:230:201b::/48", "11888"}, + {"2a01:1101:6::/28", "5617"}, + {"2a10:2ec0::/32", "210625"}, + {"2001:678:bc8::/48", "57078"}, + {"2001:67c:11b0::/48", "24711"}, + {"2804:752c::/32", "271028"}, + {"2a03:db80:4410::/48", "5501"}, + {"2a05:8a00::/29", "201178"}, + {"2401:d800:baf0::/39", "7552"}, + {"2606:a600::/46", "23005"}, + {"2804:176c::/32", "263098"}, + {"2a01:a2e0::/32", "3303"}, + {"2a10:eec0:c::/48", "7342"}, + {"2401:5400::/34", "4434"}, + {"2409:8915:5200::/39", "56044"}, + {"240e:3ba:ec00::/35", "140314"}, + {"2602:ffd9:200::/40", "62874"}, + {"2804:26ec::/32", "263864"}, + {"2a01:4080::/32", "42291"}, + {"2405:a840::/32", "38562"}, + {"2620:125:7006::/48", "53780"}, + {"2a02:26f7:e701::/46", "20940"}, + {"2a02:ac80:501::/38", "25145"}, + {"2001:559:b2::/48", "22258"}, + {"2001:1278::/44", "18734"}, + {"2402:800:3e60::/43", "7552"}, + {"240a:a9c1::/32", "145147"}, + {"2804:4bd4::/32", "267331"}, + {"2a0e:46c4:2c30::/47", "142597"}, + {"2001:67c:43c::/48", "12552"}, + {"2001:da8:8f00::/48", "138370"}, + {"2001:4878:62::/47", "12222"}, + {"2620:85:e000::/48", "46616"}, + {"2a02:26f7:f505::/46", "20940"}, + {"2a06:34c0::/29", "211873"}, + {"2c0f:fc98::/32", "37282"}, + {"2001:4408:c003::/34", "4758"}, + {"2a05:b380::/29", "207307"}, + {"2600:6c10:151::/42", "20115"}, + {"2a0e:46c4:106::/48", "142289"}, + {"2a0e:b107:14a0::/44", "142438"}, + {"2001:559:54a::/48", "7922"}, + {"2001:559:84e0::/48", "33287"}, + {"240a:a9e6::/32", "145184"}, + {"2602:fec5:1::/48", "62952"}, + {"2a01:5a8:3:80::/45", "8866"}, + {"2001:559:c2a4::/48", "33652"}, + {"2001:678:b30::/48", "41634"}, + {"2001:67c:2b5c::/48", "43451"}, + {"240e:d9:d000::/37", "4134"}, + {"2620:12b:5001::/45", "27381"}, + {"2409:8c20:9c72::/47", "56046"}, + {"2620:1d7:2::/48", "7545"}, + {"2804:80d0::/32", "272414"}, + {"2a06:b700::/29", "201616"}, + {"2401:d800:b3c0::/42", "7552"}, + {"2408:8459:e850::/38", "17816"}, + {"240e:183:8208::/46", "140650"}, + {"2a03:5760:3::/32", "201900"}, + {"2a05:4bc0::/29", "59395"}, + {"2a09:bac0:109::/48", "13335"}, + {"2a01:a380::/32", "12693"}, + {"2a07:b400::/29", "14576"}, + {"2001:3c8:2705::/48", "132482"}, + {"2401:a400:400::/33", "7477"}, + {"2a03:5cc0::/32", "48685"}, + {"2a0c:5640::/29", "203498"}, + {"2001:67c:2f8::/48", "47639"}, + {"2620:7e:30e0::/48", "3356"}, + {"2620:129:9001:51::/48", "13767"}, + {"2803:9660::/32", "267900"}, + {"2803:7200:800c::/47", "27696"}, + {"2804:89c::/32", "262381"}, + {"2001:678:d40::/48", "198430"}, + {"2400:cb00:462::/45", "13335"}, + {"2409:8904:7d40::/38", "24547"}, + {"2804:1674:21::/32", "53231"}, + {"2a03:2880:f002::/44", "32934"}, + {"2400:4880:4::/32", "131178"}, + {"2400:8b00:d00::/42", "45727"}, + {"2409:8061:100::/36", "9808"}, + {"2604:b180:50::/44", "23279"}, + {"2a01:8840:79::/48", "207266"}, + {"2a02:408:8093::/48", "35295"}, + {"2a06:7243::/46", "62425"}, + {"2001:1a11:21::/48", "42298"}, + {"2607:ff28:b02b::/33", "62904"}, + {"2800:600:401::/32", "52323"}, + {"2a05:b680:8::/48", "62445"}, + {"2409:8914:b200::/39", "56044"}, + {"240e:3b6:2c00::/35", "134774"}, + {"2804:5ff8::/32", "269137"}, + {"2a02:e980:b9::/45", "19551"}, + {"2a0d:f300::/32", "50673"}, + {"2001:559:8727::/48", "7015"}, + {"2400:cb00:362::/47", "13335"}, + {"2607:4700:f002::/36", "25720"}, + {"2804:14d:4ca7::/43", "28573"}, + {"2a10:9d00::/29", "49188"}, + {"2620:6d:c000::/48", "31921"}, + {"2a0c:9a40:8180::/48", "212983"}, + {"240a:ac23::/32", "145757"}, + {"2a07:3c80:600::/40", "209322"}, + {"2001:550:501::/48", "14877"}, + {"2001:67c:2cfc::/48", "2119"}, + {"2001:8f8::/32", "8966"}, + {"2600:1409:13::/48", "35994"}, + {"2a05:b2c4::/31", "199927"}, + {"2403:b9c0::/48", "131636"}, + {"240e:63:f000::/36", "140313"}, + {"2607:ff60:7000::/32", "3900"}, + {"2804:14d:b200::/40", "28573"}, + {"2804:18e8::/32", "61762"}, + {"2804:2324::/32", "262883"}, + {"2401:1040:3::/38", "134806"}, + {"240a:a51a::/32", "143956"}, + {"2600:140b:6801::/35", "20940"}, + {"2804:29c4::/32", "264033"}, + {"2a01:9fa0::/32", "29316"}, + {"2a03:9340::/32", "25589"}, + {"2402:800:fab0::/41", "7552"}, + {"2409:8051:2002::/40", "56047"}, + {"2804:2720::/32", "263878"}, + {"2408:8459:c210::/42", "17623"}, + {"240a:ad8e::/32", "146120"}, + {"2600:1409:2::/48", "35994"}, + {"2620:0:2810::/48", "14607"}, + {"2800:160:2007::/44", "14259"}, + {"2806:20d:162c::/43", "32098"}, + {"2806:2f0:40c1::/46", "17072"}, + {"2c0f:e8e0:4::/33", "327926"}, + {"2600:9000:10cd::/43", "16509"}, + {"2001:250:3c0f::/43", "23910"}, + {"2409:8020:30c4::/32", "56046"}, + {"240a:a1da::/32", "143124"}, + {"2600:802:f05::/35", "701"}, + {"2600:1010:f010::/40", "22394"}, + {"2408:8459:8e10::/42", "17623"}, + {"2409:8087:280d::/40", "56041"}, + {"2804:4194::/32", "267442"}, + {"2a02:26f7:cfc0::/48", "36183"}, + {"2a02:26f7:eb89::/46", "20940"}, + {"2a11:af00::/32", "208861"}, + {"2404:c2c0::/40", "135629"}, + {"2409:8053:3900::/32", "9808"}, + {"240a:a3a9::/32", "143587"}, + {"240a:ad0c::/32", "145990"}, + {"2a0d:8b00::/29", "208861"}, + {"2001:44b8:4070::/44", "7545"}, + {"2a01:788:aaab::/45", "34343"}, + {"2a09:2280::/48", "209792"}, + {"2408:8456:ce00::/42", "17622"}, + {"2409:8c70:3a51::/40", "9808"}, + {"2602:fcce:801::/39", "399200"}, + {"2804:2984:680::/41", "53184"}, + {"2a00:1e68:102::/43", "42861"}, + {"2a09:bac0:70::/45", "13335"}, + {"2a09:d5c0::/32", "39150"}, + {"2c0f:f118:2::/32", "328201"}, + {"240a:abc5::/32", "145663"}, + {"2602:fd6a::/36", "396412"}, + {"2607:f810:340::/36", "6192"}, + {"2804:b18:8d::/46", "52941"}, + {"2804:5534:e801::/48", "268696"}, + {"2a01:4ba0:4::/29", "199987"}, + {"2a03:8f87:1::/48", "51793"}, + {"2402:6640:31::/36", "134995"}, + {"240e:6b5::/35", "134775"}, + {"2a01:58a0:200::/32", "51018"}, + {"2a02:26f7:b98a::/48", "36183"}, + {"2a04:e380::/29", "31275"}, + {"2a09:6600::/29", "208861"}, + {"2a0f:a200::/29", "1239"}, + {"2409:8d5a::/37", "56040"}, + {"2600:6c7f:9380::/44", "10796"}, + {"2800:160:1738::/41", "14259"}, + {"2409:8c1f:a930::/33", "9808"}, + {"2806:2f0:2121::/48", "22884"}, + {"2a0f:8680::/29", "60781"}, + {"2001:df3:e000::/48", "13214"}, + {"2405:84c0:fdfc::/46", "210872"}, + {"2800:160:1780::/43", "14259"}, + {"2804:52f4:a90::/41", "268552"}, + {"2806:2f0:9e01::/46", "17072"}, + {"2a02:26f7:75::/48", "20940"}, + {"2a05:3440::/29", "211289"}, + {"2001:250:7027::/44", "24369"}, + {"2403:5180::/48", "23961"}, + {"2600:1f10:4000::/36", "14618"}, + {"2a01:9e00:ac53::/48", "206202"}, + {"2403:300:1500::/42", "6185"}, + {"2a00:1a48::/32", "15395"}, + {"2a06:8a07::/32", "12307"}, + {"2001:559:83f6::/48", "7725"}, + {"2001:44b8:40::/46", "7545"}, + {"2400:1a00:b021::/43", "17501"}, + {"2001:559:82ca::/48", "33490"}, + {"2402:6c40::/32", "38084"}, + {"240e:964:cc00::/35", "4134"}, + {"2a00:8880::/32", "15557"}, + {"2a0f:1e81:cdaf::/30", "30633"}, + {"2001:559:85a2::/47", "33651"}, + {"240a:a5f7::/32", "144177"}, + {"2803:9800:9031::/45", "11664"}, + {"2a00:2000::/22", "5400"}, + {"2a04:ac00:1::/48", "201848"}, + {"2a09:8380::/48", "209672"}, + {"2604:cac0:45::/48", "11019"}, + {"2607:ffb0:300e::/33", "6327"}, + {"2a01:80a0:1::/48", "62156"}, + {"2a0f:a080::/29", "15391"}, + {"2804:14c:cc93::/42", "28573"}, + {"2804:7084::/32", "270731"}, + {"2a0a:7d80:2::/48", "56740"}, + {"2a0a:e5c0:c::/47", "209898"}, + {"2001:559:1b0::/47", "7922"}, + {"2001:559:874c::/46", "33657"}, + {"2804:e30:7800::/37", "11338"}, + {"2a02:d8:8009::/46", "44654"}, + {"2a02:26f0:ec00::/48", "34164"}, + {"2001:559:c4d7::/48", "33652"}, + {"2001:df0:7980::/48", "38510"}, + {"2404:26c0::/48", "135987"}, + {"2a02:26f7:f6f1::/46", "20940"}, + {"2a06:a005:60::/43", "148996"}, + {"2a07:3402::/32", "62874"}, + {"2a0d:8d07:b00c::/33", "207616"}, + {"2a0e:7280::/29", "31477"}, + {"2001:250:582a::/48", "138371"}, + {"2403:8dc0::/32", "133648"}, + {"240a:af4e::/32", "146568"}, + {"2001:559:1a9::/48", "33659"}, + {"2001:559:829f::/48", "33657"}, + {"2600:6c38:44e::/43", "20115"}, + {"2a02:26f7:f249::/42", "20940"}, + {"2a02:cb45:101::/48", "20546"}, + {"2600:6c66::/31", "33588"}, + {"2804:4a08::/32", "267214"}, + {"2001:559:2db::/48", "7922"}, + {"2600:1409:2801::/35", "20940"}, + {"2804:4e74::/32", "268262"}, + {"240a:a7eb::/32", "144677"}, + {"240e:3b1:7600::/39", "140313"}, + {"2606:2800:602c::/48", "15133"}, + {"2803:53e0:1000::/48", "52468"}, + {"2a00:ea80::/32", "34749"}, + {"2001:3c8:c305::/48", "37932"}, + {"2001:df0:427::/48", "24514"}, + {"240a:a3e1::/32", "143643"}, + {"240a:a3f8::/32", "143666"}, + {"2605:ed00:4c63::/48", "11351"}, + {"2001:520:100b::/45", "8103"}, + {"2600:4800:80::/28", "6128"}, + {"2804:4f7c::/32", "52320"}, + {"2408:8956:6500::/40", "17816"}, + {"2600:6c10:f051::/45", "20115"}, + {"2804:865c::/32", "272638"}, + {"2001:678:45c::/48", "213237"}, + {"2403:5180:6::/48", "138181"}, + {"2407:5040:400::/36", "134715"}, + {"240e:982:b200::/39", "58461"}, + {"2600:140b:5c00::/48", "31109"}, + {"2600:40ff:fc15::/40", "701"}, + {"2804:13dc:fff0::/44", "262428"}, + {"2804:4df8::/32", "268231"}, + {"2a02:2698::/42", "12768"}, + {"2a0c:d540:1112::/32", "60159"}, + {"2001:559:572::/48", "7015"}, + {"2409:8904:5d40::/42", "24547"}, + {"2600:1406:2c00::/48", "35994"}, + {"2804:5d70::/32", "268972"}, + {"2a01:71c0::/31", "198066"}, + {"2a09:fcc0::/32", "205718"}, + {"2001:559:c171::/48", "33660"}, + {"2001:579:d0c4::/42", "22773"}, + {"2001:4248::/43", "30999"}, + {"2401:4900:1cd8::/45", "24560"}, + {"2408:8274::/28", "4837"}, + {"240e:55::/34", "140330"}, + {"240e:438:1220::/43", "140647"}, + {"2801:172:2::/48", "27951"}, + {"2a02:26f7:f748::/48", "36183"}, + {"2a04:207:ffff::/48", "48101"}, + {"2a0c:e040:127::/43", "200629"}, + {"2001:df0:500::/40", "132361"}, + {"2400:f0c0::/36", "136477"}, + {"2408:8456:1d00::/42", "17622"}, + {"2804:1d04:8000::/35", "61689"}, + {"2001:550:e03::/45", "174"}, + {"2409:8057:306c::/48", "141425"}, + {"2001:49f0:a01f::/41", "174"}, + {"2402:800:348d::/43", "7552"}, + {"2803:9800:b0e1::/37", "11664"}, + {"2a00:7f80::/29", "48585"}, + {"2a00:9620::/32", "43071"}, + {"2001:559:85ea::/47", "7922"}, + {"2804:394:3000::/32", "262895"}, + {"2804:6bdc::/32", "270430"}, + {"2a02:750::/44", "42708"}, + {"2a02:26f7:d349::/42", "20940"}, + {"2402:800:588d::/43", "7552"}, + {"2404:ab80::/43", "55944"}, + {"2600:100d:bf00::/44", "6167"}, + {"2606:7a80::/28", "10958"}, + {"2804:145c:ce10::/39", "263327"}, + {"2804:7a3c:180::/36", "271357"}, + {"2a02:ea0::/29", "16218"}, + {"240a:a17e::/32", "143032"}, + {"2804:8374:8000::/33", "264502"}, + {"2001:559:c256::/48", "7922"}, + {"2402:800:5271::/44", "7552"}, + {"2602:ff1f::/36", "393635"}, + {"2a09:4c2:30::/46", "58057"}, + {"2a0e:d3c0::/48", "205869"}, + {"2a0e:d487:f00e::/48", "211066"}, + {"2001:da8:240::/48", "24349"}, + {"2001:4268:140::/38", "15964"}, + {"2600:100d:f010::/40", "22394"}, + {"2801:80:190::/48", "262413"}, + {"2a01:e0a::/37", "12322"}, + {"240e:6b9::/36", "140312"}, + {"2804:1f20::/32", "19200"}, + {"2a00:db60::/48", "15224"}, + {"2a00:f826:b::/43", "34549"}, + {"240a:a3f1::/32", "143659"}, + {"2a00:47a0::/32", "61010"}, + {"2001:559:c3e6::/48", "7015"}, + {"2607:f758:b400::/33", "13649"}, + {"2405:6c0::/48", "4515"}, + {"2803:6700:240::/48", "263210"}, + {"2a00:6920:1000::/40", "42020"}, + {"2a02:26f7:b3c9::/42", "20940"}, + {"2001:67c:1974::/48", "207760"}, + {"2408:8459:c650::/36", "17816"}, + {"2607:fb10:7062::/40", "2906"}, + {"2804:18:7a00::/37", "10429"}, + {"2804:4f64::/32", "268324"}, + {"2a03:ad40:120::/48", "199349"}, + {"2a10:56c0::/29", "212731"}, + {"2a02:2ad0:137::/44", "702"}, + {"2001:250:702b::/45", "24369"}, + {"2001:550:3500::/48", "54030"}, + {"2408:8256:358f::/48", "17816"}, + {"2001:559:8706::/48", "33659"}, + {"2001:67c:12a0::/48", "41108"}, + {"2001:fe8:8121::/48", "24435"}, + {"2401:a100::/46", "45194"}, + {"2600:1480:6800::/48", "21342"}, + {"2804:7c5c::/32", "271491"}, + {"2a01:a840::/32", "16186"}, + {"2a03:32c0:b::/43", "48503"}, + {"2001:559:c52a::/48", "7015"}, + {"2001:df0:6a80::/48", "134986"}, + {"2408:8456:3a00::/41", "17623"}, + {"2804:14d:ae85::/41", "28573"}, + {"2a02:26f0:11f::/42", "20940"}, + {"2400:f2:7001::/29", "4766"}, + {"2401:b780:5000::/48", "65435"}, + {"2603:fc10::/25", "397165"}, + {"2620:57:2000::/48", "22652"}, + {"2001:438:30::/44", "6461"}, + {"2001:aa0::/32", "5669"}, + {"2001:12f8:6::/47", "53035"}, + {"2001:16d8:57::/44", "16150"}, + {"2409:8028:2100::/37", "9808"}, + {"2604:db40::/32", "30382"}, + {"2620:10:8000::/44", "18563"}, + {"2806:230:6004::/48", "265594"}, + {"2001:559:823a::/48", "13367"}, + {"2001:df2:2c00::/48", "133929"}, + {"2620:136:d000::/48", "54710"}, + {"2001:67c:139c::/48", "44286"}, + {"2400:4c80:1010::/32", "7632"}, + {"2a00:1f68::/32", "50919"}, + {"2a01:cb00::/26", "3215"}, + {"2001:4480::/32", "17554"}, + {"2a0c:ab07:5000::/36", "208861"}, + {"2a10:1fc0:1::/48", "59711"}, + {"2001:bf7:541::/38", "44194"}, + {"2605:1280::/32", "14288"}, + {"2001:559:8403::/48", "7922"}, + {"2600:6c5c::/30", "20115"}, + {"2606:6000:7fc1::/32", "20001"}, + {"2408:840c:3a00::/40", "17621"}, + {"2600:1011:9110::/34", "6167"}, + {"2a02:dc00:9::/48", "8998"}, + {"2a05:5504:1::/44", "8218"}, + {"2a0f:6fc0::/32", "49470"}, + {"2a10:d480:ac01::/48", "206232"}, + {"2001:67c:2a18::/48", "58320"}, + {"240a:aae2::/32", "145436"}, + {"2602:fce1:221::/46", "395886"}, + {"2607:f3a0:a005::/48", "399815"}, + {"2804:50d0::/32", "268412"}, + {"2a05:3181::/32", "31514"}, + {"2001:559:800::/33", "7922"}, + {"2404:3d00:40ef::/43", "21433"}, + {"2804:0:667::/35", "2716"}, + {"2804:5480::/32", "268654"}, + {"2a01:358:4020::/36", "9121"}, + {"2a03:3e00::/32", "50469"}, + {"2a0f:5381:1338::/32", "208135"}, + {"2001:df7:cf80::/48", "138032"}, + {"2001:4490:dda8::/43", "9829"}, + {"240e:37f:1a00::/34", "140330"}, + {"2a0d:7ec0::/31", "25398"}, + {"2001:559:84bc::/48", "33657"}, + {"2402:b180:1::/48", "36351"}, + {"2602:107:30d::/48", "11426"}, + {"2800:bf0:1a6::/43", "27947"}, + {"2804:1e6c::/32", "264428"}, + {"2804:6968::/32", "270268"}, + {"2408:8956:4900::/40", "17816"}, + {"2607:9080:605::/48", "62424"}, + {"2800:590:2051::/45", "16629"}, + {"2a02:2e02:f10::/42", "12479"}, + {"2400:dd01:200e::/35", "7497"}, + {"2602:feb4:1f0::/38", "25961"}, + {"2804:2424::/32", "264204"}, + {"2a02:26f7:d3::/48", "20940"}, + {"2a04:f580:8200::/48", "4134"}, + {"2a0f:bf00:c0::/29", "208196"}, + {"2001:678:588::/48", "57260"}, + {"2602:ff8f::/40", "53274"}, + {"2a00:16f8::/48", "17025"}, + {"2a11:4c00::/29", "43624"}, + {"2001:578::/44", "22773"}, + {"2402:800:977f::/40", "7552"}, + {"2804:1c78::/32", "263041"}, + {"2001:978:2302::/47", "174"}, + {"2001:1218:60b5::/44", "278"}, + {"2804:55a0::/32", "267946"}, + {"240a:a937::/32", "145009"}, + {"2600:1407:1b::/48", "35994"}, + {"2804:220::/32", "262791"}, + {"2804:68c8::/33", "269715"}, + {"2a03:ebc0:5000::/36", "31400"}, + {"2001:4b20:100:f000::/63", "65505"}, + {"2804:1c1c:4001::/36", "61638"}, + {"2001:67c:1880::/48", "49949"}, + {"240a:aa57::/32", "145297"}, + {"2604:ca00:106::/43", "36492"}, + {"2803:d100:e3f0::/37", "52362"}, + {"2a05:d050:2040::/44", "16509"}, + {"240a:a18b::/32", "143045"}, + {"2600:9000:11cb::/45", "16509"}, + {"2620:e8::/48", "14183"}, + {"2804:6b74::/32", "270401"}, + {"2001:4c8:1016::/47", "15290"}, + {"2001:559:a3::/48", "13367"}, + {"2001:da8:20e::/48", "23910"}, + {"2001:13b0:d003::/31", "3549"}, + {"2620:35:8000::/48", "394522"}, + {"2804:7264::/32", "270849"}, + {"2a03:3b80::/32", "3308"}, + {"2001:559:59f::/48", "33287"}, + {"2001:df4:2600::/48", "132398"}, + {"2403:4d00::/32", "55785"}, + {"2408:8340::/32", "4837"}, + {"240e:44d:4c40::/42", "140357"}, + {"2604:26c0::/38", "36815"}, + {"2607:f7f0::/32", "30259"}, + {"2800:430::/34", "23487"}, + {"2804:854::/44", "28368"}, + {"2804:5534:6000::/37", "268696"}, + {"2001:250:3c0b::/45", "23910"}, + {"2001:e48:40:6::/45", "9583"}, + {"2402:a340::/32", "10200"}, + {"2409:8e80:7000::/32", "9808"}, + {"240a:a7b8::/32", "144626"}, + {"2804:75d4::/34", "271072"}, + {"2404:7e40::/47", "138649"}, + {"240e:420::/31", "140061"}, + {"2804:14c:4100::/40", "28573"}, + {"2804:4718::/32", "267031"}, + {"2001:559:836f::/48", "33657"}, + {"2001:579:9dc2::/34", "22773"}, + {"240e:3b2:d000::/36", "134772"}, + {"240e:978:f00::/40", "134769"}, + {"2600:1417:41::/48", "24319"}, + {"2409:8924:1700::/36", "56046"}, + {"2804:1f54:e000::/35", "272220"}, + {"2001:559:8238::/48", "33657"}, + {"2407:500:167::/48", "58940"}, + {"2800:bf0:280::/46", "52257"}, + {"2800:bf0:3c05::/33", "27947"}, + {"2806:2f0:4361::/46", "17072"}, + {"2a00:f440:a::/48", "29588"}, + {"2a10:4646:16::/48", "212022"}, + {"2001:253:112::/48", "142078"}, + {"2401:d800:df00::/42", "7552"}, + {"240a:a419::/32", "143699"}, + {"2804:1ac4:5::/44", "61884"}, + {"2a02:26f0:4801::/40", "20940"}, + {"2a0f:d7c0::/32", "57825"}, + {"2001:67c:2f50::/48", "2119"}, + {"2602:fed5::/46", "27398"}, + {"2804:4a90:2040::/32", "267249"}, + {"2a02:26f7:f940::/48", "36183"}, + {"2a10:5340::/29", "21454"}, + {"240e:438:1820::/43", "140647"}, + {"2804:69a8::/32", "270283"}, + {"2001:559:83cc::/48", "7016"}, + {"2001:559:84b0::/48", "7015"}, + {"2001:559:c0c7::/48", "33287"}, + {"2400:cf00::/32", "45396"}, + {"2804:42d8::/32", "267531"}, + {"2001:e60:d010::/39", "4766"}, + {"2402:800:35c5::/43", "7552"}, + {"2408:8459:cf10::/42", "17623"}, + {"2604:99c0::/32", "397790"}, + {"2804:4cd8::/32", "267396"}, + {"2a02:26f7:f401::/46", "20940"}, + {"2a02:8389:6000::/30", "8412"}, + {"2001:253:122::/48", "142088"}, + {"240a:afac::/32", "146662"}, + {"2620:101:2001::/46", "16417"}, + {"2a10:a180::/30", "10753"}, + {"240c:caa2::/23", "23910"}, + {"2606:ae00:b1b0::/41", "7287"}, + {"2804:5d58::/48", "268966"}, + {"2806:2f0:33c1::/46", "17072"}, + {"2a02:26f7:ea40::/48", "36183"}, + {"2a06:1b00::/40", "8302"}, + {"2001:559:8283::/48", "7015"}, + {"2001:559:8594::/48", "33287"}, + {"2001:1900:23cd::/48", "202818"}, + {"2401:e880::/32", "45873"}, + {"2620:1d5:6a0::/41", "14773"}, + {"2800:160:1055::/44", "14259"}, + {"2804:308c:ab00::/33", "264960"}, + {"2001:559:329::/48", "20214"}, + {"2409:8057:1008::/34", "56040"}, + {"2001:550:4100:2::/47", "174"}, + {"2403:6e40:110::/44", "9830"}, + {"2406:2000:1d0::/48", "10880"}, + {"2606:ea00::/32", "32666"}, + {"2a02:26f7:bbc8::/48", "36183"}, + {"2401:7200:a000::/46", "55328"}, + {"2403:6200:792d::/32", "45629"}, + {"2405:25c0:a300::/40", "18068"}, + {"2405:6b40::/32", "139421"}, + {"2406:3c80::/46", "17747"}, + {"2408:887e::/32", "4837"}, + {"2600:3c0f:9::/48", "63949"}, + {"2620:132:f102::/40", "394977"}, + {"2a02:2a00::/32", "12310"}, + {"2001:250:7000::/48", "24370"}, + {"2404:bf40:e605::/39", "139084"}, + {"2406:e000:371::/45", "23655"}, + {"2606:2800:30c::/46", "15133"}, + {"2a0d:82c7:9::/48", "47787"}, + {"2001:559:8341::/48", "7015"}, + {"2001:67c:2264::/48", "197118"}, + {"2405:9800:d007::/48", "133848"}, + {"2804:7dd4::/32", "271585"}, + {"2a03:4d41:410::/38", "199610"}, + {"2a04:780::/29", "39806"}, + {"2a0e:8f02:f028::/48", "212623"}, + {"240a:ada8::/32", "146146"}, + {"2a00:1a90::/33", "45014"}, + {"2a02:248::/32", "8648"}, + {"2a05:680::/29", "201597"}, + {"2401:4300:1::/45", "45184"}, + {"2408:8957:e400::/40", "17622"}, + {"2804:e30:9c00::/38", "11338"}, + {"2a01:5b40:6::/44", "12996"}, + {"2a02:26f7:e284::/48", "36183"}, + {"2406:840:f895::/46", "212034"}, + {"240e:3b9:6400::/35", "140312"}, + {"2600:1419:9401::/36", "20940"}, + {"2804:a00:f10::/32", "262838"}, + {"2001:678:228::/48", "2863"}, + {"240a:aece::/32", "146440"}, + {"2600:1402:17::/44", "35994"}, + {"2603:f0a0::/25", "397165"}, + {"2607:f428:9420::/33", "20115"}, + {"2800:1e0:2000::/40", "7195"}, + {"2001:df2:2e00::/48", "135421"}, + {"2401:d800:e000::/35", "7552"}, + {"240a:a029::/32", "142691"}, + {"2600:6c38:a3::/44", "20115"}, + {"2804:530c::/32", "268560"}, + {"2a00:1358:c100::/48", "205972"}, + {"2a02:26f7:dac0::/48", "36183"}, + {"2600:370f:71c1::/46", "32261"}, + {"2604:3400:abca::/48", "209453"}, + {"2804:8364::/32", "272195"}, + {"2a0a:e00::/48", "64432"}, + {"2a11:f2c0:ffe0::/47", "208051"}, + {"2001:44c8:3200::/36", "45430"}, + {"2402:9040::/32", "137498"}, + {"2408:8957:3100::/40", "17816"}, + {"2804:192c::/32", "61776"}, + {"2a02:ac80:6001::/35", "25145"}, + {"2a03:5a80::/32", "21367"}, + {"2001:500:a::/48", "13901"}, + {"2401:d800:95b0::/41", "7552"}, + {"2408:8456:9a10::/42", "134543"}, + {"240a:afb8::/32", "146674"}, + {"2803:6680::/39", "267789"}, + {"2804:c4c::/32", "52689"}, + {"2a01:d0:311::/45", "29632"}, + {"2a02:2668:7700::/36", "16345"}, + {"2001:fd8:b370::/44", "4775"}, + {"2801:84::/32", "263300"}, + {"2a0b:6900:185d::/48", "206873"}, + {"2001:1248:844e::/43", "11172"}, + {"240e:e:b000::/37", "58541"}, + {"2604:1380:ffe0::/44", "54825"}, + {"2804:1078::/32", "263637"}, + {"2a00:4802:2a0::/44", "13124"}, + {"2a0a:2f81::/32", "47891"}, + {"2404:de80:800::/39", "137443"}, + {"2406:2140::/32", "24202"}, + {"2605:d680::/32", "63313"}, + {"2a01:5f60::/32", "199321"}, + {"2a0b:46c0::/29", "208578"}, + {"2001:559:8704::/47", "33667"}, + {"2404:5c0:2801::/32", "138466"}, + {"2408:8756:2cfd::/46", "135061"}, + {"2600:6c10:67::/44", "20115"}, + {"2804:404c:1193::/32", "265950"}, + {"2a02:26f7:de0c::/48", "36183"}, + {"2409:8c0c:200::/39", "132510"}, + {"2605:a380:2001::/48", "399201"}, + {"2801:1d6::/40", "271833"}, + {"2804:40:8000::/36", "28657"}, + {"2804:2484:8110::/41", "28258"}, + {"2804:28f8::/32", "263990"}, + {"2a0b:8bc0::/29", "41608"}, + {"2001:4b27:ffff::14/122", "34288"}, + {"240a:a114::/32", "142926"}, + {"2602:107:1210::/48", "33363"}, + {"2605:7280:7::/32", "54600"}, + {"2001:67c:1384::/48", "204896"}, + {"240a:61:1000::/36", "9605"}, + {"2604:8e80::/34", "32505"}, + {"2a03:d5c0:100::/37", "199391"}, + {"2804:13b0:5c00::/44", "263546"}, + {"2804:1760::/32", "263142"}, + {"2a02:c50::/36", "51531"}, + {"2a02:26f7:f908::/48", "36183"}, + {"2a0f:f800::/29", "48603"}, + {"2001:559:c4af::/43", "33657"}, + {"2600:370f:20a1::/41", "32261"}, + {"2620:121:5070::/48", "14618"}, + {"2800:160:10cc::/46", "14259"}, + {"2001:4000::/32", "8565"}, + {"2404:6c00:a001::/33", "24324"}, + {"240e:974:e00::/48", "38283"}, + {"2a02:7040:ff02::/40", "199236"}, + {"2a0d:77c7:a4e::/34", "7489"}, + {"2403:8040::/32", "138184"}, + {"2600:140b:3c00::/48", "31109"}, + {"2800:1e0::/47", "7195"}, + {"2806:230:2034::/48", "265594"}, + {"2001:250:4400::/43", "24359"}, + {"2400:cb00:a760::/47", "13335"}, + {"2408:8956:f440::/40", "17622"}, + {"2607:fae0:8000::/36", "8038"}, + {"2a01:c50f:2d80::/35", "12479"}, + {"2a09:bac0:232::/48", "13335"}, + {"2402:ef05:1::/28", "7633"}, + {"2404:bf40:e302::/48", "7545"}, + {"2409:8010::/35", "9808"}, + {"2600:100a:a100::/44", "6167"}, + {"2a10:2f01:2a0::/46", "212995"}, + {"2408:840d:c500::/42", "17621"}, + {"2801:18c:1::/44", "19429"}, + {"2804:5204::/32", "268490"}, + {"2a0e:2b80:101::/38", "28875"}, + {"2600:1419:f001::/37", "20940"}, + {"2a0b:3700:2::/29", "61317"}, + {"2408:8256:3280::/48", "17816"}, + {"2409:8c70:3ad8::/48", "140105"}, + {"2804:3f0c::/38", "266636"}, + {"2a06:e540:101::/38", "203600"}, + {"2402:8100:20c3::/45", "45271"}, + {"2404:bf40:8841::/48", "7545"}, + {"240a:a517::/32", "143953"}, + {"240e:3b9:2800::/38", "4134"}, + {"2804:14c:3b9c::/42", "28573"}, + {"2804:145c:8f50::/40", "263327"}, + {"2a05:540::/30", "45027"}, + {"2001:678:68c::/48", "13259"}, + {"2001:c20:48a0::/48", "9255"}, + {"2400:8500:4800::/48", "58649"}, + {"2402:800:57d3::/44", "7552"}, + {"2406:b400:60::/48", "18209"}, + {"2804:5cc8:200::/34", "268930"}, + {"2804:7cb0:3e80::/44", "271512"}, + {"2001:df2:8100::/48", "137050"}, + {"2600:1010:b070::/40", "22394"}, + {"2606:4700:8dd0::/42", "13335"}, + {"2a10:6540::/29", "212650"}, + {"2402:c200::/32", "9374"}, + {"2001:559:87d0::/48", "33662"}, + {"2600:1900::/34", "15169"}, + {"2001:67c:2148::/48", "59570"}, + {"2001:67c:25f4::/48", "45045"}, + {"2600:370f:7540::/44", "32261"}, + {"2804:3370::/32", "265396"}, + {"2804:418c::/32", "267440"}, + {"2a01:c50f:f140::/38", "12479"}, + {"2001:559:c186::/48", "33491"}, + {"2404:bf40:8800::/48", "7545"}, + {"2803:b220::/32", "265844"}, + {"2804:2254::/32", "264603"}, + {"2001:67c:22dc::/48", "31019"}, + {"240a:a55a::/32", "144020"}, + {"2804:14d:fe00::/47", "28573"}, + {"2a00:86c0:207a::/40", "2906"}, + {"2a02:fa80::/32", "50520"}, + {"2a0e:fd45:b70::/44", "212744"}, + {"2606:ae00:1003::/48", "7287"}, + {"2800:bf0:81eb::/48", "27947"}, + {"2806:2f0:3541::/46", "17072"}, + {"2001:480:120::/48", "3381"}, + {"2001:559:2f3::/48", "33657"}, + {"2401:d800:7ea0::/41", "7552"}, + {"2803:b5a0::/33", "269804"}, + {"2a07:a905:ffe0::/46", "202297"}, + {"2001:559:8600::/48", "399141"}, + {"2001:67c:2128::/48", "48004"}, + {"2408:8957:de00::/40", "17622"}, + {"2605:100::/32", "11442"}, + {"2803:1120::/32", "52328"}, + {"2804:7b24::/32", "271413"}, + {"2a02:5c40::/32", "42451"}, + {"2a04:b040::/46", "43350"}, + {"240e:1f:b000::/33", "4134"}, + {"2600:1408:4001::/38", "20940"}, + {"2606:4700:ff01::/48", "394536"}, + {"2800:160:12ac::/43", "14259"}, + {"2a02:26f7:c941::/46", "20940"}, + {"2a03:9aa0::/32", "203646"}, + {"2a11:6240::/32", "210685"}, + {"2409:8c85:aa75::/25", "9808"}, + {"2605:a401:8002::/42", "33363"}, + {"2804:81e8::/32", "272485"}, + {"2a00:1ad0::/32", "41589"}, + {"2a05:5cc0::/29", "57877"}, + {"2001:678:20::/48", "1921"}, + {"2001:678:9d0::/48", "34944"}, + {"2001:6f8:1501::/48", "8190"}, + {"240a:c4c1::/20", "137726"}, + {"2803:fbe0:8800::/38", "270092"}, + {"2a02:e0:3204::/36", "34984"}, + {"2a0b:8d00::/29", "60721"}, + {"2001:57b:1001::/38", "22773"}, + {"2402:e280:210d::/46", "134674"}, + {"240e:44d:5580::/41", "4134"}, + {"2606:b300:8000::/40", "13926"}, + {"2a04:e800:5040::/48", "57976"}, + {"2a0b:bbc0:3100::/40", "205388"}, + {"2403:6200:792c::/48", "55451"}, + {"2408:8957:cdc0::/38", "17622"}, + {"2606:2800:4150::/48", "15133"}, + {"2a04:4e40:5000::/47", "54113"}, + {"2a0c:4fc0::/29", "203835"}, + {"2001:fd8:740::/35", "4775"}, + {"2409:8914:8800::/35", "56044"}, + {"240a:a6fc::/32", "144438"}, + {"2804:950::/32", "263072"}, + {"2a07:a640::/29", "202524"}, + {"2a0d:6d80::/29", "204591"}, + {"2001:559:c1d5::/46", "7016"}, + {"2001:918:fff3::/44", "3303"}, + {"2001:43f8:1620::/48", "328706"}, + {"2804:c28::/32", "262983"}, + {"2600:141b:d001::/36", "20940"}, + {"2804:180c::/32", "61924"}, + {"2a02:2788::/36", "12392"}, + {"2402:8100:257c::/46", "55644"}, + {"2409:800c:3001::/46", "132510"}, + {"2409:8053:100::/37", "9808"}, + {"240e:fe:a000::/35", "136198"}, + {"240e:44d:6340::/42", "140348"}, + {"2804:37cc::/32", "266436"}, + {"2804:68fc::/32", "270241"}, + {"2a02:26f7:f441::/46", "20940"}, + {"2001:559:839b::/48", "7016"}, + {"2409:8004:809::/40", "24547"}, + {"2607:bf80::/32", "32100"}, + {"2804:72b8::/32", "270871"}, + {"2a05:1180::/29", "59791"}, + {"2409:8008:2900::/35", "24547"}, + {"2600:1013:a010::/35", "6167"}, + {"2607:f790:f000::/36", "12129"}, + {"240a:a4c0::/32", "143866"}, + {"2804:5ba8::/34", "268861"}, + {"2408:8957:6900::/40", "17816"}, + {"2605:4f40:8::/45", "33661"}, + {"2804:2e1c:e381::/37", "265324"}, + {"2806:362::/32", "265606"}, + {"2a03:ba80::/32", "50446"}, + {"2402:4cc0::/32", "136724"}, + {"2408:8856:8200::/28", "17816"}, + {"240a:a0fe::/32", "142904"}, + {"2a0d:1a40:5500::/48", "57782"}, + {"2a0e:46c4:2810::/44", "212514"}, + {"2a0f:ca83:1::/48", "207616"}, + {"2401:1d40:3102::/36", "59019"}, + {"2602:fed2:7121::/46", "53356"}, + {"2804:567c::/32", "268003"}, + {"2001:12f0:240::/39", "1916"}, + {"2402:9d80:200::/41", "131429"}, + {"2605:7900:1000::/48", "42831"}, + {"2620:11b:4016::/47", "47870"}, + {"2804:14c:87c8::/46", "28573"}, + {"2804:14d:5cba::/45", "28573"}, + {"2804:17d8::/32", "61919"}, + {"2804:196c:b0c0::/33", "61794"}, + {"2a00:1d58:c480::/36", "47524"}, + {"2a00:8dc0:fffe::/47", "201029"}, + {"2409:8914:8000::/39", "56044"}, + {"2804:1f8::/32", "262787"}, + {"2a03:1d80::/29", "31117"}, + {"2406:3003:1050::/44", "4657"}, + {"2408:8956:dc00::/40", "17622"}, + {"240e:6:d810::/31", "4134"}, + {"2a05:4b40::/32", "210664"}, + {"2604:ca00:219::/42", "36492"}, + {"2802:0:49::/30", "18747"}, + {"2804:170c::/32", "263119"}, + {"2804:4c70::/32", "267370"}, + {"2001:579:8e8::/43", "22773"}, + {"2001:4218::/32", "16637"}, + {"2401:d800:9550::/42", "7552"}, + {"2a01:b6c0::/29", "60213"}, + {"2001:a48::/33", "8970"}, + {"2404:bf40:c442::/40", "139084"}, + {"2406:1500:1::/48", "132579"}, + {"2407:a4c0::/48", "140814"}, + {"2a02:ee80:419c::/46", "3573"}, + {"2001:678:338::/48", "8375"}, + {"2602:fbce::/36", "400387"}, + {"2620:78:6000::/48", "25639"}, + {"2402:1400::/32", "9993"}, + {"2407:2200::/32", "38719"}, + {"240a:a8fb::/32", "144949"}, + {"240a:a926::/32", "144992"}, + {"2600:6c21:a11::/44", "20115"}, + {"2606:2800:4a54::/46", "15133"}, + {"2804:49d0::/32", "52698"}, + {"2806:2f0:1003::/42", "22884"}, + {"2a00:6b80::/29", "33924"}, + {"2a02:26f7:e985::/46", "20940"}, + {"2a04:92c7:36::/41", "62240"}, + {"2a06:4880::/32", "211298"}, + {"2001:dc7:ffd2::/48", "24406"}, + {"2001:448a:1050::/42", "7713"}, + {"240a:a473::/32", "143789"}, + {"240c:ca04::/32", "132553"}, + {"2a03:4240::/32", "12731"}, + {"2a06:700::/29", "200665"}, + {"2a06:9687::/32", "199221"}, + {"2001:468:1800::/40", "10466"}, + {"2001:1248:9c1e::/42", "11172"}, + {"240c:408d:3000::/22", "38365"}, + {"240e:3b5:c800::/37", "4134"}, + {"2804:27f4::/32", "263931"}, + {"2804:4d3c:948::/38", "267420"}, + {"2806:230:6034::/48", "265594"}, + {"2806:262:3300::/37", "13999"}, + {"2a07:be80::/29", "212773"}, + {"2804:18c0:1400::/36", "61951"}, + {"2a02:20d0::/29", "34660"}, + {"2001:470:59::/48", "6939"}, + {"2401:d800:9aa0::/41", "7552"}, + {"2404:e00:65::/46", "15695"}, + {"2804:3358::/34", "265390"}, + {"2403:b400::/32", "10212"}, + {"2404:fe40::/32", "131982"}, + {"240e:4a:4400::/29", "4134"}, + {"240e:6b1::/35", "134774"}, + {"2602:fcea::/36", "22659"}, + {"2a02:13b8::/29", "15614"}, + {"2a0b:1c00:1919::/48", "62240"}, + {"2a12:df00:2000::/35", "210462"}, + {"2001:559:817d::/46", "7922"}, + {"2001:1998::/44", "7843"}, + {"2408:84f3:ea10::/42", "134543"}, + {"240a:a372::/32", "143532"}, + {"2804:81c8::/32", "272476"}, + {"2a02:26f7:ea05::/46", "20940"}, + {"2001:49b0::/32", "26860"}, + {"2600:c809::/29", "7018"}, + {"2a03:ff80::/29", "197075"}, + {"2001:678:c9c::/48", "200924"}, + {"2404:f600::/32", "24207"}, + {"2001:dd8:10::/47", "56266"}, + {"2001:1a11:6d::/46", "8781"}, + {"2407:7200:5001::/32", "10098"}, + {"240a:a0ff::/32", "142905"}, + {"240a:afae::/32", "146664"}, + {"2607:fca8:a539::/35", "17139"}, + {"2806:34d:48::/48", "15695"}, + {"2a0f:2740::/29", "36351"}, + {"2001:df0:eb::/48", "38635"}, + {"2404:c400:404::/32", "9328"}, + {"2606:5680:1000::/36", "394344"}, + {"2a01:5980::/32", "15689"}, + {"2001:250:3446::/38", "23910"}, + {"2600:6c10:20c::/46", "20115"}, + {"2804:11b8::/32", "263434"}, + {"2804:507c::/32", "268392"}, + {"2a0a:90c0:1011::/41", "205080"}, + {"2001:4818::/36", "12188"}, + {"2407:46c0::/32", "142024"}, + {"2606:2800:5100::/45", "15133"}, + {"2804:7adc:8000::/33", "262674"}, + {"2a02:c88::/32", "8487"}, + {"2a11:5080::/29", "60935"}, + {"2604:2d80:e280::/36", "30036"}, + {"240a:aef4::/32", "146478"}, + {"2a07:aec0::/29", "32519"}, + {"240a:a9c6::/32", "145152"}, + {"2602:fed2:718f::/48", "20473"}, + {"2607:f180:4200::/35", "35908"}, + {"2804:5790::/32", "268072"}, + {"2a04:2700::/29", "12637"}, + {"2409:8c20:aa52::/35", "56046"}, + {"2a02:26f7:fb44::/48", "36183"}, + {"2a0f:b4c7::/32", "47596"}, + {"2607:f8f8::/37", "23033"}, + {"2804:6708::/32", "269599"}, + {"2804:8378::/32", "272200"}, + {"2a03:2ca0::/38", "59865"}, + {"2403:c000:1402::/32", "4741"}, + {"240a:a12c::/32", "142950"}, + {"240a:ae03::/32", "146237"}, + {"2404:bf40:89c1::/46", "7545"}, + {"240e:d2:8000::/29", "4134"}, + {"2604:d600:161c::/42", "32098"}, + {"2001:559:c216::/47", "33650"}, + {"2606:2800:347::/44", "15133"}, + {"2806:2f0:4001::/46", "17072"}, + {"2a0b:f841::/32", "34549"}, + {"2001:da8:201e::/48", "24357"}, + {"2602:fc8a:ff::/48", "399588"}, + {"2804:75a0::/32", "271059"}, + {"2a04:4e40:e400::/48", "54113"}, + {"2a0c:9a40:2400::/36", "34927"}, + {"2001:559:81e7::/48", "33491"}, + {"2405:8400::/32", "9245"}, + {"240e:2e::/33", "4812"}, + {"240e:3bf:2200::/37", "136198"}, + {"2804:24b0:8000::/33", "264238"}, + {"2a02:4a40:100::/48", "42673"}, + {"2a0d:1a45:bef0::/33", "57782"}, + {"2604:d600:1211::/46", "32098"}, + {"2a0d:e4c4:1000::/34", "208861"}, + {"2001:559:746::/48", "33657"}, + {"2001:590:3803::/48", "206264"}, + {"2001:da8:cf::/48", "138375"}, + {"2600:140b:2001::/38", "20940"}, + {"2600:3000:1314::/37", "13649"}, + {"2604:2c00::/32", "11071"}, + {"2605:80c0::/32", "10700"}, + {"2a00:10a0::/45", "35745"}, + {"2a02:e000::/29", "12670"}, + {"2a0b:1d40::/32", "205676"}, + {"2a11:4780::/29", "56897"}, + {"2001:559:337::/48", "7015"}, + {"2001:559:8662::/48", "33659"}, + {"2804:291c::/35", "263998"}, + {"2a02:26f7:c0c9::/42", "20940"}, + {"2001:4878:3::/48", "12222"}, + {"2404:e4c0:8::/48", "54201"}, + {"240e:5a:4900::/40", "140302"}, + {"2604:6600:2606::/47", "40676"}, + {"2804:16b0:4000::/36", "61910"}, + {"2a09:a4c7:4000::/36", "210625"}, + {"2804:8084::/32", "271756"}, + {"2a01:6520::/32", "199860"}, + {"2a02:26f7:f084::/48", "36183"}, + {"240a:a947::/32", "145025"}, + {"2605:3380:4152::/47", "12025"}, + {"2a02:2290:2::/48", "206610"}, + {"2a02:26f7:c781::/46", "20940"}, + {"2a04:c580::/29", "12315"}, + {"2403:97c0:10::/44", "7489"}, + {"2409:8004:3111::/45", "24547"}, + {"2804:5b88::/32", "268853"}, + {"2a00:70c0::/48", "31477"}, + {"2408:8456:a640::/36", "17816"}, + {"2620:119:e000::/43", "30337"}, + {"2806:2f0:9741::/46", "17072"}, + {"2a09:be40:6b00::/40", "208810"}, + {"2a0f:5707:ab2f::/48", "61138"}, + {"2001:559:66::/48", "33491"}, + {"2001:67c:53c::/48", "43046"}, + {"2620:104:e000::/56", "1351"}, + {"2a02:26f7:c704::/48", "36183"}, + {"2001:1248:5aed::/39", "11172"}, + {"2001:41d8::/32", "5610"}, + {"2801:140:fff1::/46", "262249"}, + {"2806:2f0:9781::/46", "17072"}, + {"2a0c:fa40::/29", "61317"}, + {"2001:559:c280::/47", "7015"}, + {"2406:1200::/32", "24192"}, + {"240e:44d:1940::/42", "140360"}, + {"2801:14a::/40", "3816"}, + {"2804:14d:9400::/40", "28573"}, + {"2a0f:da80::/29", "34856"}, + {"2406:840:e110::/48", "141712"}, + {"2a02:26f7:dd81::/46", "20940"}, + {"2001:dc7:5de2::/43", "24151"}, + {"240e:56c::/30", "4812"}, + {"2804:2eb8::/32", "265361"}, + {"2a02:26f7:c58c::/48", "36183"}, + {"2402:bd80::/30", "134450"}, + {"2a02:26f7:26::/48", "36183"}, + {"2a11:280::/29", "52164"}, + {"2001:559:c0a5::/46", "33659"}, + {"2401:d800:b970::/40", "7552"}, + {"240a:a0f5::/32", "142895"}, + {"240a:ac3c::/32", "145782"}, + {"2607:f220:f1::/48", "19050"}, + {"2800:6f0:1000::/40", "20207"}, + {"2804:351c:1112::/32", "266269"}, + {"2804:5b40::/32", "268829"}, + {"2001:1398:275::/48", "52306"}, + {"240a:a52d::/32", "143975"}, + {"240e:964:1000::/37", "133775"}, + {"2804:5be8::/34", "268876"}, + {"2a01:5b0:10::/47", "50611"}, + {"2a02:2e02:8330::/40", "12479"}, + {"2401:ee00:12a::/43", "23951"}, + {"240a:a579::/32", "144051"}, + {"2600:6c38:a44::/43", "20115"}, + {"2602:ffd1:5::/48", "393336"}, + {"2620:11f:7000::/44", "13737"}, + {"2620:13f:9000::/44", "14782"}, + {"2806:2f0:2021::/48", "22884"}, + {"2a02:26f7:d009::/42", "20940"}, + {"2a02:ee80:4279::/48", "3573"}, + {"2404:4f02:100::/32", "15830"}, + {"240e:438:3020::/43", "140647"}, + {"240e:966:9400::/38", "133776"}, + {"2800:200:b430::/41", "12252"}, + {"2806:230:1003::/48", "11888"}, + {"2806:2f0:9e21::/46", "17072"}, + {"2a03:6e80::/32", "15425"}, + {"2620:1e5::/40", "13382"}, + {"2a03:8d40::/32", "61287"}, + {"2c0f:f5f0::/32", "37564"}, + {"2001:1838:3100::/33", "23352"}, + {"2a00:1aa0::/32", "209480"}, + {"2a02:ee80:41d7::/48", "3573"}, + {"2a05:dfc7:6::/48", "62240"}, + {"2a06:da80::/29", "212144"}, + {"2001:559:c310::/48", "22909"}, + {"2001:16d8:900::/32", "16150"}, + {"2400:ac40:a60::/40", "136255"}, + {"2400:cb00:a2d0::/47", "13335"}, + {"2606:a000:c08::/35", "11426"}, + {"2804:8288::/32", "272525"}, + {"2a06:a001:a0c4::/48", "141694"}, + {"2001:559:128::/48", "7015"}, + {"2001:da8:e813::/48", "138373"}, + {"2401:95c0:2d04::/38", "9678"}, + {"2401:d800:5540::/42", "7552"}, + {"2408:8459:9a50::/37", "17816"}, + {"2804:4a90::/35", "267249"}, + {"2a02:26f7:e680::/48", "36183"}, + {"2a04:a040::/29", "21277"}, + {"2a0c:d500::/29", "41765"}, + {"2402:8100:38c0::/39", "45271"}, + {"2408:8459:8a10::/42", "17623"}, + {"240a:a44f::/32", "143753"}, + {"2804:214:8460::/40", "26615"}, + {"2a03:f80:971::/48", "9009"}, + {"2a03:4d40::/31", "199610"}, + {"2a06:1600:2::/48", "39221"}, + {"2001:df3:2e85::/46", "9833"}, + {"2406:7300:4::/40", "17559"}, + {"2408:8957:dd00::/40", "17816"}, + {"240a:ad02::/32", "145980"}, + {"2800:bf0:a10a::/48", "27947"}, + {"2a02:348:1f::/41", "35470"}, + {"2402:1440:200::/32", "132168"}, + {"2408:8456:9c40::/38", "17816"}, + {"2409:8c54:6100::/32", "56040"}, + {"2a04:84c0::/32", "200083"}, + {"2a09:bac0:26::/44", "13335"}, + {"2a0c:5247:c000::/36", "59504"}, + {"2403:e800:807::/44", "4637"}, + {"2a04:c000::/29", "202194"}, + {"2001:559:c18c::/48", "13367"}, + {"2001:df7:1380::/48", "138754"}, + {"2001:df7:4808::/48", "131893"}, + {"2408:840c:d600::/40", "17621"}, + {"2804:7c8:7000::/32", "262323"}, + {"2804:3384::/32", "265401"}, + {"2001:a18::/29", "2602"}, + {"2402:8100:3940::/40", "45271"}, + {"2a0e:46c3:200::/47", "208717"}, + {"2a11:6780::/29", "204790"}, + {"2401:4900:1260::/44", "45609"}, + {"2804:5268::/39", "268516"}, + {"240a:a964::/32", "145054"}, + {"2600:6000:fa6a::/40", "12271"}, + {"2001:b400:f410::/45", "3462"}, + {"2405:1fc0:720::/48", "139188"}, + {"2600:140b:d801::/37", "20940"}, + {"2804:3830::/32", "266463"}, + {"2a00:c5a0::/32", "39279"}, + {"2001:67c:2d28::/48", "29236"}, + {"2402:9900:200::/48", "27435"}, + {"2406:2400:7777::/48", "45287"}, + {"2806:283:4000::/36", "265515"}, + {"2a01:8:8012::/27", "2860"}, + {"2a02:26f7:f709::/46", "20940"}, + {"2a04:9440::/30", "21182"}, + {"2a0c:93c0:c002::/48", "212465"}, + {"2804:36a8::/32", "266362"}, + {"2804:6140::/32", "61597"}, + {"2a05:dfc7:24::/47", "203909"}, + {"2001:579:9340::/40", "22773"}, + {"240e:3b1:1400::/38", "134773"}, + {"2a12:1c00::/29", "1239"}, + {"2406:94c0::/48", "137767"}, + {"2a05:6cc0::/29", "25151"}, + {"2a10:9f40::/29", "211721"}, + {"2804:ec8::/32", "262532"}, + {"2804:2e44:f700::/36", "265335"}, + {"2806:2f4:1200::/40", "265540"}, + {"2a02:4e0:2600::/41", "16135"}, + {"2a06:af00::/29", "15694"}, + {"2c0f:ebf8::/32", "328436"}, + {"2401:d800:74a2::/41", "7552"}, + {"2402:8d03:ffee::/48", "135008"}, + {"2409:8c63::/27", "9808"}, + {"2401:f9c0:2600::/40", "133398"}, + {"2408:840c:600::/40", "17621"}, + {"240a:a57b::/32", "144053"}, + {"2600:1017:9800::/44", "22394"}, + {"2800:bf0:116::/47", "27947"}, + {"2804:8004::/32", "271724"}, + {"2001:678:b98::/48", "207822"}, + {"2405:1e00:fe::/47", "17771"}, + {"2804:19b4:1::/48", "61813"}, + {"2407:f100:5::/32", "133075"}, + {"2605:a401:8585::/44", "33363"}, + {"2a0f:9d80::/32", "207449"}, + {"2001:418:c06::/48", "262"}, + {"240a:a5ec::/32", "144166"}, + {"2804:4bb4::/39", "267325"}, + {"2804:63a4::/32", "269374"}, + {"2a0f:9400:802a::/48", "20473"}, + {"2001:559:c069::/48", "7922"}, + {"240a:abac::/32", "145638"}, + {"2402:800:540f::/43", "7552"}, + {"2a02:26f7:e584::/48", "36183"}, + {"2a0d:1ac7::/32", "56601"}, + {"2001:559:80d3::/48", "7922"}, + {"2001:559:83ee::/48", "7922"}, + {"2001:da8:c5::/48", "138438"}, + {"2401:bb40::/32", "136838"}, + {"2401:d800:b70::/40", "7552"}, + {"2401:d800:7b40::/42", "7552"}, + {"2610:20:5004::/48", "5744"}, + {"2620:11b:e0f0::/47", "560"}, + {"2804:1ac4:4000::/34", "61884"}, + {"2401:8a00:f700::/36", "10099"}, + {"2405:84c0:9710::/44", "40676"}, + {"2804:8134::/32", "272439"}, + {"2a00:5ee0:4000::/32", "44925"}, + {"2a04:4e40:9640::/44", "54113"}, + {"2a0d:b201:30d0::/42", "206026"}, + {"2001:1248:98f6::/44", "11172"}, + {"2400:8b00:f00::/42", "45727"}, + {"2409:8c7b::/29", "9808"}, + {"2804:188::/33", "262750"}, + {"2804:283c::/32", "263949"}, + {"2001:559:8171::/48", "33657"}, + {"240e:45c:9200::/40", "131285"}, + {"2620:76:a000::/48", "33491"}, + {"2a04:cdc0::/29", "201661"}, + {"2001:4888:8044::/48", "6167"}, + {"2400:ca04:f024::/43", "23688"}, + {"2406:daa0:7080::/44", "16509"}, + {"240a:a057::/32", "142737"}, + {"2607:f428:91e0::/44", "19115"}, + {"2804:6ec::/32", "262613"}, + {"2403:6a40:2::/48", "135967"}, + {"240e:966:5800::/32", "4134"}, + {"2600:9000:1098::/42", "16509"}, + {"2a02:26f7:f810::/48", "36183"}, + {"2a06:e881:580a::/48", "204003"}, + {"2001:df5:5780::/48", "132513"}, + {"2408:8779:c000::/45", "140707"}, + {"240e:3bd:1800::/34", "4134"}, + {"2a04:b40::/29", "36057"}, + {"2a06:e881:73ff::/48", "16509"}, + {"2402:800:53c5::/43", "7552"}, + {"2408:8956:9e00::/40", "17622"}, + {"2602:ffe4:c0d::/48", "21859"}, + {"2804:93c:10c1::/32", "52878"}, + {"2a00::/22", "3209"}, + {"2401:af80:9015::/48", "45679"}, + {"2402:800:72f2::/39", "7552"}, + {"240e:108:2d::/48", "136197"}, + {"2804:1124::/32", "53142"}, + {"2a0b:1d00::/32", "49709"}, + {"2600:380:200::/36", "20057"}, + {"2604:8540:fcd0::/47", "33353"}, + {"2610:190:df00::/40", "62"}, + {"2401:fd80:800::/48", "138177"}, + {"2402:800:53e0::/44", "7552"}, + {"2001:559:28c::/48", "33287"}, + {"240e:3b0::/35", "134773"}, + {"240a:a48d::/32", "143815"}, + {"2620:116:5000::/40", "6059"}, + {"2a00:ec00::/32", "16066"}, + {"2a0b:4342:1a20::/44", "57578"}, + {"2806:20d:580d::/46", "32098"}, + {"2a02:26f7:dd41::/46", "20940"}, + {"2001:67c:1518::/48", "34776"}, + {"2001:a78::/29", "12399"}, + {"2806:230:1035::/40", "11888"}, + {"2401:d00::/32", "133466"}, + {"2404:5dc0::/32", "136652"}, + {"2409:8d15:800::/39", "56044"}, + {"2600:1408:3c01::/38", "20940"}, + {"2a00:1650::/32", "24768"}, + {"240a:a52e::/32", "143976"}, + {"2a04:540::/29", "44391"}, + {"2604:4700::/33", "53591"}, + {"2604:cc00:601::/48", "53292"}, + {"2804:1298::/32", "263486"}, + {"2804:6e74::/32", "270598"}, + {"2600:40ff:ff90::/47", "1321"}, + {"2a03:d6c0::/32", "199370"}, + {"2a05:c100::/29", "57809"}, + {"2409:8004:5::/36", "24547"}, + {"240a:ab56::/32", "145552"}, + {"2001:559:415::/46", "33652"}, + {"2a00:1300::/32", "49272"}, + {"2001:648:25e1::/38", "5408"}, + {"2607:f048::/32", "26803"}, + {"2804:2fc4::/32", "264911"}, + {"2804:5ce0::/32", "268936"}, + {"2001:b28::/46", "42065"}, + {"2403:300:13d5::/37", "714"}, + {"2804:6d3c::/32", "270519"}, + {"2a01:50a0::/32", "201764"}, + {"2a02:d40:7::/48", "197071"}, + {"2a02:26f7:bb49::/42", "20940"}, + {"2001:559:c3c5::/48", "33668"}, + {"2409:8744::/28", "24445"}, + {"2600:140b:e::/43", "20940"}, + {"2a07:e03:4::/42", "210083"}, + {"240a:a9d6::/32", "145168"}, + {"240d:c010:fb::/48", "139341"}, + {"2605:aa40::/32", "395394"}, + {"2606:2800:4a4c::/46", "15133"}, + {"2804:42bc::/38", "267522"}, + {"2a11:29c3:b00b::/48", "212149"}, + {"2409:896a:2800::/39", "9808"}, + {"240a:a7b4::/32", "144622"}, + {"2604:d600:1512::/47", "32098"}, + {"2001:4488:fd62::/38", "7713"}, + {"2405:7700:a000::/35", "45352"}, + {"2620:124:6060::/40", "40816"}, + {"2a02:ee80:4015::/42", "3573"}, + {"2a09:bac0:443::/48", "13335"}, + {"2001:559:c2bf::/48", "7922"}, + {"2401:c040::/32", "136965"}, + {"2402:800:56d3::/44", "7552"}, + {"2602:805:a000::/40", "398319"}, + {"2607:f220:402::/48", "30387"}, + {"2610:e8::/35", "6224"}, + {"2a12:8f00::/29", "60144"}, + {"2001:ee0:e900::/40", "45899"}, + {"2600:1406:2601::/36", "20940"}, + {"2a02:26f7:be08::/48", "36183"}, + {"2a02:ee80:4244::/47", "3573"}, + {"2a03:a360::/32", "12350"}, + {"2001:67c:20c::/48", "51289"}, + {"2001:1248:5779::/40", "11172"}, + {"2401:3c00:a4::/44", "38322"}, + {"2406:aa40::/32", "141383"}, + {"240e:3bb:dc00::/34", "4134"}, + {"2607:fbe0::/32", "40824"}, + {"2a02:7de0::/32", "8621"}, + {"2400:a980:14fe::/47", "133515"}, + {"2402:800:b530::/41", "7552"}, + {"2a01:8840:1a::/45", "12041"}, + {"2a02:26f7:bfc4::/48", "36183"}, + {"2a02:2f08:efff::4/29", "8708"}, + {"2a09:eb40::/32", "205718"}, + {"2001:67c:2b0::/48", "29432"}, + {"2001:67c:400::/48", "44233"}, + {"2001:67c:2d30::/48", "207575"}, + {"2409:8915:7400::/39", "56044"}, + {"2a02:110::/32", "44776"}, + {"2407:5200:33::/41", "55915"}, + {"2804:18:6a00::/37", "10429"}, + {"2a05:e700::/29", "198710"}, + {"2001:559:859f::/48", "33287"}, + {"2001:559:c01d::/48", "7015"}, + {"2404:bf40:84c0::/48", "7545"}, + {"2404:bf40:a303::/42", "139084"}, + {"2800:bf0:1d3::/38", "27947"}, + {"2001:4200:3201::/44", "2018"}, + {"2806:2f0:23e1::/48", "22884"}, + {"2001:559:2f1::/46", "33287"}, + {"2001:678:578::/48", "198956"}, + {"2001:df0:9e00::/48", "132164"}, + {"2401:5a00:ffff::/48", "10032"}, + {"2605:bc40::/32", "7040"}, + {"2804:108c:f400::/36", "28146"}, + {"2804:1a04:7::/44", "61832"}, + {"2a02:1010:c200::/40", "9197"}, + {"2a02:26f7:c888::/48", "36183"}, + {"2a02:26f7:f8d9::/42", "20940"}, + {"2a03:ec00:b500::/36", "12847"}, + {"2409:8905:7d20::/30", "24547"}, + {"2800:88:10::/46", "26210"}, + {"2803:4440::/32", "28009"}, + {"2804:6ef8::/35", "270630"}, + {"2a02:26f7:be89::/46", "20940"}, + {"2a04:b580::/29", "30742"}, + {"2a10:cac0::/29", "43872"}, + {"2607:a500:df01::/43", "12025"}, + {"2a00:e08::/32", "16175"}, + {"2a02:26f7:f909::/46", "20940"}, + {"2a09:4c2:2c::/48", "205977"}, + {"2c0f:f300::/48", "37153"}, + {"2001:978:a700::/48", "33811"}, + {"240a:ab31::/32", "145515"}, + {"2607:5f80::/32", "23336"}, + {"2806:230:4016::/48", "265594"}, + {"2a02:1680::/32", "50673"}, + {"2a06:79c0:2::/29", "15622"}, + {"2a0a:8880::/46", "50937"}, + {"2605:e780::/32", "11142"}, + {"2607:f298:5::/46", "26347"}, + {"2a0e:800:ff00::/48", "209083"}, + {"2001:da8:247::/48", "24350"}, + {"2403:4c0:7800::/37", "56207"}, + {"2409:10::/28", "55391"}, + {"240a:aeef::/32", "146473"}, + {"2620:1f0::/32", "1798"}, + {"2801:15:c800::/48", "18747"}, + {"2804:4e08:2001::/32", "268235"}, + {"2a0f:1e00:987::/48", "30633"}, + {"2001:67c:2f94::/48", "34288"}, + {"2406:e000:333::/41", "23655"}, + {"240a:a255::/32", "143247"}, + {"2a00:1370:f200::/48", "57681"}, + {"2a04:e4c0:10::/48", "36692"}, + {"240a:a936::/32", "145008"}, + {"2602:103:6000::/35", "20115"}, + {"2804:5304::/32", "268557"}, + {"2a00:1728:19::/48", "47748"}, + {"2a04:4e40:6040::/44", "54113"}, + {"2001:67c:2c2c::/48", "57763"}, + {"2402:800:9b63::/43", "7552"}, + {"240a:a314::/32", "143438"}, + {"2800:c30:ae00::/33", "52361"}, + {"2a02:d80::/32", "12778"}, + {"2001:559:173::/45", "7016"}, + {"240a:a04c::/32", "142726"}, + {"240e:44d:7e80::/41", "4134"}, + {"2804:5250:4000::/34", "268510"}, + {"2001:559:82f5::/48", "22909"}, + {"2001:579:417f::/40", "22773"}, + {"2407:c1c0::/48", "135905"}, + {"2408:832e::/27", "4837"}, + {"2409:8924:700::/36", "56046"}, + {"240e:44d:4200::/42", "140345"}, + {"2600:1a0f:1001::/36", "46650"}, + {"2620:0:2901::/48", "13916"}, + {"2405:1c0:6251::/46", "55303"}, + {"240a:acae::/32", "145896"}, + {"2001:559:27a::/48", "7015"}, + {"2401:4900:4b50::/44", "45609"}, + {"2409:8904:4060::/39", "24547"}, + {"2605:3380:416a::/43", "12025"}, + {"2a09:4e07:4000::/34", "208861"}, + {"240a:a8f4::/32", "144942"}, + {"2604:6d00:2200::/48", "36223"}, + {"2804:269c:fe07::/48", "47065"}, + {"2804:726c::/32", "270851"}, + {"2a0b:f880::/29", "200548"}, + {"2607:fd48:301:100::/46", "13536"}, + {"2804:2b38:b00::/32", "265141"}, + {"2a07:1980:8::/48", "48851"}, + {"2610:20:9200::/39", "3477"}, + {"2803:4580:c000::/35", "52468"}, + {"2401:d800:f730::/41", "7552"}, + {"2604:1380:4630::/41", "54825"}, + {"2a01:7f60::/42", "9115"}, + {"2a02:26f7:ddc9::/42", "20940"}, + {"2a02:2e02:8830::/41", "12479"}, + {"2a03:1ea0::/32", "201714"}, + {"2a05:e0c0::/29", "201011"}, + {"2a07:e7c0:1000::/48", "201076"}, + {"2606:ae00:7090::/39", "7287"}, + {"2804:3088::/32", "264959"}, + {"2a02:2e8::/32", "44512"}, + {"2a02:fa8:1c10::/44", "41041"}, + {"2600:1417:6::/47", "20940"}, + {"2605:1c00:fff0::/44", "16787"}, + {"2800:bf0:284::/48", "27947"}, + {"2803:33c0::/32", "265721"}, + {"2804:50f0::/32", "268420"}, + {"2804:6210::/36", "269273"}, + {"2c0f:f3c0::/32", "3491"}, + {"2a02:26f7:fbc0::/48", "36183"}, + {"2001:67c:247c::/48", "49754"}, + {"2402:800:7fe0::/32", "7552"}, + {"2800:bf0:8060::/46", "52257"}, + {"2a00:5da0::/32", "48716"}, + {"2a0b:4340:3231::/39", "48024"}, + {"2a00:6640::/32", "15699"}, + {"2a00:bd80::/32", "51395"}, + {"2a0e:cd01:1b00::/34", "23031"}, + {"2401:d800:7d80::/42", "7552"}, + {"2600:14a0:101::/27", "20940"}, + {"2804:2e8:3::/45", "262847"}, + {"2804:1898:3200::/32", "61942"}, + {"2804:59b8::/32", "268721"}, + {"2401:8800::/46", "17439"}, + {"2804:6d14::/32", "270511"}, + {"2a0b:e900::/29", "13285"}, + {"2a0f:a3c0::/29", "39087"}, + {"2401:1d40:2000::/48", "4811"}, + {"240a:ab24::/32", "145502"}, + {"2607:fdf0:5edd::/42", "8008"}, + {"2a0e:5b00::/29", "212616"}, + {"2001:4c28:4000::/36", "39832"}, + {"2405:a300:1000::/48", "45432"}, + {"2602:fd50:f31::/48", "212149"}, + {"2620:0:2b70::/44", "22847"}, + {"2804:3190::/32", "53097"}, + {"2a02:188::/35", "31027"}, + {"2001:df0:9d80::/48", "139221"}, + {"2402:cb40::/32", "135132"}, + {"2407:d200::/32", "38532"}, + {"2600:6c10:606::/47", "20115"}, + {"2001:1248:1::/45", "11172"}, + {"240e:356:5c00::/34", "134419"}, + {"2600:1408:f800::/48", "35994"}, + {"2600:9000:2038::/41", "16509"}, + {"2804:5e34::/32", "269018"}, + {"2001:c80::/40", "4673"}, + {"2404:5600::/32", "23700"}, + {"2408:8642::/32", "4837"}, + {"240e:3b6:1800::/34", "4134"}, + {"240e:44d:3680::/41", "4134"}, + {"2602:ff67::/36", "15231"}, + {"2604:ff00:ae00::/44", "36271"}, + {"2610:f0:20d::/43", "22925"}, + {"2804:18:4808::/42", "26599"}, + {"2a03:b000:b00::/37", "42695"}, + {"2001:559:c21f::/48", "33651"}, + {"2401:3bc0:100c::/43", "137409"}, + {"2605:8000:de2b::/34", "4261"}, + {"2a02:26f7:81::/48", "20940"}, + {"2a02:26f7:c011::/42", "20940"}, + {"2a09:cfc0::/29", "207709"}, + {"2a10:4741:22::/48", "208768"}, + {"2404:8d02:2642::/36", "9587"}, + {"2606:e880::/32", "46811"}, + {"2806:3c7::/32", "265530"}, + {"2001:559:8788::/46", "7015"}, + {"2600:8808:3e00::/39", "64019"}, + {"2a02:26f7:e784::/48", "36183"}, + {"2600:140b:1800::/48", "24319"}, + {"2600:1417:1800:300::/48", "20940"}, + {"2607:f6f0:4002::/45", "29884"}, + {"2a02:2ab8::/39", "702"}, + {"2404:8000:81::/44", "17451"}, + {"2600:1002:a100::/44", "6167"}, + {"2a05:cc00::/29", "47447"}, + {"2401:1900:30::/44", "45245"}, + {"2600:5c00:2541::/48", "3456"}, + {"2a01:b740:a26::/48", "6185"}, + {"2a03:f80:47::/44", "9009"}, + {"2a0d:3842:1080::/48", "57629"}, + {"2001:67c:267c::/48", "60713"}, + {"2404:6740:2000::/48", "138608"}, + {"240a:a567::/32", "144033"}, + {"2804:4860::/32", "267117"}, + {"2409:8958:cb44::/43", "9808"}, + {"2607:fff8::/32", "47027"}, + {"2620:129:6000::/48", "395363"}, + {"2001:6d0:6d01::/45", "42385"}, + {"240e:438:9240::/37", "4134"}, + {"2a03:7a40::/32", "48173"}, + {"2a10:4646:11::/48", "212106"}, + {"2405:a000::/43", "7693"}, + {"2408:8459:5480::/42", "136959"}, + {"2a01:88::/32", "15806"}, + {"2a01:f8::/32", "39912"}, + {"2a02:7900:101::/32", "16154"}, + {"2a0f:c444::/48", "212073"}, + {"2001:67c:2170::/48", "43376"}, + {"2401:d800:bfe0::/43", "7552"}, + {"2803:7000:e000::/36", "52362"}, + {"2a0a:ad40::/32", "211428"}, + {"2605:a401:89ed::/43", "33363"}, + {"2a10:1bc0::/29", "28972"}, + {"2604:3d40::/32", "40943"}, + {"2607:f250:d018::/48", "7046"}, + {"2a03:1160::/40", "201727"}, + {"2a07:3200::/29", "201873"}, + {"2a0a:e2c3::/32", "201525"}, + {"2001:559:81f2::/48", "33652"}, + {"2a00:5a20:3a11::/32", "199289"}, + {"2a0e:97c0:7f0::/44", "207043"}, + {"2001:559:81d5::/46", "7015"}, + {"2403:b4c0:9000::/36", "138398"}, + {"2408:8956:c400::/40", "17622"}, + {"2409:8054:20::/48", "9808"}, + {"2409:8055:3c::/48", "9808"}, + {"240e:438:5620::/43", "140647"}, + {"2605:ef80::/45", "36492"}, + {"2800:300:8240::/37", "27651"}, + {"2801:10c::/44", "18747"}, + {"2a02:29d0::/32", "35575"}, + {"2a09:11c0:1000::/36", "56381"}, + {"2404:1fc0:1104::/48", "58534"}, + {"2404:7700::/48", "58664"}, + {"2804:5188::/32", "268458"}, + {"2a02:26f7:c784::/47", "36183"}, + {"2604:cf80::/32", "3257"}, + {"2804:80a8:200::/32", "271765"}, + {"2a0c:7580::/29", "8823"}, + {"2001:ee0:9440::/38", "45899"}, + {"2407:4600::/32", "45295"}, + {"2607:f550::/32", "30059"}, + {"2804:1c8c::/32", "28322"}, + {"2a02:ac80:c01::/39", "25145"}, + {"2a0b:7087:fff0::/44", "50867"}, + {"2600:1001:b000::/42", "6167"}, + {"2804:5400::/32", "268622"}, + {"2a02:26f7:c6::/48", "36183"}, + {"2a09:3d04::/32", "208861"}, + {"2a0a:e840::/29", "25540"}, + {"2001:da8:9012::/44", "24369"}, + {"2401:a480:2::/48", "133750"}, + {"2406:da70:6000::/40", "16509"}, + {"2600:9000:a700::/43", "16509"}, + {"2800:160:1e11::/46", "14259"}, + {"2a02:26f7:b6c1::/46", "20940"}, + {"2001:67c:1320::/48", "61183"}, + {"2402:e580::/44", "40138"}, + {"2620:120:f000::/40", "394169"}, + {"2a07:4000::/29", "205639"}, + {"2409:8b10::/34", "9808"}, + {"240a:a328::/32", "143458"}, + {"2605:d480::/32", "3257"}, + {"2610:a1:3084::/47", "399155"}, + {"2804:1cd4::/35", "61678"}, + {"2603:c0e1::/36", "54253"}, + {"2a12:42c0::/29", "62119"}, + {"2401:4900:4f53::/45", "9730"}, + {"240e:978:b00::/37", "4134"}, + {"2804:117c::/32", "53061"}, + {"2806:1030:ceff::/34", "8151"}, + {"2a02:26f7:c500::/48", "36183"}, + {"2a0b:4341:1500::/48", "57695"}, + {"2403:3440:c00::/32", "4787"}, + {"2404:bf40:c300::/48", "7545"}, + {"2408:840c:5f00::/40", "17621"}, + {"2804:22a0:c10::/32", "264112"}, + {"2a02:2010:2800::/43", "20978"}, + {"2a09:4::/48", "3258"}, + {"2001:470:114::/44", "6939"}, + {"2001:559:2e7::/48", "33668"}, + {"2001:1388:3cc4::/33", "6147"}, + {"2400:cb00:43::/44", "13335"}, + {"2408:8956:6100::/40", "17816"}, + {"2804:7438::/46", "270967"}, + {"2001:559:c120::/48", "33657"}, + {"2401:95c0::/34", "9678"}, + {"2605:a401:80d7::/44", "33363"}, + {"2801:80:1320::/48", "263953"}, + {"2a06:f880::/29", "200719"}, + {"2001:1a68:22::/44", "15694"}, + {"240a:a412::/32", "143692"}, + {"2800:98:1100::/43", "14754"}, + {"2804:14c:4a6::/41", "28573"}, + {"2a00:f60::/32", "48635"}, + {"2001:559:c363::/48", "33659"}, + {"2001:1440:204::/32", "8469"}, + {"2404:1100::/32", "134078"}, + {"2406:da16::/36", "16509"}, + {"240e:438:7a20::/43", "140647"}, + {"2a00:6280::/32", "12978"}, + {"2001:250:801::/48", "24348"}, + {"2401:d800:7530::/41", "7552"}, + {"240a:a848::/32", "144770"}, + {"2610:128:1300::/34", "11686"}, + {"2620:98:e008::/48", "399728"}, + {"2a02:2940::/32", "13246"}, + {"2001:559:185::/48", "7015"}, + {"2001:13c7:6019::/48", "52508"}, + {"2001:16a2:4032::/39", "39386"}, + {"2600:370f:9024::/41", "32261"}, + {"2607:f278::/32", "6360"}, + {"2a00:e50::/29", "15451"}, + {"2a0e:5fc0::/29", "207686"}, + {"240a:ac69::/32", "145827"}, + {"2a02:26f7:b581::/46", "20940"}, + {"2a0f:5381::/35", "208135"}, + {"2a01:a040::/32", "39791"}, + {"2a0d:57c0::/29", "44212"}, + {"2a0e:c080::/29", "6768"}, + {"2001:1490::/47", "8895"}, + {"2402:5300:2210::/39", "45903"}, + {"2405:c700::/32", "17939"}, + {"2408:8456:3050::/39", "17816"}, + {"2a01:6480:11::/46", "29049"}, + {"2408:8256:3996::/48", "17816"}, + {"2804:14c:5b88::/43", "28573"}, + {"2804:6db0::/32", "270549"}, + {"2804:7ed0::/32", "271649"}, + {"2a03:7460::/32", "24971"}, + {"2001:559:c121::/48", "33659"}, + {"2401:17c0::/32", "136533"}, + {"2402:4440:9c10::/42", "24423"}, + {"2405:b580::/32", "135234"}, + {"2a02:2160:7111::/46", "201308"}, + {"2620:13a:c013::/42", "53356"}, + {"2001:559:83a7::/44", "33652"}, + {"2600:1488:a281::/39", "20940"}, + {"2600:370f:734f::/42", "32261"}, + {"2620:0:1aa0::/48", "20464"}, + {"2804:809c::/32", "271762"}, + {"2402:3000::/32", "23637"}, + {"2405:6e00:f800::/48", "133612"}, + {"2606:2040::/32", "49791"}, + {"2a09:9180:ec00::/42", "42081"}, + {"2c0f:fc89:8023::/43", "36992"}, + {"2001:579:1934::/37", "22773"}, + {"2001:4048:105::/48", "198345"}, + {"2804:204:21e::/42", "28186"}, + {"2a01:8840:bd::/48", "207266"}, + {"2a01:8840:1ba::/45", "12041"}, + {"2a02:26f7:eac0::/48", "36183"}, + {"2a07:59c6:eed3::/48", "48646"}, + {"2001:df0:3a80::/48", "139002"}, + {"2001:1248:98a5::/48", "11172"}, + {"2a02:2ca7:2e::/48", "58305"}, + {"2001:da8:9008::/45", "24369"}, + {"240e:41:4800::/32", "4134"}, + {"2a00:d1a0:2::/32", "61317"}, + {"2a02:26f0:d100::/48", "9121"}, + {"2a02:7c40:8000::/33", "8758"}, + {"2001:df7:1680::/48", "19151"}, + {"2001:1248:a4de::/47", "11172"}, + {"2800:484:d400::/39", "14080"}, + {"2a07:a343:aee0::/44", "9009"}, + {"2a0e:1d80:10::/46", "9009"}, + {"2001:67c:22ec::/48", "197874"}, + {"2401:4900:519c::/46", "45609"}, + {"2600:6c38:7d::/40", "20115"}, + {"2804:2c0:fbc1::/37", "262834"}, + {"2804:2370::/32", "264162"}, + {"2a02:2278:211::/45", "28907"}, + {"2a07:cf40::/32", "209578"}, + {"2600:d0a:4000::/31", "20161"}, + {"2800:bf0:80d4::/44", "27947"}, + {"2804:14c:7571::/46", "28573"}, + {"2804:161c:e00::/45", "263268"}, + {"2001:67c:2d38::/48", "207576"}, + {"240a:a46c::/32", "143782"}, + {"2600:0:2::/30", "1239"}, + {"2804:8298::/32", "272528"}, + {"2001:678:c10::/48", "207488"}, + {"240a:a8da::/32", "144916"}, + {"240e:44d:1d00::/41", "140345"}, + {"2803:1a00:150e::/43", "262186"}, + {"2803:5110:1000::/48", "271993"}, + {"2803:bee0::/48", "269989"}, + {"2a06:3040:12::/48", "203020"}, + {"2a0b:f740::/29", "198776"}, + {"2a10:2f00:120::/48", "205977"}, + {"2001:559:838d::/48", "7015"}, + {"2600:6c7f:93a0::/44", "19115"}, + {"2a00:12f8::/37", "9198"}, + {"2602:fc6a:200::/48", "399747"}, + {"2803:4480::/33", "263189"}, + {"2804:2214::/44", "28177"}, + {"2a02:26f7:c489::/46", "20940"}, + {"2a02:26f7:cb88::/48", "36183"}, + {"2401:1b00::/32", "18103"}, + {"2401:d800:f5e2::/38", "7552"}, + {"2607:f6f0:1c00::/40", "15830"}, + {"2607:f768::/34", "33152"}, + {"2001:c38:902b::/41", "9931"}, + {"2409:8b31::/29", "9808"}, + {"240a:a15d::/32", "142999"}, + {"240a:a50e::/32", "143944"}, + {"2600:1406:800::/48", "35994"}, + {"2a06:e380::/47", "203507"}, + {"2401:d800:26e2::/39", "7552"}, + {"2804:1e90:1009::/38", "264436"}, + {"2a07:1b40::/31", "48804"}, + {"2001:250:3c00::/46", "138369"}, + {"2001:250:5426::/38", "23910"}, + {"2001:3c8:5007::/48", "17479"}, + {"2001:559:8691::/48", "33659"}, + {"2804:6e84::/32", "270602"}, + {"2a02:26f7:bfcd::/42", "20940"}, + {"2a02:2808:2501::/48", "197185"}, + {"2001:250:2101::/37", "23910"}, + {"2001:648:20f0::/48", "199399"}, + {"2001:67c:218::/48", "51172"}, + {"2401:d800:5ac0::/42", "7552"}, + {"240a:aa67::/32", "145313"}, + {"240a:ad99::/32", "146131"}, + {"240e:108:2f::/48", "134760"}, + {"2a0f:d8c0::/29", "207715"}, + {"2604:4a80::/32", "54665"}, + {"2804:14d:885::/46", "28573"}, + {"2806:2f0:11a0::/38", "17072"}, + {"2a0e:8f02:f032::/48", "211242"}, + {"2401:4900:2340::/43", "45609"}, + {"2600:1004:9000::/44", "6167"}, + {"2600:141b:6001::/36", "20940"}, + {"2804:214:8743::/43", "26615"}, + {"2001:559:82b1::/48", "33668"}, + {"2001:678:58::/48", "198147"}, + {"240e:980:8100::/40", "4134"}, + {"2602:fc30::/40", "21538"}, + {"2604:9d40::/48", "393290"}, + {"2607:fcd0:100:6600::/52", "8100"}, + {"2a00:1d58:cb80::/37", "47524"}, + {"2a01:6f0:200::/32", "42366"}, + {"2a0d:7fc0::/29", "211748"}, + {"2001:67c:2058::/48", "20712"}, + {"2001:67c:2544::/48", "44574"}, + {"2401:d800:bec0::/42", "7552"}, + {"2408:8256:3c61::/43", "17623"}, + {"240a:a40d::/32", "143687"}, + {"240c:ca1b::/32", "24363"}, + {"2620:72:4000::/48", "5050"}, + {"2800:2a0:2101::/37", "27947"}, + {"2a02:26f7:b704::/48", "36183"}, + {"2804:7650::/32", "271103"}, + {"2a03:3a00::/31", "49931"}, + {"2001:fd8:1e8::/38", "4775"}, + {"2408:840d:d200::/42", "17621"}, + {"240a:ac64::/32", "145822"}, + {"2600:6c38:149::/45", "20115"}, + {"2620:0:5070::/48", "302"}, + {"2620:a5:6001::/48", "16509"}, + {"2800:160:1107::/44", "14259"}, + {"2806:33f::/32", "270131"}, + {"2a02:26f7:f484::/48", "36183"}, + {"2409:8c35::/28", "9808"}, + {"2602:fc5d:350::/48", "399866"}, + {"2602:fed3:6::/48", "21769"}, + {"2a00:4300::/32", "44611"}, + {"2a03:5960::/32", "201324"}, + {"2001:559:227::/48", "13367"}, + {"2001:648:2420::/47", "31563"}, + {"2001:978:1d02::/38", "174"}, + {"2001:df0:2e1::/48", "58381"}, + {"2408:8456:4e00::/42", "17622"}, + {"240a:a4ea::/32", "143908"}, + {"2600:380:c800::/38", "7018"}, + {"2804:7d4c::/32", "271552"}, + {"2806:230:4043::/45", "265594"}, + {"2a02:568:fe02::/48", "31529"}, + {"2001:559:590::/48", "7016"}, + {"2400:5200:1400::/40", "55410"}, + {"240a:ab10::/32", "145482"}, + {"2605:8000:de01::/42", "4261"}, + {"2605:dd40:8990::/44", "16509"}, + {"2804:8384::/32", "272203"}, + {"2a02:26f7:b909::/46", "20940"}, + {"2001:559:c236::/48", "33662"}, + {"2001:1248:8749::/43", "11172"}, + {"2620:39::/48", "39984"}, + {"2804:2710::/32", "263873"}, + {"2a02:26f7:f105::/46", "20940"}, + {"2a05:6dc0::/29", "34822"}, + {"2a0c:b641:2f0::/44", "212424"}, + {"2400:7400:24::/44", "38044"}, + {"2402:c800::/40", "38639"}, + {"2a02:26f7:11c::/48", "36183"}, + {"2001:559:c20a::/48", "33491"}, + {"2405:1a80::/32", "18283"}, + {"240a:ac80::/32", "145850"}, + {"2a00:9e80::/40", "56791"}, + {"2001:df0:217::/48", "56201"}, + {"2402:800:9547::/43", "7552"}, + {"2803:8800::/32", "28022"}, + {"2804:19f4::/32", "61828"}, + {"2806:2f0:42e3::/39", "17072"}, + {"2001:67c:1484::/48", "28917"}, + {"2001:1248:5641::/44", "11172"}, + {"240e:438:3a20::/43", "140647"}, + {"2600:6c38:74::/46", "20115"}, + {"2600:9000:f530::/47", "16509"}, + {"2606:1640::/32", "25787"}, + {"2a01:b945::/30", "48635"}, + {"2401:d800:dff0::/44", "7552"}, + {"2409:8c28:a2c1::/39", "56041"}, + {"2604:9e80::/32", "30396"}, + {"2620:125:f000::/44", "395114"}, + {"2a02:7c8::/32", "24864"}, + {"2a06:1c40::/29", "204035"}, + {"2a11:7e01::/32", "44094"}, + {"2001:559:166::/48", "7922"}, + {"2001:44b8:4064::/48", "7545"}, + {"2a00:eac0::/32", "20915"}, + {"2001:5b0:24f4::/36", "6621"}, + {"2400:9800:5::/46", "24203"}, + {"2605:9440::/32", "397446"}, + {"2001:16b8:c00::/35", "8881"}, + {"2600:1480:8800::/48", "21342"}, + {"2600:370f:3645::/46", "32261"}, + {"2600:370f:52e3::/43", "32261"}, + {"2620:119:10::/46", "36692"}, + {"2804:20e0::/32", "264518"}, + {"2a02:26f7:c684::/48", "36183"}, + {"2a04:5080::/29", "35579"}, + {"2001:559:c335::/46", "7015"}, + {"2403:9100::/32", "45302"}, + {"2405:1c0:6861::/45", "55303"}, + {"2602:fd10:860::/43", "398795"}, + {"2608:106::/48", "27046"}, + {"2a00:4b00:22e::/40", "41935"}, + {"2a02:26f7:eb41::/46", "20940"}, + {"2001:da8:266::/48", "24348"}, + {"2a0b:3700::/47", "61317"}, + {"2a10:da80::/29", "211987"}, + {"2c0f:eb00:100::/40", "61266"}, + {"2001:559:872e::/43", "7922"}, + {"2001:678:6dc::/48", "41029"}, + {"2406:840:f890::/48", "212034"}, + {"2409:8043:2904::/47", "24444"}, + {"240e:44d:80::/41", "4134"}, + {"2804:14c:65d8::/42", "28573"}, + {"2a01:57a0::/32", "208909"}, + {"2a0f:9981::/29", "40676"}, + {"2404:bd40:10::/48", "138005"}, + {"2602:feda:2d0::/47", "133492"}, + {"2607:fb10:7100::/43", "2906"}, + {"2804:704c::/32", "270718"}, + {"2a03:4340::/32", "47279"}, + {"2a0f:35c0::/29", "60262"}, + {"2605:2100::/36", "14442"}, + {"2001:16f8:667::/34", "25525"}, + {"2804:4c9c::/32", "267380"}, + {"2a0d:ca47:8379::/33", "8423"}, + {"2001:3c8:a701::/48", "9562"}, + {"2001:df7:aa00::/48", "133800"}, + {"2600:370f:750a::/45", "32261"}, + {"2804:934::/32", "263059"}, + {"2804:e94::/41", "262468"}, + {"2804:5a5c:6000::/35", "268768"}, + {"2a01:bfe0::/32", "199997"}, + {"2a03:5a00:3f::/48", "197394"}, + {"2a06:dac0:100::/44", "212661"}, + {"2001:44b8:37::/48", "4739"}, + {"2404:1c40:2f::/43", "24432"}, + {"2a02:40::/32", "9009"}, + {"2a11:e87:2000::/36", "208861"}, + {"2c0f:f308::/32", "37223"}, + {"2605:cdc0:30::/47", "398088"}, + {"2a10:3d40::/29", "204790"}, + {"240a:a823::/32", "144733"}, + {"2600:80c:900::/40", "701"}, + {"2a02:26f7:c2c4::/48", "36183"}, + {"2a05:7440:a5ac::/48", "200165"}, + {"2001:43c8::/32", "20928"}, + {"2620:12e:f000::/40", "46771"}, + {"2800:160:185b::/45", "14259"}, + {"2a00:85c0:1::/48", "203315"}, + {"2a04:e4c0:30::/47", "36692"}, + {"2a0c:e100::/29", "33962"}, + {"2001:559:7ba::/48", "7922"}, + {"2001:67c:24b4::/48", "8587"}, + {"240a:a8f5::/32", "144943"}, + {"2800:484:400::/38", "10620"}, + {"2a12:a4c2::/32", "45036"}, + {"2001:559:c4c7::/48", "33651"}, + {"2001:1248:96b6::/44", "11172"}, + {"2404:0:5003::/45", "17709"}, + {"2409:896a:9200::/39", "9808"}, + {"2600:6c10:ff2d::/40", "20115"}, + {"2600:6c38:f0a::/45", "20115"}, + {"2602:fc23:116::/48", "8095"}, + {"2804:1b2:f104::/36", "18881"}, + {"2804:83b4::/32", "272213"}, + {"2a06:7240:6::/48", "57878"}, + {"240a:a1cb::/32", "143109"}, + {"2620:171:3d::/46", "715"}, + {"2a02:2e0:3fc::/48", "205766"}, + {"2a04:6e80:1::/46", "174"}, + {"2001:559:70::/47", "13367"}, + {"2405:84c0:9700::/44", "9886"}, + {"2610:108:3100::/40", "13506"}, + {"240e:d:800::/37", "58563"}, + {"240e:978:5100::/36", "4134"}, + {"2804:3bd4::/32", "266173"}, + {"2a0a:2306:e000::/46", "20853"}, + {"2406:3d40::/32", "134980"}, + {"2600:6c38:71a::/42", "20115"}, + {"2804:b44::/32", "262448"}, + {"2a03:4b40:5183::/38", "50710"}, + {"2600:6c10:f20b::/42", "20115"}, + {"2a01:b943::/29", "48635"}, + {"2a0e:be00::/29", "210662"}, + {"2602:ffb7:594::/48", "62874"}, + {"2001:1248:8701::/46", "11172"}, + {"2403:e440::/32", "138096"}, + {"2408:8456:8200::/42", "17622"}, + {"2600:6c38:d12::/47", "20115"}, + {"2607:6400:1101::/32", "30688"}, + {"2803:bd80::/32", "28007"}, + {"2804:3548::/32", "266279"}, + {"2a02:13b0:100::/40", "48635"}, + {"2a0c:e640:1018::/45", "141011"}, + {"240a:ab03::/32", "145469"}, + {"240e:44d:700::/41", "140345"}, + {"2604:4600::/28", "19531"}, + {"2604:4700:8000::/33", "53591"}, + {"2620:149:a31::/46", "6185"}, + {"2001:67c:2118::/48", "44033"}, + {"2602:fc3d::/36", "14051"}, + {"2804:529c:100::/32", "268529"}, + {"2804:7e34::/32", "271609"}, + {"2a02:20d8::/29", "31638"}, + {"2a04:2b00:119::/48", "206925"}, + {"2001:559:c1f3::/45", "7725"}, + {"2402:800:9ed3::/44", "7552"}, + {"2407:4ac0:6d81::/32", "142045"}, + {"2409:8f20::/25", "9808"}, + {"240a:ac06::/32", "145728"}, + {"2607:ffb0:300c::/47", "6327"}, + {"2a01:4a80::/32", "15630"}, + {"2a02:d740::/29", "199567"}, + {"2a03:4bc0:2900::/48", "30893"}, + {"2a0f:e2c0::/29", "8422"}, + {"2001:250:e00::/46", "138375"}, + {"2400:c980::/40", "132816"}, + {"240a:a7ec::/32", "144678"}, + {"240b:240::/26", "2516"}, + {"240b:4003:7::/48", "45102"}, + {"2602:fedd:1::/48", "397023"}, + {"2607:f740:90::/48", "36236"}, + {"2001:1248:a01a::/45", "11172"}, + {"2001:4b10::/32", "3213"}, + {"2804:1c84:7::/37", "61659"}, + {"2a10:cc47:1000::/36", "210662"}, + {"2001:978:7b01:2::/32", "174"}, + {"2001:deb::/48", "63528"}, + {"2600:1003:f100::/44", "6167"}, + {"2600:1406:f800::/48", "35994"}, + {"2804:2c54::/32", "265210"}, + {"2400:54a0:1004::/48", "149476"}, + {"2600:1416:2000::/48", "25019"}, + {"2804:4eb8::/32", "268277"}, + {"2a02:ff0:3f00::/40", "12735"}, + {"2a02:e980:d8::/42", "19551"}, + {"2a10:b40::/29", "212144"}, + {"2408:8978::/30", "4837"}, + {"2804:7c2c::/32", "271480"}, + {"2a02:26f7:cb48::/48", "36183"}, + {"2a06:a600::/30", "400177"}, + {"2408:80ea:76e0::/43", "17623"}, + {"2600:1009:9110::/36", "22394"}, + {"2607:f5a8:8000::/33", "27589"}, + {"2607:f740:e020::/48", "63911"}, + {"2404:3e00::/32", "38758"}, + {"2408:8459:2150::/38", "17816"}, + {"2606:19c0::/32", "398860"}, + {"2607:fcd0::/39", "8100"}, + {"2803:5c80:5593::/48", "64114"}, + {"2804:14c:65e5::/43", "28573"}, + {"2a06:e881:6203::/48", "61138"}, + {"240a:a055::/32", "142735"}, + {"2804:68c:8000::/33", "262594"}, + {"2804:5e04::/33", "269006"}, + {"2a00:7ee0:8::/46", "16347"}, + {"2401:4900:47f0::/44", "45609"}, + {"2800:440:9200::/42", "27738"}, + {"2a02:78a0::/29", "59970"}, + {"2001:500:94::/48", "33517"}, + {"2402:3a80:b00::/41", "38266"}, + {"2404:8d06:b100::/31", "10089"}, + {"2406:e001:9000::/36", "23655"}, + {"240e:1f:2::/36", "134774"}, + {"2600:6c3b:4c1::/42", "20115"}, + {"2803:3aa0::/32", "266876"}, + {"2a12:4946:1650::/48", "211398"}, + {"2a02:26f0:9e00::/48", "34164"}, + {"2001:559:5f7::/48", "33652"}, + {"2600:6:ffc7::/31", "1239"}, + {"2600:1404:a801::/38", "20940"}, + {"2804:1380:2::/45", "263536"}, + {"2804:3170::/32", "265015"}, + {"2001:253:104::/48", "142070"}, + {"2403:b800:1000::/48", "45671"}, + {"240e:44d:3900::/41", "140345"}, + {"2804:3764::/32", "266409"}, + {"2804:5cfc::/32", "268944"}, + {"2a02:26f7:e4c8::/48", "36183"}, + {"2a02:26f7:ea49::/46", "20940"}, + {"2a06:f902::/36", "56630"}, + {"2404:4400::/28", "9790"}, + {"2800:160:1474::/44", "14259"}, + {"2a03:120::/32", "201718"}, + {"2001:559:8426::/48", "7015"}, + {"2001:1248:5586::/44", "11172"}, + {"2402:b400:4608::/42", "45960"}, + {"2a0e:1c80:f::/48", "3399"}, + {"2a0f:4240::/29", "52000"}, + {"2001:559:8407::/44", "7016"}, + {"2400:c540:1cc::/48", "59238"}, + {"240a:a4bf::/32", "143865"}, + {"240e:17:4000::/32", "4134"}, + {"2603:4000::/31", "3"}, + {"2001:978:4001::/38", "174"}, + {"2600:100d:f000::/44", "6167"}, + {"2806:2f0:4403::/42", "17072"}, + {"2c0f:f4c8::/32", "327872"}, + {"2409:8904:4d60::/38", "24547"}, + {"2a02:8040::/32", "25490"}, + {"2a0d:d180::/29", "206211"}, + {"2001:428:2001:205::/64", "20940"}, + {"240e:a64:2600::/32", "4134"}, + {"2602:fbf1::/44", "38136"}, + {"2a02:26f7:b84c::/48", "36183"}, + {"2a04:16c0::/39", "48921"}, + {"2403:400:600::/36", "23820"}, + {"240a:a649::/32", "144259"}, + {"2600:6c10:204::/44", "20115"}, + {"2a02:26f7:c898::/48", "36183"}, + {"2a02:26f7:f0c8::/48", "36183"}, + {"2001:559:232::/48", "20214"}, + {"240e:1f:6000::/36", "4816"}, + {"2804:81a8::/32", "272468"}, + {"2400:ca04:f037::/30", "23688"}, + {"2804:1b0:1a84::/37", "18881"}, + {"2001:1248:96ff::/39", "11172"}, + {"2400:4ec0:8e03::/39", "64300"}, + {"2402:f740:8000::/36", "138391"}, + {"240a:a9a7::/32", "145121"}, + {"2a02:ee80:40b4::/44", "3573"}, + {"2a02:ee80:4281::/46", "3573"}, + {"2a03:2880:f120::/47", "32934"}, + {"2a0c:cbc0::/35", "209620"}, + {"2a0e:97c3:502::/48", "20473"}, + {"2405:4cc1:e00::/40", "38794"}, + {"2409:8080:2a9f::/48", "56040"}, + {"2a0c:d000::/29", "20612"}, + {"2c0f:f440::/32", "5713"}, + {"240a:a3ff::/32", "143673"}, + {"2600:400:3610::/36", "15147"}, + {"2600:1411:1::/48", "24319"}, + {"2a03:8ae0::/32", "35677"}, + {"2804:954:801::/35", "263073"}, + {"2804:7a14::/32", "271346"}, + {"2001:a68::/32", "15830"}, + {"2402:e280:221a::/45", "134674"}, + {"2600:1403:6001::/38", "20940"}, + {"2800:440:8086::/48", "27738"}, + {"2001:559:c4a2::/48", "22909"}, + {"2001:1248:563d::/46", "11172"}, + {"2401:bd00:dc03::/48", "38636"}, + {"2404:3d00::/38", "3573"}, + {"2405:fd80:900::/37", "135391"}, + {"2600:9000:a104::/48", "16509"}, + {"2804:4134::/32", "266010"}, + {"2001:fd8:b230::/44", "4775"}, + {"240a:a9b9::/32", "145139"}, + {"2a02:26f7:ec44::/48", "36183"}, + {"2800:4b0:8100::/37", "12252"}, + {"2804:248:5::/44", "28598"}, + {"2804:2a80:22::/33", "53094"}, + {"2a03:2a84::/30", "47232"}, + {"2606:7c80:1::/48", "40300"}, + {"2a03:d780::/32", "49770"}, + {"2001:559:8546::/48", "33491"}, + {"2001:4878:8261::/48", "12222"}, + {"2400:3dc0:601::/39", "134371"}, + {"2409:806a:1900::/34", "9808"}, + {"2607:fcc0:6000::/35", "32244"}, + {"2620:3e:a000::/48", "393802"}, + {"2a09:1d40::/48", "209132"}, + {"2402:3a80:8::/46", "38266"}, + {"2408:8459:1e30::/41", "17622"}, + {"2607:c00::/32", "3801"}, + {"2803:6780::/32", "264635"}, + {"2a00:d3e0::/29", "15600"}, + {"2a01:b740:a1f::/48", "714"}, + {"2a09:4e06::/31", "208861"}, + {"2a0b:e980::/29", "51783"}, + {"2408:8256:3aa0::/39", "17816"}, + {"2600:6c42::/32", "20115"}, + {"2800:160:170f::/43", "14259"}, + {"2001:df6:7980::/48", "138719"}, + {"2404:af40::/47", "137020"}, + {"2404:af80::/48", "38026"}, + {"2620:136:bb::/48", "12025"}, + {"2806:230:204a::/48", "265594"}, + {"2408:84f3:3440::/44", "17623"}, + {"240e:4::/37", "140061"}, + {"2803:b2c0:3100::/47", "264851"}, + {"2804:2b1c::/32", "265135"}, + {"2a07:3501:1030::/48", "15542"}, + {"2401:d800:f560::/40", "7552"}, + {"2403:9800:b016::/48", "4771"}, + {"2405:b900:20::/44", "55701"}, + {"240a:a2fe::/32", "143416"}, + {"240a:a4bd::/32", "143863"}, + {"2604:7780::/32", "54489"}, + {"2804:6dfc::/32", "270568"}, + {"2001:559:3ff::/37", "33652"}, + {"2408:8957:a300::/40", "17816"}, + {"2409:8d14:2700::/36", "56044"}, + {"2606:2800:6a18::/47", "15133"}, + {"2a0f:1940::/29", "60262"}, + {"2a10:2840::/29", "213381"}, + {"2001:559:c30a::/48", "33657"}, + {"2001:4878:8321::/45", "12222"}, + {"2800:860:7::/44", "262197"}, + {"2804:7e4:8002::/40", "52865"}, + {"2804:4244::/32", "267489"}, + {"2804:7c9c::/32", "271507"}, + {"2a07:b440::/29", "43366"}, + {"2a10:7d00::/32", "399975"}, + {"2001:67c:2440::/48", "16107"}, + {"2404:bf40:8842::/39", "139084"}, + {"2408:8459:6610::/42", "17623"}, + {"2409:896a:8800::/39", "9808"}, + {"2800:5f0:101::/36", "22724"}, + {"2a11:f140::/29", "34907"}, + {"2607:f758::/35", "13649"}, + {"2803:ab00:91::/48", "52471"}, + {"2804:2be0::/33", "262503"}, + {"2001:559:c4ce::/48", "33491"}, + {"2400:ca03:f024::/29", "23688"}, + {"2600:1408:11::/44", "20940"}, + {"2804:890::/32", "52873"}, + {"2a01:518::/32", "25151"}, + {"2c0f:ffc8::/33", "22355"}, + {"2a07:c881::/32", "47557"}, + {"2001:67c:1bd4::/48", "25373"}, + {"240e:a::/29", "4134"}, + {"2604:6400:40e0::/37", "29974"}, + {"2804:4f0c::/32", "268300"}, + {"2a02:888:824a::/45", "47794"}, + {"2a02:5aa0::/32", "57795"}, + {"2a10:c5c1:beef::/48", "211547"}, + {"2001:559:8268::/48", "13367"}, + {"2001:978:6704::/43", "174"}, + {"2406:840:eb00::/45", "142553"}, + {"240a:a946::/32", "145024"}, + {"2605:900:f100::/36", "12110"}, + {"2610:1a0:70::/38", "40193"}, + {"2804:269c:fe01::/46", "47065"}, + {"2a07:60c0::/29", "24679"}, + {"2600:1014:b100::/42", "6167"}, + {"2001:67c:13d8::/48", "203158"}, + {"2001:12f8:c::/47", "14650"}, + {"2404:3d00:40ad::/43", "3573"}, + {"2409:8a52:100::/38", "56047"}, + {"240a:a544::/32", "143998"}, + {"2804:7c:3::/32", "28585"}, + {"2804:8404::/32", "272234"}, + {"2400:7400:57::/44", "38044"}, + {"2602:801:1008::/47", "11281"}, + {"2001:559:80c2::/48", "33657"}, + {"2a09:9440::/32", "47596"}, + {"2001:da8:c2::/48", "138378"}, + {"240a:a1de::/32", "143128"}, + {"2800:bf0:8100::/45", "52257"}, + {"2001:559:83de::/48", "33662"}, + {"2001:67c:2e0::/48", "43758"}, + {"2001:4490:d760::/46", "9829"}, + {"2408:805c::/34", "17816"}, + {"2001:470:4b::/45", "6939"}, + {"2404:3d80::/39", "61138"}, + {"240a:aa23::/32", "145245"}, + {"2800:160:1e57::/44", "14259"}, + {"2804:14d:90b0::/46", "28573"}, + {"2001:559:55e::/48", "33657"}, + {"2001:559:571::/48", "33287"}, + {"2001:5b0:8c00::/38", "6621"}, + {"2404:4a00:6501::/64", "55423"}, + {"240a:ac4a::/32", "145796"}, + {"2a05:500::/48", "174"}, + {"2a06:f080::/32", "203299"}, + {"2001:df0:ec0::/48", "56231"}, + {"2620:196::/32", "14014"}, + {"2804:52c::/32", "262501"}, + {"2001:67c:15d8::/48", "43668"}, + {"240e:f8::/32", "134773"}, + {"2600:1410:9001::/34", "20940"}, + {"2a02:26f7:dc81::/46", "20940"}, + {"2a10:9100:3::/48", "48721"}, + {"2a10:fcc0::/29", "62336"}, + {"2001:67c:44::/48", "8423"}, + {"2401:3cc0:101::/38", "137409"}, + {"2801:1fc:2e::/48", "27951"}, + {"2804:26a8::/32", "263847"}, + {"2a00:801:4c::/28", "1257"}, + {"2001:559:818b::/48", "33287"}, + {"2001:da8:4e02::/39", "23910"}, + {"240e:967:9800::/34", "4134"}, + {"2801:80:13a0::/48", "264080"}, + {"2804:5c9c::/32", "268919"}, + {"2a06:2b80::/29", "61317"}, + {"2a0f:53c0::/29", "8823"}, + {"2400:400:9::/48", "4766"}, + {"2404:1280:1::/48", "393398"}, + {"2800:bf0:8260::/45", "52257"}, + {"2a02:26f0:c100::/48", "34164"}, + {"2a03:ae40::/34", "61233"}, + {"2402:800:63f7::/44", "7552"}, + {"240a:af52::/32", "146572"}, + {"2600:1407:3801::/37", "20940"}, + {"2001:559:3a8::/48", "7016"}, + {"2401:3c00:c8::/45", "38322"}, + {"2602:fe0e::/36", "394378"}, + {"2a02:26f7:bec0::/48", "36183"}, + {"2a05:d03a:6000::/40", "16509"}, + {"2a0e:aa07:e026::/48", "210872"}, + {"2001:559:39f::/42", "33652"}, + {"2001:df1:fd80::/48", "42960"}, + {"2408:8957:a600::/40", "17622"}, + {"2607:f110::/45", "21889"}, + {"2804:15e4:ffc::/32", "53001"}, + {"2a01:8900::/32", "30847"}, + {"2a02:13f0:8100::/48", "48874"}, + {"2a02:26f7:c604::/48", "36183"}, + {"2001:559:512::/48", "7922"}, + {"2001:df7:f400::/47", "17436"}, + {"2400:a980:2000::/38", "133111"}, + {"2804:4240::/32", "267488"}, + {"2001:122c::/32", "18592"}, + {"2409:8087:6300::/36", "9808"}, + {"2606:f900::/35", "812"}, + {"2620:1d0:5b::/48", "397220"}, + {"2a04:6600::/29", "33856"}, + {"2401:4900:4dd0::/38", "45609"}, + {"2001:559:d7::/44", "7922"}, + {"240a:a20b::/32", "143173"}, + {"2800:484:3900::/38", "10620"}, + {"2804:7df4::/32", "271593"}, + {"2a00:ad87:1302::/48", "15465"}, + {"2c0f:ed00:351::/48", "328442"}, + {"2001:559:8210::/48", "33491"}, + {"2001:559:81cb::/48", "7015"}, + {"2001:559:8562::/48", "33651"}, + {"2001:559:c22b::/48", "33661"}, + {"2403:2d00:4::/32", "17516"}, + {"240a:a55f::/32", "144025"}, + {"2600:1407:22::/45", "35994"}, + {"2605:b900:2::/32", "36218"}, + {"2800:300::/33", "27986"}, + {"2a01:5041:200e::/48", "202196"}, + {"2a0c:b642:1a07::/48", "7489"}, + {"2001:df0:b980::/48", "139251"}, + {"2400:3e20:2000::/35", "210542"}, + {"2404:bf40:a300::/48", "2764"}, + {"240a:a378::/32", "143538"}, + {"2600:6c20:c3a::/41", "20115"}, + {"2605:6c00:1000::/33", "2734"}, + {"2607:f740:e604::/48", "63911"}, + {"2620:117:c000::/48", "21837"}, + {"2a00:7380:feee::/39", "51906"}, + {"2001:559:2b1::/48", "33491"}, + {"2001:559:7a3::/48", "7016"}, + {"2001:67c:1000::/47", "43893"}, + {"2606:ae00:bd41::/38", "7287"}, + {"2a05:fb43::/32", "208861"}, + {"2408:8459:8610::/42", "17623"}, + {"2001:559:dc::/48", "7016"}, + {"2001:559:c30e::/48", "33659"}, + {"2001:df7:780::/48", "141667"}, + {"2407:2a80::/32", "133524"}, + {"2800:484:b500::/38", "14080"}, + {"2a01:b740:a1b::/48", "714"}, + {"2404:cc80::/32", "135352"}, + {"2801:80:25a0::/48", "268001"}, + {"2001:559:42c::/48", "33657"}, + {"2001:559:87c9::/48", "7015"}, + {"2403:df40:17::/39", "14630"}, + {"2408:8456:5440::/39", "17816"}, + {"2806:109f:c::/43", "8151"}, + {"2a01:90e0::/32", "199733"}, + {"2a02:2e02:8ed0::/42", "12479"}, + {"2001:559:80ac::/48", "33668"}, + {"2406:e780:eb0::/48", "63678"}, + {"2804:16d8:56f1::/34", "262729"}, + {"2804:70d4:8000::/34", "270751"}, + {"2a00:d120:30::/44", "29990"}, + {"2a02:587:50fb::/34", "6799"}, + {"2a02:4780::/45", "47583"}, + {"2605:9d80:9003::/48", "4809"}, + {"2620:0:6e0::/48", "4185"}, + {"2a02:16e0::/32", "12703"}, + {"2a05:fe80::/29", "39702"}, + {"2405:1500:71::/40", "58717"}, + {"2620:130:1002::/48", "62649"}, + {"2803:6601:c000::/37", "28075"}, + {"2806:2f0:9be3::/37", "17072"}, + {"2a00:a980::/32", "9022"}, + {"2a02:26f0:4900::/48", "35994"}, + {"2a06:1c0::/30", "50873"}, + {"2a0f:5707:aa90::/44", "212592"}, + {"2401:d800:de40::/42", "7552"}, + {"240a:a74a::/32", "144516"}, + {"240a:ab16::/32", "145488"}, + {"2606:9440::/32", "400289"}, + {"2605:6dc0::/32", "394838"}, + {"2a02:f50::/32", "41833"}, + {"2a0f:b400:b::/29", "60781"}, + {"2610:20:2020::/38", "7764"}, + {"2620:9c:c000::/48", "393717"}, + {"2803:760:171::/35", "269816"}, + {"2401:d800:dcb2::/41", "7552"}, + {"2600:1415:3401::/36", "20940"}, + {"2602:fe60::/36", "209"}, + {"2804:3914::/32", "266523"}, + {"2a02:f30::/32", "15879"}, + {"2a02:cb43:2001::/48", "20546"}, + {"240a:a161::/32", "143003"}, + {"2804:4a24:50::/48", "267221"}, + {"2806:2f0:2043::/43", "22884"}, + {"240a:a7fd::/32", "144695"}, + {"240a:aca4::/32", "145886"}, + {"2600:1419:2c01::/38", "20940"}, + {"2603:c0e8:2800::/39", "1218"}, + {"2804:6b48::/32", "270390"}, + {"2001:250:5834::/46", "24363"}, + {"2001:559:c416::/44", "7015"}, + {"2401:9280::/32", "63494"}, + {"2402:800:32ee::/39", "7552"}, + {"2408:8459:7c30::/41", "17622"}, + {"2600:1901:4010::/44", "396982"}, + {"2600:6c10:186::/38", "20115"}, + {"2600:6c10:ff02::/45", "20115"}, + {"2603:b011::/25", "11796"}, + {"2804:4b40:40::/32", "267293"}, + {"2a0f:e640::/29", "60781"}, + {"2c0f:f980::/35", "33763"}, + {"2001:400:a000:3::/61", "293"}, + {"2402:9e00:403::/32", "24183"}, + {"2402:fb00::/34", "3300"}, + {"2605:a401:80e0::/44", "33363"}, + {"2804:ae0:2d00::/32", "28352"}, + {"2401:9d40::/32", "59165"}, + {"2408:8456:c40::/39", "17816"}, + {"2408:8957:b400::/40", "17622"}, + {"240e:40:9::/46", "4134"}, + {"2803:4580:8106::/40", "52468"}, + {"2a01:1b1::/32", "39292"}, + {"2a01:4bc0:901::/32", "12422"}, + {"2a10:8240::/32", "198175"}, + {"2402:800:51e0::/44", "7552"}, + {"2403:5cc0::/40", "134883"}, + {"2804:53a0::/35", "268596"}, + {"2a02:2ab0:503::/32", "702"}, + {"2c0f:4200:2000::/32", "328790"}, + {"2404:f4c0:a667::/36", "210320"}, + {"2607:5d80::/32", "20042"}, + {"2a01:8840:da::/45", "12041"}, + {"2a06:6540:3081::/48", "3549"}, + {"2a0a:59c7:1005::/46", "204724"}, + {"2406:840:e03f::/48", "142418"}, + {"2a10:7f80::/29", "60193"}, + {"2001:df7:7400::/48", "136052"}, + {"2408:84f3:2e40::/44", "17623"}, + {"2600:6c10:ff9a::/45", "20115"}, + {"2606:8e40:1::/48", "46513"}, + {"2a02:cb42::/32", "20546"}, + {"2a05:3a80::/48", "201499"}, + {"2401:d800:2660::/40", "7552"}, + {"2408:8256:379f::/36", "17816"}, + {"2a00:fb00::/29", "24951"}, + {"2a02:2b80:101::/48", "45012"}, + {"2a02:ee80::/34", "3573"}, + {"240a:a50f::/32", "143945"}, + {"240a:a70c::/32", "144454"}, + {"2605:dd40:8880::/44", "16509"}, + {"2800:160:1762::/44", "14259"}, + {"2804:e94:a0::/41", "262468"}, + {"2001:da8:b3::/48", "24362"}, + {"240e:1f:cf00::/40", "134774"}, + {"2604:ae80:6001::/46", "11904"}, + {"2803:cbc0:1000::/36", "265749"}, + {"2a02:26f7:d500::/48", "36183"}, + {"240a:acdd::/32", "145943"}, + {"240e:108:1182::/48", "133776"}, + {"2a02:26f7:d944::/48", "36183"}, + {"2405:fd80::/40", "135391"}, + {"2407:1000:1001::/32", "24005"}, + {"2600:1408:c801::/38", "20940"}, + {"2a00:1348:11::/32", "8879"}, + {"2a0d:8680::/32", "204570"}, + {"2a0e:aa06::/40", "4842"}, + {"2405:c40::/32", "138887"}, + {"2a00:1508::/32", "49835"}, + {"2a02:2455:8000::/30", "20880"}, + {"2a02:26f7:ef85::/46", "20940"}, + {"2a06:5840::/29", "21067"}, + {"2c0f:f178::/32", "32437"}, + {"2a00:1678:1337::/48", "49453"}, + {"2403:f2c0::/32", "64043"}, + {"2408:8956:4800::/40", "17622"}, + {"2600:803:638::/48", "32982"}, + {"2606:b400:8804::/48", "7160"}, + {"2a02:28d0::/32", "6877"}, + {"2409:8050:2c00::/38", "9808"}, + {"2409:8c28:5e91::/39", "56041"}, + {"240e:44d:1580::/41", "4134"}, + {"2600:6c7f:90b0::/48", "20115"}, + {"2800:a010::/32", "19192"}, + {"2001:1248:5a47::/43", "11172"}, + {"2800:160:15bc::/41", "14259"}, + {"2804:71fc::/33", "270824"}, + {"2a04:b480:23::/29", "60110"}, + {"240c:ce04::/32", "24359"}, + {"2604:8340::/32", "53877"}, + {"2620:1ec:8f0::/48", "8068"}, + {"2800:160:133d::/41", "14259"}, + {"2804:1aa4::/32", "61873"}, + {"2806:2f0:91c1::/38", "17072"}, + {"2a02:26f7:17::/48", "20940"}, + {"2a09:b540::/29", "39326"}, + {"2804:3bb4::/32", "266166"}, + {"2804:3ce0::/32", "266240"}, + {"2a0f:c580::/32", "210625"}, + {"2001:559:793::/48", "33659"}, + {"2001:67c:344::/48", "50156"}, + {"2001:db0:3800::/33", "17766"}, + {"2600:9000:108c::/48", "16509"}, + {"2804:1230::/32", "263462"}, + {"2a03:3580::/32", "42082"}, + {"2001:df0:e3::/48", "9536"}, + {"2400:4ec0::/32", "64300"}, + {"2401:3c0:202::/47", "45528"}, + {"2407:0:0:4::/64", "65066"}, + {"240a:a1f6::/32", "143152"}, + {"2001:18c8:200::/40", "10464"}, + {"2403:5a00:fff1::/44", "23783"}, + {"240a:a3a3::/32", "143581"}, + {"2a02:17a5::/32", "204405"}, + {"2a02:c240:103::/48", "30383"}, + {"2001:559:5dd::/48", "33659"}, + {"2001:fd8:1a4::/46", "132199"}, + {"2001:1248:9751::/46", "11172"}, + {"2402:400::/32", "7610"}, + {"240a:a822::/32", "144732"}, + {"240a:acbe::/32", "145912"}, + {"2a05:1085::/32", "209300"}, + {"2001:559:c09f::/48", "33287"}, + {"2402:800:9aa9::/43", "7552"}, + {"2a02:ec80:600::/48", "14907"}, + {"2600:5002:1806::/48", "26793"}, + {"2606:6340::/32", "399857"}, + {"2a01:87c0::/32", "51406"}, + {"2408:8956:b00::/40", "17816"}, + {"240a:ae17::/32", "146257"}, + {"2600:1417:6f::/48", "20940"}, + {"2a02:1670::/32", "16024"}, + {"2001:67c:1f0::/48", "31172"}, + {"2a07:2a80::/29", "3301"}, + {"2408:8256:2f9b::/48", "17816"}, + {"240e:44d:4d00::/42", "140345"}, + {"2a0b:9bc0:1::/46", "9074"}, + {"2001:1248:4345::/42", "11172"}, + {"2403:4e80::/32", "131270"}, + {"240a:afa7::/32", "146657"}, + {"240e:108:45::/48", "58461"}, + {"2610:b0:4113::/45", "3573"}, + {"2a02:88::/32", "8240"}, + {"2a02:ad8:5600::/36", "12389"}, + {"2402:a7c1::/32", "133752"}, + {"2804:240::/34", "262798"}, + {"2804:4710::/32", "267029"}, + {"2a04:9740::/29", "196954"}, + {"2001:559:3d7::/48", "33287"}, + {"2606:5000:2a00::/33", "209"}, + {"2a02:ee80:41ec::/47", "21433"}, + {"2a03:4bc0:2100::/48", "30893"}, + {"2a0c:9a40:8088::/48", "43927"}, + {"2001:67c:24dc::/48", "197944"}, + {"2608:100:8::/48", "27064"}, + {"2a01:8840:cd::/48", "207266"}, + {"2a02:5740::/47", "41564"}, + {"2a04:4e40:6400::/48", "54113"}, + {"2001:218:3005::/32", "2914"}, + {"2001:44b8:30e0::/48", "7545"}, + {"2800:3a0:193::/48", "52229"}, + {"2a01:8840:fa::/48", "12041"}, + {"2a02:26f7:e1c9::/42", "20940"}, + {"2408:8256:2f8d::/48", "17816"}, + {"2409:8904:8a90::/39", "24547"}, + {"2804:c8::/32", "28366"}, + {"2804:3bf4::/32", "266182"}, + {"2804:7dec::/32", "271591"}, + {"2001:500:8c::/48", "20144"}, + {"2001:559:305::/48", "33651"}, + {"240a:a4f3::/32", "143917"}, + {"2a0d:9080::/29", "56708"}, + {"2600:387:14::/48", "13965"}, + {"2620:10a:f000::/43", "21869"}, + {"2804:7c74::/32", "271497"}, + {"2001:559:3dd::/48", "33652"}, + {"2403:a040:886::/48", "38047"}, + {"2801:80:3ef0::/48", "272576"}, + {"2a00:ff0:fffe::/48", "25409"}, + {"2a02:1c8:90::/44", "24955"}, + {"2a06:a005:f0::/44", "141694"}, + {"2a0e:8f02:f023::/48", "211522"}, + {"2408:8459:3450::/38", "17816"}, + {"2804:4744::/32", "267042"}, + {"2a02:26f0:7b01::/37", "20940"}, + {"2a0e:b107:530::/44", "209114"}, + {"2402:8100:26c0::/47", "45271"}, + {"2800:bf0:2000::/48", "52257"}, + {"2804:6b10::/32", "270375"}, + {"2804:849c::/32", "272271"}, + {"2a02:26f0:5f01::/34", "20940"}, + {"2001:4830:c600::/48", "22147"}, + {"2800:bf0:8160::/46", "52257"}, + {"2804:7770::/32", "271178"}, + {"2806:2f0:41c3::/42", "17072"}, + {"2001:67c:2d70::/48", "57118"}, + {"2406:3100::/32", "9411"}, + {"2602:807:4000::/44", "174"}, + {"2604:d600:1306::/44", "32098"}, + {"2801:80:3e20::/44", "271246"}, + {"2a00:bda0::/32", "42525"}, + {"2001:df0:ba00::/48", "132753"}, + {"2402:800:5d71::/44", "7552"}, + {"240a:a7ae::/32", "144616"}, + {"2600:6c10:6b::/43", "20115"}, + {"2001:400:b30::/48", "44"}, + {"2001:559:8577::/48", "7922"}, + {"2402:800:580f::/43", "7552"}, + {"2804:5250:c000::/37", "268510"}, + {"2a02:2070:ffff::/48", "31560"}, + {"2a02:2e02:d70::/40", "12479"}, + {"2a0c:20c0::/29", "204344"}, + {"2a0f:8f80::/29", "43414"}, + {"2001:44b8:2030::/46", "7545"}, + {"2404:f4c0:204::/40", "146961"}, + {"240e:3bc::/35", "134773"}, + {"2600:1405:f001::/30", "20940"}, + {"2600:6c10::/46", "20115"}, + {"2606:2800:40c::/46", "15133"}, + {"2804:1a0::/47", "28189"}, + {"240a:a350::/32", "143498"}, + {"240a:abc2::/32", "145660"}, + {"2a03:4bc0:2200::/48", "30893"}, + {"2001:559:2f8::/48", "20214"}, + {"2001:678:10c::/48", "21155"}, + {"2401:b0c0:a000::/48", "136941"}, + {"2405:b000:e00::/32", "6262"}, + {"2405:ec00:9054::/33", "23955"}, + {"2408:8256:3177::/44", "17623"}, + {"2602:ffe4:c34::/48", "21859"}, + {"2a0e:2b80:203::/32", "28875"}, + {"2604:3f00::/32", "21547"}, + {"2800:bf0:830f::/48", "27947"}, + {"2804:40b4::/32", "265976"}, + {"2a02:24a0::/32", "58343"}, + {"2a02:6680:2162::/48", "16116"}, + {"2400:6500::/32", "16509"}, + {"2405:e40:8::/48", "24511"}, + {"2604:ac0::/32", "40090"}, + {"2604:6600:2602::/45", "40676"}, + {"2804:14c:5f00::/40", "28573"}, + {"2804:10f4::/32", "52683"}, + {"2a00:1728:2c::/48", "26506"}, + {"2a0f:85c1:beef::/48", "207781"}, + {"2001:4450::/42", "9299"}, + {"2406:f400:120::/44", "134451"}, + {"2408:8459:7450::/38", "17816"}, + {"2603:c011:6000::/36", "31898"}, + {"2804:14c:fc8b::/43", "28573"}, + {"2804:161c:30::/45", "263268"}, + {"2a10:cc41:100::/44", "49367"}, + {"2001:559:81d4::/48", "33668"}, + {"240a:a571::/32", "144043"}, + {"2600:100f:a100::/44", "6167"}, + {"2800:160:2448::/45", "14259"}, + {"2a02:26f0:3901::/33", "20940"}, + {"2a02:cb43:4007::/48", "20546"}, + {"240a:a886::/32", "144832"}, + {"240e:97f::/33", "58543"}, + {"2a02:970:1053::/42", "44002"}, + {"2a0a:e780::/29", "62455"}, + {"2001:dc7:9d0d::/46", "24406"}, + {"2400:8500:6703::/48", "7506"}, + {"2803:58e0::/32", "269878"}, + {"2804:5c84::/32", "268913"}, + {"2a02:26f7:ef40::/48", "36183"}, + {"2001:df5:9600::/48", "135480"}, + {"2407:2580::/33", "44592"}, + {"2408:8456:ee00::/42", "17622"}, + {"240a:adc8::/32", "146178"}, + {"2605:4840:ffff::/48", "63473"}, + {"2804:3e98:c0::/32", "266608"}, + {"2a07:2f00:dead::/48", "203132"}, + {"2001:da8:7012::/48", "24363"}, + {"2408:8956:1100::/38", "17816"}, + {"2604:ca00:f::/48", "36492"}, + {"2607:d500:304::/40", "13768"}, + {"2620:67:a000::/48", "6491"}, + {"2a00:1e98::/29", "34058"}, + {"2001:559:82c9::/48", "33657"}, + {"2001:1497:2::/47", "208520"}, + {"2408:80e2::/33", "4837"}, + {"2408:8256:2f7b::/48", "17816"}, + {"2408:8459:ef50::/35", "17816"}, + {"2804:3d0::/32", "262400"}, + {"2a02:26f7:e688::/48", "36183"}, + {"2001:460:78::/46", "7991"}, + {"2001:559:c124::/48", "7016"}, + {"2607:fc68:21::/39", "2711"}, + {"2a00:cb0:8000::/34", "13289"}, + {"2a01:300:10:5::/64", "6461"}, + {"2a02:26f7:35::/48", "20940"}, + {"2a02:26f7:d645::/46", "20940"}, + {"2001:559:86cc::/48", "33652"}, + {"2405:a900:ffef::/43", "55992"}, + {"240e:438:8e20::/43", "140647"}, + {"2804:5384::/32", "268589"}, + {"2a0b:2f00::/29", "48112"}, + {"2001:559:8130::/47", "7016"}, + {"2001:559:82f9::/48", "33661"}, + {"2001:67c:10ec::/48", "559"}, + {"2001:da8:700d::/46", "24363"}, + {"2605:a7c0:101::/44", "16509"}, + {"2001:ec0:c00::/40", "131293"}, + {"2408:8957:f640::/40", "17622"}, + {"240a:a970::/32", "145066"}, + {"240a:ab55::/32", "145551"}, + {"240a:ad4f::/32", "146057"}, + {"2600:6c38:a24::/43", "20115"}, + {"2602:fdbb:a::/45", "17144"}, + {"2606:9500:3000::/36", "14427"}, + {"2800:160:11cd::/46", "14259"}, + {"2001:4998:29::/43", "10310"}, + {"2401:33c0::/32", "131578"}, + {"2803:3340::/32", "264700"}, + {"2a01:b740:2::/43", "714"}, + {"2a0d:9780::/32", "20860"}, + {"2600:380:7b80::/37", "20057"}, + {"2607:fc48:c10::/48", "40009"}, + {"2a02:88d:8000::/44", "48695"}, + {"2001:503:c27::/48", "26415"}, + {"2001:559:814f::/48", "33657"}, + {"2001:dce:5200::/48", "38064"}, + {"2001:4490:d980::/46", "9829"}, + {"2407:6fc0::/32", "137169"}, + {"2804:64c::/32", "262557"}, + {"2a02:26f7:e709::/46", "20940"}, + {"2001:4cb8::/40", "28878"}, + {"2605:ed00:4c71::/34", "11427"}, + {"2a02:26f7:fb49::/42", "20940"}, + {"2605:ef80:6::/43", "36492"}, + {"2804:6598::/32", "269502"}, + {"2001:a40::/32", "9186"}, + {"2402:d400:fa30::/37", "17762"}, + {"2a02:26f7:be80::/48", "36183"}, + {"2a0d:8480:2::/48", "48282"}, + {"2001:559:c165::/48", "7922"}, + {"2607:ffb0:2004::/35", "6327"}, + {"2804:702c::/32", "262909"}, + {"2804:832c::/32", "272181"}, + {"2a02:26f7:ce49::/42", "20940"}, + {"2a07:cd00::/48", "43260"}, + {"2001:253::/39", "38272"}, + {"2400:8800:1e83::/44", "3491"}, + {"2408:8957:5100::/40", "17816"}, + {"2800:bf0:8066::/47", "27947"}, + {"2804:14c:7589::/42", "28573"}, + {"2a02:26f7:3f::/48", "20940"}, + {"2620:c4::/48", "88"}, + {"2806:2f0:41e1::/46", "17072"}, + {"2a0d:5000:2::/48", "15440"}, + {"2001:b400:f208::/45", "17421"}, + {"240e:438:620::/43", "140647"}, + {"2600:1407:9801::/34", "20940"}, + {"2600:370f:6100::/45", "32261"}, + {"2804:805c::/32", "271746"}, + {"2a03:6740::/29", "20910"}, + {"2001:559:8665::/48", "7016"}, + {"2a03:4500::/32", "30827"}, + {"2001:df3:2c80::/48", "132670"}, + {"2408:8957:5f00::/40", "17816"}, + {"2602:800:1005::/48", "397677"}, + {"2a04:2740::/29", "31169"}, + {"2409:8924:5d00::/38", "56046"}, + {"2602:801:f000::/46", "32590"}, + {"2a09:8e40::/33", "200735"}, + {"2001:67c:1740::/48", "34019"}, + {"240a:a8be::/32", "144888"}, + {"2600:1014:d100::/41", "6167"}, + {"2607:f6f0:205::/48", "12085"}, + {"2001:18b8:3a::/41", "29789"}, + {"2a02:d480:240::/42", "42873"}, + {"2a04:1447::/45", "51964"}, + {"240a:aa74::/32", "145326"}, + {"2803:5c80:6054::/44", "64114"}, + {"2001:19f0:8800::/38", "20473"}, + {"2405:6e00:2440::/42", "133612"}, + {"2600:1003:a400::/44", "6167"}, + {"2607:f290::/32", "6106"}, + {"2801:1d:a001::/48", "263779"}, + {"2806:3a6::/32", "265625"}, + {"2a02:26f0:3e::/41", "20940"}, + {"2a02:26f7:c041::/46", "20940"}, + {"2402:ef03:6100::/29", "7633"}, + {"2603:c020:4000::/35", "31898"}, + {"2620:149:1050::/42", "714"}, + {"2001:250:224::/44", "23910"}, + {"2600:1417:3000:300::/48", "24203"}, + {"2a06:c004::/32", "206766"}, + {"2a11:29c5:b00b::/48", "212149"}, + {"2001:fb0:1035::/48", "133167"}, + {"2409:8924:8b00::/37", "56046"}, + {"240a:a65b::/32", "144277"}, + {"240e:90e:3000::/27", "4134"}, + {"2607:fdf0:5ef8::/46", "8008"}, + {"2804:1730::/32", "263130"}, + {"2804:21f4::/32", "52568"}, + {"2a0c:8700::/29", "44050"}, + {"2001:67c:21d8::/48", "41701"}, + {"2a0f:cdc0::/31", "34535"}, + {"2001:559:853f::/48", "7015"}, + {"2404:a3c0::/32", "134823"}, + {"2407:9a00:1::/48", "55446"}, + {"2804:2d74::/32", "265283"}, + {"2a00:5480::/29", "42346"}, + {"2a02:26f0:8401::/39", "20940"}, + {"2001:df5:9000::/48", "36351"}, + {"2404:7180:a021::/46", "23848"}, + {"2409:8057:3003::/44", "56040"}, + {"2602:801:3000::/47", "6556"}, + {"2a0a:2340::/30", "400177"}, + {"2a10:6bc0::/48", "201511"}, + {"2001:559:3c2::/48", "33491"}, + {"2402:800:f5d0::/42", "7552"}, + {"2a0a:8600::/29", "61317"}, + {"2001:559:c29c::/48", "7922"}, + {"2001:4878:2027::/48", "12222"}, + {"2001:4d18::/48", "39543"}, + {"2404:4f01::/32", "23686"}, + {"2a02:26f7:dec5::/46", "20940"}, + {"2a02:26f7:eb51::/42", "20940"}, + {"2404:c000:8003::/33", "17727"}, + {"2406:6e00:fff0::/44", "7280"}, + {"2408:8459:c230::/41", "17622"}, + {"2a09:bac0:227::/48", "13335"}, + {"2a0b:94c0::/48", "205558"}, + {"2001:418:1401:7d::/64", "20940"}, + {"2a02:6940::/32", "39642"}, + {"2408:8256:3b7b::/48", "17816"}, + {"2607:fa38::/32", "25649"}, + {"2620:52:1::/48", "31976"}, + {"2801:80:ce0::/48", "264372"}, + {"2804:3e90::/33", "266606"}, + {"2a02:26f7:e8d1::/42", "20940"}, + {"2a02:6060::/32", "60717"}, + {"2620:106:a000::/44", "25739"}, + {"2804:1e54::/32", "52746"}, + {"2a00:9f00:d::/32", "29314"}, + {"2a02:88d:210::/44", "48695"}, + {"2a02:22a8::/32", "8369"}, + {"2a03:2880:f16e::/47", "32934"}, + {"2a10:ccc2:20::/43", "35619"}, + {"2001:678:c38::/48", "207411"}, + {"240a:a8b0::/32", "144874"}, + {"240e:982:c100::/40", "38283"}, + {"2803:7200:8008::/47", "27696"}, + {"2a00:9801::/32", "51178"}, + {"2a02:26f7:cf90::/48", "36183"}, + {"2a02:cd80::/29", "49100"}, + {"2001:510:130::/48", "36786"}, + {"2605:b81::/32", "395378"}, + {"2804:2664:9000::/33", "52721"}, + {"2a10:e800:1::/48", "28885"}, + {"2001:559:82ac::/47", "7922"}, + {"2402:800:9463::/43", "7552"}, + {"240a:ab23::/32", "145501"}, + {"2600:370f:37c5::/44", "32261"}, + {"2a02:26f7:cec4::/48", "36183"}, + {"2001:559:c3cd::/48", "33657"}, + {"2001:1388:8a83::/35", "6147"}, + {"2001:579:70b5::/39", "22773"}, + {"2804:2ca0::/32", "265231"}, + {"2a00:13d1::/29", "42689"}, + {"2a0f:e586::/32", "207656"}, + {"2001:559:801f::/48", "33287"}, + {"2001:df7:8a00::/48", "132937"}, + {"2401:d800:ff0::/34", "7552"}, + {"2406:b400:a4::/44", "55577"}, + {"2409:8914:6a00::/39", "56044"}, + {"240a:a30c::/32", "143430"}, + {"2804:5b0c::/32", "268815"}, + {"2a04:7300::/29", "200008"}, + {"2a04:88c0:1::/48", "210550"}, + {"2a0e:97c0:180::/44", "200303"}, + {"2001:cb0:210::/34", "4637"}, + {"2001:448a:50b0::/41", "7713"}, + {"2804:14c:d4b0::/47", "28573"}, + {"2804:3558::/32", "53155"}, + {"2a02:26f7:20::/48", "36183"}, + {"2a02:26f7:e588::/48", "36183"}, + {"2a02:26f7:e88d::/42", "20940"}, + {"2402:e380:134::/44", "139073"}, + {"2804:e0c:c0::/48", "28176"}, + {"2804:6fd0::/32", "270686"}, + {"2806:219:509::/48", "28509"}, + {"2a01:4240::/32", "31246"}, + {"2001:df1:2780::/48", "133725"}, + {"2402:800:9e01::/42", "7552"}, + {"2408:8957:ac00::/40", "17622"}, + {"2409:4001:4000::/30", "55836"}, + {"240e:940:cf00::/34", "4134"}, + {"2a02:a10::/32", "60703"}, + {"2a02:2698:6c00::/38", "51570"}, + {"2a02:2a58:230::/32", "702"}, + {"2001:559:83d4::/48", "7015"}, + {"2001:da8:a5::/48", "24360"}, + {"2001:14b0::/41", "12374"}, + {"240a:a53a::/32", "143988"}, + {"2607:f368:3224::/48", "46846"}, + {"2a02:e480::/29", "47441"}, + {"2a0d:db00::/29", "212144"}, + {"2c0f:fcb0::/34", "36916"}, + {"2400:7fc0:8000::/36", "55960"}, + {"240e:13:804::/48", "140856"}, + {"2607:6002::/32", "12189"}, + {"2803:7000::/33", "52362"}, + {"2a03:7220::/32", "197422"}, + {"2001:578:d50::/31", "22773"}, + {"2607:7d00::/32", "18780"}, + {"2804:1cc::/32", "28130"}, + {"2804:5958::/32", "268184"}, + {"2a0e:97c0:260::/44", "58057"}, + {"2001:559:48b::/48", "7016"}, + {"2001:67c:26d4::/48", "57801"}, + {"2001:ac8:88::/48", "16247"}, + {"2001:1248:9c28::/43", "11172"}, + {"2600:370f:7020::/46", "32261"}, + {"2602:fd26:1::/48", "22855"}, + {"2804:3d24::/32", "266256"}, + {"2001:1900:2377::/40", "3356"}, + {"2409:8750:f00::/35", "56047"}, + {"2603:c002:350::/36", "31898"}, + {"2607:f160:10::/47", "6167"}, + {"2001:448a:2030::/41", "7713"}, + {"2406:840:fef8::/48", "142438"}, + {"2607:d500:303::/48", "63213"}, + {"2806:2f0:3223::/41", "17072"}, + {"2001:44c8:4850::/42", "45430"}, + {"2403:1e40:151::/32", "137967"}, + {"2803:8e20::/32", "27843"}, + {"2804:7f20:140::/38", "271668"}, + {"2806:2f0:2401::/48", "22884"}, + {"2a01:390::/32", "29405"}, + {"2a0f:8ac1:574b::/48", "205749"}, + {"2a02:26f7:ba86::/47", "20940"}, + {"2a03:6080:8::/30", "16285"}, + {"2a07:8d40::/29", "207075"}, + {"2406:840:eb06::/44", "142553"}, + {"2408:8624::/30", "4837"}, + {"240a:a692::/32", "144332"}, + {"240e:931::/30", "4134"}, + {"2a03:2880:f155::/44", "32934"}, + {"2a04:4e40:1e00::/48", "54113"}, + {"2001:448a:60d0::/42", "7713"}, + {"2403:9600::/32", "131157"}, + {"2620:10a:8020::/48", "55195"}, + {"2a02:ac80:41::/43", "25145"}, + {"2401:d800:b8b0::/41", "7552"}, + {"240a:a1a9::/32", "143075"}, + {"2600:1488:a421::/41", "20940"}, + {"2602:807:6006::/40", "53978"}, + {"2620:56:6000::/48", "46924"}, + {"2800:160:17c6::/43", "14259"}, + {"2a02:270::/32", "2116"}, + {"2a02:e186:3000::/48", "33517"}, + {"2001:559:84aa::/48", "33287"}, + {"2001:559:85f9::/48", "7015"}, + {"2600:1406:4201::/37", "20940"}, + {"2604:2180::/32", "396098"}, + {"2607:fd78:904::/32", "26677"}, + {"2620:13a:c003::/43", "53356"}, + {"2a02:26f7:b700::/48", "36183"}, + {"2a03:6400::/43", "11054"}, + {"2a09:bac0:165::/44", "13335"}, + {"2001:559:815b::/48", "20214"}, + {"2001:559:825b::/48", "7922"}, + {"2001:c20:c83f::/41", "9255"}, + {"2604:cb80::/32", "21554"}, + {"2620:11c:f00d::/48", "393667"}, + {"2a05:dac0:4::/29", "44166"}, + {"2409:8080:2aa0::/44", "9808"}, + {"2600:380:9300::/40", "7018"}, + {"2804:28c4::/32", "263979"}, + {"2001:559:868f::/48", "33659"}, + {"2404:bf40:a1c1::/38", "139084"}, + {"240a:a88d::/32", "144839"}, + {"240e:3bc:ec00::/35", "140314"}, + {"2620:74:90::/47", "11840"}, + {"2620:1bc:1015::/46", "7726"}, + {"2a0f:f300::/29", "208163"}, + {"2001:1890:1fff:104::/29", "7018"}, + {"2402:6f80::/32", "134220"}, + {"2404:f4c0:facf::/48", "142284"}, + {"2408:8456:8600::/42", "17622"}, + {"2605:3380:4154::/47", "12025"}, + {"2800:160:160c::/43", "14259"}, + {"2803:6900:543::/48", "52423"}, + {"2804:6814::/32", "269668"}, + {"2a02:26f7:d481::/46", "20940"}, + {"2a09:bac0:118::/47", "13335"}, + {"2001:559:87c3::/48", "33287"}, + {"2409:806a:2100::/36", "9808"}, + {"2a02:ee80:425c::/46", "3573"}, + {"2a0e:b107:f0::/48", "209861"}, + {"2001:559:8177::/44", "7922"}, + {"2001:67c:18a0::/48", "39686"}, + {"2a00:800:234::/37", "1257"}, + {"2a07:cd40::/29", "212855"}, + {"2001:1248:59c1::/46", "11172"}, + {"240a:a514::/32", "143950"}, + {"2600:cc00:1::/46", "32298"}, + {"2a0e:4480::/32", "57757"}, + {"2001:559:810c::/48", "7922"}, + {"2804:7bcc::/32", "271455"}, + {"2a00:5d80::/32", "20860"}, + {"2a0a:4280::/29", "3339"}, + {"2001:57a:8058::/38", "22773"}, + {"2001:678:810::/48", "1836"}, + {"2001:67c:1300::/48", "1836"}, + {"2606:6680:31::/46", "6315"}, + {"2606:b780::/32", "14589"}, + {"2607:a480::/32", "395512"}, + {"2a05:9f06::/31", "206898"}, + {"2001:d18::/32", "9821"}, + {"2402:5300:4800::/37", "45903"}, + {"2404:bf40:a442::/42", "139084"}, + {"2620:149:a0b::/48", "714"}, + {"2403:cfc0:1100::/44", "135134"}, + {"2606:1a40:f006::/43", "398962"}, + {"2607:f378::/32", "131"}, + {"2620:10a:80ba::/48", "25192"}, + {"2804:2b40::/32", "265143"}, + {"2a0b:ae00::/35", "207044"}, + {"2001:67c:19b0::/46", "16086"}, + {"2600:6c39:28a::/42", "20115"}, + {"2804:4afc:e000::/35", "267276"}, + {"2a0c:b641:710::/47", "206368"}, + {"2001:678:3b0::/48", "206186"}, + {"2400:d400:b00b::/48", "45671"}, + {"240a:a7e5::/32", "144671"}, + {"2600:140f:3a01::/39", "20940"}, + {"2604:f400:800::/37", "26878"}, + {"2804:63ac::/32", "269376"}, + {"2604:3700::/48", "10973"}, + {"2607:fcd0:106:6001::/47", "8100"}, + {"2804:6c4:9000::/36", "262893"}, + {"2a06:bfc0::/29", "200918"}, + {"2001:fd0:2401::/35", "10029"}, + {"2405:600:1003::/33", "55805"}, + {"2804:2b54::/32", "265147"}, + {"2804:6eac::/32", "270612"}, + {"2a0d:b201:e0b0::/41", "206026"}, + {"2407:bb00::/36", "45625"}, + {"2600:140b:7800::/48", "24319"}, + {"2604:2a80::/32", "20413"}, + {"2607:7000::/32", "25905"}, + {"2804:e94:1000::/41", "262468"}, + {"2804:8558::/32", "272573"}, + {"2a02:27b8:1111::/46", "49278"}, + {"2a03:aac0::/32", "48473"}, + {"240a:a3d4::/32", "143630"}, + {"2804:628c::/34", "269303"}, + {"2a02:26f7:100::/48", "36183"}, + {"2a0c:9e80::/32", "199520"}, + {"2400:f400::/32", "24278"}, + {"2401:d800:f3b0::/41", "7552"}, + {"2406:8dc0:2500::/40", "51044"}, + {"2600:6c30::/32", "20115"}, + {"2606:2800:3fff::/33", "15133"}, + {"2804:6cec::/32", "270501"}, + {"2a0c:e780::/29", "209936"}, + {"2001:470:113::/48", "15096"}, + {"2801:1e:1800::/47", "3970"}, + {"2a02:17c0::/32", "44869"}, + {"2001:559:c05f::/42", "7922"}, + {"2001:67c:3c::/48", "1257"}, + {"2600:9000:20de::/39", "16509"}, + {"2804:65f4::/32", "52743"}, + {"2804:771c::/32", "271156"}, + {"2001:67c:2c08::/48", "31424"}, + {"2001:1bc8::/29", "29422"}, + {"240e:9b:f01b::/45", "140254"}, + {"2620:74:81::/48", "30060"}, + {"2804:14c:bf00::/40", "28573"}, + {"2804:f8c:8100::/36", "263591"}, + {"2804:4568::/32", "266924"}, + {"2001:1248:5788::/43", "11172"}, + {"2407:3000:6b::/45", "17707"}, + {"2408:8459:7a50::/37", "17816"}, + {"2604:b840::/32", "397732"}, + {"2a02:580::/30", "6799"}, + {"2a02:1660::/32", "35132"}, + {"2a09:d400::/32", "41001"}, + {"2400:f940::/43", "45766"}, + {"2409:8054:30::/48", "9808"}, + {"2409:8e80:3000::/33", "9808"}, + {"240a:a085::/32", "142783"}, + {"2001:500:a6::/48", "393246"}, + {"2001:559:5b::/48", "33287"}, + {"2001:df0:e9::/48", "55680"}, + {"2402:800:58c5::/43", "7552"}, + {"2404:bd40:3::/48", "138005"}, + {"2405:b900:4000::/48", "55701"}, + {"2620:1ff::/36", "10497"}, + {"2a01:3b8:6000::/32", "33885"}, + {"2a01:8a60:200::/34", "60191"}, + {"2001:978:3c05::/44", "174"}, + {"2001:48a8:68f7::/48", "229"}, + {"2804:1148::/32", "263668"}, + {"2804:70c0:13::/48", "270746"}, + {"2402:800:9db7::/41", "7552"}, + {"2404:5580::/48", "213059"}, + {"2600:100d:b030::/44", "22394"}, + {"2602:fcff:11::/48", "213216"}, + {"2804:294:4100::/32", "28604"}, + {"2001:559:5ab::/48", "33662"}, + {"2402:57c0::/32", "134913"}, + {"2403:c800::/32", "9738"}, + {"2803:360::/32", "264773"}, + {"2803:2180:10::/46", "27941"}, + {"2804:40:4000::/36", "28657"}, + {"2804:2334::/32", "264148"}, + {"2001:559:84ef::/48", "20214"}, + {"2604:2980::/32", "62943"}, + {"2605:f700:80::/44", "18978"}, + {"2804:6f04::/32", "270633"}, + {"2a02:df4::/32", "58250"}, + {"2001:df5:580::/48", "138243"}, + {"2400:cb00:214::/44", "13335"}, + {"240a:ab65::/32", "145567"}, + {"240a:ad34::/32", "146030"}, + {"2a02:26f0:d601::/40", "20940"}, + {"2a03:6c0::/32", "198520"}, + {"2a03:6800::/32", "47902"}, + {"2001:fb0:109f:8007::/64", "36040"}, + {"2401:1d40:101::/36", "59019"}, + {"2a0f:1f80::/29", "60781"}, + {"2400:adc5:300::/37", "9541"}, + {"2402:90c0::/32", "55720"}, + {"2403:fbc0:4000::/48", "23959"}, + {"240a:a361::/32", "143515"}, + {"2604:3548::/32", "399587"}, + {"2a02:278::/32", "42227"}, + {"2408:875c:10::/32", "4837"}, + {"2600:6c7f:9062::/48", "20115"}, + {"2606:af00::/32", "30236"}, + {"2803:2540:a2::/44", "264668"}, + {"2804:3708::/32", "266385"}, + {"2804:85d8::/32", "272604"}, + {"2a00:6920:d000::/40", "42003"}, + {"2a01:6c60:3000::/36", "39535"}, + {"2a02:aec0:1::/46", "57363"}, + {"2404:63c0::/44", "131645"}, + {"2404:7e40:2::/32", "138649"}, + {"240a:a16e::/32", "143016"}, + {"240a:a470::/32", "143786"}, + {"2804:16cc::/32", "61917"}, + {"2804:5938::/32", "268176"}, + {"2806:2f0:91a1::/41", "17072"}, + {"2a00:86c0:2057::/42", "2906"}, + {"2a00:fd80:aaab::/33", "38719"}, + {"2a01:7a80::/29", "197301"}, + {"2001:468:1a08::/48", "302"}, + {"2001:67c:948::/48", "30920"}, + {"2001:da8:a001::/46", "24352"}, + {"2001:df1:7780::/48", "30823"}, + {"240e:67b:1800::/32", "4134"}, + {"2600:140f:400::/48", "55836"}, + {"2607:f110:28::/43", "21889"}, + {"2a12:b80::/29", "204790"}, + {"2001:67c:2cec::/48", "2686"}, + {"2408:8210::/29", "4837"}, + {"2409:804b:29ff::/48", "9808"}, + {"2602:fc64:a00::/48", "36829"}, + {"2803:fae0::/32", "269956"}, + {"2806:2f0:5223::/41", "17072"}, + {"2806:370:53c0::/44", "28403"}, + {"2001:67c:2028::/48", "43591"}, + {"2001:13d2:3810::/33", "7303"}, + {"2800:26a::/32", "19429"}, + {"2804:58d0::/32", "268151"}, + {"2a02:7380::/32", "8680"}, + {"2a05:d050:e080::/44", "16509"}, + {"2001:500:856e::/48", "396574"}, + {"2001:559:7c2::/47", "33659"}, + {"2407:500::/45", "58940"}, + {"2800:160:11c2::/44", "14259"}, + {"2a02:9e8::/32", "3257"}, + {"2a0d:b201:1050::/40", "206026"}, + {"2600:370f:744a::/42", "32261"}, + {"2620:1ec:21::/45", "8068"}, + {"2405:9800:9811::/48", "45458"}, + {"240e:964:d400::/39", "58772"}, + {"240e:982:e100::/40", "134764"}, + {"2620:0:c91::/46", "8076"}, + {"2620:135:e000::/40", "2495"}, + {"2804:2a60:25::/39", "263089"}, + {"2a07:e480::/48", "202261"}, + {"2001:44b8:3085::/48", "4739"}, + {"2a02:26f7:e380::/48", "36183"}, + {"2a03:29c0:c000::/34", "61189"}, + {"2400:8000::/45", "4800"}, + {"2401:d800:b360::/40", "7552"}, + {"2409:8000:301b::/40", "9808"}, + {"240a:ae66::/32", "146336"}, + {"2800:d302:11::/46", "11830"}, + {"2804:0:5c01::/34", "2716"}, + {"2001:250:211::/48", "23910"}, + {"2402:4200:1100::/48", "24284"}, + {"2600:1802:8::/43", "16552"}, + {"2001:678:c74::/48", "8881"}, + {"2001:44b8:3089::/48", "4739"}, + {"2406:e007:c000::/34", "23655"}, + {"2409:8900::/31", "56048"}, + {"2a02:5740:11::/48", "41564"}, + {"2001:579:a17d::/40", "22773"}, + {"2405:9800:d201::/34", "45430"}, + {"240a:a62a::/32", "144228"}, + {"2600:141c:c001::/35", "20940"}, + {"2606:2e00:8008::/46", "36351"}, + {"2803:10e0:ced1::/34", "269853"}, + {"2804:1040:6667::/35", "263626"}, + {"2804:3a5c::/32", "53174"}, + {"2a03:5640:f500::/48", "16509"}, + {"2402:800:9dc5::/42", "7552"}, + {"2408:8459:6c50::/38", "17816"}, + {"2a02:26f7:d140::/48", "36183"}, + {"2001:559:c00c::/47", "7922"}, + {"2405:8a00:6014::/46", "55824"}, + {"2600:100d:a000::/43", "6167"}, + {"2a0e:b107:dce::/48", "212237"}, + {"2a12::/29", "204790"}, + {"2001:579:a07d::/40", "22773"}, + {"2602:fec3::/38", "62563"}, + {"2a06:f500::/29", "34549"}, + {"2408:8957:3400::/40", "17622"}, + {"240a:a4c8::/32", "143874"}, + {"2600:6001::/32", "11351"}, + {"2001:520:100e::/43", "8103"}, + {"2401:f540:4::/48", "134094"}, + {"2409:803c:1100::/37", "9808"}, + {"2a0e:cd01:2f00::/29", "23031"}, + {"2604:d600:1246::/43", "32098"}, + {"2606:2800:511b::/48", "15133"}, + {"2a00:7700:8a03::/33", "31200"}, + {"240a:a1f3::/32", "143149"}, + {"2605:9480::/37", "31775"}, + {"2800:160:1ead::/43", "14259"}, + {"2804:2784::/32", "263906"}, + {"2a01:8840:72::/45", "12041"}, + {"2a0a:e5c0:2c::/48", "208731"}, + {"2001:da8:c9::/48", "138369"}, + {"2001:db0:1800::/34", "17766"}, + {"2402:2c00::/32", "17645"}, + {"2402:8100:26b0::/46", "45271"}, + {"2408:8456:2400::/42", "17622"}, + {"240e:5e:1090::/44", "140309"}, + {"2600:1008:6010::/32", "22394"}, + {"2607:fdc8:10::/48", "30036"}, + {"2804:6354::/32", "269354"}, + {"2608:101:8::/48", "5974"}, + {"2804:8398::/32", "272207"}, + {"2a09:fc80::/29", "62240"}, + {"2400:cb00:38::/47", "13335"}, + {"2610:20:2000::/43", "7764"}, + {"2804:2a88::/48", "264077"}, + {"2a04:4280:20::/48", "43260"}, + {"2a04:6100::/29", "60169"}, + {"2a04:d140::/29", "202040"}, + {"2a0d:2b40::/29", "210437"}, + {"2607:f110:e430::/41", "21889"}, + {"2804:1a0:c10::/32", "28189"}, + {"2a02:26f7:bb01::/46", "20940"}, + {"2a04:c500::/29", "202146"}, + {"2402:ee40:51::/44", "17754"}, + {"2a02:f784:8000::/47", "25252"}, + {"2a06:8280::/43", "51786"}, + {"2a0d:ae80::/32", "34953"}, + {"2001:67c:2dc::/48", "2119"}, + {"2402:800:5b39::/41", "7552"}, + {"2804:3838::/46", "53170"}, + {"2804:6c2c::/32", "270450"}, + {"2a0e:97c0:450::/44", "211208"}, + {"2a0e:97c0:730::/48", "208699"}, + {"2a06:e881:5506::/48", "209864"}, + {"240a:a443::/32", "143741"}, + {"2a02:e0:3805::/44", "34984"}, + {"2402:800:b740::/42", "7552"}, + {"2402:c480:9000::/48", "63916"}, + {"240a:3:b90::/44", "9605"}, + {"2600:6c38:215::/42", "20115"}, + {"2804:295c::/32", "53209"}, + {"2804:708c::/32", "270733"}, + {"2a00:8d40::/33", "29584"}, + {"2402:800:5eb1::/44", "7552"}, + {"240a:ad72::/32", "146092"}, + {"2804:1a04:25::/46", "61832"}, + {"2a02:198::/32", "16171"}, + {"2001:550:3205::/37", "174"}, + {"2405:f080:800::/43", "136907"}, + {"2408:8444::/40", "140726"}, + {"2804:14d:b400::/40", "28573"}, + {"2804:8560::/32", "272575"}, + {"2a01:7420::/32", "200924"}, + {"2a0c:6100::/29", "50332"}, + {"2001:559:816e::/48", "7016"}, + {"2001:67c:1988::/48", "198333"}, + {"2401:d1c0::/33", "136994"}, + {"2408:84f3:2c60::/40", "17623"}, + {"2600:370f:5208::/47", "32261"}, + {"2a01:8e00::/29", "48803"}, + {"2a02:2880::/32", "28886"}, + {"2a06:fbc0::/29", "48918"}, + {"2400:f000::/32", "17888"}, + {"2600:100f:b100::/42", "6167"}, + {"2804:1734::/32", "52869"}, + {"2a00:6900:10::/48", "60199"}, + {"2405:6e00:498::/41", "133612"}, + {"2607:f190::/34", "11320"}, + {"2800:320:404::/44", "27882"}, + {"2804:5528::/32", "268693"}, + {"2a00:1188:1a::/29", "8455"}, + {"2a0c:b641:2c0::/44", "212510"}, + {"2a11:8c00::/29", "204790"}, + {"2001:559:c1dd::/48", "33650"}, + {"2a00:6440::/32", "12406"}, + {"2605:f440:5700::/32", "54874"}, + {"2801:170:1::/46", "264648"}, + {"2001:1998:8a0::/41", "7843"}, + {"2a04:9dc0:21::/29", "9009"}, + {"2404:bf40:86c2::/39", "139084"}, + {"2409:8a53:500::/38", "56047"}, + {"240a:a8f7::/32", "144945"}, + {"2409:8087:2800::/44", "56041"}, + {"2620:108:1000::/40", "394009"}, + {"2804:402c::/32", "265942"}, + {"2a00:1210:fffe::/48", "204385"}, + {"2c0e:2700::/28", "37457"}, + {"2001:4878:2347::/48", "12222"}, + {"2409:8914:6800::/39", "56044"}, + {"240e:3bd:ac00::/35", "4134"}, + {"2803:fd80:11::/36", "18747"}, + {"2804:1cd4:1d00::/32", "61678"}, + {"2a02:26f7:e7c9::/46", "20940"}, + {"2a0c:1340::/29", "43260"}, + {"2a0e:a580::/29", "328663"}, + {"2a11:7600::/29", "211199"}, + {"2001:67c:148c::/48", "199564"}, + {"2001:4c78::/32", "12350"}, + {"2402:3a80:c01f::/42", "38266"}, + {"2409:876b:200::/27", "9808"}, + {"240a:a559::/32", "144019"}, + {"2a02:c18:8::/32", "15436"}, + {"2a02:2e02:1980::/38", "12479"}, + {"2a02:7980:106::/32", "43937"}, + {"2a03:db80:5461::/46", "680"}, + {"2a09:bac0:132::/48", "13335"}, + {"240a:adfe::/32", "146232"}, + {"2604:1300:7701::/32", "3833"}, + {"2604:3d09:9000::/33", "6327"}, + {"2a02:26f7:f480::/48", "36183"}, + {"2a0e:b107:3d0::/46", "207687"}, + {"2400:4ec0:880a::/43", "64300"}, + {"2403:6f80::/32", "134795"}, + {"2600:1016:9110::/34", "6167"}, + {"2a00:79e1:f0b::/48", "395973"}, + {"2a02:1c8::/47", "24955"}, + {"2001:559:c342::/48", "33657"}, + {"240a:a5b6::/32", "144112"}, + {"2607:f038:e::/33", "21527"}, + {"2a00:7147:e1::/44", "51430"}, + {"2a09:e40::/32", "50673"}, + {"2001:559:82c3::/48", "7015"}, + {"2409:8055:50::/48", "9808"}, + {"2409:8087:6c60::/44", "9808"}, + {"2606:3000:c000::/48", "30295"}, + {"2a02:26f7:bfc1::/46", "20940"}, + {"2a03:bb40::/32", "61211"}, + {"2001:550:2a00:2::/47", "174"}, + {"2406:ae00::/39", "55564"}, + {"2804:ae0::/34", "28352"}, + {"2804:452c::/32", "262529"}, + {"2a00:c30::/32", "5391"}, + {"2a00:1970::/32", "12480"}, + {"2a03:8c00::/32", "39458"}, + {"2001:420:94::/33", "109"}, + {"2001:12f8:a::/47", "11284"}, + {"2401:d800:57f0::/36", "7552"}, + {"2408:8656:3300::/37", "17816"}, + {"240e:95d:800::/38", "136192"}, + {"2001:1bf0::/29", "2586"}, + {"240e:3b7:ac00::/35", "4134"}, + {"2a10:c941:10:4::/60", "35277"}, + {"2804:46d8::/32", "267015"}, + {"2a02:c18:2::/45", "15436"}, + {"2001:559:83aa::/48", "33651"}, + {"2001:559:87d2::/48", "33659"}, + {"2001:df2:d80::/48", "136284"}, + {"2400:3800::/32", "9617"}, + {"240e:18:51::/31", "4812"}, + {"2a0d:f9c3::/32", "24953"}, + {"2001:559:7f7::/48", "7015"}, + {"2400:dd01:3003::/45", "7497"}, + {"2600:6c10:f066::/44", "20115"}, + {"2804:5a08::/32", "268741"}, + {"2a03:db80:4c80::/48", "5501"}, + {"2a0a:54c1:9::/43", "62240"}, + {"2001:559:82c2::/48", "7016"}, + {"240a:a06c::/32", "142758"}, + {"240a:a85d::/32", "144791"}, + {"2604:d600::/44", "32098"}, + {"2607:fcd0:100:801::/54", "8100"}, + {"2604:8200:e000::/36", "23089"}, + {"2604:e3c0::/32", "19523"}, + {"2804:214:401a::/39", "26615"}, + {"2804:7ddc::/32", "271587"}, + {"2a02:128:15::/48", "62008"}, + {"2a06:1900::/32", "200635"}, + {"2a0e:b940::/29", "208395"}, + {"2a0f:b780::/29", "49095"}, + {"2001:559:833a::/48", "33657"}, + {"2001:559:c325::/48", "7725"}, + {"2001:dcc:500::/46", "23596"}, + {"2600:1000:9000::/44", "6167"}, + {"2803:f340:1020::/41", "14754"}, + {"2804:2488:11::/34", "264228"}, + {"2a0a:d500::/29", "206928"}, + {"2a0c:b641:568::/45", "210481"}, + {"2001:250:701f::/48", "23910"}, + {"2001:559:8379::/48", "33287"}, + {"2001:67c:2218::/47", "2485"}, + {"2001:da8:20b::/45", "23910"}, + {"2600:1008:a000::/43", "6167"}, + {"2605:e740:500::/40", "398710"}, + {"2800:800:b90::/41", "26611"}, + {"2404:d900::/32", "58656"}, + {"2409:803c:3900::/31", "9808"}, + {"2a02:888:4a::/45", "47794"}, + {"2a02:26f7:51::/48", "20940"}, + {"2a07:3500:10a0::/48", "58083"}, + {"2001:678:a00::/48", "49697"}, + {"2607:fb90:3d00::/33", "21928"}, + {"2800:381:5151::/48", "265760"}, + {"2a02:26f7:d6c2::/47", "20940"}, + {"2001:998:82::/48", "49762"}, + {"240a:a5c8::/32", "144130"}, + {"240a:aad9::/32", "145427"}, + {"2800:160:17a7::/44", "14259"}, + {"2804:fc::/33", "28142"}, + {"2a02:70e0::/32", "61296"}, + {"2a10:9903:102::/48", "212806"}, + {"2001:678:aac::/48", "208658"}, + {"2a0b:a2c0::/29", "205584"}, + {"2404:1c40:f6::/44", "24432"}, + {"2409:8948:8c00::/40", "24445"}, + {"2605:5300:200::/32", "21557"}, + {"2a00:79e1:f00::/47", "36384"}, + {"2a02:26f7:efc5::/46", "20940"}, + {"2a04:6d80::/30", "199993"}, + {"2a0f:5701:3300::/37", "206499"}, + {"2001:da8:b00a::/47", "24371"}, + {"2a01:a940::/32", "15954"}, + {"2001:678:8cc::/48", "210146"}, + {"2001:4130:140::/48", "29067"}, + {"2404:bf40:8801::/41", "139084"}, + {"240e:3b2:5600::/34", "136199"}, + {"2604:8540:fc0c::/47", "33353"}, + {"2a02:166a::/32", "20473"}, + {"2a02:26f7:f3c0::/48", "36183"}, + {"2a02:4007::/32", "56821"}, + {"2c0f:ef58::/32", "36924"}, + {"2001:df0:4e00::/48", "134823"}, + {"2001:2000:1100::/34", "1299"}, + {"2409:8c85:aa15::/46", "9808"}, + {"240a:ac1c::/32", "145750"}, + {"240a:ac77::/32", "145841"}, + {"2a02:26f7:bf8c::/48", "36183"}, + {"2a0e:8f02:21a4::/47", "208763"}, + {"2a0f:cc87:7000::/32", "210625"}, + {"2a02:26f7:6d::/48", "20940"}, + {"2a05:dfc7:120::/33", "61138"}, + {"2a07:9944:30::/48", "58305"}, + {"2a01:9080::/32", "39658"}, + {"2001:678:e3c::/48", "208169"}, + {"2a04:92c6::/31", "62240"}, + {"2001:15f8:1::/48", "25384"}, + {"2404:b0:1006::/44", "4750"}, + {"240a:a546::/32", "144000"}, + {"2600:6c5a::/32", "20115"}, + {"2804:61e8::/32", "269264"}, + {"2a04:4e40:ec00::/48", "54113"}, + {"2a0e:b107:e80::/44", "39282"}, + {"2001:559:c1cb::/45", "7922"}, + {"2401:5f80:7::/33", "38731"}, + {"2408:8456:1f40::/40", "17816"}, + {"2a10:2600::/29", "8888"}, + {"240d:c040::/44", "132203"}, + {"240e:c3:2800::/37", "63838"}, + {"2600:380:8b80::/37", "20057"}, + {"2804:17f8::/39", "262628"}, + {"2001:559:50b::/45", "7015"}, + {"2001:1248:5f1e::/42", "11172"}, + {"2001:16a2:c130::/40", "39891"}, + {"2607:f428:9150::/42", "20115"}, + {"2610:68::/33", "5774"}, + {"2620:171:47::/48", "715"}, + {"2803:e0e0:100::/47", "269852"}, + {"2806:230:4024::/48", "265594"}, + {"2403:5a40:50::/48", "134562"}, + {"240a:2000::/29", "23844"}, + {"2a04:4e40:e600::/48", "54113"}, + {"2a06:fc0::/29", "29632"}, + {"2001:559:8212::/47", "33657"}, + {"2605:52c0:5::/48", "54574"}, + {"2408:8957:4600::/40", "17622"}, + {"240a:a524::/32", "143966"}, + {"240e:3b2:ac00::/35", "4134"}, + {"2404:bf40:c082::/41", "139084"}, + {"2600:1000:b170::/40", "22394"}, + {"2602:fed2:7300::/48", "139693"}, + {"2a03:22c0::/32", "199551"}, + {"2a0d:3d80::/29", "204635"}, + {"2001:1248:9a81::/45", "11172"}, + {"2800:110:2201::/37", "4270"}, + {"2804:50e8::/32", "268418"}, + {"2a02:398::/32", "30781"}, + {"2001:4c0::/47", "855"}, + {"2001:da8:e80d::/48", "24368"}, + {"2804:6e20::/32", "270577"}, + {"2a00:cb8:48::/47", "15695"}, + {"2a02:26f7:ec0c::/48", "36183"}, + {"2a0a:de40::/32", "205890"}, + {"2804:815c::/32", "272449"}, + {"2a02:26f7:c441::/46", "20940"}, + {"2001:df2:7d00::/48", "45780"}, + {"2409:8055:38::/48", "9808"}, + {"2607:f188::/32", "21769"}, + {"2a0f:2140::/29", "60262"}, + {"2400:c2c0::/32", "63959"}, + {"2404:bf40:83c1::/46", "7545"}, + {"2604:6000::/32", "11351"}, + {"2804:3d18::/32", "266253"}, + {"2804:8074::/32", "271751"}, + {"2a00:1080::/32", "43646"}, + {"2a02:26f7:c8c8::/48", "36183"}, + {"2a02:ee80:4184::/44", "3573"}, + {"2a02:cb80:4220::/45", "43766"}, + {"2a0a:3980:2::/48", "198949"}, + {"2001:559:8455::/46", "7725"}, + {"2403:67c0::/32", "135772"}, + {"240a:abd5::/32", "145679"}, + {"2600:802:1109::/31", "701"}, + {"2600:130c::/32", "20021"}, + {"2607:f298:6050::/44", "26347"}, + {"2804:63b8::/32", "269379"}, + {"2804:64fc:8000::/33", "269461"}, + {"2a02:26f7:68::/48", "36183"}, + {"2a0f:9400:8008::/48", "207756"}, + {"240e:44d:5200::/41", "140345"}, + {"2600:380:e000::/44", "20057"}, + {"2800:484:a00::/40", "10620"}, + {"2001:67c:18ac::/48", "62316"}, + {"2401:4900:5cc0::/44", "45609"}, + {"2606:6680:13::/48", "64249"}, + {"2806:2f0:4781::/42", "17072"}, + {"2a02:e00:ffe9::/48", "62240"}, + {"2a02:26f7:c80c::/48", "36183"}, + {"2a0e:8f02:f015::/48", "212243"}, + {"2800:160:1ad6::/44", "14259"}, + {"2001:559:73d::/48", "7015"}, + {"2001:559:c02d::/48", "33287"}, + {"240e:438:6c40::/38", "4134"}, + {"2804:90:6100::/38", "28580"}, + {"2804:20fc:700::/35", "264525"}, + {"2804:4d5c:c000::/34", "268192"}, + {"2c0f:f748::/39", "37662"}, + {"2001:559:210::/47", "7922"}, + {"2400:7400:e032::/45", "23736"}, + {"2402:e280:2213::/44", "134674"}, + {"240a:a4bb::/32", "143861"}, + {"2a0f:8646:b00b::/48", "212149"}, + {"2001:67c:690::/48", "1836"}, + {"2803:9460::/32", "262186"}, + {"2a02:26f0:4301::/37", "20940"}, + {"240e:438:1c20::/43", "140647"}, + {"2804:37f8:8000::/33", "266447"}, + {"240a:61::/36", "9605"}, + {"240a:a8c3::/32", "144893"}, + {"2801:1c8:88::/48", "19429"}, + {"2804:310::/46", "262688"}, + {"2806:2f0:50a1::/46", "17072"}, + {"2001:df3:2900::/48", "24060"}, + {"2406:2000:ef65::/48", "58525"}, + {"2406:f400:20::/44", "38001"}, + {"2605:59c0:2000::/35", "36492"}, + {"2a04:f580:9070::/48", "4809"}, + {"240a:abfd::/32", "145719"}, + {"2607:fc28::/33", "22911"}, + {"2001:57a:3a06::/33", "22773"}, + {"2001:67c:1398::/48", "199355"}, + {"2403:a200:9999::/48", "133111"}, + {"2407:8800:bf02::/33", "7545"}, + {"2408:8256:3271::/48", "17623"}, + {"2603:90f5:f::/43", "11426"}, + {"2804:1cd8::/46", "262691"}, + {"2804:3b6c:c018::/42", "265442"}, + {"2a04:2181:c010::/47", "61272"}, + {"2a0e:3840:2::/48", "40676"}, + {"2001:1248:87b0::/36", "11172"}, + {"2001:4830:c601::/36", "27552"}, + {"240e:a7:7fed::/32", "4134"}, + {"2600:140f:9c01::/34", "20940"}, + {"2600:6c2e:cf::/39", "20115"}, + {"2801:17:a800::/48", "19429"}, + {"2a03:c980:5fb5::/48", "210079"}, + {"2a0a:53c0::/48", "42780"}, + {"2a0d:e40::/29", "39402"}, + {"2001:559:805e::/48", "33657"}, + {"240a:aa7a::/32", "145332"}, + {"2a01:ce95::/32", "51964"}, + {"2001:550:20c::/39", "174"}, + {"2001:67c:2100::/48", "41011"}, + {"2604:3b40::/32", "399494"}, + {"2806:2f0:4381::/46", "17072"}, + {"2a00:a5a0::/32", "24971"}, + {"2a05:4140:185::/48", "211358"}, + {"2a0a:56c4:8000::/47", "42649"}, + {"2001:559:81::/48", "33287"}, + {"2405:8a00:2022::/43", "55824"}, + {"2408:8459:4050::/38", "17816"}, + {"2a00:a400::/32", "8943"}, + {"2a09:7:2001::/48", "43992"}, + {"2a0a:4cc0::/40", "197540"}, + {"2407:aa80::/32", "135407"}, + {"240a:a5b5::/32", "144111"}, + {"2a01:280:330::/48", "29518"}, + {"2a02:2010:2620::/45", "20978"}, + {"2a0e:aa00:212::/44", "41378"}, + {"240e:5::/35", "17638"}, + {"2600:1017:f400::/44", "22394"}, + {"2001:df6:6880::/48", "16509"}, + {"2600:6c38:d0::/45", "20115"}, + {"2605:dd40:8f80::/44", "16509"}, + {"2a00:1ca0:2402::/32", "21413"}, + {"2600:1480:7000::/48", "21342"}, + {"2804:204:901::/32", "28186"}, + {"2a0d:3340::/32", "36492"}, + {"2a0e:e40::/32", "208638"}, + {"2001:ee0:dd40::/40", "45899"}, + {"2409:805c:30b1::/41", "9808"}, + {"2600:8807:bc2::/35", "22773"}, + {"2603:c027::/35", "31898"}, + {"2804:4b7c::/32", "28227"}, + {"2001:41a8::/37", "6762"}, + {"2804:810c::/32", "272428"}, + {"2a07:7d80::/29", "50304"}, + {"2401:47c0::/35", "41095"}, + {"2001:4e0:1050::/48", "64251"}, + {"240e:bf:b000::/36", "134768"}, + {"2804:4f58::/33", "268321"}, + {"2001:67c:6f0::/48", "44934"}, + {"2001:df2:3680::/48", "131124"}, + {"240a:a028::/32", "142690"}, + {"2600:1010:be0e::/40", "22394"}, + {"2804:2990:6000::/32", "264022"}, + {"2a10:7040::/29", "212602"}, + {"2001:678:ea4::/48", "39704"}, + {"2600:1406:41::/46", "20940"}, + {"2804:44c::/32", "262761"}, + {"2804:7c0:a000::/33", "262316"}, + {"2a03:2a60:8000::/47", "59871"}, + {"2a10:d503::/32", "398464"}, + {"2a12:b180::/29", "49581"}, + {"2c0f:fe88::/32", "12556"}, + {"2001:559:155::/48", "33652"}, + {"2405:2040:1202::/48", "48024"}, + {"2600:14c0:c::/26", "20940"}, + {"2602:fd43::/36", "63267"}, + {"2801:1b:8801::/48", "18678"}, + {"2804:2124::/32", "264538"}, + {"2806:230:101a::/48", "265594"}, + {"2a02:26f0:b401::/39", "20940"}, + {"2001:678:6ac::/48", "49852"}, + {"2a02:26f7:dfc0::/48", "36183"}, + {"2a03:5260::/32", "48576"}, + {"2001:b28:f23c::/48", "44907"}, + {"2a02:26f7:d2c0::/48", "36183"}, + {"2001:678:744::/48", "203660"}, + {"2804:14d:5c21::/41", "28573"}, + {"2804:59ec::/32", "268734"}, + {"2804:8058::/32", "271745"}, + {"2806:2f0:5043::/40", "17072"}, + {"2a0a:a000::/32", "200564"}, + {"2001:559:83b7::/48", "7015"}, + {"2400:a980:40ff::/48", "38587"}, + {"2403:7100:10::/48", "132220"}, + {"2600:380:1c00::/38", "7018"}, + {"2600:1417:19::/48", "20940"}, + {"2a0f:f680::/29", "60262"}, + {"240a:aeda::/32", "146452"}, + {"2602:101:4001::/46", "20115"}, + {"2603:c001:2e10::/35", "31898"}, + {"2a0e:97c3:425::/48", "20473"}, + {"2c0f:f830::/32", "30844"}, + {"2409:8054:3014::/46", "56040"}, + {"2804:29f4:800::/32", "264047"}, + {"2804:7e6c::/32", "271623"}, + {"2a0d:2600::/29", "39736"}, + {"2001:df6:8c80::/48", "136744"}, + {"2407:a600:8000::/36", "18004"}, + {"2602:feda:b64::/48", "146950"}, + {"2607:f358:a::/47", "18779"}, + {"2804:14d:2a79::/45", "28573"}, + {"2a01:8840:a2::/45", "12041"}, + {"2a02:26f7:fbc1::/46", "20940"}, + {"2a0a:ad80::/29", "60670"}, + {"2a10:3000::/29", "2830"}, + {"240e:44d:4680::/41", "4134"}, + {"2a02:128:8::/48", "50916"}, + {"2402:5c40:2000::/48", "64089"}, + {"2600:1419:1::/45", "20940"}, + {"2602:feda:e3c::/48", "147028"}, + {"2a07:85c5::/48", "174"}, + {"2409:8073:2a04::/29", "9808"}, + {"2600:1417:3d::/41", "20940"}, + {"2803:7bc0::/47", "266185"}, + {"2804:1544::/32", "28252"}, + {"2001:559:859a::/48", "33667"}, + {"2001:660:3005::/46", "2486"}, + {"240a:a14c::/32", "142982"}, + {"2a00:6ec0:100::/40", "56837"}, + {"2a02:26f7:aa::/48", "36183"}, + {"2a0a:a2c0::/47", "205992"}, + {"2c0f:f6e0::/32", "37618"}, + {"2401:8d00:b::/45", "38345"}, + {"2602:805:7000::/44", "40069"}, + {"2a0d:eb40::/29", "39070"}, + {"2001:8e0::/29", "8758"}, + {"2607:f750:fe01::/46", "23473"}, + {"2607:fb10:2013::/45", "2906"}, + {"2610:190:5e00::/34", "62"}, + {"2a02:26f7:76::/48", "36183"}, + {"2a03:1280::/32", "197227"}, + {"2600:6c38:2c::/41", "20115"}, + {"2a0c:9a40:10aa::/48", "213288"}, + {"2001:678:7f8::/48", "200273"}, + {"2a02:f90::/32", "12886"}, + {"2001:559:82a6::/48", "33490"}, + {"2408:8256:3379::/48", "17816"}, + {"240a:a1c3::/32", "143101"}, + {"2606:2800:4a58::/46", "15133"}, + {"2610:128:9100::/37", "11686"}, + {"2620:115:81::/46", "18888"}, + {"2a02:20c8:2331::/37", "50304"}, + {"2a0e:fd45:2b71::/40", "44103"}, + {"2001:c20:48c6::/48", "9255"}, + {"2409:8054:11::/45", "56040"}, + {"2409:8c28:35b1::/33", "56041"}, + {"2607:1280:1350::/42", "394972"}, + {"2804:4488:4010::/44", "262480"}, + {"2804:4870:7400::/32", "267121"}, + {"2804:7c18:40::/32", "267398"}, + {"2a00:9d20:49::/48", "28753"}, + {"2a00:ff0:9999::/48", "12672"}, + {"2a0e:1bc0::/35", "208621"}, + {"2001:500:f0::/48", "53535"}, + {"2403:8600:c09::/45", "45820"}, + {"2a05:9f00::/47", "44222"}, + {"2a0f:5701:3522::/45", "205593"}, + {"2800:160:1bba::/47", "14259"}, + {"2a07:42c0::/29", "34670"}, + {"2a0a:c802:2::/45", "39798"}, + {"240e:981:8100::/36", "4134"}, + {"2600:1006:9050::/39", "22394"}, + {"2602:fd10:c00::/48", "19529"}, + {"2607:1d80::/32", "11287"}, + {"2a00:4800:1a0::/44", "13124"}, + {"2a02:26f7:f6fc::/48", "36183"}, + {"2a09:d980::/29", "209681"}, + {"2a0f:3b05:100::/44", "35487"}, + {"2001:df4:dd80::/48", "8888"}, + {"2409:8920::/29", "56046"}, + {"2602:feda:b40::/48", "142130"}, + {"2001:559:822e::/48", "7922"}, + {"2001:4478:ff02::/40", "4802"}, + {"2001:44b8:4045::/48", "4739"}, + {"2402:4e00:101::/33", "45090"}, + {"2409:8087:6a19::/42", "9808"}, + {"240a:a9ca::/32", "145156"}, + {"2607:f070::/32", "13855"}, + {"2804:2140:1024::/36", "53059"}, + {"2001:550:2200:208::/46", "174"}, + {"2001:559:80f0::/48", "7922"}, + {"2409:8070:b00::/35", "9808"}, + {"2605:a980::/48", "1996"}, + {"2804:1b50::/32", "61719"}, + {"2804:794c::/32", "271297"}, + {"2a00:1670::/32", "8902"}, + {"2a04:2dc0::/48", "39216"}, + {"2001:dc2::/32", "2515"}, + {"2606:3c0::/46", "399016"}, + {"2804:47c8::/32", "267076"}, + {"2804:7fd8::/32", "271713"}, + {"2a12:f280::/29", "209097"}, + {"2001:da8:4005::/48", "23910"}, + {"2403:d500::/32", "132029"}, + {"240e:109:8046::/48", "134756"}, + {"2801:18:8800::/48", "267892"}, + {"2804:106c::/32", "263635"}, + {"2a03:9c60::/32", "43420"}, + {"2a10:3b40::/29", "204790"}, + {"2001:559:c0e1::/48", "7015"}, + {"2400:8b00:a400::/44", "45727"}, + {"2606:f280::/34", "46261"}, + {"2803:8f80::/32", "263829"}, + {"2804:84cc:4100::/32", "272541"}, + {"2a03:e440::/29", "206978"}, + {"2a05:fb40::/32", "208861"}, + {"2a0c:8dc0::/29", "25145"}, + {"2c0f:5c00::/32", "328805"}, + {"2409:8d10::/30", "9808"}, + {"240a:a69c::/32", "144342"}, + {"240a:aae7::/32", "145441"}, + {"2620:bd:c000::/48", "393638"}, + {"2804:77c8::/32", "271199"}, + {"2a00:c827:b::/32", "60330"}, + {"2a02:908::/32", "3209"}, + {"2001:1248:98e3::/48", "11172"}, + {"2406:a800::/32", "45437"}, + {"2600:140f:5800::/48", "9498"}, + {"2600:1480:d801::/37", "20940"}, + {"2806:2f0:84::/38", "17072"}, + {"2a06:4380::/29", "51711"}, + {"2001:559:290::/48", "7016"}, + {"2001:559:c423::/48", "7015"}, + {"2409:8000:3100::/37", "9808"}, + {"2600:5c01:34b9::/32", "10796"}, + {"2804:7f6c:32::/41", "271687"}, + {"2a0d:1dc0::/29", "197706"}, + {"2001:559:114::/48", "7016"}, + {"240e:44d:800::/41", "140345"}, + {"2600:1409:d001::/34", "20940"}, + {"2804:4b70::/32", "267306"}, + {"2001:c20:48ac::/47", "3758"}, + {"2001:16d8:53::/45", "16150"}, + {"240a:af41::/32", "146555"}, + {"2806:269:300::/37", "13999"}, + {"2a02:2e02:82b0::/41", "12479"}, + {"2a04:1cc0::/32", "202916"}, + {"2001:559:4d::/46", "33651"}, + {"2001:559:c373::/48", "33287"}, + {"2402:e280:100::/47", "134674"}, + {"2607:fb90::/36", "21928"}, + {"2804:2a44::/32", "264064"}, + {"240a:ad95::/32", "146127"}, + {"2804:6cc8::/32", "270491"}, + {"2a02:cb80:4158::/47", "43766"}, + {"2a03:7202::/32", "44895"}, + {"2a0e:97c0:7b0::/44", "207716"}, + {"2001:559:c061::/48", "33287"}, + {"2001:c10:ff03::/45", "7473"}, + {"2001:da8:254::/48", "23910"}, + {"2401:8180::/32", "24341"}, + {"2406:8e00::/32", "18139"}, + {"240a:af84::/32", "146622"}, + {"2804:40a0:acc4::/33", "265971"}, + {"2a02:26f7:f448::/48", "36183"}, + {"2a02:f680::/48", "35196"}, + {"2c0f:ec80::/32", "37315"}, + {"2001:559:c3f6::/48", "33657"}, + {"2409:8c3c:900::/45", "9808"}, + {"2600:180b:5002::/29", "16552"}, + {"2602:fd50:bb::/48", "206628"}, + {"2603:6038::/32", "10838"}, + {"2804:83ac::/32", "272211"}, + {"2a0b:b87:ffe3::/48", "205117"}, + {"2a0f:9400:8024::/47", "53356"}, + {"2804:218:bef0::/33", "27715"}, + {"2804:5880::/32", "268133"}, + {"2a01:40:494a::/32", "5459"}, + {"2a0b:b87:fff0::/44", "7489"}, + {"2001:da8:211::/48", "24348"}, + {"2804:b28::/32", "52944"}, + {"2a01:b740:a20::/48", "6185"}, + {"2a01:c8ce:2::/31", "25454"}, + {"2001:500:a8::/48", "21556"}, + {"2001:67c:1441::/48", "45018"}, + {"2404:b300:10::/48", "59318"}, + {"2600:180c:6002::/32", "16552"}, + {"2a04:64c0::/29", "208484"}, + {"2401:d800:9ed2::/39", "7552"}, + {"240a:aad6::/32", "145424"}, + {"2804:ae0:8300::/37", "28352"}, + {"2a06:a001:a107::/44", "210384"}, + {"2407:e2c0::/32", "147030"}, + {"2620:57:e000::/48", "397031"}, + {"2a02:17a0::/29", "47232"}, + {"2001:978:1b04::/47", "210743"}, + {"2604:8900::/48", "40285"}, + {"2605:a200::/32", "33576"}, + {"2806:2f0:5483::/34", "17072"}, + {"2a02:50::/48", "15464"}, + {"2a02:a30::/39", "8926"}, + {"2a03:8f84::/32", "52023"}, + {"2a0e:fd45:2b61::/44", "44103"}, + {"240e:44d:200::/42", "140345"}, + {"2a02:2018::/32", "51218"}, + {"2001:1b58::/29", "35283"}, + {"240e:280::/23", "4134"}, + {"2605:1080:12::/45", "23367"}, + {"2607:1e00::/35", "22489"}, + {"2a02:2278::/38", "28907"}, + {"2a02:26f7:d84c::/47", "36183"}, + {"2a04:4e40:4400::/47", "54113"}, + {"2001:559:8381::/48", "33652"}, + {"2600:1415:4401::/36", "20940"}, + {"2600:6c38:c8::/46", "20115"}, + {"2804:10::/32", "28299"}, + {"2a01:5480::/32", "34497"}, + {"2a05:f787:ffff::/48", "57667"}, + {"2a0a:dd40::/32", "206147"}, + {"2a0c:bc80::/29", "34979"}, + {"2a0e:b107:2a0::/44", "31798"}, + {"2407:b1c0::/32", "138524"}, + {"2408:8459:8430::/41", "17622"}, + {"2409:804f:900::/35", "9808"}, + {"2606:1a40:2017::/48", "132335"}, + {"2800:5e0::/32", "28007"}, + {"2804:14c:8300::/40", "28573"}, + {"2804:1c4c:1a3::/37", "61648"}, + {"2a05:bd40:d13::/48", "29264"}, + {"2001:559:c38c::/48", "7016"}, + {"2400:7400:5f::/48", "23736"}, + {"2401:d800:f830::/41", "7552"}, + {"2402:3a80:1cb8::/45", "38266"}, + {"2409:8c54::/36", "56040"}, + {"2801:140:144::/48", "262249"}, + {"2a00:4802:3c00::/44", "13124"}, + {"2001:559:c176::/48", "33657"}, + {"2001:1248:996b::/43", "11172"}, + {"2405:1c0:7191::/45", "55303"}, + {"2409:8620::/27", "9808"}, + {"240a:a59d::/32", "144087"}, + {"2001:4403:dead::/48", "9896"}, + {"2401:cc00::/32", "24363"}, + {"2402:ef14::/32", "24397"}, + {"240a:ae28::/32", "146274"}, + {"2606:3b80::/32", "394109"}, + {"2606:5e40:dc05::/48", "399606"}, + {"2806:10be:6::/44", "8151"}, + {"2a03:b202::/29", "20860"}, + {"2a12:70c0::/29", "49778"}, + {"240a:a102::/32", "142908"}, + {"2605:f700:140::/40", "18978"}, + {"2001:678:d58::/48", "39409"}, + {"2001:67c:27c4::/48", "213032"}, + {"240a:a813::/32", "144717"}, + {"2607:f7b8::/32", "10490"}, + {"2620:0:2e80::/48", "33631"}, + {"2804:cd4::/32", "52558"}, + {"2804:44d8::/32", "267657"}, + {"2806:2f0:7183::/42", "17072"}, + {"2a0e:6e80::/44", "208800"}, + {"2001:559:85db::/45", "7015"}, + {"2001:df5:b480::/56", "137455"}, + {"2001:fd8:268::/40", "4775"}, + {"2a07:4e00::/29", "203058"}, + {"2001:559:199::/48", "7016"}, + {"2001:df0:6b40::/48", "149375"}, + {"2a01:8740::/48", "57344"}, + {"2a02:26f0:c0::/48", "34164"}, + {"2a0b:10c0::/48", "48749"}, + {"2806:1000::/32", "8151"}, + {"2a02:26f7:71::/48", "20940"}, + {"2a04:8f40:2000::/48", "205505"}, + {"2401:4900:39b0::/44", "45609"}, + {"2001:550:2607::/48", "142580"}, + {"240e:978:2900::/40", "146966"}, + {"2600:1400:e::/43", "20940"}, + {"2602:fe5b::/36", "53872"}, + {"2620:101:403a::/48", "36421"}, + {"2a02:6b00::/36", "28757"}, + {"2a03:9d40:2d00::/38", "41095"}, + {"2001:df6:600::/48", "135653"}, + {"2409:8915:5000::/39", "56044"}, + {"2600:5c01:31cc::/37", "10796"}, + {"2604:9cc0:400::/38", "201106"}, + {"2620:dc:c000::/48", "27009"}, + {"2600:1400:1801::/37", "20940"}, + {"2604:6600:2001::/48", "201106"}, + {"2804:1e58:8000::/33", "264422"}, + {"2a02:26f7:bfc8::/48", "36183"}, + {"2a02:2e02::/39", "12479"}, + {"2a03:f80:852::/48", "9009"}, + {"2001:250:341c::/46", "138393"}, + {"2001:559:c1f6::/48", "7016"}, + {"2001:67c:20f8::/48", "34290"}, + {"2001:67c:2730::/48", "198524"}, + {"2409:8a00::/31", "56048"}, + {"2804:3b58::/32", "266143"}, + {"2a03:5344:40::/44", "34414"}, + {"2a0d:7540::/29", "8888"}, + {"2001:448a:5110::/42", "7713"}, + {"2401:8800:c00::/45", "17439"}, + {"2406:dc0:235e::/47", "9221"}, + {"2620:116:800c::/46", "16509"}, + {"2620:13b:30e1::/48", "13607"}, + {"2804:1f18::/32", "52890"}, + {"2a0c:5247:5000::/36", "59504"}, + {"2001:559:249::/48", "33667"}, + {"2600:1402:4001::/35", "20940"}, + {"2620:74:8::/48", "30060"}, + {"2620:ba:8000::/48", "2386"}, + {"2803:7140::/32", "264639"}, + {"2a04:92c7:33::/45", "62240"}, + {"2a07:90c0::/29", "202771"}, + {"2a0b:33c0:1::/46", "57395"}, + {"2a0e:b107:df2::/48", "20473"}, + {"2001:559:7fa::/47", "7922"}, + {"2001:559:8143::/48", "7015"}, + {"2001:df0:206::/48", "9449"}, + {"2408:8256:3b95::/48", "17816"}, + {"2607:f750:4000::/40", "23473"}, + {"2a0e:8f02:215f::/48", "211869"}, + {"2a0e:8f02:f00d::/48", "212360"}, + {"2001:678:464::/48", "34087"}, + {"2405:8e40::/32", "139838"}, + {"2a0e:b107:270::/48", "207852"}, + {"2001:67c:22e0::/48", "48803"}, + {"2001:dc8:c000::/47", "24066"}, + {"2408:8957:5700::/40", "17816"}, + {"240a:ab46::/32", "145536"}, + {"2600:6c38:194::/44", "20115"}, + {"2804:71f0::/32", "270821"}, + {"2a02:26f7:d340::/48", "36183"}, + {"2620:171:37::/44", "42"}, + {"2804:6f90::/32", "270669"}, + {"2804:70c0:a::/48", "270746"}, + {"2a00:1728:24::/48", "198228"}, + {"2a01:7a20::/32", "35383"}, + {"2a0f:1000::/29", "200567"}, + {"2409:8c54:2820::/35", "56040"}, + {"240e:13:808::/48", "140860"}, + {"2a0d:77c7::/36", "7489"}, + {"2403:d240::/32", "138368"}, + {"2404:4a00:8500:1::/36", "45629"}, + {"2404:bf40:e300::/48", "2764"}, + {"2610:20:8068::/38", "6629"}, + {"2620:149:a2a::/43", "714"}, + {"2a10:6d40::/29", "30633"}, + {"2001:250:207::/44", "24349"}, + {"2001:550:d05::/44", "174"}, + {"2001:550:1d00:300::/47", "174"}, + {"2404:f4c0:f202::/47", "139589"}, + {"2408:8456:b810::/42", "134543"}, + {"240d:c010:7b::/48", "139341"}, + {"240e:3b2:1800::/34", "4134"}, + {"2a09:dd81::/30", "12637"}, + {"2a0b:2e00::/29", "15600"}, + {"2a0f:e5c0::/48", "60781"}, + {"2001:559:c1a6::/48", "33662"}, + {"2406:7100::/32", "132692"}, + {"2001:470:79::/48", "393763"}, + {"2001:67c:2e4c::/48", "48724"}, + {"2402:3f80:1400::/40", "133475"}, + {"2409:8008:d7::/48", "24547"}, + {"2606:2480::/32", "36511"}, + {"2a05:8540::/29", "44543"}, + {"2602:fed2:7600::/40", "1239"}, + {"2804:6cf8::/32", "270504"}, + {"2a07:14c0:5000::/36", "59504"}, + {"2001:67c:16e4::/48", "197521"}, + {"2001:e60:1050::/42", "4766"}, + {"2401:d800:97b0::/41", "7552"}, + {"2402:800:330f::/43", "7552"}, + {"2405:6e00:2240::/40", "133612"}, + {"240e:965:8800::/38", "133775"}, + {"2a04:4e40:a00::/47", "54113"}, + {"2a10:2f00:11a::/48", "207317"}, + {"2001:559:828a::/48", "7922"}, + {"2001:4998:44::/46", "36646"}, + {"2409:8028:800::/40", "56041"}, + {"2a00:fd80::/32", "38719"}, + {"2a02:26f7:b3c4::/48", "36183"}, + {"2a02:7160::/32", "43885"}, + {"2a0b:5b00::/29", "48205"}, + {"2402:ef0e::/32", "38536"}, + {"2806:2f0:3523::/41", "17072"}, + {"2001:428:6402:6::/54", "209"}, + {"2404:3d00:40f6::/47", "21433"}, + {"240e:3ba:9c00::/34", "140310"}, + {"2801:80:c70::/48", "61749"}, + {"2a03:4460::/32", "201466"}, + {"2a0b:4342:2000::/36", "57578"}, + {"2607:f368:2000::/40", "46846"}, + {"2804:fc:5100::/32", "28142"}, + {"2804:8138::/35", "272440"}, + {"2a02:490::/29", "20811"}, + {"2408:8956:e200::/40", "17622"}, + {"2804:2d80:ab00::/35", "262378"}, + {"2401:ff80::/32", "133954"}, + {"2600:140b:5c01::/34", "20940"}, + {"2001:559:497::/48", "7016"}, + {"2a01:280:350::/48", "3301"}, + {"2a02:26f7:ee44::/48", "36183"}, + {"2a10:9100:4::/48", "49453"}, + {"2402:eac0::/32", "137852"}, + {"2404:3f80::/32", "24556"}, + {"2801:192::/40", "262589"}, + {"2804:220c::/32", "264588"}, + {"2a02:2000::/45", "35297"}, + {"2a06:a005:b2::/48", "207941"}, + {"2602:ff7c::/36", "55039"}, + {"2804:14c:ccec::/47", "28573"}, + {"2a02:26f0:cc::/43", "20940"}, + {"2a09:4ec0::/48", "47447"}, + {"2409:8924:300::/37", "56046"}, + {"2603:90f4::/32", "7843"}, + {"2604:be00::/32", "22663"}, + {"2806:268:300::/40", "13999"}, + {"2001:678:180::/48", "204188"}, + {"2001:67c:2e0c::/48", "209721"}, + {"2402:940::/32", "137990"}, + {"2804:18:5028::/45", "26599"}, + {"2806:250:22::/47", "28509"}, + {"2a02:26f7:cac1::/46", "20940"}, + {"2a03:f80:ed31::/48", "57169"}, + {"240a:acaf::/32", "145897"}, + {"2604:d600:129a::/39", "32098"}, + {"2606:6200:1c01::/32", "21570"}, + {"2804:519c::/32", "268465"}, + {"2001:16a2:c0f0::/46", "39891"}, + {"240a:a597::/32", "144081"}, + {"240e:6bb:3000::/29", "4134"}, + {"2804:1890::/32", "61940"}, + {"2804:7558::/32", "271040"}, + {"2a03:2887:ff2e::/43", "63293"}, + {"2a04:8900::/29", "38938"}, + {"2a06:7fc0::/29", "206893"}, + {"2001:559:87b8::/41", "7015"}, + {"2600:ac00::/28", "14007"}, + {"2a02:45c0:16::/47", "3209"}, + {"2a12:5440::/45", "51235"}, + {"2400:a980:2500::/36", "133111"}, + {"2605:a401:832d::/41", "33363"}, + {"2620:110::/47", "16692"}, + {"2a03:6947:1800::/40", "28952"}, + {"2001:408:8001::/33", "14793"}, + {"2408:8956:4000::/40", "17622"}, + {"2620:11f:d000::/47", "393941"}, + {"2806:366::/47", "28435"}, + {"2a02:26f7:f440::/48", "36183"}, + {"2001:df6:e300::/48", "138225"}, + {"2001:fd8:164::/46", "132199"}, + {"2001:43f8:1800::/40", "37724"}, + {"2409:8020:51::/42", "56046"}, + {"2a04:92c7:53::/32", "62240"}, + {"2a10:e000:1::/48", "210909"}, + {"2409:8904:a340::/37", "24547"}, + {"2600:1406:4800::/48", "35994"}, + {"2600:6c38:517::/41", "20115"}, + {"2600:6c7f:90c0::/48", "20115"}, + {"2607:f368:1004::/36", "32982"}, + {"2a03:4f40::/32", "206825"}, + {"240a:afd2::/32", "146700"}, + {"2604:eb00:201::/32", "19212"}, + {"2800:370:12::/48", "28006"}, + {"2800:4f0:500::/41", "28006"}, + {"2804:2868::/42", "263961"}, + {"2a01:af::/32", "200363"}, + {"2a02:5420:1::/48", "9053"}, + {"2a0f:6a40::/29", "29329"}, + {"2404:2480:8101::/33", "135391"}, + {"2404:a800::/45", "9498"}, + {"2a00:dd80:3a::/45", "36236"}, + {"2001:7f0:3000::/46", "60380"}, + {"2408:8459:4030::/41", "17622"}, + {"2408:8957:4000::/40", "17622"}, + {"2604:af80:1448::/36", "18859"}, + {"2606:bc00:9000::/34", "19419"}, + {"2a03:1a20::/48", "207467"}, + {"2a0a:a100::/32", "206906"}, + {"2a0d:8540::/29", "49558"}, + {"2a0e:b107:4b8::/45", "135309"}, + {"240a:a4fd::/32", "143927"}, + {"240e:3b2:1400::/38", "134773"}, + {"2600:1402:c00::/48", "35994"}, + {"2602:809:2000::/44", "398312"}, + {"2a02:4640::/32", "25542"}, + {"2a05:4740::/32", "59741"}, + {"2001:559:c3e5::/48", "7725"}, + {"2409:8a4d:e00::/30", "9808"}, + {"240a:ae22::/32", "146268"}, + {"2804:7800::/32", "271214"}, + {"2806:20d:1643::/40", "32098"}, + {"2001:678:df4::/48", "212899"}, + {"2407:c940:1103::/34", "48024"}, + {"2600:1417:1801::/34", "20940"}, + {"2a03:7020::/47", "59625"}, + {"2a0c:93c0:8000::/48", "212465"}, + {"2001:67c:2448::/48", "43065"}, + {"2001:a00::/32", "41437"}, + {"2620:101:b068::/43", "12079"}, + {"2804:1b94:900::/32", "52974"}, + {"2a04:ea40::/29", "3331"}, + {"2001:559:81db::/48", "33651"}, + {"2001:67c:1500::/48", "1257"}, + {"2400:cb80:813f::/48", "141174"}, + {"2408:8456:a40::/39", "17816"}, + {"2600:3504:c000::/31", "396998"}, + {"2605:f700:c0::/44", "18978"}, + {"2a0e:9846::/32", "52000"}, + {"2001:4c8::/35", "15290"}, + {"2607:f640:e::/32", "32354"}, + {"2803:a40::/47", "263817"}, + {"2804:404c:1012::/39", "265950"}, + {"2a01:40::/33", "5459"}, + {"2804:57a4::/32", "268077"}, + {"240a:aea3::/32", "146397"}, + {"2602:ffde::/36", "16504"}, + {"2001:678:b6c::/48", "207880"}, + {"2401:d180:10::/47", "133865"}, + {"2408:8459:8830::/41", "17622"}, + {"240a:abef::/32", "145705"}, + {"2a0f:d440::/29", "51088"}, + {"2001:12a0:a001::/36", "28292"}, + {"2804:3368::/32", "265394"}, + {"2a02:26f0:5600::/48", "34164"}, + {"2600:1012:b140::/42", "6167"}, + {"2602:ff63::/48", "19754"}, + {"2806:2f0:2402::/48", "17072"}, + {"2a0a:4944::/30", "208972"}, + {"2001:559:8619::/48", "33491"}, + {"2001:4200:38a::/37", "2018"}, + {"2400:7400:e011::/48", "23736"}, + {"2402:800:5d01::/44", "7552"}, + {"2a0b:7280:0:6::/29", "48635"}, + {"2001:1248:9850::/45", "11172"}, + {"2408:8956:9300::/40", "17816"}, + {"2600:5800:2b05::/32", "11426"}, + {"2801:14:b000::/48", "52318"}, + {"2409:8714::/33", "56044"}, + {"240e:3b1:1800::/34", "4134"}, + {"2600:9000:11db::/45", "16509"}, + {"2607:f018::/32", "36375"}, + {"2a01:666:500::/31", "48951"}, + {"2a07:a340::/32", "62217"}, + {"2401:a240::/32", "17958"}, + {"240a:adac::/32", "146150"}, + {"2600:140f:f000::/48", "9498"}, + {"2a0d:68c0::/29", "211175"}, + {"2400:dcc0:a904::/38", "38631"}, + {"2620:129:5000::/45", "393347"}, + {"2a03:f280::/29", "42306"}, + {"2a03:2940::/32", "51440"}, + {"2a07:2a00::/29", "203099"}, + {"2001:678:448::/48", "57760"}, + {"2405:6e00:a00::/35", "133612"}, + {"2408:8459:8450::/38", "17816"}, + {"240a:a68c::/32", "144326"}, + {"2603:6034::/32", "11351"}, + {"2804:4d3c:3100::/33", "267420"}, + {"2a00:6d40::/30", "31034"}, + {"2a02:e980:bf::/41", "19551"}, + {"2404:bf40:c101::/40", "139084"}, + {"2404:e801:200f::/43", "55430"}, + {"2409:896a:a800::/39", "9808"}, + {"2804:59d8:a200::/35", "268729"}, + {"2806:230:2003::/48", "11888"}, + {"2806:370:4180::/44", "28403"}, + {"2a00:1bb8::/32", "12810"}, + {"2001:1980::/39", "29838"}, + {"2402:7700::/32", "18074"}, + {"2602:fc23:11a::/48", "213045"}, + {"2602:feda:ab0::/46", "141011"}, + {"2a03:8fa0::/36", "35258"}, + {"2401:b0c0:c000::/48", "136941"}, + {"2404:e801:1008::/46", "55430"}, + {"2600:6c3b:1c::/42", "20115"}, + {"2804:878::/39", "262374"}, + {"2804:8194::/32", "272463"}, + {"2806:283:6000::/37", "265515"}, + {"2a02:d0c2:1::/48", "59793"}, + {"2c0f:f858::/46", "36947"}, + {"2001:1248:5ae8::/45", "11172"}, + {"240a:a58f::/32", "144073"}, + {"2610:a0:25::/32", "7786"}, + {"2806:230:300a::/48", "265594"}, + {"2a02:26f7:e489::/46", "20940"}, + {"2a03:c342::/32", "57324"}, + {"2a0d:f407:1003::/48", "47687"}, + {"2600:1406:ec01::/38", "20940"}, + {"2606:7040::/32", "400006"}, + {"2803:5a40::/32", "27795"}, + {"2804:46ec::/34", "267020"}, + {"2804:4c14:db01::/34", "267348"}, + {"2a07:e02:1400::/40", "210083"}, + {"2a0c:8305::/32", "61049"}, + {"2a0d:6cc0::/29", "49191"}, + {"2001:428:1003::/48", "2560"}, + {"2001:559:21c::/47", "22258"}, + {"2001:559:847f::/40", "7922"}, + {"2001:4998:1b0::/48", "10880"}, + {"2404:3d00:410a::/43", "3573"}, + {"2600:380:8a00::/39", "20057"}, + {"2620:130:3041::/48", "62861"}, + {"2804:7a8::/39", "262309"}, + {"2a09:7:2000::/48", "39220"}, + {"2001:250:680e::/47", "138373"}, + {"2606:8ac0::/32", "400164"}, + {"2a0c:b642:902::/40", "204625"}, + {"2001:468:1900::/40", "57"}, + {"2001:559:3ef::/48", "20214"}, + {"240a:aebc::/32", "146422"}, + {"240e:108:11d4::/48", "131325"}, + {"2620:0:1a10::/48", "159"}, + {"2806:230:4017::/48", "11888"}, + {"2a02:26f0:4001::/38", "20940"}, + {"2001:67c:2190::/48", "51400"}, + {"2408:84f3:4640::/36", "17816"}, + {"240a:a1e9::/32", "143139"}, + {"240a:ab1e::/32", "145496"}, + {"2001:67c:2d44::/48", "201170"}, + {"2001:1248:a462::/44", "11172"}, + {"2403:780:10::/32", "64098"}, + {"2602:260::/32", "54058"}, + {"2a04:2340::/29", "59455"}, + {"2001:fb0:1071::/48", "133761"}, + {"2804:25c0::/32", "264300"}, + {"2a00:800:441::/31", "1257"}, + {"2405:1c0:6a51::/46", "55303"}, + {"2804:848::/32", "262737"}, + {"2804:17b0::/32", "263165"}, + {"2806:370:4000::/44", "28403"}, + {"2a02:4e0:2c00::/41", "16135"}, + {"2a0c:75c0::/46", "44486"}, + {"2001:df0:7::/48", "8075"}, + {"240a:a757::/32", "144529"}, + {"2a06:d700:4444::/48", "201849"}, + {"2605:a900:f::/35", "46887"}, + {"2606:2800:11f::/42", "15133"}, + {"2a02:7200::/32", "30721"}, + {"2001:559:8250::/48", "33652"}, + {"2001:579:f138::/41", "22773"}, + {"2407:f800:201::/39", "38182"}, + {"240a:aa2f::/32", "145257"}, + {"240a:ad54::/32", "146062"}, + {"2803:2e40:10b::/32", "27796"}, + {"2804:525c::/32", "268513"}, + {"2a02:26f7:37::/48", "20940"}, + {"2a04:76c7:200::/48", "13213"}, + {"2001:559:82b5::/48", "33651"}, + {"2606:2800:422c::/48", "15133"}, + {"2a0f:4780::/29", "197706"}, + {"2c0f:f348:1601::/32", "24757"}, + {"2001:c20:c835::/48", "9255"}, + {"2406:3000:1000:100::/31", "4657"}, + {"2409:8c15:4e00::/32", "56044"}, + {"2804:5880:b000::/33", "268133"}, + {"2a02:26f7:b400::/48", "36183"}, + {"2a02:26f7:c301::/45", "20940"}, + {"2a02:2a48::/32", "43853"}, + {"2001:559:8696::/48", "7015"}, + {"240a:aa71::/32", "145323"}, + {"2804:10c8:d010::/34", "263649"}, + {"2001:559:84ac::/48", "7015"}, + {"2001:df1:f180::/48", "139771"}, + {"2402:800:f080::/42", "7552"}, + {"240a:af05::/32", "146495"}, + {"2804:83fc::/32", "272232"}, + {"2a02:26f7:a1::/48", "20940"}, + {"2603:c020:8000::/35", "31898"}, + {"2a00:b340:10::/48", "196745"}, + {"2a01:8180:3000::/36", "29063"}, + {"2a0e:b107:3f6::/47", "57883"}, + {"2001:4:112::/48", "112"}, + {"2605:a7c0:121::/44", "16509"}, + {"2801:10:e800::/48", "27951"}, + {"2804:5e6c::/32", "269032"}, + {"240e:a8:e200::/39", "140647"}, + {"2804:1430::/32", "263316"}, + {"2804:3e64::/32", "266593"}, + {"2a02:20a0::/32", "50217"}, + {"2a07:6fc0:1::/44", "34549"}, + {"2a10:cc42:110::/48", "206671"}, + {"2001:df7:1e80::/48", "138277"}, + {"2402:800:97c5::/43", "7552"}, + {"2606:1a40:1010::/44", "398962"}, + {"2804:a50::/32", "28349"}, + {"2001:df0:3780::/47", "131365"}, + {"2620:12:2001::/48", "54976"}, + {"2620:74:15::/48", "29403"}, + {"2804:3b0:9500::/33", "53062"}, + {"2804:6bb0::/32", "270417"}, + {"2a00:6e80::/32", "2119"}, + {"240a:a8aa::/32", "144868"}, + {"2804:7ec0::/32", "271645"}, + {"2a00:1ca8:78::/40", "50673"}, + {"2a00:6500::/29", "20723"}, + {"2a01:570:2::/32", "33941"}, + {"2a06:9040::/29", "13101"}, + {"2620:0:900::/48", "4185"}, + {"2804:63e0::/32", "269389"}, + {"2a04:5b81:1000::/40", "202265"}, + {"2c0f:1500:2000::/36", "328888"}, + {"2001:1af0:9020::/48", "43009"}, + {"2402:800:579b::/42", "7552"}, + {"2604:a1c0::/32", "395466"}, + {"2001:559:8714::/48", "33662"}, + {"2407:1e00:1004::/32", "45158"}, + {"2600:6c38:707::/44", "20115"}, + {"2606:6500::/28", "19331"}, + {"2607:ffd8:801::/48", "17048"}, + {"2800:160:1826::/44", "14259"}, + {"2806:2f0:72c1::/46", "17072"}, + {"2a02:970:117a::/40", "44002"}, + {"2a02:26f7:cb85::/46", "20940"}, + {"2401:800::/32", "9812"}, + {"2804:2d3c::/32", "265268"}, + {"2804:5e70::/32", "269033"}, + {"2a0d:d740:107::/48", "207675"}, + {"240a:ae40::/32", "146298"}, + {"240e:105:f500::/40", "139316"}, + {"2a01:4a60:ffbf::/48", "196939"}, + {"2001:559:129::/48", "7922"}, + {"2001:fd8:2f3::/39", "4775"}, + {"2408:8256:2d60::/44", "17623"}, + {"2804:1d4c:8040::/33", "264359"}, + {"2a02:21b2:b2ee::/48", "57370"}, + {"2001:c20:c841::/48", "3758"}, + {"2408:8957:e300::/40", "17816"}, + {"2a01:4b40:1000::/33", "21299"}, + {"2a0c:9a40:808d::/48", "201106"}, + {"2001:4d78:2200::/37", "15830"}, + {"2408:8956:ae00::/40", "17622"}, + {"240e:925:1000::/34", "4134"}, + {"2604:3dc0::/32", "394449"}, + {"2a02:26f7:d285::/46", "20940"}, + {"2001:1938:4007::/48", "33438"}, + {"2602:803:4072::/47", "398223"}, + {"2803:3640::/32", "264750"}, + {"2a02:21e8::/32", "197036"}, + {"2a02:26f7:cb10::/48", "36183"}, + {"2a09:3cc0::/29", "204326"}, + {"2401:4900:4680::/44", "45609"}, + {"240e:3bc:7a00::/32", "140313"}, + {"2800:bf0:b400::/45", "52257"}, + {"2a02:26f7:c885::/46", "20940"}, + {"2607:6004:100::/40", "12189"}, + {"2800:160:1ebd::/41", "14259"}, + {"2603:8070::/31", "10796"}, + {"2606:2800:5a48::/46", "15133"}, + {"2804:6180::/32", "269238"}, + {"2a02:26f7:c284::/48", "36183"}, + {"2a02:26f7:c381::/46", "20940"}, + {"2a0c:7e43:2e10::/48", "20473"}, + {"2a11:7a40::/29", "204790"}, + {"2400:7400:77::/32", "38044"}, + {"2406:3003:2000::/42", "55430"}, + {"2804:1e78::/32", "28658"}, + {"2a02:26f7:d44d::/42", "20940"}, + {"2c0f:f9a8::/32", "37680"}, + {"2403:4540::/32", "137991"}, + {"240a:ab35::/32", "145519"}, + {"240e:3b8:f700::/36", "4134"}, + {"2620:22:e000::/48", "64273"}, + {"2a0a:11c0::/29", "43129"}, + {"2401:d800:db70::/40", "7552"}, + {"2402:800:319b::/41", "7552"}, + {"2405:4500:e::/32", "9671"}, + {"2600:100e:a110::/35", "6167"}, + {"2604:f980:2100::/44", "19957"}, + {"2800:ba0:6::/48", "263812"}, + {"2a02:26f7:e::/48", "36183"}, + {"2a02:26f7:fac5::/46", "20940"}, + {"2a02:2e02:1f60::/40", "12479"}, + {"2a09:3345::/30", "209509"}, + {"2606:4000:300::/40", "11074"}, + {"2607:f650::/32", "32869"}, + {"2804:1b08:4000::/32", "61704"}, + {"2a02:ff00::/29", "60475"}, + {"2806:2f0:5283::/41", "17072"}, + {"2001:559:c047::/44", "7922"}, + {"2001:648:2800::/48", "5470"}, + {"2401:d800:2380::/42", "7552"}, + {"2602:fe90:602::/45", "35913"}, + {"2806:2f0:9ec1::/42", "17072"}, + {"2a07:4340::/29", "200612"}, + {"2a10:f540::/29", "15600"}, + {"2001:506:30::/48", "13830"}, + {"240a:ae16::/32", "146256"}, + {"240e:44d:2e80::/41", "4134"}, + {"2605:a000:1f00::/32", "10796"}, + {"2620:101:9008::/47", "40934"}, + {"2800:5d0:802::/32", "52302"}, + {"2803:25e0::/32", "28032"}, + {"2a02:26f7:ce01::/46", "20940"}, + {"2001:678:658::/48", "3209"}, + {"2408:8459:2e10::/41", "17623"}, + {"2605:a401:9::/48", "33363"}, + {"2804:50e4::/32", "268417"}, + {"240e:108:48::/48", "134769"}, + {"2001:559:824c::/47", "33651"}, + {"2001:67c:840::/48", "212688"}, + {"2001:da8:801f::/48", "133475"}, + {"2402:800:74a0::/41", "7552"}, + {"2408:84f3:3460::/40", "17623"}, + {"240e:108:10b0::/47", "134420"}, + {"2001:559:5ad::/48", "7725"}, + {"2001:559:8142::/48", "33491"}, + {"2001:fff::/40", "38620"}, + {"240a:a519::/32", "143955"}, + {"2605:3380:4186::/44", "12025"}, + {"2a11:b00::/29", "208959"}, + {"2001:250:c00::/44", "138374"}, + {"2001:559:c044::/48", "7725"}, + {"240a:acb9::/32", "145907"}, + {"2800:160:1f92::/45", "14259"}, + {"2806:2f0:9501::/46", "17072"}, + {"2a02:c47:4::/48", "48446"}, + {"2001:1a11:78::/48", "8781"}, + {"2402:7b40::/32", "132894"}, + {"2403:f000:100::/40", "38220"}, + {"240a:a39a::/32", "143572"}, + {"2a00:1268::/32", "39761"}, + {"2a03:71c0::/32", "29208"}, + {"2a07:59c1:201a::/45", "210770"}, + {"2a0a:e6c0::/29", "197075"}, + {"2403:7900::/32", "1851"}, + {"2600:1408:3c00::/48", "35994"}, + {"2607:fc48:810::/48", "40009"}, + {"2804:5458:1000::/34", "268644"}, + {"2a01:7a00:adac::/33", "51701"}, + {"2a0b:1306::/48", "198018"}, + {"2001:559:82f8::/48", "33667"}, + {"2001:67c:2704::/48", "47914"}, + {"2401:3ac0::/32", "133189"}, + {"240e:3b1:9200::/36", "140317"}, + {"2600:6c38:8ea::/47", "20115"}, + {"2a02:2248::/32", "12615"}, + {"2405:8340::/32", "132923"}, + {"240a:a0a7::/32", "142817"}, + {"2620:123:9000::/48", "394976"}, + {"2803:c010:7::/48", "271799"}, + {"2804:104c:c000::/40", "263629"}, + {"2806:2f0:2442::/48", "17072"}, + {"2400:1c00:1d0::/42", "45143"}, + {"2600:9000:224e::/43", "16509"}, + {"2603:d000::/24", "30600"}, + {"2001:4998:181::/43", "10310"}, + {"2408:8459:1930::/41", "17622"}, + {"240a:a96a::/32", "145060"}, + {"2605:3380:4149::/45", "12025"}, + {"2620:9f:c000::/48", "6109"}, + {"2620:118:8010::/48", "40885"}, + {"2804:151c::/32", "263371"}, + {"2401:4900:4f80::/44", "45609"}, + {"2401:d800:71f0::/38", "7552"}, + {"2600:6c10:4a::/43", "20115"}, + {"2804:28f4::/32", "263989"}, + {"2804:6720::/32", "269605"}, + {"2a01:4d0::/32", "31400"}, + {"2a07:3b80::/48", "47869"}, + {"2a0b:4340:1340::/48", "205152"}, + {"2600:140f:3401::/39", "20940"}, + {"2600:6c10:f345::/46", "20115"}, + {"2a02:26f7:d185::/46", "20940"}, + {"240a:a0ba::/32", "142836"}, + {"240a:a0c3::/32", "142845"}, + {"2a04:f7c0::/30", "201766"}, + {"2401:4900:a80::/39", "45609"}, + {"2404:7c0::/32", "138109"}, + {"240a:a104::/32", "142910"}, + {"2804:2f3c:2010::/42", "264879"}, + {"2001:218:2200::/40", "18259"}, + {"2407:4c00::/32", "38719"}, + {"240a:aefa::/32", "146484"}, + {"2604:5680::/32", "14860"}, + {"2001:559:c180::/48", "33659"}, + {"2001:da8:b00d::/46", "24371"}, + {"2001:4bf0:1::/48", "29527"}, + {"2401:4900:3f10::/41", "45609"}, + {"240e:db:9801::/34", "4134"}, + {"2001:550:800:200::/39", "174"}, + {"2001:559:4e9::/48", "33651"}, + {"2001:648:20f1::/38", "5408"}, + {"240e:3b2:2800::/38", "4134"}, + {"240e:45c:cb00::/40", "140538"}, + {"2a02:2100::/32", "39134"}, + {"2a0a:56c4:8400::/47", "42649"}, + {"2a0e:fd45:da0::/47", "60557"}, + {"2409:8907:7f20::/32", "24547"}, + {"2409:8c20:9c74::/34", "56046"}, + {"2804:7be8:c005::/44", "271462"}, + {"2001:df0:29f::/48", "58445"}, + {"2404:bf40:e701::/48", "2764"}, + {"240a:af0e::/32", "146504"}, + {"2602:ffe2:99::/48", "53334"}, + {"2606:7480::/32", "394232"}, + {"2607:8500::/32", "14987"}, + {"2001:559:8214::/48", "7015"}, + {"2001:67c:6f4::/48", "50073"}, + {"2a02:26f0:c700::/48", "9121"}, + {"2001:559:26e::/48", "7922"}, + {"2404:7cc0:7f04::/47", "10100"}, + {"2409:8d61::/30", "9808"}, + {"2801:10e::/48", "271844"}, + {"2a01:c50e:f200::/39", "12479"}, + {"2a02:26f7:d7c8::/48", "36183"}, + {"2a10:adc0::/29", "59474"}, + {"2001:da8:b1::/48", "24356"}, + {"2001:dcd:30::/48", "38796"}, + {"240a:a38d::/32", "143559"}, + {"2602:fc26:12::/48", "211562"}, + {"2602:fed2:7316::/47", "53356"}, + {"2604:2d80:c00::/38", "30036"}, + {"2620:171:e0::/43", "42"}, + {"2804:b1c::/32", "53008"}, + {"2804:44cc::/32", "267654"}, + {"2a01:664:1400::/36", "48951"}, + {"2a02:26f0:6201::/40", "20940"}, + {"2001:559:82e1::/48", "33651"}, + {"2605:3380:4189::/41", "12025"}, + {"2607:9b80::/40", "46558"}, + {"2001:559:1a4::/48", "33652"}, + {"2001:559:1dc::/47", "33659"}, + {"2402:800:5cc5::/43", "7552"}, + {"2600:1006:f140::/44", "6167"}, + {"2a0c:9a40:2a00::/40", "34927"}, + {"2a0e:e900::/29", "209994"}, + {"2001:1520:4::/46", "8972"}, + {"2804:35e0:2000::/36", "266312"}, + {"2001:44c8:4680::/44", "131445"}, + {"2001:4d50:fa00::/37", "34309"}, + {"2401:b680::/32", "59029"}, + {"2401:d800:9312::/41", "7552"}, + {"2803:d400::/32", "52384"}, + {"2804:7b88::/32", "271437"}, + {"2a02:2188:1000::/36", "48469"}, + {"2600:140f:9001::/37", "20940"}, + {"2600:6c3b:491::/45", "20115"}, + {"2604:af80:1048::/37", "18859"}, + {"2610:128::/35", "11686"}, + {"2803:9800:b505::/46", "11664"}, + {"2804:14d:3200::/40", "28573"}, + {"2804:1644:240::/39", "262903"}, + {"2a00:1af4:1001::/30", "35699"}, + {"2a00:79e0:500::/47", "395973"}, + {"2a01:40:4949::/48", "204979"}, + {"2a03:6a00::/29", "6908"}, + {"2a09:5640:1::/48", "9186"}, + {"2a0c:b641:5b3::/45", "213015"}, + {"2407:9440:72::/32", "141626"}, + {"2408:8459:de10::/42", "17623"}, + {"240e:108:46::/48", "134756"}, + {"2a01:54e0:6800::/38", "62287"}, + {"2a02:6900:8814::/48", "7160"}, + {"2a09:a200::/29", "51711"}, + {"2a0c:a080::/29", "43646"}, + {"2400:f940:13::/32", "45766"}, + {"2408:891c::/32", "4837"}, + {"2409:8028:1100::/37", "9808"}, + {"2a01:bf00::/32", "9044"}, + {"2a04:4e41:40::/44", "54113"}, + {"2a0a:2f40::/32", "5385"}, + {"2001:559:380::/48", "33659"}, + {"2401:d800:5620::/41", "7552"}, + {"2408:8459:be30::/41", "17622"}, + {"2604:880:6::/48", "29802"}, + {"2800:440:1400::/42", "27738"}, + {"2800:4b0:403f::/40", "12252"}, + {"2a03:4d47:800::/48", "199610"}, + {"2400:ec40::/32", "10214"}, + {"240a:ae54::/32", "146318"}, + {"2620:11d:2000::/40", "63154"}, + {"2804:6b64::/32", "270397"}, + {"2a04:2000::/29", "198184"}, + {"2001:559:474::/48", "33491"}, + {"2001:fd8:b240::/42", "132199"}, + {"2401:1fc0::/32", "141671"}, + {"2408:8456:8000::/42", "17622"}, + {"240a:a0a6::/32", "142816"}, + {"2605:5e00::/32", "40317"}, + {"2620:154:a10::/48", "16733"}, + {"2804:33dc::/32", "265421"}, + {"2804:3cdc::/32", "266239"}, + {"2a02:1388:3000::/33", "29247"}, + {"2a02:68e0::/32", "201896"}, + {"2403:fa00::/32", "9474"}, + {"2600:1015:b0c2::/39", "6167"}, + {"2602:fd26::/48", "14639"}, + {"2800:440:9800::/42", "27738"}, + {"2001:559:8563::/48", "33659"}, + {"2001:4b99:1::/48", "203476"}, + {"240a:ac9a::/32", "145876"}, + {"2a01:9560::/32", "62094"}, + {"2a04:e800:5020::/48", "57976"}, + {"2001:559:19c::/48", "33652"}, + {"2001:1a11:129::/48", "8781"}, + {"2407:4800:8000::/34", "45193"}, + {"240a:aceb::/32", "145957"}, + {"240e:44d:2f80::/41", "4134"}, + {"2a02:ee80:41a1::/43", "3573"}, + {"2001:1541:4110::/42", "16243"}, + {"2404:e4:119::/31", "703"}, + {"2620:125:9009::/48", "397415"}, + {"2a00:c8a0::/29", "48057"}, + {"240e:438:8a40::/37", "4134"}, + {"2600:100a:b100::/42", "6167"}, + {"2620:107:300f::/48", "16509"}, + {"2804:1b3:4001::/46", "18881"}, + {"2a02:26f7:df4d::/42", "20940"}, + {"2001:67c:28fc::/48", "48635"}, + {"2409:801a:3007::/29", "132525"}, + {"240a:a297::/32", "143313"}, + {"2607:f8b8::/32", "3043"}, + {"2800:a0::/29", "6057"}, + {"2a01:7e0:1fd::/32", "44066"}, + {"2a0c:ab07:c000::/36", "208861"}, + {"2001:4d20:8000::/33", "39290"}, + {"2600:1411:6000:1::/32", "20940"}, + {"2606:e600:ffff::/48", "11608"}, + {"2001:44b8:405a::/48", "7545"}, + {"240e:1c:b000::/36", "136190"}, + {"2600:9000:210d::/43", "16509"}, + {"2605:9880:400::/42", "23470"}, + {"2804:8210::/32", "272496"}, + {"2001:67c:2370::/48", "24681"}, + {"2400:8100::/32", "45671"}, + {"240e:3ba:7600::/39", "140313"}, + {"2604:b900:7000::/32", "11042"}, + {"2a01:c50e:cf00::/35", "12479"}, + {"2a03:2880:f05f::/42", "32934"}, + {"2804:1344::/32", "263525"}, + {"2806:20d:3218::/42", "32098"}, + {"2a03:9300::/32", "29649"}, + {"2001:930:131::/41", "15924"}, + {"2001:df5:5e80::/48", "141413"}, + {"2600:1f01:4800::/45", "16509"}, + {"2804:7d7c::/39", "271564"}, + {"2804:85bc:4000::/36", "272597"}, + {"2a0e:97c3:764::/48", "20473"}, + {"2a11:2380::/29", "60935"}, + {"2602:fcce:bae::/37", "399200"}, + {"2a0f:9400:7385::/48", "210537"}, + {"2001:559:83bc::/48", "33491"}, + {"2401:d800:7870::/40", "7552"}, + {"2803:d8a0::/32", "266812"}, + {"2804:77e0::/32", "271205"}, + {"2407:a600:a000::/36", "18004"}, + {"2620:10a:8001::/46", "27299"}, + {"2804:ddc::/32", "262387"}, + {"2804:4cec::/32", "267401"}, + {"2a00:4800:3f0::/30", "8717"}, + {"2c0f:eb50:1::/46", "328580"}, + {"2001:1998:8d0::/44", "13343"}, + {"2803:4580:8210::/44", "52468"}, + {"2a02:2050::/32", "47264"}, + {"240a:a3b7::/32", "143601"}, + {"2607:f790:fff0::/48", "62588"}, + {"2804:3918::/32", "266524"}, + {"2a03:2880:ff0d::/31", "32934"}, + {"2a04:4740:6293::/48", "25468"}, + {"2a05:de00::/29", "30835"}, + {"2405:6e00:450::/42", "18291"}, + {"2409:8914:7000::/36", "56044"}, + {"240a:a04f::/32", "142729"}, + {"240a:acc3::/32", "145917"}, + {"2600:6c38:8d2::/42", "20115"}, + {"2607:3c80::/32", "54039"}, + {"2803:af60::/32", "264637"}, + {"2001:1248:8409::/43", "11172"}, + {"2605:840::/32", "26209"}, + {"2a01:7f20::/48", "43385"}, + {"2a02:26f7:e888::/48", "36183"}, + {"2a06:b1c0::/29", "203765"}, + {"2001:4248:11::/41", "30999"}, + {"2402:e8c0::/32", "137847"}, + {"2804:2090::/32", "264498"}, + {"2a02:26f7:d48d::/42", "20940"}, + {"2a04:f840::/40", "9150"}, + {"2a07:3340::/48", "5539"}, + {"2a0f:e000::/29", "208317"}, + {"2404:bf40:a480::/48", "7545"}, + {"2409:8057:3800::/48", "9808"}, + {"2600:6c10:ffec::/43", "20115"}, + {"2603:f3f0::/29", "397165"}, + {"2404:4a00:7500:1::/36", "45629"}, + {"2620:0:5000::/48", "23431"}, + {"2a0f:5701:3200::/40", "34681"}, + {"240e:964:2b00::/40", "133775"}, + {"2602:803:4070::/48", "398223"}, + {"2606:f40:1::/48", "16509"}, + {"2401:1700:7c10::/42", "55666"}, + {"2a04:840::/43", "33182"}, + {"2a0e:b107:1110::/44", "42394"}, + {"2409:8914:b600::/39", "56044"}, + {"2600:1413:a001::/35", "20940"}, + {"2620:149:a06::/48", "6185"}, + {"2804:1458::/32", "263326"}, + {"2a02:ee80:416a::/43", "3573"}, + {"2607:f428:9410::/44", "20001"}, + {"2803:40e0::/32", "269846"}, + {"2a05:87c0::/29", "198440"}, + {"2a0b:b400::/29", "207141"}, + {"2001:250:3415::/46", "138438"}, + {"2001:df6:580::/48", "131984"}, + {"2001:df7:d000::/47", "133155"}, + {"2620:0:3b0::/48", "20452"}, + {"2806:3be::/32", "270119"}, + {"2a02:e980::/42", "19551"}, + {"2a10:5e40::/29", "8875"}, + {"2001:559:8690::/48", "7922"}, + {"2001:6d0:6d06::/48", "8985"}, + {"2402:800:9ad3::/42", "7552"}, + {"2408:8409:b400::/40", "4808"}, + {"2604:d600:15e3::/44", "32098"}, + {"2607:f000::/32", "26978"}, + {"2804:267c::/32", "264345"}, + {"2001:57a:8001::/43", "22773"}, + {"2001:4430:4f08::/35", "17853"}, + {"2408:8459:650::/36", "17816"}, + {"2607:7b80::/32", "32798"}, + {"2803:c4e0::/35", "269809"}, + {"2001:1398:16::/48", "27678"}, + {"2001:43f8:391::/48", "327775"}, + {"2408:8762::/29", "4837"}, + {"2408:8956:c300::/40", "17816"}, + {"2804:4c04::/32", "267343"}, + {"2804:8460::/32", "272257"}, + {"2a02:26f7:bb80::/48", "36183"}, + {"2600:1000:b1f0::/36", "22394"}, + {"2804:4ee4::/32", "268289"}, + {"2001:559:83ab::/48", "33650"}, + {"2600:1001:9100::/44", "6167"}, + {"2804:dd4:8100::/33", "53024"}, + {"2a01:c9c0:8030::/48", "2285"}, + {"2a07:3f80::/29", "203103"}, + {"2804:b84::/32", "52788"}, + {"2804:7c84::/33", "271501"}, + {"2806:2f0:9f81::/46", "17072"}, + {"2001:559:8276::/48", "7922"}, + {"2400:4e80:79fd::/46", "131584"}, + {"2600:370f:754a::/42", "32261"}, + {"2a06:e500::/29", "199733"}, + {"2400:f340:9::/48", "131746"}, + {"2408:8256:3661::/43", "17623"}, + {"240a:a626::/32", "144224"}, + {"240e:698:2000::/40", "4134"}, + {"2a02:b98::/32", "12897"}, + {"2c0f:eed0::/32", "328316"}, + {"240c:ca43::/32", "24363"}, + {"2610:a1:1079::/48", "397228"}, + {"2620:107:907d::/48", "22787"}, + {"2804:ee4::/32", "263557"}, + {"2804:7fa4::/32", "271700"}, + {"2a02:26f0:8b::/45", "20940"}, + {"2a04:7440::/30", "196714"}, + {"2001:df2:c000::/48", "132644"}, + {"2400:adc0:4100::/46", "9541"}, + {"2607:b80:4::/32", "30247"}, + {"2804:cb0:a001::/37", "52742"}, + {"2804:7540::/35", "271034"}, + {"2a01:358::/35", "9121"}, + {"2001:250:5817::/44", "24363"}, + {"2001:49f0:d0fa::/48", "30058"}, + {"2600:5c01:319d::/41", "10796"}, + {"2001:978:4a01::/37", "174"}, + {"2400:1f00:12::/47", "45769"}, + {"2a0a:4e00::/29", "57755"}, + {"240d:c010:88::/48", "139341"}, + {"2600:140f:3e01::/33", "20940"}, + {"2604:0:c1::/48", "40484"}, + {"2607:f180:3200::/33", "35908"}, + {"2a03:4200::/32", "5413"}, + {"2001:678:9fc::/48", "15550"}, + {"2401:7000:7003::/32", "45177"}, + {"2405:9800:9c00::/40", "38443"}, + {"2620:52:10::/48", "399140"}, + {"2804:3660::/32", "266344"}, + {"2806:2f0:3181::/46", "17072"}, + {"2a02:26f7:e84d::/46", "20940"}, + {"2a03:6660::/32", "43287"}, + {"2001:1a11:139::/46", "8781"}, + {"240e:108:1071::/44", "4134"}, + {"2600:1417:38::/48", "24319"}, + {"2607:9800::/32", "15085"}, + {"2607:f110:41::/46", "21889"}, + {"2a04:4e40:7800::/47", "54113"}, + {"2001:559:c062::/45", "7922"}, + {"2600:1406:1a00::/48", "35994"}, + {"2801:10:c800::/48", "14080"}, + {"2803:a0a0:903::/48", "269799"}, + {"2001:43f8:10a0::/48", "328268"}, + {"2801:1a:1800::/48", "19429"}, + {"2a03:dc80::/32", "42697"}, + {"2a0a:ab00::/29", "25057"}, + {"2402:800:bfc0::/42", "7552"}, + {"240a:a8cc::/32", "144902"}, + {"2606:b600:100::/48", "26527"}, + {"2804:1b3:4000::/48", "10429"}, + {"2804:4dc::/32", "262474"}, + {"2a02:2188::/48", "48469"}, + {"2a04:9300::/32", "62239"}, + {"2001:ec0:8a5::/48", "147027"}, + {"2409:8b75::/28", "9808"}, + {"2600:1417:34::/46", "20940"}, + {"2602:ffc1::/32", "36731"}, + {"2a01:c50f:3180::/42", "5511"}, + {"2a0a:d6c0:eff1::/46", "61423"}, + {"2001:7f8:80::/48", "8695"}, + {"2408:8459:c810::/42", "17623"}, + {"2409:896a:5000::/39", "9808"}, + {"2600:1012:9020::/40", "22394"}, + {"2606:b940::/32", "61138"}, + {"2800:1d0::/32", "14187"}, + {"2a04:5d80::/29", "61310"}, + {"2001:1a90::/32", "8851"}, + {"2a05:5b80::/29", "38999"}, + {"2001:678:330::/48", "3301"}, + {"2606:3840::/32", "31915"}, + {"2803:95e0::/32", "270036"}, + {"2a02:26f7:ba01::/46", "20940"}, + {"2001:559:8230::/48", "13367"}, + {"2404:e80::/32", "134697"}, + {"2406:3000:51::/35", "4657"}, + {"2409:8a54::/32", "56040"}, + {"2806:2f0:3321::/46", "17072"}, + {"2001:470:f8::/48", "64238"}, + {"2001:44b8:406d::/48", "4739"}, + {"240a:a454::/32", "143758"}, + {"240a:a4e6::/32", "143904"}, + {"2800:bf0:3b80::/48", "52257"}, + {"2001:559:c29f::/42", "33657"}, + {"2001:648:2422::/40", "5408"}, + {"2001:44b8:309d::/46", "7545"}, + {"2404:8000:1009::/46", "17451"}, + {"2404:e600::/48", "132804"}, + {"240a:a169::/32", "143011"}, + {"2604:af80:900::/37", "18859"}, + {"2001:559:4c0::/48", "33491"}, + {"2001:559:84d3::/48", "7016"}, + {"2001:4830:c000::/40", "27552"}, + {"2604:d3c0::/32", "14534"}, + {"2804:34e0:fc00::/38", "265486"}, + {"2804:3c04::/47", "266185"}, + {"2a02:26f7:bb81::/46", "20940"}, + {"2a03:5c60::/32", "201157"}, + {"2001:559:8496::/48", "33667"}, + {"240a:a49f::/32", "143833"}, + {"2600:6c4c::/32", "20115"}, + {"2804:a00:2::/45", "262838"}, + {"2a02:26f7:b9c9::/46", "20940"}, + {"2a0f:f340::/32", "208164"}, + {"2001:1a40:202::/32", "5416"}, + {"2001:4450:40::/48", "20940"}, + {"2409:803c::/40", "24444"}, + {"2001:ac8:63::/44", "9009"}, + {"2800:23:3:16::/32", "11271"}, + {"2804:2e28::/32", "265328"}, + {"2806:230:3011::/48", "11888"}, + {"2a02:26f7:dc45::/46", "20940"}, + {"2a02:2af8:403::/45", "702"}, + {"2a0f:8647:b00c::/33", "25682"}, + {"2001:18c8::/39", "8015"}, + {"2402:3a80:1080::/41", "38266"}, + {"2600:1003:f000::/44", "6167"}, + {"2620:17b:5::/48", "209"}, + {"2800:160:19d2::/44", "14259"}, + {"2804:28fc::/32", "263991"}, + {"2a00:1520::/32", "51815"}, + {"2001:559:80ad::/48", "7922"}, + {"2409:802f:2a06::/39", "56041"}, + {"240a:a40e::/32", "143688"}, + {"240a:aade::/32", "145432"}, + {"2600:380:7780::/36", "20057"}, + {"2a01:b740:a08::/48", "6185"}, + {"2a10:9800::/29", "212708"}, + {"2001:559:4d3::/48", "33657"}, + {"2001:559:821d::/48", "20214"}, + {"2001:c20:48c5::/48", "3758"}, + {"2400:dd01:3005::/43", "7497"}, + {"2602:fbf5:1::/46", "212149"}, + {"2804:3fec::/32", "265922"}, + {"2804:8248::/32", "272510"}, + {"2806:20d:100d::/39", "32098"}, + {"2001:559:215::/48", "33659"}, + {"2606:ae00:7120::/32", "7287"}, + {"2607:5700::/32", "20093"}, + {"2804:5380::/32", "268588"}, + {"2a0b:a740::/32", "25276"}, + {"2404:1a0:2012::/30", "24334"}, + {"2404:3980::/32", "134967"}, + {"2404:f4c0:1108::/48", "32167"}, + {"2800:68:1aa6::/32", "61468"}, + {"2801:1fc:2a::/48", "27951"}, + {"2804:4f34::/32", "268311"}, + {"2600:1406:7401::/36", "20940"}, + {"2605:7f40::/32", "396357"}, + {"2801:a4::/32", "262742"}, + {"2804:5258::/32", "268512"}, + {"2a00:9d20:102::/48", "395954"}, + {"2a03:2880:f21d::/46", "32934"}, + {"2001:253:102::/48", "142068"}, + {"2001:480:421::/48", "518"}, + {"2001:67c:c4::/48", "210138"}, + {"2400:cc00:8d00::/33", "17477"}, + {"240a:af99::/32", "146643"}, + {"240e:438:640::/36", "4134"}, + {"2409:8752:d00::/38", "56047"}, + {"240a:a9fe::/32", "145208"}, + {"240a:ac4d::/32", "145799"}, + {"2803:9800:a4c3::/39", "11664"}, + {"2804:5510::/32", "268687"}, + {"2804:80a0::/32", "271763"}, + {"2001:e60:1000::/44", "4766"}, + {"240a:a312::/32", "143436"}, + {"240e:b18::/25", "4134"}, + {"2602:fcf5::/36", "14058"}, + {"2620:bd:4000::/48", "398713"}, + {"2001:578:13::/45", "22773"}, + {"2001:67c:7a4::/48", "199121"}, + {"2401:d800:b10::/42", "7552"}, + {"2600:141b:d::/43", "20940"}, + {"2803:daa0::/32", "266875"}, + {"2804:4390:2020::/32", "28194"}, + {"2804:5cc0::/32", "268928"}, + {"2a0b:2540::/32", "57848"}, + {"2a0e:2900::/30", "209929"}, + {"2804:40d4::/32", "265984"}, + {"2a02:26f7:a::/48", "36183"}, + {"2a05:dfc7:31::/41", "61138"}, + {"2001:559:8151::/48", "7016"}, + {"2409:8a45:400::/28", "24445"}, + {"240a:a10d::/32", "142919"}, + {"2804:1264::/32", "263474"}, + {"2804:161c:800::/45", "263268"}, + {"2804:2df8:eecf::/35", "265315"}, + {"2620:10a:8022::/48", "394354"}, + {"2a01:14f::/32", "47443"}, + {"2a02:8d0::/32", "49413"}, + {"2a03:d000:7301::/46", "31133"}, + {"240a:a96c::/32", "145062"}, + {"2600:1406:f000::/48", "35994"}, + {"2605:b980::/32", "23376"}, + {"2402:5300:2040::/39", "45903"}, + {"2402:e7c0:1000::/32", "59078"}, + {"2602:809:3004::/48", "34553"}, + {"2602:80c:2000::/43", "399976"}, + {"2604:d500::/32", "54098"}, + {"2a03:68c0::/34", "61327"}, + {"2a10:3d00::/29", "212457"}, + {"2001:559:c227::/48", "7922"}, + {"2401:c900:1800::/40", "36351"}, + {"2610:170::/32", "11260"}, + {"2804:4164:a000::/33", "267430"}, + {"2804:7980::/32", "271309"}, + {"2a00:1288:ef6b::/40", "10310"}, + {"2a01:8ae0::/32", "51105"}, + {"2a02:a000::/26", "5432"}, + {"2a03:1840::/46", "51248"}, + {"2401:1801:821::/35", "58683"}, + {"2402:800:94ee::/43", "7552"}, + {"2a03:c300::/32", "20514"}, + {"2001:67c:194::/48", "39138"}, + {"2001:1b70:81::/48", "16086"}, + {"2401:d800:d9f0::/38", "7552"}, + {"2402:c000:2::/34", "9230"}, + {"2001:559:171::/48", "33657"}, + {"2001:6d0:ffd5::/46", "42385"}, + {"2402:3a80:1500::/38", "38266"}, + {"2402:ab00:b0::/41", "24206"}, + {"2408:84f3:2e90::/35", "17816"}, + {"2801:17e::/47", "262589"}, + {"2804:7d74::/32", "271562"}, + {"2001:559:831b::/48", "33660"}, + {"2402:9800:4004::/48", "46025"}, + {"240a:af7a::/32", "146612"}, + {"2a01:8840:a6::/44", "12041"}, + {"2401:ff00:a000::/36", "64073"}, + {"240a:ac19::/32", "145747"}, + {"2600:1409:f000::/48", "35994"}, + {"2604:86c0:f100::/38", "63023"}, + {"2804:19a0:2000::/48", "61808"}, + {"2a0b:2400::/32", "16097"}, + {"2001:ec0:400c::/48", "147027"}, + {"240a:a133::/32", "142957"}, + {"2600:5c01:3045::/39", "10796"}, + {"2804:14d:c000::/40", "28573"}, + {"2a02:26f7:fb45::/46", "20940"}, + {"2a11:7640::/29", "49655"}, + {"2001:579:a08c::/43", "22773"}, + {"2001:1248:98ad::/43", "11172"}, + {"240e:45c:5300::/40", "140529"}, + {"2600:6c20:e2a::/41", "20115"}, + {"2804:262c::/32", "264326"}, + {"2a01:358:3b12::/33", "9121"}, + {"2402:800:369b::/41", "7552"}, + {"2402:800:587f::/40", "7552"}, + {"2406:8800:60::/32", "17465"}, + {"2409:8020:1061::/43", "56046"}, + {"2c0f:f850:dc06::/34", "327979"}, + {"240a:a651::/32", "144267"}, + {"240a:a8a4::/32", "144862"}, + {"2a02:23e9::/32", "49509"}, + {"2a03:77e0:4401::/48", "48305"}, + {"2a11:9280::/29", "204790"}, + {"2602:fcff:18::/47", "38041"}, + {"2804:13ac::/32", "263545"}, + {"2804:17bc::/32", "52739"}, + {"2001:43f0::/32", "37183"}, + {"2409:8057:3019::/48", "56040"}, + {"2806:1010:d000::/34", "8151"}, + {"2a04:f580:9020::/48", "4809"}, + {"2a12:3a00::/29", "204790"}, + {"2001:559:8013::/48", "7016"}, + {"2408:8459:6430::/41", "17622"}, + {"2600:8807:1f42::/42", "22773"}, + {"2803:ae10::/32", "271969"}, + {"2804:e68::/32", "262953"}, + {"2a0a:2ec0::/29", "201050"}, + {"2a10:ad40::/29", "211656"}, + {"240e:44d:7800::/42", "140345"}, + {"2606:2800:e::/47", "15133"}, + {"2801:0:480::/48", "27817"}, + {"2803:8180::/47", "263237"}, + {"2804:1b7c::/32", "61731"}, + {"2a0c:1d00:15::/32", "39614"}, + {"2001:559:8153::/48", "33287"}, + {"2001:4220:8013::/45", "24835"}, + {"2602:fd37::/46", "398493"}, + {"2607:f148:103::/48", "11734"}, + {"2804:680:1000::/32", "262589"}, + {"2804:3d1c::/32", "266254"}, + {"2a0f:4800::/29", "50064"}, + {"2402:800:94a9::/43", "7552"}, + {"2600:1408:1000::/48", "35994"}, + {"2a00:11c0:d::/42", "42473"}, + {"2001:57a:50f::/48", "33438"}, + {"2001:978:4701::/36", "174"}, + {"2001:fd8:31f0::/38", "4775"}, + {"2001:1900:2019::/45", "3356"}, + {"2a0f:c500::/29", "201299"}, + {"2a11:5380::/29", "56485"}, + {"2001:a17::/32", "204679"}, + {"2408:840d:d00::/42", "17621"}, + {"2804:80e4::/32", "272419"}, + {"2a02:2680::/32", "51675"}, + {"2607:7000:a100::/33", "25905"}, + {"2803:9800:94c3::/39", "11664"}, + {"2001:fd8:371::/40", "4775"}, + {"2408:845c::/31", "4837"}, + {"2806:230:3003::/48", "11888"}, + {"2400:c500:100::/38", "17434"}, + {"240a:afde::/32", "146712"}, + {"2804:5bdc::/46", "268873"}, + {"2a0f:9700::/29", "208386"}, + {"2401:bd00:b001::/46", "38636"}, + {"2404:a1c0::/32", "55699"}, + {"2602:feb4:290::/44", "25961"}, + {"2804:20a4::/32", "264503"}, + {"2a01:7080:15::/46", "42848"}, + {"2a02:e180::/46", "15135"}, + {"2a09:59c0::/29", "63023"}, + {"2a00:fea0::/32", "60592"}, + {"2a0a:1ec0::/31", "205790"}, + {"2a0d:3842:1290::/48", "57629"}, + {"2605:a40e:2::/45", "33363"}, + {"2608:121::/48", "5376"}, + {"2a02:26f7:e600::/48", "36183"}, + {"2a0a:5680::/29", "35048"}, + {"2a11:d6c0::/29", "49189"}, + {"2a00:d280::/48", "43919"}, + {"2001:559:c420::/47", "7016"}, + {"2401:4100::/32", "9387"}, + {"2409:8078:1900::/34", "9808"}, + {"2604:7500::/32", "6368"}, + {"2605:5b40::/32", "36363"}, + {"2804:14d:8a00::/40", "28573"}, + {"2804:5234::/32", "268502"}, + {"2806:2f0:3060::/40", "17072"}, + {"2001:5a0:3b06::/37", "6453"}, + {"2402:c480:8000::/47", "63916"}, + {"2620:149:a09::/46", "6185"}, + {"2a01:548::/32", "9113"}, + {"2a02:c08::/32", "21050"}, + {"2c0f:ef68::/46", "37662"}, + {"2001:cf8::/45", "9619"}, + {"2600:1417:c801::/37", "20940"}, + {"2604:b2c0:d00::/40", "7018"}, + {"2803:2540:ae::/32", "264668"}, + {"2a01:6640::/29", "204790"}, + {"2a02:26f7:c8d5::/46", "20940"}, + {"2a0d:95c0::/29", "42375"}, + {"2404:4a00:5542:4::/54", "55423"}, + {"240a:a89d::/32", "144855"}, + {"2600:1417:1b::/45", "20940"}, + {"2607:f110:9::/43", "21889"}, + {"2607:f578::/32", "14263"}, + {"2804:16c0::/32", "61914"}, + {"2a10:9100:8::/48", "49453"}, + {"2409:8c15:9800::/30", "56044"}, + {"2607:9280:1::/48", "395502"}, + {"2804:4da0::/32", "268209"}, + {"240a:abc9::/32", "145667"}, + {"2604:2f80::/32", "26523"}, + {"2a00:1100::/29", "51483"}, + {"2a00:17cf::/32", "12511"}, + {"2a04:cb40::/29", "41552"}, + {"2a05:bec0::/42", "197071"}, + {"2001:559:84f3::/45", "33659"}, + {"2001:b28:a70d:1::/33", "42065"}, + {"2001:1900:201f::/39", "3356"}, + {"2400:cb00:500::/48", "13335"}, + {"2402:800:74c2::/39", "7552"}, + {"2403:8940:5::/44", "135817"}, + {"2a02:2650::/32", "41302"}, + {"2a0e:b107:230::/48", "209419"}, + {"2803:d100:e700::/41", "52362"}, + {"2804:3de4::/32", "266560"}, + {"2a09:3a00:2000::/48", "200299"}, + {"240e:3b1:6400::/35", "140312"}, + {"2606:2800:2aa::/45", "14153"}, + {"2804:5ba8:4000::/32", "268861"}, + {"2a01:5b0:3::/48", "8391"}, + {"2001:579:f034::/44", "22773"}, + {"2804:94::/32", "53081"}, + {"2804:5318::/32", "268563"}, + {"2001:579:5084::/41", "22773"}, + {"2001:da8:b000::/44", "24371"}, + {"2401:4900:3af0::/48", "45609"}, + {"240e:979:9600::/30", "4134"}, + {"2801:80:140c::/48", "11097"}, + {"2804:2598::/32", "264290"}, + {"2a04:e640::/29", "34241"}, + {"2402:800:7580::/42", "7552"}, + {"2409:8087:1e00::/39", "24400"}, + {"2a02:26f7:c9c4::/48", "36183"}, + {"2a04:f580:9080::/48", "4809"}, + {"2001:559:3::/48", "7922"}, + {"2404:f4c0:1000::/40", "17920"}, + {"2804:57e0::/32", "268092"}, + {"2001:250:401::/44", "24352"}, + {"2001:559:84fc::/47", "33651"}, + {"2600:100d:f100::/44", "6167"}, + {"2602:107:2210::/48", "20115"}, + {"2804:3774:2300::/37", "266416"}, + {"2a00:ec0::/32", "20634"}, + {"2001:4350:3001::/48", "5438"}, + {"2620:a4:2050::/48", "394592"}, + {"2a0d:5600:1::/44", "9009"}, + {"2001:678:560::/48", "49225"}, + {"2401:803e:4025::/31", "9919"}, + {"2404:1640::/32", "138494"}, + {"240a:a685::/32", "144319"}, + {"2804:784::/32", "262653"}, + {"2a02:1c8:5::/48", "47775"}, + {"2a0b:4340:30::/44", "41979"}, + {"2a10:b5c0::/29", "211668"}, + {"2001:57a:c204::/42", "22773"}, + {"240e:3ba:6400::/35", "140312"}, + {"2001:4e0::/35", "2381"}, + {"2001:579:d244::/42", "22773"}, + {"2001:4868:209::/42", "701"}, + {"2405:d6c0::/32", "132369"}, + {"240a:a28e::/32", "143304"}, + {"240a:a865::/32", "144799"}, + {"240e:980:9b00::/40", "134761"}, + {"2607:fdf0:5e98::/45", "8008"}, + {"2804:ff0::/32", "263609"}, + {"2402:c480:6000::/46", "63916"}, + {"2a02:88d:8200::/44", "48695"}, + {"2a07:4680::/32", "200697"}, + {"2001:559:8722::/47", "33657"}, + {"2001:559:c3ce::/48", "20214"}, + {"2001:67c:424::/48", "8220"}, + {"240e:f7:1000::/36", "4134"}, + {"2602:ffe2:100::/48", "53334"}, + {"2620:13a:b003::/48", "54344"}, + {"2804:3004::/32", "264926"}, + {"2a01:3e0:d02::/32", "6453"}, + {"2a02:26f0:11b::/48", "34164"}, + {"2a02:26f7:e440::/48", "36183"}, + {"2a02:26f7:f8cd::/46", "20940"}, + {"2600:100f:f010::/40", "22394"}, + {"2a02:2518::/43", "28917"}, + {"2a02:ac40::/29", "25459"}, + {"2a0a:d6c0:efef::/48", "61423"}, + {"2620:108:9001::/48", "12159"}, + {"2a01:8840:e9::/48", "207266"}, + {"2a0d:b201:e030::/41", "206026"}, + {"2001:559:32b::/45", "7922"}, + {"2402:5300:610::/39", "45903"}, + {"240e:45c:8300::/40", "140533"}, + {"2607:fb10:7142::/47", "2906"}, + {"2a02:26f7:cc40::/48", "36183"}, + {"2a02:e982:31::/48", "62571"}, + {"2001:559:759::/48", "7015"}, + {"2001:678:3dc::/48", "39508"}, + {"2408:8956:8f00::/40", "17816"}, + {"2409:8735::/28", "9808"}, + {"2600:8800::/30", "22773"}, + {"2606:6c00:4000::/48", "32787"}, + {"2620:0:840::/48", "13998"}, + {"2a0f:3c40::/29", "3175"}, + {"2001:7be:1::/31", "12859"}, + {"2409:8070:1900::/34", "9808"}, + {"2804:4b04::/32", "267278"}, + {"2a04:b240::/29", "8680"}, + {"240a:a724::/32", "144478"}, + {"2804:2050:1abd::/34", "264485"}, + {"2804:5da8::/32", "268985"}, + {"2806:2f0:7181::/46", "17072"}, + {"2001:579:b05::/37", "22773"}, + {"2001:67c:17dc::/48", "1257"}, + {"2001:df4:a900::/48", "137327"}, + {"2408:8256:337a::/45", "17623"}, + {"240e:3b7:d000::/36", "134772"}, + {"2605:9780:30::/48", "393544"}, + {"2804:3568::/32", "266284"}, + {"2804:4924:10::/32", "267167"}, + {"2001:678:ba4::/48", "207824"}, + {"240c:ca44::/30", "23910"}, + {"2620:107:6000:1146::/53", "6462"}, + {"2800:bf0:800f::/43", "52257"}, + {"2a10:dd40::/29", "34907"}, + {"2001:579:701c::/42", "22773"}, + {"2407:61c0::/32", "131986"}, + {"2408:8957:cd40::/40", "17816"}, + {"240a:a74b::/32", "144517"}, + {"240a:a816::/32", "144720"}, + {"240c:ca18::/31", "24363"}, + {"2603:c001:3e20::/33", "31898"}, + {"2804:7d94::/32", "271570"}, + {"2806:230:1034::/48", "265594"}, + {"2a03:53c0::/32", "197495"}, + {"2a0c:b641:160::/48", "211139"}, + {"2001:df6:1680::/48", "140786"}, + {"2406:19c0::/32", "140659"}, + {"240e:44d:6a80::/41", "4134"}, + {"2806:2f0:8121::/46", "17072"}, + {"2a0d:5c00::/32", "21396"}, + {"2610:d0::/32", "3943"}, + {"2804:4e10::/32", "268237"}, + {"2a03:2960:200::/32", "201590"}, + {"2001:67c:2458::/48", "2119"}, + {"2001:ed8::/32", "18422"}, + {"2001:43f8:6e0::/48", "37354"}, + {"2001:4488:fb62::/37", "7713"}, + {"2a02:f700::/29", "12812"}, + {"2620:34:a000::/48", "62947"}, + {"2620:106:6008::/48", "377"}, + {"2800:98:1710::/36", "14754"}, + {"2800:9a0:2100::/35", "14522"}, + {"2804:11c::/32", "28357"}, + {"2804:f7c::/32", "262715"}, + {"2407:ff00::/32", "45884"}, + {"2408:8256:376b::/48", "17816"}, + {"2800:bf0:802a::/48", "27947"}, + {"2804:60fc::/32", "269204"}, + {"2a01:48c0::/32", "34960"}, + {"2a09:bac0:160::/48", "13335"}, + {"2001:1520:7::/44", "8972"}, + {"2400:7400:e020::/48", "38044"}, + {"2600:1003:b8e0::/33", "22394"}, + {"2600:1010:fe00::/44", "6167"}, + {"2800:110:2800::/48", "27875"}, + {"2800:484:ef00::/35", "14080"}, + {"2804:27c0::/32", "263920"}, + {"2804:5494::/32", "268659"}, + {"2001:67c:1250::/48", "49697"}, + {"2405:2300:ff09::/41", "13443"}, + {"2408:825c::/31", "4837"}, + {"2800:160:1cff::/39", "14259"}, + {"240a:aab5::/32", "145391"}, + {"2605:3380:4145::/46", "12025"}, + {"2606:a600:9::/33", "23005"}, + {"2001:c20:c818::/42", "3758"}, + {"2401:8140::/32", "133736"}, + {"2403:bc00:1::/48", "45668"}, + {"2001:559:24b::/45", "33491"}, + {"240a:a186::/32", "143040"}, + {"2600:3505:8000::/33", "396998"}, + {"2607:2f00::/43", "12025"}, + {"2607:f598:f002::/36", "32329"}, + {"2a07:4ec0::/29", "5606"}, + {"2404:f100:e000::/38", "17483"}, + {"2606:4240::/32", "399513"}, + {"2620:40:a000::/48", "54495"}, + {"2804:548::/39", "53005"}, + {"2a04:4e42:3d::/41", "54113"}, + {"2001:fd8:3f1::/44", "4775"}, + {"2607:ed80::/32", "395785"}, + {"2a01:4e0::/29", "24651"}, + {"2402:800:322b::/41", "7552"}, + {"240a:a3a7::/32", "143585"}, + {"2400:9380:9ec0::/44", "136167"}, + {"2001:67c:10dc::/48", "199215"}, + {"2001:4478:1310:2000::/47", "4802"}, + {"2402:800:981d::/41", "7552"}, + {"2404:4340::/47", "133275"}, + {"2606:6680:30::/48", "12129"}, + {"2001:12f0:b3f::/48", "1916"}, + {"2403:6ec0::/32", "131247"}, + {"2a03:f80:389::/48", "25467"}, + {"2a0e:aa00:120::/45", "41378"}, + {"2001:500:d0::/47", "12041"}, + {"2401:24c0::/32", "37897"}, + {"2620:1ec:12::/47", "8068"}, + {"2001:559:850f::/48", "7922"}, + {"2402:f080:a::/45", "38150"}, + {"2800:960::/32", "27768"}, + {"2600:100f:9110::/36", "22394"}, + {"2001:559:8241::/48", "7922"}, + {"2402:1440:30::/48", "132168"}, + {"2800:4b0:8401::/36", "12252"}, + {"2804:6164:8000::/34", "262424"}, + {"2806:230:1024::/48", "265594"}, + {"2a02:26f7:e3cd::/42", "20940"}, + {"2600:1417:2001::/36", "20940"}, + {"2804:3374::/32", "265397"}, + {"2a02:26f7:b780::/48", "36183"}, + {"2a02:6680:1130::/44", "16116"}, + {"2a07:e040::/32", "211895"}, + {"2801:0:140::/48", "52314"}, + {"2a03:2887:ff43::/45", "63293"}, + {"2001:559:c2ab::/48", "7725"}, + {"2607:9e00:1002::/34", "30536"}, + {"2804:374::/32", "262844"}, + {"2a02:568:fe03::/39", "8763"}, + {"2a0c:b9c0::/32", "202448"}, + {"2001:67c:2af4::/48", "8562"}, + {"2401:d800:fc02::/42", "7552"}, + {"2806:2f0:20e1::/48", "22884"}, + {"2a02:26f7:d8c1::/46", "20940"}, + {"2a0a:a600::/29", "61317"}, + {"2a0c:e642:32::/41", "211323"}, + {"2001:da8:b803::/45", "24372"}, + {"2402:d000:7001::/32", "9329"}, + {"2a00:1b68::/32", "43226"}, + {"2a02:888:4050::/48", "48695"}, + {"2a03:720:5::/44", "57073"}, + {"2001:dc7:1000::/48", "24409"}, + {"2406:cbc0::/48", "135901"}, + {"2408:876c::/27", "4837"}, + {"2605:6440:3005::/33", "396356"}, + {"2620:ff:c000::/48", "64238"}, + {"2620:11b:e0bd::/41", "3356"}, + {"2800:160:1d7d::/40", "14259"}, + {"2804:2e1c:e681::/39", "265324"}, + {"2408:823c::/31", "4837"}, + {"2408:8772::/29", "4837"}, + {"2001:400:14:3::/38", "293"}, + {"2001:44c8:4870::/44", "131445"}, + {"2402:cf80:100::/44", "62597"}, + {"2408:8656:30f6::/44", "17623"}, + {"2409:8904:60b0::/38", "24547"}, + {"2409:8c1e::/34", "9808"}, + {"2800:160:11f9::/38", "14259"}, + {"2804:418::/32", "262415"}, + {"2804:6fc:1b::/42", "28158"}, + {"2001:b18:1000::/47", "47787"}, + {"2001:4c20::/32", "29636"}, + {"2804:bec::/32", "263018"}, + {"2001:418:1401:70::/63", "20940"}, + {"2001:559:8371::/45", "33287"}, + {"2404:e400::/44", "45345"}, + {"2408:8000:9ffd::/48", "140979"}, + {"2606:3340::/32", "399414"}, + {"2620:11b:e000::/43", "3356"}, + {"2a00:6901:e005::/48", "20926"}, + {"2001:67c:2e80::/48", "20712"}, + {"2603:60bd::/32", "11426"}, + {"2620:12d:400e::/47", "53988"}, + {"2804:17cc:4140::/32", "263252"}, + {"2001:67c:560::/48", "8949"}, + {"2001:1250:3000::/44", "22894"}, + {"2600:6c21:23c::/37", "20115"}, + {"2605:6ac0:1000::/36", "13789"}, + {"2806:2f0:1061::/48", "17072"}, + {"2001:559:795::/48", "33287"}, + {"2001:49f0:d0c1::/44", "174"}, + {"2405:c0:30::/48", "138881"}, + {"2409:8000::/40", "56048"}, + {"240a:a26f::/32", "143273"}, + {"2600:1408:f000::/48", "35994"}, + {"2806:240::/32", "14178"}, + {"2405:d3c0::/32", "133164"}, + {"240a:a45e::/32", "143768"}, + {"2600:370f:3541::/45", "32261"}, + {"2602:fd66::/36", "14756"}, + {"2804:204:24f::/43", "28186"}, + {"240e:438:4440::/38", "4134"}, + {"2a01:5700::/32", "209041"}, + {"2001:559:481::/48", "33287"}, + {"2404:7a40:1002::/48", "132556"}, + {"2406:2000:a9::/41", "10310"}, + {"240b:4007:fffe::/47", "45102"}, + {"2600:6c10:e50::/32", "20115"}, + {"2620:10c:c01c::/48", "6071"}, + {"2406:e001:6800::/35", "23655"}, + {"240a:a47c::/32", "143798"}, + {"240e:108:94::/46", "4134"}, + {"2600:380:ec80::/41", "20057"}, + {"2a01:c50f:8040::/35", "12479"}, + {"2c0f:f470::/32", "37640"}, + {"2001:fd8:ff00::/40", "132199"}, + {"2402:3800::/32", "7503"}, + {"2600:6c38:78::/47", "20115"}, + {"2602:fd12::/48", "16509"}, + {"2602:fed2:7060::/44", "53356"}, + {"2607:ae80:4::/47", "26558"}, + {"2607:fcc8:6000::/32", "10796"}, + {"2801:80:1ae0::/48", "266365"}, + {"2806:10ae:17::/48", "8151"}, + {"2407:1400:2::/45", "23752"}, + {"2600:6c38:13::/44", "20115"}, + {"2801:13:8800::/48", "269758"}, + {"2804:4d34::/32", "267418"}, + {"2001:559:87d8::/47", "7015"}, + {"2403:6200::/33", "45629"}, + {"2409:896a:4e00::/39", "9808"}, + {"240e:108:11b1::/48", "136190"}, + {"2a09:4b40::/29", "61317"}, + {"2001:250:6c3f::/41", "138370"}, + {"2607:3c00:6414::/47", "26380"}, + {"2608:121:1::/44", "721"}, + {"2a02:26f7:c8d1::/46", "20940"}, + {"2a03:5640:f506::/48", "2906"}, + {"2a04:1c40::/30", "201035"}, + {"2406:e5c0::/32", "4782"}, + {"240f::/23", "2516"}, + {"2801:1fc:1e::/48", "27951"}, + {"2a01:ce82:4000::/32", "51964"}, + {"2a0d:2d41::/32", "209419"}, + {"2a0e:3080::/29", "208921"}, + {"2a0e:b107:16b0::/44", "58336"}, + {"2a11:6c0:caff::/29", "211083"}, + {"2c0f:f000:500::/38", "36891"}, + {"2801:19:e800::/48", "267777"}, + {"2001:678:bc0::/48", "41064"}, + {"2001:44b8:6067::/48", "4739"}, + {"2620:0:2e50::/44", "15088"}, + {"2620:128:1008::/48", "53620"}, + {"2800:160:12dd::/42", "14259"}, + {"2a0e:b107:17fe::/47", "142553"}, + {"2001:559:8123::/48", "33287"}, + {"2600:1417:6801::/35", "20940"}, + {"2620:0:870::/48", "3856"}, + {"2a05:1cc0::/29", "201601"}, + {"2001:67c:460::/48", "15542"}, + {"2605:2340::/32", "393898"}, + {"2804:2e0c:2001::/32", "263019"}, + {"2804:67ac:8::/43", "269643"}, + {"2806:20d:505a::/42", "32098"}, + {"2001:559:c26d::/46", "7922"}, + {"2409:8002:900::/37", "9808"}, + {"240a:a7af::/32", "144617"}, + {"2600:370f:6068::/40", "32261"}, + {"2606:2800:747::/48", "15133"}, + {"2804:13b0:6c00::/43", "263546"}, + {"2a00:fd40:3::/48", "201924"}, + {"2001:559:1c3::/48", "33659"}, + {"2001:4546:1003::/48", "20940"}, + {"2603:c010:a000::/36", "31898"}, + {"2804:49c:31::/48", "7162"}, + {"2001:3a0:f006::/48", "38644"}, + {"2001:5f8:7f0e::/32", "5056"}, + {"2409:8a7d::/30", "9808"}, + {"2a00:1188:d::/46", "8455"}, + {"2a02:e28::/32", "41696"}, + {"2a02:26f7:ba40::/48", "36183"}, + {"2408:840c:9e00::/40", "17621"}, + {"2001:df7:6300::/48", "132772"}, + {"240e:983:1e02::/48", "134763"}, + {"2804:1e3c::/32", "264416"}, + {"2605:7040::/48", "46176"}, + {"2804:8054:1000::/40", "271744"}, + {"2a0c:b641:92::/48", "210103"}, + {"2408:8957:b900::/40", "17816"}, + {"2605:a401:8df7::/38", "33363"}, + {"2804:51dc::/32", "268481"}, + {"2001:df7:d200::/48", "136179"}, + {"2400:9380:92a0::/47", "4809"}, + {"2404:cf00::/36", "38511"}, + {"240a:a99b::/32", "145109"}, + {"2a01:6420::/29", "62193"}, + {"2001:559:516::/48", "33489"}, + {"2001:57a:aa02::/44", "22773"}, + {"2001:fd8:b2f0::/44", "4775"}, + {"2404:59c0::/34", "58507"}, + {"2408:8459:2010::/42", "17623"}, + {"2801:1c:a800::/48", "19429"}, + {"2804:7568::/32", "271044"}, + {"2a0e:6b80::/29", "202709"}, + {"2a0f:7b40::/29", "21227"}, + {"2001:559:3f2::/47", "7015"}, + {"2001:579:e138::/40", "22773"}, + {"2409:805f:900::/35", "9808"}, + {"240e:3bc:f700::/36", "4134"}, + {"2600:1fa0:20c0::/44", "8987"}, + {"2806:2f0:45e3::/38", "17072"}, + {"2408:8459:cc50::/39", "17816"}, + {"240e:267:2400::/36", "4134"}, + {"2a02:28::/47", "8359"}, + {"2001:559:c4e4::/47", "33491"}, + {"2a05:7c0::/32", "34156"}, + {"240a:a451::/32", "143755"}, + {"2804:399c:e006::/35", "266039"}, + {"2a02:46e0:facf::/37", "60049"}, + {"2001:559:c33d::/48", "7016"}, + {"2001:590:1007::/34", "3257"}, + {"2402:1840::/32", "45355"}, + {"240e:44d:2b00::/42", "140345"}, + {"2600:1003:b4d0::/44", "6167"}, + {"2600:6c38:a1d::/42", "20115"}, + {"2804:7abc::/32", "271389"}, + {"2a00:e760::/32", "8368"}, + {"2001:250:3405::/44", "138393"}, + {"2404:3d00:4142::/47", "3573"}, + {"2a02:26f7:ce85::/46", "20940"}, + {"2a04:f180::/29", "42695"}, + {"2a0e:3780:8150::/48", "206059"}, + {"2a0f:5701:3520::/48", "205593"}, + {"2606:2680:b000::/48", "7138"}, + {"2a12:da00::/29", "1239"}, + {"2001:4408:7300::/37", "4758"}, + {"2405:201:e800::/35", "55836"}, + {"2408:840c:8600::/40", "17621"}, + {"240e:964:2800::/38", "133776"}, + {"2606:2800:60f7::/44", "15133"}, + {"2001:67c:1bf4::/48", "58010"}, + {"2001:c20:4891::/45", "9255"}, + {"2605:a7c0:151::/44", "16509"}, + {"2400:f8c0::/32", "135517"}, + {"2409:803c:800::/40", "24444"}, + {"2607:f7a8::/39", "21687"}, + {"2408:8459:c610::/42", "17623"}, + {"240a:ac29::/32", "145763"}, + {"240a:ad74::/32", "146094"}, + {"2602:ffd1::/48", "393336"}, + {"2001:4428::/32", "18119"}, + {"2405:5340::/32", "63781"}, + {"240a:a75d::/32", "144535"}, + {"2604:6600:6::/42", "40676"}, + {"2a02:26f0::/48", "20940"}, + {"2001:559:82cd::/48", "7725"}, + {"2804:3bb0::/32", "266165"}, + {"2806:2f0:33a3::/41", "17072"}, + {"2001:c20:48a3::/48", "3758"}, + {"2001:559:557::/48", "33491"}, + {"2001:559:c174::/48", "21508"}, + {"2405:f280:2::/43", "131464"}, + {"240a:ac18::/32", "145746"}, + {"2804:6070::/32", "269167"}, + {"2a07:4140::/29", "50084"}, + {"2001:559:bc::/48", "33652"}, + {"2804:8444::/32", "272250"}, + {"240e:3b8:2800::/38", "4134"}, + {"2606:ed00:7::/32", "47869"}, + {"2804:1ec::/32", "53127"}, + {"2001:559:8310::/48", "7016"}, + {"2001:fd0:2100::/38", "10029"}, + {"2001:1388:3686::/36", "6147"}, + {"240e:d0::/33", "140329"}, + {"2806:2f0:1083::/43", "17072"}, + {"2a0c:e640:9::/42", "211876"}, + {"2001:559:c16a::/48", "22909"}, + {"2804:45c8:2::/32", "266949"}, + {"2a0c:9a40:1097::/48", "34927"}, + {"2001:1a11:6f::/43", "42298"}, + {"2a02:b48:4100::/34", "3491"}, + {"2a0e:aa00:311::/48", "41378"}, + {"2a0f:1c0::/29", "60262"}, + {"2804:2114::/32", "264531"}, + {"2a06:b500:2010::/44", "211768"}, + {"2001:559:30d::/48", "33657"}, + {"2a06:a006:2000::/32", "61138"}, + {"2001:fd8:303e::/47", "132199"}, + {"240a:af35::/32", "146543"}, + {"2603:c010:8000::/36", "31898"}, + {"2804:3178::/32", "265017"}, + {"2a0c:9a40:8a00::/48", "213234"}, + {"2001:559:83ce::/48", "33659"}, + {"240a:a99d::/32", "145111"}, + {"240a:a9ee::/32", "145192"}, + {"2800:110:1019::/45", "4270"}, + {"2001:500:13::/48", "393225"}, + {"2604:2d80:8000::/36", "30036"}, + {"2804:14c:65c5::/46", "28573"}, + {"2804:6014:8000::/33", "269144"}, + {"2a02:2e0:cd4f::/29", "12306"}, + {"2a02:26f7:6::/48", "36183"}, + {"2804:1010::/34", "263617"}, + {"2a03:5380::/32", "34612"}, + {"2001:67c:29bc::/48", "207439"}, + {"2600:40ff:ff92::/41", "701"}, + {"2804:ce8::/32", "52574"}, + {"2a02:26f7:f585::/46", "20940"}, + {"2a06:9680:44::/32", "31293"}, + {"2001:67c:518::/48", "206138"}, + {"2401:b8c0:d::/48", "141731"}, + {"2405:6e00:f850::/48", "133612"}, + {"2620:11a:e00e::/48", "22300"}, + {"2804:30f8:80b::/38", "264984"}, + {"2a01:53c0:ffcf::/43", "54994"}, + {"2401:d800:2a70::/40", "7552"}, + {"2402:800:57c5::/43", "7552"}, + {"2405:9800:50::/44", "131445"}, + {"240a:a1a8::/32", "143074"}, + {"2800:160:1c82::/43", "14259"}, + {"2a02:e980:30::/40", "19551"}, + {"2600:1417:a801::/35", "20940"}, + {"2a0a:af80::/29", "24867"}, + {"2402:800:92a9::/43", "7552"}, + {"2404:1c40:4d::/48", "24432"}, + {"2409:8a28:4600::/32", "56041"}, + {"2800:160:1bc9::/43", "14259"}, + {"2804:18e0::/32", "262698"}, + {"2806:102e:15::/44", "8151"}, + {"2001:559:c329::/48", "33659"}, + {"2408:840d:5d00::/42", "17621"}, + {"240e:1e:4000::/36", "140313"}, + {"2001:559:437::/48", "33287"}, + {"2401:d800:f6a0::/41", "7552"}, + {"2408:8256:32a0::/39", "17816"}, + {"2607:1280:11d0::/44", "394972"}, + {"2804:998:2::/43", "28589"}, + {"2a0d:f302::/32", "40994"}, + {"2400:cb00:a9a0::/46", "13335"}, + {"2406:3400:5d::/42", "10143"}, + {"2409:896a:3600::/39", "9808"}, + {"2a05:e840::/29", "34622"}, + {"2a0b:5d40::/29", "6761"}, + {"2c0f:f670::/32", "37532"}, + {"2600:6c38:616::/44", "20115"}, + {"2804:4fac::/32", "268342"}, + {"2806:2f0:4301::/42", "17072"}, + {"2001:4878:2158::/48", "12222"}, + {"2001:4878:c270::/47", "34164"}, + {"240e:3ba:2800::/38", "4134"}, + {"2804:4024:fff0::/44", "265937"}, + {"2001:250:702e::/48", "24370"}, + {"2401:c900:2700::/36", "36351"}, + {"2402:9900:b11::/48", "27435"}, + {"2409:8c30::/41", "9808"}, + {"2602:fcf6:ff9::/48", "212577"}, + {"2620:128:1000::/48", "53620"}, + {"2800:68:15::/48", "52343"}, + {"2804:514c::/32", "268444"}, + {"2001:dce:9501::/33", "23869"}, + {"2001:fd8:400::/38", "132199"}, + {"240a:a4c4::/32", "143870"}, + {"2600:1406:4601::/39", "20940"}, + {"2600:6c38:e33::/44", "20115"}, + {"2602:ffe4::/46", "21859"}, + {"2605:2800::/40", "6922"}, + {"2a01:c8c0::/28", "25454"}, + {"2600:1415:3001::/37", "20940"}, + {"2a00:1298::/32", "5578"}, + {"2603:c002:e10::/35", "31898"}, + {"2606:4640::/32", "399521"}, + {"2804:4488:5010::/44", "262480"}, + {"2a02:26f7:a4::/48", "36183"}, + {"2001:400:8815::/44", "293"}, + {"2001:550:4603::/39", "174"}, + {"2001:559:5f9::/48", "33491"}, + {"2001:b200::/37", "9505"}, + {"2408:8459:5850::/38", "17816"}, + {"2600:6c3a:11::/44", "20115"}, + {"2602:803:1::/48", "5769"}, + {"2800:bf0:14c::/47", "52257"}, + {"2804:73e0::/32", "270943"}, + {"2a0e:a880:1000::/36", "209043"}, + {"2607:f3a0:a000::/48", "399808"}, + {"2a00:1358:f100::/30", "6866"}, + {"2001:579:c5c0::/38", "22773"}, + {"2001:44b8:403e::/47", "4739"}, + {"2400:5a20:a::/45", "139006"}, + {"2401:c1c0::/32", "136966"}, + {"240e:ff:c004::/48", "134772"}, + {"2605:ed00:4c64::/43", "11427"}, + {"2804:161c:f00::/45", "263268"}, + {"2a0f:4700::/29", "208235"}, + {"2001:559:191::/48", "33659"}, + {"2409:8751:900::/38", "56047"}, + {"2600:140b:801::/38", "20940"}, + {"2605:e700:3000::/32", "6913"}, + {"2a0a:2784::/32", "206774"}, + {"2a0a:dc80::/29", "206597"}, + {"2607:2780::/48", "11878"}, + {"2a00:1580::/46", "39010"}, + {"2a00:ad87:4600::/48", "9890"}, + {"2a02:26f7:f5cc::/48", "36183"}, + {"2a02:6f20::/32", "15598"}, + {"2407:a800:3e11:111b::/48", "3949"}, + {"2600:c05:3011::/32", "11855"}, + {"2620:104:2011::/46", "40185"}, + {"2804:1670::/32", "263286"}, + {"2a00:fa40::/35", "45031"}, + {"2a03:6440:1001::/46", "199055"}, + {"2402:9d80:900::/47", "131429"}, + {"2804:7040::/32", "270715"}, + {"2a02:6900:8204::/48", "206209"}, + {"2001:678:d28::/48", "209314"}, + {"2001:7b8::/37", "12859"}, + {"2401:d800:ab0::/41", "7552"}, + {"2408:8456:2440::/39", "17816"}, + {"2600:1419:4601::/36", "20940"}, + {"2001:2090::/31", "3301"}, + {"240e:978:900::/40", "137697"}, + {"2610:85:3000::/30", "6079"}, + {"2804:748c::/32", "270988"}, + {"2806:230:6026::/48", "265594"}, + {"240a:aced::/32", "145959"}, + {"2804:122c::/32", "263461"}, + {"2a05:a100::/29", "200899"}, + {"2404:b0:2002::/33", "4750"}, + {"2603:4:1400::/48", "44273"}, + {"2620:9b:c000::/47", "54413"}, + {"2620:109:5000::/46", "46435"}, + {"2a02:1620:8005::/33", "1290"}, + {"2a07:dc00:1810::/42", "29997"}, + {"2408:8956:8000::/40", "17622"}, + {"240a:acbd::/32", "145911"}, + {"2605:5c0:c040::/45", "28885"}, + {"2804:3030::/32", "264935"}, + {"2a04:4e42:3b::/45", "54113"}, + {"2a10:8b40::/32", "42369"}, + {"2806:2f0:81c3::/43", "17072"}, + {"2a0b:7340::/29", "202895"}, + {"2c0f:ef18:4000::/32", "328266"}, + {"2001:559:8574::/47", "7015"}, + {"2400:8c80::/32", "132158"}, + {"2a02:2070:fffe::/48", "197498"}, + {"2a0e:e704:50::/44", "47837"}, + {"2001:250:600f::/42", "24364"}, + {"2400:4be0::/48", "141898"}, + {"2404:e801:101b::/45", "55430"}, + {"2409:8050:3002::/40", "56047"}, + {"2409:8420::/27", "9808"}, + {"2406:c800:a1cb::/33", "38016"}, + {"2408:8459:3e30::/41", "17622"}, + {"2607:f820::/34", "11051"}, + {"2800:490:8000::/37", "27951"}, + {"2001:250:3420::/46", "138438"}, + {"2001:dce:d455::/34", "23869"}, + {"2409:800b:2b06::/40", "9808"}, + {"2806:2f0:9e23::/41", "17072"}, + {"2a02:26f7:e504::/48", "36183"}, + {"2a0a:5c40::/29", "205976"}, + {"2001:579:404c::/42", "22773"}, + {"2401:d800:7560::/40", "7552"}, + {"2408:8459:bc50::/38", "17816"}, + {"2600:140f:401::/39", "20940"}, + {"2602:fe9c::/36", "33345"}, + {"2620:111:1004::/47", "18469"}, + {"2a02:a30:f091::/45", "8926"}, + {"240e:3bd:7800::/39", "4134"}, + {"2604:b180:510::/44", "14976"}, + {"2607:f358::/46", "18779"}, + {"2804:2448::/32", "264212"}, + {"2001:1820::/43", "12956"}, + {"240a:a79d::/32", "144599"}, + {"240e:5e:10a0::/44", "140311"}, + {"2605:b100:200::/40", "577"}, + {"2804:6d28:8000::/48", "270516"}, + {"2a11:1040::/29", "60561"}, + {"2001:559:c308::/48", "33287"}, + {"2001:13d2:280f::/43", "7303"}, + {"2001:4878:8027::/48", "12222"}, + {"2806:250:20::/48", "28512"}, + {"2a02:26f7:1d::/48", "20940"}, + {"2a02:26f7:bac8::/48", "36183"}, + {"2a06:e881:6500::/44", "208958"}, + {"2001:559:8419::/48", "33657"}, + {"2001:579:f15c::/40", "22773"}, + {"2404:18c:2100::/32", "6619"}, + {"240e:3b5::/35", "134773"}, + {"2a02:26f7:e3c0::/48", "36183"}, + {"2a06:9080::/32", "203271"}, + {"2a0e:8f02:f003::/48", "213033"}, + {"2401:d800:96c0::/42", "7552"}, + {"2402:6940::/38", "7645"}, + {"2404:2ac0::/32", "139699"}, + {"240a:aa60::/32", "145306"}, + {"2803:d700:2100::/35", "61461"}, + {"2804:1f52::/32", "266474"}, + {"2a01:7f0::/32", "34685"}, + {"2001:da8::/45", "23910"}, + {"2402:800:591d::/42", "7552"}, + {"2602:fe90:809::/48", "35913"}, + {"2602:ffe4:4::/37", "21859"}, + {"2804:51a4:6100::/32", "268467"}, + {"2001:3c8:c306::/36", "4621"}, + {"2001:678:a74::/48", "197838"}, + {"2409:8030:1009::/45", "9808"}, + {"2600:4041:1000::/24", "701"}, + {"2602:fdaf::/36", "396176"}, + {"2803:2ac0::/32", "52300"}, + {"2001:559:c1ed::/46", "33287"}, + {"2001:44c8:4090::/41", "45430"}, + {"2620:132:7040::/40", "19537"}, + {"2001:67c:6e8::/48", "201641"}, + {"2001:1388:7c2::/36", "6147"}, + {"2001:4500::/35", "18183"}, + {"2400:d740::/32", "136106"}, + {"2409:4051:3000::/33", "55836"}, + {"2804:5550:7692::/32", "263067"}, + {"2001:1850::/32", "32181"}, + {"2804:3fbc::/32", "265911"}, + {"2a00:126f::/32", "57472"}, + {"2a00:18d0::/32", "47887"}, + {"2408:826a::/32", "4837"}, + {"2804:1b2:f000::/41", "18881"}, + {"2c0f:eeb8::/32", "328303"}, + {"2001:559:429::/48", "22909"}, + {"2800:bf0:8279::/48", "27947"}, + {"2806:250:200::/46", "28555"}, + {"2a05:d050:90c0::/44", "16509"}, + {"2a0c:e304:1::/48", "208529"}, + {"2001:559:c103::/48", "7922"}, + {"2001:778::/32", "2847"}, + {"2405:6e00:2480::/45", "18291"}, + {"2a07:c882::/32", "207249"}, + {"2a0b:4f40::/48", "197473"}, + {"2001:250:83a::/48", "23910"}, + {"2a01:2c0:23dc::/32", "8282"}, + {"2a02:158::/37", "44946"}, + {"2a02:26f7:e6c0::/48", "36183"}, + {"2c0f:eba0::/32", "328596"}, + {"2001:559:2a7::/44", "7015"}, + {"2400:9380:83c0::/44", "136167"}, + {"2404:8000:1031::/40", "17451"}, + {"2408:8459:9430::/41", "17622"}, + {"2620:11f:f000::/40", "2381"}, + {"2606:fa00::/32", "239"}, + {"2001:559:378::/48", "33287"}, + {"2401:d800:f072::/40", "7552"}, + {"2600:6c40::/32", "20115"}, + {"2620:12f:90ff::/48", "6200"}, + {"2a10:ff00::/31", "212242"}, + {"2001:df5:1400::/48", "133255"}, + {"2001:559:c38a::/48", "7015"}, + {"2001:67c:3d4::/48", "207143"}, + {"2001:1388:8a80::/46", "264684"}, + {"2600:1419:6c00::/48", "35994"}, + {"2a02:26f7:bc48::/48", "36183"}, + {"2a09:6200::/29", "38946"}, + {"2001:67c:2de8::/48", "50476"}, + {"2a03:4bc0:1000::/47", "43893"}, + {"2a05:5f40::/31", "201366"}, + {"2001:49f0:d034::/48", "174"}, + {"2404:0:5000::/46", "24154"}, + {"2409:8904:3ea0::/39", "24547"}, + {"2602:107:2910::/48", "20115"}, + {"2801:196:2::/48", "19429"}, + {"2a00:e880::/32", "15557"}, + {"2405:1c0:6a11::/46", "55303"}, + {"240a:a475::/32", "143791"}, + {"2804:2d44::/32", "265270"}, + {"240e:44d:1f80::/41", "4134"}, + {"2600:1007:a010::/40", "22394"}, + {"2806:2f0:3103::/42", "17072"}, + {"2a00:bb40::/32", "3257"}, + {"2800:160:16a8::/46", "14259"}, + {"2804:6158::/32", "269229"}, + {"2a03:7c40::/32", "48173"}, + {"2a0d:ac00:6::/47", "205202"}, + {"2001:678:cc4::/48", "42086"}, + {"2408:840d:9c00::/42", "17621"}, + {"240a:abe2::/32", "145692"}, + {"2600:100e:bf1e::/33", "6167"}, + {"2600:6c38:e3::/45", "20115"}, + {"2a01:5041:600e::/48", "202196"}, + {"2a0b:a240::/29", "205535"}, + {"2c0f:3800::/32", "37616"}, + {"2402:ff00::/32", "45637"}, + {"240a:a6e3::/32", "144413"}, + {"2806:230:2053::/48", "11888"}, + {"2407:d040::/32", "58411"}, + {"2408:8459:7430::/41", "17622"}, + {"240e:878:600::/42", "137689"}, + {"2602:800:cc00::/38", "397695"}, + {"2800:160:1f3c::/41", "14259"}, + {"2a02:26f7:be81::/46", "20940"}, + {"2408:840d:6800::/42", "17621"}, + {"2600:6000:f571::/40", "12271"}, + {"2605:e700::/34", "6913"}, + {"2804:5284:e000::/35", "268523"}, + {"2a00:dd00:3::/45", "56484"}, + {"2600:1405:1001::/36", "20940"}, + {"2600:140f:a800::/48", "9498"}, + {"2800:4b0:4419::/45", "12252"}, + {"2804:2e4::/32", "53234"}, + {"2a02:2620::/32", "29124"}, + {"2a02:26f7:f6f4::/48", "36183"}, + {"2a10:7300::/29", "399975"}, + {"2001:8b0:1629::/33", "20712"}, + {"2403:6dc0::/40", "134526"}, + {"2406:840:eb0f::/48", "142553"}, + {"2603:ff20::/27", "397165"}, + {"2804:4c14:8b01::/35", "267348"}, + {"2001:250:c11::/44", "138374"}, + {"2605:9e00::/32", "15082"}, + {"2605:b740::/40", "2773"}, + {"2620:11b:3002::/48", "36351"}, + {"2001:ee0:d340::/37", "45899"}, + {"2600:1415:b::/43", "20940"}, + {"2a02:26f7:c3d1::/46", "20940"}, + {"2a0a:7300:1000::/34", "56911"}, + {"2001:1248:5a2b::/45", "11172"}, + {"2001:4868:224::/48", "7046"}, + {"2400:6280:10b::/48", "132280"}, + {"2405:1c0:6531::/45", "55303"}, + {"2408:8459:5080::/42", "136959"}, + {"240a:a959::/32", "145043"}, + {"2607:f740:70::/48", "36236"}, + {"2804:6748::/32", "269618"}, + {"2001:250:5800::/46", "24363"}, + {"240a:a957::/32", "145041"}, + {"2607:f5a8::/33", "27589"}, + {"2a02:4840:101::/48", "203557"}, + {"2001:678:690::/48", "49677"}, + {"2408:8957:2500::/40", "17816"}, + {"240a:a9bd::/32", "145143"}, + {"240a:af0f::/32", "146505"}, + {"2600:140f:1200::/48", "9498"}, + {"2607:f4e8:111::/37", "22822"}, + {"2804:4368:500::/35", "267568"}, + {"2404:c480::/32", "135328"}, + {"2405:84c0:8d00::/40", "9886"}, + {"2804:691c::/32", "270249"}, + {"2a0f:12c0::/29", "60262"}, + {"2a11:8900::/29", "204790"}, + {"240a:a0d9::/32", "142867"}, + {"240a:a91d::/32", "144983"}, + {"2001:550:a13::/39", "174"}, + {"2001:5000::/36", "1273"}, + {"2605:72c0:5::/48", "40401"}, + {"2a02:26f7:d28c::/48", "36183"}, + {"2001:253:127::/48", "142093"}, + {"2801:13c::/42", "18747"}, + {"2001:559:80a9::/48", "33651"}, + {"2001:67c:2d2c::/48", "206321"}, + {"2402:47c0::/39", "137280"}, + {"2620:0:1a30::/48", "10546"}, + {"2a02:26f7:d1c0::/48", "36183"}, + {"2001:67c:13f8::/48", "39057"}, + {"2a02:1368::/32", "51873"}, + {"2001:678:2b4::/48", "48882"}, + {"2001:1a68:35::/41", "15694"}, + {"2402:3a80:1436::/41", "38266"}, + {"240a:ab66::/32", "145568"}, + {"2602:fcba::/36", "399332"}, + {"2605:a900:1002::/45", "46887"}, + {"2606:a600:8::/48", "33297"}, + {"2804:6eb8::/32", "270615"}, + {"2806:2a0:800::/40", "28548"}, + {"2a02:5400::/48", "33353"}, + {"2a0e:40c0:1::/48", "15626"}, + {"2a0e:b107:bd0::/48", "140936"}, + {"2a01:5042:1::/48", "202196"}, + {"2001:67c:2390::/48", "21155"}, + {"2405:9800:c92d::/48", "138915"}, + {"240e:438:4a20::/43", "140647"}, + {"2a0b:6b83::/35", "202562"}, + {"2001:1248:9500::/41", "11172"}, + {"2405:1c0:6581::/46", "55303"}, + {"2a01:488:bb18::/48", "34440"}, + {"2001:559:7ea::/48", "33490"}, + {"2001:67c:1440::/48", "44597"}, + {"2400:a980:7500::/36", "133111"}, + {"2605:7840:2000::/36", "32482"}, + {"2a02:26f7:ef89::/42", "20940"}, + {"2a04:8484::/30", "21413"}, + {"2a0e:b80::/29", "208951"}, + {"2a10:8440::/31", "50455"}, + {"2001:9d0::/32", "8387"}, + {"240e:84::/31", "4134"}, + {"2607:f8a8::/32", "40913"}, + {"2800:68:16::/48", "27947"}, + {"2001:559:c47a::/48", "33489"}, + {"2001:67c:189c::/48", "1257"}, + {"240a:ad92::/32", "146124"}, + {"2600:1402:2001::/35", "20940"}, + {"2600:6c38:a35::/44", "20115"}, + {"2804:4618:3200::/39", "266968"}, + {"2001:16b0::/32", "12741"}, + {"2401:d800:9580::/42", "7552"}, + {"2402:dc00::/32", "45682"}, + {"2409:804d:3100::/36", "9808"}, + {"2409:8a55:f700::/30", "56040"}, + {"240a:ac3d::/32", "145783"}, + {"2607:9480:f0::/44", "14338"}, + {"2804:73f0::/32", "270947"}, + {"2402:800:93a9::/43", "7552"}, + {"2606:1880::/35", "32931"}, + {"2a00:1ed0::/32", "43541"}, + {"2a09:9900::/32", "199046"}, + {"2404:8000:a0::/53", "17451"}, + {"2804:175c:8420::/33", "263140"}, + {"2001:67c:230::/48", "49788"}, + {"2001:15f8:1000::/40", "15776"}, + {"2400:c700:88::/39", "55644"}, + {"2402:800:3e40::/43", "7552"}, + {"2607:ff40::/32", "7871"}, + {"2804:2200::/32", "264585"}, + {"2806:230:2043::/48", "11888"}, + {"2a00:fb8:8000::/29", "8881"}, + {"2a01:5041:efd::/46", "202196"}, + {"2a0e:b107:c10::/48", "137256"}, + {"2400:5000::/32", "38826"}, + {"2a00:79e1:800::/45", "36384"}, + {"2a02:2e02:ec0::/39", "12479"}, + {"2a02:c500::/31", "199246"}, + {"2a06:bbc2:1::/48", "212044"}, + {"2a06:f400::/29", "203387"}, + {"2a0c:b641:102::/44", "213154"}, + {"2a11:d0c0::/29", "49655"}, + {"2001:df2:2280::/48", "135851"}, + {"2403:3400::/32", "7604"}, + {"2600:1fa0:e020::/44", "16509"}, + {"2600:9000:10d6::/44", "16509"}, + {"2a00:ef0::/32", "6834"}, + {"2a00:b180::/32", "15557"}, + {"2a03:ca00::/32", "25592"}, + {"2a0d:9a81::/40", "49959"}, + {"2a12:73c0::/29", "400522"}, + {"240e:3bc:dc00::/34", "4134"}, + {"2600:1003:f440::/44", "6167"}, + {"2600:1417:55::/46", "9498"}, + {"2804:66dc::/32", "269587"}, + {"240e:940:ef00::/30", "4134"}, + {"2800:bf0:8277::/48", "27947"}, + {"2a02:970:1193::/38", "44002"}, + {"2a04:b540::/36", "61424"}, + {"2600:1406:6801::/37", "20940"}, + {"2620:10f:3000::/40", "6510"}, + {"2804:99c::/32", "262519"}, + {"2806:20d:1002::/44", "32098"}, + {"2a02:2698:2c::/38", "12768"}, + {"2001:2b8:bc::/48", "1237"}, + {"2001:448a:5130::/41", "7713"}, + {"2402:800:94b7::/41", "7552"}, + {"240a:a2dc::/32", "143382"}, + {"240a:a733::/32", "144493"}, + {"2800:860:face::/48", "20299"}, + {"2a02:26f7:f4c1::/46", "20940"}, + {"2a04:9140:3104::/48", "201958"}, + {"2a0c:1a00::/32", "205389"}, + {"2001:1248:883a::/47", "11172"}, + {"2001:18e8:810::/37", "19782"}, + {"2806:20d:5a05::/46", "32098"}, + {"2a01:240:ab02::/33", "30781"}, + {"2a03:a300:3000::/48", "35104"}, + {"240a:ac05::/32", "145727"}, + {"2001:400:a000:e::/59", "293"}, + {"2a02:26f7:a0::/48", "36183"}, + {"2a03:42e0:1::/32", "59753"}, + {"2a09:60c0::/29", "207668"}, + {"2001:559:85d1::/46", "33287"}, + {"2001:4de0:6200::/39", "33438"}, + {"2409:896a:7e00::/39", "9808"}, + {"240e:1a:130::/41", "23650"}, + {"2600:1417:77::/48", "38266"}, + {"2603:c001:650::/35", "31898"}, + {"2610:b0:4107::/48", "21433"}, + {"2a00:e4c0::/32", "42908"}, + {"2001:559:854c::/47", "33652"}, + {"2401:d800:21a0::/41", "7552"}, + {"2401:d800:b090::/42", "7552"}, + {"240a:a026::/32", "142688"}, + {"2001:df3:2980::/48", "131713"}, + {"2409:8c20:4a23::/37", "56046"}, + {"2603:4:1700::/48", "44273"}, + {"2a00:4802:2b0::/44", "8717"}, + {"2409:8053:900::/37", "9808"}, + {"240e:f:c000::/37", "4134"}, + {"2602:ff98::/39", "63447"}, + {"2803:d820::/32", "265813"}, + {"2a0b:7c00::/32", "8437"}, + {"2001:559:733::/48", "33652"}, + {"2408:8409:5400::/40", "4808"}, + {"2409:8c85:411::/44", "9808"}, + {"2607:1280:1010::/44", "394972"}, + {"2801:80:580::/47", "52740"}, + {"2804:179c:3091::/32", "263159"}, + {"2a07:9d80::/29", "202716"}, + {"2a0e:73c0::/29", "51519"}, + {"2001:559:82a8::/48", "33657"}, + {"2404:f300:11::/48", "58463"}, + {"2801:131::/45", "272084"}, + {"2a0a:580:1100::/40", "15404"}, + {"2001:4998:69::/39", "10310"}, + {"2804:e6c:2000::/33", "262954"}, + {"2001:400:6441:61::/32", "293"}, + {"2001:559:373::/48", "7922"}, + {"2604:ca00:f029::/48", "36492"}, + {"2800:5f0:80d::/42", "22724"}, + {"2a00:6060:b000::/48", "199881"}, + {"2a07:3b80:2::/48", "62240"}, + {"2404:de00::/32", "55819"}, + {"2405:1480:2000::/48", "23724"}, + {"2408:843f:2600::/25", "4837"}, + {"240e:40:c::/48", "58519"}, + {"2600:1200::/24", "4152"}, + {"2a02:26f7:c308::/48", "36183"}, + {"2a09:1980::/29", "209810"}, + {"2a0a:ec02:201::/46", "42692"}, + {"2001:559:c181::/46", "7922"}, + {"2605:1980:402::/32", "13951"}, + {"2a09:1840::/32", "209568"}, + {"2001:559:419::/48", "7015"}, + {"240a:a16c::/32", "143014"}, + {"240e:3b5:d000::/36", "134772"}, + {"2a07:a40:b::/48", "48821"}, + {"2800:370:67::/43", "28006"}, + {"2001:3c8:2809::/38", "4621"}, + {"2402:3a80:1b30::/41", "38266"}, + {"2a0f:2dc0::/29", "60262"}, + {"2404:8000:d3::/42", "17451"}, + {"2605:7380:c000::/34", "25697"}, + {"2620:12d:5002::/44", "55128"}, + {"2a04:4e80:2::/47", "211400"}, + {"2001:559:758::/48", "33657"}, + {"2400:cb00:450::/45", "13335"}, + {"2a03:db80:2c15::/35", "680"}, + {"2001:67c:2d14::/48", "204088"}, + {"240a:a29c::/32", "143318"}, + {"240a:ab2c::/32", "145510"}, + {"2a02:26f7:b844::/48", "36183"}, + {"240a:a21f::/32", "143193"}, + {"240a:a74d::/32", "144519"}, + {"2800:68:38::/48", "61468"}, + {"2804:4488:3010::/44", "262480"}, + {"2804:4afc:f010::/36", "267276"}, + {"2402:ae80::/32", "38800"}, + {"240a:a706::/32", "144448"}, + {"2602:fea6::/36", "40676"}, + {"2804:3790::/32", "266421"}, + {"2a0d:5600:11::/44", "9009"}, + {"2408:840d:1100::/42", "17621"}, + {"2408:8459:5630::/41", "17622"}, + {"2804:c84:32::/32", "52720"}, + {"2a01:20e::/32", "41051"}, + {"2001:559:c1cf::/48", "7725"}, + {"2408:8956:d840::/40", "17622"}, + {"2404:1800::/32", "17705"}, + {"2620:13b:b000::/45", "138005"}, + {"2804:14d:3c00::/40", "28573"}, + {"2804:e60::/32", "61888"}, + {"240e:3b9::/35", "134773"}, + {"240e:438:6c20::/43", "140647"}, + {"2800:1e0:2200::/37", "7195"}, + {"2001:559:37f::/48", "33660"}, + {"2404:cc00:6::/34", "24441"}, + {"2409:8c85:410::/48", "24547"}, + {"2620:cb:8000::/48", "54058"}, + {"2804:7fc0::/32", "271707"}, + {"2a01:53c0:ff0a::/43", "54994"}, + {"2a0c:b641:5d2::/48", "212952"}, + {"2a0e:b107:fff::/48", "42394"}, + {"2a0f:18c0::/29", "60262"}, + {"2001:67c:214::/48", "25057"}, + {"2001:1260:c::/46", "28537"}, + {"2401:8e00:9100::/33", "9260"}, + {"2a02:26f7:d881::/46", "20940"}, + {"2401:dd40:1::/48", "24289"}, + {"2403:5000::/39", "9304"}, + {"2001:559:2c5::/48", "33287"}, + {"2408:8656:3aff::/48", "17623"}, + {"240a:a7e4::/32", "144670"}, + {"2607:fcd0:10a::/45", "8100"}, + {"2803:9800:90a2::/39", "11664"}, + {"2804:2674:d::/46", "264344"}, + {"2a02:e30:f007::/48", "199943"}, + {"2a0f:5707:abf0::/45", "212895"}, + {"240e:44d:3640::/42", "140353"}, + {"2804:4230::/32", "267484"}, + {"2804:7404::/32", "270953"}, + {"2607:f428:9380::/44", "10796"}, + {"2620:171:1a::/45", "42"}, + {"2a12:9d00::/29", "8888"}, + {"2001:559:c50a::/48", "33659"}, + {"2001:67c:2bdc::/48", "205700"}, + {"2001:da8:d00d::/42", "24359"}, + {"2400:8800:1e82::/48", "7262"}, + {"2804:1644:ff00::/40", "262903"}, + {"2a02:26f7:f84c::/48", "36183"}, + {"2001:559:82a9::/48", "33287"}, + {"2001:da8:7039::/36", "23910"}, + {"2600:100d:9e00::/44", "6167"}, + {"2804:7f48::/32", "271678"}, + {"2806:2f0:21c2::/48", "17072"}, + {"2a12:28c0::/29", "60741"}, + {"240a:a49e::/32", "143832"}, + {"240a:aec3::/32", "146429"}, + {"2600:6c29::/30", "20115"}, + {"2607:f7a8:606::/48", "397488"}, + {"2804:4e08::/34", "268235"}, + {"2804:6dac::/32", "270548"}, + {"2806:230:2024::/48", "265594"}, + {"2a04:8300::/29", "34410"}, + {"2001:418:1401:3::/64", "2639"}, + {"240a:a6b6::/32", "144368"}, + {"2803:9a40:8003::/33", "263824"}, + {"2804:249c::/32", "264233"}, + {"2a04:4e40:5200::/48", "54113"}, + {"2001:1a68:14::/48", "51373"}, + {"2402:8100:20d7::/44", "45271"}, + {"2602:fed2:7107::/48", "205096"}, + {"2804:2874::/32", "263962"}, + {"2a11:5706:b00b::/48", "212149"}, + {"2404:bf40:80c0::/47", "7545"}, + {"2600:370f:3088::/43", "32261"}, + {"2607:6980:3a70::/44", "32931"}, + {"2a06:e380:2::/32", "203507"}, + {"2001:559:352::/47", "33651"}, + {"240e:fe:2000::/33", "134774"}, + {"2605:dd40:8beb::/37", "398549"}, + {"2606:1a40:2018::/46", "398962"}, + {"2001:678:e04::/48", "212810"}, + {"2001:da8:2000::/44", "24357"}, + {"2409:896a:8000::/39", "9808"}, + {"2806:230:4010::/48", "265594"}, + {"2001:559:811b::/45", "7922"}, + {"2001:4d98:3ffa::/33", "3303"}, + {"2408:8957:7a00::/40", "17622"}, + {"2409:8002:800::/40", "38019"}, + {"240e:fc:7000::/32", "134772"}, + {"2620:96:4000::/48", "63126"}, + {"2803:ba00::/39", "52286"}, + {"2804:5070::/32", "268389"}, + {"2806:106e:a::/45", "8151"}, + {"240a:a69b::/32", "144341"}, + {"240e:183:8220::/46", "140656"}, + {"2600:1415:4c01::/35", "20940"}, + {"2804:73ec::/33", "270946"}, + {"2a0c:3d40::/32", "204315"}, + {"2001:559:80d6::/48", "33287"}, + {"2001:678:50::/48", "57382"}, + {"2001:67c:714::/48", "224"}, + {"2606:e300::/32", "13370"}, + {"2804:1d80:8000::/36", "264374"}, + {"2a00:e0c0::/32", "16174"}, + {"2600:141b:1401::/38", "20940"}, + {"2801:80:3920::/48", "270591"}, + {"2801:102::/48", "19429"}, + {"2804:5f14::/32", "269075"}, + {"2a0d:1f00::/29", "39122"}, + {"2405:b40:2::/42", "55674"}, + {"2804:54d0::/32", "268671"}, + {"2804:7378::/32", "270917"}, + {"2a06:3b80:21::/46", "206614"}, + {"2602:fed2:7184::/46", "53356"}, + {"2804:466c::/32", "262689"}, + {"2a02:26f7:b980::/48", "36183"}, + {"2a09:4e07:9000::/36", "208861"}, + {"2001:559:579::/48", "7725"}, + {"240c:ca48::/24", "23910"}, + {"2607:fdf0:5e5a::/42", "8008"}, + {"2a02:e980:212::/45", "19551"}, + {"2c0f:fbb8::/32", "37454"}, + {"2001:559:8757::/44", "7015"}, + {"240a:a742::/32", "144508"}, + {"2606:2d00::/36", "32478"}, + {"2804:1ac4::/46", "61884"}, + {"2600:100e:9110::/36", "6167"}, + {"2806:2f0:24c0::/48", "17072"}, + {"2a0c:4144:100::/48", "25091"}, + {"2402:9900:c11::/48", "27435"}, + {"2600:380:2900::/35", "20057"}, + {"2606:2800:6a38::/47", "15133"}, + {"2804:818::/32", "262345"}, + {"2a07:8504::/32", "1104"}, + {"2a09:c140:db::/48", "210079"}, + {"2600:9000:2314::/44", "16509"}, + {"2604:d600:151b::/42", "32098"}, + {"2804:1b68:700::/32", "61726"}, + {"2a02:2928::/32", "39288"}, + {"2c0f:fb08:ff00::/40", "12091"}, + {"2001:559:c450::/48", "7922"}, + {"2402:800:79d0::/42", "7552"}, + {"2402:800:b770::/40", "7552"}, + {"240a:a814::/32", "144718"}, + {"2600:6c3a:c11::/41", "20115"}, + {"2602:fc64:ca00::/48", "36829"}, + {"2804:2f60::/39", "264887"}, + {"2a0c:6d00:232::/48", "3218"}, + {"2a0e:8f01:107::/48", "38230"}, + {"2402:3700::/32", "38496"}, + {"2606:400::/32", "14051"}, + {"2800:6f0:5800::/40", "20207"}, + {"2a00:7ee0::/46", "16347"}, + {"2a00:9fe0::/29", "15600"}, + {"2a02:ff0:2c00::/40", "12735"}, + {"2409:804e:1900::/34", "9808"}, + {"2600:6000:f5d5::/48", "11351"}, + {"2607:7c80:58::/48", "11661"}, + {"2607:f398::/32", "11090"}, + {"2803:4e00::/32", "20002"}, + {"2804:3074::/32", "264952"}, + {"2a02:26f7:fb::/45", "20940"}, + {"2a03:7100::/29", "49567"}, + {"2001:678:ac::/48", "49251"}, + {"2001:67c:18f4::/48", "1257"}, + {"2408:8459:9450::/38", "17816"}, + {"2409:4052:3000::/31", "55836"}, + {"240e:44d:7580::/41", "4134"}, + {"2605:de40:2005::/35", "397553"}, + {"2a0e:ac80::/29", "35600"}, + {"2001:550:9c06::/38", "174"}, + {"2403:6a40:1000::/33", "135967"}, + {"240a:a6a4::/32", "144350"}, + {"240a:ac92::/32", "145868"}, + {"2606:2800:557::/44", "15133"}, + {"2804:1554::/32", "263384"}, + {"2001:559:c44d::/48", "33657"}, + {"240a:aee2::/32", "146460"}, + {"2a04:d380::/29", "41997"}, + {"2001:57a:ef02::/40", "22773"}, + {"2403:1ec0:1400::/48", "136958"}, + {"2605:b540::/32", "15353"}, + {"2804:34:ff08::/40", "28306"}, + {"2a00:1678:2470::/48", "49453"}, + {"2a07:8100::/29", "202865"}, + {"2404:bf40:e301::/48", "139084"}, + {"240d:c010:16::/48", "132203"}, + {"2605:9cc0:450::/48", "14618"}, + {"2804:26dc::/32", "263861"}, + {"2a02:26f7:ef11::/42", "20940"}, + {"2001:67c:3b4::/48", "52092"}, + {"2001:6d0:6d07::/48", "42385"}, + {"2602:fbda:600::/48", "7721"}, + {"2a01:6060::/32", "199990"}, + {"2a02:450:8000::/48", "34372"}, + {"2a0a:e5c0:27::/44", "207996"}, + {"2a0b:1306:3::/48", "29018"}, + {"2001:678:68::/48", "199670"}, + {"2001:da8:ad::/48", "24350"}, + {"2401:d800:5fe0::/43", "7552"}, + {"2803:65e0::/42", "270034"}, + {"2803:9800:98ce::/47", "11664"}, + {"2804:40:6000::/36", "28657"}, + {"2a03:5e60::/32", "6895"}, + {"2001:559:8092::/48", "33660"}, + {"2406:840:e11a::/48", "141712"}, + {"240e:a5:5000::/32", "4134"}, + {"2a0f:3640::/29", "60262"}, + {"2001:559:c4a3::/48", "7922"}, + {"2001:b08:20::/48", "198444"}, + {"2600:6c10:f095::/44", "20115"}, + {"2602:fe67::/36", "40646"}, + {"2a03:7380:1e00::/42", "13188"}, + {"2400:8b00:d80::/42", "45727"}, + {"2a01:d0:309::/43", "29632"}, + {"2a03:7380:2fc0::/35", "13188"}, + {"2408:8245::/35", "140726"}, + {"240a:a44d::/32", "143751"}, + {"2405:1500:61::/43", "58717"}, + {"2806:2f0:34c1::/46", "17072"}, + {"2a00:f88::/32", "15726"}, + {"2a02:4fc0::/33", "199081"}, + {"2a03:a6c0::/32", "201502"}, + {"240a:a091::/32", "142795"}, + {"2600:140f:5c00::/48", "9498"}, + {"2804:6b88::/32", "270406"}, + {"2a02:2698:4c28::/38", "42682"}, + {"2a09:24c0::/32", "209323"}, + {"2001:148f:fffe::/47", "20701"}, + {"2402:8100:27b0::/47", "45271"}, + {"2804:3b44::/32", "266139"}, + {"2a0f:5707:ab23::/48", "48646"}, + {"2a0f:df00::/48", "41281"}, + {"2400:c540:80::/48", "59238"}, + {"2a02:2f8::/32", "12335"}, + {"2a02:26f7:12::/48", "36183"}, + {"2a05:1084::/47", "59598"}, + {"2a0c:4300:70::/40", "43722"}, + {"2001:410:1000::/40", "271"}, + {"2409:8b1e::/31", "24400"}, + {"2804:34:2021::/45", "28306"}, + {"2a03:ac1::/32", "42953"}, + {"2a03:f000::/30", "25472"}, + {"2a09:80c0::/29", "209335"}, + {"2001:67c:a4::/48", "48908"}, + {"2408:8957:4300::/40", "17816"}, + {"2409:8904:52b0::/39", "24547"}, + {"2603:f530::/25", "397165"}, + {"2606:2800:133::/45", "15133"}, + {"2001:559:1db::/48", "7016"}, + {"2801:80:3e00::/48", "271213"}, + {"2804:1408::/33", "28635"}, + {"2806:230:202c::/48", "265594"}, + {"2a02:26f7:facc::/48", "36183"}, + {"2001:250:6000::/48", "24364"}, + {"2400:57a0::/32", "149487"}, + {"2402:800:979b::/42", "7552"}, + {"2606:ae00:2044::/48", "7287"}, + {"2803:9620::/34", "265865"}, + {"2804:535c::/32", "268579"}, + {"2a03:90c0:1a0::/41", "199524"}, + {"2a06:e881:480f::/48", "134666"}, + {"2a0c:4481:1::/46", "204720"}, + {"2a0f:6b40::/29", "60251"}, + {"2001:fb0:109f:8008::/64", "7470"}, + {"2402:800:9ce0::/39", "7552"}, + {"2402:800:b242::/42", "7552"}, + {"2607:ff28:3::/44", "62904"}, + {"2806:230:2032::/48", "265594"}, + {"2a04:4e40:7410::/44", "54113"}, + {"2407:b001:1100::/34", "24121"}, + {"2a02:88d:801f::/48", "47794"}, + {"2001:559:742::/48", "7015"}, + {"2001:559:c3f0::/48", "33651"}, + {"240a:a22e::/32", "143208"}, + {"2620:12c:b005::/48", "43251"}, + {"2620:160:e700::/44", "10837"}, + {"2804:270c::/32", "262732"}, + {"2620:c0:c000::/44", "393501"}, + {"2a02:26f0:a801::/39", "20940"}, + {"2600:380:f10f::/48", "64011"}, + {"2600:9000:211d::/41", "16509"}, + {"2806:2f0:70c1::/46", "17072"}, + {"2402:6940:1402::/32", "7645"}, + {"2a0c:2f07:4663::/48", "206924"}, + {"2a0c:e6c0::/29", "39259"}, + {"2001:df5:4000::/48", "132647"}, + {"2607:f4e8:c::/47", "22822"}, + {"2801:0:100::/48", "28039"}, + {"2001:550:2401::/46", "174"}, + {"2001:559:324::/48", "33491"}, + {"2408:8957:7700::/36", "17816"}, + {"240a:a0d4::/32", "142862"}, + {"2804:6c80::/32", "270472"}, + {"2a03:89c0::/32", "24978"}, + {"2404:e00:365::/48", "15695"}, + {"240a:a59e::/32", "144088"}, + {"2607:4f80::/32", "7029"}, + {"2804:6d24::/32", "270515"}, + {"2a00:7380:600::/32", "51906"}, + {"2a02:7a8::/32", "47917"}, + {"2a04:c680::/29", "201277"}, + {"2a10:1140::/29", "33438"}, + {"2602:febb:200::/36", "394989"}, + {"2a02:7040:ff00::/47", "203501"}, + {"2409:8a1a:1200::/33", "132525"}, + {"2401:4900:1c0e::/47", "24560"}, + {"2607:fcd0:100:bc01::/45", "8100"}, + {"2001:3c8:1402::/38", "4621"}, + {"2001:67c:25e0::/48", "44760"}, + {"2402:600:c1b2::/34", "38515"}, + {"2620:10a:80bb::/45", "40568"}, + {"2620:10a:80d4::/48", "27299"}, + {"2a02:26f7:f54d::/42", "20940"}, + {"2a10:1a40::/29", "206236"}, + {"2001:559:83fc::/48", "7015"}, + {"2402:1b80::/38", "63956"}, + {"2405:7f00:ae40::/40", "133414"}, + {"2604:1ec0::/36", "11260"}, + {"2607:7e80:6000::/35", "395354"}, + {"2620:130::/48", "13460"}, + {"2801:1d:8801::/48", "18747"}, + {"2a00:5800::/32", "198500"}, + {"2a00:b3a0::/36", "62023"}, + {"2a02:888:4044::/46", "48695"}, + {"2a0b:9fc0::/48", "48858"}, + {"2402:800:6148::/47", "7552"}, + {"2408:8256:318b::/48", "17623"}, + {"2409:8053:2c00::/47", "9808"}, + {"2806:230:3010::/48", "265594"}, + {"2001:559:84b5::/48", "7725"}, + {"2405:9800:c902::/48", "45458"}, + {"2607:f6f0:208::/48", "27330"}, + {"2803:6f40::/32", "265641"}, + {"2804:f20::/32", "52741"}, + {"2a07:a880:4603::/45", "3399"}, + {"2a09:bd80::/29", "208861"}, + {"2a0f:9bc0::/29", "212144"}, + {"2409:8904:d140::/42", "24547"}, + {"240a:a244::/32", "143230"}, + {"2804:3e90:4200::/46", "65891"}, + {"2a02:26f7:cac5::/46", "20940"}, + {"2a07:2d80::/29", "42929"}, + {"2001:1248:9922::/44", "11172"}, + {"2401:d800:2d60::/40", "7552"}, + {"2804:61f4::/32", "269267"}, + {"2a00:cc80::/32", "15557"}, + {"2c0e:2208::/30", "37457"}, + {"2406:840:fc00::/48", "140938"}, + {"2409:8070:302d::/40", "9808"}, + {"2804:1d1c:c3::/32", "53196"}, + {"2a00:cc0:ffff::/29", "13237"}, + {"2409:805c:3900::/33", "9808"}, + {"240a:ae7c::/32", "146358"}, + {"2606:ae00:bec1::/42", "7287"}, + {"2620:133::/40", "19692"}, + {"2a0c:8fc1:8000::/40", "142275"}, + {"2001:559:84c9::/46", "33287"}, + {"2610:a1:3028::/48", "12008"}, + {"2804:6a14:200::/32", "61601"}, + {"2402:ef0b:a000::/36", "24515"}, + {"2600:9000:235b::/42", "16509"}, + {"2801:80:70::/48", "28193"}, + {"2804:803c::/32", "271738"}, + {"2a0e:46c4:110::/48", "137490"}, + {"2001:678:6b0::/48", "33873"}, + {"2803:d760::/32", "269827"}, + {"2804:4334::/32", "267555"}, + {"2806:268:2302::/37", "13999"}, + {"2a02:408:7722::/48", "44112"}, + {"2400:cb00:346::/47", "13335"}, + {"2408:8456:cc40::/40", "17816"}, + {"2a02:26f0:106::/47", "34164"}, + {"2a07:3502:1130::/48", "33915"}, + {"2a0e:8f02:2184::/48", "210714"}, + {"2001:1538::/32", "16363"}, + {"2610:28::/33", "81"}, + {"2620:11c:4000::/40", "30698"}, + {"2a0b:89c1:89c3::/33", "3214"}, + {"2401:d800:2572::/40", "7552"}, + {"240e:965:c400::/39", "133775"}, + {"2800:3a0:192::/48", "28008"}, + {"2804:56c:2200::/32", "28210"}, + {"2401:be00::/48", "23724"}, + {"2409:831e::/31", "24400"}, + {"2409:8a52:d00::/38", "56047"}, + {"240a:a893::/32", "144845"}, + {"2804:1ebc::/32", "264446"}, + {"2804:24e8:c000::/34", "53171"}, + {"2804:3310::/32", "265114"}, + {"2804:3650::/32", "266341"}, + {"2a04:6d00::/29", "211892"}, + {"2408:840c:b600::/40", "17621"}, + {"240a:ac75::/32", "145839"}, + {"240a:acc1::/32", "145915"}, + {"2604:6600:2002::/44", "40676"}, + {"2604:7b80::/32", "32808"}, + {"2607:fc48:800::/48", "40009"}, + {"2001:1900:235f::/42", "3356"}, + {"2405:b40:21::/46", "55674"}, + {"240a:a5f4::/32", "144174"}, + {"2600:80d:14::/40", "6984"}, + {"2620:136:a008::/46", "36198"}, + {"2800:2a0:232::/34", "27947"}, + {"2806:2f0:30c3::/42", "17072"}, + {"2a01:488:bb0b::/48", "26496"}, + {"2001:3a0:f008::/36", "7521"}, + {"2001:418:c07::/35", "2914"}, + {"2602:ffcb::/36", "21757"}, + {"2610:a1:3004::/48", "12008"}, + {"2806:230:fff3::/48", "11888"}, + {"2a02:26f0:10f::/48", "20940"}, + {"2a02:26f7:2c::/48", "36183"}, + {"240e:bf:d000::/25", "4134"}, + {"2603:c0f8:2020::/39", "20054"}, + {"2a02:2e02:1460::/40", "12479"}, + {"2403:9800:7f05::/48", "4648"}, + {"2403:e900::/32", "45133"}, + {"2406:b400:d2::/45", "18209"}, + {"240e:3b4:4c00::/35", "136200"}, + {"2600:6c38:51::/42", "20115"}, + {"2605:8bc0:30::/48", "26695"}, + {"2803:1a00:5013::/44", "262186"}, + {"2a04:2d01::/48", "56647"}, + {"2a09:4c0:301::/46", "58057"}, + {"2001:fd8:f0c0::/42", "132199"}, + {"2001:4d8f::/32", "41637"}, + {"2403:b300::/32", "16509"}, + {"240a:a1e5::/32", "143135"}, + {"240a:ac4e::/32", "145800"}, + {"2605:e3c0::/32", "398479"}, + {"2620:83:2000::/48", "13699"}, + {"2804:3ac0:f7b0::/36", "266107"}, + {"2804:3b38::/32", "266136"}, + {"2a07:7bc0::/29", "202882"}, + {"240a:a866::/32", "144800"}, + {"2607:f208:df01::/48", "26496"}, + {"2a02:26f7:c849::/42", "20940"}, + {"2401:f480::/32", "58703"}, + {"2804:6740::/33", "269616"}, + {"2a01:9980:1::/46", "50837"}, + {"2a0e:9f40::/29", "208436"}, + {"2402:f00::/32", "23918"}, + {"240a:a340::/32", "143482"}, + {"240a:a5bc::/32", "144118"}, + {"240e:44d:2480::/41", "4134"}, + {"2606:2800:505b::/48", "14153"}, + {"2a02:888:8252::/47", "48695"}, + {"2c0f:fc89:7c::/40", "36992"}, + {"2607:fbc0::/32", "7029"}, + {"2a01:6780:7::/48", "8426"}, + {"2001:559:c119::/48", "20214"}, + {"2001:678:6e4::/46", "202329"}, + {"2001:67c:1318::/48", "206594"}, + {"2406:1fc0::/32", "140689"}, + {"240e:ff:c003::/48", "134774"}, + {"2804:2274::/32", "264101"}, + {"2a09:bac0:94::/48", "13335"}, + {"2001:559:55b::/48", "7922"}, + {"2001:fb0:109f:15::/62", "7470"}, + {"2602:80b:8011::/48", "26229"}, + {"2804:8e4::/32", "52874"}, + {"2804:4a54::/32", "267233"}, + {"2804:6c98::/32", "270479"}, + {"2a11:780::/29", "208861"}, + {"240a:a82a::/32", "144740"}, + {"2001:678:c0c::/48", "15823"}, + {"2001:ee0:c140::/38", "45899"}, + {"2a02:26f7:ba45::/46", "20940"}, + {"2a0b:fd00::/32", "57119"}, + {"2a0d:7100:a::/48", "34672"}, + {"2001:298::/32", "9600"}, + {"2001:df2:c280::/48", "139989"}, + {"2407:1e40:401::/39", "141732"}, + {"240a:a4e5::/32", "143903"}, + {"2804:7cf8::/39", "271530"}, + {"2001:468:2621::/44", "11537"}, + {"2401:d800:2fd0::/42", "7552"}, + {"240a:ab25::/32", "145503"}, + {"2a02:4780:13::/48", "47583"}, + {"2a06:1b00:101::/46", "8302"}, + {"2001:559:1d0::/48", "7015"}, + {"2001:1260:6::/48", "13591"}, + {"2001:4878:8062::/47", "12222"}, + {"2620:1ec:910::/47", "8068"}, + {"2800:120:7::/32", "27843"}, + {"2a02:26f7:d640::/48", "36183"}, + {"2400:e480::/44", "131588"}, + {"2a06:9900::/29", "12552"}, + {"2a10:2f01:2af::/48", "212995"}, + {"2a00:1a30::/32", "25369"}, + {"2a02:26f7:e044::/48", "36183"}, + {"2a10:2f01:310::/44", "39526"}, + {"2405:9800:c981::/35", "45430"}, + {"2a02:26f7:fb88::/48", "36183"}, + {"2a0f:ce00::/29", "208261"}, + {"2001:c38:9057::/42", "9931"}, + {"2402:800:f810::/42", "7552"}, + {"2402:e380:308::/48", "137256"}, + {"240a:a1e7::/32", "143137"}, + {"2605:7900:20::/47", "63442"}, + {"2806:2f0:6021::/46", "17072"}, + {"2001:559:8112::/45", "7922"}, + {"2405:6e00:2ee::/48", "18291"}, + {"2408:840c:a900::/40", "17621"}, + {"240a:a9a9::/32", "145123"}, + {"2804:2538:200::/33", "28183"}, + {"2806:2f0:2462::/48", "17072"}, + {"2001:559:463::/48", "20214"}, + {"2a04:ae00::/26", "1257"}, + {"2a11:f940::/29", "210118"}, + {"240e:3ba:c000::/37", "140315"}, + {"2a04:de40::/42", "20860"}, + {"2001:16e8:1115::/46", "25542"}, + {"2402:fb00:4000::/32", "3300"}, + {"2409:896a:4800::/39", "9808"}, + {"240a:6b::/32", "9605"}, + {"2604:9fc0::/32", "63270"}, + {"2804:5444::/32", "268638"}, + {"2a02:26f0:a301::/37", "20940"}, + {"2001:418:144d::/48", "275"}, + {"240a:a768::/32", "144546"}, + {"2600:1488:a081::/41", "20940"}, + {"2800:160:126f::/43", "14259"}, + {"2a01:664:1b00::/30", "48951"}, + {"2a02:26f7:de85::/46", "20940"}, + {"2001:1248:9822::/44", "11172"}, + {"2404:f4c0:f54e::/48", "140498"}, + {"2408:8756:4c00::/40", "136959"}, + {"2602:fe3f::/32", "21907"}, + {"2602:ff62:104::/47", "61317"}, + {"2a06:500::/29", "38990"}, + {"2409:8959:cb44::/43", "9808"}, + {"2801:80:e0::/48", "53215"}, + {"2803:9c0::/40", "207036"}, + {"2804:15cc::/32", "263411"}, + {"2001:678:668::/48", "39591"}, + {"2001:4c08:2001::/48", "10753"}, + {"2602:fe7e::/36", "32494"}, + {"2801:1ea::/44", "27951"}, + {"2a10:bcc0::/29", "211597"}, + {"2001:9c8::/29", "29518"}, + {"2600:6c3b:405::/42", "20115"}, + {"2804:14d:a04b::/40", "28573"}, + {"2804:5c20::/32", "268890"}, + {"2001:ee0:3020::/39", "45899"}, + {"2604:d600:c7d::/46", "32098"}, + {"2804:6ef0::/32", "270628"}, + {"2a01:c50e:1600::/36", "12479"}, + {"2401:fd80:ffff::/48", "139853"}, + {"2408:8456:1a40::/40", "17816"}, + {"2806:2f0:6261::/46", "17072"}, + {"2408:80f1:40::/44", "138421"}, + {"2804:145c:cc10::/39", "263327"}, + {"2806:32d::/32", "28431"}, + {"2a02:26f7:d945::/46", "20940"}, + {"2001:e60:a808::/40", "4766"}, + {"2401:d800:d930::/41", "7552"}, + {"2804:5808::/32", "268101"}, + {"2a03:2880:f202::/44", "32934"}, + {"2407:ed40::/32", "147079"}, + {"2408:8656:30fb::/48", "17816"}, + {"2409:8004:3013::/42", "24547"}, + {"240a:a01b::/32", "142677"}, + {"2620:66:a000::/48", "30323"}, + {"2804:59e8::/36", "268733"}, + {"2804:6ce4::/32", "270499"}, + {"2a01:190:15e8::/48", "29330"}, + {"2a02:2d8:1:780b::/32", "9002"}, + {"2001:470:56::/48", "7175"}, + {"2001:559:c2c0::/48", "33660"}, + {"2001:4888:a670::/33", "6167"}, + {"2804:880::/32", "28270"}, + {"2a0c:1700:4::/29", "205112"}, + {"2001:559:80f2::/48", "33659"}, + {"2408:80ea:75a0::/41", "17816"}, + {"2605:d580::/32", "46690"}, + {"2620:186:8::/46", "19690"}, + {"2804:5988::/32", "268708"}, + {"2a00:16f8:11::/32", "6461"}, + {"2a02:26f0:4500::/48", "34164"}, + {"2a02:26f0:8601::/39", "20940"}, + {"2a0d:2d42::/29", "62075"}, + {"2a11:b80::/29", "208861"}, + {"2001:67c:105c::/48", "58226"}, + {"2400:a980:a100::/29", "133111"}, + {"240a:ae2c::/32", "146278"}, + {"2605:3600:fffc::/46", "30452"}, + {"2a04:4e40:da10::/41", "54113"}, + {"2a09:2944::/31", "207996"}, + {"2001:df7:ea80::/48", "146972"}, + {"2405:9f40::/32", "139898"}, + {"240a:ae64::/32", "146334"}, + {"2620:17:a000::/48", "32334"}, + {"2804:2550::/32", "264273"}, + {"2a05:6080::/29", "44920"}, + {"2a0f:600::/48", "51044"}, + {"2001:49f0:d0e7::/43", "174"}, + {"2600:1406:6c01::/35", "20940"}, + {"2610:130:1d00::/34", "6122"}, + {"2804:69f0::/32", "270301"}, + {"2001:579:5a44::/43", "22773"}, + {"2001:678:f0::/48", "29695"}, + {"2400:cb00:410::/45", "13335"}, + {"2406:d840::/32", "141322"}, + {"240a:a1ec::/32", "143142"}, + {"240e:980:2a00::/40", "63835"}, + {"2800:160:1fcc::/43", "14259"}, + {"2a00:1eb8:c001::/48", "50065"}, + {"2a02:26f7:f90c::/48", "36183"}, + {"2a02:2e02:11c0::/38", "12479"}, + {"2a0f:a180::/29", "208083"}, + {"2606:1040::/35", "12243"}, + {"2a00:1728:31::/46", "34224"}, + {"2a00:1bf8::/32", "8487"}, + {"2a06:41c0:6::/44", "51559"}, + {"2001:559:8101::/48", "33287"}, + {"2602:fdf0::/36", "396056"}, + {"2606:4100::/32", "11745"}, + {"2800:160:1a9d::/42", "14259"}, + {"2804:1260::/32", "263473"}, + {"2a08:600:e0::/47", "210536"}, + {"2400:bd00:8004::/33", "45267"}, + {"2404:f4c0:f70f::/48", "138517"}, + {"2600:100c:b0f0::/38", "22394"}, + {"2606:ae80:1474::/44", "26762"}, + {"2806:2f0:44c1::/46", "17072"}, + {"2a00:bf00::/32", "5387"}, + {"2a02:ac80:1001::/34", "25145"}, + {"2c0f:f6d0:23::/44", "327687"}, + {"2001:ee0:ed00::/40", "45899"}, + {"2403:89c0:3::/32", "55824"}, + {"2405:d300::/43", "17477"}, + {"2408:840d:2700::/42", "17621"}, + {"2409:8c85:aa5d::/42", "9808"}, + {"2a04:2fc7::/32", "43238"}, + {"2001:67c:1724::/48", "25151"}, + {"2400:9940::/35", "136224"}, + {"2405:9800:c921::/45", "45430"}, + {"2803:ecc0:d00::/34", "264814"}, + {"2a02:cb40::/32", "20546"}, + {"2620:100:5000::/45", "19557"}, + {"2804:222c:400::/32", "264596"}, + {"2804:8220::/32", "272500"}, + {"2806:2f0:9561::/46", "17072"}, + {"2a0f:607:1052::/48", "212425"}, + {"2001:559:2d2::/48", "7016"}, + {"2400:4ec0:9502::/38", "64300"}, + {"2602:fd3f:f00::/48", "6939"}, + {"2606:2800:4111::/46", "15133"}, + {"2804:49e0::/32", "267206"}, + {"2804:55ec::/32", "267965"}, + {"2806:2f0:4181::/46", "17072"}, + {"2a0f:ff40::/29", "207641"}, + {"2001:ee0:8040::/39", "45899"}, + {"2402:e100::/32", "58485"}, + {"240e:438:ac20::/43", "140647"}, + {"2a01:c50f:c40::/35", "12479"}, + {"2a12:4440::/32", "213052"}, + {"2001:250:7034::/48", "24370"}, + {"2001:16d8:afff::/35", "16150"}, + {"2602:fdb7::/47", "396073"}, + {"2800:190:408::/33", "11664"}, + {"2804:1f48::/32", "53016"}, + {"2402:800:fba0::/41", "7552"}, + {"240c:ce82::/25", "23910"}, + {"2a0e:b107:710::/48", "206843"}, + {"2402:6800:760::/48", "55429"}, + {"2804:110::/32", "28590"}, + {"2a01:5f20::/32", "56784"}, + {"2a10:d502::/32", "22773"}, + {"2409:8060:1100::/36", "9808"}, + {"240a:a318::/32", "143442"}, + {"2a09:84c0:500::/32", "8145"}, + {"2001:559:31f::/48", "33491"}, + {"2407:5280:500::/45", "133557"}, + {"2a05:eb80::/29", "39479"}, + {"2001:470:e4::/48", "36103"}, + {"2409:8c54:3100::/33", "56040"}, + {"2600:370f:6061::/46", "32261"}, + {"2800:bf0:a806::/48", "27947"}, + {"2001:67c:3b8::/48", "44786"}, + {"2001:4878:4246::/48", "12222"}, + {"2409:8008:2100::/36", "24547"}, + {"2605:3380:41fc::/46", "12025"}, + {"2a0e:7180::/29", "200023"}, + {"2001:67c:2cd8::/48", "47867"}, + {"2001:1410::/32", "25538"}, + {"240a:a3fb::/32", "143669"}, + {"2804:5d30::/32", "268956"}, + {"2a02:26f7:da89::/42", "20940"}, + {"2a02:26f7:ea8c::/48", "36183"}, + {"2a05:5c00::/29", "51630"}, + {"2001:c38:1000::/34", "9335"}, + {"240a:a2e7::/32", "143393"}, + {"2604:3400:aaac::/48", "209453"}, + {"2604:d600:102d::/43", "32098"}, + {"2804:150:f000::/31", "10954"}, + {"2602:fd11::/36", "40895"}, + {"2803:6604:6000::/37", "28075"}, + {"2804:7cc0::/32", "271516"}, + {"2806:230:2050::/48", "265594"}, + {"2a00:18e0:5::/48", "16509"}, + {"2a00:a360::/32", "60435"}, + {"2001:250:5805::/46", "138371"}, + {"2400:e780::/32", "131198"}, + {"2409:8c85:aa6b::/45", "9808"}, + {"2600:9000:238c::/48", "16509"}, + {"2804:6264::/32", "269294"}, + {"2804:736c::/32", "270914"}, + {"2001:503:d2d::/48", "396566"}, + {"2001:df1:df00::/48", "136805"}, + {"2404:4a00:2095::/35", "45629"}, + {"240a:afd3::/32", "146701"}, + {"2620:110:e000::/48", "16653"}, + {"2a03:afc0:1::/44", "52000"}, + {"2001:678:284::/48", "206885"}, + {"2402:800:3ed3::/44", "7552"}, + {"2602:fe3a:5::/48", "20119"}, + {"2803:2e10::/32", "271968"}, + {"2001:67c:2ae4::/48", "20572"}, + {"2620:7e:c080::/48", "33187"}, + {"2a01:be00::/32", "197248"}, + {"2001:df0:3600::/48", "135014"}, + {"2600:370f:9063::/43", "32261"}, + {"2804:694:3001::/36", "262596"}, + {"2a03:c7c0::/32", "59432"}, + {"2606:ae00:bf80::/33", "7287"}, + {"2a00:7e80::/32", "197197"}, + {"2a02:26f7:de04::/48", "36183"}, + {"2600:6c21:11::/45", "20115"}, + {"2a02:26f7:bf4d::/46", "20940"}, + {"2001:67c:1c8::/48", "48896"}, + {"2001:df5:4500::/48", "137876"}, + {"2001:490:2000::/35", "14803"}, + {"2001:67c:2150::/48", "49750"}, + {"2400:9380:80c0::/44", "136167"}, + {"240e:63:3000::/33", "140312"}, + {"2604:6e00:2800::/37", "13977"}, + {"2a00:5ba0::/29", "680"}, + {"240a:a2f7::/32", "143409"}, + {"240e:44d:b80::/41", "4134"}, + {"2a01:9000::/29", "43424"}, + {"2a01:ade0::/32", "24641"}, + {"2a02:26f0:100::/45", "20940"}, + {"2604:f6c0::/32", "22987"}, + {"2607:fbe8::/32", "7055"}, + {"2804:1a0:2::/36", "28189"}, + {"2a02:a400::/25", "1136"}, + {"2a02:e980:14f::/43", "19551"}, + {"2401:f000:2:200::/56", "23838"}, + {"2409:8c20:5000::/42", "56046"}, + {"240a:a4c3::/32", "143869"}, + {"2804:6f5c::/32", "270655"}, + {"2001:67c:2fd8::/48", "205496"}, + {"2401:c680:b::/45", "133854"}, + {"2402:ef03:2100::/33", "7633"}, + {"2405:f900::/32", "132509"}, + {"2406:fd00:100::/40", "24459"}, + {"2620:0:c12::/45", "22317"}, + {"2a01:111:2003::/48", "8068"}, + {"2a0a:4580::/29", "29670"}, + {"2c0f:2600::/32", "328848"}, + {"2408:843c::/35", "4837"}, + {"2409:8c18::/31", "134810"}, + {"2604:7e00:80::/32", "17378"}, + {"2604:d600:68e::/43", "32098"}, + {"2a05:d9c0::/29", "200970"}, + {"2a10:3144::/30", "398481"}, + {"240e:608::/35", "137691"}, + {"2804:1850::/32", "61929"}, + {"2a00:79e1:806::/42", "36384"}, + {"2a05:c0c0::/29", "49920"}, + {"2a0b:4040::/29", "62217"}, + {"2a10:bb00::/29", "47864"}, + {"2001:fd8:3042::/44", "132199"}, + {"2403:9400:1::/46", "10006"}, + {"240e:ff:c002::/48", "134773"}, + {"240e:108:88::/48", "38283"}, + {"2a0c:ec00::/29", "205255"}, + {"2408:8956:2300::/40", "17816"}, + {"240a:a2a5::/32", "143327"}, + {"240e:967:c600::/36", "4134"}, + {"2800:160:1b5b::/42", "14259"}, + {"2001:5f8:7d04::/38", "5056"}, + {"2001:43f8:9f0::/48", "327705"}, + {"2408:840c:2d00::/40", "17621"}, + {"240a:a8ea::/32", "144932"}, + {"2a00:8740:15::/44", "49037"}, + {"2a02:5740:21::/48", "41564"}, + {"2a04:e4c0:59::/48", "36692"}, + {"2001:559:34f::/43", "33651"}, + {"2001:578:10::/46", "22773"}, + {"2001:4980:4445::/32", "7753"}, + {"2600:6c38:f36::/44", "20115"}, + {"2620:a0:4002:107::/48", "55064"}, + {"2402:800:521d::/42", "7552"}, + {"2804:62e4:faa3::/41", "269326"}, + {"2a02:26f7:b9c8::/48", "36183"}, + {"2a06:cb80::/32", "60804"}, + {"2001:da8:6013::/42", "24355"}, + {"2401:ab80::/32", "38197"}, + {"2409:8030:3802::/40", "9808"}, + {"240e:1a:110::/44", "134769"}, + {"2600:387:c::/43", "7018"}, + {"2a02:2e02:1020::/40", "12479"}, + {"2a0c:9e00::/32", "7018"}, + {"2403:4000::/43", "24122"}, + {"2600:6c10:f40f::/40", "20115"}, + {"2a0b:1980::/29", "206529"}, + {"240a:af7d::/32", "146615"}, + {"2600:380:d410::/38", "7018"}, + {"2600:1007:a100::/44", "6167"}, + {"2602:feda:30::/44", "46997"}, + {"2804:5ac::/32", "10412"}, + {"2a03:9060::/32", "28768"}, + {"2a0a:c9c0::/32", "205818"}, + {"2600:6c10:ff91::/45", "20115"}, + {"2806:230:500a::/48", "265594"}, + {"2a06:24c0::/29", "12576"}, + {"2a0d:e940::/36", "35507"}, + {"2001:250:3015::/44", "24357"}, + {"240e:449::/32", "140553"}, + {"2602:80c:1004::/48", "10796"}, + {"2602:fcf6:ffd::/48", "59417"}, + {"2a05:b40::/29", "57043"}, + {"2a0a:800::/29", "64478"}, + {"2001:579:7114::/41", "22773"}, + {"2001:12f0:7c0::/36", "1916"}, + {"2408:8409:1800::/40", "4808"}, + {"2605:a401:8d3a::/40", "33363"}, + {"2607:b400:100::/36", "40220"}, + {"2800:bf0:a828::/48", "27947"}, + {"2a03:2887:ff27::/44", "63293"}, + {"2a09:6d80::/32", "13984"}, + {"2a02:26f0:4d01::/40", "20940"}, + {"2401:4900:3b70::/44", "45609"}, + {"240a:a083::/32", "142781"}, + {"240a:a50b::/32", "143941"}, + {"2804:bc8::/32", "52829"}, + {"2804:738c::/32", "270922"}, + {"2001:43f8:1f4::/48", "37663"}, + {"240e:56:c000::/37", "38283"}, + {"2001:4858::/32", "32097"}, + {"2406:da70:4000::/40", "16509"}, + {"240a:aafd::/32", "145463"}, + {"2607:f928:15::/46", "14085"}, + {"2620:74:a8::/48", "26134"}, + {"2806:230:5004::/48", "265594"}, + {"2001:918:1ac::/36", "3303"}, + {"2607:f368::/36", "32982"}, + {"2620:1bc:102d::/46", "7726"}, + {"2001:559:c179::/48", "33652"}, + {"2001:c38:9014::/42", "9931"}, + {"2409:811e::/31", "24400"}, + {"2600:370f:2063::/45", "32261"}, + {"2605:dd40:8f90::/41", "398549"}, + {"2001:559:8337::/48", "13367"}, + {"2a01:30::/31", "8875"}, + {"2a0e:fd45:2b60::/48", "210383"}, + {"2001:550:3c01::/39", "174"}, + {"2406:840:fefa::/48", "141694"}, + {"2409:8051:3100::/37", "9808"}, + {"2409:8924:b500::/38", "56046"}, + {"2804:1198::/32", "263426"}, + {"2804:673c:600::/40", "269615"}, + {"2a09:8700::/32", "12586"}, + {"2a0b:4340:3211::/42", "48024"}, + {"2001:504:57::/48", "64213"}, + {"2602:80a:2004::/48", "398351"}, + {"2001:67c:1844::/48", "199846"}, + {"2001:978:5300:1::/47", "174"}, + {"2001:b08:f::/43", "3267"}, + {"240d:c010:74::/47", "139341"}, + {"2600:4405::/30", "6130"}, + {"2800:310::/47", "18678"}, + {"2a02:26f7:ec10::/48", "36183"}, + {"2a03:f80:420::/48", "174"}, + {"2a0d:ce80::/29", "204189"}, + {"2001:1970::/32", "7992"}, + {"2404:92c0:ff00::/48", "48024"}, + {"240b:4003:e::/48", "45102"}, + {"2602:fbcf:c1::/46", "213384"}, + {"2a00:d101::/34", "15704"}, + {"2a02:26f7:e68d::/42", "20940"}, + {"2a0b:4341:a14::/48", "57695"}, + {"2a0e:fd45:1337::/48", "207740"}, + {"2804:3b34::/32", "266135"}, + {"240a:a9aa::/32", "145124"}, + {"2605:ce80::/37", "393713"}, + {"2606:2f40::/32", "399398"}, + {"2a0c:8fc1::/40", "34081"}, + {"2a0e:1c80:4::/48", "47869"}, + {"2607:6400::/35", "30688"}, + {"2a02:26f7:d7c5::/46", "20940"}, + {"2a0c:4181::/32", "56434"}, + {"2804:4d38::/32", "267419"}, + {"2a06:e881:119::/48", "39753"}, + {"2a07:c387::/32", "8288"}, + {"2a0b:3080:20::/32", "206516"}, + {"2a10:c5c0::/31", "211547"}, + {"2001:550:3704::/36", "174"}, + {"2801:80:1c20::/48", "266068"}, + {"2001:67c:7e0::/48", "41399"}, + {"2001:67c:1954::/48", "44574"}, + {"240a:a85e::/32", "144792"}, + {"240e:108:1130::/47", "137693"}, + {"2600:6c10:ffc2::/42", "20115"}, + {"2604:b000::/34", "14638"}, + {"2a09:10c0::/29", "6886"}, + {"2a10:6180::/29", "204790"}, + {"2600:6c34:302::/48", "33588"}, + {"2804:174::/32", "53152"}, + {"2804:f08::/32", "263563"}, + {"2001:559:799::/48", "7922"}, + {"2001:559:822c::/48", "7922"}, + {"2001:1248:70f2::/48", "11172"}, + {"240a:a098::/32", "142802"}, + {"240a:ae74::/32", "146350"}, + {"2600:1406:3601::/36", "20940"}, + {"2a01:8740:1::/48", "203380"}, + {"2a02:26f7:bdc4::/48", "36183"}, + {"2001:1248:9a2e::/43", "11172"}, + {"2400:a040:ffff::/48", "137995"}, + {"2408:8957:9d00::/40", "17816"}, + {"2804:5804::/32", "268100"}, + {"2806:103e:1::/46", "8151"}, + {"2a00:1528::/39", "6696"}, + {"2a09:bac0:382::/48", "13335"}, + {"2400:ba40::/32", "64271"}, + {"2605:5080::/33", "3367"}, + {"2620:b1:8000::/48", "7018"}, + {"2a10:fa80:212::/48", "57050"}, + {"240e:108:11d3::/48", "134756"}, + {"2604:1380:4550::/42", "54825"}, + {"2804:18:850::/44", "26599"}, + {"2c0f:e9e0::/32", "22572"}, + {"2001:df6:a900::/48", "133320"}, + {"2804:a4c::/32", "262268"}, + {"2804:69a0::/32", "270281"}, + {"2a0e:46c7::/48", "34681"}, + {"2001:fe0::/36", "4775"}, + {"2405:6e00:2690::/41", "18291"}, + {"240a:a8ac::/32", "144870"}, + {"2606:2800:4a0c::/46", "15133"}, + {"2a0b:f400::/32", "15698"}, + {"2001:559:a5::/46", "7922"}, + {"2a01:4ba0::/46", "199987"}, + {"2404:bf40:84c1::/42", "139084"}, + {"2409:8077:2905::/28", "9808"}, + {"240a:a86b::/32", "144805"}, + {"2604:6600:38c::/34", "40676"}, + {"2604:8d00::/32", "3700"}, + {"2a00:4b80:3::/48", "41368"}, + {"2a02:7ac0::/32", "42708"}, + {"2a10:c680::/29", "42357"}, + {"2001:da8:3051::/36", "23910"}, + {"2a02:26f7:be45::/46", "20940"}, + {"2a05:5ec0:2::/29", "201364"}, + {"2408:80ea:6400::/41", "17816"}, + {"2600:1488:6481::/32", "20940"}, + {"2605:d000::/32", "15108"}, + {"2a03:5820::/32", "47736"}, + {"2a04:54c0::/29", "202230"}, + {"240e:982:3200::/39", "138991"}, + {"2600:1419:d401::/36", "20940"}, + {"2605:c540:c010::/44", "398378"}, + {"2804:77a4::/32", "271190"}, + {"2a05:4200:a::/45", "21534"}, + {"240a:ab7c::/32", "145590"}, + {"2605:9740::/32", "398052"}, + {"2803:df00::/32", "262199"}, + {"2a0d:7f00::/29", "8560"}, + {"2401:160c::/32", "133090"}, + {"240a:ad66::/32", "146080"}, + {"2804:2e7c::/32", "265348"}, + {"2001:559:8655::/48", "7725"}, + {"2409:8a3c:8a00::/31", "24444"}, + {"2001:559:8505::/48", "7015"}, + {"2001:c20:19::/37", "3758"}, + {"2400:a980:ef::/37", "133111"}, + {"2401:1d40::/48", "23724"}, + {"2401:b200:93::/32", "24186"}, + {"2600:1015:9010::/39", "6167"}, + {"2600:6c04::/40", "20115"}, + {"2800:bf0:a833::/35", "27947"}, + {"2a06:7280::/29", "204096"}, + {"2403:300:a0a::/48", "6185"}, + {"2600:100e:f010::/39", "6167"}, + {"2620:c:4000::/48", "14834"}, + {"2a0f:3740::/29", "60262"}, + {"2409:8904:6770::/40", "24547"}, + {"2804:6ab0::/32", "270353"}, + {"2a03:5342::/44", "8983"}, + {"2402:8400:200::/40", "17820"}, + {"2804:104c::/40", "263629"}, + {"2a03:7580:4100::/32", "28785"}, + {"2a0b:2281::/29", "43685"}, + {"2001:348::/32", "7679"}, + {"2407:16c0::/48", "135905"}, + {"2408:8459:cb30::/41", "17622"}, + {"2409:8057:801::/45", "56040"}, + {"2600:2100::/32", "54858"}, + {"2607:f368:2100::/36", "32982"}, + {"2001:1248:9aaa::/45", "11172"}, + {"2404:c140:154::/38", "138997"}, + {"2409:893c::/31", "24444"}, + {"2600:6c20:11a::/38", "20115"}, + {"2a03:c040:5::/46", "199484"}, + {"2a03:c480::/32", "198095"}, + {"2a0d:dbc0::/29", "212660"}, + {"2001:559:8747::/48", "7015"}, + {"2407:e500:c::/46", "38551"}, + {"240a:aa49::/32", "145283"}, + {"2620:17a:8::/48", "7345"}, + {"2804:4438::/32", "267610"}, + {"2001:550:2208::/46", "174"}, + {"2001:67c:540::/48", "3301"}, + {"2001:df4:5c80::/48", "135752"}, + {"240c:c726::/32", "24364"}, + {"2606:5940::/32", "399599"}, + {"2804:5d40::/32", "268960"}, + {"2600:1417:2c::/48", "9498"}, + {"2a00:4bc0:2130::/46", "16509"}, + {"2a0d:c140::/29", "211332"}, + {"2a0f:4f40::/48", "48749"}, + {"2405:1c0:6000::/46", "55303"}, + {"2a02:4d0::/32", "8816"}, + {"2409:8053:1802::/40", "56047"}, + {"2606:2800:4130::/47", "15133"}, + {"2804:7228::/32", "270836"}, + {"2a02:26f7:db05::/46", "20940"}, + {"2804:7484::/32", "270986"}, + {"2001:67c:84c::/48", "210775"}, + {"2400:6540::/48", "135905"}, + {"240e:981:9100::/34", "4134"}, + {"2401:7c00::/36", "18400"}, + {"240e:848:50::/42", "4134"}, + {"2800:440:70::/48", "27738"}, + {"2804:7768::/32", "271176"}, + {"2a04:2b00:13cc::/48", "60890"}, + {"2400:adce::/40", "9541"}, + {"2408:8456:1600::/42", "17622"}, + {"240a:ae6a::/32", "146340"}, + {"2620:1f7:81d::/35", "18703"}, + {"2a02:58::/32", "25596"}, + {"2400:6300::/48", "17825"}, + {"2600:140f:5801::/39", "20940"}, + {"2604:6600:2608::/39", "40676"}, + {"2a06:3f00::/29", "62163"}, + {"2405:fd80:1300::/40", "135391"}, + {"2803:7000:9000::/33", "52362"}, + {"2a02:26f7:c640::/48", "36183"}, + {"2a03:9600::/32", "31562"}, + {"2407:1e40:6::/38", "141732"}, + {"240a:aef0::/32", "146474"}, + {"240a:af5c::/32", "146582"}, + {"2600:6c3a:7f::/37", "20115"}, + {"2804:8658::/39", "272637"}, + {"2a01:6500:a04c::/43", "42925"}, + {"2a01:ce8d:3000::/32", "51964"}, + {"2a02:26f7:e788::/48", "36183"}, + {"2a0b:6580::/29", "204007"}, + {"2401:d800:2f70::/40", "7552"}, + {"2405:7f00:82a0::/39", "133414"}, + {"2408:8956:e300::/40", "17816"}, + {"2806:2f0:7261::/46", "17072"}, + {"2a03:b640::/32", "9038"}, + {"2001:559:8702::/48", "7015"}, + {"2001:678:1b::/48", "51966"}, + {"2001:df7:c180::/48", "147087"}, + {"2400:7a00::/32", "6939"}, + {"2408:8456:6c40::/39", "17816"}, + {"240a:a08e::/32", "142792"}, + {"240a:a772::/32", "144556"}, + {"2600:380:9400::/39", "20057"}, + {"2600:6c10:c0a::/45", "20115"}, + {"2a00:d480::/32", "16246"}, + {"2606:8000::/32", "17253"}, + {"2800:484:c200::/40", "14080"}, + {"2a0a:d880:102::/48", "16509"}, + {"2001:67c:918::/48", "209460"}, + {"2408:8256:3b96::/44", "17623"}, + {"2604:f980:5100::/40", "19957"}, + {"2a02:1348::/32", "51059"}, + {"2a0d:8d07:119::/32", "207616"}, + {"2a10:5640::/32", "211690"}, + {"2c0f:ec40:6000::/32", "327936"}, + {"2001:67c:2270::/48", "196674"}, + {"2001:930:14a::/32", "15924"}, + {"2405:100::/39", "9905"}, + {"240a:add0::/32", "146186"}, + {"2605:3ac0:1000::/36", "6939"}, + {"2620:15e:101::/46", "30383"}, + {"2804:2fbc::/32", "264909"}, + {"2401:3900::/32", "45447"}, + {"2401:5e40:1100::/36", "63770"}, + {"2605:a404:37::/44", "33363"}, + {"2a00:1610::/29", "34183"}, + {"2a01:6800::/32", "41809"}, + {"2001:559:80ed::/48", "7922"}, + {"2001:559:85ed::/48", "33662"}, + {"2001:4b20:100:598::/64", "65505"}, + {"240a:a0f9::/32", "142899"}, + {"2600:6c46::/32", "20115"}, + {"2a05:4140:201::/48", "211522"}, + {"2408:8456:a210::/42", "134543"}, + {"2603:4:1304::/48", "44273"}, + {"2607:fb90:6d00::/35", "21928"}, + {"2a01:63a0::/32", "199907"}, + {"2a02:26f7:bb09::/42", "20940"}, + {"2a07:db01:40::/42", "204527"}, + {"2001:67c:1901::/46", "6848"}, + {"2404:bf40:a301::/46", "7545"}, + {"2605:8000:91::/38", "4261"}, + {"2804:2674::/47", "264344"}, + {"2804:74d8::/32", "271007"}, + {"2a03:2880:f246::/44", "32934"}, + {"2402:9900:211::/48", "27435"}, + {"240a:ad16::/32", "146000"}, + {"2a0f:c940::/29", "210107"}, + {"2001:579:90fd::/39", "22773"}, + {"240e:44d:4000::/41", "140345"}, + {"2801:158::/36", "52336"}, + {"2806:2f0:3241::/46", "17072"}, + {"2806:2f0:3501::/46", "17072"}, + {"2806:2f0:9361::/40", "17072"}, + {"2a0d:cb80::/29", "61062"}, + {"2a0d:e8c0:2::/29", "35829"}, + {"2001:1b75::/36", "28852"}, + {"2408:8256:3d69::/48", "17816"}, + {"2409:8959:ca54::/39", "56040"}, + {"2600:9000:229f::/48", "16509"}, + {"2a05:e4c0::/31", "39521"}, + {"2001:250:6009::/48", "24364"}, + {"2604:b200::/32", "29"}, + {"2a01:9b80::/32", "12301"}, + {"2a0a:6c0::/29", "47447"}, + {"2001:678:e0c::/48", "212783"}, + {"2403:4e00:30c::/32", "45528"}, + {"2404:1c40:6::/48", "24432"}, + {"2408:8256:379c::/46", "17623"}, + {"2607:f368:320f::/48", "46846"}, + {"2a02:a18::/32", "29492"}, + {"2a02:2e02:3d60::/32", "12479"}, + {"2a02:6ea0:e400::/39", "211612"}, + {"2a04:ac06::/32", "56534"}, + {"2001:67c:1898::/48", "31337"}, + {"2001:67c:2e58::/48", "205376"}, + {"2001:1248:5982::/45", "11172"}, + {"2600:3c0f:2::/45", "63949"}, + {"2602:fea7:d00::/40", "399139"}, + {"2806:230:1012::/48", "265594"}, + {"2c0f:fa10::/32", "30844"}, + {"2404:b680::/32", "135290"}, + {"2600:100a:b140::/40", "22394"}, + {"2600:1801:12::/47", "16552"}, + {"2605:7680::/32", "11042"}, + {"2607:f060:1000::/46", "17017"}, + {"2804:746c::/33", "270980"}, + {"2a02:c6c0::/32", "12722"}, + {"2402:3a80:50::/46", "38266"}, + {"2600:1000:f010::/40", "22394"}, + {"2804:20b0::/32", "264508"}, + {"2806:230:302f::/36", "11888"}, + {"2a02:26f0:8201::/39", "20940"}, + {"2a04:e00:18::/47", "54103"}, + {"2c0f:f7a8:9210::/47", "4809"}, + {"2001:67c:15f4::/48", "41103"}, + {"240a:a660::/32", "144282"}, + {"2a02:850:ffff::/48", "1921"}, + {"2a05:2607::/32", "57948"}, + {"2a07:6cc0:20::/47", "61098"}, + {"2a0f:a940::/29", "60781"}, + {"2a00:6f60::/32", "44923"}, + {"2a00:f826:3::/48", "30823"}, + {"2a02:26f7:c2c5::/46", "20940"}, + {"2a09:12c0::/48", "34775"}, + {"2a0b:e600::/29", "203964"}, + {"2a0e:97c3:467::/48", "20473"}, + {"2a10:4646:6::/48", "47484"}, + {"2001:559:495::/46", "7922"}, + {"2600:8807:a1c0::/36", "22773"}, + {"2600:9000:21cc::/42", "16509"}, + {"2804:6cc::/32", "262607"}, + {"2804:1a04:27::/33", "61832"}, + {"2001:418:149d::/48", "93"}, + {"2001:559:81fb::/48", "7015"}, + {"2001:559:87ae::/47", "7922"}, + {"2600:1419:1a::/48", "20940"}, + {"2620:13f:701c::/48", "59116"}, + {"2a03:f80:7::/48", "56630"}, + {"2a0b:b86:fff0::/44", "50867"}, + {"2a0c:5247:4000::/36", "208861"}, + {"2402:800:9efe::/39", "7552"}, + {"2605:1f00::/32", "14335"}, + {"2606:ae00:a000::/47", "7287"}, + {"2001:df4:5c00::/48", "135724"}, + {"2401:d800:fcd0::/42", "7552"}, + {"2600:100e:9010::/39", "6167"}, + {"2602:fd15::/47", "398465"}, + {"2607:fc58:1:44::/64", "13536"}, + {"2a02:2288::/29", "41765"}, + {"2400:6180:f000::/36", "14061"}, + {"2406:e000:32b::/45", "23655"}, + {"240a:afc9::/32", "146691"}, + {"2607:5300::/32", "16276"}, + {"2a02:888:8148::/47", "48695"}, + {"2a02:1f0::/32", "34080"}, + {"2402:800:4303::/40", "7552"}, + {"2406:2700::/32", "38283"}, + {"240a:a580::/32", "144058"}, + {"2600:1403:6400::/48", "35994"}, + {"2605:640f:85ab::/48", "210935"}, + {"2a02:2e02:1500::/43", "12479"}, + {"2a0e:fd45:da6::/43", "44103"}, + {"2400:1a00:f000::/36", "17501"}, + {"2804:e0c:200::/48", "28176"}, + {"2a00:4a00::/34", "39356"}, + {"2602:fbcf:b1::/48", "209018"}, + {"2804:62f8::/32", "269331"}, + {"2001:678:918::/48", "57166"}, + {"2400:cb00:134::/44", "13335"}, + {"2406:f00:2::/48", "58758"}, + {"2600:9000:1e38::/47", "16509"}, + {"2607:9800:a10a::/33", "15085"}, + {"2806:230:6011::/48", "11888"}, + {"2a06:eec0::/29", "56722"}, + {"2a10:cc42:120::/44", "58336"}, + {"2a11:9c00::/40", "213354"}, + {"2400:1a00:b1e1::/36", "17501"}, + {"2407:9440::/47", "141626"}, + {"2408:8456:3450::/39", "17816"}, + {"2600:1404:d800::/48", "35994"}, + {"2605:a404:7db::/42", "33363"}, + {"2001:678:60::/48", "42"}, + {"2408:8456:b010::/42", "134543"}, + {"2804:279c::/32", "263913"}, + {"2a0b:fc0::/29", "42217"}, + {"2a10:9107:f000::/36", "209588"}, + {"2400:cb00:150::/44", "13335"}, + {"2404:bf40:8142::/42", "139084"}, + {"2604:8580::/32", "32363"}, + {"2800:bf0:3a42::/40", "27947"}, + {"2a0d:e380:2::/29", "204460"}, + {"2001:1978:802::/48", "13895"}, + {"2001:df5:ca80::/48", "132513"}, + {"2409:8c15:2800::/40", "9808"}, + {"2600:9000:1e2e::/48", "16509"}, + {"2602:ff4d::/36", "20412"}, + {"2804:77a0::/32", "271155"}, + {"2a00:1440::/32", "43727"}, + {"2001:559:c395::/48", "33667"}, + {"2001:da8:103c::/41", "24361"}, + {"2408:84f3:ac10::/42", "134543"}, + {"2803:7200:4::/46", "27696"}, + {"2a02:26f7:bd05::/46", "20940"}, + {"2a03:3160::/32", "62149"}, + {"2001:67c:278c::/48", "12732"}, + {"240e:980:2d00::/40", "136197"}, + {"2602:fc4b::/36", "6977"}, + {"2806:230:302c::/48", "265594"}, + {"2a0e:97c0:7e0::/48", "51076"}, + {"2001:428:6402:220::/64", "2639"}, + {"240a:ab47::/32", "145537"}, + {"2800:4e0:c000::/34", "16629"}, + {"2a02:26f7:d401::/46", "20940"}, + {"2001:df0:6380::/48", "135972"}, + {"2401:2d00:12::/48", "17625"}, + {"2403:6000::/39", "24085"}, + {"2405:3200:502::/38", "17639"}, + {"2a0f:4340::/29", "211626"}, + {"2a12:84c0::/45", "207420"}, + {"2001:4db8::/32", "35706"}, + {"2404:e4c0:5105::/48", "54201"}, + {"2806:2f0:6103::/42", "17072"}, + {"2a02:24b8::/40", "52030"}, + {"2a02:f784:20::/48", "25252"}, + {"2409:8c60:ea01::/30", "9808"}, + {"2602:fed3:8::/48", "19969"}, + {"2803:e840::/32", "61498"}, + {"2806:230:fff2::/48", "265594"}, + {"2a00:1228:103::/32", "31148"}, + {"2a0c:9a40:c002::/47", "209022"}, + {"2a0d:d742:40::/44", "210400"}, + {"2607:6100:e1::/48", "54380"}, + {"2804:17b4::/32", "263166"}, + {"2a02:cb00::/29", "43352"}, + {"2620:11f:d00a::/48", "393941"}, + {"2a02:e70:157::/40", "33965"}, + {"2a07:e345:100::/46", "212477"}, + {"2001:1a11:d7::/44", "42298"}, + {"2800:2a0:2401::/35", "27947"}, + {"2a06:f903::/36", "56630"}, + {"2001:428:4003::/48", "26062"}, + {"2804:35e8::/32", "266314"}, + {"2a00:1f19::/32", "197519"}, + {"2a01:618:400::/45", "43519"}, + {"2a02:26f7:ddc5::/46", "20940"}, + {"2a09:f200::/29", "39305"}, + {"2a0e:46c4:2c00::/44", "213326"}, + {"2001:43f8:a30::/48", "20294"}, + {"2a0e:2000::/29", "62068"}, + {"2001:1b40:3334::/32", "20860"}, + {"2409:8051:1900::/37", "9808"}, + {"240e:37e:ac00::/33", "4134"}, + {"2806:3ca::/32", "270124"}, + {"2a0e:2240:4::/48", "60781"}, + {"2001:559:84cf::/48", "22909"}, + {"240a:aa7e::/32", "145336"}, + {"240a:ad94::/32", "146126"}, + {"2603:f020::/25", "397165"}, + {"2801:15:6800::/48", "13489"}, + {"2a02:27b0::/33", "9146"}, + {"2406:1e40:f012::/47", "4837"}, + {"240e:3b3:d000::/36", "134772"}, + {"2600:c0b:1021::/32", "14745"}, + {"2605:a404:db9::/41", "33363"}, + {"2a03:1120::/32", "19419"}, + {"2401:4900:20::/56", "45609"}, + {"2404:2e00::/44", "10226"}, + {"2600:1480:8801::/37", "20940"}, + {"2602:fed2:7020::/46", "39753"}, + {"2001:559:112::/48", "7016"}, + {"2401:d800:470::/40", "7552"}, + {"2402:d340::/32", "38381"}, + {"2402:f180:3::/48", "58579"}, + {"240a:a11c::/32", "142934"}, + {"240a:a3d8::/32", "143634"}, + {"240a:aec1::/32", "146427"}, + {"2607:f8f0:660::/47", "36391"}, + {"2a03:2fc0::/32", "61394"}, + {"2001:67c:1034::/48", "48854"}, + {"2620:0:1600::/48", "4390"}, + {"2804:6e8c::/32", "270604"}, + {"2a02:af40::/29", "60187"}, + {"2a0a:2c0:5::/48", "12998"}, + {"240e:13:8000::/37", "148969"}, + {"2801:80:2250::/47", "267626"}, + {"2a09:bac0:417::/48", "13335"}, + {"2a0a:f940::/32", "48642"}, + {"2a10:2ec7:5000::/36", "208861"}, + {"2001:250:1c00::/44", "138376"}, + {"2001:1248:551b::/42", "11172"}, + {"2402:8100:20e6::/44", "45271"}, + {"240a:aef8::/32", "146482"}, + {"2600:1407:1c::/48", "3257"}, + {"2620:0:2e64::/48", "29997"}, + {"2620:149:fa::/45", "714"}, + {"2803:51c0::/32", "262181"}, + {"2001:978:900::/48", "47132"}, + {"2804:14d:5c77::/40", "28573"}, + {"2806:286:9000::/34", "265524"}, + {"2001:678:24::/48", "201612"}, + {"240e:3bf:dc00::/34", "4134"}, + {"2605:f480::/31", "7979"}, + {"2607:8b00:2::/47", "36454"}, + {"2804:6b3c::/32", "270387"}, + {"2a00:7c00::/32", "41783"}, + {"2a02:c48::/29", "49024"}, + {"240a:a168::/32", "143010"}, + {"2600:3501:5000::/32", "396998"}, + {"2610:20:90e2::/48", "3477"}, + {"2804:78cc::/32", "271266"}, + {"2a02:d8::/44", "44654"}, + {"2400:9380:8003::/48", "4134"}, + {"2804:294c::/32", "52556"}, + {"2a0c:de80::/48", "49453"}, + {"2a0e:f0c0::/29", "200713"}, + {"240a:a3c0::/32", "143610"}, + {"2600:1403:5401::/36", "20940"}, + {"2a00:1f98::/32", "43557"}, + {"2a07:3500:1460::/48", "34108"}, + {"240e:108:1173::/44", "4134"}, + {"2620:8d:c000::/48", "26365"}, + {"2a06:6c0:254::/47", "200738"}, + {"2a0e:a840::/47", "208440"}, + {"2401:cd80:100::/37", "63920"}, + {"2401:d040::/32", "136988"}, + {"2406:3000:a:2::/61", "4657"}, + {"2409:8043:2906::/37", "9808"}, + {"240e:183:8218::/46", "140654"}, + {"2804:4dfc::/32", "268232"}, + {"2804:7d7c:120::/43", "271564"}, + {"2a06:1440::/29", "30892"}, + {"2001:da8:248::/48", "23910"}, + {"2001:4250::/32", "17400"}, + {"2407:fe40::/32", "147184"}, + {"2605:4a00:310::/44", "14361"}, + {"2a02:26f7:d54c::/48", "36183"}, + {"2a07:9240::/29", "34907"}, + {"2001:448a:3070::/33", "7713"}, + {"2607:fd00:4::/48", "32922"}, + {"2801:15e::/44", "19429"}, + {"2a05:1500::/40", "200837"}, + {"2a0c:b641:6::/48", "34872"}, + {"2406:2a40::/32", "140734"}, + {"2620:103:90d2::/47", "15084"}, + {"2620:1bc:1018::/42", "7726"}, + {"2a02:26f7:cf80::/48", "36183"}, + {"2a05:2880::/32", "59827"}, + {"2a0c:4a00:c10::/42", "203351"}, + {"2a0e:97c3:7b8::/48", "20473"}, + {"2605:fd40::/32", "398930"}, + {"2c0f:fb88::/32", "37143"}, + {"2604:9d80:13::/32", "395172"}, + {"2606:2e00:8027::/44", "13213"}, + {"2800:110:1018::/48", "52442"}, + {"2800:bf0:a82a::/48", "27947"}, + {"2a02:2aa8:129::/45", "702"}, + {"2a10:80c0:1000::/48", "211331"}, + {"240a:a9b8::/32", "145138"}, + {"2604:f980:3000::/36", "19957"}, + {"2607:f3b0::/32", "21976"}, + {"2a00:e79::/30", "34602"}, + {"2a11:e87:3000::/33", "210625"}, + {"2001:4878:c048::/48", "12222"}, + {"2408:8456:5c40::/39", "17816"}, + {"2605:b900::/47", "36218"}, + {"2a04:bf80::/29", "198101"}, + {"2001:678:c58::/48", "213080"}, + {"2402:800:3d9b::/41", "7552"}, + {"2408:8474::/28", "4837"}, + {"2600:6c38:e10::/42", "20115"}, + {"2806:250:100::/40", "28554"}, + {"2a01:8840:19::/48", "207266"}, + {"2a02:888:8154::/38", "47794"}, + {"2a02:26f7:e745::/46", "20940"}, + {"2c0f:f2a0::/46", "327849"}, + {"240a:a7a0::/32", "144602"}, + {"240e:979:1e00::/40", "134770"}, + {"2610:38::/32", "21570"}, + {"2a11:9300::/29", "204790"}, + {"2001:559:c3fd::/48", "33667"}, + {"2404:e480::/32", "18127"}, + {"240e:44d:6080::/41", "4134"}, + {"2600:6c10:fc03::/43", "20115"}, + {"2001:1938:4002::/48", "33438"}, + {"240e:44d:1040::/42", "140358"}, + {"2400:cb00:260::/47", "13335"}, + {"2401:4900:2150::/42", "45609"}, + {"2402:3780::/48", "132789"}, + {"2402:8100:20dd::/46", "45271"}, + {"2404:8d04:2643::/32", "10089"}, + {"2408:8256:376a::/48", "17623"}, + {"2800:320:822::/48", "27882"}, + {"2804:5e0::/32", "262414"}, + {"2001:44b8:3082::/48", "7545"}, + {"2402:800:3255::/42", "7552"}, + {"2408:8957:900::/40", "17816"}, + {"2a0b:6b83:4243::/32", "202562"}, + {"2001:4c8:1068::/48", "46482"}, + {"2001:fd8:221::/46", "4775"}, + {"240a:a619::/32", "144211"}, + {"2607:f430::/32", "3663"}, + {"2804:2e1c:e481::/39", "265324"}, + {"2402:800:9d63::/43", "7552"}, + {"2604:d600:64d::/43", "32098"}, + {"2a07:140::/29", "44702"}, + {"2604:980:7000::/46", "21859"}, + {"2803:7f20::/32", "61317"}, + {"2a01:4bc0::/36", "12422"}, + {"2a12:6e40::/29", "209114"}, + {"2c0f:fe20::/32", "18931"}, + {"2600:6c38:b57::/44", "20115"}, + {"2804:5568::/32", "267933"}, + {"2a00:4bc0:2110::/44", "16509"}, + {"2a0e:c6c1::/32", "209419"}, + {"2408:8459:3410::/41", "17623"}, + {"2620:10f:6000::/40", "102"}, + {"2803:a410:9039::/48", "64114"}, + {"2804:54cc::/32", "268670"}, + {"2a03:cfc0::/32", "201814"}, + {"2a04:1120::/30", "3257"}, + {"2001:67c:14a4::/48", "42191"}, + {"2401:d800:f420::/41", "7552"}, + {"240a:a6a7::/32", "144353"}, + {"2607:fe28:2100::/33", "53347"}, + {"2804:14d:1200::/40", "28573"}, + {"2804:314:4030::/46", "61568"}, + {"2604:880:275::/39", "29802"}, + {"2620:c8::/48", "53708"}, + {"2801:11c:e1::/48", "14080"}, + {"2a04:444::/32", "12346"}, + {"2a0a:f582::/32", "51837"}, + {"2804:1560::/32", "52711"}, + {"2a05:e201::/32", "60079"}, + {"2001:438:fffd:125::/62", "397601"}, + {"2001:559:d4::/47", "33652"}, + {"2600:8400::/28", "14813"}, + {"2a02:26f7:c8d9::/42", "20940"}, + {"2001:44b8:205e::/42", "7545"}, + {"2407:d140::/36", "8849"}, + {"2a02:970:1449::/34", "44002"}, + {"2001:559:216::/48", "7016"}, + {"2001:dc7:1001::/34", "24151"}, + {"2408:8956:7700::/36", "17816"}, + {"2409:806a:1100::/36", "9808"}, + {"2a02:f080::/30", "15800"}, + {"2a07:3500:1ac0::/48", "1136"}, + {"2a0e:fd45:40fe::/48", "44103"}, + {"2620:0:2a03::/48", "25046"}, + {"2001:da8:a80a::/45", "24370"}, + {"2402:800:99a9::/43", "7552"}, + {"2402:8100:27b2::/44", "55644"}, + {"240a:af9d::/32", "146647"}, + {"2804:3614::/32", "266325"}, + {"2806:2f0:3563::/43", "17072"}, + {"2001:559:1d1::/46", "7922"}, + {"2001:4878:a151::/48", "12222"}, + {"2001:4998:1c0::/48", "7280"}, + {"2602:feda:2b8::/45", "138210"}, + {"2804:3420::/32", "265437"}, + {"2a00:79e1:f0e::/48", "395973"}, + {"2402:800:358d::/43", "7552"}, + {"2620:107:f0ff::/48", "36564"}, + {"2804:2594::/32", "264289"}, + {"2806:108e:1c::/46", "8151"}, + {"2a03:8860::/32", "200931"}, + {"2001:da8:262::/48", "24350"}, + {"2800:160:1d90::/47", "14259"}, + {"2a00:11c8::/32", "8457"}, + {"2a02:26f7:bc45::/46", "20940"}, + {"2a03:2880:f0fe::/47", "32934"}, + {"2a0f:9201:1::/29", "45009"}, + {"2001:579:a09c::/41", "22773"}, + {"2a0b:9ec0::/32", "44330"}, + {"2c0f:f2b8::/32", "328471"}, + {"2408:8256:2d8c::/48", "17816"}, + {"240a:a576::/32", "144048"}, + {"2600:8807:c722::/40", "22773"}, + {"2001:4c08:2026::/48", "32787"}, + {"2803:a00::/32", "52381"}, + {"2804:14c:7f55::/40", "28573"}, + {"2a00:d1a0::/47", "61317"}, + {"2a01:b100::/32", "43127"}, + {"2001:648:2810::/48", "12364"}, + {"2402:a800:fff1::/44", "9601"}, + {"240a:acb5::/32", "145903"}, + {"2600:1417:8001::/35", "20940"}, + {"2803:b5a0:c000::/34", "269804"}, + {"2804:4c::/32", "8055"}, + {"240e:44d:7000::/42", "140345"}, + {"240e:981:f100::/38", "136197"}, + {"2607:fcf0::/47", "13445"}, + {"2804:154c::/39", "263382"}, + {"2a01:d0:44::/38", "29632"}, + {"2a0c:9a40:8103::/48", "200857"}, + {"2402:3a80:c00d::/43", "38266"}, + {"2801:146::/48", "19429"}, + {"2804:807c::/32", "271753"}, + {"2a00:7240::/30", "16234"}, + {"2001:67c:2734::/48", "198531"}, + {"2600:1407:b801::/33", "20940"}, + {"2605:a401:81bc::/41", "33363"}, + {"2605:f500:8107::/43", "1828"}, + {"2804:2144:a800::/33", "52795"}, + {"2a02:2698:b000::/36", "47911"}, + {"2a02:26f7:d789::/46", "20940"}, + {"2402:3dc0:570::/48", "11179"}, + {"240a:a248::/32", "143234"}, + {"240e:250::/38", "137693"}, + {"2620:1d:2000::/48", "13539"}, + {"2620:171:6a::/48", "715"}, + {"2803:6604:6600::/36", "28075"}, + {"2a0d:200:1c::/48", "44000"}, + {"2c0f:f488::/32", "37363"}, + {"2801:166::/48", "19429"}, + {"2a02:970:1177::/44", "44002"}, + {"2a02:26f7:cd00::/48", "36183"}, + {"2a10:3c80::/29", "212144"}, + {"2600:1017:9010::/39", "6167"}, + {"2607:5380::/32", "53610"}, + {"2804:4918:8300::/33", "267164"}, + {"2a09:33c0::/29", "400522"}, + {"2a12:5840:1f1::/46", "209768"}, + {"240e:352:5c00::/34", "134419"}, + {"2600:370f:3688::/42", "32261"}, + {"2804:151:3::/41", "10954"}, + {"2804:2100::/32", "264526"}, + {"2a02:26f7:d6c4::/48", "36183"}, + {"2001:559:56f::/48", "7016"}, + {"2001:57a:3202::/36", "22773"}, + {"2001:678:894::/48", "209894"}, + {"2400:cb00:440::/47", "13335"}, + {"2606:9800::/32", "13536"}, + {"2804:14c:ccee::/43", "28573"}, + {"2a02:578:7c00::/32", "9031"}, + {"2a07:a905:ffec::/46", "46261"}, + {"2001:559:73::/48", "33287"}, + {"2001:559:8176::/48", "7725"}, + {"2408:8256:3580::/44", "17623"}, + {"240a:a688::/32", "144322"}, + {"2600:140b:9c00::/48", "24319"}, + {"2a02:e38:8100::/40", "14616"}, + {"2a02:26f7:d5c5::/46", "20940"}, + {"2a0d:d9c0::/30", "208948"}, + {"2001:559:83ca::/48", "7922"}, + {"2620:1b:6000::/47", "30150"}, + {"2804:104c:400::/40", "263629"}, + {"2804:4430::/32", "267608"}, + {"2a0e:7d44:f069::/48", "207618"}, + {"2400:e1c0:800::/37", "58659"}, + {"2402:4100::/32", "9326"}, + {"2607:f740:e623::/45", "63911"}, + {"2804:4da4::/32", "268210"}, + {"2001:67c:2fe4::/48", "9002"}, + {"2400:8b00:300::/42", "45727"}, + {"2408:864c::/32", "4837"}, + {"240e:966:5000::/37", "58772"}, + {"2600:1004:b240::/33", "22394"}, + {"2600:1007:f006::/47", "22394"}, + {"2600:1304::/32", "20021"}, + {"2804:4a4c::/32", "267231"}, + {"2a01:b840::/32", "21321"}, + {"2408:8459:6650::/36", "17816"}, + {"240e:3b4:1800::/34", "4134"}, + {"240e:979:8600::/35", "4134"}, + {"2602:fc1c:fa0::/44", "53356"}, + {"2605:cd40::/47", "14363"}, + {"2607:cd80:c000::/36", "6528"}, + {"2806:105e:1f::/42", "8151"}, + {"2a01:b747:800::/39", "714"}, + {"2a06:e040:5902::/34", "198507"}, + {"2a09:9180:fd::/48", "786"}, + {"2405:8a00:ab::/34", "55824"}, + {"2607:fc48:c28::/48", "40009"}, + {"2803:1040::/35", "263751"}, + {"2001:250:343c::/47", "138393"}, + {"2401:93c0:1::/44", "135834"}, + {"2408:8406:9000::/39", "4808"}, + {"240a:acb1::/32", "145899"}, + {"2620:171:25::/48", "42"}, + {"2801:1a6::/37", "271825"}, + {"2804:bd8:ec00::/35", "52838"}, + {"2001:4878:b007::/44", "12222"}, + {"2406:b200::/32", "9326"}, + {"240a:a3ad::/32", "143591"}, + {"2600:1404:d000::/48", "35994"}, + {"2801:80:3870::/48", "270308"}, + {"2804:4c28::/32", "267353"}, + {"2a00:a520::/32", "198570"}, + {"2a02:26f0:6301::/37", "20940"}, + {"240a:a0a5::/32", "142815"}, + {"2604:a00:17::/39", "19318"}, + {"2605:a404:962::/38", "33363"}, + {"2001:ac8:3a::/41", "9009"}, + {"2001:4828::/32", "16942"}, + {"2400:3980::/32", "2497"}, + {"2402:800:921d::/41", "7552"}, + {"2404:bf40:86c1::/48", "7545"}, + {"2806:20d:5030::/45", "32098"}, + {"2a01:8840:4::/47", "207266"}, + {"2001:559:842a::/48", "7016"}, + {"2409:8904:a740::/36", "24547"}, + {"2600:1409:c::/43", "35994"}, + {"2801:1be::/40", "19429"}, + {"2803:c600:20::/32", "27901"}, + {"2804:b18:85::/44", "52941"}, + {"2406:3a40::/32", "131677"}, + {"2406:fc00::/32", "45477"}, + {"2607:6100:1007::/44", "54380"}, + {"2607:f8f0:c00::/40", "16462"}, + {"2804:2144:309::/36", "52795"}, + {"2806:2f0:32c3::/42", "17072"}, + {"2a00:8a03:8000::/43", "28723"}, + {"2a12:74c0::/29", "400522"}, + {"2602:fe8c:0:10::/60", "2711"}, + {"2a0f:c440::/48", "212073"}, + {"2001:1250:e100::/44", "22894"}, + {"2402:800:b1c0::/42", "7552"}, + {"2a03:4440::/32", "62020"}, + {"2001:250:6407::/48", "23910"}, + {"2001:da8:2020::/46", "24357"}, + {"2408:8a05:6000::/47", "17816"}, + {"240e:9b:f024::/46", "140257"}, + {"2803:b920::/32", "266677"}, + {"2804:840:8300::/33", "262680"}, + {"2a02:26f7:d28d::/42", "20940"}, + {"2a03:96c0::/32", "29319"}, + {"2a09:cc80::/29", "35712"}, + {"2001:250:5809::/43", "24363"}, + {"2001:559:86c1::/48", "33491"}, + {"2605:c500::/32", "19515"}, + {"2606:3d40:2::/47", "400097"}, + {"2804:42f8::/32", "267540"}, + {"2a01:8840:c9::/48", "207266"}, + {"2602:fda6:302::/48", "398051"}, + {"2804:35e0::/36", "266312"}, + {"2804:70c0::/46", "270746"}, + {"2a0c:c9c2:ab::/29", "202414"}, + {"2403:c80::/32", "45062"}, + {"2407:4ac0:1001::/33", "142045"}, + {"240a:ad97::/32", "146129"}, + {"2a02:26f7:ed81::/46", "20940"}, + {"2a10:da00::/32", "34576"}, + {"2001:579:1c84::/39", "22773"}, + {"2408:8034::/32", "4837"}, + {"2602:fcc1::/36", "399204"}, + {"2402:800:5171::/44", "7552"}, + {"2409:8069:2908::/38", "9808"}, + {"2620:171:cd::/48", "715"}, + {"2a0a:25c0::/29", "42977"}, + {"2a0b:3b40::/29", "7"}, + {"2a0d:5300::/38", "135391"}, + {"2600:3503:6000::/32", "396998"}, + {"2602:fd92:900::/40", "174"}, + {"2607:9b00::/32", "30041"}, + {"2804:69d8::/32", "270295"}, + {"2a01:37:2000::/35", "8875"}, + {"2a04:9a00:1042::/45", "212157"}, + {"2a01:4d80::/32", "39702"}, + {"2a03:5480::/29", "35223"}, + {"2a0b:2d40::/32", "209135"}, + {"2001:559:d2::/48", "7922"}, + {"2600:140f:9000::/48", "9498"}, + {"2606:3380:100::/46", "53334"}, + {"2a02:6080::/32", "62214"}, + {"2001:559:c3eb::/48", "33668"}, + {"2001:67c:2efc::/48", "31152"}, + {"240e:d:1000::/32", "4134"}, + {"2001:67c:6ac::/48", "201742"}, + {"2001:15c8::/32", "20495"}, + {"2604:5400:4000::/38", "11776"}, + {"2803:1240:65::/34", "27855"}, + {"2804:2488:9000::/33", "264228"}, + {"2a00:1c28::/29", "20764"}, + {"2a05:57c0::/36", "31259"}, + {"2a0d:6180::/29", "200899"}, + {"2c0f:f570::/32", "327980"}, + {"2001:df6:ca00::/48", "136026"}, + {"2405:1400::/32", "38176"}, + {"2605:cdc0:ffff::/48", "398088"}, + {"2a02:4e0:2000::/41", "16135"}, + {"2001:e60:d300::/42", "4766"}, + {"2a04:6440::/29", "35368"}, + {"2c0f:f070::/32", "36912"}, + {"2406:2580::/32", "397086"}, + {"2a02:fb0::/32", "5503"}, + {"2a02:26f7:bc49::/42", "20940"}, + {"2001:559:513::/48", "7015"}, + {"2403:8300:82bf::/48", "24442"}, + {"2405:7400::/32", "9246"}, + {"240e:3b2:ec00::/35", "140314"}, + {"2600:370f:3183::/41", "32261"}, + {"2800:4d0:24a0::/32", "7004"}, + {"2001:559:c25f::/42", "33490"}, + {"2001:559:c4eb::/48", "33662"}, + {"2001:579:90b0::/41", "22773"}, + {"2001:b011:ae00::/33", "3462"}, + {"2401:a580:4::/47", "55403"}, + {"2409:8924:a300::/37", "56046"}, + {"240e:974:ec00::/30", "4134"}, + {"2806:2f0:2061::/48", "22884"}, + {"2a01:c50f:f900::/40", "12479"}, + {"2a02:26f7:c644::/47", "36183"}, + {"2a03:de40::/32", "21057"}, + {"240a:ac6d::/32", "145831"}, + {"2a02:e980:ed::/43", "19551"}, + {"2001:559:3fa::/48", "33491"}, + {"240a:ad96::/32", "146128"}, + {"2804:37d8:3000::/32", "266439"}, + {"2a03:90c0:9981::/48", "199524"}, + {"2404:e740::/46", "139195"}, + {"240e:838:40::/44", "140647"}, + {"2804:521c:2::/48", "268495"}, + {"2c0f:fdd0::/32", "37358"}, + {"2804:4014::/32", "265933"}, + {"2a0c:7fc0::/40", "43997"}, + {"2806:2f0:7243::/42", "17072"}, + {"2a04:f400:3001::/48", "15404"}, + {"2405:17c0::/47", "139331"}, + {"2409:4054:1000::/34", "55836"}, + {"240a:ac0a::/32", "145732"}, + {"2607:700:1700::/32", "22343"}, + {"2800:bf0:3463::/40", "27947"}, + {"2804:544c::/32", "268641"}, + {"2a00:bba0::/32", "207375"}, + {"2001:678:c40::/48", "207754"}, + {"2403:bf00::/32", "7616"}, + {"2600:1413:2001::/36", "20940"}, + {"2801:1c:6800::/48", "13489"}, + {"2a02:26f7:bd90::/48", "36183"}, + {"240a:a974::/32", "145070"}, + {"240a:addf::/32", "146201"}, + {"2a03:98a0::/32", "203449"}, + {"2a04:b907:1::/48", "16509"}, + {"2a10:ee40::/29", "47787"}, + {"2001:1248:9acf::/43", "11172"}, + {"2404:ba80::/32", "38517"}, + {"240a:a6c8::/32", "144386"}, + {"240e:37e:1a00::/34", "140330"}, + {"240e:45c:7600::/40", "131285"}, + {"2600:140b:7801::/38", "20940"}, + {"2a04:8b40::/29", "62126"}, + {"2a11:e380::/29", "49778"}, + {"2001:4c8:110b::/43", "15290"}, + {"2400:58a0::/32", "38008"}, + {"2a0e:b107:23::/48", "44024"}, + {"2001:6e8::/29", "16086"}, + {"2a02:26f7:e205::/46", "20940"}, + {"2a10:5780::/29", "37478"}, + {"2406:f40::/32", "135697"}, + {"2408:8459:6e10::/42", "17623"}, + {"2409:895a:8400::/33", "56040"}, + {"240b:4003:fc00::/48", "45102"}, + {"2600:180c:3002::/33", "16552"}, + {"2804:500c::/32", "268366"}, + {"2a02:2870:8000::/33", "60781"}, + {"2001:67c:2988::/47", "58151"}, + {"2408:8459:3e50::/33", "17816"}, + {"2804:396c::/32", "262846"}, + {"2a07:b6c0::/29", "50782"}, + {"2001:67c:1b30::/48", "15415"}, + {"240a:a8a5::/32", "144863"}, + {"240e:264:3000::/32", "4134"}, + {"2600:1488:6141::/43", "20940"}, + {"2604:61c0:5001::/32", "29831"}, + {"2804:6074::/32", "269168"}, + {"2401:3c0:21e::/48", "45528"}, + {"2806:230:2035::/48", "11888"}, + {"2a01:c50e:e610::/36", "12479"}, + {"2a0c:b641:130::/44", "142438"}, + {"2001:4188:2::/48", "49666"}, + {"2600:6c38:87b::/45", "20115"}, + {"2a0f:4a00::/29", "29066"}, + {"2001:67c:211c::/48", "8447"}, + {"2001:df5:9780::/48", "55736"}, + {"2001:1248:9a3f::/41", "11172"}, + {"2409:8052:3000::/47", "56047"}, + {"2606:900::/32", "12261"}, + {"2804:3f10:6203::/35", "262566"}, + {"2806:32d:b000::/33", "28431"}, + {"2a01:6780:8::/48", "12586"}, + {"2a0a:5c80::/29", "47926"}, + {"2001:67c:192c::/48", "24961"}, + {"2402:e380:31a::/48", "141376"}, + {"2409:8754::/34", "9808"}, + {"2600:370f:7563::/45", "32261"}, + {"2804:45fc:138::/32", "266959"}, + {"2a06:3b00::/48", "50007"}, + {"240a:a0e4::/32", "142878"}, + {"2600:1480:b801::/37", "20940"}, + {"2600:370e:7100::/43", "32261"}, + {"2600:370f:3445::/44", "32261"}, + {"2607:b680::/32", "174"}, + {"2620:1ec:a92::/48", "8068"}, + {"2804:42f4::/32", "267539"}, + {"2400:a980:7d00::/32", "133111"}, + {"2401:7500:300::/40", "33480"}, + {"2406:840:380::/48", "139317"}, + {"2408:8656:3900::/38", "17816"}, + {"2a03:2880:f06b::/45", "32934"}, + {"2001:480:1611::/41", "668"}, + {"2401:4900:4620::/41", "45609"}, + {"2408:844b::/29", "4837"}, + {"2409:805f:100::/36", "9808"}, + {"2606:9500:202::/40", "393423"}, + {"2400:3f60:1::/46", "138467"}, + {"2602:ffc5:10c::/48", "40676"}, + {"2801:80:2380::/48", "267322"}, + {"2804:4ba4::/32", "267320"}, + {"2a01:b740:a0a::/48", "6185"}, + {"2620:11b:4006::/47", "47870"}, + {"2804:c94::/32", "262720"}, + {"2408:8459:4230::/41", "17622"}, + {"2409:8915:8c00::/39", "56044"}, + {"240a:aa8b::/32", "145349"}, + {"2001:559:856d::/48", "33287"}, + {"2001:559:8673::/45", "7015"}, + {"2a02:26f7:c68d::/42", "20940"}, + {"2a07:b2c0::/32", "56911"}, + {"2001:559:739::/48", "33287"}, + {"2001:da8:276::/44", "23910"}, + {"2400:5200:401::/48", "55410"}, + {"2409:8904:36a0::/39", "24547"}, + {"2800:160:1948::/42", "14259"}, + {"2a00:efc0::/32", "29394"}, + {"240e:dd:d800::/37", "139220"}, + {"2600:9000:21e6::/44", "16509"}, + {"2602:ff3b::/36", "395723"}, + {"2607:f6f0:5001::/48", "394749"}, + {"2a02:ee80:4106::/44", "3573"}, + {"2400:6280:10c::/48", "138911"}, + {"240e:108:10f0::/48", "134760"}, + {"2604:d600:c12::/47", "32098"}, + {"2620:10d::/44", "33503"}, + {"2a09:d180::/29", "35710"}, + {"2001:559:7ed::/46", "7016"}, + {"2404:c600::/32", "38195"}, + {"2600:1404:6::/42", "20940"}, + {"2803:d910::/32", "272011"}, + {"2804:41c8::/32", "267456"}, + {"2600:100a:f010::/40", "22394"}, + {"2620:9e:6000::/47", "3970"}, + {"2620:136:3000::/40", "18874"}, + {"2a0e:fd45:40f3::/48", "201106"}, + {"2001:67c:2548::/48", "6782"}, + {"2404:2ec0::/44", "131675"}, + {"2408:8459:ca10::/42", "17623"}, + {"2804:127c::/32", "263479"}, + {"2804:1638::/32", "263276"}, + {"2001:e30:1111::/48", "2697"}, + {"2803:ec40::/32", "263792"}, + {"2401:4900:5d6a::/48", "45609"}, + {"2600:1017:b8e0::/33", "6167"}, + {"2600:40f0:1130::/32", "701"}, + {"2603:fdb0::/25", "397165"}, + {"2001:559:c264::/48", "33652"}, + {"2001:df7:a900::/48", "135987"}, + {"2409:8055:60::/48", "9808"}, + {"240a:a719::/32", "144467"}, + {"2620:104:6000::/48", "2386"}, + {"2803:3680::/32", "27851"}, + {"2a0d:9d00::/29", "50954"}, + {"2001:559:83e0::/48", "33652"}, + {"2602:ff0b::/36", "11071"}, + {"2001:579:b80c::/43", "22773"}, + {"240a:a482::/32", "143804"}, + {"2c0f:2800::/32", "328543"}, + {"2001:559:81b9::/48", "7015"}, + {"2605:2b80::/32", "16832"}, + {"2800:484:2700::/40", "10620"}, + {"2806:2f0:4583::/42", "17072"}, + {"2001:559:86cf::/48", "33657"}, + {"240b:4009::/32", "45102"}, + {"2803:7260:21::/32", "52238"}, + {"2804:2830::/32", "263946"}, + {"2a00:1cc8::/30", "15605"}, + {"2a01:5b40:ac3::/48", "208045"}, + {"2a10:d700::/29", "44874"}, + {"2406:3003:1015::/48", "4657"}, + {"240a:a738::/32", "144498"}, + {"2600:1002:6010::/32", "22394"}, + {"2804:59f8::/32", "268737"}, + {"2806:20d:5220::/47", "32098"}, + {"2a05:f240::/29", "1828"}, + {"2001:559:c228::/48", "33491"}, + {"2804:6a48::/32", "270324"}, + {"2a02:2e02:3a90::/39", "12479"}, + {"2001:559:c027::/48", "33652"}, + {"240e:f9::/33", "4134"}, + {"2600:1408:e800::/48", "35994"}, + {"2804:4994::/32", "267191"}, + {"2001:df6:c080::/48", "141822"}, + {"2001:1450::/32", "5602"}, + {"2403:580::/38", "134715"}, + {"2409:8904::/34", "24547"}, + {"2620:79:e000::/48", "398065"}, + {"2804:1b2:f102::/47", "10429"}, + {"2001:559:853e::/48", "7922"}, + {"2602:feda:b60::/46", "146950"}, + {"2606:9e40::/32", "19523"}, + {"2804:236c:d000::/34", "264161"}, + {"2a02:7040::/32", "199236"}, + {"2402:e300::/46", "131706"}, + {"2405:d540::/32", "140223"}, + {"2605:ab00::/32", "32277"}, + {"2607:f170:20::/44", "13768"}, + {"2804:38e8::/32", "266509"}, + {"2a00:6bc0::/32", "6855"}, + {"2a0a:1d00::/32", "201401"}, + {"2a00:fb40::/32", "198792"}, + {"2001:df3:4300::/48", "133616"}, + {"240a:a728::/32", "144482"}, + {"240a:abb1::/32", "145643"}, + {"2a02:dc80::/29", "13227"}, + {"2001:44b8:2043::/45", "7545"}, + {"2400:a980:1fff::/48", "133515"}, + {"2409:8002:2a00::/40", "9808"}, + {"240a:a5ea::/32", "144164"}, + {"2a00:edc0:1000::/45", "62597"}, + {"2a09:5e00::/29", "209350"}, + {"2001:559:80b6::/48", "33652"}, + {"2001:2000:4000::/40", "3301"}, + {"240a:a2e5::/32", "143391"}, + {"240a:abae::/32", "145640"}, + {"2600:40fc:1017::/30", "701"}, + {"2a00:b2c0:fade::/48", "2611"}, + {"2a01:488:bb0f::/48", "397516"}, + {"2a02:26f7:d708::/47", "36183"}, + {"2001:559:867f::/48", "33652"}, + {"2405:8a00:8000::/48", "55847"}, + {"2602:fce9::/36", "62943"}, + {"2605:a000:1e00::/40", "11955"}, + {"2606:6480::/32", "22113"}, + {"2a0d:580::/32", "206767"}, + {"2001:559:8424::/48", "7922"}, + {"2001:67c:1718::/48", "2263"}, + {"2001:df5:4080::/48", "135839"}, + {"2600:9000:245a::/47", "16509"}, + {"2001:559:c2c6::/48", "33657"}, + {"2408:8456:7600::/42", "17622"}, + {"2409:8904:2740::/36", "24547"}, + {"2a0b:4340:b0::/48", "205058"}, + {"2408:840c:2700::/40", "17621"}, + {"2803:c2c0::/32", "264836"}, + {"2804:3158::/32", "265008"}, + {"2001:559:7b6::/48", "33287"}, + {"2001:67c:1b24::/48", "30931"}, + {"2600:5c00:140::/48", "11351"}, + {"2606:2800:4adc::/46", "15133"}, + {"2600:380:d820::/39", "7018"}, + {"2803:5440:4067::/44", "264738"}, + {"2402:8100:b::/48", "45271"}, + {"2405:201:3200::/39", "55836"}, + {"2a00:a180::/32", "51922"}, + {"2a01:630::/32", "39839"}, + {"2a0a:2780::/31", "206774"}, + {"2001:559:37d::/48", "21508"}, + {"2408:8256:398d::/48", "17816"}, + {"2620:1ec:a93::/39", "8075"}, + {"2a02:26f7:b900::/48", "36183"}, + {"2a02:26f7:c701::/46", "20940"}, + {"2a07:8c00::/32", "208692"}, + {"2001:559:837b::/48", "33652"}, + {"2001:df5:3100::/48", "137854"}, + {"2404:98c0:10::/32", "135259"}, + {"2602:ff87::/36", "36243"}, + {"2804:ccc::/32", "262827"}, + {"2804:269c:fe50::/46", "47065"}, + {"2a00:f7a0:101::/32", "21277"}, + {"2a02:26f7:c5c1::/46", "20940"}, + {"2a0a:3740::/29", "1257"}, + {"2a11:a80::/29", "208861"}, + {"2800:68:2c::/43", "61468"}, + {"2804:14c:5be1::/46", "28573"}, + {"2a01:b000::/44", "35266"}, + {"2a01:ce88::/32", "51964"}, + {"2001:559:c26f::/48", "33662"}, + {"2001:678:16c::/48", "44872"}, + {"2408:8406:2400::/39", "4808"}, + {"240e:45c:3700::/40", "140528"}, + {"2804:13b4::/32", "262288"}, + {"2001:2f0::/32", "7514"}, + {"2607:fb10:5082::/47", "55095"}, + {"2620:6e:8000::/48", "21680"}, + {"2806:2f4:800::/40", "265540"}, + {"2a00:c120::/32", "60331"}, + {"2a02:958::/32", "29008"}, + {"2a0e:97c3:5a2::/48", "20473"}, + {"2a11:3500::/29", "211344"}, + {"2600:370f:74ca::/42", "32261"}, + {"2605:fb80:f000::/48", "50131"}, + {"2804:5864::/32", "268126"}, + {"2a0e:b107:9d0::/46", "213262"}, + {"2001:559:c3ff::/48", "33489"}, + {"2408:8456:3250::/39", "17816"}, + {"2602:808:b001::/48", "40417"}, + {"2804:74a4::/32", "270994"}, + {"2a01:4d60::/32", "30870"}, + {"2a05:3580:f800::/39", "35807"}, + {"2a03:90c0:3f0::/37", "199524"}, + {"2a0f:4507:8000::/33", "204506"}, + {"2001:67c:f8::/48", "49125"}, + {"240a:a699::/32", "144339"}, + {"2804:3508::/32", "265496"}, + {"2001:67c:568::/48", "57533"}, + {"2600:6c38:c0f::/43", "20115"}, + {"2806:3a9:400::/38", "265626"}, + {"2a01:6e80:ffff::/48", "47223"}, + {"2a02:26f0:df00::/48", "36183"}, + {"2001:4870:e00c::/31", "3549"}, + {"240e:3b2:2c00::/35", "134774"}, + {"2602:ff89::/38", "26269"}, + {"2804:712c::/32", "270772"}, + {"2a02:26f7:d741::/46", "20940"}, + {"2a05:8945::/30", "8468"}, + {"2a0c:6900::/32", "208091"}, + {"2001:559:4a2::/48", "33491"}, + {"2001:67c:14b8::/48", "12655"}, + {"2409:8000:2100::/37", "9808"}, + {"2409:8924:6100::/38", "56046"}, + {"2409:8924:c300::/37", "56046"}, + {"2600:381:3900::/40", "13965"}, + {"2a0e:fd45:b80::/41", "44103"}, + {"2400:6280:13c::/48", "132280"}, + {"2400:cc00:4000::/32", "17477"}, + {"2607:f220:600::/44", "26810"}, + {"2607:ffa0:2::/32", "19355"}, + {"2a07:9cc5::/32", "209589"}, + {"2001:559:8102::/48", "33650"}, + {"2001:67c:220c::/48", "48155"}, + {"2402:5c80::/32", "132296"}, + {"2606:8100::/32", "21817"}, + {"2a05:d01c::/36", "16509"}, + {"2001:559:80e9::/48", "33657"}, + {"2405:203:99b::/45", "55836"}, + {"2408:8459:5830::/41", "17622"}, + {"2600:6c39:226::/44", "20115"}, + {"2604:af80:c48::/35", "18859"}, + {"2a01:b480::/32", "35362"}, + {"2001:559:84c3::/48", "7922"}, + {"2408:81a3:ca66::/48", "140707"}, + {"2804:49c:4208::/48", "7162"}, + {"2804:34d8::/32", "265484"}, + {"2a02:788:1::19/29", "12843"}, + {"2a02:26f7:ee84::/48", "36183"}, + {"2001:5d8::/32", "3742"}, + {"2406:8600:ef69::/48", "23879"}, + {"240e:981:7000::/40", "140061"}, + {"2603:90f5:1500::/40", "33363"}, + {"2803:f500::/32", "60022"}, + {"2a02:26f7:f584::/48", "36183"}, + {"2001:559:c03d::/48", "33491"}, + {"2001:df5:dd80::/48", "135192"}, + {"2607:2f00:15::/44", "12025"}, + {"2607:f2f8::/32", "25795"}, + {"2a00:67c0::/32", "57660"}, + {"2a03:5640:f530::/46", "16509"}, + {"2a06:bcc0:1::/45", "203724"}, + {"2602:fc62:ff::/48", "399760"}, + {"2804:14d:b291::/41", "28573"}, + {"2806:2f0:2482::/48", "17072"}, + {"2a03:20::/32", "200561"}, + {"2a05:f480:1000::/34", "20473"}, + {"2001:559:2e8::/48", "33652"}, + {"2001:67c:2950::/48", "3303"}, + {"2001:df1:3e00::/48", "134868"}, + {"2402:8100:25c0::/43", "45271"}, + {"2403:e000:fec1::/39", "9555"}, + {"2404:0:10a7::/41", "17709"}, + {"2408:8957:600::/40", "17622"}, + {"2605:62c0::/32", "395349"}, + {"2620:36:8000::/48", "33246"}, + {"2001:678:6b8::/48", "209869"}, + {"2402:800:931d::/41", "7552"}, + {"2402:8100:27c2::/44", "55644"}, + {"2408:8957:8700::/40", "17816"}, + {"2600:1402:8801::/35", "20940"}, + {"2607:4000:500::/40", "64247"}, + {"2620:107::/40", "11318"}, + {"2a0b:3b00::/29", "50628"}, + {"2600:9000:117c::/48", "16509"}, + {"2804:701c::/32", "270706"}, + {"2a03:5a00:9::/48", "59738"}, + {"2a10:9c00::/29", "30823"}, + {"2001:978:5302::/37", "174"}, + {"2406:d500:14::/48", "136557"}, + {"2801:121::/48", "19429"}, + {"2a02:d38::/29", "50785"}, + {"2a02:8300::/28", "16019"}, + {"2a02:d180::/29", "39090"}, + {"2a06:e881:53f4::/44", "209859"}, + {"2404:c140::/39", "138997"}, + {"2602:fed2:31::/48", "49134"}, + {"2610:e0:5000::/32", "2572"}, + {"2a06:4740::/29", "207627"}, + {"2001:67c:6d8::/48", "62359"}, + {"2001:c10:ff07::/44", "7473"}, + {"2405:a3c0::/32", "139908"}, + {"240a:a971::/32", "145067"}, + {"2604:5400::/35", "11776"}, + {"2806:1040:fd::/32", "8151"}, + {"2a0f:e842::/32", "60781"}, + {"2409:8335::/21", "9808"}, + {"2804:6154::/32", "269228"}, + {"2a01:3a0::/29", "3308"}, + {"2001:559:221::/45", "33491"}, + {"2001:559:83d9::/46", "33287"}, + {"2405:58c0:3400::/38", "133101"}, + {"2409:8020:d1::/35", "56046"}, + {"2620:101:d000::/45", "53582"}, + {"2800:1e0:1024::/41", "7195"}, + {"2804:1e48:9004::/33", "4809"}, + {"2402:800:567f::/40", "7552"}, + {"2408:840d:3800::/42", "17621"}, + {"240a:a3a6::/32", "143584"}, + {"240a:a909::/32", "144963"}, + {"2804:14d:a485::/43", "28573"}, + {"2a03:e140:35::/48", "56674"}, + {"2408:8956:a900::/40", "17816"}, + {"2605:380:19::/48", "42473"}, + {"2a02:26f7:f449::/42", "20940"}, + {"2a03:5640:f513::/44", "16509"}, + {"2a10:de80::/32", "211993"}, + {"2001:559:81f7::/48", "7922"}, + {"2001:1838:1009::/46", "23352"}, + {"2620:118:c000::/42", "237"}, + {"2804:37d8::/34", "266439"}, + {"2a01:7a5::/30", "29066"}, + {"2a10:1646::/31", "206330"}, + {"240a:a52f::/32", "143977"}, + {"2803:8240:2::/40", "52511"}, + {"2a0f:a40::/29", "399975"}, + {"2404:4200::/32", "24536"}, + {"2409:8d18::/31", "134810"}, + {"2600:140f:7000::/48", "9498"}, + {"2a00:14f8::/32", "21056"}, + {"2406:840:e360::/47", "149292"}, + {"2409:8904:2540::/38", "24547"}, + {"2605:dd40:8890::/39", "398549"}, + {"2a0d:5642:115::/48", "35487"}, + {"240a:a2fb::/32", "143413"}, + {"240a:af96::/32", "146640"}, + {"2606:6c00:120::/44", "35994"}, + {"2803:7200:8019::/45", "27696"}, + {"2804:6488::/32", "269433"}, + {"2a02:888:54::/40", "47794"}, + {"2a12:4944::/32", "212123"}, + {"2001:bf8::/32", "378"}, + {"2409:8c54:1840::/44", "9808"}, + {"2804:3d4:8::/43", "262401"}, + {"2a0b:7140::/48", "39378"}, + {"2c0f:ed00:110::/48", "328442"}, + {"2001:df2:5c00::/48", "133947"}, + {"240e:981:f000::/40", "134760"}, + {"2607:f740:e050::/48", "398748"}, + {"2a02:26f0:4201::/39", "20940"}, + {"2001:559:84ce::/48", "33659"}, + {"2400:e500:36::/44", "138322"}, + {"2404:4f80:320::/32", "58715"}, + {"2001:da8:d0::/38", "23910"}, + {"2409:8914:6600::/39", "56044"}, + {"240a:a253::/32", "143245"}, + {"240a:a37e::/32", "143544"}, + {"2600:1008:20::/33", "22394"}, + {"2801:17c::/44", "14080"}, + {"2a02:888:154::/33", "47794"}, + {"2001:559:83f8::/48", "13367"}, + {"2001:1388:8a64::/43", "6147"}, + {"2408:896e::/31", "4837"}, + {"2401:d800:d4e0::/39", "7552"}, + {"2402:df80::/32", "58473"}, + {"240a:aa61::/32", "145307"}, + {"2a02:ff80::/29", "34764"}, + {"2001:579:a00c::/41", "22773"}, + {"2804:1b1:9000::/34", "18881"}, + {"2804:829c::/32", "272529"}, + {"2806:2f0:2083::/43", "22884"}, + {"2a02:c18::/47", "15436"}, + {"2001:da8:4000::/45", "24353"}, + {"2001:df6:2e80::/48", "139504"}, + {"2409:8904:5cb0::/39", "24547"}, + {"2604:d600:130d::/43", "32098"}, + {"2604:f340:1::/46", "398736"}, + {"2804:16c4::/32", "61915"}, + {"2804:3b6c:c030::/35", "266148"}, + {"2806:20d:1607::/43", "32098"}, + {"2a02:26f7:b7c1::/46", "20940"}, + {"2a02:26f7:c804::/47", "36183"}, + {"2c0f:e938::/32", "328714"}, + {"2405:9800:b0::/41", "45430"}, + {"2600:5800:2b04::/48", "33363"}, + {"2a02:738::/32", "5588"}, + {"2001:559:c4b4::/44", "7922"}, + {"2405:7f00:a0a0::/39", "133414"}, + {"2804:3160::/46", "265010"}, + {"2a02:500::/33", "5538"}, + {"2a06:1301:4100::/48", "203004"}, + {"2001:559:5a1::/48", "33287"}, + {"240e:103:8b20::/44", "139462"}, + {"2001:67c:2924::/48", "211960"}, + {"240e:350:5c00::/34", "134419"}, + {"2604:f700:1::/48", "16509"}, + {"2801:1f:f000::/48", "19429"}, + {"2804:204:204::/47", "28186"}, + {"2804:1ecc::/32", "264448"}, + {"2804:73bc:5::/46", "270934"}, + {"2a01:4a0:2000::/46", "51191"}, + {"2400:6280:140::/48", "132280"}, + {"2408:8957:c9c0::/38", "17622"}, + {"240e:4:800::/32", "4134"}, + {"2600:141c:5001::/34", "20940"}, + {"2600:9000:10c1::/45", "16509"}, + {"2602:fed2:712c::/48", "20473"}, + {"2a0f:3cc0::/29", "207936"}, + {"2404:cf00:e001::/35", "38511"}, + {"2406:840:f40f::/48", "142111"}, + {"2409:8004:1900::/34", "24547"}, + {"2607:fa40:3::/32", "25899"}, + {"2620:84:6000::/48", "393936"}, + {"2806:2f0:21c0::/48", "17072"}, + {"2a05:4140:101::/46", "208753"}, + {"2001:250:84b::/48", "23910"}, + {"2001:1938:7001::/44", "33438"}, + {"240a:ac1d::/32", "145751"}, + {"2604:f980:4500::/44", "19957"}, + {"2a02:26f0:cf01::/35", "20940"}, + {"2a02:26f7:de44::/48", "36183"}, + {"2a02:2e02:1580::/42", "12479"}, + {"2c0f:4e00::/32", "328840"}, + {"2001:559:42b::/48", "21508"}, + {"2607:6100:100c::/48", "400053"}, + {"2a01:c50f:a7c0::/36", "12479"}, + {"2600:6c10:f484::/43", "20115"}, + {"2409:8010:1900::/34", "9808"}, + {"240a:a0ed::/32", "142887"}, + {"2806:230:2031::/48", "11888"}, + {"2001:67c:1758::/48", "8820"}, + {"2403:5800:2::/47", "4764"}, + {"2402:800:9bfe::/37", "7552"}, + {"240e:44::/33", "140061"}, + {"240e:37e::/35", "140329"}, + {"240e:67f:1000::/37", "140330"}, + {"2602:101:4004::/46", "20115"}, + {"2a01:c50f:98c0::/37", "12479"}, + {"2a09:4c0:57e1::/32", "58057"}, + {"2402:800:fd90::/42", "7552"}, + {"2a00:8860:500::/40", "207134"}, + {"2a00:a580::/32", "15557"}, + {"2a02:26f0:129::/43", "20940"}, + {"2a06:f740::/29", "203398"}, + {"2001:559:821e::/48", "7015"}, + {"2001:559:855d::/46", "7015"}, + {"2001:1248:8703::/45", "11172"}, + {"240e:c9:6000::/29", "4134"}, + {"240e:ff:e000::/36", "58466"}, + {"2600:6000:f0cb::/48", "11351"}, + {"2803:13e0::/32", "270072"}, + {"2a02:752:3::/29", "42708"}, + {"2a02:26f7:be4d::/46", "20940"}, + {"240a:a7f7::/32", "144689"}, + {"240e:44d:6f00::/42", "140345"}, + {"2604:380::/32", "237"}, + {"2804:4e64:c000::/34", "268258"}, + {"2a02:848::/32", "33868"}, + {"2a02:26f7:f811::/46", "20940"}, + {"2a03:6f00:9::/48", "9123"}, + {"2402:c800:ff72::/47", "18259"}, + {"2600:1488:a481::/39", "20940"}, + {"2605:2800:8301::/33", "6922"}, + {"2804:1448::/32", "263324"}, + {"2001:559:80cc::/48", "7725"}, + {"2400:cb00:34::/47", "13335"}, + {"240a:a279::/32", "143283"}, + {"240e:63:d000::/34", "140314"}, + {"2804:6fc8:8800::/35", "270684"}, + {"2001:559:5c::/47", "7922"}, + {"2001:559:1cd::/48", "20214"}, + {"2001:559:82e6::/48", "33662"}, + {"2001:559:866a::/48", "7922"}, + {"2606:2940::/32", "15017"}, + {"2a01:c50f:2c80::/39", "12479"}, + {"2a0d:2580:1000::/36", "213262"}, + {"2403:300:a26::/44", "714"}, + {"240e:264:2000::/36", "140330"}, + {"2804:204:306::/43", "28186"}, + {"2a02:888:804a::/45", "47794"}, + {"240a:a8ad::/32", "144871"}, + {"2604:880:11::/48", "54540"}, + {"2804:18:6810::/44", "10429"}, + {"2a00:1fc3::/32", "41209"}, + {"2001:559:c0d7::/48", "33652"}, + {"2409:8c70:3ac0::/43", "9808"}, + {"240e:472::/32", "4134"}, + {"2605:4040::/32", "46300"}, + {"2a0f:b300:2001::/46", "42072"}, + {"2001:67c:1090::/48", "199178"}, + {"2a04:5b80:300::/48", "202265"}, + {"2404:bc0:1::/48", "137735"}, + {"2404:bf40:8541::/42", "139084"}, + {"2800:bf0:3601::/40", "27947"}, + {"2a06:8147:cc9a::/48", "199364"}, + {"2404:4a40::/32", "138571"}, + {"2602:feb4:280::/44", "25961"}, + {"2a02:26f7:b989::/48", "20940"}, + {"2a11:3f80::/29", "204790"}, + {"2001:3c8:c10b::/48", "37932"}, + {"2602:fcf1::/36", "398998"}, + {"2804:17e8::/32", "28245"}, + {"2a03:fa80::/32", "15471"}, + {"2600:1f70:e000::/40", "16509"}, + {"2a06:11c0:5::/29", "31169"}, + {"2001:4b22:0:1::/44", "34288"}, + {"2405:6e00:2420::/43", "133612"}, + {"2a06:5a40::/29", "39650"}, + {"2a07:b941:e10::/42", "209103"}, + {"2a09:da40::/29", "211626"}, + {"2a0d:4140::/32", "31463"}, + {"2600:6c10:39::/45", "20115"}, + {"2a00:4802:2600::/44", "13124"}, + {"2a00:b701::/30", "51659"}, + {"2405:4803:2f8::/39", "18403"}, + {"2408:8956:e00::/40", "17622"}, + {"2409:8706::/28", "9808"}, + {"2409:8751:300::/37", "56047"}, + {"2600:140b:bc00::/48", "24319"}, + {"2606:b040:111::/40", "399726"}, + {"2a02:888:144::/46", "48695"}, + {"2a0e:46c4:2c21::/46", "137509"}, + {"2605:a401:82dc::/39", "33363"}, + {"2804:7ea0::/32", "271636"}, + {"2a0b:2640::/29", "208684"}, + {"2001:559:c45e::/48", "33287"}, + {"240e:44d:5980::/41", "4134"}, + {"2409:8054:3022::/45", "56040"}, + {"240a:a87b::/32", "144821"}, + {"2603:c025:4000::/35", "31898"}, + {"2607:fdc8::/44", "30036"}, + {"2a07:a905:fff0::/30", "46261"}, + {"2409:8052:1100::/37", "9808"}, + {"2404:3d00:40d8::/46", "3573"}, + {"2600:9000:2353::/45", "16509"}, + {"2a00:6520::/32", "48739"}, + {"2a0e:9480::/32", "32338"}, + {"2409:8904:8440::/39", "24547"}, + {"2600:5c01:2d39::/48", "20115"}, + {"2620:149:12::/41", "714"}, + {"2804:9c::/32", "262695"}, + {"2a00:f1c0::/32", "21267"}, + {"2a04:3e00:1000::/48", "50311"}, + {"2001:678:7f0::/48", "6730"}, + {"2408:8256:3789::/48", "17816"}, + {"2603:c012:c000::/36", "31898"}, + {"2607:fb10:7232::/32", "2906"}, + {"2607:fc58:3000:44::/64", "13536"}, + {"2a0b:4340:1501::/48", "48883"}, + {"2409:8027:2a04::/46", "9808"}, + {"2803:8e60::/32", "267914"}, + {"2a0a:4140::/29", "60111"}, + {"2a0e:8f02:2040::/44", "212746"}, + {"2a10:e800:2::/48", "50010"}, + {"2001:559:c1e5::/48", "13367"}, + {"2400:8b00:2280::/42", "45727"}, + {"2a00:f00::/32", "8359"}, + {"2605:6000:800::/31", "11427"}, + {"2620:0:5300::/44", "11131"}, + {"2803:d100:e040::/38", "52362"}, + {"2800:bf0:3ac1::/39", "27947"}, + {"2001:1248:8443::/45", "11172"}, + {"2001:44b8:4040::/47", "7545"}, + {"2600:6c21:1d::/46", "20115"}, + {"2607:fb10:7120::/41", "2906"}, + {"2a0f:b506:ff06::/43", "206313"}, + {"2406:2b00::/32", "4049"}, + {"2a03:2881:1b::/32", "32934"}, + {"2406:e000:36a::/43", "23655"}, + {"2607:1e00:1001::/32", "22489"}, + {"2607:fc48:c40::/48", "40009"}, + {"2804:4f74::/32", "268328"}, + {"2a02:26f7:f589::/46", "20940"}, + {"2409:8924:bb00::/37", "56046"}, + {"2409:8c1e:8fa0::/41", "9808"}, + {"2606:8e80:2800::/37", "32133"}, + {"2804:88c::/32", "52872"}, + {"2a00:1940::/32", "16353"}, + {"2a01:56f::/48", "51603"}, + {"2001:559:52::/47", "33651"}, + {"2001:559:c132::/48", "7922"}, + {"2600:5c00:21d2::/38", "20001"}, + {"2a01:c50f:91c0::/36", "12479"}, + {"2001:df5:4c00::/48", "132711"}, + {"240a:ac67::/32", "145825"}, + {"2603:f620::/27", "397165"}, + {"2804:1e38:2018::/33", "264415"}, + {"2a00:4802:2c40::/39", "8717"}, + {"2a02:9c8::/29", "5619"}, + {"2a02:26f7:d5c0::/48", "36183"}, + {"2001:559:c14e::/48", "33652"}, + {"2001:559:c4ca::/48", "33491"}, + {"2001:67c:4e4::/48", "204896"}, + {"2001:4408:4100::/38", "4758"}, + {"2408:8956:9500::/40", "17816"}, + {"2806:6::/28", "6503"}, + {"2a00:eb40::/32", "28889"}, + {"2a03:7380::/38", "13188"}, + {"2001:250:e0e::/43", "138375"}, + {"2407:a200::/32", "56123"}, + {"240a:ac9d::/32", "145879"}, + {"2600:1012:a020::/40", "22394"}, + {"2806:10a6:1e::/32", "8151"}, + {"2001:dce:8001::/38", "23869"}, + {"2001:1248:84d6::/44", "11172"}, + {"2409:8a5c:4e00::/26", "9808"}, + {"2604:880:273::/45", "29802"}, + {"2a02:26f7:cc85::/46", "20940"}, + {"2001:4878:a000::/48", "12222"}, + {"2402:3940::/32", "137252"}, + {"2408:8459:f700::/40", "17623"}, + {"240a:a201::/32", "143163"}, + {"240a:a209::/32", "143171"}, + {"2604:1380:3020::/33", "54825"}, + {"2606:ac80::/32", "393582"}, + {"2a02:940::/32", "21013"}, + {"2a02:ee80:42a9::/48", "3573"}, + {"2800:40:2b::/45", "16814"}, + {"2620:84:e000::/48", "29818"}, + {"240a:a4c6::/32", "143872"}, + {"240e:45c:6c00::/40", "131285"}, + {"2a02:26f7:eac8::/48", "36183"}, + {"2a03:60::/29", "60022"}, + {"240a:a95d::/32", "145047"}, + {"2600:1014:b140::/40", "22394"}, + {"2602:fd32:1::/48", "30496"}, + {"2804:5e30::/32", "269017"}, + {"2a02:26f7:ea41::/46", "20940"}, + {"2a0d:3842:1160::/48", "57629"}, + {"2a10:9100:9::/48", "209588"}, + {"2001:559:83c2::/48", "33659"}, + {"2408:80ea:7a90::/32", "17816"}, + {"2600:9000:2226::/44", "16509"}, + {"2606:6800:3000::/40", "394896"}, + {"2804:199c::/32", "61806"}, + {"2402:6800:740::/48", "38622"}, + {"2408:84f3:9240::/37", "17816"}, + {"240c:c984::/22", "23910"}, + {"2607:f9d0:f000::/40", "11979"}, + {"2001:559:826b::/48", "22909"}, + {"2001:579:b098::/41", "22773"}, + {"2804:70c0:10::/48", "270746"}, + {"2a02:ff0:1000::/40", "12735"}, + {"2a0e:97c0:740::/46", "208260"}, + {"2001:559:188::/48", "7922"}, + {"2804:7be8:c012::/34", "271462"}, + {"2400:3200::/32", "37963"}, + {"2604:2280:4000::/38", "53340"}, + {"2606:8c00:6::/48", "22995"}, + {"2804:9c0::/32", "262989"}, + {"2a02:26f7:ee45::/42", "20940"}, + {"2001:da8:300d::/48", "23910"}, + {"2620:119:5012::/45", "13443"}, + {"2001:1930:d00::/38", "11985"}, + {"2409:8060:8eb::/43", "9808"}, + {"2620:119:5009::/46", "13443"}, + {"2801:80:390::/48", "262382"}, + {"2804:5ab0::/32", "268789"}, + {"2a00:cb20::/35", "60266"}, + {"2a10:dc00::/29", "61193"}, + {"2409:894a:ad00::/31", "24445"}, + {"2a0e:46c6:700::/40", "34924"}, + {"2a0e:8100::/32", "60742"}, + {"2001:1248:883f::/41", "11172"}, + {"2402:28c0:ffae::/48", "137910"}, + {"2404:7840:1::/46", "138638"}, + {"240a:a100::/32", "142906"}, + {"240e:108:1161::/48", "138982"}, + {"2a02:5120::/32", "1257"}, + {"2a0d:4d40:12::/45", "50630"}, + {"2001:218:2300::/35", "2914"}, + {"2001:500:8d::/48", "26710"}, + {"2001:510:20d::/39", "376"}, + {"2001:559:207::/48", "33652"}, + {"2400:9600:8800::/48", "4812"}, + {"240a:a841::/32", "144763"}, + {"2605:8bc0:50::/44", "26695"}, + {"2800:160:11b5::/41", "14259"}, + {"2804:3714::/32", "266388"}, + {"2804:4e84::/32", "268266"}, + {"2c0f:f608:4000::/36", "21351"}, + {"2409:8c1e:27b0::/33", "9808"}, + {"2a0b:4d07:601::/46", "44239"}, + {"2001:44b8:603e::/41", "4739"}, + {"2400:a800::/32", "2514"}, + {"2605:9d80:9061::/48", "4809"}, + {"2a02:26f7:e0cd::/42", "20940"}, + {"2001:550:b02::/37", "174"}, + {"2620:11f:a008::/48", "62491"}, + {"2001:1270:3001::/36", "22908"}, + {"2405:b900:1::/44", "55701"}, + {"2600:1015:b1e0::/33", "6167"}, + {"2607:f380:804::/48", "257"}, + {"2802:0:13::/44", "18747"}, + {"2803:eb80::/32", "61493"}, + {"2a03:efc0:1500::/40", "33438"}, + {"2a0b:6a00::/29", "207056"}, + {"2a10:1040::/32", "59589"}, + {"2001:df1:2100::/48", "141671"}, + {"2804:52bc::/32", "268538"}, + {"2a07:b800::/29", "44066"}, + {"2a10:9540::/29", "211784"}, + {"2001:559:466::/48", "33659"}, + {"240a:a894::/32", "144846"}, + {"2a02:26f7:f044::/48", "36183"}, + {"2001:67c:1754::/48", "201456"}, + {"2806:2f0:5041::/46", "17072"}, + {"2a00:1d36:1200::/39", "47331"}, + {"2a01:89c0::/32", "25428"}, + {"2a04:6a00:d4::/48", "43460"}, + {"2a07:9443::/32", "205055"}, + {"2401:ee00:131::/38", "23951"}, + {"2405:200::/39", "55836"}, + {"240a:af3f::/32", "146553"}, + {"2603:c0fc::/40", "54253"}, + {"2a01:5c40:3::/48", "6807"}, + {"2400:a140:ffff::/48", "131964"}, + {"2409:8053:3100::/37", "9808"}, + {"2602:fc35::/36", "399285"}, + {"2620:136:4000::/44", "19694"}, + {"2804:2e4:8001::/33", "53234"}, + {"2001:67c:1008::/48", "42385"}, + {"2400:9800:7::/44", "24203"}, + {"240a:ac5e::/32", "145816"}, + {"2803:b9e0::/32", "270024"}, + {"2a02:26f7:c78d::/42", "20940"}, + {"2a06:fec0:3203::/48", "205476"}, + {"2a09:a040::/29", "25486"}, + {"2001:578:13f::/36", "22773"}, + {"2001:678:2::/48", "31529"}, + {"240a:ae15::/32", "146255"}, + {"240a:af04::/32", "146494"}, + {"240e:45c:7800::/32", "131285"}, + {"2a00:c700:8000::/34", "24645"}, + {"2a02:449::/32", "34146"}, + {"2a02:26f7:b60c::/48", "36183"}, + {"2a0b:4342:3000::/36", "57695"}, + {"2a10:e400::/29", "39810"}, + {"2001:579:5a54::/44", "22773"}, + {"2402:9800:4000::/48", "131117"}, + {"2406:b400:f10::/48", "18209"}, + {"2600:1003:b058::/45", "6167"}, + {"2602:feda:d40::/44", "38136"}, + {"2a00:edc0:1007::/48", "395403"}, + {"2a04:4e40:8200::/48", "54113"}, + {"2001:559:7e9::/48", "33657"}, + {"2408:80ea:64c0::/38", "17816"}, + {"2409:8914:4800::/34", "56044"}, + {"2607:fe10:3100::/32", "11796"}, + {"2804:1dac:400::/32", "264385"}, + {"2804:5bb8::/42", "268865"}, + {"2804:5de0::/32", "268998"}, + {"2804:6604:8100::/33", "269528"}, + {"2804:667c::/32", "269563"}, + {"2a02:348:1002::/32", "35470"}, + {"2a02:26f7:d840::/48", "36183"}, + {"2a02:7c00::/32", "21060"}, + {"2001:559:81ee::/48", "33287"}, + {"2001:678:f24::/48", "211514"}, + {"2806:211::/32", "28539"}, + {"2001:67c:2ed8::/48", "6766"}, + {"2400:8800:1e8f::/48", "7262"}, + {"2406:ec40::/32", "134469"}, + {"2407:ff80:2000::/32", "135881"}, + {"240e:878:200::/39", "137689"}, + {"2804:cf4::/32", "52579"}, + {"2a02:26f7:bc88::/48", "36183"}, + {"2001:559:5f2::/45", "7922"}, + {"2606:3c80:a400::/35", "33582"}, + {"2804:214:9::/43", "26615"}, + {"2804:7b14::/32", "271409"}, + {"2a05:8280::/32", "202448"}, + {"2a0c:7e40:b397::/48", "20473"}, + {"2a0c:b641:540::/44", "210546"}, + {"2a0e:7400::/29", "39305"}, + {"2001:4d60::/32", "1126"}, + {"2408:8956:e600::/40", "17622"}, + {"2409:8b79::/29", "9808"}, + {"2620:91:c000::/47", "54900"}, + {"2a05:1500:600::/36", "48635"}, + {"2402:3a80:38::/46", "38266"}, + {"2606:ae80:1440::/43", "26762"}, + {"2804:30c4:2000::/32", "264973"}, + {"2a0b:b87:ff13::/48", "210632"}, + {"2c0f:ed38::/35", "328437"}, + {"2404:1a0:2009::/43", "24334"}, + {"2a00:4120:8005::/48", "210587"}, + {"2a02:26f7:f205::/46", "20940"}, + {"2a0c:b340:2::/29", "206262"}, + {"2605:7700::/48", "36024"}, + {"2401:d800:2c10::/42", "7552"}, + {"2402:800:bdb0::/41", "7552"}, + {"2409:803d:2c00::/25", "9808"}, + {"240a:af79::/32", "146611"}, + {"2804:104c:6400::/40", "263629"}, + {"2a10:3240::/30", "208256"}, + {"2001:559:804c::/48", "21508"}, + {"240e:978:8000::/40", "137702"}, + {"2600:4c00:80::/41", "63410"}, + {"2605:1100::/32", "29953"}, + {"2a02:26f0:ad01::/38", "20940"}, + {"2a02:26f7:f345::/46", "20940"}, + {"2a02:6560::/32", "201932"}, + {"2001:1248:5f59::/42", "11172"}, + {"2001:559:8063::/48", "33650"}, + {"2001:67c:2764::/48", "12552"}, + {"2405:7600:4000::/35", "23956"}, + {"2602:fed2:711d::/48", "140244"}, + {"2804:7dd0:2100::/32", "271584"}, + {"2a00:a900:7aff::/32", "60819"}, + {"2a02:26f7:e649::/42", "20940"}, + {"2604:c580::/32", "55230"}, + {"2804:6c6c::/32", "270467"}, + {"2a00:8900::/32", "41625"}, + {"2001:559:2ef::/48", "33652"}, + {"2400:2000:f::/43", "20940"}, + {"2800:160:1676::/44", "14259"}, + {"2a03:db80:4c81::/46", "680"}, + {"2001:df5:f500::/48", "133296"}, + {"240a:a653::/32", "144269"}, + {"2803:32a0::/32", "266858"}, + {"2804:90c::/40", "262617"}, + {"2804:43f0::/32", "267600"}, + {"2a0e:bfc0::/29", "211619"}, + {"2a11:db00::/29", "204790"}, + {"240a:a65e::/32", "144280"}, + {"2804:854:c::/32", "28368"}, + {"2a00:4460::/32", "199374"}, + {"2a02:2e02:8fb0::/41", "12479"}, + {"2405:3bc0::/48", "139182"}, + {"2408:8456:400::/42", "17622"}, + {"2600:9000:11bf::/48", "16509"}, + {"2801:1fc:26::/48", "27951"}, + {"2a00:b320::/48", "9009"}, + {"2a02:26f7:3a::/48", "36183"}, + {"2a02:26f7:e785::/46", "20940"}, + {"2a06:e881:260c::/48", "206740"}, + {"2001:460:7c::/40", "3561"}, + {"2409:8055:20::/48", "9808"}, + {"2800:200:b3b0::/41", "12252"}, + {"2800:bf0:8290::/48", "27947"}, + {"2804:7ab0::/32", "271386"}, + {"2806:230:300c::/48", "265594"}, + {"2401:d800:b120::/41", "7552"}, + {"2407:7c0:9422::/48", "9422"}, + {"2001:559:5f::/42", "7922"}, + {"2600:1400:12::/36", "20940"}, + {"2a00:11c0:9020::/48", "42473"}, + {"2406:f040:131::/48", "131775"}, + {"2602:fe38::/36", "17177"}, + {"2804:1ac:400::/33", "53175"}, + {"2804:6238::/32", "269283"}, + {"2607:ff18::/36", "40630"}, + {"2801:80:37c0::/48", "269560"}, + {"2803:5160::/39", "269730"}, + {"2804:5e2c::/36", "269016"}, + {"2001:559:359::/46", "33659"}, + {"2401:d800:5ec0::/42", "7552"}, + {"2408:8956:9600::/40", "17622"}, + {"240a:abb5::/32", "145647"}, + {"2800:9e0::/32", "26505"}, + {"2804:2ab8::/44", "53180"}, + {"2a10:86c0::/29", "211850"}, + {"2804:bb4::/38", "52812"}, + {"2806:2f0:94c0::/39", "17072"}, + {"2802:3:2::/44", "18747"}, + {"2804:43f4:30::/41", "267601"}, + {"2001:418:1430:100::/56", "20940"}, + {"2001:559:5a9::/48", "33491"}, + {"2001:1248:9a8d::/43", "11172"}, + {"2403:f4c0::/48", "4847"}, + {"2408:8459:9250::/37", "17816"}, + {"240a:a323::/32", "143453"}, + {"240a:a469::/32", "143779"}, + {"240a:a6be::/32", "144376"}, + {"240e:930::/32", "134420"}, + {"2a02:2e02:3180::/36", "12479"}, + {"2a02:6a80::/33", "3245"}, + {"2001:14c0::/32", "8520"}, + {"2404:3d00:4128::/46", "3573"}, + {"2406:daa0:c040::/44", "16509"}, + {"2804:58e0::/32", "268155"}, + {"2a02:26f7:b809::/42", "20940"}, + {"2a02:26f7:bfcc::/48", "36183"}, + {"2409:8055:3035::/41", "56040"}, + {"2600:9c0f::/32", "7979"}, + {"2605:fb80:e000::/36", "16584"}, + {"2a00:b404::/32", "205867"}, + {"2a10:7340::/29", "52126"}, + {"2408:8244:1200::/32", "4837"}, + {"2409:8055:306d::/43", "56040"}, + {"2620:101:f000::/47", "12093"}, + {"2a01:4f80::/29", "51053"}, + {"2a01:9700:1870::/32", "8376"}, + {"2a05:5180::/47", "211262"}, + {"2a0e:d380::/48", "203566"}, + {"2001:250:859::/48", "23910"}, + {"2804:2cfc::/32", "265255"}, + {"2a0f:5707:ab2a::/48", "53356"}, + {"2001:1938:2203::/39", "33438"}, + {"2406:840:ac10::/44", "139317"}, + {"240e:983:1600::/46", "58563"}, + {"2607:6b80:61::/46", "133480"}, + {"2a02:578::/34", "9031"}, + {"2a02:2ba0::/32", "42781"}, + {"2a07:bd80::/29", "43350"}, + {"2001:e60:8000::/37", "4766"}, + {"2408:8957:8900::/40", "17816"}, + {"2a01:9660:1a::/32", "199743"}, + {"2001:559:c31f::/48", "33651"}, + {"240e:3b1:f100::/37", "134775"}, + {"2605:1ec0::/32", "394501"}, + {"2610:e8:1900::/48", "10753"}, + {"2409:804c:3100::/36", "9808"}, + {"240a:a79f::/32", "144601"}, + {"240a:a8a8::/32", "144866"}, + {"2607:f9c8::/32", "26949"}, + {"2401:9c00::/32", "23923"}, + {"2407:5400::/32", "17551"}, + {"240e:3b0:7600::/39", "140313"}, + {"2600:6000:fd40::/48", "11351"}, + {"2602:ffeb::/36", "54819"}, + {"2605:d100::/32", "19844"}, + {"2800:98:1810::/32", "14754"}, + {"2804:4034::/32", "265944"}, + {"2a02:22d0:d::/32", "61323"}, + {"2a02:29a8::/36", "60142"}, + {"2001:559:8677::/48", "33650"}, + {"2001:1248:59ff::/38", "11172"}, + {"2405:e800::/32", "17675"}, + {"2408:8459:dc30::/41", "17622"}, + {"240a:a9ae::/32", "145128"}, + {"2600:1f70:5000::/40", "16509"}, + {"2a0c:e304::/48", "198985"}, + {"2001:559:c386::/48", "33287"}, + {"2804:5944::/32", "268180"}, + {"2a02:26f7:e241::/46", "20940"}, + {"2a02:26f7:f140::/48", "36183"}, + {"2001:559:80d5::/48", "33652"}, + {"2409:8904:35a0::/38", "24547"}, + {"2a02:26f7:b588::/48", "36183"}, + {"2a02:cb43:a000::/47", "20546"}, + {"2001:808::/35", "9112"}, + {"2408:840d:5f00::/42", "17621"}, + {"2409:8704:500::/34", "24547"}, + {"2607:f8f8:1f02::/45", "201106"}, + {"2804:1a30::/38", "61844"}, + {"2804:5efc::/32", "269069"}, + {"2a01:53c0:ff16::/48", "54994"}, + {"2407:1600::/32", "1299"}, + {"240a:a6ec::/32", "144422"}, + {"240e:324::/30", "4134"}, + {"2607:8380::/32", "11961"}, + {"2804:1880::/32", "61936"}, + {"2a01:190:15ed::/48", "16099"}, + {"2001:559:8397::/48", "7015"}, + {"2606:e400::/34", "26271"}, + {"2a00:61c0::/29", "44143"}, + {"2a01:9e00:ac54::/31", "41495"}, + {"2a01:ce89:b000::/33", "51964"}, + {"2001:470:9b::/48", "6939"}, + {"2001:559:25e::/48", "33659"}, + {"2001:df0:273::/48", "58477"}, + {"2602:ffe4:c32::/48", "21859"}, + {"2604:d600:608::/46", "32098"}, + {"2605:ed80::/32", "20303"}, + {"2a01:6da0::/32", "3249"}, + {"2620:113:8083::/41", "3680"}, + {"2801:80:39b0::/48", "270952"}, + {"2001:1a68:b::/48", "42503"}, + {"2804:8c::/33", "28216"}, + {"2804:21f8:13::/41", "262272"}, + {"2a0b:880::/45", "210834"}, + {"2001:fd8:1e4::/46", "132199"}, + {"2401:47c0:2000::/32", "41095"}, + {"240a:aacf::/32", "145417"}, + {"2600:1005:b0b0::/41", "6167"}, + {"2605:a40e:526::/32", "33363"}, + {"2a03:d602::/31", "42487"}, + {"2001:df0:3ac0::/48", "142507"}, + {"2402:800:b9a2::/41", "7552"}, + {"2408:8459:4430::/41", "17622"}, + {"2804:7a08::/32", "271343"}, + {"2a00:ab00:6000::/36", "61976"}, + {"2606:f40:6800::/48", "16509"}, + {"2620:119:fc::/48", "36692"}, + {"2a02:2330::/40", "12578"}, + {"2806:2f0:9863::/39", "17072"}, + {"2a09:bac0:31::/48", "13335"}, + {"2a0b:1580::/29", "206766"}, + {"240a:a6b9::/32", "144371"}, + {"2408:802a:8000::/33", "4837"}, + {"2408:84f3:f650::/44", "17816"}, + {"240a:aae1::/32", "145435"}, + {"2605:1900::/47", "12208"}, + {"2620:100:403e::/47", "25923"}, + {"2804:4024:ff00::/40", "265937"}, + {"2001:4c8:10a2::/41", "15290"}, + {"2406:da12::/36", "16509"}, + {"2801:1a6:800::/37", "271825"}, + {"2a00:1858::/35", "25454"}, + {"2a0b:b900::/29", "62183"}, + {"2603:b0e0:efad::/35", "11796"}, + {"2604:e180::/45", "55002"}, + {"2605:7900:24::/48", "63442"}, + {"2605:a401:8501::/40", "33363"}, + {"2605:ed00:6888::/32", "11427"}, + {"2806:2f0:34a3::/41", "17072"}, + {"2a03:7b20::/32", "48450"}, + {"2001:67c:26fc::/48", "50344"}, + {"2620:98:e005::/46", "399728"}, + {"2804:58d8::/32", "268153"}, + {"2a02:26f7:f700::/48", "36183"}, + {"2400:5280:1800::/34", "63199"}, + {"2600:1404:b800::/48", "35994"}, + {"2602:ffa6:500::/40", "62731"}, + {"2001:559:80a1::/46", "7015"}, + {"2001:67c:554::/48", "12525"}, + {"2001:4998:24::/46", "36647"}, + {"2402:4f00::/33", "58453"}, + {"2806:2f0:1021::/46", "22884"}, + {"2a02:26f7:d940::/48", "36183"}, + {"2a03:220:f000::/48", "209406"}, + {"2a0a:56c4:8300::/47", "42649"}, + {"2001:678:72c::/48", "201697"}, + {"2402:ec00::/32", "7575"}, + {"2806:283:5000::/36", "265515"}, + {"2402:3a80:1e10::/45", "38266"}, + {"240a:a1ef::/32", "143145"}, + {"2804:314:4025::/46", "61568"}, + {"2806:20d:5077::/38", "32098"}, + {"2a02:f7f:4::/46", "198408"}, + {"2a04:e700::/30", "48849"}, + {"2a0a:d6c0:145::/48", "15404"}, + {"2001:470:97::/44", "6939"}, + {"2001:559:861b::/48", "7922"}, + {"2604:a180:4000::/36", "11139"}, + {"2a09:ac80::/29", "209723"}, + {"2001:559:845f::/48", "7922"}, + {"240e:44d:880::/41", "4134"}, + {"2803:3b80:d::/34", "263702"}, + {"2804:81f4::/32", "272488"}, + {"2a06:afc0:2::/48", "41011"}, + {"2803:f720::/32", "266764"}, + {"2a04:3a60::/33", "56467"}, + {"2001:67c:1748::/48", "60799"}, + {"2a02:390::/32", "12496"}, + {"2a03:6087::/32", "16285"}, + {"240a:a92e::/32", "145000"}, + {"2a00:bf40::/32", "57928"}, + {"2a02:26f0:128::/48", "6762"}, + {"2001:559:736::/48", "22909"}, + {"2001:559:c240::/48", "33650"}, + {"2001:1ad0::/32", "24953"}, + {"240a:ab78::/32", "145586"}, + {"2800:160:1dd9::/46", "14259"}, + {"2801:80:1c80::/48", "266161"}, + {"2804:680:19::/37", "262589"}, + {"2804:4580:1100::/32", "266931"}, + {"2a05:ca80::/29", "49603"}, + {"2408:8459:1f30::/41", "17622"}, + {"2408:84f3:3010::/44", "17623"}, + {"2605:64c0::/47", "63294"}, + {"2a00:7600::/32", "21412"}, + {"2a0c:c0c0::/29", "202438"}, + {"2400:4d60::/32", "63793"}, + {"2604:2e8e::/34", "30036"}, + {"2604:5200::/48", "32504"}, + {"2a03:3820::/32", "201838"}, + {"2401:d800:bc20::/41", "7552"}, + {"2800:800:790::/41", "26611"}, + {"2a09:ba00:4::/48", "61323"}, + {"2c0f:f4e8::/32", "327750"}, + {"2001:67c:10e4::/48", "2119"}, + {"2407:c2c0::/32", "142631"}, + {"2001:559:396::/48", "7725"}, + {"240e:908::/33", "4134"}, + {"2804:f6c:2021::/41", "263585"}, + {"2a10:a200::/48", "16509"}, + {"240a:a4af::/32", "143849"}, + {"2620:11a:a029::/46", "36040"}, + {"2803:2a00:1000::/37", "27895"}, + {"2804:640:7b::/45", "262713"}, + {"2804:29b0:2000::/35", "61577"}, + {"2804:30bc::/32", "52609"}, + {"2403:9800:7f01::/48", "4648"}, + {"240a:a531::/32", "143979"}, + {"2620:101:200b::/45", "16417"}, + {"2a04:5201:2::/48", "200740"}, + {"2402:4400::/32", "44356"}, + {"2404:6380::/48", "23650"}, + {"2600:1806:20::/44", "16552"}, + {"2804:53b8::/32", "268602"}, + {"2a00:1388:1000::/40", "8328"}, + {"2a00:aca0::/32", "49223"}, + {"2401:d800:5030::/41", "7552"}, + {"240e:108:42::/48", "58466"}, + {"240e:3bd:c000::/37", "140315"}, + {"240e:7b2:1000::/32", "4134"}, + {"2600:1012:b130::/44", "22394"}, + {"2605:f980::/32", "7753"}, + {"2804:81c4::/32", "272475"}, + {"2a02:26f7:df81::/46", "20940"}, + {"2a03:6947:100::/40", "50973"}, + {"2a12:a307::/48", "23748"}, + {"2400:ac40:b60::/43", "136255"}, + {"2408:8957:3f00::/40", "17816"}, + {"2606:9500:1000::/36", "393423"}, + {"2804:e50::/32", "53067"}, + {"2a0c:36c2::/31", "9009"}, + {"2600:1010:6010::/32", "22394"}, + {"2620:107:901d::/42", "22787"}, + {"2800:160:116c::/46", "14259"}, + {"2402:5600::/32", "10083"}, + {"2404:bf40:e303::/37", "139084"}, + {"240a:aee4::/32", "146462"}, + {"2803:7d80:5021::/41", "11664"}, + {"2a01:3f1:c00::/34", "8674"}, + {"2001:559:87b6::/48", "7015"}, + {"2600:1007:d040::/40", "22394"}, + {"2605:ed00::/33", "11427"}, + {"2800:800:5f0::/44", "26611"}, + {"2a02:26f7:d280::/48", "36183"}, + {"2a04:f580:9250::/48", "4809"}, + {"2404:a8:10::/48", "24514"}, + {"2408:840c:6100::/40", "17621"}, + {"2001:df5:7800::/48", "133465"}, + {"2402:1d40::/46", "58826"}, + {"2600:1406:1601::/36", "20940"}, + {"2a02:2b60::/45", "42947"}, + {"2a02:c2c0::/29", "12513"}, + {"2a0f:3103::/32", "29182"}, + {"2001:559:832e::/48", "33651"}, + {"2001:559:c15e::/48", "33657"}, + {"2001:fd8:21c8::/38", "4775"}, + {"2408:803e::/32", "4837"}, + {"2801:80:1910::/48", "264958"}, + {"2804:6914::/32", "270247"}, + {"2a01:98::/32", "8190"}, + {"2001:559:c2b9::/48", "33490"}, + {"2001:678:348::/48", "43861"}, + {"2405:54c0::/48", "56150"}, + {"2a05:fdc0::/35", "42313"}, + {"2a10:3c40::/29", "204790"}, + {"2409:8915:3800::/39", "56044"}, + {"2804:14c:9d00::/40", "28573"}, + {"2804:75d4:2800::/32", "271072"}, + {"2a04:1b00:c::/47", "61005"}, + {"2001:408:10::/44", "6250"}, + {"2001:67c:229c::/48", "212002"}, + {"2408:8a06:100::/47", "9929"}, + {"2604:fe80::/32", "7030"}, + {"2610:a1:1024::/48", "397226"}, + {"2a01:1d0::/32", "50670"}, + {"2001:16d8:baff::/39", "16150"}, + {"2001:49f0:d010::/44", "174"}, + {"2804:820::/32", "262352"}, + {"2a02:26f7:b3c8::/48", "36183"}, + {"2a04:600::/29", "61161"}, + {"2a0a:7040::/32", "203712"}, + {"2001:678:cb4::/48", "56396"}, + {"2404:3800:f::/48", "38719"}, + {"2602:ffc5:158::/48", "40676"}, + {"2620:107:90d0::/48", "22787"}, + {"2804:7288::/32", "270859"}, + {"2405:e9c0::/32", "135572"}, + {"2604:a300::/32", "17056"}, + {"2804:14d:4cb5::/46", "28573"}, + {"2804:1d20:2600::/32", "264349"}, + {"2001:559:c266::/48", "33287"}, + {"2400:adc0:c000::/47", "9541"}, + {"2401:2680::/32", "23776"}, + {"2401:d800:d2b0::/41", "7552"}, + {"240a:a8f3::/32", "144941"}, + {"2803:17e0::/32", "52468"}, + {"2a11:6c0:100::/32", "211083"}, + {"2a12:a307:3::/48", "138181"}, + {"2600:9000:a100::/48", "16509"}, + {"2a02:330::/45", "31261"}, + {"2001:978:a02::/35", "174"}, + {"2400:9380:9009::/46", "4809"}, + {"240a:a3e7::/32", "143649"}, + {"240a:a446::/32", "143744"}, + {"2001:559:82db::/48", "13367"}, + {"2402:a00:98::/39", "45916"}, + {"2402:f800:ef01::/40", "7602"}, + {"2803:9800:b501::/45", "11664"}, + {"2804:5ee4::/32", "269063"}, + {"2a02:2608::/32", "44306"}, + {"2a09:ee40::/29", "201011"}, + {"2a0b:b680::/29", "204790"}, + {"2001:4c48::/29", "5483"}, + {"2400:8280::/32", "58511"}, + {"2400:b000:800::/48", "132796"}, + {"2600:1408:6c01::/38", "20940"}, + {"2a02:888:140::/46", "48695"}, + {"2408:8459:1a50::/39", "17816"}, + {"240e:108:27::/48", "133774"}, + {"240e:3b5:9c00::/34", "140310"}, + {"2600:1480:4000::/40", "33905"}, + {"2600:6c47:8000::/28", "20115"}, + {"2a0c:8540:6::/48", "42198"}, + {"2407:d6c0:1::/46", "136785"}, + {"2408:8459:3010::/41", "17623"}, + {"2409:8054:19::/45", "56040"}, + {"240a:a36b::/32", "143525"}, + {"240a:a471::/32", "143787"}, + {"240a:a63a::/32", "144244"}, + {"2a02:26f7:d6c9::/46", "20940"}, + {"2a0a:f480::/29", "206576"}, + {"2001:df0:c480::/48", "138398"}, + {"2402:8100:20ca::/43", "45271"}, + {"2600:1406:35::/48", "35994"}, + {"2a00:f500::/29", "13194"}, + {"2400:c700:a001::/35", "55644"}, + {"240e:a64::/35", "140329"}, + {"2620:19:2000::/48", "803"}, + {"2a0e:1c80:6::/48", "3399"}, + {"2a11:c800::/29", "42375"}, + {"2409:8a50::/38", "56047"}, + {"240e:44d:5f00::/41", "140345"}, + {"2600:370f:352d::/41", "32261"}, + {"2602:fc26:4::/44", "211562"}, + {"2800:484:c600::/40", "10620"}, + {"2803:9800:b507::/36", "11664"}, + {"2804:25c4::/32", "264301"}, + {"2804:673c:c300::/40", "264598"}, + {"2804:68e8::/32", "269724"}, + {"2001:250:1001::/43", "24353"}, + {"2001:67c:10f8::/48", "199233"}, + {"240a:a29b::/32", "143317"}, + {"2606:2700::/32", "54044"}, + {"2804:7d04::/32", "271533"}, + {"2408:840d:d400::/42", "17621"}, + {"2a06:d581:1000::/36", "13283"}, + {"2a07:b700::/29", "57626"}, + {"2001:579:e041::/40", "22773"}, + {"2606:6a00::/32", "14280"}, + {"2a07:cb81::/32", "15404"}, + {"2a0f:16c0::/29", "60262"}, + {"2001:41c8::/31", "35425"}, + {"2804:a54::/47", "262664"}, + {"2a02:2e02:2b00::/37", "12479"}, + {"2a04:6fb0::/31", "58005"}, + {"2001:559:7e8::/48", "21508"}, + {"2001:1a11:ed::/46", "8781"}, + {"240a:a0c1::/32", "142843"}, + {"240a:ad75::/32", "146095"}, + {"2600:6c38:73a::/47", "20115"}, + {"2603:c0fa:4000::/35", "20054"}, + {"2a02:26f7:e180::/48", "36183"}, + {"2a0c:bec0::/29", "12735"}, + {"2001:559:765::/48", "7922"}, + {"2001:559:84a4::/48", "7016"}, + {"2001:67c:2010::/48", "21344"}, + {"2403:e800:516::/44", "4637"}, + {"2804:3c78::/48", "266214"}, + {"2001:978:801:1::/40", "174"}, + {"2401:d800:fbf0::/37", "7552"}, + {"2402:b280::/32", "133934"}, + {"240a:a923::/32", "144989"}, + {"2620:186:4::/46", "396016"}, + {"2801:80:3741::/48", "269406"}, + {"2804:5c4c::/32", "268900"}, + {"2806:102e:10::/46", "8151"}, + {"2a0c:9a40:8113::/45", "204438"}, + {"2a11:f980::/29", "204790"}, + {"2001:559:c4a8::/48", "7922"}, + {"2600:1012:9000::/43", "6167"}, + {"2606:6c0::/32", "399049"}, + {"2a0b:8580::/29", "206429"}, + {"2a10:780::/32", "200780"}, + {"2001:df0:2ee::/48", "55384"}, + {"2405:d800::/39", "24247"}, + {"2a09:cd45::/30", "202448"}, + {"2001:678:a48::/48", "209163"}, + {"2001:67c:1920::/48", "12552"}, + {"2408:8256:319c::/48", "17816"}, + {"240a:a33e::/32", "143480"}, + {"240a:a42c::/32", "143718"}, + {"240a:ada2::/32", "146140"}, + {"2600:370f:74e3::/45", "32261"}, + {"2a05:1a00::/34", "43754"}, + {"2001:559:298::/48", "33652"}, + {"2001:67c:64::/48", "2121"}, + {"2a0d:5642:104::/47", "35487"}, + {"2c0f:efa0::/48", "36902"}, + {"2001:be7::/32", "21233"}, + {"2001:1210::/32", "2549"}, + {"2001:44a8::/32", "23836"}, + {"2804:e30:409::/43", "11338"}, + {"240a:acee::/32", "145960"}, + {"2804:28e4:c::/43", "28260"}, + {"2001:559:81b7::/48", "33650"}, + {"2400:7180::/32", "45671"}, + {"240a:a1f5::/32", "143151"}, + {"240a:aada::/32", "145428"}, + {"240c:ca28::/31", "24363"}, + {"2620:12d:e02f::/48", "3356"}, + {"2a02:e7c0::/29", "50599"}, + {"2a0d:2146:8580::/45", "39526"}, + {"2001:559:8572::/48", "7016"}, + {"2001:df3:ac00::/47", "63972"}, + {"2408:8957:3a00::/40", "17622"}, + {"2409:8053:2c03::/38", "9808"}, + {"240a:a61d::/32", "144215"}, + {"2600:c01::/32", "14743"}, + {"2605:1000::/32", "19662"}, + {"2001:388::/44", "7575"}, + {"2001:678:2d0::/48", "25482"}, + {"2001:cd8::/33", "4780"}, + {"2402:3a80:1860::/40", "38266"}, + {"2408:80ca::/32", "17816"}, + {"2804:73b8::/32", "270933"}, + {"2a0c:2f07:72::/47", "208024"}, + {"2c0f:efe0::/32", "328366"}, + {"2001:559:2a5::/48", "33491"}, + {"2001:1b38::/32", "8554"}, + {"2a00:1560:11::/45", "29684"}, + {"2001:559:193::/48", "33287"}, + {"2001:4878:204::/48", "12222"}, + {"2402:3a80:1400::/42", "38266"}, + {"2404:4e00:c000::/48", "32787"}, + {"2804:6280:5::/32", "269301"}, + {"2804:71a8::/32", "270803"}, + {"2a00:4120:8000:7::/45", "20804"}, + {"2a0e:63c0::/29", "208516"}, + {"2001:559:812c::/48", "33652"}, + {"2001:559:857a::/48", "7016"}, + {"2001:48b0::/32", "2497"}, + {"240a:a7e3::/32", "144669"}, + {"2803:d200::/32", "28086"}, + {"2a00:83a0::/32", "60772"}, + {"2a10:ca00:3::/45", "212217"}, + {"2001:df0:dd80::/48", "135839"}, + {"2620:0:dc0::/49", "683"}, + {"2403:2500:8000::/48", "36236"}, + {"2409:8089:1021::/23", "9808"}, + {"2800:160:112d::/43", "14259"}, + {"2804:441c::/32", "267603"}, + {"2804:7f8c:1130::/32", "271695"}, + {"2a02:26f7:1e::/48", "36183"}, + {"2001:67c:2750::/48", "200745"}, + {"2408:8956:dd00::/40", "17816"}, + {"2600:6c38:b5c::/42", "20115"}, + {"2806:230:6025::/48", "11888"}, + {"2a04:5b82:9::/45", "202265"}, + {"2001:559:56d::/48", "7922"}, + {"2001:df0:e4::/48", "56026"}, + {"2409:8435::/23", "9808"}, + {"240a:aff9::/32", "146739"}, + {"240e:45c:c500::/40", "140536"}, + {"2a05:5f00::/30", "203170"}, + {"2a01:5640::/32", "43207"}, + {"2a02:26f7:c208::/48", "36183"}, + {"2001:559:96::/48", "33287"}, + {"2401:cf80:600e::/41", "55303"}, + {"2402:800:77a2::/36", "7552"}, + {"2402:3380::/32", "134119"}, + {"2a01:b7c0::/32", "60384"}, + {"240a:aeaa::/32", "146404"}, + {"240a:aec2::/32", "146428"}, + {"2804:10c8:d002::/44", "263649"}, + {"2a00:13d8::/29", "3212"}, + {"240a:a8b4::/32", "144878"}, + {"240e:108:1080::/48", "132153"}, + {"2600:1009:b170::/40", "22394"}, + {"2803:7a80::/36", "263713"}, + {"2a0a:acc0::/48", "6369"}, + {"2401:d800:780::/42", "7552"}, + {"2602:fe19:4017::/34", "26073"}, + {"2803:6f00::/36", "14117"}, + {"2a02:26f7:e7c0::/48", "36183"}, + {"2a07:6b40::/29", "559"}, + {"2a0e:8480::/29", "42156"}, + {"2001:978:9e00:1::/34", "174"}, + {"240a:a811::/32", "144715"}, + {"2604:d600:655::/44", "32098"}, + {"2a0a:e200:1911::/38", "33438"}, + {"2001:559:250::/46", "33652"}, + {"2400:c180:19::/48", "132513"}, + {"2405:73c0::/48", "41095"}, + {"2804:3d4:1a::/42", "262401"}, + {"2c0f:f6b0::/32", "327728"}, + {"2001:1398:274::/48", "52234"}, + {"2800:b90::/32", "263246"}, + {"2a01:664:400::/36", "48951"}, + {"2001:67c:1ba4::/48", "59586"}, + {"2400:c700::/44", "55644"}, + {"240a:a402::/32", "143676"}, + {"2803:ae0::/32", "269930"}, + {"2804:2f44::/32", "264881"}, + {"2a03:c2c0::/32", "61205"}, + {"2a0e:b107:3ef::/48", "212034"}, + {"2001:559:81de::/47", "33651"}, + {"2409:8020:10d1::/34", "56046"}, + {"240a:a6aa::/32", "144356"}, + {"2800:160:1d02::/44", "14259"}, + {"2a07:f0c0::/29", "200768"}, + {"2a00:6060:b001::/33", "60983"}, + {"2a02:5d00::/32", "196861"}, + {"2c0f:2e00:400::/32", "328578"}, + {"2600:380:cc00::/41", "20057"}, + {"2600:100f:f100::/44", "6167"}, + {"2804:18:7060::/39", "10429"}, + {"2a07:44c0::/29", "203081"}, + {"2001:559:8a::/48", "21508"}, + {"2001:559:c12a::/48", "33287"}, + {"2401:d800:27a0::/41", "7552"}, + {"2600:1003:f840::/44", "6167"}, + {"2604:be40::/32", "13857"}, + {"2a00:91c0::/32", "204558"}, + {"2001:559:8270::/48", "7016"}, + {"2001:559:c35d::/48", "7016"}, + {"2001:678:104::/48", "20609"}, + {"2001:67c:17e4::/48", "2119"}, + {"2400:9380:a002::/47", "23764"}, + {"2409:8050:2002::/40", "56047"}, + {"2409:8959:ce44::/43", "9808"}, + {"240a:a11b::/32", "142933"}, + {"2804:3fd4:3000::/33", "265918"}, + {"2804:54dc::/32", "268674"}, + {"2a00:1c48::/31", "12695"}, + {"2a00:cee4:dcd::/31", "60268"}, + {"2a01:bc40::/32", "197453"}, + {"2c0f:f7a8:9020::/48", "4809"}, + {"2408:8957:2c00::/40", "17622"}, + {"240e:3b6:1400::/38", "134773"}, + {"2a01:280:3::/45", "12381"}, + {"2001:559:85cd::/48", "33657"}, + {"2404:f4c0:f948::/46", "142551"}, + {"240a:ad2f::/32", "146025"}, + {"2604:ea80::/32", "33438"}, + {"2a12:7700::/29", "212144"}, + {"2001:559:867e::/48", "33650"}, + {"2404:2280:1bd::/46", "24429"}, + {"2605:300::/32", "46849"}, + {"2401:4900:1af0::/44", "45609"}, + {"2804:50c0::/32", "268408"}, + {"2001:255::/32", "38255"}, + {"2001:1218:60bc::/47", "278"}, + {"2001:42d0:a::/48", "37301"}, + {"2800:870::/35", "6762"}, + {"2001:550:e06::/39", "174"}, + {"2401:d800:bc50::/42", "7552"}, + {"240a:ab6a::/32", "145572"}, + {"2600:370f:30e3::/39", "32261"}, + {"2a07:d40::/29", "203338"}, + {"2a0c:5700:3134::/33", "30893"}, + {"2001:559:c0e0::/48", "33659"}, + {"2405:b900:10::/44", "55701"}, + {"2409:806a:2903::/38", "9808"}, + {"2a06:11c0:3::/45", "208086"}, + {"2a0c:5242::/29", "208861"}, + {"2001:400:a000:7::/64", "46846"}, + {"240a:ae0c::/32", "146246"}, + {"2600:9000:209f::/48", "16509"}, + {"2a02:26f7:d344::/48", "36183"}, + {"2a04:7f40::/29", "197212"}, + {"2a04:fcc0::/29", "21396"}, + {"2a06:c780::/29", "198024"}, + {"2a0c:5247:a000::/35", "208861"}, + {"2001:1a11:12c::/48", "8781"}, + {"2602:fed2:770c::/47", "53356"}, + {"2606:ae00:b801::/38", "7287"}, + {"2804:15a4:8010::/34", "263400"}, + {"2406:d00:aaaa::/48", "132165"}, + {"2600:6c2e:635::/40", "20115"}, + {"2804:2f5c::/32", "264886"}, + {"2a0f:c180::/29", "12996"}, + {"2001:67c:2ff0::/48", "50180"}, + {"2409:8958:cc44::/43", "9808"}, + {"2604:61c0::/35", "29831"}, + {"2a00:b0a1::/32", "203434"}, + {"2a03:9d40:6000::/36", "41095"}, + {"2a04:9140:3043::/45", "201958"}, + {"2a0c:e140::/29", "42136"}, + {"2620:125:9050::/48", "397415"}, + {"2001:253:10a::/45", "38272"}, + {"2001:fd8:1f70::/34", "132199"}, + {"2408:8256:2f77::/44", "17623"}, + {"2804:10e0::/32", "263653"}, + {"2804:742c::/32", "270963"}, + {"2a10:80::/29", "207382"}, + {"2001:510:c011::/34", "376"}, + {"240a:aae8::/32", "145442"}, + {"2600:4000::/25", "701"}, + {"2603:c002:9410::/39", "31898"}, + {"2620:141:47e::/48", "6075"}, + {"2001:559:803d::/46", "7922"}, + {"2602:fed2:7319::/46", "53356"}, + {"2603:c0fc:2000::/40", "54253"}, + {"2604:d600:112f::/43", "32098"}, + {"2606:6080:2001::/46", "32489"}, + {"2001:44b8:3087::/48", "4739"}, + {"2403:d000::/32", "23720"}, + {"2600:1000:fe10::/40", "22394"}, + {"2620:11a:c014::/48", "54113"}, + {"2a03:ec00:b300::/37", "24921"}, + {"2001:559:844e::/48", "7922"}, + {"240a:aebd::/32", "146423"}, + {"2804:30f4::/32", "264983"}, + {"2a07:cc0::/29", "60721"}, + {"2a0a:3e80::/29", "206606"}, + {"2001:502:d399::/48", "397226"}, + {"2001:1218:6036::/47", "278"}, + {"2405:2000::/37", "6453"}, + {"2408:8957:2400::/40", "17622"}, + {"2409:8c34:d00::/38", "9808"}, + {"2600:141c:3001::/36", "20940"}, + {"2804:2fd0::/32", "264913"}, + {"2804:581c::/32", "268107"}, + {"2001:1248:55a4::/46", "11172"}, + {"2607:f8f0:6a0::/48", "55185"}, + {"2a02:20c8::/35", "50304"}, + {"2a0a:b382::/32", "19318"}, + {"2a0a:e200:1910::/48", "199156"}, + {"2400:7400:45::/44", "38044"}, + {"2604:b180:10::/44", "32779"}, + {"2a02:16e8::/32", "31376"}, + {"2001:da8:c7::/48", "138441"}, + {"2001:df5:900::/48", "136167"}, + {"2001:4878:a220::/48", "12222"}, + {"2402:2840::/32", "10011"}, + {"2405:6e00:f802::/47", "133612"}, + {"240a:a96e::/32", "145064"}, + {"240a:afce::/32", "146696"}, + {"2800:5f0:203f::/41", "22724"}, + {"2a09:e1c1:f000::/44", "20473"}, + {"2600:6c34:309::/46", "33588"}, + {"2801:80:2e00::/40", "267976"}, + {"2a02:26f7:ba08::/48", "36183"}, + {"2001:b28:f23e::/48", "42065"}, + {"2001:4b98::/36", "29169"}, + {"2401:d800:db40::/42", "7552"}, + {"2402:9d80:3cc::/42", "131429"}, + {"2605:5b00::/32", "15317"}, + {"2a01:367:abcd::/48", "201061"}, + {"2603:c022:4000::/35", "31898"}, + {"2a0e:b102:120::/48", "208765"}, + {"2001:978:1e04::/40", "174"}, + {"2001:da8:238::/48", "24350"}, + {"2001:4c10::/32", "24586"}, + {"2408:8459:e830::/41", "17622"}, + {"240e:e9:5800::/37", "4134"}, + {"2600:6c38:12a::/45", "20115"}, + {"2620:135:a000::/40", "394889"}, + {"2804:2d88::/32", "265288"}, + {"2804:74a0::/32", "270993"}, + {"2405:2300:ff03::/44", "13443"}, + {"240e:6b4::/36", "136198"}, + {"2620:171:30::/45", "42"}, + {"2804:37fc::/32", "266448"}, + {"2a02:26f7:be85::/46", "20940"}, + {"2a02:26f7:d989::/42", "20940"}, + {"2402:cf80:1001::/46", "395403"}, + {"240a:a81e::/32", "144728"}, + {"240e:44d:3080::/41", "4134"}, + {"2600:1013:f010::/36", "6167"}, + {"2600:1404:c001::/37", "20940"}, + {"2800:160:1541::/45", "14259"}, + {"2801:130::/36", "3816"}, + {"2a0d:2a00:ab1::/46", "205157"}, + {"2001:559:c17a::/47", "7016"}, + {"2400:6d00::/32", "45355"}, + {"240a:aba1::/32", "145627"}, + {"2620:ca:4000::/48", "394229"}, + {"2804:7678::/32", "271114"}, + {"2a01:5041:500e::/48", "202196"}, + {"2a03:9e40::/32", "31399"}, + {"2a0d:f107::/32", "208449"}, + {"240e:698:4800::/40", "134769"}, + {"240e:983:1402::/44", "4134"}, + {"2600:e408::/29", "30404"}, + {"2607:fdf0:5eef::/43", "8008"}, + {"2806:210::/32", "28466"}, + {"2a0b:b86:f4::/48", "3280"}, + {"2408:8459:ed30::/41", "17622"}, + {"2001:559:504::/48", "7922"}, + {"2401:9cc0:200::/48", "59256"}, + {"2401:a100:4::/32", "45194"}, + {"2600:6c20:79::/39", "20115"}, + {"2804:1100::/34", "53178"}, + {"2a02:2e02:8850::/39", "12479"}, + {"2a0a:e2c1::/32", "50560"}, + {"2800:870:1002::/48", "6461"}, + {"2a02:2010:2020::/45", "20978"}, + {"2a07:f00::/29", "203412"}, + {"2a0b:dd40::/29", "204817"}, + {"2400:8b00:200::/42", "45727"}, + {"2401:55c0::/32", "131954"}, + {"2804:7214::/32", "270831"}, + {"2a03:2880:f038::/46", "32934"}, + {"240e:3b8:8200::/35", "140316"}, + {"2a02:2e02:1680::/42", "12479"}, + {"2a0c:6a40::/31", "30823"}, + {"2a0c:8080::/32", "204772"}, + {"2001:559:827f::/48", "33652"}, + {"2001:c78::/31", "2764"}, + {"240e:44d:7c40::/42", "140355"}, + {"2600:140f:c000::/48", "24309"}, + {"2600:370f:7510::/47", "32261"}, + {"2804:2f40::/32", "264880"}, + {"2a00:10e8:3::/29", "44574"}, + {"2a10:4646:40::/44", "211617"}, + {"2001:df7:6a00::/48", "132136"}, + {"240a:a08d::/32", "142791"}, + {"2a00:1e1a::/29", "8896"}, + {"2001:3c8:1602::/39", "4621"}, + {"2408:8459:5c50::/38", "17816"}, + {"2605:6400:30::/48", "53667"}, + {"2804:14c:3b89::/43", "28573"}, + {"2804:7480::/32", "270985"}, + {"2806:2f0:3201::/46", "17072"}, + {"2a00:1ff0::/32", "43717"}, + {"2001:67c:10c8::/48", "1257"}, + {"2600:1419:201::/37", "20940"}, + {"2803:6320::/32", "264825"}, + {"2001:1520:300::/32", "8972"}, + {"2400:cb00:a2f0::/46", "13335"}, + {"2402:800:5d1d::/42", "7552"}, + {"2408:84f3:a210::/42", "134543"}, + {"2804:3b0:8306::/44", "53062"}, + {"2a06:8782::/32", "3624"}, + {"2604:ca00:f014::/42", "36492"}, + {"2a02:2e02:8710::/40", "12479"}, + {"2001:67c:2b44::/48", "25525"}, + {"2401:7700::/32", "24150"}, + {"240e:980:2500::/40", "134756"}, + {"2a01:5ae0::/32", "12703"}, + {"2a05:fc80::/29", "57118"}, + {"2a0c:6f40::/29", "205801"}, + {"2001:13c7:7014::/48", "28504"}, + {"240e:44d:6880::/41", "4134"}, + {"2605:1140:1800::/37", "394142"}, + {"2804:5b28::/32", "268822"}, + {"2001:678:df0::/48", "29014"}, + {"2401:d800:d0::/42", "7552"}, + {"2a02:17a6::/31", "47232"}, + {"2001:559:469::/46", "7922"}, + {"240e:97d:3000::/36", "4134"}, + {"2600:80c:1400::/39", "11486"}, + {"2804:72c::/32", "52851"}, + {"2804:7024::/32", "270708"}, + {"2a00:5180::/48", "51957"}, + {"2a12:8400::/32", "198722"}, + {"2001:559:3c7::/48", "33287"}, + {"2001:1838:5002::/48", "13331"}, + {"240a:a00a::/32", "142660"}, + {"240e:44d:6e80::/41", "4134"}, + {"2001:67c:275c::/48", "31371"}, + {"2402:800:3ec0::/43", "7552"}, + {"2402:800:56e0::/44", "7552"}, + {"2406:840:e241::/48", "141011"}, + {"2407:2800::/32", "38227"}, + {"2600:6c20:16::/44", "20115"}, + {"2606:c00:36::/32", "9505"}, + {"2a03:4b21::/32", "201396"}, + {"2a05:fc40::/29", "200797"}, + {"2403:300:1cf2::/38", "714"}, + {"2404:b0:13::/35", "4750"}, + {"2804:24c8::/32", "52846"}, + {"2a0a:62c0::/32", "16086"}, + {"2a0a:89c0::/29", "206010"}, + {"2001:43f8:b70::/48", "327974"}, + {"2401:3cc0:801::/41", "137409"}, + {"2405:1c0:6361::/45", "55303"}, + {"2409:8c28:31b1::/37", "56041"}, + {"2600:6c38:221::/46", "20115"}, + {"2a07:cbc0:1c0::/29", "201299"}, + {"2a0f:9400:770f::/48", "211266"}, + {"240a:aea7::/32", "146401"}, + {"2607:fdf0:5e94::/46", "8008"}, + {"2001:fb0:1036::/41", "7470"}, + {"240e:67a:8800::/38", "140330"}, + {"240e:a53:6400::/26", "4134"}, + {"2001:559:19d::/48", "33650"}, + {"2408:84f3:b410::/42", "134543"}, + {"2605:fe80::/32", "7203"}, + {"2a0e:fd45:b31::/41", "44103"}, + {"2404:e5c0::/32", "146834"}, + {"2620:11a:a01f::/48", "36040"}, + {"2a00:4802:280::/44", "13124"}, + {"2a02:2028::/32", "15943"}, + {"2a0e:46c4:22a1::/48", "136918"}, + {"2400:4ec0:ff1a::/40", "64300"}, + {"2400:8000:9::/34", "4800"}, + {"2804:211c::/32", "264536"}, + {"2001:559:75a::/48", "7922"}, + {"2001:678:f34::/48", "64396"}, + {"2402:e380:e000::/35", "50131"}, + {"2600:1417:54::/48", "20940"}, + {"2800:bf0:288::/48", "27947"}, + {"2a03:1e80:ff6::/47", "8767"}, + {"2a11:87c0::/29", "208241"}, + {"2001:978:2306::/47", "174"}, + {"2405:2000:503::/32", "6453"}, + {"2408:840e:dd00::/34", "17621"}, + {"240a:a5b8::/32", "144114"}, + {"240c:ca05::/32", "138371"}, + {"2600:140f:5a01::/39", "20940"}, + {"2801:80:14e0::/43", "11097"}, + {"2804:12fc::/32", "263508"}, + {"2409:8904:5870::/40", "24547"}, + {"2409:896a:2600::/39", "9808"}, + {"2804:2450:c00::/32", "264214"}, + {"2607:6b80:40::/48", "46562"}, + {"2804:7f24:2::/44", "268853"}, + {"2a02:26f0:99::/46", "20940"}, + {"2404:e100:3001::/48", "133840"}, + {"240a:ab59::/32", "145555"}, + {"2604:25c0::/32", "33392"}, + {"2607:f738:b80::/37", "17184"}, + {"2806:2f0:45e1::/46", "17072"}, + {"2a01:6200::/32", "16095"}, + {"2001:559:c2a3::/48", "7922"}, + {"2001:1248:9cbf::/41", "11172"}, + {"2405:e640:c000::/34", "393954"}, + {"2406:cb41::/48", "395092"}, + {"240a:ab01::/32", "145467"}, + {"2606:ba00::/32", "16700"}, + {"2804:16d8:1d06::/48", "262729"}, + {"2804:5e7c:c100::/34", "269036"}, + {"2804:65b0::/32", "269508"}, + {"2a0e:b107:27e::/48", "212519"}, + {"2402:800:5aee::/39", "7552"}, + {"2804:35a8::/32", "266299"}, + {"2a02:2a90::/32", "702"}, + {"2600:370f:350a::/45", "32261"}, + {"2606:2800:333::/45", "15133"}, + {"2804:3df4::/32", "266565"}, + {"2a00:1c78:2::/29", "25408"}, + {"2a02:888:8047::/48", "47794"}, + {"2a03:7be0::/32", "201787"}, + {"2001:dee:8001::/48", "10084"}, + {"2804:1b04::/45", "53048"}, + {"2a05:9282::/29", "31019"}, + {"2001:df0:21a::/48", "23855"}, + {"2405:a00::/32", "4783"}, + {"2602:ffd1:4::/48", "29802"}, + {"2804:1810:d000::/34", "263262"}, + {"2a0d:1a40:7813::/40", "208563"}, + {"2001:4c0:8003::/33", "855"}, + {"2001:4998:ef99::/48", "26101"}, + {"2400:adc3:800::/39", "9541"}, + {"2a03:1ac0:5f4f::/48", "42682"}, + {"2a03:1b00::/32", "47478"}, + {"2a04:2dc0:19::/48", "39216"}, + {"2001:559:1b8::/48", "7015"}, + {"240a:a4ae::/32", "143848"}, + {"2600:1406:2c01::/38", "20940"}, + {"2001:559:4f4::/48", "7015"}, + {"2405:9800:c917::/44", "45430"}, + {"2603:c010:e000::/36", "31898"}, + {"240a:a98f::/32", "145097"}, + {"2804:14d:5495::/41", "28573"}, + {"2804:e8c:4000::/34", "52561"}, + {"2a00:1238:4::/32", "35236"}, + {"2402:9900:911::/48", "27435"}, + {"2404:c140:956f::/33", "138997"}, + {"240a:a2b7::/32", "143345"}, + {"2801:19:4800::/48", "10753"}, + {"2001:df3:7580::/48", "140570"}, + {"2409:8008:d5::/46", "9808"}, + {"2607:f738:f00::/41", "17184"}, + {"2804:2e04::/32", "265318"}, + {"2a0a:e5c0:1e::/48", "209898"}, + {"2a0f:1240::/29", "60262"}, + {"2409:8915:3a00::/33", "56044"}, + {"2606:b400:8018::/48", "792"}, + {"2a01:42e0:1700::/32", "29046"}, + {"2001:67c:133c::/48", "35052"}, + {"2405:6e00:600::/43", "133612"}, + {"2409:8088::/32", "24445"}, + {"240a:a23a::/32", "143220"}, + {"2600:1015:9110::/34", "6167"}, + {"2607:7c80:57::/48", "6373"}, + {"2a05:4200:2::/47", "35180"}, + {"2404:ce80::/32", "135356"}, + {"240a:a02f::/32", "142697"}, + {"240a:ae3b::/32", "146293"}, + {"2600:370f:3745::/46", "32261"}, + {"2603:c0f9::/36", "20054"}, + {"2a0a:c840::/31", "205394"}, + {"2408:8456:c600::/42", "17622"}, + {"2401:3bc0:1001::/44", "137409"}, + {"2403:ad80:80::/44", "134835"}, + {"2620:0:b80::/48", "701"}, + {"2620:8:8200::/48", "54282"}, + {"2804:14c:6300::/42", "28573"}, + {"2a07:3500:19a0::/48", "38915"}, + {"2c0f:e8f8::/35", "328699"}, + {"2001:df3:ff80::/48", "140924"}, + {"2402:800:5655::/42", "7552"}, + {"2600:6c38:50f::/43", "20115"}, + {"2607:fc58:1:42::/64", "13536"}, + {"2804:3b8:68::/47", "52965"}, + {"2a10:6580::/29", "204790"}, + {"2001:678:7b0::/48", "199568"}, + {"240e:c0:1800::/37", "63835"}, + {"240e:45c:7400::/40", "131285"}, + {"2001:fb0:1003::/44", "7470"}, + {"2408:8956:a300::/40", "17816"}, + {"240a:af07::/32", "146497"}, + {"2604:ebc0::/32", "54225"}, + {"2806:2f0:9e41::/42", "17072"}, + {"240e:3b3:6400::/35", "140312"}, + {"2001:559:7fe::/48", "7922"}, + {"2001:559:8225::/48", "7015"}, + {"2001:c38:900e::/47", "9931"}, + {"240e:45c:8400::/40", "131285"}, + {"2602:fc5c:3::/48", "32748"}, + {"2a02:26f7:e384::/48", "36183"}, + {"2a02:26f7:f7c5::/46", "20940"}, + {"2a03:9d40::/36", "41095"}, + {"2001:500:110::/48", "10745"}, + {"240a:a8c7::/32", "144897"}, + {"2803:ea10:1::/45", "271927"}, + {"2a02:26f7:4a::/48", "36183"}, + {"2a11:9140::/29", "49655"}, + {"2001:559:1f0::/48", "33659"}, + {"240e:44d:5d00::/41", "140345"}, + {"240e:97c:1000::/34", "4134"}, + {"2804:14d:5400::/40", "28573"}, + {"2806:2a0::/43", "28548"}, + {"2a09:be40:3680::/44", "212276"}, + {"2402:800:7210::/42", "7552"}, + {"240a:a504::/32", "143934"}, + {"2804:e1c:2::/32", "52545"}, + {"2a0a:d6c0:134::/47", "208650"}, + {"2c0f:fc70::/32", "37305"}, + {"2404:a140:2::/44", "138915"}, + {"2408:8644:1200::/32", "4837"}, + {"2409:8c28:902::/37", "56041"}, + {"2605:7940:1::/46", "30456"}, + {"2a02:3e0::/32", "39837"}, + {"2a02:16d8:104::/46", "5518"}, + {"2a02:26f7:e249::/42", "20940"}, + {"2404:d540:2::/32", "2501"}, + {"2600:1409:e801::/37", "20940"}, + {"2602:300::/24", "7018"}, + {"2001:559:8416::/48", "21508"}, + {"240a:a0f7::/32", "142897"}, + {"240a:a346::/32", "143488"}, + {"2804:81f0::/32", "272487"}, + {"2a01:190:1501::/43", "1764"}, + {"2a02:f7f:14::/48", "42927"}, + {"2a06:b500:2110::/44", "203759"}, + {"2001:43f8:cc0::/44", "23889"}, + {"2a04:c442:6500::/35", "10725"}, + {"240a:aaf8::/32", "145458"}, + {"2602:fed2:7010::/48", "134666"}, + {"2620:34:a001::/48", "7381"}, + {"2804:2080::/32", "264494"}, + {"2605:a240::/32", "21769"}, + {"2606:3c80:8001:1::/39", "33582"}, + {"2607:3a80:25::/48", "398480"}, + {"2800:150:1::/48", "12956"}, + {"2a0f:88c1::/30", "395003"}, + {"2603:c013:8000::/36", "31898"}, + {"2605:3380:4163::/44", "12025"}, + {"2804:184::/32", "262749"}, + {"2001:67c:f0::/48", "50381"}, + {"2001:df7:c900::/48", "138616"}, + {"2001:1388:2f02::/45", "6147"}, + {"2402:800:9355::/42", "7552"}, + {"240e:44d:3d00::/41", "140345"}, + {"2606:6c00:a000::/48", "32787"}, + {"2804:2af8::/32", "265128"}, + {"2a00:cc0:3::/32", "13237"}, + {"240a:a834::/32", "144750"}, + {"2620:0:6c0::/48", "16807"}, + {"2804:4d28::/32", "267415"}, + {"2a05:91c4::/32", "56430"}, + {"2a0d:7b80::/29", "204556"}, + {"2600:6000:fd83::/48", "11351"}, + {"2804:e0::/46", "28330"}, + {"2001:559:8247::/48", "33657"}, + {"2600:1017:b4d0::/44", "22394"}, + {"2a0c:e640:6780::/48", "17830"}, + {"2001:559:8776::/44", "7015"}, + {"2a03:b580::/32", "51978"}, + {"2001:550:2503::/38", "174"}, + {"2001:1248:4310::/44", "11172"}, + {"2803:e880:810e::/43", "52468"}, + {"2804:2b10:e::/47", "52916"}, + {"2a00:12d8:14::/33", "12586"}, + {"2a06:a100::/29", "48685"}, + {"2a0c:1ec0::/29", "60341"}, + {"2404:bf40:8702::/41", "139084"}, + {"2605:bc0:800::/47", "54201"}, + {"2605:f500:115::/38", "1828"}, + {"2a02:26f7:b9c1::/46", "20940"}, + {"2804:13b0:1c90::/42", "263546"}, + {"2001:43f8:7d0::/48", "37591"}, + {"2400:ddc0:2100::/32", "4785"}, + {"2402:800:7d10::/42", "7552"}, + {"2804:10:9000::/33", "28299"}, + {"2804:f04::/32", "262591"}, + {"2804:1348::/32", "263526"}, + {"2406:840:e145::/48", "142164"}, + {"2600:1418:4001::/32", "20940"}, + {"2602:feda:f3::/48", "205058"}, + {"2804:37a4::/36", "262543"}, + {"2806:230:204f::/48", "11888"}, + {"2a00:1651::/33", "213277"}, + {"2a01:8a60:2301:1::/32", "60191"}, + {"2001:559:8466::/48", "33287"}, + {"2620:115::/45", "18888"}, + {"2804:218:d4::/33", "27715"}, + {"240a:a7e0::/32", "144666"}, + {"2a00:1ab0::/32", "57633"}, + {"2a04:db80::/32", "44724"}, + {"2402:8640:a::/32", "137491"}, + {"2602:fc5d:51::/46", "399866"}, + {"2a02:88d:821f::/48", "47794"}, + {"2a02:26f7:ee00::/48", "36183"}, + {"2a04:ad40::/29", "60156"}, + {"2a06:1b00:9a::/39", "8302"}, + {"2a0e:cb00::/29", "60377"}, + {"2402:9200::/32", "10084"}, + {"2605:9f80::/32", "63018"}, + {"2620:160:eb00::/44", "10837"}, + {"2806:2f0:1123::/41", "22884"}, + {"2001:559:c291::/48", "33659"}, + {"2403:9800:c031::/44", "4648"}, + {"2604:e180:de09::/34", "55002"}, + {"2a0f:5701::/34", "206499"}, + {"2408:8256:397c::/48", "17816"}, + {"2600:1408:b401::/33", "20940"}, + {"2600:370f:73a8::/45", "32261"}, + {"2001:df0:23c0::/48", "147125"}, + {"2402:8100:30f0::/44", "45271"}, + {"240a:af85::/32", "146623"}, + {"2603:c011:c000::/36", "31898"}, + {"2804:5764::/32", "53241"}, + {"2a00:10d8::/44", "42005"}, + {"2a00:f826:25::/48", "201061"}, + {"2a02:26f7:d850::/48", "36183"}, + {"2a02:26f7:da11::/42", "20940"}, + {"2a04:1d80::/29", "60989"}, + {"2a07:c100::/29", "202398"}, + {"2a07:f600:4033::/48", "6679"}, + {"2400:1a00:b112::/40", "17501"}, + {"2401:d800:91a0::/41", "7552"}, + {"2402:b600::/32", "7532"}, + {"2604:e180:86::/35", "55002"}, + {"2a06:c6c0::/48", "21100"}, + {"2400:cb00:160::/46", "13335"}, + {"2402:4880::/32", "134160"}, + {"2403:6240::/32", "134595"}, + {"2408:8a04:8000::/36", "9929"}, + {"2602:fead::/36", "395567"}, + {"2606:a600:9000::/33", "23005"}, + {"2402:800:9801::/44", "7552"}, + {"240a:a550::/32", "144010"}, + {"2602:ffc8:3e5::/34", "20278"}, + {"2605:ef80:36::/44", "36492"}, + {"2804:7c8:9000::/33", "262323"}, + {"2804:4114::/32", "266002"}, + {"2a00:6920:f000::/40", "42003"}, + {"2a02:26f7:fb89::/42", "20940"}, + {"2a09:1cc0::/29", "208574"}, + {"2804:1db8::/32", "264389"}, + {"2804:398c::/32", "266035"}, + {"2001:1a11:156::/32", "8781"}, + {"240a:abc7::/32", "145665"}, + {"2604:c0c0:4000::/35", "14525"}, + {"2605:dd40:5216::/41", "398549"}, + {"2404:b280:1000::/34", "17670"}, + {"2408:8456:3c00::/41", "17623"}, + {"2409:8904:3aa0::/39", "24547"}, + {"2a0f:1540::/29", "399975"}, + {"2001:559:865a::/47", "33657"}, + {"2a02:26f7:c245::/46", "20940"}, + {"2a0b:1f80::/29", "62412"}, + {"2604:7480::/47", "54826"}, + {"2620:74:13::/48", "26134"}, + {"2800:300:8940::/40", "27651"}, + {"2a00:47c0:200::/48", "44568"}, + {"2001:559:2a6::/48", "33650"}, + {"2001:579:524c::/40", "22773"}, + {"2404:2400:200::/48", "38280"}, + {"240e:e5:8000::/30", "4812"}, + {"240e:44d:7640::/42", "140352"}, + {"2001:56b:5::/44", "852"}, + {"240e:966:f600::/31", "4134"}, + {"2604:dc00::/35", "19752"}, + {"2803:7da0:51::/48", "64114"}, + {"2a03:34c0::/32", "9009"}, + {"2a03:5a00:38::/48", "62247"}, + {"2a0d:5d80::/29", "200899"}, + {"2001:559:82d4::/48", "33660"}, + {"2600:1003:b1a0::/44", "6167"}, + {"2804:3528::/32", "266272"}, + {"2a02:26f0:a5::/44", "34164"}, + {"2a0c:b642:ace::/48", "208753"}, + {"240e:3bc:d000::/36", "134772"}, + {"240e:967:5000::/37", "58772"}, + {"2600:370f:4022::/47", "32261"}, + {"2604:4100::/36", "29713"}, + {"2804:1e20:9950::/48", "264409"}, + {"2804:2250:543a::/34", "262756"}, + {"2401:4900:1bc0::/44", "45609"}, + {"2600:6c38:632::/44", "20115"}, + {"2804:1668::/32", "53132"}, + {"2001:559:c198::/48", "7922"}, + {"2600:370f:1124::/43", "32261"}, + {"2804:1a00::/32", "61831"}, + {"2804:5a50::/32", "268764"}, + {"2a10:5880::/29", "37289"}, + {"2001:579:114c::/42", "22773"}, + {"2001:df3:f780::/48", "141052"}, + {"2401:d800:5090::/42", "7552"}, + {"2620:109:a000::/45", "15294"}, + {"2620:119:17::/48", "36692"}, + {"2800:160:1c3a::/41", "14259"}, + {"2804:4498:9000::/33", "267641"}, + {"2a0b:8f80:201::/48", "12859"}, + {"2001:256:100::/48", "24367"}, + {"2001:18e8:10::/38", "19782"}, + {"2401:fa40::/32", "134326"}, + {"2620:149:150::/38", "714"}, + {"2804:2438::/35", "264209"}, + {"2804:6260::/32", "269293"}, + {"2804:654c:200::/40", "269481"}, + {"2a0a:e5c0:26::/48", "213081"}, + {"2a10:840::/29", "62240"}, + {"2408:8459:5a30::/41", "17622"}, + {"240e:67c:e400::/39", "140330"}, + {"2804:41d4::/36", "267459"}, + {"2a01:5340::/29", "62298"}, + {"2001:559:7ff::/48", "33287"}, + {"2602:ffaa::/36", "32621"}, + {"2001:250:40a::/38", "23910"}, + {"2400:5be0::/32", "148968"}, + {"2600:40f0:b::/45", "701"}, + {"2607:fc58:1:87::/64", "13536"}, + {"2a02:ee80:429c::/47", "21433"}, + {"2401:d800:bd10::/42", "7552"}, + {"2407:a080:6000::/35", "133480"}, + {"2409:8051:800::/47", "56047"}, + {"2602:feda:3c5::/48", "205947"}, + {"2801:80:3a00::/40", "270410"}, + {"2804:53b0::/46", "268600"}, + {"2a01:7900::/32", "35100"}, + {"2a02:ee80:4104::/47", "21433"}, + {"2804:37b4::/32", "266430"}, + {"2c0f:f288::/32", "328039"}, + {"2c0f:f850:dc04::/47", "327979"}, + {"2001:da8:270::/46", "23910"}, + {"2001:1a11:125::/48", "42298"}, + {"240a:ac55::/32", "145807"}, + {"2602:fd63::/36", "11805"}, + {"2803:e40:8b::/32", "27797"}, + {"2804:62e0::/32", "269325"}, + {"2a03:f480:1::/46", "198068"}, + {"2a10:ac40:2::/47", "397349"}, + {"2001:559:8472::/48", "33662"}, + {"2001:fd8:b0e0::/44", "132199"}, + {"2401:b00::/43", "17564"}, + {"240a:a850::/32", "144778"}, + {"2604:7180::/36", "36446"}, + {"2604:a140:1502::/45", "4755"}, + {"2804:3238::/32", "265063"}, + {"2001:250:4836::/35", "23910"}, + {"2001:2000:3080:2345::4/41", "1299"}, + {"2406:5a00::/32", "55850"}, + {"2408:8459:aa50::/37", "17816"}, + {"2600:1fa0:2080::/44", "8987"}, + {"2803:a520::/32", "266685"}, + {"2804:3f50::/32", "266652"}, + {"2804:6a80:3002::/32", "270340"}, + {"2a02:26f7:10f::/48", "20940"}, + {"2001:468:364::/48", "10490"}, + {"2001:678:824::/48", "59891"}, + {"2804:d1c::/32", "52600"}, + {"2a02:26f7:d5ca::/42", "20940"}, + {"240a:aa3b::/32", "145269"}, + {"2620:f7:4000::/48", "2828"}, + {"2a11:eb80::/29", "204790"}, + {"2c0f:f048::/32", "36924"}, + {"240a:a3a5::/32", "143583"}, + {"2804:11d0::/32", "263441"}, + {"2804:6018::/32", "269145"}, + {"2001:559:701::/48", "33491"}, + {"2001:4878:4204::/48", "12222"}, + {"2401:b8c0::/44", "64074"}, + {"2804:70b8::/32", "270744"}, + {"2a09:c180::/29", "209707"}, + {"2405:7600:2::/34", "23956"}, + {"2600:5c00:3fc9::/48", "20115"}, + {"2804:2140:1017::/42", "53059"}, + {"2a02:26f7:c289::/41", "20940"}, + {"2c0f:f448::/39", "327880"}, + {"2001:559:86d1::/48", "33287"}, + {"2400:1620::/32", "147314"}, + {"2406:600:2212::/32", "4694"}, + {"2407:6ec0::/32", "133384"}, + {"2604:fb80:1600::/48", "15128"}, + {"2605:a401:8068::/46", "33363"}, + {"2a0d:f301::/48", "40994"}, + {"2001:438:65::/48", "26762"}, + {"2407:2d00::/32", "14381"}, + {"2600:9000:2322::/44", "16509"}, + {"2620:11a:a024::/47", "36040"}, + {"2a0a:cc80::/47", "206667"}, + {"2001:268:83c::/41", "2516"}, + {"2402:800:fc40::/42", "7552"}, + {"2404:8000:79::/40", "17451"}, + {"2600:6c39:5::/44", "20115"}, + {"2401:d800:bfb0::/41", "7552"}, + {"2408:8000::/48", "4837"}, + {"240a:a32b::/32", "143461"}, + {"2a02:60::/29", "35492"}, + {"2a02:100e:bef8::/48", "201318"}, + {"2a02:1390:1000::/34", "21351"}, + {"2001:559:80e0::/48", "33657"}, + {"2803:2880::/32", "262159"}, + {"2a0e:3304::/32", "43312"}, + {"2620:102:3000::/44", "3136"}, + {"2804:4158::/32", "267427"}, + {"2403:8000::/44", "4796"}, + {"2600:1410:c001::/34", "20940"}, + {"2800:bf0:340c::/43", "27947"}, + {"2804:4d80:c001::/34", "268200"}, + {"2804:7c04::/32", "271470"}, + {"2a0c:4b40::/29", "202449"}, + {"2405:9800:d004::/46", "45430"}, + {"2600:6c10:ff95::/44", "20115"}, + {"2604:6800::/32", "36436"}, + {"2607:f6f0:1002::/40", "12085"}, + {"2804:9fc::/32", "263008"}, + {"2a04:2b00:14dd::/48", "212390"}, + {"2405:aac0:55::/46", "139949"}, + {"2405:ed80:a::/32", "135106"}, + {"2408:84f3:a240::/37", "17816"}, + {"240a:af74::/32", "146606"}, + {"2607:d080::/32", "29946"}, + {"2620:19:4000::/48", "395611"}, + {"2803:e210::/32", "271907"}, + {"2a0f:5707:ab80::/44", "56382"}, + {"2001:559:531::/48", "33652"}, + {"2408:8459:be10::/42", "17623"}, + {"2600:1010:6000::/44", "6167"}, + {"2600:bc00::/32", "54600"}, + {"2610:128:2200::/33", "11686"}, + {"240e:438:1420::/43", "140647"}, + {"2804:4bf4::/32", "267339"}, + {"2a00:d102::/34", "15704"}, + {"2001:67c:1443::/48", "31649"}, + {"2001:67c:2ff4::/48", "47699"}, + {"2408:8956:a700::/40", "17816"}, + {"240a:a47d::/32", "143799"}, + {"2a01:8840:a1::/48", "207266"}, + {"2a02:26f7:d240::/48", "36183"}, + {"2600:1017:f410::/38", "6167"}, + {"2605:3380:47fd::/46", "12025"}, + {"2606:2e00:8007::/48", "32780"}, + {"2607:f518:2403::/32", "46887"}, + {"2604:1380:45d0::/38", "54825"}, + {"2804:14c:7de2::/43", "28573"}, + {"2a03:1e80:c000::/40", "3320"}, + {"2001:559:8605::/48", "7015"}, + {"240a:a7da::/32", "144660"}, + {"240e:438:20::/43", "140647"}, + {"2620:138:3018::/45", "22604"}, + {"2a02:348:c9::/35", "35470"}, + {"2001:559:8295::/48", "33490"}, + {"2405:8a00:a04d::/43", "55824"}, + {"2806:2f0:95e1::/46", "17072"}, + {"2806:2f0:9803::/42", "17072"}, + {"2a01:5c8::/32", "12312"}, + {"2a03:be00::/32", "50522"}, + {"2400:c700:1184::/38", "55644"}, + {"240a:a825::/32", "144735"}, + {"2a0f:28c0::/29", "399975"}, + {"2a11:b244::/32", "62068"}, + {"2001:559:4e4::/48", "7922"}, + {"2001:43f8:10f0::/48", "328280"}, + {"2001:43f8:1430::/48", "37520"}, + {"2401:fd80:101::/44", "43519"}, + {"2402:800:337f::/40", "7552"}, + {"2a10:ccc2::/43", "35619"}, + {"2001:67c:22c8::/48", "1257"}, + {"2001:df0:ee::/48", "55951"}, + {"2001:1a40:71::/40", "5416"}, + {"2600:1415:16::/44", "20940"}, + {"2602:801:7000::/47", "397955"}, + {"2806:2f0:9d41::/46", "17072"}, + {"2a03:f80:3991::/48", "56630"}, + {"2a05:ef00::/29", "202536"}, + {"2a0e:97c3:78f::/48", "20473"}, + {"2401:7400:2fe::/48", "132915"}, + {"2402:800:f870::/40", "7552"}, + {"2409:8c4c:19::/42", "9808"}, + {"240a:aa41::/32", "145275"}, + {"240e:979:1000::/36", "4134"}, + {"2804:14d:e600::/41", "28573"}, + {"2001:410:a011::/44", "8111"}, + {"2001:df3:ce00::/48", "132148"}, + {"2606:2800:7022::/48", "15133"}, + {"2804:4900:8000::/33", "267158"}, + {"2a02:2ca7:2f::/32", "210662"}, + {"2a03:ef43:c000::/48", "57218"}, + {"2a0a:6a80::/29", "13045"}, + {"2001:4408:4308::/37", "4758"}, + {"2001:49f0:d102::/48", "3257"}, + {"2404:ddc0:6000::/36", "139074"}, + {"2409:8020:a1::/43", "56046"}, + {"2620:129:f000::/48", "393462"}, + {"2a02:26f7:f149::/42", "20940"}, + {"2604:7280::/32", "31877"}, + {"2803:cda0::/32", "267788"}, + {"2804:19c::/32", "262755"}, + {"2a00:1ca8:d5::/32", "50673"}, + {"2a01:698::/32", "15373"}, + {"2001:4868:10c::/48", "62795"}, + {"2804:3e70:1235::/32", "266596"}, + {"2804:5934::/32", "268175"}, + {"2804:84bc::/32", "272278"}, + {"2a02:4540:c0::/45", "197207"}, + {"2001:468:2611::/44", "11537"}, + {"2408:8706::/28", "4808"}, + {"2804:1a14:4000::/36", "28153"}, + {"2a00:1cd8::/29", "48620"}, + {"2a12:5e00::/29", "204790"}, + {"2408:8456:2100::/42", "17622"}, + {"2409:895a:c800::/37", "9808"}, + {"2602:806:5000::/44", "22617"}, + {"2a00:4bc0:212f::/48", "31004"}, + {"2406:2000::/40", "10310"}, + {"2409:8915:5800::/39", "56044"}, + {"2607:fa78::/32", "10430"}, + {"2607:fb90:5700::/34", "21928"}, + {"2a02:88d:23f::/34", "47794"}, + {"2402:800:7060::/40", "7552"}, + {"2405:9800:c920::/48", "45458"}, + {"2409:806c:2100::/36", "9808"}, + {"2803:6602:8000::/31", "28075"}, + {"2804:17f4::/32", "263260"}, + {"2804:762c::/32", "271094"}, + {"2a02:26f7:d7c0::/48", "36183"}, + {"2401:d800:2a40::/42", "7552"}, + {"240a:a7b5::/32", "144623"}, + {"2804:5718::/32", "268043"}, + {"2001:559:8308::/47", "7922"}, + {"2001:df0:293::/48", "10010"}, + {"2401:d800:1f0::/38", "7552"}, + {"2606:ae00:9e00::/44", "7287"}, + {"2800:160:1b96::/44", "14259"}, + {"2407:24c0:1::/46", "136835"}, + {"2407:a600:6000::/36", "18004"}, + {"240e:67b:8c00::/33", "4134"}, + {"2602:feb4:230::/44", "25961"}, + {"2804:6b2c::/32", "270383"}, + {"2a02:4780:8::/43", "47583"}, + {"2605:cc00::/32", "15065"}, + {"2804:1618::/32", "263267"}, + {"2a02:26f7:c89c::/48", "36183"}, + {"2a02:2ca5::/32", "58305"}, + {"2001:19f8:9000::/33", "4927"}, + {"2400:7400:34::/47", "38044"}, + {"2400:cb00:419::/48", "13335"}, + {"2600:4402::/34", "6130"}, + {"2602:fc23:158::/48", "54625"}, + {"2603:fd30::/25", "397165"}, + {"2620:7b:2000::/48", "398222"}, + {"2803:8080::/32", "12180"}, + {"2001:67c:65c::/48", "198903"}, + {"2404:e601::/48", "132805"}, + {"2604:a940:1::/48", "54538"}, + {"2606:29c0::/39", "31775"}, + {"2806:230:3014::/48", "265594"}, + {"2001:67c:634::/48", "198089"}, + {"2405:4c0::/32", "139281"}, + {"2406:840:e080::/44", "141776"}, + {"2801:80:3ea0::/48", "272432"}, + {"2804:6c4::/36", "262893"}, + {"2001:559:8754::/48", "7016"}, + {"2604:880:3c::/48", "29802"}, + {"2607:f330:2002::/47", "25996"}, + {"2800:484:5100::/36", "10620"}, + {"2804:72f0::/32", "270885"}, + {"2a03:1b20:beef::/48", "39351"}, + {"2a03:96e0::/33", "15659"}, + {"2405:1c0:6221::/46", "55303"}, + {"2406:bd00:decd::/48", "55651"}, + {"2804:4b44::/32", "267294"}, + {"2a04:6ac0::/29", "8100"}, + {"2a04:f581:110a::/47", "23764"}, + {"2001:da8:b80d::/46", "24372"}, + {"2600:180a:1002::/33", "16552"}, + {"2a01:5741:1::/32", "57763"}, + {"2a03:29c0::/32", "61189"}, + {"2a04:e580::/29", "197395"}, + {"2a0d:5642:201::/48", "35487"}, + {"2001:559:84be::/48", "33657"}, + {"2407:7f00::/48", "132898"}, + {"2408:8456:4610::/42", "134543"}, + {"240e:a28::/25", "4134"}, + {"2804:5d64::/32", "268969"}, + {"2a00:1fa0::/32", "8359"}, + {"2001:559:87e0::/45", "7015"}, + {"2401:c5c0:2::/47", "55492"}, + {"2401:fa00:60::/32", "45566"}, + {"240a:a16a::/32", "143012"}, + {"240a:ad9c::/32", "146134"}, + {"2001:df0:65::/48", "38567"}, + {"2607:f3a0:4000::/32", "23342"}, + {"2a01:8840:55::/48", "207266"}, + {"2401:d800:7f00::/42", "7552"}, + {"2404:bf40:8500::/48", "7545"}, + {"2408:8956:f640::/40", "17622"}, + {"2600:1417:49::/46", "20940"}, + {"2607:ffb0:8001::/33", "6327"}, + {"2804:3bf0::/33", "266181"}, + {"2804:640c::/32", "269401"}, + {"2a00:13c0:201::/48", "12616"}, + {"2a02:26f7:b841::/46", "20940"}, + {"2a0b:2800::/29", "207195"}, + {"2a0d:8200::/29", "205144"}, + {"2605:a404:1f9::/38", "33363"}, + {"2607:8300:a::/48", "13876"}, + {"2607:f838::/32", "22581"}, + {"2804:4dc8::/32", "268219"}, + {"2a00:7147:e10::/48", "51430"}, + {"2a02:2aa8:130::/38", "702"}, + {"2a02:2e00:2000::/36", "12479"}, + {"2a0a:2842:463::/48", "136796"}, + {"2a11:ae00::/32", "31515"}, + {"2610:a1:3050::/48", "12008"}, + {"2620:114:d000::/44", "3671"}, + {"2800:490:e800::/39", "27951"}, + {"2804:988::/32", "28239"}, + {"2a03:2800::/29", "12488"}, + {"2a05:b340::/29", "49223"}, + {"2a0e:8f02:f040::/48", "207212"}, + {"2001:1248:97ed::/46", "11172"}, + {"2001:4998:161::/44", "10310"}, + {"240a:a369::/32", "143523"}, + {"240e:966:c600::/36", "4134"}, + {"2607:f640::/44", "32354"}, + {"2620:121:6000::/44", "40267"}, + {"2a00:1ec8:64::/40", "2854"}, + {"2001:67c:1438::/48", "44418"}, + {"240a:a962::/32", "145052"}, + {"240a:ac7e::/32", "145848"}, + {"2804:7b9c::/32", "271439"}, + {"2a03:1aa0:9000::/33", "201730"}, + {"2a09:f180::/48", "50007"}, + {"2001:250:23b::/48", "24348"}, + {"2405:2300:ff73::/45", "13443"}, + {"2405:d980::/32", "23703"}, + {"2406:8800:9013::/45", "17465"}, + {"2605:6c80:3::/48", "13768"}, + {"2a03:9c40:800::/48", "34655"}, + {"2a10:2a80:42::/48", "207727"}, + {"2001:250:4000::/45", "24358"}, + {"2001:559:165::/48", "33287"}, + {"2603:c025:c000::/35", "31898"}, + {"2620:17e::/42", "26072"}, + {"2804:b6c::/32", "52777"}, + {"2806:230:1021::/48", "11888"}, + {"2001:500:203::/44", "394353"}, + {"2001:559:89::/48", "20214"}, + {"2001:559:c01f::/48", "7725"}, + {"2407:680::/33", "9676"}, + {"2610:b0:4151::/44", "3573"}, + {"2803:4a10:b000::/33", "271916"}, + {"2a00:dd80:fb81::/48", "199438"}, + {"2403:be80::/32", "58405"}, + {"2405:3340:e000::/48", "141362"}, + {"2405:6e00:1e00::/39", "133612"}, + {"240a:ac5d::/32", "145815"}, + {"2600:6c38:a54::/47", "20115"}, + {"2605:79c0::/32", "26801"}, + {"2605:a401:816d::/43", "33363"}, + {"2a06:c005::/32", "45027"}, + {"2a10:1f40::/29", "211007"}, + {"2a10:cbc0::/29", "208553"}, + {"2409:8914:200::/39", "56044"}, + {"2600:9800::/24", "4193"}, + {"2803:6900:1514::/48", "52423"}, + {"2804:41d0::/38", "267458"}, + {"2804:4cc8::/32", "267391"}, + {"2a0f:b506:ffee::/48", "206313"}, + {"2001:559:8298::/47", "33661"}, + {"2400:a980:de::/47", "133111"}, + {"2403:c00:1000::/40", "17488"}, + {"2620:1f7:81c::/48", "1747"}, + {"2800:160:1f75::/44", "14259"}, + {"2804:49bc::/32", "267200"}, + {"2a02:888:dd::/48", "48695"}, + {"2001:550:7709::/32", "174"}, + {"2001:dc0:2000::/35", "4608"}, + {"2a09:4040::/48", "50007"}, + {"2001:678:f7c::/48", "213027"}, + {"2001:da8:4806::/37", "23910"}, + {"2404:9140::/48", "134687"}, + {"2804:174c::/32", "263135"}, + {"2804:1e90:a0c0::/39", "264436"}, + {"2001:7a8:820::/34", "13193"}, + {"2402:800:9171::/40", "7552"}, + {"240a:ae5c::/32", "146326"}, + {"2804:1b6c::/32", "61727"}, + {"2a00:a040::/38", "12849"}, + {"2a02:26f7:e3c9::/46", "20940"}, + {"2001:67c:88::/48", "57436"}, + {"2600:140b:e001::/37", "20940"}, + {"2602:fe27:b1::/48", "6473"}, + {"2a0a:4780::/32", "59504"}, + {"2001:559:a::/48", "33652"}, + {"2001:559:c3cf::/48", "21508"}, + {"2001:df2:e800::/48", "131302"}, + {"2408:8957:2f00::/40", "17816"}, + {"240e:14::/36", "140329"}, + {"2804:534:667::/32", "22177"}, + {"2001:559:1da::/48", "33659"}, + {"2602:ff96:8::/48", "26548"}, + {"2607:cd8a::/32", "6528"}, + {"2803:9360::/32", "263222"}, + {"2804:2e70::/32", "265346"}, + {"2a0d:b201:30::/41", "206026"}, + {"2001:1360::/32", "52286"}, + {"2402:c7c0::/32", "137576"}, + {"2408:8409:7800::/40", "4808"}, + {"2c0f:f430::/32", "29614"}, + {"240a:a2e6::/32", "143392"}, + {"2620:171:61::/48", "715"}, + {"2a00:5540::/33", "50763"}, + {"2001:559:8158::/47", "33287"}, + {"240e:679:800::/37", "140329"}, + {"2620:124:3000::/40", "46900"}, + {"2620:1f8:f046::/48", "40443"}, + {"2806:104e:7::/43", "8151"}, + {"2406:4a00:900::/40", "56038"}, + {"2408:8956:8900::/40", "17816"}, + {"2602:fe32::/36", "397081"}, + {"2606:2800:4046::/48", "14210"}, + {"2606:2e00:2::/33", "29854"}, + {"2804:4bbc::/32", "28333"}, + {"2a02:26f7:c491::/42", "20940"}, + {"2001:559:81e6::/48", "7016"}, + {"2402:1c00:5000::/32", "23838"}, + {"2402:9e80:200::/46", "142561"}, + {"2602:fc91:163::/48", "399561"}, + {"2a01:358:5f12::/32", "9121"}, + {"2a02:752:2::/48", "43948"}, + {"2a02:2b60:6::/44", "42947"}, + {"2a02:2698:3800::/42", "59713"}, + {"2a02:26f7:f445::/46", "20940"}, + {"2409:8c20:c17::/35", "56046"}, + {"2804:7514::/32", "271022"}, + {"2806:230:1018::/48", "265594"}, + {"2a09:2::/48", "3258"}, + {"2001:559:57a::/48", "33659"}, + {"2001:559:845c::/48", "7725"}, + {"2401:4900:1800::/40", "45609"}, + {"240e:c0:2000::/30", "4134"}, + {"2602:fd10::/40", "19529"}, + {"2a05:dfc7:bef0::/33", "61138"}, + {"2a0c:4780::/29", "204814"}, + {"2a0f:75c0:1::/48", "44016"}, + {"2001:1248:9885::/46", "11172"}, + {"2001:4878:8151::/48", "12222"}, + {"2605:b9c0::/34", "30705"}, + {"2a0c:8880::/29", "39421"}, + {"2001:1248:8019::/40", "11172"}, + {"2407:b640:40::/47", "132046"}, + {"2600:6c60::/32", "20115"}, + {"2804:73fc::/32", "270950"}, + {"2a01:7c80::/33", "24852"}, + {"240a:ab39::/32", "145523"}, + {"2804:40a0:f200::/39", "265971"}, + {"2804:4318::/32", "267548"}, + {"2a02:9b8::/31", "5610"}, + {"2a0a:4a00::/29", "48662"}, + {"2a10:2ec2::/32", "210625"}, + {"2001:504:b::/48", "101"}, + {"2402:800:54e0::/44", "7552"}, + {"240e:983:1::/48", "4134"}, + {"2600:1488:a341::/42", "20940"}, + {"2600:6c38:b27::/44", "20115"}, + {"2806:2f0:2181::/48", "22884"}, + {"2a00:4802:2e50::/39", "8717"}, + {"2a02:2250::/32", "196714"}, + {"2a04:ec80::/29", "39441"}, + {"2607:f740:b::/43", "36236"}, + {"2804:760:2000::/32", "262638"}, + {"2a06:c300::/29", "197660"}, + {"2a06:e881:2100::/47", "206479"}, + {"2a0b:4d07:b01::/48", "44239"}, + {"2604:d600:1c::/46", "32098"}, + {"2607:fc28:5000::/34", "22911"}, + {"2a03:90c0:610::/44", "199524"}, + {"2a06:3040:9::/48", "203020"}, + {"2c0f:fe38:2120::/38", "33771"}, + {"2409:8000:5900::/40", "9808"}, + {"2400:8000:3003::/32", "4800"}, + {"2400:dcc0:aa04::/39", "38631"}, + {"240a:a0d2::/32", "142860"}, + {"240e:109:8043::/48", "63835"}, + {"2605:a401:8bfa::/37", "33363"}, + {"2a00:1288:ef84::/48", "40986"}, + {"2001:df3:1680::/48", "133296"}, + {"2001:df7:8400::/48", "134819"}, + {"2804:18b0::/32", "61947"}, + {"2a0a:e740::/29", "207020"}, + {"2001:67c:4c4::/48", "48171"}, + {"2402:2b40:8000::/36", "55967"}, + {"2406:840:eee0::/43", "139216"}, + {"2605:bc0::/47", "54201"}, + {"2800:bf0:8270::/48", "52257"}, + {"2803:2a80:20::/47", "262928"}, + {"2804:14c:bb85::/44", "28573"}, + {"2804:52ec::/32", "268550"}, + {"2804:5e7c::/32", "269036"}, + {"2a04:e00:17::/48", "39855"}, + {"2600:1408:7000::/48", "35994"}, + {"2a0a:d400::/29", "39650"}, + {"2001:418:1401:1::/64", "3949"}, + {"2001:559:488::/46", "33657"}, + {"240a:a385::/32", "143551"}, + {"2a01:6900::/32", "16091"}, + {"2a0e:d0c0::/29", "208376"}, + {"2603:90f5::/48", "11426"}, + {"2804:8150:4000::/32", "272446"}, + {"2a00:12e0::/32", "6798"}, + {"2a00:7440::/32", "12625"}, + {"2001:678:a8c::/48", "208727"}, + {"2001:c20:c815::/48", "9255"}, + {"2600:1908::/29", "15169"}, + {"2a01:b1c1::/32", "200548"}, + {"2402:800:7150::/42", "7552"}, + {"2406:daa0:f0c0::/44", "16509"}, + {"240e:5e:1000::/42", "134773"}, + {"2605:a404:343::/40", "33363"}, + {"2607:f4d8::/32", "26785"}, + {"2803:e600:1c::/48", "65500"}, + {"2001:559:87::/48", "33657"}, + {"2001:4878:c000::/48", "12222"}, + {"2606:3c00::/32", "36273"}, + {"2620:10f:400f::/48", "10390"}, + {"2801:1fc:24::/48", "27951"}, + {"2a00:4880::/32", "50348"}, + {"2a02:26f7:77::/48", "20940"}, + {"2a03:70c0::/32", "197068"}, + {"240a:a7d2::/32", "144652"}, + {"2600:370e:108::/47", "32261"}, + {"2605:a404:83e::/41", "33363"}, + {"2a01:5b0:26::/48", "8561"}, + {"2407:6640::/40", "142275"}, + {"2803:e600:999a::/34", "18809"}, + {"2804:24c4:3000::/32", "264241"}, + {"2a01:5042:efd::/48", "202196"}, + {"2a04:7680::/29", "9007"}, + {"2a0b:6b81:205::/48", "203729"}, + {"2406:daa0:20c0::/44", "16509"}, + {"2600:140b:9c01::/34", "20940"}, + {"2800:110:3e01::/32", "4270"}, + {"2800:bf0:800a::/48", "27947"}, + {"2a0f:6940::/32", "207881"}, + {"2001:559:456::/48", "33489"}, + {"2001:559:8644::/48", "7922"}, + {"2401:8940:fc00::/38", "131291"}, + {"2600:1406:7c00::/48", "35994"}, + {"2804:8330::/32", "272182"}, + {"2a02:2070::/32", "48467"}, + {"2001:579:10c8::/39", "22773"}, + {"2001:df5:f680::/48", "147273"}, + {"2a0e:97c0:1a1::/48", "211868"}, + {"2001:559:c140::/46", "33657"}, + {"2804:59dc::/32", "268730"}, + {"2a02:6680:1::/46", "16116"}, + {"2a03:2880:f1fe::/47", "32934"}, + {"2406:1a00::/32", "56028"}, + {"2600:1419:6000::/48", "52376"}, + {"2607:f5a0:802::/32", "17048"}, + {"2607:fb58:4000::/36", "36086"}, + {"2800:160:1c4f::/43", "14259"}, + {"2a01:8840:d5::/48", "207266"}, + {"2a02:ff0:c00::/40", "12735"}, + {"2a06:4180::/48", "48293"}, + {"2a0e:8f02:f000::/48", "213127"}, + {"2407:74c0::/32", "138864"}, + {"2804:1690::/37", "263292"}, + {"2001:1248:a6da::/39", "11172"}, + {"2001:da8:5854::/37", "23910"}, + {"2001:1380:2000::/36", "19180"}, + {"240a:a907::/32", "144961"}, + {"240a:ac85::/32", "145855"}, + {"240a:aca5::/32", "145887"}, + {"2806:230:3024::/48", "265594"}, + {"2a0a:a140::/48", "206446"}, + {"2a11:ce80::/29", "204790"}, + {"2001:44b8:4065::/48", "4739"}, + {"2402:800:5eee::/43", "7552"}, + {"2405:9800:c91f::/48", "45430"}, + {"240a:a780::/32", "144570"}, + {"2a06:e7c0::/32", "202236"}, + {"2001:44b8:20::/46", "4739"}, + {"2405:4802:31b0::/33", "18403"}, + {"240a:a505::/32", "143935"}, + {"2604:ca00:f031::/46", "36492"}, + {"2a0d:4f00:10::/44", "48492"}, + {"2001:df5:bd80::/48", "134502"}, + {"2a09:94c0::/29", "209327"}, + {"2a0e:fd45:d30::/45", "207803"}, + {"2001:1438::/32", "8881"}, + {"2803:a640::/32", "46198"}, + {"2a01:bc00::/29", "43406"}, + {"2a07:240::/32", "16089"}, + {"2408:8459:7030::/41", "17622"}, + {"2804:c64::/32", "52699"}, + {"2804:1a08::/32", "262780"}, + {"2804:5ee8::/33", "269064"}, + {"2a02:26f7:da00::/48", "36183"}, + {"2001:1248:8301::/37", "11172"}, + {"2001:1bd0::/32", "28716"}, + {"2600:1417:74::/46", "20940"}, + {"2800:160:1b1d::/46", "14259"}, + {"2a02:26f7:c205::/46", "20940"}, + {"2a02:26f7:d15a::/47", "20940"}, + {"2404:4ac0::/32", "138572"}, + {"2804:1a6c::/32", "61858"}, + {"2804:5cb4::/32", "268925"}, + {"2804:67a4:124::/32", "269641"}, + {"2a03:a8a0::/29", "203195"}, + {"2a0e:8f02:f01b::/48", "213326"}, + {"2001:559:f::/48", "33287"}, + {"2001:678:9cc::/48", "61384"}, + {"2001:678:fb8::/48", "211042"}, + {"2001:67c:12b0::/48", "29468"}, + {"2402:800:9847::/43", "7552"}, + {"2409:8050:802::/40", "56047"}, + {"2803:100::/32", "7727"}, + {"2402:1b80:400::/35", "63956"}, + {"2801:11:1000::/48", "264633"}, + {"2803:2a80:f0::/47", "262928"}, + {"2803:d100:8000::/35", "52362"}, + {"2804:66cc::/32", "269583"}, + {"2804:6700::/32", "269597"}, + {"2804:777c:8000::/33", "271181"}, + {"2a0f:580::/29", "213250"}, + {"2a0f:9400:7b11::/40", "210872"}, + {"2001:1a11:119::/45", "42298"}, + {"2001:4490:dd18::/46", "9829"}, + {"2600:1403:16::/34", "20940"}, + {"2804:a00:5::/44", "262838"}, + {"2804:307c::/32", "264954"}, + {"2a0f:1e83:1::/48", "60781"}, + {"240e:44d:5b80::/41", "4134"}, + {"2610:b0:403a::/47", "3573"}, + {"2a06:a340::/29", "47689"}, + {"2602:ffb0:1c::/48", "64245"}, + {"2001:559:11c::/48", "20214"}, + {"2001:67c:2db8::/48", "39798"}, + {"240a:af38::/32", "146546"}, + {"2801:1f2::/44", "271820"}, + {"2804:14d:b08b::/41", "28573"}, + {"2001:559:8184::/48", "7016"}, + {"2401:d800:7670::/40", "7552"}, + {"2402:800:9701::/44", "7552"}, + {"2404:ec80::/32", "10076"}, + {"2607:f738:200::/41", "17184"}, + {"2a02:26f7:f488::/48", "36183"}, + {"2a0e:8f04::/30", "58299"}, + {"2001:559:106::/48", "33651"}, + {"2001:da8:5ff0::/45", "24360"}, + {"2406:7400:4::/48", "24309"}, + {"2800:160:10c4::/46", "14259"}, + {"2400:cb00:502::/45", "13335"}, + {"2604:a880:cad::/48", "14061"}, + {"2400:a980:c1::/48", "134169"}, + {"2406:da00:9000::/40", "16509"}, + {"2804:5354::/32", "268577"}, + {"2602:feda:f100::/38", "46997"}, + {"2804:60bc::/32", "269187"}, + {"2804:6ba8::/32", "270415"}, + {"2a07:14c0::/47", "59504"}, + {"2a0a:4d80::/29", "44462"}, + {"2402:800:5863::/43", "7552"}, + {"2408:8956:e100::/40", "17816"}, + {"2803:b000::/32", "27975"}, + {"2a07:b941:f00::/43", "209103"}, + {"2a0d:3a40:1::/48", "41838"}, + {"2001:da8:302e::/48", "23910"}, + {"2001:4998:124::/46", "26101"}, + {"2401:8e00:2800::/35", "9260"}, + {"240a:a534::/32", "143982"}, + {"2803:fc10::/32", "23031"}, + {"2804:28b8::/32", "263976"}, + {"2607:fb90:bf00::/33", "21928"}, + {"2804:27f0::/43", "263930"}, + {"2c0f:f1a0:8200::/33", "37314"}, + {"2001:67c:14a0::/48", "199665"}, + {"240a:ab41::/32", "145531"}, + {"2606:2800:4acc::/48", "15133"}, + {"2606:7b00:3fff::/48", "6939"}, + {"2806:2f0:44e1::/46", "17072"}, + {"2a02:26f7:d9c5::/46", "20940"}, + {"2409:8753:b00::/37", "56047"}, + {"240e:3b0:5600::/34", "136199"}, + {"2600:1802:15::/31", "16552"}, + {"2a02:6680:1162::/48", "16116"}, + {"2001:559:c277::/48", "33657"}, + {"2001:1978:202::/48", "13768"}, + {"2602:fd8c::/36", "32945"}, + {"2607:1400::/48", "13354"}, + {"2800:840::/32", "19422"}, + {"2801:160::/40", "52456"}, + {"2a07:9980::/29", "8487"}, + {"2600:1016:9010::/39", "6167"}, + {"2600:6c20:20::/44", "20115"}, + {"2803:5c80:5034::/48", "64114"}, + {"2a06:2400::/29", "49788"}, + {"2a09:5::/48", "3258"}, + {"2606:ca00::/37", "14537"}, + {"2620:5e:a000::/47", "394855"}, + {"2804:37f0:2100::/36", "266445"}, + {"2a02:c6c1:4::/47", "9009"}, + {"2001:559:c0df::/48", "33287"}, + {"2001:c20:5009::/38", "3758"}, + {"2001:1248:a560::/45", "11172"}, + {"2409:8a51:700::/36", "56047"}, + {"2606:87c0::/48", "399132"}, + {"2001:c20:8409::/48", "9255"}, + {"2402:800:5255::/42", "7552"}, + {"2801:1d0:1::/48", "3549"}, + {"2806:1050::/32", "8151"}, + {"2a03:cac0:a::/47", "61149"}, + {"2a0a:3280::/29", "49748"}, + {"2001:67c:6bc::/48", "201723"}, + {"2001:c20:c848::/45", "3758"}, + {"2400:36a0::/42", "63991"}, + {"2600:140f:fc00::/48", "9498"}, + {"2604:5500:5000::/38", "19165"}, + {"2804:3db8::/32", "266549"}, + {"2600:140f:4a01::/37", "20940"}, + {"2600:1419:2e01::/35", "20940"}, + {"2804:14d:8c89::/41", "28573"}, + {"2a00:d780::/32", "15557"}, + {"2a0e:4f80::/29", "51083"}, + {"2001:3c8:1013::/38", "4621"}, + {"2001:dca:1000::/33", "9735"}, + {"2404:3d00:4109::/48", "21433"}, + {"2600:100f:b1e0::/33", "22394"}, + {"2600:6c10:115::/44", "20115"}, + {"2a02:cb46::/31", "20546"}, + {"2a12:7900::/29", "1239"}, + {"2001:559:29c::/47", "7922"}, + {"2606:2800:357::/44", "15133"}, + {"2a04:dd00::/30", "60117"}, + {"2001:da8:23e::/48", "24350"}, + {"2001:67c:10a8::/47", "48387"}, + {"2409:8c85:aa4d::/43", "9808"}, + {"2606:6680:27::/44", "33387"}, + {"240e:44d:6700::/41", "140345"}, + {"2604:6980:1b0::/47", "26787"}, + {"2620:f3:8000::/48", "29825"}, + {"2804:9c4::/43", "53055"}, + {"2804:6ef4:4000::/32", "270629"}, + {"2804:8178::/32", "272456"}, + {"2a04:4e40:6230::/41", "54113"}, + {"2a06:fc40::/29", "204793"}, + {"2401:d800:8d0::/42", "7552"}, + {"240a:a60f::/32", "144201"}, + {"2a11:f2c0:ffff::/48", "210563"}, + {"2400:a7c0::/32", "133168"}, + {"2406:b400:d0::/47", "55577"}, + {"240a:aeab::/32", "146405"}, + {"2804:3d28::/44", "7063"}, + {"2a02:128:4::/48", "209863"}, + {"2a03:600::/32", "15774"}, + {"2a04:4e40:7a00::/48", "54113"}, + {"2620:1f:a000::/48", "396231"}, + {"2804:30b8::/40", "28154"}, + {"2804:7cd4::/32", "271521"}, + {"2a00:17c0:c4::/48", "29802"}, + {"240e:45c:8100::/40", "140533"}, + {"2600:1419:8c01::/35", "20940"}, + {"2600:2c01::/36", "16695"}, + {"2604:c00::/32", "32875"}, + {"2804:14d:5a00::/40", "28573"}, + {"2a02:26f7:d488::/48", "36183"}, + {"2a0a:d100::/29", "198551"}, + {"2406:a00::/32", "4694"}, + {"2409:8753:700::/36", "56047"}, + {"240e:964:cac0::/42", "133775"}, + {"2600:140b:a801::/37", "20940"}, + {"2604:4ec0::/35", "396480"}, + {"2804:1070:2000::/36", "28209"}, + {"2a0e:97c0:6e0::/47", "213367"}, + {"240a:17:f90::/44", "9605"}, + {"2804:14a0::/32", "263340"}, + {"2806:2f0:6041::/46", "17072"}, + {"2a01:3f8::/32", "34270"}, + {"2a02:5740:14::/48", "58065"}, + {"2a02:ee80:4217::/44", "3573"}, + {"2a0d:8040::/30", "61439"}, + {"2001:559:796::/48", "7015"}, + {"2001:579:7200::/36", "22773"}, + {"2409:8734:aa00::/33", "9808"}, + {"240a:ae02::/32", "146236"}, + {"2607:f330:5000::/48", "15130"}, + {"2a0a:5940::/48", "207080"}, + {"2a0e:acc0:ac01::/46", "208414"}, + {"2001:559:368::/48", "7922"}, + {"2602:fdeb:4::/47", "16509"}, + {"2604:f980:4400::/44", "19957"}, + {"2806:230:6035::/32", "11888"}, + {"2a02:730:5001::/32", "29278"}, + {"2a0b:1b80::/32", "206521"}, + {"2001:250:a80a::/33", "23910"}, + {"2001:dc1::/48", "16509"}, + {"2001:44b8:2050::/48", "7545"}, + {"2404:e7::/38", "703"}, + {"2404:bf40:8646::/40", "139084"}, + {"2804:5018::/32", "268369"}, + {"2806:2f0:9c81::/46", "17072"}, + {"2a09:ea80::/29", "213314"}, + {"2a0a:9301::/46", "35196"}, + {"2402:800:f3b0::/41", "7552"}, + {"2606:2800:6a28::/46", "15133"}, + {"2001:16c0:fefe::/48", "49981"}, + {"2605:3380:4408::/47", "12025"}, + {"2804:6be4::/32", "270432"}, + {"2804:8600::/32", "272613"}, + {"2a00:4bc0:211b::/42", "16509"}, + {"2a00:6fa0::/34", "49206"}, + {"2001:470:df::/42", "6939"}, + {"2401:4900:1050::/42", "45609"}, + {"2402:28c0:3::/45", "136620"}, + {"2408:8456:6440::/39", "17816"}, + {"2409:4070:5000::/31", "55836"}, + {"2604:fec0::/32", "21808"}, + {"2a02:888:404a::/45", "47794"}, + {"2a02:26f0:ee01::/35", "20940"}, + {"2a0b:b600:110::/44", "43350"}, + {"2001:559:4d5::/48", "33657"}, + {"2606:5d40::/32", "399440"}, + {"2804:22c0:4000::/32", "264120"}, + {"2806:2f0:95e3::/38", "17072"}, + {"2a01:498:600::/32", "42018"}, + {"2a0c:b642:a01::/48", "208753"}, + {"2001:559:c476::/48", "33650"}, + {"2001:1248:84ef::/43", "11172"}, + {"2001:4878:a225::/48", "12222"}, + {"2409:807c:4100::/30", "9808"}, + {"240e:3b5:1800::/34", "4134"}, + {"2606:b900::/32", "33089"}, + {"2804:38:4205::/46", "19089"}, + {"2804:5a04::/32", "268740"}, + {"2600:8807:bb2::/41", "22773"}, + {"2620:107:90f1::/48", "22787"}, + {"2a02:ee80:407f::/48", "3573"}, + {"2408:84f3:9640::/36", "17816"}, + {"240e:44d:3b00::/41", "140345"}, + {"2a09:d80::/29", "208861"}, + {"2001:67c:15b8::/48", "48345"}, + {"2604:4200::/32", "36374"}, + {"2a02:26f7:f5c0::/48", "36183"}, + {"2a10:b080::/29", "198473"}, + {"2001:67c:1808::/48", "56837"}, + {"240a:aba0::/32", "145626"}, + {"2600:1419:fc01::/30", "20940"}, + {"2600:1fa0:81c0::/44", "16509"}, + {"2607:ff28:b003::/45", "62904"}, + {"2620:11b:e090::/42", "3356"}, + {"2804:66ec::/32", "269591"}, + {"2a01:ce88:9000::/31", "51964"}, + {"2001:67c:74::/48", "35684"}, + {"2001:559:4b8::/48", "33287"}, + {"2409:8c85:aa02::/48", "38019"}, + {"2602:107:100d::/48", "33363"}, + {"2804:2000::/38", "264459"}, + {"2804:7afc::/32", "271404"}, + {"2a02:26f7:d508::/48", "36183"}, + {"2400:9d80:2::/32", "58714"}, + {"2405:a140::/32", "132559"}, + {"2606:82c0:e008::/48", "32167"}, + {"2804:301:4000::/35", "53237"}, + {"2804:3668::/32", "266346"}, + {"2a02:2370:c000::/48", "32787"}, + {"2a0f:9400:7a00::/48", "135395"}, + {"2001:398::/32", "7682"}, + {"240a:aea2::/32", "146396"}, + {"2801:0:3c0::/48", "61463"}, + {"2801:10:6800::/48", "271821"}, + {"2001:470:58::/48", "393350"}, + {"2001:559:c27b::/48", "33651"}, + {"240a:414c::/31", "58834"}, + {"240a:a0a1::/32", "142811"}, + {"2620:132:5000::/44", "20182"}, + {"2804:1080::/32", "28287"}, + {"2001:559:33e::/48", "7922"}, + {"2407:7a80:22::/48", "30337"}, + {"240a:a5e4::/32", "144158"}, + {"2607:6b80:5::/48", "46562"}, + {"2a00:1ec0:3::/34", "8544"}, + {"2a04:a9c0::/29", "35574"}, + {"2a0f:ea00::/46", "60781"}, + {"2001:559:c0f0::/47", "7922"}, + {"2607:ba80::/32", "394666"}, + {"2a09:bac0:472::/48", "13335"}, + {"2400:9380:93c0::/44", "136167"}, + {"2600:1404:29::/36", "20940"}, + {"2605:13c0::/32", "397103"}, + {"2804:49c0::/32", "267201"}, + {"2400:6280:143::/45", "132280"}, + {"2600:370e:7114::/46", "32261"}, + {"2804:6a38:1000::/34", "270320"}, + {"2405:7040:6000::/48", "4812"}, + {"2409:800b:2c00::/46", "24547"}, + {"240a:4082:c000::/35", "58834"}, + {"2804:27c8::/32", "263922"}, + {"2a0a:6040:ac6a::/40", "61138"}, + {"2001:678:790::/48", "201292"}, + {"240e:108:1143::/44", "4134"}, + {"2600:6c10:ffe8::/46", "20115"}, + {"2804:fe0::/34", "263049"}, + {"2804:1ba4::/32", "61741"}, + {"2401:d800:fa70::/40", "7552"}, + {"240a:a0ca::/32", "142852"}, + {"2602:fda7::/36", "397894"}, + {"2a0f:7840::/29", "6764"}, + {"2001:559:8179::/48", "7016"}, + {"2001:fd8:3440::/42", "132199"}, + {"2405:1c0:6671::/46", "55303"}, + {"240a:a916::/32", "144976"}, + {"2a00:cb60::/48", "49312"}, + {"2a09:2700:8::/48", "208187"}, + {"2001:559:82f7::/48", "33668"}, + {"2402:cf80:1003::/45", "62597"}, + {"2404:bf40:85c0::/48", "7545"}, + {"240a:ae2e::/32", "146280"}, + {"2a02:26f7:d20c::/48", "36183"}, + {"2001:4408:4300::/45", "55824"}, + {"2400:2000:8::/46", "17676"}, + {"2600:1006:b1f0::/33", "22394"}, + {"2607:fb90:db00::/34", "21928"}, + {"2a05:55c1:f::/29", "50597"}, + {"2a0e:7f00::/29", "62177"}, + {"2001:5f8:7f0a::/47", "18883"}, + {"2001:44b8:4067::/48", "4739"}, + {"2602:fc24:10::/45", "210630"}, + {"2a03:4d47::/48", "199610"}, + {"2001:df4:2680::/48", "140389"}, + {"2001:df7:5d00::/48", "133296"}, + {"2001:4878:2102::/48", "12222"}, + {"2404:b0:1002::/45", "4750"}, + {"240e:983:1200::/48", "134766"}, + {"2804:275c::/32", "263896"}, + {"2a00:e340::/29", "25160"}, + {"2001:1358::/32", "11960"}, + {"2400:4d40:206a::/32", "134204"}, + {"2403:8600:c90::/44", "45820"}, + {"240e:44d:6380::/41", "4134"}, + {"2607:fbd8::/32", "11260"}, + {"2606:ab40:1::/48", "400339"}, + {"2803:8d80::/33", "11664"}, + {"2804:3300::/32", "61587"}, + {"2806:230:2051::/48", "11888"}, + {"2001:559:80d8::/47", "7922"}, + {"2804:8360::/32", "272194"}, + {"2401:1d40:2f00::/48", "4811"}, + {"2604:1100:d000::/39", "11911"}, + {"2a02:2230:2200::/40", "25467"}, + {"2a0e:b107:17b0::/48", "210490"}, + {"2001:5014:400:5::/21", "1273"}, + {"2409:8087:7500::/36", "9808"}, + {"2600:1f11::/36", "16509"}, + {"2620:f0:c002::/45", "14148"}, + {"2a0c:7882::/29", "60781"}, + {"2001:b01::/29", "12874"}, + {"2a02:16f8::/32", "12703"}, + {"2a0a:5e40:1::/48", "200353"}, + {"240a:a375::/32", "143535"}, + {"2600:1017:a010::/39", "6167"}, + {"2804:2c58::/35", "265211"}, + {"2a01:6480:2::/44", "29049"}, + {"2a0c:a200::/29", "62183"}, + {"2a0e:8f02:f03c::/48", "208137"}, + {"2408:8957:28c0::/38", "17816"}, + {"2409:805a:2900::/48", "9808"}, + {"240e:44d:6a00::/42", "140345"}, + {"2804:3d2c::/32", "266258"}, + {"2a00:16d0::/32", "12714"}, + {"2402:c0c0::/32", "135071"}, + {"2404:e200:1::/46", "18353"}, + {"240e:3b3:c800::/37", "4134"}, + {"2600:140b:b400::/48", "24319"}, + {"2800:d302:28::/43", "11830"}, + {"2001:559:8111::/48", "33491"}, + {"2402:800:971d::/42", "7552"}, + {"2a07:3502:1100::/48", "213132"}, + {"2001:1248:9e00::/43", "11172"}, + {"2400:adc0:200::/48", "9541"}, + {"240a:a2d1::/32", "143371"}, + {"2600:3003::/29", "13649"}, + {"2607:a500:5::/44", "12025"}, + {"2a06:e881:79ff::/48", "211230"}, + {"2a0c:b641:410::/44", "31396"}, + {"2a10:4640::/47", "212815"}, + {"2001:500:d937::/48", "396566"}, + {"2804:3418:4000::/32", "265435"}, + {"2a0d:f340::/29", "208861"}, + {"2602:fcf6::/36", "51999"}, + {"2a04:6543::/32", "200168"}, + {"2a10:6680::/29", "204790"}, + {"2001:da8:269::/48", "133111"}, + {"240a:a630::/32", "144234"}, + {"2800:bf0:8085::/44", "27947"}, + {"2a01:9ce0::/32", "28682"}, + {"2a02:26f7:df44::/48", "36183"}, + {"2c0f:fc89:80b0::/33", "36992"}, + {"2408:8957:a400::/40", "17622"}, + {"240a:abec::/32", "145702"}, + {"2605:92c0:f000::/36", "13904"}, + {"2001:559:421::/48", "7922"}, + {"2001:998:83::/29", "719"}, + {"2001:df0:5980::/48", "139041"}, + {"2001:4479::/37", "7545"}, + {"2401:0:4000::/40", "23966"}, + {"2001:559:c06d::/48", "7922"}, + {"2405:1c0:6a31::/46", "55303"}, + {"240a:a34d::/32", "143495"}, + {"240c:c406::/32", "24369"}, + {"240d:c010:20::/43", "132203"}, + {"2a02:960::/32", "34168"}, + {"2a10:2f00:128::/48", "213372"}, + {"2001:df0:4b::/48", "45881"}, + {"2001:df0:ea00::/48", "135469"}, + {"2001:1a68:2d::/46", "15694"}, + {"2001:da8:26d::/46", "23910"}, + {"2001:df4:f80::/48", "140443"}, + {"2408:8456:5600::/42", "17622"}, + {"2408:8459:b210::/42", "17623"}, + {"2604:8700::/36", "19578"}, + {"2a0b:d080::/32", "205747"}, + {"2400:d400:18::/48", "45671"}, + {"2600:1415:4801::/37", "20940"}, + {"2604:880:12::/48", "29802"}, + {"2620:149:a07::/44", "714"}, + {"2a02:2398:100::/38", "9166"}, + {"2001:43f8:13f0::/48", "328541"}, + {"2400:9380:8cc0::/44", "136167"}, + {"240e:940:8e00::/40", "136197"}, + {"2a03:ffc0::/32", "199354"}, + {"2804:4b6c::/32", "267305"}, + {"2a0a:6200::/32", "680"}, + {"2c0f:f528::/46", "327782"}, + {"2001:fd8:f370::/36", "4775"}, + {"2407:fc40::/32", "7676"}, + {"2600:1406:401::/39", "20940"}, + {"2804:247c::/32", "264226"}, + {"2a01:358:3021::/36", "9121"}, + {"2600:140f:f401::/38", "20940"}, + {"2620:116:c000::/46", "62708"}, + {"2a00:1328::/32", "31078"}, + {"2a06:a400::/30", "203596"}, + {"2a09:5740::/29", "206793"}, + {"2400:dcc0:af04::/33", "38631"}, + {"2607:2700::/32", "11239"}, + {"2a02:26f0:cc01::/40", "20940"}, + {"2a08:600:99::/48", "206747"}, + {"2001:559:c1fe::/48", "33667"}, + {"2001:7fb:ff00::/45", "12654"}, + {"2409:8062:807::/40", "9808"}, + {"240e:978:3a00::/37", "4134"}, + {"240e:980:4400::/40", "134768"}, + {"2800:800:640::/40", "26611"}, + {"2804:7c08::/32", "271471"}, + {"2a06:9682::/29", "31293"}, + {"2a09:2040::/29", "61157"}, + {"2406:1600:201::/39", "23871"}, + {"2607:fc58:1:18::/64", "13536"}, + {"2801:80:260::/48", "53012"}, + {"2806:267:3300::/41", "13999"}, + {"2a01:4440::/32", "31499"}, + {"2a05:83c0::/29", "201248"}, + {"2001:7fb:fe03::/45", "12654"}, + {"2401:400::/32", "7604"}, + {"240a:abd8::/32", "145682"}, + {"2804:68c0::/32", "269713"}, + {"2001:df3:6b00::/48", "137217"}, + {"2400:e340:3::/32", "136450"}, + {"2408:840d:1a00::/42", "17621"}, + {"2600:6c38:9e::/42", "20115"}, + {"2806:310:31::/46", "16960"}, + {"240a:aa92::/32", "145356"}, + {"240a:ac47::/32", "145793"}, + {"240a:af2b::/32", "146533"}, + {"2a02:6200::/29", "35206"}, + {"2001:559:20d::/48", "33287"}, + {"2001:559:84f5::/48", "33657"}, + {"2001:559:85ff::/48", "21508"}, + {"240a:a9d9::/32", "145171"}, + {"2a0b:7280:0:4::/63", "43345"}, + {"2a0b:dc00::/29", "37002"}, + {"2001:559:84c7::/48", "7015"}, + {"2804:301:8000::/34", "53237"}, + {"2a04:8400::/32", "207176"}, + {"2a0f:8645:b00c::/30", "25682"}, + {"2001:df0:fb00::/48", "136105"}, + {"2001:4350:ffef::/48", "37703"}, + {"2001:43f8:110::/48", "37181"}, + {"240a:ad09::/32", "145987"}, + {"2605:f440:53::/48", "57439"}, + {"2a02:ee80:4252::/44", "3573"}, + {"2001:67c:2644::/48", "6908"}, + {"2001:bf7:1322::/44", "206813"}, + {"2a0c:7e80::/29", "204790"}, + {"2001:250:c2a::/45", "138374"}, + {"2a0c:9c0::/48", "210021"}, + {"2401:2f00::/32", "17617"}, + {"240a:a924::/32", "144990"}, + {"2605:e80::/32", "11269"}, + {"2800:160:200e::/43", "14259"}, + {"2800:bf0:3400::/44", "52257"}, + {"2803:21e0::/32", "262186"}, + {"2804:df4:8000::/35", "52531"}, + {"2804:2a00::/32", "264050"}, + {"2a0b:6b86:200::/40", "60271"}, + {"2804:5240::/32", "268505"}, + {"2409:8751:b00::/37", "56047"}, + {"240a:aba5::/32", "145631"}, + {"2804:52f4::/36", "268552"}, + {"2400:7400:4a::/48", "23736"}, + {"2407:5f80::/32", "135155"}, + {"240a:a0e3::/32", "142877"}, + {"2804:14c:87b3::/41", "28573"}, + {"2804:7828::/32", "271224"}, + {"2a00:f826:a::/48", "204254"}, + {"2001:da8:a3::/48", "24361"}, + {"2607:fb90:c13e::/48", "22140"}, + {"2a0b:fb00::/29", "200548"}, + {"2402:3580:8011::/48", "134118"}, + {"2402:e280:212c::/47", "134674"}, + {"2408:840c:5000::/40", "17621"}, + {"2408:8456:4e40::/39", "17816"}, + {"2600:1406:cc01::/35", "20940"}, + {"2600:1901:c120::/44", "396982"}, + {"2610:28:5031::/32", "81"}, + {"2620:128:1004::/48", "53620"}, + {"2400:cb00:350::/45", "13335"}, + {"2610:a1:1081::/48", "397228"}, + {"2001:559:8301::/48", "7015"}, + {"2001:67c:2070::/48", "200000"}, + {"2400:fc00:e50::/33", "45773"}, + {"2408:8459:ba10::/42", "17623"}, + {"240a:a126::/32", "142944"}, + {"240a:a613::/32", "144205"}, + {"2a00:8f00:205::/48", "16349"}, + {"2a10:a080::/29", "51083"}, + {"2608:c101:1::/48", "27066"}, + {"2806:102e:7::/44", "8151"}, + {"2a0b:b9c0::/32", "45040"}, + {"2001:67c:8e4::/48", "41666"}, + {"2001:67c:10b8::/48", "207021"}, + {"240e:37e:2600::/32", "4134"}, + {"2600:8807:5360::/34", "22773"}, + {"2a00:da8::/32", "34086"}, + {"2a06:4fc0::/29", "8888"}, + {"2a10:9840:1::/46", "211757"}, + {"2001:559:8334::/48", "20214"}, + {"2406:e040::/48", "140765"}, + {"2409:8915:1c00::/39", "56044"}, + {"2602:fc52:320::/48", "212243"}, + {"2602:ffe4:c25::/46", "21859"}, + {"2610:b0:401e::/42", "3573"}, + {"2804:4960::/32", "267181"}, + {"2a02:26f7:c380::/48", "36183"}, + {"2a0b:b8c0::/31", "60405"}, + {"2001:559:44d::/46", "7922"}, + {"240e:3be:5600::/34", "4134"}, + {"240e:980:8a00::/40", "134238"}, + {"2605:a404:8ad::/43", "33363"}, + {"2a0e:fd45:6938::/47", "207972"}, + {"2001:ee0:d140::/38", "45899"}, + {"2408:8957:7100::/40", "17816"}, + {"2804:22c:f700::/36", "22689"}, + {"2804:104c:6000::/40", "263629"}, + {"2806:1040:fc::/48", "20940"}, + {"2a02:26f7:f841::/46", "20940"}, + {"2a02:2e02:92a0::/37", "12479"}, + {"2a05:5940::/29", "42632"}, + {"2a05:fb41::/30", "59504"}, + {"2409:8a55:3e00::/33", "9808"}, + {"2605:6e00::/32", "40298"}, + {"2804:68b4::/34", "269710"}, + {"2a01:b740:a05::/48", "714"}, + {"2a02:29e0::/32", "49367"}, + {"2001:559:c537::/48", "33491"}, + {"2404:1a40::/39", "9744"}, + {"240a:a401::/32", "143675"}, + {"2a01:664:2::/38", "48951"}, + {"2a01:a5e0::/32", "201808"}, + {"2a02:17e0::/32", "29164"}, + {"2a03:6e0:8000::/33", "6663"}, + {"2405:2400::/48", "58640"}, + {"2605:e040::/32", "398325"}, + {"2620:123:20c0::/47", "30103"}, + {"2409:8c20:5a63::/34", "56046"}, + {"2605:9d80:a011::/48", "36678"}, + {"2a10:cdc0:f401::/36", "213100"}, + {"2801:80:760::/48", "263576"}, + {"2804:23fc::/32", "264196"}, + {"2a00:f520::/32", "29551"}, + {"2a10:600::/32", "209208"}, + {"2001:559:34a::/48", "33491"}, + {"2001:559:8476::/48", "7016"}, + {"240e:44d:6e40::/42", "140354"}, + {"2610:e0:9000::/36", "2572"}, + {"2a0c:b642:fc0::/43", "213190"}, + {"2404:b0:f::/43", "7568"}, + {"2404:ec:200::/39", "703"}, + {"2620:63:2000::/48", "18966"}, + {"2620:11b:e0bc::/48", "202818"}, + {"2001:678:e0::/48", "3303"}, + {"240e:958:2100::/30", "4134"}, + {"2804:9a4::/32", "23074"}, + {"2a02:8400::/25", "15557"}, + {"2a04:4e40:7000::/48", "54113"}, + {"2804:2430::/32", "264207"}, + {"2804:7604::/34", "271084"}, + {"2001:559:790::/48", "33659"}, + {"2001:67c:2828::/48", "61013"}, + {"2001:44b8:4051::/48", "4739"}, + {"2602:fd59:10::/48", "25773"}, + {"2804:5128::/32", "268434"}, + {"2001:559:79c::/48", "7016"}, + {"2600:380:a380::/36", "20057"}, + {"2605:bc0:2134::/47", "54201"}, + {"2804:57b4::/32", "268081"}, + {"2804:388::/30", "22085"}, + {"2001:559:c131::/48", "33491"}, + {"2001:559:c2a8::/48", "7922"}, + {"2800:160:1d3d::/46", "14259"}, + {"2800:800:a52::/42", "26611"}, + {"2804:58f4::/32", "268160"}, + {"2a01:8740:2::/45", "57344"}, + {"2a04:6f00::/32", "3214"}, + {"2a04:f340::/36", "8758"}, + {"2001:67c:12d8::/48", "1101"}, + {"2001:67c:2780::/48", "200060"}, + {"2404:0:3000::/36", "17709"}, + {"2806:2f0:99c1::/42", "17072"}, + {"2a00:8f20::/32", "60687"}, + {"2001:559:704::/48", "7922"}, + {"2407:e1c0:4c::/40", "146872"}, + {"2001:559:8536::/48", "33651"}, + {"2402:800:bad0::/42", "7552"}, + {"2405:9800::/45", "45430"}, + {"2408:84f3:a410::/42", "134543"}, + {"240e:4e::/37", "17633"}, + {"2620:4d:400b::/45", "62597"}, + {"2a02:26f7:d161::/43", "20940"}, + {"2001:559:c4cb::/45", "7922"}, + {"2408:8957:6b00::/40", "17816"}, + {"240a:aab9::/32", "145395"}, + {"2804:1110:ab02::/33", "262901"}, + {"2a00:1d23::/32", "206570"}, + {"2a02:2580::/32", "2119"}, + {"2a0d:c900::/29", "31543"}, + {"2001:559:37c::/48", "7016"}, + {"2001:df2:d580::/48", "140101"}, + {"240a:a498::/32", "143826"}, + {"240e:44d:3500::/42", "140345"}, + {"2620:6f:2000::/48", "397529"}, + {"2a02:388::/32", "39040"}, + {"2a02:26f7:f5c8::/48", "36183"}, + {"2001:4878:c347::/48", "12222"}, + {"2400:8b00:a00::/42", "45727"}, + {"240c:ca02::/31", "138371"}, + {"2607:f740:e644::/44", "63911"}, + {"2801:96::/40", "28586"}, + {"2804:76c8::/34", "271134"}, + {"2001:559:856c::/48", "33650"}, + {"2001:6d0:ffc8::/48", "204582"}, + {"2403:e200:11::/46", "45543"}, + {"2620:123:9001::/48", "33695"}, + {"2804:20fc:30::/37", "264525"}, + {"2a02:26f0:3701::/36", "20940"}, + {"2a04:4e40:2e30::/41", "54113"}, + {"2001:418:1401:2::/64", "2914"}, + {"2001:500:8e::/48", "12041"}, + {"2001:da8:8020::/44", "24364"}, + {"2400:ca02:f0e3::/39", "23688"}, + {"2803:ba0:100::/40", "267756"}, + {"2803:4980::/32", "52328"}, + {"2804:7b20::/32", "271412"}, + {"2a0e:e140::/48", "58255"}, + {"2001:67c:27a4::/48", "3301"}, + {"2001:de1::/42", "7667"}, + {"2401:d800:9d60::/40", "7552"}, + {"2600:370f:34ea::/39", "32261"}, + {"2620:149:a33::/40", "714"}, + {"2804:3710::/32", "266387"}, + {"2a00:a8e0:301::/48", "17054"}, + {"2001:559:87b4::/48", "33657"}, + {"2402:ef0b:c000::/36", "24515"}, + {"2405:b640::/47", "24305"}, + {"2409:8904:5570::/40", "24547"}, + {"2604:a100:200::/48", "6939"}, + {"2a00:7180:8008::/46", "207808"}, + {"2a02:26f7:d409::/42", "20940"}, + {"2400:f6c0::/37", "136530"}, + {"2620:0:6c2::/48", "16807"}, + {"2803:3440::/32", "263784"}, + {"2806:2f0:42e1::/46", "17072"}, + {"2a02:26f7:e185::/46", "20940"}, + {"2001:559:8265::/48", "7922"}, + {"2001:ee0:324b::/37", "45899"}, + {"240a:a37f::/32", "143545"}, + {"2803:1dc0::/32", "20207"}, + {"2806:2f0:8203::/42", "17072"}, + {"2a02:26f7:c705::/46", "20940"}, + {"2600:140f:5200::/48", "9829"}, + {"2a02:16a0::/32", "13030"}, + {"2a04:53c0:82::/47", "47784"}, + {"2a0d:3b00::/29", "204939"}, + {"2a00:f440:d::/32", "48347"}, + {"2a02:26f7:c7c5::/46", "20940"}, + {"2a03:1a00::/32", "39647"}, + {"2a00:1d34:4500::/34", "9121"}, + {"2001:1a68:ed00::/35", "15694"}, + {"2a03:3320:4::/48", "8670"}, + {"2a0b:fe40::/29", "2116"}, + {"2001:559:c2fc::/48", "33659"}, + {"2400:e1c0:10::/47", "58659"}, + {"2401:d800:7280::/42", "7552"}, + {"2402:3a80:58::/46", "38266"}, + {"2804:4f0::/32", "22129"}, + {"2401:d000::/28", "38195"}, + {"240a:a785::/32", "144575"}, + {"2606:4700:8390::/44", "13335"}, + {"2800:160:118c::/43", "14259"}, + {"2804:14d:4cb7::/44", "28573"}, + {"2a02:9010:45::/48", "20905"}, + {"2a04:1c42:100::/32", "201035"}, + {"2400:9380:9030::/47", "4809"}, + {"2408:84f3:f850::/44", "17816"}, + {"2408:8957:a500::/40", "17816"}, + {"240a:a105::/32", "142911"}, + {"2604:ee00:7::/48", "18865"}, + {"2804:3274::/32", "265079"}, + {"2409:8055:40::/48", "9808"}, + {"240e:978:100::/37", "4134"}, + {"2600:140b:e800::/48", "24319"}, + {"2a00:dfa0::/32", "50673"}, + {"2a02:24f0::/32", "8592"}, + {"2001:253:120::/48", "142086"}, + {"2001:559:c014::/48", "33651"}, + {"2001:ce1::/32", "137207"}, + {"240e:978::/40", "137702"}, + {"2607:6100::/45", "54380"}, + {"2a02:26f7:bb00::/48", "36183"}, + {"2001:da8:c807::/44", "24356"}, + {"2804:1a64::/32", "14457"}, + {"2a02:f240::/29", "18779"}, + {"2a10:d000:1d::/29", "35506"}, + {"2405:1c0:6771::/46", "55303"}, + {"2a02:25b0:aaab::/33", "49101"}, + {"2a03:3620::/32", "48522"}, + {"2a04:4e42:8::/43", "54113"}, + {"2406:840:e010::/47", "213069"}, + {"2408:840d:200::/42", "17621"}, + {"2602:feb2:80::/36", "62492"}, + {"2803:fbe0:10::/46", "270092"}, + {"2804:14d:4491::/41", "28573"}, + {"2001:559:81fe::/48", "33490"}, + {"2001:559:87b2::/48", "21508"}, + {"2402:800:bbf0::/37", "7552"}, + {"2804:62a8::/32", "269310"}, + {"2a01:bb60::/32", "202120"}, + {"2a03:2440::/32", "199660"}, + {"2001:1a10:ce::/39", "8781"}, + {"2402:800:31d3::/44", "7552"}, + {"2804:4dcc::/33", "52856"}, + {"240a:a0d8::/32", "142866"}, + {"240a:ab05::/32", "145471"}, + {"2600:1407:8001::/37", "20940"}, + {"2604:d600:1408::/39", "32098"}, + {"2a00:19a0::/32", "34222"}, + {"2a0d:8d06:1::/36", "60557"}, + {"2402:7500:800::/38", "24158"}, + {"240a:a9ba::/32", "145140"}, + {"2620:103::/47", "19994"}, + {"2804:46bc::/32", "267008"}, + {"2a00:1cb8:1::/46", "12713"}, + {"2a00:fd40:b::/48", "204402"}, + {"2a0e:aa07:f0d0::/46", "139216"}, + {"2001:559:356::/47", "7015"}, + {"2001:559:c09b::/45", "7922"}, + {"240a:ad37::/32", "146033"}, + {"2804:ef4:6420::/32", "28642"}, + {"2804:f78::/32", "263587"}, + {"2a0d:8700::/29", "3268"}, + {"2001:360:12::/45", "135887"}, + {"240a:a9d5::/32", "145167"}, + {"2603:90bc::/32", "11427"}, + {"2a0b:1040::/29", "50582"}, + {"2402:9b00:84::/32", "45796"}, + {"2405:a200::/32", "17534"}, + {"2406:3000:3:7::/60", "4657"}, + {"240a:a7ff::/32", "144697"}, + {"2804:1040:b0c1::/42", "263626"}, + {"2804:390c::/32", "266520"}, + {"2a0a:fa80::/29", "5582"}, + {"2001:ee0:3c40::/33", "45899"}, + {"2001:4200:8010::/34", "2018"}, + {"2402:800:b950::/42", "7552"}, + {"2620:10d:9004::/48", "25993"}, + {"2a03:2100::/42", "51559"}, + {"2001:fd8:1940::/37", "4775"}, + {"2408:8459:4c80::/42", "136959"}, + {"2602:fed2:fe0::/44", "53356"}, + {"2620:16:e000::/48", "396027"}, + {"2a03:d000:1110::/46", "31163"}, + {"2408:8256:3680::/48", "17816"}, + {"240a:a59c::/32", "144086"}, + {"240e:950:1000::/33", "4134"}, + {"2602:fcd3:210::/44", "1239"}, + {"2604:a180:c000::/34", "11139"}, + {"2620:5c:a000::/48", "397138"}, + {"2620:13d:e002::/47", "398123"}, + {"2801:19:9800::/48", "14080"}, + {"2804:14c:f427::/40", "28573"}, + {"2804:6fc0::/32", "270682"}, + {"2a00:8b40::/29", "60426"}, + {"2401:d800:d7f0::/36", "7552"}, + {"2405:b000:200::/37", "6262"}, + {"2a0e:cd00:680::/31", "23031"}, + {"2409:805c:3071::/40", "9808"}, + {"2620:31:4000::/40", "14977"}, + {"2620:119:5006::/44", "13443"}, + {"2a06:c700::/34", "6810"}, + {"2607:fcd0:1336::/47", "29761"}, + {"2604:8200:8000::/36", "23089"}, + {"2620:100:f00a::/48", "40068"}, + {"2806:2f0:7281::/46", "17072"}, + {"2a10:2f40::/32", "49824"}, + {"2001:559:71a::/48", "7015"}, + {"240a:abc3::/32", "145661"}, + {"2001:df0:d7::/44", "8075"}, + {"2001:fd8:b0f0::/39", "4775"}, + {"2406:8800:9023::/45", "17465"}, + {"2804:3bc0::/32", "262576"}, + {"2a01:73c0:700::/32", "21450"}, + {"2a02:2ad0:639::/45", "702"}, + {"2001:559:876a::/48", "33660"}, + {"2607:f548::/32", "22878"}, + {"2804:518::/32", "262491"}, + {"2a02:26f7:10::/48", "36183"}, + {"2a06:a000:180::/48", "48741"}, + {"2c0f:f6d0:84::/47", "327687"}, + {"2001:559:7b4::/48", "33491"}, + {"2001:559:85c3::/48", "13367"}, + {"2607:e880:5060::/46", "12220"}, + {"2804:842c::/32", "272244"}, + {"2a02:cb80:40f0::/48", "43766"}, + {"2001:559:587::/48", "7015"}, + {"2001:610:121::/29", "1103"}, + {"2400:9380:9220::/47", "4809"}, + {"2605:b640:1101::/48", "53736"}, + {"2804:74e8::/32", "271011"}, + {"2408:8456:a040::/38", "17816"}, + {"240a:ad68::/32", "146082"}, + {"2602:fdd9::/36", "396935"}, + {"2804:285c::/32", "263958"}, + {"2804:2bf4:c0c0::/34", "262785"}, + {"2a06:dd80::/29", "203544"}, + {"2a0e:1c80:e::/48", "1299"}, + {"2001:678:f78::/48", "213027"}, + {"2001:fd8:f1c0::/42", "132199"}, + {"2001:12e0:806::/37", "10429"}, + {"2408:8957:4e00::/40", "17622"}, + {"2600:1419:c401::/36", "20940"}, + {"2804:3ccc::/32", "266235"}, + {"2a00:79e1:f12::/47", "36384"}, + {"2402:800:52c5::/43", "7552"}, + {"240a:aa29::/32", "145251"}, + {"240a:ace9::/32", "145955"}, + {"2a09:d840::/29", "400522"}, + {"2610:a1:3038::/48", "12008"}, + {"2620:8e:2000::/48", "397263"}, + {"2806:20d:2100::/35", "32098"}, + {"2a02:d68::/32", "12778"}, + {"2001:500:99::/46", "30133"}, + {"2001:559:c2f5::/46", "7922"}, + {"2402:3a80:1e00::/45", "38266"}, + {"2406:daa0:80c0::/44", "16509"}, + {"2620:0:ee0::/48", "47015"}, + {"2a07:4080::/29", "47132"}, + {"2400:9800:6011::/45", "139994"}, + {"2402:f800:e000::/36", "7602"}, + {"2404:e200:5::/46", "18353"}, + {"2405:1a40::/48", "135981"}, + {"240e:3b1::/35", "134773"}, + {"2602:ffc5:104::/48", "44954"}, + {"2606:3c00:f010::/36", "20365"}, + {"2806:230:301e::/48", "265594"}, + {"2407:6e00:253::/45", "38332"}, + {"240a:a087::/32", "142785"}, + {"2605:12c0::/32", "394743"}, + {"2804:3d6c::/32", "266530"}, + {"2a00:1a18::/29", "20755"}, + {"2a04:3540::/30", "202053"}, + {"2a04:de40:80::/39", "201971"}, + {"2a05:89c0::/29", "49223"}, + {"2001:559:7f1::/48", "33490"}, + {"2001:df6:5680::/48", "142020"}, + {"2606:3c80:8100:3::/36", "33582"}, + {"2a01:6c8:2000::/36", "59705"}, + {"2001:e60:d3b0::/45", "4766"}, + {"2401:d800:2222::/41", "7552"}, + {"240a:a450::/32", "143754"}, + {"2804:1968::/32", "61793"}, + {"2a0e:b107:dc6::/48", "211486"}, + {"2001:559:3e5::/48", "33490"}, + {"240a:ad2b::/32", "146021"}, + {"240e:2c:c000::/31", "4134"}, + {"240e:3bf:6400::/35", "140312"}, + {"2620:119:e011::/42", "30337"}, + {"2600:9000:10dc::/42", "16509"}, + {"2a01:b960:230f::/48", "213246"}, + {"2a0c:9a40:8082::/48", "61138"}, + {"2401:7000:d902::/34", "45177"}, + {"240a:a2ca::/32", "143364"}, + {"240a:af6d::/32", "146599"}, + {"2606:4700:57::/44", "13335"}, + {"2001:559:8569::/48", "33651"}, + {"2804:3270::/32", "265078"}, + {"2408:8760::/32", "4837"}, + {"240a:aa3c::/32", "145270"}, + {"240a:ac10::/32", "145738"}, + {"2606:9500:4000::/36", "396071"}, + {"2a0c:7e41:8600::/48", "20473"}, + {"2a11:8b40::/29", "1239"}, + {"2001:43f8:1000::/48", "328739"}, + {"240e:3ba:3e00::/33", "140308"}, + {"2602:107:310::/48", "11426"}, + {"2804:6b40::/33", "270388"}, + {"2a00:1850:2e6::/44", "29357"}, + {"2a01:348:fac::/32", "39326"}, + {"2804:6cfc::/32", "270505"}, + {"240a:a3d9::/32", "143635"}, + {"2804:1a14:3000::/36", "265962"}, + {"2a00:d88::/32", "15498"}, + {"2a06:e881:5700::/40", "209619"}, + {"2a10:3044::/30", "398481"}, + {"2c0f:2d00::/32", "328916"}, + {"2001:559:8342::/48", "33651"}, + {"2001:559:c09e::/48", "33659"}, + {"2001:918:fff2::/48", "208813"}, + {"2804:3e70:abce::/35", "266596"}, + {"2a03:2c60::/32", "49627"}, + {"2a0a:df00::/29", "201894"}, + {"2a10:bc80::/29", "212081"}, + {"2602:fcf6:ff8::/48", "212623"}, + {"2605:a000:70f::/36", "10796"}, + {"2800:300:85e0::/36", "27986"}, + {"2001:559:852a::/48", "7015"}, + {"2001:559:c39c::/48", "7015"}, + {"2620:137:a001::/48", "394707"}, + {"2800:a30:7adf::/32", "262187"}, + {"2804:2c6c::/32", "265217"}, + {"2401:d800:28f0::/39", "7552"}, + {"2600:1a0f:2000::/48", "10307"}, + {"2a05:1083:fcc0::/44", "209870"}, + {"2001:67c:2ac0::/48", "29663"}, + {"2001:e60:a000::/43", "4766"}, + {"240a:a03f::/32", "142713"}, + {"2620:93:4000::/48", "36359"}, + {"2001:559:4bf::/48", "7016"}, + {"2001:1250:e500::/44", "22894"}, + {"2404:8000:1025::/44", "17451"}, + {"2804:8574::/32", "272580"}, + {"2001:67c:1770::/48", "3301"}, + {"2001:1248:5f8f::/42", "11172"}, + {"2001:4c40::/32", "8368"}, + {"240a:a82f::/32", "144745"}, + {"2605:6ac0::/36", "14586"}, + {"2400:8b00:700::/42", "45727"}, + {"240e:a7:9000::/28", "4134"}, + {"2600:140b:5400::/48", "31109"}, + {"2804:75d0::/32", "271071"}, + {"2001:67c:ac::/48", "44329"}, + {"2a0d:6d00::/29", "49223"}, + {"2a0f:9400:802c::/48", "213234"}, + {"2408:8256:397f::/48", "17816"}, + {"240e:474::/23", "4134"}, + {"2600:1407:4800::/48", "35994"}, + {"2600:1480:d000::/48", "21342"}, + {"2804:36e8::/32", "52924"}, + {"2806:230:403a::/48", "265594"}, + {"2001:550:8d02::/38", "174"}, + {"2600:380:7880::/39", "20057"}, + {"2600:5c00:3a89::/41", "20001"}, + {"2a05:e2c0::/29", "30766"}, + {"2001:250:600c::/46", "23910"}, + {"2401:d800:522::/40", "7552"}, + {"2401:f000:19::/32", "38477"}, + {"2409:802f:2909::/46", "56041"}, + {"240a:a973::/32", "145069"}, + {"240e:d6:7000::/28", "4134"}, + {"240e:966:2800::/37", "133776"}, + {"2600:1403:4001::/37", "20940"}, + {"2a02:26f7:e544::/48", "36183"}, + {"2a0a:65c0::/32", "15703"}, + {"2a0e:b102:130::/44", "39526"}, + {"2001:67c:2850::/48", "212894"}, + {"2405:f000::/32", "7530"}, + {"240e:9b:f012::/45", "140251"}, + {"2607:fd48:fff0:1031::/57", "13536"}, + {"2620:12c::/44", "19966"}, + {"240a:aac9::/32", "145411"}, + {"2620:105:b0bc::/41", "2055"}, + {"2804:1528::/32", "263374"}, + {"2a05:1082:5::/48", "136918"}, + {"2401:d800:5112::/41", "7552"}, + {"2602:80a:2000::/48", "398351"}, + {"2a01:6e40::/32", "21274"}, + {"2001:550:6c05::/38", "174"}, + {"2001:559:f4::/48", "7725"}, + {"2408:8256:268::/39", "17622"}, + {"2408:8456:9000::/42", "17622"}, + {"240e:5e:2101::/35", "4134"}, + {"2604:d600:15b4::/46", "32098"}, + {"2804:1a14:5000::/32", "28153"}, + {"2409:8914:a400::/39", "56044"}, + {"2600:1419:5c01::/38", "20940"}, + {"2a00:86c0:1053::/34", "2906"}, + {"2a02:2e02:1b40::/40", "12479"}, + {"2806:370:5000::/44", "28403"}, + {"2a03:5341:10::/44", "18666"}, + {"2a06:98c0:1001::/48", "139242"}, + {"2a06:e881:8706::/44", "210554"}, + {"2001:559:8193::/48", "33660"}, + {"2401:2700:a::/48", "9286"}, + {"2600:6c34:381::/48", "33588"}, + {"2607:f4e8:ac2::/48", "38622"}, + {"2620:131:1092::/41", "26450"}, + {"2804:163c:201::/39", "263277"}, + {"2a00:adc0::/35", "41655"}, + {"2a02:26f7:c35e::/42", "20940"}, + {"2a04:a181::/32", "47474"}, + {"2001:559:86ec::/48", "33667"}, + {"2408:8956:4500::/40", "17816"}, + {"240e:980:8c00::/40", "4134"}, + {"2600:140f:b000::/48", "9498"}, + {"2402:800:9a47::/43", "7552"}, + {"240a:a43d::/32", "143735"}, + {"2803:8ae0::/32", "269933"}, + {"2a00:f18::/32", "39545"}, + {"2a00:ab40:5001::/32", "41798"}, + {"2001:678:fd0::/48", "213103"}, + {"2600:803:639::/35", "701"}, + {"2602:200::/32", "7992"}, + {"2804:1e5c::/32", "264424"}, + {"2001:559:2c3::/48", "33287"}, + {"2001:c20:48a1::/48", "3758"}, + {"2001:4800::/32", "33070"}, + {"2600:1416:a001::/33", "20940"}, + {"2607:fb50::/36", "22781"}, + {"2405:d000::/33", "18024"}, + {"240a:a800::/32", "144698"}, + {"2606:2800:5a3c::/46", "15133"}, + {"2801:80:ea0::/48", "264095"}, + {"2803:9800:98c5::/46", "11664"}, + {"2a05:dac0::/46", "44166"}, + {"2a0e:b107:938::/48", "204446"}, + {"2405:1c0:6331::/45", "55303"}, + {"2603:fc88::/29", "63023"}, + {"2803:6604:c600::/34", "28075"}, + {"2804:d70:440::/32", "52626"}, + {"2a06:b100::/29", "198024"}, + {"2600:1f01:4880::/47", "16509"}, + {"2a02:26f7:d109::/42", "20940"}, + {"2a04:5d00:81::/29", "60241"}, + {"2408:8957:9c00::/40", "17622"}, + {"2607:f8f0:1000::/40", "271"}, + {"2a0d:6f80::/29", "212144"}, + {"2001:559:c1b8::/48", "33657"}, + {"2001:559:c38b::/48", "7922"}, + {"2001:67c:2198::/48", "8605"}, + {"2408:8646:1200::/32", "4837"}, + {"2804:4f6c::/32", "268326"}, + {"2001:559:c092::/48", "7922"}, + {"2402:5300:4e00::/40", "38733"}, + {"2a10:bac0::/32", "39396"}, + {"2400:a980:9100::/34", "133111"}, + {"2620:34::/48", "3356"}, + {"2620:11c:8900::/37", "19"}, + {"2a02:26f7:c002::/48", "36183"}, + {"2804:215c::/32", "264550"}, + {"2a02:26f7:c689::/48", "20940"}, + {"2a0e:b107:a20::/44", "213215"}, + {"2a12:a6c0::/29", "400522"}, + {"2001:559:8503::/45", "7922"}, + {"240e:3b5:dc00::/34", "4134"}, + {"2600:140f:5a00::/48", "55836"}, + {"2a01:53a0:1::/48", "199953"}, + {"2a02:d280::/29", "197296"}, + {"2a0c:e640:1000::/48", "57401"}, + {"2001:250:834::/48", "23910"}, + {"2001:4888:8040::/48", "6167"}, + {"2401:3cc0:701::/36", "137409"}, + {"2605:8d80::/37", "812"}, + {"2a00:d91:1::/29", "12552"}, + {"2a01:5041:3000::/48", "202196"}, + {"2a02:6c20:828::/48", "208143"}, + {"2a0c:e2c0::/29", "62275"}, + {"2c0f:ef30::/32", "328334"}, + {"2a0e:b107:11b0::/44", "140731"}, + {"2001:4878:a347::/48", "12222"}, + {"2a11:3280::/29", "204790"}, + {"2804:b18:d000::/34", "52941"}, + {"2804:56e8::/32", "268031"}, + {"2804:6860::/32", "269688"}, + {"2a0c:4400::/32", "39405"}, + {"2a0c:9a40:1070::/40", "34927"}, + {"2403:2c00:7:1::4/62", "4058"}, + {"240a:a8df::/32", "144921"}, + {"2804:5a00::/32", "268739"}, + {"2a0a:200::/29", "786"}, + {"2001:df0:7540::/48", "142439"}, + {"2409:8028:30a1::/43", "56041"}, + {"2603:c012:4000::/36", "31898"}, + {"2a01:110:9009::/33", "6584"}, + {"2a02:e0::/43", "34984"}, + {"2001:559:30::/48", "33287"}, + {"2602:feda:d91::/48", "57401"}, + {"2804:61dc:7000::/32", "269261"}, + {"2a0d:ee80::/32", "42061"}, + {"2001:1248:5a1b::/42", "11172"}, + {"2409:804b:2b09::/32", "24445"}, + {"2607:fc58:1:50::/64", "13536"}, + {"2620:10e:1000::/47", "33397"}, + {"2a00:8007:ff00::/40", "197898"}, + {"2a02:26f7:f8cc::/48", "36183"}, + {"2606:2800:4224::/48", "15133"}, + {"2a01:9dc0::/32", "48684"}, + {"2001:648:2001::/44", "5408"}, + {"2001:d10:8402::/44", "4787"}, + {"2001:dc7:ffd6::/42", "24151"}, + {"2001:128c:7100::/32", "25933"}, + {"2001:4490:3fc::/37", "9829"}, + {"2400:bd00::/32", "45267"}, + {"2607:cd8c::/31", "6528"}, + {"2607:f750:6000::/40", "23473"}, + {"2804:39d4::/32", "266053"}, + {"2403:9800:b066::/33", "4648"}, + {"2408:8256:3b8b::/48", "17816"}, + {"2602:fc23::/43", "8095"}, + {"2607:fc98::/32", "29854"}, + {"2a0f:1202::/32", "60781"}, + {"2604:b040:1::/48", "26282"}, + {"2605:2e00::/36", "63017"}, + {"2400:9700:130::/32", "24550"}, + {"2409:896a:ac00::/39", "9808"}, + {"2600:5c00:200::/48", "11351"}, + {"2620:13f:700a::/47", "51439"}, + {"2806:268:380:12::/37", "13999"}, + {"2a02:26f0:e400::/48", "34164"}, + {"2001:559:c3f7::/48", "33655"}, + {"2001:fd8:224::/46", "132199"}, + {"2408:8956:6b00::/40", "17816"}, + {"240e:e7::/28", "4134"}, + {"2604:fe00:8::/32", "30517"}, + {"2a02:26f7:c844::/48", "36183"}, + {"2a0c:7dc0::/29", "18779"}, + {"2001:df0:1a::/48", "38244"}, + {"2001:df5:9180::/48", "9009"}, + {"2400:a140::/32", "59125"}, + {"2404:bf40:8001::/48", "2764"}, + {"2407:f1c0::/48", "135921"}, + {"2804:4eb4::/32", "61593"}, + {"2001:4479:f000::/39", "7545"}, + {"2001:b400:e000::/36", "17421"}, + {"2402:800:3eee::/43", "7552"}, + {"2600:6c10:fffa::/29", "20115"}, + {"2801:80:ad0::/48", "52826"}, + {"2804:14d:c283::/41", "28573"}, + {"2a0f:c400:ca::/48", "60781"}, + {"2001:559:175::/48", "7922"}, + {"2602:fde5:2b::/36", "393424"}, + {"2a09:bac0:50::/46", "13335"}, + {"2405:d300:400::/48", "38809"}, + {"2602:fe4c::/36", "397427"}, + {"2a02:26f7:f4c9::/42", "20940"}, + {"2a06:e881:180f::/48", "206885"}, + {"2001:418:1401:99::/54", "2914"}, + {"2403:9bc0::/44", "135562"}, + {"2408:80ea:62c0::/42", "17622"}, + {"240a:a5d7::/32", "144145"}, + {"2620:0:2902::/48", "22843"}, + {"2a02:2698:202e::/38", "51645"}, + {"2a0c:280::/30", "34966"}, + {"2405:2001:2::/48", "6421"}, + {"2409:8e01::/28", "9808"}, + {"240e:44d:5a00::/42", "140345"}, + {"2603:fdd0::/22", "397165"}, + {"2604:d600:689::/45", "32098"}, + {"2604:f840::/32", "397026"}, + {"2405:600:3::/35", "55805"}, + {"2a10:4f40:1::/48", "28693"}, + {"2408:8456:c240::/39", "17816"}, + {"240a:adbd::/32", "146167"}, + {"2607:4880:e000::/36", "53508"}, + {"2804:3700::/32", "262312"}, + {"2804:7724::/32", "271158"}, + {"2001:559:c2e5::/48", "33491"}, + {"2401:d800:7612::/41", "7552"}, + {"2403:d4c0::/32", "136714"}, + {"2605:a404:53::/42", "33363"}, + {"2607:b600:8::/48", "10397"}, + {"2a00:8860:b00::/40", "39239"}, + {"2a02:26f7:fc05::/46", "20940"}, + {"2a0b:6903:fdb::/48", "206873"}, + {"2001:938:4052::/32", "8437"}, + {"240a:a096::/32", "142800"}, + {"240e:44d:3800::/42", "140345"}, + {"2605:dd40:8260::/44", "16509"}, + {"2606:f40:4000::/48", "16509"}, + {"2a00:f740:401::/32", "28875"}, + {"2a02:2ab0:213::/44", "702"}, + {"2a0b:20c0:200::/34", "205766"}, + {"2a0f:3105::/32", "199669"}, + {"2001:559:731::/48", "33661"}, + {"2001:1248:5920::/43", "11172"}, + {"2401:d800:d80::/42", "7552"}, + {"2404:ffc0:18::/32", "62707"}, + {"2405:ba00:880c::/48", "7160"}, + {"240a:a110::/32", "142922"}, + {"2a01:b747:4f2::/38", "714"}, + {"2401:8800:600::/40", "17439"}, + {"2605:c380::/32", "21713"}, + {"2606:6140:4000::/32", "31764"}, + {"2a0c:abc0::/29", "212961"}, + {"2001:559:827e::/48", "7922"}, + {"2001:67c:11c::/48", "196883"}, + {"2001:dc7:5d78::/40", "24151"}, + {"2001:ee0:d900::/37", "45899"}, + {"2607:f740:e614::/47", "63911"}, + {"2800:860:b::/36", "262197"}, + {"2603:f130::/25", "397165"}, + {"2a0e:aa07:f0d4::/48", "139216"}, + {"2001:f40::/43", "9930"}, + {"2409:4051:5000::/30", "55836"}, + {"2606:6c00:ffff::/48", "32787"}, + {"2800:160:15d3::/42", "14259"}, + {"2a0e:8a80::/32", "209916"}, + {"2a0f:9247::/44", "207267"}, + {"2402:800:7440::/42", "7552"}, + {"240a:a63c::/32", "144246"}, + {"2602:fd25::/40", "25848"}, + {"2a02:c800:43::/32", "43930"}, + {"2001:250:3410::/45", "138393"}, + {"2001:559:2ee::/48", "33657"}, + {"2001:559:425::/48", "33659"}, + {"2001:559:4f6::/48", "62644"}, + {"2406:3003:2028::/45", "4657"}, + {"2a0d:2587:8100::/41", "142055"}, + {"2001:16a2:c0f3::/48", "39891"}, + {"2402:800:7322::/41", "7552"}, + {"2a09:1::/48", "210937"}, + {"2408:80ea:76a0::/41", "17816"}, + {"2409:805c:3031::/41", "9808"}, + {"2602:fea3::/36", "399611"}, + {"2a01:5043:b::/48", "202196"}, + {"2a01:6880::/32", "13121"}, + {"2a02:2e02:1e40::/42", "12479"}, + {"2600:1480:6000::/40", "33905"}, + {"2803:2b00:8002::/33", "52468"}, + {"2803:d4a0::/32", "266827"}, + {"2001:250:222::/48", "133111"}, + {"2600:5c01:10df::/36", "10796"}, + {"2600:9000:1182::/45", "16509"}, + {"2800:bf0:14e::/43", "27947"}, + {"2001:16e0::/29", "12611"}, + {"2409:8904:8340::/37", "24547"}, + {"240e:688::/29", "4812"}, + {"2a0b:11c0:20::/44", "198682"}, + {"2a00:8280::/32", "45011"}, + {"2001:559:41::/48", "33668"}, + {"2001:559:ce::/47", "7922"}, + {"2001:1248:a402::/43", "11172"}, + {"2620:123:2085::/48", "30103"}, + {"2a02:348:5c::/42", "35470"}, + {"2001:678:be8::/48", "207563"}, + {"2001:67c:1b00::/48", "58027"}, + {"2408:8956:aa00::/40", "17622"}, + {"240e::/32", "4134"}, + {"240e:108:22::/48", "58466"}, + {"2600:1409:801::/35", "20940"}, + {"2607:fb28:11::/32", "9"}, + {"2800:5f0:a001::/35", "22724"}, + {"2001:67c:19dc::/48", "12552"}, + {"2400:2000:11::/20", "17676"}, + {"240e:44d:2680::/41", "4134"}, + {"2804:5854::/32", "268122"}, + {"2a00:c40:8095::/48", "206785"}, + {"2400:cb00:110::/44", "13335"}, + {"2408:8956:ed40::/40", "17816"}, + {"2408:8957:a100::/40", "17816"}, + {"2a01:8280:3331::/32", "44735"}, + {"2a02:b50::/34", "15570"}, + {"2001:418:1439::/48", "1225"}, + {"240e:967:c400::/39", "133775"}, + {"2620:10a:80ae::/48", "394354"}, + {"2801:114:3::/48", "23059"}, + {"2a02:26f7:d005::/46", "20940"}, + {"2a04:4e40:be00::/48", "54113"}, + {"2001:df0:7600::/48", "133281"}, + {"2402:800:372b::/41", "7552"}, + {"2408:8256:3769::/48", "17816"}, + {"2408:8459:8810::/42", "17623"}, + {"2408:8956:4400::/40", "17622"}, + {"240e:9b:f006::/44", "140247"}, + {"2a05:d050:1040::/44", "16509"}, + {"2408:8459:1b30::/41", "17622"}, + {"240e:a64:1a00::/34", "140330"}, + {"2604:b800::/32", "30029"}, + {"2605:f140::/32", "398735"}, + {"2804:7be8::/47", "271462"}, + {"2a02:10:32::/40", "24785"}, + {"2c0f:f0e0::/32", "36972"}, + {"2001:4b69::/32", "12635"}, + {"2600:6c10:f80f::/42", "20115"}, + {"2604:c6c0::/48", "46323"}, + {"2804:23b0:8001::/34", "262645"}, + {"2001:579:40ff::/39", "22773"}, + {"2001:45b1:1000::/28", "4780"}, + {"2406:da70:9000::/40", "16509"}, + {"2600:1417:8::/43", "20940"}, + {"2600:370f:20c3::/45", "32261"}, + {"2804:1094:b020::/36", "263641"}, + {"2804:3888::/32", "266484"}, + {"2804:5120::/32", "268432"}, + {"2c0f:e9c0::/32", "327750"}, + {"2001:67c:45c::/48", "15542"}, + {"240a:a3e4::/32", "143646"}, + {"240e:5f:600c::/48", "4134"}, + {"2620:107:9080::/48", "22787"}, + {"2804:744::/39", "262632"}, + {"2804:8650::/32", "272635"}, + {"2a00:1d58:fa00::/43", "47524"}, + {"2a09:4c0:fe1::/34", "58057"}, + {"2001:559:5ec::/48", "33657"}, + {"240e:44d:3200::/41", "140345"}, + {"2604:9200::/32", "36687"}, + {"2606:4700:302d::/43", "13335"}, + {"2001:559:1be::/48", "33667"}, + {"2001:67c:25cc::/48", "56511"}, + {"2001:67c:2b80::/48", "60997"}, + {"240a:a95e::/32", "145048"}, + {"2600:9000:1e08::/47", "16509"}, + {"2604:3d00:fc00::/28", "6327"}, + {"2a02:26f7:f6cd::/43", "20940"}, + {"2a02:2800::/29", "15388"}, + {"2605:b8c0::/32", "22534"}, + {"2a00:de20::/32", "62405"}, + {"2a07:3140::/29", "48408"}, + {"240e:982:c300::/35", "4134"}, + {"2605:1080::/46", "23367"}, + {"2605:a404:b22::/40", "33363"}, + {"2804:7fac::/32", "271702"}, + {"2a02:2aa8::/39", "702"}, + {"2a0e:b107:440::/44", "207445"}, + {"2409:8c20:8ab2::/35", "56046"}, + {"2620:96:e000::/48", "398324"}, + {"2001:559:2c4::/48", "33652"}, + {"2001:44b8:605c::/48", "7545"}, + {"2804:6974::/32", "270271"}, + {"2a00:1828::/32", "34240"}, + {"2406:b640::/39", "139138"}, + {"2600:6c38:1d8::/42", "20115"}, + {"2607:f608::/32", "7412"}, + {"2804:1bf0:8::/46", "61758"}, + {"2804:3354::/32", "265389"}, + {"2a04:4880::/29", "56450"}, + {"2405:201:2800::/35", "55836"}, + {"2600:1488:a381::/37", "20940"}, + {"2600:6c10:417::/44", "20115"}, + {"2602:806:1000::/48", "397556"}, + {"2804:6088::/32", "269173"}, + {"2a03:5341::/44", "10455"}, + {"2c0f:fa88::/32", "328191"}, + {"2001:678:6d8::/48", "39334"}, + {"2806:10ae:e::/43", "8151"}, + {"2804:c98::/32", "52726"}, + {"2a11:8680::/29", "18779"}, + {"2001:559:840f::/48", "22909"}, + {"2600:1419:11::/46", "20940"}, + {"2806:230:300f::/48", "11888"}, + {"2a02:26f0:6401::/38", "20940"}, + {"2a0a:54c1:25::/46", "62240"}, + {"240a:a83a::/32", "144756"}, + {"2804:663c::/32", "269535"}, + {"2001:4408:8310::/37", "4758"}, + {"240a:a74c::/32", "144518"}, + {"2602:ffc5:180::/46", "29802"}, + {"2603:c002:1d10::/40", "31898"}, + {"2804:29ec::/32", "264045"}, + {"2804:46dc:8400::/33", "267016"}, + {"2a01:53c0:2f::/48", "54994"}, + {"2a01:a080::/32", "30915"}, + {"2001:559:c2af::/43", "33657"}, + {"2001:df6::/46", "132557"}, + {"2407:2f40::/48", "140787"}, + {"2001:559:591::/48", "7015"}, + {"2001:67c:2fc::/48", "41700"}, + {"240a:a282::/32", "143292"}, + {"2a02:74a0:a008::/47", "204038"}, + {"2a03:a240::/46", "199441"}, + {"2001:df7:2980::/48", "142612"}, + {"2401:7000:a0a2::/36", "45177"}, + {"2409:8a14:4a00::/34", "56044"}, + {"2803:db40::/47", "64100"}, + {"2a02:888:8254::/29", "47794"}, + {"2a02:2e02:8d0::/42", "12479"}, + {"2a09:f900::/48", "29182"}, + {"2a0c:4680::/29", "47945"}, + {"2600:1806:120::/47", "16552"}, + {"2a07:14c0:3000::/36", "59504"}, + {"2a09:a4c0::/32", "210625"}, + {"2400:1700:210::/47", "136552"}, + {"2401:d800:fb00::/42", "7552"}, + {"240e:5f:6001::/48", "134774"}, + {"2620:171:56::/44", "42"}, + {"2800:3f0:4006::/32", "15169"}, + {"2804:1e94::/32", "264437"}, + {"2a02:26f7:c7c0::/48", "36183"}, + {"2404:98c0::/44", "135259"}, + {"240e:848::/44", "140553"}, + {"2a07:5900:102::/29", "203014"}, + {"2800:160:14b1::/44", "14259"}, + {"2a09:bac0:455::/48", "13335"}, + {"2600:1416:3001::/32", "20940"}, + {"2804:6da8::/32", "270547"}, + {"2404:4800:20::/48", "9892"}, + {"240e:84c:10::/42", "4134"}, + {"2806:230:3008::/48", "265594"}, + {"2a02:2e02:c40::/43", "12479"}, + {"2a03:ce40::/47", "28753"}, + {"2400:b5c0::/32", "9891"}, + {"2606:6dc0:1338::/32", "13781"}, + {"2804:88::/47", "28135"}, + {"2804:1bc:114::/48", "28122"}, + {"2804:21f8:f::/43", "262272"}, + {"2806:230:101b::/48", "11888"}, + {"2607:f8c0:205::/46", "25885"}, + {"2610:20:8050::/44", "6629"}, + {"2803:5840::/32", "262145"}, + {"2804:4b0:102::/44", "262459"}, + {"2a01:5e0::/32", "16019"}, + {"2a0a:bd40::/29", "208808"}, + {"2001:559:445::/48", "7016"}, + {"2600:100c:9210::/34", "22394"}, + {"2804:3698::/32", "266358"}, + {"2a00:13a0::/32", "31242"}, + {"2a01:8840:de::/42", "12041"}, + {"2a06:2c40::/29", "28952"}, + {"2a0e:e704:47::/48", "210683"}, + {"2408:8374::/28", "4837"}, + {"2600:1010:f000::/44", "6167"}, + {"2801:80:6e0::/44", "262829"}, + {"2804:6ed8::/32", "270622"}, + {"2806:10ae:19::/46", "8151"}, + {"2001:559:194::/48", "7016"}, + {"2001:668:117::/48", "25973"}, + {"2406:840:90::/48", "139317"}, + {"240a:a48c::/32", "143814"}, + {"2806:2f0:1380::/48", "22884"}, + {"2a02:23e8::/32", "51514"}, + {"240a:a166::/32", "143008"}, + {"240a:aa96::/32", "145360"}, + {"240e:438:7e40::/32", "4134"}, + {"2a02:26f7:e3::/48", "20940"}, + {"2a02:2e02:1d00::/41", "12479"}, + {"2a0c:59c0::/32", "3214"}, + {"2c0f:f7f8:1::/46", "10753"}, + {"2a03:9e44::/30", "31399"}, + {"2001:4998:efe7::/44", "10310"}, + {"2602:fe90:800::/46", "35913"}, + {"2001:c20:c831::/48", "9255"}, + {"2400:8b00:2080::/42", "45727"}, + {"2a02:26f7:ec85::/46", "20940"}, + {"2001:559:a1::/48", "7015"}, + {"2402:800:9b71::/40", "7552"}, + {"2408:8256:f96::/35", "17622"}, + {"2408:8957:d8c0::/38", "17816"}, + {"240e:95c::/34", "58563"}, + {"2800:1e0:e02::/39", "7195"}, + {"2804:1288:f01::/35", "263482"}, + {"2a00:7b00:e900::/35", "12338"}, + {"2a03:db80::/34", "680"}, + {"2001:559:569::/48", "33287"}, + {"2001:da8:22b::/48", "24350"}, + {"2402:2f80:4::/48", "63956"}, + {"2607:6980::/43", "62217"}, + {"2801:f0:20::/48", "13679"}, + {"2a02:2e02:8630::/41", "12479"}, + {"2600:141c:b001::/33", "20940"}, + {"2620:5a:6000::/48", "397088"}, + {"2a02:988::/32", "30925"}, + {"2001:480:34::/48", "252"}, + {"2001:559:543::/48", "21508"}, + {"2001:559:85bc::/48", "33657"}, + {"2402:800:5ce0::/39", "7552"}, + {"2605:f500:602::/32", "1828"}, + {"2a03:9b80:4000::/34", "5411"}, + {"2a0d:5080::/30", "62240"}, + {"240a:a9ce::/32", "145160"}, + {"240e:67f:e400::/39", "140330"}, + {"2620:76:e000::/48", "397869"}, + {"2a02:2878:8000::/34", "62310"}, + {"2a02:2b10::/32", "24992"}, + {"2001:dd8:1c::/46", "30133"}, + {"2402:4800::/32", "18228"}, + {"240e:1c:4000::/36", "4134"}, + {"2620:dd::/48", "19764"}, + {"2a01:c50e:400::/36", "12479"}, + {"2a07:22c0:a000::/35", "213190"}, + {"2001:da8:a02b::/38", "23910"}, + {"2001:df2:b680::/48", "140070"}, + {"2620:9f:14::/48", "3549"}, + {"2a00:1158:4::/32", "8972"}, + {"2001:67c:2cf4::/48", "59951"}, + {"240e:44d:5880::/41", "4134"}, + {"2607:f8f0:670::/48", "271"}, + {"2806:2f0:9d43::/40", "17072"}, + {"2a02:26f7:b8c8::/48", "36183"}, + {"2001:da8:21e::/48", "23910"}, + {"2602:fcad:1::/46", "54316"}, + {"2602:feda:2a0::/45", "204185"}, + {"2606:2800:4a80::/46", "15133"}, + {"2804:774:8800::/33", "52858"}, + {"2804:3018:caff::/34", "263020"}, + {"2a00:1058::/32", "39905"}, + {"2408:8459:2240::/40", "17623"}, + {"2409:8d05::/32", "24547"}, + {"2607:f160:8800::/40", "6167"}, + {"2806:230:2010::/48", "265594"}, + {"2001:559:8502::/48", "20214"}, + {"2001:1960:13::/40", "5650"}, + {"2400:480:9::/48", "4766"}, + {"2406:6cc0:a100::/48", "63515"}, + {"2409:800b:2909::/38", "9808"}, + {"2804:1278::/32", "263478"}, + {"2804:386c::/32", "266476"}, + {"2a01:6dc0::/32", "204467"}, + {"2408:8956:8a00::/40", "17622"}, + {"240a:a4dc::/32", "143894"}, + {"240a:a60c::/32", "144198"}, + {"2605:a401:8e3e::/41", "33363"}, + {"2a02:a38::/32", "2119"}, + {"2a02:26f0:be::/47", "20940"}, + {"2a10:9903:120::/44", "212806"}, + {"2001:579:8d4::/44", "22773"}, + {"2408:8456:640::/39", "17816"}, + {"240a:a871::/32", "144811"}, + {"240a:aeac::/32", "146406"}, + {"240e:968:2000::/36", "63835"}, + {"2a03:401:1::/48", "208258"}, + {"2409:8c4c:23::/45", "9808"}, + {"240e:438:6820::/43", "140647"}, + {"2a00:d2c0::/45", "12975"}, + {"2a03:5420::/32", "16353"}, + {"2402:e280:2159::/46", "134674"}, + {"2405:7e40::/32", "137515"}, + {"2408:8456:c840::/40", "17816"}, + {"240a:ab6f::/32", "145577"}, + {"240e:608:1200::/29", "4134"}, + {"2001:559:838e::/48", "13367"}, + {"2409:8924:7700::/36", "56046"}, + {"240a:af49::/32", "146563"}, + {"240e:438:a420::/43", "140647"}, + {"2600:1406:ac01::/35", "20940"}, + {"2806:2f0:9523::/41", "17072"}, + {"2001:253:126::/48", "142092"}, + {"2401:7640::/32", "63771"}, + {"2401:ce00::/32", "24139"}, + {"240e:67d:c400::/39", "140330"}, + {"2603:8078::/32", "10838"}, + {"2408:80ea:6900::/35", "17816"}, + {"2409:8055:21::/45", "56040"}, + {"2604:e480::/32", "36827"}, + {"2605:3680::/32", "63010"}, + {"2a04:f580:9290::/48", "4809"}, + {"2001:559:3ae::/48", "7922"}, + {"2401:3800::/32", "24424"}, + {"2408:8459:1010::/41", "17622"}, + {"240a:a6c7::/32", "144385"}, + {"2804:62d4::/32", "269321"}, + {"2a02:6900:8824::/48", "43898"}, + {"2a10:7ac0::/29", "212238"}, + {"2001:da8:8009::/48", "23910"}, + {"2001:df4:c00::/48", "133985"}, + {"2001:1900:5:2:2:0:c:2280/126", "29632"}, + {"240a:abf0::/32", "145706"}, + {"2600:3001:28::/35", "13649"}, + {"2a01:278::/32", "41913"}, + {"2001:678:35c::/48", "12331"}, + {"2a00:1a28:1106::/48", "33886"}, + {"2a02:26f7:d3c1::/46", "20940"}, + {"2a02:26f7:f340::/48", "36183"}, + {"2a02:cdc6:3101::/31", "59715"}, + {"2a0b:39c0:1010::/44", "12372"}, + {"2a10:2a80:ac::/48", "207727"}, + {"2400:cb00:a640::/45", "13335"}, + {"2404:b0:11::/46", "4750"}, + {"2001:67c:598::/48", "206897"}, + {"2402:9d80:a71::/44", "131429"}, + {"240e:982:6000::/40", "58563"}, + {"2600:802:1107::/44", "701"}, + {"2600:1012:b1f0::/33", "22394"}, + {"2602:107:410::/48", "12271"}, + {"2800:6a0::/32", "27932"}, + {"2804:1e34::/32", "264414"}, + {"2a00:a780::/45", "44229"}, + {"2001:678:71c::/48", "57265"}, + {"2806:370:71c0::/42", "28403"}, + {"2a10:cc40:120::/44", "210881"}, + {"2001:559:8273::/48", "7725"}, + {"2001:578:3f::/39", "22773"}, + {"2600:140f:a400::/48", "9498"}, + {"2400:dd05:1007::/30", "7497"}, + {"2404:4a00:6a00::/64", "55423"}, + {"240a:a99c::/32", "145110"}, + {"2605:f080:200::/40", "62755"}, + {"2a02:ee80:4097::/42", "3573"}, + {"2a04:4e40:b800::/47", "54113"}, + {"2a0c:c400::/32", "8473"}, + {"2001:559:8570::/47", "33651"}, + {"2620:1d0:5d::/48", "397226"}, + {"2a02:26f7:c501::/45", "20940"}, + {"2a05:78c0::/32", "51975"}, + {"2001:4998::/44", "10310"}, + {"2409:8054:3019::/48", "56040"}, + {"2804:78c::/32", "52859"}, + {"2001:df2:7480::/48", "139909"}, + {"2408:8957:f240::/40", "17622"}, + {"2804:51bc::/32", "268473"}, + {"2a02:26f7:fa81::/46", "20940"}, + {"2408:8256:3ca0::/39", "17816"}, + {"240a:a8f1::/32", "144939"}, + {"240e:44d:3480::/41", "4134"}, + {"240e:45c:2000::/37", "131285"}, + {"2a05:2600::/29", "57948"}, + {"2405:6e00:470::/40", "133612"}, + {"240a:a1fa::/32", "143156"}, + {"2804:7a60::/39", "271367"}, + {"2a03:db80:4420::/48", "5501"}, + {"2001:559:598::/48", "7015"}, + {"2001:678:cbc::/48", "43021"}, + {"2402:800:feb0::/39", "7552"}, + {"2600:1419:5001::/37", "20940"}, + {"2604:e840:11::/32", "396965"}, + {"2607:ae80::/46", "26558"}, + {"2620:192::/46", "396367"}, + {"2800:200:e850::/40", "12252"}, + {"2a04:4e40:800::/47", "54113"}, + {"2a0a:db40::/29", "200601"}, + {"2408:8456:c800::/42", "17622"}, + {"2804:72d0::/32", "270877"}, + {"2a00:cc40:1::/46", "8932"}, + {"2a0d:1a40:7900::/47", "207960"}, + {"2001:df0:24c0::/48", "149062"}, + {"2408:8256:3197::/44", "17623"}, + {"2800:bf0:2840::/40", "27947"}, + {"2a0f:8447::/32", "212521"}, + {"2620:171:a::/43", "42"}, + {"2804:36ec::/32", "266380"}, + {"2804:7ad8::/32", "271395"}, + {"2a00:cb8:44::/48", "15695"}, + {"2a01:8840:7e::/40", "12041"}, + {"2a0e:8d80::/29", "207999"}, + {"2603:c002:1f20::/34", "31898"}, + {"2605:1540::/32", "22497"}, + {"2804:218::/40", "27715"}, + {"2804:6c10::/32", "270443"}, + {"2a09:3740::/29", "208944"}, + {"2a0c:e340:2::/32", "30150"}, + {"2c0f:6a00::/32", "328829"}, + {"2001:253:107::/48", "142073"}, + {"2001:559:464::/48", "7725"}, + {"2408:84f3:ba10::/42", "134543"}, + {"2804:4dd4::/32", "268222"}, + {"2804:71f4::/32", "270822"}, + {"2001:559:c3dd::/48", "33287"}, + {"2401:ee00:1041::/40", "23951"}, + {"2600:140b:401::/36", "20940"}, + {"2804:c14:4000::/34", "52671"}, + {"2a00:1878::/29", "8448"}, + {"2402:800:557f::/40", "7552"}, + {"2402:8100:39c0::/44", "45271"}, + {"240a:a716::/32", "144464"}, + {"2600:1008::/43", "6167"}, + {"2804:5544::/32", "268699"}, + {"2001:67c:27a0::/48", "44404"}, + {"2001:4490:da30::/46", "9829"}, + {"2408:8956:3f00::/40", "17816"}, + {"240a:a51c::/32", "143958"}, + {"2606:9100:4000::/34", "1421"}, + {"2607:f588::/32", "3257"}, + {"2620:b4:4000::/48", "63314"}, + {"2403:1f00::/32", "10010"}, + {"240e:3b0:1400::/38", "134773"}, + {"2801:17:d000::/48", "265696"}, + {"2806:2f0:1282::/48", "22884"}, + {"2a00:65c0::/47", "25156"}, + {"2a02:2798::/32", "28775"}, + {"2a0b:f940:4af3::/32", "205373"}, + {"240a:a2d8::/32", "143378"}, + {"2801:80:39d0::/48", "271047"}, + {"2a03:f80:370::/47", "56630"}, + {"2001:2063::/24", "1299"}, + {"2409:8c54:1001::/42", "56040"}, + {"2803:3b80:3030::/33", "263702"}, + {"2804:b4:9000::/33", "28294"}, + {"2804:5e90::/32", "269041"}, + {"2401:1c00:4100::/35", "38809"}, + {"2405:9800:c90c::/46", "45458"}, + {"240a:a7f6::/32", "144688"}, + {"2804:2008::/32", "264461"}, + {"2a07:3403::/32", "46516"}, + {"2409:8907:7720::/36", "24547"}, + {"2604:2e80:1804::/37", "30036"}, + {"2604:a880:fffe::/48", "14061"}, + {"2804:164c:fb::/36", "263280"}, + {"2804:64e4::/32", "3"}, + {"2806:363:2000::/35", "22566"}, + {"2a01:1b8:5::/48", "206804"}, + {"2a02:26f7:e740::/48", "36183"}, + {"2a03:7380:1e80::/42", "13188"}, + {"2a05:1083:ff06::/48", "211876"}, + {"2001:559:724::/48", "33657"}, + {"2001:678:d44::/48", "213279"}, + {"2001:978::/46", "174"}, + {"2409:8054:34::/48", "9808"}, + {"2806:230:6000::/48", "265594"}, + {"2a00:4120:8000:6::/64", "201044"}, + {"2a01:c50f:af00::/40", "12479"}, + {"2a03:a8e0::/32", "57090"}, + {"2a06:3cc0::/29", "57763"}, + {"2001:67c:188c::/48", "196858"}, + {"2408:8459:8c10::/42", "17623"}, + {"240a:a529::/32", "143971"}, + {"240b:4003:3e8::/48", "45102"}, + {"2620:57:4001::/48", "393818"}, + {"2620:116:f000::/46", "14157"}, + {"2804::/37", "2716"}, + {"2a00:f10:171::/38", "48635"}, + {"2a00:c580::/32", "47114"}, + {"2a03:5a00:2f::/48", "203784"}, + {"2a05:d050:a040::/44", "16509"}, + {"2a12:3fc7::/48", "39753"}, + {"2001:4350:2001::/36", "2609"}, + {"2a00:17e8::/29", "50226"}, + {"2a09:7c0::/29", "209624"}, + {"2406:2000:efbc::/48", "10229"}, + {"2406:f940::/32", "141596"}, + {"240a:a17f::/32", "143033"}, + {"2607:6000:700::/40", "12189"}, + {"2620:118:8000::/48", "40885"}, + {"2620:171:c00::/45", "42"}, + {"2a02:3b0::/32", "31736"}, + {"2a02:26f7:c60d::/42", "20940"}, + {"2001:559:84a7::/48", "21508"}, + {"2602:fed2:7307::/48", "33696"}, + {"2604:9100::/36", "29944"}, + {"2a03:2c00::/32", "41268"}, + {"2602:fc88::/36", "14618"}, + {"2606:6680:10::/46", "40676"}, + {"2a10:fa81:1::/48", "48878"}, + {"2001:559:274::/48", "20214"}, + {"2001:559:87b3::/48", "7016"}, + {"2600:1480:1000::/40", "33905"}, + {"2604:f540::/32", "36435"}, + {"2620:ae:c000::/48", "18686"}, + {"2409:8a56:9300::/28", "56040"}, + {"2610:88::/46", "14037"}, + {"2804:30d8::/32", "264976"}, + {"2a03:2a60:8100::/47", "59871"}, + {"2001:668::/39", "3257"}, + {"2001:67c:273c::/48", "3303"}, + {"2409:40c0:1000::/32", "55836"}, + {"240a:a4a2::/32", "143836"}, + {"240c:ca31::/25", "23910"}, + {"2a00:1d58:b900::/37", "47524"}, + {"2a05:2605::/30", "49544"}, + {"2001:559:81b5::/48", "33657"}, + {"2405:8a00:4002::/44", "55824"}, + {"2606:9680:2000::/44", "22918"}, + {"2620:11c:8000::/36", "19"}, + {"2401:48c0::/32", "136119"}, + {"2804:2780::/32", "263905"}, + {"2806:20d:3512::/38", "32098"}, + {"2a02:26f7:70::/48", "36183"}, + {"2620:12f:6000::/44", "393668"}, + {"2408:8456:ec40::/40", "17816"}, + {"2409:8751:100::/38", "56047"}, + {"2606:1980:a::/45", "54994"}, + {"2804:2650::/32", "264340"}, + {"2804:5428::/32", "268632"}, + {"2804:7a30:8000::/33", "271353"}, + {"2806:230:5016::/48", "265594"}, + {"2a00:c78::/32", "28707"}, + {"2401:d800:9372::/40", "7552"}, + {"2404:bb40::/32", "138978"}, + {"240a:a2c5::/32", "143359"}, + {"240a:ae78::/32", "146354"}, + {"2607:f380:a50::/44", "2152"}, + {"2620:130:800a::/47", "3356"}, + {"2400:9380:8ac0::/44", "136167"}, + {"2606:9d00::/32", "46231"}, + {"2801:18:1800::/48", "271963"}, + {"2804:14d:4ced::/46", "28573"}, + {"2804:6728::/32", "269608"}, + {"2806:106e:12::/45", "8151"}, + {"2a00:1ca8:45::/48", "58061"}, + {"2a01:c50f:a4c0::/38", "12479"}, + {"2a0e:7f80::/29", "208927"}, + {"2001:559:8211::/48", "33651"}, + {"2a05:df01:2::/29", "47891"}, + {"2a0f:fe40::/48", "207642"}, + {"2400:cb00:458::/48", "13335"}, + {"2400:cb00:a773::/45", "13335"}, + {"2606:c700:6000::/32", "53850"}, + {"2a00:c7c0::/32", "205617"}, + {"2a09:3d05::/30", "210625"}, + {"2001:579:d164::/40", "22773"}, + {"2405:8a00:602f::/43", "55824"}, + {"2405:b900:40::/44", "55701"}, + {"2408:84f3:ae10::/42", "134543"}, + {"2001:67c:17ec::/48", "13127"}, + {"240a:a9c2::/32", "145148"}, + {"2600:6c10:f80a::/45", "20115"}, + {"2602:800:1006::/44", "16970"}, + {"2607:6b80:7::/48", "46562"}, + {"2a02:2440::/32", "33835"}, + {"2a11:740::/29", "204790"}, + {"2001:250:5064::/48", "23910"}, + {"2001:67c:6ec::/48", "1101"}, + {"2804:11bc:8000::/38", "263435"}, + {"2a00:a300::/32", "47764"}, + {"2400:9380:92b0::/45", "4809"}, + {"2403:9800:112::/33", "4648"}, + {"2406:e640::/48", "140766"}, + {"2a01:7160::/32", "49223"}, + {"2001:559:600::/40", "7922"}, + {"2001:579:d044::/40", "22773"}, + {"2600:1417:58:100::/56", "4788"}, + {"2804:14d:9000::/40", "28573"}, + {"2a00:da8:fffc::/46", "34086"}, + {"2a00:66e0::/32", "48953"}, + {"2a01:4800::/32", "8767"}, + {"2a02:26f7:cf49::/42", "20940"}, + {"2001:550:1d02::/45", "174"}, + {"2001:559:484::/48", "33287"}, + {"2404:8240::/32", "56067"}, + {"2804:18ec::/32", "61763"}, + {"2a02:26f7:c354::/47", "36183"}, + {"2001:16a2:3a::/45", "25019"}, + {"2001:48d8::/32", "6596"}, + {"240e:cf:8000::/36", "134238"}, + {"2600:1806:521::/48", "16552"}, + {"2620:89:8000::/48", "22990"}, + {"2804:3f7c::/32", "265896"}, + {"2a03:6f40::/32", "199508"}, + {"2a04:4640::/29", "16347"}, + {"2600:5c00:21cf::/48", "3456"}, + {"2804:1ac::/38", "53175"}, + {"2804:371c:2::/48", "266390"}, + {"2a02:2698:9c00::/38", "34150"}, + {"2001:67c:1212::/48", "42728"}, + {"240a:aed3::/32", "146445"}, + {"240e:f7:4000::/36", "58461"}, + {"2602:107:200d::/48", "20115"}, + {"2620:135:5005::/44", "26457"}, + {"2804:4618:3400::/32", "266968"}, + {"2a0f:5707:ab28::/48", "136620"}, + {"2c0f:fef0::/32", "36958"}, + {"2001:4c08:2009::/46", "3356"}, + {"2604:2d80:6680::/36", "30036"}, + {"2607:9e00:5002::/32", "30536"}, + {"2401:d800:9980::/42", "7552"}, + {"2a02:768::/32", "44489"}, + {"2a02:26f7:b880::/48", "36183"}, + {"2409:8052:1900::/37", "9808"}, + {"2600:1406:400::/48", "35994"}, + {"2a00:4802:300::/44", "13124"}, + {"2a02:26f7:e5c0::/48", "36183"}, + {"2a07:c800::/29", "42159"}, + {"2001:4860:4865::/32", "15169"}, + {"2600:1406:7801::/38", "20940"}, + {"2804:1a9c::/32", "61871"}, + {"2a00:11c0:63::/48", "42473"}, + {"2a00:1ec8:55::/42", "2854"}, + {"2a02:ef0::/32", "39242"}, + {"2a02:26f7:f58d::/42", "20940"}, + {"2a0e:4844::/32", "33823"}, + {"240a:ac08::/32", "145730"}, + {"2804:5110:161::/32", "268428"}, + {"2a10:65c0::/29", "9063"}, + {"2600:1406:1801::/39", "20940"}, + {"2606:5cc0:1100::/37", "36263"}, + {"2804:7ea8::/32", "271638"}, + {"2a02:26f7:f798::/48", "36183"}, + {"2001:2001:4000::/36", "3301"}, + {"2409:8c54:1000::/48", "9808"}, + {"240e:848:40::/44", "140553"}, + {"2620:100::/47", "19637"}, + {"2804:6fc:17::/44", "28158"}, + {"2804:6ea0::/33", "270609"}, + {"2a00:c020:9000::/33", "200414"}, + {"2a02:70:2::/39", "3326"}, + {"2600:140b:3::/48", "24319"}, + {"2602:fcde::/36", "14618"}, + {"2604:f440:6::/48", "397373"}, + {"2a02:26f0:3c::/48", "20940"}, + {"2a09:f140::/29", "211332"}, + {"2001:3c8:2707::/48", "4762"}, + {"2804:1c14::/32", "61636"}, + {"2a0c:9a40:8018::/46", "207965"}, + {"2001:250:6417::/48", "23910"}, + {"2001:559:8150::/48", "20214"}, + {"2001:1a11:148::/46", "42298"}, + {"2804:534c::/32", "268575"}, + {"240a:ac0d::/32", "145735"}, + {"2a00:b2a0::/32", "3212"}, + {"2403:ad80:98::/42", "134835"}, + {"2600:1408:cc01::/35", "20940"}, + {"2804:28c::/32", "262822"}, + {"2a00:e040:c00::/47", "15953"}, + {"2a0d:1f80::/32", "205614"}, + {"2001:253:129::/48", "142095"}, + {"2001:559:c241::/48", "7725"}, + {"2400:cb00:180::/46", "13335"}, + {"2401:d800:2e80::/42", "7552"}, + {"2a02:26f7:e685::/46", "20940"}, + {"2403:2c00:c::/32", "4058"}, + {"240a:afb2::/32", "146668"}, + {"2605:eac0::/32", "398698"}, + {"2a00:7c40::/32", "202940"}, + {"2400:5280:f803::/48", "23724"}, + {"2405:7f00:ab00::/37", "133414"}, + {"2a0d:7980::/47", "48635"}, + {"2001:418:8404::/63", "20940"}, + {"2001:678:b::/48", "51955"}, + {"2403:a000::/32", "9658"}, + {"2406:7700::/32", "132694"}, + {"2806:322:2030::/40", "28546"}, + {"2a0d:8900::/29", "40970"}, + {"2800:bf0:82c1::/44", "27947"}, + {"2804:2c98::/32", "265229"}, + {"2001:dcd:11::/48", "38796"}, + {"2001:1248:a45e::/42", "11172"}, + {"2403:2c00:fffc::/46", "4058"}, + {"2409:8914:3e00::/39", "56044"}, + {"2804:7ae4::/32", "271398"}, + {"2602:107:210::/48", "10796"}, + {"2607:f6b0::/32", "6189"}, + {"2804:69b8::/32", "270287"}, + {"240a:ad11::/32", "145995"}, + {"2604:f980:4380::/43", "19957"}, + {"2610:20:1000::/40", "10616"}, + {"2804:8f0::/32", "263040"}, + {"2a01:4a0:39::/41", "201011"}, + {"2a00:cbe0:100::/38", "60297"}, + {"2a02:26f7:e201::/46", "20940"}, + {"2604:55c0:a::/45", "4138"}, + {"2001:1a11:7b::/48", "8781"}, + {"2604:81c0::/39", "396422"}, + {"2806:288:4097::/48", "28469"}, + {"2a0d:2902:caf0::/45", "204185"}, + {"240e:438:4620::/43", "140647"}, + {"2a00:1490:f1ea::/48", "42416"}, + {"2a00:1588:d801::/46", "36040"}, + {"2a00:1807::/32", "57728"}, + {"2403:5f40:2::/44", "9268"}, + {"2408:84f3:2c90::/38", "17816"}, + {"2408:872b:404::/32", "4837"}, + {"2409:8a03::/32", "9808"}, + {"2a02:5d01::/29", "28972"}, + {"2a0a:c940::/32", "2119"}, + {"2001:570::/48", "6066"}, + {"2001:12e0:800::/45", "10429"}, + {"2602:fcb1::/36", "399306"}, + {"2804:1010:5000::/32", "263617"}, + {"2804:8280:800::/32", "272521"}, + {"2801:140:dddd::/48", "265731"}, + {"2804:5a2c::/32", "268753"}, + {"2804:7634::/32", "271096"}, + {"2a06:b040::/29", "203779"}, + {"2402:c680::/32", "134518"}, + {"2605:a404:aac::/41", "33363"}, + {"2803:74a0::/32", "267701"}, + {"2402:800:389b::/41", "7552"}, + {"2600:1406:4c01::/38", "20940"}, + {"2001:df4:7700::/46", "137176"}, + {"240a:a6ba::/32", "144372"}, + {"2605:900::/32", "12110"}, + {"2806:2f0:9b81::/46", "17072"}, + {"2001:768::/32", "8356"}, + {"240e:982:c200::/40", "139220"}, + {"2a01:c50f:c700::/36", "12479"}, + {"2a02:4540:7000::/43", "197207"}, + {"2402:800:9b0f::/43", "7552"}, + {"2800:160:1f0d::/43", "14259"}, + {"2402:e280:2160::/47", "134674"}, + {"2408:8256:2d6c::/48", "17816"}, + {"240a:ad28::/32", "146018"}, + {"2804:2c0:6608::/35", "262834"}, + {"2a0e:b107:7f0::/48", "207722"}, + {"2a10:e440::/32", "50293"}, + {"2001:770::/32", "1213"}, + {"2409:801f:3003::/45", "24400"}, + {"240a:a382::/32", "143548"}, + {"2600:1400:9001::/34", "20940"}, + {"2803:2ce0::/32", "269907"}, + {"2a02:26f7:b84d::/46", "20940"}, + {"2001:559:7b9::/48", "7015"}, + {"2405:c400:175::/46", "38880"}, + {"2600:6c38:8f::/43", "20115"}, + {"2606:2800:4ae0::/46", "15133"}, + {"2804:479c::/32", "267065"}, + {"2804:52a4::/32", "268531"}, + {"2a07:7e80::/29", "202870"}, + {"2a0b:f304:463::/32", "62240"}, + {"2a0b:f4c0:1b4::/48", "205100"}, + {"2401:d800:b710::/42", "7552"}, + {"2604:d600:15a6::/47", "32098"}, + {"2620:0:871::/45", "715"}, + {"2804:3b18::/32", "266129"}, + {"2a01:8780::/31", "50343"}, + {"2a01:a300::/32", "21310"}, + {"2a02:26f7:d6c0::/47", "36183"}, + {"2a0a:f00::/29", "207822"}, + {"2405:6000::/32", "4770"}, + {"240a:a520::/32", "143962"}, + {"2600:40ff:ff10::/47", "1321"}, + {"2607:f6f0:4005::/40", "29884"}, + {"2404:e800:104::/31", "55430"}, + {"2408:8956:cfc0::/35", "17622"}, + {"240a:a359::/32", "143507"}, + {"240e:44d:4700::/41", "140345"}, + {"2605:9840::/32", "1448"}, + {"2a00:d08::/32", "48218"}, + {"2001:250:201::/45", "23910"}, + {"2001:559:508::/48", "7922"}, + {"2001:924::/30", "8220"}, + {"2409:8006::/31", "9808"}, + {"2600:1404:cc01::/38", "20940"}, + {"2604:d600:1625::/44", "32098"}, + {"2a02:26f7:ec48::/48", "36183"}, + {"2a04:62c0::/31", "47477"}, + {"2001:550:702::/36", "174"}, + {"2001:c20:48c7::/48", "3758"}, + {"2001:1248:5a7f::/40", "11172"}, + {"2001:1900:2370::/48", "10753"}, + {"2409:8052:1802::/40", "56047"}, + {"240a:ab8b::/32", "145605"}, + {"2606:2e00:1::/48", "13213"}, + {"2607:1280:1120::/43", "394972"}, + {"2800:160:1b13::/44", "14259"}, + {"2a02:26f0:88::/48", "34164"}, + {"2c0f:f058::/32", "32860"}, + {"2001:1a11:101::/48", "8781"}, + {"2400:6280:11a::/48", "132280"}, + {"2408:8656:1800::/34", "17816"}, + {"2409:8939::/30", "9808"}, + {"2804:3e44:3000::/32", "266584"}, + {"2a00:1851:3e21::/39", "29357"}, + {"2a02:26f7:c352::/47", "20940"}, + {"2a02:26f7:db00::/48", "36183"}, + {"2a02:2bc0::/32", "31708"}, + {"2a02:2e02:2e80::/43", "12479"}, + {"2a0c:da04:15::/48", "202365"}, + {"2400:7400:64::/48", "38044"}, + {"2607:fb10:2011::/46", "55095"}, + {"2804:5040::/32", "268377"}, + {"2a04:3544:c000::/30", "202053"}, + {"2a0e:f200:144::/48", "30633"}, + {"2400:cb00:31::/48", "13335"}, + {"2401:bcc0::/48", "133311"}, + {"2602:fed2:3e8::/48", "139693"}, + {"2605:a000::/37", "10796"}, + {"2804:2e8:80c0::/33", "262847"}, + {"2804:2674:d004::/48", "264344"}, + {"2a03:c980:d990::/48", "210079"}, + {"2a09:bac0:451::/48", "13335"}, + {"2001:559:837c::/48", "20214"}, + {"2401:d800:9e72::/40", "7552"}, + {"240e:30e:5600::/31", "4134"}, + {"2604:d600:653::/45", "32098"}, + {"2804:f44::/32", "263574"}, + {"2401:a580:6::/32", "55403"}, + {"2600:1415:c00::/48", "24319"}, + {"2605:3380:4451::/46", "12025"}, + {"2405:800:2000::/33", "7545"}, + {"2a09:bac0:80::/47", "13335"}, + {"2001:df4:a700::/48", "134021"}, + {"240e:183:821c::/46", "140655"}, + {"2600:ec00::/29", "26073"}, + {"2604:5800::/32", "19969"}, + {"2001:559:1d9::/48", "20214"}, + {"2001:648:3500::/29", "5408"}, + {"2001:df2:d00::/48", "134026"}, + {"2001:4408:5::/39", "4758"}, + {"2600:ec04:3f3::/28", "26073"}, + {"2602:fd47:d01::/38", "398461"}, + {"2a00:13fa::/32", "42087"}, + {"2001:858::/32", "8437"}, + {"2001:4878:a102::/48", "12222"}, + {"2400:9380:96c0::/44", "136167"}, + {"2806:20d:52ff::/37", "32098"}, + {"2402:800:5dc5::/43", "7552"}, + {"2406:840:e777::/48", "136591"}, + {"240e:974:e200::/47", "38283"}, + {"2604:9e40:4::/32", "29457"}, + {"2804:ae0:8630::/33", "28352"}, + {"2804:145c:5000::/32", "263327"}, + {"2806:2f0:3341::/46", "17072"}, + {"2001:1218:6056::/40", "278"}, + {"2607:fb10:2043::/43", "2906"}, + {"2800:d302:22::/47", "11830"}, + {"2a11:5c80::/29", "204790"}, + {"2001:559:c127::/48", "33489"}, + {"2600:380:d980::/41", "20057"}, + {"2804:7f78::/32", "271690"}, + {"2a02:26f7:d081::/46", "20940"}, + {"2402:800:f990::/42", "7552"}, + {"2409:4073:3000::/33", "55836"}, + {"2a03:7380:4000::/40", "13188"}, + {"2a0f:9400::/45", "139686"}, + {"2001:1a11:144::/48", "8781"}, + {"240a:a759::/32", "144531"}, + {"240e:97a:2e00::/31", "4134"}, + {"2606:2800:6a20::/47", "15133"}, + {"2a01:827::/32", "30722"}, + {"2001:559:8282::/48", "33660"}, + {"2001:4b22:10:1::/47", "34288"}, + {"2806:230:203f::/48", "11888"}, + {"2806:282::/32", "265509"}, + {"2001:559:7eb::/48", "7015"}, + {"2401:d800:f5c0::/42", "7552"}, + {"2403:7100::/44", "132220"}, + {"2a02:50a0::/32", "201787"}, + {"2a07:3500:19e0::/48", "38915"}, + {"2001:4d0::/39", "297"}, + {"2001:559:861e::/48", "7922"}, + {"2409:8043:2903::/48", "9808"}, + {"2803:c240:2000::/32", "41095"}, + {"2a02:ee80:407d::/46", "3573"}, + {"2a09:4b44:c::/47", "61317"}, + {"2001:500:133::/48", "396549"}, + {"2001:559:c270::/48", "33651"}, + {"2800:be0:3e8::/37", "267848"}, + {"2804:2b5c::/32", "265150"}, + {"2a02:26f7:d9c4::/48", "36183"}, + {"2001:559:336::/48", "33650"}, + {"2001:559:5c5::/48", "33668"}, + {"2001:67c:398::/48", "50213"}, + {"2602:fc3b::/39", "399970"}, + {"2001:500:ed30::/48", "7342"}, + {"2001:4048::/39", "33922"}, + {"2a01:5460::/32", "57795"}, + {"2603:c011:4000::/36", "31898"}, + {"2804:354:b::/32", "262874"}, + {"2001:559:c234::/48", "33652"}, + {"2800:440:8066::/48", "27738"}, + {"2a02:26f7:bdc5::/46", "20940"}, + {"2c0f:f5f8::/32", "37717"}, + {"2001:44b8:6050::/48", "7545"}, + {"2409:8924:2500::/38", "56046"}, + {"2600:370f:6042::/45", "32261"}, + {"2800:bf0:8141::/45", "52257"}, + {"2c0f:1200::/32", "328820"}, + {"2001:da8:203e::/48", "23910"}, + {"2409:8069:2a06::/47", "9808"}, + {"2001:559:422::/48", "7725"}, + {"2001:559:877e::/48", "7015"}, + {"2409:8914:600::/39", "56044"}, + {"2602:809:6000::/44", "399214"}, + {"2804:85a8::/32", "272593"}, + {"2001:67c:2d0::/48", "21155"}, + {"2605:bcc0::/33", "40718"}, + {"2a09:1f00::/29", "197205"}, + {"2a0d:1a45:27::/34", "57782"}, + {"2602:fc09:819::/40", "13780"}, + {"2804:4304::/32", "267543"}, + {"2001:550:1:200::/55", "174"}, + {"2a06:1b80::/29", "199462"}, + {"2a0b:2c0:deae::/29", "205831"}, + {"2001:16f7::/32", "201370"}, + {"2408:8456:600::/42", "17622"}, + {"240e:9b:f015::/46", "140252"}, + {"2001:559:807d::/46", "33657"}, + {"240a:a436::/32", "143728"}, + {"2a0f:a02::/29", "60781"}, + {"2a10:d504:2::/31", "22773"}, + {"2001:559:50d::/48", "33490"}, + {"2001:579:904b::/40", "22773"}, + {"2001:6d0:ffb9::/48", "43832"}, + {"2408:8000:5004::/48", "139007"}, + {"2409:8904:5a70::/40", "24547"}, + {"240a:61:2e00::/48", "9605"}, + {"240e:3bb:2c00::/35", "134774"}, + {"240e:44d:4b80::/41", "4134"}, + {"2a0f:ca87:7::/48", "208471"}, + {"2800:bf0:81c3::/45", "52257"}, + {"2a02:7aa0:1619::/48", "52173"}, + {"2a0d:9e40:1000::/36", "9558"}, + {"2600:6c38:d2d::/41", "20115"}, + {"2a02:26f7:d0c1::/46", "20940"}, + {"2600:1417:1800:100::/54", "16625"}, + {"2409:8052:2800::/47", "56047"}, + {"240a:a3a1::/32", "143579"}, + {"240e:7:4800::/37", "4134"}, + {"2a0e:8140::/29", "35048"}, + {"2001:559:c043::/48", "7922"}, + {"2400:9380:a042::/48", "23764"}, + {"2401:b400:1::/45", "58448"}, + {"2409:8d4c::/30", "9808"}, + {"2605:7e80::/32", "62969"}, + {"2804:e78::/32", "262957"}, + {"2a02:26f7:da45::/46", "20940"}, + {"2a09:ff00:102::/48", "1239"}, + {"2a0d:40c0::/32", "203448"}, + {"2001:253:137::/48", "142103"}, + {"2001:1978:2000::/40", "13768"}, + {"2404:3e00:a300::/37", "38758"}, + {"240e:983:1b01::/48", "134771"}, + {"2620:7d:e000::/48", "42909"}, + {"2806:2f0:60a3::/41", "17072"}, + {"2001:559:c4a7::/48", "33657"}, + {"2600:26c6:8::/48", "20115"}, + {"2602:ff99:2::/47", "14333"}, + {"2804:8480:100::/36", "272264"}, + {"2600:1fa0:2040::/44", "8987"}, + {"2600:e00c::/32", "22995"}, + {"2804:54a0:1c00::/39", "27688"}, + {"2804:8268::/32", "272518"}, + {"240e:966:2000::/37", "4134"}, + {"2801:80:a50::/48", "28148"}, + {"2a07:3502:10e0::/48", "1136"}, + {"2001:559:821f::/48", "7725"}, + {"2001:7f8:18::/48", "2128"}, + {"240e:9b:f030::/46", "140261"}, + {"2803:6d00::/32", "52444"}, + {"2804:1364::/32", "263532"}, + {"2a01:570::/47", "33941"}, + {"2a0e:8f02:2151::/46", "211869"}, + {"2406:840:a08::/48", "139317"}, + {"2408:824e::/27", "4837"}, + {"2804:3f88::/32", "265899"}, + {"2a0f:e404:107::/48", "58057"}, + {"240a:a4aa::/32", "143844"}, + {"2804:6940::/32", "270258"}, + {"2a00:a6a0:1::/48", "60587"}, + {"2a03:4b00::/32", "49888"}, + {"2a09:ce00::/29", "208861"}, + {"2800:160:2184::/43", "14259"}, + {"2a02:610:fffe::/48", "43615"}, + {"2a0e:f41::/32", "208567"}, + {"2001:608::/32", "5539"}, + {"2001:67c:25c4::/48", "31080"}, + {"2001:4d78:100::/36", "15830"}, + {"2400:cb00:474::/46", "13335"}, + {"2409:8924:2d00::/38", "56046"}, + {"2409:8d20::/29", "56046"}, + {"2001:9a8::/32", "15703"}, + {"2401:d800:7130::/41", "7552"}, + {"2607:f6f0:4001::/48", "394749"}, + {"2a00:16f8:f::/48", "6461"}, + {"2a02:26f7:f941::/46", "20940"}, + {"2001:67c:e0::/48", "197000"}, + {"2801:80:2510::/48", "268507"}, + {"2806:20d:110c::/43", "32098"}, + {"2a00:8c40:238::/48", "42037"}, + {"2a02:ac87:59cc::/32", "25145"}, + {"2804:3e60:110::/41", "266592"}, + {"2804:4c40::/32", "267359"}, + {"2001:559:81c1::/48", "33287"}, + {"2404:bf40:8540::/48", "7545"}, + {"2600:6c10:f347::/44", "20115"}, + {"2804:11ec::/32", "52850"}, + {"2001:579:1d84::/34", "22773"}, + {"2402:800:f480::/39", "7552"}, + {"2408:8459:c830::/41", "17622"}, + {"2409:8070:ab5::/44", "9808"}, + {"2a02:26f0:d1::/48", "34164"}, + {"2a06:8340::/29", "202177"}, + {"2a0e:46c4:2820::/44", "210631"}, + {"2a0e:8f02:f00f::/48", "212358"}, + {"240e:3bf:ac00::/35", "4134"}, + {"2804:14c:fc99::/41", "28573"}, + {"2a06:1e00:2d::/48", "212968"}, + {"2a0e:97c3:7f6::/48", "20473"}, + {"2401:d800:fc32::/40", "7552"}, + {"2600:400:3e10::/32", "15147"}, + {"2001:4878:4000::/48", "12222"}, + {"2001:4998:10::/46", "10310"}, + {"2607:f160:12::/48", "22394"}, + {"2804:e70::/32", "262955"}, + {"2a0f:a304::/32", "44326"}, + {"2401:d180::/46", "133865"}, + {"2607:f380:806::/47", "257"}, + {"2804:1414::/32", "263311"}, + {"2a04:cc40::/29", "59770"}, + {"2a0c:9e40:1::/46", "60781"}, + {"2a09:d2c1:4::/48", "207518"}, + {"2001:df7:5100::/48", "4826"}, + {"2409:8704:3100::/36", "24547"}, + {"2607:fdc8:c00::/48", "30036"}, + {"2804:6a78::/32", "270338"}, + {"240a:a373::/32", "143533"}, + {"240e:109:804c::/25", "4134"}, + {"2600:1407:a001::/36", "20940"}, + {"2804:1578::/32", "61906"}, + {"2804:37a8:1214::/44", "266428"}, + {"2a0b:c6c0::/29", "57407"}, + {"2a11:380::/29", "211319"}, + {"2a11:29c0:1::/48", "210738"}, + {"2c0f:f588::/32", "327966"}, + {"2001:df0:218::/48", "38830"}, + {"2408:8256:3d7c::/46", "17623"}, + {"2001:df7:9f80::/48", "147050"}, + {"2409:802f:2b08::/37", "56041"}, + {"2602:ffb6::/36", "174"}, + {"240a:a0e7::/32", "142881"}, + {"2600:1016:a010::/39", "6167"}, + {"2804:5b60::/32", "268838"}, + {"2001:559:822f::/48", "33287"}, + {"2001:df5:e800::/48", "133498"}, + {"2800:160:2b9d::/42", "14259"}, + {"2a01:37:4000::/35", "8875"}, + {"2401:5840::/38", "132113"}, + {"2402:800:5ec0::/43", "7552"}, + {"2607:f368:f00::/40", "46846"}, + {"2800:800:a42::/43", "26611"}, + {"2801:1c8:8a::/48", "27951"}, + {"2804:2b34::/32", "265140"}, + {"2804:4150::/32", "267426"}, + {"2001:b031:ae00::/30", "3462"}, + {"2404:3d00:417c::/40", "3573"}, + {"2408:8a04:e000::/40", "9929"}, + {"2607:fc50:2002::/33", "36236"}, + {"2600:381:400::/34", "7018"}, + {"2804:21a4::/34", "53190"}, + {"2a03:e140:1a::/48", "50317"}, + {"2a0d:2400::/30", "62068"}, + {"2403:e800:922::/32", "4637"}, + {"2605:a000:40e::/48", "11955"}, + {"2606:7240::/48", "399914"}, + {"2620:0:50e0::/48", "31859"}, + {"2804:4b0::/39", "262459"}, + {"2804:744:1100::/32", "262632"}, + {"2804:7180::/39", "270793"}, + {"2a03:5640:f501::/48", "2906"}, + {"2a09:4c2:4a::/48", "212904"}, + {"2408:8026:390::/37", "17621"}, + {"2408:8956:ab00::/40", "17816"}, + {"240a:2:c90::/44", "9605"}, + {"2606:1a40:100c::/47", "398962"}, + {"2806:1016:1::/48", "8151"}, + {"2a04:c444::/32", "2047"}, + {"2001:559:2f0::/48", "33650"}, + {"2402:8100:26b3::/44", "55644"}, + {"2600:6c20:dfb::/45", "20115"}, + {"2a03:d400:122::/47", "198913"}, + {"2001:559:7a::/48", "33657"}, + {"2402:bfc0:1::/44", "136361"}, + {"240e:980:2600::/40", "4134"}, + {"2607:f110:e370::/37", "21889"}, + {"2a11:73c0::/29", "18779"}, + {"2001:559:8124::/48", "7015"}, + {"2001:559:c0a3::/48", "7725"}, + {"2001:559:c42a::/47", "33657"}, + {"2404:2400:101::/44", "56132"}, + {"2408:8256:319d::/46", "17623"}, + {"2605:1900:8440::/33", "12208"}, + {"2620:11b:400a::/47", "47870"}, + {"2a02:26f7:ed05::/46", "20940"}, + {"2001:1248:a548::/47", "11172"}, + {"2404:3d00:412c::/47", "21433"}, + {"2602:fcd3:10::/44", "212934"}, + {"2806:103e:9::/48", "8151"}, + {"2001:578:115::/46", "22773"}, + {"2600:380:f104::/46", "20057"}, + {"2600:880b:6000::/29", "22773"}, + {"2c0f:fe68::/32", "36868"}, + {"2001:559:c9::/46", "33491"}, + {"2001:43f8:11d0::/48", "328381"}, + {"2603:c013:4000::/36", "31898"}, + {"2804:1b1:b6c2::/33", "18881"}, + {"2a02:530:23::/44", "21191"}, + {"2001:df6:be80::/48", "138277"}, + {"240a:a7c0::/32", "144634"}, + {"2604:c880:60::/32", "46455"}, + {"2607:1280:1380::/44", "394972"}, + {"2804:674c::/32", "269619"}, + {"2a03:2460::/32", "59908"}, + {"2001:559:480::/48", "33657"}, + {"2408:8956:b400::/40", "17622"}, + {"240a:a6c3::/32", "144381"}, + {"240e:45c:a800::/40", "131285"}, + {"2600:3500::/35", "396998"}, + {"2c0f:5900::/32", "60171"}, + {"2001:678:76c::/48", "8315"}, + {"2403:c00:900::/45", "17488"}, + {"2600:380:b000::/38", "20057"}, + {"2800:3b0:1001::/48", "6429"}, + {"2001:df2:6200::/48", "135247"}, + {"2400:b300::/47", "38470"}, + {"240a:ab7f::/32", "145593"}, + {"2620:112:f002::/47", "6336"}, + {"2a02:88d:3f::/40", "47794"}, + {"2409:8907:7420::/39", "24547"}, + {"240c:ca0c::/32", "138371"}, + {"240e:44d:1300::/41", "140345"}, + {"2605:1e80:3000::/36", "396930"}, + {"2401:4900:1a70::/40", "45609"}, + {"2600:140f:f801::/38", "20940"}, + {"2001:559:8294::/48", "7922"}, + {"2001:df0:fd80::/48", "139345"}, + {"240a:a7ef::/32", "144681"}, + {"2804:3248::/32", "61582"}, + {"2a02:fd40::/31", "31034"}, + {"2001:200:900::/40", "7660"}, + {"2001:658::/29", "20676"}, + {"2001:4978:10ae::/48", "13331"}, + {"2620:129:b000::/47", "394575"}, + {"2804:1684::/32", "53169"}, + {"2605:46c0:a::/32", "395658"}, + {"2804:4bd0::/32", "262320"}, + {"2001:16a8::/32", "12533"}, + {"2407:c080:5000::/37", "55990"}, + {"2607:f6f0:2000::/48", "54588"}, + {"2806:267:300::/37", "13999"}, + {"2a0b:5480::/29", "50599"}, + {"2406:840:d000::/36", "38136"}, + {"240e:e9:b000::/37", "137697"}, + {"2620:123:2040::/47", "30103"}, + {"2806:310:34::/46", "16960"}, + {"2001:df3:1600::/48", "9555"}, + {"240a:a8fe::/32", "144952"}, + {"2620:11b:e0c1::/48", "202818"}, + {"2a00:1680::/32", "31726"}, + {"2a02:d98::/32", "25146"}, + {"2a04:3780::/29", "48097"}, + {"2001:559:8402::/48", "7015"}, + {"2001:67c:5fc::/48", "8447"}, + {"2001:978:8701::/36", "174"}, + {"2405:25c0:a200::/40", "131969"}, + {"2405:a640::/32", "131668"}, + {"2600:6c20:3f::/41", "20115"}, + {"2603:c0e2:4000::/35", "54253"}, + {"2804:88:2::/35", "28135"}, + {"2804:e94:60::/40", "262468"}, + {"2804:37dc::/32", "266440"}, + {"2a01:d0:306::/44", "29632"}, + {"2a02:88d:802f::/48", "47794"}, + {"2a02:d28::/32", "3257"}, + {"2001:67c:108::/48", "202244"}, + {"2001:67c:2d64::/48", "39923"}, + {"2801:80:1418::/48", "11097"}, + {"2804:4414::/32", "267620"}, + {"2804:8540::/32", "272567"}, + {"2a06:93c0::/29", "680"}, + {"2a10:cc46:12c::/48", "48635"}, + {"2001:250:2420::/46", "24356"}, + {"240a:a327::/32", "143457"}, + {"2620:c8:4000::/48", "36210"}, + {"2a02:888:4048::/47", "48695"}, + {"2a04:a840::/29", "20559"}, + {"2a04:b0c0::/44", "201017"}, + {"2001:559:809a::/48", "33287"}, + {"2600:1005:f100::/44", "6167"}, + {"2803:1520::/32", "266688"}, + {"2804:5c::/32", "28201"}, + {"2804:2160:1ff0::/44", "264551"}, + {"2a01:ba80::/32", "49063"}, + {"2a02:970:1209::/41", "44002"}, + {"2c0f:f988::/32", "37353"}, + {"2400:3dc0::/38", "134371"}, + {"2400:7400:60::/48", "38044"}, + {"2409:8753:1100::/32", "56047"}, + {"2600:370f:728e::/47", "32261"}, + {"2620:115:2000::/46", "12259"}, + {"2804:37f0:b900::/33", "266445"}, + {"2001:df1:2a00::/48", "134553"}, + {"2407:500:100::/48", "58940"}, + {"2408:8956:8e00::/40", "17622"}, + {"240a:a289::/32", "143299"}, + {"240a:a3d3::/32", "143629"}, + {"240a:ae6e::/32", "146344"}, + {"2604:3400:ac01::/48", "209453"}, + {"2804:7598:c010::/44", "265442"}, + {"2a01:3e0:d01::/48", "38191"}, + {"2a02:26f7:c841::/46", "20940"}, + {"2001:250:5009::/48", "23910"}, + {"2406:4a00:17::/48", "56038"}, + {"2804:3288:b1b2::/33", "52827"}, + {"2001:550:5403::/39", "174"}, + {"2409:8002:1000::/40", "38019"}, + {"2a00:b0a0::/46", "203434"}, + {"2a02:4545:e0::/46", "197207"}, + {"2001:67c:23b0::/48", "210223"}, + {"2401:1801:e0::/39", "58683"}, + {"2600:8807:7c6::/36", "22773"}, + {"2a0d:2587:8200::/48", "141011"}, + {"2401:d800:f2f0::/39", "7552"}, + {"2403:ac40::/32", "131149"}, + {"2a02:f181:3000::/48", "47420"}, + {"2a0d:da06::/32", "211675"}, + {"2001:678:868::/48", "8220"}, + {"2409:8915:7a00::/39", "56044"}, + {"240a:a98c::/32", "145094"}, + {"2600:8807:4fe0::/35", "22773"}, + {"2804:4210::/35", "267475"}, + {"2804:83cc::/32", "272221"}, + {"2a0c:9a40:8086::/48", "3280"}, + {"2402:6f40:2::/47", "45079"}, + {"2402:8c00:9::/48", "17753"}, + {"2403:7240::/36", "138171"}, + {"240a:a911::/32", "144971"}, + {"2804:67e0::/32", "269656"}, + {"2a04:d940::/29", "41887"}, + {"2a01:490::/32", "8251"}, + {"2a03:2900::/32", "48823"}, + {"2a0e:b107:1788::/48", "210667"}, + {"2001:df7:6700::/48", "138516"}, + {"2409:804c:3017::/44", "9808"}, + {"2604:b40::/32", "395846"}, + {"2804:a40::/32", "263036"}, + {"2804:340c::/32", "265434"}, + {"240a:a616::/32", "144208"}, + {"2804:7a94:1300::/34", "271380"}, + {"2001:67c:444::/48", "6730"}, + {"2409:8904:2fa0::/35", "24547"}, + {"2600:370f:1120::/46", "32261"}, + {"2610:30:4001::/32", "30313"}, + {"2a00:fe8::/32", "16178"}, + {"2a0c:ef00::/32", "212881"}, + {"2409:8052:900::/37", "9808"}, + {"2a00:f78::/32", "48451"}, + {"2600:1408:8801::/37", "20940"}, + {"2607:800::/32", "26794"}, + {"2800:bf0:2444::/48", "52257"}, + {"2804:5d34::/35", "52690"}, + {"2804:72e0::/32", "270881"}, + {"2a01:8200:ff00::/48", "4455"}, + {"2a03:1984::/32", "48260"}, + {"2a0c:4d40::/29", "57353"}, + {"2604:ca00:f007::/44", "36492"}, + {"2620:0:2a01::/48", "31997"}, + {"2620:42:2000::/48", "30542"}, + {"2a0a:4587:2010::/46", "208294"}, + {"2001:fd0:2301::/37", "10029"}, + {"2400:cb00:a970::/46", "13335"}, + {"2409:8004:801::/48", "9808"}, + {"2800:160:1eef::/43", "14259"}, + {"2a09:b684::/30", "208861"}, + {"2a0a:acc2:6::/48", "6233"}, + {"2400:d280::/44", "45648"}, + {"2405:1c0:6a21::/46", "55303"}, + {"2a02:e0c0:1c00::/34", "9100"}, + {"2a0d:dd80::/29", "200308"}, + {"2a0f:9207:25::/32", "45009"}, + {"2401:4900:2500::/45", "45609"}, + {"2620:6b:4000::/48", "62675"}, + {"2a01:c50f:c480::/41", "12479"}, + {"2a0e:8f02:f021::/48", "211498"}, + {"2400:cb00:435::/48", "13335"}, + {"2606:ae00:b3c0::/36", "7287"}, + {"2801:10:7000::/48", "19429"}, + {"2804:2d24::/40", "263032"}, + {"2001:610::/39", "1103"}, + {"2001:4878:c215::/46", "12222"}, + {"2405:9800:b810::/48", "133481"}, + {"2604:9b80::/32", "30144"}, + {"2804:1bc:f047::/36", "10310"}, + {"2a0d:a2c0::/29", "60721"}, + {"2404:bf40:e801::/39", "139084"}, + {"2600:370f:2025::/41", "32261"}, + {"2a03:db80:3824::/48", "199578"}, + {"2a0d:fec0:21::/48", "47481"}, + {"2a10:afc0:e010::/44", "212794"}, + {"2001:480:10::/48", "22"}, + {"2001:559:82ba::/47", "7015"}, + {"2001:559:831a::/48", "33659"}, + {"2606:2800:420a::/47", "15133"}, + {"2606:6800:1c00::/40", "394902"}, + {"2a00:d300::/32", "31742"}, + {"2a03:9c80::/34", "15525"}, + {"2a0a:5a00::/29", "28954"}, + {"2a0c:b641:100::/47", "213154"}, + {"2001:559:3aa::/48", "7015"}, + {"2001:da8:304a::/45", "24358"}, + {"2a02:f840::/47", "199483"}, + {"2402:800:388d::/43", "7552"}, + {"240a:af0b::/32", "146501"}, + {"2603:f2f0::/23", "397165"}, + {"2a0c:b340::/47", "206262"}, + {"2001:67c:478::/48", "212774"}, + {"2001:67c:2f2c::/48", "44894"}, + {"2001:1900:2262::/48", "21775"}, + {"2402:3a80:1100::/38", "38266"}, + {"2a02:26f7:c38d::/46", "20940"}, + {"2a04:2b00:200::/48", "42044"}, + {"2a0d:e4c2::/29", "208861"}, + {"2001:559:93::/48", "33651"}, + {"2001:678:ad4::/48", "205597"}, + {"240e:c:7800::/31", "4134"}, + {"2a01:500::/32", "39537"}, + {"2001:df0:d4::/48", "55870"}, + {"2001:1a11:71::/48", "8781"}, + {"2600:6000:fa69::/48", "11351"}, + {"2600:6c10:c0d::/43", "20115"}, + {"2607:8100::/32", "11404"}, + {"2804:6ae8::/32", "270365"}, + {"2a03:2880:f00b::/43", "32934"}, + {"240a:a337::/32", "143473"}, + {"2620:1ec:25::/46", "8075"}, + {"2803:5440:aca::/48", "264738"}, + {"2804:24b0:ffff::/48", "264238"}, + {"2806:230:200a::/48", "265594"}, + {"2a00:95a0::/32", "29425"}, + {"2a06:f904::/36", "56630"}, + {"2001:4c8:1094::/47", "15290"}, + {"2402:7e00::/32", "45280"}, + {"2404:bf40:8082::/48", "7545"}, + {"240a:aa19::/32", "145235"}, + {"2606:ef80:6::/48", "3595"}, + {"2804:4e18::/32", "268239"}, + {"2804:7330::/32", "270901"}, + {"2c0f:f3f8::/32", "327972"}, + {"2001:18e8:800::/44", "17"}, + {"2409:803c:2800::/38", "24444"}, + {"2604:d600:1549::/46", "32098"}, + {"2a0e:cc80::/29", "208766"}, + {"2c0f:ef48::/32", "328339"}, + {"2401:7800::/32", "7387"}, + {"2600:6c3a:810::/44", "20115"}, + {"2804:79a8::/32", "271319"}, + {"2a01:871::/29", "3209"}, + {"2a02:26f7:b701::/46", "20940"}, + {"2a02:26f7:b781::/46", "20940"}, + {"2a02:26f7:d2c1::/45", "20940"}, + {"2a07:db01::/47", "204527"}, + {"2001:559:807c::/48", "7015"}, + {"2001:678:c34::/48", "207437"}, + {"2607:fc58:1:52::/64", "13536"}, + {"2804:5c28::/48", "268892"}, + {"2001:b400:d208::/45", "17421"}, + {"2a02:26f7:e409::/42", "20940"}, + {"2a06:7a80::/48", "208712"}, + {"2001:310:3004::/32", "4694"}, + {"240e:3bf:7600::/39", "140313"}, + {"2804:c84:2::/42", "52720"}, + {"2a02:26f7:ceca::/42", "20940"}, + {"2a0f:1900:1000::/36", "209446"}, + {"240a:a636::/32", "144240"}, + {"2606:6800:2800::/40", "394898"}, + {"2a02:26f7:29::/48", "20940"}, + {"2a0f:9400:b00b::/48", "213163"}, + {"2001:559:83be::/47", "7922"}, + {"2402:a800::/32", "9601"}, + {"2403:ad80:3c00::/38", "134835"}, + {"2602:fd72::/36", "2740"}, + {"2602:ff25:e00::/39", "46657"}, + {"2620:104:2001::/46", "40185"}, + {"2804:3ed4::/47", "266623"}, + {"2a02:26f7:de80::/48", "36183"}, + {"2a0e:b107:700::/48", "140098"}, + {"2001:4de0:101::/48", "34343"}, + {"2402:800:31ee::/43", "7552"}, + {"240a:a6e6::/32", "144416"}, + {"240e:a7:7fe1::/46", "140519"}, + {"2800:484:6600::/35", "10620"}, + {"2a02:4540:c000::/41", "197207"}, + {"2a11:c0::/32", "47753"}, + {"2610:f0:37f::/40", "22925"}, + {"2a09:0:13::/48", "34549"}, + {"2c0f:e9a0::/32", "174"}, + {"2001:559:c4bf::/48", "33657"}, + {"2401:4900:4900::/43", "45609"}, + {"2406:daa0:f080::/44", "16509"}, + {"240e:13:809::/48", "140861"}, + {"2607:fe60::/32", "11280"}, + {"2804:fc:8e00::/33", "28142"}, + {"2a00:1d78::/32", "44050"}, + {"2a01:7400::/32", "47544"}, + {"2a02:26f7:c4c8::/48", "36183"}, + {"2409:8014::/44", "56044"}, + {"2409:8924:b00::/37", "56046"}, + {"240e:967:8c00::/35", "4134"}, + {"2604:d600:925::/46", "32098"}, + {"2a01:a700::/33", "39138"}, + {"2a06:1301:4003::/48", "49718"}, + {"2a0e:97c0:750::/44", "210836"}, + {"2001:fd8:33f0::/44", "4775"}, + {"2600:141c:4001::/36", "20940"}, + {"2a00:7b00:15::/44", "12338"}, + {"2001:559:c237::/48", "20214"}, + {"240a:a6c4::/32", "144382"}, + {"240e:108:87::/48", "4134"}, + {"240e:3bb:2800::/38", "4134"}, + {"2a01:67c0::/32", "16074"}, + {"2a02:db40::/48", "48749"}, + {"2a05:7140::/29", "25455"}, + {"2600:100b::/32", "6167"}, + {"2804:4d3c:3001::/40", "267420"}, + {"2a02:26f7:ec81::/46", "20940"}, + {"2a04:4440::/29", "31655"}, + {"2001:c00::/39", "4618"}, + {"2407:1e00::/35", "45158"}, + {"240e:6:d1b0::/37", "4134"}, + {"2604:bc0:1::/48", "46562"}, + {"2604:d600:15c7::/44", "32098"}, + {"2804:16c::/32", "28309"}, + {"2001:559:c0bb::/45", "33650"}, + {"2402:4e00:8031::/33", "45090"}, + {"2605:a401:8e4e::/40", "33363"}, + {"2620:1ec:900::/48", "8068"}, + {"2804:51c:a121::/33", "262495"}, + {"2804:6284::/32", "53090"}, + {"2610:20:8060::/45", "3477"}, + {"2800:440:1800::/42", "27738"}, + {"2803:4500::/32", "27660"}, + {"2a02:cb43:8008::/48", "20546"}, + {"2a11:3b80::/29", "62212"}, + {"2001:da8:e81c::/47", "138373"}, + {"2403:9b00::/32", "45110"}, + {"2a02:ac80:a01::/39", "25145"}, + {"2600:6c38:1f2::/38", "20115"}, + {"2001:67c:2cd4::/48", "29229"}, + {"2402:ea80:d::/48", "17747"}, + {"240a:a67f::/32", "144313"}, + {"2804:340:5000::/32", "28165"}, + {"2804:32d0::/32", "265099"}, + {"2804:6f9c::/32", "270672"}, + {"2a00:f740:101::/38", "28875"}, + {"2a05:c741::/32", "1299"}, + {"2a11:7cc0::/29", "34907"}, + {"2001:579:243b::/41", "22773"}, + {"240a:abbe::/32", "145656"}, + {"240e:978:1900::/40", "137697"}, + {"2800:440::/47", "27738"}, + {"2404:80::/28", "18182"}, + {"2408:840d:7900::/42", "17621"}, + {"2409:802f:290c::/38", "56041"}, + {"2605:3380:ff00::/46", "12025"}, + {"2804:188:b1a2::/33", "262750"}, + {"2400:ac40:dd0::/32", "136255"}, + {"240a:a912::/32", "144972"}, + {"2603:c0f2:4000::/35", "6142"}, + {"2606:a80::/32", "12212"}, + {"2804:1e38:4005::/35", "264415"}, + {"2804:323c::/32", "262367"}, + {"2a0d:5082:59::/29", "62240"}, + {"2804:cf8:c000::/45", "52580"}, + {"2a09:c3c0::/29", "209102"}, + {"2a0a:1f41::/32", "212144"}, + {"2001:67c:10e8::/48", "199220"}, + {"2001:1248:57fc::/47", "11172"}, + {"2400:cb00:479::/48", "13335"}, + {"2401:a100:c010::/34", "45194"}, + {"240a:a25f::/32", "143257"}, + {"2605:9780:f::/43", "36180"}, + {"2a02:7f80::/30", "51942"}, + {"2a03:a820::/32", "39235"}, + {"2001:559:8109::/48", "33651"}, + {"2001:12a0:5000::/32", "28292"}, + {"2620:130:2000::/47", "18701"}, + {"2001:67c:265c::/48", "24861"}, + {"2602:fe19:399a::/33", "26073"}, + {"2607:6000:900::/40", "12189"}, + {"2806:230:301d::/48", "11888"}, + {"2a00:af00:e000::/35", "15599"}, + {"2a0d:4300:2::/29", "204920"}, + {"2401:d800:9050::/42", "7552"}, + {"2402:1e80:0:3000::/48", "4672"}, + {"2804:3fd8:197::/32", "265919"}, + {"2806:322:900::/37", "28546"}, + {"2a0e:b107:3e0::/48", "212034"}, + {"2001:550:2211::/44", "174"}, + {"2408:8956:78c0::/39", "17816"}, + {"2409:8958:c954::/38", "56040"}, + {"2600:1014:d170::/34", "22394"}, + {"240e:944::/36", "58541"}, + {"2a02:26f7:dd04::/48", "36183"}, + {"2001:559:15f::/48", "33287"}, + {"2001:1248:84d4::/47", "11172"}, + {"2001:18e8:c04::/32", "19782"}, + {"2405:2500:5::/48", "136566"}, + {"2408:84f3:3260::/40", "17623"}, + {"2a06:580::/29", "200590"}, + {"2a09:3c00:1::/48", "213268"}, + {"2a0b:7cc0:1::/48", "41652"}, + {"2001:1248:5900::/43", "11172"}, + {"2401:d800:f890::/41", "7552"}, + {"240a:a2de::/32", "143384"}, + {"240a:a5ed::/32", "144167"}, + {"240a:a876::/32", "144816"}, + {"2804:6524::/32", "269471"}, + {"2a00:1358:d100::/36", "6866"}, + {"2001:250:3401::/48", "138393"}, + {"240a:afed::/32", "146727"}, + {"2804:2f98:c000::/34", "264901"}, + {"2a0d:9500::/29", "48551"}, + {"2001:418:1401:25::/64", "20940"}, + {"2001:16a2:b216::/37", "39386"}, + {"2404:b180::/35", "135310"}, + {"2406:7400:38::/46", "131269"}, + {"2606:1a40:1020::/44", "398962"}, + {"2804:4ec:1300::/37", "28668"}, + {"2a00:86c0:200a::/42", "2906"}, + {"2a05:9cc3::/29", "2116"}, + {"2a07:ec80:210::/47", "44949"}, + {"2404:f4c0:8864::/48", "210384"}, + {"2409:8070:3100::/30", "9808"}, + {"240e:979:1f00::/34", "4134"}, + {"240e:a51:5c00::/34", "134419"}, + {"2a0b:2700::/29", "206894"}, + {"240a:a022::/32", "142684"}, + {"240e:983:1000::/48", "136195"}, + {"2607:1b00:1::/46", "54456"}, + {"2a00:1582:3::/29", "39010"}, + {"2a01:c500::/29", "12479"}, + {"2404:0:8240::/36", "131591"}, + {"240a:adf2::/32", "146220"}, + {"2604:6600:fd01::/40", "40676"}, + {"2604:7e00::/42", "17378"}, + {"2806:230:203e::/48", "265594"}, + {"2a03:efc0:500::/40", "197640"}, + {"240a:a250::/32", "143242"}, + {"240a:ace4::/32", "145950"}, + {"2606:7c0::/32", "54804"}, + {"2607:fdc8:1400::/48", "30036"}, + {"2804:64d8::/32", "269453"}, + {"2a04:4e40:4a00::/48", "54113"}, + {"2a10:7680::/32", "209056"}, + {"2408:805c:4009::/36", "17622"}, + {"2607:f018:fffe::/48", "177"}, + {"2a04:5340:4::/48", "200081"}, + {"2001:559:80a7::/48", "7015"}, + {"2404:3d00:40e2::/45", "3573"}, + {"2409:896a:8a00::/39", "9808"}, + {"2600:6c3a:808::/45", "20115"}, + {"2603:c0f8:2110::/38", "20054"}, + {"2800:bf0:37c5::/42", "27947"}, + {"2001:559:f0::/47", "33490"}, + {"2001:43f8:b61::/48", "328010"}, + {"2001:48d0::/32", "195"}, + {"2400:a440::/48", "18019"}, + {"2600:1480:6100::/37", "20940"}, + {"2402:ee40:100::/44", "134033"}, + {"2408:80ea:7580::/43", "17623"}, + {"2409:8c1e:75c0::/32", "9808"}, + {"240a:aebb::/32", "146421"}, + {"2604:d600:155d::/42", "32098"}, + {"2801:141:1::/46", "271958"}, + {"2804:738c:c002::/44", "270922"}, + {"2a01:b740:a16::/47", "714"}, + {"2a01:c50e:7100::/32", "12479"}, + {"2001:67c:374::/48", "51861"}, + {"2600:1480:b800::/48", "21342"}, + {"2607:9500::/32", "22423"}, + {"2620:11a:a020::/46", "43515"}, + {"2c0f:f948:a::/48", "37582"}, + {"2001:480:630::/48", "84"}, + {"2001:559:334::/48", "7015"}, + {"2001:559:c42e::/48", "33651"}, + {"2408:8957:d4c0::/38", "17816"}, + {"2a0d:71c0::/29", "49191"}, + {"2001:12a0:5::/33", "28292"}, + {"2401:d800:f590::/42", "7552"}, + {"2402:800:97ee::/43", "7552"}, + {"2402:28c0:fffa::/45", "136620"}, + {"2620:11d:9003::/48", "14805"}, + {"2806:2f0:9c03::/41", "17072"}, + {"2a02:26f0:c401::/40", "20940"}, + {"2a02:2e02:c10::/42", "12479"}, + {"2a03:1000::/32", "25575"}, + {"2a04:c9c0::/29", "202113"}, + {"2402:9d80:a41::/43", "131429"}, + {"2405:9200:1100::/41", "131596"}, + {"2620:116:3000::/44", "33024"}, + {"2804:5d60::/32", "268968"}, + {"2404:c880::/36", "135220"}, + {"2406:840:f000::/44", "142582"}, + {"2800:bf0:2409::/43", "27947"}, + {"2803:ad20::/32", "266703"}, + {"2001:67c:614::/48", "50157"}, + {"2001:67c:1530::/48", "61283"}, + {"2403:6c0::/48", "137366"}, + {"240a:a063::/32", "142749"}, + {"2606:b400:8300::/47", "1215"}, + {"2620:f:7::/48", "3630"}, + {"2800:bf0:3ac0::/48", "52257"}, + {"2804:4248:9001::/33", "267490"}, + {"2804:5c60::/32", "268905"}, + {"2a02:26f7:f3cc::/48", "36183"}, + {"2c0f:f8c8::/32", "37531"}, + {"2401:803e:4001::/42", "9919"}, + {"2a02:2950::/32", "15566"}, + {"2001:ce0::/47", "3662"}, + {"2409:8055:3018::/48", "9808"}, + {"240e:96b:6009::/46", "140367"}, + {"2620:0:402::/47", "3389"}, + {"2800:160:1a4a::/43", "14259"}, + {"2804:7338::/32", "262842"}, + {"2a02:d70::/32", "41176"}, + {"2a02:26f7:e2c0::/48", "36183"}, + {"2400:cb00:439::/48", "13335"}, + {"2408:8256:2d7b::/48", "17816"}, + {"2800:5f0:103a::/34", "22724"}, + {"2a00:1728:2::/47", "34224"}, + {"2a04:e100::/31", "31034"}, + {"2604:d600:c46::/43", "32098"}, + {"2605:e000::/37", "20001"}, + {"2801:10::/45", "28068"}, + {"2a00:b400::/31", "12857"}, + {"2a04:cf40::/29", "12843"}, + {"2001:fd8:2178::/40", "132199"}, + {"2804:282c::/32", "263945"}, + {"2a0b:e540::/29", "205311"}, + {"2804:14c:9b84::/44", "28573"}, + {"2402:6640:fcf::/32", "134995"}, + {"2402:8a00:4080::/32", "24477"}, + {"2406:ef40:8::/48", "133811"}, + {"2600:6c38:b01::/45", "20115"}, + {"2604:d600:1f::/42", "32098"}, + {"2620:1ec::/46", "8075"}, + {"2804:641c::/32", "269407"}, + {"2804:7cbc::/32", "271515"}, + {"2a00:79e1:f000::/38", "36384"}, + {"2620:10d:c090::/44", "54115"}, + {"2a02:26f0:601::/40", "20940"}, + {"2a02:26f0:c801::/39", "20940"}, + {"240a:a639::/32", "144243"}, + {"2606:2800:4a08::/46", "15133"}, + {"2801:80:d10::/48", "264396"}, + {"2a01:7920::/29", "47292"}, + {"2a01:8480::/34", "15704"}, + {"2a03:c580::/32", "39104"}, + {"2405:1c0:6811::/45", "55303"}, + {"2408:842e::/32", "4837"}, + {"2001:b30:4211::/46", "2614"}, + {"2600:1408:e001::/37", "20940"}, + {"2804:7fb4::/33", "271704"}, + {"2a0e:f200:154::/48", "30633"}, + {"2001:67c:5dc::/48", "3303"}, + {"2402:3a80:1728::/48", "38266"}, + {"240a:a061::/32", "142747"}, + {"2600:1fa0:6080::/44", "16509"}, + {"2602:808:4001::/46", "16509"}, + {"2620:11d:9000::/48", "14805"}, + {"2801:1e2::/44", "27951"}, + {"2a00:13e0::/32", "44764"}, + {"2a04:4e40:ca10::/44", "54113"}, + {"2001:978:4200:100::/46", "174"}, + {"2409:803c:3000::/40", "24444"}, + {"2602:fffd::/36", "55022"}, + {"2804:257c::/32", "52716"}, + {"2a06:2640::/29", "200576"}, + {"2001:460:104::/32", "3561"}, + {"2001:1248:88ff::/39", "11172"}, + {"240a:ac3a::/32", "145780"}, + {"2604:2540::/32", "393299"}, + {"2620:11f:9006::/48", "14746"}, + {"2a02:26f7:b948::/48", "36183"}, + {"2a02:26f7:f409::/46", "20940"}, + {"2a02:6900:881c::/48", "43894"}, + {"2001:559:5fe::/48", "33287"}, + {"2001:4878:c321::/45", "12222"}, + {"2806:20d:7301::/37", "32098"}, + {"2a09:9840::/48", "34775"}, + {"2c0f:fbf0:2::/43", "32653"}, + {"2400:50c0::/32", "136039"}, + {"2406:2000:e8::/46", "10310"}, + {"2408:840c:c500::/40", "17621"}, + {"240e:3b0:d000::/36", "134772"}, + {"2804:2904:a01::/43", "262588"}, + {"2a02:26f7:e840::/48", "36183"}, + {"2a06:2f40::/29", "57878"}, + {"2a0d:2581:3::/48", "209261"}, + {"2001:678:328::/48", "206567"}, + {"2400:4ec0:8c0e::/43", "64300"}, + {"2a02:cb80:2940::/48", "43766"}, + {"2a07:8c80::/29", "202789"}, + {"2001:df5:d880::/48", "141680"}, + {"2620:11a:c016::/48", "54113"}, + {"2001:3b0::/32", "17529"}, + {"2001:4878:356::/48", "12222"}, + {"2a0e:4847::/48", "48749"}, + {"2404:4a00:8000::/64", "55423"}, + {"2a00:cee0::/36", "60268"}, + {"2a00:f720:2::/32", "24824"}, + {"2404:bf40:89c3::/42", "139084"}, + {"2405:1c0:6a41::/46", "55303"}, + {"2405:f080:400::/38", "136907"}, + {"2607:1280:1280::/43", "394972"}, + {"2804:82f0::/32", "272166"}, + {"2a02:26f7:c744::/47", "36183"}, + {"240a:a0ac::/32", "142822"}, + {"240e:964:cb00::/40", "133776"}, + {"2607:700:900::/35", "22343"}, + {"2804:3db0::/32", "266547"}, + {"2806:2f0:80a0::/41", "17072"}, + {"2001:559:84fa::/48", "7016"}, + {"2409:8c44:800::/48", "9808"}, + {"240e:473:ffff::/48", "140485"}, + {"2602:feda:b8e::/48", "211935"}, + {"2a05:bd04::/30", "42221"}, + {"2406:b400:b0::/47", "55577"}, + {"2804:28d8::/32", "263984"}, + {"2804:5f9c::/32", "269112"}, + {"2a0f:9400:7806::/44", "147028"}, + {"2402:a00:145::/32", "45916"}, + {"2404:e400:10::/44", "136402"}, + {"240a:ad1e::/32", "146008"}, + {"2a0c:c900::/29", "30931"}, + {"2001:559:818c::/48", "22909"}, + {"2604:3d00:4c00::/32", "6327"}, + {"2605:8680:12::/47", "25780"}, + {"2804:4bb0::/32", "267324"}, + {"240a:a3df::/32", "143641"}, + {"2804:14d:8c3::/42", "28573"}, + {"2804:2e08::/32", "265319"}, + {"2804:5464::/32", "268647"}, + {"2a03:6947:600::/40", "31027"}, + {"2a03:9e20::/32", "203672"}, + {"2a10:bbc0::/32", "25234"}, + {"2603:90f5:e00::/39", "20115"}, + {"2607:fdf0:5e27::/44", "8008"}, + {"2a02:1c8:30::/44", "57128"}, + {"2a07:e640::/29", "2613"}, + {"2401:4800:2::/48", "38457"}, + {"2409:8774:1000::/32", "9808"}, + {"240a:a190::/32", "143050"}, + {"240e:44d:c80::/41", "4134"}, + {"2a00:fb20:8000::/33", "199319"}, + {"2a04:31c0::/29", "60820"}, + {"2a0d:8d06::/48", "48079"}, + {"2401:d800:9170::/40", "7552"}, + {"2804:ab8::/32", "52911"}, + {"2a01:c50f:100::/38", "12479"}, + {"2a03:1240::/48", "34187"}, + {"2a0a:ec02:b01::/48", "42692"}, + {"2603:c002:9b10::/37", "31898"}, + {"2604:ca00:f00e::/47", "36492"}, + {"2607:f110:17::/44", "21889"}, + {"2804:2604::/32", "264318"}, + {"2a0a:4900::/29", "49425"}, + {"2001:678:598::/48", "31010"}, + {"2001:67c:2020::/48", "48598"}, + {"2001:1a10:1000::/44", "42298"}, + {"240a:a442::/32", "143740"}, + {"240c:0:1::/29", "45275"}, + {"2602:809:8000::/44", "397919"}, + {"2603:f0f0::/23", "397165"}, + {"2401:1d40:2f01::/35", "59019"}, + {"2401:d100:d::/32", "18705"}, + {"2600:6c38:f63::/45", "20115"}, + {"2620:12e:5000::/40", "47101"}, + {"2804:eec:11c4::/48", "25933"}, + {"2804:7ef0::/32", "271656"}, + {"2806:230:203a::/48", "265594"}, + {"240a:a737::/32", "144497"}, + {"240a:ae94::/32", "146382"}, + {"2602:ffc6:100::/37", "21777"}, + {"2607:fc48:1800::/48", "40009"}, + {"2a00:4d80::/32", "25394"}, + {"2a01:5241:200::/29", "58243"}, + {"2001:559:c0c1::/48", "33652"}, + {"2001:fd8:f340::/42", "132199"}, + {"2620:126:7001::/48", "53800"}, + {"2800:160:14f1::/46", "14259"}, + {"240a:ac1e::/32", "145752"}, + {"2a01:8840:92::/45", "12041"}, + {"2a0d:60c3::/32", "59504"}, + {"2400:bb40:8888::/48", "136787"}, + {"2a05:8800::/29", "57513"}, + {"2409:8061:3900::/30", "9808"}, + {"2001:44b8:405f::/48", "4739"}, + {"240e:6b2::/35", "134772"}, + {"2607:f380:a60::/45", "2152"}, + {"2804:318c:200::/34", "265023"}, + {"2806:230:200e::/48", "265594"}, + {"2001:978:1b06::/37", "174"}, + {"2600:380:f1e4::/43", "20057"}, + {"2604:880:72::/45", "29802"}, + {"2a02:2528:2614::/29", "25091"}, + {"2001:678:1c4::/48", "48971"}, + {"2400:bf40::/32", "135003"}, + {"2401:d800:7ab0::/41", "7552"}, + {"2a01:4b0::/47", "42310"}, + {"2a02:7ae0::/32", "201659"}, + {"2a03:cbc0::/29", "61200"}, + {"2a0a:9800::/29", "199163"}, + {"2a11:b100:b100::/48", "57167"}, + {"2804:14bc::/32", "263347"}, + {"2a00:1288:85::/46", "10310"}, + {"2a02:26f7:67::/48", "20940"}, + {"2a10:8802:1000::/29", "31743"}, + {"2001:418:1456:b23::/42", "2914"}, + {"2001:1248:9619::/45", "11172"}, + {"240a:a98b::/32", "145093"}, + {"2600:1407:8801::/37", "20940"}, + {"2600:1fa0:8140::/44", "16509"}, + {"2620:171:3::/48", "715"}, + {"2a02:26f7:64::/48", "36183"}, + {"2001:559:c4b2::/47", "7015"}, + {"2604:ca00:474::/40", "36492"}, + {"2a01:c50f:d500::/36", "12479"}, + {"2a02:26f7:c150::/48", "36183"}, + {"2a0e:240::/29", "209993"}, + {"2405:201:3400::/33", "55836"}, + {"2406:daa0:4040::/44", "16509"}, + {"2408:8456:e410::/42", "134543"}, + {"2804:46c::/32", "52978"}, + {"2a01:5b0:8::/48", "48519"}, + {"2a07:59c6:e000::/47", "203125"}, + {"2602:801:2::/48", "397781"}, + {"2a09:3c0::/29", "211170"}, + {"2c0f:ee78:8008::/33", "61317"}, + {"2001:559:280::/48", "21508"}, + {"2404:bf40:8585::/42", "139084"}, + {"2607:ffb0:600f::/35", "6327"}, + {"2a10:8802::/36", "15404"}, + {"2001:df2:ac00::/48", "134073"}, + {"2409:8054:302a::/43", "56040"}, + {"240a:ad83::/32", "146109"}, + {"240a:af4f::/32", "146569"}, + {"2602:ff06:677::/48", "25720"}, + {"2a02:26f7:dec1::/46", "20940"}, + {"2a02:ee80:404c::/43", "3573"}, + {"2401:4900:5870::/44", "45609"}, + {"2404:2400::/39", "56132"}, + {"2406:c500:ff4::/48", "58534"}, + {"240e:438:3040::/38", "4134"}, + {"2806:2f0:5103::/42", "17072"}, + {"2a03:d000:9008::/47", "20632"}, + {"2c0f:f718::/32", "37678"}, + {"240e:60c:b800::/33", "4134"}, + {"2600:8807:3b20::/33", "22773"}, + {"2605:a404:1bd::/41", "33363"}, + {"2a00:bec7:f800::/40", "12946"}, + {"2a02:7e0::/32", "200163"}, + {"2001:df0:a0c0::/48", "140037"}, + {"2405:4200:205::/32", "24482"}, + {"240e:3be:4c00::/35", "136200"}, + {"2801:80:1bd0::/48", "266512"}, + {"2804:4c0:fc02::/38", "3549"}, + {"2804:5534:b000::/37", "268696"}, + {"2a09:1500:8::/48", "208175"}, + {"2a0e:5000::/29", "49191"}, + {"2a0e:b107:1161::/48", "35761"}, + {"2001:c38:9009::/45", "9931"}, + {"2001:1248:842f::/43", "11172"}, + {"2620:1:2000::/48", "396152"}, + {"2804:18:90::/36", "26599"}, + {"2a0e:8f80::/48", "52051"}, + {"2001:559:2c2::/48", "33490"}, + {"2804:14c:75a8::/46", "28573"}, + {"2a04:e4c0:51::/45", "36692"}, + {"2001:250:a809::/48", "24370"}, + {"2001:559:197::/48", "33651"}, + {"2001:559:596::/47", "33287"}, + {"2404:1a8::/32", "9595"}, + {"2409:8c1f:c340::/34", "9808"}, + {"2804:59d8:b182::/33", "268729"}, + {"2a0d:3a00::/29", "208133"}, + {"2a0d:8d06:1002::/48", "48079"}, + {"2001:648:2303::/42", "5408"}, + {"2001:44c8:4730::/44", "45430"}, + {"2604:f580::/32", "54329"}, + {"2800:160:1da9::/45", "14259"}, + {"2804:1b3:a800::/37", "18881"}, + {"2a00:b340:32::/48", "196745"}, + {"2a02:26f7:e804::/48", "36183"}, + {"2408:8459:8850::/38", "17816"}, + {"2603:90b2::/32", "11351"}, + {"2604:dc40::/48", "393398"}, + {"2620:0:1b00::/48", "714"}, + {"2a01:8880:8001::/33", "8745"}, + {"2001:559:470::/48", "7922"}, + {"240e:438:7040::/38", "4134"}, + {"2a09:3580::/29", "38946"}, + {"2a10:2ec3::/29", "208861"}, + {"2001:1998:a04::/35", "7843"}, + {"240e:3b7:f100::/37", "134775"}, + {"2804:5d50::/32", "268964"}, + {"2a00:13c0::/38", "29076"}, + {"240a:a39e::/32", "143576"}, + {"2605:32c0:a002::/48", "5670"}, + {"2620:60:e000::/48", "19014"}, + {"2001:d68:7::/44", "38759"}, + {"240a:a52c::/32", "143974"}, + {"2600:1406:48::/39", "20940"}, + {"2804:33f0::/32", "265426"}, + {"2001:4220:800d::/46", "24835"}, + {"2001:4da8:c010::/44", "207564"}, + {"2406:140::/35", "398704"}, + {"240a:a262::/32", "143260"}, + {"2a05:5080::/48", "62222"}, + {"2a0c:e640:1010::/47", "141011"}, + {"2605:54c0::/32", "397735"}, + {"2a02:26f7:ea::/48", "36183"}, + {"2a07:7040::/48", "202915"}, + {"240e:3b6:6400::/35", "140312"}, + {"2620:128:6000::/48", "395361"}, + {"2803:6fa0::/48", "267790"}, + {"2c0f:f020::/46", "327907"}, + {"2001:559:2ad::/46", "7015"}, + {"2001:18d8::/32", "14"}, + {"2804:678c::/32", "269635"}, + {"2a02:26f7:c680::/48", "36183"}, + {"2a0a:6040:ac69::/48", "211954"}, + {"2404:4f80:31::/38", "58715"}, + {"2a04:e4c0:12::/48", "36692"}, + {"2001:470:31::/48", "6939"}, + {"2402:8100:27e8::/47", "45271"}, + {"2804:145c:8090::/39", "263327"}, + {"2804:1d00::/32", "61688"}, + {"2804:8258::/32", "272514"}, + {"240a:a48a::/32", "143812"}, + {"240a:a97b::/32", "145077"}, + {"2600:1000:ff00::/44", "6167"}, + {"2a07:2904::/32", "15585"}, + {"2401:d800:90e0::/39", "7552"}, + {"2405:58c0:3e00::/40", "133101"}, + {"2605:2e40::/32", "11260"}, + {"2a03:ad40:430::/48", "54995"}, + {"2a09:9bc0:a::/48", "9009"}, + {"2a01:54e0:a000::/38", "62287"}, + {"2a07:7201::/29", "34197"}, + {"2001:250:83d::/41", "138182"}, + {"2001:6f8:1a00::/32", "3257"}, + {"2001:da8:aa::/48", "24371"}, + {"240a:ac28::/32", "145762"}, + {"240e:44d:7c80::/41", "4134"}, + {"2a02:26f0:a401::/39", "20940"}, + {"2001:4298::/40", "30990"}, + {"2605:cf00::/32", "46525"}, + {"2804:7168::/32", "270787"}, + {"2a0d:5fc0::/29", "62412"}, + {"2402:8100:31e0::/45", "45271"}, + {"2403:2e80::/32", "23858"}, + {"240a:aaf1::/32", "145451"}, + {"2600:8807:9182::/38", "22773"}, + {"2602:fc3e:810::/48", "400190"}, + {"2a02:28:8::/45", "8359"}, + {"2001:918:1ab::/48", "8300"}, + {"2a00:17a0::/32", "34867"}, + {"2403:ac80:89::/32", "4785"}, + {"2402:28c0:5::/39", "136620"}, + {"2607:700:500::/36", "22343"}, + {"2402:9800:4001::/48", "131118"}, + {"2405:6740::/32", "139419"}, + {"2602:feda:afd::/48", "138210"}, + {"2a02:888:8050::/48", "48695"}, + {"2a02:26f7:be41::/46", "20940"}, + {"2a02:ac80:c001::/35", "25145"}, + {"2a09:d140::/29", "28753"}, + {"240e:967:d600::/34", "4134"}, + {"2607:f4e0::/38", "4150"}, + {"2a0e:e700::/31", "2027"}, + {"2001:67c:2468::/48", "48894"}, + {"2405:6800::/35", "18207"}, + {"2605:b940::/46", "19047"}, + {"2001:559:c128::/48", "33287"}, + {"2405:f600:30::/45", "45117"}, + {"2600:1017:9110::/38", "6167"}, + {"2803:ba00:e00::/32", "52286"}, + {"2a09:bac0:174::/48", "13335"}, + {"2001:938:400a::/47", "8437"}, + {"2401:7080::/32", "24157"}, + {"2406:30c0::/48", "38732"}, + {"2600:140f:9800::/48", "9498"}, + {"2803:9110:2001::/32", "271992"}, + {"2001:c20:8406::/44", "3758"}, + {"2001:df5:8480::/48", "141475"}, + {"2001:4868:900::/45", "701"}, + {"2401:4a00::/32", "17444"}, + {"240a:ad7e::/32", "146104"}, + {"240e:a7:7fcf::/43", "140513"}, + {"2405:84c0:ff20::/45", "59598"}, + {"2409:8087:400::/40", "24547"}, + {"2600:6c38:c22::/44", "20115"}, + {"2a02:26f7:fc08::/48", "36183"}, + {"2001:fb0:1079::/40", "7470"}, + {"2800:160:1ff0::/47", "14259"}, + {"2804:39c8::/32", "266050"}, + {"2a02:26f7:f5c1::/46", "20940"}, + {"2401:6bff:8000::/40", "9466"}, + {"2604:8b80::/48", "55106"}, + {"2804:1010:3000::/33", "263617"}, + {"2a02:26f7:f245::/46", "20940"}, + {"2a03:ad05::/30", "8208"}, + {"2001:559:c07e::/47", "33650"}, + {"2001:7f9:8::/48", "51354"}, + {"240a:a24d::/32", "143239"}, + {"240a:a414::/32", "143694"}, + {"2600:1419:1c::/38", "20940"}, + {"2607:f360:100:200::/32", "32592"}, + {"2801:1a1::/44", "272021"}, + {"2804:d3c:8110::/33", "52613"}, + {"2804:3c30::/32", "266195"}, + {"2806:2f0:9bc3::/42", "17072"}, + {"2a0a:9204:30::/48", "211375"}, + {"2407:6100::/32", "58952"}, + {"240a:ae2b::/32", "146277"}, + {"240e:438:7c40::/38", "4134"}, + {"2a0c:ec80::/32", "204659"}, + {"2001:559:c17f::/48", "33651"}, + {"2a00:b8e0::/48", "29119"}, + {"2a0f:1040::/29", "60262"}, + {"2a0f:9240:2000::/48", "212270"}, + {"2001:559:81d0::/48", "33651"}, + {"2402:e280:2120::/45", "134674"}, + {"2408:8256:317c::/48", "17816"}, + {"2804:7d24::/32", "271542"}, + {"2a05:d880::/30", "43066"}, + {"2001:388:3031::/41", "7575"}, + {"240e:965:ca00::/39", "133776"}, + {"2803:420:f800::/37", "265831"}, + {"2a00:1d18::/32", "43939"}, + {"2a02:6a80:530f::/32", "3245"}, + {"2a04:ed00::/29", "199468"}, + {"2804:33c::/32", "53137"}, + {"2804:ab0::/32", "52907"}, + {"2a00:8ee2::/40", "48635"}, + {"2001:559:c265::/48", "33662"}, + {"2408:8459:7c10::/42", "17623"}, + {"240a:a501::/32", "143931"}, + {"2607:f038:4005::/44", "21527"}, + {"2804:74c0::/32", "271001"}, + {"2a0c:ab07:2000::/36", "208861"}, + {"2a0c:f540::/29", "39238"}, + {"2001:67c:21e0::/48", "2116"}, + {"2600:1410:7001::/32", "20940"}, + {"2605:3c80:e7a::/40", "2773"}, + {"2a03:7204::/32", "197023"}, + {"2a0d:5600:10::/48", "50347"}, + {"240a:a0e5::/32", "142879"}, + {"2800:bf0:8271::/48", "27947"}, + {"2804:47fc::/32", "267090"}, + {"2a00:d02::/29", "41887"}, + {"2a12:6f40::/29", "210542"}, + {"2404:5680::/32", "136915"}, + {"240a:a5f1::/32", "144171"}, + {"2a10:4800::/29", "399975"}, + {"2a0b:41c0::/29", "30781"}, + {"2a0e:2e40::/29", "52193"}, + {"240e:974:e300::/37", "38283"}, + {"2a0d:f00::/29", "16186"}, + {"2001:559:87d6::/48", "33652"}, + {"2001:da8:300a::/45", "24358"}, + {"2401:fc00::/32", "55803"}, + {"2408:8956:6e00::/40", "17622"}, + {"2620:8f:4000::/48", "3424"}, + {"2804:5530::/32", "268695"}, + {"2a00:1158::/47", "8972"}, + {"2a02:c680::/31", "196983"}, + {"2001:559:c1c6::/48", "7016"}, + {"240e:438:8820::/43", "140647"}, + {"2804:5bfc::/32", "268881"}, + {"2a06:25c0::/32", "20473"}, + {"2001:550:3403::/45", "174"}, + {"2001:559:564::/48", "33491"}, + {"2620:10a:8054::/48", "55195"}, + {"2a01:bc60::/32", "1836"}, + {"2a12:49c7::/32", "211444"}, + {"2405:ba00:8810::/48", "63295"}, + {"2408:8459:8250::/37", "17816"}, + {"240e:44d:2800::/41", "140345"}, + {"240e:5e:4001::/46", "4134"}, + {"2804:380c::/32", "266452"}, + {"2a03:2880:f255::/44", "32934"}, + {"2a0f:103::/32", "1239"}, + {"2402:e200::/32", "17961"}, + {"2610:a1:300c::/48", "12008"}, + {"2804:63d8::/32", "269387"}, + {"2001:253:110::/48", "142076"}, + {"2001:bf7:170::/44", "206813"}, + {"2001:12f0:540::/38", "1916"}, + {"2400:5460::/46", "135177"}, + {"240e:982:e300::/40", "134763"}, + {"2602:107:2010::/48", "20115"}, + {"2804:24c0:f000::/36", "262290"}, + {"2001:678:7c::/48", "51955"}, + {"2803:9800:98c7::/44", "11664"}, + {"2a00:1288:ef6a::/48", "34010"}, + {"2a03:c040::/48", "199484"}, + {"2a04:2b00:212::/48", "42044"}, + {"2001:559:748::/48", "7015"}, + {"2404:a140:14::/47", "138915"}, + {"2404:c900:1::/45", "58682"}, + {"2409:804b:290d::/40", "24445"}, + {"2600:140f:2201::/39", "20940"}, + {"2605:a404:5cd::/38", "33363"}, + {"2804:3bac:5100::/32", "266164"}, + {"2a01:440:50b::/45", "29551"}, + {"2a05:a780::/29", "49353"}, + {"2001:559:82ab::/48", "33657"}, + {"240e:108:1081::/44", "4134"}, + {"2a02:ff0:3df3::/44", "12735"}, + {"2a02:26f7:c889::/46", "20940"}, + {"2803:5ce0:a00::/40", "10753"}, + {"2001:559:8741::/48", "7015"}, + {"2406:840:fefb::/48", "139231"}, + {"240e:44d:300::/42", "140345"}, + {"2607:1380::/32", "6576"}, + {"2804:1ac:5900::/32", "53175"}, + {"2804:38d8::/32", "266505"}, + {"2804:76b0::/32", "271128"}, + {"2a02:26f7:d581::/46", "20940"}, + {"2a04:5bc0:1::/46", "28695"}, + {"2a09:bac0:411::/46", "13335"}, + {"2408:8920::/32", "4837"}, + {"2a02:26f7:c685::/46", "20940"}, + {"2a02:f181:1000::/48", "174"}, + {"2a0c:efc0:4::/36", "206356"}, + {"2600:100d:b1f0::/36", "22394"}, + {"2806:370:7000::/44", "28403"}, + {"2a03:d600::/31", "12727"}, + {"2a04:5201:1::/48", "204154"}, + {"2401:d800:d5f0::/38", "7552"}, + {"2402:5840::/45", "137403"}, + {"2406:b400:1::/48", "18209"}, + {"2408:840c:1100::/40", "17621"}, + {"2408:8459:4010::/42", "17623"}, + {"2804:7580::/32", "271051"}, + {"2806:2f0:3221::/46", "17072"}, + {"2a04:1ac1:1::/46", "211960"}, + {"2a07:4400::/29", "24961"}, + {"2a0e:4380::/29", "208711"}, + {"2405:6e00:8f0::/44", "133612"}, + {"240e:982:e000::/40", "58466"}, + {"2620:cc:c000::/48", "394298"}, + {"2400:9380:8040::/48", "4134"}, + {"2401:d800:ef2::/39", "7552"}, + {"240a:a7d6::/32", "144656"}, + {"2a02:26f7:e644::/48", "36183"}, + {"2a0e:1b80:1003::/48", "54201"}, + {"2407:90c0::/32", "142433"}, + {"2604:3cc0:2010::/47", "396298"}, + {"2605:dd40:5276::/36", "398549"}, + {"2806:200::/32", "7438"}, + {"2a00:7f20::/32", "60791"}, + {"2a01:798::/29", "29695"}, + {"2a02:26f7:be88::/48", "36183"}, + {"2001:ee0:e300::/37", "45899"}, + {"2a0a:86c0:101::/29", "206163"}, + {"2001:559:8726::/48", "33657"}, + {"2001:660::/34", "2200"}, + {"2403:4e00:301::/46", "45528"}, + {"2806:230:6002::/48", "265594"}, + {"2409:8030:1010::/40", "9808"}, + {"240a:a9bc::/32", "145142"}, + {"2607:f281::/32", "46218"}, + {"2804:5cec::/32", "268939"}, + {"2001:250:586b::/48", "23910"}, + {"2001:559:c0e2::/48", "33489"}, + {"2001:4048:106::/47", "33922"}, + {"2402:8100:289e::/37", "55644"}, + {"2600:1406:3801::/38", "20940"}, + {"2607:fb10:5013::/45", "55095"}, + {"2607:fb10:5041::/46", "2906"}, + {"2803:6700:540::/48", "263210"}, + {"2404:5c0:2800::/48", "135106"}, + {"2620:0:50f0::/48", "3428"}, + {"2a02:26f7:ce81::/46", "20940"}, + {"2402:6940:500::/35", "7645"}, + {"240e:978:6100::/36", "4134"}, + {"2620:74:1e::/47", "16838"}, + {"2804:214:86a0::/39", "26615"}, + {"2804:46c8::/32", "267011"}, + {"2a00:e26::/32", "25048"}, + {"240e:967:2800::/37", "133776"}, + {"2600:380:be00::/33", "20057"}, + {"2600:8070::/28", "29992"}, + {"2606:2800:4a44::/46", "15133"}, + {"2800:bf0:82::/48", "27947"}, + {"240a:a0dd::/32", "142871"}, + {"2603:70bd::/32", "11351"}, + {"2620:44:a000::/48", "33302"}, + {"2001:559:8590::/48", "7725"}, + {"2404:6900:2012::/48", "394749"}, + {"240e:983:1001::/39", "4134"}, + {"2001:67c:11f8::/48", "204796"}, + {"2001:da8:6409::/36", "23910"}, + {"2402:800:9663::/43", "7552"}, + {"2600:3501:9000::/33", "396998"}, + {"2620:104:1000::/44", "20074"}, + {"2a03:47c0:1081::/34", "21277"}, + {"2a0d:7780::/29", "59441"}, + {"2001:330::/32", "6619"}, + {"2001:559:4c2::/48", "7015"}, + {"2001:978:201::/62", "174"}, + {"2001:2000:3100::/36", "1299"}, + {"2602:fd20::/36", "46980"}, + {"2620:38:a00::/48", "22695"}, + {"2001:559:95::/48", "7016"}, + {"2400:3f60:3::/48", "149056"}, + {"2402:800:9d47::/43", "7552"}, + {"2600:1417:e000::/48", "8966"}, + {"2804:17dc::/32", "263255"}, + {"2a02:26f7:c584::/48", "36183"}, + {"2a10:cc42:1fc3::/45", "20473"}, + {"2408:80f9:4000::/34", "4837"}, + {"2804:6bd8:2000::/32", "270429"}, + {"2a0c:5bc0::/29", "786"}, + {"2001:4268:2a1::/37", "15964"}, + {"2001:b400:f418::/45", "17421"}, + {"2402:800:5d0f::/43", "7552"}, + {"240a:a857::/32", "144785"}, + {"2a0d:f407:100::/44", "205148"}, + {"2401:d800:20b0::/41", "7552"}, + {"2409:896a:6700::/36", "9808"}, + {"2804:1040:7778::/32", "263626"}, + {"2804:5984:af00::/33", "268707"}, + {"2a06:7e80:4::/48", "12695"}, + {"2001:559:83c9::/48", "33651"}, + {"240e:63:b000::/33", "140315"}, + {"240e:3b4:c000::/37", "140315"}, + {"2804:65a0::/32", "269504"}, + {"2a02:26f7:b585::/46", "20940"}, + {"2a05:d050:60c0::/44", "16509"}, + {"2001:ee0:380::/41", "135905"}, + {"2401:d800:4d0::/42", "7552"}, + {"2806:230:2000::/48", "265594"}, + {"2001:9b0::/29", "8473"}, + {"2400:cb00:a1f0::/45", "13335"}, + {"2401:4900:1c20::/46", "24560"}, + {"2403:5840::/32", "136306"}, + {"2408:8956:2ac0::/39", "17816"}, + {"2408:8957:d100::/38", "17816"}, + {"240a:a484::/32", "143806"}, + {"2602:ffa7::/36", "46378"}, + {"2610:130:2302::/35", "6122"}, + {"2804:5534:e000::/37", "268696"}, + {"2a02:2578:1910::/38", "51375"}, + {"2001:480:560::/48", "22"}, + {"2001:559:c0a8::/48", "33651"}, + {"2401:4900:4c60::/44", "45609"}, + {"2402:800:34e0::/44", "7552"}, + {"2402:800:71e0::/38", "7552"}, + {"2605:a900:4808::/35", "46887"}, + {"2607:5b00::/32", "12260"}, + {"2801:80:1c10::/48", "52756"}, + {"2804:649c::/32", "61598"}, + {"2a0d:9880::/29", "41435"}, + {"2a03:8460:1::/48", "201222"}, + {"2a12:1d00:1492::/32", "210103"}, + {"2402:b400:40d0::/39", "45960"}, + {"240c::/48", "45275"}, + {"2804:c6c::/32", "52704"}, + {"2a02:26f7:f5cd::/42", "20940"}, + {"2001:410:2000::/47", "10965"}, + {"2001:978:2308::/46", "174"}, + {"2409:8924:3b00::/37", "56046"}, + {"2604:bc80:8000::/33", "29066"}, + {"2605:a40a::/32", "33363"}, + {"2a02:26f7:c3c5::/46", "20940"}, + {"2a0d:f700:400::/35", "207044"}, + {"2a0f:90c0::/29", "59597"}, + {"2001:559:81fc::/48", "7016"}, + {"2001:4310:f2::/32", "30983"}, + {"2802:3:10::/32", "18747"}, + {"2001:250:816::/48", "23910"}, + {"2400:1f00::/43", "45769"}, + {"2600:1010:fe10::/40", "22394"}, + {"2600:2000:2000::/42", "33517"}, + {"2806:2f0:7123::/41", "17072"}, + {"2a02:26f7:db04::/48", "36183"}, + {"2408:872b::/38", "4837"}, + {"2604:5400:8000::/37", "11776"}, + {"2605:3380:4180::/46", "12025"}, + {"240e:3b6:3e00::/33", "140308"}, + {"2600:b000::/28", "46595"}, + {"2804:4688::/32", "266995"}, + {"2a06:1c4::/32", "60571"}, + {"2001:250:6800::/47", "24368"}, + {"2001:4998:18::/48", "36088"}, + {"2403:9800:7f18::/46", "4771"}, + {"240e:41:4000::/37", "17897"}, + {"2a02:cb80:4138::/47", "43766"}, + {"2400:9380:85c0::/44", "136167"}, + {"2a00:1f90::/32", "9021"}, + {"2a00:f826:26::/31", "34549"}, + {"2a03:1b80::/44", "18705"}, + {"2604:c380::/32", "25853"}, + {"2804:2454::/32", "264215"}, + {"2a02:26f7:c700::/48", "36183"}, + {"2a0c:b641:90::/48", "210103"}, + {"2001:559:3d3::/45", "33652"}, + {"2001:df5:4880::/48", "141403"}, + {"2401:d800:7ed0::/42", "7552"}, + {"2408:8262::/29", "4837"}, + {"2409:8055:54::/48", "9808"}, + {"2605:9e80::/32", "6099"}, + {"2606:4300:1::/48", "3595"}, + {"2803:f520::/32", "266695"}, + {"2a02:27e8::/32", "51708"}, + {"2405:7b40::/48", "135994"}, + {"2408:8256:3b7c::/46", "17623"}, + {"2600:6c34:24c::/48", "33588"}, + {"2a00:f28:21::/35", "15802"}, + {"2a0d:f40::/32", "39080"}, + {"2401:d800:9662::/40", "7552"}, + {"2408:84f3:e840::/38", "17816"}, + {"2600:6c38:10a::/45", "20115"}, + {"2607:d500:302::/48", "54527"}, + {"2a08:600:ff::/48", "206747"}, + {"2403:7340::/32", "136308"}, + {"2602:fbff::/36", "400261"}, + {"2801:1fc:3a::/48", "27951"}, + {"2a02:26f7:bd0d::/46", "20940"}, + {"2a02:26f7:e809::/46", "20940"}, + {"2001:48c0::/46", "14589"}, + {"2404:e840::/32", "131949"}, + {"2602:fe19:11::/42", "26073"}, + {"2600:b400::/30", "18254"}, + {"2a0f:9400:6230::/47", "48741"}, + {"2001:648:2e80::/48", "8253"}, + {"2804:9ec:800::/32", "263002"}, + {"2405:f200::/32", "55406"}, + {"240a:a116::/32", "142928"}, + {"2804:7174::/32", "270790"}, + {"2a03:5a00:12::/48", "207079"}, + {"2a0b:fbc0::/32", "209985"}, + {"2a0c:2240::/48", "197988"}, + {"2001:559:7f5::/46", "7922"}, + {"2001:559:821c::/48", "7922"}, + {"2800:160:1e13::/42", "14259"}, + {"2a00:4802:350::/42", "13124"}, + {"2a02:fe0::/31", "41164"}, + {"2001:1248:a533::/44", "11172"}, + {"2404:ba00:fe00::/48", "17665"}, + {"240e:270::/28", "4134"}, + {"2804:4f30::/32", "268310"}, + {"2a00:1da0::/33", "29591"}, + {"2600:8807:93ca::/45", "22773"}, + {"2804:1308::/48", "263511"}, + {"2804:4870:1c1::/46", "267121"}, + {"2001:470:5a::/48", "13746"}, + {"2600:1009:f000::/44", "6167"}, + {"2600:6c20:a0c::/47", "20115"}, + {"2605:6c80:e::/47", "397373"}, + {"2001:1248:5b69::/43", "11172"}, + {"2401:8e00:3800::/32", "9260"}, + {"2607:ffd0:200::/37", "13767"}, + {"240a:a25e::/32", "143256"}, + {"2801:a0::/32", "28616"}, + {"2a02:28d8::/36", "15774"}, + {"2001:1388::/46", "6147"}, + {"2620:128:e082::/48", "22317"}, + {"2804:2e48::/32", "265336"}, + {"2c0f:f9f8::/32", "37424"}, + {"2602:fdce::/36", "397617"}, + {"2a06:a001:a0b0::/48", "210260"}, + {"2604:a180:5000::/36", "22933"}, + {"2604:e8c0::/48", "6233"}, + {"2001:468:1202::/48", "20130"}, + {"2001:67c:227c::/48", "3320"}, + {"2403:3800:1230::/40", "4007"}, + {"2409:8702::/32", "38019"}, + {"2800:bf0:300b::/43", "27947"}, + {"2804:7518::/32", "271023"}, + {"2a02:2090::/47", "48287"}, + {"2001:250:c007::/34", "23910"}, + {"2001:559:8404::/48", "20214"}, + {"2001:678:e44::/48", "61232"}, + {"2408:84f3:f640::/44", "17623"}, + {"240a:afa1::/32", "146651"}, + {"240e:12:9800::/33", "4134"}, + {"2600:6c7f:90e2::/48", "20115"}, + {"2607:ff90::/32", "32880"}, + {"2a01:a800::/29", "16086"}, + {"2a01:ce9c::/32", "51964"}, + {"2001:550:f01::/35", "174"}, + {"2804:8450::/32", "272253"}, + {"2a0c:2f07:384::/48", "206924"}, + {"2408:8957:3900::/40", "17816"}, + {"2a07:a080::/29", "51399"}, + {"2001:559:8790::/48", "7922"}, + {"2403:9f40::/32", "138074"}, + {"2606:6c40::/32", "25780"}, + {"2a01:bbc0::/32", "199673"}, + {"2a07:e03:200::/32", "210083"}, + {"2001:559:74e::/47", "7922"}, + {"2403:3600::/32", "9336"}, + {"240a:ac42::/32", "145788"}, + {"2606:a300::/46", "35847"}, + {"240a:aa8e::/32", "145352"}, + {"2607:f030::/32", "6536"}, + {"2a00:f46:10::/36", "21395"}, + {"2a01:8840:f9::/48", "207266"}, + {"2a02:26f7:7e::/48", "36183"}, + {"2408:8456:c000::/42", "17622"}, + {"240a:a832::/32", "144748"}, + {"2a02:26f7:e3c4::/48", "36183"}, + {"2001:678:a38::/48", "209220"}, + {"2a02:26f7:c890::/48", "36183"}, + {"2a0f:3340::/29", "328131"}, + {"2001:c20:4806::/41", "3758"}, + {"2001:ee0:e700::/36", "45899"}, + {"2408:8459:9e30::/41", "17622"}, + {"240a:a1e3::/32", "143133"}, + {"2600:3408:700::/29", "4181"}, + {"2a00:1e6a::/41", "49373"}, + {"2a00:cd00::/32", "39101"}, + {"2402:e5c0::/32", "134916"}, + {"2404:7ac0:660::/44", "4842"}, + {"240a:a13b::/32", "142965"}, + {"240e:3b7::/35", "134773"}, + {"2409:8924:7f00::/32", "56046"}, + {"2409:8c44:3::/37", "24445"}, + {"2a04:5880::/29", "34759"}, + {"2a10:7700:f216::/29", "399975"}, + {"2a11:3b40::/32", "210723"}, + {"2001:559:d1::/48", "33287"}, + {"2001:559:86eb::/48", "7015"}, + {"2001:44b8:40d8::/35", "4739"}, + {"2602:fe90:805::/46", "35913"}, + {"2604:ee00:3::/48", "18865"}, + {"2804:35d8::/32", "266310"}, + {"2a02:26f7:bf81::/46", "20940"}, + {"2001:978:3c0c::/33", "174"}, + {"2001:49f0:d089::/43", "174"}, + {"240a:a155::/32", "142991"}, + {"240a:a210::/32", "143178"}, + {"2620:6e:6000::/48", "11078"}, + {"2a02:2e02:9720::/36", "12479"}, + {"2001:1250:fe00::/48", "22894"}, + {"2605:dd00::/32", "231"}, + {"2804:26b8::/48", "263852"}, + {"2403:9800:b013::/45", "4648"}, + {"2803:cfa0::/32", "27847"}, + {"2404:7e80:1000::/36", "132717"}, + {"2600:140f:f001::/38", "20940"}, + {"2806:2f0:93c3::/42", "17072"}, + {"2a0e:97c3:7b3::/48", "20473"}, + {"2a10:7bc0:0:2::/48", "60905"}, + {"2001:559:72e::/48", "7015"}, + {"2001:559:8121::/48", "7922"}, + {"2603:c001:3410::/42", "31898"}, + {"2800:160:1650::/45", "14259"}, + {"2803:200::/32", "52284"}, + {"2a02:c38::/32", "30764"}, + {"2a0f:5707:aa20::/46", "207622"}, + {"2c0f:f118::/47", "328201"}, + {"2001:dcd:9::/48", "38796"}, + {"2001:df0:216::/48", "56110"}, + {"2406:2400:c0::/48", "45287"}, + {"2406:bd00:de50::/48", "55651"}, + {"2407:c080:4000::/37", "55990"}, + {"2804:1468::/32", "263328"}, + {"2804:2988::/32", "264020"}, + {"2a00:cb8:41::/48", "15695"}, + {"2a02:26f7:e088::/48", "36183"}, + {"2402:3a80:20::/46", "38266"}, + {"2407:4700::/32", "3462"}, + {"2408:840c:3400::/40", "17621"}, + {"2409:802e:2903::/48", "56041"}, + {"2600:1002:9000::/44", "6167"}, + {"2605:e380::/32", "7954"}, + {"2804:7ad0::/32", "271393"}, + {"2a02:348:9d::/42", "35470"}, + {"2a02:700::/32", "35826"}, + {"2600:6c39:63a::/45", "20115"}, + {"2604:6400:4670::/32", "29974"}, + {"2606:1a40:f013::/36", "398962"}, + {"2001:da8:e822::/48", "24368"}, + {"240a:abb6::/32", "145648"}, + {"2600:803:619::/42", "701"}, + {"2600:1003:9010::/40", "22394"}, + {"2607:f248::/32", "12009"}, + {"2804:204:32c::/47", "28186"}, + {"2a02:9d8::/32", "6672"}, + {"2a02:26f7:cdc4::/48", "36183"}, + {"2001:559:83f5::/48", "22909"}, + {"2402:800:fae0::/39", "7552"}, + {"2409:8d14:900::/35", "56044"}, + {"2605:ad80:ffed::/43", "62887"}, + {"2804:8034::/32", "271736"}, + {"2001:559:c2a1::/48", "7922"}, + {"2401:d800:5dd0::/42", "7552"}, + {"2600:1404:7400::/48", "35994"}, + {"2602:fda4::/36", "27228"}, + {"2602:ff1e::/36", "395688"}, + {"2a02:e100::/29", "8426"}, + {"2001:559:544::/48", "33657"}, + {"240a:aa1b::/32", "145237"}, + {"2600:6c38:26::/44", "20115"}, + {"2806:217:302::/37", "28394"}, + {"2a02:26f7:cb44::/48", "36183"}, + {"2a0a:cc40::/29", "44241"}, + {"2001:250:5061::/46", "24361"}, + {"240a:ac73::/32", "145837"}, + {"2604:e740::/32", "32281"}, + {"2a00:4e60::/32", "13306"}, + {"2a06:9a80::/29", "60241"}, + {"2a0f:9400:7004::/47", "211144"}, + {"2001:250:206::/48", "23910"}, + {"2408:8456:a010::/42", "134543"}, + {"2409:8752:500::/38", "56047"}, + {"240a:aabe::/32", "145400"}, + {"2600:6c38:f49::/42", "20115"}, + {"2604:a180::/35", "11139"}, + {"2606:4700:5d::/40", "13335"}, + {"2607:f6d0::/32", "32"}, + {"2800:bf0:8168::/48", "52257"}, + {"240e:44d:280::/41", "4134"}, + {"2600:e008::/40", "22995"}, + {"2804:37f0:7100::/36", "266445"}, + {"2a0d:c7c7::/32", "205610"}, + {"2001:559:863e::/48", "7922"}, + {"2001:559:c0ea::/48", "7015"}, + {"2001:13c7:6008::/48", "52324"}, + {"2409:896a:8c00::/39", "9808"}, + {"2607:5e00::/32", "40191"}, + {"2804:2488:6000::/32", "264228"}, + {"2a02:26f7:c545::/46", "20940"}, + {"2a02:26f7:d4c1::/46", "20940"}, + {"2a04:df80::/29", "201962"}, + {"2001:559:85e3::/48", "22909"}, + {"2001:67c:2568::/48", "16375"}, + {"2406:3ac0::/40", "135391"}, + {"2409:8914:1500::/38", "56044"}, + {"240a:a4fb::/32", "143925"}, + {"2804:b5c::/32", "52768"}, + {"2c0f:f6d8:4012::/47", "3573"}, + {"2404:efc0:235::/46", "10122"}, + {"2406:6dc0::/32", "141155"}, + {"2409:8f1a::/29", "9808"}, + {"2804:6334:8000::/33", "269345"}, + {"2a02:88d:800f::/48", "47794"}, + {"2001:559:c08e::/48", "7016"}, + {"2404:3d00:40fc::/39", "3573"}, + {"2804:538::/32", "53111"}, + {"2a02:b30::/32", "20886"}, + {"240e:67d:e200::/39", "140329"}, + {"2804:4340::/32", "267558"}, + {"2a01:b740:a23::/48", "714"}, + {"2a02:2698:3c00::/38", "50498"}, + {"2a05:d050:8010::/42", "16509"}, + {"2600:1017:a410::/38", "6167"}, + {"2804:4b68::/32", "267304"}, + {"2a00:4180:1::/46", "56665"}, + {"2a0e:b107:ac0::/48", "204307"}, + {"2406:9e00:10::/44", "55352"}, + {"2409:8055:30::/48", "9808"}, + {"2a0b:6240::/29", "197637"}, + {"2001:559:c2c8::/48", "33491"}, + {"2406:e00:1::/48", "134540"}, + {"2a01:b740:a09::/48", "714"}, + {"2a02:ff0:1800::/40", "12735"}, + {"2a02:25e0:f00::/40", "41691"}, + {"2a04:4e40:e200::/48", "54113"}, + {"2a0c:c80::/29", "200000"}, + {"2a10:4340::/29", "59441"}, + {"2001:559:83e3::/48", "33652"}, + {"2a11:f00::/29", "50178"}, + {"2001:559:8054::/47", "7922"}, + {"240a:aedc::/32", "146454"}, + {"2620:103:e001::/46", "13893"}, + {"2804:8338::/32", "272184"}, + {"2a06:1e82::/47", "207480"}, + {"2001:559:e7::/48", "7922"}, + {"2402:9880:100::/37", "58744"}, + {"2606:1780::/32", "40676"}, + {"2804:83bc::/32", "272216"}, + {"2001:559:c4d6::/48", "33659"}, + {"240a:a4f9::/32", "143923"}, + {"240e:3b7:7800::/39", "4134"}, + {"2607:3c00:6404::/47", "26380"}, + {"2620:127:d011::/46", "394941"}, + {"2a01:8840:a::/48", "207266"}, + {"2a01:c50f:bf80::/33", "12479"}, + {"2a0a:b40::/29", "208861"}, + {"2a0a:e5c0:1::/48", "213081"}, + {"2001:559:8133::/48", "7922"}, + {"240a:a175::/32", "143023"}, + {"2610:f0:389::/37", "22925"}, + {"2a03:db80:2c10::/48", "47610"}, + {"2001:dce:8801::/35", "23869"}, + {"2600:1404:ac01::/38", "20940"}, + {"2a02:26f7:f785::/46", "20940"}, + {"2a0c:b641:45b::/48", "210335"}, + {"2c0f:f720::/32", "327767"}, + {"2001:559:8110::/48", "33659"}, + {"2803:5700::/33", "28024"}, + {"2a06:900::/35", "34373"}, + {"2001:678:34::/48", "48283"}, + {"2001:4290::/32", "23889"}, + {"2406:8800:902b::/43", "17465"}, + {"2803:440::/32", "263774"}, + {"2001:1388:2482::/44", "6147"}, + {"240a:aca3::/32", "145885"}, + {"240e:44d:5b00::/41", "140345"}, + {"2a00:8740::/47", "49037"}, + {"2404:bf40:f282::/36", "139084"}, + {"240a:a75b::/32", "144533"}, + {"2803:e600:3::/48", "65500"}, + {"2804:146c::/32", "263329"}, + {"240a:a404::/32", "143678"}, + {"2804:2e1c:e501::/46", "265324"}, + {"2a03:7320::/48", "62222"}, + {"2a0b:f4c2::/40", "208294"}, + {"2001:559:5a0::/48", "33491"}, + {"2405:7f00:3205::/41", "133414"}, + {"2604:b180:200::/44", "15198"}, + {"2620:43:a000::/48", "395030"}, + {"2806:20d:520e::/43", "32098"}, + {"2a00:ccc3::/32", "60461"}, + {"2a02:26f7:d3c0::/48", "36183"}, + {"2a02:6a00::/32", "25276"}, + {"2001:678:720::/48", "25443"}, + {"2001:c38:500a::/48", "20940"}, + {"240a:a02a::/32", "142692"}, + {"240a:ac74::/32", "145838"}, + {"2620:a8:6000::/48", "54307"}, + {"2804:18:4830::/41", "26599"}, + {"2001:559:c4ec::/47", "7922"}, + {"2406:1000::/32", "4711"}, + {"2600:370f:7288::/45", "32261"}, + {"2602:fc97:10::/44", "399544"}, + {"2a07:e8c0::/32", "212926"}, + {"2400:1c00:b::/45", "45143"}, + {"2406:da14::/36", "16509"}, + {"2600:1000:a000::/43", "6167"}, + {"2a00:1d58:f821::/48", "47524"}, + {"2a02:5f40::/32", "199244"}, + {"2a0b:4340:22::/48", "205651"}, + {"2607:e680::/32", "40355"}, + {"2407:1580:1100::/36", "33438"}, + {"2803:6700:226::/48", "263210"}, + {"2804:4c0:fffd::/46", "3549"}, + {"2a0c:9a40:801b::/45", "207965"}, + {"2406:c300::/32", "137253"}, + {"2804:1b94::/37", "52974"}, + {"2a03:5840:10b::/32", "35661"}, + {"2a0e:b107:1d7::/48", "139328"}, + {"2409:8904:69b0::/35", "24547"}, + {"2600:1015:f010::/39", "6167"}, + {"2607:f4d0::/36", "17054"}, + {"2610:a1:2000::/44", "19905"}, + {"2a01:8b00::/32", "3303"}, + {"2a0b:33c0:50::/47", "57395"}, + {"2001:559:58::/48", "7922"}, + {"2001:559:4f2::/48", "33287"}, + {"2001:fd8:381::/43", "4775"}, + {"2600:c0e:3011::/32", "13789"}, + {"2620:a3:400a::/48", "22773"}, + {"2a0b:84c0::/29", "205582"}, + {"2a0d:12c0::/48", "205804"}, + {"2409:8959:34::/41", "9808"}, + {"2804:5654::/32", "267991"}, + {"2a02:26f7:c8d4::/48", "36183"}, + {"2a0e:7780::/29", "208846"}, + {"2604:6280::/32", "53755"}, + {"2606:2800:6002::/45", "15133"}, + {"2804:7d54::/32", "271554"}, + {"2806:20d:1620::/44", "32098"}, + {"2a05:ab40::/29", "25180"}, + {"2a0e:b780::/31", "205581"}, + {"2800:bf0:8278::/48", "52257"}, + {"2804:14f8::/34", "263362"}, + {"2a02:26f7:c6c4::/47", "36183"}, + {"2a0b:2740::/48", "205755"}, + {"2401:d800:df60::/40", "7552"}, + {"2402:7840::/32", "206264"}, + {"240e:44d:6180::/41", "4134"}, + {"2602:feda:180::/48", "35251"}, + {"2604:4000::/48", "15348"}, + {"2605:a401:82d2::/44", "33363"}, + {"2804:1408:9100::/34", "28635"}, + {"2804:7888::/32", "271249"}, + {"2a02:2e02:2e40::/42", "12479"}, + {"2a02:e980:15c::/48", "19551"}, + {"2a05:7640:20d0::/44", "174"}, + {"2001:559:82df::/48", "33491"}, + {"240e:3b3:ec00::/35", "140314"}, + {"2405:7f00:3251::/42", "133414"}, + {"2a03:5a00:2e::/48", "51011"}, + {"2a04:4e40:f610::/44", "54113"}, + {"2a0e:b107:1180::/48", "211509"}, + {"2001:250:583a::/48", "23910"}, + {"2001:13c7:6f00::/44", "27814"}, + {"2408:8957:1f40::/40", "17816"}, + {"2a00:4800:220::/44", "13124"}, + {"2001:678:198::/48", "61180"}, + {"2001:df4:3200::/48", "132476"}, + {"2001:df5:b00::/48", "136334"}, + {"2409:8087:6a63::/44", "9808"}, + {"240e:bf:b8dc::/46", "140238"}, + {"240e:438:9020::/43", "140647"}, + {"2801:80:3950::/48", "270681"}, + {"2804:55e8::/32", "267964"}, + {"2a02:26f7:e781::/46", "20940"}, + {"2a11:8600::/29", "51009"}, + {"240e:3b1:c800::/37", "4134"}, + {"2600:6000:f570::/48", "11351"}, + {"2800:680:12::/32", "3816"}, + {"2803:15c0::/33", "269822"}, + {"2001:559:828b::/48", "33657"}, + {"2001:559:862e::/48", "33659"}, + {"2001:67c:1b10::/48", "41681"}, + {"2405:1c0:6641::/46", "55303"}, + {"2604:d600:91b::/45", "32098"}, + {"2607:fa48:110::/40", "5769"}, + {"2a02:26e0::/32", "35401"}, + {"2a04:5b80:200::/48", "202265"}, + {"2001:579:b884::/41", "22773"}, + {"2001:df0:5fc0::/48", "149479"}, + {"2001:4878:b141::/48", "12222"}, + {"240a:ab99::/32", "145619"}, + {"2620:133:c000::/44", "22992"}, + {"2801:80:250::/48", "262512"}, + {"2804:42bc:320::/32", "267522"}, + {"2a0e:bbc0:8002::/45", "22604"}, + {"2405:8a00:a032::/41", "55824"}, + {"2406:840:f440::/47", "137835"}, + {"2406:1400:8386::/47", "24342"}, + {"2409:8003:2b00::/40", "38019"}, + {"240e:100:70::/31", "4134"}, + {"2606:2e80::/32", "63125"}, + {"2800:160:1b68::/47", "14259"}, + {"2a01:5040:41::/35", "43996"}, + {"2a02:ff0:1600::/40", "12735"}, + {"2a02:26f0:2001::/39", "20940"}, + {"2001:559:86a7::/48", "33667"}, + {"240a:a635::/32", "144239"}, + {"2606:5240::/32", "6649"}, + {"2607:ff70::/32", "62"}, + {"2610:a1:1075::/46", "397228"}, + {"2a06:6540:4101::/48", "8220"}, + {"2408:8446::/28", "4837"}, + {"2602:80a:2002::/48", "16509"}, + {"2804:a6c::/33", "262282"}, + {"2806:2f0:5101::/46", "17072"}, + {"2402:e7c0::/41", "59078"}, + {"2600:1010:a000::/43", "6167"}, + {"2604:1280:9::/46", "11696"}, + {"2620:1ec:bdf::/48", "8068"}, + {"2a00:ec80::/32", "15557"}, + {"2a02:c50:db9::/32", "51531"}, + {"2a02:26f7:f2cc::/48", "36183"}, + {"2402:800:312b::/41", "7552"}, + {"2407:7000:f301::/36", "9500"}, + {"240a:a596::/32", "144080"}, + {"2804:aa8:900::/32", "52903"}, + {"2a02:26f7:f948::/48", "36183"}, + {"2001:fd0:401::/45", "10029"}, + {"2401:d800:76a0::/41", "7552"}, + {"2402:4280::/32", "135895"}, + {"240a:a127::/32", "142945"}, + {"2600:1405:9::/36", "20940"}, + {"2602:fe65::/46", "396872"}, + {"2604:f980:4240::/44", "19957"}, + {"2803:6900:1510::/48", "52423"}, + {"2806:230:2015::/48", "11888"}, + {"2a02:26f7:c188::/48", "36183"}, + {"2a02:26f7:ed01::/46", "20940"}, + {"2a04:5202::/29", "50113"}, + {"2804:10dc::/32", "263652"}, + {"2a07:3500:1b30::/48", "1136"}, + {"2a07:9a00::/29", "202605"}, + {"2804:5d3c::/32", "268959"}, + {"2001:67c:2204::/53", "24708"}, + {"2405:cf80::/32", "133602"}, + {"2407:36c0::/32", "135247"}, + {"240a:ae26::/32", "146272"}, + {"2606:6680:1001::/48", "40676"}, + {"2a01:5042:2001::/48", "202196"}, + {"2a02:26f7:d14a::/47", "20940"}, + {"2a03:db80:2c11::/46", "680"}, + {"2a07:7c80::/29", "61251"}, + {"2a11:a380::/29", "8511"}, + {"2409:896a:5a00::/37", "9808"}, + {"240e:3bc:4c00::/35", "136200"}, + {"240e:980:2c00::/48", "4816"}, + {"2602:feb7::/48", "16827"}, + {"2804:7510::/33", "271021"}, + {"2804:8174::/32", "272455"}, + {"2a00:7a40::/32", "51945"}, + {"2001:559:738::/48", "33491"}, + {"2402:800:5d9b::/41", "7552"}, + {"2409:8915:3200::/39", "56044"}, + {"240b:4003:fd95::/46", "45102"}, + {"240d:c010:8d::/48", "139341"}, + {"2803:ad80:aa1::/48", "42388"}, + {"2804:3e8c::/32", "266605"}, + {"240a:aadb::/32", "145429"}, + {"2804:8494::/32", "272269"}, + {"2a03:a140::/32", "200185"}, + {"2a0b:3240::/32", "24971"}, + {"2600:3000:2711::/35", "13649"}, + {"2a02:26f7:f304::/48", "36183"}, + {"2a03:3f40:2::/48", "58061"}, + {"2a0f:97c0::/29", "41817"}, + {"2407:1300::/32", "132850"}, + {"2408:8459:e650::/36", "17816"}, + {"2804:4418::/32", "267602"}, + {"2806:230:100a::/48", "265594"}, + {"2a00:82c0::/32", "198433"}, + {"2001:310:9001::/33", "4694"}, + {"2001:690::/32", "1930"}, + {"2a07:f240::/29", "212144"}, + {"2001:678:f18::/48", "211586"}, + {"2620:112:e000::/44", "26679"}, + {"2001:559:28f::/48", "33659"}, + {"240e:967:f400::/39", "58772"}, + {"2001:559:c4e1::/46", "7922"}, + {"2406:daa0:90c0::/44", "16509"}, + {"240e:679:8c00::/33", "4134"}, + {"2620:10a:801d::/48", "55195"}, + {"2a06:6380::/29", "201453"}, + {"2a0b:2ac0::/29", "41366"}, + {"2a0e:2240:2::/48", "60781"}, + {"2606:3d40:5::/44", "400097"}, + {"2804:3094::/32", "264962"}, + {"2806:2f0:8141::/46", "17072"}, + {"2a03:f80:56::/48", "28099"}, + {"2a05:9100::/29", "41993"}, + {"2001:559:8259::/48", "7016"}, + {"2402:dfc0:50::/44", "4808"}, + {"2a02:26f7:e681::/46", "20940"}, + {"2a11:b200::/29", "204790"}, + {"2400:cb00:569::/48", "13335"}, + {"2405:8180:d00::/38", "135478"}, + {"240a:ac60::/32", "145818"}, + {"2600:1002:f100::/44", "6167"}, + {"2a02:26f7:d1c8::/48", "36183"}, + {"2600:100a:a110::/36", "22394"}, + {"2604:d40::/32", "577"}, + {"2001:559:c08d::/48", "13367"}, + {"2001:fb0:1010::/44", "7470"}, + {"2408:8456:b610::/42", "134543"}, + {"240a:af0a::/32", "146500"}, + {"2c0f:f7d0::/32", "15964"}, + {"2401:f000:8::/48", "23838"}, + {"2402:800:9eee::/43", "7552"}, + {"2409:8914:b400::/39", "56044"}, + {"2800:88::/44", "26210"}, + {"2a00:79e0:505::/32", "45566"}, + {"2a02:ee80:2040::/33", "3573"}, + {"2a06:ab00::/32", "60781"}, + {"2602:fed2:718e::/48", "53356"}, + {"2a02:a300::/27", "6830"}, + {"2a03:4900:fffb::/45", "197695"}, + {"2001:4c98::/32", "35062"}, + {"2406:daa0:c080::/44", "16509"}, + {"2a01:c50e:e200::/37", "12479"}, + {"2a11:e480::/32", "60674"}, + {"2001:3c8:c301::/48", "55545"}, + {"2001:559:86f2::/48", "33651"}, + {"2404:3d00:40c6::/47", "3573"}, + {"2600:1415:a001::/35", "20940"}, + {"2a00:b060::/32", "197690"}, + {"2a02:26f7:c481::/46", "20940"}, + {"2a10:8000::/31", "8551"}, + {"2001:559:8701::/48", "33652"}, + {"2001:67c:2794::/48", "57967"}, + {"240a:a62c::/32", "144230"}, + {"2800:160:14f4::/44", "14259"}, + {"2001:490:4a00::/46", "1248"}, + {"2001:dd8::/48", "24390"}, + {"2804:2cd4:d0::/32", "265246"}, + {"2804:68b0::/32", "269709"}, + {"2600:9000:2269::/48", "16509"}, + {"2604:6940::/40", "11006"}, + {"2605:91c0::/32", "397723"}, + {"2a03:720::/45", "57073"}, + {"2001:4c08:2027::/44", "3356"}, + {"2402:800:58d3::/44", "7552"}, + {"2600:cc01::/32", "32298"}, + {"2602:feda:102::/48", "396303"}, + {"2804:204:237::/44", "28186"}, + {"2a02:2e02:9430::/41", "12479"}, + {"2a0f:ca00:8000::/48", "42209"}, + {"2001:559:27e::/47", "33651"}, + {"2001:67c:300::/48", "39387"}, + {"2001:67c:1254::/48", "4455"}, + {"2001:67c:2974::/48", "39128"}, + {"2405:8d40:a07::/48", "139831"}, + {"240a:a760::/32", "144538"}, + {"2600:400:1810::/34", "15147"}, + {"2620:0:2e61::/48", "29997"}, + {"2620:57:4004::/40", "62831"}, + {"2800:160:1589::/45", "14259"}, + {"2800:3a0:7::/39", "23201"}, + {"2001:559:1c8::/48", "7725"}, + {"2001:559:8061::/48", "33657"}, + {"240a:a628::/32", "144226"}, + {"2804:22a0:d0::/38", "264112"}, + {"2a0f:cc87:9000::/33", "208861"}, + {"2600:100c::/32", "22394"}, + {"2604:8600:3000::/33", "14453"}, + {"2605:2540::/32", "397324"}, + {"2806:230:602d::/48", "11888"}, + {"2001:559:24f::/48", "33651"}, + {"240e:244:200::/40", "136195"}, + {"2607:f8f8:800::/35", "23033"}, + {"2a0b:a040::/29", "204790"}, + {"240e:250:2906::/48", "134419"}, + {"2803:1320::/32", "27843"}, + {"2402:8100:207d::/46", "45271"}, + {"2407:be40::/32", "135717"}, + {"240e:438:a020::/43", "140647"}, + {"240e:60c:fc00::/27", "4134"}, + {"2001:67c:197c::/48", "199852"}, + {"2408:8456:1840::/40", "17816"}, + {"2408:8456:3a50::/39", "17816"}, + {"2804:3214::/32", "265054"}, + {"2a01:8c40::/32", "8301"}, + {"2a04:8c00::/29", "44772"}, + {"2401:d800:5452::/40", "7552"}, + {"2408:8001:3000::/44", "17816"}, + {"2409:807e:2100::/36", "9808"}, + {"240e:62::/34", "140308"}, + {"2606:6c00:8000::/48", "32787"}, + {"2a0b:59c2::/29", "16082"}, + {"2001:7fb:ff0a::/45", "12654"}, + {"2001:c20:48b7::/44", "9255"}, + {"2409:8904:33a0::/37", "24547"}, + {"2a02:2260::/32", "49435"}, + {"2a02:26f0:67::/44", "21342"}, + {"2a02:26f7:cc84::/48", "36183"}, + {"2001:1998:380::/37", "7843"}, + {"2402:c800:f0::/32", "38639"}, + {"2408:8956:5d00::/40", "17816"}, + {"2804:1eec::/32", "264455"}, + {"2402:3300:6000::/48", "56300"}, + {"2600:3503:c000::/29", "396998"}, + {"2401:d800:20e0::/39", "7552"}, + {"2620:d1:4000::/47", "36324"}, + {"2401:13c0:8000::/36", "132652"}, + {"2404:3d00:4141::/48", "21433"}, + {"2600:140f:a401::/38", "20940"}, + {"2602:feda:e30::/47", "147028"}, + {"2605:a401:85cf::/38", "33363"}, + {"2a06:e040:6a00::/35", "198507"}, + {"2a10:df80::/29", "60274"}, + {"2001:1380::/37", "19180"}, + {"2001:4b27:ffff::a/123", "34288"}, + {"2408:8456:ca00::/42", "17622"}, + {"240a:a89e::/32", "144856"}, + {"2600:1005:a000::/43", "6167"}, + {"2600:1015:f110::/30", "6167"}, + {"2604:ed40::/32", "25697"}, + {"2804:7364::/32", "270912"}, + {"2a01:28::/32", "39392"}, + {"2001:559:43d::/48", "7016"}, + {"2402:e380:31d::/48", "141781"}, + {"2603:fc50::/24", "397165"}, + {"2607:fdf0:5e84::/47", "8008"}, + {"2804:1efc:f000::/36", "264458"}, + {"2804:21f0::/32", "263554"}, + {"2001:250:5833::/48", "138371"}, + {"2001:ee0:2f20::/35", "45899"}, + {"2001:4528:9700::/33", "18101"}, + {"2406:7e40::/32", "141190"}, + {"2801:8c::/32", "262857"}, + {"240e:351:6400::/30", "4134"}, + {"2607:f208:305::/48", "26496"}, + {"2620:11f:1001::/48", "397794"}, + {"2804:7278::/32", "270854"}, + {"2806:230:100f::/48", "11888"}, + {"2a0f:c840::/29", "212238"}, + {"2001:1900:224d::/48", "393819"}, + {"2402:800:359b::/41", "7552"}, + {"240e:946::/47", "58540"}, + {"2600:cc01:e000::/40", "62833"}, + {"2a02:4060::/29", "202008"}, + {"240a:ae71::/32", "146347"}, + {"2804:3c44::/32", "266200"}, + {"2800:4d0:248a::/45", "7004"}, + {"2804:67cc::/33", "269651"}, + {"2001:550:906::/48", "54412"}, + {"2001:fd8:b1b0::/44", "4775"}, + {"2405:d800:112::/32", "24247"}, + {"2407:f800:401::/39", "38182"}, + {"2600:6c38:89e::/42", "20115"}, + {"2806:2f0:32e1::/46", "17072"}, + {"2001:1348::/32", "27750"}, + {"2605:ce80:702::/32", "393713"}, + {"2606:3f80::/32", "394102"}, + {"2a02:26f0:1601::/39", "20940"}, + {"2a02:26f7:c908::/48", "36183"}, + {"2804:2658::/37", "264328"}, + {"2a01:b740:1001::/39", "714"}, + {"2a02:ee80:413f::/48", "3573"}, + {"2a0b:b300::/29", "206841"}, + {"2a0e:b107:458::/42", "57883"}, + {"2409:8087:300::/40", "9808"}, + {"2600:1400:c001::/34", "20940"}, + {"2600:1402:16::/48", "20940"}, + {"2804:14d:5600::/40", "28573"}, + {"2402:5a00::/32", "18077"}, + {"240a:a4ca::/32", "143876"}, + {"2600:3501:d000::/34", "396998"}, + {"2620:91::/48", "6124"}, + {"240a:a9e9::/32", "145187"}, + {"2001:408:20::/32", "14793"}, + {"240a:acb2::/32", "145900"}, + {"2604:f400:2800::/37", "19406"}, + {"2605:a00::/32", "26744"}, + {"2605:30c0:f11::/46", "29736"}, + {"2a02:6c20:6::/48", "207167"}, + {"2c0f:4a00::/32", "328818"}, + {"2001:67c:41c::/48", "28847"}, + {"2001:878::/30", "1835"}, + {"2403:1cc0:5201::/48", "45352"}, + {"240a:ac27::/32", "145761"}, + {"2804:351c::/35", "266269"}, + {"2804:7fa8::/32", "271701"}, + {"2a01:5800::/32", "39608"}, + {"2a03:7380:3c0::/37", "13188"}, + {"2001:67c:2200::/48", "50620"}, + {"2001:da8:ae::/48", "24351"}, + {"2409:8002:100::/37", "9808"}, + {"240a:adf1::/32", "146219"}, + {"2620:ba:c000::/48", "6971"}, + {"2804:1e38:1001::/36", "264415"}, + {"2804:27bc::/32", "263919"}, + {"2804:6e1c::/32", "270576"}, + {"2a00:1188:10::/48", "47543"}, + {"2a0b:6b86:b13::/45", "206699"}, + {"2001:559:140::/48", "20214"}, + {"2402:1180::/32", "134076"}, + {"2409:8055:69::/34", "56040"}, + {"2620:144:a00::/32", "53692"}, + {"2804:2484:8005::/40", "28258"}, + {"2001:67c:24e4::/48", "57381"}, + {"240a:a72d::/32", "144487"}, + {"240a:ae8f::/32", "146377"}, + {"2804:38dc::/32", "266506"}, + {"2806:230:2059::/36", "11888"}, + {"2a0d:a0c0::/48", "198426"}, + {"2001:250:7003::/48", "23910"}, + {"2001:550:2210::/48", "397601"}, + {"2001:559:351::/48", "7922"}, + {"2001:4dc0::/32", "12703"}, + {"2408:8957:eb00::/40", "17816"}, + {"240a:ac11::/32", "145739"}, + {"2602:fc41::/40", "20278"}, + {"2607:6003:2309::/48", "46385"}, + {"2607:6b80:4a::/43", "13213"}, + {"2001:1230::/39", "13579"}, + {"2603:4:1604::/48", "44273"}, + {"2804:204:224::/44", "28186"}, + {"2a0b:bb41::/32", "12570"}, + {"2a0e:2b00::/30", "1239"}, + {"2c0f:f4a0::/32", "31856"}, + {"2001:559:83b3::/45", "33287"}, + {"2001:1218:600e::/42", "278"}, + {"2606:2800:4a87::/48", "14210"}, + {"2a01:608::/32", "5577"}, + {"2a01:6500:4::/32", "42925"}, + {"2001:480:37::/41", "668"}, + {"2409:8057:301a::/48", "9808"}, + {"2600:6c10:411::/46", "20115"}, + {"2804:570c::/32", "268040"}, + {"2a0b:ab00::/29", "208861"}, + {"2620:9f:12::/48", "3356"}, + {"2804:3e60::/39", "266592"}, + {"2a00:8a84:a010::/30", "29119"}, + {"2400:8b00:600::/42", "45727"}, + {"2605:6500::/48", "26512"}, + {"2001:454f::/27", "9924"}, + {"2001:4978:1005::/40", "19255"}, + {"2400:7400:e02f::/43", "23736"}, + {"2600:1402:f::/43", "20940"}, + {"2620:113:80c4::/42", "3680"}, + {"2a03:2380:5::/48", "212522"}, + {"2001:559:382::/47", "7725"}, + {"2406:c40::/32", "140602"}, + {"2600:6c20:246::/44", "20115"}, + {"2a00:9480::/32", "34578"}, + {"2001:67c:cc::/48", "196870"}, + {"2406:840:fefc::/48", "133555"}, + {"2408:8956:5e00::/40", "17622"}, + {"2600:40ff:fcf9::/48", "7046"}, + {"2600:6c39:50d::/43", "20115"}, + {"2804:90c:facf::/37", "262617"}, + {"2806:230:301a::/48", "265594"}, + {"2a0d:c580::/29", "204490"}, + {"2001:559:c261::/48", "33652"}, + {"2001:559:866b::/48", "33287"}, + {"2001:1660::/32", "25417"}, + {"2407:6340::/32", "135021"}, + {"2408:840c:200::/40", "17621"}, + {"240e:951:2800::/38", "141157"}, + {"2600:3408:300::/37", "4181"}, + {"2600:9000:11bd::/48", "16509"}, + {"2620:131:1046::/44", "26450"}, + {"2804:5f4c::/32", "269090"}, + {"2001:da8:232::/48", "24348"}, + {"2001:1248:5783::/45", "11172"}, + {"2402:800:f132::/41", "7552"}, + {"2602:fcff:16::/48", "213216"}, + {"2800:bf0:2a06::/48", "27947"}, + {"2a0e:aa07:e030::/48", "210041"}, + {"2001:559:801a::/45", "7922"}, + {"2404:19c0::/32", "138505"}, + {"2409:8004:900::/35", "24547"}, + {"240d:c010:72::/48", "139341"}, + {"2001:4130:ce::/48", "29067"}, + {"2400:59e0::/32", "134337"}, + {"2804:2458::/32", "264216"}, + {"2806:2f0:6121::/46", "17072"}, + {"2a06:d500::/29", "51184"}, + {"2a0b:a1c0::/29", "213102"}, + {"2a0d:7740::/29", "208861"}, + {"2001:559:c392::/47", "33659"}, + {"2409:803c:2000::/40", "24444"}, + {"2600:6c38:30e::/43", "20115"}, + {"2804:41cc::/32", "267457"}, + {"2a01:ad00::/45", "51865"}, + {"2a03:5f00::/39", "29644"}, + {"2408:840d:9100::/42", "17621"}, + {"2408:8956:600::/40", "17622"}, + {"2408:8956:ef40::/40", "17816"}, + {"2803:4c60::/45", "267845"}, + {"2a02:2528::/34", "25091"}, + {"2a07:24c0::/29", "203235"}, + {"2a07:2ec0::/32", "48111"}, + {"2001:661:8000::/35", "2470"}, + {"240a:a89a::/32", "144852"}, + {"2600:1016:b030::/40", "6167"}, + {"2804:3920:8000::/36", "266013"}, + {"2a01:a320::/32", "49560"}, + {"2a0d:1640::/32", "200313"}, + {"2a10:d940::/29", "34907"}, + {"240e:183:8101::/46", "140647"}, + {"2606:ae00:beb1::/41", "7287"}, + {"2804:60c8::/32", "269190"}, + {"2804:8510::/32", "272555"}, + {"2a02:cb80:1020::/48", "43766"}, + {"2a0e:72c0::/47", "208479"}, + {"2400:cb00:a4a0::/45", "13335"}, + {"240a:a2a8::/32", "143330"}, + {"240a:aed1::/32", "146443"}, + {"2605:a404:deb::/43", "33363"}, + {"2607:f428:93a0::/44", "19115"}, + {"2620:126:2000::/40", "18694"}, + {"2803:e000::/32", "262215"}, + {"2804:4ec:1500::/38", "28668"}, + {"2a02:26f7:c786::/47", "20940"}, + {"2a0e:b107:180::/44", "6556"}, + {"2001:579:4f0a::/35", "22773"}, + {"2001:648:2e01::/48", "8581"}, + {"2402:800:3dfe::/38", "7552"}, + {"2600:6c3a:19::/46", "20115"}, + {"2603:c0f0:1000::/43", "6142"}, + {"2804:18c4::/32", "53049"}, + {"2804:4104::/32", "265998"}, + {"2001:250:213::/48", "23910"}, + {"2600:6c7f:90e0::/48", "20115"}, + {"2605:b100:900::/41", "577"}, + {"2a00:4802:4c00::/43", "13124"}, + {"2c0f:f6d8:4016::/47", "21433"}, + {"2001:559:36b::/48", "7725"}, + {"240a:a000::/32", "142650"}, + {"2604:940:34::/48", "40386"}, + {"2804:7118::/32", "270766"}, + {"2a01:9ac0::/32", "59919"}, + {"2a06:bc40::/29", "203939"}, + {"2a07:b8c1:12::/32", "14043"}, + {"2001:500:100::/46", "21775"}, + {"2001:559:8415::/48", "33287"}, + {"240e:5e:4006::/48", "134774"}, + {"240e:108:8c::/48", "4134"}, + {"2604:2e8e:c000::/34", "30036"}, + {"2402:8100:26ca::/45", "55644"}, + {"2407:8bc0::/40", "140984"}, + {"240a:aca9::/32", "145891"}, + {"2402:800:9555::/42", "7552"}, + {"2600:802:100::/48", "12234"}, + {"2803:6aa0::/32", "266872"}, + {"2a00:d00:124::/31", "41887"}, + {"2a02:888:147::/48", "47794"}, + {"2001:678:1ec::/48", "42700"}, + {"2001:a98:30::/48", "1967"}, + {"2402:800:989b::/42", "7552"}, + {"240e:982:9500::/34", "4134"}, + {"2604:63c0::/32", "19465"}, + {"2804:dfc:2000::/32", "263042"}, + {"2804:7d58::/32", "271555"}, + {"2a0b:76c0::/29", "201011"}, + {"2a10:9f80::/32", "207459"}, + {"2001:250:5807::/44", "23910"}, + {"2001:e60:d8a0::/45", "4766"}, + {"2400:4ec0:8c1f::/39", "64300"}, + {"2408:8256:2d7f::/48", "17816"}, + {"240e:6b6:5000::/31", "4134"}, + {"2602:802:b045::/48", "399788"}, + {"2a03:2cc0::/32", "57537"}, + {"2a0d:ca47:2::/48", "49423"}, + {"2001:720::/32", "766"}, + {"2402:800:578d::/43", "7552"}, + {"240a:ada7::/32", "146145"}, + {"2803:9800:9083::/43", "11664"}, + {"2804:e94:120::/43", "262468"}, + {"2804:3f10:8000::/39", "262566"}, + {"2804:42cc::/32", "267528"}, + {"2a02:26f7:2e::/48", "36183"}, + {"2600:1480:7800::/48", "21342"}, + {"2804:13f0::/32", "263303"}, + {"2a0f:ca87:3::/48", "211891"}, + {"2a11:8b81::/30", "207143"}, + {"2409:8054:5c::/48", "9808"}, + {"2600:6c38:a01::/43", "20115"}, + {"2600:9000:1148::/48", "16509"}, + {"2a02:26f7:d900::/48", "36183"}, + {"2a03:8100::/32", "5524"}, + {"2a06:aa80::/32", "43267"}, + {"2800:160:1435::/46", "14259"}, + {"2a02:26f7:bb08::/48", "36183"}, + {"240a:adf5::/32", "146223"}, + {"2801:1b:6800::/48", "27951"}, + {"2804:48b8::/32", "267140"}, + {"2a00:1900::/32", "8881"}, + {"2a01:8a00::/32", "42484"}, + {"2a09:6c40::/29", "209408"}, + {"2001:df0:c8::/48", "139612"}, + {"2403:8600:c00::/44", "45820"}, + {"2a0f:607:1024::/48", "212359"}, + {"2001:559:808a::/48", "33660"}, + {"2600:370f:7483::/42", "32261"}, + {"2607:f110:52::/40", "21889"}, + {"2803:e40:a00b::/33", "27797"}, + {"2803:ebc0::/32", "265753"}, + {"2804:3b7c::/32", "266152"}, + {"2001:4368::/32", "9129"}, + {"240a:a234::/32", "143214"}, + {"2806:2f0:81c1::/46", "17072"}, + {"2a02:26f7:b98c::/48", "36183"}, + {"2a03:6947:800::/38", "61266"}, + {"2001:fd8:3010::/44", "4775"}, + {"2404:2200:11::/45", "18200"}, + {"2409:8835::/24", "9808"}, + {"240a:a293::/32", "143309"}, + {"240a:af7e::/32", "146616"}, + {"2607:9000::/34", "11878"}, + {"2804:566c::/32", "267997"}, + {"2a09:13c0::/48", "209562"}, + {"2a0c:b641:16d::/48", "211139"}, + {"2001:df6:7280::/48", "142052"}, + {"2401:8800:e00::/40", "17439"}, + {"2406:e001:1000::/33", "23655"}, + {"2801:1fc:16::/48", "27951"}, + {"2804:3c90::/32", "266220"}, + {"2a0e:aa07:e01b::/48", "211843"}, + {"2001:67c:1428::/48", "49684"}, + {"2408:8456:a610::/42", "134543"}, + {"240a:a223::/32", "143197"}, + {"2602:ff2a::/32", "19323"}, + {"2606:6680:35::/46", "18779"}, + {"2a02:ee80:411d::/48", "3573"}, + {"2a0e:b107:1310::/44", "131668"}, + {"2001:559:c401::/46", "33659"}, + {"2405:d400::/32", "9927"}, + {"2620:a1:c000::/48", "35960"}, + {"2a05:e740:116::/48", "29108"}, + {"2a06:56c1:1000::/48", "16509"}, + {"2404:4a00:7000::/64", "55423"}, + {"2409:8087:7f00::/32", "9808"}, + {"2602:805:d000::/44", "46208"}, + {"2604:4300::/32", "33387"}, + {"2804:1a4::/32", "28140"}, + {"2804:4e60::/32", "268257"}, + {"2806:3d2::/48", "263167"}, + {"2a11:dd80::/29", "204790"}, + {"2001:559:819f::/48", "20214"}, + {"2001:67c:21b0::/48", "51871"}, + {"2001:1248:5a5b::/42", "11172"}, + {"2603:c023:c000::/35", "31898"}, + {"2603:c0e0:1000::/38", "54253"}, + {"2620:1f6::/36", "26305"}, + {"2804:5f10::/32", "269074"}, + {"2a02:2e02:3b70::/40", "12479"}, + {"2001:df3:7c80::/48", "140577"}, + {"2001:1a68:4::/46", "15694"}, + {"2400:dd01:3015::/44", "7497"}, + {"2606:2c0:3::/45", "16509"}, + {"2a0a:ba40::/29", "205958"}, + {"2001:250:852::/44", "138182"}, + {"240a:a371::/32", "143531"}, + {"2600:6c20:116::/47", "20115"}, + {"2607:fe58::/32", "46449"}, + {"2804:64ac::/32", "269441"}, + {"2a00:1418:1000::/34", "41391"}, + {"2a02:2e02:2310::/41", "12479"}, + {"2a04:4e40:fe00::/48", "54113"}, + {"2001:df5:4480::/48", "133296"}, + {"2401:1d80:3000::/47", "16509"}, + {"2600:6c10:c05::/44", "20115"}, + {"2600:9000:2483::/44", "16509"}, + {"2804:1e68::/32", "53006"}, + {"2804:8554::/32", "272572"}, + {"2001:4f8:c::/43", "1280"}, + {"2001:678:d38::/48", "42504"}, + {"240e:3b5:f100::/37", "134775"}, + {"2801:80:3800::/48", "269610"}, + {"2806:2f0:9743::/42", "17072"}, + {"2409:8c1a::/29", "132525"}, + {"2800:1e0:a04::/39", "7195"}, + {"2804:5b4c::/32", "268833"}, + {"2a02:26f7:cac4::/48", "36183"}, + {"2a0f:6580:106::/48", "60707"}, + {"2a0f:9400:7834::/44", "147028"}, + {"2001:df0:f8::/48", "9555"}, + {"2600:1488:a000::/47", "20940"}, + {"2401:d800:24c0::/42", "7552"}, + {"2401:d800:7310::/42", "7552"}, + {"2405:1e40::/47", "58475"}, + {"240a:a641::/32", "144251"}, + {"2600:6c38:e23::/45", "20115"}, + {"2604:ca00:f00a::/45", "36492"}, + {"2a06:6540:30c1::/48", "3549"}, + {"2001:44b8:2066::/44", "7545"}, + {"2604:aec0::/32", "11900"}, + {"2620:1a:4000::/48", "2572"}, + {"2801:80:ef0::/48", "264185"}, + {"2001:4c8:1096::/44", "15290"}, + {"240e:1f::/48", "134774"}, + {"2600:1406:8801::/38", "20940"}, + {"2a02:26f7:ca40::/48", "36183"}, + {"2a02:26f7:cf40::/48", "36183"}, + {"2a02:26f7:d288::/48", "36183"}, + {"2a03:9f00::/32", "8676"}, + {"2001:559:387::/48", "33287"}, + {"2001:559:4c3::/48", "33491"}, + {"240a:ab09::/32", "145475"}, + {"240e:44d:4900::/41", "140345"}, + {"2607:f798::/34", "812"}, + {"2800:160:145c::/42", "14259"}, + {"2804:8098::/32", "271761"}, + {"2a02:26f7:f684::/48", "36183"}, + {"2a04:5b87:1::/48", "202265"}, + {"2a0a:9bc0::/29", "48303"}, + {"2001:67c:19f0::/48", "199771"}, + {"240a:ab3e::/32", "145528"}, + {"240a:afba::/32", "146676"}, + {"2800:bf0:814d::/46", "52257"}, + {"2a01:7040::/32", "58123"}, + {"2a02:26f7:e881::/46", "20940"}, + {"2a02:7b01::/34", "48328"}, + {"2001:250:504a::/48", "23910"}, + {"2408:8459:1450::/38", "17816"}, + {"2409:8062:1900::/34", "9808"}, + {"2606:6d00:200::/32", "1403"}, + {"2804:584c::/32", "268120"}, + {"2806:230:202b::/48", "11888"}, + {"2a0b:f4c1:2::/48", "60729"}, + {"2001:468:2651::/40", "11537"}, + {"2001:559:c352::/48", "33667"}, + {"2407:e740:10b::/42", "59239"}, + {"2800:800:520::/44", "26611"}, + {"2a00:d101:4000::/36", "15704"}, + {"2a02:26f7:ec09::/46", "20940"}, + {"2001:8c0::/29", "2116"}, + {"2001:978:6402::/45", "174"}, + {"2409:8c28:1301::/34", "56041"}, + {"240e:3bb:9c00::/34", "140310"}, + {"2606:6a40::/44", "14638"}, + {"2804:7dd0::/34", "271584"}, + {"2a0c:da02::/32", "57878"}, + {"2400:5d00::/32", "58507"}, + {"2408:8a06::/47", "9929"}, + {"2409:8070:30e8::/48", "140105"}, + {"240a:ac7d::/32", "145847"}, + {"2600:1402:15::/48", "35994"}, + {"2600:6c10:b2::/44", "20115"}, + {"2804:5d90::/32", "13786"}, + {"2a01:8840:62::/45", "12041"}, + {"2600:1010:be00::/44", "6167"}, + {"2602:80c:100a::/48", "20115"}, + {"2606:3600:115::/48", "16839"}, + {"2607:ff60::/46", "3900"}, + {"2804:23d4::/32", "264186"}, + {"2a05:480::/29", "200000"}, + {"240e:3b5:5600::/34", "4134"}, + {"2406:af40::/32", "9237"}, + {"2602:feda:ab3::/44", "141011"}, + {"2603:90b9::/32", "10838"}, + {"2a0e:e2c1::/32", "42156"}, + {"2607:f6f0:1400::/40", "398811"}, + {"2a03:fc00::/29", "34756"}, + {"2001:1998:8e0::/38", "7843"}, + {"2001:49e8::/32", "6939"}, + {"240a:afca::/32", "146692"}, + {"2804:fb4:a040::/33", "263599"}, + {"2804:21b8::/48", "264569"}, + {"2a01:168::/29", "41670"}, + {"2a12:2600::/29", "44685"}, + {"2001:559:bf::/48", "7922"}, + {"2001:559:8682::/48", "33657"}, + {"2408:8957:800::/40", "17622"}, + {"2804:2b88::/32", "265158"}, + {"2806:1020::/37", "8151"}, + {"2a03:b00::/32", "8723"}, + {"2a0b:6940::/29", "49573"}, + {"2a0f:9400:8012::/48", "23470"}, + {"240e:44d:2040::/42", "140361"}, + {"2a02:26f7:bf09::/46", "20940"}, + {"2a02:26f7:d309::/42", "20940"}, + {"2001:550:40a::/39", "174"}, + {"2001:559:865c::/48", "7725"}, + {"2c0f:eb00:300::/40", "61266"}, + {"2604:e100:1::/48", "33028"}, + {"2620:13d:2000::/41", "20326"}, + {"2a00:cee0:dcd::/31", "60268"}, + {"2a02:26f7:eec0::/48", "36183"}, + {"2a02:ee80:41f8::/38", "3573"}, + {"2a03:8600:2::/45", "3399"}, + {"2402:3b00::/32", "38648"}, + {"2402:a800:fff0::/48", "55895"}, + {"2804:7a64:a000::/35", "271368"}, + {"2804:8130::/32", "272438"}, + {"2a0a:67c0::/29", "212796"}, + {"2001:da8:e810::/46", "24368"}, + {"2001:ee0:3101::/43", "45899"}, + {"2600:1480:c000::/40", "33905"}, + {"2a02:2e0:3fd::/46", "12306"}, + {"2001:da8:b81d::/37", "23910"}, + {"2001:43f8:750::/44", "37520"}, + {"2602:ff96:9::/48", "40676"}, + {"2804:28e4::/45", "28260"}, + {"2a04:5f80::/32", "60233"}, + {"2a0f:5707:b130::/44", "210633"}, + {"2402:e280:2228::/47", "134674"}, + {"240e:698:4500::/40", "58461"}, + {"2605:8100::/32", "7311"}, + {"2804:26d0::/32", "262454"}, + {"2a02:26f0:138::/45", "20940"}, + {"2a02:26f7:e08c::/48", "36183"}, + {"2a06:98c1:55::/46", "13335"}, + {"2001:da8:c00a::/37", "23910"}, + {"2401:7400:4001::/43", "4773"}, + {"2600:6c10:80a::/43", "20115"}, + {"2804:154c:502e::/32", "263382"}, + {"2001:559:4ed::/46", "33661"}, + {"2001:678:e90::/48", "8447"}, + {"2001:67c:26f8::/48", "41709"}, + {"2001:4888:8027::/44", "6167"}, + {"2404:3d00:414c::/47", "21433"}, + {"240e:5a:4000::/40", "140290"}, + {"2605:7bc0::/32", "395439"}, + {"2605:f440:beef::/48", "212105"}, + {"2804:39c:5200::/40", "28329"}, + {"2001:559:c499::/48", "7725"}, + {"2001:579:134::/36", "22773"}, + {"2406:8800:9049::/46", "17465"}, + {"2800:2d0::/32", "3603"}, + {"2804:39c4::/32", "266049"}, + {"2804:3cd8::/32", "266238"}, + {"2001:559:4a::/45", "7922"}, + {"2001:920::/31", "8220"}, + {"2600:6c38:abd::/46", "20115"}, + {"2602:fd69::/36", "14731"}, + {"2800:490:4e00::/39", "27951"}, + {"2800:bf0:145::/48", "27947"}, + {"2a05:3880::/29", "201518"}, + {"2607:fb10:7039::/41", "2906"}, + {"2804:3cf0::/32", "266243"}, + {"2804:7534::/32", "271031"}, + {"2806:260:4::/48", "13999"}, + {"2408:8256:2f6b::/48", "17816"}, + {"240a:ac41::/32", "145787"}, + {"2605:4480::/32", "21624"}, + {"2800:160:1581::/44", "14259"}, + {"2800:160:1a96::/44", "14259"}, + {"2806:230:403b::/48", "11888"}, + {"2a01:7520::/32", "62167"}, + {"2a02:ee80:41ba::/45", "21433"}, + {"2a0b:33c0:112::/45", "57395"}, + {"2001:518::/32", "8001"}, + {"2001:67c:13a0::/48", "57954"}, + {"2001:da8:8004::/44", "24364"}, + {"2001:4d88::/32", "31333"}, + {"2600:141c:5000::/48", "8151"}, + {"2620:37:e000::/48", "53535"}, + {"2804:5c68::/32", "268907"}, + {"2a02:26f7:c35c::/47", "36183"}, + {"2a0a:2c0:3::/48", "197481"}, + {"2001:250:7030::/48", "24370"}, + {"2401:4800:3021::/48", "38457"}, + {"240a:aef9::/32", "146483"}, + {"2804:3f38:9000::/36", "266646"}, + {"2001:1ab8::/31", "15440"}, + {"2401:b180::/33", "37963"}, + {"2404:bf40:ec01::/48", "7545"}, + {"2406:840:e14f::/48", "142164"}, + {"2804:14c:da87::/43", "28573"}, + {"2a01:a440::/48", "51297"}, + {"2a02:dd80::/29", "204896"}, + {"2406:e340::/32", "137274"}, + {"2409:8959:cc54::/39", "56040"}, + {"2605:6400:20::/48", "53667"}, + {"2804:5e48:ff02::/48", "269023"}, + {"2a02:ee80:4069::/46", "3573"}, + {"2a04:b906::/48", "211321"}, + {"2a02:26f7:d501::/46", "20940"}, + {"2a03:840::/32", "199405"}, + {"2a0d:8d00::/30", "47750"}, + {"2001:559:c1e6::/48", "33652"}, + {"2402:e280:210f::/43", "134674"}, + {"2409:8924:4b00::/37", "56046"}, + {"240a:ad24::/32", "146014"}, + {"2a0f:7400::/30", "213275"}, + {"2400:cb00:132::/48", "13335"}, + {"2804:158::/32", "53093"}, + {"2a04:6f02::/29", "3214"}, + {"2409:8c0c::/39", "56042"}, + {"2001:559:c1bf::/48", "33489"}, + {"2001:44c8:128::/47", "131445"}, + {"2402:800:3355::/42", "7552"}, + {"2404:8000:ae::/47", "17451"}, + {"2603:f810::/26", "397165"}, + {"2a02:26f7:44::/48", "36183"}, + {"2a02:26f7:b801::/46", "20940"}, + {"2a02:26f7:e341::/46", "20940"}, + {"2a05:d03a:a000::/40", "16509"}, + {"2a0f:e480::/29", "60262"}, + {"2605:dd40:8119::/38", "398549"}, + {"2620:25:a000::/48", "394470"}, + {"2804:5ad0:f000::/36", "268798"}, + {"2a00:ece1:1::/48", "61050"}, + {"2a02:26f7:cfc9::/46", "20940"}, + {"2a10:4580::/29", "399975"}, + {"240a:a3bb::/32", "143605"}, + {"2a02:3d0:622::/32", "22822"}, + {"2a0e:b107:df5::/48", "142055"}, + {"2a00:5400:1235::/32", "35753"}, + {"2a02:2998::/32", "13009"}, + {"2a03:be80::/47", "15510"}, + {"2001:250:c2e::/43", "23910"}, + {"2001:4940::/34", "21547"}, + {"240a:a3c1::/32", "143611"}, + {"2600:1402:3801::/37", "20940"}, + {"2804:1690:680::/36", "263292"}, + {"2a02:4840:1111::/48", "203339"}, + {"2001:559:8234::/48", "33656"}, + {"2408:84f3:4210::/42", "134543"}, + {"2605:f500:502::/38", "1828"}, + {"2806:2f0:3101::/46", "17072"}, + {"2a00:1838::/32", "43317"}, + {"2a01:1df::/32", "15744"}, + {"2404:7c00:2::/48", "141177"}, + {"240a:ae2d::/32", "146279"}, + {"2604:d600:156a::/45", "32098"}, + {"2a10:fa80:92::/48", "57050"}, + {"2001:67c:414::/48", "211073"}, + {"2402:800:39e0::/44", "7552"}, + {"2800:160:14c0::/43", "14259"}, + {"2a11:1c40::/29", "204790"}, + {"2605:3ac0::/36", "20029"}, + {"2a01:4a0:18::/45", "201011"}, + {"2a02:26f7:d180::/48", "36183"}, + {"2402:5300:4410::/39", "45903"}, + {"2620:d8:8000::/48", "2900"}, + {"2800:370:c000::/46", "28006"}, + {"2600:100f:a110::/36", "22394"}, + {"2620:88:6000::/48", "33600"}, + {"2a01:b6a0::/32", "197216"}, + {"2a02:26f7:cc81::/46", "20940"}, + {"2c0f:f280::/32", "37645"}, + {"2001:678:fbc::/48", "43183"}, + {"2001:b28:f23d::/48", "59930"}, + {"2607:2400::/32", "40335"}, + {"2a07:cb40::/29", "207237"}, + {"2a0e:b107:5a9::/48", "203943"}, + {"2001:ee0:ec00::/40", "45899"}, + {"2400:3840::/33", "23860"}, + {"240a:af61::/32", "146587"}, + {"2607:fca8::/37", "17139"}, + {"2a02:790::/32", "24679"}, + {"2a10:53c0::/29", "34907"}, + {"2a10:a480::/29", "6729"}, + {"2c0f:f7a8:9041::/48", "4809"}, + {"2001:559:5b7::/48", "33657"}, + {"2001:918:ff78::/40", "3303"}, + {"2404:f4c0:fff0::/48", "140219"}, + {"240e:388::/29", "4812"}, + {"2804:204:304::/47", "28186"}, + {"2a03:5344::/44", "34414"}, + {"2a07:8142::/36", "209677"}, + {"2a0a:340:200::/40", "48651"}, + {"2001:468:2601::/44", "11537"}, + {"240a:ab1f::/32", "145497"}, + {"2001:4878:8164::/48", "12222"}, + {"2409:8020:3063::/43", "56046"}, + {"240e:980:9600::/40", "58542"}, + {"2605:a401:8141::/45", "33363"}, + {"2a00:e6a0::/46", "12303"}, + {"2a02:7a00::/47", "39904"}, + {"2a0c:6c40:c840::/47", "20705"}, + {"2409:8958:cd54::/38", "56040"}, + {"2804:2b00::/32", "265130"}, + {"2001:500:14::/48", "42"}, + {"2001:559:858d::/46", "22909"}, + {"240a:ad0d::/32", "145991"}, + {"2a09:6280:3::/48", "203493"}, + {"2a11:5200::/29", "211344"}, + {"2001:1248:8849::/43", "11172"}, + {"2408:8957:c300::/40", "17816"}, + {"2600:1417:60::/48", "20940"}, + {"2605:1cc0::/32", "7029"}, + {"2620:a7:8000::/48", "54111"}, + {"2803:e600:4::/47", "18809"}, + {"2804:399c:fff1::/44", "266039"}, + {"2a03:2a60:dc::/48", "59871"}, + {"2a10:3e84::/30", "212144"}, + {"2600:1407:2801::/37", "20940"}, + {"2602:fed2:7708::/48", "208188"}, + {"2a0b:4340:9e::/48", "205610"}, + {"2a0e:aa07:f09b::/48", "208884"}, + {"2400:8500:3000::/48", "55907"}, + {"2409:875c::/33", "9808"}, + {"2804:3dc:f2::/36", "52967"}, + {"2001:559:7db::/48", "21508"}, + {"2a02:26f7:bec9::/46", "20940"}, + {"2a0b:bf80::/32", "60522"}, + {"240a:a205::/32", "143167"}, + {"2408:8956:4700::/40", "17816"}, + {"2801:80:1414::/48", "11097"}, + {"2a02:6380::/32", "56349"}, + {"2405:c0:60::/48", "138881"}, + {"240a:a52a::/32", "143972"}, + {"2800:160:2270::/40", "14259"}, + {"2800:bf0:2200::/45", "52257"}, + {"2a02:26f7:f8d1::/46", "20940"}, + {"2001:520:1012::/48", "8103"}, + {"2001:67c:24a4::/48", "204711"}, + {"2404:cf00:efb::/32", "38511"}, + {"240e:3b4:ac00::/35", "4134"}, + {"2803:bc40:a01c::/33", "52468"}, + {"2806:2f0:9241::/40", "17072"}, + {"2401:d800:d280::/42", "7552"}, + {"2605:8300:2::/48", "25645"}, + {"2402:800:7910::/42", "7552"}, + {"2402:8100:31da::/45", "55644"}, + {"2409:8054:50::/48", "9808"}, + {"2607:f098:6100::/32", "33363"}, + {"2620:79:8000::/48", "698"}, + {"2620:101:200d::/46", "30215"}, + {"2804:14c:da91::/44", "28573"}, + {"2804:4b24::/32", "267286"}, + {"2a0f:f400::/29", "40970"}, + {"2001:df2:df80::/48", "139904"}, + {"2400:ca08::/29", "23688"}, + {"2402:7500:4ce::/42", "24158"}, + {"240a:a714::/32", "144462"}, + {"240a:a9d8::/32", "145170"}, + {"240e:67c:1800::/32", "4134"}, + {"2605:3380:412c::/47", "12025"}, + {"2606:8f80:1::/48", "6327"}, + {"2a03:4c0::/32", "15405"}, + {"2a10:4080::/29", "399975"}, + {"2409:8c85:aa11::/46", "9808"}, + {"2605:a404:fd::/39", "33363"}, + {"2803:740::/32", "264719"}, + {"2804:129c::/32", "263487"}, + {"2a01:190:15ec::/48", "199216"}, + {"2a02:26f7:e4c1::/46", "20940"}, + {"2001:250:702f::/48", "24369"}, + {"2001:e60:a730::/40", "4766"}, + {"2409:8a53:f00::/35", "56047"}, + {"2804:7180:200::/32", "270793"}, + {"2a05:2240::/32", "59835"}, + {"2001:938:402f::/43", "8437"}, + {"240a:a6ee::/32", "144424"}, + {"2606:42c0:dd::/32", "399078"}, + {"2806:342:f600::/36", "265591"}, + {"2605:dd40:5ccd::/32", "398549"}, + {"2a0d:2587:3800::/33", "142553"}, + {"2401:d800:2140::/42", "7552"}, + {"240a:aa10::/32", "145226"}, + {"240a:aac7::/32", "145409"}, + {"2801:80:23f0::/48", "268293"}, + {"2a02:7e60::/32", "200925"}, + {"2400:cb00:397::/44", "13335"}, + {"2607:f740:e060::/43", "398748"}, + {"2800:200:b4f0::/36", "12252"}, + {"2804:b54::/32", "52765"}, + {"2806:2f0:93a2::/41", "17072"}, + {"2a01:c50e:1900::/34", "12479"}, + {"2001:1248:5b75::/44", "11172"}, + {"2402:7480::/32", "18106"}, + {"240a:a032::/32", "142700"}, + {"240e:bf:b8e4::/46", "138641"}, + {"240e:67e:8800::/38", "140330"}, + {"240e:979:8500::/40", "131325"}, + {"2605:1240::/33", "55222"}, + {"2804:38fc::/32", "266516"}, + {"2a02:26f7:d589::/46", "20940"}, + {"2a03:9d40:5000::/40", "41095"}, + {"2a05:1500:ff00::/40", "48635"}, + {"2001:67c:2384::/48", "197942"}, + {"2001:4350:a001::/33", "2609"}, + {"2800:160:159a::/45", "14259"}, + {"2a10:4c40::/29", "212736"}, + {"2001:559:7da::/48", "33650"}, + {"2001:559:83fb::/48", "33667"}, + {"2001:67c:1c00::/40", "48144"}, + {"2001:1930:3c10::/48", "11985"}, + {"2406:8800:9041::/46", "17465"}, + {"2603:90fb::/44", "19115"}, + {"2606:3d40:10::/47", "400097"}, + {"2804:2f6c:dc00::/34", "264890"}, + {"2001:df0:312::/47", "135008"}, + {"2401:2200:1000::/37", "55420"}, + {"2407:5c40::/32", "142139"}, + {"2600:40ff:fcfe::/38", "701"}, + {"2605:dd40:8221::/46", "398549"}, + {"2610:e0:d000::/34", "2572"}, + {"2804:839c::/32", "272208"}, + {"2806:2f0:45a3::/41", "17072"}, + {"2a02:c78::/29", "5607"}, + {"2a04:e800:5407::/48", "57976"}, + {"2620:1ec:908::/47", "8068"}, + {"2804:138::/32", "11432"}, + {"2a00:ea8::/32", "9211"}, + {"2001:559:c156::/48", "33656"}, + {"2001:44b8:30c2::/48", "7545"}, + {"240e:3bc:6400::/35", "140312"}, + {"2a01:b600::/32", "43989"}, + {"2402:8100:26da::/39", "55644"}, + {"2600:6c10:f34e::/37", "20115"}, + {"2620:2f::/48", "32638"}, + {"2804:47b8::/32", "267073"}, + {"2a01:4400:1::/46", "1257"}, + {"2a02:26f7:e481::/46", "20940"}, + {"2a0d:5642:130::/48", "35487"}, + {"2401:f000:2:300::/45", "38477"}, + {"2405:e840::/32", "4049"}, + {"2a02:26f7:c288::/48", "36183"}, + {"2a04:2f00::/29", "60256"}, + {"2a0f:5e80::/29", "39287"}, + {"2001:470:c3::/48", "395466"}, + {"2409:8062:900::/35", "9808"}, + {"2804:7f54::/32", "271681"}, + {"2a02:26f7:eb8c::/48", "36183"}, + {"2a10:ed00::/29", "212297"}, + {"2001:559:19f::/48", "21508"}, + {"2408:8459:5e30::/41", "17622"}, + {"240a:a67c::/32", "144310"}, + {"2a02:ee80:42aa::/41", "3573"}, + {"240a:a427::/32", "143713"}, + {"2600:1004:b130::/44", "22394"}, + {"2800:410::/32", "10269"}, + {"2001:510:305::/32", "376"}, + {"2001:df7:9580::/48", "146867"}, + {"2401:d800:fa10::/42", "7552"}, + {"2402:800:b560::/40", "7552"}, + {"2806:2f0:24a1::/48", "22884"}, + {"2402:9800:4002::/48", "131119"}, + {"2602:ffc5:103::/48", "7489"}, + {"2409:8073:2a00::/46", "9808"}, + {"2600:1013:b030::/40", "6167"}, + {"2a02:88d:8230::/44", "48695"}, + {"2a11:e900::/29", "211199"}, + {"2001:550:9c00::/48", "400302"}, + {"2001:7fb:fe12::/45", "12654"}, + {"2607:f3a0:a004::/48", "399816"}, + {"2402:3a80:c050::/46", "38266"}, + {"2803:d6c0:2::/44", "265698"}, + {"2804:14d:9e00::/40", "28573"}, + {"2804:d3c::/32", "52613"}, + {"2804:df0:e00::/35", "262775"}, + {"2401:3cc0:401::/39", "137409"}, + {"2401:d800:dde0::/38", "7552"}, + {"2620:10c:e000::/40", "32629"}, + {"2804:2a0::/38", "28272"}, + {"2804:cb0:fac4::/44", "52742"}, + {"2001:4868:800::/40", "23148"}, + {"2406:3003:2030::/41", "55430"}, + {"240a:a537::/32", "143985"}, + {"2804:6554::/32", "269483"}, + {"2409:8e61::/27", "9808"}, + {"2600:6c21:486::/44", "20115"}, + {"2801:c4:26::/48", "265584"}, + {"2a02:2718::/29", "30873"}, + {"2001:559:c295::/48", "33491"}, + {"2001:678:900::/48", "39602"}, + {"2600:380:ac00::/41", "20057"}, + {"2804:fc8::/32", "263603"}, + {"2804:3e88::/32", "266603"}, + {"2a02:ac80:301::/37", "25145"}, + {"2001:559:c1d8::/48", "7015"}, + {"240a:a3e9::/32", "143651"}, + {"2610:b0:411a::/45", "3573"}, + {"2804:2a5c::/32", "264071"}, + {"2001:67c:2c24::/48", "15542"}, + {"2605:ca40:1::/48", "397011"}, + {"2a0c:a9c7:177::/48", "43832"}, + {"2401:d800:b0c0::/42", "7552"}, + {"2a0a:3140:2600::/46", "15532"}, + {"2600:1480:f001::/28", "20940"}, + {"2a00:e20:150::/46", "16509"}, + {"2a0c:1700::/47", "205112"}, + {"2001:67c:698::/48", "201820"}, + {"2804:26e8::/32", "262573"}, + {"2a00:4802:3000::/43", "13124"}, + {"2001:1938:2105::/48", "33438"}, + {"2804:158c::/32", "263394"}, + {"2a0d:77c7:de24::/34", "7489"}, + {"2001:559:28e::/48", "33652"}, + {"2804:8140::/35", "272442"}, + {"2806:2f0:71e3::/38", "17072"}, + {"2001:559:c3aa::/48", "33668"}, + {"2001:559:c49a::/48", "33662"}, + {"2001:67c:18c4::/48", "15576"}, + {"2600:1415:d801::/34", "20940"}, + {"2606:6680:2000::/33", "40676"}, + {"2804:3174::/36", "265016"}, + {"2604:880:6f::/48", "29802"}, + {"2a03:4a81::/32", "20473"}, + {"2a0b:c040::/31", "42237"}, + {"2001:67c:2274::/48", "197164"}, + {"2001:978:8900:1::/37", "174"}, + {"2402:af40::/32", "23779"}, + {"2409:8904:5c40::/42", "24547"}, + {"240a:a035::/32", "142703"}, + {"240e:45c:3c00::/33", "131285"}, + {"2620:9d:6000::/48", "16509"}, + {"2620:171:24::/48", "715"}, + {"2800:160:1489::/45", "14259"}, + {"240e:964:a800::/38", "58772"}, + {"2605:6f00:9000::/36", "10929"}, + {"2a02:2a50::/29", "49800"}, + {"2a03:32c0:a::/48", "29555"}, + {"2a0b:1306:c::/48", "198018"}, + {"240e:67f:e200::/39", "140329"}, + {"2606:6680:4::/48", "40676"}, + {"2607:f740::/47", "36236"}, + {"2803:ab00:90::/48", "23520"}, + {"2804:391c:7::/44", "262287"}, + {"2804:3bc8::/32", "266170"}, + {"2804:4c0c::/41", "267345"}, + {"2001:559:82be::/48", "33287"}, + {"2408:8456:4240::/37", "17816"}, + {"2804:45e8::/32", "52814"}, + {"2a00:17f0::/32", "33808"}, + {"2a00:19f8::/32", "49010"}, + {"2a01:7d20:1000::/40", "203645"}, + {"2a10:6b40::/29", "212640"}, + {"2401:d800:5240::/42", "7552"}, + {"2403:fd40:1001::/46", "132372"}, + {"2603:4:1200::/48", "44273"}, + {"2806:230:201c::/48", "265594"}, + {"2a0e:5700::/32", "58291"}, + {"2600:370f:73c5::/42", "32261"}, + {"2a0d:8a80::/32", "33353"}, + {"2607:fcd0:dac0::/34", "8100"}, + {"2a00:a8e0:1::/46", "202108"}, + {"2a05:7740::/29", "57532"}, + {"2406:9c40::/35", "55366"}, + {"2409:8a75::/28", "9808"}, + {"240a:a693::/32", "144333"}, + {"240a:ac65::/32", "145823"}, + {"2801:80:3720::/48", "269400"}, + {"2801:1b2::/44", "14080"}, + {"2804:7d70:2000::/32", "271561"}, + {"2001:250:80f::/48", "23910"}, + {"2001:67c:2978::/48", "211671"}, + {"2401:31c0:ffff::/48", "133429"}, + {"2804:8318:20::/38", "272176"}, + {"2a00:4800:1e0::/44", "13124"}, + {"2407:5200:301::/37", "55915"}, + {"2602:fbd5::/36", "400370"}, + {"2400:8400::/32", "18085"}, + {"2a00:1210::/32", "34700"}, + {"2400:e340::/46", "136450"}, + {"2a0c:b641:219::/48", "209661"}, + {"2001:559:270::/48", "33490"}, + {"2001:1388:2f10::/35", "6147"}, + {"2400:9700:101::/43", "24550"}, + {"240a:a324::/32", "143454"}, + {"2600:6c38:45b::/45", "20115"}, + {"2804:5d00:d000::/34", "268945"}, + {"2a0b:f940:3af3::/33", "205373"}, + {"2001:500:a7::/48", "55195"}, + {"2401:3cc0:901::/32", "137409"}, + {"2401:d800:d100::/42", "7552"}, + {"2606:cd80:1::/48", "29802"}, + {"2804:25f4::/32", "52800"}, + {"2a01:cf00::/42", "2278"}, + {"2804:6f0::/36", "53047"}, + {"2a03:5a00:16::/48", "42574"}, + {"2a03:db80:3411::/36", "680"}, + {"2001:678:318::/48", "51597"}, + {"2001:df7:b300::/48", "131111"}, + {"2402:800:37c5::/43", "7552"}, + {"2800:484:3200::/36", "14080"}, + {"2804:1784::/44", "263152"}, + {"2a02:26f7:c3c1::/46", "20940"}, + {"2a02:26f7:d905::/46", "20940"}, + {"2a06:c5c0:900::/48", "44709"}, + {"2a0c:a880::/29", "204754"}, + {"2a10:e580:1::/46", "399114"}, + {"2001:fd0:3201::/39", "10029"}, + {"2401:d800:c90::/42", "7552"}, + {"2001:67c:2948::/48", "210211"}, + {"2408:8026:530::/38", "17621"}, + {"2800:160:110e::/43", "14259"}, + {"2a02:2698:6800::/38", "34533"}, + {"2c0f:f7a8:815f::/48", "4134"}, + {"2a0c:b641:6c6::/47", "213236"}, + {"2001:550:1402::/47", "397601"}, + {"240a:ad0b::/32", "145989"}, + {"2600:3400::/30", "4181"}, + {"2804:1a0c::/32", "61833"}, + {"2804:2760::/32", "263897"}, + {"2001:468:2650::/48", "22742"}, + {"2001:67c:18bc::/48", "24840"}, + {"2400:a980:5100::/37", "133111"}, + {"2409:8002:2b00::/40", "38019"}, + {"2806:2f0:3261::/46", "17072"}, + {"2400:89c0:1091::/48", "23724"}, + {"240a:abbb::/32", "145653"}, + {"240a:aeb3::/32", "146413"}, + {"2607:ffc8:0:7::/47", "17356"}, + {"2800:160:12be::/41", "14259"}, + {"2409:8070:2100::/36", "9808"}, + {"2605:a404:8b::/42", "33363"}, + {"2804:5050::/32", "268381"}, + {"2804:63f4::/32", "269394"}, + {"2a02:5b20::/32", "47720"}, + {"2001:559:86af::/48", "33491"}, + {"2602:fc09:800::/45", "13780"}, + {"2800:68:37::/48", "27947"}, + {"2804:920:5200::/32", "263053"}, + {"2a02:6f00::/36", "197692"}, + {"2a0f:33c0::/29", "37286"}, + {"2408:8957:4700::/40", "17816"}, + {"2a02:26f7:f048::/48", "36183"}, + {"240e:974:e700::/40", "4134"}, + {"2a02:26f7:d148::/47", "36183"}, + {"2a07:f101::/36", "28885"}, + {"2803:9800:a8c5::/46", "11664"}, + {"2001:559:c263::/48", "33657"}, + {"240a:a7f4::/32", "144686"}, + {"2607:3400::/32", "26891"}, + {"2a03:5640:f507::/44", "16509"}, + {"2a07:22c1:38::/48", "210715"}, + {"2001:4457:ff0::/48", "20940"}, + {"2409:8070:30f8::/45", "140105"}, + {"240e:e1:d101::/30", "4812"}, + {"2a02:367:1187::/48", "42804"}, + {"2a07:9942:39d8::/47", "43350"}, + {"2a09:a440::/48", "205479"}, + {"2001:559:5e5::/48", "7922"}, + {"2402:3a80:c00b::/48", "38266"}, + {"2402:3a80:c034::/47", "38266"}, + {"2409:8700::/31", "56048"}, + {"2804:47f4::/32", "267088"}, + {"2a01:8840:7a::/45", "12041"}, + {"2a02:26f7:ee01::/46", "20940"}, + {"2c0f:e8e0:4010::/42", "327926"}, + {"2001:df0:59c0::/48", "149475"}, + {"2001:df5:4b80::/48", "141404"}, + {"2408:8957:3c00::/40", "17622"}, + {"2605:c640::/32", "62538"}, + {"2607:fb58:d202::/40", "53933"}, + {"2804:53c::/33", "53004"}, + {"2a02:7840::/32", "51088"}, + {"2001:5b8::/32", "13645"}, + {"2400:9380:8221::/48", "4134"}, + {"2602:fcf6:ffe::/48", "49780"}, + {"2804:7c40::/32", "271484"}, + {"2a00:1bd0::/32", "39704"}, + {"2a0f:e040:2::/48", "210662"}, + {"2001:67c:29e0::/48", "21131"}, + {"2a04:c900:3000::/36", "48096"}, + {"2a0e:fd45:b50::/47", "207722"}, + {"2604:6e00:800::/37", "13977"}, + {"2610:a1:1001::/48", "397228"}, + {"2804:1068::/32", "263634"}, + {"2001:559:c151::/48", "33654"}, + {"2404:7c00:50::/32", "45650"}, + {"2405:600:5001::/32", "55805"}, + {"2409:8c62:ff01::/40", "9808"}, + {"2600:140f:c401::/38", "20940"}, + {"2604:c880::/41", "46455"}, + {"2806:2f0:30e3::/39", "17072"}, + {"2a02:26f7:d150::/48", "36183"}, + {"2a02:838a:50::/29", "8412"}, + {"2a05:a884:10::/48", "51964"}, + {"2001:559:c0c0::/48", "7016"}, + {"2001:559:c191::/48", "13367"}, + {"2001:67c:2ad0::/48", "60053"}, + {"2409:893e::/25", "9808"}, + {"2600:6c10:ff23::/45", "20115"}, + {"2804:1f4c::/32", "269175"}, + {"2a06:8e01:1::/46", "44103"}, + {"2a0d:f47::/32", "39080"}, + {"2001:1a11:cc::/43", "42298"}, + {"2403:9800:b017::/48", "4648"}, + {"2409:4014:1000::/34", "55836"}, + {"2620:10a:a000::/47", "16920"}, + {"2620:149:1a10::/39", "714"}, + {"2804:cb0:8889::/34", "52742"}, + {"2804:47a8::/32", "267069"}, + {"2a05:9f04::/42", "210374"}, + {"2a0a:e5c0:22::/48", "213081"}, + {"2a0d:2683::/36", "207268"}, + {"2001:da8:3029::/48", "23910"}, + {"240a:a969::/32", "145059"}, + {"2606:a300:3::/45", "35847"}, + {"2a06:cd40:100::/48", "43927"}, + {"2001:678:15c::/48", "209616"}, + {"2804:7a64::/34", "271368"}, + {"2001:4878:a215::/46", "12222"}, + {"2a0a:7e80::/29", "203203"}, + {"2001:559:85c2::/48", "33491"}, + {"2801:80:3520::/48", "268844"}, + {"2a05:f080::/29", "38919"}, + {"2001:559:c36b::/48", "7922"}, + {"2001:5f8:7f0d::/48", "399693"}, + {"2001:c20:11::/44", "3758"}, + {"2408:8459:4a50::/37", "17816"}, + {"240a:a181::/32", "143035"}, + {"2a06:bcc0:9::/48", "203724"}, + {"2a09:a4c1::/32", "208861"}, + {"2a0a:4940:10::/48", "208972"}, + {"2408:8956:8c00::/40", "17622"}, + {"2a0a:e700::/32", "3292"}, + {"2001:1248:980f::/43", "11172"}, + {"2606:4700:81c0::/44", "13335"}, + {"2a0b:b600:3802::/47", "57758"}, + {"2001:253:135::/48", "142101"}, + {"2001:559:59a::/45", "33659"}, + {"2406:9b80::/32", "132585"}, + {"2a0b:680::/29", "43853"}, + {"2001:559:1ca::/48", "7922"}, + {"2620:110:7000::/44", "13880"}, + {"2804:6f1c::/32", "270639"}, + {"2a07:b8c3:5::/32", "14043"}, + {"2001:1a11:127::/44", "42298"}, + {"2804:18:840::/44", "10429"}, + {"2a07:7140::/29", "202907"}, + {"2a0c:9a40:1009::/48", "34927"}, + {"2001:559:c0eb::/48", "33287"}, + {"2407:c8c0::/32", "134026"}, + {"240a:a2ae::/32", "143336"}, + {"240a:a2b4::/32", "143342"}, + {"2607:f4b8::/32", "22438"}, + {"2804:14d:1885::/44", "28573"}, + {"2a00:1690::/32", "44123"}, + {"2607:f7c8:701::/32", "36221"}, + {"2a01:5041:400e::/48", "202196"}, + {"2a01:6d80:2000::/36", "15683"}, + {"2001:67c:2660::/48", "205016"}, + {"2a03:9700::/32", "20847"}, + {"2400:7fc0:4000::/40", "55960"}, + {"2401:d800:f980::/42", "7552"}, + {"2408:8256:399c::/48", "17816"}, + {"240a:a1bc::/32", "143094"}, + {"2800:5f0:806::/44", "22724"}, + {"2402:800:7c20::/41", "7552"}, + {"2404:63c0:20::/44", "131645"}, + {"2406:3003:2050::/44", "4657"}, + {"2408:840c:6800::/40", "17621"}, + {"2a0b:b82::/44", "7489"}, + {"2001:559:c0b7::/48", "7015"}, + {"2001:1b70:82b0::/46", "158"}, + {"2401:cf80:6109::/40", "55303"}, + {"240a:aba9::/32", "145635"}, + {"2801:80:3810::/48", "52885"}, + {"2a09:bac0:181::/48", "13335"}, + {"2001:3c8:130a::/48", "17827"}, + {"2001:678:2c8::/48", "47121"}, + {"2600:1409:5001::/36", "20940"}, + {"2001:559:c305::/48", "33657"}, + {"2404:f780:4::/47", "136557"}, + {"2408:8459:52c0::/37", "17816"}, + {"2600:6c3b:486::/43", "20115"}, + {"2603:f050::/26", "397165"}, + {"2804:30b8:bd::/32", "28154"}, + {"2001:559:8119::/48", "7922"}, + {"2001:559:8254::/48", "33651"}, + {"240e:980:2100::/40", "4811"}, + {"2804:10bc::/37", "263646"}, + {"2001:559:502::/47", "7016"}, + {"2001:dc9::/32", "24252"}, + {"2001:44b8:3a::/48", "7545"}, + {"240a:a01e::/32", "142680"}, + {"240e:3b9:1400::/38", "134773"}, + {"2600:3007:1400::/32", "13649"}, + {"2a02:26f7:d849::/46", "20940"}, + {"2001:4168::/32", "31424"}, + {"2408:8256:3d60::/44", "17623"}, + {"2001:250:20d::/46", "23910"}, + {"2001:43f8:790::/48", "6968"}, + {"2401:4900:22f0::/39", "45609"}, + {"2408:8956:4b00::/40", "17816"}, + {"2409:8c15:2000::/40", "9808"}, + {"2606:4dc0:4::/32", "399077"}, + {"2a02:26f7:c944::/48", "36183"}, + {"2001:4408:1090::/39", "4758"}, + {"2401:d1c0:8000::/33", "136994"}, + {"240a:a921::/32", "144987"}, + {"2620:4:c000::/48", "20126"}, + {"2804:320c::/32", "265053"}, + {"2a01:c9c0:801c::/48", "2285"}, + {"2a02:26f7:f685::/46", "20940"}, + {"2c0f:f010:8001::/33", "37236"}, + {"2405:ec0:2000::/36", "132768"}, + {"2409:8d1a::/32", "132525"}, + {"240a:a8eb::/32", "144933"}, + {"2a0a:eb00::/29", "212238"}, + {"2001:559:8236::/48", "7922"}, + {"240a:a509::/32", "143939"}, + {"2600:370f:3084::/46", "32261"}, + {"2600:8807:ab22::/40", "22773"}, + {"2607:f570::/32", "13326"}, + {"2a02:1758::/29", "39781"}, + {"240a:abde::/32", "145688"}, + {"2600::/47", "1239"}, + {"2a00:1700::/32", "15672"}, + {"2a07:9f00::/29", "204044"}, + {"2a0c:4280::/32", "20866"}, + {"2a12:d980::/32", "49490"}, + {"2408:84f3:9210::/42", "134543"}, + {"240e:698:2b00::/33", "4134"}, + {"2a02:e980:10c::/46", "19551"}, + {"2001:559:826e::/47", "7922"}, + {"2001:559:c440::/48", "20214"}, + {"2001:18b8:6::/44", "29789"}, + {"2a0a:700::/29", "49720"}, + {"2a0f:9400:7350::/48", "14570"}, + {"2001:559:c10a::/48", "21508"}, + {"2403:80::/32", "134623"}, + {"2405:6e00:22ef::/43", "133612"}, + {"2408:8459:cb10::/42", "17623"}, + {"2620:34:c000::/48", "32031"}, + {"2804:7794::/32", "271187"}, + {"2a0b:81c0::/29", "206893"}, + {"2001:4830:c0c0::/44", "3384"}, + {"2406:6e00:f048::/48", "10310"}, + {"240a:aecd::/32", "146439"}, + {"240e:438:7c20::/43", "140647"}, + {"2606:3000:e000::/35", "30295"}, + {"2607:f7a0:b::/43", "46562"}, + {"2804:7b08::/32", "271407"}, + {"2001:559:70f::/48", "33491"}, + {"240a:a6da::/32", "144404"}, + {"2606:f900:9002::/36", "812"}, + {"2804:2360::/32", "264158"}, + {"2001:67c:2b6c::/48", "3301"}, + {"2001:df3:7e00::/48", "135555"}, + {"2403:5f40:1::/48", "58869"}, + {"240a:a1cd::/32", "143111"}, + {"2607:fc48:808::/48", "40009"}, + {"2800:160:10cf::/43", "14259"}, + {"2001:1248:5ac5::/43", "11172"}, + {"2804:0:1c01::/33", "2716"}, + {"2804:984::/33", "263097"}, + {"2a02:26f7:ee8c::/48", "36183"}, + {"2401:d800:9fd0::/42", "7552"}, + {"2409:8074:30f2::/44", "9808"}, + {"2a01:c50f:f3c0::/37", "12479"}, + {"2a02:26f7:cd56::/42", "20940"}, + {"2a0e:fd45:40f2::/48", "41108"}, + {"2a10:5b00::/29", "208256"}, + {"2404:cc00:999a::/33", "24441"}, + {"240a:a06d::/32", "142759"}, + {"240a:ab38::/32", "145522"}, + {"2800:484:8a00::/40", "14080"}, + {"2806:2f0:40c3::/43", "17072"}, + {"2a10:c941:0:2::/43", "35277"}, + {"2001:559:1f8::/47", "33659"}, + {"2001:559:81ad::/46", "7922"}, + {"2806:370:8060::/40", "28403"}, + {"2001:559:80e6::/48", "33657"}, + {"2001:579:b984::/37", "22773"}, + {"2400:cd00:1044::/48", "138911"}, + {"2405:9800:d002::/48", "45430"}, + {"2800:3d0::/32", "2688"}, + {"2804:31d4::/32", "53139"}, + {"2806:2f0:9323::/41", "17072"}, + {"2a03:1ac0:2e92::/48", "12768"}, + {"2c0f:f7a8:8150::/48", "4134"}, + {"2600:1009:f010::/40", "22394"}, + {"2600:6c38:63e::/47", "20115"}, + {"2606:6080:2004::/46", "32489"}, + {"2a00:c5e0::/32", "198399"}, + {"2a02:26f7:d480::/48", "36183"}, + {"2a0a:7e40::/46", "206056"}, + {"2a0b:1306:6::/47", "198018"}, + {"2001:678:b48::/48", "208008"}, + {"2409:8752:1100::/31", "56047"}, + {"2804:2bf4::/32", "262785"}, + {"2804:4a78::/32", "267242"}, + {"2a0f:68c0::/29", "60781"}, + {"2a02:2870::/33", "25459"}, + {"2a0a:5580:1002::/47", "208687"}, + {"2a0a:6040:407f::/32", "61138"}, + {"2001:898::/29", "15879"}, + {"2001:9b8:3::/32", "6774"}, + {"2408:840c:ad00::/40", "17621"}, + {"2a02:26f7:e2c5::/46", "20940"}, + {"2a0f:607:1054::/48", "212360"}, + {"2c0f:f668::/32", "37519"}, + {"2401:4900:47d0::/44", "45609"}, + {"2401:d800:2402::/40", "7552"}, + {"2600:6000:f003::/48", "11351"}, + {"2606:73c0::/32", "15169"}, + {"2607:3500:f00::/40", "11228"}, + {"2804:6c20::/32", "270447"}, + {"2804:7944::/32", "271295"}, + {"2001:559:80b8::/48", "33659"}, + {"2602:fea5::/36", "35859"}, + {"2603:90f5:b::/48", "11426"}, + {"2804:a4::/32", "53089"}, + {"2a07:3404::/32", "396931"}, + {"2001:559:311::/48", "33491"}, + {"2a06:a000:160::/44", "208046"}, + {"2a0a:5340:ffff::/48", "3320"}, + {"2a0d:5040::/31", "8315"}, + {"2804:21f8:500::/32", "262272"}, + {"2806:2f0:81e0::/38", "17072"}, + {"2a0f:1300::/29", "57675"}, + {"240a:a02b::/32", "142693"}, + {"240a:a987::/32", "145089"}, + {"2600:809:424::/48", "397601"}, + {"2a00:60c0::/32", "34461"}, + {"2a03:ef42::/33", "57218"}, + {"2a0d:7c0::/29", "29262"}, + {"2403:4700::/47", "23728"}, + {"2406:a900:144::/47", "136409"}, + {"2408:8459:6e50::/35", "17816"}, + {"240a:a478::/32", "143794"}, + {"2400:cb00:302::/48", "395747"}, + {"2806:20d:3603::/40", "32098"}, + {"2a06:8380::/29", "212526"}, + {"2001:ac8:36::/44", "9009"}, + {"240a:ae68::/32", "146338"}, + {"2a02:26f7:de0d::/42", "20940"}, + {"2001:559:c3ac::/48", "33287"}, + {"2800:110::/44", "4270"}, + {"2a01:56c1:10::/44", "198864"}, + {"2a02:26f7:15::/48", "20940"}, + {"2a0e:1700::/31", "204135"}, + {"2a0f:b104::/48", "213110"}, + {"2001:e60:a330::/40", "4766"}, + {"2600:1407:5::/48", "18717"}, + {"2800:160:157a::/40", "14259"}, + {"2a0b:3c40:24::/48", "204402"}, + {"2804:c48:e300::/36", "52687"}, + {"2804:3f10::/33", "262566"}, + {"2a02:2e02:8c80::/43", "12479"}, + {"2804:508:ff20::/40", "52999"}, + {"2a07:3502:1040::/48", "38915"}, + {"2001:559:34b::/48", "7922"}, + {"240a:a38b::/32", "143557"}, + {"2600:300::/25", "7018"}, + {"2602:fde4::/36", "22058"}, + {"2800:bf0:2ac0::/46", "52257"}, + {"2a02:9a0::/32", "48514"}, + {"2a02:26f7:f08c::/48", "36183"}, + {"2001:559:83d1::/48", "7922"}, + {"2001:559:c2ef::/48", "7016"}, + {"2001:1a11:12::/44", "8781"}, + {"240e:438:1a40::/37", "4134"}, + {"2a02:26f7:9::/48", "20940"}, + {"2a02:26f7:74::/48", "36183"}, + {"2a02:5f83::/32", "39811"}, + {"2001:559:80b9::/46", "33287"}, + {"2806:2f0:71c1::/46", "17072"}, + {"2a05:a3c0::/29", "201127"}, + {"2a10:de40::/29", "34907"}, + {"2602:fcc2::/36", "399289"}, + {"2804:5cbc:fa00::/42", "52795"}, + {"2a02:e00:ffe8::/48", "43289"}, + {"2001:579:91b0::/41", "22773"}, + {"2401:4900:3670::/40", "45609"}, + {"2401:ec00::/32", "24349"}, + {"2600:9000:f110::/48", "16509"}, + {"2620:135:f000::/44", "393468"}, + {"2803:3040::/32", "27660"}, + {"2a0d:5600:66::/44", "9009"}, + {"2408:8956:b100::/40", "17816"}, + {"2604:2d80:c02c::/46", "30036"}, + {"2a12:4946:1600::/48", "211398"}, + {"2001:250:6413::/45", "24367"}, + {"2001:1998:4000::/32", "7843"}, + {"2404:f4c0:8867::/44", "210384"}, + {"2407:500:502::/47", "58940"}, + {"240a:afd4::/32", "146702"}, + {"2610:1d0::/32", "40068"}, + {"2a02:9b0:8005::/33", "35819"}, + {"2a05:abc0::/29", "43260"}, + {"2a0f:9c40::/29", "206983"}, + {"2001:559:8429::/48", "7015"}, + {"2001:918:ff5d::/48", "15398"}, + {"2804:2058::/32", "264487"}, + {"2806:370:7150::/40", "28403"}, + {"2001:550:220c::/46", "174"}, + {"2001:4878:8356::/48", "12222"}, + {"2409:8062:3900::/28", "9808"}, + {"2a00:d260::/29", "15600"}, + {"2a0f:2c80:1::/48", "25369"}, + {"2001:67c:16d0::/47", "44574"}, + {"2401:d800:d1f0::/38", "7552"}, + {"2404:7500::/32", "58655"}, + {"240a:a5bd::/32", "144119"}, + {"2620:78:8000::/48", "53280"}, + {"2804:45d8::/32", "266953"}, + {"2401:fbc0::/32", "134922"}, + {"2409:8c54:1040::/43", "9808"}, + {"240a:adf0::/32", "146218"}, + {"2a07:1a80::/48", "48767"}, + {"2a0e:aa07:f041::/46", "208993"}, + {"2001:559:8162::/48", "33491"}, + {"2804:2f30:fd00::/38", "53096"}, + {"2806:20d:1631::/45", "32098"}, + {"2a02:26f7:eb08::/48", "36183"}, + {"2a06:9681::/32", "203954"}, + {"2402:800::/35", "7552"}, + {"2606:7d80:1000::/33", "16399"}, + {"2806:2f0:2140::/48", "17072"}, + {"2a09:900:100::/38", "15576"}, + {"240a:add2::/32", "146188"}, + {"2801:80:300::/48", "53039"}, + {"2a00:cb60:1::/48", "47488"}, + {"2a02:2208:2::/29", "6697"}, + {"2a02:2d20::/32", "202096"}, + {"2a0d:c0c0:4e1::/48", "59439"}, + {"2604:af80:1c48::/34", "18859"}, + {"2a00:af60::/32", "199364"}, + {"2a02:26f7:96::/48", "36183"}, + {"2a11:f100::/29", "400522"}, + {"2001:559:8221::/48", "7922"}, + {"240a:a242::/32", "143228"}, + {"2602:fc33::/36", "40281"}, + {"2804:7f6:8000::/33", "18881"}, + {"2804:2e80::/32", "265349"}, + {"2a01:430::/43", "24971"}, + {"2a10:2c80::/32", "58010"}, + {"2001:250:6c44::/38", "23910"}, + {"2001:559:c3ee::/48", "33287"}, + {"2001:42a0::/32", "6083"}, + {"2400:7400:38::/48", "38044"}, + {"2400:a040::/44", "136237"}, + {"240e:109:8042::/48", "58466"}, + {"2600:1900:4000::/39", "396982"}, + {"2602:fcb5::/36", "51999"}, + {"2603:f8f8::/23", "397165"}, + {"2a00:1288:81::/46", "10310"}, + {"2408:8956:9900::/40", "17816"}, + {"2402:800:531d::/42", "7552"}, + {"2407:4940::/48", "140770"}, + {"240a:a041::/32", "142715"}, + {"2804:3b74::/32", "266150"}, + {"2804:5abc::/32", "268792"}, + {"2402:aa40::/32", "137330"}, + {"2603:fb50::/26", "397165"}, + {"2a02:ba8::/32", "15894"}, + {"2400:fc00:4110::/38", "45773"}, + {"2a02:26f7:c144::/48", "36183"}, + {"2a0e:97c0:1b0::/46", "211840"}, + {"2001:559:779::/48", "22909"}, + {"2001:918:ff75::/48", "3303"}, + {"2401:d800:9720::/41", "7552"}, + {"2408:8956:5500::/40", "17816"}, + {"2409:e:e3::/31", "55824"}, + {"240e:e:c000::/37", "58540"}, + {"2a02:26f7:10e::/48", "36183"}, + {"240a:a167::/32", "143009"}, + {"240a:ae59::/32", "146323"}, + {"2610:160:12::/32", "27325"}, + {"2605:9080::/32", "54858"}, + {"2a02:26f7:bd89::/46", "20940"}, + {"2a0e:b107:b8f::/48", "212995"}, + {"2001:4818:3000::/36", "40341"}, + {"2804:2d2c:fc00::/38", "52971"}, + {"2804:4458::/32", "267627"}, + {"2804:55c4::/32", "267955"}, + {"2a02:26f7:ef84::/48", "36183"}, + {"2001:559:47e::/48", "7725"}, + {"2001:1260:10::/39", "13591"}, + {"2001:b000:594::/48", "131660"}, + {"240a:a071::/32", "142763"}, + {"2801:1f0:404a::/45", "3573"}, + {"2a02:26f7:ec8c::/48", "36183"}, + {"2405:6e00:620::/43", "18291"}, + {"2408:8456:cf00::/42", "17622"}, + {"2606:ae00:cc31::/41", "7287"}, + {"2620:1e8:3::/45", "29802"}, + {"2a02:2e02:13c0::/37", "12479"}, + {"2a07:4a40::/29", "57795"}, + {"2600:1014:a000::/43", "6167"}, + {"2600:140b:201::/37", "20940"}, + {"2620:5e:e000::/48", "396088"}, + {"2804:2f8c::/32", "264898"}, + {"2806:2f0:61e1::/46", "17072"}, + {"2001:df6:1300::/48", "138117"}, + {"2400:b200:4104::/32", "37963"}, + {"2409:8c34:1000::/33", "9808"}, + {"240e:108:11e2::/48", "4816"}, + {"2001:16b8:db00::/34", "8881"}, + {"2409:804f:3100::/36", "9808"}, + {"240a:a199::/32", "143059"}, + {"2607:b400:a03::/32", "40220"}, + {"2620:0:b60::/48", "17204"}, + {"2804:69b0:50::/42", "270285"}, + {"2a09:6280:1::/48", "56603"}, + {"2620:11c:f004::/48", "393667"}, + {"2800:340::/32", "5692"}, + {"2802::/43", "18747"}, + {"2803:6600::/31", "28075"}, + {"2804:9d4:3001::/33", "262996"}, + {"2a0e:b107:120f::/48", "142130"}, + {"2001:559:7e0::/48", "7922"}, + {"2001:67c:1850::/48", "16086"}, + {"2405:1c0:6231::/45", "55303"}, + {"2407:9800::/30", "10139"}, + {"2605:ac80::/32", "33481"}, + {"2001:1978:801::/48", "21775"}, + {"2803:8d80:5002::/32", "11664"}, + {"2a05:15c0::/29", "201600"}, + {"2402:800:33d3::/44", "7552"}, + {"2804:58f0::/32", "268159"}, + {"2804:7818::/32", "271220"}, + {"2a02:26f7:f388::/48", "36183"}, + {"2a07:ad80::/29", "46261"}, + {"2001:250:101f::/48", "24364"}, + {"2408:80ea:7600::/41", "17816"}, + {"2408:8459:de50::/34", "17816"}, + {"240a:a1b6::/32", "143088"}, + {"240e:44d:6980::/41", "4134"}, + {"2804:3018::/32", "263020"}, + {"2a02:26f7:bf44::/48", "36183"}, + {"2001:49f0:d0ff::/48", "174"}, + {"2401:d800:d1b2::/41", "7552"}, + {"2402:800:613a::/41", "7552"}, + {"2408:8957:7000::/40", "17622"}, + {"2409:8a53:1100::/32", "56047"}, + {"240e:7b2::/36", "140313"}, + {"2804:3f64::/32", "265890"}, + {"2a0e:97c3:7fc::/48", "20473"}, + {"2001:559:80f6::/48", "7015"}, + {"2001:559:86dc::/47", "33651"}, + {"240a:a440::/32", "143738"}, + {"2600:1fa0:1020::/44", "16509"}, + {"2804:ae0:2b00::/37", "28352"}, + {"2804:184c::/39", "61928"}, + {"2800:1e0:c02::/39", "7195"}, + {"2a07:cb84::/32", "28878"}, + {"2a0e:97c7:d9::/45", "20473"}, + {"2001:7fb:fd02::/47", "12654"}, + {"2400:e2::/31", "4766"}, + {"240a:afeb::/32", "146725"}, + {"2806:230:2018::/48", "265594"}, + {"2400:1360:c000::/34", "147051"}, + {"2408:8459:ea30::/41", "17622"}, + {"2408:84f3:e040::/38", "17816"}, + {"2408:8957:5200::/40", "17622"}, + {"2409:8020:2902::/35", "56046"}, + {"2605:a401:80b8::/47", "33363"}, + {"2803:f080:8900::/43", "64120"}, + {"2a00:79e0:502::/47", "45566"}, + {"2a0e:afc0::/29", "207902"}, + {"2a0e:b107:b15::/48", "212580"}, + {"2400:9940:1003::/34", "136224"}, + {"2407:f700::/36", "132215"}, + {"2a02:26f0:1e00::/48", "34164"}, + {"2405:9f80::/32", "134743"}, + {"2804:3264::/32", "265075"}, + {"2a0c:e000::/31", "31054"}, + {"2001:b08:1a::/45", "3267"}, + {"2409:4052:1000::/34", "55836"}, + {"2804:5518::/32", "268689"}, + {"2806:213::/32", "33182"}, + {"2a02:26f7:c549::/42", "20940"}, + {"240e:3ba:1200::/39", "4134"}, + {"2a02:2698:402a::/47", "56377"}, + {"2001:559:393::/48", "33490"}, + {"2001:67c:644::/48", "58343"}, + {"2001:67c:708::/48", "50629"}, + {"240e:44d:7300::/42", "140345"}, + {"2a0c:e840::/29", "202701"}, + {"240a:a0f6::/32", "142896"}, + {"240a:ac97::/32", "145873"}, + {"2a02:2e0:3ff::/37", "12306"}, + {"2a03:a7a0:3::/32", "203316"}, + {"2401:df40:1::/48", "23734"}, + {"240a:acd2::/32", "145932"}, + {"2a02:26f7:cbc8::/48", "36183"}, + {"2a02:26f7:f608::/48", "36183"}, + {"2600:1000:b100::/41", "6167"}, + {"2a00:16f8:e::/48", "397942"}, + {"2a01:a7e0:1000::/36", "29422"}, + {"2001:1248:56da::/47", "11172"}, + {"240a:a159::/32", "142995"}, + {"240a:ab22::/32", "145500"}, + {"2607:b600::/46", "10397"}, + {"2a00:b5c0::/32", "57910"}, + {"2a02:af8::/32", "29550"}, + {"2a0d:b600::/29", "48642"}, + {"2001:470:2c::/46", "6939"}, + {"2600:1404:801::/35", "20940"}, + {"2a00:97c0::/32", "13243"}, + {"2a02:26f7:ec84::/48", "36183"}, + {"2a04:4e40:8210::/44", "54113"}, + {"2408:8459:f500::/40", "17623"}, + {"2800:ba0:26::/48", "263812"}, + {"2a01:b700::/32", "45011"}, + {"2607:fb58:d200::/47", "53933"}, + {"2800:530::/32", "52233"}, + {"2804:3f14::/32", "266638"}, + {"2a02:2e02:f60::/40", "12479"}, + {"240a:a1b4::/32", "143086"}, + {"2600:370f:7262::/45", "32261"}, + {"2a02:2ab8:130::/38", "702"}, + {"2600:1f1f::/36", "16509"}, + {"2a02:26f7:bac1::/46", "20940"}, + {"2001:579:e360::/40", "22773"}, + {"2408:400e:24::/32", "37963"}, + {"2605:3a00::/47", "22768"}, + {"2605:a900:4806::/47", "46887"}, + {"2001:468:365::/37", "11537"}, + {"240e:87c:c0::/38", "137692"}, + {"2804:5350::/45", "268576"}, + {"2a02:26f7:d101::/46", "20940"}, + {"2a06:5484::/30", "43754"}, + {"2001:1248:9932::/44", "11172"}, + {"2401:4900:4d20::/44", "45609"}, + {"2406:3001:22:a::/59", "4657"}, + {"2605:a404:105::/41", "33363"}, + {"2806:3aa::/32", "265627"}, + {"2001:559:c4a0::/48", "33287"}, + {"2804:3280::/32", "265082"}, + {"2a04:a147::/32", "198507"}, + {"2001:550:2800:101::/48", "174"}, + {"2a04:a8c0::/29", "33438"}, + {"2a04:ce00::/29", "21412"}, + {"2a05:6280:dead::/48", "201349"}, + {"2001:4d0:6318::/48", "10343"}, + {"2001:57a:8202::/35", "22773"}, + {"2803:cae0::/48", "270046"}, + {"2a00:1197::/32", "206364"}, + {"2a01:2e1:ffff:7::/28", "8374"}, + {"2a02:7340::/32", "44838"}, + {"2001:559:c31e::/48", "33287"}, + {"2a00:79e1:f0f::/43", "36384"}, + {"2a07:7800:3::/45", "48254"}, + {"2600:6c38:8ca::/45", "20115"}, + {"2800:160:1c71::/45", "14259"}, + {"2803:8960:105::/32", "269736"}, + {"2a04:4e42:401::/38", "54113"}, + {"2a10:1e00::/32", "208245"}, + {"2001:559:76c::/48", "7922"}, + {"2001:5a0:3904::/38", "6453"}, + {"2001:7b8:407::/29", "12859"}, + {"2409:8020:3052::/42", "56046"}, + {"2600:140f:200::/48", "9498"}, + {"2806:2f0:1063::/43", "17072"}, + {"2620:3f:a000::/48", "18696"}, + {"2806:2f0:71a3::/41", "17072"}, + {"2a02:cb80:2910::/48", "43766"}, + {"2a07:1fc0::/29", "42970"}, + {"2001:1248:5a91::/44", "11172"}, + {"2409:8714:8a00::/31", "56044"}, + {"240a:a647::/32", "144257"}, + {"2602:feda:d51::/48", "141712"}, + {"2804:822c::/32", "272503"}, + {"2a02:26f7:ec80::/48", "36183"}, + {"2001:250:7005::/48", "24370"}, + {"2001:1248:88b2::/41", "11172"}, + {"2408:8256:398::/37", "17622"}, + {"2603:f8f0::/29", "40676"}, + {"2607:fc28:7000::/32", "22911"}, + {"2800:bf0:2426::/43", "27947"}, + {"2a02:26f7:d158::/47", "36183"}, + {"2a0b:6300::/29", "33983"}, + {"2a0c:a480::/29", "47777"}, + {"2001:67c:1bec::/48", "59624"}, + {"2600:100a:b000::/42", "6167"}, + {"2600:370f:4060::/43", "32261"}, + {"2600:6c10:613::/41", "20115"}, + {"2a10:5c40::/29", "59441"}, + {"2001:c20:c824::/46", "9255"}, + {"2400:addc::/39", "9541"}, + {"2607:fd28:a010::/47", "3725"}, + {"2a00:f10:141::/48", "29290"}, + {"2a0a:d6c0:2035::/48", "203564"}, + {"2a00:7b00:1a::/32", "12338"}, + {"2a02:2280::/29", "12924"}, + {"2a0d:5600:70::/46", "9009"}, + {"2400:8500:d29d::/48", "7506"}, + {"2606:2800:6070::/46", "15133"}, + {"2607:fb10:2025::/43", "2906"}, + {"2806:2f0:71c3::/42", "17072"}, + {"2a01:81e0:3::/32", "174"}, + {"2a03:522::/32", "201419"}, + {"2a03:2887:ff35::/48", "63293"}, + {"240e:16:c801::/31", "4134"}, + {"240e:ff:c006::/48", "140308"}, + {"2606:a240::/32", "400354"}, + {"2806:1018:cbff:100::/48", "8151"}, + {"2402:f700::/34", "23907"}, + {"2607:d400::/46", "22364"}, + {"2803:6900:520::/48", "52423"}, + {"2806:2f0:60e3::/39", "17072"}, + {"240a:a0c6::/32", "142848"}, + {"2604:85c0:a::/32", "16524"}, + {"2620:11b:1000::/40", "32274"}, + {"2804:6f28::/32", "270642"}, + {"2a07:a343:94d0::/44", "9009"}, + {"2402:d600::/32", "17948"}, + {"2404:4e00:104::/47", "32787"}, + {"240a:a6c1::/32", "144379"}, + {"2607:fdf8:300::/40", "20284"}, + {"2804:145c:c410::/39", "263327"}, + {"2001:559:439::/48", "33287"}, + {"2001:df0:a300::/48", "17990"}, + {"2605:3380:4309::/48", "12025"}, + {"2607:fd60:c938::/48", "6188"}, + {"2a00:4802:5000::/44", "13124"}, + {"2a02:26f7:c3e0::/48", "36183"}, + {"2a07:4300:1609::/48", "209622"}, + {"2a0d:5600:20::/44", "9009"}, + {"2a10:e800:3::/48", "204170"}, + {"2405:6e00:2f2::/44", "133612"}, + {"2a02:26f7:d24c::/48", "36183"}, + {"2a04:a240::/32", "61351"}, + {"2a0a:90c0:1002::/43", "205080"}, + {"2402:1b40:1002::/48", "7628"}, + {"240a:a00c::/32", "142662"}, + {"240e:a7:7fd8::/46", "140516"}, + {"2804:32b8::/32", "265095"}, + {"2a0a:eac2::/48", "60330"}, + {"240a:a9cf::/32", "145161"}, + {"240a:aae3::/32", "145437"}, + {"2804:520::/47", "262496"}, + {"2a02:750:9::/43", "42708"}, + {"2001:500:13f::/48", "396574"}, + {"2001:559:7a7::/48", "21508"}, + {"2402:800:99b7::/41", "7552"}, + {"2404:3d00:40f2::/45", "3573"}, + {"2a0f:85c1:80::/48", "209735"}, + {"2001:559:710::/48", "33657"}, + {"2400:cb00:445::/44", "13335"}, + {"2404:e680:1121::/41", "18409"}, + {"2405:7f00:9d00::/38", "133414"}, + {"2402:fbc0::/44", "134014"}, + {"2801:80:f80::/44", "264261"}, + {"2804:6248::/32", "269288"}, + {"2607:f358:c::/43", "18779"}, + {"2a06:f901:8000::/36", "8849"}, + {"2001:4b98:abcc::/33", "29169"}, + {"2401:3bc0:7::/44", "137409"}, + {"2602:fff6:1::/46", "8100"}, + {"2607:6b80:36::/48", "9009"}, + {"2610:b0:4032::/45", "3573"}, + {"2a02:6f80::/29", "8851"}, + {"2408:8957:8600::/40", "17622"}, + {"240e:980:9700::/40", "4134"}, + {"2607:8a00::/32", "7212"}, + {"2800:160:142a::/45", "14259"}, + {"2806:2f0:6161::/46", "17072"}, + {"2a04:1b00:6::/47", "61007"}, + {"2a04:4e40:9e00::/48", "54113"}, + {"240a:a5c0::/32", "144122"}, + {"2602:fcf7::/36", "398942"}, + {"2806:327::/32", "265573"}, + {"2a02:ff0:3300::/40", "12735"}, + {"2a06:4480::/29", "200430"}, + {"2a0d:b700::/48", "210984"}, + {"2a0e:fa40::/47", "56970"}, + {"2001:678:f64::/48", "16509"}, + {"2403:b080::/32", "17964"}, + {"240a:a8c8::/32", "144898"}, + {"2603:c001:2c10::/38", "31898"}, + {"2a0f:ab40::/32", "207797"}, + {"2001:470:e6::/48", "47787"}, + {"240a:a20a::/32", "143172"}, + {"240e:44d:6200::/41", "140345"}, + {"2600:6c38:70c::/46", "20115"}, + {"2602:800::/44", "397614"}, + {"2a01:5043:2003::/48", "202196"}, + {"240e:983:1807::/44", "4134"}, + {"2600:6c10:11::/44", "20115"}, + {"2605:6440:1000::/44", "396356"}, + {"2a02:16d0::/32", "49855"}, + {"2a03:2880:f144::/47", "32934"}, + {"2401:d800:f230::/41", "7552"}, + {"2408:8456:2240::/39", "17816"}, + {"2804:5268:200::/32", "268516"}, + {"2804:6688::/32", "269566"}, + {"2a02:f406:ff50::/48", "328778"}, + {"2a0b:e42:1::/48", "205809"}, + {"240a:ad18::/32", "146002"}, + {"2604:6d00:2300::/48", "36223"}, + {"2400:5280:2800::/38", "63199"}, + {"2404:bf40:a581::/46", "139084"}, + {"2a02:26f7:d18d::/46", "20940"}, + {"2a02:888:47::/48", "47794"}, + {"2a02:26f7:e911::/46", "20940"}, + {"2a05:b304::/30", "60781"}, + {"2a09:7c46::/32", "200019"}, + {"2a0b:f380:3e8::/48", "49544"}, + {"2402:4440:a001::/36", "24423"}, + {"2406:e000:301::/42", "23655"}, + {"240a:ae8e::/32", "146376"}, + {"2620:13::/48", "11647"}, + {"2a05:b2c2::/31", "12414"}, + {"2a10:4d40::/29", "49409"}, + {"2001:3c8:2708::/36", "4621"}, + {"2001:67c:2f70::/48", "3303"}, + {"2001:4878:a356::/48", "12222"}, + {"2403:dc00::/32", "45926"}, + {"2607:fb10:7036::/44", "2906"}, + {"2a03:567::/32", "48314"}, + {"2a03:a920::/32", "211417"}, + {"240d:c010:50::/48", "132591"}, + {"2a00:5ee0::/34", "44925"}, + {"2a0b:c080::/29", "197659"}, + {"2a10:ccc2:12::/44", "35619"}, + {"2001:559:772::/48", "7016"}, + {"2001:df3:6500::/48", "55379"}, + {"2405:7f00:9320::/37", "133414"}, + {"240a:af77::/32", "146609"}, + {"2604:280::/32", "6653"}, + {"2605:9fc0::/32", "396238"}, + {"2a0e:aa07:f088::/48", "211323"}, + {"2801:80:150::/48", "28261"}, + {"2806:2f0:3823::/33", "17072"}, + {"2001:67c:187c::/48", "41496"}, + {"2404:bf40:8380::/48", "7545"}, + {"2600:2c00::/34", "7349"}, + {"2620:153:81::/36", "6498"}, + {"2a02:2ca7::/42", "210662"}, + {"2001:da8:700f::/48", "23910"}, + {"2620:111:1001::/48", "18469"}, + {"2a0e:b107:bb0::/44", "212934"}, + {"240a:a35a::/32", "143508"}, + {"2804:164c:abcc::/33", "263280"}, + {"2804:6e90::/32", "270605"}, + {"2a12:3fc7:8000::/48", "39753"}, + {"2a07:3506:4c::/48", "29311"}, + {"2001:4070:8000::/33", "12831"}, + {"2804:1ae0:3::/32", "61696"}, + {"2a03:2500::/32", "59752"}, + {"2a0f:3e01::/32", "210625"}, + {"2a11:f780::/29", "204790"}, + {"2001:44b8:4068::/48", "7545"}, + {"2a0d:aa80::/29", "60380"}, + {"2c0f:faf0::/32", "11259"}, + {"2001:500:a9::/48", "394018"}, + {"2404:bf40:81c2::/38", "139084"}, + {"2409:8a55:2c00::/35", "9808"}, + {"240e:3b0:1200::/39", "4134"}, + {"2606:2800:4a24::/46", "15133"}, + {"2a00:4802:4e10::/44", "8717"}, + {"2a02:970:1029::/41", "44002"}, + {"2603:c0e8::/39", "1218"}, + {"2605:5c0:c100::/45", "28885"}, + {"2620:c1:8000::/48", "22931"}, + {"2a00:1d48::/32", "12571"}, + {"2a0b:11c0:4074::/47", "198682"}, + {"2001:480:35::/48", "668"}, + {"2001:559:b6::/47", "33287"}, + {"2001:559:47f::/48", "33489"}, + {"240a:ab96::/32", "145616"}, + {"2804:1d90::/32", "264378"}, + {"2804:4454::/32", "267625"}, + {"2804:47d4::/32", "267079"}, + {"2804:7340::/32", "270904"}, + {"2a00:55a0:ea00::/40", "9009"}, + {"2a02:26f7:cf81::/46", "20940"}, + {"2a02:2891:15::/48", "51185"}, + {"2001:559:c31c::/48", "33287"}, + {"2409:896a:4000::/39", "9808"}, + {"2600:6c38:e05::/44", "20115"}, + {"2a00:4960::/32", "42525"}, + {"2a02:26f7:6a::/48", "36183"}, + {"2a02:26f7:bd49::/46", "20940"}, + {"2a0d:4c40::/29", "61317"}, + {"2001:559:2e5::/46", "33651"}, + {"2401:2a80::/47", "58793"}, + {"2406:bb00::/29", "10010"}, + {"2804:2078::/32", "264492"}, + {"2a02:730:2::/35", "29278"}, + {"2a04:e00:104::/48", "39855"}, + {"2001:579:6240::/40", "22773"}, + {"2402:800:9347::/43", "7552"}, + {"2804:2634:2110::/32", "264332"}, + {"2804:2c88:8100::/33", "265225"}, + {"2a0f:b6c0::/29", "207788"}, + {"2001:559:99::/48", "33659"}, + {"240e:3b9:ac00::/35", "4134"}, + {"2620:134:6000::/46", "30031"}, + {"2a0d:3c46::/32", "62240"}, + {"2804:9f4::/32", "262530"}, + {"2804:1874::/32", "61934"}, + {"240a:a02d::/32", "142695"}, + {"2804:35fc::/32", "266319"}, + {"2a04:4e40:6020::/44", "54113"}, + {"2a0f:85c1:25::/48", "209507"}, + {"2001:1218:6038::/41", "278"}, + {"2409:8904:2ca0::/39", "24547"}, + {"2800:160:12eb::/39", "14259"}, + {"2804:18fc::/32", "61767"}, + {"2a02:9f8:9000::/44", "6900"}, + {"2a05:a882:10::/48", "51964"}, + {"2a0f:5140::/29", "209372"}, + {"2001:2000:3080:2345::/126", "29632"}, + {"2620:2a:c000::/48", "13977"}, + {"2a01:8840:b6::/44", "12041"}, + {"2a02:c647::/32", "61998"}, + {"2a04:4e40:f630::/44", "54113"}, + {"2a06:5040:20::/45", "6134"}, + {"2800:484:ec00::/40", "10620"}, + {"2806:263:a300::/37", "13999"}, + {"2400:9800:16::/44", "24203"}, + {"2606:b580::/32", "18897"}, + {"2610:e0:a040::/44", "3390"}, + {"2620:74:4::/48", "11840"}, + {"2804:4050::/32", "262856"}, + {"2a02:2738::/32", "51088"}, + {"2405:9000:204::/46", "7474"}, + {"240a:a34f::/32", "143497"}, + {"2806:105e:4::/44", "8151"}, + {"2001:559:c1b9::/48", "33652"}, + {"2600:1001:9110::/36", "22394"}, + {"2604:b300:ad04::/48", "174"}, + {"2605:6f40::/32", "207976"}, + {"2a02:26f7:e04d::/42", "20940"}, + {"2a03:2887:ff13::/48", "35819"}, + {"2c0f:f010::/32", "37236"}, + {"2c0f:fa90::/32", "37271"}, + {"2409:8958:c944::/43", "9808"}, + {"2a02:26f7:d4c8::/47", "36183"}, + {"2a04:e802::/43", "57976"}, + {"2a06:c180::/29", "44549"}, + {"2a11:fe80:fac0::/37", "209209"}, + {"2001:1260:10e::/43", "13591"}, + {"2402:800:6502::/36", "7552"}, + {"2408:8459:9050::/38", "17816"}, + {"2408:8459:a850::/38", "17816"}, + {"2600:1408:1a::/47", "20940"}, + {"2602:fe90:500::/40", "35913"}, + {"2804:151:61::/46", "10954"}, + {"2a00:1ec0:4000::/32", "8544"}, + {"2a02:2308:20::/48", "198485"}, + {"240a:a0c2::/32", "142844"}, + {"2a00:5940::/32", "207693"}, + {"2a07:7e00::/29", "34549"}, + {"2001:559:58c::/48", "33660"}, + {"2600:380:f1d4::/42", "20057"}, + {"2a03:9560::/29", "2590"}, + {"2a03:9c40:400::/48", "34655"}, + {"2001:da8:300f::/48", "23910"}, + {"2408:8956:9b00::/40", "17816"}, + {"240a:aa4e::/32", "145288"}, + {"240a:aa9f::/32", "145369"}, + {"2600:1002:9010::/40", "22394"}, + {"2409:8924:5b00::/37", "56046"}, + {"2409:894c::/30", "9808"}, + {"2605:edc0::/32", "398639"}, + {"2804:b18:8900::/37", "52941"}, + {"2001:48f8:f320::/44", "11055"}, + {"2804:744:102::/35", "262632"}, + {"2804:5578::/32", "262328"}, + {"2804:66e0:8000::/33", "269588"}, + {"2a02:2e02:21d0::/38", "12479"}, + {"2a04:eb00::/29", "21412"}, + {"2001:678:fc0::/48", "196944"}, + {"2803:9800:b4c1::/46", "11664"}, + {"2804:14b8::/32", "263346"}, + {"2001:559:5e9::/48", "33650"}, + {"2001:67c:2318::/48", "57057"}, + {"2406:9dc0:10::/44", "207268"}, + {"2804:4b88::/32", "267312"}, + {"2a00:4e00::/33", "15368"}, + {"2a02:26f7:c411::/45", "20940"}, + {"2001:559:c3d3::/48", "33660"}, + {"240a:a5d2::/32", "144140"}, + {"2a01:8d0::/32", "30722"}, + {"2a05:4200:7::/48", "21534"}, + {"2001:559:1e4::/48", "33651"}, + {"2402:d2c0::/46", "136897"}, + {"2408:8456:8240::/39", "17816"}, + {"2603:c001:1c10::/34", "31898"}, + {"2804:4eac::/32", "268276"}, + {"2001:67c:20b0::/48", "49342"}, + {"2a07:22c1:36::/48", "211244"}, + {"2001:1b70:82c0::/48", "158"}, + {"2401:f8c0::/32", "58895"}, + {"2402:8100:3929::/43", "55644"}, + {"2804:5894::/32", "268137"}, + {"2a02:26f7:d681::/46", "20940"}, + {"2001:559:820f::/48", "33659"}, + {"2402:800:63ff::/48", "7552"}, + {"2409:804c:2a::/43", "9808"}, + {"240a:ac68::/32", "145826"}, + {"2606:5b80::/34", "22612"}, + {"2804:63a0::/32", "269373"}, + {"2806:2f0:10a2::/48", "22884"}, + {"2001:1998:3101::/36", "3456"}, + {"2803:1a00:4113::/35", "262186"}, + {"2600:1406:dc01::/38", "20940"}, + {"2a02:cb81:1000::/45", "43766"}, + {"2a09:407:b000::/36", "210625"}, + {"2001:da8:24c::/48", "24348"}, + {"2001:1a68:2f::/43", "15694"}, + {"2404:8d01::/32", "10089"}, + {"2409:8c44:1b01::/28", "24445"}, + {"2600:1408:4000::/48", "35994"}, + {"2600:1fa0:c040::/44", "16509"}, + {"2600:6c38:245::/43", "20115"}, + {"2409:8069:2b06::/47", "9808"}, + {"240a:a147::/32", "142977"}, + {"2603:90f5:9::/46", "20115"}, + {"2605:9d80:9071::/48", "4809"}, + {"2804:49c:4205::/48", "7162"}, + {"2804:10f8::/32", "52783"}, + {"2804:2cc8::/32", "265243"}, + {"2a02:ee80:424f::/48", "3573"}, + {"2001:df6:6480::/48", "142037"}, + {"2408:8256:3086::/48", "17816"}, + {"2605:9100::/32", "20295"}, + {"2803:6de0::/32", "64126"}, + {"2804:2484:8001::/45", "28258"}, + {"2c0f:fed8::/32", "37277"}, + {"240e:108::/43", "58519"}, + {"2400:4a60::/32", "149248"}, + {"2405:b000:600::/36", "6262"}, + {"2603:c0fa:8000::/35", "20054"}, + {"2606:4700:80f0::/44", "13335"}, + {"2803:af80::/35", "263732"}, + {"2804:1510::/32", "262327"}, + {"2a02:26f7:c109::/42", "20940"}, + {"2001:559:83e7::/48", "33659"}, + {"2401:e280:1000::/36", "133114"}, + {"240a:aa0d::/32", "145223"}, + {"240a:ab73::/32", "145581"}, + {"240e:44d:1c00::/41", "140345"}, + {"2804:145c:8030::/41", "263327"}, + {"2804:5da4::/32", "268984"}, + {"2a05:7e84::/30", "50009"}, + {"2600:1f01:4860::/47", "16509"}, + {"2804:62d0::/32", "269320"}, + {"2001:1248:9a3b::/45", "11172"}, + {"2405:a000:13::/48", "55844"}, + {"2804:2bd4::/32", "265178"}, + {"2a0a:340::/40", "48043"}, + {"240a:a85b::/32", "144789"}, + {"2607:fcd0:bbc0::/33", "8100"}, + {"2804:4a88::/32", "267246"}, + {"2806:230:2027::/48", "11888"}, + {"2a02:db80::/29", "48720"}, + {"2001:559:5d8::/48", "33660"}, + {"2400:7400:39::/48", "23736"}, + {"240e:18:50::/48", "4811"}, + {"2804:13d0::/35", "263297"}, + {"2001:559:850b::/48", "7015"}, + {"2a02:26f7:9b::/48", "20940"}, + {"2a03:2880:f26e::/47", "32934"}, + {"2a05:fb44::/32", "59504"}, + {"2001:67c:21f0::/48", "52191"}, + {"2402:b7c0::/32", "63774"}, + {"2404:b0:6000::/32", "4750"}, + {"2610:a1:1074::/48", "397226"}, + {"2402:6880:2000::/48", "63989"}, + {"2409:802f:2c07::/32", "56041"}, + {"2607:f5d8::/46", "11096"}, + {"2804:e0c:180::/48", "28176"}, + {"2404:bf40:ea00::/48", "2764"}, + {"2a0a:d180::/36", "206652"}, + {"2801:16:1000::/48", "264618"}, + {"2001:978:1f00::/48", "43858"}, + {"2402:800:5763::/43", "7552"}, + {"2804:5828::/32", "268110"}, + {"2a00:11c0:66::/44", "42473"}, + {"2a09:ca00::/48", "34534"}, + {"2a0e:b107:770::/48", "213105"}, + {"2001:559:240::/48", "33659"}, + {"2001:fd8:2213::/44", "132199"}, + {"2606:2800:400b::/48", "14153"}, + {"2804:498c::/32", "267190"}, + {"2a02:26f7:c104::/48", "36183"}, + {"2404:b300:11::/46", "131207"}, + {"2804:2e74::/32", "265347"}, + {"2405:cdc0::/32", "131642"}, + {"2406:1840::/32", "140641"}, + {"240a:ab2e::/32", "145512"}, + {"2607:5800::/32", "10320"}, + {"2a01:c9c0:8014::/48", "2285"}, + {"2a02:26f7:b995::/46", "20940"}, + {"2a05:ccc0::/29", "209288"}, + {"2001:579:9104::/40", "22773"}, + {"2401:d800:fb60::/40", "7552"}, + {"2402:800:32d3::/44", "7552"}, + {"2404:ba00:8::/46", "17665"}, + {"2408:8459:5e50::/34", "17816"}, + {"2620:0:2840::/48", "16813"}, + {"2a01:8a40::/32", "8823"}, + {"240e:1:7100::/40", "137698"}, + {"2600:1419:1801::/38", "20940"}, + {"2804:359c:6000::/35", "266296"}, + {"2806:2f0:33c3::/42", "17072"}, + {"2001:44b8:1069::/34", "4739"}, + {"2401:7641::/32", "63778"}, + {"2409:8904:5e70::/40", "24547"}, + {"2620:11:60::/47", "3486"}, + {"2804:4e50::/32", "268253"}, + {"2804:7064::/32", "270724"}, + {"2a05:2a80:2::/29", "200567"}, + {"2001:678:e8c::/48", "212518"}, + {"2001:df0:dc::/48", "38590"}, + {"2407:3e00:4000::/48", "9255"}, + {"2800:550::/45", "7004"}, + {"2a02:2e02:f30::/41", "12479"}, + {"2a06:57c0::/29", "8888"}, + {"2001:388:3049::/43", "7575"}, + {"2001:559:8326::/48", "7725"}, + {"2600:1405:801::/35", "20940"}, + {"2604:6b80::/32", "47020"}, + {"2620:13:a000::/48", "395651"}, + {"2804:14c:7d00::/40", "28573"}, + {"240e:250:300::/40", "141157"}, + {"2804:5d24::/32", "268953"}, + {"2a02:26f7:e401::/46", "20940"}, + {"2001:520:1022::/48", "8103"}, + {"2001:559:248::/48", "33668"}, + {"2001:559:857d::/48", "33651"}, + {"2001:579:110c::/42", "22773"}, + {"2001:1230:103::/32", "13579"}, + {"2604:d600:1526::/44", "32098"}, + {"2620:1d5:c03::/40", "14773"}, + {"2a0c:f7c0::/29", "200374"}, + {"2400:fc00:8040::/39", "45773"}, + {"2408:8459:5c10::/42", "17623"}, + {"240a:ad47::/32", "146049"}, + {"2a01:620:4::/44", "12389"}, + {"2a03:d500::/32", "35754"}, + {"2401:ccc0::/32", "137236"}, + {"2408:8620::/31", "4837"}, + {"2a0b:cb00::/29", "200561"}, + {"2001:559:c3ef::/48", "7922"}, + {"2403:a200::/32", "17428"}, + {"2600:1008:b0f0::/44", "22394"}, + {"2606:4540::/32", "399571"}, + {"2620:122:a000::/40", "394485"}, + {"2605:8900:1000::/36", "3800"}, + {"2a02:26f7:c0c0::/48", "36183"}, + {"2a02:26f7:d804::/48", "36183"}, + {"2a0f:9400:772f::/48", "53356"}, + {"2401:580::/32", "38200"}, + {"2602:fef4:200::/48", "54721"}, + {"2800:160:13a3::/41", "14259"}, + {"2a00:fd8::/32", "22351"}, + {"2a00:d700::/32", "56438"}, + {"2a02:a98::/32", "42017"}, + {"2a0e:8f02:20f7::/44", "212008"}, + {"2001:408:c001::/34", "14793"}, + {"2a01:5b0:31::/32", "8391"}, + {"2a02:2af8:405::/44", "702"}, + {"2001:559:713::/48", "7015"}, + {"2407:d40:10::/32", "139009"}, + {"240e:a7:7fc9::/46", "140511"}, + {"2804:3dac:200::/32", "266546"}, + {"2c0f:e810::/32", "328624"}, + {"2001:1b90::/32", "6908"}, + {"2001:4878:2141::/48", "12222"}, + {"2402:800:5b8d::/43", "7552"}, + {"2606:2800:4a28::/46", "15133"}, + {"2a01:a820::/32", "61042"}, + {"2a02:26f7:73::/48", "20940"}, + {"2a0a:f880::/29", "60111"}, + {"2406:8600:f83f::/41", "10310"}, + {"2804:70c::/32", "262668"}, + {"2a03:b020::/29", "41327"}, + {"2408:8957:ec00::/39", "17622"}, + {"240a:a6dc::/32", "144406"}, + {"2800:160:1ce0::/44", "14259"}, + {"2a02:2d8:1:7808::/64", "35277"}, + {"2a02:26f0:8801::/39", "20940"}, + {"2806:2f0:93c1::/46", "17072"}, + {"240a:a556::/32", "144016"}, + {"2602:fcd3:500::/48", "212934"}, + {"2607:f390:1440::/44", "2055"}, + {"2800:bf0:8150::/44", "27947"}, + {"2001:ee0:8240::/40", "45899"}, + {"2600:6c58::/32", "20115"}, + {"2804:4f8:a005::/44", "28263"}, + {"2a02:26f0:62::/45", "20940"}, + {"2001:559:c425::/46", "7015"}, + {"2607:fb10:503a::/45", "2906"}, + {"2804:51e0::/32", "268482"}, + {"2a02:2e02:9450::/39", "12479"}, + {"2a05:7c00::/29", "201236"}, + {"2001:da8:b800::/47", "24372"}, + {"2402:800:352b::/41", "7552"}, + {"2409:8924:7d00::/38", "56046"}, + {"2600:6c20:59::/42", "20115"}, + {"2804:1b40:2000::/32", "28255"}, + {"2a0e:b107:d00::/44", "212746"}, + {"2001:550:3203::/45", "174"}, + {"2400:cb00:109::/48", "13335"}, + {"2408:8459:c410::/42", "17623"}, + {"240e:438:7840::/38", "4134"}, + {"2604:d600:164b::/45", "32098"}, + {"2804:626c::/32", "269296"}, + {"2806:2f0:2102::/48", "17072"}, + {"2a00:1fd0:ecc0::/46", "29033"}, + {"2a01:448:72::/48", "20559"}, + {"2a02:26f7:ccc1::/46", "20940"}, + {"2a02:2e02:2590::/38", "12479"}, + {"2406:3000:3:2::/61", "4657"}, + {"2409:8050:3000::/47", "56047"}, + {"240e:11:8800::/37", "137695"}, + {"2a00:86c0:101::/38", "2906"}, + {"2a0a:d880::/44", "207306"}, + {"2001:648:2811::/38", "5408"}, + {"240a:a6e5::/32", "144415"}, + {"2804:32b0::/32", "265093"}, + {"2a04:c442:9000::/33", "10725"}, + {"2803:f7e0:2040::/48", "271773"}, + {"2804:1bf0::/45", "61758"}, + {"2a03:67c0::/32", "12703"}, + {"2a0c:b641:16a::/48", "211139"}, + {"2001:678:a84::/48", "208713"}, + {"2409:8057:303d::/48", "56040"}, + {"240e:30c:5600::/31", "4134"}, + {"2600:6c38:742::/45", "20115"}, + {"2803:f240::/32", "61508"}, + {"2a01:110f:5000::/40", "29535"}, + {"2a02:2f0c:8002:4::4/33", "8708"}, + {"2a03:f80:373::/48", "43289"}, + {"240b:400e:fffe::/48", "45102"}, + {"2603:4:1600::/48", "44273"}, + {"2804:337c::/32", "265399"}, + {"2a02:26f7:ded1::/42", "20940"}, + {"2a0a:4c0::/32", "206303"}, + {"2001:468:c80::/48", "1312"}, + {"2001:41c7::/32", "31459"}, + {"240a:a292::/32", "143308"}, + {"2600:1fa0:5040::/44", "16509"}, + {"2a03:cf80::/32", "31484"}, + {"2001:559:3f::/48", "7015"}, + {"2001:559:c190::/48", "33489"}, + {"2401:1040:2::/48", "59239"}, + {"2402:800:577f::/40", "7552"}, + {"240e:1a:170::/35", "23650"}, + {"2804:2a6c::/32", "264072"}, + {"2a06:c000::/31", "45027"}, + {"2a0b:b86::/45", "3280"}, + {"2001:559:84::/48", "7016"}, + {"2403:8a00::/32", "17686"}, + {"240a:ae6b::/32", "146341"}, + {"2804:1168::/35", "52904"}, + {"2804:145c:c310::/37", "263327"}, + {"2806:20d:3300::/37", "32098"}, + {"2404:6300:1001::/33", "131310"}, + {"2607:f9f1:3::/32", "22205"}, + {"2a01:9520::/29", "62241"}, + {"2a02:ed8::/32", "44898"}, + {"2a02:26f7:d549::/46", "20940"}, + {"2408:8656:2efe::/47", "17623"}, + {"2607:ff68::/44", "46475"}, + {"2806:2f0:8181::/46", "17072"}, + {"2a02:2b60:c::/41", "42947"}, + {"2401:8ac0:120::/48", "4671"}, + {"2408:8956:3a00::/40", "17622"}, + {"240c:cb22::/21", "23910"}, + {"2600:140f:2200::/48", "9829"}, + {"2a02:26f7:fa09::/42", "20940"}, + {"2a11:ba80::/29", "210792"}, + {"2001:d00::/32", "17678"}, + {"2405:e000::/35", "37963"}, + {"2406::/32", "9732"}, + {"2409:8c85:aa19::/42", "9808"}, + {"2606:57c0::/48", "6461"}, + {"2620:10a:8004::/48", "27299"}, + {"2a04:9040::/29", "58138"}, + {"2001:500:121::/48", "396566"}, + {"2001:559:105::/48", "33652"}, + {"2404:5200::/32", "4686"}, + {"240a:a817::/32", "144721"}, + {"2800:ba0:6a::/48", "263812"}, + {"2804:43a0:3003::/33", "267580"}, + {"2a0e:b107:470::/45", "138006"}, + {"2402:d000:1075::/33", "9329"}, + {"240c:c411::/22", "23910"}, + {"2600:1001:b1e0::/33", "22394"}, + {"2607:f8f0:210::/41", "271"}, + {"2001:388:6031::/41", "7575"}, + {"2a02:b60::/35", "44217"}, + {"2a02:26f7:f189::/46", "20940"}, + {"2a04:3100::/29", "196976"}, + {"2001:559:82c1::/48", "33657"}, + {"2001:67c:514::/48", "2116"}, + {"2402:800:3ac5::/43", "7552"}, + {"240a:a515::/32", "143951"}, + {"240a:ac7b::/32", "145845"}, + {"2607:f110:43::/45", "21889"}, + {"2804:2e0c::/34", "263019"}, + {"2804:4f54::/32", "268320"}, + {"2804:56f8::/33", "268035"}, + {"2a02:7880::/32", "28745"}, + {"2001:1260:8::/46", "13591"}, + {"2401:d800:f472::/40", "7552"}, + {"2403:6c40::/32", "131478"}, + {"2a0f:2880:400::/40", "208164"}, + {"2401:d800:b770::/40", "7552"}, + {"2406:3000:8:4040::/46", "4657"}, + {"2804:14d:4031::/40", "28573"}, + {"2a06:a001:a080::/44", "207466"}, + {"2a0b:5f40::/29", "42926"}, + {"2001:559:83b6::/48", "7922"}, + {"2806:230::/36", "11888"}, + {"2a02:26f7:fa80::/48", "36183"}, + {"2001:13d2:2816::/35", "7303"}, + {"2001:16a2:8016::/42", "39386"}, + {"2001:4df0::/29", "1680"}, + {"2401:5c00::/32", "9889"}, + {"2401:d800:bd92::/41", "7552"}, + {"2406:84c0::/32", "138225"}, + {"2602:fc23:15::/39", "8095"}, + {"2600:1417:6b::/45", "20940"}, + {"2a02:26f7:c741::/46", "20940"}, + {"2a02:26f7:c984::/48", "36183"}, + {"240a:adb0::/32", "146154"}, + {"2804:14c:d4a0::/47", "28573"}, + {"2804:a64::/32", "52893"}, + {"2804:8428::/32", "272243"}, + {"2a01:7ea0::/32", "13012"}, + {"2a0b:67c0::/29", "28920"}, + {"2001:fb0::/36", "7470"}, + {"2401:c240:1100::/34", "132847"}, + {"2409:8914:7e00::/39", "56044"}, + {"240a:ac62::/32", "145820"}, + {"2804:4728::/32", "267035"}, + {"2804:636c:2000::/35", "269360"}, + {"2001:4b20:1000:1::/50", "34288"}, + {"240a:a8bf::/32", "144889"}, + {"2606:8e40:200::/37", "46513"}, + {"2804:3c0::/46", "28605"}, + {"2806:20d:5037::/44", "32098"}, + {"2806:2f0:7161::/46", "17072"}, + {"2a02:26f7:ed41::/46", "20940"}, + {"2a0b:6b86:b10::/48", "206699"}, + {"2409:8f05::/27", "9808"}, + {"2804:1b0:1a80::/47", "18881"}, + {"2806:230:4002::/48", "265594"}, + {"2a03:da00::/35", "24991"}, + {"2a0e:1b00::/31", "49436"}, + {"2001:67c:2620::/48", "55002"}, + {"2400:cb00:ab90::/46", "13335"}, + {"2602:fda8::/36", "397925"}, + {"2801:80:37f0::/48", "269607"}, + {"2001:67c:40c::/48", "62116"}, + {"2001:cb0:20e::/47", "4637"}, + {"2600:1403:a401::/36", "20940"}, + {"2620:171:d6::/44", "715"}, + {"2804:14d:ba47::/43", "28573"}, + {"2804:2ef8::/32", "52692"}, + {"240e:3be:8200::/35", "140316"}, + {"2600:1017:f810::/37", "6167"}, + {"2602:fd9e::/36", "397666"}, + {"2602:ff1b::/36", "49981"}, + {"2804:7fc4::/32", "271708"}, + {"2a02:214d:8000::/33", "1241"}, + {"2001:559:82e4::/48", "7015"}, + {"2001:f20:f000::/46", "38154"}, + {"240a:a53c::/32", "143990"}, + {"240a:ace6::/32", "145952"}, + {"240e:640:ce00::/40", "136197"}, + {"2804:204:21c::/47", "28186"}, + {"2804:4c1c::/32", "267350"}, + {"2a09:4bc7:d022::/44", "140096"}, + {"2a0a:90c0::/44", "198912"}, + {"2001:df0:400::/48", "56172"}, + {"2400:ddc0::/35", "4785"}, + {"2620:12d:1000::/47", "26889"}, + {"2a01:5042:200e::/48", "202196"}, + {"2a0c:5700::/34", "30893"}, + {"2a0e:fd87::/46", "13238"}, + {"240a:a771::/32", "144555"}, + {"2a02:26f7:d210::/48", "36183"}, + {"2a02:ee80:4246::/47", "3573"}, + {"2a0f:5707:abf6::/48", "212895"}, + {"2a10:641::/32", "6697"}, + {"240e:103:8b10::/44", "4134"}, + {"240e:438:6640::/36", "4134"}, + {"2603:c021:4000::/35", "31898"}, + {"2806:28f::/32", "28419"}, + {"2a04:2d00::/48", "56647"}, + {"2a0a:3140:1600::/46", "15532"}, + {"2001:67c:39c::/48", "15894"}, + {"2620:131:1065::/48", "14618"}, + {"2804:7b30::/32", "271416"}, + {"2600:1419:d::/43", "20940"}, + {"2604:cc00:a3::/48", "53292"}, + {"2a02:26f7:da0c::/48", "36183"}, + {"2c0f:fee0::/32", "33785"}, + {"2001:559:87ef::/48", "7922"}, + {"2001:fd8:60::/48", "132199"}, + {"2001:42c8::/32", "6453"}, + {"2403:c000:1001::/37", "4741"}, + {"2620:13b:d001::/46", "3549"}, + {"2c0e:2710::/20", "5713"}, + {"2401:d800:d990::/42", "7552"}, + {"2403:1cc0:1201::/48", "45352"}, + {"2604:4e00:6000::/32", "25764"}, + {"2604:8380::/35", "29802"}, + {"2001:559:1d7::/48", "7922"}, + {"2001:67c:29d4::/48", "58247"}, + {"2606:9700::/32", "237"}, + {"2a06:44c0::/29", "200434"}, + {"2001:559:c173::/48", "33660"}, + {"2001:678:928::/48", "60149"}, + {"2406:daa0:c060::/44", "16509"}, + {"2408:840d:8200::/42", "17621"}, + {"2409:8043:2901::/46", "24444"}, + {"2409:896a:8600::/39", "9808"}, + {"2605:72c0:a000::/36", "396865"}, + {"2606:ae00:cc41::/35", "7287"}, + {"2804:1134::/32", "263665"}, + {"2804:12c0::/32", "263496"}, + {"2804:635c::/32", "269356"}, + {"2804:7fec::/32", "271718"}, + {"2001:559:c1b1::/48", "33652"}, + {"2001:67c:195c::/48", "29117"}, + {"2001:67c:2bc0::/48", "3301"}, + {"2804:378::/32", "28283"}, + {"2001:559:80af::/48", "33491"}, + {"2001:559:c30d::/48", "33652"}, + {"2403:ad80:60::/45", "134835"}, + {"2408:8656:a59::/37", "17622"}, + {"2620:135:7002::/48", "3356"}, + {"2804:277c::/32", "263904"}, + {"2402:800:532b::/41", "7552"}, + {"2806:260:1012::/47", "28481"}, + {"2a0e:3f00::/29", "197706"}, + {"2001:250:7020::/48", "24369"}, + {"240b:c000::/24", "138384"}, + {"2a02:26f7:b709::/42", "20940"}, + {"2001:4488:f862::/39", "7713"}, + {"2406:7300::/46", "17559"}, + {"2408:84f3:e010::/42", "134543"}, + {"2620:0:28a8::/48", "33522"}, + {"2a02:26f7:f241::/46", "20940"}, + {"2402:800:970f::/43", "7552"}, + {"2a00:4940:2::/32", "198279"}, + {"2a0f:f6c0::/29", "57191"}, + {"2001:67c:2630::/48", "42044"}, + {"2408:8000:a000::/43", "4837"}, + {"240a:a8b6::/32", "144880"}, + {"2803:3440:9000::/46", "64112"}, + {"2803:5500::/32", "52431"}, + {"2001:500:6b::/48", "27321"}, + {"2001:57a:9208::/47", "22773"}, + {"2408:8001:3080::/39", "17816"}, + {"2620:74:20::/48", "396566"}, + {"2804:4830::/32", "267103"}, + {"2a00:c00:f063::/48", "15769"}, + {"2a06:ed40::/29", "203450"}, + {"2001:67c:13cc::/48", "199330"}, + {"2402:800:614a::/45", "7552"}, + {"240e:3b8:4c00::/35", "136200"}, + {"2607:fa08:2:f::/32", "23404"}, + {"2800:160:13f7::/44", "14259"}, + {"2a02:2010:2290::/45", "20978"}, + {"2a04:b902::/32", "16509"}, + {"2001:df5:1280::/48", "45325"}, + {"2409:804c:1900::/34", "9808"}, + {"2a02:2e02:8950::/40", "12479"}, + {"2a04:4e40:4e10::/42", "54113"}, + {"2a0a:6800::/29", "207202"}, + {"2404:24c0::/32", "138520"}, + {"2404:7800::/32", "17893"}, + {"2407:c280:ffff::/48", "134409"}, + {"2408:8957:400::/40", "17622"}, + {"240e:60c:dc00::/34", "4134"}, + {"2607:ff78::/32", "20161"}, + {"2804:11c0::/32", "263436"}, + {"2602:806:7008::/45", "14618"}, + {"2804:7b40::/32", "271420"}, + {"2a04:efc0::/29", "201847"}, + {"2406:2000:98::/48", "38032"}, + {"2408:8656:2cfe::/47", "17623"}, + {"240a:a7de::/32", "144664"}, + {"240e:67a:e200::/39", "140329"}, + {"2600:c12::/32", "12179"}, + {"2804:63c4::/32", "269382"}, + {"2806:230:5001::/48", "11888"}, + {"2001:559:8768::/47", "7015"}, + {"2001:4500:1200::/32", "18183"}, + {"240a:a72e::/32", "144488"}, + {"2804:70c8::/32", "270748"}, + {"2a00:4b00:20e::/42", "41935"}, + {"2a01:bda0::/32", "61981"}, + {"2a04:f580:9280::/48", "4809"}, + {"2a10:4646:3::/48", "42101"}, + {"2001:559:c40f::/48", "33287"}, + {"2001:14d0::/29", "15516"}, + {"240c:c0a8:9c01::/48", "138440"}, + {"2605:3380:4702::/40", "12025"}, + {"2804:7d38::/32", "271547"}, + {"2a03:fc40::/32", "41937"}, + {"2405:cc00::/34", "55943"}, + {"2600:1419:3a01::/37", "20940"}, + {"2600:5c01:1ffe::/48", "11351"}, + {"2001:500:15::/48", "715"}, + {"2001:559:c0e6::/48", "7922"}, + {"2404:fc00:192::/45", "45910"}, + {"240a:a16d::/32", "143015"}, + {"240a:a37d::/32", "143543"}, + {"240a:a5ef::/32", "144169"}, + {"2606:9880::/32", "394380"}, + {"2804:a58::/32", "262274"}, + {"240a:a18c::/32", "143046"}, + {"2a02:26f7:cd8c::/48", "36183"}, + {"2a03:db80:4421::/46", "680"}, + {"2602:fe13:802::/48", "53356"}, + {"2606:2800:4014::/48", "15133"}, + {"2800:160:2022::/43", "14259"}, + {"2a0c:b080::/29", "204751"}, + {"2001:559:c097::/48", "33651"}, + {"2405:7f00:8b00::/35", "133414"}, + {"2620:52:c000::/48", "54538"}, + {"2804:44ac::/32", "267646"}, + {"2001:df4:ce80::/48", "141166"}, + {"2001:df7:f600::/48", "135214"}, + {"2409:8751:f00::/35", "56047"}, + {"2604:dac0::/32", "36504"}, + {"2a02:26f7:d84e::/47", "20940"}, + {"2001:13d1:2c04::/35", "7303"}, + {"240a:ac63::/32", "145821"}, + {"2a01:73e0:a000::/33", "47872"}, + {"2a0c:9a40:1092::/48", "34927"}, + {"2001:559:3d2::/48", "33657"}, + {"2409:8729::/27", "9808"}, + {"2409:8c14:2e00::/35", "9808"}, + {"2409:8d1e::/31", "24400"}, + {"2450:1740:1::/48", "140079"}, + {"2605:6a40::/32", "398081"}, + {"2800:440:144::/48", "27738"}, + {"2801:11c:c0::/44", "269888"}, + {"2a09:dc0::/32", "47485"}, + {"2600:140b:6400::/48", "31109"}, + {"2607:f6f0:201::/48", "54588"}, + {"2804:5604::/32", "267971"}, + {"2a10:9ec0::/29", "211785"}, + {"2a11:1d41::/46", "210937"}, + {"2001:df0:9580::/48", "134868"}, + {"2804:5890::/32", "268136"}, + {"2803:9300::/32", "265760"}, + {"2a07:4e40::/29", "54058"}, + {"2001:4c8:109c::/46", "15290"}, + {"2605:a401:8c9b::/42", "33363"}, + {"2606:2800:424e::/48", "14153"}, + {"2001:4878:102::/47", "12222"}, + {"2401:b200::/45", "24186"}, + {"2406:52c0::/32", "139141"}, + {"2408:8459:1910::/42", "17623"}, + {"240a:ad2d::/32", "146023"}, + {"2a02:26f7:d889::/42", "20940"}, + {"2a03:5f00:108::/46", "207044"}, + {"2001:67c:1bc4::/48", "5588"}, + {"2001:df5:c680::/48", "141529"}, + {"2400:1760::/32", "7590"}, + {"2402:800:5c8d::/42", "7552"}, + {"2a01:8980::/32", "57124"}, + {"2a04:c240::/29", "62009"}, + {"2001:559:8493::/48", "7015"}, + {"2408:84f3:9c40::/38", "17816"}, + {"2620:13e:9007::/48", "17218"}, + {"2a05:1a00:4000::/27", "43754"}, + {"2a0c:5a00::/29", "50304"}, + {"2001:559:712::/48", "7922"}, + {"2001:978:6715::/35", "174"}, + {"2408:8456:4040::/38", "17816"}, + {"240a:a500::/32", "143930"}, + {"2804:1404::/32", "263309"}, + {"2804:53f0::/32", "268617"}, + {"2a0e:fd45:b00::/48", "213249"}, + {"2001:559:87d3::/48", "33657"}, + {"2400:a980:4900::/35", "133111"}, + {"2409:8914:a00::/39", "56044"}, + {"2801:10:b000::/48", "264635"}, + {"240e:967:e600::/36", "4134"}, + {"2001:ee0:9f40::/34", "45899"}, + {"2600:1007:9100::/44", "6167"}, + {"2606:a000:708::/36", "11426"}, + {"2409:8028:8f3::/45", "9808"}, + {"2a02:dd0::/32", "15735"}, + {"2a03:4b40:5281::/37", "50710"}, + {"2408:840d:4e00::/42", "17621"}, + {"240d:c010:56::/48", "139341"}, + {"2a02:c880::/48", "24642"}, + {"2001:df2:1400::/48", "133923"}, + {"240e:3b0:dc00::/34", "4134"}, + {"2a01:8840:2d::/48", "207266"}, + {"2a02:88d:822f::/48", "47794"}, + {"240c:ce81::/32", "138393"}, + {"2a05:d03a:4000::/40", "16509"}, + {"2a05:d03a:c000::/40", "16509"}, + {"2001:e30:1c1e::/48", "2697"}, + {"2001:4de0:4300::/40", "33438"}, + {"2605:a40e:6::/44", "33363"}, + {"2a03:6540::/32", "61316"}, + {"2a0b:2900:6100::/38", "48582"}, + {"2406:d00:bbbb::/48", "132165"}, + {"240a:aacb::/32", "145413"}, + {"2001:559:45d::/48", "33659"}, + {"240e:f7:c000::/35", "134771"}, + {"2804:14c:5d00::/42", "28573"}, + {"2804:4410::/32", "267619"}, + {"2a0a:1fc0::/29", "41960"}, + {"2408:8456:4a40::/39", "17816"}, + {"240a:ab91::/32", "145611"}, + {"2a02:26f7:f7c8::/48", "36183"}, + {"2001:678:344::/48", "47939"}, + {"2001:67c:17bc::/48", "1257"}, + {"2400:cb00:a620::/46", "13335"}, + {"2804:8424::/33", "272242"}, + {"2a01:90:200::/40", "29668"}, + {"2a02:c70::/32", "47841"}, + {"2001:559:3c4::/48", "33660"}, + {"2001:648:3400::/40", "8248"}, + {"2804:19d0::/32", "61820"}, + {"2804:526c::/36", "268517"}, + {"2001:49f0:2920::/48", "174"}, + {"2001:4de0:6000::/40", "33438"}, + {"240e:3bb:3e00::/33", "140308"}, + {"2a00:c827::/45", "60330"}, + {"2a02:6980::/32", "12935"}, + {"2a02:ee80:40ac::/43", "3573"}, + {"2a0a:e200:1510::/48", "199156"}, + {"2402:1b40:2009::/33", "7628"}, + {"2403:ba00:202f::/48", "132651"}, + {"240a:a726::/32", "144480"}, + {"2607:fe28:11::/38", "53347"}, + {"2804:2d6c::/32", "265281"}, + {"2806:230:2029::/48", "11888"}, + {"2a02:26f7:ba44::/48", "36183"}, + {"2a0e:1c80:1::/48", "42675"}, + {"2a00:1851:bf04::/40", "29357"}, + {"2402:e280:3d00::/41", "134674"}, + {"240a:abd4::/32", "145678"}, + {"2604:4000:8000::/48", "12915"}, + {"2801:11:f000::/48", "266896"}, + {"2801:1f:4800::/48", "269848"}, + {"2a00:c587:fd00::/40", "51331"}, + {"2a0f:7ec0:100::/48", "12303"}, + {"2c0f:4b00::/32", "328939"}, + {"2404:f4c0:f9cd::/48", "142281"}, + {"240a:a595::/32", "144079"}, + {"2804:14c:8500::/40", "28573"}, + {"2a00:1d10::/32", "49909"}, + {"2607:fcd0:108::/47", "8100"}, + {"2800:200:2001::/44", "12252"}, + {"2806:3cf::/32", "270126"}, + {"2a00:1728:1c::/48", "44017"}, + {"2620:11a:c000::/43", "54113"}, + {"2a00:6901:c002::/47", "20926"}, + {"2a02:fa8:8800::/40", "41041"}, + {"2a04:4e40:8230::/44", "54113"}, + {"2001:740::/32", "5400"}, + {"2001:448a:6010::/42", "7713"}, + {"240e:108:8e::/47", "4134"}, + {"2801:1fc:3c::/48", "27951"}, + {"2803:2a80:821::/48", "262928"}, + {"2804:80b8:a000::/36", "271769"}, + {"2a02:26f7:c184::/48", "36183"}, + {"2606:2800:6023::/44", "15133"}, + {"2610:80:3000::/29", "6079"}, + {"2803:e40::/40", "27797"}, + {"2001:559:836d::/48", "33652"}, + {"2804:2e8:8::/47", "262847"}, + {"2804:4e00::/32", "268233"}, + {"2a00:1dd8::/29", "31042"}, + {"2a0c:e040:1235::/39", "200629"}, + {"2001:ce0:6::/48", "4605"}, + {"2407:6c00:18::/48", "45839"}, + {"2801:1c1::/40", "19429"}, + {"2804:16b0:2000::/36", "61910"}, + {"2804:7d88::/32", "271567"}, + {"2a00:17f1::/32", "50533"}, + {"2a0d:4d00::/46", "44794"}, + {"2404:8d06:7100::/36", "10089"}, + {"2405:7600::/47", "23956"}, + {"2407:d40::/44", "139009"}, + {"240a:a6f0::/32", "144426"}, + {"2604:d600:15be::/41", "32098"}, + {"2804:2408:8400::/33", "52705"}, + {"2c0f:5f00::/32", "328974"}, + {"2408:84f3:d840::/37", "17816"}, + {"2600:1419:7001::/38", "20940"}, + {"2620:103:2008::/46", "30539"}, + {"2620:11c:c001::/48", "13768"}, + {"2a11:1200::/29", "204790"}, + {"2001:506:39::/48", "20055"}, + {"2400:1a00:b1c1::/42", "17501"}, + {"2602:fd3a:22a::/48", "16509"}, + {"2c0f:2f00::/32", "328987"}, + {"2600:1407:18::/46", "20940"}, + {"2606:f300:20::/43", "4544"}, + {"2607:f3c8:4000::/34", "33724"}, + {"2a04:4e40:2a10::/41", "54113"}, + {"2a05:b0c2::/35", "210842"}, + {"2a0f:9400:fa0::/43", "53356"}, + {"2a10:7280::/29", "204790"}, + {"2001:4408:101::/38", "4758"}, + {"2401:1d40:3f03::/40", "59019"}, + {"2404:e6:910::/32", "703"}, + {"2600:6c34:13::/48", "33588"}, + {"2602:807:5010::/42", "55136"}, + {"2605:2800:1200::/48", "10812"}, + {"2801:80:1a50::/48", "265450"}, + {"2a00:8380::/32", "15557"}, + {"2a01:5040:1001::/42", "43996"}, + {"240a:a8e2::/32", "144924"}, + {"2a02:1b8::/31", "47692"}, + {"2001:559:c3af::/48", "7016"}, + {"2804:1814::/32", "263263"}, + {"2806:230:2058::/48", "265594"}, + {"2001:559:3fe::/48", "7922"}, + {"2001:df0:22b::/48", "38574"}, + {"2400:9380:9080::/47", "4809"}, + {"2404:2280:1cb::/45", "24429"}, + {"2607:fcc8:afc0::/48", "11955"}, + {"2800:160:1d0a::/45", "14259"}, + {"2804:44e8:101::/38", "267660"}, + {"2a02:26f7:f108::/48", "36183"}, + {"2001:559:c32e::/48", "33657"}, + {"2806:20d:5c00::/34", "32098"}, + {"2806:2f0:2461::/48", "22884"}, + {"2a02:26f7:c94a::/47", "20940"}, + {"2a04:2f81:6::/29", "61157"}, + {"2401:1900:8030::/44", "45245"}, + {"2407:14c0::/39", "138077"}, + {"2602:fcf4::/36", "398738"}, + {"2804:1690:880::/32", "263292"}, + {"2a02:2ab8:8210::/33", "702"}, + {"2403:9800:2f::/48", "2570"}, + {"240e:983:1b00::/48", "58461"}, + {"2a09:3b00::/29", "208861"}, + {"2a0c:e642:80::/32", "211323"}, + {"2405:fa80::/32", "132894"}, + {"2801:16:1800::/48", "271995"}, + {"2a0e:ee80::/29", "328486"}, + {"2001:559:82d1::/48", "7015"}, + {"2401:d800:7db0::/41", "7552"}, + {"2602:104:f::/48", "33588"}, + {"2a06:6400::/29", "15576"}, + {"2001:559:877a::/48", "7922"}, + {"2408:8459:6410::/42", "17623"}, + {"2409:8051:2000::/47", "56047"}, + {"240e:3b0:8200::/35", "140316"}, + {"2a01:448:73::/32", "42585"}, + {"2a02:6723::/32", "208668"}, + {"2001:1248:a530::/46", "11172"}, + {"2001:4479:4000::/35", "7545"}, + {"2401:4900:3050::/44", "45609"}, + {"2409:8907:7120::/38", "24547"}, + {"2600:1008:f000::/44", "6167"}, + {"2803:5e00:120::/32", "267765"}, + {"2a01:8840:3a::/45", "12041"}, + {"2a0d:f780::/29", "202921"}, + {"2404:3d00:500::/33", "3573"}, + {"2406:e940:1001::/32", "9449"}, + {"2602:fd92:c30::/44", "400298"}, + {"2605:a380:2002::/32", "53828"}, + {"2804:1e20:13::/48", "264409"}, + {"2804:2d08::/32", "265258"}, + {"2a02:ee80:422e::/41", "3573"}, + {"2a0b:1300:81dc::/48", "209915"}, + {"240a:a812::/32", "144716"}, + {"2605:5940::/32", "14235"}, + {"2800:160:14e9::/43", "14259"}, + {"2804:6930:3000::/32", "270254"}, + {"2001:1a68:2::/48", "198430"}, + {"2404:e5:212::/30", "703"}, + {"2409:805c:1900::/34", "9808"}, + {"240a:a35f::/32", "143513"}, + {"2620:31:8000::/48", "11540"}, + {"2804:14c:3ba7::/44", "28573"}, + {"2a02:ab40::/29", "196810"}, + {"2a06:2602::/32", "51088"}, + {"2001:559:70b::/48", "33287"}, + {"240e:6b2:2000::/32", "4134"}, + {"2605:9d00::/32", "53767"}, + {"2801:c4:1e::/48", "265553"}, + {"2001:579:124::/43", "22773"}, + {"2604:3380::/28", "46437"}, + {"2607:ffb0::/34", "6327"}, + {"2804:178::/32", "28591"}, + {"2001:678:d94::/48", "49183"}, + {"2001:7fa:5::/48", "23911"}, + {"2001:470:7a::/40", "6939"}, + {"2001:559:5ff::/48", "7016"}, + {"2001:67c:2ee8::/48", "49787"}, + {"2001:df3:2680::/48", "134351"}, + {"2604:1380:4200::/44", "54825"}, + {"2a00:bac0::/32", "58323"}, + {"2a0d:e940:b000::/36", "35507"}, + {"2001:559:7e5::/46", "33657"}, + {"2001:559:8506::/48", "33659"}, + {"2001:448a:6110::/35", "7713"}, + {"2001:4d70::/32", "201210"}, + {"240e:44d:7500::/42", "140345"}, + {"2408:8256:3d96::/44", "17623"}, + {"2600:140f:d001::/37", "20940"}, + {"2620:1bc::/35", "7726"}, + {"2a02:2aa0:111::/44", "702"}, + {"2a0b:b200::/32", "64439"}, + {"2001:678:a0::/48", "43558"}, + {"2001:1248:8461::/44", "11172"}, + {"240a:a683::/32", "144317"}, + {"2602:fc23:111::/48", "57429"}, + {"2804:1168:1819::/37", "52904"}, + {"2a02:26f0:81::/46", "20940"}, + {"2a02:53c0::/32", "210306"}, + {"2402:9d80:103::/48", "131429"}, + {"2402:a1c0:101::/32", "137526"}, + {"240e:44d:1740::/42", "140360"}, + {"2606:240:2::/48", "812"}, + {"2408:840d:8600::/42", "17621"}, + {"2a02:26f7:e2::/48", "36183"}, + {"2a02:26f7:f78c::/48", "36183"}, + {"2403:5000:172::/40", "9304"}, + {"2408:8409:9c00::/40", "4808"}, + {"2804:4a90:1001::/34", "267249"}, + {"2a01:7e0:30::/39", "44066"}, + {"2a07:aa00:81::/44", "3549"}, + {"2001:41a8:605::/32", "6762"}, + {"2606:440::/32", "399060"}, + {"2804:394::/34", "262895"}, + {"2a00:46e0::/32", "50265"}, + {"2a00:4f40::/32", "29104"}, + {"2a01:180::/29", "12709"}, + {"2a01:280:368::/48", "12552"}, + {"2a02:2e02:8480::/41", "12479"}, + {"2001:559:8014::/48", "33491"}, + {"2804:1844::/32", "53065"}, + {"2804:769c::/32", "271123"}, + {"2a05:3040::/29", "42910"}, + {"2a12:1100::/29", "204790"}, + {"240e:438:7420::/43", "140647"}, + {"2a00:9560::/29", "58003"}, + {"2a02:1310:353::/48", "21130"}, + {"2401:4900:1280::/41", "45609"}, + {"240a:aaf6::/32", "145456"}, + {"240e:3be:ec00::/35", "140314"}, + {"240e:44d:1880::/41", "4134"}, + {"2600:3508:f000::/29", "396998"}, + {"2804:18bc::/32", "61950"}, + {"2804:6de8:b000::/33", "270563"}, + {"2a0b:69c0::/29", "205619"}, + {"240e:9b:f009::/46", "140248"}, + {"2a02:26f7:d281::/46", "20940"}, + {"2a02:26f7:dac5::/46", "20940"}, + {"2a03:7380:1f40::/40", "13188"}, + {"2a10:ab00::/29", "47285"}, + {"2001:579:e120::/43", "22773"}, + {"2408:8957:df00::/40", "17816"}, + {"240a:a7cc::/32", "144646"}, + {"2001:579:b814::/41", "22773"}, + {"2409:8c06::/28", "9808"}, + {"2600:1407:3800::/48", "35994"}, + {"2804:389c::/32", "266489"}, + {"2001:af8::/46", "5385"}, + {"2401:85c0::/32", "131605"}, + {"2402:9dc0::/32", "131183"}, + {"2a00:1148:6::/29", "47764"}, + {"2a01:7080:27::/32", "42848"}, + {"2a02:6ea0:ce00::/35", "60068"}, + {"2a03:49c0::/32", "58081"}, + {"2a10:2307:ffff::/48", "16509"}, + {"2001:559:32a::/48", "7016"}, + {"2406:840:c20::/48", "139317"}, + {"2408:8459:5a10::/42", "17623"}, + {"2409:8d03::/29", "9808"}, + {"2600:6c20:e0b::/45", "20115"}, + {"2806:260:4200::/39", "13999"}, + {"2a02:26f7:d50d::/42", "20940"}, + {"2402:ef21:2000::/36", "7633"}, + {"240a:afbb::/32", "146677"}, + {"2a0b:f4c1::/48", "60729"}, + {"2a0c:28c0::/32", "206429"}, + {"2001:678:2c4::/48", "12731"}, + {"2001:1af0:9001::/43", "13046"}, + {"2402:9500:c01::/39", "55720"}, + {"2600:1003:9100::/44", "6167"}, + {"2620:109:c006::/48", "55163"}, + {"2804:50b0::/32", "268404"}, + {"2001:67c:21e4::/48", "51634"}, + {"2401:d800:5e60::/40", "7552"}, + {"2408:8456:6200::/42", "17622"}, + {"2409:8904:9690::/34", "24547"}, + {"2804:1004::/32", "263614"}, + {"2a05:b680:9::/48", "57136"}, + {"2a0d:4340::/29", "8888"}, + {"2a0e:b107:fe0::/44", "138435"}, + {"2402:800:3971::/44", "7552"}, + {"2405:1800::/32", "9999"}, + {"2600:6c39:233::/45", "20115"}, + {"2800:bf0:8240::/44", "52257"}, + {"2803:2180:19::/46", "27941"}, + {"2a02:bc8::/42", "8641"}, + {"2001:678:eb0::/48", "212351"}, + {"2001:4038::/32", "31383"}, + {"240a:a466::/32", "143776"}, + {"240a:a7e1::/32", "144667"}, + {"2605:8cc0::/32", "398203"}, + {"2804:13b0:5c30::/44", "263546"}, + {"2a00:1d58:f015::/44", "47524"}, + {"240e:983::/48", "23724"}, + {"2620:149:a22::/48", "6185"}, + {"2405:dc0:8008::/46", "22604"}, + {"240e:3b3:2800::/38", "4134"}, + {"2620:e4:4000::/48", "394725"}, + {"2800:160:1164::/44", "14259"}, + {"2804:4924::/44", "267167"}, + {"2a04:ac01::/30", "56534"}, + {"2001:250:214::/48", "24351"}, + {"2401:d800:23e0::/37", "7552"}, + {"2600:380:8400::/36", "20057"}, + {"2a01:86e0::/32", "62136"}, + {"2a02:5320:d00::/40", "12189"}, + {"2a03:6b00:2::/44", "48832"}, + {"2607:f7a8:c00::/35", "46887"}, + {"2a05:e181::/32", "200941"}, + {"2001:678:b70::/48", "207886"}, + {"2001:67c:564::/48", "62121"}, + {"2404:7000::/32", "17557"}, + {"2605:9780:1400::/40", "36180"}, + {"2804:81bc::/32", "272473"}, + {"2a11:d82::/29", "208861"}, + {"2001:559:78e::/48", "7922"}, + {"2001:67c:23d4::/48", "57201"}, + {"2001:4190::/32", "12912"}, + {"2404:ce00::/33", "38634"}, + {"2607:fd48:302:100::/37", "13536"}, + {"2803:e600:facf::/37", "18809"}, + {"2a03:4680::/29", "25184"}, + {"2a10:d000:15::/44", "35506"}, + {"2001:559:181::/48", "33490"}, + {"240a:abe9::/32", "145699"}, + {"2603:f550::/24", "397165"}, + {"2a10:cc42:1a00::/40", "20473"}, + {"2408:8956:5a00::/40", "17622"}, + {"240e:3bb:f700::/36", "4134"}, + {"2a00:1538::/32", "44356"}, + {"2a02:26f7:ee05::/46", "20940"}, + {"2804:14d:e669::/40", "28573"}, + {"2804:6c0:300::/43", "262418"}, + {"2804:76a0::/32", "271124"}, + {"2a01:367:abce::/33", "30823"}, + {"2a12:6bc0::/32", "208869"}, + {"2a01:9900::/32", "21171"}, + {"2001:978:b701::/33", "174"}, + {"2001:16a6:c200::/31", "39386"}, + {"2409:8052:3100::/37", "9808"}, + {"2600:6c38:b54::/46", "20115"}, + {"2607:fb10:7092::/42", "2906"}, + {"2804:719c::/32", "270800"}, + {"2001:678:a9c::/48", "39702"}, + {"2001:44b8:30d7::/48", "4739"}, + {"2400:3e80::/32", "2514"}, + {"2607:a800:917::/48", "15695"}, + {"2620:119:50c0::/48", "14413"}, + {"2a03:8f80::/31", "34714"}, + {"2a04:40::/29", "39878"}, + {"2001:df2:4e80::/48", "139849"}, + {"240e:44d:5800::/42", "140345"}, + {"2804:5274::/32", "268519"}, + {"2001:559:c1af::/48", "33489"}, + {"2001:918:ff65::/43", "3303"}, + {"2401:d800:f2c0::/42", "7552"}, + {"2403:e200:1e::/37", "45543"}, + {"2409:8c20:5200::/42", "56046"}, + {"2a02:e00:ffea::/43", "29141"}, + {"2a0b:bb80::/32", "201787"}, + {"2001:df0:a8::/48", "46052"}, + {"2001:4888:8050::/46", "22394"}, + {"240a:ae3d::/32", "146295"}, + {"2806:2f0:9321::/46", "17072"}, + {"2a00:f180::/32", "13173"}, + {"2a03:80::/32", "57154"}, + {"2a0b:80::/29", "34261"}, + {"240a:a8e0::/32", "144922"}, + {"2607:f208:8::/48", "398107"}, + {"2a04:1ac0:fff3::/45", "211960"}, + {"2001:df5:7b00::/48", "137368"}, + {"2400:1160::/32", "9818"}, + {"2a00:8a40::/32", "28978"}, + {"2a02:7900:ff02::/40", "16154"}, + {"2a0c:b641:2b0::/46", "212625"}, + {"2a01:7d80:2400::/40", "62214"}, + {"2a0c:94c0::/29", "21032"}, + {"2001:388:608c::/48", "56132"}, + {"2409:805e:3100::/36", "9808"}, + {"2620:10d:900f::/48", "25993"}, + {"2a01:8180:2000::/36", "20594"}, + {"2c0f:f698:f00b::/36", "37693"}, + {"2001:559:8559::/46", "7015"}, + {"2001:678:b58::/48", "29560"}, + {"2408:8256:3291::/48", "17816"}, + {"2408:8957:b800::/40", "17622"}, + {"240a:a41c::/32", "143702"}, + {"2800:350::/29", "11556"}, + {"2804:5af0::/32", "268808"}, + {"2a00:1988::/32", "5392"}, + {"2a00:4802:1f00::/34", "8717"}, + {"2a10:39c0::/29", "204790"}, + {"2407:1e40:201::/39", "141732"}, + {"2600:14c0:9::/48", "20940"}, + {"2607:fcf0:6::/39", "13445"}, + {"2804:161c:d80::/45", "263268"}, + {"2001:49f0:d103::/45", "3216"}, + {"2401:e7c0::/32", "132298"}, + {"2408:8812::/28", "4837"}, + {"2804:776c::/32", "271177"}, + {"2a01:110::/32", "6584"}, + {"2a01:832::/29", "3209"}, + {"240a:a1c2::/32", "143100"}, + {"240a:a45c::/32", "143766"}, + {"2803:6900:581::/48", "52423"}, + {"2400:c640::/40", "136406"}, + {"240a:a6b5::/32", "144367"}, + {"2801:174:1::/48", "18747"}, + {"2a02:26f7:f504::/48", "36183"}, + {"2001:4878:347::/48", "12222"}, + {"2408:893a::/32", "4837"}, + {"240e:5e:4007::/32", "4134"}, + {"2602:ffe4:c38::/48", "21859"}, + {"2620:149:bc::/41", "714"}, + {"2803:2a60::/32", "267881"}, + {"2a02:16d8:108::/32", "5518"}, + {"2a02:40c0:1000::/48", "50673"}, + {"2a05:1540::/29", "47755"}, + {"2a06:ef40::/32", "50495"}, + {"2001:559:819b::/48", "7922"}, + {"2405:1c0:6121::/46", "55303"}, + {"2804:814::/32", "262777"}, + {"2804:2050:2abd::/35", "264485"}, + {"2a02:e980:a6::/44", "19551"}, + {"2a0f:e6c0:123::/48", "60781"}, + {"2001:559:c257::/48", "33662"}, + {"2001:67c:174::/48", "48345"}, + {"2001:1388:8a40::/45", "264684"}, + {"2409:8087:5100::/37", "9808"}, + {"240a:a7c5::/32", "144639"}, + {"2804:1658:100f::/32", "263283"}, + {"2001:559:85c9::/48", "7922"}, + {"2001:4c08:2025::/48", "3356"}, + {"240a:a341::/32", "143483"}, + {"2620:123:9002::/45", "394976"}, + {"2001:250:6811::/45", "138373"}, + {"2602:fce7::/32", "399065"}, + {"2804:4824::/32", "267100"}, + {"2a02:26f7:d4c5::/46", "20940"}, + {"2a02:d247:1000::/32", "44087"}, + {"2001:559:c04e::/47", "7922"}, + {"2001:67c::/48", "47490"}, + {"2401:1d40:2101::/36", "59019"}, + {"2408:8256:c68::/39", "17622"}, + {"2606:6b80::/32", "16788"}, + {"2605:a404:b97::/42", "33363"}, + {"2804:2d38::/32", "265267"}, + {"2804:3874:a::/48", "266478"}, + {"2806:20d:5a20::/46", "32098"}, + {"2001:550:90b::/45", "174"}, + {"2001:67c:1708::/48", "38974"}, + {"240e:870:40::/44", "140486"}, + {"2604:880:5c::/48", "29802"}, + {"2604:2680::/48", "2386"}, + {"2800:160:1634::/41", "14259"}, + {"2001:df6:5a00::/48", "64302"}, + {"2401:4900:4bb0::/41", "45609"}, + {"2a00:139d::/30", "34878"}, + {"2a0a:3500::/32", "21485"}, + {"2a0f:85c1:200::/44", "209188"}, + {"2001:559:8317::/44", "33650"}, + {"2001:678:c7c::/48", "44416"}, + {"2400:7400:56::/48", "23736"}, + {"2607:700:1100::/38", "22343"}, + {"2803:5440:4059::/48", "264738"}, + {"2804:1290::/32", "263484"}, + {"2804:5294::/32", "268527"}, + {"2806:370:2010::/41", "28403"}, + {"2a03:2380:6::/32", "198818"}, + {"2a05:3580:fa00::/39", "35807"}, + {"2a0e:69c0::/48", "39862"}, + {"2001:df6:8f00::/48", "135817"}, + {"2409:8027:2c06::/44", "9808"}, + {"2600:6c39:223::/45", "20115"}, + {"2804:e94:160::/40", "262468"}, + {"2804:6380::/32", "269365"}, + {"2a01:9460::/32", "44644"}, + {"2a01:bb24:102::/48", "16509"}, + {"2a02:26f7:f509::/42", "20940"}, + {"2a07:a8c1::/33", "34939"}, + {"2001:559:8249::/48", "33657"}, + {"240a:ab80::/32", "145594"}, + {"2406:4440:f010::/44", "46997"}, + {"2408:805d:9::/40", "17623"}, + {"240e:108:23::/48", "58519"}, + {"2602:107:3010::/48", "33588"}, + {"2a02:ad8:4a00::/35", "12389"}, + {"2a02:26f7:e9cc::/48", "36183"}, + {"2001:559:84a3::/48", "33651"}, + {"2803:1f60::/32", "269838"}, + {"2a02:26f7:c605::/46", "20940"}, + {"2a06:5040:3::/48", "6134"}, + {"2001:fd8:2a4::/46", "132199"}, + {"2401:a400::/38", "7477"}, + {"2604:b180:440::/44", "18444"}, + {"2804:3034:181::/38", "264936"}, + {"2804:8118::/32", "272431"}, + {"2402:800:3563::/43", "7552"}, + {"2408:8459:9c10::/42", "17623"}, + {"2408:8957:7d00::/40", "17816"}, + {"2602:feda:106::/41", "38008"}, + {"2620:171:73::/40", "715"}, + {"2804:6a00::/32", "270305"}, + {"2806:21a:1::/39", "262913"}, + {"2a07:ad40::/29", "206772"}, + {"2001:559:c058::/48", "33651"}, + {"2001:67c:2f00::/48", "197763"}, + {"2406:d00:2222::/48", "132165"}, + {"2620:116:800b::/48", "14618"}, + {"2804:b7c::/32", "52762"}, + {"2a01:839::/25", "3209"}, + {"2a0f:b300:2222::/48", "42072"}, + {"2001:1608::/32", "44066"}, + {"2001:4878:4215::/46", "12222"}, + {"2803:ba00:600::/36", "52286"}, + {"2804:1694:8000::/33", "263294"}, + {"2804:4bc8:b00::/32", "267329"}, + {"2400:a980:4100::/37", "133111"}, + {"2403:2c00:d000::/34", "4058"}, + {"2408:8956:f8c0::/37", "17816"}, + {"2804:8cc::/39", "262394"}, + {"2804:2140:100d::/43", "53059"}, + {"2804:2a3c::/32", "264066"}, + {"2a02:2638::/46", "44788"}, + {"2a03:6947:300::/37", "61266"}, + {"2001:4c0:6001::/46", "855"}, + {"2001:67c:205c::/48", "51147"}, + {"2620:132:7000::/42", "19537"}, + {"2a00:dd60::/32", "60171"}, + {"2402:800:9263::/43", "7552"}, + {"240a:a099::/32", "142803"}, + {"2803:1a00:410d::/43", "262186"}, + {"2a07:22c1:ffe1::/48", "40916"}, + {"2001:1248:975d::/42", "11172"}, + {"2401:d800:a000::/35", "7552"}, + {"240e:978:1100::/37", "4134"}, + {"2a04:f580:9090::/48", "4809"}, + {"2001:67c:2a98::/48", "3301"}, + {"2409:8704::/38", "24547"}, + {"240a:aac8::/32", "145410"}, + {"2600:140b:1400::/48", "31109"}, + {"2a07:6cc0:30::/47", "61098"}, + {"2a0f:d780::/32", "44213"}, + {"2001:4878:8007::/44", "12222"}, + {"2402:800:5501::/44", "7552"}, + {"2806:2f0:9c61::/46", "17072"}, + {"2a07:3500:19e8::/48", "38915"}, + {"2001:40e0::/32", "15879"}, + {"2620:171:200::/40", "715"}, + {"2001:550:b001::/37", "174"}, + {"2001:559:8738::/48", "33659"}, + {"2402:c940::/32", "59217"}, + {"240e:3b2:8200::/35", "140316"}, + {"2804:19ec::/35", "61827"}, + {"2804:6a40::/32", "270322"}, + {"2a00:65a0::/32", "15930"}, + {"2a05:9281::/32", "61385"}, + {"2a0e:1c80:b::/48", "47869"}, + {"2001:250:400b::/48", "23910"}, + {"2001:559:e0::/47", "7922"}, + {"2001:559:31c::/48", "7015"}, + {"2001:559:810a::/48", "33287"}, + {"2404:f4c0:ff1f::/48", "149506"}, + {"2408:870c:4000::/44", "140979"}, + {"240e:438:b020::/43", "140647"}, + {"2600:6c38:8b1::/44", "20115"}, + {"2800:bf0:94::/48", "52257"}, + {"2804:878:1c1::/32", "262374"}, + {"2804:c58::/32", "52694"}, + {"2804:3e70:c008::/35", "266596"}, + {"2a0c:2f07:4896::/48", "206924"}, + {"2a0e:4007:fffe::/48", "208226"}, + {"2001:1a11:10d::/46", "42298"}, + {"2402:1880::/30", "20546"}, + {"2403:b4c0:f000::/36", "138398"}, + {"2405:4000:801:6::/38", "38082"}, + {"2408:8957:af00::/40", "17816"}, + {"240e:d:8800::/35", "58563"}, + {"2600:141b:2001::/37", "20940"}, + {"2804:792c::/32", "271289"}, + {"2a02:2498:4::/46", "13213"}, + {"2a02:26f7:db::/48", "20940"}, + {"2a06:3040:10::/48", "203020"}, + {"2a0b:f080::/32", "213319"}, + {"2a10:d900::/32", "34953"}, + {"2401:d800:7900::/42", "7552"}, + {"2408:8459:de30::/41", "17622"}, + {"2804:5700::/32", "268037"}, + {"2a0f:6480::/32", "205112"}, + {"2001:250:7013::/48", "24370"}, + {"2001:67c:179c::/48", "64465"}, + {"240a:a9f2::/32", "145196"}, + {"2607:1880:ec16::/48", "13499"}, + {"2804:3740::/32", "266399"}, + {"2804:5208::/32", "28594"}, + {"2a02:26f7:f404::/48", "36183"}, + {"2a03:a500::/32", "60087"}, + {"240a:a8b2::/32", "144876"}, + {"240a:af33::/32", "146541"}, + {"2605:5a80:c0a0::/48", "701"}, + {"2a04:a802::/39", "3549"}, + {"2a0c:2f07:f::/48", "206924"}, + {"240e:3be:c000::/37", "140315"}, + {"2620:0:1a70::/48", "23294"}, + {"2001:559:17c::/47", "7016"}, + {"2405:1c0:6731::/45", "55303"}, + {"240a:afef::/32", "146729"}, + {"2600:c02:1020::/48", "27385"}, + {"2600:1006:a100::/43", "6167"}, + {"2600:140f:a::/48", "20940"}, + {"2804:3484::/32", "265463"}, + {"2400:a980:68fe::/47", "133111"}, + {"2401:d800:b850::/40", "7552"}, + {"2001:ce0:2::/48", "4528"}, + {"2606:8d00::/32", "36327"}, + {"2804:1564:3000::/32", "52570"}, + {"2804:3a20::/32", "266072"}, + {"2a01:807::/32", "12430"}, + {"2a01:5041::/48", "202196"}, + {"2a0d:3dc0::/29", "210312"}, + {"2001:559:8031::/48", "33491"}, + {"2804:7d30::/32", "271545"}, + {"2a07:22c0:c100::/40", "64473"}, + {"2001:559:c26b::/48", "33659"}, + {"2001:6d0:4006::/48", "50776"}, + {"2001:43f8:780::/48", "37555"}, + {"2001:4860:4805::/48", "43515"}, + {"2402:8100:21c0::/45", "45271"}, + {"2409:8c28:2909::/35", "56041"}, + {"2600:1404:7401::/32", "20940"}, + {"2606:2800:4032::/47", "14210"}, + {"2404:1c80::/32", "4847"}, + {"2800:4f0:3::/48", "28006"}, + {"2801:96:fff9::/45", "28586"}, + {"2a0a:1800:4::/43", "49915"}, + {"2001:559:c3c6::/48", "33287"}, + {"2607:f088::/32", "1706"}, + {"2804:14c:471::/45", "28573"}, + {"2a02:26f0:16::/44", "20940"}, + {"2a03:e581::/48", "201057"}, + {"2a02:26f7:cf44::/48", "36183"}, + {"2a0c:9a40:1024::/48", "34927"}, + {"2409:8c20:5600::/42", "56046"}, + {"2600:100f:b050::/42", "6167"}, + {"2a02:888:44::/46", "48695"}, + {"2a02:26f7:b786::/47", "20940"}, + {"2a09:f040::/29", "29390"}, + {"2a0b:4d07:4::/48", "44239"}, + {"2a0f:b300:1111::/48", "208200"}, + {"2001:250:3012::/47", "24357"}, + {"2001:559:c194::/48", "33287"}, + {"2001:16a2:3e00::/39", "25019"}, + {"2607:a800:647::/48", "15695"}, + {"2804:ef4:5800::/34", "28642"}, + {"2a0a:54c1:2a::/43", "62240"}, + {"2001:978:2304::/48", "174"}, + {"2400:6280:6280::/48", "132280"}, + {"240a:a415::/32", "143695"}, + {"240a:a844::/32", "144766"}, + {"2a03:6100:6101::/32", "34594"}, + {"2401:d800:9c0::/38", "7552"}, + {"240e:90d:d800::/34", "4134"}, + {"2603:c0e0:2910::/40", "54253"}, + {"2604:d600:1016::/44", "32098"}, + {"2804:1788::/32", "263153"}, + {"2401:32c0::/32", "136176"}, + {"2804:e38::/32", "262942"}, + {"2400:5800::/45", "38712"}, + {"2401:be00:1::/45", "55641"}, + {"2409:896a:6500::/38", "9808"}, + {"2409:8c1e:a930::/33", "9808"}, + {"2804:e30:3c00::/38", "11338"}, + {"2a00:6901:a003::/48", "20926"}, + {"2a0e:b107:df1::/48", "141237"}, + {"2402:800:331d::/42", "7552"}, + {"2407:8000::/31", "9381"}, + {"240a:acf1::/32", "145963"}, + {"2606:2800:5088::/48", "15133"}, + {"2607:f6f0:1001::/48", "394749"}, + {"2a00:b160::/32", "47586"}, + {"2a01:540:7000::/32", "12389"}, + {"2a0a:aa80::/32", "57198"}, + {"2001:559:82ff::/48", "7922"}, + {"2001:67c:2ef0::/48", "15542"}, + {"2001:559:76::/48", "33491"}, + {"2400:6280:139::/48", "132280"}, + {"2409:8043:2c05::/32", "9808"}, + {"2a02:26f0:1a00::/48", "34164"}, + {"2a02:4660::/32", "201975"}, + {"2001:4878:b259::/48", "12222"}, + {"240a:a1bd::/32", "143095"}, + {"2806:2f0:3821::/46", "17072"}, + {"2a01:8fc0::/32", "8913"}, + {"2a02:26f7:f289::/42", "20940"}, + {"2a03:3d60::/29", "35394"}, + {"2001:579:6028::/40", "22773"}, + {"2401:4900:22a0::/41", "45609"}, + {"2409:8c44:b00::/48", "9808"}, + {"240a:acf6::/32", "145968"}, + {"240e:438:4e20::/43", "140647"}, + {"2600:6c10:ffaa::/43", "20115"}, + {"2605:3f80::/32", "393238"}, + {"2620:132:f0fb::/39", "394977"}, + {"2a03:f80:70::/48", "56630"}, + {"2001:3c8:1307::/44", "4621"}, + {"2001:559:83ac::/47", "7922"}, + {"2600:1806:111::/48", "16552"}, + {"2a01:620::/46", "12389"}, + {"2a07:a343:ce30::/44", "9009"}, + {"2001:559:82cc::/48", "33287"}, + {"2408:8956:4e00::/40", "17622"}, + {"240e:cf:9000::/36", "139201"}, + {"2804:3b10::/32", "266127"}, + {"2a00:c740::/32", "48803"}, + {"2a0e:acc0:ac04::/48", "208414"}, + {"2001:559:51f::/48", "33652"}, + {"2401:4900:5d60::/44", "45609"}, + {"2408:8956:efc0::/35", "17622"}, + {"2606:9200:9000::/33", "6428"}, + {"2a03:2880:f15d::/46", "32934"}, + {"2001:250:3445::/48", "138393"}, + {"2001:df2:bc00::/48", "45734"}, + {"240e:44d:4780::/41", "4134"}, + {"2a10:9903:101::/48", "15510"}, + {"2405:8a00:20f4::/39", "55824"}, + {"2800:160:1392::/45", "14259"}, + {"2a00:78c0::/29", "30781"}, + {"2a0a:de80::/32", "206605"}, + {"2804:1ef8::/32", "264457"}, + {"2a02:26f7:ca00::/48", "36183"}, + {"2402:1b40:5000::/37", "7628"}, + {"2402:d000:1061::/45", "9329"}, + {"2408:8345:1200::/32", "4837"}, + {"2607:fb90:4500::/35", "21928"}, + {"2804:4f8:e000::/36", "28263"}, + {"2804:41f8:f008::/38", "267469"}, + {"2806:230:4020::/48", "265594"}, + {"2001:559:8725::/48", "33287"}, + {"2001:fd8:a8::/41", "4775"}, + {"240e:966:a800::/38", "58772"}, + {"2602:80a:7000::/48", "399798"}, + {"2607:8480:8000::/33", "22639"}, + {"2620:132:6000::/48", "21701"}, + {"2804:53b0:4001::/43", "268600"}, + {"2001:559:87de::/48", "13367"}, + {"2604:3200::/32", "21623"}, + {"2606:7100::/35", "21581"}, + {"2a05:f180::/29", "200836"}, + {"2a0e:bf00::/39", "202539"}, + {"2001:448a:50f0::/39", "7713"}, + {"2406:8800:40::/43", "17465"}, + {"2409:806b:1100::/36", "9808"}, + {"2605:f080:700::/40", "62756"}, + {"2a03:77a0::/32", "201085"}, + {"2c0f:fe78::/33", "37239"}, + {"2001:559:246::/48", "33657"}, + {"2001:da8:6033::/37", "23910"}, + {"240a:a7a2::/32", "144604"}, + {"240a:a7ea::/32", "144676"}, + {"2600:1419:4c00::/48", "4230"}, + {"2602:ffc5:164::/48", "212032"}, + {"2a0b:6780::/29", "29262"}, + {"2c0f:f888:8000::/33", "37119"}, + {"2401:d800:b490::/42", "7552"}, + {"240a:a124::/32", "142942"}, + {"240a:a4d2::/32", "143884"}, + {"2605:f440:5602::/41", "21957"}, + {"240a:a4a0::/32", "143834"}, + {"240e:964:f400::/39", "58772"}, + {"2804:5b9c::/32", "268858"}, + {"2a0f:3240::/29", "37200"}, + {"2001:1260:103::/45", "13591"}, + {"2001:1a40:c::/41", "5416"}, + {"240a:aab7::/32", "145393"}, + {"2801:94::/32", "52958"}, + {"2401:3600::/32", "131934"}, + {"2401:fb40::/32", "397086"}, + {"2804:157c::/32", "263390"}, + {"2804:4c6c::/32", "52542"}, + {"2a02:e980:206::/44", "19551"}, + {"2001:559:45f::/48", "7015"}, + {"2001:1248:a46e::/43", "11172"}, + {"2001:1868::/32", "11404"}, + {"2408:8957:5600::/40", "17622"}, + {"2600:6c10:92::/45", "20115"}, + {"2604:4d40:3c00::/39", "213073"}, + {"2804:4044:1160::/32", "265948"}, + {"2806:2f0:320::/47", "22884"}, + {"2a03:b540::/32", "31287"}, + {"2a09:4c0:1e1::/38", "58057"}, + {"2a0a:e202:800b::/48", "33438"}, + {"2001:16a2:3800::/38", "25019"}, + {"2602:fc39:1::/48", "174"}, + {"2806:230:3001::/48", "11888"}, + {"2a02:2878:c000::/34", "42699"}, + {"2001:1248:574b::/42", "11172"}, + {"2001:1560::/32", "34171"}, + {"2806:2a0:200::/40", "28548"}, + {"2a01:56c0::/32", "198864"}, + {"2a02:b20::/32", "29321"}, + {"2401:d800:2d2::/39", "7552"}, + {"240e:44d:6900::/42", "140345"}, + {"2409:8750:300::/37", "56047"}, + {"240a:ab06::/32", "145472"}, + {"240e:438:6220::/43", "140647"}, + {"2603:1000::/25", "8075"}, + {"2402:800:3e01::/43", "7552"}, + {"2409:801e:3008::/48", "24400"}, + {"2a0d:9340:626::/35", "35761"}, + {"2001:67c:13a4::/48", "209579"}, + {"240e:981:b200::/33", "4134"}, + {"2600:1fa0:1080::/44", "16509"}, + {"2801:80:510::/48", "52652"}, + {"2a02:26f7:fb85::/46", "20940"}, + {"2a09:b080::/29", "49191"}, + {"2001:470:2a::/48", "54816"}, + {"2408:8459:cb50::/37", "17816"}, + {"2800:160:1ea8::/45", "14259"}, + {"2804:214:13::/45", "26615"}, + {"2001:579:c640::/39", "22773"}, + {"240a:afb4::/32", "146670"}, + {"2600:141b:c801::/35", "20940"}, + {"2600:370f:3701::/45", "32261"}, + {"2804:3a70::/32", "266089"}, + {"2a02:c6c1:1::/48", "10929"}, + {"2001:4878:158::/48", "12222"}, + {"2409:8904:5f40::/42", "24547"}, + {"2620:0:440::/48", "10146"}, + {"2803:9040::/32", "264821"}, + {"2a00:d98::/32", "30833"}, + {"2a02:26f7:da10::/48", "36183"}, + {"2607:f220:400::/47", "3527"}, + {"2a01:b740:1e00::/32", "714"}, + {"2001:559:861c::/48", "33650"}, + {"2a0f:c640::/48", "34798"}, + {"2402:e280:1100::/48", "134674"}, + {"240e:982:9400::/40", "63838"}, + {"2804:2b04::/32", "265131"}, + {"2a02:26f7:5b::/48", "20940"}, + {"2001:da8:c80c::/48", "23910"}, + {"2408:8956:f240::/40", "17622"}, + {"240a:a1c4::/32", "143102"}, + {"2600:6c38:a9f::/42", "20115"}, + {"2620:0:2b0::/48", "21617"}, + {"2803:d100:9080::/38", "52362"}, + {"2a02:a30:f096::/36", "8926"}, + {"2a0f:25c0:1990::/48", "207077"}, + {"2001:be0::/32", "13005"}, + {"2603:c0f1:2000::/36", "6142"}, + {"2604:2d80:880b::/40", "30036"}, + {"2800:bf0:2a40::/46", "52257"}, + {"2804:34c0::/32", "265477"}, + {"2a06:9d40::/29", "31543"}, + {"240a:a8e7::/32", "144929"}, + {"240e:790::/26", "4134"}, + {"240a:a284::/32", "143294"}, + {"240a:a31d::/32", "143447"}, + {"2600:1404:b000::/48", "35994"}, + {"2804:4c34::/32", "61592"}, + {"2a03:d606::/31", "42487"}, + {"2001:43f8:700::/44", "2018"}, + {"240e:86:8000::/36", "17799"}, + {"2804:1918::/39", "52862"}, + {"2001:500:71::/48", "33071"}, + {"2406:3002:21::/43", "4657"}, + {"2804:1d80:4000::/35", "264374"}, + {"2a01:4200::/30", "21453"}, + {"2a02:26f7:b9c4::/47", "36183"}, + {"2001:559:c4b1::/48", "33491"}, + {"2404:4600:fcf::/32", "10158"}, + {"2406:56c0::/32", "18229"}, + {"240a:aa04::/32", "145214"}, + {"2a01:198::/32", "34225"}, + {"2407:1140::/32", "136336"}, + {"240e:1a:30::/44", "138950"}, + {"2604:d600:1622::/45", "32098"}, + {"2800:bf0:3501::/40", "27947"}, + {"2a01:8a80::/32", "25496"}, + {"2a02:6000::/33", "35130"}, + {"2001:559:c316::/48", "7922"}, + {"2001:1248:57f0::/47", "11172"}, + {"2403:8600:60e0::/47", "45820"}, + {"2620:119:50be::/48", "202745"}, + {"2806:230:401e::/48", "265594"}, + {"2001:468:1f12::/34", "11537"}, + {"2001:5f8:7d03::/48", "30325"}, + {"2600:6c10:c23::/45", "20115"}, + {"2804:14c:8700::/40", "28573"}, + {"2a00:1c78::/48", "25408"}, + {"2a04:8080::/29", "61207"}, + {"2a0f:7480::/29", "212807"}, + {"2001:90c::/30", "12618"}, + {"240a:a362::/32", "143516"}, + {"2a02:aa0::/29", "44034"}, + {"2a02:1390:9000::/40", "21351"}, + {"2001:559:77b::/48", "20214"}, + {"2001:da8:a401::/38", "23910"}, + {"2405:5300::/32", "24255"}, + {"2800:40:29::/46", "16814"}, + {"2a01:4262:1ab::/48", "205235"}, + {"2a0c:95c0::/29", "207509"}, + {"2407:9540::/32", "142435"}, + {"240a:a7a9::/32", "144611"}, + {"2800:bf0:68::/48", "27947"}, + {"2001:559:559::/48", "7922"}, + {"2603:c002:9210::/39", "31898"}, + {"2800:160:1b11::/46", "14259"}, + {"2804:1948::/32", "61784"}, + {"2a06:f4c0::/29", "29596"}, + {"240c:c983::/32", "24355"}, + {"240e:109:8020::/48", "4134"}, + {"2804:34::/34", "28306"}, + {"2a02:26f7:f104::/48", "36183"}, + {"2a04:f580:8090::/48", "4134"}, + {"2c0f:6c00::/40", "51110"}, + {"2001:559:243::/48", "21508"}, + {"2001:1248:56e3::/44", "11172"}, + {"2404:3d80:200::/40", "147297"}, + {"2600:1417:30::/46", "24319"}, + {"2a00:e400::/29", "35258"}, + {"2a03:b8c0:10::/48", "202276"}, + {"2a0a:e5c0:16::/48", "213081"}, + {"2001:559:80ee::/47", "33287"}, + {"2401:d800:7062::/40", "7552"}, + {"240e:978:6000::/40", "137702"}, + {"2602:fb95::/36", "400587"}, + {"2804:2144:3::/39", "52795"}, + {"2c0f:ff28::/32", "33788"}, + {"2409:8a55::/34", "9808"}, + {"2604:55c0:100::/48", "4138"}, + {"2a02:d40:3::/48", "197071"}, + {"2001:67c:1348::/48", "2485"}, + {"2001:ee0:f000::/39", "45899"}, + {"240e:379:1a00::/34", "140330"}, + {"2600:1000:be00::/44", "6167"}, + {"2804:3fc4::/32", "265913"}, + {"2804:7ab4::/39", "271387"}, + {"2a07:3502:10c0::/48", "33915"}, + {"2c0e:4020:a000::/36", "36994"}, + {"2001:559:1ce::/48", "7016"}, + {"2001:df6:4400::/48", "133301"}, + {"2407:bc40::/32", "55899"}, + {"2600:370f:5263::/45", "32261"}, + {"2606:49c0::/32", "399679"}, + {"2804:2da8::/32", "265295"}, + {"2a04:4e40:7430::/41", "54113"}, + {"2001:579:5a5c::/42", "22773"}, + {"2001:718::/29", "2852"}, + {"2001:43a0::/32", "36965"}, + {"2804:5678::/32", "268002"}, + {"2a00:4120:8006::/33", "20804"}, + {"2a03:5ac0::/32", "199587"}, + {"2408:8459:b430::/41", "17622"}, + {"2804:2890::/32", "52731"}, + {"2001:559:c01c::/48", "33657"}, + {"2001:559:c286::/48", "33657"}, + {"2404:bf40:f103::/40", "139084"}, + {"2800:bf0:8164::/48", "27947"}, + {"2a0b:a5c0::/29", "205807"}, + {"2001:16a2:82c0::/42", "25019"}, + {"2404:bf40:a241::/48", "7545"}, + {"2800:3a0:5::/46", "23201"}, + {"2806:370:82b0::/41", "28403"}, + {"2a02:26f7:f489::/42", "20940"}, + {"2001:1a11:b7::/44", "42298"}, + {"2001:4878:27::/48", "12222"}, + {"2a01:a0a0::/48", "35501"}, + {"2001:4408:5900::/38", "4758"}, + {"2408:8256:3776::/44", "17623"}, + {"2620:c6::/48", "63056"}, + {"2a02:38:1111::/48", "59747"}, + {"2a02:2958::/32", "20849"}, + {"2a0c:29c1::/32", "56465"}, + {"2405:a540:1004::/44", "38156"}, + {"2406:f400:80::/44", "38001"}, + {"2a04:9a00:1200::/48", "1136"}, + {"2a0e:8ac0::/29", "203744"}, + {"2001:559:af::/48", "7016"}, + {"2001:559:c4c0::/46", "7922"}, + {"2620:122:8002::/48", "399730"}, + {"2800:160:12d3::/44", "14259"}, + {"2804:5b84:8000::/36", "28329"}, + {"2804:673c:c000::/38", "269615"}, + {"2a06:d180::/29", "51184"}, + {"2804:7c6c::/32", "271495"}, + {"240e:40:8::/48", "58519"}, + {"2604:d600:1650::/44", "32098"}, + {"2620:8f:8000::/48", "396012"}, + {"2a0f:d600:154::/32", "208236"}, + {"2c0f:f390::/32", "37356"}, + {"2001:67c:13dc::/48", "210577"}, + {"2001:4998:15d::/46", "10310"}, + {"2804:d98::/32", "52642"}, + {"240a:ab0e::/32", "145480"}, + {"2a00:dd80:10::/48", "36236"}, + {"2a01:ae20::/32", "47381"}, + {"2a02:c6c1:2::/48", "58061"}, + {"2a02:e340::/29", "50304"}, + {"2c0f:ff40::/26", "10474"}, + {"2402:e280:2232::/45", "134674"}, + {"2602:ff23:1::/36", "63252"}, + {"2605:a404:af2::/45", "33363"}, + {"2606:6680:21::/45", "40676"}, + {"2a02:26f7:e349::/42", "20940"}, + {"2001:1248:965a::/42", "11172"}, + {"240a:aef6::/32", "146480"}, + {"2804:498::/32", "52988"}, + {"2804:2438:2000::/32", "264209"}, + {"2a02:e00:ffe7::/48", "61272"}, + {"2a02:efc0::/29", "56689"}, + {"2a0a:1180::/31", "206746"}, + {"2600:6c54::/30", "20115"}, + {"2602:feb4:60::/44", "25961"}, + {"2a00:c10::/32", "12387"}, + {"2a02:26f7:42::/48", "36183"}, + {"2a05:b680:6::/48", "31017"}, + {"2a0f:91c0::/47", "207843"}, + {"2a10:4646:150::/47", "48732"}, + {"2409:873c::/32", "24444"}, + {"240a:a91a::/32", "144980"}, + {"240a:afcf::/32", "146697"}, + {"2801:0:1c0::/45", "21578"}, + {"2a02:70c0::/32", "29467"}, + {"2a0c:9880::/29", "50763"}, + {"2001:550:2f01::/35", "174"}, + {"2804:3394::/32", "265405"}, + {"2001:559:8206::/48", "7016"}, + {"2801:1c8:234::/40", "19429"}, + {"2804:7bf0::/32", "271464"}, + {"2a01:b740:a04::/48", "6185"}, + {"2a03:720:9::/43", "57073"}, + {"2001:559:12a::/48", "7015"}, + {"2404:bf40:a640::/48", "7545"}, + {"2804:2e9c::/32", "265355"}, + {"2402:e280:1200::/39", "134674"}, + {"2806:230:1033::/48", "11888"}, + {"2a02:20::/32", "9026"}, + {"2001:1b76::/32", "158"}, + {"2400:cb00:170::/48", "13335"}, + {"2a02:26f7:e444::/48", "36183"}, + {"2a0f:9400:72ff::/48", "213163"}, + {"2405:1c0:6451::/46", "55303"}, + {"240e:848:10::/42", "4134"}, + {"2001:1248:5741::/44", "11172"}, + {"2402:c400::/32", "18097"}, + {"2806:230:203d::/48", "11888"}, + {"2a01:8840:d9::/48", "207266"}, + {"2a04:4e40:de00::/48", "54113"}, + {"2001:559:825d::/48", "22909"}, + {"2001:579:a0d4::/39", "22773"}, + {"2402:f180:1::/48", "9293"}, + {"2409:896a:aa00::/39", "9808"}, + {"2409:8a50:d00::/38", "56047"}, + {"240a:a22c::/32", "143206"}, + {"240a:aa5f::/32", "145305"}, + {"2a02:26f7:f6e5::/46", "20940"}, + {"2600:1415:5801::/32", "20940"}, + {"2604:ca00:224::/46", "36492"}, + {"2620:100:9008::/47", "13916"}, + {"2804:55d4::/32", "267959"}, + {"2a01:6ca0::/32", "12703"}, + {"2a0c:b641:457::/48", "208471"}, + {"2001:250:6c3e::/48", "23910"}, + {"2401:d800:b180::/42", "7552"}, + {"2409:8060:2100::/35", "9808"}, + {"2a01:b540::/29", "15600"}, + {"2001:380::/32", "4713"}, + {"2001:df3:d700::/48", "137297"}, + {"240a:ae1b::/32", "146261"}, + {"2a0a:c4c0::/48", "47952"}, + {"2a0b:d440::/29", "204586"}, + {"2001:250:1800::/43", "138441"}, + {"2001:df0:8500::/48", "59128"}, + {"240e:3b2:1200::/39", "4134"}, + {"2603:c0f0:2110::/40", "6142"}, + {"2605:49c0:2::/47", "15094"}, + {"2607:ca80::/32", "395475"}, + {"2804:14d:5800::/42", "28573"}, + {"2a0a:ea80::/29", "206589"}, + {"2001:559:c4d8::/48", "33651"}, + {"2600:1007:a000::/44", "6167"}, + {"2604:a00:102::/35", "19318"}, + {"2a0e:800:ff7f::/48", "208266"}, + {"2001:559:8196::/48", "20214"}, + {"2001:678:29c::/48", "51143"}, + {"2001:1810:40::/35", "14116"}, + {"240e:bf:b8d8::/46", "138387"}, + {"2620:22:c000::/48", "55196"}, + {"2001:67c:2824::/48", "12722"}, + {"2403:6b80:ffff::/48", "2635"}, + {"2409:806c:1100::/34", "9808"}, + {"240a:aaea::/32", "145444"}, + {"2600:c05::/34", "11855"}, + {"2605:7100::/32", "11238"}, + {"2804:6e40::/34", "270584"}, + {"2a07:9480::/29", "9083"}, + {"2a0c:ca80::/30", "34915"}, + {"2804:3084::/32", "264956"}, + {"2a01:41e0::/31", "62336"}, + {"2a04:e800:5019::/48", "57976"}, + {"2001:df3:a480::/48", "137549"}, + {"2603:c0e0:2000::/39", "54253"}, + {"2606:2800:6a08::/46", "15133"}, + {"2606:b700::/32", "26809"}, + {"2620:105:c000::/48", "7767"}, + {"2804:1098::/32", "52766"}, + {"2a00:1d58:c980::/38", "47524"}, + {"2a0f:5701:3507::/44", "206499"}, + {"2401:1c00:3100::/33", "38809"}, + {"2406:2000:1d1::/32", "10310"}, + {"2804:5afc:7000::/36", "268811"}, + {"2604:4cc0:11::/48", "20150"}, + {"2001:559:c33a::/48", "33287"}, + {"2400:2000:d::/46", "17676"}, + {"2400:fc00:8550::/40", "45773"}, + {"2402:e280:2139::/45", "134674"}, + {"2405:f080:e06::/44", "136907"}, + {"2409:8003:2900::/40", "38019"}, + {"2a02:26f7:c30c::/48", "36183"}, + {"2a0a:bb80::/29", "206620"}, + {"2001:559:c204::/48", "7922"}, + {"2405:57c0::/48", "137799"}, + {"2408:8456:240::/39", "17816"}, + {"2803:f00:700::/42", "262182"}, + {"2001:fb0:1000::/46", "9287"}, + {"2001:44b8:604e::/48", "7545"}, + {"2403:9800:6200::/37", "4771"}, + {"2409:8c10::/30", "9808"}, + {"2a01:8840:76::/44", "12041"}, + {"2001:6d0:4001::/46", "52016"}, + {"2409:8080:2ad0::/44", "9808"}, + {"2001:500:88::/48", "16876"}, + {"2001:559:38c::/48", "7922"}, + {"2001:df4:d080::/47", "133145"}, + {"2401:d800:d7c0::/42", "7552"}, + {"240a:a12b::/32", "142949"}, + {"2605:1800::/32", "16863"}, + {"2800:4d0::/34", "7004"}, + {"2804:6d1c::/32", "270513"}, + {"2a0c:2f07:29::/48", "206924"}, + {"2001:12f0:440::/39", "1916"}, + {"240a:a039::/32", "142707"}, + {"2806:10c0:ffff::/48", "8151"}, + {"2a02:26f8::/32", "29551"}, + {"2001:559:180::/48", "33659"}, + {"2400:a980:2400::/40", "133518"}, + {"2a01:acc0::/32", "41083"}, + {"2a07:ce40::/29", "201463"}, + {"2800:300:9060::/40", "27986"}, + {"2a02:26f7:b99d::/46", "20940"}, + {"2400:7400:4b::/43", "38044"}, + {"2405:7f00:9900::/38", "133414"}, + {"2804:3e8:103::/35", "28663"}, + {"2a03:8800:1::/48", "200826"}, + {"2001:559:4da::/48", "33491"}, + {"2001:df5:c100::/48", "137950"}, + {"2001:49f0:d03f::/41", "174"}, + {"2600:6c10:f230::/41", "20115"}, + {"2803:9800:a099::/42", "11664"}, + {"2a00:5d00::/32", "39153"}, + {"2a0a:8380::/29", "33943"}, + {"2407:b700::/32", "58708"}, + {"2607:fdf0:5e67::/44", "8008"}, + {"2a00:7fc0:8000::/48", "49130"}, + {"2a06:7d40::/29", "34428"}, + {"2a10:4cc0::/40", "12843"}, + {"2001:559:874a::/47", "13367"}, + {"240e:108:9c::/35", "4134"}, + {"2605:bb00:1004::/34", "4213"}, + {"2a04:6380::/29", "61231"}, + {"2a0c:9a40:82f0::/44", "148971"}, + {"2400:7400:23::/48", "23736"}, + {"2401:4900:5d6c::/48", "45609"}, + {"2600:4c00:200::/37", "63410"}, + {"2804:18:5010::/42", "26599"}, + {"2a10:cc40:150::/46", "209669"}, + {"2001:559:57f::/48", "33660"}, + {"240a:ae05::/32", "146239"}, + {"2804:41e0::/32", "267462"}, + {"2a00:4802:3210::/39", "8717"}, + {"2a01:abc0::/32", "12709"}, + {"2001:559:843e::/48", "7922"}, + {"2001:4b3a::/32", "25220"}, + {"240e:44d:3180::/41", "4134"}, + {"2804:4028::/32", "265938"}, + {"2a03:3740::/32", "43350"}, + {"2405:dc00:8000::/33", "4804"}, + {"2406:4300::/32", "133398"}, + {"2620:125:9070::/48", "397415"}, + {"2800:160:204e::/42", "14259"}, + {"2804:2818:b::/32", "263940"}, + {"2804:4100::/32", "265997"}, + {"2804:858c:8000::/33", "272586"}, + {"2a02:23f0::/32", "20771"}, + {"2a0b:de02:48::/48", "207486"}, + {"2001:a60::/29", "8767"}, + {"2001:43f8:1140::/47", "10310"}, + {"2400:89c0:6100::/48", "37936"}, + {"2402:5300:440::/39", "45903"}, + {"2a00:d80::/29", "35518"}, + {"2a00:1ca8:9d::/41", "50673"}, + {"2a02:26f0:34::/47", "20940"}, + {"2001:559:8421::/48", "33659"}, + {"2403:680::/32", "134723"}, + {"240a:a059::/32", "142739"}, + {"2620:22::/48", "53355"}, + {"2a00:1a58::/32", "20904"}, + {"2a04:8140::/48", "60781"}, + {"2001:da8:2023::/48", "23910"}, + {"2001:44b8:24::/48", "7545"}, + {"240a:a8c1::/32", "144891"}, + {"2804:98c::/32", "263099"}, + {"2001:4878:b102::/48", "12222"}, + {"2408:8459:ec10::/42", "17623"}, + {"2600:380:e400::/44", "20057"}, + {"2600:9000:108e::/47", "16509"}, + {"2804:610::/32", "262565"}, + {"2804:7444::/32", "270970"}, + {"2a02:878:a801::/48", "42632"}, + {"2001:678:5c4::/48", "48534"}, + {"2408:8256:3d95::/48", "17816"}, + {"2620:0:2be0::/48", "19106"}, + {"2620:104:2031::/46", "40185"}, + {"2a00:86c0:1043::/43", "2906"}, + {"2a07:4a80::/29", "212238"}, + {"2001:678:6a0::/48", "207647"}, + {"2401:b780:5012::/32", "45410"}, + {"240a:a2cc::/32", "143366"}, + {"240e:44d:3740::/42", "140353"}, + {"2804:4a0::/32", "52989"}, + {"2a04:4fe0::/30", "200187"}, + {"2a07:b300::/29", "213101"}, + {"2402:6800::/50", "22822"}, + {"2405:6400:2000::/35", "23678"}, + {"2409:804e:2100::/35", "9808"}, + {"2600:d07:4000::/28", "20161"}, + {"2605:dd40:8270::/37", "398549"}, + {"2a02:598:4445::/32", "43037"}, + {"2a04:bb40::/29", "62031"}, + {"2001:13b0:800f::/43", "3549"}, + {"2804:14c:c684::/43", "28573"}, + {"2a02:26f7:eb4d::/46", "20940"}, + {"2a02:a200::/27", "33915"}, + {"2407:4e40::/48", "142040"}, + {"2607:f830::/32", "1998"}, + {"2a0f:7cc0::/29", "34591"}, + {"2a0f:a900::/29", "15391"}, + {"2803:9800:94c1::/46", "11664"}, + {"2a00:13b8::/32", "34279"}, + {"2001:67c:297c::/48", "3209"}, + {"2600:e000:400::/40", "22995"}, + {"2607:1900::/32", "14140"}, + {"2806:2f0:83e3::/37", "17072"}, + {"2a0f:9400:735f::/48", "14570"}, + {"2001:67c:20e0::/48", "34225"}, + {"2406:daa0:2020::/44", "16509"}, + {"2c0f:f578::/42", "24691"}, + {"2402:3b80::/32", "134128"}, + {"2409:8728::/33", "56041"}, + {"2607:c200:1106::/48", "6461"}, + {"2804:fa8::/32", "53050"}, + {"2804:19e0::/32", "61824"}, + {"2804:3588::/32", "266292"}, + {"2a07:8740::/29", "34549"}, + {"2c0f:fff0::/32", "37125"}, + {"2001:559:86d6::/44", "7922"}, + {"2001:1208::/32", "3905"}, + {"2404:3d00:412e::/43", "3573"}, + {"240e:980:8300::/40", "4811"}, + {"2804:5034::/32", "268375"}, + {"2001:13f8::/32", "27817"}, + {"2800:bf0:103::/48", "27947"}, + {"2804:14c:87cb::/42", "28573"}, + {"2a02:26f7:ec55::/44", "20940"}, + {"240a:a652::/32", "144268"}, + {"2604:4580:202::/47", "26375"}, + {"2804:4164::/32", "267430"}, + {"2a11:f400::/48", "197116"}, + {"2001:579:4139::/41", "22773"}, + {"240a:a4e2::/32", "143900"}, + {"2804:49b0::/32", "267197"}, + {"2a0c:9a40:82b0::/48", "1239"}, + {"2001:df2:5a80::/48", "139866"}, + {"2001:fd8:18c0::/39", "4775"}, + {"2806:20d:163b::/45", "32098"}, + {"2001:550:2605::/48", "396509"}, + {"2402:800:99d3::/44", "7552"}, + {"2604:880:38f::/43", "29802"}, + {"2605:9b00::/32", "32220"}, + {"2607:f170::/43", "6364"}, + {"2a09:f780:1::/48", "41864"}, + {"2620:cb:6::/47", "3549"}, + {"2401:d800:c30::/41", "7552"}, + {"2604:6600:ea00::/35", "40676"}, + {"2806:2f0:5161::/46", "17072"}, + {"2a02:587:8500::/33", "6799"}, + {"2a02:2e02:9570::/40", "12479"}, + {"2a0c:5247:7000::/36", "59504"}, + {"2800:b70:400::/48", "262191"}, + {"2801:1fc:28::/48", "27951"}, + {"240e:44d:4600::/41", "140345"}, + {"2804:7dcc::/32", "271583"}, + {"2a01:280:370::/48", "3301"}, + {"2a07:78c0::/29", "211769"}, + {"2001:559:4a3::/48", "33657"}, + {"240a:acc0::/32", "145914"}, + {"2001:c20:48bb::/41", "3758"}, + {"2001:df4:d500::/48", "135905"}, + {"2600:6c38:74e::/42", "20115"}, + {"2804:1818::/32", "262657"}, + {"2806:2f0:4221::/46", "17072"}, + {"2602:feb4:100::/44", "25961"}, + {"2606:fc00::/32", "12097"}, + {"2a02:f48:2100::/40", "44515"}, + {"2a02:16f0::/32", "34928"}, + {"2001:67c:2c14::/48", "31424"}, + {"2001:67c:2d8c::/48", "33965"}, + {"2001:df0:54c0::/48", "149347"}, + {"2404:160::/32", "10030"}, + {"2602:fe12:11::/48", "62707"}, + {"2606:2800:c::/48", "15133"}, + {"2804:75e4::/32", "271076"}, + {"2a00:1ed8::/29", "41073"}, + {"2a00:dd00:7::/32", "212573"}, + {"2a03:47c0:2481::/32", "21277"}, + {"240a:a86a::/32", "144804"}, + {"2804:4200::/32", "267471"}, + {"2001:dc8:2001::/48", "131131"}, + {"2604:1d40:2000::/36", "30612"}, + {"2a0e:8f00:f103::/45", "49933"}, + {"2800:160:1616::/42", "14259"}, + {"2c0f:f3a8::/32", "37308"}, + {"2001:468:280a::/45", "11537"}, + {"2001:559:c1f5::/48", "20214"}, + {"2001:67c:2570::/48", "13030"}, + {"2001:4878:2007::/44", "12222"}, + {"2408:8957:da40::/40", "17622"}, + {"240e:357:5c00::/34", "134419"}, + {"2804:14d:2a2d::/41", "28573"}, + {"2804:1e90:a180::/33", "264436"}, + {"2605:2800:200::/35", "6922"}, + {"2620:132:f000::/40", "394977"}, + {"2804:14c:878e::/43", "28573"}, + {"2804:2cd4:b0::/41", "265246"}, + {"2804:2e44::/32", "265335"}, + {"2806:2f0:8021::/46", "17072"}, + {"2a07:5201::/47", "213208"}, + {"2401:8800:11::/40", "17439"}, + {"2406:f680::/47", "132298"}, + {"240a:ac31::/32", "145771"}, + {"2804:164c:cc::/42", "263280"}, + {"2a0d:7a40:2::/48", "60254"}, + {"2001:df5:fc00::/48", "134249"}, + {"2409:8c54:5100::/37", "9808"}, + {"2600:370f:73c1::/45", "32261"}, + {"2a04:dc80::/29", "49788"}, + {"2602:fd31::/36", "398568"}, + {"2602:fe20::/36", "32444"}, + {"2603:c0fa::/35", "20054"}, + {"2800:bf0:2c7::/44", "52257"}, + {"2804:70f0::/32", "270757"}, + {"2a01:8560::/32", "25376"}, + {"2001:559:c44c::/48", "7922"}, + {"2401:d800:f950::/42", "7552"}, + {"2409:8904:59b0::/38", "24547"}, + {"240c:cd22:cd23::/24", "23910"}, + {"240e:67f:8400::/38", "140329"}, + {"2604:77c0::/32", "19156"}, + {"2605:6840::/39", "398041"}, + {"2804:3090::/32", "264961"}, + {"2a03:68c0:2b00::/32", "61327"}, + {"2a07:8080::/32", "62296"}, + {"2a0a:8d40::/29", "60987"}, + {"2001:67c:5f8::/48", "198089"}, + {"2001:16d8:c014::/36", "16150"}, + {"2402:4440:9c81::/46", "24423"}, + {"240a:a2ee::/32", "143400"}, + {"2600:bc02::/24", "54600"}, + {"2a02:5740:24::/48", "58065"}, + {"2001:559:10a::/48", "7725"}, + {"240a:a87d::/32", "144823"}, + {"2607:fc48:1018::/48", "40009"}, + {"2a02:88d:8301::/30", "47794"}, + {"2a07:a343:7870::/44", "9009"}, + {"2001:559:c1f2::/48", "33650"}, + {"2400:7400:e02d::/48", "23736"}, + {"2620:116:8084::/48", "27281"}, + {"2804:1280::/32", "263480"}, + {"2001:559:81ce::/48", "7016"}, + {"2400:9380:9240::/47", "4809"}, + {"2406:8600:efae::/48", "24236"}, + {"2804:3ab4:7100::/32", "266104"}, + {"2a01:5ec0:5000::/36", "44244"}, + {"2a06:f7c0::/29", "202505"}, + {"2001:559:308::/47", "33491"}, + {"2001:559:c08f::/48", "33656"}, + {"2001:67c:28d0::/48", "212415"}, + {"2001:4b60:101::/32", "28857"}, + {"2406:a040:ff01::/48", "55688"}, + {"240e:45c:9400::/40", "131285"}, + {"2804:32dc::/32", "262322"}, + {"2a02:7a0::/36", "12586"}, + {"2a0c:d980::/29", "35684"}, + {"2409:896a:a000::/39", "9808"}, + {"240a:a483::/32", "143805"}, + {"2804:2c20::/32", "265197"}, + {"240a:a024::/32", "142686"}, + {"2804:6954::/32", "270263"}, + {"2804:73e8::/32", "270945"}, + {"2a00:cb20:2200::/35", "60266"}, + {"2a01:8460::/32", "199770"}, + {"2001:400:a000:12::/33", "293"}, + {"240e:438:5020::/43", "140647"}, + {"2804:908::/36", "263047"}, + {"2a00:a040:400::/29", "12849"}, + {"2001:559:83ed::/48", "33652"}, + {"2600:1900:4120::/44", "396982"}, + {"2a01:ac::/32", "39122"}, + {"2a03:bbc0::/32", "61212"}, + {"2a11:fe80:fab7::/44", "209209"}, + {"2c0f:fc88:3f::/31", "36992"}, + {"2405:201:f400::/36", "55836"}, + {"2602:fed3:1::/45", "19969"}, + {"2606:a840::/32", "55091"}, + {"2402:800:35ee::/38", "7552"}, + {"2600:5400:e101::/36", "19108"}, + {"2804:5450::/32", "268642"}, + {"2001:480:ac::/46", "668"}, + {"2403:300:a11::/46", "714"}, + {"2602:fd38::/36", "394037"}, + {"2a07:6f44::/40", "39083"}, + {"2600:6c38:b78::/37", "20115"}, + {"2603:c0f9:4000::/36", "20054"}, + {"2604:db00::/32", "32233"}, + {"2804:172c::/32", "263129"}, + {"2a02:21a8::/47", "61323"}, + {"2001:480:162::/38", "668"}, + {"2001:559:8039::/48", "7922"}, + {"2001:7f8:10::/48", "24796"}, + {"240a:a5a9::/32", "144099"}, + {"2a02:4c80::/32", "41421"}, + {"2a03:8c80::/29", "31319"}, + {"2a05:a640::/29", "12859"}, + {"2001:559:8046::/47", "7922"}, + {"2605:3380:446d::/43", "12025"}, + {"2620:98:2000::/48", "398894"}, + {"2a02:c800::/41", "43930"}, + {"2a0a:f540::/29", "210759"}, + {"2001:559:8688::/48", "7015"}, + {"2401:d800:d4b0::/41", "7552"}, + {"240a:a12e::/32", "142952"}, + {"240a:a19b::/32", "143061"}, + {"2604:d600:2801::/32", "32098"}, + {"2804:1c98::/32", "61664"}, + {"2a00:4802:1a00::/40", "13124"}, + {"2a02:26f7:ed49::/42", "20940"}, + {"2403:6380:40::/46", "212237"}, + {"2407:9240:4000::/39", "62853"}, + {"2409:8c4c:25::/36", "9808"}, + {"2a0b:7e00:400::/35", "198622"}, + {"2001:4878:4220::/48", "12222"}, + {"2402:800:3d55::/42", "7552"}, + {"2801:19:6800::/48", "19429"}, + {"2001:4c00:893b::/48", "197835"}, + {"2409:8751:500::/38", "56047"}, + {"2803:a360::/32", "269783"}, + {"2a02:26f7:117::/44", "20940"}, + {"2001:250:6810::/48", "24368"}, + {"2001:559:83bd::/48", "7015"}, + {"2001:c38:3001::/46", "9335"}, + {"2804:1684:9100::/33", "53169"}, + {"2804:3268::/32", "265076"}, + {"2804:40a4::/32", "265972"}, + {"2806:2f0:9f83::/33", "17072"}, + {"2a00:cb8:353::/48", "15695"}, + {"2602:fed2:7109::/48", "53356"}, + {"2801:80:1260::/44", "263857"}, + {"2804:4384::/32", "267575"}, + {"2804:6c78::/32", "270470"}, + {"2001:500:e0::/47", "207266"}, + {"2408:840c:7b00::/40", "17621"}, + {"2620:53:e000::/48", "394626"}, + {"2803:6760::/32", "269866"}, + {"2804:7d6c::/32", "271560"}, + {"2001:4878:1e0::/44", "35994"}, + {"2405:9800:b12a::/37", "45430"}, + {"2600:1402:e001::/35", "20940"}, + {"2806:230:600e::/48", "265594"}, + {"2806:250:17::/44", "28509"}, + {"2a00:79e0:102::/37", "45566"}, + {"240a:a9db::/32", "145173"}, + {"2a02:aec0:5::/44", "57363"}, + {"2a02:cb80:1040::/48", "43766"}, + {"2806:267:1501::/48", "13999"}, + {"2a00:e58::/32", "9022"}, + {"2a05:1844::/30", "59866"}, + {"2402:a0c0:3::/45", "137922"}, + {"2800:482:400a::/48", "14080"}, + {"2803:1800::/32", "27831"}, + {"2804:330c::/32", "265113"}, + {"2a01:802::/29", "3209"}, + {"2a05:b0c4:1::/48", "198412"}, + {"2001:250:5804::/48", "23910"}, + {"2408:8756:e90::/44", "136958"}, + {"2a02:26f7:d604::/48", "36183"}, + {"2a06:8e40::/29", "15083"}, + {"2a0c:5247:2000::/36", "208861"}, + {"2c0f:ea68::/32", "37697"}, + {"2405:8180::/36", "135478"}, + {"2408:872f::/27", "4837"}, + {"2602:fd92:f0c::/48", "210348"}, + {"2804:70e8::/32", "270755"}, + {"2a02:2878::/33", "42699"}, + {"2a09:7ac0::/32", "39679"}, + {"2a0d:8400::/32", "56630"}, + {"2001:df3::/48", "132688"}, + {"2402:800:51d3::/44", "7552"}, + {"2404:8000:102d::/43", "17451"}, + {"2606:2800:4213::/48", "14153"}, + {"2620:0:a12::/47", "71"}, + {"2001:250:282f::/38", "23910"}, + {"2804:6980::/32", "270274"}, + {"2806:2f0:4601::/46", "17072"}, + {"2a00:9540::/32", "49974"}, + {"2001:559:c1b6::/47", "7922"}, + {"2404:75c0::/32", "35280"}, + {"2404:b000::/36", "9822"}, + {"2606:fe80:10::/44", "13354"}, + {"2607:f4e8:5::/48", "55429"}, + {"2800:5f0::/45", "22724"}, + {"2804:1598::/32", "263397"}, + {"2806:2f0:9d21::/46", "17072"}, + {"2a03:280::/32", "21211"}, + {"2001:410:a01d::/40", "8111"}, + {"2605:a404:c7::/42", "33363"}, + {"2a01:300:6a::/43", "9009"}, + {"2804:1cf8::/32", "61686"}, + {"2a01:5b0:4::/48", "8561"}, + {"2a09:9fc0::/29", "209318"}, + {"240e:982:d700::/40", "4134"}, + {"2604:1f80::/32", "54412"}, + {"2604:4d40:7cb9::/48", "399196"}, + {"2a04:13c1::/32", "61049"}, + {"2001:67c:28dc::/48", "28674"}, + {"2402:4700::/32", "17931"}, + {"2401:d800:5360::/40", "7552"}, + {"2409:8914:4400::/39", "56044"}, + {"240a:a113::/32", "142925"}, + {"240a:a162::/32", "143004"}, + {"2600:380:d010::/38", "7018"}, + {"2a04:92c0::/31", "62240"}, + {"2a0d:3c47::/32", "25369"}, + {"2001:559:c37c::/48", "22317"}, + {"2405:2700::/32", "24270"}, + {"2405:f740::/32", "59253"}, + {"2408:8956:3800::/40", "17622"}, + {"240e:980:2300::/40", "58519"}, + {"2602:ffc5:145::/48", "203027"}, + {"2607:f250:c020::/47", "7046"}, + {"2804:7200::/32", "270826"}, + {"2a0a:b680::/29", "51815"}, + {"2a0f:dc40::/29", "205185"}, + {"240e:965:5800::/32", "4134"}, + {"2801:80:3840::/48", "269675"}, + {"2804:5508::/32", "268685"}, + {"2804:614c::/32", "269223"}, + {"2406:840:10::/45", "139317"}, + {"240a:a403::/32", "143677"}, + {"2607:ff28:6000::/32", "62904"}, + {"2804:5784::/32", "268069"}, + {"2a01:6240:1a::/29", "58273"}, + {"2a02:26f0:ce01::/40", "20940"}, + {"2a04:2dc0:4::/48", "39216"}, + {"2a05:1500:100::/46", "48635"}, + {"2404:3d00:4060::/46", "3573"}, + {"2409:40f4:2000::/22", "55836"}, + {"2a00:13f8:fffc::/48", "13055"}, + {"2001:250:5863::/48", "24363"}, + {"2001:1998:600::/44", "16787"}, + {"2402:800:3a55::/42", "7552"}, + {"2600:1480:3::/37", "20940"}, + {"2a0f:b80::/29", "34549"}, + {"2001:418:1401:8::/59", "2914"}, + {"2001:559:8364::/48", "7015"}, + {"2400:3000::/32", "7527"}, + {"2401:7500:1111::/48", "33480"}, + {"240a:a564::/32", "144030"}, + {"2604:5500:f800::/38", "19165"}, + {"2001:550:1604::/48", "395730"}, + {"2405:1a00::/32", "24492"}, + {"240a:a8b7::/32", "144881"}, + {"2804:61c8::/32", "269256"}, + {"2a00:5540:5015::/32", "50763"}, + {"2a01:667:500::/32", "48951"}, + {"2804:661c::/32", "269534"}, + {"240a:a42a::/32", "143716"}, + {"2600:9000:21ae::/41", "16509"}, + {"2804:5e98::/32", "269043"}, + {"2a0d:ed40::/32", "209985"}, + {"2801:11:6800::/48", "3816"}, + {"2804:dc8::/32", "28636"}, + {"2001:559:c22c::/48", "13367"}, + {"2401:4640::/32", "18259"}, + {"2610:a0::/47", "7786"}, + {"2a02:26f7:cd54::/47", "36183"}, + {"2001:559:475::/48", "33659"}, + {"2405:1c0:6a71::/48", "55303"}, + {"2c0f:fe40::/32", "30844"}, + {"2401:d800:d960::/40", "7552"}, + {"2409:8a54:c800::/34", "56040"}, + {"2606:40c0::/29", "7018"}, + {"2806:261::/48", "13999"}, + {"2a00:b700::/47", "51659"}, + {"2a02:26f7:f88c::/48", "36183"}, + {"240e:3b5:c000::/37", "140315"}, + {"2803:ae40::/32", "27928"}, + {"2806:2f0:83a3::/41", "17072"}, + {"2001:559:d0::/48", "33651"}, + {"2001:67c:2700::/48", "43382"}, + {"2a12:c380::/29", "201709"}, + {"2405:9d80::/32", "45538"}, + {"2a00:7a80::/32", "34767"}, + {"2a04:2c00::/29", "6876"}, + {"2a0e:b107:1480::/48", "57401"}, + {"2001:44b8:30cd::/48", "4739"}, + {"2806:230:4033::/48", "11888"}, + {"2a02:26f7:e348::/48", "36183"}, + {"2401:401::/32", "132873"}, + {"240e:a7:7fdb::/45", "140517"}, + {"2604:b900::/33", "11042"}, + {"2804:e94:4c0::/39", "262468"}, + {"2001:559:c16b::/48", "33491"}, + {"2001:678:cf4::/48", "213400"}, + {"2405:6800:2000::/37", "18207"}, + {"2602:fdac:10::/48", "397665"}, + {"2804:c30::/32", "28284"}, + {"2a01:aea0:df2::/48", "42473"}, + {"2001:559:849c::/48", "7725"}, + {"2400:fc00:87c0::/43", "45773"}, + {"2607:fb91:7a00::/32", "21928"}, + {"2803:5c80:5591::/48", "64114"}, + {"2804:5460::/32", "268646"}, + {"2a02:26f7:e8c8::/48", "36183"}, + {"2001:559:47::/48", "33659"}, + {"240e:438:6440::/38", "4134"}, + {"2603:f950::/26", "397165"}, + {"2605:9780:1e00::/39", "393544"}, + {"2804:680:c01::/38", "262589"}, + {"2a06:ac80::/48", "205427"}, + {"2a0b:1940::/47", "42411"}, + {"2a0f:c300::/29", "202543"}, + {"2001:67c:1fc::/48", "43462"}, + {"2001:df1:be00::/48", "24541"}, + {"2001:df6:ed00::/48", "134078"}, + {"2408:8459:e030::/41", "17622"}, + {"2409:8704:9b00::/33", "24547"}, + {"2804:3f10:8101::/38", "262566"}, + {"2a07:6fc0:10::/44", "200462"}, + {"2401:9700:2000::/40", "45498"}, + {"240a:ae63::/32", "146333"}, + {"2a05:f507:5::/41", "13443"}, + {"240e:45:8000::/28", "4134"}, + {"2a01:c50e:9c00::/34", "12479"}, + {"2a02:4840:1000::/48", "52048"}, + {"2a0e:a440::/29", "208429"}, + {"2001:559:80ab::/48", "33652"}, + {"2804:2998::/32", "264024"}, + {"2a02:ec00::/29", "25540"}, + {"2001:4198::/32", "25525"}, + {"2600:2108::/34", "54858"}, + {"2803:cc60::/32", "267846"}, + {"2804:591c::/42", "28370"}, + {"2a0a:d840::/29", "42383"}, + {"2a0b:4340:90::/48", "205610"}, + {"240e:27f::/46", "134773"}, + {"2606:2800:4a64::/46", "15133"}, + {"2604:180::/46", "3842"}, + {"2804:14d:ba00::/41", "28573"}, + {"2a0b:cdc7::/32", "35790"}, + {"2a0d:fec0:179::/48", "47481"}, + {"2a0e:97c0:40e::/48", "59936"}, + {"2a0e:b107:f65::/48", "207466"}, + {"2409:805b:2905::/48", "9808"}, + {"2409:8904:2a40::/39", "24547"}, + {"240a:ac49::/32", "145795"}, + {"2a0e:2e80::/29", "60255"}, + {"2400:ca07:f036::/36", "23688"}, + {"2607:f590::/48", "46558"}, + {"2a02:26f7:d7c1::/46", "20940"}, + {"2001:678:b4c::/48", "50643"}, + {"2001:df5:2c00::/48", "59115"}, + {"2402:800:5ab7::/41", "7552"}, + {"240a:a586::/32", "144064"}, + {"2803:c240:1100::/36", "41095"}, + {"2804:82bc::/32", "272537"}, + {"2a0e:dc40::/29", "208315"}, + {"2a11:fb00::/29", "400177"}, + {"2001:559:c22f::/43", "7922"}, + {"2001:43f8:b20::/48", "327974"}, + {"2408:8956:7a00::/40", "17622"}, + {"2804:2e78::/35", "28213"}, + {"2806:230:6014::/48", "265594"}, + {"2a10:db00::/32", "42609"}, + {"2001:559:8190::/48", "7015"}, + {"240e:1:a800::/33", "4134"}, + {"240e:983:1e06::/48", "4816"}, + {"2604:d600:152e::/43", "32098"}, + {"2804:6884::/32", "269698"}, + {"2806:3a4::/32", "265623"}, + {"2a00:dcc7:2200::/40", "48611"}, + {"2001:559:c462::/48", "13367"}, + {"2803:9be0:ff::/48", "174"}, + {"2a02:26f7:d780::/48", "36183"}, + {"2a03:da0::/32", "201782"}, + {"2001:559:c20e::/48", "33650"}, + {"2001:1388:70c2::/45", "6147"}, + {"2401:4900:4700::/42", "45609"}, + {"2407:cdc0:e004::/48", "38136"}, + {"2804:14d:2ca1::/41", "28573"}, + {"2804:16d8:1d00::/46", "262729"}, + {"2a00:4800:e0::/44", "13124"}, + {"2a00:4802:4e30::/39", "8717"}, + {"2001:4830:c211::/39", "27552"}, + {"2a03:b8c0::/44", "202276"}, + {"2001:440:1878::/47", "1878"}, + {"2001:559:8697::/48", "33650"}, + {"2406:9a00::/32", "17649"}, + {"2407:3e00:a000::/48", "9911"}, + {"2a02:21d0::/32", "49677"}, + {"2a02:26f7:c6c6::/47", "20940"}, + {"2a07:58c0::/29", "203018"}, + {"2001:559:7b1::/48", "33651"}, + {"2404:6ac0::/32", "138619"}, + {"2404:8000:8c::/43", "17451"}, + {"240a:a55e::/32", "144024"}, + {"2804:20b4::/32", "264509"}, + {"2a0b:7e80::/55", "43372"}, + {"2a0c:af00:be52::/48", "205321"}, + {"2403:8080::/32", "17964"}, + {"2408:8256:3b80::/44", "17623"}, + {"2408:8456:6e00::/42", "17622"}, + {"2408:8752::/32", "4837"}, + {"2600:6c7f:9310::/44", "20115"}, + {"2804:56a4::/32", "28276"}, + {"2a02:26f7:de88::/48", "36183"}, + {"2a0d:8600::/29", "205185"}, + {"2001:559:8671::/46", "7922"}, + {"2001:4878:c259::/48", "2856"}, + {"2402:800:9b55::/42", "7552"}, + {"2404:160:a440::/33", "10030"}, + {"240e:44d:2980::/41", "4134"}, + {"2600:c09::/32", "12178"}, + {"2604:4580::/38", "26375"}, + {"2804:4140::/33", "267423"}, + {"2804:5f10:9000::/33", "269074"}, + {"2a02:2270::/34", "43939"}, + {"2a09:9540::/48", "60328"}, + {"2804:b4:d000::/34", "28294"}, + {"2804:734c::/32", "270906"}, + {"2a04:2f81:4::/47", "16509"}, + {"2401:4900:33a0::/41", "45609"}, + {"2607:f038:4020::/34", "21527"}, + {"2607:f3f8:5000::/34", "17378"}, + {"2607:f6f0:5000::/48", "27224"}, + {"2620:52:4::/47", "22360"}, + {"2620:109:c003::/48", "40793"}, + {"2804:ae8::/48", "262990"}, + {"2a04:88c6::/31", "205544"}, + {"2a0b:31c0:1::/45", "205726"}, + {"2001:250:6418::/48", "24367"}, + {"2600:1017:b800::/42", "22394"}, + {"2801:162::/48", "13489"}, + {"2804:25ec::/32", "264309"}, + {"2804:53e0:8010::/39", "28258"}, + {"2a02:26f7:f3::/45", "36183"}, + {"2a02:26f7:ec40::/48", "36183"}, + {"2803:cae0:8010::/48", "27951"}, + {"2804:14d:da00::/40", "28573"}, + {"2a00:1c3e:96::/44", "48519"}, + {"2001:559:754::/48", "7016"}, + {"2a01:42c0::/32", "208966"}, + {"2408:8459:ba50::/37", "17816"}, + {"2408:8956:c100::/40", "17816"}, + {"2604:d600:1589::/43", "32098"}, + {"2800:160:2ce6::/38", "14259"}, + {"2a02:26f7:efc4::/48", "36183"}, + {"2001:559:8440::/48", "7015"}, + {"2800:4f0:b::/48", "28006"}, + {"2804:4bc::/33", "262462"}, + {"2804:b2c::/32", "52946"}, + {"2a07:22c1:10::/47", "212856"}, + {"2c0f:fbf8:210::/29", "32653"}, + {"2400:a980:60ff::/48", "133512"}, + {"2001:c38:9069::/40", "9931"}, + {"2001:4878:8000::/48", "12222"}, + {"2409:8904:caa0::/39", "24547"}, + {"2409:8c28:7de1::/32", "56041"}, + {"2620:8e:e000::/48", "398838"}, + {"2804:3d8c::/32", "266538"}, + {"2001:559:82e7::/48", "33650"}, + {"2804:35f0::/33", "266316"}, + {"2804:3820::/32", "266458"}, + {"2a0e:97c0:371::/48", "139989"}, + {"2409:8028:100::/37", "9808"}, + {"2804:56c8::/32", "268023"}, + {"2a00:f4a0::/29", "20910"}, + {"240e:3bd:3e00::/33", "140308"}, + {"2801:c0:3::/48", "16596"}, + {"2a07:f980:2::/47", "26338"}, + {"2a0b:e181::/40", "198605"}, + {"2001:67c:2a10::/48", "200924"}, + {"240e:45c:9600::/34", "131285"}, + {"2602:fc74::/48", "13768"}, + {"2804:314:4034::/32", "61568"}, + {"2001:67c:2a00::/48", "57381"}, + {"2401:4900:900::/41", "45609"}, + {"2a02:2498:257b::/48", "13213"}, + {"2001:4878:8225::/48", "12222"}, + {"2400:eb40:1::/48", "14821"}, + {"2a00:1728:a::/48", "60230"}, + {"2a02:2430:40::/42", "59491"}, + {"2a02:26f7:bb04::/47", "36183"}, + {"2a0b:b86:fd::/48", "3280"}, + {"2001:559:8746::/48", "33650"}, + {"2001:1218:6034::/47", "278"}, + {"2803:c1a0::/32", "267693"}, + {"2804:79f8::/32", "271339"}, + {"2a01:8840:f8::/48", "12041"}, + {"2a02:888:150::/48", "48695"}, + {"2a0e:8f02:f004::/48", "213031"}, + {"2001:470:51::/45", "6939"}, + {"2400:6280:147::/44", "132280"}, + {"2607:c000::/32", "5645"}, + {"2804:2c58:1210::/39", "265211"}, + {"2a01:6480:b::/45", "29049"}, + {"2a09:2900:8::/48", "212710"}, + {"2400:cb00:291::/46", "13335"}, + {"2407:7900:1000::/40", "58955"}, + {"240c:ca1c::/26", "23910"}, + {"2600:1415:400::/48", "24319"}, + {"2604:a840::/46", "6233"}, + {"2607:fbd0::/32", "19872"}, + {"2607:fdc8:c::/47", "30036"}, + {"2a00:f980::/32", "21293"}, + {"2a03:db80:4425::/36", "680"}, + {"2a0d:fec0:177::/48", "47481"}, + {"2001:559:53c::/48", "21508"}, + {"2001:67c:2b04::/48", "28771"}, + {"2600:1407:1d::/48", "20940"}, + {"2605:dd40:8cc0::/38", "398549"}, + {"2804:16f0:8000::/33", "263109"}, + {"2806:2b0::/32", "22566"}, + {"2a07:2c00::/29", "44103"}, + {"2a11:2bc0::/29", "56485"}, + {"240a:a14a::/32", "142980"}, + {"2620:1ec:2a::/43", "8075"}, + {"2804:2fd8::/32", "264915"}, + {"2804:5f78::/32", "269102"}, + {"2001:678:3b4::/48", "49855"}, + {"2408:8456:c440::/39", "17816"}, + {"2409:8c85:aa39::/41", "9808"}, + {"2001:1900:235c::/46", "10753"}, + {"2602:801:300a::/45", "6556"}, + {"2607:b00::/32", "53834"}, + {"2a02:2e02:6d0::/36", "12479"}, + {"2a0e:b101:301::/48", "49459"}, + {"2001:559:8f::/48", "7015"}, + {"2001:559:133::/48", "33287"}, + {"2403:300:a0f::/43", "714"}, + {"2405:9800:ba81::/39", "45430"}, + {"240e:950:5000::/36", "134419"}, + {"2804:2ac0::/32", "264092"}, + {"2804:6a18::/32", "270312"}, + {"2a00:72e0::/32", "201635"}, + {"2a05:4500::/29", "207605"}, + {"2a07:6040::/29", "37468"}, + {"2401:d800:d840::/42", "7552"}, + {"2406:b400:10::/46", "18209"}, + {"2600:8808:3a00::/37", "22773"}, + {"2a00:114f:8::/32", "47764"}, + {"240a:a93b::/32", "145013"}, + {"2804:31bc::/32", "265034"}, + {"2a02:26f7:de84::/48", "36183"}, + {"2a0c:7a00::/29", "57910"}, + {"2405:84c0:ff13::/48", "9886"}, + {"2a02:250::/47", "39570"}, + {"2001:418:1401:7e::/56", "2914"}, + {"2600:6c38:11c::/42", "20115"}, + {"2a02:b48:8104::/47", "39572"}, + {"2001:678:c70::/48", "47937"}, + {"240a:ae96::/32", "146384"}, + {"2604:c80:ffff::/48", "30164"}, + {"2803:d100:3000::/33", "52362"}, + {"2402:6800:741::/43", "22822"}, + {"240e:6ba:1000::/32", "4134"}, + {"2001:559:8681::/48", "7922"}, + {"2404:600::/32", "4833"}, + {"2804:1408:7100::/32", "28635"}, + {"2405:1e00:20::/48", "17771"}, + {"2600:380:5380::/34", "20057"}, + {"2a02:26f7:c00d::/46", "20940"}, + {"2001:578:15::/46", "22773"}, + {"2001:fb1:3009::/48", "7470"}, + {"2401:4900:45b0::/41", "45609"}, + {"2408:8459:2c10::/41", "17623"}, + {"240a:acc8::/32", "145922"}, + {"2600:8807:982::/38", "22773"}, + {"2603:c002:1b10::/37", "31898"}, + {"2801:80:38f0::/48", "270461"}, + {"2804:20b8:2000::/32", "264510"}, + {"2a03:a7a0::/46", "203316"}, + {"2001:1248:a422::/45", "11172"}, + {"2001:fd8:b3c0::/42", "132199"}, + {"2001:4888:a601::/44", "22394"}, + {"2600:1f01:4890::/47", "16509"}, + {"2001:559:4cc::/47", "7015"}, + {"2001:1388:a000::/33", "6147"}, + {"2001:1898:2400::/40", "26914"}, + {"2602:801:f005::/44", "32590"}, + {"2603:c0ec::/40", "54253"}, + {"2804:29e4::/32", "264042"}, + {"2a01:8840:95::/48", "207266"}, + {"2a03:10e0::/48", "62571"}, + {"2a0b:9280::/29", "206438"}, + {"2a0e:fd45:1338::/34", "44103"}, + {"2400:cb00:140::/44", "13335"}, + {"2402:8100:27fa::/45", "55644"}, + {"2409:8057:800::/48", "9808"}, + {"2600:1007:b058::/40", "22394"}, + {"2607:f3c0::/32", "16805"}, + {"2a07:9942:39d6::/47", "58305"}, + {"2001:fe8:4100::/47", "24435"}, + {"2001:1868:a10b::/48", "63366"}, + {"2408:8256:2ea0::/39", "17816"}, + {"2408:84f3:a810::/42", "134543"}, + {"2a00:7940::/32", "20847"}, + {"2a02:80c0::/30", "49562"}, + {"2a09:a4c7:c000::/35", "208861"}, + {"2001:559:87f6::/48", "20214"}, + {"2001:4a00::/27", "13285"}, + {"2403:8940:201::/37", "135817"}, + {"240a:ae1e::/32", "146264"}, + {"2602:feda:3f0::/44", "63279"}, + {"2602:ff23::/48", "398019"}, + {"2604:9b00::/38", "14230"}, + {"2607:6000:b00::/40", "12189"}, + {"2803:d010::/44", "271806"}, + {"2804:73c8::/32", "270937"}, + {"2a0f:ba80::/29", "50629"}, + {"2001:559:3d8::/48", "7015"}, + {"2001:6b0:4::/48", "2832"}, + {"2001:9d8::/32", "25577"}, + {"2806:230:402c::/48", "265594"}, + {"2a03:d000:3000::/36", "31208"}, + {"2a09:407:4000::/32", "208861"}, + {"2a0f:f200::/29", "208257"}, + {"2401:e380:2102::/47", "131091"}, + {"240a:a332::/32", "143468"}, + {"240a:aaac::/32", "145382"}, + {"2a11:ab00::/32", "209164"}, + {"2403:c00:e00::/45", "17488"}, + {"2409:8055:3022::/45", "56040"}, + {"240a:ae31::/32", "146283"}, + {"240e:45c:2700::/40", "137402"}, + {"2602:fd37:fff::/48", "398493"}, + {"2620:130:3050::/48", "62861"}, + {"2001:559:8368::/47", "33651"}, + {"2401:d800:2ca0::/41", "7552"}, + {"2407:d840:2::/48", "51847"}, + {"2605:b100:500::/41", "577"}, + {"2001:559:c224::/48", "7016"}, + {"2402:cd00::/32", "45942"}, + {"2405:1c0:6411::/45", "55303"}, + {"2409:806a:2c00::/35", "9808"}, + {"2602:ffba::/36", "40761"}, + {"2804:12f4::/32", "263506"}, + {"2a04:4e40:1410::/44", "54113"}, + {"2001:559:8076::/48", "7922"}, + {"2801:15:d000::/48", "28116"}, + {"2a00:19b8::/32", "49503"}, + {"2a02:858::/39", "3329"}, + {"2a10:440::/29", "207289"}, + {"2402:800:f450::/42", "7552"}, + {"2409:8904:5f70::/40", "24547"}, + {"2606:2d40::/32", "1239"}, + {"2607:d400:3::/32", "22364"}, + {"2806:230:2056::/48", "265594"}, + {"2806:230:4000::/48", "265594"}, + {"2a02:26f7:bd88::/48", "36183"}, + {"2a12:6741::/32", "8485"}, + {"2001:559:c49d::/48", "21508"}, + {"2403:8940:601::/32", "135817"}, + {"2406:2000:efa7::/43", "10310"}, + {"2600:1415:1401::/36", "20940"}, + {"2606:7000::/32", "46435"}, + {"2801:1e8::/40", "264607"}, + {"2a01:568::/33", "43950"}, + {"2a01:7d80:a000::/35", "8990"}, + {"2a02:2a38::/42", "58073"}, + {"2a0a:f6c0::/29", "42218"}, + {"2402:800:3763::/43", "7552"}, + {"240e:d0:8000::/31", "4134"}, + {"2a0b:b880::/29", "206610"}, + {"2400:f880::/32", "42960"}, + {"2001:559:824e::/48", "33661"}, + {"2001:559:8264::/48", "33651"}, + {"2603:fd50::/24", "397165"}, + {"240a:a940::/32", "145018"}, + {"2607:fca8:598b::/32", "17139"}, + {"2804:7050::/32", "270719"}, + {"2001:678:8b4::/48", "9009"}, + {"2001:da8:c0::/48", "138376"}, + {"2401:a880::/32", "133661"}, + {"240a:afd0::/32", "146698"}, + {"240e:965:a800::/38", "58772"}, + {"2606:7140::/48", "50069"}, + {"2001:67c:2938::/48", "1880"}, + {"2602:103:8000::/36", "33588"}, + {"2804:348c::/32", "265464"}, + {"2804:3530::/32", "266273"}, + {"2804:36f0::/34", "266381"}, + {"2a00:1288:ef98::/48", "34010"}, + {"2a01:280:328::/48", "34628"}, + {"2a02:ac80:71::/40", "25145"}, + {"240a:a462::/32", "143772"}, + {"240a:ab52::/32", "145548"}, + {"2606:7a40:2::/48", "394298"}, + {"2800:160:1357::/42", "14259"}, + {"2001:559:321::/48", "33652"}, + {"2001:559:c06a::/48", "33657"}, + {"2001:67c:1390::/48", "49251"}, + {"240e:874:c0::/39", "4134"}, + {"2620:171:d00::/44", "187"}, + {"2804:1110:8201::/34", "262901"}, + {"2404:8d04:2642::/48", "138915"}, + {"2a02:26f7:f485::/46", "20940"}, + {"2a12:66c0::/32", "208976"}, + {"2406:e780:eb3::/32", "63679"}, + {"240e:473:ff02::/40", "140485"}, + {"2600:387::/44", "20057"}, + {"2804:3674::/32", "37468"}, + {"2a00:1d36:1340::/32", "9121"}, + {"2001:559:1d5::/48", "7015"}, + {"2001:559:80bf::/48", "33652"}, + {"2408:8956:1dc0::/38", "17622"}, + {"240a:ae7f::/32", "146361"}, + {"240a:afec::/32", "146726"}, + {"2804:5e08:180::/38", "269007"}, + {"2a11:f900::/29", "400177"}, + {"2402:8100:20c1::/46", "55644"}, + {"2405:9800:b::/48", "20940"}, + {"2600:1010:b130::/44", "22394"}, + {"2a07:8900::/29", "15516"}, + {"2a12:7540::/29", "400522"}, + {"2001:250:5813::/45", "24363"}, + {"2600:1004:b200::/42", "6167"}, + {"2605:3780::/32", "62622"}, + {"2620:120:1000::/40", "2575"}, + {"2800:160:1a0e::/43", "14259"}, + {"2a02:26f7:f240::/48", "36183"}, + {"2a10:3244::/30", "398481"}, + {"2804:154c:8002::/34", "263382"}, + {"2804:391c:d::/46", "262287"}, + {"2a0a:7d40::/32", "49127"}, + {"2001:250:5867::/44", "24363"}, + {"2606:b0c0:b00c::/33", "8095"}, + {"2804:1c88::/32", "61660"}, + {"2a02:17e8:d00::/32", "13002"}, + {"2a04:2b00:100::/48", "42044"}, + {"2a0c:8fc2::/32", "202401"}, + {"2001:df0:2bf::/48", "198723"}, + {"2001:1248:5668::/47", "11172"}, + {"2600:1003:9840::/44", "6167"}, + {"2600:1406:f801::/38", "20940"}, + {"2606:a000:c07::/48", "11955"}, + {"2a0c:2c00::/29", "205266"}, + {"2401:d800:d340::/42", "7552"}, + {"2403:2500:9000::/41", "36236"}, + {"2408:8417::/28", "4837"}, + {"2602:feb4:140::/42", "25961"}, + {"2405:9800:c881::/39", "45430"}, + {"2408:8956:f2c0::/37", "17816"}, + {"2604:86c0::/32", "63023"}, + {"2608:4121:2::/48", "27065"}, + {"2a02:26f7:b788::/48", "36183"}, + {"2a06:e880:1::/48", "48550"}, + {"2a06:e881:4300::/42", "204307"}, + {"2a0a:5e80::/48", "48715"}, + {"2403:300:a21::/45", "714"}, + {"240e:44d:1800::/42", "140345"}, + {"2620:13f:5000::/48", "397592"}, + {"240e:3bb:4c00::/35", "136200"}, + {"2620:74:a1::/48", "11840"}, + {"2806:230:5002::/48", "265594"}, + {"240a:a7ce::/32", "144648"}, + {"2600:6c38:734::/44", "20115"}, + {"2607:7c80::/41", "64260"}, + {"2a00:a900:6aff::/35", "60819"}, + {"2001:67c:15a2::/48", "61317"}, + {"2804:1d9c:2000::/32", "264381"}, + {"2a02:88d:4000::/44", "48695"}, + {"2403:df00::/46", "9292"}, + {"240a:a81d::/32", "144727"}, + {"240a:a9e4::/32", "145182"}, + {"2a00:e200:105::/32", "41313"}, + {"2001:559:8222::/48", "33652"}, + {"240e:353:6400::/29", "4134"}, + {"2600:370f:73e5::/46", "32261"}, + {"2a02:f040:4::/47", "59605"}, + {"2a0c:4dc0::/48", "47893"}, + {"2001:67c:12f4::/48", "205969"}, + {"2402:ef38::/32", "38536"}, + {"2404:8000:b4b2::/36", "17451"}, + {"2408:8456:a810::/42", "134543"}, + {"240a:ac22::/32", "145756"}, + {"2600:370f:73e3::/45", "32261"}, + {"2804:2a80::/42", "53094"}, + {"2804:31e4::/32", "265043"}, + {"2a02:26f7:c64d::/42", "20940"}, + {"240e:983:700::/40", "140061"}, + {"2600:1417:e001::/36", "20940"}, + {"2620:82:6000::/48", "11048"}, + {"2804:551c::/32", "268690"}, + {"2804:5af8::/32", "268810"}, + {"2a04:d200::/31", "61438"}, + {"2a0f:6f80::/29", "47196"}, + {"2001:678:114::/48", "57436"}, + {"2001:1a40:81::/39", "5416"}, + {"2600:1417:71::/48", "9829"}, + {"2a01:7e27::/32", "199805"}, + {"2a02:26f7:1::/48", "20940"}, + {"2a02:26f7:de05::/46", "20940"}, + {"2a06:7a40:1::/46", "204050"}, + {"2a0e:b107:1786::/48", "58057"}, + {"2a0f:b00::/29", "43414"}, + {"2001:67c:17a8::/48", "24660"}, + {"2001:1548:206::/48", "206804"}, + {"2400:f280:2000::/40", "55766"}, + {"2408:8957:3300::/40", "17816"}, + {"2604:4c00::/32", "40383"}, + {"2a0a:2842:8651::/48", "136796"}, + {"2a0b:e182:100::/38", "198605"}, + {"2001:503:f189::/48", "7342"}, + {"2001:559:85b1::/48", "7015"}, + {"240a:a266::/32", "143264"}, + {"2620:107:6000:1126::/57", "6462"}, + {"2804:1d74::/32", "264369"}, + {"2804:46fc::/32", "267024"}, + {"2a03:b2c0::/29", "40676"}, + {"2a05:1500:500::/40", "43345"}, + {"2a05:d000:c000::/40", "16509"}, + {"2a06:3580::/29", "62183"}, + {"2001:5a0:4605::/36", "6453"}, + {"2001:678:28::/48", "42"}, + {"2001:6a0::/34", "8664"}, + {"2001:978:5d04::/34", "174"}, + {"2405:8a00:21b2::/45", "55824"}, + {"240a:a4db::/32", "143893"}, + {"2a02:26f7:e581::/46", "20940"}, + {"2001:49f0:d0f2::/47", "30058"}, + {"2400:8800:502::/35", "3491"}, + {"2403:a280:8000::/36", "36351"}, + {"240a:ae8a::/32", "146372"}, + {"2607:9b80:a20::/40", "46558"}, + {"2620:130:30c4::/48", "62861"}, + {"2a01:a280:7::/48", "205717"}, + {"2a09:4e05::/32", "210625"}, + {"2a0d:a440::/29", "197915"}, + {"2001:559:4ce::/48", "7016"}, + {"2804:8104::/32", "272426"}, + {"2a02:26f0:2501::/36", "20940"}, + {"2a04:9e00::/29", "62183"}, + {"240e:44d:4400::/42", "140345"}, + {"2607:fad0:4000::/36", "53824"}, + {"2a11:e80::/29", "210625"}, + {"2600:6c7f:9180::/42", "19115"}, + {"2806:2f0:5261::/46", "17072"}, + {"2407:d1c0::/32", "24162"}, + {"2602:107:2a10::/48", "20115"}, + {"2a02:4b0::/38", "43751"}, + {"2a02:26f7:e280::/48", "36183"}, + {"2a02:26f7:e9c4::/48", "36183"}, + {"2606:25c0::/32", "399331"}, + {"2a07:bc0::/29", "197393"}, + {"2001:559:74d::/48", "7015"}, + {"2408:840c:9500::/40", "17621"}, + {"2a02:26f7:f740::/48", "36183"}, + {"2a0b:b86:100::/40", "34641"}, + {"2402:3180::/48", "141706"}, + {"2800:bf0:81ee::/38", "27947"}, + {"2001:559:c0fd::/48", "33287"}, + {"2001:c20:b006::/33", "3758"}, + {"240e:13:7800::/37", "4134"}, + {"2600:1480:4800::/48", "21342"}, + {"2800:440:8180::/48", "27738"}, + {"2804:14c:cca2::/41", "28573"}, + {"2001:678:518::/48", "205423"}, + {"2409:8904:4a60::/39", "24547"}, + {"2604:ca00:d000::/48", "36492"}, + {"2a06:e881:2604::/48", "49745"}, + {"2a09:1500:20::/48", "208175"}, + {"2401:d800:5b20::/41", "7552"}, + {"2408:8856:400::/32", "17816"}, + {"240e:3bb:ec00::/35", "140314"}, + {"2804:e30:418::/38", "11338"}, + {"2a11:9700::/32", "210939"}, + {"2001:559:8749::/48", "7016"}, + {"2001:67c:21b8::/48", "29682"}, + {"2403:1940:30::/48", "137935"}, + {"2409:8904:d1b0::/38", "24547"}, + {"2409:8a28::/33", "56041"}, + {"2620:11a:4081::/48", "26197"}, + {"2804:6f8::/32", "52848"}, + {"2804:15ec:900::/32", "28599"}, + {"2804:2d8c::/32", "265289"}, + {"2804:313c::/32", "265001"}, + {"2001:1a68:2c::/48", "24723"}, + {"2a01:a420::/29", "208425"}, + {"2001:253:123::/48", "142089"}, + {"2001:13c7:7004::/48", "263779"}, + {"2404:c400:dc06::/34", "9328"}, + {"2409:8a18::/31", "134810"}, + {"2604:2a40::/32", "62943"}, + {"2a02:410::/32", "12347"}, + {"2001:44c8:4800::/41", "131445"}, + {"2001:4878:7::/44", "12222"}, + {"2600:1007:c01::/46", "22394"}, + {"2001:559:c074::/44", "7922"}, + {"240e:108:1060::/48", "134761"}, + {"2606:2800:5020::/48", "15133"}, + {"2620:74:2a::/48", "396559"}, + {"2a0c:e040::/39", "200629"}, + {"2001:67c:14::/48", "15960"}, + {"2401:4900:5020::/41", "45609"}, + {"2405:a700:14::/47", "9498"}, + {"2606:2800:6a40::/46", "15133"}, + {"2804:310c::/32", "264989"}, + {"2a01:9dc0:bef0::/33", "48684"}, + {"2a05:c6c0::/29", "49605"}, + {"2600:6c09:2::/30", "20115"}, + {"2602:fb9e::/40", "400550"}, + {"2604:bc40:6111::/32", "22188"}, + {"2a0b:8b40::/29", "60721"}, + {"240a:a224::/32", "143198"}, + {"240e:108:4c::/48", "58519"}, + {"240e:67f:800::/37", "140329"}, + {"2a0a:4e83:f24::/48", "206074"}, + {"2a0e:c40::/29", "57112"}, + {"2409:4043:3000::/27", "55836"}, + {"2607:f800::/32", "26480"}, + {"2409:851e::/31", "24400"}, + {"2a00:b8c0::/32", "198549"}, + {"2a02:888:51::/48", "47794"}, + {"2400:8dc0::/32", "136171"}, + {"240e:3b0:ac00::/35", "4134"}, + {"2600:1404:a800::/48", "35994"}, + {"2604:6840:ac20::/48", "20446"}, + {"2400:3dc0:401::/39", "134371"}, + {"2806:230:2020::/48", "265594"}, + {"2a07:6680::/29", "202954"}, + {"2c0f:ff20::/32", "37286"}, + {"240a:a5b1::/32", "144107"}, + {"2804:3060::/32", "264947"}, + {"2804:4248::/32", "267490"}, + {"2a01:190:15e9::/48", "28848"}, + {"2a06:9140::/29", "31486"}, + {"2001:559:5ca::/48", "33491"}, + {"2402:800:5c39::/41", "7552"}, + {"2408:8957:cfc0::/35", "17622"}, + {"2804:4a8::/32", "262457"}, + {"2a0c:5cc0::/29", "197648"}, + {"2600:1003:a110::/38", "22394"}, + {"2606:4900::/32", "13765"}, + {"2801:a4:fc00::/38", "262742"}, + {"2804:652c::/32", "269473"}, + {"2806:230:5006::/48", "265594"}, + {"2a02:45c0:7::/43", "59675"}, + {"2a0a:5640::/32", "207242"}, + {"2001:559:8484::/47", "33660"}, + {"240e:44d:580::/41", "4134"}, + {"2620:149:13c2::/36", "714"}, + {"2804:4d7c::/32", "268199"}, + {"2a02:88d:2f::/48", "47794"}, + {"2a0c:8680::/29", "59865"}, + {"2a10:4646:170::/44", "399486"}, + {"2402:28c0:ffaf::/41", "136620"}, + {"2606:b400:800c::/48", "792"}, + {"2a02:c540::/29", "12874"}, + {"2400:f800::/32", "24246"}, + {"2405:9800:9::/46", "45458"}, + {"240e:964:ca00::/40", "133776"}, + {"2600:1fa0:6060::/44", "16509"}, + {"2600:370f:31c1::/46", "32261"}, + {"2409:8c85:aa31::/45", "9808"}, + {"2600:140f:601::/39", "20940"}, + {"2620:13f:8000::/47", "27547"}, + {"2800:bf0:2302::/40", "27947"}, + {"2801:80:680::/48", "22819"}, + {"2803:a900:6000::/48", "52420"}, + {"2804:7744::/32", "271166"}, + {"2806:2f0:9cc3::/39", "17072"}, + {"2a02:26f7:cd4c::/48", "36183"}, + {"2001:49f0:a050::/44", "174"}, + {"2405:9800:d008::/39", "45430"}, + {"240a:a1b9::/32", "143091"}, + {"2604:d600:92a::/37", "32098"}, + {"2800:bf0:8310::/47", "52257"}, + {"2804:2dec::/32", "265312"}, + {"240e:473:fffe::/48", "140486"}, + {"2600:1010:a120::/36", "22394"}, + {"2600:9000:1e32::/45", "16509"}, + {"2804:584::/32", "53072"}, + {"2804:766c::/32", "271111"}, + {"2a02:5d0::/29", "21032"}, + {"2a0e:3bc0:fa00::/42", "204982"}, + {"2606:2e00:8020::/48", "36351"}, + {"2804:58c0::/32", "268147"}, + {"2a02:26f7:91::/48", "20940"}, + {"2a0b:8fc1::/35", "49825"}, + {"2c0f:f000:f00::/32", "36891"}, + {"2602:fbf6:100::/48", "9267"}, + {"2607:f8f0:800::/48", "271"}, + {"2804:11b0::/32", "263432"}, + {"2806:370:9700::/36", "28403"}, + {"2001:7f8:6b::/48", "58307"}, + {"2001:1248:9840::/44", "11172"}, + {"2400:da00:405::/33", "38365"}, + {"2001:559:83af::/48", "7922"}, + {"2402:9d80:920::/43", "131429"}, + {"2804:14f4::/32", "263361"}, + {"2a07:6780::/29", "209320"}, + {"2001:ee0:9a40::/39", "45899"}, + {"2800:440:1200::/42", "27738"}, + {"2800:650:4::/48", "262589"}, + {"2604:7c0::/39", "395841"}, + {"2604:d600:51d::/42", "32098"}, + {"2001:559:c28a::/48", "33660"}, + {"2001:1248:5ba2::/44", "11172"}, + {"2600:140f:2e01::/35", "20940"}, + {"2804:30dc::/32", "264977"}, + {"2600:1419:1201::/37", "20940"}, + {"2a04:9ac1::/32", "35616"}, + {"2001:4220::/48", "36935"}, + {"2408:8645::/35", "140726"}, + {"240e:44d:c00::/41", "140345"}, + {"2604:fc00::/32", "10508"}, + {"2620:149:22c::/43", "714"}, + {"2401:4900:1c5a::/42", "24560"}, + {"240a:aad1::/32", "145419"}, + {"2800:490:8500::/36", "27951"}, + {"2803:b860::/32", "267828"}, + {"2804:2654::/32", "264327"}, + {"2a00:c200::/32", "39512"}, + {"2a04:a080::/29", "35205"}, + {"2a0f:8442::/32", "49981"}, + {"2001:559:c087::/44", "7922"}, + {"2600:1480:7801::/37", "20940"}, + {"2600:6c20:211::/44", "20115"}, + {"240a:ac1a::/32", "145748"}, + {"2a02:98:d51::/48", "8468"}, + {"2a02:26f7:f141::/45", "20940"}, + {"2001:559:1d4::/48", "7922"}, + {"2001:559:c33b::/48", "7922"}, + {"240a:ac2a::/32", "145764"}, + {"2a07:3080::/29", "41639"}, + {"2600:1005:9110::/36", "22394"}, + {"2a00:e200::/40", "41313"}, + {"2001:520:1018::/46", "8103"}, + {"2001:678:2d4::/48", "198284"}, + {"2001:1248:84d1::/46", "11172"}, + {"2401:2a80:4::/32", "58793"}, + {"2a02:e0:3006::/39", "34984"}, + {"2a04:88c0:2::/44", "60781"}, + {"2409:896a:1700::/36", "9808"}, + {"2620:130:3080::/48", "62861"}, + {"2804:2c30::/32", "265201"}, + {"2001:559:c44a::/47", "33657"}, + {"2001:67c:14c::/48", "33988"}, + {"2603:c0ea:4000::/35", "1218"}, + {"2606:6680:19::/48", "27323"}, + {"2620:100:3002::/48", "23286"}, + {"2804:45c8::/47", "266949"}, + {"2a0b:6bc0::/47", "43197"}, + {"2401:d800:9b90::/42", "7552"}, + {"240a:aec5::/32", "146431"}, + {"2a03:3800::/32", "31229"}, + {"2a10:83c0::/29", "43440"}, + {"2001:67c:2fc8::/48", "213156"}, + {"2001:2001:5000::/36", "1299"}, + {"2403:400:400::/39", "23820"}, + {"2600:141b:a::/45", "35994"}, + {"2a00:7b01::/29", "12338"}, + {"2001:1248:a020::/46", "11172"}, + {"2600:1006:9040::/44", "6167"}, + {"2a02:26f7:bf08::/48", "36183"}, + {"2a02:26f7:bf40::/48", "36183"}, + {"2001:fd8:32b0::/44", "4775"}, + {"2001:1248:5aa7::/43", "11172"}, + {"2405:1c0:6381::/46", "55303"}, + {"240a:aaf3::/32", "145453"}, + {"2804:4474::/32", "267633"}, + {"2a0c:a640:20::/48", "42298"}, + {"2408:8456:aa40::/37", "17816"}, + {"2804:62b8::/32", "269314"}, + {"2406:e400::/47", "7642"}, + {"2600:1417:f000::/48", "24319"}, + {"2607:ff30:1110::/48", "237"}, + {"2804:ac0::/32", "28134"}, + {"2804:19c4::/32", "61817"}, + {"2a00:b340:30::/48", "196745"}, + {"2a0d:1380::/29", "59959"}, + {"2c0f:fce0::/32", "37027"}, + {"2001:57a:c00::/35", "22773"}, + {"2408:8956:be00::/40", "17622"}, + {"240a:a430::/32", "143722"}, + {"2804:1f0e::/35", "262366"}, + {"2001:fd8:3b1::/41", "4775"}, + {"240e:44d:3e80::/41", "4134"}, + {"2801:80:36b0::/48", "269191"}, + {"2804:4c0:fffa::/45", "3549"}, + {"2804:1840::/32", "262711"}, + {"2a03:db80:5465::/32", "680"}, + {"2001:418:4005::/48", "1412"}, + {"2400:1a00:bd21::/40", "17501"}, + {"2606:b400:882b::/48", "7160"}, + {"2806:268:1501::/48", "13999"}, + {"2a00:cb8:144::/48", "15695"}, + {"2a01:52c0::/32", "15644"}, + {"2a02:26f7:e108::/48", "36183"}, + {"2a11:bb44::/32", "28753"}, + {"2605:dd40:8209::/43", "398549"}, + {"2803:7a00:810d::/33", "52468"}, + {"2a02:1006:c0f0::/48", "3320"}, + {"2001:67c:19c::/48", "196967"}, + {"2001:1388:8470::/36", "6147"}, + {"2001:44b8:30c1::/48", "4739"}, + {"240a:a763::/32", "144541"}, + {"2804:14c:3bb5::/41", "28573"}, + {"2c0f:ed58::/32", "328471"}, + {"2a04:d280::/29", "60164"}, + {"2a10:7707:f216::/42", "399975"}, + {"2001:1440::/38", "8469"}, + {"2a0e:a40::/29", "59645"}, + {"2804:2ebc::/34", "265363"}, + {"2001:559:841f::/48", "33651"}, + {"2803:2a80::/48", "262928"}, + {"2a02:26f7:4::/48", "36183"}, + {"2a05:e800:7::/48", "50881"}, + {"2001:418:4006::/32", "2914"}, + {"2402:e280:2235::/44", "134674"}, + {"240a:a26c::/32", "143270"}, + {"2a00:1c80::/29", "44647"}, + {"2001:67c:10d0::/48", "43101"}, + {"2408:8256:1596::/38", "17622"}, + {"2a03:c980:5fb7::/48", "210079"}, + {"2404:4100::/48", "38185"}, + {"2409:8a04::/34", "24547"}, + {"2620:11d:9002:200::/56", "14805"}, + {"2a07:e03::/46", "210083"}, + {"2408:8956:8300::/40", "17816"}, + {"2a01:650::/32", "30795"}, + {"2001:559:85bd::/48", "33491"}, + {"2401:d800:d6b0::/41", "7552"}, + {"2409:804c:5d00::/31", "9808"}, + {"2409:8924:a100::/38", "56046"}, + {"2602:feb4:1c0::/44", "25961"}, + {"2804:6280::/45", "269301"}, + {"2a03:7840::/29", "207790"}, + {"2a06:1d80::/29", "30786"}, + {"2001:da8:9007::/48", "24370"}, + {"2409:8057:380e::/48", "9808"}, + {"2804:718::/32", "262620"}, + {"2a03:4980::/32", "24904"}, + {"2001:559:771::/48", "13367"}, + {"2001:559:c465::/48", "33490"}, + {"2001:1a68:a::/48", "20555"}, + {"2600:380:a00::/35", "20057"}, + {"2a00:5140::/32", "42707"}, + {"2001:fe8::/46", "24435"}, + {"2001:4c08:202f::/43", "3356"}, + {"240e:67b:c600::/34", "4134"}, + {"2606:2800:424a::/47", "15133"}, + {"2a03:f80:386::/48", "48894"}, + {"2a06:9e00::/29", "57795"}, + {"2a00:d103::/34", "15704"}, + {"2a0a:5b80::/29", "49367"}, + {"2001:dc7:8889::/35", "24151"}, + {"2804:51d0::/32", "268479"}, + {"2a04:9640::/30", "59939"}, + {"2001:559:5c7::/48", "33657"}, + {"2001:4878:b216::/48", "12222"}, + {"2402:9d80:10c::/48", "131429"}, + {"2a02:26f7:f8c5::/46", "20940"}, + {"2a05:9a80::/29", "29691"}, + {"240e:3bc:1200::/39", "4134"}, + {"2600:6c2e:125::/38", "20115"}, + {"2a0a:1900::/29", "43242"}, + {"2a11:efc0::/29", "204790"}, + {"2400:1c00:70::/40", "45143"}, + {"2403:ec00:124::/47", "17806"}, + {"240a:a11a::/32", "142932"}, + {"2a00:1fa2:8000::/40", "28884"}, + {"2a04:9b40::/32", "21305"}, + {"2403:ffc0:1100::/38", "137758"}, + {"240a:a88b::/32", "144837"}, + {"240e:fe:c000::/35", "134775"}, + {"2620:114:3000::/48", "54391"}, + {"2a0f:3e80::/29", "30633"}, + {"2a0b:afc0::/32", "62126"}, + {"2001:df6:3180::/48", "141988"}, + {"2408:84f3:b040::/38", "17816"}, + {"240e:3b9:3e00::/33", "140308"}, + {"240e:920::/30", "140061"}, + {"2400:9380:82c0::/44", "136167"}, + {"2406:e300::/46", "45250"}, + {"2600:6c10:3::/43", "20115"}, + {"2804:49c:3106::/48", "15201"}, + {"2804:ce4::/32", "52573"}, + {"2a06:afc0:1::/48", "58286"}, + {"2001:4ce9::/29", "59716"}, + {"240e:979:4f00::/35", "4134"}, + {"2804:438c::/32", "262911"}, + {"2406:840:f380::/44", "133555"}, + {"2606:5200:9000::/34", "32477"}, + {"2001:4878:8259::/48", "12222"}, + {"2800:160:1bdc::/42", "14259"}, + {"2a02:26f7:ec01::/46", "20940"}, + {"2403:ad80:92::/48", "135309"}, + {"2600:1407:25::/37", "20940"}, + {"2804:1f0a::/34", "10938"}, + {"2001:4388::/45", "8452"}, + {"2a02:26f7:b885::/46", "20940"}, + {"2a12:4946:a000::/47", "211088"}, + {"2001:559:517::/48", "7016"}, + {"2001:7f0:101::/48", "51906"}, + {"2404:c040::/32", "136174"}, + {"240a:af92::/32", "146636"}, + {"2620:0:1000::/40", "45566"}, + {"2a02:2698:5800::/38", "42683"}, + {"2a0d:2800::/29", "25003"}, + {"2001:559:2fd::/48", "7015"}, + {"2001:df4:db00::/48", "134884"}, + {"2605:e2c0::/32", "49434"}, + {"2a03:8641::/32", "39143"}, + {"2001:559:302::/48", "7016"}, + {"2001:67c:1420::/48", "207101"}, + {"2001:df7:4f80::/48", "138754"}, + {"2804:2fe4::/32", "264919"}, + {"2804:6340::/32", "269349"}, + {"2a00:43e0::/32", "60975"}, + {"2001:468:301::/41", "11537"}, + {"2001:559:83eb::/48", "33657"}, + {"2408:8957:b700::/40", "17816"}, + {"2409:8904:5240::/42", "24547"}, + {"240a:af8b::/32", "146629"}, + {"2800:e03:c000::/28", "27665"}, + {"2a05:6900::/29", "47551"}, + {"2a11:3240::/29", "204790"}, + {"2405:4800:18c3::/32", "18403"}, + {"2409:8907:7c20::/39", "24547"}, + {"2620:11e:30c7::/48", "393828"}, + {"2803:c4e0:8000::/35", "269809"}, + {"2001:678:778::/48", "210814"}, + {"2001:6f8:400::/35", "3257"}, + {"2607:f220:403::/43", "3527"}, + {"2800:650::/46", "28032"}, + {"2804:2178:4006::/35", "264556"}, + {"2804:8154::/32", "272447"}, + {"2a02:26f7:bf01::/46", "20940"}, + {"2400:dc00:ea::/48", "23947"}, + {"240a:aeb5::/32", "146415"}, + {"2a00:5fc1::/32", "48324"}, + {"2a03:5900:c::/29", "31126"}, + {"2001:678:880::/48", "35332"}, + {"2401:d800:ded0::/42", "7552"}, + {"2404:73c0:1102::/48", "48024"}, + {"2405:4802:14d0::/34", "18403"}, + {"2a01:667:100::/37", "48951"}, + {"2a0b:1880::/48", "203217"}, + {"2600:9000:2384::/48", "16509"}, + {"2800:160:1894::/44", "14259"}, + {"2803:6fa0:6::/48", "267790"}, + {"2804:1b3:6f42::/32", "18881"}, + {"2a02:6680:e000::/47", "16116"}, + {"2408:8256:357d::/46", "17623"}, + {"240a:aca6::/32", "145888"}, + {"240e:320::/30", "140061"}, + {"2804:1164::/32", "263674"}, + {"2404:bf40:c581::/34", "139084"}, + {"240a:a8c0::/32", "144890"}, + {"2804:4920::/32", "267166"}, + {"2a09:19c0::/48", "35691"}, + {"2a0e:78c0::/29", "174"}, + {"2001:4408:6f00::/35", "4758"}, + {"2406:daa0:c020::/44", "16509"}, + {"2806:2f0:2063::/43", "22884"}, + {"2402:800:baa0::/41", "7552"}, + {"240a:ab6d::/32", "145575"}, + {"2607:fb10:7162::/40", "2906"}, + {"2a00:1480:5::/48", "39737"}, + {"2001:cf8:acf::/32", "9619"}, + {"2406:840:4100::/47", "139317"}, + {"240e:183:8214::/46", "140653"}, + {"2801:80:38d0::/46", "270420"}, + {"2803:dac0:a::/43", "265634"}, + {"2a0d:e6c0::/32", "41114"}, + {"2001:278::/32", "4725"}, + {"2402:f740:2000::/36", "140096"}, + {"2603:c002:1a30::/39", "31898"}, + {"2408:8957:8c00::/40", "17622"}, + {"240a:a956::/32", "145040"}, + {"240e:44d:4b40::/42", "140357"}, + {"2804:145c:f710::/36", "263327"}, + {"2804:81cc::/32", "272477"}, + {"2a0c:7e46:8a7::/48", "20473"}, + {"2a05:1083:fd00::/44", "209870"}, + {"2001:ee0:7b40::/37", "45899"}, + {"2001:1248:990b::/43", "11172"}, + {"2a01:758:ffe9::/43", "3326"}, + {"2001:559:408::/48", "33491"}, + {"240a:a9ff::/32", "145209"}, + {"2a02:26f7:ef08::/48", "36183"}, + {"2001:6d0:ffc4::/48", "21416"}, + {"2401:4900:5a30::/41", "45609"}, + {"2404:7240::/34", "59074"}, + {"240e:ea::/27", "4134"}, + {"2605:efc0::/32", "1970"}, + {"2001:559:77::/44", "33651"}, + {"2001:df3:fd80::/48", "140442"}, + {"2804:3a54::/32", "266083"}, + {"2a02:26f0:11a::/48", "20940"}, + {"2a02:26f7:e1::/48", "20940"}, + {"2a03:6947:200::/40", "49800"}, + {"2a10:f46::/31", "207459"}, + {"2001:250:6001::/48", "24365"}, + {"2001:4490:dad0::/46", "9829"}, + {"2404:fa00:5000::/36", "45780"}, + {"2409:8904:7c40::/39", "24547"}, + {"240e:3b7:4c00::/35", "136200"}, + {"2801:0:60::/48", "52274"}, + {"2801:1c8:5f0::/48", "19429"}, + {"2804:145c:8110::/40", "263327"}, + {"2804:7058::/32", "270721"}, + {"2001:559:8320::/48", "33661"}, + {"2400:8500:1000::/36", "7506"}, + {"2400:adc2:300::/37", "9541"}, + {"2600:1405:3801::/33", "20940"}, + {"2804:3fc0::/32", "265912"}, + {"2a02:b48:8022::/39", "39572"}, + {"2001:678:8ac::/48", "20570"}, + {"2408:8957:b00::/40", "17816"}, + {"2604:1280:4::/46", "11696"}, + {"2800:8a0:a000::/36", "5722"}, + {"2804:1870::/32", "61932"}, + {"2804:5e08:380::/32", "269007"}, + {"2a0e:5540::/48", "208258"}, + {"2a11:1d42::/48", "210937"}, + {"2001:250:342c::/48", "138438"}, + {"2610:a1:3008::/48", "12008"}, + {"2a05:6680::/29", "43648"}, + {"2600:6c34:d0::/48", "33588"}, + {"2001:1b70:82cb::/48", "158"}, + {"2408:8956:7100::/40", "17816"}, + {"2804:8240::/32", "272508"}, + {"2a02:b88::/32", "47927"}, + {"2804:2dc0::/32", "265301"}, + {"2806:262:501::/48", "13999"}, + {"2001:67c:289c::/48", "198093"}, + {"2001:1a88::/29", "15600"}, + {"2001:43e8::/32", "37105"}, + {"240e:978:5000::/40", "137702"}, + {"2a00:db60:2000::/48", "15224"}, + {"2a02:26f7:bd50::/48", "36183"}, + {"2001:448a:60f0::/39", "7713"}, + {"240a:acb7::/32", "145905"}, + {"2c0f:4200::/35", "328790"}, + {"2001:18b8:119::/42", "29789"}, + {"2401:d800:ec2::/42", "7552"}, + {"240a:a21b::/32", "143189"}, + {"240a:a2e9::/32", "143395"}, + {"2605:2080::/33", "33182"}, + {"2804:4efc:4000::/32", "268296"}, + {"2a02:458::/32", "25182"}, + {"2401:b400:20::/47", "58811"}, + {"240e:f7:8000::/35", "58461"}, + {"2607:f098::/35", "33363"}, + {"2804:41a8::/32", "267448"}, + {"2806:250:600::/40", "28512"}, + {"2a00:e7a0::/47", "204167"}, + {"2a01:5a8::/47", "8866"}, + {"2a05:fb00::/29", "1257"}, + {"2405:9800:c::/43", "45430"}, + {"2607:fae0:2000::/35", "8038"}, + {"2402:8100:2510::/41", "45271"}, + {"2a01:c50e:c00::/35", "12479"}, + {"2a02:2698:8800::/38", "51035"}, + {"2a0d:7ac0::/29", "210206"}, + {"2c0f:f7b0::/32", "327819"}, + {"2001:550:301::/48", "26988"}, + {"2800:320:402::/48", "27882"}, + {"2804:5cf4::/32", "268942"}, + {"2a07:3501:1080::/47", "13127"}, + {"2001:4878:4347::/48", "12222"}, + {"2400:1700:303::/32", "4628"}, + {"2804:3e50:12f::/34", "266587"}, + {"2806:2f0:21c3::/43", "22884"}, + {"2a02:f560::/40", "44267"}, + {"2a03:9900:101::/32", "8990"}, + {"2a0b:d380::/29", "206339"}, + {"2408:840c:6c00::/40", "17621"}, + {"2602:fcd8::/48", "14618"}, + {"2a04:2e80:9::/48", "59860"}, + {"2a0c:29c0::/32", "35614"}, + {"2c0e:100:501::/20", "24863"}, + {"2a0e:8f02:1080::/41", "204446"}, + {"2001:fd8:b200::/42", "132199"}, + {"2408:84f3:de10::/42", "134543"}, + {"2804:63a8:818::/35", "269375"}, + {"2a00:ccc1:4::/48", "57433"}, + {"2a02:578:2c00::/35", "9031"}, + {"2a02:26f7:e908::/48", "36183"}, + {"2a03:e140:3::/48", "48409"}, + {"2c0f:f6d0:2b::/40", "327687"}, + {"2001:da8:3011::/48", "23910"}, + {"2400:dcc0:a804::/39", "38631"}, + {"2806:2f0:5081::/46", "17072"}, + {"2a02:26f7:c1c1::/46", "20940"}, + {"2001:67c:2324::/48", "47904"}, + {"2001:67c:2da8::/48", "41040"}, + {"2001:b08:5::/46", "3267"}, + {"2a01:108::/32", "31127"}, + {"2001:559:c506::/44", "7922"}, + {"2400:9380:86c0::/44", "136167"}, + {"2404:170::/32", "38525"}, + {"2404:b740::/48", "18403"}, + {"2600:6c10:ff83::/45", "20115"}, + {"2801:c4:19::/48", "22122"}, + {"2803:9800:b997::/38", "11664"}, + {"2804:6f4::/32", "262539"}, + {"2a02:26f7:eb88::/48", "36183"}, + {"2a0c:36c0:2::/48", "202301"}, + {"2001:559:879e::/48", "33659"}, + {"2401:d800:55a0::/41", "7552"}, + {"240a:a1c1::/32", "143099"}, + {"2804:d20:e000::/35", "262700"}, + {"2804:1f46::/33", "268989"}, + {"2804:30e4::/32", "262772"}, + {"2804:3e90:4254::/42", "266606"}, + {"2804:7e64::/32", "271621"}, + {"2a0e:d487:f000::/48", "59462"}, + {"2408:8456:9240::/37", "17816"}, + {"2801:1e:9800::/48", "272079"}, + {"2a01:c50f:31c0::/38", "12479"}, + {"2a04:8640::/29", "62275"}, + {"2a09:4e07:2000::/35", "210625"}, + {"2a0a:1ac7::/48", "2116"}, + {"2a0c:4a01:c30::/41", "147183"}, + {"2a0e:f40::/32", "208585"}, + {"2001:67c:28a0::/48", "202592"}, + {"2001:b28:9999::/48", "31500"}, + {"2001:da8:21d::/48", "138375"}, + {"2001:da8:25a::/45", "23910"}, + {"2401:9d00:102::/35", "9835"}, + {"2409:8904:e2b0::/31", "24547"}, + {"2605:3b40::/32", "54904"}, + {"2804:1c8:180::/32", "53184"}, + {"2a03:4ba0::/48", "15669"}, + {"2001:559:c2cc::/48", "7016"}, + {"2001:678:ff0::/48", "3320"}, + {"240a:aea4::/32", "146398"}, + {"2a00:fa40:5000::/32", "45031"}, + {"2001:470:143::/44", "6939"}, + {"2409:8054:303d::/48", "56040"}, + {"2607:3f00:3::/48", "26636"}, + {"2804:385c::/39", "262687"}, + {"2804:5aa8::/32", "268787"}, + {"2a0d:2581:10::/48", "209261"}, + {"2001:df0:251::/48", "18055"}, + {"2405:6e00:800::/40", "133612"}, + {"2405:7f00:c900::/34", "133414"}, + {"240a:aa3a::/32", "145268"}, + {"240e:44d:1180::/41", "4134"}, + {"2a0e:b107:a0::/44", "209218"}, + {"2001:559:432::/48", "33287"}, + {"2a00:1288:7d::/46", "10310"}, + {"2a02:26f7:c356::/47", "20940"}, + {"2001:4430:5210::/39", "17853"}, + {"2806:2f0:1280::/48", "22884"}, + {"2001:19b0::/32", "7029"}, + {"2404:5c80:2::/32", "59261"}, + {"2800:160:1b25::/46", "14259"}, + {"2806:230:401f::/48", "11888"}, + {"2a01:b740::/47", "714"}, + {"2a03:a300:1140::/48", "35104"}, + {"2001:4888:a60e::/41", "22394"}, + {"2406:8c00::/32", "24282"}, + {"2409:8b44::/28", "24445"}, + {"2804:84b8::/32", "272277"}, + {"2a0d:4040::/29", "35070"}, + {"2403:300:543::/38", "714"}, + {"240e:108:1002::/48", "23724"}, + {"2607:f8f0:690::/48", "271"}, + {"2a04:a900:5::/48", "48619"}, + {"2602:802:d000::/44", "53506"}, + {"2605:46c0:9000::/33", "395658"}, + {"2001:1900:220b::/45", "3356"}, + {"2804:74f4:4::/33", "271014"}, + {"2a00:d640::/31", "213192"}, + {"2c0f:e818::/32", "328475"}, + {"2001:559:810b::/48", "7015"}, + {"2804:2308:5000::/32", "264138"}, + {"2a00:e860:180::/46", "200129"}, + {"2a05:3950:8001::/37", "201503"}, + {"2a0f:efc0::/32", "49544"}, + {"2001:559:c3d7::/48", "22909"}, + {"2405:b8c0::/36", "131677"}, + {"2605:c00:1000::/40", "46920"}, + {"2001:748::/32", "5430"}, + {"2600:6c38:8a8::/43", "20115"}, + {"2620:d4::/48", "6377"}, + {"2a02:26f7:c6c9::/42", "20940"}, + {"2404:8d06:9100::/36", "10089"}, + {"2a01:5f80::/32", "47408"}, + {"2a02:cb80:2740::/48", "43766"}, + {"2001:250:2c00::/45", "138381"}, + {"2001:df3:c700::/48", "137394"}, + {"2404:2a00::/32", "56089"}, + {"240a:a48b::/32", "143813"}, + {"240a:a94f::/32", "145033"}, + {"2620:0:2b17::/48", "20381"}, + {"2803:7800::/32", "263703"}, + {"2a00:1178:4::/32", "35415"}, + {"2a09:0:1::/44", "3214"}, + {"2a0e:b107:1200::/46", "142130"}, + {"2001:1579::/47", "12657"}, + {"2406:840:f620::/47", "140506"}, + {"240a:a5df::/32", "144153"}, + {"2a02:2010:2400::/45", "20978"}, + {"2a02:26f7:ef05::/46", "20940"}, + {"2a0e:97c0:5a0::/47", "210617"}, + {"2a0f:9400:700e::/47", "211144"}, + {"2800:bf0:3040::/46", "52257"}, + {"2600:806:301::/28", "701"}, + {"2600:370f:1065::/40", "32261"}, + {"2803:ca80:2::/32", "263249"}, + {"2a0d:fd40::/41", "14630"}, + {"2001:579:804::/40", "22773"}, + {"2001:bf7:540::/48", "3624"}, + {"2408:8459:c950::/38", "17816"}, + {"2a02:2668:5500::/34", "16345"}, + {"2a04:4e40:a200::/48", "54113"}, + {"2a10:7180::/29", "25459"}, + {"2001:67c:295c::/48", "8365"}, + {"2402:6640:1a::/42", "134995"}, + {"2600:9000:20ac::/43", "16509"}, + {"2803:600::/32", "18809"}, + {"2a06:a001:a020::/44", "48024"}, + {"2603:4007::/28", "3"}, + {"2604:6080::/32", "13739"}, + {"2001:559:2a9::/48", "33491"}, + {"2406:840:e180::/44", "134478"}, + {"240e:438:a40::/37", "4134"}, + {"2a02:970:1289::/39", "44002"}, + {"2001:b28:7b0d::/32", "42065"}, + {"2405:6b00::/48", "132447"}, + {"2603:c025:8000::/35", "31898"}, + {"2801:80:3560::/44", "28614"}, + {"2804:1110::/32", "262901"}, + {"2804:3c80::/35", "266216"}, + {"2a01:ce89:2000::/32", "51964"}, + {"2001:678:f74::/48", "213027"}, + {"2001:67c:790::/48", "207042"}, + {"2804:2f3c:b030::/33", "264879"}, + {"2804:5f00::/47", "269070"}, + {"2a03:8500::/32", "44291"}, + {"2a04:6c00::/29", "62412"}, + {"2a06:1301:4110::/48", "64492"}, + {"240e:3bc:8200::/35", "140316"}, + {"2620:1d0:5c::/48", "397228"}, + {"2800:160:14fe::/39", "14259"}, + {"2a00:1cf8:6000::/35", "44944"}, + {"2a02:26f7:be90::/48", "36183"}, + {"2a09:cd40::/30", "202448"}, + {"2a0f:8880::/29", "42184"}, + {"2001:559:c2f0::/48", "33490"}, + {"2001:df0:bc::/48", "45731"}, + {"2001:1248:7230::/48", "11172"}, + {"2001:1248:a4bf::/41", "11172"}, + {"2607:fd00:7::/48", "32922"}, + {"2804:7a78::/32", "271373"}, + {"2a02:26f0:fa::/47", "20940"}, + {"2604:d600:1c17::/42", "32098"}, + {"2607:fc58:2000:4000::/56", "13536"}, + {"2a02:bc0::/32", "60781"}, + {"240e:3b3::/35", "134773"}, + {"2600:1015:b070::/40", "6167"}, + {"2804:750c::/32", "271020"}, + {"2a07:22c0:8002::/47", "213034"}, + {"2a0e:46c4:2c10::/44", "142289"}, + {"2a10:2980::/29", "209591"}, + {"2803:6000::/32", "52228"}, + {"2a10:64c0::/29", "204007"}, + {"2a11:ad80::/47", "210829"}, + {"240e:438:9620::/43", "140647"}, + {"2600:1001:a010::/40", "22394"}, + {"2605:f500::/39", "1828"}, + {"2804:6fb8::/36", "270679"}, + {"2a00:1b78::/29", "39087"}, + {"2401:3c00:40::/43", "38322"}, + {"2606:2800:5a10::/47", "15133"}, + {"2804:49c:c0f1::/48", "7162"}, + {"2a00:1ec8:62::/47", "2854"}, + {"2a02:26f7:c80d::/42", "20940"}, + {"2001:67c:6c::/48", "1850"}, + {"2001:67c:2ba4::/48", "212864"}, + {"2400:db80::/32", "56293"}, + {"2401:d800:7ae0::/39", "7552"}, + {"2a0d:77c7:d795::/36", "7489"}, + {"2001:44b8:2034::/48", "4739"}, + {"240a:aaab::/32", "145381"}, + {"2a02:cb80:4070::/40", "43766"}, + {"2408:820c:9c10::/34", "17621"}, + {"240e:4c:7800::/31", "4134"}, + {"2a00:11e8::/32", "50399"}, + {"2001:978:8f00:1::/35", "174"}, + {"240e:108:1181::/48", "133775"}, + {"2804:21f8:180::/37", "262272"}, + {"2001:559:86bc::/48", "33287"}, + {"240a:a184::/32", "143038"}, + {"2a0e:b107:800::/44", "213383"}, + {"2404:f780:a::/48", "136557"}, + {"2a00:dfc0::/29", "198551"}, + {"2a0a:6680:1000::/36", "203500"}, + {"2603:f350::/24", "397165"}, + {"2607:9b80:800::/43", "46558"}, + {"2804:6964::/32", "270267"}, + {"2a0a:1240:1100::/32", "12440"}, + {"2a0e:3840:242::/48", "40676"}, + {"2a0e:b107:c9f::/48", "140938"}, + {"2a0e:b107:df6::/48", "141237"}, + {"2602:fed2:731c::/48", "20473"}, + {"2804:338::/32", "262730"}, + {"2804:20fc:1c00::/34", "264525"}, + {"2a01:4ce0:162::/32", "19624"}, + {"2a0e:b107:ea4::/48", "212085"}, + {"2001:559:e2::/47", "33490"}, + {"2001:67c:26ac::/48", "204635"}, + {"2001:df6:8000::/48", "10014"}, + {"240e:67d:8c00::/33", "4134"}, + {"2607:380::/32", "27195"}, + {"2a02:1720::/32", "197219"}, + {"2a02:26f7:cc08::/48", "36183"}, + {"2a02:26f7:e5c1::/46", "20940"}, + {"2a04:5b80:100::/48", "16509"}, + {"240e:5f:600d::/48", "140315"}, + {"2600:370f:74a5::/41", "32261"}, + {"2602:fc37::/36", "399920"}, + {"2801:1a2::/48", "269845"}, + {"2409:8948:9100::/40", "24445"}, + {"2607:ff18:8000::/35", "40630"}, + {"2a02:26f7:34::/48", "36183"}, + {"2001:250:3014::/48", "23910"}, + {"240a:a392::/32", "143564"}, + {"2a02:26f7:bdc1::/46", "20940"}, + {"2402:b800::/32", "7718"}, + {"2600:1405:5401::/36", "20940"}, + {"2a01:53c0:ffeb::/48", "54994"}, + {"2a01:6560::/32", "62248"}, + {"2001:559:275::/48", "33650"}, + {"2001:67c:2ca6::/47", "50838"}, + {"2606:8c00::/48", "22995"}, + {"2607:f3c8::/34", "33724"}, + {"2a01:8640:c::/48", "61102"}, + {"2a02:ddc3:1::/29", "47165"}, + {"2a0b:fe00::/29", "207026"}, + {"2001:1248:97bc::/41", "11172"}, + {"2404:4f00::/34", "17819"}, + {"2404:8d06:7000::/40", "133543"}, + {"2a02:26f7:c40d::/46", "20940"}, + {"2406:2000:efa6::/48", "56173"}, + {"2a0d:3585::/32", "200303"}, + {"2403:ec00:126::/32", "17806"}, + {"240e:67b:e200::/39", "140329"}, + {"2c0f:ea58::/32", "328537"}, + {"2600:1480:9800::/48", "21342"}, + {"2800:160:1f00::/45", "14259"}, + {"2800:370:4::/48", "26613"}, + {"2800:af0::/32", "27984"}, + {"2804:2384::/32", "264167"}, + {"2a00:4800:b0::/41", "8717"}, + {"2001:550:a500:1::/36", "174"}, + {"2804:298c::/32", "264021"}, + {"2a02:26f7:c3::/48", "20940"}, + {"2a02:26f7:bc01::/46", "20940"}, + {"2c0f:f9e0:ffff::/48", "37148"}, + {"2001:559:399::/48", "13367"}, + {"2001:559:84db::/48", "7922"}, + {"2a04:4e40:2610::/44", "54113"}, + {"2001:559:7be::/48", "33657"}, + {"2400:8b00:2100::/42", "45727"}, + {"2604:2880::/48", "46562"}, + {"2803:e5e0::/32", "270035"}, + {"2a06:4180:1::/48", "43595"}, + {"2001:67c:848::/48", "210775"}, + {"2409:8b14::/30", "56044"}, + {"2606:b340::/32", "549"}, + {"2804:5e4c::/32", "269024"}, + {"2804:673c:2000::/40", "264598"}, + {"2a01:a880::/29", "29600"}, + {"2a02:ac87:5901::/40", "25145"}, + {"2a03:380::/32", "13250"}, + {"2a04:3a60:8000::/30", "56467"}, + {"2a0f:e380::/29", "60262"}, + {"2c0f:ecc0::/46", "328523"}, + {"2804:7520::/32", "271025"}, + {"2a0c:ff00::/47", "204975"}, + {"2a0d:ac41::/32", "208861"}, + {"2408:877c::/32", "137539"}, + {"2804:f80::/32", "61893"}, + {"2001:4830:3100::/48", "25623"}, + {"2600:6c7f:9130::/44", "20115"}, + {"2408:8001:3160::/44", "136958"}, + {"240e:980:9300::/40", "134768"}, + {"2602:fd3a:22c::/46", "16509"}, + {"2804:3390::/34", "265404"}, + {"2a0b:2900:7f::/48", "48582"}, + {"2a0e:1000::/29", "60989"}, + {"2001:559:f8::/48", "7922"}, + {"240a:af82::/32", "146620"}, + {"2804:82e4::/32", "272163"}, + {"2a03:7380:2000::/40", "13188"}, + {"2a11:adc0::/29", "49655"}, + {"2a01:c50e:df00::/34", "12479"}, + {"2a11:29c0:b00b::/48", "212149"}, + {"2001:678:bb0::/48", "207687"}, + {"2001:1900:2215::/44", "3356"}, + {"240a:aa72::/32", "145324"}, + {"2404:ec:340::/37", "703"}, + {"2409:8087:6a23::/43", "9808"}, + {"2600:1403:a::/48", "21342"}, + {"2801:15:8001::/44", "263683"}, + {"2a00:a1a0::/32", "41885"}, + {"2a02:26f7:ea44::/48", "36183"}, + {"2001:1a68:15::/48", "35491"}, + {"2606:9c00::/32", "23314"}, + {"2a04:88c0:a::/30", "60781"}, + {"2001:67c:2280::/48", "39399"}, + {"2408:8957:8200::/40", "17622"}, + {"2a00:8a02:10::/42", "200656"}, + {"2a03:5f00:1001::/32", "29644"}, + {"2001:67c:2870::/48", "198743"}, + {"2402:c300::/32", "55653"}, + {"240a:af30::/32", "146538"}, + {"240e:4c:7000::/37", "136197"}, + {"2610:a1:1080::/48", "397226"}, + {"2804:5424::/32", "268631"}, + {"2806:230:3023::/48", "11888"}, + {"2a00:8860:d00::/40", "208136"}, + {"2a05:8700::/29", "43513"}, + {"2a09:7c44::/32", "43624"}, + {"2401:b800::/32", "38248"}, + {"2409:8904:e170::/40", "24547"}, + {"2600:1017:a810::/35", "6167"}, + {"2603:c0fc:1000::/39", "54253"}, + {"2806:230:6021::/48", "11888"}, + {"2001:3c8:c302::/45", "4621"}, + {"2001:503:7bbf::/48", "7342"}, + {"2001:df2:100::/48", "133968"}, + {"2409:8052:1002::/40", "56047"}, + {"2606:4700:3131::/48", "395747"}, + {"2804:62ac::/32", "269311"}, + {"2804:671c::/32", "269604"}, + {"2001:978:5203::/48", "209312"}, + {"2401:d800:9920::/41", "7552"}, + {"2804:20fc:1b01::/40", "264525"}, + {"2804:7394:8000::/33", "270924"}, + {"2a02:26f7:c509::/42", "20940"}, + {"2a05:5e40:f00f::/48", "49681"}, + {"2001:559:c18e::/48", "7922"}, + {"2409:804c:3002::/43", "9808"}, + {"2806:10a6::/46", "8151"}, + {"2a00:1f58::/29", "44385"}, + {"2a00:6240::/32", "198354"}, + {"2402:800:35e0::/44", "7552"}, + {"2a00:17b0::/32", "204896"}, + {"2a02:26f7:f7d1::/42", "20940"}, + {"2a02:cb81:1100::/45", "43766"}, + {"2402:800:5ae0::/44", "7552"}, + {"2607:f428:9180::/42", "19115"}, + {"2804:3d78::/32", "266533"}, + {"2a11:dbc0::/29", "204790"}, + {"2001:568:800::/40", "7861"}, + {"2600:6c20:885::/46", "20115"}, + {"2602:fccf::/36", "398355"}, + {"2a02:26f7:f8d0::/48", "36183"}, + {"2a0b:fa00::/32", "28674"}, + {"2001:559:8235::/48", "7015"}, + {"2001:e60:1070::/33", "4766"}, + {"2408:84f3:ae40::/35", "17816"}, + {"240e:5a:4240::/40", "140293"}, + {"240e:d9:b000::/36", "4134"}, + {"2806:2f0:2081::/48", "22884"}, + {"2a02:26f7:be09::/46", "20940"}, + {"2001:559:534::/48", "33659"}, + {"240a:aa82::/32", "145340"}, + {"2604:d600:66f::/43", "32098"}, + {"2a00:5881:4000::/40", "51083"}, + {"2001:559:178::/48", "33489"}, + {"2001:df5:5d00::/48", "4770"}, + {"2001:2000:4100::/35", "1299"}, + {"2400:fc00:4030::/41", "45773"}, + {"2405:9200:4100::/41", "131596"}, + {"2409:841e::/31", "24400"}, + {"2604:9140:ffff::/48", "265721"}, + {"2804:5e78::/32", "269035"}, + {"2804:8318::/43", "272176"}, + {"2a0a:2b40::/29", "35278"}, + {"2001:559:7e3::/48", "7725"}, + {"2408:8459:cd50::/38", "17816"}, + {"2409:8714:7000::/32", "56044"}, + {"240a:ab8f::/32", "145609"}, + {"2a11:8880::/29", "211344"}, + {"2408:8957:6200::/40", "17622"}, + {"2600:140b:2a01::/39", "20940"}, + {"2a10:740::/29", "62240"}, + {"2a10:2f01:290::/44", "212996"}, + {"2001:550:3b02::/37", "174"}, + {"2607:fa88::/32", "6582"}, + {"2001:4de0:400::/38", "33438"}, + {"2401:c5c0:51::/38", "55492"}, + {"2604:880:59::/46", "29802"}, + {"2604:5740::/32", "19006"}, + {"2620:137:a::/48", "396253"}, + {"2804:2a98::/32", "264082"}, + {"2001:520:1007::/48", "8103"}, + {"2001:559:49c::/48", "33491"}, + {"2001:df7:6880::/48", "133296"}, + {"2404:e100:3006::/47", "133840"}, + {"2408:8456:ec00::/42", "17622"}, + {"2a05:d050:a080::/44", "16509"}, + {"2407:a800:3e11:111a::/64", "4713"}, + {"2600:1404:24::/46", "35994"}, + {"2804:4b0c::/32", "267280"}, + {"2804:7a18::/32", "271347"}, + {"2a11:4900::/29", "42375"}, + {"2001:559:8740::/48", "33657"}, + {"2402:800:9c39::/41", "7552"}, + {"2403:0:117::/44", "4755"}, + {"2409:8008:dc::/48", "9808"}, + {"2804:76d4::/32", "271137"}, + {"2806:230:1013::/48", "11888"}, + {"2001:559:370::/48", "7015"}, + {"2400:2c1:3000::/48", "4766"}, + {"240a:a8ee::/32", "144936"}, + {"2a05:9f44:2a05::/48", "42831"}, + {"2a0e:a800::/29", "212144"}, + {"2001:559:c3c4::/48", "33657"}, + {"2604:ffc0::/47", "36232"}, + {"2620:11f:9009::/48", "14746"}, + {"2804:6bcc::/32", "270426"}, + {"2a0f:8445::/32", "51659"}, + {"2001:489a:2000::/33", "8070"}, + {"2401:4900:5440::/42", "45609"}, + {"2620:105:b000::/40", "2055"}, + {"2803:e600:1d::/32", "18809"}, + {"2804:7cd8::/32", "271522"}, + {"2a02:26f7:e98d::/42", "20940"}, + {"2a0c:b641:212::/48", "209661"}, + {"2c0f:f290::/32", "37492"}, + {"2001:559:80dd::/48", "7015"}, + {"2405:8080::/33", "23664"}, + {"2804:3970::/32", "266030"}, + {"2001:410:102::/48", "53904"}, + {"2400:c700:1302::/34", "55644"}, + {"2a02:26f7:e50d::/46", "20940"}, + {"2001:500:200::/47", "394353"}, + {"2001:559:8000::/48", "33651"}, + {"240e:e9:7000::/37", "134769"}, + {"2605:7b80::/32", "2728"}, + {"2804:ca4::/32", "262336"}, + {"2a0d:140:2000::/29", "209014"}, + {"2a02:24f8::/32", "34385"}, + {"2a10:9100:a::/48", "47890"}, + {"2001:559:8548::/48", "7725"}, + {"2001:4490:33fc::/37", "9829"}, + {"240a:a016::/32", "142672"}, + {"2a00:dc00::/32", "47288"}, + {"2a05:5504:10::/47", "8218"}, + {"2001:253:124::/48", "142090"}, + {"2600:1406:6001::/38", "20940"}, + {"2602:fc48::/36", "63339"}, + {"2606:2800:7100::/48", "15133"}, + {"2001:4c08:2031::/32", "3356"}, + {"2604:d600:1c04::/44", "32098"}, + {"2804:2c58:1110::/38", "265211"}, + {"2400:adc0:110::/47", "9541"}, + {"2600:140b:3400::/48", "31109"}, + {"2a02:b4c::/32", "39572"}, + {"2a0e:1bc7::/35", "208621"}, + {"2001:fd8:68::/40", "4775"}, + {"2401:0:201::/48", "23966"}, + {"2408:8256:3570::/44", "17623"}, + {"2603:c021:8000::/35", "31898"}, + {"2804:60c0::/32", "269188"}, + {"2a02:26f7:f7c1::/46", "20940"}, + {"2001:559:c05e::/48", "7016"}, + {"2600:6c39:236::/44", "20115"}, + {"2001:250:862::/38", "23910"}, + {"240a:2:dcc::/48", "9605"}, + {"2001:67c:208::/48", "30962"}, + {"2001:67c:19f4::/48", "198877"}, + {"2804:14d:1296::/42", "28573"}, + {"2804:f8c::/34", "263591"}, + {"2a01:8840:36::/44", "12041"}, + {"2a0c:f780::/29", "210321"}, + {"2a0d:c2c0::/29", "44592"}, + {"2a0f:2980::/29", "39587"}, + {"2001:678:6::/48", "44358"}, + {"240a:aa1d::/32", "145239"}, + {"240e:397:2100::/38", "140496"}, + {"2606:e000::/32", "26531"}, + {"2a02:26f0:d600::/48", "34164"}, + {"2001:559:830f::/48", "7922"}, + {"2405:6600:704::/44", "45845"}, + {"240a:a064::/32", "142750"}, + {"240a:ad42::/32", "146044"}, + {"2620:11f:e000::/40", "12243"}, + {"2a00:11c0:38::/48", "203833"}, + {"2a0c:e040:1338::/29", "200629"}, + {"2408:8459:850::/38", "17816"}, + {"2800:937::/32", "264731"}, + {"2804:2480::/32", "264227"}, + {"2a01:6940::/32", "29605"}, + {"2001:559:838a::/48", "7015"}, + {"2001:a98:601::/33", "8517"}, + {"2408:8956:1b40::/40", "17816"}, + {"240a:a513::/32", "143949"}, + {"2620:a8:4000::/48", "393900"}, + {"2a01:358:5013::/36", "9121"}, + {"2001:1248:59ef::/43", "11172"}, + {"2408:8956:7f00::/40", "17816"}, + {"240e:a67::/35", "140329"}, + {"2402:800:3ad3::/44", "7552"}, + {"240a:a052::/32", "142732"}, + {"2602:ff76::/36", "21722"}, + {"2a03:1c0::/32", "202207"}, + {"2a04:4e42:26::/47", "54113"}, + {"2401:d800:7c90::/42", "7552"}, + {"2403:5f40::/48", "9268"}, + {"240a:a506::/32", "143936"}, + {"240e:982:d400::/40", "131325"}, + {"2804:4b0:308::/43", "262459"}, + {"2804:4098:f0db::/39", "265969"}, + {"2804:6a20::/32", "270311"}, + {"2001:559:c4aa::/48", "7922"}, + {"2402:600:2::/35", "38515"}, + {"2405:58c0:3c00::/40", "133101"}, + {"2409:8914:a800::/39", "56044"}, + {"2607:a680::/44", "395092"}, + {"2607:f740:e045::/44", "63911"}, + {"2610:178::/32", "16668"}, + {"2804:3838:31::/32", "53170"}, + {"2a00:11c0:4a::/48", "42473"}, + {"2a02:26f7:f3cd::/42", "20940"}, + {"2a04:f080::/29", "34636"}, + {"2a0c:cac0::/29", "202373"}, + {"2a0e:4680::/32", "24961"}, + {"2401:d800:b660::/40", "7552"}, + {"240c:ca0b::/32", "24363"}, + {"2604:5500::/42", "19165"}, + {"2607:ffb0:5003::/45", "6327"}, + {"2a07:e740:dc01::/43", "43299"}, + {"240e:44d:7540::/42", "140356"}, + {"2405:2040:2302::/48", "48024"}, + {"2409:8054::/45", "56040"}, + {"2600:1004:b100::/42", "6167"}, + {"2a01:780::/32", "25415"}, + {"2a02:26f0:8301::/37", "20940"}, + {"2a0e:b107:19f::/48", "209506"}, + {"2a00:d200::/29", "56329"}, + {"2a02:26f7:e1c0::/48", "36183"}, + {"2a0b:f380::/48", "49544"}, + {"2a0f:540::/29", "7018"}, + {"2001:559:4f7::/48", "7922"}, + {"2001:df2:eb00::/48", "9930"}, + {"2001:44c8:4740::/44", "131445"}, + {"2402:e280:2253::/39", "134674"}, + {"2409:8080:2a90::/44", "9808"}, + {"2602:fbf6:800::/37", "62853"}, + {"2602:fed2:7106::/48", "23470"}, + {"2606:69c0:9000::/36", "11039"}, + {"2001:4f8:b::/48", "16509"}, + {"2408:840d:400::/42", "17621"}, + {"2001:df7:7800::/48", "17523"}, + {"240a:adef::/32", "146217"}, + {"240e:980:4500::/40", "58461"}, + {"2620:14a::/36", "13684"}, + {"2a00:4bc0:2101::/44", "16509"}, + {"2a0e:8f02:f01d::/48", "211747"}, + {"2a0f:cf80::/29", "208861"}, + {"2001:559:24a::/48", "33652"}, + {"2001:579:cec0::/39", "22773"}, + {"2001:4b88::/32", "20640"}, + {"2600:6:ff06::/44", "10507"}, + {"2806:2f0:9801::/46", "17072"}, + {"2001:559:818d::/46", "7922"}, + {"2404:f800::/32", "8075"}, + {"240a:aad0::/32", "145418"}, + {"2a03:d000:2000::/36", "31133"}, + {"2a0e:b107:f08::/45", "9886"}, + {"2402:6e80::/32", "139100"}, + {"2600:1f00:6000::/40", "16509"}, + {"2603:f048::/29", "63023"}, + {"2a03:5500::/31", "8315"}, + {"2a06:900:1849::/29", "34373"}, + {"2402:800:bc30::/41", "7552"}, + {"2602:fd13::/36", "397787"}, + {"2a02:ee80:40a8::/46", "3573"}, + {"2a04:c440::/34", "2047"}, + {"2001:579:717c::/40", "22773"}, + {"2610:1a0::/41", "40193"}, + {"2804:160c:4000::/36", "263264"}, + {"2804:2238::/36", "264598"}, + {"2804:70b0::/32", "270742"}, + {"2a00:fc0::/32", "3212"}, + {"2a0a:a0c0::/29", "50973"}, + {"2400:4ec0:d746::/34", "64300"}, + {"2402:800:5455::/42", "7552"}, + {"2a00:7580:60::/48", "8414"}, + {"2a01:94c0::/32", "31370"}, + {"2a0b:6340::/32", "29423"}, + {"2c0f:ee78:8001::/46", "61317"}, + {"2409:8c34:ac00::/33", "9808"}, + {"2606:2e00:8024::/46", "36351"}, + {"2607:f330:6000::/36", "15130"}, + {"2a05:71c0::/29", "34993"}, + {"2001:1a11:118::/48", "8781"}, + {"240a:ad10::/32", "145994"}, + {"2620:12a:2000::/44", "395421"}, + {"2804:6028::/32", "269149"}, + {"2a0e:a180::/29", "208591"}, + {"2a11:e87:6000::/32", "208861"}, + {"2409:8c85:420::/44", "24547"}, + {"2604:5f00::/32", "10755"}, + {"2a00:1c10::/42", "50300"}, + {"2a02:888:8251::/48", "47794"}, + {"2a10:3300::/29", "207459"}, + {"240a:a74e::/32", "144520"}, + {"2620:10a:6000::/44", "33651"}, + {"2804:1374::/32", "263534"}, + {"2804:1dc8::/32", "264393"}, + {"2804:46e4::/32", "267018"}, + {"2806:2f0:7121::/46", "17072"}, + {"2a02:26f7:b6cd::/42", "20940"}, + {"2a0b:b87:ffc0::/44", "50867"}, + {"2606:1a40:200c::/47", "394256"}, + {"2804:6d28::/48", "270516"}, + {"2409:8915:9600::/30", "56044"}, + {"240e:37d:aa00::/39", "140330"}, + {"2806:20d:5502::/38", "32098"}, + {"2408:8256:377c::/46", "17623"}, + {"2a0e:8f02:f027::/48", "212519"}, + {"2402:5680:2000::/36", "133798"}, + {"2404:f4c0:886e::/48", "210384"}, + {"240e:83:800::/32", "4134"}, + {"240e:109:802b::/41", "4134"}, + {"2804:5244::/32", "268506"}, + {"2001:1248:57fe::/47", "11172"}, + {"2407:2880:c001::/46", "24314"}, + {"2407:c000::/32", "9270"}, + {"2605:3c80:fc::/46", "32787"}, + {"2804:68ec::/32", "270237"}, + {"2401:d800:92e2::/39", "7552"}, + {"2606:4a00::/35", "33154"}, + {"2a11:bc0::/48", "208085"}, + {"2001:559:276::/48", "33651"}, + {"2620:28:c000::/48", "55219"}, + {"2402:800:97b7::/41", "7552"}, + {"2408:8456:4440::/38", "17816"}, + {"2409:8904:34a0::/39", "24547"}, + {"2804:13b0:bc00::/45", "263546"}, + {"2a07:59c1:2010::/48", "210770"}, + {"2001:4938::/32", "33554"}, + {"2408:8956:ad00::/40", "17816"}, + {"2605:a401:815e::/42", "33363"}, + {"2a02:26f7:f548::/48", "36183"}, + {"2001:559:8614::/47", "33651"}, + {"2001:4408:5221::/45", "4758"}, + {"240a:acc7::/32", "145921"}, + {"2600:1016:a110::/35", "6167"}, + {"2800:bf0:2001::/39", "27947"}, + {"2a03:2be0::/32", "59859"}, + {"2404:3d00:40e8::/47", "21433"}, + {"2600:1000:d000::/42", "6167"}, + {"2a01:540:9000::/34", "12389"}, + {"2a01:c9c0:cf::/48", "8891"}, + {"2001:559:c1c7::/44", "7922"}, + {"2001:4878:2031::/48", "12222"}, + {"2402:7400:3000::/33", "38883"}, + {"2403:9e00::/32", "9443"}, + {"2404:160:8080::/34", "10030"}, + {"2600:1012::/32", "22394"}, + {"2001:253:108::/48", "142074"}, + {"2408:8957:bc00::/40", "17622"}, + {"240a:a874::/32", "144814"}, + {"240a:ac98::/32", "145874"}, + {"2620:73:e000::/48", "396970"}, + {"2804:1cd8:4::/32", "262691"}, + {"2804:4ae8::/32", "267271"}, + {"2a02:450::/36", "34372"}, + {"2001:67c:2330::/48", "56963"}, + {"2409:8050:800::/47", "56047"}, + {"2607:f3c8:8000::/33", "33724"}, + {"2a02:26f7:e0c5::/46", "20940"}, + {"2a06:94c0::/29", "51918"}, + {"2001:250:7004::/48", "24369"}, + {"2404:1f00::/33", "55947"}, + {"2806:370:12a0::/41", "28403"}, + {"2a02:2500::/32", "5390"}, + {"2401:d800:7250::/42", "7552"}, + {"240a:a1a2::/32", "143068"}, + {"2607:f770::/32", "22958"}, + {"2a02:288::/32", "16300"}, + {"2a06:4c0::/32", "60447"}, + {"2a0a:61c0::/29", "206119"}, + {"2c0f:f3d8::/32", "327741"}, + {"2620:0:d60::/46", "46"}, + {"2800:3a0:2::/45", "23201"}, + {"2a03:8600:1::/48", "38945"}, + {"2a10:cc42:1b1b::/45", "20473"}, + {"2001:559:1bb::/48", "7922"}, + {"2400:fe00::/32", "17968"}, + {"2404:3d80:300::/40", "210542"}, + {"2409:8935::/28", "9808"}, + {"240e:946:2::/34", "58540"}, + {"2a0c:5440:80::/44", "209650"}, + {"2001:559:84df::/48", "33659"}, + {"2409:250::/28", "55392"}, + {"2804:2978::/32", "264017"}, + {"2001:2010::/30", "3308"}, + {"2404:f4c0:fc80::/44", "139888"}, + {"2600:40ff:fffa::/47", "701"}, + {"2804:4ac4::/32", "267262"}, + {"2a00:5560::/32", "205411"}, + {"2a01:648::/29", "57809"}, + {"2a02:26f7:c049::/46", "20940"}, + {"2a0e:b107:12a0::/44", "211851"}, + {"240a:ad38::/32", "146034"}, + {"2a07:e03:30::/39", "210083"}, + {"2001:559:81e5::/48", "33650"}, + {"2409:896a:5400::/39", "9808"}, + {"2409:897f::/24", "9808"}, + {"2a02:e740::/48", "61157"}, + {"2a05:d050:e040::/44", "16509"}, + {"2a06:e881:1200::/44", "202928"}, + {"2001:1578:100::/40", "29317"}, + {"2406:2000:a5::/46", "10310"}, + {"2408:8a00:c000::/35", "9929"}, + {"240a:a069::/32", "142755"}, + {"240a:af36::/32", "146544"}, + {"2607:fdf0:5e31::/45", "8008"}, + {"2610:58:3:aaab::/32", "111"}, + {"2a00:e20:143::/48", "16509"}, + {"2a0a:c0c0::/29", "52031"}, + {"2804:824c::/35", "272511"}, + {"2a0e:aa07:e02e::/48", "210320"}, + {"2001:fd8:64::/46", "132199"}, + {"2606:2800:4aa4::/46", "15133"}, + {"2a02:10:100::/48", "5418"}, + {"2a02:26f7:5d::/48", "20940"}, + {"2605:a401:80ed::/39", "33363"}, + {"2001:503:eea3::/48", "397197"}, + {"2001:1248:a61e::/41", "11172"}, + {"2400:5a20:2::/48", "139006"}, + {"240e:9b:f00c::/46", "140249"}, + {"240a:a3f7::/32", "143665"}, + {"2607:f6f0:206::/48", "27566"}, + {"2806:20d:1d38::/41", "32098"}, + {"2a02:26f7:f64d::/42", "20940"}, + {"2a04:f000::/29", "60016"}, + {"2602:feda:c10::/44", "212359"}, + {"2803:6a60:4::/32", "262186"}, + {"2804:5b04::/32", "268813"}, + {"2001:559:85fe::/48", "7015"}, + {"2409:8070:100::/36", "9808"}, + {"2804:5bd8::/32", "268872"}, + {"2401:4900:4f10::/44", "45609"}, + {"2409:8914:4200::/39", "56044"}, + {"2804:31e8::/32", "265044"}, + {"2806:2f0:9943::/42", "17072"}, + {"2a01:8e80::/29", "8362"}, + {"2a02:348:4::/43", "35470"}, + {"2a03:85c0::/39", "20561"}, + {"2001:1248:873f::/41", "11172"}, + {"2a0a:1400::/30", "400177"}, + {"2a0a:56c4:8600::/47", "42649"}, + {"2001:678:c2c::/48", "212746"}, + {"2400:5080::/48", "38379"}, + {"2600:1405:7001::/37", "20940"}, + {"2800:160:1566::/44", "14259"}, + {"2804:124c::/37", "263468"}, + {"2806:264:300::/41", "13999"}, + {"2806:1070:cfff:8::/64", "8151"}, + {"2a02:888:8248::/47", "48695"}, + {"2a0e:6540:a0::/48", "208364"}, + {"2408:8256:466::/39", "17622"}, + {"2600:9000:1113::/42", "16509"}, + {"2620:0:2b80::/44", "10702"}, + {"2804:1440::/32", "263321"}, + {"2806:100f::/27", "8151"}, + {"2a00:1d88::/32", "13249"}, + {"2a0d:fec0:121::/45", "47481"}, + {"2409:8c28:30b1::/39", "56041"}, + {"240a:a4e0::/32", "143898"}, + {"2804:264c::/32", "264338"}, + {"2a00:86c0:208a::/45", "2906"}, + {"2a01:9260::/32", "28753"}, + {"2a02:26f7:bf84::/48", "36183"}, + {"2001:67c:293c::/48", "211742"}, + {"2001:1a11:116::/47", "42298"}, + {"2402:8bc0::/32", "59012"}, + {"2409:8003:2c00::/32", "9808"}, + {"2605:b100:100::/41", "577"}, + {"2803:9a40::/33", "263824"}, + {"2806:21a:8000::/48", "262913"}, + {"2a02:ff0:14f4::/44", "12735"}, + {"2001:ab8::/29", "34177"}, + {"2001:1248:8864::/43", "11172"}, + {"2001:1878:500::/40", "127"}, + {"2408:8456:4a10::/42", "134543"}, + {"240e:44d:3100::/41", "140345"}, + {"2001:7f8:f::/48", "6895"}, + {"2604:e000::/32", "27553"}, + {"2605:f880::/32", "32281"}, + {"2804:8304::/32", "272171"}, + {"2a04:ff00:500::/48", "23470"}, + {"2405:34c0:1::/45", "134316"}, + {"2408:8872::/32", "4837"}, + {"2001:579:8d9::/42", "22773"}, + {"240e:967:5800::/32", "4134"}, + {"2600:1fa0:6040::/44", "16509"}, + {"2803:c180:2310::/37", "52341"}, + {"2804:44bc::/32", "267650"}, + {"2804:7c14::/33", "271474"}, + {"2a00:1a98::/32", "21107"}, + {"2a04:4e40:7400::/48", "54113"}, + {"2602:fbee::/40", "7247"}, + {"2803:b4c0:4::/32", "264668"}, + {"2401:c500:fd01::/48", "13658"}, + {"2a05:3950:8661::/33", "201503"}, + {"2a0d:3584:1111::/48", "200303"}, + {"2402:5680:6000::/36", "133798"}, + {"2620:119:e021::/43", "30337"}, + {"2620:12d:e004::/46", "397635"}, + {"2001:470:4a::/48", "6379"}, + {"2605:f740::/32", "25892"}, + {"2803:a410:9191::/48", "64114"}, + {"2001:da8:3006::/48", "23910"}, + {"2620:135:600b::/41", "22697"}, + {"2a01:71e0::/32", "199811"}, + {"2403:a640:200::/39", "63786"}, + {"2408:8956:2d00::/40", "17816"}, + {"240a:a050::/32", "142730"}, + {"2600:1f01:4820::/47", "16509"}, + {"2803:c240::/35", "41095"}, + {"2804:13b0:fc00::/38", "263546"}, + {"2a04:53c0:85::/48", "47784"}, + {"2001:df6:4080::/48", "141999"}, + {"2409:8b10:2400::/30", "9808"}, + {"2604:980:1::/48", "40676"}, + {"2a00:cc0:fffd::/46", "13237"}, + {"240a:a2ef::/32", "143401"}, + {"2604:f740:100::/38", "397041"}, + {"2800:160:17bb::/41", "14259"}, + {"2a03:50a0::/32", "39699"}, + {"2a07:1980:20::/46", "48851"}, + {"2a0c:ef40::/29", "49223"}, + {"2402:3c80::/32", "64098"}, + {"2605:3380:4147::/44", "12025"}, + {"2a03:3380::/46", "47169"}, + {"2001:678:2c::/48", "48283"}, + {"240e:3bf:8200::/35", "140316"}, + {"2604:d600:c32::/45", "32098"}, + {"2a02:501::/32", "29345"}, + {"2a07:7180::/29", "42148"}, + {"2a09:fb86::/32", "35913"}, + {"2001:1248:9a0b::/45", "11172"}, + {"2001:44b8:4000::/48", "7545"}, + {"2405:8a00:8001::/43", "55824"}, + {"2607:faf8::/32", "7029"}, + {"2804:3720:1000::/34", "266391"}, + {"2a02:26f7:c900::/48", "36183"}, + {"2a10:7100::/29", "399975"}, + {"2001:df1:4300::/48", "9746"}, + {"2a02:26f7:d909::/46", "20940"}, + {"2a02:ac80:3001::/33", "25145"}, + {"2a03:2e4::/30", "197451"}, + {"2a04:4e40:7200::/48", "54113"}, + {"2001:1248:9c38::/41", "11172"}, + {"2401:d800:fbc0::/42", "7552"}, + {"2804:69b4:7800::/38", "270286"}, + {"2401:cb80::/32", "63581"}, + {"2402:800:360f::/43", "7552"}, + {"2402:800:3dc5::/43", "7552"}, + {"2405:e5c0::/32", "58971"}, + {"2409:8924:ad00::/38", "56046"}, + {"2a00:1358:c101::/35", "6866"}, + {"2001:ce0:2300::/37", "3662"}, + {"2001:43f8:6b0::/47", "8094"}, + {"2408:8456:7240::/39", "17816"}, + {"2602:fed3:11::/48", "21769"}, + {"2804:5d10::/34", "268948"}, + {"2a06:e881:4001::/46", "204604"}, + {"2a07:c840::/29", "62183"}, + {"2a10:2f00:123::/48", "58133"}, + {"2001:559:42::/48", "7922"}, + {"2001:559:c43d::/48", "7015"}, + {"2402:800:7880::/42", "7552"}, + {"2402:3a80:1730::/48", "38266"}, + {"2408:80ea:6680::/41", "17622"}, + {"2409:4060:3000::/31", "55836"}, + {"240e:63::/34", "140313"}, + {"2606:bc00:8001::/36", "19419"}, + {"2800:4b0:4100::/38", "12252"}, + {"2a02:26f7:f888::/48", "36183"}, + {"2a11:9480::/29", "204790"}, + {"2001:559:c39e::/48", "7015"}, + {"240a:abe7::/32", "145697"}, + {"2606:9e00::/32", "16413"}, + {"2620:122::/46", "394186"}, + {"2800:bf0:28::/45", "27947"}, + {"2806:2f0:42c1::/42", "17072"}, + {"2001:67c:c::/48", "48136"}, + {"2001:b10:c000::/35", "8501"}, + {"2402:800:56ee::/39", "7552"}, + {"2607:3700::/32", "16851"}, + {"2804:76c::/32", "262648"}, + {"2804:1638:fac4::/44", "263276"}, + {"2806:2f0:9b63::/40", "17072"}, + {"2a02:4dc0::/32", "25374"}, + {"2a0a:a800::/29", "207198"}, + {"2402:8400:900::/40", "17820"}, + {"2403:2700:4001::/48", "38500"}, + {"2600:1004:d100::/41", "6167"}, + {"2804:5dcc::/32", "268993"}, + {"2806:2f0:1081::/48", "17072"}, + {"2a02:26f7:d184::/48", "36183"}, + {"2602:fdc2:100::/44", "397720"}, + {"2605:7940:face::/48", "30456"}, + {"2607:f6f0:5002::/47", "27224"}, + {"2620:16e:87::/48", "3147"}, + {"2804:cb0:dc01::/34", "52742"}, + {"2804:19c8:3100::/32", "61818"}, + {"2a00:f80:257::/32", "25542"}, + {"2a02:2698:1800::/38", "51604"}, + {"2804:4ac::/32", "262458"}, + {"2804:4c5c::/32", "267366"}, + {"2a00:ac40::/46", "49694"}, + {"2001:559:743::/48", "33287"}, + {"2404:2280:147::/48", "24429"}, + {"2607:f740:e005::/44", "63911"}, + {"2804:13dc:ffff::/48", "262428"}, + {"2a02:2e02:8530::/41", "12479"}, + {"2a02:6900:8208::/48", "4184"}, + {"2a0a:edc0::/32", "209379"}, + {"2001:559:c19c::/46", "33491"}, + {"2401:d800:2bc0::/42", "7552"}, + {"240a:a853::/32", "144781"}, + {"240e:b7:8000::/28", "4134"}, + {"2a00:fa8::/32", "5605"}, + {"2001:ee0:d840::/40", "45899"}, + {"2800:bf0:814a::/48", "27947"}, + {"2a02:26f0:bc01::/40", "20940"}, + {"2a02:26f0:c101::/40", "20940"}, + {"2001:4988::/32", "7029"}, + {"2400:56a0:100::/38", "149485"}, + {"2605:b100:400::/40", "577"}, + {"2804:14c:6185::/41", "28573"}, + {"2a09:400:3000::/36", "208861"}, + {"2a0f:9400:7730::/44", "211767"}, + {"2001:559:2bc::/48", "7922"}, + {"2001:559:3d6::/48", "33652"}, + {"240a:a64a::/32", "144260"}, + {"240b:4000::/30", "45102"}, + {"2607:ff80::/36", "33509"}, + {"2620:4:4000::/48", "53819"}, + {"2803:fbe0:8000::/46", "270092"}, + {"2a05:1000::/47", "201675"}, + {"2401:d800:9440::/42", "7552"}, + {"2403:f000:1::/48", "38220"}, + {"2604:ca00:e000::/48", "36492"}, + {"2a01:8840:e5::/48", "207266"}, + {"2a0a:7700::/29", "206984"}, + {"2406:840:feff::/48", "141445"}, + {"2607:6b80:3c::/48", "13213"}, + {"2804:d70:180::/37", "52626"}, + {"2a01:5ac0::/32", "25460"}, + {"2a02:26f7:7a::/48", "36183"}, + {"2001:559:c2a9::/48", "33287"}, + {"2402:e280:223b::/41", "134674"}, + {"2604:1940::/33", "47096"}, + {"2607:fb10:5073::/40", "2906"}, + {"2a01:cd01:8080::/48", "28708"}, + {"2a02:e982:32::/45", "19551"}, + {"2405:e180::/32", "134143"}, + {"2803:7d80::/33", "11664"}, + {"2a02:2ad0:247::/44", "702"}, + {"2a0a:d6c0:186::/48", "212981"}, + {"2001:1248:8418::/45", "11172"}, + {"2409:8a52:f00::/35", "56047"}, + {"2603:f508::/26", "397165"}, + {"2800:160:105c::/42", "14259"}, + {"2c0f:ff90::/32", "15808"}, + {"2001:67c:78::/48", "20847"}, + {"2405:b900:30::/44", "55701"}, + {"2600:9000:11d1::/44", "16509"}, + {"2602:807:50f8::/47", "55136"}, + {"2607:9800:c114::/46", "15085"}, + {"2804:6e4:9000::/36", "262612"}, + {"2a02:26f7:c840::/48", "36183"}, + {"2001:250:584b::/42", "24363"}, + {"2001:559:8043::/45", "7015"}, + {"2001:559:8300::/48", "33651"}, + {"2001:44b8:3088::/48", "7545"}, + {"2001:67c:18d4::/48", "62075"}, + {"2801:1f:2800::/48", "19429"}, + {"2804:4eb0::/32", "268278"}, + {"2804:6594::/32", "269501"}, + {"2a0e:b107:861::/48", "211840"}, + {"2001:559:85e1::/48", "13367"}, + {"2001:df0:18::/48", "45344"}, + {"2001:df1:bb80::/48", "18207"}, + {"2804:1a58::/32", "61855"}, + {"2804:4000::/32", "265927"}, + {"2001:1248:9976::/44", "11172"}, + {"2602:800:900f::/48", "16876"}, + {"2602:fd16::/32", "62611"}, + {"2801:1b4::/46", "14080"}, + {"2804:31dc::/32", "265041"}, + {"2a02:26f7:b888::/48", "36183"}, + {"2001:559:84b2::/48", "7922"}, + {"2404:48c0::/32", "138134"}, + {"2001:559:82ef::/43", "33651"}, + {"2001:559:8542::/47", "33651"}, + {"2001:1a11:14d::/43", "42298"}, + {"2401:4800:feed::/48", "38457"}, + {"2402:6780::/32", "45213"}, + {"2604:d600:91e::/42", "32098"}, + {"2804:1b2::/35", "18881"}, + {"2804:80ec::/36", "272421"}, + {"2600:6:ff0b::/42", "1239"}, + {"2001:df4:1f80::/48", "18131"}, + {"2001:1b70:4280::/48", "8147"}, + {"2408:8409:3000::/40", "4808"}, + {"2a00:18d8:2::/48", "328126"}, + {"2001:559:26f::/48", "33652"}, + {"2400:c800::/39", "4515"}, + {"2401:8340::/32", "136168"}, + {"240e:d2::/33", "140330"}, + {"240e:f7:a000::/35", "136188"}, + {"2a02:bf8::/35", "1239"}, + {"2a02:6280::/32", "3257"}, + {"2a09:bac0:270::/48", "13335"}, + {"2a0b:47c0::/29", "204805"}, + {"2a0e:1c80:9::/48", "41281"}, + {"2a10:cc40:100::/43", "211659"}, + {"2a11:c880::/29", "52000"}, + {"2404:f801:802d::/33", "3598"}, + {"2620:78:a000::/48", "397990"}, + {"2a02:2a58::/39", "702"}, + {"2001:559:192::/48", "20214"}, + {"2001:df3:9c00::/48", "55536"}, + {"2001:4998:eff5::/48", "36647"}, + {"2804:24e4:f000::/36", "264247"}, + {"2a02:26f7:d105::/46", "20940"}, + {"240e:965:2800::/37", "133776"}, + {"2600:1408:9400::/48", "35994"}, + {"2604:2e80:2::/36", "30036"}, + {"2800:bf0:16f::/43", "52257"}, + {"2804:2e84:ab::/32", "265350"}, + {"2402:e380:316::/48", "140733"}, + {"2406:4500::/32", "38342"}, + {"2001:559:8019::/48", "33491"}, + {"2401:4900:1f20::/47", "24560"}, + {"2409:8057:3806::/48", "9808"}, + {"240e:640:f00::/32", "4134"}, + {"2602:fcce:b2::/41", "399200"}, + {"2605:b000::/32", "33361"}, + {"2806:230:400b::/48", "11888"}, + {"2a02:2430:3::/48", "59491"}, + {"2a02:26f7:83::/48", "20940"}, + {"2a06:3200::/29", "204989"}, + {"2a0e:9bc0::/29", "204790"}, + {"2408:8756:1000::/37", "17622"}, + {"2a04:5980::/29", "201587"}, + {"2a07:dc0::/29", "25231"}, + {"2001:44b8:3081::/48", "4739"}, + {"2600:100b:a110::/35", "6167"}, + {"2001:559:815a::/48", "7015"}, + {"2001:559:8608::/48", "7922"}, + {"2001:1248:5611::/44", "11172"}, + {"2607:f160:25::/48", "22394"}, + {"2803:3240:1::/48", "36351"}, + {"2804:62cc::/32", "269319"}, + {"2a00:1638::/32", "49322"}, + {"2001:67c:3c0::/48", "197495"}, + {"2001:1250:b000::/44", "22894"}, + {"240a:af6f::/32", "146601"}, + {"2607:faa0::/32", "11924"}, + {"2804:9d4:216::/35", "262996"}, + {"2405:f600:11::/44", "45117"}, + {"240e:3b0:9200::/36", "140317"}, + {"2620:134:c003::/45", "394887"}, + {"2001:253:103::/48", "142069"}, + {"2402:dfc0::/44", "4808"}, + {"2406:7340::/32", "132566"}, + {"2804:5a4::/32", "262531"}, + {"2804:7900::/32", "271279"}, + {"2a02:26f7:e7c8::/48", "36183"}, + {"240a:a980::/32", "145082"}, + {"2620:0:1a80::/48", "46964"}, + {"2800:160:132e::/43", "14259"}, + {"2804:6328::/32", "269342"}, + {"2001:559:272::/47", "33287"}, + {"2402:800:37e0::/44", "7552"}, + {"2607:f750:b000::/40", "23473"}, + {"2602:fde1:bb8::/48", "397546"}, + {"2604:d600:620::/45", "32098"}, + {"2604:f980:2600::/40", "19957"}, + {"2401:d800:b520::/41", "7552"}, + {"2001:1388:1454::/40", "6147"}, + {"2402:800:541d::/42", "7552"}, + {"2404:e740:4::/32", "139195"}, + {"2405:8a00:2003::/44", "55824"}, + {"240a:a3c6::/32", "143616"}, + {"240e:978:3100::/36", "4134"}, + {"2a10:c140::/29", "211572"}, + {"2001:559:335::/48", "33657"}, + {"2001:67c:2400::/48", "57146"}, + {"2001:1998:200::/39", "16787"}, + {"240a:a5ce::/32", "144136"}, + {"2a01:7e80:117::/38", "197990"}, + {"2401:1d40:2100::/48", "4811"}, + {"2401:7000:c100::/35", "45177"}, + {"2408:840c:a000::/40", "17621"}, + {"240e:95:8002::/33", "17638"}, + {"2604:7ac0:f00::/40", "12213"}, + {"2804:14c:489::/42", "28573"}, + {"2804:204::/38", "28186"}, + {"2804:3b1c::/32", "266130"}, + {"2a02:26f7:99::/48", "20940"}, + {"2001:1650::/32", "24776"}, + {"240a:41cc::/31", "58834"}, + {"2600:1480:a000::/40", "33905"}, + {"2620:6e:a000::/46", "397444"}, + {"2a0e:fd45:7::/36", "44103"}, + {"2001:1248:9895::/46", "11172"}, + {"2001:1878:810::/38", "226"}, + {"2a0d:e4c4:b000::/36", "210625"}, + {"2409:8054:4c::/48", "9808"}, + {"2804:5624::/32", "267979"}, + {"2a02:598:3::/34", "43037"}, + {"2a02:26f7:c7c4::/48", "36183"}, + {"2a11:d80::/31", "210625"}, + {"2402:800:317f::/40", "7552"}, + {"240a:afaa::/32", "146660"}, + {"2602:feda:b8a::/48", "140889"}, + {"2a02:26f7:f4c5::/46", "20940"}, + {"2a0d:4d40:1a::/48", "50630"}, + {"2a0f:8980::/32", "39351"}, + {"2001:559:5bc::/48", "7016"}, + {"2001:57a:200::/37", "33438"}, + {"2a00:1768::/33", "43350"}, + {"2a02:88d:30::/44", "48695"}, + {"2a06:8804:1::/30", "12517"}, + {"2600:1003:b1e0::/37", "22394"}, + {"2600:5c01:1fff::/34", "10796"}, + {"2404:8d02:49c6::/37", "9587"}, + {"2407:bc00::/32", "37963"}, + {"2804:4d8::/32", "52995"}, + {"2001:559:859d::/46", "7922"}, + {"2001:4bd8:53::/29", "15725"}, + {"2603:c026:8000::/35", "31898"}, + {"2a04:4e40:5e00::/48", "54113"}, + {"240e:3b7:6400::/35", "140312"}, + {"2600:1017:b1e0::/38", "6167"}, + {"2600:141b:a001::/35", "20940"}, + {"2a09:47c0::/48", "44364"}, + {"2001:480::/44", "668"}, + {"2001:559:519::/48", "33651"}, + {"2400:cc00:8900::/38", "17477"}, + {"2402:8100:3880::/42", "55644"}, + {"240a:ab71::/32", "145579"}, + {"240e:a7:7fe7::/44", "140521"}, + {"2604:4d40:2000::/36", "53667"}, + {"2a0b:9e40::/29", "61138"}, + {"2001:57a:f303::/31", "22773"}, + {"2402:c100::/36", "23673"}, + {"240a:a722::/32", "144476"}, + {"2602:805::/44", "53809"}, + {"2606:1a40:1000::/44", "398962"}, + {"2620:13f:d000::/44", "398767"}, + {"2804:14c4::/32", "263349"}, + {"2a02:26f7:bc81::/46", "20940"}, + {"2403:0:e::/39", "4755"}, + {"2c0f:ec48::/32", "327991"}, + {"2401:d800:5af0::/39", "7552"}, + {"2404:9d80::/32", "59249"}, + {"2600:1419:4401::/38", "20940"}, + {"2804:14d:7e8a::/45", "28573"}, + {"2a01:288:4009::/32", "8717"}, + {"2001:470:e5::/48", "6939"}, + {"2001:559:c3c3::/48", "7015"}, + {"2001:4402::/31", "9500"}, + {"2407:8b00::/35", "64073"}, + {"2804:d24::/32", "52603"}, + {"2a00:1de0::/32", "38915"}, + {"2001:559:3a5::/48", "7922"}, + {"2001:67c:27e4::/48", "198644"}, + {"2603:40ff:6000::/36", "10578"}, + {"2806:2f0:2481::/48", "22884"}, + {"2a00:cba0::/32", "21476"}, + {"2a02:220e:270::/40", "6697"}, + {"2a0b:4340:97::/48", "205610"}, + {"240a:abe1::/32", "145691"}, + {"2a05:1700::/48", "56577"}, + {"2a09:95c0::/48", "209562"}, + {"2803:ecc0:deae::/34", "264814"}, + {"2a02:26f7:f74c::/48", "36183"}, + {"2a06:bf40::/30", "400177"}, + {"2401:d800:9020::/41", "7552"}, + {"2401:ee00:1082::/34", "23951"}, + {"2404:e6:110::/40", "703"}, + {"2602:feb4:2a0::/44", "25961"}, + {"2804:111c::/47", "52818"}, + {"2804:6824::/32", "269671"}, + {"2a02:7520::/32", "207234"}, + {"2a04:4e40:5a40::/44", "54113"}, + {"2a0e:6b40:20::/48", "8495"}, + {"2a0e:97c0:250::/47", "211685"}, + {"2409:8004:3051::/39", "24547"}, + {"2408:873d:1000::/36", "140717"}, + {"240a:aafc::/32", "145462"}, + {"240e:3b8:2c00::/35", "134774"}, + {"2804:35b4::/32", "266301"}, + {"2600:141b:7001::/37", "20940"}, + {"2606:ae04:8020::/48", "17224"}, + {"2a0b:24c1::/33", "205961"}, + {"240a:ae48::/32", "146306"}, + {"2605:b080::/32", "11708"}, + {"2a01:9f00::/32", "42187"}, + {"2001:250:2429::/43", "24356"}, + {"2001:250:2800::/45", "138378"}, + {"2001:559:c525::/48", "7016"}, + {"2001:67c:178c::/48", "34907"}, + {"2404:ff80:101::/32", "64096"}, + {"2408:8256:359c::/48", "17816"}, + {"2804:5788::/32", "268070"}, + {"2806:2f0:20c0::/48", "17072"}, + {"2806:2f0:6043::/42", "17072"}, + {"2400:cb00:365::/44", "13335"}, + {"2404:ffc0::/47", "62707"}, + {"2405:b500::/32", "13335"}, + {"2409:8028:3000::/47", "56041"}, + {"2001:400:b15::/44", "293"}, + {"2401:fdc0::/44", "137074"}, + {"2600:803:614::/46", "701"}, + {"2600:1480:580a::/47", "20940"}, + {"2804:1efc::/36", "264458"}, + {"2405:1c0:6261::/45", "55303"}, + {"2408:8756:f00::/44", "136958"}, + {"2409:8904:7f40::/32", "24547"}, + {"2606:9500:5000::/36", "26004"}, + {"2800:bf0:80::/47", "52257"}, + {"2a03:6c80::/32", "15830"}, + {"2a03:d604::/31", "12727"}, + {"2001:559:7d5::/48", "7015"}, + {"2001:e60:a430::/40", "4766"}, + {"2620:109:6000::/44", "36667"}, + {"2a02:26f7:f2c1::/46", "20940"}, + {"2001:470:138::/48", "58110"}, + {"2001:559:c52b::/45", "7922"}, + {"2408:8956:d4c0::/38", "17816"}, + {"240a:ac6b::/32", "145829"}, + {"240a:ae7d::/32", "146359"}, + {"2a00:7300::/32", "47894"}, + {"2a01:8840:5d::/48", "207266"}, + {"2a02:26f7:fc04::/48", "36183"}, + {"240a:aa34::/32", "145262"}, + {"240a:aff8::/32", "146738"}, + {"2806:1040::/40", "8151"}, + {"2a01:2d8::/29", "8224"}, + {"2a02:d107:f002::/45", "197155"}, + {"2a06:a005:260::/40", "133555"}, + {"2001:648:2000::/48", "3323"}, + {"2001:dce:102::/33", "23869"}, + {"2408:8956:a000::/40", "17622"}, + {"2a01:9980:a::/45", "50837"}, + {"2401:4900:5270::/44", "45609"}, + {"240a:af89::/32", "146627"}, + {"2600:100d:a120::/36", "22394"}, + {"240a:a2b5::/32", "143343"}, + {"2600:140b:2c01::/35", "20940"}, + {"2804:18d4::/32", "262489"}, + {"2a02:348::/46", "35470"}, + {"2a04:f47::/32", "28854"}, + {"2a0f:ca87:8::/48", "208749"}, + {"2001:559:c4ac::/48", "13367"}, + {"2001:579:d1a4::/38", "22773"}, + {"2001:67c:75c::/48", "204254"}, + {"240a:a3c4::/32", "143614"}, + {"2804:14c:7585::/44", "28573"}, + {"2a03:ec00::/32", "12847"}, + {"2a0d:b500::/29", "51834"}, + {"2a0f:e140::/48", "60781"}, + {"2c0f:f860::/32", "36890"}, + {"2001:67c:330::/48", "35742"}, + {"2408:8140:2000::/48", "4808"}, + {"2409:8c28:5f91::/34", "56041"}, + {"240e:3bf:5600::/34", "4134"}, + {"2604:6300::/32", "19024"}, + {"2610:a1:1008::/47", "397228"}, + {"2a0e:97c7:130::/44", "212996"}, + {"2001:559:8437::/48", "7016"}, + {"2403:1cc0:2201::/48", "45352"}, + {"2600:6c38:d14::/44", "20115"}, + {"2606:2800:e006::/48", "14210"}, + {"2803:6604::/35", "28075"}, + {"2804:3a8::/32", "53195"}, + {"2a01:6d80:f000::/36", "6723"}, + {"2a0d:7bc0::/29", "40970"}, + {"2001:559:835d::/48", "33490"}, + {"240a:a1ed::/32", "143143"}, + {"240a:ae06::/32", "146240"}, + {"2a00:1a00::/32", "25593"}, + {"2a03:8fe0::/32", "200861"}, + {"2a10:b880::/32", "38965"}, + {"2001:df7:6980::/48", "138754"}, + {"2401:d800:5210::/42", "7552"}, + {"2409:8904:5370::/40", "24547"}, + {"2806:2f0:97a3::/36", "17072"}, + {"2a01:cb20:9000::/33", "3215"}, + {"2001:468:2600::/48", "396955"}, + {"2001:df4:3b00::/48", "55688"}, + {"2404:5c0::/34", "138466"}, + {"2602:fed2:7120::/48", "20473"}, + {"2607:3180:2::/32", "14877"}, + {"2001:559:c25e::/48", "33287"}, + {"2402:8100:2680::/46", "45271"}, + {"2605:6280::/32", "32338"}, + {"2607:7e80:2000::/33", "395354"}, + {"2a02:7e00::/29", "57630"}, + {"2405:e680::/32", "131292"}, + {"2600:370f:1061::/45", "32261"}, + {"2804:2478::/32", "264224"}, + {"2a01:9580::/32", "49544"}, + {"2a02:ff0:2ab::/41", "12735"}, + {"2001:978:6712::/48", "207866"}, + {"2001:4200:300::/44", "36982"}, + {"2600:4407:c034::/47", "55164"}, + {"2603:fb78::/29", "63023"}, + {"2600:1408:9801::/37", "20940"}, + {"2602:fc23:155::/48", "54625"}, + {"2604:a400::/32", "11320"}, + {"2607:f8b0:4017::/32", "15169"}, + {"2a02:970:1062::/44", "44002"}, + {"2403:4200:401::/48", "58534"}, + {"240e:3b3:7a00::/32", "140313"}, + {"2600:1014:b000::/42", "6167"}, + {"2a00:1598::/29", "29518"}, + {"2a07:1c80::/29", "43065"}, + {"2c0f:eca0::/32", "37415"}, + {"2001:7f8:1e::/48", "13004"}, + {"2405:8a00:6017::/44", "55824"}, + {"2804:e0c:140::/47", "28176"}, + {"2001:dc8:2002::/48", "131122"}, + {"2001:ec0:100::/40", "134166"}, + {"2001:4b18:d000::/34", "20746"}, + {"2401:d800:93b0::/41", "7552"}, + {"2408:8459:9010::/42", "17623"}, + {"2620:1e0:ffff::/48", "14145"}, + {"2801:1d:8800::/48", "262589"}, + {"2001:df3:cc00::/48", "134053"}, + {"2405:da00:20::/38", "38235"}, + {"2804:20b8::/35", "264510"}, + {"2401:3cc0:601::/39", "137409"}, + {"2408:8460::/29", "4837"}, + {"2804:588c::/32", "268135"}, + {"2a00:f720::/47", "24824"}, + {"2001:559:39d::/48", "21508"}, + {"2405:d300:800::/40", "17477"}, + {"2408:8256:3d7b::/48", "17816"}, + {"240a:a6ff::/32", "144441"}, + {"2600:100f:f110::/27", "22394"}, + {"2804:45d4::/32", "266952"}, + {"2804:82ec::/32", "272165"}, + {"2a00:a320::/32", "39605"}, + {"2a0d:380::/29", "200044"}, + {"2a0f:c586::/31", "208861"}, + {"2001:678:504::/48", "25070"}, + {"2409:804e:3900::/31", "9808"}, + {"2600:5c01:10de::/48", "11351"}, + {"2607:fc48:c38::/48", "40009"}, + {"2a09:9446::/32", "49981"}, + {"2402:800:5dee::/38", "7552"}, + {"2602:fd50:10::/48", "207609"}, + {"2a09:5440::/29", "199163"}, + {"2a0e:6540:a64::/48", "208364"}, + {"2a0e:b102:170::/45", "209105"}, + {"2a0f:c082::/32", "16262"}, + {"2001:4b20:100:580::/60", "65505"}, + {"2401:900::/32", "9351"}, + {"240a:a241::/32", "143227"}, + {"240e:4:e100::/35", "4134"}, + {"2001:1248:9aa6::/44", "11172"}, + {"2605:e000:70c::/36", "20001"}, + {"2606:cb00:ff17::/48", "6643"}, + {"2a02:db0::/32", "25500"}, + {"2a02:26f0:f701::/36", "20940"}, + {"2607:ff60:11::/33", "3900"}, + {"2a0a:4980::/29", "57112"}, + {"2001:df3:a700::/48", "58785"}, + {"2001:44b8:26::/48", "7545"}, + {"2401:7500:fff4::/47", "133296"}, + {"240e:3bb:1200::/39", "4134"}, + {"2806:230:4004::/48", "265594"}, + {"2a04:3bc0::/29", "34119"}, + {"2804:4d10::/32", "267410"}, + {"2a0c:5980::/29", "209372"}, + {"2602:fed2:fa0::/41", "53356"}, + {"2c0f:e8a8::/32", "328631"}, + {"2406:3c00::/32", "9650"}, + {"240e:44d:7840::/42", "140352"}, + {"2a0a:b900::/29", "31317"}, + {"2409:896a:a600::/39", "9808"}, + {"2600:9000:113b::/45", "16509"}, + {"2a00:1608::/32", "51275"}, + {"2a03:dfc0::/46", "203520"}, + {"2001:1260:300::/40", "13591"}, + {"2604:880:32::/48", "29802"}, + {"2803:26c0::/32", "267788"}, + {"2804:1cc0::/33", "61673"}, + {"2804:2f98::/34", "264901"}, + {"2001:da8:d834::/41", "24362"}, + {"2001:df2:4480::/48", "134319"}, + {"240a:a508::/32", "143938"}, + {"240a:a67d::/32", "144311"}, + {"2801:1fc:12::/48", "27951"}, + {"2804:3288:a200::/35", "52827"}, + {"2804:3744::/32", "266400"}, + {"2a02:2088:1000::/36", "57564"}, + {"2405:d440::/39", "58813"}, + {"2607:8300:1001::/48", "13876"}, + {"2a04:4e40:5e30::/41", "54113"}, + {"2401:d800:d3d0::/37", "7552"}, + {"2404:b1::/35", "9891"}, + {"2405:8a00:21a6::/43", "55824"}, + {"2405:9800:b860::/40", "45430"}, + {"2a01:230::/45", "29182"}, + {"2602:feb4::/44", "25961"}, + {"2604:880:a::/48", "29802"}, + {"2804:3dd0::/32", "266555"}, + {"2806:103e:b::/45", "8151"}, + {"2a02:26f7:c009::/46", "20940"}, + {"2a0d:b00:9201::/48", "205862"}, + {"2a0f:1200::/45", "60781"}, + {"2600:1014:9100::/44", "6167"}, + {"2806:2f0:2440::/48", "17072"}, + {"2a03:8f00::/29", "49621"}, + {"2001:559:4ef::/48", "20214"}, + {"2001:559:80fe::/47", "7015"}, + {"2600:140f:a801::/38", "20940"}, + {"2803:4dc0::/32", "265721"}, + {"2a02:c382::/32", "9108"}, + {"2001:14e8::/47", "6736"}, + {"2001:4410:1005::/40", "132040"}, + {"2604:b680::/32", "18683"}, + {"2001:559:168::/48", "20214"}, + {"2001:da8:27e::/48", "24349"}, + {"2001:da8:a804::/48", "23910"}, + {"2409:800b:2906::/44", "9808"}, + {"2804:1ed4::/32", "52775"}, + {"2a04:9a00:1030::/41", "212157"}, + {"2400:7400:62::/48", "38044"}, + {"2604:f700::/48", "14618"}, + {"2a01:47c0::/32", "5588"}, + {"2c0f:fc88::/42", "36992"}, + {"2804:2160:e00::/35", "264551"}, + {"2806:2f0:9721::/46", "17072"}, + {"2a05:fa00::/29", "30884"}, + {"2001:4868:200::/45", "701"}, + {"2001:4cb8:40b::/48", "49685"}, + {"2a11:29c4:b00b::/48", "212149"}, + {"2406:840:5880::/47", "139317"}, + {"2605:7c00::/32", "25668"}, + {"2620:107:3001::/48", "16509"}, + {"2a0e:fd45:dc0::/44", "212085"}, + {"2402:8100:2458::/45", "55644"}, + {"2407:5200:206::/39", "55915"}, + {"2602:fed2:7183::/48", "400307"}, + {"2605:a404:487::/41", "33363"}, + {"2607:fee0::/34", "3599"}, + {"2a03:ac40:1::/48", "212882"}, + {"2a05:1200::/30", "201654"}, + {"2a07:c40::/29", "2119"}, + {"2a11:9340::/29", "204790"}, + {"2804:3c38::/32", "266197"}, + {"2804:582c::/32", "268111"}, + {"2409:8c85:5411::/44", "9808"}, + {"2606:1a40:f000::/45", "398962"}, + {"2803:d460::/32", "3549"}, + {"2408:8431::/32", "4837"}, + {"2409:8914:1700::/36", "56044"}, + {"240e:3b2:dc00::/34", "4134"}, + {"2804:4f8:4000::/36", "28263"}, + {"2a01:8840:51::/48", "207266"}, + {"2a02:f3c0::/29", "49633"}, + {"2a0d:3841:1010::/48", "57629"}, + {"2001:559:1e6::/48", "7015"}, + {"2001:678:394::/48", "8995"}, + {"240a:af2f::/32", "146537"}, + {"2608:8105:1::/48", "1733"}, + {"2804:5198::/32", "268464"}, + {"2a02:6680:1100::/44", "16116"}, + {"2a03:afe1::/32", "198203"}, + {"240a:abe8::/32", "145698"}, + {"2600:1008:d020::/43", "6167"}, + {"2804:6b90::/32", "270408"}, + {"2a00:ab40::/34", "41798"}, + {"2001:559:8296::/48", "7922"}, + {"2001:df6:2380::/48", "141767"}, + {"2602:ffc5:60::/43", "7489"}, + {"2800:98:170d::/46", "14754"}, + {"2804:804c::/32", "271742"}, + {"2a0b:6900:2::/48", "206873"}, + {"2001:678:ab8::/48", "35814"}, + {"240e:bf:c800::/37", "4835"}, + {"2606:c900::/32", "22834"}, + {"2a02:26f7:c600::/48", "36183"}, + {"2400:cb00:430::/46", "13335"}, + {"2400:d400:ffff::/48", "45671"}, + {"2407:0:0:5::/58", "4761"}, + {"2407:c340::/48", "140822"}, + {"2804:3798::/44", "266423"}, + {"2001:559:c42f::/48", "33662"}, + {"2607:f6f0:d000::/40", "12085"}, + {"2620:0:1af0::/48", "36786"}, + {"2a01:788:4::/48", "34305"}, + {"2409:8c1e:9000::/34", "9808"}, + {"2806:2f0:6243::/42", "17072"}, + {"2001:1258::/32", "28499"}, + {"240a:a1e1::/32", "143131"}, + {"2605:5c0:c080::/45", "28885"}, + {"2a02:503:9::/29", "5538"}, + {"240a:ae07::/32", "146241"}, + {"2604:a100:100::/48", "6939"}, + {"2a04:4e40:cc10::/44", "54113"}, + {"2405:f800::/32", "17506"}, + {"240a:af01::/32", "146491"}, + {"2600:6c38:1bb::/45", "20115"}, + {"2804:87c::/32", "28202"}, + {"2a02:26f7:f640::/48", "36183"}, + {"2401:7500:100::/40", "33480"}, + {"2804:35c8::/32", "266306"}, + {"2a00:e60::/32", "62023"}, + {"2a01:9c80::/29", "35805"}, + {"2a02:26f7:d20d::/46", "20940"}, + {"2a0f:cd80::/32", "204805"}, + {"2408:840d:a000::/42", "17621"}, + {"2604:9e03::/32", "393710"}, + {"2408:8756:1800::/34", "17816"}, + {"2620:36:c000::/48", "1645"}, + {"2a00:1d58:d080::/39", "47524"}, + {"2001:559:42d::/48", "7015"}, + {"2001:559:c4ba::/48", "7015"}, + {"2401:7500:200::/40", "133296"}, + {"2402:1f00::/32", "16276"}, + {"2403:9800:c042::/44", "133124"}, + {"2405:7f00:3261::/36", "133414"}, + {"2408:84f3:a010::/42", "134543"}, + {"2600:100d:b140::/42", "6167"}, + {"2600:1408:1c01::/34", "20940"}, + {"2a00:1288:efc5::/35", "10310"}, + {"2a03:88c0::/32", "9150"}, + {"2406:57c0:136::/44", "134672"}, + {"2800:160:1353::/45", "14259"}, + {"2a01:6b20:8000::/34", "39218"}, + {"2a02:e900::/32", "16302"}, + {"2a0d:ac0::/29", "42689"}, + {"2001:559:266::/47", "7725"}, + {"2409:8052:1800::/47", "56047"}, + {"2600:140f:ac01::/38", "20940"}, + {"2804:1000::/32", "28208"}, + {"2804:154c:5011::/44", "263382"}, + {"2a0b:4080::/48", "16509"}, + {"2001:4888:8069::/34", "6167"}, + {"2800:484:1300::/37", "10620"}, + {"2803:c180:2410::/39", "52341"}, + {"2a02:26f7:c0c4::/48", "36183"}, + {"2a03:2880:f222::/43", "32934"}, + {"2a09:1240::/48", "44364"}, + {"2001:3c8:5008::/37", "4621"}, + {"2405:1700::/32", "132395"}, + {"2409:8c28::/38", "56041"}, + {"240a:a69d::/32", "144343"}, + {"2605:dd40:8203::/45", "398549"}, + {"2404:7180:b001::/46", "23848"}, + {"240a:a684::/32", "144318"}, + {"240e:947:1004::/36", "137690"}, + {"2605:8bc0::/44", "26695"}, + {"2a0b:3c40:11::/46", "208258"}, + {"2001:13d2:816::/34", "7303"}, + {"240a:a83c::/32", "144758"}, + {"240e:698:2400::/40", "134768"}, + {"2a03:b500:2080::/35", "41135"}, + {"2a05:f440:e::/29", "35280"}, + {"2a10:dc40::/29", "34907"}, + {"2001:559:301::/48", "33652"}, + {"2001:67c:19ec::/48", "47208"}, + {"2001:4878:246::/48", "12222"}, + {"2402:e380:31b::/48", "141706"}, + {"2803:de60::/32", "267924"}, + {"2803:e610::/32", "271945"}, + {"2804:526c:e000::/35", "268517"}, + {"2804:7670::/32", "271112"}, + {"2a02:1388:5000::/29", "29247"}, + {"2a0d:2900:a::/45", "50069"}, + {"2001:2020::/31", "12929"}, + {"2600:140f:f::/39", "20940"}, + {"2620:9c:6000::/48", "174"}, + {"2803:6560::/32", "269755"}, + {"2804:368c::/32", "266355"}, + {"240a:a6a8::/32", "144354"}, + {"2a01:288:4006::/47", "8717"}, + {"2a07:7300::/29", "202877"}, + {"2001:c60::/32", "17828"}, + {"240e:f7:5000::/36", "4134"}, + {"2605:a401:81e1::/43", "33363"}, + {"2001:254:8000::/33", "24490"}, + {"2001:67c:114::/48", "9150"}, + {"2600:1408:7401::/36", "20940"}, + {"2a02:26f7:d880::/48", "36183"}, + {"2a06:2d40:2::/48", "62240"}, + {"2a0e:aa07:f004::/47", "139742"}, + {"2001:502:4612::/48", "397226"}, + {"2001:559:83f4::/48", "33650"}, + {"2001:dc8:1000::/48", "38736"}, + {"2001:1248:84df::/42", "11172"}, + {"240a:a306::/32", "143424"}, + {"2600:380:dc10::/38", "7018"}, + {"2001:fd0:1301::/34", "10029"}, + {"240a:a217::/32", "143185"}, + {"240e:108:1195::/48", "63838"}, + {"2804:4988::/32", "267189"}, + {"2804:6780::/32", "269632"}, + {"2001:da8:d826::/43", "24362"}, + {"2401:d800:78d0::/42", "7552"}, + {"2604:d600:c0a::/43", "32098"}, + {"2800:3c0::/35", "19863"}, + {"2a03:3a60::/32", "49544"}, + {"2001:559:83e9::/46", "7015"}, + {"2001:4490:d930::/46", "9829"}, + {"2804:4b0:1200::/32", "262459"}, + {"2804:289c::/32", "263970"}, + {"2406:840:fbb6::/47", "139058"}, + {"2407:5740::/48", "140799"}, + {"240a:ae5f::/32", "146329"}, + {"2800:bf0:2c0::/45", "52257"}, + {"2a00:c40:8096::/33", "34315"}, + {"2a02:26f7:f38d::/42", "20940"}, + {"2a04:e00::/48", "54103"}, + {"2a0b:4342:1a80::/43", "57695"}, + {"2602:fed3:b::/48", "21769"}, + {"2a00:d820::/32", "8769"}, + {"2a05:7400:c000::/34", "60980"}, + {"2001:1284::/32", "14868"}, + {"240a:ac72::/32", "145836"}, + {"240e:3bc:1400::/38", "134773"}, + {"2a00:e00::/32", "8304"}, + {"2a00:bc00::/32", "31272"}, + {"2a01:170::/35", "8820"}, + {"2a09:6e80::/29", "48585"}, + {"2001:67c:608::/48", "200020"}, + {"2001:44c8:4690::/42", "45430"}, + {"2406:1400:c109::/48", "24342"}, + {"2801:1b8:8::/45", "28000"}, + {"2804:2fdc:4000::/36", "264917"}, + {"2001:559:8272::/48", "33651"}, + {"2409:8904:58b0::/39", "24547"}, + {"240a:a5f2::/32", "144172"}, + {"240e:67f:8800::/38", "140330"}, + {"2804:317c::/32", "265018"}, + {"2804:7d9c::/32", "271572"}, + {"2a01:280:340::/48", "201317"}, + {"2a02:26f7:f6db::/48", "20940"}, + {"2a02:2890::/48", "51185"}, + {"2a0b:4340:1304::/48", "205152"}, + {"2001:5b0:300::/40", "6621"}, + {"2402:800:5dd3::/44", "7552"}, + {"2405:204:f000::/31", "55836"}, + {"2600:1405:7800::/48", "21342"}, + {"2620:6:2000::/46", "395460"}, + {"2804:1810:f000::/38", "263262"}, + {"2804:7560::/32", "271042"}, + {"2a00:e080::/32", "15557"}, + {"2a02:26f7:8b::/48", "20940"}, + {"2a09:f440::/32", "29462"}, + {"2001:559:8597::/48", "7015"}, + {"2400:6680:f000::/36", "13414"}, + {"2803:9760::/32", "265684"}, + {"2a02:6b8:7::/44", "208722"}, + {"2a04:bc40:1dc3::/45", "35277"}, + {"2001:559:833d::/48", "33659"}, + {"240a:a347::/32", "143489"}, + {"2600:250e:f000::/36", "1246"}, + {"2606:6c00:102::/48", "32787"}, + {"2803:2480::/32", "263185"}, + {"2800:400:1c::/48", "27668"}, + {"2a00:4802:1c10::/39", "8717"}, + {"2a01:74c0:20::/32", "15540"}, + {"240e:147::/24", "4134"}, + {"2a01:e04::/28", "12322"}, + {"2a0a:7d80:1000::/36", "56740"}, + {"2001:550:9f03::/34", "174"}, + {"2001:559:83df::/48", "22909"}, + {"2001:a70::/32", "8426"}, + {"2401:d800:f290::/42", "7552"}, + {"2602:800:c400::/38", "398577"}, + {"2001:559:c3b5::/44", "33287"}, + {"2001:7f9:4::/48", "42409"}, + {"2a0a:4587:2000::/44", "213341"}, + {"2a10:17c0::/29", "397651"}, + {"2001:253:106::/48", "142072"}, + {"2001:253:114::/48", "142080"}, + {"2001:16f8:4001::/32", "25525"}, + {"2400:d400:6::/48", "45671"}, + {"240a:a35b::/32", "143509"}, + {"2a0a:19c0::/29", "206231"}, + {"2a10:cdc0:f000::/37", "213100"}, + {"2001:559:c355::/48", "7725"}, + {"2001:49f0:d0a0::/44", "174"}, + {"2406:8800:903b::/41", "17465"}, + {"2408:840d:de00::/42", "17621"}, + {"2803:2180:1f::/48", "27941"}, + {"2a05:2701:f30::/44", "62371"}, + {"2a07:a5c0::/36", "58293"}, + {"2001:44b8:603c::/47", "7545"}, + {"240a:a1bf::/32", "143097"}, + {"240e:b1:f000::/37", "136197"}, + {"2800:cc0::/32", "262210"}, + {"2001:559:c2e6::/48", "33660"}, + {"2001:fa8::/32", "4697"}, + {"2404:a600::/32", "23816"}, + {"2408:80fa:75c0::/32", "17816"}, + {"2604:d600:121c::/42", "32098"}, + {"2a04:18c0::/29", "60941"}, + {"2a06:e881:1700::/48", "206813"}, + {"2a10:cc40:15e::/48", "206895"}, + {"2a02:26f7:f989::/42", "20940"}, + {"2001:250:240f::/43", "24356"}, + {"2001:1388:8411::/41", "6147"}, + {"2407:3b40::/32", "149058"}, + {"2409:8c5b:ffff::/26", "9808"}, + {"2607:fd48:d04:2::/34", "13536"}, + {"2804:7cf0::/32", "271528"}, + {"2a0d:1a40:7553::/48", "213185"}, + {"2001:559:20e::/48", "33651"}, + {"2001:1508::/32", "29208"}, + {"2401:3c0:10f::/43", "45528"}, + {"2606:4700:303d::/46", "13335"}, + {"2804:6bf4::/32", "270436"}, + {"2a03:cf00::/32", "3313"}, + {"2a12:9ec0::/29", "400522"}, + {"2001:559:7b2::/48", "33491"}, + {"2402:3a80:16e0::/39", "38266"}, + {"2804:24bc::/32", "52695"}, + {"2a03:1e84:abf::/48", "1136"}, + {"2a07:e345:103::/40", "212477"}, + {"2a09:4c2:2e::/48", "205947"}, + {"2001:559:82f4::/48", "33668"}, + {"2001:559:c35f::/48", "13367"}, + {"2604:ca00:1f6::/44", "36492"}, + {"2a02:2e02:cf0::/39", "12479"}, + {"2a04:7040:1471::/48", "212012"}, + {"2a0f:9400:7300::/44", "207890"}, + {"2a10:5e80::/29", "328486"}, + {"2806:289::/32", "28418"}, + {"2001:559:8606::/48", "33651"}, + {"2001:67c:277c::/48", "208818"}, + {"2a09:5f80::/48", "48038"}, + {"2a0c:5840::/32", "197226"}, + {"2402:f80::/32", "134004"}, + {"2603:c0ea::/35", "1218"}, + {"2804:1b0:1000::/36", "18881"}, + {"2804:86c::/32", "262369"}, + {"2a0c:9a40:811b::/45", "204438"}, + {"2001:cf0::/32", "9848"}, + {"2401:4900:58a0::/41", "45609"}, + {"2407:e8c0::/46", "147049"}, + {"2600:1006:b040::/42", "6167"}, + {"2606:4700:4000::/43", "13335"}, + {"2801:12e::/48", "271858"}, + {"2803:f2c0::/32", "52468"}, + {"2a00:86c0:2078::/47", "2906"}, + {"2001:559:c187::/48", "7922"}, + {"240a:abb2::/32", "145644"}, + {"240e:45c:6700::/40", "140530"}, + {"2604:e00::/32", "13370"}, + {"2620:160:e340::/44", "4196"}, + {"2a01:88c0::/32", "198807"}, + {"2a0e:b107:382::/48", "208753"}, + {"2a0f:ea42::/32", "7018"}, + {"2001:559:1f7::/48", "33650"}, + {"2001:da8:800c::/47", "24365"}, + {"2404:ba00:ffff::/48", "17665"}, + {"2408:8406:1800::/39", "4808"}, + {"240e:965:d600::/34", "4134"}, + {"2600:1488:a101::/40", "20940"}, + {"2804:774:400::/32", "52858"}, + {"2806:20d:1d1b::/42", "32098"}, + {"2001:678:dc4::/48", "213032"}, + {"2001:df1:6002::/48", "10021"}, + {"2408:8459:c850::/39", "17816"}, + {"240e:44d:1840::/42", "140360"}, + {"2a02:26f7:f049::/42", "20940"}, + {"2001:67c:17ac::/48", "42251"}, + {"2a00:8720::/32", "41937"}, + {"2a05:d000:a000::/40", "16509"}, + {"2a0e:d604::/48", "62410"}, + {"2a11:ec40::/29", "49655"}, + {"2406:2000:ef6a::/40", "10310"}, + {"2600:370f:3423::/45", "32261"}, + {"2600:6c10:10f::/43", "20115"}, + {"2602:fe6b:1000::/43", "398646"}, + {"2001:44b8:404d::/48", "4739"}, + {"2409:8751:1100::/30", "56047"}, + {"2800:440:84::/48", "27738"}, + {"2401:d800:9342::/42", "7552"}, + {"2602:fe27:70::/48", "6473"}, + {"2800:484:1600::/34", "10620"}, + {"2804:101c::/32", "53043"}, + {"240e:698:4200::/40", "58466"}, + {"240e:982:8300::/37", "133775"}, + {"2408:8456:ea10::/42", "134543"}, + {"2409:8904:3f60::/33", "24547"}, + {"240a:a7b2::/32", "144620"}, + {"240a:aef1::/32", "146475"}, + {"2803:1060::/32", "267809"}, + {"2a0f:efc1::/32", "42160"}, + {"2001:678:d54::/48", "213187"}, + {"2405:6680::/32", "135425"}, + {"2600:140a:2000::/48", "35994"}, + {"2600:140f:9801::/38", "20940"}, + {"2605:a404:55a::/40", "33363"}, + {"2607:f128::/48", "46440"}, + {"2803:9800:b024::/43", "11664"}, + {"2804:6288:f400::/36", "269302"}, + {"2a02:26f7:13::/48", "20940"}, + {"2c0f:eab8::/32", "328564"}, + {"2401:d800:f170::/40", "7552"}, + {"2402:5300:510::/38", "45903"}, + {"2409:8a52:300::/37", "56047"}, + {"2803:5440:ca::/48", "264738"}, + {"2804:27c::/32", "25933"}, + {"2001:559:75e::/48", "33657"}, + {"240a:ad6b::/32", "146085"}, + {"240e:db:9800::/48", "38283"}, + {"2a03:21c0::/32", "41722"}, + {"2a0e:aa07:f000::/48", "139742"}, + {"2001:559:1bd::/48", "7016"}, + {"2001:678:1bc::/48", "48149"}, + {"2402:800:f350::/42", "7552"}, + {"2a0c:2f07:d::/48", "206924"}, + {"2a10:a700::/46", "212329"}, + {"2401:7400:6801::/32", "4773"}, + {"2402:800:b212::/41", "7552"}, + {"2408:873d:2000::/36", "140716"}, + {"2409:803c:1000::/40", "24444"}, + {"2a02:f20::/32", "197695"}, + {"2001:559:b::/48", "33657"}, + {"2600:1406:600::/48", "35994"}, + {"2001:678:5d4::/48", "3320"}, + {"2600:1480:1800::/48", "21342"}, + {"2602:feda:bd0::/48", "140946"}, + {"2a04:1540::/29", "199348"}, + {"2a06:dac0:200::/44", "212661"}, + {"2001:559:586::/48", "7922"}, + {"2001:559:849a::/48", "33651"}, + {"2404:f4c0:f600::/45", "139328"}, + {"2a0d:bd80::/30", "47724"}, + {"2001:559:c135::/48", "33651"}, + {"2001:16a2:c240::/40", "39891"}, + {"2600:1006:f040::/44", "6167"}, + {"2a01:6e00:11::/32", "43142"}, + {"2001:678:420::/48", "44233"}, + {"240a:ade1::/32", "146203"}, + {"2800:150:6::/48", "20940"}, + {"2804:18:6020::/43", "26599"}, + {"2620:149:22a::/47", "714"}, + {"2803:abe0::/32", "270082"}, + {"2a01:9820::/32", "62086"}, + {"2001:67c:2964::/48", "57330"}, + {"2620:133:6000::/44", "22084"}, + {"2a01:cd01:8020::/48", "28708"}, + {"2404:1a0:1003::/34", "24334"}, + {"2405:201:4800::/35", "55836"}, + {"2407:c080:7000::/47", "55990"}, + {"2409:408d:9000::/25", "55836"}, + {"2600:140f:b801::/38", "20940"}, + {"2a00:de40::/32", "29119"}, + {"2001:559:38f::/48", "33654"}, + {"2408:8459:6c10::/42", "17623"}, + {"2605:f500:202::/37", "1828"}, + {"2804:7ca8::/32", "271510"}, + {"2408:8459:6230::/41", "17622"}, + {"2408:866a::/32", "4837"}, + {"2409:f:f1::/48", "142501"}, + {"240a:ab92::/32", "145612"}, + {"2001:559:c154::/48", "33660"}, + {"2400:b000:200::/48", "45209"}, + {"2405:6cc0::/32", "131958"}, + {"2409:8914:400::/39", "56044"}, + {"2409:8c28:7ce1::/39", "56041"}, + {"2409:8c34:800::/37", "9808"}, + {"2801:80:1660::/48", "52623"}, + {"2a02:26f7:eb05::/46", "20940"}, + {"2a0b:2a40::/32", "29423"}, + {"2001:43f8:3e0::/48", "37599"}, + {"2408:8456:1000::/42", "17622"}, + {"2806:370:5460::/40", "28403"}, + {"2a0e:3700::/29", "210874"}, + {"2600:9000:225e::/42", "16509"}, + {"2604:3cc0:2012::/44", "396298"}, + {"2001:67c:1990::/48", "207077"}, + {"2001:67c:2208::/48", "21079"}, + {"2402:e280:217c::/38", "134674"}, + {"2a00:1ee0::/32", "41357"}, + {"2a01:53c0:ffe0::/45", "54994"}, + {"2a02:26f7:e048::/48", "36183"}, + {"2a0b:a540::/29", "1267"}, + {"2a0f:b506::/48", "206313"}, + {"2001:b18:1012::/48", "47787"}, + {"2402:800:59d3::/44", "7552"}, + {"2408:80ea:74e0::/43", "17623"}, + {"2409:8c04::/35", "24547"}, + {"2607:e880:501::/48", "12220"}, + {"2804:1ef0::/32", "52650"}, + {"2a02:1388::/34", "29247"}, + {"2606:700::/32", "54054"}, + {"2804:2728:e00::/32", "263880"}, + {"2804:818c::/32", "272461"}, + {"2a02:26f7:d289::/46", "20940"}, + {"2409:8087:7d00::/38", "9808"}, + {"240a:a42e::/32", "143720"}, + {"2a00:7900::/32", "21000"}, + {"2a03:d9c0:2000::/48", "3214"}, + {"2a09:2e80::/29", "199486"}, + {"2408:8459:22c0::/37", "17816"}, + {"2604:6600:4c::/42", "40676"}, + {"2806:230:602a::/48", "265594"}, + {"2a02:26f7:94::/48", "36183"}, + {"2a0b:b600:3c04::/48", "43350"}, + {"2001:559:8710::/47", "33491"}, + {"2804:49c:3403::/48", "7162"}, + {"2804:7a8c::/32", "271378"}, + {"2a0e:8f02:2133::/44", "211722"}, + {"2001:67c:2e7c::/48", "199165"}, + {"2804:5c1c::/32", "268888"}, + {"2a03:420::/32", "28994"}, + {"2a0d:2a00:1::/46", "205157"}, + {"2a0f:5707:abb1::/48", "211620"}, + {"2001:67c:2c8::/48", "47829"}, + {"2402:3cc0::/32", "137257"}, + {"2408:8957:1700::/40", "17816"}, + {"2607:f7c8::/37", "36221"}, + {"2804:8294::/32", "272527"}, + {"2a0b:26c0::/29", "56800"}, + {"2001:3c8:a703::/33", "4621"}, + {"2409:8c44:1b00::/48", "9808"}, + {"2603:90b3::/32", "11426"}, + {"2806:1030::/32", "8151"}, + {"2a05:a880:10::/48", "51964"}, + {"2a0b:3c40:15::/46", "208258"}, + {"2001:559:7cb::/48", "33667"}, + {"2607:3180:b001::/33", "14877"}, + {"2620:171:dc::/46", "42"}, + {"2a02:968::/32", "12859"}, + {"2a0f:c40::/29", "60262"}, + {"2408:856c::/31", "4837"}, + {"2600:1402:19::/48", "20940"}, + {"2804:676c:c00::/32", "269627"}, + {"2a05:7e40::/29", "203854"}, + {"2a0f:ae80::/32", "48131"}, + {"2001:579:b054::/40", "22773"}, + {"2620:ce:8000::/48", "14738"}, + {"2a00:b0e0::/32", "34282"}, + {"2a0c:b440::/29", "48438"}, + {"2408:8957:fd00::/40", "17622"}, + {"2610:a1:3010::/48", "12008"}, + {"2804:4b14::/32", "267282"}, + {"2a11:8480::/32", "47596"}, + {"2402:fd00::/32", "38264"}, + {"2a03:1e00::/32", "34219"}, + {"2a0e:6580::/29", "57112"}, + {"240a:a994::/32", "145102"}, + {"240a:ab17::/32", "145489"}, + {"2a00:fc00:e001::/46", "3255"}, + {"2a0b:e40:1::/46", "205809"}, + {"2602:ff84:e::/48", "36351"}, + {"2610:98::/32", "11478"}, + {"2801:80:3710::/47", "269346"}, + {"2804:7490::/32", "270989"}, + {"2a07:e100::/32", "200925"}, + {"2a0b:dc0::/47", "58049"}, + {"2001:559:24d::/48", "33654"}, + {"2001:41c0::/31", "2818"}, + {"2401:d800:5c50::/42", "7552"}, + {"2600:6c38:f16::/47", "20115"}, + {"2605:3bc0::/32", "7850"}, + {"2607:f6f0:7000::/48", "27330"}, + {"2a10:cc44:201::/48", "211522"}, + {"2001:559:c4f5::/48", "33659"}, + {"2400:3240::/32", "63996"}, + {"2401:d800:7f82::/42", "7552"}, + {"2408:8856::/40", "17816"}, + {"2408:8957:6800::/40", "17622"}, + {"240e:108:1100::/47", "136195"}, + {"2600:141b:4801::/35", "20940"}, + {"2804:f30::/32", "263569"}, + {"2a02:26f0:ec01::/38", "20940"}, + {"2a02:26f7:f1c1::/46", "20940"}, + {"2001:559:c319::/48", "7725"}, + {"2001:678:e::/48", "31529"}, + {"2a01:a280:4::/48", "206357"}, + {"2404:bf40:f102::/48", "2764"}, + {"2600:1408:9401::/36", "20940"}, + {"2600:6c38:114::/44", "20115"}, + {"2605:6600::/32", "21766"}, + {"2001:559:808e::/43", "33657"}, + {"2a01:b747:6f1::/39", "714"}, + {"2a0f:9cc0::/29", "212144"}, + {"2001:559:52a::/48", "33491"}, + {"2001:df0:248::/48", "23883"}, + {"2409:8078:2c00::/30", "9808"}, + {"2a07:f6c0::/29", "49191"}, + {"2a0e:aa06:460::/44", "209215"}, + {"2001:ee0:3120::/38", "45899"}, + {"2001:1228::/32", "18592"}, + {"2401:d800:f500::/42", "7552"}, + {"2408:8459:b630::/41", "17622"}, + {"2600:1417:9801::/34", "20940"}, + {"2605:c00:1800::/39", "46920"}, + {"2620:13a:c011::/46", "53356"}, + {"2620:149:a0c::/43", "6185"}, + {"2a02:7b8::/32", "45011"}, + {"2a0f:2900::/29", "208245"}, + {"2001:559:8545::/48", "7016"}, + {"2001:678:e94::/48", "212695"}, + {"2600:1002:a010::/40", "22394"}, + {"2800:160:184c::/43", "14259"}, + {"2804:204:327::/44", "28186"}, + {"2001:67c:20b8::/47", "25303"}, + {"2402:800:9e60::/40", "7552"}, + {"240e:14:9000::/36", "140330"}, + {"2605:2cc0::/32", "395494"}, + {"2606:f280:4000::/34", "46261"}, + {"2804:26c::/32", "262813"}, + {"2804:1b8c::/32", "61734"}, + {"2001:1900:2350::/47", "10753"}, + {"2407:b001:3100::/32", "24121"}, + {"2800:160:228c::/39", "14259"}, + {"2804:41d0:3200::/37", "267458"}, + {"2804:81ec::/32", "272486"}, + {"2a01:7c00:20::/29", "52075"}, + {"2001:510:109::/42", "376"}, + {"2403:a200:a101::/40", "17428"}, + {"2600:1402:d801::/34", "20940"}, + {"2605:3380:480d::/48", "12025"}, + {"2806:105e:14::/44", "8151"}, + {"2400:8500:3fff::/48", "55907"}, + {"2600:370f:71e4::/38", "32261"}, + {"2a0b:11c0:1010::/48", "198682"}, + {"2001:67c:2c84::/48", "50838"}, + {"2001:4190:8024::/48", "8938"}, + {"2401:b140::/46", "54415"}, + {"2404:3d00:40ca::/43", "3573"}, + {"2804:61c0::/33", "269254"}, + {"2001:559:c18f::/48", "7725"}, + {"240e:974:e800::/39", "38283"}, + {"2600:141b:5001::/36", "20940"}, + {"2804:607c::/32", "269170"}, + {"2a02:2498:e005::/35", "13213"}, + {"2a04:4340::/31", "61349"}, + {"2a0e:2240::/47", "30633"}, + {"2a0e:97c0:233::/48", "211704"}, + {"2001:da8:24d::/46", "23910"}, + {"2001:df6:6d80::/48", "142044"}, + {"2620:0:dc0:4820::/48", "683"}, + {"2804:88:8000::/47", "28135"}, + {"2804:3a00::/32", "266064"}, + {"2806:20d:5016::/42", "32098"}, + {"2001:388:3030::/48", "137188"}, + {"2401:3bc0::/45", "137409"}, + {"2600:1fa0:5080::/44", "16509"}, + {"2804:1070:100::/40", "28209"}, + {"2001:559:c195::/48", "33491"}, + {"2001:4c80::/32", "2857"}, + {"2406:5800:400::/38", "132064"}, + {"240a:a03b::/32", "142709"}, + {"2a04:dbc0::/30", "8395"}, + {"2c0f:f4c0:10a0::/37", "37611"}, + {"2600:100d:a020::/40", "22394"}, + {"2804:8474:20::/32", "272261"}, + {"2a03:ef42:c000::/34", "57218"}, + {"2a0a:1ac0::/29", "206897"}, + {"2001:559:83f2::/47", "33651"}, + {"2409:8904:6640::/42", "24547"}, + {"2600:1401:2001::/33", "20940"}, + {"2600:8804:2400::/35", "22773"}, + {"2604:d600:153b::/41", "32098"}, + {"2a02:9010:74::/48", "13195"}, + {"2607:f110:13::/45", "21889"}, + {"2804:5364:2000::/33", "268581"}, + {"2a02:26f7:b9d0::/48", "36183"}, + {"2001:559:82a7::/48", "7922"}, + {"2600:370f:5042::/42", "32261"}, + {"2803:11e0::/32", "269997"}, + {"2409:8915:3600::/39", "56044"}, + {"2607:f7a0:5::/46", "46562"}, + {"2804:3160:8000::/33", "265010"}, + {"2804:5a30:9000::/33", "268754"}, + {"2a02:2380:ff00::/48", "51941"}, + {"2a0a:1b80::/30", "34773"}, + {"2001:df1:ba00::/48", "45259"}, + {"2001:1a11:f7::/48", "8781"}, + {"240a:a09a::/32", "142804"}, + {"2605:c3c0:e000::/35", "393954"}, + {"2a03:2887:ff0c::/48", "8966"}, + {"2a0a:3140:2610::/44", "15532"}, + {"2001:c20:486c::/46", "9255"}, + {"2001:c20:4874::/48", "9255"}, + {"2401:b200:62::/40", "24186"}, + {"2a03:5640:f140::/46", "2906"}, + {"2a0e:c7c1::/45", "210977"}, + {"2a0e:fb80::/29", "208551"}, + {"2a11:b480::/29", "204790"}, + {"2001:559:4fb::/45", "7922"}, + {"2405:4803:f2f0::/36", "18403"}, + {"2600:140b:9400::/48", "31109"}, + {"2a01:8640:e::/48", "202015"}, + {"2001:559:c377::/48", "20214"}, + {"2001:678:570::/48", "205107"}, + {"2602:ffc5:35::/41", "7489"}, + {"2c0f:7c00::/32", "328809"}, + {"2001:da8:8::/40", "23910"}, + {"240e:44d:7b00::/42", "140345"}, + {"2605:bc00::/32", "46309"}, + {"2a00:1c88:101::/48", "208685"}, + {"2001:67c:2eec::/48", "60531"}, + {"2408:840c:4e00::/40", "17621"}, + {"240a:a77f::/32", "144569"}, + {"240e:bf:c000::/37", "4134"}, + {"2620:102:4020::/43", "4130"}, + {"2a02:2578:130d::/36", "51375"}, + {"2a02:26f7:ded0::/48", "36183"}, + {"2600:1406:37::/44", "35994"}, + {"2800:160:1f24::/44", "14259"}, + {"2a09:d7c0::/29", "28771"}, + {"2001:4998:ef9a::/41", "10310"}, + {"2804:1afc::/32", "61702"}, + {"2a0c:15c0::/29", "59965"}, + {"2401:d800:b5d0::/42", "7552"}, + {"2409:8753:500::/38", "56047"}, + {"2801:1e:800::/48", "3816"}, + {"2804:104c:2000::/40", "263629"}, + {"2a0c:7e42:f776::/48", "20473"}, + {"2001:559:811a::/48", "33489"}, + {"2001:da8:402d::/48", "23910"}, + {"2405:cb00::/48", "55309"}, + {"2600:6c10:168::/40", "20115"}, + {"2602:feda:df0::/47", "147071"}, + {"2607:f5b8::/32", "46208"}, + {"2a03:bec0::/32", "202016"}, + {"2402:800:3901::/44", "7552"}, + {"2600:1402:401::/36", "20940"}, + {"2600:1404:e801::/37", "20940"}, + {"2804:4a38::/33", "267225"}, + {"2a0e:97c3:685::/48", "20473"}, + {"2405:b40::/47", "55674"}, + {"2405:ec00:1101::/32", "23955"}, + {"2620:4a::/48", "25739"}, + {"2806:2f0:2423::/43", "22884"}, + {"2a00:d560::/29", "15600"}, + {"2a02:26f7:f0c9::/42", "20940"}, + {"2a11:3540::/29", "204790"}, + {"2001:559:c445::/48", "7922"}, + {"2606:4f00::/48", "19324"}, + {"2607:fc48:1008::/48", "40009"}, + {"2801:b0::/40", "52888"}, + {"2806:2f0:8023::/41", "17072"}, + {"2a01:68::/32", "13193"}, + {"2a02:26f7:d685::/46", "20940"}, + {"2402:1d40:4008::/35", "58826"}, + {"240a:af4b::/32", "146565"}, + {"2604:4840::/32", "17252"}, + {"2804:5ffc::/32", "269138"}, + {"2a00:dd80:9::/48", "36236"}, + {"2001:468:2811::/32", "11537"}, + {"2405:201:5600::/36", "55836"}, + {"2407:f800:501::/40", "38182"}, + {"2600:370f:5205::/46", "32261"}, + {"2604:7c40::/40", "395649"}, + {"2804:14d:4083::/41", "28573"}, + {"2804:55d0::/37", "267958"}, + {"2804:6de4::/32", "270562"}, + {"2a00:75e0::/32", "206897"}, + {"2a04:2b00:14aa::/48", "203961"}, + {"2001:559:702::/47", "7016"}, + {"2001:559:775::/48", "33650"}, + {"2403:7c00::/32", "10001"}, + {"2408:8459:e630::/41", "17622"}, + {"240a:a285::/32", "143295"}, + {"2604:2400::/32", "14107"}, + {"2620:4f:8000::/48", "112"}, + {"2804:145c:d000::/34", "263327"}, + {"2a09:88c0::/29", "62336"}, + {"2a0e:d080::/29", "15623"}, + {"2a0f:8a00::/29", "43402"}, + {"2800:160:14e1::/46", "14259"}, + {"2804:18:5008::/45", "26599"}, + {"2a02:26f7:ea45::/46", "20940"}, + {"2001:559:5d9::/48", "33491"}, + {"2a00:86c0:2096::/32", "2906"}, + {"2001:250:85b::/48", "23910"}, + {"2001:559:8157::/48", "33491"}, + {"2001:44b8:404b::/48", "4739"}, + {"2804:7a88::/32", "271377"}, + {"2806:2f0:72a3::/41", "17072"}, + {"2001:559:c39b::/48", "33287"}, + {"240a:a560::/32", "144026"}, + {"2607:f160:3e::/48", "22394"}, + {"2a0a:3bc0::/32", "206201"}, + {"2409:8d5a:5c8::/42", "56040"}, + {"2600:1000:b0c0::/42", "6167"}, + {"2620:171:19::/48", "715"}, + {"2a01:9c00::/32", "44567"}, + {"2a0a:8500::/29", "206936"}, + {"2001:559:151::/48", "7015"}, + {"2600:1413:b001::/36", "20940"}, + {"2804:14c:f2::/37", "28573"}, + {"2804:10a0::/40", "28173"}, + {"2804:1e20:9940::/48", "264409"}, + {"2a0e:b107:15b0::/48", "211169"}, + {"2603:c001:1630::/36", "31898"}, + {"2607:2f00:1f::/32", "12025"}, + {"2804:8090::/32", "271759"}, + {"2001:dcd:3::/48", "397232"}, + {"2405:7f00:90a0::/39", "133414"}, + {"2600:100a:a010::/40", "22394"}, + {"2600:1010:ff00::/44", "6167"}, + {"2804:4ca0:2::/39", "267381"}, + {"2a03:e340:1::/48", "60781"}, + {"2a0f:9240:2001::/32", "49434"}, + {"2402:800:5b63::/43", "7552"}, + {"240a:a3c3::/32", "143613"}, + {"240a:a6ae::/32", "144360"}, + {"2606:2800:404a::/45", "14210"}, + {"2804:490:8800::/38", "265705"}, + {"2804:4460::/32", "267629"}, + {"2404:e801:201f::/48", "45938"}, + {"2408:8459:8a50::/37", "17816"}, + {"2620:8b:a000::/48", "399196"}, + {"2804:5534:1800::/34", "268696"}, + {"2a03:5a00:14::/48", "59679"}, + {"2a06:dbc0::/29", "5578"}, + {"2001:559:8718::/48", "33652"}, + {"2400:cb00:a4f0::/46", "13335"}, + {"2600:2600::/31", "33362"}, + {"2803:f580::/32", "61470"}, + {"2a04:2dc0:1d::/48", "212460"}, + {"240a:aba7::/32", "145633"}, + {"2401:b800:f001::/36", "38248"}, + {"240e:438:240::/37", "4134"}, + {"2606:2800:4ad4::/46", "15133"}, + {"2607:f4f8::/32", "23127"}, + {"2804:7b5c::/44", "271427"}, + {"2806:2f0:3002::/42", "17072"}, + {"2a09:1180::/29", "59441"}, + {"240a:ab88::/32", "145602"}, + {"2001:579:cb00::/37", "22773"}, + {"2001:4488:f962::/38", "7713"}, + {"2804:10b4:11::/39", "263645"}, + {"2804:4574::/32", "266927"}, + {"2804:4590::/32", "266935"}, + {"2a03:ec80::/48", "211220"}, + {"2a0c:7100::/29", "40970"}, + {"2a12:e580::/29", "60135"}, + {"2408:8956:7000::/40", "17622"}, + {"2600:2000:2100::/42", "31898"}, + {"2001:da8:6002::/43", "24355"}, + {"2404:1f00:7000::/32", "55947"}, + {"2620:1ec:e::/43", "8075"}, + {"2a00:b300::/32", "8613"}, + {"2001:67c:22b8::/48", "49770"}, + {"2400:cb00:2049::/48", "13335"}, + {"2600:140b:3001::/38", "20940"}, + {"2804:24ec::/32", "264248"}, + {"2a0e:b107:6e3::/48", "213215"}, + {"240a:a2a9::/32", "143331"}, + {"240a:a68f::/32", "144329"}, + {"240e:974:e100::/40", "4134"}, + {"2600:1480:d800::/48", "21342"}, + {"2801:80:1aa0::/48", "28248"}, + {"240a:af90::/32", "146634"}, + {"2804:6da0::/32", "270545"}, + {"2603:6000::/32", "10796"}, + {"2804:364c::/32", "266340"}, + {"2804:612c:4000::/32", "269218"}, + {"2a02:888:8051::/48", "47794"}, + {"2a02:25ad:1a:d2::/30", "12824"}, + {"2a06:a000:190::/44", "212200"}, + {"2001:559:458::/47", "7015"}, + {"2001:df2:a300::/48", "6336"}, + {"2600:1419:1000::/48", "4230"}, + {"2804:954:88::/38", "263073"}, + {"2a10:2f01:350::/46", "212793"}, + {"2001:559:827b::/45", "7922"}, + {"2001:dd8:6::/48", "18368"}, + {"2408:8459:a210::/42", "17623"}, + {"240e:fc:f000::/31", "4134"}, + {"2804:5c08::/32", "52548"}, + {"2409:8904:4860::/39", "24547"}, + {"2600:1403:9c01::/34", "20940"}, + {"2600:6c33:719::/32", "20115"}, + {"2606:8e80:1800::/34", "32133"}, + {"2620:10c:2000::/48", "40931"}, + {"2408:840d:7500::/42", "17621"}, + {"240a:a4c7::/32", "143873"}, + {"2c0f:f4b8::/32", "327889"}, + {"2001:44c8:4620::/43", "45430"}, + {"2400:1880::/32", "17670"}, + {"2405:8540::/32", "138296"}, + {"2a09:2885::/48", "202316"}, + {"2001:c20:c84f::/43", "3758"}, + {"2600:380:7980::/38", "20057"}, + {"2600:6c7f:9080::/48", "20115"}, + {"2804:6184::/32", "269239"}, + {"2a0f:ca81:1330::/44", "212085"}, + {"2405:c9c0:5::/42", "138823"}, + {"2605:6400:100::/48", "53667"}, + {"2a03:28e0::/32", "48093"}, + {"2001:df1:e500::/48", "63773"}, + {"2400:ffc0::/47", "17439"}, + {"2620:0:5090::/48", "22796"}, + {"2a02:2360::/32", "51034"}, + {"2801:1a2:4::/48", "269845"}, + {"2400:9780::/46", "136557"}, + {"2401:d800:ffc2::/42", "7552"}, + {"2407:3e00:400a::/48", "9255"}, + {"240a:aa32::/32", "145260"}, + {"2001:ee0:1081::/34", "45899"}, + {"2400:ac40:c90::/42", "136255"}, + {"2408:8459:dc10::/42", "17623"}, + {"2610:a1:30fc::/48", "397228"}, + {"2a00:d120::/43", "29990"}, + {"2001:470:33::/48", "14613"}, + {"2001:7f8:1d::/48", "29432"}, + {"2409:8080:2a50::/44", "9808"}, + {"240a:ad49::/32", "146051"}, + {"240e:44d:6100::/41", "140345"}, + {"2804:d70:120::/41", "52626"}, + {"2a01:bd40::/29", "12586"}, + {"2a02:26f7:d259::/42", "20940"}, + {"2a07:c000::/29", "202551"}, + {"2a02:26f7:ba05::/46", "20940"}, + {"2a06:1e00:50::/48", "60695"}, + {"2409:8904:66b0::/39", "24547"}, + {"2604:9540::/32", "33125"}, + {"2a02:2f0c:8002::4/62", "8708"}, + {"2001:df0:413::/48", "132423"}, + {"2409:805c:4900::/35", "9808"}, + {"2409:8904:4660::/39", "24547"}, + {"240a:ad6e::/32", "146088"}, + {"2600:6c10:f04e::/43", "20115"}, + {"2800:160:1e9b::/42", "14259"}, + {"2801:80:1920::/48", "264971"}, + {"2804:314:4027::/44", "61568"}, + {"240e:95d::/37", "136193"}, + {"2604:640::/48", "393562"}, + {"2a00:c6c0:1::/48", "133752"}, + {"2001:559:c2e4::/48", "33287"}, + {"2001:559:c4cf::/43", "33650"}, + {"2001:559:c4e8::/48", "7922"}, + {"240e:44d:7200::/42", "140345"}, + {"240e:690::/29", "4134"}, + {"2806:230:1207::/40", "11888"}, + {"2a01:b740:a21::/48", "714"}, + {"2001:559:4bc::/47", "33287"}, + {"2001:559:c183::/48", "7015"}, + {"240a:ae1a::/32", "146260"}, + {"2a02:26f7:e449::/42", "20940"}, + {"2001:559:8048::/48", "7016"}, + {"2001:678:d3c::/48", "206628"}, + {"2001:c20:a006::/35", "3758"}, + {"2001:fd8:b340::/42", "132199"}, + {"2404:7d80::/32", "9268"}, + {"2600:1488:a461::/40", "20940"}, + {"2600:40f0:1120::/44", "7046"}, + {"2a01:7220::/32", "62179"}, + {"2806:2f0:4561::/46", "17072"}, + {"2001:468:cc0::/48", "3140"}, + {"240a:a0ef::/32", "142889"}, + {"240e:45c:ca00::/40", "131285"}, + {"2602:fdd4::/36", "396855"}, + {"2401:d800:7450::/42", "7552"}, + {"2600:1408:5001::/37", "20940"}, + {"2600:140f:e001::/38", "20940"}, + {"2a03:43a0::/32", "44500"}, + {"2a0f:d601::/29", "208236"}, + {"2001:550:2304::/40", "174"}, + {"2402:800:39ee::/38", "7552"}, + {"240e:964:d600::/34", "4134"}, + {"2607:f928:12::/48", "16905"}, + {"2800:160:1121::/44", "14259"}, + {"2804:6648::/32", "269546"}, + {"2806:230:602e::/48", "265594"}, + {"2001:250:5862::/48", "138371"}, + {"2001:559:c466::/48", "20381"}, + {"2401:d800:f450::/42", "7552"}, + {"2604:3400:abcc::/48", "209453"}, + {"2a00:d18::/32", "12714"}, + {"2a0a:68c0:ff00::/40", "134835"}, + {"2a0c:3b80::/32", "58057"}, + {"2001:559:8356::/48", "33651"}, + {"2401:d800:52d0::/42", "7552"}, + {"2408:876a::/32", "4837"}, + {"2602:fc3b:301::/37", "399970"}, + {"2804:14c:65c7::/44", "28573"}, + {"2001:3c8::/38", "4621"}, + {"2001:450:2015::/48", "3356"}, + {"2a02:26f7:cc01::/45", "20940"}, + {"2001:67c:2e28::/48", "3320"}, + {"2604:f400:11::/48", "32654"}, + {"2a0f:5707:af0b::/48", "211358"}, + {"2001:6c8::/29", "3292"}, + {"2409:8907:8020::/39", "24547"}, + {"2800:160:1ceb::/43", "14259"}, + {"2001:67c:1498::/48", "43455"}, + {"2001:dce:5101::/40", "23869"}, + {"2402:800:3d8d::/43", "7552"}, + {"2403:9800:7f0c::/48", "4648"}, + {"2804:7044::/32", "270716"}, + {"2a01:410:3::/32", "30844"}, + {"2403:4280::/48", "23724"}, + {"2404:bc0:4400::/44", "137735"}, + {"2404:4a00:8a00:1::/33", "45629"}, + {"240e:3b3:2c00::/35", "134774"}, + {"2804:4be8::/33", "267336"}, + {"2a02:9b0:403c::/41", "35819"}, + {"2a07:e02:41::/48", "16509"}, + {"2a09:9680::/29", "51546"}, + {"2a0b:dd80::/29", "8298"}, + {"2001:67c:418::/48", "8981"}, + {"2605:a401:8dd2::/42", "33363"}, + {"2804:7990::/32", "271313"}, + {"2804:82cc::/32", "272157"}, + {"2a00:1b98::/32", "25376"}, + {"2a0b:6b83:2001::/33", "202562"}, + {"2400:8905::/32", "48337"}, + {"240a:a81b::/32", "144725"}, + {"2606:2800:4254::/46", "15133"}, + {"2a02:7760::/32", "48166"}, + {"2001:4490:3000::/42", "9829"}, + {"2406:d00:ddff::/48", "132165"}, + {"2409:8004:802::/45", "24547"}, + {"240a:a97a::/32", "145076"}, + {"2a00:f38::/29", "12297"}, + {"2607:3f00::/46", "46261"}, + {"2607:f500:1800::/32", "6181"}, + {"2800:ba0:8::/48", "263812"}, + {"2a02:26f7:c788::/48", "36183"}, + {"2a05:e740:160::/48", "29108"}, + {"2001:5e0:20::/48", "20224"}, + {"2001:1900:2236::/41", "3356"}, + {"2408:8459:b650::/36", "17816"}, + {"2605:5800::/32", "15305"}, + {"2606:7c80:102::/48", "40300"}, + {"2a00:1228:2::/45", "31148"}, + {"2001:fe8:8100::/47", "24435"}, + {"2402:ef15::/32", "9430"}, + {"2804:49c:3101::/46", "15201"}, + {"2400:a980:5d00::/38", "133111"}, + {"2409:8d06::/28", "9808"}, + {"2c0f:eb00:f00::/35", "328962"}, + {"2606:a440:5::/48", "16509"}, + {"2806:230:5012::/48", "265594"}, + {"2404:4dc0::/32", "63570"}, + {"240e:980:3000::/33", "4134"}, + {"2620:131:1049::/46", "26450"}, + {"2804:6024::/32", "269148"}, + {"2a02:ed04:4410::/39", "50304"}, + {"2001:559:5b8::/46", "7922"}, + {"2001:67c:4a0::/48", "43623"}, + {"2409:8008:da::/48", "9808"}, + {"2602:fc23:113::/48", "8095"}, + {"2001:468:d01::/48", "3582"}, + {"2a0e:b107:9fe::/48", "208699"}, + {"2405:c140::/32", "139567"}, + {"2409:8750:1100::/32", "56047"}, + {"2804:3684::/32", "266353"}, + {"2804:3df8:4::/33", "266566"}, + {"2804:7df0::/32", "271592"}, + {"2a0c:3040::/29", "13054"}, + {"2001:1248:8809::/42", "11172"}, + {"2404:4a00:8000:1::/37", "45629"}, + {"2407:3e40::/32", "137165"}, + {"240a:af3d::/32", "146551"}, + {"240e:967:800::/37", "133774"}, + {"2600:100a:b1e0::/33", "22394"}, + {"2605:a404:a1::/44", "33363"}, + {"2606:7700::/48", "399830"}, + {"2804:1768::/32", "263144"}, + {"2a07:a341::/32", "20473"}, + {"2605:f440:bef0::/33", "54874"}, + {"2620:137:4000::/40", "22601"}, + {"2801:1f:8800::/48", "18747"}, + {"2a00:9520::/48", "56641"}, + {"2a09:8680::/29", "38946"}, + {"2405:ba00:8808::/48", "7160"}, + {"2400:a980:3900::/37", "133111"}, + {"240a:a441::/32", "143739"}, + {"2600:6c21:40a::/47", "20115"}, + {"2804:3294::/32", "265086"}, + {"2a05:b040::/29", "8453"}, + {"2400:cb00:aa23::/45", "13335"}, + {"2409:8904:e070::/40", "24547"}, + {"2600:6000:f5d6::/36", "12271"}, + {"2804:5440::/32", "268637"}, + {"2a02:26f7:c60c::/48", "36183"}, + {"2a0c:b642:1a0b::/48", "3280"}, + {"2a0e:7900::/29", "207902"}, + {"2402:8cc0::/40", "131137"}, + {"2402:a300:c000::/45", "55427"}, + {"2409:8904:e270::/40", "24547"}, + {"2a0d:9a40::/29", "47832"}, + {"2600:1404:7001::/38", "20940"}, + {"2801:15:4800::/48", "19429"}, + {"2001:559:80dc::/48", "7922"}, + {"2001:559:c0e7::/48", "33287"}, + {"2409:8028:900::/37", "9808"}, + {"2804:35d4::/32", "266309"}, + {"240a:ac86::/32", "145856"}, + {"2604:e880::/32", "40156"}, + {"2804:1080:8004::/33", "28287"}, + {"2804:3e68::/32", "266594"}, + {"2a00:11c0:25::/43", "42473"}, + {"2a09:11c0:200::/44", "207613"}, + {"2a09:e240:1::/46", "35133"}, + {"2a10:1c40::/48", "206222"}, + {"2800:bf0:80fc::/46", "27947"}, + {"2a09:4e00::/32", "208861"}, + {"240a:ab86::/32", "145600"}, + {"240e:438:2840::/38", "4134"}, + {"2804:14d:12aa::/41", "28573"}, + {"2804:1368::/36", "262808"}, + {"2804:7a54:bebe::/48", "271365"}, + {"2a00:1f10::/32", "198682"}, + {"2a0c:75c0:4::/29", "44486"}, + {"2001:559:87f3::/48", "7922"}, + {"2401:7000:d900::/47", "45177"}, + {"2406:9dc0:60::/44", "18250"}, + {"2620:7f:a000::/48", "62827"}, + {"2a0c:a040::/32", "48918"}, + {"2c0f:edb0::/32", "36236"}, + {"2001:559:87f9::/45", "7015"}, + {"2401:d800:b202::/42", "7552"}, + {"2600:1017:f010::/39", "6167"}, + {"2600:140f:7401::/38", "20940"}, + {"2602:feb4:170::/44", "25961"}, + {"2610:a1:3044::/48", "12008"}, + {"2804:e8::/39", "28280"}, + {"2a0f:cb00::/48", "213274"}, + {"2001:df7:6780::/48", "146944"}, + {"2408:8956:6d00::/40", "17816"}, + {"240e:45c:b400::/40", "131285"}, + {"2603:c0f8::/38", "20054"}, + {"2801:16:4800::/48", "269791"}, + {"2a03:e700::/32", "8922"}, + {"2a0a:9c80::/32", "200665"}, + {"2a00:7180:8018::/33", "15557"}, + {"2a02:acc1::/30", "198726"}, + {"2001:480:a2::/44", "668"}, + {"2402:79c0:1127::/48", "26415"}, + {"240e:3b7:1400::/38", "134773"}, + {"2a0c:63c0::/48", "39642"}, + {"2402:3a80:30::/46", "38266"}, + {"2804:14c:3baa::/43", "28573"}, + {"2804:17e0::/32", "263256"}, + {"2a10:3400::/29", "210054"}, + {"2408:8256:3d89::/48", "17816"}, + {"2804:4148::/32", "267425"}, + {"2806:2f0:10c0::/43", "22884"}, + {"2a00:16f8:1::/44", "6461"}, + {"2a07:aa00:8::/41", "3549"}, + {"2a12:4940:1966::/32", "211398"}, + {"2001:559:c2bd::/46", "7015"}, + {"240a:a6bf::/32", "144377"}, + {"2603:fbd0::/21", "397165"}, + {"2606:4700:90c0::/43", "13335"}, + {"2620:1ec:90d::/46", "8075"}, + {"2804:6104::/32", "269206"}, + {"2a01:a640::/32", "15966"}, + {"2a10:2f00:17e::/48", "209225"}, + {"2804:38f8::/32", "266515"}, + {"2a05:3180::/32", "34580"}, + {"2c0f:ec80:d000::/34", "37315"}, + {"2a00:4680::/32", "56672"}, + {"2001:559:5eb::/48", "22909"}, + {"2402:8100:27f0::/47", "45271"}, + {"240a:ae2f::/32", "146281"}, + {"2605:f100::/32", "14265"}, + {"2620:13f:6000::/44", "237"}, + {"2801:80:550::/48", "28215"}, + {"2804:16d8:1000::/38", "262729"}, + {"2a02:26f7:c3dc::/48", "36183"}, + {"2a10:2c0::/29", "60636"}, + {"2408:84f3:9810::/42", "134543"}, + {"240a:a8de::/32", "144920"}, + {"2a02:26f7:ed04::/48", "36183"}, + {"2a0b:b87:ffe2::/48", "205036"}, + {"2001:930:149::/48", "8386"}, + {"2400:6480::/32", "55507"}, + {"2404:a800:3003::/39", "9498"}, + {"2408:8256:3c81::/43", "17623"}, + {"240a:a48e::/32", "143816"}, + {"2804:2fe0::/32", "264918"}, + {"2a10:5a80::/29", "328663"}, + {"2001:1690::/32", "20847"}, + {"2400:9380:9040::/47", "4809"}, + {"2402:800:7520::/41", "7552"}, + {"240e:96::/28", "4134"}, + {"240e:44d:5280::/41", "4134"}, + {"2804:3114::/32", "264991"}, + {"2607:f7a8:607::/36", "46887"}, + {"2804:41f8:f502::/36", "267469"}, + {"2a02:2339::/36", "207199"}, + {"2a03:60e0::/32", "60768"}, + {"2c0f:f028::/32", "37317"}, + {"2404:a800:3002::/48", "137670"}, + {"2406:2000:f0::/44", "10310"}, + {"2600:140f:2800::/48", "9498"}, + {"2001:559:db::/48", "33657"}, + {"2408:80ea:6700::/41", "17816"}, + {"240e:85c:10::/42", "4134"}, + {"2806:2f0:2420::/48", "17072"}, + {"2a02:26f7:b851::/42", "20940"}, + {"2001:559:86f8::/48", "33659"}, + {"2001:67c:1220::/46", "197451"}, + {"2600:100e::/32", "6167"}, + {"2800:190:1::/48", "19037"}, + {"2804:f90::/32", "263592"}, + {"2001:5e0::/43", "16713"}, + {"2400:ee80:2001::/32", "45177"}, + {"2604:9980::/48", "17216"}, + {"2607:9e80:1101::/40", "397068"}, + {"2804:34fc::/32", "265493"}, + {"2804:3cc4::/32", "266233"}, + {"2804:709c::/32", "270737"}, + {"2806:230:2001::/48", "11888"}, + {"2001:559:3ea::/48", "33656"}, + {"2001:df6:c00::/48", "55451"}, + {"2409:8050:1800::/47", "56047"}, + {"2a01:298:f001::/48", "30893"}, + {"2a06:3b80:25::/46", "206614"}, + {"2a07:4580:b0e::/29", "46261"}, + {"2400:adc4:800::/39", "9541"}, + {"2404:bf40:a586::/42", "139084"}, + {"240a:a5a2::/32", "144092"}, + {"2602:fc5a::/36", "398491"}, + {"2606:7fc0::/32", "400087"}, + {"2a0b:9b00::/37", "62240"}, + {"2001:b30::/33", "2614"}, + {"2409:8057:300a::/43", "56040"}, + {"240a:ac8a::/32", "145860"}, + {"2a0c:ad40::/29", "51184"}, + {"2a0d:6e00::/29", "201290"}, + {"2401:9480::/32", "56304"}, + {"2804:c60::/32", "52696"}, + {"2804:3154::/32", "265007"}, + {"2a04:4e40:6a00::/48", "54113"}, + {"2a07:aa40::/29", "59469"}, + {"2408:8256:3270::/48", "17816"}, + {"2800:c70:20::/37", "23201"}, + {"2804:7370::/32", "270915"}, + {"2806:1000:cfff:2::/34", "8151"}, + {"2a0f:7980::/44", "141694"}, + {"2001:559:84c8::/48", "22909"}, + {"2400:dc40::/32", "136440"}, + {"2605:b100:e000::/41", "577"}, + {"2804:4f80:5000::/48", "268330"}, + {"2804:7e30::/32", "271608"}, + {"2a01:4b00::/32", "56478"}, + {"2c0f:fb98::/32", "37480"}, + {"2001:559:c250::/48", "7922"}, + {"2404:e100:3004::/48", "133840"}, + {"2804:e10::/32", "52540"}, + {"2001:559:88::/48", "7015"}, + {"2804:a78::/32", "262478"}, + {"2a02:2e02:a180::/42", "12479"}, + {"2001:559:800a::/48", "33657"}, + {"2401:d800:5e30::/41", "7552"}, + {"2804:779c::/32", "271189"}, + {"2408:8459:a10::/41", "17622"}, + {"2604:d600:c2d::/43", "32098"}, + {"2a02:26f7:89::/48", "20940"}, + {"2406:9400::/32", "9253"}, + {"2603:c0ec:2800::/40", "54253"}, + {"2a03:dd40::/32", "61025"}, + {"2001:67c:21a4::/48", "5420"}, + {"2001:67c:2430::/46", "57517"}, + {"2409:8057:3811::/46", "56040"}, + {"2600:1001:a100::/44", "6167"}, + {"2804:55cc::/32", "267957"}, + {"2001:559:c1e4::/48", "22909"}, + {"2001:1388:1b8e::/34", "6147"}, + {"240e:108:11d7::/48", "4134"}, + {"2804:4ec:2::/35", "28668"}, + {"2a02:26f7:c800::/48", "36183"}, + {"2a11:d100::/29", "202505"}, + {"2001:678:ef0::/48", "202592"}, + {"240a:a9ef::/32", "145193"}, + {"2804:1588::/33", "263393"}, + {"2a02:26f0:1201::/39", "20940"}, + {"2a02:26f7:bcc5::/46", "20940"}, + {"2a06:e881:5608::/48", "208340"}, + {"2001:da8:e820::/48", "24368"}, + {"2001:12f0:b18::/42", "1916"}, + {"2400:6700::/32", "16509"}, + {"240a:a2aa::/32", "143332"}, + {"2600:1402:6801::/35", "20940"}, + {"2a0d:d480::/29", "35916"}, + {"2400:cb00:241::/46", "13335"}, + {"2409:8e14::/34", "56044"}, + {"2804:45b0::/32", "266943"}, + {"2a04:c740::/29", "202131"}, + {"2001:a98:8000::/48", "9095"}, + {"2604:d600:122d::/43", "32098"}, + {"2607:a500:df11::/34", "12025"}, + {"2a02:6ea0:babe::/48", "60068"}, + {"2001:559:86fb::/45", "7015"}, + {"2001:678:3::/48", "42"}, + {"2001:df5:b900::/48", "131418"}, + {"2406:2400:cdef::/48", "45287"}, + {"240e:db:b000::/37", "4134"}, + {"2804:bdc::/32", "52866"}, + {"2804:79c0::/32", "271325"}, + {"2a03:a960:30::/32", "61317"}, + {"2001:250:7820::/32", "23910"}, + {"2401:4900:5d80::/38", "45609"}, + {"2600:6c10:fff8::/47", "20115"}, + {"2606:2800:233::/45", "15133"}, + {"2620:149:af1::/37", "714"}, + {"2a0e:46c4:2269::/48", "136918"}, + {"2400:cb00:a740::/48", "13335"}, + {"2403:fcc0::/32", "138453"}, + {"2408:8459:8e50::/35", "17816"}, + {"2400:7400:e014::/44", "38044"}, + {"2804:5a80::/32", "268777"}, + {"2001:250:3428::/47", "138393"}, + {"2400:fc00:8110::/42", "45773"}, + {"2600:6c10:5f::/42", "20115"}, + {"2606:bc00:8ef0::/39", "19419"}, + {"2001:550:4a01:1::/46", "174"}, + {"2604:2bc0::/32", "396141"}, + {"2804:4c14:bb01::/33", "267348"}, + {"2804:4e04::/32", "268234"}, + {"2001:550:300:1::/48", "174"}, + {"2001:2001:6100::/32", "1299"}, + {"2804:2f2c::/32", "264876"}, + {"2001:678:ca8::/48", "12897"}, + {"2001:67c:2e60::/48", "12348"}, + {"2800:160:603::/35", "14259"}, + {"2804:3cb8:d000::/34", "53221"}, + {"2600:1012:f110::/36", "22394"}, + {"2607:f358:4::/46", "18779"}, + {"2a07:3500:19f8::/48", "38915"}, + {"2001:559:85d5::/48", "33650"}, + {"2405:6940::/48", "139178"}, + {"2605:7900:10::/47", "19133"}, + {"2806:2f0:31a1::/46", "17072"}, + {"2001:559:c1e7::/48", "20214"}, + {"2607:f108:1900::/33", "29838"}, + {"2804:5d8::/32", "262546"}, + {"2804:3244:4::/43", "265066"}, + {"2a02:27c8::/32", "48645"}, + {"2001:4c28:212::/48", "39832"}, + {"2600:1007:b100::/41", "6167"}, + {"2800:160:1a84::/46", "14259"}, + {"2804:163c:17a::/38", "263277"}, + {"2804:31fc::/32", "53022"}, + {"2a03:a780::/32", "198031"}, + {"2001:579:c01c::/40", "22773"}, + {"2001:579:c17d::/40", "22773"}, + {"2408:8456:a410::/42", "134543"}, + {"240a:a178::/32", "143026"}, + {"240e:44d:1a40::/42", "140360"}, + {"2804:673c:1000::/40", "264598"}, + {"2806:20d:1d43::/45", "32098"}, + {"2806:2f0:12a0::/41", "17072"}, + {"2a09:bd00:1fe::/47", "42385"}, + {"2401:d800:362::/40", "7552"}, + {"2408:8256:397d::/46", "17623"}, + {"240a:aac4::/32", "145406"}, + {"240a:abda::/32", "145684"}, + {"2607:fd90::/32", "14717"}, + {"2a02:2430:5::/46", "59491"}, + {"2001:559:1c6::/48", "7922"}, + {"240a:ab12::/32", "145484"}, + {"2607:f128:800::/32", "32748"}, + {"2620:0:210::/48", "43"}, + {"2001:df2:c300::/48", "131924"}, + {"2402:800:9939::/41", "7552"}, + {"2607:f1e0::/33", "19092"}, + {"2803:e60::/32", "267913"}, + {"2a0e:8f02:f017::/48", "212112"}, + {"2804:2320::/32", "264144"}, + {"2a0e:97c0:510::/44", "61978"}, + {"2001:da8:e01f::/42", "23910"}, + {"2001:f20:2000::/47", "9875"}, + {"2600:1003:b0e0::/43", "22394"}, + {"2806:2f0:4663::/40", "17072"}, + {"2001:502:100e::/48", "397226"}, + {"2001:559:8611::/46", "7922"}, + {"2620:0:22f0::/48", "6406"}, + {"2001:df0:2b4::/48", "2526"}, + {"2401:f000:18::/48", "23838"}, + {"2600:370f:3783::/41", "32261"}, + {"2606:3c40::/32", "399493"}, + {"2804:a00:8e0::/37", "262838"}, + {"2804:c48:e000::/38", "52687"}, + {"2804:37f0:5100::/36", "266445"}, + {"240e:45c:1c00::/40", "131285"}, + {"2a10:c080::/29", "209288"}, + {"2a12:23c0::/29", "62177"}, + {"2001:1a11:110::/47", "42298"}, + {"2406:4a00:1700::/48", "56038"}, + {"2620:132:c000::/40", "11478"}, + {"2804:18:7200::/37", "10429"}, + {"2804:93c:31::/40", "52878"}, + {"2806:106e:2::/48", "8151"}, + {"2001:f90::/32", "4609"}, + {"2400:fc00:8130::/41", "45773"}, + {"2600:9000:110b::/43", "16509"}, + {"2a07:95c0::/30", "400177"}, + {"2a0a:e9c0::/29", "56986"}, + {"2409:800b:2806::/39", "9808"}, + {"240a:a42b::/32", "143717"}, + {"240e:438:a820::/43", "140647"}, + {"240e:978:1000::/40", "137702"}, + {"2605:a401:893f::/41", "33363"}, + {"2405:4200:f002::/36", "24482"}, + {"2409:8c54:2000::/43", "9808"}, + {"2600:1007:f110::/36", "22394"}, + {"2600:1407:4801::/35", "20940"}, + {"2a00:7180:800c::/46", "15557"}, + {"2a01:ab20::/32", "47302"}, + {"2001:559:c259::/48", "7922"}, + {"2602:fe13:fa0::/44", "53356"}, + {"2800:bf0:824d::/46", "52257"}, + {"2806:320:380::/32", "28438"}, + {"2a00:1560:e::/43", "29684"}, + {"2a00:1818::/32", "3285"}, + {"2a02:6900:8804::/48", "43898"}, + {"2a07:59c6:eed9::/42", "56382"}, + {"2001:67c:235c::/48", "54990"}, + {"2406:3003:107c::/36", "4657"}, + {"2604:2d80:7200::/36", "30036"}, + {"2620:e4::/48", "17365"}, + {"2803:9810::/39", "36492"}, + {"2a00:f380::/32", "39551"}, + {"2a02:26f7:bbc1::/46", "20940"}, + {"2a02:26f7:ed84::/48", "36183"}, + {"2a02:26f7:fa08::/48", "36183"}, + {"2a03:ac60::/32", "199758"}, + {"2a0e:6c00::/29", "63023"}, + {"2001:49f0:a01c::/46", "174"}, + {"2405:3240::/36", "132434"}, + {"2409:8754:c800::/34", "9808"}, + {"240a:a049::/32", "142723"}, + {"240a:a9bb::/32", "145141"}, + {"2600:380:ea00::/39", "7018"}, + {"2803:d080:a135::/33", "27960"}, + {"2001:250:1c0b::/45", "138376"}, + {"2804:53e0::/32", "28258"}, + {"2001:918:ff5e::/42", "3303"}, + {"2401:4900:54c0::/39", "45609"}, + {"2401:8a00:f601::/40", "10099"}, + {"2610:28:5030::/48", "13371"}, + {"2a02:26f7:c34c::/48", "36183"}, + {"2001:df0:2f5::/48", "55912"}, + {"2620:171:39::/46", "715"}, + {"2a0d:1600::/32", "57354"}, + {"2001:559:858b::/48", "33491"}, + {"2400:bb40:2010::/47", "141039"}, + {"2400:cb00:422::/45", "13335"}, + {"2606:1a40:2012::/47", "42473"}, + {"2607:ffa0::/47", "19355"}, + {"2001:da8:256::/48", "23910"}, + {"2405:9800:b419::/45", "45430"}, + {"2607:f428:93c0::/42", "19115"}, + {"2001:579:cf04::/46", "22773"}, + {"2402:800:571d::/42", "7552"}, + {"2605:5c0:c045::/44", "28885"}, + {"2a05:dfc7:100::/43", "200897"}, + {"2a0c:7ac0::/29", "203215"}, + {"2a04:4e40:1000::/48", "54113"}, + {"2a09:2200::/29", "29655"}, + {"2400:cb00:a1c0::/45", "13335"}, + {"240a:a5cb::/32", "144133"}, + {"2a02:26f7:bc44::/48", "36183"}, + {"2a0f:c087:c3ae::/48", "212521"}, + {"2001:200:f00::/32", "2500"}, + {"2001:250:6032::/38", "23910"}, + {"2001:67c:3a8::/48", "51839"}, + {"2001:da8:21a::/48", "24348"}, + {"2605:3a00:7::/48", "22768"}, + {"2610:f0:6b5::/36", "22925"}, + {"2a09:54c0::/29", "61138"}, + {"2001:253:105::/48", "142071"}, + {"2a01:b940::/30", "48635"}, + {"2a05:b0c6:200a::/48", "208753"}, + {"2001:678:58c::/48", "204926"}, + {"2402:b780::/41", "64047"}, + {"2a0f:2ac0::/29", "60262"}, + {"240e:473::/32", "140485"}, + {"2804:1c2c:2000::/32", "262869"}, + {"2a02:26f7:e6c1::/46", "20940"}, + {"2402:4440::/32", "24423"}, + {"2607:6000:300::/40", "12189"}, + {"2a07:a80::/29", "34766"}, + {"2001:4490:3fbc::/46", "9829"}, + {"240a:a8c6::/32", "144896"}, + {"2600:100a:9110::/36", "22394"}, + {"2606:2800:8::/47", "15133"}, + {"2804:5f38::/32", "269084"}, + {"2804:8564:2180::/32", "262313"}, + {"2a02:26f7:d705::/46", "20940"}, + {"2a0a:2842:aa00::/46", "136796"}, + {"240a:aaa0::/32", "145370"}, + {"2600:9000:1197::/48", "16509"}, + {"2803:9800:a505::/46", "11664"}, + {"2001:4878:8048::/48", "12222"}, + {"240a:a444::/32", "143742"}, + {"240a:aa9d::/32", "145367"}, + {"2607:fd48::/62", "13536"}, + {"2806:20d:161e::/47", "32098"}, + {"2806:261:1300::/41", "13999"}, + {"2a00:6901:a103::/48", "20926"}, + {"2001:418:2401:1::/64", "20940"}, + {"2001:678:bbc::/48", "207671"}, + {"2402:800:5e40::/43", "7552"}, + {"2408:84f3:3250::/44", "17816"}, + {"2604:f500:2::/32", "16698"}, + {"2a09:a443::/32", "205479"}, + {"2a0e:57c0:800::/38", "12731"}, + {"240e:379:ac00::/33", "4134"}, + {"240e:44d:3700::/42", "140345"}, + {"2606:70c0::/32", "399951"}, + {"2402:800:997f::/40", "7552"}, + {"2600:1415:401::/36", "20940"}, + {"2800:160:1e3c::/41", "14259"}, + {"2405:8a00:c024::/46", "55824"}, + {"2408:8956:8800::/40", "17622"}, + {"240a:a942::/32", "145020"}, + {"2600:6c39:9::/45", "20115"}, + {"2607:b400:a02::/48", "1312"}, + {"2804:41b4:5000::/32", "267451"}, + {"2806:2f0:322::/47", "22884"}, + {"2a02:2668:6700::/35", "16345"}, + {"2a06:e881:170f::/48", "206813"}, + {"2401:4900:4abb::/48", "45609"}, + {"2804:14d4::/32", "263353"}, + {"2001:559:78f::/48", "7015"}, + {"2001:67c:2328::/48", "31473"}, + {"2606:e780::/32", "394868"}, + {"2804:14c:4387::/43", "28573"}, + {"2804:2038::/32", "264478"}, + {"2a01:4260::/32", "205938"}, + {"2a01:6920::/32", "54876"}, + {"2001:559:c039::/48", "33650"}, + {"2409:896a:4a00::/39", "9808"}, + {"2607:6100:1000::/48", "54380"}, + {"2a06:e2c0::/29", "56697"}, + {"2001:fd8:3340::/42", "132199"}, + {"2606:1fc0::/40", "21529"}, + {"2620:15e:7001::/48", "30383"}, + {"2800:160:1af8::/46", "14259"}, + {"2a0d:e4c4:4000::/36", "210625"}, + {"2001:559:8094::/47", "33490"}, + {"2402:800:949b::/42", "7552"}, + {"2402:9800:4003::/48", "38508"}, + {"240a:a910::/32", "144970"}, + {"2401:d800:90b0::/41", "7552"}, + {"2402:800:3463::/43", "7552"}, + {"2607:f740:e051::/44", "63911"}, + {"2a01:b747:3003::/32", "714"}, + {"2600:6c10:409::/46", "20115"}, + {"2a00:fd0::/32", "30914"}, + {"2a0e:97c0:4df::/48", "211024"}, + {"2803:24c0::/37", "264796"}, + {"2a01:9a80::/30", "39120"}, + {"2a05:b740::/29", "210026"}, + {"2001:559:15a::/48", "7725"}, + {"2409:8073:801::/34", "9808"}, + {"240a:ae69::/32", "146339"}, + {"2602:feda:af3::/48", "131477"}, + {"2607:fd78:102::/37", "26677"}, + {"2804:4d3c:a10::/42", "267420"}, + {"2a01:6a40:1::/48", "30720"}, + {"2001:559:8703::/48", "33651"}, + {"2001:c38:9010::/47", "9931"}, + {"2001:4430:5310::/34", "17853"}, + {"2604:bc0::/48", "8100"}, + {"2607:5100::/28", "36734"}, + {"2405:9800:b811::/44", "45430"}, + {"2804:1558::/32", "263385"}, + {"2a01:5043:2efd::/48", "202196"}, + {"2a01:9dc0:beef::/48", "30361"}, + {"2a02:26f7:eb49::/46", "20940"}, + {"2001:250:23e::/48", "133111"}, + {"240a:a826::/32", "144736"}, + {"2605:de40::/35", "397553"}, + {"2a0b:8e40::/29", "51571"}, + {"2a02:970:1354::/40", "44002"}, + {"2a06:600::/29", "200742"}, + {"2001:250:fe02::/39", "23910"}, + {"2a0f:5707:aac0::/44", "48646"}, + {"2001:44b8:405d::/48", "4739"}, + {"2804:14c:b100::/40", "28573"}, + {"2a0c:67c0::/29", "29262"}, + {"2001:559:526::/48", "7016"}, + {"2001:67c:2904::/48", "212125"}, + {"2404:bf40:a681::/48", "2764"}, + {"2001:7fb:fe0a::/45", "12654"}, + {"2800:bf0:8284::/46", "27947"}, + {"2804:27b8::/32", "263918"}, + {"2806:310:22::/45", "16960"}, + {"2a0f:9400:7398::/48", "210815"}, + {"2804:41b8::/32", "267452"}, + {"2a03:3d80::/29", "13113"}, + {"2a0a:a042::/29", "12552"}, + {"2001:df1:b080::/48", "131373"}, + {"240e:44d:680::/41", "4134"}, + {"240e:473:ff01::/48", "140486"}, + {"240e:67d:8800::/38", "140330"}, + {"2600:2700::/28", "81"}, + {"2804:71ac::/32", "270804"}, + {"2a00:4800:1f0::/38", "8717"}, + {"2a03:5640:f000::/41", "16509"}, + {"2001:388:5071::/34", "7575"}, + {"2001:559:c099::/46", "7015"}, + {"2001:1248:56f6::/44", "11172"}, + {"2001:4200::/41", "2018"}, + {"240a:ae0f::/32", "146249"}, + {"2800:bf0:814b::/48", "52257"}, + {"2a04:4e40:6e00::/48", "54113"}, + {"2001:559:838b::/48", "33651"}, + {"2001:1248:55e6::/43", "11172"}, + {"2600:80d:a::/43", "6984"}, + {"2600:100a:f110::/36", "22394"}, + {"2620:13c:8000::/44", "27360"}, + {"2804:81c::/32", "262346"}, + {"2001:559:449::/48", "7016"}, + {"2001:41f0::/32", "33915"}, + {"2a00:1fa8::/32", "8818"}, + {"2a03:db80:4411::/46", "680"}, + {"2001:1248:55da::/42", "11172"}, + {"240e:3be:c800::/37", "4134"}, + {"2602:fcf8::/36", "7018"}, + {"2607:ffb0:3004::/44", "6327"}, + {"240e:950::/36", "137693"}, + {"2605:6400:300::/48", "53667"}, + {"2804:35b8::/32", "266302"}, + {"2a01:9f60::/32", "34139"}, + {"2a02:26f7:df84::/48", "36183"}, + {"2c0f:ed98::/32", "328483"}, + {"2001:559:729::/46", "33659"}, + {"2001:b28:a70d::/64", "42765"}, + {"2001:1b50::/29", "1836"}, + {"2402:1b80:9000::/33", "63956"}, + {"240e:44d:7a00::/42", "140345"}, + {"2604:f940::/45", "397134"}, + {"2606:2800:506b::/48", "14153"}, + {"2607:4580::/32", "395173"}, + {"2806:2f0:2042::/48", "17072"}, + {"2409:8904:8e90::/39", "24547"}, + {"2409:8959:cf54::/30", "56040"}, + {"2606:4700:7000::/48", "13335"}, + {"2a01:5b8::/29", "16333"}, + {"2a02:26f7:e885::/46", "20940"}, + {"240a:a325::/32", "143455"}, + {"2806:230:1015::/48", "11888"}, + {"2a02:26f7:d040::/48", "36183"}, + {"2800:484:3b00::/33", "14080"}, + {"2a00:f70::/32", "30962"}, + {"2a02:214d:f000::/36", "1241"}, + {"2001:559:3f1::/48", "33657"}, + {"2001:4408:4d09::/35", "4758"}, + {"2400:0:860::/44", "4766"}, + {"240e:90d:a000::/36", "137688"}, + {"2a07:1440::/29", "203293"}, + {"2a09:19c0:8000::/48", "56335"}, + {"2a09:5080::/48", "42652"}, + {"2001:559:c2ee::/48", "33287"}, + {"2001:1248:964f::/43", "11172"}, + {"2a0d:2580::/47", "213262"}, + {"2409:8a50:f00::/35", "56047"}, + {"2804:785c::/32", "271237"}, + {"2a0f:b140::/29", "50067"}, + {"2a10:dac0:100::/48", "50399"}, + {"2001:1a11:83::/48", "8781"}, + {"2402:e280:2000::/39", "134674"}, + {"2804:11d4::/37", "263442"}, + {"2804:189c::/32", "61943"}, + {"2806:2ee::/32", "265539"}, + {"2a00:d30:16::/48", "202024"}, + {"2a00:a600::/32", "56595"}, + {"2001:438:fffd:6c::/64", "7181"}, + {"2001:df6:fd80::/48", "137531"}, + {"2001:250:1827::/38", "23910"}, + {"2400:5460:8::/46", "135177"}, + {"2408:8256:2d6a::/48", "17816"}, + {"2604:d600:1277::/40", "32098"}, + {"2620:11f:d00c::/46", "393941"}, + {"2804:532c::/32", "268568"}, + {"2804:77f0::/32", "271209"}, + {"2a00:1188:11::/44", "8455"}, + {"2804:14c:3b00::/40", "28573"}, + {"2804:5b2c::/32", "268823"}, + {"2c0f:ef78:9::/48", "63293"}, + {"2001:fb0:109f:8011::/62", "7470"}, + {"2603:8080::/26", "11427"}, + {"2a0a:3840::/29", "39287"}, + {"2a0f:72c0::/29", "52031"}, + {"2402:e380:311::/48", "139058"}, + {"240a:adad::/32", "146151"}, + {"2803:7e00::/33", "28026"}, + {"2803:9810:2000::/48", "14593"}, + {"2804:1534::/32", "263377"}, + {"2001:559:27::/44", "7922"}, + {"2001:4408:6d00::/44", "55824"}, + {"2401:a480::/48", "1221"}, + {"2404:3d00:400a::/45", "21433"}, + {"240e:108:1102::/44", "4134"}, + {"2803:9800:9485::/41", "11664"}, + {"2a0e:d9c0::/29", "39287"}, + {"240a:ab79::/32", "145587"}, + {"2800:370:48::/48", "28006"}, + {"2800:8a0:b000::/36", "5722"}, + {"2804:7a60:200::/32", "271367"}, + {"2a02:26f7:db0c::/48", "36183"}, + {"2a02:6900:8808::/47", "43894"}, + {"2a0a:90c0:1055::/44", "205080"}, + {"2409:8055:306c::/48", "141425"}, + {"240a:acfb::/32", "145973"}, + {"2a02:26f7:d38a::/42", "20940"}, + {"2001:559:8145::/46", "7922"}, + {"2600:9000:2091::/44", "16509"}, + {"2620:74:a5::/46", "7342"}, + {"2800:484:100::/38", "14080"}, + {"2804:3adc::/32", "266114"}, + {"2a06:1287:330d::/48", "208753"}, + {"2408:8956:3700::/40", "17816"}, + {"2409:802e:2902::/48", "9808"}, + {"240e:96b:6015::/46", "140371"}, + {"2a00:d70::/32", "29097"}, + {"2001:df0:270::/48", "9836"}, + {"2401:c240:2100::/33", "132847"}, + {"2405:a900::/32", "55992"}, + {"2600:1408:21::/46", "20940"}, + {"2605:a7c0:100::/48", "14618"}, + {"2620:4d:4020::/48", "62597"}, + {"2804:82e0::/32", "272162"}, + {"2a04:de80::/29", "201952"}, + {"2001:559:847a::/48", "33657"}, + {"2602:ffc5:500::/40", "26548"}, + {"2a02:26f7:cd88::/48", "36183"}, + {"2a02:2698:a002::/48", "31483"}, + {"2a02:26f7:dbc5::/46", "20940"}, + {"2a02:45c0:18::/32", "59675"}, + {"2a0a:6040:ac96::/48", "211954"}, + {"2a0b:4880::/46", "48614"}, + {"2001:1248:4400::/42", "11172"}, + {"2804:4c14:fa01::/39", "267348"}, + {"2408:80ea:4000::/34", "17816"}, + {"2a02:26f7:f3c8::/48", "36183"}, + {"2403:6b00:2000::/48", "58562"}, + {"2602:80b:5000::/47", "18792"}, + {"2a09:bac0:34::/47", "13335"}, + {"2a0c:b641:1d0::/48", "211227"}, + {"2001:678:6e0::/46", "202329"}, + {"2001:67c:638::/48", "60059"}, + {"2408:8456:de10::/42", "134543"}, + {"2a04:4e40:1640::/44", "54113"}, + {"2a07:c9c0::/29", "59659"}, + {"2a0f:fb80::/29", "60262"}, + {"240e:45c:3900::/40", "140528"}, + {"2620:171:f2::/47", "715"}, + {"2405:9000:80::/48", "17719"}, + {"2406:840:ece0::/44", "213215"}, + {"2406:3000:11:101b::/50", "4657"}, + {"2406:57c0:244::/46", "134672"}, + {"2409:8c20:5224::/37", "56046"}, + {"240a:ad55::/32", "146063"}, + {"2600:140f:2401::/39", "20940"}, + {"2603:9033::/32", "33363"}, + {"2605:a401:8039::/41", "33363"}, + {"2a02:928::/43", "34108"}, + {"2a09:bd00:ffc9::/48", "204582"}, + {"2403:6c0:137::/48", "137366"}, + {"2804:2084::/32", "264496"}, + {"2a02:26f7:d509::/46", "20940"}, + {"2001:250:641a::/42", "24367"}, + {"2402:540::/47", "132996"}, + {"240a:a6c2::/32", "144380"}, + {"2602:fd50:200::/40", "207609"}, + {"2801:1d:e800::/48", "271918"}, + {"2a02:2e02:2060::/39", "12479"}, + {"2400:c180:20::/47", "132513"}, + {"2a02:26f7:e9c8::/48", "36183"}, + {"2a02:2ca0::/32", "43350"}, + {"2a06:c8c0::/30", "203623"}, + {"2406:4580::/32", "59123"}, + {"2600:d400::/31", "1403"}, + {"2803:efc0:1::/32", "266664"}, + {"2001:dc8:2003::/48", "131123"}, + {"2600:1012:b0f0::/44", "22394"}, + {"2600:1408:4400::/48", "35994"}, + {"2800:160:1185::/44", "14259"}, + {"2804:1d04::/45", "61689"}, + {"2804:38b0::/38", "266494"}, + {"2804:7c90::/32", "271504"}, + {"2a0e:dd40::/32", "397735"}, + {"2a10:38c0::/29", "204790"}, + {"240c:f:2::/32", "45275"}, + {"240e:438:a440::/38", "4134"}, + {"2605:a900:3005::/48", "55088"}, + {"2a03:b100::/32", "15991"}, + {"2001:559:c28c::/47", "33491"}, + {"2001:4288:8008::/48", "36903"}, + {"240a:aaa4::/32", "145374"}, + {"2a0e:b107:9c0::/44", "213171"}, + {"2001:4488:2001::/45", "7713"}, + {"240a:ab64::/32", "145566"}, + {"240e:966:d600::/34", "4134"}, + {"2803:9800:a0a2::/37", "11664"}, + {"2804:a14:8400::/33", "262342"}, + {"2a11:2307::/37", "209209"}, + {"2001:559:492::/47", "7922"}, + {"2a03:c780::/32", "29672"}, + {"2001:559:482::/48", "33650"}, + {"2001:67c:2c0::/48", "49014"}, + {"2405:9800:bc81::/38", "45430"}, + {"2607:f00::/32", "5704"}, + {"2a02:26f7:dd45::/46", "20940"}, + {"2a04:a140::/32", "62217"}, + {"2001:67c:2724::/48", "211696"}, + {"240a:ae7b::/32", "146357"}, + {"2804:db0:184::/32", "52862"}, + {"2a06:e881:6209::/48", "7489"}, + {"2a0a:e5c0:303::/45", "207996"}, + {"2001:559:8360::/47", "7922"}, + {"2408:8456:1e00::/42", "17622"}, + {"2408:8459:4ec0::/35", "17816"}, + {"2600:6c38:b0c::/47", "20115"}, + {"2804:e30:1c00::/38", "11338"}, + {"2a02:27f8::/32", "42755"}, + {"2001:579:b1c4::/38", "22773"}, + {"2402:8100:3100::/40", "55644"}, + {"2409:8070:30ee::/48", "140105"}, + {"240a:a4b9::/32", "143859"}, + {"2605:9000::/32", "10929"}, + {"2a02:26f7:e005::/46", "20940"}, + {"240a:a37b::/32", "143541"}, + {"2a0a:23c0::/29", "39730"}, + {"2001:67c:580::/48", "12703"}, + {"2001:67c:1388::/48", "13030"}, + {"2602:807:6000::/46", "53978"}, + {"2606:a600:5::/46", "23005"}, + {"2804:1cd0::/32", "61677"}, + {"2001:559:c3fe::/48", "33659"}, + {"2605:de00::/40", "30083"}, + {"2001:559:8487::/48", "33287"}, + {"2409:8055:11::/45", "56040"}, + {"2804:2050:6a8c::/35", "264485"}, + {"2001:67c:2f74::/48", "198992"}, + {"2607:ff28:b017::/42", "62904"}, + {"2806:2f0:4243::/42", "17072"}, + {"2c0f:f6d0:b::/43", "327687"}, + {"2001:559:c0f3::/45", "7922"}, + {"2001:1990::/32", "5693"}, + {"2605:640f:e511::/46", "53667"}, + {"2800:484:700::/36", "14080"}, + {"2606:6680:29::/48", "12129"}, + {"2a00:ab40:4001::/35", "41798"}, + {"2a03:e581:5::/29", "49282"}, + {"2409:8055:45::/44", "56040"}, + {"2600:9000:2381::/48", "16509"}, + {"2804:4a30::/32", "267223"}, + {"2804:52dc::/32", "268546"}, + {"2a00:8647::/32", "31056"}, + {"2a02:26f7:f40d::/42", "20940"}, + {"2402:800:9955::/42", "7552"}, + {"240a:a111::/32", "142923"}, + {"2605:2800:c301::/34", "6922"}, + {"2804:619c::/32", "269245"}, + {"2a00:ea0::/29", "202204"}, + {"2a02:26f7:cb49::/42", "20940"}, + {"2a02:26f7:f6fd::/46", "20940"}, + {"2a06:6540:2002::/48", "3356"}, + {"2001:4878:b027::/48", "12222"}, + {"2403:580:400::/36", "134715"}, + {"2600:1411:2::/34", "20940"}, + {"2602:fed2:7126::/48", "398325"}, + {"2804:3a8c::/32", "266095"}, + {"2804:7104::/32", "270762"}, + {"2a02:26f7:c940::/48", "36183"}, + {"2a02:26f7:d15c::/47", "36183"}, + {"2404:5e40:a::/32", "137703"}, + {"240a:acc6::/32", "145920"}, + {"2600:1003:b440::/42", "6167"}, + {"2600:6c38:640::/39", "20115"}, + {"2804:b18:9000::/33", "52941"}, + {"2a02:26f7:e0c4::/48", "36183"}, + {"2a02:6300:30::/48", "57801"}, + {"2001:fb0:1072::/45", "7470"}, + {"2402:4840::/32", "137329"}, + {"2600:1407:c00::/48", "35994"}, + {"2804:1304::/32", "263510"}, + {"2a0b:8f00::/29", "33988"}, + {"2001:559:8120::/48", "19231"}, + {"240e:5e:10b0::/44", "140318"}, + {"2600:6c38:266::/43", "20115"}, + {"2602:fe19:4003::/45", "26073"}, + {"2610:88:223::/32", "14037"}, + {"2a02:26f7:bc08::/48", "36183"}, + {"2a07:af00::/29", "202625"}, + {"2001:559:8658::/48", "7015"}, + {"2001:da8:241::/46", "24350"}, + {"2409:8753:100::/38", "56047"}, + {"2409:8d5a:608::/32", "56040"}, + {"2804:37c4::/32", "266435"}, + {"2806:2f0:9543::/42", "17072"}, + {"2406:3003:1016::/42", "55430"}, + {"2602:fc5d:10::/44", "399866"}, + {"2001:1938:3000::/45", "33438"}, + {"2402:4000:b281::/36", "18001"}, + {"2606:a000:1800::/34", "11426"}, + {"2610:20:8800::/46", "3477"}, + {"2a00:4cc0::/32", "57664"}, + {"2a02:4b00::/29", "50168"}, + {"2a0c:2540::/29", "34820"}, + {"2001:559:852d::/48", "33662"}, + {"2001:67c:2c28::/48", "57118"}, + {"2409:8924:3d00::/33", "56046"}, + {"2806:2a0:11::/45", "28548"}, + {"2001:559:7f2::/48", "33489"}, + {"2001:1a11:1f::/42", "8781"}, + {"2409:8c21::/29", "9808"}, + {"2a0f:8640::/32", "25682"}, + {"2001:559:242::/48", "7016"}, + {"240a:a270::/32", "143274"}, + {"240e:44d:6b00::/42", "140345"}, + {"2620:1d5:200::/37", "14773"}, + {"2a01:760::/32", "41622"}, + {"2a02:26f7:eacd::/42", "20940"}, + {"2a0f:7280::/48", "60781"}, + {"2402:f840::/47", "137883"}, + {"2a07:4b00::/29", "48813"}, + {"2a01:4f8::/31", "24940"}, + {"2a02:ff0:3a00::/40", "12735"}, + {"2001:1248:59c7::/43", "11172"}, + {"2001:4490:3fe4::/33", "9829"}, + {"2801:0:3b0::/48", "19429"}, + {"2804:1658::/35", "263283"}, + {"2a11:7c0::/29", "211084"}, + {"2001:13d2:5804::/34", "7303"}, + {"2001:44b8:405b::/48", "4739"}, + {"2409:8d15:a00::/35", "56044"}, + {"2a07:4ac0:2400::/40", "205881"}, + {"2001:559:c358::/48", "7016"}, + {"2408:8756:d000::/40", "134543"}, + {"2804:5364:6000::/35", "268581"}, + {"2806:106e:10::/48", "8151"}, + {"2a02:26f7:b6c0::/48", "36183"}, + {"2400:7400:70::/48", "23736"}, + {"2600:1406:7c01::/38", "20940"}, + {"2620:101:2005::/46", "16417"}, + {"2804:28e4:e815::/46", "28260"}, + {"2806:230:3013::/48", "11888"}, + {"2a0a:c380::/29", "50308"}, + {"2a0f:cc86::/31", "208861"}, + {"2406:3001:22:2::/60", "4657"}, + {"2409:8904:6240::/42", "24547"}, + {"240a:a729::/32", "144483"}, + {"2606:c00:32::/48", "10126"}, + {"2804:7894::/32", "271252"}, + {"2a02:26f7:e4c5::/46", "20940"}, + {"2409:8914:ba00::/37", "56044"}, + {"2804:1d04:402::/36", "61689"}, + {"2a11:5d40::/29", "204790"}, + {"2405:f080:820::/40", "136907"}, + {"240e:44d:d00::/41", "140345"}, + {"2604:6400:4520::/38", "29974"}, + {"2605:52c0:1::/46", "54574"}, + {"2a01:a280:6::/48", "35000"}, + {"2a0d:8800::/29", "205624"}, + {"2001:dc7:fff2::/44", "24151"}, + {"2404:6980:32::/48", "58431"}, + {"2409:8c85:7c01::/32", "9808"}, + {"2800:bf0:82d0::/46", "52257"}, + {"2804:7898:5000::/48", "271253"}, + {"2a09:a080::/48", "44364"}, + {"2001:559:8486::/48", "33657"}, + {"2001:938:400c::/42", "8437"}, + {"2a01:e09::/32", "29447"}, + {"2400:8000:5::/46", "4800"}, + {"2404:b300:23::/48", "59318"}, + {"2803:4040::/32", "10834"}, + {"2804:236c::/32", "264161"}, + {"2a03:a480::/32", "59469"}, + {"2405:c840::/32", "140072"}, + {"2804:14d:1686::/44", "28573"}, + {"2804:1f0a:8000::/34", "10938"}, + {"2a00:1e08::/32", "196997"}, + {"2a00:4802:e00::/42", "13124"}, + {"2407:3780::/32", "132960"}, + {"2408:8957:9200::/40", "17622"}, + {"2409:804e:900::/35", "9808"}, + {"240a:ae79::/32", "146355"}, + {"240e:947:1000::/46", "137690"}, + {"2a02:2e02:8ab0::/41", "12479"}, + {"2a0b:6b86:f30::/40", "211387"}, + {"2401:5300::/32", "45680"}, + {"240e:67c:8800::/38", "140330"}, + {"240e:97a:2d00::/48", "23650"}, + {"2606:1680::/32", "63414"}, + {"2620:149:551::/42", "714"}, + {"2804:c84::/47", "52720"}, + {"2a01:450::/32", "6908"}, + {"2a02:2399:101::/48", "9166"}, + {"2a03:f80:ad15::/48", "57169"}, + {"2409:8904:9590::/38", "24547"}, + {"2804:2a54::/32", "264069"}, + {"2001:250:2e00::/48", "138442"}, + {"2001:559:72d::/48", "33659"}, + {"2407:a300::/32", "132497"}, + {"2a00:1ca8:56::/48", "211623"}, + {"2a0b:4340:70::/48", "205618"}, + {"2001:559:8245::/48", "33657"}, + {"2001:19e8:8ab0::/48", "4046"}, + {"2800:200:f181::/41", "12252"}, + {"2a04:4e40:8e00::/48", "54113"}, + {"2600:1408:c00::/48", "35994"}, + {"2604:f400:51::/48", "29930"}, + {"2a03:5640::/32", "2906"}, + {"2001:4d0:241b::/48", "22767"}, + {"2001:500:85::/48", "53459"}, + {"2001:559:31d::/46", "7016"}, + {"2001:df2:7700::/48", "45240"}, + {"2605:b380::/32", "13333"}, + {"2a03:6947:1100::/37", "61266"}, + {"2a0f:5c47:3e8::/48", "206499"}, + {"2400:1700::/39", "4628"}, + {"2403:1140::/32", "135719"}, + {"240a:ae09::/32", "146243"}, + {"2607:9e00::/35", "30536"}, + {"2a00:1840::/32", "12333"}, + {"2a0f:9441:42::/47", "62240"}, + {"2a10:80c0::/48", "211331"}, + {"2001:678:848::/48", "8873"}, + {"2801:1fc:20::/48", "27951"}, + {"2804:67e8::/32", "269658"}, + {"2a00:db20::/32", "62429"}, + {"2001:559:c0a4::/48", "33491"}, + {"2001:67c:2a84::/48", "204847"}, + {"2a02:26f7:ca85::/46", "20940"}, + {"2a02:26f7:e0c1::/46", "20940"}, + {"2a10:8400::/29", "203206"}, + {"2001:67c:530::/48", "42295"}, + {"2001:df4:6c00::/48", "133802"}, + {"2409:8080:2a70::/40", "9808"}, + {"2604:edc0::/32", "40764"}, + {"2607:f358:25::/48", "398826"}, + {"2804:74d4::/32", "271006"}, + {"240e:804:400::/30", "4134"}, + {"2804:19c8:1010::/34", "61818"}, + {"2a09:bac0:40::/48", "13335"}, + {"2401:d800:2600::/42", "7552"}, + {"240a:aacc::/32", "145414"}, + {"240e:6b9:2000::/36", "140312"}, + {"2804:cb0:d308::/36", "52742"}, + {"2a0c:90c0::/29", "197637"}, + {"2a02:26f0:4b00::/48", "35994"}, + {"2a04:940:1601::/29", "51407"}, + {"2a10:14c0::/29", "1239"}, + {"2001:468:509::/40", "14041"}, + {"2803:d080::/32", "27960"}, + {"2804:20c0::/32", "264512"}, + {"2a10:68c0::/29", "30633"}, + {"2001:1218::/33", "278"}, + {"2602:fba1:a00::/40", "60438"}, + {"2605:72c0:a::/48", "40401"}, + {"2806:2f0:4363::/40", "17072"}, + {"2a03:9d40:2000::/37", "41095"}, + {"2a10:6840::/29", "60781"}, + {"2610:48::/32", "557"}, + {"2620:171:66::/44", "42"}, + {"2803:2800::/33", "52368"}, + {"2804:2610::/32", "264321"}, + {"2a01:c50e:b900::/37", "12479"}, + {"2a02:878:a80e::/48", "42632"}, + {"2404:8d06:8000::/40", "133543"}, + {"2408:8957:ab00::/40", "17816"}, + {"2409:8924:5100::/38", "56046"}, + {"2600:100e:9f20::/34", "6167"}, + {"2804:7ac8::/32", "271392"}, + {"2a01:cb20:d000::/34", "3215"}, + {"2a06:a005:2d0::/42", "210542"}, + {"2602:fd7d::/39", "16925"}, + {"2a02:2668:7900::/32", "16345"}, + {"2a03:f8c0::/32", "201973"}, + {"2001:cf8:6::/36", "9619"}, + {"2001:1248:9601::/43", "11172"}, + {"240a:a4bc::/32", "143862"}, + {"2602:fcd3:300::/48", "212934"}, + {"2a03:4400::/29", "28999"}, + {"2a0a:dc05::/30", "51262"}, + {"2001:559:527::/44", "7015"}, + {"2401:d800:dd12::/40", "7552"}, + {"2402:800:9dfe::/38", "7552"}, + {"2405:ba00:8000::/48", "23885"}, + {"2600:1004:f100::/44", "6167"}, + {"2600:1401:6002::/32", "20940"}, + {"2a01:7640:400::/48", "60708"}, + {"2a06:d9c0::/29", "60059"}, + {"2001:df7:480c::/48", "131893"}, + {"2001:4200:ab10::/33", "2018"}, + {"2604:880:4f::/43", "29802"}, + {"2800:120::/45", "27843"}, + {"2a02:2230:1200::/39", "25467"}, + {"2a02:26f7:f185::/46", "20940"}, + {"240e:b6::/36", "58563"}, + {"2607:f808::/32", "3464"}, + {"2620:123:f000::/48", "20127"}, + {"2620:138:7000::/44", "14747"}, + {"2801:126::/44", "262589"}, + {"2a00:ab60::/29", "60522"}, + {"2001:4c8:1008::/48", "25864"}, + {"2403:8c0::/32", "137406"}, + {"2405:204:9000::/33", "55836"}, + {"2620:b4::/48", "1341"}, + {"2a02:100e:6b80::/48", "212587"}, + {"2a02:26f7:cb40::/48", "36183"}, + {"2001:559:8712::/47", "7725"}, + {"2001:559:c0c5::/48", "33491"}, + {"2408:8957:9400::/40", "17622"}, + {"240a:aa5d::/32", "145303"}, + {"2610::/32", "11084"}, + {"2620:12e:4001::/48", "36741"}, + {"2804:30f8:c00::/32", "264984"}, + {"2001:840::/29", "2116"}, + {"2402:4000::/35", "18001"}, + {"240e:3b9:7800::/39", "4134"}, + {"2804:14d:148a::/45", "28573"}, + {"2804:5cdc::/32", "268935"}, + {"2c0e::/37", "24863"}, + {"2001:44b8:4044::/48", "7545"}, + {"2620:0:860::/46", "14907"}, + {"2a09:ccc0::/29", "209222"}, + {"240a:ab9a::/32", "145620"}, + {"2a00:1a40::/32", "33923"}, + {"2a09:0:12::/48", "60144"}, + {"2a0b:f240::/29", "202509"}, + {"2001:da8:239::/48", "23910"}, + {"2402:800:5b55::/42", "7552"}, + {"2408:8456:c640::/39", "17816"}, + {"2804:2a7c::/32", "264075"}, + {"2806:109f:7::/44", "8151"}, + {"2001:559:c045::/46", "7015"}, + {"2403:8300:e04::/44", "204527"}, + {"2406:2000:1a0::/46", "10229"}, + {"240a:a1c0::/32", "143098"}, + {"240a:ad4e::/32", "146056"}, + {"2602:fcda::/36", "54142"}, + {"2a02:26f7:bdc9::/46", "20940"}, + {"2c0f:fdf0::/32", "37150"}, + {"2001:67c:1213::/48", "47445"}, + {"2402:800:fbd0::/37", "7552"}, + {"2407:8800::/32", "7545"}, + {"2407:cdc0:e006::/48", "38136"}, + {"2409:8050:3900::/32", "9808"}, + {"2607:f738:700::/41", "17184"}, + {"2804:84d0::/32", "272542"}, + {"2a0a:4a40:2270::/46", "200280"}, + {"240e:3b1:3e00::/33", "140308"}, + {"2600:1417:801::/38", "20940"}, + {"2a03:2887:ff0d::/48", "35819"}, + {"2a06:eb00::/46", "203462"}, + {"2001:44b8:4069::/48", "4739"}, + {"240a:a55b::/32", "144021"}, + {"2600:805:148::/48", "12234"}, + {"2602:febe::/38", "30405"}, + {"2a0c:a9c7:247::/48", "45018"}, + {"2001:67c:2b50::/48", "44865"}, + {"2401:4900:948::/40", "45609"}, + {"2401:d800:e62::/40", "7552"}, + {"2620:124:6040::/43", "22918"}, + {"2804:8424:4100::/32", "272242"}, + {"2a05:5244::/30", "198722"}, + {"2804:4594::/32", "266936"}, + {"2a00:1288:efc4::/48", "14778"}, + {"2001:559:7dd::/46", "7922"}, + {"2001:78d::/30", "6893"}, + {"240e:944:3000::/36", "58541"}, + {"2600:1806:320::/48", "16552"}, + {"2606:7c00::/32", "46103"}, + {"2001:df7:5080::/48", "137655"}, + {"2403:9800:7700::/40", "4648"}, + {"2604:d600:162d::/46", "32098"}, + {"2620:2d:a000::/48", "27282"}, + {"2800:160:1630::/46", "14259"}, + {"2804:4f98::/32", "268337"}, + {"2804:7248::/32", "270844"}, + {"2001:67c:434::/48", "8422"}, + {"2001:67c:2e8c::/48", "8881"}, + {"2406:daa0:f040::/44", "16509"}, + {"240a:ad63::/32", "146077"}, + {"2600:3000::/35", "13649"}, + {"2001:559:c15c::/48", "7015"}, + {"2001:67c:2464::/48", "39022"}, + {"2400:36a0:3d::/46", "63991"}, + {"2400:ac40:ab0::/39", "136255"}, + {"240e:3b2:9200::/36", "140317"}, + {"2a02:2098::/29", "47314"}, + {"240a:a588::/32", "144066"}, + {"2a0c:8dc7::/32", "43260"}, + {"2600:1480:2800::/48", "21342"}, + {"2a0b:11c0:30::/45", "198682"}, + {"2001:559:529::/48", "7922"}, + {"2001:559:c4e7::/48", "33491"}, + {"2001:df0:1400::/48", "64010"}, + {"2402:800:b980::/42", "7552"}, + {"240a:a458::/32", "143762"}, + {"2804:7094::/33", "270735"}, + {"2404:c140:2596::/48", "131668"}, + {"2804:72b0::/32", "270869"}, + {"2001:559:809b::/48", "33491"}, + {"240e:3b5:8200::/35", "140316"}, + {"2607:fef8:ffe0::/46", "13750"}, + {"2a01:4f00:2234::/32", "35047"}, + {"2a03:4d22::/32", "59397"}, + {"2a07:7800::/47", "48254"}, + {"2403:0:206::/47", "4755"}, + {"240a:a7fc::/32", "144694"}, + {"240a:adea::/32", "146212"}, + {"2600:140b:9401::/38", "20940"}, + {"2001:559:837e::/48", "33491"}, + {"2401:2900:3f00::/40", "23679"}, + {"2800:160:1df9::/38", "14259"}, + {"2804:4c94::/32", "267379"}, + {"2a10:1900::/29", "208669"}, + {"2402:3280::/32", "134116"}, + {"2406:69c0:2000::/36", "132420"}, + {"2804:8050::/32", "271743"}, + {"2401:a400:c500::/34", "7477"}, + {"2409:8c14:a000::/36", "9808"}, + {"2804:3124::/32", "264996"}, + {"2a02:2f0c:d000:15::/58", "8708"}, + {"2a06:f980::/29", "174"}, + {"2604:8f00::/32", "17223"}, + {"2001:678:18::/48", "42385"}, + {"2600:1400::/45", "20940"}, + {"2001:fd0:2201::/39", "10029"}, + {"2001:4490:e000::/46", "9829"}, + {"2600:1003:f010::/40", "22394"}, + {"2620:32::/48", "4468"}, + {"2803:800::/45", "25607"}, + {"2803:4180:b00::/32", "263238"}, + {"2a03:5640:f144::/40", "2906"}, + {"2001:1248:883c::/46", "11172"}, + {"2402:9d80:a51::/42", "131429"}, + {"2403:9800:7f1f::/32", "4648"}, + {"2801:80:36c0::/48", "269209"}, + {"2001:470:150::/45", "6939"}, + {"2408:8459:4850::/38", "17816"}, + {"2620:144::/36", "53692"}, + {"2a00:9460::/31", "47631"}, + {"2a02:26f7:ee8d::/42", "20940"}, + {"2406:c500:ffd8::/48", "135421"}, + {"2409:8d15:1800::/39", "56044"}, + {"2a01:cb20:5000::/32", "3215"}, + {"2a02:bf0:2000::/33", "25106"}, + {"2a02:2698:8400::/38", "39028"}, + {"2a03:ce80::/32", "47562"}, + {"2a09:c2c0::/29", "31736"}, + {"2408:8459:a650::/36", "17816"}, + {"240c:ca0d::/27", "24363"}, + {"2804:480:1000::/40", "23002"}, + {"2a01:8840:1bd::/48", "13810"}, + {"2001:13c7:6007::/48", "52294"}, + {"2001:4878:c1e0::/44", "35994"}, + {"2604:eb00::/38", "19212"}, + {"2803:80::/35", "61317"}, + {"2804:6f4c:4000::/34", "270651"}, + {"2804:7b4c::/33", "271423"}, + {"2a07:e343::/32", "5511"}, + {"2001:67c:1798::/48", "51744"}, + {"2607:ffc8:1:2::/33", "17356"}, + {"2804:f50::/32", "263579"}, + {"2a0c:7e43:43be::/48", "20473"}, + {"2a0e:8440::/29", "47373"}, + {"2a0e:b107:272::/48", "210041"}, + {"2001:559:82ce::/48", "7922"}, + {"2408:8956:4f00::/40", "17816"}, + {"240a:a261::/32", "143259"}, + {"240a:ada5::/32", "146143"}, + {"2604:61c0:9001::/33", "29831"}, + {"2607:f250:d004::/48", "7046"}, + {"2620:0:930::/48", "1734"}, + {"2a02:26f7:b808::/48", "36183"}, + {"2a03:5e80::/32", "3233"}, + {"240a:409a:c000::/35", "58834"}, + {"2804:8688::/32", "272650"}, + {"2a00:4802:5100::/44", "13124"}, + {"2a02:7c40::/33", "5539"}, + {"2c0f:eea8:8000::/35", "39356"}, + {"2001:502:be98::/48", "7342"}, + {"2001:559:11f::/48", "7922"}, + {"2409:8959:c944::/43", "9808"}, + {"2a03:c800::/32", "56993"}, + {"2a0a:e140::/29", "16181"}, + {"2a0c:b641:140::/44", "211448"}, + {"2c0f:f2a8::/32", "327960"}, + {"2001:18f0::/32", "12059"}, + {"2800:5f0:2044::/35", "22724"}, + {"2a02:26f7:eac5::/46", "20940"}, + {"2001:67c:1870::/48", "15830"}, + {"2001:1568::/32", "39790"}, + {"2001:67c:10b0::/48", "31317"}, + {"2404:63c0:30::/44", "131645"}, + {"2a01:308::/32", "42009"}, + {"2a01:a280:100::/48", "58191"}, + {"240e:44d:8080::/27", "4134"}, + {"2a02:26f7:e849::/46", "20940"}, + {"2001:1900:2284::/48", "16491"}, + {"2401:4900:5550::/44", "45609"}, + {"2406:9c40:2002::/32", "55366"}, + {"2408:8456:e00::/42", "17622"}, + {"240a:aac6::/32", "145408"}, + {"2801:80:d90::/48", "264471"}, + {"2001:ee0:9e40::/39", "45899"}, + {"2001:4130:50f2::/48", "24725"}, + {"2403:1940:200::/48", "137935"}, + {"2600:5800:f78a::/48", "11955"}, + {"2800:ba0:2::/48", "263812"}, + {"2a0b:1ec0::/32", "205769"}, + {"2001:559:52d::/48", "7725"}, + {"2600:6c38:ea::/39", "20115"}, + {"2803:a0a0:901::/48", "269799"}, + {"2001:559:176::/47", "7015"}, + {"2804:1a24::/32", "61839"}, + {"2a02:1798::/29", "24637"}, + {"2a02:54c0::/29", "20811"}, + {"2001:250:586c::/43", "24363"}, + {"240a:a572::/32", "144044"}, + {"2605:73c0:2000::/32", "10583"}, + {"2a02:26f0:4901::/40", "20940"}, + {"2a05:19c0::/47", "59800"}, + {"2a0e:97c0:4d0::/48", "211024"}, + {"2a10:4d80::/29", "203447"}, + {"2001:694::/48", "207969"}, + {"2001:6b0::/46", "1653"}, + {"240a:a943::/32", "145021"}, + {"2804:38:1000::/39", "19089"}, + {"2a0e:97c3:74c::/48", "20473"}, + {"2001:da8:e80c::/48", "138373"}, + {"2001:1248:a53f::/41", "11172"}, + {"2620:171:2a::/45", "42"}, + {"2a00:7b00::/43", "12338"}, + {"2606:8700::/32", "7050"}, + {"2620:171:f7::/44", "42"}, + {"2a00:adc0:1b00::/32", "41655"}, + {"2a02:cb44::/32", "20546"}, + {"2a0c:47c0::/29", "18779"}, + {"2402:f800:cf01::/40", "7602"}, + {"240a:a480::/32", "143802"}, + {"240a:a553::/32", "144013"}, + {"2804:e94:740::/40", "262468"}, + {"2804:7210:100::/48", "270830"}, + {"2a02:26f7:edc4::/48", "36183"}, + {"2600:370f:7320::/41", "32261"}, + {"2607:fc58:1:64::/64", "13536"}, + {"2803:dba0::/32", "267767"}, + {"2001:de8:1::/48", "9498"}, + {"240a:aead::/32", "146407"}, + {"2602:ffa4::/36", "46886"}, + {"2a0a:3140:610::/44", "15532"}, + {"2a0a:7bc7::/32", "44066"}, + {"2a0b:6f80:200::/37", "211196"}, + {"2a0c:f280::/29", "204703"}, + {"2406:5ec0::/32", "141014"}, + {"2001:1398:276::/48", "52305"}, + {"2404:f780:8::/48", "136557"}, + {"240a:abf2::/32", "145708"}, + {"2604:cc00::/48", "53292"}, + {"2803:1b40::/32", "27843"}, + {"2804:6174::/32", "269235"}, + {"2001:16a2:c100::/43", "39891"}, + {"2401:b000::/32", "17971"}, + {"2600:1017:b830::/40", "6167"}, + {"2602:fe69:200::/39", "36369"}, + {"2a02:26f7:ce84::/48", "36183"}, + {"2a03:2880:f23b::/45", "32934"}, + {"2a0b:9700::/32", "8943"}, + {"2001:67c:24d0::/48", "51316"}, + {"2404:3d00:413f::/41", "21433"}, + {"2800:160:1426::/44", "14259"}, + {"2804:4660::/32", "266986"}, + {"2a00:1788::/32", "31167"}, + {"2a0d:f100::/32", "208449"}, + {"2001:559:814e::/48", "33652"}, + {"2401:1d40:f25::/35", "59019"}, + {"2408:8956:b300::/40", "17816"}, + {"2408:8a00:e000::/31", "9929"}, + {"2600:8807:89aa::/41", "22773"}, + {"2604:3700:1000::/34", "10973"}, + {"2804:3a34::/32", "262616"}, + {"2a01:6e80::/32", "47223"}, + {"240a:a416::/32", "143696"}, + {"2602:feb2::/41", "62492"}, + {"2804:67a0::/32", "269640"}, + {"2806:270::/32", "19373"}, + {"2a00:d2a0::/29", "15600"}, + {"2001:250:181b::/42", "138441"}, + {"2001:559:1ae::/48", "7015"}, + {"2606:7100:3101::/32", "21581"}, + {"2607:ff50::/32", "53264"}, + {"2403:1240::/32", "24279"}, + {"2604:8b80:a::/48", "55106"}, + {"2a02:26f7:d0c4::/48", "36183"}, + {"2001:559:123::/48", "33667"}, + {"2001:67c:2250::/48", "33895"}, + {"2409:8087:1a00::/40", "132525"}, + {"2804:14c:6587::/44", "28573"}, + {"2a02:5820::/32", "201939"}, + {"2a05:2180::/29", "20661"}, + {"2a0c:8a80::/29", "13113"}, + {"2001:550:2302::/47", "174"}, + {"240a:aba3::/32", "145629"}, + {"2804:3b0:830d::/35", "53062"}, + {"2804:2b14::/32", "265133"}, + {"2001:40a8::/32", "12400"}, + {"240a:a5e8::/32", "144162"}, + {"2804:c00:a300::/33", "52655"}, + {"2804:6c94::/32", "270478"}, + {"2a00:42c0::/32", "29608"}, + {"2a0b:3180::/29", "198333"}, + {"2409:8904:c9a0::/38", "24547"}, + {"240e:964:eb00::/40", "133776"}, + {"2606:2800:700a::/45", "15133"}, + {"2a03:9d40:2600::/36", "41095"}, + {"2001:44b8:30e1::/45", "4739"}, + {"2404:2440:beef::/48", "138521"}, + {"2600:40f0:140::/44", "3369"}, + {"2804:37f0:4900::/35", "266445"}, + {"2a0f:5300::/48", "208230"}, + {"2001:418:1c01:2::/34", "2914"}, + {"2001:df2:ca00::/48", "135905"}, + {"2001:13b0:800d::/46", "267790"}, + {"2408:8459:ac30::/41", "17622"}, + {"2606:a2c0:1::/46", "396362"}, + {"2a07:a240::/29", "6786"}, + {"2408:8956:9700::/40", "17816"}, + {"2409:896a:4400::/39", "9808"}, + {"2603:c023:8000::/35", "31898"}, + {"2a06:5600:28f8::/48", "50297"}, + {"2001:678:44::/48", "25354"}, + {"2001:1838:6005::/32", "23352"}, + {"2400:af80::/32", "4693"}, + {"2604:cc00:1a::/48", "53292"}, + {"2a02:188:5109::/37", "31027"}, + {"2401:4900:51c0::/42", "45609"}, + {"2804:6ad0::/32", "270360"}, + {"2806:2f0:61a1::/46", "17072"}, + {"2402:e380:127::/44", "139073"}, + {"2404:c2c0:280::/44", "135629"}, + {"2404:3500::/32", "58627"}, + {"2605:2400::/38", "3361"}, + {"2804:2c64::/32", "265215"}, + {"2804:2f94::/32", "264900"}, + {"2a0a:2f80::/32", "174"}, + {"240a:a746::/32", "144512"}, + {"2605:a401:8354::/42", "33363"}, + {"2804:2014::/32", "264463"}, + {"2804:7350::/32", "270907"}, + {"2a03:ada0::/32", "44404"}, + {"2a07:fc0::/29", "203322"}, + {"2a10:d780:cccd::/34", "211997"}, + {"2600:8807:c800::/35", "22773"}, + {"2607:fad0:1000::/34", "32244"}, + {"2a00:1528:101::/32", "6696"}, + {"2a02:730::/48", "29278"}, + {"2001:418:1401:98::/64", "3949"}, + {"240e:e9:6000::/37", "134756"}, + {"2800:300:9000::/41", "27651"}, + {"2a00:ad87:c00::/48", "31027"}, + {"2a01:9640::/32", "47727"}, + {"2a02:26f7:da48::/48", "36183"}, + {"2001:67c:28f4::/48", "198827"}, + {"240a:ae23::/32", "146269"}, + {"2600:6c21:608::/47", "20115"}, + {"2604:4440::/32", "396139"}, + {"2a03:d000:4000::/36", "25159"}, + {"240e:3b7:1800::/34", "4134"}, + {"2a02:888:8054::/39", "47794"}, + {"2001:550:2606::/48", "174"}, + {"2001:dc7:ffc7::/43", "24151"}, + {"2001:4888:801f::/42", "22394"}, + {"2404:2c00::/32", "45170"}, + {"2a00:81a0::/29", "60804"}, + {"2a09:be47::/32", "209968"}, + {"2402:9500:b01::/37", "55720"}, + {"2a04:f500::/29", "33988"}, + {"2a0e:1bc4::/35", "208621"}, + {"2404:4a00:6000::/64", "55423"}, + {"2600:1007:d0d0::/34", "22394"}, + {"2604:9cc0:1::/48", "50131"}, + {"2a0e:b4c0::/29", "208420"}, + {"2001:579:cf08::/35", "22773"}, + {"2402:800:327f::/40", "7552"}, + {"240a:a878::/32", "144818"}, + {"2803:b4c0::/46", "264668"}, + {"2a01:5b0:20::/45", "8561"}, + {"2a02:26f7:88::/48", "36183"}, + {"2a02:26f7:ebc5::/46", "20940"}, + {"2a10:6480::/29", "204790"}, + {"240a:a849::/32", "144771"}, + {"240e:966:ca00::/39", "133776"}, + {"2600:80c:1200::/40", "23148"}, + {"2606:6200:1c00::/48", "54351"}, + {"2607:ffb0:4005::/46", "6327"}, + {"2a02:26f7:c904::/48", "36183"}, + {"2001:559:84cb::/45", "33657"}, + {"2001:13b0:d002::/48", "23031"}, + {"2605:36c0:1::/48", "29944"}, + {"2804:699c::/32", "270280"}, + {"240a:a5f3::/32", "144173"}, + {"2600:1006:b0f0::/44", "22394"}, + {"2605:de40:1005::/34", "397553"}, + {"2800:bf0:1a0::/45", "52257"}, + {"2803:d100:9280::/37", "52362"}, + {"2804:c48::/36", "52687"}, + {"2a00:6000::/32", "35012"}, + {"2a02:26f7:f308::/48", "36183"}, + {"2402:8100:39b0::/44", "55644"}, + {"2620:160:e740::/44", "4196"}, + {"2804:41b0:3d8::/32", "267450"}, + {"2804:6e3c::/32", "28572"}, + {"2a07:abc0::/29", "62000"}, + {"2a07:e480:100::/47", "202261"}, + {"2a0c:6080::/29", "200000"}, + {"2a0e:b500::/29", "208974"}, + {"2a0f:b1c0::/30", "35732"}, + {"2001:678:468::/48", "39431"}, + {"2001:da8:da8::/48", "24358"}, + {"2600:1404:c800::/48", "35994"}, + {"2607:6300::/32", "29804"}, + {"2804:2814::/32", "263939"}, + {"2806:230:1032::/48", "265594"}, + {"2a0f:2040::/29", "60262"}, + {"2001:df7:2080::/48", "142600"}, + {"2800:160:2453::/40", "14259"}, + {"2804:72e4:3001::/33", "270882"}, + {"2001:559:c37b::/48", "33667"}, + {"2001:b10::/35", "8256"}, + {"2404:ec:420::/39", "703"}, + {"2405:800:bfff::/48", "4817"}, + {"2620:11:70::/47", "3486"}, + {"2620:11b:e020::/44", "3549"}, + {"2806:230:1100::/46", "265594"}, + {"2a02:a50::/32", "20742"}, + {"2001:678:4b4::/48", "48395"}, + {"2001:44b8:2047::/48", "4739"}, + {"2404:bf40:e402::/47", "2764"}, + {"2800:68:34::/47", "61468"}, + {"2801:80:3e40::/48", "271396"}, + {"2a06:6200::/29", "21500"}, + {"2804:13c4::/32", "262825"}, + {"2a09:4c0:ae01::/40", "58057"}, + {"2a0c:e480::/29", "15623"}, + {"2a0d:c7c1::/32", "43959"}, + {"2a12:7280::/29", "16509"}, + {"2800:160:21e4::/38", "14259"}, + {"2804:341c::/32", "265436"}, + {"2804:41b4::/33", "267451"}, + {"2a02:ee80:4123::/44", "3573"}, + {"2a03:1600::/32", "34093"}, + {"2001:550:2b02::/37", "174"}, + {"2602:808:a001::/48", "16509"}, + {"2407:3880::/39", "133012"}, + {"2409:8028:3006::/41", "56041"}, + {"240a:a2d6::/32", "143376"}, + {"240e:1a:120::/44", "134756"}, + {"2804:14d:5cbd::/41", "28573"}, + {"2804:77d8::/32", "271203"}, + {"2804:75b4::/32", "271064"}, + {"2a00:6700::/48", "202753"}, + {"240a:a38c::/32", "143558"}, + {"2803:c860::/32", "267819"}, + {"2806:230:4018::/48", "265594"}, + {"2a04:4e40:1e10::/41", "54113"}, + {"2001:df1:c080::/48", "139739"}, + {"2405:2840::/48", "135951"}, + {"2600:1403:5c01::/34", "20940"}, + {"2800:160:1bc0::/44", "14259"}, + {"2001:e90::/32", "9622"}, + {"2602:feda:2a9::/46", "204185"}, + {"2804:6c34::/32", "270452"}, + {"2a02:26f0:c501::/38", "20940"}, + {"2a0c:9a40:8118::/46", "204438"}, + {"2001:250:817::/48", "138182"}, + {"2001:42d8:1001::/48", "29571"}, + {"2804:5100:3100::/32", "268424"}, + {"2a0e:fb41::/32", "206766"}, + {"2a0f:305::/30", "398559"}, + {"240a:a798::/32", "144594"}, + {"240e:44d:780::/41", "4134"}, + {"2a04:4e41:4::/43", "54113"}, + {"2001:559:8451::/48", "7015"}, + {"2408:840d:3600::/42", "17621"}, + {"2800:240::/32", "12956"}, + {"2403:9800:7f02::/45", "4771"}, + {"2408:8459:e230::/41", "17622"}, + {"2a02:26f0:1a01::/39", "20940"}, + {"2408:80f1::/44", "138421"}, + {"240a:a406::/32", "143680"}, + {"240e:3bc:7600::/39", "140313"}, + {"2603:c011:e000::/36", "31898"}, + {"2804:e30:2c00::/38", "11338"}, + {"2806:2f0:9be1::/46", "17072"}, + {"2a02:26f7:db8d::/42", "20940"}, + {"2a0f:5707:ab29::/48", "398646"}, + {"2600:1016:b1e0::/33", "6167"}, + {"2804:545c:9400::/33", "268645"}, + {"2a01:4020:31::/45", "25369"}, + {"2a0f:f240::/32", "13282"}, + {"2407:7400::/48", "9498"}, + {"2600:9000:107f::/40", "16509"}, + {"2605:ed40::/32", "31998"}, + {"2803:6ce0:b000::/33", "269909"}, + {"2804:e24:fff1::/44", "262417"}, + {"2806:2f0:32a3::/41", "17072"}, + {"2a00:8a03::/43", "28723"}, + {"2a0d:2d40::/32", "62075"}, + {"2001:559:149::/46", "33287"}, + {"2001:559:c111::/48", "20214"}, + {"2001:4288:302::/32", "6713"}, + {"2001:4490:d4c0::/46", "9829"}, + {"2408:8256:2d96::/48", "17816"}, + {"2620:133:d000::/40", "395746"}, + {"2804:1b50:c840::/34", "61719"}, + {"2a02:708::/32", "8741"}, + {"2a06:5e40:1::/48", "204101"}, + {"2a0c:b641:20a::/48", "209710"}, + {"240a:a3d2::/32", "143628"}, + {"2605:ec0::/48", "26272"}, + {"2001:559:845e::/48", "7016"}, + {"2001:559:c21e::/48", "7922"}, + {"2402:e240::/32", "55699"}, + {"2600:6c38:c2b::/45", "20115"}, + {"2604:abc0::/32", "64236"}, + {"2607:f8f8:1f00::/47", "50131"}, + {"2803:500::/32", "262168"}, + {"2804:2e8::/46", "262847"}, + {"2a04:e9c0::/29", "34768"}, + {"2a12:2000::/29", "204790"}, + {"2402:ef03:6001::/40", "7633"}, + {"2408:8662::/29", "4837"}, + {"2606:2080::/32", "11672"}, + {"2804:4c14::/32", "267348"}, + {"2001:559:c443::/45", "7015"}, + {"2402:e280:221f::/42", "134674"}, + {"2408:8957:f00::/40", "17816"}, + {"240e:978:500::/40", "131325"}, + {"2600:6c10:8a::/45", "20115"}, + {"2a02:26f7:ee88::/48", "36183"}, + {"2a02:de80::/29", "8595"}, + {"2001:ba0::/32", "8560"}, + {"2406:daa0:c0a0::/44", "16509"}, + {"2001:559:8533::/48", "7922"}, + {"2400:adc0:210::/47", "9541"}, + {"2804:4b0:3a0::/37", "262459"}, + {"2409:8924:100::/38", "56046"}, + {"240a:a0cb::/32", "142853"}, + {"2801:168:2::/48", "61554"}, + {"2c0f:3000::/32", "327903"}, + {"2001:559:85b4::/47", "33651"}, + {"2409:896a:2200::/39", "9808"}, + {"240e:95a:3000::/36", "140083"}, + {"2a00:45c0::/32", "42707"}, + {"2a02:4f40::/32", "51464"}, + {"2a05:2701:f00::/43", "62371"}, + {"2001:579:888::/43", "22773"}, + {"2407:ba40::/32", "398465"}, + {"2a05:6d40::/29", "202128"}, + {"2a0a:ff80::/32", "206566"}, + {"2600:380:b280::/39", "20057"}, + {"2600:5c00:3fca::/32", "20001"}, + {"2a03:8180:1000::/37", "36351"}, + {"2001:4888::/43", "6167"}, + {"2400:5fa0::/32", "139870"}, + {"2800:484:dc00::/40", "10620"}, + {"2806:2f0:2022::/48", "17072"}, + {"2a00:d940::/32", "43542"}, + {"2001:19e8:f1::/44", "2576"}, + {"2409:8c15:3c00::/33", "56044"}, + {"2600:6c10:5a::/45", "20115"}, + {"2602:fbda:666::/48", "7721"}, + {"2804:25a8::/32", "264293"}, + {"2a04:4e42:fe6::/43", "54113"}, + {"2a06:82c2::/48", "136620"}, + {"2001:df0:8580::/48", "139197"}, + {"2402:8780::/32", "63859"}, + {"2806:266:380::/41", "13999"}, + {"2a02:26f0:a101::/40", "20940"}, + {"2a03:5e20::/32", "15576"}, + {"2a03:7900:600::/32", "197731"}, + {"2620:ff:4000::/48", "394566"}, + {"2800:160:1375::/46", "14259"}, + {"2803:7da0:1::/46", "64114"}, + {"2a0a:df80:26::/48", "39212"}, + {"2a0d:ac00:1006::/47", "205202"}, + {"2001:1248:5a2d::/46", "11172"}, + {"240e:698:2700::/40", "133774"}, + {"2804:14d:4600::/40", "28573"}, + {"2a04:9680::/29", "20830"}, + {"240a:a4ef::/32", "143913"}, + {"2606:f180::/48", "64286"}, + {"2620:fc::/48", "40119"}, + {"2001:559:206::/48", "7922"}, + {"240a:aecb::/32", "146437"}, + {"2a02:26f7:ddc8::/48", "36183"}, + {"2a0e:8f02:f02b::/45", "206477"}, + {"2001:67c:1914::/48", "20708"}, + {"2401:4900:1f80::/44", "45609"}, + {"2407:52c0::/32", "139484"}, + {"2408:80f1:240::/44", "138421"}, + {"2a02:26f7:be10::/48", "36183"}, + {"2c0f:f8b8::/32", "37356"}, + {"2001:559:81b3::/45", "7922"}, + {"2407:7000::/32", "9500"}, + {"2605:f440:5654::/40", "21957"}, + {"2804:5f8c::/32", "269108"}, + {"2a02:430::/32", "12941"}, + {"2a02:2488::/32", "29413"}, + {"2a02:26f7:ca01::/46", "20940"}, + {"240a:a689::/32", "144323"}, + {"240e:84c:50::/27", "4134"}, + {"240e:980:2e00::/40", "4134"}, + {"2a00:79e1:f21::/48", "395973"}, + {"2a02:26f7:bb88::/48", "36183"}, + {"2a0e:aa07:e00a::/48", "207454"}, + {"240a:a0d5::/32", "142863"}, + {"2604:640:105::/46", "393562"}, + {"2804:794::/32", "262303"}, + {"2001:67c:107c::/48", "8473"}, + {"2602:fc0f::/40", "400148"}, + {"2804:19dc::/32", "61823"}, + {"2a01:430:12::/32", "24971"}, + {"2a11:36c0::/29", "58243"}, + {"2001:559:2d4::/46", "7015"}, + {"2405:a480::/32", "63981"}, + {"2409:806c:3100::/36", "9808"}, + {"240e:a7:7fde::/42", "140518"}, + {"2606:a600:4::/48", "397933"}, + {"2a02:2408::/32", "197064"}, + {"2a03:4020::/32", "201506"}, + {"2001:1248:96d9::/42", "11172"}, + {"2600:100d:9f00::/44", "6167"}, + {"2600:5c00:386d::/38", "20001"}, + {"2800:300:8a00::/37", "27986"}, + {"2a06:e881:260f::/48", "206740"}, + {"2001:559:7d0::/48", "33657"}, + {"2401:1f80:10::/44", "29990"}, + {"240a:a3f0::/32", "143658"}, + {"240e:982:9000::/38", "63835"}, + {"2602:80a:200c::/48", "16509"}, + {"2804:6e94::/32", "270606"}, + {"2a02:922::/35", "49292"}, + {"2a0f:55c7:ffff::/48", "48749"}, + {"2c0f:f6f8::/32", "37589"}, + {"2001:678:fb0::/48", "211041"}, + {"2605:4400::/47", "40715"}, + {"2606:62c0:187::/44", "399686"}, + {"2804:8328::/32", "272180"}, + {"2804:6a80::/34", "270340"}, + {"2a06:4cc0::/29", "24633"}, + {"2001:559:c3fb::/48", "33659"}, + {"2804:14c:6521::/41", "28573"}, + {"2a01:8100:1::/48", "203461"}, + {"2a02:26f7:40::/48", "36183"}, + {"2001:559:8215::/48", "33657"}, + {"2605:9500:212::/47", "14244"}, + {"2804:2fdc:1000::/36", "264917"}, + {"2806:203:f002::/36", "13999"}, + {"2806:230:3006::/48", "265594"}, + {"2001:559:e4::/47", "33651"}, + {"2001:559:c1d1::/48", "395676"}, + {"2607:9480::/43", "14338"}, + {"2804:7a9c::/32", "53141"}, + {"2a06:1287:2902::/37", "61138"}, + {"2001:559:8312::/47", "7015"}, + {"2409:8052:1000::/47", "56047"}, + {"2409:8a14:8a00::/31", "56044"}, + {"2804:3b8:1fe::/32", "52965"}, + {"2001:559:c351::/48", "33657"}, + {"2001:67c:140::/48", "48344"}, + {"2402:800:3a0f::/43", "7552"}, + {"240a:ae13::/32", "146253"}, + {"2620:158:c1::/48", "13996"}, + {"2804:259c:bb00::/37", "52772"}, + {"2804:39f8::/32", "266062"}, + {"2806:2f0:3323::/41", "17072"}, + {"2a01:58c0::/32", "42487"}, + {"2a04:8340::/29", "43260"}, + {"2620:148:f00::/44", "4983"}, + {"2800:160:1fe3::/44", "14259"}, + {"2a05:45c7:f000::/36", "28910"}, + {"240e:928:1500::/32", "58542"}, + {"2600:6c20:e24::/47", "20115"}, + {"2a04:ff00:101::/48", "207616"}, + {"2001:7f0:4021::/29", "13237"}, + {"2803:6604:6801::/39", "28075"}, + {"2804:18e4::/32", "61761"}, + {"2804:3e7c::/32", "266599"}, + {"2001:559:85a4::/48", "7015"}, + {"2620:10e:d000::/41", "21538"}, + {"2001:579:703d::/40", "22773"}, + {"2407:e740:12c::/32", "59239"}, + {"240a:a301::/32", "143419"}, + {"2600:1300::/32", "20021"}, + {"2602:809:b000::/48", "399242"}, + {"2605:9b80::/32", "14828"}, + {"2804:3a30::/32", "266076"}, + {"2804:851c::/32", "272558"}, + {"2a02:820::/32", "29061"}, + {"2a02:2a30::/29", "9158"}, + {"2001:1900:2371::/48", "3356"}, + {"2406:b100::/32", "132730"}, + {"2409:807b::/29", "9808"}, + {"240a:ad8a::/32", "146116"}, + {"2001:da8:255::/48", "24350"}, + {"2806:2f0:20c3::/43", "22884"}, + {"2409:804b:2909::/48", "9808"}, + {"2600:1012:b1d0::/42", "6167"}, + {"2804:7a40::/32", "271358"}, + {"2a02:26f7:c8c1::/46", "20940"}, + {"2001:1248:9c8f::/43", "11172"}, + {"240e:e0::/31", "4812"}, + {"2600:141c:801::/35", "20940"}, + {"2a00:8d00::/32", "3257"}, + {"2a04:8740::/29", "44212"}, + {"2001:559:5d4::/48", "7015"}, + {"240a:ab83::/32", "145597"}, + {"2607:fc58:1:1b::/64", "13536"}, + {"2803:7ca0::/32", "262213"}, + {"2804:3cc0::/32", "266232"}, + {"2804:45fc::/39", "266959"}, + {"2a0f:54c0::/29", "207906"}, + {"2a12:62c0::/29", "210619"}, + {"2404:4e00:101::/46", "32787"}, + {"240a:acc4::/32", "145918"}, + {"2606:2800:31f::/42", "15133"}, + {"2a04:4e40:da00::/47", "54113"}, + {"2001:559:5a5::/48", "33659"}, + {"240e:67d:c200::/39", "140329"}, + {"2600:a000::/30", "394092"}, + {"2a05:8240::/29", "57353"}, + {"2402:8100::/44", "55644"}, + {"240a:ace7::/32", "145953"}, + {"2600:8807:ac00::/35", "22773"}, + {"2607:6000:100::/40", "12189"}, + {"2a00:8b20::/32", "48407"}, + {"2a03:4b40::/33", "50710"}, + {"2408:8459:cd10::/42", "17623"}, + {"240a:aa06::/32", "145216"}, + {"2804:7e78::/32", "271626"}, + {"2001:67c:3fc::/48", "51776"}, + {"2402:28c0:fff9::/48", "137411"}, + {"2602:fdeb:1::/48", "14618"}, + {"2804:3e90:4204::/41", "266606"}, + {"2602:806:f000::/47", "27217"}, + {"2804:59a0:c000::/36", "268714"}, + {"2804:70f8::/32", "270759"}, + {"2001:4888:805f::/48", "22394"}, + {"2401:d800:feb0::/41", "7552"}, + {"240a:a146::/32", "142976"}, + {"2804:14d:e200::/40", "28573"}, + {"2a03:60c0::/32", "20473"}, + {"2a0e:2980:2::/48", "34568"}, + {"2602:fd23:9::/48", "19168"}, + {"2804:2570::/32", "264281"}, + {"2804:5028::/32", "268372"}, + {"2804:5db8::/32", "268988"}, + {"2001:559:8290::/48", "7016"}, + {"2409:8a53:700::/36", "56047"}, + {"2a0b:1200::/29", "559"}, + {"2a0d:80c0::/29", "15848"}, + {"2a10:4647::/46", "50046"}, + {"2408:8000:a020::/48", "140720"}, + {"2600:100f:9010::/40", "22394"}, + {"2804:1644:f760::/36", "262903"}, + {"2a04:c440:2b00::/33", "2047"}, + {"2404:5f40::/48", "38447"}, + {"2602:ff62:205::/46", "61317"}, + {"2610:a1:3064::/48", "12008"}, + {"2a00:d2e0::/29", "15600"}, + {"2a01:8880::/32", "8745"}, + {"2a0a:2e82::/32", "47596"}, + {"2a0f:e240::/29", "60781"}, + {"2001:67c:1bcc::/48", "41009"}, + {"2001:ddc::/48", "133874"}, + {"2409:896a:9c00::/39", "9808"}, + {"2600:1010:9010::/40", "22394"}, + {"2804:6358::/32", "269355"}, + {"2a02:26f7:bccc::/48", "36183"}, + {"2a0e:fd45:b00c::/30", "44103"}, + {"240a:a944::/32", "145022"}, + {"2600:1000:f110::/36", "22394"}, + {"2001:550:1200:4::/45", "174"}, + {"240a:af5b::/32", "146581"}, + {"2a02:2e02:96a0::/39", "12479"}, + {"2a0c:9780::/29", "65560"}, + {"240e:96b:6021::/46", "140375"}, + {"2804:301:1000::/36", "53237"}, + {"2a02:26f7:ca0d::/42", "20940"}, + {"2001:4340::/32", "3208"}, + {"2400:adc0:30::/46", "9541"}, + {"2408:84f3:e810::/42", "134543"}, + {"240a:a622::/32", "144220"}, + {"2600:400:8500::/36", "15147"}, + {"2804:7824::/32", "271223"}, + {"2a02:8000::/32", "50472"}, + {"240a:abc8::/32", "145666"}, + {"240e:95c:5000::/36", "138982"}, + {"2600:6c20:110::/45", "20115"}, + {"2804:2748::/32", "263891"}, + {"2804:8318:400::/32", "272176"}, + {"2a07:3ac0::/29", "58243"}, + {"2409:806a:3900::/33", "9808"}, + {"2806:2f0:5281::/46", "17072"}, + {"2001:67c:740::/48", "44655"}, + {"2400:8500:6800::/48", "58786"}, + {"2405:8180:b00::/37", "135478"}, + {"2405:9800:b128::/47", "133481"}, + {"240e:3b4:3e00::/33", "140308"}, + {"2605:2a00::/32", "16532"}, + {"2804:5574::/32", "267936"}, + {"2806:2eb::/32", "265524"}, + {"2001:559:50a::/48", "33287"}, + {"2401:9cc0:300::/48", "59256"}, + {"2804:3378::/32", "265398"}, + {"2001:559:2e0::/48", "33490"}, + {"2409:8904:2640::/39", "24547"}, + {"2804:56e0:40::/32", "268029"}, + {"2001:da8:4008::/48", "23910"}, + {"2a00:f440:c::/48", "57712"}, + {"2402:e380:304::/48", "134997"}, + {"2404:4a00:5542::/62", "55423"}, + {"2804:14c:41a3::/41", "28573"}, + {"2a0e:f200:184::/48", "30633"}, + {"2001:df6:7f80::/48", "134021"}, + {"240e:9b:f000::/46", "140245"}, + {"2606:6ac0::/32", "15176"}, + {"2804:8224::/32", "272501"}, + {"2a0c:b641:451::/48", "209389"}, + {"2001:67c:440::/48", "57944"}, + {"240a:ad93::/32", "146125"}, + {"2a01:b960:2307::/48", "210266"}, + {"2001:ce0:2200::/40", "4528"}, + {"2402:5300:710::/36", "45903"}, + {"2a03:39a0::/32", "15733"}, + {"2600:1001:a000::/44", "6167"}, + {"2804:13d8::/40", "262669"}, + {"2a01:110:9008::/48", "35106"}, + {"2a02:208::/32", "5495"}, + {"2a0b:4340:93::/48", "205610"}, + {"2001:df1:ad80::/47", "56093"}, + {"240a:abee::/32", "145704"}, + {"2600:3001:22::/45", "13649"}, + {"2804:10b4:2::/43", "263645"}, + {"2c0f:1b00::/32", "21271"}, + {"2001:579:b850::/40", "22773"}, + {"2800:200:2009::/32", "12252"}, + {"2804:3ab4:f800::/37", "266104"}, + {"2001:470:f1::/45", "6939"}, + {"240a:adbf::/32", "146169"}, + {"2620:38:c000::/48", "25656"}, + {"2a00:8740:1a::/42", "49037"}, + {"2a02:26f7:e204::/48", "36183"}, + {"2001:b08::/46", "3267"}, + {"2404:bf40:ea04::/37", "139084"}, + {"2408:8957:6f00::/40", "17816"}, + {"2604:880:217::/42", "29802"}, + {"2606:2980:2000::/40", "26344"}, + {"2803:760:181a::/40", "269816"}, + {"2a02:7920::/48", "201868"}, + {"2a07:7940:fffd::/48", "211691"}, + {"2001:1248:5770::/44", "11172"}, + {"2400:cb00:a170::/47", "13335"}, + {"2408:8957:3600::/40", "17622"}, + {"2801:80:600::/48", "52622"}, + {"2803:b220:b003::/33", "265844"}, + {"2804:4b0:4ec::/43", "262459"}, + {"2a00:4c00:3::/48", "15632"}, + {"2a02:26f7:ca49::/42", "20940"}, + {"2a09:be80::/32", "44901"}, + {"2a0a:ec02:501::/48", "42692"}, + {"2606:2000::/43", "1616"}, + {"2607:fc58:1:71::/64", "13536"}, + {"2804:3d68::/32", "266529"}, + {"2804:6134::/32", "269220"}, + {"2c0f:ef78:f::/48", "63293"}, + {"2001:4b08::/32", "29452"}, + {"2400:d400:11::/46", "45671"}, + {"240a:a563::/32", "144029"}, + {"2803:780::/32", "8053"}, + {"2a02:17f8::/32", "44700"}, + {"2001:559:c3f4::/48", "7015"}, + {"2401:2200::/48", "55420"}, + {"2402:2a80:4300::/32", "46489"}, + {"2804:10c4::/32", "263648"}, + {"2600:1f01:48b0::/47", "16509"}, + {"2600:1600::/24", "40788"}, + {"2804:29a4:500::/35", "264026"}, + {"2c0f:eb00:a00::/40", "328962"}, + {"2c0f:f598::/47", "327813"}, + {"240a:a295::/32", "143311"}, + {"2620:df:4002::/44", "16509"}, + {"2a03:9b40::/32", "9063"}, + {"2a09:f907::/32", "62200"}, + {"2a0e:dc80::/29", "202346"}, + {"2001:4490:de18::/46", "9829"}, + {"2400:b080::/33", "45296"}, + {"2409:8051:2802::/38", "56047"}, + {"2600:6c38::/45", "20115"}, + {"2607:fdc8:fff0::/44", "30036"}, + {"2804:43f4:c0::/32", "267601"}, + {"2a01:bb20:2000::/36", "206834"}, + {"2a09:ee00::/29", "200272"}, + {"2001:b18:a::/47", "47787"}, + {"240a:a99f::/32", "145113"}, + {"2804:3d70::/32", "266531"}, + {"2a09:480::/29", "212449"}, + {"2409:805e:2c00::/35", "9808"}, + {"240e:e1:9f00::/33", "4811"}, + {"2620:149:1070::/40", "714"}, + {"2a00:1f78:f008::/36", "8893"}, + {"2a01:120::/29", "12348"}, + {"2a02:ac80:101::/38", "25145"}, + {"2001:468:2630::/48", "396955"}, + {"2001:df0:3040::/48", "141592"}, + {"2404:c900:d::/48", "58682"}, + {"2602:fcd9::/36", "36326"}, + {"2606:2800:4104::/44", "15133"}, + {"2a01:9ba0::/32", "30742"}, + {"2a02:26f0:1901::/40", "20940"}, + {"2a06:1040::/29", "200648"}, + {"2001:c20:4890::/48", "3758"}, + {"2001:43f8:1460::/48", "328601"}, + {"2405:205:d000::/34", "55836"}, + {"2001:559:c0d3::/48", "7016"}, + {"2001:67c:1488::/48", "1257"}, + {"240e:67c:c400::/39", "140330"}, + {"2800:160:146a::/43", "14259"}, + {"2a0e:97c0:520::/44", "57351"}, + {"2400:8500:5700::/48", "58651"}, + {"240e:473:eeef::/35", "140485"}, + {"2600:8807:d060::/36", "22773"}, + {"2001:559:c376::/48", "33660"}, + {"2403:cd40::/32", "10075"}, + {"2409:8070:2c00::/35", "9808"}, + {"2600:1014:f000::/44", "6167"}, + {"2800:bf0:2af::/43", "27947"}, + {"2804:2050:5a6f::/43", "264485"}, + {"2a06:7b80::/29", "204052"}, + {"240a:a794::/32", "144590"}, + {"2804:33e8::/32", "265424"}, + {"2804:3df8::/46", "266566"}, + {"2a02:26f7:ccc0::/48", "36183"}, + {"2600:140b:a01::/39", "20940"}, + {"2804:7f3:e000::/29", "18881"}, + {"2001:4de0:ac10::/46", "20446"}, + {"2405:8a00:400e::/43", "55824"}, + {"2408:8459:3650::/36", "17816"}, + {"2408:8459:f030::/41", "17622"}, + {"2606:2800:6060::/48", "15133"}, + {"2a00:86c0::/39", "2906"}, + {"2a00:8920::/32", "25415"}, + {"2402:800:5bc5::/43", "7552"}, + {"2600:1415:f800::/48", "24319"}, + {"2600:370f:3080::/47", "32261"}, + {"2600:8807:3a20::/39", "22773"}, + {"2605:72c0:1::/48", "32354"}, + {"2a02:610:ffff::/48", "42979"}, + {"2a02:4440::/32", "60185"}, + {"2a07:ae00::/31", "51299"}, + {"2a0b:35c0::/29", "200005"}, + {"2a0e:b880::/31", "208789"}, + {"2a0f:9400:6105::/48", "210337"}, + {"2a12:1680::/29", "60144"}, + {"2001:559:c2f7::/44", "7015"}, + {"2401:d800:fee0::/39", "7552"}, + {"240a:a349::/32", "143491"}, + {"240a:a6a0::/32", "144346"}, + {"2620:65:c000::/48", "15053"}, + {"2804:4a24:116::/47", "267221"}, + {"2600:1012:b074::/44", "22394"}, + {"2803:de10::/32", "271978"}, + {"240e:3b1:7a00::/32", "140313"}, + {"2602:800:e000::/44", "33201"}, + {"2a03:b500:81::/41", "41135"}, + {"2a0f:cc0::/29", "60262"}, + {"2600:6:ffc0::/45", "10507"}, + {"2600:1417:13::/45", "20940"}, + {"2600:370f:72e4::/48", "32261"}, + {"2a01:c50e:5a00::/37", "12479"}, + {"2a0e:b107:6d0::/44", "134478"}, + {"240a:af31::/32", "146539"}, + {"240c:c0a8:5c26::/48", "24364"}, + {"2001:253:113::/48", "142079"}, + {"2408:8000:9000::/36", "17621"}, + {"2600:6c38:f14::/47", "20115"}, + {"2600:9000:2356::/47", "16509"}, + {"2806:230:5011::/48", "11888"}, + {"2a0e:d606::/48", "210644"}, + {"2401:bc40:a300::/40", "136899"}, + {"2402:9d80:300::/40", "131429"}, + {"2408:8256:396b::/48", "17816"}, + {"2409:801f:3008::/48", "24400"}, + {"2a02:26f7:dd40::/48", "36183"}, + {"2001:378::/32", "9318"}, + {"2001:6a8:be01::/33", "2611"}, + {"2001:dce:5300::/48", "45285"}, + {"2001:4310::/40", "30983"}, + {"2607:9000:3000::/36", "46844"}, + {"2620:1f:8000::/48", "10908"}, + {"2804:5f8::/32", "262551"}, + {"2a02:26f0:ae01::/40", "20940"}, + {"2a02:26f7:c78c::/48", "36183"}, + {"2a02:26f7:c948::/47", "36183"}, + {"2a03:8600:6::/48", "44394"}, + {"2402:800:59a9::/41", "7552"}, + {"2408:8000:1200::/36", "4808"}, + {"2a09:e240::/48", "57706"}, + {"2001:559:585::/48", "33650"}, + {"240a:a9f8::/32", "145202"}, + {"2a02:d40:4::/47", "44592"}, + {"2a03:db80:4415::/44", "680"}, + {"2a11:4800::/29", "204790"}, + {"2001:559:c3c1::/48", "33659"}, + {"240a:ae3c::/32", "146294"}, + {"2600:1417:1001::/36", "20940"}, + {"2605:66c0::/32", "398559"}, + {"2606:3a80:200::/48", "54913"}, + {"2800:b30::/31", "27740"}, + {"2801:80:3e80::/48", "271640"}, + {"2804:bf8::/33", "52653"}, + {"2804:4934::/32", "267170"}, + {"2806:230:4013::/48", "11888"}, + {"2a01:838::/32", "33874"}, + {"2001:678:59c::/48", "44973"}, + {"240a:acaa::/32", "145892"}, + {"2602:fd71::/36", "396325"}, + {"2607:fb10:7083::/43", "2906"}, + {"2a00:1d40::/32", "25180"}, + {"2a01:6500::/46", "42925"}, + {"2a0b:de00::/48", "207486"}, + {"2a0f:e40::/29", "60262"}, + {"2001:559:8515::/48", "33287"}, + {"2001:67c:2fbc::/48", "212467"}, + {"2605:c00:1400::/38", "46920"}, + {"2605:f080:500::/40", "23535"}, + {"2a06:7a05::/48", "207682"}, + {"2620:121:5071::/48", "16509"}, + {"2806:230:500d::/48", "11888"}, + {"2a02:26f7:f795::/46", "20940"}, + {"2001:559:23b::/48", "33491"}, + {"2001:df1:6000::/48", "131217"}, + {"2804:4040::/32", "265947"}, + {"2001:16a2:d700::/34", "25019"}, + {"2001:b400:d210::/37", "3462"}, + {"2620:4a:c000::/48", "32703"}, + {"2804:2dcc::/48", "265304"}, + {"2a0a:e202:8013::/45", "33438"}, + {"2401:d800:1c0::/42", "7552"}, + {"2409:8087:c00::/38", "56042"}, + {"240a:a8bd::/32", "144887"}, + {"2a01:c0::/32", "31708"}, + {"2a10:d181::/32", "197444"}, + {"2406:3e00::/32", "56030"}, + {"240e:438:3820::/43", "140647"}, + {"2a04:3b40::/29", "60664"}, + {"2001:1248:55f6::/44", "11172"}, + {"2402:5680:a000::/36", "133798"}, + {"2409:8c7d::/30", "9808"}, + {"240a:aaad::/32", "145383"}, + {"2600:1010:b000::/42", "6167"}, + {"2a02:2578:1305::/44", "51375"}, + {"2c0f:eab0::/32", "328111"}, + {"2001:67c:2c58::/48", "29551"}, + {"2001:8a8::/32", "15623"}, + {"2402:800:351d::/42", "7552"}, + {"2404:1f00:d000::/34", "55947"}, + {"240e:3be:2800::/38", "4134"}, + {"2a00:1ec8:39::/41", "2854"}, + {"2a03:b8c0:15::/48", "396253"}, + {"2001:1860::/32", "101"}, + {"2620:82:e000::/48", "33014"}, + {"2620:116:8087::/48", "27281"}, + {"2803:9810:140::/35", "36492"}, + {"2804:5e44:8000::/33", "269022"}, + {"2a02:26f7:e540::/48", "36183"}, + {"2a05:bc0::/32", "8495"}, + {"2a09:bd00::/48", "42385"}, + {"2a0d:59c7::/32", "202766"}, + {"240e:965:ea00::/39", "133776"}, + {"2620:12e:9000::/44", "395423"}, + {"2a00:67e0::/29", "203986"}, + {"2001:da8:264::/47", "24350"}, + {"2001:49f0:a05e::/47", "174"}, + {"2408:8956:5700::/40", "17816"}, + {"2a03:3140:fffe::/47", "61345"}, + {"2001:550:5c08::/34", "174"}, + {"2803:1400::/32", "27887"}, + {"2a02:6180::/32", "31510"}, + {"2001:438:fffd:14::/57", "6461"}, + {"2001:559:f5::/46", "7922"}, + {"2401:7500:ff5::/48", "133296"}, + {"2620:0:1a50::/48", "32360"}, + {"2806:108e:8::/43", "8151"}, + {"2a0f:5946::/31", "209372"}, + {"2607:5d00:5::/46", "53587"}, + {"2607:9a00::/32", "35916"}, + {"2001:400:8824::/34", "293"}, + {"2401:d800:3d0::/37", "7552"}, + {"2600:6c38:8f2::/38", "20115"}, + {"2620:f6::/48", "26806"}, + {"2a04:2dc0:1e::/48", "39216"}, + {"2a0e:b101::/38", "60474"}, + {"2001:559:c53a::/29", "7922"}, + {"2402:800:f8a0::/41", "7552"}, + {"240e:983:1b03::/37", "4134"}, + {"2803:5c80:6051::/46", "64114"}, + {"2804:db4::/32", "28257"}, + {"2804:7c1c::/32", "271476"}, + {"2a05:d050:6040::/44", "16509"}, + {"2a07:f280::/29", "206163"}, + {"240a:a25d::/32", "143255"}, + {"2602:feb4:190::/44", "25961"}, + {"2800:310:901::/32", "18678"}, + {"2800:8e0::/47", "18822"}, + {"2804:494::/32", "52987"}, + {"2a00:e70::/32", "43655"}, + {"2406:f0c0:105::/46", "138654"}, + {"240a:a400::/32", "143674"}, + {"240e:250:2800::/40", "138991"}, + {"2600:1012:b040::/42", "6167"}, + {"2620:1d5::/44", "14773"}, + {"2a01:73e0::/36", "47872"}, + {"2a10:a800::/30", "213013"}, + {"2001:67c:21bc::/48", "200533"}, + {"240e:3b6:7600::/39", "140313"}, + {"2600:370f:35a5::/44", "32261"}, + {"2804:710:2::/44", "17222"}, + {"2403:300:13c5::/43", "714"}, + {"2606:af80::/32", "25710"}, + {"2804:49f0::/32", "267210"}, + {"2a02:26f7:eec8::/48", "36183"}, + {"2a05:3182::/29", "34580"}, + {"2400:6a80::/32", "55821"}, + {"2405:1c0:6781::/46", "55303"}, + {"2600:9000:1175::/44", "16509"}, + {"2803:2d60:2000::/32", "14754"}, + {"2001:1b70:86c0::/48", "8147"}, + {"2402:800:7720::/41", "7552"}, + {"240e:3b1:dc00::/34", "4134"}, + {"2602:fc9d::/36", "20220"}, + {"2804:357c::/32", "266289"}, + {"2a0f:9400:7814::/44", "147028"}, + {"2c0f:f278::/32", "328036"}, + {"2402:3a80:10::/46", "38266"}, + {"2a03:6f01:1::/48", "9123"}, + {"2a07:afc0::/29", "205435"}, + {"2001:da8:4033::/36", "23910"}, + {"240e:720::/32", "140061"}, + {"2001:16a2::/43", "25019"}, + {"2400:a980:cd::/43", "133111"}, + {"2600:370f:74c8::/47", "32261"}, + {"2a00:1908:e000::/48", "199491"}, + {"2a01:8840:71::/48", "207266"}, + {"2a07:9944:40::/48", "58305"}, + {"2001:559:327::/48", "33650"}, + {"2408:8957:3700::/40", "17816"}, + {"2804:f24:f201::/36", "263567"}, + {"2804:470c::/32", "267028"}, + {"2a02:2d8::/47", "9002"}, + {"2a02:26f7:be04::/48", "36183"}, + {"2400:300:9::/48", "4766"}, + {"240a:a2bb::/32", "143349"}, + {"2804:4dc0::/32", "268217"}, + {"2a0b:fd80::/48", "49419"}, + {"2a0c:b641:80::/47", "209861"}, + {"2001:978:909::/48", "61083"}, + {"2406:e00:100::/47", "55740"}, + {"2600:1402:9801::/34", "20940"}, + {"2600:140f:ec00::/48", "9498"}, + {"240a:a828::/32", "144738"}, + {"2604:1040::/32", "18918"}, + {"2408:8957:9f00::/40", "17816"}, + {"2803:5810::/32", "271837"}, + {"2806:2f0:4541::/46", "17072"}, + {"2a00:1298:8016::/48", "206055"}, + {"2a01:3f1:c400::/34", "8674"}, + {"2a07:22c1:35::/48", "211777"}, + {"2c0f:5d00::/48", "328677"}, + {"2408:8956:bc00::/40", "17622"}, + {"2408:8957:ae00::/40", "17622"}, + {"240e:980:4b00::/40", "133774"}, + {"2610:f0:30d7::/32", "22925"}, + {"2001:798::/32", "20965"}, + {"2001:48a8:68fe::/32", "237"}, + {"240e:1e:2000::/36", "136200"}, + {"240e:108:10f3::/44", "4134"}, + {"2620:0:2820::/48", "91"}, + {"2001:44b8:4061::/48", "4739"}, + {"2001:4850::/32", "27446"}, + {"240e:44d:7740::/42", "140352"}, + {"2a03:2880:f165::/46", "32934"}, + {"2a03:5a00:17::/48", "61335"}, + {"2a0a:54c1:2::/45", "62240"}, + {"2a12:e100:1::/46", "149502"}, + {"2001:559:433::/45", "33490"}, + {"2001:da8:e021::/41", "24367"}, + {"240a:a193::/32", "143053"}, + {"2a06:6540:1440::/48", "8220"}, + {"2001:1248:5bfa::/45", "11172"}, + {"2402:ef03:5::/44", "7633"}, + {"2403:ce00::/32", "9984"}, + {"2404:bf40:c182::/41", "139084"}, + {"2408:8256:3283::/44", "17623"}, + {"2602:ff58::/36", "40713"}, + {"2408:8020::/29", "4808"}, + {"240a:a2ad::/32", "143335"}, + {"2620:13d:c004::/48", "395360"}, + {"2804:458c::/32", "266934"}, + {"2a03:d840::/32", "198668"}, + {"2a0d:42c0::/29", "197706"}, + {"2403:9800:7f10::/48", "4648"}, + {"2404:1c0::/32", "138454"}, + {"2409:8904:6940::/42", "24547"}, + {"240e:878:c0::/39", "4134"}, + {"2610:18:8802::/33", "2828"}, + {"2001:550:2806::/39", "174"}, + {"2801:80:16e0::/48", "265362"}, + {"2804:ecc::/32", "52722"}, + {"2001:559:c0f2::/48", "7015"}, + {"2401:8000:221::/26", "9919"}, + {"2408:8957:e500::/40", "17816"}, + {"2a0f:9280::/29", "41407"}, + {"2a10:8800::/31", "31743"}, + {"2001:559:8447::/48", "33491"}, + {"2001:4408:4508::/45", "55824"}, + {"2408:840d:3400::/42", "17621"}, + {"240a:a77a::/32", "144564"}, + {"240a:a7cb::/32", "144645"}, + {"2602:fc10::/36", "400129"}, + {"2804:31c:6500::/40", "52962"}, + {"2806:230:403d::/48", "11888"}, + {"2a02:2e02:9180::/38", "12479"}, + {"2001:67c:1223::/48", "201263"}, + {"2001:19f0:9000::/37", "20473"}, + {"2001:44b8:2051::/48", "4739"}, + {"2408:8744::/28", "4837"}, + {"2600:1012:b180::/43", "22394"}, + {"2a00:4802:330::/41", "8717"}, + {"2a02:26f7:ea88::/48", "36183"}, + {"2a02:e183::/36", "33517"}, + {"2001:678:cdc::/48", "210660"}, + {"2402:800:3201::/44", "7552"}, + {"2409:8087:6a6f::/37", "9808"}, + {"2a00:eb8::/32", "200044"}, + {"2a02:26f0:8e01::/39", "20940"}, + {"2a02:26f7:ec49::/46", "20940"}, + {"2a0a:e202:800e::/43", "33438"}, + {"2409:8d5d::/26", "9808"}, + {"240e:44d:7100::/41", "140345"}, + {"2804:52c4::/32", "268540"}, + {"2a02:2278:fffd::/46", "59613"}, + {"240e:438:9e20::/43", "140647"}, + {"2600:1009:9010::/40", "22394"}, + {"2605:3380:46ff::/39", "12025"}, + {"2801:1a:9000::/48", "262247"}, + {"2804:250c::/32", "264255"}, + {"2806:2f0:4163::/40", "17072"}, + {"2a01:c50f:1a40::/39", "12479"}, + {"2a07:1840::/32", "48430"}, + {"2a0d:c400::/31", "48314"}, + {"2a0f:7880::/48", "47384"}, + {"2001:559:81c2::/48", "33651"}, + {"2606:7540:a::/47", "213073"}, + {"2607:fb08::/45", "32703"}, + {"2800:5f0:83a::/45", "22724"}, + {"2001:67c:2f7c::/48", "24605"}, + {"2407:500:1000::/48", "58940"}, + {"2600:100e:b050::/42", "6167"}, + {"2600:b405::/28", "18254"}, + {"2603:c0f2::/35", "6142"}, + {"2804:7938::/32", "271292"}, + {"2401:1d40:2001::/40", "59019"}, + {"240a:a1e2::/32", "143132"}, + {"2620:13:2000::/48", "29807"}, + {"2a0e:fd40:201::/32", "44103"}, + {"2409:8057:3813::/28", "56040"}, + {"2600:140b:1601::/39", "20940"}, + {"2604:5500:f000::/38", "19165"}, + {"2620:9a:8000::/48", "174"}, + {"2801:1c:e800::/48", "18747"}, + {"2803:f840::/32", "269980"}, + {"2804:391c::/45", "262287"}, + {"2a07:7780::/29", "49191"}, + {"2001:470:158::/48", "398922"}, + {"2409:8028:2a00::/40", "9808"}, + {"2604:6040:20::/48", "53698"}, + {"2804:7590::/32", "271055"}, + {"2a00:fac0::/32", "20677"}, + {"2a02:26f0:d2::/42", "20940"}, + {"2606:7e80::/36", "33695"}, + {"2607:fa20::/32", "26259"}, + {"2804:14d:fc40::/44", "28573"}, + {"2804:3d60::/32", "266527"}, + {"2a01:4a60::/32", "6768"}, + {"2a07:d940::/29", "42375"}, + {"240e:44d:1e80::/41", "4134"}, + {"2001:678:7b8::/48", "197600"}, + {"2400:adc0:4210::/47", "9541"}, + {"2804:40ac::/32", "265974"}, + {"2a01:270::/32", "41075"}, + {"2a01:6300::/32", "42303"}, + {"2a01:6600::/32", "39405"}, + {"2a10:4dc0::/32", "62240"}, + {"2400:8b00:800::/42", "45727"}, + {"2610:a1:1015::/46", "397228"}, + {"2a06:6540:4181::/48", "8220"}, + {"2001:b08:27::/32", "3267"}, + {"240a:a19c::/32", "143062"}, + {"2a00:1288:efc1::/48", "14778"}, + {"2a02:4620::/32", "3303"}, + {"2a03:4000::/31", "197540"}, + {"2a04:f580:9260::/48", "4809"}, + {"2a0d:3b40::/29", "8808"}, + {"2a0e:2400::/29", "212865"}, + {"2001:559:8195::/48", "7015"}, + {"240e:938:f900::/48", "139462"}, + {"2603:90fc:20::/41", "19115"}, + {"2804:4ed4::/32", "268285"}, + {"2a05:b00::/29", "196645"}, + {"2a0e:b107:178a::/48", "208529"}, + {"2401:d800:2282::/41", "7552"}, + {"2402:800:3a1d::/42", "7552"}, + {"2404:b1:5000::/32", "9891"}, + {"2801:14:d000::/44", "264843"}, + {"2a01:b740:a25::/48", "714"}, + {"2a0f:a0c0:ffff::/48", "209635"}, + {"2400:1ba0::/32", "148992"}, + {"2408:8957:3200::/40", "17622"}, + {"240a:a7cd::/32", "144647"}, + {"240e:965:cc00::/35", "4134"}, + {"2602:ff96:17::/48", "35913"}, + {"2a00:1d34:8180::/30", "9121"}, + {"2a02:26f7:f985::/46", "20940"}, + {"2a07:76c0:1::/48", "42352"}, + {"2400:bc80::/32", "38726"}, + {"2405:c00:64::/48", "17787"}, + {"240a:a758::/32", "144530"}, + {"240e:7b3:1000::/28", "4134"}, + {"2607:fdc8:400::/48", "30036"}, + {"2806:370:80b0::/44", "28403"}, + {"2a0a:880::/48", "41524"}, + {"2401:c740::/32", "23734"}, + {"2a03:8d20:1182::/44", "200849"}, + {"2001:559:3bb::/48", "22909"}, + {"2001:678:360::/48", "206506"}, + {"2620:10d:9000::/48", "25993"}, + {"2001:da8:da9::/38", "23910"}, + {"2405:9800:b002::/45", "133481"}, + {"2001:da8:c805::/46", "23910"}, + {"2403:6a40:1::/48", "135905"}, + {"240e:e1:8000::/36", "4811"}, + {"2804:495c::/32", "267180"}, + {"2804:4bc8:ab::/36", "267329"}, + {"2001:559:3c1::/48", "33287"}, + {"2409:8038:3900::/30", "9808"}, + {"2001:678:a90::/48", "20473"}, + {"240a:a086::/32", "142784"}, + {"2001:1900:2246::/44", "3356"}, + {"2406:3400:7d::/40", "10143"}, + {"2409:8009::/30", "9808"}, + {"2600:370f:71a3::/45", "32261"}, + {"2a09:6280:2::/48", "51628"}, + {"2a10:2f00:157::/48", "212425"}, + {"2001:948:80::/32", "2603"}, + {"2607:fe10::/34", "11796"}, + {"2a0b:3540:6::/47", "208176"}, + {"2001:678:370::/48", "202584"}, + {"2804:7b4:8300::/40", "262314"}, + {"240a:aedf::/32", "146457"}, + {"2605:9240::/32", "22792"}, + {"2803:3c20::/32", "266672"}, + {"2803:5b80::/32", "263699"}, + {"2804:288c::/32", "263968"}, + {"2a02:26f7:de8d::/46", "20940"}, + {"2a07:a107::/32", "202701"}, + {"2400:5280:3800::/38", "63199"}, + {"2400:df00::/32", "18260"}, + {"2402:c780::/32", "134232"}, + {"2402:e380:30b::/48", "138219"}, + {"2409:8c75::/28", "9808"}, + {"2804:7414::/32", "270957"}, + {"2001:468:914::/38", "11537"}, + {"2806:2f0:4643::/42", "17072"}, + {"2001:250:c1e::/42", "138374"}, + {"2800:23::/46", "11271"}, + {"2a0d:6c40::/29", "40970"}, + {"2804:74dc::/32", "271008"}, + {"2804:80d8::/32", "272416"}, + {"2806:2f0:45c1::/46", "17072"}, + {"2a01:ab40::/29", "62275"}, + {"2a02:26f7:2d::/48", "20940"}, + {"2a04:b700:185d::/48", "201403"}, + {"240a:af69::/32", "146595"}, + {"2604:f640::/32", "19584"}, + {"2605:a404:606::/40", "33363"}, + {"2001:559:c3fa::/48", "7016"}, + {"2409:8d14:1100::/38", "56044"}, + {"2607:f020::/40", "40289"}, + {"2a0b:2980::/48", "206520"}, + {"2001:559:3b1::/48", "33659"}, + {"2001:1248:5638::/45", "11172"}, + {"2408:8956:4600::/40", "17622"}, + {"2408:8962::/29", "4837"}, + {"2804:46f0::/42", "267021"}, + {"2804:5c38::/32", "268895"}, + {"2a0b:6b86:404::/48", "207080"}, + {"2c0f:eb78::/32", "328331"}, + {"2001:16d8:60::/45", "16150"}, + {"2001:4c08:201d::/48", "10753"}, + {"2600:1419:e01::/39", "20940"}, + {"2607:fdb8:33::/35", "30496"}, + {"2a00:4802:3e00::/40", "13124"}, + {"2a06:d440::/29", "57329"}, + {"2402:800:9763::/43", "7552"}, + {"2600:3402:1405::/29", "4181"}, + {"2607:da00:801::/48", "26793"}, + {"2607:f948::/32", "6597"}, + {"2804:5594:4000::/32", "267943"}, + {"2402:2940::/32", "24390"}, + {"2803:db00::/36", "262234"}, + {"2a02:df80::/29", "31655"}, + {"2c0f:fd48::/32", "37329"}, + {"2404:1f00:ffa8::/43", "55947"}, + {"2804:2468::/32", "264221"}, + {"2a0e:97c3:40d::/48", "20473"}, + {"2407:56c0::/32", "142116"}, + {"2804:6fb4::/32", "270678"}, + {"2a00:f50::/32", "21497"}, + {"2001:1248:8447::/44", "11172"}, + {"2402:e280:213f::/41", "134674"}, + {"240e:13:1000::/33", "4134"}, + {"2a01:8de0::/32", "47169"}, + {"2a02:26f0:b101::/38", "20940"}, + {"2001:418:1401:300::/53", "20940"}, + {"2001:fd8:34f0::/32", "4775"}, + {"2406:46c0::/32", "140933"}, + {"2602:803:c001::/45", "26667"}, + {"2607:b400:801::/39", "40220"}, + {"2804:4fc8::/32", "268349"}, + {"2a03:4780::/29", "47589"}, + {"2001:4de0:5010::/48", "33438"}, + {"240a:a213::/32", "143181"}, + {"2804:5498::/32", "268660"}, + {"2a02:bf0:8000::/33", "25106"}, + {"2a0e:8f02:2190::/47", "211153"}, + {"2001:559:7d3::/48", "33650"}, + {"2001:559:c43f::/48", "7922"}, + {"2600:140b:7401::/38", "20940"}, + {"2600:1417:39::/46", "20940"}, + {"2606:ba80::/32", "35975"}, + {"2607:fc48:430::/48", "40009"}, + {"2803:9800:9501::/45", "11664"}, + {"2804:4228::/32", "267481"}, + {"2a02:ee80:406b::/45", "3573"}, + {"2a06:c580::/29", "62297"}, + {"2001:aa8::/32", "61157"}, + {"2401:d800:d040::/42", "7552"}, + {"2404:5780:3::/48", "9558"}, + {"2405:f280:15::/42", "131464"}, + {"2602:800:1000::/45", "16970"}, + {"2401:7400:1001::/33", "4773"}, + {"2407:57c0::/48", "140799"}, + {"240e:44d:5f80::/41", "4134"}, + {"240e:980:4a00::/40", "4811"}, + {"2605:7900:8::/47", "19133"}, + {"2804:18:80::/44", "10429"}, + {"2804:3ab0::/32", "266103"}, + {"2804:5290::/32", "268526"}, + {"2a00:11c0::/44", "42473"}, + {"2a00:1e18::/31", "8896"}, + {"2a04:880::/32", "43623"}, + {"2a0e:5e84::/32", "44176"}, + {"2001:559:c14b::/48", "20214"}, + {"2402:800:33c5::/43", "7552"}, + {"2408:8456:8c00::/42", "17622"}, + {"2a0a:8d80::/48", "44094"}, + {"2001:559:c36f::/48", "7922"}, + {"2001:1248:9a5c::/46", "11172"}, + {"2400:cb00:102::/45", "13335"}, + {"2402:800:9ba9::/43", "7552"}, + {"2804:2144:104::/38", "52795"}, + {"2806:1010:cbff:100::/37", "8151"}, + {"2a01:8d1::/26", "3209"}, + {"2400:cb00:a980::/46", "13335"}, + {"2404:7600::/39", "23853"}, + {"2409:8000:800::/40", "56048"}, + {"2801:0:190::/48", "264630"}, + {"2409:8057:3035::/44", "56040"}, + {"2800:bf0:b423::/48", "52257"}, + {"2a02:26f7:f385::/46", "20940"}, + {"2a02:26f7:e88c::/48", "36183"}, + {"2602:feda:103::/45", "38008"}, + {"2804:51c8::/32", "268477"}, + {"2001:870::/29", "8447"}, + {"2001:dcd:4::/46", "397226"}, + {"2a00:df00::/29", "34790"}, + {"2a0e:3c0::/29", "553"}, + {"2001:559:86de::/42", "33659"}, + {"2a00:6020::/32", "60294"}, + {"2a04:f580:9012::/47", "4809"}, + {"2001:678:3f4::/48", "211509"}, + {"2001:938:403b::/41", "8437"}, + {"2404:6740:1000::/48", "138608"}, + {"240a:a3ae::/32", "143592"}, + {"2600:1406:3c01::/38", "20940"}, + {"2a02:26f7:e8c5::/46", "20940"}, + {"2a03:4c60::/32", "199909"}, + {"2a09:bf80::/40", "12213"}, + {"2804:2a4:c000::/34", "262828"}, + {"2804:4884::/32", "267126"}, + {"2a03:ae60::/45", "202847"}, + {"2001:559:28d::/48", "7725"}, + {"2001:559:85a0::/48", "33659"}, + {"2001:1248:8445::/46", "11172"}, + {"2804:7184::/32", "270794"}, + {"2a0e:b107:b88::/46", "212995"}, + {"2a0f:eb80:2::/44", "47267"}, + {"2001:559:803b::/48", "26419"}, + {"2001:67c:5cc::/48", "3320"}, + {"2001:df0:8fc0::/48", "7387"}, + {"2804:298:2013::/32", "53087"}, + {"2a02:587:6800::/32", "6799"}, + {"2a0d:c7c0::/32", "6233"}, + {"2001:550:5c07::/48", "15235"}, + {"2401:d800:2d00::/42", "7552"}, + {"2409:8050:3100::/37", "9808"}, + {"2804:4038::/32", "265945"}, + {"2a05:dfc7:5354::/32", "61138"}, + {"2408:8726::/32", "4837"}, + {"2602:fed2:730f::/48", "53356"}, + {"2a01:4580::/29", "8426"}, + {"2a05:6747::/48", "1759"}, + {"2a09:4740::/48", "44364"}, + {"2c0f:ee18::/32", "37110"}, + {"2402:e380:113::/45", "139073"}, + {"2600:1413:4001::/34", "20940"}, + {"2804:28a8::/32", "263973"}, + {"2a00:c780::/32", "15557"}, + {"2408:8459:dc50::/38", "17816"}, + {"2620:149:1030::/41", "714"}, + {"2804:2f84::/32", "264896"}, + {"2a00:1850:2ea::/48", "29357"}, + {"240a:ac3b::/32", "145781"}, + {"2801:80:2400::/48", "268302"}, + {"2804:170:5000::/32", "28131"}, + {"2a01:9f40::/29", "199101"}, + {"2a0f:ca87:c::/48", "210348"}, + {"2001:da8:8034::/36", "23910"}, + {"2405:8a00:20e4::/43", "55824"}, + {"2409:4025:1000::/25", "55836"}, + {"2409:8924:d00::/38", "56046"}, + {"240a:ae33::/32", "146285"}, + {"2a03:52a0:173::/32", "12557"}, + {"2804:8624::/32", "272624"}, + {"2a02:4e80::/32", "204645"}, + {"2001:df7:4100::/48", "137621"}, + {"240a:af6b::/32", "146597"}, + {"240e:90::/34", "140061"}, + {"2800:160:1ff2::/45", "14259"}, + {"2a04:4e40:5a00::/48", "54113"}, + {"2a09:4200::/29", "47602"}, + {"2a0e:2b80::/39", "28875"}, + {"2600:100a:b1c0::/43", "6167"}, + {"2804:84c4::/32", "272280"}, + {"2806:2f0:20a2::/48", "17072"}, + {"2402:800:9d01::/44", "7552"}, + {"2600:1003:9000::/44", "6167"}, + {"2804:21a0::/32", "264565"}, + {"2a00:a780:900::/32", "44229"}, + {"2a02:2010:2420::/45", "20978"}, + {"2001:1900:222f::/43", "3356"}, + {"2804:8::/45", "14840"}, + {"2a12:b500::/32", "210477"}, + {"2610:b0:c200::/34", "3573"}, + {"2804:1e2c:1000::/40", "264412"}, + {"2a01:3f1:5400::/32", "8674"}, + {"2a03:4bc0:2000::/48", "30893"}, + {"2001:500:2e::/47", "3557"}, + {"2001:559:c3ae::/48", "7922"}, + {"2406:840:e800::/48", "134488"}, + {"240a:aad2::/32", "145420"}, + {"2a00:d180::/32", "15457"}, + {"2a03:77e0:5301::/48", "48305"}, + {"2401:d800:b9a0::/41", "7552"}, + {"2408:8456:ce40::/40", "17816"}, + {"2409:801f:3010::/32", "24400"}, + {"2607:2a00:2::/48", "3584"}, + {"2800:440:8143::/48", "27738"}, + {"2001:4be8::/32", "31595"}, + {"2407:54c0::/32", "142065"}, + {"2001:559:c41a::/45", "7015"}, + {"2400:35a0::/32", "137645"}, + {"2400:dd01:301c::/30", "7497"}, + {"2409:8959:c854::/39", "56040"}, + {"2600:380:f1c0::/43", "20057"}, + {"2a01:5b40:d::/36", "12996"}, + {"2a02:26f7:f751::/42", "20940"}, + {"2a0b:6b86:d18::/40", "212232"}, + {"2001:559:832f::/43", "33659"}, + {"2804:238c::/35", "264169"}, + {"2804:6484::/32", "269432"}, + {"2604:d600:1d0c::/34", "32098"}, + {"2604:e5c0::/32", "31950"}, + {"2804:4c14:ca01::/39", "267348"}, + {"2804:5968::/36", "268188"}, + {"2a02:2e02:2ea0::/39", "12479"}, + {"2a0b:3c40:20::/48", "208258"}, + {"2001:559:83c1::/48", "7922"}, + {"2001:67c:1494::/48", "61431"}, + {"2001:1248:c233::/48", "11172"}, + {"2408:862a:9200::/34", "139007"}, + {"240a:a0f4::/32", "142894"}, + {"2a0b:8340::/29", "50304"}, + {"2001:12c4:5aff::/32", "28262"}, + {"2600:c04:1023::/48", "12180"}, + {"2800:160:2311::/42", "14259"}, + {"2a00:1728:18::/48", "34368"}, + {"2a09:e0c0::/29", "64421"}, + {"2a0e:fd45:40f5::/48", "43927"}, + {"2a12:4340::/29", "60135"}, + {"2001:559:386::/48", "20214"}, + {"2001:559:86d5::/48", "7725"}, + {"2001:579:1044::/40", "22773"}, + {"2001:c38:9126::/48", "38228"}, + {"2406:840:880::/48", "139317"}, + {"2620:171:f6::/48", "715"}, + {"2806:230:3016::/48", "265594"}, + {"2a01:7b00::/32", "41589"}, + {"2a03:3a40:2000::/48", "20712"}, + {"2a0f:6fc5:a4ae::/48", "43694"}, + {"2001:44b8:105e::/48", "7545"}, + {"2001:44c8:130::/47", "131445"}, + {"2620:149:a1e::/48", "6185"}, + {"2a02:26f7:dbcc::/48", "36183"}, + {"2a0c:b641:780::/44", "207301"}, + {"2402:2200:8000::/35", "4788"}, + {"2804:14d:8099::/41", "28573"}, + {"2a0a:5ac0::/32", "212696"}, + {"2001:559:2af::/43", "7016"}, + {"2a04:2800::/29", "206114"}, + {"2403:a880::/32", "17964"}, + {"2403:d200::/32", "45230"}, + {"2801:114:7::/48", "26506"}, + {"2804:6ac8::/39", "270358"}, + {"2a07:9340::/32", "56911"}, + {"2401:d800:960::/40", "7552"}, + {"2404:bf40:a4c1::/39", "139084"}, + {"2408:8a24:4000::/34", "4837"}, + {"2804:2f30:6d00::/32", "53096"}, + {"2804:0:1801::/37", "2716"}, + {"2a01:b460::/32", "6830"}, + {"2a0e:97c0:39b::/45", "211437"}, + {"2001:4888:803f::/48", "22394"}, + {"2402:8100:2460::/44", "45271"}, + {"240a:a6a1::/32", "144347"}, + {"240e:4:e000::/40", "132147"}, + {"2801:11:2000::/48", "61486"}, + {"2801:96:fff3::/45", "28586"}, + {"2a02:26f7:e518::/48", "36183"}, + {"2001:df5:4f80::/48", "141411"}, + {"240a:a01c::/32", "142678"}, + {"240a:a93a::/32", "145012"}, + {"2804:446c:c001::/34", "28369"}, + {"2001:df0:318::/47", "136601"}, + {"2404:7180:c011::/46", "23848"}, + {"2800:68:23::/45", "61468"}, + {"2a05:9f47::/32", "58305"}, + {"2403:18c0:1000::/47", "54574"}, + {"2404:138:134::/33", "38022"}, + {"2602:fdad::/40", "397438"}, + {"2604:d600:c6f::/43", "32098"}, + {"2800:160:1590::/44", "14259"}, + {"2a04:8ec0::/48", "1712"}, + {"240c:c727::/24", "23910"}, + {"2620:171:da::/48", "42"}, + {"2804:31c8::/32", "265037"}, + {"2a01:9b60::/32", "30742"}, + {"2a02:4180::/32", "42334"}, + {"2402:800:b5c0::/42", "7552"}, + {"2605:a404:ba3::/41", "33363"}, + {"2804:5f6c::/35", "262287"}, + {"2a0d:f103::/32", "208449"}, + {"2408:8456:9840::/38", "17816"}, + {"2605:9cc0:40c::/48", "8987"}, + {"2804:40c8::/32", "265981"}, + {"2a06:c700:3000::/31", "6810"}, + {"2001:67c:2818::/48", "20647"}, + {"240e:981:200::/40", "23724"}, + {"2600:1014:9000::/44", "6167"}, + {"2804:b94::/32", "52796"}, + {"2a03:f80:972::/48", "61102"}, + {"2a04:57c0::/29", "62183"}, + {"2a04:9700::/29", "62227"}, + {"2a0e:8f02:f00e::/48", "212359"}, + {"2404:af80:3::/48", "38026"}, + {"2600:6c10:19::/45", "20115"}, + {"2804:2250::/33", "262756"}, + {"2a00:4520::/44", "42961"}, + {"2a05:91c3:1::/48", "39511"}, + {"2001:250:5011::/48", "23910"}, + {"2001:559:719::/48", "395680"}, + {"2604:ca00:454::/42", "36492"}, + {"2803:19a0::/32", "267714"}, + {"2803:c800:40e0::/32", "23243"}, + {"2a00:11c0:1010::/48", "42388"}, + {"2a06:e80:3000::/36", "211720"}, + {"240e:983:1801::/48", "133774"}, + {"2a02:26f7:8a::/48", "36183"}, + {"2a04:9a04::/32", "29311"}, + {"2001:19f0:1000::/37", "20473"}, + {"2606:2800:410e::/48", "14153"}, + {"2620:9:a005::/48", "395515"}, + {"2800:440:9600::/42", "27738"}, + {"2804:8564:1160::/43", "262313"}, + {"2a00:c58::/32", "41887"}, + {"2405:1c0:6281::/46", "55303"}, + {"240a:a543::/32", "143997"}, + {"240a:acf4::/32", "145966"}, + {"240e:965:c600::/36", "4134"}, + {"2804:7250::/32", "270846"}, + {"2a02:26f7:e6::/48", "36183"}, + {"2a02:26f7:bc00::/48", "36183"}, + {"2607:ff38:4::/32", "22937"}, + {"2800:bf0:8090::/45", "52257"}, + {"2a02:26f7:e109::/46", "20940"}, + {"2600:370f:33ca::/45", "32261"}, + {"2620:24:8080::/48", "23389"}, + {"2a0e:92c0::/29", "58061"}, + {"2001:559:83b1::/48", "33287"}, + {"2402:800:3c1d::/41", "7552"}, + {"2a02:50e0::/32", "198203"}, + {"2a0f:5944::/32", "9009"}, + {"2402:dc40::/48", "134331"}, + {"2404:7180:b010::/48", "23848"}, + {"2001:579:f130::/45", "22773"}, + {"2001:1248:5a2f::/43", "11172"}, + {"2408:8956:2400::/40", "17622"}, + {"2a02:7b02::/36", "48328"}, + {"2a04:7e80::/29", "50794"}, + {"2001:500:b::/45", "12041"}, + {"2600:1415:e801::/35", "20940"}, + {"2804:3f30::/32", "266645"}, + {"2a02:23a8::/32", "16164"}, + {"2a02:26f7:bd40::/48", "36183"}, + {"2001:579:f084::/42", "22773"}, + {"2001:67c:5ec::/48", "34172"}, + {"2001:1248:5767::/44", "11172"}, + {"240a:a83d::/32", "144759"}, + {"240e:108:8a::/48", "134238"}, + {"2804:7ce0::/32", "271524"}, + {"2a03:920::/32", "203536"}, + {"2409:8c30:1010::/39", "9808"}, + {"240a:af45::/32", "146559"}, + {"2620:0:28a4::/48", "33522"}, + {"2800:160:189b::/42", "14259"}, + {"2804:37a8:121f::/32", "266428"}, + {"2a02:26f7:b649::/42", "20940"}, + {"2001:559:80a0::/48", "7016"}, + {"2001:559:c055::/46", "7015"}, + {"2402:800:f2c0::/42", "7552"}, + {"2409:8915:5600::/39", "56044"}, + {"2620:da::/48", "23177"}, + {"2801:104:8::/47", "27828"}, + {"2804:2178:5001::/32", "264556"}, + {"2a02:2430:8::/42", "39869"}, + {"2a0f:607:1008::/48", "7480"}, + {"2409:8a4c::/32", "9808"}, + {"2607:f4e8:15::/46", "22822"}, + {"2804:1390::/32", "263538"}, + {"2804:7440::/32", "270969"}, + {"2a01:190:15ea::/47", "1764"}, + {"2001:4b20:20::/63", "65505"}, + {"2401:4300:a::/48", "45184"}, + {"2409:8038:1100::/36", "9808"}, + {"2620:185:50::/36", "11396"}, + {"2804:16d8::/38", "262729"}, + {"2804:3c48::/32", "266201"}, + {"2a09:55c0::/32", "209451"}, + {"2a0f:e3c7::/40", "210542"}, + {"2001:559:8731::/46", "7015"}, + {"2604:d600:159a::/42", "32098"}, + {"2a02:26f7:d58d::/42", "20940"}, + {"2001:559:8618::/48", "33651"}, + {"2001:678:4b8::/48", "41985"}, + {"2001:678:584::/48", "5409"}, + {"2402:8100:30e0::/44", "55644"}, + {"240e:3b6:4c00::/35", "136200"}, + {"240e:67b:e600::/29", "4134"}, + {"2804:2d90::/34", "52682"}, + {"2409:8904:d590::/34", "24547"}, + {"2a00:d320::/29", "15600"}, + {"2404:d0::/44", "6648"}, + {"2606:f280:8000::/33", "46261"}, + {"2804:5f80::/32", "269104"}, + {"2804:8388::/32", "268843"}, + {"2a04:6640::/29", "3257"}, + {"2402:e000:5380::/41", "24499"}, + {"240a:aa28::/32", "145250"}, + {"2803:c0::/32", "264756"}, + {"2a12:df00::/35", "210462"}, + {"2c0f:f5c0:231::/39", "29465"}, + {"2001:678:118::/48", "57436"}, + {"2404:ed::/30", "703"}, + {"240a:a399::/32", "143571"}, + {"2a01:73c0::/39", "21450"}, + {"2a0d:c440::/29", "39305"}, + {"2001:559:71b::/48", "33491"}, + {"2804:290c::/32", "263994"}, + {"2a06:d00::/29", "200689"}, + {"2402:c840::/32", "37892"}, + {"2803:ecc0:600::/36", "264814"}, + {"2a06:e881:6900::/48", "208434"}, + {"240e:438:a240::/37", "4134"}, + {"2800:484:da00::/40", "14080"}, + {"2a02:26f7:eec1::/46", "20940"}, + {"2a02:26f7:f7cc::/48", "36183"}, + {"2c0f:f348::/44", "24757"}, + {"2402:4480:301::/46", "174"}, + {"2402:d000:106d::/43", "9329"}, + {"2600:1010:b140::/42", "6167"}, + {"2607:fb90:2100::/35", "21928"}, + {"2a02:26f7:c444::/48", "36183"}, + {"2404:8d06:4100::/35", "10089"}, + {"2409:8d14:400::/38", "56044"}, + {"240e:ff:c005::/48", "136200"}, + {"2800:6f0:9800::/40", "20207"}, + {"2804:4d48::/33", "53115"}, + {"2a02:26f7:110::/48", "36183"}, + {"2804:14d:72a3::/45", "28573"}, + {"2a01:9800::/35", "52070"}, + {"2a0a:2840:20::/43", "42962"}, + {"2a10:cc42:1400::/40", "20473"}, + {"2409:896a:3800::/39", "9808"}, + {"2602:feda:ae2::/47", "138181"}, + {"2620:12c:9006::/47", "395359"}, + {"2804:828::/40", "262354"}, + {"2804:308c::/32", "264960"}, + {"2a04:92c1:7::/30", "62240"}, + {"2001:559:548::/48", "33657"}, + {"240e:980:2000::/40", "4134"}, + {"2607:a400:8::/32", "21859"}, + {"2a02:ad8:5900::/32", "12389"}, + {"2001:559:c169::/48", "7725"}, + {"2600:1417:52::/48", "24319"}, + {"2800:160:1496::/42", "14259"}, + {"2804:7ff0::/32", "271719"}, + {"2a0e:b107:110::/47", "209294"}, + {"2c0f:ecf8::/32", "328441"}, + {"2607:de00:300::/32", "23498"}, + {"2406:4440:20::/41", "38008"}, + {"240a:aeee::/32", "146472"}, + {"2001:1248:9abf::/41", "11172"}, + {"2804:4cdc::/32", "267397"}, + {"2a0a:4540:220::/48", "16509"}, + {"240a:ad3c::/32", "146038"}, + {"2604:d600:c85::/43", "32098"}, + {"2800:160:1b53::/44", "14259"}, + {"2800:300:90a0::/41", "27651"}, + {"2804:71c4::/32", "270810"}, + {"2407:7700::/32", "132354"}, + {"240e:3bf:f100::/37", "134775"}, + {"2600:100f:a000::/44", "6167"}, + {"2600:1409:8::/46", "20940"}, + {"2600:6c20:e1f::/42", "20115"}, + {"2806:2a0:16::/44", "28548"}, + {"2a02:2e02:2cf0::/38", "12479"}, + {"2001:8b0:5000::/32", "20712"}, + {"2607:1280:1260::/44", "394972"}, + {"2610:8::/32", "3999"}, + {"2804:f60::/32", "263582"}, + {"2804:69e0::/32", "270297"}, + {"2001:559:3a2::/48", "7016"}, + {"2a02:26f7:d5c1::/46", "20940"}, + {"2a02:26f7:f801::/46", "20940"}, + {"2a09:e440::/46", "209185"}, + {"2806:2f0:3183::/42", "17072"}, + {"2400:fc00:8d50::/35", "45773"}, + {"2408:8456:1b40::/40", "17816"}, + {"240e:109:8027::/48", "133774"}, + {"240e:982:1000::/39", "137695"}, + {"2a02:728::/32", "25542"}, + {"2a04:4345:10::/44", "38965"}, + {"2001:67c:754::/48", "204254"}, + {"2001:67c:1314::/48", "15935"}, + {"240a:accb::/32", "145925"}, + {"240a:af8f::/32", "146633"}, + {"2804:1830::/32", "61922"}, + {"2a03:5640:f502::/45", "16509"}, + {"2001:250:83c::/48", "23910"}, + {"2001:559:8166::/48", "33657"}, + {"2607:8200:8000::/36", "46691"}, + {"2407:a600:2000::/36", "18004"}, + {"240e:108:1112::/42", "4134"}, + {"2620:cd:c000::/48", "32932"}, + {"2800:160:131d::/42", "14259"}, + {"2804:190::/38", "53165"}, + {"2804:55b4::/32", "267951"}, + {"2a03:b8c0:29::/46", "396253"}, + {"2a0e:b107:50::/44", "212267"}, + {"240a:ae70::/32", "146346"}, + {"240a:aeb6::/32", "146416"}, + {"2602:fe6a:100::/40", "397131"}, + {"2806:288:4010::/48", "28469"}, + {"2a06:c00::/30", "59414"}, + {"2001:559:c4b9::/48", "33661"}, + {"2001:67c:28a4::/48", "198794"}, + {"2402:8100:210e::/47", "55644"}, + {"2402:8100:2693::/44", "55644"}, + {"2607:ffd0:700::/46", "26994"}, + {"2a09:1500:13::/48", "208175"}, + {"2a10:6280::/29", "400177"}, + {"2401:d800:e40::/42", "7552"}, + {"240a:a675::/32", "144303"}, + {"2602:ffe2:10::/48", "53334"}, + {"2001:ee0:c840::/39", "45899"}, + {"2401:d800:2f40::/42", "7552"}, + {"2405:8740::/32", "46019"}, + {"2409:805e:1900::/34", "9808"}, + {"2804:28dc::/32", "263985"}, + {"2804:439c::/32", "267579"}, + {"2806:2f0:3143::/42", "17072"}, + {"2a00:9d20:101::/48", "30633"}, + {"2001:d70::/30", "7671"}, + {"2408:80f5:4000::/34", "4837"}, + {"240a:abf7::/32", "145713"}, + {"240e:100:30::/41", "137689"}, + {"2801:80:d0::/48", "28301"}, + {"2408:8456:5a40::/39", "17816"}, + {"2a02:26f7:d258::/48", "36183"}, + {"2804:2bb0::/32", "265169"}, + {"2408:8742::/32", "4837"}, + {"2600:2000:2200::/41", "31898"}, + {"2604:180:f1::/45", "3842"}, + {"2605:b100:300::/41", "577"}, + {"2607:c280::/32", "397168"}, + {"2804:20fc:603::/40", "264525"}, + {"2804:7718::/32", "271154"}, + {"2408:8459:ed10::/42", "17623"}, + {"2603:f500::/29", "396356"}, + {"2806:230:1501::/40", "265594"}, + {"2a01:8740:6::/32", "57344"}, + {"2a02:7c0::/32", "34816"}, + {"2a02:26f7:dc49::/46", "20940"}, + {"2a02:5be0::/47", "42427"}, + {"2402:5680::/36", "133798"}, + {"2801:80:6c0::/48", "262963"}, + {"2001:1838:9100::/34", "23352"}, + {"2402:8100:26d2::/45", "55644"}, + {"2408:8957:6100::/40", "17816"}, + {"2600:370f:3620::/47", "32261"}, + {"2801:18:6000::/48", "61496"}, + {"2804:694::/34", "262596"}, + {"2804:1210::/32", "263454"}, + {"2806:2f0:1160::/40", "17072"}, + {"2a09:d940::/29", "209202"}, + {"2001:218:2003::/39", "2914"}, + {"2001:559:8167::/48", "33667"}, + {"240e:61:4000::/35", "136198"}, + {"2a0b:dac0::/29", "205424"}, + {"2404:0:4000::/36", "9311"}, + {"2409:8c1e:c340::/31", "9808"}, + {"2606:5200::/32", "32477"}, + {"2804:28e4:50::/37", "28260"}, + {"2405:fc00::/32", "37989"}, + {"240e:964:8c00::/35", "4134"}, + {"2600:1009:b070::/40", "22394"}, + {"2607:f3a0:a008::/48", "399812"}, + {"2804:5f08::/32", "269072"}, + {"2a07:6cc0:50::/48", "61098"}, + {"240a:3:bfe::/48", "9605"}, + {"2a01:8840:f4::/48", "12041"}, + {"240e:108:2e::/48", "4134"}, + {"2804:77c0::/32", "271197"}, + {"2408:840d:ad00::/42", "17621"}, + {"240a:a830::/32", "144746"}, + {"2605:a40e::/47", "33363"}, + {"2606:4700:53::/45", "13335"}, + {"2607:f790:fff6::/48", "398351"}, + {"2800:68:41::/43", "61468"}, + {"2804:d0::/32", "28145"}, + {"2a0e:b107:1577::/48", "141011"}, + {"2001:503:ba3e::/48", "396574"}, + {"2001:559:c157::/48", "33662"}, + {"2402:d000:143::/35", "9329"}, + {"2a0b:1c0::/29", "51088"}, + {"2c0f:ee08::/48", "328249"}, + {"2001:67c:2ca0::/46", "50838"}, + {"2803:c600:10::/44", "27901"}, + {"2405:ec01::/35", "137412"}, + {"240a:a6d8::/32", "144402"}, + {"2600:140f:dc01::/34", "20940"}, + {"2620:cc::/48", "40816"}, + {"2804:1e90:1300::/32", "264436"}, + {"2a04:bc40:1dc1::/48", "35277"}, + {"2402:e280:215c::/46", "134674"}, + {"2600:1007:b1d0::/44", "6167"}, + {"2602:801:c000::/47", "2639"}, + {"2607:4000::/38", "73"}, + {"2804:14d:badf::/42", "28573"}, + {"2a0f:15c0::/29", "60262"}, + {"240a:acdf::/32", "145945"}, + {"240e:c2:1800::/37", "63835"}, + {"240e:37c:ac00::/33", "4134"}, + {"2001:218:8400::/33", "2914"}, + {"2001:500:104::/44", "21775"}, + {"2804:560::/32", "53009"}, + {"2a02:26f7:c359::/46", "20940"}, + {"2001:559:80a5::/48", "7922"}, + {"2001:df0:2c8::/48", "56178"}, + {"2604:cc80::/32", "62488"}, + {"2a00:1cd0:1::/46", "43408"}, + {"2a0c:8fc3:6400::/40", "23470"}, + {"2c0f:e8e0:40a0::/41", "327926"}, + {"2604:0:c2::/32", "7397"}, + {"2a00:79e1:f1a::/47", "395973"}, + {"2a04:1a80::/29", "207606"}, + {"2a0f:ac00::/29", "60781"}, + {"2600:1f01:4830::/47", "16509"}, + {"2605:7280::/45", "54600"}, + {"2605:b100:b80::/37", "577"}, + {"2804:1040:facf::/42", "263626"}, + {"2a02:130::/32", "42841"}, + {"2804:4ec::/47", "28668"}, + {"2a02:2e02:2530::/41", "12479"}, + {"240a:a01f::/32", "142681"}, + {"240e:974:1200::/48", "38283"}, + {"2600:d00::/31", "20161"}, + {"2804:3244:1c::/42", "265066"}, + {"2a03:2320::/32", "201648"}, + {"2605:4a80::/32", "11232"}, + {"2607:fd68::/32", "7029"}, + {"2a02:21a0::/29", "49743"}, + {"2001:253:117::/48", "142083"}, + {"2001:df0:e680::/48", "136369"}, + {"2001:4020::/32", "13110"}, + {"2402:800:6277::/44", "7552"}, + {"2403:8c00::/32", "24371"}, + {"2a02:26f7:c4c9::/42", "20940"}, + {"2a11:ed40::/29", "1239"}, + {"2001:559:8567::/48", "33668"}, + {"2620:e9:4000::/48", "394662"}, + {"2a07:59c6:eed4::/46", "56382"}, + {"2001:559:8072::/47", "22909"}, + {"240a:ad85::/32", "146111"}, + {"2a0f:3cc6::/32", "60735"}, + {"2409:896a:a400::/39", "9808"}, + {"2600:1417:5000::/48", "23693"}, + {"2a0c:1c80::/29", "203119"}, + {"2403:cb00:a000::/36", "58621"}, + {"2a02:26f7:e488::/48", "36183"}, + {"2a03:e480::/32", "15640"}, + {"240a:a836::/32", "144752"}, + {"2804:7700::/32", "271148"}, + {"2a02:26f7:ccc9::/46", "20940"}, + {"2a02:5400:808::/48", "33353"}, + {"2a0b:f8c0::/29", "44297"}, + {"2001:559:8239::/48", "7725"}, + {"2001:df5:fb80::/48", "141727"}, + {"2001:559:7bd::/48", "7922"}, + {"2001:c20:4865::/48", "9255"}, + {"2001:df0:4e80::/48", "139035"}, + {"2001:4130:18::/48", "24725"}, + {"2604:6d00:2100::/48", "36223"}, + {"2620:128:e008::/48", "22317"}, + {"2806:20d:1121::/38", "32098"}, + {"2a00:4800:a0::/44", "13124"}, + {"2a01:8be0::/29", "61956"}, + {"2a02:ac8::/32", "34594"}, + {"2a02:67e0:4000::/32", "203148"}, + {"2001:559:c24c::/48", "33652"}, + {"2001:7fb:ff12::/44", "12654"}, + {"2001:df0:95::/48", "7667"}, + {"2402:800:390f::/43", "7552"}, + {"2406:f680:7101::/32", "132298"}, + {"2804:1af8::/32", "61701"}, + {"2804:1cc4:4003::/36", "61674"}, + {"2804:7f3c::/32", "271675"}, + {"2a0d:a6c0::/29", "39724"}, + {"2a0e:66c0::/29", "44486"}, + {"2607:8200:4000::/36", "33561"}, + {"2a03:e140:1::/48", "12722"}, + {"2a10:6380::/29", "204790"}, + {"2804:845c::/32", "272256"}, + {"2804:85fc::/32", "272612"}, + {"2a0f:5707:aa40::/44", "48126"}, + {"2001:67c:11a8::/48", "50695"}, + {"2001:67c:2600::/48", "15655"}, + {"2409:8958:ce44::/43", "9808"}, + {"2620:1d6:ff0::/46", "2571"}, + {"2a02:26f7:d948::/48", "36183"}, + {"2a0b:ddc0::/29", "59970"}, + {"2c0f:f0c0::/31", "37035"}, + {"2001:559:816a::/47", "33657"}, + {"2402:800:551d::/42", "7552"}, + {"2409:8050:1802::/40", "56047"}, + {"2800:370:36::/48", "28006"}, + {"2804:14c:bbae::/47", "28573"}, + {"2a02:358::/32", "12822"}, + {"2408:8956:1400::/40", "17622"}, + {"240a:ab3b::/32", "145525"}, + {"2600:380:f1d1::/48", "20057"}, + {"2801:80:4b0::/48", "52798"}, + {"2a02:26f7:c681::/46", "20940"}, + {"2402:1440:31::/39", "63689"}, + {"2405:f080::/38", "136907"}, + {"2a00:1288:112::/47", "34010"}, + {"2a0b:f00::/29", "49191"}, + {"2001:559:c057::/48", "7922"}, + {"2001:b28:5::/33", "42065"}, + {"2804:f00::/32", "263562"}, + {"2804:7f38::/32", "271674"}, + {"2806:250:400::/40", "28545"}, + {"2a09:ff40::/32", "209146"}, + {"2001:559:c3e7::/44", "7922"}, + {"2402:e380:31e::/48", "142030"}, + {"2a0e:97c0:141::/45", "211946"}, + {"2401:d800:f320::/41", "7552"}, + {"2a00:b260::/32", "51417"}, + {"2a02:26f7:cd50::/48", "36183"}, + {"2405:3f00::/31", "38719"}, + {"2604:a840:8::/48", "6233"}, + {"2806:20d:520b::/45", "32098"}, + {"2806:230:6007::/48", "11888"}, + {"2806:370:7340::/40", "28403"}, + {"2a0f:340::/29", "16509"}, + {"2001:468:26e2::/36", "11537"}, + {"240a:aeca::/32", "146436"}, + {"240e:1:800::/37", "137691"}, + {"2620:11c::/46", "27647"}, + {"2a00:9b40::/48", "44684"}, + {"2a02:2e02:3000::/40", "12479"}, + {"2001:559:869e::/48", "7922"}, + {"2402:a040::/32", "137522"}, + {"2600:6c3b:31::/37", "20115"}, + {"2606:ae00:6000::/41", "7287"}, + {"2620:13e:500f::/48", "206885"}, + {"2a02:2010:2320::/45", "20978"}, + {"2a05:f340::/29", "41827"}, + {"2001:678:e30::/48", "48108"}, + {"2402:800:6901::/35", "7552"}, + {"2600:1014:a100::/44", "6167"}, + {"2001:4410:1100::/34", "132040"}, + {"2603:f660::/24", "397165"}, + {"2604:200:14::/32", "33132"}, + {"2a02:2348::/32", "3301"}, + {"2a02:cbf0::/29", "61157"}, + {"2a0c:a980::/29", "210198"}, + {"240a:a990::/32", "145098"}, + {"2606:1980:4::/48", "54994"}, + {"2804:2390::/32", "264170"}, + {"2409:8a56:2800::/32", "56040"}, + {"240a:a457::/32", "143761"}, + {"2600:6c38:130::/41", "20115"}, + {"2a03:db80:4c84::/48", "5501"}, + {"2c0f:ed40::/32", "328461"}, + {"2406:7400:b7::/44", "24309"}, + {"240e:a7:7fc6::/44", "140510"}, + {"2804:7258::/32", "270848"}, + {"2001:df4:5a80::/48", "59185"}, + {"2400:c540::/46", "59238"}, + {"2604:72c0::/32", "26095"}, + {"2409:8704:c500::/34", "24547"}, + {"2610:b0:2030::/41", "3573"}, + {"2a05:35c0:3::/29", "60781"}, + {"240a:a26d::/32", "143271"}, + {"2804:7f74:8001::/33", "271689"}, + {"2a00:f826:4::/46", "34549"}, + {"2a02:26f7:c989::/42", "20940"}, + {"2400:5280:fc00::/38", "63199"}, + {"2401:d800:73c2::/42", "7552"}, + {"2408:840c:2900::/40", "17621"}, + {"240a:a548::/32", "144002"}, + {"2001:559:362::/48", "7725"}, + {"2402:800:5e60::/43", "7552"}, + {"2407:500:4111::/34", "58940"}, + {"2409:8904:2940::/38", "24547"}, + {"2605:9d80:a021::/48", "36678"}, + {"2a01:111:5000::/32", "8075"}, + {"2a02:888:8150::/48", "48695"}, + {"2a03:db80:4811::/46", "680"}, + {"2607:f8e8::/32", "46208"}, + {"2804:5ea8::/32", "269048"}, + {"2a0c:a6c0:1::/48", "21473"}, + {"2402:800:5bd3::/44", "7552"}, + {"2408:840d:b600::/42", "17621"}, + {"240a:a4fc::/32", "143926"}, + {"2600:1000:d040::/34", "22394"}, + {"2804:e8c:a000::/33", "52561"}, + {"2804:4338::/32", "267556"}, + {"2001:df6:180:200::/48", "141731"}, + {"2401:d800:b0f0::/39", "7552"}, + {"2403:300:a09::/48", "714"}, + {"240e:3b5:2200::/37", "136198"}, + {"2600:1417:7801::/32", "20940"}, + {"2804:67bc::/32", "269647"}, + {"2a02:26f7:dbc4::/48", "36183"}, + {"2a02:2e02:2420::/41", "12479"}, + {"2a05:a282::/32", "31586"}, + {"2a09:9e40::/48", "44364"}, + {"2001:559:837a::/48", "33651"}, + {"2001:df2:c680::/48", "139980"}, + {"2408:8459:2130::/41", "17622"}, + {"240e:1e:1000::/36", "134772"}, + {"2602:fd47::/36", "398461"}, + {"2804:37f0:c100::/35", "266445"}, + {"2a07:ad00::/30", "200544"}, + {"2a0e:59c0::/29", "207187"}, + {"2001:559:442::/48", "22258"}, + {"2001:559:c302::/47", "7015"}, + {"2001:12f0:b0a::/43", "1916"}, + {"2001:1a10:200::/36", "8781"}, + {"2602:feda:3::/45", "46997"}, + {"2804:4f8:6001::/39", "28263"}, + {"2804:6b08::/32", "270373"}, + {"2001:df7:2f00::/48", "138114"}, + {"2600:6c38:e3b::/39", "20115"}, + {"2605:540::/32", "62640"}, + {"2804:4544:b000::/40", "266915"}, + {"2a00:ec8:407::/32", "38930"}, + {"2a06:d680::/29", "203593"}, + {"2401:1c00:6100::/32", "38809"}, + {"2401:d800:b4f0::/39", "7552"}, + {"2606:2b00::/32", "5723"}, + {"2a0e:97c0:500::/46", "210969"}, + {"240a:a8d3::/32", "144909"}, + {"2607:fcf8:bbbc::/33", "26788"}, + {"2a02:2e02:5f0::/38", "12479"}, + {"2409:8014:1010::/34", "56044"}, + {"2605:a401:89fa::/38", "33363"}, + {"2a02:26f0:3101::/38", "20940"}, + {"2a0f:36c0::/29", "60262"}, + {"2001:559:c2a2::/48", "33651"}, + {"2001:67c:7d8::/48", "31676"}, + {"2406:3000:43::/44", "4657"}, + {"2600:1419:6::/44", "20940"}, + {"2a01:8840:ba::/45", "12041"}, + {"2a04:340::/29", "200828"}, + {"2a04:4d40::/29", "16019"}, + {"2a04:8f80:2000::/36", "15466"}, + {"2a11:7e40::/32", "208626"}, + {"2001:df3:fa80::/48", "9498"}, + {"2405:7f00:b1a0::/33", "133414"}, + {"2620:13f:7007::/48", "55706"}, + {"2804:8490::/32", "272268"}, + {"2001:df1:780::/48", "136644"}, + {"2804:2214:800c::/33", "28177"}, + {"2001:559:822d::/48", "33652"}, + {"2001:579:b004::/41", "22773"}, + {"2405:1e00::/44", "17771"}, + {"2804:3130::/32", "264999"}, + {"2804:57bc::/33", "268083"}, + {"2a06:9f80::/29", "61138"}, + {"2001:df0:62::/48", "38040"}, + {"2001:df5:c300::/48", "133876"}, + {"240e:108:1167::/48", "58563"}, + {"2605:6c00:9::/48", "10255"}, + {"2804:63f0::/32", "269393"}, + {"2a02:2ba8::/32", "14717"}, + {"2001:df0:fe::/48", "56098"}, + {"2408:8957:6600::/40", "17622"}, + {"240a:a594::/32", "144078"}, + {"240a:ad4c::/32", "146054"}, + {"240e:3b1:4c00::/35", "136200"}, + {"240a:a89f::/32", "144857"}, + {"2804:2630::/32", "264331"}, + {"2a00:d340:ffe0::/48", "41321"}, + {"2a0d:2407::/32", "62068"}, + {"2001:559:7bb::/48", "33287"}, + {"2409:8051:3802::/40", "56047"}, + {"2600:6c34:298::/48", "33588"}, + {"2804:4558::/32", "266920"}, + {"2a02:26f7:f4c0::/48", "36183"}, + {"2a03:2880:f04d::/43", "32934"}, + {"2a0c:f100::/29", "212880"}, + {"2a12:a240::/29", "400522"}, + {"2c0f:ee00::/47", "37721"}, + {"2a02:26f7:e0::/48", "36183"}, + {"2a0a:9fc0::/29", "31673"}, + {"2001:a08::/32", "39326"}, + {"2402:800:4400::/35", "7552"}, + {"2600:40ff:fc10::/45", "1321"}, + {"2001:250:6809::/46", "24368"}, + {"2405:f280:35::/32", "131464"}, + {"2600:140b:8801::/38", "20940"}, + {"2605:4a00:121::/44", "14361"}, + {"2607:da80::/32", "13760"}, + {"2804:fe0:24b0::/32", "263049"}, + {"2a01:158::/32", "3249"}, + {"2a02:d08::/32", "34762"}, + {"240a:a56d::/32", "144039"}, + {"240e:1a:2000::/29", "4134"}, + {"2408:8459:1d30::/41", "17622"}, + {"240a:abbd::/32", "145655"}, + {"2607:fc38::/32", "17378"}, + {"2a10:6900::/29", "399975"}, + {"2404:c400:a000::/33", "9328"}, + {"2409:8a51:500::/38", "56047"}, + {"240a:ab6e::/32", "145576"}, + {"2600:1419:3601::/36", "20940"}, + {"2801:80:a00::/48", "263279"}, + {"2a04:2e80:5::/48", "208407"}, + {"2a04:f580:9040::/48", "4809"}, + {"2a06:6540:1201::/48", "8220"}, + {"2c0f:ed28::/32", "328453"}, + {"2001:559:82f2::/48", "33659"}, + {"240a:ad17::/32", "146001"}, + {"2a02:26f7:b685::/46", "20940"}, + {"2a06:d340::/29", "25109"}, + {"2001:559:38e::/48", "33652"}, + {"2001:559:871d::/48", "33657"}, + {"2400:cb00:130::/48", "13335"}, + {"2603:c0fe::/35", "54253"}, + {"2804:2c08::/32", "265189"}, + {"2a0b:4340:80::/48", "134176"}, + {"2001:559:1f3::/48", "33652"}, + {"2402:e280:3db4::/33", "134674"}, + {"240a:a344::/32", "143486"}, + {"2804:5a90::/32", "268781"}, + {"2403:b900::/32", "4382"}, + {"2406:840:fd00::/45", "134993"}, + {"2602:fe78::/36", "33360"}, + {"2804:796c::/32", "271304"}, + {"2a02:26f7:bcc8::/48", "36183"}, + {"2a02:26f7:ca45::/46", "20940"}, + {"2a05:bd40:cd13::/48", "29264"}, + {"2404:7c00:30::/41", "45650"}, + {"240e:44d:2a80::/41", "4134"}, + {"2607:9e00:3002::/33", "30536"}, + {"2a0e:6540:53a::/48", "208364"}, + {"2001:559:c041::/48", "7922"}, + {"2409:8750::/38", "56047"}, + {"2409:896a:ae00::/39", "9808"}, + {"240a:a6f5::/32", "144431"}, + {"240a:abc6::/32", "145664"}, + {"2604:65c0:101::/32", "14585"}, + {"2804:761c::/32", "271090"}, + {"2804:7b5c:a::/32", "271427"}, + {"2a00:8a04:8000::/44", "34414"}, + {"2a11:5700:b00b::/48", "212149"}, + {"2001:3c8:d10a::/34", "4621"}, + {"2001:4d0:6119::/38", "297"}, + {"2001:978:1e02::/47", "174"}, + {"2804:4c08::/32", "267344"}, + {"2a06:ba80::/29", "50042"}, + {"2404:efc0:1300::/47", "10122"}, + {"2408:8459:1d50::/38", "17816"}, + {"240e:45c:a600::/40", "131285"}, + {"2620:103:e019::/48", "13893"}, + {"2804:78bc::/32", "271262"}, + {"2a0b:6b86:f00::/42", "211387"}, + {"2001:559:c031::/48", "33659"}, + {"2400:cb00:443::/48", "13335"}, + {"2405:4340::/48", "135987"}, + {"240e:967:3000::/33", "4134"}, + {"2001:559:c46c::/48", "7922"}, + {"240e:267:4000::/38", "140332"}, + {"2409:804b:290a::/48", "24445"}, + {"2001:559:4de::/48", "7922"}, + {"2804:14c:475::/46", "28573"}, + {"2a0e:b107:1204::/48", "142130"}, + {"2001:4de0:4000::/39", "33438"}, + {"2409:800c:3003::/30", "56042"}, + {"2620:128:7000::/48", "32030"}, + {"2804:680::/43", "262589"}, + {"2a01:aa20::/32", "3178"}, + {"2001:da8:b813::/48", "24372"}, + {"2402:7d80:6666::/48", "63583"}, + {"2406:3400:201::/37", "10143"}, + {"2409:8904:3ba0::/37", "24547"}, + {"240a:ad60::/32", "146074"}, + {"2600:1419:3e01::/33", "20940"}, + {"2a02:26f7:b789::/46", "20940"}, + {"2a02:26f7:f8d4::/48", "36183"}, + {"240a:af75::/32", "146607"}, + {"2804:2af0:5::/32", "265126"}, + {"2a00:ad00:2020::/30", "41897"}, + {"2a12:8640::/29", "49581"}, + {"2001:559:8169::/48", "7015"}, + {"2001:13c7:6013::/48", "52404"}, + {"2401:4900:3ee0::/44", "45609"}, + {"2408:8956:2600::/40", "17622"}, + {"2409:8087:560::/36", "24547"}, + {"2602:feda:dc0::/44", "142427"}, + {"2606:18c0:c::/47", "61317"}, + {"2801:14:f000::/48", "266869"}, + {"2a02:26f7:ec4d::/46", "20940"}, + {"2a09:2600::/29", "197036"}, + {"2001:559:80c9::/46", "7725"}, + {"2001:1248:55b3::/44", "11172"}, + {"2402:8100:27f2::/45", "55644"}, + {"240a:aeff::/32", "146489"}, + {"2607:f910::/32", "31753"}, + {"2001:559:3ad::/48", "20214"}, + {"2001:559:c098::/48", "33657"}, + {"2402:8100:2500::/44", "55644"}, + {"2402:a800:c000::/34", "9601"}, + {"240e:3b4::/35", "134773"}, + {"2a0e:aa07:e00e::/48", "206843"}, + {"240a:add5::/32", "146191"}, + {"2806:2f0:4343::/42", "17072"}, + {"2a01:c50e:bf00::/33", "12479"}, + {"2a06:e8c0::/29", "8285"}, + {"2001:579:8f8::/38", "22773"}, + {"240a:ae27::/32", "146273"}, + {"2804:2e84::/44", "265350"}, + {"2a04:4e40:6000::/48", "54113"}, + {"2400:cb00:267::/44", "13335"}, + {"240a:a0e2::/32", "142876"}, + {"240a:a806::/32", "144704"}, + {"2401:91c0::/32", "136815"}, + {"240e:3bc:5600::/34", "4134"}, + {"2606:2cc0::/46", "54113"}, + {"2607:d500:600::/47", "13768"}, + {"2620:ac:c000::/48", "21630"}, + {"2800:484:cf00::/40", "14080"}, + {"2a01:488:bb0c::/48", "20773"}, + {"2a01:5043::/48", "202196"}, + {"2a12:7c05::/30", "210625"}, + {"2001:559:283::/48", "33662"}, + {"2400:6700:ff01::/40", "16509"}, + {"2604:6840:2000::/38", "33438"}, + {"2804:6610::/32", "269531"}, + {"2001:468:f001::/40", "11537"}, + {"2001:67c:54::/48", "47207"}, + {"2600:6c38:f42::/44", "20115"}, + {"2804:6d90::/32", "270541"}, + {"2a01:e0a:600::/29", "12322"}, + {"2001:559:c1d0::/48", "33287"}, + {"2001:590:3c02::/32", "3257"}, + {"240a:aeed::/32", "146471"}, + {"240e:108:1091::/42", "4134"}, + {"2a0f:5707:ab2c::/48", "60404"}, + {"2a0f:8644:b00b::/48", "212149"}, + {"2001:3a0::/32", "7521"}, + {"2001:559:86a5::/46", "33651"}, + {"2620:137:5090::/42", "10851"}, + {"2804:12dc::/32", "263501"}, + {"2804:7320::/32", "270897"}, + {"2806:260:1000::/44", "13999"}, + {"2806:2f0:4741::/46", "17072"}, + {"2a0e:b107:1030::/48", "213045"}, + {"2406:20c0:c001::/34", "140423"}, + {"2607:f220:200::/46", "19050"}, + {"2800:160:1729::/45", "14259"}, + {"2a03:f003:2002::/38", "25472"}, + {"2404:bf40:a142::/40", "139084"}, + {"2600:5400:e001::/39", "19108"}, + {"2a02:26f0:11c::/46", "20940"}, + {"2001:559:346::/44", "33491"}, + {"2401:7f40::/32", "136908"}, + {"2406:6940::/41", "141047"}, + {"2804:f70::/32", "270814"}, + {"2804:1878::/39", "61935"}, + {"2804:450c::/32", "267669"}, + {"2a02:120::/47", "29396"}, + {"2804:1e0c::/32", "264141"}, + {"2a04:4a00::/29", "47440"}, + {"2001:678:82c::/48", "59776"}, + {"2409:8055:5d::/46", "56040"}, + {"240a:a8e4::/32", "144926"}, + {"2a03:3380:3::/32", "47169"}, + {"2001:da8:d825::/48", "23910"}, + {"2a02:26f7:c646::/47", "20940"}, + {"2001:fd8:3430::/44", "4775"}, + {"2605:fb40::/33", "40050"}, + {"2620:13a:6001::/48", "33491"}, + {"2804:14d:7e34::/44", "28573"}, + {"2a02:2e02:83b0::/41", "12479"}, + {"2a03:2980::/32", "49641"}, + {"2404:8d06:a100::/36", "10089"}, + {"2a00:4940::/47", "198279"}, + {"2a03:5680::/32", "15495"}, + {"2406:9dc0:70::/44", "212705"}, + {"240e:5a:4840::/40", "140301"}, + {"2600:1419:7c00::/48", "35204"}, + {"2620:91:c004::/47", "54900"}, + {"2a00:1178::/46", "35415"}, + {"2001:559:c1e1::/48", "7922"}, + {"2001:4b30::/29", "9036"}, + {"2a02:26f0:f901::/38", "20940"}, + {"2001:250:5828::/48", "138371"}, + {"2001:678:814::/48", "64404"}, + {"2400:fc00:4a02::/44", "45773"}, + {"2607:f220:411::/48", "70"}, + {"2804:2c74::/32", "265220"}, + {"2a00:1fa1:8000::/30", "8359"}, + {"2001:913:5000::/36", "209090"}, + {"2408:840c:d000::/40", "17621"}, + {"2409:8904:56b0::/39", "24547"}, + {"2607:f750:d00::/40", "23473"}, + {"2803:a480::/32", "262192"}, + {"2804:b:c009::/46", "14840"}, + {"2804:1bf0:b::/45", "61758"}, + {"2806:230:400a::/48", "265594"}, + {"2a02:26f7:e941::/46", "20940"}, + {"2a0f:b7c0::/29", "49688"}, + {"2406:5d40:2::/32", "141009"}, + {"240e:3b9:2c00::/35", "134774"}, + {"2600:1010:9e00::/44", "6167"}, + {"2a01:6d80::/36", "13307"}, + {"2a02:6680:210c::/42", "16116"}, + {"2a04:edc0::/29", "200437"}, + {"2001:250:23f::/48", "24357"}, + {"2001:559:568::/48", "7015"}, + {"2001:559:c115::/48", "33489"}, + {"2600:1017:b4a0::/44", "22394"}, + {"2a02:23c8::/40", "24592"}, + {"2a02:26f7:bb48::/48", "36183"}, + {"2409:8052:100::/37", "9808"}, + {"240a:aa2a::/32", "145252"}, + {"2a02:26f7:f285::/46", "20940"}, + {"2001:4ba2::/32", "39519"}, + {"2400:6300:1f::/48", "38746"}, + {"240e:438:3440::/38", "4134"}, + {"2605:7c0:1000::/48", "19382"}, + {"2620:123:2003::/45", "30103"}, + {"2804:28e4:6::/44", "28260"}, + {"2804:3604::/32", "266321"}, + {"2a0f:3400::/29", "203698"}, + {"2407:b9c0::/36", "142616"}, + {"2606:7380::/32", "11763"}, + {"2607:f110:e130::/41", "21889"}, + {"2620:4d:4000::/48", "62597"}, + {"2001:250:5065::/43", "24361"}, + {"2001:559:82b8::/48", "7922"}, + {"240e:108:11e1::/48", "134764"}, + {"2804:cdc::/34", "52565"}, + {"2804:8618::/32", "272620"}, + {"2400:63a0::/45", "139590"}, + {"2408:8456:1800::/42", "17622"}, + {"2804:1c6c::/32", "61655"}, + {"2a02:ee80:4219::/42", "3573"}, + {"2a0a:c740:4::/47", "204170"}, + {"2001:559:c0db::/45", "33657"}, + {"2600:6c39:605::/46", "20115"}, + {"2a07:22c1:ffe5::/48", "207740"}, + {"2a0e:8f02:213f::/48", "211722"}, + {"2403:cd80::/32", "135025"}, + {"2408:8459:2110::/42", "17623"}, + {"2600:6c3a:821::/46", "20115"}, + {"2a02:2f0::/29", "42965"}, + {"2a04:bc40:1dc0::/48", "44750"}, + {"2a0a:ed80::/29", "49127"}, + {"2a0c:2f40::/30", "59829"}, + {"2403:71c0:1000::/48", "43959"}, + {"2406:a4c0::/32", "141120"}, + {"2408:8456:b640::/36", "17816"}, + {"240e:982:6200::/37", "4134"}, + {"2600:100b:b130::/40", "6167"}, + {"2620:9b:4000::/48", "26569"}, + {"2804:2264::/32", "264096"}, + {"2a02:2f80::/29", "200064"}, + {"2a10:2f00:124::/48", "205635"}, + {"2404:4600::/46", "10158"}, + {"2409:8053:2800::/47", "56047"}, + {"2a02:21b0::/31", "57370"}, + {"2001:559:8670::/48", "33660"}, + {"2001:1248:9613::/44", "11172"}, + {"2001:1520:100::/47", "34011"}, + {"2001:b033::/23", "3462"}, + {"2402:a00:10f::/41", "45916"}, + {"2402:b801:2900::/38", "18371"}, + {"2603:f000::/27", "397165"}, + {"2a0e:aa07:f050::/48", "138632"}, + {"2001:67c:748::/48", "202188"}, + {"2001:1900:2283::/48", "3356"}, + {"240e:9:6000::/36", "134419"}, + {"2600:e001::/32", "22995"}, + {"2804:4c24::/32", "263103"}, + {"2001:67c:670::/48", "201824"}, + {"2001:12d8:81::/32", "1251"}, + {"2401:d800:21d0::/42", "7552"}, + {"2408:8459:1810::/42", "17623"}, + {"2a05:ff00::/31", "202592"}, + {"2a06:300::/29", "51093"}, + {"2001:250:3c03::/48", "23910"}, + {"2001:ab0::/36", "15594"}, + {"2001:1248:9855::/42", "11172"}, + {"2404:130::/32", "24226"}, + {"2804:419c::/32", "267444"}, + {"240a:a966::/32", "145056"}, + {"2a0a:600::/29", "64431"}, + {"2a0a:2380::/48", "39845"}, + {"2001:1a11:b6::/48", "8781"}, + {"2804:5ca4::/32", "268921"}, + {"2804:7e90::/37", "271632"}, + {"2607:8b00::/48", "36454"}, + {"2804:7c8:f000::/36", "262323"}, + {"2605:2b00::/32", "19881"}, + {"2804:725c::/32", "262506"}, + {"2a01:63c0::/32", "31319"}, + {"2402:e280:2126::/44", "134674"}, + {"2602:fd92:400::/40", "210842"}, + {"2602:ff62::/40", "61317"}, + {"2a00:ebc0::/32", "3190"}, + {"2a04:7a00::/32", "6786"}, + {"2a05:f280::/29", "30884"}, + {"2001:4b20:20:2::/39", "34288"}, + {"240a:accf::/32", "145929"}, + {"2804:6d34::/32", "53114"}, + {"2a01:cb22:8000::/34", "3215"}, + {"2a02:26f7:d0c9::/42", "20940"}, + {"2a02:7080:3000::/36", "48024"}, + {"2001:559:8540::/48", "33652"}, + {"2401:d800:71c0::/42", "7552"}, + {"240a:ac8b::/32", "145861"}, + {"2a00:fd40:8::/47", "204402"}, + {"2a06:a0c0::/29", "43016"}, + {"2a0b:4340:99::/48", "205610"}, + {"2001:579:407f::/40", "22773"}, + {"2001:448a:1090::/42", "7713"}, + {"2600:6c7f:9070::/48", "20115"}, + {"2a02:26f7:fb01::/46", "20940"}, + {"2a02:26f7:fb04::/48", "36183"}, + {"2c0f:4000::/32", "1828"}, + {"2001:559:840b::/48", "7016"}, + {"2001:df0:230::/48", "56237"}, + {"2408:873d:3000::/32", "4837"}, + {"2804:214:8300::/37", "26615"}, + {"2a01:8280::/34", "44735"}, + {"2a0a:10c0::/29", "206270"}, + {"2001:2d8::/32", "9644"}, + {"2001:559:7ae::/48", "7016"}, + {"2001:df6:6100::/48", "134934"}, + {"2407:1240:1::/48", "141197"}, + {"240a:a380::/32", "143546"}, + {"2603:90f5:1800::/40", "33363"}, + {"2804:4488:8010::/44", "262480"}, + {"2804:78f4::/32", "271276"}, + {"240e:3bd::/35", "134773"}, + {"2607:fc68::/42", "2711"}, + {"2a02:26f7:f8c0::/48", "36183"}, + {"2a0b:ad40::/29", "205493"}, + {"2a0c:ac0::/29", "60843"}, + {"2001:4408:7c01::/40", "4758"}, + {"240e:108:1070::/48", "140061"}, + {"240e:958:1200::/40", "142608"}, + {"2600:1488:6302::/41", "20940"}, + {"2804:12d8::/32", "263500"}, + {"2800:160:17a0::/45", "14259"}, + {"2a00:bdc0:e006::/48", "60476"}, + {"2a01:8b40:2000::/32", "203165"}, + {"2a02:26f0:3601::/39", "20940"}, + {"2a03:db80:4414::/48", "5501"}, + {"2403:5740::/32", "135872"}, + {"240a:af37::/32", "146545"}, + {"2a02:26f0:7e01::/39", "20940"}, + {"2a04:f580:9060::/48", "4809"}, + {"240e:a8:e400::/27", "4134"}, + {"2604:d600:1506::/43", "32098"}, + {"2001:559:20f::/48", "7016"}, + {"2001:67c:286c::/48", "58148"}, + {"2408:840c:f00::/40", "17621"}, + {"240e:44d:5080::/41", "4134"}, + {"2800:2a0:9501::/33", "27947"}, + {"2a01:b380::/32", "196735"}, + {"2c0f:f810::/32", "36907"}, + {"2001:559:8724::/48", "33650"}, + {"2001:4998:58::/45", "26101"}, + {"2400:9840::/32", "136217"}, + {"240e:185::/30", "4134"}, + {"2604:1cc0::/32", "21559"}, + {"2804:1268::/32", "263475"}, + {"2001:b000:59c::/48", "131660"}, + {"2401:b0c0:1000::/43", "136941"}, + {"2620:109:c00e::/48", "14413"}, + {"2a00:1f60::/32", "8218"}, + {"2a00:ad40:10::/44", "57052"}, + {"2a01:3f7::/48", "57021"}, + {"2c0f:ec68::/32", "37675"}, + {"2001:df3:d500::/48", "137399"}, + {"2a00:afc0::/32", "48339"}, + {"2409:e:e2::/48", "142501"}, + {"240a:a388::/32", "143554"}, + {"240e:424::/30", "4134"}, + {"2600:141c:2801::/35", "20940"}, + {"2600:2000:f010::/48", "33517"}, + {"2a02:2010:2610::/45", "20978"}, + {"2408:8459:7e50::/32", "17816"}, + {"2800:381::/33", "10834"}, + {"2804:1ca4:8041::/40", "263010"}, + {"2a01:ce8c::/32", "51964"}, + {"2a03:c140::/29", "13101"}, + {"2a03:cac0:2::/48", "61149"}, + {"2001:579:92a8::/43", "22773"}, + {"2600:1017:b4b0::/41", "6167"}, + {"2800:bf0:285::/46", "52257"}, + {"2804:25fc::/32", "264316"}, + {"2407:b380::/32", "45062"}, + {"240e:3bd:ec00::/35", "140314"}, + {"2401:d980:1100::/40", "10138"}, + {"2001:df3:804::/44", "22787"}, + {"2001:4878:a259::/48", "12222"}, + {"2403:2c00:c002::/36", "4058"}, + {"240a:a106::/32", "142912"}, + {"240a:afbc::/32", "146678"}, + {"2600:100a:d000::/43", "6167"}, + {"2001:559:288::/48", "33657"}, + {"2406:f480::/32", "136969"}, + {"240a:a624::/32", "144222"}, + {"240e:629::/25", "4134"}, + {"2600:1411:8001::/30", "20940"}, + {"2001:da8:e000::/45", "24367"}, + {"2001:da8:e80e::/48", "23910"}, + {"2405:f140::/32", "138754"}, + {"2409:8751:700::/36", "56047"}, + {"2409:8a6b:200::/29", "9808"}, + {"240a:ac34::/32", "145774"}, + {"2604:880:212::/45", "29802"}, + {"2a01:8840:32::/45", "12041"}, + {"2a02:578:3c00::/33", "9031"}, + {"2001:67c:1720::/48", "60918"}, + {"2001:1900:221e::/48", "14627"}, + {"240a:ad5a::/32", "146068"}, + {"2605:a404:3ee::/37", "33363"}, + {"2804:14c:7d89::/43", "28573"}, + {"2a02:26f7:d8c8::/48", "36183"}, + {"2a0a:8fc0::/29", "60783"}, + {"2a10:f45::/32", "210107"}, + {"2001:480:a0::/47", "5132"}, + {"2001:43b8::/32", "30844"}, + {"2406:1a40::/48", "55320"}, + {"2a0e:b107:b20::/44", "63279"}, + {"2001:67c:13c4::/48", "196978"}, + {"240e:3b3:9c00::/34", "140310"}, + {"2c0f:eb00:1200::/40", "327941"}, + {"2408:8956:3200::/40", "17622"}, + {"2605:f500:404::/39", "1828"}, + {"2606:7f00:100::/40", "32307"}, + {"2804:67a4:121::/46", "269641"}, + {"2a00:4120:8000:3::/61", "20804"}, + {"2a02:26f0:a2::/45", "20940"}, + {"2a02:26f7:d381::/46", "20940"}, + {"2001:559:80f8::/48", "33652"}, + {"240e:12:800::/37", "134765"}, + {"2803:7200:8016::/44", "27696"}, + {"2804:5404::/32", "268623"}, + {"2804:5bc8::/32", "268869"}, + {"2a0f:85c1:230::/47", "207831"}, + {"2001:67c:11c0::/48", "206082"}, + {"2406:4b00::/44", "132602"}, + {"2604:23c0::/32", "36792"}, + {"2a00:1eb8:c004::/48", "43811"}, + {"2a11:1400::/29", "211344"}, + {"2406:840:f90b::/48", "139833"}, + {"2409:8c54:b000::/44", "141425"}, + {"240e:45c:5100::/40", "140529"}, + {"2801:1bc::/44", "27951"}, + {"2804:314:3001::/33", "61568"}, + {"2a02:26f7:f649::/46", "20940"}, + {"2a03:3f40:3::/40", "50673"}, + {"2a04:1b00:12::/47", "61007"}, + {"2409:8c85:5e01::/34", "9808"}, + {"2a0a:981::/32", "50113"}, + {"2001:1a11:7d::/40", "8781"}, + {"2402:800:5747::/43", "7552"}, + {"2408:8456:2600::/42", "17622"}, + {"2600:380:4600::/39", "20057"}, + {"2a06:5580::/39", "21145"}, + {"2a0c:2c40::/32", "58110"}, + {"2a11:3780::/29", "34734"}, + {"2001:67c:2594::/48", "57496"}, + {"2001:da8:b806::/48", "23910"}, + {"2404:e801:101f::/48", "45938"}, + {"2409:8d02::/32", "38019"}, + {"2800:bf0:a7::/44", "52257"}, + {"2c0f:ebd0:2200::/32", "328608"}, + {"2408:8756:e00::/40", "17622"}, + {"2600:370f:7441::/44", "32261"}, + {"2607:f2c8::/32", "23473"}, + {"2400:da00::/37", "38365"}, + {"2a04:ac00:9::/46", "203004"}, + {"2404:1c40:ce::/47", "24432"}, + {"2606:2800:600b::/48", "14153"}, + {"2803:4a80::/32", "27865"}, + {"2a0f:2d40::/29", "60262"}, + {"2001:250:5012::/41", "24361"}, + {"2401:4900:3e20::/41", "45609"}, + {"240a:ae84::/32", "146366"}, + {"2804:2cc0::/32", "265241"}, + {"2a02:26f7:c8c0::/48", "36183"}, + {"2404:bf40:a242::/40", "139084"}, + {"240a:a499::/32", "143827"}, + {"240a:ac20::/32", "145754"}, + {"2607:f740:56::/47", "36236"}, + {"2804:2064::/32", "262433"}, + {"2001:4cd8::/32", "8319"}, + {"2402:800:3b8d::/43", "7552"}, + {"2407:1200::/32", "7524"}, + {"2409:8000:5800::/40", "56048"}, + {"2409:8d15:2800::/39", "56044"}, + {"240e:67c:800::/37", "140329"}, + {"2803:3100::/32", "16973"}, + {"2a00:4980::/42", "33848"}, + {"2a0a:59c7:100d::/46", "204724"}, + {"2001:559:8465::/48", "33654"}, + {"2001:67c:2290::/48", "43407"}, + {"2602:801:5000::/40", "399477"}, + {"2620:0:a0f::/43", "71"}, + {"2804:15d4:8000::/33", "263413"}, + {"2a10:1380::/29", "207335"}, + {"2400:cb00:460::/48", "13335"}, + {"2408:8957:9000::/40", "17622"}, + {"2a01:9540::/32", "59597"}, + {"2a01:aec0::/32", "41549"}, + {"2a02:2370:4000::/48", "32787"}, + {"2408:8956:4200::/40", "17622"}, + {"240a:af21::/32", "146523"}, + {"2607:bb80::/32", "395774"}, + {"2a0b:6900::/48", "206873"}, + {"2a0d:5940::/29", "58212"}, + {"2001:559:c015::/44", "7922"}, + {"2408:840c:bc00::/40", "17621"}, + {"2a06:e881:1407::/44", "202540"}, + {"2400:7400:41::/48", "23736"}, + {"2401:d800:c000::/35", "7552"}, + {"2602:feb6::/36", "7001"}, + {"2804:2f0::/32", "53236"}, + {"2804:724c::/32", "270845"}, + {"2001:250:6c41::/48", "23910"}, + {"2001:da8:d025::/48", "24359"}, + {"2001:df2:f000::/48", "55319"}, + {"240a:ace2::/32", "145948"}, + {"2a01:178::/32", "8607"}, + {"2a06:9300::/29", "35684"}, + {"2620:a4:2051::/48", "399120"}, + {"2620:1d0:5e::/47", "397228"}, + {"2804:2b60::/32", "262587"}, + {"2804:7148::/32", "270779"}, + {"2a02:20c8:1241::/48", "44511"}, + {"2a02:26f7:bfc0::/48", "36183"}, + {"2a02:26f7:dbcd::/42", "20940"}, + {"2a0e:46c4:109::/48", "142598"}, + {"240a:a395::/32", "143567"}, + {"2001:df2:a980::/48", "131203"}, + {"2401:4900:4e40::/42", "45609"}, + {"2405:7800::/32", "17689"}, + {"2803:7c60::/32", "27951"}, + {"2a02:26f7:d0::/48", "36183"}, + {"2a02:e840::/30", "15974"}, + {"2a06:6a40::/29", "203924"}, + {"2a07:8980::/39", "198651"}, + {"2001:578:18::/42", "22773"}, + {"2604:ca00:136::/41", "36492"}, + {"2606:2a00::/32", "53292"}, + {"2806:230:4037::/48", "11888"}, + {"2a02:26f7:db11::/42", "20940"}, + {"2600:40fc:1003::/48", "14210"}, + {"2804:64b0:4000::/36", "269442"}, + {"2804:7b70::/32", "271432"}, + {"2a02:8c0::/32", "39257"}, + {"240e:980:8000::/40", "23724"}, + {"2600:40ff:fc01::/44", "701"}, + {"2804:14c:4a3::/45", "28573"}, + {"2a01:d8:9::/32", "5537"}, + {"2400:a980:e4::/47", "133111"}, + {"2409:8b50::/30", "9808"}, + {"2a01:51a0::/32", "21348"}, + {"2a03:51e0::/32", "43776"}, + {"2a0f:e040:1::/48", "60781"}, + {"2001:559:c0a9::/48", "33490"}, + {"2602:ff96:6::/48", "26548"}, + {"2a01:620:10::/32", "12389"}, + {"2a01:c50f:5180::/32", "12479"}, + {"2a02:26f7:dfc8::/48", "36183"}, + {"2a04:e802:1d::/32", "57976"}, + {"2402:800:3a2b::/41", "7552"}, + {"240a:a84c::/32", "144774"}, + {"2600:141b:f001::/29", "20940"}, + {"2607:f038:400c::/46", "21527"}, + {"2620:171:62::/45", "42"}, + {"2804:27cc::/32", "53125"}, + {"2806:310:9::/48", "28523"}, + {"2a01:b780::/32", "43612"}, + {"2a02:26f7:dd85::/46", "20940"}, + {"2001:67c:1360::/48", "41231"}, + {"2402:5cc0:1::/46", "27381"}, + {"2409:4086:a000::/28", "55836"}, + {"2409:8a39::/30", "9808"}, + {"240a:a3fd::/32", "143671"}, + {"240a:a804::/32", "144702"}, + {"2a02:26f7:bf89::/46", "20940"}, + {"240e:bf:b8ec::/46", "138597"}, + {"2a07:a343:cd10::/44", "9009"}, + {"2001:7f0:102::/34", "13237"}, + {"2402:800:7f50::/42", "7552"}, + {"2600:1014:b070::/40", "22394"}, + {"2806:20d:1912::/44", "32098"}, + {"2402:800:95ee::/38", "7552"}, + {"2a09:3340::/29", "209509"}, + {"2a0f:c00::/29", "48627"}, + {"2404:c400:9000::/36", "133321"}, + {"2604:d600:c79::/46", "32098"}, + {"2804:3dac::/39", "266546"}, + {"2a02:2328::/32", "8426"}, + {"2404:afc0::/32", "138829"}, + {"2408:8456:1d40::/40", "17816"}, + {"2804:4f8:8000::/38", "28263"}, + {"2a09:2941::/32", "207996"}, + {"2001:67c:22c0::/48", "3301"}, + {"2604:6940:980::/32", "11006"}, + {"2804:5e8::/32", "262549"}, + {"2806:2f0:6001::/46", "17072"}, + {"2806:310:2b::/45", "16960"}, + {"2a04:c900:1000::/36", "48096"}, + {"2606:a600:7000::/32", "23005"}, + {"2607:700:1300::/37", "22343"}, + {"2804:b40::/32", "52760"}, + {"2806:230:2023::/48", "11888"}, + {"2a0d:d40::/32", "200318"}, + {"2c0f:ee20::/32", "328251"}, + {"2001:559:45a::/47", "33657"}, + {"2001:559:4ff::/48", "33491"}, + {"2408:8956:a400::/40", "17622"}, + {"240e:3b6:ac00::/35", "4134"}, + {"2a02:26f7:f500::/48", "36183"}, + {"2a04:bd40::/29", "62038"}, + {"2a0c:7e45:1f8e::/48", "20473"}, + {"2001:1420::/30", "8676"}, + {"2402:7940::/32", "134090"}, + {"240a:ab62::/32", "145564"}, + {"2604:7c0:200::/36", "395841"}, + {"2610:b0:4062::/43", "3573"}, + {"2804:20e4::/32", "264519"}, + {"2a00:1780::/32", "8194"}, + {"2a02:26f0:7e00::/48", "34164"}, + {"2409:8c14:100::/36", "56044"}, + {"2804:138b:c041::/40", "53037"}, + {"2a0e:c500::/29", "57878"}, + {"2400:3a60:1ff0::/32", "149051"}, + {"2401:b900::/32", "17894"}, + {"2402:ef03:3::/45", "7633"}, + {"2403:6600::/32", "55329"}, + {"2404:4a00::/48", "45629"}, + {"2620:cc:4000::/48", "3356"}, + {"2a02:26f7:d841::/46", "20940"}, + {"2001:559:8081::/48", "7015"}, + {"2408:84f3:9610::/42", "134543"}, + {"2804:3048::/32", "264941"}, + {"2a02:e3c0::/29", "213402"}, + {"2402:800:57a9::/43", "7552"}, + {"2409:881e::/31", "24400"}, + {"2804:1ad4::/32", "52536"}, + {"2a04:4540::/29", "15943"}, + {"2a06:f901::/36", "56630"}, + {"2c0f:fec8:1001::/32", "37197"}, + {"2800:ba0:24::/48", "263812"}, + {"2a00:c98:2053::/32", "28753"}, + {"2a02:5340::/48", "12552"}, + {"2001:df2:c800::/48", "133394"}, + {"240a:acfe::/32", "145976"}, + {"2607:f8f8:1f05::/44", "50131"}, + {"2620:107:9058::/48", "22787"}, + {"2a00:4c20::/32", "6769"}, + {"2a02:26f0:e001::/38", "20940"}, + {"2001:559:c538::/48", "7922"}, + {"240a:aadf::/32", "145433"}, + {"240a:aafb::/32", "145461"}, + {"2620:10a:80e8::/46", "55195"}, + {"2806:288::/35", "28469"}, + {"2a10:4e00::/29", "399975"}, + {"2401:8c00::/32", "38858"}, + {"2804:2f50::/32", "264883"}, + {"2804:6a9c::/32", "270347"}, + {"2a10:c5c1:affe::/48", "211547"}, + {"2001:559:319::/48", "33657"}, + {"2803:aba0:2000::/38", "265554"}, + {"2a0f:300::/32", "397881"}, + {"2001:559:ad::/48", "33659"}, + {"2804:6918:4300::/36", "270248"}, + {"2a02:26f7:f790::/48", "36183"}, + {"2a11:7d80::/29", "61192"}, + {"2001:df4:e180::/48", "140751"}, + {"2408:8256:318a::/48", "17816"}, + {"240e:438:8040::/38", "4134"}, + {"240e:967:a800::/38", "58772"}, + {"2602:fc52:100::/40", "399888"}, + {"2803:4b80::/32", "27940"}, + {"2804:154c:101::/33", "263382"}, + {"2a0f:f580::/29", "60262"}, + {"2400:fc00:82f2::/37", "45773"}, + {"2804:75f8::/32", "271081"}, + {"2a02:26f7:bc06::/47", "20940"}, + {"2001:559:281::/48", "20214"}, + {"2001:678:a08::/48", "209395"}, + {"2400:adc7:1800::/39", "9541"}, + {"2408:80fa:6300::/35", "17816"}, + {"240a:a15c::/32", "142998"}, + {"2001:559:85f3::/45", "33651"}, + {"2600:140b:d000::/48", "7679"}, + {"2600:6c38:25b::/45", "20115"}, + {"2606:aec0::/36", "398646"}, + {"2804:7bd8::/32", "271458"}, + {"2a00:1c30::/32", "12659"}, + {"2a02:26f7:f6c1::/46", "20940"}, + {"2a05:2d07::/32", "198507"}, + {"2402:e280:3d9a::/42", "134674"}, + {"2404:f100::/37", "17483"}, + {"2800:160:1176::/44", "14259"}, + {"2800:381:cccd::/34", "10834"}, + {"2001:ddd::/48", "18369"}, + {"2804:5390::/32", "268592"}, + {"2a0f:5707:ab2b::/48", "7489"}, + {"2001:44b8:30f2::/48", "4739"}, + {"2606:8800::/32", "19940"}, + {"2804:6bb4::/35", "270418"}, + {"2c0e:220c::/30", "37457"}, + {"2001:1248:988b::/45", "11172"}, + {"2400:6900::/32", "56304"}, + {"240a:a78f::/32", "144585"}, + {"2a0c:ce80::/41", "197113"}, + {"2001:559:81c7::/44", "33652"}, + {"2400:7400:e01c::/46", "23736"}, + {"2620:129:100f::/48", "13536"}, + {"2801:0:210::/48", "19429"}, + {"2a04:9b80::/29", "57608"}, + {"2a06:4180:2::/29", "48293"}, + {"2001:559:737::/48", "33657"}, + {"2406:3000:2:10a::/47", "4657"}, + {"2407:ef00::/36", "12422"}, + {"240a:a5ff::/32", "144185"}, + {"2804:4cb4:9000::/33", "267386"}, + {"2a01:c50f:dd40::/38", "12479"}, + {"2001:1248:a543::/45", "11172"}, + {"2400:a980:3500::/36", "133111"}, + {"2804:145c:8050::/40", "263327"}, + {"2a06:3100::/29", "51588"}, + {"2001:559:b5::/48", "33657"}, + {"2001:da8:a6::/48", "24352"}, + {"2603:903e::/32", "33363"}, + {"2a02:280::/32", "12883"}, + {"240e:438:3620::/43", "140647"}, + {"2001:fe0:919::/32", "4775"}, + {"240a:a765::/32", "144543"}, + {"2803:b700::/32", "262262"}, + {"2a02:2e02:9530::/41", "12479"}, + {"2a03:c600::/32", "3262"}, + {"2001:559:8499::/48", "33650"}, + {"2409:8904:6540::/42", "24547"}, + {"2a10:1d00::/32", "16019"}, + {"2400:adc0:20::/47", "9541"}, + {"2409:8e54::/28", "9808"}, + {"2001:4878:220::/48", "12222"}, + {"2804:6cdc:8000::/33", "270497"}, + {"2a00:5c60::/46", "43329"}, + {"2a02:26f7:e6c5::/46", "20940"}, + {"2a04:f600::/29", "200435"}, + {"2001:67c:18a8::/48", "50438"}, + {"240a:a895::/32", "144847"}, + {"240a:aaa8::/32", "145378"}, + {"240e:44d:240::/42", "140346"}, + {"2602:fd50:b00b::/48", "212149"}, + {"2a06:efc0::/32", "34762"}, + {"2001:678:904::/48", "47453"}, + {"2800:9a3:100::/29", "14522"}, + {"2804:1da0::/32", "264382"}, + {"2a0d:2581:2333::/48", "209261"}, + {"2001:559:8257::/48", "7016"}, + {"2001:6c0::/32", "25286"}, + {"2403:8600:8000::/44", "45820"}, + {"240a:a998::/32", "145106"}, + {"2a11:4c0::/47", "211632"}, + {"2406:daa0:a080::/44", "16509"}, + {"2a01:c50e:4100::/35", "12479"}, + {"2a06:bdc0:191a::/38", "62240"}, + {"2a0b:1640:1::/48", "205787"}, + {"2001:559:5bf::/48", "33659"}, + {"2001:4b20:100:58a::/59", "34288"}, + {"240e:983:1802::/48", "4134"}, + {"2620:10f:b000::/48", "4185"}, + {"2a02:fe80:2010::/48", "30148"}, + {"2a04:2e80:4::/48", "207587"}, + {"2a10:2f01:244::/46", "213316"}, + {"2001:559:c39d::/48", "33657"}, + {"2001:13c8::/32", "11960"}, + {"2001:4c08:201f::/48", "10753"}, + {"2404:bf40:e604::/48", "7545"}, + {"2600:8807:b7ea::/33", "22773"}, + {"2605:bc0:1014::/47", "54201"}, + {"2804:df0:2000::/32", "262775"}, + {"2804:3eac::/32", "266614"}, + {"2a02:26f7:e884::/48", "36183"}, + {"2a0a:2300::/31", "212754"}, + {"2001:559:72f::/48", "7016"}, + {"2001:fc8::/32", "23624"}, + {"2402:b801:3900::/37", "18371"}, + {"2804:6abc::/32", "270356"}, + {"2a00:a500::/32", "49457"}, + {"2a06:eac0::/29", "48854"}, + {"2a0c:7e46:4f08::/48", "20473"}, + {"2001:559:df::/48", "33489"}, + {"2001:559:12e::/43", "7922"}, + {"240e:983:1b02::/48", "136188"}, + {"2604:4500:b00::/37", "29802"}, + {"2610:190:1c00::/38", "62"}, + {"2408:8256:2f60::/44", "17623"}, + {"2408:8256:399d::/46", "17623"}, + {"2800:160:1905::/44", "14259"}, + {"2804:4d80:801::/32", "268200"}, + {"2a02:1718::/32", "51182"}, + {"2a02:26f7:ab::/48", "20940"}, + {"2a11:da80::/29", "210806"}, + {"2403:3d80::/32", "48024"}, + {"2409:8904:53b0::/37", "24547"}, + {"2620:133:8000::/46", "19054"}, + {"2806:2f0:5123::/41", "17072"}, + {"2a0b:e3c0::/29", "205215"}, + {"2407:cdc0:b000::/36", "38136"}, + {"2600:1000:fe00::/44", "6167"}, + {"2602:fed2:ff4::/48", "53356"}, + {"2804:8ec::/32", "28235"}, + {"2a05:da00::/29", "200984"}, + {"2c0f:fd08::/32", "37309"}, + {"2001:67c:1680::/48", "212037"}, + {"2800:bf0:824c::/48", "27947"}, + {"2803:fd80:4::/43", "18747"}, + {"2804:4354::/32", "267563"}, + {"2a06:7780::/29", "204790"}, + {"2400:9340::/32", "136189"}, + {"2400:ea00:ffff::/48", "23884"}, + {"2407:2400::/32", "45641"}, + {"2804:7508::/32", "271019"}, + {"2a00:55a0:ff00::/40", "9009"}, + {"2a02:ee80:419f::/42", "3573"}, + {"2001:559:8163::/48", "7015"}, + {"2406:b580::/32", "132296"}, + {"2804:5ab8::/32", "268791"}, + {"240e:438:a040::/38", "4134"}, + {"2804:41d0:3600::/32", "267458"}, + {"2a02:2548::/32", "48822"}, + {"2a0b:2fc0::/29", "29632"}, + {"240e:5e:4004::/47", "58543"}, + {"2804:14d:6800::/40", "28573"}, + {"2804:da0::/32", "28587"}, + {"2804:4dbc::/32", "268216"}, + {"2001:918:ff3e::/48", "48038"}, + {"2400:cb00:19::/48", "13335"}, + {"2a02:26f7:e984::/48", "36183"}, + {"2a0e:97c0:700::/44", "48987"}, + {"2001:500:40::/45", "207266"}, + {"2406:3003:3000::/42", "55430"}, + {"2607:ee80:10::/48", "11403"}, + {"2a01:5043:eff::/48", "202196"}, + {"2605:f440::/41", "54874"}, + {"2620:128:e014::/48", "22317"}, + {"2a03:b0c0::/46", "14061"}, + {"2a07:cb80::/32", "49685"}, + {"2001:950::/32", "47381"}, + {"2404:bf40:8780::/46", "7545"}, + {"2804:3ec::/32", "61570"}, + {"2001:559:261::/48", "33668"}, + {"2001:559:8323::/48", "7015"}, + {"2409:801f:3000::/46", "9808"}, + {"2800:bf0:20::/45", "52257"}, + {"2804:e30:c00::/38", "11338"}, + {"2a0a:17c0::/29", "206894"}, + {"2a0c:b641:5c0::/44", "210466"}, + {"2804:c40::/32", "262809"}, + {"2804:276c:100::/37", "263900"}, + {"2001:559:81e4::/48", "33651"}, + {"2001:559:863f::/48", "33662"}, + {"240e:3b9:dc00::/34", "4134"}, + {"2804:7c24::/32", "271478"}, + {"2620:4d:400a::/48", "395403"}, + {"2804:33ec::/32", "265425"}, + {"2a07:c480::/29", "50017"}, + {"2001:df0:6880::/48", "138731"}, + {"2001:16f8:4000::/48", "199522"}, + {"2001:18b8:43::/45", "29789"}, + {"2404:c8:2::/48", "27435"}, + {"2406:7400:80::/46", "24309"}, + {"2600:1419:2201::/37", "20940"}, + {"2403:9800:b018::/48", "4771"}, + {"2606:ef80::/45", "7226"}, + {"2804:21a4:2800::/35", "53191"}, + {"2804:8434:b::/48", "272246"}, + {"2604:d600:677::/44", "32098"}, + {"2620:13a:4000::/40", "22686"}, + {"2a01:90a0::/32", "62105"}, + {"2a02:2010:2700::/43", "20978"}, + {"2a10:d780::/46", "211997"}, + {"2401:d800:9750::/42", "7552"}, + {"2408:8459:9830::/41", "17622"}, + {"2600:9000:1199::/46", "16509"}, + {"2620:138:3000::/46", "11251"}, + {"2a02:26f7:b0::/48", "36183"}, + {"2a09:be40:3441::/48", "57401"}, + {"240a:a84a::/32", "144772"}, + {"2607:f060:b004::/48", "53708"}, + {"2804:49b8::/32", "267199"}, + {"2a00:fd40:6::/48", "20473"}, + {"2a06:6740::/29", "20596"}, + {"2001:678:d10::/48", "20473"}, + {"2409:8d01::/32", "9808"}, + {"2804:5734::/32", "268051"}, + {"2a02:6a80:5301::/44", "3245"}, + {"2a0a:dc40::/29", "12843"}, + {"2a0d:3280::/29", "34907"}, + {"2001:cb0:2204::/46", "4637"}, + {"2620:149:a14::/48", "6185"}, + {"2804:1c4c::/39", "61648"}, + {"2a02:26f7:ce89::/42", "20940"}, + {"2a0b:4740::/29", "211274"}, + {"2001:559:8180::/48", "33659"}, + {"2001:12f0:b28::/43", "1916"}, + {"2404:8000:73::/44", "17451"}, + {"2600:6c21:4c1::/38", "20115"}, + {"2001:559:c004::/48", "7922"}, + {"240a:a303::/32", "143421"}, + {"2804:79d8::/32", "271331"}, + {"2a01:7b8::/32", "34920"}, + {"2a03:4900:5::/46", "197695"}, + {"2606:2800:5150::/48", "15133"}, + {"2a02:26f7:ef::/48", "20940"}, + {"2001:559:8433::/48", "22909"}, + {"2001:1248:a400::/47", "11172"}, + {"2a0e:46c4:2b00::/40", "212767"}, + {"2402:5b00:b0::/44", "18002"}, + {"240e:3b9:7600::/39", "140313"}, + {"2620:171:11::/46", "715"}, + {"2800:2f0:1c::/48", "27668"}, + {"2806:2f0:2403::/43", "22884"}, + {"2a03:a960:2::/42", "61317"}, + {"2001:250:3c13::/48", "23910"}, + {"2001:559:12c::/48", "7922"}, + {"2001:5b0:4eca::/43", "6621"}, + {"2406:20c0:2001::/33", "140423"}, + {"2406:4f40:4::/44", "40676"}, + {"2600:6c38:a59::/40", "20115"}, + {"2604:4780::/32", "6994"}, + {"2606:2400::/35", "36295"}, + {"2610:b0:4134::/41", "3573"}, + {"2620:10d:2080::/48", "29384"}, + {"2804:14c:4e1::/45", "28573"}, + {"2001:559:26a::/48", "7922"}, + {"2001:67c:1534::/48", "208281"}, + {"240e:e6:1000::/32", "4812"}, + {"2602:fed2:7111::/48", "36436"}, + {"2804:2d70::/32", "265282"}, + {"2a0b:e44:1::/48", "205809"}, + {"2001:4408:5b08::/37", "4758"}, + {"2800:160:1d59::/42", "14259"}, + {"2804:aa4::/32", "52902"}, + {"2804:45fc:c002::/34", "266959"}, + {"2a01:b740:a24::/48", "6185"}, + {"2a0d:a180::/32", "211494"}, + {"2001:559:8394::/47", "7922"}, + {"2001:4888:801a::/47", "6167"}, + {"2403:9800:b010::/46", "4771"}, + {"2408:8459:6210::/42", "17623"}, + {"2604:9c0::/32", "395777"}, + {"2804:1c::/32", "11844"}, + {"2804:1a8c::/32", "61865"}, + {"2804:7bb8::/32", "271450"}, + {"2a06:9240::/29", "47406"}, + {"2a07:3500:12d0::/48", "33915"}, + {"2409:8038:3100::/36", "9808"}, + {"2804:14d:5c00::/42", "28573"}, + {"2804:1628::/32", "263271"}, + {"2804:51e4::/32", "268483"}, + {"2804:6e50::/32", "270588"}, + {"2a06:c240::/42", "49222"}, + {"2001:559:c1ff::/48", "7922"}, + {"2605:8dc0::/32", "55081"}, + {"2605:a404:a36::/40", "33363"}, + {"2607:fb50:a00::/35", "22781"}, + {"2620:10a:f020::/40", "21869"}, + {"2803:8aa0::/32", "266865"}, + {"2804:562c::/32", "267981"}, + {"2402:800:3a9b::/41", "7552"}, + {"2408:8256:396c::/48", "17623"}, + {"2408:84f3:2e10::/44", "17623"}, + {"2804:16b0::/36", "61910"}, + {"2a0d:3842:1110::/48", "57629"}, + {"2001:da8:224::/48", "24350"}, + {"2408:8459:24c0::/38", "17816"}, + {"2620:a5:c000::/48", "27625"}, + {"2804:14c:6573::/40", "28573"}, + {"2a03:ddc0::/32", "199350"}, + {"2001:559:c148::/46", "33490"}, + {"240a:aa33::/32", "145261"}, + {"2a0b:6903:1ad::/48", "212461"}, + {"2001:559:8385::/48", "33651"}, + {"2806:230:3028::/48", "265594"}, + {"240e:438:3240::/37", "4134"}, + {"2600:3000:3102::/33", "13649"}, + {"2620:98:6000::/48", "7018"}, + {"2a00:c640::/32", "198612"}, + {"2a07:f880::/29", "52212"}, + {"2a0f:3040::/29", "37686"}, + {"2001:559:82cf::/48", "33659"}, + {"2001:579:c24::/35", "22773"}, + {"240a:ac88::/32", "145858"}, + {"2800:bf0:80a2::/43", "27947"}, + {"2804:6e14:4000::/34", "270574"}, + {"2408:8256:1800::/34", "17816"}, + {"2606:8600::/32", "33604"}, + {"2804:84d4::/32", "272282"}, + {"2a0e:5b40::/29", "41960"}, + {"2a0f:85c1:27::/48", "210532"}, + {"2406:3800::/32", "24245"}, + {"2605:a404:8b7::/41", "33363"}, + {"2804:1a98::/32", "61870"}, + {"2804:5cf8::/32", "268943"}, + {"2a02:26f7:b708::/48", "36183"}, + {"2a07:aa80::/29", "202657"}, + {"2a12:3580::/29", "204623"}, + {"2607:fb10:70e2::/47", "2906"}, + {"2803:7a00::/32", "52468"}, + {"2803:c300::/32", "22869"}, + {"240a:a329::/32", "143459"}, + {"240a:ab6b::/32", "145573"}, + {"2804:443c::/32", "267611"}, + {"2001:559:c082::/48", "33667"}, + {"2001:44b8:3086::/48", "7545"}, + {"2401:b200:a::/41", "24186"}, + {"2408:8256:36a0::/39", "17816"}, + {"2605:3380:4138::/41", "12025"}, + {"2804:668c::/32", "269567"}, + {"2a00:4820::/32", "24800"}, + {"2a01:8640:6::/48", "42708"}, + {"2001:559:80f5::/48", "33657"}, + {"2606:8f00::/32", "18712"}, + {"2806:101e:6::/44", "8151"}, + {"2001:559:c242::/48", "33651"}, + {"2a02:26f7:b744::/46", "36183"}, + {"240e:848:a0::/30", "4134"}, + {"2605:2800:102::/40", "3354"}, + {"2a00:adc0:1a00::/40", "13030"}, + {"2a02:2ad0:117::/44", "702"}, + {"2a03:2880:f270::/40", "32934"}, + {"2801:116:1::/48", "27951"}, + {"2a02:26f7:9d::/48", "20940"}, + {"2a06:b500:204f::/48", "211768"}, + {"2a09:7184::/30", "39614"}, + {"2a0e:aa01:bad2::/33", "206499"}, + {"2001:500:12::/48", "5927"}, + {"2804:4368:1450::/32", "267568"}, + {"2a02:26f7:d301::/46", "20940"}, + {"2a0e:b107:760::/44", "205977"}, + {"2001:48d0:c000::/34", "7377"}, + {"2804:214:8498::/39", "26615"}, + {"2804:1ed0:1003::/32", "262286"}, + {"2001:550:4701:201::/36", "174"}, + {"240a:a290::/32", "143306"}, + {"2a02:27b0:5400::/39", "9146"}, + {"2001:a38::/32", "20633"}, + {"2407:9240:3100::/44", "149423"}, + {"240a:a3b0::/32", "143594"}, + {"2a02:6680:21f0::/44", "16116"}, + {"2a0a:59c7:1007::/44", "204724"}, + {"2001:559:8793::/48", "33491"}, + {"2001:14e8:2::/32", "6736"}, + {"2001:1a11:7c::/48", "42298"}, + {"240a:a3fe::/32", "143672"}, + {"2605:6c80::/47", "397373"}, + {"2620:122:7000::/48", "16507"}, + {"2a00:59a0::/32", "42442"}, + {"2a03:97a0::/40", "197380"}, + {"2a04:5200:5978::/32", "50113"}, + {"2001:559:87ee::/48", "33659"}, + {"2600:1005:9010::/40", "22394"}, + {"2600:1419:ec01::/35", "20940"}, + {"2a05:9f80::/29", "211308"}, + {"2602:fbbc::/46", "400498"}, + {"2606:41c0::/45", "11448"}, + {"2800:160:12bb::/45", "14259"}, + {"2804:54::/35", "28220"}, + {"2a0d:9a80:100::/38", "49959"}, + {"2001:44b8:2a::/43", "7545"}, + {"2401:d800:2252::/40", "7552"}, + {"2620:13d:e000::/48", "397127"}, + {"2a02:2198::/32", "21161"}, + {"2a03:c980:b957::/48", "210079"}, + {"2a04:ed40::/29", "201864"}, + {"2a0d:a1c0::/29", "42695"}, + {"2001:4bf8::/32", "8271"}, + {"2804:1658:ffff::/48", "263283"}, + {"2a00:79e0::/39", "45566"}, + {"2a09:400:8000::/36", "208861"}, + {"2a07:39c0::/29", "60111"}, + {"2402:800:7ee2::/39", "7552"}, + {"2a07:1f40::/29", "28725"}, + {"2001:678:ccc::/48", "206477"}, + {"2001:90f::/32", "204873"}, + {"240e:965:d400::/39", "58772"}, + {"2620:74:8a::/48", "26134"}, + {"2a00:d980::/32", "12512"}, + {"2a06:a005:b8::/48", "207941"}, + {"2a12:280::/29", "204790"}, + {"2001:559:8539::/48", "33652"}, + {"2001:67c:4::/48", "51531"}, + {"2001:1248:8416::/47", "11172"}, + {"2607:fdf0:5eb8::/41", "8008"}, + {"2804:e48::/32", "262949"}, + {"2a0f:cc84::/31", "210625"}, + {"2404:1c40:f0::/45", "24432"}, + {"2408:8956:5000::/40", "17622"}, + {"2602:230::/32", "6128"}, + {"2a03:1fc0::/48", "35220"}, + {"2a0e:fd45:da5::/48", "60557"}, + {"2400:dcc0:a404::/39", "38631"}, + {"2401:d800:40::/42", "7552"}, + {"2403:6100::/32", "4621"}, + {"2409:8924:9900::/38", "56046"}, + {"240a:ad14::/32", "145998"}, + {"2604:3a80::/32", "33130"}, + {"2800:800:400::/39", "26611"}, + {"2a11:2800:3::/48", "61317"}, + {"2001:559:855c::/48", "7922"}, + {"2001:678:e40::/48", "205593"}, + {"2001:67c:29fc::/48", "30923"}, + {"2001:4830:c160::/44", "27552"}, + {"2405:d440:101::/32", "58813"}, + {"240e:390::/29", "4134"}, + {"2605:4c40:abd::/32", "30081"}, + {"2804:6584::/32", "269496"}, + {"2c0f:f6d0:a7::/41", "327687"}, + {"2406:f100::/32", "58923"}, + {"240a:a835::/32", "144751"}, + {"2620:12d:2000::/40", "33545"}, + {"2804:24d8::/32", "264244"}, + {"2804:38b0:ff00::/40", "266494"}, + {"2804:826c::/32", "272520"}, + {"2a03:1ae0:1::/48", "59944"}, + {"2c0f:f030:4000::/34", "328137"}, + {"2001:559:8154::/48", "33657"}, + {"2001:67c:1368::/48", "20932"}, + {"2607:fdf8:400::/32", "13649"}, + {"2804:836c::/32", "272197"}, + {"2a00:6a00::/32", "56588"}, + {"2a00:cee1:dcd::/30", "60268"}, + {"2001:9c0::/32", "12902"}, + {"240a:ade5::/32", "146207"}, + {"2600:141b:801::/37", "20940"}, + {"2a00:1160::/29", "5500"}, + {"2a02:26f7:e188::/48", "36183"}, + {"2600:1417:1f::/48", "20940"}, + {"2605:4300:5::/48", "53813"}, + {"2804:22f0::/32", "264133"}, + {"2001:470:11d::/46", "6939"}, + {"2001:67c:734::/48", "198656"}, + {"2001:c20:8800::/34", "3758"}, + {"2401:d800:5570::/40", "7552"}, + {"2401:d800:d010::/42", "7552"}, + {"2407:9e00::/48", "23888"}, + {"2a02:7900::/39", "16154"}, + {"2a03:4920::/32", "42652"}, + {"2a06:6180::/29", "34941"}, + {"2606:1b80::/32", "40864"}, + {"2804:13a8::/32", "263544"}, + {"2804:6534::/32", "269475"}, + {"2a0a:a1c0::/29", "205998"}, + {"2a10:7707:f224::/36", "399975"}, + {"2001:559:8303::/45", "7015"}, + {"2001:67c:225c::/48", "56736"}, + {"2408:8957:8800::/40", "17622"}, + {"2607:fdf8:db::/45", "13649"}, + {"2620:120:c000::/40", "395182"}, + {"2804:7f0::/30", "18881"}, + {"2a03:c9c0::/32", "51752"}, + {"2a05:ce40::/29", "201006"}, + {"2001:250:4018::/38", "23910"}, + {"2409:8a44::/31", "24445"}, + {"2602:808:6000::/40", "1798"}, + {"2620:57:4003::/48", "39122"}, + {"2620:132:b000::/40", "21951"}, + {"2804:664c::/34", "269547"}, + {"2a07:c5c0::/29", "202526"}, + {"2408:8456:e610::/42", "134543"}, + {"2600:1006:b1d0::/42", "6167"}, + {"2804:18b8::/32", "61949"}, + {"2402:b00::/32", "24554"}, + {"2603:c001:250::/37", "31898"}, + {"2620:74:21::/48", "396574"}, + {"2803:53e0::/48", "52468"}, + {"2a00:8620::/32", "200698"}, + {"2001:253:134::/48", "142100"}, + {"2404:e00:265::/48", "15695"}, + {"240a:aa09::/32", "145219"}, + {"240e:e:d800::/31", "4134"}, + {"2606:21c0::/32", "36698"}, + {"2a01:6b40::/32", "198403"}, + {"2a02:ee80:427a::/40", "3573"}, + {"2001:579:b8d4::/39", "22773"}, + {"2402:8200::/32", "9790"}, + {"2a00:1da0:4006::/32", "29591"}, + {"2a06:c3c0:3::/48", "42093"}, + {"2401:d800:79c0::/42", "7552"}, + {"2402:800:9b8d::/43", "7552"}, + {"2600:1015:a120::/35", "6167"}, + {"2801:80:660::/48", "52520"}, + {"2803:b780:22::/32", "27742"}, + {"2a02:26f7:c080::/48", "36183"}, + {"2a02:26f7:e705::/46", "20940"}, + {"2a02:e0c0:2c00::/38", "9100"}, + {"2001:559:86aa::/48", "33491"}, + {"2001:1248:a4d2::/47", "11172"}, + {"2001:4998:1d::/46", "10310"}, + {"2402:9800::/34", "38158"}, + {"240a:af18::/32", "146514"}, + {"240e:982:e400::/35", "4134"}, + {"2a02:26f7:d80d::/42", "20940"}, + {"2a07:ca07::/32", "35048"}, + {"2a0f:ca87:2::/48", "211944"}, + {"2408:8459:ec30::/41", "17622"}, + {"2604:9cc0::/48", "201106"}, + {"2604:ca00:f024::/46", "36492"}, + {"2804:7ef4::/32", "271657"}, + {"2a01:5042:b::/48", "202196"}, + {"2001:559:8657::/48", "7922"}, + {"2602:feb4:d0::/44", "25961"}, + {"2604:240:1::/48", "33724"}, + {"2606:bc00::/33", "19419"}, + {"2a0b:bd00::/29", "208861"}, + {"2400:7400:e036::/48", "23736"}, + {"2602:fed2:712e::/48", "206607"}, + {"2604:d600:123f::/41", "32098"}, + {"2605:ff40::/32", "13837"}, + {"2a02:df40::/48", "61347"}, + {"2001:559:c473::/45", "7015"}, + {"2001:df0:f800::/48", "58397"}, + {"2001:4878:c228::/48", "12222"}, + {"2804:3034:280::/32", "264936"}, + {"2804:6350::/32", "269353"}, + {"2a02:b8::/38", "25273"}, + {"2a0a:4dc0:1::/48", "206168"}, + {"2001:67c:b4::/48", "16509"}, + {"2402:3a80:c071::/46", "38266"}, + {"2602:fde5::/42", "393424"}, + {"2a02:26f7:11::/48", "20940"}, + {"2a02:26f7:e944::/48", "36183"}, + {"2a05:6300::/29", "201341"}, + {"2402:ef03:100::/34", "7633"}, + {"2409:8b29::/27", "9808"}, + {"2a02:26f7:cb45::/46", "20940"}, + {"2a04:6ec0::/29", "197637"}, + {"2a05:1700:2::/47", "56577"}, + {"2a0b:640::/46", "35236"}, + {"2a0d:b201:8000::/42", "206026"}, + {"240e:17:3800::/37", "139220"}, + {"240e:45c:b200::/40", "131285"}, + {"2600:1402:b801::/33", "20940"}, + {"2600:370f:33ce::/37", "32261"}, + {"2804:1c44::/36", "61645"}, + {"2a00:8b60::/32", "8440"}, + {"2c0f:7900::/32", "328935"}, + {"2001:1248:57bf::/41", "11172"}, + {"2001:4490:da70::/46", "9829"}, + {"240a:aa7d::/32", "145335"}, + {"2607:fe00::/35", "30689"}, + {"2804:c5c::/32", "262318"}, + {"2a0f:d9c0::/29", "205544"}, + {"2a0f:f4c0::/32", "43380"}, + {"2400:cb00:210::/46", "13335"}, + {"2404:d680::/32", "132111"}, + {"240a:a85f::/32", "144793"}, + {"240e:3bf:d000::/36", "134772"}, + {"2a02:5320:900::/40", "12189"}, + {"2804:6a2c::/32", "270317"}, + {"2806:2f0:5243::/42", "17072"}, + {"2a00:1851::/34", "29357"}, + {"2408:84f3:de40::/39", "17816"}, + {"240a:af34::/32", "146542"}, + {"2600:6c38:1eb::/43", "20115"}, + {"2806:2f0:4323::/41", "17072"}, + {"2600:1488:60c1::/46", "20940"}, + {"2804:b0::/32", "22431"}, + {"2a06:dd40::/46", "203416"}, + {"2001:1248:550c::/43", "11172"}, + {"2a00:8c60:a::/47", "60706"}, + {"2a02:228::/29", "25400"}, + {"2a03:2880:f15f::/42", "32934"}, + {"2001:678:490::/48", "12843"}, + {"240a:a215::/32", "143183"}, + {"2606:18c0:1::/48", "42831"}, + {"2a02:26f7:ee::/48", "36183"}, + {"2a0b:c1c0::/29", "42580"}, + {"2a0e:aa07:e035::/48", "208679"}, + {"2402:5300:407::/42", "45903"}, + {"2a04:5680::/29", "197790"}, + {"2406:da70:8000::/40", "16509"}, + {"240a:ae7e::/32", "146360"}, + {"2806:370:6110::/40", "28403"}, + {"2402:800:5663::/43", "7552"}, + {"2402:800:7c50::/42", "7552"}, + {"2606:45c0::/32", "26073"}, + {"2620:8c:4000::/48", "54054"}, + {"2804:fa0::/32", "263596"}, + {"2a02:26f7:cac0::/48", "36183"}, + {"2001:e30:1800::/40", "2697"}, + {"2408:8459:f050::/39", "17816"}, + {"2607:f0d0:2a00::/32", "36351"}, + {"2800:480:ff50::/48", "14080"}, + {"2a12:9080::/29", "210429"}, + {"2001:470:159::/32", "6939"}, + {"2001:559:30b::/48", "33491"}, + {"2001:559:801e::/48", "33650"}, + {"2001:ac8:d::/42", "9009"}, + {"2400:6880::/34", "9652"}, + {"2402:800:7690::/42", "7552"}, + {"2001:16a2:7200::/39", "39386"}, + {"2001:44c8:40ff::/39", "131445"}, + {"2400:5200:403::/45", "55410"}, + {"2403:b100:cd00::/34", "9989"}, + {"2804:2e84:10::/40", "265350"}, + {"2a01:6240::/43", "58273"}, + {"2a05:1083::/47", "147028"}, + {"2606:b400:8004::/48", "792"}, + {"2800:160:1a2f::/43", "14259"}, + {"2804:14d:8481::/44", "28573"}, + {"2a0a:bf40::/36", "205943"}, + {"2001:559:8087::/48", "33651"}, + {"2001:678:1::/48", "25192"}, + {"240a:a842::/32", "144764"}, + {"240e:6:d130::/44", "140083"}, + {"2a00:1288:ef85::/43", "10310"}, + {"2001:7a8::/37", "13193"}, + {"2001:c20:4849::/48", "9255"}, + {"2405:b900:5570::/48", "55701"}, + {"2409:8053:2::/40", "56047"}, + {"2607:fdf0:5ea2::/45", "8008"}, + {"2801:80:25b0::/48", "268014"}, + {"2a02:26f7:d904::/48", "36183"}, + {"2001:da8:b0::/48", "24355"}, + {"2404:bf40:c002::/45", "7545"}, + {"2801:132::/44", "19429"}, + {"2803:1740::/32", "36511"}, + {"2a02:26f7:d384::/48", "36183"}, + {"2a00:f30::/48", "12418"}, + {"2401:d800:7a80::/42", "7552"}, + {"240a:a847::/32", "144769"}, + {"240e:966:ea00::/39", "133776"}, + {"2604:d980::/32", "54235"}, + {"2a09:be40:1700::/40", "208029"}, + {"2a0e:c980::/32", "34393"}, + {"240a:a310::/32", "143434"}, + {"2a02:f8::/32", "28929"}, + {"2407:e400:b000::/33", "18390"}, + {"240e:3b3:c000::/37", "140315"}, + {"2804:37a8:1213::/48", "65004"}, + {"2001:501:b1f9::/48", "396566"}, + {"2001:559:5e6::/48", "22909"}, + {"2001:df4:9480::/48", "140748"}, + {"2604:8200:1::/48", "23089"}, + {"2620:12f:c000::/46", "395831"}, + {"2804:1b2:f100::/47", "18881"}, + {"2804:b10::/32", "52936"}, + {"2409:4000::/31", "55836"}, + {"2001:559:5ed::/46", "33287"}, + {"2806:230:4022::/48", "265594"}, + {"2401:b180:4101::/34", "37963"}, + {"2402:9d80:840::/43", "131429"}, + {"2406:e1c0:201::/39", "141459"}, + {"2408:84f3::/34", "17816"}, + {"2409:8904:4360::/37", "24547"}, + {"240a:a9df::/32", "145177"}, + {"240a:adcb::/32", "146181"}, + {"2a00:5760::/32", "61012"}, + {"2a0b:a4c0::/29", "212238"}, + {"2001:559:1f2::/48", "7922"}, + {"2603:c012:8000::/36", "31898"}, + {"2803:f00:49c::/41", "262182"}, + {"2a04:a142::/32", "20473"}, + {"2001:48b8::/32", "19517"}, + {"2403:d300:2800::/32", "15932"}, + {"240e:44d:2c80::/41", "4134"}, + {"2804:5e48:ff40::/46", "269023"}, + {"2a05:2200::/29", "54058"}, + {"2a0a:6040:ac97::/29", "61138"}, + {"2a10:2f00:17d::/48", "208893"}, + {"2001:559:11a::/47", "7016"}, + {"2a0d:d400::/29", "12748"}, + {"2001:559:8343::/48", "33652"}, + {"2001:678:18c::/48", "202928"}, + {"2001:df4:fc00::/48", "136557"}, + {"2402:3a80:19e0::/43", "38266"}, + {"2606:2800:e000::/45", "14210"}, + {"2800:160:2083::/41", "14259"}, + {"2a02:26f7:f680::/48", "36183"}, + {"2620:107:9031::/48", "22787"}, + {"2804:f8c:9000::/33", "263591"}, + {"2804:2b44:12::/42", "265144"}, + {"2804:34b8::/32", "265475"}, + {"2001:428:b27::/37", "209"}, + {"2605:ccc0::/32", "394209"}, + {"2803:f00:440::/40", "262182"}, + {"2804:7594::/32", "271056"}, + {"2a02:26f0:ed::/43", "20940"}, + {"2a02:ee80:429e::/42", "3573"}, + {"2400:cc00:8500::/36", "17477"}, + {"2600:1407:5801::/34", "20940"}, + {"2620:13c:e000::/48", "19382"}, + {"2a03:e2c0::/32", "205125"}, + {"2a0b:85c0::/32", "32338"}, + {"2001:dce:8000::/48", "45285"}, + {"2409:8054:9::/45", "56040"}, + {"2804:214:4018::/47", "26615"}, + {"2804:58a4::/32", "268141"}, + {"2a04:c442::/33", "10725"}, + {"2a06:1287:3000::/44", "34549"}, + {"2a0b:4940::/29", "205699"}, + {"2a0f:d980::/32", "1152"}, + {"2600:1002:a000::/44", "6167"}, + {"2806:2f0:47a1::/41", "17072"}, + {"2a0a:c080::/29", "51546"}, + {"2409:8075::/30", "9808"}, + {"240e:804:a0::/39", "4134"}, + {"2605:9480:1300::/40", "31775"}, + {"2804:3eb4::/32", "266616"}, + {"2a01:be60::/32", "31458"}, + {"2001:559:389::/48", "22258"}, + {"2001:c20:4875::/46", "3758"}, + {"2001:df6:a480::/48", "141815"}, + {"240e:a7:7fc3::/45", "140509"}, + {"2610:130:1900::/37", "6122"}, + {"2804:3478::/32", "262450"}, + {"2402:6940:407::/40", "7645"}, + {"240a:afdc::/32", "146710"}, + {"2801:80:1ce0::/44", "266604"}, + {"2a00:5f00::/32", "51055"}, + {"2a01:c50f:4040::/39", "12479"}, + {"2a01:c50f:fd80::/38", "12479"}, + {"2a02:530::/43", "21191"}, + {"2a02:e5c0::/29", "51219"}, + {"2001:da8:b7::/48", "24365"}, + {"2408:8256:3997::/44", "17623"}, + {"2a01:110:8068::/48", "3598"}, + {"2a02:fc0::/29", "42428"}, + {"2a02:26f7:cf89::/46", "20940"}, + {"2400:cb00:348::/47", "132892"}, + {"240a:a58c::/32", "144070"}, + {"2604:5b00::/32", "19024"}, + {"2a02:360::/32", "42804"}, + {"2001:559:4ea::/45", "7015"}, + {"2001:57a:a801::/38", "22773"}, + {"2806:2f0:4543::/42", "17072"}, + {"2a02:d480:280::/32", "680"}, + {"2a04:1500::/29", "61026"}, + {"2a0a:441:1::/48", "47692"}, + {"240a:a518::/32", "143954"}, + {"2600:8000::/26", "29992"}, + {"2001:4200:5001::/34", "2018"}, + {"2001:44b8:3090::/48", "7545"}, + {"2604:2680:8::/48", "2386"}, + {"2a00:1dd0::/29", "719"}, + {"2a02:26f7:3c::/48", "36183"}, + {"2a02:26f7:c405::/46", "20940"}, + {"2001:df0:2a00::/48", "63731"}, + {"2001:19e8:8900::/48", "4046"}, + {"240e:982:6100::/40", "138982"}, + {"2607:fdf0:5e2a::/43", "8008"}, + {"2804:10f0::/32", "17108"}, + {"2a02:367:4044::/48", "42804"}, + {"240a:a357::/32", "143505"}, + {"240a:aa6d::/32", "145319"}, + {"2605:a404:50e::/42", "33363"}, + {"2400:b000:eee::/48", "23862"}, + {"2403:8000:10::/48", "18007"}, + {"2a0c:c8c0::/47", "202315"}, + {"2804:1128::/32", "263661"}, + {"2a00:a7a0:2000::/48", "60212"}, + {"2a0a:6e00:49::/48", "207098"}, + {"2a0e:abc0::/29", "197706"}, + {"2001:559:26d::/48", "7015"}, + {"2a0a:9302::/32", "35196"}, + {"2001:559:81a6::/48", "33660"}, + {"2804:6948::/32", "270260"}, + {"2a02:26f7:14::/48", "36183"}, + {"2a11:38c0::/29", "1152"}, + {"2001:559:8314::/48", "7922"}, + {"2400:ebc0::/32", "59022"}, + {"2402:a300:4000::/36", "55427"}, + {"240e:982:8200::/40", "133776"}, + {"2604:880:241::/42", "29802"}, + {"2001:4c8:100e::/43", "15290"}, + {"2001:559:2ec::/48", "7016"}, + {"2001:559:c2d8::/48", "33287"}, + {"2001:678:528::/48", "25126"}, + {"2407:6bc0::/32", "63981"}, + {"2408:8459:6250::/37", "17816"}, + {"2a00:13b7::/48", "34762"}, + {"2a00:b9a0::/32", "198872"}, + {"2a0a:dc00::/30", "51262"}, + {"2001:550:3402::/48", "398355"}, + {"2402:800:36c5::/43", "7552"}, + {"2409:8924:a500::/38", "56046"}, + {"2602:fc9b::/36", "26795"}, + {"2606:2800:4a94::/46", "15133"}, + {"2a02:28:7::/48", "60490"}, + {"2a02:26f7:e519::/42", "20940"}, + {"2602:fd7d:420::/40", "16925"}, + {"2804:1790::/32", "53085"}, + {"2001:250:2428::/48", "23910"}, + {"2001:12f0:3e::/38", "1916"}, + {"2606:6780:6::/48", "20324"}, + {"2620:15:e000::/48", "396079"}, + {"2a11:200::/29", "208861"}, + {"2001:648:2330::/48", "9069"}, + {"2600:1411:2001::/33", "20940"}, + {"2803:7200:800a::/47", "27696"}, + {"2804:7adc::/33", "262674"}, + {"2001:559:5d5::/48", "33659"}, + {"240e:108:1153::/45", "149178"}, + {"2a0f:1e80::/31", "30633"}, + {"2a0f:9400:7100::/40", "53356"}, + {"2001:388:5070::/48", "7573"}, + {"2607:ad80::/32", "395558"}, + {"2804:431:a000::/35", "27699"}, + {"2a02:26f7:c641::/46", "20940"}, + {"2a02:26f7:c68b::/48", "20940"}, + {"2a02:26f7:dc01::/46", "20940"}, + {"2a11:8040::/29", "209551"}, + {"2001:c20:48b3::/45", "3758"}, + {"2406:840:c0a8::/48", "139317"}, + {"240e:3bb:1400::/38", "134773"}, + {"2801:14:e800::/48", "271877"}, + {"2804:4b58::/32", "267299"}, + {"2a00:16c8:10c::/48", "3257"}, + {"2a09:5f80:2::/47", "48038"}, + {"2001:559:506::/48", "7922"}, + {"2604:5140::/32", "396316"}, + {"2606:ed00:5::/46", "47869"}, + {"2a0e:97c0:661::/45", "56758"}, + {"2a0f:3100::/32", "47596"}, + {"2001:668:123::/40", "3257"}, + {"2607:fb10:5084::/42", "2906"}, + {"2804:14d:90b4::/41", "28573"}, + {"2c0f:eb00:1400::/39", "61266"}, + {"2804:40d8::/32", "265985"}, + {"2806:1018::/32", "8151"}, + {"2a07:a343:cc70::/44", "136620"}, + {"2406:2000:99::/46", "10310"}, + {"2408:8456:ca40::/40", "17816"}, + {"2804:145c:c610::/42", "263327"}, + {"2a00:1cb8:2:4::/60", "12713"}, + {"2a00:4802:2a00::/44", "13124"}, + {"2a05:bf81::/32", "50352"}, + {"2001:559:200::/48", "33659"}, + {"2600:a00::/31", "16904"}, + {"2804:b18:81::/45", "52941"}, + {"2a0d:5641:2100::/44", "57695"}, + {"2001:67c:15c::/48", "34387"}, + {"2001:dc7:2dff::/48", "24406"}, + {"2400:8000:7::/44", "4800"}, + {"2401:4900:1c06::/44", "24560"}, + {"2408:8720::/30", "4837"}, + {"2409:804e:100::/36", "9808"}, + {"2606:4f00:a::/48", "19324"}, + {"2620:119:5041::/46", "13443"}, + {"2800:190:110::/37", "11664"}, + {"2803:4700::/31", "28073"}, + {"2001:1248:987f::/40", "11172"}, + {"240e:438:4a40::/37", "4134"}, + {"2806:20d:5066::/43", "32098"}, + {"2806:2f0:32e3::/39", "17072"}, + {"2a06:98c1:3100::/44", "13335"}, + {"2c0f:7200::/32", "37219"}, + {"2001:559:806e::/47", "7922"}, + {"2001:da8:23b::/48", "24349"}, + {"240a:af48::/32", "146562"}, + {"2600:1001:f100::/44", "6167"}, + {"2602:fc1d::/47", "7720"}, + {"2001:500:30::/48", "7018"}, + {"2001:5002:300:2::/27", "1273"}, + {"2404:bf40:81c0::/47", "7545"}, + {"240a:a1a6::/32", "143072"}, + {"240e:44d:5d80::/41", "4134"}, + {"2600:1419:c01::/38", "20940"}, + {"2a02:2e02:9230::/40", "12479"}, + {"2a09:2942::/31", "209898"}, + {"2409:8904:6840::/42", "24547"}, + {"2602:ffb7:f00::/40", "62874"}, + {"2620:73:2000::/48", "33491"}, + {"2804:76f0::/32", "271144"}, + {"2806:230:1030::/48", "265594"}, + {"2402:ee40:60::/40", "17754"}, + {"2408:8256:3180::/44", "17623"}, + {"2620:74:49::/45", "7342"}, + {"2804:225c::/36", "264093"}, + {"2804:7be8:c000::/45", "271462"}, + {"2404:2d00::/32", "55900"}, + {"240e:44d:4e00::/41", "140345"}, + {"2801:13:b000::/48", "64109"}, + {"2a04:c1::/30", "47123"}, + {"2a05:8440::/29", "31708"}, + {"2001:7f8:46::/48", "51988"}, + {"2401:be00:6::/32", "55641"}, + {"240a:a00d::/32", "142663"}, + {"2600:6c10:f405::/44", "20115"}, + {"2a02:760::/29", "29468"}, + {"2001:da8:b011::/46", "24371"}, + {"2600:9000:2304::/44", "16509"}, + {"2602:ff50::/40", "63452"}, + {"2409:8008:900::/35", "24547"}, + {"2600:8807:89a6::/44", "22773"}, + {"2a02:26f7:93::/48", "20940"}, + {"240a:a185::/32", "143039"}, + {"2001:df0:2240::/48", "149053"}, + {"2401:5e40:2000::/32", "63770"}, + {"240a:a29e::/32", "143320"}, + {"240a:a63f::/32", "144249"}, + {"240e:108:13f0::/31", "4134"}, + {"2605:66c5::/30", "53820"}, + {"2607:f4a8::/34", "803"}, + {"2803:9a40:d000::/34", "263824"}, + {"2001:e60:87a8::/43", "4766"}, + {"240a:ad07::/32", "145985"}, + {"2605:3380:42f8::/48", "12025"}, + {"2803:29a0::/32", "267710"}, + {"2804:2f9c::/32", "264902"}, + {"2a02:d540::/29", "199659"}, + {"2400:54a0::/48", "149476"}, + {"2402:6a40::/46", "135718"}, + {"2604:4940::/32", "62516"}, + {"2001:43f8:c90::/48", "328374"}, + {"2804:4f80:1001::/48", "268330"}, + {"2a09:7:2009::/48", "208982"}, + {"2001:410:101::/48", "6509"}, + {"2001:559:8676::/48", "33287"}, + {"2402:800:3b63::/43", "7552"}, + {"2803:2180:1c::/47", "27941"}, + {"2804:a38::/32", "263035"}, + {"2a02:26f7:e915::/42", "20940"}, + {"2a05:fa82::/29", "202139"}, + {"2001:da8:7031::/44", "24363"}, + {"240e:30f:4a00::/35", "137688"}, + {"2600:802:101::/37", "701"}, + {"2800:bf0:1ca::/47", "27947"}, + {"2804:2f30:6c40::/40", "53096"}, + {"2a0f:e600::/47", "60781"}, + {"2001:b00::/32", "12874"}, + {"2402:800:7e00::/42", "7552"}, + {"240a:a27a::/32", "143284"}, + {"240e:bf:b8f8::/46", "138409"}, + {"240e:85c:40::/44", "131285"}, + {"2600:100a:a000::/44", "6167"}, + {"2600:1010:ff10::/40", "22394"}, + {"2620:1e8:1::/48", "29802"}, + {"2804:37f0:7900::/32", "266445"}, + {"2a01:7e80::/39", "197990"}, + {"2c0f:e00::/31", "36924"}, + {"2408:8256:339f::/37", "17816"}, + {"2800:160:1938::/41", "14259"}, + {"2a07:b8c3::/45", "14043"}, + {"2001:559:4e2::/48", "7922"}, + {"2600:1005:f010::/40", "22394"}, + {"2606:2800:4262::/44", "15133"}, + {"2a10:cc42:1000::/40", "20473"}, + {"2001:559:8012::/48", "33662"}, + {"240a:a208::/32", "143170"}, + {"2804:e00::/33", "11419"}, + {"2804:4cc0::/32", "267389"}, + {"2a0c:9a47:20::/48", "209533"}, + {"2607:f740:e00b::/48", "63911"}, + {"2a03:7380:7380::/42", "13188"}, + {"2a06:e881:3900::/44", "204624"}, + {"2a0b:f6c0::/48", "203339"}, + {"2a02:26f0:801::/38", "20940"}, + {"2a07:dc00:180::/44", "29997"}, + {"2a0e:97c0:1d0::/47", "211337"}, + {"2001:418:1401:6a::/64", "20940"}, + {"2404:bf40:8641::/45", "7545"}, + {"2405:cc40::/32", "135690"}, + {"240a:af67::/32", "146593"}, + {"2600:1010:d1d0::/36", "22394"}, + {"2608:4162:1::/48", "27065"}, + {"2001:559:87f5::/48", "33657"}, + {"2607:fc48:438::/48", "40009"}, + {"2a02:4c8::/40", "9070"}, + {"2001:559:37b::/48", "7922"}, + {"2406:f380::/32", "398109"}, + {"240a:a5b4::/32", "144110"}, + {"2001:559:c293::/48", "7015"}, + {"2001:648:2cef::/48", "199399"}, + {"2001:da8:a023::/44", "24352"}, + {"2600:6:ff00::/45", "10507"}, + {"2804:5878::/32", "268131"}, + {"2a0d:4a00:d000::/34", "29148"}, + {"2001:250:2826::/44", "138378"}, + {"2001:fd8:34c0::/42", "132199"}, + {"2a0e:b107:dd0::/44", "212508"}, + {"2001:559:81c9::/48", "33662"}, + {"2001:13c7:600b::/48", "52360"}, + {"2409:4056:3000::/26", "55836"}, + {"2604:7a00::/32", "11232"}, + {"2604:e440::/32", "19523"}, + {"2605:8d80:3368::/32", "812"}, + {"2605:a404:41::/44", "33363"}, + {"2620:f4:8000::/48", "54652"}, + {"2804:2270::/32", "264100"}, + {"2806:20d:1605::/46", "32098"}, + {"2a02:26f7:f94c::/48", "36183"}, + {"2a03:2260:4000::/30", "201701"}, + {"2a05:91c2::/48", "57640"}, + {"2001:559:87e9::/45", "7015"}, + {"2001:559:c304::/48", "33287"}, + {"2404:3d00:40ea::/47", "3573"}, + {"2800:bf0:2a43::/42", "27947"}, + {"2400:89c0:1010::/42", "4808"}, + {"2401:d800:d510::/42", "7552"}, + {"2405:f980::/48", "135905"}, + {"2600:1480:e801::/37", "20940"}, + {"2605:8480::/32", "11472"}, + {"2a0a:73c0::/29", "207006"}, + {"2a0b:21c0:1000::/34", "21859"}, + {"2600:6c10:c18::/42", "20115"}, + {"2806:230:500c::/48", "265594"}, + {"2806:2f0:2082::/48", "17072"}, + {"2a00:10c8::/32", "12835"}, + {"2001:4490:dc4c::/46", "9829"}, + {"2408:80f1:110::/42", "138421"}, + {"2001:559:3a7::/48", "33651"}, + {"2001:df5:fb00::/48", "135495"}, + {"2408:8256:3d76::/44", "17623"}, + {"2409:8c85:aa04::/48", "24547"}, + {"240a:a140::/32", "142970"}, + {"2a00:86c0:2088::/47", "2906"}, + {"2a02:26f7:c0c1::/46", "20940"}, + {"2600:370f:71c3::/42", "32261"}, + {"2801:1c0::/39", "52424"}, + {"2a02:d6c0::/29", "34524"}, + {"2a06:86c0::/29", "3213"}, + {"2402:800:2100::/35", "7552"}, + {"2402:4440:8f00::/35", "24423"}, + {"2a01:367::/32", "30823"}, + {"240a:a467::/32", "143777"}, + {"2804:20fc:1a00::/39", "264525"}, + {"2a02:5a0::/29", "9063"}, + {"2001:559:8216::/48", "33652"}, + {"2804:2e50::/32", "265338"}, + {"2804:5df8::/32", "269004"}, + {"2a00:f660::/32", "42442"}, + {"2a09:2dc1::/32", "43641"}, + {"2401:8d00:2::/48", "24149"}, + {"240a:a77c::/32", "144566"}, + {"2600:370f:7512::/44", "32261"}, + {"2a05:2500::/32", "31586"}, + {"2a0b:3d00::/30", "48152"}, + {"2001:ee0:9840::/39", "45899"}, + {"2603:603d::/32", "10796"}, + {"2604:dc00:7454::/32", "19752"}, + {"2605:9a00:10::/48", "160"}, + {"2a02:26f7:e909::/46", "20940"}, + {"2a11:f500::/29", "400522"}, + {"2406:300::/32", "3462"}, + {"2600:6c20:20d::/43", "20115"}, + {"2408:80c5::/33", "4837"}, + {"2604:50:8::/48", "393950"}, + {"2605:9cc0:378::/48", "16509"}, + {"2a00:e48:8000::/33", "39787"}, + {"2001:3c8:1010::/47", "4621"}, + {"2400:adc2:600::/39", "9541"}, + {"2607:7c80:c0ff::/34", "64260"}, + {"2804:4774::/32", "267055"}, + {"2804:61b8::/32", "269252"}, + {"2a02:26f7:21::/48", "20940"}, + {"2403:a3c0::/46", "131600"}, + {"2602:806:4002::/48", "14032"}, + {"2602:ff96:15::/46", "40676"}, + {"2a02:ee80:4275::/46", "3573"}, + {"2a04:3e00:1001::/29", "56910"}, + {"2a11:cd40::/48", "210483"}, + {"2001:250:742f::/36", "23910"}, + {"2400:ab80::/32", "133399"}, + {"2406:fd00:800::/40", "24459"}, + {"240a:a1db::/32", "143125"}, + {"2607:8700:109::/48", "25820"}, + {"2620:10c:f004::/48", "33459"}, + {"2804:1cb4::/32", "61670"}, + {"2a00:5a20:2::/34", "199289"}, + {"2a02:26f7:d7::/48", "20940"}, + {"2001:7a0::/32", "15782"}, + {"2001:1248:5b8d::/42", "11172"}, + {"2403:9800:7f1c::/48", "4648"}, + {"2408:840d:7700::/42", "17621"}, + {"2804:27a8::/32", "263915"}, + {"2804:7ae0::/32", "271397"}, + {"2a00:e8c0::/32", "34797"}, + {"2a02:fb00::/29", "44066"}, + {"2a03:f140::/32", "206617"}, + {"2605:4c40::/41", "30081"}, + {"2620:11f:b000::/46", "394514"}, + {"2402:800:57ee::/36", "7552"}, + {"2403:2d00::/46", "17516"}, + {"2403:9800:7d00::/38", "4771"}, + {"240e:5:4000::/34", "17638"}, + {"2a00:f41::/30", "43447"}, + {"2a0b:b86:f8::/48", "3280"}, + {"2408:4009:501::/29", "37963"}, + {"2804:4fa0::/32", "268339"}, + {"2a07:3502:1060::/48", "33915"}, + {"2001:e48:80:1011::/46", "9583"}, + {"2409:8057:3014::/46", "56040"}, + {"2001:559:241::/48", "7725"}, + {"240e:45c:2b00::/40", "137402"}, + {"2806:2f0:24c1::/48", "22884"}, + {"2a02:4d80::/32", "8968"}, + {"2001:559:167::/48", "33652"}, + {"240a:a3eb::/32", "143653"}, + {"2a02:26f7:fbc5::/46", "20940"}, + {"2a0c:8c80::/32", "201808"}, + {"2001:67c:28e4::/48", "15370"}, + {"2001:1b48::/32", "8218"}, + {"2604:2500::/32", "19323"}, + {"2620:11c:f008::/48", "393667"}, + {"2c0f:edf8::/32", "328512"}, + {"2400:cb00:a2b0::/47", "13335"}, + {"240a:a8a6::/32", "144864"}, + {"2a01:8840:22::/45", "12041"}, + {"2a02:26f7:be05::/46", "20940"}, + {"2a0d:f280::/29", "59953"}, + {"2001:559:c2ba::/48", "7725"}, + {"2001:67c:778::/48", "50607"}, + {"2401:c680:2::/44", "133854"}, + {"2606:9a80::/32", "21769"}, + {"2606:b400:8020::/48", "1219"}, + {"2a02:1788::/32", "35838"}, + {"2a03:10c0::/30", "61044"}, + {"2001:da8:a809::/48", "23910"}, + {"2001:4430:c028::/35", "17853"}, + {"2001:44b8:6065::/48", "4739"}, + {"2409:8087:3d00::/33", "9808"}, + {"240a:afab::/32", "146661"}, + {"2800:280:4001::/48", "20940"}, + {"240e:1e:5000::/36", "140315"}, + {"2a0e:4840::/32", "33823"}, + {"2400:3240:9000::/33", "63996"}, + {"2402:ee40:10a::/32", "17754"}, + {"240a:a91e::/32", "144984"}, + {"2804:23c0::/34", "26218"}, + {"2a05:93c0::/29", "7979"}, + {"2407:a600::/36", "18004"}, + {"2607:fe28::/47", "53347"}, + {"2804:41ac::/32", "267449"}, + {"2001:559:83b0::/48", "33659"}, + {"2001:56b:500d::/36", "852"}, + {"2001:1248:59b3::/44", "11172"}, + {"2402:5300:4610::/40", "45903"}, + {"2605:a404:4b::/45", "33363"}, + {"2a0b:ff80::/29", "207980"}, + {"240a:afa6::/32", "146656"}, + {"2a03:4b40:8000::/29", "50710"}, + {"2a03:b280::/36", "29134"}, + {"2001:df0:467::/48", "131893"}, + {"240e:108:11c2::/48", "139220"}, + {"2620:149:5b1::/45", "714"}, + {"2800:bf0:3b40::/47", "52257"}, + {"2a00:f580::/32", "35819"}, + {"2001:67c:258::/48", "29067"}, + {"2401:d800:2bf0::/37", "7552"}, + {"2620:13b:a000::/44", "393657"}, + {"2a04:4e40:bc00::/48", "54113"}, + {"2620:12f:100e::/48", "396279"}, + {"2001:579:cf02::/47", "22773"}, + {"2001:678:acc::/48", "60404"}, + {"2402:6640:24::/43", "134995"}, + {"2804:7f7:c000::/34", "18881"}, + {"2a0b:4d07:259::/48", "44239"}, + {"2a10:ca80::/29", "44592"}, + {"2c0f:f1c8::/32", "37037"}, + {"2001:559:47b::/48", "7015"}, + {"240a:a981::/32", "145083"}, + {"240e:64::/32", "4134"}, + {"2804:41c0::/32", "267454"}, + {"2806:3d5::/32", "270133"}, + {"2a0e:fd45:2ba1::/33", "44103"}, + {"2a10:3600::/32", "8422"}, + {"2001:559:829a::/48", "33657"}, + {"2001:16f8:15::/48", "30870"}, + {"2604:2d80::/40", "30036"}, + {"2803:9ba0::/32", "263750"}, + {"2a10:3980::/29", "397423"}, + {"2606:b400:8824::/46", "14506"}, + {"2607:f110:e060::/39", "21889"}, + {"2804:7708:e000::/35", "271150"}, + {"2a01:7d40::/32", "8620"}, + {"2a02:26f7:ccc8::/48", "36183"}, + {"2a05:45c0::/32", "8193"}, + {"2001:559:4e3::/48", "7016"}, + {"2405:acc0::/32", "139922"}, + {"2620:129:9002::/48", "64262"}, + {"2405:201:ae00::/33", "55836"}, + {"240a:adff::/32", "146233"}, + {"2600:1401:4001::/34", "20940"}, + {"2806:230:2028::/48", "265594"}, + {"2a0f:abc0::/29", "56485"}, + {"2402:800:9971::/44", "7552"}, + {"2608:140:c::/48", "5927"}, + {"2804:5a64::/32", "268770"}, + {"2a02:26f7:e684::/48", "36183"}, + {"2001:559:c059::/48", "7922"}, + {"2600:1002:b0e0::/43", "22394"}, + {"2001:559:53e::/48", "33651"}, + {"2402:3a80:1b68::/40", "38266"}, + {"2405:ecc0::/32", "138293"}, + {"2407:b000:4012::/45", "17819"}, + {"2605:7d80::/32", "16843"}, + {"2804:5920::/32", "268170"}, + {"2001:559:4bb::/48", "33657"}, + {"240a:a9cc::/32", "145158"}, + {"2803:ad80:16::/48", "42473"}, + {"2a0a:c740:2::/48", "204170"}, + {"2001:559:8075::/48", "20214"}, + {"2603:4:1504::/48", "44273"}, + {"2804:6a14::/39", "61601"}, + {"2a00:16e8::/32", "9051"}, + {"2001:559:8136::/48", "7016"}, + {"2401:2700:3::/48", "9286"}, + {"2001:470:14f::/48", "47061"}, + {"2001:559:1ac::/48", "20214"}, + {"240e:3be:9c00::/34", "140310"}, + {"2a0e:bc40::/29", "204860"}, + {"2a0f:1e00:123::/48", "30633"}, + {"2001:1a11:84::/48", "42298"}, + {"2400:1c00:1a::/45", "45143"}, + {"2620:74:a3::/45", "11840"}, + {"2a03:3180::/44", "44453"}, + {"2402:ef2c::/31", "7633"}, + {"2602:febc::/36", "398491"}, + {"2620:10a::/44", "43"}, + {"2800:484:bf00::/40", "10620"}, + {"2a02:26f7:f1c5::/46", "20940"}, + {"2a07:4a00::/29", "50113"}, + {"2a0f:ff00:1337::/44", "213281"}, + {"2c0f:f980:2000::/33", "33763"}, + {"2001:559:48c::/48", "22909"}, + {"2001:978:2401:1::/36", "174"}, + {"2001:448a:7070::/40", "7713"}, + {"2400:9380:98c0::/44", "136167"}, + {"2a00:cb60:2::/32", "49312"}, + {"2a04:a40::/29", "50324"}, + {"240a:a18f::/32", "143049"}, + {"2804:3764:ffff::/48", "266409"}, + {"2a07:f600:4010::/48", "60591"}, + {"2a0c:bc00::/29", "205344"}, + {"2001:559:3b8::/48", "7922"}, + {"2001:df6:a380::/48", "141966"}, + {"2405:70c0::/32", "55736"}, + {"2409:8002:1800::/40", "38019"}, + {"2806:2f0:60a1::/46", "17072"}, + {"2a03:5a00:35::/48", "201717"}, + {"2406:bd00:de00::/48", "55651"}, + {"2a02:2350::/32", "51468"}, + {"2001:504:2e::/48", "10578"}, + {"2001:559:5b1::/48", "22909"}, + {"2407:1e40:fcf::/32", "141732"}, + {"2604:6680::/32", "18853"}, + {"2804:3398::/32", "265406"}, + {"2a02:21c8::/32", "35625"}, + {"2a06:c002::/32", "206766"}, + {"2001:550:1:b::/61", "174"}, + {"2001:ba8::/32", "8943"}, + {"2001:df7:6800:1182::/52", "59194"}, + {"2401:4900:1100::/41", "45609"}, + {"2a02:9d0::/32", "12617"}, + {"2001:559:c46d::/46", "7016"}, + {"2804:57f4:800::/48", "264349"}, + {"2a01:c50f:b780::/36", "12479"}, + {"2001:559:c2da::/48", "33652"}, + {"2001:67c:1968::/48", "24989"}, + {"2603:f260::/24", "397165"}, + {"2605:a401:8385::/41", "33363"}, + {"2a0b:4342:4000::/36", "57578"}, + {"2a11:cb40::/29", "204790"}, + {"2001:67c:22f8::/48", "44770"}, + {"240e:45c:7300::/40", "140532"}, + {"2a00:6140::/32", "200062"}, + {"2a04:4e42:6000::/32", "54113"}, + {"2a0d:5800::/29", "34422"}, + {"240a:aaf9::/32", "145459"}, + {"240e:397:1800::/38", "140493"}, + {"2803:3360::/32", "269794"}, + {"2a05:acc0::/29", "3212"}, + {"2a0b:bbc0:1c00::/40", "58010"}, + {"2001:da8:a80d::/37", "23910"}, + {"240a:a41b::/32", "143701"}, + {"2606:7700:1::/46", "395461"}, + {"2804:67a4:fe01::/39", "269641"}, + {"2408:8459:ae50::/35", "17816"}, + {"2606:4700:5b::/45", "13335"}, + {"2620:125:9005::/46", "397415"}, + {"2801:1c8:200::/42", "19429"}, + {"2a00:e4a0:200:100::/56", "49952"}, + {"2a0f:8340::/29", "29608"}, + {"2001:7f8:e7::/48", "34800"}, + {"2405:eb80:8000::/33", "18351"}, + {"240a:affd::/32", "146743"}, + {"2409:806a:5b00::/37", "9808"}, + {"2409:8c20::/36", "56046"}, + {"240a:acdc::/32", "145942"}, + {"2804:214:15::/33", "26615"}, + {"2804:7f88::/32", "271694"}, + {"2a01:4b40:4802::/37", "21299"}, + {"2408:870c:2060::/36", "17621"}, + {"2600:1419:d001::/37", "20940"}, + {"2a00:4380::/29", "24751"}, + {"2405:1c0:6651::/46", "55303"}, + {"240e:45c:5400::/40", "131285"}, + {"2604:a00:13::/45", "19318"}, + {"2620:117:5000::/40", "14298"}, + {"2800:160:1051::/46", "14259"}, + {"2c0f:f188:8::/32", "28683"}, + {"2001:ee0:3d0::/42", "135905"}, + {"2804:26d4::/32", "263860"}, + {"2001:250:2403::/45", "23910"}, + {"2001:49f0:d0d0::/44", "174"}, + {"2406:2400:ccef::/48", "45287"}, + {"240e:728::/24", "4134"}, + {"2803:1600::/32", "52389"}, + {"240e:44d:1400::/41", "140345"}, + {"2800:370:42::/48", "28006"}, + {"2a05:2ec0::/29", "34580"}, + {"2001:450:2016::/32", "3549"}, + {"240a:af2c::/32", "146534"}, + {"2600:1f12::/36", "8987"}, + {"2a04:4e40:12f0::/48", "54113"}, + {"2408:8256::/41", "17622"}, + {"240e:92c::/30", "4134"}, + {"2804:14fc::/32", "263363"}, + {"2a02:26f7:c9::/48", "20940"}, + {"2400:3b00::/46", "18229"}, + {"2404:bf40:c281::/41", "139084"}, + {"2409:8d5b::/29", "9808"}, + {"2600:1006:b070::/40", "22394"}, + {"2800:160:1336::/44", "14259"}, + {"2804:5260::/32", "268514"}, + {"2806:370:9050::/40", "28403"}, + {"2c0f:ea20::/32", "328526"}, + {"2408:870c:10::/44", "17621"}, + {"2a02:26f7:d6::/48", "36183"}, + {"2a04:e00:14::/46", "54103"}, + {"2001:559:c1c4::/47", "7015"}, + {"2a01:8b20::/32", "42314"}, + {"2a03:85c0:140::/48", "24989"}, + {"2001:559:7b5::/48", "7922"}, + {"2001:559:8155::/48", "33287"}, + {"2402:800:377f::/40", "7552"}, + {"2604:ae00::/46", "7029"}, + {"2001:559:8579::/48", "33491"}, + {"2a03:5a00:7::/48", "61400"}, + {"2600:140b:fc01::/29", "20940"}, + {"2600:1802:3::/45", "16552"}, + {"2804:414::/32", "262760"}, + {"2804:2a64::/32", "262644"}, + {"2001:559:498::/48", "7922"}, + {"2001:19d0:700::/32", "2044"}, + {"2001:4888:803e::/48", "6167"}, + {"2620:1ec:8f8::/45", "8068"}, + {"2804:39d8::/32", "266054"}, + {"2a03:ad00::/29", "8208"}, + {"2a07:4900::/29", "50959"}, + {"2a0d:b201:c0c0::/42", "206026"}, + {"2001:67c:274::/48", "42307"}, + {"2406:57c0:9999::/48", "134672"}, + {"2407:cbc0::/48", "140824"}, + {"2409:805c:30f1::/44", "9808"}, + {"2602:feda:b99::/46", "212995"}, + {"2804:14d:baa3::/45", "28573"}, + {"2a0d:eb00::/31", "204880"}, + {"2001:1900:5:2:2:0:c:2284/34", "3356"}, + {"2404:bf40:a181::/48", "2764"}, + {"2600:6c10:f606::/47", "20115"}, + {"2801:c4:50::/48", "28519"}, + {"2a06:1b00:108::/32", "8302"}, + {"2001:559:47c::/48", "33287"}, + {"2400:3360::/48", "140766"}, + {"2401:c280::/32", "9752"}, + {"240a:aacd::/32", "145415"}, + {"240e:908:8200::/29", "4134"}, + {"2605:5640:3000::/36", "25635"}, + {"2804:5ea0::/32", "269046"}, + {"2001:559:844f::/48", "7016"}, + {"2001:fd0:201::/39", "10029"}, + {"2401:d800:22f0::/39", "7552"}, + {"2a01:6400::/32", "21430"}, + {"2a0b:8540::/29", "205572"}, + {"2001:978:501::/38", "174"}, + {"2401:4900:5930::/40", "45609"}, + {"2600:1003:b8d0::/44", "6167"}, + {"2804:1a14::/34", "28153"}, + {"2806:263:8300::/37", "13999"}, + {"2a10:a9c0::/29", "212144"}, + {"2409:8d39::/25", "9808"}, + {"2607:fb91:be00::/28", "21928"}, + {"2610:128:9600::/33", "11686"}, + {"2804:4508::/32", "267668"}, + {"2a02:5320:700::/40", "12189"}, + {"2a0a:90c0:1051::/45", "205080"}, + {"2403:7940:fcd0::/47", "33353"}, + {"2804:1398:8000::/33", "263541"}, + {"2804:69d0::/32", "270293"}, + {"2a02:26f7:e141::/46", "20940"}, + {"2a0e:fd45:1000::/48", "207852"}, + {"2a0f:9400:780d::/43", "147028"}, + {"2001:559:38a::/48", "33287"}, + {"2401:c3c0::/32", "136972"}, + {"2804:8110::/33", "272429"}, + {"2a02:26f7:e105::/46", "20940"}, + {"2400:cb00:a410::/45", "13335"}, + {"2408:8957:4a00::/40", "17622"}, + {"2607:f5f0::/32", "5739"}, + {"2a04:4e40:610::/44", "54113"}, + {"2a10:be40:1::/48", "20799"}, + {"2803:cb00::/32", "26619"}, + {"2001:67c:164::/48", "49866"}, + {"2408:840c:c700::/40", "17621"}, + {"2801:1b:2800::/48", "270074"}, + {"2804:6490::/32", "269435"}, + {"2a02:67e0::/34", "203148"}, + {"2a03:9480::/32", "42442"}, + {"2a0d:e841::/32", "35913"}, + {"2001:67c:4ac::/48", "198692"}, + {"2600:140f:7400::/48", "9498"}, + {"2602:fbac::/36", "400523"}, + {"2001:67c:2e74::/48", "60396"}, + {"2409:8d7f::/24", "9808"}, + {"240a:a432::/32", "143724"}, + {"240e:678:2600::/32", "4134"}, + {"2605:3b00::/36", "36146"}, + {"2407:9802:f000::/29", "10139"}, + {"2409:8750:f400::/31", "56047"}, + {"2a02:26f7:cbc4::/48", "36183"}, + {"2001:da8:900d::/48", "23910"}, + {"2001:4878:a204::/48", "12222"}, + {"2403:1cc0:1101::/46", "45352"}, + {"2001:67c:12f0::/48", "12843"}, + {"2001:df0:e400::/48", "133661"}, + {"240e:438:9220::/43", "140647"}, + {"2607:ff60:5003::/34", "3900"}, + {"2804:75c::/32", "262637"}, + {"2a0f:ca83:1337::/48", "208046"}, + {"2001:da8:8032::/47", "24364"}, + {"2001:48a8:68f8::/45", "237"}, + {"240a:af1c::/32", "146518"}, + {"240e:982:e200::/40", "4816"}, + {"2a02:b70::/32", "48972"}, + {"2a03:3cc0::/29", "50596"}, + {"2001:668:121::/46", "54040"}, + {"2804:6fc:c100::/36", "28158"}, + {"2804:2d80:b00d::/33", "262378"}, + {"2a06:1287:3::/48", "135103"}, + {"2a0f:c240::/29", "21488"}, + {"2a12:b580::/29", "60135"}, + {"2001:559:4ae::/43", "7922"}, + {"2001:559:54c::/47", "21508"}, + {"2402:800:950f::/43", "7552"}, + {"2402:3a80:500::/41", "38266"}, + {"2402:e280:300::/48", "134674"}, + {"2408:8000:a017::/48", "140717"}, + {"2605:e680::/32", "30500"}, + {"2804:3774::/34", "266416"}, + {"2409:800c::/34", "56042"}, + {"240a:aee9::/32", "146467"}, + {"2600:1012:b090::/41", "22394"}, + {"2804:2e0::/32", "28233"}, + {"2804:50c8::/32", "268410"}, + {"2001:559:c3d8::/48", "7016"}, + {"2406:6e00:f03a::/48", "55517"}, + {"240e:45c:2800::/40", "131285"}, + {"2604:d600:618::/45", "32098"}, + {"2804:214:8440::/43", "26615"}, + {"2a01:190:15ef::/48", "44753"}, + {"2402:800:920f::/43", "7552"}, + {"240a:a5f9::/32", "144179"}, + {"2600:140f:2c00::/48", "9498"}, + {"2804:4ae0::/47", "267269"}, + {"2a04:4e42:4058::/35", "54113"}, + {"2001:b08:8::/48", "59714"}, + {"2406:840:f893::/48", "212034"}, + {"2806:2a0:34::/40", "28548"}, + {"2a02:830::/32", "8426"}, + {"2a04:4e40:f400::/48", "54113"}, + {"2400:cb00:427::/48", "13335"}, + {"2406:57c0:128::/47", "134672"}, + {"240a:aa02::/32", "145212"}, + {"240a:ae4f::/32", "146313"}, + {"2804:3dc0::/32", "266551"}, + {"2a00:74c0::/32", "6659"}, + {"2001:1900:236b::/45", "3356"}, + {"2402:800:53ee::/37", "7552"}, + {"2405:be00::/32", "18148"}, + {"2a02:26f7:b9a5::/46", "20940"}, + {"2401:ee00:202::/37", "23951"}, + {"2606:c0:1::/48", "18450"}, + {"2804:11a4::/32", "53243"}, + {"2a00:1370:f201::/36", "25513"}, + {"2a03:5640:f303::/37", "2906"}, + {"2a0d:3842:1270::/48", "57629"}, + {"2001:1218:6047::/44", "278"}, + {"2a02:26f7:dcc5::/46", "20940"}, + {"240a:a593::/32", "144077"}, + {"2804:1444::/32", "263322"}, + {"2a03:ad40:110::/48", "199349"}, + {"2604:f80:5::/32", "22458"}, + {"2a0c:a340::/29", "50673"}, + {"2a0e:d800::/29", "209110"}, + {"2604:880:6e::/48", "394727"}, + {"2800:110:3805::/37", "4270"}, + {"2a00:1800::/32", "57728"}, + {"2a02:ed0::/34", "47956"}, + {"2a02:2640::/32", "2119"}, + {"2a09:9740::/48", "50007"}, + {"2408:8256:3d7f::/48", "17816"}, + {"2600:1012:b0d0::/42", "6167"}, + {"2a01:6340::/29", "60404"}, + {"2a06:6940::/29", "20559"}, + {"2607:f5c0:8041::/33", "10326"}, + {"2a07:5980::/29", "204601"}, + {"2400:dcc0:a504::/38", "38631"}, + {"2804:3320::/32", "265374"}, + {"2a02:26f7:c508::/48", "36183"}, + {"2a02:26f7:db09::/46", "20940"}, + {"2604:d600:15fe::/38", "32098"}, + {"2801:17:2800::/48", "13489"}, + {"2a05:4200::/47", "21534"}, + {"2001:559:172::/48", "33662"}, + {"2001:559:c3e3::/48", "7015"}, + {"240a:a0b8::/32", "142834"}, + {"240a:a80b::/32", "144709"}, + {"2600:1488:6461::/40", "20940"}, + {"2600:9000:1156::/44", "16509"}, + {"2400:a980:2900::/37", "133111"}, + {"2600:141c:d001::/34", "20940"}, + {"2804:137c::/32", "26609"}, + {"2001:da8:3050::/48", "24358"}, + {"240a:a06e::/32", "142760"}, + {"240a:a21d::/32", "143191"}, + {"2604:af80:2448::/36", "18859"}, + {"2800:b40:10::/48", "262220"}, + {"2806:230:200d::/48", "11888"}, + {"2405:4800:101::/35", "18403"}, + {"2604:1280:1::/46", "11696"}, + {"2800:320:840e::/47", "27882"}, + {"2a01:b747:12a::/41", "714"}, + {"2a09:3b40::/29", "57773"}, + {"2408:8957:9900::/40", "17816"}, + {"2409:8914:c400::/39", "56044"}, + {"2602:fed2:7709::/48", "23470"}, + {"2401:4900:3100::/41", "45609"}, + {"240a:ab2b::/32", "145509"}, + {"2a10:e140::/32", "12779"}, + {"2001:559:c1a7::/48", "7015"}, + {"2001:678:14::/47", "42385"}, + {"2606:a000:707::/48", "11955"}, + {"2001:1be0::/32", "2686"}, + {"2401:b80::/34", "133334"}, + {"2405:2d40:1a::/32", "55695"}, + {"2803:ea60::/32", "267883"}, + {"2804:14d:5c55::/44", "28573"}, + {"2804:3538::/32", "266275"}, + {"2a00:1d58:e000::/35", "47524"}, + {"2a0a:e5c2::/32", "209898"}, + {"2001:559:85e8::/48", "33287"}, + {"2001:678:c0::/48", "51058"}, + {"2804:5a4c::/32", "268763"}, + {"2404:b1:b000::/33", "9891"}, + {"2804:a14:300b::/43", "262342"}, + {"2804:23e4::/42", "264191"}, + {"2806:217:402::/38", "28394"}, + {"2806:310:100::/42", "16960"}, + {"2001:559:85bb::/48", "33287"}, + {"240a:ab51::/32", "145547"}, + {"2804:2d60::/32", "265278"}, + {"2a02:26f7:dd89::/42", "20940"}, + {"2001:500:84::/48", "394353"}, + {"2001:1248:a900::/40", "11172"}, + {"2001:44b8:2042::/48", "4739"}, + {"2409:8028:30e1::/43", "56041"}, + {"2604:65c0::/39", "14585"}, + {"2a02:a00:1034::/34", "15987"}, + {"2a02:26f7:ba89::/42", "20940"}, + {"2a03:cd00::/32", "10310"}, + {"2001:550:b801::/38", "174"}, + {"2401:4f00::/32", "38328"}, + {"240a:a39f::/32", "143577"}, + {"2a02:cfc0::/29", "60032"}, + {"2a09:bac0:87::/44", "13335"}, + {"240e:3bb:7800::/39", "4134"}, + {"240a:ad0a::/32", "145988"}, + {"2604:d600:1071::/46", "32098"}, + {"2804:23b0::/32", "262645"}, + {"2a0e:b107:1780::/46", "210623"}, + {"2405:6e00:420::/43", "18291"}, + {"2620:17a:a::/48", "29705"}, + {"2800:bf0:8272::/45", "52257"}, + {"2a06:1287:2600::/44", "62217"}, + {"2a09:aa80::/32", "50673"}, + {"2408:8459:6850::/38", "17816"}, + {"240e:bf:b8f0::/46", "138514"}, + {"2a05:45c7::/47", "202175"}, + {"2001:559:4a9::/48", "33660"}, + {"2400:7b80::/30", "133193"}, + {"2a03:2880:f070::/47", "32934"}, + {"2a04:4e42:fd8::/42", "54113"}, + {"2a04:d9c0::/32", "20495"}, + {"2001:250:6412::/48", "23910"}, + {"2408:8756:3af0::/46", "17623"}, + {"2600:140b:dc01::/34", "20940"}, + {"2605:c840::/32", "397303"}, + {"2806:230:4027::/48", "11888"}, + {"2a06:e881:53ff::/48", "209859"}, + {"2a0c:800::/29", "207439"}, + {"2001:67c:2ffc:2e00::/56", "15440"}, + {"2402:800:3755::/42", "7552"}, + {"2408:8956:2c00::/40", "17622"}, + {"2604:4640::/32", "32625"}, + {"2607:f1c8::/32", "32890"}, + {"2804:2088::/32", "53223"}, + {"2806:230:2004::/48", "265594"}, + {"2a02:26f7:e7d1::/46", "20940"}, + {"2a11:4c40::/29", "204790"}, + {"2001:559:c274::/48", "33651"}, + {"2600:6c3a:47::/42", "20115"}, + {"2602:feb4:260::/44", "25961"}, + {"2806:2f0:9601::/46", "17072"}, + {"2a01:5b0:27::/44", "50611"}, + {"2001:559:1d8::/48", "33287"}, + {"240e:438:5e40::/34", "4134"}, + {"2806:2f0:1281::/48", "17072"}, + {"2001:4de0:6102::/48", "33438"}, + {"240e:980:2900::/40", "4134"}, + {"2602:fc0e::/40", "22630"}, + {"2804:14d:4e00::/40", "28573"}, + {"2804:133c::/32", "263523"}, + {"2804:6bd8::/35", "270429"}, + {"2806:230:2009::/48", "11888"}, + {"2a02:26f7:4c::/48", "36183"}, + {"2a11:75c0::/29", "211501"}, + {"2001:250:851::/48", "23910"}, + {"2001:67c:2bb8::/48", "35731"}, + {"2001:43f8:280::/48", "23889"}, + {"2001:44c8:4060::/43", "45430"}, + {"2600:370f:6105::/43", "32261"}, + {"2604:2e80:c06::/38", "30036"}, + {"2606:9c40::/48", "14618"}, + {"2804:1710::/32", "263120"}, + {"2a00:d1e0::/32", "12843"}, + {"2a02:2c00::/29", "203424"}, + {"2606:8900:b::/32", "33044"}, + {"2607:cc80:2000::/32", "25664"}, + {"2803:2b00:1101::/46", "52468"}, + {"2001:49f0:d0fb::/45", "174"}, + {"2600:1009:b1f0::/33", "22394"}, + {"2804:2d24:d0::/39", "263032"}, + {"2804:7848::/32", "271232"}, + {"2a00:d680::/32", "31708"}, + {"2a0f:ca85:1::/48", "207616"}, + {"2001:dc7:5d0d::/41", "24151"}, + {"2401:b840::/32", "136956"}, + {"2607:fad8::/44", "22652"}, + {"2804:5bb8:c4::/44", "268865"}, + {"2a02:26f0:80::/48", "43639"}, + {"2001:ee0:9200::/37", "45899"}, + {"2600:6c3a:819::/42", "20115"}, + {"2604:7c80::/32", "18897"}, + {"2800:170::/32", "7908"}, + {"2801:104:40::/44", "27828"}, + {"2806:230:4039::/48", "11888"}, + {"2806:2f0:12e1::/48", "17072"}, + {"2a02:3d0:7::/48", "26506"}, + {"2a0b:7a80::/29", "34856"}, + {"2a0d:d7c0::/29", "210044"}, + {"2001:559:87f7::/48", "33491"}, + {"2407:880::/32", "4594"}, + {"2408:8956:e700::/40", "17816"}, + {"2600:9000:a500::/43", "16509"}, + {"2804:21d8::/32", "264577"}, + {"2001:1250:a000::/44", "22894"}, + {"2408:8956:1240::/40", "17622"}, + {"2804:804::/32", "262338"}, + {"2a00:cee2:dcd::/31", "60268"}, + {"2c0f:ef78:5::/46", "63293"}, + {"2400:8800:1e90::/33", "3491"}, + {"2400:cb00:59::/48", "13335"}, + {"2402:e280:400::/40", "134674"}, + {"2405:201:800::/34", "55836"}, + {"2408:8000:5005::/32", "4837"}, + {"2a02:26f7:c14c::/48", "36183"}, + {"2a03:b680::/29", "211197"}, + {"2a04:4e40:2405::/40", "54113"}, + {"2604:d600:661::/44", "32098"}, + {"2a00:cb8:39::/48", "15695"}, + {"2a02:26f0:8600::/48", "34164"}, + {"2a06:1281:6::/29", "61138"}, + {"2001:253:116::/48", "142082"}, + {"240a:a45f::/32", "143769"}, + {"2804:3138:d020::/34", "265000"}, + {"2a02:9b0:400f::/42", "35819"}, + {"2001:503:231d::/48", "26415"}, + {"2401:d800:5d70::/40", "7552"}, + {"2402:800:7b20::/41", "7552"}, + {"240a:ab7a::/32", "145588"}, + {"240e:44d:6800::/42", "140345"}, + {"2602:fbf6:101::/37", "8095"}, + {"2800:bf0:2809::/43", "27947"}, + {"2806:2f0:2120::/48", "17072"}, + {"2a02:26f7:b9a4::/48", "36183"}, + {"2a02:26f7:fbc8::/48", "36183"}, + {"2a03:1ac0::/48", "41002"}, + {"2a04:4300::/48", "12703"}, + {"2a07:3c00::/29", "42093"}, + {"2001:559:48d::/48", "7922"}, + {"2600:6c20:1c::/46", "20115"}, + {"2605:83c0::/32", "33556"}, + {"2400:9380:81c0::/44", "136167"}, + {"2800:bf0:828f::/48", "52257"}, + {"2804:4658::/32", "266984"}, + {"2a0f:9400:8015::/48", "213347"}, + {"2001:470:c4::/47", "6939"}, + {"2001:da8:4006::/47", "24353"}, + {"2a05:2941::/29", "61131"}, + {"240e:438:5640::/36", "4134"}, + {"2604:fc80::/32", "33438"}, + {"2806:2f0:1320::/41", "17072"}, + {"2001:67c:1768::/48", "209859"}, + {"2001:df0:7440::/48", "131112"}, + {"2001:44b8:30cf::/48", "4739"}, + {"2600:140f:1600::/48", "9498"}, + {"2804:6e4:4000::/32", "262612"}, + {"2804:4348::/32", "267560"}, + {"2001:ce0:5::/48", "4158"}, + {"2a0f:ec81::/32", "207893"}, + {"240a:a34c::/32", "143494"}, + {"240a:a64f::/32", "144265"}, + {"2804:2d24:200::/32", "263032"}, + {"2405:6e00:2f1::/48", "65442"}, + {"2607:fea8::/32", "812"}, + {"2804:10cc::/32", "263650"}, + {"2804:1f10::/32", "2715"}, + {"2804:4488:1010::/44", "262480"}, + {"2a0b:89c0::/31", "3214"}, + {"2402:3a80:1708::/47", "38266"}, + {"2804:6308::/32", "269334"}, + {"2806:2f0:83c3::/42", "17072"}, + {"2001:559:7b8::/48", "7016"}, + {"2001:559:c341::/48", "7015"}, + {"2001:978:2202:1::/47", "174"}, + {"2402:8100:3058::/42", "55644"}, + {"2a04:d500::/32", "48618"}, + {"2a12:4940:1235::/36", "211398"}, + {"2600:5c00:1000::/34", "20001"}, + {"2602:fc49::/36", "399905"}, + {"2607:f038:4016::/44", "21527"}, + {"2806:2f0:8161::/46", "17072"}, + {"2a02:26f7:c3c4::/48", "36183"}, + {"2a02:26f7:ec00::/48", "36183"}, + {"2804:76e0::/32", "271140"}, + {"2a00:e6a0:4::/32", "12303"}, + {"2001:559:8091::/48", "7922"}, + {"2001:67c:252c::/48", "39879"}, + {"2a01:ce91::/36", "51964"}, + {"240e:982:8000::/40", "133774"}, + {"2804:3f08::/32", "266635"}, + {"2a02:26f0:a501::/38", "20940"}, + {"2001:559:84b6::/48", "33656"}, + {"2403:c00:704::/36", "17488"}, + {"240a:a012::/32", "142668"}, + {"2606:4700:83b0::/44", "13335"}, + {"2001:6d0:fffc::/48", "42385"}, + {"2001:1878:b00::/44", "5726"}, + {"2606:1a40:201b::/48", "25369"}, + {"2a0d:3440::/29", "49223"}, + {"2c0f:ece8::/32", "328386"}, + {"2600:6c20:c28::/43", "20115"}, + {"2804:1d4c::/32", "264359"}, + {"2804:5284:1000::/33", "268523"}, + {"2a02:26f7:bf4c::/48", "36183"}, + {"2001:559:8620::/48", "33650"}, + {"2001:43f8:1030::/48", "3067"}, + {"2402:7800:203::/48", "45772"}, + {"240a:ae0e::/32", "146248"}, + {"240a:af3a::/32", "146548"}, + {"2600:370f:34d1::/42", "32261"}, + {"2a05:5840::/31", "28761"}, + {"2804:65f0::/32", "269524"}, + {"2a01:7440::/32", "12739"}, + {"2a0e:6540:a192::/48", "208364"}, + {"2800:bf0:104::/43", "52257"}, + {"2804:14c:7d85::/44", "28573"}, + {"2a0b:ae47:3::/45", "40676"}, + {"2620:84:c000::/48", "30242"}, + {"2800:160:1317::/44", "14259"}, + {"2804:675c::/32", "269623"}, + {"2a0b:a907::/32", "206468"}, + {"2a0d:2100::/29", "204947"}, + {"2001:df0:266::/48", "55901"}, + {"2400:cb00:60::/47", "13335"}, + {"2409:8054:3018::/48", "9808"}, + {"2803:a200::/32", "27775"}, + {"2a01:53c0:ff13::/48", "54994"}, + {"2a02:26f7:c988::/48", "36183"}, + {"2a03:78c0::/32", "198167"}, + {"2a07:c700::/29", "50178"}, + {"2001:da8:3049::/48", "23910"}, + {"2600:1408:cc00::/48", "32787"}, + {"2606:ae80:1c10::/44", "25751"}, + {"2804:1b80::/32", "262993"}, + {"2001:df0::/48", "9431"}, + {"2408:8459:9630::/41", "17622"}, + {"2804:14d:5ce4::/43", "28573"}, + {"2a0d:1a45:2002::/33", "57782"}, + {"2001:4888:8054::/47", "6167"}, + {"2402:7d80:999a::/33", "63582"}, + {"2409:8055:300a::/43", "56040"}, + {"2604:2e8e:2c00::/35", "30036"}, + {"2a00:1cc0::/32", "20521"}, + {"2a07:a1c0::/29", "206423"}, + {"2001:559:842d::/48", "13367"}, + {"2401:1d40:3100::/47", "58466"}, + {"2405:c0:80::/48", "138881"}, + {"2602:feda:d80::/48", "142048"}, + {"2804:4914::/32", "267163"}, + {"2a04:4e40:200::/48", "54113"}, + {"2a06:e881:1702::/48", "206813"}, + {"2a0e:8f02:f02a::/48", "212577"}, + {"2001:559:8108::/48", "33491"}, + {"2804:56b8::/32", "52633"}, + {"2001:559:254::/48", "7922"}, + {"2409:8d14::/43", "56044"}, + {"2600:141b:d801::/34", "20940"}, + {"2602:fcce::/40", "399200"}, + {"2804:2514:8100::/33", "264259"}, + {"2a0e:2980:1::/48", "33984"}, + {"2a06:2ec0::/32", "206281"}, + {"2a0a:8e40::/29", "203605"}, + {"2a0f:5680:4::/32", "60906"}, + {"2001:559:c477::/48", "7015"}, + {"2405:4800:ae01::/30", "18403"}, + {"2602:fe2e::/37", "21700"}, + {"2605:3380:4445::/44", "12025"}, + {"2800:29::/29", "7908"}, + {"2a01:7a8::/48", "207701"}, + {"2001:1a11:12d::/48", "42298"}, + {"2600:1400:b001::/33", "20940"}, + {"2800:160:19ca::/45", "14259"}, + {"2a03:220::/32", "61400"}, + {"2409:8904:2da0::/38", "24547"}, + {"2607:f3a0:a007::/48", "399813"}, + {"2800:550:2b::/32", "7004"}, + {"2001:1c00::/23", "33915"}, + {"2804:2898::/32", "28305"}, + {"2a02:26f7:bdc0::/48", "36183"}, + {"2a02:26f7:ea01::/46", "20940"}, + {"2a02:26f7:f6c4::/48", "36183"}, + {"2001:750::/29", "15589"}, + {"2001:da8:ce::/48", "138374"}, + {"2607:fa40:2::/48", "6649"}, + {"2403:c00::/45", "17488"}, + {"2403:a200:a200::/39", "17428"}, + {"2604:d6c0:5000::/36", "64271"}, + {"2a03:db80:4810::/48", "60824"}, + {"2a0e:1101::/47", "51255"}, + {"2001:559:570::/48", "7922"}, + {"2604:600::/33", "40260"}, + {"2804:62f0:d102::/34", "269329"}, + {"2a00:16a0::/32", "15830"}, + {"2600:1408:1c::/48", "21342"}, + {"2607:f4a8:200d::/48", "397894"}, + {"2402:6a40:6::/48", "135718"}, + {"2604:2940::/32", "395719"}, + {"2801:80:280::/48", "28631"}, + {"2a00:9380::/32", "15557"}, + {"2a07:3500:1998::/48", "38915"}, + {"2a0f:607:1060::/47", "43126"}, + {"2001:559:c360::/48", "7016"}, + {"2604:9cc0:9::/48", "201106"}, + {"2607:fdf0:5e07::/44", "8008"}, + {"2803:e3e0::/32", "270071"}, + {"2001:559:85e4::/48", "33657"}, + {"2001:67c:2294::/48", "9052"}, + {"2001:df0:20b::/48", "38549"}, + {"2600:1406:1b::/48", "21342"}, + {"2804:5180::/32", "268456"}, + {"2804:7bf8::/32", "271466"}, + {"2a0e:1c80:5::/48", "40028"}, + {"2001:559:2f4::/46", "33287"}, + {"2001:578:d00::/41", "22773"}, + {"240a:ab2a::/32", "145508"}, + {"2607:fd48:0:3::/39", "13536"}, + {"2804:1368:fb00::/37", "262808"}, + {"2804:61c0:9000::/36", "269254"}, + {"2001:400:6440:105::/47", "293"}, + {"2001:400:8823::/48", "291"}, + {"2001:43f8:70::/45", "36982"}, + {"2401:d800:5790::/42", "7552"}, + {"240a:a66c::/32", "144294"}, + {"240a:a6eb::/32", "144421"}, + {"2804:7ebc::/32", "271644"}, + {"2a01:41e3::/32", "62336"}, + {"2a0e:9900::/29", "56598"}, + {"2604:2d80:4000::/34", "30036"}, + {"2604:4340::/32", "32647"}, + {"2800:d302:18::/45", "11830"}, + {"2804:f24::/32", "263567"}, + {"2804:5f24::/32", "269079"}, + {"2a0e:fd45:1::/48", "61409"}, + {"2001:559:870d::/48", "33650"}, + {"2403:5340::/32", "137639"}, + {"2406:840:9992::/47", "210320"}, + {"2406:840:e509::/48", "211571"}, + {"2406:9a80:311::/48", "206704"}, + {"2408:8756:a00::/40", "136958"}, + {"240a:a386::/32", "143552"}, + {"240a:ab3a::/32", "145524"}, + {"2a02:26f7:c341::/45", "20940"}, + {"2406:840:fef7::/48", "132623"}, + {"240a:a0cd::/32", "142855"}, + {"2804:2140:1802::/32", "53059"}, + {"2a02:f18::/32", "15879"}, + {"2a04:6400::/35", "62240"}, + {"2001:4268:700::/35", "15964"}, + {"2001:4490:3a00::/42", "9829"}, + {"2400:b480::/32", "131589"}, + {"240a:a220::/32", "143194"}, + {"240e:fc::/33", "136200"}, + {"240e:108:11d9::/45", "4134"}, + {"2a0c:a9c7:241::/48", "42728"}, + {"2401:d800:56b0::/41", "7552"}, + {"2001:559:816d::/48", "33657"}, + {"2402:f280::/32", "4851"}, + {"2409:897d::/30", "9808"}, + {"2a02:ac80:5001::/34", "25145"}, + {"240a:a216::/32", "143184"}, + {"2600:6c7f:9030::/48", "20115"}, + {"2604:d2c0::/32", "12131"}, + {"2a02:26f7:b68c::/48", "36183"}, + {"2a05:9cc7::/32", "2116"}, + {"2001:9e8:2180::/35", "8881"}, + {"2804:46f8:8000::/34", "267023"}, + {"2a02:26f7:c391::/42", "20940"}, + {"2801:116::/48", "271827"}, + {"2a06:1e00:30::/48", "60695"}, + {"2a07:180::/32", "209242"}, + {"2001:1248:a9a1::/38", "11172"}, + {"2620:10a:a002::/40", "16920"}, + {"2a02:8388::/31", "8412"}, + {"2001:559:8346::/48", "33287"}, + {"2001:4490:d000::/46", "9829"}, + {"2620:100:5007::/48", "29889"}, + {"2a02:26f7:f6fa::/47", "20940"}, + {"2a02:27d0:101::/32", "49463"}, + {"2001:559:455::/48", "7016"}, + {"2001:559:80d4::/48", "7016"}, + {"2408:84f3:4440::/38", "17816"}, + {"240a:a65f::/32", "144281"}, + {"2600:1480:7001::/37", "20940"}, + {"2a00:14d0::/32", "8331"}, + {"2400:9bc0:4::/32", "55313"}, + {"2a02:26f7:e7c4::/48", "36183"}, + {"2408:8256:2d80::/44", "17623"}, + {"240a:ac61::/32", "145819"}, + {"2605:3380:4120::/45", "12025"}, + {"2803:4600:2000::/32", "14754"}, + {"2a0c:b642:1030::/44", "210020"}, + {"2001:470:ef::/48", "6939"}, + {"2600:140b:2801::/38", "20940"}, + {"2800:484:e700::/36", "10620"}, + {"2804:b14::/32", "52937"}, + {"2804:c48:8000::/36", "52687"}, + {"2a01:5041:6000::/48", "202196"}, + {"2a02:26f7:a2::/48", "36183"}, + {"2a02:ea80::/32", "52195"}, + {"2c0f:eae0::/32", "37521"}, + {"2400:6280:11b::/48", "135381"}, + {"2804:5338::/32", "268570"}, + {"2405:1c0:7a81::/48", "55303"}, + {"2a02:26f7:ef01::/46", "20940"}, + {"2a03:5640:f302::/48", "16509"}, + {"2a03:d1c0::/32", "41690"}, + {"2402:800:b100::/42", "7552"}, + {"2800:bf0:a415::/38", "27947"}, + {"2c0f:eb00:b00::/37", "61266"}, + {"2402:ef17::/33", "7633"}, + {"2604:4e00:4100::/35", "25764"}, + {"2806:2f0:4501::/46", "17072"}, + {"2a07:3502:1090::/48", "38915"}, + {"2a0f:9400:7382::/48", "53356"}, + {"2a06:e881:6602::/47", "208872"}, + {"2a0b:c480::/32", "206374"}, + {"2804:3e4::/32", "262404"}, + {"2a06:61c0::/29", "56329"}, + {"2a0f:4400::/29", "48305"}, + {"2001:559:59e::/48", "7725"}, + {"2406:5140::/32", "135404"}, + {"2408:8456:4210::/42", "134543"}, + {"2602:fcf6:ffa::/48", "212528"}, + {"2a01:c50f:4600::/41", "12479"}, + {"2405:ec00:facf::/37", "23955"}, + {"240a:a003::/32", "142653"}, + {"2801:1e:d000::/48", "265652"}, + {"2001:559:c49b::/48", "7922"}, + {"240a:a281::/32", "143291"}, + {"240e:3b2:9c00::/34", "140310"}, + {"240e:3b3:1200::/39", "4134"}, + {"2604:76c0::/32", "36103"}, + {"2804:4ad4::/32", "267266"}, + {"2806:230:500b::/48", "11888"}, + {"2a02:26f7:c38c::/48", "36183"}, + {"2a02:26f7:db80::/48", "36183"}, + {"2a06:3c80::/29", "197648"}, + {"240a:afad::/32", "146663"}, + {"2600:1413:e001::/29", "20940"}, + {"2a02:26f7:f7cd::/46", "20940"}, + {"2a03:1980:d0ff::/48", "48260"}, + {"2a0f:6500:3000::/32", "208183"}, + {"2c0f:fc89:4001::/32", "36992"}, + {"2602:808:2000::/47", "398946"}, + {"2804:6194::/32", "269243"}, + {"2804:81a0::/32", "272466"}, + {"2a06:d647::/32", "35048"}, + {"2c0f:f738:2005::/38", "61317"}, + {"2001:c20:c839::/48", "9255"}, + {"2402:e300:4::/32", "131706"}, + {"2600:1406:5401::/36", "20940"}, + {"2804:3a1c::/32", "266071"}, + {"2a04:5201:6::/47", "200740"}, + {"2a12:9fc0::/29", "400522"}, + {"2001:da8:223::/48", "23910"}, + {"2400:9380:90a0::/47", "4809"}, + {"2405:201:a600::/36", "55836"}, + {"2408:8459:4610::/42", "17623"}, + {"240a:aa3e::/32", "145272"}, + {"2a09:bac0:253::/48", "13335"}, + {"2409:8924:b300::/37", "56046"}, + {"240a:ae4b::/32", "146309"}, + {"2600:6c10:14b::/45", "20115"}, + {"2a02:26f7:c649::/46", "20940"}, + {"2001:da8:21f::/48", "24348"}, + {"240a:a51b::/32", "143957"}, + {"2600:6c26::/28", "20115"}, + {"2a02:26f7:bb06::/47", "20940"}, + {"2001:559:745::/48", "33287"}, + {"2402:d700::/32", "37906"}, + {"240a:a447::/32", "143745"}, + {"240e:95d:1800::/37", "136194"}, + {"2a0a:2845:d20::/46", "136796"}, + {"2001:559:8589::/46", "7922"}, + {"2400:1020:10::/32", "45276"}, + {"2408:8459:b450::/38", "17816"}, + {"2a02:2e0:3e0::/43", "12306"}, + {"2a03:ec00:b100::/40", "24921"}, + {"2a10:1800:1::/46", "207463"}, + {"2409:8914:1100::/38", "56044"}, + {"2409:8c3c:ffff::/48", "9808"}, + {"240a:afe1::/32", "146715"}, + {"2603:90fc:10::/44", "20115"}, + {"2806:2f0:2080::/48", "17072"}, + {"2001:250:20a::/48", "24351"}, + {"2400:e800:1000::/36", "17564"}, + {"2402:800:5ba9::/41", "7552"}, + {"240a:a88a::/32", "144836"}, + {"2602:ffb0:30::/48", "13213"}, + {"2605:dd40:8223::/41", "398549"}, + {"2607:6000:500::/40", "12189"}, + {"2408:8459:a230::/41", "17622"}, + {"2606:4a00:1200::/32", "33154"}, + {"2804:d7c::/39", "52634"}, + {"2804:1674:c::/42", "53231"}, + {"2a02:27b8:1::/48", "49278"}, + {"2001:820::/32", "16186"}, + {"2001:43f8:14d0::/48", "328700"}, + {"2408:8256:3d80::/44", "17623"}, + {"2605:a680::/32", "174"}, + {"2620:0:e00::/47", "38"}, + {"2803:1a00:501d::/38", "262186"}, + {"2a02:ee80:41ee::/47", "3573"}, + {"2001:250:6419::/48", "23910"}, + {"2001:ee0:de00::/40", "45899"}, + {"2600:380:f103::/48", "64011"}, + {"2604:b140::/32", "40918"}, + {"2804:c88::/32", "263466"}, + {"2001:559:36e::/48", "33489"}, + {"240c:ca07::/32", "138371"}, + {"2604:1f40::/32", "33038"}, + {"2a00:1310::/32", "25181"}, + {"2a02:26f7:f84d::/46", "20940"}, + {"2001:559:c4a5::/46", "7922"}, + {"2401:3c00:180::/42", "38322"}, + {"2401:d800:750::/42", "7552"}, + {"240a:af42::/32", "146556"}, + {"2a0f:5707:af01::/46", "211358"}, + {"2001:678:12::/48", "197440"}, + {"2401:d800:f380::/42", "7552"}, + {"2602:fddb:804::/37", "397460"}, + {"2606:6d00::/39", "1403"}, + {"2610:a1:1003::/45", "397228"}, + {"2620:78:200f::/48", "209242"}, + {"2801:1c6::/44", "19429"}, + {"2a00:6901:5::/48", "20926"}, + {"2a09:e100::/29", "209834"}, + {"2c0f:f920::/32", "37550"}, + {"2001:1848::/32", "6325"}, + {"2804:46f8::/34", "267023"}, + {"2402:e380:320::/48", "142165"}, + {"240a:aff5::/32", "146735"}, + {"2a10:4646:1a0::/44", "206569"}, + {"2a12:7240::/29", "400522"}, + {"2409:877f::/20", "9808"}, + {"2606:5200:d000::/34", "32477"}, + {"2a02:26f7:b6::/48", "36183"}, + {"2a0b:1306:b::/48", "133142"}, + {"2600:1406:8001::/37", "20940"}, + {"2a06:f700::/29", "208332"}, + {"2a09:a780::/29", "397270"}, + {"2409:8c70:3a90::/44", "140105"}, + {"2a02:a00:4000::/32", "15987"}, + {"2001:559:c1a9::/48", "7725"}, + {"2403:1cc0:1000::/47", "45352"}, + {"2605:a404:b1a::/42", "33363"}, + {"2804:10a0:21c::/42", "28173"}, + {"2804:84fc:1900::/32", "272550"}, + {"2a07:9b40:1aa5::/48", "39702"}, + {"2a0e:b107:468::/45", "57883"}, + {"2001:448a:4010::/42", "7713"}, + {"2406:f400:100::/44", "38001"}, + {"2408:8406:3c00::/39", "4808"}, + {"2804:1064::/32", "263633"}, + {"240e:870:10::/42", "4134"}, + {"2620:11f:100c::/48", "7385"}, + {"2a02:26f7:f6f5::/46", "20940"}, + {"2a02:7b03::/36", "48328"}, + {"2406:2000:1ac::/46", "56173"}, + {"240a:a6e1::/32", "144411"}, + {"2804:49d4::/32", "52631"}, + {"240a:ae8c::/32", "146374"}, + {"2605:b9c0:4000::/34", "398804"}, + {"2804:14c:5be4::/43", "28573"}, + {"2804:2160::/36", "264551"}, + {"2804:271c::/32", "263877"}, + {"2600:140b:4::/48", "20940"}, + {"2600:1419:7400::/48", "35204"}, + {"2804:496c::/32", "267183"}, + {"2600:380:f880::/39", "20057"}, + {"2803:760:1900::/33", "269816"}, + {"2806:2f0:8003::/42", "17072"}, + {"2a00:1fa1::/33", "29497"}, + {"2a02:26f7:85::/48", "20940"}, + {"2a06:8dc6::/44", "57878"}, + {"2001:438:3a::/41", "6461"}, + {"2001:1248:961f::/41", "11172"}, + {"2404:bf40:a682::/41", "139084"}, + {"2607:f738:a00::/39", "17184"}, + {"2a00:dd8:2::/32", "31012"}, + {"2404:4280::/32", "18106"}, + {"2404:a500::/48", "45854"}, + {"2406:840:feed::/48", "209306"}, + {"2409:8924:3900::/38", "56046"}, + {"2604:c140::/32", "394740"}, + {"2a02:3b8::/32", "16371"}, + {"240e:428::/27", "4134"}, + {"2600:6c2e:584::/38", "20115"}, + {"2602:ffc5:109::/48", "7489"}, + {"2a07:580::/29", "31263"}, + {"2a0f:9980:195::/48", "40676"}, + {"2001:559:4b5::/48", "33650"}, + {"2001:978:2300:202::/47", "174"}, + {"2404:bf40:8681::/48", "7545"}, + {"2409:8020:10c1::/43", "56046"}, + {"2a02:1698::/32", "51127"}, + {"240e:267:2000::/38", "140330"}, + {"2a02:26f7:d74c::/48", "36183"}, + {"2a02:26f7:db84::/48", "36183"}, + {"2a02:5080::/32", "51825"}, + {"2a06:e881:1708::/48", "49745"}, + {"2a0b:ccc0::/29", "41306"}, + {"2001:4328::/32", "30844"}, + {"240a:aadd::/32", "145431"}, + {"2620:b3::/48", "2914"}, + {"2a02:26f0:a901::/38", "20940"}, + {"2001:250:7025::/46", "23910"}, + {"2001:da8:200a::/43", "24357"}, + {"2600:6c10:e49::/45", "20115"}, + {"2406:e001:7800::/32", "23655"}, + {"240a:a8a2::/32", "144860"}, + {"240e:967:8800::/38", "133775"}, + {"2804:1748::/32", "263133"}, + {"2a0a:ec02:701::/48", "42692"}, + {"2001:250:236::/47", "24349"}, + {"2600:140b:2401::/38", "20940"}, + {"2a09:3d01::/30", "208861"}, + {"2402:9d80:a61::/43", "131429"}, + {"2600:1009:a020::/40", "22394"}, + {"2804:218:7003::/32", "27715"}, + {"2804:7f70::/32", "271688"}, + {"2806:230:1029::/48", "11888"}, + {"2806:30f::/48", "265561"}, + {"2a06:2300::/29", "29458"}, + {"240a:a198::/32", "143058"}, + {"2801:140:121::/45", "262249"}, + {"2803:3380:f000::/36", "27818"}, + {"2804:6638::/32", "269542"}, + {"2a04:45c0::/29", "60717"}, + {"2402:6880:1000::/48", "63989"}, + {"2405:e340::/32", "137067"}, + {"240a:a721::/32", "144475"}, + {"2604:d600:1533::/44", "32098"}, + {"2a11:3c01::/32", "43624"}, + {"2c0f:e8f8:2000::/40", "36868"}, + {"2600:1009:b000::/41", "6167"}, + {"2605:67c0::/32", "397911"}, + {"2605:93c0::/32", "19413"}, + {"2804:41a0::/34", "267446"}, + {"2a01:5043:3::/48", "202196"}, + {"2a01:9380::/32", "43638"}, + {"2400:ae00:1981::/48", "38367"}, + {"2404:6800::/33", "15169"}, + {"240a:a951::/32", "145035"}, + {"2804:3d88::/32", "266537"}, + {"2a05:fb46::/32", "59504"}, + {"2001:4998:ef5e::/48", "7233"}, + {"2408:8456:cd40::/40", "17816"}, + {"2a0c:9a40:8083::/48", "49367"}, + {"2603:9031::/40", "33363"}, + {"2804:51b4:7100::/32", "268471"}, + {"2001:559:457::/48", "33651"}, + {"2001:6d0:ffd1::/46", "21416"}, + {"2405:4803:c1c::/41", "18403"}, + {"2408:8026:4b0::/39", "17621"}, + {"2604:8880::/32", "8304"}, + {"2605:d8c0::/32", "3367"}, + {"2607:fe28:1040::/34", "53347"}, + {"2803:6900:507::/48", "52423"}, + {"2804:d0c:8040::/42", "53112"}, + {"2804:1918:380::/32", "52862"}, + {"2604:2d00::/36", "64236"}, + {"2604:6840:1200::/36", "33438"}, + {"2804:5284:d000::/48", "268523"}, + {"2a00:8740:2b::/45", "49037"}, + {"2a02:568:fe01::/48", "8763"}, + {"2a02:2378::/32", "15895"}, + {"2a0f:9980:598::/48", "40676"}, + {"2001:16a2:c400::/36", "25019"}, + {"2402:800:97d3::/44", "7552"}, + {"2405:1c0:6711::/45", "55303"}, + {"2405:ac80::/32", "135524"}, + {"240a:af5a::/32", "146580"}, + {"2600:1001:9000::/44", "6167"}, + {"2804:76f4::/32", "271145"}, + {"2a00:7100::/32", "8311"}, + {"2a0e:c147::/32", "16262"}, + {"2409:8018:4000::/32", "9808"}, + {"2800:160:16ac::/41", "14259"}, + {"2a05:d000:6000::/40", "16509"}, + {"2604:2b40::/32", "46262"}, + {"2a01:8840:89::/48", "207266"}, + {"2a07:dc00:2550::/44", "29997"}, + {"2001:559:56c::/48", "22909"}, + {"2400:65c0::/32", "132774"}, + {"2804:6dc::/32", "7048"}, + {"2804:7fa0::/32", "271699"}, + {"2a03:5840:10a::/48", "213073"}, + {"2404:6b00::/32", "58640"}, + {"2604:ee80::/32", "7276"}, + {"2606:a000:1700::/40", "11955"}, + {"2a0a:9b80::/32", "200665"}, + {"2a0d:aa00::/29", "49362"}, + {"2001:559:7ce::/48", "7016"}, + {"2001:559:86ab::/45", "7922"}, + {"240e:7b0::/36", "140310"}, + {"2800:160:1c02::/45", "14259"}, + {"2a01:e10::/30", "29447"}, + {"2a01:c50f:1200::/37", "12479"}, + {"2a03:93e0::/35", "203228"}, + {"2409:8754:c000::/37", "56040"}, + {"2607:f060::/36", "11404"}, + {"2804:17cc::/33", "263252"}, + {"2a02:2ad0:520::/38", "702"}, + {"2a10:2f00:13f::/48", "212996"}, + {"2001:559:8197::/48", "33656"}, + {"2401:d800:d0a0::/41", "7552"}, + {"2404:1a0::/35", "24334"}, + {"240a:a13e::/32", "142968"}, + {"2a01:238:500::/29", "6724"}, + {"2a09:3::/48", "3258"}, + {"2a0a:1182::/32", "39122"}, + {"2620:0:610::/48", "4185"}, + {"2001:67c:168::/48", "12350"}, + {"2001:4878:c246::/48", "12222"}, + {"240a:a0ad::/32", "142823"}, + {"240a:a50a::/32", "143940"}, + {"2607:fdf8::/40", "13649"}, + {"2804:358c::/32", "266293"}, + {"2a00:1e6a:78::/32", "49373"}, + {"2001:fd8:b2c0::/42", "132199"}, + {"2403:9800:c050::/42", "4648"}, + {"2600:6ce0::/29", "16787"}, + {"2602:80c:1000::/48", "400013"}, + {"2a03:2880:f25f::/42", "32934"}, + {"2001:503:5ae2::/48", "7342"}, + {"2001:559:750::/48", "7015"}, + {"240a:aaf4::/32", "145454"}, + {"240a:ab20::/32", "145498"}, + {"2600:370f:75a8::/47", "32261"}, + {"2a02:888:4043::/48", "47794"}, + {"2a02:26f7:f6dc::/48", "36183"}, + {"2402:800:5801::/44", "7552"}, + {"240a:a3b2::/32", "143596"}, + {"2600:6c20:803::/45", "20115"}, + {"2a00:4b00:22d::/48", "136772"}, + {"2a06:eb40::/29", "205115"}, + {"2a10:ccc0::/48", "56755"}, + {"2001:2c0::/32", "2514"}, + {"2001:550:103::/45", "174"}, + {"2407:cdc0:e011::/48", "38136"}, + {"2001:67c:2524::/48", "20626"}, + {"2001:1a68:2a::/48", "206838"}, + {"240a:ac56::/32", "145808"}, + {"240a:af70::/32", "146602"}, + {"2604:98c0::/32", "23379"}, + {"2804:3d80::/32", "266535"}, + {"2408:8456:cd00::/42", "17622"}, + {"2001:253:115::/48", "142081"}, + {"2405:9800:9801::/48", "45430"}, + {"2408:8459:5c30::/41", "17622"}, + {"240e:438:1040::/38", "4134"}, + {"2603:c0ed::/36", "54253"}, + {"2804:5e4::/32", "262548"}, + {"2400:8b00:e80::/42", "45727"}, + {"2400:d400:9897::/44", "45671"}, + {"240a:ad90::/32", "146122"}, + {"2804:182c::/32", "52845"}, + {"2a05:fb45::/32", "208861"}, + {"2001:559:2ac::/48", "33651"}, + {"2001:559:87d1::/48", "7015"}, + {"240e:640:8e00::/40", "136197"}, + {"2a06:5780::/29", "56457"}, + {"2001:559:c244::/48", "33652"}, + {"2001:df4:1700::/48", "137084"}, + {"2401:d800:f90::/42", "7552"}, + {"2402:5840:6::/32", "137403"}, + {"2403:a280:1000::/48", "64087"}, + {"2404:4a00:3::/64", "55423"}, + {"240e:438:8440::/38", "4134"}, + {"2806:230:2047::/48", "11888"}, + {"2001:67c:1490::/48", "3301"}, + {"2409:8087:5000::/43", "56047"}, + {"240e:983:1400::/47", "134768"}, + {"2804:f40::/32", "263573"}, + {"2804:1d80::/36", "264374"}, + {"2a01:8840:9a::/45", "12041"}, + {"2a02:2498:55::/48", "13213"}, + {"2001:559:56e::/48", "7015"}, + {"2001:559:83e6::/48", "7015"}, + {"2001:888::/29", "3265"}, + {"2605:a404:15f::/42", "33363"}, + {"2804:bd8::/33", "52838"}, + {"2804:1980::/32", "61798"}, + {"2a01:32::/29", "8875"}, + {"2a01:8840:ae::/43", "12041"}, + {"2001:b18:1018::/47", "47787"}, + {"2401:9800::/32", "23930"}, + {"2620:2:6000::/48", "395409"}, + {"2804:1ca0::/38", "61666"}, + {"2804:5aa4::/32", "268786"}, + {"2804:6de8::/32", "270563"}, + {"2804:8578::/32", "272581"}, + {"2001:550:7708::/48", "25829"}, + {"2001:559:1c0::/47", "33651"}, + {"2600:3404:500::/28", "4181"}, + {"2620:154:a08::/48", "16733"}, + {"2001:559:5cc::/48", "33491"}, + {"2600:6c4e::/32", "20115"}, + {"2620:52:3::/48", "17314"}, + {"2804:70dc::/32", "270752"}, + {"2a01:54e0:ec00::/35", "31483"}, + {"2a03:24e0::/48", "15623"}, + {"2a04:d480:3c00::/38", "25291"}, + {"2c0e:40:501::/23", "24863"}, + {"2001:250:835::/44", "138182"}, + {"2620:134:6008::/47", "30031"}, + {"2803:2180:15::/46", "27941"}, + {"2803:d700:d000::/34", "61461"}, + {"2804:d18::/32", "52599"}, + {"240e:104:7d00::/38", "4134"}, + {"2620:111:d005::/48", "32908"}, + {"2804:7fb8::/32", "271705"}, + {"2a02:26f7:f6ee::/47", "20940"}, + {"2a03:37e0::/32", "197898"}, + {"2409:8914:a200::/39", "56044"}, + {"2804:770::/32", "262649"}, + {"2a01:5040:2021::/36", "43996"}, + {"2a02:26f7:c801::/46", "20940"}, + {"2a0d:4a00::/32", "29148"}, + {"2a11:e600::/29", "42929"}, + {"2a02:730:5000::/48", "49857"}, + {"2001:678:88::/48", "44358"}, + {"2001:12f0:340::/37", "1916"}, + {"2001:1900:2364::/48", "202818"}, + {"2402:800:9771::/44", "7552"}, + {"240a:a18e::/32", "143048"}, + {"2606:2800:5a40::/47", "15133"}, + {"2a02:26f7:ea8d::/46", "20940"}, + {"240e:44d:2180::/41", "4134"}, + {"240e:967:9400::/38", "133776"}, + {"2606:ae00:6080::/39", "7287"}, + {"2a02:26f7:db8c::/48", "36183"}, + {"2a0f:80::/32", "24796"}, + {"2001:b10:a000::/44", "196844"}, + {"2001:5002:300:1::/64", "6461"}, + {"2402:5300:4040::/39", "45903"}, + {"2408:84f3:b240::/37", "17816"}, + {"2803:ba0::/46", "267756"}, + {"2a02:26f7:f9c8::/48", "36183"}, + {"2001:559:73b::/48", "7015"}, + {"2402:800:75b0::/41", "7552"}, + {"240a:ad46::/32", "146048"}, + {"240a:af71::/32", "146603"}, + {"2607:f4a0:501::/33", "11272"}, + {"2a04:3c0::/29", "57099"}, + {"2001:559:8279::/48", "7015"}, + {"2001:67c:2a34::/48", "58346"}, + {"2804:14c:bb8f::/43", "28573"}, + {"2a00:1ab8::/32", "29422"}, + {"2a03:7a00::/32", "42908"}, + {"240a:acc5::/32", "145919"}, + {"2804:d20::/32", "262700"}, + {"2804:145c:c040::/38", "263327"}, + {"2a00:5100::/32", "35046"}, + {"2001:df7:d980::/48", "148968"}, + {"2406:c940::/32", "58972"}, + {"2804:37a8:121e::/48", "263919"}, + {"2806:230:6029::/48", "11888"}, + {"2a01:b760::/32", "204281"}, + {"2a02:23b8::/32", "25003"}, + {"2a0e:b100:106::/44", "207556"}, + {"2001:559:8530::/48", "33650"}, + {"2001:678:b94::/48", "34601"}, + {"2a0f:4440:aaaa::/48", "50937"}, + {"2001:4d78:fe20::/46", "15830"}, + {"240a:a60b::/32", "144197"}, + {"2605:6340::/32", "40033"}, + {"2620:171:20::/46", "715"}, + {"2806:104e:13::/42", "8151"}, + {"2a02:600::/29", "31263"}, + {"2a02:26f7:ddc1::/46", "20940"}, + {"2001:1248:5fd4::/42", "11172"}, + {"240e:13:800::/48", "140852"}, + {"240e:44d:6640::/42", "140348"}, + {"2606:f40::/48", "14618"}, + {"2804:4328::/32", "267552"}, + {"2804:4350::/32", "267562"}, + {"2a04:b700:185a::/48", "201405"}, + {"2400:6080::/32", "56030"}, + {"2401:d800:ba00::/42", "7552"}, + {"2403:9800:c400::/34", "4648"}, + {"2405:1207::/32", "9824"}, + {"2604:cac0:112::/48", "11019"}, + {"2804:5f90::/32", "269109"}, + {"2a01:d0:1658::/32", "29632"}, + {"2a01:6280::/32", "30900"}, + {"2001:559:c211::/48", "33650"}, + {"2409:8a55:c800::/34", "9808"}, + {"2605:3380:4440::/46", "12025"}, + {"2806:2f0:1043::/42", "22884"}, + {"2a03:8600:7::/32", "3399"}, + {"2a05:df40::/29", "9186"}, + {"2001:559:46::/48", "7922"}, + {"2404:bc80:1::/48", "64072"}, + {"240a:a897::/32", "144849"}, + {"2800:2a0:3801::/33", "27947"}, + {"2404:bf40:e404::/38", "139084"}, + {"2604:6d00:1::/48", "36223"}, + {"2803:3660::/32", "267905"}, + {"2a0d:5480::/29", "49024"}, + {"2001:579:40fc::/46", "22773"}, + {"2600:1403:8401::/36", "20940"}, + {"2607:f9d0:700::/36", "11979"}, + {"2a0d:9f40::/29", "204326"}, + {"2a10:aac0::/29", "211666"}, + {"2001:678:3a8::/48", "34309"}, + {"240a:a0d1::/32", "142859"}, + {"2804:14d:1491::/41", "28573"}, + {"2a00:fc8::/32", "34863"}, + {"2a03:1f80::/32", "57188"}, + {"2a04:2600::/29", "60924"}, + {"2001:550:7704::/48", "394346"}, + {"240e:3be:f700::/36", "4134"}, + {"2600:1419:8000::/48", "4230"}, + {"2803:23c0::/32", "52444"}, + {"2a00:9801:e002::/35", "51178"}, + {"2a01:b3c0::/32", "59647"}, + {"2a03:90c0:420::/41", "199524"}, + {"2a0b:52c0:8000::/33", "205691"}, + {"2001:67c:281c::/48", "198692"}, + {"2600:1002:b1d0::/44", "6167"}, + {"2602:fe12:1::/44", "62707"}, + {"2804:1b40:9000::/33", "28255"}, + {"2a01:8b80::/29", "8821"}, + {"2a02:9000::/28", "3352"}, + {"2001:559:c2c2::/48", "13367"}, + {"2804:13d0:9ac0::/33", "263297"}, + {"2001:559:84c1::/48", "33489"}, + {"2408::/22", "9595"}, + {"2605:a401:80c1::/45", "33363"}, + {"2804:73bc:700::/40", "270934"}, + {"2a00:a7a0:1000::/48", "62243"}, + {"2409:801d:2906::/32", "132525"}, + {"2800:22::/32", "7908"}, + {"2600:6c38:e1::/46", "20115"}, + {"2001:559:c317::/48", "33652"}, + {"2409:805c:3::/45", "9808"}, + {"2600:100a:b0d0::/44", "6167"}, + {"2804:2fc4:ff1a::/45", "264911"}, + {"2a03:d280::/32", "197133"}, + {"2409:8052:2c00::/38", "9808"}, + {"240a:a42f::/32", "143721"}, + {"2620:72::/48", "10359"}, + {"2803:d100:e480::/38", "52362"}, + {"2a11:e487:42::/48", "212568"}, + {"2804:844c::/32", "272252"}, + {"2806:2f0:9c01::/46", "17072"}, + {"2a00:1158:2::/47", "34011"}, + {"2400:fc00:8160::/40", "45773"}, + {"240e:44d:1780::/41", "4134"}, + {"2804:2350::/32", "264155"}, + {"2a02:2370:200::/46", "32787"}, + {"2a02:26f7:e514::/48", "36183"}, + {"2a09:e201::/48", "208422"}, + {"2001:550:c06::/39", "174"}, + {"2407:3a80::/32", "133045"}, + {"2602:ffb8::/36", "14469"}, + {"2a03:8040::/32", "60551"}, + {"2a0f:9441:41::/48", "209808"}, + {"2001:da8:9011::/48", "23910"}, + {"2403:2140::/32", "9751"}, + {"240a:adba::/32", "146164"}, + {"2604:8dc0:100::/40", "40474"}, + {"2a00:cac0::/32", "39555"}, + {"2404:bf40:c005::/42", "139084"}, + {"2800:200:e801::/41", "12252"}, + {"2a02:26f7:e8cd::/46", "20940"}, + {"2408:8456:8440::/39", "17816"}, + {"2409:8924:bd00::/38", "56046"}, + {"2806:250:5f1::/44", "28509"}, + {"2a02:26f7:c688::/48", "36183"}, + {"2c0f:ec60::/32", "37282"}, + {"2001:559:c512::/48", "33659"}, + {"2804:2e18::/32", "265323"}, + {"2607:fe90::/33", "19237"}, + {"2800:484:bb00::/40", "10620"}, + {"2804:3fdc::/32", "265920"}, + {"2a0b:d100::/29", "206828"}, + {"2408:8956:b700::/40", "17816"}, + {"240a:a1f9::/32", "143155"}, + {"2604:ca00:100::/45", "36492"}, + {"2a01:53c0:fff4::/44", "54994"}, + {"2001:67c:2b28::/48", "39489"}, + {"2001:43d0::/32", "37061"}, + {"2404:f4c0:800::/40", "32167"}, + {"2a00:1ec0:2::/48", "5425"}, + {"2a0e:1c40:2000::/48", "208635"}, + {"2409:8b1a::/29", "132525"}, + {"2803:8d43::/32", "52262"}, + {"2804:296c::/32", "264014"}, + {"2001:253:131::/48", "142097"}, + {"2001:678:26c::/48", "41062"}, + {"2401:c400:1000::/48", "45785"}, + {"2603:fa90::/25", "397165"}, + {"2a00:f400::/32", "28931"}, + {"2a06:e6c0::/29", "203143"}, + {"2401:e80::/32", "38293"}, + {"240a:a9be::/32", "145144"}, + {"2804:14c:d482::/48", "28573"}, + {"2001:678:d90::/48", "213092"}, + {"2605:3380:4462::/44", "12025"}, + {"2806:230:6028::/48", "265594"}, + {"2001:4878:4136::/48", "12222"}, + {"2402:800:5363::/43", "7552"}, + {"2804:235c::/32", "52747"}, + {"2a02:38:1112::/32", "6881"}, + {"2a02:ee80:42ce::/43", "3573"}, + {"2401:d800:d20::/41", "7552"}, + {"2402:3a80:c00a::/48", "55410"}, + {"240a:a0ae::/32", "142824"}, + {"2803:b8c0::/32", "264790"}, + {"2804:6a44::/32", "270323"}, + {"2804:729c::/32", "270864"}, + {"2a02:26f7:bf8d::/46", "20940"}, + {"2001:df1:5680::/48", "139378"}, + {"2001:df6:e580::/48", "24565"}, + {"2001:1248:8714::/44", "11172"}, + {"2404:ba00:10::/41", "17665"}, + {"2409:8958:cb54::/37", "56040"}, + {"2600:370f:72aa::/43", "32261"}, + {"2607:f7a8:163e::/36", "46887"}, + {"2804:44fc::/32", "267665"}, + {"2804:7988::/32", "271311"}, + {"2a02:4e0:2500::/41", "16135"}, + {"2a02:2638:4::/44", "44788"}, + {"2a04:4e80::/47", "211400"}, + {"2001:678:f3c::/48", "211640"}, + {"2408:8256:2d8a::/48", "17816"}, + {"2607:c080::/32", "32767"}, + {"2a09:e980::/29", "62240"}, + {"2a11:e280::/29", "204790"}, + {"240a:a93d::/32", "145015"}, + {"2a0a:1e40::/32", "51300"}, + {"2001:6f0::/34", "1257"}, + {"2401:d800:5bb0::/41", "7552"}, + {"2a0b:15c0::/29", "42207"}, + {"2404:ff80::/39", "64096"}, + {"240e:2::/31", "4134"}, + {"2620:12f:d000::/48", "40342"}, + {"2804:1828::/32", "61921"}, + {"2804:29a4::/37", "264026"}, + {"2a00:1a80::/32", "33920"}, + {"2a0a:9a40::/29", "205801"}, + {"2a0d:b201:60b0::/41", "206026"}, + {"2604:dc00:7409::/41", "19752"}, + {"2606:f480::/32", "54328"}, + {"2804:664c:3e90::/32", "269547"}, + {"2a07:e700::/29", "43260"}, + {"2600:1406:801::/38", "20940"}, + {"2602:feb4:c0::/44", "25961"}, + {"2804:31cc::/32", "265038"}, + {"2804:7eb8::/32", "271643"}, + {"2a09:7:2003::/48", "35536"}, + {"2a0c:2340::/29", "44399"}, + {"2402:d000:100d::/41", "9329"}, + {"2408:8956:c700::/40", "17816"}, + {"2800:484:d600::/40", "10620"}, + {"2a02:2e02:8790::/36", "12479"}, + {"2001:df0:62:8896::/49", "38040"}, + {"2401:d800:8000::/35", "7552"}, + {"2604:9dc0::/32", "393626"}, + {"2a02:88d:8010::/44", "48695"}, + {"240a:a479::/32", "143795"}, + {"240e:44d:1480::/41", "4134"}, + {"2800:ba0::/48", "263812"}, + {"2806:2f0:9823::/41", "17072"}, + {"2a03:c500::/32", "51704"}, + {"2607:f7a8:826::/48", "395749"}, + {"2803:5c80:6598::/48", "64114"}, + {"2a0e:ffc0::/29", "57756"}, + {"2001:559:854f::/48", "7725"}, + {"2001:559:c166::/47", "33659"}, + {"2408:8456:2000::/42", "17622"}, + {"2607:f038:401c::/46", "21527"}, + {"2620:113:1000::/46", "15224"}, + {"2408:80ea:6780::/41", "17622"}, + {"2408:820c:a940::/30", "17621"}, + {"2804:bcc::/32", "52830"}, + {"2a02:26f7:97::/48", "20940"}, + {"2409:8914:8400::/39", "56044"}, + {"240e:108:10b2::/41", "4134"}, + {"2602:fed2:712d::/48", "53356"}, + {"2606:7740::/47", "16509"}, + {"2607:f250:d024::/48", "7046"}, + {"2001:559:85d8::/48", "33667"}, + {"2001:16a2:8000::/43", "25019"}, + {"2401:d800:d250::/42", "7552"}, + {"2404:e800:4::/39", "55430"}, + {"240a:408a:c000::/35", "58834"}, + {"2604:9500::/32", "13807"}, + {"2804:14c:bbb0::/41", "28573"}, + {"2804:28c8::/32", "263980"}, + {"2405:f080:9ff::/48", "141180"}, + {"2408:8459:e810::/42", "17623"}, + {"240a:a26a::/32", "143268"}, + {"240e:3ba:9200::/36", "140317"}, + {"2600:6c38:b2d::/43", "20115"}, + {"2600:6c38:c16::/42", "20115"}, + {"2607:fed8::/32", "36416"}, + {"2800:b20::/35", "14754"}, + {"2804:4234::/32", "26104"}, + {"2a01:8840:ed::/48", "207266"}, + {"2a04:4e40:6200::/48", "54113"}, + {"2a07:4700::/29", "2119"}, + {"2a0a:8a40::/32", "56859"}, + {"2001:da8:5007::/41", "24360"}, + {"2408:8206::/35", "4808"}, + {"240e:d9:c000::/36", "38283"}, + {"240e:983:1e07::/48", "58543"}, + {"2804:14d:7800::/40", "28573"}, + {"2804:4478::/32", "267634"}, + {"2a06:dac0::/44", "212661"}, + {"2a0e:e744::/30", "208283"}, + {"2402:800:9a2b::/41", "7552"}, + {"2408:400e:fe88::/22", "37963"}, + {"2a02:26f7:b589::/42", "20940"}, + {"2804:20::/41", "26615"}, + {"2a05:c680::/29", "39259"}, + {"2001:559:132::/48", "7922"}, + {"2409:802e:2901::/48", "56041"}, + {"240e:108:1150::/48", "140527"}, + {"2600:100d:b0d0::/42", "6167"}, + {"2a00:1f70::/32", "12722"}, + {"2001:559:573::/48", "33659"}, + {"2001:67c:2d6c::/48", "16302"}, + {"2409:8074:2100::/35", "9808"}, + {"240a:a2e2::/32", "143388"}, + {"2403:9800:c300::/40", "4771"}, + {"2a0f:20c0::/29", "60262"}, + {"2403:7a00::/32", "17676"}, + {"2408:8856:100::/38", "17622"}, + {"240a:a6d5::/32", "144399"}, + {"2600:2004:3000::/36", "33517"}, + {"2001:67c:132c::/48", "13189"}, + {"2001:c08::/32", "9264"}, + {"240a:aab3::/32", "145389"}, + {"240e:bf:b8e0::/46", "138679"}, + {"2605:c080::/32", "393682"}, + {"2001:388:3059::/40", "7575"}, + {"2406:9dc0:100::/44", "18250"}, + {"2409:8087:4c17::/38", "9808"}, + {"240a:a179::/32", "143027"}, + {"2804:4724::/32", "267034"}, + {"2804:7344::/32", "270905"}, + {"2a02:26f7:d084::/48", "36183"}, + {"2001:678:ec4::/48", "212378"}, + {"2407:6480::/32", "141153"}, + {"2408:8956:7d00::/40", "17816"}, + {"2408:8957:2300::/40", "17816"}, + {"240a:a5b3::/32", "144109"}, + {"2607:fca8:1531::/33", "17139"}, + {"2c0f:7d00::/32", "328942"}, + {"2001:559:8622::/48", "33287"}, + {"2409:8c54:5800::/34", "56040"}, + {"2a00:a8e0:101::/48", "8767"}, + {"2a0c:a400::/29", "34907"}, + {"2404:3d00:40dc::/47", "21433"}, + {"2804:2c8c::/32", "265226"}, + {"2804:3d74::/45", "262617"}, + {"2804:3df8:8000::/33", "266566"}, + {"2a02:26f7:f80d::/46", "20940"}, + {"2a02:ddc0::/30", "47165"}, + {"2a0f:63c0::/29", "212238"}, + {"2600:1402:1c01::/34", "20940"}, + {"2602:ff3c::/36", "395111"}, + {"2607:6780::/32", "395282"}, + {"2801:1b0::/40", "263719"}, + {"2804:32d8::/32", "28212"}, + {"2804:4d48:4040::/32", "53115"}, + {"2a02:970:1246::/44", "44002"}, + {"2a04:a180::/32", "199799"}, + {"2a09:b280::/48", "210025"}, + {"2408:840d:ba00::/42", "17621"}, + {"2804:4dd0::/32", "268221"}, + {"2001:ee0:320a::/41", "45899"}, + {"2800:3c0:1060::/40", "19863"}, + {"2c0f:f060::/32", "328154"}, + {"2402:3a80:c064::/48", "38266"}, + {"240a:a21a::/32", "143188"}, + {"2804:8534::/32", "272564"}, + {"2001:559:c34f::/48", "7015"}, + {"2001:678:84::/48", "51955"}, + {"2401:d800:9d00::/42", "7552"}, + {"2404:c300::/32", "4859"}, + {"2407:70c0::/48", "140833"}, + {"2408:8459:9c30::/41", "17622"}, + {"2804:2e5c::/32", "265341"}, + {"2a02:6c00:f000::/44", "44971"}, + {"2401:4900:4110::/38", "45609"}, + {"2408:8956:4100::/40", "17816"}, + {"240a:ad03::/32", "145981"}, + {"240e:a7:8800::/37", "134419"}, + {"2605:b800::/37", "23550"}, + {"2804:7010::/32", "270701"}, + {"2a01:7d20:7d20::/47", "203645"}, + {"2001:678:600::/48", "204600"}, + {"2602:ff32:3::/48", "55247"}, + {"2803:a410:9012::/48", "64114"}, + {"2804:1d28::/32", "264351"}, + {"2804:1f22::/32", "264957"}, + {"2001:6d0:d6::/48", "43832"}, + {"2409:8000:5a00::/40", "56048"}, + {"240e:45c:c800::/40", "131285"}, + {"2804:f28::/32", "262683"}, + {"2a02:29ab:1::/29", "60142"}, + {"2a0f:a440::/29", "212598"}, + {"2001:559:8344::/48", "7922"}, + {"2001:1980:200::/37", "29838"}, + {"2401:d800:7930::/41", "7552"}, + {"2602:feda:b70::/48", "212705"}, + {"2804:14c:9983::/41", "28573"}, + {"2804:14d:3e00::/40", "28573"}, + {"2409:8087:7100::/37", "9808"}, + {"2806:2f0:5181::/42", "17072"}, + {"2a07:600::/29", "13030"}, + {"2401:af00::/32", "45345"}, + {"2401:d800:b690::/42", "7552"}, + {"2600:1408:8::/46", "20940"}, + {"2804:51a4::/33", "268467"}, + {"2a0c:78c0::/29", "207133"}, + {"2001:67c:18d8::/48", "199973"}, + {"2804:cdc:9040::/34", "52565"}, + {"2a00:1908:fffa::/48", "205365"}, + {"2a00:7f20:e000::/35", "60791"}, + {"2a02:26f7:c848::/48", "36183"}, + {"2001:67c:4bc::/48", "204896"}, + {"2607:a800:305::/48", "15695"}, + {"2804:462c::/32", "266973"}, + {"2804:5298::/32", "268528"}, + {"2408:8956:2500::/40", "17816"}, + {"2409:8914:6e00::/39", "56044"}, + {"240e:678:e400::/31", "4134"}, + {"2a00:f6e0::/32", "49034"}, + {"2a02:26f0:ab::/45", "20940"}, + {"2a05:aa40::/29", "5500"}, + {"2001:bc8::/35", "12876"}, + {"2001:1248:5578::/46", "11172"}, + {"2620:16e:89::/48", "3147"}, + {"2a0d:77c7:88e3::/33", "7489"}, + {"2404:bf40:a641::/40", "139084"}, + {"2607:b800::/32", "1970"}, + {"2804:14d:4e81::/45", "28573"}, + {"2806:2f0:2040::/48", "17072"}, + {"2a05:1084:7500::/32", "59598"}, + {"2a0c:16c0::/31", "42532"}, + {"2a11:3e00::/29", "42375"}, + {"2401:d800:bb20::/41", "7552"}, + {"2605:da00:5222::/48", "14935"}, + {"2a06:2d40:3::/48", "20473"}, + {"2001:67c:2954::/48", "51973"}, + {"2402:3300:5000::/48", "56300"}, + {"2408:8256:316d::/43", "17623"}, + {"2602:fd60:12::/48", "396503"}, + {"2a02:ec40::/32", "39150"}, + {"2001:550:6a01::/46", "174"}, + {"2001:559:84d1::/48", "7922"}, + {"2001:da8:c6::/48", "138440"}, + {"2a02:ff0:4::/48", "12735"}, + {"2a0e:b107:ea7::/48", "212085"}, + {"2001:500:83::/48", "42"}, + {"240a:ae75::/32", "146351"}, + {"2600:1408:b000::/48", "35994"}, + {"2803:da00::/32", "52253"}, + {"2804:383c::/45", "52601"}, + {"2804:68ac::/33", "269708"}, + {"2001:250:5876::/47", "24363"}, + {"2001:da8:217::/48", "23910"}, + {"240e:698:4c00::/26", "4134"}, + {"2602:fbd2::/36", "400395"}, + {"2804:7ee0::/32", "271651"}, + {"2a00:17d8::/32", "12574"}, + {"2001:678:303::/48", "207996"}, + {"2600:1007:b1f1::/48", "6167"}, + {"2804:44e8::/39", "267660"}, + {"2804:51a8::/32", "268468"}, + {"2806:2f0:3383::/42", "17072"}, + {"2a04:4e40:a600::/48", "54113"}, + {"2001:559:366::/48", "33660"}, + {"240a:a82d::/32", "144743"}, + {"2600:140a:a001::/33", "20940"}, + {"2607:9e80:1301::/40", "397068"}, + {"2a02:a58::/32", "8953"}, + {"2404:bf40:8a02::/34", "139084"}, + {"240a:a258::/32", "143250"}, + {"2600:1900:4110::/44", "15169"}, + {"2606:7940::/32", "26073"}, + {"2620:83:8001::/48", "63331"}, + {"240e:978:2000::/40", "137702"}, + {"2604:d600:1082::/44", "32098"}, + {"2804:7b0:8000::/33", "262453"}, + {"2402:800:572b::/43", "7552"}, + {"2402:7d80:6667::/35", "63582"}, + {"240a:a8b3::/32", "144877"}, + {"2605:a404:4f::/43", "33363"}, + {"2a02:2ad8:4110::/32", "702"}, + {"2a03:2880:f14d::/43", "32934"}, + {"2a03:7620::/32", "198297"}, + {"240a:ae43::/32", "146301"}, + {"2604:b100::/32", "20394"}, + {"2803:b2c0:1102::/45", "264851"}, + {"2001:559:1ee::/48", "33287"}, + {"2001:67c:2e48::/48", "210140"}, + {"2001:4490:d800::/46", "9829"}, + {"2406:20c0:e001::/35", "140423"}, + {"240e:108:1140::/46", "134768"}, + {"240e:95a:5000::/31", "4134"}, + {"2a00:7c80::/30", "49981"}, + {"2401:9d00:1132::/32", "9835"}, + {"2402:1b40:2000::/44", "7628"}, + {"2604:fe00::/45", "30517"}, + {"2001:4270::/32", "30998"}, + {"2409:8020::/43", "56046"}, + {"2409:8754:2800::/38", "56040"}, + {"240a:a5d0::/32", "144138"}, + {"2604:5cc0::/35", "13351"}, + {"2a01:3f7:2::/45", "57021"}, + {"2a02:26f7:e500::/48", "36183"}, + {"2001:559:86fe::/47", "33654"}, + {"2401:4900:3f90::/41", "45609"}, + {"2409:8c01::/30", "9808"}, + {"240e:109:8049::/46", "4134"}, + {"2804:798::/32", "262304"}, + {"2a01:a280:5::/48", "50306"}, + {"2a11:5704:b00b::/48", "212149"}, + {"2001:df3:d000::/48", "133044"}, + {"2409:8028:3002::/47", "56041"}, + {"2800:160:1159::/42", "14259"}, + {"2a01:5043:2007::/48", "202196"}, + {"2a02:26f7:ca44::/48", "36183"}, + {"2a03:f003:2300::/29", "25472"}, + {"2a0a:6580::/32", "206548"}, + {"2001:da8:d00c::/48", "23910"}, + {"2001:4878:37::/44", "12222"}, + {"2404:3e00:a500::/38", "38758"}, + {"2405:1c0:6371::/46", "55303"}, + {"2407:14c0:200::/37", "138077"}, + {"2408:8740::/32", "4837"}, + {"2806:2f0:11::/48", "22884"}, + {"2001:67c:1bdc::/48", "29493"}, + {"2001:4878:4027::/48", "12222"}, + {"2604:4500:18::/48", "29802"}, + {"2804:e00:6000::/32", "11419"}, + {"2a02:26f7:c4c0::/48", "36183"}, + {"2a02:26f7:f880::/48", "36183"}, + {"2001:559:8391::/48", "33667"}, + {"2401:4900:808::/43", "45609"}, + {"2804:14d:7e41::/40", "28573"}, + {"2403:bc80::/32", "133882"}, + {"2408:8459:a630::/41", "17622"}, + {"240a:a704::/32", "144446"}, + {"2604:d600:1227::/44", "32098"}, + {"2804:391c:1c::/32", "262287"}, + {"2001:559:841a::/48", "33650"}, + {"2408:8606::/28", "4808"}, + {"2408:8656::/36", "17622"}, + {"2800:40:1f::/42", "16814"}, + {"2a02:ed0:4000::/29", "47956"}, + {"2001:67c:764::/48", "201530"}, + {"2608:146:4::/48", "27046"}, + {"2801:0:360::/48", "27951"}, + {"2a02:17d8::/32", "41489"}, + {"2a02:cb43:4009::/48", "20546"}, + {"2a03:2c0:e::/48", "31029"}, + {"2001:579:9d8c::/41", "22773"}, + {"2001:648:2c30::/48", "8522"}, + {"2401:d800:21f2::/38", "7552"}, + {"2403:1540::/48", "45671"}, + {"2404:bb41::/32", "139240"}, + {"2408:8256:3b9c::/46", "17623"}, + {"2804:6614::/32", "269532"}, + {"2a0a:2cc0::/29", "206355"}, + {"2a0d:7980:200::/32", "48635"}, + {"2a11:1880::/29", "204790"}, + {"2001:500:2d::/48", "10886"}, + {"2401:e900::/45", "23991"}, + {"2602:fc6a::/48", "399747"}, + {"2001:559:c2b5::/48", "7015"}, + {"2408:840d:9300::/42", "17621"}, + {"2606:9fc0:9000::/48", "14618"}, + {"2607:9800:e001::/35", "15085"}, + {"2a09:77c4::/30", "1239"}, + {"2001:559:4b2::/48", "33651"}, + {"2403:4f00::/36", "139580"}, + {"2a02:7b00::/36", "48328"}, + {"2a0b:f302:459::/31", "62240"}, + {"2409:806b:3900::/33", "9808"}, + {"2a02:26f7:108::/48", "36183"}, + {"2a02:26f7:f34c::/48", "36183"}, + {"2a0e:3400::/29", "209095"}, + {"2001:559:80e8::/48", "33651"}, + {"2402:8100:39cd::/46", "55644"}, + {"2605:59c1:2000::/32", "36492"}, + {"2620:0:360::/47", "14182"}, + {"2001:559:5ea::/48", "33651"}, + {"2001:661:4000::/35", "2472"}, + {"2606:6140::/34", "31764"}, + {"2a00:4bc0:210d::/46", "31004"}, + {"2405:a900:ffff::/48", "55992"}, + {"240e:3b8:c000::/37", "140315"}, + {"240e:3be:1200::/39", "4134"}, + {"2605:2fc0:1000::/39", "31984"}, + {"2a02:4500::/32", "200567"}, + {"2001:559:c370::/48", "33657"}, + {"2406:20c0:8001::/34", "140423"}, + {"2a01:53c0:fd00::/48", "13658"}, + {"2a03:2ba0::/32", "47944"}, + {"2a09:4c0:101::/40", "58057"}, + {"2400:8b00:f80::/42", "45727"}, + {"2403:9800:7f06::/44", "4771"}, + {"240a:a9f4::/32", "145198"}, + {"2804:4b0:500::/40", "262459"}, + {"2804:5798::/32", "268074"}, + {"2806:2f0:6263::/40", "17072"}, + {"2806:2f0:8101::/46", "17072"}, + {"2a11:dc0::/29", "211199"}, + {"2400:4be0:14::/48", "141898"}, + {"240a:a70d::/32", "144455"}, + {"2804:1574::/32", "263389"}, + {"2804:65a8::/32", "269506"}, + {"2a02:26f7:f2c5::/46", "20940"}, + {"2a0b:7dc0::/32", "205494"}, + {"2a0c:a0c0::/31", "202486"}, + {"2001:410:a000::/47", "8111"}, + {"2001:559:c223::/48", "7922"}, + {"240a:ae53::/32", "146317"}, + {"2804:1270:a1::/32", "262851"}, + {"2a03:be80:15::/41", "15510"}, + {"2a0e:97c0:1ba::/47", "211840"}, + {"2a12:b3c0::/29", "174"}, + {"2408:84f3:2e20::/43", "17816"}, + {"2001:df6:e400::/48", "132976"}, + {"2401:d800:d702::/41", "7552"}, + {"2402:800:9d9b::/42", "7552"}, + {"2800:bf0:a108::/47", "52257"}, + {"2a0c:f000::/48", "206976"}, + {"2001:559:c084::/48", "33651"}, + {"2604:d600:15b7::/44", "32098"}, + {"2806:230:1009::/48", "11888"}, + {"2a0c:480::/32", "50673"}, + {"2001:559:829b::/48", "33651"}, + {"2604:eb40::/48", "6233"}, + {"2804:3034::/39", "264936"}, + {"2a01:8840:91::/48", "207266"}, + {"2a05:d050:c080::/44", "16509"}, + {"2a0a:4785::/32", "59504"}, + {"2001:fd0:db::/38", "10029"}, + {"2402:800:3655::/42", "7552"}, + {"240e:980:9a00::/40", "58466"}, + {"2600:9000:22ff::/39", "16509"}, + {"2a0f:5707:ab2d::/48", "13830"}, + {"2400:9380:92c0::/44", "136167"}, + {"2620:d2::/48", "25631"}, + {"2803:6602::/33", "28075"}, + {"2a00:1eb8::/35", "8764"}, + {"2a02:26f7:c410::/48", "36183"}, + {"2001:df3:e480::/48", "140699"}, + {"2600:100a:b050::/40", "22394"}, + {"2600:1404:1801::/33", "20940"}, + {"2603:c012:6000::/36", "31898"}, + {"2804:1b3:6000::/36", "18881"}, + {"2a0e:46c4:22a3::/48", "136918"}, + {"2001:559:c10d::/48", "33662"}, + {"2001:579:52c4::/39", "22773"}, + {"2001:67c:1590::/48", "21430"}, + {"2001:67c:1b1c::/48", "43719"}, + {"2001:bf7:fc00::/44", "208942"}, + {"2404:1580::/32", "134854"}, + {"2405:5600::/32", "10135"}, + {"2a07:6cc1::/32", "61098"}, + {"2a11:89c0::/29", "204790"}, + {"240a:a779::/32", "144563"}, + {"2a02:79e0::/32", "60032"}, + {"240a:a9fa::/32", "145204"}, + {"2606:9840::/32", "400282"}, + {"2001:559:c117::/48", "33667"}, + {"2001:678:450::/48", "1257"}, + {"2001:1998:610::/41", "7843"}, + {"2001:4200:5000::/48", "37501"}, + {"2402:800:9a63::/43", "7552"}, + {"2404:3d80:2cb::/42", "147297"}, + {"240e:44d:7980::/41", "4134"}, + {"2605:4380::/32", "260"}, + {"2607:ffe0::/32", "33541"}, + {"2a01:cde0:100::/48", "16028"}, + {"2405:6e00:2ef::/43", "133612"}, + {"2620:87:a000::/44", "12186"}, + {"2a02:ad0::/29", "61157"}, + {"2c0f:ec18::/32", "328391"}, + {"2408:8956:e800::/40", "17622"}, + {"2620:101:b000::/41", "12079"}, + {"2a02:888:151::/48", "47794"}, + {"2a02:970:101a::/42", "44002"}, + {"2a02:26f7:c490::/48", "36183"}, + {"2a06:6880::/37", "209620"}, + {"2001:559:86a8::/47", "33651"}, + {"2001:df3:1e00::/48", "55824"}, + {"2001:16a2:6400::/35", "25019"}, + {"2610:1e0:1f01::/32", "3714"}, + {"2804:18:30::/44", "26599"}, + {"2400:9700:6::/39", "24550"}, + {"2403:6040::/32", "17665"}, + {"2600:1900:4130::/44", "15169"}, + {"2600:9000:231b::/45", "16509"}, + {"2800:370:4a::/48", "28006"}, + {"2804:7254::/32", "270847"}, + {"2a02:26f0:700::/48", "7545"}, + {"2a0a:fcc0::/32", "211752"}, + {"2001:df1:3200::/48", "131353"}, + {"2001:1248:a41e::/42", "11172"}, + {"2605:7900:1::/45", "19133"}, + {"2620:11f:4000::/40", "16478"}, + {"2804:eec:4001::/46", "25933"}, + {"2a0a:dd80::/29", "211199"}, + {"2602:fc64:a000::/47", "36829"}, + {"2803:b780::/48", "27742"}, + {"2804:37a8::/35", "266428"}, + {"2a0b:4340:41::/48", "41780"}, + {"2001:579:b158::/40", "22773"}, + {"2001:da8:a0::/48", "24348"}, + {"240a:a115::/32", "142927"}, + {"240a:aa52::/32", "145292"}, + {"2606:6800:3400::/40", "394895"}, + {"2804:7a4::/32", "52860"}, + {"2a01:4c80::/32", "21446"}, + {"2a02:26f7:c709::/46", "20940"}, + {"2001:918:ff3f::/41", "3303"}, + {"2602:fc8b::/48", "211544"}, + {"2001:559:8227::/44", "7922"}, + {"2001:559:c123::/48", "7725"}, + {"2600:6c10:bb::/45", "20115"}, + {"2804:6510:c000::/34", "269466"}, + {"2a03:8d20::/48", "200849"}, + {"2a0d:8480:3::/48", "207651"}, + {"2620:107:9098::/46", "22787"}, + {"2803:7200:801d::/33", "27696"}, + {"2806:3c2::/32", "270121"}, + {"2a0b:4e00::/46", "207059"}, + {"2001:559:4fa::/48", "33491"}, + {"2001:678:89c::/48", "57195"}, + {"2409:8907:7920::/38", "24547"}, + {"2409:8959:cc44::/43", "9808"}, + {"2804:2408::/32", "52705"}, + {"2a00:4cc4:a::/48", "60109"}, + {"2a05:d050:10c0::/44", "16509"}, + {"2001:678:d70::/48", "212535"}, + {"2600:6c10:e04::/41", "20115"}, + {"2603:c002:9010::/38", "31898"}, + {"2605:e000:c0c::/35", "20001"}, + {"2804:14d:72bd::/41", "28573"}, + {"2806:2f0:43e1::/46", "17072"}, + {"2a03:2880:f072::/45", "32934"}, + {"2a09:1480:200::/29", "35704"}, + {"2a0c:b642:1a0e::/48", "61138"}, + {"2400:fc00:8c60::/40", "45773"}, + {"2404:bf40:8401::/46", "7545"}, + {"2408:8459:6830::/41", "17622"}, + {"2800:160:1a8a::/45", "14259"}, + {"2001:b400:d410::/36", "3462"}, + {"2806:2f0:429f::/41", "17072"}, + {"2a09:f540::/31", "202376"}, + {"2a02:7d8::/36", "3302"}, + {"2001:508::/44", "32020"}, + {"2402:c800:fff7::/44", "38639"}, + {"2804:21b4::/32", "264568"}, + {"2804:6128::/33", "269217"}, + {"2a01:111:3000::/33", "8075"}, + {"2a01:5c40:4::/47", "12687"}, + {"2a02:f680:2::/29", "35196"}, + {"2a03:7680::/32", "20905"}, + {"2001:559:84ba::/48", "7015"}, + {"2001:559:c02a::/45", "7922"}, + {"2400:c000::/32", "38294"}, + {"2602:feda:f4::/48", "38023"}, + {"2607:ff00:100::/40", "20454"}, + {"2806:230:601a::/48", "265594"}, + {"2001:da8:700c::/48", "23910"}, + {"2001:4cb8:86::/41", "28878"}, + {"2408:8956:ec00::/39", "17622"}, + {"240a:a160::/32", "143002"}, + {"240a:ac57::/32", "145809"}, + {"2600:6c38:b5a::/47", "20115"}, + {"2607:f0d0:2000::/39", "36351"}, + {"2a02:26f0:9601::/40", "20940"}, + {"2a04:f580:9210::/48", "4809"}, + {"2c0f:fea8::/32", "37248"}, + {"2605:c400::/32", "19381"}, + {"2a02:26f7:eac1::/46", "20940"}, + {"2a0d:c940::/29", "212144"}, + {"2407:f6c0::/32", "147064"}, + {"2409:4043:1000::/34", "55836"}, + {"2600:1404:c801::/37", "20940"}, + {"2001:559:361::/48", "7922"}, + {"2401:8640::/32", "23884"}, + {"2400:6180:100::/40", "14061"}, + {"2401:7500:1000::/39", "133296"}, + {"2405:9800:c910::/48", "55488"}, + {"2409:804b:2b08::/48", "9808"}, + {"2a04:4e40:ca30::/41", "54113"}, + {"2a10:8a40::/29", "39405"}, + {"2607:f480:111::/48", "27435"}, + {"2a02:26f7:ef48::/48", "36183"}, + {"2001:4c0:2::/33", "855"}, + {"2403:e800::/37", "4637"}, + {"2604:8f80::/32", "22667"}, + {"2800:160:10b2::/41", "14259"}, + {"2804:5e18::/33", "269011"}, + {"2a02:26f0:9901::/40", "20940"}, + {"2a04:bdc7:100::/48", "63473"}, + {"2a0a:db00::/44", "51559"}, + {"2a11:3600::/48", "35592"}, + {"2401:4900:60d0::/42", "45609"}, + {"240a:affb::/32", "146741"}, + {"2605:3400::/32", "15267"}, + {"2607:6b80:6::/48", "55081"}, + {"2620:123:200b::/45", "30103"}, + {"2a01:7dc0::/32", "204274"}, + {"2a0e:bb00::/29", "680"}, + {"240a:ae38::/32", "146290"}, + {"2a00:6060:8001::/34", "60983"}, + {"2a02:6ea0:c000::/36", "60068"}, + {"2a09:b340::/29", "202591"}, + {"2407:4d00:2000::/36", "38841"}, + {"2602:fc6f::/36", "399568"}, + {"2801:14:6800::/48", "19429"}, + {"2a03:77e0:3301::/48", "48305"}, + {"2c0f:ff80::/32", "327698"}, + {"2408:80e0:4000::/32", "4808"}, + {"240a:a1cc::/32", "143110"}, + {"2606:12c0::/32", "55017"}, + {"2804:73a4::/32", "270928"}, + {"2a0a:60c1:2::/48", "212782"}, + {"2001:1388:602::/39", "6147"}, + {"2620:108:f006::/48", "8161"}, + {"2a00:5d20::/32", "28717"}, + {"2a01:468::/29", "5403"}, + {"2a0f:2a80::/29", "204860"}, + {"2001:400:8818:51::/42", "293"}, + {"2600:6c34:203::/45", "33588"}, + {"2602:fd92:802::/40", "211481"}, + {"2804:5534:2002::/37", "268696"}, + {"2a02:26f7:f08d::/42", "20940"}, + {"2600:1403:b401::/36", "20940"}, + {"2600:1406:1a01::/37", "20940"}, + {"2602:fdc8::/36", "397656"}, + {"2603:90f5:600::/40", "10796"}, + {"2620:6e:c000::/48", "393401"}, + {"2a02:b50:8000::/47", "48910"}, + {"2a09:a300::/32", "8896"}, + {"2402:800:52d3::/44", "7552"}, + {"240a:a176::/32", "143024"}, + {"240e:44d:7180::/41", "4134"}, + {"2001:559:8d::/46", "13367"}, + {"2001:49f0:d057::/40", "174"}, + {"240e:267:7400::/36", "4134"}, + {"2603:c026::/35", "31898"}, + {"2605:d880::/32", "40945"}, + {"2a00:c6c0::/48", "47172"}, + {"2a02:2ac0::/32", "702"}, + {"2a0e:4c80::/29", "328543"}, + {"240a:ae85::/32", "146367"}, + {"2a02:587:50f8::/46", "6799"}, + {"2a0a:4540::/48", "203420"}, + {"2001:559:522::/48", "7015"}, + {"2001:1838:a100::/33", "23352"}, + {"2001:1ad0:c4ff::/34", "24953"}, + {"2402:8100:ca0::/44", "45271"}, + {"2602:803:9000::/46", "17138"}, + {"2804:3d4:38::/45", "262401"}, + {"2a01:51c2::/29", "29422"}, + {"2001:550:2400::/48", "18531"}, + {"2001:559:85cb::/48", "7015"}, + {"2408:84f3:aa40::/37", "17816"}, + {"240e:1:f800::/37", "17799"}, + {"2607:fc00::/32", "13576"}, + {"2804:f54::/32", "263580"}, + {"2a03:a960::/47", "61317"}, + {"2400:3b00:50::/48", "18229"}, + {"240a:a8af::/32", "144873"}, + {"2600:6c7f:93c0::/42", "19115"}, + {"2605:5240:5000::/32", "397494"}, + {"2804:14d:2c81::/46", "28573"}, + {"2804:870::/32", "52871"}, + {"2806:2f0:4223::/41", "17072"}, + {"2a04:b00::/29", "199256"}, + {"2001:df1:a180::/48", "137655"}, + {"2001:fd8:b2b0::/44", "4775"}, + {"2804:2054::/32", "264486"}, + {"2804:5694::/32", "268010"}, + {"2806:370:91a0::/41", "28403"}, + {"2a02:6100::/32", "34572"}, + {"2001:470:8a::/48", "16871"}, + {"2409:8a1a:7600::/29", "132525"}, + {"2607:fa48:200::/32", "5769"}, + {"2a02:7a01::/32", "197895"}, + {"2405:6400::/35", "23678"}, + {"2804:18:1020::/40", "26599"}, + {"2804:44dc::/32", "267658"}, + {"2a02:26f7:b8::/48", "36183"}, + {"2400:ac40:bb0::/37", "136255"}, + {"240e:3b3:5600::/34", "136199"}, + {"240e:67e:c400::/39", "140330"}, + {"2620:9b:e000::/48", "399992"}, + {"2a12:a300::/31", "23959"}, + {"2c0f:fe18::/32", "37179"}, + {"2602:80d:1000::/48", "398722"}, + {"2a02:26f7:d200::/48", "36183"}, + {"2a06:d1c0::/32", "59645"}, + {"2a11:2280::/29", "204790"}, + {"2402:3a80:c056::/48", "38266"}, + {"2409:8904:8b90::/37", "24547"}, + {"240a:acbb::/32", "145909"}, + {"2606:4700:80c0::/44", "13335"}, + {"2804:4d98::/32", "268207"}, + {"2a00:16c8:10d::/32", "50173"}, + {"2a00:49c0::/32", "199213"}, + {"2a02:888:814a::/45", "47794"}, + {"2a0f:5f40::/29", "200019"}, + {"2001:418:1401:6b::/61", "2914"}, + {"2001:c38:90a5::/44", "135566"}, + {"2001:fb0:109f::/59", "7470"}, + {"240a:a91f::/32", "144985"}, + {"2804:17c0::/32", "263155"}, + {"2a02:26f0:3d::/48", "31108"}, + {"2001:559:8410::/48", "7015"}, + {"2001:67c:24c::/48", "49420"}, + {"2001:df1:c700::/47", "136786"}, + {"2402:3a80:f00::/35", "38266"}, + {"2605:1980:206::/37", "13951"}, + {"2606:2440::/36", "3838"}, + {"2620:16d:701::/34", "7862"}, + {"2a01:7a4::/32", "34289"}, + {"2001:678:4d4::/48", "24868"}, + {"2607:ffd8:802::/32", "33333"}, + {"2001:738:5::/32", "1955"}, + {"2001:1980:6900::/32", "29838"}, + {"2800:160:1104::/46", "14259"}, + {"2a02:b48:810e::/43", "39572"}, + {"2001:df0:4400::/48", "17670"}, + {"240a:a17a::/32", "143028"}, + {"2600:1405:5c01::/34", "20940"}, + {"2606:2800:400e::/47", "15133"}, + {"2804:4644::/32", "266979"}, + {"2403:1940:40::/48", "137935"}, + {"2403:cec0::/32", "137995"}, + {"2600:80c:e00::/40", "701"}, + {"2600:1004:a120::/36", "22394"}, + {"2607:f170:30::/39", "6364"}, + {"2a02:26f7:e78c::/48", "36183"}, + {"2a0c:9a40:c000::/47", "209022"}, + {"2403:8600:80a0::/41", "45820"}, + {"2602:809:3008::/47", "34553"}, + {"2804:4c14:fb01::/37", "267348"}, + {"2a00:43c0::/32", "3257"}, + {"2a09:1340::/29", "56430"}, + {"2603:8074::/32", "11351"}, + {"2607:f6f0:6001::/48", "394749"}, + {"2a02:26f7:bf41::/46", "20940"}, + {"2a04:8000::/29", "200000"}, + {"2a04:ac00:8::/48", "57010"}, + {"2001:559:385::/48", "33491"}, + {"2602:fdb8:130::/44", "394151"}, + {"2a0c:4c0::/29", "52080"}, + {"2001:559:c472::/48", "33287"}, + {"2409:8907:6e20::/35", "24547"}, + {"2607:7c80:59::/32", "64260"}, + {"2804:6bb8::/32", "270419"}, + {"2a0d:2587:8300::/48", "138517"}, + {"2001:559:73f::/48", "33491"}, + {"2001:67c:20f4::/48", "39732"}, + {"2001:1248:5fad::/41", "11172"}, + {"2804:18:4000::/36", "26599"}, + {"2001:559:6e::/48", "33651"}, + {"2001:559:8566::/48", "7015"}, + {"2408:8000:c040::/31", "4837"}, + {"2a02:26f7:e889::/46", "20940"}, + {"2001:c20:4883::/45", "9255"}, + {"2406:2000:a4::/48", "10230"}, + {"2604:b480::/32", "46841"}, + {"2a0d:2581:fffe::/47", "209261"}, + {"2a0d:91c0::/29", "40970"}, + {"2404:e4c0:1008::/48", "54201"}, + {"2606:3c80::/32", "33582"}, + {"2607:6b80:27::/43", "262287"}, + {"2804:82c::/32", "262355"}, + {"2404:5700::/32", "58666"}, + {"2408:8957:5900::/40", "17816"}, + {"2804:248:200::/33", "28598"}, + {"2a0d:9ec0::/48", "395092"}, + {"2001:18c8:300::/40", "19149"}, + {"2001:4dc8:f00:1::96:a/32", "16316"}, + {"2401:d800:d2e0::/39", "7552"}, + {"2001:df0:a1::/48", "55532"}, + {"2409:8924:9300::/37", "56046"}, + {"240a:ac84::/32", "145854"}, + {"2606:2800:4a10::/46", "15133"}, + {"2607:f368:3210::/44", "32982"}, + {"2804:595c::/32", "268185"}, + {"2c0f:ea08::/32", "37159"}, + {"2620:11f:b006::/44", "394514"}, + {"2804:5608::/32", "267972"}, + {"2403:a800::/32", "1239"}, + {"2406:3c80:5::/48", "17747"}, + {"2610:b0:c140::/40", "701"}, + {"2620:30:c000::/44", "32234"}, + {"2001:579:f0f4::/39", "22773"}, + {"2402:4000:b1b1::/41", "18001"}, + {"2a02:26f7:c1c9::/42", "20940"}, + {"2a0a:6a00::/32", "207097"}, + {"2001:559:8774::/48", "33668"}, + {"2001:67c:25e8::/48", "34958"}, + {"2401:d800:332::/41", "7552"}, + {"2402:8640::/47", "137491"}, + {"2001:559:c1ad::/48", "7015"}, + {"2a02:26f7:c200::/48", "36183"}, + {"2001:df0:12c0::/48", "149019"}, + {"2001:4220:8016::/33", "24835"}, + {"240a:a756::/32", "144528"}, + {"2605:c100::/32", "16567"}, + {"2804:7d7c:140::/32", "271564"}, + {"2001:250:702a::/48", "24370"}, + {"2404:63c0:50::/48", "131645"}, + {"2800:370:150::/42", "28006"}, + {"2001:418:3808::/33", "2914"}, + {"2001:559:12d::/48", "33491"}, + {"2001:df3:4a80::/48", "135902"}, + {"2001:1248:56dc::/42", "11172"}, + {"2401:d800:9290::/42", "7552"}, + {"2408:8957:5500::/40", "17816"}, + {"2606:2800:5a18::/47", "15133"}, + {"2a01:420::/32", "41695"}, + {"2a0e:1101:2::/44", "51255"}, + {"2001:559:8735::/48", "7922"}, + {"2406:840:100::/47", "139317"}, + {"2607:f148:100::/47", "11734"}, + {"2804:7dc4::/32", "271581"}, + {"2a00:1678:b00b::/48", "49453"}, + {"2a0c:d540::/35", "60159"}, + {"2a0e:fd45:d80::/44", "212948"}, + {"2c0f:fb90::/32", "42235"}, + {"2001:559:43::/48", "33491"}, + {"2401:1801::/40", "58683"}, + {"2404:c740::/47", "131655"}, + {"240c:c0a9::/36", "23910"}, + {"2a0d:9b80::/47", "43519"}, + {"2a0e:b580::/29", "59808"}, + {"2001:67c:1445::/46", "42385"}, + {"2001:b28:f240::/36", "42065"}, + {"2001:1a68:1b::/42", "15694"}, + {"2405:8c0::/47", "139301"}, + {"2800:160:1f52::/45", "14259"}, + {"2a02:26f7:fa04::/48", "36183"}, + {"2a06:8680::/29", "35175"}, + {"2a0e:97c3:551::/48", "20473"}, + {"2800:484:c400::/40", "10620"}, + {"2a01:4f0:4018::/32", "28717"}, + {"2a02:c200:2::/32", "51167"}, + {"2a06:5040:6::/48", "3214"}, + {"240e:9b:f018::/46", "140253"}, + {"2a0e:f180::/29", "63023"}, + {"2401:5500::/32", "9749"}, + {"2604:6600:fc7b::/39", "40676"}, + {"2804:5728::/32", "268048"}, + {"2a00:1560:6::/44", "29684"}, + {"2a01:5380::/32", "10474"}, + {"2a02:2308::/43", "29028"}, + {"2a07:de40:1000::/38", "29298"}, + {"2402:49c0::/32", "137385"}, + {"2a02:26f7:f7c4::/48", "36183"}, + {"2001:559:514::/48", "20214"}, + {"2401:1c00:2100::/35", "38809"}, + {"2604:8b80:2::/48", "55106"}, + {"2620:139:5002::/48", "32244"}, + {"2804:48d4::/32", "267147"}, + {"2403:4800:1100::/40", "9714"}, + {"2804:82d0::/32", "272158"}, + {"2400:7fc0:240::/44", "55960"}, + {"2401:d800:55c2::/38", "7552"}, + {"2402:b801:4000::/32", "18371"}, + {"2405:6280::/32", "132111"}, + {"2600:a800::/28", "27017"}, + {"2620:4d:4009::/48", "62597"}, + {"2804:14d:58a1::/41", "28573"}, + {"2804:80c0::/32", "271771"}, + {"2806:370:1090::/44", "28403"}, + {"2001:388:30::/48", "137188"}, + {"2400:6280:20::/48", "132876"}, + {"2408:843f:1600::/34", "140716"}, + {"2604:3545::/30", "399587"}, + {"2a0d:2a00:c0::/48", "205157"}, + {"2406:2000:a8::/48", "18293"}, + {"2607:3200:15::/32", "11240"}, + {"2804:1380:6::/39", "263536"}, + {"2804:29a4:1103::/32", "264026"}, + {"2001:678:974::/48", "49697"}, + {"2a06:2140::/29", "200600"}, + {"2a0b:6cc0::/31", "202984"}, + {"2a0b:ed80::/29", "206324"}, + {"2001:da8:220::/47", "23910"}, + {"2401:d800:2020::/41", "7552"}, + {"240a:a9b6::/32", "145136"}, + {"2605:a40e:521::/45", "33363"}, + {"2804:4880::/32", "267125"}, + {"2a0a:bf80::/29", "49223"}, + {"2804:117c:800f::/48", "53061"}, + {"2a02:7a00:3::/45", "39904"}, + {"2405:c9c0::/45", "138823"}, + {"240c:c0a9:1400::/22", "23910"}, + {"2a09:f7c0::/29", "49028"}, + {"2600:1003:b0b0::/41", "22394"}, + {"2606:b500::/32", "19751"}, + {"2803:41a0::/32", "262186"}, + {"2a03:860::/32", "59971"}, + {"2a03:4d25::/32", "59397"}, + {"2001:559:c3ad::/48", "7725"}, + {"2001:67c:2d0c::/48", "201222"}, + {"2a05:5c80::/29", "48846"}, + {"2a0c:9a40:821b::/45", "210445"}, + {"2001:559:44::/48", "7922"}, + {"2001:dc7:cd1a::/48", "38283"}, + {"2001:1248:a576::/44", "11172"}, + {"2401:d800:9890::/42", "7552"}, + {"2407:1400::/47", "23752"}, + {"2407:42c0::/32", "135188"}, + {"240c:c701::/32", "24365"}, + {"2606:7c00:d003::/34", "46103"}, + {"2803:7360::/32", "269800"}, + {"2a0a:dc07::/32", "39142"}, + {"2400:b180::/32", "59276"}, + {"2403:e200:403::/45", "45543"}, + {"2408:8456:6240::/39", "17816"}, + {"240a:acd8::/32", "145938"}, + {"2620:13e:1000::/44", "11917"}, + {"2804:75f0::/32", "271079"}, + {"2a0e:fd45:bee::/48", "139921"}, + {"2620:76:6000::/48", "54544"}, + {"2800:bf0:8064::/47", "52257"}, + {"2a02:26f0:8101::/40", "20940"}, + {"2400:9380:9000::/46", "4809"}, + {"2409:8a10:2400::/30", "9808"}, + {"2605:c00:500::/36", "46920"}, + {"2600:140b:1c00::/48", "31109"}, + {"2804:1568::/32", "263387"}, + {"2a0c:5247:f000::/36", "208861"}, + {"2400:c700:5001::/32", "55644"}, + {"2408:8406:c00::/39", "4808"}, + {"2620:a2:4000::/48", "701"}, + {"2a06:e40::/29", "31631"}, + {"2001:c10:ff19::/40", "7473"}, + {"240a:a013::/32", "142669"}, + {"2804:10fc::/32", "263656"}, + {"2a03:5f80::/46", "31500"}, + {"240e:44d:f40::/42", "140358"}, + {"2620:7b:b000::/48", "3713"}, + {"240a:ae81::/32", "146363"}, + {"240a:af7b::/32", "146613"}, + {"240e:44d:3300::/41", "140345"}, + {"2607:f358:8::/47", "60311"}, + {"2a03:2480:8025::/46", "200107"}, + {"2406:7400:48::/46", "131269"}, + {"240e:a6::/35", "134419"}, + {"2804:3380::/32", "265400"}, + {"2409:8087:8009::/33", "9808"}, + {"2409:8904:5670::/40", "24547"}, + {"2409:8c20:1833::/48", "9808"}, + {"2a02:17e8::/36", "13002"}, + {"2406:840:eb97::/44", "140731"}, + {"2602:fcd8:7::/48", "14618"}, + {"2804:214:4103::/32", "26615"}, + {"2804:18c8::/32", "53119"}, + {"2a01:378::/32", "39180"}, + {"2a01:4020:6::/48", "212914"}, + {"2001:250:ff17::/42", "23910"}, + {"2001:559:79d::/46", "21508"}, + {"2001:559:820e::/48", "22258"}, + {"240a:a180::/32", "143034"}, + {"2a01:b740:983::/41", "714"}, + {"2a02:26f7:c3cd::/46", "20940"}, + {"2001:503:ff39::/48", "7342"}, + {"2600:6c38:276::/39", "20115"}, + {"2606:bf00::/32", "35891"}, + {"2001:4878:c158::/48", "12222"}, + {"2406:3000:11:100c::/59", "4657"}, + {"2800:4f0:24::/41", "28006"}, + {"2804:22a0:3f1::/37", "264112"}, + {"2804:3fc8::/32", "265914"}, + {"2001:468:1f10::/47", "396955"}, + {"2001:579:5181::/38", "22773"}, + {"2400:6e80::/32", "132882"}, + {"2400:b100::/32", "55555"}, + {"240a:ae3a::/32", "146292"}, + {"2605:3c00:99::/48", "47"}, + {"2a02:ee80:4080::/46", "3573"}, + {"2c0e:2204::/30", "37457"}, + {"2001:468:1a09::/40", "4557"}, + {"2001:559:87e8::/48", "21508"}, + {"2001:4490:d340::/46", "9829"}, + {"2401:7b40:4200::/44", "38071"}, + {"240a:a815::/32", "144719"}, + {"240e:6b9:3000::/32", "4134"}, + {"2a03:2887:ff23::/48", "63293"}, + {"2a05:33c0::/48", "201522"}, + {"2001:559:c28e::/48", "33650"}, + {"2001:6d0:4009::/48", "57503"}, + {"2401:4900:5818::/42", "45609"}, + {"2407:b9c0:e000::/35", "57695"}, + {"2804:6274::/32", "269298"}, + {"2a01:280:108::/48", "199150"}, + {"2a0b:9b00:614::/32", "62240"}, + {"2a0d:5085:1::/30", "62240"}, + {"2a12:8140::/30", "49434"}, + {"2001:559:87b7::/48", "33659"}, + {"2001:67c:1e0::/48", "31554"}, + {"2406:840:f990::/44", "208618"}, + {"2408:8459:8410::/42", "17623"}, + {"2800:160:1b42::/43", "14259"}, + {"2804:5ac8::/32", "268796"}, + {"2400:4ec0:9800::/33", "64300"}, + {"2600:1417:4801::/37", "20940"}, + {"2804:5c78::/33", "53245"}, + {"2401:b200:5d::/42", "24186"}, + {"2408:80f1:80::/39", "17621"}, + {"2600:6c33:718::/48", "11351"}, + {"2a03:2880:f068::/46", "32934"}, + {"2001:559:20a::/48", "33660"}, + {"2001:559:c106::/48", "20214"}, + {"2001:678:d4c::/48", "3320"}, + {"2407:5d80::/32", "59362"}, + {"2408:840c:7500::/40", "17621"}, + {"2409:8c20:5625::/39", "56046"}, + {"2804:4444::/32", "267621"}, + {"2a00:8740:23::/44", "49037"}, + {"2001:67c:2e8::/48", "3333"}, + {"2001:df5:3180::/48", "135905"}, + {"240a:aa00::/32", "145210"}, + {"2620:1ec:be0::/37", "8075"}, + {"2a07:ab42::/48", "44358"}, + {"2405:4000:800:e::/48", "38082"}, + {"2408:80ea:78c0::/39", "17816"}, + {"2a10:2f00:160::/48", "212129"}, + {"2001:559:8473::/48", "33668"}, + {"2001:2013::/28", "1299"}, + {"2402:1200::/47", "24523"}, + {"2600:c05:3010::/48", "398019"}, + {"2604:8780::/32", "54972"}, + {"2a02:26f0:8501::/40", "20940"}, + {"2a0f:9400:772c::/48", "53356"}, + {"2a02:26f7:f815::/42", "20940"}, + {"2001:480:b0::/48", "5132"}, + {"2001:fd8:f0f0::/39", "4775"}, + {"2001:559:824a::/48", "33287"}, + {"2001:5e8::/32", "5050"}, + {"2408:840d:c700::/42", "17621"}, + {"2603:c0e0:2800::/39", "54253"}, + {"2610:130:3401::/48", "398119"}, + {"2804:14d:1c00::/40", "28573"}, + {"2001:df0:1d80::/48", "135726"}, + {"2001:16f8:16::/37", "25525"}, + {"240d:c010:14::/48", "132203"}, + {"2605:4a40::/36", "13786"}, + {"2605:dd40:89a0::/38", "398549"}, + {"2606:c00::/42", "9505"}, + {"2804:1e40::/32", "264417"}, + {"2403:f880:6300::/40", "33438"}, + {"2409:8020:10b1::/41", "56046"}, + {"2804:1894::/32", "61941"}, + {"2804:3080::/32", "264955"}, + {"2a00:5d60::/32", "62353"}, + {"2a0a:9b40::/29", "43139"}, + {"2001:57a:920a::/34", "22773"}, + {"2600:6c38:8a::/45", "20115"}, + {"2605:a40c:a::/42", "33363"}, + {"2806:310:1f::/42", "16960"}, + {"2a00:e2a0::/32", "51004"}, + {"2402:800:3b2b::/41", "7552"}, + {"2405:dc0:8000::/47", "11251"}, + {"2408:8957:edc0::/38", "17622"}, + {"2409:8c62:f20::/32", "9808"}, + {"2605:8e00::/32", "22772"}, + {"2804:3bfc:1100::/40", "52607"}, + {"2001:df6:e780::/48", "142334"}, + {"2405:203:988::/43", "55836"}, + {"2804:7f20:201::/32", "271668"}, + {"2a0b:fd40::/29", "12637"}, + {"2a10:c340::/29", "208861"}, + {"2001:559:34c::/47", "33651"}, + {"2001:ee0:d440::/39", "45899"}, + {"2001:1900:225e::/42", "3356"}, + {"2402:800:5c01::/43", "7552"}, + {"2405:da80::/32", "24225"}, + {"2a02:a60:8000::/33", "57739"}, + {"2409:8057:301b::/45", "56040"}, + {"2607:fcd0:105:701::/50", "8100"}, + {"2a00:1410::/32", "39264"}, + {"2803:c640::/32", "263834"}, + {"2804:1994::/32", "262905"}, + {"2a03:9e00::/37", "14537"}, + {"2a04:a1c0:17::/48", "43059"}, + {"2a0f:7ec0:1::/48", "210788"}, + {"2404:bf40:a540::/47", "7545"}, + {"2001:559:c200::/48", "33662"}, + {"2001:df2:4a00::/48", "135441"}, + {"2001:4408:6100::/38", "4758"}, + {"2001:4878:4102::/47", "12222"}, + {"2610:20:8040::/44", "20033"}, + {"2a03:5e40::/32", "47110"}, + {"2001:468:cff::/48", "40220"}, + {"2001:559:c21c::/48", "13367"}, + {"2407:8a40::/47", "139516"}, + {"2620:1b2:c60::/38", "26673"}, + {"2803:9ca0::/32", "266842"}, + {"2804:4f8:a300::/36", "28263"}, + {"2a05:a880:de52::/48", "20765"}, + {"2a0c:aac0::/29", "49890"}, + {"2001:468:503::/44", "14041"}, + {"2001:44b8::/45", "4739"}, + {"2400:c700:3002::/33", "55644"}, + {"2408:84f3:f810::/44", "17623"}, + {"2604:a5c0::/32", "54509"}, + {"2a0a:2280::/29", "44851"}, + {"2001:250:215::/46", "23910"}, + {"2001:250:740f::/48", "23910"}, + {"2001:559:82eb::/48", "7015"}, + {"2001:559:831c::/48", "33287"}, + {"2408:8956:7c00::/40", "17622"}, + {"2800:484:f00::/35", "14080"}, + {"2a0a:86c0:a::/39", "206163"}, + {"2001:dc8:9000::/48", "131415"}, + {"240a:a741::/32", "144507"}, + {"2607:f0d8::/29", "7385"}, + {"2804:2178::/33", "264556"}, + {"2001:67c:21f4::/48", "197579"}, + {"2600:6c38:6a::/47", "20115"}, + {"2804:5638::/32", "267984"}, + {"2a02:26f7:dc84::/48", "36183"}, + {"2a02:26f7:e880::/48", "36183"}, + {"2409:8904:d2b0::/37", "24547"}, + {"2606:2800:4140::/48", "15133"}, + {"2620:11d:9004::/44", "33186"}, + {"2804:14c:bfb0::/41", "28573"}, + {"2a0a:5cc0::/29", "60921"}, + {"2001:da8:ffe::/35", "23910"}, + {"2402:c000::/47", "9230"}, + {"2407:ddc0::/32", "135782"}, + {"2804:204:267::/40", "28186"}, + {"2804:19a0:3000::/48", "61808"}, + {"2a04:4a45:10::/32", "206067"}, + {"2a11:2c00::/29", "211054"}, + {"2001:438:39::/48", "17025"}, + {"2001:579:e1a4::/43", "22773"}, + {"2400:f780::/32", "3257"}, + {"2405:9200:3100::/41", "131596"}, + {"240a:a8a0::/32", "144858"}, + {"2600:1408:f001::/37", "20940"}, + {"2806:3d8::/32", "270140"}, + {"240e:16:b000::/38", "38283"}, + {"2604:8b00::/32", "19554"}, + {"2804:4b0:41c::/40", "262459"}, + {"2804:4d50::/35", "268189"}, + {"2a02:c10::/32", "12990"}, + {"2a02:26f7:e905::/46", "20940"}, + {"2a10:db40::/29", "48817"}, + {"2001:454d::/30", "9924"}, + {"2401:d800:bc80::/42", "7552"}, + {"2001:370:b::/32", "9607"}, + {"2001:43f8:1500::/44", "328560"}, + {"2405:4cc1:500::/36", "55891"}, + {"240a:a892::/32", "144844"}, + {"240e:96b:6006::/44", "140366"}, + {"2a04:f40::/32", "28854"}, + {"2001:559:c45d::/48", "7015"}, + {"2408:8459:810::/41", "17622"}, + {"240a:aa91::/32", "145355"}, + {"2600:6c7f:ffff::/48", "20115"}, + {"2607:f428:9310::/42", "20115"}, + {"2804:37d0:4::/33", "266437"}, + {"2804:6918::/35", "270248"}, + {"2a02:f980::/32", "213270"}, + {"2400:36a0:40::/32", "63991"}, + {"2404:4600:a::/36", "10158"}, + {"2406:f700::/32", "132837"}, + {"2408:8957:f840::/40", "17622"}, + {"2409:8718::/31", "134810"}, + {"240a:ae6d::/32", "146343"}, + {"2606:29c0:200::/39", "31775"}, + {"2c0f:600::/32", "328838"}, + {"2001:559:83c4::/48", "33660"}, + {"2001:df2:8400::/48", "133950"}, + {"2605:9a00::/48", "160"}, + {"2605:c800::/32", "393924"}, + {"2a06:c0c0:2::/29", "41018"}, + {"2a07:b240::/29", "202618"}, + {"2001:67c:5a0::/48", "21286"}, + {"2405:58c0:5e00::/40", "133101"}, + {"2405:fd80:f0::/38", "135391"}, + {"2a00:1d58:f81c::/46", "47524"}, + {"2a06:ca40::/29", "44749"}, + {"2001:4838::/32", "29748"}, + {"2406:e1c0:fcf::/32", "141459"}, + {"2001:559:41a::/48", "33660"}, + {"2402:8e40::/32", "137473"}, + {"2408:866c::/27", "4837"}, + {"2804:7c4c::/32", "271487"}, + {"2a0d:2581:5::/48", "209261"}, + {"240e:3b7:2800::/38", "4134"}, + {"2600:100a:9100::/44", "6167"}, + {"2604:d600:60d::/43", "32098"}, + {"2a00:1790::/29", "42000"}, + {"2a02:6680:110c::/46", "16116"}, + {"240c:c0a8::/33", "24348"}, + {"2001:fd8:3400::/42", "132199"}, + {"2606:4dc0::/46", "399077"}, + {"2803:2320::/32", "266721"}, + {"2a02:26f7:e910::/48", "36183"}, + {"2a03:5a00:43::/48", "51081"}, + {"2401:d800:2b00::/42", "7552"}, + {"240a:a6d7::/32", "144401"}, + {"2607:a800:202::/48", "15695"}, + {"2800:440:8040::/47", "27738"}, + {"2804:14c:7f00::/41", "28573"}, + {"2001:559:800b::/45", "7922"}, + {"2001:559:82e0::/48", "33662"}, + {"2001:18b0::/32", "12282"}, + {"2401:4900:6050::/40", "45609"}, + {"240e:44d:5940::/42", "140350"}, + {"2604:2d80:6d00::/38", "30036"}, + {"2620:5f:c000::/48", "39971"}, + {"2804:2450::/36", "264214"}, + {"2a00:4802:f00::/40", "8717"}, + {"2a03:ed00::/32", "35205"}, + {"2401:b8c0:a::/48", "141731"}, + {"240a:a30f::/32", "143433"}, + {"240e:108:11f0::/38", "4134"}, + {"2605:a940::/32", "15171"}, + {"2607:9080:5::/48", "701"}, + {"2a02:26f7:c4c1::/46", "20940"}, + {"2a07:45c2::/40", "31463"}, + {"2a07:f9c0::/29", "60144"}, + {"2402:800:5401::/44", "7552"}, + {"2600:380:f100::/46", "20057"}, + {"2a02:26f7:c448::/48", "36183"}, + {"2a0f:6580:100::/48", "213252"}, + {"2400:51c0::/32", "133073"}, + {"2405:9e40::/32", "139468"}, + {"2408:8956:9c00::/40", "17622"}, + {"2001:579:403f::/41", "22773"}, + {"2602:fc59::/40", "19625"}, + {"2607:f110:e280::/39", "21889"}, + {"2801:80:80::/48", "53150"}, + {"2001:df1:6b80::/48", "59045"}, + {"2001:b011:9400::/34", "3462"}, + {"2408:80fa:9000::/36", "136959"}, + {"2409:8061:3100::/36", "9808"}, + {"2602:fed2:7110::/48", "139677"}, + {"2804:6444:2000::/32", "269417"}, + {"2a07:ca40::/29", "207242"}, + {"2001:2042::/29", "3301"}, + {"240e:13:80a::/48", "140862"}, + {"2a00:1120::/32", "34574"}, + {"2a01:8d20::/32", "57795"}, + {"2a04:4e40:f420::/44", "54113"}, + {"2a06:e881:9008::/48", "210286"}, + {"2a0c:cbc0:1002::/29", "209620"}, + {"2409:8924:b100::/38", "56046"}, + {"2605:c0::/32", "397019"}, + {"2806:2f0:8163::/40", "17072"}, + {"2001:559:208::/48", "33659"}, + {"2001:559:c139::/46", "33652"}, + {"240e:3b4:5600::/34", "4134"}, + {"2a02:26f7:f348::/46", "36183"}, + {"2400:ff00::/45", "132045"}, + {"2a00:b980::/29", "41000"}, + {"2a03:f880::/32", "211700"}, + {"2a0e:aa07:f081::/48", "211323"}, + {"2a02:f406:fed0::/48", "328778"}, + {"2a0d:4b80::/29", "16245"}, + {"2001:67c:202c::/48", "1257"}, + {"2001:fd8:3002::/47", "132199"}, + {"2800:bf0:2c20::/47", "52257"}, + {"2001:630::/32", "786"}, + {"2001:678:258::/48", "58057"}, + {"2408:8456:2c00::/41", "17623"}, + {"2804:6c38::/32", "270453"}, + {"2a03:2880:f051::/45", "32934"}, + {"2408:8406:6000::/39", "4808"}, + {"2a02:26f7:bdcd::/46", "20940"}, + {"2a02:26f7:cdc0::/48", "36183"}, + {"2a0c:7140::/29", "39305"}, + {"2402:cac0::/32", "59217"}, + {"2606:50c0:8000::/46", "54113"}, + {"2a05:3580:2500::/36", "35807"}, + {"2a0e:9b40:1000::/48", "208431"}, + {"2001:250:2423::/48", "23910"}, + {"2607:f5b2::/32", "396190"}, + {"2a02:26f7:b905::/46", "20940"}, + {"2a0d:d6c7:258::/32", "200350"}, + {"2001:559:86b7::/48", "33668"}, + {"2602:fd98::/47", "14770"}, + {"2607:8b00:1::/48", "31463"}, + {"2607:fb10:70c0::/43", "2906"}, + {"2806:20d:503a::/41", "32098"}, + {"2a01:6ee0::/32", "62214"}, + {"2a06:a780::/29", "28022"}, + {"2402:8100:207f::/40", "45271"}, + {"240a:a8c9::/32", "144899"}, + {"2a02:2490::/32", "51815"}, + {"2001:559:3ab::/48", "7922"}, + {"2001:67c:1864::/48", "1853"}, + {"2001:ee0:9b40::/37", "45899"}, + {"2401:d800:7f30::/41", "7552"}, + {"2804:d80::/32", "52635"}, + {"2406:3000:3:9::/61", "4657"}, + {"2408:8000:2000::/33", "4837"}, + {"2405:9800:9d00::/34", "45430"}, + {"2408:8256:3d8c::/43", "17623"}, + {"2800:bf0:176::/48", "27947"}, + {"2806:102e:20::/46", "8151"}, + {"2804:7e0::/32", "262330"}, + {"2804:404c:12::/41", "265950"}, + {"2804:6c14::/32", "270444"}, + {"2a04:4e40:7810::/42", "54113"}, + {"2a07:7200:2::/32", "34197"}, + {"2a0b:2900:2300::/40", "48582"}, + {"2001:559:10f::/48", "7016"}, + {"2001:df0:426::/48", "38331"}, + {"2607:f208:d310::/44", "21499"}, + {"2a00:d0c0:201::/32", "58010"}, + {"2a02:dd8::/29", "8778"}, + {"2a0f:b580::/29", "51050"}, + {"2400:c800:109::/37", "4515"}, + {"2401:3bc0:9::/45", "137409"}, + {"2408:8001:3170::/44", "135061"}, + {"2602:fe54:23::/33", "16584"}, + {"2806:2f0:9961::/46", "17072"}, + {"2a02:fe80:1010::/48", "30148"}, + {"2406:ac40::/32", "141389"}, + {"2a00:1cf8:4000::/35", "44944"}, + {"2001:559:541::/48", "33651"}, + {"2001:67c:1274::/48", "208868"}, + {"2600:140b:b401::/36", "20940"}, + {"2a07:2900::/32", "33845"}, + {"2001:559:837d::/48", "33287"}, + {"240a:a011::/32", "142667"}, + {"2607:9280:a::/47", "395502"}, + {"2a02:d0::/32", "44096"}, + {"2a02:26f7:f4c8::/48", "36183"}, + {"2a02:ee80:4283::/45", "3573"}, + {"2a02:f842::/29", "199483"}, + {"2a03:680::/32", "197518"}, + {"2a0a:90c0:1068::/40", "205080"}, + {"2001:559:c175::/48", "33491"}, + {"2402:fc80::/32", "134695"}, + {"240e:108:26::/48", "4134"}, + {"2801:12:c800::/48", "10753"}, + {"2001:1bc7::/48", "29686"}, + {"2408:8957:2e00::/40", "17622"}, + {"240e:982:b400::/33", "4134"}, + {"2600:140f:fc01::/27", "20940"}, + {"2605:96c0::/32", "396841"}, + {"2804:2da0::/32", "265293"}, + {"2a01:7300::/32", "50031"}, + {"2a07:6d40::/29", "44592"}, + {"2a0c:780::/29", "200000"}, + {"2001:67c:81c::/48", "210905"}, + {"2001:67c:2344::/48", "200479"}, + {"2001:1260:f::/48", "28544"}, + {"240e:13:80c::/37", "134238"}, + {"2600:140a:1001::/36", "20940"}, + {"2602:fd01::/36", "23483"}, + {"2804:204:22d::/43", "28186"}, + {"2a00:c380::/32", "50629"}, + {"2804:23f4::/32", "264193"}, + {"2804:5534:9000::/34", "268696"}, + {"2a0a:4786::/31", "208861"}, + {"240e:900::/40", "141679"}, + {"2607:fc30::/39", "19740"}, + {"2a00:1cf8::/35", "44944"}, + {"2c0f:f888:500::/40", "37119"}, + {"2a02:26f7:11f::/32", "20940"}, + {"2001:559:101::/48", "33491"}, + {"2001:559:3b0::/48", "7015"}, + {"2001:559:81a0::/48", "7015"}, + {"2001:67c:2fc0::/48", "207424"}, + {"2602:fd09:1::/48", "212643"}, + {"2606:680::/42", "46429"}, + {"2800:160:1b05::/44", "14259"}, + {"2a0d:1c0::/29", "49095"}, + {"2600:806:101::/38", "701"}, + {"2605:b640:1530::/44", "53736"}, + {"2606:2800:4a98::/46", "15133"}, + {"2803:4a60::/32", "52468"}, + {"2804:26c8::/32", "263856"}, + {"2600:1008:f110::/31", "22394"}, + {"2a01:95a0::/32", "199711"}, + {"2a02:2e02:9680::/43", "12479"}, + {"2409:8904:cea0::/39", "24547"}, + {"2a01:b740:a07::/48", "714"}, + {"2a0e:20c0::/29", "208015"}, + {"2001:1288::/32", "28640"}, + {"2400:9380:88c0::/44", "136167"}, + {"2a01:8::/32", "2860"}, + {"2a01:6f80::/32", "56867"}, + {"2409:8017:2903::/48", "9808"}, + {"2a01:b960:230b::/48", "39239"}, + {"2a04:a380::/29", "62160"}, + {"2800:26f::/32", "19429"}, + {"2409:8c85:5420::/44", "56040"}, + {"2605:940:200::/40", "396919"}, + {"2803:b060::/36", "267815"}, + {"2a00:1e40::/32", "48689"}, + {"2a00:d7a0::/48", "8884"}, + {"2a02:26f7:cc8c::/48", "36183"}, + {"2a02:2a58:110::/38", "702"}, + {"2a04:4e40:3e10::/44", "54113"}, + {"2602:fe1a::/36", "55016"}, + {"2001:559:8126::/48", "33651"}, + {"2001:1a68:2b::/48", "29272"}, + {"2804:14d:7600::/40", "28573"}, + {"2a11:ef00::/29", "400522"}, + {"240e:45c:300::/40", "137266"}, + {"2605::/32", "29848"}, + {"2a0f:6580:101::/48", "48292"}, + {"2001:67c:2d90::/48", "41046"}, + {"2800:810:107::/28", "27747"}, + {"2804:2e1c:e505::/38", "265324"}, + {"2a01:280:300::/48", "3301"}, + {"2405:f600:50::/44", "45117"}, + {"2804:50dc::/32", "268415"}, + {"2804:64c0::/32", "269446"}, + {"2a00:c88::/32", "15474"}, + {"2a0e:46c4:1300::/44", "147224"}, + {"240a:a1ba::/32", "143092"}, + {"2606:ae00:9300::/37", "7287"}, + {"2804:6f58::/32", "270654"}, + {"2001:290::/32", "9318"}, + {"2001:16a2:c210::/42", "39386"}, + {"2405:f540::/48", "135905"}, + {"2408:8957:1940::/40", "17816"}, + {"2804:620c::/32", "28225"}, + {"2a01:100::/32", "39912"}, + {"2a0b:9940::/32", "29413"}, + {"2c0f:e8e0::/46", "327926"}, + {"2001:67c:12c::/48", "43692"}, + {"2001:938:2048::/33", "8437"}, + {"240e:d9:d800::/48", "38283"}, + {"2804:49a0::/32", "262498"}, + {"2a00:1c50:2002::/45", "30811"}, + {"2a02:26f7:cdc1::/46", "20940"}, + {"2a09:6::/47", "8888"}, + {"2001:559:c0e4::/47", "33651"}, + {"2001:44b8:6069::/48", "4739"}, + {"2602:feda:f070::/40", "38008"}, + {"2606:8900::/44", "33044"}, + {"2001:468:1600::/39", "11537"}, + {"2620:10d:2000::/41", "103"}, + {"2a02:cb80:2540::/48", "43766"}, + {"2001:918::/39", "3303"}, + {"2001:df6:7b80::/48", "142059"}, + {"2001:1a20::/32", "8607"}, + {"2402:800:6400::/39", "7552"}, + {"2600:6c38:f3c::/46", "20115"}, + {"2606:8240::/32", "399143"}, + {"2804:3848:2::/32", "266467"}, + {"2a02:29a8:900::/30", "60142"}, + {"2a02:29ea:1e::/48", "49604"}, + {"2405:1c0:6151::/46", "55303"}, + {"240e:966:f400::/39", "58772"}, + {"2602:fccd::/36", "397898"}, + {"2a01:4960::/32", "16267"}, + {"2400:cb00:437::/48", "13335"}, + {"2403:9800:6500::/40", "4648"}, + {"2405:6e00:6f0::/44", "133612"}, + {"2a02:f340::/29", "8767"}, + {"2c0f:f878::/32", "37109"}, + {"2001:4998:38::/46", "26085"}, + {"2404:4600:9::/48", "7625"}, + {"2409:8904:8140::/38", "24547"}, + {"240a:acd3::/32", "145933"}, + {"2804:96c::/32", "263085"}, + {"2a09:a640::/32", "203536"}, + {"2409:8087:6a4c::/42", "9808"}, + {"2001:18c8:400::/40", "54519"}, + {"240a:aa03::/32", "145213"}, + {"2620:101:8030::/47", "36856"}, + {"2804:5860::/32", "268125"}, + {"2409:8904:9390::/37", "24547"}, + {"240a:a7ed::/32", "144679"}, + {"2604:4d40:7000::/48", "399196"}, + {"2804:8290::/32", "272526"}, + {"2001:678:ff4::/48", "211033"}, + {"240a:a494::/32", "143822"}, + {"240a:ae87::/32", "146369"}, + {"2620:9:6000::/48", "22742"}, + {"2804:4948::/32", "267175"}, + {"2804:59fc:2000::/33", "268738"}, + {"2a05:e00::/29", "202793"}, + {"2a0c:9a40:8081::/48", "41108"}, + {"2001:4bc8::/29", "8412"}, + {"2404:1200:2::/47", "14636"}, + {"2404:8600:4800::/32", "17918"}, + {"2804:344c::/32", "262818"}, + {"2001:559:21b::/48", "7922"}, + {"240c:cec2::/23", "23910"}, + {"2001:678:718::/48", "786"}, + {"2001:16a2:6300::/40", "39386"}, + {"2001:4220:2::/48", "24835"}, + {"2407:8100:6::/48", "58436"}, + {"240e:11:9000::/30", "4134"}, + {"2a00:1d38:feee::/39", "50655"}, + {"2a02:26f7:d749::/46", "20940"}, + {"2a05:7780::/32", "39892"}, + {"2409:8904:3ca0::/39", "24547"}, + {"2801:0:270::/48", "262212"}, + {"2a0a:de00::/32", "8758"}, + {"2408:815f:e000::/35", "4837"}, + {"2606:2800:5110::/48", "15133"}, + {"2001:48d0:a000::/35", "75"}, + {"2404:8000:1016::/44", "17451"}, + {"2405:7000::/38", "9354"}, + {"2804:14d:72a7::/43", "28573"}, + {"2a04:d2c0::/29", "15552"}, + {"2a0b:3c40:19::/48", "20473"}, + {"2001:67c:23ec::/48", "24693"}, + {"2405:4500::/44", "9671"}, + {"240a:a36d::/32", "143527"}, + {"2600:1001:f000::/44", "6167"}, + {"2602:809:9000::/46", "399201"}, + {"2408:8406:4800::/39", "4808"}, + {"240a:a151::/32", "142987"}, + {"2620:90:c000::/48", "701"}, + {"2001:559:869d::/48", "33491"}, + {"2001:ee0:ccc0::/39", "45899"}, + {"2405:800:c000::/34", "7545"}, + {"2600:1404:5c01::/34", "20940"}, + {"2602:ffc5:10::/42", "7489"}, + {"2800:200:f101::/40", "12252"}, + {"2a00:9d20:1::/48", "60626"}, + {"2001:438:fffd:110::/63", "3456"}, + {"240a:a010::/32", "142666"}, + {"2804:3850::/32", "266469"}, + {"2804:4f84::/32", "268331"}, + {"2a10:a647::/32", "47753"}, + {"2001:559:c391::/48", "21508"}, + {"240a:a535::/32", "143983"}, + {"240a:ac12::/32", "145740"}, + {"2605:b100:1600::/40", "577"}, + {"2620:13d:4000::/44", "63326"}, + {"2804:5914::/32", "268168"}, + {"2a12:2940::/29", "62177"}, + {"2804:8564:1180::/34", "262313"}, + {"2a04:4e40:8a00::/48", "54113"}, + {"2a04:6680::/48", "198325"}, + {"2a09:bac0:404::/48", "13335"}, + {"2001:559:71c::/48", "20214"}, + {"2001:da8:231::/48", "24350"}, + {"2402:800:95c5::/42", "7552"}, + {"2600:1fa0:4010::/41", "16509"}, + {"2620:9:a003::/48", "395515"}, + {"2a02:26f7:fbc4::/48", "36183"}, + {"2400:addf::/39", "9541"}, + {"2409:8051:1000::/47", "56047"}, + {"2600:140f:2c01::/38", "20940"}, + {"2600:3000:1512::/36", "13649"}, + {"2804:590::/32", "262523"}, + {"2806:2f0:3580::/36", "17072"}, + {"2a0d:2582:160::/43", "211367"}, + {"2c0f:f538::/32", "22354"}, + {"2400:7400:e02e::/48", "38044"}, + {"2401:d800:5a90::/42", "7552"}, + {"2604:f400:6::/48", "19982"}, + {"2804:594c::/32", "52870"}, + {"2a02:2648::/29", "42514"}, + {"2a0b:2b40::/29", "42035"}, + {"2001:579:e01c::/42", "22773"}, + {"2001:1248:a566::/43", "11172"}, + {"2a02:7b0:64::/48", "39780"}, + {"2a0e:4200::/29", "204790"}, + {"2404:7900::/32", "131160"}, + {"2405:1c0:7f10::/46", "55303"}, + {"2a01:60e0::/32", "199935"}, + {"2a0d:8d06:1000::/48", "48079"}, + {"2001:559:8684::/46", "7922"}, + {"2001:df3:5c00::/48", "135905"}, + {"2804:4ab4::/32", "267258"}, + {"2001:579:9020::/41", "22773"}, + {"2001:df5:8280::/48", "138622"}, + {"2001:12f0:d40::/40", "1916"}, + {"2408:80fa:7580::/42", "17623"}, + {"2606:2800:e415::/48", "15133"}, + {"2a09:a540::/29", "57353"}, + {"2a0a:e100::/29", "206927"}, + {"2001:559:85f1::/48", "7016"}, + {"2409:8017:2904::/32", "56044"}, + {"2409:8050:2000::/47", "56047"}, + {"240e:967:1800::/34", "4134"}, + {"2605:3600:11::/48", "20034"}, + {"2620:ae::/48", "22950"}, + {"2001:559:8329::/48", "33660"}, + {"2403:34c0::/32", "4787"}, + {"2602:fed2::/48", "53356"}, + {"2607:ac80:200::/32", "17"}, + {"2804:4a60::/32", "267236"}, + {"2600:6c10:420::/38", "20115"}, + {"2600:9000:5300::/45", "16509"}, + {"2803:b2c0:2100::/48", "264851"}, + {"2404:1ec0::/32", "138511"}, + {"2804:14c:65a8::/41", "28573"}, + {"2a02:26f7:c548::/48", "36183"}, + {"2a11:fa80::/29", "204790"}, + {"2803:7a80:9bf::/32", "263713"}, + {"2a01:5043:7::/48", "202196"}, + {"2a02:ee80:4277::/44", "3573"}, + {"2402:2c80::/32", "134090"}, + {"2600:1f01:48e0::/46", "16509"}, + {"2a03:6e60:1::/48", "47720"}, + {"2a0b:9380::/32", "206002"}, + {"2001:579:c0df::/39", "22773"}, + {"2400:9c80:d7e1::/48", "58396"}, + {"2403:bd80::/32", "59105"}, + {"2404:1c40:10::/44", "24432"}, + {"2803:1440::/32", "263781"}, + {"2001:559:764::/48", "33287"}, + {"2001:7fc:2::/47", "3970"}, + {"2001:df5:6a00::/48", "133742"}, + {"2402:800:972b::/43", "7552"}, + {"2402:800:bde0::/38", "7552"}, + {"240e:438:2640::/36", "4134"}, + {"2804:21b0::/32", "264567"}, + {"2a00:f28:2000::/36", "57187"}, + {"2001:678:c08::/48", "207491"}, + {"2600:5c00:21d1::/48", "3456"}, + {"2804:554::/32", "53143"}, + {"2a02:26f7:eb48::/48", "36183"}, + {"2a02:26f7:fb48::/48", "36183"}, + {"2001:559:43e::/48", "20214"}, + {"2001:559:847c::/48", "7016"}, + {"2600:1402:3001::/36", "20940"}, + {"2804:1eb8::/32", "52564"}, + {"2a03:2880:f01d::/46", "32934"}, + {"2600:1000:9010::/40", "22394"}, + {"2605:9500:b001::/48", "14244"}, + {"2800:bf0:178::/40", "27947"}, + {"2a02:2ad0:11b::/45", "702"}, + {"2a07:3400::/32", "62874"}, + {"2408:840c:3800::/40", "17621"}, + {"240a:a27d::/32", "143287"}, + {"2605:5fc8::/32", "46573"}, + {"2801:80:1df0::/48", "267509"}, + {"2a03:90c0:210::/40", "199524"}, + {"2001:559:8414::/48", "7922"}, + {"2001:559:c3e4::/48", "7016"}, + {"2407:a6c0::/32", "63790"}, + {"2603:6010::/28", "10796"}, + {"2803:84c0::/32", "262191"}, + {"2804:42e8::/32", "267536"}, + {"2804:597c::/32", "268705"}, + {"2a0b:1600::/29", "56485"}, + {"2001:559:1b5::/48", "7016"}, + {"2001:559:766::/47", "33491"}, + {"2401:d800:58e0::/39", "7552"}, + {"2600:1409:800::/48", "35994"}, + {"2607:f098:4100::/34", "33363"}, + {"2804:5310::/32", "268561"}, + {"2407:6080::/32", "133583"}, + {"2001:df0:1800::/48", "23642"}, + {"2408:8456:be40::/39", "17816"}, + {"2605:9ac0:fffe::/48", "3356"}, + {"2a00:1c40::/29", "8851"}, + {"2a05:e380:3::/29", "15739"}, + {"2001:559:c0dd::/46", "7922"}, + {"2001:4490:7c00::/46", "9829"}, + {"2409:8915:2400::/39", "56044"}, + {"2409:8b0c::/30", "56042"}, + {"2806:268:489::/41", "13999"}, + {"2001:468::/40", "11537"}, + {"2001:67c:2388::/48", "12843"}, + {"2001:af8:4::/32", "5385"}, + {"2401:e700::/32", "38628"}, + {"2806:21a:1400::/40", "262913"}, + {"2a02:c28::/29", "8681"}, + {"2a02:2278:216::/32", "28907"}, + {"2a07:c884::/32", "207249"}, + {"2001:fd8:f240::/42", "132199"}, + {"240a:ade0::/32", "146202"}, + {"240e:3b5:1200::/39", "4134"}, + {"2600:1488:a002::/40", "20940"}, + {"2804:53a0:4000::/36", "268596"}, + {"2804:6214::/32", "269274"}, + {"2804:7f0c::/34", "271663"}, + {"2a0c:b640::/44", "34872"}, + {"240a:a4ac::/32", "143846"}, + {"240a:a6ab::/32", "144357"}, + {"2803:da10::/32", "271931"}, + {"2a01:8380::/32", "5433"}, + {"2a0f:5707:fff4::/47", "207401"}, + {"2408:8456:9640::/36", "17816"}, + {"2600:1417:c01::/35", "20940"}, + {"2a00:fe00:d07e::/48", "702"}, + {"2a02:778::/32", "48284"}, + {"2a02:26f0:ce00::/48", "34164"}, + {"2001:67c:26d0::/48", "198476"}, + {"2001:250:7031::/48", "23910"}, + {"2402:800:5bee::/37", "7552"}, + {"2607:f0b0::/45", "13319"}, + {"2001:44c8:a121::/36", "38444"}, + {"240a:a343::/32", "143485"}, + {"2607:fae0:f00c::/47", "8038"}, + {"2a07:ecc0::/29", "48399"}, + {"240a:a3c7::/32", "143617"}, + {"2607:f868:8008::/34", "20141"}, + {"2a0a:bb00::/29", "64435"}, + {"2001:678:638::/48", "204307"}, + {"240a:61:2000::/36", "9605"}, + {"240a:ad20::/32", "146010"}, + {"2800:200:e261::/40", "12252"}, + {"2a10:bc40::/29", "211598"}, + {"2001:250:6427::/48", "23910"}, + {"2403:9800:7f17::/48", "4648"}, + {"2409:8915:2d00::/38", "56044"}, + {"2a00:5200::/32", "20985"}, + {"2a04:7d82::/32", "44974"}, + {"2a0f:5680:2::/47", "60906"}, + {"2800:bf0:3804::/39", "27947"}, + {"2a06:1280:c0df::/36", "61138"}, + {"2a0e:6a00::/29", "209057"}, + {"2409:8054:54::/48", "9808"}, + {"240a:a6ed::/32", "144423"}, + {"2600:1408:9c02::/34", "20940"}, + {"2806:230:3025::/48", "11888"}, + {"2a06:a005:e0::/44", "211358"}, + {"2a0d:3140::/29", "198668"}, + {"2a0c:8040::/29", "211892"}, + {"2001:559:c4a9::/48", "33491"}, + {"2001:e68:20db:10::/63", "54994"}, + {"2408:80f1:20::/43", "140979"}, + {"2001:470:dd::/48", "397787"}, + {"2806:230:2026::/48", "265594"}, + {"2a00:bdc0:e007::/44", "28709"}, + {"2001:4490:d100::/46", "9829"}, + {"2402:5ec0:2000::/32", "23724"}, + {"2602:ff96:3::/48", "31863"}, + {"2603:c001:2810::/38", "31898"}, + {"2607:6980:e000::/44", "36351"}, + {"2804:3b98::/32", "266159"}, + {"2a02:25e8::/29", "52157"}, + {"2a09:e1c0::/32", "200462"}, + {"2a11::/48", "6233"}, + {"2001:44b8:30a4::/48", "7545"}, + {"2a01:6460::/32", "13193"}, + {"2800:40:32::/47", "16814"}, + {"240a:a879::/32", "144819"}, + {"2600:1488:6381::/37", "20940"}, + {"2605:9180:5000::/32", "53597"}, + {"2402:8100:2450::/45", "45271"}, + {"2408:8256:3d6c::/43", "17623"}, + {"2604:85c0::/45", "16524"}, + {"2620:1bc:1030::/32", "7726"}, + {"2806:20d:320a::/43", "32098"}, + {"2806:2f0:9763::/40", "17072"}, + {"2a06:1600:71::/48", "39221"}, + {"2001:250:504b::/43", "24361"}, + {"2409:8000:1100::/37", "9808"}, + {"2600:230f::/32", "20115"}, + {"2600:370f:3523::/44", "32261"}, + {"2604:20c0::/36", "40641"}, + {"2a02:2e02:1800::/40", "12479"}, + {"2a04:7100::/29", "62391"}, + {"2a0e:15c0::/38", "60781"}, + {"2a0e:eec1::/32", "49542"}, + {"2001:df6:6b00::/48", "135772"}, + {"2408:8459:7650::/36", "17816"}, + {"2602:fdea:2::/48", "19186"}, + {"2607:f1c0::/40", "8560"}, + {"2804:7a24::/32", "271350"}, + {"2001:250:240::/39", "23910"}, + {"240e:982:200::/36", "4134"}, + {"2800:160:2078::/45", "14259"}, + {"2a02:26f7:f7c9::/46", "20940"}, + {"2a06:9280::/29", "12984"}, + {"2408:8459:b010::/42", "17623"}, + {"2800:440:8104::/48", "27738"}, + {"2a02:888:8244::/46", "48695"}, + {"2a02:2e02:1d90::/38", "12479"}, + {"2800:160:2167::/44", "14259"}, + {"2a02:2410::/32", "44286"}, + {"2a02:26f7:e601::/46", "20940"}, + {"2001:1248:9900::/44", "11172"}, + {"2408:8459:e010::/42", "17623"}, + {"240e:44d:4300::/42", "140345"}, + {"2803:d320::/32", "263689"}, + {"2a11:2100::/29", "42375"}, + {"2001:678:7d4::/48", "13045"}, + {"2001:da8:c80d::/46", "24356"}, + {"2804:1d14::/32", "61694"}, + {"2406:2100::/45", "56209"}, + {"2a02:e980:cb::/43", "19551"}, + {"2001:418:9809::/33", "2914"}, + {"2403:9800:7f11::/45", "4771"}, + {"2408:8456:ed00::/42", "17622"}, + {"2800:560::/32", "27833"}, + {"2806:230:6006::/48", "265594"}, + {"2400:a980:34ff::/48", "133111"}, + {"240a:a03e::/32", "142712"}, + {"240a:a495::/32", "143823"}, + {"240e:108:83::/48", "4811"}, + {"2607:d500:d00::/40", "13768"}, + {"2a02:26f7:f644::/48", "36183"}, + {"2001:559:c24b::/48", "33650"}, + {"2402:9d80:269::/48", "131429"}, + {"240a:afa8::/32", "146658"}, + {"2606:5000:4a00::/35", "209"}, + {"2804:66f4::/32", "269594"}, + {"2001:67c:224::/48", "51164"}, + {"2402:1500:8000::/33", "25222"}, + {"240e:9b:f02a::/45", "140259"}, + {"2801:11:4800::/48", "269850"}, + {"2a03:e842::/44", "43131"}, + {"2401:d800:fdf0::/38", "7552"}, + {"2804:358:200::/32", "53246"}, + {"2804:d70::/41", "52626"}, + {"2a0a:1ac7:1::/32", "206897"}, + {"2402:4200:f000::/48", "24284"}, + {"240a:a587::/32", "144065"}, + {"240e:37b:ac00::/33", "4134"}, + {"2a10:f40::/29", "207459"}, + {"240a:a2c7::/32", "143361"}, + {"2620:52:11::/40", "22753"}, + {"2800:68:21::/46", "27947"}, + {"2001:41a8:604::/48", "34164"}, + {"2406:e000:c1e::/31", "23655"}, + {"2804:1380::/47", "263536"}, + {"2804:27d4::/32", "263924"}, + {"2a02:26f0:9600::/48", "34164"}, + {"240e:983:180b::/40", "4134"}, + {"2804:998:81::/32", "28589"}, + {"240a:a5ba::/32", "144116"}, + {"2602:fd50:20::/48", "206628"}, + {"2803:6940::/35", "61512"}, + {"2804:56a0::/32", "268013"}, + {"2804:5af4::/32", "268809"}, + {"2a02:26f7:fa40::/48", "36183"}, + {"2a07:35c2::/31", "197561"}, + {"2a0a:1f43::/29", "212144"}, + {"2c0f:f970::/32", "328471"}, + {"2600:370f:75aa::/43", "32261"}, + {"2a0a:7d80::/47", "6697"}, + {"2001:a10:185::/48", "207105"}, + {"2402:7500:f9ff::/48", "24158"}, + {"2406:9e00:1113::/48", "55352"}, + {"2620:160:e320::/44", "4196"}, + {"2a01:310::/32", "8312"}, + {"2a01:5041:4eff::/48", "202196"}, + {"2001:67c:1be8::/48", "57692"}, + {"2001:df1:3700:4000::40/48", "136324"}, + {"2001:4541:a000::/29", "9924"}, + {"2804:2558::/48", "264275"}, + {"2804:7d2c::/32", "271544"}, + {"2a06:55c0::/29", "206130"}, + {"2001:16d8:a0a1::/46", "16150"}, + {"2406:4440:80::/43", "46997"}, + {"2409:8054:41::/46", "56040"}, + {"2409:8c20:1834::/34", "56046"}, + {"2a02:cc4:2f00::/41", "8211"}, + {"2a03:9b80::/34", "375"}, + {"2001:67c:34c::/48", "28714"}, + {"2408:8459:5610::/42", "17623"}, + {"2605:a401:816a::/45", "33363"}, + {"2606:a000:408::/38", "11426"}, + {"2620:128:f021::/48", "18872"}, + {"2a00:47c0:711::/48", "27435"}, + {"2a01:c8::/38", "20756"}, + {"2a01:5a8:2::/47", "8866"}, + {"2401:13c0:c000::/36", "132652"}, + {"2600:1406:3f::/41", "20940"}, + {"2a01:7c8:f4::/33", "20857"}, + {"2a02:5620::/32", "202675"}, + {"2001:df7:a800::/48", "18267"}, + {"2620:12b:d005::/46", "35873"}, + {"2a01:4a0:2003::/29", "201011"}, + {"2c0f:f7a8:8011::/48", "4134"}, + {"2001:67c:1598::/48", "24642"}, + {"2406:c500:ffcd::/48", "7545"}, + {"240a:ac07::/32", "145729"}, + {"2607:fd48:fff0:1046::/44", "13536"}, + {"2803:f00:4c3::/48", "262182"}, + {"2804:7c64::/32", "271493"}, + {"2a00:f460::/32", "28968"}, + {"2001:67c:2224::/48", "42655"}, + {"2401:4900:ee0::/43", "134426"}, + {"240a:adeb::/32", "146213"}, + {"2600:1406:1e01::/34", "20940"}, + {"2800:800:a00::/43", "26611"}, + {"2804:1ddc::/32", "263258"}, + {"2a11:f240::/29", "208846"}, + {"2001:559:80d1::/48", "13367"}, + {"2402:800:3863::/43", "7552"}, + {"240a:a858::/32", "144786"}, + {"2600:6ce6:4410::/27", "16787"}, + {"2603:90f5:1200::/40", "20115"}, + {"240a:abb3::/32", "145645"}, + {"240e:30b:1200::/29", "4134"}, + {"2804:14c:5ba5::/41", "28573"}, + {"2804:14d:2a77::/44", "28573"}, + {"2a00:19a8::/32", "49640"}, + {"2001:559:82e5::/48", "7016"}, + {"2001:559:c2e7::/48", "33668"}, + {"2402:800:58ee::/39", "7552"}, + {"2402:800:96b7::/41", "7552"}, + {"2a00:1f78::/32", "8893"}, + {"2a02:26f7:d5c8::/47", "36183"}, + {"2a05:7f00:188::/48", "1921"}, + {"2402:8100:20e4::/47", "55644"}, + {"2409:8052:800::/47", "56047"}, + {"240e:44d:2c40::/42", "140349"}, + {"2804:7af4::/32", "271402"}, + {"2409:806a:900::/35", "9808"}, + {"2600:1014:b040::/42", "6167"}, + {"2804:e30:4c00::/38", "11338"}, + {"2806:2f0:7241::/46", "17072"}, + {"2a0e:97c3:5c7::/48", "20473"}, + {"2001:c20:486f::/43", "3758"}, + {"2409:805c:3100::/36", "9808"}, + {"240a:a254::/32", "143246"}, + {"240e:108:11d6::/48", "134756"}, + {"2804:5cd0::/32", "268932"}, + {"2a02:2400::/32", "29263"}, + {"2801:80:1b80::/48", "266461"}, + {"2001:44b8:1c::/46", "7545"}, + {"2400:c600:3410::/41", "24389"}, + {"2409:8914:a600::/39", "56044"}, + {"240a:a278::/32", "143282"}, + {"240e:3bd:1200::/39", "4134"}, + {"2600:1009:d000::/43", "6167"}, + {"2804:5154:130::/32", "268445"}, + {"2a0a:e805:500::/40", "64476"}, + {"2001:559:122::/48", "7015"}, + {"2804:789c::/32", "271254"}, + {"2a02:2149:c000::/34", "1241"}, + {"2406:3000:3:e::/58", "4657"}, + {"2620:132:f365::/40", "394977"}, + {"2a06:3040:b::/48", "203020"}, + {"2a0c:580::/29", "210107"}, + {"2a12:4946:a002::/40", "211088"}, + {"2001:559:726::/48", "33659"}, + {"2804:40fc::/32", "265996"}, + {"2c0f:f6d0:104::/46", "327687"}, + {"2001:559:4b6::/48", "21508"}, + {"2001:559:87c8::/48", "33667"}, + {"2001:1248:a4f4::/39", "11172"}, + {"2800:bf0:8267::/48", "27947"}, + {"2a01:a1c0::/32", "21412"}, + {"2a0a:90c0:1049::/45", "205080"}, + {"2001:559:c29b::/48", "33652"}, + {"2001:12c4::/33", "28262"}, + {"2401:4900:5190::/44", "45609"}, + {"2602:ff59::/36", "53282"}, + {"2607:f738:300::/41", "17184"}, + {"2803:6900:578::/48", "52423"}, + {"2a0f:b500::/32", "206313"}, + {"2408:8957:4200::/40", "17622"}, + {"240a:af14::/32", "146510"}, + {"2804:79a4::/32", "271318"}, + {"2a02:6ea0:ea00::/40", "60068"}, + {"2001:df5:fd00::/48", "138034"}, + {"2409:8904:2840::/39", "24547"}, + {"240a:a978::/32", "145074"}, + {"2606:f900:6100::/46", "16583"}, + {"2803:a80:1::/48", "22698"}, + {"2803:c180:2510::/32", "52341"}, + {"2a00:d4a0::/29", "15600"}, + {"2a07:6a82::/31", "203568"}, + {"2001:559:c344::/48", "21508"}, + {"2001:da8:2030::/44", "24357"}, + {"2603:c001:3430::/38", "31898"}, + {"2604:ca00:4d4::/42", "36492"}, + {"2800:160:1114::/47", "14259"}, + {"2001:559:819a::/48", "33489"}, + {"2602:808:4004::/48", "398960"}, + {"2804:6d48::/32", "270522"}, + {"2a02:26f7:ebcc::/48", "36183"}, + {"2a0e:44c0::/29", "39371"}, + {"2a0e:fd45:1001::/38", "44103"}, + {"2001:780:5307::/32", "12337"}, + {"2607:f7c0:8100::/34", "36444"}, + {"2804:310:3::/32", "262688"}, + {"2a01:8840:6d::/48", "207266"}, + {"2a01:cd01:4f2a::/47", "28708"}, + {"2a03:90c0:460::/43", "199524"}, + {"2001:579:a064::/43", "22773"}, + {"2001:ee0:d240::/39", "45899"}, + {"2405:6600::/37", "45845"}, + {"2806:2f0:9ca3::/41", "17072"}, + {"2a02:b08::/29", "25486"}, + {"2409:8054:40::/48", "9808"}, + {"240e:940:e00::/40", "136197"}, + {"2804:dc0::/32", "28610"}, + {"2804:2624::/36", "264324"}, + {"2401:d800:9610::/42", "7552"}, + {"2600:1f01:4874::/47", "16509"}, + {"2607:f708::/32", "18558"}, + {"2a06:1287:2900::/47", "207150"}, + {"2001:559:c32c::/47", "33659"}, + {"240e:a7:7fcc::/46", "140512"}, + {"2607:8700:106::/48", "25820"}, + {"2001:559:c209::/48", "33657"}, + {"2606:3380:54::/48", "53334"}, + {"2001:1388:4::/44", "6147"}, + {"2001:4998:3d::/41", "10310"}, + {"2402:800:bff0::/44", "7552"}, + {"240e:5a:4300::/40", "140294"}, + {"240e:3bd:9c00::/34", "140310"}, + {"2804:5b30::/32", "268824"}, + {"2001:67c:2d68::/48", "31169"}, + {"2400:a980:3100::/37", "133111"}, + {"2402:3a80:c000::/44", "38266"}, + {"2402:9d80::/47", "131429"}, + {"2605:3640::/32", "13476"}, + {"2800:5d0::/38", "52302"}, + {"2a02:2e02:9f70::/40", "12479"}, + {"2a06:f906::/36", "56630"}, + {"2a0e:22c0:1::/48", "48918"}, + {"2c0f:e868::/32", "328641"}, + {"2001:559:c35b::/45", "33650"}, + {"2602:fcd3:103::/48", "212934"}, + {"2804:6504::/32", "269463"}, + {"2a10:2f00:15f::/48", "212194"}, + {"2001:1a48::/32", "25512"}, + {"2600:1006:f050::/39", "22394"}, + {"2600:370f:60a5::/41", "32261"}, + {"2600:6c21:20::/38", "20115"}, + {"2806:2f0:34a1::/46", "17072"}, + {"2a02:26f7:df05::/46", "20940"}, + {"2a03:9000::/32", "49371"}, + {"2a07:4480::/32", "59494"}, + {"2a0a:22c0::/29", "60167"}, + {"2404:8000::/43", "17451"}, + {"2405:800:8000::/35", "4817"}, + {"2606:4b40::/32", "31791"}, + {"2803:6900:1500::/47", "52423"}, + {"2a02:2e02:2390::/37", "12479"}, + {"2001:1248:8459::/45", "11172"}, + {"2405:203:c03::/45", "55836"}, + {"2600:6c20:83f::/41", "20115"}, + {"2804:728c::/32", "270860"}, + {"2a02:26f7:b98b::/48", "20940"}, + {"2a02:2af8:410::/32", "702"}, + {"2a03:79a0::/32", "47989"}, + {"2a0c:9480::/29", "62177"}, + {"2001:7a8:3450::/32", "13193"}, + {"2804:31a8::/32", "265029"}, + {"240a:ad4d::/32", "146055"}, + {"2a02:26f0:110::/48", "34164"}, + {"2001:468:c08::/45", "10886"}, + {"2001:67c:25dc::/48", "41018"}, + {"240a:a0f2::/32", "142892"}, + {"2600:2101::/29", "11404"}, + {"2a09:6640::/29", "13135"}, + {"2405:1dc0::/32", "46047"}, + {"2804:4290::/32", "267508"}, + {"2408:8957:9300::/40", "17816"}, + {"2600:1409:8801::/37", "20940"}, + {"2800:160:11dd::/42", "14259"}, + {"2804:2cb4::/32", "265238"}, + {"2600:1004:a030::/40", "22394"}, + {"2604:2100::/32", "3634"}, + {"2800:160:17c4::/47", "14259"}, + {"2804:cc4:11::/32", "52551"}, + {"2a00:1630:5201::/29", "49544"}, + {"2001:559:1a1::/48", "7725"}, + {"2001:559:468::/48", "33491"}, + {"2404:8d05::/30", "10089"}, + {"2406:16c0::/40", "132934"}, + {"2620:13a:b001::/48", "54344"}, + {"2804:1d7c::/32", "264373"}, + {"2806:260:100a::/43", "13999"}, + {"2a00:fa60::/35", "53550"}, + {"2a0d:1680::/29", "199926"}, + {"2404:99c0::/32", "132196"}, + {"2404:e801:2020::/32", "55430"}, + {"2409:8027:801::/34", "9808"}, + {"240a:a73f::/32", "144505"}, + {"2602:fed2:7700::/48", "38179"}, + {"2620:111:1036::/48", "18469"}, + {"2804:10a4:4000::/35", "263642"}, + {"2804:37f0:9900::/34", "266445"}, + {"2806:2f0:1080::/48", "22884"}, + {"2a05:f840::/29", "57795"}, + {"2001:1820:1b::/32", "12956"}, + {"2800:160:13cd::/42", "14259"}, + {"2a02:26f7:da::/48", "36183"}, + {"2a02:2e02:9550::/42", "12479"}, + {"2001:438:6e::/47", "397942"}, + {"2400:fc00:4550::/36", "45773"}, + {"2403:6e40:200::/44", "9830"}, + {"240a:aaa7::/32", "145377"}, + {"240e:3b2:2200::/37", "136198"}, + {"240e:44d::/42", "140345"}, + {"2001:579:c299::/37", "22773"}, + {"2804:1538::/32", "263378"}, + {"2804:4048::/32", "265949"}, + {"2001:559:8170::/48", "33659"}, + {"2604:9000::/39", "19693"}, + {"2604:b180:170::/44", "36339"}, + {"2a00:5400:f006::/36", "35753"}, + {"2a00:6300::/32", "42228"}, + {"2a02:16d8:103::/48", "15133"}, + {"2001:ac8:89::/43", "9009"}, + {"2406:6200::/37", "23756"}, + {"240a:aabd::/32", "145399"}, + {"240e:438:40::/38", "4134"}, + {"2602:807:6003::/48", "399209"}, + {"2001:250:5074::/44", "24361"}, + {"2409:8055:5c::/48", "9808"}, + {"2620:14d::/36", "17324"}, + {"2a02:26f7:cb89::/42", "20940"}, + {"2a07:1ec0::/29", "41364"}, + {"2001:678:f::/43", "25192"}, + {"2408:822a::/32", "4837"}, + {"2a07:c883::/32", "59872"}, + {"2a0e:e6c0:2000::/36", "51579"}, + {"2c0e:4010:a000::/36", "36994"}, + {"2001:550:5700:100::/36", "174"}, + {"2607:fae0:f200::/44", "63311"}, + {"2804:29b8::/32", "28126"}, + {"2804:8094::/32", "271760"}, + {"2a04:4e40:fa00::/48", "54113"}, + {"2a07:85c1::/48", "174"}, + {"2a0e:8f01::/48", "38230"}, + {"2001:1838:6004::/48", "13331"}, + {"2001:4878:c007::/44", "12222"}, + {"2607:fb58:2002::/36", "36086"}, + {"2803:15c0:5000::/32", "269822"}, + {"2804:19ac::/32", "61811"}, + {"2804:3b6c::/32", "266148"}, + {"2a05:dfc7:45::/46", "208753"}, + {"2a06:7d80::/29", "204046"}, + {"2a12:b340::/29", "59829"}, + {"2001:548::/32", "30432"}, + {"2001:559:86ee::/48", "33287"}, + {"2001:559:c1a8::/48", "33662"}, + {"2001:67c:1bb8::/48", "3306"}, + {"240e:3b0:ec00::/35", "140314"}, + {"2600:1002:b000::/41", "6167"}, + {"2804:14d:728e::/42", "28573"}, + {"2804:6c4c::/32", "270458"}, + {"2a07:8e00::/29", "42331"}, + {"2001:500:a0::/45", "12041"}, + {"2600:1012:b030::/44", "22394"}, + {"2804:74:ffff::/48", "52468"}, + {"2804:404c::/43", "265950"}, + {"2a01:4b40::/36", "21299"}, + {"240e:43:f800::/37", "134761"}, + {"240e:61:2000::/35", "136199"}, + {"2a02:5be0:2::/47", "39588"}, + {"2406:6e00:ef98::/35", "17457"}, + {"240a:ac58::/32", "145810"}, + {"2a00:cb8:971::/48", "15695"}, + {"2a01:368::/29", "20845"}, + {"2001:67c:20c4::/48", "8767"}, + {"240e:ff:9000::/36", "134763"}, + {"2607:f518:2000::/37", "46887"}, + {"2620:135:2000::/40", "19704"}, + {"2a00:dd0:bbbc::/33", "47869"}, + {"2a0d:7c40::/32", "54290"}, + {"2402:800:7e82::/42", "7552"}, + {"2803:7200:18::/34", "27696"}, + {"2806:319::/32", "265530"}, + {"2a02:710::/32", "42973"}, + {"2a02:2668::/34", "16345"}, + {"2a09:26c0::/32", "41114"}, + {"2a0f:3000::/29", "12586"}, + {"2001:559:5f8::/48", "33659"}, + {"2001:559:8653::/48", "33659"}, + {"2405:3440::/44", "138311"}, + {"2602:fc09:cd::/43", "13780"}, + {"2806:2f0:6023::/41", "17072"}, + {"2a04:b880:5::/48", "43578"}, + {"2800:160:1860::/46", "14259"}, + {"2a02:888:8243::/48", "47794"}, + {"2a02:e980:142::/44", "19551"}, + {"2404:8c40::/48", "136374"}, + {"2602:fcce:904::/38", "399200"}, + {"2603:c024:8000::/35", "31898"}, + {"2a02:26f0:a::/48", "34164"}, + {"2408:8956:6600::/40", "17622"}, + {"2804:5e88::/32", "269039"}, + {"2806:230:601b::/48", "11888"}, + {"2a01:c506::/28", "12479"}, + {"2a02:26f7:c74d::/42", "20940"}, + {"2a02:26f7:fb40::/48", "36183"}, + {"2a0e:97c0:6c0::/44", "210013"}, + {"2001:559:c22d::/46", "33287"}, + {"2001:19d0:305::/48", "6423"}, + {"2406:daa0:80a0::/44", "16509"}, + {"2407:ca40:30::/48", "142502"}, + {"240a:a715::/32", "144463"}, + {"240a:acec::/32", "145958"}, + {"2a12:4946:4000::/44", "211184"}, + {"2001:1248:a54a::/43", "11172"}, + {"2404:bf40:a340::/48", "2764"}, + {"2602:80c:f000::/44", "400235"}, + {"2602:fd8d::/36", "398044"}, + {"2804:ad4::/32", "52925"}, + {"2a05:b2c0::/31", "12859"}, + {"2001:559:4d4::/48", "20214"}, + {"2408:8456:aa10::/42", "134543"}, + {"240e:980:9c00::/31", "4134"}, + {"2600:370f:7085::/46", "32261"}, + {"2a07:9444::/30", "202682"}, + {"2405:7740::/32", "23827"}, + {"2409:8087:5d00::/34", "9808"}, + {"240a:a1d4::/32", "143118"}, + {"240e:49:5000::/36", "137693"}, + {"2804:7328:1000::/34", "270899"}, + {"2404:c800:8203::/48", "20940"}, + {"240a:a7c4::/32", "144638"}, + {"2804:14d:c600::/40", "28573"}, + {"2a02:26f7:f945::/46", "20940"}, + {"2001:13b0:c001::/35", "3549"}, + {"2600:1415:1801::/37", "20940"}, + {"2600:370f:5281::/41", "32261"}, + {"2605:3600:1a::/48", "20034"}, + {"2804:210::/32", "262790"}, + {"2804:7a8:200::/32", "262309"}, + {"2a00:9a40::/32", "6819"}, + {"2402:ef19:200::/30", "7633"}, + {"2804:1138::/32", "262726"}, + {"2001:550:409::/48", "30103"}, + {"240a:a764::/32", "144542"}, + {"2600:1014:a020::/40", "22394"}, + {"2803:840:2300::/47", "263793"}, + {"2a01:358:5811::/37", "9121"}, + {"2a0e:b107:580::/44", "138211"}, + {"240e:87c:390::/41", "137692"}, + {"2620:df:4000::/48", "14618"}, + {"2804:14d:1400::/40", "28573"}, + {"2a02:e182::/36", "33517"}, + {"2402:800:7cb0::/41", "7552"}, + {"240a:aaeb::/32", "145445"}, + {"2605:e000:40b::/48", "10838"}, + {"2a02:1390:f000::/40", "21351"}, + {"2001:559:8069::/48", "7015"}, + {"2401:14c0::/45", "136531"}, + {"2408:8459:c010::/42", "17623"}, + {"240a:ad9f::/32", "146137"}, + {"2804:a00::/47", "262838"}, + {"2a02:ac80:4001::/35", "25145"}, + {"2a03:7380:5c80::/42", "13188"}, + {"2a11:2900::/29", "212559"}, + {"2001:df3:b880::/48", "17538"}, + {"2403:fe00::/32", "38743"}, + {"2804:8544::/32", "272568"}, + {"2400:7e00::/32", "24572"}, + {"2402:1c00::/36", "23838"}, + {"2602:fbb6::/36", "2914"}, + {"2606:3c80:a300:10::/40", "33582"}, + {"2800:160:2031::/46", "14259"}, + {"2804:dcc::/32", "28638"}, + {"2a02:88d:823f::/40", "47794"}, + {"2001:550:3501::/38", "174"}, + {"2001:559:755::/48", "33651"}, + {"240a:a2ea::/32", "143396"}, + {"2600:1415:19::/38", "20940"}, + {"2605:a840::/32", "7775"}, + {"2804:760::/35", "262638"}, + {"2804:1820::/32", "61920"}, + {"2a04:fb00:1::/48", "39315"}, + {"2001:559:8288::/48", "7015"}, + {"2804:5b7c::/32", "268848"}, + {"2001:da8:209::/48", "23910"}, + {"2400:9380:84c0::/44", "136167"}, + {"240a:ad3a::/32", "146036"}, + {"2620:109:3000::/45", "29888"}, + {"2804:4a78:a200::/33", "267242"}, + {"2a09:5180::/29", "42487"}, + {"2a0a:340:ff00::/40", "48043"}, + {"2a0b:7080:10::/42", "7489"}, + {"2a0b:f100::/29", "43451"}, + {"2001:470:61::/45", "6939"}, + {"2001:4490:d140::/46", "9829"}, + {"2401:fa00:42::/45", "24424"}, + {"2409:8915:2b00::/37", "56044"}, + {"2620:5e:c000::/48", "393304"}, + {"2800:440:106::/48", "27738"}, + {"2a0e:8300::/29", "43415"}, + {"2400:52e0:1::/48", "200325"}, + {"2402:800:b1f0::/38", "7552"}, + {"2a0e:5c00::/29", "209097"}, + {"2001:4b21:0:1::/32", "34288"}, + {"2620:11b:3000::/48", "26470"}, + {"2803:b60::/32", "269797"}, + {"2804:5e48:ff50::/48", "269023"}, + {"2001:41e0::/32", "20932"}, + {"2402:8100:30d0::/44", "45271"}, + {"2404:4a00:2094::/48", "55423"}, + {"240a:ac1f::/32", "145753"}, + {"240a:aff7::/32", "146737"}, + {"2804:52e0::/32", "268547"}, + {"2a02:ee80:42d2::/45", "3573"}, + {"2a09:bac0:38::/47", "13335"}, + {"2001:559:87cf::/48", "7922"}, + {"2402:800:9b1d::/42", "7552"}, + {"2408:8957:12c0::/39", "17816"}, + {"240e:44d:4280::/41", "4134"}, + {"2804:5d48::/32", "268962"}, + {"2a0e:d780::/29", "204790"}, + {"2600:1401:c001::/30", "20940"}, + {"2600:1406:9401::/36", "20940"}, + {"2806:3d0::/32", "398013"}, + {"2a02:26f7:e7d4::/48", "36183"}, + {"2a0c:f8c0::/30", "210214"}, + {"2a0f:3784:103::/40", "213204"}, + {"2001:559:c0d2::/48", "7922"}, + {"2602:fef0::/47", "396388"}, + {"2607:f208:df00::/48", "398101"}, + {"2a07:14c0:6000::/36", "208861"}, + {"2001:678:150::/48", "59617"}, + {"2408:8409:8400::/40", "4808"}, + {"240e:108:20::/48", "4134"}, + {"2604:4d40:fff::/48", "213073"}, + {"2804:14c:f200::/40", "28573"}, + {"2804:32ac::/32", "265092"}, + {"2806:230:401c::/48", "265594"}, + {"2a02:26f7:c8cc::/48", "36183"}, + {"2a02:26f7:d211::/42", "20940"}, + {"2800:160:16a6::/47", "14259"}, + {"2803:2540:12::/48", "271874"}, + {"2a02:2218::/29", "41157"}, + {"2a02:f040::/47", "59605"}, + {"2001:250:582b::/43", "24363"}, + {"2001:1a11:1d::/46", "42298"}, + {"240a:a043::/32", "142717"}, + {"2600:380:7480::/38", "20057"}, + {"2001:559:c3a1::/46", "7015"}, + {"2403:c380::/32", "59189"}, + {"240e:980:8900::/40", "4134"}, + {"2607:fd48:202::/47", "13536"}, + {"2804:508::/32", "52999"}, + {"2001:1a40:110::/44", "5416"}, + {"2404:bf40:e902::/48", "7545"}, + {"240a:a023::/32", "142685"}, + {"2804:1248:9000::/33", "263467"}, + {"2804:3220:2001::/46", "265058"}, + {"2804:5490::/32", "268658"}, + {"2804:76a0:f000::/36", "271124"}, + {"2001:df5:9a80::/48", "134458"}, + {"240a:a0ee::/32", "142888"}, + {"2620:7e:60c0::/48", "7385"}, + {"2408:8459:6a50::/37", "17816"}, + {"240a:a107::/32", "142913"}, + {"240a:a9a6::/32", "145120"}, + {"2607:f740:e00d::/43", "63911"}, + {"2800:160:1e6b::/43", "14259"}, + {"2a0e:1bc1::/35", "208621"}, + {"2a0e:b107:260::/44", "208627"}, + {"2402:800:b830::/41", "7552"}, + {"2405:6e00:488::/43", "18291"}, + {"240a:a49d::/32", "143831"}, + {"2804:4c60::/32", "267367"}, + {"2a02:26f7:b9a1::/46", "20940"}, + {"2a03:2880:f044::/47", "32934"}, + {"2a10:ac00::/32", "31242"}, + {"2402:800:bd80::/42", "7552"}, + {"2402:800:be70::/39", "7552"}, + {"2a02:51c0::/32", "42277"}, + {"2c0f:f418:4::/32", "37714"}, + {"2001:67c:253c::/48", "21080"}, + {"2401:d800:f260::/40", "7552"}, + {"2405:3140:11::/48", "56006"}, + {"2409:8924:1f00::/34", "56046"}, + {"2a00:79e1:805::/48", "15169"}, + {"2001:678:f2c::/48", "211499"}, + {"2600:805:808::/48", "33172"}, + {"2600:e400::/29", "30404"}, + {"2602:ffc5:610::/44", "147173"}, + {"2001:1900:3013::/32", "3356"}, + {"2620:126:e000::/48", "21556"}, + {"2804:26a0::/32", "263845"}, + {"2a0c:93c0:8020::/48", "212465"}, + {"2806:230:1001::/48", "11888"}, + {"2a04:5300::/29", "13135"}, + {"2a0e:68c0:2::/48", "209121"}, + {"2001:559:c18b::/48", "21508"}, + {"2405:a100:10::/41", "131283"}, + {"2804:3bac::/35", "266164"}, + {"2a0b:e640:1::/48", "206316"}, + {"2402:800:5e01::/42", "7552"}, + {"240a:abfc::/32", "145718"}, + {"2a01:7660::/45", "12843"}, + {"2a03:b780::/32", "29134"}, + {"2a11:8700::/29", "204790"}, + {"2804:d34::/32", "52611"}, + {"2804:2a80:8000::/33", "53094"}, + {"2001:559:c12f::/48", "33656"}, + {"240a:adb3::/32", "146157"}, + {"2604:500::/32", "22464"}, + {"2806:230:100e::/48", "265594"}, + {"240a:a81f::/32", "144729"}, + {"2600:1404:e800::/48", "35994"}, + {"2600:9000:21f3::/38", "16509"}, + {"2604:2a00::/32", "23138"}, + {"2001:ee0:df00::/34", "45899"}, + {"2400:8b00:b00::/42", "45727"}, + {"2404:3440::/32", "138534"}, + {"2408:840c:c900::/40", "17621"}, + {"2602:ffc5:190::/46", "7489"}, + {"2804:28e4:e825::/35", "28260"}, + {"2a11:4e00::/36", "213042"}, + {"2001:67c:2fd0::/48", "201925"}, + {"240a:a574::/32", "144046"}, + {"2801:80:50::/48", "11802"}, + {"2409:8a50:300::/37", "56047"}, + {"240e:965:9800::/34", "4134"}, + {"2a07:5440::/29", "24875"}, + {"2a0d:da00::/32", "205072"}, + {"2400:ffc0:4::/47", "132335"}, + {"2401:d800:2c70::/40", "7552"}, + {"240a:ae73::/32", "146349"}, + {"2803:e40:84::/44", "27797"}, + {"2804:3f10:6101::/38", "262566"}, + {"2a0d:5600:63::/48", "9009"}, + {"2405:6e00:400::/43", "133612"}, + {"240e:8::/31", "4134"}, + {"2606:6380:5::/46", "26721"}, + {"2804:8434:300::/47", "272246"}, + {"2a00:1cb8:2:e::/48", "12713"}, + {"2a02:26f7:dc09::/46", "20940"}, + {"2a03:5780::/48", "25122"}, + {"2409:8038:900::/35", "9808"}, + {"240a:a3bf::/32", "143609"}, + {"240e:5a:43c0::/37", "140295"}, + {"2606:a000::/37", "11426"}, + {"2804:6a1c::/32", "270313"}, + {"2a02:2f0c:8002:3::4/61", "8708"}, + {"2a02:ac80:f001::/29", "25145"}, + {"2a0b:ae40:1::/45", "40676"}, + {"2001:1248:96c5::/43", "11172"}, + {"240a:a988::/32", "145090"}, + {"2600:370f:526a::/40", "32261"}, + {"2a00:e98::/32", "39912"}, + {"2a02:26f0:8a01::/39", "20940"}, + {"2a03:a060::/32", "203538"}, + {"2a0b:abc0::/29", "205516"}, + {"2001:559:c380::/48", "33659"}, + {"2620:11e:3083::/48", "7060"}, + {"2803:b780:a::/43", "27742"}, + {"2001:559:80c3::/45", "33651"}, + {"2606:2400:1002::/48", "16896"}, + {"2803:efc0::/48", "3549"}, + {"2804:7e58::/32", "271618"}, + {"2a02:26f7:f780::/48", "36183"}, + {"2001:67c:2380::/48", "20897"}, + {"2602:103:2000::/33", "20115"}, + {"2800:e01:7000::/30", "27665"}, + {"2804:799c::/32", "271316"}, + {"2a02:888:8144::/46", "48695"}, + {"2a02:26f7:c340::/48", "36183"}, + {"2a0e:7bc0::/29", "57610"}, + {"2402:800:34c5::/43", "7552"}, + {"2a01:5041:2efd::/46", "202196"}, + {"2a02:25b0::/32", "49101"}, + {"2602:ffcd::/36", "55254"}, + {"2800:160:12a6::/44", "14259"}, + {"2a02:2e02:9fd0::/34", "12479"}, + {"2404:f4c0:ff13::/48", "149506"}, + {"2804:14c:75ab::/41", "28573"}, + {"2001:550:7702:1::/47", "174"}, + {"2001:da8:e81b::/48", "24368"}, + {"2403:1940:100::/48", "137935"}, + {"2804:84a8::/32", "272274"}, + {"2405:e40::/45", "139005"}, + {"2409:8087:5020::/40", "56047"}, + {"240a:a38f::/32", "143561"}, + {"240e:3b3:9200::/36", "140317"}, + {"2001:67c:2558::/48", "20943"}, + {"2401:b00:12::/36", "17564"}, + {"2001:250:3c0d::/46", "138369"}, + {"240e:45c:8200::/40", "131285"}, + {"2604:3940::/32", "31841"}, + {"2606:5080::/32", "63343"}, + {"2a00:4a00:3000::/33", "39356"}, + {"2408:8256:3b9f::/37", "17816"}, + {"240a:ace3::/32", "145949"}, + {"240e:e1:8e00::/35", "4811"}, + {"2607:fcd0:100:f::/52", "8100"}, + {"2a01:488:bb1a::/48", "398106"}, + {"2a02:888:8250::/48", "48695"}, + {"2a02:6f60::/32", "12617"}, + {"2806:2f0:83a1::/46", "17072"}, + {"2a01:4642:100::/40", "9042"}, + {"2804:6498::/32", "269437"}, + {"2804:83ec::/32", "272229"}, + {"2400:1a00:8003::/43", "17501"}, + {"240a:ab48::/32", "145538"}, + {"2605:e4c0::/32", "63394"}, + {"2606:82c0:11::/45", "32167"}, + {"2401:d800:2db2::/41", "7552"}, + {"2408:8459:f110::/42", "17623"}, + {"2600:40ff:fcfc::/47", "7046"}, + {"2607:fc48:440::/48", "40009"}, + {"2001:1930:7c08::/48", "11985"}, + {"2408:8459:3c10::/41", "17623"}, + {"2605:8780::/32", "393457"}, + {"2803:6700:640::/48", "263210"}, + {"2a02:4e0:fe02::/48", "16135"}, + {"2a02:e88:8000::/48", "44914"}, + {"2a02:25a8::/32", "12824"}, + {"2a05:6d80::/29", "9110"}, + {"2407:5c80::/32", "59362"}, + {"2804:434c::/32", "267561"}, + {"2001:559:756::/47", "7922"}, + {"2001:19b8::/32", "30340"}, + {"2401:d800:7160::/40", "7552"}, + {"240e:45c:b600::/33", "131285"}, + {"2a00:5e80::/32", "15557"}, + {"2001:559:753::/48", "33659"}, + {"240e:45c:b100::/40", "140537"}, + {"2a10:a500:21::/32", "205920"}, + {"2408:8226::/32", "4837"}, + {"240a:a138::/32", "142962"}, + {"2001:44b8:1065::/48", "4739"}, + {"2409:8087:6100::/38", "9808"}, + {"2804:14d:1a85::/41", "28573"}, + {"2804:2dd8::/32", "265307"}, + {"2804:6528::/32", "269472"}, + {"2a02:26f7:cf04::/48", "36183"}, + {"2001:67c:8fc::/48", "212925"}, + {"2402:a00::/43", "45916"}, + {"2403:9800:7c00::/40", "4648"}, + {"2620:149:14a::/47", "714"}, + {"2803:f340::/35", "14754"}, + {"2001:67c:1b58::/47", "35559"}, + {"2404:1c40:2d::/48", "24432"}, + {"240e:145::/30", "4134"}, + {"2605:e740:100::/40", "174"}, + {"2620:31:2007::/48", "53722"}, + {"2804:2d14::/32", "265260"}, + {"2001:559:83d6::/48", "33287"}, + {"2402:800:55c5::/43", "7552"}, + {"2407:e80:4::/32", "58689"}, + {"2409:8087:5802::/48", "56040"}, + {"2600:6c39:409::/41", "20115"}, + {"2620:103:a000::/44", "12148"}, + {"2806:300::/46", "28387"}, + {"2a0f:5707:aa00::/44", "34924"}, + {"2001:559:3e6::/48", "20214"}, + {"2001:918:ffb7::/48", "8300"}, + {"2407:a600:4000::/36", "18004"}, + {"2600:1000:b000::/40", "6167"}, + {"2600:40fc:1010::/45", "14210"}, + {"2001:678:9c::/48", "57801"}, + {"2605:8300:f::/48", "25645"}, + {"2a02:26f7:bd04::/48", "36183"}, + {"2a02:26f7:bd48::/48", "36183"}, + {"2a12:eb00::/29", "49581"}, + {"2402:7d80:9999::/48", "63583"}, + {"2804:151:1::/46", "10954"}, + {"2a03:7a0::/29", "43940"}, + {"2001:1248:55cb::/43", "11172"}, + {"240e:974:e01::/35", "4134"}, + {"2401:d800:9ca0::/41", "7552"}, + {"240a:a94a::/32", "145028"}, + {"2604:5540:4010::/48", "13750"}, + {"2607:d300::/32", "8059"}, + {"2001:1a11:12a::/47", "42298"}, + {"2001:44b8:30b3::/44", "4739"}, + {"2404:8000:100c::/43", "17451"}, + {"240a:a12d::/32", "142951"}, + {"240c:c0a8:5c49::/48", "24364"}, + {"2606:5000:600::/35", "209"}, + {"2803:3400::/32", "14754"}, + {"2804:3574::/32", "266287"}, + {"2804:70bc:9000::/33", "270745"}, + {"2a00:1420::/32", "44993"}, + {"2a0e:15c2::/29", "60781"}, + {"2001:67c:2ae0::/48", "3292"}, + {"2600:6c38:748::/45", "20115"}, + {"2804:14d:ac00::/40", "28573"}, + {"2804:1d04:f000::/36", "61689"}, + {"2804:55bc::/32", "267953"}, + {"2401:8800:a04::/40", "17439"}, + {"2404:2440:cafe::/48", "138521"}, + {"2001:559:163::/48", "33652"}, + {"2001:559:c2e0::/48", "7016"}, + {"2403:3b00::/32", "38083"}, + {"240e:678:e200::/39", "140329"}, + {"2804:2e34::/32", "265331"}, + {"2a0f:9340:3d::/48", "1299"}, + {"2001:67c:20d0::/47", "5421"}, + {"2001:1a68:c::/43", "15694"}, + {"2408:8456:ac10::/42", "134543"}, + {"2804:eec:1301::/48", "25933"}, + {"2804:217c::/32", "264557"}, + {"2804:6828::/32", "269672"}, + {"2a03:2880::/34", "32934"}, + {"2001:559:c1de::/48", "33287"}, + {"2408:8459:d080::/39", "17816"}, + {"240e:329::/25", "4134"}, + {"2602:fcdd::/36", "398697"}, + {"2001:559:c419::/48", "7016"}, + {"2405:fb80::/32", "132006"}, + {"240a:a5d8::/32", "144146"}, + {"2600:1401:7::/48", "35994"}, + {"2602:fd0f::/36", "18515"}, + {"2001:559:8218::/47", "7922"}, + {"240e:44d:1c80::/41", "4134"}, + {"2804:30b4::/32", "264970"}, + {"2a02:2e02:1610::/41", "12479"}, + {"2001:67c:59c::/48", "59448"}, + {"240e:438:9a40::/37", "4134"}, + {"2a02:88d:812f::/48", "47794"}, + {"2a02:26f7:b999::/46", "20940"}, + {"2a0e:b107:1590::/47", "142598"}, + {"2001:550:1900:2::/45", "174"}, + {"240a:a082::/32", "142780"}, + {"2600:380:2000::/40", "20057"}, + {"2a03:2880:f238::/46", "32934"}, + {"2a0c:efc0::/46", "206356"}, + {"2001:df3:9400::/48", "134138"}, + {"2803:180::/32", "28036"}, + {"2804:5c0c::/32", "268884"}, + {"2c0f:f4c0:1482::/32", "37611"}, + {"2001:df4:9800::/48", "38775"}, + {"2400:4480:1000::/47", "17426"}, + {"2408:8256:38a0::/39", "17816"}, + {"2604:d600:115c::/38", "32098"}, + {"2a01:81e0::/46", "199783"}, + {"2001:678:538::/48", "197942"}, + {"2001:df0:d680::/46", "139287"}, + {"2804:4d4::/32", "262469"}, + {"2a0a:3200::/29", "400177"}, + {"2001:4210:9805::/44", "25818"}, + {"2408:8756:d100::/28", "17816"}, + {"240a:a80c::/32", "144710"}, + {"2800:bf0:8298::/42", "27947"}, + {"2a02:26f7:f701::/46", "20940"}, + {"2001:250:5002::/44", "24361"}, + {"2408:8956:5b00::/40", "17816"}, + {"240e:44d:e80::/41", "4134"}, + {"2803:ad10::/32", "272042"}, + {"2804:71c8::/32", "270811"}, + {"2001:559:85f8::/48", "33662"}, + {"2404:5d80:6100::/40", "33438"}, + {"2600:1012:f000::/43", "6167"}, + {"2803:f0e0::/32", "269864"}, + {"2804:5780::/32", "262734"}, + {"2a02:2e02:9040::/43", "12479"}, + {"2a03:2480:70::/48", "200107"}, + {"2001:1248:97fb::/45", "11172"}, + {"2406:cd40::/32", "132202"}, + {"2607:fca8:a538::/48", "54380"}, + {"2001:67c:20cc::/48", "16243"}, + {"2603:c014::/36", "31898"}, + {"2804:14c:ce82::/41", "28573"}, + {"2a0c:4480:1::/46", "204720"}, + {"2409:8c28:d06::/35", "56041"}, + {"240e:974:e000::/40", "139220"}, + {"2607:7e80:f000::/36", "395354"}, + {"2800:160:150d::/43", "14259"}, + {"2804:7820::/32", "271222"}, + {"2804:8394::/32", "272206"}, + {"2001:678:ce4::/48", "60557"}, + {"2001:678:edc::/48", "1257"}, + {"2407:b001:1010::/48", "394749"}, + {"2804:1908::/32", "61770"}, + {"2804:7150::/32", "270781"}, + {"2400:5100::/32", "10012"}, + {"2401:d800:9c10::/42", "7552"}, + {"2600:6c38:1ab::/43", "20115"}, + {"2806:370:41a0::/41", "28403"}, + {"2a02:f040:7::/48", "59605"}, + {"2a0c:8440::/48", "205296"}, + {"2400:9380:8030::/48", "4134"}, + {"2409:8054:301b::/45", "56040"}, + {"2800:482:4002::/48", "10620"}, + {"2a00:d40:100::/45", "2597"}, + {"2a07:e900::/29", "8888"}, + {"2a0e:97c0:420::/44", "211267"}, + {"2400:1c00:66::/48", "45143"}, + {"2408:8956:a100::/40", "17816"}, + {"2603:fa68::/29", "63023"}, + {"2a01:6e00:a::/43", "43142"}, + {"2a02:26f7:eb4c::/48", "36183"}, + {"2a03:dc40:ffef::/48", "199926"}, + {"2a03:e140:1b::/48", "56674"}, + {"2a05:f507:73::/45", "13443"}, + {"2a06:e881:1705::/46", "206813"}, + {"2001:1248:991b::/42", "11172"}, + {"2a0c:b642:5000::/43", "49519"}, + {"2001:438:66::/44", "6461"}, + {"2001:559:8534::/48", "7015"}, + {"2001:678:a34::/48", "51567"}, + {"2801:0:90::/48", "28109"}, + {"2a01:400::/32", "44212"}, + {"2a04:4e40:b000::/48", "54113"}, + {"2600:40f0:150::/35", "701"}, + {"2804:25c8:4000::/38", "264302"}, + {"2804:622c::/32", "269280"}, + {"2804:7c44::/32", "271485"}, + {"2a02:9b0::/44", "35819"}, + {"2a02:26f7:e308::/48", "36183"}, + {"2400:2000:b::/45", "20940"}, + {"2804:802c:130::/41", "271734"}, + {"2001:3d8::/32", "9595"}, + {"2001:559:c114::/48", "7016"}, + {"2001:978:3902::/38", "174"}, + {"2001:da8:204::/48", "24349"}, + {"2400:8b00:c80::/42", "45727"}, + {"2600:1408:8401::/36", "20940"}, + {"2803:af80:1100::/32", "263732"}, + {"2a02:e58::/46", "209523"}, + {"2401:cd81::/48", "63920"}, + {"2401:d800:7c52::/40", "7552"}, + {"2409:890c::/30", "56042"}, + {"2600:1fa0:81a0::/44", "16509"}, + {"2001:67c:2350::/48", "6830"}, + {"2409:801e:3005::/46", "9808"}, + {"2620:100:900c::/47", "26211"}, + {"2800:bf0:3740::/47", "52257"}, + {"2a10:d506::/31", "398464"}, + {"2404:bf40:a0c0::/48", "2764"}, + {"2408:8956:fe00::/39", "17816"}, + {"2803:4510::/32", "272018"}, + {"2803:8420:ff00::/48", "269799"}, + {"2804:6c0:10::/44", "262418"}, + {"2804:161c:d00::/45", "263268"}, + {"2a0e:fd45:40f7::/48", "398646"}, + {"2001:df4:bb80::/48", "139495"}, + {"2409:8000:5b00::/40", "9808"}, + {"2804:7e54::/32", "271617"}, + {"2a06:5f00::/29", "204147"}, + {"2001:559:c511::/48", "7922"}, + {"2001:579:92be::/41", "22773"}, + {"2402:800:3c01::/43", "7552"}, + {"2804:1d40::/32", "52674"}, + {"2804:5308::/32", "268559"}, + {"2a02:ee80:405a::/42", "3573"}, + {"2a07:de40:400::/38", "29298"}, + {"2a0a:ec02:401::/48", "42692"}, + {"2a0c:7e41:5357::/48", "20473"}, + {"2a0f:bf00::/42", "208196"}, + {"240e:679:8800::/38", "140330"}, + {"2600:1010:9110::/36", "22394"}, + {"2600:40ff:fc00::/48", "7046"}, + {"2606:2800:457::/44", "15133"}, + {"2a00:ba60::/31", "35625"}, + {"2001:7f8:1f::/48", "1835"}, + {"2400:cb00:a0f7::/48", "13335"}, + {"2407:9940::/48", "18403"}, + {"2607:d700::/32", "19566"}, + {"2001:559:91::/46", "7922"}, + {"2408:80f1:200::/43", "17621"}, + {"2800:160:1864::/47", "14259"}, + {"2a00:1f88::/32", "29545"}, + {"2a02:26f7:57::/48", "20940"}, + {"2a0f:9400:7842::/47", "147028"}, + {"2400:a980:50fd::/46", "133111"}, + {"240e:67c:8c00::/33", "4134"}, + {"2800:98:1809::/45", "14754"}, + {"2804:57a8::/32", "268078"}, + {"2a02:26f7:b98d::/46", "20940"}, + {"2001:4490:4800::/40", "9829"}, + {"2401:7200:2102::/48", "55328"}, + {"2402:7d80::/38", "63582"}, + {"2605:940:510::/44", "396919"}, + {"2a02:26f7:f54c::/48", "36183"}, + {"2a03:d400::/42", "198913"}, + {"2a10:9c0::/29", "61272"}, + {"2401:7340:1000::/48", "34985"}, + {"2804:14d:be8b::/41", "28573"}, + {"2a02:26f7:b7c8::/48", "36183"}, + {"2a03:f580:2::/32", "15763"}, + {"2001:df6:2400::/48", "38880"}, + {"2001:4118::/32", "2607"}, + {"2409:8c28:91a1::/34", "56041"}, + {"2607:fa10::/32", "7106"}, + {"2620:107:6000::/51", "6462"}, + {"2801:80:17e0::/43", "61580"}, + {"2803:d100:e7c0::/36", "52362"}, + {"2804:2d80:aa03::/40", "262378"}, + {"2001:559:c337::/48", "33652"}, + {"2001:648:2cf0::/38", "5408"}, + {"240a:a7d1::/32", "144651"}, + {"240a:a965::/32", "145055"}, + {"240e:309:1200::/32", "4134"}, + {"2620:106:7080::/46", "11795"}, + {"2803:b100::/32", "52392"}, + {"2a06:3300::/29", "56532"}, + {"240a:a19e::/32", "143064"}, + {"240a:af23::/32", "146525"}, + {"2804:6530::/32", "269474"}, + {"2a02:88d:402f::/48", "47794"}, + {"2a02:4540:7040::/45", "197207"}, + {"2a0c:f587:fffd::/48", "205381"}, + {"2001:559:8715::/48", "33659"}, + {"2409:8948:9200::/40", "24445"}, + {"240a:a6f4::/32", "144430"}, + {"2602:fc23:11b::/48", "207852"}, + {"2804:37e8:fd00::/38", "262671"}, + {"2a03:1780::/32", "34173"}, + {"2001:4d50::/32", "34309"}, + {"2603:c0f8:2820::/39", "20054"}, + {"2800:9a7:3011::/41", "14522"}, + {"2a03:f0c0::/32", "16253"}, + {"2a06:f901:c000::/36", "8849"}, + {"2a0e:b3c0::/29", "204790"}, + {"2001:559:29f::/48", "33652"}, + {"2407:dc00::/46", "9714"}, + {"240a:a139::/32", "142963"}, + {"240a:a975::/32", "145071"}, + {"240e:3bf:c800::/37", "4134"}, + {"2602:fbb5::/36", "13849"}, + {"2a01:c50f:d140::/38", "12479"}, + {"2a02:26f7:e2c1::/46", "20940"}, + {"2a02:6300::/42", "50128"}, } diff --git a/vendor/github.com/libp2p/go-libp2p-asn-util/version.json b/vendor/github.com/libp2p/go-libp2p-asn-util/version.json new file mode 100644 index 000000000..1437d5b73 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p-asn-util/version.json @@ -0,0 +1,3 @@ +{ + "version": "v0.2.0" +} diff --git a/vendor/github.com/libp2p/go-libp2p-blankhost/README.md b/vendor/github.com/libp2p/go-libp2p-blankhost/README.md deleted file mode 100644 index ad83ee3fe..000000000 --- a/vendor/github.com/libp2p/go-libp2p-blankhost/README.md +++ /dev/null @@ -1,38 +0,0 @@ -go-libp2p-blankhost -================== - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://protocol.ai) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![Travis CI](https://travis-ci.org/libp2p/go-libp2p-blankhost.svg?branch=master)](https://travis-ci.org/libp2p/go-libp2p-blankhost) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) - - -A very thin implementation of go-libp2p-host. Does not contain any identify, relay, or NAT traversal code. - - -## Table of Contents - -- [Install](#install) -- [Contribute](#contribute) -- [License](#license) - -## Install - -```sh -make install -``` - -## Contribute - -PRs are welcome! - -Small note: If editing the Readme, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification. - -## License - -MIT © Jeromy Johnson - ---- - -The last gx published version of this module was: 0.3.26: QmcBTHN7uAMBdkzRoQ3n9cE7tGu8Ubd9zmahjskjTRw4Uf diff --git a/vendor/github.com/libp2p/go-libp2p-blankhost/codecov.yml b/vendor/github.com/libp2p/go-libp2p-blankhost/codecov.yml deleted file mode 100644 index 5f88a9ea2..000000000 --- a/vendor/github.com/libp2p/go-libp2p-blankhost/codecov.yml +++ /dev/null @@ -1,3 +0,0 @@ -coverage: - range: "50...100" -comment: off diff --git a/vendor/github.com/libp2p/go-libp2p-connmgr/LICENSE b/vendor/github.com/libp2p/go-libp2p-connmgr/LICENSE deleted file mode 100644 index 83f48ce5a..000000000 --- a/vendor/github.com/libp2p/go-libp2p-connmgr/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2017 Whyrusleeping - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/libp2p/go-libp2p-connmgr/README.md b/vendor/github.com/libp2p/go-libp2p-connmgr/README.md deleted file mode 100644 index 3373fb264..000000000 --- a/vendor/github.com/libp2p/go-libp2p-connmgr/README.md +++ /dev/null @@ -1,38 +0,0 @@ -go-libp2p-connmgr -================== - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![Travis CI](https://travis-ci.com/libp2p/go-libp2p-connmgr.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-connmgr) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) - - -> A package to help manage connections in go-libp2p. - - -## Table of Contents - -- [Install](#install) -- [Contribute](#contribute) -- [License](#license) - -## Install - -```sh -go get github.com/libp2p/go-libp2p-connmgr -``` - -## Contribute - -PRs are welcome! - -Small note: If editing the Readme, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification. - -## License - -MIT © Whyrusleeping - ---- - -The last gx published version of this module was: 0.3.34: QmSTKY2v62v9RjcfTMCFKMVAWvVjWGixkYWEi68iG7e1TT diff --git a/vendor/github.com/libp2p/go-libp2p-connmgr/connmgr.go b/vendor/github.com/libp2p/go-libp2p-connmgr/connmgr.go deleted file mode 100644 index a42c443fd..000000000 --- a/vendor/github.com/libp2p/go-libp2p-connmgr/connmgr.go +++ /dev/null @@ -1,695 +0,0 @@ -package connmgr - -import ( - "context" - "sort" - "sync" - "sync/atomic" - "time" - - "github.com/libp2p/go-libp2p-core/connmgr" - "github.com/libp2p/go-libp2p-core/network" - "github.com/libp2p/go-libp2p-core/peer" - - logging "github.com/ipfs/go-log/v2" - ma "github.com/multiformats/go-multiaddr" - "github.com/raulk/go-watchdog" -) - -var log = logging.Logger("connmgr") - -// BasicConnMgr is a ConnManager that trims connections whenever the count exceeds the -// high watermark. New connections are given a grace period before they're subject -// to trimming. Trims are automatically run on demand, only if the time from the -// previous trim is higher than 10 seconds. Furthermore, trims can be explicitly -// requested through the public interface of this struct (see TrimOpenConns). -// -// See configuration parameters in NewConnManager. -type BasicConnMgr struct { - *decayer - - cfg *config - segments segments - - plk sync.RWMutex - protected map[peer.ID]map[string]struct{} - - // channel-based semaphore that enforces only a single trim is in progress - trimMutex sync.Mutex - connCount int32 - // to be accessed atomically. This is mimicking the implementation of a sync.Once. - // Take care of correct alignment when modifying this struct. - trimCount uint64 - - lastTrimMu sync.RWMutex - lastTrim time.Time - - refCount sync.WaitGroup - ctx context.Context - cancel func() - unregisterWatchdog func() -} - -var ( - _ connmgr.ConnManager = (*BasicConnMgr)(nil) - _ connmgr.Decayer = (*BasicConnMgr)(nil) -) - -type segment struct { - sync.Mutex - peers map[peer.ID]*peerInfo -} - -type segments [256]*segment - -func (ss *segments) get(p peer.ID) *segment { - return ss[byte(p[len(p)-1])] -} - -func (ss *segments) countPeers() (count int) { - for _, seg := range ss { - seg.Lock() - count += len(seg.peers) - seg.Unlock() - } - return count -} - -func (s *segment) tagInfoFor(p peer.ID) *peerInfo { - pi, ok := s.peers[p] - if ok { - return pi - } - // create a temporary peer to buffer early tags before the Connected notification arrives. - pi = &peerInfo{ - id: p, - firstSeen: time.Now(), // this timestamp will be updated when the first Connected notification arrives. - temp: true, - tags: make(map[string]int), - decaying: make(map[*decayingTag]*connmgr.DecayingValue), - conns: make(map[network.Conn]time.Time), - } - s.peers[p] = pi - return pi -} - -// NewConnManager creates a new BasicConnMgr with the provided params: -// lo and hi are watermarks governing the number of connections that'll be maintained. -// When the peer count exceeds the 'high watermark', as many peers will be pruned (and -// their connections terminated) until 'low watermark' peers remain. -func NewConnManager(low, hi int, opts ...Option) (*BasicConnMgr, error) { - cfg := &config{ - highWater: hi, - lowWater: low, - gracePeriod: time.Minute, - silencePeriod: 10 * time.Second, - } - for _, o := range opts { - if err := o(cfg); err != nil { - return nil, err - } - } - - if cfg.decayer == nil { - // Set the default decayer config. - cfg.decayer = (&DecayerCfg{}).WithDefaults() - } - - cm := &BasicConnMgr{ - cfg: cfg, - protected: make(map[peer.ID]map[string]struct{}, 16), - segments: func() (ret segments) { - for i := range ret { - ret[i] = &segment{ - peers: make(map[peer.ID]*peerInfo), - } - } - return ret - }(), - } - cm.ctx, cm.cancel = context.WithCancel(context.Background()) - - if cfg.emergencyTrim { - // When we're running low on memory, immediately trigger a trim. - cm.unregisterWatchdog = watchdog.RegisterPostGCNotifee(cm.memoryEmergency) - } else { - cm.unregisterWatchdog = func() {} - } - - decay, _ := NewDecayer(cfg.decayer, cm) - cm.decayer = decay - - cm.refCount.Add(1) - go cm.background() - return cm, nil -} - -// memoryEmergency is run when we run low on memory. -// Close connections until we right the low watermark. -// We don't pay attention to the silence period or the grace period. -// We try to not kill protected connections, but if that turns out to be necessary, not connection is safe! -func (cm *BasicConnMgr) memoryEmergency() { - connCount := int(atomic.LoadInt32(&cm.connCount)) - target := connCount - cm.cfg.lowWater - if target < 0 { - log.Warnw("Low on memory, but we only have a few connections", "num", connCount, "low watermark", cm.cfg.lowWater) - return - } else { - log.Warnf("Low on memory. Closing %d connections.", target) - } - - cm.trimMutex.Lock() - defer atomic.AddUint64(&cm.trimCount, 1) - defer cm.trimMutex.Unlock() - - // Trim connections without paying attention to the silence period. - for _, c := range cm.getConnsToCloseEmergency(target) { - log.Infow("low on memory. closing conn", "peer", c.RemotePeer()) - c.Close() - } - - // finally, update the last trim time. - cm.lastTrimMu.Lock() - cm.lastTrim = time.Now() - cm.lastTrimMu.Unlock() -} - -func (cm *BasicConnMgr) Close() error { - cm.cancel() - cm.unregisterWatchdog() - if err := cm.decayer.Close(); err != nil { - return err - } - cm.refCount.Wait() - return nil -} - -func (cm *BasicConnMgr) Protect(id peer.ID, tag string) { - cm.plk.Lock() - defer cm.plk.Unlock() - - tags, ok := cm.protected[id] - if !ok { - tags = make(map[string]struct{}, 2) - cm.protected[id] = tags - } - tags[tag] = struct{}{} -} - -func (cm *BasicConnMgr) Unprotect(id peer.ID, tag string) (protected bool) { - cm.plk.Lock() - defer cm.plk.Unlock() - - tags, ok := cm.protected[id] - if !ok { - return false - } - if delete(tags, tag); len(tags) == 0 { - delete(cm.protected, id) - return false - } - return true -} - -func (cm *BasicConnMgr) IsProtected(id peer.ID, tag string) (protected bool) { - cm.plk.Lock() - defer cm.plk.Unlock() - - tags, ok := cm.protected[id] - if !ok { - return false - } - - if tag == "" { - return true - } - - _, protected = tags[tag] - return protected -} - -// peerInfo stores metadata for a given peer. -type peerInfo struct { - id peer.ID - tags map[string]int // value for each tag - decaying map[*decayingTag]*connmgr.DecayingValue // decaying tags - - value int // cached sum of all tag values - temp bool // this is a temporary entry holding early tags, and awaiting connections - - conns map[network.Conn]time.Time // start time of each connection - - firstSeen time.Time // timestamp when we began tracking this peer. -} - -type peerInfos []peerInfo - -func (p peerInfos) SortByValue() { - sort.Slice(p, func(i, j int) bool { - left, right := p[i], p[j] - // temporary peers are preferred for pruning. - if left.temp != right.temp { - return left.temp - } - // otherwise, compare by value. - return left.value < right.value - }) -} - -func (p peerInfos) SortByValueAndStreams() { - sort.Slice(p, func(i, j int) bool { - left, right := p[i], p[j] - // temporary peers are preferred for pruning. - if left.temp != right.temp { - return left.temp - } - // otherwise, compare by value. - if left.value != right.value { - return left.value < right.value - } - incomingAndStreams := func(m map[network.Conn]time.Time) (incoming bool, numStreams int) { - for c := range m { - stat := c.Stat() - if stat.Direction == network.DirInbound { - incoming = true - } - numStreams += stat.NumStreams - } - return - } - leftIncoming, leftStreams := incomingAndStreams(left.conns) - rightIncoming, rightStreams := incomingAndStreams(right.conns) - // incoming connections are preferred for pruning - if leftIncoming != rightIncoming { - return leftIncoming - } - // prune connections with a higher number of streams first - return rightStreams < leftStreams - }) -} - -// TrimOpenConns closes the connections of as many peers as needed to make the peer count -// equal the low watermark. Peers are sorted in ascending order based on their total value, -// pruning those peers with the lowest scores first, as long as they are not within their -// grace period. -// -// This function blocks until a trim is completed. If a trim is underway, a new -// one won't be started, and instead it'll wait until that one is completed before -// returning. -func (cm *BasicConnMgr) TrimOpenConns(_ context.Context) { - // TODO: error return value so we can cleanly signal we are aborting because: - // (a) there's another trim in progress, or (b) the silence period is in effect. - - cm.doTrim() -} - -func (cm *BasicConnMgr) background() { - defer cm.refCount.Done() - - interval := cm.cfg.gracePeriod / 2 - if cm.cfg.silencePeriod != 0 { - interval = cm.cfg.silencePeriod - } - - ticker := time.NewTicker(interval) - defer ticker.Stop() - - for { - select { - case <-ticker.C: - if atomic.LoadInt32(&cm.connCount) < int32(cm.cfg.highWater) { - // Below high water, skip. - continue - } - case <-cm.ctx.Done(): - return - } - cm.trim() - } -} - -func (cm *BasicConnMgr) doTrim() { - // This logic is mimicking the implementation of sync.Once in the standard library. - count := atomic.LoadUint64(&cm.trimCount) - cm.trimMutex.Lock() - defer cm.trimMutex.Unlock() - if count == atomic.LoadUint64(&cm.trimCount) { - cm.trim() - cm.lastTrimMu.Lock() - cm.lastTrim = time.Now() - cm.lastTrimMu.Unlock() - atomic.AddUint64(&cm.trimCount, 1) - } -} - -// trim starts the trim, if the last trim happened before the configured silence period. -func (cm *BasicConnMgr) trim() { - // do the actual trim. - for _, c := range cm.getConnsToClose() { - log.Infow("closing conn", "peer", c.RemotePeer()) - c.Close() - } -} - -func (cm *BasicConnMgr) getConnsToCloseEmergency(target int) []network.Conn { - candidates := make(peerInfos, 0, cm.segments.countPeers()) - - cm.plk.RLock() - for _, s := range cm.segments { - s.Lock() - for id, inf := range s.peers { - if _, ok := cm.protected[id]; ok { - // skip over protected peer. - continue - } - candidates = append(candidates, *inf) - } - s.Unlock() - } - cm.plk.RUnlock() - - // Sort peers according to their value. - candidates.SortByValueAndStreams() - - selected := make([]network.Conn, 0, target+10) - for _, inf := range candidates { - if target <= 0 { - break - } - for c := range inf.conns { - selected = append(selected, c) - } - target -= len(inf.conns) - } - if len(selected) >= target { - // We found enough connections that were not protected. - return selected - } - - // We didn't find enough unprotected connections. - // We have no choice but to kill some protected connections. - candidates = candidates[:0] - cm.plk.RLock() - for _, s := range cm.segments { - s.Lock() - for _, inf := range s.peers { - candidates = append(candidates, *inf) - } - s.Unlock() - } - cm.plk.RUnlock() - - candidates.SortByValueAndStreams() - for _, inf := range candidates { - if target <= 0 { - break - } - for c := range inf.conns { - selected = append(selected, c) - } - target -= len(inf.conns) - } - return selected -} - -// getConnsToClose runs the heuristics described in TrimOpenConns and returns the -// connections to close. -func (cm *BasicConnMgr) getConnsToClose() []network.Conn { - if cm.cfg.lowWater == 0 || cm.cfg.highWater == 0 { - // disabled - return nil - } - - if int(atomic.LoadInt32(&cm.connCount)) <= cm.cfg.lowWater { - log.Info("open connection count below limit") - return nil - } - - candidates := make(peerInfos, 0, cm.segments.countPeers()) - var ncandidates int - gracePeriodStart := time.Now().Add(-cm.cfg.gracePeriod) - - cm.plk.RLock() - for _, s := range cm.segments { - s.Lock() - for id, inf := range s.peers { - if _, ok := cm.protected[id]; ok { - // skip over protected peer. - continue - } - if inf.firstSeen.After(gracePeriodStart) { - // skip peers in the grace period. - continue - } - // note that we're copying the entry here, - // but since inf.conns is a map, it will still point to the original object - candidates = append(candidates, *inf) - ncandidates += len(inf.conns) - } - s.Unlock() - } - cm.plk.RUnlock() - - if ncandidates < cm.cfg.lowWater { - log.Info("open connection count above limit but too many are in the grace period") - // We have too many connections but fewer than lowWater - // connections out of the grace period. - // - // If we trimmed now, we'd kill potentially useful connections. - return nil - } - - // Sort peers according to their value. - candidates.SortByValue() - - target := ncandidates - cm.cfg.lowWater - - // slightly overallocate because we may have more than one conns per peer - selected := make([]network.Conn, 0, target+10) - - for _, inf := range candidates { - if target <= 0 { - break - } - - // lock this to protect from concurrent modifications from connect/disconnect events - s := cm.segments.get(inf.id) - s.Lock() - if len(inf.conns) == 0 && inf.temp { - // handle temporary entries for early tags -- this entry has gone past the grace period - // and still holds no connections, so prune it. - delete(s.peers, inf.id) - } else { - for c := range inf.conns { - selected = append(selected, c) - } - target -= len(inf.conns) - } - s.Unlock() - } - - return selected -} - -// GetTagInfo is called to fetch the tag information associated with a given -// peer, nil is returned if p refers to an unknown peer. -func (cm *BasicConnMgr) GetTagInfo(p peer.ID) *connmgr.TagInfo { - s := cm.segments.get(p) - s.Lock() - defer s.Unlock() - - pi, ok := s.peers[p] - if !ok { - return nil - } - - out := &connmgr.TagInfo{ - FirstSeen: pi.firstSeen, - Value: pi.value, - Tags: make(map[string]int), - Conns: make(map[string]time.Time), - } - - for t, v := range pi.tags { - out.Tags[t] = v - } - for t, v := range pi.decaying { - out.Tags[t.name] = v.Value - } - for c, t := range pi.conns { - out.Conns[c.RemoteMultiaddr().String()] = t - } - - return out -} - -// TagPeer is called to associate a string and integer with a given peer. -func (cm *BasicConnMgr) TagPeer(p peer.ID, tag string, val int) { - s := cm.segments.get(p) - s.Lock() - defer s.Unlock() - - pi := s.tagInfoFor(p) - - // Update the total value of the peer. - pi.value += val - pi.tags[tag] - pi.tags[tag] = val -} - -// UntagPeer is called to disassociate a string and integer from a given peer. -func (cm *BasicConnMgr) UntagPeer(p peer.ID, tag string) { - s := cm.segments.get(p) - s.Lock() - defer s.Unlock() - - pi, ok := s.peers[p] - if !ok { - log.Info("tried to remove tag from untracked peer: ", p) - return - } - - // Update the total value of the peer. - pi.value -= pi.tags[tag] - delete(pi.tags, tag) -} - -// UpsertTag is called to insert/update a peer tag -func (cm *BasicConnMgr) UpsertTag(p peer.ID, tag string, upsert func(int) int) { - s := cm.segments.get(p) - s.Lock() - defer s.Unlock() - - pi := s.tagInfoFor(p) - - oldval := pi.tags[tag] - newval := upsert(oldval) - pi.value += newval - oldval - pi.tags[tag] = newval -} - -// CMInfo holds the configuration for BasicConnMgr, as well as status data. -type CMInfo struct { - // The low watermark, as described in NewConnManager. - LowWater int - - // The high watermark, as described in NewConnManager. - HighWater int - - // The timestamp when the last trim was triggered. - LastTrim time.Time - - // The configured grace period, as described in NewConnManager. - GracePeriod time.Duration - - // The current connection count. - ConnCount int -} - -// GetInfo returns the configuration and status data for this connection manager. -func (cm *BasicConnMgr) GetInfo() CMInfo { - cm.lastTrimMu.RLock() - lastTrim := cm.lastTrim - cm.lastTrimMu.RUnlock() - - return CMInfo{ - HighWater: cm.cfg.highWater, - LowWater: cm.cfg.lowWater, - LastTrim: lastTrim, - GracePeriod: cm.cfg.gracePeriod, - ConnCount: int(atomic.LoadInt32(&cm.connCount)), - } -} - -// Notifee returns a sink through which Notifiers can inform the BasicConnMgr when -// events occur. Currently, the notifee only reacts upon connection events -// {Connected, Disconnected}. -func (cm *BasicConnMgr) Notifee() network.Notifiee { - return (*cmNotifee)(cm) -} - -type cmNotifee BasicConnMgr - -func (nn *cmNotifee) cm() *BasicConnMgr { - return (*BasicConnMgr)(nn) -} - -// Connected is called by notifiers to inform that a new connection has been established. -// The notifee updates the BasicConnMgr to start tracking the connection. If the new connection -// count exceeds the high watermark, a trim may be triggered. -func (nn *cmNotifee) Connected(n network.Network, c network.Conn) { - cm := nn.cm() - - p := c.RemotePeer() - s := cm.segments.get(p) - s.Lock() - defer s.Unlock() - - id := c.RemotePeer() - pinfo, ok := s.peers[id] - if !ok { - pinfo = &peerInfo{ - id: id, - firstSeen: time.Now(), - tags: make(map[string]int), - decaying: make(map[*decayingTag]*connmgr.DecayingValue), - conns: make(map[network.Conn]time.Time), - } - s.peers[id] = pinfo - } else if pinfo.temp { - // we had created a temporary entry for this peer to buffer early tags before the - // Connected notification arrived: flip the temporary flag, and update the firstSeen - // timestamp to the real one. - pinfo.temp = false - pinfo.firstSeen = time.Now() - } - - _, ok = pinfo.conns[c] - if ok { - log.Error("received connected notification for conn we are already tracking: ", p) - return - } - - pinfo.conns[c] = time.Now() - atomic.AddInt32(&cm.connCount, 1) -} - -// Disconnected is called by notifiers to inform that an existing connection has been closed or terminated. -// The notifee updates the BasicConnMgr accordingly to stop tracking the connection, and performs housekeeping. -func (nn *cmNotifee) Disconnected(n network.Network, c network.Conn) { - cm := nn.cm() - - p := c.RemotePeer() - s := cm.segments.get(p) - s.Lock() - defer s.Unlock() - - cinf, ok := s.peers[p] - if !ok { - log.Error("received disconnected notification for peer we are not tracking: ", p) - return - } - - _, ok = cinf.conns[c] - if !ok { - log.Error("received disconnected notification for conn we are not tracking: ", p) - return - } - - delete(cinf.conns, c) - if len(cinf.conns) == 0 { - delete(s.peers, p) - } - atomic.AddInt32(&cm.connCount, -1) -} - -// Listen is no-op in this implementation. -func (nn *cmNotifee) Listen(n network.Network, addr ma.Multiaddr) {} - -// ListenClose is no-op in this implementation. -func (nn *cmNotifee) ListenClose(n network.Network, addr ma.Multiaddr) {} - -// OpenedStream is no-op in this implementation. -func (nn *cmNotifee) OpenedStream(network.Network, network.Stream) {} - -// ClosedStream is no-op in this implementation. -func (nn *cmNotifee) ClosedStream(network.Network, network.Stream) {} diff --git a/vendor/github.com/libp2p/go-libp2p-connmgr/decay.go b/vendor/github.com/libp2p/go-libp2p-connmgr/decay.go deleted file mode 100644 index 189759a18..000000000 --- a/vendor/github.com/libp2p/go-libp2p-connmgr/decay.go +++ /dev/null @@ -1,355 +0,0 @@ -package connmgr - -import ( - "fmt" - "sync" - "sync/atomic" - "time" - - "github.com/libp2p/go-libp2p-core/connmgr" - "github.com/libp2p/go-libp2p-core/peer" - - "github.com/benbjohnson/clock" -) - -// DefaultResolution is the default resolution of the decay tracker. -var DefaultResolution = 1 * time.Minute - -// bumpCmd represents a bump command. -type bumpCmd struct { - peer peer.ID - tag *decayingTag - delta int -} - -// removeCmd represents a tag removal command. -type removeCmd struct { - peer peer.ID - tag *decayingTag -} - -// decayer tracks and manages all decaying tags and their values. -type decayer struct { - cfg *DecayerCfg - mgr *BasicConnMgr - clock clock.Clock // for testing. - - tagsMu sync.Mutex - knownTags map[string]*decayingTag - - // lastTick stores the last time the decayer ticked. Guarded by atomic. - lastTick atomic.Value - - // bumpTagCh queues bump commands to be processed by the loop. - bumpTagCh chan bumpCmd - removeTagCh chan removeCmd - closeTagCh chan *decayingTag - - // closure thingies. - closeCh chan struct{} - doneCh chan struct{} - err error -} - -var _ connmgr.Decayer = (*decayer)(nil) - -// DecayerCfg is the configuration object for the Decayer. -type DecayerCfg struct { - Resolution time.Duration - Clock clock.Clock -} - -// WithDefaults writes the default values on this DecayerConfig instance, -// and returns itself for chainability. -// -// cfg := (&DecayerCfg{}).WithDefaults() -// cfg.Resolution = 30 * time.Second -// t := NewDecayer(cfg, cm) -func (cfg *DecayerCfg) WithDefaults() *DecayerCfg { - cfg.Resolution = DefaultResolution - return cfg -} - -// NewDecayer creates a new decaying tag registry. -func NewDecayer(cfg *DecayerCfg, mgr *BasicConnMgr) (*decayer, error) { - // use real time if the Clock in the config is nil. - if cfg.Clock == nil { - cfg.Clock = clock.New() - } - - d := &decayer{ - cfg: cfg, - mgr: mgr, - clock: cfg.Clock, - knownTags: make(map[string]*decayingTag), - bumpTagCh: make(chan bumpCmd, 128), - removeTagCh: make(chan removeCmd, 128), - closeTagCh: make(chan *decayingTag, 128), - closeCh: make(chan struct{}), - doneCh: make(chan struct{}), - } - - d.lastTick.Store(d.clock.Now()) - - // kick things off. - go d.process() - - return d, nil -} - -func (d *decayer) RegisterDecayingTag(name string, interval time.Duration, decayFn connmgr.DecayFn, bumpFn connmgr.BumpFn) (connmgr.DecayingTag, error) { - d.tagsMu.Lock() - defer d.tagsMu.Unlock() - - if _, ok := d.knownTags[name]; ok { - return nil, fmt.Errorf("decaying tag with name %s already exists", name) - } - - if interval < d.cfg.Resolution { - log.Warnf("decay interval for %s (%s) was lower than tracker's resolution (%s); overridden to resolution", - name, interval, d.cfg.Resolution) - interval = d.cfg.Resolution - } - - if interval%d.cfg.Resolution != 0 { - log.Warnf("decay interval for tag %s (%s) is not a multiple of tracker's resolution (%s); "+ - "some precision may be lost", name, interval, d.cfg.Resolution) - } - - lastTick := d.lastTick.Load().(time.Time) - tag := &decayingTag{ - trkr: d, - name: name, - interval: interval, - nextTick: lastTick.Add(interval), - decayFn: decayFn, - bumpFn: bumpFn, - } - - d.knownTags[name] = tag - return tag, nil -} - -// Close closes the Decayer. It is idempotent. -func (d *decayer) Close() error { - select { - case <-d.doneCh: - return d.err - default: - } - - close(d.closeCh) - <-d.doneCh - return d.err -} - -// process is the heart of the tracker. It performs the following duties: -// -// 1. Manages decay. -// 2. Applies score bumps. -// 3. Yields when closed. -func (d *decayer) process() { - defer close(d.doneCh) - - ticker := d.clock.Ticker(d.cfg.Resolution) - defer ticker.Stop() - - var ( - bmp bumpCmd - now time.Time - visit = make(map[*decayingTag]struct{}) - ) - - for { - select { - case now = <-ticker.C: - d.lastTick.Store(now) - - d.tagsMu.Lock() - for _, tag := range d.knownTags { - if tag.nextTick.After(now) { - // skip the tag. - continue - } - // Mark the tag to be updated in this round. - visit[tag] = struct{}{} - } - d.tagsMu.Unlock() - - // Visit each peer, and decay tags that need to be decayed. - for _, s := range d.mgr.segments { - s.Lock() - - // Entered a segment that contains peers. Process each peer. - for _, p := range s.peers { - for tag, v := range p.decaying { - if _, ok := visit[tag]; !ok { - // skip this tag. - continue - } - - // ~ this value needs to be visited. ~ - var delta int - if after, rm := tag.decayFn(*v); rm { - // delete the value and move on to the next tag. - delta -= v.Value - delete(p.decaying, tag) - } else { - // accumulate the delta, and apply the changes. - delta += after - v.Value - v.Value, v.LastVisit = after, now - } - p.value += delta - } - } - - s.Unlock() - } - - // Reset each tag's next visit round, and clear the visited set. - for tag := range visit { - tag.nextTick = tag.nextTick.Add(tag.interval) - delete(visit, tag) - } - - case bmp = <-d.bumpTagCh: - var ( - now = d.clock.Now() - peer, tag = bmp.peer, bmp.tag - ) - - s := d.mgr.segments.get(peer) - s.Lock() - - p := s.tagInfoFor(peer) - v, ok := p.decaying[tag] - if !ok { - v = &connmgr.DecayingValue{ - Tag: tag, - Peer: peer, - LastVisit: now, - Added: now, - Value: 0, - } - p.decaying[tag] = v - } - - prev := v.Value - v.Value, v.LastVisit = v.Tag.(*decayingTag).bumpFn(*v, bmp.delta), now - p.value += v.Value - prev - - s.Unlock() - - case rm := <-d.removeTagCh: - s := d.mgr.segments.get(rm.peer) - s.Lock() - - p := s.tagInfoFor(rm.peer) - v, ok := p.decaying[rm.tag] - if !ok { - s.Unlock() - continue - } - p.value -= v.Value - delete(p.decaying, rm.tag) - s.Unlock() - - case t := <-d.closeTagCh: - // Stop tracking the tag. - d.tagsMu.Lock() - delete(d.knownTags, t.name) - d.tagsMu.Unlock() - - // Remove the tag from all peers that had it in the connmgr. - for _, s := range d.mgr.segments { - // visit all segments, and attempt to remove the tag from all the peers it stores. - s.Lock() - for _, p := range s.peers { - if dt, ok := p.decaying[t]; ok { - // decrease the value of the tagInfo, and delete the tag. - p.value -= dt.Value - delete(p.decaying, t) - } - } - s.Unlock() - } - - case <-d.closeCh: - return - } - } -} - -// decayingTag represents a decaying tag, with an associated decay interval, a -// decay function, and a bump function. -type decayingTag struct { - trkr *decayer - name string - interval time.Duration - nextTick time.Time - decayFn connmgr.DecayFn - bumpFn connmgr.BumpFn - - // closed marks this tag as closed, so that if it's bumped after being - // closed, we can return an error. 0 = false; 1 = true; guarded by atomic. - closed int32 -} - -var _ connmgr.DecayingTag = (*decayingTag)(nil) - -func (t *decayingTag) Name() string { - return t.name -} - -func (t *decayingTag) Interval() time.Duration { - return t.interval -} - -// Bump bumps a tag for this peer. -func (t *decayingTag) Bump(p peer.ID, delta int) error { - if atomic.LoadInt32(&t.closed) == 1 { - return fmt.Errorf("decaying tag %s had been closed; no further bumps are accepted", t.name) - } - - bmp := bumpCmd{peer: p, tag: t, delta: delta} - - select { - case t.trkr.bumpTagCh <- bmp: - return nil - default: - return fmt.Errorf( - "unable to bump decaying tag for peer %s, tag %s, delta %d; queue full (len=%d)", - p.Pretty(), t.name, delta, len(t.trkr.bumpTagCh)) - } -} - -func (t *decayingTag) Remove(p peer.ID) error { - if atomic.LoadInt32(&t.closed) == 1 { - return fmt.Errorf("decaying tag %s had been closed; no further removals are accepted", t.name) - } - - rm := removeCmd{peer: p, tag: t} - - select { - case t.trkr.removeTagCh <- rm: - return nil - default: - return fmt.Errorf( - "unable to remove decaying tag for peer %s, tag %s; queue full (len=%d)", - p.Pretty(), t.name, len(t.trkr.removeTagCh)) - } -} - -func (t *decayingTag) Close() error { - if !atomic.CompareAndSwapInt32(&t.closed, 0, 1) { - log.Warnf("duplicate decaying tag closure: %s; skipping", t.name) - return nil - } - - select { - case t.trkr.closeTagCh <- t: - return nil - default: - return fmt.Errorf("unable to close decaying tag %s; queue full (len=%d)", t.name, len(t.trkr.closeTagCh)) - } -} diff --git a/vendor/github.com/libp2p/go-libp2p-connmgr/options.go b/vendor/github.com/libp2p/go-libp2p-connmgr/options.go deleted file mode 100644 index d66884c77..000000000 --- a/vendor/github.com/libp2p/go-libp2p-connmgr/options.go +++ /dev/null @@ -1,61 +0,0 @@ -package connmgr - -import ( - "errors" - "time" -) - -// config is the configuration struct for the basic connection manager. -type config struct { - highWater int - lowWater int - gracePeriod time.Duration - silencePeriod time.Duration - decayer *DecayerCfg - emergencyTrim bool -} - -// Option represents an option for the basic connection manager. -type Option func(*config) error - -// DecayerConfig applies a configuration for the decayer. -func DecayerConfig(opts *DecayerCfg) Option { - return func(cfg *config) error { - cfg.decayer = opts - return nil - } -} - -// WithGracePeriod sets the grace period. -// The grace period is the time a newly opened connection is given before it becomes -// subject to pruning. -func WithGracePeriod(p time.Duration) Option { - return func(cfg *config) error { - if p < 0 { - return errors.New("grace period must be non-negative") - } - cfg.gracePeriod = p - return nil - } -} - -// WithSilencePeriod sets the silence period. -// The connection manager will perform a cleanup once per silence period -// if the number of connections surpasses the high watermark. -func WithSilencePeriod(p time.Duration) Option { - return func(cfg *config) error { - if p <= 0 { - return errors.New("silence period must be non-zero") - } - cfg.silencePeriod = p - return nil - } -} - -// WithEmergencyTrim is an option to enable trimming connections on memory emergency. -func WithEmergencyTrim(enable bool) Option { - return func(cfg *config) error { - cfg.emergencyTrim = enable - return nil - } -} diff --git a/vendor/github.com/libp2p/go-libp2p-connmgr/version.json b/vendor/github.com/libp2p/go-libp2p-connmgr/version.json deleted file mode 100644 index 9ed87d762..000000000 --- a/vendor/github.com/libp2p/go-libp2p-connmgr/version.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "v0.3.1" -} diff --git a/vendor/github.com/libp2p/go-libp2p-core/canonicallog/canonicallog.go b/vendor/github.com/libp2p/go-libp2p-core/canonicallog/canonicallog.go new file mode 100644 index 000000000..2bc07b1e6 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p-core/canonicallog/canonicallog.go @@ -0,0 +1,56 @@ +package canonicallog + +import ( + "fmt" + "math/rand" + "net" + "strings" + + logging "github.com/ipfs/go-log/v2" + "github.com/libp2p/go-libp2p-core/peer" + "github.com/multiformats/go-multiaddr" + manet "github.com/multiformats/go-multiaddr/net" +) + +var log = logging.WithSkip(logging.Logger("canonical-log"), 1) + +// LogMisbehavingPeer is the canonical way to log a misbehaving peer. +// Protocols should use this to identify a misbehaving peer to allow the end +// user to easily identify these nodes across protocols and libp2p. +func LogMisbehavingPeer(p peer.ID, peerAddr multiaddr.Multiaddr, component string, err error, msg string) { + log.Warnf("CANONICAL_MISBEHAVING_PEER: peer=%s addr=%s component=%s err=%q msg=%q", p, peerAddr.String(), component, err, msg) +} + +// LogMisbehavingPeerNetAddr is the canonical way to log a misbehaving peer. +// Protocols should use this to identify a misbehaving peer to allow the end +// user to easily identify these nodes across protocols and libp2p. +func LogMisbehavingPeerNetAddr(p peer.ID, peerAddr net.Addr, component string, originalErr error, msg string) { + ma, err := manet.FromNetAddr(peerAddr) + if err != nil { + log.Warnf("CANONICAL_MISBEHAVING_PEER: peer=%s net_addr=%s component=%s err=%q msg=%q", p, peerAddr.String(), component, originalErr, msg) + return + } + + LogMisbehavingPeer(p, ma, component, originalErr, msg) +} + +// LogPeerStatus logs any useful information about a peer. It takes in a sample +// rate and will only log one in every sampleRate messages (randomly). This is +// useful in surfacing events that are normal in isolation, but may be abnormal +// in large quantities. For example, a successful connection from an IP address +// is normal. 10,000 connections from that same IP address is not normal. libp2p +// itself does nothing besides emitting this log. Hook this up to another tool +// like fail2ban to action on the log. +func LogPeerStatus(sampleRate int, p peer.ID, peerAddr multiaddr.Multiaddr, keyVals ...string) { + if rand.Intn(sampleRate) == 0 { + keyValsStr := strings.Builder{} + for i, kOrV := range keyVals { + if i%2 == 0 { + fmt.Fprintf(&keyValsStr, " %v=", kOrV) + } else { + fmt.Fprintf(&keyValsStr, "%q", kOrV) + } + } + log.Infof("CANONICAL_PEER_STATUS: peer=%s addr=%s sample_rate=%v%s", p, peerAddr.String(), sampleRate, keyValsStr.String()) + } +} diff --git a/vendor/github.com/libp2p/go-libp2p-core/crypto/ecdsa.go b/vendor/github.com/libp2p/go-libp2p-core/crypto/ecdsa.go index ea800cead..5b8244734 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/crypto/ecdsa.go +++ b/vendor/github.com/libp2p/go-libp2p-core/crypto/ecdsa.go @@ -11,6 +11,7 @@ import ( "math/big" pb "github.com/libp2p/go-libp2p-core/crypto/pb" + "github.com/libp2p/go-libp2p-core/internal/catch" "github.com/minio/sha256-simd" ) @@ -73,17 +74,21 @@ func ECDSAPublicKeyFromPubKey(pub ecdsa.PublicKey) (PubKey, error) { } // MarshalECDSAPrivateKey returns x509 bytes from a private key -func MarshalECDSAPrivateKey(ePriv ECDSAPrivateKey) ([]byte, error) { +func MarshalECDSAPrivateKey(ePriv ECDSAPrivateKey) (res []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "ECDSA private-key marshal") }() return x509.MarshalECPrivateKey(ePriv.priv) } // MarshalECDSAPublicKey returns x509 bytes from a public key -func MarshalECDSAPublicKey(ePub ECDSAPublicKey) ([]byte, error) { +func MarshalECDSAPublicKey(ePub ECDSAPublicKey) (res []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "ECDSA public-key marshal") }() return x509.MarshalPKIXPublicKey(ePub.pub) } // UnmarshalECDSAPrivateKey returns a private key from x509 bytes -func UnmarshalECDSAPrivateKey(data []byte) (PrivKey, error) { +func UnmarshalECDSAPrivateKey(data []byte) (res PrivKey, err error) { + defer func() { catch.HandlePanic(recover(), &err, "ECDSA private-key unmarshal") }() + priv, err := x509.ParseECPrivateKey(data) if err != nil { return nil, err @@ -93,7 +98,9 @@ func UnmarshalECDSAPrivateKey(data []byte) (PrivKey, error) { } // UnmarshalECDSAPublicKey returns the public key from x509 bytes -func UnmarshalECDSAPublicKey(data []byte) (PubKey, error) { +func UnmarshalECDSAPublicKey(data []byte) (key PubKey, err error) { + defer func() { catch.HandlePanic(recover(), &err, "ECDSA public-key unmarshal") }() + pubIfc, err := x509.ParsePKIXPublicKey(data) if err != nil { return nil, err @@ -113,7 +120,8 @@ func (ePriv *ECDSAPrivateKey) Type() pb.KeyType { } // Raw returns x509 bytes from a private key -func (ePriv *ECDSAPrivateKey) Raw() ([]byte, error) { +func (ePriv *ECDSAPrivateKey) Raw() (res []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "ECDSA private-key marshal") }() return x509.MarshalECPrivateKey(ePriv.priv) } @@ -123,7 +131,8 @@ func (ePriv *ECDSAPrivateKey) Equals(o Key) bool { } // Sign returns the signature of the input data -func (ePriv *ECDSAPrivateKey) Sign(data []byte) ([]byte, error) { +func (ePriv *ECDSAPrivateKey) Sign(data []byte) (sig []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "ECDSA signing") }() hash := sha256.Sum256(data) r, s, err := ecdsa.Sign(rand.Reader, ePriv.priv, hash[:]) if err != nil { @@ -157,14 +166,20 @@ func (ePub *ECDSAPublicKey) Equals(o Key) bool { } // Verify compares data to a signature -func (ePub *ECDSAPublicKey) Verify(data, sigBytes []byte) (bool, error) { +func (ePub *ECDSAPublicKey) Verify(data, sigBytes []byte) (success bool, err error) { + defer func() { + catch.HandlePanic(recover(), &err, "ECDSA signature verification") + + // Just to be extra paranoid. + if err != nil { + success = false + } + }() + sig := new(ECDSASig) if _, err := asn1.Unmarshal(sigBytes, sig); err != nil { return false, err } - if sig == nil { - return false, ErrNilSig - } hash := sha256.Sum256(data) diff --git a/vendor/github.com/libp2p/go-libp2p-core/crypto/ed25519.go b/vendor/github.com/libp2p/go-libp2p-core/crypto/ed25519.go index b7e8addb8..90713c23a 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/crypto/ed25519.go +++ b/vendor/github.com/libp2p/go-libp2p-core/crypto/ed25519.go @@ -9,6 +9,7 @@ import ( "io" pb "github.com/libp2p/go-libp2p-core/crypto/pb" + "github.com/libp2p/go-libp2p-core/internal/catch" ) // Ed25519PrivateKey is an ed25519 private key. @@ -74,7 +75,9 @@ func (k *Ed25519PrivateKey) GetPublic() PubKey { } // Sign returns a signature from an input message. -func (k *Ed25519PrivateKey) Sign(msg []byte) ([]byte, error) { +func (k *Ed25519PrivateKey) Sign(msg []byte) (res []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "ed15519 signing") }() + return ed25519.Sign(k.k, msg), nil } @@ -99,7 +102,15 @@ func (k *Ed25519PublicKey) Equals(o Key) bool { } // Verify checks a signature agains the input data. -func (k *Ed25519PublicKey) Verify(data []byte, sig []byte) (bool, error) { +func (k *Ed25519PublicKey) Verify(data []byte, sig []byte) (success bool, err error) { + defer func() { + catch.HandlePanic(recover(), &err, "ed15519 signature verification") + + // To be safe. + if err != nil { + success = false + } + }() return ed25519.Verify(k.k, data, sig), nil } diff --git a/vendor/github.com/libp2p/go-libp2p-core/crypto/key_not_openssl.go b/vendor/github.com/libp2p/go-libp2p-core/crypto/key_not_openssl.go index 93734c320..28792f8f5 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/crypto/key_not_openssl.go +++ b/vendor/github.com/libp2p/go-libp2p-core/crypto/key_not_openssl.go @@ -9,7 +9,7 @@ import ( "crypto/ed25519" "crypto/rsa" - btcec "github.com/btcsuite/btcd/btcec" + btcec "github.com/btcsuite/btcd/btcec/v2" ) // KeyPairFromStdKey wraps standard library (and secp256k1) private keys in libp2p/go-libp2p-core/crypto keys diff --git a/vendor/github.com/libp2p/go-libp2p-core/crypto/key_openssl.go b/vendor/github.com/libp2p/go-libp2p-core/crypto/key_openssl.go index 63fcca8e7..60f9ced27 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/crypto/key_openssl.go +++ b/vendor/github.com/libp2p/go-libp2p-core/crypto/key_openssl.go @@ -10,18 +10,21 @@ import ( "crypto/rsa" "crypto/x509" - btcec "github.com/btcsuite/btcd/btcec" + btcec "github.com/btcsuite/btcd/btcec/v2" openssl "github.com/libp2p/go-openssl" + + "github.com/libp2p/go-libp2p-core/internal/catch" ) // KeyPairFromStdKey wraps standard library (and secp256k1) private keys in libp2p/go-libp2p-core/crypto keys -func KeyPairFromStdKey(priv crypto.PrivateKey) (PrivKey, PubKey, error) { +func KeyPairFromStdKey(priv crypto.PrivateKey) (_priv PrivKey, _pub PubKey, err error) { if priv == nil { return nil, nil, ErrNilPrivateKey } switch p := priv.(type) { case *rsa.PrivateKey: + defer func() { catch.HandlePanic(recover(), &err, "x509 private key marshaling") }() pk, err := openssl.LoadPrivateKeyFromDER(x509.MarshalPKCS1PrivateKey(p)) if err != nil { return nil, nil, err @@ -48,12 +51,13 @@ func KeyPairFromStdKey(priv crypto.PrivateKey) (PrivKey, PubKey, error) { } // PrivKeyToStdKey converts libp2p/go-libp2p-core/crypto private keys to standard library (and secp256k1) private keys -func PrivKeyToStdKey(priv PrivKey) (crypto.PrivateKey, error) { +func PrivKeyToStdKey(priv PrivKey) (_priv crypto.PrivateKey, err error) { if priv == nil { return nil, ErrNilPrivateKey } switch p := priv.(type) { case *opensslPrivateKey: + defer func() { catch.HandlePanic(recover(), &err, "x509 private key parsing") }() raw, err := p.Raw() if err != nil { return nil, err @@ -71,13 +75,15 @@ func PrivKeyToStdKey(priv PrivKey) (crypto.PrivateKey, error) { } // PubKeyToStdKey converts libp2p/go-libp2p-core/crypto private keys to standard library (and secp256k1) public keys -func PubKeyToStdKey(pub PubKey) (crypto.PublicKey, error) { +func PubKeyToStdKey(pub PubKey) (key crypto.PublicKey, err error) { if pub == nil { return nil, ErrNilPublicKey } switch p := pub.(type) { case *opensslPublicKey: + defer func() { catch.HandlePanic(recover(), &err, "x509 public key parsing") }() + raw, err := p.Raw() if err != nil { return nil, err diff --git a/vendor/github.com/libp2p/go-libp2p-core/crypto/rsa_go.go b/vendor/github.com/libp2p/go-libp2p-core/crypto/rsa_go.go index 3ae4731aa..b0df60d98 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/crypto/rsa_go.go +++ b/vendor/github.com/libp2p/go-libp2p-core/crypto/rsa_go.go @@ -12,6 +12,7 @@ import ( "io" pb "github.com/libp2p/go-libp2p-core/crypto/pb" + "github.com/libp2p/go-libp2p-core/internal/catch" "github.com/minio/sha256-simd" ) @@ -42,9 +43,17 @@ func GenerateRSAKeyPair(bits int, src io.Reader) (PrivKey, PubKey, error) { } // Verify compares a signature against input data -func (pk *RsaPublicKey) Verify(data, sig []byte) (bool, error) { +func (pk *RsaPublicKey) Verify(data, sig []byte) (success bool, err error) { + defer func() { + catch.HandlePanic(recover(), &err, "RSA signature verification") + + // To be safe + if err != nil { + success = false + } + }() hashed := sha256.Sum256(data) - err := rsa.VerifyPKCS1v15(&pk.k, crypto.SHA256, hashed[:], sig) + err = rsa.VerifyPKCS1v15(&pk.k, crypto.SHA256, hashed[:], sig) if err != nil { return false, err } @@ -55,7 +64,8 @@ func (pk *RsaPublicKey) Type() pb.KeyType { return pb.KeyType_RSA } -func (pk *RsaPublicKey) Raw() ([]byte, error) { +func (pk *RsaPublicKey) Raw() (res []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "RSA public-key marshaling") }() return x509.MarshalPKIXPublicKey(&pk.k) } @@ -71,7 +81,8 @@ func (pk *RsaPublicKey) Equals(k Key) bool { } // Sign returns a signature of the input data -func (sk *RsaPrivateKey) Sign(message []byte) ([]byte, error) { +func (sk *RsaPrivateKey) Sign(message []byte) (sig []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "RSA signing") }() hashed := sha256.Sum256(message) return rsa.SignPKCS1v15(rand.Reader, &sk.sk, crypto.SHA256, hashed[:]) } @@ -85,7 +96,8 @@ func (sk *RsaPrivateKey) Type() pb.KeyType { return pb.KeyType_RSA } -func (sk *RsaPrivateKey) Raw() ([]byte, error) { +func (sk *RsaPrivateKey) Raw() (res []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "RSA private-key marshaling") }() b := x509.MarshalPKCS1PrivateKey(&sk.sk) return b, nil } @@ -106,7 +118,8 @@ func (sk *RsaPrivateKey) Equals(k Key) bool { } // UnmarshalRsaPrivateKey returns a private key from the input x509 bytes -func UnmarshalRsaPrivateKey(b []byte) (PrivKey, error) { +func UnmarshalRsaPrivateKey(b []byte) (key PrivKey, err error) { + defer func() { catch.HandlePanic(recover(), &err, "RSA private-key unmarshaling") }() sk, err := x509.ParsePKCS1PrivateKey(b) if err != nil { return nil, err @@ -118,7 +131,8 @@ func UnmarshalRsaPrivateKey(b []byte) (PrivKey, error) { } // UnmarshalRsaPublicKey returns a public key from the input x509 bytes -func UnmarshalRsaPublicKey(b []byte) (PubKey, error) { +func UnmarshalRsaPublicKey(b []byte) (key PubKey, err error) { + defer func() { catch.HandlePanic(recover(), &err, "RSA public-key unmarshaling") }() pub, err := x509.ParsePKIXPublicKey(b) if err != nil { return nil, err diff --git a/vendor/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go b/vendor/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go index 7936a09e1..d90b23243 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go +++ b/vendor/github.com/libp2p/go-libp2p-core/crypto/secp256k1.go @@ -5,8 +5,10 @@ import ( "io" pb "github.com/libp2p/go-libp2p-core/crypto/pb" + "github.com/libp2p/go-libp2p-core/internal/catch" - "github.com/btcsuite/btcd/btcec" + btcec "github.com/btcsuite/btcd/btcec/v2" + btcececdsa "github.com/btcsuite/btcd/btcec/v2/ecdsa" "github.com/minio/sha256-simd" ) @@ -18,7 +20,7 @@ type Secp256k1PublicKey btcec.PublicKey // GenerateSecp256k1Key generates a new Secp256k1 private and public key pair func GenerateSecp256k1Key(src io.Reader) (PrivKey, PubKey, error) { - privk, err := btcec.NewPrivateKey(btcec.S256()) + privk, err := btcec.NewPrivateKey() if err != nil { return nil, nil, err } @@ -28,18 +30,20 @@ func GenerateSecp256k1Key(src io.Reader) (PrivKey, PubKey, error) { } // UnmarshalSecp256k1PrivateKey returns a private key from bytes -func UnmarshalSecp256k1PrivateKey(data []byte) (PrivKey, error) { +func UnmarshalSecp256k1PrivateKey(data []byte) (k PrivKey, err error) { if len(data) != btcec.PrivKeyBytesLen { return nil, fmt.Errorf("expected secp256k1 data size to be %d", btcec.PrivKeyBytesLen) } + defer func() { catch.HandlePanic(recover(), &err, "secp256k1 private-key unmarshal") }() - privk, _ := btcec.PrivKeyFromBytes(btcec.S256(), data) + privk, _ := btcec.PrivKeyFromBytes(data) return (*Secp256k1PrivateKey)(privk), nil } // UnmarshalSecp256k1PublicKey returns a public key from bytes -func UnmarshalSecp256k1PublicKey(data []byte) (PubKey, error) { - k, err := btcec.ParsePubKey(data, btcec.S256()) +func UnmarshalSecp256k1PublicKey(data []byte) (_k PubKey, err error) { + defer func() { catch.HandlePanic(recover(), &err, "secp256k1 public-key unmarshal") }() + k, err := btcec.ParsePubKey(data) if err != nil { return nil, err } @@ -68,12 +72,11 @@ func (k *Secp256k1PrivateKey) Equals(o Key) bool { } // Sign returns a signature from input data -func (k *Secp256k1PrivateKey) Sign(data []byte) ([]byte, error) { +func (k *Secp256k1PrivateKey) Sign(data []byte) (_sig []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "secp256k1 signing") }() + key := (*btcec.PrivateKey)(k) hash := sha256.Sum256(data) - sig, err := (*btcec.PrivateKey)(k).Sign(hash[:]) - if err != nil { - return nil, err - } + sig := btcececdsa.Sign(key, hash[:]) return sig.Serialize(), nil } @@ -89,7 +92,8 @@ func (k *Secp256k1PublicKey) Type() pb.KeyType { } // Raw returns the bytes of the key -func (k *Secp256k1PublicKey) Raw() ([]byte, error) { +func (k *Secp256k1PublicKey) Raw() (res []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "secp256k1 public key marshaling") }() return (*btcec.PublicKey)(k).SerializeCompressed(), nil } @@ -104,8 +108,16 @@ func (k *Secp256k1PublicKey) Equals(o Key) bool { } // Verify compares a signature against the input data -func (k *Secp256k1PublicKey) Verify(data []byte, sigStr []byte) (bool, error) { - sig, err := btcec.ParseDERSignature(sigStr, btcec.S256()) +func (k *Secp256k1PublicKey) Verify(data []byte, sigStr []byte) (success bool, err error) { + defer func() { + catch.HandlePanic(recover(), &err, "secp256k1 signature verification") + + // To be extra safe. + if err != nil { + success = false + } + }() + sig, err := btcececdsa.ParseDERSignature(sigStr) if err != nil { return false, err } diff --git a/vendor/github.com/libp2p/go-libp2p-core/internal/catch/catch.go b/vendor/github.com/libp2p/go-libp2p-core/internal/catch/catch.go new file mode 100644 index 000000000..c61ee2aa3 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p-core/internal/catch/catch.go @@ -0,0 +1,18 @@ +package catch + +import ( + "fmt" + "io" + "os" + "runtime/debug" +) + +var panicWriter io.Writer = os.Stderr + +// HandlePanic handles and logs panics. +func HandlePanic(rerr interface{}, err *error, where string) { + if rerr != nil { + fmt.Fprintf(panicWriter, "caught panic: %s\n%s\n", rerr, debug.Stack()) + *err = fmt.Errorf("panic in %s: %s", where, rerr) + } +} diff --git a/vendor/github.com/libp2p/go-libp2p-core/mux/mux.go b/vendor/github.com/libp2p/go-libp2p-core/mux/mux.go deleted file mode 100644 index 32303c84e..000000000 --- a/vendor/github.com/libp2p/go-libp2p-core/mux/mux.go +++ /dev/null @@ -1,21 +0,0 @@ -// Package mux provides stream multiplexing interfaces for libp2p. -// -// For a conceptual overview of stream multiplexing in libp2p, see -// https://docs.libp2p.io/concepts/stream-multiplexing/ -package mux - -import ( - "github.com/libp2p/go-libp2p-core/network" -) - -// Deprecated: use network.ErrReset instead. -var ErrReset = network.ErrReset - -// Deprecated: use network.MuxedStream instead. -type MuxedStream = network.MuxedStream - -// Deprecated: use network.MuxedConn instead. -type MuxedConn = network.MuxedConn - -// Deprecated: use network.Multiplexer instead. -type Multiplexer = network.Multiplexer diff --git a/vendor/github.com/libp2p/go-libp2p-core/network/notifee.go b/vendor/github.com/libp2p/go-libp2p-core/network/notifee.go index 10ef72f1e..bb2f38338 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/network/notifee.go +++ b/vendor/github.com/libp2p/go-libp2p-core/network/notifee.go @@ -11,12 +11,6 @@ type Notifiee interface { ListenClose(Network, ma.Multiaddr) // called when network stops listening on an addr Connected(Network, Conn) // called when a connection opened Disconnected(Network, Conn) // called when a connection closed - OpenedStream(Network, Stream) // called when a stream opened - ClosedStream(Network, Stream) // called when a stream closed - - // TODO - // PeerConnected(Network, peer.ID) // called when a peer connected - // PeerDisconnected(Network, peer.ID) // called when a peer disconnected } // NotifyBundle implements Notifiee by calling any of the functions set on it, @@ -28,9 +22,6 @@ type NotifyBundle struct { ConnectedF func(Network, Conn) DisconnectedF func(Network, Conn) - - OpenedStreamF func(Network, Stream) - ClosedStreamF func(Network, Stream) } var _ Notifiee = (*NotifyBundle)(nil) @@ -63,20 +54,6 @@ func (nb *NotifyBundle) Disconnected(n Network, c Conn) { } } -// OpenedStream calls OpenedStreamF if it is not null. -func (nb *NotifyBundle) OpenedStream(n Network, s Stream) { - if nb.OpenedStreamF != nil { - nb.OpenedStreamF(n, s) - } -} - -// ClosedStream calls ClosedStreamF if it is not null. -func (nb *NotifyBundle) ClosedStream(n Network, s Stream) { - if nb.ClosedStreamF != nil { - nb.ClosedStreamF(n, s) - } -} - // Global noop notifiee. Do not change. var GlobalNoopNotifiee = &NoopNotifiee{} @@ -88,5 +65,3 @@ func (nn *NoopNotifiee) Connected(n Network, c Conn) {} func (nn *NoopNotifiee) Disconnected(n Network, c Conn) {} func (nn *NoopNotifiee) Listen(n Network, addr ma.Multiaddr) {} func (nn *NoopNotifiee) ListenClose(n Network, addr ma.Multiaddr) {} -func (nn *NoopNotifiee) OpenedStream(Network, Stream) {} -func (nn *NoopNotifiee) ClosedStream(Network, Stream) {} diff --git a/vendor/github.com/libp2p/go-libp2p-core/network/rcmgr.go b/vendor/github.com/libp2p/go-libp2p-core/network/rcmgr.go index 630bc011c..5350d47c9 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/network/rcmgr.go +++ b/vendor/github.com/libp2p/go-libp2p-core/network/rcmgr.go @@ -3,6 +3,7 @@ package network import ( "github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-core/protocol" + "github.com/multiformats/go-multiaddr" ) // ResourceManager is the interface to the network resource management subsystem. @@ -83,7 +84,7 @@ type ResourceManager interface { // is scoped at the transient scope. // The caller owns the returned scope and is responsible for calling Done in order to signify // the end of the scope's span. - OpenConnection(dir Direction, usefd bool) (ConnManagementScope, error) + OpenConnection(dir Direction, usefd bool, endpoint multiaddr.Multiaddr) (ConnManagementScope, error) // OpenStream creates a new stream scope, initially unnegotiated. // An unnegotiated stream will be initially unattached to any protocol scope @@ -300,7 +301,7 @@ func (n *nullResourceManager) ViewProtocol(p protocol.ID, f func(ProtocolScope) func (n *nullResourceManager) ViewPeer(p peer.ID, f func(PeerScope) error) error { return f(NullScope) } -func (n *nullResourceManager) OpenConnection(dir Direction, usefd bool) (ConnManagementScope, error) { +func (n *nullResourceManager) OpenConnection(dir Direction, usefd bool, endpoint multiaddr.Multiaddr) (ConnManagementScope, error) { return NullScope, nil } func (n *nullResourceManager) OpenStream(p peer.ID, dir Direction) (StreamManagementScope, error) { diff --git a/vendor/github.com/libp2p/go-libp2p-core/peer/addrinfo_serde.go b/vendor/github.com/libp2p/go-libp2p-core/peer/addrinfo_serde.go index cef144fbe..eae253d12 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/peer/addrinfo_serde.go +++ b/vendor/github.com/libp2p/go-libp2p-core/peer/addrinfo_serde.go @@ -3,6 +3,7 @@ package peer import ( "encoding/json" + "github.com/libp2p/go-libp2p-core/internal/catch" ma "github.com/multiformats/go-multiaddr" ) @@ -12,7 +13,9 @@ type addrInfoJson struct { Addrs []string } -func (pi AddrInfo) MarshalJSON() ([]byte, error) { +func (pi AddrInfo) MarshalJSON() (res []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "libp2p addr info marshal") }() + addrs := make([]string, len(pi.Addrs)) for i, addr := range pi.Addrs { addrs[i] = addr.String() @@ -23,7 +26,8 @@ func (pi AddrInfo) MarshalJSON() ([]byte, error) { }) } -func (pi *AddrInfo) UnmarshalJSON(b []byte) error { +func (pi *AddrInfo) UnmarshalJSON(b []byte) (err error) { + defer func() { catch.HandlePanic(recover(), &err, "libp2p addr info unmarshal") }() var data addrInfoJson if err := json.Unmarshal(b, &data); err != nil { return err diff --git a/vendor/github.com/libp2p/go-libp2p-core/peer/peer.go b/vendor/github.com/libp2p/go-libp2p-core/peer/peer.go index b88ae056c..7d4bdfff8 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/peer/peer.go +++ b/vendor/github.com/libp2p/go-libp2p-core/peer/peer.go @@ -9,6 +9,7 @@ import ( "github.com/ipfs/go-cid" ic "github.com/libp2p/go-libp2p-core/crypto" b58 "github.com/mr-tron/base58/base58" + mc "github.com/multiformats/go-multicodec" mh "github.com/multiformats/go-multihash" ) @@ -162,13 +163,9 @@ func Encode(id ID) string { // FromCid converts a CID to a peer ID, if possible. func FromCid(c cid.Cid) (ID, error) { - ty := c.Type() - if ty != cid.Libp2pKey { - s := cid.CodecToStr[ty] - if s == "" { - s = fmt.Sprintf("[unknown multicodec %d]", ty) - } - return "", fmt.Errorf("can't convert CID of type %s to a peer ID", s) + code := mc.Code(c.Type()) + if code != mc.Libp2pKey { + return "", fmt.Errorf("can't convert CID of type %q to a peer ID", code) } return ID(c.Hash()), nil } @@ -209,3 +206,11 @@ type IDSlice []ID func (es IDSlice) Len() int { return len(es) } func (es IDSlice) Swap(i, j int) { es[i], es[j] = es[j], es[i] } func (es IDSlice) Less(i, j int) bool { return string(es[i]) < string(es[j]) } + +func (es IDSlice) String() string { + peersStrings := make([]string, len(es)) + for i, id := range es { + peersStrings[i] = id.String() + } + return strings.Join(peersStrings, ", ") +} diff --git a/vendor/github.com/libp2p/go-libp2p-core/peer/record.go b/vendor/github.com/libp2p/go-libp2p-core/peer/record.go index 212cea721..aae1d76ad 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/peer/record.go +++ b/vendor/github.com/libp2p/go-libp2p-core/peer/record.go @@ -5,6 +5,7 @@ import ( "sync" "time" + "github.com/libp2p/go-libp2p-core/internal/catch" pb "github.com/libp2p/go-libp2p-core/peer/pb" "github.com/libp2p/go-libp2p-core/record" @@ -160,13 +161,15 @@ func (r *PeerRecord) Codec() []byte { // This method is called automatically when consuming a record.Envelope // whose PayloadType indicates that it contains a PeerRecord. // It is generally not necessary or recommended to call this method directly. -func (r *PeerRecord) UnmarshalRecord(bytes []byte) error { +func (r *PeerRecord) UnmarshalRecord(bytes []byte) (err error) { if r == nil { return fmt.Errorf("cannot unmarshal PeerRecord to nil receiver") } + defer func() { catch.HandlePanic(recover(), &err, "libp2p peer record unmarshal") }() + var msg pb.PeerRecord - err := proto.Unmarshal(bytes, &msg) + err = proto.Unmarshal(bytes, &msg) if err != nil { return err } @@ -183,7 +186,9 @@ func (r *PeerRecord) UnmarshalRecord(bytes []byte) error { // MarshalRecord serializes a PeerRecord to a byte slice. // This method is called automatically when constructing a routing.Envelope // using Seal or PeerRecord.Sign. -func (r *PeerRecord) MarshalRecord() ([]byte, error) { +func (r *PeerRecord) MarshalRecord() (res []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "libp2p peer record marshal") }() + msg, err := r.ToProtobuf() if err != nil { return nil, err diff --git a/vendor/github.com/libp2p/go-libp2p-core/peer/set.go b/vendor/github.com/libp2p/go-libp2p-core/peer/set.go deleted file mode 100644 index c3730cd4f..000000000 --- a/vendor/github.com/libp2p/go-libp2p-core/peer/set.go +++ /dev/null @@ -1,71 +0,0 @@ -package peer - -import ( - "sync" -) - -// PeerSet is a threadsafe set of peers. -type Set struct { - lk sync.RWMutex - ps map[ID]struct{} - - size int -} - -func NewSet() *Set { - ps := new(Set) - ps.ps = make(map[ID]struct{}) - ps.size = -1 - return ps -} - -func NewLimitedSet(size int) *Set { - ps := new(Set) - ps.ps = make(map[ID]struct{}) - ps.size = size - return ps -} - -func (ps *Set) Add(p ID) { - ps.lk.Lock() - ps.ps[p] = struct{}{} - ps.lk.Unlock() -} - -func (ps *Set) Contains(p ID) bool { - ps.lk.RLock() - _, ok := ps.ps[p] - ps.lk.RUnlock() - return ok -} - -func (ps *Set) Size() int { - ps.lk.RLock() - defer ps.lk.RUnlock() - return len(ps.ps) -} - -// TryAdd Attempts to add the given peer into the set. -// This operation can fail for one of two reasons: -// 1) The given peer is already in the set -// 2) The number of peers in the set is equal to size -func (ps *Set) TryAdd(p ID) bool { - var success bool - ps.lk.Lock() - if _, ok := ps.ps[p]; !ok && (len(ps.ps) < ps.size || ps.size == -1) { - success = true - ps.ps[p] = struct{}{} - } - ps.lk.Unlock() - return success -} - -func (ps *Set) Peers() []ID { - ps.lk.Lock() - out := make([]ID, 0, len(ps.ps)) - for p := range ps.ps { - out = append(out, p) - } - ps.lk.Unlock() - return out -} diff --git a/vendor/github.com/libp2p/go-libp2p-core/protocol/switch.go b/vendor/github.com/libp2p/go-libp2p-core/protocol/switch.go index f3ac369be..e00ba1ad1 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/protocol/switch.go +++ b/vendor/github.com/libp2p/go-libp2p-core/protocol/switch.go @@ -51,7 +51,6 @@ type Router interface { // Negotiator is a component capable of reaching agreement over what protocols // to use for inbound streams of communication. type Negotiator interface { - // NegotiateLazy will return the registered protocol handler to use // for a given inbound stream, returning as soon as the protocol has been // determined. Returns an error if negotiation fails. @@ -59,6 +58,8 @@ type Negotiator interface { // NegotiateLazy may return before all protocol negotiation responses have been // written to the stream. This is in contrast to Negotiate, which will block until // the Negotiator is finished with the stream. + // + // Deprecated: use Negotiate instead. NegotiateLazy(rwc io.ReadWriteCloser) (io.ReadWriteCloser, string, HandlerFunc, error) // Negotiate will return the registered protocol handler to use for a given diff --git a/vendor/github.com/libp2p/go-libp2p-core/record/envelope.go b/vendor/github.com/libp2p/go-libp2p-core/record/envelope.go index 10115910a..df1eee7a3 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/record/envelope.go +++ b/vendor/github.com/libp2p/go-libp2p-core/record/envelope.go @@ -7,6 +7,7 @@ import ( "sync" "github.com/libp2p/go-libp2p-core/crypto" + "github.com/libp2p/go-libp2p-core/internal/catch" pb "github.com/libp2p/go-libp2p-core/record/pb" pool "github.com/libp2p/go-buffer-pool" @@ -192,7 +193,8 @@ func UnmarshalEnvelope(data []byte) (*Envelope, error) { // Marshal returns a byte slice containing a serialized protobuf representation // of a Envelope. -func (e *Envelope) Marshal() ([]byte, error) { +func (e *Envelope) Marshal() (res []byte, err error) { + defer func() { catch.HandlePanic(recover(), &err, "libp2p envelope marshal") }() key, err := crypto.PublicKeyToProto(e.PublicKey) if err != nil { return nil, err diff --git a/vendor/github.com/libp2p/go-libp2p-core/record/record.go b/vendor/github.com/libp2p/go-libp2p-core/record/record.go index 212005780..af30a47e1 100644 --- a/vendor/github.com/libp2p/go-libp2p-core/record/record.go +++ b/vendor/github.com/libp2p/go-libp2p-core/record/record.go @@ -3,6 +3,8 @@ package record import ( "errors" "reflect" + + "github.com/libp2p/go-libp2p-core/internal/catch" ) var ( @@ -70,7 +72,9 @@ func RegisterType(prototype Record) { payloadTypeRegistry[string(prototype.Codec())] = getValueType(prototype) } -func unmarshalRecordPayload(payloadType []byte, payloadBytes []byte) (Record, error) { +func unmarshalRecordPayload(payloadType []byte, payloadBytes []byte) (_rec Record, err error) { + defer func() { catch.HandlePanic(recover(), &err, "libp2p envelope record unmarshal") }() + rec, err := blankRecordForPayloadType(payloadType) if err != nil { return nil, err diff --git a/vendor/github.com/libp2p/go-libp2p-discovery/.gitignore b/vendor/github.com/libp2p/go-libp2p-discovery/.gitignore deleted file mode 100644 index f1c181ec9..000000000 --- a/vendor/github.com/libp2p/go-libp2p-discovery/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -# Binaries for programs and plugins -*.exe -*.exe~ -*.dll -*.so -*.dylib - -# Test binary, build with `go test -c` -*.test - -# Output of the go coverage tool, specifically when used with LiteIDE -*.out diff --git a/vendor/github.com/libp2p/go-libp2p-discovery/README.md b/vendor/github.com/libp2p/go-libp2p-discovery/README.md deleted file mode 100644 index 4ab7fe40b..000000000 --- a/vendor/github.com/libp2p/go-libp2p-discovery/README.md +++ /dev/null @@ -1,32 +0,0 @@ -# go-libp2p-discovery - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) - -> Interfaces for active peer discovery - -This package contains interfaces and utilities for active peer discovery. -Peers providing a service use the interface to advertise their presence in some namespace. -Vice versa, peers seeking a service use the interface to discover peers that have previously advertised -as service providers. -The package also includes a baseline implementation for discovery through [Content Routing](https://github.com/libp2p/go-libp2p-routing). - -## Documenation - -See https://godoc.org/github.com/libp2p/go-libp2p-discovery. - -## Contribute - -Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/go-libp2p-discovery/issues)! - -This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md). - -## License - -MIT - ---- - -The last gx published version of this module was: 1.0.15: QmWA8k8apx6egshEjemkuxpKNJS7W7heCgzTnBhAvX9yoB diff --git a/vendor/github.com/libp2p/go-libp2p-discovery/routing.go b/vendor/github.com/libp2p/go-libp2p-discovery/routing.go deleted file mode 100644 index a05071da1..000000000 --- a/vendor/github.com/libp2p/go-libp2p-discovery/routing.go +++ /dev/null @@ -1,113 +0,0 @@ -package discovery - -import ( - "context" - "github.com/libp2p/go-libp2p-core/discovery" - "time" - - "github.com/ipfs/go-cid" - - "github.com/libp2p/go-libp2p-core/peer" - "github.com/libp2p/go-libp2p-core/routing" - - mh "github.com/multiformats/go-multihash" -) - -// RoutingDiscovery is an implementation of discovery using ContentRouting. -// Namespaces are translated to Cids using the SHA256 hash. -type RoutingDiscovery struct { - routing.ContentRouting -} - -func NewRoutingDiscovery(router routing.ContentRouting) *RoutingDiscovery { - return &RoutingDiscovery{router} -} - -func (d *RoutingDiscovery) Advertise(ctx context.Context, ns string, opts ...discovery.Option) (time.Duration, error) { - var options discovery.Options - err := options.Apply(opts...) - if err != nil { - return 0, err - } - - ttl := options.Ttl - if ttl == 0 || ttl > 3*time.Hour { - // the DHT provider record validity is 24hrs, but it is recommnded to republish at least every 6hrs - // we go one step further and republish every 3hrs - ttl = 3 * time.Hour - } - - cid, err := nsToCid(ns) - if err != nil { - return 0, err - } - - // this context requires a timeout; it determines how long the DHT looks for - // closest peers to the key/CID before it goes on to provide the record to them. - // Not setting a timeout here will make the DHT wander forever. - pctx, cancel := context.WithTimeout(ctx, 60*time.Second) - defer cancel() - - err = d.Provide(pctx, cid, true) - if err != nil { - return 0, err - } - - return ttl, nil -} - -func (d *RoutingDiscovery) FindPeers(ctx context.Context, ns string, opts ...discovery.Option) (<-chan peer.AddrInfo, error) { - var options discovery.Options - err := options.Apply(opts...) - if err != nil { - return nil, err - } - - limit := options.Limit - if limit == 0 { - limit = 100 // that's just arbitrary, but FindProvidersAsync needs a count - } - - cid, err := nsToCid(ns) - if err != nil { - return nil, err - } - - return d.FindProvidersAsync(ctx, cid, limit), nil -} - -func nsToCid(ns string) (cid.Cid, error) { - h, err := mh.Sum([]byte(ns), mh.SHA2_256, -1) - if err != nil { - return cid.Undef, err - } - - return cid.NewCidV1(cid.Raw, h), nil -} - -func NewDiscoveryRouting(disc discovery.Discovery, opts ...discovery.Option) *DiscoveryRouting { - return &DiscoveryRouting{disc, opts} -} - -type DiscoveryRouting struct { - discovery.Discovery - opts []discovery.Option -} - -func (r *DiscoveryRouting) Provide(ctx context.Context, c cid.Cid, bcast bool) error { - if !bcast { - return nil - } - - _, err := r.Advertise(ctx, cidToNs(c), r.opts...) - return err -} - -func (r *DiscoveryRouting) FindProvidersAsync(ctx context.Context, c cid.Cid, limit int) <-chan peer.AddrInfo { - ch, _ := r.FindPeers(ctx, cidToNs(c), append([]discovery.Option{discovery.Limit(limit)}, r.opts...)...) - return ch -} - -func cidToNs(c cid.Cid) string { - return "/provider/" + c.String() -} diff --git a/vendor/github.com/libp2p/go-libp2p-discovery/util.go b/vendor/github.com/libp2p/go-libp2p-discovery/util.go deleted file mode 100644 index 9fd61c5df..000000000 --- a/vendor/github.com/libp2p/go-libp2p-discovery/util.go +++ /dev/null @@ -1,58 +0,0 @@ -package discovery - -import ( - "context" - "time" - - "github.com/libp2p/go-libp2p-core/discovery" - "github.com/libp2p/go-libp2p-core/peer" - - logging "github.com/ipfs/go-log" -) - -var log = logging.Logger("discovery") - -// FindPeers is a utility function that synchronously collects peers from a Discoverer. -func FindPeers(ctx context.Context, d discovery.Discoverer, ns string, opts ...discovery.Option) ([]peer.AddrInfo, error) { - var res []peer.AddrInfo - - ch, err := d.FindPeers(ctx, ns, opts...) - if err != nil { - return nil, err - } - - for pi := range ch { - res = append(res, pi) - } - - return res, nil -} - -// Advertise is a utility function that persistently advertises a service through an Advertiser. -func Advertise(ctx context.Context, a discovery.Advertiser, ns string, opts ...discovery.Option) { - go func() { - for { - ttl, err := a.Advertise(ctx, ns, opts...) - if err != nil { - log.Debugf("Error advertising %s: %s", ns, err.Error()) - if ctx.Err() != nil { - return - } - - select { - case <-time.After(2 * time.Minute): - continue - case <-ctx.Done(): - return - } - } - - wait := 7 * ttl / 8 - select { - case <-time.After(wait): - case <-ctx.Done(): - return - } - } - }() -} diff --git a/vendor/github.com/libp2p/go-libp2p-mplex/.gitignore b/vendor/github.com/libp2p/go-libp2p-mplex/.gitignore deleted file mode 100644 index 1377554eb..000000000 --- a/vendor/github.com/libp2p/go-libp2p-mplex/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.swp diff --git a/vendor/github.com/libp2p/go-libp2p-mplex/LICENSE b/vendor/github.com/libp2p/go-libp2p-mplex/LICENSE deleted file mode 100644 index c7386b3c9..000000000 --- a/vendor/github.com/libp2p/go-libp2p-mplex/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Juan Batiz-Benet - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/libp2p/go-libp2p-mplex/README.md b/vendor/github.com/libp2p/go-libp2p-mplex/README.md deleted file mode 100644 index fc3d7889a..000000000 --- a/vendor/github.com/libp2p/go-libp2p-mplex/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# go-libp2p-mplex - a go-stream-muxer shim for multiplex - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs) ![](https://raw.githubusercontent.com/libp2p/go-stream-muxer/master/img/badge.png) - -This is an implementation of the [go-stream-muxer](https://github.com/libp2p/go-stream-muxer) interface for [multiplex](https://github.com/libp2p/go-mplex). For more information, see that repo. - -## Installation - -```sh -go get -d github.com/libp2p/go-libp2p-mplex -cd $GOPATH/src/github.com/libp2p/go-libp2p-mplex -make deps -``` diff --git a/vendor/github.com/libp2p/go-libp2p-mplex/version.json b/vendor/github.com/libp2p/go-libp2p-mplex/version.json deleted file mode 100644 index 42c14d1be..000000000 --- a/vendor/github.com/libp2p/go-libp2p-mplex/version.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "v0.6.0" -} diff --git a/vendor/github.com/libp2p/go-libp2p-nat/LICENSE b/vendor/github.com/libp2p/go-libp2p-nat/LICENSE deleted file mode 100644 index 26100332b..000000000 --- a/vendor/github.com/libp2p/go-libp2p-nat/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Jeromy Johnson - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/libp2p/go-libp2p-nat/README.md b/vendor/github.com/libp2p/go-libp2p-nat/README.md deleted file mode 100644 index 5d1ac972c..000000000 --- a/vendor/github.com/libp2p/go-libp2p-nat/README.md +++ /dev/null @@ -1,46 +0,0 @@ -go-libp2p-nat -================== - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![Travis CI](https://travis-ci.org/libp2p/go-libp2p-nat.svg?branch=master)](https://travis-ci.org/libp2p/go-libp2p-nat) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) - -> NAT port mapping library for go-libp2p. - - -## Table of Contents - -- [Install](#install) -- [Usage](#usage) -- [Contribute](#contribute) -- [License](#license) - -## Install - -```sh -make install -``` - -## Usage - -```sh -# TODO -``` - -## Contribute - -PRs are welcome! Feel free to join in. All welcome. Open an [issue](https://github.com/ipfs/go-libp2p-nat/issues)! - -Check out our [contributing document](https://github.com/libp2p/community/blob/master/CONTRIBUTE.md) for more information on how we work, and about contributing in general. Please be aware that all interactions related to libp2p are subject to the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md). - -Small note: If editing the Readme, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification. - -## License - -[MIT](LICENSE) © Jeromy Johnson - ---- - -The last gx published version of this module was: 0.8.13: QmRbx7DYHgw3uNn2RuU2nv9Bdh96ZdtT65CG1CGPNRQcGZ diff --git a/vendor/github.com/libp2p/go-libp2p-noise/README.md b/vendor/github.com/libp2p/go-libp2p-noise/README.md deleted file mode 100644 index c34c12cfe..000000000 --- a/vendor/github.com/libp2p/go-libp2p-noise/README.md +++ /dev/null @@ -1,98 +0,0 @@ -# go-libp2p-noise - -[![](https://img.shields.io/badge/made%20by-ETHBerlinZwei-blue.svg?style=flat-square)](https://ethberlinzwei.com) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) -[![GoDoc](https://godoc.org/github.com/libp2p/go-libp2p-noise?status.svg)](https://godoc.org/github.com/libp2p/go-libp2p-noise) -[![Build Status](https://travis-ci.com/libp2p/go-libp2p-noise.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-noise) - -> go-libp2p's noise encrypted transport - -`go-libp2p-noise` is a component of the [libp2p project](https://libp2p.io), a -modular networking stack for developing peer-to-peer applications. It provides a -secure transport channel for [`go-libp2p`][go-libp2p] based on the -[Noise Protocol Framework](https://noiseprotocol.org). Following an initial -plaintext handshake, all data exchanged between peers using `go-libp2p-noise` is -encrypted and protected from eavesdropping. - -libp2p supports multiple [transport protocols][docs-transport], many of which -lack native channel security. `go-libp2p-noise` is designed to work with -go-libp2p's ["transport upgrader"][transport-upgrader], which applies security -modules (like `go-libp2p-noise`) to an insecure channel. `go-libp2p-noise` -implements the [`SecureTransport` interface][godoc-securetransport], which -allows the upgrader to secure any underlying connection. - -More detail on the handshake protocol and wire format used is available in the -[noise-libp2p specification][noise-libp2p-spec]. Details about security protocol -negotiation in libp2p can be found in the [connection establishment spec][conn-spec]. - -## Status - -This implementation is currently considered "feature complete," but it has not yet -been widely tested in a production environment. - -## Install - -As `go-libp2p-noise` is still in development, it is not included as a default dependency of `go-libp2p`. - -`go-libp2p-noise` is a standard Go module which can be installed with: - -```sh -go get github.com/libp2p/go-libp2p-noise -``` - -## Usage - -`go-libp2p-noise` is not currently enabled by default when constructing a new libp2p -[Host][godoc-host], so you will need to explicitly enable it in order to use it. - -To do so, you can pass `noise.New` as an argument to a `libp2p.Security` `Option` when -constructing a libp2p `Host` with `libp2p.New`: - -```go -import ( - libp2p "github.com/libp2p/go-libp2p" - noise "github.com/libp2p/go-libp2p-noise" -) - -// wherever you create your libp2p instance: -host := libp2p.New( - libp2p.Security(noise.ID, noise.New) -) -``` - -Note that the above snippet will _replace_ the default security protocols. To add Noise -as an additional protocol, chain it to the default options instead: - -```go -libp2p.ChainOptions(libp2p.DefaultSecurity, libp2p.Security(noise.ID, noise.New)) -``` - -## Contribute - -Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/go-libp2p-noise/issues)! - -This repository falls under the libp2p [Code of Conduct](https://github.com/libp2p/community/blob/master/code-of-conduct.md). - -### Want to hack on libp2p? - -[![](https://cdn.rawgit.com/libp2p/community/master/img/contribute.gif)](https://github.com/libp2p/community/blob/master/CONTRIBUTE.md) - -## License - -MIT/Apache-2.0 - ---- - -[go-libp2p]: https://github.com/libp2p/go-libp2p -[noise-libp2p-spec]: https://github.com/libp2p/specs/blob/master/noise/README.md -[conn-spec]: https://github.com/libp2p/specs/blob/master/connections/README.md -[docs-transport]: https://docs.libp2p.io/concepts/transport -[transport-upgrader]: https://github.com/libp2p/go-libp2p-transport-upgrader -[godoc-host]: https://godoc.org/github.com/libp2p/go-libp2p-core/host#Host -[godoc-option]: https://godoc.org/github.com/libp2p/go-libp2p#Option -[godoc-go-libp2p-pkg-vars]: https://godoc.org/github.com/libp2p/go-libp2p#pkg-variables -[godoc-security-option]: https://godoc.org/github.com/libp2p/go-libp2p#Security -[godoc-securetransport]: https://godoc.org/github.com/libp2p/go-libp2p-core/sec#SecureTransport - diff --git a/vendor/github.com/libp2p/go-libp2p-peerstore/addr/addrsrcs.go b/vendor/github.com/libp2p/go-libp2p-peerstore/addr/addrsrcs.go deleted file mode 100644 index 9be78d5cc..000000000 --- a/vendor/github.com/libp2p/go-libp2p-peerstore/addr/addrsrcs.go +++ /dev/null @@ -1,70 +0,0 @@ -// Package addr provides utility functions to handle peer addresses. -package addr - -import ( - ma "github.com/multiformats/go-multiaddr" -) - -// AddrSource is a source of addresses. It allows clients to retrieve -// a set of addresses at a last possible moment in time. It is used -// to query a set of addresses that may change over time, as a result -// of the network changing interfaces or mappings. -type Source interface { - Addrs() []ma.Multiaddr -} - -// CombineSources returns a new AddrSource which is the -// concatenation of all input AddrSources: -// -// combined := CombinedSources(a, b) -// combined.Addrs() // append(a.Addrs(), b.Addrs()...) -// -func CombineSources(srcs ...Source) Source { - return combinedAS(srcs) -} - -type combinedAS []Source - -func (cas combinedAS) Addrs() []ma.Multiaddr { - var addrs []ma.Multiaddr - for _, s := range cas { - addrs = append(addrs, s.Addrs()...) - } - return addrs -} - -// UniqueSource returns a new AddrSource which omits duplicate -// addresses from the inputs: -// -// unique := UniqueSource(a, b) -// unique.Addrs() // append(a.Addrs(), b.Addrs()...) -// // but only adds each addr once. -// -func UniqueSource(srcs ...Source) Source { - return uniqueAS(srcs) -} - -type uniqueAS []Source - -func (uas uniqueAS) Addrs() []ma.Multiaddr { - seen := make(map[string]struct{}) - var addrs []ma.Multiaddr - for _, s := range uas { - for _, a := range s.Addrs() { - s := a.String() - if _, found := seen[s]; !found { - addrs = append(addrs, a) - seen[s] = struct{}{} - } - } - } - return addrs -} - -// Slice is a simple slice of addresses that implements -// the AddrSource interface. -type Slice []ma.Multiaddr - -func (as Slice) Addrs() []ma.Multiaddr { - return as -} diff --git a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/addr_book.go b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/addr_book.go index 0f87c55c4..6c7bed79a 100644 --- a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/addr_book.go +++ b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/addr_book.go @@ -83,11 +83,11 @@ func (r *addrsRecord) flush(write ds.Write) (err error) { // * after an entry has been modified (e.g. addresses have been added or removed, TTLs updated, etc.) // // If the return value is true, the caller should perform a flush immediately to sync the record with the store. -func (r *addrsRecord) clean() (chgd bool) { - now := time.Now().Unix() +func (r *addrsRecord) clean(now time.Time) (chgd bool) { + nowUnix := now.Unix() addrsLen := len(r.Addrs) - if !r.dirty && !r.hasExpiredAddrs(now) { + if !r.dirty && !r.hasExpiredAddrs(nowUnix) { // record is not dirty, and we have no expired entries to purge. return false } @@ -104,7 +104,7 @@ func (r *addrsRecord) clean() (chgd bool) { }) } - r.Addrs = removeExpired(r.Addrs, now) + r.Addrs = removeExpired(r.Addrs, nowUnix) return r.dirty || len(r.Addrs) != addrsLen } @@ -144,6 +144,23 @@ type dsAddrBook struct { // controls children goroutine lifetime. childrenDone sync.WaitGroup cancelFn func() + + clock clock +} + +type clock interface { + Now() time.Time + After(d time.Duration) <-chan time.Time +} + +type realclock struct{} + +func (rc realclock) Now() time.Time { + return time.Now() +} + +func (rc realclock) After(d time.Duration) <-chan time.Time { + return time.After(d) } var _ pstore.AddrBook = (*dsAddrBook)(nil) @@ -176,6 +193,11 @@ func NewAddrBook(ctx context.Context, store ds.Batching, opts Options) (ab *dsAd opts: opts, cancelFn: cancelFn, subsManager: pstoremem.NewAddrSubManager(), + clock: realclock{}, + } + + if opts.Clock != nil { + ab.clock = opts.Clock } if opts.CacheSize > 0 { @@ -207,15 +229,12 @@ func (ab *dsAddrBook) Close() error { // // If the cache argument is true, the record is inserted in the cache when loaded from the datastore. func (ab *dsAddrBook) loadRecord(id peer.ID, cache bool, update bool) (pr *addrsRecord, err error) { - if err := id.Validate(); err != nil { - return nil, err - } if e, ok := ab.cache.Get(id); ok { pr = e.(*addrsRecord) pr.Lock() defer pr.Unlock() - if pr.clean() && update { + if pr.clean(ab.clock.Now()) && update { err = pr.flush(ab.ds) } return pr, err @@ -234,7 +253,7 @@ func (ab *dsAddrBook) loadRecord(id peer.ID, cache bool, update bool) (pr *addrs return nil, err } // this record is new and local for now (not in cache), so we don't need to lock. - if pr.clean() && update { + if pr.clean(ab.clock.Now()) && update { err = pr.flush(ab.ds) } default: @@ -386,7 +405,7 @@ func (ab *dsAddrBook) UpdateAddrs(p peer.ID, oldTTL time.Duration, newTTL time.D pr.Lock() defer pr.Unlock() - newExp := time.Now().Add(newTTL).Unix() + newExp := ab.clock.Now().Add(newTTL).Unix() for _, entry := range pr.Addrs { if entry.Ttl != int64(oldTTL) { continue @@ -395,7 +414,7 @@ func (ab *dsAddrBook) UpdateAddrs(p peer.ID, oldTTL time.Duration, newTTL time.D pr.dirty = true } - if pr.clean() { + if pr.clean(ab.clock.Now()) { pr.flush(ab.ds) } } @@ -438,11 +457,6 @@ func (ab *dsAddrBook) AddrStream(ctx context.Context, p peer.ID) <-chan ma.Multi // ClearAddrs will delete all known addresses for a peer ID. func (ab *dsAddrBook) ClearAddrs(p peer.ID) { - if err := p.Validate(); err != nil { - // nothing to do - return - } - ab.cache.Remove(p) key := addrBookBase.ChildString(b32.RawStdEncoding.EncodeToString([]byte(p))) @@ -469,7 +483,7 @@ func (ab *dsAddrBook) setAddrs(p peer.ID, addrs []ma.Multiaddr, ttl time.Duratio // return nil // } - newExp := time.Now().Add(ttl).Unix() + newExp := ab.clock.Now().Add(ttl).Unix() addrsMap := make(map[string]*pb.AddrBookRecord_AddrEntry, len(pr.Addrs)) for _, addr := range pr.Addrs { addrsMap[string(addr.Addr.Bytes())] = addr @@ -529,7 +543,7 @@ func (ab *dsAddrBook) setAddrs(p peer.ID, addrs []ma.Multiaddr, ttl time.Duratio // } pr.dirty = true - pr.clean() + pr.clean(ab.clock.Now()) return pr.flush(ab.ds) } @@ -575,7 +589,7 @@ func (ab *dsAddrBook) deleteAddrs(p peer.ID, addrs []ma.Multiaddr) (err error) { pr.Addrs = deleteInPlace(pr.Addrs, addrs) pr.dirty = true - pr.clean() + pr.clean(ab.clock.Now()) return pr.flush(ab.ds) } diff --git a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/addr_book_gc.go b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/addr_book_gc.go index 5cc0c3ad3..99802173d 100644 --- a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/addr_book_gc.go +++ b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/addr_book_gc.go @@ -25,7 +25,7 @@ var ( // queries purgeLookaheadQuery = query.Query{ Prefix: gcLookaheadBase.String(), - Orders: []query.Order{query.OrderByKey{}}, + Orders: []query.Order{query.OrderByFunction(orderByTimestampInKey)}, KeysOnly: true, } @@ -95,7 +95,7 @@ func (gc *dsAddrBookGc) background() { defer gc.ab.childrenDone.Done() select { - case <-time.After(gc.ab.opts.GCInitialDelay): + case <-gc.ab.clock.After(gc.ab.opts.GCInitialDelay): case <-gc.ab.ctx.Done(): // yield if we have been cancelled/closed before the delay elapses. return @@ -180,7 +180,7 @@ func (gc *dsAddrBookGc) purgeLookahead() { } defer results.Close() - now := time.Now().Unix() + now := gc.ab.clock.Now().Unix() // keys: /peers/gc/addrs// // values: nil @@ -214,7 +214,7 @@ func (gc *dsAddrBookGc) purgeLookahead() { if e, ok := gc.ab.cache.Peek(id); ok { cached := e.(*addrsRecord) cached.Lock() - if cached.clean() { + if cached.clean(gc.ab.clock.Now()) { if err = cached.flush(batch); err != nil { log.Warnf("failed to flush entry modified by GC for peer: &v, err: %v", id.Pretty(), err) } @@ -239,7 +239,7 @@ func (gc *dsAddrBookGc) purgeLookahead() { dropInError(gcKey, err, "unmarshalling entry") continue } - if record.clean() { + if record.clean(gc.ab.clock.Now()) { err = record.flush(batch) if err != nil { log.Warnf("failed to flush entry modified by GC for peer: &v, err: %v", id.Pretty(), err) @@ -284,7 +284,7 @@ func (gc *dsAddrBookGc) purgeStore() { } id := record.Id.ID - if !record.clean() { + if !record.clean(gc.ab.clock.Now()) { continue } @@ -317,7 +317,7 @@ func (gc *dsAddrBookGc) populateLookahead() { return } - until := time.Now().Add(gc.ab.opts.GCLookaheadInterval).Unix() + until := gc.ab.clock.Now().Add(gc.ab.opts.GCLookaheadInterval).Unix() var id peer.ID record := &addrsRecord{AddrBookRecord: &pb.AddrBookRecord{}} @@ -386,3 +386,25 @@ func (gc *dsAddrBookGc) populateLookahead() { gc.currWindowEnd = until } + +// orderByTimestampInKey orders the results by comparing the timestamp in the +// key. A lexiographic sort by itself is wrong since "10" is less than "2", but +// as an int 2 is obviously less than 10. +func orderByTimestampInKey(a, b query.Entry) int { + aKey := ds.RawKey(a.Key) + aInt, err := strconv.ParseInt(aKey.Parent().Name(), 10, 64) + if err != nil { + return -1 + } + bKey := ds.RawKey(b.Key) + bInt, err := strconv.ParseInt(bKey.Parent().Name(), 10, 64) + if err != nil { + return -1 + } + if aInt < bInt { + return -1 + } else if aInt == bInt { + return 0 + } + return 1 +} diff --git a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/metadata.go b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/metadata.go index 0350fa0bf..142017357 100644 --- a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/metadata.go +++ b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/metadata.go @@ -41,9 +41,6 @@ func NewPeerMetadata(_ context.Context, store ds.Datastore, _ Options) (*dsPeerM } func (pm *dsPeerMetadata) Get(p peer.ID, key string) (interface{}, error) { - if err := p.Validate(); err != nil { - return nil, err - } k := pmBase.ChildString(base32.RawStdEncoding.EncodeToString([]byte(p))).ChildString(key) value, err := pm.ds.Get(context.TODO(), k) if err != nil { @@ -61,9 +58,6 @@ func (pm *dsPeerMetadata) Get(p peer.ID, key string) (interface{}, error) { } func (pm *dsPeerMetadata) Put(p peer.ID, key string, val interface{}) error { - if err := p.Validate(); err != nil { - return err - } k := pmBase.ChildString(base32.RawStdEncoding.EncodeToString([]byte(p))).ChildString(key) var buf pool.Buffer if err := gob.NewEncoder(&buf).Encode(&val); err != nil { diff --git a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/peerstore.go b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/peerstore.go index f4ef0c91f..3119be397 100644 --- a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/peerstore.go +++ b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/peerstore.go @@ -34,6 +34,8 @@ type Options struct { // Initial delay before GC processes start. Intended to give the system breathing room to fully boot // before starting GC. GCInitialDelay time.Duration + + Clock clock } // DefaultOpts returns the default options for a persistent peerstore, with the full-purge GC algorithm: @@ -50,6 +52,7 @@ func DefaultOpts() Options { GCPurgeInterval: 2 * time.Hour, GCLookaheadInterval: 0, GCInitialDelay: 60 * time.Second, + Clock: realclock{}, } } diff --git a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/protobook.go b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/protobook.go index 596f57572..af44722c2 100644 --- a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/protobook.go +++ b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoreds/protobook.go @@ -60,9 +60,6 @@ func NewProtoBook(meta pstore.PeerMetadata, opts ...ProtoBookOption) (*dsProtoBo } func (pb *dsProtoBook) SetProtocols(p peer.ID, protos ...string) error { - if err := p.Validate(); err != nil { - return err - } if len(protos) > pb.maxProtos { return errTooManyProtocols } @@ -80,10 +77,6 @@ func (pb *dsProtoBook) SetProtocols(p peer.ID, protos ...string) error { } func (pb *dsProtoBook) AddProtocols(p peer.ID, protos ...string) error { - if err := p.Validate(); err != nil { - return err - } - s := pb.segments.get(p) s.Lock() defer s.Unlock() @@ -104,10 +97,6 @@ func (pb *dsProtoBook) AddProtocols(p peer.ID, protos ...string) error { } func (pb *dsProtoBook) GetProtocols(p peer.ID) ([]string, error) { - if err := p.Validate(); err != nil { - return nil, err - } - s := pb.segments.get(p) s.RLock() defer s.RUnlock() @@ -126,10 +115,6 @@ func (pb *dsProtoBook) GetProtocols(p peer.ID) ([]string, error) { } func (pb *dsProtoBook) SupportsProtocols(p peer.ID, protos ...string) ([]string, error) { - if err := p.Validate(); err != nil { - return nil, err - } - s := pb.segments.get(p) s.RLock() defer s.RUnlock() @@ -150,10 +135,6 @@ func (pb *dsProtoBook) SupportsProtocols(p peer.ID, protos ...string) ([]string, } func (pb *dsProtoBook) FirstSupportedProtocol(p peer.ID, protos ...string) (string, error) { - if err := p.Validate(); err != nil { - return "", err - } - s := pb.segments.get(p) s.RLock() defer s.RUnlock() @@ -172,10 +153,6 @@ func (pb *dsProtoBook) FirstSupportedProtocol(p peer.ID, protos ...string) (stri } func (pb *dsProtoBook) RemoveProtocols(p peer.ID, protos ...string) error { - if err := p.Validate(); err != nil { - return err - } - s := pb.segments.get(p) s.Lock() defer s.Unlock() diff --git a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/addr_book.go b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/addr_book.go index e40d006c8..7e6a67fa0 100644 --- a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/addr_book.go +++ b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/addr_book.go @@ -7,8 +7,6 @@ import ( "sync" "time" - "github.com/libp2p/go-libp2p-peerstore/addr" - "github.com/libp2p/go-libp2p-core/peer" pstore "github.com/libp2p/go-libp2p-core/peerstore" "github.com/libp2p/go-libp2p-core/record" @@ -51,14 +49,25 @@ func (segments *addrSegments) get(p peer.ID) *addrSegment { return segments[byte(p[len(p)-1])] } +type clock interface { + Now() time.Time +} + +type realclock struct{} + +func (rc realclock) Now() time.Time { + return time.Now() +} + // memoryAddrBook manages addresses. type memoryAddrBook struct { segments addrSegments - ctx context.Context - cancel func() + refCount sync.WaitGroup + cancel func() subManager *AddrSubManager + clock clock } var _ pstore.AddrBook = (*memoryAddrBook)(nil) @@ -77,16 +86,26 @@ func NewAddrBook() *memoryAddrBook { return ret }(), subManager: NewAddrSubManager(), - ctx: ctx, cancel: cancel, + clock: realclock{}, } - - go ab.background() + ab.refCount.Add(1) + go ab.background(ctx) return ab } +type AddrBookOption func(book *memoryAddrBook) error + +func WithClock(clock clock) AddrBookOption { + return func(book *memoryAddrBook) error { + book.clock = clock + return nil + } +} + // background periodically schedules a gc -func (mab *memoryAddrBook) background() { +func (mab *memoryAddrBook) background(ctx context.Context) { + defer mab.refCount.Done() ticker := time.NewTicker(1 * time.Hour) defer ticker.Stop() @@ -94,8 +113,7 @@ func (mab *memoryAddrBook) background() { select { case <-ticker.C: mab.gc() - - case <-mab.ctx.Done(): + case <-ctx.Done(): return } } @@ -103,15 +121,15 @@ func (mab *memoryAddrBook) background() { func (mab *memoryAddrBook) Close() error { mab.cancel() + mab.refCount.Wait() return nil } // gc garbage collects the in-memory address book. func (mab *memoryAddrBook) gc() { - now := time.Now() + now := mab.clock.Now() for _, s := range mab.segments { s.Lock() - var collectedPeers []peer.ID for p, amap := range s.addrs { for k, addr := range amap { if addr.ExpiredBy(now) { @@ -120,30 +138,30 @@ func (mab *memoryAddrBook) gc() { } if len(amap) == 0 { delete(s.addrs, p) - collectedPeers = append(collectedPeers, p) + delete(s.signedPeerRecords, p) } } - // remove signed records for peers whose signed addrs have all been removed - for _, p := range collectedPeers { - delete(s.signedPeerRecords, p) - } s.Unlock() } } func (mab *memoryAddrBook) PeersWithAddrs() peer.IDSlice { // deduplicate, since the same peer could have both signed & unsigned addrs - pidSet := peer.NewSet() + set := make(map[peer.ID]struct{}) for _, s := range mab.segments { s.RLock() for pid, amap := range s.addrs { if len(amap) > 0 { - pidSet.Add(pid) + set[pid] = struct{}{} } } s.RUnlock() } - return pidSet.Peers() + peers := make(peer.IDSlice, 0, len(set)) + for pid := range set { + peers = append(peers, pid) + } + return peers } // AddAddr calls AddAddrs(p, []ma.Multiaddr{addr}, ttl) @@ -196,11 +214,6 @@ func (mab *memoryAddrBook) ConsumePeerRecord(recordEnvelope *record.Envelope, tt } func (mab *memoryAddrBook) addAddrs(p peer.ID, addrs []ma.Multiaddr, ttl time.Duration) { - if err := p.Validate(); err != nil { - log.Warnw("tried to set addrs for invalid peer ID", "peer", p, "error", err) - return - } - s := mab.segments.get(p) s.Lock() defer s.Unlock() @@ -220,24 +233,20 @@ func (mab *memoryAddrBook) addAddrsUnlocked(s *addrSegment, p peer.ID, addrs []m s.addrs[p] = amap } - exp := time.Now().Add(ttl) - addrSet := make(map[string]struct{}, len(addrs)) + exp := mab.clock.Now().Add(ttl) for _, addr := range addrs { if addr == nil { log.Warnw("was passed nil multiaddr", "peer", p) continue } - k := string(addr.Bytes()) - addrSet[k] = struct{}{} // find the highest TTL and Expiry time between // existing records and function args - a, found := amap[k] // won't allocate. - + a, found := amap[string(addr.Bytes())] // won't allocate. if !found { // not found, announce it. entry := &expiringAddr{Addr: addr, Expires: exp, TTL: ttl} - amap[k] = entry + amap[string(addr.Bytes())] = entry mab.subManager.BroadcastAddr(p, addr) } else { // update ttl & exp to whichever is greater between new and existing entry @@ -253,22 +262,12 @@ func (mab *memoryAddrBook) addAddrsUnlocked(s *addrSegment, p peer.ID, addrs []m // SetAddr calls mgr.SetAddrs(p, addr, ttl) func (mab *memoryAddrBook) SetAddr(p peer.ID, addr ma.Multiaddr, ttl time.Duration) { - if err := p.Validate(); err != nil { - log.Warnw("tried to set addrs for invalid peer ID", "peer", p, "error", err) - return - } - mab.SetAddrs(p, []ma.Multiaddr{addr}, ttl) } // SetAddrs sets the ttl on addresses. This clears any TTL there previously. // This is used when we receive the best estimate of the validity of an address. func (mab *memoryAddrBook) SetAddrs(p peer.ID, addrs []ma.Multiaddr, ttl time.Duration) { - if err := p.Validate(); err != nil { - log.Warnw("tried to set addrs for invalid peer ID", "peer", p, "error", err) - return - } - s := mab.segments.get(p) s.Lock() defer s.Unlock() @@ -279,7 +278,7 @@ func (mab *memoryAddrBook) SetAddrs(p peer.ID, addrs []ma.Multiaddr, ttl time.Du s.addrs[p] = amap } - exp := time.Now().Add(ttl) + exp := mab.clock.Now().Add(ttl) for _, addr := range addrs { if addr == nil { log.Warnw("was passed nil multiaddr", "peer", p) @@ -301,15 +300,10 @@ func (mab *memoryAddrBook) SetAddrs(p peer.ID, addrs []ma.Multiaddr, ttl time.Du // UpdateAddrs updates the addresses associated with the given peer that have // the given oldTTL to have the given newTTL. func (mab *memoryAddrBook) UpdateAddrs(p peer.ID, oldTTL time.Duration, newTTL time.Duration) { - if err := p.Validate(); err != nil { - log.Warnw("tried to set addrs for invalid peer ID", "peer", p, "error", err) - return - } - s := mab.segments.get(p) s.Lock() defer s.Unlock() - exp := time.Now().Add(newTTL) + exp := mab.clock.Now().Add(newTTL) amap, found := s.addrs[p] if !found { return @@ -330,20 +324,14 @@ func (mab *memoryAddrBook) UpdateAddrs(p peer.ID, oldTTL time.Duration, newTTL t // Addrs returns all known (and valid) addresses for a given peer func (mab *memoryAddrBook) Addrs(p peer.ID) []ma.Multiaddr { - if err := p.Validate(); err != nil { - // invalid peer ID = no addrs - return nil - } - s := mab.segments.get(p) s.RLock() defer s.RUnlock() - return validAddrs(s.addrs[p]) + return validAddrs(mab.clock.Now(), s.addrs[p]) } -func validAddrs(amap map[string]*expiringAddr) []ma.Multiaddr { - now := time.Now() +func validAddrs(now time.Time, amap map[string]*expiringAddr) []ma.Multiaddr { good := make([]ma.Multiaddr, 0, len(amap)) if amap == nil { return good @@ -361,11 +349,6 @@ func validAddrs(amap map[string]*expiringAddr) []ma.Multiaddr { // given peer id, if one exists. // Returns nil if no signed PeerRecord exists for the peer. func (mab *memoryAddrBook) GetPeerRecord(p peer.ID) *record.Envelope { - if err := p.Validate(); err != nil { - // invalid peer ID = no addrs - return nil - } - s := mab.segments.get(p) s.RLock() defer s.RUnlock() @@ -373,7 +356,7 @@ func (mab *memoryAddrBook) GetPeerRecord(p peer.ID) *record.Envelope { // although the signed record gets garbage collected when all addrs inside it are expired, // we may be in between the expiration time and the GC interval // so, we check to see if we have any valid signed addrs before returning the record - if len(validAddrs(s.addrs[p])) == 0 { + if len(validAddrs(mab.clock.Now(), s.addrs[p])) == 0 { return nil } @@ -386,11 +369,6 @@ func (mab *memoryAddrBook) GetPeerRecord(p peer.ID) *record.Envelope { // ClearAddrs removes all previously stored addresses func (mab *memoryAddrBook) ClearAddrs(p peer.ID) { - if err := p.Validate(); err != nil { - // nothing to clear - return - } - s := mab.segments.get(p) s.Lock() defer s.Unlock() @@ -402,13 +380,6 @@ func (mab *memoryAddrBook) ClearAddrs(p peer.ID) { // AddrStream returns a channel on which all new addresses discovered for a // given peer ID will be published. func (mab *memoryAddrBook) AddrStream(ctx context.Context, p peer.ID) <-chan ma.Multiaddr { - if err := p.Validate(); err != nil { - log.Warnw("tried to set addrs for invalid peer ID", "peer", p, "error", err) - ch := make(chan ma.Multiaddr) - close(ch) - return ch - } - s := mab.segments.get(p) s.RLock() defer s.RUnlock() @@ -495,18 +466,17 @@ func (mgr *AddrSubManager) AddrStream(ctx context.Context, p peer.ID, initial [] mgr.subs[p] = append(mgr.subs[p], sub) mgr.mu.Unlock() - sort.Sort(addr.AddrList(initial)) + sort.Sort(addrList(initial)) go func(buffer []ma.Multiaddr) { defer close(out) - sent := make(map[string]bool, len(buffer)) - var outch chan ma.Multiaddr - + sent := make(map[string]struct{}, len(buffer)) for _, a := range buffer { - sent[string(a.Bytes())] = true + sent[string(a.Bytes())] = struct{}{} } + var outch chan ma.Multiaddr var next ma.Multiaddr if len(buffer) > 0 { next = buffer[0] @@ -525,11 +495,11 @@ func (mgr *AddrSubManager) AddrStream(ctx context.Context, p peer.ID, initial [] next = nil } case naddr := <-sub.pubch: - if sent[string(naddr.Bytes())] { + if _, ok := sent[string(naddr.Bytes())]; ok { continue } + sent[string(naddr.Bytes())] = struct{}{} - sent[string(naddr.Bytes())] = true if next == nil { next = naddr outch = out @@ -541,7 +511,6 @@ func (mgr *AddrSubManager) AddrStream(ctx context.Context, p peer.ID, initial [] return } } - }(initial) return out diff --git a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/metadata.go b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/metadata.go index a23f3ce13..0fd41c07d 100644 --- a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/metadata.go +++ b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/metadata.go @@ -22,9 +22,6 @@ func NewPeerMetadata() *memoryPeerMetadata { } func (ps *memoryPeerMetadata) Put(p peer.ID, key string, val interface{}) error { - if err := p.Validate(); err != nil { - return err - } ps.dslock.Lock() defer ps.dslock.Unlock() m, ok := ps.ds[p] @@ -37,9 +34,6 @@ func (ps *memoryPeerMetadata) Put(p peer.ID, key string, val interface{}) error } func (ps *memoryPeerMetadata) Get(p peer.ID, key string) (interface{}, error) { - if err := p.Validate(); err != nil { - return nil, err - } ps.dslock.RLock() defer ps.dslock.RUnlock() m, ok := ps.ds[p] diff --git a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/peerstore.go b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/peerstore.go index 2aefcf180..ce34dc851 100644 --- a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/peerstore.go +++ b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/peerstore.go @@ -26,12 +26,21 @@ type Option interface{} // NewPeerstore creates an in-memory threadsafe collection of peers. // It's the caller's responsibility to call RemovePeer to ensure // that memory consumption of the peerstore doesn't grow unboundedly. -func NewPeerstore(opts ...Option) (*pstoremem, error) { +func NewPeerstore(opts ...Option) (ps *pstoremem, err error) { + ab := NewAddrBook() + defer func() { + if err != nil { + ab.Close() + } + }() + var protoBookOpts []ProtoBookOption for _, opt := range opts { switch o := opt.(type) { case ProtoBookOption: protoBookOpts = append(protoBookOpts, o) + case AddrBookOption: + o(ab) default: return nil, fmt.Errorf("unexpected peer store option: %v", o) } @@ -43,7 +52,7 @@ func NewPeerstore(opts ...Option) (*pstoremem, error) { return &pstoremem{ Metrics: pstore.NewMetrics(), memoryKeyBook: NewKeyBook(), - memoryAddrBook: NewAddrBook(), + memoryAddrBook: ab, memoryProtoBook: pb, memoryPeerMetadata: NewPeerMetadata(), }, nil diff --git a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/protobook.go b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/protobook.go index 3aa9578cd..b2cf73e1c 100644 --- a/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/protobook.go +++ b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/protobook.go @@ -89,9 +89,6 @@ func (pb *memoryProtoBook) internProtocol(proto string) string { } func (pb *memoryProtoBook) SetProtocols(p peer.ID, protos ...string) error { - if err := p.Validate(); err != nil { - return err - } if len(protos) > pb.maxProtos { return errTooManyProtocols } @@ -110,10 +107,6 @@ func (pb *memoryProtoBook) SetProtocols(p peer.ID, protos ...string) error { } func (pb *memoryProtoBook) AddProtocols(p peer.ID, protos ...string) error { - if err := p.Validate(); err != nil { - return err - } - s := pb.segments.get(p) s.Lock() defer s.Unlock() @@ -134,15 +127,11 @@ func (pb *memoryProtoBook) AddProtocols(p peer.ID, protos ...string) error { } func (pb *memoryProtoBook) GetProtocols(p peer.ID) ([]string, error) { - if err := p.Validate(); err != nil { - return nil, err - } - s := pb.segments.get(p) s.RLock() defer s.RUnlock() - out := make([]string, 0, len(s.protocols)) + out := make([]string, 0, len(s.protocols[p])) for k := range s.protocols[p] { out = append(out, k) } @@ -151,10 +140,6 @@ func (pb *memoryProtoBook) GetProtocols(p peer.ID) ([]string, error) { } func (pb *memoryProtoBook) RemoveProtocols(p peer.ID, protos ...string) error { - if err := p.Validate(); err != nil { - return err - } - s := pb.segments.get(p) s.Lock() defer s.Unlock() @@ -172,10 +157,6 @@ func (pb *memoryProtoBook) RemoveProtocols(p peer.ID, protos ...string) error { } func (pb *memoryProtoBook) SupportsProtocols(p peer.ID, protos ...string) ([]string, error) { - if err := p.Validate(); err != nil { - return nil, err - } - s := pb.segments.get(p) s.RLock() defer s.RUnlock() @@ -191,10 +172,6 @@ func (pb *memoryProtoBook) SupportsProtocols(p peer.ID, protos ...string) ([]str } func (pb *memoryProtoBook) FirstSupportedProtocol(p peer.ID, protos ...string) (string, error) { - if err := p.Validate(); err != nil { - return "", err - } - s := pb.segments.get(p) s.RLock() defer s.RUnlock() diff --git a/vendor/github.com/libp2p/go-libp2p-peerstore/addr/sorting.go b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/sorting.go similarity index 76% rename from vendor/github.com/libp2p/go-libp2p-peerstore/addr/sorting.go rename to vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/sorting.go index 61ff4db76..f36ac41b5 100644 --- a/vendor/github.com/libp2p/go-libp2p-peerstore/addr/sorting.go +++ b/vendor/github.com/libp2p/go-libp2p-peerstore/pstoremem/sorting.go @@ -1,4 +1,4 @@ -package addr +package pstoremem import ( "bytes" @@ -12,27 +12,20 @@ func isFDCostlyTransport(a ma.Multiaddr) bool { return mafmt.TCP.Matches(a) } -type AddrList []ma.Multiaddr +type addrList []ma.Multiaddr -func (al AddrList) Len() int { - return len(al) -} +func (al addrList) Len() int { return len(al) } +func (al addrList) Swap(i, j int) { al[i], al[j] = al[j], al[i] } -func (al AddrList) Swap(i, j int) { - al[i], al[j] = al[j], al[i] -} - -func (al AddrList) Less(i, j int) bool { +func (al addrList) Less(i, j int) bool { a := al[i] b := al[j] // dial localhost addresses next, they should fail immediately lba := manet.IsIPLoopback(a) lbb := manet.IsIPLoopback(b) - if lba { - if !lbb { - return true - } + if lba && !lbb { + return true } // dial utp and similar 'non-fd-consuming' addresses first diff --git a/vendor/github.com/libp2p/go-libp2p-peerstore/version.json b/vendor/github.com/libp2p/go-libp2p-peerstore/version.json index 42c14d1be..fce1f6732 100644 --- a/vendor/github.com/libp2p/go-libp2p-peerstore/version.json +++ b/vendor/github.com/libp2p/go-libp2p-peerstore/version.json @@ -1,3 +1,3 @@ { - "version": "v0.6.0" + "version": "v0.7.1" } diff --git a/vendor/github.com/libp2p/go-libp2p-pnet/.travis.yml b/vendor/github.com/libp2p/go-libp2p-pnet/.travis.yml deleted file mode 100644 index a156d3eb5..000000000 --- a/vendor/github.com/libp2p/go-libp2p-pnet/.travis.yml +++ /dev/null @@ -1,30 +0,0 @@ -os: - - linux - -language: go - -go: - - 1.13.x - -env: - global: - - GOTFLAGS="-race" - matrix: - - BUILD_DEPTYPE=gomod - - -# disable travis install -install: - - true - -script: - - bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh) - - -cache: - directories: - - $GOPATH/pkg/mod - - $HOME/.cache/go-build - -notifications: - email: false diff --git a/vendor/github.com/libp2p/go-libp2p-pnet/LICENSE b/vendor/github.com/libp2p/go-libp2p-pnet/LICENSE deleted file mode 100644 index 4ddb347ce..000000000 --- a/vendor/github.com/libp2p/go-libp2p-pnet/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2017 Jakub Sztandera - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/libp2p/go-libp2p-pnet/README.md b/vendor/github.com/libp2p/go-libp2p-pnet/README.md deleted file mode 100644 index 77ea2881a..000000000 --- a/vendor/github.com/libp2p/go-libp2p-pnet/README.md +++ /dev/null @@ -1,36 +0,0 @@ -go-libp2p-pnet -================== - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![Travis CI](https://img.shields.io/travis/libp2p/go-libp2p-pnet.svg?style=flat-square&branch=master)](https://travis-ci.org/libp2p/go-libp2p-pnet) -[![codecov.io](https://img.shields.io/codecov/c/github/libp2p/go-libp2p-pnet.svg?style=flat-square&branch=master)](https://codecov.io/github/libp2p/go-libp2p-pnet?branch=master) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) - -> An implementation of go-libp2p-interface-pnet - - -## Table of Contents - -- [Usage](#usage) -- [Contribute](#contribute) -- [License](#license) - -## Usage - -See [Godocs](https://godoc.org/github.com/libp2p/go-libp2p-pnet) - -## Contribute - -PRs are welcome! - -Small note: If editing the Readme, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification. - -## License - -MIT © Jakub Sztandera - ---- - -The last gx published version of this module was: 3.0.5: QmTwDsJUPioMKoiuXkAmiPxL1i4tjuG5vkxJgNpiHpXb3Y diff --git a/vendor/github.com/libp2p/go-libp2p-pnet/codecov.yml b/vendor/github.com/libp2p/go-libp2p-pnet/codecov.yml deleted file mode 100644 index 5f88a9ea2..000000000 --- a/vendor/github.com/libp2p/go-libp2p-pnet/codecov.yml +++ /dev/null @@ -1,3 +0,0 @@ -coverage: - range: "50...100" -comment: off diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/.gitignore b/vendor/github.com/libp2p/go-libp2p-pubsub/.gitignore index 5b98de785..8707669ab 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/.gitignore +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/.gitignore @@ -1,3 +1,5 @@ cover.out prof.out go-floodsub.test + +.idea/ diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/README.md b/vendor/github.com/libp2p/go-libp2p-pubsub/README.md index e51b164f6..1ae9125ec 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/README.md +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/README.md @@ -35,7 +35,7 @@ This repo contains the canonical pubsub implementation for libp2p. We currently - [Install](#install) - [Usage](#usage) -- [Implementations](#implementations) +- [Example](#example) - [Documentation](#documentation) - [Tracing](#tracing) - [Contribute](#contribute) diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/backoff.go b/vendor/github.com/libp2p/go-libp2p-pubsub/backoff.go new file mode 100644 index 000000000..1a1b6ecf5 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/backoff.go @@ -0,0 +1,107 @@ +package pubsub + +import ( + "context" + "fmt" + "math/rand" + "sync" + "time" + + "github.com/libp2p/go-libp2p-core/peer" +) + +const ( + MinBackoffDelay = 100 * time.Millisecond + MaxBackoffDelay = 10 * time.Second + TimeToLive = 10 * time.Minute + BackoffCleanupInterval = 1 * time.Minute + BackoffMultiplier = 2 + MaxBackoffJitterCoff = 100 + MaxBackoffAttempts = 4 +) + +type backoffHistory struct { + duration time.Duration + lastTried time.Time + attempts int +} + +type backoff struct { + mu sync.Mutex + info map[peer.ID]*backoffHistory + ct int // size threshold that kicks off the cleaner + ci time.Duration // cleanup intervals + maxAttempts int // maximum backoff attempts prior to ejection +} + +func newBackoff(ctx context.Context, sizeThreshold int, cleanupInterval time.Duration, maxAttempts int) *backoff { + b := &backoff{ + mu: sync.Mutex{}, + ct: sizeThreshold, + ci: cleanupInterval, + maxAttempts: maxAttempts, + info: make(map[peer.ID]*backoffHistory), + } + + rand.Seed(time.Now().UnixNano()) // used for jitter + go b.cleanupLoop(ctx) + + return b +} + +func (b *backoff) updateAndGet(id peer.ID) (time.Duration, error) { + b.mu.Lock() + defer b.mu.Unlock() + + h, ok := b.info[id] + switch { + case !ok || time.Since(h.lastTried) > TimeToLive: + // first request goes immediately. + h = &backoffHistory{ + duration: time.Duration(0), + attempts: 0, + } + case h.attempts >= b.maxAttempts: + return 0, fmt.Errorf("peer %s has reached its maximum backoff attempts", id) + + case h.duration < MinBackoffDelay: + h.duration = MinBackoffDelay + + case h.duration < MaxBackoffDelay: + jitter := rand.Intn(MaxBackoffJitterCoff) + h.duration = (BackoffMultiplier * h.duration) + time.Duration(jitter)*time.Millisecond + if h.duration > MaxBackoffDelay || h.duration < 0 { + h.duration = MaxBackoffDelay + } + } + + h.attempts += 1 + h.lastTried = time.Now() + b.info[id] = h + return h.duration, nil +} + +func (b *backoff) cleanup() { + b.mu.Lock() + defer b.mu.Unlock() + + for id, h := range b.info { + if time.Since(h.lastTried) > TimeToLive { + delete(b.info, id) + } + } +} + +func (b *backoff) cleanupLoop(ctx context.Context) { + ticker := time.NewTicker(b.ci) + defer ticker.Stop() + + for { + select { + case <-ctx.Done(): + return // pubsub shutting down + case <-ticker.C: + b.cleanup() + } + } +} diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/comm.go b/vendor/github.com/libp2p/go-libp2p-pubsub/comm.go index 5a9d0d852..a135a60a2 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/comm.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/comm.go @@ -4,6 +4,7 @@ import ( "bufio" "context" "io" + "time" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" @@ -121,6 +122,15 @@ func (p *PubSub) handleNewPeer(ctx context.Context, pid peer.ID, outgoing <-chan } } +func (p *PubSub) handleNewPeerWithBackoff(ctx context.Context, pid peer.ID, backoff time.Duration, outgoing <-chan *RPC) { + select { + case <-time.After(backoff): + p.handleNewPeer(ctx, pid, outgoing) + case <-ctx.Done(): + return + } +} + func (p *PubSub) handlePeerEOF(ctx context.Context, s network.Stream) { pid := s.Conn().RemotePeer() r := protoio.NewDelimitedReader(s, p.maxMessageSize) diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/discovery.go b/vendor/github.com/libp2p/go-libp2p-pubsub/discovery.go index f7cecd35a..c89bacd62 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/discovery.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/discovery.go @@ -8,7 +8,7 @@ import ( "github.com/libp2p/go-libp2p-core/discovery" "github.com/libp2p/go-libp2p-core/host" "github.com/libp2p/go-libp2p-core/peer" - discimpl "github.com/libp2p/go-libp2p-discovery" + discimpl "github.com/libp2p/go-libp2p/p2p/discovery/backoff" ) var ( diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/gossip_tracer.go b/vendor/github.com/libp2p/go-libp2p-pubsub/gossip_tracer.go index 04e77193c..a40b707ce 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/gossip_tracer.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/gossip_tracer.go @@ -15,7 +15,7 @@ import ( type gossipTracer struct { sync.Mutex - msgID MsgIdFunction + idGen *msgIDGenerator followUpTime time.Duration @@ -29,7 +29,7 @@ type gossipTracer struct { func newGossipTracer() *gossipTracer { return &gossipTracer{ - msgID: DefaultMsgIdFn, + idGen: newMsgIdGenerator(), promises: make(map[string]map[peer.ID]time.Time), peerPromises: make(map[peer.ID]map[string]struct{}), } @@ -40,7 +40,7 @@ func (gt *gossipTracer) Start(gs *GossipSubRouter) { return } - gt.msgID = gs.p.msgID + gt.idGen = gs.p.idGen gt.followUpTime = gs.params.IWantFollowupTime } @@ -117,7 +117,7 @@ func (gt *gossipTracer) GetBrokenPromises() map[peer.ID]int { var _ RawTracer = (*gossipTracer)(nil) func (gt *gossipTracer) fulfillPromise(msg *Message) { - mid := gt.msgID(msg.Message) + mid := gt.idGen.ID(msg) gt.Lock() defer gt.Unlock() diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/gossipsub.go b/vendor/github.com/libp2p/go-libp2p-pubsub/gossipsub.go index 7c2da306a..caea93f51 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/gossipsub.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/gossipsub.go @@ -45,6 +45,7 @@ var ( GossipSubFanoutTTL = 60 * time.Second GossipSubPrunePeers = 16 GossipSubPruneBackoff = time.Minute + GossipSubUnsubscribeBackoff = 10 * time.Second GossipSubConnectors = 8 GossipSubMaxPendingConnections = 128 GossipSubConnectionTimeout = 30 * time.Second @@ -153,6 +154,11 @@ type GossipSubParams struct { // before attempting to re-graft. PruneBackoff time.Duration + // UnsubscribeBackoff controls the backoff time to use when unsuscribing + // from a topic. A peer should not resubscribe to this topic before this + // duration. + UnsubscribeBackoff time.Duration + // Connectors controls the number of active connection attempts for peers obtained through PX. Connectors int @@ -235,7 +241,7 @@ func DefaultGossipSubParams() GossipSubParams { Dscore: GossipSubDscore, Dout: GossipSubDout, HistoryLength: GossipSubHistoryLength, - HistoryGossip: GossipSubHistoryLength, + HistoryGossip: GossipSubHistoryGossip, Dlazy: GossipSubDlazy, GossipFactor: GossipSubGossipFactor, GossipRetransmission: GossipSubGossipRetransmission, @@ -244,6 +250,7 @@ func DefaultGossipSubParams() GossipSubParams { FanoutTTL: GossipSubFanoutTTL, PrunePeers: GossipSubPrunePeers, PruneBackoff: GossipSubPruneBackoff, + UnsubscribeBackoff: GossipSubUnsubscribeBackoff, Connectors: GossipSubConnectors, MaxPendingConnections: GossipSubMaxPendingConnections, ConnectionTimeout: GossipSubConnectionTimeout, @@ -295,7 +302,7 @@ func WithPeerScore(params *PeerScoreParams, thresholds *PeerScoreThresholds) Opt ps.tracer = &pubsubTracer{ raw: []RawTracer{gs.score, gs.gossipTracer}, pid: ps.host.ID(), - msgID: ps.msgID, + idGen: ps.idGen, } } @@ -484,7 +491,7 @@ func (gs *GossipSubRouter) Attach(p *PubSub) { gs.tagTracer.Start(gs) // start using the same msg ID function as PubSub for caching messages. - gs.mcache.SetMsgIdFn(p.msgID) + gs.mcache.SetMsgIdFn(p.idGen.ID) // start the heartbeat go gs.heartbeatTimer() @@ -705,7 +712,7 @@ func (gs *GossipSubRouter) handleIWant(p peer.ID, ctl *pb.ControlMessage) []*pb. continue } - ihave[mid] = msg + ihave[mid] = msg.Message } } @@ -777,7 +784,7 @@ func (gs *GossipSubRouter) handleGraft(p peer.ID, ctl *pb.ControlMessage) []*pb. gs.score.AddPenalty(p, 1) } // refresh the backoff - gs.addBackoff(p, topic) + gs.addBackoff(p, topic, false) prune = append(prune, topic) continue } @@ -791,7 +798,7 @@ func (gs *GossipSubRouter) handleGraft(p peer.ID, ctl *pb.ControlMessage) []*pb. // but we won't PX to them doPX = false // add/refresh backoff so that we don't reGRAFT too early even if the score decays back up - gs.addBackoff(p, topic) + gs.addBackoff(p, topic, false) continue } @@ -800,7 +807,7 @@ func (gs *GossipSubRouter) handleGraft(p peer.ID, ctl *pb.ControlMessage) []*pb. // mesh takeover attacks combined with love bombing if len(peers) >= gs.params.Dhi && !gs.outbound[p] { prune = append(prune, topic) - gs.addBackoff(p, topic) + gs.addBackoff(p, topic, false) continue } @@ -815,7 +822,7 @@ func (gs *GossipSubRouter) handleGraft(p peer.ID, ctl *pb.ControlMessage) []*pb. cprune := make([]*pb.ControlPrune, 0, len(prune)) for _, topic := range prune { - cprune = append(cprune, gs.makePrune(p, topic, doPX)) + cprune = append(cprune, gs.makePrune(p, topic, doPX, false)) } return cprune @@ -839,7 +846,7 @@ func (gs *GossipSubRouter) handlePrune(p peer.ID, ctl *pb.ControlMessage) { if backoff > 0 { gs.doAddBackoff(p, topic, time.Duration(backoff)*time.Second) } else { - gs.addBackoff(p, topic) + gs.addBackoff(p, topic, false) } px := prune.GetPeers() @@ -855,8 +862,12 @@ func (gs *GossipSubRouter) handlePrune(p peer.ID, ctl *pb.ControlMessage) { } } -func (gs *GossipSubRouter) addBackoff(p peer.ID, topic string) { - gs.doAddBackoff(p, topic, gs.params.PruneBackoff) +func (gs *GossipSubRouter) addBackoff(p peer.ID, topic string, isUnsubscribe bool) { + backoff := gs.params.PruneBackoff + if isUnsubscribe { + backoff = gs.params.UnsubscribeBackoff + } + gs.doAddBackoff(p, topic, backoff) } func (gs *GossipSubRouter) doAddBackoff(p peer.ID, topic string, interval time.Duration) { @@ -954,7 +965,7 @@ func (gs *GossipSubRouter) connector() { } func (gs *GossipSubRouter) Publish(msg *Message) { - gs.mcache.Put(msg.Message) + gs.mcache.Put(msg) from := msg.ReceivedFrom topic := msg.GetTopic() @@ -1036,10 +1047,12 @@ func (gs *GossipSubRouter) Join(topic string) { gmap, ok = gs.fanout[topic] if ok { + backoff := gs.backoff[topic] // these peers have a score above the publish threshold, which may be negative // so drop the ones with a negative score for p := range gmap { - if gs.score.Score(p) < 0 { + _, doBackOff := backoff[p] + if gs.score.Score(p) < 0 || doBackOff { delete(gmap, p) } } @@ -1047,10 +1060,12 @@ func (gs *GossipSubRouter) Join(topic string) { if len(gmap) < gs.params.D { // we need more peers; eager, as this would get fixed in the next heartbeat more := gs.getPeers(topic, gs.params.D-len(gmap), func(p peer.ID) bool { - // filter our current peers, direct peers, and peers with negative scores + // filter our current peers, direct peers, peers we are backing off, and + // peers with negative scores _, inMesh := gmap[p] _, direct := gs.direct[p] - return !inMesh && !direct && gs.score.Score(p) >= 0 + _, doBackOff := backoff[p] + return !inMesh && !direct && !doBackOff && gs.score.Score(p) >= 0 }) for _, p := range more { gmap[p] = struct{}{} @@ -1060,10 +1075,12 @@ func (gs *GossipSubRouter) Join(topic string) { delete(gs.fanout, topic) delete(gs.lastpub, topic) } else { + backoff := gs.backoff[topic] peers := gs.getPeers(topic, gs.params.D, func(p peer.ID) bool { - // filter direct peers and peers with negative score + // filter direct peers, peers we are backing off and peers with negative score _, direct := gs.direct[p] - return !direct && gs.score.Score(p) >= 0 + _, doBackOff := backoff[p] + return !direct && !doBackOff && gs.score.Score(p) >= 0 }) gmap = peerListToMap(peers) gs.mesh[topic] = gmap @@ -1090,7 +1107,11 @@ func (gs *GossipSubRouter) Leave(topic string) { for p := range gmap { log.Debugf("LEAVE: Remove mesh link to %s in %s", p, topic) gs.tracer.Prune(p, topic) - gs.sendPrune(p, topic) + gs.sendPrune(p, topic, true) + // Add a backoff to this peer to prevent us from eagerly + // re-grafting this peer into our mesh if we rejoin this + // topic before the backoff period ends. + gs.addBackoff(p, topic, true) } } @@ -1100,8 +1121,8 @@ func (gs *GossipSubRouter) sendGraft(p peer.ID, topic string) { gs.sendRPC(p, out) } -func (gs *GossipSubRouter) sendPrune(p peer.ID, topic string) { - prune := []*pb.ControlPrune{gs.makePrune(p, topic, gs.doPX)} +func (gs *GossipSubRouter) sendPrune(p peer.ID, topic string, isUnsubscribe bool) { + prune := []*pb.ControlPrune{gs.makePrune(p, topic, gs.doPX, isUnsubscribe)} out := rpcWithControl(nil, nil, nil, nil, prune) gs.sendRPC(p, out) } @@ -1358,7 +1379,7 @@ func (gs *GossipSubRouter) heartbeat() { prunePeer := func(p peer.ID) { gs.tracer.Prune(p, topic) delete(peers, p) - gs.addBackoff(p, topic) + gs.addBackoff(p, topic, false) topics := toprune[p] toprune[p] = append(topics, topic) } @@ -1658,7 +1679,7 @@ func (gs *GossipSubRouter) sendGraftPrune(tograft, toprune map[peer.ID][]string, delete(toprune, p) prune = make([]*pb.ControlPrune, 0, len(pruning)) for _, topic := range pruning { - prune = append(prune, gs.makePrune(p, topic, gs.doPX && !noPX[p])) + prune = append(prune, gs.makePrune(p, topic, gs.doPX && !noPX[p], false)) } } @@ -1669,7 +1690,7 @@ func (gs *GossipSubRouter) sendGraftPrune(tograft, toprune map[peer.ID][]string, for p, topics := range toprune { prune := make([]*pb.ControlPrune, 0, len(topics)) for _, topic := range topics { - prune = append(prune, gs.makePrune(p, topic, gs.doPX && !noPX[p])) + prune = append(prune, gs.makePrune(p, topic, gs.doPX && !noPX[p], false)) } out := rpcWithControl(nil, nil, nil, nil, prune) @@ -1824,13 +1845,17 @@ func (gs *GossipSubRouter) piggybackControl(p peer.ID, out *RPC, ctl *pb.Control } } -func (gs *GossipSubRouter) makePrune(p peer.ID, topic string, doPX bool) *pb.ControlPrune { +func (gs *GossipSubRouter) makePrune(p peer.ID, topic string, doPX bool, isUnsubscribe bool) *pb.ControlPrune { if !gs.feature(GossipSubFeaturePX, gs.peers[p]) { // GossipSub v1.0 -- no peer exchange, the peer won't be able to parse it anyway return &pb.ControlPrune{TopicID: &topic} } backoff := uint64(gs.params.PruneBackoff / time.Second) + if isUnsubscribe { + backoff = uint64(gs.params.UnsubscribeBackoff / time.Second) + } + var px []*pb.PeerInfo if doPX { // select peers for Peer eXchange diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/mcache.go b/vendor/github.com/libp2p/go-libp2p-pubsub/mcache.go index e1f02ab32..889948eb2 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/mcache.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/mcache.go @@ -3,8 +3,6 @@ package pubsub import ( "fmt" - pb "github.com/libp2p/go-libp2p-pubsub/pb" - "github.com/libp2p/go-libp2p-core/peer" ) @@ -27,23 +25,25 @@ func NewMessageCache(gossip, history int) *MessageCache { panic(err) } return &MessageCache{ - msgs: make(map[string]*pb.Message), + msgs: make(map[string]*Message), peertx: make(map[string]map[peer.ID]int), history: make([][]CacheEntry, history), gossip: gossip, - msgID: DefaultMsgIdFn, + msgID: func(msg *Message) string { + return DefaultMsgIdFn(msg.Message) + }, } } type MessageCache struct { - msgs map[string]*pb.Message + msgs map[string]*Message peertx map[string]map[peer.ID]int history [][]CacheEntry gossip int - msgID MsgIdFunction + msgID func(*Message) string } -func (mc *MessageCache) SetMsgIdFn(msgID MsgIdFunction) { +func (mc *MessageCache) SetMsgIdFn(msgID func(*Message) string) { mc.msgID = msgID } @@ -52,18 +52,18 @@ type CacheEntry struct { topic string } -func (mc *MessageCache) Put(msg *pb.Message) { +func (mc *MessageCache) Put(msg *Message) { mid := mc.msgID(msg) mc.msgs[mid] = msg mc.history[0] = append(mc.history[0], CacheEntry{mid: mid, topic: msg.GetTopic()}) } -func (mc *MessageCache) Get(mid string) (*pb.Message, bool) { +func (mc *MessageCache) Get(mid string) (*Message, bool) { m, ok := mc.msgs[mid] return m, ok } -func (mc *MessageCache) GetForPeer(mid string, p peer.ID) (*pb.Message, int, bool) { +func (mc *MessageCache) GetForPeer(mid string, p peer.ID) (*Message, int, bool) { m, ok := mc.msgs[mid] if !ok { return nil, 0, false diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/midgen.go b/vendor/github.com/libp2p/go-libp2p-pubsub/midgen.go new file mode 100644 index 000000000..9d3acfc17 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/midgen.go @@ -0,0 +1,52 @@ +package pubsub + +import ( + "sync" + + pb "github.com/libp2p/go-libp2p-pubsub/pb" +) + +// msgIDGenerator handles computing IDs for msgs +// It allows setting custom generators(MsgIdFunction) per topic +type msgIDGenerator struct { + Default MsgIdFunction + + topicGensLk sync.RWMutex + topicGens map[string]MsgIdFunction +} + +func newMsgIdGenerator() *msgIDGenerator { + return &msgIDGenerator{ + Default: DefaultMsgIdFn, + topicGens: make(map[string]MsgIdFunction), + } +} + +// Set sets custom id generator(MsgIdFunction) for topic. +func (m *msgIDGenerator) Set(topic string, gen MsgIdFunction) { + m.topicGensLk.Lock() + m.topicGens[topic] = gen + m.topicGensLk.Unlock() +} + +// ID computes ID for the msg or short-circuits with the cached value. +func (m *msgIDGenerator) ID(msg *Message) string { + if msg.ID != "" { + return msg.ID + } + + msg.ID = m.RawID(msg.Message) + return msg.ID +} + +// RawID computes ID for the proto 'msg'. +func (m *msgIDGenerator) RawID(msg *pb.Message) string { + m.topicGensLk.RLock() + gen, ok := m.topicGens[msg.GetTopic()] + m.topicGensLk.RUnlock() + if !ok { + gen = m.Default + } + + return gen(msg) +} diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/peer_gater.go b/vendor/github.com/libp2p/go-libp2p-pubsub/peer_gater.go index e334324c8..3da2755f0 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/peer_gater.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/peer_gater.go @@ -182,7 +182,7 @@ func WithPeerGater(params *PeerGaterParams) Option { ps.tracer = &pubsubTracer{ raw: []RawTracer{gs.gate}, pid: ps.host.ID(), - msgID: ps.msgID, + idGen: ps.idGen, } } diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/pubsub.go b/vendor/github.com/libp2p/go-libp2p-pubsub/pubsub.go index fdfa755b3..e44c7f1c7 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/pubsub.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/pubsub.go @@ -20,13 +20,15 @@ import ( "github.com/libp2p/go-libp2p-core/protocol" logging "github.com/ipfs/go-log" - timecache "github.com/whyrusleeping/timecache" + "github.com/whyrusleeping/timecache" ) // DefaultMaximumMessageSize is 1mb. const DefaultMaxMessageSize = 1 << 20 var ( + // TimeCacheDuration specifies how long a message ID will be remembered as seen. + // Use WithSeenMessagesTTL to configure this per pubsub instance, instead of overriding the global default. TimeCacheDuration = 120 * time.Second // ErrSubscriptionCancelled may be returned when a subscription Next() is called after the @@ -110,6 +112,8 @@ type PubSub struct { peerDeadPrioLk sync.RWMutex peerDeadMx sync.Mutex peerDeadPend map[peer.ID]struct{} + // backoff for retrying new connections to dead peers + deadPeerBackoff *backoff // The set of topics we are subscribed to mySubs map[string]map[*Subscription]struct{} @@ -146,9 +150,10 @@ type PubSub struct { seenMessagesMx sync.Mutex seenMessages *timecache.TimeCache + seenMsgTTL time.Duration - // function used to compute the ID for a message - msgID MsgIdFunction + // generator used to compute the ID for a message + idGen *msgIDGenerator // key for signing messages; nil when signing is disabled signKey crypto.PrivKey @@ -213,8 +218,10 @@ const ( type Message struct { *pb.Message + ID string ReceivedFrom peer.ID ValidatorData interface{} + Local bool } func (m *Message) GetFrom() peer.ID { @@ -251,6 +258,7 @@ func NewPubSub(ctx context.Context, h host.Host, rt PubSubRouter, opts ...Option newPeerError: make(chan peer.ID), peerDead: make(chan struct{}, 1), peerDeadPend: make(map[peer.ID]struct{}), + deadPeerBackoff: newBackoff(ctx, 1000, BackoffCleanupInterval, MaxBackoffAttempts), cancelCh: make(chan *Subscription), getPeers: make(chan *listPeerReq), addSub: make(chan *addSubReq), @@ -271,8 +279,8 @@ func NewPubSub(ctx context.Context, h host.Host, rt PubSubRouter, opts ...Option inboundStreams: make(map[peer.ID]network.Stream), blacklist: NewMapBlacklist(), blacklistPeer: make(chan peer.ID), - seenMessages: timecache.NewTimeCache(TimeCacheDuration), - msgID: DefaultMsgIdFn, + seenMsgTTL: TimeCacheDuration, + idGen: newMsgIdGenerator(), counter: uint64(time.Now().UnixNano()), } @@ -293,6 +301,8 @@ func NewPubSub(ctx context.Context, h host.Host, rt PubSubRouter, opts ...Option } } + ps.seenMessages = timecache.NewTimeCache(ps.seenMsgTTL) + if err := ps.disc.Start(ps); err != nil { return nil, err } @@ -326,11 +336,7 @@ type MsgIdFunction func(pmsg *pb.Message) string // but it can be customized to e.g. the hash of the message. func WithMessageIdFn(fn MsgIdFunction) Option { return func(p *PubSub) error { - p.msgID = fn - // the tracer Option may already be set. Update its message ID function to make options order-independent. - if p.tracer != nil { - p.tracer.msgID = fn - } + p.idGen.Default = fn return nil } } @@ -455,7 +461,7 @@ func WithEventTracer(tracer EventTracer) Option { if p.tracer != nil { p.tracer.tracer = tracer } else { - p.tracer = &pubsubTracer{tracer: tracer, pid: p.host.ID(), msgID: p.msgID} + p.tracer = &pubsubTracer{tracer: tracer, pid: p.host.ID(), idGen: p.idGen} } return nil } @@ -468,7 +474,7 @@ func WithRawTracer(tracer RawTracer) Option { if p.tracer != nil { p.tracer.raw = append(p.tracer.raw, tracer) } else { - p.tracer = &pubsubTracer{raw: []RawTracer{tracer}, pid: p.host.ID(), msgID: p.msgID} + p.tracer = &pubsubTracer{raw: []RawTracer{tracer}, pid: p.host.ID(), idGen: p.idGen} } return nil } @@ -513,6 +519,14 @@ func WithProtocolMatchFn(m ProtocolMatchFn) Option { } } +// WithSeenMessagesTTL configures when a previously seen message ID can be forgotten about +func WithSeenMessagesTTL(ttl time.Duration) Option { + return func(ps *PubSub) error { + ps.seenMsgTTL = ttl + return nil + } +} + // processLoop handles all inputs arriving on the channels func (p *PubSub) processLoop(ctx context.Context) { defer func() { @@ -682,19 +696,8 @@ func (p *PubSub) handleDeadPeers() { } close(ch) - - if p.host.Network().Connectedness(pid) == network.Connected { - // still connected, must be a duplicate connection being closed. - // we respawn the writer as we need to ensure there is a stream active - log.Debugf("peer declared dead but still connected; respawning writer: %s", pid) - messages := make(chan *RPC, p.peerOutboundQueueSize) - messages <- p.getHelloPacket() - go p.handleNewPeer(p.ctx, pid, messages) - p.peers[pid] = messages - continue - } - delete(p.peers, pid) + for t, tmap := range p.topics { if _, ok := tmap[pid]; ok { delete(tmap, pid) @@ -703,6 +706,22 @@ func (p *PubSub) handleDeadPeers() { } p.rt.RemovePeer(pid) + + if p.host.Network().Connectedness(pid) == network.Connected { + backoffDelay, err := p.deadPeerBackoff.updateAndGet(pid) + if err != nil { + log.Debug(err) + continue + } + + // still connected, must be a duplicate connection being closed. + // we respawn the writer as we need to ensure there is a stream active + log.Debugf("peer declared dead but still connected; respawning writer: %s", pid) + messages := make(chan *RPC, p.peerOutboundQueueSize) + messages <- p.getHelloPacket() + p.peers[pid] = messages + go p.handleNewPeerWithBackoff(p.ctx, pid, backoffDelay, messages) + } } } @@ -1047,8 +1066,7 @@ func (p *PubSub) handleIncomingRPC(rpc *RPC) { continue } - msg := &Message{pmsg, rpc.from, nil} - p.pushMsg(msg) + p.pushMsg(&Message{pmsg, "", rpc.from, nil, false}) } } @@ -1097,7 +1115,7 @@ func (p *PubSub) pushMsg(msg *Message) { } // have we already seen and validated this message? - id := p.msgID(msg.Message) + id := p.idGen.ID(msg) if p.seenMessage(id) { p.tracer.DuplicateMessage(msg) return @@ -1147,7 +1165,9 @@ func (p *PubSub) checkSigningPolicy(msg *Message) error { func (p *PubSub) publishMessage(msg *Message) { p.tracer.DeliverMessage(msg) p.notifySubs(msg) - p.rt.Publish(msg) + if !msg.Local { + p.rt.Publish(msg) + } } type addTopicReq struct { @@ -1164,6 +1184,14 @@ type TopicOptions struct{} type TopicOpt func(t *Topic) error +// WithTopicMessageIdFn sets custom MsgIdFunction for a Topic, enabling topics to have own msg id generation rules. +func WithTopicMessageIdFn(msgId MsgIdFunction) TopicOpt { + return func(t *Topic) error { + t.p.idGen.Set(t.topic, msgId) + return nil + } +} + // Join joins the topic and returns a Topic handle. Only one Topic handle should exist per topic, and Join will error if // the Topic handle already exists. func (p *PubSub) Join(topic string, opts ...TopicOpt) (*Topic, error) { diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/score.go b/vendor/github.com/libp2p/go-libp2p-pubsub/score.go index 1ee61418b..b762b2b0d 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/score.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/score.go @@ -76,7 +76,7 @@ type peerScore struct { // message delivery tracking deliveries *messageDeliveries - msgID MsgIdFunction + idGen *msgIDGenerator host host.Host // debugging inspection @@ -88,6 +88,8 @@ type peerScore struct { var _ RawTracer = (*peerScore)(nil) type messageDeliveries struct { + seenMsgTTL time.Duration + records map[string]*deliveryRecord // queue for cleaning up old delivery records @@ -178,12 +180,16 @@ func WithPeerScoreInspect(inspect interface{}, period time.Duration) Option { // implementation func newPeerScore(params *PeerScoreParams) *peerScore { + seenMsgTTL := params.SeenMsgTTL + if seenMsgTTL == 0 { + seenMsgTTL = TimeCacheDuration + } return &peerScore{ params: params, peerStats: make(map[peer.ID]*peerStats), peerIPs: make(map[string]map[peer.ID]struct{}), - deliveries: &messageDeliveries{records: make(map[string]*deliveryRecord)}, - msgID: DefaultMsgIdFn, + deliveries: &messageDeliveries{seenMsgTTL: seenMsgTTL, records: make(map[string]*deliveryRecord)}, + idGen: newMsgIdGenerator(), } } @@ -239,7 +245,7 @@ func (ps *peerScore) Start(gs *GossipSubRouter) { return } - ps.msgID = gs.p.msgID + ps.idGen = gs.p.idGen ps.host = gs.p.host go ps.background(gs.p.ctx) } @@ -689,7 +695,7 @@ func (ps *peerScore) ValidateMessage(msg *Message) { // the pubsub subsystem is beginning validation; create a record to track time in // the validation pipeline with an accurate firstSeen time. - _ = ps.deliveries.getRecord(ps.msgID(msg.Message)) + _ = ps.deliveries.getRecord(ps.idGen.ID(msg)) } func (ps *peerScore) DeliverMessage(msg *Message) { @@ -698,7 +704,7 @@ func (ps *peerScore) DeliverMessage(msg *Message) { ps.markFirstMessageDelivery(msg.ReceivedFrom, msg) - drec := ps.deliveries.getRecord(ps.msgID(msg.Message)) + drec := ps.deliveries.getRecord(ps.idGen.ID(msg)) // defensive check that this is the first delivery trace -- delivery status should be unknown if drec.status != deliveryUnknown { @@ -749,7 +755,7 @@ func (ps *peerScore) RejectMessage(msg *Message, reason string) { return } - drec := ps.deliveries.getRecord(ps.msgID(msg.Message)) + drec := ps.deliveries.getRecord(ps.idGen.ID(msg)) // defensive check that this is the first rejection trace -- delivery status should be unknown if drec.status != deliveryUnknown { @@ -789,7 +795,7 @@ func (ps *peerScore) DuplicateMessage(msg *Message) { ps.Lock() defer ps.Unlock() - drec := ps.deliveries.getRecord(ps.msgID(msg.Message)) + drec := ps.deliveries.getRecord(ps.idGen.ID(msg)) _, ok := drec.peers[msg.ReceivedFrom] if ok { @@ -841,7 +847,7 @@ func (d *messageDeliveries) getRecord(id string) *deliveryRecord { rec = &deliveryRecord{peers: make(map[peer.ID]struct{}), firstSeen: now} d.records[id] = rec - entry := &deliveryEntry{id: id, expire: now.Add(TimeCacheDuration)} + entry := &deliveryEntry{id: id, expire: now.Add(d.seenMsgTTL)} if d.tail != nil { d.tail.next = entry d.tail = entry diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/score_params.go b/vendor/github.com/libp2p/go-libp2p-pubsub/score_params.go index 8a4d2098f..f9b7e29b2 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/score_params.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/score_params.go @@ -93,6 +93,9 @@ type PeerScoreParams struct { // time to remember counters for a disconnected peer. RetainScore time.Duration + + // time to remember a message delivery for. Default to global TimeCacheDuration if 0. + SeenMsgTTL time.Duration } type TopicScoreParams struct { diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/tag_tracer.go b/vendor/github.com/libp2p/go-libp2p-pubsub/tag_tracer.go index 65e99be9c..333edf842 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/tag_tracer.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/tag_tracer.go @@ -45,7 +45,7 @@ type tagTracer struct { sync.RWMutex cmgr connmgr.ConnManager - msgID MsgIdFunction + idGen *msgIDGenerator decayer connmgr.Decayer decaying map[string]connmgr.DecayingTag direct map[peer.ID]struct{} @@ -62,7 +62,7 @@ func newTagTracer(cmgr connmgr.ConnManager) *tagTracer { } return &tagTracer{ cmgr: cmgr, - msgID: DefaultMsgIdFn, + idGen: newMsgIdGenerator(), decayer: decayer, decaying: make(map[string]connmgr.DecayingTag), nearFirst: make(map[string]map[peer.ID]struct{}), @@ -74,7 +74,7 @@ func (t *tagTracer) Start(gs *GossipSubRouter) { return } - t.msgID = gs.p.msgID + t.idGen = gs.p.idGen t.direct = gs.direct } @@ -162,7 +162,7 @@ func (t *tagTracer) bumpTagsForMessage(p peer.ID, msg *Message) { func (t *tagTracer) nearFirstPeers(msg *Message) []peer.ID { t.Lock() defer t.Unlock() - peersMap, ok := t.nearFirst[t.msgID(msg.Message)] + peersMap, ok := t.nearFirst[t.idGen.ID(msg)] if !ok { return nil } @@ -194,7 +194,7 @@ func (t *tagTracer) DeliverMessage(msg *Message) { // delete the delivery state for this message t.Lock() - delete(t.nearFirst, t.msgID(msg.Message)) + delete(t.nearFirst, t.idGen.ID(msg)) t.Unlock() } @@ -215,7 +215,7 @@ func (t *tagTracer) ValidateMessage(msg *Message) { defer t.Unlock() // create map to start tracking the peers who deliver while we're validating - id := t.msgID(msg.Message) + id := t.idGen.ID(msg) if _, exists := t.nearFirst[id]; exists { return } @@ -226,7 +226,7 @@ func (t *tagTracer) DuplicateMessage(msg *Message) { t.Lock() defer t.Unlock() - id := t.msgID(msg.Message) + id := t.idGen.ID(msg) peers, ok := t.nearFirst[id] if !ok { return @@ -247,7 +247,7 @@ func (t *tagTracer) RejectMessage(msg *Message, reason string) { case RejectValidationIgnored: fallthrough case RejectValidationFailed: - delete(t.nearFirst, t.msgID(msg.Message)) + delete(t.nearFirst, t.idGen.ID(msg)) } } diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/topic.go b/vendor/github.com/libp2p/go-libp2p-pubsub/topic.go index 8de88c3c9..901edcffd 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/topic.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/topic.go @@ -7,6 +7,7 @@ import ( "sync" "time" + "github.com/libp2p/go-libp2p-core/crypto" pb "github.com/libp2p/go-libp2p-pubsub/pb" "github.com/libp2p/go-libp2p-core/peer" @@ -15,6 +16,12 @@ import ( // ErrTopicClosed is returned if a Topic is utilized after it has been closed var ErrTopicClosed = errors.New("this Topic is closed, try opening a new one") +// ErrNilSignKey is returned if a nil private key was provided +var ErrNilSignKey = errors.New("nil sign key") + +// ErrEmptyPeerID is returned if an empty peer ID was provided +var ErrEmptyPeerID = errors.New("empty peer ID") + // Topic is the handle for a pubsub topic type Topic struct { p *PubSub @@ -202,8 +209,13 @@ func (t *Topic) Relay() (RelayCancelFunc, error) { // RouterReady is a function that decides if a router is ready to publish type RouterReady func(rt PubSubRouter, topic string) (bool, error) +// ProvideKey is a function that provides a private key and its associated peer ID when publishing a new message +type ProvideKey func() (crypto.PrivKey, peer.ID) + type PublishOptions struct { - ready RouterReady + ready RouterReady + customKey ProvideKey + local bool } type PubOpt func(pub *PublishOptions) error @@ -216,27 +228,40 @@ func (t *Topic) Publish(ctx context.Context, data []byte, opts ...PubOpt) error return ErrTopicClosed } + pid := t.p.signID + key := t.p.signKey + + pub := &PublishOptions{} + for _, opt := range opts { + err := opt(pub) + if err != nil { + return err + } + } + + if pub.customKey != nil { + key, pid = pub.customKey() + if key == nil { + return ErrNilSignKey + } + if len(pid) == 0 { + return ErrEmptyPeerID + } + } + m := &pb.Message{ Data: data, Topic: &t.topic, From: nil, Seqno: nil, } - if t.p.signID != "" { - m.From = []byte(t.p.signID) + if pid != "" { + m.From = []byte(pid) m.Seqno = t.p.nextSeqno() } - if t.p.signKey != nil { - m.From = []byte(t.p.signID) - err := signMessage(t.p.signID, t.p.signKey, m) - if err != nil { - return err - } - } - - pub := &PublishOptions{} - for _, opt := range opts { - err := opt(pub) + if key != nil { + m.From = []byte(pid) + err := signMessage(pid, key, m) if err != nil { return err } @@ -283,7 +308,7 @@ func (t *Topic) Publish(ctx context.Context, data []byte, opts ...PubOpt) error } } - return t.p.val.PushLocal(&Message{m, t.p.host.ID(), nil}) + return t.p.val.PushLocal(&Message{m, "", t.p.host.ID(), nil, pub.local}) } // WithReadiness returns a publishing option for only publishing when the router is ready. @@ -295,6 +320,30 @@ func WithReadiness(ready RouterReady) PubOpt { } } +// WithLocalPublication returns a publishing option to notify in-process subscribers only. +// It prevents message publication to mesh peers. +// Useful in edge cases where the msg needs to be only delivered to the in-process subscribers, +// e.g. not to spam the network with outdated msgs. +// Should not be used specifically for in-process pubsubing. +func WithLocalPublication(local bool) PubOpt { + return func(pub *PublishOptions) error { + pub.local = local + return nil + } +} + +// WithSecretKeyAndPeerId returns a publishing option for providing a custom private key and its corresponding peer ID +// This option is useful when we want to send messages from "virtual", never-connectable peers in the network +func WithSecretKeyAndPeerId(key crypto.PrivKey, pid peer.ID) PubOpt { + return func(pub *PublishOptions) error { + pub.customKey = func() (crypto.PrivKey, peer.ID) { + return key, pid + } + + return nil + } +} + // Close closes down the topic. Will return an error unless there are no active event handlers or subscriptions. // Does not error if the topic is already closed. func (t *Topic) Close() error { diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/trace.go b/vendor/github.com/libp2p/go-libp2p-pubsub/trace.go index 323254226..1426e318a 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/trace.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/trace.go @@ -64,7 +64,7 @@ type pubsubTracer struct { tracer EventTracer raw []RawTracer pid peer.ID - msgID MsgIdFunction + idGen *msgIDGenerator } func (t *pubsubTracer) PublishMessage(msg *Message) { @@ -82,7 +82,7 @@ func (t *pubsubTracer) PublishMessage(msg *Message) { PeerID: []byte(t.pid), Timestamp: &now, PublishMessage: &pb.TraceEvent_PublishMessage{ - MessageID: []byte(t.msgID(msg.Message)), + MessageID: []byte(t.idGen.ID(msg)), Topic: msg.Message.Topic, }, } @@ -123,7 +123,7 @@ func (t *pubsubTracer) RejectMessage(msg *Message, reason string) { PeerID: []byte(t.pid), Timestamp: &now, RejectMessage: &pb.TraceEvent_RejectMessage{ - MessageID: []byte(t.msgID(msg.Message)), + MessageID: []byte(t.idGen.ID(msg)), ReceivedFrom: []byte(msg.ReceivedFrom), Reason: &reason, Topic: msg.Topic, @@ -154,7 +154,7 @@ func (t *pubsubTracer) DuplicateMessage(msg *Message) { PeerID: []byte(t.pid), Timestamp: &now, DuplicateMessage: &pb.TraceEvent_DuplicateMessage{ - MessageID: []byte(t.msgID(msg.Message)), + MessageID: []byte(t.idGen.ID(msg)), ReceivedFrom: []byte(msg.ReceivedFrom), Topic: msg.Topic, }, @@ -184,7 +184,7 @@ func (t *pubsubTracer) DeliverMessage(msg *Message) { PeerID: []byte(t.pid), Timestamp: &now, DeliverMessage: &pb.TraceEvent_DeliverMessage{ - MessageID: []byte(t.msgID(msg.Message)), + MessageID: []byte(t.idGen.ID(msg)), Topic: msg.Topic, ReceivedFrom: []byte(msg.ReceivedFrom), }, @@ -344,7 +344,7 @@ func (t *pubsubTracer) traceRPCMeta(rpc *RPC) *pb.TraceEvent_RPCMeta { var msgs []*pb.TraceEvent_MessageMeta for _, m := range rpc.Publish { msgs = append(msgs, &pb.TraceEvent_MessageMeta{ - MessageID: []byte(t.msgID(m)), + MessageID: []byte(t.idGen.RawID(m)), Topic: m.Topic, }) } diff --git a/vendor/github.com/libp2p/go-libp2p-pubsub/validation.go b/vendor/github.com/libp2p/go-libp2p-pubsub/validation.go index 35d291a15..9fa28d26c 100644 --- a/vendor/github.com/libp2p/go-libp2p-pubsub/validation.go +++ b/vendor/github.com/libp2p/go-libp2p-pubsub/validation.go @@ -284,7 +284,7 @@ func (v *validation) validate(vals []*topicVal, src peer.ID, msg *Message, synch // we can mark the message as seen now that we have verified the signature // and avoid invoking user validators more than once - id := v.p.msgID(msg.Message) + id := v.p.idGen.ID(msg) if !v.p.markSeen(id) { v.tracer.DuplicateMessage(msg) return nil diff --git a/vendor/github.com/libp2p/go-libp2p-quic-transport/.gitignore b/vendor/github.com/libp2p/go-libp2p-quic-transport/.gitignore deleted file mode 100644 index c63c2f6f0..000000000 --- a/vendor/github.com/libp2p/go-libp2p-quic-transport/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.qlog -*.qlog.gz -*.qlog.zst diff --git a/vendor/github.com/libp2p/go-libp2p-quic-transport/LICENSE b/vendor/github.com/libp2p/go-libp2p-quic-transport/LICENSE deleted file mode 100644 index f66e9485a..000000000 --- a/vendor/github.com/libp2p/go-libp2p-quic-transport/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2019 Marten Seemann - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/libp2p/go-libp2p-quic-transport/README.md b/vendor/github.com/libp2p/go-libp2p-quic-transport/README.md deleted file mode 100644 index 7e1fd48a4..000000000 --- a/vendor/github.com/libp2p/go-libp2p-quic-transport/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# go-libp2p-quic-transport - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![Godoc Reference](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/libp2p/go-libp2p-quic-transport) -[![Linux Build Status](https://img.shields.io/travis/libp2p/go-libp2p-quic-transport/master.svg?style=flat-square&label=linux+build)](https://travis-ci.org/libp2p/go-libp2p-quic-transport) -[![Code Coverage](https://img.shields.io/codecov/c/github/libp2p/go-libp2p-quic-transport/master.svg?style=flat-square)](https://codecov.io/gh/libp2p/go-libp2p-quic-transport/) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) - -go-libp2p-quic-transport uses [quic-go](https://github.com/lucas-clemente/quic-go/) to provide QUIC support for libp2p. - -## Install - -`go-libp2p-quic-transport` is a standard Go module which can be installed with: - -```sh -go get github.com/libp2p/go-libp2p-quic-transport -``` - -This repo is [gomod](https://github.com/golang/go/wiki/Modules)-compatible, and users of -Go 1.11 and later with modules enabled will automatically pull the latest tagged release -by referencing this package. Upgrades to future releases can be managed using `go get`, -or by editing your `go.mod` file as [described by the gomod documentation](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies). - -## Contribute - -Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/go-libp2p-quic-transport/issues)! - -This repository falls under the libp2p [Code of Conduct](https://github.com/libp2p/community/blob/master/code-of-conduct.md). - -### Want to hack on libp2p? - -[![](https://cdn.rawgit.com/libp2p/community/master/img/contribute.gif)](https://github.com/libp2p/community/blob/master/CONTRIBUTE.md) - diff --git a/vendor/github.com/libp2p/go-libp2p-quic-transport/version.json b/vendor/github.com/libp2p/go-libp2p-quic-transport/version.json deleted file mode 100644 index bc6514506..000000000 --- a/vendor/github.com/libp2p/go-libp2p-quic-transport/version.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "v0.16.1" -} diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/README.md b/vendor/github.com/libp2p/go-libp2p-resource-manager/README.md index 7ded08fa0..7e3972b8b 100644 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/README.md +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/README.md @@ -281,64 +281,78 @@ aid understanding of applicable limits. Note that the (wrapped) error implements `net.Error` and is marked as temporary, so that the programmer can handle by backoff retry. -### Default Limits +## Usage -The provided default static limiters apply the following limits, where -memoryCap is provided by the programmer, either as a fixed number (in -bytes) or a fraction of total system memory: +This package provides a limiter implementation that applies fixed limits: +```go +limiter := NewFixedLimiter(limits) ``` -DefaultSystemBaseLimit: - StreamsInbound: 4096, - StreamsOutbound: 16384, - ConnsInbound: 256, - ConnsOutbound: 512, - FD: 512, +The `limits` allows fine-grained control of resource usage on all scopes. -DefaultTransientBaseLimit: - StreamsInbound: 128, - StreamsOutbound: 512, - ConnsInbound: 32, - ConnsOutbound: 128, - FD: 128, +### Scaling Limits -DefaultProtocolBaseLimit: - StreamsInbound: 1024, - StreamsOutbound: 4096, +When building software that is supposed to run on many different kind of machines, +with various memory and CPU configurations, it is desireable to have limits that +scale with the size of the machine. -DefaultServiceBaseLimit: - StreamsInbound: 2048, - StreamsOutbound: 8192, +This is done using the `ScalingLimitConfig`. For every scope, this configuration +struct defines the absolutely bare minimum limits, and an (optional) increase of +these limits, which will be applied on nodes that have sufficient memory. -system: - Memory: memoryCap - BaseLimit: DefaultSystemBaseLimit +A `ScalingLimitConfig` can be converted into a `LimitConfig` (which can then be +used to initialize a fixed limiter as shown above) by calling the `Scale` method. +The `Scale` method takes two parameters: the amount of memory and the number of file +descriptors that an application is willing to dedicate to libp2p. -transient: - Memory: memoryCap / 16 - BaseLimit: DefaultTransientBaseLimit +These amounts will differ between use cases: A blockchain node running on a dedicated +server might have a lot of memory, and dedicate 1/4 of that memory to libp2p. On the +other end of the spectrum, a desktop companion application running as a background +task on a consumer laptop will probably dedicate significantly less than 1/4 of its system +memory to libp2p. -svc = - Memory: memoryCap / 2 - BaseLimit: DefaultServiceBaseLimit +For convenience, the `ScalingLimitConfig` also provides an `AutoScale` method, +which determines the amount of memory and file descriptors available on the +system, and dedicates up to 1/8 of the memory and 1/2 of the file descriptors to libp2p. -proto: - Memory: memoryCap / 4 - BaseLimit: DefaultProtocolBaseLimit - -peer: - Memory: memoryCap / 16 - BaseLimit: DefaultPeerBaseLimit - -conn: - Memory: 16 << 20, - -stream: - Memory: 16 << 20, +For example, one might set: +```go +var scalingLimits = ScalingLimitConfig{ + SystemBaseLimit: BaseLimit{ + ConnsInbound: 64, + ConnsOutbound: 128, + Conns: 128, + StreamsInbound: 512, + StreamsOutbound: 1024, + Streams: 1024, + Memory: 128 << 20, + FD: 256, + }, + SystemLimitIncrease: BaseLimitIncrease{ + ConnsInbound: 32, + ConnsOutbound: 64, + Conns: 64, + StreamsInbound: 256, + StreamsOutbound: 512, + Streams: 512, + Memory: 256 << 20, + FDFraction: 1, + }, +} ``` -We also provide a dynamic limiter which uses the same base limits, but -the memory limit is dynamically computed at each memory reservation check -based on free memory. +The base limit (`SystemBaseLimit`) here is the minimum configuration that any +node will have, no matter how little memory it possesses. For every GB of memory +passed into the `Scale` method, an increase of (`SystemLimitIncrease`) is added. + +For Example, calling `Scale` with 4 GB of memory will result in a limit of 384 for +`Conns` (128 + 4*64). + +The `FDFraction` defines how many of the file descriptors are allocated to this +scope. In the example above, when called with a file descriptor value of 1000, +this would result in a limit of 1256 file descriptors for the system scope. + +Note that we only showed the configuration for the system scope here, equivalent +configuration options apply to all other scopes as well. ## Implementation Notes diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/allowlist.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/allowlist.go new file mode 100644 index 000000000..fd72af07c --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/allowlist.go @@ -0,0 +1,215 @@ +package rcmgr + +import ( + "bytes" + "errors" + "fmt" + "net" + "sync" + + "github.com/libp2p/go-libp2p-core/peer" + "github.com/multiformats/go-multiaddr" + manet "github.com/multiformats/go-multiaddr/net" +) + +type Allowlist struct { + mu sync.RWMutex + // a simple structure of lists of networks. There is probably a faster way + // to check if an IP address is in this network than iterating over this + // list, but this is good enough for small numbers of networks (<1_000). + // Analyze the benchmark before trying to optimize this. + + // Any peer with these IPs are allowed + allowedNetworks []*net.IPNet + + // Only the specified peers can use these IPs + allowedPeerByNetwork map[peer.ID][]*net.IPNet +} + +// WithAllowlistedMultiaddrs sets the multiaddrs to be in the allowlist +func WithAllowlistedMultiaddrs(mas []multiaddr.Multiaddr) Option { + return func(rm *resourceManager) error { + for _, ma := range mas { + err := rm.allowlist.Add(ma) + if err != nil { + return err + } + } + return nil + } +} + +func newAllowlist() Allowlist { + return Allowlist{ + allowedPeerByNetwork: make(map[peer.ID][]*net.IPNet), + } +} + +func toIPNet(ma multiaddr.Multiaddr) (*net.IPNet, peer.ID, error) { + var ipString string + var mask string + var allowedPeerStr string + var allowedPeer peer.ID + var isIPV4 bool + + multiaddr.ForEach(ma, func(c multiaddr.Component) bool { + if c.Protocol().Code == multiaddr.P_IP4 || c.Protocol().Code == multiaddr.P_IP6 { + isIPV4 = c.Protocol().Code == multiaddr.P_IP4 + ipString = c.Value() + } + if c.Protocol().Code == multiaddr.P_IPCIDR { + mask = c.Value() + } + if c.Protocol().Code == multiaddr.P_P2P { + allowedPeerStr = c.Value() + } + return ipString == "" || mask == "" || allowedPeerStr == "" + }) + + if ipString == "" { + return nil, allowedPeer, errors.New("missing ip address") + } + + if allowedPeerStr != "" { + var err error + allowedPeer, err = peer.Decode(allowedPeerStr) + if err != nil { + return nil, allowedPeer, fmt.Errorf("failed to decode allowed peer: %w", err) + } + } + + if mask == "" { + ip := net.ParseIP(ipString) + if ip == nil { + return nil, allowedPeer, errors.New("invalid ip address") + } + var mask net.IPMask + if isIPV4 { + mask = net.CIDRMask(32, 32) + } else { + mask = net.CIDRMask(128, 128) + } + + net := &net.IPNet{IP: ip, Mask: mask} + return net, allowedPeer, nil + } + + _, ipnet, err := net.ParseCIDR(ipString + "/" + mask) + return ipnet, allowedPeer, err + +} + +// Add takes a multiaddr and adds it to the allowlist. The multiaddr should be +// an ip address of the peer with or without a `/p2p` protocol. +// e.g. /ip4/1.2.3.4/p2p/QmFoo, /ip4/1.2.3.4, and /ip4/1.2.3.0/ipcidr/24 are valid. +// /p2p/QmFoo is not valid. +func (al *Allowlist) Add(ma multiaddr.Multiaddr) error { + ipnet, allowedPeer, err := toIPNet(ma) + if err != nil { + return err + } + al.mu.Lock() + defer al.mu.Unlock() + + if allowedPeer != peer.ID("") { + // We have a peerID constraint + if al.allowedPeerByNetwork == nil { + al.allowedPeerByNetwork = make(map[peer.ID][]*net.IPNet) + } + al.allowedPeerByNetwork[allowedPeer] = append(al.allowedPeerByNetwork[allowedPeer], ipnet) + } else { + al.allowedNetworks = append(al.allowedNetworks, ipnet) + } + return nil +} + +func (al *Allowlist) Remove(ma multiaddr.Multiaddr) error { + ipnet, allowedPeer, err := toIPNet(ma) + if err != nil { + return err + } + al.mu.Lock() + defer al.mu.Unlock() + + ipNetList := al.allowedNetworks + + if allowedPeer != "" { + // We have a peerID constraint + ipNetList = al.allowedPeerByNetwork[allowedPeer] + } + + if ipNetList == nil { + return nil + } + + i := len(ipNetList) + for i > 0 { + i-- + if ipNetList[i].IP.Equal(ipnet.IP) && bytes.Equal(ipNetList[i].Mask, ipnet.Mask) { + // swap remove + ipNetList[i] = ipNetList[len(ipNetList)-1] + ipNetList = ipNetList[:len(ipNetList)-1] + // We only remove one thing + break + } + } + + if allowedPeer != "" { + al.allowedPeerByNetwork[allowedPeer] = ipNetList + } else { + al.allowedNetworks = ipNetList + } + + return nil +} + +func (al *Allowlist) Allowed(ma multiaddr.Multiaddr) bool { + ip, err := manet.ToIP(ma) + if err != nil { + return false + } + al.mu.RLock() + defer al.mu.RUnlock() + + for _, network := range al.allowedNetworks { + if network.Contains(ip) { + return true + } + } + + for _, allowedNetworks := range al.allowedPeerByNetwork { + for _, network := range allowedNetworks { + if network.Contains(ip) { + return true + } + } + } + + return false +} + +func (al *Allowlist) AllowedPeerAndMultiaddr(peerID peer.ID, ma multiaddr.Multiaddr) bool { + ip, err := manet.ToIP(ma) + if err != nil { + return false + } + al.mu.RLock() + defer al.mu.RUnlock() + + for _, network := range al.allowedNetworks { + if network.Contains(ip) { + // We found a match that isn't constrained by a peerID + return true + } + } + + if expectedNetworks, ok := al.allowedPeerByNetwork[peerID]; ok { + for _, expectedNetwork := range expectedNetworks { + if expectedNetwork.Contains(ip) { + return true + } + } + } + + return false +} diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/error.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/error.go new file mode 100644 index 000000000..1ccc86f99 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/error.go @@ -0,0 +1,81 @@ +package rcmgr + +import ( + "errors" + + "github.com/libp2p/go-libp2p-core/network" +) + +type errStreamOrConnLimitExceeded struct { + current, attempted, limit int + err error +} + +func (e *errStreamOrConnLimitExceeded) Error() string { return e.err.Error() } +func (e *errStreamOrConnLimitExceeded) Unwrap() error { return e.err } + +// edge may be "" if this is not an edge error +func logValuesStreamLimit(scope, edge string, dir network.Direction, stat network.ScopeStat, err error) []interface{} { + logValues := make([]interface{}, 0, 2*8) + logValues = append(logValues, "scope", scope) + if edge != "" { + logValues = append(logValues, "edge", edge) + } + logValues = append(logValues, "direction", dir) + var e *errStreamOrConnLimitExceeded + if errors.As(err, &e) { + logValues = append(logValues, + "current", e.current, + "attempted", e.attempted, + "limit", e.limit, + ) + } + return append(logValues, "stat", stat, "error", err) +} + +// edge may be "" if this is not an edge error +func logValuesConnLimit(scope, edge string, dir network.Direction, usefd bool, stat network.ScopeStat, err error) []interface{} { + logValues := make([]interface{}, 0, 2*9) + logValues = append(logValues, "scope", scope) + if edge != "" { + logValues = append(logValues, "edge", edge) + } + logValues = append(logValues, "direction", dir, "usefd", usefd) + var e *errStreamOrConnLimitExceeded + if errors.As(err, &e) { + logValues = append(logValues, + "current", e.current, + "attempted", e.attempted, + "limit", e.limit, + ) + } + return append(logValues, "stat", stat, "error", err) +} + +type errMemoryLimitExceeded struct { + current, attempted, limit int64 + priority uint8 + err error +} + +func (e *errMemoryLimitExceeded) Error() string { return e.err.Error() } +func (e *errMemoryLimitExceeded) Unwrap() error { return e.err } + +// edge may be "" if this is not an edge error +func logValuesMemoryLimit(scope, edge string, stat network.ScopeStat, err error) []interface{} { + logValues := make([]interface{}, 0, 2*8) + logValues = append(logValues, "scope", scope) + if edge != "" { + logValues = append(logValues, "edge", edge) + } + var e *errMemoryLimitExceeded + if errors.As(err, &e) { + logValues = append(logValues, + "current", e.current, + "attempted", e.attempted, + "priority", e.priority, + "limit", e.limit, + ) + } + return append(logValues, "stat", stat, "error", err) +} diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/extapi.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/extapi.go index acc548d0d..92605c82b 100644 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/extapi.go +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/extapi.go @@ -138,7 +138,7 @@ func (r *resourceManager) Stat() (result ResourceManagerStat) { } result.Services = make(map[string]network.ScopeStat, len(svcs)) for _, svc := range svcs { - result.Services[svc.name] = svc.Stat() + result.Services[svc.service] = svc.Stat() } result.Transient = r.transient.Stat() result.System = r.system.Stat() diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/limit.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/limit.go index 17d7e6c02..b1c7d6371 100644 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/limit.go +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/limit.go @@ -1,6 +1,9 @@ package rcmgr import ( + "encoding/json" + "io" + "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-core/protocol" @@ -20,25 +23,14 @@ type Limit interface { GetConnTotalLimit() int // GetFDLimit returns the file descriptor limit. GetFDLimit() int - - // WithMemoryLimit creates a copy of this limit object, with memory limit adjusted to - // the specified memFraction of its current value, bounded by minMemory and maxMemory. - WithMemoryLimit(memFraction float64, minMemory, maxMemory int64) Limit - // WithStreamLimit creates a copy of this limit object, with stream limits adjusted - // as specified. - WithStreamLimit(numStreamsIn, numStreamsOut, numStreams int) Limit - // WithConnLimit creates a copy of this limit object, with connetion limits adjusted - // as specified. - WithConnLimit(numConnsIn, numConnsOut, numConns int) Limit - // WithFDLimit creates a copy of this limit object, with file descriptor limits adjusted - // as specified - WithFDLimit(numFD int) Limit } // Limiter is the interface for providing limits to the resource manager. type Limiter interface { GetSystemLimits() Limit GetTransientLimits() Limit + GetAllowlistedSystemLimits() Limit + GetAllowlistedTransientLimits() Limit GetServiceLimits(svc string) Limit GetServicePeerLimits(svc string) Limit GetProtocolLimits(proto protocol.ID) Limit @@ -48,25 +40,41 @@ type Limiter interface { GetConnLimits() Limit } -// BasicLimiter is a limiter with fixed limits. -type BasicLimiter struct { - SystemLimits Limit - TransientLimits Limit - DefaultServiceLimits Limit - DefaultServicePeerLimits Limit - ServiceLimits map[string]Limit - ServicePeerLimits map[string]Limit - DefaultProtocolLimits Limit - DefaultProtocolPeerLimits Limit - ProtocolLimits map[protocol.ID]Limit - ProtocolPeerLimits map[protocol.ID]Limit - DefaultPeerLimits Limit - PeerLimits map[peer.ID]Limit - ConnLimits Limit - StreamLimits Limit +// NewDefaultLimiterFromJSON creates a new limiter by parsing a json configuration, +// using the default limits for fallback. +func NewDefaultLimiterFromJSON(in io.Reader) (Limiter, error) { + return NewLimiterFromJSON(in, DefaultLimits.AutoScale()) } -var _ Limiter = (*BasicLimiter)(nil) +// NewLimiterFromJSON creates a new limiter by parsing a json configuration. +func NewLimiterFromJSON(in io.Reader, defaults LimitConfig) (Limiter, error) { + cfg, err := readLimiterConfigFromJSON(in, defaults) + if err != nil { + return nil, err + } + return &fixedLimiter{cfg}, nil +} + +func readLimiterConfigFromJSON(in io.Reader, defaults LimitConfig) (LimitConfig, error) { + var cfg LimitConfig + if err := json.NewDecoder(in).Decode(&cfg); err != nil { + return LimitConfig{}, err + } + cfg.Apply(defaults) + return cfg, nil +} + +// fixedLimiter is a limiter with fixed limits. +type fixedLimiter struct { + LimitConfig +} + +var _ Limiter = (*fixedLimiter)(nil) + +func NewFixedLimiter(conf LimitConfig) Limiter { + log.Debugw("initializing new limiter with config", "limits", conf) + return &fixedLimiter{LimitConfig: conf} +} // BaseLimit is a mixin type for basic resource limits. type BaseLimit struct { @@ -77,13 +85,77 @@ type BaseLimit struct { ConnsInbound int ConnsOutbound int FD int + Memory int64 } -// MemoryLimit is a mixin type for memory limits -type MemoryLimit struct { - MemoryFraction float64 - MinMemory int64 - MaxMemory int64 +// Apply overwrites all zero-valued limits with the values of l2 +// Must not use a pointer receiver. +func (l *BaseLimit) Apply(l2 BaseLimit) { + if l.Streams == 0 { + l.Streams = l2.Streams + } + if l.StreamsInbound == 0 { + l.StreamsInbound = l2.StreamsInbound + } + if l.StreamsOutbound == 0 { + l.StreamsOutbound = l2.StreamsOutbound + } + if l.Conns == 0 { + l.Conns = l2.Conns + } + if l.ConnsInbound == 0 { + l.ConnsInbound = l2.ConnsInbound + } + if l.ConnsOutbound == 0 { + l.ConnsOutbound = l2.ConnsOutbound + } + if l.Memory == 0 { + l.Memory = l2.Memory + } + if l.FD == 0 { + l.FD = l2.FD + } +} + +// BaseLimitIncrease is the increase per GB of system memory. +type BaseLimitIncrease struct { + Streams int + StreamsInbound int + StreamsOutbound int + Conns int + ConnsInbound int + ConnsOutbound int + Memory int64 + FDFraction float64 +} + +// Apply overwrites all zero-valued limits with the values of l2 +// Must not use a pointer receiver. +func (l *BaseLimitIncrease) Apply(l2 BaseLimitIncrease) { + if l.Streams == 0 { + l.Streams = l2.Streams + } + if l.StreamsInbound == 0 { + l.StreamsInbound = l2.StreamsInbound + } + if l.StreamsOutbound == 0 { + l.StreamsOutbound = l2.StreamsOutbound + } + if l.Conns == 0 { + l.Conns = l2.Conns + } + if l.ConnsInbound == 0 { + l.ConnsInbound = l2.ConnsInbound + } + if l.ConnsOutbound == 0 { + l.ConnsOutbound = l2.ConnsOutbound + } + if l.Memory == 0 { + l.Memory = l2.Memory + } + if l.FDFraction == 0 { + l.FDFraction = l2.FDFraction + } } func (l *BaseLimit) GetStreamLimit(dir network.Direction) int { @@ -114,74 +186,70 @@ func (l *BaseLimit) GetFDLimit() int { return l.FD } -func (l *BasicLimiter) GetSystemLimits() Limit { - return l.SystemLimits +func (l *BaseLimit) GetMemoryLimit() int64 { + return l.Memory } -func (l *BasicLimiter) GetTransientLimits() Limit { - return l.TransientLimits +func (l *fixedLimiter) GetSystemLimits() Limit { + return &l.System } -func (l *BasicLimiter) GetServiceLimits(svc string) Limit { - sl, ok := l.ServiceLimits[svc] +func (l *fixedLimiter) GetTransientLimits() Limit { + return &l.Transient +} + +func (l *fixedLimiter) GetAllowlistedSystemLimits() Limit { + return &l.AllowlistedSystem +} + +func (l *fixedLimiter) GetAllowlistedTransientLimits() Limit { + return &l.AllowlistedTransient +} + +func (l *fixedLimiter) GetServiceLimits(svc string) Limit { + sl, ok := l.Service[svc] if !ok { - return l.DefaultServiceLimits + return &l.ServiceDefault } - return sl + return &sl } -func (l *BasicLimiter) GetServicePeerLimits(svc string) Limit { - pl, ok := l.ServicePeerLimits[svc] +func (l *fixedLimiter) GetServicePeerLimits(svc string) Limit { + pl, ok := l.ServicePeer[svc] if !ok { - return l.DefaultServicePeerLimits + return &l.ServicePeerDefault } - return pl + return &pl } -func (l *BasicLimiter) GetProtocolLimits(proto protocol.ID) Limit { - pl, ok := l.ProtocolLimits[proto] +func (l *fixedLimiter) GetProtocolLimits(proto protocol.ID) Limit { + pl, ok := l.Protocol[proto] if !ok { - return l.DefaultProtocolLimits + return &l.ProtocolDefault } - return pl + return &pl } -func (l *BasicLimiter) GetProtocolPeerLimits(proto protocol.ID) Limit { - pl, ok := l.ProtocolPeerLimits[proto] +func (l *fixedLimiter) GetProtocolPeerLimits(proto protocol.ID) Limit { + pl, ok := l.ProtocolPeer[proto] if !ok { - return l.DefaultProtocolPeerLimits + return &l.ProtocolPeerDefault } - return pl + return &pl } -func (l *BasicLimiter) GetPeerLimits(p peer.ID) Limit { - pl, ok := l.PeerLimits[p] +func (l *fixedLimiter) GetPeerLimits(p peer.ID) Limit { + pl, ok := l.Peer[p] if !ok { - return l.DefaultPeerLimits + return &l.PeerDefault } - return pl + return &pl } -func (l *BasicLimiter) GetStreamLimits(p peer.ID) Limit { - return l.StreamLimits +func (l *fixedLimiter) GetStreamLimits(_ peer.ID) Limit { + return &l.Stream } -func (l *BasicLimiter) GetConnLimits() Limit { - return l.ConnLimits -} - -func (l *MemoryLimit) GetMemory(memoryCap int64) int64 { - return memoryLimit(memoryCap, l.MemoryFraction, l.MinMemory, l.MaxMemory) -} - -func memoryLimit(memoryCap int64, memFraction float64, minMemory, maxMemory int64) int64 { - memoryCap = int64(float64(memoryCap) * memFraction) - switch { - case memoryCap < minMemory: - return minMemory - case memoryCap > maxMemory: - return maxMemory - default: - return memoryCap - } +func (l *fixedLimiter) GetConnLimits() Limit { + return &l.Conn } diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_config.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_config.go deleted file mode 100644 index 532f5a4d7..000000000 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_config.go +++ /dev/null @@ -1,305 +0,0 @@ -package rcmgr - -import ( - "encoding/json" - "fmt" - "io" - - "github.com/libp2p/go-libp2p-core/peer" - "github.com/libp2p/go-libp2p-core/protocol" - - "github.com/pbnjay/memory" -) - -type limitConfig struct { - // if true, then a dynamic limit is used - Dynamic bool - // either Memory is set for fixed memory limit - Memory int64 - // or the following 3 fields for computed memory limits - MinMemory int64 - MaxMemory int64 - MemoryFraction float64 - - StreamsInbound int - StreamsOutbound int - Streams int - - ConnsInbound int - ConnsOutbound int - Conns int - - FD int -} - -func (cfg *limitConfig) toLimit(base BaseLimit, mem MemoryLimit) (Limit, error) { - if cfg == nil { - m := mem.GetMemory(int64(memory.TotalMemory())) - return &StaticLimit{ - Memory: m, - BaseLimit: base, - }, nil - } - - if cfg.Streams > 0 { - base.Streams = cfg.Streams - } - if cfg.StreamsInbound > 0 { - base.StreamsInbound = cfg.StreamsInbound - } - if cfg.StreamsOutbound > 0 { - base.StreamsOutbound = cfg.StreamsOutbound - } - if cfg.Conns > 0 { - base.Conns = cfg.Conns - } - if cfg.ConnsInbound > 0 { - base.ConnsInbound = cfg.ConnsInbound - } - if cfg.ConnsOutbound > 0 { - base.ConnsOutbound = cfg.ConnsOutbound - } - if cfg.FD > 0 { - base.FD = cfg.FD - } - - switch { - case cfg.Memory > 0: - return &StaticLimit{ - Memory: cfg.Memory, - BaseLimit: base, - }, nil - - case cfg.Dynamic: - if cfg.MemoryFraction < 0 { - return nil, fmt.Errorf("negative memory fraction: %f", cfg.MemoryFraction) - } - if cfg.MemoryFraction > 0 { - mem.MemoryFraction = cfg.MemoryFraction - } - if cfg.MinMemory > 0 { - mem.MinMemory = cfg.MinMemory - } - if cfg.MaxMemory > 0 { - mem.MaxMemory = cfg.MaxMemory - } - - return &DynamicLimit{ - MemoryLimit: mem, - BaseLimit: base, - }, nil - - default: - if cfg.MemoryFraction < 0 { - return nil, fmt.Errorf("negative memory fraction: %f", cfg.MemoryFraction) - } - if cfg.MemoryFraction > 0 { - mem.MemoryFraction = cfg.MemoryFraction - } - if cfg.MinMemory > 0 { - mem.MinMemory = cfg.MinMemory - } - if cfg.MaxMemory > 0 { - mem.MaxMemory = cfg.MaxMemory - } - - m := mem.GetMemory(int64(memory.TotalMemory())) - return &StaticLimit{ - Memory: m, - BaseLimit: base, - }, nil - } -} - -func (cfg *limitConfig) toLimitFixed(base BaseLimit, mem int64) (Limit, error) { - if cfg == nil { - return &StaticLimit{ - Memory: mem, - BaseLimit: base, - }, nil - } - - if cfg.Streams > 0 { - base.Streams = cfg.Streams - } - if cfg.StreamsInbound > 0 { - base.StreamsInbound = cfg.StreamsInbound - } - if cfg.StreamsOutbound > 0 { - base.StreamsOutbound = cfg.StreamsOutbound - } - if cfg.Conns > 0 { - base.Conns = cfg.Conns - } - if cfg.ConnsInbound > 0 { - base.ConnsInbound = cfg.ConnsInbound - } - if cfg.ConnsOutbound > 0 { - base.ConnsOutbound = cfg.ConnsOutbound - } - if cfg.FD > 0 { - base.FD = cfg.FD - } - - switch { - case cfg.Memory > 0: - return &StaticLimit{ - Memory: cfg.Memory, - BaseLimit: base, - }, nil - - case cfg.Dynamic: - return nil, fmt.Errorf("cannot specify dynamic limit for fixed memory limit") - - default: - if cfg.MemoryFraction > 0 || cfg.MinMemory > 0 || cfg.MaxMemory > 0 { - return nil, fmt.Errorf("cannot specify dynamic range for fixed memory limit") - } - return &StaticLimit{ - Memory: mem, - BaseLimit: base, - }, nil - } -} - -type limiterConfig struct { - System *limitConfig - Transient *limitConfig - - ServiceDefault *limitConfig - ServicePeerDefault *limitConfig - Service map[string]limitConfig - ServicePeer map[string]limitConfig - - ProtocolDefault *limitConfig - ProtocolPeerDefault *limitConfig - Protocol map[string]limitConfig - ProtocolPeer map[string]limitConfig - - PeerDefault *limitConfig - Peer map[string]limitConfig - - Conn *limitConfig - Stream *limitConfig -} - -// NewDefaultLimiterFromJSON creates a new limiter by parsing a json configuration, -// using the default limits for fallback. -func NewDefaultLimiterFromJSON(in io.Reader) (*BasicLimiter, error) { - return NewLimiterFromJSON(in, DefaultLimits) -} - -// NewLimiterFromJSON creates a new limiter by parsing a json configuration. -func NewLimiterFromJSON(in io.Reader, defaults DefaultLimitConfig) (*BasicLimiter, error) { - jin := json.NewDecoder(in) - - var cfg limiterConfig - - if err := jin.Decode(&cfg); err != nil { - return nil, err - } - - limiter := new(BasicLimiter) - var err error - - limiter.SystemLimits, err = cfg.System.toLimit(defaults.SystemBaseLimit, defaults.SystemMemory) - if err != nil { - return nil, fmt.Errorf("invalid system limit: %w", err) - } - - limiter.TransientLimits, err = cfg.Transient.toLimit(defaults.TransientBaseLimit, defaults.TransientMemory) - if err != nil { - return nil, fmt.Errorf("invalid transient limit: %w", err) - } - - limiter.DefaultServiceLimits, err = cfg.ServiceDefault.toLimit(defaults.ServiceBaseLimit, defaults.ServiceMemory) - if err != nil { - return nil, fmt.Errorf("invlaid default service limit: %w", err) - } - - limiter.DefaultServicePeerLimits, err = cfg.ServicePeerDefault.toLimit(defaults.ServicePeerBaseLimit, defaults.ServicePeerMemory) - if err != nil { - return nil, fmt.Errorf("invlaid default service peer limit: %w", err) - } - - if len(cfg.Service) > 0 { - limiter.ServiceLimits = make(map[string]Limit, len(cfg.Service)) - for svc, cfgLimit := range cfg.Service { - limiter.ServiceLimits[svc], err = cfgLimit.toLimit(defaults.ServiceBaseLimit, defaults.ServiceMemory) - if err != nil { - return nil, fmt.Errorf("invalid service limit for %s: %w", svc, err) - } - } - } - - if len(cfg.ServicePeer) > 0 { - limiter.ServicePeerLimits = make(map[string]Limit, len(cfg.ServicePeer)) - for svc, cfgLimit := range cfg.ServicePeer { - limiter.ServicePeerLimits[svc], err = cfgLimit.toLimit(defaults.ServicePeerBaseLimit, defaults.ServicePeerMemory) - if err != nil { - return nil, fmt.Errorf("invalid service peer limit for %s: %w", svc, err) - } - } - } - - limiter.DefaultProtocolLimits, err = cfg.ProtocolDefault.toLimit(defaults.ProtocolBaseLimit, defaults.ProtocolMemory) - if err != nil { - return nil, fmt.Errorf("invlaid default protocol limit: %w", err) - } - - limiter.DefaultProtocolPeerLimits, err = cfg.ProtocolPeerDefault.toLimit(defaults.ProtocolPeerBaseLimit, defaults.ProtocolPeerMemory) - if err != nil { - return nil, fmt.Errorf("invlaid default protocol peer limit: %w", err) - } - - if len(cfg.Protocol) > 0 { - limiter.ProtocolLimits = make(map[protocol.ID]Limit, len(cfg.Protocol)) - for p, cfgLimit := range cfg.Protocol { - limiter.ProtocolLimits[protocol.ID(p)], err = cfgLimit.toLimit(defaults.ProtocolBaseLimit, defaults.ProtocolMemory) - if err != nil { - return nil, fmt.Errorf("invalid service limit for %s: %w", p, err) - } - } - } - - if len(cfg.ProtocolPeer) > 0 { - limiter.ProtocolPeerLimits = make(map[protocol.ID]Limit, len(cfg.ProtocolPeer)) - for p, cfgLimit := range cfg.ProtocolPeer { - limiter.ProtocolPeerLimits[protocol.ID(p)], err = cfgLimit.toLimit(defaults.ProtocolPeerBaseLimit, defaults.ProtocolPeerMemory) - if err != nil { - return nil, fmt.Errorf("invalid service peer limit for %s: %w", p, err) - } - } - } - - limiter.DefaultPeerLimits, err = cfg.PeerDefault.toLimit(defaults.PeerBaseLimit, defaults.PeerMemory) - if err != nil { - return nil, fmt.Errorf("invalid peer limit: %w", err) - } - - if len(cfg.Peer) > 0 { - limiter.PeerLimits = make(map[peer.ID]Limit, len(cfg.Peer)) - for p, cfgLimit := range cfg.Peer { - pid, err := peer.IDFromString(p) - if err != nil { - return nil, fmt.Errorf("invalid peer ID %s: %w", p, err) - } - limiter.PeerLimits[pid], err = cfgLimit.toLimit(defaults.PeerBaseLimit, defaults.PeerMemory) - if err != nil { - return nil, fmt.Errorf("invalid peer limit for %s: %w", p, err) - } - } - } - - limiter.ConnLimits, err = cfg.Conn.toLimitFixed(defaults.ConnBaseLimit, defaults.ConnMemory) - if err != nil { - return nil, fmt.Errorf("invalid conn limit: %w", err) - } - - limiter.StreamLimits, err = cfg.Stream.toLimitFixed(defaults.StreamBaseLimit, defaults.StreamMemory) - if err != nil { - return nil, fmt.Errorf("invalid stream limit: %w", err) - } - - return limiter, nil -} diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_config_test.json b/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_config_test.json index b0571d86c..b7758baf1 100644 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_config_test.json +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_config_test.json @@ -1,32 +1,22 @@ { "System": { - "Dynamic": true, - "MinMemory": 16384, - "MaxMemory": 65536, - "MemoryFraction": 0.125, - "Streams": 64, - "StreamsInbound": 32, - "StreamsOutbound": 48, + "Memory": 65536, "Conns": 16, "ConnsInbound": 8, "ConnsOutbound": 16, "FD": 16 }, - "Transient": { - "MinMemory": 1024, - "MaxMemory": 4096, - "MemoryFraction": 0.03125 - }, "ServiceDefault": { - "Memory": 8192 - }, - "ServicePeerDefault": { - "Memory": 2048 + "Memory": 8765 }, "Service": { "A": { "Memory": 8192 - } + }, + "B": {} + }, + "ServicePeerDefault": { + "Memory": 2048 }, "ServicePeer": { "A": { @@ -44,12 +34,12 @@ "Memory": 8192 } }, - "ProtocolPeer": { - "/A": { - "Memory": 4096 - } - }, "PeerDefault": { "Memory": 4096 + }, + "Peer": { + "12D3KooWPFH2Bx2tPfw6RLxN8k2wh47GRXgkt9yrAHU37zFwHWzS": { + "Memory": 4097 + } } } diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_defaults.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_defaults.go index 8d5e3cd77..bb10b7c26 100644 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_defaults.go +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_defaults.go @@ -1,146 +1,507 @@ package rcmgr -// DefaultLimitConfig is a struct for configuring default limits. -type DefaultLimitConfig struct { - SystemBaseLimit BaseLimit - SystemMemory MemoryLimit +import ( + "encoding/json" + "math" - TransientBaseLimit BaseLimit - TransientMemory MemoryLimit + "github.com/libp2p/go-libp2p-core/peer" + "github.com/libp2p/go-libp2p-core/protocol" - ServiceBaseLimit BaseLimit - ServiceMemory MemoryLimit + "github.com/pbnjay/memory" +) - ServicePeerBaseLimit BaseLimit - ServicePeerMemory MemoryLimit - - ProtocolBaseLimit BaseLimit - ProtocolMemory MemoryLimit - - ProtocolPeerBaseLimit BaseLimit - ProtocolPeerMemory MemoryLimit - - PeerBaseLimit BaseLimit - PeerMemory MemoryLimit - - ConnBaseLimit BaseLimit - ConnMemory int64 - - StreamBaseLimit BaseLimit - StreamMemory int64 +type baseLimitConfig struct { + BaseLimit BaseLimit + BaseLimitIncrease BaseLimitIncrease } -func (cfg *DefaultLimitConfig) WithSystemMemory(memFraction float64, minMemory, maxMemory int64) DefaultLimitConfig { - refactor := memFraction / cfg.SystemMemory.MemoryFraction - r := *cfg - r.SystemMemory.MemoryFraction = memFraction - r.SystemMemory.MinMemory = minMemory - r.SystemMemory.MaxMemory = maxMemory - r.TransientMemory.MemoryFraction *= refactor - r.ServiceMemory.MemoryFraction *= refactor - r.ServicePeerMemory.MemoryFraction *= refactor - r.ProtocolMemory.MemoryFraction *= refactor - r.ProtocolPeerMemory.MemoryFraction *= refactor - r.PeerMemory.MemoryFraction *= refactor - return r +// ScalingLimitConfig is a struct for configuring default limits. +// {}BaseLimit is the limits that Apply for a minimal node (128 MB of memory for libp2p) and 256 file descriptors. +// {}LimitIncrease is the additional limit granted for every additional 1 GB of RAM. +type ScalingLimitConfig struct { + SystemBaseLimit BaseLimit + SystemLimitIncrease BaseLimitIncrease + + TransientBaseLimit BaseLimit + TransientLimitIncrease BaseLimitIncrease + + AllowlistedSystemBaseLimit BaseLimit + AllowlistedSystemLimitIncrease BaseLimitIncrease + + AllowlistedTransientBaseLimit BaseLimit + AllowlistedTransientLimitIncrease BaseLimitIncrease + + ServiceBaseLimit BaseLimit + ServiceLimitIncrease BaseLimitIncrease + ServiceLimits map[string]baseLimitConfig // use AddServiceLimit to modify + + ServicePeerBaseLimit BaseLimit + ServicePeerLimitIncrease BaseLimitIncrease + ServicePeerLimits map[string]baseLimitConfig // use AddServicePeerLimit to modify + + ProtocolBaseLimit BaseLimit + ProtocolLimitIncrease BaseLimitIncrease + ProtocolLimits map[protocol.ID]baseLimitConfig // use AddProtocolLimit to modify + + ProtocolPeerBaseLimit BaseLimit + ProtocolPeerLimitIncrease BaseLimitIncrease + ProtocolPeerLimits map[protocol.ID]baseLimitConfig // use AddProtocolPeerLimit to modify + + PeerBaseLimit BaseLimit + PeerLimitIncrease BaseLimitIncrease + PeerLimits map[peer.ID]baseLimitConfig // use AddPeerLimit to modify + + ConnBaseLimit BaseLimit + ConnLimitIncrease BaseLimitIncrease + + StreamBaseLimit BaseLimit + StreamLimitIncrease BaseLimitIncrease +} + +func (cfg *ScalingLimitConfig) AddServiceLimit(svc string, base BaseLimit, inc BaseLimitIncrease) { + if cfg.ServiceLimits == nil { + cfg.ServiceLimits = make(map[string]baseLimitConfig) + } + cfg.ServiceLimits[svc] = baseLimitConfig{ + BaseLimit: base, + BaseLimitIncrease: inc, + } +} + +func (cfg *ScalingLimitConfig) AddProtocolLimit(proto protocol.ID, base BaseLimit, inc BaseLimitIncrease) { + if cfg.ProtocolLimits == nil { + cfg.ProtocolLimits = make(map[protocol.ID]baseLimitConfig) + } + cfg.ProtocolLimits[proto] = baseLimitConfig{ + BaseLimit: base, + BaseLimitIncrease: inc, + } +} + +func (cfg *ScalingLimitConfig) AddPeerLimit(p peer.ID, base BaseLimit, inc BaseLimitIncrease) { + if cfg.PeerLimits == nil { + cfg.PeerLimits = make(map[peer.ID]baseLimitConfig) + } + cfg.PeerLimits[p] = baseLimitConfig{ + BaseLimit: base, + BaseLimitIncrease: inc, + } +} + +func (cfg *ScalingLimitConfig) AddServicePeerLimit(svc string, base BaseLimit, inc BaseLimitIncrease) { + if cfg.ServicePeerLimits == nil { + cfg.ServicePeerLimits = make(map[string]baseLimitConfig) + } + cfg.ServicePeerLimits[svc] = baseLimitConfig{ + BaseLimit: base, + BaseLimitIncrease: inc, + } +} + +func (cfg *ScalingLimitConfig) AddProtocolPeerLimit(proto protocol.ID, base BaseLimit, inc BaseLimitIncrease) { + if cfg.ProtocolPeerLimits == nil { + cfg.ProtocolPeerLimits = make(map[protocol.ID]baseLimitConfig) + } + cfg.ProtocolPeerLimits[proto] = baseLimitConfig{ + BaseLimit: base, + BaseLimitIncrease: inc, + } +} + +type LimitConfig struct { + System BaseLimit `json:",omitempty"` + Transient BaseLimit `json:",omitempty"` + + // Limits that are applied to resources with an allowlisted multiaddr. + // These will only be used if the normal System & Transient limits are + // reached. + AllowlistedSystem BaseLimit `json:",omitempty"` + AllowlistedTransient BaseLimit `json:",omitempty"` + + ServiceDefault BaseLimit `json:",omitempty"` + Service map[string]BaseLimit `json:",omitempty"` + + ServicePeerDefault BaseLimit `json:",omitempty"` + ServicePeer map[string]BaseLimit `json:",omitempty"` + + ProtocolDefault BaseLimit `json:",omitempty"` + Protocol map[protocol.ID]BaseLimit `json:",omitempty"` + + ProtocolPeerDefault BaseLimit `json:",omitempty"` + ProtocolPeer map[protocol.ID]BaseLimit `json:",omitempty"` + + PeerDefault BaseLimit `json:",omitempty"` + Peer map[peer.ID]BaseLimit `json:",omitempty"` + + Conn BaseLimit `json:",omitempty"` + Stream BaseLimit `json:",omitempty"` +} + +func (cfg *LimitConfig) MarshalJSON() ([]byte, error) { + // we want to marshal the encoded peer id + encodedPeerMap := make(map[string]BaseLimit, len(cfg.Peer)) + for p, v := range cfg.Peer { + encodedPeerMap[peer.Encode(p)] = v + } + + type Alias LimitConfig + return json.Marshal(&struct { + *Alias + Peer map[string]BaseLimit `json:",omitempty"` + }{ + Alias: (*Alias)(cfg), + Peer: encodedPeerMap, + }) +} + +func (cfg *LimitConfig) Apply(c LimitConfig) { + cfg.System.Apply(c.System) + cfg.Transient.Apply(c.Transient) + cfg.AllowlistedSystem.Apply(c.AllowlistedSystem) + cfg.AllowlistedTransient.Apply(c.AllowlistedTransient) + cfg.ServiceDefault.Apply(c.ServiceDefault) + cfg.ProtocolDefault.Apply(c.ProtocolDefault) + cfg.ProtocolPeerDefault.Apply(c.ProtocolPeerDefault) + cfg.PeerDefault.Apply(c.PeerDefault) + cfg.Conn.Apply(c.Conn) + cfg.Stream.Apply(c.Stream) + + // TODO: the following could be solved a lot nicer, if only we could use generics + for s, l := range cfg.Service { + r := cfg.ServiceDefault + if l2, ok := c.Service[s]; ok { + r = l2 + } + l.Apply(r) + cfg.Service[s] = l + } + if c.Service != nil && cfg.Service == nil { + cfg.Service = make(map[string]BaseLimit) + } + for s, l := range c.Service { + if _, ok := cfg.Service[s]; !ok { + cfg.Service[s] = l + } + } + + for s, l := range cfg.ServicePeer { + r := cfg.ServicePeerDefault + if l2, ok := c.ServicePeer[s]; ok { + r = l2 + } + l.Apply(r) + cfg.ServicePeer[s] = l + } + if c.ServicePeer != nil && cfg.ServicePeer == nil { + cfg.ServicePeer = make(map[string]BaseLimit) + } + for s, l := range c.ServicePeer { + if _, ok := cfg.ServicePeer[s]; !ok { + cfg.ServicePeer[s] = l + } + } + + for s, l := range cfg.Protocol { + r := cfg.ProtocolDefault + if l2, ok := c.Protocol[s]; ok { + r = l2 + } + l.Apply(r) + cfg.Protocol[s] = l + } + if c.Protocol != nil && cfg.Protocol == nil { + cfg.Protocol = make(map[protocol.ID]BaseLimit) + } + for s, l := range c.Protocol { + if _, ok := cfg.Protocol[s]; !ok { + cfg.Protocol[s] = l + } + } + + for s, l := range cfg.ProtocolPeer { + r := cfg.ProtocolPeerDefault + if l2, ok := c.ProtocolPeer[s]; ok { + r = l2 + } + l.Apply(r) + cfg.ProtocolPeer[s] = l + } + if c.ProtocolPeer != nil && cfg.ProtocolPeer == nil { + cfg.ProtocolPeer = make(map[protocol.ID]BaseLimit) + } + for s, l := range c.ProtocolPeer { + if _, ok := cfg.ProtocolPeer[s]; !ok { + cfg.ProtocolPeer[s] = l + } + } + + for s, l := range cfg.Peer { + r := cfg.PeerDefault + if l2, ok := c.Peer[s]; ok { + r = l2 + } + l.Apply(r) + cfg.Peer[s] = l + } + if c.Peer != nil && cfg.Peer == nil { + cfg.Peer = make(map[peer.ID]BaseLimit) + } + for s, l := range c.Peer { + if _, ok := cfg.Peer[s]; !ok { + cfg.Peer[s] = l + } + } +} + +// Scale scales up a limit configuration. +// memory is the amount of memory that the stack is allowed to consume, +// for a full it's recommended to use 1/8 of the installed system memory. +// If memory is smaller than 128 MB, the base configuration will be used. +// +func (cfg *ScalingLimitConfig) Scale(memory int64, numFD int) LimitConfig { + var scaleFactor int + if memory > 128<<20 { + scaleFactor = int((memory - 128<<20) >> 20) + } + lc := LimitConfig{ + System: scale(cfg.SystemBaseLimit, cfg.SystemLimitIncrease, scaleFactor, numFD), + Transient: scale(cfg.TransientBaseLimit, cfg.TransientLimitIncrease, scaleFactor, numFD), + AllowlistedSystem: scale(cfg.AllowlistedSystemBaseLimit, cfg.AllowlistedSystemLimitIncrease, scaleFactor, numFD), + AllowlistedTransient: scale(cfg.AllowlistedTransientBaseLimit, cfg.AllowlistedTransientLimitIncrease, scaleFactor, numFD), + ServiceDefault: scale(cfg.ServiceBaseLimit, cfg.ServiceLimitIncrease, scaleFactor, numFD), + ServicePeerDefault: scale(cfg.ServicePeerBaseLimit, cfg.ServicePeerLimitIncrease, scaleFactor, numFD), + ProtocolDefault: scale(cfg.ProtocolBaseLimit, cfg.ProtocolLimitIncrease, scaleFactor, numFD), + ProtocolPeerDefault: scale(cfg.ProtocolPeerBaseLimit, cfg.ProtocolPeerLimitIncrease, scaleFactor, numFD), + PeerDefault: scale(cfg.PeerBaseLimit, cfg.PeerLimitIncrease, scaleFactor, numFD), + Conn: scale(cfg.ConnBaseLimit, cfg.ConnLimitIncrease, scaleFactor, numFD), + Stream: scale(cfg.StreamBaseLimit, cfg.ConnLimitIncrease, scaleFactor, numFD), + } + if cfg.ServiceLimits != nil { + lc.Service = make(map[string]BaseLimit) + for svc, l := range cfg.ServiceLimits { + lc.Service[svc] = scale(l.BaseLimit, l.BaseLimitIncrease, scaleFactor, numFD) + } + } + if cfg.ProtocolLimits != nil { + lc.Protocol = make(map[protocol.ID]BaseLimit) + for proto, l := range cfg.ProtocolLimits { + lc.Protocol[proto] = scale(l.BaseLimit, l.BaseLimitIncrease, scaleFactor, numFD) + } + } + if cfg.PeerLimits != nil { + lc.Peer = make(map[peer.ID]BaseLimit) + for p, l := range cfg.PeerLimits { + lc.Peer[p] = scale(l.BaseLimit, l.BaseLimitIncrease, scaleFactor, numFD) + } + } + if cfg.ServicePeerLimits != nil { + lc.ServicePeer = make(map[string]BaseLimit) + for svc, l := range cfg.ServicePeerLimits { + lc.ServicePeer[svc] = scale(l.BaseLimit, l.BaseLimitIncrease, scaleFactor, numFD) + } + } + if cfg.ProtocolPeerLimits != nil { + lc.ProtocolPeer = make(map[protocol.ID]BaseLimit) + for p, l := range cfg.ProtocolPeerLimits { + lc.ProtocolPeer[p] = scale(l.BaseLimit, l.BaseLimitIncrease, scaleFactor, numFD) + } + } + return lc +} + +func (cfg *ScalingLimitConfig) AutoScale() LimitConfig { + return cfg.Scale( + int64(memory.TotalMemory())/8, + getNumFDs()/2, + ) +} + +// factor is the number of MBs above the minimum (128 MB) +func scale(base BaseLimit, inc BaseLimitIncrease, factor int, numFD int) BaseLimit { + l := BaseLimit{ + StreamsInbound: base.StreamsInbound + (inc.StreamsInbound*factor)>>10, + StreamsOutbound: base.StreamsOutbound + (inc.StreamsOutbound*factor)>>10, + Streams: base.Streams + (inc.Streams*factor)>>10, + ConnsInbound: base.ConnsInbound + (inc.ConnsInbound*factor)>>10, + ConnsOutbound: base.ConnsOutbound + (inc.ConnsOutbound*factor)>>10, + Conns: base.Conns + (inc.Conns*factor)>>10, + Memory: base.Memory + (inc.Memory*int64(factor))>>10, + FD: base.FD, + } + if inc.FDFraction > 0 && numFD > 0 { + l.FD = int(inc.FDFraction * float64(numFD)) + } + return l } // DefaultLimits are the limits used by the default limiter constructors. -var DefaultLimits = DefaultLimitConfig{ +var DefaultLimits = ScalingLimitConfig{ SystemBaseLimit: BaseLimit{ - StreamsInbound: 4096, - StreamsOutbound: 16384, - Streams: 16384, - ConnsInbound: 256, - ConnsOutbound: 1024, - Conns: 1024, - FD: 512, + ConnsInbound: 64, + ConnsOutbound: 128, + Conns: 128, + StreamsInbound: 64 * 16, + StreamsOutbound: 128 * 16, + Streams: 128 * 16, + Memory: 128 << 20, + FD: 256, }, - SystemMemory: MemoryLimit{ - MemoryFraction: 0.125, - MinMemory: 128 << 20, - MaxMemory: 1 << 30, + SystemLimitIncrease: BaseLimitIncrease{ + ConnsInbound: 64, + ConnsOutbound: 128, + Conns: 128, + StreamsInbound: 64 * 16, + StreamsOutbound: 128 * 16, + Streams: 128 * 16, + Memory: 1 << 30, + FDFraction: 1, }, TransientBaseLimit: BaseLimit{ - StreamsInbound: 128, - StreamsOutbound: 512, - Streams: 512, ConnsInbound: 32, - ConnsOutbound: 128, - Conns: 128, - FD: 128, + ConnsOutbound: 64, + Conns: 64, + StreamsInbound: 128, + StreamsOutbound: 256, + Streams: 256, + Memory: 32 << 20, + FD: 64, }, - TransientMemory: MemoryLimit{ - MemoryFraction: 1, - MinMemory: 64 << 20, - MaxMemory: 64 << 20, + TransientLimitIncrease: BaseLimitIncrease{ + ConnsInbound: 16, + ConnsOutbound: 32, + Conns: 32, + StreamsInbound: 128, + StreamsOutbound: 256, + Streams: 256, + Memory: 128 << 20, + FDFraction: 0.25, + }, + + // Setting the allowlisted limits to be the same as the normal limits. The + // allowlist only activates when you reach your normal system/transient + // limits. So it's okay if these limits err on the side of being too big, + // since most of the time you won't even use any of these. Tune these down + // if you want to manage your resources against an allowlisted endpoint. + AllowlistedSystemBaseLimit: BaseLimit{ + ConnsInbound: 64, + ConnsOutbound: 128, + Conns: 128, + StreamsInbound: 64 * 16, + StreamsOutbound: 128 * 16, + Streams: 128 * 16, + Memory: 128 << 20, + FD: 256, + }, + + AllowlistedSystemLimitIncrease: BaseLimitIncrease{ + ConnsInbound: 64, + ConnsOutbound: 128, + Conns: 128, + StreamsInbound: 64 * 16, + StreamsOutbound: 128 * 16, + Streams: 128 * 16, + Memory: 1 << 30, + FDFraction: 1, + }, + + AllowlistedTransientBaseLimit: BaseLimit{ + ConnsInbound: 32, + ConnsOutbound: 64, + Conns: 64, + StreamsInbound: 128, + StreamsOutbound: 256, + Streams: 256, + Memory: 32 << 20, + FD: 64, + }, + + AllowlistedTransientLimitIncrease: BaseLimitIncrease{ + ConnsInbound: 16, + ConnsOutbound: 32, + Conns: 32, + StreamsInbound: 128, + StreamsOutbound: 256, + Streams: 256, + Memory: 128 << 20, + FDFraction: 0.25, }, ServiceBaseLimit: BaseLimit{ - StreamsInbound: 2048, - StreamsOutbound: 8192, - Streams: 8192, - }, - - ServiceMemory: MemoryLimit{ - MemoryFraction: 0.125 / 4, - MinMemory: 64 << 20, - MaxMemory: 256 << 20, - }, - - ServicePeerBaseLimit: BaseLimit{ - StreamsInbound: 256, - StreamsOutbound: 512, - Streams: 512, - }, - - ServicePeerMemory: MemoryLimit{ - MemoryFraction: 0.125 / 16, - MinMemory: 16 << 20, - MaxMemory: 64 << 20, - }, - - ProtocolBaseLimit: BaseLimit{ StreamsInbound: 1024, StreamsOutbound: 4096, Streams: 4096, + Memory: 64 << 20, }, - ProtocolMemory: MemoryLimit{ - MemoryFraction: 0.125 / 8, - MinMemory: 64 << 20, - MaxMemory: 128 << 20, + ServiceLimitIncrease: BaseLimitIncrease{ + StreamsInbound: 512, + StreamsOutbound: 2048, + Streams: 2048, + Memory: 128 << 20, + }, + + ServicePeerBaseLimit: BaseLimit{ + StreamsInbound: 128, + StreamsOutbound: 256, + Streams: 256, + Memory: 16 << 20, + }, + + ServicePeerLimitIncrease: BaseLimitIncrease{ + StreamsInbound: 4, + StreamsOutbound: 8, + Streams: 8, + Memory: 4 << 20, + }, + + ProtocolBaseLimit: BaseLimit{ + StreamsInbound: 512, + StreamsOutbound: 2048, + Streams: 2048, + Memory: 64 << 20, + }, + + ProtocolLimitIncrease: BaseLimitIncrease{ + StreamsInbound: 256, + StreamsOutbound: 512, + Streams: 512, + Memory: 164 << 20, }, ProtocolPeerBaseLimit: BaseLimit{ - StreamsInbound: 128, - StreamsOutbound: 256, - Streams: 512, + StreamsInbound: 64, + StreamsOutbound: 128, + Streams: 256, + Memory: 16 << 20, }, - ProtocolPeerMemory: MemoryLimit{ - MemoryFraction: 0.125 / 16, - MinMemory: 16 << 20, - MaxMemory: 64 << 20, + ProtocolPeerLimitIncrease: BaseLimitIncrease{ + StreamsInbound: 4, + StreamsOutbound: 8, + Streams: 16, + Memory: 4, }, PeerBaseLimit: BaseLimit{ - StreamsInbound: 512, - StreamsOutbound: 1024, - Streams: 1024, - ConnsInbound: 8, - ConnsOutbound: 16, - Conns: 16, - FD: 8, + ConnsInbound: 4, + ConnsOutbound: 8, + Conns: 8, + StreamsInbound: 256, + StreamsOutbound: 512, + Streams: 512, + Memory: 64 << 20, + FD: 4, }, - PeerMemory: MemoryLimit{ - MemoryFraction: 0.125 / 16, - MinMemory: 64 << 20, - MaxMemory: 128 << 20, + PeerLimitIncrease: BaseLimitIncrease{ + StreamsInbound: 128, + StreamsOutbound: 256, + Streams: 256, + Memory: 128 << 20, + FDFraction: 1.0 / 64, }, ConnBaseLimit: BaseLimit{ @@ -148,15 +509,40 @@ var DefaultLimits = DefaultLimitConfig{ ConnsOutbound: 1, Conns: 1, FD: 1, + Memory: 1 << 20, }, - ConnMemory: 1 << 20, - StreamBaseLimit: BaseLimit{ StreamsInbound: 1, StreamsOutbound: 1, Streams: 1, + Memory: 16 << 20, }, - - StreamMemory: 16 << 20, +} + +var infiniteBaseLimit = BaseLimit{ + Streams: math.MaxInt, + StreamsInbound: math.MaxInt, + StreamsOutbound: math.MaxInt, + Conns: math.MaxInt, + ConnsInbound: math.MaxInt, + ConnsOutbound: math.MaxInt, + FD: math.MaxInt, + Memory: math.MaxInt64, +} + +// InfiniteLimits are a limiter configuration that uses infinite limits, thus effectively not limiting anything. +// Keep in mind that the operating system limits the number of file descriptors that an application can use. +var InfiniteLimits = LimitConfig{ + System: infiniteBaseLimit, + Transient: infiniteBaseLimit, + AllowlistedSystem: infiniteBaseLimit, + AllowlistedTransient: infiniteBaseLimit, + ServiceDefault: infiniteBaseLimit, + ServicePeerDefault: infiniteBaseLimit, + ProtocolDefault: infiniteBaseLimit, + ProtocolPeerDefault: infiniteBaseLimit, + PeerDefault: infiniteBaseLimit, + Conn: infiniteBaseLimit, + Stream: infiniteBaseLimit, } diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_dynamic.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_dynamic.go deleted file mode 100644 index e80449295..000000000 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_dynamic.go +++ /dev/null @@ -1,128 +0,0 @@ -package rcmgr - -import ( - "runtime" - - "github.com/pbnjay/memory" -) - -// DynamicLimit is a limit with dynamic memory values, based on available (free) memory -type DynamicLimit struct { - BaseLimit - MemoryLimit -} - -var _ Limit = (*DynamicLimit)(nil) - -func (l *DynamicLimit) GetMemoryLimit() int64 { - freemem := memory.FreeMemory() - - // account for memory retained by the runtime that is actually free - // HeapInuse - HeapAlloc is the memory available in allocator spans - // HeapIdle - HeapReleased is memory held by the runtime that could be returned to the OS - var memstat runtime.MemStats - runtime.ReadMemStats(&memstat) - - freemem += (memstat.HeapInuse - memstat.HeapAlloc) + (memstat.HeapIdle - memstat.HeapReleased) - return l.MemoryLimit.GetMemory(int64(freemem)) -} - -func (l *DynamicLimit) WithMemoryLimit(memFraction float64, minMemory, maxMemory int64) Limit { - r := new(DynamicLimit) - *r = *l - - r.MemoryLimit.MemoryFraction *= memFraction - r.MemoryLimit.MinMemory = minMemory - r.MemoryLimit.MaxMemory = maxMemory - - return r -} - -func (l *DynamicLimit) WithStreamLimit(numStreamsIn, numStreamsOut, numStreams int) Limit { - r := new(DynamicLimit) - *r = *l - - r.BaseLimit.StreamsInbound = numStreamsIn - r.BaseLimit.StreamsOutbound = numStreamsOut - r.BaseLimit.Streams = numStreams - - return r -} - -func (l *DynamicLimit) WithConnLimit(numConnsIn, numConnsOut, numConns int) Limit { - r := new(DynamicLimit) - *r = *l - - r.BaseLimit.ConnsInbound = numConnsIn - r.BaseLimit.ConnsOutbound = numConnsOut - r.BaseLimit.Conns = numConns - - return r -} - -func (l *DynamicLimit) WithFDLimit(numFD int) Limit { - r := new(DynamicLimit) - *r = *l - - r.BaseLimit.FD = numFD - - return r -} - -// NewDefaultDynamicLimiter creates a limiter with default limits and a memory cap -// dynamically computed based on available memory. -func NewDefaultDynamicLimiter(memFraction float64, minMemory, maxMemory int64) *BasicLimiter { - return NewDynamicLimiter(DefaultLimits.WithSystemMemory(memFraction, minMemory, maxMemory)) -} - -// NewDynamicLimiter crates a dynamic limiter with the specified defaults -func NewDynamicLimiter(cfg DefaultLimitConfig) *BasicLimiter { - system := &DynamicLimit{ - MemoryLimit: cfg.SystemMemory, - BaseLimit: cfg.SystemBaseLimit, - } - transient := &DynamicLimit{ - MemoryLimit: cfg.TransientMemory, - BaseLimit: cfg.TransientBaseLimit, - } - svc := &DynamicLimit{ - MemoryLimit: cfg.ServiceMemory, - BaseLimit: cfg.ServiceBaseLimit, - } - svcPeer := &DynamicLimit{ - MemoryLimit: cfg.ServicePeerMemory, - BaseLimit: cfg.ServicePeerBaseLimit, - } - proto := &DynamicLimit{ - MemoryLimit: cfg.ProtocolMemory, - BaseLimit: cfg.ProtocolBaseLimit, - } - protoPeer := &DynamicLimit{ - MemoryLimit: cfg.ProtocolPeerMemory, - BaseLimit: cfg.ProtocolPeerBaseLimit, - } - peer := &DynamicLimit{ - MemoryLimit: cfg.PeerMemory, - BaseLimit: cfg.PeerBaseLimit, - } - conn := &StaticLimit{ - Memory: cfg.ConnMemory, - BaseLimit: cfg.ConnBaseLimit, - } - stream := &StaticLimit{ - Memory: cfg.StreamMemory, - BaseLimit: cfg.StreamBaseLimit, - } - - return &BasicLimiter{ - SystemLimits: system, - TransientLimits: transient, - DefaultServiceLimits: svc, - DefaultServicePeerLimits: svcPeer, - DefaultProtocolLimits: proto, - DefaultProtocolPeerLimits: protoPeer, - DefaultPeerLimits: peer, - ConnLimits: conn, - StreamLimits: stream, - } -} diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_static.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_static.go deleted file mode 100644 index e96884acf..000000000 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/limit_static.go +++ /dev/null @@ -1,138 +0,0 @@ -package rcmgr - -import ( - "github.com/pbnjay/memory" -) - -// StaticLimit is a limit with static values. -type StaticLimit struct { - BaseLimit - Memory int64 -} - -var _ Limit = (*StaticLimit)(nil) - -func (l *StaticLimit) GetMemoryLimit() int64 { - return l.Memory -} - -func (l *StaticLimit) WithMemoryLimit(memFraction float64, minMemory, maxMemory int64) Limit { - r := new(StaticLimit) - *r = *l - - r.Memory = int64(memFraction * float64(r.Memory)) - if r.Memory < minMemory { - r.Memory = minMemory - } else if r.Memory > maxMemory { - r.Memory = maxMemory - } - - return r -} - -func (l *StaticLimit) WithStreamLimit(numStreamsIn, numStreamsOut, numStreams int) Limit { - r := new(StaticLimit) - *r = *l - - r.BaseLimit.StreamsInbound = numStreamsIn - r.BaseLimit.StreamsOutbound = numStreamsOut - r.BaseLimit.Streams = numStreams - - return r -} - -func (l *StaticLimit) WithConnLimit(numConnsIn, numConnsOut, numConns int) Limit { - r := new(StaticLimit) - *r = *l - - r.BaseLimit.ConnsInbound = numConnsIn - r.BaseLimit.ConnsOutbound = numConnsOut - r.BaseLimit.Conns = numConns - - return r -} - -func (l *StaticLimit) WithFDLimit(numFD int) Limit { - r := new(StaticLimit) - *r = *l - - r.BaseLimit.FD = numFD - - return r -} - -// NewDefaultStaticLimiter creates a static limiter with default base limits and a system memory cap -// specified as a fraction of total system memory. The assigned memory will not be less than -// minMemory or more than maxMemory. -func NewDefaultStaticLimiter(memFraction float64, minMemory, maxMemory int64) *BasicLimiter { - return NewStaticLimiter(DefaultLimits.WithSystemMemory(memFraction, minMemory, maxMemory)) -} - -// NewDefaultFixedLimiter creates a static limiter with default base limits and a specified system -// memory cap. -func NewDefaultFixedLimiter(memoryCap int64) *BasicLimiter { - return NewStaticLimiter(DefaultLimits.WithSystemMemory(1, memoryCap, memoryCap)) -} - -// NewDefaultLimiter creates a static limiter with the default limits -func NewDefaultLimiter() *BasicLimiter { - return NewStaticLimiter(DefaultLimits) -} - -// NewStaticLimiter creates a static limiter using the specified system memory cap and default -// limit config. -func NewStaticLimiter(cfg DefaultLimitConfig) *BasicLimiter { - memoryCap := memoryLimit( - int64(memory.TotalMemory()), - cfg.SystemMemory.MemoryFraction, - cfg.SystemMemory.MinMemory, - cfg.SystemMemory.MaxMemory) - system := &StaticLimit{ - Memory: memoryCap, - BaseLimit: cfg.SystemBaseLimit, - } - transient := &StaticLimit{ - Memory: cfg.TransientMemory.GetMemory(memoryCap), - BaseLimit: cfg.TransientBaseLimit, - } - svc := &StaticLimit{ - Memory: cfg.ServiceMemory.GetMemory(memoryCap), - BaseLimit: cfg.ServiceBaseLimit, - } - svcPeer := &StaticLimit{ - Memory: cfg.ServicePeerMemory.GetMemory(memoryCap), - BaseLimit: cfg.ServicePeerBaseLimit, - } - proto := &StaticLimit{ - Memory: cfg.ProtocolMemory.GetMemory(memoryCap), - BaseLimit: cfg.ProtocolBaseLimit, - } - protoPeer := &StaticLimit{ - Memory: cfg.ProtocolPeerMemory.GetMemory(memoryCap), - BaseLimit: cfg.ProtocolPeerBaseLimit, - } - peer := &StaticLimit{ - Memory: cfg.PeerMemory.GetMemory(memoryCap), - BaseLimit: cfg.PeerBaseLimit, - } - conn := &StaticLimit{ - Memory: cfg.ConnMemory, - BaseLimit: cfg.ConnBaseLimit, - } - stream := &StaticLimit{ - Memory: cfg.StreamMemory, - BaseLimit: cfg.StreamBaseLimit, - } - - return &BasicLimiter{ - SystemLimits: system, - TransientLimits: transient, - DefaultServiceLimits: svc, - DefaultServicePeerLimits: svcPeer, - DefaultProtocolLimits: proto, - DefaultProtocolPeerLimits: protoPeer, - DefaultPeerLimits: peer, - ConnLimits: conn, - StreamLimits: stream, - } -} diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/metrics.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/metrics.go index 40918fc17..a875415a2 100644 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/metrics.go +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/metrics.go @@ -27,14 +27,14 @@ type MetricsReporter interface { AllowProtocol(proto protocol.ID) // BlockProtocol is invoked when setting the protocol for a stream is blocked BlockProtocol(proto protocol.ID) - // BlockedProtocolPeer is invoekd when setting the protocol for a stream is blocked at the per protocol peer scope + // BlockProtocolPeer is invoked when setting the protocol for a stream is blocked at the per protocol peer scope BlockProtocolPeer(proto protocol.ID, p peer.ID) - // AllowPService is invoked when setting the protocol for a stream is allowed + // AllowService is invoked when setting the protocol for a stream is allowed AllowService(svc string) - // BlockPService is invoked when setting the protocol for a stream is blocked + // BlockService is invoked when setting the protocol for a stream is blocked BlockService(svc string) - // BlockedServicePeer is invoked when setting the service for a stream is blocked at the per service peer scope + // BlockServicePeer is invoked when setting the service for a stream is blocked at the per service peer scope BlockServicePeer(svc string, p peer.ID) // AllowMemory is invoked when a memory reservation is allowed diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/rcmgr.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/rcmgr.go index bebae9ba7..b2cd18cc7 100644 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/rcmgr.go +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/rcmgr.go @@ -3,12 +3,14 @@ package rcmgr import ( "context" "fmt" + "strings" "sync" "time" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-core/protocol" + "github.com/multiformats/go-multiaddr" logging "github.com/ipfs/go-log/v2" ) @@ -21,9 +23,14 @@ type resourceManager struct { trace *trace metrics *metrics + allowlist *Allowlist + system *systemScope transient *transientScope + allowlistedSystem *systemScope + allowlistedTransient *transientScope + cancelCtx context.Context cancel func() wg sync.WaitGroup @@ -58,8 +65,8 @@ var _ network.ResourceScope = (*transientScope)(nil) type serviceScope struct { *resourceScope - name string - rcmgr *resourceManager + service string + rcmgr *resourceManager peers map[peer.ID]*resourceScope } @@ -89,10 +96,12 @@ var _ network.PeerScope = (*peerScope)(nil) type connectionScope struct { *resourceScope - dir network.Direction - usefd bool - rcmgr *resourceManager - peer *peerScope + dir network.Direction + usefd bool + isAllowlisted bool + rcmgr *resourceManager + peer *peerScope + endpoint multiaddr.Multiaddr } var _ network.ConnScope = (*connectionScope)(nil) @@ -117,11 +126,13 @@ var _ network.StreamManagementScope = (*streamScope)(nil) type Option func(*resourceManager) error func NewResourceManager(limits Limiter, opts ...Option) (network.ResourceManager, error) { + allowlist := newAllowlist() r := &resourceManager{ - limits: limits, - svc: make(map[string]*serviceScope), - proto: make(map[protocol.ID]*protocolScope), - peer: make(map[peer.ID]*peerScope), + limits: limits, + allowlist: &allowlist, + svc: make(map[string]*serviceScope), + proto: make(map[protocol.ID]*protocolScope), + peer: make(map[peer.ID]*peerScope), } for _, opt := range opts { @@ -134,11 +145,16 @@ func NewResourceManager(limits Limiter, opts ...Option) (network.ResourceManager return nil, err } - r.system = newSystemScope(limits.GetSystemLimits(), r) + r.system = newSystemScope(limits.GetSystemLimits(), r, "system") r.system.IncRef() - r.transient = newTransientScope(limits.GetTransientLimits(), r) + r.transient = newTransientScope(limits.GetTransientLimits(), r, "transient", r.system.resourceScope) r.transient.IncRef() + r.allowlistedSystem = newSystemScope(limits.GetAllowlistedSystemLimits(), r, "allowlistedSystem") + r.allowlistedSystem.IncRef() + r.allowlistedTransient = newTransientScope(limits.GetAllowlistedTransientLimits(), r, "allowlistedTransient", r.allowlistedSystem.resourceScope) + r.allowlistedTransient.IncRef() + r.cancelCtx, r.cancel = context.WithCancel(context.Background()) r.wg.Add(1) @@ -147,6 +163,22 @@ func NewResourceManager(limits Limiter, opts ...Option) (network.ResourceManager return r, nil } +func (r *resourceManager) GetAllowlist() *Allowlist { + return r.allowlist +} + +// GetAllowlist tries to get the allowlist from the given resourcemanager +// interface by checking to see if its concrete type is a resourceManager. +// Returns nil if it fails to get the allowlist. +func GetAllowlist(rcmgr network.ResourceManager) *Allowlist { + r, ok := rcmgr.(*resourceManager) + if !ok { + return nil + } + + return r.allowlist +} + func (r *resourceManager) ViewSystem(f func(network.ResourceScope) error) error { return f(r.system) } @@ -255,10 +287,23 @@ func (r *resourceManager) nextStreamId() int64 { return r.streamId } -func (r *resourceManager) OpenConnection(dir network.Direction, usefd bool) (network.ConnManagementScope, error) { - conn := newConnectionScope(dir, usefd, r.limits.GetConnLimits(), r) +func (r *resourceManager) OpenConnection(dir network.Direction, usefd bool, endpoint multiaddr.Multiaddr) (network.ConnManagementScope, error) { + var conn *connectionScope + conn = newConnectionScope(dir, usefd, r.limits.GetConnLimits(), r, endpoint) - if err := conn.AddConn(dir, usefd); err != nil { + err := conn.AddConn(dir, usefd) + if err != nil { + // Try again if this is an allowlisted connection + // Failed to open connection, let's see if this was allowlisted and try again + allowed := r.allowlist.Allowed(endpoint) + if allowed { + conn.Done() + conn = newAllowListedConnectionScope(dir, usefd, r.limits.GetConnLimits(), r, endpoint) + err = conn.AddConn(dir, usefd) + } + } + + if err != nil { conn.Done() r.metrics.BlockConn(dir, usefd) return nil, err @@ -363,28 +408,28 @@ func (r *resourceManager) gc() { } } -func newSystemScope(limit Limit, rcmgr *resourceManager) *systemScope { +func newSystemScope(limit Limit, rcmgr *resourceManager, name string) *systemScope { return &systemScope{ - resourceScope: newResourceScope(limit, nil, "system", rcmgr.trace, rcmgr.metrics), + resourceScope: newResourceScope(limit, nil, name, rcmgr.trace, rcmgr.metrics), } } -func newTransientScope(limit Limit, rcmgr *resourceManager) *transientScope { +func newTransientScope(limit Limit, rcmgr *resourceManager, name string, systemScope *resourceScope) *transientScope { return &transientScope{ resourceScope: newResourceScope(limit, - []*resourceScope{rcmgr.system.resourceScope}, - "transient", rcmgr.trace, rcmgr.metrics), + []*resourceScope{systemScope}, + name, rcmgr.trace, rcmgr.metrics), system: rcmgr.system, } } -func newServiceScope(name string, limit Limit, rcmgr *resourceManager) *serviceScope { +func newServiceScope(service string, limit Limit, rcmgr *resourceManager) *serviceScope { return &serviceScope{ resourceScope: newResourceScope(limit, []*resourceScope{rcmgr.system.resourceScope}, - fmt.Sprintf("service:%s", name), rcmgr.trace, rcmgr.metrics), - name: name, - rcmgr: rcmgr, + fmt.Sprintf("service:%s", service), rcmgr.trace, rcmgr.metrics), + service: service, + rcmgr: rcmgr, } } @@ -402,20 +447,34 @@ func newPeerScope(p peer.ID, limit Limit, rcmgr *resourceManager) *peerScope { return &peerScope{ resourceScope: newResourceScope(limit, []*resourceScope{rcmgr.system.resourceScope}, - fmt.Sprintf("peer:%s", p), rcmgr.trace, rcmgr.metrics), + peerScopeName(p), rcmgr.trace, rcmgr.metrics), peer: p, rcmgr: rcmgr, } } -func newConnectionScope(dir network.Direction, usefd bool, limit Limit, rcmgr *resourceManager) *connectionScope { +func newConnectionScope(dir network.Direction, usefd bool, limit Limit, rcmgr *resourceManager, endpoint multiaddr.Multiaddr) *connectionScope { return &connectionScope{ resourceScope: newResourceScope(limit, []*resourceScope{rcmgr.transient.resourceScope, rcmgr.system.resourceScope}, - fmt.Sprintf("conn-%d", rcmgr.nextConnId()), rcmgr.trace, rcmgr.metrics), - dir: dir, - usefd: usefd, - rcmgr: rcmgr, + connScopeName(rcmgr.nextConnId()), rcmgr.trace, rcmgr.metrics), + dir: dir, + usefd: usefd, + rcmgr: rcmgr, + endpoint: endpoint, + } +} + +func newAllowListedConnectionScope(dir network.Direction, usefd bool, limit Limit, rcmgr *resourceManager, endpoint multiaddr.Multiaddr) *connectionScope { + return &connectionScope{ + resourceScope: newResourceScope(limit, + []*resourceScope{rcmgr.allowlistedTransient.resourceScope, rcmgr.allowlistedSystem.resourceScope}, + connScopeName(rcmgr.nextConnId()), rcmgr.trace, rcmgr.metrics), + dir: dir, + usefd: usefd, + rcmgr: rcmgr, + endpoint: endpoint, + isAllowlisted: true, } } @@ -423,15 +482,95 @@ func newStreamScope(dir network.Direction, limit Limit, peer *peerScope, rcmgr * return &streamScope{ resourceScope: newResourceScope(limit, []*resourceScope{peer.resourceScope, rcmgr.transient.resourceScope, rcmgr.system.resourceScope}, - fmt.Sprintf("stream-%d", rcmgr.nextStreamId()), rcmgr.trace, rcmgr.metrics), + streamScopeName(rcmgr.nextStreamId()), rcmgr.trace, rcmgr.metrics), dir: dir, rcmgr: peer.rcmgr, peer: peer, } } +func IsSystemScope(name string) bool { + return name == "system" +} + +func IsTransientScope(name string) bool { + return name == "transient" +} + +func streamScopeName(streamId int64) string { + return fmt.Sprintf("stream-%d", streamId) +} + +func IsStreamScope(name string) bool { + return strings.HasPrefix(name, "stream-") && !IsSpan(name) +} + +func connScopeName(streamId int64) string { + return fmt.Sprintf("conn-%d", streamId) +} + +func IsConnScope(name string) bool { + return strings.HasPrefix(name, "conn-") && !IsSpan(name) +} + +func peerScopeName(p peer.ID) string { + return fmt.Sprintf("peer:%s", p) +} + +// ParsePeerScopeName returns "" if name is not a peerScopeName +func ParsePeerScopeName(name string) peer.ID { + if !strings.HasPrefix(name, "peer:") || IsSpan(name) { + return "" + } + parts := strings.SplitN(name, "peer:", 2) + if len(parts) != 2 { + return "" + } + p, err := peer.Decode(parts[1]) + if err != nil { + return "" + } + return p +} + +// ParseServiceScopeName returns the service name if name is a serviceScopeName. +// Otherwise returns "" +func ParseServiceScopeName(name string) string { + if strings.HasPrefix(name, "service:") && !IsSpan(name) { + if strings.Contains(name, "peer:") { + // This is a service peer scope + return "" + } + parts := strings.SplitN(name, ":", 2) + if len(parts) != 2 { + return "" + } + + return parts[1] + } + return "" +} + +// ParseProtocolScopeName returns the service name if name is a serviceScopeName. +// Otherwise returns "" +func ParseProtocolScopeName(name string) string { + if strings.HasPrefix(name, "protocol:") && !IsSpan(name) { + if strings.Contains(name, "peer:") { + // This is a protocol peer scope + return "" + } + parts := strings.SplitN(name, ":", 2) + if len(parts) != 2 { + return ("") + } + + return parts[1] + } + return "" +} + func (s *serviceScope) Name() string { - return s.name + return s.service } func (s *serviceScope) getPeerScope(p peer.ID) *resourceScope { @@ -444,7 +583,7 @@ func (s *serviceScope) getPeerScope(p peer.ID) *resourceScope { return ps } - l := s.rcmgr.limits.GetServicePeerLimits(s.name) + l := s.rcmgr.limits.GetServicePeerLimits(s.service) if s.peers == nil { s.peers = make(map[peer.ID]*resourceScope) @@ -500,6 +639,49 @@ func (s *connectionScope) PeerScope() network.PeerScope { return s.peer } +// transferAllowedToStandard transfers this connection scope from being part of +// the allowlist set of scopes to being part of the standard set of scopes. +// Happens when we first allowlisted this connection due to its IP, but later +// discovered that the peer id not what we expected. +func (s *connectionScope) transferAllowedToStandard() (err error) { + + systemScope := s.rcmgr.system.resourceScope + transientScope := s.rcmgr.transient.resourceScope + + stat := s.resourceScope.rc.stat() + + for _, scope := range s.edges { + scope.ReleaseForChild(stat) + scope.DecRef() // removed from edges + } + s.edges = nil + + if err := systemScope.ReserveForChild(stat); err != nil { + return err + } + systemScope.IncRef() + + // Undo this if we fail later + defer func() { + if err != nil { + systemScope.ReleaseForChild(stat) + systemScope.DecRef() + } + }() + + if err := transientScope.ReserveForChild(stat); err != nil { + return err + } + transientScope.IncRef() + + // Update edges + s.edges = []*resourceScope{ + systemScope, + transientScope, + } + return nil +} + func (s *connectionScope) SetPeer(p peer.ID) error { s.Lock() defer s.Unlock() @@ -507,6 +689,34 @@ func (s *connectionScope) SetPeer(p peer.ID) error { if s.peer != nil { return fmt.Errorf("connection scope already attached to a peer") } + + system := s.rcmgr.system + transient := s.rcmgr.transient + + if s.isAllowlisted { + system = s.rcmgr.allowlistedSystem + transient = s.rcmgr.allowlistedTransient + + if !s.rcmgr.allowlist.AllowedPeerAndMultiaddr(p, s.endpoint) { + s.isAllowlisted = false + + // This is not an allowed peer + multiaddr combination. We need to + // transfer this connection to the general scope. We'll do this first by + // transferring the connection to the system and transient scopes, then + // continue on with this function. The idea is that a connection + // shouldn't get the benefit of evading the transient scope because it + // was _almost_ an allowlisted connection. + if err := s.transferAllowedToStandard(); err != nil { + // Failed to transfer this connection to the standard scopes + return err + } + + // set the system and transient scopes to the non-allowlisted ones + system = s.rcmgr.system + transient = s.rcmgr.transient + } + } + s.peer = s.rcmgr.getPeerScope(p) // juggle resources from transient scope to peer scope @@ -518,13 +728,13 @@ func (s *connectionScope) SetPeer(p peer.ID) error { return err } - s.rcmgr.transient.ReleaseForChild(stat) - s.rcmgr.transient.DecRef() // removed from edges + transient.ReleaseForChild(stat) + transient.DecRef() // removed from edges // update edges edges := []*resourceScope{ s.peer.resourceScope, - s.rcmgr.system.resourceScope, + system.resourceScope, } s.resourceScope.edges = edges diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/scope.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/scope.go index 06fedcb57..219052724 100644 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/scope.go +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/scope.go @@ -2,6 +2,7 @@ package rcmgr import ( "fmt" + "strings" "sync" "github.com/libp2p/go-libp2p-core/network" @@ -32,6 +33,8 @@ type resourceScope struct { done bool refCnt int + spanID int + rc resources owner *resourceScope // set in span scopes, which define trees edges []*resourceScope // set in DAG scopes, it's the linearized parent set @@ -59,11 +62,11 @@ func newResourceScope(limit Limit, edges []*resourceScope, name string, trace *t return r } -func newResourceScopeSpan(owner *resourceScope) *resourceScope { +func newResourceScopeSpan(owner *resourceScope, id int) *resourceScope { r := &resourceScope{ rc: resources{limit: owner.rc.limit}, owner: owner, - name: fmt.Sprintf("%s.span", owner.name), + name: fmt.Sprintf("%s.span-%d", owner.name, id), trace: owner.trace, metrics: owner.metrics, } @@ -71,6 +74,11 @@ func newResourceScopeSpan(owner *resourceScope) *resourceScope { return r } +// IsSpan will return true if this name was created by newResourceScopeSpan +func IsSpan(name string) bool { + return strings.Contains(name, ".span-") +} + // Resources implementation func (rc *resources) checkMemory(rsvp int64, prio uint8) error { // overflow check; this also has the side effect that we cannot reserve negative memory. @@ -79,9 +87,14 @@ func (rc *resources) checkMemory(rsvp int64, prio uint8) error { threshold := (1 + int64(prio)) * limit / 256 if newmem > threshold { - return network.ErrResourceLimitExceeded + return &errMemoryLimitExceeded{ + current: rc.memory, + attempted: rsvp, + limit: limit, + priority: prio, + err: network.ErrResourceLimitExceeded, + } } - return nil } @@ -112,14 +125,36 @@ func (rc *resources) addStream(dir network.Direction) error { } func (rc *resources) addStreams(incount, outcount int) error { - if incount > 0 && rc.nstreamsIn+incount > rc.limit.GetStreamLimit(network.DirInbound) { - return fmt.Errorf("cannot reserve stream: %w", network.ErrResourceLimitExceeded) + if incount > 0 { + limit := rc.limit.GetStreamLimit(network.DirInbound) + if rc.nstreamsIn+incount > limit { + return &errStreamOrConnLimitExceeded{ + current: rc.nstreamsIn, + attempted: incount, + limit: limit, + err: fmt.Errorf("cannot reserve inbound stream: %w", network.ErrResourceLimitExceeded), + } + } } - if outcount > 0 && rc.nstreamsOut+outcount > rc.limit.GetStreamLimit(network.DirOutbound) { - return fmt.Errorf("cannot reserve stream: %w", network.ErrResourceLimitExceeded) + if outcount > 0 { + limit := rc.limit.GetStreamLimit(network.DirOutbound) + if rc.nstreamsOut+outcount > limit { + return &errStreamOrConnLimitExceeded{ + current: rc.nstreamsOut, + attempted: outcount, + limit: limit, + err: fmt.Errorf("cannot reserve outbound stream: %w", network.ErrResourceLimitExceeded), + } + } } - if rc.nstreamsIn+incount+rc.nstreamsOut+outcount > rc.limit.GetStreamTotalLimit() { - return fmt.Errorf("cannot reserve stream: %w", network.ErrResourceLimitExceeded) + + if limit := rc.limit.GetStreamTotalLimit(); rc.nstreamsIn+incount+rc.nstreamsOut+outcount > limit { + return &errStreamOrConnLimitExceeded{ + current: rc.nstreamsIn + rc.nstreamsOut, + attempted: incount + outcount, + limit: limit, + err: fmt.Errorf("cannot reserve stream: %w", network.ErrResourceLimitExceeded), + } } rc.nstreamsIn += incount @@ -163,17 +198,47 @@ func (rc *resources) addConn(dir network.Direction, usefd bool) error { } func (rc *resources) addConns(incount, outcount, fdcount int) error { - if incount > 0 && rc.nconnsIn+incount > rc.limit.GetConnLimit(network.DirInbound) { - return fmt.Errorf("cannot reserve connection: %w", network.ErrResourceLimitExceeded) + if incount > 0 { + limit := rc.limit.GetConnLimit(network.DirInbound) + if rc.nconnsIn+incount > limit { + return &errStreamOrConnLimitExceeded{ + current: rc.nconnsIn, + attempted: incount, + limit: limit, + err: fmt.Errorf("cannot reserve inbound connection: %w", network.ErrResourceLimitExceeded), + } + } } - if outcount > 0 && rc.nconnsOut+outcount > rc.limit.GetConnLimit(network.DirOutbound) { - return fmt.Errorf("cannot reserve connection: %w", network.ErrResourceLimitExceeded) + if outcount > 0 { + limit := rc.limit.GetConnLimit(network.DirOutbound) + if rc.nconnsOut+outcount > limit { + return &errStreamOrConnLimitExceeded{ + current: rc.nconnsOut, + attempted: outcount, + limit: limit, + err: fmt.Errorf("cannot reserve outbound connection: %w", network.ErrResourceLimitExceeded), + } + } } - if rc.nconnsIn+incount+rc.nconnsOut+outcount > rc.limit.GetConnTotalLimit() { - return fmt.Errorf("cannot reserve connection: %w", network.ErrResourceLimitExceeded) + + if connLimit := rc.limit.GetConnTotalLimit(); rc.nconnsIn+incount+rc.nconnsOut+outcount > connLimit { + return &errStreamOrConnLimitExceeded{ + current: rc.nconnsIn + rc.nconnsOut, + attempted: incount + outcount, + limit: connLimit, + err: fmt.Errorf("cannot reserve connection: %w", network.ErrResourceLimitExceeded), + } } - if fdcount > 0 && rc.nfd+fdcount > rc.limit.GetFDLimit() { - return fmt.Errorf("cannot reserve file descriptor: %w", network.ErrResourceLimitExceeded) + if fdcount > 0 { + limit := rc.limit.GetFDLimit() + if rc.nfd+fdcount > limit { + return &errStreamOrConnLimitExceeded{ + current: rc.nfd, + attempted: fdcount, + limit: limit, + err: fmt.Errorf("cannot reserve file descriptor: %w", network.ErrResourceLimitExceeded), + } + } } rc.nconnsIn += incount @@ -239,7 +304,7 @@ func (s *resourceScope) ReserveMemory(size int, prio uint8) error { } if err := s.rc.reserveMemory(int64(size), prio); err != nil { - log.Debugw("blocked memory reservation", "scope", s.name, "size", size, "priority", prio, "stat", s.rc.stat(), "error", err) + log.Debugw("blocked memory reservation", logValuesMemoryLimit(s.name, "", s.rc.stat(), err)...) s.trace.BlockReserveMemory(s.name, prio, int64(size), s.rc.memory) s.metrics.BlockMemory(size) return s.wrapError(err) @@ -264,8 +329,10 @@ func (s *resourceScope) reserveMemoryForEdges(size int, prio uint8) error { var reserved int var err error for _, e := range s.edges { - if err = e.ReserveMemoryForChild(int64(size), prio); err != nil { - log.Debugw("blocked memory reservation from constraining edge", "scope", s.name, "edge", e.name, "size", size, "priority", prio, "stat", e.Stat(), "error", err) + var stat network.ScopeStat + stat, err = e.ReserveMemoryForChild(int64(size), prio) + if err != nil { + log.Debugw("blocked memory reservation from constraining edge", logValuesMemoryLimit(s.name, e.name, stat, err)...) break } @@ -293,21 +360,21 @@ func (s *resourceScope) releaseMemoryForEdges(size int) { } } -func (s *resourceScope) ReserveMemoryForChild(size int64, prio uint8) error { +func (s *resourceScope) ReserveMemoryForChild(size int64, prio uint8) (network.ScopeStat, error) { s.Lock() defer s.Unlock() if s.done { - return s.wrapError(network.ErrResourceScopeClosed) + return s.rc.stat(), s.wrapError(network.ErrResourceScopeClosed) } if err := s.rc.reserveMemory(size, prio); err != nil { s.trace.BlockReserveMemory(s.name, prio, size, s.rc.memory) - return s.wrapError(err) + return s.rc.stat(), s.wrapError(err) } s.trace.ReserveMemory(s.name, prio, size, s.rc.memory) - return nil + return network.ScopeStat{}, nil } func (s *resourceScope) ReleaseMemory(size int) { @@ -344,7 +411,7 @@ func (s *resourceScope) AddStream(dir network.Direction) error { } if err := s.rc.addStream(dir); err != nil { - log.Debugw("blocked stream", "scope", s.name, "direction", dir, "stat", s.rc.stat(), "error", err) + log.Debugw("blocked stream", logValuesStreamLimit(s.name, "", dir, s.rc.stat(), err)...) s.trace.BlockAddStream(s.name, dir, s.rc.nstreamsIn, s.rc.nstreamsOut) return s.wrapError(err) } @@ -366,8 +433,10 @@ func (s *resourceScope) addStreamForEdges(dir network.Direction) error { var err error var reserved int for _, e := range s.edges { - if err = e.AddStreamForChild(dir); err != nil { - log.Debugw("blocked stream from constraining edge", "scope", s.name, "edge", e.name, "direction", dir, "stat", e.Stat(), "error", err) + var stat network.ScopeStat + stat, err = e.AddStreamForChild(dir) + if err != nil { + log.Debugw("blocked stream from constraining edge", logValuesStreamLimit(s.name, e.name, dir, stat, err)...) break } reserved++ @@ -382,21 +451,21 @@ func (s *resourceScope) addStreamForEdges(dir network.Direction) error { return err } -func (s *resourceScope) AddStreamForChild(dir network.Direction) error { +func (s *resourceScope) AddStreamForChild(dir network.Direction) (network.ScopeStat, error) { s.Lock() defer s.Unlock() if s.done { - return s.wrapError(network.ErrResourceScopeClosed) + return s.rc.stat(), s.wrapError(network.ErrResourceScopeClosed) } if err := s.rc.addStream(dir); err != nil { s.trace.BlockAddStream(s.name, dir, s.rc.nstreamsIn, s.rc.nstreamsOut) - return s.wrapError(err) + return s.rc.stat(), s.wrapError(err) } s.trace.AddStream(s.name, dir, s.rc.nstreamsIn, s.rc.nstreamsOut) - return nil + return network.ScopeStat{}, nil } func (s *resourceScope) RemoveStream(dir network.Direction) { @@ -444,7 +513,7 @@ func (s *resourceScope) AddConn(dir network.Direction, usefd bool) error { } if err := s.rc.addConn(dir, usefd); err != nil { - log.Debugw("blocked connection", "scope", s.name, "direction", dir, "usefd", usefd, "stat", s.rc.stat(), "error", err) + log.Debugw("blocked connection", logValuesConnLimit(s.name, "", dir, usefd, s.rc.stat(), err)...) s.trace.BlockAddConn(s.name, dir, usefd, s.rc.nconnsIn, s.rc.nconnsOut, s.rc.nfd) return s.wrapError(err) } @@ -466,8 +535,10 @@ func (s *resourceScope) addConnForEdges(dir network.Direction, usefd bool) error var err error var reserved int for _, e := range s.edges { - if err = e.AddConnForChild(dir, usefd); err != nil { - log.Debugw("blocked connection from constraining edge", "scope", s.name, "edge", e.name, "direction", dir, "usefd", usefd, "stat", e.Stat(), "error", err) + var stat network.ScopeStat + stat, err = e.AddConnForChild(dir, usefd) + if err != nil { + log.Debugw("blocked connection from constraining edge", logValuesConnLimit(s.name, e.name, dir, usefd, stat, err)...) break } reserved++ @@ -482,21 +553,21 @@ func (s *resourceScope) addConnForEdges(dir network.Direction, usefd bool) error return err } -func (s *resourceScope) AddConnForChild(dir network.Direction, usefd bool) error { +func (s *resourceScope) AddConnForChild(dir network.Direction, usefd bool) (network.ScopeStat, error) { s.Lock() defer s.Unlock() if s.done { - return s.wrapError(network.ErrResourceScopeClosed) + return s.rc.stat(), s.wrapError(network.ErrResourceScopeClosed) } if err := s.rc.addConn(dir, usefd); err != nil { s.trace.BlockAddConn(s.name, dir, usefd, s.rc.nconnsIn, s.rc.nconnsOut, s.rc.nfd) - return s.wrapError(err) + return s.rc.stat(), s.wrapError(err) } s.trace.AddConn(s.name, dir, usefd, s.rc.nconnsIn, s.rc.nconnsOut, s.rc.nfd) - return nil + return network.ScopeStat{}, nil } func (s *resourceScope) RemoveConn(dir network.Direction, usefd bool) { @@ -610,6 +681,11 @@ func (s *resourceScope) ReleaseResources(st network.ScopeStat) { s.trace.RemoveConns(s.name, st.NumConnsInbound, st.NumConnsOutbound, st.NumFD, s.rc.nconnsIn, s.rc.nconnsOut, s.rc.nfd) } +func (s *resourceScope) nextSpanID() int { + s.spanID++ + return s.spanID +} + func (s *resourceScope) BeginSpan() (network.ResourceScopeSpan, error) { s.Lock() defer s.Unlock() @@ -619,7 +695,7 @@ func (s *resourceScope) BeginSpan() (network.ResourceScopeSpan, error) { } s.refCnt++ - return newResourceScopeSpan(s), nil + return newResourceScopeSpan(s, s.nextSpanID()), nil } func (s *resourceScope) Done() { diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/sys_not_unix.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/sys_not_unix.go new file mode 100644 index 000000000..d29b927ad --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/sys_not_unix.go @@ -0,0 +1,11 @@ +//go:build !linux && !darwin && !windows + +package rcmgr + +import "runtime" + +// TODO: figure out how to get the number of file descriptors on Windows and other systems +func getNumFDs() int { + log.Warnf("cannot determine number of file descriptors on %s", runtime.GOOS) + return 0 +} diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/sys_unix.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/sys_unix.go new file mode 100644 index 000000000..75d4f7f4f --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/sys_unix.go @@ -0,0 +1,17 @@ +//go:build linux || darwin +// +build linux darwin + +package rcmgr + +import ( + "golang.org/x/sys/unix" +) + +func getNumFDs() int { + var l unix.Rlimit + if err := unix.Getrlimit(unix.RLIMIT_NOFILE, &l); err != nil { + log.Errorw("failed to get fd limit", "error", err) + return 0 + } + return int(l.Cur) +} diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/sys_windows.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/sys_windows.go new file mode 100644 index 000000000..7387eb8a3 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/sys_windows.go @@ -0,0 +1,11 @@ +//go:build windows + +package rcmgr + +import ( + "math" +) + +func getNumFDs() int { + return math.MaxInt +} diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/trace.go b/vendor/github.com/libp2p/go-libp2p-resource-manager/trace.go index f0bebcd34..ae871a0a3 100644 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/trace.go +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/trace.go @@ -4,8 +4,10 @@ import ( "compress/gzip" "context" "encoding/json" + "fmt" "io" "os" + "strings" "sync" "time" @@ -17,39 +19,177 @@ type trace struct { ctx context.Context cancel func() - closed chan struct{} + wg sync.WaitGroup - mx sync.Mutex - done bool - pend []interface{} + mx sync.Mutex + done bool + pendingWrites []interface{} + reporters []TraceReporter +} + +type TraceReporter interface { + // ConsumeEvent consumes a trace event. This is called synchronously, + // implementations should process the event quickly. + ConsumeEvent(TraceEvt) } func WithTrace(path string) Option { return func(r *resourceManager) error { - r.trace = &trace{path: path} + if r.trace == nil { + r.trace = &trace{path: path} + } else { + r.trace.path = path + } return nil } } +func WithTraceReporter(reporter TraceReporter) Option { + return func(r *resourceManager) error { + if r.trace == nil { + r.trace = &trace{} + } + r.trace.reporters = append(r.trace.reporters, reporter) + return nil + } +} + +type TraceEvtTyp string + const ( - traceStartEvt = iota - traceCreateScopeEvt - traceDestroyScopeEvt - traceReserveMemoryEvt - traceBlockReserveMemoryEvt - traceReleaseMemoryEvt - traceAddStreamEvt - traceBlockAddStreamEvt - traceRemoveStreamEvt - traceAddConnEvt - traceBlockAddConnEvt - traceRemoveConnEvt + TraceStartEvt TraceEvtTyp = "start" + TraceCreateScopeEvt TraceEvtTyp = "create_scope" + TraceDestroyScopeEvt TraceEvtTyp = "destroy_scope" + TraceReserveMemoryEvt TraceEvtTyp = "reserve_memory" + TraceBlockReserveMemoryEvt TraceEvtTyp = "block_reserve_memory" + TraceReleaseMemoryEvt TraceEvtTyp = "release_memory" + TraceAddStreamEvt TraceEvtTyp = "add_stream" + TraceBlockAddStreamEvt TraceEvtTyp = "block_add_stream" + TraceRemoveStreamEvt TraceEvtTyp = "remove_stream" + TraceAddConnEvt TraceEvtTyp = "add_conn" + TraceBlockAddConnEvt TraceEvtTyp = "block_add_conn" + TraceRemoveConnEvt TraceEvtTyp = "remove_conn" ) -type traceEvt struct { - Type int +type scopeClass struct { + name string +} - Scope string `json:",omitempty"` +func (s scopeClass) MarshalJSON() ([]byte, error) { + name := s.name + var span string + if idx := strings.Index(name, "span:"); idx > -1 { + name = name[:idx-1] + span = name[idx+5:] + } + // System and Transient scope + if name == "system" || name == "transient" || name == "allowlistedSystem" || name == "allowlistedTransient" { + return json.Marshal(struct { + Class string + Span string `json:",omitempty"` + }{ + Class: name, + Span: span, + }) + } + // Connection scope + if strings.HasPrefix(name, "conn-") { + return json.Marshal(struct { + Class string + Conn string + Span string `json:",omitempty"` + }{ + Class: "conn", + Conn: name[5:], + Span: span, + }) + } + // Stream scope + if strings.HasPrefix(name, "stream-") { + return json.Marshal(struct { + Class string + Stream string + Span string `json:",omitempty"` + }{ + Class: "stream", + Stream: name[7:], + Span: span, + }) + } + // Peer scope + if strings.HasPrefix(name, "peer:") { + return json.Marshal(struct { + Class string + Peer string + Span string `json:",omitempty"` + }{ + Class: "peer", + Peer: name[5:], + Span: span, + }) + } + + if strings.HasPrefix(name, "service:") { + if idx := strings.Index(name, "peer:"); idx > 0 { // Peer-Service scope + return json.Marshal(struct { + Class string + Service string + Peer string + Span string `json:",omitempty"` + }{ + Class: "service-peer", + Service: name[8 : idx-1], + Peer: name[idx+5:], + Span: span, + }) + } else { // Service scope + return json.Marshal(struct { + Class string + Service string + Span string `json:",omitempty"` + }{ + Class: "service", + Service: name[8:], + Span: span, + }) + } + } + + if strings.HasPrefix(name, "protocol:") { + if idx := strings.Index(name, "peer:"); idx > -1 { // Peer-Protocol scope + return json.Marshal(struct { + Class string + Protocol string + Peer string + Span string `json:",omitempty"` + }{ + Class: "protocol-peer", + Protocol: name[9 : idx-1], + Peer: name[idx+5:], + Span: span, + }) + } else { // Protocol scope + return json.Marshal(struct { + Class string + Protocol string + Span string `json:",omitempty"` + }{ + Class: "protocol", + Protocol: name[9:], + Span: span, + }) + } + } + + return nil, fmt.Errorf("unrecognized scope: %s", name) +} + +type TraceEvt struct { + Time string + Type TraceEvtTyp + + Scope *scopeClass `json:",omitempty"` + Name string `json:",omitempty"` Limit interface{} `json:",omitempty"` @@ -70,19 +210,29 @@ type traceEvt struct { FD int `json:",omitempty"` } -func (t *trace) push(evt interface{}) { +func (t *trace) push(evt TraceEvt) { t.mx.Lock() defer t.mx.Unlock() if t.done { return } + evt.Time = time.Now().Format(time.RFC3339Nano) + if evt.Name != "" { + evt.Scope = &scopeClass{name: evt.Name} + } - t.pend = append(t.pend, evt) + for _, reporter := range t.reporters { + reporter.ConsumeEvent(evt) + } + + if t.path != "" { + t.pendingWrites = append(t.pendingWrites, evt) + } } -func (t *trace) background(out io.WriteCloser) { - defer close(t.closed) +func (t *trace) backgroundWriter(out io.WriteCloser) { + defer t.wg.Done() defer out.Close() gzOut := gzip.NewWriter(out) @@ -97,8 +247,8 @@ func (t *trace) background(out io.WriteCloser) { getEvents := func() { t.mx.Lock() - tmp := t.pend - t.pend = pend[:0] + tmp := t.pendingWrites + t.pendingWrites = pend[:0] pend = tmp t.mx.Unlock() } @@ -165,17 +315,19 @@ func (t *trace) Start(limits Limiter) error { } t.ctx, t.cancel = context.WithCancel(context.Background()) - t.closed = make(chan struct{}) - out, err := os.OpenFile(t.path, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0644) - if err != nil { - return nil + if t.path != "" { + out, err := os.OpenFile(t.path, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0644) + if err != nil { + return nil + } + + t.wg.Add(1) + go t.backgroundWriter(out) } - go t.background(out) - - t.push(traceEvt{ - Type: traceStartEvt, + t.push(TraceEvt{ + Type: TraceStartEvt, Limit: limits, }) @@ -198,7 +350,7 @@ func (t *trace) Close() error { t.done = true t.mx.Unlock() - <-t.closed + t.wg.Wait() return nil } @@ -207,9 +359,9 @@ func (t *trace) CreateScope(scope string, limit Limit) { return } - t.push(traceEvt{ - Type: traceCreateScopeEvt, - Scope: scope, + t.push(TraceEvt{ + Type: TraceCreateScopeEvt, + Name: scope, Limit: limit, }) } @@ -219,9 +371,9 @@ func (t *trace) DestroyScope(scope string) { return } - t.push(traceEvt{ - Type: traceDestroyScopeEvt, - Scope: scope, + t.push(TraceEvt{ + Type: TraceDestroyScopeEvt, + Name: scope, }) } @@ -230,9 +382,13 @@ func (t *trace) ReserveMemory(scope string, prio uint8, size, mem int64) { return } - t.push(traceEvt{ - Type: traceReserveMemoryEvt, - Scope: scope, + if size == 0 { + return + } + + t.push(TraceEvt{ + Type: TraceReserveMemoryEvt, + Name: scope, Priority: prio, Delta: size, Memory: mem, @@ -244,9 +400,13 @@ func (t *trace) BlockReserveMemory(scope string, prio uint8, size, mem int64) { return } - t.push(traceEvt{ - Type: traceBlockReserveMemoryEvt, - Scope: scope, + if size == 0 { + return + } + + t.push(TraceEvt{ + Type: TraceBlockReserveMemoryEvt, + Name: scope, Priority: prio, Delta: size, Memory: mem, @@ -258,9 +418,13 @@ func (t *trace) ReleaseMemory(scope string, size, mem int64) { return } - t.push(traceEvt{ - Type: traceReleaseMemoryEvt, - Scope: scope, + if size == 0 { + return + } + + t.push(TraceEvt{ + Type: TraceReleaseMemoryEvt, + Name: scope, Delta: -size, Memory: mem, }) @@ -278,9 +442,9 @@ func (t *trace) AddStream(scope string, dir network.Direction, nstreamsIn, nstre deltaOut = 1 } - t.push(traceEvt{ - Type: traceAddStreamEvt, - Scope: scope, + t.push(TraceEvt{ + Type: TraceAddStreamEvt, + Name: scope, DeltaIn: deltaIn, DeltaOut: deltaOut, StreamsIn: nstreamsIn, @@ -300,9 +464,9 @@ func (t *trace) BlockAddStream(scope string, dir network.Direction, nstreamsIn, deltaOut = 1 } - t.push(traceEvt{ - Type: traceBlockAddStreamEvt, - Scope: scope, + t.push(TraceEvt{ + Type: TraceBlockAddStreamEvt, + Name: scope, DeltaIn: deltaIn, DeltaOut: deltaOut, StreamsIn: nstreamsIn, @@ -322,9 +486,9 @@ func (t *trace) RemoveStream(scope string, dir network.Direction, nstreamsIn, ns deltaOut = -1 } - t.push(traceEvt{ - Type: traceRemoveStreamEvt, - Scope: scope, + t.push(TraceEvt{ + Type: TraceRemoveStreamEvt, + Name: scope, DeltaIn: deltaIn, DeltaOut: deltaOut, StreamsIn: nstreamsIn, @@ -337,9 +501,13 @@ func (t *trace) AddStreams(scope string, deltaIn, deltaOut, nstreamsIn, nstreams return } - t.push(traceEvt{ - Type: traceAddStreamEvt, - Scope: scope, + if deltaIn == 0 && deltaOut == 0 { + return + } + + t.push(TraceEvt{ + Type: TraceAddStreamEvt, + Name: scope, DeltaIn: deltaIn, DeltaOut: deltaOut, StreamsIn: nstreamsIn, @@ -352,9 +520,13 @@ func (t *trace) BlockAddStreams(scope string, deltaIn, deltaOut, nstreamsIn, nst return } - t.push(traceEvt{ - Type: traceBlockAddStreamEvt, - Scope: scope, + if deltaIn == 0 && deltaOut == 0 { + return + } + + t.push(TraceEvt{ + Type: TraceBlockAddStreamEvt, + Name: scope, DeltaIn: deltaIn, DeltaOut: deltaOut, StreamsIn: nstreamsIn, @@ -367,9 +539,13 @@ func (t *trace) RemoveStreams(scope string, deltaIn, deltaOut, nstreamsIn, nstre return } - t.push(traceEvt{ - Type: traceRemoveStreamEvt, - Scope: scope, + if deltaIn == 0 && deltaOut == 0 { + return + } + + t.push(TraceEvt{ + Type: TraceRemoveStreamEvt, + Name: scope, DeltaIn: -deltaIn, DeltaOut: -deltaOut, StreamsIn: nstreamsIn, @@ -392,9 +568,9 @@ func (t *trace) AddConn(scope string, dir network.Direction, usefd bool, nconnsI deltafd = 1 } - t.push(traceEvt{ - Type: traceAddConnEvt, - Scope: scope, + t.push(TraceEvt{ + Type: TraceAddConnEvt, + Name: scope, DeltaIn: deltaIn, DeltaOut: deltaOut, Delta: int64(deltafd), @@ -419,9 +595,9 @@ func (t *trace) BlockAddConn(scope string, dir network.Direction, usefd bool, nc deltafd = 1 } - t.push(traceEvt{ - Type: traceBlockAddConnEvt, - Scope: scope, + t.push(TraceEvt{ + Type: TraceBlockAddConnEvt, + Name: scope, DeltaIn: deltaIn, DeltaOut: deltaOut, Delta: int64(deltafd), @@ -446,9 +622,9 @@ func (t *trace) RemoveConn(scope string, dir network.Direction, usefd bool, ncon deltafd = -1 } - t.push(traceEvt{ - Type: traceRemoveConnEvt, - Scope: scope, + t.push(TraceEvt{ + Type: TraceRemoveConnEvt, + Name: scope, DeltaIn: deltaIn, DeltaOut: deltaOut, Delta: int64(deltafd), @@ -463,9 +639,13 @@ func (t *trace) AddConns(scope string, deltaIn, deltaOut, deltafd, nconnsIn, nco return } - t.push(traceEvt{ - Type: traceAddConnEvt, - Scope: scope, + if deltaIn == 0 && deltaOut == 0 && deltafd == 0 { + return + } + + t.push(TraceEvt{ + Type: TraceAddConnEvt, + Name: scope, DeltaIn: deltaIn, DeltaOut: deltaOut, Delta: int64(deltafd), @@ -480,9 +660,13 @@ func (t *trace) BlockAddConns(scope string, deltaIn, deltaOut, deltafd, nconnsIn return } - t.push(traceEvt{ - Type: traceBlockAddConnEvt, - Scope: scope, + if deltaIn == 0 && deltaOut == 0 && deltafd == 0 { + return + } + + t.push(TraceEvt{ + Type: TraceBlockAddConnEvt, + Name: scope, DeltaIn: deltaIn, DeltaOut: deltaOut, Delta: int64(deltafd), @@ -497,9 +681,13 @@ func (t *trace) RemoveConns(scope string, deltaIn, deltaOut, deltafd, nconnsIn, return } - t.push(traceEvt{ - Type: traceRemoveConnEvt, - Scope: scope, + if deltaIn == 0 && deltaOut == 0 && deltafd == 0 { + return + } + + t.push(TraceEvt{ + Type: TraceRemoveConnEvt, + Name: scope, DeltaIn: -deltaIn, DeltaOut: -deltaOut, Delta: -int64(deltafd), diff --git a/vendor/github.com/libp2p/go-libp2p-resource-manager/version.json b/vendor/github.com/libp2p/go-libp2p-resource-manager/version.json index 86a4a1ffc..4ab5086b7 100644 --- a/vendor/github.com/libp2p/go-libp2p-resource-manager/version.json +++ b/vendor/github.com/libp2p/go-libp2p-resource-manager/version.json @@ -1,3 +1,3 @@ { - "version": "v0.1.5" + "version": "v0.5.1" } diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/LICENSE b/vendor/github.com/libp2p/go-libp2p-swarm/LICENSE deleted file mode 100644 index 26100332b..000000000 --- a/vendor/github.com/libp2p/go-libp2p-swarm/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Jeromy Johnson - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/README.md b/vendor/github.com/libp2p/go-libp2p-swarm/README.md deleted file mode 100644 index f5ef79594..000000000 --- a/vendor/github.com/libp2p/go-libp2p-swarm/README.md +++ /dev/null @@ -1,75 +0,0 @@ -go-libp2p-swarm -================== - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![Go Reference](https://pkg.go.dev/badge/github.com/libp2p/go-libp2p-swarm)](https://pkg.go.dev/github.com/libp2p/go-libp2p-swarm) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![Code Coverage](https://img.shields.io/codecov/c/github/libp2p/go-libp2p-swarm/master.svg?style=flat-square)](https://codecov.io/gh/libp2p/go-libp2p-swarm) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) - -> The libp2p swarm manages groups of connections to peers, and handles incoming and outgoing streams. - -The libp2p swarm is the 'low level' interface for working with a given libp2p -network. It gives you more fine grained control over various aspects of the -system. Most applications don't need this level of access, so the `Swarm` is -generally wrapped in a `Host` abstraction that provides a more friendly -interface. See [the host interface](https://godoc.org/github.com/libp2p/go-libp2p-core/host#Host) -for more info on that. - -## Table of Contents - -- [Install](#install) -- [Contribute](#contribute) -- [License](#license) - -## Install - -```sh -go get github.com/libp2p/go-libp2p-swarm -``` - -## Usage - -### Creating a swarm - -To construct a swarm, you'll be calling `NewSwarm`. That function looks like this: -```go -swarm, err := NewSwarm(peerID, peerstore) -``` - -The first parameter of the swarm constructor is an identity in the form of a peer.ID. - -The second argument is a peerstore. This is essentially a database that the -swarm will use to store peer IDs, addresses, public keys, protocol preferences -and more. - -### Streams -The swarm is designed around using multiplexed streams to communicate with -other peers. When working with a swarm, you will want to set a function to -handle incoming streams from your peers: - -```go -swrm.SetStreamHandler(func(s network.Stream) { - defer s.Close() - fmt.Println("Got a stream from: ", s.SwarmConn().RemotePeer()) - fmt.Fprintln(s, "Hello Friend!") -}) -``` - -Tip: Always make sure to close streams when you're done with them. - - -## Contribute - -PRs are welcome! - -Small note: If editing the Readme, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification. - -## License - -MIT © Jeromy Johnson - ---- - -The last gx published version of this module was: 3.0.35: QmQVoMEL1CxrVusTSUdYsiJXVBnvSqNUpBsGybkwSfksEF diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/version.json b/vendor/github.com/libp2p/go-libp2p-swarm/version.json deleted file mode 100644 index 9186b8eee..000000000 --- a/vendor/github.com/libp2p/go-libp2p-swarm/version.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "v0.10.2" -} diff --git a/vendor/github.com/libp2p/go-libp2p-tls/README.md b/vendor/github.com/libp2p/go-libp2p-tls/README.md deleted file mode 100644 index 8d03e5058..000000000 --- a/vendor/github.com/libp2p/go-libp2p-tls/README.md +++ /dev/null @@ -1,44 +0,0 @@ -# go-libp2p-tls - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![GoDoc](https://godoc.org/github.com/libp2p/go-libp2p-tls?status.svg)](https://godoc.org/github.com/libp2p/go-libp2p-tls) -[![Linux Build Status](https://img.shields.io/travis/libp2p/go-libp2p-tls/master.svg?style=flat-square&label=linux+build)](https://travis-ci.org/libp2p/go-libp2p-tls) -[![Code Coverage](https://img.shields.io/codecov/c/github/libp2p/go-libp2p-tls/master.svg?style=flat-square)](https://codecov.io/gh/libp2p/go-libp2p-tls/) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) - -> go-libp2p's TLS encrypted transport - -Package `go-libp2p-tls` is a libp2p [conn security transport](https://godoc.org/github.com/libp2p/go-libp2p-core/sec). It uses TLS to setup the communication channel. - -## Install - -`go-libp2p-tls` is a standard Go module which can be installed with: - -```sh -go get github.com/libp2p/go-libp2p-tls -``` - -This repo is [gomod](https://github.com/golang/go/wiki/Modules)-compatible, and users of -go 1.11 and later with modules enabled will automatically pull the latest tagged release -by referencing this package. Upgrades to future releases can be managed using `go get`, -or by editing your `go.mod` file as [described by the gomod documentation](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies). - -## Contribute - -Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/go-libp2p-tls/issues)! - -This repository falls under the libp2p [Code of Conduct](https://github.com/libp2p/community/blob/master/code-of-conduct.md). - -### Want to hack on libp2p? - -[![](https://cdn.rawgit.com/libp2p/community/master/img/contribute.gif)](https://github.com/libp2p/community/blob/master/CONTRIBUTE.md) - -## License - -MIT - ---- - -The last gx published version of this module was: 0.1.0: QmR4qpcxA1UoHg7SZ89hJHYCpfrxToPjH9xSCug1cQeH1M diff --git a/vendor/github.com/libp2p/go-libp2p-tls/codecov.yml b/vendor/github.com/libp2p/go-libp2p-tls/codecov.yml deleted file mode 100644 index 00064af33..000000000 --- a/vendor/github.com/libp2p/go-libp2p-tls/codecov.yml +++ /dev/null @@ -1,7 +0,0 @@ -coverage: - round: nearest - status: - project: - default: - threshold: 1 - patch: false diff --git a/vendor/github.com/libp2p/go-libp2p-tls/version.json b/vendor/github.com/libp2p/go-libp2p-tls/version.json deleted file mode 100644 index 9ed87d762..000000000 --- a/vendor/github.com/libp2p/go-libp2p-tls/version.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "v0.3.1" -} diff --git a/vendor/github.com/libp2p/go-libp2p-transport-upgrader/README.md b/vendor/github.com/libp2p/go-libp2p-transport-upgrader/README.md deleted file mode 100644 index c4e22071b..000000000 --- a/vendor/github.com/libp2p/go-libp2p-transport-upgrader/README.md +++ /dev/null @@ -1,173 +0,0 @@ -# go-libp2p-transport-upgrader - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![GoDoc](https://godoc.org/github.com/libp2p/go-libp2p-transport-upgrader?status.svg)](https://godoc.org/github.com/libp2p/go-libp2p-transport-upgrader) -[![Build Status](https://travis-ci.org/libp2p/go-libp2p-transport-upgrader.svg?branch=master)](https://travis-ci.org/libp2p/go-libp2p-transport-upgrader) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) - -> Add encryption and multiplexing capabilities to libp2p transport connections - -This package is a component of [libp2p](https://libp2p.io), a modular networking -stack for building peer-to-peer applications. - -For two libp2p peers to communicate, the connection between them must be secure, -and each peer must be able to open multiple independent streams of communication -over a single channel. We call connections with these features "capable" -connections. - -Many of the underlying [transport protocols][docs-transport] that are used by -libp2p do not provide the required capabilities "out of the box." -`go-libp2p-transport-upgrader` provides the necessary logic to upgrade -connections and listeners into fully capable connections and connection -listeners. - -In order to be upgraded, the underlying connection or listener must be a -[`multiaddr-net`][manet] [`Conn`][manet-conn] or [`Listener`][manet-listener]. -The `multiaddr-net` types integrate the Go standard library connection types -with [`multiaddr`][multiaddr], an extensible addressing format used throughout -libp2p. - -As well as the mandatory capabilities of security and multiplexing, the upgrader -can optionally apply a `Protector` for [private networking][pnet], as well as an -[address filter][maddr-filter] to prevent connections to specific addresses. - -## Install - -Most people building applications with libp2p will have no need to install -`go-libp2p-transport-upgrader` directly. It is included as a dependency of the -main [`go-libp2p`][go-libp2p] "entry point" module and is integrated into the -libp2p `Host`. - -For users who do not depend on `go-libp2p` and are managing their libp2p module -dependencies in a more manual fashion, `go-libp2p-transport-upgrader` is a -standard Go module which can be installed with: - -```sh -go get github.com/libp2p/go-libp2p-transport-upgrader -``` - -## Usage - -To use, construct a new `Upgrader` with: - -* An optional [pnet][pnet] `Protector`. -* An optional [go-maddr-filter][maddr-filter] address `Filter`. -* A mandatory [stream security transport][ss]. -* A mandatory [stream multiplexer][smux]. - -In practice, most users will not need to construct an `Upgrader` directly. -Instead, when constructing a libp2p [`Host`][godoc-host], you can pass in some -combination of the [`PrivateNetwork`][godoc-pnet-option], -[`Filters`][godoc-filters-option], [`Security`][godoc-security-option], and -[`Muxer`][godoc-muxer-option] `Option`s. This will configure the `Upgrader` that -is created and used by the `Host` internally. - -## Example - -Below is a simplified TCP transport implementation using the transport upgrader. -In practice, you'll want to use -[go-tcp-transport](https://github.com/libp2p/go-tcp-transport), which is -optimized for production usage. - -```go -package tcptransport - -import ( - "context" - - tptu "github.com/libp2p/go-libp2p-transport-upgrader" - - ma "github.com/multiformats/go-multiaddr" - mafmt "github.com/multiformats/go-multiaddr-fmt" - manet "github.com/multiformats/go-multiaddr/net" - tpt "github.com/libp2p/go-libp2p-core/transport" - peer "github.com/libp2p/go-libp2p-core/peer" -) - -// TcpTransport is a simple TCP transport. -type TcpTransport struct { - // Connection upgrader for upgrading insecure stream connections to - // secure multiplex connections. - Upgrader *tptu.Upgrader -} - -var _ tpt.Transport = &TcpTransport{} - -// NewTCPTransport creates a new TCP transport instance. -func NewTCPTransport(upgrader *tptu.Upgrader) *TcpTransport { - return &TcpTransport{Upgrader: upgrader} -} - -// CanDial returns true if this transport believes it can dial the given -// multiaddr. -func (t *TcpTransport) CanDial(addr ma.Multiaddr) bool { - return mafmt.TCP.Matches(addr) -} - -// Dial dials the peer at the remote address. -func (t *TcpTransport) Dial(ctx context.Context, raddr ma.Multiaddr, p peer.ID) (tpt.CapableConn, error) { - var dialer manet.Dialer - conn, err := dialer.DialContext(ctx, raddr) - if err != nil { - return nil, err - } - return t.Upgrader.UpgradeOutbound(ctx, t, conn, p) -} - -// Listen listens on the given multiaddr. -func (t *TcpTransport) Listen(laddr ma.Multiaddr) (tpt.Listener, error) { - list, err := manet.Listen(laddr) - if err != nil { - return nil, err - } - return t.Upgrader.UpgradeListener(t, list), nil -} - -// Protocols returns the list of terminal protocols this transport can dial. -func (t *TcpTransport) Protocols() []int { - return []int{ma.P_TCP} -} - -// Proxy always returns false for the TCP transport. -func (t *TcpTransport) Proxy() bool { - return false -} - -``` - -## Contribute - -Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/go-libp2p-transport-upgrader/issues)! - -This repository falls under the libp2p [Code of Conduct](https://github.com/libp2p/community/blob/master/code-of-conduct.md). - -### Want to hack on libp2p? - -[![](https://cdn.rawgit.com/libp2p/community/master/img/contribute.gif)](https://github.com/libp2p/community/blob/master/CONTRIBUTE.md) - -## License - -MIT - ---- - -The last gx published version of this module was: 0.1.28: QmeqC5shQjEBRG9B8roZqQCJ9xb7Pq6AbWxJFMyLgqBBWh - -[tpt]: https://godoc.org/github.com/libp2p/go-libp2p-core/transport -[manet]: https://github.com/multiformats/go-multiaddr/ -[ss]: https://godoc.org/github.com/libp2p/go-libp2p-core/sec -[smux]: https://godoc.org/github.com/libp2p/go-libp2p-core/mux -[pnet]: https://godoc.org/github.com/libp2p/go-libp2p-core/pnet -[manet-conn]: https://godoc.org/github.com/multiformats/go-multiaddr/net#Conn -[manet-listener]: https://godoc.org/github.com/multiformats/go-multiaddr/net#Listener -[maddr-filter]: https://github.com/multiformats/go-multiaddr -[docs-transport]: https://docs.libp2p.io/concepts/transport -[multiaddr]: https://github.com/multiformats/multiaddr -[go-libp2p]: https://github.com/lib2p2/go-libp2p -[godoc-host]: https://godoc.org/github.com/libp2p/go-libp2p-core/host#Host -[godoc-pnet-option]: https://godoc.org/github.com/libp2p/go-libp2p#PrivateNetwork -[godoc-filters-option]: https://godoc.org/github.com/libp2p/go-libp2p#Filters -[godoc-security-option]: https://godoc.org/github.com/libp2p/go-libp2p#Security -[godoc-muxer-option]: https://godoc.org/github.com/libp2p/go-libp2p#Muxer diff --git a/vendor/github.com/libp2p/go-libp2p-transport-upgrader/version.json b/vendor/github.com/libp2p/go-libp2p-transport-upgrader/version.json deleted file mode 100644 index fce1f6732..000000000 --- a/vendor/github.com/libp2p/go-libp2p-transport-upgrader/version.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "v0.7.1" -} diff --git a/vendor/github.com/libp2p/go-libp2p-yamux/.gitignore b/vendor/github.com/libp2p/go-libp2p-yamux/.gitignore deleted file mode 100644 index 1377554eb..000000000 --- a/vendor/github.com/libp2p/go-libp2p-yamux/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.swp diff --git a/vendor/github.com/libp2p/go-libp2p-yamux/LICENSE b/vendor/github.com/libp2p/go-libp2p-yamux/LICENSE deleted file mode 100644 index c7386b3c9..000000000 --- a/vendor/github.com/libp2p/go-libp2p-yamux/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Juan Batiz-Benet - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/libp2p/go-libp2p-yamux/README.md b/vendor/github.com/libp2p/go-libp2p-yamux/README.md deleted file mode 100644 index 46165b7c5..000000000 --- a/vendor/github.com/libp2p/go-libp2p-yamux/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# go-libp2p-yamux - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![GoDoc](https://godoc.org/github.com/libp2p/go-libp2p-yamux?status.svg)](https://godoc.org/github.com/libp2p/go-libp2p-yamux) -[![Coverage Status](https://coveralls.io/repos/github/libp2p/go-libp2p-yamux/badge.svg?branch=master)](https://coveralls.io/github/libp2p/go-libp2p-yamux?branch=master) -[![Build Status](https://travis-ci.com/libp2p/go-libp2p-yamux.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-yamux) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) - -> An adapter to integrate the yamux multiplexer into libp2p as a stream muxer. - -## Install - -```sh -go get github.com/libp2p/go-libp2p-yamux -``` - -## Usage - -Check out the [GoDocs](https://godoc.org/github.com/libp2p/go-libp2p-yamux). - -## License - -Dual-licensed under MIT and ASLv2, by way of the [Permissive License Stack](https://protocol.ai/blog/announcing-the-permissive-license-stack/). diff --git a/vendor/github.com/libp2p/go-libp2p-yamux/version.json b/vendor/github.com/libp2p/go-libp2p-yamux/version.json deleted file mode 100644 index ada6e8827..000000000 --- a/vendor/github.com/libp2p/go-libp2p-yamux/version.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "v0.8.2" -} diff --git a/vendor/github.com/libp2p/go-libp2p/README.md b/vendor/github.com/libp2p/go-libp2p/README.md index 8caef9b52..d17071f26 100644 --- a/vendor/github.com/libp2p/go-libp2p/README.md +++ b/vendor/github.com/libp2p/go-libp2p/README.md @@ -8,7 +8,7 @@

- + Go Reference

@@ -19,10 +19,10 @@ - [Examples](#examples) - [Development](#development) - [Using the go-libp2p Workspace](#using-the-go-libp2p-workspace) - - [About gx](#about-gx) - [Tests](#tests) - [Packages](#packages) - [Contribute](#contribute) +- [Supported Go Versions](#supported-go-versions) ## Background @@ -39,7 +39,7 @@ To learn more, check out the following resources: ## Usage -This repository (`go-libp2p`) serves as the entrypoint to the universe of modules that compose the Go implementation of the libp2p stack. +This repository (`go-libp2p`) serves as the entrypoint to the universe of packages that compose the Go implementation of the libp2p stack. You can start using go-libp2p in your Go application simply by adding imports from our repos, e.g.: @@ -53,101 +53,10 @@ Examples can be found in the [examples folder](examples). ## Development -### Using the go-libp2p Workspace - -While developing, you may need to make changes to several modules at once, or you may want changes made locally in one module to be available for import by another. - -The [go-libp2p workspace](https://github.com/libp2p/workspace-go-libp2p) provides a developer-oriented view of the modules that comprise go-libp2p. - -Using the tooling in the workspace repository, you can checkout all of go-libp2p's module repos and enter "local mode", which adds [replace directives](https://github.com/golang/go/wiki/Modules#gomod) to the go.mod files in each local working copy. When you build locally, the libp2p depdendencies will be resolved from your local working copies. - -Once you've committed your changes, you can switch back to "remote mode", which removes the replace directives and pulls imports from the main go module cache. - -See the [workspace repo](https://github.com/libp2p/workspace-go-libp2p) for more information. - -### About gx - -Before adopting gomod, libp2p used [gx](https://github.com/whyrusleeping/gx) to manage dependencies using [IPFS](https://ipfs.io). - -Due to the difficulties in keeping both dependency management solutions up-to-date, gx support was ended in April 2019. - -Ending gx support does not mean that existing gx builds will break. Because gx references dependencies by their immutable IPFS hash, any currently working gx builds will continue to work for as long as the dependencies are resolvable in IPFS. - -However, new changes to go-libp2p will not be published via gx, and users are encouraged to adopt gomod to stay up-to-date. - -If you experience any issues migrating from gx to gomod, please [join the discussion at the libp2p forums](https://discuss.libp2p.io/t/gomod-and-go-libp2p/44). - ### Tests `go test ./...` will run all tests in the repo. -### Packages - -> This table is generated using the module [`package-table`](https://github.com/ipfs-shipyard/package-table) with `package-table --data=package-list.json`. - -List of packages currently in existence for libp2p: - -| Name | CI/Travis | Coverage | Description | -| ---------|---------|---------|--------- | -| **Libp2p** | -| [`go-libp2p`](//github.com/libp2p/go-libp2p) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p) | go-libp2p entry point | -| [`go-libp2p-core`](//github.com/libp2p/go-libp2p-core) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-core.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-core) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-core/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-core) | core interfaces, types, and abstractions | -| [`go-libp2p-blankhost`](//github.com/libp2p/go-libp2p-blankhost) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-blankhost.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-blankhost) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-blankhost/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-blankhost) | minimal implementation of the "host" interface | -| **Network** | -| [`go-libp2p-swarm`](//github.com/libp2p/go-libp2p-swarm) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-swarm.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-swarm) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-swarm/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-swarm) | reference implementation of network state machine | -| **Transport** | -| [`go-ws-transport`](//github.com/libp2p/go-ws-transport) | [![Travis CI](https://travis-ci.com/libp2p/go-ws-transport.svg?branch=master)](https://travis-ci.com/libp2p/go-ws-transport) | [![codecov](https://codecov.io/gh/libp2p/go-ws-transport/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-ws-transport) | WebSocket transport | -| [`go-tcp-transport`](//github.com/libp2p/go-tcp-transport) | [![Travis CI](https://travis-ci.com/libp2p/go-tcp-transport.svg?branch=master)](https://travis-ci.com/libp2p/go-tcp-transport) | [![codecov](https://codecov.io/gh/libp2p/go-tcp-transport/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-tcp-transport) | TCP transport | -| [`go-libp2p-quic-transport`](//github.com/libp2p/go-libp2p-quic-transport) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-quic-transport.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-quic-transport) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-quic-transport/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-quic-transport) | QUIC transport | -| [`go-udp-transport`](//github.com/libp2p/go-udp-transport) | [![Travis CI](https://travis-ci.com/libp2p/go-udp-transport.svg?branch=master)](https://travis-ci.com/libp2p/go-udp-transport) | [![codecov](https://codecov.io/gh/libp2p/go-udp-transport/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-udp-transport) | UDP transport | -| [`go-utp-transport`](//github.com/libp2p/go-utp-transport) | [![Travis CI](https://travis-ci.com/libp2p/go-utp-transport.svg?branch=master)](https://travis-ci.com/libp2p/go-utp-transport) | [![codecov](https://codecov.io/gh/libp2p/go-utp-transport/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-utp-transport) | uTorrent transport (UTP) | -| [`go-libp2p-circuit`](//github.com/libp2p/go-libp2p-circuit) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-circuit.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-circuit) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-circuit/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-circuit) | relay transport | -| [`go-libp2p-transport-upgrader`](//github.com/libp2p/go-libp2p-transport-upgrader) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-transport-upgrader.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-transport-upgrader) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-transport-upgrader/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-transport-upgrader) | upgrades multiaddr-net connections into full libp2p transports | -| [`go-libp2p-reuseport-transport`](//github.com/libp2p/go-libp2p-reuseport-transport) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-reuseport-transport.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-reuseport-transport) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-reuseport-transport/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-reuseport-transport) | partial transport for building transports that reuse ports | -| **Encrypted Channels** | -| [`go-libp2p-noise`](//github.com/libp2p/go-libp2p-noise) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-noise.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-noise) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-noise/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-noise) | Noise crypto channel | -| [`go-libp2p-tls`](//github.com/libp2p/go-libp2p-tls) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-tls.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-tls) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-tls/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-tls) | TLS 1.3+ crypto channel | -| [`go-conn-security-multistream`](//github.com/libp2p/go-conn-security-multistream) | [![Travis CI](https://travis-ci.com/libp2p/go-conn-security-multistream.svg?branch=master)](https://travis-ci.com/libp2p/go-conn-security-multistream) | [![codecov](https://codecov.io/gh/libp2p/go-conn-security-multistream/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-conn-security-multistream) | multistream multiplexed meta crypto channel | -| **Private Network** | -| [`go-libp2p-pnet`](//github.com/libp2p/go-libp2p-pnet) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-pnet.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-pnet) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-pnet/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-pnet) | reference private networking implementation | -| **Stream Muxers** | -| [`go-libp2p-yamux`](//github.com/libp2p/go-libp2p-yamux) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-yamux.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-yamux) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-yamux/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-yamux) | YAMUX stream multiplexer | -| [`go-libp2p-mplex`](//github.com/libp2p/go-libp2p-mplex) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-mplex.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-mplex) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-mplex/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-mplex) | MPLEX stream multiplexer | -| **NAT Traversal** | -| [`go-libp2p-nat`](//github.com/libp2p/go-libp2p-nat) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-nat.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-nat) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-nat/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-nat) | | -| **Peerstore** | -| [`go-libp2p-peerstore`](//github.com/libp2p/go-libp2p-peerstore) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-peerstore.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-peerstore) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-peerstore/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-peerstore) | reference implementation of peer metadata storage component | -| **Connection Manager** | -| [`go-libp2p-connmgr`](//github.com/libp2p/go-libp2p-connmgr) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-connmgr.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-connmgr) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-connmgr/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-connmgr) | reference implementation of connection manager | -| **Routing** | -| [`go-libp2p-record`](//github.com/libp2p/go-libp2p-record) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-record.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-record) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-record/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-record) | record type and validator logic | -| [`go-libp2p-kad-dht`](//github.com/libp2p/go-libp2p-kad-dht) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-kad-dht.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-kad-dht) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-kad-dht/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-kad-dht) | Kademlia-like router | -| [`go-libp2p-kbucket`](//github.com/libp2p/go-libp2p-kbucket) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-kbucket.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-kbucket) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-kbucket/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-kbucket) | Kademlia routing table helper types | -| [`go-libp2p-coral-dht`](//github.com/libp2p/go-libp2p-coral-dht) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-coral-dht.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-coral-dht) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-coral-dht/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-coral-dht) | Router based on Coral DHT | -| [`go-libp2p-pubsub-router`](//github.com/libp2p/go-libp2p-pubsub-router) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-pubsub-router.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-pubsub-router) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-pubsub-router/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-pubsub-router) | record-store over pubsub adapter | -| **Consensus** | -| [`go-libp2p-consensus`](//github.com/libp2p/go-libp2p-consensus) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-consensus.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-consensus) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-consensus/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-consensus) | consensus protocols interfaces | -| [`go-libp2p-raft`](//github.com/libp2p/go-libp2p-raft) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-raft.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-raft) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-raft/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-raft) | consensus implementation over raft | -| **Pubsub** | -| [`go-libp2p-pubsub`](//github.com/libp2p/go-libp2p-pubsub) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-pubsub.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-pubsub) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-pubsub/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-pubsub) | multiple pubsub over libp2p implementations | -| **RPC** | -| [`go-libp2p-gorpc`](//github.com/libp2p/go-libp2p-gorpc) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-gorpc.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-gorpc) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-gorpc/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-gorpc) | a simple RPC library for libp2p | -| **Utilities/miscellaneous** | -| [`go-libp2p-loggables`](//github.com/libp2p/go-libp2p-loggables) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-loggables.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-loggables) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-loggables/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-loggables) | logging helpers | -| [`go-maddr-filter`](//github.com/libp2p/go-maddr-filter) | [![Travis CI](https://travis-ci.com/libp2p/go-maddr-filter.svg?branch=master)](https://travis-ci.com/libp2p/go-maddr-filter) | [![codecov](https://codecov.io/gh/libp2p/go-maddr-filter/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-maddr-filter) | multiaddr filtering helpers | -| [`go-libp2p-netutil`](//github.com/libp2p/go-libp2p-netutil) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-netutil.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-netutil) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-netutil/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-netutil) | misc utilities | -| [`go-msgio`](//github.com/libp2p/go-msgio) | [![Travis CI](https://travis-ci.com/libp2p/go-msgio.svg?branch=master)](https://travis-ci.com/libp2p/go-msgio) | [![codecov](https://codecov.io/gh/libp2p/go-msgio/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-msgio) | length prefixed data channel | -| [`go-addr-util`](//github.com/libp2p/go-addr-util) | [![Travis CI](https://travis-ci.com/libp2p/go-addr-util.svg?branch=master)](https://travis-ci.com/libp2p/go-addr-util) | [![codecov](https://codecov.io/gh/libp2p/go-addr-util/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-addr-util) | address utilities for libp2p swarm | -| [`go-buffer-pool`](//github.com/libp2p/go-buffer-pool) | [![Travis CI](https://travis-ci.com/libp2p/go-buffer-pool.svg?branch=master)](https://travis-ci.com/libp2p/go-buffer-pool) | [![codecov](https://codecov.io/gh/libp2p/go-buffer-pool/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-buffer-pool) | a variable size buffer pool for go | -| [`go-libp2p-routing-helpers`](//github.com/libp2p/go-libp2p-routing-helpers) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-routing-helpers.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-routing-helpers) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-routing-helpers/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-routing-helpers) | routing helpers | -| [`go-reuseport`](//github.com/libp2p/go-reuseport) | [![Travis CI](https://travis-ci.com/libp2p/go-reuseport.svg?branch=master)](https://travis-ci.com/libp2p/go-reuseport) | [![codecov](https://codecov.io/gh/libp2p/go-reuseport/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-reuseport) | enables reuse of addresses | -| [`go-sockaddr`](//github.com/libp2p/go-sockaddr) | [![Travis CI](https://travis-ci.com/libp2p/go-sockaddr.svg?branch=master)](https://travis-ci.com/libp2p/go-sockaddr) | [![codecov](https://codecov.io/gh/libp2p/go-sockaddr/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-sockaddr) | utils for sockaddr conversions | -| [`go-flow-metrics`](//github.com/libp2p/go-flow-metrics) | [![Travis CI](https://travis-ci.com/libp2p/go-flow-metrics.svg?branch=master)](https://travis-ci.com/libp2p/go-flow-metrics) | [![codecov](https://codecov.io/gh/libp2p/go-flow-metrics/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-flow-metrics) | metrics library | -| [`go-libp2p-gostream`](//github.com/libp2p/go-libp2p-gostream) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-gostream.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-gostream) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-gostream/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-gostream) | Go 'net' wrappers for libp2p | -| [`go-libp2p-http`](//github.com/libp2p/go-libp2p-http) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-http.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-http) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-http/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-http) | HTTP on top of libp2p streams | -| **Testing and examples** | -| [`go-libp2p-testing`](//github.com/libp2p/go-libp2p-testing) | [![Travis CI](https://travis-ci.com/libp2p/go-libp2p-testing.svg?branch=master)](https://travis-ci.com/libp2p/go-libp2p-testing) | [![codecov](https://codecov.io/gh/libp2p/go-libp2p-testing/branch/master/graph/badge.svg)](https://codecov.io/gh/libp2p/go-libp2p-testing) | a collection of testing utilities for libp2p | - # Contribute go-libp2p is part of [The IPFS Project](https://github.com/ipfs/ipfs), and is MIT-licensed open source software. We welcome contributions big and small! Take a look at the [community contributing notes](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md). Please make sure to check the [issues](https://github.com/ipfs/go-libp2p/issues). Search the closed ones before reporting things, and help us with the open ones. @@ -165,6 +74,7 @@ There's a few things you can do right now to help out: - **Perform code reviews**. - **Add tests**. There can never be enough tests. ---- +## Supported Go Versions -The last gx published version of this module was: 6.0.41: QmTRN7hRxvGkxKxDdeudty7sRet4L7ZKZCqKsXHa79wmAc +We test against and support the two most recent major releases of Go. This is +informed by Go's own [security policy](https://go.dev/security). diff --git a/vendor/github.com/libp2p/go-libp2p/config/config.go b/vendor/github.com/libp2p/go-libp2p/config/config.go index a9a264158..e1ce65456 100644 --- a/vendor/github.com/libp2p/go-libp2p/config/config.go +++ b/vendor/github.com/libp2p/go-libp2p/config/config.go @@ -18,19 +18,17 @@ import ( "github.com/libp2p/go-libp2p-core/transport" "github.com/libp2p/go-libp2p-peerstore/pstoremem" - drouting "github.com/libp2p/go-libp2p/p2p/discovery/routing" "github.com/libp2p/go-libp2p/p2p/host/autonat" "github.com/libp2p/go-libp2p/p2p/host/autorelay" bhost "github.com/libp2p/go-libp2p/p2p/host/basic" + blankhost "github.com/libp2p/go-libp2p/p2p/host/blank" routed "github.com/libp2p/go-libp2p/p2p/host/routed" + "github.com/libp2p/go-libp2p/p2p/net/swarm" + tptu "github.com/libp2p/go-libp2p/p2p/net/upgrader" circuitv2 "github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/client" relayv2 "github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/relay" "github.com/libp2p/go-libp2p/p2p/protocol/holepunch" - blankhost "github.com/libp2p/go-libp2p-blankhost" - swarm "github.com/libp2p/go-libp2p-swarm" - tptu "github.com/libp2p/go-libp2p-transport-upgrader" - logging "github.com/ipfs/go-log/v2" ma "github.com/multiformats/go-multiaddr" madns "github.com/multiformats/go-multiaddr-dns" @@ -101,8 +99,8 @@ type Config struct { Routing RoutingC EnableAutoRelay bool + AutoRelayOpts []autorelay.Option AutoNATConfig - StaticRelayOpt autorelay.StaticRelayOption EnableHolePunching bool HolePunchingOptions []holepunch.Option @@ -270,7 +268,7 @@ func (cfg *Config) NewNode() (host.Host, error) { } } - // Note: h.AddrsFactory may be changed by AutoRelay, but non-relay version is + // Note: h.AddrsFactory may be changed by relayFinder, but non-relay version is // used by AutoNAT below. var ar *autorelay.AutoRelay addrF := h.AddrsFactory @@ -280,22 +278,7 @@ func (cfg *Config) NewNode() (host.Host, error) { return nil, fmt.Errorf("cannot enable autorelay; relay is not enabled") } - var opts []autorelay.Option - if cfg.StaticRelayOpt != nil { - opts = append(opts, autorelay.Option(cfg.StaticRelayOpt)) - } else { - if router == nil { - h.Close() - return nil, fmt.Errorf("cannot enable autorelay; no routing for discovery") - } - crouter, ok := router.(routing.ContentRouting) - if !ok { - h.Close() - return nil, fmt.Errorf("cannot enable autorelay; no suitable routing for discovery") - } - opts = append(opts, autorelay.WithDiscoverer(drouting.NewRoutingDiscovery(crouter))) - } - ar, err = autorelay.NewAutoRelay(h, router, opts...) + ar, err = autorelay.NewAutoRelay(h, cfg.AutoRelayOpts...) if err != nil { return nil, err } diff --git a/vendor/github.com/libp2p/go-libp2p/config/muxer.go b/vendor/github.com/libp2p/go-libp2p/config/muxer.go index f59d204c3..2b3e85708 100644 --- a/vendor/github.com/libp2p/go-libp2p/config/muxer.go +++ b/vendor/github.com/libp2p/go-libp2p/config/muxer.go @@ -3,7 +3,7 @@ package config import ( "fmt" - msmux "github.com/libp2p/go-stream-muxer-multistream" + msmux "github.com/libp2p/go-libp2p/p2p/muxer/muxer-multistream" "github.com/libp2p/go-libp2p-core/network" diff --git a/vendor/github.com/libp2p/go-libp2p/config/security.go b/vendor/github.com/libp2p/go-libp2p/config/security.go index 0f6c78871..bac3eb218 100644 --- a/vendor/github.com/libp2p/go-libp2p/config/security.go +++ b/vendor/github.com/libp2p/go-libp2p/config/security.go @@ -3,13 +3,13 @@ package config import ( "fmt" + csms "github.com/libp2p/go-libp2p/p2p/net/conn-security-multistream" + "github.com/libp2p/go-libp2p-core/crypto" "github.com/libp2p/go-libp2p-core/host" "github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-core/sec" "github.com/libp2p/go-libp2p-core/sec/insecure" - - csms "github.com/libp2p/go-conn-security-multistream" ) // SecC is a security transport constructor. diff --git a/vendor/github.com/libp2p/go-libp2p/defaults.go b/vendor/github.com/libp2p/go-libp2p/defaults.go index f3e8aeba4..d95a6a958 100644 --- a/vendor/github.com/libp2p/go-libp2p/defaults.go +++ b/vendor/github.com/libp2p/go-libp2p/defaults.go @@ -5,17 +5,18 @@ package libp2p import ( "crypto/rand" - "github.com/libp2p/go-libp2p-core/crypto" - mplex "github.com/libp2p/go-libp2p-mplex" - noise "github.com/libp2p/go-libp2p-noise" - "github.com/libp2p/go-libp2p-peerstore/pstoremem" - quic "github.com/libp2p/go-libp2p-quic-transport" - rcmgr "github.com/libp2p/go-libp2p-resource-manager" - tls "github.com/libp2p/go-libp2p-tls" - yamux "github.com/libp2p/go-libp2p-yamux" + "github.com/libp2p/go-libp2p/p2p/muxer/yamux" "github.com/libp2p/go-libp2p/p2p/net/connmgr" - "github.com/libp2p/go-tcp-transport" - ws "github.com/libp2p/go-ws-transport" + "github.com/libp2p/go-libp2p/p2p/security/noise" + tls "github.com/libp2p/go-libp2p/p2p/security/tls" + quic "github.com/libp2p/go-libp2p/p2p/transport/quic" + "github.com/libp2p/go-libp2p/p2p/transport/tcp" + ws "github.com/libp2p/go-libp2p/p2p/transport/websocket" + + "github.com/libp2p/go-libp2p-core/crypto" + + "github.com/libp2p/go-libp2p-peerstore/pstoremem" + rcmgr "github.com/libp2p/go-libp2p-resource-manager" "github.com/multiformats/go-multiaddr" ) @@ -32,10 +33,7 @@ var DefaultSecurity = ChainOptions( // // Use this option when you want to *extend* the set of multiplexers used by // libp2p instead of replacing them. -var DefaultMuxers = ChainOptions( - Muxer("/yamux/1.0.0", yamux.DefaultTransport), - Muxer("/mplex/6.7.0", mplex.DefaultTransport), -) +var DefaultMuxers = Muxer("/yamux/1.0.0", yamux.DefaultTransport) // DefaultTransports are the default libp2p transports. // @@ -89,10 +87,9 @@ var DefaultEnableRelay = func(cfg *Config) error { var DefaultResourceManager = func(cfg *Config) error { // Default memory limit: 1/8th of total memory, minimum 128MB, maximum 1GB - limiter := rcmgr.NewDefaultLimiter() - SetDefaultServiceLimits(limiter) - - mgr, err := rcmgr.NewResourceManager(limiter) + limits := rcmgr.DefaultLimits + SetDefaultServiceLimits(&limits) + mgr, err := rcmgr.NewResourceManager(rcmgr.NewFixedLimiter(limits.AutoScale())) if err != nil { return err } @@ -100,7 +97,7 @@ var DefaultResourceManager = func(cfg *Config) error { return cfg.Apply(ResourceManager(mgr)) } -// DefaultConnManager creates a default connection manager +// DefaultConnectionManager creates a default connection manager var DefaultConnectionManager = func(cfg *Config) error { mgr, err := connmgr.NewConnManager(160, 192) if err != nil { diff --git a/vendor/github.com/libp2p/go-libp2p/limits.go b/vendor/github.com/libp2p/go-libp2p/limits.go index a2a7664f4..fd71bca76 100644 --- a/vendor/github.com/libp2p/go-libp2p/limits.go +++ b/vendor/github.com/libp2p/go-libp2p/limits.go @@ -15,143 +15,114 @@ import ( ) // SetDefaultServiceLimits sets the default limits for bundled libp2p services -// -// More specifically this sets the following limits: -// - identify: -// 128 streams in, 128 streams out, 256 streams total, 4MB min, 64MB max svc memory -// 16/16/32 streams per peer -// - ping: -// 128 streams in, 128 sreams out, 256 streasms total, 4MB min, 64MB max svc memory -// 2/3/4 streams per peer -// - autonat -// 128 streams in, 128 streams out, 128 streams total, 4MB min, 64MB max svc memory -// 2/2/2 streams per peer -// - holepunch -// 128 streams in, 128 streams out, 128 streams total, 4MB min, 64MB max svc memory -// 2/2/2 streams per peer -// - relay v1 and v2 (separate services) -// 1024 streams in, 1024 streams out, 1024 streams total, 4MB min, 64MB max svc memory -// 64/64/64 streams per peer -func SetDefaultServiceLimits(limiter *rcmgr.BasicLimiter) { - if limiter.ServiceLimits == nil { - limiter.ServiceLimits = make(map[string]rcmgr.Limit) - } - if limiter.ServicePeerLimits == nil { - limiter.ServicePeerLimits = make(map[string]rcmgr.Limit) - } - if limiter.ProtocolLimits == nil { - limiter.ProtocolLimits = make(map[protocol.ID]rcmgr.Limit) - } - if limiter.ProtocolPeerLimits == nil { - limiter.ProtocolPeerLimits = make(map[protocol.ID]rcmgr.Limit) - } - +func SetDefaultServiceLimits(config *rcmgr.ScalingLimitConfig) { // identify - setServiceLimits(limiter, identify.ServiceName, - limiter.DefaultServiceLimits. - WithMemoryLimit(1, 4<<20, 64<<20). // max 64MB service memory - WithStreamLimit(128, 128, 256), // max 256 streams -- symmetric - peerLimit(16, 16, 32)) + config.AddServiceLimit( + identify.ServiceName, + rcmgr.BaseLimit{StreamsInbound: 64, StreamsOutbound: 64, Streams: 128, Memory: 4 << 20}, + rcmgr.BaseLimitIncrease{StreamsInbound: 64, StreamsOutbound: 64, Streams: 128, Memory: 4 << 20}, + ) + config.AddServicePeerLimit( + identify.ServiceName, + rcmgr.BaseLimit{StreamsInbound: 16, StreamsOutbound: 16, Streams: 32, Memory: 1 << 20}, + rcmgr.BaseLimitIncrease{}, + ) + for _, id := range [...]protocol.ID{identify.ID, identify.IDDelta, identify.IDPush} { + config.AddProtocolLimit( + id, + rcmgr.BaseLimit{StreamsInbound: 64, StreamsOutbound: 64, Streams: 128, Memory: 4 << 20}, + rcmgr.BaseLimitIncrease{StreamsInbound: 64, StreamsOutbound: 64, Streams: 128, Memory: 4 << 20}, + ) + config.AddProtocolPeerLimit( + id, + rcmgr.BaseLimit{StreamsInbound: 16, StreamsOutbound: 16, Streams: 32, Memory: 32 * (256<<20 + 16<<10)}, + rcmgr.BaseLimitIncrease{}, + ) + } - setProtocolLimits(limiter, identify.ID, - limiter.DefaultProtocolLimits.WithMemoryLimit(1, 4<<20, 32<<20), - peerLimit(16, 16, 32)) - setProtocolLimits(limiter, identify.IDPush, - limiter.DefaultProtocolLimits.WithMemoryLimit(1, 4<<20, 32<<20), - peerLimit(16, 16, 32)) - setProtocolLimits(limiter, identify.IDDelta, - limiter.DefaultProtocolLimits.WithMemoryLimit(1, 4<<20, 32<<20), - peerLimit(16, 16, 32)) - - // ping - setServiceLimits(limiter, ping.ServiceName, - limiter.DefaultServiceLimits. - WithMemoryLimit(1, 4<<20, 64<<20). // max 64MB service memory - WithStreamLimit(128, 128, 128), // max 128 streams - asymmetric - peerLimit(2, 3, 4)) - setProtocolLimits(limiter, ping.ID, - limiter.DefaultProtocolLimits.WithMemoryLimit(1, 4<<20, 64<<20), - peerLimit(2, 3, 4)) + // ping + addServiceAndProtocolLimit(config, + ping.ServiceName, ping.ID, + rcmgr.BaseLimit{StreamsInbound: 64, StreamsOutbound: 64, Streams: 64, Memory: 4 << 20}, + rcmgr.BaseLimitIncrease{StreamsInbound: 64, StreamsOutbound: 64, Streams: 64, Memory: 4 << 20}, + ) + addServicePeerAndProtocolPeerLimit( + config, + ping.ServiceName, ping.ID, + rcmgr.BaseLimit{StreamsInbound: 2, StreamsOutbound: 3, Streams: 4, Memory: 32 * (256<<20 + 16<<10)}, + rcmgr.BaseLimitIncrease{}, + ) // autonat - setServiceLimits(limiter, autonat.ServiceName, - limiter.DefaultServiceLimits. - WithMemoryLimit(1, 4<<20, 64<<20). // max 64MB service memory - WithStreamLimit(128, 128, 128), // max 128 streams - asymmetric - peerLimit(2, 2, 2)) - setProtocolLimits(limiter, autonat.AutoNATProto, - limiter.DefaultProtocolLimits.WithMemoryLimit(1, 4<<20, 64<<20), - peerLimit(2, 2, 2)) + addServiceAndProtocolLimit(config, + autonat.ServiceName, autonat.AutoNATProto, + rcmgr.BaseLimit{StreamsInbound: 64, StreamsOutbound: 64, Streams: 64, Memory: 4 << 20}, + rcmgr.BaseLimitIncrease{StreamsInbound: 4, StreamsOutbound: 4, Streams: 4, Memory: 2 << 20}, + ) + addServicePeerAndProtocolPeerLimit( + config, + autonat.ServiceName, autonat.AutoNATProto, + rcmgr.BaseLimit{StreamsInbound: 2, StreamsOutbound: 2, Streams: 2, Memory: 1 << 20}, + rcmgr.BaseLimitIncrease{}, + ) // holepunch - setServiceLimits(limiter, holepunch.ServiceName, - limiter.DefaultServiceLimits. - WithMemoryLimit(1, 4<<20, 64<<20). // max 64MB service memory - WithStreamLimit(128, 128, 256), // max 256 streams - symmetric - peerLimit(2, 2, 2)) - setProtocolLimits(limiter, holepunch.Protocol, - limiter.DefaultProtocolLimits.WithMemoryLimit(1, 4<<20, 64<<20), - peerLimit(2, 2, 2)) + addServiceAndProtocolLimit(config, + holepunch.ServiceName, holepunch.Protocol, + rcmgr.BaseLimit{StreamsInbound: 32, StreamsOutbound: 32, Streams: 64, Memory: 4 << 20}, + rcmgr.BaseLimitIncrease{StreamsInbound: 8, StreamsOutbound: 8, Streams: 16, Memory: 4 << 20}, + ) + addServicePeerAndProtocolPeerLimit(config, + holepunch.ServiceName, holepunch.Protocol, + rcmgr.BaseLimit{StreamsInbound: 2, StreamsOutbound: 2, Streams: 2, Memory: 1 << 20}, + rcmgr.BaseLimitIncrease{}, + ) // relay/v1 - setServiceLimits(limiter, relayv1.ServiceName, - limiter.DefaultServiceLimits. - WithMemoryLimit(1, 4<<20, 64<<20). // max 64MB service memory - WithStreamLimit(1024, 1024, 1024), // max 1024 streams - asymmetric - peerLimit(64, 64, 64)) + config.AddServiceLimit( + relayv1.ServiceName, + rcmgr.BaseLimit{StreamsInbound: 256, StreamsOutbound: 256, Streams: 256, Memory: 16 << 20}, + rcmgr.BaseLimitIncrease{StreamsInbound: 256, StreamsOutbound: 256, Streams: 256, Memory: 16 << 20}, + ) + config.AddServicePeerLimit( + relayv1.ServiceName, + rcmgr.BaseLimit{StreamsInbound: 64, StreamsOutbound: 64, Streams: 64, Memory: 1 << 20}, + rcmgr.BaseLimitIncrease{}, + ) // relay/v2 - setServiceLimits(limiter, relayv2.ServiceName, - limiter.DefaultServiceLimits. - WithMemoryLimit(1, 4<<20, 64<<20). // max 64MB service memory - WithStreamLimit(1024, 1024, 1024), // max 1024 streams - asymmetric - peerLimit(64, 64, 64)) + config.AddServiceLimit( + relayv2.ServiceName, + rcmgr.BaseLimit{StreamsInbound: 256, StreamsOutbound: 256, Streams: 256, Memory: 16 << 20}, + rcmgr.BaseLimitIncrease{StreamsInbound: 256, StreamsOutbound: 256, Streams: 256, Memory: 16 << 20}, + ) + config.AddServicePeerLimit( + relayv2.ServiceName, + rcmgr.BaseLimit{StreamsInbound: 64, StreamsOutbound: 64, Streams: 64, Memory: 1 << 20}, + rcmgr.BaseLimitIncrease{}, + ) // circuit protocols, both client and service - setProtocolLimits(limiter, circuit.ProtoIDv1, - limiter.DefaultProtocolLimits. - WithMemoryLimit(1, 4<<20, 64<<20). - WithStreamLimit(1280, 1280, 1280), - peerLimit(128, 128, 128)) - setProtocolLimits(limiter, circuit.ProtoIDv2Hop, - limiter.DefaultProtocolLimits. - WithMemoryLimit(1, 4<<20, 64<<20). - WithStreamLimit(1280, 1280, 1280), - peerLimit(128, 128, 128)) - setProtocolLimits(limiter, circuit.ProtoIDv2Stop, - limiter.DefaultProtocolLimits. - WithMemoryLimit(1, 4<<20, 64<<20). - WithStreamLimit(1280, 1280, 1280), - peerLimit(128, 128, 128)) - -} - -func setServiceLimits(limiter *rcmgr.BasicLimiter, svc string, limit rcmgr.Limit, peerLimit rcmgr.Limit) { - if _, ok := limiter.ServiceLimits[svc]; !ok { - limiter.ServiceLimits[svc] = limit - } - if _, ok := limiter.ServicePeerLimits[svc]; !ok { - limiter.ServicePeerLimits[svc] = peerLimit + for _, proto := range [...]protocol.ID{circuit.ProtoIDv1, circuit.ProtoIDv2Hop, circuit.ProtoIDv2Stop} { + config.AddProtocolLimit( + proto, + rcmgr.BaseLimit{StreamsInbound: 640, StreamsOutbound: 640, Streams: 640, Memory: 16 << 20}, + rcmgr.BaseLimitIncrease{StreamsInbound: 640, StreamsOutbound: 640, Streams: 640, Memory: 16 << 20}, + ) + config.AddProtocolPeerLimit( + proto, + rcmgr.BaseLimit{StreamsInbound: 128, StreamsOutbound: 128, Streams: 128, Memory: 32 << 20}, + rcmgr.BaseLimitIncrease{}, + ) } } -func setProtocolLimits(limiter *rcmgr.BasicLimiter, proto protocol.ID, limit rcmgr.Limit, peerLimit rcmgr.Limit) { - if _, ok := limiter.ProtocolLimits[proto]; !ok { - limiter.ProtocolLimits[proto] = limit - } - if _, ok := limiter.ProtocolPeerLimits[proto]; !ok { - limiter.ProtocolPeerLimits[proto] = peerLimit - } +func addServiceAndProtocolLimit(config *rcmgr.ScalingLimitConfig, service string, proto protocol.ID, limit rcmgr.BaseLimit, increase rcmgr.BaseLimitIncrease) { + config.AddServiceLimit(service, limit, increase) + config.AddProtocolLimit(proto, limit, increase) } -func peerLimit(numStreamsIn, numStreamsOut, numStreamsTotal int) rcmgr.Limit { - return &rcmgr.StaticLimit{ - // memory: 256kb for window buffers plus some change for message buffers per stream - Memory: int64(numStreamsTotal * (256<<10 + 16384)), - BaseLimit: rcmgr.BaseLimit{ - StreamsInbound: numStreamsIn, - StreamsOutbound: numStreamsOut, - Streams: numStreamsTotal, - }, - } +func addServicePeerAndProtocolPeerLimit(config *rcmgr.ScalingLimitConfig, service string, proto protocol.ID, limit rcmgr.BaseLimit, increase rcmgr.BaseLimitIncrease) { + config.AddServicePeerLimit(service, limit, increase) + config.AddProtocolPeerLimit(proto, limit, increase) } diff --git a/vendor/github.com/libp2p/go-libp2p/options.go b/vendor/github.com/libp2p/go-libp2p/options.go index 6821f4ed4..312d08a24 100644 --- a/vendor/github.com/libp2p/go-libp2p/options.go +++ b/vendor/github.com/libp2p/go-libp2p/options.go @@ -250,15 +250,10 @@ func EnableRelayService(opts ...relayv2.Option) Option { // // This subsystem performs automatic address rewriting to advertise relay addresses when it // detects that the node is publicly unreachable (e.g. behind a NAT). -func EnableAutoRelay(opts ...autorelay.StaticRelayOption) Option { +func EnableAutoRelay(opts ...autorelay.Option) Option { return func(cfg *Config) error { - if len(opts) > 0 { - if len(opts) > 1 { - return errors.New("only expected a single static relay configuration option") - } - cfg.StaticRelayOpt = opts[0] - } cfg.EnableAutoRelay = true + cfg.AutoRelayOpts = opts return nil } } @@ -269,7 +264,7 @@ func EnableAutoRelay(opts ...autorelay.StaticRelayOption) Option { // Deprecated: pass an autorelay.WithStaticRelays option to EnableAutoRelay. func StaticRelays(relays []peer.AddrInfo) Option { return func(cfg *Config) error { - cfg.StaticRelayOpt = autorelay.WithStaticRelays(relays) + cfg.AutoRelayOpts = append(cfg.AutoRelayOpts, autorelay.WithStaticRelays(relays)) return nil } } @@ -347,6 +342,8 @@ func ConnectionGater(cg connmgr.ConnectionGater) Option { } // ResourceManager configures libp2p to use the given ResourceManager. +// When using the go-libp2p-resource-manager implementation of the ResourceManager interface, +// it is recommended to set limits for libp2p protocol by calling SetDefaultServiceLimits. func ResourceManager(rcmgr network.ResourceManager) Option { return func(cfg *Config) error { if cfg.ResourceManager != nil { diff --git a/vendor/github.com/libp2p/go-libp2p-discovery/backoff.go b/vendor/github.com/libp2p/go-libp2p/p2p/discovery/backoff/backoff.go similarity index 98% rename from vendor/github.com/libp2p/go-libp2p-discovery/backoff.go rename to vendor/github.com/libp2p/go-libp2p/p2p/discovery/backoff/backoff.go index 384a95cf6..242821ec1 100644 --- a/vendor/github.com/libp2p/go-libp2p-discovery/backoff.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/discovery/backoff/backoff.go @@ -1,12 +1,16 @@ -package discovery +package backoff import ( "math" "math/rand" "sync" "time" + + logging "github.com/ipfs/go-log/v2" ) +var log = logging.Logger("discovery-backoff") + type BackoffFactory func() BackoffStrategy // BackoffStrategy describes how backoff will be implemented. BackoffStratgies are stateful. diff --git a/vendor/github.com/libp2p/go-libp2p-discovery/backoffcache.go b/vendor/github.com/libp2p/go-libp2p/p2p/discovery/backoff/backoffcache.go similarity index 86% rename from vendor/github.com/libp2p/go-libp2p-discovery/backoffcache.go rename to vendor/github.com/libp2p/go-libp2p/p2p/discovery/backoff/backoffcache.go index 1ec71b859..9aacfdadc 100644 --- a/vendor/github.com/libp2p/go-libp2p-discovery/backoffcache.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/discovery/backoff/backoffcache.go @@ -1,4 +1,4 @@ -package discovery +package backoff import ( "context" @@ -8,7 +8,8 @@ import ( "github.com/libp2p/go-libp2p-core/discovery" "github.com/libp2p/go-libp2p-core/peer" - "github.com/libp2p/go-libp2p-peerstore/addr" + + ma "github.com/multiformats/go-multiaddr" ) // BackoffDiscovery is an implementation of discovery that caches peer data and attenuates repeated queries @@ -20,6 +21,8 @@ type BackoffDiscovery struct { parallelBufSz int returnedBufSz int + + clock clock } type BackoffDiscoveryOption func(*BackoffDiscovery) error @@ -32,6 +35,8 @@ func NewBackoffDiscovery(disc discovery.Discovery, stratFactory BackoffFactory, parallelBufSz: 32, returnedBufSz: 32, + + clock: realClock{}, } for _, opt := range opts { @@ -67,6 +72,24 @@ func WithBackoffDiscoveryReturnedChannelSize(size int) BackoffDiscoveryOption { } } +type clock interface { + Now() time.Time +} + +type realClock struct{} + +func (c realClock) Now() time.Time { + return time.Now() +} + +// withClock lets you override the default time.Now() call. Useful for tests. +func withClock(c clock) BackoffDiscoveryOption { + return func(b *BackoffDiscovery) error { + b.clock = c + return nil + } +} + type backoffCache struct { // strat is assigned on creation and not written to strat BackoffStrategy @@ -77,6 +100,8 @@ type backoffCache struct { peers map[peer.ID]peer.AddrInfo sendingChs map[chan peer.AddrInfo]int ongoing bool + + clock clock } func (d *BackoffDiscovery) Advertise(ctx context.Context, ns string, opts ...discovery.Option) (time.Duration, error) { @@ -111,6 +136,7 @@ func (d *BackoffDiscovery) FindPeers(ctx context.Context, ns string, opts ...dis peers: make(map[peer.ID]peer.AddrInfo), sendingChs: make(map[chan peer.AddrInfo]int), strat: d.stratFactory(), + clock: d.clock, } d.peerCacheMux.Lock() @@ -127,7 +153,7 @@ func (d *BackoffDiscovery) FindPeers(ctx context.Context, ns string, opts ...dis c.mux.Lock() defer c.mux.Unlock() - timeExpired := time.Now().After(c.nextDiscover) + timeExpired := d.clock.Now().After(c.nextDiscover) // If it's not yet time to search again and no searches are in progress then return cached peers if !(timeExpired || c.ongoing) { @@ -179,19 +205,19 @@ func findPeerDispatcher(ctx context.Context, c *backoffCache, pch <-chan peer.Ad defer func() { c.mux.Lock() - for ch := range c.sendingChs { - close(ch) - } - // If the peer addresses have changed reset the backoff if checkUpdates(c.prevPeers, c.peers) { c.strat.Reset() c.prevPeers = c.peers } - c.nextDiscover = time.Now().Add(c.strat.Delay()) + c.nextDiscover = c.clock.Now().Add(c.strat.Delay()) c.ongoing = false c.peers = make(map[peer.ID]peer.AddrInfo) + + for ch := range c.sendingChs { + close(ch) + } c.sendingChs = make(map[chan peer.AddrInfo]int) c.mux.Unlock() }() @@ -220,13 +246,9 @@ func findPeerDispatcher(ctx context.Context, c *backoffCache, pch <-chan peer.Ad c.peers[ai.ID] = sendAi for ch, rem := range c.sendingChs { - ch <- sendAi - if rem == 1 { - close(ch) - delete(c.sendingChs, ch) - break - } else if rem > 0 { - rem-- + if rem > 0 { + ch <- sendAi + c.sendingChs[ch] = rem - 1 } } @@ -277,7 +299,20 @@ func findPeerReceiver(ctx context.Context, pch, evtCh chan peer.AddrInfo, rcvPee } func mergeAddrInfos(prevAi, newAi peer.AddrInfo) *peer.AddrInfo { - combinedAddrs := addr.UniqueSource(addr.Slice(prevAi.Addrs), addr.Slice(newAi.Addrs)).Addrs() + seen := make(map[string]struct{}, len(prevAi.Addrs)) + combinedAddrs := make([]ma.Multiaddr, 0, len(prevAi.Addrs)) + addAddrs := func(addrs []ma.Multiaddr) { + for _, addr := range addrs { + if _, ok := seen[addr.String()]; ok { + continue + } + seen[addr.String()] = struct{}{} + combinedAddrs = append(combinedAddrs, addr) + } + } + addAddrs(prevAi.Addrs) + addAddrs(newAi.Addrs) + if len(combinedAddrs) > len(prevAi.Addrs) { combinedAi := &peer.AddrInfo{ID: prevAi.ID, Addrs: combinedAddrs} return combinedAi diff --git a/vendor/github.com/libp2p/go-libp2p-discovery/backoffconnector.go b/vendor/github.com/libp2p/go-libp2p/p2p/discovery/backoff/backoffconnector.go similarity index 99% rename from vendor/github.com/libp2p/go-libp2p-discovery/backoffconnector.go rename to vendor/github.com/libp2p/go-libp2p/p2p/discovery/backoff/backoffconnector.go index 6f6c58f63..62ac49897 100644 --- a/vendor/github.com/libp2p/go-libp2p-discovery/backoffconnector.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/discovery/backoff/backoffconnector.go @@ -1,11 +1,12 @@ -package discovery +package backoff import ( "context" - lru "github.com/hashicorp/golang-lru" "sync" "time" + lru "github.com/hashicorp/golang-lru" + "github.com/libp2p/go-libp2p-core/host" "github.com/libp2p/go-libp2p-core/peer" ) diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/discovery/routing/routing.go b/vendor/github.com/libp2p/go-libp2p/p2p/discovery/routing/routing.go deleted file mode 100644 index ed010617c..000000000 --- a/vendor/github.com/libp2p/go-libp2p/p2p/discovery/routing/routing.go +++ /dev/null @@ -1,112 +0,0 @@ -package routing - -import ( - "context" - "time" - - "github.com/libp2p/go-libp2p-core/discovery" - "github.com/libp2p/go-libp2p-core/peer" - "github.com/libp2p/go-libp2p-core/routing" - - "github.com/ipfs/go-cid" - mh "github.com/multiformats/go-multihash" -) - -// RoutingDiscovery is an implementation of discovery using ContentRouting. -// Namespaces are translated to Cids using the SHA256 hash. -type RoutingDiscovery struct { - routing.ContentRouting -} - -func NewRoutingDiscovery(router routing.ContentRouting) *RoutingDiscovery { - return &RoutingDiscovery{router} -} - -func (d *RoutingDiscovery) Advertise(ctx context.Context, ns string, opts ...discovery.Option) (time.Duration, error) { - var options discovery.Options - err := options.Apply(opts...) - if err != nil { - return 0, err - } - - ttl := options.Ttl - if ttl == 0 || ttl > 3*time.Hour { - // the DHT provider record validity is 24hrs, but it is recommnded to republish at least every 6hrs - // we go one step further and republish every 3hrs - ttl = 3 * time.Hour - } - - cid, err := nsToCid(ns) - if err != nil { - return 0, err - } - - // this context requires a timeout; it determines how long the DHT looks for - // closest peers to the key/CID before it goes on to provide the record to them. - // Not setting a timeout here will make the DHT wander forever. - pctx, cancel := context.WithTimeout(ctx, 60*time.Second) - defer cancel() - - err = d.Provide(pctx, cid, true) - if err != nil { - return 0, err - } - - return ttl, nil -} - -func (d *RoutingDiscovery) FindPeers(ctx context.Context, ns string, opts ...discovery.Option) (<-chan peer.AddrInfo, error) { - var options discovery.Options - err := options.Apply(opts...) - if err != nil { - return nil, err - } - - limit := options.Limit - if limit == 0 { - limit = 100 // that's just arbitrary, but FindProvidersAsync needs a count - } - - cid, err := nsToCid(ns) - if err != nil { - return nil, err - } - - return d.FindProvidersAsync(ctx, cid, limit), nil -} - -func nsToCid(ns string) (cid.Cid, error) { - h, err := mh.Sum([]byte(ns), mh.SHA2_256, -1) - if err != nil { - return cid.Undef, err - } - - return cid.NewCidV1(cid.Raw, h), nil -} - -func NewDiscoveryRouting(disc discovery.Discovery, opts ...discovery.Option) *DiscoveryRouting { - return &DiscoveryRouting{disc, opts} -} - -type DiscoveryRouting struct { - discovery.Discovery - opts []discovery.Option -} - -func (r *DiscoveryRouting) Provide(ctx context.Context, c cid.Cid, bcast bool) error { - if !bcast { - return nil - } - - _, err := r.Advertise(ctx, cidToNs(c), r.opts...) - return err -} - -func (r *DiscoveryRouting) FindProvidersAsync(ctx context.Context, c cid.Cid, limit int) <-chan peer.AddrInfo { - ch, _ := r.FindPeers(ctx, cidToNs(c), append([]discovery.Option{discovery.Limit(limit)}, r.opts...)...) - return ch -} - -func cidToNs(c cid.Cid) string { - return "/provider/" + c.String() -} diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/autonat/client.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/autonat/client.go index 83b13cc0f..f4eb08ad3 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/host/autonat/client.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/host/autonat/client.go @@ -31,6 +31,10 @@ type client struct { // DialBack asks peer p to dial us back on all addresses returned by the addrFunc. // It blocks until we've received a response from the peer. +// +// Note: A returned error Message_E_DIAL_ERROR does not imply that the server +// actually performed a dial attempt. Servers that run a version < v0.20.0 also +// return Message_E_DIAL_ERROR if the dial was skipped due to the dialPolicy. func (c *client) DialBack(ctx context.Context, p peer.ID) (ma.Multiaddr, error) { s, err := c.h.NewStream(ctx, p, AutoNATProto) if err != nil { diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/autonat/notify.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/autonat/notify.go index c5811f160..fb8e980af 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/host/autonat/notify.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/host/autonat/notify.go @@ -15,12 +15,6 @@ func (as *AmbientAutoNAT) Listen(net network.Network, a ma.Multiaddr) {} // ListenClose is part of the network.Notifiee interface func (as *AmbientAutoNAT) ListenClose(net network.Network, a ma.Multiaddr) {} -// OpenedStream is part of the network.Notifiee interface -func (as *AmbientAutoNAT) OpenedStream(net network.Network, s network.Stream) {} - -// ClosedStream is part of the network.Notifiee interface -func (as *AmbientAutoNAT) ClosedStream(net network.Network, s network.Stream) {} - // Connected is part of the network.Notifiee interface func (as *AmbientAutoNAT) Connected(net network.Network, c network.Conn) { if c.Stat().Direction == network.DirInbound && diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/autonat/svc.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/autonat/svc.go index 96d6f47fb..fc1fc3a8a 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/host/autonat/svc.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/host/autonat/svc.go @@ -126,7 +126,8 @@ func (as *autoNATService) handleDial(p peer.ID, obsaddr ma.Multiaddr, mpi *pb.Me // need to know their public IP address, and it needs to be different from our public IP // address. if as.config.dialPolicy.skipDial(obsaddr) { - return newDialResponseError(pb.Message_E_DIAL_ERROR, "refusing to dial peer with blocked observed address") + // Note: versions < v0.20.0 return Message_E_DIAL_ERROR here, thus we can not rely on this error code. + return newDialResponseError(pb.Message_E_DIAL_REFUSED, "refusing to dial peer with blocked observed address") } // Determine the peer's IP address. @@ -187,7 +188,8 @@ func (as *autoNATService) handleDial(p peer.ID, obsaddr ma.Multiaddr, mpi *pb.Me } if len(addrs) == 0 { - return newDialResponseError(pb.Message_E_DIAL_ERROR, "no dialable addresses") + // Note: versions < v0.20.0 return Message_E_DIAL_ERROR here, thus we can not rely on this error code. + return newDialResponseError(pb.Message_E_DIAL_REFUSED, "no dialable addresses") } return as.doDial(peer.AddrInfo{ID: p, Addrs: addrs}) diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/autorelay.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/autorelay.go index 7f81fa954..370ea22b4 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/autorelay.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/autorelay.go @@ -2,532 +2,145 @@ package autorelay import ( "context" - "errors" - "fmt" - "math/rand" "sync" - "sync/atomic" - "time" - - "golang.org/x/sync/errgroup" - - "github.com/libp2p/go-libp2p-core/discovery" - "github.com/libp2p/go-libp2p-core/event" - "github.com/libp2p/go-libp2p-core/network" - "github.com/libp2p/go-libp2p-core/peer" - "github.com/libp2p/go-libp2p-core/routing" basic "github.com/libp2p/go-libp2p/p2p/host/basic" - relayv1 "github.com/libp2p/go-libp2p/p2p/protocol/circuitv1/relay" - circuitv2 "github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/client" - circuitv2_proto "github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/proto" + "github.com/libp2p/go-libp2p-core/event" + "github.com/libp2p/go-libp2p-core/host" + "github.com/libp2p/go-libp2p-core/network" + "github.com/libp2p/go-libp2p-core/peer" + + logging "github.com/ipfs/go-log/v2" ma "github.com/multiformats/go-multiaddr" - manet "github.com/multiformats/go-multiaddr/net" ) -const ( - RelayRendezvous = "/libp2p/relay" +var log = logging.Logger("autorelay") - rsvpRefreshInterval = time.Minute - rsvpExpirationSlack = 2 * time.Minute - - autorelayTag = "autorelay" - - protoIDv1 = string(relayv1.ProtoID) - protoIDv2 = string(circuitv2_proto.ProtoIDv2Hop) -) - -var ( - DesiredRelays = 1 - - BootDelay = 20 * time.Second -) - -// DefaultRelays are the known PL-operated v1 relays; will be decommissioned in 2022. -var DefaultRelays = []string{ - "/ip4/147.75.80.110/tcp/4001/p2p/QmbFgm5zan8P6eWWmeyfncR5feYEMPbht5b1FW1C37aQ7y", - "/ip4/147.75.80.110/udp/4001/quic/p2p/QmbFgm5zan8P6eWWmeyfncR5feYEMPbht5b1FW1C37aQ7y", - "/ip4/147.75.195.153/tcp/4001/p2p/QmW9m57aiBDHAkKj9nmFSEn7ZqrcF1fZS4bipsTCHburei", - "/ip4/147.75.195.153/udp/4001/quic/p2p/QmW9m57aiBDHAkKj9nmFSEn7ZqrcF1fZS4bipsTCHburei", - "/ip4/147.75.70.221/tcp/4001/p2p/Qme8g49gm3q4Acp7xWBKg3nAa9fxZ1YmyDJdyGgoG6LsXh", - "/ip4/147.75.70.221/udp/4001/quic/p2p/Qme8g49gm3q4Acp7xWBKg3nAa9fxZ1YmyDJdyGgoG6LsXh", -} - -var defaultStaticRelays []peer.AddrInfo - -func init() { - for _, s := range DefaultRelays { - pi, err := peer.AddrInfoFromString(s) - if err != nil { - panic(fmt.Sprintf("failed to initialize default static relays: %s", err)) - } - defaultStaticRelays = append(defaultStaticRelays, *pi) - } -} - -type Option func(*AutoRelay) error -type StaticRelayOption Option - -func WithStaticRelays(static []peer.AddrInfo) StaticRelayOption { - return func(r *AutoRelay) error { - if len(r.static) > 0 { - return errors.New("can't set static relays, static relays already configured") - } - r.static = static - return nil - } -} - -func WithDefaultStaticRelays() StaticRelayOption { - return WithStaticRelays(defaultStaticRelays) -} - -func WithDiscoverer(discover discovery.Discoverer) Option { - return func(r *AutoRelay) error { - r.discover = discover - return nil - } -} - -// AutoRelay is a Host that uses relays for connectivity when a NAT is detected. type AutoRelay struct { - host *basic.BasicHost - discover discovery.Discoverer - router routing.PeerRouting - addrsF basic.AddrsFactory - - static []peer.AddrInfo - refCount sync.WaitGroup + ctx context.Context ctxCancel context.CancelFunc - relayFound chan struct{} - findRelaysRunning int32 // to be used as an atomic + conf *config mx sync.Mutex - relays map[peer.ID]*circuitv2.Reservation // rsvp will be nil if it is a v1 relay status network.Reachability - cachedAddrs []ma.Multiaddr - cachedAddrsExpiry time.Time + relayFinder *relayFinder + + peerChanOut chan peer.AddrInfo // capacity 20 + + host host.Host + addrsF basic.AddrsFactory } -func NewAutoRelay(bhost *basic.BasicHost, router routing.PeerRouting, opts ...Option) (*AutoRelay, error) { - ctx, cancel := context.WithCancel(context.Background()) - ar := &AutoRelay{ - ctxCancel: cancel, - host: bhost, - router: router, - addrsF: bhost.AddrsFactory, - relays: make(map[peer.ID]*circuitv2.Reservation), - relayFound: make(chan struct{}, 1), - status: network.ReachabilityUnknown, +func NewAutoRelay(bhost *basic.BasicHost, opts ...Option) (*AutoRelay, error) { + r := &AutoRelay{ + host: bhost, + addrsF: bhost.AddrsFactory, + status: network.ReachabilityUnknown, } + conf := defaultConfig for _, opt := range opts { - if err := opt(ar); err != nil { + if err := opt(&conf); err != nil { return nil, err } } - bhost.AddrsFactory = ar.hostAddrs - ar.refCount.Add(1) - go ar.background(ctx) - return ar, nil + r.ctx, r.ctxCancel = context.WithCancel(context.Background()) + r.peerChanOut = make(chan peer.AddrInfo, conf.maxCandidates) + r.conf = &conf + r.relayFinder = newRelayFinder(bhost, r.peerChanOut, &conf) + bhost.AddrsFactory = r.hostAddrs + + r.refCount.Add(1) + go func() { + defer r.refCount.Done() + r.background() + }() + return r, nil } -func (ar *AutoRelay) hostAddrs(addrs []ma.Multiaddr) []ma.Multiaddr { - return ar.relayAddrs(ar.addrsF(addrs)) -} - -func (ar *AutoRelay) background(ctx context.Context) { - defer ar.refCount.Done() - - subReachability, err := ar.host.EventBus().Subscribe(new(event.EvtLocalReachabilityChanged)) +func (r *AutoRelay) background() { + subReachability, err := r.host.EventBus().Subscribe(new(event.EvtLocalReachabilityChanged)) if err != nil { - log.Error("failed to subscribe to the EvtLocalReachabilityChanged") + log.Debug("failed to subscribe to the EvtLocalReachabilityChanged") return } defer subReachability.Close() - subConnectedness, err := ar.host.EventBus().Subscribe(new(event.EvtPeerConnectednessChanged)) - if err != nil { - log.Error("failed to subscribe to the EvtPeerConnectednessChanged") - return - } - defer subConnectedness.Close() - ticker := time.NewTicker(rsvpRefreshInterval) - defer ticker.Stop() + var peerChan <-chan peer.AddrInfo + if len(r.conf.staticRelays) == 0 { + peerChan = r.conf.peerChan + } else { + pc := make(chan peer.AddrInfo) + peerChan = pc + r.refCount.Add(1) + go func() { + defer r.refCount.Done() + for _, sr := range r.conf.staticRelays { + select { + case pc <- sr: + case <-r.ctx.Done(): + return + } + } + }() + } for { - // when true, we need to identify push - var push bool - select { - case ev, ok := <-subConnectedness.Out(): - if !ok { - return - } - evt := ev.(event.EvtPeerConnectednessChanged) - switch evt.Connectedness { - case network.Connected: - // If we just connect to one of our static relays, get a reservation immediately. - for _, pi := range ar.static { - if pi.ID == evt.Peer { - rsvp, ok := ar.tryRelay(ctx, pi) - if ok { - ar.mx.Lock() - ar.relays[pi.ID] = rsvp - ar.mx.Unlock() - } - push = true - break - } - } - case network.NotConnected: - ar.mx.Lock() - if ar.usingRelay(evt.Peer) { // we were disconnected from a relay - delete(ar.relays, evt.Peer) - push = true - } - ar.mx.Unlock() - } + case <-r.ctx.Done(): + return case ev, ok := <-subReachability.Out(): if !ok { return } + // TODO: push changed addresses evt := ev.(event.EvtLocalReachabilityChanged) - - if evt.Reachability == network.ReachabilityPrivate { - // findRelays is a long-lived task (runs up to 2.5 minutes) - // Make sure we only start it once. - if atomic.CompareAndSwapInt32(&ar.findRelaysRunning, 0, 1) { - go func() { - defer atomic.StoreInt32(&ar.findRelaysRunning, 0) - ar.findRelays(ctx) - }() + switch evt.Reachability { + case network.ReachabilityPrivate, network.ReachabilityUnknown: + if err := r.relayFinder.Start(); err != nil { + log.Errorw("failed to start relay finder", "error", err) } + case network.ReachabilityPublic: + r.relayFinder.Stop() } - - ar.mx.Lock() - // if our reachability changed - if ar.status != evt.Reachability && evt.Reachability != network.ReachabilityUnknown { - push = true - } - ar.status = evt.Reachability - ar.mx.Unlock() - case <-ar.relayFound: - push = true - case now := <-ticker.C: - push = ar.refreshReservations(ctx, now) - case <-ctx.Done(): - return - } - - if push { - ar.mx.Lock() - ar.cachedAddrs = nil - ar.mx.Unlock() - ar.host.SignalAddressChange() - } - } -} - -func (ar *AutoRelay) refreshReservations(ctx context.Context, now time.Time) bool { - ar.mx.Lock() - if ar.status == network.ReachabilityPublic { - // we are public, forget about the relays, unprotect peers - for p := range ar.relays { - ar.host.ConnManager().Unprotect(p, autorelayTag) - delete(ar.relays, p) - } - - ar.mx.Unlock() - return true - } - - if len(ar.relays) == 0 { - ar.mx.Unlock() - return false - } - - // find reservations about to expire and refresh them in parallel - g := new(errgroup.Group) - for p, rsvp := range ar.relays { - if rsvp == nil { - // this is a circuitv1 relay, there is no reservation - continue - } - if now.Add(rsvpExpirationSlack).Before(rsvp.Expiration) { - continue - } - - p := p - g.Go(func() error { return ar.refreshRelayReservation(ctx, p) }) - } - ar.mx.Unlock() - - err := g.Wait() - return err != nil -} - -func (ar *AutoRelay) refreshRelayReservation(ctx context.Context, p peer.ID) error { - rsvp, err := circuitv2.Reserve(ctx, ar.host, peer.AddrInfo{ID: p}) - - ar.mx.Lock() - defer ar.mx.Unlock() - - if err != nil { - log.Debugf("failed to refresh relay slot reservation with %s: %s", p, err) - - delete(ar.relays, p) - // unprotect the connection - ar.host.ConnManager().Unprotect(p, autorelayTag) - } else { - log.Debugf("refreshed relay slot reservation with %s", p) - ar.relays[p] = rsvp - } - - return err -} - -func (ar *AutoRelay) findRelays(ctx context.Context) { - timer := time.NewTimer(30 * time.Second) - defer timer.Stop() - for retry := 0; retry < 5; retry++ { - if retry > 0 { - log.Debug("no relays connected; retrying in 30s") + r.mx.Lock() + r.status = evt.Reachability + r.mx.Unlock() + case pi := <-peerChan: select { - case <-timer.C: - case <-ctx.Done(): - return + case r.peerChanOut <- pi: // if there's space in the channel, great + default: + // no space left in the channel. Drop the oldest entry. + select { + case <-r.peerChanOut: + default: // The consumer might just have emptied the channel. Make sure we don't block in that case. + } + r.peerChanOut <- pi } } - - if foundAtLeastOneRelay := ar.findRelaysOnce(ctx); foundAtLeastOneRelay { - return - } } } -func (ar *AutoRelay) findRelaysOnce(ctx context.Context) bool { - relays, err := ar.discoverRelays(ctx) - if err != nil { - log.Debugf("error discovering relays: %s", err) - return false - } - log.Debugf("discovered %d relays", len(relays)) - relays = ar.selectRelays(ctx, relays) - log.Debugf("selected %d relays", len(relays)) - - var found bool - for _, pi := range relays { - ar.mx.Lock() - relayInUse := ar.usingRelay(pi.ID) - ar.mx.Unlock() - if relayInUse { - continue - } - rsvp, ok := ar.tryRelay(ctx, pi) - if !ok { - continue - } - // make sure we're still connected. - if ar.host.Network().Connectedness(pi.ID) != network.Connected { - continue - } - found = true - ar.mx.Lock() - ar.relays[pi.ID] = rsvp - // protect the connection - ar.host.ConnManager().Protect(pi.ID, autorelayTag) - numRelays := len(ar.relays) - ar.mx.Unlock() - - if numRelays >= DesiredRelays { - break - } - } - if found { - ar.relayFound <- struct{}{} - return true - } - return false +func (r *AutoRelay) hostAddrs(addrs []ma.Multiaddr) []ma.Multiaddr { + return r.relayAddrs(r.addrsF(addrs)) } -// usingRelay returns if we're currently using the given relay. -func (ar *AutoRelay) usingRelay(p peer.ID) bool { - _, ok := ar.relays[p] - return ok -} +func (r *AutoRelay) relayAddrs(addrs []ma.Multiaddr) []ma.Multiaddr { + r.mx.Lock() + defer r.mx.Unlock() -// addRelay adds the given relay to our set of relays. -// returns true when we add a new relay -func (ar *AutoRelay) tryRelay(ctx context.Context, pi peer.AddrInfo) (*circuitv2.Reservation, bool) { - if !ar.connect(ctx, pi) { - return nil, false - } - - protos, err := ar.host.Peerstore().SupportsProtocols(pi.ID, protoIDv1, protoIDv2) - if err != nil { - log.Debugf("error checking relay protocol support for peer %s: %s", pi.ID, err) - return nil, false - } - - var supportsv1, supportsv2 bool -protoLoop: - for _, proto := range protos { - switch proto { - case protoIDv1: - supportsv1 = true - case protoIDv2: - supportsv2 = true - break protoLoop - } - } - - switch { - case supportsv2: - rsvp, err := circuitv2.Reserve(ctx, ar.host, pi) - if err != nil { - log.Debugf("error reserving slot with %s: %s", pi.ID, err) - return nil, false - } - return rsvp, true - case supportsv1: - ok, err := relayv1.CanHop(ctx, ar.host, pi.ID) - if err != nil { - log.Debugf("error querying relay %s for v1 hop: %s", pi.ID, err) - return nil, false - } - return nil, ok - default: // supports neither, unusable relay. - return nil, false - } -} - -func (ar *AutoRelay) connect(ctx context.Context, pi peer.AddrInfo) bool { - ctx, cancel := context.WithTimeout(ctx, 60*time.Second) - defer cancel() - - if len(pi.Addrs) == 0 { - var err error - pi, err = ar.router.FindPeer(ctx, pi.ID) - if err != nil { - log.Debugf("error finding relay peer %s: %s", pi.ID, err.Error()) - return false - } - } - - err := ar.host.Connect(ctx, pi) - if err != nil { - log.Debugf("error connecting to relay %s: %s", pi.ID, err.Error()) - return false - } - - // wait for identify to complete in at least one conn so that we can check the supported protocols - conns := ar.host.Network().ConnsToPeer(pi.ID) - if len(conns) == 0 { - return false - } - - ready := make(chan struct{}, len(conns)) - for _, conn := range conns { - go func(conn network.Conn) { - select { - case <-ar.host.IDService().IdentifyWait(conn): - ready <- struct{}{} - case <-ctx.Done(): - } - }(conn) - } - - select { - case <-ready: - case <-ctx.Done(): - return false - } - - return true -} - -func (ar *AutoRelay) discoverRelays(ctx context.Context) ([]peer.AddrInfo, error) { - if len(ar.static) > 0 { - return ar.static, nil - } - - ctx, cancel := context.WithTimeout(ctx, 30*time.Second) - defer cancel() - var ret []peer.AddrInfo - ch, err := ar.discover.FindPeers(ctx, RelayRendezvous, discovery.Limit(1000)) - if err != nil { - return nil, err - } - for p := range ch { - ret = append(ret, p) - } - return ret, nil -} - -func (ar *AutoRelay) selectRelays(ctx context.Context, pis []peer.AddrInfo) []peer.AddrInfo { - // TODO: better relay selection strategy; this just selects random relays, - // but we should probably use ping latency as the selection metric - rand.Shuffle(len(pis), func(i, j int) { - pis[i], pis[j] = pis[j], pis[i] - }) - return pis -} - -// This function is computes the NATed relay addrs when our status is private: -// - The public addrs are removed from the address set. -// - The non-public addrs are included verbatim so that peers behind the same NAT/firewall -// can still dial us directly. -// - On top of those, we add the relay-specific addrs for the relays to which we are -// connected. For each non-private relay addr, we encapsulate the p2p-circuit addr -// through which we can be dialed. -func (ar *AutoRelay) relayAddrs(addrs []ma.Multiaddr) []ma.Multiaddr { - ar.mx.Lock() - defer ar.mx.Unlock() - - if ar.status != network.ReachabilityPrivate { + if r.status != network.ReachabilityPrivate { return addrs } - - if ar.cachedAddrs != nil && time.Now().Before(ar.cachedAddrsExpiry) { - return ar.cachedAddrs - } - - raddrs := make([]ma.Multiaddr, 0, 4*len(ar.relays)+4) - - // only keep private addrs from the original addr set - for _, addr := range addrs { - if manet.IsPrivateAddr(addr) { - raddrs = append(raddrs, addr) - } - } - - // add relay specific addrs to the list - for p := range ar.relays { - addrs := cleanupAddressSet(ar.host.Peerstore().Addrs(p)) - - circuit, err := ma.NewMultiaddr(fmt.Sprintf("/p2p/%s/p2p-circuit", p.Pretty())) - if err != nil { - panic(err) - } - - for _, addr := range addrs { - pub := addr.Encapsulate(circuit) - raddrs = append(raddrs, pub) - } - } - - ar.cachedAddrs = raddrs - ar.cachedAddrsExpiry = time.Now().Add(30 * time.Second) - - return raddrs + return r.relayFinder.relayAddrs(addrs) } -func (ar *AutoRelay) Close() error { - ar.ctxCancel() - ar.refCount.Wait() - return nil +func (r *AutoRelay) Close() error { + r.ctxCancel() + err := r.relayFinder.Stop() + r.refCount.Wait() + return err } diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/doc.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/doc.go deleted file mode 100644 index 4955dc5e1..000000000 --- a/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/doc.go +++ /dev/null @@ -1,28 +0,0 @@ -/* -The relay package contains the components necessary to implement the "autorelay" -feature. - -Warning: the internal interfaces are unstable. - -System Components: -- A discovery service to discover public relays. -- An AutoNAT client used to determine if the node is behind a NAT/firewall. -- One or more autonat services, instances of `AutoNATServices`. These are used - by the autonat client. -- One or more relays, instances of `RelayHost`. -- The AutoRelay service. This is the service that actually: - -AutoNATService: https://github.com/libp2p/go-libp2p-autonat-svc -AutoNAT: https://github.com/libp2p/go-libp2p/p2p/host/autonat - -How it works: -- `AutoNATService` instances are instantiated in the bootstrappers (or other - well known publicly reachable hosts) -- `AutoRelay`s are constructed with `libp2p.New(libp2p.Routing(makeDHT))` - They passively discover autonat service instances and test dialability of - their listen address set through them. When the presence of NAT is detected, - they discover relays through the DHT, connect to some of them and begin - advertising relay addresses. The new set of addresses is propagated to - connected peers through the `identify/push` protocol. -*/ -package autorelay diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/log.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/log.go deleted file mode 100644 index 9c4e5ed52..000000000 --- a/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/log.go +++ /dev/null @@ -1,7 +0,0 @@ -package autorelay - -import ( - logging "github.com/ipfs/go-log/v2" -) - -var log = logging.Logger("autorelay") diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/options.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/options.go new file mode 100644 index 000000000..e6119a261 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/options.go @@ -0,0 +1,155 @@ +package autorelay + +import ( + "errors" + "fmt" + "time" + + "github.com/libp2p/go-libp2p-core/peer" +) + +type config struct { + peerChan <-chan peer.AddrInfo + staticRelays []peer.AddrInfo + // see WithMinCandidates + minCandidates int + // see WithMaxCandidates + maxCandidates int + // Delay until we obtain reservations with relays, if we have less than minCandidates candidates. + // See WithBootDelay. + bootDelay time.Duration + // backoff is the time we wait after failing to obtain a reservation with a candidate + backoff time.Duration + // If we fail to obtain a reservation more than maxAttempts, we stop trying. + maxAttempts int + // Number of relays we strive to obtain a reservation with. + desiredRelays int + setMinCandidates bool + enableCircuitV1 bool +} + +var defaultConfig = config{ + minCandidates: 4, + maxCandidates: 20, + bootDelay: 3 * time.Minute, + backoff: time.Hour, + maxAttempts: 3, + desiredRelays: 2, +} + +var errStaticRelaysMinCandidates = errors.New("cannot use WithMinCandidates and WithStaticRelays") + +// DefaultRelays are the known PL-operated v1 relays; will be decommissioned in 2022. +var DefaultRelays = []string{ + "/ip4/147.75.80.110/tcp/4001/p2p/QmbFgm5zan8P6eWWmeyfncR5feYEMPbht5b1FW1C37aQ7y", + "/ip4/147.75.80.110/udp/4001/quic/p2p/QmbFgm5zan8P6eWWmeyfncR5feYEMPbht5b1FW1C37aQ7y", + "/ip4/147.75.195.153/tcp/4001/p2p/QmW9m57aiBDHAkKj9nmFSEn7ZqrcF1fZS4bipsTCHburei", + "/ip4/147.75.195.153/udp/4001/quic/p2p/QmW9m57aiBDHAkKj9nmFSEn7ZqrcF1fZS4bipsTCHburei", + "/ip4/147.75.70.221/tcp/4001/p2p/Qme8g49gm3q4Acp7xWBKg3nAa9fxZ1YmyDJdyGgoG6LsXh", + "/ip4/147.75.70.221/udp/4001/quic/p2p/Qme8g49gm3q4Acp7xWBKg3nAa9fxZ1YmyDJdyGgoG6LsXh", +} + +var defaultStaticRelays []peer.AddrInfo + +func init() { + for _, s := range DefaultRelays { + pi, err := peer.AddrInfoFromString(s) + if err != nil { + panic(fmt.Sprintf("failed to initialize default static relays: %s", err)) + } + defaultStaticRelays = append(defaultStaticRelays, *pi) + } +} + +type Option func(*config) error + +func WithStaticRelays(static []peer.AddrInfo) Option { + return func(c *config) error { + if c.setMinCandidates { + return errStaticRelaysMinCandidates + } + if len(c.staticRelays) > 0 { + return errors.New("can't set static relays, static relays already configured") + } + c.minCandidates = len(static) + c.staticRelays = static + return nil + } +} + +func WithDefaultStaticRelays() Option { + return WithStaticRelays(defaultStaticRelays) +} + +func WithPeerSource(peerChan <-chan peer.AddrInfo) Option { + return func(c *config) error { + c.peerChan = peerChan + return nil + } +} + +// WithNumRelays sets the number of relays we strive to obtain reservations with. +func WithNumRelays(n int) Option { + return func(c *config) error { + c.desiredRelays = n + return nil + } +} + +// WithMaxCandidates sets the number of relay candidates that we buffer. +func WithMaxCandidates(n int) Option { + return func(c *config) error { + c.maxCandidates = n + return nil + } +} + +// WithMinCandidates sets the minimum number of relay candidates we collect before to get a reservation +// with any of them (unless we've been running for longer than the boot delay). +// This is to make sure that we don't just randomly connect to the first candidate that we discover. +func WithMinCandidates(n int) Option { + return func(c *config) error { + if len(c.staticRelays) > 0 { + return errStaticRelaysMinCandidates + } + c.minCandidates = n + c.setMinCandidates = true + return nil + } +} + +// WithBootDelay set the boot delay for finding relays. +// We won't attempt any reservation if we've have less than a minimum number of candidates. +// This prevents us to connect to the "first best" relay, and allows us to carefully select the relay. +// However, in case we haven't found enough relays after the boot delay, we use what we have. +func WithBootDelay(d time.Duration) Option { + return func(c *config) error { + c.bootDelay = d + return nil + } +} + +// WithBackoff sets the time we wait after failing to obtain a reservation with a candidate. +func WithBackoff(d time.Duration) Option { + return func(c *config) error { + c.backoff = d + return nil + } +} + +// WithMaxAttempts sets the number of times we attempt to obtain a reservation with a candidate. +// If we still fail to obtain a reservation, this candidate is dropped. +func WithMaxAttempts(n int) Option { + return func(c *config) error { + c.maxAttempts = n + return nil + } +} + +// WithCircuitV1Support enables support for circuit v1 relays. +func WithCircuitV1Support() Option { + return func(c *config) error { + c.enableCircuitV1 = true + return nil + } +} diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/relay.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/relay.go index 4d7fb0ade..db0d97ec0 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/relay.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/relay.go @@ -1,55 +1,9 @@ package autorelay import ( - "context" - "time" - - "github.com/libp2p/go-libp2p-core/discovery" - ma "github.com/multiformats/go-multiaddr" ) -var ( - // this is purposefully long to require some node stability before advertising as a relay - AdvertiseBootDelay = 15 * time.Minute - AdvertiseTTL = 30 * time.Minute -) - -// Advertise advertises this node as a libp2p relay. -func Advertise(ctx context.Context, advertise discovery.Advertiser) { - go func() { - select { - case <-time.After(AdvertiseBootDelay): - go func() { - for { - ttl, err := advertise.Advertise(ctx, RelayRendezvous, discovery.TTL(AdvertiseTTL)) - if err != nil { - log.Debugf("Error advertising %s: %s", RelayRendezvous, err.Error()) - if ctx.Err() != nil { - return - } - - select { - case <-time.After(2 * time.Minute): - continue - case <-ctx.Done(): - return - } - } - - wait := 7 * ttl / 8 - select { - case <-time.After(wait): - case <-ctx.Done(): - return - } - } - }() - case <-ctx.Done(): - } - }() -} - // Filter filters out all relay addresses. func Filter(addrs []ma.Multiaddr) []ma.Multiaddr { raddrs := make([]ma.Multiaddr, 0, len(addrs)) diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/relay_finder.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/relay_finder.go new file mode 100644 index 000000000..48bc7f7fd --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p/p2p/host/autorelay/relay_finder.go @@ -0,0 +1,612 @@ +package autorelay + +import ( + "context" + "errors" + "fmt" + "math/rand" + "sync" + "time" + + "golang.org/x/sync/errgroup" + + basic "github.com/libp2p/go-libp2p/p2p/host/basic" + relayv1 "github.com/libp2p/go-libp2p/p2p/protocol/circuitv1/relay" + circuitv2 "github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/client" + circuitv2_proto "github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/proto" + + "github.com/libp2p/go-libp2p-core/event" + "github.com/libp2p/go-libp2p-core/network" + "github.com/libp2p/go-libp2p-core/peer" + + ma "github.com/multiformats/go-multiaddr" + manet "github.com/multiformats/go-multiaddr/net" +) + +const ( + protoIDv1 = string(relayv1.ProtoID) + protoIDv2 = string(circuitv2_proto.ProtoIDv2Hop) +) + +// Terminology: +// Candidate: Once we connect to a node and it supports (v1 / v2) relay protocol, +// we call it a candidate, and consider using it as a relay. +// Relay: Out of the list of candidates, we select a relay to connect to. +// Currently, we just randomly select a candidate, but we can employ more sophisticated +// selection strategies here (e.g. by facotring in the RTT). + +const ( + rsvpRefreshInterval = time.Minute + rsvpExpirationSlack = 2 * time.Minute + + autorelayTag = "autorelay" +) + +type candidate struct { + added time.Time + supportsRelayV2 bool + ai peer.AddrInfo + numAttempts int +} + +type candidateOnBackoff struct { + candidate + nextConnAttempt time.Time +} + +// relayFinder is a Host that uses relays for connectivity when a NAT is detected. +type relayFinder struct { + bootTime time.Time + host *basic.BasicHost + + conf *config + + refCount sync.WaitGroup + + ctxCancel context.CancelFunc + ctxCancelMx sync.Mutex + + peerChan <-chan peer.AddrInfo + + candidateFound chan struct{} // receives every time we find a new relay candidate + candidateMx sync.Mutex + candidates map[peer.ID]*candidate + candidatesOnBackoff []*candidateOnBackoff // this slice is always sorted by the nextConnAttempt time + handleNewCandidateTrigger chan struct{} // cap: 1 + + relayUpdated chan struct{} + + relayMx sync.Mutex + relays map[peer.ID]*circuitv2.Reservation // rsvp will be nil if it is a v1 relay + + cachedAddrs []ma.Multiaddr + cachedAddrsExpiry time.Time +} + +func newRelayFinder(host *basic.BasicHost, peerChan <-chan peer.AddrInfo, conf *config) *relayFinder { + r := &relayFinder{ + bootTime: time.Now(), + host: host, + conf: conf, + peerChan: peerChan, + candidates: make(map[peer.ID]*candidate), + candidateFound: make(chan struct{}, 1), + handleNewCandidateTrigger: make(chan struct{}, 1), + relays: make(map[peer.ID]*circuitv2.Reservation), + relayUpdated: make(chan struct{}, 1), + } + return r +} + +func (rf *relayFinder) background(ctx context.Context) { + rf.refCount.Add(1) + go func() { + defer rf.refCount.Done() + rf.findNodes(ctx) + }() + rf.refCount.Add(1) + go func() { + defer rf.refCount.Done() + rf.handleNewCandidates(ctx) + }() + + subConnectedness, err := rf.host.EventBus().Subscribe(new(event.EvtPeerConnectednessChanged)) + if err != nil { + log.Error("failed to subscribe to the EvtPeerConnectednessChanged") + return + } + defer subConnectedness.Close() + + bootDelayTimer := time.NewTimer(rf.conf.bootDelay) + defer bootDelayTimer.Stop() + refreshTicker := time.NewTicker(rsvpRefreshInterval) + defer refreshTicker.Stop() + backoffTicker := time.NewTicker(rf.conf.backoff / 5) + defer backoffTicker.Stop() + + for { + // when true, we need to identify push + var push bool + + select { + case ev, ok := <-subConnectedness.Out(): + if !ok { + return + } + evt := ev.(event.EvtPeerConnectednessChanged) + if evt.Connectedness != network.NotConnected { + continue + } + rf.relayMx.Lock() + if rf.usingRelay(evt.Peer) { // we were disconnected from a relay + log.Debugw("disconnected from relay", "id", evt.Peer) + delete(rf.relays, evt.Peer) + push = true + } + rf.relayMx.Unlock() + case <-rf.candidateFound: + select { + case rf.handleNewCandidateTrigger <- struct{}{}: + default: + } + case <-bootDelayTimer.C: + select { + case rf.handleNewCandidateTrigger <- struct{}{}: + default: + } + case <-rf.relayUpdated: + push = true + case now := <-refreshTicker.C: + push = rf.refreshReservations(ctx, now) + case now := <-backoffTicker.C: + rf.checkForCandidatesOnBackoff(now) + case <-ctx.Done(): + return + } + + if push { + rf.relayMx.Lock() + rf.cachedAddrs = nil + rf.relayMx.Unlock() + rf.host.SignalAddressChange() + } + } +} + +// findNodes accepts nodes from the channel and tests if they support relaying. +// It is run on both public and private nodes. +// It garbage collects old entries, so that nodes doesn't overflow. +// This makes sure that as soon as we need to find relay candidates, we have them available. +func (rf *relayFinder) findNodes(ctx context.Context) { + for { + select { + case pi := <-rf.peerChan: + log.Debugw("found node", "id", pi.ID) + rf.candidateMx.Lock() + numCandidates := len(rf.candidates) + rf.candidateMx.Unlock() + if numCandidates >= rf.conf.maxCandidates { + log.Debugw("skipping node. Already have enough candidates", "id", pi.ID, "num", numCandidates, "max", rf.conf.maxCandidates) + continue + } + rf.refCount.Add(1) + go func() { + defer rf.refCount.Done() + rf.handleNewNode(ctx, pi) + }() + case <-ctx.Done(): + return + } + } +} + +func (rf *relayFinder) notifyNewCandidate() { + select { + case rf.candidateFound <- struct{}{}: + default: + } +} + +// handleNewNode tests if a peer supports circuit v1 or v2. +// This method is only run on private nodes. +// If a peer does, it is added to the candidates map. +// Note that just supporting the protocol doesn't guarantee that we can also obtain a reservation. +func (rf *relayFinder) handleNewNode(ctx context.Context, pi peer.AddrInfo) { + rf.relayMx.Lock() + relayInUse := rf.usingRelay(pi.ID) + rf.relayMx.Unlock() + if relayInUse { + return + } + + ctx, cancel := context.WithTimeout(ctx, 20*time.Second) + defer cancel() + supportsV2, err := rf.tryNode(ctx, pi) + if err != nil { + log.Debugf("node %s not accepted as a candidate: %s", pi.ID, err) + return + } + rf.candidateMx.Lock() + if len(rf.candidates) > rf.conf.maxCandidates { + rf.candidateMx.Unlock() + return + } + log.Debugw("node supports relay protocol", "peer", pi.ID, "supports circuit v2", supportsV2) + rf.candidates[pi.ID] = &candidate{ai: pi, supportsRelayV2: supportsV2} + rf.candidateMx.Unlock() + + rf.notifyNewCandidate() +} + +// tryNode checks if a peer actually supports either circuit v1 or circuit v2. +// It does not modify any internal state. +func (rf *relayFinder) tryNode(ctx context.Context, pi peer.AddrInfo) (supportsRelayV2 bool, err error) { + if err := rf.host.Connect(ctx, pi); err != nil { + return false, fmt.Errorf("error connecting to relay %s: %w", pi.ID, err) + } + + conns := rf.host.Network().ConnsToPeer(pi.ID) + for _, conn := range conns { + if isRelayAddr(conn.RemoteMultiaddr()) { + return false, errors.New("not a public node") + } + } + + // wait for identify to complete in at least one conn so that we can check the supported protocols + ready := make(chan struct{}, 1) + for _, conn := range conns { + go func(conn network.Conn) { + select { + case <-rf.host.IDService().IdentifyWait(conn): + select { + case ready <- struct{}{}: + default: + } + case <-ctx.Done(): + } + }(conn) + } + + select { + case <-ready: + case <-ctx.Done(): + return false, ctx.Err() + } + + protos, err := rf.host.Peerstore().SupportsProtocols(pi.ID, protoIDv1, protoIDv2) + if err != nil { + return false, fmt.Errorf("error checking relay protocol support for peer %s: %w", pi.ID, err) + } + + // If the node speaks both, prefer circuit v2 + var maybeSupportsV1, supportsV2 bool + for _, proto := range protos { + switch proto { + case protoIDv1: + maybeSupportsV1 = true + case protoIDv2: + supportsV2 = true + } + } + + if supportsV2 { + return true, nil + } + + if !rf.conf.enableCircuitV1 && !supportsV2 { + return false, errors.New("doesn't speak circuit v2") + } + if !maybeSupportsV1 && !supportsV2 { + return false, errors.New("doesn't speak circuit v1 or v2") + } + + // The node *may* support circuit v1. + supportsV1, err := relayv1.CanHop(ctx, rf.host, pi.ID) + if err != nil { + return false, fmt.Errorf("CanHop failed: %w", err) + } + if !supportsV1 { + return false, errors.New("doesn't speak circuit v1 or v2") + } + return false, nil +} + +// When a new node that could be a relay is found, we receive a notification on the handleNewCandidateTrigger chan. +// This function makes sure that we only run one instance of handleNewCandidate at once, and buffers +// exactly one more trigger event to run handleNewCandidate. +func (rf *relayFinder) handleNewCandidates(ctx context.Context) { + sem := make(chan struct{}, 1) + for { + select { + case <-ctx.Done(): + return + case <-rf.handleNewCandidateTrigger: + select { + case <-ctx.Done(): + return + case sem <- struct{}{}: + } + rf.handleNewCandidate(ctx) + <-sem + } + } +} + +func (rf *relayFinder) handleNewCandidate(ctx context.Context) { + rf.relayMx.Lock() + numRelays := len(rf.relays) + rf.relayMx.Unlock() + // We're already connected to our desired number of relays. Nothing to do here. + if numRelays == rf.conf.desiredRelays { + return + } + + rf.candidateMx.Lock() + if len(rf.conf.staticRelays) != 0 { + // make sure we read all static relays before continuing + if len(rf.peerChan) > 0 && len(rf.candidates) < rf.conf.minCandidates && time.Since(rf.bootTime) < rf.conf.bootDelay { + rf.candidateMx.Unlock() + return + } + } else if len(rf.relays) == 0 && len(rf.candidates) < rf.conf.minCandidates && time.Since(rf.bootTime) < rf.conf.bootDelay { + // During the startup phase, we don't want to connect to the first candidate that we find. + // Instead, we wait until we've found at least minCandidates, and then select the best of those. + // However, if that takes too long (longer than bootDelay), we still go ahead. + rf.candidateMx.Unlock() + return + } + if len(rf.candidates) == 0 { + rf.candidateMx.Unlock() + return + } + candidates := rf.selectCandidates() + rf.candidateMx.Unlock() + + // We now iterate over the candidates, attempting (sequentially) to get reservations with them, until + // we reach the desired number of relays. + for _, cand := range candidates { + id := cand.ai.ID + rf.relayMx.Lock() + usingRelay := rf.usingRelay(id) + rf.relayMx.Unlock() + if usingRelay { + continue + } + rsvp, err := rf.connectToRelay(ctx, cand) + if err != nil { + log.Debugw("failed to connect to relay", "peer", id, "error", err) + continue + } + log.Debugw("adding new relay", "id", id) + rf.relayMx.Lock() + rf.relays[id] = rsvp + numRelays := len(rf.relays) + rf.relayMx.Unlock() + + rf.host.ConnManager().Protect(id, autorelayTag) // protect the connection + + select { + case rf.relayUpdated <- struct{}{}: + default: + } + if numRelays >= rf.conf.desiredRelays { + break + } + } +} + +func (rf *relayFinder) connectToRelay(ctx context.Context, cand *candidate) (*circuitv2.Reservation, error) { + id := cand.ai.ID + + ctx, cancel := context.WithTimeout(ctx, 10*time.Second) + defer cancel() + + var failed bool + var rsvp *circuitv2.Reservation + + // make sure we're still connected. + if rf.host.Network().Connectedness(id) != network.Connected { + if err := rf.host.Connect(ctx, cand.ai); err != nil { + rf.candidateMx.Lock() + delete(rf.candidates, cand.ai.ID) + rf.candidateMx.Unlock() + return nil, fmt.Errorf("failed to connect: %w", err) + } + } + var err error + if cand.supportsRelayV2 { + rsvp, err = circuitv2.Reserve(ctx, rf.host, cand.ai) + if err != nil { + failed = true + err = fmt.Errorf("failed to reserve slot: %w", err) + } + } + rf.candidateMx.Lock() + defer rf.candidateMx.Unlock() + if failed { + cand.numAttempts++ + delete(rf.candidates, id) + // We failed to obtain a reservation for too many times. We give up. + if cand.numAttempts >= rf.conf.maxAttempts { + return nil, fmt.Errorf("failed to obtain a reservation too may times: %w", err) + } + rf.moveCandidateToBackoff(cand) + return nil, err + } + return rsvp, nil +} + +// must be called with mutex locked +func (rf *relayFinder) moveCandidateToBackoff(cand *candidate) { + if len(rf.candidatesOnBackoff) >= rf.conf.maxCandidates { + log.Debugw("already have enough candidates on backoff. Dropping.", "id", cand.ai.ID) + return + } + log.Debugw("moving candidate to backoff", "id", cand.ai.ID) + backoff := rf.conf.backoff * (1 << (cand.numAttempts - 1)) + // introduce a bit of jitter + backoff = (backoff * time.Duration(16+rand.Intn(8))) / time.Duration(20) + rf.candidatesOnBackoff = append(rf.candidatesOnBackoff, &candidateOnBackoff{ + candidate: *cand, + nextConnAttempt: time.Now().Add(backoff), + }) +} + +func (rf *relayFinder) checkForCandidatesOnBackoff(now time.Time) { + rf.candidateMx.Lock() + defer rf.candidateMx.Unlock() + + for _, cand := range rf.candidatesOnBackoff { + if cand.nextConnAttempt.After(now) { + break + } + if len(rf.candidates) >= rf.conf.maxCandidates { + // drop this candidate if we already have enough others + log.Debugw("cannot move backoff'ed candidate back. Already have enough candidates.", "id", cand.ai.ID) + } else { + log.Debugw("moving backoff'ed candidate back", "id", cand.ai.ID) + rf.candidates[cand.ai.ID] = &candidate{ + added: cand.added, + supportsRelayV2: cand.supportsRelayV2, + ai: cand.ai, + numAttempts: cand.numAttempts, + } + rf.notifyNewCandidate() + } + rf.candidatesOnBackoff = rf.candidatesOnBackoff[1:] + } +} + +func (rf *relayFinder) refreshReservations(ctx context.Context, now time.Time) bool { + rf.relayMx.Lock() + + // find reservations about to expire and refresh them in parallel + g := new(errgroup.Group) + for p, rsvp := range rf.relays { + if rsvp == nil { // this is a circuit v1 relay, there is no reservation + continue + } + if now.Add(rsvpExpirationSlack).Before(rsvp.Expiration) { + continue + } + + p := p + g.Go(func() error { return rf.refreshRelayReservation(ctx, p) }) + } + rf.relayMx.Unlock() + + err := g.Wait() + return err != nil +} + +func (rf *relayFinder) refreshRelayReservation(ctx context.Context, p peer.ID) error { + rsvp, err := circuitv2.Reserve(ctx, rf.host, peer.AddrInfo{ID: p}) + + rf.relayMx.Lock() + defer rf.relayMx.Unlock() + + if err != nil { + log.Debugw("failed to refresh relay slot reservation", "relay", p, "error", err) + + delete(rf.relays, p) + // unprotect the connection + rf.host.ConnManager().Unprotect(p, autorelayTag) + return err + } + + log.Debugw("refreshed relay slot reservation", "relay", p) + rf.relays[p] = rsvp + return nil +} + +// usingRelay returns if we're currently using the given relay. +func (rf *relayFinder) usingRelay(p peer.ID) bool { + _, ok := rf.relays[p] + return ok +} + +// selectCandidates returns an ordered slice of relay candidates. +// Callers should attempt to obtain reservations with the candidates in this order. +func (rf *relayFinder) selectCandidates() []*candidate { + var candidates []*candidate + for _, cand := range rf.candidates { + candidates = append(candidates, cand) + } + + // TODO: better relay selection strategy; this just selects random relays, + // but we should probably use ping latency as the selection metric + rand.Shuffle(len(candidates), func(i, j int) { + candidates[i], candidates[j] = candidates[j], candidates[i] + }) + return candidates +} + +// This function is computes the NATed relay addrs when our status is private: +// - The public addrs are removed from the address set. +// - The non-public addrs are included verbatim so that peers behind the same NAT/firewall +// can still dial us directly. +// - On top of those, we add the relay-specific addrs for the relays to which we are +// connected. For each non-private relay addr, we encapsulate the p2p-circuit addr +// through which we can be dialed. +func (rf *relayFinder) relayAddrs(addrs []ma.Multiaddr) []ma.Multiaddr { + rf.relayMx.Lock() + defer rf.relayMx.Unlock() + + if rf.cachedAddrs != nil && time.Now().Before(rf.cachedAddrsExpiry) { + return rf.cachedAddrs + } + + raddrs := make([]ma.Multiaddr, 0, 4*len(rf.relays)+4) + + // only keep private addrs from the original addr set + for _, addr := range addrs { + if manet.IsPrivateAddr(addr) { + raddrs = append(raddrs, addr) + } + } + + // add relay specific addrs to the list + for p := range rf.relays { + addrs := cleanupAddressSet(rf.host.Peerstore().Addrs(p)) + + circuit := ma.StringCast(fmt.Sprintf("/p2p/%s/p2p-circuit", p.Pretty())) + for _, addr := range addrs { + pub := addr.Encapsulate(circuit) + raddrs = append(raddrs, pub) + } + } + + rf.cachedAddrs = raddrs + rf.cachedAddrsExpiry = time.Now().Add(30 * time.Second) + + return raddrs +} + +func (rf *relayFinder) Start() error { + rf.ctxCancelMx.Lock() + defer rf.ctxCancelMx.Unlock() + if rf.ctxCancel != nil { + return errors.New("relayFinder already running") + } + log.Debug("starting relay finder") + ctx, cancel := context.WithCancel(context.Background()) + rf.ctxCancel = cancel + rf.refCount.Add(1) + go func() { + defer rf.refCount.Done() + rf.background(ctx) + }() + return nil +} + +func (rf *relayFinder) Stop() error { + rf.ctxCancelMx.Lock() + defer rf.ctxCancelMx.Unlock() + log.Debug("stopping relay finder") + if rf.ctxCancel != nil { + rf.ctxCancel() + } + rf.refCount.Wait() + rf.ctxCancel = nil + return nil +} diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/basic/basic_host.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/basic/basic_host.go index 5bcbf5433..9073639ba 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/host/basic/basic_host.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/host/basic/basic_host.go @@ -12,6 +12,7 @@ import ( "github.com/libp2p/go-libp2p/p2p/host/autonat" "github.com/libp2p/go-libp2p/p2p/host/pstoremanager" "github.com/libp2p/go-libp2p/p2p/host/relaysvc" + inat "github.com/libp2p/go-libp2p/p2p/net/nat" relayv2 "github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/relay" "github.com/libp2p/go-libp2p/p2p/protocol/holepunch" "github.com/libp2p/go-libp2p/p2p/protocol/identify" @@ -28,7 +29,6 @@ import ( "github.com/libp2p/go-libp2p-core/record" "github.com/libp2p/go-eventbus" - inat "github.com/libp2p/go-libp2p-nat" "github.com/libp2p/go-netroute" logging "github.com/ipfs/go-log/v2" @@ -376,7 +376,7 @@ func (h *BasicHost) newStreamHandler(s network.Stream) { } } - lzc, protoID, handle, err := h.Mux().NegotiateLazy(s) + protoID, handle, err := h.Mux().Negotiate(s) took := time.Since(before) if err != nil { if err == io.EOF { @@ -392,11 +392,6 @@ func (h *BasicHost) newStreamHandler(s network.Stream) { return } - s = &streamWrapper{ - Stream: s, - rw: lzc, - } - if h.negtimeout > 0 { if err := s.SetDeadline(time.Time{}); err != nil { log.Debugf("resetting stream deadline: ", err) @@ -605,6 +600,17 @@ func (h *BasicHost) RemoveStreamHandler(pid protocol.ID) { // to create one. If ProtocolID is "", writes no header. // (Threadsafe) func (h *BasicHost) NewStream(ctx context.Context, p peer.ID, pids ...protocol.ID) (network.Stream, error) { + // Ensure we have a connection, with peer addresses resolved by the routing system (#207) + // It is not sufficient to let the underlying host connect, it will most likely not have + // any addresses for the peer without any prior connections. + // If the caller wants to prevent the host from dialing, it should use the NoDial option. + if nodial, _ := network.GetNoDial(ctx); !nodial { + err := h.Connect(ctx, peer.AddrInfo{ID: p}) + if err != nil { + return nil, err + } + } + s, err := h.Network().NewStream(ctx, p) if err != nil { return nil, err @@ -1054,6 +1060,10 @@ func (h *BasicHost) Close() error { } h.refCount.Wait() + + if h.Network().ResourceManager() != nil { + h.Network().ResourceManager().Close() + } }) return nil diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/basic/natmgr.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/basic/natmgr.go index 8b41bfa82..120b5d109 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/host/basic/natmgr.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/host/basic/natmgr.go @@ -8,8 +8,10 @@ import ( "sync" "time" + inat "github.com/libp2p/go-libp2p/p2p/net/nat" + "github.com/libp2p/go-libp2p-core/network" - inat "github.com/libp2p/go-libp2p-nat" + ma "github.com/multiformats/go-multiaddr" ) @@ -37,7 +39,7 @@ func NewNATManager(net network.Network) NATManager { // * closing the natManager closes the nat and its mappings. type natManager struct { net network.Network - natmu sync.RWMutex + natMx sync.RWMutex nat *inat.NAT ready chan struct{} // closed once the nat is ready to process port mappings @@ -77,6 +79,14 @@ func (nmgr *natManager) Ready() <-chan struct{} { func (nmgr *natManager) background(ctx context.Context) { defer nmgr.refCount.Done() + defer func() { + nmgr.natMx.Lock() + if nmgr.nat != nil { + nmgr.nat.Close() + } + nmgr.natMx.Unlock() + }() + discoverCtx, cancel := context.WithTimeout(ctx, 10*time.Second) defer cancel() natInstance, err := inat.DiscoverNAT(discoverCtx) @@ -86,9 +96,9 @@ func (nmgr *natManager) background(ctx context.Context) { return } - nmgr.natmu.Lock() + nmgr.natMx.Lock() nmgr.nat = natInstance - nmgr.natmu.Unlock() + nmgr.natMx.Unlock() close(nmgr.ready) // sign natManager up for network notifications @@ -207,8 +217,8 @@ func (nmgr *natManager) doSync() { // (a) the search process is still ongoing, or (b) the search process // found no nat. Clients must check whether the return value is nil. func (nmgr *natManager) NAT() *inat.NAT { - nmgr.natmu.Lock() - defer nmgr.natmu.Unlock() + nmgr.natMx.Lock() + defer nmgr.natMx.Unlock() return nmgr.nat } @@ -226,7 +236,5 @@ func (nn *nmgrNetNotifiee) ListenClose(n network.Network, addr ma.Multiaddr) { nn.natManager().sync() } -func (nn *nmgrNetNotifiee) Connected(network.Network, network.Conn) {} -func (nn *nmgrNetNotifiee) Disconnected(network.Network, network.Conn) {} -func (nn *nmgrNetNotifiee) OpenedStream(network.Network, network.Stream) {} -func (nn *nmgrNetNotifiee) ClosedStream(network.Network, network.Stream) {} +func (nn *nmgrNetNotifiee) Connected(network.Network, network.Conn) {} +func (nn *nmgrNetNotifiee) Disconnected(network.Network, network.Conn) {} diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/basic/peer_connectedness.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/basic/peer_connectedness.go index a0ba17c3d..5460498cc 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/host/basic/peer_connectedness.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/host/basic/peer_connectedness.go @@ -26,10 +26,8 @@ func newPeerConnectWatcher(emitter event.Emitter) *peerConnectWatcher { } } -func (w *peerConnectWatcher) Listen(network.Network, ma.Multiaddr) {} -func (w *peerConnectWatcher) ListenClose(network.Network, ma.Multiaddr) {} -func (w *peerConnectWatcher) OpenedStream(network.Network, network.Stream) {} -func (w *peerConnectWatcher) ClosedStream(network.Network, network.Stream) {} +func (w *peerConnectWatcher) Listen(network.Network, ma.Multiaddr) {} +func (w *peerConnectWatcher) ListenClose(network.Network, ma.Multiaddr) {} func (w *peerConnectWatcher) Connected(n network.Network, conn network.Conn) { p := conn.RemotePeer() diff --git a/vendor/github.com/libp2p/go-libp2p-blankhost/blank.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/blank/blank.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-blankhost/blank.go rename to vendor/github.com/libp2p/go-libp2p/p2p/host/blank/blank.go diff --git a/vendor/github.com/libp2p/go-libp2p-blankhost/peer_connectedness.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/blank/peer_connectedness.go similarity index 89% rename from vendor/github.com/libp2p/go-libp2p-blankhost/peer_connectedness.go rename to vendor/github.com/libp2p/go-libp2p/p2p/host/blank/peer_connectedness.go index 8a0f98c6b..670edc545 100644 --- a/vendor/github.com/libp2p/go-libp2p-blankhost/peer_connectedness.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/host/blank/peer_connectedness.go @@ -26,10 +26,8 @@ func newPeerConnectWatcher(emitter event.Emitter) *peerConnectWatcher { } } -func (w *peerConnectWatcher) Listen(network.Network, ma.Multiaddr) {} -func (w *peerConnectWatcher) ListenClose(network.Network, ma.Multiaddr) {} -func (w *peerConnectWatcher) OpenedStream(network.Network, network.Stream) {} -func (w *peerConnectWatcher) ClosedStream(network.Network, network.Stream) {} +func (w *peerConnectWatcher) Listen(network.Network, ma.Multiaddr) {} +func (w *peerConnectWatcher) ListenClose(network.Network, ma.Multiaddr) {} func (w *peerConnectWatcher) Connected(n network.Network, conn network.Conn) { p := conn.RemotePeer() diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/host/routed/routed.go b/vendor/github.com/libp2p/go-libp2p/p2p/host/routed/routed.go index ba9450e1c..857b5378e 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/host/routed/routed.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/host/routed/routed.go @@ -69,10 +69,9 @@ func (rh *RoutedHost) Connect(ctx context.Context, pi peer.AddrInfo) error { // Issue 448: if our address set includes routed specific relay addrs, // we need to make sure the relay's addr itself is in the peerstore or else - // we wont be able to dial it. + // we won't be able to dial it. for _, addr := range addrs { - _, err := addr.ValueForProtocol(ma.P_CIRCUIT) - if err != nil { + if _, err := addr.ValueForProtocol(ma.P_CIRCUIT); err != nil { // not a relay address continue } @@ -83,8 +82,7 @@ func (rh *RoutedHost) Connect(ctx context.Context, pi peer.AddrInfo) error { } relay, _ := addr.ValueForProtocol(ma.P_P2P) - - relayID, err := peer.IDFromString(relay) + relayID, err := peer.Decode(relay) if err != nil { log.Debugf("failed to parse relay ID in address %s: %s", relay, err) continue diff --git a/vendor/github.com/libp2p/go-libp2p-mplex/conn.go b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/mplex/conn.go similarity index 83% rename from vendor/github.com/libp2p/go-libp2p-mplex/conn.go rename to vendor/github.com/libp2p/go-libp2p/p2p/muxer/mplex/conn.go index c8bcb4788..1abef546f 100644 --- a/vendor/github.com/libp2p/go-libp2p-mplex/conn.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/mplex/conn.go @@ -1,4 +1,4 @@ -package peerstream_multiplex +package mplex import ( "context" @@ -12,6 +12,11 @@ type conn mp.Multiplex var _ network.MuxedConn = &conn{} +// NewMuxedConn constructs a new Conn from a *mp.Multiplex. +func NewMuxedConn(m *mp.Multiplex) network.MuxedConn { + return (*conn)(m) +} + func (c *conn) Close() error { return c.mplex().Close() } diff --git a/vendor/github.com/libp2p/go-libp2p-mplex/stream.go b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/mplex/stream.go similarity index 97% rename from vendor/github.com/libp2p/go-libp2p-mplex/stream.go rename to vendor/github.com/libp2p/go-libp2p/p2p/muxer/mplex/stream.go index 0a841824f..64b70fbde 100644 --- a/vendor/github.com/libp2p/go-libp2p-mplex/stream.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/mplex/stream.go @@ -1,4 +1,4 @@ -package peerstream_multiplex +package mplex import ( "time" diff --git a/vendor/github.com/libp2p/go-libp2p-mplex/transport.go b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/mplex/transport.go similarity index 91% rename from vendor/github.com/libp2p/go-libp2p-mplex/transport.go rename to vendor/github.com/libp2p/go-libp2p/p2p/muxer/mplex/transport.go index 8f9e33a99..f24c1cc7c 100644 --- a/vendor/github.com/libp2p/go-libp2p-mplex/transport.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/mplex/transport.go @@ -1,4 +1,4 @@ -package peerstream_multiplex +package mplex import ( "net" @@ -22,5 +22,5 @@ func (t *Transport) NewConn(nc net.Conn, isServer bool, scope network.PeerScope) if err != nil { return nil, err } - return (*conn)(m), nil + return NewMuxedConn(m), nil } diff --git a/vendor/github.com/libp2p/go-stream-muxer-multistream/multistream.go b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/muxer-multistream/multistream.go similarity index 94% rename from vendor/github.com/libp2p/go-stream-muxer-multistream/multistream.go rename to vendor/github.com/libp2p/go-libp2p/p2p/muxer/muxer-multistream/multistream.go index e4c89bc75..1668c0b90 100644 --- a/vendor/github.com/libp2p/go-stream-muxer-multistream/multistream.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/muxer-multistream/multistream.go @@ -1,6 +1,6 @@ -// Package multistream implements a peerstream transport using +// Package muxer_multistream implements a peerstream transport using // go-multistream to select the underlying stream muxer -package multistream +package muxer_multistream import ( "fmt" diff --git a/vendor/github.com/libp2p/go-libp2p-yamux/conn.go b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/yamux/conn.go similarity index 85% rename from vendor/github.com/libp2p/go-libp2p-yamux/conn.go rename to vendor/github.com/libp2p/go-libp2p/p2p/muxer/yamux/conn.go index 5be7ed362..4feff1dea 100644 --- a/vendor/github.com/libp2p/go-libp2p-yamux/conn.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/yamux/conn.go @@ -1,4 +1,4 @@ -package sm_yamux +package yamux import ( "context" @@ -13,6 +13,11 @@ type conn yamux.Session var _ network.MuxedConn = &conn{} +// NewMuxedConn constructs a new MuxedConn from a yamux.Session. +func NewMuxedConn(m *yamux.Session) network.MuxedConn { + return (*conn)(m) +} + // Close closes underlying yamux func (c *conn) Close() error { return c.yamux().Close() diff --git a/vendor/github.com/libp2p/go-libp2p-yamux/stream.go b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/yamux/stream.go similarity index 98% rename from vendor/github.com/libp2p/go-libp2p-yamux/stream.go rename to vendor/github.com/libp2p/go-libp2p/p2p/muxer/yamux/stream.go index 1a93916a8..f75e77d65 100644 --- a/vendor/github.com/libp2p/go-libp2p-yamux/stream.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/yamux/stream.go @@ -1,4 +1,4 @@ -package sm_yamux +package yamux import ( "time" diff --git a/vendor/github.com/libp2p/go-libp2p-yamux/transport.go b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/yamux/transport.go similarity index 94% rename from vendor/github.com/libp2p/go-libp2p-yamux/transport.go rename to vendor/github.com/libp2p/go-libp2p/p2p/muxer/yamux/transport.go index ea2cd0e56..74ed7145b 100644 --- a/vendor/github.com/libp2p/go-libp2p-yamux/transport.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/muxer/yamux/transport.go @@ -1,4 +1,4 @@ -package sm_yamux +package yamux import ( "io/ioutil" @@ -45,7 +45,10 @@ func (t *Transport) NewConn(nc net.Conn, isServer bool, scope network.PeerScope) } else { s, err = yamux.Client(nc, t.Config(), scope) } - return (*conn)(s), err + if err != nil { + return nil, err + } + return NewMuxedConn(s), nil } func (t *Transport) Config() *yamux.Config { diff --git a/vendor/github.com/libp2p/go-conn-security-multistream/ssms.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/conn-security-multistream/ssms.go similarity index 100% rename from vendor/github.com/libp2p/go-conn-security-multistream/ssms.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/conn-security-multistream/ssms.go diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/net/connmgr/connmgr.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/connmgr/connmgr.go index 9ee587015..b73e3a71d 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/net/connmgr/connmgr.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/connmgr/connmgr.go @@ -686,9 +686,3 @@ func (nn *cmNotifee) Listen(n network.Network, addr ma.Multiaddr) {} // ListenClose is no-op in this implementation. func (nn *cmNotifee) ListenClose(n network.Network, addr ma.Multiaddr) {} - -// OpenedStream is no-op in this implementation. -func (nn *cmNotifee) OpenedStream(network.Network, network.Stream) {} - -// ClosedStream is no-op in this implementation. -func (nn *cmNotifee) ClosedStream(network.Network, network.Stream) {} diff --git a/vendor/github.com/libp2p/go-libp2p-nat/mapping.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/nat/mapping.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-nat/mapping.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/nat/mapping.go diff --git a/vendor/github.com/libp2p/go-libp2p-nat/nat.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/nat/nat.go similarity index 96% rename from vendor/github.com/libp2p/go-libp2p-nat/nat.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/nat/nat.go index dad3226b4..e2656f8bc 100644 --- a/vendor/github.com/libp2p/go-libp2p-nat/nat.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/nat/nat.go @@ -175,7 +175,11 @@ func (nat *NAT) establishMapping(m *mapping) { if err != nil || newport == 0 { m.setExternalPort(0) // clear mapping // TODO: log.Event - log.Warnf("failed to establish port mapping: %s", err) + if err != nil { + log.Warnf("failed to establish port mapping: %s", err) + } else { + log.Warnf("failed to establish port mapping: newport = 0") + } // we do not close if the mapping failed, // because it may work again next time. return diff --git a/vendor/github.com/libp2p/go-libp2p-pnet/protector.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/pnet/protector.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-pnet/protector.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/pnet/protector.go diff --git a/vendor/github.com/libp2p/go-libp2p-pnet/psk_conn.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/pnet/psk_conn.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-pnet/psk_conn.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/pnet/psk_conn.go diff --git a/vendor/github.com/libp2p/go-reuseport-transport/dial.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/dial.go similarity index 99% rename from vendor/github.com/libp2p/go-reuseport-transport/dial.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/dial.go index 12a70b7e3..b998be7d2 100644 --- a/vendor/github.com/libp2p/go-reuseport-transport/dial.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/dial.go @@ -1,4 +1,4 @@ -package tcpreuse +package reuseport import ( "context" diff --git a/vendor/github.com/libp2p/go-reuseport-transport/listen.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/listen.go similarity index 98% rename from vendor/github.com/libp2p/go-reuseport-transport/listen.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/listen.go index 8bb2c4022..4388b35c8 100644 --- a/vendor/github.com/libp2p/go-reuseport-transport/listen.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/listen.go @@ -1,4 +1,4 @@ -package tcpreuse +package reuseport import ( "net" diff --git a/vendor/github.com/libp2p/go-reuseport-transport/multidialer.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/multidialer.go similarity index 99% rename from vendor/github.com/libp2p/go-reuseport-transport/multidialer.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/multidialer.go index edb200f8d..a3b5e2e99 100644 --- a/vendor/github.com/libp2p/go-reuseport-transport/multidialer.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/multidialer.go @@ -1,4 +1,4 @@ -package tcpreuse +package reuseport import ( "context" diff --git a/vendor/github.com/libp2p/go-reuseport-transport/reuseport.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/reuseport.go similarity index 92% rename from vendor/github.com/libp2p/go-reuseport-transport/reuseport.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/reuseport.go index 4299ddc03..27ec45e56 100644 --- a/vendor/github.com/libp2p/go-reuseport-transport/reuseport.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/reuseport.go @@ -1,10 +1,10 @@ -package tcpreuse +package reuseport import ( "context" "net" - reuseport "github.com/libp2p/go-reuseport" + "github.com/libp2p/go-reuseport" ) var fallbackDialer net.Dialer diff --git a/vendor/github.com/libp2p/go-reuseport-transport/reuseport_plan9.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/reuseport_plan9.go similarity index 97% rename from vendor/github.com/libp2p/go-reuseport-transport/reuseport_plan9.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/reuseport_plan9.go index 9318652ce..c40eb2e8b 100644 --- a/vendor/github.com/libp2p/go-reuseport-transport/reuseport_plan9.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/reuseport_plan9.go @@ -1,4 +1,4 @@ -package tcpreuse +package reuseport import ( "net" diff --git a/vendor/github.com/libp2p/go-reuseport-transport/reuseport_posix.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/reuseport_posix.go similarity index 97% rename from vendor/github.com/libp2p/go-reuseport-transport/reuseport_posix.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/reuseport_posix.go index 4f0d89c60..a40035477 100644 --- a/vendor/github.com/libp2p/go-reuseport-transport/reuseport_posix.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/reuseport_posix.go @@ -1,7 +1,7 @@ //go:build !plan9 // +build !plan9 -package tcpreuse +package reuseport import ( "net" diff --git a/vendor/github.com/libp2p/go-reuseport-transport/singledialer.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/singledialer.go similarity index 95% rename from vendor/github.com/libp2p/go-reuseport-transport/singledialer.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/singledialer.go index efb96eb1a..b15dae80b 100644 --- a/vendor/github.com/libp2p/go-reuseport-transport/singledialer.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/singledialer.go @@ -1,4 +1,4 @@ -package tcpreuse +package reuseport import ( "context" diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/transport.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/transport.go new file mode 100644 index 000000000..37fb446cb --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/reuseport/transport.go @@ -0,0 +1,35 @@ +// Package reuseport provides a basic transport for automatically (and intelligently) reusing TCP ports. +// +// To use, construct a new Transport and configure listeners tr.Listen(...). +// When dialing (tr.Dial(...)), the transport will attempt to reuse the ports it's currently listening on, +// choosing the best one depending on the destination address. +// +// It is recommended to set SO_LINGER to 0 for all connections, otherwise +// reusing the port may fail when re-dialing a recently closed connection. +// See https://hea-www.harvard.edu/~fine/Tech/addrinuse.html for details. +package reuseport + +import ( + "errors" + "sync" + + logging "github.com/ipfs/go-log/v2" +) + +var log = logging.Logger("reuseport-transport") + +// ErrWrongProto is returned when dialing a protocol other than tcp. +var ErrWrongProto = errors.New("can only dial TCP over IPv4 or IPv6") + +// Transport is a TCP reuse transport that reuses listener ports. +// The zero value is safe to use. +type Transport struct { + v4 network + v6 network +} + +type network struct { + mu sync.RWMutex + listeners map[*listener]struct{} + dialer dialer +} diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/addrs.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/addrs.go similarity index 75% rename from vendor/github.com/libp2p/go-libp2p-swarm/addrs.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/addrs.go index 09f8df766..392900e06 100644 --- a/vendor/github.com/libp2p/go-libp2p-swarm/addrs.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/addrs.go @@ -2,7 +2,7 @@ package swarm import ( ma "github.com/multiformats/go-multiaddr" - mamask "github.com/whyrusleeping/multiaddr-filter" + manet "github.com/multiformats/go-multiaddr/net" ) // http://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml @@ -26,10 +26,14 @@ func init() { "/ip4/203.0.113.0/ipcidr/24", "/ip4/240.0.0.0/ipcidr/4", } { - f, err := mamask.NewMask(p) + f, err := ma.NewMultiaddr(p) if err != nil { panic("error in lowTimeoutFilters init: " + err.Error()) } - lowTimeoutFilters.AddFilter(*f, ma.ActionDeny) + ipnet, err := manet.MultiaddrToIPNet(f) + if err != nil { + panic("error in lowTimeoutFilters init: " + err.Error()) + } + lowTimeoutFilters.AddFilter(*ipnet, ma.ActionDeny) } } diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/dial_error.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/dial_error.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-swarm/dial_error.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/dial_error.go diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/dial_sync.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/dial_sync.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-swarm/dial_sync.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/dial_sync.go diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/dial_worker.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/dial_worker.go similarity index 97% rename from vendor/github.com/libp2p/go-libp2p-swarm/dial_worker.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/dial_worker.go index 8d5d43419..cf9dfe592 100644 --- a/vendor/github.com/libp2p/go-libp2p-swarm/dial_worker.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/dial_worker.go @@ -89,9 +89,9 @@ loop: return } - c := w.s.bestAcceptableConnToPeer(req.ctx, w.peer) - if c != nil { - req.resch <- dialResponse{conn: c} + c, err := w.s.bestAcceptableConnToPeer(req.ctx, w.peer) + if c != nil || err != nil { + req.resch <- dialResponse{conn: c, err: err} continue loop } @@ -255,7 +255,7 @@ func (w *dialWorker) dispatchError(ad *addrDial, err error) { // all addrs have erred, dispatch dial error // but first do a last one check in case an acceptable connection has landed from // a simultaneous dial that started later and added new acceptable addrs - c := w.s.bestAcceptableConnToPeer(pr.req.ctx, w.peer) + c, _ := w.s.bestAcceptableConnToPeer(pr.req.ctx, w.peer) if c != nil { pr.req.resch <- dialResponse{conn: c} } else { diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/limiter.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/limiter.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-swarm/limiter.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/limiter.go diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/swarm.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm.go similarity index 95% rename from vendor/github.com/libp2p/go-libp2p-swarm/swarm.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm.go index 9df184037..532ae2445 100644 --- a/vendor/github.com/libp2p/go-libp2p-swarm/swarm.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm.go @@ -350,7 +350,11 @@ func (s *Swarm) NewStream(ctx context.Context, p peer.ID) (network.Stream, error dials := 0 for { // will prefer direct connections over relayed connections for opening streams - c := s.bestConnToPeer(p) + c, err := s.bestAcceptableConnToPeer(ctx, p) + if err != nil { + return nil, err + } + if c == nil { if nodial, _ := network.GetNoDial(ctx); nodial { return nil, network.ErrNoConn @@ -447,15 +451,26 @@ func (s *Swarm) bestConnToPeer(p peer.ID) *Conn { return best } -func (s *Swarm) bestAcceptableConnToPeer(ctx context.Context, p peer.ID) *Conn { +// - Returns the best "acceptable" connection, if available. +// - Returns nothing if no such connection exists, but if we should try dialing anyways. +// - Returns an error if no such connection exists, but we should not try dialing. +func (s *Swarm) bestAcceptableConnToPeer(ctx context.Context, p peer.ID) (*Conn, error) { conn := s.bestConnToPeer(p) - if conn != nil { - forceDirect, _ := network.GetForceDirectDial(ctx) - if !forceDirect || isDirectConn(conn) { - return conn - } + if conn == nil { + return nil, nil } - return nil + + forceDirect, _ := network.GetForceDirectDial(ctx) + if forceDirect && !isDirectConn(conn) { + return nil, nil + } + + useTransient, _ := network.GetUseTransient(ctx) + if useTransient || !conn.Stat().Transient { + return conn, nil + } + + return nil, network.ErrTransientConn } func isDirectConn(c *Conn) bool { @@ -541,18 +556,10 @@ func (s *Swarm) Backoff() *DialBackoff { // notifyAll sends a signal to all Notifiees func (s *Swarm) notifyAll(notify func(network.Notifiee)) { - var wg sync.WaitGroup - s.notifs.RLock() - wg.Add(len(s.notifs.m)) for f := range s.notifs.m { - go func(f network.Notifiee) { - defer wg.Done() - notify(f) - }(f) + notify(f) } - - wg.Wait() s.notifs.RUnlock() } diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/swarm_addr.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_addr.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-swarm/swarm_addr.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_addr.go diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/swarm_conn.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_conn.go similarity index 95% rename from vendor/github.com/libp2p/go-libp2p-swarm/swarm_conn.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_conn.go index 77b2defb5..64fb2ed5d 100644 --- a/vendor/github.com/libp2p/go-libp2p-swarm/swarm_conn.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_conn.go @@ -233,17 +233,7 @@ func (c *Conn) addStream(ts network.MuxedStream, dir network.Direction, scope ne // firing (in Swarm.remove). c.swarm.refs.Add(1) - // Take the notification lock before releasing the streams lock to block - // StreamClose notifications until after the StreamOpen notifications - // done. - s.notifyLk.Lock() c.streams.Unlock() - - c.swarm.notifyAll(func(f network.Notifiee) { - f.OpenedStream(c.swarm, s) - }) - s.notifyLk.Unlock() - return s, nil } diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/swarm_dial.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_dial.go similarity index 94% rename from vendor/github.com/libp2p/go-libp2p-swarm/swarm_dial.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_dial.go index ca11d7326..927560281 100644 --- a/vendor/github.com/libp2p/go-libp2p-swarm/swarm_dial.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_dial.go @@ -7,6 +7,7 @@ import ( "sync" "time" + "github.com/libp2p/go-libp2p-core/canonicallog" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-core/transport" @@ -65,7 +66,7 @@ const ConcurrentFdDials = 160 // DefaultPerPeerRateLimit is the number of concurrent outbound dials to make // per peer -const DefaultPerPeerRateLimit = 8 +var DefaultPerPeerRateLimit = 8 // dialbackoff is a struct used to avoid over-dialing the same, dead peers. // Whenever we totally time out on a peer (all three attempts), we add them @@ -220,11 +221,6 @@ func (db *DialBackoff) cleanup() { // This allows us to use various transport protocols, do NAT traversal/relay, // etc. to achieve connection. func (s *Swarm) DialPeer(ctx context.Context, p peer.ID) (network.Conn, error) { - if s.gater != nil && !s.gater.InterceptPeerDial(p) { - log.Debugf("gater disallowed outbound connection to peer %s", p.Pretty()) - return nil, &DialError{Peer: p, Cause: ErrGaterDisallowedConnection} - } - // Avoid typed nil issues. c, err := s.dialPeer(ctx, p) if err != nil { @@ -248,10 +244,16 @@ func (s *Swarm) dialPeer(ctx context.Context, p peer.ID) (*Conn, error) { return nil, ErrDialToSelf } - // check if we already have an open (usable) connection first - conn := s.bestAcceptableConnToPeer(ctx, p) - if conn != nil { - return conn, nil + // check if we already have an open (usable) connection first, or can't have a usable + // connection. + conn, err := s.bestAcceptableConnToPeer(ctx, p) + if conn != nil || err != nil { + return conn, err + } + + if s.gater != nil && !s.gater.InterceptPeerDial(p) { + log.Debugf("gater disallowed outbound connection to peer %s", p.Pretty()) + return nil, &DialError{Peer: p, Cause: ErrGaterDisallowedConnection} } // apply the DialPeer timeout @@ -343,14 +345,7 @@ func (s *Swarm) filterKnownUndialables(p peer.ID, addrs []ma.Multiaddr) []ma.Mul } return ma.FilterAddrs(addrs, - func(addr ma.Multiaddr) bool { - for _, a := range ourAddrs { - if a.Equal(addr) { - return false - } - } - return true - }, + func(addr ma.Multiaddr) bool { return !ma.Contains(ourAddrs, addr) }, s.canDial, // TODO: Consider allowing link-local addresses func(addr ma.Multiaddr) bool { return !manet.IsIP6LinkLocal(addr) }, @@ -394,6 +389,7 @@ func (s *Swarm) dialAddr(ctx context.Context, p peer.ID, addr ma.Multiaddr) (tra if err != nil { return nil, err } + canonicallog.LogPeerStatus(100, connC.RemotePeer(), connC.RemoteMultiaddr(), "connection_status", "established", "dir", "outbound") // Trust the transport? Yeah... right. if connC.RemotePeer() != p { @@ -429,9 +425,10 @@ func isFdConsumingAddr(addr ma.Multiaddr) bool { } func isExpensiveAddr(addr ma.Multiaddr) bool { - _, err1 := addr.ValueForProtocol(ma.P_WS) - _, err2 := addr.ValueForProtocol(ma.P_WSS) - return err1 == nil || err2 == nil + _, wsErr := addr.ValueForProtocol(ma.P_WS) + _, wssErr := addr.ValueForProtocol(ma.P_WSS) + _, wtErr := addr.ValueForProtocol(ma.P_WEBTRANSPORT) + return wsErr == nil || wssErr == nil || wtErr == nil } func isRelayAddr(addr ma.Multiaddr) bool { diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/swarm_listen.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_listen.go similarity index 66% rename from vendor/github.com/libp2p/go-libp2p-swarm/swarm_listen.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_listen.go index ca54280c0..9159c5596 100644 --- a/vendor/github.com/libp2p/go-libp2p-swarm/swarm_listen.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_listen.go @@ -4,7 +4,9 @@ import ( "fmt" "time" + "github.com/libp2p/go-libp2p-core/canonicallog" "github.com/libp2p/go-libp2p-core/network" + "github.com/libp2p/go-libp2p-core/transport" ma "github.com/multiformats/go-multiaddr" ) @@ -35,6 +37,27 @@ func (s *Swarm) Listen(addrs ...ma.Multiaddr) error { return nil } +// ListenClose stop and delete listeners for all of the given addresses. +func (s *Swarm) ListenClose(addrs ...ma.Multiaddr) { + var listenersToClose []transport.Listener + + s.listeners.Lock() + for l := range s.listeners.m { + if !containsMultiaddr(addrs, l.Multiaddr()) { + continue + } + + delete(s.listeners.m, l) + listenersToClose = append(listenersToClose, l) + } + s.listeners.cacheEOL = time.Time{} + s.listeners.Unlock() + + for _, l := range listenersToClose { + l.Close() + } +} + // AddListenAddr tells the swarm to listen on a single address. Unlike Listen, // this method does not attempt to filter out bad addresses. func (s *Swarm) AddListenAddr(a ma.Multiaddr) error { @@ -78,12 +101,19 @@ func (s *Swarm) AddListenAddr(a ma.Multiaddr) error { go func() { defer func() { - list.Close() s.listeners.Lock() - delete(s.listeners.m, list) - s.listeners.cacheEOL = time.Time{} + _, ok := s.listeners.m[list] + if ok { + delete(s.listeners.m, list) + s.listeners.cacheEOL = time.Time{} + } s.listeners.Unlock() + if ok { + list.Close() + log.Errorf("swarm listener unintentionally closed") + } + // signal to our notifiees on listen close. s.notifyAll(func(n network.Notifiee) { n.ListenClose(s, maddr) @@ -93,14 +123,11 @@ func (s *Swarm) AddListenAddr(a ma.Multiaddr) error { for { c, err := list.Accept() if err != nil { - if s.ctx.Err() == nil { - // only log if the swarm is still running. - log.Errorf("swarm listener accept error: %s", err) - } return } + canonicallog.LogPeerStatus(100, c.RemotePeer(), c.RemoteMultiaddr(), "connection_status", "established", "dir", "inbound") - log.Debugf("swarm listener accepted connection: %s", c) + log.Debugf("swarm listener accepted connection: %s <-> %s", c.LocalMultiaddr(), c.RemoteMultiaddr()) s.refs.Add(1) go func() { defer s.refs.Done() @@ -119,3 +146,12 @@ func (s *Swarm) AddListenAddr(a ma.Multiaddr) error { }() return nil } + +func containsMultiaddr(addrs []ma.Multiaddr, addr ma.Multiaddr) bool { + for _, a := range addrs { + if addr == a { + return true + } + } + return false +} diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/swarm_stream.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_stream.go similarity index 88% rename from vendor/github.com/libp2p/go-libp2p-swarm/swarm_stream.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_stream.go index 5e5c96533..109cce580 100644 --- a/vendor/github.com/libp2p/go-libp2p-swarm/swarm_stream.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_stream.go @@ -24,8 +24,6 @@ type Stream struct { closeOnce sync.Once - notifyLk sync.Mutex - protocol atomic.Value stat network.Stats @@ -90,14 +88,14 @@ func (s *Stream) Reset() error { return err } -// Close closes the stream for writing, flushing all data and sending an EOF. +// CloseWrite closes the stream for writing, flushing all data and sending an EOF. // This function does not free resources, call Close or Reset when done with the // stream. func (s *Stream) CloseWrite() error { return s.stream.CloseWrite() } -// Close closes the stream for reading. This function does not free resources, +// CloseRead closes the stream for reading. This function does not free resources, // call Close or Reset when done with the stream. func (s *Stream) CloseRead() error { return s.stream.CloseRead() @@ -105,18 +103,7 @@ func (s *Stream) CloseRead() error { func (s *Stream) remove() { s.conn.removeStream(s) - - // We *must* do this in a goroutine. This can be called during a - // an open notification and will block until that notification is done. - go func() { - s.notifyLk.Lock() - defer s.notifyLk.Unlock() - - s.conn.swarm.notifyAll(func(f network.Notifiee) { - f.ClosedStream(s.conn.swarm, s) - }) - s.conn.swarm.refs.Done() - }() + s.conn.swarm.refs.Done() } // Protocol returns the protocol negotiated on this stream (if set). diff --git a/vendor/github.com/libp2p/go-libp2p-swarm/swarm_transport.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_transport.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-swarm/swarm_transport.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/swarm/swarm_transport.go diff --git a/vendor/github.com/libp2p/go-libp2p-transport-upgrader/conn.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/upgrader/conn.go similarity index 94% rename from vendor/github.com/libp2p/go-libp2p-transport-upgrader/conn.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/upgrader/conn.go index 9aa3b2f2e..4ee0edc40 100644 --- a/vendor/github.com/libp2p/go-libp2p-transport-upgrader/conn.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/upgrader/conn.go @@ -3,13 +3,12 @@ package upgrader import ( "fmt" - "github.com/libp2p/go-libp2p-core/mux" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/transport" ) type transportConn struct { - mux.MuxedConn + network.MuxedConn network.ConnMultiaddrs network.ConnSecurity transport transport.Transport diff --git a/vendor/github.com/libp2p/go-libp2p-transport-upgrader/listener.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/upgrader/listener.go similarity index 99% rename from vendor/github.com/libp2p/go-libp2p-transport-upgrader/listener.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/upgrader/listener.go index fa94e8e6f..cc462b53a 100644 --- a/vendor/github.com/libp2p/go-libp2p-transport-upgrader/listener.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/upgrader/listener.go @@ -93,7 +93,7 @@ func (l *listener) handleIncoming() { continue } - connScope, err := l.rcmgr.OpenConnection(network.DirInbound, true) + connScope, err := l.rcmgr.OpenConnection(network.DirInbound, true, maconn.RemoteMultiaddr()) if err != nil { log.Debugw("resource manager blocked accept of new connection", "error", err) if err := maconn.Close(); err != nil { diff --git a/vendor/github.com/libp2p/go-libp2p-transport-upgrader/threshold.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/upgrader/threshold.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-transport-upgrader/threshold.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/upgrader/threshold.go diff --git a/vendor/github.com/libp2p/go-libp2p-transport-upgrader/upgrader.go b/vendor/github.com/libp2p/go-libp2p/p2p/net/upgrader/upgrader.go similarity index 99% rename from vendor/github.com/libp2p/go-libp2p-transport-upgrader/upgrader.go rename to vendor/github.com/libp2p/go-libp2p/p2p/net/upgrader/upgrader.go index 3ea71bf77..4f8e71225 100644 --- a/vendor/github.com/libp2p/go-libp2p-transport-upgrader/upgrader.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/net/upgrader/upgrader.go @@ -7,6 +7,8 @@ import ( "net" "time" + "github.com/libp2p/go-libp2p/p2p/net/pnet" + "github.com/libp2p/go-libp2p-core/connmgr" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" @@ -14,7 +16,6 @@ import ( "github.com/libp2p/go-libp2p-core/sec" "github.com/libp2p/go-libp2p-core/transport" - pnet "github.com/libp2p/go-libp2p-pnet" manet "github.com/multiformats/go-multiaddr/net" ) diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/client/transport.go b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/client/transport.go index 9bdb53f69..cd1c302d3 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/client/transport.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/circuitv2/client/transport.go @@ -50,7 +50,7 @@ var _ transport.Transport = (*Client)(nil) var _ io.Closer = (*Client)(nil) func (c *Client) Dial(ctx context.Context, a ma.Multiaddr, p peer.ID) (transport.CapableConn, error) { - connScope, err := c.host.Network().ResourceManager().OpenConnection(network.DirOutbound, false) + connScope, err := c.host.Network().ResourceManager().OpenConnection(network.DirOutbound, false, a) if err != nil { return nil, err } diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/coordination.go b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/coordination.go deleted file mode 100644 index c39644857..000000000 --- a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/coordination.go +++ /dev/null @@ -1,511 +0,0 @@ -package holepunch - -import ( - "context" - "errors" - "fmt" - "sync" - "time" - - "github.com/libp2p/go-libp2p-core/host" - "github.com/libp2p/go-libp2p-core/network" - "github.com/libp2p/go-libp2p-core/peer" - "github.com/libp2p/go-libp2p-core/protocol" - pb "github.com/libp2p/go-libp2p/p2p/protocol/holepunch/pb" - "github.com/libp2p/go-libp2p/p2p/protocol/identify" - - logging "github.com/ipfs/go-log/v2" - "github.com/libp2p/go-msgio/protoio" - ma "github.com/multiformats/go-multiaddr" - manet "github.com/multiformats/go-multiaddr/net" -) - -// Protocol is the libp2p protocol for Hole Punching. -const Protocol protocol.ID = "/libp2p/dcutr" - -// StreamTimeout is the timeout for the hole punch protocol stream. -var StreamTimeout = 1 * time.Minute - -// TODO Should we have options for these ? -const ( - ServiceName = "libp2p.holepunch" - - maxMsgSize = 4 * 1024 // 4K - dialTimeout = 5 * time.Second - maxRetries = 3 - retryWait = 2 * time.Second -) - -var ( - log = logging.Logger("p2p-holepunch") - // ErrHolePunchActive is returned from DirectConnect when another hole punching attempt is currently running - ErrHolePunchActive = errors.New("another hole punching attempt to this peer is active") - // ErrClosed is returned when the hole punching is closed - ErrClosed = errors.New("hole punching service closing") -) - -// The Service is used to make direct connections with a peer via hole-punching. -type Service struct { - ctx context.Context - ctxCancel context.CancelFunc - - ids identify.IDService - host host.Host - - tracer *tracer - - closeMx sync.RWMutex - closed bool - refCount sync.WaitGroup - - hasPublicAddrsChan chan struct{} // this chan is closed as soon as we have a public address - - // active hole punches for deduplicating - activeMx sync.Mutex - active map[peer.ID]struct{} -} - -type Option func(*Service) error - -// NewService creates a new service that can be used for hole punching -func NewService(h host.Host, ids identify.IDService, opts ...Option) (*Service, error) { - if ids == nil { - return nil, errors.New("identify service can't be nil") - } - - ctx, cancel := context.WithCancel(context.Background()) - hs := &Service{ - ctx: ctx, - ctxCancel: cancel, - host: h, - ids: ids, - active: make(map[peer.ID]struct{}), - hasPublicAddrsChan: make(chan struct{}), - } - - for _, opt := range opts { - if err := opt(hs); err != nil { - cancel() - return nil, err - } - } - - hs.refCount.Add(1) - go hs.watchForPublicAddr() - - h.Network().Notify((*netNotifiee)(hs)) - return hs, nil -} - -func (hs *Service) watchForPublicAddr() { - defer hs.refCount.Done() - - log.Debug("waiting until we have at least one public address", "peer", hs.host.ID()) - - // TODO: We should have an event here that fires when identify discovers a new - // address (and when autonat confirms that address). - // As we currently don't have an event like this, just check our observed addresses - // regularly (exponential backoff starting at 250 ms, capped at 5s). - duration := 250 * time.Millisecond - const maxDuration = 5 * time.Second - t := time.NewTimer(duration) - defer t.Stop() - for { - if containsPublicAddr(hs.ids.OwnObservedAddrs()) { - log.Debug("Host now has a public address. Starting holepunch protocol.") - hs.host.SetStreamHandler(Protocol, hs.handleNewStream) - close(hs.hasPublicAddrsChan) - return - } - - select { - case <-hs.ctx.Done(): - return - case <-t.C: - duration *= 2 - if duration > maxDuration { - duration = maxDuration - } - t.Reset(duration) - } - } -} - -// Close closes the Hole Punch Service. -func (hs *Service) Close() error { - hs.closeMx.Lock() - hs.closed = true - hs.closeMx.Unlock() - hs.tracer.Close() - hs.host.RemoveStreamHandler(Protocol) - hs.ctxCancel() - hs.refCount.Wait() - return nil -} - -// initiateHolePunch opens a new hole punching coordination stream, -// exchanges the addresses and measures the RTT. -func (hs *Service) initiateHolePunch(rp peer.ID) ([]ma.Multiaddr, time.Duration, error) { - hpCtx := network.WithUseTransient(hs.ctx, "hole-punch") - sCtx := network.WithNoDial(hpCtx, "hole-punch") - - str, err := hs.host.NewStream(sCtx, rp, Protocol) - if err != nil { - return nil, 0, fmt.Errorf("failed to open hole-punching stream: %w", err) - } - defer str.Close() - - if err := str.Scope().SetService(ServiceName); err != nil { - log.Debugf("error attaching stream to holepunch service: %s", err) - str.Reset() - return nil, 0, err - } - - if err := str.Scope().ReserveMemory(maxMsgSize, network.ReservationPriorityAlways); err != nil { - log.Debugf("error reserving memory for stream: %s, err") - str.Reset() - return nil, 0, err - } - defer str.Scope().ReleaseMemory(maxMsgSize) - - w := protoio.NewDelimitedWriter(str) - rd := protoio.NewDelimitedReader(str, maxMsgSize) - - str.SetDeadline(time.Now().Add(StreamTimeout)) - // send a CONNECT and start RTT measurement. - msg := &pb.HolePunch{ - Type: pb.HolePunch_CONNECT.Enum(), - ObsAddrs: addrsToBytes(removeRelayAddrs(hs.ids.OwnObservedAddrs())), - } - - start := time.Now() - if err := w.WriteMsg(msg); err != nil { - str.Reset() - return nil, 0, err - } - - // wait for a CONNECT message from the remote peer - msg.Reset() - if err := rd.ReadMsg(msg); err != nil { - str.Reset() - return nil, 0, fmt.Errorf("failed to read CONNECT message from remote peer: %w", err) - } - rtt := time.Since(start) - - if t := msg.GetType(); t != pb.HolePunch_CONNECT { - str.Reset() - return nil, 0, fmt.Errorf("expect CONNECT message, got %s", t) - } - addrs := removeRelayAddrs(addrsFromBytes(msg.ObsAddrs)) - if len(addrs) == 0 { - str.Reset() - } - - msg.Reset() - msg.Type = pb.HolePunch_SYNC.Enum() - if err := w.WriteMsg(msg); err != nil { - str.Reset() - return nil, 0, fmt.Errorf("failed to send SYNC message for hole punching: %w", err) - } - return addrs, rtt, nil -} - -func (hs *Service) beginDirectConnect(p peer.ID) error { - hs.closeMx.RLock() - defer hs.closeMx.RUnlock() - if hs.closed { - return ErrClosed - } - - hs.activeMx.Lock() - defer hs.activeMx.Unlock() - if _, ok := hs.active[p]; ok { - return ErrHolePunchActive - } - - hs.active[p] = struct{}{} - return nil -} - -// DirectConnect attempts to make a direct connection with a remote peer. -// It first attempts a direct dial (if we have a public address of that peer), and then -// coordinates a hole punch over the given relay connection. -func (hs *Service) DirectConnect(p peer.ID) error { - if err := hs.beginDirectConnect(p); err != nil { - return err - } - - defer func() { - hs.activeMx.Lock() - delete(hs.active, p) - hs.activeMx.Unlock() - }() - - return hs.directConnect(p) -} - -func (hs *Service) directConnect(rp peer.ID) error { - // short-circuit check to see if we already have a direct connection - for _, c := range hs.host.Network().ConnsToPeer(rp) { - if !isRelayAddress(c.RemoteMultiaddr()) { - return nil - } - } - - // short-circuit hole punching if a direct dial works. - // attempt a direct connection ONLY if we have a public address for the remote peer - for _, a := range hs.host.Peerstore().Addrs(rp) { - if manet.IsPublicAddr(a) && !isRelayAddress(a) { - forceDirectConnCtx := network.WithForceDirectDial(hs.ctx, "hole-punching") - dialCtx, cancel := context.WithTimeout(forceDirectConnCtx, dialTimeout) - - tstart := time.Now() - // This dials *all* public addresses from the peerstore. - err := hs.host.Connect(dialCtx, peer.AddrInfo{ID: rp}) - dt := time.Since(tstart) - cancel() - - if err != nil { - hs.tracer.DirectDialFailed(rp, dt, err) - break - } - hs.tracer.DirectDialSuccessful(rp, dt) - log.Debugw("direct connection to peer successful, no need for a hole punch", "peer", rp) - return nil - } - } - - log.Debugw("got inbound proxy conn", "peer", rp) - ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) - defer cancel() - select { - case <-hs.ctx.Done(): - return hs.ctx.Err() - case <-ctx.Done(): - log.Debug("didn't find any public host address") - return errors.New("can't initiate hole punch, as we don't have any public addresses") - case <-hs.hasPublicAddrsChan: - } - - // hole punch - for i := 0; i < maxRetries; i++ { - addrs, rtt, err := hs.initiateHolePunch(rp) - if err != nil { - log.Debugw("hole punching failed", "peer", rp, "error", err) - hs.tracer.ProtocolError(rp, err) - return err - } - synTime := rtt / 2 - log.Debugf("peer RTT is %s; starting hole punch in %s", rtt, synTime) - - // wait for sync to reach the other peer and then punch a hole for it in our NAT - // by attempting a connect to it. - timer := time.NewTimer(synTime) - select { - case start := <-timer.C: - pi := peer.AddrInfo{ - ID: rp, - Addrs: addrs, - } - hs.tracer.StartHolePunch(rp, addrs, rtt) - err := hs.holePunchConnect(pi, true) - dt := time.Since(start) - hs.tracer.EndHolePunch(rp, dt, err) - if err == nil { - log.Debugw("hole punching with successful", "peer", rp, "time", dt) - return nil - } - case <-hs.ctx.Done(): - timer.Stop() - return hs.ctx.Err() - } - } - return fmt.Errorf("all retries for hole punch with peer %s failed", rp) -} - -func (hs *Service) incomingHolePunch(s network.Stream) (rtt time.Duration, addrs []ma.Multiaddr, err error) { - // sanity check: a hole punch request should only come from peers behind a relay - if !isRelayAddress(s.Conn().RemoteMultiaddr()) { - return 0, nil, fmt.Errorf("received hole punch stream: %s", s.Conn().RemoteMultiaddr()) - } - ownAddrs := removeRelayAddrs(hs.ids.OwnObservedAddrs()) - // If we can't tell the peer where to dial us, there's no point in starting the hole punching. - if len(ownAddrs) == 0 { - return 0, nil, errors.New("rejecting hole punch request, as we don't have any public addresses") - } - - if err := s.Scope().ReserveMemory(maxMsgSize, network.ReservationPriorityAlways); err != nil { - log.Debugf("error reserving memory for stream: %s, err") - return 0, nil, err - } - defer s.Scope().ReleaseMemory(maxMsgSize) - - wr := protoio.NewDelimitedWriter(s) - rd := protoio.NewDelimitedReader(s, maxMsgSize) - - // Read Connect message - msg := new(pb.HolePunch) - - s.SetDeadline(time.Now().Add(StreamTimeout)) - - if err := rd.ReadMsg(msg); err != nil { - return 0, nil, fmt.Errorf("failed to read message from initator: %w", err) - } - if t := msg.GetType(); t != pb.HolePunch_CONNECT { - return 0, nil, fmt.Errorf("expected CONNECT message from initiator but got %d", t) - } - obsDial := removeRelayAddrs(addrsFromBytes(msg.ObsAddrs)) - log.Debugw("received hole punch request", "peer", s.Conn().RemotePeer(), "addrs", obsDial) - if len(obsDial) == 0 { - return 0, nil, errors.New("expected CONNECT message to contain at least one address") - } - - // Write CONNECT message - msg.Reset() - msg.Type = pb.HolePunch_CONNECT.Enum() - msg.ObsAddrs = addrsToBytes(ownAddrs) - tstart := time.Now() - if err := wr.WriteMsg(msg); err != nil { - return 0, nil, fmt.Errorf("failed to write CONNECT message to initator: %w", err) - } - - // Read SYNC message - msg.Reset() - if err := rd.ReadMsg(msg); err != nil { - return 0, nil, fmt.Errorf("failed to read message from initator: %w", err) - } - if t := msg.GetType(); t != pb.HolePunch_SYNC { - return 0, nil, fmt.Errorf("expected SYNC message from initiator but got %d", t) - } - return time.Since(tstart), obsDial, nil -} - -func (hs *Service) handleNewStream(s network.Stream) { - // Check directionality of the underlying connection. - // Peer A receives an inbound connection from peer B. - // Peer A opens a new hole punch stream to peer B. - // Peer B receives this stream, calling this function. - // Peer B sees the underlying connection as an outbound connection. - if s.Conn().Stat().Direction == network.DirInbound { - s.Reset() - return - } - - if err := s.Scope().SetService(ServiceName); err != nil { - log.Debugf("error attaching stream to holepunch service: %s", err) - s.Reset() - return - } - - rp := s.Conn().RemotePeer() - rtt, addrs, err := hs.incomingHolePunch(s) - if err != nil { - hs.tracer.ProtocolError(rp, err) - log.Debugw("error handling holepunching stream from", rp, "error", err) - s.Reset() - return - } - s.Close() - - // Hole punch now by forcing a connect - pi := peer.AddrInfo{ - ID: rp, - Addrs: addrs, - } - hs.tracer.StartHolePunch(rp, addrs, rtt) - log.Debugw("starting hole punch", "peer", rp) - start := time.Now() - err = hs.holePunchConnect(pi, false) - dt := time.Since(start) - hs.tracer.EndHolePunch(rp, dt, err) -} - -func (hs *Service) holePunchConnect(pi peer.AddrInfo, isClient bool) error { - holePunchCtx := network.WithSimultaneousConnect(hs.ctx, isClient, "hole-punching") - forceDirectConnCtx := network.WithForceDirectDial(holePunchCtx, "hole-punching") - dialCtx, cancel := context.WithTimeout(forceDirectConnCtx, dialTimeout) - defer cancel() - - hs.tracer.HolePunchAttempt(pi.ID) - if err := hs.host.Connect(dialCtx, pi); err != nil { - log.Debugw("hole punch attempt with peer failed", "peer ID", pi.ID, "error", err) - return err - } - log.Debugw("hole punch successful", "peer", pi.ID) - return nil -} - -func containsPublicAddr(addrs []ma.Multiaddr) bool { - for _, addr := range addrs { - if isRelayAddress(addr) || !manet.IsPublicAddr(addr) { - continue - } - return true - } - return false -} - -func removeRelayAddrs(addrs []ma.Multiaddr) []ma.Multiaddr { - result := make([]ma.Multiaddr, 0, len(addrs)) - for _, addr := range addrs { - if !isRelayAddress(addr) { - result = append(result, addr) - } - } - return result -} - -func isRelayAddress(a ma.Multiaddr) bool { - _, err := a.ValueForProtocol(ma.P_CIRCUIT) - return err == nil -} - -func addrsToBytes(as []ma.Multiaddr) [][]byte { - bzs := make([][]byte, 0, len(as)) - for _, a := range as { - bzs = append(bzs, a.Bytes()) - } - return bzs -} - -func addrsFromBytes(bzs [][]byte) []ma.Multiaddr { - addrs := make([]ma.Multiaddr, 0, len(bzs)) - for _, bz := range bzs { - a, err := ma.NewMultiaddrBytes(bz) - if err == nil { - addrs = append(addrs, a) - } - } - return addrs -} - -type netNotifiee Service - -func (nn *netNotifiee) Connected(_ network.Network, conn network.Conn) { - hs := (*Service)(nn) - - // Hole punch if it's an inbound proxy connection. - // If we already have a direct connection with the remote peer, this will be a no-op. - if conn.Stat().Direction == network.DirInbound && isRelayAddress(conn.RemoteMultiaddr()) { - hs.refCount.Add(1) - go func() { - defer hs.refCount.Done() - - select { - // waiting for Identify here will allow us to access the peer's public and observed addresses - // that we can dial to for a hole punch. - case <-hs.ids.IdentifyWait(conn): - case <-hs.ctx.Done(): - return - } - - _ = hs.DirectConnect(conn.RemotePeer()) - }() - } -} - -func (nn *netNotifiee) Disconnected(_ network.Network, v network.Conn) {} -func (nn *netNotifiee) OpenedStream(n network.Network, v network.Stream) {} -func (nn *netNotifiee) ClosedStream(n network.Network, v network.Stream) {} -func (nn *netNotifiee) Listen(n network.Network, a ma.Multiaddr) {} -func (nn *netNotifiee) ListenClose(n network.Network, a ma.Multiaddr) {} diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/holepuncher.go b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/holepuncher.go new file mode 100644 index 000000000..810608f20 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/holepuncher.go @@ -0,0 +1,273 @@ +package holepunch + +import ( + "context" + "errors" + "fmt" + "sync" + "time" + + pb "github.com/libp2p/go-libp2p/p2p/protocol/holepunch/pb" + "github.com/libp2p/go-libp2p/p2p/protocol/identify" + + "github.com/libp2p/go-libp2p-core/host" + "github.com/libp2p/go-libp2p-core/network" + "github.com/libp2p/go-libp2p-core/peer" + + "github.com/libp2p/go-msgio/protoio" + + ma "github.com/multiformats/go-multiaddr" + manet "github.com/multiformats/go-multiaddr/net" +) + +// ErrHolePunchActive is returned from DirectConnect when another hole punching attempt is currently running +var ErrHolePunchActive = errors.New("another hole punching attempt to this peer is active") + +const ( + dialTimeout = 5 * time.Second + maxRetries = 3 +) + +// The holePuncher is run on the peer that's behind a NAT / Firewall. +// It observes new incoming connections via a relay that it has a reservation with, +// and initiates the DCUtR protocol with them. +// It then first tries to establish a direct connection, and if that fails, it +// initiates a hole punch. +type holePuncher struct { + ctx context.Context + ctxCancel context.CancelFunc + + host host.Host + refCount sync.WaitGroup + + ids identify.IDService + + // active hole punches for deduplicating + activeMx sync.Mutex + active map[peer.ID]struct{} + + closeMx sync.RWMutex + closed bool + + tracer *tracer +} + +func newHolePuncher(h host.Host, ids identify.IDService, tracer *tracer) *holePuncher { + hp := &holePuncher{ + host: h, + ids: ids, + active: make(map[peer.ID]struct{}), + tracer: tracer, + } + hp.ctx, hp.ctxCancel = context.WithCancel(context.Background()) + h.Network().Notify((*netNotifiee)(hp)) + return hp +} + +func (hp *holePuncher) beginDirectConnect(p peer.ID) error { + hp.closeMx.RLock() + defer hp.closeMx.RUnlock() + if hp.closed { + return ErrClosed + } + + hp.activeMx.Lock() + defer hp.activeMx.Unlock() + if _, ok := hp.active[p]; ok { + return ErrHolePunchActive + } + + hp.active[p] = struct{}{} + return nil +} + +// DirectConnect attempts to make a direct connection with a remote peer. +// It first attempts a direct dial (if we have a public address of that peer), and then +// coordinates a hole punch over the given relay connection. +func (hp *holePuncher) DirectConnect(p peer.ID) error { + if err := hp.beginDirectConnect(p); err != nil { + return err + } + + defer func() { + hp.activeMx.Lock() + delete(hp.active, p) + hp.activeMx.Unlock() + }() + + return hp.directConnect(p) +} + +func (hp *holePuncher) directConnect(rp peer.ID) error { + // short-circuit check to see if we already have a direct connection + for _, c := range hp.host.Network().ConnsToPeer(rp) { + if !isRelayAddress(c.RemoteMultiaddr()) { + return nil + } + } + + // short-circuit hole punching if a direct dial works. + // attempt a direct connection ONLY if we have a public address for the remote peer + for _, a := range hp.host.Peerstore().Addrs(rp) { + if manet.IsPublicAddr(a) && !isRelayAddress(a) { + forceDirectConnCtx := network.WithForceDirectDial(hp.ctx, "hole-punching") + dialCtx, cancel := context.WithTimeout(forceDirectConnCtx, dialTimeout) + + tstart := time.Now() + // This dials *all* public addresses from the peerstore. + err := hp.host.Connect(dialCtx, peer.AddrInfo{ID: rp}) + dt := time.Since(tstart) + cancel() + + if err != nil { + hp.tracer.DirectDialFailed(rp, dt, err) + break + } + hp.tracer.DirectDialSuccessful(rp, dt) + log.Debugw("direct connection to peer successful, no need for a hole punch", "peer", rp) + return nil + } + } + + log.Debugw("got inbound proxy conn", "peer", rp) + + // hole punch + for i := 0; i < maxRetries; i++ { + addrs, rtt, err := hp.initiateHolePunch(rp) + if err != nil { + log.Debugw("hole punching failed", "peer", rp, "error", err) + hp.tracer.ProtocolError(rp, err) + return err + } + synTime := rtt / 2 + log.Debugf("peer RTT is %s; starting hole punch in %s", rtt, synTime) + + // wait for sync to reach the other peer and then punch a hole for it in our NAT + // by attempting a connect to it. + timer := time.NewTimer(synTime) + select { + case start := <-timer.C: + pi := peer.AddrInfo{ + ID: rp, + Addrs: addrs, + } + hp.tracer.StartHolePunch(rp, addrs, rtt) + hp.tracer.HolePunchAttempt(pi.ID) + err := holePunchConnect(hp.ctx, hp.host, pi, true) + dt := time.Since(start) + hp.tracer.EndHolePunch(rp, dt, err) + if err == nil { + log.Debugw("hole punching with successful", "peer", rp, "time", dt) + return nil + } + case <-hp.ctx.Done(): + timer.Stop() + return hp.ctx.Err() + } + } + return fmt.Errorf("all retries for hole punch with peer %s failed", rp) +} + +// initiateHolePunch opens a new hole punching coordination stream, +// exchanges the addresses and measures the RTT. +func (hp *holePuncher) initiateHolePunch(rp peer.ID) ([]ma.Multiaddr, time.Duration, error) { + hpCtx := network.WithUseTransient(hp.ctx, "hole-punch") + sCtx := network.WithNoDial(hpCtx, "hole-punch") + + str, err := hp.host.NewStream(sCtx, rp, Protocol) + if err != nil { + return nil, 0, fmt.Errorf("failed to open hole-punching stream: %w", err) + } + defer str.Close() + + addr, rtt, err := hp.initiateHolePunchImpl(str) + if err != nil { + log.Debugf("%s", err) + str.Reset() + return addr, rtt, err + } + return addr, rtt, err +} + +func (hp *holePuncher) initiateHolePunchImpl(str network.Stream) ([]ma.Multiaddr, time.Duration, error) { + if err := str.Scope().SetService(ServiceName); err != nil { + return nil, 0, fmt.Errorf("error attaching stream to holepunch service: %s", err) + } + + if err := str.Scope().ReserveMemory(maxMsgSize, network.ReservationPriorityAlways); err != nil { + return nil, 0, fmt.Errorf("error reserving memory for stream: %s", err) + } + defer str.Scope().ReleaseMemory(maxMsgSize) + + w := protoio.NewDelimitedWriter(str) + rd := protoio.NewDelimitedReader(str, maxMsgSize) + + str.SetDeadline(time.Now().Add(StreamTimeout)) + + // send a CONNECT and start RTT measurement. + start := time.Now() + if err := w.WriteMsg(&pb.HolePunch{ + Type: pb.HolePunch_CONNECT.Enum(), + ObsAddrs: addrsToBytes(removeRelayAddrs(hp.ids.OwnObservedAddrs())), + }); err != nil { + str.Reset() + return nil, 0, err + } + + // wait for a CONNECT message from the remote peer + var msg pb.HolePunch + if err := rd.ReadMsg(&msg); err != nil { + return nil, 0, fmt.Errorf("failed to read CONNECT message from remote peer: %w", err) + } + rtt := time.Since(start) + if t := msg.GetType(); t != pb.HolePunch_CONNECT { + return nil, 0, fmt.Errorf("expect CONNECT message, got %s", t) + } + addrs := removeRelayAddrs(addrsFromBytes(msg.ObsAddrs)) + if len(addrs) == 0 { + return nil, 0, errors.New("didn't receive any public addresses in CONNECT") + } + + if err := w.WriteMsg(&pb.HolePunch{Type: pb.HolePunch_SYNC.Enum()}); err != nil { + return nil, 0, fmt.Errorf("failed to send SYNC message for hole punching: %w", err) + } + return addrs, rtt, nil +} + +func (hp *holePuncher) Close() error { + hp.closeMx.Lock() + hp.closed = true + hp.closeMx.Unlock() + hp.ctxCancel() + hp.refCount.Wait() + return nil +} + +type netNotifiee holePuncher + +func (nn *netNotifiee) Connected(_ network.Network, conn network.Conn) { + hs := (*holePuncher)(nn) + + // Hole punch if it's an inbound proxy connection. + // If we already have a direct connection with the remote peer, this will be a no-op. + if conn.Stat().Direction == network.DirInbound && isRelayAddress(conn.RemoteMultiaddr()) { + hs.refCount.Add(1) + go func() { + defer hs.refCount.Done() + + select { + // waiting for Identify here will allow us to access the peer's public and observed addresses + // that we can dial to for a hole punch. + case <-hs.ids.IdentifyWait(conn): + case <-hs.ctx.Done(): + return + } + + _ = hs.DirectConnect(conn.RemotePeer()) + }() + } +} + +func (nn *netNotifiee) Disconnected(_ network.Network, v network.Conn) {} +func (nn *netNotifiee) Listen(n network.Network, a ma.Multiaddr) {} +func (nn *netNotifiee) ListenClose(n network.Network, a ma.Multiaddr) {} diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/svc.go b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/svc.go new file mode 100644 index 000000000..f7ca7c4a1 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/svc.go @@ -0,0 +1,273 @@ +package holepunch + +import ( + "context" + "errors" + "fmt" + "sync" + "time" + + pb "github.com/libp2p/go-libp2p/p2p/protocol/holepunch/pb" + "github.com/libp2p/go-libp2p/p2p/protocol/identify" + + "github.com/libp2p/go-libp2p-core/event" + "github.com/libp2p/go-libp2p-core/host" + "github.com/libp2p/go-libp2p-core/network" + "github.com/libp2p/go-libp2p-core/peer" + "github.com/libp2p/go-libp2p-core/protocol" + + logging "github.com/ipfs/go-log/v2" + "github.com/libp2p/go-msgio/protoio" + ma "github.com/multiformats/go-multiaddr" +) + +// Protocol is the libp2p protocol for Hole Punching. +const Protocol protocol.ID = "/libp2p/dcutr" + +var log = logging.Logger("p2p-holepunch") + +// StreamTimeout is the timeout for the hole punch protocol stream. +var StreamTimeout = 1 * time.Minute + +const ( + ServiceName = "libp2p.holepunch" + + maxMsgSize = 4 * 1024 // 4K +) + +// ErrClosed is returned when the hole punching is closed +var ErrClosed = errors.New("hole punching service closing") + +type Option func(*Service) error + +// The Service runs on every node that supports the DCUtR protocol. +type Service struct { + ctx context.Context + ctxCancel context.CancelFunc + + host host.Host + ids identify.IDService + + holePuncherMx sync.Mutex + holePuncher *holePuncher + + hasPublicAddrsChan chan struct{} + + tracer *tracer + + refCount sync.WaitGroup +} + +// NewService creates a new service that can be used for hole punching +// The Service runs on all hosts that support the DCUtR protocol, +// no matter if they are behind a NAT / firewall or not. +// The Service handles DCUtR streams (which are initiated from the node behind +// a NAT / Firewall once we establish a connection to them through a relay. +func NewService(h host.Host, ids identify.IDService, opts ...Option) (*Service, error) { + if ids == nil { + return nil, errors.New("identify service can't be nil") + } + + ctx, cancel := context.WithCancel(context.Background()) + s := &Service{ + ctx: ctx, + ctxCancel: cancel, + host: h, + ids: ids, + hasPublicAddrsChan: make(chan struct{}), + } + + for _, opt := range opts { + if err := opt(s); err != nil { + cancel() + return nil, err + } + } + + s.refCount.Add(1) + go s.watchForPublicAddr() + + return s, nil +} + +func (s *Service) watchForPublicAddr() { + defer s.refCount.Done() + + log.Debug("waiting until we have at least one public address", "peer", s.host.ID()) + + // TODO: We should have an event here that fires when identify discovers a new + // address (and when autonat confirms that address). + // As we currently don't have an event like this, just check our observed addresses + // regularly (exponential backoff starting at 250 ms, capped at 5s). + duration := 250 * time.Millisecond + const maxDuration = 5 * time.Second + t := time.NewTimer(duration) + defer t.Stop() + for { + if containsPublicAddr(s.ids.OwnObservedAddrs()) { + log.Debug("Host now has a public address. Starting holepunch protocol.") + s.host.SetStreamHandler(Protocol, s.handleNewStream) + break + } + + select { + case <-s.ctx.Done(): + return + case <-t.C: + duration *= 2 + if duration > maxDuration { + duration = maxDuration + } + t.Reset(duration) + } + } + + // Only start the holePuncher if we're behind a NAT / firewall. + sub, err := s.host.EventBus().Subscribe(&event.EvtLocalReachabilityChanged{}) + if err != nil { + log.Debugf("failed to subscripe to Reachability event: %s", err) + return + } + defer sub.Close() + for { + select { + case <-s.ctx.Done(): + return + case e, ok := <-sub.Out(): + if !ok { + return + } + if e.(event.EvtLocalReachabilityChanged).Reachability != network.ReachabilityPrivate { + continue + } + s.holePuncherMx.Lock() + s.holePuncher = newHolePuncher(s.host, s.ids, s.tracer) + s.holePuncherMx.Unlock() + close(s.hasPublicAddrsChan) + return + } + } +} + +// Close closes the Hole Punch Service. +func (s *Service) Close() error { + var err error + s.holePuncherMx.Lock() + if s.holePuncher != nil { + err = s.holePuncher.Close() + } + s.holePuncherMx.Unlock() + s.tracer.Close() + s.host.RemoveStreamHandler(Protocol) + s.ctxCancel() + s.refCount.Wait() + return err +} + +func (s *Service) incomingHolePunch(str network.Stream) (rtt time.Duration, addrs []ma.Multiaddr, err error) { + // sanity check: a hole punch request should only come from peers behind a relay + if !isRelayAddress(str.Conn().RemoteMultiaddr()) { + return 0, nil, fmt.Errorf("received hole punch stream: %s", str.Conn().RemoteMultiaddr()) + } + ownAddrs := removeRelayAddrs(s.ids.OwnObservedAddrs()) + // If we can't tell the peer where to dial us, there's no point in starting the hole punching. + if len(ownAddrs) == 0 { + return 0, nil, errors.New("rejecting hole punch request, as we don't have any public addresses") + } + + if err := str.Scope().ReserveMemory(maxMsgSize, network.ReservationPriorityAlways); err != nil { + log.Debugf("error reserving memory for stream: %s, err") + return 0, nil, err + } + defer str.Scope().ReleaseMemory(maxMsgSize) + + wr := protoio.NewDelimitedWriter(str) + rd := protoio.NewDelimitedReader(str, maxMsgSize) + + // Read Connect message + msg := new(pb.HolePunch) + + str.SetDeadline(time.Now().Add(StreamTimeout)) + + if err := rd.ReadMsg(msg); err != nil { + return 0, nil, fmt.Errorf("failed to read message from initator: %w", err) + } + if t := msg.GetType(); t != pb.HolePunch_CONNECT { + return 0, nil, fmt.Errorf("expected CONNECT message from initiator but got %d", t) + } + obsDial := removeRelayAddrs(addrsFromBytes(msg.ObsAddrs)) + log.Debugw("received hole punch request", "peer", str.Conn().RemotePeer(), "addrs", obsDial) + if len(obsDial) == 0 { + return 0, nil, errors.New("expected CONNECT message to contain at least one address") + } + + // Write CONNECT message + msg.Reset() + msg.Type = pb.HolePunch_CONNECT.Enum() + msg.ObsAddrs = addrsToBytes(ownAddrs) + tstart := time.Now() + if err := wr.WriteMsg(msg); err != nil { + return 0, nil, fmt.Errorf("failed to write CONNECT message to initator: %w", err) + } + + // Read SYNC message + msg.Reset() + if err := rd.ReadMsg(msg); err != nil { + return 0, nil, fmt.Errorf("failed to read message from initator: %w", err) + } + if t := msg.GetType(); t != pb.HolePunch_SYNC { + return 0, nil, fmt.Errorf("expected SYNC message from initiator but got %d", t) + } + return time.Since(tstart), obsDial, nil +} + +func (s *Service) handleNewStream(str network.Stream) { + // Check directionality of the underlying connection. + // Peer A receives an inbound connection from peer B. + // Peer A opens a new hole punch stream to peer B. + // Peer B receives this stream, calling this function. + // Peer B sees the underlying connection as an outbound connection. + if str.Conn().Stat().Direction == network.DirInbound { + str.Reset() + return + } + + if err := str.Scope().SetService(ServiceName); err != nil { + log.Debugf("error attaching stream to holepunch service: %s", err) + str.Reset() + return + } + + rp := str.Conn().RemotePeer() + rtt, addrs, err := s.incomingHolePunch(str) + if err != nil { + s.tracer.ProtocolError(rp, err) + log.Debugw("error handling holepunching stream from", rp, "error", err) + str.Reset() + return + } + str.Close() + + // Hole punch now by forcing a connect + pi := peer.AddrInfo{ + ID: rp, + Addrs: addrs, + } + s.tracer.StartHolePunch(rp, addrs, rtt) + log.Debugw("starting hole punch", "peer", rp) + start := time.Now() + s.tracer.HolePunchAttempt(pi.ID) + err = holePunchConnect(s.ctx, s.host, pi, false) + dt := time.Since(start) + s.tracer.EndHolePunch(rp, dt, err) +} + +// DirectConnect is only exposed for testing purposes. +// TODO: find a solution for this. +func (s *Service) DirectConnect(p peer.ID) error { + <-s.hasPublicAddrsChan + s.holePuncherMx.Lock() + holePuncher := s.holePuncher + s.holePuncherMx.Unlock() + return holePuncher.DirectConnect(p) +} diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/util.go b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/util.go new file mode 100644 index 000000000..af7077570 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/holepunch/util.go @@ -0,0 +1,69 @@ +package holepunch + +import ( + "context" + + "github.com/libp2p/go-libp2p-core/host" + "github.com/libp2p/go-libp2p-core/network" + "github.com/libp2p/go-libp2p-core/peer" + ma "github.com/multiformats/go-multiaddr" + manet "github.com/multiformats/go-multiaddr/net" +) + +func containsPublicAddr(addrs []ma.Multiaddr) bool { + for _, addr := range addrs { + if isRelayAddress(addr) || !manet.IsPublicAddr(addr) { + continue + } + return true + } + return false +} + +func removeRelayAddrs(addrs []ma.Multiaddr) []ma.Multiaddr { + result := make([]ma.Multiaddr, 0, len(addrs)) + for _, addr := range addrs { + if !isRelayAddress(addr) { + result = append(result, addr) + } + } + return result +} + +func isRelayAddress(a ma.Multiaddr) bool { + _, err := a.ValueForProtocol(ma.P_CIRCUIT) + return err == nil +} + +func addrsToBytes(as []ma.Multiaddr) [][]byte { + bzs := make([][]byte, 0, len(as)) + for _, a := range as { + bzs = append(bzs, a.Bytes()) + } + return bzs +} + +func addrsFromBytes(bzs [][]byte) []ma.Multiaddr { + addrs := make([]ma.Multiaddr, 0, len(bzs)) + for _, bz := range bzs { + a, err := ma.NewMultiaddrBytes(bz) + if err == nil { + addrs = append(addrs, a) + } + } + return addrs +} + +func holePunchConnect(ctx context.Context, host host.Host, pi peer.AddrInfo, isClient bool) error { + holePunchCtx := network.WithSimultaneousConnect(ctx, isClient, "hole-punching") + forceDirectConnCtx := network.WithForceDirectDial(holePunchCtx, "hole-punching") + dialCtx, cancel := context.WithTimeout(forceDirectConnCtx, dialTimeout) + defer cancel() + + if err := host.Connect(dialCtx, pi); err != nil { + log.Debugw("hole punch attempt with peer failed", "peer ID", pi.ID, "error", err) + return err + } + log.Debugw("hole punch successful", "peer", pi.ID) + return nil +} diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/id.go b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/id.go index 70ff28b63..26a22b586 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/id.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/id.go @@ -4,7 +4,6 @@ import ( "context" "fmt" "io" - "runtime/debug" "sync" "time" @@ -55,19 +54,6 @@ var ( defaultUserAgent = "github.com/libp2p/go-libp2p" ) -func init() { - bi, ok := debug.ReadBuildInfo() - if !ok { - return - } - version := bi.Main.Version - if version == "(devel)" { - defaultUserAgent = bi.Main.Path - } else { - defaultUserAgent = fmt.Sprintf("%s@%s", bi.Main.Path, bi.Main.Version) - } -} - type addPeerHandlerReq struct { rp peer.ID resp chan *peerHandler @@ -341,6 +327,7 @@ func (ids *idService) IdentifyWait(c network.Conn) <-chan struct{} { go func() { defer close(wait) if err := ids.identifyConn(c); err != nil { + log.Warnf("failed to identify %s: %s", c.RemotePeer(), err) ids.emitters.evtPeerIdentificationFailed.Emit(event.EvtPeerIdentificationFailed{Peer: c.RemotePeer(), Reason: err}) return } @@ -776,15 +763,6 @@ func (ids *idService) consumeObservedAddress(observed []byte, c network.Conn) { ids.observedAddrs.Record(c, maddr) } -func addrInAddrs(a ma.Multiaddr, as []ma.Multiaddr) bool { - for _, b := range as { - if a.Equal(b) { - return true - } - } - return false -} - func signedPeerRecordFromMessage(msg *pb.Identify) (*record.Envelope, error) { if msg.SignedPeerRecord == nil || len(msg.SignedPeerRecord) == 0 { return nil, nil @@ -828,7 +806,5 @@ func (nn *netNotifiee) Disconnected(n network.Network, v network.Conn) { } } -func (nn *netNotifiee) OpenedStream(n network.Network, v network.Stream) {} -func (nn *netNotifiee) ClosedStream(n network.Network, v network.Stream) {} -func (nn *netNotifiee) Listen(n network.Network, a ma.Multiaddr) {} -func (nn *netNotifiee) ListenClose(n network.Network, a ma.Multiaddr) {} +func (nn *netNotifiee) Listen(n network.Network, a ma.Multiaddr) {} +func (nn *netNotifiee) ListenClose(n network.Network, a ma.Multiaddr) {} diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/id_go117.go b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/id_go117.go new file mode 100644 index 000000000..42d6ff5b6 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/id_go117.go @@ -0,0 +1,23 @@ +//go:build !go1.18 +// +build !go1.18 + +package identify + +import ( + "fmt" + "runtime/debug" +) + +func init() { + bi, ok := debug.ReadBuildInfo() + // ok will only be true if this is built as a dependency of another module + if !ok { + return + } + version := bi.Main.Version + if version == "(devel)" { + defaultUserAgent = bi.Main.Path + } else { + defaultUserAgent = fmt.Sprintf("%s@%s", bi.Main.Path, bi.Main.Version) + } +} diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/id_go118.go b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/id_go118.go new file mode 100644 index 000000000..e4f477940 --- /dev/null +++ b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/id_go118.go @@ -0,0 +1,46 @@ +//go:build go1.18 +// +build go1.18 + +package identify + +import ( + "fmt" + "runtime/debug" +) + +func init() { + bi, ok := debug.ReadBuildInfo() + if !ok { + return + } + version := bi.Main.Version + // version will only be non-empty if built as a dependency of another module + if version == "" { + return + } + + if version != "(devel)" { + defaultUserAgent = fmt.Sprintf("%s@%s", bi.Main.Path, bi.Main.Version) + return + } + + var revision string + var dirty bool + for _, bs := range bi.Settings { + switch bs.Key { + case "vcs.revision": + revision = bs.Value + if len(revision) > 9 { + revision = revision[:9] + } + case "vcs.modified": + if bs.Value == "true" { + dirty = true + } + } + } + defaultUserAgent = fmt.Sprintf("%s@%s", bi.Main.Path, revision) + if dirty { + defaultUserAgent += "-dirty" + } +} diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/obsaddr.go b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/obsaddr.go index c01ff61b8..adfb4808c 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/obsaddr.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/obsaddr.go @@ -376,7 +376,7 @@ func (oas *ObservedAddrManager) maybeRecordObservation(conn network.Conn, observ } local := conn.LocalMultiaddr() - if !addrInAddrs(local, ifaceaddrs) && !addrInAddrs(local, oas.host.Network().ListenAddresses()) { + if !ma.Contains(ifaceaddrs, local) && !ma.Contains(oas.host.Network().ListenAddresses(), local) { // not in our list return } @@ -588,5 +588,3 @@ func (on *obsAddrNotifiee) Connected(n network.Network, v network.Conn) {} func (on *obsAddrNotifiee) Disconnected(n network.Network, v network.Conn) { (*ObservedAddrManager)(on).removeConn(v) } -func (on *obsAddrNotifiee) OpenedStream(n network.Network, s network.Stream) {} -func (on *obsAddrNotifiee) ClosedStream(n network.Network, s network.Stream) {} diff --git a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/ping/ping.go b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/ping/ping.go index 3f19c21ee..2a977de4b 100644 --- a/vendor/github.com/libp2p/go-libp2p/p2p/protocol/ping/ping.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/protocol/ping/ping.go @@ -3,11 +3,13 @@ package ping import ( "bytes" "context" + "crypto/rand" + "encoding/binary" "errors" "io" + mrand "math/rand" "time" - u "github.com/ipfs/go-ipfs-util" logging "github.com/ipfs/go-log/v2" pool "github.com/libp2p/go-buffer-pool" "github.com/libp2p/go-libp2p-core/host" @@ -120,6 +122,14 @@ func Ping(ctx context.Context, h host.Host, p peer.ID) <-chan Result { return pingError(err) } + b := make([]byte, 8) + if _, err := rand.Read(b); err != nil { + log.Errorf("failed to get cryptographic random: %s", err) + s.Reset() + return pingError(err) + } + ra := mrand.New(mrand.NewSource(int64(binary.BigEndian.Uint64(b)))) + ctx, cancel := context.WithCancel(ctx) out := make(chan Result) @@ -129,7 +139,7 @@ func Ping(ctx context.Context, h host.Host, p peer.ID) <-chan Result { for ctx.Err() == nil { var res Result - res.RTT, res.Error = ping(s) + res.RTT, res.Error = ping(s, ra) // canceled, ignore everything. if ctx.Err() != nil { @@ -157,7 +167,7 @@ func Ping(ctx context.Context, h host.Host, p peer.ID) <-chan Result { return out } -func ping(s network.Stream) (time.Duration, error) { +func ping(s network.Stream, randReader io.Reader) (time.Duration, error) { if err := s.Scope().ReserveMemory(2*PingSize, network.ReservationPriorityAlways); err != nil { log.Debugf("error reserving memory for ping stream: %s", err) s.Reset() @@ -168,19 +178,19 @@ func ping(s network.Stream) (time.Duration, error) { buf := pool.Get(PingSize) defer pool.Put(buf) - u.NewTimeSeededRand().Read(buf) + if _, err := io.ReadFull(randReader, buf); err != nil { + return 0, err + } before := time.Now() - _, err := s.Write(buf) - if err != nil { + if _, err := s.Write(buf); err != nil { return 0, err } rbuf := pool.Get(PingSize) defer pool.Put(rbuf) - _, err = io.ReadFull(s, rbuf) - if err != nil { + if _, err := io.ReadFull(s, rbuf); err != nil { return 0, err } diff --git a/vendor/github.com/libp2p/go-libp2p-noise/LICENSE.md b/vendor/github.com/libp2p/go-libp2p/p2p/security/noise/LICENSE.md similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-noise/LICENSE.md rename to vendor/github.com/libp2p/go-libp2p/p2p/security/noise/LICENSE.md diff --git a/vendor/github.com/libp2p/go-libp2p-noise/crypto.go b/vendor/github.com/libp2p/go-libp2p/p2p/security/noise/crypto.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-noise/crypto.go rename to vendor/github.com/libp2p/go-libp2p/p2p/security/noise/crypto.go diff --git a/vendor/github.com/libp2p/go-libp2p-noise/handshake.go b/vendor/github.com/libp2p/go-libp2p/p2p/security/noise/handshake.go similarity index 91% rename from vendor/github.com/libp2p/go-libp2p-noise/handshake.go rename to vendor/github.com/libp2p/go-libp2p/p2p/security/noise/handshake.go index d70a52958..65fe294bd 100644 --- a/vendor/github.com/libp2p/go-libp2p-noise/handshake.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/security/noise/handshake.go @@ -5,30 +5,48 @@ import ( "crypto/rand" "encoding/binary" "fmt" + "hash" + "os" + "runtime/debug" "time" - "golang.org/x/crypto/poly1305" + "github.com/minio/sha256-simd" + "golang.org/x/crypto/chacha20poly1305" - "github.com/flynn/noise" - "github.com/gogo/protobuf/proto" + "github.com/libp2p/go-libp2p/p2p/security/noise/pb" - pool "github.com/libp2p/go-buffer-pool" "github.com/libp2p/go-libp2p-core/crypto" "github.com/libp2p/go-libp2p-core/peer" - "github.com/libp2p/go-libp2p-noise/pb" + "github.com/flynn/noise" + "github.com/gogo/protobuf/proto" + pool "github.com/libp2p/go-buffer-pool" ) // payloadSigPrefix is prepended to our Noise static key before signing with // our libp2p identity key. const payloadSigPrefix = "noise-libp2p-static-key:" +type minioSHAFn struct{} + +func (h minioSHAFn) Hash() hash.Hash { return sha256.New() } +func (h minioSHAFn) HashName() string { return "SHA256" } + +var shaHashFn noise.HashFunc = minioSHAFn{} + // All noise session share a fixed cipher suite -var cipherSuite = noise.NewCipherSuite(noise.DH25519, noise.CipherChaChaPoly, noise.HashSHA256) +var cipherSuite = noise.NewCipherSuite(noise.DH25519, noise.CipherChaChaPoly, shaHashFn) // runHandshake exchanges handshake messages with the remote peer to establish // a noise-libp2p session. It blocks until the handshake completes or fails. -func (s *secureSession) runHandshake(ctx context.Context) error { +func (s *secureSession) runHandshake(ctx context.Context) (err error) { + defer func() { + if rerr := recover(); rerr != nil { + fmt.Fprintf(os.Stderr, "caught panic: %s\n%s\n", rerr, debug.Stack()) + err = fmt.Errorf("panic in Noise handshake: %s", rerr) + } + }() + kp, err := noise.DH25519.GenerateKeypair(rand.Reader) if err != nil { return fmt.Errorf("error generating static keypair: %w", err) @@ -64,7 +82,7 @@ func (s *secureSession) runHandshake(ctx context.Context) error { // will be the size of the maximum handshake message for the Noise XX pattern. // Also, since we prefix every noise handshake message with its length, we need to account for // it when we fetch the buffer from the pool - maxMsgSize := 2*noise.DH25519.DHLen() + len(payload) + 2*poly1305.TagSize + maxMsgSize := 2*noise.DH25519.DHLen() + len(payload) + 2*chacha20poly1305.Overhead hbuf := pool.Get(maxMsgSize + LengthPrefixLength) defer pool.Put(hbuf) @@ -102,7 +120,7 @@ func (s *secureSession) runHandshake(ctx context.Context) error { // stage 1 // // Handshake Msg Len = len(DH ephemeral key) + len(DHT static key) + MAC(static key is encrypted) + len(Payload) + - //MAC(payload is encrypted) + // MAC(payload is encrypted) err = s.sendHandshakeMessage(hs, payload, hbuf) if err != nil { return fmt.Errorf("error sending handshake message: %w", err) diff --git a/vendor/github.com/libp2p/go-libp2p-noise/pb/Makefile b/vendor/github.com/libp2p/go-libp2p/p2p/security/noise/pb/Makefile similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-noise/pb/Makefile rename to vendor/github.com/libp2p/go-libp2p/p2p/security/noise/pb/Makefile diff --git a/vendor/github.com/libp2p/go-libp2p-noise/pb/payload.pb.go b/vendor/github.com/libp2p/go-libp2p/p2p/security/noise/pb/payload.pb.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-noise/pb/payload.pb.go rename to vendor/github.com/libp2p/go-libp2p/p2p/security/noise/pb/payload.pb.go diff --git a/vendor/github.com/libp2p/go-libp2p-noise/pb/payload.proto b/vendor/github.com/libp2p/go-libp2p/p2p/security/noise/pb/payload.proto similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-noise/pb/payload.proto rename to vendor/github.com/libp2p/go-libp2p/p2p/security/noise/pb/payload.proto diff --git a/vendor/github.com/libp2p/go-libp2p-noise/rw.go b/vendor/github.com/libp2p/go-libp2p/p2p/security/noise/rw.go similarity index 96% rename from vendor/github.com/libp2p/go-libp2p-noise/rw.go rename to vendor/github.com/libp2p/go-libp2p/p2p/security/noise/rw.go index b73845f5c..d52768f48 100644 --- a/vendor/github.com/libp2p/go-libp2p-noise/rw.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/security/noise/rw.go @@ -5,8 +5,7 @@ import ( "io" pool "github.com/libp2p/go-buffer-pool" - - "golang.org/x/crypto/poly1305" + "golang.org/x/crypto/chacha20poly1305" ) // MaxTransportMsgLength is the Noise-imposed maximum transport message length, @@ -15,7 +14,7 @@ const MaxTransportMsgLength = 0xffff // MaxPlaintextLength is the maximum payload size. It is MaxTransportMsgLength // minus the MAC size. Payloads over this size will be automatically chunked. -const MaxPlaintextLength = MaxTransportMsgLength - poly1305.TagSize +const MaxPlaintextLength = MaxTransportMsgLength - chacha20poly1305.Overhead // LengthPrefixLength is the length of the length prefix itself, which precedes // all transport messages in order to delimit them. In bytes. @@ -100,7 +99,7 @@ func (s *secureSession) Write(data []byte) (int, error) { ) if total < MaxPlaintextLength { - cbuf = pool.Get(total + poly1305.TagSize + LengthPrefixLength) + cbuf = pool.Get(total + chacha20poly1305.Overhead + LengthPrefixLength) } else { cbuf = pool.Get(MaxTransportMsgLength + LengthPrefixLength) } diff --git a/vendor/github.com/libp2p/go-libp2p-noise/session.go b/vendor/github.com/libp2p/go-libp2p/p2p/security/noise/session.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-noise/session.go rename to vendor/github.com/libp2p/go-libp2p/p2p/security/noise/session.go diff --git a/vendor/github.com/libp2p/go-libp2p-noise/transport.go b/vendor/github.com/libp2p/go-libp2p/p2p/security/noise/transport.go similarity index 77% rename from vendor/github.com/libp2p/go-libp2p-noise/transport.go rename to vendor/github.com/libp2p/go-libp2p/p2p/security/noise/transport.go index c8d7a44f5..c39da8697 100644 --- a/vendor/github.com/libp2p/go-libp2p-noise/transport.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/security/noise/transport.go @@ -4,9 +4,11 @@ import ( "context" "net" + "github.com/libp2p/go-libp2p-core/canonicallog" "github.com/libp2p/go-libp2p-core/crypto" "github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-core/sec" + manet "github.com/multiformats/go-multiaddr/net" ) // ID is the protocol ID for noise @@ -38,7 +40,14 @@ func New(privkey crypto.PrivKey) (*Transport, error) { // SecureInbound runs the Noise handshake as the responder. // If p is empty, connections from any peer are accepted. func (t *Transport) SecureInbound(ctx context.Context, insecure net.Conn, p peer.ID) (sec.SecureConn, error) { - return newSecureSession(t, ctx, insecure, p, false) + c, err := newSecureSession(t, ctx, insecure, p, false) + if err != nil { + addr, maErr := manet.FromNetAddr(insecure.RemoteAddr()) + if maErr == nil { + canonicallog.LogPeerStatus(100, p, addr, "handshake_failure", "noise", "err", err.Error()) + } + } + return c, err } // SecureOutbound runs the Noise handshake as the initiator. diff --git a/vendor/github.com/libp2p/go-libp2p-tls/LICENSE.md b/vendor/github.com/libp2p/go-libp2p/p2p/security/tls/LICENSE.md similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-tls/LICENSE.md rename to vendor/github.com/libp2p/go-libp2p/p2p/security/tls/LICENSE.md diff --git a/vendor/github.com/libp2p/go-libp2p-tls/conn.go b/vendor/github.com/libp2p/go-libp2p/p2p/security/tls/conn.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-tls/conn.go rename to vendor/github.com/libp2p/go-libp2p/p2p/security/tls/conn.go diff --git a/vendor/github.com/libp2p/go-libp2p-tls/crypto.go b/vendor/github.com/libp2p/go-libp2p/p2p/security/tls/crypto.go similarity index 95% rename from vendor/github.com/libp2p/go-libp2p-tls/crypto.go rename to vendor/github.com/libp2p/go-libp2p/p2p/security/tls/crypto.go index f3502aa74..24a06939e 100644 --- a/vendor/github.com/libp2p/go-libp2p-tls/crypto.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/security/tls/crypto.go @@ -11,6 +11,8 @@ import ( "errors" "fmt" "math/big" + "os" + "runtime/debug" "time" "golang.org/x/sys/cpu" @@ -72,7 +74,15 @@ func (i *Identity) ConfigForPeer(remote peer.ID) (*tls.Config, <-chan ic.PubKey) conf := i.config.Clone() // We're using InsecureSkipVerify, so the verifiedChains parameter will always be empty. // We need to parse the certificates ourselves from the raw certs. - conf.VerifyPeerCertificate = func(rawCerts [][]byte, _ [][]*x509.Certificate) error { + conf.VerifyPeerCertificate = func(rawCerts [][]byte, _ [][]*x509.Certificate) (err error) { + defer func() { + if rerr := recover(); rerr != nil { + fmt.Fprintf(os.Stderr, "panic when processing peer certificate in TLS handshake: %s\n%s\n", rerr, debug.Stack()) + err = fmt.Errorf("panic when processing peer certificate in TLS handshake: %s", rerr) + + } + }() + defer close(keyCh) chain := make([]*x509.Certificate, len(rawCerts)) diff --git a/vendor/github.com/libp2p/go-libp2p-tls/extension.go b/vendor/github.com/libp2p/go-libp2p/p2p/security/tls/extension.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-tls/extension.go rename to vendor/github.com/libp2p/go-libp2p/p2p/security/tls/extension.go diff --git a/vendor/github.com/libp2p/go-libp2p-tls/transport.go b/vendor/github.com/libp2p/go-libp2p/p2p/security/tls/transport.go similarity index 69% rename from vendor/github.com/libp2p/go-libp2p-tls/transport.go rename to vendor/github.com/libp2p/go-libp2p/p2p/security/tls/transport.go index 6be3c79a7..90c714911 100644 --- a/vendor/github.com/libp2p/go-libp2p-tls/transport.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/security/tls/transport.go @@ -4,12 +4,16 @@ import ( "context" "crypto/tls" "errors" + "fmt" "net" - "sync" + "os" + "runtime/debug" + "github.com/libp2p/go-libp2p-core/canonicallog" ci "github.com/libp2p/go-libp2p-core/crypto" "github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-core/sec" + manet "github.com/multiformats/go-multiaddr/net" ) // ID is the protocol ID (used when negotiating with multistream) @@ -50,6 +54,10 @@ func (t *Transport) SecureInbound(ctx context.Context, insecure net.Conn, p peer config, keyCh := t.identity.ConfigForPeer(p) cs, err := t.handshake(ctx, tls.Server(insecure, config), keyCh) if err != nil { + addr, maErr := manet.FromNetAddr(insecure.RemoteAddr()) + if maErr == nil { + canonicallog.LogPeerStatus(100, p, addr, "handshake_failure", "tls", "err", err.Error()) + } insecure.Close() } return cs, err @@ -71,44 +79,16 @@ func (t *Transport) SecureOutbound(ctx context.Context, insecure net.Conn, p pee return cs, err } -func (t *Transport) handshake( - ctx context.Context, - tlsConn *tls.Conn, - keyCh <-chan ci.PubKey, -) (sec.SecureConn, error) { - // There's no way to pass a context to tls.Conn.Handshake(). - // See https://github.com/golang/go/issues/18482. - // Close the connection instead. - select { - case <-ctx.Done(): - tlsConn.Close() - default: - } +func (t *Transport) handshake(ctx context.Context, tlsConn *tls.Conn, keyCh <-chan ci.PubKey) (_sconn sec.SecureConn, err error) { + defer func() { + if rerr := recover(); rerr != nil { + fmt.Fprintf(os.Stderr, "panic in TLS handshake: %s\n%s\n", rerr, debug.Stack()) + err = fmt.Errorf("panic in TLS handshake: %s", rerr) - done := make(chan struct{}) - var wg sync.WaitGroup - - // Ensure that we do not return before - // either being done or having a context - // cancellation. - defer wg.Wait() - defer close(done) - - wg.Add(1) - go func() { - defer wg.Done() - select { - case <-done: - case <-ctx.Done(): - tlsConn.Close() } }() - if err := tlsConn.Handshake(); err != nil { - // if the context was canceled, return the context error - if ctxErr := ctx.Err(); ctxErr != nil { - return nil, ctxErr - } + if err := tlsConn.HandshakeContext(ctx); err != nil { return nil, err } @@ -119,18 +99,10 @@ func (t *Transport) handshake( default: } if remotePubKey == nil { - return nil, errors.New("go-libp2p-tls BUG: expected remote pub key to be set") + return nil, errors.New("go-libp2p tls BUG: expected remote pub key to be set") } - conn, err := t.setupConn(tlsConn, remotePubKey) - if err != nil { - // if the context was canceled, return the context error - if ctxErr := ctx.Err(); ctxErr != nil { - return nil, ctxErr - } - return nil, err - } - return conn, nil + return t.setupConn(tlsConn, remotePubKey) } func (t *Transport) setupConn(tlsConn *tls.Conn, remotePubKey ci.PubKey) (sec.SecureConn, error) { diff --git a/vendor/github.com/libp2p/go-libp2p-quic-transport/conn.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/conn.go similarity index 89% rename from vendor/github.com/libp2p/go-libp2p-quic-transport/conn.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/conn.go index 990180cf3..778460c6c 100644 --- a/vendor/github.com/libp2p/go-libp2p-quic-transport/conn.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/conn.go @@ -13,7 +13,7 @@ import ( ) type conn struct { - sess quic.Session + quicConn quic.Connection pconn *reuseConn transport *transport scope network.ConnManagementScope @@ -33,8 +33,8 @@ var _ tpt.CapableConn = &conn{} // It must be called even if the peer closed the connection in order for // garbage collection to properly work in this package. func (c *conn) Close() error { - c.transport.removeConn(c.sess) - err := c.sess.CloseWithError(0, "") + c.transport.removeConn(c.quicConn) + err := c.quicConn.CloseWithError(0, "") c.pconn.DecreaseCount() c.scope.Done() return err @@ -42,7 +42,7 @@ func (c *conn) Close() error { // IsClosed returns whether a connection is fully closed. func (c *conn) IsClosed() bool { - return c.sess.Context().Err() != nil + return c.quicConn.Context().Err() != nil } func (c *conn) allowWindowIncrease(size uint64) bool { @@ -51,13 +51,13 @@ func (c *conn) allowWindowIncrease(size uint64) bool { // OpenStream creates a new stream. func (c *conn) OpenStream(ctx context.Context) (network.MuxedStream, error) { - qstr, err := c.sess.OpenStreamSync(ctx) + qstr, err := c.quicConn.OpenStreamSync(ctx) return &stream{Stream: qstr}, err } // AcceptStream accepts a stream opened by the other side. func (c *conn) AcceptStream() (network.MuxedStream, error) { - qstr, err := c.sess.AcceptStream(context.Background()) + qstr, err := c.quicConn.AcceptStream(context.Background()) return &stream{Stream: qstr}, err } diff --git a/vendor/github.com/libp2p/go-libp2p-quic-transport/listener.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/listener.go similarity index 83% rename from vendor/github.com/libp2p/go-libp2p-quic-transport/listener.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/listener.go index 093e9ce48..955c0f6c0 100644 --- a/vendor/github.com/libp2p/go-libp2p-quic-transport/listener.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/listener.go @@ -5,13 +5,13 @@ import ( "crypto/tls" "net" + p2ptls "github.com/libp2p/go-libp2p/p2p/security/tls" + ic "github.com/libp2p/go-libp2p-core/crypto" "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" tpt "github.com/libp2p/go-libp2p-core/transport" - p2ptls "github.com/libp2p/go-libp2p-tls" - "github.com/lucas-clemente/quic-go" ma "github.com/multiformats/go-multiaddr" ) @@ -63,24 +63,24 @@ func newListener(rconn *reuseConn, t *transport, localPeer peer.ID, key ic.PrivK // Accept accepts new connections. func (l *listener) Accept() (tpt.CapableConn, error) { for { - sess, err := l.quicListener.Accept(context.Background()) + qconn, err := l.quicListener.Accept(context.Background()) if err != nil { return nil, err } - c, err := l.setupConn(sess) + c, err := l.setupConn(qconn) if err != nil { - sess.CloseWithError(0, err.Error()) + qconn.CloseWithError(0, err.Error()) continue } if l.transport.gater != nil && !(l.transport.gater.InterceptAccept(c) && l.transport.gater.InterceptSecured(network.DirInbound, c.remotePeerID, c)) { c.scope.Done() - sess.CloseWithError(errorCodeConnectionGating, "connection gated") + qconn.CloseWithError(errorCodeConnectionGating, "connection gated") continue } - l.transport.addConn(sess, c) + l.transport.addConn(qconn, c) // return through active hole punching if any - key := holePunchKey{addr: sess.RemoteAddr().String(), peer: c.remotePeerID} + key := holePunchKey{addr: qconn.RemoteAddr().String(), peer: c.remotePeerID} var wasHolePunch bool l.transport.holePunchingMx.Lock() holePunch, ok := l.transport.holePunching[key] @@ -97,17 +97,22 @@ func (l *listener) Accept() (tpt.CapableConn, error) { } } -func (l *listener) setupConn(sess quic.Session) (*conn, error) { - connScope, err := l.rcmgr.OpenConnection(network.DirInbound, false) +func (l *listener) setupConn(qconn quic.Connection) (*conn, error) { + remoteMultiaddr, err := toQuicMultiaddr(qconn.RemoteAddr()) if err != nil { - log.Debugw("resource manager blocked incoming connection", "addr", sess.RemoteAddr(), "error", err) + return nil, err + } + + connScope, err := l.rcmgr.OpenConnection(network.DirInbound, false, remoteMultiaddr) + if err != nil { + log.Debugw("resource manager blocked incoming connection", "addr", qconn.RemoteAddr(), "error", err) return nil, err } // The tls.Config used to establish this connection already verified the certificate chain. // Since we don't have any way of knowing which tls.Config was used though, // we have to re-determine the peer's identity here. // Therefore, this is expected to never fail. - remotePubKey, err := p2ptls.PubKeyFromCertChain(sess.ConnectionState().TLS.PeerCertificates) + remotePubKey, err := p2ptls.PubKeyFromCertChain(qconn.ConnectionState().TLS.PeerCertificates) if err != nil { connScope.Done() return nil, err @@ -118,19 +123,14 @@ func (l *listener) setupConn(sess quic.Session) (*conn, error) { return nil, err } if err := connScope.SetPeer(remotePeerID); err != nil { - log.Debugw("resource manager blocked incoming connection for peer", "peer", remotePeerID, "addr", sess.RemoteAddr(), "error", err) - connScope.Done() - return nil, err - } - remoteMultiaddr, err := toQuicMultiaddr(sess.RemoteAddr()) - if err != nil { + log.Debugw("resource manager blocked incoming connection for peer", "peer", remotePeerID, "addr", qconn.RemoteAddr(), "error", err) connScope.Done() return nil, err } l.conn.IncreaseCount() return &conn{ - sess: sess, + quicConn: qconn, pconn: l.conn, transport: l.transport, scope: connScope, diff --git a/vendor/github.com/libp2p/go-libp2p-quic-transport/quic_multiaddr.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/quic_multiaddr.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-quic-transport/quic_multiaddr.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/quic_multiaddr.go diff --git a/vendor/github.com/libp2p/go-libp2p-quic-transport/reuse.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/reuse.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-quic-transport/reuse.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/reuse.go diff --git a/vendor/github.com/libp2p/go-libp2p-quic-transport/stream.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/stream.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-quic-transport/stream.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/stream.go diff --git a/vendor/github.com/libp2p/go-libp2p-quic-transport/tracer.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/tracer.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-quic-transport/tracer.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/tracer.go diff --git a/vendor/github.com/libp2p/go-libp2p-quic-transport/tracer_metrics.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/tracer_metrics.go similarity index 100% rename from vendor/github.com/libp2p/go-libp2p-quic-transport/tracer_metrics.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/tracer_metrics.go diff --git a/vendor/github.com/libp2p/go-libp2p-quic-transport/transport.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/transport.go similarity index 90% rename from vendor/github.com/libp2p/go-libp2p-quic-transport/transport.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/transport.go index 1c46cf30f..cee7b1374 100644 --- a/vendor/github.com/libp2p/go-libp2p-quic-transport/transport.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/transport/quic/transport.go @@ -12,6 +12,8 @@ import ( "golang.org/x/crypto/hkdf" + p2ptls "github.com/libp2p/go-libp2p/p2p/security/tls" + "github.com/libp2p/go-libp2p-core/connmgr" ic "github.com/libp2p/go-libp2p-core/crypto" "github.com/libp2p/go-libp2p-core/network" @@ -19,8 +21,6 @@ import ( "github.com/libp2p/go-libp2p-core/pnet" tpt "github.com/libp2p/go-libp2p-core/transport" - p2ptls "github.com/libp2p/go-libp2p-tls" - ma "github.com/multiformats/go-multiaddr" mafmt "github.com/multiformats/go-multiaddr-fmt" manet "github.com/multiformats/go-multiaddr/net" @@ -47,8 +47,8 @@ var quicConfig = &quic.Config{ // TODO(#6): require source address validation when under load return true }, - KeepAlive: true, - Versions: []quic.VersionNumber{quic.VersionDraft29, quic.Version1}, + KeepAlivePeriod: 15 * time.Second, + Versions: []quic.VersionNumber{quic.VersionDraft29, quic.Version1}, } const statelessResetKeyInfo = "libp2p quic stateless reset key" @@ -118,7 +118,7 @@ type transport struct { holePunching map[holePunchKey]*activeHolePunch connMx sync.Mutex - conns map[quic.Session]*conn + conns map[quic.Connection]*conn } var _ tpt.Transport = &transport{} @@ -173,7 +173,7 @@ func NewTransport(key ic.PrivKey, psk pnet.PSK, gater connmgr.ConnectionGater, r connManager: connManager, gater: gater, rcmgr: rcmgr, - conns: make(map[quic.Session]*conn), + conns: make(map[quic.Connection]*conn), holePunching: make(map[holePunchKey]*activeHolePunch), } config.AllowConnectionWindowIncrease = tr.allowWindowIncrease @@ -201,7 +201,7 @@ func (t *transport) Dial(ctx context.Context, raddr ma.Multiaddr, p peer.ID) (tp return t.holePunch(ctx, netw, addr, p) } - scope, err := t.rcmgr.OpenConnection(network.DirOutbound, false) + scope, err := t.rcmgr.OpenConnection(network.DirOutbound, false, raddr) if err != nil { log.Debugw("resource manager blocked outgoing connection", "peer", p, "addr", raddr, "error", err) return nil, err @@ -215,7 +215,7 @@ func (t *transport) Dial(ctx context.Context, raddr ma.Multiaddr, p peer.ID) (tp if err != nil { return nil, err } - sess, err := quicDialContext(ctx, pconn, addr, host, tlsConf, t.clientConfig) + qconn, err := quicDialContext(ctx, pconn, addr, host, tlsConf, t.clientConfig) if err != nil { scope.Done() pconn.DecreaseCount() @@ -230,16 +230,16 @@ func (t *transport) Dial(ctx context.Context, raddr ma.Multiaddr, p peer.ID) (tp if remotePubKey == nil { pconn.DecreaseCount() scope.Done() - return nil, errors.New("go-libp2p-quic-transport BUG: expected remote pub key to be set") + return nil, errors.New("p2p/transport/quic BUG: expected remote pub key to be set") } localMultiaddr, err := toQuicMultiaddr(pconn.LocalAddr()) if err != nil { - sess.CloseWithError(0, "") + qconn.CloseWithError(0, "") return nil, err } c := &conn{ - sess: sess, + quicConn: qconn, pconn: pconn, transport: t, scope: scope, @@ -251,22 +251,22 @@ func (t *transport) Dial(ctx context.Context, raddr ma.Multiaddr, p peer.ID) (tp remoteMultiaddr: remoteMultiaddr, } if t.gater != nil && !t.gater.InterceptSecured(network.DirOutbound, p, c) { - sess.CloseWithError(errorCodeConnectionGating, "connection gated") + qconn.CloseWithError(errorCodeConnectionGating, "connection gated") return nil, fmt.Errorf("secured connection gated") } - t.addConn(sess, c) + t.addConn(qconn, c) return c, nil } -func (t *transport) addConn(sess quic.Session, c *conn) { +func (t *transport) addConn(conn quic.Connection, c *conn) { t.connMx.Lock() - t.conns[sess] = c + t.conns[conn] = c t.connMx.Unlock() } -func (t *transport) removeConn(sess quic.Session) { +func (t *transport) removeConn(conn quic.Connection) { t.connMx.Lock() - delete(t.conns, sess) + delete(t.conns, conn) t.connMx.Unlock() } @@ -376,13 +376,13 @@ func (t *transport) Listen(addr ma.Multiaddr) (tpt.Listener, error) { return ln, nil } -func (t *transport) allowWindowIncrease(sess quic.Session, size uint64) bool { - // If the QUIC session tries to increase the window before we've inserted it +func (t *transport) allowWindowIncrease(conn quic.Connection, size uint64) bool { + // If the QUIC connection tries to increase the window before we've inserted it // into our connections map (which we do right after dialing / accepting it), // we have no way to account for that memory. This should be very rare. - // Block this attempt. The session can request more memory later. + // Block this attempt. The connection can request more memory later. t.connMx.Lock() - c, ok := t.conns[sess] + c, ok := t.conns[conn] t.connMx.Unlock() if !ok { return false diff --git a/vendor/github.com/libp2p/go-tcp-transport/metrics.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/metrics.go similarity index 100% rename from vendor/github.com/libp2p/go-tcp-transport/metrics.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/metrics.go diff --git a/vendor/github.com/libp2p/go-tcp-transport/metrics_darwin.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/metrics_darwin.go similarity index 100% rename from vendor/github.com/libp2p/go-tcp-transport/metrics_darwin.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/metrics_darwin.go diff --git a/vendor/github.com/libp2p/go-tcp-transport/metrics_general.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/metrics_general.go similarity index 100% rename from vendor/github.com/libp2p/go-tcp-transport/metrics_general.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/metrics_general.go diff --git a/vendor/github.com/libp2p/go-tcp-transport/metrics_linux.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/metrics_linux.go similarity index 100% rename from vendor/github.com/libp2p/go-tcp-transport/metrics_linux.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/metrics_linux.go diff --git a/vendor/github.com/libp2p/go-tcp-transport/metrics_windows.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/metrics_windows.go similarity index 100% rename from vendor/github.com/libp2p/go-tcp-transport/metrics_windows.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/metrics_windows.go diff --git a/vendor/github.com/libp2p/go-tcp-transport/reuseport.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/reuseport.go similarity index 100% rename from vendor/github.com/libp2p/go-tcp-transport/reuseport.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/reuseport.go diff --git a/vendor/github.com/libp2p/go-tcp-transport/tcp.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/tcp.go similarity index 94% rename from vendor/github.com/libp2p/go-tcp-transport/tcp.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/tcp.go index 494d955e6..120feee8d 100644 --- a/vendor/github.com/libp2p/go-tcp-transport/tcp.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/transport/tcp/tcp.go @@ -9,12 +9,12 @@ import ( "syscall" "time" + "github.com/libp2p/go-libp2p/p2p/net/reuseport" + "github.com/libp2p/go-libp2p-core/network" "github.com/libp2p/go-libp2p-core/peer" "github.com/libp2p/go-libp2p-core/transport" - rtpt "github.com/libp2p/go-reuseport-transport" - logging "github.com/ipfs/go-log/v2" ma "github.com/multiformats/go-multiaddr" mafmt "github.com/multiformats/go-multiaddr-fmt" @@ -86,7 +86,7 @@ func (ll *tcpListener) Accept() (manet.Conn, error) { tryKeepAlive(c, true) // We're not calling OpenConnection in the resource manager here, // since the manet.Conn doesn't allow us to save the scope. - // It's the caller's (usually the go-libp2p-transport-upgrader) responsibility + // It's the caller's (usually the p2p/net/upgrader) responsibility // to call the resource manager. return c, nil } @@ -111,7 +111,7 @@ func WithConnectionTimeout(d time.Duration) Option { type TcpTransport struct { // Connection upgrader for upgrading insecure stream connections to // secure multiplex connections. - Upgrader transport.Upgrader + upgrader transport.Upgrader // Explicitly disable reuseport. disableReuseport bool @@ -121,7 +121,7 @@ type TcpTransport struct { rcmgr network.ResourceManager - reuse rtpt.Transport + reuse reuseport.Transport } var _ transport.Transport = &TcpTransport{} @@ -133,7 +133,7 @@ func NewTCPTransport(upgrader transport.Upgrader, rcmgr network.ResourceManager, rcmgr = network.NullResourceManager } tr := &TcpTransport{ - Upgrader: upgrader, + upgrader: upgrader, connectTimeout: defaultConnectTimeout, // can be set by using the WithConnectionTimeout option rcmgr: rcmgr, } @@ -170,7 +170,7 @@ func (t *TcpTransport) maDial(ctx context.Context, raddr ma.Multiaddr) (manet.Co // Dial dials the peer at the remote address. func (t *TcpTransport) Dial(ctx context.Context, raddr ma.Multiaddr, p peer.ID) (transport.CapableConn, error) { - connScope, err := t.rcmgr.OpenConnection(network.DirOutbound, true) + connScope, err := t.rcmgr.OpenConnection(network.DirOutbound, true, raddr) if err != nil { log.Debugw("resource manager blocked outgoing connection", "peer", p, "addr", raddr, "error", err) return nil, err @@ -199,7 +199,7 @@ func (t *TcpTransport) Dial(ctx context.Context, raddr ma.Multiaddr, p peer.ID) if ok, isClient, _ := network.GetSimultaneousConnect(ctx); ok && !isClient { direction = network.DirInbound } - return t.Upgrader.Upgrade(ctx, t, c, direction, p, connScope) + return t.upgrader.Upgrade(ctx, t, c, direction, p, connScope) } // UseReuseport returns true if reuseport is enabled and available. @@ -221,7 +221,7 @@ func (t *TcpTransport) Listen(laddr ma.Multiaddr) (transport.Listener, error) { return nil, err } list = newTracingListener(&tcpListener{list, 0}) - return t.Upgrader.UpgradeListener(t, list), nil + return t.upgrader.UpgradeListener(t, list), nil } // Protocols returns the list of terminal protocols this transport can dial. diff --git a/vendor/github.com/libp2p/go-ws-transport/LICENSE-APACHE b/vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/LICENSE-APACHE similarity index 100% rename from vendor/github.com/libp2p/go-ws-transport/LICENSE-APACHE rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/LICENSE-APACHE diff --git a/vendor/github.com/libp2p/go-ws-transport/LICENSE-MIT b/vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/LICENSE-MIT similarity index 100% rename from vendor/github.com/libp2p/go-ws-transport/LICENSE-MIT rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/LICENSE-MIT diff --git a/vendor/github.com/libp2p/go-ws-transport/addrs.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/addrs.go similarity index 100% rename from vendor/github.com/libp2p/go-ws-transport/addrs.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/addrs.go diff --git a/vendor/github.com/libp2p/go-ws-transport/conn.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/conn.go similarity index 100% rename from vendor/github.com/libp2p/go-ws-transport/conn.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/conn.go diff --git a/vendor/github.com/libp2p/go-ws-transport/listener.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/listener.go similarity index 100% rename from vendor/github.com/libp2p/go-ws-transport/listener.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/listener.go diff --git a/vendor/github.com/libp2p/go-ws-transport/websocket.go b/vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/websocket.go similarity index 96% rename from vendor/github.com/libp2p/go-ws-transport/websocket.go rename to vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/websocket.go index a65fcdccf..af74ccfbf 100644 --- a/vendor/github.com/libp2p/go-ws-transport/websocket.go +++ b/vendor/github.com/libp2p/go-libp2p/p2p/transport/websocket/websocket.go @@ -23,7 +23,7 @@ var WsFmt = mafmt.And(mafmt.TCP, mafmt.Base(ma.P_WS)) // This is _not_ WsFmt because we want the transport to stick to dialing fully // resolved addresses. -var dialMatcher = mafmt.And(mafmt.IP, mafmt.Base(ma.P_TCP), mafmt.Or(mafmt.Base(ma.P_WS), mafmt.Base(ma.P_WSS))) +var dialMatcher = mafmt.And(mafmt.Or(mafmt.IP, mafmt.DNS), mafmt.Base(ma.P_TCP), mafmt.Or(mafmt.Base(ma.P_WS), mafmt.Base(ma.P_WSS))) func init() { manet.RegisterFromNetAddr(ParseWebsocketNetAddr, "websocket") @@ -101,7 +101,7 @@ func (t *WebsocketTransport) Proxy() bool { } func (t *WebsocketTransport) Dial(ctx context.Context, raddr ma.Multiaddr, p peer.ID) (transport.CapableConn, error) { - connScope, err := t.rcmgr.OpenConnection(network.DirOutbound, true) + connScope, err := t.rcmgr.OpenConnection(network.DirOutbound, true, raddr) if err != nil { return nil, err } diff --git a/vendor/github.com/libp2p/go-libp2p/version.json b/vendor/github.com/libp2p/go-libp2p/version.json index 5775de3b2..c6a304fe7 100644 --- a/vendor/github.com/libp2p/go-libp2p/version.json +++ b/vendor/github.com/libp2p/go-libp2p/version.json @@ -1,3 +1,3 @@ { - "version": "v0.18.0" + "version": "v0.21.0" } diff --git a/vendor/github.com/libp2p/go-mplex/multiplex.go b/vendor/github.com/libp2p/go-mplex/multiplex.go index 7650f1da0..90e364beb 100644 --- a/vendor/github.com/libp2p/go-mplex/multiplex.go +++ b/vendor/github.com/libp2p/go-mplex/multiplex.go @@ -8,6 +8,8 @@ import ( "fmt" "io" "net" + "os" + "runtime/debug" "sync" "time" @@ -250,6 +252,12 @@ func (mp *Multiplex) sendMsg(timeout, cancel <-chan struct{}, header uint64, dat } func (mp *Multiplex) handleOutgoing() { + defer func() { + if rerr := recover(); rerr != nil { + fmt.Fprintf(os.Stderr, "caught panic in handleOutgoing: %s\n%s\n", rerr, debug.Stack()) + } + }() + for { select { case <-mp.shutdown: @@ -349,6 +357,12 @@ func (mp *Multiplex) cleanup() { } func (mp *Multiplex) handleIncoming() { + defer func() { + if rerr := recover(); rerr != nil { + fmt.Fprintf(os.Stderr, "caught panic in handleIncoming: %s\n%s\n", rerr, debug.Stack()) + } + }() + defer mp.cleanup() recvTimeout := time.NewTimer(0) diff --git a/vendor/github.com/libp2p/go-mplex/version.json b/vendor/github.com/libp2p/go-mplex/version.json index 42c14d1be..9f6d6fca3 100644 --- a/vendor/github.com/libp2p/go-mplex/version.json +++ b/vendor/github.com/libp2p/go-mplex/version.json @@ -1,3 +1,3 @@ { - "version": "v0.6.0" + "version": "v0.7.0" } diff --git a/vendor/github.com/libp2p/go-msgio/README.md b/vendor/github.com/libp2p/go-msgio/README.md index c2196ec58..37c99ca4d 100644 --- a/vendor/github.com/libp2p/go-msgio/README.md +++ b/vendor/github.com/libp2p/go-msgio/README.md @@ -65,25 +65,6 @@ for { } ``` -### Channels - -```go -import "github.com/libp2p/go-msgio" -rw := genReadWriter() -rch := msgio.NewReadChannel(rw) -wch := msgio.NewWriteChannel(rw) - -for { - msg, err := <-rch - if err != nil { - return err - } - - // echo it back :) - wch<- rw -} -``` - --- The last gx published version of this module was: 0.0.6: QmcxL9MDzSU5Mj1GcWZD8CXkAFuJXjdbjotZ93o371bKSf diff --git a/vendor/github.com/libp2p/go-msgio/protoio/uvarint_reader.go b/vendor/github.com/libp2p/go-msgio/protoio/uvarint_reader.go index a3607fd73..117346715 100644 --- a/vendor/github.com/libp2p/go-msgio/protoio/uvarint_reader.go +++ b/vendor/github.com/libp2p/go-msgio/protoio/uvarint_reader.go @@ -34,7 +34,10 @@ package protoio import ( "bufio" + "fmt" "io" + "os" + "runtime/debug" "github.com/gogo/protobuf/proto" @@ -56,7 +59,14 @@ func NewDelimitedReader(r io.Reader, maxSize int) ReadCloser { return &uvarintReader{bufio.NewReader(r), nil, maxSize, closer} } -func (ur *uvarintReader) ReadMsg(msg proto.Message) error { +func (ur *uvarintReader) ReadMsg(msg proto.Message) (err error) { + defer func() { + if rerr := recover(); rerr != nil { + fmt.Fprintf(os.Stderr, "caught panic: %s\n%s\n", rerr, debug.Stack()) + err = fmt.Errorf("panic reading message: %s", rerr) + } + }() + length64, err := varint.ReadUvarint(ur.r) if err != nil { return err diff --git a/vendor/github.com/libp2p/go-msgio/protoio/uvarint_writer.go b/vendor/github.com/libp2p/go-msgio/protoio/uvarint_writer.go index 0da567a55..ace982e11 100644 --- a/vendor/github.com/libp2p/go-msgio/protoio/uvarint_writer.go +++ b/vendor/github.com/libp2p/go-msgio/protoio/uvarint_writer.go @@ -33,7 +33,10 @@ package protoio import ( + "fmt" "io" + "os" + "runtime/debug" "github.com/gogo/protobuf/proto" @@ -51,6 +54,13 @@ func NewDelimitedWriter(w io.Writer) WriteCloser { } func (uw *uvarintWriter) WriteMsg(msg proto.Message) (err error) { + defer func() { + if rerr := recover(); rerr != nil { + fmt.Fprintf(os.Stderr, "caught panic: %s\n%s\n", rerr, debug.Stack()) + err = fmt.Errorf("panic reading message: %s", rerr) + } + }() + var data []byte if m, ok := msg.(interface { MarshalTo(data []byte) (n int, err error) diff --git a/vendor/github.com/libp2p/go-msgio/version.json b/vendor/github.com/libp2p/go-msgio/version.json new file mode 100644 index 000000000..1437d5b73 --- /dev/null +++ b/vendor/github.com/libp2p/go-msgio/version.json @@ -0,0 +1,3 @@ +{ + "version": "v0.2.0" +} diff --git a/vendor/github.com/libp2p/go-reuseport-transport/LICENSE b/vendor/github.com/libp2p/go-reuseport-transport/LICENSE deleted file mode 100644 index 26100332b..000000000 --- a/vendor/github.com/libp2p/go-reuseport-transport/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Jeromy Johnson - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/libp2p/go-reuseport-transport/README.md b/vendor/github.com/libp2p/go-reuseport-transport/README.md deleted file mode 100644 index ba35dcd42..000000000 --- a/vendor/github.com/libp2p/go-reuseport-transport/README.md +++ /dev/null @@ -1,49 +0,0 @@ -# go-reuseport-transport - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) -[![GoDoc](https://godoc.org/github.com/libp2p/go-reuseport-transport?status.svg)](https://godoc.org/github.com/libp2p/go-reuseport-transport) -[![Build Status](https://travis-ci.org/libp2p/go-reuseport-transport.svg?branch=master)](https://travis-ci.org/libp2p/go-reuseport-transport) - -> Basic reuseport TCP transport - -This package provides a basic transport for automatically (and intelligently) reusing TCP ports. - -To use, construct a new `Transport` (the zero value is safe to use) and configure any listeners (`tr.Listen(...)`). - -Then, when dialing (`tr.Dial(...)`), the transport will attempt to reuse the ports it's currently listening on, choosing the best one depending on the destination address. - - -NOTE: Currently, we don't make any attempts to prevent two reusport transports from interfering with each other (reusing each other's ports). However, we reserve the right to fix this in the future. - -## Install - -`go-reuseport-transport` is a standard Go module which can be installed with: - -```sh -go get github.com/libp2p/go-reuseport-transport -``` - -## Current use in libp2p - -This package is *currently* used by the [go-tcp-transport](https://github.com/libp2p/go-tcp-transport) libp2p transport and will likely be used by more libp2p transports in the future. - -## Contribute - -Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/go-reuseport-transport/issues)! - -This repository falls under the libp2p [Code of Conduct](https://github.com/libp2p/community/blob/master/code-of-conduct.md). - -### Want to hack on libp2p? - -[![](https://cdn.rawgit.com/libp2p/community/master/img/contribute.gif)](https://github.com/libp2p/community/blob/master/CONTRIBUTE.md) - -## License - -MIT - ---- - -The last gx published version of this module was: 0.2.3: QmTmbamDjDWgHe8qeMt7ZpaeNpTj349JpFKuwTF321XavT diff --git a/vendor/github.com/libp2p/go-reuseport-transport/transport.go b/vendor/github.com/libp2p/go-reuseport-transport/transport.go deleted file mode 100644 index ce7c4c50b..000000000 --- a/vendor/github.com/libp2p/go-reuseport-transport/transport.go +++ /dev/null @@ -1,25 +0,0 @@ -package tcpreuse - -import ( - "errors" - "sync" - - logging "github.com/ipfs/go-log/v2" -) - -var log = logging.Logger("reuseport-transport") - -// ErrWrongProto is returned when dialing a protocol other than tcp. -var ErrWrongProto = errors.New("can only dial TCP over IPv4 or IPv6") - -// Transport is a TCP reuse transport that reuses listener ports. -type Transport struct { - v4 network - v6 network -} - -type network struct { - mu sync.RWMutex - listeners map[*listener]struct{} - dialer dialer -} diff --git a/vendor/github.com/libp2p/go-reuseport/version.json b/vendor/github.com/libp2p/go-reuseport/version.json new file mode 100644 index 000000000..1437d5b73 --- /dev/null +++ b/vendor/github.com/libp2p/go-reuseport/version.json @@ -0,0 +1,3 @@ +{ + "version": "v0.2.0" +} diff --git a/vendor/github.com/libp2p/go-stream-muxer-multistream/.gitignore b/vendor/github.com/libp2p/go-stream-muxer-multistream/.gitignore deleted file mode 100644 index 1377554eb..000000000 --- a/vendor/github.com/libp2p/go-stream-muxer-multistream/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.swp diff --git a/vendor/github.com/libp2p/go-stream-muxer-multistream/LICENSE b/vendor/github.com/libp2p/go-stream-muxer-multistream/LICENSE deleted file mode 100644 index c7386b3c9..000000000 --- a/vendor/github.com/libp2p/go-stream-muxer-multistream/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Juan Batiz-Benet - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/libp2p/go-stream-muxer-multistream/Makefile b/vendor/github.com/libp2p/go-stream-muxer-multistream/Makefile deleted file mode 100644 index 3907e8578..000000000 --- a/vendor/github.com/libp2p/go-stream-muxer-multistream/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -build: deps - go build ./... - -test: deps - go test ./... - -test_race: deps - go test -race ./... - -gx-bins: - go get github.com/whyrusleeping/gx - go get github.com/whyrusleeping/gx-go - -deps: gx-bins - gx --verbose install --global - gx-go rewrite - -clean: gx-bins - gx-go rewrite --undo diff --git a/vendor/github.com/libp2p/go-stream-muxer-multistream/README.md b/vendor/github.com/libp2p/go-stream-muxer-multistream/README.md deleted file mode 100644 index 68bc2da62..000000000 --- a/vendor/github.com/libp2p/go-stream-muxer-multistream/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# go-smux-multistream - a go-stream-muxer shim for multistream - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs) ![](https://raw.githubusercontent.com/libp2p/go-stream-muxer/master/img/badge.png) - -This is an implementation of the [go-stream-muxer](https://github.com/libp2p/go-stream-muxer) interface for [multistream](https://github.com/whyrusleeping/go-multistream). For more information, see that repo. - -## Installation - -```sh -go get -d github.com/libp2p/go-stream-muxer-multistream -cd $GOPATH/src/github.com/libp2p/go-stream-muxer-multistream -make deps -``` diff --git a/vendor/github.com/libp2p/go-stream-muxer-multistream/version.json b/vendor/github.com/libp2p/go-stream-muxer-multistream/version.json deleted file mode 100644 index 372b6eab3..000000000 --- a/vendor/github.com/libp2p/go-stream-muxer-multistream/version.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "v0.4.0" -} diff --git a/vendor/github.com/libp2p/go-tcp-transport/LICENSE b/vendor/github.com/libp2p/go-tcp-transport/LICENSE deleted file mode 100644 index 26100332b..000000000 --- a/vendor/github.com/libp2p/go-tcp-transport/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Jeromy Johnson - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/vendor/github.com/libp2p/go-tcp-transport/README.md b/vendor/github.com/libp2p/go-tcp-transport/README.md deleted file mode 100644 index 4052a609d..000000000 --- a/vendor/github.com/libp2p/go-tcp-transport/README.md +++ /dev/null @@ -1,144 +0,0 @@ -go-tcp-transport -================== - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) -[![Coverage Status](https://coveralls.io/repos/github/libp2p/go-tcp-transport/badge.svg?branch=master)](https://coveralls.io/github/libp2p/go-tcp-transport?branch=master) -[![Travis CI](https://travis-ci.com/libp2p/go-tcp-transport.svg?branch=master)](https://travis-ci.com/libp2p/go-tcp-transport) - -> A libp2p transport implementation for tcp, including reuseport socket options. - -`go-tcp-transport` is an implementation of the [libp2p transport -interface][concept-transport] that streams data over TCP/IP sockets. It is -included by default in the main [`go-libp2p`][go-libp2p] "entry point" module. - -## Table of Contents - -- [go-tcp-transport](#go-tcp-transport) - - [Table of Contents](#table-of-contents) - - [Install](#install) - - [Usage](#usage) - - [Security and Multiplexing](#security-and-multiplexing) - - [reuseport](#reuseport) - - [Contribute](#contribute) - - [License](#license) - -## Install - -`go-tcp-transport` is included as a dependency of `go-libp2p`, which is the most -common libp2p entry point. If you depend on `go-libp2p`, there is generally no -need to explicitly depend on this module. - -`go-tcp-transport` is a standard Go module which can be installed with: - -``` sh -go get github.com/libp2p/go-tcp-transport -``` - - -This repo is [gomod](https://github.com/golang/go/wiki/Modules)-compatible, and users of -go 1.11 and later with modules enabled will automatically pull the latest tagged release -by referencing this package. Upgrades to future releases can be managed using `go get`, -or by editing your `go.mod` file as [described by the gomod documentation](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies). - -## Usage - -TCP is one of the default transports enabled when constructing a standard libp2p -Host, along with [WebSockets](https://github.com/libp2p/go-ws-transport). - -Calling [`libp2p.New`][godoc-libp2p-new] to construct a libp2p Host will enable -the TCP transport, unless you override the default transports by passing in -`Options` to `libp2p.New`. - -To explicitly enable the TCP transport while constructing a host, use the -`libp2p.Transport` option, passing in the `NewTCPTransport` constructor function: - -``` go - -import ( - libp2p "github.com/libp2p/go-libp2p" - tcp "github.com/libp2p/go-tcp-transport" -) - -// TCP only: -h, err := libp2p.New( - libp2p.Transport(tcp.NewTCPTransport) -) -``` - -The example above will replace the default transports with a single TCP -transport. To add multiple transports: - -``` go -// TCP and QUIC: -h, err := libp2p.New( - libp2p.Transport(tcp.NewTCPTransport), - libp2p.Transport(quic.NewTransport), // see https://github.com/libp2p/go-libp2p-quic-transport -) -``` - -To use TCP transport options, pass them to the `libp2p.Transport` constructor: -```go -h, err := libp2p.New( - libp2p.Transport(tcp.NewTCPTransport, tcp.DisableReuseport(), tcp.WithConnectionTimeout(20*time.Second)) -) -``` - -## Addresses - -The TCP transport supports [multiaddrs][multiaddr] that contain a `tcp` -component, provided that there is sufficient addressing information for the IP -layer of the connection. - -Examples: - -| addr | description | -|----------------------------|----------------------------------------------------| -| `/ip4/1.2.3.4/tcp/1234` | IPv4: 1.2.3.4, TCP port 1234 | -| `/ip6/::1/tcp/1234` | IPv6 loopback, TCP port 1234 | - -## Security and Multiplexing - -Because TCP lacks native connection security and stream multiplexing facilities, -the TCP transport uses a [transport upgrader][transport-upgrader] to provide -those features. The transport upgrader negotiates transport security and -multiplexing for each connection according to the protocols supported by each -party. - -## reuseport - -The [`SO_REUSEPORT`][explain-reuseport] socket option allows multiple processes -or threads to bind to the same TCP port, provided that all of them set the -socket option. This has some performance benefits, and it can potentially assist -in NAT traversal by only requiring one port to be accessible for many -connections. - -The reuseport functionality is provided by a seperate module, -[go-reuseport-transport](https://github.com/libp2p/go-reuseport-transport). It -is enabled by default, but can be disabled at runtime by setting the -`LIBP2P_TCP_REUSEPORT` environment variable to `false` or `0`. - -## Contribute - -PRs are welcome! - -Small note: If editing the Readme, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification. - -## License - -MIT © Jeromy Johnson - ---- - -The last gx published version of this module was: 2.0.28: QmTGiDkw4eeKq31wwpQRk5GwWiReaxrcTQLuCCLWgfKo5M - - -[go-libp2p]: https://github.com/libp2p/go-libp2p -[concept-transport]: https://docs.libp2p.io/concepts/transport/ -[interface-host]: https://github.com/libp2p/go-libp2p-core/blob/master/host/host.go -[godoc-libp2p-new]: https://godoc.org/github.com/libp2p/go-libp2p#New -[transport-upgrader]: https://github.com/libp2p/go-libp2p-transport-upgrader -[explain-reuseport]: https://lwn.net/Articles/542629/ -[multiaddr]: https://github.com/multiformats/multiaddr diff --git a/vendor/github.com/libp2p/go-tcp-transport/codecov.yml b/vendor/github.com/libp2p/go-tcp-transport/codecov.yml deleted file mode 100644 index 5f88a9ea2..000000000 --- a/vendor/github.com/libp2p/go-tcp-transport/codecov.yml +++ /dev/null @@ -1,3 +0,0 @@ -coverage: - range: "50...100" -comment: off diff --git a/vendor/github.com/libp2p/go-tcp-transport/version.json b/vendor/github.com/libp2p/go-tcp-transport/version.json deleted file mode 100644 index 4ab5086b7..000000000 --- a/vendor/github.com/libp2p/go-tcp-transport/version.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "v0.5.1" -} diff --git a/vendor/github.com/libp2p/go-ws-transport/.gitignore b/vendor/github.com/libp2p/go-ws-transport/.gitignore deleted file mode 100644 index 60978d0b5..000000000 --- a/vendor/github.com/libp2p/go-ws-transport/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/tools/bin/ diff --git a/vendor/github.com/libp2p/go-ws-transport/README.md b/vendor/github.com/libp2p/go-ws-transport/README.md deleted file mode 100644 index eca235122..000000000 --- a/vendor/github.com/libp2p/go-ws-transport/README.md +++ /dev/null @@ -1,140 +0,0 @@ -# go-ws-transport - -[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai) -[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) -[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) -[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) -[![GoDoc](https://godoc.org/github.com/libp2p/go-ws-transport?status.svg)](https://godoc.org/github.com/libp2p/go-ws-transport) -[![Coverage Status](https://coveralls.io/repos/github/libp2p/go-ws-transport/badge.svg?branch=master)](https://coveralls.io/github/libp2p/go-ws-transport?branch=master) -[![Build Status](https://travis-ci.org/libp2p/go-ws-transport.svg?branch=master)](https://travis-ci.org/libp2p/go-ws-transport) - -> A libp2p transport implementation using WebSockets - -`go-ws-transport` is an implementation of the [libp2p transport -interface][concept-transport] that streams data over -[WebSockets][spec-websockets], which are themselves layered over TCP/IP. It is -included by default in the main [`go-libp2p`][go-libp2p] "entry point" module. - -## Table of Contents - -- [go-ws-transport](#go-ws-transport) - - [Table of Contents](#table-of-contents) - - [Install](#install) - - [Usage](#usage) - - [Addresses](#addresses) - - [Security and Multiplexing](#security-and-multiplexing) - - [Contribute](#contribute) - - [Want to hack on IPFS?](#want-to-hack-on-ipfs) - - [License](#license) - -## Install - -`go-ws-transport` is included as a dependency of `go-libp2p`, which is the most -common libp2p entry point. If you depend on `go-libp2p`, there is generally no -need to explicitly depend on this module. - -`go-ws-transport` is a standard Go module which can be installed with: - -```sh -> go get github.com/libp2p/go-ws-transport -``` - -This repo is [gomod](https://github.com/golang/go/wiki/Modules)-compatible, and users of -go 1.11 and later with modules enabled will automatically pull the latest tagged release -by referencing this package. Upgrades to future releases can be managed using `go get`, -or by editing your `go.mod` file as [described by the gomod documentation](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies). - -## Usage - -WebSockets are one of the default transports enabled when constructing a standard libp2p -Host, along with [TCP](https://github.com/libp2p/go-tcp-transport). - -Calling [`libp2p.New`][godoc-libp2p-new] to construct a libp2p Host will enable -the WebSocket transport, unless you override the default transports by passing in -`Options` to `libp2p.New`. - -To explicitly enable the WebSocket transport while constructing a host, use the -`libp2p.Transport` option, passing in the `ws.New` constructor function: - -``` go - -import ( - libp2p "github.com/libp2p/go-libp2p" - ws "github.com/libp2p/go-ws-transport" -) - -// WebSockets only: -h, err := libp2p.New( - libp2p.Transport(ws.New) -) -``` - -The example above will replace the default transports with a single WebSocket -transport. To add multiple tranports, use `ChainOptions`: - -``` go -// WebSockets and QUIC: -h, err := libp2p.New( - libp2p.ChainOptions( - libp2p.Transport(ws.New), - libp2p.Transport(quic.NewTransport)) // see https://github.com/libp2p/go-libp2p-quic-transport -) -``` - -## Addresses - -The WebSocket transport supports [multiaddrs][multiaddr] that contain a `ws` -component, which is encapsulated within (or layered onto) another valid TCP -multiaddr. - -Examples: - -| addr | description | -|-------------------------------|----------------------------------------------------| -| `/ip4/1.2.3.4/tcp/1234/ws` | IPv4: 1.2.3.4, TCP port 1234 | -| `/ip6/::1/tcp/1234/ws` | IPv6 loopback, TCP port 1234 | -| `/dns4/example.com/tcp/80/ws` | DNS over IPv4, hostname `example.com`, TCP port 80 | - -Notice that the `/ws` multiaddr component contextualizes an existing TCP/IP -multiaddr and does not require any additional addressing information. - -## Security and Multiplexing - -While the WebSocket spec defines a `wss` URI scheme for encrypted WebSocket -connections, support for `wss` URIs relies on TLS, which wraps the WebSocket -connection in a similar manner to TLS-protected HTTP traffic. - -As libp2p does not integrate with the TLS Certificate Authority infrastructure -by design, security for WebSockets is provided by a [transport -upgrader][transport-upgrader]. The transport upgrader negotiates transport -security for each connection according to the protocols supported by each party. - -The transport upgrader also negotiates a stream multiplexing protocol to allow -many bidirectional streams to coexist on a single WebSocket connection. - -## Contribute - -Feel free to join in. All welcome. Open an [issue](https://github.com/libp2p/go-ws-transport/issues)! - -This repository falls under the libp2p [Code of Conduct](https://github.com/libp2p/community/blob/master/code-of-conduct.md). - -### Want to hack on libp2p? - -[![](https://cdn.rawgit.com/libp2p/community/master/img/contribute.gif)](https://github.com/libp2p/community/blob/master/CONTRIBUTE.md) - -## License - -MIT - ---- - -The last gx published version of this module was: 2.0.27: QmaSWc4ox6SZQF6DHZvDuM9sP1syNajkKuPXmKR1t5BAz5 - - -[go-libp2p]: https://github.com/libp2p/go-libp2p -[concept-transport]: https://docs.libp2p.io/concepts/transport/ -[interface-host]: https://github.com/libp2p/go-libp2p-core/blob/master/host/host.go -[godoc-libp2p-new]: https://godoc.org/github.com/libp2p/go-libp2p#New -[transport-upgrader]: https://github.com/libp2p/go-libp2p-transport-upgrader -[multiaddr]: https://github.com/multiformats/multiaddr -[spec-websockets]: https://tools.ietf.org/html/rfc6455 diff --git a/vendor/github.com/libp2p/go-ws-transport/version.json b/vendor/github.com/libp2p/go-ws-transport/version.json deleted file mode 100644 index 42c14d1be..000000000 --- a/vendor/github.com/libp2p/go-ws-transport/version.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "v0.6.0" -} diff --git a/vendor/github.com/libp2p/go-yamux/v3/session.go b/vendor/github.com/libp2p/go-yamux/v3/session.go index e6017d4c8..38adcd6e9 100644 --- a/vendor/github.com/libp2p/go-yamux/v3/session.go +++ b/vendor/github.com/libp2p/go-yamux/v3/session.go @@ -10,6 +10,7 @@ import ( "math" "net" "os" + "runtime/debug" "strings" "sync" "sync/atomic" @@ -293,8 +294,14 @@ func (s *Session) Close() error { s.streamLock.Lock() defer s.streamLock.Unlock() - for _, stream := range s.streams { + var memory int + for id, stream := range s.streams { + memory += stream.memory stream.forceClose() + delete(s.streams, id) + } + if memory > 0 { + s.memoryManager.ReleaseMemory(memory) } return nil } @@ -483,7 +490,14 @@ func (s *Session) send() { } } -func (s *Session) sendLoop() error { +func (s *Session) sendLoop() (err error) { + defer func() { + if rerr := recover(); rerr != nil { + fmt.Fprintf(os.Stderr, "caught panic: %s\n%s\n", rerr, debug.Stack()) + err = fmt.Errorf("panic in yamux send loop: %s", rerr) + } + }() + defer close(s.sendDoneCh) // Extend the write deadline if we've passed the halfway point. This can @@ -615,7 +629,13 @@ var ( ) // recvLoop continues to receive data until a fatal error is encountered -func (s *Session) recvLoop() error { +func (s *Session) recvLoop() (err error) { + defer func() { + if rerr := recover(); rerr != nil { + fmt.Fprintf(os.Stderr, "caught panic: %s\n%s\n", rerr, debug.Stack()) + err = fmt.Errorf("panic in yamux receive loop: %s", rerr) + } + }() defer close(s.recvDoneCh) var hdr header for { @@ -776,14 +796,14 @@ func (s *Session) incomingStream(id uint32) error { if sendErr := s.sendMsg(s.goAway(goAwayProtoErr), nil, nil); sendErr != nil { s.logger.Printf("[WARN] yamux: failed to send go away: %v", sendErr) } - s.memoryManager.ReleaseMemory(initialStreamWindow) + s.memoryManager.ReleaseMemory(stream.memory) return ErrDuplicateStream } if s.numIncomingStreams >= s.config.MaxIncomingStreams { // too many active streams at the same time s.logger.Printf("[WARN] yamux: MaxIncomingStreams exceeded, forcing stream reset") - s.memoryManager.ReleaseMemory(initialStreamWindow) + s.memoryManager.ReleaseMemory(stream.memory) hdr := encode(typeWindowUpdate, flagRST, id, 0) return s.sendMsg(hdr, nil, nil) } @@ -810,6 +830,7 @@ func (s *Session) incomingStream(id uint32) error { // was not yet established, then this will give the credit back. func (s *Session) closeStream(id uint32) { s.streamLock.Lock() + defer s.streamLock.Unlock() if _, ok := s.inflight[id]; ok { select { case <-s.synCh: @@ -818,11 +839,7 @@ func (s *Session) closeStream(id uint32) { } delete(s.inflight, id) } - if s.client == (id%2 == 0) { - s.numIncomingStreams-- - } s.deleteStream(id) - s.streamLock.Unlock() } func (s *Session) deleteStream(id uint32) { @@ -830,7 +847,16 @@ func (s *Session) deleteStream(id uint32) { if !ok { return } - s.memoryManager.ReleaseMemory(int(str.recvWindow)) + if s.client == (id%2 == 0) { + if s.numIncomingStreams == 0 { + s.logger.Printf("[ERR] yamux: numIncomingStreams underflow") + // prevent the creation of any new streams + s.numIncomingStreams = math.MaxUint32 + } else { + s.numIncomingStreams-- + } + } + s.memoryManager.ReleaseMemory(str.memory) delete(s.streams, id) } diff --git a/vendor/github.com/libp2p/go-yamux/v3/stream.go b/vendor/github.com/libp2p/go-yamux/v3/stream.go index 80f08966f..9175268c3 100644 --- a/vendor/github.com/libp2p/go-yamux/v3/stream.go +++ b/vendor/github.com/libp2p/go-yamux/v3/stream.go @@ -31,6 +31,8 @@ const ( type Stream struct { sendWindow uint32 + memory int + id uint32 session *Session @@ -49,14 +51,15 @@ type Stream struct { readDeadline, writeDeadline pipeDeadline } -// newStream is used to construct a new stream within -// a given session for an ID +// newStream is used to construct a new stream within a given session for an ID. +// It assumes that a memory allocation has been obtained for the initialWindow. func newStream(session *Session, id uint32, state streamState, initialWindow uint32) *Stream { s := &Stream{ id: id, session: session, state: state, sendWindow: initialStreamWindow, + memory: int(initialWindow), readDeadline: makePipeDeadline(), writeDeadline: makePipeDeadline(), // Initialize the recvBuf with initialStreamWindow, not config.InitialStreamWindowSize. @@ -228,6 +231,7 @@ func (s *Stream) sendWindowUpdate() error { grow := recvWindow - s.recvWindow if err := s.session.memoryManager.ReserveMemory(int(grow), 128); err == nil { s.recvWindow = recvWindow + s.memory += int(grow) _, delta = s.recvBuf.GrowTo(s.recvWindow, true) } } diff --git a/vendor/github.com/libp2p/go-yamux/v3/version.json b/vendor/github.com/libp2p/go-yamux/v3/version.json index 421777642..86d7f5ec6 100644 --- a/vendor/github.com/libp2p/go-yamux/v3/version.json +++ b/vendor/github.com/libp2p/go-yamux/v3/version.json @@ -1,3 +1,3 @@ { - "version": "v3.0.2" + "version": "v3.1.2" } diff --git a/vendor/github.com/lucas-clemente/quic-go/.golangci.yml b/vendor/github.com/lucas-clemente/quic-go/.golangci.yml index 05ddb79ac..2589c0538 100644 --- a/vendor/github.com/lucas-clemente/quic-go/.golangci.yml +++ b/vendor/github.com/lucas-clemente/quic-go/.golangci.yml @@ -28,7 +28,6 @@ linters: - ineffassign - misspell - prealloc - - scopelint - staticcheck - stylecheck - structcheck diff --git a/vendor/github.com/lucas-clemente/quic-go/README.md b/vendor/github.com/lucas-clemente/quic-go/README.md index a5995879c..f284174c2 100644 --- a/vendor/github.com/lucas-clemente/quic-go/README.md +++ b/vendor/github.com/lucas-clemente/quic-go/README.md @@ -3,17 +3,15 @@ [![PkgGoDev](https://pkg.go.dev/badge/github.com/lucas-clemente/quic-go)](https://pkg.go.dev/github.com/lucas-clemente/quic-go) -[![Travis Build Status](https://img.shields.io/travis/lucas-clemente/quic-go/master.svg?style=flat-square&label=Travis+build)](https://travis-ci.org/lucas-clemente/quic-go) -[![CircleCI Build Status](https://img.shields.io/circleci/project/github/lucas-clemente/quic-go.svg?style=flat-square&label=CircleCI+build)](https://circleci.com/gh/lucas-clemente/quic-go) -[![Windows Build Status](https://img.shields.io/appveyor/ci/lucas-clemente/quic-go/master.svg?style=flat-square&label=windows+build)](https://ci.appveyor.com/project/lucas-clemente/quic-go/branch/master) [![Code Coverage](https://img.shields.io/codecov/c/github/lucas-clemente/quic-go/master.svg?style=flat-square)](https://codecov.io/gh/lucas-clemente/quic-go/) -quic-go is an implementation of the [QUIC protocol, RFC 9000](https://datatracker.ietf.org/doc/html/rfc9000) protocol in Go. +quic-go is an implementation of the [QUIC protocol, RFC 9000](https://datatracker.ietf.org/doc/html/rfc9000) protocol in Go, including the [Unreliable Datagram Extension, RFC 9221](https://datatracker.ietf.org/doc/html/rfc9221). + In addition to RFC 9000, it currently implements the [IETF QUIC draft-29](https://tools.ietf.org/html/draft-ietf-quic-transport-29). Support for draft-29 will eventually be dropped, as it is phased out of the ecosystem. ## Guides -*We currently support Go 1.16.x and Go 1.17.x.* +*We currently support Go 1.16.x, Go 1.17.x, and Go 1.18.x.* Running tests: @@ -51,11 +49,12 @@ http.Client{ | [algernon](https://github.com/xyproto/algernon) | Small self-contained pure-Go web server with Lua, Markdown, HTTP/2, QUIC, Redis and PostgreSQL support | ![GitHub Repo stars](https://img.shields.io/github/stars/xyproto/algernon?style=flat-square) | | [caddy](https://github.com/caddyserver/caddy/) | Fast, multi-platform web server with automatic HTTPS | ![GitHub Repo stars](https://img.shields.io/github/stars/caddyserver/caddy?style=flat-square) | | [go-ipfs](https://github.com/ipfs/go-ipfs) | IPFS implementation in go | ![GitHub Repo stars](https://img.shields.io/github/stars/ipfs/go-ipfs?style=flat-square) | -| [nextdns](https://github.com/nextdns/nextdns) | NextDNS CLI client (DoH Proxy) | ![GitHub Repo stars](https://img.shields.io/github/stars/nextdns/nextdns?style=flat-square) | | [syncthing](https://github.com/syncthing/syncthing/) | Open Source Continuous File Synchronization | ![GitHub Repo stars](https://img.shields.io/github/stars/syncthing/syncthing?style=flat-square) | | [traefik](https://github.com/traefik/traefik) | The Cloud Native Application Proxy | ![GitHub Repo stars](https://img.shields.io/github/stars/traefik/traefik?style=flat-square) | | [v2ray-core](https://github.com/v2fly/v2ray-core) | A platform for building proxies to bypass network restrictions | ![GitHub Repo stars](https://img.shields.io/github/stars/v2fly/v2ray-core?style=flat-square) | -| [cloudflared](https://github.com/cloudflare/cloudflared) | A tunneling daemon that proxies traffic from the Cloudflare network to your origins | ![GitHub Repo stars](https://img.shields.io/github/stars/cloudflare/cloudflared?style=flat-square) | +| [cloudflared](https://github.com/cloudflare/cloudflared) | A tunneling daemon that proxies traffic from the Cloudflare network to your origins | ![GitHub Repo stars](https://img.shields.io/github/stars/cloudflare/cloudflared?style=flat-square) | +| [OONI Probe](https://github.com/ooni/probe-cli) | The Open Observatory of Network Interference (OONI) aims to empower decentralized efforts in documenting Internet censorship around the world. | ![GitHub Repo stars](https://img.shields.io/github/stars/ooni/probe-cli?style=flat-square) | + ## Contributing diff --git a/vendor/github.com/lucas-clemente/quic-go/client.go b/vendor/github.com/lucas-clemente/quic-go/client.go index 9dbe4ac5c..be8390e65 100644 --- a/vendor/github.com/lucas-clemente/quic-go/client.go +++ b/vendor/github.com/lucas-clemente/quic-go/client.go @@ -14,7 +14,7 @@ import ( ) type client struct { - conn sendConn + sconn sendConn // If the client is created with DialAddr, we create a packet conn. // If it is started with Dial, we take a packet conn as a parameter. createdPacketConn bool @@ -35,7 +35,7 @@ type client struct { handshakeChan chan struct{} - session quicSession + conn quicConn tracer logging.ConnectionTracer tracingID uint64 @@ -49,26 +49,26 @@ var ( ) // DialAddr establishes a new QUIC connection to a server. -// It uses a new UDP connection and closes this connection when the QUIC session is closed. +// It uses a new UDP connection and closes this connection when the QUIC connection is closed. // The hostname for SNI is taken from the given address. // The tls.Config.CipherSuites allows setting of TLS 1.3 cipher suites. func DialAddr( addr string, tlsConf *tls.Config, config *Config, -) (Session, error) { +) (Connection, error) { return DialAddrContext(context.Background(), addr, tlsConf, config) } // DialAddrEarly establishes a new 0-RTT QUIC connection to a server. -// It uses a new UDP connection and closes this connection when the QUIC session is closed. +// It uses a new UDP connection and closes this connection when the QUIC connection is closed. // The hostname for SNI is taken from the given address. // The tls.Config.CipherSuites allows setting of TLS 1.3 cipher suites. func DialAddrEarly( addr string, tlsConf *tls.Config, config *Config, -) (EarlySession, error) { +) (EarlyConnection, error) { return DialAddrEarlyContext(context.Background(), addr, tlsConf, config) } @@ -79,13 +79,13 @@ func DialAddrEarlyContext( addr string, tlsConf *tls.Config, config *Config, -) (EarlySession, error) { - sess, err := dialAddrContext(ctx, addr, tlsConf, config, true) +) (EarlyConnection, error) { + conn, err := dialAddrContext(ctx, addr, tlsConf, config, true) if err != nil { return nil, err } - utils.Logger.WithPrefix(utils.DefaultLogger, "client").Debugf("Returning early session") - return sess, nil + utils.Logger.WithPrefix(utils.DefaultLogger, "client").Debugf("Returning early connection") + return conn, nil } // DialAddrContext establishes a new QUIC connection to a server using the provided context. @@ -95,7 +95,7 @@ func DialAddrContext( addr string, tlsConf *tls.Config, config *Config, -) (Session, error) { +) (Connection, error) { return dialAddrContext(ctx, addr, tlsConf, config, false) } @@ -105,7 +105,7 @@ func dialAddrContext( tlsConf *tls.Config, config *Config, use0RTT bool, -) (quicSession, error) { +) (quicConn, error) { udpAddr, err := net.ResolveUDPAddr("udp", addr) if err != nil { return nil, err @@ -131,7 +131,7 @@ func Dial( host string, tlsConf *tls.Config, config *Config, -) (Session, error) { +) (Connection, error) { return dialContext(context.Background(), pconn, remoteAddr, host, tlsConf, config, false, false) } @@ -146,7 +146,7 @@ func DialEarly( host string, tlsConf *tls.Config, config *Config, -) (EarlySession, error) { +) (EarlyConnection, error) { return DialEarlyContext(context.Background(), pconn, remoteAddr, host, tlsConf, config) } @@ -159,7 +159,7 @@ func DialEarlyContext( host string, tlsConf *tls.Config, config *Config, -) (EarlySession, error) { +) (EarlyConnection, error) { return dialContext(ctx, pconn, remoteAddr, host, tlsConf, config, true, false) } @@ -172,7 +172,7 @@ func DialContext( host string, tlsConf *tls.Config, config *Config, -) (Session, error) { +) (Connection, error) { return dialContext(ctx, pconn, remoteAddr, host, tlsConf, config, false, false) } @@ -185,7 +185,7 @@ func dialContext( config *Config, use0RTT bool, createdPacketConn bool, -) (quicSession, error) { +) (quicConn, error) { if tlsConf == nil { return nil, errors.New("quic: tls.Config not set") } @@ -203,21 +203,21 @@ func dialContext( } c.packetHandlers = packetHandlers - c.tracingID = nextSessionTracingID() + c.tracingID = nextConnTracingID() if c.config.Tracer != nil { c.tracer = c.config.Tracer.TracerForConnection( - context.WithValue(ctx, SessionTracingKey, c.tracingID), + context.WithValue(ctx, ConnectionTracingKey, c.tracingID), protocol.PerspectiveClient, c.destConnID, ) } if c.tracer != nil { - c.tracer.StartedConnection(c.conn.LocalAddr(), c.conn.RemoteAddr(), c.srcConnID, c.destConnID) + c.tracer.StartedConnection(c.sconn.LocalAddr(), c.sconn.RemoteAddr(), c.srcConnID, c.destConnID) } if err := c.dial(ctx); err != nil { return nil, err } - return c.session, nil + return c.conn, nil } func newClient( @@ -231,6 +231,8 @@ func newClient( ) (*client, error) { if tlsConf == nil { tlsConf = &tls.Config{} + } else { + tlsConf = tlsConf.Clone() } if tlsConf.ServerName == "" { sni := host @@ -265,7 +267,7 @@ func newClient( c := &client{ srcConnID: srcConnID, destConnID: destConnID, - conn: newSendPconn(pconn, remoteAddr), + sconn: newSendPconn(pconn, remoteAddr), createdPacketConn: createdPacketConn, use0RTT: use0RTT, tlsConf: tlsConf, @@ -278,10 +280,10 @@ func newClient( } func (c *client) dial(ctx context.Context) error { - c.logger.Infof("Starting new connection to %s (%s -> %s), source connection ID %s, destination connection ID %s, version %s", c.tlsConf.ServerName, c.conn.LocalAddr(), c.conn.RemoteAddr(), c.srcConnID, c.destConnID, c.version) + c.logger.Infof("Starting new connection to %s (%s -> %s), source connection ID %s, destination connection ID %s, version %s", c.tlsConf.ServerName, c.sconn.LocalAddr(), c.sconn.RemoteAddr(), c.srcConnID, c.destConnID, c.version) - c.session = newClientSession( - c.conn, + c.conn = newClientConnection( + c.sconn, c.packetHandlers, c.destConnID, c.srcConnID, @@ -295,11 +297,11 @@ func (c *client) dial(ctx context.Context) error { c.logger, c.version, ) - c.packetHandlers.Add(c.srcConnID, c.session) + c.packetHandlers.Add(c.srcConnID, c.conn) errorChan := make(chan error, 1) go func() { - err := c.session.run() // returns as soon as the session is closed + err := c.conn.run() // returns as soon as the connection is closed if e := (&errCloseForRecreating{}); !errors.As(err, &e) && c.createdPacketConn { c.packetHandlers.Destroy() @@ -308,15 +310,15 @@ func (c *client) dial(ctx context.Context) error { }() // only set when we're using 0-RTT - // Otherwise, earlySessionChan will be nil. Receiving from a nil chan blocks forever. - var earlySessionChan <-chan struct{} + // Otherwise, earlyConnChan will be nil. Receiving from a nil chan blocks forever. + var earlyConnChan <-chan struct{} if c.use0RTT { - earlySessionChan = c.session.earlySessionReady() + earlyConnChan = c.conn.earlyConnReady() } select { case <-ctx.Done(): - c.session.shutdown() + c.conn.shutdown() return ctx.Err() case err := <-errorChan: var recreateErr *errCloseForRecreating @@ -327,10 +329,10 @@ func (c *client) dial(ctx context.Context) error { return c.dial(ctx) } return err - case <-earlySessionChan: + case <-earlyConnChan: // ready to send 0-RTT data return nil - case <-c.session.HandshakeComplete().Done(): + case <-c.conn.HandshakeComplete().Done(): // handshake successfully completed return nil } diff --git a/vendor/github.com/lucas-clemente/quic-go/closed_session.go b/vendor/github.com/lucas-clemente/quic-go/closed_conn.go similarity index 51% rename from vendor/github.com/lucas-clemente/quic-go/closed_session.go rename to vendor/github.com/lucas-clemente/quic-go/closed_conn.go index 312790202..35c2d7390 100644 --- a/vendor/github.com/lucas-clemente/quic-go/closed_session.go +++ b/vendor/github.com/lucas-clemente/quic-go/closed_conn.go @@ -7,15 +7,15 @@ import ( "github.com/lucas-clemente/quic-go/internal/utils" ) -// A closedLocalSession is a session that we closed locally. -// When receiving packets for such a session, we need to retransmit the packet containing the CONNECTION_CLOSE frame, +// A closedLocalConn is a connection that we closed locally. +// When receiving packets for such a connection, we need to retransmit the packet containing the CONNECTION_CLOSE frame, // with an exponential backoff. -type closedLocalSession struct { +type closedLocalConn struct { conn sendConn connClosePacket []byte closeOnce sync.Once - closeChan chan struct{} // is closed when the session is closed or destroyed + closeChan chan struct{} // is closed when the connection is closed or destroyed receivedPackets chan *receivedPacket counter uint64 // number of packets received @@ -25,16 +25,16 @@ type closedLocalSession struct { logger utils.Logger } -var _ packetHandler = &closedLocalSession{} +var _ packetHandler = &closedLocalConn{} -// newClosedLocalSession creates a new closedLocalSession and runs it. -func newClosedLocalSession( +// newClosedLocalConn creates a new closedLocalConn and runs it. +func newClosedLocalConn( conn sendConn, connClosePacket []byte, perspective protocol.Perspective, logger utils.Logger, ) packetHandler { - s := &closedLocalSession{ + s := &closedLocalConn{ conn: conn, connClosePacket: connClosePacket, perspective: perspective, @@ -46,7 +46,7 @@ func newClosedLocalSession( return s } -func (s *closedLocalSession) run() { +func (s *closedLocalConn) run() { for { select { case p := <-s.receivedPackets: @@ -57,14 +57,14 @@ func (s *closedLocalSession) run() { } } -func (s *closedLocalSession) handlePacket(p *receivedPacket) { +func (s *closedLocalConn) handlePacket(p *receivedPacket) { select { case s.receivedPackets <- p: default: } } -func (s *closedLocalSession) handlePacketImpl(_ *receivedPacket) { +func (s *closedLocalConn) handlePacketImpl(_ *receivedPacket) { s.counter++ // exponential backoff // only send a CONNECTION_CLOSE for the 1st, 2nd, 4th, 8th, 16th, ... packet arriving @@ -79,34 +79,34 @@ func (s *closedLocalSession) handlePacketImpl(_ *receivedPacket) { } } -func (s *closedLocalSession) shutdown() { +func (s *closedLocalConn) shutdown() { s.destroy(nil) } -func (s *closedLocalSession) destroy(error) { +func (s *closedLocalConn) destroy(error) { s.closeOnce.Do(func() { close(s.closeChan) }) } -func (s *closedLocalSession) getPerspective() protocol.Perspective { +func (s *closedLocalConn) getPerspective() protocol.Perspective { return s.perspective } -// A closedRemoteSession is a session that was closed remotely. -// For such a session, we might receive reordered packets that were sent before the CONNECTION_CLOSE. +// A closedRemoteConn is a connection that was closed remotely. +// For such a connection, we might receive reordered packets that were sent before the CONNECTION_CLOSE. // We can just ignore those packets. -type closedRemoteSession struct { +type closedRemoteConn struct { perspective protocol.Perspective } -var _ packetHandler = &closedRemoteSession{} +var _ packetHandler = &closedRemoteConn{} -func newClosedRemoteSession(pers protocol.Perspective) packetHandler { - return &closedRemoteSession{perspective: pers} +func newClosedRemoteConn(pers protocol.Perspective) packetHandler { + return &closedRemoteConn{perspective: pers} } -func (s *closedRemoteSession) handlePacket(*receivedPacket) {} -func (s *closedRemoteSession) shutdown() {} -func (s *closedRemoteSession) destroy(error) {} -func (s *closedRemoteSession) getPerspective() protocol.Perspective { return s.perspective } +func (s *closedRemoteConn) handlePacket(*receivedPacket) {} +func (s *closedRemoteConn) shutdown() {} +func (s *closedRemoteConn) destroy(error) {} +func (s *closedRemoteConn) getPerspective() protocol.Perspective { return s.perspective } diff --git a/vendor/github.com/lucas-clemente/quic-go/config.go b/vendor/github.com/lucas-clemente/quic-go/config.go index 61c4097a6..5d969a12a 100644 --- a/vendor/github.com/lucas-clemente/quic-go/config.go +++ b/vendor/github.com/lucas-clemente/quic-go/config.go @@ -105,7 +105,7 @@ func populateConfig(config *Config) *Config { HandshakeIdleTimeout: handshakeIdleTimeout, MaxIdleTimeout: idleTimeout, AcceptToken: config.AcceptToken, - KeepAlive: config.KeepAlive, + KeepAlivePeriod: config.KeepAlivePeriod, InitialStreamReceiveWindow: initialStreamReceiveWindow, MaxStreamReceiveWindow: maxStreamReceiveWindow, InitialConnectionReceiveWindow: initialConnectionReceiveWindow, diff --git a/vendor/github.com/lucas-clemente/quic-go/session.go b/vendor/github.com/lucas-clemente/quic-go/connection.go similarity index 86% rename from vendor/github.com/lucas-clemente/quic-go/session.go rename to vendor/github.com/lucas-clemente/quic-go/connection.go index 2568acfa4..ce45af86a 100644 --- a/vendor/github.com/lucas-clemente/quic-go/session.go +++ b/vendor/github.com/lucas-clemente/quic-go/connection.go @@ -90,7 +90,7 @@ func (p *receivedPacket) Clone() *receivedPacket { } } -type sessionRunner interface { +type connRunner interface { Add(protocol.ConnectionID, packetHandler) bool GetStatelessResetToken(protocol.ConnectionID) protocol.StatelessResetToken Retire(protocol.ConnectionID) @@ -124,18 +124,14 @@ type errCloseForRecreating struct { } func (e *errCloseForRecreating) Error() string { - return "closing session in order to recreate it" + return "closing connection in order to recreate it" } -var sessionTracingID uint64 // to be accessed atomically -func nextSessionTracingID() uint64 { return atomic.AddUint64(&sessionTracingID, 1) } +var connTracingID uint64 // to be accessed atomically +func nextConnTracingID() uint64 { return atomic.AddUint64(&connTracingID, 1) } -func pathMTUDiscoveryEnabled(config *Config) bool { - return !disablePathMTUDiscovery && !config.DisablePathMTUDiscovery -} - -// A Session is a QUIC session -type session struct { +// A Connection is a QUIC connection +type connection struct { // Destination connection ID used during the handshake. // Used to check source connection ID on incoming packets. handshakeDestConnID protocol.ConnectionID @@ -192,8 +188,9 @@ type session struct { undecryptablePacketsToProcess []*receivedPacket clientHelloWritten <-chan *wire.TransportParameters - earlySessionReadyChan chan struct{} + earlyConnReadyChan chan struct{} handshakeCompleteChan chan struct{} // is closed when the handshake completes + sentFirstPacket bool handshakeComplete bool handshakeConfirmed bool @@ -201,8 +198,8 @@ type session struct { versionNegotiated bool receivedFirstPacket bool - idleTimeout time.Duration - sessionCreationTime time.Time + idleTimeout time.Duration + creationTime time.Time // The idle timeout is set based on the max of the time we received the last packet... lastPacketReceivedTime time.Time // ... and the time we sent a new ack-eliciting packet after receiving a packet. @@ -226,15 +223,15 @@ type session struct { } var ( - _ Session = &session{} - _ EarlySession = &session{} - _ streamSender = &session{} - deadlineSendImmediately = time.Time{}.Add(42 * time.Millisecond) // any value > time.Time{} and before time.Now() is fine + _ Connection = &connection{} + _ EarlyConnection = &connection{} + _ streamSender = &connection{} + deadlineSendImmediately = time.Time{}.Add(42 * time.Millisecond) // any value > time.Time{} and before time.Now() is fine ) -var newSession = func( +var newConnection = func( conn sendConn, - runner sessionRunner, + runner connRunner, origDestConnID protocol.ConnectionID, retrySrcConnID *protocol.ConnectionID, clientDestConnID protocol.ConnectionID, @@ -249,8 +246,8 @@ var newSession = func( tracingID uint64, logger utils.Logger, v protocol.VersionNumber, -) quicSession { - s := &session{ +) quicConn { + s := &connection{ conn: conn, config: conf, handshakeDestConnID: destConnID, @@ -286,7 +283,7 @@ var newSession = func( s.version, ) s.preSetup() - s.ctx, s.ctxCancel = context.WithCancel(context.WithValue(context.Background(), SessionTracingKey, tracingID)) + s.ctx, s.ctxCancel = context.WithCancel(context.WithValue(context.Background(), ConnectionTracingKey, tracingID)) s.sentPacketHandler, s.receivedPacketHandler = ackhandler.NewAckHandler( 0, getMaxPacketSize(s.conn.RemoteAddr()), @@ -366,9 +363,9 @@ var newSession = func( } // declare this as a variable, such that we can it mock it in the tests -var newClientSession = func( +var newClientConnection = func( conn sendConn, - runner sessionRunner, + runner connRunner, destConnID protocol.ConnectionID, srcConnID protocol.ConnectionID, conf *Config, @@ -380,8 +377,8 @@ var newClientSession = func( tracingID uint64, logger utils.Logger, v protocol.VersionNumber, -) quicSession { - s := &session{ +) quicConn { + s := &connection{ conn: conn, config: conf, origDestConnID: destConnID, @@ -413,7 +410,7 @@ var newClientSession = func( s.version, ) s.preSetup() - s.ctx, s.ctxCancel = context.WithCancel(context.WithValue(context.Background(), SessionTracingKey, tracingID)) + s.ctx, s.ctxCancel = context.WithCancel(context.WithValue(context.Background(), ConnectionTracingKey, tracingID)) s.sentPacketHandler, s.receivedPacketHandler = ackhandler.NewAckHandler( initialPacketNumber, getMaxPacketSize(s.conn.RemoteAddr()), @@ -497,7 +494,7 @@ var newClientSession = func( return s } -func (s *session) preSetup() { +func (s *connection) preSetup() { s.sendQueue = newSendQueue(s.conn) s.retransmissionQueue = newRetransmissionQueue(s.version) s.frameParser = wire.NewFrameParser(s.config.EnableDatagrams, s.version) @@ -515,7 +512,7 @@ func (s *session) preSetup() { s.rttStats, s.logger, ) - s.earlySessionReadyChan = make(chan struct{}) + s.earlyConnReadyChan = make(chan struct{}) s.streamsMap = newStreamsMap( s, s.newFlowController, @@ -525,14 +522,14 @@ func (s *session) preSetup() { s.version, ) s.framer = newFramer(s.streamsMap, s.version) - s.receivedPackets = make(chan *receivedPacket, protocol.MaxSessionUnprocessedPackets) + s.receivedPackets = make(chan *receivedPacket, protocol.MaxConnUnprocessedPackets) s.closeChan = make(chan closeError, 1) s.sendingScheduled = make(chan struct{}, 1) s.handshakeCtx, s.handshakeCtxCancel = context.WithCancel(context.Background()) now := time.Now() s.lastPacketReceivedTime = now - s.sessionCreationTime = now + s.creationTime = now s.windowUpdateQueue = newWindowUpdateQueue(s.streamsMap, s.connFlowController, s.framer.QueueControlFrame) if s.config.EnableDatagrams { @@ -540,8 +537,8 @@ func (s *session) preSetup() { } } -// run the session main loop -func (s *session) run() error { +// run the connection main loop +func (s *connection) run() error { defer s.ctxCancel() s.timer = utils.NewTimer() @@ -559,7 +556,7 @@ func (s *session) run() error { s.scheduleSending() if zeroRTTParams != nil { s.restoreTransportParameters(zeroRTTParams) - close(s.earlySessionReadyChan) + close(s.earlyConnReadyChan) } case closeErr := <-s.closeChan: // put the close error back into the channel, so that the run loop can receive it @@ -593,7 +590,7 @@ runLoop: if processed := s.handlePacketImpl(p); processed { processedUndecryptablePacket = true } - // Don't set timers and send packets if the packet made us close the session. + // Don't set timers and send packets if the packet made us close the connection. select { case closeErr = <-s.closeChan: break runLoop @@ -616,7 +613,7 @@ runLoop: case <-sendQueueAvailable: case firstPacket := <-s.receivedPackets: wasProcessed := s.handlePacketImpl(firstPacket) - // Don't set timers and send packets if the packet made us close the session. + // Don't set timers and send packets if the packet made us close the connection. select { case closeErr = <-s.closeChan: break runLoop @@ -665,11 +662,11 @@ runLoop: } if keepAliveTime := s.nextKeepAliveTime(); !keepAliveTime.IsZero() && !now.Before(keepAliveTime) { - // send a PING frame since there is no activity in the session + // send a PING frame since there is no activity in the connection s.logger.Debugf("Sending a keep-alive PING to keep the connection alive.") s.framer.QueueControlFrame(&wire.PingFrame{}) s.keepAlivePingSent = true - } else if !s.handshakeComplete && now.Sub(s.sessionCreationTime) >= s.config.handshakeTimeout() { + } else if !s.handshakeComplete && now.Sub(s.creationTime) >= s.config.handshakeTimeout() { s.destroyImpl(qerr.ErrHandshakeTimeout) continue } else { @@ -708,24 +705,24 @@ runLoop: return closeErr.err } -// blocks until the early session can be used -func (s *session) earlySessionReady() <-chan struct{} { - return s.earlySessionReadyChan +// blocks until the early connection can be used +func (s *connection) earlyConnReady() <-chan struct{} { + return s.earlyConnReadyChan } -func (s *session) HandshakeComplete() context.Context { +func (s *connection) HandshakeComplete() context.Context { return s.handshakeCtx } -func (s *session) Context() context.Context { +func (s *connection) Context() context.Context { return s.ctx } -func (s *session) supportsDatagrams() bool { +func (s *connection) supportsDatagrams() bool { return s.peerParams.MaxDatagramFrameSize != protocol.InvalidByteCount } -func (s *session) ConnectionState() ConnectionState { +func (s *connection) ConnectionState() ConnectionState { return ConnectionState{ TLS: s.cryptoStreamHandler.ConnectionState(), SupportsDatagrams: s.supportsDatagrams(), @@ -734,18 +731,18 @@ func (s *session) ConnectionState() ConnectionState { // Time when the next keep-alive packet should be sent. // It returns a zero time if no keep-alive should be sent. -func (s *session) nextKeepAliveTime() time.Time { - if !s.config.KeepAlive || s.keepAlivePingSent || !s.firstAckElicitingPacketAfterIdleSentTime.IsZero() { +func (s *connection) nextKeepAliveTime() time.Time { + if s.config.KeepAlivePeriod == 0 || s.keepAlivePingSent || !s.firstAckElicitingPacketAfterIdleSentTime.IsZero() { return time.Time{} } return s.lastPacketReceivedTime.Add(s.keepAliveInterval) } -func (s *session) maybeResetTimer() { +func (s *connection) maybeResetTimer() { var deadline time.Time if !s.handshakeComplete { deadline = utils.MinTime( - s.sessionCreationTime.Add(s.config.handshakeTimeout()), + s.creationTime.Add(s.config.handshakeTimeout()), s.idleTimeoutStartTime().Add(s.config.HandshakeIdleTimeout), ) } else { @@ -755,11 +752,6 @@ func (s *session) maybeResetTimer() { deadline = s.idleTimeoutStartTime().Add(s.idleTimeout) } } - if s.handshakeConfirmed && pathMTUDiscoveryEnabled(s.config) { - if probeTime := s.mtuDiscoverer.NextProbeTime(); !probeTime.IsZero() { - deadline = utils.MinTime(deadline, probeTime) - } - } if ackAlarm := s.receivedPacketHandler.GetAlarmTimeout(); !ackAlarm.IsZero() { deadline = utils.MinTime(deadline, ackAlarm) @@ -774,11 +766,11 @@ func (s *session) maybeResetTimer() { s.timer.Reset(deadline) } -func (s *session) idleTimeoutStartTime() time.Time { +func (s *connection) idleTimeoutStartTime() time.Time { return utils.MaxTime(s.lastPacketReceivedTime, s.firstAckElicitingPacketAfterIdleSentTime) } -func (s *session) handleHandshakeComplete() { +func (s *connection) handleHandshakeComplete() { s.handshakeComplete = true s.handshakeCompleteChan = nil // prevent this case from ever being selected again defer s.handshakeCtxCancel() @@ -814,12 +806,12 @@ func (s *session) handleHandshakeComplete() { s.queueControlFrame(&wire.HandshakeDoneFrame{}) } -func (s *session) handleHandshakeConfirmed() { +func (s *connection) handleHandshakeConfirmed() { s.handshakeConfirmed = true s.sentPacketHandler.SetHandshakeConfirmed() s.cryptoStreamHandler.SetHandshakeConfirmed() - if pathMTUDiscoveryEnabled(s.config) { + if !s.config.DisablePathMTUDiscovery { maxPacketSize := s.peerParams.MaxUDPPayloadSize if maxPacketSize == 0 { maxPacketSize = protocol.MaxByteCount @@ -837,7 +829,7 @@ func (s *session) handleHandshakeConfirmed() { } } -func (s *session) handlePacketImpl(rp *receivedPacket) bool { +func (s *connection) handlePacketImpl(rp *receivedPacket) bool { s.sentPacketHandler.ReceivedBytes(rp.Size()) if wire.IsVersionNegotiationPacket(rp.data) { @@ -905,7 +897,7 @@ func (s *session) handlePacketImpl(rp *receivedPacket) bool { return processed } -func (s *session) handleSinglePacket(p *receivedPacket, hdr *wire.Header) bool /* was the packet successfully processed */ { +func (s *connection) handleSinglePacket(p *receivedPacket, hdr *wire.Header) bool /* was the packet successfully processed */ { var wasQueued bool defer func() { @@ -997,7 +989,7 @@ func (s *session) handleSinglePacket(p *receivedPacket, hdr *wire.Header) bool / return true } -func (s *session) handleRetryPacket(hdr *wire.Header, data []byte) bool /* was this a valid Retry */ { +func (s *connection) handleRetryPacket(hdr *wire.Header, data []byte) bool /* was this a valid Retry */ { if s.perspective == protocol.PerspectiveServer { if s.tracer != nil { s.tracer.DroppedPacket(logging.PacketTypeRetry, protocol.ByteCount(len(data)), logging.PacketDropUnexpectedPacket) @@ -1059,7 +1051,7 @@ func (s *session) handleRetryPacket(hdr *wire.Header, data []byte) bool /* was t return true } -func (s *session) handleVersionNegotiationPacket(p *receivedPacket) { +func (s *connection) handleVersionNegotiationPacket(p *receivedPacket) { if s.perspective == protocol.PerspectiveServer || // servers never receive version negotiation packets s.receivedFirstPacket || s.versionNegotiated { // ignore delayed / duplicated version negotiation packets if s.tracer != nil { @@ -1113,7 +1105,7 @@ func (s *session) handleVersionNegotiationPacket(p *receivedPacket) { }) } -func (s *session) handleUnpackedPacket( +func (s *connection) handleUnpackedPacket( packet *unpackedPacket, ecn protocol.ECN, rcvTime time.Time, @@ -1145,10 +1137,10 @@ func (s *session) handleUnpackedPacket( s.handshakeDestConnID = cid s.connIDManager.ChangeInitialConnID(cid) } - // We create the session as soon as we receive the first packet from the client. + // We create the connection as soon as we receive the first packet from the client. // We do that before authenticating the packet. // That means that if the source connection ID was corrupted, - // we might have create a session with an incorrect source connection ID. + // we might have create a connection with an incorrect source connection ID. // Once we authenticate the first packet, we need to update it. if s.perspective == protocol.PerspectiveServer { if !packet.hdr.SrcConnectionID.Equal(s.handshakeDestConnID) { @@ -1213,7 +1205,7 @@ func (s *session) handleUnpackedPacket( return s.receivedPacketHandler.ReceivedPacket(packet.packetNumber, ecn, packet.encryptionLevel, rcvTime, isAckEliciting) } -func (s *session) handleFrame(f wire.Frame, encLevel protocol.EncryptionLevel, destConnID protocol.ConnectionID) error { +func (s *connection) handleFrame(f wire.Frame, encLevel protocol.EncryptionLevel, destConnID protocol.ConnectionID) error { var err error wire.LogFrame(s.logger, f, false) switch frame := f.(type) { @@ -1261,9 +1253,9 @@ func (s *session) handleFrame(f wire.Frame, encLevel protocol.EncryptionLevel, d } // handlePacket is called by the server with a new packet -func (s *session) handlePacket(p *receivedPacket) { +func (s *connection) handlePacket(p *receivedPacket) { // Discard packets once the amount of queued packets is larger than - // the channel size, protocol.MaxSessionUnprocessedPackets + // the channel size, protocol.MaxConnUnprocessedPackets select { case s.receivedPackets <- p: default: @@ -1273,7 +1265,7 @@ func (s *session) handlePacket(p *receivedPacket) { } } -func (s *session) handleConnectionCloseFrame(frame *wire.ConnectionCloseFrame) { +func (s *connection) handleConnectionCloseFrame(frame *wire.ConnectionCloseFrame) { if frame.IsApplicationError { s.closeRemote(&qerr.ApplicationError{ Remote: true, @@ -1290,7 +1282,7 @@ func (s *session) handleConnectionCloseFrame(frame *wire.ConnectionCloseFrame) { }) } -func (s *session) handleCryptoFrame(frame *wire.CryptoFrame, encLevel protocol.EncryptionLevel) error { +func (s *connection) handleCryptoFrame(frame *wire.CryptoFrame, encLevel protocol.EncryptionLevel) error { encLevelChanged, err := s.cryptoStreamManager.HandleCryptoFrame(frame, encLevel) if err != nil { return err @@ -1303,7 +1295,7 @@ func (s *session) handleCryptoFrame(frame *wire.CryptoFrame, encLevel protocol.E return nil } -func (s *session) handleStreamFrame(frame *wire.StreamFrame) error { +func (s *connection) handleStreamFrame(frame *wire.StreamFrame) error { str, err := s.streamsMap.GetOrOpenReceiveStream(frame.StreamID) if err != nil { return err @@ -1316,11 +1308,11 @@ func (s *session) handleStreamFrame(frame *wire.StreamFrame) error { return str.handleStreamFrame(frame) } -func (s *session) handleMaxDataFrame(frame *wire.MaxDataFrame) { +func (s *connection) handleMaxDataFrame(frame *wire.MaxDataFrame) { s.connFlowController.UpdateSendWindow(frame.MaximumData) } -func (s *session) handleMaxStreamDataFrame(frame *wire.MaxStreamDataFrame) error { +func (s *connection) handleMaxStreamDataFrame(frame *wire.MaxStreamDataFrame) error { str, err := s.streamsMap.GetOrOpenSendStream(frame.StreamID) if err != nil { return err @@ -1333,11 +1325,11 @@ func (s *session) handleMaxStreamDataFrame(frame *wire.MaxStreamDataFrame) error return nil } -func (s *session) handleMaxStreamsFrame(frame *wire.MaxStreamsFrame) { +func (s *connection) handleMaxStreamsFrame(frame *wire.MaxStreamsFrame) { s.streamsMap.HandleMaxStreamsFrame(frame) } -func (s *session) handleResetStreamFrame(frame *wire.ResetStreamFrame) error { +func (s *connection) handleResetStreamFrame(frame *wire.ResetStreamFrame) error { str, err := s.streamsMap.GetOrOpenReceiveStream(frame.StreamID) if err != nil { return err @@ -1349,7 +1341,7 @@ func (s *session) handleResetStreamFrame(frame *wire.ResetStreamFrame) error { return str.handleResetStreamFrame(frame) } -func (s *session) handleStopSendingFrame(frame *wire.StopSendingFrame) error { +func (s *connection) handleStopSendingFrame(frame *wire.StopSendingFrame) error { str, err := s.streamsMap.GetOrOpenSendStream(frame.StreamID) if err != nil { return err @@ -1362,11 +1354,11 @@ func (s *session) handleStopSendingFrame(frame *wire.StopSendingFrame) error { return nil } -func (s *session) handlePathChallengeFrame(frame *wire.PathChallengeFrame) { +func (s *connection) handlePathChallengeFrame(frame *wire.PathChallengeFrame) { s.queueControlFrame(&wire.PathResponseFrame{Data: frame.Data}) } -func (s *session) handleNewTokenFrame(frame *wire.NewTokenFrame) error { +func (s *connection) handleNewTokenFrame(frame *wire.NewTokenFrame) error { if s.perspective == protocol.PerspectiveServer { return &qerr.TransportError{ ErrorCode: qerr.ProtocolViolation, @@ -1379,15 +1371,15 @@ func (s *session) handleNewTokenFrame(frame *wire.NewTokenFrame) error { return nil } -func (s *session) handleNewConnectionIDFrame(f *wire.NewConnectionIDFrame) error { +func (s *connection) handleNewConnectionIDFrame(f *wire.NewConnectionIDFrame) error { return s.connIDManager.Add(f) } -func (s *session) handleRetireConnectionIDFrame(f *wire.RetireConnectionIDFrame, destConnID protocol.ConnectionID) error { +func (s *connection) handleRetireConnectionIDFrame(f *wire.RetireConnectionIDFrame, destConnID protocol.ConnectionID) error { return s.connIDGenerator.Retire(f.SequenceNumber, destConnID) } -func (s *session) handleHandshakeDoneFrame() error { +func (s *connection) handleHandshakeDoneFrame() error { if s.perspective == protocol.PerspectiveServer { return &qerr.TransportError{ ErrorCode: qerr.ProtocolViolation, @@ -1400,7 +1392,7 @@ func (s *session) handleHandshakeDoneFrame() error { return nil } -func (s *session) handleAckFrame(frame *wire.AckFrame, encLevel protocol.EncryptionLevel) error { +func (s *connection) handleAckFrame(frame *wire.AckFrame, encLevel protocol.EncryptionLevel) error { acked1RTTPacket, err := s.sentPacketHandler.ReceivedAck(frame, encLevel, s.lastPacketReceivedTime) if err != nil { return err @@ -1414,7 +1406,7 @@ func (s *session) handleAckFrame(frame *wire.AckFrame, encLevel protocol.Encrypt return s.cryptoStreamHandler.SetLargest1RTTAcked(frame.LargestAcked()) } -func (s *session) handleDatagramFrame(f *wire.DatagramFrame) error { +func (s *connection) handleDatagramFrame(f *wire.DatagramFrame) error { if f.Length(s.version) > protocol.MaxDatagramFrameSize { return &qerr.TransportError{ ErrorCode: qerr.ProtocolViolation, @@ -1425,50 +1417,50 @@ func (s *session) handleDatagramFrame(f *wire.DatagramFrame) error { return nil } -// closeLocal closes the session and send a CONNECTION_CLOSE containing the error -func (s *session) closeLocal(e error) { +// closeLocal closes the connection and send a CONNECTION_CLOSE containing the error +func (s *connection) closeLocal(e error) { s.closeOnce.Do(func() { if e == nil { - s.logger.Infof("Closing session.") + s.logger.Infof("Closing connection.") } else { - s.logger.Errorf("Closing session with error: %s", e) + s.logger.Errorf("Closing connection with error: %s", e) } s.closeChan <- closeError{err: e, immediate: false, remote: false} }) } -// destroy closes the session without sending the error on the wire -func (s *session) destroy(e error) { +// destroy closes the connection without sending the error on the wire +func (s *connection) destroy(e error) { s.destroyImpl(e) <-s.ctx.Done() } -func (s *session) destroyImpl(e error) { +func (s *connection) destroyImpl(e error) { s.closeOnce.Do(func() { if nerr, ok := e.(net.Error); ok && nerr.Timeout() { - s.logger.Errorf("Destroying session: %s", e) + s.logger.Errorf("Destroying connection: %s", e) } else { - s.logger.Errorf("Destroying session with error: %s", e) + s.logger.Errorf("Destroying connection with error: %s", e) } s.closeChan <- closeError{err: e, immediate: true, remote: false} }) } -func (s *session) closeRemote(e error) { +func (s *connection) closeRemote(e error) { s.closeOnce.Do(func() { - s.logger.Errorf("Peer closed session with error: %s", e) + s.logger.Errorf("Peer closed connection with error: %s", e) s.closeChan <- closeError{err: e, immediate: true, remote: true} }) } // Close the connection. It sends a NO_ERROR application error. // It waits until the run loop has stopped before returning -func (s *session) shutdown() { +func (s *connection) shutdown() { s.closeLocal(nil) <-s.ctx.Done() } -func (s *session) CloseWithError(code ApplicationErrorCode, desc string) error { +func (s *connection) CloseWithError(code ApplicationErrorCode, desc string) error { s.closeLocal(&qerr.ApplicationError{ ErrorCode: code, ErrorMessage: desc, @@ -1477,7 +1469,7 @@ func (s *session) CloseWithError(code ApplicationErrorCode, desc string) error { return nil } -func (s *session) handleCloseError(closeErr *closeError) { +func (s *connection) handleCloseError(closeErr *closeError) { e := closeErr.err if e == nil { e = &qerr.ApplicationError{} @@ -1521,22 +1513,28 @@ func (s *session) handleCloseError(closeErr *closeError) { // If this is a remote close we're done here if closeErr.remote { - s.connIDGenerator.ReplaceWithClosed(newClosedRemoteSession(s.perspective)) + s.connIDGenerator.ReplaceWithClosed(newClosedRemoteConn(s.perspective)) return } if closeErr.immediate { s.connIDGenerator.RemoveAll() return } + // Don't send out any CONNECTION_CLOSE if this is an error that occurred + // before we even sent out the first packet. + if s.perspective == protocol.PerspectiveClient && !s.sentFirstPacket { + s.connIDGenerator.RemoveAll() + return + } connClosePacket, err := s.sendConnectionClose(e) if err != nil { s.logger.Debugf("Error sending CONNECTION_CLOSE: %s", err) } - cs := newClosedLocalSession(s.conn, connClosePacket, s.perspective, s.logger) + cs := newClosedLocalConn(s.conn, connClosePacket, s.perspective, s.logger) s.connIDGenerator.ReplaceWithClosed(cs) } -func (s *session) dropEncryptionLevel(encLevel protocol.EncryptionLevel) { +func (s *connection) dropEncryptionLevel(encLevel protocol.EncryptionLevel) { s.sentPacketHandler.DropPackets(encLevel) s.receivedPacketHandler.DropPackets(encLevel) if s.tracer != nil { @@ -1554,7 +1552,7 @@ func (s *session) dropEncryptionLevel(encLevel protocol.EncryptionLevel) { } // is called for the client, when restoring transport parameters saved for 0-RTT -func (s *session) restoreTransportParameters(params *wire.TransportParameters) { +func (s *connection) restoreTransportParameters(params *wire.TransportParameters) { if s.logger.Debug() { s.logger.Debugf("Restoring Transport Parameters: %s", params) } @@ -1565,7 +1563,7 @@ func (s *session) restoreTransportParameters(params *wire.TransportParameters) { s.streamsMap.UpdateLimits(params) } -func (s *session) handleTransportParameters(params *wire.TransportParameters) { +func (s *connection) handleTransportParameters(params *wire.TransportParameters) { if err := s.checkTransportParameters(params); err != nil { s.closeLocal(&qerr.TransportError{ ErrorCode: qerr.TransportParameterError, @@ -1577,13 +1575,13 @@ func (s *session) handleTransportParameters(params *wire.TransportParameters) { // During a 0-RTT connection, we are only allowed to use the new transport parameters for 1-RTT packets. if s.perspective == protocol.PerspectiveServer { s.applyTransportParameters() - // On the server side, the early session is ready as soon as we processed + // On the server side, the early connection is ready as soon as we processed // the client's transport parameters. - close(s.earlySessionReadyChan) + close(s.earlyConnReadyChan) } } -func (s *session) checkTransportParameters(params *wire.TransportParameters) error { +func (s *connection) checkTransportParameters(params *wire.TransportParameters) error { if s.logger.Debug() { s.logger.Debugf("Processed Transport Parameters: %s", params) } @@ -1616,11 +1614,11 @@ func (s *session) checkTransportParameters(params *wire.TransportParameters) err return nil } -func (s *session) applyTransportParameters() { +func (s *connection) applyTransportParameters() { params := s.peerParams // Our local idle timeout will always be > 0. s.idleTimeout = utils.MinNonZeroDuration(s.config.MaxIdleTimeout, params.MaxIdleTimeout) - s.keepAliveInterval = utils.MinDuration(s.idleTimeout/2, protocol.MaxKeepAliveInterval) + s.keepAliveInterval = utils.MinDuration(s.config.KeepAlivePeriod, utils.MinDuration(s.idleTimeout/2, protocol.MaxKeepAliveInterval)) s.streamsMap.UpdateLimits(params) s.packer.HandleTransportParameters(params) s.frameParser.SetAckDelayExponent(params.AckDelayExponent) @@ -1637,7 +1635,7 @@ func (s *session) applyTransportParameters() { } } -func (s *session) sendPackets() error { +func (s *connection) sendPackets() error { s.pacingDeadline = time.Time{} var sentPacket bool // only used in for packets sent in send mode SendAny @@ -1703,7 +1701,7 @@ func (s *session) sendPackets() error { } } -func (s *session) maybeSendAckOnlyPacket() error { +func (s *connection) maybeSendAckOnlyPacket() error { packet, err := s.packer.MaybePackAckPacket(s.handshakeConfirmed) if err != nil { return err @@ -1715,7 +1713,7 @@ func (s *session) maybeSendAckOnlyPacket() error { return nil } -func (s *session) sendProbePacket(encLevel protocol.EncryptionLevel) error { +func (s *connection) sendProbePacket(encLevel protocol.EncryptionLevel) error { // Queue probe packets until we actually send out a packet, // or until there are no more packets to queue. var packet *packedPacket @@ -1751,13 +1749,13 @@ func (s *session) sendProbePacket(encLevel protocol.EncryptionLevel) error { } } if packet == nil || packet.packetContents == nil { - return fmt.Errorf("session BUG: couldn't pack %s probe packet", encLevel) + return fmt.Errorf("connection BUG: couldn't pack %s probe packet", encLevel) } s.sendPackedPacket(packet, time.Now()) return nil } -func (s *session) sendPacket() (bool, error) { +func (s *connection) sendPacket() (bool, error) { if isBlocked, offset := s.connFlowController.IsNewlyBlocked(); isBlocked { s.framer.QueueControlFrame(&wire.DataBlockedFrame{MaximumData: offset}) } @@ -1769,6 +1767,7 @@ func (s *session) sendPacket() (bool, error) { if err != nil || packet == nil { return false, err } + s.sentFirstPacket = true s.logCoalescedPacket(packet) for _, p := range packet.packets { if s.firstAckElicitingPacketAfterIdleSentTime.IsZero() && p.IsAckEliciting() { @@ -1780,7 +1779,7 @@ func (s *session) sendPacket() (bool, error) { s.sendQueue.Send(packet.buffer) return true, nil } - if pathMTUDiscoveryEnabled(s.config) && s.mtuDiscoverer.ShouldSendProbe(now) { + if !s.config.DisablePathMTUDiscovery && s.mtuDiscoverer.ShouldSendProbe(now) { packet, err := s.packer.PackMTUProbePacket(s.mtuDiscoverer.GetPing()) if err != nil { return false, err @@ -1796,7 +1795,7 @@ func (s *session) sendPacket() (bool, error) { return true, nil } -func (s *session) sendPackedPacket(packet *packedPacket, now time.Time) { +func (s *connection) sendPackedPacket(packet *packedPacket, now time.Time) { if s.firstAckElicitingPacketAfterIdleSentTime.IsZero() && packet.IsAckEliciting() { s.firstAckElicitingPacketAfterIdleSentTime = now } @@ -1806,7 +1805,7 @@ func (s *session) sendPackedPacket(packet *packedPacket, now time.Time) { s.sendQueue.Send(packet.buffer) } -func (s *session) sendConnectionClose(e error) ([]byte, error) { +func (s *connection) sendConnectionClose(e error) ([]byte, error) { var packet *coalescedPacket var err error var transportErr *qerr.TransportError @@ -1818,7 +1817,7 @@ func (s *session) sendConnectionClose(e error) ([]byte, error) { } else { packet, err = s.packer.PackConnectionClose(&qerr.TransportError{ ErrorCode: qerr.InternalError, - ErrorMessage: fmt.Sprintf("session BUG: unspecified error type (msg: %s)", e.Error()), + ErrorMessage: fmt.Sprintf("connection BUG: unspecified error type (msg: %s)", e.Error()), }) } if err != nil { @@ -1828,7 +1827,7 @@ func (s *session) sendConnectionClose(e error) ([]byte, error) { return packet.buffer.Data, s.conn.Write(packet.buffer.Data) } -func (s *session) logPacketContents(p *packetContents) { +func (s *connection) logPacketContents(p *packetContents) { // tracing if s.tracer != nil { frames := make([]logging.Frame, 0, len(p.frames)) @@ -1851,7 +1850,7 @@ func (s *session) logPacketContents(p *packetContents) { } } -func (s *session) logCoalescedPacket(packet *coalescedPacket) { +func (s *connection) logCoalescedPacket(packet *coalescedPacket) { if s.logger.Debug() { if len(packet.packets) > 1 { s.logger.Debugf("-> Sending coalesced packet (%d parts, %d bytes) for connection %s", len(packet.packets), packet.buffer.Len(), s.logID) @@ -1864,7 +1863,7 @@ func (s *session) logCoalescedPacket(packet *coalescedPacket) { } } -func (s *session) logPacket(packet *packedPacket) { +func (s *connection) logPacket(packet *packedPacket) { if s.logger.Debug() { s.logger.Debugf("-> Sending packet %d (%d bytes) for connection %s, %s", packet.header.PacketNumber, packet.buffer.Len(), s.logID, packet.EncryptionLevel()) } @@ -1872,32 +1871,32 @@ func (s *session) logPacket(packet *packedPacket) { } // AcceptStream returns the next stream openend by the peer -func (s *session) AcceptStream(ctx context.Context) (Stream, error) { +func (s *connection) AcceptStream(ctx context.Context) (Stream, error) { return s.streamsMap.AcceptStream(ctx) } -func (s *session) AcceptUniStream(ctx context.Context) (ReceiveStream, error) { +func (s *connection) AcceptUniStream(ctx context.Context) (ReceiveStream, error) { return s.streamsMap.AcceptUniStream(ctx) } // OpenStream opens a stream -func (s *session) OpenStream() (Stream, error) { +func (s *connection) OpenStream() (Stream, error) { return s.streamsMap.OpenStream() } -func (s *session) OpenStreamSync(ctx context.Context) (Stream, error) { +func (s *connection) OpenStreamSync(ctx context.Context) (Stream, error) { return s.streamsMap.OpenStreamSync(ctx) } -func (s *session) OpenUniStream() (SendStream, error) { +func (s *connection) OpenUniStream() (SendStream, error) { return s.streamsMap.OpenUniStream() } -func (s *session) OpenUniStreamSync(ctx context.Context) (SendStream, error) { +func (s *connection) OpenUniStreamSync(ctx context.Context) (SendStream, error) { return s.streamsMap.OpenUniStreamSync(ctx) } -func (s *session) newFlowController(id protocol.StreamID) flowcontrol.StreamFlowController { +func (s *connection) newFlowController(id protocol.StreamID) flowcontrol.StreamFlowController { initialSendWindow := s.peerParams.InitialMaxStreamDataUni if id.Type() == protocol.StreamTypeBidi { if id.InitiatedBy() == s.perspective { @@ -1919,14 +1918,14 @@ func (s *session) newFlowController(id protocol.StreamID) flowcontrol.StreamFlow } // scheduleSending signals that we have data for sending -func (s *session) scheduleSending() { +func (s *connection) scheduleSending() { select { case s.sendingScheduled <- struct{}{}: default: } } -func (s *session) tryQueueingUndecryptablePacket(p *receivedPacket, hdr *wire.Header) { +func (s *connection) tryQueueingUndecryptablePacket(p *receivedPacket, hdr *wire.Header) { if s.handshakeComplete { panic("shouldn't queue undecryptable packets after handshake completion") } @@ -1944,33 +1943,33 @@ func (s *session) tryQueueingUndecryptablePacket(p *receivedPacket, hdr *wire.He s.undecryptablePackets = append(s.undecryptablePackets, p) } -func (s *session) queueControlFrame(f wire.Frame) { +func (s *connection) queueControlFrame(f wire.Frame) { s.framer.QueueControlFrame(f) s.scheduleSending() } -func (s *session) onHasStreamWindowUpdate(id protocol.StreamID) { +func (s *connection) onHasStreamWindowUpdate(id protocol.StreamID) { s.windowUpdateQueue.AddStream(id) s.scheduleSending() } -func (s *session) onHasConnectionWindowUpdate() { +func (s *connection) onHasConnectionWindowUpdate() { s.windowUpdateQueue.AddConnection() s.scheduleSending() } -func (s *session) onHasStreamData(id protocol.StreamID) { +func (s *connection) onHasStreamData(id protocol.StreamID) { s.framer.AddActiveStream(id) s.scheduleSending() } -func (s *session) onStreamCompleted(id protocol.StreamID) { +func (s *connection) onStreamCompleted(id protocol.StreamID) { if err := s.streamsMap.DeleteStream(id); err != nil { s.closeLocal(err) } } -func (s *session) SendMessage(p []byte) error { +func (s *connection) SendMessage(p []byte) error { f := &wire.DatagramFrame{DataLenPresent: true} if protocol.ByteCount(len(p)) > f.MaxDataLen(s.peerParams.MaxDatagramFrameSize, s.version) { return errors.New("message too large") @@ -1980,27 +1979,27 @@ func (s *session) SendMessage(p []byte) error { return s.datagramQueue.AddAndWait(f) } -func (s *session) ReceiveMessage() ([]byte, error) { +func (s *connection) ReceiveMessage() ([]byte, error) { return s.datagramQueue.Receive() } -func (s *session) LocalAddr() net.Addr { +func (s *connection) LocalAddr() net.Addr { return s.conn.LocalAddr() } -func (s *session) RemoteAddr() net.Addr { +func (s *connection) RemoteAddr() net.Addr { return s.conn.RemoteAddr() } -func (s *session) getPerspective() protocol.Perspective { +func (s *connection) getPerspective() protocol.Perspective { return s.perspective } -func (s *session) GetVersion() protocol.VersionNumber { +func (s *connection) GetVersion() protocol.VersionNumber { return s.version } -func (s *session) NextSession() Session { +func (s *connection) NextConnection() Connection { <-s.HandshakeComplete().Done() s.streamsMap.UseResetMaps() return s diff --git a/vendor/github.com/lucas-clemente/quic-go/interface.go b/vendor/github.com/lucas-clemente/quic-go/interface.go index 6381e9edd..6130b5497 100644 --- a/vendor/github.com/lucas-clemente/quic-go/interface.go +++ b/vendor/github.com/lucas-clemente/quic-go/interface.go @@ -23,6 +23,7 @@ const ( VersionDraft29 = protocol.VersionDraft29 // Version1 is RFC 9000 Version1 = protocol.Version1 + Version2 = protocol.Version2 ) // A Token can be used to verify the ownership of the client address. @@ -59,15 +60,15 @@ type TokenStore interface { // when the server rejects a 0-RTT connection attempt. var Err0RTTRejected = errors.New("0-RTT rejected") -// SessionTracingKey can be used to associate a ConnectionTracer with a Session. -// It is set on the Session.Context() context, +// ConnectionTracingKey can be used to associate a ConnectionTracer with a Connection. +// It is set on the Connection.Context() context, // as well as on the context passed to logging.Tracer.NewConnectionTracer. -var SessionTracingKey = sessionTracingCtxKey{} +var ConnectionTracingKey = connTracingCtxKey{} -type sessionTracingCtxKey struct{} +type connTracingCtxKey struct{} // Stream is the interface implemented by QUIC streams -// In addition to the errors listed on the Session, +// In addition to the errors listed on the Connection, // calls to stream functions can return a StreamError if the stream is canceled. type Stream interface { ReceiveStream @@ -87,7 +88,7 @@ type ReceiveStream interface { // after a fixed time limit; see SetDeadline and SetReadDeadline. // If the stream was canceled by the peer, the error implements the StreamError // interface, and Canceled() == true. - // If the session was closed due to a timeout, the error satisfies + // If the connection was closed due to a timeout, the error satisfies // the net.Error interface, and Timeout() will be true. io.Reader // CancelRead aborts receiving on this stream. @@ -111,7 +112,7 @@ type SendStream interface { // after a fixed time limit; see SetDeadline and SetWriteDeadline. // If the stream was canceled by the peer, the error implements the StreamError // interface, and Canceled() == true. - // If the session was closed due to a timeout, the error satisfies + // If the connection was closed due to a timeout, the error satisfies // the net.Error interface, and Timeout() will be true. io.Writer // Close closes the write-direction of the stream. @@ -127,7 +128,6 @@ type SendStream interface { // The Context is canceled as soon as the write-side of the stream is closed. // This happens when Close() or CancelWrite() is called, or when the peer // cancels the read-side of their stream. - // Warning: This API should not be considered stable and might change soon. Context() context.Context // SetWriteDeadline sets the deadline for future Write calls // and any currently-blocked Write call. @@ -137,21 +137,21 @@ type SendStream interface { SetWriteDeadline(t time.Time) error } -// A Session is a QUIC connection between two peers. -// Calls to the session (and to streams) can return the following types of errors: +// A Connection is a QUIC connection between two peers. +// Calls to the connection (and to streams) can return the following types of errors: // * ApplicationError: for errors triggered by the application running on top of QUIC // * TransportError: for errors triggered by the QUIC transport (in many cases a misbehaving peer) // * IdleTimeoutError: when the peer goes away unexpectedly (this is a net.Error timeout error) // * HandshakeTimeoutError: when the cryptographic handshake takes too long (this is a net.Error timeout error) // * StatelessResetError: when we receive a stateless reset (this is a net.Error temporary error) // * VersionNegotiationError: returned by the client, when there's no version overlap between the peers -type Session interface { +type Connection interface { // AcceptStream returns the next stream opened by the peer, blocking until one is available. - // If the session was closed due to a timeout, the error satisfies + // If the connection was closed due to a timeout, the error satisfies // the net.Error interface, and Timeout() will be true. AcceptStream(context.Context) (Stream, error) // AcceptUniStream returns the next unidirectional stream opened by the peer, blocking until one is available. - // If the session was closed due to a timeout, the error satisfies + // If the connection was closed due to a timeout, the error satisfies // the net.Error interface, and Timeout() will be true. AcceptUniStream(context.Context) (ReceiveStream, error) // OpenStream opens a new bidirectional QUIC stream. @@ -159,22 +159,22 @@ type Session interface { // The peer can only accept the stream after data has been sent on the stream. // If the error is non-nil, it satisfies the net.Error interface. // When reaching the peer's stream limit, err.Temporary() will be true. - // If the session was closed due to a timeout, Timeout() will be true. + // If the connection was closed due to a timeout, Timeout() will be true. OpenStream() (Stream, error) // OpenStreamSync opens a new bidirectional QUIC stream. // It blocks until a new stream can be opened. // If the error is non-nil, it satisfies the net.Error interface. - // If the session was closed due to a timeout, Timeout() will be true. + // If the connection was closed due to a timeout, Timeout() will be true. OpenStreamSync(context.Context) (Stream, error) // OpenUniStream opens a new outgoing unidirectional QUIC stream. // If the error is non-nil, it satisfies the net.Error interface. // When reaching the peer's stream limit, Temporary() will be true. - // If the session was closed due to a timeout, Timeout() will be true. + // If the connection was closed due to a timeout, Timeout() will be true. OpenUniStream() (SendStream, error) // OpenUniStreamSync opens a new outgoing unidirectional QUIC stream. // It blocks until a new stream can be opened. // If the error is non-nil, it satisfies the net.Error interface. - // If the session was closed due to a timeout, Timeout() will be true. + // If the connection was closed due to a timeout, Timeout() will be true. OpenUniStreamSync(context.Context) (SendStream, error) // LocalAddr returns the local address. LocalAddr() net.Addr @@ -183,42 +183,38 @@ type Session interface { // CloseWithError closes the connection with an error. // The error string will be sent to the peer. CloseWithError(ApplicationErrorCode, string) error - // The context is cancelled when the session is closed. - // Warning: This API should not be considered stable and might change soon. + // The context is cancelled when the connection is closed. Context() context.Context // ConnectionState returns basic details about the QUIC connection. // It blocks until the handshake completes. // Warning: This API should not be considered stable and might change soon. ConnectionState() ConnectionState - // SendMessage sends a message as a datagram. - // See https://datatracker.ietf.org/doc/draft-pauly-quic-datagram/. + // SendMessage sends a message as a datagram, as specified in RFC 9221. SendMessage([]byte) error - // ReceiveMessage gets a message received in a datagram. - // See https://datatracker.ietf.org/doc/draft-pauly-quic-datagram/. + // ReceiveMessage gets a message received in a datagram, as specified in RFC 9221. ReceiveMessage() ([]byte, error) } -// An EarlySession is a session that is handshaking. +// An EarlyConnection is a connection that is handshaking. // Data sent during the handshake is encrypted using the forward secure keys. // When using client certificates, the client's identity is only verified // after completion of the handshake. -type EarlySession interface { - Session +type EarlyConnection interface { + Connection // HandshakeComplete blocks until the handshake completes (or fails). // Data sent before completion of the handshake is encrypted with 1-RTT keys. // Note that the client's identity hasn't been verified yet. HandshakeComplete() context.Context - NextSession() Session + NextConnection() Connection } // Config contains all configuration data needed for a QUIC server or client. type Config struct { // The QUIC versions that can be negotiated. // If not set, it uses all versions available. - // Warning: This API should not be considered stable and will change soon. Versions []VersionNumber // The length of the connection ID in bytes. // It can be 0, or any value between 4 and 18. @@ -270,9 +266,9 @@ type Config struct { // to increase the connection flow control window. // If set, the caller can prevent an increase of the window. Typically, it would do so to // limit the memory usage. - // To avoid deadlocks, it is not valid to call other functions on the session or on streams + // To avoid deadlocks, it is not valid to call other functions on the connection or on streams // in this callback. - AllowConnectionWindowIncrease func(sess Session, delta uint64) bool + AllowConnectionWindowIncrease func(sess Connection, delta uint64) bool // MaxIncomingStreams is the maximum number of concurrent bidirectional streams that a peer is allowed to open. // Values above 2^60 are invalid. // If not set, it will default to 100. @@ -286,11 +282,13 @@ type Config struct { // The StatelessResetKey is used to generate stateless reset tokens. // If no key is configured, sending of stateless resets is disabled. StatelessResetKey []byte - // KeepAlive defines whether this peer will periodically send a packet to keep the connection alive. - KeepAlive bool + // KeepAlivePeriod defines whether this peer will periodically send a packet to keep the connection alive. + // If set to 0, then no keep alive is sent. Otherwise, the keep alive is sent on that period (or at most + // every half of MaxIdleTimeout, whichever is smaller). + KeepAlivePeriod time.Duration // DisablePathMTUDiscovery disables Path MTU Discovery (RFC 8899). // Packets will then be at most 1252 (IPv4) / 1232 (IPv6) bytes in size. - // Note that Path MTU discovery is always disabled on Windows, see https://github.com/lucas-clemente/quic-go/issues/3273. + // Note that if Path MTU discovery is causing issues on your system, please open a new issue DisablePathMTUDiscovery bool // DisableVersionNegotiationPackets disables the sending of Version Negotiation packets. // This can be useful if version information is exchanged out-of-band. @@ -310,21 +308,21 @@ type ConnectionState struct { // A Listener for incoming QUIC connections type Listener interface { - // Close the server. All active sessions will be closed. + // Close the server. All active connections will be closed. Close() error // Addr returns the local network addr that the server is listening on. Addr() net.Addr - // Accept returns new sessions. It should be called in a loop. - Accept(context.Context) (Session, error) + // Accept returns new connections. It should be called in a loop. + Accept(context.Context) (Connection, error) } // An EarlyListener listens for incoming QUIC connections, // and returns them before the handshake completes. type EarlyListener interface { - // Close the server. All active sessions will be closed. + // Close the server. All active connections will be closed. Close() error // Addr returns the local network addr that the server is listening on. Addr() net.Addr - // Accept returns new early sessions. It should be called in a loop. - Accept(context.Context) (EarlySession, error) + // Accept returns new early connections. It should be called in a loop. + Accept(context.Context) (EarlyConnection, error) } diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/handshake/aead.go b/vendor/github.com/lucas-clemente/quic-go/internal/handshake/aead.go index 54eda9b7d..03b039289 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/handshake/aead.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/handshake/aead.go @@ -9,9 +9,15 @@ import ( "github.com/lucas-clemente/quic-go/internal/utils" ) -func createAEAD(suite *qtls.CipherSuiteTLS13, trafficSecret []byte) cipher.AEAD { - key := hkdfExpandLabel(suite.Hash, trafficSecret, []byte{}, "quic key", suite.KeyLen) - iv := hkdfExpandLabel(suite.Hash, trafficSecret, []byte{}, "quic iv", suite.IVLen()) +func createAEAD(suite *qtls.CipherSuiteTLS13, trafficSecret []byte, v protocol.VersionNumber) cipher.AEAD { + keyLabel := hkdfLabelKeyV1 + ivLabel := hkdfLabelIVV1 + if v == protocol.Version2 { + keyLabel = hkdfLabelKeyV2 + ivLabel = hkdfLabelIVV2 + } + key := hkdfExpandLabel(suite.Hash, trafficSecret, []byte{}, keyLabel, suite.KeyLen) + iv := hkdfExpandLabel(suite.Hash, trafficSecret, []byte{}, ivLabel, suite.IVLen()) return suite.AEAD(key, iv) } diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/handshake/crypto_setup.go b/vendor/github.com/lucas-clemente/quic-go/internal/handshake/crypto_setup.go index 7543be991..31d9bf0aa 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/handshake/crypto_setup.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/handshake/crypto_setup.go @@ -113,7 +113,8 @@ type cryptoSetup struct { zeroRTTParameters *wire.TransportParameters clientHelloWritten bool - clientHelloWrittenChan chan *wire.TransportParameters + clientHelloWrittenChan chan struct{} // is closed as soon as the ClientHello is written + zeroRTTParametersChan chan<- *wire.TransportParameters rttStats *utils.RTTStats @@ -238,13 +239,14 @@ func newCryptoSetup( tracer.UpdatedKeyFromTLS(protocol.EncryptionInitial, protocol.PerspectiveServer) } extHandler := newExtensionHandler(tp.Marshal(perspective), perspective, version) + zeroRTTParametersChan := make(chan *wire.TransportParameters, 1) cs := &cryptoSetup{ tlsConf: tlsConf, initialStream: initialStream, initialSealer: initialSealer, initialOpener: initialOpener, handshakeStream: handshakeStream, - aead: newUpdatableAEAD(rttStats, tracer, logger), + aead: newUpdatableAEAD(rttStats, tracer, logger, version), readEncLevel: protocol.EncryptionInitial, writeEncLevel: protocol.EncryptionInitial, runner: runner, @@ -256,7 +258,8 @@ func newCryptoSetup( perspective: perspective, handshakeDone: make(chan struct{}), alertChan: make(chan uint8), - clientHelloWrittenChan: make(chan *wire.TransportParameters, 1), + clientHelloWrittenChan: make(chan struct{}), + zeroRTTParametersChan: zeroRTTParametersChan, messageChan: make(chan []byte, 100), isReadingHandshakeMessage: make(chan struct{}), closeChan: make(chan struct{}), @@ -278,7 +281,7 @@ func newCryptoSetup( GetAppDataForSessionState: cs.marshalDataForSessionState, SetAppDataFromSessionState: cs.handleDataFromSessionState, } - return cs, cs.clientHelloWrittenChan + return cs, zeroRTTParametersChan } func (h *cryptoSetup) ChangeConnectionID(id protocol.ConnectionID) { @@ -308,6 +311,15 @@ func (h *cryptoSetup) RunHandshake() { close(handshakeComplete) }() + if h.perspective == protocol.PerspectiveClient { + select { + case err := <-handshakeErrChan: + h.onError(0, err.Error()) + return + case <-h.clientHelloWrittenChan: + } + } + select { case <-handshakeComplete: // return when the handshake is done h.mutex.Lock() @@ -324,7 +336,13 @@ func (h *cryptoSetup) RunHandshake() { } func (h *cryptoSetup) onError(alert uint8, message string) { - h.runner.OnError(qerr.NewCryptoError(alert, message)) + var err error + if alert == 0 { + err = &qerr.TransportError{ErrorCode: qerr.InternalError, ErrorMessage: message} + } else { + err = qerr.NewCryptoError(alert, message) + } + h.runner.OnError(err) } // Close closes the crypto setup. @@ -554,8 +572,8 @@ func (h *cryptoSetup) SetReadKey(encLevel qtls.EncryptionLevel, suite *qtls.Ciph panic("Received 0-RTT read key for the client") } h.zeroRTTOpener = newLongHeaderOpener( - createAEAD(suite, trafficSecret), - newHeaderProtector(suite, trafficSecret, true), + createAEAD(suite, trafficSecret, h.version), + newHeaderProtector(suite, trafficSecret, true, h.version), ) h.mutex.Unlock() h.logger.Debugf("Installed 0-RTT Read keys (using %s)", tls.CipherSuiteName(suite.ID)) @@ -566,8 +584,8 @@ func (h *cryptoSetup) SetReadKey(encLevel qtls.EncryptionLevel, suite *qtls.Ciph case qtls.EncryptionHandshake: h.readEncLevel = protocol.EncryptionHandshake h.handshakeOpener = newHandshakeOpener( - createAEAD(suite, trafficSecret), - newHeaderProtector(suite, trafficSecret, true), + createAEAD(suite, trafficSecret, h.version), + newHeaderProtector(suite, trafficSecret, true, h.version), h.dropInitialKeys, h.perspective, ) @@ -594,8 +612,8 @@ func (h *cryptoSetup) SetWriteKey(encLevel qtls.EncryptionLevel, suite *qtls.Cip panic("Received 0-RTT write key for the server") } h.zeroRTTSealer = newLongHeaderSealer( - createAEAD(suite, trafficSecret), - newHeaderProtector(suite, trafficSecret, true), + createAEAD(suite, trafficSecret, h.version), + newHeaderProtector(suite, trafficSecret, true, h.version), ) h.mutex.Unlock() h.logger.Debugf("Installed 0-RTT Write keys (using %s)", tls.CipherSuiteName(suite.ID)) @@ -606,8 +624,8 @@ func (h *cryptoSetup) SetWriteKey(encLevel qtls.EncryptionLevel, suite *qtls.Cip case qtls.EncryptionHandshake: h.writeEncLevel = protocol.EncryptionHandshake h.handshakeSealer = newHandshakeSealer( - createAEAD(suite, trafficSecret), - newHeaderProtector(suite, trafficSecret, true), + createAEAD(suite, trafficSecret, h.version), + newHeaderProtector(suite, trafficSecret, true, h.version), h.dropInitialKeys, h.perspective, ) @@ -645,12 +663,13 @@ func (h *cryptoSetup) WriteRecord(p []byte) (int, error) { n, err := h.initialStream.Write(p) if !h.clientHelloWritten && h.perspective == protocol.PerspectiveClient { h.clientHelloWritten = true + close(h.clientHelloWrittenChan) if h.zeroRTTSealer != nil && h.zeroRTTParameters != nil { h.logger.Debugf("Doing 0-RTT.") - h.clientHelloWrittenChan <- h.zeroRTTParameters + h.zeroRTTParametersChan <- h.zeroRTTParameters } else { h.logger.Debugf("Not doing 0-RTT.") - h.clientHelloWrittenChan <- nil + h.zeroRTTParametersChan <- nil } } return n, err diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/handshake/header_protector.go b/vendor/github.com/lucas-clemente/quic-go/internal/handshake/header_protector.go index e1c72c3b6..1f800c50f 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/handshake/header_protector.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/handshake/header_protector.go @@ -9,6 +9,7 @@ import ( "golang.org/x/crypto/chacha20" + "github.com/lucas-clemente/quic-go/internal/protocol" "github.com/lucas-clemente/quic-go/internal/qtls" ) @@ -17,12 +18,20 @@ type headerProtector interface { DecryptHeader(sample []byte, firstByte *byte, hdrBytes []byte) } -func newHeaderProtector(suite *qtls.CipherSuiteTLS13, trafficSecret []byte, isLongHeader bool) headerProtector { +func hkdfHeaderProtectionLabel(v protocol.VersionNumber) string { + if v == protocol.Version2 { + return "quicv2 hp" + } + return "quic hp" +} + +func newHeaderProtector(suite *qtls.CipherSuiteTLS13, trafficSecret []byte, isLongHeader bool, v protocol.VersionNumber) headerProtector { + hkdfLabel := hkdfHeaderProtectionLabel(v) switch suite.ID { case tls.TLS_AES_128_GCM_SHA256, tls.TLS_AES_256_GCM_SHA384: - return newAESHeaderProtector(suite, trafficSecret, isLongHeader) + return newAESHeaderProtector(suite, trafficSecret, isLongHeader, hkdfLabel) case tls.TLS_CHACHA20_POLY1305_SHA256: - return newChaChaHeaderProtector(suite, trafficSecret, isLongHeader) + return newChaChaHeaderProtector(suite, trafficSecret, isLongHeader, hkdfLabel) default: panic(fmt.Sprintf("Invalid cipher suite id: %d", suite.ID)) } @@ -36,8 +45,8 @@ type aesHeaderProtector struct { var _ headerProtector = &aesHeaderProtector{} -func newAESHeaderProtector(suite *qtls.CipherSuiteTLS13, trafficSecret []byte, isLongHeader bool) headerProtector { - hpKey := hkdfExpandLabel(suite.Hash, trafficSecret, []byte{}, "quic hp", suite.KeyLen) +func newAESHeaderProtector(suite *qtls.CipherSuiteTLS13, trafficSecret []byte, isLongHeader bool, hkdfLabel string) headerProtector { + hpKey := hkdfExpandLabel(suite.Hash, trafficSecret, []byte{}, hkdfLabel, suite.KeyLen) block, err := aes.NewCipher(hpKey) if err != nil { panic(fmt.Sprintf("error creating new AES cipher: %s", err)) @@ -81,8 +90,8 @@ type chachaHeaderProtector struct { var _ headerProtector = &chachaHeaderProtector{} -func newChaChaHeaderProtector(suite *qtls.CipherSuiteTLS13, trafficSecret []byte, isLongHeader bool) headerProtector { - hpKey := hkdfExpandLabel(suite.Hash, trafficSecret, []byte{}, "quic hp", suite.KeyLen) +func newChaChaHeaderProtector(suite *qtls.CipherSuiteTLS13, trafficSecret []byte, isLongHeader bool, hkdfLabel string) headerProtector { + hpKey := hkdfExpandLabel(suite.Hash, trafficSecret, []byte{}, hkdfLabel, suite.KeyLen) p := &chachaHeaderProtector{ isLongHeader: isLongHeader, diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/handshake/initial_aead.go b/vendor/github.com/lucas-clemente/quic-go/internal/handshake/initial_aead.go index 2880acf32..00ed243c7 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/handshake/initial_aead.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/handshake/initial_aead.go @@ -12,12 +12,23 @@ import ( var ( quicSaltOld = []byte{0xaf, 0xbf, 0xec, 0x28, 0x99, 0x93, 0xd2, 0x4c, 0x9e, 0x97, 0x86, 0xf1, 0x9c, 0x61, 0x11, 0xe0, 0x43, 0x90, 0xa8, 0x99} - quicSalt = []byte{0x38, 0x76, 0x2c, 0xf7, 0xf5, 0x59, 0x34, 0xb3, 0x4d, 0x17, 0x9a, 0xe6, 0xa4, 0xc8, 0x0c, 0xad, 0xcc, 0xbb, 0x7f, 0x0a} + quicSaltV1 = []byte{0x38, 0x76, 0x2c, 0xf7, 0xf5, 0x59, 0x34, 0xb3, 0x4d, 0x17, 0x9a, 0xe6, 0xa4, 0xc8, 0x0c, 0xad, 0xcc, 0xbb, 0x7f, 0x0a} + quicSaltV2 = []byte{0xa7, 0x07, 0xc2, 0x03, 0xa5, 0x9b, 0x47, 0x18, 0x4a, 0x1d, 0x62, 0xca, 0x57, 0x04, 0x06, 0xea, 0x7a, 0xe3, 0xe5, 0xd3} +) + +const ( + hkdfLabelKeyV1 = "quic key" + hkdfLabelKeyV2 = "quicv2 key" + hkdfLabelIVV1 = "quic iv" + hkdfLabelIVV2 = "quicv2 iv" ) func getSalt(v protocol.VersionNumber) []byte { + if v == protocol.Version2 { + return quicSaltV2 + } if v == protocol.Version1 { - return quicSalt + return quicSaltV1 } return quicSaltOld } @@ -40,14 +51,14 @@ func NewInitialAEAD(connID protocol.ConnectionID, pers protocol.Perspective, v p mySecret = serverSecret otherSecret = clientSecret } - myKey, myIV := computeInitialKeyAndIV(mySecret) - otherKey, otherIV := computeInitialKeyAndIV(otherSecret) + myKey, myIV := computeInitialKeyAndIV(mySecret, v) + otherKey, otherIV := computeInitialKeyAndIV(otherSecret, v) encrypter := qtls.AEADAESGCMTLS13(myKey, myIV) decrypter := qtls.AEADAESGCMTLS13(otherKey, otherIV) - return newLongHeaderSealer(encrypter, newHeaderProtector(initialSuite, mySecret, true)), - newLongHeaderOpener(decrypter, newAESHeaderProtector(initialSuite, otherSecret, true)) + return newLongHeaderSealer(encrypter, newHeaderProtector(initialSuite, mySecret, true, v)), + newLongHeaderOpener(decrypter, newAESHeaderProtector(initialSuite, otherSecret, true, hkdfHeaderProtectionLabel(v))) } func computeSecrets(connID protocol.ConnectionID, v protocol.VersionNumber) (clientSecret, serverSecret []byte) { @@ -57,8 +68,14 @@ func computeSecrets(connID protocol.ConnectionID, v protocol.VersionNumber) (cli return } -func computeInitialKeyAndIV(secret []byte) (key, iv []byte) { - key = hkdfExpandLabel(crypto.SHA256, secret, []byte{}, "quic key", 16) - iv = hkdfExpandLabel(crypto.SHA256, secret, []byte{}, "quic iv", 12) +func computeInitialKeyAndIV(secret []byte, v protocol.VersionNumber) (key, iv []byte) { + keyLabel := hkdfLabelKeyV1 + ivLabel := hkdfLabelIVV1 + if v == protocol.Version2 { + keyLabel = hkdfLabelKeyV2 + ivLabel = hkdfLabelIVV2 + } + key = hkdfExpandLabel(crypto.SHA256, secret, []byte{}, keyLabel, 16) + iv = hkdfExpandLabel(crypto.SHA256, secret, []byte{}, ivLabel, 12) return } diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/handshake/updatable_aead.go b/vendor/github.com/lucas-clemente/quic-go/internal/handshake/updatable_aead.go index 094e65046..1532e7b5a 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/handshake/updatable_aead.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/handshake/updatable_aead.go @@ -55,8 +55,9 @@ type updatableAEAD struct { rttStats *utils.RTTStats - tracer logging.ConnectionTracer - logger utils.Logger + tracer logging.ConnectionTracer + logger utils.Logger + version protocol.VersionNumber // use a single slice to avoid allocations nonceBuf []byte @@ -67,7 +68,7 @@ var ( _ ShortHeaderSealer = &updatableAEAD{} ) -func newUpdatableAEAD(rttStats *utils.RTTStats, tracer logging.ConnectionTracer, logger utils.Logger) *updatableAEAD { +func newUpdatableAEAD(rttStats *utils.RTTStats, tracer logging.ConnectionTracer, logger utils.Logger, version protocol.VersionNumber) *updatableAEAD { return &updatableAEAD{ firstPacketNumber: protocol.InvalidPacketNumber, largestAcked: protocol.InvalidPacketNumber, @@ -77,6 +78,7 @@ func newUpdatableAEAD(rttStats *utils.RTTStats, tracer logging.ConnectionTracer, rttStats: rttStats, tracer: tracer, logger: logger, + version: version, } } @@ -100,8 +102,8 @@ func (a *updatableAEAD) rollKeys() { a.nextRcvTrafficSecret = a.getNextTrafficSecret(a.suite.Hash, a.nextRcvTrafficSecret) a.nextSendTrafficSecret = a.getNextTrafficSecret(a.suite.Hash, a.nextSendTrafficSecret) - a.nextRcvAEAD = createAEAD(a.suite, a.nextRcvTrafficSecret) - a.nextSendAEAD = createAEAD(a.suite, a.nextSendTrafficSecret) + a.nextRcvAEAD = createAEAD(a.suite, a.nextRcvTrafficSecret, a.version) + a.nextSendAEAD = createAEAD(a.suite, a.nextSendTrafficSecret, a.version) } func (a *updatableAEAD) startKeyDropTimer(now time.Time) { @@ -117,27 +119,27 @@ func (a *updatableAEAD) getNextTrafficSecret(hash crypto.Hash, ts []byte) []byte // For the client, this function is called before SetWriteKey. // For the server, this function is called after SetWriteKey. func (a *updatableAEAD) SetReadKey(suite *qtls.CipherSuiteTLS13, trafficSecret []byte) { - a.rcvAEAD = createAEAD(suite, trafficSecret) - a.headerDecrypter = newHeaderProtector(suite, trafficSecret, false) + a.rcvAEAD = createAEAD(suite, trafficSecret, a.version) + a.headerDecrypter = newHeaderProtector(suite, trafficSecret, false, a.version) if a.suite == nil { a.setAEADParameters(a.rcvAEAD, suite) } a.nextRcvTrafficSecret = a.getNextTrafficSecret(suite.Hash, trafficSecret) - a.nextRcvAEAD = createAEAD(suite, a.nextRcvTrafficSecret) + a.nextRcvAEAD = createAEAD(suite, a.nextRcvTrafficSecret, a.version) } // For the client, this function is called after SetReadKey. // For the server, this function is called before SetWriteKey. func (a *updatableAEAD) SetWriteKey(suite *qtls.CipherSuiteTLS13, trafficSecret []byte) { - a.sendAEAD = createAEAD(suite, trafficSecret) - a.headerEncrypter = newHeaderProtector(suite, trafficSecret, false) + a.sendAEAD = createAEAD(suite, trafficSecret, a.version) + a.headerEncrypter = newHeaderProtector(suite, trafficSecret, false, a.version) if a.suite == nil { a.setAEADParameters(a.sendAEAD, suite) } a.nextSendTrafficSecret = a.getNextTrafficSecret(suite.Hash, trafficSecret) - a.nextSendAEAD = createAEAD(suite, a.nextSendTrafficSecret) + a.nextSendAEAD = createAEAD(suite, a.nextSendTrafficSecret, a.version) } func (a *updatableAEAD) setAEADParameters(aead cipher.AEAD, suite *qtls.CipherSuiteTLS13) { diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/protocol/params.go b/vendor/github.com/lucas-clemente/quic-go/internal/protocol/params.go index 4bc33e274..831371139 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/protocol/params.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/protocol/params.go @@ -14,7 +14,7 @@ const InitialPacketSizeIPv6 = 1232 // MaxCongestionWindowPackets is the maximum congestion window in packet. const MaxCongestionWindowPackets = 10000 -// MaxUndecryptablePackets limits the number of undecryptable packets that are queued in the session. +// MaxUndecryptablePackets limits the number of undecryptable packets that are queued in the connection. const MaxUndecryptablePackets = 32 // ConnectionFlowControlMultiplier determines how much larger the connection flow control windows needs to be relative to any stream's flow control window @@ -45,8 +45,8 @@ const DefaultMaxIncomingUniStreams = 100 // MaxServerUnprocessedPackets is the max number of packets stored in the server that are not yet processed. const MaxServerUnprocessedPackets = 1024 -// MaxSessionUnprocessedPackets is the max number of packets stored in each session that are not yet processed. -const MaxSessionUnprocessedPackets = 256 +// MaxConnUnprocessedPackets is the max number of packets stored in each connection that are not yet processed. +const MaxConnUnprocessedPackets = 256 // SkipPacketInitialPeriod is the initial period length used for packet number skipping to prevent an Optimistic ACK attack. // Every time a packet number is skipped, the period is doubled, up to SkipPacketMaxPeriod. @@ -55,7 +55,7 @@ const SkipPacketInitialPeriod PacketNumber = 256 // SkipPacketMaxPeriod is the maximum period length used for packet number skipping. const SkipPacketMaxPeriod PacketNumber = 128 * 1024 -// MaxAcceptQueueSize is the maximum number of sessions that the server queues for accepting. +// MaxAcceptQueueSize is the maximum number of connections that the server queues for accepting. // If the queue is full, new connection attempts will be rejected. const MaxAcceptQueueSize = 32 @@ -112,7 +112,7 @@ const DefaultHandshakeTimeout = 10 * time.Second // It should be shorter than the time that NATs clear their mapping. const MaxKeepAliveInterval = 20 * time.Second -// RetiredConnectionIDDeleteTimeout is the time we keep closed sessions around in order to retransmit the CONNECTION_CLOSE. +// RetiredConnectionIDDeleteTimeout is the time we keep closed connections around in order to retransmit the CONNECTION_CLOSE. // after this time all information about the old connection will be deleted const RetiredConnectionIDDeleteTimeout = 5 * time.Second @@ -132,13 +132,11 @@ const MaxPostHandshakeCryptoFrameSize = 1000 // but must ensure that a maximum size ACK frame fits into one packet. const MaxAckFrameSize ByteCount = 1000 -// MaxDatagramFrameSize is the maximum size of a DATAGRAM frame as defined in -// https://datatracker.ietf.org/doc/draft-pauly-quic-datagram/. +// MaxDatagramFrameSize is the maximum size of a DATAGRAM frame (RFC 9221). // The size is chosen such that a DATAGRAM frame fits into a QUIC packet. const MaxDatagramFrameSize ByteCount = 1220 -// DatagramRcvQueueLen is the length of the receive queue for DATAGRAM frames. -// See https://datatracker.ietf.org/doc/draft-pauly-quic-datagram/. +// DatagramRcvQueueLen is the length of the receive queue for DATAGRAM frames (RFC 9221) const DatagramRcvQueueLen = 128 // MaxNumAckRanges is the maximum number of ACK ranges that we send in an ACK frame. @@ -189,7 +187,7 @@ const Max0RTTQueueingDuration = 100 * time.Millisecond const Max0RTTQueues = 32 // Max0RTTQueueLen is the maximum number of 0-RTT packets that we buffer for each connection. -// When a new session is created, all buffered packets are passed to the session immediately. -// To avoid blocking, this value has to be smaller than MaxSessionUnprocessedPackets. -// To avoid packets being dropped as undecryptable by the session, this value has to be smaller than MaxUndecryptablePackets. +// When a new connection is created, all buffered packets are passed to the connection immediately. +// To avoid blocking, this value has to be smaller than MaxConnUnprocessedPackets. +// To avoid packets being dropped as undecryptable by the connection, this value has to be smaller than MaxUndecryptablePackets. const Max0RTTQueueLen = 31 diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/protocol/version.go b/vendor/github.com/lucas-clemente/quic-go/internal/protocol/version.go index b5276303a..dd54dbd3c 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/protocol/version.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/protocol/version.go @@ -23,11 +23,12 @@ const ( VersionUnknown VersionNumber = math.MaxUint32 VersionDraft29 VersionNumber = 0xff00001d Version1 VersionNumber = 0x1 + Version2 VersionNumber = 0x709a50c4 ) // SupportedVersions lists the versions that the server supports // must be in sorted descending order -var SupportedVersions = []VersionNumber{Version1, VersionDraft29} +var SupportedVersions = []VersionNumber{Version1, Version2, VersionDraft29} // IsValidVersion says if the version is known to quic-go func IsValidVersion(v VersionNumber) bool { @@ -50,6 +51,8 @@ func (vn VersionNumber) String() string { return "draft-29" case Version1: return "v1" + case Version2: + return "v2" default: if vn.isGQUIC() { return fmt.Sprintf("gQUIC %d", vn.toGQUICVersion()) diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go118.go b/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go118.go index 0e0e79669..5de030c78 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go118.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go118.go @@ -1,5 +1,5 @@ -//go:build go1.18 -// +build go1.18 +//go:build go1.18 && !go1.19 +// +build go1.18,!go1.19 package qtls diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go119.go b/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go119.go index 2c648639e..86dcaea3d 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go119.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go119.go @@ -3,4 +3,98 @@ package qtls -var _ int = "quic-go doesn't build on Go 1.19 yet." +import ( + "crypto" + "crypto/cipher" + "crypto/tls" + "net" + "unsafe" + + "github.com/marten-seemann/qtls-go1-19" +) + +type ( + // Alert is a TLS alert + Alert = qtls.Alert + // A Certificate is qtls.Certificate. + Certificate = qtls.Certificate + // CertificateRequestInfo contains information about a certificate request. + CertificateRequestInfo = qtls.CertificateRequestInfo + // A CipherSuiteTLS13 is a cipher suite for TLS 1.3 + CipherSuiteTLS13 = qtls.CipherSuiteTLS13 + // ClientHelloInfo contains information about a ClientHello. + ClientHelloInfo = qtls.ClientHelloInfo + // ClientSessionCache is a cache used for session resumption. + ClientSessionCache = qtls.ClientSessionCache + // ClientSessionState is a state needed for session resumption. + ClientSessionState = qtls.ClientSessionState + // A Config is a qtls.Config. + Config = qtls.Config + // A Conn is a qtls.Conn. + Conn = qtls.Conn + // ConnectionState contains information about the state of the connection. + ConnectionState = qtls.ConnectionStateWith0RTT + // EncryptionLevel is the encryption level of a message. + EncryptionLevel = qtls.EncryptionLevel + // Extension is a TLS extension + Extension = qtls.Extension + // ExtraConfig is the qtls.ExtraConfig + ExtraConfig = qtls.ExtraConfig + // RecordLayer is a qtls RecordLayer. + RecordLayer = qtls.RecordLayer +) + +const ( + // EncryptionHandshake is the Handshake encryption level + EncryptionHandshake = qtls.EncryptionHandshake + // Encryption0RTT is the 0-RTT encryption level + Encryption0RTT = qtls.Encryption0RTT + // EncryptionApplication is the application data encryption level + EncryptionApplication = qtls.EncryptionApplication +) + +// AEADAESGCMTLS13 creates a new AES-GCM AEAD for TLS 1.3 +func AEADAESGCMTLS13(key, fixedNonce []byte) cipher.AEAD { + return qtls.AEADAESGCMTLS13(key, fixedNonce) +} + +// Client returns a new TLS client side connection. +func Client(conn net.Conn, config *Config, extraConfig *ExtraConfig) *Conn { + return qtls.Client(conn, config, extraConfig) +} + +// Server returns a new TLS server side connection. +func Server(conn net.Conn, config *Config, extraConfig *ExtraConfig) *Conn { + return qtls.Server(conn, config, extraConfig) +} + +func GetConnectionState(conn *Conn) ConnectionState { + return conn.ConnectionStateWith0RTT() +} + +// ToTLSConnectionState extracts the tls.ConnectionState +func ToTLSConnectionState(cs ConnectionState) tls.ConnectionState { + return cs.ConnectionState +} + +type cipherSuiteTLS13 struct { + ID uint16 + KeyLen int + AEAD func(key, fixedNonce []byte) cipher.AEAD + Hash crypto.Hash +} + +//go:linkname cipherSuiteTLS13ByID github.com/marten-seemann/qtls-go1-19.cipherSuiteTLS13ByID +func cipherSuiteTLS13ByID(id uint16) *cipherSuiteTLS13 + +// CipherSuiteTLS13ByID gets a TLS 1.3 cipher suite. +func CipherSuiteTLS13ByID(id uint16) *CipherSuiteTLS13 { + val := cipherSuiteTLS13ByID(id) + cs := (*cipherSuiteTLS13)(unsafe.Pointer(val)) + return &qtls.CipherSuiteTLS13{ + ID: cs.ID, + KeyLen: cs.KeyLen, + AEAD: cs.AEAD, + Hash: cs.Hash, + } +} diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go120.go b/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go120.go new file mode 100644 index 000000000..f8d59d8bb --- /dev/null +++ b/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go120.go @@ -0,0 +1,6 @@ +//go:build go1.20 +// +build go1.20 + +package qtls + +var _ int = "The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go_oldversion.go b/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go_oldversion.go new file mode 100644 index 000000000..384d719c6 --- /dev/null +++ b/vendor/github.com/lucas-clemente/quic-go/internal/qtls/go_oldversion.go @@ -0,0 +1,7 @@ +//go:build (go1.9 || go1.10 || go1.11 || go1.12 || go1.13 || go1.14 || go1.15) && !go1.16 +// +build go1.9 go1.10 go1.11 go1.12 go1.13 go1.14 go1.15 +// +build !go1.16 + +package qtls + +var _ int = "The version of quic-go you're using can't be built using outdated Go versions. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/wire/extended_header.go b/vendor/github.com/lucas-clemente/quic-go/internal/wire/extended_header.go index b8938acaf..9d9edab25 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/wire/extended_header.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/wire/extended_header.go @@ -127,18 +127,32 @@ func (h *ExtendedHeader) Write(b *bytes.Buffer, ver protocol.VersionNumber) erro return h.writeShortHeader(b, ver) } -func (h *ExtendedHeader) writeLongHeader(b *bytes.Buffer, _ protocol.VersionNumber) error { +func (h *ExtendedHeader) writeLongHeader(b *bytes.Buffer, version protocol.VersionNumber) error { var packetType uint8 - //nolint:exhaustive - switch h.Type { - case protocol.PacketTypeInitial: - packetType = 0x0 - case protocol.PacketType0RTT: - packetType = 0x1 - case protocol.PacketTypeHandshake: - packetType = 0x2 - case protocol.PacketTypeRetry: - packetType = 0x3 + if version == protocol.Version2 { + //nolint:exhaustive + switch h.Type { + case protocol.PacketTypeInitial: + packetType = 0b01 + case protocol.PacketType0RTT: + packetType = 0b10 + case protocol.PacketTypeHandshake: + packetType = 0b11 + case protocol.PacketTypeRetry: + packetType = 0b00 + } + } else { + //nolint:exhaustive + switch h.Type { + case protocol.PacketTypeInitial: + packetType = 0b00 + case protocol.PacketType0RTT: + packetType = 0b01 + case protocol.PacketTypeHandshake: + packetType = 0b10 + case protocol.PacketTypeRetry: + packetType = 0b11 + } } firstByte := 0xc0 | packetType<<4 if h.Type != protocol.PacketTypeRetry { diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/wire/header.go b/vendor/github.com/lucas-clemente/quic-go/internal/wire/header.go index 07ca9f056..f6a31ee0e 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/wire/header.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/wire/header.go @@ -53,10 +53,14 @@ func Is0RTTPacket(b []byte) bool { if b[0]&0x80 == 0 { return false } - if !protocol.IsSupportedVersion(protocol.SupportedVersions, protocol.VersionNumber(binary.BigEndian.Uint32(b[1:5]))) { + version := protocol.VersionNumber(binary.BigEndian.Uint32(b[1:5])) + if !protocol.IsSupportedVersion(protocol.SupportedVersions, version) { return false } - return b[0]&0x30>>4 == 0x1 + if version == protocol.Version2 { + return b[0]>>4&0b11 == 0b10 + } + return b[0]>>4&0b11 == 0b01 } var ErrUnsupportedVersion = errors.New("unsupported version") @@ -179,15 +183,28 @@ func (h *Header) parseLongHeader(b *bytes.Reader) error { return ErrUnsupportedVersion } - switch (h.typeByte & 0x30) >> 4 { - case 0x0: - h.Type = protocol.PacketTypeInitial - case 0x1: - h.Type = protocol.PacketType0RTT - case 0x2: - h.Type = protocol.PacketTypeHandshake - case 0x3: - h.Type = protocol.PacketTypeRetry + if h.Version == protocol.Version2 { + switch h.typeByte >> 4 & 0b11 { + case 0b00: + h.Type = protocol.PacketTypeRetry + case 0b01: + h.Type = protocol.PacketTypeInitial + case 0b10: + h.Type = protocol.PacketType0RTT + case 0b11: + h.Type = protocol.PacketTypeHandshake + } + } else { + switch h.typeByte >> 4 & 0b11 { + case 0b00: + h.Type = protocol.PacketTypeInitial + case 0b01: + h.Type = protocol.PacketType0RTT + case 0b10: + h.Type = protocol.PacketTypeHandshake + case 0b11: + h.Type = protocol.PacketTypeRetry + } } if h.Type == protocol.PacketTypeRetry { diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/wire/transport_parameters.go b/vendor/github.com/lucas-clemente/quic-go/internal/wire/transport_parameters.go index b7e0a8c9d..e1f83cd65 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/wire/transport_parameters.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/wire/transport_parameters.go @@ -42,7 +42,7 @@ const ( activeConnectionIDLimitParameterID transportParameterID = 0xe initialSourceConnectionIDParameterID transportParameterID = 0xf retrySourceConnectionIDParameterID transportParameterID = 0x10 - // https://datatracker.ietf.org/doc/draft-ietf-quic-datagram/ + // RFC 9221 maxDatagramFrameSizeParameterID transportParameterID = 0x20 ) diff --git a/vendor/github.com/lucas-clemente/quic-go/internal/wire/version_negotiation.go b/vendor/github.com/lucas-clemente/quic-go/internal/wire/version_negotiation.go index bcae87d17..196853e0f 100644 --- a/vendor/github.com/lucas-clemente/quic-go/internal/wire/version_negotiation.go +++ b/vendor/github.com/lucas-clemente/quic-go/internal/wire/version_negotiation.go @@ -35,7 +35,7 @@ func ParseVersionNegotiationPacket(b *bytes.Reader) (*Header, []protocol.Version } // ComposeVersionNegotiation composes a Version Negotiation -func ComposeVersionNegotiation(destConnID, srcConnID protocol.ConnectionID, versions []protocol.VersionNumber) ([]byte, error) { +func ComposeVersionNegotiation(destConnID, srcConnID protocol.ConnectionID, versions []protocol.VersionNumber) []byte { greasedVersions := protocol.GetGreasedVersions(versions) expectedLen := 1 /* type byte */ + 4 /* version field */ + 1 /* dest connection ID length field */ + destConnID.Len() + 1 /* src connection ID length field */ + srcConnID.Len() + len(greasedVersions)*4 buf := bytes.NewBuffer(make([]byte, 0, expectedLen)) @@ -50,5 +50,5 @@ func ComposeVersionNegotiation(destConnID, srcConnID protocol.ConnectionID, vers for _, v := range greasedVersions { utils.BigEndian.WriteUint32(buf, uint32(v)) } - return buf.Bytes(), nil + return buf.Bytes() } diff --git a/vendor/github.com/lucas-clemente/quic-go/logging/types.go b/vendor/github.com/lucas-clemente/quic-go/logging/types.go index e18865033..ad8006923 100644 --- a/vendor/github.com/lucas-clemente/quic-go/logging/types.go +++ b/vendor/github.com/lucas-clemente/quic-go/logging/types.go @@ -68,14 +68,14 @@ const ( TimerTypePTO ) -// TimeoutReason is the reason why a session is closed +// TimeoutReason is the reason why a connection is closed type TimeoutReason uint8 const ( - // TimeoutReasonHandshake is used when the session is closed due to a handshake timeout + // TimeoutReasonHandshake is used when the connection is closed due to a handshake timeout // This reason is not defined in the qlog draft, but very useful for debugging. TimeoutReasonHandshake TimeoutReason = iota - // TimeoutReasonIdle is used when the session is closed due to an idle timeout + // TimeoutReasonIdle is used when the connection is closed due to an idle timeout // This reason is not defined in the qlog draft, but very useful for debugging. TimeoutReasonIdle ) @@ -87,7 +87,7 @@ const ( CongestionStateSlowStart CongestionState = iota // CongestionStateCongestionAvoidance is the slow start phase of Reno / Cubic CongestionStateCongestionAvoidance - // CongestionStateCongestionAvoidance is the recovery phase of Reno / Cubic + // CongestionStateRecovery is the recovery phase of Reno / Cubic CongestionStateRecovery // CongestionStateApplicationLimited means that the congestion controller is application limited CongestionStateApplicationLimited diff --git a/vendor/github.com/lucas-clemente/quic-go/mockgen.go b/vendor/github.com/lucas-clemente/quic-go/mockgen.go index 053cfa9ab..22c2c0e74 100644 --- a/vendor/github.com/lucas-clemente/quic-go/mockgen.go +++ b/vendor/github.com/lucas-clemente/quic-go/mockgen.go @@ -16,8 +16,8 @@ package quic //go:generate sh -c "./mockgen_private.sh quic mock_unpacker_test.go github.com/lucas-clemente/quic-go unpacker" //go:generate sh -c "./mockgen_private.sh quic mock_packer_test.go github.com/lucas-clemente/quic-go packer" //go:generate sh -c "./mockgen_private.sh quic mock_mtu_discoverer_test.go github.com/lucas-clemente/quic-go mtuDiscoverer" -//go:generate sh -c "./mockgen_private.sh quic mock_session_runner_test.go github.com/lucas-clemente/quic-go sessionRunner" -//go:generate sh -c "./mockgen_private.sh quic mock_quic_session_test.go github.com/lucas-clemente/quic-go quicSession" +//go:generate sh -c "./mockgen_private.sh quic mock_conn_runner_test.go github.com/lucas-clemente/quic-go connRunner" +//go:generate sh -c "./mockgen_private.sh quic mock_quic_conn_test.go github.com/lucas-clemente/quic-go quicConn" //go:generate sh -c "./mockgen_private.sh quic mock_packet_handler_test.go github.com/lucas-clemente/quic-go packetHandler" //go:generate sh -c "./mockgen_private.sh quic mock_unknown_packet_handler_test.go github.com/lucas-clemente/quic-go unknownPacketHandler" //go:generate sh -c "./mockgen_private.sh quic mock_packet_handler_manager_test.go github.com/lucas-clemente/quic-go packetHandlerManager" diff --git a/vendor/github.com/lucas-clemente/quic-go/mtu_discoverer.go b/vendor/github.com/lucas-clemente/quic-go/mtu_discoverer.go index a5a830219..bf38eaac7 100644 --- a/vendor/github.com/lucas-clemente/quic-go/mtu_discoverer.go +++ b/vendor/github.com/lucas-clemente/quic-go/mtu_discoverer.go @@ -11,7 +11,6 @@ import ( type mtuDiscoverer interface { ShouldSendProbe(now time.Time) bool - NextProbeTime() time.Time GetPing() (ping ackhandler.Frame, datagramSize protocol.ByteCount) } @@ -53,16 +52,7 @@ func (f *mtuFinder) ShouldSendProbe(now time.Time) bool { if f.probeInFlight || f.done() { return false } - return !now.Before(f.NextProbeTime()) -} - -// NextProbeTime returns the time when the next probe packet should be sent. -// It returns the zero value if no probe packet should be sent. -func (f *mtuFinder) NextProbeTime() time.Time { - if f.probeInFlight || f.done() { - return time.Time{} - } - return f.lastProbeTime.Add(mtuProbeDelay * f.rttStats.SmoothedRTT()) + return !now.Before(f.lastProbeTime.Add(mtuProbeDelay * f.rttStats.SmoothedRTT())) } func (f *mtuFinder) GetPing() (ackhandler.Frame, protocol.ByteCount) { diff --git a/vendor/github.com/lucas-clemente/quic-go/multiplexer.go b/vendor/github.com/lucas-clemente/quic-go/multiplexer.go index 006305af1..2271b5517 100644 --- a/vendor/github.com/lucas-clemente/quic-go/multiplexer.go +++ b/vendor/github.com/lucas-clemente/quic-go/multiplexer.go @@ -32,7 +32,7 @@ type connManager struct { } // The connMultiplexer listens on multiple net.PacketConns and dispatches -// incoming packets to the session handler. +// incoming packets to the connection handler. type connMultiplexer struct { mutex sync.Mutex diff --git a/vendor/github.com/lucas-clemente/quic-go/packet_handler_map.go b/vendor/github.com/lucas-clemente/quic-go/packet_handler_map.go index 5b4659d20..2d55a95ef 100644 --- a/vendor/github.com/lucas-clemente/quic-go/packet_handler_map.go +++ b/vendor/github.com/lucas-clemente/quic-go/packet_handler_map.go @@ -7,8 +7,12 @@ import ( "errors" "fmt" "hash" + "io" "log" "net" + "os" + "strconv" + "strings" "sync" "time" @@ -45,6 +49,14 @@ func (h *zeroRTTQueue) Clear() { } } +// rawConn is a connection that allow reading of a receivedPacket. +type rawConn interface { + ReadPacket() (*receivedPacket, error) + WritePacket(b []byte, addr net.Addr, oob []byte) (int, error) + LocalAddr() net.Addr + io.Closer +} + type packetHandlerMapEntry struct { packetHandler packetHandler is0RTTQueue bool @@ -52,12 +64,12 @@ type packetHandlerMapEntry struct { // The packetHandlerMap stores packetHandlers, identified by connection ID. // It is used: -// * by the server to store sessions +// * by the server to store connections // * when multiplexing outgoing connections to store clients type packetHandlerMap struct { mutex sync.Mutex - conn connection + conn rawConn connIDLen int handlers map[string] /* string(ConnectionID)*/ packetHandlerMapEntry @@ -68,8 +80,8 @@ type packetHandlerMap struct { listening chan struct{} // is closed when listen returns closed bool - deleteRetiredSessionsAfter time.Duration - zeroRTTQueueDuration time.Duration + deleteRetiredConnsAfter time.Duration + zeroRTTQueueDuration time.Duration statelessResetEnabled bool statelessResetMutex sync.Mutex @@ -92,6 +104,7 @@ func setReceiveBuffer(c net.PacketConn, logger utils.Logger) error { } if size >= protocol.DesiredReceiveBufferSize { logger.Debugf("Conn has receive buffer of %d kiB (wanted: at least %d kiB)", size/1024, protocol.DesiredReceiveBufferSize/1024) + return nil } if err := conn.SetReadBuffer(protocol.DesiredReceiveBufferSize); err != nil { return fmt.Errorf("failed to increase receive buffer size: %w", err) @@ -110,7 +123,7 @@ func setReceiveBuffer(c net.PacketConn, logger utils.Logger) error { return nil } -// only print warnings about the UPD receive buffer size once +// only print warnings about the UDP receive buffer size once var receiveBufferWarningOnce sync.Once func newPacketHandlerMap( @@ -121,26 +134,31 @@ func newPacketHandlerMap( logger utils.Logger, ) (packetHandlerManager, error) { if err := setReceiveBuffer(c, logger); err != nil { - receiveBufferWarningOnce.Do(func() { - log.Printf("%s. See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.", err) - }) + if !strings.Contains(err.Error(), "use of closed network connection") { + receiveBufferWarningOnce.Do(func() { + if disable, _ := strconv.ParseBool(os.Getenv("QUIC_GO_DISABLE_RECEIVE_BUFFER_WARNING")); disable { + return + } + log.Printf("%s. See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.", err) + }) + } } conn, err := wrapConn(c) if err != nil { return nil, err } m := &packetHandlerMap{ - conn: conn, - connIDLen: connIDLen, - listening: make(chan struct{}), - handlers: make(map[string]packetHandlerMapEntry), - resetTokens: make(map[protocol.StatelessResetToken]packetHandler), - deleteRetiredSessionsAfter: protocol.RetiredConnectionIDDeleteTimeout, - zeroRTTQueueDuration: protocol.Max0RTTQueueingDuration, - statelessResetEnabled: len(statelessResetKey) > 0, - statelessResetHasher: hmac.New(sha256.New, statelessResetKey), - tracer: tracer, - logger: logger, + conn: conn, + connIDLen: connIDLen, + listening: make(chan struct{}), + handlers: make(map[string]packetHandlerMapEntry), + resetTokens: make(map[protocol.StatelessResetToken]packetHandler), + deleteRetiredConnsAfter: protocol.RetiredConnectionIDDeleteTimeout, + zeroRTTQueueDuration: protocol.Max0RTTQueueingDuration, + statelessResetEnabled: len(statelessResetKey) > 0, + statelessResetHasher: hmac.New(sha256.New, statelessResetKey), + tracer: tracer, + logger: logger, } go m.listen() @@ -196,7 +214,7 @@ func (h *packetHandlerMap) AddWithConnID(clientDestConnID, newConnID protocol.Co var q *zeroRTTQueue if entry, ok := h.handlers[string(clientDestConnID)]; ok { if !entry.is0RTTQueue { - h.logger.Debugf("Not adding connection ID %s for a new session, as it already exists.", clientDestConnID) + h.logger.Debugf("Not adding connection ID %s for a new connection, as it already exists.", clientDestConnID) return false } q = entry.packetHandler.(*zeroRTTQueue) @@ -212,7 +230,7 @@ func (h *packetHandlerMap) AddWithConnID(clientDestConnID, newConnID protocol.Co } h.handlers[string(clientDestConnID)] = packetHandlerMapEntry{packetHandler: sess} h.handlers[string(newConnID)] = packetHandlerMapEntry{packetHandler: sess} - h.logger.Debugf("Adding connection IDs %s and %s for a new session.", clientDestConnID, newConnID) + h.logger.Debugf("Adding connection IDs %s and %s for a new connection.", clientDestConnID, newConnID) return true } @@ -224,8 +242,8 @@ func (h *packetHandlerMap) Remove(id protocol.ConnectionID) { } func (h *packetHandlerMap) Retire(id protocol.ConnectionID) { - h.logger.Debugf("Retiring connection ID %s in %s.", id, h.deleteRetiredSessionsAfter) - time.AfterFunc(h.deleteRetiredSessionsAfter, func() { + h.logger.Debugf("Retiring connection ID %s in %s.", id, h.deleteRetiredConnsAfter) + time.AfterFunc(h.deleteRetiredConnsAfter, func() { h.mutex.Lock() delete(h.handlers, string(id)) h.mutex.Unlock() @@ -237,14 +255,14 @@ func (h *packetHandlerMap) ReplaceWithClosed(id protocol.ConnectionID, handler p h.mutex.Lock() h.handlers[string(id)] = packetHandlerMapEntry{packetHandler: handler} h.mutex.Unlock() - h.logger.Debugf("Replacing session for connection ID %s with a closed session.", id) + h.logger.Debugf("Replacing connection for connection ID %s with a closed connection.", id) - time.AfterFunc(h.deleteRetiredSessionsAfter, func() { + time.AfterFunc(h.deleteRetiredConnsAfter, func() { h.mutex.Lock() handler.shutdown() delete(h.handlers, string(id)) h.mutex.Unlock() - h.logger.Debugf("Removing connection ID %s for a closed session after it has been retired.", id) + h.logger.Debugf("Removing connection ID %s for a closed connection after it has been retired.", id) }) } @@ -289,7 +307,7 @@ func (h *packetHandlerMap) CloseServer() { } // Destroy closes the underlying connection and waits until listen() has returned. -// It does not close active sessions. +// It does not close active connections. func (h *packetHandlerMap) Destroy() error { if err := h.conn.Close(); err != nil { return err @@ -327,6 +345,10 @@ func (h *packetHandlerMap) listen() { defer close(h.listening) for { p, err := h.conn.ReadPacket() + //nolint:staticcheck // SA1019 ignore this! + // TODO: This code is used to ignore wsa errors on Windows. + // Since net.Error.Temporary is deprecated as of Go 1.18, we should find a better solution. + // See https://github.com/lucas-clemente/quic-go/issues/1737 for details. if nerr, ok := err.(net.Error); ok && nerr.Temporary() { h.logger.Debugf("Temporary error reading from conn: %w", err) continue @@ -363,7 +385,7 @@ func (h *packetHandlerMap) handlePacket(p *receivedPacket) { entry.packetHandler.handlePacket(p) return } - } else { // existing session + } else { // existing connection entry.packetHandler.handlePacket(p) return } @@ -389,7 +411,7 @@ func (h *packetHandlerMap) handlePacket(p *receivedPacket) { queue.retireTimer = time.AfterFunc(h.zeroRTTQueueDuration, func() { h.mutex.Lock() defer h.mutex.Unlock() - // The entry might have been replaced by an actual session. + // The entry might have been replaced by an actual connection. // Only delete it if it's still a 0-RTT queue. if entry, ok := h.handlers[string(connID)]; ok && entry.is0RTTQueue { delete(h.handlers, string(connID)) @@ -421,7 +443,7 @@ func (h *packetHandlerMap) maybeHandleStatelessReset(data []byte) bool { var token protocol.StatelessResetToken copy(token[:], data[len(data)-16:]) if sess, ok := h.resetTokens[token]; ok { - h.logger.Debugf("Received a stateless reset with token %#x. Closing session.", token) + h.logger.Debugf("Received a stateless reset with token %#x. Closing connection.", token) go sess.destroy(&StatelessResetError{Token: token}) return true } diff --git a/vendor/github.com/lucas-clemente/quic-go/quicvarint/io.go b/vendor/github.com/lucas-clemente/quic-go/quicvarint/io.go index c4d976b57..9368d1c58 100644 --- a/vendor/github.com/lucas-clemente/quic-go/quicvarint/io.go +++ b/vendor/github.com/lucas-clemente/quic-go/quicvarint/io.go @@ -31,7 +31,10 @@ func NewReader(r io.Reader) Reader { func (r *byteReader) ReadByte() (byte, error) { var b [1]byte - _, err := r.Reader.Read(b[:]) + n, err := r.Reader.Read(b[:]) + if n == 1 && err == io.EOF { + err = nil + } return b[0], err } diff --git a/vendor/github.com/lucas-clemente/quic-go/receive_stream.go b/vendor/github.com/lucas-clemente/quic-go/receive_stream.go index f9a1e066f..ae6a449b5 100644 --- a/vendor/github.com/lucas-clemente/quic-go/receive_stream.go +++ b/vendor/github.com/lucas-clemente/quic-go/receive_stream.go @@ -47,6 +47,7 @@ type receiveStream struct { resetRemotely bool // set when HandleResetStreamFrame() is called readChan chan struct{} + readOnce chan struct{} // cap: 1, to protect against concurrent use of Read deadline time.Time flowController flowcontrol.StreamFlowController @@ -70,6 +71,7 @@ func newReceiveStream( flowController: flowController, frameQueue: newFrameSorter(), readChan: make(chan struct{}, 1), + readOnce: make(chan struct{}, 1), finalOffset: protocol.MaxByteCount, version: version, } @@ -81,6 +83,12 @@ func (s *receiveStream) StreamID() protocol.StreamID { // Read implements io.Reader. It is not thread safe! func (s *receiveStream) Read(p []byte) (int, error) { + // Concurrent use of Read is not permitted (and doesn't make any sense), + // but sometimes people do it anyway. + // Make sure that we only execute one call at any given time to avoid hard to debug failures. + s.readOnce <- struct{}{} + defer func() { <-s.readOnce }() + s.mutex.Lock() completed, n, err := s.readImpl(p) s.mutex.Unlock() @@ -105,7 +113,7 @@ func (s *receiveStream) readImpl(p []byte) (bool /*stream completed */, int, err return false, 0, s.closeForShutdownErr } - bytesRead := 0 + var bytesRead int var deadlineTimer *utils.Timer for bytesRead < len(p) { if s.currentFrame == nil || s.readPosInFrame >= len(s.currentFrame) { diff --git a/vendor/github.com/lucas-clemente/quic-go/send_conn.go b/vendor/github.com/lucas-clemente/quic-go/send_conn.go index b276af113..c53ebdfab 100644 --- a/vendor/github.com/lucas-clemente/quic-go/send_conn.go +++ b/vendor/github.com/lucas-clemente/quic-go/send_conn.go @@ -13,7 +13,7 @@ type sendConn interface { } type sconn struct { - connection + rawConn remoteAddr net.Addr info *packetInfo @@ -22,9 +22,9 @@ type sconn struct { var _ sendConn = &sconn{} -func newSendConn(c connection, remote net.Addr, info *packetInfo) sendConn { +func newSendConn(c rawConn, remote net.Addr, info *packetInfo) sendConn { return &sconn{ - connection: c, + rawConn: c, remoteAddr: remote, info: info, oob: info.OOB(), @@ -41,7 +41,7 @@ func (c *sconn) RemoteAddr() net.Addr { } func (c *sconn) LocalAddr() net.Addr { - addr := c.connection.LocalAddr() + addr := c.rawConn.LocalAddr() if c.info != nil { if udpAddr, ok := addr.(*net.UDPAddr); ok { addrCopy := *udpAddr diff --git a/vendor/github.com/lucas-clemente/quic-go/send_queue.go b/vendor/github.com/lucas-clemente/quic-go/send_queue.go index bf25dded6..1fc8c1bf8 100644 --- a/vendor/github.com/lucas-clemente/quic-go/send_queue.go +++ b/vendor/github.com/lucas-clemente/quic-go/send_queue.go @@ -64,7 +64,13 @@ func (h *sendQueue) Run() error { shouldClose = true case p := <-h.queue: if err := h.conn.Write(p.Data); err != nil { - return err + // This additional check enables: + // 1. Checking for "datagram too large" message from the kernel, as such, + // 2. Path MTU discovery,and + // 3. Eventual detection of loss PingFrame. + if !isMsgSizeErr(err) { + return err + } } p.Release() select { diff --git a/vendor/github.com/lucas-clemente/quic-go/send_stream.go b/vendor/github.com/lucas-clemente/quic-go/send_stream.go index 946243ca1..b23df00b3 100644 --- a/vendor/github.com/lucas-clemente/quic-go/send_stream.go +++ b/vendor/github.com/lucas-clemente/quic-go/send_stream.go @@ -50,6 +50,7 @@ type sendStream struct { nextFrame *wire.StreamFrame writeChan chan struct{} + writeOnce chan struct{} deadline time.Time flowController flowcontrol.StreamFlowController @@ -73,6 +74,7 @@ func newSendStream( sender: sender, flowController: flowController, writeChan: make(chan struct{}, 1), + writeOnce: make(chan struct{}, 1), // cap: 1, to protect against concurrent use of Write version: version, } s.ctx, s.ctxCancel = context.WithCancel(context.Background()) @@ -84,6 +86,12 @@ func (s *sendStream) StreamID() protocol.StreamID { } func (s *sendStream) Write(p []byte) (int, error) { + // Concurrent use of Write is not permitted (and doesn't make any sense), + // but sometimes people do it anyway. + // Make sure that we only execute one call at any given time to avoid hard to debug failures. + s.writeOnce <- struct{}{} + defer func() { <-s.writeOnce }() + s.mutex.Lock() defer s.mutex.Unlock() diff --git a/vendor/github.com/lucas-clemente/quic-go/server.go b/vendor/github.com/lucas-clemente/quic-go/server.go index 6ab869c02..0e6429705 100644 --- a/vendor/github.com/lucas-clemente/quic-go/server.go +++ b/vendor/github.com/lucas-clemente/quic-go/server.go @@ -20,6 +20,9 @@ import ( "github.com/lucas-clemente/quic-go/logging" ) +// ErrServerClosed is returned by the Listener or EarlyListener's Accept method after a call to Close. +var ErrServerClosed = errors.New("quic: Server closed") + // packetHandler handles packets type packetHandler interface { handlePacket(*receivedPacket) @@ -36,14 +39,14 @@ type unknownPacketHandler interface { type packetHandlerManager interface { AddWithConnID(protocol.ConnectionID, protocol.ConnectionID, func() packetHandler) bool Destroy() error - sessionRunner + connRunner SetServer(unknownPacketHandler) CloseServer() } -type quicSession interface { - EarlySession - earlySessionReady() <-chan struct{} +type quicConn interface { + EarlyConnection + earlyConnReady() <-chan struct{} handlePacket(*receivedPacket) GetVersion() protocol.VersionNumber getPerspective() protocol.Perspective @@ -56,26 +59,26 @@ type quicSession interface { type baseServer struct { mutex sync.Mutex - acceptEarlySessions bool + acceptEarlyConns bool tlsConf *tls.Config config *Config - conn connection + conn rawConn // If the server is started with ListenAddr, we create a packet conn. // If it is started with Listen, we take a packet conn as a parameter. createdPacketConn bool tokenGenerator *handshake.TokenGenerator - sessionHandler packetHandlerManager + connHandler packetHandlerManager receivedPackets chan *receivedPacket // set as a member, so they can be set in the tests - newSession func( + newConn func( sendConn, - sessionRunner, + connRunner, protocol.ConnectionID, /* original dest connection ID */ *protocol.ConnectionID, /* retry src connection ID */ protocol.ConnectionID, /* client dest connection ID */ @@ -90,15 +93,15 @@ type baseServer struct { uint64, utils.Logger, protocol.VersionNumber, - ) quicSession + ) quicConn serverError error errorChan chan struct{} closed bool running chan struct{} // closed as soon as run() returns - sessionQueue chan quicSession - sessionQueueLen int32 // to be used as an atomic + connQueue chan quicConn + connQueueLen int32 // to be used as an atomic logger utils.Logger } @@ -112,7 +115,7 @@ type earlyServer struct{ *baseServer } var _ EarlyListener = &earlyServer{} -func (s *earlyServer) Accept(ctx context.Context) (EarlySession, error) { +func (s *earlyServer) Accept(ctx context.Context) (EarlyConnection, error) { return s.baseServer.accept(ctx) } @@ -123,7 +126,7 @@ func ListenAddr(addr string, tlsConf *tls.Config, config *Config) (Listener, err return listenAddr(addr, tlsConf, config, false) } -// ListenAddrEarly works like ListenAddr, but it returns sessions before the handshake completes. +// ListenAddrEarly works like ListenAddr, but it returns connections before the handshake completes. func ListenAddrEarly(addr string, tlsConf *tls.Config, config *Config) (EarlyListener, error) { s, err := listenAddr(addr, tlsConf, config, true) if err != nil { @@ -164,7 +167,7 @@ func Listen(conn net.PacketConn, tlsConf *tls.Config, config *Config) (Listener, return listen(conn, tlsConf, config, false) } -// ListenEarly works like Listen, but it returns sessions before the handshake completes. +// ListenEarly works like Listen, but it returns connections before the handshake completes. func ListenEarly(conn net.PacketConn, tlsConf *tls.Config, config *Config) (EarlyListener, error) { s, err := listen(conn, tlsConf, config, true) if err != nil { @@ -187,7 +190,7 @@ func listen(conn net.PacketConn, tlsConf *tls.Config, config *Config, acceptEarl } } - sessionHandler, err := getMultiplexer().AddConn(conn, config.ConnectionIDLength, config.StatelessResetKey, config.Tracer) + connHandler, err := getMultiplexer().AddConn(conn, config.ConnectionIDLength, config.StatelessResetKey, config.Tracer) if err != nil { return nil, err } @@ -200,21 +203,21 @@ func listen(conn net.PacketConn, tlsConf *tls.Config, config *Config, acceptEarl return nil, err } s := &baseServer{ - conn: c, - tlsConf: tlsConf, - config: config, - tokenGenerator: tokenGenerator, - sessionHandler: sessionHandler, - sessionQueue: make(chan quicSession), - errorChan: make(chan struct{}), - running: make(chan struct{}), - receivedPackets: make(chan *receivedPacket, protocol.MaxServerUnprocessedPackets), - newSession: newSession, - logger: utils.DefaultLogger.WithPrefix("server"), - acceptEarlySessions: acceptEarly, + conn: c, + tlsConf: tlsConf, + config: config, + tokenGenerator: tokenGenerator, + connHandler: connHandler, + connQueue: make(chan quicConn), + errorChan: make(chan struct{}), + running: make(chan struct{}), + receivedPackets: make(chan *receivedPacket, protocol.MaxServerUnprocessedPackets), + newConn: newConnection, + logger: utils.DefaultLogger.WithPrefix("server"), + acceptEarlyConns: acceptEarly, } go s.run() - sessionHandler.SetServer(s) + connHandler.SetServer(s) s.logger.Debugf("Listening for %s connections on %s", conn.LocalAddr().Network(), conn.LocalAddr().String()) return s, nil } @@ -258,19 +261,19 @@ var defaultAcceptToken = func(clientAddr net.Addr, token *Token) bool { return sourceAddr == token.RemoteAddr } -// Accept returns sessions that already completed the handshake. -// It is only valid if acceptEarlySessions is false. -func (s *baseServer) Accept(ctx context.Context) (Session, error) { +// Accept returns connections that already completed the handshake. +// It is only valid if acceptEarlyConns is false. +func (s *baseServer) Accept(ctx context.Context) (Connection, error) { return s.accept(ctx) } -func (s *baseServer) accept(ctx context.Context) (quicSession, error) { +func (s *baseServer) accept(ctx context.Context) (quicConn, error) { select { case <-ctx.Done(): return nil, ctx.Err() - case sess := <-s.sessionQueue: - atomic.AddInt32(&s.sessionQueueLen, -1) - return sess, nil + case conn := <-s.connQueue: + atomic.AddInt32(&s.connQueueLen, -1) + return conn, nil case <-s.errorChan: return nil, s.serverError } @@ -284,7 +287,7 @@ func (s *baseServer) Close() error { return nil } if s.serverError == nil { - s.serverError = errors.New("server closed") + s.serverError = ErrServerClosed } // If the server was started with ListenAddr, we created the packet conn. // We need to close it in order to make the go routine reading from that conn return. @@ -294,9 +297,9 @@ func (s *baseServer) Close() error { s.mutex.Unlock() <-s.running - s.sessionHandler.CloseServer() + s.connHandler.CloseServer() if createdPacketConn { - return s.sessionHandler.Destroy() + return s.connHandler.Destroy() } return nil } @@ -336,7 +339,7 @@ func (s *baseServer) handlePacketImpl(p *receivedPacket) bool /* is the buffer s } return false } - // If we're creating a new session, the packet will be passed to the session. + // If we're creating a new connection, the packet will be passed to the connection. // The header will then be parsed again. hdr, _, _, err := wire.ParsePacket(p.data, s.config.ConnectionIDLength) if err != nil && err != wire.ErrUnsupportedVersion { @@ -436,7 +439,7 @@ func (s *baseServer) handleInitialImpl(p *receivedPacket, hdr *wire.Header) erro return nil } - if queueLen := atomic.LoadInt32(&s.sessionQueueLen); queueLen >= protocol.MaxAcceptQueueSize { + if queueLen := atomic.LoadInt32(&s.connQueueLen); queueLen >= protocol.MaxAcceptQueueSize { s.logger.Debugf("Rejecting new connection. Server currently busy. Accept queue length: %d (max %d)", queueLen, protocol.MaxAcceptQueueSize) go func() { defer p.buffer.Release() @@ -452,9 +455,9 @@ func (s *baseServer) handleInitialImpl(p *receivedPacket, hdr *wire.Header) erro return err } s.logger.Debugf("Changing connection ID to %s.", connID) - var sess quicSession - tracingID := nextSessionTracingID() - if added := s.sessionHandler.AddWithConnID(hdr.DestConnectionID, connID, func() packetHandler { + var conn quicConn + tracingID := nextConnTracingID() + if added := s.connHandler.AddWithConnID(hdr.DestConnectionID, connID, func() packetHandler { var tracer logging.ConnectionTracer if s.config.Tracer != nil { // Use the same connection ID that is passed to the client's GetLogWriter callback. @@ -463,74 +466,74 @@ func (s *baseServer) handleInitialImpl(p *receivedPacket, hdr *wire.Header) erro connID = origDestConnID } tracer = s.config.Tracer.TracerForConnection( - context.WithValue(context.Background(), SessionTracingKey, tracingID), + context.WithValue(context.Background(), ConnectionTracingKey, tracingID), protocol.PerspectiveServer, connID, ) } - sess = s.newSession( + conn = s.newConn( newSendConn(s.conn, p.remoteAddr, p.info), - s.sessionHandler, + s.connHandler, origDestConnID, retrySrcConnID, hdr.DestConnectionID, hdr.SrcConnectionID, connID, - s.sessionHandler.GetStatelessResetToken(connID), + s.connHandler.GetStatelessResetToken(connID), s.config, s.tlsConf, s.tokenGenerator, - s.acceptEarlySessions, + s.acceptEarlyConns, tracer, tracingID, s.logger, hdr.Version, ) - sess.handlePacket(p) - return sess + conn.handlePacket(p) + return conn }); !added { return nil } - go sess.run() - go s.handleNewSession(sess) - if sess == nil { + go conn.run() + go s.handleNewConn(conn) + if conn == nil { p.buffer.Release() return nil } return nil } -func (s *baseServer) handleNewSession(sess quicSession) { - sessCtx := sess.Context() - if s.acceptEarlySessions { - // wait until the early session is ready (or the handshake fails) +func (s *baseServer) handleNewConn(conn quicConn) { + connCtx := conn.Context() + if s.acceptEarlyConns { + // wait until the early connection is ready (or the handshake fails) select { - case <-sess.earlySessionReady(): - case <-sessCtx.Done(): + case <-conn.earlyConnReady(): + case <-connCtx.Done(): return } } else { // wait until the handshake is complete (or fails) select { - case <-sess.HandshakeComplete().Done(): - case <-sessCtx.Done(): + case <-conn.HandshakeComplete().Done(): + case <-connCtx.Done(): return } } - atomic.AddInt32(&s.sessionQueueLen, 1) + atomic.AddInt32(&s.connQueueLen, 1) select { - case s.sessionQueue <- sess: - // blocks until the session is accepted - case <-sessCtx.Done(): - atomic.AddInt32(&s.sessionQueueLen, -1) - // don't pass sessions that were already closed to Accept() + case s.connQueue <- conn: + // blocks until the connection is accepted + case <-connCtx.Done(): + atomic.AddInt32(&s.connQueueLen, -1) + // don't pass connections that were already closed to Accept() } } func (s *baseServer) sendRetry(remoteAddr net.Addr, hdr *wire.Header, info *packetInfo) error { // Log the Initial packet now. - // If no Retry is sent, the packet will be logged by the session. + // If no Retry is sent, the packet will be logged by the connection. (&wire.ExtendedHeader{Header: *hdr}).Log(s.logger) srcConnID, err := protocol.GenerateConnectionID(s.config.ConnectionIDLength) if err != nil { @@ -648,11 +651,7 @@ func (s *baseServer) sendError(remoteAddr net.Addr, hdr *wire.Header, sealer han func (s *baseServer) sendVersionNegotiationPacket(p *receivedPacket, hdr *wire.Header) { s.logger.Debugf("Client offered version %s, sending Version Negotiation", hdr.Version) - data, err := wire.ComposeVersionNegotiation(hdr.SrcConnectionID, hdr.DestConnectionID, s.config.Versions) - if err != nil { - s.logger.Debugf("Error composing Version Negotiation: %s", err) - return - } + data := wire.ComposeVersionNegotiation(hdr.SrcConnectionID, hdr.DestConnectionID, s.config.Versions) if s.config.Tracer != nil { s.config.Tracer.SentPacket( p.remoteAddr, diff --git a/vendor/github.com/lucas-clemente/quic-go/conn.go b/vendor/github.com/lucas-clemente/quic-go/sys_conn.go similarity index 64% rename from vendor/github.com/lucas-clemente/quic-go/conn.go rename to vendor/github.com/lucas-clemente/quic-go/sys_conn.go index 2f4e3a239..7cc054658 100644 --- a/vendor/github.com/lucas-clemente/quic-go/conn.go +++ b/vendor/github.com/lucas-clemente/quic-go/sys_conn.go @@ -1,7 +1,6 @@ package quic import ( - "io" "net" "syscall" "time" @@ -10,14 +9,8 @@ import ( "github.com/lucas-clemente/quic-go/internal/utils" ) -type connection interface { - ReadPacket() (*receivedPacket, error) - WritePacket(b []byte, addr net.Addr, oob []byte) (int, error) - LocalAddr() net.Addr - io.Closer -} - -// If the PacketConn passed to Dial or Listen satisfies this interface, quic-go will read the ECN bits from the IP header. +// OOBCapablePacketConn is a connection that allows the reading of ECN bits from the IP header. +// If the PacketConn passed to Dial or Listen satisfies this interface, quic-go will use it. // In this case, ReadMsgUDP() will be used instead of ReadFrom() to read packets. type OOBCapablePacketConn interface { net.PacketConn @@ -28,7 +21,24 @@ type OOBCapablePacketConn interface { var _ OOBCapablePacketConn = &net.UDPConn{} -func wrapConn(pc net.PacketConn) (connection, error) { +func wrapConn(pc net.PacketConn) (rawConn, error) { + conn, ok := pc.(interface { + SyscallConn() (syscall.RawConn, error) + }) + if ok { + rawConn, err := conn.SyscallConn() + if err != nil { + return nil, err + } + + if _, ok := pc.LocalAddr().(*net.UDPAddr); ok { + // Only set DF on sockets that we expect to be able to handle that configuration. + err = setDF(rawConn) + if err != nil { + return nil, err + } + } + } c, ok := pc.(OOBCapablePacketConn) if !ok { utils.DefaultLogger.Infof("PacketConn is not a net.UDPConn. Disabling optimizations possible on UDP connections.") @@ -37,11 +47,16 @@ func wrapConn(pc net.PacketConn) (connection, error) { return newConn(c) } +// The basicConn is the most trivial implementation of a connection. +// It reads a single packet from the underlying net.PacketConn. +// It is used when +// * the net.PacketConn is not a OOBCapablePacketConn, and +// * when the OS doesn't support OOB. type basicConn struct { net.PacketConn } -var _ connection = &basicConn{} +var _ rawConn = &basicConn{} func (c *basicConn) ReadPacket() (*receivedPacket, error) { buffer := getPacketBuffer() diff --git a/vendor/github.com/lucas-clemente/quic-go/sys_conn_df.go b/vendor/github.com/lucas-clemente/quic-go/sys_conn_df.go new file mode 100644 index 000000000..ae9274d97 --- /dev/null +++ b/vendor/github.com/lucas-clemente/quic-go/sys_conn_df.go @@ -0,0 +1,16 @@ +//go:build !linux && !windows +// +build !linux,!windows + +package quic + +import "syscall" + +func setDF(rawConn syscall.RawConn) error { + // no-op on unsupported platforms + return nil +} + +func isMsgSizeErr(err error) bool { + // to be implemented for more specific platforms + return false +} diff --git a/vendor/github.com/lucas-clemente/quic-go/sys_conn_df_linux.go b/vendor/github.com/lucas-clemente/quic-go/sys_conn_df_linux.go new file mode 100644 index 000000000..17ac67f12 --- /dev/null +++ b/vendor/github.com/lucas-clemente/quic-go/sys_conn_df_linux.go @@ -0,0 +1,40 @@ +//go:build linux +// +build linux + +package quic + +import ( + "errors" + "syscall" + + "github.com/lucas-clemente/quic-go/internal/utils" + "golang.org/x/sys/unix" +) + +func setDF(rawConn syscall.RawConn) error { + // Enabling IP_MTU_DISCOVER will force the kernel to return "sendto: message too long" + // and the datagram will not be fragmented + var errDFIPv4, errDFIPv6 error + if err := rawConn.Control(func(fd uintptr) { + errDFIPv4 = unix.SetsockoptInt(int(fd), unix.IPPROTO_IP, unix.IP_MTU_DISCOVER, unix.IP_PMTUDISC_DO) + errDFIPv6 = unix.SetsockoptInt(int(fd), unix.IPPROTO_IPV6, unix.IPV6_MTU_DISCOVER, unix.IPV6_PMTUDISC_DO) + }); err != nil { + return err + } + switch { + case errDFIPv4 == nil && errDFIPv6 == nil: + utils.DefaultLogger.Debugf("Setting DF for IPv4 and IPv6.") + case errDFIPv4 == nil && errDFIPv6 != nil: + utils.DefaultLogger.Debugf("Setting DF for IPv4.") + case errDFIPv4 != nil && errDFIPv6 == nil: + utils.DefaultLogger.Debugf("Setting DF for IPv6.") + case errDFIPv4 != nil && errDFIPv6 != nil: + return errors.New("setting DF failed for both IPv4 and IPv6") + } + return nil +} + +func isMsgSizeErr(err error) bool { + // https://man7.org/linux/man-pages/man7/udp.7.html + return errors.Is(err, unix.EMSGSIZE) +} diff --git a/vendor/github.com/lucas-clemente/quic-go/sys_conn_df_windows.go b/vendor/github.com/lucas-clemente/quic-go/sys_conn_df_windows.go new file mode 100644 index 000000000..4649f6463 --- /dev/null +++ b/vendor/github.com/lucas-clemente/quic-go/sys_conn_df_windows.go @@ -0,0 +1,46 @@ +//go:build windows +// +build windows + +package quic + +import ( + "errors" + "syscall" + + "github.com/lucas-clemente/quic-go/internal/utils" + "golang.org/x/sys/windows" +) + +const ( + // same for both IPv4 and IPv6 on Windows + // https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/Networking/WinSock/constant.IP_DONTFRAG.html + // https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/Networking/WinSock/constant.IPV6_DONTFRAG.html + IP_DONTFRAGMENT = 14 + IPV6_DONTFRAG = 14 +) + +func setDF(rawConn syscall.RawConn) error { + var errDFIPv4, errDFIPv6 error + if err := rawConn.Control(func(fd uintptr) { + errDFIPv4 = windows.SetsockoptInt(windows.Handle(fd), windows.IPPROTO_IP, IP_DONTFRAGMENT, 1) + errDFIPv6 = windows.SetsockoptInt(windows.Handle(fd), windows.IPPROTO_IPV6, IPV6_DONTFRAG, 1) + }); err != nil { + return err + } + switch { + case errDFIPv4 == nil && errDFIPv6 == nil: + utils.DefaultLogger.Debugf("Setting DF for IPv4 and IPv6.") + case errDFIPv4 == nil && errDFIPv6 != nil: + utils.DefaultLogger.Debugf("Setting DF for IPv4.") + case errDFIPv4 != nil && errDFIPv6 == nil: + utils.DefaultLogger.Debugf("Setting DF for IPv6.") + case errDFIPv4 != nil && errDFIPv6 != nil: + return errors.New("setting DF failed for both IPv4 and IPv6") + } + return nil +} + +func isMsgSizeErr(err error) bool { + // https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2 + return errors.Is(err, windows.WSAEMSGSIZE) +} diff --git a/vendor/github.com/lucas-clemente/quic-go/conn_helper_darwin.go b/vendor/github.com/lucas-clemente/quic-go/sys_conn_helper_darwin.go similarity index 81% rename from vendor/github.com/lucas-clemente/quic-go/conn_helper_darwin.go rename to vendor/github.com/lucas-clemente/quic-go/sys_conn_helper_darwin.go index fdab73b61..eabf489f1 100644 --- a/vendor/github.com/lucas-clemente/quic-go/conn_helper_darwin.go +++ b/vendor/github.com/lucas-clemente/quic-go/sys_conn_helper_darwin.go @@ -5,10 +5,7 @@ package quic import "golang.org/x/sys/unix" -const ( - msgTypeIPTOS = unix.IP_RECVTOS - disablePathMTUDiscovery = false -) +const msgTypeIPTOS = unix.IP_RECVTOS const ( ipv4RECVPKTINFO = unix.IP_RECVPKTINFO diff --git a/vendor/github.com/lucas-clemente/quic-go/conn_helper_freebsd.go b/vendor/github.com/lucas-clemente/quic-go/sys_conn_helper_freebsd.go similarity index 75% rename from vendor/github.com/lucas-clemente/quic-go/conn_helper_freebsd.go rename to vendor/github.com/lucas-clemente/quic-go/sys_conn_helper_freebsd.go index e22f98612..0b3e8434b 100644 --- a/vendor/github.com/lucas-clemente/quic-go/conn_helper_freebsd.go +++ b/vendor/github.com/lucas-clemente/quic-go/sys_conn_helper_freebsd.go @@ -6,8 +6,7 @@ package quic import "golang.org/x/sys/unix" const ( - msgTypeIPTOS = unix.IP_RECVTOS - disablePathMTUDiscovery = false + msgTypeIPTOS = unix.IP_RECVTOS ) const ( diff --git a/vendor/github.com/lucas-clemente/quic-go/conn_helper_linux.go b/vendor/github.com/lucas-clemente/quic-go/sys_conn_helper_linux.go similarity index 81% rename from vendor/github.com/lucas-clemente/quic-go/conn_helper_linux.go rename to vendor/github.com/lucas-clemente/quic-go/sys_conn_helper_linux.go index 4aa04dc9c..51bec9002 100644 --- a/vendor/github.com/lucas-clemente/quic-go/conn_helper_linux.go +++ b/vendor/github.com/lucas-clemente/quic-go/sys_conn_helper_linux.go @@ -5,10 +5,7 @@ package quic import "golang.org/x/sys/unix" -const ( - msgTypeIPTOS = unix.IP_TOS - disablePathMTUDiscovery = false -) +const msgTypeIPTOS = unix.IP_TOS const ( ipv4RECVPKTINFO = unix.IP_PKTINFO diff --git a/vendor/github.com/lucas-clemente/quic-go/conn_generic.go b/vendor/github.com/lucas-clemente/quic-go/sys_conn_no_oob.go similarity index 75% rename from vendor/github.com/lucas-clemente/quic-go/conn_generic.go rename to vendor/github.com/lucas-clemente/quic-go/sys_conn_no_oob.go index 526778c1c..e3b0d11f6 100644 --- a/vendor/github.com/lucas-clemente/quic-go/conn_generic.go +++ b/vendor/github.com/lucas-clemente/quic-go/sys_conn_no_oob.go @@ -5,9 +5,7 @@ package quic import "net" -const disablePathMTUDiscovery = false - -func newConn(c net.PacketConn) (connection, error) { +func newConn(c net.PacketConn) (rawConn, error) { return &basicConn{PacketConn: c}, nil } diff --git a/vendor/github.com/lucas-clemente/quic-go/conn_oob.go b/vendor/github.com/lucas-clemente/quic-go/sys_conn_oob.go similarity index 99% rename from vendor/github.com/lucas-clemente/quic-go/conn_oob.go rename to vendor/github.com/lucas-clemente/quic-go/sys_conn_oob.go index b46781377..acd74d023 100644 --- a/vendor/github.com/lucas-clemente/quic-go/conn_oob.go +++ b/vendor/github.com/lucas-clemente/quic-go/sys_conn_oob.go @@ -64,7 +64,7 @@ type oobConn struct { buffers [batchSize]*packetBuffer } -var _ connection = &oobConn{} +var _ rawConn = &oobConn{} func newConn(c OOBCapablePacketConn) (*oobConn, error) { rawConn, err := c.SyscallConn() diff --git a/vendor/github.com/lucas-clemente/quic-go/conn_windows.go b/vendor/github.com/lucas-clemente/quic-go/sys_conn_windows.go similarity index 56% rename from vendor/github.com/lucas-clemente/quic-go/conn_windows.go rename to vendor/github.com/lucas-clemente/quic-go/sys_conn_windows.go index a6e591b62..f2cc22ab7 100644 --- a/vendor/github.com/lucas-clemente/quic-go/conn_windows.go +++ b/vendor/github.com/lucas-clemente/quic-go/sys_conn_windows.go @@ -12,24 +12,7 @@ import ( "golang.org/x/sys/windows" ) -const ( - disablePathMTUDiscovery = true - IP_DONTFRAGMENT = 14 -) - -func newConn(c OOBCapablePacketConn) (connection, error) { - rawConn, err := c.SyscallConn() - if err != nil { - return nil, fmt.Errorf("couldn't get syscall.RawConn: %w", err) - } - if err := rawConn.Control(func(fd uintptr) { - // This should succeed if the connection is a IPv4 or a dual-stack connection. - // It will fail for IPv6 connections. - // TODO: properly handle error. - _ = windows.SetsockoptInt(windows.Handle(fd), windows.IPPROTO_IP, IP_DONTFRAGMENT, 1) - }); err != nil { - return nil, err - } +func newConn(c OOBCapablePacketConn) (rawConn, error) { return &basicConn{PacketConn: c}, nil } diff --git a/vendor/github.com/marten-seemann/qtls-go1-16/common.go b/vendor/github.com/marten-seemann/qtls-go1-16/common.go index 9d07e1759..266f93fef 100644 --- a/vendor/github.com/marten-seemann/qtls-go1-16/common.go +++ b/vendor/github.com/marten-seemann/qtls-go1-16/common.go @@ -20,13 +20,10 @@ import ( "fmt" "io" "net" - "runtime" "sort" "strings" "sync" "time" - - "golang.org/x/sys/cpu" ) const ( @@ -1463,17 +1460,6 @@ func defaultCipherSuitesTLS13() []uint16 { return varDefaultCipherSuitesTLS13 } -var ( - hasGCMAsmAMD64 = cpu.X86.HasAES && cpu.X86.HasPCLMULQDQ - hasGCMAsmARM64 = cpu.ARM64.HasAES && cpu.ARM64.HasPMULL - // Keep in sync with crypto/aes/cipher_s390x.go. - hasGCMAsmS390X = cpu.S390X.HasAES && cpu.S390X.HasAESCBC && cpu.S390X.HasAESCTR && (cpu.S390X.HasGHASH || cpu.S390X.HasAESGCM) - - hasAESGCMHardwareSupport = runtime.GOARCH == "amd64" && hasGCMAsmAMD64 || - runtime.GOARCH == "arm64" && hasGCMAsmARM64 || - runtime.GOARCH == "s390x" && hasGCMAsmS390X -) - func initDefaultCipherSuites() { var topCipherSuites []uint16 diff --git a/vendor/github.com/marten-seemann/qtls-go1-16/common_js.go b/vendor/github.com/marten-seemann/qtls-go1-16/common_js.go new file mode 100644 index 000000000..97e6ecefd --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-16/common_js.go @@ -0,0 +1,12 @@ +// +build js + +package qtls + +var ( + hasGCMAsmAMD64 = false + hasGCMAsmARM64 = false + // Keep in sync with crypto/aes/cipher_s390x.go. + hasGCMAsmS390X = false + + hasAESGCMHardwareSupport = false +) diff --git a/vendor/github.com/marten-seemann/qtls-go1-16/common_nojs.go b/vendor/github.com/marten-seemann/qtls-go1-16/common_nojs.go new file mode 100644 index 000000000..5e56e0fb3 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-16/common_nojs.go @@ -0,0 +1,20 @@ +// +build !js + +package qtls + +import ( + "runtime" + + "golang.org/x/sys/cpu" +) + +var ( + hasGCMAsmAMD64 = cpu.X86.HasAES && cpu.X86.HasPCLMULQDQ + hasGCMAsmARM64 = cpu.ARM64.HasAES && cpu.ARM64.HasPMULL + // Keep in sync with crypto/aes/cipher_s390x.go. + hasGCMAsmS390X = cpu.S390X.HasAES && cpu.S390X.HasAESCBC && cpu.S390X.HasAESCTR && (cpu.S390X.HasGHASH || cpu.S390X.HasAESGCM) + + hasAESGCMHardwareSupport = runtime.GOARCH == "amd64" && hasGCMAsmAMD64 || + runtime.GOARCH == "arm64" && hasGCMAsmARM64 || + runtime.GOARCH == "s390x" && hasGCMAsmS390X +) diff --git a/vendor/github.com/marten-seemann/qtls-go1-17/cipher_suites.go b/vendor/github.com/marten-seemann/qtls-go1-17/cipher_suites.go index f28466422..53a3956aa 100644 --- a/vendor/github.com/marten-seemann/qtls-go1-17/cipher_suites.go +++ b/vendor/github.com/marten-seemann/qtls-go1-17/cipher_suites.go @@ -15,10 +15,8 @@ import ( "crypto/sha256" "fmt" "hash" - "runtime" "golang.org/x/crypto/chacha20poly1305" - "golang.org/x/sys/cpu" ) // CipherSuite is a TLS cipher suite. Note that most functions in this package @@ -365,18 +363,6 @@ var defaultCipherSuitesTLS13NoAES = []uint16{ TLS_AES_256_GCM_SHA384, } -var ( - hasGCMAsmAMD64 = cpu.X86.HasAES && cpu.X86.HasPCLMULQDQ - hasGCMAsmARM64 = cpu.ARM64.HasAES && cpu.ARM64.HasPMULL - // Keep in sync with crypto/aes/cipher_s390x.go. - hasGCMAsmS390X = cpu.S390X.HasAES && cpu.S390X.HasAESCBC && cpu.S390X.HasAESCTR && - (cpu.S390X.HasGHASH || cpu.S390X.HasAESGCM) - - hasAESGCMHardwareSupport = runtime.GOARCH == "amd64" && hasGCMAsmAMD64 || - runtime.GOARCH == "arm64" && hasGCMAsmARM64 || - runtime.GOARCH == "s390x" && hasGCMAsmS390X -) - var aesgcmCiphers = map[uint16]bool{ // TLS 1.2 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: true, diff --git a/vendor/github.com/marten-seemann/qtls-go1-17/conn.go b/vendor/github.com/marten-seemann/qtls-go1-17/conn.go index b86bb66a3..70fad4652 100644 --- a/vendor/github.com/marten-seemann/qtls-go1-17/conn.go +++ b/vendor/github.com/marten-seemann/qtls-go1-17/conn.go @@ -32,6 +32,7 @@ type Conn struct { // handshakeStatus is 1 if the connection is currently transferring // application data (i.e. is not currently processing a handshake). + // handshakeStatus == 1 implies handshakeErr == nil. // This field is only to be accessed with sync/atomic. handshakeStatus uint32 // constant after handshake; protected by handshakeMutex @@ -1451,6 +1452,13 @@ func (c *Conn) HandshakeContext(ctx context.Context) error { } func (c *Conn) handshakeContext(ctx context.Context) (ret error) { + // Fast sync/atomic-based exit if there is no handshake in flight and the + // last one succeeded without an error. Avoids the expensive context setup + // and mutex for most Read and Write calls. + if c.handshakeComplete() { + return nil + } + handshakeCtx, cancel := context.WithCancel(ctx) // Note: defer this before starting the "interrupter" goroutine // so that we can tell the difference between the input being canceled and @@ -1509,6 +1517,9 @@ func (c *Conn) handshakeContext(ctx context.Context) (ret error) { if c.handshakeErr == nil && !c.handshakeComplete() { c.handshakeErr = errors.New("tls: internal error: handshake should have had a result") } + if c.handshakeErr != nil && c.handshakeComplete() { + panic("tls: internal error: handshake returned an error but is marked successful") + } return c.handshakeErr } diff --git a/vendor/github.com/marten-seemann/qtls-go1-17/cpu.go b/vendor/github.com/marten-seemann/qtls-go1-17/cpu.go new file mode 100644 index 000000000..121945087 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-17/cpu.go @@ -0,0 +1,22 @@ +//go:build !js +// +build !js + +package qtls + +import ( + "runtime" + + "golang.org/x/sys/cpu" +) + +var ( + hasGCMAsmAMD64 = cpu.X86.HasAES && cpu.X86.HasPCLMULQDQ + hasGCMAsmARM64 = cpu.ARM64.HasAES && cpu.ARM64.HasPMULL + // Keep in sync with crypto/aes/cipher_s390x.go. + hasGCMAsmS390X = cpu.S390X.HasAES && cpu.S390X.HasAESCBC && cpu.S390X.HasAESCTR && + (cpu.S390X.HasGHASH || cpu.S390X.HasAESGCM) + + hasAESGCMHardwareSupport = runtime.GOARCH == "amd64" && hasGCMAsmAMD64 || + runtime.GOARCH == "arm64" && hasGCMAsmARM64 || + runtime.GOARCH == "s390x" && hasGCMAsmS390X +) diff --git a/vendor/github.com/marten-seemann/qtls-go1-17/cpu_other.go b/vendor/github.com/marten-seemann/qtls-go1-17/cpu_other.go new file mode 100644 index 000000000..33f7d2194 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-17/cpu_other.go @@ -0,0 +1,12 @@ +//go:build js +// +build js + +package qtls + +var ( + hasGCMAsmAMD64 = false + hasGCMAsmARM64 = false + hasGCMAsmS390X = false + + hasAESGCMHardwareSupport = false +) diff --git a/vendor/github.com/marten-seemann/qtls-go1-17/handshake_server_tls13.go b/vendor/github.com/marten-seemann/qtls-go1-17/handshake_server_tls13.go index ee2ce93de..0c200605e 100644 --- a/vendor/github.com/marten-seemann/qtls-go1-17/handshake_server_tls13.go +++ b/vendor/github.com/marten-seemann/qtls-go1-17/handshake_server_tls13.go @@ -777,6 +777,7 @@ func (hs *serverHandshakeStateTLS13) sendSessionTickets() error { if err != nil { return err } + if _, err := c.writeRecord(recordTypeHandshake, m.marshal()); err != nil { return err } diff --git a/vendor/github.com/marten-seemann/qtls-go1-17/ticket.go b/vendor/github.com/marten-seemann/qtls-go1-17/ticket.go index 006b8c1de..81e8a52ea 100644 --- a/vendor/github.com/marten-seemann/qtls-go1-17/ticket.go +++ b/vendor/github.com/marten-seemann/qtls-go1-17/ticket.go @@ -11,6 +11,7 @@ import ( "crypto/hmac" "crypto/sha256" "crypto/subtle" + "encoding/binary" "errors" "io" "time" @@ -232,6 +233,20 @@ func (c *Conn) getSessionTicketMsg(appData []byte) (*newSessionTicketMsgTLS13, e return nil, err } m.lifetime = uint32(maxSessionTicketLifetime / time.Second) + + // ticket_age_add is a random 32-bit value. See RFC 8446, section 4.6.1 + // The value is not stored anywhere; we never need to check the ticket age + // because 0-RTT is not supported. + ageAdd := make([]byte, 4) + _, err = c.config.rand().Read(ageAdd) + if err != nil { + return nil, err + } + m.ageAdd = binary.LittleEndian.Uint32(ageAdd) + + // ticket_nonce, which must be unique per connection, is always left at + // zero because we only ever send one ticket per connection. + if c.extraConfig != nil { m.maxEarlyData = c.extraConfig.MaxEarlyData } diff --git a/vendor/github.com/marten-seemann/qtls-go1-18/cipher_suites.go b/vendor/github.com/marten-seemann/qtls-go1-18/cipher_suites.go index 2071cebf4..e0be51474 100644 --- a/vendor/github.com/marten-seemann/qtls-go1-18/cipher_suites.go +++ b/vendor/github.com/marten-seemann/qtls-go1-18/cipher_suites.go @@ -15,10 +15,8 @@ import ( "crypto/sha256" "fmt" "hash" - "runtime" "golang.org/x/crypto/chacha20poly1305" - "golang.org/x/sys/cpu" ) // CipherSuite is a TLS cipher suite. Note that most functions in this package @@ -365,18 +363,6 @@ var defaultCipherSuitesTLS13NoAES = []uint16{ TLS_AES_256_GCM_SHA384, } -var ( - hasGCMAsmAMD64 = cpu.X86.HasAES && cpu.X86.HasPCLMULQDQ - hasGCMAsmARM64 = cpu.ARM64.HasAES && cpu.ARM64.HasPMULL - // Keep in sync with crypto/aes/cipher_s390x.go. - hasGCMAsmS390X = cpu.S390X.HasAES && cpu.S390X.HasAESCBC && cpu.S390X.HasAESCTR && - (cpu.S390X.HasGHASH || cpu.S390X.HasAESGCM) - - hasAESGCMHardwareSupport = runtime.GOARCH == "amd64" && hasGCMAsmAMD64 || - runtime.GOARCH == "arm64" && hasGCMAsmARM64 || - runtime.GOARCH == "s390x" && hasGCMAsmS390X -) - var aesgcmCiphers = map[uint16]bool{ // TLS 1.2 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: true, diff --git a/vendor/github.com/marten-seemann/qtls-go1-18/conn.go b/vendor/github.com/marten-seemann/qtls-go1-18/conn.go index 31a87b59d..90a27b5dd 100644 --- a/vendor/github.com/marten-seemann/qtls-go1-18/conn.go +++ b/vendor/github.com/marten-seemann/qtls-go1-18/conn.go @@ -32,6 +32,7 @@ type Conn struct { // handshakeStatus is 1 if the connection is currently transferring // application data (i.e. is not currently processing a handshake). + // handshakeStatus == 1 implies handshakeErr == nil. // This field is only to be accessed with sync/atomic. handshakeStatus uint32 // constant after handshake; protected by handshakeMutex @@ -1458,6 +1459,13 @@ func (c *Conn) HandshakeContext(ctx context.Context) error { } func (c *Conn) handshakeContext(ctx context.Context) (ret error) { + // Fast sync/atomic-based exit if there is no handshake in flight and the + // last one succeeded without an error. Avoids the expensive context setup + // and mutex for most Read and Write calls. + if c.handshakeComplete() { + return nil + } + handshakeCtx, cancel := context.WithCancel(ctx) // Note: defer this before starting the "interrupter" goroutine // so that we can tell the difference between the input being canceled and @@ -1516,6 +1524,9 @@ func (c *Conn) handshakeContext(ctx context.Context) (ret error) { if c.handshakeErr == nil && !c.handshakeComplete() { c.handshakeErr = errors.New("tls: internal error: handshake should have had a result") } + if c.handshakeErr != nil && c.handshakeComplete() { + panic("tls: internal error: handshake returned an error but is marked successful") + } return c.handshakeErr } diff --git a/vendor/github.com/marten-seemann/qtls-go1-18/cpu.go b/vendor/github.com/marten-seemann/qtls-go1-18/cpu.go new file mode 100644 index 000000000..121945087 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-18/cpu.go @@ -0,0 +1,22 @@ +//go:build !js +// +build !js + +package qtls + +import ( + "runtime" + + "golang.org/x/sys/cpu" +) + +var ( + hasGCMAsmAMD64 = cpu.X86.HasAES && cpu.X86.HasPCLMULQDQ + hasGCMAsmARM64 = cpu.ARM64.HasAES && cpu.ARM64.HasPMULL + // Keep in sync with crypto/aes/cipher_s390x.go. + hasGCMAsmS390X = cpu.S390X.HasAES && cpu.S390X.HasAESCBC && cpu.S390X.HasAESCTR && + (cpu.S390X.HasGHASH || cpu.S390X.HasAESGCM) + + hasAESGCMHardwareSupport = runtime.GOARCH == "amd64" && hasGCMAsmAMD64 || + runtime.GOARCH == "arm64" && hasGCMAsmARM64 || + runtime.GOARCH == "s390x" && hasGCMAsmS390X +) diff --git a/vendor/github.com/marten-seemann/qtls-go1-18/cpu_other.go b/vendor/github.com/marten-seemann/qtls-go1-18/cpu_other.go new file mode 100644 index 000000000..33f7d2194 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-18/cpu_other.go @@ -0,0 +1,12 @@ +//go:build js +// +build js + +package qtls + +var ( + hasGCMAsmAMD64 = false + hasGCMAsmARM64 = false + hasGCMAsmS390X = false + + hasAESGCMHardwareSupport = false +) diff --git a/vendor/github.com/marten-seemann/qtls-go1-18/handshake_server_tls13.go b/vendor/github.com/marten-seemann/qtls-go1-18/handshake_server_tls13.go index d26deb8f0..dd8d801e6 100644 --- a/vendor/github.com/marten-seemann/qtls-go1-18/handshake_server_tls13.go +++ b/vendor/github.com/marten-seemann/qtls-go1-18/handshake_server_tls13.go @@ -777,6 +777,7 @@ func (hs *serverHandshakeStateTLS13) sendSessionTickets() error { if err != nil { return err } + if _, err := c.writeRecord(recordTypeHandshake, m.marshal()); err != nil { return err } diff --git a/vendor/github.com/marten-seemann/qtls-go1-18/ticket.go b/vendor/github.com/marten-seemann/qtls-go1-18/ticket.go index 006b8c1de..81e8a52ea 100644 --- a/vendor/github.com/marten-seemann/qtls-go1-18/ticket.go +++ b/vendor/github.com/marten-seemann/qtls-go1-18/ticket.go @@ -11,6 +11,7 @@ import ( "crypto/hmac" "crypto/sha256" "crypto/subtle" + "encoding/binary" "errors" "io" "time" @@ -232,6 +233,20 @@ func (c *Conn) getSessionTicketMsg(appData []byte) (*newSessionTicketMsgTLS13, e return nil, err } m.lifetime = uint32(maxSessionTicketLifetime / time.Second) + + // ticket_age_add is a random 32-bit value. See RFC 8446, section 4.6.1 + // The value is not stored anywhere; we never need to check the ticket age + // because 0-RTT is not supported. + ageAdd := make([]byte, 4) + _, err = c.config.rand().Read(ageAdd) + if err != nil { + return nil, err + } + m.ageAdd = binary.LittleEndian.Uint32(ageAdd) + + // ticket_nonce, which must be unique per connection, is always left at + // zero because we only ever send one ticket per connection. + if c.extraConfig != nil { m.maxEarlyData = c.extraConfig.MaxEarlyData } diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/LICENSE b/vendor/github.com/marten-seemann/qtls-go1-19/LICENSE new file mode 100644 index 000000000..6a66aea5e --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/LICENSE @@ -0,0 +1,27 @@ +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/README.md b/vendor/github.com/marten-seemann/qtls-go1-19/README.md new file mode 100644 index 000000000..3e9022127 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/README.md @@ -0,0 +1,6 @@ +# qtls + +[![Go Reference](https://pkg.go.dev/badge/github.com/marten-seemann/qtls-go1-17.svg)](https://pkg.go.dev/github.com/marten-seemann/qtls-go1-17) +[![.github/workflows/go-test.yml](https://github.com/marten-seemann/qtls-go1-17/actions/workflows/go-test.yml/badge.svg)](https://github.com/marten-seemann/qtls-go1-17/actions/workflows/go-test.yml) + +This repository contains a modified version of the standard library's TLS implementation, modified for the QUIC protocol. It is used by [quic-go](https://github.com/lucas-clemente/quic-go). diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/alert.go b/vendor/github.com/marten-seemann/qtls-go1-19/alert.go new file mode 100644 index 000000000..3feac79be --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/alert.go @@ -0,0 +1,102 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import "strconv" + +type alert uint8 + +// Alert is a TLS alert +type Alert = alert + +const ( + // alert level + alertLevelWarning = 1 + alertLevelError = 2 +) + +const ( + alertCloseNotify alert = 0 + alertUnexpectedMessage alert = 10 + alertBadRecordMAC alert = 20 + alertDecryptionFailed alert = 21 + alertRecordOverflow alert = 22 + alertDecompressionFailure alert = 30 + alertHandshakeFailure alert = 40 + alertBadCertificate alert = 42 + alertUnsupportedCertificate alert = 43 + alertCertificateRevoked alert = 44 + alertCertificateExpired alert = 45 + alertCertificateUnknown alert = 46 + alertIllegalParameter alert = 47 + alertUnknownCA alert = 48 + alertAccessDenied alert = 49 + alertDecodeError alert = 50 + alertDecryptError alert = 51 + alertExportRestriction alert = 60 + alertProtocolVersion alert = 70 + alertInsufficientSecurity alert = 71 + alertInternalError alert = 80 + alertInappropriateFallback alert = 86 + alertUserCanceled alert = 90 + alertNoRenegotiation alert = 100 + alertMissingExtension alert = 109 + alertUnsupportedExtension alert = 110 + alertCertificateUnobtainable alert = 111 + alertUnrecognizedName alert = 112 + alertBadCertificateStatusResponse alert = 113 + alertBadCertificateHashValue alert = 114 + alertUnknownPSKIdentity alert = 115 + alertCertificateRequired alert = 116 + alertNoApplicationProtocol alert = 120 +) + +var alertText = map[alert]string{ + alertCloseNotify: "close notify", + alertUnexpectedMessage: "unexpected message", + alertBadRecordMAC: "bad record MAC", + alertDecryptionFailed: "decryption failed", + alertRecordOverflow: "record overflow", + alertDecompressionFailure: "decompression failure", + alertHandshakeFailure: "handshake failure", + alertBadCertificate: "bad certificate", + alertUnsupportedCertificate: "unsupported certificate", + alertCertificateRevoked: "revoked certificate", + alertCertificateExpired: "expired certificate", + alertCertificateUnknown: "unknown certificate", + alertIllegalParameter: "illegal parameter", + alertUnknownCA: "unknown certificate authority", + alertAccessDenied: "access denied", + alertDecodeError: "error decoding message", + alertDecryptError: "error decrypting message", + alertExportRestriction: "export restriction", + alertProtocolVersion: "protocol version not supported", + alertInsufficientSecurity: "insufficient security level", + alertInternalError: "internal error", + alertInappropriateFallback: "inappropriate fallback", + alertUserCanceled: "user canceled", + alertNoRenegotiation: "no renegotiation", + alertMissingExtension: "missing extension", + alertUnsupportedExtension: "unsupported extension", + alertCertificateUnobtainable: "certificate unobtainable", + alertUnrecognizedName: "unrecognized name", + alertBadCertificateStatusResponse: "bad certificate status response", + alertBadCertificateHashValue: "bad certificate hash value", + alertUnknownPSKIdentity: "unknown PSK identity", + alertCertificateRequired: "certificate required", + alertNoApplicationProtocol: "no application protocol", +} + +func (e alert) String() string { + s, ok := alertText[e] + if ok { + return "tls: " + s + } + return "tls: alert(" + strconv.Itoa(int(e)) + ")" +} + +func (e alert) Error() string { + return e.String() +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/auth.go b/vendor/github.com/marten-seemann/qtls-go1-19/auth.go new file mode 100644 index 000000000..effc9aced --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/auth.go @@ -0,0 +1,293 @@ +// Copyright 2017 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import ( + "bytes" + "crypto" + "crypto/ecdsa" + "crypto/ed25519" + "crypto/elliptic" + "crypto/rsa" + "errors" + "fmt" + "hash" + "io" +) + +// verifyHandshakeSignature verifies a signature against pre-hashed +// (if required) handshake contents. +func verifyHandshakeSignature(sigType uint8, pubkey crypto.PublicKey, hashFunc crypto.Hash, signed, sig []byte) error { + switch sigType { + case signatureECDSA: + pubKey, ok := pubkey.(*ecdsa.PublicKey) + if !ok { + return fmt.Errorf("expected an ECDSA public key, got %T", pubkey) + } + if !ecdsa.VerifyASN1(pubKey, signed, sig) { + return errors.New("ECDSA verification failure") + } + case signatureEd25519: + pubKey, ok := pubkey.(ed25519.PublicKey) + if !ok { + return fmt.Errorf("expected an Ed25519 public key, got %T", pubkey) + } + if !ed25519.Verify(pubKey, signed, sig) { + return errors.New("Ed25519 verification failure") + } + case signaturePKCS1v15: + pubKey, ok := pubkey.(*rsa.PublicKey) + if !ok { + return fmt.Errorf("expected an RSA public key, got %T", pubkey) + } + if err := rsa.VerifyPKCS1v15(pubKey, hashFunc, signed, sig); err != nil { + return err + } + case signatureRSAPSS: + pubKey, ok := pubkey.(*rsa.PublicKey) + if !ok { + return fmt.Errorf("expected an RSA public key, got %T", pubkey) + } + signOpts := &rsa.PSSOptions{SaltLength: rsa.PSSSaltLengthEqualsHash} + if err := rsa.VerifyPSS(pubKey, hashFunc, signed, sig, signOpts); err != nil { + return err + } + default: + return errors.New("internal error: unknown signature type") + } + return nil +} + +const ( + serverSignatureContext = "TLS 1.3, server CertificateVerify\x00" + clientSignatureContext = "TLS 1.3, client CertificateVerify\x00" +) + +var signaturePadding = []byte{ + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +} + +// signedMessage returns the pre-hashed (if necessary) message to be signed by +// certificate keys in TLS 1.3. See RFC 8446, Section 4.4.3. +func signedMessage(sigHash crypto.Hash, context string, transcript hash.Hash) []byte { + if sigHash == directSigning { + b := &bytes.Buffer{} + b.Write(signaturePadding) + io.WriteString(b, context) + b.Write(transcript.Sum(nil)) + return b.Bytes() + } + h := sigHash.New() + h.Write(signaturePadding) + io.WriteString(h, context) + h.Write(transcript.Sum(nil)) + return h.Sum(nil) +} + +// typeAndHashFromSignatureScheme returns the corresponding signature type and +// crypto.Hash for a given TLS SignatureScheme. +func typeAndHashFromSignatureScheme(signatureAlgorithm SignatureScheme) (sigType uint8, hash crypto.Hash, err error) { + switch signatureAlgorithm { + case PKCS1WithSHA1, PKCS1WithSHA256, PKCS1WithSHA384, PKCS1WithSHA512: + sigType = signaturePKCS1v15 + case PSSWithSHA256, PSSWithSHA384, PSSWithSHA512: + sigType = signatureRSAPSS + case ECDSAWithSHA1, ECDSAWithP256AndSHA256, ECDSAWithP384AndSHA384, ECDSAWithP521AndSHA512: + sigType = signatureECDSA + case Ed25519: + sigType = signatureEd25519 + default: + return 0, 0, fmt.Errorf("unsupported signature algorithm: %v", signatureAlgorithm) + } + switch signatureAlgorithm { + case PKCS1WithSHA1, ECDSAWithSHA1: + hash = crypto.SHA1 + case PKCS1WithSHA256, PSSWithSHA256, ECDSAWithP256AndSHA256: + hash = crypto.SHA256 + case PKCS1WithSHA384, PSSWithSHA384, ECDSAWithP384AndSHA384: + hash = crypto.SHA384 + case PKCS1WithSHA512, PSSWithSHA512, ECDSAWithP521AndSHA512: + hash = crypto.SHA512 + case Ed25519: + hash = directSigning + default: + return 0, 0, fmt.Errorf("unsupported signature algorithm: %v", signatureAlgorithm) + } + return sigType, hash, nil +} + +// legacyTypeAndHashFromPublicKey returns the fixed signature type and crypto.Hash for +// a given public key used with TLS 1.0 and 1.1, before the introduction of +// signature algorithm negotiation. +func legacyTypeAndHashFromPublicKey(pub crypto.PublicKey) (sigType uint8, hash crypto.Hash, err error) { + switch pub.(type) { + case *rsa.PublicKey: + return signaturePKCS1v15, crypto.MD5SHA1, nil + case *ecdsa.PublicKey: + return signatureECDSA, crypto.SHA1, nil + case ed25519.PublicKey: + // RFC 8422 specifies support for Ed25519 in TLS 1.0 and 1.1, + // but it requires holding on to a handshake transcript to do a + // full signature, and not even OpenSSL bothers with the + // complexity, so we can't even test it properly. + return 0, 0, fmt.Errorf("tls: Ed25519 public keys are not supported before TLS 1.2") + default: + return 0, 0, fmt.Errorf("tls: unsupported public key: %T", pub) + } +} + +var rsaSignatureSchemes = []struct { + scheme SignatureScheme + minModulusBytes int + maxVersion uint16 +}{ + // RSA-PSS is used with PSSSaltLengthEqualsHash, and requires + // emLen >= hLen + sLen + 2 + {PSSWithSHA256, crypto.SHA256.Size()*2 + 2, VersionTLS13}, + {PSSWithSHA384, crypto.SHA384.Size()*2 + 2, VersionTLS13}, + {PSSWithSHA512, crypto.SHA512.Size()*2 + 2, VersionTLS13}, + // PKCS #1 v1.5 uses prefixes from hashPrefixes in crypto/rsa, and requires + // emLen >= len(prefix) + hLen + 11 + // TLS 1.3 dropped support for PKCS #1 v1.5 in favor of RSA-PSS. + {PKCS1WithSHA256, 19 + crypto.SHA256.Size() + 11, VersionTLS12}, + {PKCS1WithSHA384, 19 + crypto.SHA384.Size() + 11, VersionTLS12}, + {PKCS1WithSHA512, 19 + crypto.SHA512.Size() + 11, VersionTLS12}, + {PKCS1WithSHA1, 15 + crypto.SHA1.Size() + 11, VersionTLS12}, +} + +// signatureSchemesForCertificate returns the list of supported SignatureSchemes +// for a given certificate, based on the public key and the protocol version, +// and optionally filtered by its explicit SupportedSignatureAlgorithms. +// +// This function must be kept in sync with supportedSignatureAlgorithms. +// FIPS filtering is applied in the caller, selectSignatureScheme. +func signatureSchemesForCertificate(version uint16, cert *Certificate) []SignatureScheme { + priv, ok := cert.PrivateKey.(crypto.Signer) + if !ok { + return nil + } + + var sigAlgs []SignatureScheme + switch pub := priv.Public().(type) { + case *ecdsa.PublicKey: + if version != VersionTLS13 { + // In TLS 1.2 and earlier, ECDSA algorithms are not + // constrained to a single curve. + sigAlgs = []SignatureScheme{ + ECDSAWithP256AndSHA256, + ECDSAWithP384AndSHA384, + ECDSAWithP521AndSHA512, + ECDSAWithSHA1, + } + break + } + switch pub.Curve { + case elliptic.P256(): + sigAlgs = []SignatureScheme{ECDSAWithP256AndSHA256} + case elliptic.P384(): + sigAlgs = []SignatureScheme{ECDSAWithP384AndSHA384} + case elliptic.P521(): + sigAlgs = []SignatureScheme{ECDSAWithP521AndSHA512} + default: + return nil + } + case *rsa.PublicKey: + size := pub.Size() + sigAlgs = make([]SignatureScheme, 0, len(rsaSignatureSchemes)) + for _, candidate := range rsaSignatureSchemes { + if size >= candidate.minModulusBytes && version <= candidate.maxVersion { + sigAlgs = append(sigAlgs, candidate.scheme) + } + } + case ed25519.PublicKey: + sigAlgs = []SignatureScheme{Ed25519} + default: + return nil + } + + if cert.SupportedSignatureAlgorithms != nil { + var filteredSigAlgs []SignatureScheme + for _, sigAlg := range sigAlgs { + if isSupportedSignatureAlgorithm(sigAlg, cert.SupportedSignatureAlgorithms) { + filteredSigAlgs = append(filteredSigAlgs, sigAlg) + } + } + return filteredSigAlgs + } + return sigAlgs +} + +// selectSignatureScheme picks a SignatureScheme from the peer's preference list +// that works with the selected certificate. It's only called for protocol +// versions that support signature algorithms, so TLS 1.2 and 1.3. +func selectSignatureScheme(vers uint16, c *Certificate, peerAlgs []SignatureScheme) (SignatureScheme, error) { + supportedAlgs := signatureSchemesForCertificate(vers, c) + if len(supportedAlgs) == 0 { + return 0, unsupportedCertificateError(c) + } + if len(peerAlgs) == 0 && vers == VersionTLS12 { + // For TLS 1.2, if the client didn't send signature_algorithms then we + // can assume that it supports SHA1. See RFC 5246, Section 7.4.1.4.1. + peerAlgs = []SignatureScheme{PKCS1WithSHA1, ECDSAWithSHA1} + } + // Pick signature scheme in the peer's preference order, as our + // preference order is not configurable. + for _, preferredAlg := range peerAlgs { + if needFIPS() && !isSupportedSignatureAlgorithm(preferredAlg, fipsSupportedSignatureAlgorithms) { + continue + } + if isSupportedSignatureAlgorithm(preferredAlg, supportedAlgs) { + return preferredAlg, nil + } + } + return 0, errors.New("tls: peer doesn't support any of the certificate's signature algorithms") +} + +// unsupportedCertificateError returns a helpful error for certificates with +// an unsupported private key. +func unsupportedCertificateError(cert *Certificate) error { + switch cert.PrivateKey.(type) { + case rsa.PrivateKey, ecdsa.PrivateKey: + return fmt.Errorf("tls: unsupported certificate: private key is %T, expected *%T", + cert.PrivateKey, cert.PrivateKey) + case *ed25519.PrivateKey: + return fmt.Errorf("tls: unsupported certificate: private key is *ed25519.PrivateKey, expected ed25519.PrivateKey") + } + + signer, ok := cert.PrivateKey.(crypto.Signer) + if !ok { + return fmt.Errorf("tls: certificate private key (%T) does not implement crypto.Signer", + cert.PrivateKey) + } + + switch pub := signer.Public().(type) { + case *ecdsa.PublicKey: + switch pub.Curve { + case elliptic.P256(): + case elliptic.P384(): + case elliptic.P521(): + default: + return fmt.Errorf("tls: unsupported certificate curve (%s)", pub.Curve.Params().Name) + } + case *rsa.PublicKey: + return fmt.Errorf("tls: certificate RSA key size too small for supported signature algorithms") + case ed25519.PublicKey: + default: + return fmt.Errorf("tls: unsupported certificate key (%T)", pub) + } + + if cert.SupportedSignatureAlgorithms != nil { + return fmt.Errorf("tls: peer doesn't support the certificate custom signature algorithms") + } + + return fmt.Errorf("tls: internal error: unsupported key (%T)", cert.PrivateKey) +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/cipher_suites.go b/vendor/github.com/marten-seemann/qtls-go1-19/cipher_suites.go new file mode 100644 index 000000000..56dd45436 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/cipher_suites.go @@ -0,0 +1,693 @@ +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import ( + "crypto" + "crypto/aes" + "crypto/cipher" + "crypto/des" + "crypto/hmac" + "crypto/rc4" + "crypto/sha1" + "crypto/sha256" + "fmt" + "hash" + + "golang.org/x/crypto/chacha20poly1305" +) + +// CipherSuite is a TLS cipher suite. Note that most functions in this package +// accept and expose cipher suite IDs instead of this type. +type CipherSuite struct { + ID uint16 + Name string + + // Supported versions is the list of TLS protocol versions that can + // negotiate this cipher suite. + SupportedVersions []uint16 + + // Insecure is true if the cipher suite has known security issues + // due to its primitives, design, or implementation. + Insecure bool +} + +var ( + supportedUpToTLS12 = []uint16{VersionTLS10, VersionTLS11, VersionTLS12} + supportedOnlyTLS12 = []uint16{VersionTLS12} + supportedOnlyTLS13 = []uint16{VersionTLS13} +) + +// CipherSuites returns a list of cipher suites currently implemented by this +// package, excluding those with security issues, which are returned by +// InsecureCipherSuites. +// +// The list is sorted by ID. Note that the default cipher suites selected by +// this package might depend on logic that can't be captured by a static list, +// and might not match those returned by this function. +func CipherSuites() []*CipherSuite { + return []*CipherSuite{ + {TLS_RSA_WITH_AES_128_CBC_SHA, "TLS_RSA_WITH_AES_128_CBC_SHA", supportedUpToTLS12, false}, + {TLS_RSA_WITH_AES_256_CBC_SHA, "TLS_RSA_WITH_AES_256_CBC_SHA", supportedUpToTLS12, false}, + {TLS_RSA_WITH_AES_128_GCM_SHA256, "TLS_RSA_WITH_AES_128_GCM_SHA256", supportedOnlyTLS12, false}, + {TLS_RSA_WITH_AES_256_GCM_SHA384, "TLS_RSA_WITH_AES_256_GCM_SHA384", supportedOnlyTLS12, false}, + + {TLS_AES_128_GCM_SHA256, "TLS_AES_128_GCM_SHA256", supportedOnlyTLS13, false}, + {TLS_AES_256_GCM_SHA384, "TLS_AES_256_GCM_SHA384", supportedOnlyTLS13, false}, + {TLS_CHACHA20_POLY1305_SHA256, "TLS_CHACHA20_POLY1305_SHA256", supportedOnlyTLS13, false}, + + {TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", supportedUpToTLS12, false}, + {TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", supportedUpToTLS12, false}, + {TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", supportedUpToTLS12, false}, + {TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", supportedUpToTLS12, false}, + {TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", supportedOnlyTLS12, false}, + {TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", supportedOnlyTLS12, false}, + {TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", supportedOnlyTLS12, false}, + {TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", supportedOnlyTLS12, false}, + {TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256", supportedOnlyTLS12, false}, + {TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256", supportedOnlyTLS12, false}, + } +} + +// InsecureCipherSuites returns a list of cipher suites currently implemented by +// this package and which have security issues. +// +// Most applications should not use the cipher suites in this list, and should +// only use those returned by CipherSuites. +func InsecureCipherSuites() []*CipherSuite { + // This list includes RC4, CBC_SHA256, and 3DES cipher suites. See + // cipherSuitesPreferenceOrder for details. + return []*CipherSuite{ + {TLS_RSA_WITH_RC4_128_SHA, "TLS_RSA_WITH_RC4_128_SHA", supportedUpToTLS12, true}, + {TLS_RSA_WITH_3DES_EDE_CBC_SHA, "TLS_RSA_WITH_3DES_EDE_CBC_SHA", supportedUpToTLS12, true}, + {TLS_RSA_WITH_AES_128_CBC_SHA256, "TLS_RSA_WITH_AES_128_CBC_SHA256", supportedOnlyTLS12, true}, + {TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", supportedUpToTLS12, true}, + {TLS_ECDHE_RSA_WITH_RC4_128_SHA, "TLS_ECDHE_RSA_WITH_RC4_128_SHA", supportedUpToTLS12, true}, + {TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", supportedUpToTLS12, true}, + {TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", supportedOnlyTLS12, true}, + {TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", supportedOnlyTLS12, true}, + } +} + +// CipherSuiteName returns the standard name for the passed cipher suite ID +// (e.g. "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"), or a fallback representation +// of the ID value if the cipher suite is not implemented by this package. +func CipherSuiteName(id uint16) string { + for _, c := range CipherSuites() { + if c.ID == id { + return c.Name + } + } + for _, c := range InsecureCipherSuites() { + if c.ID == id { + return c.Name + } + } + return fmt.Sprintf("0x%04X", id) +} + +const ( + // suiteECDHE indicates that the cipher suite involves elliptic curve + // Diffie-Hellman. This means that it should only be selected when the + // client indicates that it supports ECC with a curve and point format + // that we're happy with. + suiteECDHE = 1 << iota + // suiteECSign indicates that the cipher suite involves an ECDSA or + // EdDSA signature and therefore may only be selected when the server's + // certificate is ECDSA or EdDSA. If this is not set then the cipher suite + // is RSA based. + suiteECSign + // suiteTLS12 indicates that the cipher suite should only be advertised + // and accepted when using TLS 1.2. + suiteTLS12 + // suiteSHA384 indicates that the cipher suite uses SHA384 as the + // handshake hash. + suiteSHA384 +) + +// A cipherSuite is a TLS 1.0–1.2 cipher suite, and defines the key exchange +// mechanism, as well as the cipher+MAC pair or the AEAD. +type cipherSuite struct { + id uint16 + // the lengths, in bytes, of the key material needed for each component. + keyLen int + macLen int + ivLen int + ka func(version uint16) keyAgreement + // flags is a bitmask of the suite* values, above. + flags int + cipher func(key, iv []byte, isRead bool) any + mac func(key []byte) hash.Hash + aead func(key, fixedNonce []byte) aead +} + +var cipherSuites = []*cipherSuite{ // TODO: replace with a map, since the order doesn't matter. + {TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305, 32, 0, 12, ecdheRSAKA, suiteECDHE | suiteTLS12, nil, nil, aeadChaCha20Poly1305}, + {TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, 32, 0, 12, ecdheECDSAKA, suiteECDHE | suiteECSign | suiteTLS12, nil, nil, aeadChaCha20Poly1305}, + {TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, 16, 0, 4, ecdheRSAKA, suiteECDHE | suiteTLS12, nil, nil, aeadAESGCM}, + {TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, 16, 0, 4, ecdheECDSAKA, suiteECDHE | suiteECSign | suiteTLS12, nil, nil, aeadAESGCM}, + {TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 32, 0, 4, ecdheRSAKA, suiteECDHE | suiteTLS12 | suiteSHA384, nil, nil, aeadAESGCM}, + {TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, 32, 0, 4, ecdheECDSAKA, suiteECDHE | suiteECSign | suiteTLS12 | suiteSHA384, nil, nil, aeadAESGCM}, + {TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, 16, 32, 16, ecdheRSAKA, suiteECDHE | suiteTLS12, cipherAES, macSHA256, nil}, + {TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, 16, 20, 16, ecdheRSAKA, suiteECDHE, cipherAES, macSHA1, nil}, + {TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, 16, 32, 16, ecdheECDSAKA, suiteECDHE | suiteECSign | suiteTLS12, cipherAES, macSHA256, nil}, + {TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, 16, 20, 16, ecdheECDSAKA, suiteECDHE | suiteECSign, cipherAES, macSHA1, nil}, + {TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, 32, 20, 16, ecdheRSAKA, suiteECDHE, cipherAES, macSHA1, nil}, + {TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, 32, 20, 16, ecdheECDSAKA, suiteECDHE | suiteECSign, cipherAES, macSHA1, nil}, + {TLS_RSA_WITH_AES_128_GCM_SHA256, 16, 0, 4, rsaKA, suiteTLS12, nil, nil, aeadAESGCM}, + {TLS_RSA_WITH_AES_256_GCM_SHA384, 32, 0, 4, rsaKA, suiteTLS12 | suiteSHA384, nil, nil, aeadAESGCM}, + {TLS_RSA_WITH_AES_128_CBC_SHA256, 16, 32, 16, rsaKA, suiteTLS12, cipherAES, macSHA256, nil}, + {TLS_RSA_WITH_AES_128_CBC_SHA, 16, 20, 16, rsaKA, 0, cipherAES, macSHA1, nil}, + {TLS_RSA_WITH_AES_256_CBC_SHA, 32, 20, 16, rsaKA, 0, cipherAES, macSHA1, nil}, + {TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, 24, 20, 8, ecdheRSAKA, suiteECDHE, cipher3DES, macSHA1, nil}, + {TLS_RSA_WITH_3DES_EDE_CBC_SHA, 24, 20, 8, rsaKA, 0, cipher3DES, macSHA1, nil}, + {TLS_RSA_WITH_RC4_128_SHA, 16, 20, 0, rsaKA, 0, cipherRC4, macSHA1, nil}, + {TLS_ECDHE_RSA_WITH_RC4_128_SHA, 16, 20, 0, ecdheRSAKA, suiteECDHE, cipherRC4, macSHA1, nil}, + {TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, 16, 20, 0, ecdheECDSAKA, suiteECDHE | suiteECSign, cipherRC4, macSHA1, nil}, +} + +// selectCipherSuite returns the first TLS 1.0–1.2 cipher suite from ids which +// is also in supportedIDs and passes the ok filter. +func selectCipherSuite(ids, supportedIDs []uint16, ok func(*cipherSuite) bool) *cipherSuite { + for _, id := range ids { + candidate := cipherSuiteByID(id) + if candidate == nil || !ok(candidate) { + continue + } + + for _, suppID := range supportedIDs { + if id == suppID { + return candidate + } + } + } + return nil +} + +// A cipherSuiteTLS13 defines only the pair of the AEAD algorithm and hash +// algorithm to be used with HKDF. See RFC 8446, Appendix B.4. +type cipherSuiteTLS13 struct { + id uint16 + keyLen int + aead func(key, fixedNonce []byte) aead + hash crypto.Hash +} + +type CipherSuiteTLS13 struct { + ID uint16 + KeyLen int + Hash crypto.Hash + AEAD func(key, fixedNonce []byte) cipher.AEAD +} + +func (c *CipherSuiteTLS13) IVLen() int { + return aeadNonceLength +} + +var cipherSuitesTLS13 = []*cipherSuiteTLS13{ // TODO: replace with a map. + {TLS_AES_128_GCM_SHA256, 16, aeadAESGCMTLS13, crypto.SHA256}, + {TLS_CHACHA20_POLY1305_SHA256, 32, aeadChaCha20Poly1305, crypto.SHA256}, + {TLS_AES_256_GCM_SHA384, 32, aeadAESGCMTLS13, crypto.SHA384}, +} + +// cipherSuitesPreferenceOrder is the order in which we'll select (on the +// server) or advertise (on the client) TLS 1.0–1.2 cipher suites. +// +// Cipher suites are filtered but not reordered based on the application and +// peer's preferences, meaning we'll never select a suite lower in this list if +// any higher one is available. This makes it more defensible to keep weaker +// cipher suites enabled, especially on the server side where we get the last +// word, since there are no known downgrade attacks on cipher suites selection. +// +// The list is sorted by applying the following priority rules, stopping at the +// first (most important) applicable one: +// +// - Anything else comes before RC4 +// +// RC4 has practically exploitable biases. See https://www.rc4nomore.com. +// +// - Anything else comes before CBC_SHA256 +// +// SHA-256 variants of the CBC ciphersuites don't implement any Lucky13 +// countermeasures. See http://www.isg.rhul.ac.uk/tls/Lucky13.html and +// https://www.imperialviolet.org/2013/02/04/luckythirteen.html. +// +// - Anything else comes before 3DES +// +// 3DES has 64-bit blocks, which makes it fundamentally susceptible to +// birthday attacks. See https://sweet32.info. +// +// - ECDHE comes before anything else +// +// Once we got the broken stuff out of the way, the most important +// property a cipher suite can have is forward secrecy. We don't +// implement FFDHE, so that means ECDHE. +// +// - AEADs come before CBC ciphers +// +// Even with Lucky13 countermeasures, MAC-then-Encrypt CBC cipher suites +// are fundamentally fragile, and suffered from an endless sequence of +// padding oracle attacks. See https://eprint.iacr.org/2015/1129, +// https://www.imperialviolet.org/2014/12/08/poodleagain.html, and +// https://blog.cloudflare.com/yet-another-padding-oracle-in-openssl-cbc-ciphersuites/. +// +// - AES comes before ChaCha20 +// +// When AES hardware is available, AES-128-GCM and AES-256-GCM are faster +// than ChaCha20Poly1305. +// +// When AES hardware is not available, AES-128-GCM is one or more of: much +// slower, way more complex, and less safe (because not constant time) +// than ChaCha20Poly1305. +// +// We use this list if we think both peers have AES hardware, and +// cipherSuitesPreferenceOrderNoAES otherwise. +// +// - AES-128 comes before AES-256 +// +// The only potential advantages of AES-256 are better multi-target +// margins, and hypothetical post-quantum properties. Neither apply to +// TLS, and AES-256 is slower due to its four extra rounds (which don't +// contribute to the advantages above). +// +// - ECDSA comes before RSA +// +// The relative order of ECDSA and RSA cipher suites doesn't matter, +// as they depend on the certificate. Pick one to get a stable order. +var cipherSuitesPreferenceOrder = []uint16{ + // AEADs w/ ECDHE + TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, + TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, + TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305, + + // CBC w/ ECDHE + TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, + + // AEADs w/o ECDHE + TLS_RSA_WITH_AES_128_GCM_SHA256, + TLS_RSA_WITH_AES_256_GCM_SHA384, + + // CBC w/o ECDHE + TLS_RSA_WITH_AES_128_CBC_SHA, + TLS_RSA_WITH_AES_256_CBC_SHA, + + // 3DES + TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, + TLS_RSA_WITH_3DES_EDE_CBC_SHA, + + // CBC_SHA256 + TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, + TLS_RSA_WITH_AES_128_CBC_SHA256, + + // RC4 + TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA, + TLS_RSA_WITH_RC4_128_SHA, +} + +var cipherSuitesPreferenceOrderNoAES = []uint16{ + // ChaCha20Poly1305 + TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305, + + // AES-GCM w/ ECDHE + TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, + TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, + + // The rest of cipherSuitesPreferenceOrder. + TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, + TLS_RSA_WITH_AES_128_GCM_SHA256, + TLS_RSA_WITH_AES_256_GCM_SHA384, + TLS_RSA_WITH_AES_128_CBC_SHA, + TLS_RSA_WITH_AES_256_CBC_SHA, + TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, + TLS_RSA_WITH_3DES_EDE_CBC_SHA, + TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, + TLS_RSA_WITH_AES_128_CBC_SHA256, + TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA, + TLS_RSA_WITH_RC4_128_SHA, +} + +// disabledCipherSuites are not used unless explicitly listed in +// Config.CipherSuites. They MUST be at the end of cipherSuitesPreferenceOrder. +var disabledCipherSuites = []uint16{ + // CBC_SHA256 + TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, + TLS_RSA_WITH_AES_128_CBC_SHA256, + + // RC4 + TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA, + TLS_RSA_WITH_RC4_128_SHA, +} + +var ( + defaultCipherSuitesLen = len(cipherSuitesPreferenceOrder) - len(disabledCipherSuites) + defaultCipherSuites = cipherSuitesPreferenceOrder[:defaultCipherSuitesLen] +) + +// defaultCipherSuitesTLS13 is also the preference order, since there are no +// disabled by default TLS 1.3 cipher suites. The same AES vs ChaCha20 logic as +// cipherSuitesPreferenceOrder applies. +var defaultCipherSuitesTLS13 = []uint16{ + TLS_AES_128_GCM_SHA256, + TLS_AES_256_GCM_SHA384, + TLS_CHACHA20_POLY1305_SHA256, +} + +var defaultCipherSuitesTLS13NoAES = []uint16{ + TLS_CHACHA20_POLY1305_SHA256, + TLS_AES_128_GCM_SHA256, + TLS_AES_256_GCM_SHA384, +} + +var aesgcmCiphers = map[uint16]bool{ + // TLS 1.2 + TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: true, + TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: true, + TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: true, + TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: true, + // TLS 1.3 + TLS_AES_128_GCM_SHA256: true, + TLS_AES_256_GCM_SHA384: true, +} + +var nonAESGCMAEADCiphers = map[uint16]bool{ + // TLS 1.2 + TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305: true, + TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305: true, + // TLS 1.3 + TLS_CHACHA20_POLY1305_SHA256: true, +} + +// aesgcmPreferred returns whether the first known cipher in the preference list +// is an AES-GCM cipher, implying the peer has hardware support for it. +func aesgcmPreferred(ciphers []uint16) bool { + for _, cID := range ciphers { + if c := cipherSuiteByID(cID); c != nil { + return aesgcmCiphers[cID] + } + if c := cipherSuiteTLS13ByID(cID); c != nil { + return aesgcmCiphers[cID] + } + } + return false +} + +func cipherRC4(key, iv []byte, isRead bool) any { + cipher, _ := rc4.NewCipher(key) + return cipher +} + +func cipher3DES(key, iv []byte, isRead bool) any { + block, _ := des.NewTripleDESCipher(key) + if isRead { + return cipher.NewCBCDecrypter(block, iv) + } + return cipher.NewCBCEncrypter(block, iv) +} + +func cipherAES(key, iv []byte, isRead bool) any { + block, _ := aes.NewCipher(key) + if isRead { + return cipher.NewCBCDecrypter(block, iv) + } + return cipher.NewCBCEncrypter(block, iv) +} + +// macSHA1 returns a SHA-1 based constant time MAC. +func macSHA1(key []byte) hash.Hash { + h := sha1.New + h = newConstantTimeHash(h) + return hmac.New(h, key) +} + +// macSHA256 returns a SHA-256 based MAC. This is only supported in TLS 1.2 and +// is currently only used in disabled-by-default cipher suites. +func macSHA256(key []byte) hash.Hash { + return hmac.New(sha256.New, key) +} + +type aead interface { + cipher.AEAD + + // explicitNonceLen returns the number of bytes of explicit nonce + // included in each record. This is eight for older AEADs and + // zero for modern ones. + explicitNonceLen() int +} + +const ( + aeadNonceLength = 12 + noncePrefixLength = 4 +) + +// prefixNonceAEAD wraps an AEAD and prefixes a fixed portion of the nonce to +// each call. +type prefixNonceAEAD struct { + // nonce contains the fixed part of the nonce in the first four bytes. + nonce [aeadNonceLength]byte + aead cipher.AEAD +} + +func (f *prefixNonceAEAD) NonceSize() int { return aeadNonceLength - noncePrefixLength } +func (f *prefixNonceAEAD) Overhead() int { return f.aead.Overhead() } +func (f *prefixNonceAEAD) explicitNonceLen() int { return f.NonceSize() } + +func (f *prefixNonceAEAD) Seal(out, nonce, plaintext, additionalData []byte) []byte { + copy(f.nonce[4:], nonce) + return f.aead.Seal(out, f.nonce[:], plaintext, additionalData) +} + +func (f *prefixNonceAEAD) Open(out, nonce, ciphertext, additionalData []byte) ([]byte, error) { + copy(f.nonce[4:], nonce) + return f.aead.Open(out, f.nonce[:], ciphertext, additionalData) +} + +// xoredNonceAEAD wraps an AEAD by XORing in a fixed pattern to the nonce +// before each call. +type xorNonceAEAD struct { + nonceMask [aeadNonceLength]byte + aead cipher.AEAD +} + +func (f *xorNonceAEAD) NonceSize() int { return 8 } // 64-bit sequence number +func (f *xorNonceAEAD) Overhead() int { return f.aead.Overhead() } +func (f *xorNonceAEAD) explicitNonceLen() int { return 0 } + +func (f *xorNonceAEAD) Seal(out, nonce, plaintext, additionalData []byte) []byte { + for i, b := range nonce { + f.nonceMask[4+i] ^= b + } + result := f.aead.Seal(out, f.nonceMask[:], plaintext, additionalData) + for i, b := range nonce { + f.nonceMask[4+i] ^= b + } + + return result +} + +func (f *xorNonceAEAD) Open(out, nonce, ciphertext, additionalData []byte) ([]byte, error) { + for i, b := range nonce { + f.nonceMask[4+i] ^= b + } + result, err := f.aead.Open(out, f.nonceMask[:], ciphertext, additionalData) + for i, b := range nonce { + f.nonceMask[4+i] ^= b + } + + return result, err +} + +func aeadAESGCM(key, noncePrefix []byte) aead { + if len(noncePrefix) != noncePrefixLength { + panic("tls: internal error: wrong nonce length") + } + aes, err := aes.NewCipher(key) + if err != nil { + panic(err) + } + var aead cipher.AEAD + aead, err = cipher.NewGCM(aes) + if err != nil { + panic(err) + } + + ret := &prefixNonceAEAD{aead: aead} + copy(ret.nonce[:], noncePrefix) + return ret +} + +// AEADAESGCMTLS13 creates a new AES-GCM AEAD for TLS 1.3 +func AEADAESGCMTLS13(key, fixedNonce []byte) cipher.AEAD { + return aeadAESGCMTLS13(key, fixedNonce) +} + +func aeadAESGCMTLS13(key, nonceMask []byte) aead { + if len(nonceMask) != aeadNonceLength { + panic("tls: internal error: wrong nonce length") + } + aes, err := aes.NewCipher(key) + if err != nil { + panic(err) + } + aead, err := cipher.NewGCM(aes) + if err != nil { + panic(err) + } + + ret := &xorNonceAEAD{aead: aead} + copy(ret.nonceMask[:], nonceMask) + return ret +} + +func aeadChaCha20Poly1305(key, nonceMask []byte) aead { + if len(nonceMask) != aeadNonceLength { + panic("tls: internal error: wrong nonce length") + } + aead, err := chacha20poly1305.New(key) + if err != nil { + panic(err) + } + + ret := &xorNonceAEAD{aead: aead} + copy(ret.nonceMask[:], nonceMask) + return ret +} + +type constantTimeHash interface { + hash.Hash + ConstantTimeSum(b []byte) []byte +} + +// cthWrapper wraps any hash.Hash that implements ConstantTimeSum, and replaces +// with that all calls to Sum. It's used to obtain a ConstantTimeSum-based HMAC. +type cthWrapper struct { + h constantTimeHash +} + +func (c *cthWrapper) Size() int { return c.h.Size() } +func (c *cthWrapper) BlockSize() int { return c.h.BlockSize() } +func (c *cthWrapper) Reset() { c.h.Reset() } +func (c *cthWrapper) Write(p []byte) (int, error) { return c.h.Write(p) } +func (c *cthWrapper) Sum(b []byte) []byte { return c.h.ConstantTimeSum(b) } + +func newConstantTimeHash(h func() hash.Hash) func() hash.Hash { + return func() hash.Hash { + return &cthWrapper{h().(constantTimeHash)} + } +} + +// tls10MAC implements the TLS 1.0 MAC function. RFC 2246, Section 6.2.3. +func tls10MAC(h hash.Hash, out, seq, header, data, extra []byte) []byte { + h.Reset() + h.Write(seq) + h.Write(header) + h.Write(data) + res := h.Sum(out) + if extra != nil { + h.Write(extra) + } + return res +} + +func rsaKA(version uint16) keyAgreement { + return rsaKeyAgreement{} +} + +func ecdheECDSAKA(version uint16) keyAgreement { + return &ecdheKeyAgreement{ + isRSA: false, + version: version, + } +} + +func ecdheRSAKA(version uint16) keyAgreement { + return &ecdheKeyAgreement{ + isRSA: true, + version: version, + } +} + +// mutualCipherSuite returns a cipherSuite given a list of supported +// ciphersuites and the id requested by the peer. +func mutualCipherSuite(have []uint16, want uint16) *cipherSuite { + for _, id := range have { + if id == want { + return cipherSuiteByID(id) + } + } + return nil +} + +func cipherSuiteByID(id uint16) *cipherSuite { + for _, cipherSuite := range cipherSuites { + if cipherSuite.id == id { + return cipherSuite + } + } + return nil +} + +func mutualCipherSuiteTLS13(have []uint16, want uint16) *cipherSuiteTLS13 { + for _, id := range have { + if id == want { + return cipherSuiteTLS13ByID(id) + } + } + return nil +} + +func cipherSuiteTLS13ByID(id uint16) *cipherSuiteTLS13 { + for _, cipherSuite := range cipherSuitesTLS13 { + if cipherSuite.id == id { + return cipherSuite + } + } + return nil +} + +// A list of cipher suite IDs that are, or have been, implemented by this +// package. +// +// See https://www.iana.org/assignments/tls-parameters/tls-parameters.xml +const ( + // TLS 1.0 - 1.2 cipher suites. + TLS_RSA_WITH_RC4_128_SHA uint16 = 0x0005 + TLS_RSA_WITH_3DES_EDE_CBC_SHA uint16 = 0x000a + TLS_RSA_WITH_AES_128_CBC_SHA uint16 = 0x002f + TLS_RSA_WITH_AES_256_CBC_SHA uint16 = 0x0035 + TLS_RSA_WITH_AES_128_CBC_SHA256 uint16 = 0x003c + TLS_RSA_WITH_AES_128_GCM_SHA256 uint16 = 0x009c + TLS_RSA_WITH_AES_256_GCM_SHA384 uint16 = 0x009d + TLS_ECDHE_ECDSA_WITH_RC4_128_SHA uint16 = 0xc007 + TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA uint16 = 0xc009 + TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA uint16 = 0xc00a + TLS_ECDHE_RSA_WITH_RC4_128_SHA uint16 = 0xc011 + TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA uint16 = 0xc012 + TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA uint16 = 0xc013 + TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA uint16 = 0xc014 + TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 uint16 = 0xc023 + TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 uint16 = 0xc027 + TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 uint16 = 0xc02f + TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 uint16 = 0xc02b + TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 uint16 = 0xc030 + TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 uint16 = 0xc02c + TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 uint16 = 0xcca8 + TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 uint16 = 0xcca9 + + // TLS 1.3 cipher suites. + TLS_AES_128_GCM_SHA256 uint16 = 0x1301 + TLS_AES_256_GCM_SHA384 uint16 = 0x1302 + TLS_CHACHA20_POLY1305_SHA256 uint16 = 0x1303 + + // TLS_FALLBACK_SCSV isn't a standard cipher suite but an indicator + // that the client is doing version fallback. See RFC 7507. + TLS_FALLBACK_SCSV uint16 = 0x5600 + + // Legacy names for the corresponding cipher suites with the correct _SHA256 + // suffix, retained for backward compatibility. + TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 = TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 + TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 = TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 +) diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/common.go b/vendor/github.com/marten-seemann/qtls-go1-19/common.go new file mode 100644 index 000000000..6670ce2f7 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/common.go @@ -0,0 +1,1512 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import ( + "bytes" + "container/list" + "context" + "crypto" + "crypto/ecdsa" + "crypto/ed25519" + "crypto/elliptic" + "crypto/rand" + "crypto/rsa" + "crypto/sha512" + "crypto/tls" + "crypto/x509" + "errors" + "fmt" + "io" + "net" + "strings" + "sync" + "time" +) + +const ( + VersionTLS10 = 0x0301 + VersionTLS11 = 0x0302 + VersionTLS12 = 0x0303 + VersionTLS13 = 0x0304 + + // Deprecated: SSLv3 is cryptographically broken, and is no longer + // supported by this package. See golang.org/issue/32716. + VersionSSL30 = 0x0300 +) + +const ( + maxPlaintext = 16384 // maximum plaintext payload length + maxCiphertext = 16384 + 2048 // maximum ciphertext payload length + maxCiphertextTLS13 = 16384 + 256 // maximum ciphertext length in TLS 1.3 + recordHeaderLen = 5 // record header length + maxHandshake = 65536 // maximum handshake we support (protocol max is 16 MB) + maxUselessRecords = 16 // maximum number of consecutive non-advancing records +) + +// TLS record types. +type recordType uint8 + +const ( + recordTypeChangeCipherSpec recordType = 20 + recordTypeAlert recordType = 21 + recordTypeHandshake recordType = 22 + recordTypeApplicationData recordType = 23 +) + +// TLS handshake message types. +const ( + typeHelloRequest uint8 = 0 + typeClientHello uint8 = 1 + typeServerHello uint8 = 2 + typeNewSessionTicket uint8 = 4 + typeEndOfEarlyData uint8 = 5 + typeEncryptedExtensions uint8 = 8 + typeCertificate uint8 = 11 + typeServerKeyExchange uint8 = 12 + typeCertificateRequest uint8 = 13 + typeServerHelloDone uint8 = 14 + typeCertificateVerify uint8 = 15 + typeClientKeyExchange uint8 = 16 + typeFinished uint8 = 20 + typeCertificateStatus uint8 = 22 + typeKeyUpdate uint8 = 24 + typeNextProtocol uint8 = 67 // Not IANA assigned + typeMessageHash uint8 = 254 // synthetic message +) + +// TLS compression types. +const ( + compressionNone uint8 = 0 +) + +type Extension struct { + Type uint16 + Data []byte +} + +// TLS extension numbers +const ( + extensionServerName uint16 = 0 + extensionStatusRequest uint16 = 5 + extensionSupportedCurves uint16 = 10 // supported_groups in TLS 1.3, see RFC 8446, Section 4.2.7 + extensionSupportedPoints uint16 = 11 + extensionSignatureAlgorithms uint16 = 13 + extensionALPN uint16 = 16 + extensionSCT uint16 = 18 + extensionSessionTicket uint16 = 35 + extensionPreSharedKey uint16 = 41 + extensionEarlyData uint16 = 42 + extensionSupportedVersions uint16 = 43 + extensionCookie uint16 = 44 + extensionPSKModes uint16 = 45 + extensionCertificateAuthorities uint16 = 47 + extensionSignatureAlgorithmsCert uint16 = 50 + extensionKeyShare uint16 = 51 + extensionRenegotiationInfo uint16 = 0xff01 +) + +// TLS signaling cipher suite values +const ( + scsvRenegotiation uint16 = 0x00ff +) + +type EncryptionLevel uint8 + +const ( + EncryptionHandshake EncryptionLevel = iota + Encryption0RTT + EncryptionApplication +) + +// CurveID is a tls.CurveID +type CurveID = tls.CurveID + +const ( + CurveP256 CurveID = 23 + CurveP384 CurveID = 24 + CurveP521 CurveID = 25 + X25519 CurveID = 29 +) + +// TLS 1.3 Key Share. See RFC 8446, Section 4.2.8. +type keyShare struct { + group CurveID + data []byte +} + +// TLS 1.3 PSK Key Exchange Modes. See RFC 8446, Section 4.2.9. +const ( + pskModePlain uint8 = 0 + pskModeDHE uint8 = 1 +) + +// TLS 1.3 PSK Identity. Can be a Session Ticket, or a reference to a saved +// session. See RFC 8446, Section 4.2.11. +type pskIdentity struct { + label []byte + obfuscatedTicketAge uint32 +} + +// TLS Elliptic Curve Point Formats +// https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-9 +const ( + pointFormatUncompressed uint8 = 0 +) + +// TLS CertificateStatusType (RFC 3546) +const ( + statusTypeOCSP uint8 = 1 +) + +// Certificate types (for certificateRequestMsg) +const ( + certTypeRSASign = 1 + certTypeECDSASign = 64 // ECDSA or EdDSA keys, see RFC 8422, Section 3. +) + +// Signature algorithms (for internal signaling use). Starting at 225 to avoid overlap with +// TLS 1.2 codepoints (RFC 5246, Appendix A.4.1), with which these have nothing to do. +const ( + signaturePKCS1v15 uint8 = iota + 225 + signatureRSAPSS + signatureECDSA + signatureEd25519 +) + +// directSigning is a standard Hash value that signals that no pre-hashing +// should be performed, and that the input should be signed directly. It is the +// hash function associated with the Ed25519 signature scheme. +var directSigning crypto.Hash = 0 + +// defaultSupportedSignatureAlgorithms contains the signature and hash algorithms that +// the code advertises as supported in a TLS 1.2+ ClientHello and in a TLS 1.2+ +// CertificateRequest. The two fields are merged to match with TLS 1.3. +// Note that in TLS 1.2, the ECDSA algorithms are not constrained to P-256, etc. +var defaultSupportedSignatureAlgorithms = []SignatureScheme{ + PSSWithSHA256, + ECDSAWithP256AndSHA256, + Ed25519, + PSSWithSHA384, + PSSWithSHA512, + PKCS1WithSHA256, + PKCS1WithSHA384, + PKCS1WithSHA512, + ECDSAWithP384AndSHA384, + ECDSAWithP521AndSHA512, + PKCS1WithSHA1, + ECDSAWithSHA1, +} + +// helloRetryRequestRandom is set as the Random value of a ServerHello +// to signal that the message is actually a HelloRetryRequest. +var helloRetryRequestRandom = []byte{ // See RFC 8446, Section 4.1.3. + 0xCF, 0x21, 0xAD, 0x74, 0xE5, 0x9A, 0x61, 0x11, + 0xBE, 0x1D, 0x8C, 0x02, 0x1E, 0x65, 0xB8, 0x91, + 0xC2, 0xA2, 0x11, 0x16, 0x7A, 0xBB, 0x8C, 0x5E, + 0x07, 0x9E, 0x09, 0xE2, 0xC8, 0xA8, 0x33, 0x9C, +} + +const ( + // downgradeCanaryTLS12 or downgradeCanaryTLS11 is embedded in the server + // random as a downgrade protection if the server would be capable of + // negotiating a higher version. See RFC 8446, Section 4.1.3. + downgradeCanaryTLS12 = "DOWNGRD\x01" + downgradeCanaryTLS11 = "DOWNGRD\x00" +) + +// testingOnlyForceDowngradeCanary is set in tests to force the server side to +// include downgrade canaries even if it's using its highers supported version. +var testingOnlyForceDowngradeCanary bool + +type ConnectionState = tls.ConnectionState + +// ConnectionState records basic TLS details about the connection. +type connectionState struct { + // Version is the TLS version used by the connection (e.g. VersionTLS12). + Version uint16 + + // HandshakeComplete is true if the handshake has concluded. + HandshakeComplete bool + + // DidResume is true if this connection was successfully resumed from a + // previous session with a session ticket or similar mechanism. + DidResume bool + + // CipherSuite is the cipher suite negotiated for the connection (e.g. + // TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_AES_128_GCM_SHA256). + CipherSuite uint16 + + // NegotiatedProtocol is the application protocol negotiated with ALPN. + NegotiatedProtocol string + + // NegotiatedProtocolIsMutual used to indicate a mutual NPN negotiation. + // + // Deprecated: this value is always true. + NegotiatedProtocolIsMutual bool + + // ServerName is the value of the Server Name Indication extension sent by + // the client. It's available both on the server and on the client side. + ServerName string + + // PeerCertificates are the parsed certificates sent by the peer, in the + // order in which they were sent. The first element is the leaf certificate + // that the connection is verified against. + // + // On the client side, it can't be empty. On the server side, it can be + // empty if Config.ClientAuth is not RequireAnyClientCert or + // RequireAndVerifyClientCert. + PeerCertificates []*x509.Certificate + + // VerifiedChains is a list of one or more chains where the first element is + // PeerCertificates[0] and the last element is from Config.RootCAs (on the + // client side) or Config.ClientCAs (on the server side). + // + // On the client side, it's set if Config.InsecureSkipVerify is false. On + // the server side, it's set if Config.ClientAuth is VerifyClientCertIfGiven + // (and the peer provided a certificate) or RequireAndVerifyClientCert. + VerifiedChains [][]*x509.Certificate + + // SignedCertificateTimestamps is a list of SCTs provided by the peer + // through the TLS handshake for the leaf certificate, if any. + SignedCertificateTimestamps [][]byte + + // OCSPResponse is a stapled Online Certificate Status Protocol (OCSP) + // response provided by the peer for the leaf certificate, if any. + OCSPResponse []byte + + // TLSUnique contains the "tls-unique" channel binding value (see RFC 5929, + // Section 3). This value will be nil for TLS 1.3 connections and for all + // resumed connections. + // + // Deprecated: there are conditions in which this value might not be unique + // to a connection. See the Security Considerations sections of RFC 5705 and + // RFC 7627, and https://mitls.org/pages/attacks/3SHAKE#channelbindings. + TLSUnique []byte + + // ekm is a closure exposed via ExportKeyingMaterial. + ekm func(label string, context []byte, length int) ([]byte, error) +} + +type ConnectionStateWith0RTT struct { + ConnectionState + + Used0RTT bool // true if 0-RTT was both offered and accepted +} + +// ClientAuthType is tls.ClientAuthType +type ClientAuthType = tls.ClientAuthType + +const ( + NoClientCert = tls.NoClientCert + RequestClientCert = tls.RequestClientCert + RequireAnyClientCert = tls.RequireAnyClientCert + VerifyClientCertIfGiven = tls.VerifyClientCertIfGiven + RequireAndVerifyClientCert = tls.RequireAndVerifyClientCert +) + +// requiresClientCert reports whether the ClientAuthType requires a client +// certificate to be provided. +func requiresClientCert(c ClientAuthType) bool { + switch c { + case RequireAnyClientCert, RequireAndVerifyClientCert: + return true + default: + return false + } +} + +// ClientSessionState contains the state needed by clients to resume TLS +// sessions. +type ClientSessionState = tls.ClientSessionState + +type clientSessionState struct { + sessionTicket []uint8 // Encrypted ticket used for session resumption with server + vers uint16 // TLS version negotiated for the session + cipherSuite uint16 // Ciphersuite negotiated for the session + masterSecret []byte // Full handshake MasterSecret, or TLS 1.3 resumption_master_secret + serverCertificates []*x509.Certificate // Certificate chain presented by the server + verifiedChains [][]*x509.Certificate // Certificate chains we built for verification + receivedAt time.Time // When the session ticket was received from the server + ocspResponse []byte // Stapled OCSP response presented by the server + scts [][]byte // SCTs presented by the server + + // TLS 1.3 fields. + nonce []byte // Ticket nonce sent by the server, to derive PSK + useBy time.Time // Expiration of the ticket lifetime as set by the server + ageAdd uint32 // Random obfuscation factor for sending the ticket age +} + +// ClientSessionCache is a cache of ClientSessionState objects that can be used +// by a client to resume a TLS session with a given server. ClientSessionCache +// implementations should expect to be called concurrently from different +// goroutines. Up to TLS 1.2, only ticket-based resumption is supported, not +// SessionID-based resumption. In TLS 1.3 they were merged into PSK modes, which +// are supported via this interface. +//go:generate sh -c "mockgen -package qtls -destination mock_client_session_cache_test.go github.com/marten-seemann/qtls-go1-17 ClientSessionCache" +type ClientSessionCache = tls.ClientSessionCache + +// SignatureScheme is a tls.SignatureScheme +type SignatureScheme = tls.SignatureScheme + +const ( + // RSASSA-PKCS1-v1_5 algorithms. + PKCS1WithSHA256 SignatureScheme = 0x0401 + PKCS1WithSHA384 SignatureScheme = 0x0501 + PKCS1WithSHA512 SignatureScheme = 0x0601 + + // RSASSA-PSS algorithms with public key OID rsaEncryption. + PSSWithSHA256 SignatureScheme = 0x0804 + PSSWithSHA384 SignatureScheme = 0x0805 + PSSWithSHA512 SignatureScheme = 0x0806 + + // ECDSA algorithms. Only constrained to a specific curve in TLS 1.3. + ECDSAWithP256AndSHA256 SignatureScheme = 0x0403 + ECDSAWithP384AndSHA384 SignatureScheme = 0x0503 + ECDSAWithP521AndSHA512 SignatureScheme = 0x0603 + + // EdDSA algorithms. + Ed25519 SignatureScheme = 0x0807 + + // Legacy signature and hash algorithms for TLS 1.2. + PKCS1WithSHA1 SignatureScheme = 0x0201 + ECDSAWithSHA1 SignatureScheme = 0x0203 +) + +// ClientHelloInfo contains information from a ClientHello message in order to +// guide application logic in the GetCertificate and GetConfigForClient callbacks. +type ClientHelloInfo = tls.ClientHelloInfo + +type clientHelloInfo struct { + // CipherSuites lists the CipherSuites supported by the client (e.g. + // TLS_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256). + CipherSuites []uint16 + + // ServerName indicates the name of the server requested by the client + // in order to support virtual hosting. ServerName is only set if the + // client is using SNI (see RFC 4366, Section 3.1). + ServerName string + + // SupportedCurves lists the elliptic curves supported by the client. + // SupportedCurves is set only if the Supported Elliptic Curves + // Extension is being used (see RFC 4492, Section 5.1.1). + SupportedCurves []CurveID + + // SupportedPoints lists the point formats supported by the client. + // SupportedPoints is set only if the Supported Point Formats Extension + // is being used (see RFC 4492, Section 5.1.2). + SupportedPoints []uint8 + + // SignatureSchemes lists the signature and hash schemes that the client + // is willing to verify. SignatureSchemes is set only if the Signature + // Algorithms Extension is being used (see RFC 5246, Section 7.4.1.4.1). + SignatureSchemes []SignatureScheme + + // SupportedProtos lists the application protocols supported by the client. + // SupportedProtos is set only if the Application-Layer Protocol + // Negotiation Extension is being used (see RFC 7301, Section 3.1). + // + // Servers can select a protocol by setting Config.NextProtos in a + // GetConfigForClient return value. + SupportedProtos []string + + // SupportedVersions lists the TLS versions supported by the client. + // For TLS versions less than 1.3, this is extrapolated from the max + // version advertised by the client, so values other than the greatest + // might be rejected if used. + SupportedVersions []uint16 + + // Conn is the underlying net.Conn for the connection. Do not read + // from, or write to, this connection; that will cause the TLS + // connection to fail. + Conn net.Conn + + // config is embedded by the GetCertificate or GetConfigForClient caller, + // for use with SupportsCertificate. + config *Config + + // ctx is the context of the handshake that is in progress. + ctx context.Context +} + +// Context returns the context of the handshake that is in progress. +// This context is a child of the context passed to HandshakeContext, +// if any, and is canceled when the handshake concludes. +func (c *clientHelloInfo) Context() context.Context { + return c.ctx +} + +// CertificateRequestInfo contains information from a server's +// CertificateRequest message, which is used to demand a certificate and proof +// of control from a client. +type CertificateRequestInfo = tls.CertificateRequestInfo + +type certificateRequestInfo struct { + // AcceptableCAs contains zero or more, DER-encoded, X.501 + // Distinguished Names. These are the names of root or intermediate CAs + // that the server wishes the returned certificate to be signed by. An + // empty slice indicates that the server has no preference. + AcceptableCAs [][]byte + + // SignatureSchemes lists the signature schemes that the server is + // willing to verify. + SignatureSchemes []SignatureScheme + + // Version is the TLS version that was negotiated for this connection. + Version uint16 + + // ctx is the context of the handshake that is in progress. + ctx context.Context +} + +// Context returns the context of the handshake that is in progress. +// This context is a child of the context passed to HandshakeContext, +// if any, and is canceled when the handshake concludes. +func (c *certificateRequestInfo) Context() context.Context { + return c.ctx +} + +// RenegotiationSupport enumerates the different levels of support for TLS +// renegotiation. TLS renegotiation is the act of performing subsequent +// handshakes on a connection after the first. This significantly complicates +// the state machine and has been the source of numerous, subtle security +// issues. Initiating a renegotiation is not supported, but support for +// accepting renegotiation requests may be enabled. +// +// Even when enabled, the server may not change its identity between handshakes +// (i.e. the leaf certificate must be the same). Additionally, concurrent +// handshake and application data flow is not permitted so renegotiation can +// only be used with protocols that synchronise with the renegotiation, such as +// HTTPS. +// +// Renegotiation is not defined in TLS 1.3. +type RenegotiationSupport = tls.RenegotiationSupport + +const ( + // RenegotiateNever disables renegotiation. + RenegotiateNever = tls.RenegotiateNever + + // RenegotiateOnceAsClient allows a remote server to request + // renegotiation once per connection. + RenegotiateOnceAsClient = tls.RenegotiateOnceAsClient + + // RenegotiateFreelyAsClient allows a remote server to repeatedly + // request renegotiation. + RenegotiateFreelyAsClient = tls.RenegotiateFreelyAsClient +) + +// A Config structure is used to configure a TLS client or server. +// After one has been passed to a TLS function it must not be +// modified. A Config may be reused; the tls package will also not +// modify it. +type Config = tls.Config + +type config struct { + // Rand provides the source of entropy for nonces and RSA blinding. + // If Rand is nil, TLS uses the cryptographic random reader in package + // crypto/rand. + // The Reader must be safe for use by multiple goroutines. + Rand io.Reader + + // Time returns the current time as the number of seconds since the epoch. + // If Time is nil, TLS uses time.Now. + Time func() time.Time + + // Certificates contains one or more certificate chains to present to the + // other side of the connection. The first certificate compatible with the + // peer's requirements is selected automatically. + // + // Server configurations must set one of Certificates, GetCertificate or + // GetConfigForClient. Clients doing client-authentication may set either + // Certificates or GetClientCertificate. + // + // Note: if there are multiple Certificates, and they don't have the + // optional field Leaf set, certificate selection will incur a significant + // per-handshake performance cost. + Certificates []Certificate + + // NameToCertificate maps from a certificate name to an element of + // Certificates. Note that a certificate name can be of the form + // '*.example.com' and so doesn't have to be a domain name as such. + // + // Deprecated: NameToCertificate only allows associating a single + // certificate with a given name. Leave this field nil to let the library + // select the first compatible chain from Certificates. + NameToCertificate map[string]*Certificate + + // GetCertificate returns a Certificate based on the given + // ClientHelloInfo. It will only be called if the client supplies SNI + // information or if Certificates is empty. + // + // If GetCertificate is nil or returns nil, then the certificate is + // retrieved from NameToCertificate. If NameToCertificate is nil, the + // best element of Certificates will be used. + GetCertificate func(*ClientHelloInfo) (*Certificate, error) + + // GetClientCertificate, if not nil, is called when a server requests a + // certificate from a client. If set, the contents of Certificates will + // be ignored. + // + // If GetClientCertificate returns an error, the handshake will be + // aborted and that error will be returned. Otherwise + // GetClientCertificate must return a non-nil Certificate. If + // Certificate.Certificate is empty then no certificate will be sent to + // the server. If this is unacceptable to the server then it may abort + // the handshake. + // + // GetClientCertificate may be called multiple times for the same + // connection if renegotiation occurs or if TLS 1.3 is in use. + GetClientCertificate func(*CertificateRequestInfo) (*Certificate, error) + + // GetConfigForClient, if not nil, is called after a ClientHello is + // received from a client. It may return a non-nil Config in order to + // change the Config that will be used to handle this connection. If + // the returned Config is nil, the original Config will be used. The + // Config returned by this callback may not be subsequently modified. + // + // If GetConfigForClient is nil, the Config passed to Server() will be + // used for all connections. + // + // If SessionTicketKey was explicitly set on the returned Config, or if + // SetSessionTicketKeys was called on the returned Config, those keys will + // be used. Otherwise, the original Config keys will be used (and possibly + // rotated if they are automatically managed). + GetConfigForClient func(*ClientHelloInfo) (*Config, error) + + // VerifyPeerCertificate, if not nil, is called after normal + // certificate verification by either a TLS client or server. It + // receives the raw ASN.1 certificates provided by the peer and also + // any verified chains that normal processing found. If it returns a + // non-nil error, the handshake is aborted and that error results. + // + // If normal verification fails then the handshake will abort before + // considering this callback. If normal verification is disabled by + // setting InsecureSkipVerify, or (for a server) when ClientAuth is + // RequestClientCert or RequireAnyClientCert, then this callback will + // be considered but the verifiedChains argument will always be nil. + VerifyPeerCertificate func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error + + // VerifyConnection, if not nil, is called after normal certificate + // verification and after VerifyPeerCertificate by either a TLS client + // or server. If it returns a non-nil error, the handshake is aborted + // and that error results. + // + // If normal verification fails then the handshake will abort before + // considering this callback. This callback will run for all connections + // regardless of InsecureSkipVerify or ClientAuth settings. + VerifyConnection func(ConnectionState) error + + // RootCAs defines the set of root certificate authorities + // that clients use when verifying server certificates. + // If RootCAs is nil, TLS uses the host's root CA set. + RootCAs *x509.CertPool + + // NextProtos is a list of supported application level protocols, in + // order of preference. If both peers support ALPN, the selected + // protocol will be one from this list, and the connection will fail + // if there is no mutually supported protocol. If NextProtos is empty + // or the peer doesn't support ALPN, the connection will succeed and + // ConnectionState.NegotiatedProtocol will be empty. + NextProtos []string + + // ServerName is used to verify the hostname on the returned + // certificates unless InsecureSkipVerify is given. It is also included + // in the client's handshake to support virtual hosting unless it is + // an IP address. + ServerName string + + // ClientAuth determines the server's policy for + // TLS Client Authentication. The default is NoClientCert. + ClientAuth ClientAuthType + + // ClientCAs defines the set of root certificate authorities + // that servers use if required to verify a client certificate + // by the policy in ClientAuth. + ClientCAs *x509.CertPool + + // InsecureSkipVerify controls whether a client verifies the server's + // certificate chain and host name. If InsecureSkipVerify is true, crypto/tls + // accepts any certificate presented by the server and any host name in that + // certificate. In this mode, TLS is susceptible to machine-in-the-middle + // attacks unless custom verification is used. This should be used only for + // testing or in combination with VerifyConnection or VerifyPeerCertificate. + InsecureSkipVerify bool + + // CipherSuites is a list of enabled TLS 1.0–1.2 cipher suites. The order of + // the list is ignored. Note that TLS 1.3 ciphersuites are not configurable. + // + // If CipherSuites is nil, a safe default list is used. The default cipher + // suites might change over time. + CipherSuites []uint16 + + // PreferServerCipherSuites is a legacy field and has no effect. + // + // It used to control whether the server would follow the client's or the + // server's preference. Servers now select the best mutually supported + // cipher suite based on logic that takes into account inferred client + // hardware, server hardware, and security. + // + // Deprecated: PreferServerCipherSuites is ignored. + PreferServerCipherSuites bool + + // SessionTicketsDisabled may be set to true to disable session ticket and + // PSK (resumption) support. Note that on clients, session ticket support is + // also disabled if ClientSessionCache is nil. + SessionTicketsDisabled bool + + // SessionTicketKey is used by TLS servers to provide session resumption. + // See RFC 5077 and the PSK mode of RFC 8446. If zero, it will be filled + // with random data before the first server handshake. + // + // Deprecated: if this field is left at zero, session ticket keys will be + // automatically rotated every day and dropped after seven days. For + // customizing the rotation schedule or synchronizing servers that are + // terminating connections for the same host, use SetSessionTicketKeys. + SessionTicketKey [32]byte + + // ClientSessionCache is a cache of ClientSessionState entries for TLS + // session resumption. It is only used by clients. + ClientSessionCache ClientSessionCache + + // MinVersion contains the minimum TLS version that is acceptable. + // + // By default, TLS 1.2 is currently used as the minimum when acting as a + // client, and TLS 1.0 when acting as a server. TLS 1.0 is the minimum + // supported by this package, both as a client and as a server. + // + // The client-side default can temporarily be reverted to TLS 1.0 by + // including the value "x509sha1=1" in the GODEBUG environment variable. + // Note that this option will be removed in Go 1.19 (but it will still be + // possible to set this field to VersionTLS10 explicitly). + MinVersion uint16 + + // MaxVersion contains the maximum TLS version that is acceptable. + // + // By default, the maximum version supported by this package is used, + // which is currently TLS 1.3. + MaxVersion uint16 + + // CurvePreferences contains the elliptic curves that will be used in + // an ECDHE handshake, in preference order. If empty, the default will + // be used. The client will use the first preference as the type for + // its key share in TLS 1.3. This may change in the future. + CurvePreferences []CurveID + + // DynamicRecordSizingDisabled disables adaptive sizing of TLS records. + // When true, the largest possible TLS record size is always used. When + // false, the size of TLS records may be adjusted in an attempt to + // improve latency. + DynamicRecordSizingDisabled bool + + // Renegotiation controls what types of renegotiation are supported. + // The default, none, is correct for the vast majority of applications. + Renegotiation RenegotiationSupport + + // KeyLogWriter optionally specifies a destination for TLS master secrets + // in NSS key log format that can be used to allow external programs + // such as Wireshark to decrypt TLS connections. + // See https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format. + // Use of KeyLogWriter compromises security and should only be + // used for debugging. + KeyLogWriter io.Writer + + // mutex protects sessionTicketKeys and autoSessionTicketKeys. + mutex sync.RWMutex + // sessionTicketKeys contains zero or more ticket keys. If set, it means the + // the keys were set with SessionTicketKey or SetSessionTicketKeys. The + // first key is used for new tickets and any subsequent keys can be used to + // decrypt old tickets. The slice contents are not protected by the mutex + // and are immutable. + sessionTicketKeys []ticketKey + // autoSessionTicketKeys is like sessionTicketKeys but is owned by the + // auto-rotation logic. See Config.ticketKeys. + autoSessionTicketKeys []ticketKey +} + +// A RecordLayer handles encrypting and decrypting of TLS messages. +type RecordLayer interface { + SetReadKey(encLevel EncryptionLevel, suite *CipherSuiteTLS13, trafficSecret []byte) + SetWriteKey(encLevel EncryptionLevel, suite *CipherSuiteTLS13, trafficSecret []byte) + ReadHandshakeMessage() ([]byte, error) + WriteRecord([]byte) (int, error) + SendAlert(uint8) +} + +type ExtraConfig struct { + // GetExtensions, if not nil, is called before a message that allows + // sending of extensions is sent. + // Currently only implemented for the ClientHello message (for the client) + // and for the EncryptedExtensions message (for the server). + // Only valid for TLS 1.3. + GetExtensions func(handshakeMessageType uint8) []Extension + + // ReceivedExtensions, if not nil, is called when a message that allows the + // inclusion of extensions is received. + // It is called with an empty slice of extensions, if the message didn't + // contain any extensions. + // Currently only implemented for the ClientHello message (sent by the + // client) and for the EncryptedExtensions message (sent by the server). + // Only valid for TLS 1.3. + ReceivedExtensions func(handshakeMessageType uint8, exts []Extension) + + // AlternativeRecordLayer is used by QUIC + AlternativeRecordLayer RecordLayer + + // Enforce the selection of a supported application protocol. + // Only works for TLS 1.3. + // If enabled, client and server have to agree on an application protocol. + // Otherwise, connection establishment fails. + EnforceNextProtoSelection bool + + // If MaxEarlyData is greater than 0, the client will be allowed to send early + // data when resuming a session. + // Requires the AlternativeRecordLayer to be set. + // + // It has no meaning on the client. + MaxEarlyData uint32 + + // The Accept0RTT callback is called when the client offers 0-RTT. + // The server then has to decide if it wants to accept or reject 0-RTT. + // It is only used for servers. + Accept0RTT func(appData []byte) bool + + // 0RTTRejected is called when the server rejectes 0-RTT. + // It is only used for clients. + Rejected0RTT func() + + // If set, the client will export the 0-RTT key when resuming a session that + // allows sending of early data. + // Requires the AlternativeRecordLayer to be set. + // + // It has no meaning to the server. + Enable0RTT bool + + // Is called when the client saves a session ticket to the session ticket. + // This gives the application the opportunity to save some data along with the ticket, + // which can be restored when the session ticket is used. + GetAppDataForSessionState func() []byte + + // Is called when the client uses a session ticket. + // Restores the application data that was saved earlier on GetAppDataForSessionTicket. + SetAppDataFromSessionState func([]byte) +} + +// Clone clones. +func (c *ExtraConfig) Clone() *ExtraConfig { + return &ExtraConfig{ + GetExtensions: c.GetExtensions, + ReceivedExtensions: c.ReceivedExtensions, + AlternativeRecordLayer: c.AlternativeRecordLayer, + EnforceNextProtoSelection: c.EnforceNextProtoSelection, + MaxEarlyData: c.MaxEarlyData, + Enable0RTT: c.Enable0RTT, + Accept0RTT: c.Accept0RTT, + Rejected0RTT: c.Rejected0RTT, + GetAppDataForSessionState: c.GetAppDataForSessionState, + SetAppDataFromSessionState: c.SetAppDataFromSessionState, + } +} + +func (c *ExtraConfig) usesAlternativeRecordLayer() bool { + return c != nil && c.AlternativeRecordLayer != nil +} + +const ( + // ticketKeyNameLen is the number of bytes of identifier that is prepended to + // an encrypted session ticket in order to identify the key used to encrypt it. + ticketKeyNameLen = 16 + + // ticketKeyLifetime is how long a ticket key remains valid and can be used to + // resume a client connection. + ticketKeyLifetime = 7 * 24 * time.Hour // 7 days + + // ticketKeyRotation is how often the server should rotate the session ticket key + // that is used for new tickets. + ticketKeyRotation = 24 * time.Hour +) + +// ticketKey is the internal representation of a session ticket key. +type ticketKey struct { + // keyName is an opaque byte string that serves to identify the session + // ticket key. It's exposed as plaintext in every session ticket. + keyName [ticketKeyNameLen]byte + aesKey [16]byte + hmacKey [16]byte + // created is the time at which this ticket key was created. See Config.ticketKeys. + created time.Time +} + +// ticketKeyFromBytes converts from the external representation of a session +// ticket key to a ticketKey. Externally, session ticket keys are 32 random +// bytes and this function expands that into sufficient name and key material. +func (c *config) ticketKeyFromBytes(b [32]byte) (key ticketKey) { + hashed := sha512.Sum512(b[:]) + copy(key.keyName[:], hashed[:ticketKeyNameLen]) + copy(key.aesKey[:], hashed[ticketKeyNameLen:ticketKeyNameLen+16]) + copy(key.hmacKey[:], hashed[ticketKeyNameLen+16:ticketKeyNameLen+32]) + key.created = c.time() + return key +} + +// maxSessionTicketLifetime is the maximum allowed lifetime of a TLS 1.3 session +// ticket, and the lifetime we set for tickets we send. +const maxSessionTicketLifetime = 7 * 24 * time.Hour + +// Clone returns a shallow clone of c or nil if c is nil. It is safe to clone a Config that is +// being used concurrently by a TLS client or server. +func (c *config) Clone() *config { + if c == nil { + return nil + } + c.mutex.RLock() + defer c.mutex.RUnlock() + return &config{ + Rand: c.Rand, + Time: c.Time, + Certificates: c.Certificates, + NameToCertificate: c.NameToCertificate, + GetCertificate: c.GetCertificate, + GetClientCertificate: c.GetClientCertificate, + GetConfigForClient: c.GetConfigForClient, + VerifyPeerCertificate: c.VerifyPeerCertificate, + VerifyConnection: c.VerifyConnection, + RootCAs: c.RootCAs, + NextProtos: c.NextProtos, + ServerName: c.ServerName, + ClientAuth: c.ClientAuth, + ClientCAs: c.ClientCAs, + InsecureSkipVerify: c.InsecureSkipVerify, + CipherSuites: c.CipherSuites, + PreferServerCipherSuites: c.PreferServerCipherSuites, + SessionTicketsDisabled: c.SessionTicketsDisabled, + SessionTicketKey: c.SessionTicketKey, + ClientSessionCache: c.ClientSessionCache, + MinVersion: c.MinVersion, + MaxVersion: c.MaxVersion, + CurvePreferences: c.CurvePreferences, + DynamicRecordSizingDisabled: c.DynamicRecordSizingDisabled, + Renegotiation: c.Renegotiation, + KeyLogWriter: c.KeyLogWriter, + sessionTicketKeys: c.sessionTicketKeys, + autoSessionTicketKeys: c.autoSessionTicketKeys, + } +} + +// deprecatedSessionTicketKey is set as the prefix of SessionTicketKey if it was +// randomized for backwards compatibility but is not in use. +var deprecatedSessionTicketKey = []byte("DEPRECATED") + +// initLegacySessionTicketKeyRLocked ensures the legacy SessionTicketKey field is +// randomized if empty, and that sessionTicketKeys is populated from it otherwise. +func (c *config) initLegacySessionTicketKeyRLocked() { + // Don't write if SessionTicketKey is already defined as our deprecated string, + // or if it is defined by the user but sessionTicketKeys is already set. + if c.SessionTicketKey != [32]byte{} && + (bytes.HasPrefix(c.SessionTicketKey[:], deprecatedSessionTicketKey) || len(c.sessionTicketKeys) > 0) { + return + } + + // We need to write some data, so get an exclusive lock and re-check any conditions. + c.mutex.RUnlock() + defer c.mutex.RLock() + c.mutex.Lock() + defer c.mutex.Unlock() + if c.SessionTicketKey == [32]byte{} { + if _, err := io.ReadFull(c.rand(), c.SessionTicketKey[:]); err != nil { + panic(fmt.Sprintf("tls: unable to generate random session ticket key: %v", err)) + } + // Write the deprecated prefix at the beginning so we know we created + // it. This key with the DEPRECATED prefix isn't used as an actual + // session ticket key, and is only randomized in case the application + // reuses it for some reason. + copy(c.SessionTicketKey[:], deprecatedSessionTicketKey) + } else if !bytes.HasPrefix(c.SessionTicketKey[:], deprecatedSessionTicketKey) && len(c.sessionTicketKeys) == 0 { + c.sessionTicketKeys = []ticketKey{c.ticketKeyFromBytes(c.SessionTicketKey)} + } + +} + +// ticketKeys returns the ticketKeys for this connection. +// If configForClient has explicitly set keys, those will +// be returned. Otherwise, the keys on c will be used and +// may be rotated if auto-managed. +// During rotation, any expired session ticket keys are deleted from +// c.sessionTicketKeys. If the session ticket key that is currently +// encrypting tickets (ie. the first ticketKey in c.sessionTicketKeys) +// is not fresh, then a new session ticket key will be +// created and prepended to c.sessionTicketKeys. +func (c *config) ticketKeys(configForClient *config) []ticketKey { + // If the ConfigForClient callback returned a Config with explicitly set + // keys, use those, otherwise just use the original Config. + if configForClient != nil { + configForClient.mutex.RLock() + if configForClient.SessionTicketsDisabled { + return nil + } + configForClient.initLegacySessionTicketKeyRLocked() + if len(configForClient.sessionTicketKeys) != 0 { + ret := configForClient.sessionTicketKeys + configForClient.mutex.RUnlock() + return ret + } + configForClient.mutex.RUnlock() + } + + c.mutex.RLock() + defer c.mutex.RUnlock() + if c.SessionTicketsDisabled { + return nil + } + c.initLegacySessionTicketKeyRLocked() + if len(c.sessionTicketKeys) != 0 { + return c.sessionTicketKeys + } + // Fast path for the common case where the key is fresh enough. + if len(c.autoSessionTicketKeys) > 0 && c.time().Sub(c.autoSessionTicketKeys[0].created) < ticketKeyRotation { + return c.autoSessionTicketKeys + } + + // autoSessionTicketKeys are managed by auto-rotation. + c.mutex.RUnlock() + defer c.mutex.RLock() + c.mutex.Lock() + defer c.mutex.Unlock() + // Re-check the condition in case it changed since obtaining the new lock. + if len(c.autoSessionTicketKeys) == 0 || c.time().Sub(c.autoSessionTicketKeys[0].created) >= ticketKeyRotation { + var newKey [32]byte + if _, err := io.ReadFull(c.rand(), newKey[:]); err != nil { + panic(fmt.Sprintf("unable to generate random session ticket key: %v", err)) + } + valid := make([]ticketKey, 0, len(c.autoSessionTicketKeys)+1) + valid = append(valid, c.ticketKeyFromBytes(newKey)) + for _, k := range c.autoSessionTicketKeys { + // While rotating the current key, also remove any expired ones. + if c.time().Sub(k.created) < ticketKeyLifetime { + valid = append(valid, k) + } + } + c.autoSessionTicketKeys = valid + } + return c.autoSessionTicketKeys +} + +// SetSessionTicketKeys updates the session ticket keys for a server. +// +// The first key will be used when creating new tickets, while all keys can be +// used for decrypting tickets. It is safe to call this function while the +// server is running in order to rotate the session ticket keys. The function +// will panic if keys is empty. +// +// Calling this function will turn off automatic session ticket key rotation. +// +// If multiple servers are terminating connections for the same host they should +// all have the same session ticket keys. If the session ticket keys leaks, +// previously recorded and future TLS connections using those keys might be +// compromised. +func (c *config) SetSessionTicketKeys(keys [][32]byte) { + if len(keys) == 0 { + panic("tls: keys must have at least one key") + } + + newKeys := make([]ticketKey, len(keys)) + for i, bytes := range keys { + newKeys[i] = c.ticketKeyFromBytes(bytes) + } + + c.mutex.Lock() + c.sessionTicketKeys = newKeys + c.mutex.Unlock() +} + +func (c *config) rand() io.Reader { + r := c.Rand + if r == nil { + return rand.Reader + } + return r +} + +func (c *config) time() time.Time { + t := c.Time + if t == nil { + t = time.Now + } + return t() +} + +func (c *config) cipherSuites() []uint16 { + if needFIPS() { + return fipsCipherSuites(c) + } + if c.CipherSuites != nil { + return c.CipherSuites + } + return defaultCipherSuites +} + +var supportedVersions = []uint16{ + VersionTLS13, + VersionTLS12, + VersionTLS11, + VersionTLS10, +} + +// roleClient and roleServer are meant to call supportedVersions and parents +// with more readability at the callsite. +const roleClient = true +const roleServer = false + +func (c *config) supportedVersions(isClient bool) []uint16 { + versions := make([]uint16, 0, len(supportedVersions)) + for _, v := range supportedVersions { + if needFIPS() && (v < fipsMinVersion(c) || v > fipsMaxVersion(c)) { + continue + } + if (c == nil || c.MinVersion == 0) && + isClient && v < VersionTLS12 { + continue + } + if c != nil && c.MinVersion != 0 && v < c.MinVersion { + continue + } + if c != nil && c.MaxVersion != 0 && v > c.MaxVersion { + continue + } + versions = append(versions, v) + } + return versions +} + +func (c *config) maxSupportedVersion(isClient bool) uint16 { + supportedVersions := c.supportedVersions(isClient) + if len(supportedVersions) == 0 { + return 0 + } + return supportedVersions[0] +} + +// supportedVersionsFromMax returns a list of supported versions derived from a +// legacy maximum version value. Note that only versions supported by this +// library are returned. Any newer peer will use supportedVersions anyway. +func supportedVersionsFromMax(maxVersion uint16) []uint16 { + versions := make([]uint16, 0, len(supportedVersions)) + for _, v := range supportedVersions { + if v > maxVersion { + continue + } + versions = append(versions, v) + } + return versions +} + +var defaultCurvePreferences = []CurveID{X25519, CurveP256, CurveP384, CurveP521} + +func (c *config) curvePreferences() []CurveID { + if needFIPS() { + return fipsCurvePreferences(c) + } + if c == nil || len(c.CurvePreferences) == 0 { + return defaultCurvePreferences + } + return c.CurvePreferences +} + +func (c *config) supportsCurve(curve CurveID) bool { + for _, cc := range c.curvePreferences() { + if cc == curve { + return true + } + } + return false +} + +// mutualVersion returns the protocol version to use given the advertised +// versions of the peer. Priority is given to the peer preference order. +func (c *config) mutualVersion(isClient bool, peerVersions []uint16) (uint16, bool) { + supportedVersions := c.supportedVersions(isClient) + for _, peerVersion := range peerVersions { + for _, v := range supportedVersions { + if v == peerVersion { + return v, true + } + } + } + return 0, false +} + +var errNoCertificates = errors.New("tls: no certificates configured") + +// getCertificate returns the best certificate for the given ClientHelloInfo, +// defaulting to the first element of c.Certificates. +func (c *config) getCertificate(clientHello *ClientHelloInfo) (*Certificate, error) { + if c.GetCertificate != nil && + (len(c.Certificates) == 0 || len(clientHello.ServerName) > 0) { + cert, err := c.GetCertificate(clientHello) + if cert != nil || err != nil { + return cert, err + } + } + + if len(c.Certificates) == 0 { + return nil, errNoCertificates + } + + if len(c.Certificates) == 1 { + // There's only one choice, so no point doing any work. + return &c.Certificates[0], nil + } + + if c.NameToCertificate != nil { + name := strings.ToLower(clientHello.ServerName) + if cert, ok := c.NameToCertificate[name]; ok { + return cert, nil + } + if len(name) > 0 { + labels := strings.Split(name, ".") + labels[0] = "*" + wildcardName := strings.Join(labels, ".") + if cert, ok := c.NameToCertificate[wildcardName]; ok { + return cert, nil + } + } + } + + for _, cert := range c.Certificates { + if err := clientHello.SupportsCertificate(&cert); err == nil { + return &cert, nil + } + } + + // If nothing matches, return the first certificate. + return &c.Certificates[0], nil +} + +// SupportsCertificate returns nil if the provided certificate is supported by +// the client that sent the ClientHello. Otherwise, it returns an error +// describing the reason for the incompatibility. +// +// If this ClientHelloInfo was passed to a GetConfigForClient or GetCertificate +// callback, this method will take into account the associated Config. Note that +// if GetConfigForClient returns a different Config, the change can't be +// accounted for by this method. +// +// This function will call x509.ParseCertificate unless c.Leaf is set, which can +// incur a significant performance cost. +func (chi *clientHelloInfo) SupportsCertificate(c *Certificate) error { + // Note we don't currently support certificate_authorities nor + // signature_algorithms_cert, and don't check the algorithms of the + // signatures on the chain (which anyway are a SHOULD, see RFC 8446, + // Section 4.4.2.2). + + config := chi.config + if config == nil { + config = &Config{} + } + conf := fromConfig(config) + vers, ok := conf.mutualVersion(roleServer, chi.SupportedVersions) + if !ok { + return errors.New("no mutually supported protocol versions") + } + + // If the client specified the name they are trying to connect to, the + // certificate needs to be valid for it. + if chi.ServerName != "" { + x509Cert, err := leafCertificate(c) + if err != nil { + return fmt.Errorf("failed to parse certificate: %w", err) + } + if err := x509Cert.VerifyHostname(chi.ServerName); err != nil { + return fmt.Errorf("certificate is not valid for requested server name: %w", err) + } + } + + // supportsRSAFallback returns nil if the certificate and connection support + // the static RSA key exchange, and unsupported otherwise. The logic for + // supporting static RSA is completely disjoint from the logic for + // supporting signed key exchanges, so we just check it as a fallback. + supportsRSAFallback := func(unsupported error) error { + // TLS 1.3 dropped support for the static RSA key exchange. + if vers == VersionTLS13 { + return unsupported + } + // The static RSA key exchange works by decrypting a challenge with the + // RSA private key, not by signing, so check the PrivateKey implements + // crypto.Decrypter, like *rsa.PrivateKey does. + if priv, ok := c.PrivateKey.(crypto.Decrypter); ok { + if _, ok := priv.Public().(*rsa.PublicKey); !ok { + return unsupported + } + } else { + return unsupported + } + // Finally, there needs to be a mutual cipher suite that uses the static + // RSA key exchange instead of ECDHE. + rsaCipherSuite := selectCipherSuite(chi.CipherSuites, conf.cipherSuites(), func(c *cipherSuite) bool { + if c.flags&suiteECDHE != 0 { + return false + } + if vers < VersionTLS12 && c.flags&suiteTLS12 != 0 { + return false + } + return true + }) + if rsaCipherSuite == nil { + return unsupported + } + return nil + } + + // If the client sent the signature_algorithms extension, ensure it supports + // schemes we can use with this certificate and TLS version. + if len(chi.SignatureSchemes) > 0 { + if _, err := selectSignatureScheme(vers, c, chi.SignatureSchemes); err != nil { + return supportsRSAFallback(err) + } + } + + // In TLS 1.3 we are done because supported_groups is only relevant to the + // ECDHE computation, point format negotiation is removed, cipher suites are + // only relevant to the AEAD choice, and static RSA does not exist. + if vers == VersionTLS13 { + return nil + } + + // The only signed key exchange we support is ECDHE. + if !supportsECDHE(conf, chi.SupportedCurves, chi.SupportedPoints) { + return supportsRSAFallback(errors.New("client doesn't support ECDHE, can only use legacy RSA key exchange")) + } + + var ecdsaCipherSuite bool + if priv, ok := c.PrivateKey.(crypto.Signer); ok { + switch pub := priv.Public().(type) { + case *ecdsa.PublicKey: + var curve CurveID + switch pub.Curve { + case elliptic.P256(): + curve = CurveP256 + case elliptic.P384(): + curve = CurveP384 + case elliptic.P521(): + curve = CurveP521 + default: + return supportsRSAFallback(unsupportedCertificateError(c)) + } + var curveOk bool + for _, c := range chi.SupportedCurves { + if c == curve && conf.supportsCurve(c) { + curveOk = true + break + } + } + if !curveOk { + return errors.New("client doesn't support certificate curve") + } + ecdsaCipherSuite = true + case ed25519.PublicKey: + if vers < VersionTLS12 || len(chi.SignatureSchemes) == 0 { + return errors.New("connection doesn't support Ed25519") + } + ecdsaCipherSuite = true + case *rsa.PublicKey: + default: + return supportsRSAFallback(unsupportedCertificateError(c)) + } + } else { + return supportsRSAFallback(unsupportedCertificateError(c)) + } + + // Make sure that there is a mutually supported cipher suite that works with + // this certificate. Cipher suite selection will then apply the logic in + // reverse to pick it. See also serverHandshakeState.cipherSuiteOk. + cipherSuite := selectCipherSuite(chi.CipherSuites, conf.cipherSuites(), func(c *cipherSuite) bool { + if c.flags&suiteECDHE == 0 { + return false + } + if c.flags&suiteECSign != 0 { + if !ecdsaCipherSuite { + return false + } + } else { + if ecdsaCipherSuite { + return false + } + } + if vers < VersionTLS12 && c.flags&suiteTLS12 != 0 { + return false + } + return true + }) + if cipherSuite == nil { + return supportsRSAFallback(errors.New("client doesn't support any cipher suites compatible with the certificate")) + } + + return nil +} + +// BuildNameToCertificate parses c.Certificates and builds c.NameToCertificate +// from the CommonName and SubjectAlternateName fields of each of the leaf +// certificates. +// +// Deprecated: NameToCertificate only allows associating a single certificate +// with a given name. Leave that field nil to let the library select the first +// compatible chain from Certificates. +func (c *config) BuildNameToCertificate() { + c.NameToCertificate = make(map[string]*Certificate) + for i := range c.Certificates { + cert := &c.Certificates[i] + x509Cert, err := leafCertificate(cert) + if err != nil { + continue + } + // If SANs are *not* present, some clients will consider the certificate + // valid for the name in the Common Name. + if x509Cert.Subject.CommonName != "" && len(x509Cert.DNSNames) == 0 { + c.NameToCertificate[x509Cert.Subject.CommonName] = cert + } + for _, san := range x509Cert.DNSNames { + c.NameToCertificate[san] = cert + } + } +} + +const ( + keyLogLabelTLS12 = "CLIENT_RANDOM" + keyLogLabelEarlyTraffic = "CLIENT_EARLY_TRAFFIC_SECRET" + keyLogLabelClientHandshake = "CLIENT_HANDSHAKE_TRAFFIC_SECRET" + keyLogLabelServerHandshake = "SERVER_HANDSHAKE_TRAFFIC_SECRET" + keyLogLabelClientTraffic = "CLIENT_TRAFFIC_SECRET_0" + keyLogLabelServerTraffic = "SERVER_TRAFFIC_SECRET_0" +) + +func (c *config) writeKeyLog(label string, clientRandom, secret []byte) error { + if c.KeyLogWriter == nil { + return nil + } + + logLine := []byte(fmt.Sprintf("%s %x %x\n", label, clientRandom, secret)) + + writerMutex.Lock() + _, err := c.KeyLogWriter.Write(logLine) + writerMutex.Unlock() + + return err +} + +// writerMutex protects all KeyLogWriters globally. It is rarely enabled, +// and is only for debugging, so a global mutex saves space. +var writerMutex sync.Mutex + +// A Certificate is a chain of one or more certificates, leaf first. +type Certificate = tls.Certificate + +// leaf returns the parsed leaf certificate, either from c.Leaf or by parsing +// the corresponding c.Certificate[0]. +func leafCertificate(c *Certificate) (*x509.Certificate, error) { + if c.Leaf != nil { + return c.Leaf, nil + } + return x509.ParseCertificate(c.Certificate[0]) +} + +type handshakeMessage interface { + marshal() []byte + unmarshal([]byte) bool +} + +// lruSessionCache is a ClientSessionCache implementation that uses an LRU +// caching strategy. +type lruSessionCache struct { + sync.Mutex + + m map[string]*list.Element + q *list.List + capacity int +} + +type lruSessionCacheEntry struct { + sessionKey string + state *ClientSessionState +} + +// NewLRUClientSessionCache returns a ClientSessionCache with the given +// capacity that uses an LRU strategy. If capacity is < 1, a default capacity +// is used instead. +func NewLRUClientSessionCache(capacity int) ClientSessionCache { + const defaultSessionCacheCapacity = 64 + + if capacity < 1 { + capacity = defaultSessionCacheCapacity + } + return &lruSessionCache{ + m: make(map[string]*list.Element), + q: list.New(), + capacity: capacity, + } +} + +// Put adds the provided (sessionKey, cs) pair to the cache. If cs is nil, the entry +// corresponding to sessionKey is removed from the cache instead. +func (c *lruSessionCache) Put(sessionKey string, cs *ClientSessionState) { + c.Lock() + defer c.Unlock() + + if elem, ok := c.m[sessionKey]; ok { + if cs == nil { + c.q.Remove(elem) + delete(c.m, sessionKey) + } else { + entry := elem.Value.(*lruSessionCacheEntry) + entry.state = cs + c.q.MoveToFront(elem) + } + return + } + + if c.q.Len() < c.capacity { + entry := &lruSessionCacheEntry{sessionKey, cs} + c.m[sessionKey] = c.q.PushFront(entry) + return + } + + elem := c.q.Back() + entry := elem.Value.(*lruSessionCacheEntry) + delete(c.m, entry.sessionKey) + entry.sessionKey = sessionKey + entry.state = cs + c.q.MoveToFront(elem) + c.m[sessionKey] = elem +} + +// Get returns the ClientSessionState value associated with a given key. It +// returns (nil, false) if no value is found. +func (c *lruSessionCache) Get(sessionKey string) (*ClientSessionState, bool) { + c.Lock() + defer c.Unlock() + + if elem, ok := c.m[sessionKey]; ok { + c.q.MoveToFront(elem) + return elem.Value.(*lruSessionCacheEntry).state, true + } + return nil, false +} + +var emptyConfig Config + +func defaultConfig() *Config { + return &emptyConfig +} + +func unexpectedMessageError(wanted, got any) error { + return fmt.Errorf("tls: received unexpected handshake message of type %T when waiting for %T", got, wanted) +} + +func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool { + for _, s := range supportedSignatureAlgorithms { + if s == sigAlg { + return true + } + } + return false +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/conn.go b/vendor/github.com/marten-seemann/qtls-go1-19/conn.go new file mode 100644 index 000000000..1b275a9f2 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/conn.go @@ -0,0 +1,1610 @@ +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// TLS low level connection and record layer + +package qtls + +import ( + "bytes" + "context" + "crypto/cipher" + "crypto/subtle" + "crypto/x509" + "errors" + "fmt" + "hash" + "io" + "net" + "sync" + "sync/atomic" + "time" +) + +// A Conn represents a secured connection. +// It implements the net.Conn interface. +type Conn struct { + // constant + conn net.Conn + isClient bool + handshakeFn func(context.Context) error // (*Conn).clientHandshake or serverHandshake + + // handshakeStatus is 1 if the connection is currently transferring + // application data (i.e. is not currently processing a handshake). + // handshakeStatus == 1 implies handshakeErr == nil. + // This field is only to be accessed with sync/atomic. + handshakeStatus uint32 + // constant after handshake; protected by handshakeMutex + handshakeMutex sync.Mutex + handshakeErr error // error resulting from handshake + vers uint16 // TLS version + haveVers bool // version has been negotiated + config *config // configuration passed to constructor + // handshakes counts the number of handshakes performed on the + // connection so far. If renegotiation is disabled then this is either + // zero or one. + extraConfig *ExtraConfig + + handshakes int + didResume bool // whether this connection was a session resumption + cipherSuite uint16 + ocspResponse []byte // stapled OCSP response + scts [][]byte // signed certificate timestamps from server + peerCertificates []*x509.Certificate + // verifiedChains contains the certificate chains that we built, as + // opposed to the ones presented by the server. + verifiedChains [][]*x509.Certificate + // serverName contains the server name indicated by the client, if any. + serverName string + // secureRenegotiation is true if the server echoed the secure + // renegotiation extension. (This is meaningless as a server because + // renegotiation is not supported in that case.) + secureRenegotiation bool + // ekm is a closure for exporting keying material. + ekm func(label string, context []byte, length int) ([]byte, error) + // For the client: + // resumptionSecret is the resumption_master_secret for handling + // NewSessionTicket messages. nil if config.SessionTicketsDisabled. + // For the server: + // resumptionSecret is the resumption_master_secret for generating + // NewSessionTicket messages. Only used when the alternative record + // layer is set. nil if config.SessionTicketsDisabled. + resumptionSecret []byte + + // ticketKeys is the set of active session ticket keys for this + // connection. The first one is used to encrypt new tickets and + // all are tried to decrypt tickets. + ticketKeys []ticketKey + + // clientFinishedIsFirst is true if the client sent the first Finished + // message during the most recent handshake. This is recorded because + // the first transmitted Finished message is the tls-unique + // channel-binding value. + clientFinishedIsFirst bool + + // closeNotifyErr is any error from sending the alertCloseNotify record. + closeNotifyErr error + // closeNotifySent is true if the Conn attempted to send an + // alertCloseNotify record. + closeNotifySent bool + + // clientFinished and serverFinished contain the Finished message sent + // by the client or server in the most recent handshake. This is + // retained to support the renegotiation extension and tls-unique + // channel-binding. + clientFinished [12]byte + serverFinished [12]byte + + // clientProtocol is the negotiated ALPN protocol. + clientProtocol string + + // input/output + in, out halfConn + rawInput bytes.Buffer // raw input, starting with a record header + input bytes.Reader // application data waiting to be read, from rawInput.Next + hand bytes.Buffer // handshake data waiting to be read + buffering bool // whether records are buffered in sendBuf + sendBuf []byte // a buffer of records waiting to be sent + + // bytesSent counts the bytes of application data sent. + // packetsSent counts packets. + bytesSent int64 + packetsSent int64 + + // retryCount counts the number of consecutive non-advancing records + // received by Conn.readRecord. That is, records that neither advance the + // handshake, nor deliver application data. Protected by in.Mutex. + retryCount int + + // activeCall is an atomic int32; the low bit is whether Close has + // been called. the rest of the bits are the number of goroutines + // in Conn.Write. + activeCall int32 + + used0RTT bool + + tmp [16]byte +} + +// Access to net.Conn methods. +// Cannot just embed net.Conn because that would +// export the struct field too. + +// LocalAddr returns the local network address. +func (c *Conn) LocalAddr() net.Addr { + return c.conn.LocalAddr() +} + +// RemoteAddr returns the remote network address. +func (c *Conn) RemoteAddr() net.Addr { + return c.conn.RemoteAddr() +} + +// SetDeadline sets the read and write deadlines associated with the connection. +// A zero value for t means Read and Write will not time out. +// After a Write has timed out, the TLS state is corrupt and all future writes will return the same error. +func (c *Conn) SetDeadline(t time.Time) error { + return c.conn.SetDeadline(t) +} + +// SetReadDeadline sets the read deadline on the underlying connection. +// A zero value for t means Read will not time out. +func (c *Conn) SetReadDeadline(t time.Time) error { + return c.conn.SetReadDeadline(t) +} + +// SetWriteDeadline sets the write deadline on the underlying connection. +// A zero value for t means Write will not time out. +// After a Write has timed out, the TLS state is corrupt and all future writes will return the same error. +func (c *Conn) SetWriteDeadline(t time.Time) error { + return c.conn.SetWriteDeadline(t) +} + +// NetConn returns the underlying connection that is wrapped by c. +// Note that writing to or reading from this connection directly will corrupt the +// TLS session. +func (c *Conn) NetConn() net.Conn { + return c.conn +} + +// A halfConn represents one direction of the record layer +// connection, either sending or receiving. +type halfConn struct { + sync.Mutex + + err error // first permanent error + version uint16 // protocol version + cipher any // cipher algorithm + mac hash.Hash + seq [8]byte // 64-bit sequence number + + scratchBuf [13]byte // to avoid allocs; interface method args escape + + nextCipher any // next encryption state + nextMac hash.Hash // next MAC algorithm + + trafficSecret []byte // current TLS 1.3 traffic secret + + setKeyCallback func(encLevel EncryptionLevel, suite *CipherSuiteTLS13, trafficSecret []byte) +} + +type permanentError struct { + err net.Error +} + +func (e *permanentError) Error() string { return e.err.Error() } +func (e *permanentError) Unwrap() error { return e.err } +func (e *permanentError) Timeout() bool { return e.err.Timeout() } +func (e *permanentError) Temporary() bool { return false } + +func (hc *halfConn) setErrorLocked(err error) error { + if e, ok := err.(net.Error); ok { + hc.err = &permanentError{err: e} + } else { + hc.err = err + } + return hc.err +} + +// prepareCipherSpec sets the encryption and MAC states +// that a subsequent changeCipherSpec will use. +func (hc *halfConn) prepareCipherSpec(version uint16, cipher any, mac hash.Hash) { + hc.version = version + hc.nextCipher = cipher + hc.nextMac = mac +} + +// changeCipherSpec changes the encryption and MAC states +// to the ones previously passed to prepareCipherSpec. +func (hc *halfConn) changeCipherSpec() error { + if hc.nextCipher == nil || hc.version == VersionTLS13 { + return alertInternalError + } + hc.cipher = hc.nextCipher + hc.mac = hc.nextMac + hc.nextCipher = nil + hc.nextMac = nil + for i := range hc.seq { + hc.seq[i] = 0 + } + return nil +} + +func (hc *halfConn) exportKey(encLevel EncryptionLevel, suite *cipherSuiteTLS13, trafficSecret []byte) { + if hc.setKeyCallback != nil { + s := &CipherSuiteTLS13{ + ID: suite.id, + KeyLen: suite.keyLen, + Hash: suite.hash, + AEAD: func(key, fixedNonce []byte) cipher.AEAD { return suite.aead(key, fixedNonce) }, + } + hc.setKeyCallback(encLevel, s, trafficSecret) + } +} + +func (hc *halfConn) setTrafficSecret(suite *cipherSuiteTLS13, secret []byte) { + hc.trafficSecret = secret + key, iv := suite.trafficKey(secret) + hc.cipher = suite.aead(key, iv) + for i := range hc.seq { + hc.seq[i] = 0 + } +} + +// incSeq increments the sequence number. +func (hc *halfConn) incSeq() { + for i := 7; i >= 0; i-- { + hc.seq[i]++ + if hc.seq[i] != 0 { + return + } + } + + // Not allowed to let sequence number wrap. + // Instead, must renegotiate before it does. + // Not likely enough to bother. + panic("TLS: sequence number wraparound") +} + +// explicitNonceLen returns the number of bytes of explicit nonce or IV included +// in each record. Explicit nonces are present only in CBC modes after TLS 1.0 +// and in certain AEAD modes in TLS 1.2. +func (hc *halfConn) explicitNonceLen() int { + if hc.cipher == nil { + return 0 + } + + switch c := hc.cipher.(type) { + case cipher.Stream: + return 0 + case aead: + return c.explicitNonceLen() + case cbcMode: + // TLS 1.1 introduced a per-record explicit IV to fix the BEAST attack. + if hc.version >= VersionTLS11 { + return c.BlockSize() + } + return 0 + default: + panic("unknown cipher type") + } +} + +// extractPadding returns, in constant time, the length of the padding to remove +// from the end of payload. It also returns a byte which is equal to 255 if the +// padding was valid and 0 otherwise. See RFC 2246, Section 6.2.3.2. +func extractPadding(payload []byte) (toRemove int, good byte) { + if len(payload) < 1 { + return 0, 0 + } + + paddingLen := payload[len(payload)-1] + t := uint(len(payload)-1) - uint(paddingLen) + // if len(payload) >= (paddingLen - 1) then the MSB of t is zero + good = byte(int32(^t) >> 31) + + // The maximum possible padding length plus the actual length field + toCheck := 256 + // The length of the padded data is public, so we can use an if here + if toCheck > len(payload) { + toCheck = len(payload) + } + + for i := 0; i < toCheck; i++ { + t := uint(paddingLen) - uint(i) + // if i <= paddingLen then the MSB of t is zero + mask := byte(int32(^t) >> 31) + b := payload[len(payload)-1-i] + good &^= mask&paddingLen ^ mask&b + } + + // We AND together the bits of good and replicate the result across + // all the bits. + good &= good << 4 + good &= good << 2 + good &= good << 1 + good = uint8(int8(good) >> 7) + + // Zero the padding length on error. This ensures any unchecked bytes + // are included in the MAC. Otherwise, an attacker that could + // distinguish MAC failures from padding failures could mount an attack + // similar to POODLE in SSL 3.0: given a good ciphertext that uses a + // full block's worth of padding, replace the final block with another + // block. If the MAC check passed but the padding check failed, the + // last byte of that block decrypted to the block size. + // + // See also macAndPaddingGood logic below. + paddingLen &= good + + toRemove = int(paddingLen) + 1 + return +} + +func roundUp(a, b int) int { + return a + (b-a%b)%b +} + +// cbcMode is an interface for block ciphers using cipher block chaining. +type cbcMode interface { + cipher.BlockMode + SetIV([]byte) +} + +// decrypt authenticates and decrypts the record if protection is active at +// this stage. The returned plaintext might overlap with the input. +func (hc *halfConn) decrypt(record []byte) ([]byte, recordType, error) { + var plaintext []byte + typ := recordType(record[0]) + payload := record[recordHeaderLen:] + + // In TLS 1.3, change_cipher_spec messages are to be ignored without being + // decrypted. See RFC 8446, Appendix D.4. + if hc.version == VersionTLS13 && typ == recordTypeChangeCipherSpec { + return payload, typ, nil + } + + paddingGood := byte(255) + paddingLen := 0 + + explicitNonceLen := hc.explicitNonceLen() + + if hc.cipher != nil { + switch c := hc.cipher.(type) { + case cipher.Stream: + c.XORKeyStream(payload, payload) + case aead: + if len(payload) < explicitNonceLen { + return nil, 0, alertBadRecordMAC + } + nonce := payload[:explicitNonceLen] + if len(nonce) == 0 { + nonce = hc.seq[:] + } + payload = payload[explicitNonceLen:] + + var additionalData []byte + if hc.version == VersionTLS13 { + additionalData = record[:recordHeaderLen] + } else { + additionalData = append(hc.scratchBuf[:0], hc.seq[:]...) + additionalData = append(additionalData, record[:3]...) + n := len(payload) - c.Overhead() + additionalData = append(additionalData, byte(n>>8), byte(n)) + } + + var err error + plaintext, err = c.Open(payload[:0], nonce, payload, additionalData) + if err != nil { + return nil, 0, alertBadRecordMAC + } + case cbcMode: + blockSize := c.BlockSize() + minPayload := explicitNonceLen + roundUp(hc.mac.Size()+1, blockSize) + if len(payload)%blockSize != 0 || len(payload) < minPayload { + return nil, 0, alertBadRecordMAC + } + + if explicitNonceLen > 0 { + c.SetIV(payload[:explicitNonceLen]) + payload = payload[explicitNonceLen:] + } + c.CryptBlocks(payload, payload) + + // In a limited attempt to protect against CBC padding oracles like + // Lucky13, the data past paddingLen (which is secret) is passed to + // the MAC function as extra data, to be fed into the HMAC after + // computing the digest. This makes the MAC roughly constant time as + // long as the digest computation is constant time and does not + // affect the subsequent write, modulo cache effects. + paddingLen, paddingGood = extractPadding(payload) + default: + panic("unknown cipher type") + } + + if hc.version == VersionTLS13 { + if typ != recordTypeApplicationData { + return nil, 0, alertUnexpectedMessage + } + if len(plaintext) > maxPlaintext+1 { + return nil, 0, alertRecordOverflow + } + // Remove padding and find the ContentType scanning from the end. + for i := len(plaintext) - 1; i >= 0; i-- { + if plaintext[i] != 0 { + typ = recordType(plaintext[i]) + plaintext = plaintext[:i] + break + } + if i == 0 { + return nil, 0, alertUnexpectedMessage + } + } + } + } else { + plaintext = payload + } + + if hc.mac != nil { + macSize := hc.mac.Size() + if len(payload) < macSize { + return nil, 0, alertBadRecordMAC + } + + n := len(payload) - macSize - paddingLen + n = subtle.ConstantTimeSelect(int(uint32(n)>>31), 0, n) // if n < 0 { n = 0 } + record[3] = byte(n >> 8) + record[4] = byte(n) + remoteMAC := payload[n : n+macSize] + localMAC := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload[:n], payload[n+macSize:]) + + // This is equivalent to checking the MACs and paddingGood + // separately, but in constant-time to prevent distinguishing + // padding failures from MAC failures. Depending on what value + // of paddingLen was returned on bad padding, distinguishing + // bad MAC from bad padding can lead to an attack. + // + // See also the logic at the end of extractPadding. + macAndPaddingGood := subtle.ConstantTimeCompare(localMAC, remoteMAC) & int(paddingGood) + if macAndPaddingGood != 1 { + return nil, 0, alertBadRecordMAC + } + + plaintext = payload[:n] + } + + hc.incSeq() + return plaintext, typ, nil +} + +func (c *Conn) setAlternativeRecordLayer() { + if c.extraConfig != nil && c.extraConfig.AlternativeRecordLayer != nil { + c.in.setKeyCallback = c.extraConfig.AlternativeRecordLayer.SetReadKey + c.out.setKeyCallback = c.extraConfig.AlternativeRecordLayer.SetWriteKey + } +} + +// sliceForAppend extends the input slice by n bytes. head is the full extended +// slice, while tail is the appended part. If the original slice has sufficient +// capacity no allocation is performed. +func sliceForAppend(in []byte, n int) (head, tail []byte) { + if total := len(in) + n; cap(in) >= total { + head = in[:total] + } else { + head = make([]byte, total) + copy(head, in) + } + tail = head[len(in):] + return +} + +// encrypt encrypts payload, adding the appropriate nonce and/or MAC, and +// appends it to record, which must already contain the record header. +func (hc *halfConn) encrypt(record, payload []byte, rand io.Reader) ([]byte, error) { + if hc.cipher == nil { + return append(record, payload...), nil + } + + var explicitNonce []byte + if explicitNonceLen := hc.explicitNonceLen(); explicitNonceLen > 0 { + record, explicitNonce = sliceForAppend(record, explicitNonceLen) + if _, isCBC := hc.cipher.(cbcMode); !isCBC && explicitNonceLen < 16 { + // The AES-GCM construction in TLS has an explicit nonce so that the + // nonce can be random. However, the nonce is only 8 bytes which is + // too small for a secure, random nonce. Therefore we use the + // sequence number as the nonce. The 3DES-CBC construction also has + // an 8 bytes nonce but its nonces must be unpredictable (see RFC + // 5246, Appendix F.3), forcing us to use randomness. That's not + // 3DES' biggest problem anyway because the birthday bound on block + // collision is reached first due to its similarly small block size + // (see the Sweet32 attack). + copy(explicitNonce, hc.seq[:]) + } else { + if _, err := io.ReadFull(rand, explicitNonce); err != nil { + return nil, err + } + } + } + + var dst []byte + switch c := hc.cipher.(type) { + case cipher.Stream: + mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil) + record, dst = sliceForAppend(record, len(payload)+len(mac)) + c.XORKeyStream(dst[:len(payload)], payload) + c.XORKeyStream(dst[len(payload):], mac) + case aead: + nonce := explicitNonce + if len(nonce) == 0 { + nonce = hc.seq[:] + } + + if hc.version == VersionTLS13 { + record = append(record, payload...) + + // Encrypt the actual ContentType and replace the plaintext one. + record = append(record, record[0]) + record[0] = byte(recordTypeApplicationData) + + n := len(payload) + 1 + c.Overhead() + record[3] = byte(n >> 8) + record[4] = byte(n) + + record = c.Seal(record[:recordHeaderLen], + nonce, record[recordHeaderLen:], record[:recordHeaderLen]) + } else { + additionalData := append(hc.scratchBuf[:0], hc.seq[:]...) + additionalData = append(additionalData, record[:recordHeaderLen]...) + record = c.Seal(record, nonce, payload, additionalData) + } + case cbcMode: + mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil) + blockSize := c.BlockSize() + plaintextLen := len(payload) + len(mac) + paddingLen := blockSize - plaintextLen%blockSize + record, dst = sliceForAppend(record, plaintextLen+paddingLen) + copy(dst, payload) + copy(dst[len(payload):], mac) + for i := plaintextLen; i < len(dst); i++ { + dst[i] = byte(paddingLen - 1) + } + if len(explicitNonce) > 0 { + c.SetIV(explicitNonce) + } + c.CryptBlocks(dst, dst) + default: + panic("unknown cipher type") + } + + // Update length to include nonce, MAC and any block padding needed. + n := len(record) - recordHeaderLen + record[3] = byte(n >> 8) + record[4] = byte(n) + hc.incSeq() + + return record, nil +} + +// RecordHeaderError is returned when a TLS record header is invalid. +type RecordHeaderError struct { + // Msg contains a human readable string that describes the error. + Msg string + // RecordHeader contains the five bytes of TLS record header that + // triggered the error. + RecordHeader [5]byte + // Conn provides the underlying net.Conn in the case that a client + // sent an initial handshake that didn't look like TLS. + // It is nil if there's already been a handshake or a TLS alert has + // been written to the connection. + Conn net.Conn +} + +func (e RecordHeaderError) Error() string { return "tls: " + e.Msg } + +func (c *Conn) newRecordHeaderError(conn net.Conn, msg string) (err RecordHeaderError) { + err.Msg = msg + err.Conn = conn + copy(err.RecordHeader[:], c.rawInput.Bytes()) + return err +} + +func (c *Conn) readRecord() error { + return c.readRecordOrCCS(false) +} + +func (c *Conn) readChangeCipherSpec() error { + return c.readRecordOrCCS(true) +} + +// readRecordOrCCS reads one or more TLS records from the connection and +// updates the record layer state. Some invariants: +// - c.in must be locked +// - c.input must be empty +// +// During the handshake one and only one of the following will happen: +// - c.hand grows +// - c.in.changeCipherSpec is called +// - an error is returned +// +// After the handshake one and only one of the following will happen: +// - c.hand grows +// - c.input is set +// - an error is returned +func (c *Conn) readRecordOrCCS(expectChangeCipherSpec bool) error { + if c.in.err != nil { + return c.in.err + } + handshakeComplete := c.handshakeComplete() + + // This function modifies c.rawInput, which owns the c.input memory. + if c.input.Len() != 0 { + return c.in.setErrorLocked(errors.New("tls: internal error: attempted to read record with pending application data")) + } + c.input.Reset(nil) + + // Read header, payload. + if err := c.readFromUntil(c.conn, recordHeaderLen); err != nil { + // RFC 8446, Section 6.1 suggests that EOF without an alertCloseNotify + // is an error, but popular web sites seem to do this, so we accept it + // if and only if at the record boundary. + if err == io.ErrUnexpectedEOF && c.rawInput.Len() == 0 { + err = io.EOF + } + if e, ok := err.(net.Error); !ok || !e.Temporary() { + c.in.setErrorLocked(err) + } + return err + } + hdr := c.rawInput.Bytes()[:recordHeaderLen] + typ := recordType(hdr[0]) + + // No valid TLS record has a type of 0x80, however SSLv2 handshakes + // start with a uint16 length where the MSB is set and the first record + // is always < 256 bytes long. Therefore typ == 0x80 strongly suggests + // an SSLv2 client. + if !handshakeComplete && typ == 0x80 { + c.sendAlert(alertProtocolVersion) + return c.in.setErrorLocked(c.newRecordHeaderError(nil, "unsupported SSLv2 handshake received")) + } + + vers := uint16(hdr[1])<<8 | uint16(hdr[2]) + n := int(hdr[3])<<8 | int(hdr[4]) + if c.haveVers && c.vers != VersionTLS13 && vers != c.vers { + c.sendAlert(alertProtocolVersion) + msg := fmt.Sprintf("received record with version %x when expecting version %x", vers, c.vers) + return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg)) + } + if !c.haveVers { + // First message, be extra suspicious: this might not be a TLS + // client. Bail out before reading a full 'body', if possible. + // The current max version is 3.3 so if the version is >= 16.0, + // it's probably not real. + if (typ != recordTypeAlert && typ != recordTypeHandshake) || vers >= 0x1000 { + return c.in.setErrorLocked(c.newRecordHeaderError(c.conn, "first record does not look like a TLS handshake")) + } + } + if c.vers == VersionTLS13 && n > maxCiphertextTLS13 || n > maxCiphertext { + c.sendAlert(alertRecordOverflow) + msg := fmt.Sprintf("oversized record received with length %d", n) + return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg)) + } + if err := c.readFromUntil(c.conn, recordHeaderLen+n); err != nil { + if e, ok := err.(net.Error); !ok || !e.Temporary() { + c.in.setErrorLocked(err) + } + return err + } + + // Process message. + record := c.rawInput.Next(recordHeaderLen + n) + data, typ, err := c.in.decrypt(record) + if err != nil { + return c.in.setErrorLocked(c.sendAlert(err.(alert))) + } + if len(data) > maxPlaintext { + return c.in.setErrorLocked(c.sendAlert(alertRecordOverflow)) + } + + // Application Data messages are always protected. + if c.in.cipher == nil && typ == recordTypeApplicationData { + return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) + } + + if typ != recordTypeAlert && typ != recordTypeChangeCipherSpec && len(data) > 0 { + // This is a state-advancing message: reset the retry count. + c.retryCount = 0 + } + + // Handshake messages MUST NOT be interleaved with other record types in TLS 1.3. + if c.vers == VersionTLS13 && typ != recordTypeHandshake && c.hand.Len() > 0 { + return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) + } + + switch typ { + default: + return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) + + case recordTypeAlert: + if len(data) != 2 { + return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) + } + if alert(data[1]) == alertCloseNotify { + return c.in.setErrorLocked(io.EOF) + } + if c.vers == VersionTLS13 { + return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])}) + } + switch data[0] { + case alertLevelWarning: + // Drop the record on the floor and retry. + return c.retryReadRecord(expectChangeCipherSpec) + case alertLevelError: + return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])}) + default: + return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) + } + + case recordTypeChangeCipherSpec: + if len(data) != 1 || data[0] != 1 { + return c.in.setErrorLocked(c.sendAlert(alertDecodeError)) + } + // Handshake messages are not allowed to fragment across the CCS. + if c.hand.Len() > 0 { + return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) + } + // In TLS 1.3, change_cipher_spec records are ignored until the + // Finished. See RFC 8446, Appendix D.4. Note that according to Section + // 5, a server can send a ChangeCipherSpec before its ServerHello, when + // c.vers is still unset. That's not useful though and suspicious if the + // server then selects a lower protocol version, so don't allow that. + if c.vers == VersionTLS13 { + return c.retryReadRecord(expectChangeCipherSpec) + } + if !expectChangeCipherSpec { + return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) + } + if err := c.in.changeCipherSpec(); err != nil { + return c.in.setErrorLocked(c.sendAlert(err.(alert))) + } + + case recordTypeApplicationData: + if !handshakeComplete || expectChangeCipherSpec { + return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) + } + // Some OpenSSL servers send empty records in order to randomize the + // CBC IV. Ignore a limited number of empty records. + if len(data) == 0 { + return c.retryReadRecord(expectChangeCipherSpec) + } + // Note that data is owned by c.rawInput, following the Next call above, + // to avoid copying the plaintext. This is safe because c.rawInput is + // not read from or written to until c.input is drained. + c.input.Reset(data) + + case recordTypeHandshake: + if len(data) == 0 || expectChangeCipherSpec { + return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) + } + c.hand.Write(data) + } + + return nil +} + +// retryReadRecord recurs into readRecordOrCCS to drop a non-advancing record, like +// a warning alert, empty application_data, or a change_cipher_spec in TLS 1.3. +func (c *Conn) retryReadRecord(expectChangeCipherSpec bool) error { + c.retryCount++ + if c.retryCount > maxUselessRecords { + c.sendAlert(alertUnexpectedMessage) + return c.in.setErrorLocked(errors.New("tls: too many ignored records")) + } + return c.readRecordOrCCS(expectChangeCipherSpec) +} + +// atLeastReader reads from R, stopping with EOF once at least N bytes have been +// read. It is different from an io.LimitedReader in that it doesn't cut short +// the last Read call, and in that it considers an early EOF an error. +type atLeastReader struct { + R io.Reader + N int64 +} + +func (r *atLeastReader) Read(p []byte) (int, error) { + if r.N <= 0 { + return 0, io.EOF + } + n, err := r.R.Read(p) + r.N -= int64(n) // won't underflow unless len(p) >= n > 9223372036854775809 + if r.N > 0 && err == io.EOF { + return n, io.ErrUnexpectedEOF + } + if r.N <= 0 && err == nil { + return n, io.EOF + } + return n, err +} + +// readFromUntil reads from r into c.rawInput until c.rawInput contains +// at least n bytes or else returns an error. +func (c *Conn) readFromUntil(r io.Reader, n int) error { + if c.rawInput.Len() >= n { + return nil + } + needs := n - c.rawInput.Len() + // There might be extra input waiting on the wire. Make a best effort + // attempt to fetch it so that it can be used in (*Conn).Read to + // "predict" closeNotify alerts. + c.rawInput.Grow(needs + bytes.MinRead) + _, err := c.rawInput.ReadFrom(&atLeastReader{r, int64(needs)}) + return err +} + +// sendAlert sends a TLS alert message. +func (c *Conn) sendAlertLocked(err alert) error { + switch err { + case alertNoRenegotiation, alertCloseNotify: + c.tmp[0] = alertLevelWarning + default: + c.tmp[0] = alertLevelError + } + c.tmp[1] = byte(err) + + _, writeErr := c.writeRecordLocked(recordTypeAlert, c.tmp[0:2]) + if err == alertCloseNotify { + // closeNotify is a special case in that it isn't an error. + return writeErr + } + + return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err}) +} + +// sendAlert sends a TLS alert message. +func (c *Conn) sendAlert(err alert) error { + if c.extraConfig != nil && c.extraConfig.AlternativeRecordLayer != nil { + c.extraConfig.AlternativeRecordLayer.SendAlert(uint8(err)) + return &net.OpError{Op: "local error", Err: err} + } + + c.out.Lock() + defer c.out.Unlock() + return c.sendAlertLocked(err) +} + +const ( + // tcpMSSEstimate is a conservative estimate of the TCP maximum segment + // size (MSS). A constant is used, rather than querying the kernel for + // the actual MSS, to avoid complexity. The value here is the IPv6 + // minimum MTU (1280 bytes) minus the overhead of an IPv6 header (40 + // bytes) and a TCP header with timestamps (32 bytes). + tcpMSSEstimate = 1208 + + // recordSizeBoostThreshold is the number of bytes of application data + // sent after which the TLS record size will be increased to the + // maximum. + recordSizeBoostThreshold = 128 * 1024 +) + +// maxPayloadSizeForWrite returns the maximum TLS payload size to use for the +// next application data record. There is the following trade-off: +// +// - For latency-sensitive applications, such as web browsing, each TLS +// record should fit in one TCP segment. +// - For throughput-sensitive applications, such as large file transfers, +// larger TLS records better amortize framing and encryption overheads. +// +// A simple heuristic that works well in practice is to use small records for +// the first 1MB of data, then use larger records for subsequent data, and +// reset back to smaller records after the connection becomes idle. See "High +// Performance Web Networking", Chapter 4, or: +// https://www.igvita.com/2013/10/24/optimizing-tls-record-size-and-buffering-latency/ +// +// In the interests of simplicity and determinism, this code does not attempt +// to reset the record size once the connection is idle, however. +func (c *Conn) maxPayloadSizeForWrite(typ recordType) int { + if c.config.DynamicRecordSizingDisabled || typ != recordTypeApplicationData { + return maxPlaintext + } + + if c.bytesSent >= recordSizeBoostThreshold { + return maxPlaintext + } + + // Subtract TLS overheads to get the maximum payload size. + payloadBytes := tcpMSSEstimate - recordHeaderLen - c.out.explicitNonceLen() + if c.out.cipher != nil { + switch ciph := c.out.cipher.(type) { + case cipher.Stream: + payloadBytes -= c.out.mac.Size() + case cipher.AEAD: + payloadBytes -= ciph.Overhead() + case cbcMode: + blockSize := ciph.BlockSize() + // The payload must fit in a multiple of blockSize, with + // room for at least one padding byte. + payloadBytes = (payloadBytes & ^(blockSize - 1)) - 1 + // The MAC is appended before padding so affects the + // payload size directly. + payloadBytes -= c.out.mac.Size() + default: + panic("unknown cipher type") + } + } + if c.vers == VersionTLS13 { + payloadBytes-- // encrypted ContentType + } + + // Allow packet growth in arithmetic progression up to max. + pkt := c.packetsSent + c.packetsSent++ + if pkt > 1000 { + return maxPlaintext // avoid overflow in multiply below + } + + n := payloadBytes * int(pkt+1) + if n > maxPlaintext { + n = maxPlaintext + } + return n +} + +func (c *Conn) write(data []byte) (int, error) { + if c.buffering { + c.sendBuf = append(c.sendBuf, data...) + return len(data), nil + } + + n, err := c.conn.Write(data) + c.bytesSent += int64(n) + return n, err +} + +func (c *Conn) flush() (int, error) { + if len(c.sendBuf) == 0 { + return 0, nil + } + + n, err := c.conn.Write(c.sendBuf) + c.bytesSent += int64(n) + c.sendBuf = nil + c.buffering = false + return n, err +} + +// outBufPool pools the record-sized scratch buffers used by writeRecordLocked. +var outBufPool = sync.Pool{ + New: func() any { + return new([]byte) + }, +} + +// writeRecordLocked writes a TLS record with the given type and payload to the +// connection and updates the record layer state. +func (c *Conn) writeRecordLocked(typ recordType, data []byte) (int, error) { + outBufPtr := outBufPool.Get().(*[]byte) + outBuf := *outBufPtr + defer func() { + // You might be tempted to simplify this by just passing &outBuf to Put, + // but that would make the local copy of the outBuf slice header escape + // to the heap, causing an allocation. Instead, we keep around the + // pointer to the slice header returned by Get, which is already on the + // heap, and overwrite and return that. + *outBufPtr = outBuf + outBufPool.Put(outBufPtr) + }() + + var n int + for len(data) > 0 { + m := len(data) + if maxPayload := c.maxPayloadSizeForWrite(typ); m > maxPayload { + m = maxPayload + } + + _, outBuf = sliceForAppend(outBuf[:0], recordHeaderLen) + outBuf[0] = byte(typ) + vers := c.vers + if vers == 0 { + // Some TLS servers fail if the record version is + // greater than TLS 1.0 for the initial ClientHello. + vers = VersionTLS10 + } else if vers == VersionTLS13 { + // TLS 1.3 froze the record layer version to 1.2. + // See RFC 8446, Section 5.1. + vers = VersionTLS12 + } + outBuf[1] = byte(vers >> 8) + outBuf[2] = byte(vers) + outBuf[3] = byte(m >> 8) + outBuf[4] = byte(m) + + var err error + outBuf, err = c.out.encrypt(outBuf, data[:m], c.config.rand()) + if err != nil { + return n, err + } + if _, err := c.write(outBuf); err != nil { + return n, err + } + n += m + data = data[m:] + } + + if typ == recordTypeChangeCipherSpec && c.vers != VersionTLS13 { + if err := c.out.changeCipherSpec(); err != nil { + return n, c.sendAlertLocked(err.(alert)) + } + } + + return n, nil +} + +// writeRecord writes a TLS record with the given type and payload to the +// connection and updates the record layer state. +func (c *Conn) writeRecord(typ recordType, data []byte) (int, error) { + if c.extraConfig != nil && c.extraConfig.AlternativeRecordLayer != nil { + if typ == recordTypeChangeCipherSpec { + return len(data), nil + } + return c.extraConfig.AlternativeRecordLayer.WriteRecord(data) + } + + c.out.Lock() + defer c.out.Unlock() + + return c.writeRecordLocked(typ, data) +} + +// readHandshake reads the next handshake message from +// the record layer. +func (c *Conn) readHandshake() (any, error) { + var data []byte + if c.extraConfig != nil && c.extraConfig.AlternativeRecordLayer != nil { + var err error + data, err = c.extraConfig.AlternativeRecordLayer.ReadHandshakeMessage() + if err != nil { + return nil, err + } + } else { + for c.hand.Len() < 4 { + if err := c.readRecord(); err != nil { + return nil, err + } + } + + data = c.hand.Bytes() + n := int(data[1])<<16 | int(data[2])<<8 | int(data[3]) + if n > maxHandshake { + c.sendAlertLocked(alertInternalError) + return nil, c.in.setErrorLocked(fmt.Errorf("tls: handshake message of length %d bytes exceeds maximum of %d bytes", n, maxHandshake)) + } + for c.hand.Len() < 4+n { + if err := c.readRecord(); err != nil { + return nil, err + } + } + data = c.hand.Next(4 + n) + } + var m handshakeMessage + switch data[0] { + case typeHelloRequest: + m = new(helloRequestMsg) + case typeClientHello: + m = new(clientHelloMsg) + case typeServerHello: + m = new(serverHelloMsg) + case typeNewSessionTicket: + if c.vers == VersionTLS13 { + m = new(newSessionTicketMsgTLS13) + } else { + m = new(newSessionTicketMsg) + } + case typeCertificate: + if c.vers == VersionTLS13 { + m = new(certificateMsgTLS13) + } else { + m = new(certificateMsg) + } + case typeCertificateRequest: + if c.vers == VersionTLS13 { + m = new(certificateRequestMsgTLS13) + } else { + m = &certificateRequestMsg{ + hasSignatureAlgorithm: c.vers >= VersionTLS12, + } + } + case typeCertificateStatus: + m = new(certificateStatusMsg) + case typeServerKeyExchange: + m = new(serverKeyExchangeMsg) + case typeServerHelloDone: + m = new(serverHelloDoneMsg) + case typeClientKeyExchange: + m = new(clientKeyExchangeMsg) + case typeCertificateVerify: + m = &certificateVerifyMsg{ + hasSignatureAlgorithm: c.vers >= VersionTLS12, + } + case typeFinished: + m = new(finishedMsg) + case typeEncryptedExtensions: + m = new(encryptedExtensionsMsg) + case typeEndOfEarlyData: + m = new(endOfEarlyDataMsg) + case typeKeyUpdate: + m = new(keyUpdateMsg) + default: + return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) + } + + // The handshake message unmarshalers + // expect to be able to keep references to data, + // so pass in a fresh copy that won't be overwritten. + data = append([]byte(nil), data...) + + if !m.unmarshal(data) { + return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) + } + return m, nil +} + +var ( + errShutdown = errors.New("tls: protocol is shutdown") +) + +// Write writes data to the connection. +// +// As Write calls Handshake, in order to prevent indefinite blocking a deadline +// must be set for both Read and Write before Write is called when the handshake +// has not yet completed. See SetDeadline, SetReadDeadline, and +// SetWriteDeadline. +func (c *Conn) Write(b []byte) (int, error) { + // interlock with Close below + for { + x := atomic.LoadInt32(&c.activeCall) + if x&1 != 0 { + return 0, net.ErrClosed + } + if atomic.CompareAndSwapInt32(&c.activeCall, x, x+2) { + break + } + } + defer atomic.AddInt32(&c.activeCall, -2) + + if err := c.Handshake(); err != nil { + return 0, err + } + + c.out.Lock() + defer c.out.Unlock() + + if err := c.out.err; err != nil { + return 0, err + } + + if !c.handshakeComplete() { + return 0, alertInternalError + } + + if c.closeNotifySent { + return 0, errShutdown + } + + // TLS 1.0 is susceptible to a chosen-plaintext + // attack when using block mode ciphers due to predictable IVs. + // This can be prevented by splitting each Application Data + // record into two records, effectively randomizing the IV. + // + // https://www.openssl.org/~bodo/tls-cbc.txt + // https://bugzilla.mozilla.org/show_bug.cgi?id=665814 + // https://www.imperialviolet.org/2012/01/15/beastfollowup.html + + var m int + if len(b) > 1 && c.vers == VersionTLS10 { + if _, ok := c.out.cipher.(cipher.BlockMode); ok { + n, err := c.writeRecordLocked(recordTypeApplicationData, b[:1]) + if err != nil { + return n, c.out.setErrorLocked(err) + } + m, b = 1, b[1:] + } + } + + n, err := c.writeRecordLocked(recordTypeApplicationData, b) + return n + m, c.out.setErrorLocked(err) +} + +// handleRenegotiation processes a HelloRequest handshake message. +func (c *Conn) handleRenegotiation() error { + if c.vers == VersionTLS13 { + return errors.New("tls: internal error: unexpected renegotiation") + } + + msg, err := c.readHandshake() + if err != nil { + return err + } + + helloReq, ok := msg.(*helloRequestMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(helloReq, msg) + } + + if !c.isClient { + return c.sendAlert(alertNoRenegotiation) + } + + switch c.config.Renegotiation { + case RenegotiateNever: + return c.sendAlert(alertNoRenegotiation) + case RenegotiateOnceAsClient: + if c.handshakes > 1 { + return c.sendAlert(alertNoRenegotiation) + } + case RenegotiateFreelyAsClient: + // Ok. + default: + c.sendAlert(alertInternalError) + return errors.New("tls: unknown Renegotiation value") + } + + c.handshakeMutex.Lock() + defer c.handshakeMutex.Unlock() + + atomic.StoreUint32(&c.handshakeStatus, 0) + if c.handshakeErr = c.clientHandshake(context.Background()); c.handshakeErr == nil { + c.handshakes++ + } + return c.handshakeErr +} + +func (c *Conn) HandlePostHandshakeMessage() error { + return c.handlePostHandshakeMessage() +} + +// handlePostHandshakeMessage processes a handshake message arrived after the +// handshake is complete. Up to TLS 1.2, it indicates the start of a renegotiation. +func (c *Conn) handlePostHandshakeMessage() error { + if c.vers != VersionTLS13 { + return c.handleRenegotiation() + } + + msg, err := c.readHandshake() + if err != nil { + return err + } + + c.retryCount++ + if c.retryCount > maxUselessRecords { + c.sendAlert(alertUnexpectedMessage) + return c.in.setErrorLocked(errors.New("tls: too many non-advancing records")) + } + + switch msg := msg.(type) { + case *newSessionTicketMsgTLS13: + return c.handleNewSessionTicket(msg) + case *keyUpdateMsg: + return c.handleKeyUpdate(msg) + default: + c.sendAlert(alertUnexpectedMessage) + return fmt.Errorf("tls: received unexpected handshake message of type %T", msg) + } +} + +func (c *Conn) handleKeyUpdate(keyUpdate *keyUpdateMsg) error { + cipherSuite := cipherSuiteTLS13ByID(c.cipherSuite) + if cipherSuite == nil { + return c.in.setErrorLocked(c.sendAlert(alertInternalError)) + } + + newSecret := cipherSuite.nextTrafficSecret(c.in.trafficSecret) + c.in.setTrafficSecret(cipherSuite, newSecret) + + if keyUpdate.updateRequested { + c.out.Lock() + defer c.out.Unlock() + + msg := &keyUpdateMsg{} + _, err := c.writeRecordLocked(recordTypeHandshake, msg.marshal()) + if err != nil { + // Surface the error at the next write. + c.out.setErrorLocked(err) + return nil + } + + newSecret := cipherSuite.nextTrafficSecret(c.out.trafficSecret) + c.out.setTrafficSecret(cipherSuite, newSecret) + } + + return nil +} + +// Read reads data from the connection. +// +// As Read calls Handshake, in order to prevent indefinite blocking a deadline +// must be set for both Read and Write before Read is called when the handshake +// has not yet completed. See SetDeadline, SetReadDeadline, and +// SetWriteDeadline. +func (c *Conn) Read(b []byte) (int, error) { + if err := c.Handshake(); err != nil { + return 0, err + } + if len(b) == 0 { + // Put this after Handshake, in case people were calling + // Read(nil) for the side effect of the Handshake. + return 0, nil + } + + c.in.Lock() + defer c.in.Unlock() + + for c.input.Len() == 0 { + if err := c.readRecord(); err != nil { + return 0, err + } + for c.hand.Len() > 0 { + if err := c.handlePostHandshakeMessage(); err != nil { + return 0, err + } + } + } + + n, _ := c.input.Read(b) + + // If a close-notify alert is waiting, read it so that we can return (n, + // EOF) instead of (n, nil), to signal to the HTTP response reading + // goroutine that the connection is now closed. This eliminates a race + // where the HTTP response reading goroutine would otherwise not observe + // the EOF until its next read, by which time a client goroutine might + // have already tried to reuse the HTTP connection for a new request. + // See https://golang.org/cl/76400046 and https://golang.org/issue/3514 + if n != 0 && c.input.Len() == 0 && c.rawInput.Len() > 0 && + recordType(c.rawInput.Bytes()[0]) == recordTypeAlert { + if err := c.readRecord(); err != nil { + return n, err // will be io.EOF on closeNotify + } + } + + return n, nil +} + +// Close closes the connection. +func (c *Conn) Close() error { + // Interlock with Conn.Write above. + var x int32 + for { + x = atomic.LoadInt32(&c.activeCall) + if x&1 != 0 { + return net.ErrClosed + } + if atomic.CompareAndSwapInt32(&c.activeCall, x, x|1) { + break + } + } + if x != 0 { + // io.Writer and io.Closer should not be used concurrently. + // If Close is called while a Write is currently in-flight, + // interpret that as a sign that this Close is really just + // being used to break the Write and/or clean up resources and + // avoid sending the alertCloseNotify, which may block + // waiting on handshakeMutex or the c.out mutex. + return c.conn.Close() + } + + var alertErr error + if c.handshakeComplete() { + if err := c.closeNotify(); err != nil { + alertErr = fmt.Errorf("tls: failed to send closeNotify alert (but connection was closed anyway): %w", err) + } + } + + if err := c.conn.Close(); err != nil { + return err + } + return alertErr +} + +var errEarlyCloseWrite = errors.New("tls: CloseWrite called before handshake complete") + +// CloseWrite shuts down the writing side of the connection. It should only be +// called once the handshake has completed and does not call CloseWrite on the +// underlying connection. Most callers should just use Close. +func (c *Conn) CloseWrite() error { + if !c.handshakeComplete() { + return errEarlyCloseWrite + } + + return c.closeNotify() +} + +func (c *Conn) closeNotify() error { + c.out.Lock() + defer c.out.Unlock() + + if !c.closeNotifySent { + // Set a Write Deadline to prevent possibly blocking forever. + c.SetWriteDeadline(time.Now().Add(time.Second * 5)) + c.closeNotifyErr = c.sendAlertLocked(alertCloseNotify) + c.closeNotifySent = true + // Any subsequent writes will fail. + c.SetWriteDeadline(time.Now()) + } + return c.closeNotifyErr +} + +// Handshake runs the client or server handshake +// protocol if it has not yet been run. +// +// Most uses of this package need not call Handshake explicitly: the +// first Read or Write will call it automatically. +// +// For control over canceling or setting a timeout on a handshake, use +// HandshakeContext or the Dialer's DialContext method instead. +func (c *Conn) Handshake() error { + return c.HandshakeContext(context.Background()) +} + +// HandshakeContext runs the client or server handshake +// protocol if it has not yet been run. +// +// The provided Context must be non-nil. If the context is canceled before +// the handshake is complete, the handshake is interrupted and an error is returned. +// Once the handshake has completed, cancellation of the context will not affect the +// connection. +// +// Most uses of this package need not call HandshakeContext explicitly: the +// first Read or Write will call it automatically. +func (c *Conn) HandshakeContext(ctx context.Context) error { + // Delegate to unexported method for named return + // without confusing documented signature. + return c.handshakeContext(ctx) +} + +func (c *Conn) handshakeContext(ctx context.Context) (ret error) { + // Fast sync/atomic-based exit if there is no handshake in flight and the + // last one succeeded without an error. Avoids the expensive context setup + // and mutex for most Read and Write calls. + if c.handshakeComplete() { + return nil + } + + handshakeCtx, cancel := context.WithCancel(ctx) + // Note: defer this before starting the "interrupter" goroutine + // so that we can tell the difference between the input being canceled and + // this cancellation. In the former case, we need to close the connection. + defer cancel() + + // Start the "interrupter" goroutine, if this context might be canceled. + // (The background context cannot). + // + // The interrupter goroutine waits for the input context to be done and + // closes the connection if this happens before the function returns. + if ctx.Done() != nil { + done := make(chan struct{}) + interruptRes := make(chan error, 1) + defer func() { + close(done) + if ctxErr := <-interruptRes; ctxErr != nil { + // Return context error to user. + ret = ctxErr + } + }() + go func() { + select { + case <-handshakeCtx.Done(): + // Close the connection, discarding the error + _ = c.conn.Close() + interruptRes <- handshakeCtx.Err() + case <-done: + interruptRes <- nil + } + }() + } + + c.handshakeMutex.Lock() + defer c.handshakeMutex.Unlock() + + if err := c.handshakeErr; err != nil { + return err + } + if c.handshakeComplete() { + return nil + } + + c.in.Lock() + defer c.in.Unlock() + + c.handshakeErr = c.handshakeFn(handshakeCtx) + if c.handshakeErr == nil { + c.handshakes++ + } else { + // If an error occurred during the handshake try to flush the + // alert that might be left in the buffer. + c.flush() + } + + if c.handshakeErr == nil && !c.handshakeComplete() { + c.handshakeErr = errors.New("tls: internal error: handshake should have had a result") + } + if c.handshakeErr != nil && c.handshakeComplete() { + panic("tls: internal error: handshake returned an error but is marked successful") + } + + return c.handshakeErr +} + +// ConnectionState returns basic TLS details about the connection. +func (c *Conn) ConnectionState() ConnectionState { + c.handshakeMutex.Lock() + defer c.handshakeMutex.Unlock() + return c.connectionStateLocked() +} + +// ConnectionStateWith0RTT returns basic TLS details (incl. 0-RTT status) about the connection. +func (c *Conn) ConnectionStateWith0RTT() ConnectionStateWith0RTT { + c.handshakeMutex.Lock() + defer c.handshakeMutex.Unlock() + return ConnectionStateWith0RTT{ + ConnectionState: c.connectionStateLocked(), + Used0RTT: c.used0RTT, + } +} + +func (c *Conn) connectionStateLocked() ConnectionState { + var state connectionState + state.HandshakeComplete = c.handshakeComplete() + state.Version = c.vers + state.NegotiatedProtocol = c.clientProtocol + state.DidResume = c.didResume + state.NegotiatedProtocolIsMutual = true + state.ServerName = c.serverName + state.CipherSuite = c.cipherSuite + state.PeerCertificates = c.peerCertificates + state.VerifiedChains = c.verifiedChains + state.SignedCertificateTimestamps = c.scts + state.OCSPResponse = c.ocspResponse + if !c.didResume && c.vers != VersionTLS13 { + if c.clientFinishedIsFirst { + state.TLSUnique = c.clientFinished[:] + } else { + state.TLSUnique = c.serverFinished[:] + } + } + if c.config.Renegotiation != RenegotiateNever { + state.ekm = noExportedKeyingMaterial + } else { + state.ekm = c.ekm + } + return toConnectionState(state) +} + +// OCSPResponse returns the stapled OCSP response from the TLS server, if +// any. (Only valid for client connections.) +func (c *Conn) OCSPResponse() []byte { + c.handshakeMutex.Lock() + defer c.handshakeMutex.Unlock() + + return c.ocspResponse +} + +// VerifyHostname checks that the peer certificate chain is valid for +// connecting to host. If so, it returns nil; if not, it returns an error +// describing the problem. +func (c *Conn) VerifyHostname(host string) error { + c.handshakeMutex.Lock() + defer c.handshakeMutex.Unlock() + if !c.isClient { + return errors.New("tls: VerifyHostname called on TLS server connection") + } + if !c.handshakeComplete() { + return errors.New("tls: handshake has not yet been performed") + } + if len(c.verifiedChains) == 0 { + return errors.New("tls: handshake did not verify certificate chain") + } + return c.peerCertificates[0].VerifyHostname(host) +} + +func (c *Conn) handshakeComplete() bool { + return atomic.LoadUint32(&c.handshakeStatus) == 1 +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/cpu.go b/vendor/github.com/marten-seemann/qtls-go1-19/cpu.go new file mode 100644 index 000000000..121945087 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/cpu.go @@ -0,0 +1,22 @@ +//go:build !js +// +build !js + +package qtls + +import ( + "runtime" + + "golang.org/x/sys/cpu" +) + +var ( + hasGCMAsmAMD64 = cpu.X86.HasAES && cpu.X86.HasPCLMULQDQ + hasGCMAsmARM64 = cpu.ARM64.HasAES && cpu.ARM64.HasPMULL + // Keep in sync with crypto/aes/cipher_s390x.go. + hasGCMAsmS390X = cpu.S390X.HasAES && cpu.S390X.HasAESCBC && cpu.S390X.HasAESCTR && + (cpu.S390X.HasGHASH || cpu.S390X.HasAESGCM) + + hasAESGCMHardwareSupport = runtime.GOARCH == "amd64" && hasGCMAsmAMD64 || + runtime.GOARCH == "arm64" && hasGCMAsmARM64 || + runtime.GOARCH == "s390x" && hasGCMAsmS390X +) diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/cpu_other.go b/vendor/github.com/marten-seemann/qtls-go1-19/cpu_other.go new file mode 100644 index 000000000..33f7d2194 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/cpu_other.go @@ -0,0 +1,12 @@ +//go:build js +// +build js + +package qtls + +var ( + hasGCMAsmAMD64 = false + hasGCMAsmARM64 = false + hasGCMAsmS390X = false + + hasAESGCMHardwareSupport = false +) diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/handshake_client.go b/vendor/github.com/marten-seemann/qtls-go1-19/handshake_client.go new file mode 100644 index 000000000..4407683a9 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/handshake_client.go @@ -0,0 +1,1117 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import ( + "bytes" + "context" + "crypto" + "crypto/ecdsa" + "crypto/ed25519" + "crypto/rsa" + "crypto/subtle" + "crypto/x509" + "errors" + "fmt" + "hash" + "io" + "net" + "strings" + "sync/atomic" + "time" + + "golang.org/x/crypto/cryptobyte" +) + +const clientSessionStateVersion = 1 + +type clientHandshakeState struct { + c *Conn + ctx context.Context + serverHello *serverHelloMsg + hello *clientHelloMsg + suite *cipherSuite + finishedHash finishedHash + masterSecret []byte + session *clientSessionState +} + +var testingOnlyForceClientHelloSignatureAlgorithms []SignatureScheme + +func (c *Conn) makeClientHello() (*clientHelloMsg, ecdheParameters, error) { + config := c.config + if len(config.ServerName) == 0 && !config.InsecureSkipVerify { + return nil, nil, errors.New("tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config") + } + + nextProtosLength := 0 + for _, proto := range config.NextProtos { + if l := len(proto); l == 0 || l > 255 { + return nil, nil, errors.New("tls: invalid NextProtos value") + } else { + nextProtosLength += 1 + l + } + } + if nextProtosLength > 0xffff { + return nil, nil, errors.New("tls: NextProtos values too large") + } + + var supportedVersions []uint16 + var clientHelloVersion uint16 + if c.extraConfig.usesAlternativeRecordLayer() { + if config.maxSupportedVersion(roleClient) < VersionTLS13 { + return nil, nil, errors.New("tls: MaxVersion prevents QUIC from using TLS 1.3") + } + // Only offer TLS 1.3 when QUIC is used. + supportedVersions = []uint16{VersionTLS13} + clientHelloVersion = VersionTLS13 + } else { + supportedVersions = config.supportedVersions(roleClient) + if len(supportedVersions) == 0 { + return nil, nil, errors.New("tls: no supported versions satisfy MinVersion and MaxVersion") + } + clientHelloVersion = config.maxSupportedVersion(roleClient) + } + + // The version at the beginning of the ClientHello was capped at TLS 1.2 + // for compatibility reasons. The supported_versions extension is used + // to negotiate versions now. See RFC 8446, Section 4.2.1. + if clientHelloVersion > VersionTLS12 { + clientHelloVersion = VersionTLS12 + } + + hello := &clientHelloMsg{ + vers: clientHelloVersion, + compressionMethods: []uint8{compressionNone}, + random: make([]byte, 32), + ocspStapling: true, + scts: true, + serverName: hostnameInSNI(config.ServerName), + supportedCurves: config.curvePreferences(), + supportedPoints: []uint8{pointFormatUncompressed}, + secureRenegotiationSupported: true, + alpnProtocols: config.NextProtos, + supportedVersions: supportedVersions, + } + + if c.handshakes > 0 { + hello.secureRenegotiation = c.clientFinished[:] + } + + preferenceOrder := cipherSuitesPreferenceOrder + if !hasAESGCMHardwareSupport { + preferenceOrder = cipherSuitesPreferenceOrderNoAES + } + configCipherSuites := config.cipherSuites() + hello.cipherSuites = make([]uint16, 0, len(configCipherSuites)) + + for _, suiteId := range preferenceOrder { + suite := mutualCipherSuite(configCipherSuites, suiteId) + if suite == nil { + continue + } + // Don't advertise TLS 1.2-only cipher suites unless + // we're attempting TLS 1.2. + if hello.vers < VersionTLS12 && suite.flags&suiteTLS12 != 0 { + continue + } + hello.cipherSuites = append(hello.cipherSuites, suiteId) + } + + _, err := io.ReadFull(config.rand(), hello.random) + if err != nil { + return nil, nil, errors.New("tls: short read from Rand: " + err.Error()) + } + + // A random session ID is used to detect when the server accepted a ticket + // and is resuming a session (see RFC 5077). In TLS 1.3, it's always set as + // a compatibility measure (see RFC 8446, Section 4.1.2). + if c.extraConfig == nil || c.extraConfig.AlternativeRecordLayer == nil { + hello.sessionId = make([]byte, 32) + if _, err := io.ReadFull(config.rand(), hello.sessionId); err != nil { + return nil, nil, errors.New("tls: short read from Rand: " + err.Error()) + } + } + + if hello.vers >= VersionTLS12 { + hello.supportedSignatureAlgorithms = supportedSignatureAlgorithms() + } + if testingOnlyForceClientHelloSignatureAlgorithms != nil { + hello.supportedSignatureAlgorithms = testingOnlyForceClientHelloSignatureAlgorithms + } + + var params ecdheParameters + if hello.supportedVersions[0] == VersionTLS13 { + var suites []uint16 + for _, suiteID := range configCipherSuites { + for _, suite := range cipherSuitesTLS13 { + if suite.id == suiteID { + suites = append(suites, suiteID) + } + } + } + if len(suites) > 0 { + hello.cipherSuites = suites + } else { + if hasAESGCMHardwareSupport { + hello.cipherSuites = append(hello.cipherSuites, defaultCipherSuitesTLS13...) + } else { + hello.cipherSuites = append(hello.cipherSuites, defaultCipherSuitesTLS13NoAES...) + } + } + + curveID := config.curvePreferences()[0] + if _, ok := curveForCurveID(curveID); curveID != X25519 && !ok { + return nil, nil, errors.New("tls: CurvePreferences includes unsupported curve") + } + params, err = generateECDHEParameters(config.rand(), curveID) + if err != nil { + return nil, nil, err + } + hello.keyShares = []keyShare{{group: curveID, data: params.PublicKey()}} + } + + if hello.supportedVersions[0] == VersionTLS13 && c.extraConfig != nil && c.extraConfig.GetExtensions != nil { + hello.additionalExtensions = c.extraConfig.GetExtensions(typeClientHello) + } + + return hello, params, nil +} + +func (c *Conn) clientHandshake(ctx context.Context) (err error) { + if c.config == nil { + c.config = fromConfig(defaultConfig()) + } + c.setAlternativeRecordLayer() + + // This may be a renegotiation handshake, in which case some fields + // need to be reset. + c.didResume = false + + hello, ecdheParams, err := c.makeClientHello() + if err != nil { + return err + } + c.serverName = hello.serverName + + cacheKey, session, earlySecret, binderKey := c.loadSession(hello) + if cacheKey != "" && session != nil { + var deletedTicket bool + if session.vers == VersionTLS13 && hello.earlyData && c.extraConfig != nil && c.extraConfig.Enable0RTT { + // don't reuse a session ticket that enabled 0-RTT + c.config.ClientSessionCache.Put(cacheKey, nil) + deletedTicket = true + + if suite := cipherSuiteTLS13ByID(session.cipherSuite); suite != nil { + h := suite.hash.New() + h.Write(hello.marshal()) + clientEarlySecret := suite.deriveSecret(earlySecret, "c e traffic", h) + c.out.exportKey(Encryption0RTT, suite, clientEarlySecret) + if err := c.config.writeKeyLog(keyLogLabelEarlyTraffic, hello.random, clientEarlySecret); err != nil { + c.sendAlert(alertInternalError) + return err + } + } + } + if !deletedTicket { + defer func() { + // If we got a handshake failure when resuming a session, throw away + // the session ticket. See RFC 5077, Section 3.2. + // + // RFC 8446 makes no mention of dropping tickets on failure, but it + // does require servers to abort on invalid binders, so we need to + // delete tickets to recover from a corrupted PSK. + if err != nil { + c.config.ClientSessionCache.Put(cacheKey, nil) + } + }() + } + } + + if _, err := c.writeRecord(recordTypeHandshake, hello.marshal()); err != nil { + return err + } + + msg, err := c.readHandshake() + if err != nil { + return err + } + + serverHello, ok := msg.(*serverHelloMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(serverHello, msg) + } + + if err := c.pickTLSVersion(serverHello); err != nil { + return err + } + + // If we are negotiating a protocol version that's lower than what we + // support, check for the server downgrade canaries. + // See RFC 8446, Section 4.1.3. + maxVers := c.config.maxSupportedVersion(roleClient) + tls12Downgrade := string(serverHello.random[24:]) == downgradeCanaryTLS12 + tls11Downgrade := string(serverHello.random[24:]) == downgradeCanaryTLS11 + if maxVers == VersionTLS13 && c.vers <= VersionTLS12 && (tls12Downgrade || tls11Downgrade) || + maxVers == VersionTLS12 && c.vers <= VersionTLS11 && tls11Downgrade { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: downgrade attempt detected, possibly due to a MitM attack or a broken middlebox") + } + + if c.vers == VersionTLS13 { + hs := &clientHandshakeStateTLS13{ + c: c, + ctx: ctx, + serverHello: serverHello, + hello: hello, + ecdheParams: ecdheParams, + session: session, + earlySecret: earlySecret, + binderKey: binderKey, + } + + // In TLS 1.3, session tickets are delivered after the handshake. + return hs.handshake() + } + + hs := &clientHandshakeState{ + c: c, + ctx: ctx, + serverHello: serverHello, + hello: hello, + session: session, + } + + if err := hs.handshake(); err != nil { + return err + } + + // If we had a successful handshake and hs.session is different from + // the one already cached - cache a new one. + if cacheKey != "" && hs.session != nil && session != hs.session { + c.config.ClientSessionCache.Put(cacheKey, toClientSessionState(hs.session)) + } + + return nil +} + +// extract the app data saved in the session.nonce, +// and set the session.nonce to the actual nonce value +func (c *Conn) decodeSessionState(session *clientSessionState) (uint32 /* max early data */, []byte /* app data */, bool /* ok */) { + s := cryptobyte.String(session.nonce) + var version uint16 + if !s.ReadUint16(&version) { + return 0, nil, false + } + if version != clientSessionStateVersion { + return 0, nil, false + } + var maxEarlyData uint32 + if !s.ReadUint32(&maxEarlyData) { + return 0, nil, false + } + var appData []byte + if !readUint16LengthPrefixed(&s, &appData) { + return 0, nil, false + } + var nonce []byte + if !readUint16LengthPrefixed(&s, &nonce) { + return 0, nil, false + } + session.nonce = nonce + return maxEarlyData, appData, true +} + +func (c *Conn) loadSession(hello *clientHelloMsg) (cacheKey string, + session *clientSessionState, earlySecret, binderKey []byte) { + if c.config.SessionTicketsDisabled || c.config.ClientSessionCache == nil { + return "", nil, nil, nil + } + + hello.ticketSupported = true + + if hello.supportedVersions[0] == VersionTLS13 { + // Require DHE on resumption as it guarantees forward secrecy against + // compromise of the session ticket key. See RFC 8446, Section 4.2.9. + hello.pskModes = []uint8{pskModeDHE} + } + + // Session resumption is not allowed if renegotiating because + // renegotiation is primarily used to allow a client to send a client + // certificate, which would be skipped if session resumption occurred. + if c.handshakes != 0 { + return "", nil, nil, nil + } + + // Try to resume a previously negotiated TLS session, if available. + cacheKey = clientSessionCacheKey(c.conn.RemoteAddr(), c.config) + sess, ok := c.config.ClientSessionCache.Get(cacheKey) + if !ok || sess == nil { + return cacheKey, nil, nil, nil + } + session = fromClientSessionState(sess) + + var appData []byte + var maxEarlyData uint32 + if session.vers == VersionTLS13 { + var ok bool + maxEarlyData, appData, ok = c.decodeSessionState(session) + if !ok { // delete it, if parsing failed + c.config.ClientSessionCache.Put(cacheKey, nil) + return cacheKey, nil, nil, nil + } + } + + // Check that version used for the previous session is still valid. + versOk := false + for _, v := range hello.supportedVersions { + if v == session.vers { + versOk = true + break + } + } + if !versOk { + return cacheKey, nil, nil, nil + } + + // Check that the cached server certificate is not expired, and that it's + // valid for the ServerName. This should be ensured by the cache key, but + // protect the application from a faulty ClientSessionCache implementation. + if !c.config.InsecureSkipVerify { + if len(session.verifiedChains) == 0 { + // The original connection had InsecureSkipVerify, while this doesn't. + return cacheKey, nil, nil, nil + } + serverCert := session.serverCertificates[0] + if c.config.time().After(serverCert.NotAfter) { + // Expired certificate, delete the entry. + c.config.ClientSessionCache.Put(cacheKey, nil) + return cacheKey, nil, nil, nil + } + if err := serverCert.VerifyHostname(c.config.ServerName); err != nil { + return cacheKey, nil, nil, nil + } + } + + if session.vers != VersionTLS13 { + // In TLS 1.2 the cipher suite must match the resumed session. Ensure we + // are still offering it. + if mutualCipherSuite(hello.cipherSuites, session.cipherSuite) == nil { + return cacheKey, nil, nil, nil + } + + hello.sessionTicket = session.sessionTicket + return + } + + // Check that the session ticket is not expired. + if c.config.time().After(session.useBy) { + c.config.ClientSessionCache.Put(cacheKey, nil) + return cacheKey, nil, nil, nil + } + + // In TLS 1.3 the KDF hash must match the resumed session. Ensure we + // offer at least one cipher suite with that hash. + cipherSuite := cipherSuiteTLS13ByID(session.cipherSuite) + if cipherSuite == nil { + return cacheKey, nil, nil, nil + } + cipherSuiteOk := false + for _, offeredID := range hello.cipherSuites { + offeredSuite := cipherSuiteTLS13ByID(offeredID) + if offeredSuite != nil && offeredSuite.hash == cipherSuite.hash { + cipherSuiteOk = true + break + } + } + if !cipherSuiteOk { + return cacheKey, nil, nil, nil + } + + // Set the pre_shared_key extension. See RFC 8446, Section 4.2.11.1. + ticketAge := uint32(c.config.time().Sub(session.receivedAt) / time.Millisecond) + identity := pskIdentity{ + label: session.sessionTicket, + obfuscatedTicketAge: ticketAge + session.ageAdd, + } + hello.pskIdentities = []pskIdentity{identity} + hello.pskBinders = [][]byte{make([]byte, cipherSuite.hash.Size())} + + // Compute the PSK binders. See RFC 8446, Section 4.2.11.2. + psk := cipherSuite.expandLabel(session.masterSecret, "resumption", + session.nonce, cipherSuite.hash.Size()) + earlySecret = cipherSuite.extract(psk, nil) + binderKey = cipherSuite.deriveSecret(earlySecret, resumptionBinderLabel, nil) + if c.extraConfig != nil { + hello.earlyData = c.extraConfig.Enable0RTT && maxEarlyData > 0 + } + transcript := cipherSuite.hash.New() + transcript.Write(hello.marshalWithoutBinders()) + pskBinders := [][]byte{cipherSuite.finishedHash(binderKey, transcript)} + hello.updateBinders(pskBinders) + + if session.vers == VersionTLS13 && c.extraConfig != nil && c.extraConfig.SetAppDataFromSessionState != nil { + c.extraConfig.SetAppDataFromSessionState(appData) + } + return +} + +func (c *Conn) pickTLSVersion(serverHello *serverHelloMsg) error { + peerVersion := serverHello.vers + if serverHello.supportedVersion != 0 { + peerVersion = serverHello.supportedVersion + } + + vers, ok := c.config.mutualVersion(roleClient, []uint16{peerVersion}) + if !ok { + c.sendAlert(alertProtocolVersion) + return fmt.Errorf("tls: server selected unsupported protocol version %x", peerVersion) + } + + c.vers = vers + c.haveVers = true + c.in.version = vers + c.out.version = vers + + return nil +} + +// Does the handshake, either a full one or resumes old session. Requires hs.c, +// hs.hello, hs.serverHello, and, optionally, hs.session to be set. +func (hs *clientHandshakeState) handshake() error { + c := hs.c + + isResume, err := hs.processServerHello() + if err != nil { + return err + } + + hs.finishedHash = newFinishedHash(c.vers, hs.suite) + + // No signatures of the handshake are needed in a resumption. + // Otherwise, in a full handshake, if we don't have any certificates + // configured then we will never send a CertificateVerify message and + // thus no signatures are needed in that case either. + if isResume || (len(c.config.Certificates) == 0 && c.config.GetClientCertificate == nil) { + hs.finishedHash.discardHandshakeBuffer() + } + + hs.finishedHash.Write(hs.hello.marshal()) + hs.finishedHash.Write(hs.serverHello.marshal()) + + c.buffering = true + c.didResume = isResume + if isResume { + if err := hs.establishKeys(); err != nil { + return err + } + if err := hs.readSessionTicket(); err != nil { + return err + } + if err := hs.readFinished(c.serverFinished[:]); err != nil { + return err + } + c.clientFinishedIsFirst = false + // Make sure the connection is still being verified whether or not this + // is a resumption. Resumptions currently don't reverify certificates so + // they don't call verifyServerCertificate. See Issue 31641. + if c.config.VerifyConnection != nil { + if err := c.config.VerifyConnection(c.connectionStateLocked()); err != nil { + c.sendAlert(alertBadCertificate) + return err + } + } + if err := hs.sendFinished(c.clientFinished[:]); err != nil { + return err + } + if _, err := c.flush(); err != nil { + return err + } + } else { + if err := hs.doFullHandshake(); err != nil { + return err + } + if err := hs.establishKeys(); err != nil { + return err + } + if err := hs.sendFinished(c.clientFinished[:]); err != nil { + return err + } + if _, err := c.flush(); err != nil { + return err + } + c.clientFinishedIsFirst = true + if err := hs.readSessionTicket(); err != nil { + return err + } + if err := hs.readFinished(c.serverFinished[:]); err != nil { + return err + } + } + + c.ekm = ekmFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.hello.random, hs.serverHello.random) + atomic.StoreUint32(&c.handshakeStatus, 1) + + return nil +} + +func (hs *clientHandshakeState) pickCipherSuite() error { + if hs.suite = mutualCipherSuite(hs.hello.cipherSuites, hs.serverHello.cipherSuite); hs.suite == nil { + hs.c.sendAlert(alertHandshakeFailure) + return errors.New("tls: server chose an unconfigured cipher suite") + } + + hs.c.cipherSuite = hs.suite.id + return nil +} + +func (hs *clientHandshakeState) doFullHandshake() error { + c := hs.c + + msg, err := c.readHandshake() + if err != nil { + return err + } + certMsg, ok := msg.(*certificateMsg) + if !ok || len(certMsg.certificates) == 0 { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(certMsg, msg) + } + hs.finishedHash.Write(certMsg.marshal()) + + msg, err = c.readHandshake() + if err != nil { + return err + } + + cs, ok := msg.(*certificateStatusMsg) + if ok { + // RFC4366 on Certificate Status Request: + // The server MAY return a "certificate_status" message. + + if !hs.serverHello.ocspStapling { + // If a server returns a "CertificateStatus" message, then the + // server MUST have included an extension of type "status_request" + // with empty "extension_data" in the extended server hello. + + c.sendAlert(alertUnexpectedMessage) + return errors.New("tls: received unexpected CertificateStatus message") + } + hs.finishedHash.Write(cs.marshal()) + + c.ocspResponse = cs.response + + msg, err = c.readHandshake() + if err != nil { + return err + } + } + + if c.handshakes == 0 { + // If this is the first handshake on a connection, process and + // (optionally) verify the server's certificates. + if err := c.verifyServerCertificate(certMsg.certificates); err != nil { + return err + } + } else { + // This is a renegotiation handshake. We require that the + // server's identity (i.e. leaf certificate) is unchanged and + // thus any previous trust decision is still valid. + // + // See https://mitls.org/pages/attacks/3SHAKE for the + // motivation behind this requirement. + if !bytes.Equal(c.peerCertificates[0].Raw, certMsg.certificates[0]) { + c.sendAlert(alertBadCertificate) + return errors.New("tls: server's identity changed during renegotiation") + } + } + + keyAgreement := hs.suite.ka(c.vers) + + skx, ok := msg.(*serverKeyExchangeMsg) + if ok { + hs.finishedHash.Write(skx.marshal()) + err = keyAgreement.processServerKeyExchange(c.config, hs.hello, hs.serverHello, c.peerCertificates[0], skx) + if err != nil { + c.sendAlert(alertUnexpectedMessage) + return err + } + + msg, err = c.readHandshake() + if err != nil { + return err + } + } + + var chainToSend *Certificate + var certRequested bool + certReq, ok := msg.(*certificateRequestMsg) + if ok { + certRequested = true + hs.finishedHash.Write(certReq.marshal()) + + cri := certificateRequestInfoFromMsg(hs.ctx, c.vers, certReq) + if chainToSend, err = c.getClientCertificate(cri); err != nil { + c.sendAlert(alertInternalError) + return err + } + + msg, err = c.readHandshake() + if err != nil { + return err + } + } + + shd, ok := msg.(*serverHelloDoneMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(shd, msg) + } + hs.finishedHash.Write(shd.marshal()) + + // If the server requested a certificate then we have to send a + // Certificate message, even if it's empty because we don't have a + // certificate to send. + if certRequested { + certMsg = new(certificateMsg) + certMsg.certificates = chainToSend.Certificate + hs.finishedHash.Write(certMsg.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, certMsg.marshal()); err != nil { + return err + } + } + + preMasterSecret, ckx, err := keyAgreement.generateClientKeyExchange(c.config, hs.hello, c.peerCertificates[0]) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + if ckx != nil { + hs.finishedHash.Write(ckx.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, ckx.marshal()); err != nil { + return err + } + } + + if chainToSend != nil && len(chainToSend.Certificate) > 0 { + certVerify := &certificateVerifyMsg{} + + key, ok := chainToSend.PrivateKey.(crypto.Signer) + if !ok { + c.sendAlert(alertInternalError) + return fmt.Errorf("tls: client certificate private key of type %T does not implement crypto.Signer", chainToSend.PrivateKey) + } + + var sigType uint8 + var sigHash crypto.Hash + if c.vers >= VersionTLS12 { + signatureAlgorithm, err := selectSignatureScheme(c.vers, chainToSend, certReq.supportedSignatureAlgorithms) + if err != nil { + c.sendAlert(alertIllegalParameter) + return err + } + sigType, sigHash, err = typeAndHashFromSignatureScheme(signatureAlgorithm) + if err != nil { + return c.sendAlert(alertInternalError) + } + certVerify.hasSignatureAlgorithm = true + certVerify.signatureAlgorithm = signatureAlgorithm + } else { + sigType, sigHash, err = legacyTypeAndHashFromPublicKey(key.Public()) + if err != nil { + c.sendAlert(alertIllegalParameter) + return err + } + } + + signed := hs.finishedHash.hashForClientCertificate(sigType, sigHash, hs.masterSecret) + signOpts := crypto.SignerOpts(sigHash) + if sigType == signatureRSAPSS { + signOpts = &rsa.PSSOptions{SaltLength: rsa.PSSSaltLengthEqualsHash, Hash: sigHash} + } + certVerify.signature, err = key.Sign(c.config.rand(), signed, signOpts) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + + hs.finishedHash.Write(certVerify.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, certVerify.marshal()); err != nil { + return err + } + } + + hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.hello.random, hs.serverHello.random) + if err := c.config.writeKeyLog(keyLogLabelTLS12, hs.hello.random, hs.masterSecret); err != nil { + c.sendAlert(alertInternalError) + return errors.New("tls: failed to write to key log: " + err.Error()) + } + + hs.finishedHash.discardHandshakeBuffer() + + return nil +} + +func (hs *clientHandshakeState) establishKeys() error { + c := hs.c + + clientMAC, serverMAC, clientKey, serverKey, clientIV, serverIV := + keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.hello.random, hs.serverHello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen) + var clientCipher, serverCipher any + var clientHash, serverHash hash.Hash + if hs.suite.cipher != nil { + clientCipher = hs.suite.cipher(clientKey, clientIV, false /* not for reading */) + clientHash = hs.suite.mac(clientMAC) + serverCipher = hs.suite.cipher(serverKey, serverIV, true /* for reading */) + serverHash = hs.suite.mac(serverMAC) + } else { + clientCipher = hs.suite.aead(clientKey, clientIV) + serverCipher = hs.suite.aead(serverKey, serverIV) + } + + c.in.prepareCipherSpec(c.vers, serverCipher, serverHash) + c.out.prepareCipherSpec(c.vers, clientCipher, clientHash) + return nil +} + +func (hs *clientHandshakeState) serverResumedSession() bool { + // If the server responded with the same sessionId then it means the + // sessionTicket is being used to resume a TLS session. + return hs.session != nil && hs.hello.sessionId != nil && + bytes.Equal(hs.serverHello.sessionId, hs.hello.sessionId) +} + +func (hs *clientHandshakeState) processServerHello() (bool, error) { + c := hs.c + + if err := hs.pickCipherSuite(); err != nil { + return false, err + } + + if hs.serverHello.compressionMethod != compressionNone { + c.sendAlert(alertUnexpectedMessage) + return false, errors.New("tls: server selected unsupported compression format") + } + + if c.handshakes == 0 && hs.serverHello.secureRenegotiationSupported { + c.secureRenegotiation = true + if len(hs.serverHello.secureRenegotiation) != 0 { + c.sendAlert(alertHandshakeFailure) + return false, errors.New("tls: initial handshake had non-empty renegotiation extension") + } + } + + if c.handshakes > 0 && c.secureRenegotiation { + var expectedSecureRenegotiation [24]byte + copy(expectedSecureRenegotiation[:], c.clientFinished[:]) + copy(expectedSecureRenegotiation[12:], c.serverFinished[:]) + if !bytes.Equal(hs.serverHello.secureRenegotiation, expectedSecureRenegotiation[:]) { + c.sendAlert(alertHandshakeFailure) + return false, errors.New("tls: incorrect renegotiation extension contents") + } + } + + if err := checkALPN(hs.hello.alpnProtocols, hs.serverHello.alpnProtocol); err != nil { + c.sendAlert(alertUnsupportedExtension) + return false, err + } + c.clientProtocol = hs.serverHello.alpnProtocol + + c.scts = hs.serverHello.scts + + if !hs.serverResumedSession() { + return false, nil + } + + if hs.session.vers != c.vers { + c.sendAlert(alertHandshakeFailure) + return false, errors.New("tls: server resumed a session with a different version") + } + + if hs.session.cipherSuite != hs.suite.id { + c.sendAlert(alertHandshakeFailure) + return false, errors.New("tls: server resumed a session with a different cipher suite") + } + + // Restore masterSecret, peerCerts, and ocspResponse from previous state + hs.masterSecret = hs.session.masterSecret + c.peerCertificates = hs.session.serverCertificates + c.verifiedChains = hs.session.verifiedChains + c.ocspResponse = hs.session.ocspResponse + // Let the ServerHello SCTs override the session SCTs from the original + // connection, if any are provided + if len(c.scts) == 0 && len(hs.session.scts) != 0 { + c.scts = hs.session.scts + } + + return true, nil +} + +// checkALPN ensure that the server's choice of ALPN protocol is compatible with +// the protocols that we advertised in the Client Hello. +func checkALPN(clientProtos []string, serverProto string) error { + if serverProto == "" { + return nil + } + if len(clientProtos) == 0 { + return errors.New("tls: server advertised unrequested ALPN extension") + } + for _, proto := range clientProtos { + if proto == serverProto { + return nil + } + } + return errors.New("tls: server selected unadvertised ALPN protocol") +} + +func (hs *clientHandshakeState) readFinished(out []byte) error { + c := hs.c + + if err := c.readChangeCipherSpec(); err != nil { + return err + } + + msg, err := c.readHandshake() + if err != nil { + return err + } + serverFinished, ok := msg.(*finishedMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(serverFinished, msg) + } + + verify := hs.finishedHash.serverSum(hs.masterSecret) + if len(verify) != len(serverFinished.verifyData) || + subtle.ConstantTimeCompare(verify, serverFinished.verifyData) != 1 { + c.sendAlert(alertHandshakeFailure) + return errors.New("tls: server's Finished message was incorrect") + } + hs.finishedHash.Write(serverFinished.marshal()) + copy(out, verify) + return nil +} + +func (hs *clientHandshakeState) readSessionTicket() error { + if !hs.serverHello.ticketSupported { + return nil + } + + c := hs.c + msg, err := c.readHandshake() + if err != nil { + return err + } + sessionTicketMsg, ok := msg.(*newSessionTicketMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(sessionTicketMsg, msg) + } + hs.finishedHash.Write(sessionTicketMsg.marshal()) + + hs.session = &clientSessionState{ + sessionTicket: sessionTicketMsg.ticket, + vers: c.vers, + cipherSuite: hs.suite.id, + masterSecret: hs.masterSecret, + serverCertificates: c.peerCertificates, + verifiedChains: c.verifiedChains, + receivedAt: c.config.time(), + ocspResponse: c.ocspResponse, + scts: c.scts, + } + + return nil +} + +func (hs *clientHandshakeState) sendFinished(out []byte) error { + c := hs.c + + if _, err := c.writeRecord(recordTypeChangeCipherSpec, []byte{1}); err != nil { + return err + } + + finished := new(finishedMsg) + finished.verifyData = hs.finishedHash.clientSum(hs.masterSecret) + hs.finishedHash.Write(finished.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, finished.marshal()); err != nil { + return err + } + copy(out, finished.verifyData) + return nil +} + +// verifyServerCertificate parses and verifies the provided chain, setting +// c.verifiedChains and c.peerCertificates or sending the appropriate alert. +func (c *Conn) verifyServerCertificate(certificates [][]byte) error { + certs := make([]*x509.Certificate, len(certificates)) + for i, asn1Data := range certificates { + cert, err := x509.ParseCertificate(asn1Data) + if err != nil { + c.sendAlert(alertBadCertificate) + return errors.New("tls: failed to parse certificate from server: " + err.Error()) + } + certs[i] = cert + } + + if !c.config.InsecureSkipVerify { + opts := x509.VerifyOptions{ + Roots: c.config.RootCAs, + CurrentTime: c.config.time(), + DNSName: c.config.ServerName, + Intermediates: x509.NewCertPool(), + } + + for _, cert := range certs[1:] { + opts.Intermediates.AddCert(cert) + } + var err error + c.verifiedChains, err = certs[0].Verify(opts) + if err != nil { + c.sendAlert(alertBadCertificate) + return err + } + } + + switch certs[0].PublicKey.(type) { + case *rsa.PublicKey, *ecdsa.PublicKey, ed25519.PublicKey: + break + default: + c.sendAlert(alertUnsupportedCertificate) + return fmt.Errorf("tls: server's certificate contains an unsupported type of public key: %T", certs[0].PublicKey) + } + + c.peerCertificates = certs + + if c.config.VerifyPeerCertificate != nil { + if err := c.config.VerifyPeerCertificate(certificates, c.verifiedChains); err != nil { + c.sendAlert(alertBadCertificate) + return err + } + } + + if c.config.VerifyConnection != nil { + if err := c.config.VerifyConnection(c.connectionStateLocked()); err != nil { + c.sendAlert(alertBadCertificate) + return err + } + } + + return nil +} + +// certificateRequestInfoFromMsg generates a CertificateRequestInfo from a TLS +// <= 1.2 CertificateRequest, making an effort to fill in missing information. +func certificateRequestInfoFromMsg(ctx context.Context, vers uint16, certReq *certificateRequestMsg) *CertificateRequestInfo { + cri := &certificateRequestInfo{ + AcceptableCAs: certReq.certificateAuthorities, + Version: vers, + ctx: ctx, + } + + var rsaAvail, ecAvail bool + for _, certType := range certReq.certificateTypes { + switch certType { + case certTypeRSASign: + rsaAvail = true + case certTypeECDSASign: + ecAvail = true + } + } + + if !certReq.hasSignatureAlgorithm { + // Prior to TLS 1.2, signature schemes did not exist. In this case we + // make up a list based on the acceptable certificate types, to help + // GetClientCertificate and SupportsCertificate select the right certificate. + // The hash part of the SignatureScheme is a lie here, because + // TLS 1.0 and 1.1 always use MD5+SHA1 for RSA and SHA1 for ECDSA. + switch { + case rsaAvail && ecAvail: + cri.SignatureSchemes = []SignatureScheme{ + ECDSAWithP256AndSHA256, ECDSAWithP384AndSHA384, ECDSAWithP521AndSHA512, + PKCS1WithSHA256, PKCS1WithSHA384, PKCS1WithSHA512, PKCS1WithSHA1, + } + case rsaAvail: + cri.SignatureSchemes = []SignatureScheme{ + PKCS1WithSHA256, PKCS1WithSHA384, PKCS1WithSHA512, PKCS1WithSHA1, + } + case ecAvail: + cri.SignatureSchemes = []SignatureScheme{ + ECDSAWithP256AndSHA256, ECDSAWithP384AndSHA384, ECDSAWithP521AndSHA512, + } + } + return toCertificateRequestInfo(cri) + } + + // Filter the signature schemes based on the certificate types. + // See RFC 5246, Section 7.4.4 (where it calls this "somewhat complicated"). + cri.SignatureSchemes = make([]SignatureScheme, 0, len(certReq.supportedSignatureAlgorithms)) + for _, sigScheme := range certReq.supportedSignatureAlgorithms { + sigType, _, err := typeAndHashFromSignatureScheme(sigScheme) + if err != nil { + continue + } + switch sigType { + case signatureECDSA, signatureEd25519: + if ecAvail { + cri.SignatureSchemes = append(cri.SignatureSchemes, sigScheme) + } + case signatureRSAPSS, signaturePKCS1v15: + if rsaAvail { + cri.SignatureSchemes = append(cri.SignatureSchemes, sigScheme) + } + } + } + + return toCertificateRequestInfo(cri) +} + +func (c *Conn) getClientCertificate(cri *CertificateRequestInfo) (*Certificate, error) { + if c.config.GetClientCertificate != nil { + return c.config.GetClientCertificate(cri) + } + + for _, chain := range c.config.Certificates { + if err := cri.SupportsCertificate(&chain); err != nil { + continue + } + return &chain, nil + } + + // No acceptable certificate found. Don't send a certificate. + return new(Certificate), nil +} + +const clientSessionCacheKeyPrefix = "qtls-" + +// clientSessionCacheKey returns a key used to cache sessionTickets that could +// be used to resume previously negotiated TLS sessions with a server. +func clientSessionCacheKey(serverAddr net.Addr, config *config) string { + if len(config.ServerName) > 0 { + return clientSessionCacheKeyPrefix + config.ServerName + } + return clientSessionCacheKeyPrefix + serverAddr.String() +} + +// hostnameInSNI converts name into an appropriate hostname for SNI. +// Literal IP addresses and absolute FQDNs are not permitted as SNI values. +// See RFC 6066, Section 3. +func hostnameInSNI(name string) string { + host := name + if len(host) > 0 && host[0] == '[' && host[len(host)-1] == ']' { + host = host[1 : len(host)-1] + } + if i := strings.LastIndex(host, "%"); i > 0 { + host = host[:i] + } + if net.ParseIP(host) != nil { + return "" + } + for len(name) > 0 && name[len(name)-1] == '.' { + name = name[:len(name)-1] + } + return name +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/handshake_client_tls13.go b/vendor/github.com/marten-seemann/qtls-go1-19/handshake_client_tls13.go new file mode 100644 index 000000000..7f05f2c6c --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/handshake_client_tls13.go @@ -0,0 +1,736 @@ +// Copyright 2018 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import ( + "bytes" + "context" + "crypto" + "crypto/hmac" + "crypto/rsa" + "encoding/binary" + "errors" + "hash" + "sync/atomic" + "time" + + "golang.org/x/crypto/cryptobyte" +) + +type clientHandshakeStateTLS13 struct { + c *Conn + ctx context.Context + serverHello *serverHelloMsg + hello *clientHelloMsg + ecdheParams ecdheParameters + + session *clientSessionState + earlySecret []byte + binderKey []byte + + certReq *certificateRequestMsgTLS13 + usingPSK bool + sentDummyCCS bool + suite *cipherSuiteTLS13 + transcript hash.Hash + masterSecret []byte + trafficSecret []byte // client_application_traffic_secret_0 +} + +// handshake requires hs.c, hs.hello, hs.serverHello, hs.ecdheParams, and, +// optionally, hs.session, hs.earlySecret and hs.binderKey to be set. +func (hs *clientHandshakeStateTLS13) handshake() error { + c := hs.c + + if needFIPS() { + return errors.New("tls: internal error: TLS 1.3 reached in FIPS mode") + } + + // The server must not select TLS 1.3 in a renegotiation. See RFC 8446, + // sections 4.1.2 and 4.1.3. + if c.handshakes > 0 { + c.sendAlert(alertProtocolVersion) + return errors.New("tls: server selected TLS 1.3 in a renegotiation") + } + + // Consistency check on the presence of a keyShare and its parameters. + if hs.ecdheParams == nil || len(hs.hello.keyShares) != 1 { + return c.sendAlert(alertInternalError) + } + + if err := hs.checkServerHelloOrHRR(); err != nil { + return err + } + + hs.transcript = hs.suite.hash.New() + hs.transcript.Write(hs.hello.marshal()) + + if bytes.Equal(hs.serverHello.random, helloRetryRequestRandom) { + if err := hs.sendDummyChangeCipherSpec(); err != nil { + return err + } + if err := hs.processHelloRetryRequest(); err != nil { + return err + } + } + + hs.transcript.Write(hs.serverHello.marshal()) + + c.buffering = true + if err := hs.processServerHello(); err != nil { + return err + } + if err := hs.sendDummyChangeCipherSpec(); err != nil { + return err + } + if err := hs.establishHandshakeKeys(); err != nil { + return err + } + if err := hs.readServerParameters(); err != nil { + return err + } + if err := hs.readServerCertificate(); err != nil { + return err + } + if err := hs.readServerFinished(); err != nil { + return err + } + if err := hs.sendClientCertificate(); err != nil { + return err + } + if err := hs.sendClientFinished(); err != nil { + return err + } + if _, err := c.flush(); err != nil { + return err + } + + atomic.StoreUint32(&c.handshakeStatus, 1) + + return nil +} + +// checkServerHelloOrHRR does validity checks that apply to both ServerHello and +// HelloRetryRequest messages. It sets hs.suite. +func (hs *clientHandshakeStateTLS13) checkServerHelloOrHRR() error { + c := hs.c + + if hs.serverHello.supportedVersion == 0 { + c.sendAlert(alertMissingExtension) + return errors.New("tls: server selected TLS 1.3 using the legacy version field") + } + + if hs.serverHello.supportedVersion != VersionTLS13 { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server selected an invalid version after a HelloRetryRequest") + } + + if hs.serverHello.vers != VersionTLS12 { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server sent an incorrect legacy version") + } + + if hs.serverHello.ocspStapling || + hs.serverHello.ticketSupported || + hs.serverHello.secureRenegotiationSupported || + len(hs.serverHello.secureRenegotiation) != 0 || + len(hs.serverHello.alpnProtocol) != 0 || + len(hs.serverHello.scts) != 0 { + c.sendAlert(alertUnsupportedExtension) + return errors.New("tls: server sent a ServerHello extension forbidden in TLS 1.3") + } + + if !bytes.Equal(hs.hello.sessionId, hs.serverHello.sessionId) { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server did not echo the legacy session ID") + } + + if hs.serverHello.compressionMethod != compressionNone { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server selected unsupported compression format") + } + + selectedSuite := mutualCipherSuiteTLS13(hs.hello.cipherSuites, hs.serverHello.cipherSuite) + if hs.suite != nil && selectedSuite != hs.suite { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server changed cipher suite after a HelloRetryRequest") + } + if selectedSuite == nil { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server chose an unconfigured cipher suite") + } + hs.suite = selectedSuite + c.cipherSuite = hs.suite.id + + return nil +} + +// sendDummyChangeCipherSpec sends a ChangeCipherSpec record for compatibility +// with middleboxes that didn't implement TLS correctly. See RFC 8446, Appendix D.4. +func (hs *clientHandshakeStateTLS13) sendDummyChangeCipherSpec() error { + if hs.sentDummyCCS { + return nil + } + hs.sentDummyCCS = true + + _, err := hs.c.writeRecord(recordTypeChangeCipherSpec, []byte{1}) + return err +} + +// processHelloRetryRequest handles the HRR in hs.serverHello, modifies and +// resends hs.hello, and reads the new ServerHello into hs.serverHello. +func (hs *clientHandshakeStateTLS13) processHelloRetryRequest() error { + c := hs.c + + // The first ClientHello gets double-hashed into the transcript upon a + // HelloRetryRequest. (The idea is that the server might offload transcript + // storage to the client in the cookie.) See RFC 8446, Section 4.4.1. + chHash := hs.transcript.Sum(nil) + hs.transcript.Reset() + hs.transcript.Write([]byte{typeMessageHash, 0, 0, uint8(len(chHash))}) + hs.transcript.Write(chHash) + hs.transcript.Write(hs.serverHello.marshal()) + + // The only HelloRetryRequest extensions we support are key_share and + // cookie, and clients must abort the handshake if the HRR would not result + // in any change in the ClientHello. + if hs.serverHello.selectedGroup == 0 && hs.serverHello.cookie == nil { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server sent an unnecessary HelloRetryRequest message") + } + + if hs.serverHello.cookie != nil { + hs.hello.cookie = hs.serverHello.cookie + } + + if hs.serverHello.serverShare.group != 0 { + c.sendAlert(alertDecodeError) + return errors.New("tls: received malformed key_share extension") + } + + // If the server sent a key_share extension selecting a group, ensure it's + // a group we advertised but did not send a key share for, and send a key + // share for it this time. + if curveID := hs.serverHello.selectedGroup; curveID != 0 { + curveOK := false + for _, id := range hs.hello.supportedCurves { + if id == curveID { + curveOK = true + break + } + } + if !curveOK { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server selected unsupported group") + } + if hs.ecdheParams.CurveID() == curveID { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server sent an unnecessary HelloRetryRequest key_share") + } + if _, ok := curveForCurveID(curveID); curveID != X25519 && !ok { + c.sendAlert(alertInternalError) + return errors.New("tls: CurvePreferences includes unsupported curve") + } + params, err := generateECDHEParameters(c.config.rand(), curveID) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + hs.ecdheParams = params + hs.hello.keyShares = []keyShare{{group: curveID, data: params.PublicKey()}} + } + + hs.hello.raw = nil + if len(hs.hello.pskIdentities) > 0 { + pskSuite := cipherSuiteTLS13ByID(hs.session.cipherSuite) + if pskSuite == nil { + return c.sendAlert(alertInternalError) + } + if pskSuite.hash == hs.suite.hash { + // Update binders and obfuscated_ticket_age. + ticketAge := uint32(c.config.time().Sub(hs.session.receivedAt) / time.Millisecond) + hs.hello.pskIdentities[0].obfuscatedTicketAge = ticketAge + hs.session.ageAdd + + transcript := hs.suite.hash.New() + transcript.Write([]byte{typeMessageHash, 0, 0, uint8(len(chHash))}) + transcript.Write(chHash) + transcript.Write(hs.serverHello.marshal()) + transcript.Write(hs.hello.marshalWithoutBinders()) + pskBinders := [][]byte{hs.suite.finishedHash(hs.binderKey, transcript)} + hs.hello.updateBinders(pskBinders) + } else { + // Server selected a cipher suite incompatible with the PSK. + hs.hello.pskIdentities = nil + hs.hello.pskBinders = nil + } + } + + if hs.hello.earlyData && c.extraConfig != nil && c.extraConfig.Rejected0RTT != nil { + c.extraConfig.Rejected0RTT() + } + hs.hello.earlyData = false // disable 0-RTT + + hs.transcript.Write(hs.hello.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, hs.hello.marshal()); err != nil { + return err + } + + msg, err := c.readHandshake() + if err != nil { + return err + } + + serverHello, ok := msg.(*serverHelloMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(serverHello, msg) + } + hs.serverHello = serverHello + + if err := hs.checkServerHelloOrHRR(); err != nil { + return err + } + + return nil +} + +func (hs *clientHandshakeStateTLS13) processServerHello() error { + c := hs.c + + if bytes.Equal(hs.serverHello.random, helloRetryRequestRandom) { + c.sendAlert(alertUnexpectedMessage) + return errors.New("tls: server sent two HelloRetryRequest messages") + } + + if len(hs.serverHello.cookie) != 0 { + c.sendAlert(alertUnsupportedExtension) + return errors.New("tls: server sent a cookie in a normal ServerHello") + } + + if hs.serverHello.selectedGroup != 0 { + c.sendAlert(alertDecodeError) + return errors.New("tls: malformed key_share extension") + } + + if hs.serverHello.serverShare.group == 0 { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server did not send a key share") + } + if hs.serverHello.serverShare.group != hs.ecdheParams.CurveID() { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server selected unsupported group") + } + + if !hs.serverHello.selectedIdentityPresent { + return nil + } + + if int(hs.serverHello.selectedIdentity) >= len(hs.hello.pskIdentities) { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server selected an invalid PSK") + } + + if len(hs.hello.pskIdentities) != 1 || hs.session == nil { + return c.sendAlert(alertInternalError) + } + pskSuite := cipherSuiteTLS13ByID(hs.session.cipherSuite) + if pskSuite == nil { + return c.sendAlert(alertInternalError) + } + if pskSuite.hash != hs.suite.hash { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server selected an invalid PSK and cipher suite pair") + } + + hs.usingPSK = true + c.didResume = true + c.peerCertificates = hs.session.serverCertificates + c.verifiedChains = hs.session.verifiedChains + c.ocspResponse = hs.session.ocspResponse + c.scts = hs.session.scts + return nil +} + +func (hs *clientHandshakeStateTLS13) establishHandshakeKeys() error { + c := hs.c + + sharedKey := hs.ecdheParams.SharedKey(hs.serverHello.serverShare.data) + if sharedKey == nil { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: invalid server key share") + } + + earlySecret := hs.earlySecret + if !hs.usingPSK { + earlySecret = hs.suite.extract(nil, nil) + } + handshakeSecret := hs.suite.extract(sharedKey, + hs.suite.deriveSecret(earlySecret, "derived", nil)) + + clientSecret := hs.suite.deriveSecret(handshakeSecret, + clientHandshakeTrafficLabel, hs.transcript) + c.out.exportKey(EncryptionHandshake, hs.suite, clientSecret) + c.out.setTrafficSecret(hs.suite, clientSecret) + serverSecret := hs.suite.deriveSecret(handshakeSecret, + serverHandshakeTrafficLabel, hs.transcript) + c.in.exportKey(EncryptionHandshake, hs.suite, serverSecret) + c.in.setTrafficSecret(hs.suite, serverSecret) + + err := c.config.writeKeyLog(keyLogLabelClientHandshake, hs.hello.random, clientSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + err = c.config.writeKeyLog(keyLogLabelServerHandshake, hs.hello.random, serverSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + + hs.masterSecret = hs.suite.extract(nil, + hs.suite.deriveSecret(handshakeSecret, "derived", nil)) + + return nil +} + +func (hs *clientHandshakeStateTLS13) readServerParameters() error { + c := hs.c + + msg, err := c.readHandshake() + if err != nil { + return err + } + + encryptedExtensions, ok := msg.(*encryptedExtensionsMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(encryptedExtensions, msg) + } + // Notify the caller if 0-RTT was rejected. + if !encryptedExtensions.earlyData && hs.hello.earlyData && c.extraConfig != nil && c.extraConfig.Rejected0RTT != nil { + c.extraConfig.Rejected0RTT() + } + c.used0RTT = encryptedExtensions.earlyData + if hs.c.extraConfig != nil && hs.c.extraConfig.ReceivedExtensions != nil { + hs.c.extraConfig.ReceivedExtensions(typeEncryptedExtensions, encryptedExtensions.additionalExtensions) + } + hs.transcript.Write(encryptedExtensions.marshal()) + + if err := checkALPN(hs.hello.alpnProtocols, encryptedExtensions.alpnProtocol); err != nil { + c.sendAlert(alertUnsupportedExtension) + return err + } + c.clientProtocol = encryptedExtensions.alpnProtocol + + if c.extraConfig != nil && c.extraConfig.EnforceNextProtoSelection { + if len(encryptedExtensions.alpnProtocol) == 0 { + // the server didn't select an ALPN + c.sendAlert(alertNoApplicationProtocol) + return errors.New("ALPN negotiation failed. Server didn't offer any protocols") + } + } + return nil +} + +func (hs *clientHandshakeStateTLS13) readServerCertificate() error { + c := hs.c + + // Either a PSK or a certificate is always used, but not both. + // See RFC 8446, Section 4.1.1. + if hs.usingPSK { + // Make sure the connection is still being verified whether or not this + // is a resumption. Resumptions currently don't reverify certificates so + // they don't call verifyServerCertificate. See Issue 31641. + if c.config.VerifyConnection != nil { + if err := c.config.VerifyConnection(c.connectionStateLocked()); err != nil { + c.sendAlert(alertBadCertificate) + return err + } + } + return nil + } + + msg, err := c.readHandshake() + if err != nil { + return err + } + + certReq, ok := msg.(*certificateRequestMsgTLS13) + if ok { + hs.transcript.Write(certReq.marshal()) + + hs.certReq = certReq + + msg, err = c.readHandshake() + if err != nil { + return err + } + } + + certMsg, ok := msg.(*certificateMsgTLS13) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(certMsg, msg) + } + if len(certMsg.certificate.Certificate) == 0 { + c.sendAlert(alertDecodeError) + return errors.New("tls: received empty certificates message") + } + hs.transcript.Write(certMsg.marshal()) + + c.scts = certMsg.certificate.SignedCertificateTimestamps + c.ocspResponse = certMsg.certificate.OCSPStaple + + if err := c.verifyServerCertificate(certMsg.certificate.Certificate); err != nil { + return err + } + + msg, err = c.readHandshake() + if err != nil { + return err + } + + certVerify, ok := msg.(*certificateVerifyMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(certVerify, msg) + } + + // See RFC 8446, Section 4.4.3. + if !isSupportedSignatureAlgorithm(certVerify.signatureAlgorithm, supportedSignatureAlgorithms()) { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: certificate used with invalid signature algorithm") + } + sigType, sigHash, err := typeAndHashFromSignatureScheme(certVerify.signatureAlgorithm) + if err != nil { + return c.sendAlert(alertInternalError) + } + if sigType == signaturePKCS1v15 || sigHash == crypto.SHA1 { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: certificate used with invalid signature algorithm") + } + signed := signedMessage(sigHash, serverSignatureContext, hs.transcript) + if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey, + sigHash, signed, certVerify.signature); err != nil { + c.sendAlert(alertDecryptError) + return errors.New("tls: invalid signature by the server certificate: " + err.Error()) + } + + hs.transcript.Write(certVerify.marshal()) + + return nil +} + +func (hs *clientHandshakeStateTLS13) readServerFinished() error { + c := hs.c + + msg, err := c.readHandshake() + if err != nil { + return err + } + + finished, ok := msg.(*finishedMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(finished, msg) + } + + expectedMAC := hs.suite.finishedHash(c.in.trafficSecret, hs.transcript) + if !hmac.Equal(expectedMAC, finished.verifyData) { + c.sendAlert(alertDecryptError) + return errors.New("tls: invalid server finished hash") + } + + hs.transcript.Write(finished.marshal()) + + // Derive secrets that take context through the server Finished. + + hs.trafficSecret = hs.suite.deriveSecret(hs.masterSecret, + clientApplicationTrafficLabel, hs.transcript) + serverSecret := hs.suite.deriveSecret(hs.masterSecret, + serverApplicationTrafficLabel, hs.transcript) + c.in.exportKey(EncryptionApplication, hs.suite, serverSecret) + c.in.setTrafficSecret(hs.suite, serverSecret) + + err = c.config.writeKeyLog(keyLogLabelClientTraffic, hs.hello.random, hs.trafficSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + err = c.config.writeKeyLog(keyLogLabelServerTraffic, hs.hello.random, serverSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + + c.ekm = hs.suite.exportKeyingMaterial(hs.masterSecret, hs.transcript) + + return nil +} + +func (hs *clientHandshakeStateTLS13) sendClientCertificate() error { + c := hs.c + + if hs.certReq == nil { + return nil + } + + cert, err := c.getClientCertificate(toCertificateRequestInfo(&certificateRequestInfo{ + AcceptableCAs: hs.certReq.certificateAuthorities, + SignatureSchemes: hs.certReq.supportedSignatureAlgorithms, + Version: c.vers, + ctx: hs.ctx, + })) + if err != nil { + return err + } + + certMsg := new(certificateMsgTLS13) + + certMsg.certificate = *cert + certMsg.scts = hs.certReq.scts && len(cert.SignedCertificateTimestamps) > 0 + certMsg.ocspStapling = hs.certReq.ocspStapling && len(cert.OCSPStaple) > 0 + + hs.transcript.Write(certMsg.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, certMsg.marshal()); err != nil { + return err + } + + // If we sent an empty certificate message, skip the CertificateVerify. + if len(cert.Certificate) == 0 { + return nil + } + + certVerifyMsg := new(certificateVerifyMsg) + certVerifyMsg.hasSignatureAlgorithm = true + + certVerifyMsg.signatureAlgorithm, err = selectSignatureScheme(c.vers, cert, hs.certReq.supportedSignatureAlgorithms) + if err != nil { + // getClientCertificate returned a certificate incompatible with the + // CertificateRequestInfo supported signature algorithms. + c.sendAlert(alertHandshakeFailure) + return err + } + + sigType, sigHash, err := typeAndHashFromSignatureScheme(certVerifyMsg.signatureAlgorithm) + if err != nil { + return c.sendAlert(alertInternalError) + } + + signed := signedMessage(sigHash, clientSignatureContext, hs.transcript) + signOpts := crypto.SignerOpts(sigHash) + if sigType == signatureRSAPSS { + signOpts = &rsa.PSSOptions{SaltLength: rsa.PSSSaltLengthEqualsHash, Hash: sigHash} + } + sig, err := cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts) + if err != nil { + c.sendAlert(alertInternalError) + return errors.New("tls: failed to sign handshake: " + err.Error()) + } + certVerifyMsg.signature = sig + + hs.transcript.Write(certVerifyMsg.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, certVerifyMsg.marshal()); err != nil { + return err + } + + return nil +} + +func (hs *clientHandshakeStateTLS13) sendClientFinished() error { + c := hs.c + + finished := &finishedMsg{ + verifyData: hs.suite.finishedHash(c.out.trafficSecret, hs.transcript), + } + + hs.transcript.Write(finished.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, finished.marshal()); err != nil { + return err + } + + c.out.exportKey(EncryptionApplication, hs.suite, hs.trafficSecret) + c.out.setTrafficSecret(hs.suite, hs.trafficSecret) + + if !c.config.SessionTicketsDisabled && c.config.ClientSessionCache != nil { + c.resumptionSecret = hs.suite.deriveSecret(hs.masterSecret, + resumptionLabel, hs.transcript) + } + + return nil +} + +func (c *Conn) handleNewSessionTicket(msg *newSessionTicketMsgTLS13) error { + if !c.isClient { + c.sendAlert(alertUnexpectedMessage) + return errors.New("tls: received new session ticket from a client") + } + + if c.config.SessionTicketsDisabled || c.config.ClientSessionCache == nil { + return nil + } + + // See RFC 8446, Section 4.6.1. + if msg.lifetime == 0 { + return nil + } + lifetime := time.Duration(msg.lifetime) * time.Second + if lifetime > maxSessionTicketLifetime { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: received a session ticket with invalid lifetime") + } + + cipherSuite := cipherSuiteTLS13ByID(c.cipherSuite) + if cipherSuite == nil || c.resumptionSecret == nil { + return c.sendAlert(alertInternalError) + } + + // We need to save the max_early_data_size that the server sent us, in order + // to decide if we're going to try 0-RTT with this ticket. + // However, at the same time, the qtls.ClientSessionTicket needs to be equal to + // the tls.ClientSessionTicket, so we can't just add a new field to the struct. + // We therefore abuse the nonce field (which is a byte slice) + nonceWithEarlyData := make([]byte, len(msg.nonce)+4) + binary.BigEndian.PutUint32(nonceWithEarlyData, msg.maxEarlyData) + copy(nonceWithEarlyData[4:], msg.nonce) + + var appData []byte + if c.extraConfig != nil && c.extraConfig.GetAppDataForSessionState != nil { + appData = c.extraConfig.GetAppDataForSessionState() + } + var b cryptobyte.Builder + b.AddUint16(clientSessionStateVersion) // revision + b.AddUint32(msg.maxEarlyData) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(appData) + }) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(msg.nonce) + }) + + // Save the resumption_master_secret and nonce instead of deriving the PSK + // to do the least amount of work on NewSessionTicket messages before we + // know if the ticket will be used. Forward secrecy of resumed connections + // is guaranteed by the requirement for pskModeDHE. + session := &clientSessionState{ + sessionTicket: msg.label, + vers: c.vers, + cipherSuite: c.cipherSuite, + masterSecret: c.resumptionSecret, + serverCertificates: c.peerCertificates, + verifiedChains: c.verifiedChains, + receivedAt: c.config.time(), + nonce: b.BytesOrPanic(), + useBy: c.config.time().Add(lifetime), + ageAdd: msg.ageAdd, + ocspResponse: c.ocspResponse, + scts: c.scts, + } + + cacheKey := clientSessionCacheKey(c.conn.RemoteAddr(), c.config) + c.config.ClientSessionCache.Put(cacheKey, toClientSessionState(session)) + + return nil +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/handshake_messages.go b/vendor/github.com/marten-seemann/qtls-go1-19/handshake_messages.go new file mode 100644 index 000000000..07193c8ef --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/handshake_messages.go @@ -0,0 +1,1843 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import ( + "fmt" + "strings" + + "golang.org/x/crypto/cryptobyte" +) + +// The marshalingFunction type is an adapter to allow the use of ordinary +// functions as cryptobyte.MarshalingValue. +type marshalingFunction func(b *cryptobyte.Builder) error + +func (f marshalingFunction) Marshal(b *cryptobyte.Builder) error { + return f(b) +} + +// addBytesWithLength appends a sequence of bytes to the cryptobyte.Builder. If +// the length of the sequence is not the value specified, it produces an error. +func addBytesWithLength(b *cryptobyte.Builder, v []byte, n int) { + b.AddValue(marshalingFunction(func(b *cryptobyte.Builder) error { + if len(v) != n { + return fmt.Errorf("invalid value length: expected %d, got %d", n, len(v)) + } + b.AddBytes(v) + return nil + })) +} + +// addUint64 appends a big-endian, 64-bit value to the cryptobyte.Builder. +func addUint64(b *cryptobyte.Builder, v uint64) { + b.AddUint32(uint32(v >> 32)) + b.AddUint32(uint32(v)) +} + +// readUint64 decodes a big-endian, 64-bit value into out and advances over it. +// It reports whether the read was successful. +func readUint64(s *cryptobyte.String, out *uint64) bool { + var hi, lo uint32 + if !s.ReadUint32(&hi) || !s.ReadUint32(&lo) { + return false + } + *out = uint64(hi)<<32 | uint64(lo) + return true +} + +// readUint8LengthPrefixed acts like s.ReadUint8LengthPrefixed, but targets a +// []byte instead of a cryptobyte.String. +func readUint8LengthPrefixed(s *cryptobyte.String, out *[]byte) bool { + return s.ReadUint8LengthPrefixed((*cryptobyte.String)(out)) +} + +// readUint16LengthPrefixed acts like s.ReadUint16LengthPrefixed, but targets a +// []byte instead of a cryptobyte.String. +func readUint16LengthPrefixed(s *cryptobyte.String, out *[]byte) bool { + return s.ReadUint16LengthPrefixed((*cryptobyte.String)(out)) +} + +// readUint24LengthPrefixed acts like s.ReadUint24LengthPrefixed, but targets a +// []byte instead of a cryptobyte.String. +func readUint24LengthPrefixed(s *cryptobyte.String, out *[]byte) bool { + return s.ReadUint24LengthPrefixed((*cryptobyte.String)(out)) +} + +type clientHelloMsg struct { + raw []byte + vers uint16 + random []byte + sessionId []byte + cipherSuites []uint16 + compressionMethods []uint8 + serverName string + ocspStapling bool + supportedCurves []CurveID + supportedPoints []uint8 + ticketSupported bool + sessionTicket []uint8 + supportedSignatureAlgorithms []SignatureScheme + supportedSignatureAlgorithmsCert []SignatureScheme + secureRenegotiationSupported bool + secureRenegotiation []byte + alpnProtocols []string + scts bool + supportedVersions []uint16 + cookie []byte + keyShares []keyShare + earlyData bool + pskModes []uint8 + pskIdentities []pskIdentity + pskBinders [][]byte + additionalExtensions []Extension +} + +func (m *clientHelloMsg) marshal() []byte { + if m.raw != nil { + return m.raw + } + + var b cryptobyte.Builder + b.AddUint8(typeClientHello) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16(m.vers) + addBytesWithLength(b, m.random, 32) + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.sessionId) + }) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, suite := range m.cipherSuites { + b.AddUint16(suite) + } + }) + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.compressionMethods) + }) + + // If extensions aren't present, omit them. + var extensionsPresent bool + bWithoutExtensions := *b + + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + if len(m.serverName) > 0 { + // RFC 6066, Section 3 + b.AddUint16(extensionServerName) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8(0) // name_type = host_name + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes([]byte(m.serverName)) + }) + }) + }) + } + if m.ocspStapling { + // RFC 4366, Section 3.6 + b.AddUint16(extensionStatusRequest) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8(1) // status_type = ocsp + b.AddUint16(0) // empty responder_id_list + b.AddUint16(0) // empty request_extensions + }) + } + if len(m.supportedCurves) > 0 { + // RFC 4492, sections 5.1.1 and RFC 8446, Section 4.2.7 + b.AddUint16(extensionSupportedCurves) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, curve := range m.supportedCurves { + b.AddUint16(uint16(curve)) + } + }) + }) + } + if len(m.supportedPoints) > 0 { + // RFC 4492, Section 5.1.2 + b.AddUint16(extensionSupportedPoints) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.supportedPoints) + }) + }) + } + if m.ticketSupported { + // RFC 5077, Section 3.2 + b.AddUint16(extensionSessionTicket) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.sessionTicket) + }) + } + if len(m.supportedSignatureAlgorithms) > 0 { + // RFC 5246, Section 7.4.1.4.1 + b.AddUint16(extensionSignatureAlgorithms) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, sigAlgo := range m.supportedSignatureAlgorithms { + b.AddUint16(uint16(sigAlgo)) + } + }) + }) + } + if len(m.supportedSignatureAlgorithmsCert) > 0 { + // RFC 8446, Section 4.2.3 + b.AddUint16(extensionSignatureAlgorithmsCert) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, sigAlgo := range m.supportedSignatureAlgorithmsCert { + b.AddUint16(uint16(sigAlgo)) + } + }) + }) + } + if m.secureRenegotiationSupported { + // RFC 5746, Section 3.2 + b.AddUint16(extensionRenegotiationInfo) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.secureRenegotiation) + }) + }) + } + if len(m.alpnProtocols) > 0 { + // RFC 7301, Section 3.1 + b.AddUint16(extensionALPN) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, proto := range m.alpnProtocols { + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes([]byte(proto)) + }) + } + }) + }) + } + if m.scts { + // RFC 6962, Section 3.3.1 + b.AddUint16(extensionSCT) + b.AddUint16(0) // empty extension_data + } + if len(m.supportedVersions) > 0 { + // RFC 8446, Section 4.2.1 + b.AddUint16(extensionSupportedVersions) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + for _, vers := range m.supportedVersions { + b.AddUint16(vers) + } + }) + }) + } + if len(m.cookie) > 0 { + // RFC 8446, Section 4.2.2 + b.AddUint16(extensionCookie) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.cookie) + }) + }) + } + if len(m.keyShares) > 0 { + // RFC 8446, Section 4.2.8 + b.AddUint16(extensionKeyShare) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, ks := range m.keyShares { + b.AddUint16(uint16(ks.group)) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(ks.data) + }) + } + }) + }) + } + if m.earlyData { + // RFC 8446, Section 4.2.10 + b.AddUint16(extensionEarlyData) + b.AddUint16(0) // empty extension_data + } + if len(m.pskModes) > 0 { + // RFC 8446, Section 4.2.9 + b.AddUint16(extensionPSKModes) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.pskModes) + }) + }) + } + for _, ext := range m.additionalExtensions { + b.AddUint16(ext.Type) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(ext.Data) + }) + } + if len(m.pskIdentities) > 0 { // pre_shared_key must be the last extension + // RFC 8446, Section 4.2.11 + b.AddUint16(extensionPreSharedKey) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, psk := range m.pskIdentities { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(psk.label) + }) + b.AddUint32(psk.obfuscatedTicketAge) + } + }) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, binder := range m.pskBinders { + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(binder) + }) + } + }) + }) + } + + extensionsPresent = len(b.BytesOrPanic()) > 2 + }) + + if !extensionsPresent { + *b = bWithoutExtensions + } + }) + + m.raw = b.BytesOrPanic() + return m.raw +} + +// marshalWithoutBinders returns the ClientHello through the +// PreSharedKeyExtension.identities field, according to RFC 8446, Section +// 4.2.11.2. Note that m.pskBinders must be set to slices of the correct length. +func (m *clientHelloMsg) marshalWithoutBinders() []byte { + bindersLen := 2 // uint16 length prefix + for _, binder := range m.pskBinders { + bindersLen += 1 // uint8 length prefix + bindersLen += len(binder) + } + + fullMessage := m.marshal() + return fullMessage[:len(fullMessage)-bindersLen] +} + +// updateBinders updates the m.pskBinders field, if necessary updating the +// cached marshaled representation. The supplied binders must have the same +// length as the current m.pskBinders. +func (m *clientHelloMsg) updateBinders(pskBinders [][]byte) { + if len(pskBinders) != len(m.pskBinders) { + panic("tls: internal error: pskBinders length mismatch") + } + for i := range m.pskBinders { + if len(pskBinders[i]) != len(m.pskBinders[i]) { + panic("tls: internal error: pskBinders length mismatch") + } + } + m.pskBinders = pskBinders + if m.raw != nil { + lenWithoutBinders := len(m.marshalWithoutBinders()) + b := cryptobyte.NewFixedBuilder(m.raw[:lenWithoutBinders]) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, binder := range m.pskBinders { + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(binder) + }) + } + }) + if out, err := b.Bytes(); err != nil || len(out) != len(m.raw) { + panic("tls: internal error: failed to update binders") + } + } +} + +func (m *clientHelloMsg) unmarshal(data []byte) bool { + *m = clientHelloMsg{raw: data} + s := cryptobyte.String(data) + + if !s.Skip(4) || // message type and uint24 length field + !s.ReadUint16(&m.vers) || !s.ReadBytes(&m.random, 32) || + !readUint8LengthPrefixed(&s, &m.sessionId) { + return false + } + + var cipherSuites cryptobyte.String + if !s.ReadUint16LengthPrefixed(&cipherSuites) { + return false + } + m.cipherSuites = []uint16{} + m.secureRenegotiationSupported = false + for !cipherSuites.Empty() { + var suite uint16 + if !cipherSuites.ReadUint16(&suite) { + return false + } + if suite == scsvRenegotiation { + m.secureRenegotiationSupported = true + } + m.cipherSuites = append(m.cipherSuites, suite) + } + + if !readUint8LengthPrefixed(&s, &m.compressionMethods) { + return false + } + + if s.Empty() { + // ClientHello is optionally followed by extension data + return true + } + + var extensions cryptobyte.String + if !s.ReadUint16LengthPrefixed(&extensions) || !s.Empty() { + return false + } + + seenExts := make(map[uint16]bool) + for !extensions.Empty() { + var extension uint16 + var extData cryptobyte.String + if !extensions.ReadUint16(&extension) || + !extensions.ReadUint16LengthPrefixed(&extData) { + return false + } + + if seenExts[extension] { + return false + } + seenExts[extension] = true + + switch extension { + case extensionServerName: + // RFC 6066, Section 3 + var nameList cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&nameList) || nameList.Empty() { + return false + } + for !nameList.Empty() { + var nameType uint8 + var serverName cryptobyte.String + if !nameList.ReadUint8(&nameType) || + !nameList.ReadUint16LengthPrefixed(&serverName) || + serverName.Empty() { + return false + } + if nameType != 0 { + continue + } + if len(m.serverName) != 0 { + // Multiple names of the same name_type are prohibited. + return false + } + m.serverName = string(serverName) + // An SNI value may not include a trailing dot. + if strings.HasSuffix(m.serverName, ".") { + return false + } + } + case extensionStatusRequest: + // RFC 4366, Section 3.6 + var statusType uint8 + var ignored cryptobyte.String + if !extData.ReadUint8(&statusType) || + !extData.ReadUint16LengthPrefixed(&ignored) || + !extData.ReadUint16LengthPrefixed(&ignored) { + return false + } + m.ocspStapling = statusType == statusTypeOCSP + case extensionSupportedCurves: + // RFC 4492, sections 5.1.1 and RFC 8446, Section 4.2.7 + var curves cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&curves) || curves.Empty() { + return false + } + for !curves.Empty() { + var curve uint16 + if !curves.ReadUint16(&curve) { + return false + } + m.supportedCurves = append(m.supportedCurves, CurveID(curve)) + } + case extensionSupportedPoints: + // RFC 4492, Section 5.1.2 + if !readUint8LengthPrefixed(&extData, &m.supportedPoints) || + len(m.supportedPoints) == 0 { + return false + } + case extensionSessionTicket: + // RFC 5077, Section 3.2 + m.ticketSupported = true + extData.ReadBytes(&m.sessionTicket, len(extData)) + case extensionSignatureAlgorithms: + // RFC 5246, Section 7.4.1.4.1 + var sigAndAlgs cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&sigAndAlgs) || sigAndAlgs.Empty() { + return false + } + for !sigAndAlgs.Empty() { + var sigAndAlg uint16 + if !sigAndAlgs.ReadUint16(&sigAndAlg) { + return false + } + m.supportedSignatureAlgorithms = append( + m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg)) + } + case extensionSignatureAlgorithmsCert: + // RFC 8446, Section 4.2.3 + var sigAndAlgs cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&sigAndAlgs) || sigAndAlgs.Empty() { + return false + } + for !sigAndAlgs.Empty() { + var sigAndAlg uint16 + if !sigAndAlgs.ReadUint16(&sigAndAlg) { + return false + } + m.supportedSignatureAlgorithmsCert = append( + m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg)) + } + case extensionRenegotiationInfo: + // RFC 5746, Section 3.2 + if !readUint8LengthPrefixed(&extData, &m.secureRenegotiation) { + return false + } + m.secureRenegotiationSupported = true + case extensionALPN: + // RFC 7301, Section 3.1 + var protoList cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&protoList) || protoList.Empty() { + return false + } + for !protoList.Empty() { + var proto cryptobyte.String + if !protoList.ReadUint8LengthPrefixed(&proto) || proto.Empty() { + return false + } + m.alpnProtocols = append(m.alpnProtocols, string(proto)) + } + case extensionSCT: + // RFC 6962, Section 3.3.1 + m.scts = true + case extensionSupportedVersions: + // RFC 8446, Section 4.2.1 + var versList cryptobyte.String + if !extData.ReadUint8LengthPrefixed(&versList) || versList.Empty() { + return false + } + for !versList.Empty() { + var vers uint16 + if !versList.ReadUint16(&vers) { + return false + } + m.supportedVersions = append(m.supportedVersions, vers) + } + case extensionCookie: + // RFC 8446, Section 4.2.2 + if !readUint16LengthPrefixed(&extData, &m.cookie) || + len(m.cookie) == 0 { + return false + } + case extensionKeyShare: + // RFC 8446, Section 4.2.8 + var clientShares cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&clientShares) { + return false + } + for !clientShares.Empty() { + var ks keyShare + if !clientShares.ReadUint16((*uint16)(&ks.group)) || + !readUint16LengthPrefixed(&clientShares, &ks.data) || + len(ks.data) == 0 { + return false + } + m.keyShares = append(m.keyShares, ks) + } + case extensionEarlyData: + // RFC 8446, Section 4.2.10 + m.earlyData = true + case extensionPSKModes: + // RFC 8446, Section 4.2.9 + if !readUint8LengthPrefixed(&extData, &m.pskModes) { + return false + } + case extensionPreSharedKey: + // RFC 8446, Section 4.2.11 + if !extensions.Empty() { + return false // pre_shared_key must be the last extension + } + var identities cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&identities) || identities.Empty() { + return false + } + for !identities.Empty() { + var psk pskIdentity + if !readUint16LengthPrefixed(&identities, &psk.label) || + !identities.ReadUint32(&psk.obfuscatedTicketAge) || + len(psk.label) == 0 { + return false + } + m.pskIdentities = append(m.pskIdentities, psk) + } + var binders cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&binders) || binders.Empty() { + return false + } + for !binders.Empty() { + var binder []byte + if !readUint8LengthPrefixed(&binders, &binder) || + len(binder) == 0 { + return false + } + m.pskBinders = append(m.pskBinders, binder) + } + default: + m.additionalExtensions = append(m.additionalExtensions, Extension{Type: extension, Data: extData}) + continue + } + + if !extData.Empty() { + return false + } + } + + return true +} + +type serverHelloMsg struct { + raw []byte + vers uint16 + random []byte + sessionId []byte + cipherSuite uint16 + compressionMethod uint8 + ocspStapling bool + ticketSupported bool + secureRenegotiationSupported bool + secureRenegotiation []byte + alpnProtocol string + scts [][]byte + supportedVersion uint16 + serverShare keyShare + selectedIdentityPresent bool + selectedIdentity uint16 + supportedPoints []uint8 + + // HelloRetryRequest extensions + cookie []byte + selectedGroup CurveID +} + +func (m *serverHelloMsg) marshal() []byte { + if m.raw != nil { + return m.raw + } + + var b cryptobyte.Builder + b.AddUint8(typeServerHello) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16(m.vers) + addBytesWithLength(b, m.random, 32) + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.sessionId) + }) + b.AddUint16(m.cipherSuite) + b.AddUint8(m.compressionMethod) + + // If extensions aren't present, omit them. + var extensionsPresent bool + bWithoutExtensions := *b + + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + if m.ocspStapling { + b.AddUint16(extensionStatusRequest) + b.AddUint16(0) // empty extension_data + } + if m.ticketSupported { + b.AddUint16(extensionSessionTicket) + b.AddUint16(0) // empty extension_data + } + if m.secureRenegotiationSupported { + b.AddUint16(extensionRenegotiationInfo) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.secureRenegotiation) + }) + }) + } + if len(m.alpnProtocol) > 0 { + b.AddUint16(extensionALPN) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes([]byte(m.alpnProtocol)) + }) + }) + }) + } + if len(m.scts) > 0 { + b.AddUint16(extensionSCT) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, sct := range m.scts { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(sct) + }) + } + }) + }) + } + if m.supportedVersion != 0 { + b.AddUint16(extensionSupportedVersions) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16(m.supportedVersion) + }) + } + if m.serverShare.group != 0 { + b.AddUint16(extensionKeyShare) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16(uint16(m.serverShare.group)) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.serverShare.data) + }) + }) + } + if m.selectedIdentityPresent { + b.AddUint16(extensionPreSharedKey) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16(m.selectedIdentity) + }) + } + + if len(m.cookie) > 0 { + b.AddUint16(extensionCookie) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.cookie) + }) + }) + } + if m.selectedGroup != 0 { + b.AddUint16(extensionKeyShare) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16(uint16(m.selectedGroup)) + }) + } + if len(m.supportedPoints) > 0 { + b.AddUint16(extensionSupportedPoints) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.supportedPoints) + }) + }) + } + + extensionsPresent = len(b.BytesOrPanic()) > 2 + }) + + if !extensionsPresent { + *b = bWithoutExtensions + } + }) + + m.raw = b.BytesOrPanic() + return m.raw +} + +func (m *serverHelloMsg) unmarshal(data []byte) bool { + *m = serverHelloMsg{raw: data} + s := cryptobyte.String(data) + + if !s.Skip(4) || // message type and uint24 length field + !s.ReadUint16(&m.vers) || !s.ReadBytes(&m.random, 32) || + !readUint8LengthPrefixed(&s, &m.sessionId) || + !s.ReadUint16(&m.cipherSuite) || + !s.ReadUint8(&m.compressionMethod) { + return false + } + + if s.Empty() { + // ServerHello is optionally followed by extension data + return true + } + + var extensions cryptobyte.String + if !s.ReadUint16LengthPrefixed(&extensions) || !s.Empty() { + return false + } + + seenExts := make(map[uint16]bool) + for !extensions.Empty() { + var extension uint16 + var extData cryptobyte.String + if !extensions.ReadUint16(&extension) || + !extensions.ReadUint16LengthPrefixed(&extData) { + return false + } + + if seenExts[extension] { + return false + } + seenExts[extension] = true + + switch extension { + case extensionStatusRequest: + m.ocspStapling = true + case extensionSessionTicket: + m.ticketSupported = true + case extensionRenegotiationInfo: + if !readUint8LengthPrefixed(&extData, &m.secureRenegotiation) { + return false + } + m.secureRenegotiationSupported = true + case extensionALPN: + var protoList cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&protoList) || protoList.Empty() { + return false + } + var proto cryptobyte.String + if !protoList.ReadUint8LengthPrefixed(&proto) || + proto.Empty() || !protoList.Empty() { + return false + } + m.alpnProtocol = string(proto) + case extensionSCT: + var sctList cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&sctList) || sctList.Empty() { + return false + } + for !sctList.Empty() { + var sct []byte + if !readUint16LengthPrefixed(&sctList, &sct) || + len(sct) == 0 { + return false + } + m.scts = append(m.scts, sct) + } + case extensionSupportedVersions: + if !extData.ReadUint16(&m.supportedVersion) { + return false + } + case extensionCookie: + if !readUint16LengthPrefixed(&extData, &m.cookie) || + len(m.cookie) == 0 { + return false + } + case extensionKeyShare: + // This extension has different formats in SH and HRR, accept either + // and let the handshake logic decide. See RFC 8446, Section 4.2.8. + if len(extData) == 2 { + if !extData.ReadUint16((*uint16)(&m.selectedGroup)) { + return false + } + } else { + if !extData.ReadUint16((*uint16)(&m.serverShare.group)) || + !readUint16LengthPrefixed(&extData, &m.serverShare.data) { + return false + } + } + case extensionPreSharedKey: + m.selectedIdentityPresent = true + if !extData.ReadUint16(&m.selectedIdentity) { + return false + } + case extensionSupportedPoints: + // RFC 4492, Section 5.1.2 + if !readUint8LengthPrefixed(&extData, &m.supportedPoints) || + len(m.supportedPoints) == 0 { + return false + } + default: + // Ignore unknown extensions. + continue + } + + if !extData.Empty() { + return false + } + } + + return true +} + +type encryptedExtensionsMsg struct { + raw []byte + alpnProtocol string + earlyData bool + + additionalExtensions []Extension +} + +func (m *encryptedExtensionsMsg) marshal() []byte { + if m.raw != nil { + return m.raw + } + + var b cryptobyte.Builder + b.AddUint8(typeEncryptedExtensions) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + if len(m.alpnProtocol) > 0 { + b.AddUint16(extensionALPN) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes([]byte(m.alpnProtocol)) + }) + }) + }) + } + if m.earlyData { + // RFC 8446, Section 4.2.10 + b.AddUint16(extensionEarlyData) + b.AddUint16(0) // empty extension_data + } + for _, ext := range m.additionalExtensions { + b.AddUint16(ext.Type) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(ext.Data) + }) + } + }) + }) + + m.raw = b.BytesOrPanic() + return m.raw +} + +func (m *encryptedExtensionsMsg) unmarshal(data []byte) bool { + *m = encryptedExtensionsMsg{raw: data} + s := cryptobyte.String(data) + + var extensions cryptobyte.String + if !s.Skip(4) || // message type and uint24 length field + !s.ReadUint16LengthPrefixed(&extensions) || !s.Empty() { + return false + } + + for !extensions.Empty() { + var ext uint16 + var extData cryptobyte.String + if !extensions.ReadUint16(&ext) || + !extensions.ReadUint16LengthPrefixed(&extData) { + return false + } + + switch ext { + case extensionALPN: + var protoList cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&protoList) || protoList.Empty() { + return false + } + var proto cryptobyte.String + if !protoList.ReadUint8LengthPrefixed(&proto) || + proto.Empty() || !protoList.Empty() { + return false + } + m.alpnProtocol = string(proto) + case extensionEarlyData: + m.earlyData = true + default: + m.additionalExtensions = append(m.additionalExtensions, Extension{Type: ext, Data: extData}) + continue + } + + if !extData.Empty() { + return false + } + } + + return true +} + +type endOfEarlyDataMsg struct{} + +func (m *endOfEarlyDataMsg) marshal() []byte { + x := make([]byte, 4) + x[0] = typeEndOfEarlyData + return x +} + +func (m *endOfEarlyDataMsg) unmarshal(data []byte) bool { + return len(data) == 4 +} + +type keyUpdateMsg struct { + raw []byte + updateRequested bool +} + +func (m *keyUpdateMsg) marshal() []byte { + if m.raw != nil { + return m.raw + } + + var b cryptobyte.Builder + b.AddUint8(typeKeyUpdate) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + if m.updateRequested { + b.AddUint8(1) + } else { + b.AddUint8(0) + } + }) + + m.raw = b.BytesOrPanic() + return m.raw +} + +func (m *keyUpdateMsg) unmarshal(data []byte) bool { + m.raw = data + s := cryptobyte.String(data) + + var updateRequested uint8 + if !s.Skip(4) || // message type and uint24 length field + !s.ReadUint8(&updateRequested) || !s.Empty() { + return false + } + switch updateRequested { + case 0: + m.updateRequested = false + case 1: + m.updateRequested = true + default: + return false + } + return true +} + +type newSessionTicketMsgTLS13 struct { + raw []byte + lifetime uint32 + ageAdd uint32 + nonce []byte + label []byte + maxEarlyData uint32 +} + +func (m *newSessionTicketMsgTLS13) marshal() []byte { + if m.raw != nil { + return m.raw + } + + var b cryptobyte.Builder + b.AddUint8(typeNewSessionTicket) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint32(m.lifetime) + b.AddUint32(m.ageAdd) + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.nonce) + }) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.label) + }) + + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + if m.maxEarlyData > 0 { + b.AddUint16(extensionEarlyData) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint32(m.maxEarlyData) + }) + } + }) + }) + + m.raw = b.BytesOrPanic() + return m.raw +} + +func (m *newSessionTicketMsgTLS13) unmarshal(data []byte) bool { + *m = newSessionTicketMsgTLS13{raw: data} + s := cryptobyte.String(data) + + var extensions cryptobyte.String + if !s.Skip(4) || // message type and uint24 length field + !s.ReadUint32(&m.lifetime) || + !s.ReadUint32(&m.ageAdd) || + !readUint8LengthPrefixed(&s, &m.nonce) || + !readUint16LengthPrefixed(&s, &m.label) || + !s.ReadUint16LengthPrefixed(&extensions) || + !s.Empty() { + return false + } + + for !extensions.Empty() { + var extension uint16 + var extData cryptobyte.String + if !extensions.ReadUint16(&extension) || + !extensions.ReadUint16LengthPrefixed(&extData) { + return false + } + + switch extension { + case extensionEarlyData: + if !extData.ReadUint32(&m.maxEarlyData) { + return false + } + default: + // Ignore unknown extensions. + continue + } + + if !extData.Empty() { + return false + } + } + + return true +} + +type certificateRequestMsgTLS13 struct { + raw []byte + ocspStapling bool + scts bool + supportedSignatureAlgorithms []SignatureScheme + supportedSignatureAlgorithmsCert []SignatureScheme + certificateAuthorities [][]byte +} + +func (m *certificateRequestMsgTLS13) marshal() []byte { + if m.raw != nil { + return m.raw + } + + var b cryptobyte.Builder + b.AddUint8(typeCertificateRequest) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + // certificate_request_context (SHALL be zero length unless used for + // post-handshake authentication) + b.AddUint8(0) + + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + if m.ocspStapling { + b.AddUint16(extensionStatusRequest) + b.AddUint16(0) // empty extension_data + } + if m.scts { + // RFC 8446, Section 4.4.2.1 makes no mention of + // signed_certificate_timestamp in CertificateRequest, but + // "Extensions in the Certificate message from the client MUST + // correspond to extensions in the CertificateRequest message + // from the server." and it appears in the table in Section 4.2. + b.AddUint16(extensionSCT) + b.AddUint16(0) // empty extension_data + } + if len(m.supportedSignatureAlgorithms) > 0 { + b.AddUint16(extensionSignatureAlgorithms) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, sigAlgo := range m.supportedSignatureAlgorithms { + b.AddUint16(uint16(sigAlgo)) + } + }) + }) + } + if len(m.supportedSignatureAlgorithmsCert) > 0 { + b.AddUint16(extensionSignatureAlgorithmsCert) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, sigAlgo := range m.supportedSignatureAlgorithmsCert { + b.AddUint16(uint16(sigAlgo)) + } + }) + }) + } + if len(m.certificateAuthorities) > 0 { + b.AddUint16(extensionCertificateAuthorities) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, ca := range m.certificateAuthorities { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(ca) + }) + } + }) + }) + } + }) + }) + + m.raw = b.BytesOrPanic() + return m.raw +} + +func (m *certificateRequestMsgTLS13) unmarshal(data []byte) bool { + *m = certificateRequestMsgTLS13{raw: data} + s := cryptobyte.String(data) + + var context, extensions cryptobyte.String + if !s.Skip(4) || // message type and uint24 length field + !s.ReadUint8LengthPrefixed(&context) || !context.Empty() || + !s.ReadUint16LengthPrefixed(&extensions) || + !s.Empty() { + return false + } + + for !extensions.Empty() { + var extension uint16 + var extData cryptobyte.String + if !extensions.ReadUint16(&extension) || + !extensions.ReadUint16LengthPrefixed(&extData) { + return false + } + + switch extension { + case extensionStatusRequest: + m.ocspStapling = true + case extensionSCT: + m.scts = true + case extensionSignatureAlgorithms: + var sigAndAlgs cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&sigAndAlgs) || sigAndAlgs.Empty() { + return false + } + for !sigAndAlgs.Empty() { + var sigAndAlg uint16 + if !sigAndAlgs.ReadUint16(&sigAndAlg) { + return false + } + m.supportedSignatureAlgorithms = append( + m.supportedSignatureAlgorithms, SignatureScheme(sigAndAlg)) + } + case extensionSignatureAlgorithmsCert: + var sigAndAlgs cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&sigAndAlgs) || sigAndAlgs.Empty() { + return false + } + for !sigAndAlgs.Empty() { + var sigAndAlg uint16 + if !sigAndAlgs.ReadUint16(&sigAndAlg) { + return false + } + m.supportedSignatureAlgorithmsCert = append( + m.supportedSignatureAlgorithmsCert, SignatureScheme(sigAndAlg)) + } + case extensionCertificateAuthorities: + var auths cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&auths) || auths.Empty() { + return false + } + for !auths.Empty() { + var ca []byte + if !readUint16LengthPrefixed(&auths, &ca) || len(ca) == 0 { + return false + } + m.certificateAuthorities = append(m.certificateAuthorities, ca) + } + default: + // Ignore unknown extensions. + continue + } + + if !extData.Empty() { + return false + } + } + + return true +} + +type certificateMsg struct { + raw []byte + certificates [][]byte +} + +func (m *certificateMsg) marshal() (x []byte) { + if m.raw != nil { + return m.raw + } + + var i int + for _, slice := range m.certificates { + i += len(slice) + } + + length := 3 + 3*len(m.certificates) + i + x = make([]byte, 4+length) + x[0] = typeCertificate + x[1] = uint8(length >> 16) + x[2] = uint8(length >> 8) + x[3] = uint8(length) + + certificateOctets := length - 3 + x[4] = uint8(certificateOctets >> 16) + x[5] = uint8(certificateOctets >> 8) + x[6] = uint8(certificateOctets) + + y := x[7:] + for _, slice := range m.certificates { + y[0] = uint8(len(slice) >> 16) + y[1] = uint8(len(slice) >> 8) + y[2] = uint8(len(slice)) + copy(y[3:], slice) + y = y[3+len(slice):] + } + + m.raw = x + return +} + +func (m *certificateMsg) unmarshal(data []byte) bool { + if len(data) < 7 { + return false + } + + m.raw = data + certsLen := uint32(data[4])<<16 | uint32(data[5])<<8 | uint32(data[6]) + if uint32(len(data)) != certsLen+7 { + return false + } + + numCerts := 0 + d := data[7:] + for certsLen > 0 { + if len(d) < 4 { + return false + } + certLen := uint32(d[0])<<16 | uint32(d[1])<<8 | uint32(d[2]) + if uint32(len(d)) < 3+certLen { + return false + } + d = d[3+certLen:] + certsLen -= 3 + certLen + numCerts++ + } + + m.certificates = make([][]byte, numCerts) + d = data[7:] + for i := 0; i < numCerts; i++ { + certLen := uint32(d[0])<<16 | uint32(d[1])<<8 | uint32(d[2]) + m.certificates[i] = d[3 : 3+certLen] + d = d[3+certLen:] + } + + return true +} + +type certificateMsgTLS13 struct { + raw []byte + certificate Certificate + ocspStapling bool + scts bool +} + +func (m *certificateMsgTLS13) marshal() []byte { + if m.raw != nil { + return m.raw + } + + var b cryptobyte.Builder + b.AddUint8(typeCertificate) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8(0) // certificate_request_context + + certificate := m.certificate + if !m.ocspStapling { + certificate.OCSPStaple = nil + } + if !m.scts { + certificate.SignedCertificateTimestamps = nil + } + marshalCertificate(b, certificate) + }) + + m.raw = b.BytesOrPanic() + return m.raw +} + +func marshalCertificate(b *cryptobyte.Builder, certificate Certificate) { + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + for i, cert := range certificate.Certificate { + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(cert) + }) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + if i > 0 { + // This library only supports OCSP and SCT for leaf certificates. + return + } + if certificate.OCSPStaple != nil { + b.AddUint16(extensionStatusRequest) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8(statusTypeOCSP) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(certificate.OCSPStaple) + }) + }) + } + if certificate.SignedCertificateTimestamps != nil { + b.AddUint16(extensionSCT) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + for _, sct := range certificate.SignedCertificateTimestamps { + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(sct) + }) + } + }) + }) + } + }) + } + }) +} + +func (m *certificateMsgTLS13) unmarshal(data []byte) bool { + *m = certificateMsgTLS13{raw: data} + s := cryptobyte.String(data) + + var context cryptobyte.String + if !s.Skip(4) || // message type and uint24 length field + !s.ReadUint8LengthPrefixed(&context) || !context.Empty() || + !unmarshalCertificate(&s, &m.certificate) || + !s.Empty() { + return false + } + + m.scts = m.certificate.SignedCertificateTimestamps != nil + m.ocspStapling = m.certificate.OCSPStaple != nil + + return true +} + +func unmarshalCertificate(s *cryptobyte.String, certificate *Certificate) bool { + var certList cryptobyte.String + if !s.ReadUint24LengthPrefixed(&certList) { + return false + } + for !certList.Empty() { + var cert []byte + var extensions cryptobyte.String + if !readUint24LengthPrefixed(&certList, &cert) || + !certList.ReadUint16LengthPrefixed(&extensions) { + return false + } + certificate.Certificate = append(certificate.Certificate, cert) + for !extensions.Empty() { + var extension uint16 + var extData cryptobyte.String + if !extensions.ReadUint16(&extension) || + !extensions.ReadUint16LengthPrefixed(&extData) { + return false + } + if len(certificate.Certificate) > 1 { + // This library only supports OCSP and SCT for leaf certificates. + continue + } + + switch extension { + case extensionStatusRequest: + var statusType uint8 + if !extData.ReadUint8(&statusType) || statusType != statusTypeOCSP || + !readUint24LengthPrefixed(&extData, &certificate.OCSPStaple) || + len(certificate.OCSPStaple) == 0 { + return false + } + case extensionSCT: + var sctList cryptobyte.String + if !extData.ReadUint16LengthPrefixed(&sctList) || sctList.Empty() { + return false + } + for !sctList.Empty() { + var sct []byte + if !readUint16LengthPrefixed(&sctList, &sct) || + len(sct) == 0 { + return false + } + certificate.SignedCertificateTimestamps = append( + certificate.SignedCertificateTimestamps, sct) + } + default: + // Ignore unknown extensions. + continue + } + + if !extData.Empty() { + return false + } + } + } + return true +} + +type serverKeyExchangeMsg struct { + raw []byte + key []byte +} + +func (m *serverKeyExchangeMsg) marshal() []byte { + if m.raw != nil { + return m.raw + } + length := len(m.key) + x := make([]byte, length+4) + x[0] = typeServerKeyExchange + x[1] = uint8(length >> 16) + x[2] = uint8(length >> 8) + x[3] = uint8(length) + copy(x[4:], m.key) + + m.raw = x + return x +} + +func (m *serverKeyExchangeMsg) unmarshal(data []byte) bool { + m.raw = data + if len(data) < 4 { + return false + } + m.key = data[4:] + return true +} + +type certificateStatusMsg struct { + raw []byte + response []byte +} + +func (m *certificateStatusMsg) marshal() []byte { + if m.raw != nil { + return m.raw + } + + var b cryptobyte.Builder + b.AddUint8(typeCertificateStatus) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddUint8(statusTypeOCSP) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.response) + }) + }) + + m.raw = b.BytesOrPanic() + return m.raw +} + +func (m *certificateStatusMsg) unmarshal(data []byte) bool { + m.raw = data + s := cryptobyte.String(data) + + var statusType uint8 + if !s.Skip(4) || // message type and uint24 length field + !s.ReadUint8(&statusType) || statusType != statusTypeOCSP || + !readUint24LengthPrefixed(&s, &m.response) || + len(m.response) == 0 || !s.Empty() { + return false + } + return true +} + +type serverHelloDoneMsg struct{} + +func (m *serverHelloDoneMsg) marshal() []byte { + x := make([]byte, 4) + x[0] = typeServerHelloDone + return x +} + +func (m *serverHelloDoneMsg) unmarshal(data []byte) bool { + return len(data) == 4 +} + +type clientKeyExchangeMsg struct { + raw []byte + ciphertext []byte +} + +func (m *clientKeyExchangeMsg) marshal() []byte { + if m.raw != nil { + return m.raw + } + length := len(m.ciphertext) + x := make([]byte, length+4) + x[0] = typeClientKeyExchange + x[1] = uint8(length >> 16) + x[2] = uint8(length >> 8) + x[3] = uint8(length) + copy(x[4:], m.ciphertext) + + m.raw = x + return x +} + +func (m *clientKeyExchangeMsg) unmarshal(data []byte) bool { + m.raw = data + if len(data) < 4 { + return false + } + l := int(data[1])<<16 | int(data[2])<<8 | int(data[3]) + if l != len(data)-4 { + return false + } + m.ciphertext = data[4:] + return true +} + +type finishedMsg struct { + raw []byte + verifyData []byte +} + +func (m *finishedMsg) marshal() []byte { + if m.raw != nil { + return m.raw + } + + var b cryptobyte.Builder + b.AddUint8(typeFinished) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.verifyData) + }) + + m.raw = b.BytesOrPanic() + return m.raw +} + +func (m *finishedMsg) unmarshal(data []byte) bool { + m.raw = data + s := cryptobyte.String(data) + return s.Skip(1) && + readUint24LengthPrefixed(&s, &m.verifyData) && + s.Empty() +} + +type certificateRequestMsg struct { + raw []byte + // hasSignatureAlgorithm indicates whether this message includes a list of + // supported signature algorithms. This change was introduced with TLS 1.2. + hasSignatureAlgorithm bool + + certificateTypes []byte + supportedSignatureAlgorithms []SignatureScheme + certificateAuthorities [][]byte +} + +func (m *certificateRequestMsg) marshal() (x []byte) { + if m.raw != nil { + return m.raw + } + + // See RFC 4346, Section 7.4.4. + length := 1 + len(m.certificateTypes) + 2 + casLength := 0 + for _, ca := range m.certificateAuthorities { + casLength += 2 + len(ca) + } + length += casLength + + if m.hasSignatureAlgorithm { + length += 2 + 2*len(m.supportedSignatureAlgorithms) + } + + x = make([]byte, 4+length) + x[0] = typeCertificateRequest + x[1] = uint8(length >> 16) + x[2] = uint8(length >> 8) + x[3] = uint8(length) + + x[4] = uint8(len(m.certificateTypes)) + + copy(x[5:], m.certificateTypes) + y := x[5+len(m.certificateTypes):] + + if m.hasSignatureAlgorithm { + n := len(m.supportedSignatureAlgorithms) * 2 + y[0] = uint8(n >> 8) + y[1] = uint8(n) + y = y[2:] + for _, sigAlgo := range m.supportedSignatureAlgorithms { + y[0] = uint8(sigAlgo >> 8) + y[1] = uint8(sigAlgo) + y = y[2:] + } + } + + y[0] = uint8(casLength >> 8) + y[1] = uint8(casLength) + y = y[2:] + for _, ca := range m.certificateAuthorities { + y[0] = uint8(len(ca) >> 8) + y[1] = uint8(len(ca)) + y = y[2:] + copy(y, ca) + y = y[len(ca):] + } + + m.raw = x + return +} + +func (m *certificateRequestMsg) unmarshal(data []byte) bool { + m.raw = data + + if len(data) < 5 { + return false + } + + length := uint32(data[1])<<16 | uint32(data[2])<<8 | uint32(data[3]) + if uint32(len(data))-4 != length { + return false + } + + numCertTypes := int(data[4]) + data = data[5:] + if numCertTypes == 0 || len(data) <= numCertTypes { + return false + } + + m.certificateTypes = make([]byte, numCertTypes) + if copy(m.certificateTypes, data) != numCertTypes { + return false + } + + data = data[numCertTypes:] + + if m.hasSignatureAlgorithm { + if len(data) < 2 { + return false + } + sigAndHashLen := uint16(data[0])<<8 | uint16(data[1]) + data = data[2:] + if sigAndHashLen&1 != 0 { + return false + } + if len(data) < int(sigAndHashLen) { + return false + } + numSigAlgos := sigAndHashLen / 2 + m.supportedSignatureAlgorithms = make([]SignatureScheme, numSigAlgos) + for i := range m.supportedSignatureAlgorithms { + m.supportedSignatureAlgorithms[i] = SignatureScheme(data[0])<<8 | SignatureScheme(data[1]) + data = data[2:] + } + } + + if len(data) < 2 { + return false + } + casLength := uint16(data[0])<<8 | uint16(data[1]) + data = data[2:] + if len(data) < int(casLength) { + return false + } + cas := make([]byte, casLength) + copy(cas, data) + data = data[casLength:] + + m.certificateAuthorities = nil + for len(cas) > 0 { + if len(cas) < 2 { + return false + } + caLen := uint16(cas[0])<<8 | uint16(cas[1]) + cas = cas[2:] + + if len(cas) < int(caLen) { + return false + } + + m.certificateAuthorities = append(m.certificateAuthorities, cas[:caLen]) + cas = cas[caLen:] + } + + return len(data) == 0 +} + +type certificateVerifyMsg struct { + raw []byte + hasSignatureAlgorithm bool // format change introduced in TLS 1.2 + signatureAlgorithm SignatureScheme + signature []byte +} + +func (m *certificateVerifyMsg) marshal() (x []byte) { + if m.raw != nil { + return m.raw + } + + var b cryptobyte.Builder + b.AddUint8(typeCertificateVerify) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + if m.hasSignatureAlgorithm { + b.AddUint16(uint16(m.signatureAlgorithm)) + } + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.signature) + }) + }) + + m.raw = b.BytesOrPanic() + return m.raw +} + +func (m *certificateVerifyMsg) unmarshal(data []byte) bool { + m.raw = data + s := cryptobyte.String(data) + + if !s.Skip(4) { // message type and uint24 length field + return false + } + if m.hasSignatureAlgorithm { + if !s.ReadUint16((*uint16)(&m.signatureAlgorithm)) { + return false + } + } + return readUint16LengthPrefixed(&s, &m.signature) && s.Empty() +} + +type newSessionTicketMsg struct { + raw []byte + ticket []byte +} + +func (m *newSessionTicketMsg) marshal() (x []byte) { + if m.raw != nil { + return m.raw + } + + // See RFC 5077, Section 3.3. + ticketLen := len(m.ticket) + length := 2 + 4 + ticketLen + x = make([]byte, 4+length) + x[0] = typeNewSessionTicket + x[1] = uint8(length >> 16) + x[2] = uint8(length >> 8) + x[3] = uint8(length) + x[8] = uint8(ticketLen >> 8) + x[9] = uint8(ticketLen) + copy(x[10:], m.ticket) + + m.raw = x + + return +} + +func (m *newSessionTicketMsg) unmarshal(data []byte) bool { + m.raw = data + + if len(data) < 10 { + return false + } + + length := uint32(data[1])<<16 | uint32(data[2])<<8 | uint32(data[3]) + if uint32(len(data))-4 != length { + return false + } + + ticketLen := int(data[8])<<8 + int(data[9]) + if len(data)-10 != ticketLen { + return false + } + + m.ticket = data[10:] + + return true +} + +type helloRequestMsg struct { +} + +func (*helloRequestMsg) marshal() []byte { + return []byte{typeHelloRequest, 0, 0, 0} +} + +func (*helloRequestMsg) unmarshal(data []byte) bool { + return len(data) == 4 +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/handshake_server.go b/vendor/github.com/marten-seemann/qtls-go1-19/handshake_server.go new file mode 100644 index 000000000..e93874af6 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/handshake_server.go @@ -0,0 +1,905 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import ( + "context" + "crypto" + "crypto/ecdsa" + "crypto/ed25519" + "crypto/rsa" + "crypto/subtle" + "crypto/x509" + "errors" + "fmt" + "hash" + "io" + "sync/atomic" + "time" +) + +// serverHandshakeState contains details of a server handshake in progress. +// It's discarded once the handshake has completed. +type serverHandshakeState struct { + c *Conn + ctx context.Context + clientHello *clientHelloMsg + hello *serverHelloMsg + suite *cipherSuite + ecdheOk bool + ecSignOk bool + rsaDecryptOk bool + rsaSignOk bool + sessionState *sessionState + finishedHash finishedHash + masterSecret []byte + cert *Certificate +} + +// serverHandshake performs a TLS handshake as a server. +func (c *Conn) serverHandshake(ctx context.Context) error { + c.setAlternativeRecordLayer() + + clientHello, err := c.readClientHello(ctx) + if err != nil { + return err + } + + if c.vers == VersionTLS13 { + hs := serverHandshakeStateTLS13{ + c: c, + ctx: ctx, + clientHello: clientHello, + } + return hs.handshake() + } else if c.extraConfig.usesAlternativeRecordLayer() { + // This should already have been caught by the check that the ClientHello doesn't + // offer any (supported) versions older than TLS 1.3. + // Check again to make sure we can't be tricked into using an older version. + c.sendAlert(alertProtocolVersion) + return errors.New("tls: negotiated TLS < 1.3 when using QUIC") + } + + hs := serverHandshakeState{ + c: c, + ctx: ctx, + clientHello: clientHello, + } + return hs.handshake() +} + +func (hs *serverHandshakeState) handshake() error { + c := hs.c + + if err := hs.processClientHello(); err != nil { + return err + } + + // For an overview of TLS handshaking, see RFC 5246, Section 7.3. + c.buffering = true + if hs.checkForResumption() { + // The client has included a session ticket and so we do an abbreviated handshake. + c.didResume = true + if err := hs.doResumeHandshake(); err != nil { + return err + } + if err := hs.establishKeys(); err != nil { + return err + } + if err := hs.sendSessionTicket(); err != nil { + return err + } + if err := hs.sendFinished(c.serverFinished[:]); err != nil { + return err + } + if _, err := c.flush(); err != nil { + return err + } + c.clientFinishedIsFirst = false + if err := hs.readFinished(nil); err != nil { + return err + } + } else { + // The client didn't include a session ticket, or it wasn't + // valid so we do a full handshake. + if err := hs.pickCipherSuite(); err != nil { + return err + } + if err := hs.doFullHandshake(); err != nil { + return err + } + if err := hs.establishKeys(); err != nil { + return err + } + if err := hs.readFinished(c.clientFinished[:]); err != nil { + return err + } + c.clientFinishedIsFirst = true + c.buffering = true + if err := hs.sendSessionTicket(); err != nil { + return err + } + if err := hs.sendFinished(nil); err != nil { + return err + } + if _, err := c.flush(); err != nil { + return err + } + } + + c.ekm = ekmFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random) + atomic.StoreUint32(&c.handshakeStatus, 1) + + return nil +} + +// readClientHello reads a ClientHello message and selects the protocol version. +func (c *Conn) readClientHello(ctx context.Context) (*clientHelloMsg, error) { + msg, err := c.readHandshake() + if err != nil { + return nil, err + } + clientHello, ok := msg.(*clientHelloMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return nil, unexpectedMessageError(clientHello, msg) + } + + var configForClient *config + originalConfig := c.config + if c.config.GetConfigForClient != nil { + chi := newClientHelloInfo(ctx, c, clientHello) + if cfc, err := c.config.GetConfigForClient(chi); err != nil { + c.sendAlert(alertInternalError) + return nil, err + } else if cfc != nil { + configForClient = fromConfig(cfc) + c.config = configForClient + } + } + c.ticketKeys = originalConfig.ticketKeys(configForClient) + + clientVersions := clientHello.supportedVersions + if len(clientHello.supportedVersions) == 0 { + clientVersions = supportedVersionsFromMax(clientHello.vers) + } + if c.extraConfig.usesAlternativeRecordLayer() { + // In QUIC, the client MUST NOT offer any old TLS versions. + // Here, we can only check that none of the other supported versions of this library + // (TLS 1.0 - TLS 1.2) is offered. We don't check for any SSL versions here. + for _, ver := range clientVersions { + if ver == VersionTLS13 { + continue + } + for _, v := range supportedVersions { + if ver == v { + c.sendAlert(alertProtocolVersion) + return nil, fmt.Errorf("tls: client offered old TLS version %#x", ver) + } + } + } + // Make the config we're using allows us to use TLS 1.3. + if c.config.maxSupportedVersion(roleServer) < VersionTLS13 { + c.sendAlert(alertInternalError) + return nil, errors.New("tls: MaxVersion prevents QUIC from using TLS 1.3") + } + } + c.vers, ok = c.config.mutualVersion(roleServer, clientVersions) + if !ok { + c.sendAlert(alertProtocolVersion) + return nil, fmt.Errorf("tls: client offered only unsupported versions: %x", clientVersions) + } + c.haveVers = true + c.in.version = c.vers + c.out.version = c.vers + + return clientHello, nil +} + +func (hs *serverHandshakeState) processClientHello() error { + c := hs.c + + hs.hello = new(serverHelloMsg) + hs.hello.vers = c.vers + + foundCompression := false + // We only support null compression, so check that the client offered it. + for _, compression := range hs.clientHello.compressionMethods { + if compression == compressionNone { + foundCompression = true + break + } + } + + if !foundCompression { + c.sendAlert(alertHandshakeFailure) + return errors.New("tls: client does not support uncompressed connections") + } + + hs.hello.random = make([]byte, 32) + serverRandom := hs.hello.random + // Downgrade protection canaries. See RFC 8446, Section 4.1.3. + maxVers := c.config.maxSupportedVersion(roleServer) + if maxVers >= VersionTLS12 && c.vers < maxVers || testingOnlyForceDowngradeCanary { + if c.vers == VersionTLS12 { + copy(serverRandom[24:], downgradeCanaryTLS12) + } else { + copy(serverRandom[24:], downgradeCanaryTLS11) + } + serverRandom = serverRandom[:24] + } + _, err := io.ReadFull(c.config.rand(), serverRandom) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + + if len(hs.clientHello.secureRenegotiation) != 0 { + c.sendAlert(alertHandshakeFailure) + return errors.New("tls: initial handshake had non-empty renegotiation extension") + } + + hs.hello.secureRenegotiationSupported = hs.clientHello.secureRenegotiationSupported + hs.hello.compressionMethod = compressionNone + if len(hs.clientHello.serverName) > 0 { + c.serverName = hs.clientHello.serverName + } + + selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols) + if err != nil { + c.sendAlert(alertNoApplicationProtocol) + return err + } + hs.hello.alpnProtocol = selectedProto + c.clientProtocol = selectedProto + + hs.cert, err = c.config.getCertificate(newClientHelloInfo(hs.ctx, c, hs.clientHello)) + if err != nil { + if err == errNoCertificates { + c.sendAlert(alertUnrecognizedName) + } else { + c.sendAlert(alertInternalError) + } + return err + } + if hs.clientHello.scts { + hs.hello.scts = hs.cert.SignedCertificateTimestamps + } + + hs.ecdheOk = supportsECDHE(c.config, hs.clientHello.supportedCurves, hs.clientHello.supportedPoints) + + if hs.ecdheOk { + // Although omitting the ec_point_formats extension is permitted, some + // old OpenSSL version will refuse to handshake if not present. + // + // Per RFC 4492, section 5.1.2, implementations MUST support the + // uncompressed point format. See golang.org/issue/31943. + hs.hello.supportedPoints = []uint8{pointFormatUncompressed} + } + + if priv, ok := hs.cert.PrivateKey.(crypto.Signer); ok { + switch priv.Public().(type) { + case *ecdsa.PublicKey: + hs.ecSignOk = true + case ed25519.PublicKey: + hs.ecSignOk = true + case *rsa.PublicKey: + hs.rsaSignOk = true + default: + c.sendAlert(alertInternalError) + return fmt.Errorf("tls: unsupported signing key type (%T)", priv.Public()) + } + } + if priv, ok := hs.cert.PrivateKey.(crypto.Decrypter); ok { + switch priv.Public().(type) { + case *rsa.PublicKey: + hs.rsaDecryptOk = true + default: + c.sendAlert(alertInternalError) + return fmt.Errorf("tls: unsupported decryption key type (%T)", priv.Public()) + } + } + + return nil +} + +// negotiateALPN picks a shared ALPN protocol that both sides support in server +// preference order. If ALPN is not configured or the peer doesn't support it, +// it returns "" and no error. +func negotiateALPN(serverProtos, clientProtos []string) (string, error) { + if len(serverProtos) == 0 || len(clientProtos) == 0 { + return "", nil + } + var http11fallback bool + for _, s := range serverProtos { + for _, c := range clientProtos { + if s == c { + return s, nil + } + if s == "h2" && c == "http/1.1" { + http11fallback = true + } + } + } + // As a special case, let http/1.1 clients connect to h2 servers as if they + // didn't support ALPN. We used not to enforce protocol overlap, so over + // time a number of HTTP servers were configured with only "h2", but + // expected to accept connections from "http/1.1" clients. See Issue 46310. + if http11fallback { + return "", nil + } + return "", fmt.Errorf("tls: client requested unsupported application protocols (%s)", clientProtos) +} + +// supportsECDHE returns whether ECDHE key exchanges can be used with this +// pre-TLS 1.3 client. +func supportsECDHE(c *config, supportedCurves []CurveID, supportedPoints []uint8) bool { + supportsCurve := false + for _, curve := range supportedCurves { + if c.supportsCurve(curve) { + supportsCurve = true + break + } + } + + supportsPointFormat := false + for _, pointFormat := range supportedPoints { + if pointFormat == pointFormatUncompressed { + supportsPointFormat = true + break + } + } + + return supportsCurve && supportsPointFormat +} + +func (hs *serverHandshakeState) pickCipherSuite() error { + c := hs.c + + preferenceOrder := cipherSuitesPreferenceOrder + if !hasAESGCMHardwareSupport || !aesgcmPreferred(hs.clientHello.cipherSuites) { + preferenceOrder = cipherSuitesPreferenceOrderNoAES + } + + configCipherSuites := c.config.cipherSuites() + preferenceList := make([]uint16, 0, len(configCipherSuites)) + for _, suiteID := range preferenceOrder { + for _, id := range configCipherSuites { + if id == suiteID { + preferenceList = append(preferenceList, id) + break + } + } + } + + hs.suite = selectCipherSuite(preferenceList, hs.clientHello.cipherSuites, hs.cipherSuiteOk) + if hs.suite == nil { + c.sendAlert(alertHandshakeFailure) + return errors.New("tls: no cipher suite supported by both client and server") + } + c.cipherSuite = hs.suite.id + + for _, id := range hs.clientHello.cipherSuites { + if id == TLS_FALLBACK_SCSV { + // The client is doing a fallback connection. See RFC 7507. + if hs.clientHello.vers < c.config.maxSupportedVersion(roleServer) { + c.sendAlert(alertInappropriateFallback) + return errors.New("tls: client using inappropriate protocol fallback") + } + break + } + } + + return nil +} + +func (hs *serverHandshakeState) cipherSuiteOk(c *cipherSuite) bool { + if c.flags&suiteECDHE != 0 { + if !hs.ecdheOk { + return false + } + if c.flags&suiteECSign != 0 { + if !hs.ecSignOk { + return false + } + } else if !hs.rsaSignOk { + return false + } + } else if !hs.rsaDecryptOk { + return false + } + if hs.c.vers < VersionTLS12 && c.flags&suiteTLS12 != 0 { + return false + } + return true +} + +// checkForResumption reports whether we should perform resumption on this connection. +func (hs *serverHandshakeState) checkForResumption() bool { + c := hs.c + + if c.config.SessionTicketsDisabled { + return false + } + + plaintext, usedOldKey := c.decryptTicket(hs.clientHello.sessionTicket) + if plaintext == nil { + return false + } + hs.sessionState = &sessionState{usedOldKey: usedOldKey} + ok := hs.sessionState.unmarshal(plaintext) + if !ok { + return false + } + + createdAt := time.Unix(int64(hs.sessionState.createdAt), 0) + if c.config.time().Sub(createdAt) > maxSessionTicketLifetime { + return false + } + + // Never resume a session for a different TLS version. + if c.vers != hs.sessionState.vers { + return false + } + + cipherSuiteOk := false + // Check that the client is still offering the ciphersuite in the session. + for _, id := range hs.clientHello.cipherSuites { + if id == hs.sessionState.cipherSuite { + cipherSuiteOk = true + break + } + } + if !cipherSuiteOk { + return false + } + + // Check that we also support the ciphersuite from the session. + hs.suite = selectCipherSuite([]uint16{hs.sessionState.cipherSuite}, + c.config.cipherSuites(), hs.cipherSuiteOk) + if hs.suite == nil { + return false + } + + sessionHasClientCerts := len(hs.sessionState.certificates) != 0 + needClientCerts := requiresClientCert(c.config.ClientAuth) + if needClientCerts && !sessionHasClientCerts { + return false + } + if sessionHasClientCerts && c.config.ClientAuth == NoClientCert { + return false + } + + return true +} + +func (hs *serverHandshakeState) doResumeHandshake() error { + c := hs.c + + hs.hello.cipherSuite = hs.suite.id + c.cipherSuite = hs.suite.id + // We echo the client's session ID in the ServerHello to let it know + // that we're doing a resumption. + hs.hello.sessionId = hs.clientHello.sessionId + hs.hello.ticketSupported = hs.sessionState.usedOldKey + hs.finishedHash = newFinishedHash(c.vers, hs.suite) + hs.finishedHash.discardHandshakeBuffer() + hs.finishedHash.Write(hs.clientHello.marshal()) + hs.finishedHash.Write(hs.hello.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, hs.hello.marshal()); err != nil { + return err + } + + if err := c.processCertsFromClient(Certificate{ + Certificate: hs.sessionState.certificates, + }); err != nil { + return err + } + + if c.config.VerifyConnection != nil { + if err := c.config.VerifyConnection(c.connectionStateLocked()); err != nil { + c.sendAlert(alertBadCertificate) + return err + } + } + + hs.masterSecret = hs.sessionState.masterSecret + + return nil +} + +func (hs *serverHandshakeState) doFullHandshake() error { + c := hs.c + + if hs.clientHello.ocspStapling && len(hs.cert.OCSPStaple) > 0 { + hs.hello.ocspStapling = true + } + + hs.hello.ticketSupported = hs.clientHello.ticketSupported && !c.config.SessionTicketsDisabled + hs.hello.cipherSuite = hs.suite.id + + hs.finishedHash = newFinishedHash(hs.c.vers, hs.suite) + if c.config.ClientAuth == NoClientCert { + // No need to keep a full record of the handshake if client + // certificates won't be used. + hs.finishedHash.discardHandshakeBuffer() + } + hs.finishedHash.Write(hs.clientHello.marshal()) + hs.finishedHash.Write(hs.hello.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, hs.hello.marshal()); err != nil { + return err + } + + certMsg := new(certificateMsg) + certMsg.certificates = hs.cert.Certificate + hs.finishedHash.Write(certMsg.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, certMsg.marshal()); err != nil { + return err + } + + if hs.hello.ocspStapling { + certStatus := new(certificateStatusMsg) + certStatus.response = hs.cert.OCSPStaple + hs.finishedHash.Write(certStatus.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, certStatus.marshal()); err != nil { + return err + } + } + + keyAgreement := hs.suite.ka(c.vers) + skx, err := keyAgreement.generateServerKeyExchange(c.config, hs.cert, hs.clientHello, hs.hello) + if err != nil { + c.sendAlert(alertHandshakeFailure) + return err + } + if skx != nil { + hs.finishedHash.Write(skx.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, skx.marshal()); err != nil { + return err + } + } + + var certReq *certificateRequestMsg + if c.config.ClientAuth >= RequestClientCert { + // Request a client certificate + certReq = new(certificateRequestMsg) + certReq.certificateTypes = []byte{ + byte(certTypeRSASign), + byte(certTypeECDSASign), + } + if c.vers >= VersionTLS12 { + certReq.hasSignatureAlgorithm = true + certReq.supportedSignatureAlgorithms = supportedSignatureAlgorithms() + } + + // An empty list of certificateAuthorities signals to + // the client that it may send any certificate in response + // to our request. When we know the CAs we trust, then + // we can send them down, so that the client can choose + // an appropriate certificate to give to us. + if c.config.ClientCAs != nil { + certReq.certificateAuthorities = c.config.ClientCAs.Subjects() + } + hs.finishedHash.Write(certReq.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, certReq.marshal()); err != nil { + return err + } + } + + helloDone := new(serverHelloDoneMsg) + hs.finishedHash.Write(helloDone.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, helloDone.marshal()); err != nil { + return err + } + + if _, err := c.flush(); err != nil { + return err + } + + var pub crypto.PublicKey // public key for client auth, if any + + msg, err := c.readHandshake() + if err != nil { + return err + } + + // If we requested a client certificate, then the client must send a + // certificate message, even if it's empty. + if c.config.ClientAuth >= RequestClientCert { + certMsg, ok := msg.(*certificateMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(certMsg, msg) + } + hs.finishedHash.Write(certMsg.marshal()) + + if err := c.processCertsFromClient(Certificate{ + Certificate: certMsg.certificates, + }); err != nil { + return err + } + if len(certMsg.certificates) != 0 { + pub = c.peerCertificates[0].PublicKey + } + + msg, err = c.readHandshake() + if err != nil { + return err + } + } + if c.config.VerifyConnection != nil { + if err := c.config.VerifyConnection(c.connectionStateLocked()); err != nil { + c.sendAlert(alertBadCertificate) + return err + } + } + + // Get client key exchange + ckx, ok := msg.(*clientKeyExchangeMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(ckx, msg) + } + hs.finishedHash.Write(ckx.marshal()) + + preMasterSecret, err := keyAgreement.processClientKeyExchange(c.config, hs.cert, ckx, c.vers) + if err != nil { + c.sendAlert(alertHandshakeFailure) + return err + } + hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.clientHello.random, hs.hello.random) + if err := c.config.writeKeyLog(keyLogLabelTLS12, hs.clientHello.random, hs.masterSecret); err != nil { + c.sendAlert(alertInternalError) + return err + } + + // If we received a client cert in response to our certificate request message, + // the client will send us a certificateVerifyMsg immediately after the + // clientKeyExchangeMsg. This message is a digest of all preceding + // handshake-layer messages that is signed using the private key corresponding + // to the client's certificate. This allows us to verify that the client is in + // possession of the private key of the certificate. + if len(c.peerCertificates) > 0 { + msg, err = c.readHandshake() + if err != nil { + return err + } + certVerify, ok := msg.(*certificateVerifyMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(certVerify, msg) + } + + var sigType uint8 + var sigHash crypto.Hash + if c.vers >= VersionTLS12 { + if !isSupportedSignatureAlgorithm(certVerify.signatureAlgorithm, certReq.supportedSignatureAlgorithms) { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: client certificate used with invalid signature algorithm") + } + sigType, sigHash, err = typeAndHashFromSignatureScheme(certVerify.signatureAlgorithm) + if err != nil { + return c.sendAlert(alertInternalError) + } + } else { + sigType, sigHash, err = legacyTypeAndHashFromPublicKey(pub) + if err != nil { + c.sendAlert(alertIllegalParameter) + return err + } + } + + signed := hs.finishedHash.hashForClientCertificate(sigType, sigHash, hs.masterSecret) + if err := verifyHandshakeSignature(sigType, pub, sigHash, signed, certVerify.signature); err != nil { + c.sendAlert(alertDecryptError) + return errors.New("tls: invalid signature by the client certificate: " + err.Error()) + } + + hs.finishedHash.Write(certVerify.marshal()) + } + + hs.finishedHash.discardHandshakeBuffer() + + return nil +} + +func (hs *serverHandshakeState) establishKeys() error { + c := hs.c + + clientMAC, serverMAC, clientKey, serverKey, clientIV, serverIV := + keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen) + + var clientCipher, serverCipher any + var clientHash, serverHash hash.Hash + + if hs.suite.aead == nil { + clientCipher = hs.suite.cipher(clientKey, clientIV, true /* for reading */) + clientHash = hs.suite.mac(clientMAC) + serverCipher = hs.suite.cipher(serverKey, serverIV, false /* not for reading */) + serverHash = hs.suite.mac(serverMAC) + } else { + clientCipher = hs.suite.aead(clientKey, clientIV) + serverCipher = hs.suite.aead(serverKey, serverIV) + } + + c.in.prepareCipherSpec(c.vers, clientCipher, clientHash) + c.out.prepareCipherSpec(c.vers, serverCipher, serverHash) + + return nil +} + +func (hs *serverHandshakeState) readFinished(out []byte) error { + c := hs.c + + if err := c.readChangeCipherSpec(); err != nil { + return err + } + + msg, err := c.readHandshake() + if err != nil { + return err + } + clientFinished, ok := msg.(*finishedMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(clientFinished, msg) + } + + verify := hs.finishedHash.clientSum(hs.masterSecret) + if len(verify) != len(clientFinished.verifyData) || + subtle.ConstantTimeCompare(verify, clientFinished.verifyData) != 1 { + c.sendAlert(alertHandshakeFailure) + return errors.New("tls: client's Finished message is incorrect") + } + + hs.finishedHash.Write(clientFinished.marshal()) + copy(out, verify) + return nil +} + +func (hs *serverHandshakeState) sendSessionTicket() error { + // ticketSupported is set in a resumption handshake if the + // ticket from the client was encrypted with an old session + // ticket key and thus a refreshed ticket should be sent. + if !hs.hello.ticketSupported { + return nil + } + + c := hs.c + m := new(newSessionTicketMsg) + + createdAt := uint64(c.config.time().Unix()) + if hs.sessionState != nil { + // If this is re-wrapping an old key, then keep + // the original time it was created. + createdAt = hs.sessionState.createdAt + } + + var certsFromClient [][]byte + for _, cert := range c.peerCertificates { + certsFromClient = append(certsFromClient, cert.Raw) + } + state := sessionState{ + vers: c.vers, + cipherSuite: hs.suite.id, + createdAt: createdAt, + masterSecret: hs.masterSecret, + certificates: certsFromClient, + } + var err error + m.ticket, err = c.encryptTicket(state.marshal()) + if err != nil { + return err + } + + hs.finishedHash.Write(m.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, m.marshal()); err != nil { + return err + } + + return nil +} + +func (hs *serverHandshakeState) sendFinished(out []byte) error { + c := hs.c + + if _, err := c.writeRecord(recordTypeChangeCipherSpec, []byte{1}); err != nil { + return err + } + + finished := new(finishedMsg) + finished.verifyData = hs.finishedHash.serverSum(hs.masterSecret) + hs.finishedHash.Write(finished.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, finished.marshal()); err != nil { + return err + } + + copy(out, finished.verifyData) + + return nil +} + +// processCertsFromClient takes a chain of client certificates either from a +// Certificates message or from a sessionState and verifies them. It returns +// the public key of the leaf certificate. +func (c *Conn) processCertsFromClient(certificate Certificate) error { + certificates := certificate.Certificate + certs := make([]*x509.Certificate, len(certificates)) + var err error + for i, asn1Data := range certificates { + if certs[i], err = x509.ParseCertificate(asn1Data); err != nil { + c.sendAlert(alertBadCertificate) + return errors.New("tls: failed to parse client certificate: " + err.Error()) + } + } + + if len(certs) == 0 && requiresClientCert(c.config.ClientAuth) { + c.sendAlert(alertBadCertificate) + return errors.New("tls: client didn't provide a certificate") + } + + if c.config.ClientAuth >= VerifyClientCertIfGiven && len(certs) > 0 { + opts := x509.VerifyOptions{ + Roots: c.config.ClientCAs, + CurrentTime: c.config.time(), + Intermediates: x509.NewCertPool(), + KeyUsages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth}, + } + + for _, cert := range certs[1:] { + opts.Intermediates.AddCert(cert) + } + + chains, err := certs[0].Verify(opts) + if err != nil { + c.sendAlert(alertBadCertificate) + return errors.New("tls: failed to verify client certificate: " + err.Error()) + } + + c.verifiedChains = chains + } + + c.peerCertificates = certs + c.ocspResponse = certificate.OCSPStaple + c.scts = certificate.SignedCertificateTimestamps + + if len(certs) > 0 { + switch certs[0].PublicKey.(type) { + case *ecdsa.PublicKey, *rsa.PublicKey, ed25519.PublicKey: + default: + c.sendAlert(alertUnsupportedCertificate) + return fmt.Errorf("tls: client certificate contains an unsupported public key of type %T", certs[0].PublicKey) + } + } + + if c.config.VerifyPeerCertificate != nil { + if err := c.config.VerifyPeerCertificate(certificates, c.verifiedChains); err != nil { + c.sendAlert(alertBadCertificate) + return err + } + } + + return nil +} + +func newClientHelloInfo(ctx context.Context, c *Conn, clientHello *clientHelloMsg) *ClientHelloInfo { + supportedVersions := clientHello.supportedVersions + if len(clientHello.supportedVersions) == 0 { + supportedVersions = supportedVersionsFromMax(clientHello.vers) + } + + return toClientHelloInfo(&clientHelloInfo{ + CipherSuites: clientHello.cipherSuites, + ServerName: clientHello.serverName, + SupportedCurves: clientHello.supportedCurves, + SupportedPoints: clientHello.supportedPoints, + SignatureSchemes: clientHello.supportedSignatureAlgorithms, + SupportedProtos: clientHello.alpnProtocols, + SupportedVersions: supportedVersions, + Conn: c.conn, + config: toConfig(c.config), + ctx: ctx, + }) +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/handshake_server_tls13.go b/vendor/github.com/marten-seemann/qtls-go1-19/handshake_server_tls13.go new file mode 100644 index 000000000..e3db8063f --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/handshake_server_tls13.go @@ -0,0 +1,900 @@ +// Copyright 2018 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import ( + "bytes" + "context" + "crypto" + "crypto/hmac" + "crypto/rsa" + "errors" + "hash" + "io" + "sync/atomic" + "time" +) + +// maxClientPSKIdentities is the number of client PSK identities the server will +// attempt to validate. It will ignore the rest not to let cheap ClientHello +// messages cause too much work in session ticket decryption attempts. +const maxClientPSKIdentities = 5 + +type serverHandshakeStateTLS13 struct { + c *Conn + ctx context.Context + clientHello *clientHelloMsg + hello *serverHelloMsg + alpnNegotiationErr error + encryptedExtensions *encryptedExtensionsMsg + sentDummyCCS bool + usingPSK bool + suite *cipherSuiteTLS13 + cert *Certificate + sigAlg SignatureScheme + earlySecret []byte + sharedKey []byte + handshakeSecret []byte + masterSecret []byte + trafficSecret []byte // client_application_traffic_secret_0 + transcript hash.Hash + clientFinished []byte +} + +func (hs *serverHandshakeStateTLS13) handshake() error { + c := hs.c + + if needFIPS() { + return errors.New("tls: internal error: TLS 1.3 reached in FIPS mode") + } + + // For an overview of the TLS 1.3 handshake, see RFC 8446, Section 2. + if err := hs.processClientHello(); err != nil { + return err + } + if err := hs.checkForResumption(); err != nil { + return err + } + if err := hs.pickCertificate(); err != nil { + return err + } + c.buffering = true + if err := hs.sendServerParameters(); err != nil { + return err + } + if err := hs.sendServerCertificate(); err != nil { + return err + } + if err := hs.sendServerFinished(); err != nil { + return err + } + // Note that at this point we could start sending application data without + // waiting for the client's second flight, but the application might not + // expect the lack of replay protection of the ClientHello parameters. + if _, err := c.flush(); err != nil { + return err + } + if err := hs.readClientCertificate(); err != nil { + return err + } + if err := hs.readClientFinished(); err != nil { + return err + } + + atomic.StoreUint32(&c.handshakeStatus, 1) + + return nil +} + +func (hs *serverHandshakeStateTLS13) processClientHello() error { + c := hs.c + + hs.hello = new(serverHelloMsg) + hs.encryptedExtensions = new(encryptedExtensionsMsg) + + // TLS 1.3 froze the ServerHello.legacy_version field, and uses + // supported_versions instead. See RFC 8446, sections 4.1.3 and 4.2.1. + hs.hello.vers = VersionTLS12 + hs.hello.supportedVersion = c.vers + + if len(hs.clientHello.supportedVersions) == 0 { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: client used the legacy version field to negotiate TLS 1.3") + } + + // Abort if the client is doing a fallback and landing lower than what we + // support. See RFC 7507, which however does not specify the interaction + // with supported_versions. The only difference is that with + // supported_versions a client has a chance to attempt a [TLS 1.2, TLS 1.4] + // handshake in case TLS 1.3 is broken but 1.2 is not. Alas, in that case, + // it will have to drop the TLS_FALLBACK_SCSV protection if it falls back to + // TLS 1.2, because a TLS 1.3 server would abort here. The situation before + // supported_versions was not better because there was just no way to do a + // TLS 1.4 handshake without risking the server selecting TLS 1.3. + for _, id := range hs.clientHello.cipherSuites { + if id == TLS_FALLBACK_SCSV { + // Use c.vers instead of max(supported_versions) because an attacker + // could defeat this by adding an arbitrary high version otherwise. + if c.vers < c.config.maxSupportedVersion(roleServer) { + c.sendAlert(alertInappropriateFallback) + return errors.New("tls: client using inappropriate protocol fallback") + } + break + } + } + + if len(hs.clientHello.compressionMethods) != 1 || + hs.clientHello.compressionMethods[0] != compressionNone { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: TLS 1.3 client supports illegal compression methods") + } + + hs.hello.random = make([]byte, 32) + if _, err := io.ReadFull(c.config.rand(), hs.hello.random); err != nil { + c.sendAlert(alertInternalError) + return err + } + + if len(hs.clientHello.secureRenegotiation) != 0 { + c.sendAlert(alertHandshakeFailure) + return errors.New("tls: initial handshake had non-empty renegotiation extension") + } + + hs.hello.sessionId = hs.clientHello.sessionId + hs.hello.compressionMethod = compressionNone + + if hs.suite == nil { + var preferenceList []uint16 + for _, suiteID := range c.config.CipherSuites { + for _, suite := range cipherSuitesTLS13 { + if suite.id == suiteID { + preferenceList = append(preferenceList, suiteID) + break + } + } + } + if len(preferenceList) == 0 { + preferenceList = defaultCipherSuitesTLS13 + if !hasAESGCMHardwareSupport || !aesgcmPreferred(hs.clientHello.cipherSuites) { + preferenceList = defaultCipherSuitesTLS13NoAES + } + } + for _, suiteID := range preferenceList { + hs.suite = mutualCipherSuiteTLS13(hs.clientHello.cipherSuites, suiteID) + if hs.suite != nil { + break + } + } + } + if hs.suite == nil { + c.sendAlert(alertHandshakeFailure) + return errors.New("tls: no cipher suite supported by both client and server") + } + c.cipherSuite = hs.suite.id + hs.hello.cipherSuite = hs.suite.id + hs.transcript = hs.suite.hash.New() + + // Pick the ECDHE group in server preference order, but give priority to + // groups with a key share, to avoid a HelloRetryRequest round-trip. + var selectedGroup CurveID + var clientKeyShare *keyShare +GroupSelection: + for _, preferredGroup := range c.config.curvePreferences() { + for _, ks := range hs.clientHello.keyShares { + if ks.group == preferredGroup { + selectedGroup = ks.group + clientKeyShare = &ks + break GroupSelection + } + } + if selectedGroup != 0 { + continue + } + for _, group := range hs.clientHello.supportedCurves { + if group == preferredGroup { + selectedGroup = group + break + } + } + } + if selectedGroup == 0 { + c.sendAlert(alertHandshakeFailure) + return errors.New("tls: no ECDHE curve supported by both client and server") + } + if clientKeyShare == nil { + if err := hs.doHelloRetryRequest(selectedGroup); err != nil { + return err + } + clientKeyShare = &hs.clientHello.keyShares[0] + } + + if _, ok := curveForCurveID(selectedGroup); selectedGroup != X25519 && !ok { + c.sendAlert(alertInternalError) + return errors.New("tls: CurvePreferences includes unsupported curve") + } + params, err := generateECDHEParameters(c.config.rand(), selectedGroup) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + hs.hello.serverShare = keyShare{group: selectedGroup, data: params.PublicKey()} + hs.sharedKey = params.SharedKey(clientKeyShare.data) + if hs.sharedKey == nil { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: invalid client key share") + } + + c.serverName = hs.clientHello.serverName + + if c.extraConfig != nil && c.extraConfig.ReceivedExtensions != nil { + c.extraConfig.ReceivedExtensions(typeClientHello, hs.clientHello.additionalExtensions) + } + + selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols) + if err != nil { + hs.alpnNegotiationErr = err + } + hs.encryptedExtensions.alpnProtocol = selectedProto + c.clientProtocol = selectedProto + + return nil +} + +func (hs *serverHandshakeStateTLS13) checkForResumption() error { + c := hs.c + + if c.config.SessionTicketsDisabled { + return nil + } + + modeOK := false + for _, mode := range hs.clientHello.pskModes { + if mode == pskModeDHE { + modeOK = true + break + } + } + if !modeOK { + return nil + } + + if len(hs.clientHello.pskIdentities) != len(hs.clientHello.pskBinders) { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: invalid or missing PSK binders") + } + if len(hs.clientHello.pskIdentities) == 0 { + return nil + } + + for i, identity := range hs.clientHello.pskIdentities { + if i >= maxClientPSKIdentities { + break + } + + plaintext, _ := c.decryptTicket(identity.label) + if plaintext == nil { + continue + } + sessionState := new(sessionStateTLS13) + if ok := sessionState.unmarshal(plaintext); !ok { + continue + } + + if hs.clientHello.earlyData { + if sessionState.maxEarlyData == 0 { + c.sendAlert(alertUnsupportedExtension) + return errors.New("tls: client sent unexpected early data") + } + + if hs.alpnNegotiationErr == nil && sessionState.alpn == c.clientProtocol && + c.extraConfig != nil && c.extraConfig.MaxEarlyData > 0 && + c.extraConfig.Accept0RTT != nil && c.extraConfig.Accept0RTT(sessionState.appData) { + hs.encryptedExtensions.earlyData = true + c.used0RTT = true + } + } + + createdAt := time.Unix(int64(sessionState.createdAt), 0) + if c.config.time().Sub(createdAt) > maxSessionTicketLifetime { + continue + } + + // We don't check the obfuscated ticket age because it's affected by + // clock skew and it's only a freshness signal useful for shrinking the + // window for replay attacks, which don't affect us as we don't do 0-RTT. + + pskSuite := cipherSuiteTLS13ByID(sessionState.cipherSuite) + if pskSuite == nil || pskSuite.hash != hs.suite.hash { + continue + } + + // PSK connections don't re-establish client certificates, but carry + // them over in the session ticket. Ensure the presence of client certs + // in the ticket is consistent with the configured requirements. + sessionHasClientCerts := len(sessionState.certificate.Certificate) != 0 + needClientCerts := requiresClientCert(c.config.ClientAuth) + if needClientCerts && !sessionHasClientCerts { + continue + } + if sessionHasClientCerts && c.config.ClientAuth == NoClientCert { + continue + } + + psk := hs.suite.expandLabel(sessionState.resumptionSecret, "resumption", + nil, hs.suite.hash.Size()) + hs.earlySecret = hs.suite.extract(psk, nil) + binderKey := hs.suite.deriveSecret(hs.earlySecret, resumptionBinderLabel, nil) + // Clone the transcript in case a HelloRetryRequest was recorded. + transcript := cloneHash(hs.transcript, hs.suite.hash) + if transcript == nil { + c.sendAlert(alertInternalError) + return errors.New("tls: internal error: failed to clone hash") + } + transcript.Write(hs.clientHello.marshalWithoutBinders()) + pskBinder := hs.suite.finishedHash(binderKey, transcript) + if !hmac.Equal(hs.clientHello.pskBinders[i], pskBinder) { + c.sendAlert(alertDecryptError) + return errors.New("tls: invalid PSK binder") + } + + c.didResume = true + if err := c.processCertsFromClient(sessionState.certificate); err != nil { + return err + } + + h := cloneHash(hs.transcript, hs.suite.hash) + h.Write(hs.clientHello.marshal()) + if hs.encryptedExtensions.earlyData { + clientEarlySecret := hs.suite.deriveSecret(hs.earlySecret, "c e traffic", h) + c.in.exportKey(Encryption0RTT, hs.suite, clientEarlySecret) + if err := c.config.writeKeyLog(keyLogLabelEarlyTraffic, hs.clientHello.random, clientEarlySecret); err != nil { + c.sendAlert(alertInternalError) + return err + } + } + + hs.hello.selectedIdentityPresent = true + hs.hello.selectedIdentity = uint16(i) + hs.usingPSK = true + return nil + } + + return nil +} + +// cloneHash uses the encoding.BinaryMarshaler and encoding.BinaryUnmarshaler +// interfaces implemented by standard library hashes to clone the state of in +// to a new instance of h. It returns nil if the operation fails. +func cloneHash(in hash.Hash, h crypto.Hash) hash.Hash { + // Recreate the interface to avoid importing encoding. + type binaryMarshaler interface { + MarshalBinary() (data []byte, err error) + UnmarshalBinary(data []byte) error + } + marshaler, ok := in.(binaryMarshaler) + if !ok { + return nil + } + state, err := marshaler.MarshalBinary() + if err != nil { + return nil + } + out := h.New() + unmarshaler, ok := out.(binaryMarshaler) + if !ok { + return nil + } + if err := unmarshaler.UnmarshalBinary(state); err != nil { + return nil + } + return out +} + +func (hs *serverHandshakeStateTLS13) pickCertificate() error { + c := hs.c + + // Only one of PSK and certificates are used at a time. + if hs.usingPSK { + return nil + } + + // signature_algorithms is required in TLS 1.3. See RFC 8446, Section 4.2.3. + if len(hs.clientHello.supportedSignatureAlgorithms) == 0 { + return c.sendAlert(alertMissingExtension) + } + + certificate, err := c.config.getCertificate(newClientHelloInfo(hs.ctx, c, hs.clientHello)) + if err != nil { + if err == errNoCertificates { + c.sendAlert(alertUnrecognizedName) + } else { + c.sendAlert(alertInternalError) + } + return err + } + hs.sigAlg, err = selectSignatureScheme(c.vers, certificate, hs.clientHello.supportedSignatureAlgorithms) + if err != nil { + // getCertificate returned a certificate that is unsupported or + // incompatible with the client's signature algorithms. + c.sendAlert(alertHandshakeFailure) + return err + } + hs.cert = certificate + + return nil +} + +// sendDummyChangeCipherSpec sends a ChangeCipherSpec record for compatibility +// with middleboxes that didn't implement TLS correctly. See RFC 8446, Appendix D.4. +func (hs *serverHandshakeStateTLS13) sendDummyChangeCipherSpec() error { + if hs.sentDummyCCS { + return nil + } + hs.sentDummyCCS = true + + _, err := hs.c.writeRecord(recordTypeChangeCipherSpec, []byte{1}) + return err +} + +func (hs *serverHandshakeStateTLS13) doHelloRetryRequest(selectedGroup CurveID) error { + c := hs.c + + // The first ClientHello gets double-hashed into the transcript upon a + // HelloRetryRequest. See RFC 8446, Section 4.4.1. + hs.transcript.Write(hs.clientHello.marshal()) + chHash := hs.transcript.Sum(nil) + hs.transcript.Reset() + hs.transcript.Write([]byte{typeMessageHash, 0, 0, uint8(len(chHash))}) + hs.transcript.Write(chHash) + + helloRetryRequest := &serverHelloMsg{ + vers: hs.hello.vers, + random: helloRetryRequestRandom, + sessionId: hs.hello.sessionId, + cipherSuite: hs.hello.cipherSuite, + compressionMethod: hs.hello.compressionMethod, + supportedVersion: hs.hello.supportedVersion, + selectedGroup: selectedGroup, + } + + hs.transcript.Write(helloRetryRequest.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, helloRetryRequest.marshal()); err != nil { + return err + } + + if err := hs.sendDummyChangeCipherSpec(); err != nil { + return err + } + + msg, err := c.readHandshake() + if err != nil { + return err + } + + clientHello, ok := msg.(*clientHelloMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(clientHello, msg) + } + + if len(clientHello.keyShares) != 1 || clientHello.keyShares[0].group != selectedGroup { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: client sent invalid key share in second ClientHello") + } + + if clientHello.earlyData { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: client indicated early data in second ClientHello") + } + + if illegalClientHelloChange(clientHello, hs.clientHello) { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: client illegally modified second ClientHello") + } + + if clientHello.earlyData { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: client offered 0-RTT data in second ClientHello") + } + + hs.clientHello = clientHello + return nil +} + +// illegalClientHelloChange reports whether the two ClientHello messages are +// different, with the exception of the changes allowed before and after a +// HelloRetryRequest. See RFC 8446, Section 4.1.2. +func illegalClientHelloChange(ch, ch1 *clientHelloMsg) bool { + if len(ch.supportedVersions) != len(ch1.supportedVersions) || + len(ch.cipherSuites) != len(ch1.cipherSuites) || + len(ch.supportedCurves) != len(ch1.supportedCurves) || + len(ch.supportedSignatureAlgorithms) != len(ch1.supportedSignatureAlgorithms) || + len(ch.supportedSignatureAlgorithmsCert) != len(ch1.supportedSignatureAlgorithmsCert) || + len(ch.alpnProtocols) != len(ch1.alpnProtocols) { + return true + } + for i := range ch.supportedVersions { + if ch.supportedVersions[i] != ch1.supportedVersions[i] { + return true + } + } + for i := range ch.cipherSuites { + if ch.cipherSuites[i] != ch1.cipherSuites[i] { + return true + } + } + for i := range ch.supportedCurves { + if ch.supportedCurves[i] != ch1.supportedCurves[i] { + return true + } + } + for i := range ch.supportedSignatureAlgorithms { + if ch.supportedSignatureAlgorithms[i] != ch1.supportedSignatureAlgorithms[i] { + return true + } + } + for i := range ch.supportedSignatureAlgorithmsCert { + if ch.supportedSignatureAlgorithmsCert[i] != ch1.supportedSignatureAlgorithmsCert[i] { + return true + } + } + for i := range ch.alpnProtocols { + if ch.alpnProtocols[i] != ch1.alpnProtocols[i] { + return true + } + } + return ch.vers != ch1.vers || + !bytes.Equal(ch.random, ch1.random) || + !bytes.Equal(ch.sessionId, ch1.sessionId) || + !bytes.Equal(ch.compressionMethods, ch1.compressionMethods) || + ch.serverName != ch1.serverName || + ch.ocspStapling != ch1.ocspStapling || + !bytes.Equal(ch.supportedPoints, ch1.supportedPoints) || + ch.ticketSupported != ch1.ticketSupported || + !bytes.Equal(ch.sessionTicket, ch1.sessionTicket) || + ch.secureRenegotiationSupported != ch1.secureRenegotiationSupported || + !bytes.Equal(ch.secureRenegotiation, ch1.secureRenegotiation) || + ch.scts != ch1.scts || + !bytes.Equal(ch.cookie, ch1.cookie) || + !bytes.Equal(ch.pskModes, ch1.pskModes) +} + +func (hs *serverHandshakeStateTLS13) sendServerParameters() error { + c := hs.c + + hs.transcript.Write(hs.clientHello.marshal()) + hs.transcript.Write(hs.hello.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, hs.hello.marshal()); err != nil { + return err + } + + if err := hs.sendDummyChangeCipherSpec(); err != nil { + return err + } + + earlySecret := hs.earlySecret + if earlySecret == nil { + earlySecret = hs.suite.extract(nil, nil) + } + hs.handshakeSecret = hs.suite.extract(hs.sharedKey, + hs.suite.deriveSecret(earlySecret, "derived", nil)) + + clientSecret := hs.suite.deriveSecret(hs.handshakeSecret, + clientHandshakeTrafficLabel, hs.transcript) + c.in.exportKey(EncryptionHandshake, hs.suite, clientSecret) + c.in.setTrafficSecret(hs.suite, clientSecret) + serverSecret := hs.suite.deriveSecret(hs.handshakeSecret, + serverHandshakeTrafficLabel, hs.transcript) + c.out.exportKey(EncryptionHandshake, hs.suite, serverSecret) + c.out.setTrafficSecret(hs.suite, serverSecret) + + err := c.config.writeKeyLog(keyLogLabelClientHandshake, hs.clientHello.random, clientSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + err = c.config.writeKeyLog(keyLogLabelServerHandshake, hs.clientHello.random, serverSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + + if hs.alpnNegotiationErr != nil { + c.sendAlert(alertNoApplicationProtocol) + return hs.alpnNegotiationErr + } + if hs.c.extraConfig != nil && hs.c.extraConfig.GetExtensions != nil { + hs.encryptedExtensions.additionalExtensions = hs.c.extraConfig.GetExtensions(typeEncryptedExtensions) + } + + hs.transcript.Write(hs.encryptedExtensions.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, hs.encryptedExtensions.marshal()); err != nil { + return err + } + + return nil +} + +func (hs *serverHandshakeStateTLS13) requestClientCert() bool { + return hs.c.config.ClientAuth >= RequestClientCert && !hs.usingPSK +} + +func (hs *serverHandshakeStateTLS13) sendServerCertificate() error { + c := hs.c + + // Only one of PSK and certificates are used at a time. + if hs.usingPSK { + return nil + } + + if hs.requestClientCert() { + // Request a client certificate + certReq := new(certificateRequestMsgTLS13) + certReq.ocspStapling = true + certReq.scts = true + certReq.supportedSignatureAlgorithms = supportedSignatureAlgorithms() + if c.config.ClientCAs != nil { + certReq.certificateAuthorities = c.config.ClientCAs.Subjects() + } + + hs.transcript.Write(certReq.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, certReq.marshal()); err != nil { + return err + } + } + + certMsg := new(certificateMsgTLS13) + + certMsg.certificate = *hs.cert + certMsg.scts = hs.clientHello.scts && len(hs.cert.SignedCertificateTimestamps) > 0 + certMsg.ocspStapling = hs.clientHello.ocspStapling && len(hs.cert.OCSPStaple) > 0 + + hs.transcript.Write(certMsg.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, certMsg.marshal()); err != nil { + return err + } + + certVerifyMsg := new(certificateVerifyMsg) + certVerifyMsg.hasSignatureAlgorithm = true + certVerifyMsg.signatureAlgorithm = hs.sigAlg + + sigType, sigHash, err := typeAndHashFromSignatureScheme(hs.sigAlg) + if err != nil { + return c.sendAlert(alertInternalError) + } + + signed := signedMessage(sigHash, serverSignatureContext, hs.transcript) + signOpts := crypto.SignerOpts(sigHash) + if sigType == signatureRSAPSS { + signOpts = &rsa.PSSOptions{SaltLength: rsa.PSSSaltLengthEqualsHash, Hash: sigHash} + } + sig, err := hs.cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts) + if err != nil { + public := hs.cert.PrivateKey.(crypto.Signer).Public() + if rsaKey, ok := public.(*rsa.PublicKey); ok && sigType == signatureRSAPSS && + rsaKey.N.BitLen()/8 < sigHash.Size()*2+2 { // key too small for RSA-PSS + c.sendAlert(alertHandshakeFailure) + } else { + c.sendAlert(alertInternalError) + } + return errors.New("tls: failed to sign handshake: " + err.Error()) + } + certVerifyMsg.signature = sig + + hs.transcript.Write(certVerifyMsg.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, certVerifyMsg.marshal()); err != nil { + return err + } + + return nil +} + +func (hs *serverHandshakeStateTLS13) sendServerFinished() error { + c := hs.c + + finished := &finishedMsg{ + verifyData: hs.suite.finishedHash(c.out.trafficSecret, hs.transcript), + } + + hs.transcript.Write(finished.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, finished.marshal()); err != nil { + return err + } + + // Derive secrets that take context through the server Finished. + + hs.masterSecret = hs.suite.extract(nil, + hs.suite.deriveSecret(hs.handshakeSecret, "derived", nil)) + + hs.trafficSecret = hs.suite.deriveSecret(hs.masterSecret, + clientApplicationTrafficLabel, hs.transcript) + serverSecret := hs.suite.deriveSecret(hs.masterSecret, + serverApplicationTrafficLabel, hs.transcript) + c.out.exportKey(EncryptionApplication, hs.suite, serverSecret) + c.out.setTrafficSecret(hs.suite, serverSecret) + + err := c.config.writeKeyLog(keyLogLabelClientTraffic, hs.clientHello.random, hs.trafficSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + err = c.config.writeKeyLog(keyLogLabelServerTraffic, hs.clientHello.random, serverSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + + c.ekm = hs.suite.exportKeyingMaterial(hs.masterSecret, hs.transcript) + + // If we did not request client certificates, at this point we can + // precompute the client finished and roll the transcript forward to send + // session tickets in our first flight. + if !hs.requestClientCert() { + if err := hs.sendSessionTickets(); err != nil { + return err + } + } + + return nil +} + +func (hs *serverHandshakeStateTLS13) shouldSendSessionTickets() bool { + if hs.c.config.SessionTicketsDisabled { + return false + } + + // Don't send tickets the client wouldn't use. See RFC 8446, Section 4.2.9. + for _, pskMode := range hs.clientHello.pskModes { + if pskMode == pskModeDHE { + return true + } + } + return false +} + +func (hs *serverHandshakeStateTLS13) sendSessionTickets() error { + c := hs.c + + hs.clientFinished = hs.suite.finishedHash(c.in.trafficSecret, hs.transcript) + finishedMsg := &finishedMsg{ + verifyData: hs.clientFinished, + } + hs.transcript.Write(finishedMsg.marshal()) + + if !hs.shouldSendSessionTickets() { + return nil + } + + c.resumptionSecret = hs.suite.deriveSecret(hs.masterSecret, + resumptionLabel, hs.transcript) + + // Don't send session tickets when the alternative record layer is set. + // Instead, save the resumption secret on the Conn. + // Session tickets can then be generated by calling Conn.GetSessionTicket(). + if hs.c.extraConfig != nil && hs.c.extraConfig.AlternativeRecordLayer != nil { + return nil + } + + m, err := hs.c.getSessionTicketMsg(nil) + if err != nil { + return err + } + + if _, err := c.writeRecord(recordTypeHandshake, m.marshal()); err != nil { + return err + } + + return nil +} + +func (hs *serverHandshakeStateTLS13) readClientCertificate() error { + c := hs.c + + if !hs.requestClientCert() { + // Make sure the connection is still being verified whether or not + // the server requested a client certificate. + if c.config.VerifyConnection != nil { + if err := c.config.VerifyConnection(c.connectionStateLocked()); err != nil { + c.sendAlert(alertBadCertificate) + return err + } + } + return nil + } + + // If we requested a client certificate, then the client must send a + // certificate message. If it's empty, no CertificateVerify is sent. + + msg, err := c.readHandshake() + if err != nil { + return err + } + + certMsg, ok := msg.(*certificateMsgTLS13) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(certMsg, msg) + } + hs.transcript.Write(certMsg.marshal()) + + if err := c.processCertsFromClient(certMsg.certificate); err != nil { + return err + } + + if c.config.VerifyConnection != nil { + if err := c.config.VerifyConnection(c.connectionStateLocked()); err != nil { + c.sendAlert(alertBadCertificate) + return err + } + } + + if len(certMsg.certificate.Certificate) != 0 { + msg, err = c.readHandshake() + if err != nil { + return err + } + + certVerify, ok := msg.(*certificateVerifyMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(certVerify, msg) + } + + // See RFC 8446, Section 4.4.3. + if !isSupportedSignatureAlgorithm(certVerify.signatureAlgorithm, supportedSignatureAlgorithms()) { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: client certificate used with invalid signature algorithm") + } + sigType, sigHash, err := typeAndHashFromSignatureScheme(certVerify.signatureAlgorithm) + if err != nil { + return c.sendAlert(alertInternalError) + } + if sigType == signaturePKCS1v15 || sigHash == crypto.SHA1 { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: client certificate used with invalid signature algorithm") + } + signed := signedMessage(sigHash, clientSignatureContext, hs.transcript) + if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey, + sigHash, signed, certVerify.signature); err != nil { + c.sendAlert(alertDecryptError) + return errors.New("tls: invalid signature by the client certificate: " + err.Error()) + } + + hs.transcript.Write(certVerify.marshal()) + } + + // If we waited until the client certificates to send session tickets, we + // are ready to do it now. + if err := hs.sendSessionTickets(); err != nil { + return err + } + + return nil +} + +func (hs *serverHandshakeStateTLS13) readClientFinished() error { + c := hs.c + + msg, err := c.readHandshake() + if err != nil { + return err + } + + finished, ok := msg.(*finishedMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(finished, msg) + } + + if !hmac.Equal(hs.clientFinished, finished.verifyData) { + c.sendAlert(alertDecryptError) + return errors.New("tls: invalid client finished hash") + } + + c.in.exportKey(EncryptionApplication, hs.suite, hs.trafficSecret) + c.in.setTrafficSecret(hs.suite, hs.trafficSecret) + + return nil +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/key_agreement.go b/vendor/github.com/marten-seemann/qtls-go1-19/key_agreement.go new file mode 100644 index 000000000..453a8dcf0 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/key_agreement.go @@ -0,0 +1,357 @@ +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import ( + "crypto" + "crypto/md5" + "crypto/rsa" + "crypto/sha1" + "crypto/x509" + "errors" + "fmt" + "io" +) + +// a keyAgreement implements the client and server side of a TLS key agreement +// protocol by generating and processing key exchange messages. +type keyAgreement interface { + // On the server side, the first two methods are called in order. + + // In the case that the key agreement protocol doesn't use a + // ServerKeyExchange message, generateServerKeyExchange can return nil, + // nil. + generateServerKeyExchange(*config, *Certificate, *clientHelloMsg, *serverHelloMsg) (*serverKeyExchangeMsg, error) + processClientKeyExchange(*config, *Certificate, *clientKeyExchangeMsg, uint16) ([]byte, error) + + // On the client side, the next two methods are called in order. + + // This method may not be called if the server doesn't send a + // ServerKeyExchange message. + processServerKeyExchange(*config, *clientHelloMsg, *serverHelloMsg, *x509.Certificate, *serverKeyExchangeMsg) error + generateClientKeyExchange(*config, *clientHelloMsg, *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error) +} + +var errClientKeyExchange = errors.New("tls: invalid ClientKeyExchange message") +var errServerKeyExchange = errors.New("tls: invalid ServerKeyExchange message") + +// rsaKeyAgreement implements the standard TLS key agreement where the client +// encrypts the pre-master secret to the server's public key. +type rsaKeyAgreement struct{} + +func (ka rsaKeyAgreement) generateServerKeyExchange(config *config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) { + return nil, nil +} + +func (ka rsaKeyAgreement) processClientKeyExchange(config *config, cert *Certificate, ckx *clientKeyExchangeMsg, version uint16) ([]byte, error) { + if len(ckx.ciphertext) < 2 { + return nil, errClientKeyExchange + } + ciphertextLen := int(ckx.ciphertext[0])<<8 | int(ckx.ciphertext[1]) + if ciphertextLen != len(ckx.ciphertext)-2 { + return nil, errClientKeyExchange + } + ciphertext := ckx.ciphertext[2:] + + priv, ok := cert.PrivateKey.(crypto.Decrypter) + if !ok { + return nil, errors.New("tls: certificate private key does not implement crypto.Decrypter") + } + // Perform constant time RSA PKCS #1 v1.5 decryption + preMasterSecret, err := priv.Decrypt(config.rand(), ciphertext, &rsa.PKCS1v15DecryptOptions{SessionKeyLen: 48}) + if err != nil { + return nil, err + } + // We don't check the version number in the premaster secret. For one, + // by checking it, we would leak information about the validity of the + // encrypted pre-master secret. Secondly, it provides only a small + // benefit against a downgrade attack and some implementations send the + // wrong version anyway. See the discussion at the end of section + // 7.4.7.1 of RFC 4346. + return preMasterSecret, nil +} + +func (ka rsaKeyAgreement) processServerKeyExchange(config *config, clientHello *clientHelloMsg, serverHello *serverHelloMsg, cert *x509.Certificate, skx *serverKeyExchangeMsg) error { + return errors.New("tls: unexpected ServerKeyExchange") +} + +func (ka rsaKeyAgreement) generateClientKeyExchange(config *config, clientHello *clientHelloMsg, cert *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error) { + preMasterSecret := make([]byte, 48) + preMasterSecret[0] = byte(clientHello.vers >> 8) + preMasterSecret[1] = byte(clientHello.vers) + _, err := io.ReadFull(config.rand(), preMasterSecret[2:]) + if err != nil { + return nil, nil, err + } + + rsaKey, ok := cert.PublicKey.(*rsa.PublicKey) + if !ok { + return nil, nil, errors.New("tls: server certificate contains incorrect key type for selected ciphersuite") + } + encrypted, err := rsa.EncryptPKCS1v15(config.rand(), rsaKey, preMasterSecret) + if err != nil { + return nil, nil, err + } + ckx := new(clientKeyExchangeMsg) + ckx.ciphertext = make([]byte, len(encrypted)+2) + ckx.ciphertext[0] = byte(len(encrypted) >> 8) + ckx.ciphertext[1] = byte(len(encrypted)) + copy(ckx.ciphertext[2:], encrypted) + return preMasterSecret, ckx, nil +} + +// sha1Hash calculates a SHA1 hash over the given byte slices. +func sha1Hash(slices [][]byte) []byte { + hsha1 := sha1.New() + for _, slice := range slices { + hsha1.Write(slice) + } + return hsha1.Sum(nil) +} + +// md5SHA1Hash implements TLS 1.0's hybrid hash function which consists of the +// concatenation of an MD5 and SHA1 hash. +func md5SHA1Hash(slices [][]byte) []byte { + md5sha1 := make([]byte, md5.Size+sha1.Size) + hmd5 := md5.New() + for _, slice := range slices { + hmd5.Write(slice) + } + copy(md5sha1, hmd5.Sum(nil)) + copy(md5sha1[md5.Size:], sha1Hash(slices)) + return md5sha1 +} + +// hashForServerKeyExchange hashes the given slices and returns their digest +// using the given hash function (for >= TLS 1.2) or using a default based on +// the sigType (for earlier TLS versions). For Ed25519 signatures, which don't +// do pre-hashing, it returns the concatenation of the slices. +func hashForServerKeyExchange(sigType uint8, hashFunc crypto.Hash, version uint16, slices ...[]byte) []byte { + if sigType == signatureEd25519 { + var signed []byte + for _, slice := range slices { + signed = append(signed, slice...) + } + return signed + } + if version >= VersionTLS12 { + h := hashFunc.New() + for _, slice := range slices { + h.Write(slice) + } + digest := h.Sum(nil) + return digest + } + if sigType == signatureECDSA { + return sha1Hash(slices) + } + return md5SHA1Hash(slices) +} + +// ecdheKeyAgreement implements a TLS key agreement where the server +// generates an ephemeral EC public/private key pair and signs it. The +// pre-master secret is then calculated using ECDH. The signature may +// be ECDSA, Ed25519 or RSA. +type ecdheKeyAgreement struct { + version uint16 + isRSA bool + params ecdheParameters + + // ckx and preMasterSecret are generated in processServerKeyExchange + // and returned in generateClientKeyExchange. + ckx *clientKeyExchangeMsg + preMasterSecret []byte +} + +func (ka *ecdheKeyAgreement) generateServerKeyExchange(config *config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) { + var curveID CurveID + for _, c := range clientHello.supportedCurves { + if config.supportsCurve(c) { + curveID = c + break + } + } + + if curveID == 0 { + return nil, errors.New("tls: no supported elliptic curves offered") + } + if _, ok := curveForCurveID(curveID); curveID != X25519 && !ok { + return nil, errors.New("tls: CurvePreferences includes unsupported curve") + } + + params, err := generateECDHEParameters(config.rand(), curveID) + if err != nil { + return nil, err + } + ka.params = params + + // See RFC 4492, Section 5.4. + ecdhePublic := params.PublicKey() + serverECDHEParams := make([]byte, 1+2+1+len(ecdhePublic)) + serverECDHEParams[0] = 3 // named curve + serverECDHEParams[1] = byte(curveID >> 8) + serverECDHEParams[2] = byte(curveID) + serverECDHEParams[3] = byte(len(ecdhePublic)) + copy(serverECDHEParams[4:], ecdhePublic) + + priv, ok := cert.PrivateKey.(crypto.Signer) + if !ok { + return nil, fmt.Errorf("tls: certificate private key of type %T does not implement crypto.Signer", cert.PrivateKey) + } + + var signatureAlgorithm SignatureScheme + var sigType uint8 + var sigHash crypto.Hash + if ka.version >= VersionTLS12 { + signatureAlgorithm, err = selectSignatureScheme(ka.version, cert, clientHello.supportedSignatureAlgorithms) + if err != nil { + return nil, err + } + sigType, sigHash, err = typeAndHashFromSignatureScheme(signatureAlgorithm) + if err != nil { + return nil, err + } + } else { + sigType, sigHash, err = legacyTypeAndHashFromPublicKey(priv.Public()) + if err != nil { + return nil, err + } + } + if (sigType == signaturePKCS1v15 || sigType == signatureRSAPSS) != ka.isRSA { + return nil, errors.New("tls: certificate cannot be used with the selected cipher suite") + } + + signed := hashForServerKeyExchange(sigType, sigHash, ka.version, clientHello.random, hello.random, serverECDHEParams) + + signOpts := crypto.SignerOpts(sigHash) + if sigType == signatureRSAPSS { + signOpts = &rsa.PSSOptions{SaltLength: rsa.PSSSaltLengthEqualsHash, Hash: sigHash} + } + sig, err := priv.Sign(config.rand(), signed, signOpts) + if err != nil { + return nil, errors.New("tls: failed to sign ECDHE parameters: " + err.Error()) + } + + skx := new(serverKeyExchangeMsg) + sigAndHashLen := 0 + if ka.version >= VersionTLS12 { + sigAndHashLen = 2 + } + skx.key = make([]byte, len(serverECDHEParams)+sigAndHashLen+2+len(sig)) + copy(skx.key, serverECDHEParams) + k := skx.key[len(serverECDHEParams):] + if ka.version >= VersionTLS12 { + k[0] = byte(signatureAlgorithm >> 8) + k[1] = byte(signatureAlgorithm) + k = k[2:] + } + k[0] = byte(len(sig) >> 8) + k[1] = byte(len(sig)) + copy(k[2:], sig) + + return skx, nil +} + +func (ka *ecdheKeyAgreement) processClientKeyExchange(config *config, cert *Certificate, ckx *clientKeyExchangeMsg, version uint16) ([]byte, error) { + if len(ckx.ciphertext) == 0 || int(ckx.ciphertext[0]) != len(ckx.ciphertext)-1 { + return nil, errClientKeyExchange + } + + preMasterSecret := ka.params.SharedKey(ckx.ciphertext[1:]) + if preMasterSecret == nil { + return nil, errClientKeyExchange + } + + return preMasterSecret, nil +} + +func (ka *ecdheKeyAgreement) processServerKeyExchange(config *config, clientHello *clientHelloMsg, serverHello *serverHelloMsg, cert *x509.Certificate, skx *serverKeyExchangeMsg) error { + if len(skx.key) < 4 { + return errServerKeyExchange + } + if skx.key[0] != 3 { // named curve + return errors.New("tls: server selected unsupported curve") + } + curveID := CurveID(skx.key[1])<<8 | CurveID(skx.key[2]) + + publicLen := int(skx.key[3]) + if publicLen+4 > len(skx.key) { + return errServerKeyExchange + } + serverECDHEParams := skx.key[:4+publicLen] + publicKey := serverECDHEParams[4:] + + sig := skx.key[4+publicLen:] + if len(sig) < 2 { + return errServerKeyExchange + } + + if _, ok := curveForCurveID(curveID); curveID != X25519 && !ok { + return errors.New("tls: server selected unsupported curve") + } + + params, err := generateECDHEParameters(config.rand(), curveID) + if err != nil { + return err + } + ka.params = params + + ka.preMasterSecret = params.SharedKey(publicKey) + if ka.preMasterSecret == nil { + return errServerKeyExchange + } + + ourPublicKey := params.PublicKey() + ka.ckx = new(clientKeyExchangeMsg) + ka.ckx.ciphertext = make([]byte, 1+len(ourPublicKey)) + ka.ckx.ciphertext[0] = byte(len(ourPublicKey)) + copy(ka.ckx.ciphertext[1:], ourPublicKey) + + var sigType uint8 + var sigHash crypto.Hash + if ka.version >= VersionTLS12 { + signatureAlgorithm := SignatureScheme(sig[0])<<8 | SignatureScheme(sig[1]) + sig = sig[2:] + if len(sig) < 2 { + return errServerKeyExchange + } + + if !isSupportedSignatureAlgorithm(signatureAlgorithm, clientHello.supportedSignatureAlgorithms) { + return errors.New("tls: certificate used with invalid signature algorithm") + } + sigType, sigHash, err = typeAndHashFromSignatureScheme(signatureAlgorithm) + if err != nil { + return err + } + } else { + sigType, sigHash, err = legacyTypeAndHashFromPublicKey(cert.PublicKey) + if err != nil { + return err + } + } + if (sigType == signaturePKCS1v15 || sigType == signatureRSAPSS) != ka.isRSA { + return errServerKeyExchange + } + + sigLen := int(sig[0])<<8 | int(sig[1]) + if sigLen+2 != len(sig) { + return errServerKeyExchange + } + sig = sig[2:] + + signed := hashForServerKeyExchange(sigType, sigHash, ka.version, clientHello.random, serverHello.random, serverECDHEParams) + if err := verifyHandshakeSignature(sigType, cert.PublicKey, sigHash, signed, sig); err != nil { + return errors.New("tls: invalid signature by the server certificate: " + err.Error()) + } + return nil +} + +func (ka *ecdheKeyAgreement) generateClientKeyExchange(config *config, clientHello *clientHelloMsg, cert *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error) { + if ka.ckx == nil { + return nil, nil, errors.New("tls: missing ServerKeyExchange message") + } + + return ka.preMasterSecret, ka.ckx, nil +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/key_schedule.go b/vendor/github.com/marten-seemann/qtls-go1-19/key_schedule.go new file mode 100644 index 000000000..da13904a6 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/key_schedule.go @@ -0,0 +1,199 @@ +// Copyright 2018 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import ( + "crypto/elliptic" + "crypto/hmac" + "errors" + "hash" + "io" + "math/big" + + "golang.org/x/crypto/cryptobyte" + "golang.org/x/crypto/curve25519" + "golang.org/x/crypto/hkdf" +) + +// This file contains the functions necessary to compute the TLS 1.3 key +// schedule. See RFC 8446, Section 7. + +const ( + resumptionBinderLabel = "res binder" + clientHandshakeTrafficLabel = "c hs traffic" + serverHandshakeTrafficLabel = "s hs traffic" + clientApplicationTrafficLabel = "c ap traffic" + serverApplicationTrafficLabel = "s ap traffic" + exporterLabel = "exp master" + resumptionLabel = "res master" + trafficUpdateLabel = "traffic upd" +) + +// expandLabel implements HKDF-Expand-Label from RFC 8446, Section 7.1. +func (c *cipherSuiteTLS13) expandLabel(secret []byte, label string, context []byte, length int) []byte { + var hkdfLabel cryptobyte.Builder + hkdfLabel.AddUint16(uint16(length)) + hkdfLabel.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes([]byte("tls13 ")) + b.AddBytes([]byte(label)) + }) + hkdfLabel.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(context) + }) + out := make([]byte, length) + n, err := hkdf.Expand(c.hash.New, secret, hkdfLabel.BytesOrPanic()).Read(out) + if err != nil || n != length { + panic("tls: HKDF-Expand-Label invocation failed unexpectedly") + } + return out +} + +// deriveSecret implements Derive-Secret from RFC 8446, Section 7.1. +func (c *cipherSuiteTLS13) deriveSecret(secret []byte, label string, transcript hash.Hash) []byte { + if transcript == nil { + transcript = c.hash.New() + } + return c.expandLabel(secret, label, transcript.Sum(nil), c.hash.Size()) +} + +// extract implements HKDF-Extract with the cipher suite hash. +func (c *cipherSuiteTLS13) extract(newSecret, currentSecret []byte) []byte { + if newSecret == nil { + newSecret = make([]byte, c.hash.Size()) + } + return hkdf.Extract(c.hash.New, newSecret, currentSecret) +} + +// nextTrafficSecret generates the next traffic secret, given the current one, +// according to RFC 8446, Section 7.2. +func (c *cipherSuiteTLS13) nextTrafficSecret(trafficSecret []byte) []byte { + return c.expandLabel(trafficSecret, trafficUpdateLabel, nil, c.hash.Size()) +} + +// trafficKey generates traffic keys according to RFC 8446, Section 7.3. +func (c *cipherSuiteTLS13) trafficKey(trafficSecret []byte) (key, iv []byte) { + key = c.expandLabel(trafficSecret, "key", nil, c.keyLen) + iv = c.expandLabel(trafficSecret, "iv", nil, aeadNonceLength) + return +} + +// finishedHash generates the Finished verify_data or PskBinderEntry according +// to RFC 8446, Section 4.4.4. See sections 4.4 and 4.2.11.2 for the baseKey +// selection. +func (c *cipherSuiteTLS13) finishedHash(baseKey []byte, transcript hash.Hash) []byte { + finishedKey := c.expandLabel(baseKey, "finished", nil, c.hash.Size()) + verifyData := hmac.New(c.hash.New, finishedKey) + verifyData.Write(transcript.Sum(nil)) + return verifyData.Sum(nil) +} + +// exportKeyingMaterial implements RFC5705 exporters for TLS 1.3 according to +// RFC 8446, Section 7.5. +func (c *cipherSuiteTLS13) exportKeyingMaterial(masterSecret []byte, transcript hash.Hash) func(string, []byte, int) ([]byte, error) { + expMasterSecret := c.deriveSecret(masterSecret, exporterLabel, transcript) + return func(label string, context []byte, length int) ([]byte, error) { + secret := c.deriveSecret(expMasterSecret, label, nil) + h := c.hash.New() + h.Write(context) + return c.expandLabel(secret, "exporter", h.Sum(nil), length), nil + } +} + +// ecdheParameters implements Diffie-Hellman with either NIST curves or X25519, +// according to RFC 8446, Section 4.2.8.2. +type ecdheParameters interface { + CurveID() CurveID + PublicKey() []byte + SharedKey(peerPublicKey []byte) []byte +} + +func generateECDHEParameters(rand io.Reader, curveID CurveID) (ecdheParameters, error) { + if curveID == X25519 { + privateKey := make([]byte, curve25519.ScalarSize) + if _, err := io.ReadFull(rand, privateKey); err != nil { + return nil, err + } + publicKey, err := curve25519.X25519(privateKey, curve25519.Basepoint) + if err != nil { + return nil, err + } + return &x25519Parameters{privateKey: privateKey, publicKey: publicKey}, nil + } + + curve, ok := curveForCurveID(curveID) + if !ok { + return nil, errors.New("tls: internal error: unsupported curve") + } + + p := &nistParameters{curveID: curveID} + var err error + p.privateKey, p.x, p.y, err = elliptic.GenerateKey(curve, rand) + if err != nil { + return nil, err + } + return p, nil +} + +func curveForCurveID(id CurveID) (elliptic.Curve, bool) { + switch id { + case CurveP256: + return elliptic.P256(), true + case CurveP384: + return elliptic.P384(), true + case CurveP521: + return elliptic.P521(), true + default: + return nil, false + } +} + +type nistParameters struct { + privateKey []byte + x, y *big.Int // public key + curveID CurveID +} + +func (p *nistParameters) CurveID() CurveID { + return p.curveID +} + +func (p *nistParameters) PublicKey() []byte { + curve, _ := curveForCurveID(p.curveID) + return elliptic.Marshal(curve, p.x, p.y) +} + +func (p *nistParameters) SharedKey(peerPublicKey []byte) []byte { + curve, _ := curveForCurveID(p.curveID) + // Unmarshal also checks whether the given point is on the curve. + x, y := elliptic.Unmarshal(curve, peerPublicKey) + if x == nil { + return nil + } + + xShared, _ := curve.ScalarMult(x, y, p.privateKey) + sharedKey := make([]byte, (curve.Params().BitSize+7)/8) + return xShared.FillBytes(sharedKey) +} + +type x25519Parameters struct { + privateKey []byte + publicKey []byte +} + +func (p *x25519Parameters) CurveID() CurveID { + return X25519 +} + +func (p *x25519Parameters) PublicKey() []byte { + return p.publicKey[:] +} + +func (p *x25519Parameters) SharedKey(peerPublicKey []byte) []byte { + sharedKey, err := curve25519.X25519(p.privateKey, peerPublicKey) + if err != nil { + return nil + } + return sharedKey +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/notboring.go b/vendor/github.com/marten-seemann/qtls-go1-19/notboring.go new file mode 100644 index 000000000..f292e4f02 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/notboring.go @@ -0,0 +1,18 @@ +// Copyright 2022 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +func needFIPS() bool { return false } + +func supportedSignatureAlgorithms() []SignatureScheme { + return defaultSupportedSignatureAlgorithms +} + +func fipsMinVersion(c *config) uint16 { panic("fipsMinVersion") } +func fipsMaxVersion(c *config) uint16 { panic("fipsMaxVersion") } +func fipsCurvePreferences(c *config) []CurveID { panic("fipsCurvePreferences") } +func fipsCipherSuites(c *config) []uint16 { panic("fipsCipherSuites") } + +var fipsSupportedSignatureAlgorithms []SignatureScheme diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/prf.go b/vendor/github.com/marten-seemann/qtls-go1-19/prf.go new file mode 100644 index 000000000..9eb0221a0 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/prf.go @@ -0,0 +1,283 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import ( + "crypto" + "crypto/hmac" + "crypto/md5" + "crypto/sha1" + "crypto/sha256" + "crypto/sha512" + "errors" + "fmt" + "hash" +) + +// Split a premaster secret in two as specified in RFC 4346, Section 5. +func splitPreMasterSecret(secret []byte) (s1, s2 []byte) { + s1 = secret[0 : (len(secret)+1)/2] + s2 = secret[len(secret)/2:] + return +} + +// pHash implements the P_hash function, as defined in RFC 4346, Section 5. +func pHash(result, secret, seed []byte, hash func() hash.Hash) { + h := hmac.New(hash, secret) + h.Write(seed) + a := h.Sum(nil) + + j := 0 + for j < len(result) { + h.Reset() + h.Write(a) + h.Write(seed) + b := h.Sum(nil) + copy(result[j:], b) + j += len(b) + + h.Reset() + h.Write(a) + a = h.Sum(nil) + } +} + +// prf10 implements the TLS 1.0 pseudo-random function, as defined in RFC 2246, Section 5. +func prf10(result, secret, label, seed []byte) { + hashSHA1 := sha1.New + hashMD5 := md5.New + + labelAndSeed := make([]byte, len(label)+len(seed)) + copy(labelAndSeed, label) + copy(labelAndSeed[len(label):], seed) + + s1, s2 := splitPreMasterSecret(secret) + pHash(result, s1, labelAndSeed, hashMD5) + result2 := make([]byte, len(result)) + pHash(result2, s2, labelAndSeed, hashSHA1) + + for i, b := range result2 { + result[i] ^= b + } +} + +// prf12 implements the TLS 1.2 pseudo-random function, as defined in RFC 5246, Section 5. +func prf12(hashFunc func() hash.Hash) func(result, secret, label, seed []byte) { + return func(result, secret, label, seed []byte) { + labelAndSeed := make([]byte, len(label)+len(seed)) + copy(labelAndSeed, label) + copy(labelAndSeed[len(label):], seed) + + pHash(result, secret, labelAndSeed, hashFunc) + } +} + +const ( + masterSecretLength = 48 // Length of a master secret in TLS 1.1. + finishedVerifyLength = 12 // Length of verify_data in a Finished message. +) + +var masterSecretLabel = []byte("master secret") +var keyExpansionLabel = []byte("key expansion") +var clientFinishedLabel = []byte("client finished") +var serverFinishedLabel = []byte("server finished") + +func prfAndHashForVersion(version uint16, suite *cipherSuite) (func(result, secret, label, seed []byte), crypto.Hash) { + switch version { + case VersionTLS10, VersionTLS11: + return prf10, crypto.Hash(0) + case VersionTLS12: + if suite.flags&suiteSHA384 != 0 { + return prf12(sha512.New384), crypto.SHA384 + } + return prf12(sha256.New), crypto.SHA256 + default: + panic("unknown version") + } +} + +func prfForVersion(version uint16, suite *cipherSuite) func(result, secret, label, seed []byte) { + prf, _ := prfAndHashForVersion(version, suite) + return prf +} + +// masterFromPreMasterSecret generates the master secret from the pre-master +// secret. See RFC 5246, Section 8.1. +func masterFromPreMasterSecret(version uint16, suite *cipherSuite, preMasterSecret, clientRandom, serverRandom []byte) []byte { + seed := make([]byte, 0, len(clientRandom)+len(serverRandom)) + seed = append(seed, clientRandom...) + seed = append(seed, serverRandom...) + + masterSecret := make([]byte, masterSecretLength) + prfForVersion(version, suite)(masterSecret, preMasterSecret, masterSecretLabel, seed) + return masterSecret +} + +// keysFromMasterSecret generates the connection keys from the master +// secret, given the lengths of the MAC key, cipher key and IV, as defined in +// RFC 2246, Section 6.3. +func keysFromMasterSecret(version uint16, suite *cipherSuite, masterSecret, clientRandom, serverRandom []byte, macLen, keyLen, ivLen int) (clientMAC, serverMAC, clientKey, serverKey, clientIV, serverIV []byte) { + seed := make([]byte, 0, len(serverRandom)+len(clientRandom)) + seed = append(seed, serverRandom...) + seed = append(seed, clientRandom...) + + n := 2*macLen + 2*keyLen + 2*ivLen + keyMaterial := make([]byte, n) + prfForVersion(version, suite)(keyMaterial, masterSecret, keyExpansionLabel, seed) + clientMAC = keyMaterial[:macLen] + keyMaterial = keyMaterial[macLen:] + serverMAC = keyMaterial[:macLen] + keyMaterial = keyMaterial[macLen:] + clientKey = keyMaterial[:keyLen] + keyMaterial = keyMaterial[keyLen:] + serverKey = keyMaterial[:keyLen] + keyMaterial = keyMaterial[keyLen:] + clientIV = keyMaterial[:ivLen] + keyMaterial = keyMaterial[ivLen:] + serverIV = keyMaterial[:ivLen] + return +} + +func newFinishedHash(version uint16, cipherSuite *cipherSuite) finishedHash { + var buffer []byte + if version >= VersionTLS12 { + buffer = []byte{} + } + + prf, hash := prfAndHashForVersion(version, cipherSuite) + if hash != 0 { + return finishedHash{hash.New(), hash.New(), nil, nil, buffer, version, prf} + } + + return finishedHash{sha1.New(), sha1.New(), md5.New(), md5.New(), buffer, version, prf} +} + +// A finishedHash calculates the hash of a set of handshake messages suitable +// for including in a Finished message. +type finishedHash struct { + client hash.Hash + server hash.Hash + + // Prior to TLS 1.2, an additional MD5 hash is required. + clientMD5 hash.Hash + serverMD5 hash.Hash + + // In TLS 1.2, a full buffer is sadly required. + buffer []byte + + version uint16 + prf func(result, secret, label, seed []byte) +} + +func (h *finishedHash) Write(msg []byte) (n int, err error) { + h.client.Write(msg) + h.server.Write(msg) + + if h.version < VersionTLS12 { + h.clientMD5.Write(msg) + h.serverMD5.Write(msg) + } + + if h.buffer != nil { + h.buffer = append(h.buffer, msg...) + } + + return len(msg), nil +} + +func (h finishedHash) Sum() []byte { + if h.version >= VersionTLS12 { + return h.client.Sum(nil) + } + + out := make([]byte, 0, md5.Size+sha1.Size) + out = h.clientMD5.Sum(out) + return h.client.Sum(out) +} + +// clientSum returns the contents of the verify_data member of a client's +// Finished message. +func (h finishedHash) clientSum(masterSecret []byte) []byte { + out := make([]byte, finishedVerifyLength) + h.prf(out, masterSecret, clientFinishedLabel, h.Sum()) + return out +} + +// serverSum returns the contents of the verify_data member of a server's +// Finished message. +func (h finishedHash) serverSum(masterSecret []byte) []byte { + out := make([]byte, finishedVerifyLength) + h.prf(out, masterSecret, serverFinishedLabel, h.Sum()) + return out +} + +// hashForClientCertificate returns the handshake messages so far, pre-hashed if +// necessary, suitable for signing by a TLS client certificate. +func (h finishedHash) hashForClientCertificate(sigType uint8, hashAlg crypto.Hash, masterSecret []byte) []byte { + if (h.version >= VersionTLS12 || sigType == signatureEd25519) && h.buffer == nil { + panic("tls: handshake hash for a client certificate requested after discarding the handshake buffer") + } + + if sigType == signatureEd25519 { + return h.buffer + } + + if h.version >= VersionTLS12 { + hash := hashAlg.New() + hash.Write(h.buffer) + return hash.Sum(nil) + } + + if sigType == signatureECDSA { + return h.server.Sum(nil) + } + + return h.Sum() +} + +// discardHandshakeBuffer is called when there is no more need to +// buffer the entirety of the handshake messages. +func (h *finishedHash) discardHandshakeBuffer() { + h.buffer = nil +} + +// noExportedKeyingMaterial is used as a value of +// ConnectionState.ekm when renegotiation is enabled and thus +// we wish to fail all key-material export requests. +func noExportedKeyingMaterial(label string, context []byte, length int) ([]byte, error) { + return nil, errors.New("crypto/tls: ExportKeyingMaterial is unavailable when renegotiation is enabled") +} + +// ekmFromMasterSecret generates exported keying material as defined in RFC 5705. +func ekmFromMasterSecret(version uint16, suite *cipherSuite, masterSecret, clientRandom, serverRandom []byte) func(string, []byte, int) ([]byte, error) { + return func(label string, context []byte, length int) ([]byte, error) { + switch label { + case "client finished", "server finished", "master secret", "key expansion": + // These values are reserved and may not be used. + return nil, fmt.Errorf("crypto/tls: reserved ExportKeyingMaterial label: %s", label) + } + + seedLen := len(serverRandom) + len(clientRandom) + if context != nil { + seedLen += 2 + len(context) + } + seed := make([]byte, 0, seedLen) + + seed = append(seed, clientRandom...) + seed = append(seed, serverRandom...) + + if context != nil { + if len(context) >= 1<<16 { + return nil, fmt.Errorf("crypto/tls: ExportKeyingMaterial context too long") + } + seed = append(seed, byte(len(context)>>8), byte(len(context))) + seed = append(seed, context...) + } + + keyMaterial := make([]byte, length) + prfForVersion(version, suite)(keyMaterial, masterSecret, []byte(label), seed) + return keyMaterial, nil + } +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/ticket.go b/vendor/github.com/marten-seemann/qtls-go1-19/ticket.go new file mode 100644 index 000000000..81e8a52ea --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/ticket.go @@ -0,0 +1,274 @@ +// Copyright 2012 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package qtls + +import ( + "bytes" + "crypto/aes" + "crypto/cipher" + "crypto/hmac" + "crypto/sha256" + "crypto/subtle" + "encoding/binary" + "errors" + "io" + "time" + + "golang.org/x/crypto/cryptobyte" +) + +// sessionState contains the information that is serialized into a session +// ticket in order to later resume a connection. +type sessionState struct { + vers uint16 + cipherSuite uint16 + createdAt uint64 + masterSecret []byte // opaque master_secret<1..2^16-1>; + // struct { opaque certificate<1..2^24-1> } Certificate; + certificates [][]byte // Certificate certificate_list<0..2^24-1>; + + // usedOldKey is true if the ticket from which this session came from + // was encrypted with an older key and thus should be refreshed. + usedOldKey bool +} + +func (m *sessionState) marshal() []byte { + var b cryptobyte.Builder + b.AddUint16(m.vers) + b.AddUint16(m.cipherSuite) + addUint64(&b, m.createdAt) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.masterSecret) + }) + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + for _, cert := range m.certificates { + b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(cert) + }) + } + }) + return b.BytesOrPanic() +} + +func (m *sessionState) unmarshal(data []byte) bool { + *m = sessionState{usedOldKey: m.usedOldKey} + s := cryptobyte.String(data) + if ok := s.ReadUint16(&m.vers) && + s.ReadUint16(&m.cipherSuite) && + readUint64(&s, &m.createdAt) && + readUint16LengthPrefixed(&s, &m.masterSecret) && + len(m.masterSecret) != 0; !ok { + return false + } + var certList cryptobyte.String + if !s.ReadUint24LengthPrefixed(&certList) { + return false + } + for !certList.Empty() { + var cert []byte + if !readUint24LengthPrefixed(&certList, &cert) { + return false + } + m.certificates = append(m.certificates, cert) + } + return s.Empty() +} + +// sessionStateTLS13 is the content of a TLS 1.3 session ticket. Its first +// version (revision = 0) doesn't carry any of the information needed for 0-RTT +// validation and the nonce is always empty. +// version (revision = 1) carries the max_early_data_size sent in the ticket. +// version (revision = 2) carries the ALPN sent in the ticket. +type sessionStateTLS13 struct { + // uint8 version = 0x0304; + // uint8 revision = 2; + cipherSuite uint16 + createdAt uint64 + resumptionSecret []byte // opaque resumption_master_secret<1..2^8-1>; + certificate Certificate // CertificateEntry certificate_list<0..2^24-1>; + maxEarlyData uint32 + alpn string + + appData []byte +} + +func (m *sessionStateTLS13) marshal() []byte { + var b cryptobyte.Builder + b.AddUint16(VersionTLS13) + b.AddUint8(2) // revision + b.AddUint16(m.cipherSuite) + addUint64(&b, m.createdAt) + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.resumptionSecret) + }) + marshalCertificate(&b, m.certificate) + b.AddUint32(m.maxEarlyData) + b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes([]byte(m.alpn)) + }) + b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { + b.AddBytes(m.appData) + }) + return b.BytesOrPanic() +} + +func (m *sessionStateTLS13) unmarshal(data []byte) bool { + *m = sessionStateTLS13{} + s := cryptobyte.String(data) + var version uint16 + var revision uint8 + var alpn []byte + ret := s.ReadUint16(&version) && + version == VersionTLS13 && + s.ReadUint8(&revision) && + revision == 2 && + s.ReadUint16(&m.cipherSuite) && + readUint64(&s, &m.createdAt) && + readUint8LengthPrefixed(&s, &m.resumptionSecret) && + len(m.resumptionSecret) != 0 && + unmarshalCertificate(&s, &m.certificate) && + s.ReadUint32(&m.maxEarlyData) && + readUint8LengthPrefixed(&s, &alpn) && + readUint16LengthPrefixed(&s, &m.appData) && + s.Empty() + m.alpn = string(alpn) + return ret +} + +func (c *Conn) encryptTicket(state []byte) ([]byte, error) { + if len(c.ticketKeys) == 0 { + return nil, errors.New("tls: internal error: session ticket keys unavailable") + } + + encrypted := make([]byte, ticketKeyNameLen+aes.BlockSize+len(state)+sha256.Size) + keyName := encrypted[:ticketKeyNameLen] + iv := encrypted[ticketKeyNameLen : ticketKeyNameLen+aes.BlockSize] + macBytes := encrypted[len(encrypted)-sha256.Size:] + + if _, err := io.ReadFull(c.config.rand(), iv); err != nil { + return nil, err + } + key := c.ticketKeys[0] + copy(keyName, key.keyName[:]) + block, err := aes.NewCipher(key.aesKey[:]) + if err != nil { + return nil, errors.New("tls: failed to create cipher while encrypting ticket: " + err.Error()) + } + cipher.NewCTR(block, iv).XORKeyStream(encrypted[ticketKeyNameLen+aes.BlockSize:], state) + + mac := hmac.New(sha256.New, key.hmacKey[:]) + mac.Write(encrypted[:len(encrypted)-sha256.Size]) + mac.Sum(macBytes[:0]) + + return encrypted, nil +} + +func (c *Conn) decryptTicket(encrypted []byte) (plaintext []byte, usedOldKey bool) { + if len(encrypted) < ticketKeyNameLen+aes.BlockSize+sha256.Size { + return nil, false + } + + keyName := encrypted[:ticketKeyNameLen] + iv := encrypted[ticketKeyNameLen : ticketKeyNameLen+aes.BlockSize] + macBytes := encrypted[len(encrypted)-sha256.Size:] + ciphertext := encrypted[ticketKeyNameLen+aes.BlockSize : len(encrypted)-sha256.Size] + + keyIndex := -1 + for i, candidateKey := range c.ticketKeys { + if bytes.Equal(keyName, candidateKey.keyName[:]) { + keyIndex = i + break + } + } + if keyIndex == -1 { + return nil, false + } + key := &c.ticketKeys[keyIndex] + + mac := hmac.New(sha256.New, key.hmacKey[:]) + mac.Write(encrypted[:len(encrypted)-sha256.Size]) + expected := mac.Sum(nil) + + if subtle.ConstantTimeCompare(macBytes, expected) != 1 { + return nil, false + } + + block, err := aes.NewCipher(key.aesKey[:]) + if err != nil { + return nil, false + } + plaintext = make([]byte, len(ciphertext)) + cipher.NewCTR(block, iv).XORKeyStream(plaintext, ciphertext) + + return plaintext, keyIndex > 0 +} + +func (c *Conn) getSessionTicketMsg(appData []byte) (*newSessionTicketMsgTLS13, error) { + m := new(newSessionTicketMsgTLS13) + + var certsFromClient [][]byte + for _, cert := range c.peerCertificates { + certsFromClient = append(certsFromClient, cert.Raw) + } + state := sessionStateTLS13{ + cipherSuite: c.cipherSuite, + createdAt: uint64(c.config.time().Unix()), + resumptionSecret: c.resumptionSecret, + certificate: Certificate{ + Certificate: certsFromClient, + OCSPStaple: c.ocspResponse, + SignedCertificateTimestamps: c.scts, + }, + appData: appData, + alpn: c.clientProtocol, + } + if c.extraConfig != nil { + state.maxEarlyData = c.extraConfig.MaxEarlyData + } + var err error + m.label, err = c.encryptTicket(state.marshal()) + if err != nil { + return nil, err + } + m.lifetime = uint32(maxSessionTicketLifetime / time.Second) + + // ticket_age_add is a random 32-bit value. See RFC 8446, section 4.6.1 + // The value is not stored anywhere; we never need to check the ticket age + // because 0-RTT is not supported. + ageAdd := make([]byte, 4) + _, err = c.config.rand().Read(ageAdd) + if err != nil { + return nil, err + } + m.ageAdd = binary.LittleEndian.Uint32(ageAdd) + + // ticket_nonce, which must be unique per connection, is always left at + // zero because we only ever send one ticket per connection. + + if c.extraConfig != nil { + m.maxEarlyData = c.extraConfig.MaxEarlyData + } + return m, nil +} + +// GetSessionTicket generates a new session ticket. +// It should only be called after the handshake completes. +// It can only be used for servers, and only if the alternative record layer is set. +// The ticket may be nil if config.SessionTicketsDisabled is set, +// or if the client isn't able to receive session tickets. +func (c *Conn) GetSessionTicket(appData []byte) ([]byte, error) { + if c.isClient || !c.handshakeComplete() || c.extraConfig == nil || c.extraConfig.AlternativeRecordLayer == nil { + return nil, errors.New("GetSessionTicket is only valid for servers after completion of the handshake, and if an alternative record layer is set.") + } + if c.config.SessionTicketsDisabled { + return nil, nil + } + + m, err := c.getSessionTicketMsg(appData) + if err != nil { + return nil, err + } + return m.marshal(), nil +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/tls.go b/vendor/github.com/marten-seemann/qtls-go1-19/tls.go new file mode 100644 index 000000000..42207c235 --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/tls.go @@ -0,0 +1,362 @@ +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// package qtls partially implements TLS 1.2, as specified in RFC 5246, +// and TLS 1.3, as specified in RFC 8446. +package qtls + +// BUG(agl): The crypto/tls package only implements some countermeasures +// against Lucky13 attacks on CBC-mode encryption, and only on SHA1 +// variants. See http://www.isg.rhul.ac.uk/tls/TLStiming.pdf and +// https://www.imperialviolet.org/2013/02/04/luckythirteen.html. + +import ( + "bytes" + "context" + "crypto" + "crypto/ecdsa" + "crypto/ed25519" + "crypto/rsa" + "crypto/x509" + "encoding/pem" + "errors" + "fmt" + "net" + "os" + "strings" +) + +// Server returns a new TLS server side connection +// using conn as the underlying transport. +// The configuration config must be non-nil and must include +// at least one certificate or else set GetCertificate. +func Server(conn net.Conn, config *Config, extraConfig *ExtraConfig) *Conn { + c := &Conn{ + conn: conn, + config: fromConfig(config), + extraConfig: extraConfig, + } + c.handshakeFn = c.serverHandshake + return c +} + +// Client returns a new TLS client side connection +// using conn as the underlying transport. +// The config cannot be nil: users must set either ServerName or +// InsecureSkipVerify in the config. +func Client(conn net.Conn, config *Config, extraConfig *ExtraConfig) *Conn { + c := &Conn{ + conn: conn, + config: fromConfig(config), + extraConfig: extraConfig, + isClient: true, + } + c.handshakeFn = c.clientHandshake + return c +} + +// A listener implements a network listener (net.Listener) for TLS connections. +type listener struct { + net.Listener + config *Config + extraConfig *ExtraConfig +} + +// Accept waits for and returns the next incoming TLS connection. +// The returned connection is of type *Conn. +func (l *listener) Accept() (net.Conn, error) { + c, err := l.Listener.Accept() + if err != nil { + return nil, err + } + return Server(c, l.config, l.extraConfig), nil +} + +// NewListener creates a Listener which accepts connections from an inner +// Listener and wraps each connection with Server. +// The configuration config must be non-nil and must include +// at least one certificate or else set GetCertificate. +func NewListener(inner net.Listener, config *Config, extraConfig *ExtraConfig) net.Listener { + l := new(listener) + l.Listener = inner + l.config = config + l.extraConfig = extraConfig + return l +} + +// Listen creates a TLS listener accepting connections on the +// given network address using net.Listen. +// The configuration config must be non-nil and must include +// at least one certificate or else set GetCertificate. +func Listen(network, laddr string, config *Config, extraConfig *ExtraConfig) (net.Listener, error) { + if config == nil || len(config.Certificates) == 0 && + config.GetCertificate == nil && config.GetConfigForClient == nil { + return nil, errors.New("tls: neither Certificates, GetCertificate, nor GetConfigForClient set in Config") + } + l, err := net.Listen(network, laddr) + if err != nil { + return nil, err + } + return NewListener(l, config, extraConfig), nil +} + +type timeoutError struct{} + +func (timeoutError) Error() string { return "tls: DialWithDialer timed out" } +func (timeoutError) Timeout() bool { return true } +func (timeoutError) Temporary() bool { return true } + +// DialWithDialer connects to the given network address using dialer.Dial and +// then initiates a TLS handshake, returning the resulting TLS connection. Any +// timeout or deadline given in the dialer apply to connection and TLS +// handshake as a whole. +// +// DialWithDialer interprets a nil configuration as equivalent to the zero +// configuration; see the documentation of Config for the defaults. +// +// DialWithDialer uses context.Background internally; to specify the context, +// use Dialer.DialContext with NetDialer set to the desired dialer. +func DialWithDialer(dialer *net.Dialer, network, addr string, config *Config, extraConfig *ExtraConfig) (*Conn, error) { + return dial(context.Background(), dialer, network, addr, config, extraConfig) +} + +func dial(ctx context.Context, netDialer *net.Dialer, network, addr string, config *Config, extraConfig *ExtraConfig) (*Conn, error) { + if netDialer.Timeout != 0 { + var cancel context.CancelFunc + ctx, cancel = context.WithTimeout(ctx, netDialer.Timeout) + defer cancel() + } + + if !netDialer.Deadline.IsZero() { + var cancel context.CancelFunc + ctx, cancel = context.WithDeadline(ctx, netDialer.Deadline) + defer cancel() + } + + rawConn, err := netDialer.DialContext(ctx, network, addr) + if err != nil { + return nil, err + } + + colonPos := strings.LastIndex(addr, ":") + if colonPos == -1 { + colonPos = len(addr) + } + hostname := addr[:colonPos] + + if config == nil { + config = defaultConfig() + } + // If no ServerName is set, infer the ServerName + // from the hostname we're connecting to. + if config.ServerName == "" { + // Make a copy to avoid polluting argument or default. + c := config.Clone() + c.ServerName = hostname + config = c + } + + conn := Client(rawConn, config, extraConfig) + if err := conn.HandshakeContext(ctx); err != nil { + rawConn.Close() + return nil, err + } + return conn, nil +} + +// Dial connects to the given network address using net.Dial +// and then initiates a TLS handshake, returning the resulting +// TLS connection. +// Dial interprets a nil configuration as equivalent to +// the zero configuration; see the documentation of Config +// for the defaults. +func Dial(network, addr string, config *Config, extraConfig *ExtraConfig) (*Conn, error) { + return DialWithDialer(new(net.Dialer), network, addr, config, extraConfig) +} + +// Dialer dials TLS connections given a configuration and a Dialer for the +// underlying connection. +type Dialer struct { + // NetDialer is the optional dialer to use for the TLS connections' + // underlying TCP connections. + // A nil NetDialer is equivalent to the net.Dialer zero value. + NetDialer *net.Dialer + + // Config is the TLS configuration to use for new connections. + // A nil configuration is equivalent to the zero + // configuration; see the documentation of Config for the + // defaults. + Config *Config + + ExtraConfig *ExtraConfig +} + +// Dial connects to the given network address and initiates a TLS +// handshake, returning the resulting TLS connection. +// +// The returned Conn, if any, will always be of type *Conn. +// +// Dial uses context.Background internally; to specify the context, +// use DialContext. +func (d *Dialer) Dial(network, addr string) (net.Conn, error) { + return d.DialContext(context.Background(), network, addr) +} + +func (d *Dialer) netDialer() *net.Dialer { + if d.NetDialer != nil { + return d.NetDialer + } + return new(net.Dialer) +} + +// DialContext connects to the given network address and initiates a TLS +// handshake, returning the resulting TLS connection. +// +// The provided Context must be non-nil. If the context expires before +// the connection is complete, an error is returned. Once successfully +// connected, any expiration of the context will not affect the +// connection. +// +// The returned Conn, if any, will always be of type *Conn. +func (d *Dialer) DialContext(ctx context.Context, network, addr string) (net.Conn, error) { + c, err := dial(ctx, d.netDialer(), network, addr, d.Config, d.ExtraConfig) + if err != nil { + // Don't return c (a typed nil) in an interface. + return nil, err + } + return c, nil +} + +// LoadX509KeyPair reads and parses a public/private key pair from a pair +// of files. The files must contain PEM encoded data. The certificate file +// may contain intermediate certificates following the leaf certificate to +// form a certificate chain. On successful return, Certificate.Leaf will +// be nil because the parsed form of the certificate is not retained. +func LoadX509KeyPair(certFile, keyFile string) (Certificate, error) { + certPEMBlock, err := os.ReadFile(certFile) + if err != nil { + return Certificate{}, err + } + keyPEMBlock, err := os.ReadFile(keyFile) + if err != nil { + return Certificate{}, err + } + return X509KeyPair(certPEMBlock, keyPEMBlock) +} + +// X509KeyPair parses a public/private key pair from a pair of +// PEM encoded data. On successful return, Certificate.Leaf will be nil because +// the parsed form of the certificate is not retained. +func X509KeyPair(certPEMBlock, keyPEMBlock []byte) (Certificate, error) { + fail := func(err error) (Certificate, error) { return Certificate{}, err } + + var cert Certificate + var skippedBlockTypes []string + for { + var certDERBlock *pem.Block + certDERBlock, certPEMBlock = pem.Decode(certPEMBlock) + if certDERBlock == nil { + break + } + if certDERBlock.Type == "CERTIFICATE" { + cert.Certificate = append(cert.Certificate, certDERBlock.Bytes) + } else { + skippedBlockTypes = append(skippedBlockTypes, certDERBlock.Type) + } + } + + if len(cert.Certificate) == 0 { + if len(skippedBlockTypes) == 0 { + return fail(errors.New("tls: failed to find any PEM data in certificate input")) + } + if len(skippedBlockTypes) == 1 && strings.HasSuffix(skippedBlockTypes[0], "PRIVATE KEY") { + return fail(errors.New("tls: failed to find certificate PEM data in certificate input, but did find a private key; PEM inputs may have been switched")) + } + return fail(fmt.Errorf("tls: failed to find \"CERTIFICATE\" PEM block in certificate input after skipping PEM blocks of the following types: %v", skippedBlockTypes)) + } + + skippedBlockTypes = skippedBlockTypes[:0] + var keyDERBlock *pem.Block + for { + keyDERBlock, keyPEMBlock = pem.Decode(keyPEMBlock) + if keyDERBlock == nil { + if len(skippedBlockTypes) == 0 { + return fail(errors.New("tls: failed to find any PEM data in key input")) + } + if len(skippedBlockTypes) == 1 && skippedBlockTypes[0] == "CERTIFICATE" { + return fail(errors.New("tls: found a certificate rather than a key in the PEM for the private key")) + } + return fail(fmt.Errorf("tls: failed to find PEM block with type ending in \"PRIVATE KEY\" in key input after skipping PEM blocks of the following types: %v", skippedBlockTypes)) + } + if keyDERBlock.Type == "PRIVATE KEY" || strings.HasSuffix(keyDERBlock.Type, " PRIVATE KEY") { + break + } + skippedBlockTypes = append(skippedBlockTypes, keyDERBlock.Type) + } + + // We don't need to parse the public key for TLS, but we so do anyway + // to check that it looks sane and matches the private key. + x509Cert, err := x509.ParseCertificate(cert.Certificate[0]) + if err != nil { + return fail(err) + } + + cert.PrivateKey, err = parsePrivateKey(keyDERBlock.Bytes) + if err != nil { + return fail(err) + } + + switch pub := x509Cert.PublicKey.(type) { + case *rsa.PublicKey: + priv, ok := cert.PrivateKey.(*rsa.PrivateKey) + if !ok { + return fail(errors.New("tls: private key type does not match public key type")) + } + if pub.N.Cmp(priv.N) != 0 { + return fail(errors.New("tls: private key does not match public key")) + } + case *ecdsa.PublicKey: + priv, ok := cert.PrivateKey.(*ecdsa.PrivateKey) + if !ok { + return fail(errors.New("tls: private key type does not match public key type")) + } + if pub.X.Cmp(priv.X) != 0 || pub.Y.Cmp(priv.Y) != 0 { + return fail(errors.New("tls: private key does not match public key")) + } + case ed25519.PublicKey: + priv, ok := cert.PrivateKey.(ed25519.PrivateKey) + if !ok { + return fail(errors.New("tls: private key type does not match public key type")) + } + if !bytes.Equal(priv.Public().(ed25519.PublicKey), pub) { + return fail(errors.New("tls: private key does not match public key")) + } + default: + return fail(errors.New("tls: unknown public key algorithm")) + } + + return cert, nil +} + +// Attempt to parse the given private key DER block. OpenSSL 0.9.8 generates +// PKCS #1 private keys by default, while OpenSSL 1.0.0 generates PKCS #8 keys. +// OpenSSL ecparam generates SEC1 EC private keys for ECDSA. We try all three. +func parsePrivateKey(der []byte) (crypto.PrivateKey, error) { + if key, err := x509.ParsePKCS1PrivateKey(der); err == nil { + return key, nil + } + if key, err := x509.ParsePKCS8PrivateKey(der); err == nil { + switch key := key.(type) { + case *rsa.PrivateKey, *ecdsa.PrivateKey, ed25519.PrivateKey: + return key, nil + default: + return nil, errors.New("tls: found unknown private key type in PKCS#8 wrapping") + } + } + if key, err := x509.ParseECPrivateKey(der); err == nil { + return key, nil + } + + return nil, errors.New("tls: failed to parse private key") +} diff --git a/vendor/github.com/marten-seemann/qtls-go1-19/unsafe.go b/vendor/github.com/marten-seemann/qtls-go1-19/unsafe.go new file mode 100644 index 000000000..55fa01b3d --- /dev/null +++ b/vendor/github.com/marten-seemann/qtls-go1-19/unsafe.go @@ -0,0 +1,96 @@ +package qtls + +import ( + "crypto/tls" + "reflect" + "unsafe" +) + +func init() { + if !structsEqual(&tls.ConnectionState{}, &connectionState{}) { + panic("qtls.ConnectionState doesn't match") + } + if !structsEqual(&tls.ClientSessionState{}, &clientSessionState{}) { + panic("qtls.ClientSessionState doesn't match") + } + if !structsEqual(&tls.CertificateRequestInfo{}, &certificateRequestInfo{}) { + panic("qtls.CertificateRequestInfo doesn't match") + } + if !structsEqual(&tls.Config{}, &config{}) { + panic("qtls.Config doesn't match") + } + if !structsEqual(&tls.ClientHelloInfo{}, &clientHelloInfo{}) { + panic("qtls.ClientHelloInfo doesn't match") + } +} + +func toConnectionState(c connectionState) ConnectionState { + return *(*ConnectionState)(unsafe.Pointer(&c)) +} + +func toClientSessionState(s *clientSessionState) *ClientSessionState { + return (*ClientSessionState)(unsafe.Pointer(s)) +} + +func fromClientSessionState(s *ClientSessionState) *clientSessionState { + return (*clientSessionState)(unsafe.Pointer(s)) +} + +func toCertificateRequestInfo(i *certificateRequestInfo) *CertificateRequestInfo { + return (*CertificateRequestInfo)(unsafe.Pointer(i)) +} + +func toConfig(c *config) *Config { + return (*Config)(unsafe.Pointer(c)) +} + +func fromConfig(c *Config) *config { + return (*config)(unsafe.Pointer(c)) +} + +func toClientHelloInfo(chi *clientHelloInfo) *ClientHelloInfo { + return (*ClientHelloInfo)(unsafe.Pointer(chi)) +} + +func structsEqual(a, b interface{}) bool { + return compare(reflect.ValueOf(a), reflect.ValueOf(b)) +} + +func compare(a, b reflect.Value) bool { + sa := a.Elem() + sb := b.Elem() + if sa.NumField() != sb.NumField() { + return false + } + for i := 0; i < sa.NumField(); i++ { + fa := sa.Type().Field(i) + fb := sb.Type().Field(i) + if !reflect.DeepEqual(fa.Index, fb.Index) || fa.Name != fb.Name || fa.Anonymous != fb.Anonymous || fa.Offset != fb.Offset || !reflect.DeepEqual(fa.Type, fb.Type) { + if fa.Type.Kind() != fb.Type.Kind() { + return false + } + if fa.Type.Kind() == reflect.Slice { + if !compareStruct(fa.Type.Elem(), fb.Type.Elem()) { + return false + } + continue + } + return false + } + } + return true +} + +func compareStruct(a, b reflect.Type) bool { + if a.NumField() != b.NumField() { + return false + } + for i := 0; i < a.NumField(); i++ { + fa := a.Field(i) + fb := b.Field(i) + if !reflect.DeepEqual(fa.Index, fb.Index) || fa.Name != fb.Name || fa.Anonymous != fb.Anonymous || fa.Offset != fb.Offset || !reflect.DeepEqual(fa.Type, fb.Type) { + return false + } + } + return true +} diff --git a/vendor/github.com/mattn/go-sqlite3/.gitignore b/vendor/github.com/mattn/go-sqlite3/.gitignore new file mode 100644 index 000000000..fa0e6b581 --- /dev/null +++ b/vendor/github.com/mattn/go-sqlite3/.gitignore @@ -0,0 +1,14 @@ +*.db +*.exe +*.dll +*.o + +# VSCode +.vscode + +# Exclude from upgrade +upgrade/*.c +upgrade/*.h + +# Exclude upgrade binary +upgrade/upgrade diff --git a/vendor/github.com/mattn/go-sqlite3/.travis.yml b/vendor/github.com/mattn/go-sqlite3/.travis.yml new file mode 100644 index 000000000..5f3a754f0 --- /dev/null +++ b/vendor/github.com/mattn/go-sqlite3/.travis.yml @@ -0,0 +1,33 @@ +language: go + +os: + - linux + - osx + +addons: + apt: + update: true + +go: + - 1.9.x + - 1.10.x + - 1.11.x + - 1.12.x + - 1.13.x + - master + +before_install: + - | + if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then + brew update + fi + - go get github.com/smartystreets/goconvey + - go get github.com/mattn/goveralls + - go get golang.org/x/tools/cmd/cover + +script: + - $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx + - go test -race -v . -tags "" + - go test -race -v . -tags "libsqlite3" + - go test -race -v . -tags "sqlite_allow_uri_authority sqlite_app_armor sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_preupdate_hook sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_trace sqlite_userauth sqlite_vacuum_incr sqlite_vtable sqlite_unlock_notify" + - go test -race -v . -tags "sqlite_vacuum_full" diff --git a/vendor/github.com/libp2p/go-conn-security-multistream/LICENSE b/vendor/github.com/mattn/go-sqlite3/LICENSE similarity index 88% rename from vendor/github.com/libp2p/go-conn-security-multistream/LICENSE rename to vendor/github.com/mattn/go-sqlite3/LICENSE index 6cccfc2ba..ca458bb39 100644 --- a/vendor/github.com/libp2p/go-conn-security-multistream/LICENSE +++ b/vendor/github.com/mattn/go-sqlite3/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Protocol Labs +Copyright (c) 2014 Yasuhiro Matsumoto Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/vendor/github.com/mattn/go-sqlite3/README.md b/vendor/github.com/mattn/go-sqlite3/README.md new file mode 100644 index 000000000..162447114 --- /dev/null +++ b/vendor/github.com/mattn/go-sqlite3/README.md @@ -0,0 +1,570 @@ +go-sqlite3 +========== + +[![GoDoc Reference](https://godoc.org/github.com/mattn/go-sqlite3?status.svg)](http://godoc.org/github.com/mattn/go-sqlite3) +[![Build Status](https://travis-ci.org/mattn/go-sqlite3.svg?branch=master)](https://travis-ci.org/mattn/go-sqlite3) +[![Financial Contributors on Open Collective](https://opencollective.com/mattn-go-sqlite3/all/badge.svg?label=financial+contributors)](https://opencollective.com/mattn-go-sqlite3) +[![Coverage Status](https://coveralls.io/repos/mattn/go-sqlite3/badge.svg?branch=master)](https://coveralls.io/r/mattn/go-sqlite3?branch=master) +[![Go Report Card](https://goreportcard.com/badge/github.com/mattn/go-sqlite3)](https://goreportcard.com/report/github.com/mattn/go-sqlite3) + +# Description + +sqlite3 driver conforming to the built-in database/sql interface + +Supported Golang version: See .travis.yml + +[This package follows the official Golang Release Policy.](https://golang.org/doc/devel/release.html#policy) + +### Overview + +- [go-sqlite3](#go-sqlite3) +- [Description](#description) + - [Overview](#overview) +- [Installation](#installation) +- [API Reference](#api-reference) +- [Connection String](#connection-string) + - [DSN Examples](#dsn-examples) +- [Features](#features) + - [Usage](#usage) + - [Feature / Extension List](#feature--extension-list) +- [Compilation](#compilation) + - [Android](#android) +- [ARM](#arm) +- [Cross Compile](#cross-compile) +- [Google Cloud Platform](#google-cloud-platform) + - [Linux](#linux) + - [Alpine](#alpine) + - [Fedora](#fedora) + - [Ubuntu](#ubuntu) + - [Mac OSX](#mac-osx) + - [Windows](#windows) + - [Errors](#errors) +- [User Authentication](#user-authentication) + - [Compile](#compile) + - [Usage](#usage-1) + - [Create protected database](#create-protected-database) + - [Password Encoding](#password-encoding) + - [Available Encoders](#available-encoders) + - [Restrictions](#restrictions) + - [Support](#support) + - [User Management](#user-management) + - [SQL](#sql) + - [Examples](#examples) + - [*SQLiteConn](#sqliteconn) + - [Attached database](#attached-database) +- [Extensions](#extensions) + - [Spatialite](#spatialite) +- [FAQ](#faq) +- [License](#license) +- [Author](#author) + +# Installation + +This package can be installed with the go get command: + + go get github.com/mattn/go-sqlite3 + +_go-sqlite3_ is *cgo* package. +If you want to build your app using go-sqlite3, you need gcc. +However, after you have built and installed _go-sqlite3_ with `go install github.com/mattn/go-sqlite3` (which requires gcc), you can build your app without relying on gcc in future. + +***Important: because this is a `CGO` enabled package you are required to set the environment variable `CGO_ENABLED=1` and have a `gcc` compile present within your path.*** + +# API Reference + +API documentation can be found here: http://godoc.org/github.com/mattn/go-sqlite3 + +Examples can be found under the [examples](./_example) directory + +# Connection String + +When creating a new SQLite database or connection to an existing one, with the file name additional options can be given. +This is also known as a DSN string. (Data Source Name). + +Options are append after the filename of the SQLite database. +The database filename and options are seperated by an `?` (Question Mark). +Options should be URL-encoded (see [url.QueryEscape](https://golang.org/pkg/net/url/#QueryEscape)). + +This also applies when using an in-memory database instead of a file. + +Options can be given using the following format: `KEYWORD=VALUE` and multiple options can be combined with the `&` ampersand. + +This library supports dsn options of SQLite itself and provides additional options. + +Boolean values can be one of: +* `0` `no` `false` `off` +* `1` `yes` `true` `on` + +| Name | Key | Value(s) | Description | +|------|-----|----------|-------------| +| UA - Create | `_auth` | - | Create User Authentication, for more information see [User Authentication](#user-authentication) | +| UA - Username | `_auth_user` | `string` | Username for User Authentication, for more information see [User Authentication](#user-authentication) | +| UA - Password | `_auth_pass` | `string` | Password for User Authentication, for more information see [User Authentication](#user-authentication) | +| UA - Crypt | `_auth_crypt` |
  • SHA1
  • SSHA1
  • SHA256
  • SSHA256
  • SHA384
  • SSHA384
  • SHA512
  • SSHA512
| Password encoder to use for User Authentication, for more information see [User Authentication](#user-authentication) | +| UA - Salt | `_auth_salt` | `string` | Salt to use if the configure password encoder requires a salt, for User Authentication, for more information see [User Authentication](#user-authentication) | +| Auto Vacuum | `_auto_vacuum` \| `_vacuum` |
  • `0` \| `none`
  • `1` \| `full`
  • `2` \| `incremental`
| For more information see [PRAGMA auto_vacuum](https://www.sqlite.org/pragma.html#pragma_auto_vacuum) | +| Busy Timeout | `_busy_timeout` \| `_timeout` | `int` | Specify value for sqlite3_busy_timeout. For more information see [PRAGMA busy_timeout](https://www.sqlite.org/pragma.html#pragma_busy_timeout) | +| Case Sensitive LIKE | `_case_sensitive_like` \| `_cslike` | `boolean` | For more information see [PRAGMA case_sensitive_like](https://www.sqlite.org/pragma.html#pragma_case_sensitive_like) | +| Defer Foreign Keys | `_defer_foreign_keys` \| `_defer_fk` | `boolean` | For more information see [PRAGMA defer_foreign_keys](https://www.sqlite.org/pragma.html#pragma_defer_foreign_keys) | +| Foreign Keys | `_foreign_keys` \| `_fk` | `boolean` | For more information see [PRAGMA foreign_keys](https://www.sqlite.org/pragma.html#pragma_foreign_keys) | +| Ignore CHECK Constraints | `_ignore_check_constraints` | `boolean` | For more information see [PRAGMA ignore_check_constraints](https://www.sqlite.org/pragma.html#pragma_ignore_check_constraints) | +| Immutable | `immutable` | `boolean` | For more information see [Immutable](https://www.sqlite.org/c3ref/open.html) | +| Journal Mode | `_journal_mode` \| `_journal` |
  • DELETE
  • TRUNCATE
  • PERSIST
  • MEMORY
  • WAL
  • OFF
| For more information see [PRAGMA journal_mode](https://www.sqlite.org/pragma.html#pragma_journal_mode) | +| Locking Mode | `_locking_mode` \| `_locking` |
  • NORMAL
  • EXCLUSIVE
| For more information see [PRAGMA locking_mode](https://www.sqlite.org/pragma.html#pragma_locking_mode) | +| Mode | `mode` |
  • ro
  • rw
  • rwc
  • memory
| Access Mode of the database. For more information see [SQLite Open](https://www.sqlite.org/c3ref/open.html) | +| Mutex Locking | `_mutex` |
  • no
  • full
| Specify mutex mode. | +| Query Only | `_query_only` | `boolean` | For more information see [PRAGMA query_only](https://www.sqlite.org/pragma.html#pragma_query_only) | +| Recursive Triggers | `_recursive_triggers` \| `_rt` | `boolean` | For more information see [PRAGMA recursive_triggers](https://www.sqlite.org/pragma.html#pragma_recursive_triggers) | +| Secure Delete | `_secure_delete` | `boolean` \| `FAST` | For more information see [PRAGMA secure_delete](https://www.sqlite.org/pragma.html#pragma_secure_delete) | +| Shared-Cache Mode | `cache` |
  • shared
  • private
| Set cache mode for more information see [sqlite.org](https://www.sqlite.org/sharedcache.html) | +| Synchronous | `_synchronous` \| `_sync` |
  • 0 \| OFF
  • 1 \| NORMAL
  • 2 \| FULL
  • 3 \| EXTRA
| For more information see [PRAGMA synchronous](https://www.sqlite.org/pragma.html#pragma_synchronous) | +| Time Zone Location | `_loc` | auto | Specify location of time format. | +| Transaction Lock | `_txlock` |
  • immediate
  • deferred
  • exclusive
| Specify locking behavior for transactions. | +| Writable Schema | `_writable_schema` | `Boolean` | When this pragma is on, the SQLITE_MASTER tables in which database can be changed using ordinary UPDATE, INSERT, and DELETE statements. Warning: misuse of this pragma can easily result in a corrupt database file. | + +## DSN Examples + +``` +file:test.db?cache=shared&mode=memory +``` + +# Features + +This package allows additional configuration of features available within SQLite3 to be enabled or disabled by golang build constraints also known as build `tags`. + +[Click here for more information about build tags / constraints.](https://golang.org/pkg/go/build/#hdr-Build_Constraints) + +### Usage + +If you wish to build this library with additional extensions / features. +Use the following command. + +```bash +go build --tags "" +``` + +For available features see the extension list. +When using multiple build tags, all the different tags should be space delimted. + +Example: + +```bash +go build --tags "icu json1 fts5 secure_delete" +``` + +### Feature / Extension List + +| Extension | Build Tag | Description | +|-----------|-----------|-------------| +| Additional Statistics | sqlite_stat4 | This option adds additional logic to the ANALYZE command and to the query planner that can help SQLite to chose a better query plan under certain situations. The ANALYZE command is enhanced to collect histogram data from all columns of every index and store that data in the sqlite_stat4 table.

The query planner will then use the histogram data to help it make better index choices. The downside of this compile-time option is that it violates the query planner stability guarantee making it more difficult to ensure consistent performance in mass-produced applications.

SQLITE_ENABLE_STAT4 is an enhancement of SQLITE_ENABLE_STAT3. STAT3 only recorded histogram data for the left-most column of each index whereas the STAT4 enhancement records histogram data from all columns of each index.

The SQLITE_ENABLE_STAT3 compile-time option is a no-op and is ignored if the SQLITE_ENABLE_STAT4 compile-time option is used | +| Allow URI Authority | sqlite_allow_uri_authority | URI filenames normally throws an error if the authority section is not either empty or "localhost".

However, if SQLite is compiled with the SQLITE_ALLOW_URI_AUTHORITY compile-time option, then the URI is converted into a Uniform Naming Convention (UNC) filename and passed down to the underlying operating system that way | +| App Armor | sqlite_app_armor | When defined, this C-preprocessor macro activates extra code that attempts to detect misuse of the SQLite API, such as passing in NULL pointers to required parameters or using objects after they have been destroyed.

App Armor is not available under `Windows`. | +| Disable Load Extensions | sqlite_omit_load_extension | Loading of external extensions is enabled by default.

To disable extension loading add the build tag `sqlite_omit_load_extension`. | +| Foreign Keys | sqlite_foreign_keys | This macro determines whether enforcement of foreign key constraints is enabled or disabled by default for new database connections.

Each database connection can always turn enforcement of foreign key constraints on and off and run-time using the foreign_keys pragma.

Enforcement of foreign key constraints is normally off by default, but if this compile-time parameter is set to 1, enforcement of foreign key constraints will be on by default | +| Full Auto Vacuum | sqlite_vacuum_full | Set the default auto vacuum to full | +| Incremental Auto Vacuum | sqlite_vacuum_incr | Set the default auto vacuum to incremental | +| Full Text Search Engine | sqlite_fts5 | When this option is defined in the amalgamation, versions 5 of the full-text search engine (fts5) is added to the build automatically | +| International Components for Unicode | sqlite_icu | This option causes the International Components for Unicode or "ICU" extension to SQLite to be added to the build | +| Introspect PRAGMAS | sqlite_introspect | This option adds some extra PRAGMA statements.
  • PRAGMA function_list
  • PRAGMA module_list
  • PRAGMA pragma_list
| +| JSON SQL Functions | sqlite_json | When this option is defined in the amalgamation, the JSON SQL functions are added to the build automatically | +| Pre Update Hook | sqlite_preupdate_hook | Registers a callback function that is invoked prior to each INSERT, UPDATE, and DELETE operation on a database table. | +| Secure Delete | sqlite_secure_delete | This compile-time option changes the default setting of the secure_delete pragma.

When this option is not used, secure_delete defaults to off. When this option is present, secure_delete defaults to on.

The secure_delete setting causes deleted content to be overwritten with zeros. There is a small performance penalty since additional I/O must occur.

On the other hand, secure_delete can prevent fragments of sensitive information from lingering in unused parts of the database file after it has been deleted. See the documentation on the secure_delete pragma for additional information | +| Secure Delete (FAST) | sqlite_secure_delete_fast | For more information see [PRAGMA secure_delete](https://www.sqlite.org/pragma.html#pragma_secure_delete) | +| Tracing / Debug | sqlite_trace | Activate trace functions | +| User Authentication | sqlite_userauth | SQLite User Authentication see [User Authentication](#user-authentication) for more information. | + +# Compilation + +This package requires `CGO_ENABLED=1` ennvironment variable if not set by default, and the presence of the `gcc` compiler. + +If you need to add additional CFLAGS or LDFLAGS to the build command, and do not want to modify this package. Then this can be achieved by using the `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables. + +## Android + +This package can be compiled for android. +Compile with: + +```bash +go build --tags "android" +``` + +For more information see [#201](https://github.com/mattn/go-sqlite3/issues/201) + +# ARM + +To compile for `ARM` use the following environment. + +```bash +env CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ \ + CGO_ENABLED=1 GOOS=linux GOARCH=arm GOARM=7 \ + go build -v +``` + +Additional information: +- [#242](https://github.com/mattn/go-sqlite3/issues/242) +- [#504](https://github.com/mattn/go-sqlite3/issues/504) + +# Cross Compile + +This library can be cross-compiled. + +In some cases you are required to the `CC` environment variable with the cross compiler. + +Additional information: +- [#491](https://github.com/mattn/go-sqlite3/issues/491) +- [#560](https://github.com/mattn/go-sqlite3/issues/560) + +# Google Cloud Platform + +Building on GCP is not possible because Google Cloud Platform does not allow `gcc` to be executed. + +Please work only with compiled final binaries. + +## Linux + +To compile this package on Linux you must install the development tools for your linux distribution. + +To compile under linux use the build tag `linux`. + +```bash +go build --tags "linux" +``` + +If you wish to link directly to libsqlite3 then you can use the `libsqlite3` build tag. + +``` +go build --tags "libsqlite3 linux" +``` + +### Alpine + +When building in an `alpine` container run the following command before building. + +``` +apk add --update gcc musl-dev +``` + +### Fedora + +```bash +sudo yum groupinstall "Development Tools" "Development Libraries" +``` + +### Ubuntu + +```bash +sudo apt-get install build-essential +``` + +## Mac OSX + +OSX should have all the tools present to compile this package, if not install XCode this will add all the developers tools. + +Required dependency + +```bash +brew install sqlite3 +``` + +For OSX there is an additional package install which is required if you wish to build the `icu` extension. + +This additional package can be installed with `homebrew`. + +```bash +brew upgrade icu4c +``` + +To compile for Mac OSX. + +```bash +go build --tags "darwin" +``` + +If you wish to link directly to libsqlite3 then you can use the `libsqlite3` build tag. + +``` +go build --tags "libsqlite3 darwin" +``` + +Additional information: +- [#206](https://github.com/mattn/go-sqlite3/issues/206) +- [#404](https://github.com/mattn/go-sqlite3/issues/404) + +## Windows + +To compile this package on Windows OS you must have the `gcc` compiler installed. + +1) Install a Windows `gcc` toolchain. +2) Add the `bin` folders to the Windows path if the installer did not do this by default. +3) Open a terminal for the TDM-GCC toolchain, can be found in the Windows Start menu. +4) Navigate to your project folder and run the `go build ...` command for this package. + +For example the TDM-GCC Toolchain can be found [here](https://sourceforge.net/projects/tdm-gcc/). + +## Errors + +- Compile error: `can not be used when making a shared object; recompile with -fPIC` + + When receiving a compile time error referencing recompile with `-FPIC` then you + are probably using a hardend system. + + You can compile the library on a hardend system with the following command. + + ```bash + go build -ldflags '-extldflags=-fno-PIC' + ``` + + More details see [#120](https://github.com/mattn/go-sqlite3/issues/120) + +- Can't build go-sqlite3 on windows 64bit. + + > Probably, you are using go 1.0, go1.0 has a problem when it comes to compiling/linking on windows 64bit. + > See: [#27](https://github.com/mattn/go-sqlite3/issues/27) + +- `go get github.com/mattn/go-sqlite3` throws compilation error. + + `gcc` throws: `internal compiler error` + + Remove the download repository from your disk and try re-install with: + + ```bash + go install github.com/mattn/go-sqlite3 + ``` + +# User Authentication + +This package supports the SQLite User Authentication module. + +## Compile + +To use the User authentication module the package has to be compiled with the tag `sqlite_userauth`. See [Features](#features). + +## Usage + +### Create protected database + +To create a database protected by user authentication provide the following argument to the connection string `_auth`. +This will enable user authentication within the database. This option however requires two additional arguments: + +- `_auth_user` +- `_auth_pass` + +When `_auth` is present on the connection string user authentication will be enabled and the provided user will be created +as an `admin` user. After initial creation, the parameter `_auth` has no effect anymore and can be omitted from the connection string. + +Example connection string: + +Create an user authentication database with user `admin` and password `admin`. + +`file:test.s3db?_auth&_auth_user=admin&_auth_pass=admin` + +Create an user authentication database with user `admin` and password `admin` and use `SHA1` for the password encoding. + +`file:test.s3db?_auth&_auth_user=admin&_auth_pass=admin&_auth_crypt=sha1` + +### Password Encoding + +The passwords within the user authentication module of SQLite are encoded with the SQLite function `sqlite_cryp`. +This function uses a ceasar-cypher which is quite insecure. +This library provides several additional password encoders which can be configured through the connection string. + +The password cypher can be configured with the key `_auth_crypt`. And if the configured password encoder also requires an +salt this can be configured with `_auth_salt`. + +#### Available Encoders + +- SHA1 +- SSHA1 (Salted SHA1) +- SHA256 +- SSHA256 (salted SHA256) +- SHA384 +- SSHA384 (salted SHA384) +- SHA512 +- SSHA512 (salted SHA512) + +### Restrictions + +Operations on the database regarding to user management can only be preformed by an administrator user. + +### Support + +The user authentication supports two kinds of users + +- administrators +- regular users + +### User Management + +User management can be done by directly using the `*SQLiteConn` or by SQL. + +#### SQL + +The following sql functions are available for user management. + +| Function | Arguments | Description | +|----------|-----------|-------------| +| `authenticate` | username `string`, password `string` | Will authenticate an user, this is done by the connection; and should not be used manually. | +| `auth_user_add` | username `string`, password `string`, admin `int` | This function will add an user to the database.
if the database is not protected by user authentication it will enable it. Argument `admin` is an integer identifying if the added user should be an administrator. Only Administrators can add administrators. | +| `auth_user_change` | username `string`, password `string`, admin `int` | Function to modify an user. Users can change their own password, but only an administrator can change the administrator flag. | +| `authUserDelete` | username `string` | Delete an user from the database. Can only be used by an administrator. The current logged in administrator cannot be deleted. This is to make sure their is always an administrator remaining. | + +These functions will return an integer. + +- 0 (SQLITE_OK) +- 23 (SQLITE_AUTH) Failed to perform due to authentication or insufficient privileges + +##### Examples + +```sql +// Autheticate user +// Create Admin User +SELECT auth_user_add('admin2', 'admin2', 1); + +// Change password for user +SELECT auth_user_change('user', 'userpassword', 0); + +// Delete user +SELECT user_delete('user'); +``` + +#### *SQLiteConn + +The following functions are available for User authentication from the `*SQLiteConn`. + +| Function | Description | +|----------|-------------| +| `Authenticate(username, password string) error` | Authenticate user | +| `AuthUserAdd(username, password string, admin bool) error` | Add user | +| `AuthUserChange(username, password string, admin bool) error` | Modify user | +| `AuthUserDelete(username string) error` | Delete user | + +### Attached database + +When using attached databases. SQLite will use the authentication from the `main` database for the attached database(s). + +# Extensions + +If you want your own extension to be listed here or you want to add a reference to an extension; please submit an Issue for this. + +## Spatialite + +Spatialite is available as an extension to SQLite, and can be used in combination with this repository. +For an example see [shaxbee/go-spatialite](https://github.com/shaxbee/go-spatialite). + +# FAQ + +- Getting insert error while query is opened. + + > You can pass some arguments into the connection string, for example, a URI. + > See: [#39](https://github.com/mattn/go-sqlite3/issues/39) + +- Do you want to cross compile? mingw on Linux or Mac? + + > See: [#106](https://github.com/mattn/go-sqlite3/issues/106) + > See also: http://www.limitlessfx.com/cross-compile-golang-app-for-windows-from-linux.html + +- Want to get time.Time with current locale + + Use `_loc=auto` in SQLite3 filename schema like `file:foo.db?_loc=auto`. + +- Can I use this in multiple routines concurrently? + + Yes for readonly. But, No for writable. See [#50](https://github.com/mattn/go-sqlite3/issues/50), [#51](https://github.com/mattn/go-sqlite3/issues/51), [#209](https://github.com/mattn/go-sqlite3/issues/209), [#274](https://github.com/mattn/go-sqlite3/issues/274). + +- Why I'm getting `no such table` error? + + Why is it racy if I use a `sql.Open("sqlite3", ":memory:")` database? + + Each connection to `":memory:"` opens a brand new in-memory sql database, so if + the stdlib's sql engine happens to open another connection and you've only + specified `":memory:"`, that connection will see a brand new database. A + workaround is to use `"file::memory:?cache=shared"` (or `"file:foobar?mode=memory&cache=shared"`). Every + connection to this string will point to the same in-memory database. + + Note that if the last database connection in the pool closes, the in-memory database is deleted. Make sure the [max idle connection limit](https://golang.org/pkg/database/sql/#DB.SetMaxIdleConns) is > 0, and the [connection lifetime](https://golang.org/pkg/database/sql/#DB.SetConnMaxLifetime) is infinite. + + For more information see + * [#204](https://github.com/mattn/go-sqlite3/issues/204) + * [#511](https://github.com/mattn/go-sqlite3/issues/511) + * https://www.sqlite.org/sharedcache.html#shared_cache_and_in_memory_databases + * https://www.sqlite.org/inmemorydb.html#sharedmemdb + +- Reading from database with large amount of goroutines fails on OSX. + + OS X limits OS-wide to not have more than 1000 files open simultaneously by default. + + For more information see [#289](https://github.com/mattn/go-sqlite3/issues/289) + +- Trying to execute a `.` (dot) command throws an error. + + Error: `Error: near ".": syntax error` + Dot command are part of SQLite3 CLI not of this library. + + You need to implement the feature or call the sqlite3 cli. + + More information see [#305](https://github.com/mattn/go-sqlite3/issues/305) + +- Error: `database is locked` + + When you get a database is locked. Please use the following options. + + Add to DSN: `cache=shared` + + Example: + ```go + db, err := sql.Open("sqlite3", "file:locked.sqlite?cache=shared") + ``` + + Second please set the database connections of the SQL package to 1. + + ```go + db.SetMaxOpenConns(1) + ``` + + More information see [#209](https://github.com/mattn/go-sqlite3/issues/209) + +## Contributors + +### Code Contributors + +This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. + + +### Financial Contributors + +Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/mattn-go-sqlite3/contribute)] + +#### Individuals + + + +#### Organizations + +Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/mattn-go-sqlite3/contribute)] + + + + + + + + + + + + +# License + +MIT: http://mattn.mit-license.org/2018 + +sqlite3-binding.c, sqlite3-binding.h, sqlite3ext.h + +The -binding suffix was added to avoid build failures under gccgo. + +In this repository, those files are an amalgamation of code that was copied from SQLite3. The license of that code is the same as the license of SQLite3. + +# Author + +Yasuhiro Matsumoto (a.k.a mattn) + +G.J.R. Timmer diff --git a/vendor/github.com/mattn/go-sqlite3/_example/mod_regexp/sqlite3_mod_regexp.c b/vendor/github.com/mattn/go-sqlite3/_example/mod_regexp/sqlite3_mod_regexp.c new file mode 100644 index 000000000..277764dbc --- /dev/null +++ b/vendor/github.com/mattn/go-sqlite3/_example/mod_regexp/sqlite3_mod_regexp.c @@ -0,0 +1,31 @@ +#include +#include +#include +#include + +SQLITE_EXTENSION_INIT1 +static void regexp_func(sqlite3_context *context, int argc, sqlite3_value **argv) { + if (argc >= 2) { + const char *target = (const char *)sqlite3_value_text(argv[1]); + const char *pattern = (const char *)sqlite3_value_text(argv[0]); + const char* errstr = NULL; + int erroff = 0; + int vec[500]; + int n, rc; + pcre* re = pcre_compile(pattern, 0, &errstr, &erroff, NULL); + rc = pcre_exec(re, NULL, target, strlen(target), 0, 0, vec, 500); + if (rc <= 0) { + sqlite3_result_error(context, errstr, 0); + return; + } + sqlite3_result_int(context, 1); + } +} + +#ifdef _WIN32 +__declspec(dllexport) +#endif +int sqlite3_extension_init(sqlite3 *db, char **errmsg, const sqlite3_api_routines *api) { + SQLITE_EXTENSION_INIT2(api); + return sqlite3_create_function(db, "regexp", 2, SQLITE_UTF8, (void*)db, regexp_func, NULL, NULL); +} diff --git a/vendor/github.com/mattn/go-sqlite3/_example/mod_vtable/picojson.h b/vendor/github.com/mattn/go-sqlite3/_example/mod_vtable/picojson.h new file mode 100644 index 000000000..21426470d --- /dev/null +++ b/vendor/github.com/mattn/go-sqlite3/_example/mod_vtable/picojson.h @@ -0,0 +1,1040 @@ +/* + * Copyright 2009-2010 Cybozu Labs, Inc. + * Copyright 2011 Kazuho Oku + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY CYBOZU LABS, INC. ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + * EVENT SHALL CYBOZU LABS, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are + * those of the authors and should not be interpreted as representing official + * policies, either expressed or implied, of Cybozu Labs, Inc. + * + */ +#ifndef picojson_h +#define picojson_h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef _MSC_VER + #define SNPRINTF _snprintf_s + #pragma warning(push) + #pragma warning(disable : 4244) // conversion from int to char +#else + #define SNPRINTF snprintf +#endif + +namespace picojson { + + enum { + null_type, + boolean_type, + number_type, + string_type, + array_type, + object_type + }; + + struct null {}; + + class value { + public: + typedef std::vector array; + typedef std::map object; + union _storage { + bool boolean_; + double number_; + std::string* string_; + array* array_; + object* object_; + }; + protected: + int type_; + _storage u_; + public: + value(); + value(int type, bool); + explicit value(bool b); + explicit value(double n); + explicit value(const std::string& s); + explicit value(const array& a); + explicit value(const object& o); + explicit value(const char* s); + value(const char* s, size_t len); + ~value(); + value(const value& x); + value& operator=(const value& x); + void swap(value& x); + template bool is() const; + template const T& get() const; + template T& get(); + bool evaluate_as_boolean() const; + const value& get(size_t idx) const; + const value& get(const std::string& key) const; + bool contains(size_t idx) const; + bool contains(const std::string& key) const; + std::string to_str() const; + template void serialize(Iter os) const; + std::string serialize() const; + private: + template value(const T*); // intentionally defined to block implicit conversion of pointer to bool + }; + + typedef value::array array; + typedef value::object object; + + inline value::value() : type_(null_type) {} + + inline value::value(int type, bool) : type_(type) { + switch (type) { +#define INIT(p, v) case p##type: u_.p = v; break + INIT(boolean_, false); + INIT(number_, 0.0); + INIT(string_, new std::string()); + INIT(array_, new array()); + INIT(object_, new object()); +#undef INIT + default: break; + } + } + + inline value::value(bool b) : type_(boolean_type) { + u_.boolean_ = b; + } + + inline value::value(double n) : type_(number_type) { + u_.number_ = n; + } + + inline value::value(const std::string& s) : type_(string_type) { + u_.string_ = new std::string(s); + } + + inline value::value(const array& a) : type_(array_type) { + u_.array_ = new array(a); + } + + inline value::value(const object& o) : type_(object_type) { + u_.object_ = new object(o); + } + + inline value::value(const char* s) : type_(string_type) { + u_.string_ = new std::string(s); + } + + inline value::value(const char* s, size_t len) : type_(string_type) { + u_.string_ = new std::string(s, len); + } + + inline value::~value() { + switch (type_) { +#define DEINIT(p) case p##type: delete u_.p; break + DEINIT(string_); + DEINIT(array_); + DEINIT(object_); +#undef DEINIT + default: break; + } + } + + inline value::value(const value& x) : type_(x.type_) { + switch (type_) { +#define INIT(p, v) case p##type: u_.p = v; break + INIT(string_, new std::string(*x.u_.string_)); + INIT(array_, new array(*x.u_.array_)); + INIT(object_, new object(*x.u_.object_)); +#undef INIT + default: + u_ = x.u_; + break; + } + } + + inline value& value::operator=(const value& x) { + if (this != &x) { + this->~value(); + new (this) value(x); + } + return *this; + } + + inline void value::swap(value& x) { + std::swap(type_, x.type_); + std::swap(u_, x.u_); + } + +#define IS(ctype, jtype) \ + template <> inline bool value::is() const { \ + return type_ == jtype##_type; \ + } + IS(null, null) + IS(bool, boolean) + IS(int, number) + IS(double, number) + IS(std::string, string) + IS(array, array) + IS(object, object) +#undef IS + +#define GET(ctype, var) \ + template <> inline const ctype& value::get() const { \ + assert("type mismatch! call vis() before get()" \ + && is()); \ + return var; \ + } \ + template <> inline ctype& value::get() { \ + assert("type mismatch! call is() before get()" \ + && is()); \ + return var; \ + } + GET(bool, u_.boolean_) + GET(double, u_.number_) + GET(std::string, *u_.string_) + GET(array, *u_.array_) + GET(object, *u_.object_) +#undef GET + + inline bool value::evaluate_as_boolean() const { + switch (type_) { + case null_type: + return false; + case boolean_type: + return u_.boolean_; + case number_type: + return u_.number_ != 0; + case string_type: + return ! u_.string_->empty(); + default: + return true; + } + } + + inline const value& value::get(size_t idx) const { + static value s_null; + assert(is()); + return idx < u_.array_->size() ? (*u_.array_)[idx] : s_null; + } + + inline const value& value::get(const std::string& key) const { + static value s_null; + assert(is()); + object::const_iterator i = u_.object_->find(key); + return i != u_.object_->end() ? i->second : s_null; + } + + inline bool value::contains(size_t idx) const { + assert(is()); + return idx < u_.array_->size(); + } + + inline bool value::contains(const std::string& key) const { + assert(is()); + object::const_iterator i = u_.object_->find(key); + return i != u_.object_->end(); + } + + inline std::string value::to_str() const { + switch (type_) { + case null_type: return "null"; + case boolean_type: return u_.boolean_ ? "true" : "false"; + case number_type: { + char buf[256]; + double tmp; + SNPRINTF(buf, sizeof(buf), fabs(u_.number_) < (1ULL << 53) && modf(u_.number_, &tmp) == 0 ? "%.f" : "%.17g", u_.number_); + return buf; + } + case string_type: return *u_.string_; + case array_type: return "array"; + case object_type: return "object"; + default: assert(0); +#ifdef _MSC_VER + __assume(0); +#endif + } + return std::string(); + } + + template void copy(const std::string& s, Iter oi) { + std::copy(s.begin(), s.end(), oi); + } + + template void serialize_str(const std::string& s, Iter oi) { + *oi++ = '"'; + for (std::string::const_iterator i = s.begin(); i != s.end(); ++i) { + switch (*i) { +#define MAP(val, sym) case val: copy(sym, oi); break + MAP('"', "\\\""); + MAP('\\', "\\\\"); + MAP('/', "\\/"); + MAP('\b', "\\b"); + MAP('\f', "\\f"); + MAP('\n', "\\n"); + MAP('\r', "\\r"); + MAP('\t', "\\t"); +#undef MAP + default: + if ((unsigned char)*i < 0x20 || *i == 0x7f) { + char buf[7]; + SNPRINTF(buf, sizeof(buf), "\\u%04x", *i & 0xff); + copy(buf, buf + 6, oi); + } else { + *oi++ = *i; + } + break; + } + } + *oi++ = '"'; + } + + template void value::serialize(Iter oi) const { + switch (type_) { + case string_type: + serialize_str(*u_.string_, oi); + break; + case array_type: { + *oi++ = '['; + for (array::const_iterator i = u_.array_->begin(); + i != u_.array_->end(); + ++i) { + if (i != u_.array_->begin()) { + *oi++ = ','; + } + i->serialize(oi); + } + *oi++ = ']'; + break; + } + case object_type: { + *oi++ = '{'; + for (object::const_iterator i = u_.object_->begin(); + i != u_.object_->end(); + ++i) { + if (i != u_.object_->begin()) { + *oi++ = ','; + } + serialize_str(i->first, oi); + *oi++ = ':'; + i->second.serialize(oi); + } + *oi++ = '}'; + break; + } + default: + copy(to_str(), oi); + break; + } + } + + inline std::string value::serialize() const { + std::string s; + serialize(std::back_inserter(s)); + return s; + } + + template class input { + protected: + Iter cur_, end_; + int last_ch_; + bool ungot_; + int line_; + public: + input(const Iter& first, const Iter& last) : cur_(first), end_(last), last_ch_(-1), ungot_(false), line_(1) {} + int getc() { + if (ungot_) { + ungot_ = false; + return last_ch_; + } + if (cur_ == end_) { + last_ch_ = -1; + return -1; + } + if (last_ch_ == '\n') { + line_++; + } + last_ch_ = *cur_++ & 0xff; + return last_ch_; + } + void ungetc() { + if (last_ch_ != -1) { + assert(! ungot_); + ungot_ = true; + } + } + Iter cur() const { return cur_; } + int line() const { return line_; } + void skip_ws() { + while (1) { + int ch = getc(); + if (! (ch == ' ' || ch == '\t' || ch == '\n' || ch == '\r')) { + ungetc(); + break; + } + } + } + bool expect(int expect) { + skip_ws(); + if (getc() != expect) { + ungetc(); + return false; + } + return true; + } + bool match(const std::string& pattern) { + for (std::string::const_iterator pi(pattern.begin()); + pi != pattern.end(); + ++pi) { + if (getc() != *pi) { + ungetc(); + return false; + } + } + return true; + } + }; + + template inline int _parse_quadhex(input &in) { + int uni_ch = 0, hex; + for (int i = 0; i < 4; i++) { + if ((hex = in.getc()) == -1) { + return -1; + } + if ('0' <= hex && hex <= '9') { + hex -= '0'; + } else if ('A' <= hex && hex <= 'F') { + hex -= 'A' - 0xa; + } else if ('a' <= hex && hex <= 'f') { + hex -= 'a' - 0xa; + } else { + in.ungetc(); + return -1; + } + uni_ch = uni_ch * 16 + hex; + } + return uni_ch; + } + + template inline bool _parse_codepoint(String& out, input& in) { + int uni_ch; + if ((uni_ch = _parse_quadhex(in)) == -1) { + return false; + } + if (0xd800 <= uni_ch && uni_ch <= 0xdfff) { + if (0xdc00 <= uni_ch) { + // a second 16-bit of a surrogate pair appeared + return false; + } + // first 16-bit of surrogate pair, get the next one + if (in.getc() != '\\' || in.getc() != 'u') { + in.ungetc(); + return false; + } + int second = _parse_quadhex(in); + if (! (0xdc00 <= second && second <= 0xdfff)) { + return false; + } + uni_ch = ((uni_ch - 0xd800) << 10) | ((second - 0xdc00) & 0x3ff); + uni_ch += 0x10000; + } + if (uni_ch < 0x80) { + out.push_back(uni_ch); + } else { + if (uni_ch < 0x800) { + out.push_back(0xc0 | (uni_ch >> 6)); + } else { + if (uni_ch < 0x10000) { + out.push_back(0xe0 | (uni_ch >> 12)); + } else { + out.push_back(0xf0 | (uni_ch >> 18)); + out.push_back(0x80 | ((uni_ch >> 12) & 0x3f)); + } + out.push_back(0x80 | ((uni_ch >> 6) & 0x3f)); + } + out.push_back(0x80 | (uni_ch & 0x3f)); + } + return true; + } + + template inline bool _parse_string(String& out, input& in) { + while (1) { + int ch = in.getc(); + if (ch < ' ') { + in.ungetc(); + return false; + } else if (ch == '"') { + return true; + } else if (ch == '\\') { + if ((ch = in.getc()) == -1) { + return false; + } + switch (ch) { +#define MAP(sym, val) case sym: out.push_back(val); break + MAP('"', '\"'); + MAP('\\', '\\'); + MAP('/', '/'); + MAP('b', '\b'); + MAP('f', '\f'); + MAP('n', '\n'); + MAP('r', '\r'); + MAP('t', '\t'); +#undef MAP + case 'u': + if (! _parse_codepoint(out, in)) { + return false; + } + break; + default: + return false; + } + } else { + out.push_back(ch); + } + } + return false; + } + + template inline bool _parse_array(Context& ctx, input& in) { + if (! ctx.parse_array_start()) { + return false; + } + size_t idx = 0; + if (in.expect(']')) { + return ctx.parse_array_stop(idx); + } + do { + if (! ctx.parse_array_item(in, idx)) { + return false; + } + idx++; + } while (in.expect(',')); + return in.expect(']') && ctx.parse_array_stop(idx); + } + + template inline bool _parse_object(Context& ctx, input& in) { + if (! ctx.parse_object_start()) { + return false; + } + if (in.expect('}')) { + return true; + } + do { + std::string key; + if (! in.expect('"') + || ! _parse_string(key, in) + || ! in.expect(':')) { + return false; + } + if (! ctx.parse_object_item(in, key)) { + return false; + } + } while (in.expect(',')); + return in.expect('}'); + } + + template inline bool _parse_number(double& out, input& in) { + std::string num_str; + while (1) { + int ch = in.getc(); + if (('0' <= ch && ch <= '9') || ch == '+' || ch == '-' || ch == '.' + || ch == 'e' || ch == 'E') { + num_str.push_back(ch); + } else { + in.ungetc(); + break; + } + } + char* endp; + out = strtod(num_str.c_str(), &endp); + return endp == num_str.c_str() + num_str.size(); + } + + template inline bool _parse(Context& ctx, input& in) { + in.skip_ws(); + int ch = in.getc(); + switch (ch) { +#define IS(ch, text, op) case ch: \ + if (in.match(text) && op) { \ + return true; \ + } else { \ + return false; \ + } + IS('n', "ull", ctx.set_null()); + IS('f', "alse", ctx.set_bool(false)); + IS('t', "rue", ctx.set_bool(true)); +#undef IS + case '"': + return ctx.parse_string(in); + case '[': + return _parse_array(ctx, in); + case '{': + return _parse_object(ctx, in); + default: + if (('0' <= ch && ch <= '9') || ch == '-') { + in.ungetc(); + double f; + if (_parse_number(f, in)) { + ctx.set_number(f); + return true; + } else { + return false; + } + } + break; + } + in.ungetc(); + return false; + } + + class deny_parse_context { + public: + bool set_null() { return false; } + bool set_bool(bool) { return false; } + bool set_number(double) { return false; } + template bool parse_string(input&) { return false; } + bool parse_array_start() { return false; } + template bool parse_array_item(input&, size_t) { + return false; + } + bool parse_array_stop(size_t) { return false; } + bool parse_object_start() { return false; } + template bool parse_object_item(input&, const std::string&) { + return false; + } + }; + + class default_parse_context { + protected: + value* out_; + public: + default_parse_context(value* out) : out_(out) {} + bool set_null() { + *out_ = value(); + return true; + } + bool set_bool(bool b) { + *out_ = value(b); + return true; + } + bool set_number(double f) { + *out_ = value(f); + return true; + } + template bool parse_string(input& in) { + *out_ = value(string_type, false); + return _parse_string(out_->get(), in); + } + bool parse_array_start() { + *out_ = value(array_type, false); + return true; + } + template bool parse_array_item(input& in, size_t) { + array& a = out_->get(); + a.push_back(value()); + default_parse_context ctx(&a.back()); + return _parse(ctx, in); + } + bool parse_array_stop(size_t) { return true; } + bool parse_object_start() { + *out_ = value(object_type, false); + return true; + } + template bool parse_object_item(input& in, const std::string& key) { + object& o = out_->get(); + default_parse_context ctx(&o[key]); + return _parse(ctx, in); + } + private: + default_parse_context(const default_parse_context&); + default_parse_context& operator=(const default_parse_context&); + }; + + class null_parse_context { + public: + struct dummy_str { + void push_back(int) {} + }; + public: + null_parse_context() {} + bool set_null() { return true; } + bool set_bool(bool) { return true; } + bool set_number(double) { return true; } + template bool parse_string(input& in) { + dummy_str s; + return _parse_string(s, in); + } + bool parse_array_start() { return true; } + template bool parse_array_item(input& in, size_t) { + return _parse(*this, in); + } + bool parse_array_stop(size_t) { return true; } + bool parse_object_start() { return true; } + template bool parse_object_item(input& in, const std::string&) { + return _parse(*this, in); + } + private: + null_parse_context(const null_parse_context&); + null_parse_context& operator=(const null_parse_context&); + }; + + // obsolete, use the version below + template inline std::string parse(value& out, Iter& pos, const Iter& last) { + std::string err; + pos = parse(out, pos, last, &err); + return err; + } + + template inline Iter _parse(Context& ctx, const Iter& first, const Iter& last, std::string* err) { + input in(first, last); + if (! _parse(ctx, in) && err != NULL) { + char buf[64]; + SNPRINTF(buf, sizeof(buf), "syntax error at line %d near: ", in.line()); + *err = buf; + while (1) { + int ch = in.getc(); + if (ch == -1 || ch == '\n') { + break; + } else if (ch >= ' ') { + err->push_back(ch); + } + } + } + return in.cur(); + } + + template inline Iter parse(value& out, const Iter& first, const Iter& last, std::string* err) { + default_parse_context ctx(&out); + return _parse(ctx, first, last, err); + } + + inline std::string parse(value& out, std::istream& is) { + std::string err; + parse(out, std::istreambuf_iterator(is.rdbuf()), + std::istreambuf_iterator(), &err); + return err; + } + + template struct last_error_t { + static std::string s; + }; + template std::string last_error_t::s; + + inline void set_last_error(const std::string& s) { + last_error_t::s = s; + } + + inline const std::string& get_last_error() { + return last_error_t::s; + } + + inline bool operator==(const value& x, const value& y) { + if (x.is()) + return y.is(); +#define PICOJSON_CMP(type) \ + if (x.is()) \ + return y.is() && x.get() == y.get() + PICOJSON_CMP(bool); + PICOJSON_CMP(double); + PICOJSON_CMP(std::string); + PICOJSON_CMP(array); + PICOJSON_CMP(object); +#undef PICOJSON_CMP + assert(0); +#ifdef _MSC_VER + __assume(0); +#endif + return false; + } + + inline bool operator!=(const value& x, const value& y) { + return ! (x == y); + } +} + +namespace std { + template<> inline void swap(picojson::value& x, picojson::value& y) + { + x.swap(y); + } +} + +inline std::istream& operator>>(std::istream& is, picojson::value& x) +{ + picojson::set_last_error(std::string()); + std::string err = picojson::parse(x, is); + if (! err.empty()) { + picojson::set_last_error(err); + is.setstate(std::ios::failbit); + } + return is; +} + +inline std::ostream& operator<<(std::ostream& os, const picojson::value& x) +{ + x.serialize(std::ostream_iterator(os)); + return os; +} +#ifdef _MSC_VER + #pragma warning(pop) +#endif + +#endif +#ifdef TEST_PICOJSON +#ifdef _MSC_VER + #pragma warning(disable : 4127) // conditional expression is constant +#endif + +using namespace std; + +static void plan(int num) +{ + printf("1..%d\n", num); +} + +static bool success = true; + +static void ok(bool b, const char* name = "") +{ + static int n = 1; + if (! b) + success = false; + printf("%s %d - %s\n", b ? "ok" : "ng", n++, name); +} + +template void is(const T& x, const T& y, const char* name = "") +{ + if (x == y) { + ok(true, name); + } else { + ok(false, name); + } +} + +#include +#include +#include +#include + +int main(void) +{ + plan(85); + + // constructors +#define TEST(expr, expected) \ + is(picojson::value expr .serialize(), string(expected), "picojson::value" #expr) + + TEST( (true), "true"); + TEST( (false), "false"); + TEST( (42.0), "42"); + TEST( (string("hello")), "\"hello\""); + TEST( ("hello"), "\"hello\""); + TEST( ("hello", 4), "\"hell\""); + + { + double a = 1; + for (int i = 0; i < 1024; i++) { + picojson::value vi(a); + std::stringstream ss; + ss << vi; + picojson::value vo; + ss >> vo; + double b = vo.get(); + if ((i < 53 && a != b) || fabs(a - b) / b > 1e-8) { + printf("ng i=%d a=%.18e b=%.18e\n", i, a, b); + } + a *= 2; + } + } + +#undef TEST + +#define TEST(in, type, cmp, serialize_test) { \ + picojson::value v; \ + const char* s = in; \ + string err = picojson::parse(v, s, s + strlen(s)); \ + ok(err.empty(), in " no error"); \ + ok(v.is(), in " check type"); \ + is(v.get(), cmp, in " correct output"); \ + is(*s, '\0', in " read to eof"); \ + if (serialize_test) { \ + is(v.serialize(), string(in), in " serialize"); \ + } \ + } + TEST("false", bool, false, true); + TEST("true", bool, true, true); + TEST("90.5", double, 90.5, false); + TEST("1.7976931348623157e+308", double, DBL_MAX, false); + TEST("\"hello\"", string, string("hello"), true); + TEST("\"\\\"\\\\\\/\\b\\f\\n\\r\\t\"", string, string("\"\\/\b\f\n\r\t"), + true); + TEST("\"\\u0061\\u30af\\u30ea\\u30b9\"", string, + string("a\xe3\x82\xaf\xe3\x83\xaa\xe3\x82\xb9"), false); + TEST("\"\\ud840\\udc0b\"", string, string("\xf0\xa0\x80\x8b"), false); +#undef TEST + +#define TEST(type, expr) { \ + picojson::value v; \ + const char *s = expr; \ + string err = picojson::parse(v, s, s + strlen(s)); \ + ok(err.empty(), "empty " #type " no error"); \ + ok(v.is(), "empty " #type " check type"); \ + ok(v.get().empty(), "check " #type " array size"); \ + } + TEST(array, "[]"); + TEST(object, "{}"); +#undef TEST + + { + picojson::value v; + const char *s = "[1,true,\"hello\"]"; + string err = picojson::parse(v, s, s + strlen(s)); + ok(err.empty(), "array no error"); + ok(v.is(), "array check type"); + is(v.get().size(), size_t(3), "check array size"); + ok(v.contains(0), "check contains array[0]"); + ok(v.get(0).is(), "check array[0] type"); + is(v.get(0).get(), 1.0, "check array[0] value"); + ok(v.contains(1), "check contains array[1]"); + ok(v.get(1).is(), "check array[1] type"); + ok(v.get(1).get(), "check array[1] value"); + ok(v.contains(2), "check contains array[2]"); + ok(v.get(2).is(), "check array[2] type"); + is(v.get(2).get(), string("hello"), "check array[2] value"); + ok(!v.contains(3), "check not contains array[3]"); + } + + { + picojson::value v; + const char *s = "{ \"a\": true }"; + string err = picojson::parse(v, s, s + strlen(s)); + ok(err.empty(), "object no error"); + ok(v.is(), "object check type"); + is(v.get().size(), size_t(1), "check object size"); + ok(v.contains("a"), "check contains property"); + ok(v.get("a").is(), "check bool property exists"); + is(v.get("a").get(), true, "check bool property value"); + is(v.serialize(), string("{\"a\":true}"), "serialize object"); + ok(!v.contains("z"), "check not contains property"); + } + +#define TEST(json, msg) do { \ + picojson::value v; \ + const char *s = json; \ + string err = picojson::parse(v, s, s + strlen(s)); \ + is(err, string("syntax error at line " msg), msg); \ + } while (0) + TEST("falsoa", "1 near: oa"); + TEST("{]", "1 near: ]"); + TEST("\n\bbell", "2 near: bell"); + TEST("\"abc\nd\"", "1 near: "); +#undef TEST + + { + picojson::value v1, v2; + const char *s; + string err; + s = "{ \"b\": true, \"a\": [1,2,\"three\"], \"d\": 2 }"; + err = picojson::parse(v1, s, s + strlen(s)); + s = "{ \"d\": 2.0, \"b\": true, \"a\": [1,2,\"three\"] }"; + err = picojson::parse(v2, s, s + strlen(s)); + ok((v1 == v2), "check == operator in deep comparison"); + } + + { + picojson::value v1, v2; + const char *s; + string err; + s = "{ \"b\": true, \"a\": [1,2,\"three\"], \"d\": 2 }"; + err = picojson::parse(v1, s, s + strlen(s)); + s = "{ \"d\": 2.0, \"a\": [1,\"three\"], \"b\": true }"; + err = picojson::parse(v2, s, s + strlen(s)); + ok((v1 != v2), "check != operator for array in deep comparison"); + } + + { + picojson::value v1, v2; + const char *s; + string err; + s = "{ \"b\": true, \"a\": [1,2,\"three\"], \"d\": 2 }"; + err = picojson::parse(v1, s, s + strlen(s)); + s = "{ \"d\": 2.0, \"a\": [1,2,\"three\"], \"b\": false }"; + err = picojson::parse(v2, s, s + strlen(s)); + ok((v1 != v2), "check != operator for object in deep comparison"); + } + + { + picojson::value v1, v2; + const char *s; + string err; + s = "{ \"b\": true, \"a\": [1,2,\"three\"], \"d\": 2 }"; + err = picojson::parse(v1, s, s + strlen(s)); + picojson::object& o = v1.get(); + o.erase("b"); + picojson::array& a = o["a"].get(); + picojson::array::iterator i; + i = std::remove(a.begin(), a.end(), picojson::value(std::string("three"))); + a.erase(i, a.end()); + s = "{ \"a\": [1,2], \"d\": 2 }"; + err = picojson::parse(v2, s, s + strlen(s)); + ok((v1 == v2), "check erase()"); + } + + ok(picojson::value(3.0).serialize() == "3", + "integral number should be serialized as a integer"); + + { + const char* s = "{ \"a\": [1,2], \"d\": 2 }"; + picojson::null_parse_context ctx; + string err; + picojson::_parse(ctx, s, s + strlen(s), &err); + ok(err.empty(), "null_parse_context"); + } + + { + picojson::value v1, v2; + v1 = picojson::value(true); + swap(v1, v2); + ok(v1.is(), "swap (null)"); + ok(v2.get() == true, "swap (bool)"); + + v1 = picojson::value("a"); + v2 = picojson::value(1.0); + swap(v1, v2); + ok(v1.get() == 1.0, "swap (dobule)"); + ok(v2.get() == "a", "swap (string)"); + + v1 = picojson::value(picojson::object()); + v2 = picojson::value(picojson::array()); + swap(v1, v2); + ok(v1.is(), "swap (array)"); + ok(v2.is(), "swap (object)"); + } + + return success ? 0 : 1; +} + +#endif diff --git a/vendor/github.com/mattn/go-sqlite3/backup.go b/vendor/github.com/mattn/go-sqlite3/backup.go new file mode 100644 index 000000000..e222cc888 --- /dev/null +++ b/vendor/github.com/mattn/go-sqlite3/backup.go @@ -0,0 +1,85 @@ +// Copyright (C) 2019 Yasuhiro Matsumoto . +// +// Use of this source code is governed by an MIT-style +// license that can be found in the LICENSE file. + +package sqlite3 + +/* +#ifndef USE_LIBSQLITE3 +#include +#else +#include +#endif +#include +*/ +import "C" +import ( + "runtime" + "unsafe" +) + +// SQLiteBackup implement interface of Backup. +type SQLiteBackup struct { + b *C.sqlite3_backup +} + +// Backup make backup from src to dest. +func (destConn *SQLiteConn) Backup(dest string, srcConn *SQLiteConn, src string) (*SQLiteBackup, error) { + destptr := C.CString(dest) + defer C.free(unsafe.Pointer(destptr)) + srcptr := C.CString(src) + defer C.free(unsafe.Pointer(srcptr)) + + if b := C.sqlite3_backup_init(destConn.db, destptr, srcConn.db, srcptr); b != nil { + bb := &SQLiteBackup{b: b} + runtime.SetFinalizer(bb, (*SQLiteBackup).Finish) + return bb, nil + } + return nil, destConn.lastError() +} + +// Step to backs up for one step. Calls the underlying `sqlite3_backup_step` +// function. This function returns a boolean indicating if the backup is done +// and an error signalling any other error. Done is returned if the underlying +// C function returns SQLITE_DONE (Code 101) +func (b *SQLiteBackup) Step(p int) (bool, error) { + ret := C.sqlite3_backup_step(b.b, C.int(p)) + if ret == C.SQLITE_DONE { + return true, nil + } else if ret != 0 && ret != C.SQLITE_LOCKED && ret != C.SQLITE_BUSY { + return false, Error{Code: ErrNo(ret)} + } + return false, nil +} + +// Remaining return whether have the rest for backup. +func (b *SQLiteBackup) Remaining() int { + return int(C.sqlite3_backup_remaining(b.b)) +} + +// PageCount return count of pages. +func (b *SQLiteBackup) PageCount() int { + return int(C.sqlite3_backup_pagecount(b.b)) +} + +// Finish close backup. +func (b *SQLiteBackup) Finish() error { + return b.Close() +} + +// Close close backup. +func (b *SQLiteBackup) Close() error { + ret := C.sqlite3_backup_finish(b.b) + + // sqlite3_backup_finish() never fails, it just returns the + // error code from previous operations, so clean up before + // checking and returning an error + b.b = nil + runtime.SetFinalizer(b, nil) + + if ret != 0 { + return Error{Code: ErrNo(ret)} + } + return nil +} diff --git a/vendor/github.com/mattn/go-sqlite3/callback.go b/vendor/github.com/mattn/go-sqlite3/callback.go new file mode 100644 index 000000000..64505751a --- /dev/null +++ b/vendor/github.com/mattn/go-sqlite3/callback.go @@ -0,0 +1,398 @@ +// Copyright (C) 2019 Yasuhiro Matsumoto . +// +// Use of this source code is governed by an MIT-style +// license that can be found in the LICENSE file. + +package sqlite3 + +// You can't export a Go function to C and have definitions in the C +// preamble in the same file, so we have to have callbackTrampoline in +// its own file. Because we need a separate file anyway, the support +// code for SQLite custom functions is in here. + +/* +#ifndef USE_LIBSQLITE3 +#include +#else +#include +#endif +#include + +void _sqlite3_result_text(sqlite3_context* ctx, const char* s); +void _sqlite3_result_blob(sqlite3_context* ctx, const void* b, int l); +*/ +import "C" + +import ( + "errors" + "fmt" + "math" + "reflect" + "sync" + "unsafe" +) + +//export callbackTrampoline +func callbackTrampoline(ctx *C.sqlite3_context, argc int, argv **C.sqlite3_value) { + args := (*[(math.MaxInt32 - 1) / unsafe.Sizeof((*C.sqlite3_value)(nil))]*C.sqlite3_value)(unsafe.Pointer(argv))[:argc:argc] + fi := lookupHandle(uintptr(C.sqlite3_user_data(ctx))).(*functionInfo) + fi.Call(ctx, args) +} + +//export stepTrampoline +func stepTrampoline(ctx *C.sqlite3_context, argc C.int, argv **C.sqlite3_value) { + args := (*[(math.MaxInt32 - 1) / unsafe.Sizeof((*C.sqlite3_value)(nil))]*C.sqlite3_value)(unsafe.Pointer(argv))[:int(argc):int(argc)] + ai := lookupHandle(uintptr(C.sqlite3_user_data(ctx))).(*aggInfo) + ai.Step(ctx, args) +} + +//export doneTrampoline +func doneTrampoline(ctx *C.sqlite3_context) { + handle := uintptr(C.sqlite3_user_data(ctx)) + ai := lookupHandle(handle).(*aggInfo) + ai.Done(ctx) +} + +//export compareTrampoline +func compareTrampoline(handlePtr uintptr, la C.int, a *C.char, lb C.int, b *C.char) C.int { + cmp := lookupHandle(handlePtr).(func(string, string) int) + return C.int(cmp(C.GoStringN(a, la), C.GoStringN(b, lb))) +} + +//export commitHookTrampoline +func commitHookTrampoline(handle uintptr) int { + callback := lookupHandle(handle).(func() int) + return callback() +} + +//export rollbackHookTrampoline +func rollbackHookTrampoline(handle uintptr) { + callback := lookupHandle(handle).(func()) + callback() +} + +//export updateHookTrampoline +func updateHookTrampoline(handle uintptr, op int, db *C.char, table *C.char, rowid int64) { + callback := lookupHandle(handle).(func(int, string, string, int64)) + callback(op, C.GoString(db), C.GoString(table), rowid) +} + +//export authorizerTrampoline +func authorizerTrampoline(handle uintptr, op int, arg1 *C.char, arg2 *C.char, arg3 *C.char) int { + callback := lookupHandle(handle).(func(int, string, string, string) int) + return callback(op, C.GoString(arg1), C.GoString(arg2), C.GoString(arg3)) +} + +//export preUpdateHookTrampoline +func preUpdateHookTrampoline(handle uintptr, dbHandle uintptr, op int, db *C.char, table *C.char, oldrowid int64, newrowid int64) { + hval := lookupHandleVal(handle) + data := SQLitePreUpdateData{ + Conn: hval.db, + Op: op, + DatabaseName: C.GoString(db), + TableName: C.GoString(table), + OldRowID: oldrowid, + NewRowID: newrowid, + } + callback := hval.val.(func(SQLitePreUpdateData)) + callback(data) +} + +// Use handles to avoid passing Go pointers to C. +type handleVal struct { + db *SQLiteConn + val interface{} +} + +var handleLock sync.Mutex +var handleVals = make(map[uintptr]handleVal) +var handleIndex uintptr = 100 + +func newHandle(db *SQLiteConn, v interface{}) uintptr { + handleLock.Lock() + defer handleLock.Unlock() + i := handleIndex + handleIndex++ + handleVals[i] = handleVal{db, v} + return i +} + +func lookupHandleVal(handle uintptr) handleVal { + handleLock.Lock() + defer handleLock.Unlock() + r, ok := handleVals[handle] + if !ok { + if handle >= 100 && handle < handleIndex { + panic("deleted handle") + } else { + panic("invalid handle") + } + } + return r +} + +func lookupHandle(handle uintptr) interface{} { + return lookupHandleVal(handle).val +} + +func deleteHandles(db *SQLiteConn) { + handleLock.Lock() + defer handleLock.Unlock() + for handle, val := range handleVals { + if val.db == db { + delete(handleVals, handle) + } + } +} + +// This is only here so that tests can refer to it. +type callbackArgRaw C.sqlite3_value + +type callbackArgConverter func(*C.sqlite3_value) (reflect.Value, error) + +type callbackArgCast struct { + f callbackArgConverter + typ reflect.Type +} + +func (c callbackArgCast) Run(v *C.sqlite3_value) (reflect.Value, error) { + val, err := c.f(v) + if err != nil { + return reflect.Value{}, err + } + if !val.Type().ConvertibleTo(c.typ) { + return reflect.Value{}, fmt.Errorf("cannot convert %s to %s", val.Type(), c.typ) + } + return val.Convert(c.typ), nil +} + +func callbackArgInt64(v *C.sqlite3_value) (reflect.Value, error) { + if C.sqlite3_value_type(v) != C.SQLITE_INTEGER { + return reflect.Value{}, fmt.Errorf("argument must be an INTEGER") + } + return reflect.ValueOf(int64(C.sqlite3_value_int64(v))), nil +} + +func callbackArgBool(v *C.sqlite3_value) (reflect.Value, error) { + if C.sqlite3_value_type(v) != C.SQLITE_INTEGER { + return reflect.Value{}, fmt.Errorf("argument must be an INTEGER") + } + i := int64(C.sqlite3_value_int64(v)) + val := false + if i != 0 { + val = true + } + return reflect.ValueOf(val), nil +} + +func callbackArgFloat64(v *C.sqlite3_value) (reflect.Value, error) { + if C.sqlite3_value_type(v) != C.SQLITE_FLOAT { + return reflect.Value{}, fmt.Errorf("argument must be a FLOAT") + } + return reflect.ValueOf(float64(C.sqlite3_value_double(v))), nil +} + +func callbackArgBytes(v *C.sqlite3_value) (reflect.Value, error) { + switch C.sqlite3_value_type(v) { + case C.SQLITE_BLOB: + l := C.sqlite3_value_bytes(v) + p := C.sqlite3_value_blob(v) + return reflect.ValueOf(C.GoBytes(p, l)), nil + case C.SQLITE_TEXT: + l := C.sqlite3_value_bytes(v) + c := unsafe.Pointer(C.sqlite3_value_text(v)) + return reflect.ValueOf(C.GoBytes(c, l)), nil + default: + return reflect.Value{}, fmt.Errorf("argument must be BLOB or TEXT") + } +} + +func callbackArgString(v *C.sqlite3_value) (reflect.Value, error) { + switch C.sqlite3_value_type(v) { + case C.SQLITE_BLOB: + l := C.sqlite3_value_bytes(v) + p := (*C.char)(C.sqlite3_value_blob(v)) + return reflect.ValueOf(C.GoStringN(p, l)), nil + case C.SQLITE_TEXT: + c := (*C.char)(unsafe.Pointer(C.sqlite3_value_text(v))) + return reflect.ValueOf(C.GoString(c)), nil + default: + return reflect.Value{}, fmt.Errorf("argument must be BLOB or TEXT") + } +} + +func callbackArgGeneric(v *C.sqlite3_value) (reflect.Value, error) { + switch C.sqlite3_value_type(v) { + case C.SQLITE_INTEGER: + return callbackArgInt64(v) + case C.SQLITE_FLOAT: + return callbackArgFloat64(v) + case C.SQLITE_TEXT: + return callbackArgString(v) + case C.SQLITE_BLOB: + return callbackArgBytes(v) + case C.SQLITE_NULL: + // Interpret NULL as a nil byte slice. + var ret []byte + return reflect.ValueOf(ret), nil + default: + panic("unreachable") + } +} + +func callbackArg(typ reflect.Type) (callbackArgConverter, error) { + switch typ.Kind() { + case reflect.Interface: + if typ.NumMethod() != 0 { + return nil, errors.New("the only supported interface type is interface{}") + } + return callbackArgGeneric, nil + case reflect.Slice: + if typ.Elem().Kind() != reflect.Uint8 { + return nil, errors.New("the only supported slice type is []byte") + } + return callbackArgBytes, nil + case reflect.String: + return callbackArgString, nil + case reflect.Bool: + return callbackArgBool, nil + case reflect.Int64: + return callbackArgInt64, nil + case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Int, reflect.Uint: + c := callbackArgCast{callbackArgInt64, typ} + return c.Run, nil + case reflect.Float64: + return callbackArgFloat64, nil + case reflect.Float32: + c := callbackArgCast{callbackArgFloat64, typ} + return c.Run, nil + default: + return nil, fmt.Errorf("don't know how to convert to %s", typ) + } +} + +func callbackConvertArgs(argv []*C.sqlite3_value, converters []callbackArgConverter, variadic callbackArgConverter) ([]reflect.Value, error) { + var args []reflect.Value + + if len(argv) < len(converters) { + return nil, fmt.Errorf("function requires at least %d arguments", len(converters)) + } + + for i, arg := range argv[:len(converters)] { + v, err := converters[i](arg) + if err != nil { + return nil, err + } + args = append(args, v) + } + + if variadic != nil { + for _, arg := range argv[len(converters):] { + v, err := variadic(arg) + if err != nil { + return nil, err + } + args = append(args, v) + } + } + return args, nil +} + +type callbackRetConverter func(*C.sqlite3_context, reflect.Value) error + +func callbackRetInteger(ctx *C.sqlite3_context, v reflect.Value) error { + switch v.Type().Kind() { + case reflect.Int64: + case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Int, reflect.Uint: + v = v.Convert(reflect.TypeOf(int64(0))) + case reflect.Bool: + b := v.Interface().(bool) + if b { + v = reflect.ValueOf(int64(1)) + } else { + v = reflect.ValueOf(int64(0)) + } + default: + return fmt.Errorf("cannot convert %s to INTEGER", v.Type()) + } + + C.sqlite3_result_int64(ctx, C.sqlite3_int64(v.Interface().(int64))) + return nil +} + +func callbackRetFloat(ctx *C.sqlite3_context, v reflect.Value) error { + switch v.Type().Kind() { + case reflect.Float64: + case reflect.Float32: + v = v.Convert(reflect.TypeOf(float64(0))) + default: + return fmt.Errorf("cannot convert %s to FLOAT", v.Type()) + } + + C.sqlite3_result_double(ctx, C.double(v.Interface().(float64))) + return nil +} + +func callbackRetBlob(ctx *C.sqlite3_context, v reflect.Value) error { + if v.Type().Kind() != reflect.Slice || v.Type().Elem().Kind() != reflect.Uint8 { + return fmt.Errorf("cannot convert %s to BLOB", v.Type()) + } + i := v.Interface() + if i == nil || len(i.([]byte)) == 0 { + C.sqlite3_result_null(ctx) + } else { + bs := i.([]byte) + C._sqlite3_result_blob(ctx, unsafe.Pointer(&bs[0]), C.int(len(bs))) + } + return nil +} + +func callbackRetText(ctx *C.sqlite3_context, v reflect.Value) error { + if v.Type().Kind() != reflect.String { + return fmt.Errorf("cannot convert %s to TEXT", v.Type()) + } + C._sqlite3_result_text(ctx, C.CString(v.Interface().(string))) + return nil +} + +func callbackRetNil(ctx *C.sqlite3_context, v reflect.Value) error { + return nil +} + +func callbackRet(typ reflect.Type) (callbackRetConverter, error) { + switch typ.Kind() { + case reflect.Interface: + errorInterface := reflect.TypeOf((*error)(nil)).Elem() + if typ.Implements(errorInterface) { + return callbackRetNil, nil + } + fallthrough + case reflect.Slice: + if typ.Elem().Kind() != reflect.Uint8 { + return nil, errors.New("the only supported slice type is []byte") + } + return callbackRetBlob, nil + case reflect.String: + return callbackRetText, nil + case reflect.Bool, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Int, reflect.Uint: + return callbackRetInteger, nil + case reflect.Float32, reflect.Float64: + return callbackRetFloat, nil + default: + return nil, fmt.Errorf("don't know how to convert to %s", typ) + } +} + +func callbackError(ctx *C.sqlite3_context, err error) { + cstr := C.CString(err.Error()) + defer C.free(unsafe.Pointer(cstr)) + C.sqlite3_result_error(ctx, cstr, C.int(-1)) +} + +// Test support code. Tests are not allowed to import "C", so we can't +// declare any functions that use C.sqlite3_value. +func callbackSyntheticForTests(v reflect.Value, err error) callbackArgConverter { + return func(*C.sqlite3_value) (reflect.Value, error) { + return v, err + } +} diff --git a/vendor/github.com/mattn/go-sqlite3/convert.go b/vendor/github.com/mattn/go-sqlite3/convert.go new file mode 100644 index 000000000..03850737f --- /dev/null +++ b/vendor/github.com/mattn/go-sqlite3/convert.go @@ -0,0 +1,299 @@ +// Extracted from Go database/sql source code + +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Type conversions for Scan. + +package sqlite3 + +import ( + "database/sql" + "database/sql/driver" + "errors" + "fmt" + "reflect" + "strconv" + "time" +) + +var errNilPtr = errors.New("destination pointer is nil") // embedded in descriptive error + +// convertAssign copies to dest the value in src, converting it if possible. +// An error is returned if the copy would result in loss of information. +// dest should be a pointer type. +func convertAssign(dest, src interface{}) error { + // Common cases, without reflect. + switch s := src.(type) { + case string: + switch d := dest.(type) { + case *string: + if d == nil { + return errNilPtr + } + *d = s + return nil + case *[]byte: + if d == nil { + return errNilPtr + } + *d = []byte(s) + return nil + case *sql.RawBytes: + if d == nil { + return errNilPtr + } + *d = append((*d)[:0], s...) + return nil + } + case []byte: + switch d := dest.(type) { + case *string: + if d == nil { + return errNilPtr + } + *d = string(s) + return nil + case *interface{}: + if d == nil { + return errNilPtr + } + *d = cloneBytes(s) + return nil + case *[]byte: + if d == nil { + return errNilPtr + } + *d = cloneBytes(s) + return nil + case *sql.RawBytes: + if d == nil { + return errNilPtr + } + *d = s + return nil + } + case time.Time: + switch d := dest.(type) { + case *time.Time: + *d = s + return nil + case *string: + *d = s.Format(time.RFC3339Nano) + return nil + case *[]byte: + if d == nil { + return errNilPtr + } + *d = []byte(s.Format(time.RFC3339Nano)) + return nil + case *sql.RawBytes: + if d == nil { + return errNilPtr + } + *d = s.AppendFormat((*d)[:0], time.RFC3339Nano) + return nil + } + case nil: + switch d := dest.(type) { + case *interface{}: + if d == nil { + return errNilPtr + } + *d = nil + return nil + case *[]byte: + if d == nil { + return errNilPtr + } + *d = nil + return nil + case *sql.RawBytes: + if d == nil { + return errNilPtr + } + *d = nil + return nil + } + } + + var sv reflect.Value + + switch d := dest.(type) { + case *string: + sv = reflect.ValueOf(src) + switch sv.Kind() { + case reflect.Bool, + reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, + reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, + reflect.Float32, reflect.Float64: + *d = asString(src) + return nil + } + case *[]byte: + sv = reflect.ValueOf(src) + if b, ok := asBytes(nil, sv); ok { + *d = b + return nil + } + case *sql.RawBytes: + sv = reflect.ValueOf(src) + if b, ok := asBytes([]byte(*d)[:0], sv); ok { + *d = sql.RawBytes(b) + return nil + } + case *bool: + bv, err := driver.Bool.ConvertValue(src) + if err == nil { + *d = bv.(bool) + } + return err + case *interface{}: + *d = src + return nil + } + + if scanner, ok := dest.(sql.Scanner); ok { + return scanner.Scan(src) + } + + dpv := reflect.ValueOf(dest) + if dpv.Kind() != reflect.Ptr { + return errors.New("destination not a pointer") + } + if dpv.IsNil() { + return errNilPtr + } + + if !sv.IsValid() { + sv = reflect.ValueOf(src) + } + + dv := reflect.Indirect(dpv) + if sv.IsValid() && sv.Type().AssignableTo(dv.Type()) { + switch b := src.(type) { + case []byte: + dv.Set(reflect.ValueOf(cloneBytes(b))) + default: + dv.Set(sv) + } + return nil + } + + if dv.Kind() == sv.Kind() && sv.Type().ConvertibleTo(dv.Type()) { + dv.Set(sv.Convert(dv.Type())) + return nil + } + + // The following conversions use a string value as an intermediate representation + // to convert between various numeric types. + // + // This also allows scanning into user defined types such as "type Int int64". + // For symmetry, also check for string destination types. + switch dv.Kind() { + case reflect.Ptr: + if src == nil { + dv.Set(reflect.Zero(dv.Type())) + return nil + } + dv.Set(reflect.New(dv.Type().Elem())) + return convertAssign(dv.Interface(), src) + case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: + s := asString(src) + i64, err := strconv.ParseInt(s, 10, dv.Type().Bits()) + if err != nil { + err = strconvErr(err) + return fmt.Errorf("converting driver.Value type %T (%q) to a %s: %v", src, s, dv.Kind(), err) + } + dv.SetInt(i64) + return nil + case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: + s := asString(src) + u64, err := strconv.ParseUint(s, 10, dv.Type().Bits()) + if err != nil { + err = strconvErr(err) + return fmt.Errorf("converting driver.Value type %T (%q) to a %s: %v", src, s, dv.Kind(), err) + } + dv.SetUint(u64) + return nil + case reflect.Float32, reflect.Float64: + s := asString(src) + f64, err := strconv.ParseFloat(s, dv.Type().Bits()) + if err != nil { + err = strconvErr(err) + return fmt.Errorf("converting driver.Value type %T (%q) to a %s: %v", src, s, dv.Kind(), err) + } + dv.SetFloat(f64) + return nil + case reflect.String: + switch v := src.(type) { + case string: + dv.SetString(v) + return nil + case []byte: + dv.SetString(string(v)) + return nil + } + } + + return fmt.Errorf("unsupported Scan, storing driver.Value type %T into type %T", src, dest) +} + +func strconvErr(err error) error { + if ne, ok := err.(*strconv.NumError); ok { + return ne.Err + } + return err +} + +func cloneBytes(b []byte) []byte { + if b == nil { + return nil + } + c := make([]byte, len(b)) + copy(c, b) + return c +} + +func asString(src interface{}) string { + switch v := src.(type) { + case string: + return v + case []byte: + return string(v) + } + rv := reflect.ValueOf(src) + switch rv.Kind() { + case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: + return strconv.FormatInt(rv.Int(), 10) + case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: + return strconv.FormatUint(rv.Uint(), 10) + case reflect.Float64: + return strconv.FormatFloat(rv.Float(), 'g', -1, 64) + case reflect.Float32: + return strconv.FormatFloat(rv.Float(), 'g', -1, 32) + case reflect.Bool: + return strconv.FormatBool(rv.Bool()) + } + return fmt.Sprintf("%v", src) +} + +func asBytes(buf []byte, rv reflect.Value) (b []byte, ok bool) { + switch rv.Kind() { + case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: + return strconv.AppendInt(buf, rv.Int(), 10), true + case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: + return strconv.AppendUint(buf, rv.Uint(), 10), true + case reflect.Float32: + return strconv.AppendFloat(buf, rv.Float(), 'g', -1, 32), true + case reflect.Float64: + return strconv.AppendFloat(buf, rv.Float(), 'g', -1, 64), true + case reflect.Bool: + return strconv.AppendBool(buf, rv.Bool()), true + case reflect.String: + s := rv.String() + return append(buf, s...), true + } + return +} diff --git a/vendor/github.com/mattn/go-sqlite3/doc.go b/vendor/github.com/mattn/go-sqlite3/doc.go new file mode 100644 index 000000000..c721f7708 --- /dev/null +++ b/vendor/github.com/mattn/go-sqlite3/doc.go @@ -0,0 +1,112 @@ +/* +Package sqlite3 provides interface to SQLite3 databases. + +This works as a driver for database/sql. + +Installation + + go get github.com/mattn/go-sqlite3 + +Supported Types + +Currently, go-sqlite3 supports the following data types. + + +------------------------------+ + |go | sqlite3 | + |----------|-------------------| + |nil | null | + |int | integer | + |int64 | integer | + |float64 | float | + |bool | integer | + |[]byte | blob | + |string | text | + |time.Time | timestamp/datetime| + +------------------------------+ + +SQLite3 Extension + +You can write your own extension module for sqlite3. For example, below is an +extension for a Regexp matcher operation. + + #include + #include + #include + #include + + SQLITE_EXTENSION_INIT1 + static void regexp_func(sqlite3_context *context, int argc, sqlite3_value **argv) { + if (argc >= 2) { + const char *target = (const char *)sqlite3_value_text(argv[1]); + const char *pattern = (const char *)sqlite3_value_text(argv[0]); + const char* errstr = NULL; + int erroff = 0; + int vec[500]; + int n, rc; + pcre* re = pcre_compile(pattern, 0, &errstr, &erroff, NULL); + rc = pcre_exec(re, NULL, target, strlen(target), 0, 0, vec, 500); + if (rc <= 0) { + sqlite3_result_error(context, errstr, 0); + return; + } + sqlite3_result_int(context, 1); + } + } + + #ifdef _WIN32 + __declspec(dllexport) + #endif + int sqlite3_extension_init(sqlite3 *db, char **errmsg, + const sqlite3_api_routines *api) { + SQLITE_EXTENSION_INIT2(api); + return sqlite3_create_function(db, "regexp", 2, SQLITE_UTF8, + (void*)db, regexp_func, NULL, NULL); + } + +It needs to be built as a so/dll shared library. And you need to register +the extension module like below. + + sql.Register("sqlite3_with_extensions", + &sqlite3.SQLiteDriver{ + Extensions: []string{ + "sqlite3_mod_regexp", + }, + }) + +Then, you can use this extension. + + rows, err := db.Query("select text from mytable where name regexp '^golang'") + +Connection Hook + +You can hook and inject your code when the connection is established. database/sql +doesn't provide a way to get native go-sqlite3 interfaces. So if you want, +you need to set ConnectHook and get the SQLiteConn. + + sql.Register("sqlite3_with_hook_example", + &sqlite3.SQLiteDriver{ + ConnectHook: func(conn *sqlite3.SQLiteConn) error { + sqlite3conn = append(sqlite3conn, conn) + return nil + }, + }) + +Go SQlite3 Extensions + +If you want to register Go functions as SQLite extension functions, +call RegisterFunction from ConnectHook. + + regex = func(re, s string) (bool, error) { + return regexp.MatchString(re, s) + } + sql.Register("sqlite3_with_go_func", + &sqlite3.SQLiteDriver{ + ConnectHook: func(conn *sqlite3.SQLiteConn) error { + return conn.RegisterFunc("regexp", regex, true) + }, + }) + +See the documentation of RegisterFunc for more details. + +*/ +package sqlite3 diff --git a/vendor/github.com/mattn/go-sqlite3/error.go b/vendor/github.com/mattn/go-sqlite3/error.go new file mode 100644 index 000000000..696281c73 --- /dev/null +++ b/vendor/github.com/mattn/go-sqlite3/error.go @@ -0,0 +1,150 @@ +// Copyright (C) 2019 Yasuhiro Matsumoto . +// +// Use of this source code is governed by an MIT-style +// license that can be found in the LICENSE file. + +package sqlite3 + +/* +#ifndef USE_LIBSQLITE3 +#include +#else +#include +#endif +*/ +import "C" +import "syscall" + +// ErrNo inherit errno. +type ErrNo int + +// ErrNoMask is mask code. +const ErrNoMask C.int = 0xff + +// ErrNoExtended is extended errno. +type ErrNoExtended int + +// Error implement sqlite error code. +type Error struct { + Code ErrNo /* The error code returned by SQLite */ + ExtendedCode ErrNoExtended /* The extended error code returned by SQLite */ + SystemErrno syscall.Errno /* The system errno returned by the OS through SQLite, if applicable */ + err string /* The error string returned by sqlite3_errmsg(), + this usually contains more specific details. */ +} + +// result codes from http://www.sqlite.org/c3ref/c_abort.html +var ( + ErrError = ErrNo(1) /* SQL error or missing database */ + ErrInternal = ErrNo(2) /* Internal logic error in SQLite */ + ErrPerm = ErrNo(3) /* Access permission denied */ + ErrAbort = ErrNo(4) /* Callback routine requested an abort */ + ErrBusy = ErrNo(5) /* The database file is locked */ + ErrLocked = ErrNo(6) /* A table in the database is locked */ + ErrNomem = ErrNo(7) /* A malloc() failed */ + ErrReadonly = ErrNo(8) /* Attempt to write a readonly database */ + ErrInterrupt = ErrNo(9) /* Operation terminated by sqlite3_interrupt() */ + ErrIoErr = ErrNo(10) /* Some kind of disk I/O error occurred */ + ErrCorrupt = ErrNo(11) /* The database disk image is malformed */ + ErrNotFound = ErrNo(12) /* Unknown opcode in sqlite3_file_control() */ + ErrFull = ErrNo(13) /* Insertion failed because database is full */ + ErrCantOpen = ErrNo(14) /* Unable to open the database file */ + ErrProtocol = ErrNo(15) /* Database lock protocol error */ + ErrEmpty = ErrNo(16) /* Database is empty */ + ErrSchema = ErrNo(17) /* The database schema changed */ + ErrTooBig = ErrNo(18) /* String or BLOB exceeds size limit */ + ErrConstraint = ErrNo(19) /* Abort due to constraint violation */ + ErrMismatch = ErrNo(20) /* Data type mismatch */ + ErrMisuse = ErrNo(21) /* Library used incorrectly */ + ErrNoLFS = ErrNo(22) /* Uses OS features not supported on host */ + ErrAuth = ErrNo(23) /* Authorization denied */ + ErrFormat = ErrNo(24) /* Auxiliary database format error */ + ErrRange = ErrNo(25) /* 2nd parameter to sqlite3_bind out of range */ + ErrNotADB = ErrNo(26) /* File opened that is not a database file */ + ErrNotice = ErrNo(27) /* Notifications from sqlite3_log() */ + ErrWarning = ErrNo(28) /* Warnings from sqlite3_log() */ +) + +// Error return error message from errno. +func (err ErrNo) Error() string { + return Error{Code: err}.Error() +} + +// Extend return extended errno. +func (err ErrNo) Extend(by int) ErrNoExtended { + return ErrNoExtended(int(err) | (by << 8)) +} + +// Error return error message that is extended code. +func (err ErrNoExtended) Error() string { + return Error{Code: ErrNo(C.int(err) & ErrNoMask), ExtendedCode: err}.Error() +} + +func (err Error) Error() string { + var str string + if err.err != "" { + str = err.err + } else { + str = C.GoString(C.sqlite3_errstr(C.int(err.Code))) + } + if err.SystemErrno != 0 { + str += ": " + err.SystemErrno.Error() + } + return str +} + +// result codes from http://www.sqlite.org/c3ref/c_abort_rollback.html +var ( + ErrIoErrRead = ErrIoErr.Extend(1) + ErrIoErrShortRead = ErrIoErr.Extend(2) + ErrIoErrWrite = ErrIoErr.Extend(3) + ErrIoErrFsync = ErrIoErr.Extend(4) + ErrIoErrDirFsync = ErrIoErr.Extend(5) + ErrIoErrTruncate = ErrIoErr.Extend(6) + ErrIoErrFstat = ErrIoErr.Extend(7) + ErrIoErrUnlock = ErrIoErr.Extend(8) + ErrIoErrRDlock = ErrIoErr.Extend(9) + ErrIoErrDelete = ErrIoErr.Extend(10) + ErrIoErrBlocked = ErrIoErr.Extend(11) + ErrIoErrNoMem = ErrIoErr.Extend(12) + ErrIoErrAccess = ErrIoErr.Extend(13) + ErrIoErrCheckReservedLock = ErrIoErr.Extend(14) + ErrIoErrLock = ErrIoErr.Extend(15) + ErrIoErrClose = ErrIoErr.Extend(16) + ErrIoErrDirClose = ErrIoErr.Extend(17) + ErrIoErrSHMOpen = ErrIoErr.Extend(18) + ErrIoErrSHMSize = ErrIoErr.Extend(19) + ErrIoErrSHMLock = ErrIoErr.Extend(20) + ErrIoErrSHMMap = ErrIoErr.Extend(21) + ErrIoErrSeek = ErrIoErr.Extend(22) + ErrIoErrDeleteNoent = ErrIoErr.Extend(23) + ErrIoErrMMap = ErrIoErr.Extend(24) + ErrIoErrGetTempPath = ErrIoErr.Extend(25) + ErrIoErrConvPath = ErrIoErr.Extend(26) + ErrLockedSharedCache = ErrLocked.Extend(1) + ErrBusyRecovery = ErrBusy.Extend(1) + ErrBusySnapshot = ErrBusy.Extend(2) + ErrCantOpenNoTempDir = ErrCantOpen.Extend(1) + ErrCantOpenIsDir = ErrCantOpen.Extend(2) + ErrCantOpenFullPath = ErrCantOpen.Extend(3) + ErrCantOpenConvPath = ErrCantOpen.Extend(4) + ErrCorruptVTab = ErrCorrupt.Extend(1) + ErrReadonlyRecovery = ErrReadonly.Extend(1) + ErrReadonlyCantLock = ErrReadonly.Extend(2) + ErrReadonlyRollback = ErrReadonly.Extend(3) + ErrReadonlyDbMoved = ErrReadonly.Extend(4) + ErrAbortRollback = ErrAbort.Extend(2) + ErrConstraintCheck = ErrConstraint.Extend(1) + ErrConstraintCommitHook = ErrConstraint.Extend(2) + ErrConstraintForeignKey = ErrConstraint.Extend(3) + ErrConstraintFunction = ErrConstraint.Extend(4) + ErrConstraintNotNull = ErrConstraint.Extend(5) + ErrConstraintPrimaryKey = ErrConstraint.Extend(6) + ErrConstraintTrigger = ErrConstraint.Extend(7) + ErrConstraintUnique = ErrConstraint.Extend(8) + ErrConstraintVTab = ErrConstraint.Extend(9) + ErrConstraintRowID = ErrConstraint.Extend(10) + ErrNoticeRecoverWAL = ErrNotice.Extend(1) + ErrNoticeRecoverRollback = ErrNotice.Extend(2) + ErrWarningAutoIndex = ErrWarning.Extend(1) +) diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c b/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c new file mode 100644 index 000000000..01a61aa11 --- /dev/null +++ b/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c @@ -0,0 +1,225422 @@ +#ifndef USE_LIBSQLITE3 +/****************************************************************************** +** This file is an amalgamation of many separate C source files from SQLite +** version 3.30.1. By combining all the individual C code files into this +** single large file, the entire code can be compiled as a single translation +** unit. This allows many compilers to do optimizations that would not be +** possible if the files were compiled separately. Performance improvements +** of 5% or more are commonly seen when SQLite is compiled as a single +** translation unit. +** +** This file is all you need to compile SQLite. To use SQLite in other +** programs, you need this file and the "sqlite3.h" header file that defines +** the programming interface to the SQLite library. (If you do not have +** the "sqlite3.h" header file at hand, you will find a copy embedded within +** the text of this file. Search for "Begin file sqlite3.h" to find the start +** of the embedded sqlite3.h header file.) Additional code files may be needed +** if you want a wrapper to interface SQLite with your choice of programming +** language. The code for the "sqlite3" command-line shell is also in a +** separate file. This file contains only code for the core SQLite library. +*/ +#define SQLITE_CORE 1 +#define SQLITE_AMALGAMATION 1 +#ifndef SQLITE_PRIVATE +# define SQLITE_PRIVATE static +#endif +/************** Begin file ctime.c *******************************************/ +/* +** 2010 February 23 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file implements routines used to report what compile-time options +** SQLite was built with. +*/ + +#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS /* IMP: R-16824-07538 */ + +/* +** Include the configuration header output by 'configure' if we're using the +** autoconf-based build +*/ +#if defined(_HAVE_SQLITE_CONFIG_H) && !defined(SQLITECONFIG_H) +#include "config.h" +#define SQLITECONFIG_H 1 +#endif + +/* These macros are provided to "stringify" the value of the define +** for those options in which the value is meaningful. */ +#define CTIMEOPT_VAL_(opt) #opt +#define CTIMEOPT_VAL(opt) CTIMEOPT_VAL_(opt) + +/* Like CTIMEOPT_VAL, but especially for SQLITE_DEFAULT_LOOKASIDE. This +** option requires a separate macro because legal values contain a single +** comma. e.g. (-DSQLITE_DEFAULT_LOOKASIDE="100,100") */ +#define CTIMEOPT_VAL2_(opt1,opt2) #opt1 "," #opt2 +#define CTIMEOPT_VAL2(opt) CTIMEOPT_VAL2_(opt) + +/* +** An array of names of all compile-time options. This array should +** be sorted A-Z. +** +** This array looks large, but in a typical installation actually uses +** only a handful of compile-time options, so most times this array is usually +** rather short and uses little memory space. +*/ +static const char * const sqlite3azCompileOpt[] = { + +/* +** BEGIN CODE GENERATED BY tool/mkctime.tcl +*/ +#if SQLITE_32BIT_ROWID + "32BIT_ROWID", +#endif +#if SQLITE_4_BYTE_ALIGNED_MALLOC + "4_BYTE_ALIGNED_MALLOC", +#endif +#if SQLITE_64BIT_STATS + "64BIT_STATS", +#endif +#if SQLITE_ALLOW_COVERING_INDEX_SCAN + "ALLOW_COVERING_INDEX_SCAN", +#endif +#if SQLITE_ALLOW_URI_AUTHORITY + "ALLOW_URI_AUTHORITY", +#endif +#ifdef SQLITE_BITMASK_TYPE + "BITMASK_TYPE=" CTIMEOPT_VAL(SQLITE_BITMASK_TYPE), +#endif +#if SQLITE_BUG_COMPATIBLE_20160819 + "BUG_COMPATIBLE_20160819", +#endif +#if SQLITE_CASE_SENSITIVE_LIKE + "CASE_SENSITIVE_LIKE", +#endif +#if SQLITE_CHECK_PAGES + "CHECK_PAGES", +#endif +#if defined(__clang__) && defined(__clang_major__) + "COMPILER=clang-" CTIMEOPT_VAL(__clang_major__) "." + CTIMEOPT_VAL(__clang_minor__) "." + CTIMEOPT_VAL(__clang_patchlevel__), +#elif defined(_MSC_VER) + "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER), +#elif defined(__GNUC__) && defined(__VERSION__) + "COMPILER=gcc-" __VERSION__, +#endif +#if SQLITE_COVERAGE_TEST + "COVERAGE_TEST", +#endif +#if SQLITE_DEBUG + "DEBUG", +#endif +#if SQLITE_DEFAULT_AUTOMATIC_INDEX + "DEFAULT_AUTOMATIC_INDEX", +#endif +#if SQLITE_DEFAULT_AUTOVACUUM + "DEFAULT_AUTOVACUUM", +#endif +#ifdef SQLITE_DEFAULT_CACHE_SIZE + "DEFAULT_CACHE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_CACHE_SIZE), +#endif +#if SQLITE_DEFAULT_CKPTFULLFSYNC + "DEFAULT_CKPTFULLFSYNC", +#endif +#ifdef SQLITE_DEFAULT_FILE_FORMAT + "DEFAULT_FILE_FORMAT=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_FORMAT), +#endif +#ifdef SQLITE_DEFAULT_FILE_PERMISSIONS + "DEFAULT_FILE_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_PERMISSIONS), +#endif +#if SQLITE_DEFAULT_FOREIGN_KEYS + "DEFAULT_FOREIGN_KEYS", +#endif +#ifdef SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT + "DEFAULT_JOURNAL_SIZE_LIMIT=" CTIMEOPT_VAL(SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT), +#endif +#ifdef SQLITE_DEFAULT_LOCKING_MODE + "DEFAULT_LOCKING_MODE=" CTIMEOPT_VAL(SQLITE_DEFAULT_LOCKING_MODE), +#endif +#ifdef SQLITE_DEFAULT_LOOKASIDE + "DEFAULT_LOOKASIDE=" CTIMEOPT_VAL2(SQLITE_DEFAULT_LOOKASIDE), +#endif +#if SQLITE_DEFAULT_MEMSTATUS + "DEFAULT_MEMSTATUS", +#endif +#ifdef SQLITE_DEFAULT_MMAP_SIZE + "DEFAULT_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_MMAP_SIZE), +#endif +#ifdef SQLITE_DEFAULT_PAGE_SIZE + "DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_PAGE_SIZE), +#endif +#ifdef SQLITE_DEFAULT_PCACHE_INITSZ + "DEFAULT_PCACHE_INITSZ=" CTIMEOPT_VAL(SQLITE_DEFAULT_PCACHE_INITSZ), +#endif +#ifdef SQLITE_DEFAULT_PROXYDIR_PERMISSIONS + "DEFAULT_PROXYDIR_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_PROXYDIR_PERMISSIONS), +#endif +#if SQLITE_DEFAULT_RECURSIVE_TRIGGERS + "DEFAULT_RECURSIVE_TRIGGERS", +#endif +#ifdef SQLITE_DEFAULT_ROWEST + "DEFAULT_ROWEST=" CTIMEOPT_VAL(SQLITE_DEFAULT_ROWEST), +#endif +#ifdef SQLITE_DEFAULT_SECTOR_SIZE + "DEFAULT_SECTOR_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_SECTOR_SIZE), +#endif +#ifdef SQLITE_DEFAULT_SYNCHRONOUS + "DEFAULT_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_SYNCHRONOUS), +#endif +#ifdef SQLITE_DEFAULT_WAL_AUTOCHECKPOINT + "DEFAULT_WAL_AUTOCHECKPOINT=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_AUTOCHECKPOINT), +#endif +#ifdef SQLITE_DEFAULT_WAL_SYNCHRONOUS + "DEFAULT_WAL_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_SYNCHRONOUS), +#endif +#ifdef SQLITE_DEFAULT_WORKER_THREADS + "DEFAULT_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WORKER_THREADS), +#endif +#if SQLITE_DIRECT_OVERFLOW_READ + "DIRECT_OVERFLOW_READ", +#endif +#if SQLITE_DISABLE_DIRSYNC + "DISABLE_DIRSYNC", +#endif +#if SQLITE_DISABLE_FTS3_UNICODE + "DISABLE_FTS3_UNICODE", +#endif +#if SQLITE_DISABLE_FTS4_DEFERRED + "DISABLE_FTS4_DEFERRED", +#endif +#if SQLITE_DISABLE_INTRINSIC + "DISABLE_INTRINSIC", +#endif +#if SQLITE_DISABLE_LFS + "DISABLE_LFS", +#endif +#if SQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS + "DISABLE_PAGECACHE_OVERFLOW_STATS", +#endif +#if SQLITE_DISABLE_SKIPAHEAD_DISTINCT + "DISABLE_SKIPAHEAD_DISTINCT", +#endif +#ifdef SQLITE_ENABLE_8_3_NAMES + "ENABLE_8_3_NAMES=" CTIMEOPT_VAL(SQLITE_ENABLE_8_3_NAMES), +#endif +#if SQLITE_ENABLE_API_ARMOR + "ENABLE_API_ARMOR", +#endif +#if SQLITE_ENABLE_ATOMIC_WRITE + "ENABLE_ATOMIC_WRITE", +#endif +#if SQLITE_ENABLE_BATCH_ATOMIC_WRITE + "ENABLE_BATCH_ATOMIC_WRITE", +#endif +#if SQLITE_ENABLE_CEROD + "ENABLE_CEROD=" CTIMEOPT_VAL(SQLITE_ENABLE_CEROD), +#endif +#if SQLITE_ENABLE_COLUMN_METADATA + "ENABLE_COLUMN_METADATA", +#endif +#if SQLITE_ENABLE_COLUMN_USED_MASK + "ENABLE_COLUMN_USED_MASK", +#endif +#if SQLITE_ENABLE_COSTMULT + "ENABLE_COSTMULT", +#endif +#if SQLITE_ENABLE_CURSOR_HINTS + "ENABLE_CURSOR_HINTS", +#endif +#if SQLITE_ENABLE_DBSTAT_VTAB + "ENABLE_DBSTAT_VTAB", +#endif +#if SQLITE_ENABLE_EXPENSIVE_ASSERT + "ENABLE_EXPENSIVE_ASSERT", +#endif +#if SQLITE_ENABLE_FTS1 + "ENABLE_FTS1", +#endif +#if SQLITE_ENABLE_FTS2 + "ENABLE_FTS2", +#endif +#if SQLITE_ENABLE_FTS3 + "ENABLE_FTS3", +#endif +#if SQLITE_ENABLE_FTS3_PARENTHESIS + "ENABLE_FTS3_PARENTHESIS", +#endif +#if SQLITE_ENABLE_FTS3_TOKENIZER + "ENABLE_FTS3_TOKENIZER", +#endif +#if SQLITE_ENABLE_FTS4 + "ENABLE_FTS4", +#endif +#if SQLITE_ENABLE_FTS5 + "ENABLE_FTS5", +#endif +#if SQLITE_ENABLE_GEOPOLY + "ENABLE_GEOPOLY", +#endif +#if SQLITE_ENABLE_HIDDEN_COLUMNS + "ENABLE_HIDDEN_COLUMNS", +#endif +#if SQLITE_ENABLE_ICU + "ENABLE_ICU", +#endif +#if SQLITE_ENABLE_IOTRACE + "ENABLE_IOTRACE", +#endif +#if SQLITE_ENABLE_JSON1 + "ENABLE_JSON1", +#endif +#if SQLITE_ENABLE_LOAD_EXTENSION + "ENABLE_LOAD_EXTENSION", +#endif +#ifdef SQLITE_ENABLE_LOCKING_STYLE + "ENABLE_LOCKING_STYLE=" CTIMEOPT_VAL(SQLITE_ENABLE_LOCKING_STYLE), +#endif +#if SQLITE_ENABLE_MEMORY_MANAGEMENT + "ENABLE_MEMORY_MANAGEMENT", +#endif +#if SQLITE_ENABLE_MEMSYS3 + "ENABLE_MEMSYS3", +#endif +#if SQLITE_ENABLE_MEMSYS5 + "ENABLE_MEMSYS5", +#endif +#if SQLITE_ENABLE_MULTIPLEX + "ENABLE_MULTIPLEX", +#endif +#if SQLITE_ENABLE_NORMALIZE + "ENABLE_NORMALIZE", +#endif +#if SQLITE_ENABLE_NULL_TRIM + "ENABLE_NULL_TRIM", +#endif +#if SQLITE_ENABLE_OVERSIZE_CELL_CHECK + "ENABLE_OVERSIZE_CELL_CHECK", +#endif +#if SQLITE_ENABLE_PREUPDATE_HOOK + "ENABLE_PREUPDATE_HOOK", +#endif +#if SQLITE_ENABLE_QPSG + "ENABLE_QPSG", +#endif +#if SQLITE_ENABLE_RBU + "ENABLE_RBU", +#endif +#if SQLITE_ENABLE_RTREE + "ENABLE_RTREE", +#endif +#if SQLITE_ENABLE_SELECTTRACE + "ENABLE_SELECTTRACE", +#endif +#if SQLITE_ENABLE_SESSION + "ENABLE_SESSION", +#endif +#if SQLITE_ENABLE_SNAPSHOT + "ENABLE_SNAPSHOT", +#endif +#if SQLITE_ENABLE_SORTER_REFERENCES + "ENABLE_SORTER_REFERENCES", +#endif +#if SQLITE_ENABLE_SQLLOG + "ENABLE_SQLLOG", +#endif +#if defined(SQLITE_ENABLE_STAT4) + "ENABLE_STAT4", +#endif +#if SQLITE_ENABLE_STMTVTAB + "ENABLE_STMTVTAB", +#endif +#if SQLITE_ENABLE_STMT_SCANSTATUS + "ENABLE_STMT_SCANSTATUS", +#endif +#if SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION + "ENABLE_UNKNOWN_SQL_FUNCTION", +#endif +#if SQLITE_ENABLE_UNLOCK_NOTIFY + "ENABLE_UNLOCK_NOTIFY", +#endif +#if SQLITE_ENABLE_UPDATE_DELETE_LIMIT + "ENABLE_UPDATE_DELETE_LIMIT", +#endif +#if SQLITE_ENABLE_URI_00_ERROR + "ENABLE_URI_00_ERROR", +#endif +#if SQLITE_ENABLE_VFSTRACE + "ENABLE_VFSTRACE", +#endif +#if SQLITE_ENABLE_WHERETRACE + "ENABLE_WHERETRACE", +#endif +#if SQLITE_ENABLE_ZIPVFS + "ENABLE_ZIPVFS", +#endif +#if SQLITE_EXPLAIN_ESTIMATED_ROWS + "EXPLAIN_ESTIMATED_ROWS", +#endif +#if SQLITE_EXTRA_IFNULLROW + "EXTRA_IFNULLROW", +#endif +#ifdef SQLITE_EXTRA_INIT + "EXTRA_INIT=" CTIMEOPT_VAL(SQLITE_EXTRA_INIT), +#endif +#ifdef SQLITE_EXTRA_SHUTDOWN + "EXTRA_SHUTDOWN=" CTIMEOPT_VAL(SQLITE_EXTRA_SHUTDOWN), +#endif +#ifdef SQLITE_FTS3_MAX_EXPR_DEPTH + "FTS3_MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_FTS3_MAX_EXPR_DEPTH), +#endif +#if SQLITE_FTS5_ENABLE_TEST_MI + "FTS5_ENABLE_TEST_MI", +#endif +#if SQLITE_FTS5_NO_WITHOUT_ROWID + "FTS5_NO_WITHOUT_ROWID", +#endif +#if SQLITE_HAS_CODEC + "HAS_CODEC", +#endif +#if HAVE_ISNAN || SQLITE_HAVE_ISNAN + "HAVE_ISNAN", +#endif +#if SQLITE_HOMEGROWN_RECURSIVE_MUTEX + "HOMEGROWN_RECURSIVE_MUTEX", +#endif +#if SQLITE_IGNORE_AFP_LOCK_ERRORS + "IGNORE_AFP_LOCK_ERRORS", +#endif +#if SQLITE_IGNORE_FLOCK_LOCK_ERRORS + "IGNORE_FLOCK_LOCK_ERRORS", +#endif +#if SQLITE_INLINE_MEMCPY + "INLINE_MEMCPY", +#endif +#if SQLITE_INT64_TYPE + "INT64_TYPE", +#endif +#ifdef SQLITE_INTEGRITY_CHECK_ERROR_MAX + "INTEGRITY_CHECK_ERROR_MAX=" CTIMEOPT_VAL(SQLITE_INTEGRITY_CHECK_ERROR_MAX), +#endif +#if SQLITE_LIKE_DOESNT_MATCH_BLOBS + "LIKE_DOESNT_MATCH_BLOBS", +#endif +#if SQLITE_LOCK_TRACE + "LOCK_TRACE", +#endif +#if SQLITE_LOG_CACHE_SPILL + "LOG_CACHE_SPILL", +#endif +#ifdef SQLITE_MALLOC_SOFT_LIMIT + "MALLOC_SOFT_LIMIT=" CTIMEOPT_VAL(SQLITE_MALLOC_SOFT_LIMIT), +#endif +#ifdef SQLITE_MAX_ATTACHED + "MAX_ATTACHED=" CTIMEOPT_VAL(SQLITE_MAX_ATTACHED), +#endif +#ifdef SQLITE_MAX_COLUMN + "MAX_COLUMN=" CTIMEOPT_VAL(SQLITE_MAX_COLUMN), +#endif +#ifdef SQLITE_MAX_COMPOUND_SELECT + "MAX_COMPOUND_SELECT=" CTIMEOPT_VAL(SQLITE_MAX_COMPOUND_SELECT), +#endif +#ifdef SQLITE_MAX_DEFAULT_PAGE_SIZE + "MAX_DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_DEFAULT_PAGE_SIZE), +#endif +#ifdef SQLITE_MAX_EXPR_DEPTH + "MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_EXPR_DEPTH), +#endif +#ifdef SQLITE_MAX_FUNCTION_ARG + "MAX_FUNCTION_ARG=" CTIMEOPT_VAL(SQLITE_MAX_FUNCTION_ARG), +#endif +#ifdef SQLITE_MAX_LENGTH + "MAX_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LENGTH), +#endif +#ifdef SQLITE_MAX_LIKE_PATTERN_LENGTH + "MAX_LIKE_PATTERN_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LIKE_PATTERN_LENGTH), +#endif +#ifdef SQLITE_MAX_MEMORY + "MAX_MEMORY=" CTIMEOPT_VAL(SQLITE_MAX_MEMORY), +#endif +#ifdef SQLITE_MAX_MMAP_SIZE + "MAX_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE), +#endif +#ifdef SQLITE_MAX_MMAP_SIZE_ + "MAX_MMAP_SIZE_=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE_), +#endif +#ifdef SQLITE_MAX_PAGE_COUNT + "MAX_PAGE_COUNT=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_COUNT), +#endif +#ifdef SQLITE_MAX_PAGE_SIZE + "MAX_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_SIZE), +#endif +#ifdef SQLITE_MAX_SCHEMA_RETRY + "MAX_SCHEMA_RETRY=" CTIMEOPT_VAL(SQLITE_MAX_SCHEMA_RETRY), +#endif +#ifdef SQLITE_MAX_SQL_LENGTH + "MAX_SQL_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_SQL_LENGTH), +#endif +#ifdef SQLITE_MAX_TRIGGER_DEPTH + "MAX_TRIGGER_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_TRIGGER_DEPTH), +#endif +#ifdef SQLITE_MAX_VARIABLE_NUMBER + "MAX_VARIABLE_NUMBER=" CTIMEOPT_VAL(SQLITE_MAX_VARIABLE_NUMBER), +#endif +#ifdef SQLITE_MAX_VDBE_OP + "MAX_VDBE_OP=" CTIMEOPT_VAL(SQLITE_MAX_VDBE_OP), +#endif +#ifdef SQLITE_MAX_WORKER_THREADS + "MAX_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_MAX_WORKER_THREADS), +#endif +#if SQLITE_MEMDEBUG + "MEMDEBUG", +#endif +#if SQLITE_MIXED_ENDIAN_64BIT_FLOAT + "MIXED_ENDIAN_64BIT_FLOAT", +#endif +#if SQLITE_MMAP_READWRITE + "MMAP_READWRITE", +#endif +#if SQLITE_MUTEX_NOOP + "MUTEX_NOOP", +#endif +#if SQLITE_MUTEX_NREF + "MUTEX_NREF", +#endif +#if SQLITE_MUTEX_OMIT + "MUTEX_OMIT", +#endif +#if SQLITE_MUTEX_PTHREADS + "MUTEX_PTHREADS", +#endif +#if SQLITE_MUTEX_W32 + "MUTEX_W32", +#endif +#if SQLITE_NEED_ERR_NAME + "NEED_ERR_NAME", +#endif +#if SQLITE_NOINLINE + "NOINLINE", +#endif +#if SQLITE_NO_SYNC + "NO_SYNC", +#endif +#if SQLITE_OMIT_ALTERTABLE + "OMIT_ALTERTABLE", +#endif +#if SQLITE_OMIT_ANALYZE + "OMIT_ANALYZE", +#endif +#if SQLITE_OMIT_ATTACH + "OMIT_ATTACH", +#endif +#if SQLITE_OMIT_AUTHORIZATION + "OMIT_AUTHORIZATION", +#endif +#if SQLITE_OMIT_AUTOINCREMENT + "OMIT_AUTOINCREMENT", +#endif +#if SQLITE_OMIT_AUTOINIT + "OMIT_AUTOINIT", +#endif +#if SQLITE_OMIT_AUTOMATIC_INDEX + "OMIT_AUTOMATIC_INDEX", +#endif +#if SQLITE_OMIT_AUTORESET + "OMIT_AUTORESET", +#endif +#if SQLITE_OMIT_AUTOVACUUM + "OMIT_AUTOVACUUM", +#endif +#if SQLITE_OMIT_BETWEEN_OPTIMIZATION + "OMIT_BETWEEN_OPTIMIZATION", +#endif +#if SQLITE_OMIT_BLOB_LITERAL + "OMIT_BLOB_LITERAL", +#endif +#if SQLITE_OMIT_BTREECOUNT + "OMIT_BTREECOUNT", +#endif +#if SQLITE_OMIT_CAST + "OMIT_CAST", +#endif +#if SQLITE_OMIT_CHECK + "OMIT_CHECK", +#endif +#if SQLITE_OMIT_COMPLETE + "OMIT_COMPLETE", +#endif +#if SQLITE_OMIT_COMPOUND_SELECT + "OMIT_COMPOUND_SELECT", +#endif +#if SQLITE_OMIT_CONFLICT_CLAUSE + "OMIT_CONFLICT_CLAUSE", +#endif +#if SQLITE_OMIT_CTE + "OMIT_CTE", +#endif +#if SQLITE_OMIT_DATETIME_FUNCS + "OMIT_DATETIME_FUNCS", +#endif +#if SQLITE_OMIT_DECLTYPE + "OMIT_DECLTYPE", +#endif +#if SQLITE_OMIT_DEPRECATED + "OMIT_DEPRECATED", +#endif +#if SQLITE_OMIT_DISKIO + "OMIT_DISKIO", +#endif +#if SQLITE_OMIT_EXPLAIN + "OMIT_EXPLAIN", +#endif +#if SQLITE_OMIT_FLAG_PRAGMAS + "OMIT_FLAG_PRAGMAS", +#endif +#if SQLITE_OMIT_FLOATING_POINT + "OMIT_FLOATING_POINT", +#endif +#if SQLITE_OMIT_FOREIGN_KEY + "OMIT_FOREIGN_KEY", +#endif +#if SQLITE_OMIT_GET_TABLE + "OMIT_GET_TABLE", +#endif +#if SQLITE_OMIT_HEX_INTEGER + "OMIT_HEX_INTEGER", +#endif +#if SQLITE_OMIT_INCRBLOB + "OMIT_INCRBLOB", +#endif +#if SQLITE_OMIT_INTEGRITY_CHECK + "OMIT_INTEGRITY_CHECK", +#endif +#if SQLITE_OMIT_LIKE_OPTIMIZATION + "OMIT_LIKE_OPTIMIZATION", +#endif +#if SQLITE_OMIT_LOAD_EXTENSION + "OMIT_LOAD_EXTENSION", +#endif +#if SQLITE_OMIT_LOCALTIME + "OMIT_LOCALTIME", +#endif +#if SQLITE_OMIT_LOOKASIDE + "OMIT_LOOKASIDE", +#endif +#if SQLITE_OMIT_MEMORYDB + "OMIT_MEMORYDB", +#endif +#if SQLITE_OMIT_OR_OPTIMIZATION + "OMIT_OR_OPTIMIZATION", +#endif +#if SQLITE_OMIT_PAGER_PRAGMAS + "OMIT_PAGER_PRAGMAS", +#endif +#if SQLITE_OMIT_PARSER_TRACE + "OMIT_PARSER_TRACE", +#endif +#if SQLITE_OMIT_POPEN + "OMIT_POPEN", +#endif +#if SQLITE_OMIT_PRAGMA + "OMIT_PRAGMA", +#endif +#if SQLITE_OMIT_PROGRESS_CALLBACK + "OMIT_PROGRESS_CALLBACK", +#endif +#if SQLITE_OMIT_QUICKBALANCE + "OMIT_QUICKBALANCE", +#endif +#if SQLITE_OMIT_REINDEX + "OMIT_REINDEX", +#endif +#if SQLITE_OMIT_SCHEMA_PRAGMAS + "OMIT_SCHEMA_PRAGMAS", +#endif +#if SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS + "OMIT_SCHEMA_VERSION_PRAGMAS", +#endif +#if SQLITE_OMIT_SHARED_CACHE + "OMIT_SHARED_CACHE", +#endif +#if SQLITE_OMIT_SHUTDOWN_DIRECTORIES + "OMIT_SHUTDOWN_DIRECTORIES", +#endif +#if SQLITE_OMIT_SUBQUERY + "OMIT_SUBQUERY", +#endif +#if SQLITE_OMIT_TCL_VARIABLE + "OMIT_TCL_VARIABLE", +#endif +#if SQLITE_OMIT_TEMPDB + "OMIT_TEMPDB", +#endif +#if SQLITE_OMIT_TEST_CONTROL + "OMIT_TEST_CONTROL", +#endif +#if SQLITE_OMIT_TRACE + "OMIT_TRACE", +#endif +#if SQLITE_OMIT_TRIGGER + "OMIT_TRIGGER", +#endif +#if SQLITE_OMIT_TRUNCATE_OPTIMIZATION + "OMIT_TRUNCATE_OPTIMIZATION", +#endif +#if SQLITE_OMIT_UTF16 + "OMIT_UTF16", +#endif +#if SQLITE_OMIT_VACUUM + "OMIT_VACUUM", +#endif +#if SQLITE_OMIT_VIEW + "OMIT_VIEW", +#endif +#if SQLITE_OMIT_VIRTUALTABLE + "OMIT_VIRTUALTABLE", +#endif +#if SQLITE_OMIT_WAL + "OMIT_WAL", +#endif +#if SQLITE_OMIT_WSD + "OMIT_WSD", +#endif +#if SQLITE_OMIT_XFER_OPT + "OMIT_XFER_OPT", +#endif +#if SQLITE_PCACHE_SEPARATE_HEADER + "PCACHE_SEPARATE_HEADER", +#endif +#if SQLITE_PERFORMANCE_TRACE + "PERFORMANCE_TRACE", +#endif +#if SQLITE_POWERSAFE_OVERWRITE + "POWERSAFE_OVERWRITE", +#endif +#if SQLITE_PREFER_PROXY_LOCKING + "PREFER_PROXY_LOCKING", +#endif +#if SQLITE_PROXY_DEBUG + "PROXY_DEBUG", +#endif +#if SQLITE_REVERSE_UNORDERED_SELECTS + "REVERSE_UNORDERED_SELECTS", +#endif +#if SQLITE_RTREE_INT_ONLY + "RTREE_INT_ONLY", +#endif +#if SQLITE_SECURE_DELETE + "SECURE_DELETE", +#endif +#if SQLITE_SMALL_STACK + "SMALL_STACK", +#endif +#ifdef SQLITE_SORTER_PMASZ + "SORTER_PMASZ=" CTIMEOPT_VAL(SQLITE_SORTER_PMASZ), +#endif +#if SQLITE_SOUNDEX + "SOUNDEX", +#endif +#ifdef SQLITE_STAT4_SAMPLES + "STAT4_SAMPLES=" CTIMEOPT_VAL(SQLITE_STAT4_SAMPLES), +#endif +#ifdef SQLITE_STMTJRNL_SPILL + "STMTJRNL_SPILL=" CTIMEOPT_VAL(SQLITE_STMTJRNL_SPILL), +#endif +#if SQLITE_SUBSTR_COMPATIBILITY + "SUBSTR_COMPATIBILITY", +#endif +#if SQLITE_SYSTEM_MALLOC + "SYSTEM_MALLOC", +#endif +#if SQLITE_TCL + "TCL", +#endif +#ifdef SQLITE_TEMP_STORE + "TEMP_STORE=" CTIMEOPT_VAL(SQLITE_TEMP_STORE), +#endif +#if SQLITE_TEST + "TEST", +#endif +#if defined(SQLITE_THREADSAFE) + "THREADSAFE=" CTIMEOPT_VAL(SQLITE_THREADSAFE), +#elif defined(THREADSAFE) + "THREADSAFE=" CTIMEOPT_VAL(THREADSAFE), +#else + "THREADSAFE=1", +#endif +#if SQLITE_UNLINK_AFTER_CLOSE + "UNLINK_AFTER_CLOSE", +#endif +#if SQLITE_UNTESTABLE + "UNTESTABLE", +#endif +#if SQLITE_USER_AUTHENTICATION + "USER_AUTHENTICATION", +#endif +#if SQLITE_USE_ALLOCA + "USE_ALLOCA", +#endif +#if SQLITE_USE_FCNTL_TRACE + "USE_FCNTL_TRACE", +#endif +#if SQLITE_USE_URI + "USE_URI", +#endif +#if SQLITE_VDBE_COVERAGE + "VDBE_COVERAGE", +#endif +#if SQLITE_WIN32_MALLOC + "WIN32_MALLOC", +#endif +#if SQLITE_ZERO_MALLOC + "ZERO_MALLOC", +#endif +/* +** END CODE GENERATED BY tool/mkctime.tcl +*/ +}; + +SQLITE_PRIVATE const char **sqlite3CompileOptions(int *pnOpt){ + *pnOpt = sizeof(sqlite3azCompileOpt) / sizeof(sqlite3azCompileOpt[0]); + return (const char**)sqlite3azCompileOpt; +} + +#endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */ + +/************** End of ctime.c ***********************************************/ +/************** Begin file sqliteInt.h ***************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** Internal interface definitions for SQLite. +** +*/ +#ifndef SQLITEINT_H +#define SQLITEINT_H + +/* Special Comments: +** +** Some comments have special meaning to the tools that measure test +** coverage: +** +** NO_TEST - The branches on this line are not +** measured by branch coverage. This is +** used on lines of code that actually +** implement parts of coverage testing. +** +** OPTIMIZATION-IF-TRUE - This branch is allowed to alway be false +** and the correct answer is still obtained, +** though perhaps more slowly. +** +** OPTIMIZATION-IF-FALSE - This branch is allowed to alway be true +** and the correct answer is still obtained, +** though perhaps more slowly. +** +** PREVENTS-HARMLESS-OVERREAD - This branch prevents a buffer overread +** that would be harmless and undetectable +** if it did occur. +** +** In all cases, the special comment must be enclosed in the usual +** slash-asterisk...asterisk-slash comment marks, with no spaces between the +** asterisks and the comment text. +*/ + +/* +** Make sure the Tcl calling convention macro is defined. This macro is +** only used by test code and Tcl integration code. +*/ +#ifndef SQLITE_TCLAPI +# define SQLITE_TCLAPI +#endif + +/* +** Include the header file used to customize the compiler options for MSVC. +** This should be done first so that it can successfully prevent spurious +** compiler warnings due to subsequent content in this file and other files +** that are included by this file. +*/ +/************** Include msvc.h in the middle of sqliteInt.h ******************/ +/************** Begin file msvc.h ********************************************/ +/* +** 2015 January 12 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains code that is specific to MSVC. +*/ +#ifndef SQLITE_MSVC_H +#define SQLITE_MSVC_H + +#if defined(_MSC_VER) +#pragma warning(disable : 4054) +#pragma warning(disable : 4055) +#pragma warning(disable : 4100) +#pragma warning(disable : 4127) +#pragma warning(disable : 4130) +#pragma warning(disable : 4152) +#pragma warning(disable : 4189) +#pragma warning(disable : 4206) +#pragma warning(disable : 4210) +#pragma warning(disable : 4232) +#pragma warning(disable : 4244) +#pragma warning(disable : 4305) +#pragma warning(disable : 4306) +#pragma warning(disable : 4702) +#pragma warning(disable : 4706) +#endif /* defined(_MSC_VER) */ + +#if defined(_MSC_VER) && !defined(_WIN64) +#undef SQLITE_4_BYTE_ALIGNED_MALLOC +#define SQLITE_4_BYTE_ALIGNED_MALLOC +#endif /* defined(_MSC_VER) && !defined(_WIN64) */ + +#endif /* SQLITE_MSVC_H */ + +/************** End of msvc.h ************************************************/ +/************** Continuing where we left off in sqliteInt.h ******************/ + +/* +** Special setup for VxWorks +*/ +/************** Include vxworks.h in the middle of sqliteInt.h ***************/ +/************** Begin file vxworks.h *****************************************/ +/* +** 2015-03-02 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains code that is specific to Wind River's VxWorks +*/ +#if defined(__RTP__) || defined(_WRS_KERNEL) +/* This is VxWorks. Set up things specially for that OS +*/ +#include +#include /* amalgamator: dontcache */ +#define OS_VXWORKS 1 +#define SQLITE_OS_OTHER 0 +#define SQLITE_HOMEGROWN_RECURSIVE_MUTEX 1 +#define SQLITE_OMIT_LOAD_EXTENSION 1 +#define SQLITE_ENABLE_LOCKING_STYLE 0 +#define HAVE_UTIME 1 +#else +/* This is not VxWorks. */ +#define OS_VXWORKS 0 +#define HAVE_FCHOWN 1 +#define HAVE_READLINK 1 +#define HAVE_LSTAT 1 +#endif /* defined(_WRS_KERNEL) */ + +/************** End of vxworks.h *********************************************/ +/************** Continuing where we left off in sqliteInt.h ******************/ + +/* +** These #defines should enable >2GB file support on POSIX if the +** underlying operating system supports it. If the OS lacks +** large file support, or if the OS is windows, these should be no-ops. +** +** Ticket #2739: The _LARGEFILE_SOURCE macro must appear before any +** system #includes. Hence, this block of code must be the very first +** code in all source files. +** +** Large file support can be disabled using the -DSQLITE_DISABLE_LFS switch +** on the compiler command line. This is necessary if you are compiling +** on a recent machine (ex: Red Hat 7.2) but you want your code to work +** on an older machine (ex: Red Hat 6.0). If you compile on Red Hat 7.2 +** without this option, LFS is enable. But LFS does not exist in the kernel +** in Red Hat 6.0, so the code won't work. Hence, for maximum binary +** portability you should omit LFS. +** +** The previous paragraph was written in 2005. (This paragraph is written +** on 2008-11-28.) These days, all Linux kernels support large files, so +** you should probably leave LFS enabled. But some embedded platforms might +** lack LFS in which case the SQLITE_DISABLE_LFS macro might still be useful. +** +** Similar is true for Mac OS X. LFS is only supported on Mac OS X 9 and later. +*/ +#ifndef SQLITE_DISABLE_LFS +# define _LARGE_FILE 1 +# ifndef _FILE_OFFSET_BITS +# define _FILE_OFFSET_BITS 64 +# endif +# define _LARGEFILE_SOURCE 1 +#endif + +/* The GCC_VERSION and MSVC_VERSION macros are used to +** conditionally include optimizations for each of these compilers. A +** value of 0 means that compiler is not being used. The +** SQLITE_DISABLE_INTRINSIC macro means do not use any compiler-specific +** optimizations, and hence set all compiler macros to 0 +** +** There was once also a CLANG_VERSION macro. However, we learn that the +** version numbers in clang are for "marketing" only and are inconsistent +** and unreliable. Fortunately, all versions of clang also recognize the +** gcc version numbers and have reasonable settings for gcc version numbers, +** so the GCC_VERSION macro will be set to a correct non-zero value even +** when compiling with clang. +*/ +#if defined(__GNUC__) && !defined(SQLITE_DISABLE_INTRINSIC) +# define GCC_VERSION (__GNUC__*1000000+__GNUC_MINOR__*1000+__GNUC_PATCHLEVEL__) +#else +# define GCC_VERSION 0 +#endif +#if defined(_MSC_VER) && !defined(SQLITE_DISABLE_INTRINSIC) +# define MSVC_VERSION _MSC_VER +#else +# define MSVC_VERSION 0 +#endif + +/* Needed for various definitions... */ +#if defined(__GNUC__) && !defined(_GNU_SOURCE) +# define _GNU_SOURCE +#endif + +#if defined(__OpenBSD__) && !defined(_BSD_SOURCE) +# define _BSD_SOURCE +#endif + +/* +** For MinGW, check to see if we can include the header file containing its +** version information, among other things. Normally, this internal MinGW +** header file would [only] be included automatically by other MinGW header +** files; however, the contained version information is now required by this +** header file to work around binary compatibility issues (see below) and +** this is the only known way to reliably obtain it. This entire #if block +** would be completely unnecessary if there was any other way of detecting +** MinGW via their preprocessor (e.g. if they customized their GCC to define +** some MinGW-specific macros). When compiling for MinGW, either the +** _HAVE_MINGW_H or _HAVE__MINGW_H (note the extra underscore) macro must be +** defined; otherwise, detection of conditions specific to MinGW will be +** disabled. +*/ +#if defined(_HAVE_MINGW_H) +# include "mingw.h" +#elif defined(_HAVE__MINGW_H) +# include "_mingw.h" +#endif + +/* +** For MinGW version 4.x (and higher), check to see if the _USE_32BIT_TIME_T +** define is required to maintain binary compatibility with the MSVC runtime +** library in use (e.g. for Windows XP). +*/ +#if !defined(_USE_32BIT_TIME_T) && !defined(_USE_64BIT_TIME_T) && \ + defined(_WIN32) && !defined(_WIN64) && \ + defined(__MINGW_MAJOR_VERSION) && __MINGW_MAJOR_VERSION >= 4 && \ + defined(__MSVCRT__) +# define _USE_32BIT_TIME_T +#endif + +/* The public SQLite interface. The _FILE_OFFSET_BITS macro must appear +** first in QNX. Also, the _USE_32BIT_TIME_T macro must appear first for +** MinGW. +*/ +/************** Include sqlite3.h in the middle of sqliteInt.h ***************/ +/************** Begin file sqlite3.h *****************************************/ +/* +** 2001-09-15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This header file defines the interface that the SQLite library +** presents to client programs. If a C-function, structure, datatype, +** or constant definition does not appear in this file, then it is +** not a published API of SQLite, is subject to change without +** notice, and should not be referenced by programs that use SQLite. +** +** Some of the definitions that are in this file are marked as +** "experimental". Experimental interfaces are normally new +** features recently added to SQLite. We do not anticipate changes +** to experimental interfaces but reserve the right to make minor changes +** if experience from use "in the wild" suggest such changes are prudent. +** +** The official C-language API documentation for SQLite is derived +** from comments in this file. This file is the authoritative source +** on how SQLite interfaces are supposed to operate. +** +** The name of this file under configuration management is "sqlite.h.in". +** The makefile makes some minor changes to this file (such as inserting +** the version number) and changes its name to "sqlite3.h" as +** part of the build process. +*/ +#ifndef SQLITE3_H +#define SQLITE3_H +#include /* Needed for the definition of va_list */ + +/* +** Make sure we can call this stuff from C++. +*/ +#if 0 +extern "C" { +#endif + + +/* +** Provide the ability to override linkage features of the interface. +*/ +#ifndef SQLITE_EXTERN +# define SQLITE_EXTERN extern +#endif +#ifndef SQLITE_API +# define SQLITE_API +#endif +#ifndef SQLITE_CDECL +# define SQLITE_CDECL +#endif +#ifndef SQLITE_APICALL +# define SQLITE_APICALL +#endif +#ifndef SQLITE_STDCALL +# define SQLITE_STDCALL SQLITE_APICALL +#endif +#ifndef SQLITE_CALLBACK +# define SQLITE_CALLBACK +#endif +#ifndef SQLITE_SYSAPI +# define SQLITE_SYSAPI +#endif + +/* +** These no-op macros are used in front of interfaces to mark those +** interfaces as either deprecated or experimental. New applications +** should not use deprecated interfaces - they are supported for backwards +** compatibility only. Application writers should be aware that +** experimental interfaces are subject to change in point releases. +** +** These macros used to resolve to various kinds of compiler magic that +** would generate warning messages when they were used. But that +** compiler magic ended up generating such a flurry of bug reports +** that we have taken it all out and gone back to using simple +** noop macros. +*/ +#define SQLITE_DEPRECATED +#define SQLITE_EXPERIMENTAL + +/* +** Ensure these symbols were not defined by some previous header file. +*/ +#ifdef SQLITE_VERSION +# undef SQLITE_VERSION +#endif +#ifdef SQLITE_VERSION_NUMBER +# undef SQLITE_VERSION_NUMBER +#endif + +/* +** CAPI3REF: Compile-Time Library Version Numbers +** +** ^(The [SQLITE_VERSION] C preprocessor macro in the sqlite3.h header +** evaluates to a string literal that is the SQLite version in the +** format "X.Y.Z" where X is the major version number (always 3 for +** SQLite3) and Y is the minor version number and Z is the release number.)^ +** ^(The [SQLITE_VERSION_NUMBER] C preprocessor macro resolves to an integer +** with the value (X*1000000 + Y*1000 + Z) where X, Y, and Z are the same +** numbers used in [SQLITE_VERSION].)^ +** The SQLITE_VERSION_NUMBER for any given release of SQLite will also +** be larger than the release from which it is derived. Either Y will +** be held constant and Z will be incremented or else Y will be incremented +** and Z will be reset to zero. +** +** Since [version 3.6.18] ([dateof:3.6.18]), +** SQLite source code has been stored in the +** Fossil configuration management +** system. ^The SQLITE_SOURCE_ID macro evaluates to +** a string which identifies a particular check-in of SQLite +** within its configuration management system. ^The SQLITE_SOURCE_ID +** string contains the date and time of the check-in (UTC) and a SHA1 +** or SHA3-256 hash of the entire source tree. If the source code has +** been edited in any way since it was last checked in, then the last +** four hexadecimal digits of the hash may be modified. +** +** See also: [sqlite3_libversion()], +** [sqlite3_libversion_number()], [sqlite3_sourceid()], +** [sqlite_version()] and [sqlite_source_id()]. +*/ +#define SQLITE_VERSION "3.30.1" +#define SQLITE_VERSION_NUMBER 3030001 +#define SQLITE_SOURCE_ID "2019-10-10 20:19:45 18db032d058f1436ce3dea84081f4ee5a0f2259ad97301d43c426bc7f3df1b0b" + +/* +** CAPI3REF: Run-Time Library Version Numbers +** KEYWORDS: sqlite3_version sqlite3_sourceid +** +** These interfaces provide the same information as the [SQLITE_VERSION], +** [SQLITE_VERSION_NUMBER], and [SQLITE_SOURCE_ID] C preprocessor macros +** but are associated with the library instead of the header file. ^(Cautious +** programmers might include assert() statements in their application to +** verify that values returned by these interfaces match the macros in +** the header, and thus ensure that the application is +** compiled with matching library and header files. +** +**
+** assert( sqlite3_libversion_number()==SQLITE_VERSION_NUMBER );
+** assert( strncmp(sqlite3_sourceid(),SQLITE_SOURCE_ID,80)==0 );
+** assert( strcmp(sqlite3_libversion(),SQLITE_VERSION)==0 );
+** 
)^ +** +** ^The sqlite3_version[] string constant contains the text of [SQLITE_VERSION] +** macro. ^The sqlite3_libversion() function returns a pointer to the +** to the sqlite3_version[] string constant. The sqlite3_libversion() +** function is provided for use in DLLs since DLL users usually do not have +** direct access to string constants within the DLL. ^The +** sqlite3_libversion_number() function returns an integer equal to +** [SQLITE_VERSION_NUMBER]. ^(The sqlite3_sourceid() function returns +** a pointer to a string constant whose value is the same as the +** [SQLITE_SOURCE_ID] C preprocessor macro. Except if SQLite is built +** using an edited copy of [the amalgamation], then the last four characters +** of the hash might be different from [SQLITE_SOURCE_ID].)^ +** +** See also: [sqlite_version()] and [sqlite_source_id()]. +*/ +SQLITE_API const char sqlite3_version[] = SQLITE_VERSION; +SQLITE_API const char *sqlite3_libversion(void); +SQLITE_API const char *sqlite3_sourceid(void); +SQLITE_API int sqlite3_libversion_number(void); + +/* +** CAPI3REF: Run-Time Library Compilation Options Diagnostics +** +** ^The sqlite3_compileoption_used() function returns 0 or 1 +** indicating whether the specified option was defined at +** compile time. ^The SQLITE_ prefix may be omitted from the +** option name passed to sqlite3_compileoption_used(). +** +** ^The sqlite3_compileoption_get() function allows iterating +** over the list of options that were defined at compile time by +** returning the N-th compile time option string. ^If N is out of range, +** sqlite3_compileoption_get() returns a NULL pointer. ^The SQLITE_ +** prefix is omitted from any strings returned by +** sqlite3_compileoption_get(). +** +** ^Support for the diagnostic functions sqlite3_compileoption_used() +** and sqlite3_compileoption_get() may be omitted by specifying the +** [SQLITE_OMIT_COMPILEOPTION_DIAGS] option at compile time. +** +** See also: SQL functions [sqlite_compileoption_used()] and +** [sqlite_compileoption_get()] and the [compile_options pragma]. +*/ +#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS +SQLITE_API int sqlite3_compileoption_used(const char *zOptName); +SQLITE_API const char *sqlite3_compileoption_get(int N); +#else +# define sqlite3_compileoption_used(X) 0 +# define sqlite3_compileoption_get(X) ((void*)0) +#endif + +/* +** CAPI3REF: Test To See If The Library Is Threadsafe +** +** ^The sqlite3_threadsafe() function returns zero if and only if +** SQLite was compiled with mutexing code omitted due to the +** [SQLITE_THREADSAFE] compile-time option being set to 0. +** +** SQLite can be compiled with or without mutexes. When +** the [SQLITE_THREADSAFE] C preprocessor macro is 1 or 2, mutexes +** are enabled and SQLite is threadsafe. When the +** [SQLITE_THREADSAFE] macro is 0, +** the mutexes are omitted. Without the mutexes, it is not safe +** to use SQLite concurrently from more than one thread. +** +** Enabling mutexes incurs a measurable performance penalty. +** So if speed is of utmost importance, it makes sense to disable +** the mutexes. But for maximum safety, mutexes should be enabled. +** ^The default behavior is for mutexes to be enabled. +** +** This interface can be used by an application to make sure that the +** version of SQLite that it is linking against was compiled with +** the desired setting of the [SQLITE_THREADSAFE] macro. +** +** This interface only reports on the compile-time mutex setting +** of the [SQLITE_THREADSAFE] flag. If SQLite is compiled with +** SQLITE_THREADSAFE=1 or =2 then mutexes are enabled by default but +** can be fully or partially disabled using a call to [sqlite3_config()] +** with the verbs [SQLITE_CONFIG_SINGLETHREAD], [SQLITE_CONFIG_MULTITHREAD], +** or [SQLITE_CONFIG_SERIALIZED]. ^(The return value of the +** sqlite3_threadsafe() function shows only the compile-time setting of +** thread safety, not any run-time changes to that setting made by +** sqlite3_config(). In other words, the return value from sqlite3_threadsafe() +** is unchanged by calls to sqlite3_config().)^ +** +** See the [threading mode] documentation for additional information. +*/ +SQLITE_API int sqlite3_threadsafe(void); + +/* +** CAPI3REF: Database Connection Handle +** KEYWORDS: {database connection} {database connections} +** +** Each open SQLite database is represented by a pointer to an instance of +** the opaque structure named "sqlite3". It is useful to think of an sqlite3 +** pointer as an object. The [sqlite3_open()], [sqlite3_open16()], and +** [sqlite3_open_v2()] interfaces are its constructors, and [sqlite3_close()] +** and [sqlite3_close_v2()] are its destructors. There are many other +** interfaces (such as +** [sqlite3_prepare_v2()], [sqlite3_create_function()], and +** [sqlite3_busy_timeout()] to name but three) that are methods on an +** sqlite3 object. +*/ +typedef struct sqlite3 sqlite3; + +/* +** CAPI3REF: 64-Bit Integer Types +** KEYWORDS: sqlite_int64 sqlite_uint64 +** +** Because there is no cross-platform way to specify 64-bit integer types +** SQLite includes typedefs for 64-bit signed and unsigned integers. +** +** The sqlite3_int64 and sqlite3_uint64 are the preferred type definitions. +** The sqlite_int64 and sqlite_uint64 types are supported for backwards +** compatibility only. +** +** ^The sqlite3_int64 and sqlite_int64 types can store integer values +** between -9223372036854775808 and +9223372036854775807 inclusive. ^The +** sqlite3_uint64 and sqlite_uint64 types can store integer values +** between 0 and +18446744073709551615 inclusive. +*/ +#ifdef SQLITE_INT64_TYPE + typedef SQLITE_INT64_TYPE sqlite_int64; +# ifdef SQLITE_UINT64_TYPE + typedef SQLITE_UINT64_TYPE sqlite_uint64; +# else + typedef unsigned SQLITE_INT64_TYPE sqlite_uint64; +# endif +#elif defined(_MSC_VER) || defined(__BORLANDC__) + typedef __int64 sqlite_int64; + typedef unsigned __int64 sqlite_uint64; +#else + typedef long long int sqlite_int64; + typedef unsigned long long int sqlite_uint64; +#endif +typedef sqlite_int64 sqlite3_int64; +typedef sqlite_uint64 sqlite3_uint64; + +/* +** If compiling for a processor that lacks floating point support, +** substitute integer for floating-point. +*/ +#ifdef SQLITE_OMIT_FLOATING_POINT +# define double sqlite3_int64 +#endif + +/* +** CAPI3REF: Closing A Database Connection +** DESTRUCTOR: sqlite3 +** +** ^The sqlite3_close() and sqlite3_close_v2() routines are destructors +** for the [sqlite3] object. +** ^Calls to sqlite3_close() and sqlite3_close_v2() return [SQLITE_OK] if +** the [sqlite3] object is successfully destroyed and all associated +** resources are deallocated. +** +** ^If the database connection is associated with unfinalized prepared +** statements or unfinished sqlite3_backup objects then sqlite3_close() +** will leave the database connection open and return [SQLITE_BUSY]. +** ^If sqlite3_close_v2() is called with unfinalized prepared statements +** and/or unfinished sqlite3_backups, then the database connection becomes +** an unusable "zombie" which will automatically be deallocated when the +** last prepared statement is finalized or the last sqlite3_backup is +** finished. The sqlite3_close_v2() interface is intended for use with +** host languages that are garbage collected, and where the order in which +** destructors are called is arbitrary. +** +** Applications should [sqlite3_finalize | finalize] all [prepared statements], +** [sqlite3_blob_close | close] all [BLOB handles], and +** [sqlite3_backup_finish | finish] all [sqlite3_backup] objects associated +** with the [sqlite3] object prior to attempting to close the object. ^If +** sqlite3_close_v2() is called on a [database connection] that still has +** outstanding [prepared statements], [BLOB handles], and/or +** [sqlite3_backup] objects then it returns [SQLITE_OK] and the deallocation +** of resources is deferred until all [prepared statements], [BLOB handles], +** and [sqlite3_backup] objects are also destroyed. +** +** ^If an [sqlite3] object is destroyed while a transaction is open, +** the transaction is automatically rolled back. +** +** The C parameter to [sqlite3_close(C)] and [sqlite3_close_v2(C)] +** must be either a NULL +** pointer or an [sqlite3] object pointer obtained +** from [sqlite3_open()], [sqlite3_open16()], or +** [sqlite3_open_v2()], and not previously closed. +** ^Calling sqlite3_close() or sqlite3_close_v2() with a NULL pointer +** argument is a harmless no-op. +*/ +SQLITE_API int sqlite3_close(sqlite3*); +SQLITE_API int sqlite3_close_v2(sqlite3*); + +/* +** The type for a callback function. +** This is legacy and deprecated. It is included for historical +** compatibility and is not documented. +*/ +typedef int (*sqlite3_callback)(void*,int,char**, char**); + +/* +** CAPI3REF: One-Step Query Execution Interface +** METHOD: sqlite3 +** +** The sqlite3_exec() interface is a convenience wrapper around +** [sqlite3_prepare_v2()], [sqlite3_step()], and [sqlite3_finalize()], +** that allows an application to run multiple statements of SQL +** without having to use a lot of C code. +** +** ^The sqlite3_exec() interface runs zero or more UTF-8 encoded, +** semicolon-separate SQL statements passed into its 2nd argument, +** in the context of the [database connection] passed in as its 1st +** argument. ^If the callback function of the 3rd argument to +** sqlite3_exec() is not NULL, then it is invoked for each result row +** coming out of the evaluated SQL statements. ^The 4th argument to +** sqlite3_exec() is relayed through to the 1st argument of each +** callback invocation. ^If the callback pointer to sqlite3_exec() +** is NULL, then no callback is ever invoked and result rows are +** ignored. +** +** ^If an error occurs while evaluating the SQL statements passed into +** sqlite3_exec(), then execution of the current statement stops and +** subsequent statements are skipped. ^If the 5th parameter to sqlite3_exec() +** is not NULL then any error message is written into memory obtained +** from [sqlite3_malloc()] and passed back through the 5th parameter. +** To avoid memory leaks, the application should invoke [sqlite3_free()] +** on error message strings returned through the 5th parameter of +** sqlite3_exec() after the error message string is no longer needed. +** ^If the 5th parameter to sqlite3_exec() is not NULL and no errors +** occur, then sqlite3_exec() sets the pointer in its 5th parameter to +** NULL before returning. +** +** ^If an sqlite3_exec() callback returns non-zero, the sqlite3_exec() +** routine returns SQLITE_ABORT without invoking the callback again and +** without running any subsequent SQL statements. +** +** ^The 2nd argument to the sqlite3_exec() callback function is the +** number of columns in the result. ^The 3rd argument to the sqlite3_exec() +** callback is an array of pointers to strings obtained as if from +** [sqlite3_column_text()], one for each column. ^If an element of a +** result row is NULL then the corresponding string pointer for the +** sqlite3_exec() callback is a NULL pointer. ^The 4th argument to the +** sqlite3_exec() callback is an array of pointers to strings where each +** entry represents the name of corresponding result column as obtained +** from [sqlite3_column_name()]. +** +** ^If the 2nd parameter to sqlite3_exec() is a NULL pointer, a pointer +** to an empty string, or a pointer that contains only whitespace and/or +** SQL comments, then no SQL statements are evaluated and the database +** is not changed. +** +** Restrictions: +** +**
    +**
  • The application must ensure that the 1st parameter to sqlite3_exec() +** is a valid and open [database connection]. +**
  • The application must not close the [database connection] specified by +** the 1st parameter to sqlite3_exec() while sqlite3_exec() is running. +**
  • The application must not modify the SQL statement text passed into +** the 2nd parameter of sqlite3_exec() while sqlite3_exec() is running. +**
+*/ +SQLITE_API int sqlite3_exec( + sqlite3*, /* An open database */ + const char *sql, /* SQL to be evaluated */ + int (*callback)(void*,int,char**,char**), /* Callback function */ + void *, /* 1st argument to callback */ + char **errmsg /* Error msg written here */ +); + +/* +** CAPI3REF: Result Codes +** KEYWORDS: {result code definitions} +** +** Many SQLite functions return an integer result code from the set shown +** here in order to indicate success or failure. +** +** New error codes may be added in future versions of SQLite. +** +** See also: [extended result code definitions] +*/ +#define SQLITE_OK 0 /* Successful result */ +/* beginning-of-error-codes */ +#define SQLITE_ERROR 1 /* Generic error */ +#define SQLITE_INTERNAL 2 /* Internal logic error in SQLite */ +#define SQLITE_PERM 3 /* Access permission denied */ +#define SQLITE_ABORT 4 /* Callback routine requested an abort */ +#define SQLITE_BUSY 5 /* The database file is locked */ +#define SQLITE_LOCKED 6 /* A table in the database is locked */ +#define SQLITE_NOMEM 7 /* A malloc() failed */ +#define SQLITE_READONLY 8 /* Attempt to write a readonly database */ +#define SQLITE_INTERRUPT 9 /* Operation terminated by sqlite3_interrupt()*/ +#define SQLITE_IOERR 10 /* Some kind of disk I/O error occurred */ +#define SQLITE_CORRUPT 11 /* The database disk image is malformed */ +#define SQLITE_NOTFOUND 12 /* Unknown opcode in sqlite3_file_control() */ +#define SQLITE_FULL 13 /* Insertion failed because database is full */ +#define SQLITE_CANTOPEN 14 /* Unable to open the database file */ +#define SQLITE_PROTOCOL 15 /* Database lock protocol error */ +#define SQLITE_EMPTY 16 /* Internal use only */ +#define SQLITE_SCHEMA 17 /* The database schema changed */ +#define SQLITE_TOOBIG 18 /* String or BLOB exceeds size limit */ +#define SQLITE_CONSTRAINT 19 /* Abort due to constraint violation */ +#define SQLITE_MISMATCH 20 /* Data type mismatch */ +#define SQLITE_MISUSE 21 /* Library used incorrectly */ +#define SQLITE_NOLFS 22 /* Uses OS features not supported on host */ +#define SQLITE_AUTH 23 /* Authorization denied */ +#define SQLITE_FORMAT 24 /* Not used */ +#define SQLITE_RANGE 25 /* 2nd parameter to sqlite3_bind out of range */ +#define SQLITE_NOTADB 26 /* File opened that is not a database file */ +#define SQLITE_NOTICE 27 /* Notifications from sqlite3_log() */ +#define SQLITE_WARNING 28 /* Warnings from sqlite3_log() */ +#define SQLITE_ROW 100 /* sqlite3_step() has another row ready */ +#define SQLITE_DONE 101 /* sqlite3_step() has finished executing */ +/* end-of-error-codes */ + +/* +** CAPI3REF: Extended Result Codes +** KEYWORDS: {extended result code definitions} +** +** In its default configuration, SQLite API routines return one of 30 integer +** [result codes]. However, experience has shown that many of +** these result codes are too coarse-grained. They do not provide as +** much information about problems as programmers might like. In an effort to +** address this, newer versions of SQLite (version 3.3.8 [dateof:3.3.8] +** and later) include +** support for additional result codes that provide more detailed information +** about errors. These [extended result codes] are enabled or disabled +** on a per database connection basis using the +** [sqlite3_extended_result_codes()] API. Or, the extended code for +** the most recent error can be obtained using +** [sqlite3_extended_errcode()]. +*/ +#define SQLITE_ERROR_MISSING_COLLSEQ (SQLITE_ERROR | (1<<8)) +#define SQLITE_ERROR_RETRY (SQLITE_ERROR | (2<<8)) +#define SQLITE_ERROR_SNAPSHOT (SQLITE_ERROR | (3<<8)) +#define SQLITE_IOERR_READ (SQLITE_IOERR | (1<<8)) +#define SQLITE_IOERR_SHORT_READ (SQLITE_IOERR | (2<<8)) +#define SQLITE_IOERR_WRITE (SQLITE_IOERR | (3<<8)) +#define SQLITE_IOERR_FSYNC (SQLITE_IOERR | (4<<8)) +#define SQLITE_IOERR_DIR_FSYNC (SQLITE_IOERR | (5<<8)) +#define SQLITE_IOERR_TRUNCATE (SQLITE_IOERR | (6<<8)) +#define SQLITE_IOERR_FSTAT (SQLITE_IOERR | (7<<8)) +#define SQLITE_IOERR_UNLOCK (SQLITE_IOERR | (8<<8)) +#define SQLITE_IOERR_RDLOCK (SQLITE_IOERR | (9<<8)) +#define SQLITE_IOERR_DELETE (SQLITE_IOERR | (10<<8)) +#define SQLITE_IOERR_BLOCKED (SQLITE_IOERR | (11<<8)) +#define SQLITE_IOERR_NOMEM (SQLITE_IOERR | (12<<8)) +#define SQLITE_IOERR_ACCESS (SQLITE_IOERR | (13<<8)) +#define SQLITE_IOERR_CHECKRESERVEDLOCK (SQLITE_IOERR | (14<<8)) +#define SQLITE_IOERR_LOCK (SQLITE_IOERR | (15<<8)) +#define SQLITE_IOERR_CLOSE (SQLITE_IOERR | (16<<8)) +#define SQLITE_IOERR_DIR_CLOSE (SQLITE_IOERR | (17<<8)) +#define SQLITE_IOERR_SHMOPEN (SQLITE_IOERR | (18<<8)) +#define SQLITE_IOERR_SHMSIZE (SQLITE_IOERR | (19<<8)) +#define SQLITE_IOERR_SHMLOCK (SQLITE_IOERR | (20<<8)) +#define SQLITE_IOERR_SHMMAP (SQLITE_IOERR | (21<<8)) +#define SQLITE_IOERR_SEEK (SQLITE_IOERR | (22<<8)) +#define SQLITE_IOERR_DELETE_NOENT (SQLITE_IOERR | (23<<8)) +#define SQLITE_IOERR_MMAP (SQLITE_IOERR | (24<<8)) +#define SQLITE_IOERR_GETTEMPPATH (SQLITE_IOERR | (25<<8)) +#define SQLITE_IOERR_CONVPATH (SQLITE_IOERR | (26<<8)) +#define SQLITE_IOERR_VNODE (SQLITE_IOERR | (27<<8)) +#define SQLITE_IOERR_AUTH (SQLITE_IOERR | (28<<8)) +#define SQLITE_IOERR_BEGIN_ATOMIC (SQLITE_IOERR | (29<<8)) +#define SQLITE_IOERR_COMMIT_ATOMIC (SQLITE_IOERR | (30<<8)) +#define SQLITE_IOERR_ROLLBACK_ATOMIC (SQLITE_IOERR | (31<<8)) +#define SQLITE_LOCKED_SHAREDCACHE (SQLITE_LOCKED | (1<<8)) +#define SQLITE_LOCKED_VTAB (SQLITE_LOCKED | (2<<8)) +#define SQLITE_BUSY_RECOVERY (SQLITE_BUSY | (1<<8)) +#define SQLITE_BUSY_SNAPSHOT (SQLITE_BUSY | (2<<8)) +#define SQLITE_CANTOPEN_NOTEMPDIR (SQLITE_CANTOPEN | (1<<8)) +#define SQLITE_CANTOPEN_ISDIR (SQLITE_CANTOPEN | (2<<8)) +#define SQLITE_CANTOPEN_FULLPATH (SQLITE_CANTOPEN | (3<<8)) +#define SQLITE_CANTOPEN_CONVPATH (SQLITE_CANTOPEN | (4<<8)) +#define SQLITE_CANTOPEN_DIRTYWAL (SQLITE_CANTOPEN | (5<<8)) /* Not Used */ +#define SQLITE_CORRUPT_VTAB (SQLITE_CORRUPT | (1<<8)) +#define SQLITE_CORRUPT_SEQUENCE (SQLITE_CORRUPT | (2<<8)) +#define SQLITE_READONLY_RECOVERY (SQLITE_READONLY | (1<<8)) +#define SQLITE_READONLY_CANTLOCK (SQLITE_READONLY | (2<<8)) +#define SQLITE_READONLY_ROLLBACK (SQLITE_READONLY | (3<<8)) +#define SQLITE_READONLY_DBMOVED (SQLITE_READONLY | (4<<8)) +#define SQLITE_READONLY_CANTINIT (SQLITE_READONLY | (5<<8)) +#define SQLITE_READONLY_DIRECTORY (SQLITE_READONLY | (6<<8)) +#define SQLITE_ABORT_ROLLBACK (SQLITE_ABORT | (2<<8)) +#define SQLITE_CONSTRAINT_CHECK (SQLITE_CONSTRAINT | (1<<8)) +#define SQLITE_CONSTRAINT_COMMITHOOK (SQLITE_CONSTRAINT | (2<<8)) +#define SQLITE_CONSTRAINT_FOREIGNKEY (SQLITE_CONSTRAINT | (3<<8)) +#define SQLITE_CONSTRAINT_FUNCTION (SQLITE_CONSTRAINT | (4<<8)) +#define SQLITE_CONSTRAINT_NOTNULL (SQLITE_CONSTRAINT | (5<<8)) +#define SQLITE_CONSTRAINT_PRIMARYKEY (SQLITE_CONSTRAINT | (6<<8)) +#define SQLITE_CONSTRAINT_TRIGGER (SQLITE_CONSTRAINT | (7<<8)) +#define SQLITE_CONSTRAINT_UNIQUE (SQLITE_CONSTRAINT | (8<<8)) +#define SQLITE_CONSTRAINT_VTAB (SQLITE_CONSTRAINT | (9<<8)) +#define SQLITE_CONSTRAINT_ROWID (SQLITE_CONSTRAINT |(10<<8)) +#define SQLITE_NOTICE_RECOVER_WAL (SQLITE_NOTICE | (1<<8)) +#define SQLITE_NOTICE_RECOVER_ROLLBACK (SQLITE_NOTICE | (2<<8)) +#define SQLITE_WARNING_AUTOINDEX (SQLITE_WARNING | (1<<8)) +#define SQLITE_AUTH_USER (SQLITE_AUTH | (1<<8)) +#define SQLITE_OK_LOAD_PERMANENTLY (SQLITE_OK | (1<<8)) + +/* +** CAPI3REF: Flags For File Open Operations +** +** These bit values are intended for use in the +** 3rd parameter to the [sqlite3_open_v2()] interface and +** in the 4th parameter to the [sqlite3_vfs.xOpen] method. +*/ +#define SQLITE_OPEN_READONLY 0x00000001 /* Ok for sqlite3_open_v2() */ +#define SQLITE_OPEN_READWRITE 0x00000002 /* Ok for sqlite3_open_v2() */ +#define SQLITE_OPEN_CREATE 0x00000004 /* Ok for sqlite3_open_v2() */ +#define SQLITE_OPEN_DELETEONCLOSE 0x00000008 /* VFS only */ +#define SQLITE_OPEN_EXCLUSIVE 0x00000010 /* VFS only */ +#define SQLITE_OPEN_AUTOPROXY 0x00000020 /* VFS only */ +#define SQLITE_OPEN_URI 0x00000040 /* Ok for sqlite3_open_v2() */ +#define SQLITE_OPEN_MEMORY 0x00000080 /* Ok for sqlite3_open_v2() */ +#define SQLITE_OPEN_MAIN_DB 0x00000100 /* VFS only */ +#define SQLITE_OPEN_TEMP_DB 0x00000200 /* VFS only */ +#define SQLITE_OPEN_TRANSIENT_DB 0x00000400 /* VFS only */ +#define SQLITE_OPEN_MAIN_JOURNAL 0x00000800 /* VFS only */ +#define SQLITE_OPEN_TEMP_JOURNAL 0x00001000 /* VFS only */ +#define SQLITE_OPEN_SUBJOURNAL 0x00002000 /* VFS only */ +#define SQLITE_OPEN_MASTER_JOURNAL 0x00004000 /* VFS only */ +#define SQLITE_OPEN_NOMUTEX 0x00008000 /* Ok for sqlite3_open_v2() */ +#define SQLITE_OPEN_FULLMUTEX 0x00010000 /* Ok for sqlite3_open_v2() */ +#define SQLITE_OPEN_SHAREDCACHE 0x00020000 /* Ok for sqlite3_open_v2() */ +#define SQLITE_OPEN_PRIVATECACHE 0x00040000 /* Ok for sqlite3_open_v2() */ +#define SQLITE_OPEN_WAL 0x00080000 /* VFS only */ + +/* Reserved: 0x00F00000 */ + +/* +** CAPI3REF: Device Characteristics +** +** The xDeviceCharacteristics method of the [sqlite3_io_methods] +** object returns an integer which is a vector of these +** bit values expressing I/O characteristics of the mass storage +** device that holds the file that the [sqlite3_io_methods] +** refers to. +** +** The SQLITE_IOCAP_ATOMIC property means that all writes of +** any size are atomic. The SQLITE_IOCAP_ATOMICnnn values +** mean that writes of blocks that are nnn bytes in size and +** are aligned to an address which is an integer multiple of +** nnn are atomic. The SQLITE_IOCAP_SAFE_APPEND value means +** that when data is appended to a file, the data is appended +** first then the size of the file is extended, never the other +** way around. The SQLITE_IOCAP_SEQUENTIAL property means that +** information is written to disk in the same order as calls +** to xWrite(). The SQLITE_IOCAP_POWERSAFE_OVERWRITE property means that +** after reboot following a crash or power loss, the only bytes in a +** file that were written at the application level might have changed +** and that adjacent bytes, even bytes within the same sector are +** guaranteed to be unchanged. The SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN +** flag indicates that a file cannot be deleted when open. The +** SQLITE_IOCAP_IMMUTABLE flag indicates that the file is on +** read-only media and cannot be changed even by processes with +** elevated privileges. +** +** The SQLITE_IOCAP_BATCH_ATOMIC property means that the underlying +** filesystem supports doing multiple write operations atomically when those +** write operations are bracketed by [SQLITE_FCNTL_BEGIN_ATOMIC_WRITE] and +** [SQLITE_FCNTL_COMMIT_ATOMIC_WRITE]. +*/ +#define SQLITE_IOCAP_ATOMIC 0x00000001 +#define SQLITE_IOCAP_ATOMIC512 0x00000002 +#define SQLITE_IOCAP_ATOMIC1K 0x00000004 +#define SQLITE_IOCAP_ATOMIC2K 0x00000008 +#define SQLITE_IOCAP_ATOMIC4K 0x00000010 +#define SQLITE_IOCAP_ATOMIC8K 0x00000020 +#define SQLITE_IOCAP_ATOMIC16K 0x00000040 +#define SQLITE_IOCAP_ATOMIC32K 0x00000080 +#define SQLITE_IOCAP_ATOMIC64K 0x00000100 +#define SQLITE_IOCAP_SAFE_APPEND 0x00000200 +#define SQLITE_IOCAP_SEQUENTIAL 0x00000400 +#define SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN 0x00000800 +#define SQLITE_IOCAP_POWERSAFE_OVERWRITE 0x00001000 +#define SQLITE_IOCAP_IMMUTABLE 0x00002000 +#define SQLITE_IOCAP_BATCH_ATOMIC 0x00004000 + +/* +** CAPI3REF: File Locking Levels +** +** SQLite uses one of these integer values as the second +** argument to calls it makes to the xLock() and xUnlock() methods +** of an [sqlite3_io_methods] object. +*/ +#define SQLITE_LOCK_NONE 0 +#define SQLITE_LOCK_SHARED 1 +#define SQLITE_LOCK_RESERVED 2 +#define SQLITE_LOCK_PENDING 3 +#define SQLITE_LOCK_EXCLUSIVE 4 + +/* +** CAPI3REF: Synchronization Type Flags +** +** When SQLite invokes the xSync() method of an +** [sqlite3_io_methods] object it uses a combination of +** these integer values as the second argument. +** +** When the SQLITE_SYNC_DATAONLY flag is used, it means that the +** sync operation only needs to flush data to mass storage. Inode +** information need not be flushed. If the lower four bits of the flag +** equal SQLITE_SYNC_NORMAL, that means to use normal fsync() semantics. +** If the lower four bits equal SQLITE_SYNC_FULL, that means +** to use Mac OS X style fullsync instead of fsync(). +** +** Do not confuse the SQLITE_SYNC_NORMAL and SQLITE_SYNC_FULL flags +** with the [PRAGMA synchronous]=NORMAL and [PRAGMA synchronous]=FULL +** settings. The [synchronous pragma] determines when calls to the +** xSync VFS method occur and applies uniformly across all platforms. +** The SQLITE_SYNC_NORMAL and SQLITE_SYNC_FULL flags determine how +** energetic or rigorous or forceful the sync operations are and +** only make a difference on Mac OSX for the default SQLite code. +** (Third-party VFS implementations might also make the distinction +** between SQLITE_SYNC_NORMAL and SQLITE_SYNC_FULL, but among the +** operating systems natively supported by SQLite, only Mac OSX +** cares about the difference.) +*/ +#define SQLITE_SYNC_NORMAL 0x00002 +#define SQLITE_SYNC_FULL 0x00003 +#define SQLITE_SYNC_DATAONLY 0x00010 + +/* +** CAPI3REF: OS Interface Open File Handle +** +** An [sqlite3_file] object represents an open file in the +** [sqlite3_vfs | OS interface layer]. Individual OS interface +** implementations will +** want to subclass this object by appending additional fields +** for their own use. The pMethods entry is a pointer to an +** [sqlite3_io_methods] object that defines methods for performing +** I/O operations on the open file. +*/ +typedef struct sqlite3_file sqlite3_file; +struct sqlite3_file { + const struct sqlite3_io_methods *pMethods; /* Methods for an open file */ +}; + +/* +** CAPI3REF: OS Interface File Virtual Methods Object +** +** Every file opened by the [sqlite3_vfs.xOpen] method populates an +** [sqlite3_file] object (or, more commonly, a subclass of the +** [sqlite3_file] object) with a pointer to an instance of this object. +** This object defines the methods used to perform various operations +** against the open file represented by the [sqlite3_file] object. +** +** If the [sqlite3_vfs.xOpen] method sets the sqlite3_file.pMethods element +** to a non-NULL pointer, then the sqlite3_io_methods.xClose method +** may be invoked even if the [sqlite3_vfs.xOpen] reported that it failed. The +** only way to prevent a call to xClose following a failed [sqlite3_vfs.xOpen] +** is for the [sqlite3_vfs.xOpen] to set the sqlite3_file.pMethods element +** to NULL. +** +** The flags argument to xSync may be one of [SQLITE_SYNC_NORMAL] or +** [SQLITE_SYNC_FULL]. The first choice is the normal fsync(). +** The second choice is a Mac OS X style fullsync. The [SQLITE_SYNC_DATAONLY] +** flag may be ORed in to indicate that only the data of the file +** and not its inode needs to be synced. +** +** The integer values to xLock() and xUnlock() are one of +**
    +**
  • [SQLITE_LOCK_NONE], +**
  • [SQLITE_LOCK_SHARED], +**
  • [SQLITE_LOCK_RESERVED], +**
  • [SQLITE_LOCK_PENDING], or +**
  • [SQLITE_LOCK_EXCLUSIVE]. +**
+** xLock() increases the lock. xUnlock() decreases the lock. +** The xCheckReservedLock() method checks whether any database connection, +** either in this process or in some other process, is holding a RESERVED, +** PENDING, or EXCLUSIVE lock on the file. It returns true +** if such a lock exists and false otherwise. +** +** The xFileControl() method is a generic interface that allows custom +** VFS implementations to directly control an open file using the +** [sqlite3_file_control()] interface. The second "op" argument is an +** integer opcode. The third argument is a generic pointer intended to +** point to a structure that may contain arguments or space in which to +** write return values. Potential uses for xFileControl() might be +** functions to enable blocking locks with timeouts, to change the +** locking strategy (for example to use dot-file locks), to inquire +** about the status of a lock, or to break stale locks. The SQLite +** core reserves all opcodes less than 100 for its own use. +** A [file control opcodes | list of opcodes] less than 100 is available. +** Applications that define a custom xFileControl method should use opcodes +** greater than 100 to avoid conflicts. VFS implementations should +** return [SQLITE_NOTFOUND] for file control opcodes that they do not +** recognize. +** +** The xSectorSize() method returns the sector size of the +** device that underlies the file. The sector size is the +** minimum write that can be performed without disturbing +** other bytes in the file. The xDeviceCharacteristics() +** method returns a bit vector describing behaviors of the +** underlying device: +** +**
    +**
  • [SQLITE_IOCAP_ATOMIC] +**
  • [SQLITE_IOCAP_ATOMIC512] +**
  • [SQLITE_IOCAP_ATOMIC1K] +**
  • [SQLITE_IOCAP_ATOMIC2K] +**
  • [SQLITE_IOCAP_ATOMIC4K] +**
  • [SQLITE_IOCAP_ATOMIC8K] +**
  • [SQLITE_IOCAP_ATOMIC16K] +**
  • [SQLITE_IOCAP_ATOMIC32K] +**
  • [SQLITE_IOCAP_ATOMIC64K] +**
  • [SQLITE_IOCAP_SAFE_APPEND] +**
  • [SQLITE_IOCAP_SEQUENTIAL] +**
  • [SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN] +**
  • [SQLITE_IOCAP_POWERSAFE_OVERWRITE] +**
  • [SQLITE_IOCAP_IMMUTABLE] +**
  • [SQLITE_IOCAP_BATCH_ATOMIC] +**
+** +** The SQLITE_IOCAP_ATOMIC property means that all writes of +** any size are atomic. The SQLITE_IOCAP_ATOMICnnn values +** mean that writes of blocks that are nnn bytes in size and +** are aligned to an address which is an integer multiple of +** nnn are atomic. The SQLITE_IOCAP_SAFE_APPEND value means +** that when data is appended to a file, the data is appended +** first then the size of the file is extended, never the other +** way around. The SQLITE_IOCAP_SEQUENTIAL property means that +** information is written to disk in the same order as calls +** to xWrite(). +** +** If xRead() returns SQLITE_IOERR_SHORT_READ it must also fill +** in the unread portions of the buffer with zeros. A VFS that +** fails to zero-fill short reads might seem to work. However, +** failure to zero-fill short reads will eventually lead to +** database corruption. +*/ +typedef struct sqlite3_io_methods sqlite3_io_methods; +struct sqlite3_io_methods { + int iVersion; + int (*xClose)(sqlite3_file*); + int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst); + int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst); + int (*xTruncate)(sqlite3_file*, sqlite3_int64 size); + int (*xSync)(sqlite3_file*, int flags); + int (*xFileSize)(sqlite3_file*, sqlite3_int64 *pSize); + int (*xLock)(sqlite3_file*, int); + int (*xUnlock)(sqlite3_file*, int); + int (*xCheckReservedLock)(sqlite3_file*, int *pResOut); + int (*xFileControl)(sqlite3_file*, int op, void *pArg); + int (*xSectorSize)(sqlite3_file*); + int (*xDeviceCharacteristics)(sqlite3_file*); + /* Methods above are valid for version 1 */ + int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**); + int (*xShmLock)(sqlite3_file*, int offset, int n, int flags); + void (*xShmBarrier)(sqlite3_file*); + int (*xShmUnmap)(sqlite3_file*, int deleteFlag); + /* Methods above are valid for version 2 */ + int (*xFetch)(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp); + int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p); + /* Methods above are valid for version 3 */ + /* Additional methods may be added in future releases */ +}; + +/* +** CAPI3REF: Standard File Control Opcodes +** KEYWORDS: {file control opcodes} {file control opcode} +** +** These integer constants are opcodes for the xFileControl method +** of the [sqlite3_io_methods] object and for the [sqlite3_file_control()] +** interface. +** +**
    +**
  • [[SQLITE_FCNTL_LOCKSTATE]] +** The [SQLITE_FCNTL_LOCKSTATE] opcode is used for debugging. This +** opcode causes the xFileControl method to write the current state of +** the lock (one of [SQLITE_LOCK_NONE], [SQLITE_LOCK_SHARED], +** [SQLITE_LOCK_RESERVED], [SQLITE_LOCK_PENDING], or [SQLITE_LOCK_EXCLUSIVE]) +** into an integer that the pArg argument points to. This capability +** is used during testing and is only available when the SQLITE_TEST +** compile-time option is used. +** +**
  • [[SQLITE_FCNTL_SIZE_HINT]] +** The [SQLITE_FCNTL_SIZE_HINT] opcode is used by SQLite to give the VFS +** layer a hint of how large the database file will grow to be during the +** current transaction. This hint is not guaranteed to be accurate but it +** is often close. The underlying VFS might choose to preallocate database +** file space based on this hint in order to help writes to the database +** file run faster. +** +**
  • [[SQLITE_FCNTL_SIZE_LIMIT]] +** The [SQLITE_FCNTL_SIZE_LIMIT] opcode is used by in-memory VFS that +** implements [sqlite3_deserialize()] to set an upper bound on the size +** of the in-memory database. The argument is a pointer to a [sqlite3_int64]. +** If the integer pointed to is negative, then it is filled in with the +** current limit. Otherwise the limit is set to the larger of the value +** of the integer pointed to and the current database size. The integer +** pointed to is set to the new limit. +** +**
  • [[SQLITE_FCNTL_CHUNK_SIZE]] +** The [SQLITE_FCNTL_CHUNK_SIZE] opcode is used to request that the VFS +** extends and truncates the database file in chunks of a size specified +** by the user. The fourth argument to [sqlite3_file_control()] should +** point to an integer (type int) containing the new chunk-size to use +** for the nominated database. Allocating database file space in large +** chunks (say 1MB at a time), may reduce file-system fragmentation and +** improve performance on some systems. +** +**
  • [[SQLITE_FCNTL_FILE_POINTER]] +** The [SQLITE_FCNTL_FILE_POINTER] opcode is used to obtain a pointer +** to the [sqlite3_file] object associated with a particular database +** connection. See also [SQLITE_FCNTL_JOURNAL_POINTER]. +** +**
  • [[SQLITE_FCNTL_JOURNAL_POINTER]] +** The [SQLITE_FCNTL_JOURNAL_POINTER] opcode is used to obtain a pointer +** to the [sqlite3_file] object associated with the journal file (either +** the [rollback journal] or the [write-ahead log]) for a particular database +** connection. See also [SQLITE_FCNTL_FILE_POINTER]. +** +**
  • [[SQLITE_FCNTL_SYNC_OMITTED]] +** No longer in use. +** +**
  • [[SQLITE_FCNTL_SYNC]] +** The [SQLITE_FCNTL_SYNC] opcode is generated internally by SQLite and +** sent to the VFS immediately before the xSync method is invoked on a +** database file descriptor. Or, if the xSync method is not invoked +** because the user has configured SQLite with +** [PRAGMA synchronous | PRAGMA synchronous=OFF] it is invoked in place +** of the xSync method. In most cases, the pointer argument passed with +** this file-control is NULL. However, if the database file is being synced +** as part of a multi-database commit, the argument points to a nul-terminated +** string containing the transactions master-journal file name. VFSes that +** do not need this signal should silently ignore this opcode. Applications +** should not call [sqlite3_file_control()] with this opcode as doing so may +** disrupt the operation of the specialized VFSes that do require it. +** +**
  • [[SQLITE_FCNTL_COMMIT_PHASETWO]] +** The [SQLITE_FCNTL_COMMIT_PHASETWO] opcode is generated internally by SQLite +** and sent to the VFS after a transaction has been committed immediately +** but before the database is unlocked. VFSes that do not need this signal +** should silently ignore this opcode. Applications should not call +** [sqlite3_file_control()] with this opcode as doing so may disrupt the +** operation of the specialized VFSes that do require it. +** +**
  • [[SQLITE_FCNTL_WIN32_AV_RETRY]] +** ^The [SQLITE_FCNTL_WIN32_AV_RETRY] opcode is used to configure automatic +** retry counts and intervals for certain disk I/O operations for the +** windows [VFS] in order to provide robustness in the presence of +** anti-virus programs. By default, the windows VFS will retry file read, +** file write, and file delete operations up to 10 times, with a delay +** of 25 milliseconds before the first retry and with the delay increasing +** by an additional 25 milliseconds with each subsequent retry. This +** opcode allows these two values (10 retries and 25 milliseconds of delay) +** to be adjusted. The values are changed for all database connections +** within the same process. The argument is a pointer to an array of two +** integers where the first integer is the new retry count and the second +** integer is the delay. If either integer is negative, then the setting +** is not changed but instead the prior value of that setting is written +** into the array entry, allowing the current retry settings to be +** interrogated. The zDbName parameter is ignored. +** +**
  • [[SQLITE_FCNTL_PERSIST_WAL]] +** ^The [SQLITE_FCNTL_PERSIST_WAL] opcode is used to set or query the +** persistent [WAL | Write Ahead Log] setting. By default, the auxiliary +** write ahead log ([WAL file]) and shared memory +** files used for transaction control +** are automatically deleted when the latest connection to the database +** closes. Setting persistent WAL mode causes those files to persist after +** close. Persisting the files is useful when other processes that do not +** have write permission on the directory containing the database file want +** to read the database file, as the WAL and shared memory files must exist +** in order for the database to be readable. The fourth parameter to +** [sqlite3_file_control()] for this opcode should be a pointer to an integer. +** That integer is 0 to disable persistent WAL mode or 1 to enable persistent +** WAL mode. If the integer is -1, then it is overwritten with the current +** WAL persistence setting. +** +**
  • [[SQLITE_FCNTL_POWERSAFE_OVERWRITE]] +** ^The [SQLITE_FCNTL_POWERSAFE_OVERWRITE] opcode is used to set or query the +** persistent "powersafe-overwrite" or "PSOW" setting. The PSOW setting +** determines the [SQLITE_IOCAP_POWERSAFE_OVERWRITE] bit of the +** xDeviceCharacteristics methods. The fourth parameter to +** [sqlite3_file_control()] for this opcode should be a pointer to an integer. +** That integer is 0 to disable zero-damage mode or 1 to enable zero-damage +** mode. If the integer is -1, then it is overwritten with the current +** zero-damage mode setting. +** +**
  • [[SQLITE_FCNTL_OVERWRITE]] +** ^The [SQLITE_FCNTL_OVERWRITE] opcode is invoked by SQLite after opening +** a write transaction to indicate that, unless it is rolled back for some +** reason, the entire database file will be overwritten by the current +** transaction. This is used by VACUUM operations. +** +**
  • [[SQLITE_FCNTL_VFSNAME]] +** ^The [SQLITE_FCNTL_VFSNAME] opcode can be used to obtain the names of +** all [VFSes] in the VFS stack. The names are of all VFS shims and the +** final bottom-level VFS are written into memory obtained from +** [sqlite3_malloc()] and the result is stored in the char* variable +** that the fourth parameter of [sqlite3_file_control()] points to. +** The caller is responsible for freeing the memory when done. As with +** all file-control actions, there is no guarantee that this will actually +** do anything. Callers should initialize the char* variable to a NULL +** pointer in case this file-control is not implemented. This file-control +** is intended for diagnostic use only. +** +**
  • [[SQLITE_FCNTL_VFS_POINTER]] +** ^The [SQLITE_FCNTL_VFS_POINTER] opcode finds a pointer to the top-level +** [VFSes] currently in use. ^(The argument X in +** sqlite3_file_control(db,SQLITE_FCNTL_VFS_POINTER,X) must be +** of type "[sqlite3_vfs] **". This opcodes will set *X +** to a pointer to the top-level VFS.)^ +** ^When there are multiple VFS shims in the stack, this opcode finds the +** upper-most shim only. +** +**
  • [[SQLITE_FCNTL_PRAGMA]] +** ^Whenever a [PRAGMA] statement is parsed, an [SQLITE_FCNTL_PRAGMA] +** file control is sent to the open [sqlite3_file] object corresponding +** to the database file to which the pragma statement refers. ^The argument +** to the [SQLITE_FCNTL_PRAGMA] file control is an array of +** pointers to strings (char**) in which the second element of the array +** is the name of the pragma and the third element is the argument to the +** pragma or NULL if the pragma has no argument. ^The handler for an +** [SQLITE_FCNTL_PRAGMA] file control can optionally make the first element +** of the char** argument point to a string obtained from [sqlite3_mprintf()] +** or the equivalent and that string will become the result of the pragma or +** the error message if the pragma fails. ^If the +** [SQLITE_FCNTL_PRAGMA] file control returns [SQLITE_NOTFOUND], then normal +** [PRAGMA] processing continues. ^If the [SQLITE_FCNTL_PRAGMA] +** file control returns [SQLITE_OK], then the parser assumes that the +** VFS has handled the PRAGMA itself and the parser generates a no-op +** prepared statement if result string is NULL, or that returns a copy +** of the result string if the string is non-NULL. +** ^If the [SQLITE_FCNTL_PRAGMA] file control returns +** any result code other than [SQLITE_OK] or [SQLITE_NOTFOUND], that means +** that the VFS encountered an error while handling the [PRAGMA] and the +** compilation of the PRAGMA fails with an error. ^The [SQLITE_FCNTL_PRAGMA] +** file control occurs at the beginning of pragma statement analysis and so +** it is able to override built-in [PRAGMA] statements. +** +**
  • [[SQLITE_FCNTL_BUSYHANDLER]] +** ^The [SQLITE_FCNTL_BUSYHANDLER] +** file-control may be invoked by SQLite on the database file handle +** shortly after it is opened in order to provide a custom VFS with access +** to the connections busy-handler callback. The argument is of type (void **) +** - an array of two (void *) values. The first (void *) actually points +** to a function of type (int (*)(void *)). In order to invoke the connections +** busy-handler, this function should be invoked with the second (void *) in +** the array as the only argument. If it returns non-zero, then the operation +** should be retried. If it returns zero, the custom VFS should abandon the +** current operation. +** +**
  • [[SQLITE_FCNTL_TEMPFILENAME]] +** ^Application can invoke the [SQLITE_FCNTL_TEMPFILENAME] file-control +** to have SQLite generate a +** temporary filename using the same algorithm that is followed to generate +** temporary filenames for TEMP tables and other internal uses. The +** argument should be a char** which will be filled with the filename +** written into memory obtained from [sqlite3_malloc()]. The caller should +** invoke [sqlite3_free()] on the result to avoid a memory leak. +** +**
  • [[SQLITE_FCNTL_MMAP_SIZE]] +** The [SQLITE_FCNTL_MMAP_SIZE] file control is used to query or set the +** maximum number of bytes that will be used for memory-mapped I/O. +** The argument is a pointer to a value of type sqlite3_int64 that +** is an advisory maximum number of bytes in the file to memory map. The +** pointer is overwritten with the old value. The limit is not changed if +** the value originally pointed to is negative, and so the current limit +** can be queried by passing in a pointer to a negative number. This +** file-control is used internally to implement [PRAGMA mmap_size]. +** +**
  • [[SQLITE_FCNTL_TRACE]] +** The [SQLITE_FCNTL_TRACE] file control provides advisory information +** to the VFS about what the higher layers of the SQLite stack are doing. +** This file control is used by some VFS activity tracing [shims]. +** The argument is a zero-terminated string. Higher layers in the +** SQLite stack may generate instances of this file control if +** the [SQLITE_USE_FCNTL_TRACE] compile-time option is enabled. +** +**
  • [[SQLITE_FCNTL_HAS_MOVED]] +** The [SQLITE_FCNTL_HAS_MOVED] file control interprets its argument as a +** pointer to an integer and it writes a boolean into that integer depending +** on whether or not the file has been renamed, moved, or deleted since it +** was first opened. +** +**
  • [[SQLITE_FCNTL_WIN32_GET_HANDLE]] +** The [SQLITE_FCNTL_WIN32_GET_HANDLE] opcode can be used to obtain the +** underlying native file handle associated with a file handle. This file +** control interprets its argument as a pointer to a native file handle and +** writes the resulting value there. +** +**
  • [[SQLITE_FCNTL_WIN32_SET_HANDLE]] +** The [SQLITE_FCNTL_WIN32_SET_HANDLE] opcode is used for debugging. This +** opcode causes the xFileControl method to swap the file handle with the one +** pointed to by the pArg argument. This capability is used during testing +** and only needs to be supported when SQLITE_TEST is defined. +** +**
  • [[SQLITE_FCNTL_WAL_BLOCK]] +** The [SQLITE_FCNTL_WAL_BLOCK] is a signal to the VFS layer that it might +** be advantageous to block on the next WAL lock if the lock is not immediately +** available. The WAL subsystem issues this signal during rare +** circumstances in order to fix a problem with priority inversion. +** Applications should not use this file-control. +** +**
  • [[SQLITE_FCNTL_ZIPVFS]] +** The [SQLITE_FCNTL_ZIPVFS] opcode is implemented by zipvfs only. All other +** VFS should return SQLITE_NOTFOUND for this opcode. +** +**
  • [[SQLITE_FCNTL_RBU]] +** The [SQLITE_FCNTL_RBU] opcode is implemented by the special VFS used by +** the RBU extension only. All other VFS should return SQLITE_NOTFOUND for +** this opcode. +** +**
  • [[SQLITE_FCNTL_BEGIN_ATOMIC_WRITE]] +** If the [SQLITE_FCNTL_BEGIN_ATOMIC_WRITE] opcode returns SQLITE_OK, then +** the file descriptor is placed in "batch write mode", which +** means all subsequent write operations will be deferred and done +** atomically at the next [SQLITE_FCNTL_COMMIT_ATOMIC_WRITE]. Systems +** that do not support batch atomic writes will return SQLITE_NOTFOUND. +** ^Following a successful SQLITE_FCNTL_BEGIN_ATOMIC_WRITE and prior to +** the closing [SQLITE_FCNTL_COMMIT_ATOMIC_WRITE] or +** [SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE], SQLite will make +** no VFS interface calls on the same [sqlite3_file] file descriptor +** except for calls to the xWrite method and the xFileControl method +** with [SQLITE_FCNTL_SIZE_HINT]. +** +**
  • [[SQLITE_FCNTL_COMMIT_ATOMIC_WRITE]] +** The [SQLITE_FCNTL_COMMIT_ATOMIC_WRITE] opcode causes all write +** operations since the previous successful call to +** [SQLITE_FCNTL_BEGIN_ATOMIC_WRITE] to be performed atomically. +** This file control returns [SQLITE_OK] if and only if the writes were +** all performed successfully and have been committed to persistent storage. +** ^Regardless of whether or not it is successful, this file control takes +** the file descriptor out of batch write mode so that all subsequent +** write operations are independent. +** ^SQLite will never invoke SQLITE_FCNTL_COMMIT_ATOMIC_WRITE without +** a prior successful call to [SQLITE_FCNTL_BEGIN_ATOMIC_WRITE]. +** +**
  • [[SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE]] +** The [SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE] opcode causes all write +** operations since the previous successful call to +** [SQLITE_FCNTL_BEGIN_ATOMIC_WRITE] to be rolled back. +** ^This file control takes the file descriptor out of batch write mode +** so that all subsequent write operations are independent. +** ^SQLite will never invoke SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE without +** a prior successful call to [SQLITE_FCNTL_BEGIN_ATOMIC_WRITE]. +** +**
  • [[SQLITE_FCNTL_LOCK_TIMEOUT]] +** The [SQLITE_FCNTL_LOCK_TIMEOUT] opcode causes attempts to obtain +** a file lock using the xLock or xShmLock methods of the VFS to wait +** for up to M milliseconds before failing, where M is the single +** unsigned integer parameter. +** +**
  • [[SQLITE_FCNTL_DATA_VERSION]] +** The [SQLITE_FCNTL_DATA_VERSION] opcode is used to detect changes to +** a database file. The argument is a pointer to a 32-bit unsigned integer. +** The "data version" for the pager is written into the pointer. The +** "data version" changes whenever any change occurs to the corresponding +** database file, either through SQL statements on the same database +** connection or through transactions committed by separate database +** connections possibly in other processes. The [sqlite3_total_changes()] +** interface can be used to find if any database on the connection has changed, +** but that interface responds to changes on TEMP as well as MAIN and does +** not provide a mechanism to detect changes to MAIN only. Also, the +** [sqlite3_total_changes()] interface responds to internal changes only and +** omits changes made by other database connections. The +** [PRAGMA data_version] command provide a mechanism to detect changes to +** a single attached database that occur due to other database connections, +** but omits changes implemented by the database connection on which it is +** called. This file control is the only mechanism to detect changes that +** happen either internally or externally and that are associated with +** a particular attached database. +**
+*/ +#define SQLITE_FCNTL_LOCKSTATE 1 +#define SQLITE_FCNTL_GET_LOCKPROXYFILE 2 +#define SQLITE_FCNTL_SET_LOCKPROXYFILE 3 +#define SQLITE_FCNTL_LAST_ERRNO 4 +#define SQLITE_FCNTL_SIZE_HINT 5 +#define SQLITE_FCNTL_CHUNK_SIZE 6 +#define SQLITE_FCNTL_FILE_POINTER 7 +#define SQLITE_FCNTL_SYNC_OMITTED 8 +#define SQLITE_FCNTL_WIN32_AV_RETRY 9 +#define SQLITE_FCNTL_PERSIST_WAL 10 +#define SQLITE_FCNTL_OVERWRITE 11 +#define SQLITE_FCNTL_VFSNAME 12 +#define SQLITE_FCNTL_POWERSAFE_OVERWRITE 13 +#define SQLITE_FCNTL_PRAGMA 14 +#define SQLITE_FCNTL_BUSYHANDLER 15 +#define SQLITE_FCNTL_TEMPFILENAME 16 +#define SQLITE_FCNTL_MMAP_SIZE 18 +#define SQLITE_FCNTL_TRACE 19 +#define SQLITE_FCNTL_HAS_MOVED 20 +#define SQLITE_FCNTL_SYNC 21 +#define SQLITE_FCNTL_COMMIT_PHASETWO 22 +#define SQLITE_FCNTL_WIN32_SET_HANDLE 23 +#define SQLITE_FCNTL_WAL_BLOCK 24 +#define SQLITE_FCNTL_ZIPVFS 25 +#define SQLITE_FCNTL_RBU 26 +#define SQLITE_FCNTL_VFS_POINTER 27 +#define SQLITE_FCNTL_JOURNAL_POINTER 28 +#define SQLITE_FCNTL_WIN32_GET_HANDLE 29 +#define SQLITE_FCNTL_PDB 30 +#define SQLITE_FCNTL_BEGIN_ATOMIC_WRITE 31 +#define SQLITE_FCNTL_COMMIT_ATOMIC_WRITE 32 +#define SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE 33 +#define SQLITE_FCNTL_LOCK_TIMEOUT 34 +#define SQLITE_FCNTL_DATA_VERSION 35 +#define SQLITE_FCNTL_SIZE_LIMIT 36 + +/* deprecated names */ +#define SQLITE_GET_LOCKPROXYFILE SQLITE_FCNTL_GET_LOCKPROXYFILE +#define SQLITE_SET_LOCKPROXYFILE SQLITE_FCNTL_SET_LOCKPROXYFILE +#define SQLITE_LAST_ERRNO SQLITE_FCNTL_LAST_ERRNO + + +/* +** CAPI3REF: Mutex Handle +** +** The mutex module within SQLite defines [sqlite3_mutex] to be an +** abstract type for a mutex object. The SQLite core never looks +** at the internal representation of an [sqlite3_mutex]. It only +** deals with pointers to the [sqlite3_mutex] object. +** +** Mutexes are created using [sqlite3_mutex_alloc()]. +*/ +typedef struct sqlite3_mutex sqlite3_mutex; + +/* +** CAPI3REF: Loadable Extension Thunk +** +** A pointer to the opaque sqlite3_api_routines structure is passed as +** the third parameter to entry points of [loadable extensions]. This +** structure must be typedefed in order to work around compiler warnings +** on some platforms. +*/ +typedef struct sqlite3_api_routines sqlite3_api_routines; + +/* +** CAPI3REF: OS Interface Object +** +** An instance of the sqlite3_vfs object defines the interface between +** the SQLite core and the underlying operating system. The "vfs" +** in the name of the object stands for "virtual file system". See +** the [VFS | VFS documentation] for further information. +** +** The VFS interface is sometimes extended by adding new methods onto +** the end. Each time such an extension occurs, the iVersion field +** is incremented. The iVersion value started out as 1 in +** SQLite [version 3.5.0] on [dateof:3.5.0], then increased to 2 +** with SQLite [version 3.7.0] on [dateof:3.7.0], and then increased +** to 3 with SQLite [version 3.7.6] on [dateof:3.7.6]. Additional fields +** may be appended to the sqlite3_vfs object and the iVersion value +** may increase again in future versions of SQLite. +** Note that the structure +** of the sqlite3_vfs object changes in the transition from +** SQLite [version 3.5.9] to [version 3.6.0] on [dateof:3.6.0] +** and yet the iVersion field was not modified. +** +** The szOsFile field is the size of the subclassed [sqlite3_file] +** structure used by this VFS. mxPathname is the maximum length of +** a pathname in this VFS. +** +** Registered sqlite3_vfs objects are kept on a linked list formed by +** the pNext pointer. The [sqlite3_vfs_register()] +** and [sqlite3_vfs_unregister()] interfaces manage this list +** in a thread-safe way. The [sqlite3_vfs_find()] interface +** searches the list. Neither the application code nor the VFS +** implementation should use the pNext pointer. +** +** The pNext field is the only field in the sqlite3_vfs +** structure that SQLite will ever modify. SQLite will only access +** or modify this field while holding a particular static mutex. +** The application should never modify anything within the sqlite3_vfs +** object once the object has been registered. +** +** The zName field holds the name of the VFS module. The name must +** be unique across all VFS modules. +** +** [[sqlite3_vfs.xOpen]] +** ^SQLite guarantees that the zFilename parameter to xOpen +** is either a NULL pointer or string obtained +** from xFullPathname() with an optional suffix added. +** ^If a suffix is added to the zFilename parameter, it will +** consist of a single "-" character followed by no more than +** 11 alphanumeric and/or "-" characters. +** ^SQLite further guarantees that +** the string will be valid and unchanged until xClose() is +** called. Because of the previous sentence, +** the [sqlite3_file] can safely store a pointer to the +** filename if it needs to remember the filename for some reason. +** If the zFilename parameter to xOpen is a NULL pointer then xOpen +** must invent its own temporary name for the file. ^Whenever the +** xFilename parameter is NULL it will also be the case that the +** flags parameter will include [SQLITE_OPEN_DELETEONCLOSE]. +** +** The flags argument to xOpen() includes all bits set in +** the flags argument to [sqlite3_open_v2()]. Or if [sqlite3_open()] +** or [sqlite3_open16()] is used, then flags includes at least +** [SQLITE_OPEN_READWRITE] | [SQLITE_OPEN_CREATE]. +** If xOpen() opens a file read-only then it sets *pOutFlags to +** include [SQLITE_OPEN_READONLY]. Other bits in *pOutFlags may be set. +** +** ^(SQLite will also add one of the following flags to the xOpen() +** call, depending on the object being opened: +** +**
    +**
  • [SQLITE_OPEN_MAIN_DB] +**
  • [SQLITE_OPEN_MAIN_JOURNAL] +**
  • [SQLITE_OPEN_TEMP_DB] +**
  • [SQLITE_OPEN_TEMP_JOURNAL] +**
  • [SQLITE_OPEN_TRANSIENT_DB] +**
  • [SQLITE_OPEN_SUBJOURNAL] +**
  • [SQLITE_OPEN_MASTER_JOURNAL] +**
  • [SQLITE_OPEN_WAL] +**
)^ +** +** The file I/O implementation can use the object type flags to +** change the way it deals with files. For example, an application +** that does not care about crash recovery or rollback might make +** the open of a journal file a no-op. Writes to this journal would +** also be no-ops, and any attempt to read the journal would return +** SQLITE_IOERR. Or the implementation might recognize that a database +** file will be doing page-aligned sector reads and writes in a random +** order and set up its I/O subsystem accordingly. +** +** SQLite might also add one of the following flags to the xOpen method: +** +**
    +**
  • [SQLITE_OPEN_DELETEONCLOSE] +**
  • [SQLITE_OPEN_EXCLUSIVE] +**
+** +** The [SQLITE_OPEN_DELETEONCLOSE] flag means the file should be +** deleted when it is closed. ^The [SQLITE_OPEN_DELETEONCLOSE] +** will be set for TEMP databases and their journals, transient +** databases, and subjournals. +** +** ^The [SQLITE_OPEN_EXCLUSIVE] flag is always used in conjunction +** with the [SQLITE_OPEN_CREATE] flag, which are both directly +** analogous to the O_EXCL and O_CREAT flags of the POSIX open() +** API. The SQLITE_OPEN_EXCLUSIVE flag, when paired with the +** SQLITE_OPEN_CREATE, is used to indicate that file should always +** be created, and that it is an error if it already exists. +** It is not used to indicate the file should be opened +** for exclusive access. +** +** ^At least szOsFile bytes of memory are allocated by SQLite +** to hold the [sqlite3_file] structure passed as the third +** argument to xOpen. The xOpen method does not have to +** allocate the structure; it should just fill it in. Note that +** the xOpen method must set the sqlite3_file.pMethods to either +** a valid [sqlite3_io_methods] object or to NULL. xOpen must do +** this even if the open fails. SQLite expects that the sqlite3_file.pMethods +** element will be valid after xOpen returns regardless of the success +** or failure of the xOpen call. +** +** [[sqlite3_vfs.xAccess]] +** ^The flags argument to xAccess() may be [SQLITE_ACCESS_EXISTS] +** to test for the existence of a file, or [SQLITE_ACCESS_READWRITE] to +** test whether a file is readable and writable, or [SQLITE_ACCESS_READ] +** to test whether a file is at least readable. The SQLITE_ACCESS_READ +** flag is never actually used and is not implemented in the built-in +** VFSes of SQLite. The file is named by the second argument and can be a +** directory. The xAccess method returns [SQLITE_OK] on success or some +** non-zero error code if there is an I/O error or if the name of +** the file given in the second argument is illegal. If SQLITE_OK +** is returned, then non-zero or zero is written into *pResOut to indicate +** whether or not the file is accessible. +** +** ^SQLite will always allocate at least mxPathname+1 bytes for the +** output buffer xFullPathname. The exact size of the output buffer +** is also passed as a parameter to both methods. If the output buffer +** is not large enough, [SQLITE_CANTOPEN] should be returned. Since this is +** handled as a fatal error by SQLite, vfs implementations should endeavor +** to prevent this by setting mxPathname to a sufficiently large value. +** +** The xRandomness(), xSleep(), xCurrentTime(), and xCurrentTimeInt64() +** interfaces are not strictly a part of the filesystem, but they are +** included in the VFS structure for completeness. +** The xRandomness() function attempts to return nBytes bytes +** of good-quality randomness into zOut. The return value is +** the actual number of bytes of randomness obtained. +** The xSleep() method causes the calling thread to sleep for at +** least the number of microseconds given. ^The xCurrentTime() +** method returns a Julian Day Number for the current date and time as +** a floating point value. +** ^The xCurrentTimeInt64() method returns, as an integer, the Julian +** Day Number multiplied by 86400000 (the number of milliseconds in +** a 24-hour day). +** ^SQLite will use the xCurrentTimeInt64() method to get the current +** date and time if that method is available (if iVersion is 2 or +** greater and the function pointer is not NULL) and will fall back +** to xCurrentTime() if xCurrentTimeInt64() is unavailable. +** +** ^The xSetSystemCall(), xGetSystemCall(), and xNestSystemCall() interfaces +** are not used by the SQLite core. These optional interfaces are provided +** by some VFSes to facilitate testing of the VFS code. By overriding +** system calls with functions under its control, a test program can +** simulate faults and error conditions that would otherwise be difficult +** or impossible to induce. The set of system calls that can be overridden +** varies from one VFS to another, and from one version of the same VFS to the +** next. Applications that use these interfaces must be prepared for any +** or all of these interfaces to be NULL or for their behavior to change +** from one release to the next. Applications must not attempt to access +** any of these methods if the iVersion of the VFS is less than 3. +*/ +typedef struct sqlite3_vfs sqlite3_vfs; +typedef void (*sqlite3_syscall_ptr)(void); +struct sqlite3_vfs { + int iVersion; /* Structure version number (currently 3) */ + int szOsFile; /* Size of subclassed sqlite3_file */ + int mxPathname; /* Maximum file pathname length */ + sqlite3_vfs *pNext; /* Next registered VFS */ + const char *zName; /* Name of this virtual file system */ + void *pAppData; /* Pointer to application-specific data */ + int (*xOpen)(sqlite3_vfs*, const char *zName, sqlite3_file*, + int flags, int *pOutFlags); + int (*xDelete)(sqlite3_vfs*, const char *zName, int syncDir); + int (*xAccess)(sqlite3_vfs*, const char *zName, int flags, int *pResOut); + int (*xFullPathname)(sqlite3_vfs*, const char *zName, int nOut, char *zOut); + void *(*xDlOpen)(sqlite3_vfs*, const char *zFilename); + void (*xDlError)(sqlite3_vfs*, int nByte, char *zErrMsg); + void (*(*xDlSym)(sqlite3_vfs*,void*, const char *zSymbol))(void); + void (*xDlClose)(sqlite3_vfs*, void*); + int (*xRandomness)(sqlite3_vfs*, int nByte, char *zOut); + int (*xSleep)(sqlite3_vfs*, int microseconds); + int (*xCurrentTime)(sqlite3_vfs*, double*); + int (*xGetLastError)(sqlite3_vfs*, int, char *); + /* + ** The methods above are in version 1 of the sqlite_vfs object + ** definition. Those that follow are added in version 2 or later + */ + int (*xCurrentTimeInt64)(sqlite3_vfs*, sqlite3_int64*); + /* + ** The methods above are in versions 1 and 2 of the sqlite_vfs object. + ** Those below are for version 3 and greater. + */ + int (*xSetSystemCall)(sqlite3_vfs*, const char *zName, sqlite3_syscall_ptr); + sqlite3_syscall_ptr (*xGetSystemCall)(sqlite3_vfs*, const char *zName); + const char *(*xNextSystemCall)(sqlite3_vfs*, const char *zName); + /* + ** The methods above are in versions 1 through 3 of the sqlite_vfs object. + ** New fields may be appended in future versions. The iVersion + ** value will increment whenever this happens. + */ +}; + +/* +** CAPI3REF: Flags for the xAccess VFS method +** +** These integer constants can be used as the third parameter to +** the xAccess method of an [sqlite3_vfs] object. They determine +** what kind of permissions the xAccess method is looking for. +** With SQLITE_ACCESS_EXISTS, the xAccess method +** simply checks whether the file exists. +** With SQLITE_ACCESS_READWRITE, the xAccess method +** checks whether the named directory is both readable and writable +** (in other words, if files can be added, removed, and renamed within +** the directory). +** The SQLITE_ACCESS_READWRITE constant is currently used only by the +** [temp_store_directory pragma], though this could change in a future +** release of SQLite. +** With SQLITE_ACCESS_READ, the xAccess method +** checks whether the file is readable. The SQLITE_ACCESS_READ constant is +** currently unused, though it might be used in a future release of +** SQLite. +*/ +#define SQLITE_ACCESS_EXISTS 0 +#define SQLITE_ACCESS_READWRITE 1 /* Used by PRAGMA temp_store_directory */ +#define SQLITE_ACCESS_READ 2 /* Unused */ + +/* +** CAPI3REF: Flags for the xShmLock VFS method +** +** These integer constants define the various locking operations +** allowed by the xShmLock method of [sqlite3_io_methods]. The +** following are the only legal combinations of flags to the +** xShmLock method: +** +**
    +**
  • SQLITE_SHM_LOCK | SQLITE_SHM_SHARED +**
  • SQLITE_SHM_LOCK | SQLITE_SHM_EXCLUSIVE +**
  • SQLITE_SHM_UNLOCK | SQLITE_SHM_SHARED +**
  • SQLITE_SHM_UNLOCK | SQLITE_SHM_EXCLUSIVE +**
+** +** When unlocking, the same SHARED or EXCLUSIVE flag must be supplied as +** was given on the corresponding lock. +** +** The xShmLock method can transition between unlocked and SHARED or +** between unlocked and EXCLUSIVE. It cannot transition between SHARED +** and EXCLUSIVE. +*/ +#define SQLITE_SHM_UNLOCK 1 +#define SQLITE_SHM_LOCK 2 +#define SQLITE_SHM_SHARED 4 +#define SQLITE_SHM_EXCLUSIVE 8 + +/* +** CAPI3REF: Maximum xShmLock index +** +** The xShmLock method on [sqlite3_io_methods] may use values +** between 0 and this upper bound as its "offset" argument. +** The SQLite core will never attempt to acquire or release a +** lock outside of this range +*/ +#define SQLITE_SHM_NLOCK 8 + + +/* +** CAPI3REF: Initialize The SQLite Library +** +** ^The sqlite3_initialize() routine initializes the +** SQLite library. ^The sqlite3_shutdown() routine +** deallocates any resources that were allocated by sqlite3_initialize(). +** These routines are designed to aid in process initialization and +** shutdown on embedded systems. Workstation applications using +** SQLite normally do not need to invoke either of these routines. +** +** A call to sqlite3_initialize() is an "effective" call if it is +** the first time sqlite3_initialize() is invoked during the lifetime of +** the process, or if it is the first time sqlite3_initialize() is invoked +** following a call to sqlite3_shutdown(). ^(Only an effective call +** of sqlite3_initialize() does any initialization. All other calls +** are harmless no-ops.)^ +** +** A call to sqlite3_shutdown() is an "effective" call if it is the first +** call to sqlite3_shutdown() since the last sqlite3_initialize(). ^(Only +** an effective call to sqlite3_shutdown() does any deinitialization. +** All other valid calls to sqlite3_shutdown() are harmless no-ops.)^ +** +** The sqlite3_initialize() interface is threadsafe, but sqlite3_shutdown() +** is not. The sqlite3_shutdown() interface must only be called from a +** single thread. All open [database connections] must be closed and all +** other SQLite resources must be deallocated prior to invoking +** sqlite3_shutdown(). +** +** Among other things, ^sqlite3_initialize() will invoke +** sqlite3_os_init(). Similarly, ^sqlite3_shutdown() +** will invoke sqlite3_os_end(). +** +** ^The sqlite3_initialize() routine returns [SQLITE_OK] on success. +** ^If for some reason, sqlite3_initialize() is unable to initialize +** the library (perhaps it is unable to allocate a needed resource such +** as a mutex) it returns an [error code] other than [SQLITE_OK]. +** +** ^The sqlite3_initialize() routine is called internally by many other +** SQLite interfaces so that an application usually does not need to +** invoke sqlite3_initialize() directly. For example, [sqlite3_open()] +** calls sqlite3_initialize() so the SQLite library will be automatically +** initialized when [sqlite3_open()] is called if it has not be initialized +** already. ^However, if SQLite is compiled with the [SQLITE_OMIT_AUTOINIT] +** compile-time option, then the automatic calls to sqlite3_initialize() +** are omitted and the application must call sqlite3_initialize() directly +** prior to using any other SQLite interface. For maximum portability, +** it is recommended that applications always invoke sqlite3_initialize() +** directly prior to using any other SQLite interface. Future releases +** of SQLite may require this. In other words, the behavior exhibited +** when SQLite is compiled with [SQLITE_OMIT_AUTOINIT] might become the +** default behavior in some future release of SQLite. +** +** The sqlite3_os_init() routine does operating-system specific +** initialization of the SQLite library. The sqlite3_os_end() +** routine undoes the effect of sqlite3_os_init(). Typical tasks +** performed by these routines include allocation or deallocation +** of static resources, initialization of global variables, +** setting up a default [sqlite3_vfs] module, or setting up +** a default configuration using [sqlite3_config()]. +** +** The application should never invoke either sqlite3_os_init() +** or sqlite3_os_end() directly. The application should only invoke +** sqlite3_initialize() and sqlite3_shutdown(). The sqlite3_os_init() +** interface is called automatically by sqlite3_initialize() and +** sqlite3_os_end() is called by sqlite3_shutdown(). Appropriate +** implementations for sqlite3_os_init() and sqlite3_os_end() +** are built into SQLite when it is compiled for Unix, Windows, or OS/2. +** When [custom builds | built for other platforms] +** (using the [SQLITE_OS_OTHER=1] compile-time +** option) the application must supply a suitable implementation for +** sqlite3_os_init() and sqlite3_os_end(). An application-supplied +** implementation of sqlite3_os_init() or sqlite3_os_end() +** must return [SQLITE_OK] on success and some other [error code] upon +** failure. +*/ +SQLITE_API int sqlite3_initialize(void); +SQLITE_API int sqlite3_shutdown(void); +SQLITE_API int sqlite3_os_init(void); +SQLITE_API int sqlite3_os_end(void); + +/* +** CAPI3REF: Configuring The SQLite Library +** +** The sqlite3_config() interface is used to make global configuration +** changes to SQLite in order to tune SQLite to the specific needs of +** the application. The default configuration is recommended for most +** applications and so this routine is usually not necessary. It is +** provided to support rare applications with unusual needs. +** +** The sqlite3_config() interface is not threadsafe. The application +** must ensure that no other SQLite interfaces are invoked by other +** threads while sqlite3_config() is running. +** +** The sqlite3_config() interface +** may only be invoked prior to library initialization using +** [sqlite3_initialize()] or after shutdown by [sqlite3_shutdown()]. +** ^If sqlite3_config() is called after [sqlite3_initialize()] and before +** [sqlite3_shutdown()] then it will return SQLITE_MISUSE. +** Note, however, that ^sqlite3_config() can be called as part of the +** implementation of an application-defined [sqlite3_os_init()]. +** +** The first argument to sqlite3_config() is an integer +** [configuration option] that determines +** what property of SQLite is to be configured. Subsequent arguments +** vary depending on the [configuration option] +** in the first argument. +** +** ^When a configuration option is set, sqlite3_config() returns [SQLITE_OK]. +** ^If the option is unknown or SQLite is unable to set the option +** then this routine returns a non-zero [error code]. +*/ +SQLITE_API int sqlite3_config(int, ...); + +/* +** CAPI3REF: Configure database connections +** METHOD: sqlite3 +** +** The sqlite3_db_config() interface is used to make configuration +** changes to a [database connection]. The interface is similar to +** [sqlite3_config()] except that the changes apply to a single +** [database connection] (specified in the first argument). +** +** The second argument to sqlite3_db_config(D,V,...) is the +** [SQLITE_DBCONFIG_LOOKASIDE | configuration verb] - an integer code +** that indicates what aspect of the [database connection] is being configured. +** Subsequent arguments vary depending on the configuration verb. +** +** ^Calls to sqlite3_db_config() return SQLITE_OK if and only if +** the call is considered successful. +*/ +SQLITE_API int sqlite3_db_config(sqlite3*, int op, ...); + +/* +** CAPI3REF: Memory Allocation Routines +** +** An instance of this object defines the interface between SQLite +** and low-level memory allocation routines. +** +** This object is used in only one place in the SQLite interface. +** A pointer to an instance of this object is the argument to +** [sqlite3_config()] when the configuration option is +** [SQLITE_CONFIG_MALLOC] or [SQLITE_CONFIG_GETMALLOC]. +** By creating an instance of this object +** and passing it to [sqlite3_config]([SQLITE_CONFIG_MALLOC]) +** during configuration, an application can specify an alternative +** memory allocation subsystem for SQLite to use for all of its +** dynamic memory needs. +** +** Note that SQLite comes with several [built-in memory allocators] +** that are perfectly adequate for the overwhelming majority of applications +** and that this object is only useful to a tiny minority of applications +** with specialized memory allocation requirements. This object is +** also used during testing of SQLite in order to specify an alternative +** memory allocator that simulates memory out-of-memory conditions in +** order to verify that SQLite recovers gracefully from such +** conditions. +** +** The xMalloc, xRealloc, and xFree methods must work like the +** malloc(), realloc() and free() functions from the standard C library. +** ^SQLite guarantees that the second argument to +** xRealloc is always a value returned by a prior call to xRoundup. +** +** xSize should return the allocated size of a memory allocation +** previously obtained from xMalloc or xRealloc. The allocated size +** is always at least as big as the requested size but may be larger. +** +** The xRoundup method returns what would be the allocated size of +** a memory allocation given a particular requested size. Most memory +** allocators round up memory allocations at least to the next multiple +** of 8. Some allocators round up to a larger multiple or to a power of 2. +** Every memory allocation request coming in through [sqlite3_malloc()] +** or [sqlite3_realloc()] first calls xRoundup. If xRoundup returns 0, +** that causes the corresponding memory allocation to fail. +** +** The xInit method initializes the memory allocator. For example, +** it might allocate any require mutexes or initialize internal data +** structures. The xShutdown method is invoked (indirectly) by +** [sqlite3_shutdown()] and should deallocate any resources acquired +** by xInit. The pAppData pointer is used as the only parameter to +** xInit and xShutdown. +** +** SQLite holds the [SQLITE_MUTEX_STATIC_MASTER] mutex when it invokes +** the xInit method, so the xInit method need not be threadsafe. The +** xShutdown method is only called from [sqlite3_shutdown()] so it does +** not need to be threadsafe either. For all other methods, SQLite +** holds the [SQLITE_MUTEX_STATIC_MEM] mutex as long as the +** [SQLITE_CONFIG_MEMSTATUS] configuration option is turned on (which +** it is by default) and so the methods are automatically serialized. +** However, if [SQLITE_CONFIG_MEMSTATUS] is disabled, then the other +** methods must be threadsafe or else make their own arrangements for +** serialization. +** +** SQLite will never invoke xInit() more than once without an intervening +** call to xShutdown(). +*/ +typedef struct sqlite3_mem_methods sqlite3_mem_methods; +struct sqlite3_mem_methods { + void *(*xMalloc)(int); /* Memory allocation function */ + void (*xFree)(void*); /* Free a prior allocation */ + void *(*xRealloc)(void*,int); /* Resize an allocation */ + int (*xSize)(void*); /* Return the size of an allocation */ + int (*xRoundup)(int); /* Round up request size to allocation size */ + int (*xInit)(void*); /* Initialize the memory allocator */ + void (*xShutdown)(void*); /* Deinitialize the memory allocator */ + void *pAppData; /* Argument to xInit() and xShutdown() */ +}; + +/* +** CAPI3REF: Configuration Options +** KEYWORDS: {configuration option} +** +** These constants are the available integer configuration options that +** can be passed as the first argument to the [sqlite3_config()] interface. +** +** New configuration options may be added in future releases of SQLite. +** Existing configuration options might be discontinued. Applications +** should check the return code from [sqlite3_config()] to make sure that +** the call worked. The [sqlite3_config()] interface will return a +** non-zero [error code] if a discontinued or unsupported configuration option +** is invoked. +** +**
+** [[SQLITE_CONFIG_SINGLETHREAD]]
SQLITE_CONFIG_SINGLETHREAD
+**
There are no arguments to this option. ^This option sets the +** [threading mode] to Single-thread. In other words, it disables +** all mutexing and puts SQLite into a mode where it can only be used +** by a single thread. ^If SQLite is compiled with +** the [SQLITE_THREADSAFE | SQLITE_THREADSAFE=0] compile-time option then +** it is not possible to change the [threading mode] from its default +** value of Single-thread and so [sqlite3_config()] will return +** [SQLITE_ERROR] if called with the SQLITE_CONFIG_SINGLETHREAD +** configuration option.
+** +** [[SQLITE_CONFIG_MULTITHREAD]]
SQLITE_CONFIG_MULTITHREAD
+**
There are no arguments to this option. ^This option sets the +** [threading mode] to Multi-thread. In other words, it disables +** mutexing on [database connection] and [prepared statement] objects. +** The application is responsible for serializing access to +** [database connections] and [prepared statements]. But other mutexes +** are enabled so that SQLite will be safe to use in a multi-threaded +** environment as long as no two threads attempt to use the same +** [database connection] at the same time. ^If SQLite is compiled with +** the [SQLITE_THREADSAFE | SQLITE_THREADSAFE=0] compile-time option then +** it is not possible to set the Multi-thread [threading mode] and +** [sqlite3_config()] will return [SQLITE_ERROR] if called with the +** SQLITE_CONFIG_MULTITHREAD configuration option.
+** +** [[SQLITE_CONFIG_SERIALIZED]]
SQLITE_CONFIG_SERIALIZED
+**
There are no arguments to this option. ^This option sets the +** [threading mode] to Serialized. In other words, this option enables +** all mutexes including the recursive +** mutexes on [database connection] and [prepared statement] objects. +** In this mode (which is the default when SQLite is compiled with +** [SQLITE_THREADSAFE=1]) the SQLite library will itself serialize access +** to [database connections] and [prepared statements] so that the +** application is free to use the same [database connection] or the +** same [prepared statement] in different threads at the same time. +** ^If SQLite is compiled with +** the [SQLITE_THREADSAFE | SQLITE_THREADSAFE=0] compile-time option then +** it is not possible to set the Serialized [threading mode] and +** [sqlite3_config()] will return [SQLITE_ERROR] if called with the +** SQLITE_CONFIG_SERIALIZED configuration option.
+** +** [[SQLITE_CONFIG_MALLOC]]
SQLITE_CONFIG_MALLOC
+**
^(The SQLITE_CONFIG_MALLOC option takes a single argument which is +** a pointer to an instance of the [sqlite3_mem_methods] structure. +** The argument specifies +** alternative low-level memory allocation routines to be used in place of +** the memory allocation routines built into SQLite.)^ ^SQLite makes +** its own private copy of the content of the [sqlite3_mem_methods] structure +** before the [sqlite3_config()] call returns.
+** +** [[SQLITE_CONFIG_GETMALLOC]]
SQLITE_CONFIG_GETMALLOC
+**
^(The SQLITE_CONFIG_GETMALLOC option takes a single argument which +** is a pointer to an instance of the [sqlite3_mem_methods] structure. +** The [sqlite3_mem_methods] +** structure is filled with the currently defined memory allocation routines.)^ +** This option can be used to overload the default memory allocation +** routines with a wrapper that simulations memory allocation failure or +** tracks memory usage, for example.
+** +** [[SQLITE_CONFIG_SMALL_MALLOC]]
SQLITE_CONFIG_SMALL_MALLOC
+**
^The SQLITE_CONFIG_SMALL_MALLOC option takes single argument of +** type int, interpreted as a boolean, which if true provides a hint to +** SQLite that it should avoid large memory allocations if possible. +** SQLite will run faster if it is free to make large memory allocations, +** but some application might prefer to run slower in exchange for +** guarantees about memory fragmentation that are possible if large +** allocations are avoided. This hint is normally off. +**
+** +** [[SQLITE_CONFIG_MEMSTATUS]]
SQLITE_CONFIG_MEMSTATUS
+**
^The SQLITE_CONFIG_MEMSTATUS option takes single argument of type int, +** interpreted as a boolean, which enables or disables the collection of +** memory allocation statistics. ^(When memory allocation statistics are +** disabled, the following SQLite interfaces become non-operational: +**
    +**
  • [sqlite3_memory_used()] +**
  • [sqlite3_memory_highwater()] +**
  • [sqlite3_soft_heap_limit64()] +**
  • [sqlite3_status64()] +**
)^ +** ^Memory allocation statistics are enabled by default unless SQLite is +** compiled with [SQLITE_DEFAULT_MEMSTATUS]=0 in which case memory +** allocation statistics are disabled by default. +**
+** +** [[SQLITE_CONFIG_SCRATCH]]
SQLITE_CONFIG_SCRATCH
+**
The SQLITE_CONFIG_SCRATCH option is no longer used. +**
+** +** [[SQLITE_CONFIG_PAGECACHE]]
SQLITE_CONFIG_PAGECACHE
+**
^The SQLITE_CONFIG_PAGECACHE option specifies a memory pool +** that SQLite can use for the database page cache with the default page +** cache implementation. +** This configuration option is a no-op if an application-define page +** cache implementation is loaded using the [SQLITE_CONFIG_PCACHE2]. +** ^There are three arguments to SQLITE_CONFIG_PAGECACHE: A pointer to +** 8-byte aligned memory (pMem), the size of each page cache line (sz), +** and the number of cache lines (N). +** The sz argument should be the size of the largest database page +** (a power of two between 512 and 65536) plus some extra bytes for each +** page header. ^The number of extra bytes needed by the page header +** can be determined using [SQLITE_CONFIG_PCACHE_HDRSZ]. +** ^It is harmless, apart from the wasted memory, +** for the sz parameter to be larger than necessary. The pMem +** argument must be either a NULL pointer or a pointer to an 8-byte +** aligned block of memory of at least sz*N bytes, otherwise +** subsequent behavior is undefined. +** ^When pMem is not NULL, SQLite will strive to use the memory provided +** to satisfy page cache needs, falling back to [sqlite3_malloc()] if +** a page cache line is larger than sz bytes or if all of the pMem buffer +** is exhausted. +** ^If pMem is NULL and N is non-zero, then each database connection +** does an initial bulk allocation for page cache memory +** from [sqlite3_malloc()] sufficient for N cache lines if N is positive or +** of -1024*N bytes if N is negative, . ^If additional +** page cache memory is needed beyond what is provided by the initial +** allocation, then SQLite goes to [sqlite3_malloc()] separately for each +** additional cache line.
+** +** [[SQLITE_CONFIG_HEAP]]
SQLITE_CONFIG_HEAP
+**
^The SQLITE_CONFIG_HEAP option specifies a static memory buffer +** that SQLite will use for all of its dynamic memory allocation needs +** beyond those provided for by [SQLITE_CONFIG_PAGECACHE]. +** ^The SQLITE_CONFIG_HEAP option is only available if SQLite is compiled +** with either [SQLITE_ENABLE_MEMSYS3] or [SQLITE_ENABLE_MEMSYS5] and returns +** [SQLITE_ERROR] if invoked otherwise. +** ^There are three arguments to SQLITE_CONFIG_HEAP: +** An 8-byte aligned pointer to the memory, +** the number of bytes in the memory buffer, and the minimum allocation size. +** ^If the first pointer (the memory pointer) is NULL, then SQLite reverts +** to using its default memory allocator (the system malloc() implementation), +** undoing any prior invocation of [SQLITE_CONFIG_MALLOC]. ^If the +** memory pointer is not NULL then the alternative memory +** allocator is engaged to handle all of SQLites memory allocation needs. +** The first pointer (the memory pointer) must be aligned to an 8-byte +** boundary or subsequent behavior of SQLite will be undefined. +** The minimum allocation size is capped at 2**12. Reasonable values +** for the minimum allocation size are 2**5 through 2**8.
+** +** [[SQLITE_CONFIG_MUTEX]]
SQLITE_CONFIG_MUTEX
+**
^(The SQLITE_CONFIG_MUTEX option takes a single argument which is a +** pointer to an instance of the [sqlite3_mutex_methods] structure. +** The argument specifies alternative low-level mutex routines to be used +** in place the mutex routines built into SQLite.)^ ^SQLite makes a copy of +** the content of the [sqlite3_mutex_methods] structure before the call to +** [sqlite3_config()] returns. ^If SQLite is compiled with +** the [SQLITE_THREADSAFE | SQLITE_THREADSAFE=0] compile-time option then +** the entire mutexing subsystem is omitted from the build and hence calls to +** [sqlite3_config()] with the SQLITE_CONFIG_MUTEX configuration option will +** return [SQLITE_ERROR].
+** +** [[SQLITE_CONFIG_GETMUTEX]]
SQLITE_CONFIG_GETMUTEX
+**
^(The SQLITE_CONFIG_GETMUTEX option takes a single argument which +** is a pointer to an instance of the [sqlite3_mutex_methods] structure. The +** [sqlite3_mutex_methods] +** structure is filled with the currently defined mutex routines.)^ +** This option can be used to overload the default mutex allocation +** routines with a wrapper used to track mutex usage for performance +** profiling or testing, for example. ^If SQLite is compiled with +** the [SQLITE_THREADSAFE | SQLITE_THREADSAFE=0] compile-time option then +** the entire mutexing subsystem is omitted from the build and hence calls to +** [sqlite3_config()] with the SQLITE_CONFIG_GETMUTEX configuration option will +** return [SQLITE_ERROR].
+** +** [[SQLITE_CONFIG_LOOKASIDE]]
SQLITE_CONFIG_LOOKASIDE
+**
^(The SQLITE_CONFIG_LOOKASIDE option takes two arguments that determine +** the default size of lookaside memory on each [database connection]. +** The first argument is the +** size of each lookaside buffer slot and the second is the number of +** slots allocated to each database connection.)^ ^(SQLITE_CONFIG_LOOKASIDE +** sets the default lookaside size. The [SQLITE_DBCONFIG_LOOKASIDE] +** option to [sqlite3_db_config()] can be used to change the lookaside +** configuration on individual connections.)^
+** +** [[SQLITE_CONFIG_PCACHE2]]
SQLITE_CONFIG_PCACHE2
+**
^(The SQLITE_CONFIG_PCACHE2 option takes a single argument which is +** a pointer to an [sqlite3_pcache_methods2] object. This object specifies +** the interface to a custom page cache implementation.)^ +** ^SQLite makes a copy of the [sqlite3_pcache_methods2] object.
+** +** [[SQLITE_CONFIG_GETPCACHE2]]
SQLITE_CONFIG_GETPCACHE2
+**
^(The SQLITE_CONFIG_GETPCACHE2 option takes a single argument which +** is a pointer to an [sqlite3_pcache_methods2] object. SQLite copies of +** the current page cache implementation into that object.)^
+** +** [[SQLITE_CONFIG_LOG]]
SQLITE_CONFIG_LOG
+**
The SQLITE_CONFIG_LOG option is used to configure the SQLite +** global [error log]. +** (^The SQLITE_CONFIG_LOG option takes two arguments: a pointer to a +** function with a call signature of void(*)(void*,int,const char*), +** and a pointer to void. ^If the function pointer is not NULL, it is +** invoked by [sqlite3_log()] to process each logging event. ^If the +** function pointer is NULL, the [sqlite3_log()] interface becomes a no-op. +** ^The void pointer that is the second argument to SQLITE_CONFIG_LOG is +** passed through as the first parameter to the application-defined logger +** function whenever that function is invoked. ^The second parameter to +** the logger function is a copy of the first parameter to the corresponding +** [sqlite3_log()] call and is intended to be a [result code] or an +** [extended result code]. ^The third parameter passed to the logger is +** log message after formatting via [sqlite3_snprintf()]. +** The SQLite logging interface is not reentrant; the logger function +** supplied by the application must not invoke any SQLite interface. +** In a multi-threaded application, the application-defined logger +** function must be threadsafe.
+** +** [[SQLITE_CONFIG_URI]]
SQLITE_CONFIG_URI +**
^(The SQLITE_CONFIG_URI option takes a single argument of type int. +** If non-zero, then URI handling is globally enabled. If the parameter is zero, +** then URI handling is globally disabled.)^ ^If URI handling is globally +** enabled, all filenames passed to [sqlite3_open()], [sqlite3_open_v2()], +** [sqlite3_open16()] or +** specified as part of [ATTACH] commands are interpreted as URIs, regardless +** of whether or not the [SQLITE_OPEN_URI] flag is set when the database +** connection is opened. ^If it is globally disabled, filenames are +** only interpreted as URIs if the SQLITE_OPEN_URI flag is set when the +** database connection is opened. ^(By default, URI handling is globally +** disabled. The default value may be changed by compiling with the +** [SQLITE_USE_URI] symbol defined.)^ +** +** [[SQLITE_CONFIG_COVERING_INDEX_SCAN]]
SQLITE_CONFIG_COVERING_INDEX_SCAN +**
^The SQLITE_CONFIG_COVERING_INDEX_SCAN option takes a single integer +** argument which is interpreted as a boolean in order to enable or disable +** the use of covering indices for full table scans in the query optimizer. +** ^The default setting is determined +** by the [SQLITE_ALLOW_COVERING_INDEX_SCAN] compile-time option, or is "on" +** if that compile-time option is omitted. +** The ability to disable the use of covering indices for full table scans +** is because some incorrectly coded legacy applications might malfunction +** when the optimization is enabled. Providing the ability to +** disable the optimization allows the older, buggy application code to work +** without change even with newer versions of SQLite. +** +** [[SQLITE_CONFIG_PCACHE]] [[SQLITE_CONFIG_GETPCACHE]] +**
SQLITE_CONFIG_PCACHE and SQLITE_CONFIG_GETPCACHE +**
These options are obsolete and should not be used by new code. +** They are retained for backwards compatibility but are now no-ops. +**
+** +** [[SQLITE_CONFIG_SQLLOG]] +**
SQLITE_CONFIG_SQLLOG +**
This option is only available if sqlite is compiled with the +** [SQLITE_ENABLE_SQLLOG] pre-processor macro defined. The first argument should +** be a pointer to a function of type void(*)(void*,sqlite3*,const char*, int). +** The second should be of type (void*). The callback is invoked by the library +** in three separate circumstances, identified by the value passed as the +** fourth parameter. If the fourth parameter is 0, then the database connection +** passed as the second argument has just been opened. The third argument +** points to a buffer containing the name of the main database file. If the +** fourth parameter is 1, then the SQL statement that the third parameter +** points to has just been executed. Or, if the fourth parameter is 2, then +** the connection being passed as the second parameter is being closed. The +** third parameter is passed NULL In this case. An example of using this +** configuration option can be seen in the "test_sqllog.c" source file in +** the canonical SQLite source tree.
+** +** [[SQLITE_CONFIG_MMAP_SIZE]] +**
SQLITE_CONFIG_MMAP_SIZE +**
^SQLITE_CONFIG_MMAP_SIZE takes two 64-bit integer (sqlite3_int64) values +** that are the default mmap size limit (the default setting for +** [PRAGMA mmap_size]) and the maximum allowed mmap size limit. +** ^The default setting can be overridden by each database connection using +** either the [PRAGMA mmap_size] command, or by using the +** [SQLITE_FCNTL_MMAP_SIZE] file control. ^(The maximum allowed mmap size +** will be silently truncated if necessary so that it does not exceed the +** compile-time maximum mmap size set by the +** [SQLITE_MAX_MMAP_SIZE] compile-time option.)^ +** ^If either argument to this option is negative, then that argument is +** changed to its compile-time default. +** +** [[SQLITE_CONFIG_WIN32_HEAPSIZE]] +**
SQLITE_CONFIG_WIN32_HEAPSIZE +**
^The SQLITE_CONFIG_WIN32_HEAPSIZE option is only available if SQLite is +** compiled for Windows with the [SQLITE_WIN32_MALLOC] pre-processor macro +** defined. ^SQLITE_CONFIG_WIN32_HEAPSIZE takes a 32-bit unsigned integer value +** that specifies the maximum size of the created heap. +** +** [[SQLITE_CONFIG_PCACHE_HDRSZ]] +**
SQLITE_CONFIG_PCACHE_HDRSZ +**
^The SQLITE_CONFIG_PCACHE_HDRSZ option takes a single parameter which +** is a pointer to an integer and writes into that integer the number of extra +** bytes per page required for each page in [SQLITE_CONFIG_PAGECACHE]. +** The amount of extra space required can change depending on the compiler, +** target platform, and SQLite version. +** +** [[SQLITE_CONFIG_PMASZ]] +**
SQLITE_CONFIG_PMASZ +**
^The SQLITE_CONFIG_PMASZ option takes a single parameter which +** is an unsigned integer and sets the "Minimum PMA Size" for the multithreaded +** sorter to that integer. The default minimum PMA Size is set by the +** [SQLITE_SORTER_PMASZ] compile-time option. New threads are launched +** to help with sort operations when multithreaded sorting +** is enabled (using the [PRAGMA threads] command) and the amount of content +** to be sorted exceeds the page size times the minimum of the +** [PRAGMA cache_size] setting and this value. +** +** [[SQLITE_CONFIG_STMTJRNL_SPILL]] +**
SQLITE_CONFIG_STMTJRNL_SPILL +**
^The SQLITE_CONFIG_STMTJRNL_SPILL option takes a single parameter which +** becomes the [statement journal] spill-to-disk threshold. +** [Statement journals] are held in memory until their size (in bytes) +** exceeds this threshold, at which point they are written to disk. +** Or if the threshold is -1, statement journals are always held +** exclusively in memory. +** Since many statement journals never become large, setting the spill +** threshold to a value such as 64KiB can greatly reduce the amount of +** I/O required to support statement rollback. +** The default value for this setting is controlled by the +** [SQLITE_STMTJRNL_SPILL] compile-time option. +** +** [[SQLITE_CONFIG_SORTERREF_SIZE]] +**
SQLITE_CONFIG_SORTERREF_SIZE +**
The SQLITE_CONFIG_SORTERREF_SIZE option accepts a single parameter +** of type (int) - the new value of the sorter-reference size threshold. +** Usually, when SQLite uses an external sort to order records according +** to an ORDER BY clause, all fields required by the caller are present in the +** sorted records. However, if SQLite determines based on the declared type +** of a table column that its values are likely to be very large - larger +** than the configured sorter-reference size threshold - then a reference +** is stored in each sorted record and the required column values loaded +** from the database as records are returned in sorted order. The default +** value for this option is to never use this optimization. Specifying a +** negative value for this option restores the default behaviour. +** This option is only available if SQLite is compiled with the +** [SQLITE_ENABLE_SORTER_REFERENCES] compile-time option. +** +** [[SQLITE_CONFIG_MEMDB_MAXSIZE]] +**
SQLITE_CONFIG_MEMDB_MAXSIZE +**
The SQLITE_CONFIG_MEMDB_MAXSIZE option accepts a single parameter +** [sqlite3_int64] parameter which is the default maximum size for an in-memory +** database created using [sqlite3_deserialize()]. This default maximum +** size can be adjusted up or down for individual databases using the +** [SQLITE_FCNTL_SIZE_LIMIT] [sqlite3_file_control|file-control]. If this +** configuration setting is never used, then the default maximum is determined +** by the [SQLITE_MEMDB_DEFAULT_MAXSIZE] compile-time option. If that +** compile-time option is not set, then the default maximum is 1073741824. +**
+*/ +#define SQLITE_CONFIG_SINGLETHREAD 1 /* nil */ +#define SQLITE_CONFIG_MULTITHREAD 2 /* nil */ +#define SQLITE_CONFIG_SERIALIZED 3 /* nil */ +#define SQLITE_CONFIG_MALLOC 4 /* sqlite3_mem_methods* */ +#define SQLITE_CONFIG_GETMALLOC 5 /* sqlite3_mem_methods* */ +#define SQLITE_CONFIG_SCRATCH 6 /* No longer used */ +#define SQLITE_CONFIG_PAGECACHE 7 /* void*, int sz, int N */ +#define SQLITE_CONFIG_HEAP 8 /* void*, int nByte, int min */ +#define SQLITE_CONFIG_MEMSTATUS 9 /* boolean */ +#define SQLITE_CONFIG_MUTEX 10 /* sqlite3_mutex_methods* */ +#define SQLITE_CONFIG_GETMUTEX 11 /* sqlite3_mutex_methods* */ +/* previously SQLITE_CONFIG_CHUNKALLOC 12 which is now unused. */ +#define SQLITE_CONFIG_LOOKASIDE 13 /* int int */ +#define SQLITE_CONFIG_PCACHE 14 /* no-op */ +#define SQLITE_CONFIG_GETPCACHE 15 /* no-op */ +#define SQLITE_CONFIG_LOG 16 /* xFunc, void* */ +#define SQLITE_CONFIG_URI 17 /* int */ +#define SQLITE_CONFIG_PCACHE2 18 /* sqlite3_pcache_methods2* */ +#define SQLITE_CONFIG_GETPCACHE2 19 /* sqlite3_pcache_methods2* */ +#define SQLITE_CONFIG_COVERING_INDEX_SCAN 20 /* int */ +#define SQLITE_CONFIG_SQLLOG 21 /* xSqllog, void* */ +#define SQLITE_CONFIG_MMAP_SIZE 22 /* sqlite3_int64, sqlite3_int64 */ +#define SQLITE_CONFIG_WIN32_HEAPSIZE 23 /* int nByte */ +#define SQLITE_CONFIG_PCACHE_HDRSZ 24 /* int *psz */ +#define SQLITE_CONFIG_PMASZ 25 /* unsigned int szPma */ +#define SQLITE_CONFIG_STMTJRNL_SPILL 26 /* int nByte */ +#define SQLITE_CONFIG_SMALL_MALLOC 27 /* boolean */ +#define SQLITE_CONFIG_SORTERREF_SIZE 28 /* int nByte */ +#define SQLITE_CONFIG_MEMDB_MAXSIZE 29 /* sqlite3_int64 */ + +/* +** CAPI3REF: Database Connection Configuration Options +** +** These constants are the available integer configuration options that +** can be passed as the second argument to the [sqlite3_db_config()] interface. +** +** New configuration options may be added in future releases of SQLite. +** Existing configuration options might be discontinued. Applications +** should check the return code from [sqlite3_db_config()] to make sure that +** the call worked. ^The [sqlite3_db_config()] interface will return a +** non-zero [error code] if a discontinued or unsupported configuration option +** is invoked. +** +**
+** [[SQLITE_DBCONFIG_LOOKASIDE]] +**
SQLITE_DBCONFIG_LOOKASIDE
+**
^This option takes three additional arguments that determine the +** [lookaside memory allocator] configuration for the [database connection]. +** ^The first argument (the third parameter to [sqlite3_db_config()] is a +** pointer to a memory buffer to use for lookaside memory. +** ^The first argument after the SQLITE_DBCONFIG_LOOKASIDE verb +** may be NULL in which case SQLite will allocate the +** lookaside buffer itself using [sqlite3_malloc()]. ^The second argument is the +** size of each lookaside buffer slot. ^The third argument is the number of +** slots. The size of the buffer in the first argument must be greater than +** or equal to the product of the second and third arguments. The buffer +** must be aligned to an 8-byte boundary. ^If the second argument to +** SQLITE_DBCONFIG_LOOKASIDE is not a multiple of 8, it is internally +** rounded down to the next smaller multiple of 8. ^(The lookaside memory +** configuration for a database connection can only be changed when that +** connection is not currently using lookaside memory, or in other words +** when the "current value" returned by +** [sqlite3_db_status](D,[SQLITE_CONFIG_LOOKASIDE],...) is zero. +** Any attempt to change the lookaside memory configuration when lookaside +** memory is in use leaves the configuration unchanged and returns +** [SQLITE_BUSY].)^
+** +** [[SQLITE_DBCONFIG_ENABLE_FKEY]] +**
SQLITE_DBCONFIG_ENABLE_FKEY
+**
^This option is used to enable or disable the enforcement of +** [foreign key constraints]. There should be two additional arguments. +** The first argument is an integer which is 0 to disable FK enforcement, +** positive to enable FK enforcement or negative to leave FK enforcement +** unchanged. The second parameter is a pointer to an integer into which +** is written 0 or 1 to indicate whether FK enforcement is off or on +** following this call. The second parameter may be a NULL pointer, in +** which case the FK enforcement setting is not reported back.
+** +** [[SQLITE_DBCONFIG_ENABLE_TRIGGER]] +**
SQLITE_DBCONFIG_ENABLE_TRIGGER
+**
^This option is used to enable or disable [CREATE TRIGGER | triggers]. +** There should be two additional arguments. +** The first argument is an integer which is 0 to disable triggers, +** positive to enable triggers or negative to leave the setting unchanged. +** The second parameter is a pointer to an integer into which +** is written 0 or 1 to indicate whether triggers are disabled or enabled +** following this call. The second parameter may be a NULL pointer, in +** which case the trigger setting is not reported back.
+** +** [[SQLITE_DBCONFIG_ENABLE_VIEW]] +**
SQLITE_DBCONFIG_ENABLE_VIEW
+**
^This option is used to enable or disable [CREATE VIEW | views]. +** There should be two additional arguments. +** The first argument is an integer which is 0 to disable views, +** positive to enable views or negative to leave the setting unchanged. +** The second parameter is a pointer to an integer into which +** is written 0 or 1 to indicate whether views are disabled or enabled +** following this call. The second parameter may be a NULL pointer, in +** which case the view setting is not reported back.
+** +** [[SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER]] +**
SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER
+**
^This option is used to enable or disable the +** [fts3_tokenizer()] function which is part of the +** [FTS3] full-text search engine extension. +** There should be two additional arguments. +** The first argument is an integer which is 0 to disable fts3_tokenizer() or +** positive to enable fts3_tokenizer() or negative to leave the setting +** unchanged. +** The second parameter is a pointer to an integer into which +** is written 0 or 1 to indicate whether fts3_tokenizer is disabled or enabled +** following this call. The second parameter may be a NULL pointer, in +** which case the new setting is not reported back.
+** +** [[SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION]] +**
SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION
+**
^This option is used to enable or disable the [sqlite3_load_extension()] +** interface independently of the [load_extension()] SQL function. +** The [sqlite3_enable_load_extension()] API enables or disables both the +** C-API [sqlite3_load_extension()] and the SQL function [load_extension()]. +** There should be two additional arguments. +** When the first argument to this interface is 1, then only the C-API is +** enabled and the SQL function remains disabled. If the first argument to +** this interface is 0, then both the C-API and the SQL function are disabled. +** If the first argument is -1, then no changes are made to state of either the +** C-API or the SQL function. +** The second parameter is a pointer to an integer into which +** is written 0 or 1 to indicate whether [sqlite3_load_extension()] interface +** is disabled or enabled following this call. The second parameter may +** be a NULL pointer, in which case the new setting is not reported back. +**
+** +** [[SQLITE_DBCONFIG_MAINDBNAME]]
SQLITE_DBCONFIG_MAINDBNAME
+**
^This option is used to change the name of the "main" database +** schema. ^The sole argument is a pointer to a constant UTF8 string +** which will become the new schema name in place of "main". ^SQLite +** does not make a copy of the new main schema name string, so the application +** must ensure that the argument passed into this DBCONFIG option is unchanged +** until after the database connection closes. +**
+** +** [[SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE]] +**
SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE
+**
Usually, when a database in wal mode is closed or detached from a +** database handle, SQLite checks if this will mean that there are now no +** connections at all to the database. If so, it performs a checkpoint +** operation before closing the connection. This option may be used to +** override this behaviour. The first parameter passed to this operation +** is an integer - positive to disable checkpoints-on-close, or zero (the +** default) to enable them, and negative to leave the setting unchanged. +** The second parameter is a pointer to an integer +** into which is written 0 or 1 to indicate whether checkpoints-on-close +** have been disabled - 0 if they are not disabled, 1 if they are. +**
+** +** [[SQLITE_DBCONFIG_ENABLE_QPSG]]
SQLITE_DBCONFIG_ENABLE_QPSG
+**
^(The SQLITE_DBCONFIG_ENABLE_QPSG option activates or deactivates +** the [query planner stability guarantee] (QPSG). When the QPSG is active, +** a single SQL query statement will always use the same algorithm regardless +** of values of [bound parameters].)^ The QPSG disables some query optimizations +** that look at the values of bound parameters, which can make some queries +** slower. But the QPSG has the advantage of more predictable behavior. With +** the QPSG active, SQLite will always use the same query plan in the field as +** was used during testing in the lab. +** The first argument to this setting is an integer which is 0 to disable +** the QPSG, positive to enable QPSG, or negative to leave the setting +** unchanged. The second parameter is a pointer to an integer into which +** is written 0 or 1 to indicate whether the QPSG is disabled or enabled +** following this call. +**
+** +** [[SQLITE_DBCONFIG_TRIGGER_EQP]]
SQLITE_DBCONFIG_TRIGGER_EQP
+**
By default, the output of EXPLAIN QUERY PLAN commands does not +** include output for any operations performed by trigger programs. This +** option is used to set or clear (the default) a flag that governs this +** behavior. The first parameter passed to this operation is an integer - +** positive to enable output for trigger programs, or zero to disable it, +** or negative to leave the setting unchanged. +** The second parameter is a pointer to an integer into which is written +** 0 or 1 to indicate whether output-for-triggers has been disabled - 0 if +** it is not disabled, 1 if it is. +**
+** +** [[SQLITE_DBCONFIG_RESET_DATABASE]]
SQLITE_DBCONFIG_RESET_DATABASE
+**
Set the SQLITE_DBCONFIG_RESET_DATABASE flag and then run +** [VACUUM] in order to reset a database back to an empty database +** with no schema and no content. The following process works even for +** a badly corrupted database file: +**
    +**
  1. If the database connection is newly opened, make sure it has read the +** database schema by preparing then discarding some query against the +** database, or calling sqlite3_table_column_metadata(), ignoring any +** errors. This step is only necessary if the application desires to keep +** the database in WAL mode after the reset if it was in WAL mode before +** the reset. +**
  2. sqlite3_db_config(db, SQLITE_DBCONFIG_RESET_DATABASE, 1, 0); +**
  3. [sqlite3_exec](db, "[VACUUM]", 0, 0, 0); +**
  4. sqlite3_db_config(db, SQLITE_DBCONFIG_RESET_DATABASE, 0, 0); +**
+** Because resetting a database is destructive and irreversible, the +** process requires the use of this obscure API and multiple steps to help +** ensure that it does not happen by accident. +** +** [[SQLITE_DBCONFIG_DEFENSIVE]]
SQLITE_DBCONFIG_DEFENSIVE
+**
The SQLITE_DBCONFIG_DEFENSIVE option activates or deactivates the +** "defensive" flag for a database connection. When the defensive +** flag is enabled, language features that allow ordinary SQL to +** deliberately corrupt the database file are disabled. The disabled +** features include but are not limited to the following: +**
    +**
  • The [PRAGMA writable_schema=ON] statement. +**
  • The [PRAGMA journal_mode=OFF] statement. +**
  • Writes to the [sqlite_dbpage] virtual table. +**
  • Direct writes to [shadow tables]. +**
+**
+** +** [[SQLITE_DBCONFIG_WRITABLE_SCHEMA]]
SQLITE_DBCONFIG_WRITABLE_SCHEMA
+**
The SQLITE_DBCONFIG_WRITABLE_SCHEMA option activates or deactivates the +** "writable_schema" flag. This has the same effect and is logically equivalent +** to setting [PRAGMA writable_schema=ON] or [PRAGMA writable_schema=OFF]. +** The first argument to this setting is an integer which is 0 to disable +** the writable_schema, positive to enable writable_schema, or negative to +** leave the setting unchanged. The second parameter is a pointer to an +** integer into which is written 0 or 1 to indicate whether the writable_schema +** is enabled or disabled following this call. +**
+** +** [[SQLITE_DBCONFIG_LEGACY_ALTER_TABLE]] +**
SQLITE_DBCONFIG_LEGACY_ALTER_TABLE
+**
The SQLITE_DBCONFIG_LEGACY_ALTER_TABLE option activates or deactivates +** the legacy behavior of the [ALTER TABLE RENAME] command such it +** behaves as it did prior to [version 3.24.0] (2018-06-04). See the +** "Compatibility Notice" on the [ALTER TABLE RENAME documentation] for +** additional information. This feature can also be turned on and off +** using the [PRAGMA legacy_alter_table] statement. +**
+** +** [[SQLITE_DBCONFIG_DQS_DML]] +**
SQLITE_DBCONFIG_DQS_DML +**
The SQLITE_DBCONFIG_DQS_DML option activates or deactivates +** the legacy [double-quoted string literal] misfeature for DML statement +** only, that is DELETE, INSERT, SELECT, and UPDATE statements. The +** default value of this setting is determined by the [-DSQLITE_DQS] +** compile-time option. +**
+** +** [[SQLITE_DBCONFIG_DQS_DDL]] +**
SQLITE_DBCONFIG_DQS_DDL +**
The SQLITE_DBCONFIG_DQS option activates or deactivates +** the legacy [double-quoted string literal] misfeature for DDL statements, +** such as CREATE TABLE and CREATE INDEX. The +** default value of this setting is determined by the [-DSQLITE_DQS] +** compile-time option. +**
+**
+*/ +#define SQLITE_DBCONFIG_MAINDBNAME 1000 /* const char* */ +#define SQLITE_DBCONFIG_LOOKASIDE 1001 /* void* int int */ +#define SQLITE_DBCONFIG_ENABLE_FKEY 1002 /* int int* */ +#define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 /* int int* */ +#define SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 1004 /* int int* */ +#define SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION 1005 /* int int* */ +#define SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE 1006 /* int int* */ +#define SQLITE_DBCONFIG_ENABLE_QPSG 1007 /* int int* */ +#define SQLITE_DBCONFIG_TRIGGER_EQP 1008 /* int int* */ +#define SQLITE_DBCONFIG_RESET_DATABASE 1009 /* int int* */ +#define SQLITE_DBCONFIG_DEFENSIVE 1010 /* int int* */ +#define SQLITE_DBCONFIG_WRITABLE_SCHEMA 1011 /* int int* */ +#define SQLITE_DBCONFIG_LEGACY_ALTER_TABLE 1012 /* int int* */ +#define SQLITE_DBCONFIG_DQS_DML 1013 /* int int* */ +#define SQLITE_DBCONFIG_DQS_DDL 1014 /* int int* */ +#define SQLITE_DBCONFIG_ENABLE_VIEW 1015 /* int int* */ +#define SQLITE_DBCONFIG_MAX 1015 /* Largest DBCONFIG */ + +/* +** CAPI3REF: Enable Or Disable Extended Result Codes +** METHOD: sqlite3 +** +** ^The sqlite3_extended_result_codes() routine enables or disables the +** [extended result codes] feature of SQLite. ^The extended result +** codes are disabled by default for historical compatibility. +*/ +SQLITE_API int sqlite3_extended_result_codes(sqlite3*, int onoff); + +/* +** CAPI3REF: Last Insert Rowid +** METHOD: sqlite3 +** +** ^Each entry in most SQLite tables (except for [WITHOUT ROWID] tables) +** has a unique 64-bit signed +** integer key called the [ROWID | "rowid"]. ^The rowid is always available +** as an undeclared column named ROWID, OID, or _ROWID_ as long as those +** names are not also used by explicitly declared columns. ^If +** the table has a column of type [INTEGER PRIMARY KEY] then that column +** is another alias for the rowid. +** +** ^The sqlite3_last_insert_rowid(D) interface usually returns the [rowid] of +** the most recent successful [INSERT] into a rowid table or [virtual table] +** on database connection D. ^Inserts into [WITHOUT ROWID] tables are not +** recorded. ^If no successful [INSERT]s into rowid tables have ever occurred +** on the database connection D, then sqlite3_last_insert_rowid(D) returns +** zero. +** +** As well as being set automatically as rows are inserted into database +** tables, the value returned by this function may be set explicitly by +** [sqlite3_set_last_insert_rowid()] +** +** Some virtual table implementations may INSERT rows into rowid tables as +** part of committing a transaction (e.g. to flush data accumulated in memory +** to disk). In this case subsequent calls to this function return the rowid +** associated with these internal INSERT operations, which leads to +** unintuitive results. Virtual table implementations that do write to rowid +** tables in this way can avoid this problem by restoring the original +** rowid value using [sqlite3_set_last_insert_rowid()] before returning +** control to the user. +** +** ^(If an [INSERT] occurs within a trigger then this routine will +** return the [rowid] of the inserted row as long as the trigger is +** running. Once the trigger program ends, the value returned +** by this routine reverts to what it was before the trigger was fired.)^ +** +** ^An [INSERT] that fails due to a constraint violation is not a +** successful [INSERT] and does not change the value returned by this +** routine. ^Thus INSERT OR FAIL, INSERT OR IGNORE, INSERT OR ROLLBACK, +** and INSERT OR ABORT make no changes to the return value of this +** routine when their insertion fails. ^(When INSERT OR REPLACE +** encounters a constraint violation, it does not fail. The +** INSERT continues to completion after deleting rows that caused +** the constraint problem so INSERT OR REPLACE will always change +** the return value of this interface.)^ +** +** ^For the purposes of this routine, an [INSERT] is considered to +** be successful even if it is subsequently rolled back. +** +** This function is accessible to SQL statements via the +** [last_insert_rowid() SQL function]. +** +** If a separate thread performs a new [INSERT] on the same +** database connection while the [sqlite3_last_insert_rowid()] +** function is running and thus changes the last insert [rowid], +** then the value returned by [sqlite3_last_insert_rowid()] is +** unpredictable and might not equal either the old or the new +** last insert [rowid]. +*/ +SQLITE_API sqlite3_int64 sqlite3_last_insert_rowid(sqlite3*); + +/* +** CAPI3REF: Set the Last Insert Rowid value. +** METHOD: sqlite3 +** +** The sqlite3_set_last_insert_rowid(D, R) method allows the application to +** set the value returned by calling sqlite3_last_insert_rowid(D) to R +** without inserting a row into the database. +*/ +SQLITE_API void sqlite3_set_last_insert_rowid(sqlite3*,sqlite3_int64); + +/* +** CAPI3REF: Count The Number Of Rows Modified +** METHOD: sqlite3 +** +** ^This function returns the number of rows modified, inserted or +** deleted by the most recently completed INSERT, UPDATE or DELETE +** statement on the database connection specified by the only parameter. +** ^Executing any other type of SQL statement does not modify the value +** returned by this function. +** +** ^Only changes made directly by the INSERT, UPDATE or DELETE statement are +** considered - auxiliary changes caused by [CREATE TRIGGER | triggers], +** [foreign key actions] or [REPLACE] constraint resolution are not counted. +** +** Changes to a view that are intercepted by +** [INSTEAD OF trigger | INSTEAD OF triggers] are not counted. ^The value +** returned by sqlite3_changes() immediately after an INSERT, UPDATE or +** DELETE statement run on a view is always zero. Only changes made to real +** tables are counted. +** +** Things are more complicated if the sqlite3_changes() function is +** executed while a trigger program is running. This may happen if the +** program uses the [changes() SQL function], or if some other callback +** function invokes sqlite3_changes() directly. Essentially: +** +**
    +**
  • ^(Before entering a trigger program the value returned by +** sqlite3_changes() function is saved. After the trigger program +** has finished, the original value is restored.)^ +** +**
  • ^(Within a trigger program each INSERT, UPDATE and DELETE +** statement sets the value returned by sqlite3_changes() +** upon completion as normal. Of course, this value will not include +** any changes performed by sub-triggers, as the sqlite3_changes() +** value will be saved and restored after each sub-trigger has run.)^ +**
+** +** ^This means that if the changes() SQL function (or similar) is used +** by the first INSERT, UPDATE or DELETE statement within a trigger, it +** returns the value as set when the calling statement began executing. +** ^If it is used by the second or subsequent such statement within a trigger +** program, the value returned reflects the number of rows modified by the +** previous INSERT, UPDATE or DELETE statement within the same trigger. +** +** If a separate thread makes changes on the same database connection +** while [sqlite3_changes()] is running then the value returned +** is unpredictable and not meaningful. +** +** See also: +**
    +**
  • the [sqlite3_total_changes()] interface +**
  • the [count_changes pragma] +**
  • the [changes() SQL function] +**
  • the [data_version pragma] +**
+*/ +SQLITE_API int sqlite3_changes(sqlite3*); + +/* +** CAPI3REF: Total Number Of Rows Modified +** METHOD: sqlite3 +** +** ^This function returns the total number of rows inserted, modified or +** deleted by all [INSERT], [UPDATE] or [DELETE] statements completed +** since the database connection was opened, including those executed as +** part of trigger programs. ^Executing any other type of SQL statement +** does not affect the value returned by sqlite3_total_changes(). +** +** ^Changes made as part of [foreign key actions] are included in the +** count, but those made as part of REPLACE constraint resolution are +** not. ^Changes to a view that are intercepted by INSTEAD OF triggers +** are not counted. +** +** The [sqlite3_total_changes(D)] interface only reports the number +** of rows that changed due to SQL statement run against database +** connection D. Any changes by other database connections are ignored. +** To detect changes against a database file from other database +** connections use the [PRAGMA data_version] command or the +** [SQLITE_FCNTL_DATA_VERSION] [file control]. +** +** If a separate thread makes changes on the same database connection +** while [sqlite3_total_changes()] is running then the value +** returned is unpredictable and not meaningful. +** +** See also: +**
    +**
  • the [sqlite3_changes()] interface +**
  • the [count_changes pragma] +**
  • the [changes() SQL function] +**
  • the [data_version pragma] +**
  • the [SQLITE_FCNTL_DATA_VERSION] [file control] +**
+*/ +SQLITE_API int sqlite3_total_changes(sqlite3*); + +/* +** CAPI3REF: Interrupt A Long-Running Query +** METHOD: sqlite3 +** +** ^This function causes any pending database operation to abort and +** return at its earliest opportunity. This routine is typically +** called in response to a user action such as pressing "Cancel" +** or Ctrl-C where the user wants a long query operation to halt +** immediately. +** +** ^It is safe to call this routine from a thread different from the +** thread that is currently running the database operation. But it +** is not safe to call this routine with a [database connection] that +** is closed or might close before sqlite3_interrupt() returns. +** +** ^If an SQL operation is very nearly finished at the time when +** sqlite3_interrupt() is called, then it might not have an opportunity +** to be interrupted and might continue to completion. +** +** ^An SQL operation that is interrupted will return [SQLITE_INTERRUPT]. +** ^If the interrupted SQL operation is an INSERT, UPDATE, or DELETE +** that is inside an explicit transaction, then the entire transaction +** will be rolled back automatically. +** +** ^The sqlite3_interrupt(D) call is in effect until all currently running +** SQL statements on [database connection] D complete. ^Any new SQL statements +** that are started after the sqlite3_interrupt() call and before the +** running statements reaches zero are interrupted as if they had been +** running prior to the sqlite3_interrupt() call. ^New SQL statements +** that are started after the running statement count reaches zero are +** not effected by the sqlite3_interrupt(). +** ^A call to sqlite3_interrupt(D) that occurs when there are no running +** SQL statements is a no-op and has no effect on SQL statements +** that are started after the sqlite3_interrupt() call returns. +*/ +SQLITE_API void sqlite3_interrupt(sqlite3*); + +/* +** CAPI3REF: Determine If An SQL Statement Is Complete +** +** These routines are useful during command-line input to determine if the +** currently entered text seems to form a complete SQL statement or +** if additional input is needed before sending the text into +** SQLite for parsing. ^These routines return 1 if the input string +** appears to be a complete SQL statement. ^A statement is judged to be +** complete if it ends with a semicolon token and is not a prefix of a +** well-formed CREATE TRIGGER statement. ^Semicolons that are embedded within +** string literals or quoted identifier names or comments are not +** independent tokens (they are part of the token in which they are +** embedded) and thus do not count as a statement terminator. ^Whitespace +** and comments that follow the final semicolon are ignored. +** +** ^These routines return 0 if the statement is incomplete. ^If a +** memory allocation fails, then SQLITE_NOMEM is returned. +** +** ^These routines do not parse the SQL statements thus +** will not detect syntactically incorrect SQL. +** +** ^(If SQLite has not been initialized using [sqlite3_initialize()] prior +** to invoking sqlite3_complete16() then sqlite3_initialize() is invoked +** automatically by sqlite3_complete16(). If that initialization fails, +** then the return value from sqlite3_complete16() will be non-zero +** regardless of whether or not the input SQL is complete.)^ +** +** The input to [sqlite3_complete()] must be a zero-terminated +** UTF-8 string. +** +** The input to [sqlite3_complete16()] must be a zero-terminated +** UTF-16 string in native byte order. +*/ +SQLITE_API int sqlite3_complete(const char *sql); +SQLITE_API int sqlite3_complete16(const void *sql); + +/* +** CAPI3REF: Register A Callback To Handle SQLITE_BUSY Errors +** KEYWORDS: {busy-handler callback} {busy handler} +** METHOD: sqlite3 +** +** ^The sqlite3_busy_handler(D,X,P) routine sets a callback function X +** that might be invoked with argument P whenever +** an attempt is made to access a database table associated with +** [database connection] D when another thread +** or process has the table locked. +** The sqlite3_busy_handler() interface is used to implement +** [sqlite3_busy_timeout()] and [PRAGMA busy_timeout]. +** +** ^If the busy callback is NULL, then [SQLITE_BUSY] +** is returned immediately upon encountering the lock. ^If the busy callback +** is not NULL, then the callback might be invoked with two arguments. +** +** ^The first argument to the busy handler is a copy of the void* pointer which +** is the third argument to sqlite3_busy_handler(). ^The second argument to +** the busy handler callback is the number of times that the busy handler has +** been invoked previously for the same locking event. ^If the +** busy callback returns 0, then no additional attempts are made to +** access the database and [SQLITE_BUSY] is returned +** to the application. +** ^If the callback returns non-zero, then another attempt +** is made to access the database and the cycle repeats. +** +** The presence of a busy handler does not guarantee that it will be invoked +** when there is lock contention. ^If SQLite determines that invoking the busy +** handler could result in a deadlock, it will go ahead and return [SQLITE_BUSY] +** to the application instead of invoking the +** busy handler. +** Consider a scenario where one process is holding a read lock that +** it is trying to promote to a reserved lock and +** a second process is holding a reserved lock that it is trying +** to promote to an exclusive lock. The first process cannot proceed +** because it is blocked by the second and the second process cannot +** proceed because it is blocked by the first. If both processes +** invoke the busy handlers, neither will make any progress. Therefore, +** SQLite returns [SQLITE_BUSY] for the first process, hoping that this +** will induce the first process to release its read lock and allow +** the second process to proceed. +** +** ^The default busy callback is NULL. +** +** ^(There can only be a single busy handler defined for each +** [database connection]. Setting a new busy handler clears any +** previously set handler.)^ ^Note that calling [sqlite3_busy_timeout()] +** or evaluating [PRAGMA busy_timeout=N] will change the +** busy handler and thus clear any previously set busy handler. +** +** The busy callback should not take any actions which modify the +** database connection that invoked the busy handler. In other words, +** the busy handler is not reentrant. Any such actions +** result in undefined behavior. +** +** A busy handler must not close the database connection +** or [prepared statement] that invoked the busy handler. +*/ +SQLITE_API int sqlite3_busy_handler(sqlite3*,int(*)(void*,int),void*); + +/* +** CAPI3REF: Set A Busy Timeout +** METHOD: sqlite3 +** +** ^This routine sets a [sqlite3_busy_handler | busy handler] that sleeps +** for a specified amount of time when a table is locked. ^The handler +** will sleep multiple times until at least "ms" milliseconds of sleeping +** have accumulated. ^After at least "ms" milliseconds of sleeping, +** the handler returns 0 which causes [sqlite3_step()] to return +** [SQLITE_BUSY]. +** +** ^Calling this routine with an argument less than or equal to zero +** turns off all busy handlers. +** +** ^(There can only be a single busy handler for a particular +** [database connection] at any given moment. If another busy handler +** was defined (using [sqlite3_busy_handler()]) prior to calling +** this routine, that other busy handler is cleared.)^ +** +** See also: [PRAGMA busy_timeout] +*/ +SQLITE_API int sqlite3_busy_timeout(sqlite3*, int ms); + +/* +** CAPI3REF: Convenience Routines For Running Queries +** METHOD: sqlite3 +** +** This is a legacy interface that is preserved for backwards compatibility. +** Use of this interface is not recommended. +** +** Definition: A result table is memory data structure created by the +** [sqlite3_get_table()] interface. A result table records the +** complete query results from one or more queries. +** +** The table conceptually has a number of rows and columns. But +** these numbers are not part of the result table itself. These +** numbers are obtained separately. Let N be the number of rows +** and M be the number of columns. +** +** A result table is an array of pointers to zero-terminated UTF-8 strings. +** There are (N+1)*M elements in the array. The first M pointers point +** to zero-terminated strings that contain the names of the columns. +** The remaining entries all point to query results. NULL values result +** in NULL pointers. All other values are in their UTF-8 zero-terminated +** string representation as returned by [sqlite3_column_text()]. +** +** A result table might consist of one or more memory allocations. +** It is not safe to pass a result table directly to [sqlite3_free()]. +** A result table should be deallocated using [sqlite3_free_table()]. +** +** ^(As an example of the result table format, suppose a query result +** is as follows: +** +**
+**        Name        | Age
+**        -----------------------
+**        Alice       | 43
+**        Bob         | 28
+**        Cindy       | 21
+** 
+** +** There are two column (M==2) and three rows (N==3). Thus the +** result table has 8 entries. Suppose the result table is stored +** in an array names azResult. Then azResult holds this content: +** +**
+**        azResult[0] = "Name";
+**        azResult[1] = "Age";
+**        azResult[2] = "Alice";
+**        azResult[3] = "43";
+**        azResult[4] = "Bob";
+**        azResult[5] = "28";
+**        azResult[6] = "Cindy";
+**        azResult[7] = "21";
+** 
)^ +** +** ^The sqlite3_get_table() function evaluates one or more +** semicolon-separated SQL statements in the zero-terminated UTF-8 +** string of its 2nd parameter and returns a result table to the +** pointer given in its 3rd parameter. +** +** After the application has finished with the result from sqlite3_get_table(), +** it must pass the result table pointer to sqlite3_free_table() in order to +** release the memory that was malloced. Because of the way the +** [sqlite3_malloc()] happens within sqlite3_get_table(), the calling +** function must not try to call [sqlite3_free()] directly. Only +** [sqlite3_free_table()] is able to release the memory properly and safely. +** +** The sqlite3_get_table() interface is implemented as a wrapper around +** [sqlite3_exec()]. The sqlite3_get_table() routine does not have access +** to any internal data structures of SQLite. It uses only the public +** interface defined here. As a consequence, errors that occur in the +** wrapper layer outside of the internal [sqlite3_exec()] call are not +** reflected in subsequent calls to [sqlite3_errcode()] or +** [sqlite3_errmsg()]. +*/ +SQLITE_API int sqlite3_get_table( + sqlite3 *db, /* An open database */ + const char *zSql, /* SQL to be evaluated */ + char ***pazResult, /* Results of the query */ + int *pnRow, /* Number of result rows written here */ + int *pnColumn, /* Number of result columns written here */ + char **pzErrmsg /* Error msg written here */ +); +SQLITE_API void sqlite3_free_table(char **result); + +/* +** CAPI3REF: Formatted String Printing Functions +** +** These routines are work-alikes of the "printf()" family of functions +** from the standard C library. +** These routines understand most of the common formatting options from +** the standard library printf() +** plus some additional non-standard formats ([%q], [%Q], [%w], and [%z]). +** See the [built-in printf()] documentation for details. +** +** ^The sqlite3_mprintf() and sqlite3_vmprintf() routines write their +** results into memory obtained from [sqlite3_malloc64()]. +** The strings returned by these two routines should be +** released by [sqlite3_free()]. ^Both routines return a +** NULL pointer if [sqlite3_malloc64()] is unable to allocate enough +** memory to hold the resulting string. +** +** ^(The sqlite3_snprintf() routine is similar to "snprintf()" from +** the standard C library. The result is written into the +** buffer supplied as the second parameter whose size is given by +** the first parameter. Note that the order of the +** first two parameters is reversed from snprintf().)^ This is an +** historical accident that cannot be fixed without breaking +** backwards compatibility. ^(Note also that sqlite3_snprintf() +** returns a pointer to its buffer instead of the number of +** characters actually written into the buffer.)^ We admit that +** the number of characters written would be a more useful return +** value but we cannot change the implementation of sqlite3_snprintf() +** now without breaking compatibility. +** +** ^As long as the buffer size is greater than zero, sqlite3_snprintf() +** guarantees that the buffer is always zero-terminated. ^The first +** parameter "n" is the total size of the buffer, including space for +** the zero terminator. So the longest string that can be completely +** written will be n-1 characters. +** +** ^The sqlite3_vsnprintf() routine is a varargs version of sqlite3_snprintf(). +** +** See also: [built-in printf()], [printf() SQL function] +*/ +SQLITE_API char *sqlite3_mprintf(const char*,...); +SQLITE_API char *sqlite3_vmprintf(const char*, va_list); +SQLITE_API char *sqlite3_snprintf(int,char*,const char*, ...); +SQLITE_API char *sqlite3_vsnprintf(int,char*,const char*, va_list); + +/* +** CAPI3REF: Memory Allocation Subsystem +** +** The SQLite core uses these three routines for all of its own +** internal memory allocation needs. "Core" in the previous sentence +** does not include operating-system specific VFS implementation. The +** Windows VFS uses native malloc() and free() for some operations. +** +** ^The sqlite3_malloc() routine returns a pointer to a block +** of memory at least N bytes in length, where N is the parameter. +** ^If sqlite3_malloc() is unable to obtain sufficient free +** memory, it returns a NULL pointer. ^If the parameter N to +** sqlite3_malloc() is zero or negative then sqlite3_malloc() returns +** a NULL pointer. +** +** ^The sqlite3_malloc64(N) routine works just like +** sqlite3_malloc(N) except that N is an unsigned 64-bit integer instead +** of a signed 32-bit integer. +** +** ^Calling sqlite3_free() with a pointer previously returned +** by sqlite3_malloc() or sqlite3_realloc() releases that memory so +** that it might be reused. ^The sqlite3_free() routine is +** a no-op if is called with a NULL pointer. Passing a NULL pointer +** to sqlite3_free() is harmless. After being freed, memory +** should neither be read nor written. Even reading previously freed +** memory might result in a segmentation fault or other severe error. +** Memory corruption, a segmentation fault, or other severe error +** might result if sqlite3_free() is called with a non-NULL pointer that +** was not obtained from sqlite3_malloc() or sqlite3_realloc(). +** +** ^The sqlite3_realloc(X,N) interface attempts to resize a +** prior memory allocation X to be at least N bytes. +** ^If the X parameter to sqlite3_realloc(X,N) +** is a NULL pointer then its behavior is identical to calling +** sqlite3_malloc(N). +** ^If the N parameter to sqlite3_realloc(X,N) is zero or +** negative then the behavior is exactly the same as calling +** sqlite3_free(X). +** ^sqlite3_realloc(X,N) returns a pointer to a memory allocation +** of at least N bytes in size or NULL if insufficient memory is available. +** ^If M is the size of the prior allocation, then min(N,M) bytes +** of the prior allocation are copied into the beginning of buffer returned +** by sqlite3_realloc(X,N) and the prior allocation is freed. +** ^If sqlite3_realloc(X,N) returns NULL and N is positive, then the +** prior allocation is not freed. +** +** ^The sqlite3_realloc64(X,N) interfaces works the same as +** sqlite3_realloc(X,N) except that N is a 64-bit unsigned integer instead +** of a 32-bit signed integer. +** +** ^If X is a memory allocation previously obtained from sqlite3_malloc(), +** sqlite3_malloc64(), sqlite3_realloc(), or sqlite3_realloc64(), then +** sqlite3_msize(X) returns the size of that memory allocation in bytes. +** ^The value returned by sqlite3_msize(X) might be larger than the number +** of bytes requested when X was allocated. ^If X is a NULL pointer then +** sqlite3_msize(X) returns zero. If X points to something that is not +** the beginning of memory allocation, or if it points to a formerly +** valid memory allocation that has now been freed, then the behavior +** of sqlite3_msize(X) is undefined and possibly harmful. +** +** ^The memory returned by sqlite3_malloc(), sqlite3_realloc(), +** sqlite3_malloc64(), and sqlite3_realloc64() +** is always aligned to at least an 8 byte boundary, or to a +** 4 byte boundary if the [SQLITE_4_BYTE_ALIGNED_MALLOC] compile-time +** option is used. +** +** In SQLite version 3.5.0 and 3.5.1, it was possible to define +** the SQLITE_OMIT_MEMORY_ALLOCATION which would cause the built-in +** implementation of these routines to be omitted. That capability +** is no longer provided. Only built-in memory allocators can be used. +** +** Prior to SQLite version 3.7.10, the Windows OS interface layer called +** the system malloc() and free() directly when converting +** filenames between the UTF-8 encoding used by SQLite +** and whatever filename encoding is used by the particular Windows +** installation. Memory allocation errors were detected, but +** they were reported back as [SQLITE_CANTOPEN] or +** [SQLITE_IOERR] rather than [SQLITE_NOMEM]. +** +** The pointer arguments to [sqlite3_free()] and [sqlite3_realloc()] +** must be either NULL or else pointers obtained from a prior +** invocation of [sqlite3_malloc()] or [sqlite3_realloc()] that have +** not yet been released. +** +** The application must not read or write any part of +** a block of memory after it has been released using +** [sqlite3_free()] or [sqlite3_realloc()]. +*/ +SQLITE_API void *sqlite3_malloc(int); +SQLITE_API void *sqlite3_malloc64(sqlite3_uint64); +SQLITE_API void *sqlite3_realloc(void*, int); +SQLITE_API void *sqlite3_realloc64(void*, sqlite3_uint64); +SQLITE_API void sqlite3_free(void*); +SQLITE_API sqlite3_uint64 sqlite3_msize(void*); + +/* +** CAPI3REF: Memory Allocator Statistics +** +** SQLite provides these two interfaces for reporting on the status +** of the [sqlite3_malloc()], [sqlite3_free()], and [sqlite3_realloc()] +** routines, which form the built-in memory allocation subsystem. +** +** ^The [sqlite3_memory_used()] routine returns the number of bytes +** of memory currently outstanding (malloced but not freed). +** ^The [sqlite3_memory_highwater()] routine returns the maximum +** value of [sqlite3_memory_used()] since the high-water mark +** was last reset. ^The values returned by [sqlite3_memory_used()] and +** [sqlite3_memory_highwater()] include any overhead +** added by SQLite in its implementation of [sqlite3_malloc()], +** but not overhead added by the any underlying system library +** routines that [sqlite3_malloc()] may call. +** +** ^The memory high-water mark is reset to the current value of +** [sqlite3_memory_used()] if and only if the parameter to +** [sqlite3_memory_highwater()] is true. ^The value returned +** by [sqlite3_memory_highwater(1)] is the high-water mark +** prior to the reset. +*/ +SQLITE_API sqlite3_int64 sqlite3_memory_used(void); +SQLITE_API sqlite3_int64 sqlite3_memory_highwater(int resetFlag); + +/* +** CAPI3REF: Pseudo-Random Number Generator +** +** SQLite contains a high-quality pseudo-random number generator (PRNG) used to +** select random [ROWID | ROWIDs] when inserting new records into a table that +** already uses the largest possible [ROWID]. The PRNG is also used for +** the build-in random() and randomblob() SQL functions. This interface allows +** applications to access the same PRNG for other purposes. +** +** ^A call to this routine stores N bytes of randomness into buffer P. +** ^The P parameter can be a NULL pointer. +** +** ^If this routine has not been previously called or if the previous +** call had N less than one or a NULL pointer for P, then the PRNG is +** seeded using randomness obtained from the xRandomness method of +** the default [sqlite3_vfs] object. +** ^If the previous call to this routine had an N of 1 or more and a +** non-NULL P then the pseudo-randomness is generated +** internally and without recourse to the [sqlite3_vfs] xRandomness +** method. +*/ +SQLITE_API void sqlite3_randomness(int N, void *P); + +/* +** CAPI3REF: Compile-Time Authorization Callbacks +** METHOD: sqlite3 +** KEYWORDS: {authorizer callback} +** +** ^This routine registers an authorizer callback with a particular +** [database connection], supplied in the first argument. +** ^The authorizer callback is invoked as SQL statements are being compiled +** by [sqlite3_prepare()] or its variants [sqlite3_prepare_v2()], +** [sqlite3_prepare_v3()], [sqlite3_prepare16()], [sqlite3_prepare16_v2()], +** and [sqlite3_prepare16_v3()]. ^At various +** points during the compilation process, as logic is being created +** to perform various actions, the authorizer callback is invoked to +** see if those actions are allowed. ^The authorizer callback should +** return [SQLITE_OK] to allow the action, [SQLITE_IGNORE] to disallow the +** specific action but allow the SQL statement to continue to be +** compiled, or [SQLITE_DENY] to cause the entire SQL statement to be +** rejected with an error. ^If the authorizer callback returns +** any value other than [SQLITE_IGNORE], [SQLITE_OK], or [SQLITE_DENY] +** then the [sqlite3_prepare_v2()] or equivalent call that triggered +** the authorizer will fail with an error message. +** +** When the callback returns [SQLITE_OK], that means the operation +** requested is ok. ^When the callback returns [SQLITE_DENY], the +** [sqlite3_prepare_v2()] or equivalent call that triggered the +** authorizer will fail with an error message explaining that +** access is denied. +** +** ^The first parameter to the authorizer callback is a copy of the third +** parameter to the sqlite3_set_authorizer() interface. ^The second parameter +** to the callback is an integer [SQLITE_COPY | action code] that specifies +** the particular action to be authorized. ^The third through sixth parameters +** to the callback are either NULL pointers or zero-terminated strings +** that contain additional details about the action to be authorized. +** Applications must always be prepared to encounter a NULL pointer in any +** of the third through the sixth parameters of the authorization callback. +** +** ^If the action code is [SQLITE_READ] +** and the callback returns [SQLITE_IGNORE] then the +** [prepared statement] statement is constructed to substitute +** a NULL value in place of the table column that would have +** been read if [SQLITE_OK] had been returned. The [SQLITE_IGNORE] +** return can be used to deny an untrusted user access to individual +** columns of a table. +** ^When a table is referenced by a [SELECT] but no column values are +** extracted from that table (for example in a query like +** "SELECT count(*) FROM tab") then the [SQLITE_READ] authorizer callback +** is invoked once for that table with a column name that is an empty string. +** ^If the action code is [SQLITE_DELETE] and the callback returns +** [SQLITE_IGNORE] then the [DELETE] operation proceeds but the +** [truncate optimization] is disabled and all rows are deleted individually. +** +** An authorizer is used when [sqlite3_prepare | preparing] +** SQL statements from an untrusted source, to ensure that the SQL statements +** do not try to access data they are not allowed to see, or that they do not +** try to execute malicious statements that damage the database. For +** example, an application may allow a user to enter arbitrary +** SQL queries for evaluation by a database. But the application does +** not want the user to be able to make arbitrary changes to the +** database. An authorizer could then be put in place while the +** user-entered SQL is being [sqlite3_prepare | prepared] that +** disallows everything except [SELECT] statements. +** +** Applications that need to process SQL from untrusted sources +** might also consider lowering resource limits using [sqlite3_limit()] +** and limiting database size using the [max_page_count] [PRAGMA] +** in addition to using an authorizer. +** +** ^(Only a single authorizer can be in place on a database connection +** at a time. Each call to sqlite3_set_authorizer overrides the +** previous call.)^ ^Disable the authorizer by installing a NULL callback. +** The authorizer is disabled by default. +** +** The authorizer callback must not do anything that will modify +** the database connection that invoked the authorizer callback. +** Note that [sqlite3_prepare_v2()] and [sqlite3_step()] both modify their +** database connections for the meaning of "modify" in this paragraph. +** +** ^When [sqlite3_prepare_v2()] is used to prepare a statement, the +** statement might be re-prepared during [sqlite3_step()] due to a +** schema change. Hence, the application should ensure that the +** correct authorizer callback remains in place during the [sqlite3_step()]. +** +** ^Note that the authorizer callback is invoked only during +** [sqlite3_prepare()] or its variants. Authorization is not +** performed during statement evaluation in [sqlite3_step()], unless +** as stated in the previous paragraph, sqlite3_step() invokes +** sqlite3_prepare_v2() to reprepare a statement after a schema change. +*/ +SQLITE_API int sqlite3_set_authorizer( + sqlite3*, + int (*xAuth)(void*,int,const char*,const char*,const char*,const char*), + void *pUserData +); + +/* +** CAPI3REF: Authorizer Return Codes +** +** The [sqlite3_set_authorizer | authorizer callback function] must +** return either [SQLITE_OK] or one of these two constants in order +** to signal SQLite whether or not the action is permitted. See the +** [sqlite3_set_authorizer | authorizer documentation] for additional +** information. +** +** Note that SQLITE_IGNORE is also used as a [conflict resolution mode] +** returned from the [sqlite3_vtab_on_conflict()] interface. +*/ +#define SQLITE_DENY 1 /* Abort the SQL statement with an error */ +#define SQLITE_IGNORE 2 /* Don't allow access, but don't generate an error */ + +/* +** CAPI3REF: Authorizer Action Codes +** +** The [sqlite3_set_authorizer()] interface registers a callback function +** that is invoked to authorize certain SQL statement actions. The +** second parameter to the callback is an integer code that specifies +** what action is being authorized. These are the integer action codes that +** the authorizer callback may be passed. +** +** These action code values signify what kind of operation is to be +** authorized. The 3rd and 4th parameters to the authorization +** callback function will be parameters or NULL depending on which of these +** codes is used as the second parameter. ^(The 5th parameter to the +** authorizer callback is the name of the database ("main", "temp", +** etc.) if applicable.)^ ^The 6th parameter to the authorizer callback +** is the name of the inner-most trigger or view that is responsible for +** the access attempt or NULL if this access attempt is directly from +** top-level SQL code. +*/ +/******************************************* 3rd ************ 4th ***********/ +#define SQLITE_CREATE_INDEX 1 /* Index Name Table Name */ +#define SQLITE_CREATE_TABLE 2 /* Table Name NULL */ +#define SQLITE_CREATE_TEMP_INDEX 3 /* Index Name Table Name */ +#define SQLITE_CREATE_TEMP_TABLE 4 /* Table Name NULL */ +#define SQLITE_CREATE_TEMP_TRIGGER 5 /* Trigger Name Table Name */ +#define SQLITE_CREATE_TEMP_VIEW 6 /* View Name NULL */ +#define SQLITE_CREATE_TRIGGER 7 /* Trigger Name Table Name */ +#define SQLITE_CREATE_VIEW 8 /* View Name NULL */ +#define SQLITE_DELETE 9 /* Table Name NULL */ +#define SQLITE_DROP_INDEX 10 /* Index Name Table Name */ +#define SQLITE_DROP_TABLE 11 /* Table Name NULL */ +#define SQLITE_DROP_TEMP_INDEX 12 /* Index Name Table Name */ +#define SQLITE_DROP_TEMP_TABLE 13 /* Table Name NULL */ +#define SQLITE_DROP_TEMP_TRIGGER 14 /* Trigger Name Table Name */ +#define SQLITE_DROP_TEMP_VIEW 15 /* View Name NULL */ +#define SQLITE_DROP_TRIGGER 16 /* Trigger Name Table Name */ +#define SQLITE_DROP_VIEW 17 /* View Name NULL */ +#define SQLITE_INSERT 18 /* Table Name NULL */ +#define SQLITE_PRAGMA 19 /* Pragma Name 1st arg or NULL */ +#define SQLITE_READ 20 /* Table Name Column Name */ +#define SQLITE_SELECT 21 /* NULL NULL */ +#define SQLITE_TRANSACTION 22 /* Operation NULL */ +#define SQLITE_UPDATE 23 /* Table Name Column Name */ +#define SQLITE_ATTACH 24 /* Filename NULL */ +#define SQLITE_DETACH 25 /* Database Name NULL */ +#define SQLITE_ALTER_TABLE 26 /* Database Name Table Name */ +#define SQLITE_REINDEX 27 /* Index Name NULL */ +#define SQLITE_ANALYZE 28 /* Table Name NULL */ +#define SQLITE_CREATE_VTABLE 29 /* Table Name Module Name */ +#define SQLITE_DROP_VTABLE 30 /* Table Name Module Name */ +#define SQLITE_FUNCTION 31 /* NULL Function Name */ +#define SQLITE_SAVEPOINT 32 /* Operation Savepoint Name */ +#define SQLITE_COPY 0 /* No longer used */ +#define SQLITE_RECURSIVE 33 /* NULL NULL */ + +/* +** CAPI3REF: Tracing And Profiling Functions +** METHOD: sqlite3 +** +** These routines are deprecated. Use the [sqlite3_trace_v2()] interface +** instead of the routines described here. +** +** These routines register callback functions that can be used for +** tracing and profiling the execution of SQL statements. +** +** ^The callback function registered by sqlite3_trace() is invoked at +** various times when an SQL statement is being run by [sqlite3_step()]. +** ^The sqlite3_trace() callback is invoked with a UTF-8 rendering of the +** SQL statement text as the statement first begins executing. +** ^(Additional sqlite3_trace() callbacks might occur +** as each triggered subprogram is entered. The callbacks for triggers +** contain a UTF-8 SQL comment that identifies the trigger.)^ +** +** The [SQLITE_TRACE_SIZE_LIMIT] compile-time option can be used to limit +** the length of [bound parameter] expansion in the output of sqlite3_trace(). +** +** ^The callback function registered by sqlite3_profile() is invoked +** as each SQL statement finishes. ^The profile callback contains +** the original statement text and an estimate of wall-clock time +** of how long that statement took to run. ^The profile callback +** time is in units of nanoseconds, however the current implementation +** is only capable of millisecond resolution so the six least significant +** digits in the time are meaningless. Future versions of SQLite +** might provide greater resolution on the profiler callback. Invoking +** either [sqlite3_trace()] or [sqlite3_trace_v2()] will cancel the +** profile callback. +*/ +SQLITE_API SQLITE_DEPRECATED void *sqlite3_trace(sqlite3*, + void(*xTrace)(void*,const char*), void*); +SQLITE_API SQLITE_DEPRECATED void *sqlite3_profile(sqlite3*, + void(*xProfile)(void*,const char*,sqlite3_uint64), void*); + +/* +** CAPI3REF: SQL Trace Event Codes +** KEYWORDS: SQLITE_TRACE +** +** These constants identify classes of events that can be monitored +** using the [sqlite3_trace_v2()] tracing logic. The M argument +** to [sqlite3_trace_v2(D,M,X,P)] is an OR-ed combination of one or more of +** the following constants. ^The first argument to the trace callback +** is one of the following constants. +** +** New tracing constants may be added in future releases. +** +** ^A trace callback has four arguments: xCallback(T,C,P,X). +** ^The T argument is one of the integer type codes above. +** ^The C argument is a copy of the context pointer passed in as the +** fourth argument to [sqlite3_trace_v2()]. +** The P and X arguments are pointers whose meanings depend on T. +** +**
+** [[SQLITE_TRACE_STMT]]
SQLITE_TRACE_STMT
+**
^An SQLITE_TRACE_STMT callback is invoked when a prepared statement +** first begins running and possibly at other times during the +** execution of the prepared statement, such as at the start of each +** trigger subprogram. ^The P argument is a pointer to the +** [prepared statement]. ^The X argument is a pointer to a string which +** is the unexpanded SQL text of the prepared statement or an SQL comment +** that indicates the invocation of a trigger. ^The callback can compute +** the same text that would have been returned by the legacy [sqlite3_trace()] +** interface by using the X argument when X begins with "--" and invoking +** [sqlite3_expanded_sql(P)] otherwise. +** +** [[SQLITE_TRACE_PROFILE]]
SQLITE_TRACE_PROFILE
+**
^An SQLITE_TRACE_PROFILE callback provides approximately the same +** information as is provided by the [sqlite3_profile()] callback. +** ^The P argument is a pointer to the [prepared statement] and the +** X argument points to a 64-bit integer which is the estimated of +** the number of nanosecond that the prepared statement took to run. +** ^The SQLITE_TRACE_PROFILE callback is invoked when the statement finishes. +** +** [[SQLITE_TRACE_ROW]]
SQLITE_TRACE_ROW
+**
^An SQLITE_TRACE_ROW callback is invoked whenever a prepared +** statement generates a single row of result. +** ^The P argument is a pointer to the [prepared statement] and the +** X argument is unused. +** +** [[SQLITE_TRACE_CLOSE]]
SQLITE_TRACE_CLOSE
+**
^An SQLITE_TRACE_CLOSE callback is invoked when a database +** connection closes. +** ^The P argument is a pointer to the [database connection] object +** and the X argument is unused. +**
+*/ +#define SQLITE_TRACE_STMT 0x01 +#define SQLITE_TRACE_PROFILE 0x02 +#define SQLITE_TRACE_ROW 0x04 +#define SQLITE_TRACE_CLOSE 0x08 + +/* +** CAPI3REF: SQL Trace Hook +** METHOD: sqlite3 +** +** ^The sqlite3_trace_v2(D,M,X,P) interface registers a trace callback +** function X against [database connection] D, using property mask M +** and context pointer P. ^If the X callback is +** NULL or if the M mask is zero, then tracing is disabled. The +** M argument should be the bitwise OR-ed combination of +** zero or more [SQLITE_TRACE] constants. +** +** ^Each call to either sqlite3_trace() or sqlite3_trace_v2() overrides +** (cancels) any prior calls to sqlite3_trace() or sqlite3_trace_v2(). +** +** ^The X callback is invoked whenever any of the events identified by +** mask M occur. ^The integer return value from the callback is currently +** ignored, though this may change in future releases. Callback +** implementations should return zero to ensure future compatibility. +** +** ^A trace callback is invoked with four arguments: callback(T,C,P,X). +** ^The T argument is one of the [SQLITE_TRACE] +** constants to indicate why the callback was invoked. +** ^The C argument is a copy of the context pointer. +** The P and X arguments are pointers whose meanings depend on T. +** +** The sqlite3_trace_v2() interface is intended to replace the legacy +** interfaces [sqlite3_trace()] and [sqlite3_profile()], both of which +** are deprecated. +*/ +SQLITE_API int sqlite3_trace_v2( + sqlite3*, + unsigned uMask, + int(*xCallback)(unsigned,void*,void*,void*), + void *pCtx +); + +/* +** CAPI3REF: Query Progress Callbacks +** METHOD: sqlite3 +** +** ^The sqlite3_progress_handler(D,N,X,P) interface causes the callback +** function X to be invoked periodically during long running calls to +** [sqlite3_exec()], [sqlite3_step()] and [sqlite3_get_table()] for +** database connection D. An example use for this +** interface is to keep a GUI updated during a large query. +** +** ^The parameter P is passed through as the only parameter to the +** callback function X. ^The parameter N is the approximate number of +** [virtual machine instructions] that are evaluated between successive +** invocations of the callback X. ^If N is less than one then the progress +** handler is disabled. +** +** ^Only a single progress handler may be defined at one time per +** [database connection]; setting a new progress handler cancels the +** old one. ^Setting parameter X to NULL disables the progress handler. +** ^The progress handler is also disabled by setting N to a value less +** than 1. +** +** ^If the progress callback returns non-zero, the operation is +** interrupted. This feature can be used to implement a +** "Cancel" button on a GUI progress dialog box. +** +** The progress handler callback must not do anything that will modify +** the database connection that invoked the progress handler. +** Note that [sqlite3_prepare_v2()] and [sqlite3_step()] both modify their +** database connections for the meaning of "modify" in this paragraph. +** +*/ +SQLITE_API void sqlite3_progress_handler(sqlite3*, int, int(*)(void*), void*); + +/* +** CAPI3REF: Opening A New Database Connection +** CONSTRUCTOR: sqlite3 +** +** ^These routines open an SQLite database file as specified by the +** filename argument. ^The filename argument is interpreted as UTF-8 for +** sqlite3_open() and sqlite3_open_v2() and as UTF-16 in the native byte +** order for sqlite3_open16(). ^(A [database connection] handle is usually +** returned in *ppDb, even if an error occurs. The only exception is that +** if SQLite is unable to allocate memory to hold the [sqlite3] object, +** a NULL will be written into *ppDb instead of a pointer to the [sqlite3] +** object.)^ ^(If the database is opened (and/or created) successfully, then +** [SQLITE_OK] is returned. Otherwise an [error code] is returned.)^ ^The +** [sqlite3_errmsg()] or [sqlite3_errmsg16()] routines can be used to obtain +** an English language description of the error following a failure of any +** of the sqlite3_open() routines. +** +** ^The default encoding will be UTF-8 for databases created using +** sqlite3_open() or sqlite3_open_v2(). ^The default encoding for databases +** created using sqlite3_open16() will be UTF-16 in the native byte order. +** +** Whether or not an error occurs when it is opened, resources +** associated with the [database connection] handle should be released by +** passing it to [sqlite3_close()] when it is no longer required. +** +** The sqlite3_open_v2() interface works like sqlite3_open() +** except that it accepts two additional parameters for additional control +** over the new database connection. ^(The flags parameter to +** sqlite3_open_v2() can take one of +** the following three values, optionally combined with the +** [SQLITE_OPEN_NOMUTEX], [SQLITE_OPEN_FULLMUTEX], [SQLITE_OPEN_SHAREDCACHE], +** [SQLITE_OPEN_PRIVATECACHE], and/or [SQLITE_OPEN_URI] flags:)^ +** +**
+** ^(
[SQLITE_OPEN_READONLY]
+**
The database is opened in read-only mode. If the database does not +** already exist, an error is returned.
)^ +** +** ^(
[SQLITE_OPEN_READWRITE]
+**
The database is opened for reading and writing if possible, or reading +** only if the file is write protected by the operating system. In either +** case the database must already exist, otherwise an error is returned.
)^ +** +** ^(
[SQLITE_OPEN_READWRITE] | [SQLITE_OPEN_CREATE]
+**
The database is opened for reading and writing, and is created if +** it does not already exist. This is the behavior that is always used for +** sqlite3_open() and sqlite3_open16().
)^ +**
+** +** If the 3rd parameter to sqlite3_open_v2() is not one of the +** combinations shown above optionally combined with other +** [SQLITE_OPEN_READONLY | SQLITE_OPEN_* bits] +** then the behavior is undefined. +** +** ^If the [SQLITE_OPEN_NOMUTEX] flag is set, then the database connection +** opens in the multi-thread [threading mode] as long as the single-thread +** mode has not been set at compile-time or start-time. ^If the +** [SQLITE_OPEN_FULLMUTEX] flag is set then the database connection opens +** in the serialized [threading mode] unless single-thread was +** previously selected at compile-time or start-time. +** ^The [SQLITE_OPEN_SHAREDCACHE] flag causes the database connection to be +** eligible to use [shared cache mode], regardless of whether or not shared +** cache is enabled using [sqlite3_enable_shared_cache()]. ^The +** [SQLITE_OPEN_PRIVATECACHE] flag causes the database connection to not +** participate in [shared cache mode] even if it is enabled. +** +** ^The fourth parameter to sqlite3_open_v2() is the name of the +** [sqlite3_vfs] object that defines the operating system interface that +** the new database connection should use. ^If the fourth parameter is +** a NULL pointer then the default [sqlite3_vfs] object is used. +** +** ^If the filename is ":memory:", then a private, temporary in-memory database +** is created for the connection. ^This in-memory database will vanish when +** the database connection is closed. Future versions of SQLite might +** make use of additional special filenames that begin with the ":" character. +** It is recommended that when a database filename actually does begin with +** a ":" character you should prefix the filename with a pathname such as +** "./" to avoid ambiguity. +** +** ^If the filename is an empty string, then a private, temporary +** on-disk database will be created. ^This private database will be +** automatically deleted as soon as the database connection is closed. +** +** [[URI filenames in sqlite3_open()]]

URI Filenames

+** +** ^If [URI filename] interpretation is enabled, and the filename argument +** begins with "file:", then the filename is interpreted as a URI. ^URI +** filename interpretation is enabled if the [SQLITE_OPEN_URI] flag is +** set in the third argument to sqlite3_open_v2(), or if it has +** been enabled globally using the [SQLITE_CONFIG_URI] option with the +** [sqlite3_config()] method or by the [SQLITE_USE_URI] compile-time option. +** URI filename interpretation is turned off +** by default, but future releases of SQLite might enable URI filename +** interpretation by default. See "[URI filenames]" for additional +** information. +** +** URI filenames are parsed according to RFC 3986. ^If the URI contains an +** authority, then it must be either an empty string or the string +** "localhost". ^If the authority is not an empty string or "localhost", an +** error is returned to the caller. ^The fragment component of a URI, if +** present, is ignored. +** +** ^SQLite uses the path component of the URI as the name of the disk file +** which contains the database. ^If the path begins with a '/' character, +** then it is interpreted as an absolute path. ^If the path does not begin +** with a '/' (meaning that the authority section is omitted from the URI) +** then the path is interpreted as a relative path. +** ^(On windows, the first component of an absolute path +** is a drive specification (e.g. "C:").)^ +** +** [[core URI query parameters]] +** The query component of a URI may contain parameters that are interpreted +** either by SQLite itself, or by a [VFS | custom VFS implementation]. +** SQLite and its built-in [VFSes] interpret the +** following query parameters: +** +**
    +**
  • vfs: ^The "vfs" parameter may be used to specify the name of +** a VFS object that provides the operating system interface that should +** be used to access the database file on disk. ^If this option is set to +** an empty string the default VFS object is used. ^Specifying an unknown +** VFS is an error. ^If sqlite3_open_v2() is used and the vfs option is +** present, then the VFS specified by the option takes precedence over +** the value passed as the fourth parameter to sqlite3_open_v2(). +** +**
  • mode: ^(The mode parameter may be set to either "ro", "rw", +** "rwc", or "memory". Attempting to set it to any other value is +** an error)^. +** ^If "ro" is specified, then the database is opened for read-only +** access, just as if the [SQLITE_OPEN_READONLY] flag had been set in the +** third argument to sqlite3_open_v2(). ^If the mode option is set to +** "rw", then the database is opened for read-write (but not create) +** access, as if SQLITE_OPEN_READWRITE (but not SQLITE_OPEN_CREATE) had +** been set. ^Value "rwc" is equivalent to setting both +** SQLITE_OPEN_READWRITE and SQLITE_OPEN_CREATE. ^If the mode option is +** set to "memory" then a pure [in-memory database] that never reads +** or writes from disk is used. ^It is an error to specify a value for +** the mode parameter that is less restrictive than that specified by +** the flags passed in the third parameter to sqlite3_open_v2(). +** +**
  • cache: ^The cache parameter may be set to either "shared" or +** "private". ^Setting it to "shared" is equivalent to setting the +** SQLITE_OPEN_SHAREDCACHE bit in the flags argument passed to +** sqlite3_open_v2(). ^Setting the cache parameter to "private" is +** equivalent to setting the SQLITE_OPEN_PRIVATECACHE bit. +** ^If sqlite3_open_v2() is used and the "cache" parameter is present in +** a URI filename, its value overrides any behavior requested by setting +** SQLITE_OPEN_PRIVATECACHE or SQLITE_OPEN_SHAREDCACHE flag. +** +**
  • psow: ^The psow parameter indicates whether or not the +** [powersafe overwrite] property does or does not apply to the +** storage media on which the database file resides. +** +**
  • nolock: ^The nolock parameter is a boolean query parameter +** which if set disables file locking in rollback journal modes. This +** is useful for accessing a database on a filesystem that does not +** support locking. Caution: Database corruption might result if two +** or more processes write to the same database and any one of those +** processes uses nolock=1. +** +**
  • immutable: ^The immutable parameter is a boolean query +** parameter that indicates that the database file is stored on +** read-only media. ^When immutable is set, SQLite assumes that the +** database file cannot be changed, even by a process with higher +** privilege, and so the database is opened read-only and all locking +** and change detection is disabled. Caution: Setting the immutable +** property on a database file that does in fact change can result +** in incorrect query results and/or [SQLITE_CORRUPT] errors. +** See also: [SQLITE_IOCAP_IMMUTABLE]. +** +**
+** +** ^Specifying an unknown parameter in the query component of a URI is not an +** error. Future versions of SQLite might understand additional query +** parameters. See "[query parameters with special meaning to SQLite]" for +** additional information. +** +** [[URI filename examples]]

URI filename examples

+** +** +**
URI filenames Results +**
file:data.db +** Open the file "data.db" in the current directory. +**
file:/home/fred/data.db
+** file:///home/fred/data.db
+** file://localhost/home/fred/data.db
+** Open the database file "/home/fred/data.db". +**
file://darkstar/home/fred/data.db +** An error. "darkstar" is not a recognized authority. +**
+** file:///C:/Documents%20and%20Settings/fred/Desktop/data.db +** Windows only: Open the file "data.db" on fred's desktop on drive +** C:. Note that the %20 escaping in this example is not strictly +** necessary - space characters can be used literally +** in URI filenames. +**
file:data.db?mode=ro&cache=private +** Open file "data.db" in the current directory for read-only access. +** Regardless of whether or not shared-cache mode is enabled by +** default, use a private cache. +**
file:/home/fred/data.db?vfs=unix-dotfile +** Open file "/home/fred/data.db". Use the special VFS "unix-dotfile" +** that uses dot-files in place of posix advisory locking. +**
file:data.db?mode=readonly +** An error. "readonly" is not a valid option for the "mode" parameter. +**
+** +** ^URI hexadecimal escape sequences (%HH) are supported within the path and +** query components of a URI. A hexadecimal escape sequence consists of a +** percent sign - "%" - followed by exactly two hexadecimal digits +** specifying an octet value. ^Before the path or query components of a +** URI filename are interpreted, they are encoded using UTF-8 and all +** hexadecimal escape sequences replaced by a single byte containing the +** corresponding octet. If this process generates an invalid UTF-8 encoding, +** the results are undefined. +** +** Note to Windows users: The encoding used for the filename argument +** of sqlite3_open() and sqlite3_open_v2() must be UTF-8, not whatever +** codepage is currently defined. Filenames containing international +** characters must be converted to UTF-8 prior to passing them into +** sqlite3_open() or sqlite3_open_v2(). +** +** Note to Windows Runtime users: The temporary directory must be set +** prior to calling sqlite3_open() or sqlite3_open_v2(). Otherwise, various +** features that require the use of temporary files may fail. +** +** See also: [sqlite3_temp_directory] +*/ +SQLITE_API int sqlite3_open( + const char *filename, /* Database filename (UTF-8) */ + sqlite3 **ppDb /* OUT: SQLite db handle */ +); +SQLITE_API int sqlite3_open16( + const void *filename, /* Database filename (UTF-16) */ + sqlite3 **ppDb /* OUT: SQLite db handle */ +); +SQLITE_API int sqlite3_open_v2( + const char *filename, /* Database filename (UTF-8) */ + sqlite3 **ppDb, /* OUT: SQLite db handle */ + int flags, /* Flags */ + const char *zVfs /* Name of VFS module to use */ +); + +/* +** CAPI3REF: Obtain Values For URI Parameters +** +** These are utility routines, useful to VFS implementations, that check +** to see if a database file was a URI that contained a specific query +** parameter, and if so obtains the value of that query parameter. +** +** If F is the database filename pointer passed into the xOpen() method of +** a VFS implementation when the flags parameter to xOpen() has one or +** more of the [SQLITE_OPEN_URI] or [SQLITE_OPEN_MAIN_DB] bits set and +** P is the name of the query parameter, then +** sqlite3_uri_parameter(F,P) returns the value of the P +** parameter if it exists or a NULL pointer if P does not appear as a +** query parameter on F. If P is a query parameter of F +** has no explicit value, then sqlite3_uri_parameter(F,P) returns +** a pointer to an empty string. +** +** The sqlite3_uri_boolean(F,P,B) routine assumes that P is a boolean +** parameter and returns true (1) or false (0) according to the value +** of P. The sqlite3_uri_boolean(F,P,B) routine returns true (1) if the +** value of query parameter P is one of "yes", "true", or "on" in any +** case or if the value begins with a non-zero number. The +** sqlite3_uri_boolean(F,P,B) routines returns false (0) if the value of +** query parameter P is one of "no", "false", or "off" in any case or +** if the value begins with a numeric zero. If P is not a query +** parameter on F or if the value of P is does not match any of the +** above, then sqlite3_uri_boolean(F,P,B) returns (B!=0). +** +** The sqlite3_uri_int64(F,P,D) routine converts the value of P into a +** 64-bit signed integer and returns that integer, or D if P does not +** exist. If the value of P is something other than an integer, then +** zero is returned. +** +** If F is a NULL pointer, then sqlite3_uri_parameter(F,P) returns NULL and +** sqlite3_uri_boolean(F,P,B) returns B. If F is not a NULL pointer and +** is not a database file pathname pointer that SQLite passed into the xOpen +** VFS method, then the behavior of this routine is undefined and probably +** undesirable. +** +** See the [URI filename] documentation for additional information. +*/ +SQLITE_API const char *sqlite3_uri_parameter(const char *zFilename, const char *zParam); +SQLITE_API int sqlite3_uri_boolean(const char *zFile, const char *zParam, int bDefault); +SQLITE_API sqlite3_int64 sqlite3_uri_int64(const char*, const char*, sqlite3_int64); + + +/* +** CAPI3REF: Error Codes And Messages +** METHOD: sqlite3 +** +** ^If the most recent sqlite3_* API call associated with +** [database connection] D failed, then the sqlite3_errcode(D) interface +** returns the numeric [result code] or [extended result code] for that +** API call. +** ^The sqlite3_extended_errcode() +** interface is the same except that it always returns the +** [extended result code] even when extended result codes are +** disabled. +** +** The values returned by sqlite3_errcode() and/or +** sqlite3_extended_errcode() might change with each API call. +** Except, there are some interfaces that are guaranteed to never +** change the value of the error code. The error-code preserving +** interfaces are: +** +**
    +**
  • sqlite3_errcode() +**
  • sqlite3_extended_errcode() +**
  • sqlite3_errmsg() +**
  • sqlite3_errmsg16() +**
+** +** ^The sqlite3_errmsg() and sqlite3_errmsg16() return English-language +** text that describes the error, as either UTF-8 or UTF-16 respectively. +** ^(Memory to hold the error message string is managed internally. +** The application does not need to worry about freeing the result. +** However, the error string might be overwritten or deallocated by +** subsequent calls to other SQLite interface functions.)^ +** +** ^The sqlite3_errstr() interface returns the English-language text +** that describes the [result code], as UTF-8. +** ^(Memory to hold the error message string is managed internally +** and must not be freed by the application)^. +** +** When the serialized [threading mode] is in use, it might be the +** case that a second error occurs on a separate thread in between +** the time of the first error and the call to these interfaces. +** When that happens, the second error will be reported since these +** interfaces always report the most recent result. To avoid +** this, each thread can obtain exclusive use of the [database connection] D +** by invoking [sqlite3_mutex_enter]([sqlite3_db_mutex](D)) before beginning +** to use D and invoking [sqlite3_mutex_leave]([sqlite3_db_mutex](D)) after +** all calls to the interfaces listed here are completed. +** +** If an interface fails with SQLITE_MISUSE, that means the interface +** was invoked incorrectly by the application. In that case, the +** error code and message may or may not be set. +*/ +SQLITE_API int sqlite3_errcode(sqlite3 *db); +SQLITE_API int sqlite3_extended_errcode(sqlite3 *db); +SQLITE_API const char *sqlite3_errmsg(sqlite3*); +SQLITE_API const void *sqlite3_errmsg16(sqlite3*); +SQLITE_API const char *sqlite3_errstr(int); + +/* +** CAPI3REF: Prepared Statement Object +** KEYWORDS: {prepared statement} {prepared statements} +** +** An instance of this object represents a single SQL statement that +** has been compiled into binary form and is ready to be evaluated. +** +** Think of each SQL statement as a separate computer program. The +** original SQL text is source code. A prepared statement object +** is the compiled object code. All SQL must be converted into a +** prepared statement before it can be run. +** +** The life-cycle of a prepared statement object usually goes like this: +** +**
    +**
  1. Create the prepared statement object using [sqlite3_prepare_v2()]. +**
  2. Bind values to [parameters] using the sqlite3_bind_*() +** interfaces. +**
  3. Run the SQL by calling [sqlite3_step()] one or more times. +**
  4. Reset the prepared statement using [sqlite3_reset()] then go back +** to step 2. Do this zero or more times. +**
  5. Destroy the object using [sqlite3_finalize()]. +**
+*/ +typedef struct sqlite3_stmt sqlite3_stmt; + +/* +** CAPI3REF: Run-time Limits +** METHOD: sqlite3 +** +** ^(This interface allows the size of various constructs to be limited +** on a connection by connection basis. The first parameter is the +** [database connection] whose limit is to be set or queried. The +** second parameter is one of the [limit categories] that define a +** class of constructs to be size limited. The third parameter is the +** new limit for that construct.)^ +** +** ^If the new limit is a negative number, the limit is unchanged. +** ^(For each limit category SQLITE_LIMIT_NAME there is a +** [limits | hard upper bound] +** set at compile-time by a C preprocessor macro called +** [limits | SQLITE_MAX_NAME]. +** (The "_LIMIT_" in the name is changed to "_MAX_".))^ +** ^Attempts to increase a limit above its hard upper bound are +** silently truncated to the hard upper bound. +** +** ^Regardless of whether or not the limit was changed, the +** [sqlite3_limit()] interface returns the prior value of the limit. +** ^Hence, to find the current value of a limit without changing it, +** simply invoke this interface with the third parameter set to -1. +** +** Run-time limits are intended for use in applications that manage +** both their own internal database and also databases that are controlled +** by untrusted external sources. An example application might be a +** web browser that has its own databases for storing history and +** separate databases controlled by JavaScript applications downloaded +** off the Internet. The internal databases can be given the +** large, default limits. Databases managed by external sources can +** be given much smaller limits designed to prevent a denial of service +** attack. Developers might also want to use the [sqlite3_set_authorizer()] +** interface to further control untrusted SQL. The size of the database +** created by an untrusted script can be contained using the +** [max_page_count] [PRAGMA]. +** +** New run-time limit categories may be added in future releases. +*/ +SQLITE_API int sqlite3_limit(sqlite3*, int id, int newVal); + +/* +** CAPI3REF: Run-Time Limit Categories +** KEYWORDS: {limit category} {*limit categories} +** +** These constants define various performance limits +** that can be lowered at run-time using [sqlite3_limit()]. +** The synopsis of the meanings of the various limits is shown below. +** Additional information is available at [limits | Limits in SQLite]. +** +**
+** [[SQLITE_LIMIT_LENGTH]] ^(
SQLITE_LIMIT_LENGTH
+**
The maximum size of any string or BLOB or table row, in bytes.
)^ +** +** [[SQLITE_LIMIT_SQL_LENGTH]] ^(
SQLITE_LIMIT_SQL_LENGTH
+**
The maximum length of an SQL statement, in bytes.
)^ +** +** [[SQLITE_LIMIT_COLUMN]] ^(
SQLITE_LIMIT_COLUMN
+**
The maximum number of columns in a table definition or in the +** result set of a [SELECT] or the maximum number of columns in an index +** or in an ORDER BY or GROUP BY clause.
)^ +** +** [[SQLITE_LIMIT_EXPR_DEPTH]] ^(
SQLITE_LIMIT_EXPR_DEPTH
+**
The maximum depth of the parse tree on any expression.
)^ +** +** [[SQLITE_LIMIT_COMPOUND_SELECT]] ^(
SQLITE_LIMIT_COMPOUND_SELECT
+**
The maximum number of terms in a compound SELECT statement.
)^ +** +** [[SQLITE_LIMIT_VDBE_OP]] ^(
SQLITE_LIMIT_VDBE_OP
+**
The maximum number of instructions in a virtual machine program +** used to implement an SQL statement. If [sqlite3_prepare_v2()] or +** the equivalent tries to allocate space for more than this many opcodes +** in a single prepared statement, an SQLITE_NOMEM error is returned.
)^ +** +** [[SQLITE_LIMIT_FUNCTION_ARG]] ^(
SQLITE_LIMIT_FUNCTION_ARG
+**
The maximum number of arguments on a function.
)^ +** +** [[SQLITE_LIMIT_ATTACHED]] ^(
SQLITE_LIMIT_ATTACHED
+**
The maximum number of [ATTACH | attached databases].)^
+** +** [[SQLITE_LIMIT_LIKE_PATTERN_LENGTH]] +** ^(
SQLITE_LIMIT_LIKE_PATTERN_LENGTH
+**
The maximum length of the pattern argument to the [LIKE] or +** [GLOB] operators.
)^ +** +** [[SQLITE_LIMIT_VARIABLE_NUMBER]] +** ^(
SQLITE_LIMIT_VARIABLE_NUMBER
+**
The maximum index number of any [parameter] in an SQL statement.)^ +** +** [[SQLITE_LIMIT_TRIGGER_DEPTH]] ^(
SQLITE_LIMIT_TRIGGER_DEPTH
+**
The maximum depth of recursion for triggers.
)^ +** +** [[SQLITE_LIMIT_WORKER_THREADS]] ^(
SQLITE_LIMIT_WORKER_THREADS
+**
The maximum number of auxiliary worker threads that a single +** [prepared statement] may start.
)^ +**
+*/ +#define SQLITE_LIMIT_LENGTH 0 +#define SQLITE_LIMIT_SQL_LENGTH 1 +#define SQLITE_LIMIT_COLUMN 2 +#define SQLITE_LIMIT_EXPR_DEPTH 3 +#define SQLITE_LIMIT_COMPOUND_SELECT 4 +#define SQLITE_LIMIT_VDBE_OP 5 +#define SQLITE_LIMIT_FUNCTION_ARG 6 +#define SQLITE_LIMIT_ATTACHED 7 +#define SQLITE_LIMIT_LIKE_PATTERN_LENGTH 8 +#define SQLITE_LIMIT_VARIABLE_NUMBER 9 +#define SQLITE_LIMIT_TRIGGER_DEPTH 10 +#define SQLITE_LIMIT_WORKER_THREADS 11 + +/* +** CAPI3REF: Prepare Flags +** +** These constants define various flags that can be passed into +** "prepFlags" parameter of the [sqlite3_prepare_v3()] and +** [sqlite3_prepare16_v3()] interfaces. +** +** New flags may be added in future releases of SQLite. +** +**
+** [[SQLITE_PREPARE_PERSISTENT]] ^(
SQLITE_PREPARE_PERSISTENT
+**
The SQLITE_PREPARE_PERSISTENT flag is a hint to the query planner +** that the prepared statement will be retained for a long time and +** probably reused many times.)^ ^Without this flag, [sqlite3_prepare_v3()] +** and [sqlite3_prepare16_v3()] assume that the prepared statement will +** be used just once or at most a few times and then destroyed using +** [sqlite3_finalize()] relatively soon. The current implementation acts +** on this hint by avoiding the use of [lookaside memory] so as not to +** deplete the limited store of lookaside memory. Future versions of +** SQLite may act on this hint differently. +** +** [[SQLITE_PREPARE_NORMALIZE]]
SQLITE_PREPARE_NORMALIZE
+**
The SQLITE_PREPARE_NORMALIZE flag is a no-op. This flag used +** to be required for any prepared statement that wanted to use the +** [sqlite3_normalized_sql()] interface. However, the +** [sqlite3_normalized_sql()] interface is now available to all +** prepared statements, regardless of whether or not they use this +** flag. +** +** [[SQLITE_PREPARE_NO_VTAB]]
SQLITE_PREPARE_NO_VTAB
+**
The SQLITE_PREPARE_NO_VTAB flag causes the SQL compiler +** to return an error (error code SQLITE_ERROR) if the statement uses +** any virtual tables. +**
+*/ +#define SQLITE_PREPARE_PERSISTENT 0x01 +#define SQLITE_PREPARE_NORMALIZE 0x02 +#define SQLITE_PREPARE_NO_VTAB 0x04 + +/* +** CAPI3REF: Compiling An SQL Statement +** KEYWORDS: {SQL statement compiler} +** METHOD: sqlite3 +** CONSTRUCTOR: sqlite3_stmt +** +** To execute an SQL statement, it must first be compiled into a byte-code +** program using one of these routines. Or, in other words, these routines +** are constructors for the [prepared statement] object. +** +** The preferred routine to use is [sqlite3_prepare_v2()]. The +** [sqlite3_prepare()] interface is legacy and should be avoided. +** [sqlite3_prepare_v3()] has an extra "prepFlags" option that is used +** for special purposes. +** +** The use of the UTF-8 interfaces is preferred, as SQLite currently +** does all parsing using UTF-8. The UTF-16 interfaces are provided +** as a convenience. The UTF-16 interfaces work by converting the +** input text into UTF-8, then invoking the corresponding UTF-8 interface. +** +** The first argument, "db", is a [database connection] obtained from a +** prior successful call to [sqlite3_open()], [sqlite3_open_v2()] or +** [sqlite3_open16()]. The database connection must not have been closed. +** +** The second argument, "zSql", is the statement to be compiled, encoded +** as either UTF-8 or UTF-16. The sqlite3_prepare(), sqlite3_prepare_v2(), +** and sqlite3_prepare_v3() +** interfaces use UTF-8, and sqlite3_prepare16(), sqlite3_prepare16_v2(), +** and sqlite3_prepare16_v3() use UTF-16. +** +** ^If the nByte argument is negative, then zSql is read up to the +** first zero terminator. ^If nByte is positive, then it is the +** number of bytes read from zSql. ^If nByte is zero, then no prepared +** statement is generated. +** If the caller knows that the supplied string is nul-terminated, then +** there is a small performance advantage to passing an nByte parameter that +** is the number of bytes in the input string including +** the nul-terminator. +** +** ^If pzTail is not NULL then *pzTail is made to point to the first byte +** past the end of the first SQL statement in zSql. These routines only +** compile the first statement in zSql, so *pzTail is left pointing to +** what remains uncompiled. +** +** ^*ppStmt is left pointing to a compiled [prepared statement] that can be +** executed using [sqlite3_step()]. ^If there is an error, *ppStmt is set +** to NULL. ^If the input text contains no SQL (if the input is an empty +** string or a comment) then *ppStmt is set to NULL. +** The calling procedure is responsible for deleting the compiled +** SQL statement using [sqlite3_finalize()] after it has finished with it. +** ppStmt may not be NULL. +** +** ^On success, the sqlite3_prepare() family of routines return [SQLITE_OK]; +** otherwise an [error code] is returned. +** +** The sqlite3_prepare_v2(), sqlite3_prepare_v3(), sqlite3_prepare16_v2(), +** and sqlite3_prepare16_v3() interfaces are recommended for all new programs. +** The older interfaces (sqlite3_prepare() and sqlite3_prepare16()) +** are retained for backwards compatibility, but their use is discouraged. +** ^In the "vX" interfaces, the prepared statement +** that is returned (the [sqlite3_stmt] object) contains a copy of the +** original SQL text. This causes the [sqlite3_step()] interface to +** behave differently in three ways: +** +**
    +**
  1. +** ^If the database schema changes, instead of returning [SQLITE_SCHEMA] as it +** always used to do, [sqlite3_step()] will automatically recompile the SQL +** statement and try to run it again. As many as [SQLITE_MAX_SCHEMA_RETRY] +** retries will occur before sqlite3_step() gives up and returns an error. +**
  2. +** +**
  3. +** ^When an error occurs, [sqlite3_step()] will return one of the detailed +** [error codes] or [extended error codes]. ^The legacy behavior was that +** [sqlite3_step()] would only return a generic [SQLITE_ERROR] result code +** and the application would have to make a second call to [sqlite3_reset()] +** in order to find the underlying cause of the problem. With the "v2" prepare +** interfaces, the underlying reason for the error is returned immediately. +**
  4. +** +**
  5. +** ^If the specific value bound to [parameter | host parameter] in the +** WHERE clause might influence the choice of query plan for a statement, +** then the statement will be automatically recompiled, as if there had been +** a schema change, on the first [sqlite3_step()] call following any change +** to the [sqlite3_bind_text | bindings] of that [parameter]. +** ^The specific value of WHERE-clause [parameter] might influence the +** choice of query plan if the parameter is the left-hand side of a [LIKE] +** or [GLOB] operator or if the parameter is compared to an indexed column +** and the [SQLITE_ENABLE_STAT4] compile-time option is enabled. +**
  6. +**
+** +**

^sqlite3_prepare_v3() differs from sqlite3_prepare_v2() only in having +** the extra prepFlags parameter, which is a bit array consisting of zero or +** more of the [SQLITE_PREPARE_PERSISTENT|SQLITE_PREPARE_*] flags. ^The +** sqlite3_prepare_v2() interface works exactly the same as +** sqlite3_prepare_v3() with a zero prepFlags parameter. +*/ +SQLITE_API int sqlite3_prepare( + sqlite3 *db, /* Database handle */ + const char *zSql, /* SQL statement, UTF-8 encoded */ + int nByte, /* Maximum length of zSql in bytes. */ + sqlite3_stmt **ppStmt, /* OUT: Statement handle */ + const char **pzTail /* OUT: Pointer to unused portion of zSql */ +); +SQLITE_API int sqlite3_prepare_v2( + sqlite3 *db, /* Database handle */ + const char *zSql, /* SQL statement, UTF-8 encoded */ + int nByte, /* Maximum length of zSql in bytes. */ + sqlite3_stmt **ppStmt, /* OUT: Statement handle */ + const char **pzTail /* OUT: Pointer to unused portion of zSql */ +); +SQLITE_API int sqlite3_prepare_v3( + sqlite3 *db, /* Database handle */ + const char *zSql, /* SQL statement, UTF-8 encoded */ + int nByte, /* Maximum length of zSql in bytes. */ + unsigned int prepFlags, /* Zero or more SQLITE_PREPARE_ flags */ + sqlite3_stmt **ppStmt, /* OUT: Statement handle */ + const char **pzTail /* OUT: Pointer to unused portion of zSql */ +); +SQLITE_API int sqlite3_prepare16( + sqlite3 *db, /* Database handle */ + const void *zSql, /* SQL statement, UTF-16 encoded */ + int nByte, /* Maximum length of zSql in bytes. */ + sqlite3_stmt **ppStmt, /* OUT: Statement handle */ + const void **pzTail /* OUT: Pointer to unused portion of zSql */ +); +SQLITE_API int sqlite3_prepare16_v2( + sqlite3 *db, /* Database handle */ + const void *zSql, /* SQL statement, UTF-16 encoded */ + int nByte, /* Maximum length of zSql in bytes. */ + sqlite3_stmt **ppStmt, /* OUT: Statement handle */ + const void **pzTail /* OUT: Pointer to unused portion of zSql */ +); +SQLITE_API int sqlite3_prepare16_v3( + sqlite3 *db, /* Database handle */ + const void *zSql, /* SQL statement, UTF-16 encoded */ + int nByte, /* Maximum length of zSql in bytes. */ + unsigned int prepFlags, /* Zero or more SQLITE_PREPARE_ flags */ + sqlite3_stmt **ppStmt, /* OUT: Statement handle */ + const void **pzTail /* OUT: Pointer to unused portion of zSql */ +); + +/* +** CAPI3REF: Retrieving Statement SQL +** METHOD: sqlite3_stmt +** +** ^The sqlite3_sql(P) interface returns a pointer to a copy of the UTF-8 +** SQL text used to create [prepared statement] P if P was +** created by [sqlite3_prepare_v2()], [sqlite3_prepare_v3()], +** [sqlite3_prepare16_v2()], or [sqlite3_prepare16_v3()]. +** ^The sqlite3_expanded_sql(P) interface returns a pointer to a UTF-8 +** string containing the SQL text of prepared statement P with +** [bound parameters] expanded. +** ^The sqlite3_normalized_sql(P) interface returns a pointer to a UTF-8 +** string containing the normalized SQL text of prepared statement P. The +** semantics used to normalize a SQL statement are unspecified and subject +** to change. At a minimum, literal values will be replaced with suitable +** placeholders. +** +** ^(For example, if a prepared statement is created using the SQL +** text "SELECT $abc,:xyz" and if parameter $abc is bound to integer 2345 +** and parameter :xyz is unbound, then sqlite3_sql() will return +** the original string, "SELECT $abc,:xyz" but sqlite3_expanded_sql() +** will return "SELECT 2345,NULL".)^ +** +** ^The sqlite3_expanded_sql() interface returns NULL if insufficient memory +** is available to hold the result, or if the result would exceed the +** the maximum string length determined by the [SQLITE_LIMIT_LENGTH]. +** +** ^The [SQLITE_TRACE_SIZE_LIMIT] compile-time option limits the size of +** bound parameter expansions. ^The [SQLITE_OMIT_TRACE] compile-time +** option causes sqlite3_expanded_sql() to always return NULL. +** +** ^The strings returned by sqlite3_sql(P) and sqlite3_normalized_sql(P) +** are managed by SQLite and are automatically freed when the prepared +** statement is finalized. +** ^The string returned by sqlite3_expanded_sql(P), on the other hand, +** is obtained from [sqlite3_malloc()] and must be free by the application +** by passing it to [sqlite3_free()]. +*/ +SQLITE_API const char *sqlite3_sql(sqlite3_stmt *pStmt); +SQLITE_API char *sqlite3_expanded_sql(sqlite3_stmt *pStmt); +SQLITE_API const char *sqlite3_normalized_sql(sqlite3_stmt *pStmt); + +/* +** CAPI3REF: Determine If An SQL Statement Writes The Database +** METHOD: sqlite3_stmt +** +** ^The sqlite3_stmt_readonly(X) interface returns true (non-zero) if +** and only if the [prepared statement] X makes no direct changes to +** the content of the database file. +** +** Note that [application-defined SQL functions] or +** [virtual tables] might change the database indirectly as a side effect. +** ^(For example, if an application defines a function "eval()" that +** calls [sqlite3_exec()], then the following SQL statement would +** change the database file through side-effects: +** +**

+**    SELECT eval('DELETE FROM t1') FROM t2;
+** 
+** +** But because the [SELECT] statement does not change the database file +** directly, sqlite3_stmt_readonly() would still return true.)^ +** +** ^Transaction control statements such as [BEGIN], [COMMIT], [ROLLBACK], +** [SAVEPOINT], and [RELEASE] cause sqlite3_stmt_readonly() to return true, +** since the statements themselves do not actually modify the database but +** rather they control the timing of when other statements modify the +** database. ^The [ATTACH] and [DETACH] statements also cause +** sqlite3_stmt_readonly() to return true since, while those statements +** change the configuration of a database connection, they do not make +** changes to the content of the database files on disk. +** ^The sqlite3_stmt_readonly() interface returns true for [BEGIN] since +** [BEGIN] merely sets internal flags, but the [BEGIN|BEGIN IMMEDIATE] and +** [BEGIN|BEGIN EXCLUSIVE] commands do touch the database and so +** sqlite3_stmt_readonly() returns false for those commands. +*/ +SQLITE_API int sqlite3_stmt_readonly(sqlite3_stmt *pStmt); + +/* +** CAPI3REF: Query The EXPLAIN Setting For A Prepared Statement +** METHOD: sqlite3_stmt +** +** ^The sqlite3_stmt_isexplain(S) interface returns 1 if the +** prepared statement S is an EXPLAIN statement, or 2 if the +** statement S is an EXPLAIN QUERY PLAN. +** ^The sqlite3_stmt_isexplain(S) interface returns 0 if S is +** an ordinary statement or a NULL pointer. +*/ +SQLITE_API int sqlite3_stmt_isexplain(sqlite3_stmt *pStmt); + +/* +** CAPI3REF: Determine If A Prepared Statement Has Been Reset +** METHOD: sqlite3_stmt +** +** ^The sqlite3_stmt_busy(S) interface returns true (non-zero) if the +** [prepared statement] S has been stepped at least once using +** [sqlite3_step(S)] but has neither run to completion (returned +** [SQLITE_DONE] from [sqlite3_step(S)]) nor +** been reset using [sqlite3_reset(S)]. ^The sqlite3_stmt_busy(S) +** interface returns false if S is a NULL pointer. If S is not a +** NULL pointer and is not a pointer to a valid [prepared statement] +** object, then the behavior is undefined and probably undesirable. +** +** This interface can be used in combination [sqlite3_next_stmt()] +** to locate all prepared statements associated with a database +** connection that are in need of being reset. This can be used, +** for example, in diagnostic routines to search for prepared +** statements that are holding a transaction open. +*/ +SQLITE_API int sqlite3_stmt_busy(sqlite3_stmt*); + +/* +** CAPI3REF: Dynamically Typed Value Object +** KEYWORDS: {protected sqlite3_value} {unprotected sqlite3_value} +** +** SQLite uses the sqlite3_value object to represent all values +** that can be stored in a database table. SQLite uses dynamic typing +** for the values it stores. ^Values stored in sqlite3_value objects +** can be integers, floating point values, strings, BLOBs, or NULL. +** +** An sqlite3_value object may be either "protected" or "unprotected". +** Some interfaces require a protected sqlite3_value. Other interfaces +** will accept either a protected or an unprotected sqlite3_value. +** Every interface that accepts sqlite3_value arguments specifies +** whether or not it requires a protected sqlite3_value. The +** [sqlite3_value_dup()] interface can be used to construct a new +** protected sqlite3_value from an unprotected sqlite3_value. +** +** The terms "protected" and "unprotected" refer to whether or not +** a mutex is held. An internal mutex is held for a protected +** sqlite3_value object but no mutex is held for an unprotected +** sqlite3_value object. If SQLite is compiled to be single-threaded +** (with [SQLITE_THREADSAFE=0] and with [sqlite3_threadsafe()] returning 0) +** or if SQLite is run in one of reduced mutex modes +** [SQLITE_CONFIG_SINGLETHREAD] or [SQLITE_CONFIG_MULTITHREAD] +** then there is no distinction between protected and unprotected +** sqlite3_value objects and they can be used interchangeably. However, +** for maximum code portability it is recommended that applications +** still make the distinction between protected and unprotected +** sqlite3_value objects even when not strictly required. +** +** ^The sqlite3_value objects that are passed as parameters into the +** implementation of [application-defined SQL functions] are protected. +** ^The sqlite3_value object returned by +** [sqlite3_column_value()] is unprotected. +** Unprotected sqlite3_value objects may only be used as arguments +** to [sqlite3_result_value()], [sqlite3_bind_value()], and +** [sqlite3_value_dup()]. +** The [sqlite3_value_blob | sqlite3_value_type()] family of +** interfaces require protected sqlite3_value objects. +*/ +typedef struct sqlite3_value sqlite3_value; + +/* +** CAPI3REF: SQL Function Context Object +** +** The context in which an SQL function executes is stored in an +** sqlite3_context object. ^A pointer to an sqlite3_context object +** is always first parameter to [application-defined SQL functions]. +** The application-defined SQL function implementation will pass this +** pointer through into calls to [sqlite3_result_int | sqlite3_result()], +** [sqlite3_aggregate_context()], [sqlite3_user_data()], +** [sqlite3_context_db_handle()], [sqlite3_get_auxdata()], +** and/or [sqlite3_set_auxdata()]. +*/ +typedef struct sqlite3_context sqlite3_context; + +/* +** CAPI3REF: Binding Values To Prepared Statements +** KEYWORDS: {host parameter} {host parameters} {host parameter name} +** KEYWORDS: {SQL parameter} {SQL parameters} {parameter binding} +** METHOD: sqlite3_stmt +** +** ^(In the SQL statement text input to [sqlite3_prepare_v2()] and its variants, +** literals may be replaced by a [parameter] that matches one of following +** templates: +** +**
    +**
  • ? +**
  • ?NNN +**
  • :VVV +**
  • @VVV +**
  • $VVV +**
+** +** In the templates above, NNN represents an integer literal, +** and VVV represents an alphanumeric identifier.)^ ^The values of these +** parameters (also called "host parameter names" or "SQL parameters") +** can be set using the sqlite3_bind_*() routines defined here. +** +** ^The first argument to the sqlite3_bind_*() routines is always +** a pointer to the [sqlite3_stmt] object returned from +** [sqlite3_prepare_v2()] or its variants. +** +** ^The second argument is the index of the SQL parameter to be set. +** ^The leftmost SQL parameter has an index of 1. ^When the same named +** SQL parameter is used more than once, second and subsequent +** occurrences have the same index as the first occurrence. +** ^The index for named parameters can be looked up using the +** [sqlite3_bind_parameter_index()] API if desired. ^The index +** for "?NNN" parameters is the value of NNN. +** ^The NNN value must be between 1 and the [sqlite3_limit()] +** parameter [SQLITE_LIMIT_VARIABLE_NUMBER] (default value: 999). +** +** ^The third argument is the value to bind to the parameter. +** ^If the third parameter to sqlite3_bind_text() or sqlite3_bind_text16() +** or sqlite3_bind_blob() is a NULL pointer then the fourth parameter +** is ignored and the end result is the same as sqlite3_bind_null(). +** +** ^(In those routines that have a fourth argument, its value is the +** number of bytes in the parameter. To be clear: the value is the +** number of bytes in the value, not the number of characters.)^ +** ^If the fourth parameter to sqlite3_bind_text() or sqlite3_bind_text16() +** is negative, then the length of the string is +** the number of bytes up to the first zero terminator. +** If the fourth parameter to sqlite3_bind_blob() is negative, then +** the behavior is undefined. +** If a non-negative fourth parameter is provided to sqlite3_bind_text() +** or sqlite3_bind_text16() or sqlite3_bind_text64() then +** that parameter must be the byte offset +** where the NUL terminator would occur assuming the string were NUL +** terminated. If any NUL characters occur at byte offsets less than +** the value of the fourth parameter then the resulting string value will +** contain embedded NULs. The result of expressions involving strings +** with embedded NULs is undefined. +** +** ^The fifth argument to the BLOB and string binding interfaces +** is a destructor used to dispose of the BLOB or +** string after SQLite has finished with it. ^The destructor is called +** to dispose of the BLOB or string even if the call to the bind API fails, +** except the destructor is not called if the third parameter is a NULL +** pointer or the fourth parameter is negative. +** ^If the fifth argument is +** the special value [SQLITE_STATIC], then SQLite assumes that the +** information is in static, unmanaged space and does not need to be freed. +** ^If the fifth argument has the value [SQLITE_TRANSIENT], then +** SQLite makes its own private copy of the data immediately, before +** the sqlite3_bind_*() routine returns. +** +** ^The sixth argument to sqlite3_bind_text64() must be one of +** [SQLITE_UTF8], [SQLITE_UTF16], [SQLITE_UTF16BE], or [SQLITE_UTF16LE] +** to specify the encoding of the text in the third parameter. If +** the sixth argument to sqlite3_bind_text64() is not one of the +** allowed values shown above, or if the text encoding is different +** from the encoding specified by the sixth parameter, then the behavior +** is undefined. +** +** ^The sqlite3_bind_zeroblob() routine binds a BLOB of length N that +** is filled with zeroes. ^A zeroblob uses a fixed amount of memory +** (just an integer to hold its size) while it is being processed. +** Zeroblobs are intended to serve as placeholders for BLOBs whose +** content is later written using +** [sqlite3_blob_open | incremental BLOB I/O] routines. +** ^A negative value for the zeroblob results in a zero-length BLOB. +** +** ^The sqlite3_bind_pointer(S,I,P,T,D) routine causes the I-th parameter in +** [prepared statement] S to have an SQL value of NULL, but to also be +** associated with the pointer P of type T. ^D is either a NULL pointer or +** a pointer to a destructor function for P. ^SQLite will invoke the +** destructor D with a single argument of P when it is finished using +** P. The T parameter should be a static string, preferably a string +** literal. The sqlite3_bind_pointer() routine is part of the +** [pointer passing interface] added for SQLite 3.20.0. +** +** ^If any of the sqlite3_bind_*() routines are called with a NULL pointer +** for the [prepared statement] or with a prepared statement for which +** [sqlite3_step()] has been called more recently than [sqlite3_reset()], +** then the call will return [SQLITE_MISUSE]. If any sqlite3_bind_() +** routine is passed a [prepared statement] that has been finalized, the +** result is undefined and probably harmful. +** +** ^Bindings are not cleared by the [sqlite3_reset()] routine. +** ^Unbound parameters are interpreted as NULL. +** +** ^The sqlite3_bind_* routines return [SQLITE_OK] on success or an +** [error code] if anything goes wrong. +** ^[SQLITE_TOOBIG] might be returned if the size of a string or BLOB +** exceeds limits imposed by [sqlite3_limit]([SQLITE_LIMIT_LENGTH]) or +** [SQLITE_MAX_LENGTH]. +** ^[SQLITE_RANGE] is returned if the parameter +** index is out of range. ^[SQLITE_NOMEM] is returned if malloc() fails. +** +** See also: [sqlite3_bind_parameter_count()], +** [sqlite3_bind_parameter_name()], and [sqlite3_bind_parameter_index()]. +*/ +SQLITE_API int sqlite3_bind_blob(sqlite3_stmt*, int, const void*, int n, void(*)(void*)); +SQLITE_API int sqlite3_bind_blob64(sqlite3_stmt*, int, const void*, sqlite3_uint64, + void(*)(void*)); +SQLITE_API int sqlite3_bind_double(sqlite3_stmt*, int, double); +SQLITE_API int sqlite3_bind_int(sqlite3_stmt*, int, int); +SQLITE_API int sqlite3_bind_int64(sqlite3_stmt*, int, sqlite3_int64); +SQLITE_API int sqlite3_bind_null(sqlite3_stmt*, int); +SQLITE_API int sqlite3_bind_text(sqlite3_stmt*,int,const char*,int,void(*)(void*)); +SQLITE_API int sqlite3_bind_text16(sqlite3_stmt*, int, const void*, int, void(*)(void*)); +SQLITE_API int sqlite3_bind_text64(sqlite3_stmt*, int, const char*, sqlite3_uint64, + void(*)(void*), unsigned char encoding); +SQLITE_API int sqlite3_bind_value(sqlite3_stmt*, int, const sqlite3_value*); +SQLITE_API int sqlite3_bind_pointer(sqlite3_stmt*, int, void*, const char*,void(*)(void*)); +SQLITE_API int sqlite3_bind_zeroblob(sqlite3_stmt*, int, int n); +SQLITE_API int sqlite3_bind_zeroblob64(sqlite3_stmt*, int, sqlite3_uint64); + +/* +** CAPI3REF: Number Of SQL Parameters +** METHOD: sqlite3_stmt +** +** ^This routine can be used to find the number of [SQL parameters] +** in a [prepared statement]. SQL parameters are tokens of the +** form "?", "?NNN", ":AAA", "$AAA", or "@AAA" that serve as +** placeholders for values that are [sqlite3_bind_blob | bound] +** to the parameters at a later time. +** +** ^(This routine actually returns the index of the largest (rightmost) +** parameter. For all forms except ?NNN, this will correspond to the +** number of unique parameters. If parameters of the ?NNN form are used, +** there may be gaps in the list.)^ +** +** See also: [sqlite3_bind_blob|sqlite3_bind()], +** [sqlite3_bind_parameter_name()], and +** [sqlite3_bind_parameter_index()]. +*/ +SQLITE_API int sqlite3_bind_parameter_count(sqlite3_stmt*); + +/* +** CAPI3REF: Name Of A Host Parameter +** METHOD: sqlite3_stmt +** +** ^The sqlite3_bind_parameter_name(P,N) interface returns +** the name of the N-th [SQL parameter] in the [prepared statement] P. +** ^(SQL parameters of the form "?NNN" or ":AAA" or "@AAA" or "$AAA" +** have a name which is the string "?NNN" or ":AAA" or "@AAA" or "$AAA" +** respectively. +** In other words, the initial ":" or "$" or "@" or "?" +** is included as part of the name.)^ +** ^Parameters of the form "?" without a following integer have no name +** and are referred to as "nameless" or "anonymous parameters". +** +** ^The first host parameter has an index of 1, not 0. +** +** ^If the value N is out of range or if the N-th parameter is +** nameless, then NULL is returned. ^The returned string is +** always in UTF-8 encoding even if the named parameter was +** originally specified as UTF-16 in [sqlite3_prepare16()], +** [sqlite3_prepare16_v2()], or [sqlite3_prepare16_v3()]. +** +** See also: [sqlite3_bind_blob|sqlite3_bind()], +** [sqlite3_bind_parameter_count()], and +** [sqlite3_bind_parameter_index()]. +*/ +SQLITE_API const char *sqlite3_bind_parameter_name(sqlite3_stmt*, int); + +/* +** CAPI3REF: Index Of A Parameter With A Given Name +** METHOD: sqlite3_stmt +** +** ^Return the index of an SQL parameter given its name. ^The +** index value returned is suitable for use as the second +** parameter to [sqlite3_bind_blob|sqlite3_bind()]. ^A zero +** is returned if no matching parameter is found. ^The parameter +** name must be given in UTF-8 even if the original statement +** was prepared from UTF-16 text using [sqlite3_prepare16_v2()] or +** [sqlite3_prepare16_v3()]. +** +** See also: [sqlite3_bind_blob|sqlite3_bind()], +** [sqlite3_bind_parameter_count()], and +** [sqlite3_bind_parameter_name()]. +*/ +SQLITE_API int sqlite3_bind_parameter_index(sqlite3_stmt*, const char *zName); + +/* +** CAPI3REF: Reset All Bindings On A Prepared Statement +** METHOD: sqlite3_stmt +** +** ^Contrary to the intuition of many, [sqlite3_reset()] does not reset +** the [sqlite3_bind_blob | bindings] on a [prepared statement]. +** ^Use this routine to reset all host parameters to NULL. +*/ +SQLITE_API int sqlite3_clear_bindings(sqlite3_stmt*); + +/* +** CAPI3REF: Number Of Columns In A Result Set +** METHOD: sqlite3_stmt +** +** ^Return the number of columns in the result set returned by the +** [prepared statement]. ^If this routine returns 0, that means the +** [prepared statement] returns no data (for example an [UPDATE]). +** ^However, just because this routine returns a positive number does not +** mean that one or more rows of data will be returned. ^A SELECT statement +** will always have a positive sqlite3_column_count() but depending on the +** WHERE clause constraints and the table content, it might return no rows. +** +** See also: [sqlite3_data_count()] +*/ +SQLITE_API int sqlite3_column_count(sqlite3_stmt *pStmt); + +/* +** CAPI3REF: Column Names In A Result Set +** METHOD: sqlite3_stmt +** +** ^These routines return the name assigned to a particular column +** in the result set of a [SELECT] statement. ^The sqlite3_column_name() +** interface returns a pointer to a zero-terminated UTF-8 string +** and sqlite3_column_name16() returns a pointer to a zero-terminated +** UTF-16 string. ^The first parameter is the [prepared statement] +** that implements the [SELECT] statement. ^The second parameter is the +** column number. ^The leftmost column is number 0. +** +** ^The returned string pointer is valid until either the [prepared statement] +** is destroyed by [sqlite3_finalize()] or until the statement is automatically +** reprepared by the first call to [sqlite3_step()] for a particular run +** or until the next call to +** sqlite3_column_name() or sqlite3_column_name16() on the same column. +** +** ^If sqlite3_malloc() fails during the processing of either routine +** (for example during a conversion from UTF-8 to UTF-16) then a +** NULL pointer is returned. +** +** ^The name of a result column is the value of the "AS" clause for +** that column, if there is an AS clause. If there is no AS clause +** then the name of the column is unspecified and may change from +** one release of SQLite to the next. +*/ +SQLITE_API const char *sqlite3_column_name(sqlite3_stmt*, int N); +SQLITE_API const void *sqlite3_column_name16(sqlite3_stmt*, int N); + +/* +** CAPI3REF: Source Of Data In A Query Result +** METHOD: sqlite3_stmt +** +** ^These routines provide a means to determine the database, table, and +** table column that is the origin of a particular result column in +** [SELECT] statement. +** ^The name of the database or table or column can be returned as +** either a UTF-8 or UTF-16 string. ^The _database_ routines return +** the database name, the _table_ routines return the table name, and +** the origin_ routines return the column name. +** ^The returned string is valid until the [prepared statement] is destroyed +** using [sqlite3_finalize()] or until the statement is automatically +** reprepared by the first call to [sqlite3_step()] for a particular run +** or until the same information is requested +** again in a different encoding. +** +** ^The names returned are the original un-aliased names of the +** database, table, and column. +** +** ^The first argument to these interfaces is a [prepared statement]. +** ^These functions return information about the Nth result column returned by +** the statement, where N is the second function argument. +** ^The left-most column is column 0 for these routines. +** +** ^If the Nth column returned by the statement is an expression or +** subquery and is not a column value, then all of these functions return +** NULL. ^These routine might also return NULL if a memory allocation error +** occurs. ^Otherwise, they return the name of the attached database, table, +** or column that query result column was extracted from. +** +** ^As with all other SQLite APIs, those whose names end with "16" return +** UTF-16 encoded strings and the other functions return UTF-8. +** +** ^These APIs are only available if the library was compiled with the +** [SQLITE_ENABLE_COLUMN_METADATA] C-preprocessor symbol. +** +** If two or more threads call one or more of these routines against the same +** prepared statement and column at the same time then the results are +** undefined. +** +** If two or more threads call one or more +** [sqlite3_column_database_name | column metadata interfaces] +** for the same [prepared statement] and result column +** at the same time then the results are undefined. +*/ +SQLITE_API const char *sqlite3_column_database_name(sqlite3_stmt*,int); +SQLITE_API const void *sqlite3_column_database_name16(sqlite3_stmt*,int); +SQLITE_API const char *sqlite3_column_table_name(sqlite3_stmt*,int); +SQLITE_API const void *sqlite3_column_table_name16(sqlite3_stmt*,int); +SQLITE_API const char *sqlite3_column_origin_name(sqlite3_stmt*,int); +SQLITE_API const void *sqlite3_column_origin_name16(sqlite3_stmt*,int); + +/* +** CAPI3REF: Declared Datatype Of A Query Result +** METHOD: sqlite3_stmt +** +** ^(The first parameter is a [prepared statement]. +** If this statement is a [SELECT] statement and the Nth column of the +** returned result set of that [SELECT] is a table column (not an +** expression or subquery) then the declared type of the table +** column is returned.)^ ^If the Nth column of the result set is an +** expression or subquery, then a NULL pointer is returned. +** ^The returned string is always UTF-8 encoded. +** +** ^(For example, given the database schema: +** +** CREATE TABLE t1(c1 VARIANT); +** +** and the following statement to be compiled: +** +** SELECT c1 + 1, c1 FROM t1; +** +** this routine would return the string "VARIANT" for the second result +** column (i==1), and a NULL pointer for the first result column (i==0).)^ +** +** ^SQLite uses dynamic run-time typing. ^So just because a column +** is declared to contain a particular type does not mean that the +** data stored in that column is of the declared type. SQLite is +** strongly typed, but the typing is dynamic not static. ^Type +** is associated with individual values, not with the containers +** used to hold those values. +*/ +SQLITE_API const char *sqlite3_column_decltype(sqlite3_stmt*,int); +SQLITE_API const void *sqlite3_column_decltype16(sqlite3_stmt*,int); + +/* +** CAPI3REF: Evaluate An SQL Statement +** METHOD: sqlite3_stmt +** +** After a [prepared statement] has been prepared using any of +** [sqlite3_prepare_v2()], [sqlite3_prepare_v3()], [sqlite3_prepare16_v2()], +** or [sqlite3_prepare16_v3()] or one of the legacy +** interfaces [sqlite3_prepare()] or [sqlite3_prepare16()], this function +** must be called one or more times to evaluate the statement. +** +** The details of the behavior of the sqlite3_step() interface depend +** on whether the statement was prepared using the newer "vX" interfaces +** [sqlite3_prepare_v3()], [sqlite3_prepare_v2()], [sqlite3_prepare16_v3()], +** [sqlite3_prepare16_v2()] or the older legacy +** interfaces [sqlite3_prepare()] and [sqlite3_prepare16()]. The use of the +** new "vX" interface is recommended for new applications but the legacy +** interface will continue to be supported. +** +** ^In the legacy interface, the return value will be either [SQLITE_BUSY], +** [SQLITE_DONE], [SQLITE_ROW], [SQLITE_ERROR], or [SQLITE_MISUSE]. +** ^With the "v2" interface, any of the other [result codes] or +** [extended result codes] might be returned as well. +** +** ^[SQLITE_BUSY] means that the database engine was unable to acquire the +** database locks it needs to do its job. ^If the statement is a [COMMIT] +** or occurs outside of an explicit transaction, then you can retry the +** statement. If the statement is not a [COMMIT] and occurs within an +** explicit transaction then you should rollback the transaction before +** continuing. +** +** ^[SQLITE_DONE] means that the statement has finished executing +** successfully. sqlite3_step() should not be called again on this virtual +** machine without first calling [sqlite3_reset()] to reset the virtual +** machine back to its initial state. +** +** ^If the SQL statement being executed returns any data, then [SQLITE_ROW] +** is returned each time a new row of data is ready for processing by the +** caller. The values may be accessed using the [column access functions]. +** sqlite3_step() is called again to retrieve the next row of data. +** +** ^[SQLITE_ERROR] means that a run-time error (such as a constraint +** violation) has occurred. sqlite3_step() should not be called again on +** the VM. More information may be found by calling [sqlite3_errmsg()]. +** ^With the legacy interface, a more specific error code (for example, +** [SQLITE_INTERRUPT], [SQLITE_SCHEMA], [SQLITE_CORRUPT], and so forth) +** can be obtained by calling [sqlite3_reset()] on the +** [prepared statement]. ^In the "v2" interface, +** the more specific error code is returned directly by sqlite3_step(). +** +** [SQLITE_MISUSE] means that the this routine was called inappropriately. +** Perhaps it was called on a [prepared statement] that has +** already been [sqlite3_finalize | finalized] or on one that had +** previously returned [SQLITE_ERROR] or [SQLITE_DONE]. Or it could +** be the case that the same database connection is being used by two or +** more threads at the same moment in time. +** +** For all versions of SQLite up to and including 3.6.23.1, a call to +** [sqlite3_reset()] was required after sqlite3_step() returned anything +** other than [SQLITE_ROW] before any subsequent invocation of +** sqlite3_step(). Failure to reset the prepared statement using +** [sqlite3_reset()] would result in an [SQLITE_MISUSE] return from +** sqlite3_step(). But after [version 3.6.23.1] ([dateof:3.6.23.1], +** sqlite3_step() began +** calling [sqlite3_reset()] automatically in this circumstance rather +** than returning [SQLITE_MISUSE]. This is not considered a compatibility +** break because any application that ever receives an SQLITE_MISUSE error +** is broken by definition. The [SQLITE_OMIT_AUTORESET] compile-time option +** can be used to restore the legacy behavior. +** +** Goofy Interface Alert: In the legacy interface, the sqlite3_step() +** API always returns a generic error code, [SQLITE_ERROR], following any +** error other than [SQLITE_BUSY] and [SQLITE_MISUSE]. You must call +** [sqlite3_reset()] or [sqlite3_finalize()] in order to find one of the +** specific [error codes] that better describes the error. +** We admit that this is a goofy design. The problem has been fixed +** with the "v2" interface. If you prepare all of your SQL statements +** using [sqlite3_prepare_v3()] or [sqlite3_prepare_v2()] +** or [sqlite3_prepare16_v2()] or [sqlite3_prepare16_v3()] instead +** of the legacy [sqlite3_prepare()] and [sqlite3_prepare16()] interfaces, +** then the more specific [error codes] are returned directly +** by sqlite3_step(). The use of the "vX" interfaces is recommended. +*/ +SQLITE_API int sqlite3_step(sqlite3_stmt*); + +/* +** CAPI3REF: Number of columns in a result set +** METHOD: sqlite3_stmt +** +** ^The sqlite3_data_count(P) interface returns the number of columns in the +** current row of the result set of [prepared statement] P. +** ^If prepared statement P does not have results ready to return +** (via calls to the [sqlite3_column_int | sqlite3_column_*()] of +** interfaces) then sqlite3_data_count(P) returns 0. +** ^The sqlite3_data_count(P) routine also returns 0 if P is a NULL pointer. +** ^The sqlite3_data_count(P) routine returns 0 if the previous call to +** [sqlite3_step](P) returned [SQLITE_DONE]. ^The sqlite3_data_count(P) +** will return non-zero if previous call to [sqlite3_step](P) returned +** [SQLITE_ROW], except in the case of the [PRAGMA incremental_vacuum] +** where it always returns zero since each step of that multi-step +** pragma returns 0 columns of data. +** +** See also: [sqlite3_column_count()] +*/ +SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt); + +/* +** CAPI3REF: Fundamental Datatypes +** KEYWORDS: SQLITE_TEXT +** +** ^(Every value in SQLite has one of five fundamental datatypes: +** +**
    +**
  • 64-bit signed integer +**
  • 64-bit IEEE floating point number +**
  • string +**
  • BLOB +**
  • NULL +**
)^ +** +** These constants are codes for each of those types. +** +** Note that the SQLITE_TEXT constant was also used in SQLite version 2 +** for a completely different meaning. Software that links against both +** SQLite version 2 and SQLite version 3 should use SQLITE3_TEXT, not +** SQLITE_TEXT. +*/ +#define SQLITE_INTEGER 1 +#define SQLITE_FLOAT 2 +#define SQLITE_BLOB 4 +#define SQLITE_NULL 5 +#ifdef SQLITE_TEXT +# undef SQLITE_TEXT +#else +# define SQLITE_TEXT 3 +#endif +#define SQLITE3_TEXT 3 + +/* +** CAPI3REF: Result Values From A Query +** KEYWORDS: {column access functions} +** METHOD: sqlite3_stmt +** +** Summary: +**
+**
sqlite3_column_blobBLOB result +**
sqlite3_column_doubleREAL result +**
sqlite3_column_int32-bit INTEGER result +**
sqlite3_column_int6464-bit INTEGER result +**
sqlite3_column_textUTF-8 TEXT result +**
sqlite3_column_text16UTF-16 TEXT result +**
sqlite3_column_valueThe result as an +** [sqlite3_value|unprotected sqlite3_value] object. +**
    +**
sqlite3_column_bytesSize of a BLOB +** or a UTF-8 TEXT result in bytes +**
sqlite3_column_bytes16   +** →  Size of UTF-16 +** TEXT in bytes +**
sqlite3_column_typeDefault +** datatype of the result +**
+** +** Details: +** +** ^These routines return information about a single column of the current +** result row of a query. ^In every case the first argument is a pointer +** to the [prepared statement] that is being evaluated (the [sqlite3_stmt*] +** that was returned from [sqlite3_prepare_v2()] or one of its variants) +** and the second argument is the index of the column for which information +** should be returned. ^The leftmost column of the result set has the index 0. +** ^The number of columns in the result can be determined using +** [sqlite3_column_count()]. +** +** If the SQL statement does not currently point to a valid row, or if the +** column index is out of range, the result is undefined. +** These routines may only be called when the most recent call to +** [sqlite3_step()] has returned [SQLITE_ROW] and neither +** [sqlite3_reset()] nor [sqlite3_finalize()] have been called subsequently. +** If any of these routines are called after [sqlite3_reset()] or +** [sqlite3_finalize()] or after [sqlite3_step()] has returned +** something other than [SQLITE_ROW], the results are undefined. +** If [sqlite3_step()] or [sqlite3_reset()] or [sqlite3_finalize()] +** are called from a different thread while any of these routines +** are pending, then the results are undefined. +** +** The first six interfaces (_blob, _double, _int, _int64, _text, and _text16) +** each return the value of a result column in a specific data format. If +** the result column is not initially in the requested format (for example, +** if the query returns an integer but the sqlite3_column_text() interface +** is used to extract the value) then an automatic type conversion is performed. +** +** ^The sqlite3_column_type() routine returns the +** [SQLITE_INTEGER | datatype code] for the initial data type +** of the result column. ^The returned value is one of [SQLITE_INTEGER], +** [SQLITE_FLOAT], [SQLITE_TEXT], [SQLITE_BLOB], or [SQLITE_NULL]. +** The return value of sqlite3_column_type() can be used to decide which +** of the first six interface should be used to extract the column value. +** The value returned by sqlite3_column_type() is only meaningful if no +** automatic type conversions have occurred for the value in question. +** After a type conversion, the result of calling sqlite3_column_type() +** is undefined, though harmless. Future +** versions of SQLite may change the behavior of sqlite3_column_type() +** following a type conversion. +** +** If the result is a BLOB or a TEXT string, then the sqlite3_column_bytes() +** or sqlite3_column_bytes16() interfaces can be used to determine the size +** of that BLOB or string. +** +** ^If the result is a BLOB or UTF-8 string then the sqlite3_column_bytes() +** routine returns the number of bytes in that BLOB or string. +** ^If the result is a UTF-16 string, then sqlite3_column_bytes() converts +** the string to UTF-8 and then returns the number of bytes. +** ^If the result is a numeric value then sqlite3_column_bytes() uses +** [sqlite3_snprintf()] to convert that value to a UTF-8 string and returns +** the number of bytes in that string. +** ^If the result is NULL, then sqlite3_column_bytes() returns zero. +** +** ^If the result is a BLOB or UTF-16 string then the sqlite3_column_bytes16() +** routine returns the number of bytes in that BLOB or string. +** ^If the result is a UTF-8 string, then sqlite3_column_bytes16() converts +** the string to UTF-16 and then returns the number of bytes. +** ^If the result is a numeric value then sqlite3_column_bytes16() uses +** [sqlite3_snprintf()] to convert that value to a UTF-16 string and returns +** the number of bytes in that string. +** ^If the result is NULL, then sqlite3_column_bytes16() returns zero. +** +** ^The values returned by [sqlite3_column_bytes()] and +** [sqlite3_column_bytes16()] do not include the zero terminators at the end +** of the string. ^For clarity: the values returned by +** [sqlite3_column_bytes()] and [sqlite3_column_bytes16()] are the number of +** bytes in the string, not the number of characters. +** +** ^Strings returned by sqlite3_column_text() and sqlite3_column_text16(), +** even empty strings, are always zero-terminated. ^The return +** value from sqlite3_column_blob() for a zero-length BLOB is a NULL pointer. +** +** Warning: ^The object returned by [sqlite3_column_value()] is an +** [unprotected sqlite3_value] object. In a multithreaded environment, +** an unprotected sqlite3_value object may only be used safely with +** [sqlite3_bind_value()] and [sqlite3_result_value()]. +** If the [unprotected sqlite3_value] object returned by +** [sqlite3_column_value()] is used in any other way, including calls +** to routines like [sqlite3_value_int()], [sqlite3_value_text()], +** or [sqlite3_value_bytes()], the behavior is not threadsafe. +** Hence, the sqlite3_column_value() interface +** is normally only useful within the implementation of +** [application-defined SQL functions] or [virtual tables], not within +** top-level application code. +** +** The these routines may attempt to convert the datatype of the result. +** ^For example, if the internal representation is FLOAT and a text result +** is requested, [sqlite3_snprintf()] is used internally to perform the +** conversion automatically. ^(The following table details the conversions +** that are applied: +** +**
+** +**
Internal
Type
Requested
Type
Conversion +** +**
NULL INTEGER Result is 0 +**
NULL FLOAT Result is 0.0 +**
NULL TEXT Result is a NULL pointer +**
NULL BLOB Result is a NULL pointer +**
INTEGER FLOAT Convert from integer to float +**
INTEGER TEXT ASCII rendering of the integer +**
INTEGER BLOB Same as INTEGER->TEXT +**
FLOAT INTEGER [CAST] to INTEGER +**
FLOAT TEXT ASCII rendering of the float +**
FLOAT BLOB [CAST] to BLOB +**
TEXT INTEGER [CAST] to INTEGER +**
TEXT FLOAT [CAST] to REAL +**
TEXT BLOB No change +**
BLOB INTEGER [CAST] to INTEGER +**
BLOB FLOAT [CAST] to REAL +**
BLOB TEXT Add a zero terminator if needed +**
+**
)^ +** +** Note that when type conversions occur, pointers returned by prior +** calls to sqlite3_column_blob(), sqlite3_column_text(), and/or +** sqlite3_column_text16() may be invalidated. +** Type conversions and pointer invalidations might occur +** in the following cases: +** +**
    +**
  • The initial content is a BLOB and sqlite3_column_text() or +** sqlite3_column_text16() is called. A zero-terminator might +** need to be added to the string.
  • +**
  • The initial content is UTF-8 text and sqlite3_column_bytes16() or +** sqlite3_column_text16() is called. The content must be converted +** to UTF-16.
  • +**
  • The initial content is UTF-16 text and sqlite3_column_bytes() or +** sqlite3_column_text() is called. The content must be converted +** to UTF-8.
  • +**
+** +** ^Conversions between UTF-16be and UTF-16le are always done in place and do +** not invalidate a prior pointer, though of course the content of the buffer +** that the prior pointer references will have been modified. Other kinds +** of conversion are done in place when it is possible, but sometimes they +** are not possible and in those cases prior pointers are invalidated. +** +** The safest policy is to invoke these routines +** in one of the following ways: +** +**
    +**
  • sqlite3_column_text() followed by sqlite3_column_bytes()
  • +**
  • sqlite3_column_blob() followed by sqlite3_column_bytes()
  • +**
  • sqlite3_column_text16() followed by sqlite3_column_bytes16()
  • +**
+** +** In other words, you should call sqlite3_column_text(), +** sqlite3_column_blob(), or sqlite3_column_text16() first to force the result +** into the desired format, then invoke sqlite3_column_bytes() or +** sqlite3_column_bytes16() to find the size of the result. Do not mix calls +** to sqlite3_column_text() or sqlite3_column_blob() with calls to +** sqlite3_column_bytes16(), and do not mix calls to sqlite3_column_text16() +** with calls to sqlite3_column_bytes(). +** +** ^The pointers returned are valid until a type conversion occurs as +** described above, or until [sqlite3_step()] or [sqlite3_reset()] or +** [sqlite3_finalize()] is called. ^The memory space used to hold strings +** and BLOBs is freed automatically. Do not pass the pointers returned +** from [sqlite3_column_blob()], [sqlite3_column_text()], etc. into +** [sqlite3_free()]. +** +** As long as the input parameters are correct, these routines will only +** fail if an out-of-memory error occurs during a format conversion. +** Only the following subset of interfaces are subject to out-of-memory +** errors: +** +**
    +**
  • sqlite3_column_blob() +**
  • sqlite3_column_text() +**
  • sqlite3_column_text16() +**
  • sqlite3_column_bytes() +**
  • sqlite3_column_bytes16() +**
+** +** If an out-of-memory error occurs, then the return value from these +** routines is the same as if the column had contained an SQL NULL value. +** Valid SQL NULL returns can be distinguished from out-of-memory errors +** by invoking the [sqlite3_errcode()] immediately after the suspect +** return value is obtained and before any +** other SQLite interface is called on the same [database connection]. +*/ +SQLITE_API const void *sqlite3_column_blob(sqlite3_stmt*, int iCol); +SQLITE_API double sqlite3_column_double(sqlite3_stmt*, int iCol); +SQLITE_API int sqlite3_column_int(sqlite3_stmt*, int iCol); +SQLITE_API sqlite3_int64 sqlite3_column_int64(sqlite3_stmt*, int iCol); +SQLITE_API const unsigned char *sqlite3_column_text(sqlite3_stmt*, int iCol); +SQLITE_API const void *sqlite3_column_text16(sqlite3_stmt*, int iCol); +SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt*, int iCol); +SQLITE_API int sqlite3_column_bytes(sqlite3_stmt*, int iCol); +SQLITE_API int sqlite3_column_bytes16(sqlite3_stmt*, int iCol); +SQLITE_API int sqlite3_column_type(sqlite3_stmt*, int iCol); + +/* +** CAPI3REF: Destroy A Prepared Statement Object +** DESTRUCTOR: sqlite3_stmt +** +** ^The sqlite3_finalize() function is called to delete a [prepared statement]. +** ^If the most recent evaluation of the statement encountered no errors +** or if the statement is never been evaluated, then sqlite3_finalize() returns +** SQLITE_OK. ^If the most recent evaluation of statement S failed, then +** sqlite3_finalize(S) returns the appropriate [error code] or +** [extended error code]. +** +** ^The sqlite3_finalize(S) routine can be called at any point during +** the life cycle of [prepared statement] S: +** before statement S is ever evaluated, after +** one or more calls to [sqlite3_reset()], or after any call +** to [sqlite3_step()] regardless of whether or not the statement has +** completed execution. +** +** ^Invoking sqlite3_finalize() on a NULL pointer is a harmless no-op. +** +** The application must finalize every [prepared statement] in order to avoid +** resource leaks. It is a grievous error for the application to try to use +** a prepared statement after it has been finalized. Any use of a prepared +** statement after it has been finalized can result in undefined and +** undesirable behavior such as segfaults and heap corruption. +*/ +SQLITE_API int sqlite3_finalize(sqlite3_stmt *pStmt); + +/* +** CAPI3REF: Reset A Prepared Statement Object +** METHOD: sqlite3_stmt +** +** The sqlite3_reset() function is called to reset a [prepared statement] +** object back to its initial state, ready to be re-executed. +** ^Any SQL statement variables that had values bound to them using +** the [sqlite3_bind_blob | sqlite3_bind_*() API] retain their values. +** Use [sqlite3_clear_bindings()] to reset the bindings. +** +** ^The [sqlite3_reset(S)] interface resets the [prepared statement] S +** back to the beginning of its program. +** +** ^If the most recent call to [sqlite3_step(S)] for the +** [prepared statement] S returned [SQLITE_ROW] or [SQLITE_DONE], +** or if [sqlite3_step(S)] has never before been called on S, +** then [sqlite3_reset(S)] returns [SQLITE_OK]. +** +** ^If the most recent call to [sqlite3_step(S)] for the +** [prepared statement] S indicated an error, then +** [sqlite3_reset(S)] returns an appropriate [error code]. +** +** ^The [sqlite3_reset(S)] interface does not change the values +** of any [sqlite3_bind_blob|bindings] on the [prepared statement] S. +*/ +SQLITE_API int sqlite3_reset(sqlite3_stmt *pStmt); + +/* +** CAPI3REF: Create Or Redefine SQL Functions +** KEYWORDS: {function creation routines} +** KEYWORDS: {application-defined SQL function} +** KEYWORDS: {application-defined SQL functions} +** METHOD: sqlite3 +** +** ^These functions (collectively known as "function creation routines") +** are used to add SQL functions or aggregates or to redefine the behavior +** of existing SQL functions or aggregates. The only differences between +** the three "sqlite3_create_function*" routines are the text encoding +** expected for the second parameter (the name of the function being +** created) and the presence or absence of a destructor callback for +** the application data pointer. Function sqlite3_create_window_function() +** is similar, but allows the user to supply the extra callback functions +** needed by [aggregate window functions]. +** +** ^The first parameter is the [database connection] to which the SQL +** function is to be added. ^If an application uses more than one database +** connection then application-defined SQL functions must be added +** to each database connection separately. +** +** ^The second parameter is the name of the SQL function to be created or +** redefined. ^The length of the name is limited to 255 bytes in a UTF-8 +** representation, exclusive of the zero-terminator. ^Note that the name +** length limit is in UTF-8 bytes, not characters nor UTF-16 bytes. +** ^Any attempt to create a function with a longer name +** will result in [SQLITE_MISUSE] being returned. +** +** ^The third parameter (nArg) +** is the number of arguments that the SQL function or +** aggregate takes. ^If this parameter is -1, then the SQL function or +** aggregate may take any number of arguments between 0 and the limit +** set by [sqlite3_limit]([SQLITE_LIMIT_FUNCTION_ARG]). If the third +** parameter is less than -1 or greater than 127 then the behavior is +** undefined. +** +** ^The fourth parameter, eTextRep, specifies what +** [SQLITE_UTF8 | text encoding] this SQL function prefers for +** its parameters. The application should set this parameter to +** [SQLITE_UTF16LE] if the function implementation invokes +** [sqlite3_value_text16le()] on an input, or [SQLITE_UTF16BE] if the +** implementation invokes [sqlite3_value_text16be()] on an input, or +** [SQLITE_UTF16] if [sqlite3_value_text16()] is used, or [SQLITE_UTF8] +** otherwise. ^The same SQL function may be registered multiple times using +** different preferred text encodings, with different implementations for +** each encoding. +** ^When multiple implementations of the same function are available, SQLite +** will pick the one that involves the least amount of data conversion. +** +** ^The fourth parameter may optionally be ORed with [SQLITE_DETERMINISTIC] +** to signal that the function will always return the same result given +** the same inputs within a single SQL statement. Most SQL functions are +** deterministic. The built-in [random()] SQL function is an example of a +** function that is not deterministic. The SQLite query planner is able to +** perform additional optimizations on deterministic functions, so use +** of the [SQLITE_DETERMINISTIC] flag is recommended where possible. +** +** ^The fourth parameter may also optionally include the [SQLITE_DIRECTONLY] +** flag, which if present prevents the function from being invoked from +** within VIEWs or TRIGGERs. For security reasons, the [SQLITE_DIRECTONLY] +** flag is recommended for any application-defined SQL function that has +** side-effects. +** +** ^(The fifth parameter is an arbitrary pointer. The implementation of the +** function can gain access to this pointer using [sqlite3_user_data()].)^ +** +** ^The sixth, seventh and eighth parameters passed to the three +** "sqlite3_create_function*" functions, xFunc, xStep and xFinal, are +** pointers to C-language functions that implement the SQL function or +** aggregate. ^A scalar SQL function requires an implementation of the xFunc +** callback only; NULL pointers must be passed as the xStep and xFinal +** parameters. ^An aggregate SQL function requires an implementation of xStep +** and xFinal and NULL pointer must be passed for xFunc. ^To delete an existing +** SQL function or aggregate, pass NULL pointers for all three function +** callbacks. +** +** ^The sixth, seventh, eighth and ninth parameters (xStep, xFinal, xValue +** and xInverse) passed to sqlite3_create_window_function are pointers to +** C-language callbacks that implement the new function. xStep and xFinal +** must both be non-NULL. xValue and xInverse may either both be NULL, in +** which case a regular aggregate function is created, or must both be +** non-NULL, in which case the new function may be used as either an aggregate +** or aggregate window function. More details regarding the implementation +** of aggregate window functions are +** [user-defined window functions|available here]. +** +** ^(If the final parameter to sqlite3_create_function_v2() or +** sqlite3_create_window_function() is not NULL, then it is destructor for +** the application data pointer. The destructor is invoked when the function +** is deleted, either by being overloaded or when the database connection +** closes.)^ ^The destructor is also invoked if the call to +** sqlite3_create_function_v2() fails. ^When the destructor callback is +** invoked, it is passed a single argument which is a copy of the application +** data pointer which was the fifth parameter to sqlite3_create_function_v2(). +** +** ^It is permitted to register multiple implementations of the same +** functions with the same name but with either differing numbers of +** arguments or differing preferred text encodings. ^SQLite will use +** the implementation that most closely matches the way in which the +** SQL function is used. ^A function implementation with a non-negative +** nArg parameter is a better match than a function implementation with +** a negative nArg. ^A function where the preferred text encoding +** matches the database encoding is a better +** match than a function where the encoding is different. +** ^A function where the encoding difference is between UTF16le and UTF16be +** is a closer match than a function where the encoding difference is +** between UTF8 and UTF16. +** +** ^Built-in functions may be overloaded by new application-defined functions. +** +** ^An application-defined function is permitted to call other +** SQLite interfaces. However, such calls must not +** close the database connection nor finalize or reset the prepared +** statement in which the function is running. +*/ +SQLITE_API int sqlite3_create_function( + sqlite3 *db, + const char *zFunctionName, + int nArg, + int eTextRep, + void *pApp, + void (*xFunc)(sqlite3_context*,int,sqlite3_value**), + void (*xStep)(sqlite3_context*,int,sqlite3_value**), + void (*xFinal)(sqlite3_context*) +); +SQLITE_API int sqlite3_create_function16( + sqlite3 *db, + const void *zFunctionName, + int nArg, + int eTextRep, + void *pApp, + void (*xFunc)(sqlite3_context*,int,sqlite3_value**), + void (*xStep)(sqlite3_context*,int,sqlite3_value**), + void (*xFinal)(sqlite3_context*) +); +SQLITE_API int sqlite3_create_function_v2( + sqlite3 *db, + const char *zFunctionName, + int nArg, + int eTextRep, + void *pApp, + void (*xFunc)(sqlite3_context*,int,sqlite3_value**), + void (*xStep)(sqlite3_context*,int,sqlite3_value**), + void (*xFinal)(sqlite3_context*), + void(*xDestroy)(void*) +); +SQLITE_API int sqlite3_create_window_function( + sqlite3 *db, + const char *zFunctionName, + int nArg, + int eTextRep, + void *pApp, + void (*xStep)(sqlite3_context*,int,sqlite3_value**), + void (*xFinal)(sqlite3_context*), + void (*xValue)(sqlite3_context*), + void (*xInverse)(sqlite3_context*,int,sqlite3_value**), + void(*xDestroy)(void*) +); + +/* +** CAPI3REF: Text Encodings +** +** These constant define integer codes that represent the various +** text encodings supported by SQLite. +*/ +#define SQLITE_UTF8 1 /* IMP: R-37514-35566 */ +#define SQLITE_UTF16LE 2 /* IMP: R-03371-37637 */ +#define SQLITE_UTF16BE 3 /* IMP: R-51971-34154 */ +#define SQLITE_UTF16 4 /* Use native byte order */ +#define SQLITE_ANY 5 /* Deprecated */ +#define SQLITE_UTF16_ALIGNED 8 /* sqlite3_create_collation only */ + +/* +** CAPI3REF: Function Flags +** +** These constants may be ORed together with the +** [SQLITE_UTF8 | preferred text encoding] as the fourth argument +** to [sqlite3_create_function()], [sqlite3_create_function16()], or +** [sqlite3_create_function_v2()]. +** +** The SQLITE_DETERMINISTIC flag means that the new function will always +** maps the same inputs into the same output. The abs() function is +** deterministic, for example, but randomblob() is not. +** +** The SQLITE_DIRECTONLY flag means that the function may only be invoked +** from top-level SQL, and cannot be used in VIEWs or TRIGGERs. This is +** a security feature which is recommended for all +** [application-defined SQL functions] that have side-effects. This flag +** prevents an attacker from adding triggers and views to a schema then +** tricking a high-privilege application into causing unintended side-effects +** while performing ordinary queries. +** +** The SQLITE_SUBTYPE flag indicates to SQLite that a function may call +** [sqlite3_value_subtype()] to inspect the sub-types of its arguments. +** Specifying this flag makes no difference for scalar or aggregate user +** functions. However, if it is not specified for a user-defined window +** function, then any sub-types belonging to arguments passed to the window +** function may be discarded before the window function is called (i.e. +** sqlite3_value_subtype() will always return 0). +*/ +#define SQLITE_DETERMINISTIC 0x000000800 +#define SQLITE_DIRECTONLY 0x000080000 +#define SQLITE_SUBTYPE 0x000100000 + +/* +** CAPI3REF: Deprecated Functions +** DEPRECATED +** +** These functions are [deprecated]. In order to maintain +** backwards compatibility with older code, these functions continue +** to be supported. However, new applications should avoid +** the use of these functions. To encourage programmers to avoid +** these functions, we will not explain what they do. +*/ +#ifndef SQLITE_OMIT_DEPRECATED +SQLITE_API SQLITE_DEPRECATED int sqlite3_aggregate_count(sqlite3_context*); +SQLITE_API SQLITE_DEPRECATED int sqlite3_expired(sqlite3_stmt*); +SQLITE_API SQLITE_DEPRECATED int sqlite3_transfer_bindings(sqlite3_stmt*, sqlite3_stmt*); +SQLITE_API SQLITE_DEPRECATED int sqlite3_global_recover(void); +SQLITE_API SQLITE_DEPRECATED void sqlite3_thread_cleanup(void); +SQLITE_API SQLITE_DEPRECATED int sqlite3_memory_alarm(void(*)(void*,sqlite3_int64,int), + void*,sqlite3_int64); +#endif + +/* +** CAPI3REF: Obtaining SQL Values +** METHOD: sqlite3_value +** +** Summary: +**
+**
sqlite3_value_blobBLOB value +**
sqlite3_value_doubleREAL value +**
sqlite3_value_int32-bit INTEGER value +**
sqlite3_value_int6464-bit INTEGER value +**
sqlite3_value_pointerPointer value +**
sqlite3_value_textUTF-8 TEXT value +**
sqlite3_value_text16UTF-16 TEXT value in +** the native byteorder +**
sqlite3_value_text16beUTF-16be TEXT value +**
sqlite3_value_text16leUTF-16le TEXT value +**
    +**
sqlite3_value_bytesSize of a BLOB +** or a UTF-8 TEXT in bytes +**
sqlite3_value_bytes16   +** →  Size of UTF-16 +** TEXT in bytes +**
sqlite3_value_typeDefault +** datatype of the value +**
sqlite3_value_numeric_type   +** →  Best numeric datatype of the value +**
sqlite3_value_nochange   +** →  True if the column is unchanged in an UPDATE +** against a virtual table. +**
sqlite3_value_frombind   +** →  True if value originated from a [bound parameter] +**
+** +** Details: +** +** These routines extract type, size, and content information from +** [protected sqlite3_value] objects. Protected sqlite3_value objects +** are used to pass parameter information into implementation of +** [application-defined SQL functions] and [virtual tables]. +** +** These routines work only with [protected sqlite3_value] objects. +** Any attempt to use these routines on an [unprotected sqlite3_value] +** is not threadsafe. +** +** ^These routines work just like the corresponding [column access functions] +** except that these routines take a single [protected sqlite3_value] object +** pointer instead of a [sqlite3_stmt*] pointer and an integer column number. +** +** ^The sqlite3_value_text16() interface extracts a UTF-16 string +** in the native byte-order of the host machine. ^The +** sqlite3_value_text16be() and sqlite3_value_text16le() interfaces +** extract UTF-16 strings as big-endian and little-endian respectively. +** +** ^If [sqlite3_value] object V was initialized +** using [sqlite3_bind_pointer(S,I,P,X,D)] or [sqlite3_result_pointer(C,P,X,D)] +** and if X and Y are strings that compare equal according to strcmp(X,Y), +** then sqlite3_value_pointer(V,Y) will return the pointer P. ^Otherwise, +** sqlite3_value_pointer(V,Y) returns a NULL. The sqlite3_bind_pointer() +** routine is part of the [pointer passing interface] added for SQLite 3.20.0. +** +** ^(The sqlite3_value_type(V) interface returns the +** [SQLITE_INTEGER | datatype code] for the initial datatype of the +** [sqlite3_value] object V. The returned value is one of [SQLITE_INTEGER], +** [SQLITE_FLOAT], [SQLITE_TEXT], [SQLITE_BLOB], or [SQLITE_NULL].)^ +** Other interfaces might change the datatype for an sqlite3_value object. +** For example, if the datatype is initially SQLITE_INTEGER and +** sqlite3_value_text(V) is called to extract a text value for that +** integer, then subsequent calls to sqlite3_value_type(V) might return +** SQLITE_TEXT. Whether or not a persistent internal datatype conversion +** occurs is undefined and may change from one release of SQLite to the next. +** +** ^(The sqlite3_value_numeric_type() interface attempts to apply +** numeric affinity to the value. This means that an attempt is +** made to convert the value to an integer or floating point. If +** such a conversion is possible without loss of information (in other +** words, if the value is a string that looks like a number) +** then the conversion is performed. Otherwise no conversion occurs. +** The [SQLITE_INTEGER | datatype] after conversion is returned.)^ +** +** ^Within the [xUpdate] method of a [virtual table], the +** sqlite3_value_nochange(X) interface returns true if and only if +** the column corresponding to X is unchanged by the UPDATE operation +** that the xUpdate method call was invoked to implement and if +** and the prior [xColumn] method call that was invoked to extracted +** the value for that column returned without setting a result (probably +** because it queried [sqlite3_vtab_nochange()] and found that the column +** was unchanging). ^Within an [xUpdate] method, any value for which +** sqlite3_value_nochange(X) is true will in all other respects appear +** to be a NULL value. If sqlite3_value_nochange(X) is invoked anywhere other +** than within an [xUpdate] method call for an UPDATE statement, then +** the return value is arbitrary and meaningless. +** +** ^The sqlite3_value_frombind(X) interface returns non-zero if the +** value X originated from one of the [sqlite3_bind_int|sqlite3_bind()] +** interfaces. ^If X comes from an SQL literal value, or a table column, +** and expression, then sqlite3_value_frombind(X) returns zero. +** +** Please pay particular attention to the fact that the pointer returned +** from [sqlite3_value_blob()], [sqlite3_value_text()], or +** [sqlite3_value_text16()] can be invalidated by a subsequent call to +** [sqlite3_value_bytes()], [sqlite3_value_bytes16()], [sqlite3_value_text()], +** or [sqlite3_value_text16()]. +** +** These routines must be called from the same thread as +** the SQL function that supplied the [sqlite3_value*] parameters. +** +** As long as the input parameter is correct, these routines can only +** fail if an out-of-memory error occurs during a format conversion. +** Only the following subset of interfaces are subject to out-of-memory +** errors: +** +**
    +**
  • sqlite3_value_blob() +**
  • sqlite3_value_text() +**
  • sqlite3_value_text16() +**
  • sqlite3_value_text16le() +**
  • sqlite3_value_text16be() +**
  • sqlite3_value_bytes() +**
  • sqlite3_value_bytes16() +**
+** +** If an out-of-memory error occurs, then the return value from these +** routines is the same as if the column had contained an SQL NULL value. +** Valid SQL NULL returns can be distinguished from out-of-memory errors +** by invoking the [sqlite3_errcode()] immediately after the suspect +** return value is obtained and before any +** other SQLite interface is called on the same [database connection]. +*/ +SQLITE_API const void *sqlite3_value_blob(sqlite3_value*); +SQLITE_API double sqlite3_value_double(sqlite3_value*); +SQLITE_API int sqlite3_value_int(sqlite3_value*); +SQLITE_API sqlite3_int64 sqlite3_value_int64(sqlite3_value*); +SQLITE_API void *sqlite3_value_pointer(sqlite3_value*, const char*); +SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value*); +SQLITE_API const void *sqlite3_value_text16(sqlite3_value*); +SQLITE_API const void *sqlite3_value_text16le(sqlite3_value*); +SQLITE_API const void *sqlite3_value_text16be(sqlite3_value*); +SQLITE_API int sqlite3_value_bytes(sqlite3_value*); +SQLITE_API int sqlite3_value_bytes16(sqlite3_value*); +SQLITE_API int sqlite3_value_type(sqlite3_value*); +SQLITE_API int sqlite3_value_numeric_type(sqlite3_value*); +SQLITE_API int sqlite3_value_nochange(sqlite3_value*); +SQLITE_API int sqlite3_value_frombind(sqlite3_value*); + +/* +** CAPI3REF: Finding The Subtype Of SQL Values +** METHOD: sqlite3_value +** +** The sqlite3_value_subtype(V) function returns the subtype for +** an [application-defined SQL function] argument V. The subtype +** information can be used to pass a limited amount of context from +** one SQL function to another. Use the [sqlite3_result_subtype()] +** routine to set the subtype for the return value of an SQL function. +*/ +SQLITE_API unsigned int sqlite3_value_subtype(sqlite3_value*); + +/* +** CAPI3REF: Copy And Free SQL Values +** METHOD: sqlite3_value +** +** ^The sqlite3_value_dup(V) interface makes a copy of the [sqlite3_value] +** object D and returns a pointer to that copy. ^The [sqlite3_value] returned +** is a [protected sqlite3_value] object even if the input is not. +** ^The sqlite3_value_dup(V) interface returns NULL if V is NULL or if a +** memory allocation fails. +** +** ^The sqlite3_value_free(V) interface frees an [sqlite3_value] object +** previously obtained from [sqlite3_value_dup()]. ^If V is a NULL pointer +** then sqlite3_value_free(V) is a harmless no-op. +*/ +SQLITE_API sqlite3_value *sqlite3_value_dup(const sqlite3_value*); +SQLITE_API void sqlite3_value_free(sqlite3_value*); + +/* +** CAPI3REF: Obtain Aggregate Function Context +** METHOD: sqlite3_context +** +** Implementations of aggregate SQL functions use this +** routine to allocate memory for storing their state. +** +** ^The first time the sqlite3_aggregate_context(C,N) routine is called +** for a particular aggregate function, SQLite +** allocates N of memory, zeroes out that memory, and returns a pointer +** to the new memory. ^On second and subsequent calls to +** sqlite3_aggregate_context() for the same aggregate function instance, +** the same buffer is returned. Sqlite3_aggregate_context() is normally +** called once for each invocation of the xStep callback and then one +** last time when the xFinal callback is invoked. ^(When no rows match +** an aggregate query, the xStep() callback of the aggregate function +** implementation is never called and xFinal() is called exactly once. +** In those cases, sqlite3_aggregate_context() might be called for the +** first time from within xFinal().)^ +** +** ^The sqlite3_aggregate_context(C,N) routine returns a NULL pointer +** when first called if N is less than or equal to zero or if a memory +** allocate error occurs. +** +** ^(The amount of space allocated by sqlite3_aggregate_context(C,N) is +** determined by the N parameter on first successful call. Changing the +** value of N in subsequent call to sqlite3_aggregate_context() within +** the same aggregate function instance will not resize the memory +** allocation.)^ Within the xFinal callback, it is customary to set +** N=0 in calls to sqlite3_aggregate_context(C,N) so that no +** pointless memory allocations occur. +** +** ^SQLite automatically frees the memory allocated by +** sqlite3_aggregate_context() when the aggregate query concludes. +** +** The first parameter must be a copy of the +** [sqlite3_context | SQL function context] that is the first parameter +** to the xStep or xFinal callback routine that implements the aggregate +** function. +** +** This routine must be called from the same thread in which +** the aggregate SQL function is running. +*/ +SQLITE_API void *sqlite3_aggregate_context(sqlite3_context*, int nBytes); + +/* +** CAPI3REF: User Data For Functions +** METHOD: sqlite3_context +** +** ^The sqlite3_user_data() interface returns a copy of +** the pointer that was the pUserData parameter (the 5th parameter) +** of the [sqlite3_create_function()] +** and [sqlite3_create_function16()] routines that originally +** registered the application defined function. +** +** This routine must be called from the same thread in which +** the application-defined function is running. +*/ +SQLITE_API void *sqlite3_user_data(sqlite3_context*); + +/* +** CAPI3REF: Database Connection For Functions +** METHOD: sqlite3_context +** +** ^The sqlite3_context_db_handle() interface returns a copy of +** the pointer to the [database connection] (the 1st parameter) +** of the [sqlite3_create_function()] +** and [sqlite3_create_function16()] routines that originally +** registered the application defined function. +*/ +SQLITE_API sqlite3 *sqlite3_context_db_handle(sqlite3_context*); + +/* +** CAPI3REF: Function Auxiliary Data +** METHOD: sqlite3_context +** +** These functions may be used by (non-aggregate) SQL functions to +** associate metadata with argument values. If the same value is passed to +** multiple invocations of the same SQL function during query execution, under +** some circumstances the associated metadata may be preserved. An example +** of where this might be useful is in a regular-expression matching +** function. The compiled version of the regular expression can be stored as +** metadata associated with the pattern string. +** Then as long as the pattern string remains the same, +** the compiled regular expression can be reused on multiple +** invocations of the same function. +** +** ^The sqlite3_get_auxdata(C,N) interface returns a pointer to the metadata +** associated by the sqlite3_set_auxdata(C,N,P,X) function with the Nth argument +** value to the application-defined function. ^N is zero for the left-most +** function argument. ^If there is no metadata +** associated with the function argument, the sqlite3_get_auxdata(C,N) interface +** returns a NULL pointer. +** +** ^The sqlite3_set_auxdata(C,N,P,X) interface saves P as metadata for the N-th +** argument of the application-defined function. ^Subsequent +** calls to sqlite3_get_auxdata(C,N) return P from the most recent +** sqlite3_set_auxdata(C,N,P,X) call if the metadata is still valid or +** NULL if the metadata has been discarded. +** ^After each call to sqlite3_set_auxdata(C,N,P,X) where X is not NULL, +** SQLite will invoke the destructor function X with parameter P exactly +** once, when the metadata is discarded. +** SQLite is free to discard the metadata at any time, including:
    +**
  • ^(when the corresponding function parameter changes)^, or +**
  • ^(when [sqlite3_reset()] or [sqlite3_finalize()] is called for the +** SQL statement)^, or +**
  • ^(when sqlite3_set_auxdata() is invoked again on the same +** parameter)^, or +**
  • ^(during the original sqlite3_set_auxdata() call when a memory +** allocation error occurs.)^
+** +** Note the last bullet in particular. The destructor X in +** sqlite3_set_auxdata(C,N,P,X) might be called immediately, before the +** sqlite3_set_auxdata() interface even returns. Hence sqlite3_set_auxdata() +** should be called near the end of the function implementation and the +** function implementation should not make any use of P after +** sqlite3_set_auxdata() has been called. +** +** ^(In practice, metadata is preserved between function calls for +** function parameters that are compile-time constants, including literal +** values and [parameters] and expressions composed from the same.)^ +** +** The value of the N parameter to these interfaces should be non-negative. +** Future enhancements may make use of negative N values to define new +** kinds of function caching behavior. +** +** These routines must be called from the same thread in which +** the SQL function is running. +*/ +SQLITE_API void *sqlite3_get_auxdata(sqlite3_context*, int N); +SQLITE_API void sqlite3_set_auxdata(sqlite3_context*, int N, void*, void (*)(void*)); + + +/* +** CAPI3REF: Constants Defining Special Destructor Behavior +** +** These are special values for the destructor that is passed in as the +** final argument to routines like [sqlite3_result_blob()]. ^If the destructor +** argument is SQLITE_STATIC, it means that the content pointer is constant +** and will never change. It does not need to be destroyed. ^The +** SQLITE_TRANSIENT value means that the content will likely change in +** the near future and that SQLite should make its own private copy of +** the content before returning. +** +** The typedef is necessary to work around problems in certain +** C++ compilers. +*/ +typedef void (*sqlite3_destructor_type)(void*); +#define SQLITE_STATIC ((sqlite3_destructor_type)0) +#define SQLITE_TRANSIENT ((sqlite3_destructor_type)-1) + +/* +** CAPI3REF: Setting The Result Of An SQL Function +** METHOD: sqlite3_context +** +** These routines are used by the xFunc or xFinal callbacks that +** implement SQL functions and aggregates. See +** [sqlite3_create_function()] and [sqlite3_create_function16()] +** for additional information. +** +** These functions work very much like the [parameter binding] family of +** functions used to bind values to host parameters in prepared statements. +** Refer to the [SQL parameter] documentation for additional information. +** +** ^The sqlite3_result_blob() interface sets the result from +** an application-defined function to be the BLOB whose content is pointed +** to by the second parameter and which is N bytes long where N is the +** third parameter. +** +** ^The sqlite3_result_zeroblob(C,N) and sqlite3_result_zeroblob64(C,N) +** interfaces set the result of the application-defined function to be +** a BLOB containing all zero bytes and N bytes in size. +** +** ^The sqlite3_result_double() interface sets the result from +** an application-defined function to be a floating point value specified +** by its 2nd argument. +** +** ^The sqlite3_result_error() and sqlite3_result_error16() functions +** cause the implemented SQL function to throw an exception. +** ^SQLite uses the string pointed to by the +** 2nd parameter of sqlite3_result_error() or sqlite3_result_error16() +** as the text of an error message. ^SQLite interprets the error +** message string from sqlite3_result_error() as UTF-8. ^SQLite +** interprets the string from sqlite3_result_error16() as UTF-16 in native +** byte order. ^If the third parameter to sqlite3_result_error() +** or sqlite3_result_error16() is negative then SQLite takes as the error +** message all text up through the first zero character. +** ^If the third parameter to sqlite3_result_error() or +** sqlite3_result_error16() is non-negative then SQLite takes that many +** bytes (not characters) from the 2nd parameter as the error message. +** ^The sqlite3_result_error() and sqlite3_result_error16() +** routines make a private copy of the error message text before +** they return. Hence, the calling function can deallocate or +** modify the text after they return without harm. +** ^The sqlite3_result_error_code() function changes the error code +** returned by SQLite as a result of an error in a function. ^By default, +** the error code is SQLITE_ERROR. ^A subsequent call to sqlite3_result_error() +** or sqlite3_result_error16() resets the error code to SQLITE_ERROR. +** +** ^The sqlite3_result_error_toobig() interface causes SQLite to throw an +** error indicating that a string or BLOB is too long to represent. +** +** ^The sqlite3_result_error_nomem() interface causes SQLite to throw an +** error indicating that a memory allocation failed. +** +** ^The sqlite3_result_int() interface sets the return value +** of the application-defined function to be the 32-bit signed integer +** value given in the 2nd argument. +** ^The sqlite3_result_int64() interface sets the return value +** of the application-defined function to be the 64-bit signed integer +** value given in the 2nd argument. +** +** ^The sqlite3_result_null() interface sets the return value +** of the application-defined function to be NULL. +** +** ^The sqlite3_result_text(), sqlite3_result_text16(), +** sqlite3_result_text16le(), and sqlite3_result_text16be() interfaces +** set the return value of the application-defined function to be +** a text string which is represented as UTF-8, UTF-16 native byte order, +** UTF-16 little endian, or UTF-16 big endian, respectively. +** ^The sqlite3_result_text64() interface sets the return value of an +** application-defined function to be a text string in an encoding +** specified by the fifth (and last) parameter, which must be one +** of [SQLITE_UTF8], [SQLITE_UTF16], [SQLITE_UTF16BE], or [SQLITE_UTF16LE]. +** ^SQLite takes the text result from the application from +** the 2nd parameter of the sqlite3_result_text* interfaces. +** ^If the 3rd parameter to the sqlite3_result_text* interfaces +** is negative, then SQLite takes result text from the 2nd parameter +** through the first zero character. +** ^If the 3rd parameter to the sqlite3_result_text* interfaces +** is non-negative, then as many bytes (not characters) of the text +** pointed to by the 2nd parameter are taken as the application-defined +** function result. If the 3rd parameter is non-negative, then it +** must be the byte offset into the string where the NUL terminator would +** appear if the string where NUL terminated. If any NUL characters occur +** in the string at a byte offset that is less than the value of the 3rd +** parameter, then the resulting string will contain embedded NULs and the +** result of expressions operating on strings with embedded NULs is undefined. +** ^If the 4th parameter to the sqlite3_result_text* interfaces +** or sqlite3_result_blob is a non-NULL pointer, then SQLite calls that +** function as the destructor on the text or BLOB result when it has +** finished using that result. +** ^If the 4th parameter to the sqlite3_result_text* interfaces or to +** sqlite3_result_blob is the special constant SQLITE_STATIC, then SQLite +** assumes that the text or BLOB result is in constant space and does not +** copy the content of the parameter nor call a destructor on the content +** when it has finished using that result. +** ^If the 4th parameter to the sqlite3_result_text* interfaces +** or sqlite3_result_blob is the special constant SQLITE_TRANSIENT +** then SQLite makes a copy of the result into space obtained +** from [sqlite3_malloc()] before it returns. +** +** ^The sqlite3_result_value() interface sets the result of +** the application-defined function to be a copy of the +** [unprotected sqlite3_value] object specified by the 2nd parameter. ^The +** sqlite3_result_value() interface makes a copy of the [sqlite3_value] +** so that the [sqlite3_value] specified in the parameter may change or +** be deallocated after sqlite3_result_value() returns without harm. +** ^A [protected sqlite3_value] object may always be used where an +** [unprotected sqlite3_value] object is required, so either +** kind of [sqlite3_value] object can be used with this interface. +** +** ^The sqlite3_result_pointer(C,P,T,D) interface sets the result to an +** SQL NULL value, just like [sqlite3_result_null(C)], except that it +** also associates the host-language pointer P or type T with that +** NULL value such that the pointer can be retrieved within an +** [application-defined SQL function] using [sqlite3_value_pointer()]. +** ^If the D parameter is not NULL, then it is a pointer to a destructor +** for the P parameter. ^SQLite invokes D with P as its only argument +** when SQLite is finished with P. The T parameter should be a static +** string and preferably a string literal. The sqlite3_result_pointer() +** routine is part of the [pointer passing interface] added for SQLite 3.20.0. +** +** If these routines are called from within the different thread +** than the one containing the application-defined function that received +** the [sqlite3_context] pointer, the results are undefined. +*/ +SQLITE_API void sqlite3_result_blob(sqlite3_context*, const void*, int, void(*)(void*)); +SQLITE_API void sqlite3_result_blob64(sqlite3_context*,const void*, + sqlite3_uint64,void(*)(void*)); +SQLITE_API void sqlite3_result_double(sqlite3_context*, double); +SQLITE_API void sqlite3_result_error(sqlite3_context*, const char*, int); +SQLITE_API void sqlite3_result_error16(sqlite3_context*, const void*, int); +SQLITE_API void sqlite3_result_error_toobig(sqlite3_context*); +SQLITE_API void sqlite3_result_error_nomem(sqlite3_context*); +SQLITE_API void sqlite3_result_error_code(sqlite3_context*, int); +SQLITE_API void sqlite3_result_int(sqlite3_context*, int); +SQLITE_API void sqlite3_result_int64(sqlite3_context*, sqlite3_int64); +SQLITE_API void sqlite3_result_null(sqlite3_context*); +SQLITE_API void sqlite3_result_text(sqlite3_context*, const char*, int, void(*)(void*)); +SQLITE_API void sqlite3_result_text64(sqlite3_context*, const char*,sqlite3_uint64, + void(*)(void*), unsigned char encoding); +SQLITE_API void sqlite3_result_text16(sqlite3_context*, const void*, int, void(*)(void*)); +SQLITE_API void sqlite3_result_text16le(sqlite3_context*, const void*, int,void(*)(void*)); +SQLITE_API void sqlite3_result_text16be(sqlite3_context*, const void*, int,void(*)(void*)); +SQLITE_API void sqlite3_result_value(sqlite3_context*, sqlite3_value*); +SQLITE_API void sqlite3_result_pointer(sqlite3_context*, void*,const char*,void(*)(void*)); +SQLITE_API void sqlite3_result_zeroblob(sqlite3_context*, int n); +SQLITE_API int sqlite3_result_zeroblob64(sqlite3_context*, sqlite3_uint64 n); + + +/* +** CAPI3REF: Setting The Subtype Of An SQL Function +** METHOD: sqlite3_context +** +** The sqlite3_result_subtype(C,T) function causes the subtype of +** the result from the [application-defined SQL function] with +** [sqlite3_context] C to be the value T. Only the lower 8 bits +** of the subtype T are preserved in current versions of SQLite; +** higher order bits are discarded. +** The number of subtype bytes preserved by SQLite might increase +** in future releases of SQLite. +*/ +SQLITE_API void sqlite3_result_subtype(sqlite3_context*,unsigned int); + +/* +** CAPI3REF: Define New Collating Sequences +** METHOD: sqlite3 +** +** ^These functions add, remove, or modify a [collation] associated +** with the [database connection] specified as the first argument. +** +** ^The name of the collation is a UTF-8 string +** for sqlite3_create_collation() and sqlite3_create_collation_v2() +** and a UTF-16 string in native byte order for sqlite3_create_collation16(). +** ^Collation names that compare equal according to [sqlite3_strnicmp()] are +** considered to be the same name. +** +** ^(The third argument (eTextRep) must be one of the constants: +**
    +**
  • [SQLITE_UTF8], +**
  • [SQLITE_UTF16LE], +**
  • [SQLITE_UTF16BE], +**
  • [SQLITE_UTF16], or +**
  • [SQLITE_UTF16_ALIGNED]. +**
)^ +** ^The eTextRep argument determines the encoding of strings passed +** to the collating function callback, xCallback. +** ^The [SQLITE_UTF16] and [SQLITE_UTF16_ALIGNED] values for eTextRep +** force strings to be UTF16 with native byte order. +** ^The [SQLITE_UTF16_ALIGNED] value for eTextRep forces strings to begin +** on an even byte address. +** +** ^The fourth argument, pArg, is an application data pointer that is passed +** through as the first argument to the collating function callback. +** +** ^The fifth argument, xCallback, is a pointer to the collating function. +** ^Multiple collating functions can be registered using the same name but +** with different eTextRep parameters and SQLite will use whichever +** function requires the least amount of data transformation. +** ^If the xCallback argument is NULL then the collating function is +** deleted. ^When all collating functions having the same name are deleted, +** that collation is no longer usable. +** +** ^The collating function callback is invoked with a copy of the pArg +** application data pointer and with two strings in the encoding specified +** by the eTextRep argument. The collating function must return an +** integer that is negative, zero, or positive +** if the first string is less than, equal to, or greater than the second, +** respectively. A collating function must always return the same answer +** given the same inputs. If two or more collating functions are registered +** to the same collation name (using different eTextRep values) then all +** must give an equivalent answer when invoked with equivalent strings. +** The collating function must obey the following properties for all +** strings A, B, and C: +** +**
    +**
  1. If A==B then B==A. +**
  2. If A==B and B==C then A==C. +**
  3. If A<B THEN B>A. +**
  4. If A<B and B<C then A<C. +**
+** +** If a collating function fails any of the above constraints and that +** collating function is registered and used, then the behavior of SQLite +** is undefined. +** +** ^The sqlite3_create_collation_v2() works like sqlite3_create_collation() +** with the addition that the xDestroy callback is invoked on pArg when +** the collating function is deleted. +** ^Collating functions are deleted when they are overridden by later +** calls to the collation creation functions or when the +** [database connection] is closed using [sqlite3_close()]. +** +** ^The xDestroy callback is not called if the +** sqlite3_create_collation_v2() function fails. Applications that invoke +** sqlite3_create_collation_v2() with a non-NULL xDestroy argument should +** check the return code and dispose of the application data pointer +** themselves rather than expecting SQLite to deal with it for them. +** This is different from every other SQLite interface. The inconsistency +** is unfortunate but cannot be changed without breaking backwards +** compatibility. +** +** See also: [sqlite3_collation_needed()] and [sqlite3_collation_needed16()]. +*/ +SQLITE_API int sqlite3_create_collation( + sqlite3*, + const char *zName, + int eTextRep, + void *pArg, + int(*xCompare)(void*,int,const void*,int,const void*) +); +SQLITE_API int sqlite3_create_collation_v2( + sqlite3*, + const char *zName, + int eTextRep, + void *pArg, + int(*xCompare)(void*,int,const void*,int,const void*), + void(*xDestroy)(void*) +); +SQLITE_API int sqlite3_create_collation16( + sqlite3*, + const void *zName, + int eTextRep, + void *pArg, + int(*xCompare)(void*,int,const void*,int,const void*) +); + +/* +** CAPI3REF: Collation Needed Callbacks +** METHOD: sqlite3 +** +** ^To avoid having to register all collation sequences before a database +** can be used, a single callback function may be registered with the +** [database connection] to be invoked whenever an undefined collation +** sequence is required. +** +** ^If the function is registered using the sqlite3_collation_needed() API, +** then it is passed the names of undefined collation sequences as strings +** encoded in UTF-8. ^If sqlite3_collation_needed16() is used, +** the names are passed as UTF-16 in machine native byte order. +** ^A call to either function replaces the existing collation-needed callback. +** +** ^(When the callback is invoked, the first argument passed is a copy +** of the second argument to sqlite3_collation_needed() or +** sqlite3_collation_needed16(). The second argument is the database +** connection. The third argument is one of [SQLITE_UTF8], [SQLITE_UTF16BE], +** or [SQLITE_UTF16LE], indicating the most desirable form of the collation +** sequence function required. The fourth parameter is the name of the +** required collation sequence.)^ +** +** The callback function should register the desired collation using +** [sqlite3_create_collation()], [sqlite3_create_collation16()], or +** [sqlite3_create_collation_v2()]. +*/ +SQLITE_API int sqlite3_collation_needed( + sqlite3*, + void*, + void(*)(void*,sqlite3*,int eTextRep,const char*) +); +SQLITE_API int sqlite3_collation_needed16( + sqlite3*, + void*, + void(*)(void*,sqlite3*,int eTextRep,const void*) +); + +#ifdef SQLITE_HAS_CODEC +/* +** Specify the key for an encrypted database. This routine should be +** called right after sqlite3_open(). +** +** The code to implement this API is not available in the public release +** of SQLite. +*/ +SQLITE_API int sqlite3_key( + sqlite3 *db, /* Database to be rekeyed */ + const void *pKey, int nKey /* The key */ +); +SQLITE_API int sqlite3_key_v2( + sqlite3 *db, /* Database to be rekeyed */ + const char *zDbName, /* Name of the database */ + const void *pKey, int nKey /* The key */ +); + +/* +** Change the key on an open database. If the current database is not +** encrypted, this routine will encrypt it. If pNew==0 or nNew==0, the +** database is decrypted. +** +** The code to implement this API is not available in the public release +** of SQLite. +*/ +SQLITE_API int sqlite3_rekey( + sqlite3 *db, /* Database to be rekeyed */ + const void *pKey, int nKey /* The new key */ +); +SQLITE_API int sqlite3_rekey_v2( + sqlite3 *db, /* Database to be rekeyed */ + const char *zDbName, /* Name of the database */ + const void *pKey, int nKey /* The new key */ +); + +/* +** Specify the activation key for a SEE database. Unless +** activated, none of the SEE routines will work. +*/ +SQLITE_API void sqlite3_activate_see( + const char *zPassPhrase /* Activation phrase */ +); +#endif + +#ifdef SQLITE_ENABLE_CEROD +/* +** Specify the activation key for a CEROD database. Unless +** activated, none of the CEROD routines will work. +*/ +SQLITE_API void sqlite3_activate_cerod( + const char *zPassPhrase /* Activation phrase */ +); +#endif + +/* +** CAPI3REF: Suspend Execution For A Short Time +** +** The sqlite3_sleep() function causes the current thread to suspend execution +** for at least a number of milliseconds specified in its parameter. +** +** If the operating system does not support sleep requests with +** millisecond time resolution, then the time will be rounded up to +** the nearest second. The number of milliseconds of sleep actually +** requested from the operating system is returned. +** +** ^SQLite implements this interface by calling the xSleep() +** method of the default [sqlite3_vfs] object. If the xSleep() method +** of the default VFS is not implemented correctly, or not implemented at +** all, then the behavior of sqlite3_sleep() may deviate from the description +** in the previous paragraphs. +*/ +SQLITE_API int sqlite3_sleep(int); + +/* +** CAPI3REF: Name Of The Folder Holding Temporary Files +** +** ^(If this global variable is made to point to a string which is +** the name of a folder (a.k.a. directory), then all temporary files +** created by SQLite when using a built-in [sqlite3_vfs | VFS] +** will be placed in that directory.)^ ^If this variable +** is a NULL pointer, then SQLite performs a search for an appropriate +** temporary file directory. +** +** Applications are strongly discouraged from using this global variable. +** It is required to set a temporary folder on Windows Runtime (WinRT). +** But for all other platforms, it is highly recommended that applications +** neither read nor write this variable. This global variable is a relic +** that exists for backwards compatibility of legacy applications and should +** be avoided in new projects. +** +** It is not safe to read or modify this variable in more than one +** thread at a time. It is not safe to read or modify this variable +** if a [database connection] is being used at the same time in a separate +** thread. +** It is intended that this variable be set once +** as part of process initialization and before any SQLite interface +** routines have been called and that this variable remain unchanged +** thereafter. +** +** ^The [temp_store_directory pragma] may modify this variable and cause +** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore, +** the [temp_store_directory pragma] always assumes that any string +** that this variable points to is held in memory obtained from +** [sqlite3_malloc] and the pragma may attempt to free that memory +** using [sqlite3_free]. +** Hence, if this variable is modified directly, either it should be +** made NULL or made to point to memory obtained from [sqlite3_malloc] +** or else the use of the [temp_store_directory pragma] should be avoided. +** Except when requested by the [temp_store_directory pragma], SQLite +** does not free the memory that sqlite3_temp_directory points to. If +** the application wants that memory to be freed, it must do +** so itself, taking care to only do so after all [database connection] +** objects have been destroyed. +** +** Note to Windows Runtime users: The temporary directory must be set +** prior to calling [sqlite3_open] or [sqlite3_open_v2]. Otherwise, various +** features that require the use of temporary files may fail. Here is an +** example of how to do this using C++ with the Windows Runtime: +** +**
+** LPCWSTR zPath = Windows::Storage::ApplicationData::Current->
+**       TemporaryFolder->Path->Data();
+** char zPathBuf[MAX_PATH + 1];
+** memset(zPathBuf, 0, sizeof(zPathBuf));
+** WideCharToMultiByte(CP_UTF8, 0, zPath, -1, zPathBuf, sizeof(zPathBuf),
+**       NULL, NULL);
+** sqlite3_temp_directory = sqlite3_mprintf("%s", zPathBuf);
+** 
+*/ +SQLITE_API char *sqlite3_temp_directory; + +/* +** CAPI3REF: Name Of The Folder Holding Database Files +** +** ^(If this global variable is made to point to a string which is +** the name of a folder (a.k.a. directory), then all database files +** specified with a relative pathname and created or accessed by +** SQLite when using a built-in windows [sqlite3_vfs | VFS] will be assumed +** to be relative to that directory.)^ ^If this variable is a NULL +** pointer, then SQLite assumes that all database files specified +** with a relative pathname are relative to the current directory +** for the process. Only the windows VFS makes use of this global +** variable; it is ignored by the unix VFS. +** +** Changing the value of this variable while a database connection is +** open can result in a corrupt database. +** +** It is not safe to read or modify this variable in more than one +** thread at a time. It is not safe to read or modify this variable +** if a [database connection] is being used at the same time in a separate +** thread. +** It is intended that this variable be set once +** as part of process initialization and before any SQLite interface +** routines have been called and that this variable remain unchanged +** thereafter. +** +** ^The [data_store_directory pragma] may modify this variable and cause +** it to point to memory obtained from [sqlite3_malloc]. ^Furthermore, +** the [data_store_directory pragma] always assumes that any string +** that this variable points to is held in memory obtained from +** [sqlite3_malloc] and the pragma may attempt to free that memory +** using [sqlite3_free]. +** Hence, if this variable is modified directly, either it should be +** made NULL or made to point to memory obtained from [sqlite3_malloc] +** or else the use of the [data_store_directory pragma] should be avoided. +*/ +SQLITE_API char *sqlite3_data_directory; + +/* +** CAPI3REF: Win32 Specific Interface +** +** These interfaces are available only on Windows. The +** [sqlite3_win32_set_directory] interface is used to set the value associated +** with the [sqlite3_temp_directory] or [sqlite3_data_directory] variable, to +** zValue, depending on the value of the type parameter. The zValue parameter +** should be NULL to cause the previous value to be freed via [sqlite3_free]; +** a non-NULL value will be copied into memory obtained from [sqlite3_malloc] +** prior to being used. The [sqlite3_win32_set_directory] interface returns +** [SQLITE_OK] to indicate success, [SQLITE_ERROR] if the type is unsupported, +** or [SQLITE_NOMEM] if memory could not be allocated. The value of the +** [sqlite3_data_directory] variable is intended to act as a replacement for +** the current directory on the sub-platforms of Win32 where that concept is +** not present, e.g. WinRT and UWP. The [sqlite3_win32_set_directory8] and +** [sqlite3_win32_set_directory16] interfaces behave exactly the same as the +** sqlite3_win32_set_directory interface except the string parameter must be +** UTF-8 or UTF-16, respectively. +*/ +SQLITE_API int sqlite3_win32_set_directory( + unsigned long type, /* Identifier for directory being set or reset */ + void *zValue /* New value for directory being set or reset */ +); +SQLITE_API int sqlite3_win32_set_directory8(unsigned long type, const char *zValue); +SQLITE_API int sqlite3_win32_set_directory16(unsigned long type, const void *zValue); + +/* +** CAPI3REF: Win32 Directory Types +** +** These macros are only available on Windows. They define the allowed values +** for the type argument to the [sqlite3_win32_set_directory] interface. +*/ +#define SQLITE_WIN32_DATA_DIRECTORY_TYPE 1 +#define SQLITE_WIN32_TEMP_DIRECTORY_TYPE 2 + +/* +** CAPI3REF: Test For Auto-Commit Mode +** KEYWORDS: {autocommit mode} +** METHOD: sqlite3 +** +** ^The sqlite3_get_autocommit() interface returns non-zero or +** zero if the given database connection is or is not in autocommit mode, +** respectively. ^Autocommit mode is on by default. +** ^Autocommit mode is disabled by a [BEGIN] statement. +** ^Autocommit mode is re-enabled by a [COMMIT] or [ROLLBACK]. +** +** If certain kinds of errors occur on a statement within a multi-statement +** transaction (errors including [SQLITE_FULL], [SQLITE_IOERR], +** [SQLITE_NOMEM], [SQLITE_BUSY], and [SQLITE_INTERRUPT]) then the +** transaction might be rolled back automatically. The only way to +** find out whether SQLite automatically rolled back the transaction after +** an error is to use this function. +** +** If another thread changes the autocommit status of the database +** connection while this routine is running, then the return value +** is undefined. +*/ +SQLITE_API int sqlite3_get_autocommit(sqlite3*); + +/* +** CAPI3REF: Find The Database Handle Of A Prepared Statement +** METHOD: sqlite3_stmt +** +** ^The sqlite3_db_handle interface returns the [database connection] handle +** to which a [prepared statement] belongs. ^The [database connection] +** returned by sqlite3_db_handle is the same [database connection] +** that was the first argument +** to the [sqlite3_prepare_v2()] call (or its variants) that was used to +** create the statement in the first place. +*/ +SQLITE_API sqlite3 *sqlite3_db_handle(sqlite3_stmt*); + +/* +** CAPI3REF: Return The Filename For A Database Connection +** METHOD: sqlite3 +** +** ^The sqlite3_db_filename(D,N) interface returns a pointer to a filename +** associated with database N of connection D. ^The main database file +** has the name "main". If there is no attached database N on the database +** connection D, or if database N is a temporary or in-memory database, then +** this function will return either a NULL pointer or an empty string. +** +** ^The filename returned by this function is the output of the +** xFullPathname method of the [VFS]. ^In other words, the filename +** will be an absolute pathname, even if the filename used +** to open the database originally was a URI or relative pathname. +*/ +SQLITE_API const char *sqlite3_db_filename(sqlite3 *db, const char *zDbName); + +/* +** CAPI3REF: Determine if a database is read-only +** METHOD: sqlite3 +** +** ^The sqlite3_db_readonly(D,N) interface returns 1 if the database N +** of connection D is read-only, 0 if it is read/write, or -1 if N is not +** the name of a database on connection D. +*/ +SQLITE_API int sqlite3_db_readonly(sqlite3 *db, const char *zDbName); + +/* +** CAPI3REF: Find the next prepared statement +** METHOD: sqlite3 +** +** ^This interface returns a pointer to the next [prepared statement] after +** pStmt associated with the [database connection] pDb. ^If pStmt is NULL +** then this interface returns a pointer to the first prepared statement +** associated with the database connection pDb. ^If no prepared statement +** satisfies the conditions of this routine, it returns NULL. +** +** The [database connection] pointer D in a call to +** [sqlite3_next_stmt(D,S)] must refer to an open database +** connection and in particular must not be a NULL pointer. +*/ +SQLITE_API sqlite3_stmt *sqlite3_next_stmt(sqlite3 *pDb, sqlite3_stmt *pStmt); + +/* +** CAPI3REF: Commit And Rollback Notification Callbacks +** METHOD: sqlite3 +** +** ^The sqlite3_commit_hook() interface registers a callback +** function to be invoked whenever a transaction is [COMMIT | committed]. +** ^Any callback set by a previous call to sqlite3_commit_hook() +** for the same database connection is overridden. +** ^The sqlite3_rollback_hook() interface registers a callback +** function to be invoked whenever a transaction is [ROLLBACK | rolled back]. +** ^Any callback set by a previous call to sqlite3_rollback_hook() +** for the same database connection is overridden. +** ^The pArg argument is passed through to the callback. +** ^If the callback on a commit hook function returns non-zero, +** then the commit is converted into a rollback. +** +** ^The sqlite3_commit_hook(D,C,P) and sqlite3_rollback_hook(D,C,P) functions +** return the P argument from the previous call of the same function +** on the same [database connection] D, or NULL for +** the first call for each function on D. +** +** The commit and rollback hook callbacks are not reentrant. +** The callback implementation must not do anything that will modify +** the database connection that invoked the callback. Any actions +** to modify the database connection must be deferred until after the +** completion of the [sqlite3_step()] call that triggered the commit +** or rollback hook in the first place. +** Note that running any other SQL statements, including SELECT statements, +** or merely calling [sqlite3_prepare_v2()] and [sqlite3_step()] will modify +** the database connections for the meaning of "modify" in this paragraph. +** +** ^Registering a NULL function disables the callback. +** +** ^When the commit hook callback routine returns zero, the [COMMIT] +** operation is allowed to continue normally. ^If the commit hook +** returns non-zero, then the [COMMIT] is converted into a [ROLLBACK]. +** ^The rollback hook is invoked on a rollback that results from a commit +** hook returning non-zero, just as it would be with any other rollback. +** +** ^For the purposes of this API, a transaction is said to have been +** rolled back if an explicit "ROLLBACK" statement is executed, or +** an error or constraint causes an implicit rollback to occur. +** ^The rollback callback is not invoked if a transaction is +** automatically rolled back because the database connection is closed. +** +** See also the [sqlite3_update_hook()] interface. +*/ +SQLITE_API void *sqlite3_commit_hook(sqlite3*, int(*)(void*), void*); +SQLITE_API void *sqlite3_rollback_hook(sqlite3*, void(*)(void *), void*); + +/* +** CAPI3REF: Data Change Notification Callbacks +** METHOD: sqlite3 +** +** ^The sqlite3_update_hook() interface registers a callback function +** with the [database connection] identified by the first argument +** to be invoked whenever a row is updated, inserted or deleted in +** a [rowid table]. +** ^Any callback set by a previous call to this function +** for the same database connection is overridden. +** +** ^The second argument is a pointer to the function to invoke when a +** row is updated, inserted or deleted in a rowid table. +** ^The first argument to the callback is a copy of the third argument +** to sqlite3_update_hook(). +** ^The second callback argument is one of [SQLITE_INSERT], [SQLITE_DELETE], +** or [SQLITE_UPDATE], depending on the operation that caused the callback +** to be invoked. +** ^The third and fourth arguments to the callback contain pointers to the +** database and table name containing the affected row. +** ^The final callback parameter is the [rowid] of the row. +** ^In the case of an update, this is the [rowid] after the update takes place. +** +** ^(The update hook is not invoked when internal system tables are +** modified (i.e. sqlite_master and sqlite_sequence).)^ +** ^The update hook is not invoked when [WITHOUT ROWID] tables are modified. +** +** ^In the current implementation, the update hook +** is not invoked when conflicting rows are deleted because of an +** [ON CONFLICT | ON CONFLICT REPLACE] clause. ^Nor is the update hook +** invoked when rows are deleted using the [truncate optimization]. +** The exceptions defined in this paragraph might change in a future +** release of SQLite. +** +** The update hook implementation must not do anything that will modify +** the database connection that invoked the update hook. Any actions +** to modify the database connection must be deferred until after the +** completion of the [sqlite3_step()] call that triggered the update hook. +** Note that [sqlite3_prepare_v2()] and [sqlite3_step()] both modify their +** database connections for the meaning of "modify" in this paragraph. +** +** ^The sqlite3_update_hook(D,C,P) function +** returns the P argument from the previous call +** on the same [database connection] D, or NULL for +** the first call on D. +** +** See also the [sqlite3_commit_hook()], [sqlite3_rollback_hook()], +** and [sqlite3_preupdate_hook()] interfaces. +*/ +SQLITE_API void *sqlite3_update_hook( + sqlite3*, + void(*)(void *,int ,char const *,char const *,sqlite3_int64), + void* +); + +/* +** CAPI3REF: Enable Or Disable Shared Pager Cache +** +** ^(This routine enables or disables the sharing of the database cache +** and schema data structures between [database connection | connections] +** to the same database. Sharing is enabled if the argument is true +** and disabled if the argument is false.)^ +** +** ^Cache sharing is enabled and disabled for an entire process. +** This is a change as of SQLite [version 3.5.0] ([dateof:3.5.0]). +** In prior versions of SQLite, +** sharing was enabled or disabled for each thread separately. +** +** ^(The cache sharing mode set by this interface effects all subsequent +** calls to [sqlite3_open()], [sqlite3_open_v2()], and [sqlite3_open16()]. +** Existing database connections continue use the sharing mode +** that was in effect at the time they were opened.)^ +** +** ^(This routine returns [SQLITE_OK] if shared cache was enabled or disabled +** successfully. An [error code] is returned otherwise.)^ +** +** ^Shared cache is disabled by default. But this might change in +** future releases of SQLite. Applications that care about shared +** cache setting should set it explicitly. +** +** Note: This method is disabled on MacOS X 10.7 and iOS version 5.0 +** and will always return SQLITE_MISUSE. On those systems, +** shared cache mode should be enabled per-database connection via +** [sqlite3_open_v2()] with [SQLITE_OPEN_SHAREDCACHE]. +** +** This interface is threadsafe on processors where writing a +** 32-bit integer is atomic. +** +** See Also: [SQLite Shared-Cache Mode] +*/ +SQLITE_API int sqlite3_enable_shared_cache(int); + +/* +** CAPI3REF: Attempt To Free Heap Memory +** +** ^The sqlite3_release_memory() interface attempts to free N bytes +** of heap memory by deallocating non-essential memory allocations +** held by the database library. Memory used to cache database +** pages to improve performance is an example of non-essential memory. +** ^sqlite3_release_memory() returns the number of bytes actually freed, +** which might be more or less than the amount requested. +** ^The sqlite3_release_memory() routine is a no-op returning zero +** if SQLite is not compiled with [SQLITE_ENABLE_MEMORY_MANAGEMENT]. +** +** See also: [sqlite3_db_release_memory()] +*/ +SQLITE_API int sqlite3_release_memory(int); + +/* +** CAPI3REF: Free Memory Used By A Database Connection +** METHOD: sqlite3 +** +** ^The sqlite3_db_release_memory(D) interface attempts to free as much heap +** memory as possible from database connection D. Unlike the +** [sqlite3_release_memory()] interface, this interface is in effect even +** when the [SQLITE_ENABLE_MEMORY_MANAGEMENT] compile-time option is +** omitted. +** +** See also: [sqlite3_release_memory()] +*/ +SQLITE_API int sqlite3_db_release_memory(sqlite3*); + +/* +** CAPI3REF: Impose A Limit On Heap Size +** +** ^The sqlite3_soft_heap_limit64() interface sets and/or queries the +** soft limit on the amount of heap memory that may be allocated by SQLite. +** ^SQLite strives to keep heap memory utilization below the soft heap +** limit by reducing the number of pages held in the page cache +** as heap memory usages approaches the limit. +** ^The soft heap limit is "soft" because even though SQLite strives to stay +** below the limit, it will exceed the limit rather than generate +** an [SQLITE_NOMEM] error. In other words, the soft heap limit +** is advisory only. +** +** ^The return value from sqlite3_soft_heap_limit64() is the size of +** the soft heap limit prior to the call, or negative in the case of an +** error. ^If the argument N is negative +** then no change is made to the soft heap limit. Hence, the current +** size of the soft heap limit can be determined by invoking +** sqlite3_soft_heap_limit64() with a negative argument. +** +** ^If the argument N is zero then the soft heap limit is disabled. +** +** ^(The soft heap limit is not enforced in the current implementation +** if one or more of following conditions are true: +** +**
    +**
  • The soft heap limit is set to zero. +**
  • Memory accounting is disabled using a combination of the +** [sqlite3_config]([SQLITE_CONFIG_MEMSTATUS],...) start-time option and +** the [SQLITE_DEFAULT_MEMSTATUS] compile-time option. +**
  • An alternative page cache implementation is specified using +** [sqlite3_config]([SQLITE_CONFIG_PCACHE2],...). +**
  • The page cache allocates from its own memory pool supplied +** by [sqlite3_config]([SQLITE_CONFIG_PAGECACHE],...) rather than +** from the heap. +**
)^ +** +** Beginning with SQLite [version 3.7.3] ([dateof:3.7.3]), +** the soft heap limit is enforced +** regardless of whether or not the [SQLITE_ENABLE_MEMORY_MANAGEMENT] +** compile-time option is invoked. With [SQLITE_ENABLE_MEMORY_MANAGEMENT], +** the soft heap limit is enforced on every memory allocation. Without +** [SQLITE_ENABLE_MEMORY_MANAGEMENT], the soft heap limit is only enforced +** when memory is allocated by the page cache. Testing suggests that because +** the page cache is the predominate memory user in SQLite, most +** applications will achieve adequate soft heap limit enforcement without +** the use of [SQLITE_ENABLE_MEMORY_MANAGEMENT]. +** +** The circumstances under which SQLite will enforce the soft heap limit may +** changes in future releases of SQLite. +*/ +SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 N); + +/* +** CAPI3REF: Deprecated Soft Heap Limit Interface +** DEPRECATED +** +** This is a deprecated version of the [sqlite3_soft_heap_limit64()] +** interface. This routine is provided for historical compatibility +** only. All new applications should use the +** [sqlite3_soft_heap_limit64()] interface rather than this one. +*/ +SQLITE_API SQLITE_DEPRECATED void sqlite3_soft_heap_limit(int N); + + +/* +** CAPI3REF: Extract Metadata About A Column Of A Table +** METHOD: sqlite3 +** +** ^(The sqlite3_table_column_metadata(X,D,T,C,....) routine returns +** information about column C of table T in database D +** on [database connection] X.)^ ^The sqlite3_table_column_metadata() +** interface returns SQLITE_OK and fills in the non-NULL pointers in +** the final five arguments with appropriate values if the specified +** column exists. ^The sqlite3_table_column_metadata() interface returns +** SQLITE_ERROR and if the specified column does not exist. +** ^If the column-name parameter to sqlite3_table_column_metadata() is a +** NULL pointer, then this routine simply checks for the existence of the +** table and returns SQLITE_OK if the table exists and SQLITE_ERROR if it +** does not. If the table name parameter T in a call to +** sqlite3_table_column_metadata(X,D,T,C,...) is NULL then the result is +** undefined behavior. +** +** ^The column is identified by the second, third and fourth parameters to +** this function. ^(The second parameter is either the name of the database +** (i.e. "main", "temp", or an attached database) containing the specified +** table or NULL.)^ ^If it is NULL, then all attached databases are searched +** for the table using the same algorithm used by the database engine to +** resolve unqualified table references. +** +** ^The third and fourth parameters to this function are the table and column +** name of the desired column, respectively. +** +** ^Metadata is returned by writing to the memory locations passed as the 5th +** and subsequent parameters to this function. ^Any of these arguments may be +** NULL, in which case the corresponding element of metadata is omitted. +** +** ^(
+** +**
Parameter Output
Type
Description +** +**
5th const char* Data type +**
6th const char* Name of default collation sequence +**
7th int True if column has a NOT NULL constraint +**
8th int True if column is part of the PRIMARY KEY +**
9th int True if column is [AUTOINCREMENT] +**
+**
)^ +** +** ^The memory pointed to by the character pointers returned for the +** declaration type and collation sequence is valid until the next +** call to any SQLite API function. +** +** ^If the specified table is actually a view, an [error code] is returned. +** +** ^If the specified column is "rowid", "oid" or "_rowid_" and the table +** is not a [WITHOUT ROWID] table and an +** [INTEGER PRIMARY KEY] column has been explicitly declared, then the output +** parameters are set for the explicitly declared column. ^(If there is no +** [INTEGER PRIMARY KEY] column, then the outputs +** for the [rowid] are set as follows: +** +**
+**     data type: "INTEGER"
+**     collation sequence: "BINARY"
+**     not null: 0
+**     primary key: 1
+**     auto increment: 0
+** 
)^ +** +** ^This function causes all database schemas to be read from disk and +** parsed, if that has not already been done, and returns an error if +** any errors are encountered while loading the schema. +*/ +SQLITE_API int sqlite3_table_column_metadata( + sqlite3 *db, /* Connection handle */ + const char *zDbName, /* Database name or NULL */ + const char *zTableName, /* Table name */ + const char *zColumnName, /* Column name */ + char const **pzDataType, /* OUTPUT: Declared data type */ + char const **pzCollSeq, /* OUTPUT: Collation sequence name */ + int *pNotNull, /* OUTPUT: True if NOT NULL constraint exists */ + int *pPrimaryKey, /* OUTPUT: True if column part of PK */ + int *pAutoinc /* OUTPUT: True if column is auto-increment */ +); + +/* +** CAPI3REF: Load An Extension +** METHOD: sqlite3 +** +** ^This interface loads an SQLite extension library from the named file. +** +** ^The sqlite3_load_extension() interface attempts to load an +** [SQLite extension] library contained in the file zFile. If +** the file cannot be loaded directly, attempts are made to load +** with various operating-system specific extensions added. +** So for example, if "samplelib" cannot be loaded, then names like +** "samplelib.so" or "samplelib.dylib" or "samplelib.dll" might +** be tried also. +** +** ^The entry point is zProc. +** ^(zProc may be 0, in which case SQLite will try to come up with an +** entry point name on its own. It first tries "sqlite3_extension_init". +** If that does not work, it constructs a name "sqlite3_X_init" where the +** X is consists of the lower-case equivalent of all ASCII alphabetic +** characters in the filename from the last "/" to the first following +** "." and omitting any initial "lib".)^ +** ^The sqlite3_load_extension() interface returns +** [SQLITE_OK] on success and [SQLITE_ERROR] if something goes wrong. +** ^If an error occurs and pzErrMsg is not 0, then the +** [sqlite3_load_extension()] interface shall attempt to +** fill *pzErrMsg with error message text stored in memory +** obtained from [sqlite3_malloc()]. The calling function +** should free this memory by calling [sqlite3_free()]. +** +** ^Extension loading must be enabled using +** [sqlite3_enable_load_extension()] or +** [sqlite3_db_config](db,[SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION],1,NULL) +** prior to calling this API, +** otherwise an error will be returned. +** +** Security warning: It is recommended that the +** [SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION] method be used to enable only this +** interface. The use of the [sqlite3_enable_load_extension()] interface +** should be avoided. This will keep the SQL function [load_extension()] +** disabled and prevent SQL injections from giving attackers +** access to extension loading capabilities. +** +** See also the [load_extension() SQL function]. +*/ +SQLITE_API int sqlite3_load_extension( + sqlite3 *db, /* Load the extension into this database connection */ + const char *zFile, /* Name of the shared library containing extension */ + const char *zProc, /* Entry point. Derived from zFile if 0 */ + char **pzErrMsg /* Put error message here if not 0 */ +); + +/* +** CAPI3REF: Enable Or Disable Extension Loading +** METHOD: sqlite3 +** +** ^So as not to open security holes in older applications that are +** unprepared to deal with [extension loading], and as a means of disabling +** [extension loading] while evaluating user-entered SQL, the following API +** is provided to turn the [sqlite3_load_extension()] mechanism on and off. +** +** ^Extension loading is off by default. +** ^Call the sqlite3_enable_load_extension() routine with onoff==1 +** to turn extension loading on and call it with onoff==0 to turn +** it back off again. +** +** ^This interface enables or disables both the C-API +** [sqlite3_load_extension()] and the SQL function [load_extension()]. +** ^(Use [sqlite3_db_config](db,[SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION],..) +** to enable or disable only the C-API.)^ +** +** Security warning: It is recommended that extension loading +** be disabled using the [SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION] method +** rather than this interface, so the [load_extension()] SQL function +** remains disabled. This will prevent SQL injections from giving attackers +** access to extension loading capabilities. +*/ +SQLITE_API int sqlite3_enable_load_extension(sqlite3 *db, int onoff); + +/* +** CAPI3REF: Automatically Load Statically Linked Extensions +** +** ^This interface causes the xEntryPoint() function to be invoked for +** each new [database connection] that is created. The idea here is that +** xEntryPoint() is the entry point for a statically linked [SQLite extension] +** that is to be automatically loaded into all new database connections. +** +** ^(Even though the function prototype shows that xEntryPoint() takes +** no arguments and returns void, SQLite invokes xEntryPoint() with three +** arguments and expects an integer result as if the signature of the +** entry point where as follows: +** +**
+**    int xEntryPoint(
+**      sqlite3 *db,
+**      const char **pzErrMsg,
+**      const struct sqlite3_api_routines *pThunk
+**    );
+** 
)^ +** +** If the xEntryPoint routine encounters an error, it should make *pzErrMsg +** point to an appropriate error message (obtained from [sqlite3_mprintf()]) +** and return an appropriate [error code]. ^SQLite ensures that *pzErrMsg +** is NULL before calling the xEntryPoint(). ^SQLite will invoke +** [sqlite3_free()] on *pzErrMsg after xEntryPoint() returns. ^If any +** xEntryPoint() returns an error, the [sqlite3_open()], [sqlite3_open16()], +** or [sqlite3_open_v2()] call that provoked the xEntryPoint() will fail. +** +** ^Calling sqlite3_auto_extension(X) with an entry point X that is already +** on the list of automatic extensions is a harmless no-op. ^No entry point +** will be called more than once for each database connection that is opened. +** +** See also: [sqlite3_reset_auto_extension()] +** and [sqlite3_cancel_auto_extension()] +*/ +SQLITE_API int sqlite3_auto_extension(void(*xEntryPoint)(void)); + +/* +** CAPI3REF: Cancel Automatic Extension Loading +** +** ^The [sqlite3_cancel_auto_extension(X)] interface unregisters the +** initialization routine X that was registered using a prior call to +** [sqlite3_auto_extension(X)]. ^The [sqlite3_cancel_auto_extension(X)] +** routine returns 1 if initialization routine X was successfully +** unregistered and it returns 0 if X was not on the list of initialization +** routines. +*/ +SQLITE_API int sqlite3_cancel_auto_extension(void(*xEntryPoint)(void)); + +/* +** CAPI3REF: Reset Automatic Extension Loading +** +** ^This interface disables all automatic extensions previously +** registered using [sqlite3_auto_extension()]. +*/ +SQLITE_API void sqlite3_reset_auto_extension(void); + +/* +** The interface to the virtual-table mechanism is currently considered +** to be experimental. The interface might change in incompatible ways. +** If this is a problem for you, do not use the interface at this time. +** +** When the virtual-table mechanism stabilizes, we will declare the +** interface fixed, support it indefinitely, and remove this comment. +*/ + +/* +** Structures used by the virtual table interface +*/ +typedef struct sqlite3_vtab sqlite3_vtab; +typedef struct sqlite3_index_info sqlite3_index_info; +typedef struct sqlite3_vtab_cursor sqlite3_vtab_cursor; +typedef struct sqlite3_module sqlite3_module; + +/* +** CAPI3REF: Virtual Table Object +** KEYWORDS: sqlite3_module {virtual table module} +** +** This structure, sometimes called a "virtual table module", +** defines the implementation of a [virtual tables]. +** This structure consists mostly of methods for the module. +** +** ^A virtual table module is created by filling in a persistent +** instance of this structure and passing a pointer to that instance +** to [sqlite3_create_module()] or [sqlite3_create_module_v2()]. +** ^The registration remains valid until it is replaced by a different +** module or until the [database connection] closes. The content +** of this structure must not change while it is registered with +** any database connection. +*/ +struct sqlite3_module { + int iVersion; + int (*xCreate)(sqlite3*, void *pAux, + int argc, const char *const*argv, + sqlite3_vtab **ppVTab, char**); + int (*xConnect)(sqlite3*, void *pAux, + int argc, const char *const*argv, + sqlite3_vtab **ppVTab, char**); + int (*xBestIndex)(sqlite3_vtab *pVTab, sqlite3_index_info*); + int (*xDisconnect)(sqlite3_vtab *pVTab); + int (*xDestroy)(sqlite3_vtab *pVTab); + int (*xOpen)(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor); + int (*xClose)(sqlite3_vtab_cursor*); + int (*xFilter)(sqlite3_vtab_cursor*, int idxNum, const char *idxStr, + int argc, sqlite3_value **argv); + int (*xNext)(sqlite3_vtab_cursor*); + int (*xEof)(sqlite3_vtab_cursor*); + int (*xColumn)(sqlite3_vtab_cursor*, sqlite3_context*, int); + int (*xRowid)(sqlite3_vtab_cursor*, sqlite3_int64 *pRowid); + int (*xUpdate)(sqlite3_vtab *, int, sqlite3_value **, sqlite3_int64 *); + int (*xBegin)(sqlite3_vtab *pVTab); + int (*xSync)(sqlite3_vtab *pVTab); + int (*xCommit)(sqlite3_vtab *pVTab); + int (*xRollback)(sqlite3_vtab *pVTab); + int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName, + void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), + void **ppArg); + int (*xRename)(sqlite3_vtab *pVtab, const char *zNew); + /* The methods above are in version 1 of the sqlite_module object. Those + ** below are for version 2 and greater. */ + int (*xSavepoint)(sqlite3_vtab *pVTab, int); + int (*xRelease)(sqlite3_vtab *pVTab, int); + int (*xRollbackTo)(sqlite3_vtab *pVTab, int); + /* The methods above are in versions 1 and 2 of the sqlite_module object. + ** Those below are for version 3 and greater. */ + int (*xShadowName)(const char*); +}; + +/* +** CAPI3REF: Virtual Table Indexing Information +** KEYWORDS: sqlite3_index_info +** +** The sqlite3_index_info structure and its substructures is used as part +** of the [virtual table] interface to +** pass information into and receive the reply from the [xBestIndex] +** method of a [virtual table module]. The fields under **Inputs** are the +** inputs to xBestIndex and are read-only. xBestIndex inserts its +** results into the **Outputs** fields. +** +** ^(The aConstraint[] array records WHERE clause constraints of the form: +** +**
column OP expr
+** +** where OP is =, <, <=, >, or >=.)^ ^(The particular operator is +** stored in aConstraint[].op using one of the +** [SQLITE_INDEX_CONSTRAINT_EQ | SQLITE_INDEX_CONSTRAINT_ values].)^ +** ^(The index of the column is stored in +** aConstraint[].iColumn.)^ ^(aConstraint[].usable is TRUE if the +** expr on the right-hand side can be evaluated (and thus the constraint +** is usable) and false if it cannot.)^ +** +** ^The optimizer automatically inverts terms of the form "expr OP column" +** and makes other simplifications to the WHERE clause in an attempt to +** get as many WHERE clause terms into the form shown above as possible. +** ^The aConstraint[] array only reports WHERE clause terms that are +** relevant to the particular virtual table being queried. +** +** ^Information about the ORDER BY clause is stored in aOrderBy[]. +** ^Each term of aOrderBy records a column of the ORDER BY clause. +** +** The colUsed field indicates which columns of the virtual table may be +** required by the current scan. Virtual table columns are numbered from +** zero in the order in which they appear within the CREATE TABLE statement +** passed to sqlite3_declare_vtab(). For the first 63 columns (columns 0-62), +** the corresponding bit is set within the colUsed mask if the column may be +** required by SQLite. If the table has at least 64 columns and any column +** to the right of the first 63 is required, then bit 63 of colUsed is also +** set. In other words, column iCol may be required if the expression +** (colUsed & ((sqlite3_uint64)1 << (iCol>=63 ? 63 : iCol))) evaluates to +** non-zero. +** +** The [xBestIndex] method must fill aConstraintUsage[] with information +** about what parameters to pass to xFilter. ^If argvIndex>0 then +** the right-hand side of the corresponding aConstraint[] is evaluated +** and becomes the argvIndex-th entry in argv. ^(If aConstraintUsage[].omit +** is true, then the constraint is assumed to be fully handled by the +** virtual table and is not checked again by SQLite.)^ +** +** ^The idxNum and idxPtr values are recorded and passed into the +** [xFilter] method. +** ^[sqlite3_free()] is used to free idxPtr if and only if +** needToFreeIdxPtr is true. +** +** ^The orderByConsumed means that output from [xFilter]/[xNext] will occur in +** the correct order to satisfy the ORDER BY clause so that no separate +** sorting step is required. +** +** ^The estimatedCost value is an estimate of the cost of a particular +** strategy. A cost of N indicates that the cost of the strategy is similar +** to a linear scan of an SQLite table with N rows. A cost of log(N) +** indicates that the expense of the operation is similar to that of a +** binary search on a unique indexed field of an SQLite table with N rows. +** +** ^The estimatedRows value is an estimate of the number of rows that +** will be returned by the strategy. +** +** The xBestIndex method may optionally populate the idxFlags field with a +** mask of SQLITE_INDEX_SCAN_* flags. Currently there is only one such flag - +** SQLITE_INDEX_SCAN_UNIQUE. If the xBestIndex method sets this flag, SQLite +** assumes that the strategy may visit at most one row. +** +** Additionally, if xBestIndex sets the SQLITE_INDEX_SCAN_UNIQUE flag, then +** SQLite also assumes that if a call to the xUpdate() method is made as +** part of the same statement to delete or update a virtual table row and the +** implementation returns SQLITE_CONSTRAINT, then there is no need to rollback +** any database changes. In other words, if the xUpdate() returns +** SQLITE_CONSTRAINT, the database contents must be exactly as they were +** before xUpdate was called. By contrast, if SQLITE_INDEX_SCAN_UNIQUE is not +** set and xUpdate returns SQLITE_CONSTRAINT, any database changes made by +** the xUpdate method are automatically rolled back by SQLite. +** +** IMPORTANT: The estimatedRows field was added to the sqlite3_index_info +** structure for SQLite [version 3.8.2] ([dateof:3.8.2]). +** If a virtual table extension is +** used with an SQLite version earlier than 3.8.2, the results of attempting +** to read or write the estimatedRows field are undefined (but are likely +** to included crashing the application). The estimatedRows field should +** therefore only be used if [sqlite3_libversion_number()] returns a +** value greater than or equal to 3008002. Similarly, the idxFlags field +** was added for [version 3.9.0] ([dateof:3.9.0]). +** It may therefore only be used if +** sqlite3_libversion_number() returns a value greater than or equal to +** 3009000. +*/ +struct sqlite3_index_info { + /* Inputs */ + int nConstraint; /* Number of entries in aConstraint */ + struct sqlite3_index_constraint { + int iColumn; /* Column constrained. -1 for ROWID */ + unsigned char op; /* Constraint operator */ + unsigned char usable; /* True if this constraint is usable */ + int iTermOffset; /* Used internally - xBestIndex should ignore */ + } *aConstraint; /* Table of WHERE clause constraints */ + int nOrderBy; /* Number of terms in the ORDER BY clause */ + struct sqlite3_index_orderby { + int iColumn; /* Column number */ + unsigned char desc; /* True for DESC. False for ASC. */ + } *aOrderBy; /* The ORDER BY clause */ + /* Outputs */ + struct sqlite3_index_constraint_usage { + int argvIndex; /* if >0, constraint is part of argv to xFilter */ + unsigned char omit; /* Do not code a test for this constraint */ + } *aConstraintUsage; + int idxNum; /* Number used to identify the index */ + char *idxStr; /* String, possibly obtained from sqlite3_malloc */ + int needToFreeIdxStr; /* Free idxStr using sqlite3_free() if true */ + int orderByConsumed; /* True if output is already ordered */ + double estimatedCost; /* Estimated cost of using this index */ + /* Fields below are only available in SQLite 3.8.2 and later */ + sqlite3_int64 estimatedRows; /* Estimated number of rows returned */ + /* Fields below are only available in SQLite 3.9.0 and later */ + int idxFlags; /* Mask of SQLITE_INDEX_SCAN_* flags */ + /* Fields below are only available in SQLite 3.10.0 and later */ + sqlite3_uint64 colUsed; /* Input: Mask of columns used by statement */ +}; + +/* +** CAPI3REF: Virtual Table Scan Flags +** +** Virtual table implementations are allowed to set the +** [sqlite3_index_info].idxFlags field to some combination of +** these bits. +*/ +#define SQLITE_INDEX_SCAN_UNIQUE 1 /* Scan visits at most 1 row */ + +/* +** CAPI3REF: Virtual Table Constraint Operator Codes +** +** These macros defined the allowed values for the +** [sqlite3_index_info].aConstraint[].op field. Each value represents +** an operator that is part of a constraint term in the wHERE clause of +** a query that uses a [virtual table]. +*/ +#define SQLITE_INDEX_CONSTRAINT_EQ 2 +#define SQLITE_INDEX_CONSTRAINT_GT 4 +#define SQLITE_INDEX_CONSTRAINT_LE 8 +#define SQLITE_INDEX_CONSTRAINT_LT 16 +#define SQLITE_INDEX_CONSTRAINT_GE 32 +#define SQLITE_INDEX_CONSTRAINT_MATCH 64 +#define SQLITE_INDEX_CONSTRAINT_LIKE 65 +#define SQLITE_INDEX_CONSTRAINT_GLOB 66 +#define SQLITE_INDEX_CONSTRAINT_REGEXP 67 +#define SQLITE_INDEX_CONSTRAINT_NE 68 +#define SQLITE_INDEX_CONSTRAINT_ISNOT 69 +#define SQLITE_INDEX_CONSTRAINT_ISNOTNULL 70 +#define SQLITE_INDEX_CONSTRAINT_ISNULL 71 +#define SQLITE_INDEX_CONSTRAINT_IS 72 +#define SQLITE_INDEX_CONSTRAINT_FUNCTION 150 + +/* +** CAPI3REF: Register A Virtual Table Implementation +** METHOD: sqlite3 +** +** ^These routines are used to register a new [virtual table module] name. +** ^Module names must be registered before +** creating a new [virtual table] using the module and before using a +** preexisting [virtual table] for the module. +** +** ^The module name is registered on the [database connection] specified +** by the first parameter. ^The name of the module is given by the +** second parameter. ^The third parameter is a pointer to +** the implementation of the [virtual table module]. ^The fourth +** parameter is an arbitrary client data pointer that is passed through +** into the [xCreate] and [xConnect] methods of the virtual table module +** when a new virtual table is be being created or reinitialized. +** +** ^The sqlite3_create_module_v2() interface has a fifth parameter which +** is a pointer to a destructor for the pClientData. ^SQLite will +** invoke the destructor function (if it is not NULL) when SQLite +** no longer needs the pClientData pointer. ^The destructor will also +** be invoked if the call to sqlite3_create_module_v2() fails. +** ^The sqlite3_create_module() +** interface is equivalent to sqlite3_create_module_v2() with a NULL +** destructor. +** +** ^If the third parameter (the pointer to the sqlite3_module object) is +** NULL then no new module is create and any existing modules with the +** same name are dropped. +** +** See also: [sqlite3_drop_modules()] +*/ +SQLITE_API int sqlite3_create_module( + sqlite3 *db, /* SQLite connection to register module with */ + const char *zName, /* Name of the module */ + const sqlite3_module *p, /* Methods for the module */ + void *pClientData /* Client data for xCreate/xConnect */ +); +SQLITE_API int sqlite3_create_module_v2( + sqlite3 *db, /* SQLite connection to register module with */ + const char *zName, /* Name of the module */ + const sqlite3_module *p, /* Methods for the module */ + void *pClientData, /* Client data for xCreate/xConnect */ + void(*xDestroy)(void*) /* Module destructor function */ +); + +/* +** CAPI3REF: Remove Unnecessary Virtual Table Implementations +** METHOD: sqlite3 +** +** ^The sqlite3_drop_modules(D,L) interface removes all virtual +** table modules from database connection D except those named on list L. +** The L parameter must be either NULL or a pointer to an array of pointers +** to strings where the array is terminated by a single NULL pointer. +** ^If the L parameter is NULL, then all virtual table modules are removed. +** +** See also: [sqlite3_create_module()] +*/ +SQLITE_API int sqlite3_drop_modules( + sqlite3 *db, /* Remove modules from this connection */ + const char **azKeep /* Except, do not remove the ones named here */ +); + +/* +** CAPI3REF: Virtual Table Instance Object +** KEYWORDS: sqlite3_vtab +** +** Every [virtual table module] implementation uses a subclass +** of this object to describe a particular instance +** of the [virtual table]. Each subclass will +** be tailored to the specific needs of the module implementation. +** The purpose of this superclass is to define certain fields that are +** common to all module implementations. +** +** ^Virtual tables methods can set an error message by assigning a +** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should +** take care that any prior string is freed by a call to [sqlite3_free()] +** prior to assigning a new string to zErrMsg. ^After the error message +** is delivered up to the client application, the string will be automatically +** freed by sqlite3_free() and the zErrMsg field will be zeroed. +*/ +struct sqlite3_vtab { + const sqlite3_module *pModule; /* The module for this virtual table */ + int nRef; /* Number of open cursors */ + char *zErrMsg; /* Error message from sqlite3_mprintf() */ + /* Virtual table implementations will typically add additional fields */ +}; + +/* +** CAPI3REF: Virtual Table Cursor Object +** KEYWORDS: sqlite3_vtab_cursor {virtual table cursor} +** +** Every [virtual table module] implementation uses a subclass of the +** following structure to describe cursors that point into the +** [virtual table] and are used +** to loop through the virtual table. Cursors are created using the +** [sqlite3_module.xOpen | xOpen] method of the module and are destroyed +** by the [sqlite3_module.xClose | xClose] method. Cursors are used +** by the [xFilter], [xNext], [xEof], [xColumn], and [xRowid] methods +** of the module. Each module implementation will define +** the content of a cursor structure to suit its own needs. +** +** This superclass exists in order to define fields of the cursor that +** are common to all implementations. +*/ +struct sqlite3_vtab_cursor { + sqlite3_vtab *pVtab; /* Virtual table of this cursor */ + /* Virtual table implementations will typically add additional fields */ +}; + +/* +** CAPI3REF: Declare The Schema Of A Virtual Table +** +** ^The [xCreate] and [xConnect] methods of a +** [virtual table module] call this interface +** to declare the format (the names and datatypes of the columns) of +** the virtual tables they implement. +*/ +SQLITE_API int sqlite3_declare_vtab(sqlite3*, const char *zSQL); + +/* +** CAPI3REF: Overload A Function For A Virtual Table +** METHOD: sqlite3 +** +** ^(Virtual tables can provide alternative implementations of functions +** using the [xFindFunction] method of the [virtual table module]. +** But global versions of those functions +** must exist in order to be overloaded.)^ +** +** ^(This API makes sure a global version of a function with a particular +** name and number of parameters exists. If no such function exists +** before this API is called, a new function is created.)^ ^The implementation +** of the new function always causes an exception to be thrown. So +** the new function is not good for anything by itself. Its only +** purpose is to be a placeholder function that can be overloaded +** by a [virtual table]. +*/ +SQLITE_API int sqlite3_overload_function(sqlite3*, const char *zFuncName, int nArg); + +/* +** The interface to the virtual-table mechanism defined above (back up +** to a comment remarkably similar to this one) is currently considered +** to be experimental. The interface might change in incompatible ways. +** If this is a problem for you, do not use the interface at this time. +** +** When the virtual-table mechanism stabilizes, we will declare the +** interface fixed, support it indefinitely, and remove this comment. +*/ + +/* +** CAPI3REF: A Handle To An Open BLOB +** KEYWORDS: {BLOB handle} {BLOB handles} +** +** An instance of this object represents an open BLOB on which +** [sqlite3_blob_open | incremental BLOB I/O] can be performed. +** ^Objects of this type are created by [sqlite3_blob_open()] +** and destroyed by [sqlite3_blob_close()]. +** ^The [sqlite3_blob_read()] and [sqlite3_blob_write()] interfaces +** can be used to read or write small subsections of the BLOB. +** ^The [sqlite3_blob_bytes()] interface returns the size of the BLOB in bytes. +*/ +typedef struct sqlite3_blob sqlite3_blob; + +/* +** CAPI3REF: Open A BLOB For Incremental I/O +** METHOD: sqlite3 +** CONSTRUCTOR: sqlite3_blob +** +** ^(This interfaces opens a [BLOB handle | handle] to the BLOB located +** in row iRow, column zColumn, table zTable in database zDb; +** in other words, the same BLOB that would be selected by: +** +**
+**     SELECT zColumn FROM zDb.zTable WHERE [rowid] = iRow;
+** 
)^ +** +** ^(Parameter zDb is not the filename that contains the database, but +** rather the symbolic name of the database. For attached databases, this is +** the name that appears after the AS keyword in the [ATTACH] statement. +** For the main database file, the database name is "main". For TEMP +** tables, the database name is "temp".)^ +** +** ^If the flags parameter is non-zero, then the BLOB is opened for read +** and write access. ^If the flags parameter is zero, the BLOB is opened for +** read-only access. +** +** ^(On success, [SQLITE_OK] is returned and the new [BLOB handle] is stored +** in *ppBlob. Otherwise an [error code] is returned and, unless the error +** code is SQLITE_MISUSE, *ppBlob is set to NULL.)^ ^This means that, provided +** the API is not misused, it is always safe to call [sqlite3_blob_close()] +** on *ppBlob after this function it returns. +** +** This function fails with SQLITE_ERROR if any of the following are true: +**
    +**
  • ^(Database zDb does not exist)^, +**
  • ^(Table zTable does not exist within database zDb)^, +**
  • ^(Table zTable is a WITHOUT ROWID table)^, +**
  • ^(Column zColumn does not exist)^, +**
  • ^(Row iRow is not present in the table)^, +**
  • ^(The specified column of row iRow contains a value that is not +** a TEXT or BLOB value)^, +**
  • ^(Column zColumn is part of an index, PRIMARY KEY or UNIQUE +** constraint and the blob is being opened for read/write access)^, +**
  • ^([foreign key constraints | Foreign key constraints] are enabled, +** column zColumn is part of a [child key] definition and the blob is +** being opened for read/write access)^. +**
+** +** ^Unless it returns SQLITE_MISUSE, this function sets the +** [database connection] error code and message accessible via +** [sqlite3_errcode()] and [sqlite3_errmsg()] and related functions. +** +** A BLOB referenced by sqlite3_blob_open() may be read using the +** [sqlite3_blob_read()] interface and modified by using +** [sqlite3_blob_write()]. The [BLOB handle] can be moved to a +** different row of the same table using the [sqlite3_blob_reopen()] +** interface. However, the column, table, or database of a [BLOB handle] +** cannot be changed after the [BLOB handle] is opened. +** +** ^(If the row that a BLOB handle points to is modified by an +** [UPDATE], [DELETE], or by [ON CONFLICT] side-effects +** then the BLOB handle is marked as "expired". +** This is true if any column of the row is changed, even a column +** other than the one the BLOB handle is open on.)^ +** ^Calls to [sqlite3_blob_read()] and [sqlite3_blob_write()] for +** an expired BLOB handle fail with a return code of [SQLITE_ABORT]. +** ^(Changes written into a BLOB prior to the BLOB expiring are not +** rolled back by the expiration of the BLOB. Such changes will eventually +** commit if the transaction continues to completion.)^ +** +** ^Use the [sqlite3_blob_bytes()] interface to determine the size of +** the opened blob. ^The size of a blob may not be changed by this +** interface. Use the [UPDATE] SQL command to change the size of a +** blob. +** +** ^The [sqlite3_bind_zeroblob()] and [sqlite3_result_zeroblob()] interfaces +** and the built-in [zeroblob] SQL function may be used to create a +** zero-filled blob to read or write using the incremental-blob interface. +** +** To avoid a resource leak, every open [BLOB handle] should eventually +** be released by a call to [sqlite3_blob_close()]. +** +** See also: [sqlite3_blob_close()], +** [sqlite3_blob_reopen()], [sqlite3_blob_read()], +** [sqlite3_blob_bytes()], [sqlite3_blob_write()]. +*/ +SQLITE_API int sqlite3_blob_open( + sqlite3*, + const char *zDb, + const char *zTable, + const char *zColumn, + sqlite3_int64 iRow, + int flags, + sqlite3_blob **ppBlob +); + +/* +** CAPI3REF: Move a BLOB Handle to a New Row +** METHOD: sqlite3_blob +** +** ^This function is used to move an existing [BLOB handle] so that it points +** to a different row of the same database table. ^The new row is identified +** by the rowid value passed as the second argument. Only the row can be +** changed. ^The database, table and column on which the blob handle is open +** remain the same. Moving an existing [BLOB handle] to a new row is +** faster than closing the existing handle and opening a new one. +** +** ^(The new row must meet the same criteria as for [sqlite3_blob_open()] - +** it must exist and there must be either a blob or text value stored in +** the nominated column.)^ ^If the new row is not present in the table, or if +** it does not contain a blob or text value, or if another error occurs, an +** SQLite error code is returned and the blob handle is considered aborted. +** ^All subsequent calls to [sqlite3_blob_read()], [sqlite3_blob_write()] or +** [sqlite3_blob_reopen()] on an aborted blob handle immediately return +** SQLITE_ABORT. ^Calling [sqlite3_blob_bytes()] on an aborted blob handle +** always returns zero. +** +** ^This function sets the database handle error code and message. +*/ +SQLITE_API int sqlite3_blob_reopen(sqlite3_blob *, sqlite3_int64); + +/* +** CAPI3REF: Close A BLOB Handle +** DESTRUCTOR: sqlite3_blob +** +** ^This function closes an open [BLOB handle]. ^(The BLOB handle is closed +** unconditionally. Even if this routine returns an error code, the +** handle is still closed.)^ +** +** ^If the blob handle being closed was opened for read-write access, and if +** the database is in auto-commit mode and there are no other open read-write +** blob handles or active write statements, the current transaction is +** committed. ^If an error occurs while committing the transaction, an error +** code is returned and the transaction rolled back. +** +** Calling this function with an argument that is not a NULL pointer or an +** open blob handle results in undefined behaviour. ^Calling this routine +** with a null pointer (such as would be returned by a failed call to +** [sqlite3_blob_open()]) is a harmless no-op. ^Otherwise, if this function +** is passed a valid open blob handle, the values returned by the +** sqlite3_errcode() and sqlite3_errmsg() functions are set before returning. +*/ +SQLITE_API int sqlite3_blob_close(sqlite3_blob *); + +/* +** CAPI3REF: Return The Size Of An Open BLOB +** METHOD: sqlite3_blob +** +** ^Returns the size in bytes of the BLOB accessible via the +** successfully opened [BLOB handle] in its only argument. ^The +** incremental blob I/O routines can only read or overwriting existing +** blob content; they cannot change the size of a blob. +** +** This routine only works on a [BLOB handle] which has been created +** by a prior successful call to [sqlite3_blob_open()] and which has not +** been closed by [sqlite3_blob_close()]. Passing any other pointer in +** to this routine results in undefined and probably undesirable behavior. +*/ +SQLITE_API int sqlite3_blob_bytes(sqlite3_blob *); + +/* +** CAPI3REF: Read Data From A BLOB Incrementally +** METHOD: sqlite3_blob +** +** ^(This function is used to read data from an open [BLOB handle] into a +** caller-supplied buffer. N bytes of data are copied into buffer Z +** from the open BLOB, starting at offset iOffset.)^ +** +** ^If offset iOffset is less than N bytes from the end of the BLOB, +** [SQLITE_ERROR] is returned and no data is read. ^If N or iOffset is +** less than zero, [SQLITE_ERROR] is returned and no data is read. +** ^The size of the blob (and hence the maximum value of N+iOffset) +** can be determined using the [sqlite3_blob_bytes()] interface. +** +** ^An attempt to read from an expired [BLOB handle] fails with an +** error code of [SQLITE_ABORT]. +** +** ^(On success, sqlite3_blob_read() returns SQLITE_OK. +** Otherwise, an [error code] or an [extended error code] is returned.)^ +** +** This routine only works on a [BLOB handle] which has been created +** by a prior successful call to [sqlite3_blob_open()] and which has not +** been closed by [sqlite3_blob_close()]. Passing any other pointer in +** to this routine results in undefined and probably undesirable behavior. +** +** See also: [sqlite3_blob_write()]. +*/ +SQLITE_API int sqlite3_blob_read(sqlite3_blob *, void *Z, int N, int iOffset); + +/* +** CAPI3REF: Write Data Into A BLOB Incrementally +** METHOD: sqlite3_blob +** +** ^(This function is used to write data into an open [BLOB handle] from a +** caller-supplied buffer. N bytes of data are copied from the buffer Z +** into the open BLOB, starting at offset iOffset.)^ +** +** ^(On success, sqlite3_blob_write() returns SQLITE_OK. +** Otherwise, an [error code] or an [extended error code] is returned.)^ +** ^Unless SQLITE_MISUSE is returned, this function sets the +** [database connection] error code and message accessible via +** [sqlite3_errcode()] and [sqlite3_errmsg()] and related functions. +** +** ^If the [BLOB handle] passed as the first argument was not opened for +** writing (the flags parameter to [sqlite3_blob_open()] was zero), +** this function returns [SQLITE_READONLY]. +** +** This function may only modify the contents of the BLOB; it is +** not possible to increase the size of a BLOB using this API. +** ^If offset iOffset is less than N bytes from the end of the BLOB, +** [SQLITE_ERROR] is returned and no data is written. The size of the +** BLOB (and hence the maximum value of N+iOffset) can be determined +** using the [sqlite3_blob_bytes()] interface. ^If N or iOffset are less +** than zero [SQLITE_ERROR] is returned and no data is written. +** +** ^An attempt to write to an expired [BLOB handle] fails with an +** error code of [SQLITE_ABORT]. ^Writes to the BLOB that occurred +** before the [BLOB handle] expired are not rolled back by the +** expiration of the handle, though of course those changes might +** have been overwritten by the statement that expired the BLOB handle +** or by other independent statements. +** +** This routine only works on a [BLOB handle] which has been created +** by a prior successful call to [sqlite3_blob_open()] and which has not +** been closed by [sqlite3_blob_close()]. Passing any other pointer in +** to this routine results in undefined and probably undesirable behavior. +** +** See also: [sqlite3_blob_read()]. +*/ +SQLITE_API int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset); + +/* +** CAPI3REF: Virtual File System Objects +** +** A virtual filesystem (VFS) is an [sqlite3_vfs] object +** that SQLite uses to interact +** with the underlying operating system. Most SQLite builds come with a +** single default VFS that is appropriate for the host computer. +** New VFSes can be registered and existing VFSes can be unregistered. +** The following interfaces are provided. +** +** ^The sqlite3_vfs_find() interface returns a pointer to a VFS given its name. +** ^Names are case sensitive. +** ^Names are zero-terminated UTF-8 strings. +** ^If there is no match, a NULL pointer is returned. +** ^If zVfsName is NULL then the default VFS is returned. +** +** ^New VFSes are registered with sqlite3_vfs_register(). +** ^Each new VFS becomes the default VFS if the makeDflt flag is set. +** ^The same VFS can be registered multiple times without injury. +** ^To make an existing VFS into the default VFS, register it again +** with the makeDflt flag set. If two different VFSes with the +** same name are registered, the behavior is undefined. If a +** VFS is registered with a name that is NULL or an empty string, +** then the behavior is undefined. +** +** ^Unregister a VFS with the sqlite3_vfs_unregister() interface. +** ^(If the default VFS is unregistered, another VFS is chosen as +** the default. The choice for the new VFS is arbitrary.)^ +*/ +SQLITE_API sqlite3_vfs *sqlite3_vfs_find(const char *zVfsName); +SQLITE_API int sqlite3_vfs_register(sqlite3_vfs*, int makeDflt); +SQLITE_API int sqlite3_vfs_unregister(sqlite3_vfs*); + +/* +** CAPI3REF: Mutexes +** +** The SQLite core uses these routines for thread +** synchronization. Though they are intended for internal +** use by SQLite, code that links against SQLite is +** permitted to use any of these routines. +** +** The SQLite source code contains multiple implementations +** of these mutex routines. An appropriate implementation +** is selected automatically at compile-time. The following +** implementations are available in the SQLite core: +** +**
    +**
  • SQLITE_MUTEX_PTHREADS +**
  • SQLITE_MUTEX_W32 +**
  • SQLITE_MUTEX_NOOP +**
+** +** The SQLITE_MUTEX_NOOP implementation is a set of routines +** that does no real locking and is appropriate for use in +** a single-threaded application. The SQLITE_MUTEX_PTHREADS and +** SQLITE_MUTEX_W32 implementations are appropriate for use on Unix +** and Windows. +** +** If SQLite is compiled with the SQLITE_MUTEX_APPDEF preprocessor +** macro defined (with "-DSQLITE_MUTEX_APPDEF=1"), then no mutex +** implementation is included with the library. In this case the +** application must supply a custom mutex implementation using the +** [SQLITE_CONFIG_MUTEX] option of the sqlite3_config() function +** before calling sqlite3_initialize() or any other public sqlite3_ +** function that calls sqlite3_initialize(). +** +** ^The sqlite3_mutex_alloc() routine allocates a new +** mutex and returns a pointer to it. ^The sqlite3_mutex_alloc() +** routine returns NULL if it is unable to allocate the requested +** mutex. The argument to sqlite3_mutex_alloc() must one of these +** integer constants: +** +**
    +**
  • SQLITE_MUTEX_FAST +**
  • SQLITE_MUTEX_RECURSIVE +**
  • SQLITE_MUTEX_STATIC_MASTER +**
  • SQLITE_MUTEX_STATIC_MEM +**
  • SQLITE_MUTEX_STATIC_OPEN +**
  • SQLITE_MUTEX_STATIC_PRNG +**
  • SQLITE_MUTEX_STATIC_LRU +**
  • SQLITE_MUTEX_STATIC_PMEM +**
  • SQLITE_MUTEX_STATIC_APP1 +**
  • SQLITE_MUTEX_STATIC_APP2 +**
  • SQLITE_MUTEX_STATIC_APP3 +**
  • SQLITE_MUTEX_STATIC_VFS1 +**
  • SQLITE_MUTEX_STATIC_VFS2 +**
  • SQLITE_MUTEX_STATIC_VFS3 +**
+** +** ^The first two constants (SQLITE_MUTEX_FAST and SQLITE_MUTEX_RECURSIVE) +** cause sqlite3_mutex_alloc() to create +** a new mutex. ^The new mutex is recursive when SQLITE_MUTEX_RECURSIVE +** is used but not necessarily so when SQLITE_MUTEX_FAST is used. +** The mutex implementation does not need to make a distinction +** between SQLITE_MUTEX_RECURSIVE and SQLITE_MUTEX_FAST if it does +** not want to. SQLite will only request a recursive mutex in +** cases where it really needs one. If a faster non-recursive mutex +** implementation is available on the host platform, the mutex subsystem +** might return such a mutex in response to SQLITE_MUTEX_FAST. +** +** ^The other allowed parameters to sqlite3_mutex_alloc() (anything other +** than SQLITE_MUTEX_FAST and SQLITE_MUTEX_RECURSIVE) each return +** a pointer to a static preexisting mutex. ^Nine static mutexes are +** used by the current version of SQLite. Future versions of SQLite +** may add additional static mutexes. Static mutexes are for internal +** use by SQLite only. Applications that use SQLite mutexes should +** use only the dynamic mutexes returned by SQLITE_MUTEX_FAST or +** SQLITE_MUTEX_RECURSIVE. +** +** ^Note that if one of the dynamic mutex parameters (SQLITE_MUTEX_FAST +** or SQLITE_MUTEX_RECURSIVE) is used then sqlite3_mutex_alloc() +** returns a different mutex on every call. ^For the static +** mutex types, the same mutex is returned on every call that has +** the same type number. +** +** ^The sqlite3_mutex_free() routine deallocates a previously +** allocated dynamic mutex. Attempting to deallocate a static +** mutex results in undefined behavior. +** +** ^The sqlite3_mutex_enter() and sqlite3_mutex_try() routines attempt +** to enter a mutex. ^If another thread is already within the mutex, +** sqlite3_mutex_enter() will block and sqlite3_mutex_try() will return +** SQLITE_BUSY. ^The sqlite3_mutex_try() interface returns [SQLITE_OK] +** upon successful entry. ^(Mutexes created using +** SQLITE_MUTEX_RECURSIVE can be entered multiple times by the same thread. +** In such cases, the +** mutex must be exited an equal number of times before another thread +** can enter.)^ If the same thread tries to enter any mutex other +** than an SQLITE_MUTEX_RECURSIVE more than once, the behavior is undefined. +** +** ^(Some systems (for example, Windows 95) do not support the operation +** implemented by sqlite3_mutex_try(). On those systems, sqlite3_mutex_try() +** will always return SQLITE_BUSY. The SQLite core only ever uses +** sqlite3_mutex_try() as an optimization so this is acceptable +** behavior.)^ +** +** ^The sqlite3_mutex_leave() routine exits a mutex that was +** previously entered by the same thread. The behavior +** is undefined if the mutex is not currently entered by the +** calling thread or is not currently allocated. +** +** ^If the argument to sqlite3_mutex_enter(), sqlite3_mutex_try(), or +** sqlite3_mutex_leave() is a NULL pointer, then all three routines +** behave as no-ops. +** +** See also: [sqlite3_mutex_held()] and [sqlite3_mutex_notheld()]. +*/ +SQLITE_API sqlite3_mutex *sqlite3_mutex_alloc(int); +SQLITE_API void sqlite3_mutex_free(sqlite3_mutex*); +SQLITE_API void sqlite3_mutex_enter(sqlite3_mutex*); +SQLITE_API int sqlite3_mutex_try(sqlite3_mutex*); +SQLITE_API void sqlite3_mutex_leave(sqlite3_mutex*); + +/* +** CAPI3REF: Mutex Methods Object +** +** An instance of this structure defines the low-level routines +** used to allocate and use mutexes. +** +** Usually, the default mutex implementations provided by SQLite are +** sufficient, however the application has the option of substituting a custom +** implementation for specialized deployments or systems for which SQLite +** does not provide a suitable implementation. In this case, the application +** creates and populates an instance of this structure to pass +** to sqlite3_config() along with the [SQLITE_CONFIG_MUTEX] option. +** Additionally, an instance of this structure can be used as an +** output variable when querying the system for the current mutex +** implementation, using the [SQLITE_CONFIG_GETMUTEX] option. +** +** ^The xMutexInit method defined by this structure is invoked as +** part of system initialization by the sqlite3_initialize() function. +** ^The xMutexInit routine is called by SQLite exactly once for each +** effective call to [sqlite3_initialize()]. +** +** ^The xMutexEnd method defined by this structure is invoked as +** part of system shutdown by the sqlite3_shutdown() function. The +** implementation of this method is expected to release all outstanding +** resources obtained by the mutex methods implementation, especially +** those obtained by the xMutexInit method. ^The xMutexEnd() +** interface is invoked exactly once for each call to [sqlite3_shutdown()]. +** +** ^(The remaining seven methods defined by this structure (xMutexAlloc, +** xMutexFree, xMutexEnter, xMutexTry, xMutexLeave, xMutexHeld and +** xMutexNotheld) implement the following interfaces (respectively): +** +**
    +**
  • [sqlite3_mutex_alloc()]
  • +**
  • [sqlite3_mutex_free()]
  • +**
  • [sqlite3_mutex_enter()]
  • +**
  • [sqlite3_mutex_try()]
  • +**
  • [sqlite3_mutex_leave()]
  • +**
  • [sqlite3_mutex_held()]
  • +**
  • [sqlite3_mutex_notheld()]
  • +**
)^ +** +** The only difference is that the public sqlite3_XXX functions enumerated +** above silently ignore any invocations that pass a NULL pointer instead +** of a valid mutex handle. The implementations of the methods defined +** by this structure are not required to handle this case, the results +** of passing a NULL pointer instead of a valid mutex handle are undefined +** (i.e. it is acceptable to provide an implementation that segfaults if +** it is passed a NULL pointer). +** +** The xMutexInit() method must be threadsafe. It must be harmless to +** invoke xMutexInit() multiple times within the same process and without +** intervening calls to xMutexEnd(). Second and subsequent calls to +** xMutexInit() must be no-ops. +** +** xMutexInit() must not use SQLite memory allocation ([sqlite3_malloc()] +** and its associates). Similarly, xMutexAlloc() must not use SQLite memory +** allocation for a static mutex. ^However xMutexAlloc() may use SQLite +** memory allocation for a fast or recursive mutex. +** +** ^SQLite will invoke the xMutexEnd() method when [sqlite3_shutdown()] is +** called, but only if the prior call to xMutexInit returned SQLITE_OK. +** If xMutexInit fails in any way, it is expected to clean up after itself +** prior to returning. +*/ +typedef struct sqlite3_mutex_methods sqlite3_mutex_methods; +struct sqlite3_mutex_methods { + int (*xMutexInit)(void); + int (*xMutexEnd)(void); + sqlite3_mutex *(*xMutexAlloc)(int); + void (*xMutexFree)(sqlite3_mutex *); + void (*xMutexEnter)(sqlite3_mutex *); + int (*xMutexTry)(sqlite3_mutex *); + void (*xMutexLeave)(sqlite3_mutex *); + int (*xMutexHeld)(sqlite3_mutex *); + int (*xMutexNotheld)(sqlite3_mutex *); +}; + +/* +** CAPI3REF: Mutex Verification Routines +** +** The sqlite3_mutex_held() and sqlite3_mutex_notheld() routines +** are intended for use inside assert() statements. The SQLite core +** never uses these routines except inside an assert() and applications +** are advised to follow the lead of the core. The SQLite core only +** provides implementations for these routines when it is compiled +** with the SQLITE_DEBUG flag. External mutex implementations +** are only required to provide these routines if SQLITE_DEBUG is +** defined and if NDEBUG is not defined. +** +** These routines should return true if the mutex in their argument +** is held or not held, respectively, by the calling thread. +** +** The implementation is not required to provide versions of these +** routines that actually work. If the implementation does not provide working +** versions of these routines, it should at least provide stubs that always +** return true so that one does not get spurious assertion failures. +** +** If the argument to sqlite3_mutex_held() is a NULL pointer then +** the routine should return 1. This seems counter-intuitive since +** clearly the mutex cannot be held if it does not exist. But +** the reason the mutex does not exist is because the build is not +** using mutexes. And we do not want the assert() containing the +** call to sqlite3_mutex_held() to fail, so a non-zero return is +** the appropriate thing to do. The sqlite3_mutex_notheld() +** interface should also return 1 when given a NULL pointer. +*/ +#ifndef NDEBUG +SQLITE_API int sqlite3_mutex_held(sqlite3_mutex*); +SQLITE_API int sqlite3_mutex_notheld(sqlite3_mutex*); +#endif + +/* +** CAPI3REF: Mutex Types +** +** The [sqlite3_mutex_alloc()] interface takes a single argument +** which is one of these integer constants. +** +** The set of static mutexes may change from one SQLite release to the +** next. Applications that override the built-in mutex logic must be +** prepared to accommodate additional static mutexes. +*/ +#define SQLITE_MUTEX_FAST 0 +#define SQLITE_MUTEX_RECURSIVE 1 +#define SQLITE_MUTEX_STATIC_MASTER 2 +#define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */ +#define SQLITE_MUTEX_STATIC_MEM2 4 /* NOT USED */ +#define SQLITE_MUTEX_STATIC_OPEN 4 /* sqlite3BtreeOpen() */ +#define SQLITE_MUTEX_STATIC_PRNG 5 /* sqlite3_randomness() */ +#define SQLITE_MUTEX_STATIC_LRU 6 /* lru page list */ +#define SQLITE_MUTEX_STATIC_LRU2 7 /* NOT USED */ +#define SQLITE_MUTEX_STATIC_PMEM 7 /* sqlite3PageMalloc() */ +#define SQLITE_MUTEX_STATIC_APP1 8 /* For use by application */ +#define SQLITE_MUTEX_STATIC_APP2 9 /* For use by application */ +#define SQLITE_MUTEX_STATIC_APP3 10 /* For use by application */ +#define SQLITE_MUTEX_STATIC_VFS1 11 /* For use by built-in VFS */ +#define SQLITE_MUTEX_STATIC_VFS2 12 /* For use by extension VFS */ +#define SQLITE_MUTEX_STATIC_VFS3 13 /* For use by application VFS */ + +/* +** CAPI3REF: Retrieve the mutex for a database connection +** METHOD: sqlite3 +** +** ^This interface returns a pointer the [sqlite3_mutex] object that +** serializes access to the [database connection] given in the argument +** when the [threading mode] is Serialized. +** ^If the [threading mode] is Single-thread or Multi-thread then this +** routine returns a NULL pointer. +*/ +SQLITE_API sqlite3_mutex *sqlite3_db_mutex(sqlite3*); + +/* +** CAPI3REF: Low-Level Control Of Database Files +** METHOD: sqlite3 +** KEYWORDS: {file control} +** +** ^The [sqlite3_file_control()] interface makes a direct call to the +** xFileControl method for the [sqlite3_io_methods] object associated +** with a particular database identified by the second argument. ^The +** name of the database is "main" for the main database or "temp" for the +** TEMP database, or the name that appears after the AS keyword for +** databases that are added using the [ATTACH] SQL command. +** ^A NULL pointer can be used in place of "main" to refer to the +** main database file. +** ^The third and fourth parameters to this routine +** are passed directly through to the second and third parameters of +** the xFileControl method. ^The return value of the xFileControl +** method becomes the return value of this routine. +** +** A few opcodes for [sqlite3_file_control()] are handled directly +** by the SQLite core and never invoke the +** sqlite3_io_methods.xFileControl method. +** ^The [SQLITE_FCNTL_FILE_POINTER] value for the op parameter causes +** a pointer to the underlying [sqlite3_file] object to be written into +** the space pointed to by the 4th parameter. The +** [SQLITE_FCNTL_JOURNAL_POINTER] works similarly except that it returns +** the [sqlite3_file] object associated with the journal file instead of +** the main database. The [SQLITE_FCNTL_VFS_POINTER] opcode returns +** a pointer to the underlying [sqlite3_vfs] object for the file. +** The [SQLITE_FCNTL_DATA_VERSION] returns the data version counter +** from the pager. +** +** ^If the second parameter (zDbName) does not match the name of any +** open database file, then SQLITE_ERROR is returned. ^This error +** code is not remembered and will not be recalled by [sqlite3_errcode()] +** or [sqlite3_errmsg()]. The underlying xFileControl method might +** also return SQLITE_ERROR. There is no way to distinguish between +** an incorrect zDbName and an SQLITE_ERROR return from the underlying +** xFileControl method. +** +** See also: [file control opcodes] +*/ +SQLITE_API int sqlite3_file_control(sqlite3*, const char *zDbName, int op, void*); + +/* +** CAPI3REF: Testing Interface +** +** ^The sqlite3_test_control() interface is used to read out internal +** state of SQLite and to inject faults into SQLite for testing +** purposes. ^The first parameter is an operation code that determines +** the number, meaning, and operation of all subsequent parameters. +** +** This interface is not for use by applications. It exists solely +** for verifying the correct operation of the SQLite library. Depending +** on how the SQLite library is compiled, this interface might not exist. +** +** The details of the operation codes, their meanings, the parameters +** they take, and what they do are all subject to change without notice. +** Unlike most of the SQLite API, this function is not guaranteed to +** operate consistently from one release to the next. +*/ +SQLITE_API int sqlite3_test_control(int op, ...); + +/* +** CAPI3REF: Testing Interface Operation Codes +** +** These constants are the valid operation code parameters used +** as the first argument to [sqlite3_test_control()]. +** +** These parameters and their meanings are subject to change +** without notice. These values are for testing purposes only. +** Applications should not use any of these parameters or the +** [sqlite3_test_control()] interface. +*/ +#define SQLITE_TESTCTRL_FIRST 5 +#define SQLITE_TESTCTRL_PRNG_SAVE 5 +#define SQLITE_TESTCTRL_PRNG_RESTORE 6 +#define SQLITE_TESTCTRL_PRNG_RESET 7 /* NOT USED */ +#define SQLITE_TESTCTRL_BITVEC_TEST 8 +#define SQLITE_TESTCTRL_FAULT_INSTALL 9 +#define SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS 10 +#define SQLITE_TESTCTRL_PENDING_BYTE 11 +#define SQLITE_TESTCTRL_ASSERT 12 +#define SQLITE_TESTCTRL_ALWAYS 13 +#define SQLITE_TESTCTRL_RESERVE 14 +#define SQLITE_TESTCTRL_OPTIMIZATIONS 15 +#define SQLITE_TESTCTRL_ISKEYWORD 16 /* NOT USED */ +#define SQLITE_TESTCTRL_SCRATCHMALLOC 17 /* NOT USED */ +#define SQLITE_TESTCTRL_INTERNAL_FUNCTIONS 17 +#define SQLITE_TESTCTRL_LOCALTIME_FAULT 18 +#define SQLITE_TESTCTRL_EXPLAIN_STMT 19 /* NOT USED */ +#define SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD 19 +#define SQLITE_TESTCTRL_NEVER_CORRUPT 20 +#define SQLITE_TESTCTRL_VDBE_COVERAGE 21 +#define SQLITE_TESTCTRL_BYTEORDER 22 +#define SQLITE_TESTCTRL_ISINIT 23 +#define SQLITE_TESTCTRL_SORTER_MMAP 24 +#define SQLITE_TESTCTRL_IMPOSTER 25 +#define SQLITE_TESTCTRL_PARSER_COVERAGE 26 +#define SQLITE_TESTCTRL_RESULT_INTREAL 27 +#define SQLITE_TESTCTRL_PRNG_SEED 28 +#define SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS 29 +#define SQLITE_TESTCTRL_LAST 29 /* Largest TESTCTRL */ + +/* +** CAPI3REF: SQL Keyword Checking +** +** These routines provide access to the set of SQL language keywords +** recognized by SQLite. Applications can uses these routines to determine +** whether or not a specific identifier needs to be escaped (for example, +** by enclosing in double-quotes) so as not to confuse the parser. +** +** The sqlite3_keyword_count() interface returns the number of distinct +** keywords understood by SQLite. +** +** The sqlite3_keyword_name(N,Z,L) interface finds the N-th keyword and +** makes *Z point to that keyword expressed as UTF8 and writes the number +** of bytes in the keyword into *L. The string that *Z points to is not +** zero-terminated. The sqlite3_keyword_name(N,Z,L) routine returns +** SQLITE_OK if N is within bounds and SQLITE_ERROR if not. If either Z +** or L are NULL or invalid pointers then calls to +** sqlite3_keyword_name(N,Z,L) result in undefined behavior. +** +** The sqlite3_keyword_check(Z,L) interface checks to see whether or not +** the L-byte UTF8 identifier that Z points to is a keyword, returning non-zero +** if it is and zero if not. +** +** The parser used by SQLite is forgiving. It is often possible to use +** a keyword as an identifier as long as such use does not result in a +** parsing ambiguity. For example, the statement +** "CREATE TABLE BEGIN(REPLACE,PRAGMA,END);" is accepted by SQLite, and +** creates a new table named "BEGIN" with three columns named +** "REPLACE", "PRAGMA", and "END". Nevertheless, best practice is to avoid +** using keywords as identifiers. Common techniques used to avoid keyword +** name collisions include: +**
    +**
  • Put all identifier names inside double-quotes. This is the official +** SQL way to escape identifier names. +**
  • Put identifier names inside [...]. This is not standard SQL, +** but it is what SQL Server does and so lots of programmers use this +** technique. +**
  • Begin every identifier with the letter "Z" as no SQL keywords start +** with "Z". +**
  • Include a digit somewhere in every identifier name. +**
+** +** Note that the number of keywords understood by SQLite can depend on +** compile-time options. For example, "VACUUM" is not a keyword if +** SQLite is compiled with the [-DSQLITE_OMIT_VACUUM] option. Also, +** new keywords may be added to future releases of SQLite. +*/ +SQLITE_API int sqlite3_keyword_count(void); +SQLITE_API int sqlite3_keyword_name(int,const char**,int*); +SQLITE_API int sqlite3_keyword_check(const char*,int); + +/* +** CAPI3REF: Dynamic String Object +** KEYWORDS: {dynamic string} +** +** An instance of the sqlite3_str object contains a dynamically-sized +** string under construction. +** +** The lifecycle of an sqlite3_str object is as follows: +**
    +**
  1. ^The sqlite3_str object is created using [sqlite3_str_new()]. +**
  2. ^Text is appended to the sqlite3_str object using various +** methods, such as [sqlite3_str_appendf()]. +**
  3. ^The sqlite3_str object is destroyed and the string it created +** is returned using the [sqlite3_str_finish()] interface. +**
+*/ +typedef struct sqlite3_str sqlite3_str; + +/* +** CAPI3REF: Create A New Dynamic String Object +** CONSTRUCTOR: sqlite3_str +** +** ^The [sqlite3_str_new(D)] interface allocates and initializes +** a new [sqlite3_str] object. To avoid memory leaks, the object returned by +** [sqlite3_str_new()] must be freed by a subsequent call to +** [sqlite3_str_finish(X)]. +** +** ^The [sqlite3_str_new(D)] interface always returns a pointer to a +** valid [sqlite3_str] object, though in the event of an out-of-memory +** error the returned object might be a special singleton that will +** silently reject new text, always return SQLITE_NOMEM from +** [sqlite3_str_errcode()], always return 0 for +** [sqlite3_str_length()], and always return NULL from +** [sqlite3_str_finish(X)]. It is always safe to use the value +** returned by [sqlite3_str_new(D)] as the sqlite3_str parameter +** to any of the other [sqlite3_str] methods. +** +** The D parameter to [sqlite3_str_new(D)] may be NULL. If the +** D parameter in [sqlite3_str_new(D)] is not NULL, then the maximum +** length of the string contained in the [sqlite3_str] object will be +** the value set for [sqlite3_limit](D,[SQLITE_LIMIT_LENGTH]) instead +** of [SQLITE_MAX_LENGTH]. +*/ +SQLITE_API sqlite3_str *sqlite3_str_new(sqlite3*); + +/* +** CAPI3REF: Finalize A Dynamic String +** DESTRUCTOR: sqlite3_str +** +** ^The [sqlite3_str_finish(X)] interface destroys the sqlite3_str object X +** and returns a pointer to a memory buffer obtained from [sqlite3_malloc64()] +** that contains the constructed string. The calling application should +** pass the returned value to [sqlite3_free()] to avoid a memory leak. +** ^The [sqlite3_str_finish(X)] interface may return a NULL pointer if any +** errors were encountered during construction of the string. ^The +** [sqlite3_str_finish(X)] interface will also return a NULL pointer if the +** string in [sqlite3_str] object X is zero bytes long. +*/ +SQLITE_API char *sqlite3_str_finish(sqlite3_str*); + +/* +** CAPI3REF: Add Content To A Dynamic String +** METHOD: sqlite3_str +** +** These interfaces add content to an sqlite3_str object previously obtained +** from [sqlite3_str_new()]. +** +** ^The [sqlite3_str_appendf(X,F,...)] and +** [sqlite3_str_vappendf(X,F,V)] interfaces uses the [built-in printf] +** functionality of SQLite to append formatted text onto the end of +** [sqlite3_str] object X. +** +** ^The [sqlite3_str_append(X,S,N)] method appends exactly N bytes from string S +** onto the end of the [sqlite3_str] object X. N must be non-negative. +** S must contain at least N non-zero bytes of content. To append a +** zero-terminated string in its entirety, use the [sqlite3_str_appendall()] +** method instead. +** +** ^The [sqlite3_str_appendall(X,S)] method appends the complete content of +** zero-terminated string S onto the end of [sqlite3_str] object X. +** +** ^The [sqlite3_str_appendchar(X,N,C)] method appends N copies of the +** single-byte character C onto the end of [sqlite3_str] object X. +** ^This method can be used, for example, to add whitespace indentation. +** +** ^The [sqlite3_str_reset(X)] method resets the string under construction +** inside [sqlite3_str] object X back to zero bytes in length. +** +** These methods do not return a result code. ^If an error occurs, that fact +** is recorded in the [sqlite3_str] object and can be recovered by a +** subsequent call to [sqlite3_str_errcode(X)]. +*/ +SQLITE_API void sqlite3_str_appendf(sqlite3_str*, const char *zFormat, ...); +SQLITE_API void sqlite3_str_vappendf(sqlite3_str*, const char *zFormat, va_list); +SQLITE_API void sqlite3_str_append(sqlite3_str*, const char *zIn, int N); +SQLITE_API void sqlite3_str_appendall(sqlite3_str*, const char *zIn); +SQLITE_API void sqlite3_str_appendchar(sqlite3_str*, int N, char C); +SQLITE_API void sqlite3_str_reset(sqlite3_str*); + +/* +** CAPI3REF: Status Of A Dynamic String +** METHOD: sqlite3_str +** +** These interfaces return the current status of an [sqlite3_str] object. +** +** ^If any prior errors have occurred while constructing the dynamic string +** in sqlite3_str X, then the [sqlite3_str_errcode(X)] method will return +** an appropriate error code. ^The [sqlite3_str_errcode(X)] method returns +** [SQLITE_NOMEM] following any out-of-memory error, or +** [SQLITE_TOOBIG] if the size of the dynamic string exceeds +** [SQLITE_MAX_LENGTH], or [SQLITE_OK] if there have been no errors. +** +** ^The [sqlite3_str_length(X)] method returns the current length, in bytes, +** of the dynamic string under construction in [sqlite3_str] object X. +** ^The length returned by [sqlite3_str_length(X)] does not include the +** zero-termination byte. +** +** ^The [sqlite3_str_value(X)] method returns a pointer to the current +** content of the dynamic string under construction in X. The value +** returned by [sqlite3_str_value(X)] is managed by the sqlite3_str object X +** and might be freed or altered by any subsequent method on the same +** [sqlite3_str] object. Applications must not used the pointer returned +** [sqlite3_str_value(X)] after any subsequent method call on the same +** object. ^Applications may change the content of the string returned +** by [sqlite3_str_value(X)] as long as they do not write into any bytes +** outside the range of 0 to [sqlite3_str_length(X)] and do not read or +** write any byte after any subsequent sqlite3_str method call. +*/ +SQLITE_API int sqlite3_str_errcode(sqlite3_str*); +SQLITE_API int sqlite3_str_length(sqlite3_str*); +SQLITE_API char *sqlite3_str_value(sqlite3_str*); + +/* +** CAPI3REF: SQLite Runtime Status +** +** ^These interfaces are used to retrieve runtime status information +** about the performance of SQLite, and optionally to reset various +** highwater marks. ^The first argument is an integer code for +** the specific parameter to measure. ^(Recognized integer codes +** are of the form [status parameters | SQLITE_STATUS_...].)^ +** ^The current value of the parameter is returned into *pCurrent. +** ^The highest recorded value is returned in *pHighwater. ^If the +** resetFlag is true, then the highest record value is reset after +** *pHighwater is written. ^(Some parameters do not record the highest +** value. For those parameters +** nothing is written into *pHighwater and the resetFlag is ignored.)^ +** ^(Other parameters record only the highwater mark and not the current +** value. For these latter parameters nothing is written into *pCurrent.)^ +** +** ^The sqlite3_status() and sqlite3_status64() routines return +** SQLITE_OK on success and a non-zero [error code] on failure. +** +** If either the current value or the highwater mark is too large to +** be represented by a 32-bit integer, then the values returned by +** sqlite3_status() are undefined. +** +** See also: [sqlite3_db_status()] +*/ +SQLITE_API int sqlite3_status(int op, int *pCurrent, int *pHighwater, int resetFlag); +SQLITE_API int sqlite3_status64( + int op, + sqlite3_int64 *pCurrent, + sqlite3_int64 *pHighwater, + int resetFlag +); + + +/* +** CAPI3REF: Status Parameters +** KEYWORDS: {status parameters} +** +** These integer constants designate various run-time status parameters +** that can be returned by [sqlite3_status()]. +** +**
+** [[SQLITE_STATUS_MEMORY_USED]] ^(
SQLITE_STATUS_MEMORY_USED
+**
This parameter is the current amount of memory checked out +** using [sqlite3_malloc()], either directly or indirectly. The +** figure includes calls made to [sqlite3_malloc()] by the application +** and internal memory usage by the SQLite library. Auxiliary page-cache +** memory controlled by [SQLITE_CONFIG_PAGECACHE] is not included in +** this parameter. The amount returned is the sum of the allocation +** sizes as reported by the xSize method in [sqlite3_mem_methods].
)^ +** +** [[SQLITE_STATUS_MALLOC_SIZE]] ^(
SQLITE_STATUS_MALLOC_SIZE
+**
This parameter records the largest memory allocation request +** handed to [sqlite3_malloc()] or [sqlite3_realloc()] (or their +** internal equivalents). Only the value returned in the +** *pHighwater parameter to [sqlite3_status()] is of interest. +** The value written into the *pCurrent parameter is undefined.
)^ +** +** [[SQLITE_STATUS_MALLOC_COUNT]] ^(
SQLITE_STATUS_MALLOC_COUNT
+**
This parameter records the number of separate memory allocations +** currently checked out.
)^ +** +** [[SQLITE_STATUS_PAGECACHE_USED]] ^(
SQLITE_STATUS_PAGECACHE_USED
+**
This parameter returns the number of pages used out of the +** [pagecache memory allocator] that was configured using +** [SQLITE_CONFIG_PAGECACHE]. The +** value returned is in pages, not in bytes.
)^ +** +** [[SQLITE_STATUS_PAGECACHE_OVERFLOW]] +** ^(
SQLITE_STATUS_PAGECACHE_OVERFLOW
+**
This parameter returns the number of bytes of page cache +** allocation which could not be satisfied by the [SQLITE_CONFIG_PAGECACHE] +** buffer and where forced to overflow to [sqlite3_malloc()]. The +** returned value includes allocations that overflowed because they +** where too large (they were larger than the "sz" parameter to +** [SQLITE_CONFIG_PAGECACHE]) and allocations that overflowed because +** no space was left in the page cache.
)^ +** +** [[SQLITE_STATUS_PAGECACHE_SIZE]] ^(
SQLITE_STATUS_PAGECACHE_SIZE
+**
This parameter records the largest memory allocation request +** handed to [pagecache memory allocator]. Only the value returned in the +** *pHighwater parameter to [sqlite3_status()] is of interest. +** The value written into the *pCurrent parameter is undefined.
)^ +** +** [[SQLITE_STATUS_SCRATCH_USED]]
SQLITE_STATUS_SCRATCH_USED
+**
No longer used.
+** +** [[SQLITE_STATUS_SCRATCH_OVERFLOW]] ^(
SQLITE_STATUS_SCRATCH_OVERFLOW
+**
No longer used.
+** +** [[SQLITE_STATUS_SCRATCH_SIZE]]
SQLITE_STATUS_SCRATCH_SIZE
+**
No longer used.
+** +** [[SQLITE_STATUS_PARSER_STACK]] ^(
SQLITE_STATUS_PARSER_STACK
+**
The *pHighwater parameter records the deepest parser stack. +** The *pCurrent value is undefined. The *pHighwater value is only +** meaningful if SQLite is compiled with [YYTRACKMAXSTACKDEPTH].
)^ +**
+** +** New status parameters may be added from time to time. +*/ +#define SQLITE_STATUS_MEMORY_USED 0 +#define SQLITE_STATUS_PAGECACHE_USED 1 +#define SQLITE_STATUS_PAGECACHE_OVERFLOW 2 +#define SQLITE_STATUS_SCRATCH_USED 3 /* NOT USED */ +#define SQLITE_STATUS_SCRATCH_OVERFLOW 4 /* NOT USED */ +#define SQLITE_STATUS_MALLOC_SIZE 5 +#define SQLITE_STATUS_PARSER_STACK 6 +#define SQLITE_STATUS_PAGECACHE_SIZE 7 +#define SQLITE_STATUS_SCRATCH_SIZE 8 /* NOT USED */ +#define SQLITE_STATUS_MALLOC_COUNT 9 + +/* +** CAPI3REF: Database Connection Status +** METHOD: sqlite3 +** +** ^This interface is used to retrieve runtime status information +** about a single [database connection]. ^The first argument is the +** database connection object to be interrogated. ^The second argument +** is an integer constant, taken from the set of +** [SQLITE_DBSTATUS options], that +** determines the parameter to interrogate. The set of +** [SQLITE_DBSTATUS options] is likely +** to grow in future releases of SQLite. +** +** ^The current value of the requested parameter is written into *pCur +** and the highest instantaneous value is written into *pHiwtr. ^If +** the resetFlg is true, then the highest instantaneous value is +** reset back down to the current value. +** +** ^The sqlite3_db_status() routine returns SQLITE_OK on success and a +** non-zero [error code] on failure. +** +** See also: [sqlite3_status()] and [sqlite3_stmt_status()]. +*/ +SQLITE_API int sqlite3_db_status(sqlite3*, int op, int *pCur, int *pHiwtr, int resetFlg); + +/* +** CAPI3REF: Status Parameters for database connections +** KEYWORDS: {SQLITE_DBSTATUS options} +** +** These constants are the available integer "verbs" that can be passed as +** the second argument to the [sqlite3_db_status()] interface. +** +** New verbs may be added in future releases of SQLite. Existing verbs +** might be discontinued. Applications should check the return code from +** [sqlite3_db_status()] to make sure that the call worked. +** The [sqlite3_db_status()] interface will return a non-zero error code +** if a discontinued or unsupported verb is invoked. +** +**
+** [[SQLITE_DBSTATUS_LOOKASIDE_USED]] ^(
SQLITE_DBSTATUS_LOOKASIDE_USED
+**
This parameter returns the number of lookaside memory slots currently +** checked out.
)^ +** +** [[SQLITE_DBSTATUS_LOOKASIDE_HIT]] ^(
SQLITE_DBSTATUS_LOOKASIDE_HIT
+**
This parameter returns the number malloc attempts that were +** satisfied using lookaside memory. Only the high-water value is meaningful; +** the current value is always zero.)^ +** +** [[SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE]] +** ^(
SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE
+**
This parameter returns the number malloc attempts that might have +** been satisfied using lookaside memory but failed due to the amount of +** memory requested being larger than the lookaside slot size. +** Only the high-water value is meaningful; +** the current value is always zero.)^ +** +** [[SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL]] +** ^(
SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL
+**
This parameter returns the number malloc attempts that might have +** been satisfied using lookaside memory but failed due to all lookaside +** memory already being in use. +** Only the high-water value is meaningful; +** the current value is always zero.)^ +** +** [[SQLITE_DBSTATUS_CACHE_USED]] ^(
SQLITE_DBSTATUS_CACHE_USED
+**
This parameter returns the approximate number of bytes of heap +** memory used by all pager caches associated with the database connection.)^ +** ^The highwater mark associated with SQLITE_DBSTATUS_CACHE_USED is always 0. +** +** [[SQLITE_DBSTATUS_CACHE_USED_SHARED]] +** ^(
SQLITE_DBSTATUS_CACHE_USED_SHARED
+**
This parameter is similar to DBSTATUS_CACHE_USED, except that if a +** pager cache is shared between two or more connections the bytes of heap +** memory used by that pager cache is divided evenly between the attached +** connections.)^ In other words, if none of the pager caches associated +** with the database connection are shared, this request returns the same +** value as DBSTATUS_CACHE_USED. Or, if one or more or the pager caches are +** shared, the value returned by this call will be smaller than that returned +** by DBSTATUS_CACHE_USED. ^The highwater mark associated with +** SQLITE_DBSTATUS_CACHE_USED_SHARED is always 0. +** +** [[SQLITE_DBSTATUS_SCHEMA_USED]] ^(
SQLITE_DBSTATUS_SCHEMA_USED
+**
This parameter returns the approximate number of bytes of heap +** memory used to store the schema for all databases associated +** with the connection - main, temp, and any [ATTACH]-ed databases.)^ +** ^The full amount of memory used by the schemas is reported, even if the +** schema memory is shared with other database connections due to +** [shared cache mode] being enabled. +** ^The highwater mark associated with SQLITE_DBSTATUS_SCHEMA_USED is always 0. +** +** [[SQLITE_DBSTATUS_STMT_USED]] ^(
SQLITE_DBSTATUS_STMT_USED
+**
This parameter returns the approximate number of bytes of heap +** and lookaside memory used by all prepared statements associated with +** the database connection.)^ +** ^The highwater mark associated with SQLITE_DBSTATUS_STMT_USED is always 0. +**
+** +** [[SQLITE_DBSTATUS_CACHE_HIT]] ^(
SQLITE_DBSTATUS_CACHE_HIT
+**
This parameter returns the number of pager cache hits that have +** occurred.)^ ^The highwater mark associated with SQLITE_DBSTATUS_CACHE_HIT +** is always 0. +**
+** +** [[SQLITE_DBSTATUS_CACHE_MISS]] ^(
SQLITE_DBSTATUS_CACHE_MISS
+**
This parameter returns the number of pager cache misses that have +** occurred.)^ ^The highwater mark associated with SQLITE_DBSTATUS_CACHE_MISS +** is always 0. +**
+** +** [[SQLITE_DBSTATUS_CACHE_WRITE]] ^(
SQLITE_DBSTATUS_CACHE_WRITE
+**
This parameter returns the number of dirty cache entries that have +** been written to disk. Specifically, the number of pages written to the +** wal file in wal mode databases, or the number of pages written to the +** database file in rollback mode databases. Any pages written as part of +** transaction rollback or database recovery operations are not included. +** If an IO or other error occurs while writing a page to disk, the effect +** on subsequent SQLITE_DBSTATUS_CACHE_WRITE requests is undefined.)^ ^The +** highwater mark associated with SQLITE_DBSTATUS_CACHE_WRITE is always 0. +**
+** +** [[SQLITE_DBSTATUS_CACHE_SPILL]] ^(
SQLITE_DBSTATUS_CACHE_SPILL
+**
This parameter returns the number of dirty cache entries that have +** been written to disk in the middle of a transaction due to the page +** cache overflowing. Transactions are more efficient if they are written +** to disk all at once. When pages spill mid-transaction, that introduces +** additional overhead. This parameter can be used help identify +** inefficiencies that can be resolve by increasing the cache size. +**
+** +** [[SQLITE_DBSTATUS_DEFERRED_FKS]] ^(
SQLITE_DBSTATUS_DEFERRED_FKS
+**
This parameter returns zero for the current value if and only if +** all foreign key constraints (deferred or immediate) have been +** resolved.)^ ^The highwater mark is always 0. +**
+**
+*/ +#define SQLITE_DBSTATUS_LOOKASIDE_USED 0 +#define SQLITE_DBSTATUS_CACHE_USED 1 +#define SQLITE_DBSTATUS_SCHEMA_USED 2 +#define SQLITE_DBSTATUS_STMT_USED 3 +#define SQLITE_DBSTATUS_LOOKASIDE_HIT 4 +#define SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE 5 +#define SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL 6 +#define SQLITE_DBSTATUS_CACHE_HIT 7 +#define SQLITE_DBSTATUS_CACHE_MISS 8 +#define SQLITE_DBSTATUS_CACHE_WRITE 9 +#define SQLITE_DBSTATUS_DEFERRED_FKS 10 +#define SQLITE_DBSTATUS_CACHE_USED_SHARED 11 +#define SQLITE_DBSTATUS_CACHE_SPILL 12 +#define SQLITE_DBSTATUS_MAX 12 /* Largest defined DBSTATUS */ + + +/* +** CAPI3REF: Prepared Statement Status +** METHOD: sqlite3_stmt +** +** ^(Each prepared statement maintains various +** [SQLITE_STMTSTATUS counters] that measure the number +** of times it has performed specific operations.)^ These counters can +** be used to monitor the performance characteristics of the prepared +** statements. For example, if the number of table steps greatly exceeds +** the number of table searches or result rows, that would tend to indicate +** that the prepared statement is using a full table scan rather than +** an index. +** +** ^(This interface is used to retrieve and reset counter values from +** a [prepared statement]. The first argument is the prepared statement +** object to be interrogated. The second argument +** is an integer code for a specific [SQLITE_STMTSTATUS counter] +** to be interrogated.)^ +** ^The current value of the requested counter is returned. +** ^If the resetFlg is true, then the counter is reset to zero after this +** interface call returns. +** +** See also: [sqlite3_status()] and [sqlite3_db_status()]. +*/ +SQLITE_API int sqlite3_stmt_status(sqlite3_stmt*, int op,int resetFlg); + +/* +** CAPI3REF: Status Parameters for prepared statements +** KEYWORDS: {SQLITE_STMTSTATUS counter} {SQLITE_STMTSTATUS counters} +** +** These preprocessor macros define integer codes that name counter +** values associated with the [sqlite3_stmt_status()] interface. +** The meanings of the various counters are as follows: +** +**
+** [[SQLITE_STMTSTATUS_FULLSCAN_STEP]]
SQLITE_STMTSTATUS_FULLSCAN_STEP
+**
^This is the number of times that SQLite has stepped forward in +** a table as part of a full table scan. Large numbers for this counter +** may indicate opportunities for performance improvement through +** careful use of indices.
+** +** [[SQLITE_STMTSTATUS_SORT]]
SQLITE_STMTSTATUS_SORT
+**
^This is the number of sort operations that have occurred. +** A non-zero value in this counter may indicate an opportunity to +** improvement performance through careful use of indices.
+** +** [[SQLITE_STMTSTATUS_AUTOINDEX]]
SQLITE_STMTSTATUS_AUTOINDEX
+**
^This is the number of rows inserted into transient indices that +** were created automatically in order to help joins run faster. +** A non-zero value in this counter may indicate an opportunity to +** improvement performance by adding permanent indices that do not +** need to be reinitialized each time the statement is run.
+** +** [[SQLITE_STMTSTATUS_VM_STEP]]
SQLITE_STMTSTATUS_VM_STEP
+**
^This is the number of virtual machine operations executed +** by the prepared statement if that number is less than or equal +** to 2147483647. The number of virtual machine operations can be +** used as a proxy for the total work done by the prepared statement. +** If the number of virtual machine operations exceeds 2147483647 +** then the value returned by this statement status code is undefined. +** +** [[SQLITE_STMTSTATUS_REPREPARE]]
SQLITE_STMTSTATUS_REPREPARE
+**
^This is the number of times that the prepare statement has been +** automatically regenerated due to schema changes or change to +** [bound parameters] that might affect the query plan. +** +** [[SQLITE_STMTSTATUS_RUN]]
SQLITE_STMTSTATUS_RUN
+**
^This is the number of times that the prepared statement has +** been run. A single "run" for the purposes of this counter is one +** or more calls to [sqlite3_step()] followed by a call to [sqlite3_reset()]. +** The counter is incremented on the first [sqlite3_step()] call of each +** cycle. +** +** [[SQLITE_STMTSTATUS_MEMUSED]]
SQLITE_STMTSTATUS_MEMUSED
+**
^This is the approximate number of bytes of heap memory +** used to store the prepared statement. ^This value is not actually +** a counter, and so the resetFlg parameter to sqlite3_stmt_status() +** is ignored when the opcode is SQLITE_STMTSTATUS_MEMUSED. +**
+**
+*/ +#define SQLITE_STMTSTATUS_FULLSCAN_STEP 1 +#define SQLITE_STMTSTATUS_SORT 2 +#define SQLITE_STMTSTATUS_AUTOINDEX 3 +#define SQLITE_STMTSTATUS_VM_STEP 4 +#define SQLITE_STMTSTATUS_REPREPARE 5 +#define SQLITE_STMTSTATUS_RUN 6 +#define SQLITE_STMTSTATUS_MEMUSED 99 + +/* +** CAPI3REF: Custom Page Cache Object +** +** The sqlite3_pcache type is opaque. It is implemented by +** the pluggable module. The SQLite core has no knowledge of +** its size or internal structure and never deals with the +** sqlite3_pcache object except by holding and passing pointers +** to the object. +** +** See [sqlite3_pcache_methods2] for additional information. +*/ +typedef struct sqlite3_pcache sqlite3_pcache; + +/* +** CAPI3REF: Custom Page Cache Object +** +** The sqlite3_pcache_page object represents a single page in the +** page cache. The page cache will allocate instances of this +** object. Various methods of the page cache use pointers to instances +** of this object as parameters or as their return value. +** +** See [sqlite3_pcache_methods2] for additional information. +*/ +typedef struct sqlite3_pcache_page sqlite3_pcache_page; +struct sqlite3_pcache_page { + void *pBuf; /* The content of the page */ + void *pExtra; /* Extra information associated with the page */ +}; + +/* +** CAPI3REF: Application Defined Page Cache. +** KEYWORDS: {page cache} +** +** ^(The [sqlite3_config]([SQLITE_CONFIG_PCACHE2], ...) interface can +** register an alternative page cache implementation by passing in an +** instance of the sqlite3_pcache_methods2 structure.)^ +** In many applications, most of the heap memory allocated by +** SQLite is used for the page cache. +** By implementing a +** custom page cache using this API, an application can better control +** the amount of memory consumed by SQLite, the way in which +** that memory is allocated and released, and the policies used to +** determine exactly which parts of a database file are cached and for +** how long. +** +** The alternative page cache mechanism is an +** extreme measure that is only needed by the most demanding applications. +** The built-in page cache is recommended for most uses. +** +** ^(The contents of the sqlite3_pcache_methods2 structure are copied to an +** internal buffer by SQLite within the call to [sqlite3_config]. Hence +** the application may discard the parameter after the call to +** [sqlite3_config()] returns.)^ +** +** [[the xInit() page cache method]] +** ^(The xInit() method is called once for each effective +** call to [sqlite3_initialize()])^ +** (usually only once during the lifetime of the process). ^(The xInit() +** method is passed a copy of the sqlite3_pcache_methods2.pArg value.)^ +** The intent of the xInit() method is to set up global data structures +** required by the custom page cache implementation. +** ^(If the xInit() method is NULL, then the +** built-in default page cache is used instead of the application defined +** page cache.)^ +** +** [[the xShutdown() page cache method]] +** ^The xShutdown() method is called by [sqlite3_shutdown()]. +** It can be used to clean up +** any outstanding resources before process shutdown, if required. +** ^The xShutdown() method may be NULL. +** +** ^SQLite automatically serializes calls to the xInit method, +** so the xInit method need not be threadsafe. ^The +** xShutdown method is only called from [sqlite3_shutdown()] so it does +** not need to be threadsafe either. All other methods must be threadsafe +** in multithreaded applications. +** +** ^SQLite will never invoke xInit() more than once without an intervening +** call to xShutdown(). +** +** [[the xCreate() page cache methods]] +** ^SQLite invokes the xCreate() method to construct a new cache instance. +** SQLite will typically create one cache instance for each open database file, +** though this is not guaranteed. ^The +** first parameter, szPage, is the size in bytes of the pages that must +** be allocated by the cache. ^szPage will always a power of two. ^The +** second parameter szExtra is a number of bytes of extra storage +** associated with each page cache entry. ^The szExtra parameter will +** a number less than 250. SQLite will use the +** extra szExtra bytes on each page to store metadata about the underlying +** database page on disk. The value passed into szExtra depends +** on the SQLite version, the target platform, and how SQLite was compiled. +** ^The third argument to xCreate(), bPurgeable, is true if the cache being +** created will be used to cache database pages of a file stored on disk, or +** false if it is used for an in-memory database. The cache implementation +** does not have to do anything special based with the value of bPurgeable; +** it is purely advisory. ^On a cache where bPurgeable is false, SQLite will +** never invoke xUnpin() except to deliberately delete a page. +** ^In other words, calls to xUnpin() on a cache with bPurgeable set to +** false will always have the "discard" flag set to true. +** ^Hence, a cache created with bPurgeable false will +** never contain any unpinned pages. +** +** [[the xCachesize() page cache method]] +** ^(The xCachesize() method may be called at any time by SQLite to set the +** suggested maximum cache-size (number of pages stored by) the cache +** instance passed as the first argument. This is the value configured using +** the SQLite "[PRAGMA cache_size]" command.)^ As with the bPurgeable +** parameter, the implementation is not required to do anything with this +** value; it is advisory only. +** +** [[the xPagecount() page cache methods]] +** The xPagecount() method must return the number of pages currently +** stored in the cache, both pinned and unpinned. +** +** [[the xFetch() page cache methods]] +** The xFetch() method locates a page in the cache and returns a pointer to +** an sqlite3_pcache_page object associated with that page, or a NULL pointer. +** The pBuf element of the returned sqlite3_pcache_page object will be a +** pointer to a buffer of szPage bytes used to store the content of a +** single database page. The pExtra element of sqlite3_pcache_page will be +** a pointer to the szExtra bytes of extra storage that SQLite has requested +** for each entry in the page cache. +** +** The page to be fetched is determined by the key. ^The minimum key value +** is 1. After it has been retrieved using xFetch, the page is considered +** to be "pinned". +** +** If the requested page is already in the page cache, then the page cache +** implementation must return a pointer to the page buffer with its content +** intact. If the requested page is not already in the cache, then the +** cache implementation should use the value of the createFlag +** parameter to help it determined what action to take: +** +** +**
createFlag Behavior when page is not already in cache +**
0 Do not allocate a new page. Return NULL. +**
1 Allocate a new page if it easy and convenient to do so. +** Otherwise return NULL. +**
2 Make every effort to allocate a new page. Only return +** NULL if allocating a new page is effectively impossible. +**
+** +** ^(SQLite will normally invoke xFetch() with a createFlag of 0 or 1. SQLite +** will only use a createFlag of 2 after a prior call with a createFlag of 1 +** failed.)^ In between the to xFetch() calls, SQLite may +** attempt to unpin one or more cache pages by spilling the content of +** pinned pages to disk and synching the operating system disk cache. +** +** [[the xUnpin() page cache method]] +** ^xUnpin() is called by SQLite with a pointer to a currently pinned page +** as its second argument. If the third parameter, discard, is non-zero, +** then the page must be evicted from the cache. +** ^If the discard parameter is +** zero, then the page may be discarded or retained at the discretion of +** page cache implementation. ^The page cache implementation +** may choose to evict unpinned pages at any time. +** +** The cache must not perform any reference counting. A single +** call to xUnpin() unpins the page regardless of the number of prior calls +** to xFetch(). +** +** [[the xRekey() page cache methods]] +** The xRekey() method is used to change the key value associated with the +** page passed as the second argument. If the cache +** previously contains an entry associated with newKey, it must be +** discarded. ^Any prior cache entry associated with newKey is guaranteed not +** to be pinned. +** +** When SQLite calls the xTruncate() method, the cache must discard all +** existing cache entries with page numbers (keys) greater than or equal +** to the value of the iLimit parameter passed to xTruncate(). If any +** of these pages are pinned, they are implicitly unpinned, meaning that +** they can be safely discarded. +** +** [[the xDestroy() page cache method]] +** ^The xDestroy() method is used to delete a cache allocated by xCreate(). +** All resources associated with the specified cache should be freed. ^After +** calling the xDestroy() method, SQLite considers the [sqlite3_pcache*] +** handle invalid, and will not use it with any other sqlite3_pcache_methods2 +** functions. +** +** [[the xShrink() page cache method]] +** ^SQLite invokes the xShrink() method when it wants the page cache to +** free up as much of heap memory as possible. The page cache implementation +** is not obligated to free any memory, but well-behaved implementations should +** do their best. +*/ +typedef struct sqlite3_pcache_methods2 sqlite3_pcache_methods2; +struct sqlite3_pcache_methods2 { + int iVersion; + void *pArg; + int (*xInit)(void*); + void (*xShutdown)(void*); + sqlite3_pcache *(*xCreate)(int szPage, int szExtra, int bPurgeable); + void (*xCachesize)(sqlite3_pcache*, int nCachesize); + int (*xPagecount)(sqlite3_pcache*); + sqlite3_pcache_page *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag); + void (*xUnpin)(sqlite3_pcache*, sqlite3_pcache_page*, int discard); + void (*xRekey)(sqlite3_pcache*, sqlite3_pcache_page*, + unsigned oldKey, unsigned newKey); + void (*xTruncate)(sqlite3_pcache*, unsigned iLimit); + void (*xDestroy)(sqlite3_pcache*); + void (*xShrink)(sqlite3_pcache*); +}; + +/* +** This is the obsolete pcache_methods object that has now been replaced +** by sqlite3_pcache_methods2. This object is not used by SQLite. It is +** retained in the header file for backwards compatibility only. +*/ +typedef struct sqlite3_pcache_methods sqlite3_pcache_methods; +struct sqlite3_pcache_methods { + void *pArg; + int (*xInit)(void*); + void (*xShutdown)(void*); + sqlite3_pcache *(*xCreate)(int szPage, int bPurgeable); + void (*xCachesize)(sqlite3_pcache*, int nCachesize); + int (*xPagecount)(sqlite3_pcache*); + void *(*xFetch)(sqlite3_pcache*, unsigned key, int createFlag); + void (*xUnpin)(sqlite3_pcache*, void*, int discard); + void (*xRekey)(sqlite3_pcache*, void*, unsigned oldKey, unsigned newKey); + void (*xTruncate)(sqlite3_pcache*, unsigned iLimit); + void (*xDestroy)(sqlite3_pcache*); +}; + + +/* +** CAPI3REF: Online Backup Object +** +** The sqlite3_backup object records state information about an ongoing +** online backup operation. ^The sqlite3_backup object is created by +** a call to [sqlite3_backup_init()] and is destroyed by a call to +** [sqlite3_backup_finish()]. +** +** See Also: [Using the SQLite Online Backup API] +*/ +typedef struct sqlite3_backup sqlite3_backup; + +/* +** CAPI3REF: Online Backup API. +** +** The backup API copies the content of one database into another. +** It is useful either for creating backups of databases or +** for copying in-memory databases to or from persistent files. +** +** See Also: [Using the SQLite Online Backup API] +** +** ^SQLite holds a write transaction open on the destination database file +** for the duration of the backup operation. +** ^The source database is read-locked only while it is being read; +** it is not locked continuously for the entire backup operation. +** ^Thus, the backup may be performed on a live source database without +** preventing other database connections from +** reading or writing to the source database while the backup is underway. +** +** ^(To perform a backup operation: +**
    +**
  1. sqlite3_backup_init() is called once to initialize the +** backup, +**
  2. sqlite3_backup_step() is called one or more times to transfer +** the data between the two databases, and finally +**
  3. sqlite3_backup_finish() is called to release all resources +** associated with the backup operation. +**
)^ +** There should be exactly one call to sqlite3_backup_finish() for each +** successful call to sqlite3_backup_init(). +** +** [[sqlite3_backup_init()]] sqlite3_backup_init() +** +** ^The D and N arguments to sqlite3_backup_init(D,N,S,M) are the +** [database connection] associated with the destination database +** and the database name, respectively. +** ^The database name is "main" for the main database, "temp" for the +** temporary database, or the name specified after the AS keyword in +** an [ATTACH] statement for an attached database. +** ^The S and M arguments passed to +** sqlite3_backup_init(D,N,S,M) identify the [database connection] +** and database name of the source database, respectively. +** ^The source and destination [database connections] (parameters S and D) +** must be different or else sqlite3_backup_init(D,N,S,M) will fail with +** an error. +** +** ^A call to sqlite3_backup_init() will fail, returning NULL, if +** there is already a read or read-write transaction open on the +** destination database. +** +** ^If an error occurs within sqlite3_backup_init(D,N,S,M), then NULL is +** returned and an error code and error message are stored in the +** destination [database connection] D. +** ^The error code and message for the failed call to sqlite3_backup_init() +** can be retrieved using the [sqlite3_errcode()], [sqlite3_errmsg()], and/or +** [sqlite3_errmsg16()] functions. +** ^A successful call to sqlite3_backup_init() returns a pointer to an +** [sqlite3_backup] object. +** ^The [sqlite3_backup] object may be used with the sqlite3_backup_step() and +** sqlite3_backup_finish() functions to perform the specified backup +** operation. +** +** [[sqlite3_backup_step()]] sqlite3_backup_step() +** +** ^Function sqlite3_backup_step(B,N) will copy up to N pages between +** the source and destination databases specified by [sqlite3_backup] object B. +** ^If N is negative, all remaining source pages are copied. +** ^If sqlite3_backup_step(B,N) successfully copies N pages and there +** are still more pages to be copied, then the function returns [SQLITE_OK]. +** ^If sqlite3_backup_step(B,N) successfully finishes copying all pages +** from source to destination, then it returns [SQLITE_DONE]. +** ^If an error occurs while running sqlite3_backup_step(B,N), +** then an [error code] is returned. ^As well as [SQLITE_OK] and +** [SQLITE_DONE], a call to sqlite3_backup_step() may return [SQLITE_READONLY], +** [SQLITE_NOMEM], [SQLITE_BUSY], [SQLITE_LOCKED], or an +** [SQLITE_IOERR_ACCESS | SQLITE_IOERR_XXX] extended error code. +** +** ^(The sqlite3_backup_step() might return [SQLITE_READONLY] if +**
    +**
  1. the destination database was opened read-only, or +**
  2. the destination database is using write-ahead-log journaling +** and the destination and source page sizes differ, or +**
  3. the destination database is an in-memory database and the +** destination and source page sizes differ. +**
)^ +** +** ^If sqlite3_backup_step() cannot obtain a required file-system lock, then +** the [sqlite3_busy_handler | busy-handler function] +** is invoked (if one is specified). ^If the +** busy-handler returns non-zero before the lock is available, then +** [SQLITE_BUSY] is returned to the caller. ^In this case the call to +** sqlite3_backup_step() can be retried later. ^If the source +** [database connection] +** is being used to write to the source database when sqlite3_backup_step() +** is called, then [SQLITE_LOCKED] is returned immediately. ^Again, in this +** case the call to sqlite3_backup_step() can be retried later on. ^(If +** [SQLITE_IOERR_ACCESS | SQLITE_IOERR_XXX], [SQLITE_NOMEM], or +** [SQLITE_READONLY] is returned, then +** there is no point in retrying the call to sqlite3_backup_step(). These +** errors are considered fatal.)^ The application must accept +** that the backup operation has failed and pass the backup operation handle +** to the sqlite3_backup_finish() to release associated resources. +** +** ^The first call to sqlite3_backup_step() obtains an exclusive lock +** on the destination file. ^The exclusive lock is not released until either +** sqlite3_backup_finish() is called or the backup operation is complete +** and sqlite3_backup_step() returns [SQLITE_DONE]. ^Every call to +** sqlite3_backup_step() obtains a [shared lock] on the source database that +** lasts for the duration of the sqlite3_backup_step() call. +** ^Because the source database is not locked between calls to +** sqlite3_backup_step(), the source database may be modified mid-way +** through the backup process. ^If the source database is modified by an +** external process or via a database connection other than the one being +** used by the backup operation, then the backup will be automatically +** restarted by the next call to sqlite3_backup_step(). ^If the source +** database is modified by the using the same database connection as is used +** by the backup operation, then the backup database is automatically +** updated at the same time. +** +** [[sqlite3_backup_finish()]] sqlite3_backup_finish() +** +** When sqlite3_backup_step() has returned [SQLITE_DONE], or when the +** application wishes to abandon the backup operation, the application +** should destroy the [sqlite3_backup] by passing it to sqlite3_backup_finish(). +** ^The sqlite3_backup_finish() interfaces releases all +** resources associated with the [sqlite3_backup] object. +** ^If sqlite3_backup_step() has not yet returned [SQLITE_DONE], then any +** active write-transaction on the destination database is rolled back. +** The [sqlite3_backup] object is invalid +** and may not be used following a call to sqlite3_backup_finish(). +** +** ^The value returned by sqlite3_backup_finish is [SQLITE_OK] if no +** sqlite3_backup_step() errors occurred, regardless or whether or not +** sqlite3_backup_step() completed. +** ^If an out-of-memory condition or IO error occurred during any prior +** sqlite3_backup_step() call on the same [sqlite3_backup] object, then +** sqlite3_backup_finish() returns the corresponding [error code]. +** +** ^A return of [SQLITE_BUSY] or [SQLITE_LOCKED] from sqlite3_backup_step() +** is not a permanent error and does not affect the return value of +** sqlite3_backup_finish(). +** +** [[sqlite3_backup_remaining()]] [[sqlite3_backup_pagecount()]] +** sqlite3_backup_remaining() and sqlite3_backup_pagecount() +** +** ^The sqlite3_backup_remaining() routine returns the number of pages still +** to be backed up at the conclusion of the most recent sqlite3_backup_step(). +** ^The sqlite3_backup_pagecount() routine returns the total number of pages +** in the source database at the conclusion of the most recent +** sqlite3_backup_step(). +** ^(The values returned by these functions are only updated by +** sqlite3_backup_step(). If the source database is modified in a way that +** changes the size of the source database or the number of pages remaining, +** those changes are not reflected in the output of sqlite3_backup_pagecount() +** and sqlite3_backup_remaining() until after the next +** sqlite3_backup_step().)^ +** +** Concurrent Usage of Database Handles +** +** ^The source [database connection] may be used by the application for other +** purposes while a backup operation is underway or being initialized. +** ^If SQLite is compiled and configured to support threadsafe database +** connections, then the source database connection may be used concurrently +** from within other threads. +** +** However, the application must guarantee that the destination +** [database connection] is not passed to any other API (by any thread) after +** sqlite3_backup_init() is called and before the corresponding call to +** sqlite3_backup_finish(). SQLite does not currently check to see +** if the application incorrectly accesses the destination [database connection] +** and so no error code is reported, but the operations may malfunction +** nevertheless. Use of the destination database connection while a +** backup is in progress might also also cause a mutex deadlock. +** +** If running in [shared cache mode], the application must +** guarantee that the shared cache used by the destination database +** is not accessed while the backup is running. In practice this means +** that the application must guarantee that the disk file being +** backed up to is not accessed by any connection within the process, +** not just the specific connection that was passed to sqlite3_backup_init(). +** +** The [sqlite3_backup] object itself is partially threadsafe. Multiple +** threads may safely make multiple concurrent calls to sqlite3_backup_step(). +** However, the sqlite3_backup_remaining() and sqlite3_backup_pagecount() +** APIs are not strictly speaking threadsafe. If they are invoked at the +** same time as another thread is invoking sqlite3_backup_step() it is +** possible that they return invalid values. +*/ +SQLITE_API sqlite3_backup *sqlite3_backup_init( + sqlite3 *pDest, /* Destination database handle */ + const char *zDestName, /* Destination database name */ + sqlite3 *pSource, /* Source database handle */ + const char *zSourceName /* Source database name */ +); +SQLITE_API int sqlite3_backup_step(sqlite3_backup *p, int nPage); +SQLITE_API int sqlite3_backup_finish(sqlite3_backup *p); +SQLITE_API int sqlite3_backup_remaining(sqlite3_backup *p); +SQLITE_API int sqlite3_backup_pagecount(sqlite3_backup *p); + +/* +** CAPI3REF: Unlock Notification +** METHOD: sqlite3 +** +** ^When running in shared-cache mode, a database operation may fail with +** an [SQLITE_LOCKED] error if the required locks on the shared-cache or +** individual tables within the shared-cache cannot be obtained. See +** [SQLite Shared-Cache Mode] for a description of shared-cache locking. +** ^This API may be used to register a callback that SQLite will invoke +** when the connection currently holding the required lock relinquishes it. +** ^This API is only available if the library was compiled with the +** [SQLITE_ENABLE_UNLOCK_NOTIFY] C-preprocessor symbol defined. +** +** See Also: [Using the SQLite Unlock Notification Feature]. +** +** ^Shared-cache locks are released when a database connection concludes +** its current transaction, either by committing it or rolling it back. +** +** ^When a connection (known as the blocked connection) fails to obtain a +** shared-cache lock and SQLITE_LOCKED is returned to the caller, the +** identity of the database connection (the blocking connection) that +** has locked the required resource is stored internally. ^After an +** application receives an SQLITE_LOCKED error, it may call the +** sqlite3_unlock_notify() method with the blocked connection handle as +** the first argument to register for a callback that will be invoked +** when the blocking connections current transaction is concluded. ^The +** callback is invoked from within the [sqlite3_step] or [sqlite3_close] +** call that concludes the blocking connections transaction. +** +** ^(If sqlite3_unlock_notify() is called in a multi-threaded application, +** there is a chance that the blocking connection will have already +** concluded its transaction by the time sqlite3_unlock_notify() is invoked. +** If this happens, then the specified callback is invoked immediately, +** from within the call to sqlite3_unlock_notify().)^ +** +** ^If the blocked connection is attempting to obtain a write-lock on a +** shared-cache table, and more than one other connection currently holds +** a read-lock on the same table, then SQLite arbitrarily selects one of +** the other connections to use as the blocking connection. +** +** ^(There may be at most one unlock-notify callback registered by a +** blocked connection. If sqlite3_unlock_notify() is called when the +** blocked connection already has a registered unlock-notify callback, +** then the new callback replaces the old.)^ ^If sqlite3_unlock_notify() is +** called with a NULL pointer as its second argument, then any existing +** unlock-notify callback is canceled. ^The blocked connections +** unlock-notify callback may also be canceled by closing the blocked +** connection using [sqlite3_close()]. +** +** The unlock-notify callback is not reentrant. If an application invokes +** any sqlite3_xxx API functions from within an unlock-notify callback, a +** crash or deadlock may be the result. +** +** ^Unless deadlock is detected (see below), sqlite3_unlock_notify() always +** returns SQLITE_OK. +** +** Callback Invocation Details +** +** When an unlock-notify callback is registered, the application provides a +** single void* pointer that is passed to the callback when it is invoked. +** However, the signature of the callback function allows SQLite to pass +** it an array of void* context pointers. The first argument passed to +** an unlock-notify callback is a pointer to an array of void* pointers, +** and the second is the number of entries in the array. +** +** When a blocking connections transaction is concluded, there may be +** more than one blocked connection that has registered for an unlock-notify +** callback. ^If two or more such blocked connections have specified the +** same callback function, then instead of invoking the callback function +** multiple times, it is invoked once with the set of void* context pointers +** specified by the blocked connections bundled together into an array. +** This gives the application an opportunity to prioritize any actions +** related to the set of unblocked database connections. +** +** Deadlock Detection +** +** Assuming that after registering for an unlock-notify callback a +** database waits for the callback to be issued before taking any further +** action (a reasonable assumption), then using this API may cause the +** application to deadlock. For example, if connection X is waiting for +** connection Y's transaction to be concluded, and similarly connection +** Y is waiting on connection X's transaction, then neither connection +** will proceed and the system may remain deadlocked indefinitely. +** +** To avoid this scenario, the sqlite3_unlock_notify() performs deadlock +** detection. ^If a given call to sqlite3_unlock_notify() would put the +** system in a deadlocked state, then SQLITE_LOCKED is returned and no +** unlock-notify callback is registered. The system is said to be in +** a deadlocked state if connection A has registered for an unlock-notify +** callback on the conclusion of connection B's transaction, and connection +** B has itself registered for an unlock-notify callback when connection +** A's transaction is concluded. ^Indirect deadlock is also detected, so +** the system is also considered to be deadlocked if connection B has +** registered for an unlock-notify callback on the conclusion of connection +** C's transaction, where connection C is waiting on connection A. ^Any +** number of levels of indirection are allowed. +** +** The "DROP TABLE" Exception +** +** When a call to [sqlite3_step()] returns SQLITE_LOCKED, it is almost +** always appropriate to call sqlite3_unlock_notify(). There is however, +** one exception. When executing a "DROP TABLE" or "DROP INDEX" statement, +** SQLite checks if there are any currently executing SELECT statements +** that belong to the same connection. If there are, SQLITE_LOCKED is +** returned. In this case there is no "blocking connection", so invoking +** sqlite3_unlock_notify() results in the unlock-notify callback being +** invoked immediately. If the application then re-attempts the "DROP TABLE" +** or "DROP INDEX" query, an infinite loop might be the result. +** +** One way around this problem is to check the extended error code returned +** by an sqlite3_step() call. ^(If there is a blocking connection, then the +** extended error code is set to SQLITE_LOCKED_SHAREDCACHE. Otherwise, in +** the special "DROP TABLE/INDEX" case, the extended error code is just +** SQLITE_LOCKED.)^ +*/ +SQLITE_API int sqlite3_unlock_notify( + sqlite3 *pBlocked, /* Waiting connection */ + void (*xNotify)(void **apArg, int nArg), /* Callback function to invoke */ + void *pNotifyArg /* Argument to pass to xNotify */ +); + + +/* +** CAPI3REF: String Comparison +** +** ^The [sqlite3_stricmp()] and [sqlite3_strnicmp()] APIs allow applications +** and extensions to compare the contents of two buffers containing UTF-8 +** strings in a case-independent fashion, using the same definition of "case +** independence" that SQLite uses internally when comparing identifiers. +*/ +SQLITE_API int sqlite3_stricmp(const char *, const char *); +SQLITE_API int sqlite3_strnicmp(const char *, const char *, int); + +/* +** CAPI3REF: String Globbing +* +** ^The [sqlite3_strglob(P,X)] interface returns zero if and only if +** string X matches the [GLOB] pattern P. +** ^The definition of [GLOB] pattern matching used in +** [sqlite3_strglob(P,X)] is the same as for the "X GLOB P" operator in the +** SQL dialect understood by SQLite. ^The [sqlite3_strglob(P,X)] function +** is case sensitive. +** +** Note that this routine returns zero on a match and non-zero if the strings +** do not match, the same as [sqlite3_stricmp()] and [sqlite3_strnicmp()]. +** +** See also: [sqlite3_strlike()]. +*/ +SQLITE_API int sqlite3_strglob(const char *zGlob, const char *zStr); + +/* +** CAPI3REF: String LIKE Matching +* +** ^The [sqlite3_strlike(P,X,E)] interface returns zero if and only if +** string X matches the [LIKE] pattern P with escape character E. +** ^The definition of [LIKE] pattern matching used in +** [sqlite3_strlike(P,X,E)] is the same as for the "X LIKE P ESCAPE E" +** operator in the SQL dialect understood by SQLite. ^For "X LIKE P" without +** the ESCAPE clause, set the E parameter of [sqlite3_strlike(P,X,E)] to 0. +** ^As with the LIKE operator, the [sqlite3_strlike(P,X,E)] function is case +** insensitive - equivalent upper and lower case ASCII characters match +** one another. +** +** ^The [sqlite3_strlike(P,X,E)] function matches Unicode characters, though +** only ASCII characters are case folded. +** +** Note that this routine returns zero on a match and non-zero if the strings +** do not match, the same as [sqlite3_stricmp()] and [sqlite3_strnicmp()]. +** +** See also: [sqlite3_strglob()]. +*/ +SQLITE_API int sqlite3_strlike(const char *zGlob, const char *zStr, unsigned int cEsc); + +/* +** CAPI3REF: Error Logging Interface +** +** ^The [sqlite3_log()] interface writes a message into the [error log] +** established by the [SQLITE_CONFIG_LOG] option to [sqlite3_config()]. +** ^If logging is enabled, the zFormat string and subsequent arguments are +** used with [sqlite3_snprintf()] to generate the final output string. +** +** The sqlite3_log() interface is intended for use by extensions such as +** virtual tables, collating functions, and SQL functions. While there is +** nothing to prevent an application from calling sqlite3_log(), doing so +** is considered bad form. +** +** The zFormat string must not be NULL. +** +** To avoid deadlocks and other threading problems, the sqlite3_log() routine +** will not use dynamically allocated memory. The log message is stored in +** a fixed-length buffer on the stack. If the log message is longer than +** a few hundred characters, it will be truncated to the length of the +** buffer. +*/ +SQLITE_API void sqlite3_log(int iErrCode, const char *zFormat, ...); + +/* +** CAPI3REF: Write-Ahead Log Commit Hook +** METHOD: sqlite3 +** +** ^The [sqlite3_wal_hook()] function is used to register a callback that +** is invoked each time data is committed to a database in wal mode. +** +** ^(The callback is invoked by SQLite after the commit has taken place and +** the associated write-lock on the database released)^, so the implementation +** may read, write or [checkpoint] the database as required. +** +** ^The first parameter passed to the callback function when it is invoked +** is a copy of the third parameter passed to sqlite3_wal_hook() when +** registering the callback. ^The second is a copy of the database handle. +** ^The third parameter is the name of the database that was written to - +** either "main" or the name of an [ATTACH]-ed database. ^The fourth parameter +** is the number of pages currently in the write-ahead log file, +** including those that were just committed. +** +** The callback function should normally return [SQLITE_OK]. ^If an error +** code is returned, that error will propagate back up through the +** SQLite code base to cause the statement that provoked the callback +** to report an error, though the commit will have still occurred. If the +** callback returns [SQLITE_ROW] or [SQLITE_DONE], or if it returns a value +** that does not correspond to any valid SQLite error code, the results +** are undefined. +** +** A single database handle may have at most a single write-ahead log callback +** registered at one time. ^Calling [sqlite3_wal_hook()] replaces any +** previously registered write-ahead log callback. ^Note that the +** [sqlite3_wal_autocheckpoint()] interface and the +** [wal_autocheckpoint pragma] both invoke [sqlite3_wal_hook()] and will +** overwrite any prior [sqlite3_wal_hook()] settings. +*/ +SQLITE_API void *sqlite3_wal_hook( + sqlite3*, + int(*)(void *,sqlite3*,const char*,int), + void* +); + +/* +** CAPI3REF: Configure an auto-checkpoint +** METHOD: sqlite3 +** +** ^The [sqlite3_wal_autocheckpoint(D,N)] is a wrapper around +** [sqlite3_wal_hook()] that causes any database on [database connection] D +** to automatically [checkpoint] +** after committing a transaction if there are N or +** more frames in the [write-ahead log] file. ^Passing zero or +** a negative value as the nFrame parameter disables automatic +** checkpoints entirely. +** +** ^The callback registered by this function replaces any existing callback +** registered using [sqlite3_wal_hook()]. ^Likewise, registering a callback +** using [sqlite3_wal_hook()] disables the automatic checkpoint mechanism +** configured by this function. +** +** ^The [wal_autocheckpoint pragma] can be used to invoke this interface +** from SQL. +** +** ^Checkpoints initiated by this mechanism are +** [sqlite3_wal_checkpoint_v2|PASSIVE]. +** +** ^Every new [database connection] defaults to having the auto-checkpoint +** enabled with a threshold of 1000 or [SQLITE_DEFAULT_WAL_AUTOCHECKPOINT] +** pages. The use of this interface +** is only necessary if the default setting is found to be suboptimal +** for a particular application. +*/ +SQLITE_API int sqlite3_wal_autocheckpoint(sqlite3 *db, int N); + +/* +** CAPI3REF: Checkpoint a database +** METHOD: sqlite3 +** +** ^(The sqlite3_wal_checkpoint(D,X) is equivalent to +** [sqlite3_wal_checkpoint_v2](D,X,[SQLITE_CHECKPOINT_PASSIVE],0,0).)^ +** +** In brief, sqlite3_wal_checkpoint(D,X) causes the content in the +** [write-ahead log] for database X on [database connection] D to be +** transferred into the database file and for the write-ahead log to +** be reset. See the [checkpointing] documentation for addition +** information. +** +** This interface used to be the only way to cause a checkpoint to +** occur. But then the newer and more powerful [sqlite3_wal_checkpoint_v2()] +** interface was added. This interface is retained for backwards +** compatibility and as a convenience for applications that need to manually +** start a callback but which do not need the full power (and corresponding +** complication) of [sqlite3_wal_checkpoint_v2()]. +*/ +SQLITE_API int sqlite3_wal_checkpoint(sqlite3 *db, const char *zDb); + +/* +** CAPI3REF: Checkpoint a database +** METHOD: sqlite3 +** +** ^(The sqlite3_wal_checkpoint_v2(D,X,M,L,C) interface runs a checkpoint +** operation on database X of [database connection] D in mode M. Status +** information is written back into integers pointed to by L and C.)^ +** ^(The M parameter must be a valid [checkpoint mode]:)^ +** +**
+**
SQLITE_CHECKPOINT_PASSIVE
+** ^Checkpoint as many frames as possible without waiting for any database +** readers or writers to finish, then sync the database file if all frames +** in the log were checkpointed. ^The [busy-handler callback] +** is never invoked in the SQLITE_CHECKPOINT_PASSIVE mode. +** ^On the other hand, passive mode might leave the checkpoint unfinished +** if there are concurrent readers or writers. +** +**
SQLITE_CHECKPOINT_FULL
+** ^This mode blocks (it invokes the +** [sqlite3_busy_handler|busy-handler callback]) until there is no +** database writer and all readers are reading from the most recent database +** snapshot. ^It then checkpoints all frames in the log file and syncs the +** database file. ^This mode blocks new database writers while it is pending, +** but new database readers are allowed to continue unimpeded. +** +**
SQLITE_CHECKPOINT_RESTART
+** ^This mode works the same way as SQLITE_CHECKPOINT_FULL with the addition +** that after checkpointing the log file it blocks (calls the +** [busy-handler callback]) +** until all readers are reading from the database file only. ^This ensures +** that the next writer will restart the log file from the beginning. +** ^Like SQLITE_CHECKPOINT_FULL, this mode blocks new +** database writer attempts while it is pending, but does not impede readers. +** +**
SQLITE_CHECKPOINT_TRUNCATE
+** ^This mode works the same way as SQLITE_CHECKPOINT_RESTART with the +** addition that it also truncates the log file to zero bytes just prior +** to a successful return. +**
+** +** ^If pnLog is not NULL, then *pnLog is set to the total number of frames in +** the log file or to -1 if the checkpoint could not run because +** of an error or because the database is not in [WAL mode]. ^If pnCkpt is not +** NULL,then *pnCkpt is set to the total number of checkpointed frames in the +** log file (including any that were already checkpointed before the function +** was called) or to -1 if the checkpoint could not run due to an error or +** because the database is not in WAL mode. ^Note that upon successful +** completion of an SQLITE_CHECKPOINT_TRUNCATE, the log file will have been +** truncated to zero bytes and so both *pnLog and *pnCkpt will be set to zero. +** +** ^All calls obtain an exclusive "checkpoint" lock on the database file. ^If +** any other process is running a checkpoint operation at the same time, the +** lock cannot be obtained and SQLITE_BUSY is returned. ^Even if there is a +** busy-handler configured, it will not be invoked in this case. +** +** ^The SQLITE_CHECKPOINT_FULL, RESTART and TRUNCATE modes also obtain the +** exclusive "writer" lock on the database file. ^If the writer lock cannot be +** obtained immediately, and a busy-handler is configured, it is invoked and +** the writer lock retried until either the busy-handler returns 0 or the lock +** is successfully obtained. ^The busy-handler is also invoked while waiting for +** database readers as described above. ^If the busy-handler returns 0 before +** the writer lock is obtained or while waiting for database readers, the +** checkpoint operation proceeds from that point in the same way as +** SQLITE_CHECKPOINT_PASSIVE - checkpointing as many frames as possible +** without blocking any further. ^SQLITE_BUSY is returned in this case. +** +** ^If parameter zDb is NULL or points to a zero length string, then the +** specified operation is attempted on all WAL databases [attached] to +** [database connection] db. In this case the +** values written to output parameters *pnLog and *pnCkpt are undefined. ^If +** an SQLITE_BUSY error is encountered when processing one or more of the +** attached WAL databases, the operation is still attempted on any remaining +** attached databases and SQLITE_BUSY is returned at the end. ^If any other +** error occurs while processing an attached database, processing is abandoned +** and the error code is returned to the caller immediately. ^If no error +** (SQLITE_BUSY or otherwise) is encountered while processing the attached +** databases, SQLITE_OK is returned. +** +** ^If database zDb is the name of an attached database that is not in WAL +** mode, SQLITE_OK is returned and both *pnLog and *pnCkpt set to -1. ^If +** zDb is not NULL (or a zero length string) and is not the name of any +** attached database, SQLITE_ERROR is returned to the caller. +** +** ^Unless it returns SQLITE_MISUSE, +** the sqlite3_wal_checkpoint_v2() interface +** sets the error information that is queried by +** [sqlite3_errcode()] and [sqlite3_errmsg()]. +** +** ^The [PRAGMA wal_checkpoint] command can be used to invoke this interface +** from SQL. +*/ +SQLITE_API int sqlite3_wal_checkpoint_v2( + sqlite3 *db, /* Database handle */ + const char *zDb, /* Name of attached database (or NULL) */ + int eMode, /* SQLITE_CHECKPOINT_* value */ + int *pnLog, /* OUT: Size of WAL log in frames */ + int *pnCkpt /* OUT: Total number of frames checkpointed */ +); + +/* +** CAPI3REF: Checkpoint Mode Values +** KEYWORDS: {checkpoint mode} +** +** These constants define all valid values for the "checkpoint mode" passed +** as the third parameter to the [sqlite3_wal_checkpoint_v2()] interface. +** See the [sqlite3_wal_checkpoint_v2()] documentation for details on the +** meaning of each of these checkpoint modes. +*/ +#define SQLITE_CHECKPOINT_PASSIVE 0 /* Do as much as possible w/o blocking */ +#define SQLITE_CHECKPOINT_FULL 1 /* Wait for writers, then checkpoint */ +#define SQLITE_CHECKPOINT_RESTART 2 /* Like FULL but wait for for readers */ +#define SQLITE_CHECKPOINT_TRUNCATE 3 /* Like RESTART but also truncate WAL */ + +/* +** CAPI3REF: Virtual Table Interface Configuration +** +** This function may be called by either the [xConnect] or [xCreate] method +** of a [virtual table] implementation to configure +** various facets of the virtual table interface. +** +** If this interface is invoked outside the context of an xConnect or +** xCreate virtual table method then the behavior is undefined. +** +** At present, there is only one option that may be configured using +** this function. (See [SQLITE_VTAB_CONSTRAINT_SUPPORT].) Further options +** may be added in the future. +*/ +SQLITE_API int sqlite3_vtab_config(sqlite3*, int op, ...); + +/* +** CAPI3REF: Virtual Table Configuration Options +** +** These macros define the various options to the +** [sqlite3_vtab_config()] interface that [virtual table] implementations +** can use to customize and optimize their behavior. +** +**
+** [[SQLITE_VTAB_CONSTRAINT_SUPPORT]] +**
SQLITE_VTAB_CONSTRAINT_SUPPORT +**
Calls of the form +** [sqlite3_vtab_config](db,SQLITE_VTAB_CONSTRAINT_SUPPORT,X) are supported, +** where X is an integer. If X is zero, then the [virtual table] whose +** [xCreate] or [xConnect] method invoked [sqlite3_vtab_config()] does not +** support constraints. In this configuration (which is the default) if +** a call to the [xUpdate] method returns [SQLITE_CONSTRAINT], then the entire +** statement is rolled back as if [ON CONFLICT | OR ABORT] had been +** specified as part of the users SQL statement, regardless of the actual +** ON CONFLICT mode specified. +** +** If X is non-zero, then the virtual table implementation guarantees +** that if [xUpdate] returns [SQLITE_CONSTRAINT], it will do so before +** any modifications to internal or persistent data structures have been made. +** If the [ON CONFLICT] mode is ABORT, FAIL, IGNORE or ROLLBACK, SQLite +** is able to roll back a statement or database transaction, and abandon +** or continue processing the current SQL statement as appropriate. +** If the ON CONFLICT mode is REPLACE and the [xUpdate] method returns +** [SQLITE_CONSTRAINT], SQLite handles this as if the ON CONFLICT mode +** had been ABORT. +** +** Virtual table implementations that are required to handle OR REPLACE +** must do so within the [xUpdate] method. If a call to the +** [sqlite3_vtab_on_conflict()] function indicates that the current ON +** CONFLICT policy is REPLACE, the virtual table implementation should +** silently replace the appropriate rows within the xUpdate callback and +** return SQLITE_OK. Or, if this is not possible, it may return +** SQLITE_CONSTRAINT, in which case SQLite falls back to OR ABORT +** constraint handling. +**
+*/ +#define SQLITE_VTAB_CONSTRAINT_SUPPORT 1 + +/* +** CAPI3REF: Determine The Virtual Table Conflict Policy +** +** This function may only be called from within a call to the [xUpdate] method +** of a [virtual table] implementation for an INSERT or UPDATE operation. ^The +** value returned is one of [SQLITE_ROLLBACK], [SQLITE_IGNORE], [SQLITE_FAIL], +** [SQLITE_ABORT], or [SQLITE_REPLACE], according to the [ON CONFLICT] mode +** of the SQL statement that triggered the call to the [xUpdate] method of the +** [virtual table]. +*/ +SQLITE_API int sqlite3_vtab_on_conflict(sqlite3 *); + +/* +** CAPI3REF: Determine If Virtual Table Column Access Is For UPDATE +** +** If the sqlite3_vtab_nochange(X) routine is called within the [xColumn] +** method of a [virtual table], then it returns true if and only if the +** column is being fetched as part of an UPDATE operation during which the +** column value will not change. Applications might use this to substitute +** a return value that is less expensive to compute and that the corresponding +** [xUpdate] method understands as a "no-change" value. +** +** If the [xColumn] method calls sqlite3_vtab_nochange() and finds that +** the column is not changed by the UPDATE statement, then the xColumn +** method can optionally return without setting a result, without calling +** any of the [sqlite3_result_int|sqlite3_result_xxxxx() interfaces]. +** In that case, [sqlite3_value_nochange(X)] will return true for the +** same column in the [xUpdate] method. +*/ +SQLITE_API int sqlite3_vtab_nochange(sqlite3_context*); + +/* +** CAPI3REF: Determine The Collation For a Virtual Table Constraint +** +** This function may only be called from within a call to the [xBestIndex] +** method of a [virtual table]. +** +** The first argument must be the sqlite3_index_info object that is the +** first parameter to the xBestIndex() method. The second argument must be +** an index into the aConstraint[] array belonging to the sqlite3_index_info +** structure passed to xBestIndex. This function returns a pointer to a buffer +** containing the name of the collation sequence for the corresponding +** constraint. +*/ +SQLITE_API SQLITE_EXPERIMENTAL const char *sqlite3_vtab_collation(sqlite3_index_info*,int); + +/* +** CAPI3REF: Conflict resolution modes +** KEYWORDS: {conflict resolution mode} +** +** These constants are returned by [sqlite3_vtab_on_conflict()] to +** inform a [virtual table] implementation what the [ON CONFLICT] mode +** is for the SQL statement being evaluated. +** +** Note that the [SQLITE_IGNORE] constant is also used as a potential +** return value from the [sqlite3_set_authorizer()] callback and that +** [SQLITE_ABORT] is also a [result code]. +*/ +#define SQLITE_ROLLBACK 1 +/* #define SQLITE_IGNORE 2 // Also used by sqlite3_authorizer() callback */ +#define SQLITE_FAIL 3 +/* #define SQLITE_ABORT 4 // Also an error code */ +#define SQLITE_REPLACE 5 + +/* +** CAPI3REF: Prepared Statement Scan Status Opcodes +** KEYWORDS: {scanstatus options} +** +** The following constants can be used for the T parameter to the +** [sqlite3_stmt_scanstatus(S,X,T,V)] interface. Each constant designates a +** different metric for sqlite3_stmt_scanstatus() to return. +** +** When the value returned to V is a string, space to hold that string is +** managed by the prepared statement S and will be automatically freed when +** S is finalized. +** +**
+** [[SQLITE_SCANSTAT_NLOOP]]
SQLITE_SCANSTAT_NLOOP
+**
^The [sqlite3_int64] variable pointed to by the T parameter will be +** set to the total number of times that the X-th loop has run.
+** +** [[SQLITE_SCANSTAT_NVISIT]]
SQLITE_SCANSTAT_NVISIT
+**
^The [sqlite3_int64] variable pointed to by the T parameter will be set +** to the total number of rows examined by all iterations of the X-th loop.
+** +** [[SQLITE_SCANSTAT_EST]]
SQLITE_SCANSTAT_EST
+**
^The "double" variable pointed to by the T parameter will be set to the +** query planner's estimate for the average number of rows output from each +** iteration of the X-th loop. If the query planner's estimates was accurate, +** then this value will approximate the quotient NVISIT/NLOOP and the +** product of this value for all prior loops with the same SELECTID will +** be the NLOOP value for the current loop. +** +** [[SQLITE_SCANSTAT_NAME]]
SQLITE_SCANSTAT_NAME
+**
^The "const char *" variable pointed to by the T parameter will be set +** to a zero-terminated UTF-8 string containing the name of the index or table +** used for the X-th loop. +** +** [[SQLITE_SCANSTAT_EXPLAIN]]
SQLITE_SCANSTAT_EXPLAIN
+**
^The "const char *" variable pointed to by the T parameter will be set +** to a zero-terminated UTF-8 string containing the [EXPLAIN QUERY PLAN] +** description for the X-th loop. +** +** [[SQLITE_SCANSTAT_SELECTID]]
SQLITE_SCANSTAT_SELECT
+**
^The "int" variable pointed to by the T parameter will be set to the +** "select-id" for the X-th loop. The select-id identifies which query or +** subquery the loop is part of. The main query has a select-id of zero. +** The select-id is the same value as is output in the first column +** of an [EXPLAIN QUERY PLAN] query. +**
+*/ +#define SQLITE_SCANSTAT_NLOOP 0 +#define SQLITE_SCANSTAT_NVISIT 1 +#define SQLITE_SCANSTAT_EST 2 +#define SQLITE_SCANSTAT_NAME 3 +#define SQLITE_SCANSTAT_EXPLAIN 4 +#define SQLITE_SCANSTAT_SELECTID 5 + +/* +** CAPI3REF: Prepared Statement Scan Status +** METHOD: sqlite3_stmt +** +** This interface returns information about the predicted and measured +** performance for pStmt. Advanced applications can use this +** interface to compare the predicted and the measured performance and +** issue warnings and/or rerun [ANALYZE] if discrepancies are found. +** +** Since this interface is expected to be rarely used, it is only +** available if SQLite is compiled using the [SQLITE_ENABLE_STMT_SCANSTATUS] +** compile-time option. +** +** The "iScanStatusOp" parameter determines which status information to return. +** The "iScanStatusOp" must be one of the [scanstatus options] or the behavior +** of this interface is undefined. +** ^The requested measurement is written into a variable pointed to by +** the "pOut" parameter. +** Parameter "idx" identifies the specific loop to retrieve statistics for. +** Loops are numbered starting from zero. ^If idx is out of range - less than +** zero or greater than or equal to the total number of loops used to implement +** the statement - a non-zero value is returned and the variable that pOut +** points to is unchanged. +** +** ^Statistics might not be available for all loops in all statements. ^In cases +** where there exist loops with no available statistics, this function behaves +** as if the loop did not exist - it returns non-zero and leave the variable +** that pOut points to unchanged. +** +** See also: [sqlite3_stmt_scanstatus_reset()] +*/ +SQLITE_API int sqlite3_stmt_scanstatus( + sqlite3_stmt *pStmt, /* Prepared statement for which info desired */ + int idx, /* Index of loop to report on */ + int iScanStatusOp, /* Information desired. SQLITE_SCANSTAT_* */ + void *pOut /* Result written here */ +); + +/* +** CAPI3REF: Zero Scan-Status Counters +** METHOD: sqlite3_stmt +** +** ^Zero all [sqlite3_stmt_scanstatus()] related event counters. +** +** This API is only available if the library is built with pre-processor +** symbol [SQLITE_ENABLE_STMT_SCANSTATUS] defined. +*/ +SQLITE_API void sqlite3_stmt_scanstatus_reset(sqlite3_stmt*); + +/* +** CAPI3REF: Flush caches to disk mid-transaction +** +** ^If a write-transaction is open on [database connection] D when the +** [sqlite3_db_cacheflush(D)] interface invoked, any dirty +** pages in the pager-cache that are not currently in use are written out +** to disk. A dirty page may be in use if a database cursor created by an +** active SQL statement is reading from it, or if it is page 1 of a database +** file (page 1 is always "in use"). ^The [sqlite3_db_cacheflush(D)] +** interface flushes caches for all schemas - "main", "temp", and +** any [attached] databases. +** +** ^If this function needs to obtain extra database locks before dirty pages +** can be flushed to disk, it does so. ^If those locks cannot be obtained +** immediately and there is a busy-handler callback configured, it is invoked +** in the usual manner. ^If the required lock still cannot be obtained, then +** the database is skipped and an attempt made to flush any dirty pages +** belonging to the next (if any) database. ^If any databases are skipped +** because locks cannot be obtained, but no other error occurs, this +** function returns SQLITE_BUSY. +** +** ^If any other error occurs while flushing dirty pages to disk (for +** example an IO error or out-of-memory condition), then processing is +** abandoned and an SQLite [error code] is returned to the caller immediately. +** +** ^Otherwise, if no error occurs, [sqlite3_db_cacheflush()] returns SQLITE_OK. +** +** ^This function does not set the database handle error code or message +** returned by the [sqlite3_errcode()] and [sqlite3_errmsg()] functions. +*/ +SQLITE_API int sqlite3_db_cacheflush(sqlite3*); + +/* +** CAPI3REF: The pre-update hook. +** +** ^These interfaces are only available if SQLite is compiled using the +** [SQLITE_ENABLE_PREUPDATE_HOOK] compile-time option. +** +** ^The [sqlite3_preupdate_hook()] interface registers a callback function +** that is invoked prior to each [INSERT], [UPDATE], and [DELETE] operation +** on a database table. +** ^At most one preupdate hook may be registered at a time on a single +** [database connection]; each call to [sqlite3_preupdate_hook()] overrides +** the previous setting. +** ^The preupdate hook is disabled by invoking [sqlite3_preupdate_hook()] +** with a NULL pointer as the second parameter. +** ^The third parameter to [sqlite3_preupdate_hook()] is passed through as +** the first parameter to callbacks. +** +** ^The preupdate hook only fires for changes to real database tables; the +** preupdate hook is not invoked for changes to [virtual tables] or to +** system tables like sqlite_master or sqlite_stat1. +** +** ^The second parameter to the preupdate callback is a pointer to +** the [database connection] that registered the preupdate hook. +** ^The third parameter to the preupdate callback is one of the constants +** [SQLITE_INSERT], [SQLITE_DELETE], or [SQLITE_UPDATE] to identify the +** kind of update operation that is about to occur. +** ^(The fourth parameter to the preupdate callback is the name of the +** database within the database connection that is being modified. This +** will be "main" for the main database or "temp" for TEMP tables or +** the name given after the AS keyword in the [ATTACH] statement for attached +** databases.)^ +** ^The fifth parameter to the preupdate callback is the name of the +** table that is being modified. +** +** For an UPDATE or DELETE operation on a [rowid table], the sixth +** parameter passed to the preupdate callback is the initial [rowid] of the +** row being modified or deleted. For an INSERT operation on a rowid table, +** or any operation on a WITHOUT ROWID table, the value of the sixth +** parameter is undefined. For an INSERT or UPDATE on a rowid table the +** seventh parameter is the final rowid value of the row being inserted +** or updated. The value of the seventh parameter passed to the callback +** function is not defined for operations on WITHOUT ROWID tables, or for +** INSERT operations on rowid tables. +** +** The [sqlite3_preupdate_old()], [sqlite3_preupdate_new()], +** [sqlite3_preupdate_count()], and [sqlite3_preupdate_depth()] interfaces +** provide additional information about a preupdate event. These routines +** may only be called from within a preupdate callback. Invoking any of +** these routines from outside of a preupdate callback or with a +** [database connection] pointer that is different from the one supplied +** to the preupdate callback results in undefined and probably undesirable +** behavior. +** +** ^The [sqlite3_preupdate_count(D)] interface returns the number of columns +** in the row that is being inserted, updated, or deleted. +** +** ^The [sqlite3_preupdate_old(D,N,P)] interface writes into P a pointer to +** a [protected sqlite3_value] that contains the value of the Nth column of +** the table row before it is updated. The N parameter must be between 0 +** and one less than the number of columns or the behavior will be +** undefined. This must only be used within SQLITE_UPDATE and SQLITE_DELETE +** preupdate callbacks; if it is used by an SQLITE_INSERT callback then the +** behavior is undefined. The [sqlite3_value] that P points to +** will be destroyed when the preupdate callback returns. +** +** ^The [sqlite3_preupdate_new(D,N,P)] interface writes into P a pointer to +** a [protected sqlite3_value] that contains the value of the Nth column of +** the table row after it is updated. The N parameter must be between 0 +** and one less than the number of columns or the behavior will be +** undefined. This must only be used within SQLITE_INSERT and SQLITE_UPDATE +** preupdate callbacks; if it is used by an SQLITE_DELETE callback then the +** behavior is undefined. The [sqlite3_value] that P points to +** will be destroyed when the preupdate callback returns. +** +** ^The [sqlite3_preupdate_depth(D)] interface returns 0 if the preupdate +** callback was invoked as a result of a direct insert, update, or delete +** operation; or 1 for inserts, updates, or deletes invoked by top-level +** triggers; or 2 for changes resulting from triggers called by top-level +** triggers; and so forth. +** +** See also: [sqlite3_update_hook()] +*/ +#if defined(SQLITE_ENABLE_PREUPDATE_HOOK) +SQLITE_API void *sqlite3_preupdate_hook( + sqlite3 *db, + void(*xPreUpdate)( + void *pCtx, /* Copy of third arg to preupdate_hook() */ + sqlite3 *db, /* Database handle */ + int op, /* SQLITE_UPDATE, DELETE or INSERT */ + char const *zDb, /* Database name */ + char const *zName, /* Table name */ + sqlite3_int64 iKey1, /* Rowid of row about to be deleted/updated */ + sqlite3_int64 iKey2 /* New rowid value (for a rowid UPDATE) */ + ), + void* +); +SQLITE_API int sqlite3_preupdate_old(sqlite3 *, int, sqlite3_value **); +SQLITE_API int sqlite3_preupdate_count(sqlite3 *); +SQLITE_API int sqlite3_preupdate_depth(sqlite3 *); +SQLITE_API int sqlite3_preupdate_new(sqlite3 *, int, sqlite3_value **); +#endif + +/* +** CAPI3REF: Low-level system error code +** +** ^Attempt to return the underlying operating system error code or error +** number that caused the most recent I/O error or failure to open a file. +** The return value is OS-dependent. For example, on unix systems, after +** [sqlite3_open_v2()] returns [SQLITE_CANTOPEN], this interface could be +** called to get back the underlying "errno" that caused the problem, such +** as ENOSPC, EAUTH, EISDIR, and so forth. +*/ +SQLITE_API int sqlite3_system_errno(sqlite3*); + +/* +** CAPI3REF: Database Snapshot +** KEYWORDS: {snapshot} {sqlite3_snapshot} +** +** An instance of the snapshot object records the state of a [WAL mode] +** database for some specific point in history. +** +** In [WAL mode], multiple [database connections] that are open on the +** same database file can each be reading a different historical version +** of the database file. When a [database connection] begins a read +** transaction, that connection sees an unchanging copy of the database +** as it existed for the point in time when the transaction first started. +** Subsequent changes to the database from other connections are not seen +** by the reader until a new read transaction is started. +** +** The sqlite3_snapshot object records state information about an historical +** version of the database file so that it is possible to later open a new read +** transaction that sees that historical version of the database rather than +** the most recent version. +*/ +typedef struct sqlite3_snapshot { + unsigned char hidden[48]; +} sqlite3_snapshot; + +/* +** CAPI3REF: Record A Database Snapshot +** CONSTRUCTOR: sqlite3_snapshot +** +** ^The [sqlite3_snapshot_get(D,S,P)] interface attempts to make a +** new [sqlite3_snapshot] object that records the current state of +** schema S in database connection D. ^On success, the +** [sqlite3_snapshot_get(D,S,P)] interface writes a pointer to the newly +** created [sqlite3_snapshot] object into *P and returns SQLITE_OK. +** If there is not already a read-transaction open on schema S when +** this function is called, one is opened automatically. +** +** The following must be true for this function to succeed. If any of +** the following statements are false when sqlite3_snapshot_get() is +** called, SQLITE_ERROR is returned. The final value of *P is undefined +** in this case. +** +**
    +**
  • The database handle must not be in [autocommit mode]. +** +**
  • Schema S of [database connection] D must be a [WAL mode] database. +** +**
  • There must not be a write transaction open on schema S of database +** connection D. +** +**
  • One or more transactions must have been written to the current wal +** file since it was created on disk (by any connection). This means +** that a snapshot cannot be taken on a wal mode database with no wal +** file immediately after it is first opened. At least one transaction +** must be written to it first. +**
+** +** This function may also return SQLITE_NOMEM. If it is called with the +** database handle in autocommit mode but fails for some other reason, +** whether or not a read transaction is opened on schema S is undefined. +** +** The [sqlite3_snapshot] object returned from a successful call to +** [sqlite3_snapshot_get()] must be freed using [sqlite3_snapshot_free()] +** to avoid a memory leak. +** +** The [sqlite3_snapshot_get()] interface is only available when the +** [SQLITE_ENABLE_SNAPSHOT] compile-time option is used. +*/ +SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_get( + sqlite3 *db, + const char *zSchema, + sqlite3_snapshot **ppSnapshot +); + +/* +** CAPI3REF: Start a read transaction on an historical snapshot +** METHOD: sqlite3_snapshot +** +** ^The [sqlite3_snapshot_open(D,S,P)] interface either starts a new read +** transaction or upgrades an existing one for schema S of +** [database connection] D such that the read transaction refers to +** historical [snapshot] P, rather than the most recent change to the +** database. ^The [sqlite3_snapshot_open()] interface returns SQLITE_OK +** on success or an appropriate [error code] if it fails. +** +** ^In order to succeed, the database connection must not be in +** [autocommit mode] when [sqlite3_snapshot_open(D,S,P)] is called. If there +** is already a read transaction open on schema S, then the database handle +** must have no active statements (SELECT statements that have been passed +** to sqlite3_step() but not sqlite3_reset() or sqlite3_finalize()). +** SQLITE_ERROR is returned if either of these conditions is violated, or +** if schema S does not exist, or if the snapshot object is invalid. +** +** ^A call to sqlite3_snapshot_open() will fail to open if the specified +** snapshot has been overwritten by a [checkpoint]. In this case +** SQLITE_ERROR_SNAPSHOT is returned. +** +** If there is already a read transaction open when this function is +** invoked, then the same read transaction remains open (on the same +** database snapshot) if SQLITE_ERROR, SQLITE_BUSY or SQLITE_ERROR_SNAPSHOT +** is returned. If another error code - for example SQLITE_PROTOCOL or an +** SQLITE_IOERR error code - is returned, then the final state of the +** read transaction is undefined. If SQLITE_OK is returned, then the +** read transaction is now open on database snapshot P. +** +** ^(A call to [sqlite3_snapshot_open(D,S,P)] will fail if the +** database connection D does not know that the database file for +** schema S is in [WAL mode]. A database connection might not know +** that the database file is in [WAL mode] if there has been no prior +** I/O on that database connection, or if the database entered [WAL mode] +** after the most recent I/O on the database connection.)^ +** (Hint: Run "[PRAGMA application_id]" against a newly opened +** database connection in order to make it ready to use snapshots.) +** +** The [sqlite3_snapshot_open()] interface is only available when the +** [SQLITE_ENABLE_SNAPSHOT] compile-time option is used. +*/ +SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_open( + sqlite3 *db, + const char *zSchema, + sqlite3_snapshot *pSnapshot +); + +/* +** CAPI3REF: Destroy a snapshot +** DESTRUCTOR: sqlite3_snapshot +** +** ^The [sqlite3_snapshot_free(P)] interface destroys [sqlite3_snapshot] P. +** The application must eventually free every [sqlite3_snapshot] object +** using this routine to avoid a memory leak. +** +** The [sqlite3_snapshot_free()] interface is only available when the +** [SQLITE_ENABLE_SNAPSHOT] compile-time option is used. +*/ +SQLITE_API SQLITE_EXPERIMENTAL void sqlite3_snapshot_free(sqlite3_snapshot*); + +/* +** CAPI3REF: Compare the ages of two snapshot handles. +** METHOD: sqlite3_snapshot +** +** The sqlite3_snapshot_cmp(P1, P2) interface is used to compare the ages +** of two valid snapshot handles. +** +** If the two snapshot handles are not associated with the same database +** file, the result of the comparison is undefined. +** +** Additionally, the result of the comparison is only valid if both of the +** snapshot handles were obtained by calling sqlite3_snapshot_get() since the +** last time the wal file was deleted. The wal file is deleted when the +** database is changed back to rollback mode or when the number of database +** clients drops to zero. If either snapshot handle was obtained before the +** wal file was last deleted, the value returned by this function +** is undefined. +** +** Otherwise, this API returns a negative value if P1 refers to an older +** snapshot than P2, zero if the two handles refer to the same database +** snapshot, and a positive value if P1 is a newer snapshot than P2. +** +** This interface is only available if SQLite is compiled with the +** [SQLITE_ENABLE_SNAPSHOT] option. +*/ +SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_cmp( + sqlite3_snapshot *p1, + sqlite3_snapshot *p2 +); + +/* +** CAPI3REF: Recover snapshots from a wal file +** METHOD: sqlite3_snapshot +** +** If a [WAL file] remains on disk after all database connections close +** (either through the use of the [SQLITE_FCNTL_PERSIST_WAL] [file control] +** or because the last process to have the database opened exited without +** calling [sqlite3_close()]) and a new connection is subsequently opened +** on that database and [WAL file], the [sqlite3_snapshot_open()] interface +** will only be able to open the last transaction added to the WAL file +** even though the WAL file contains other valid transactions. +** +** This function attempts to scan the WAL file associated with database zDb +** of database handle db and make all valid snapshots available to +** sqlite3_snapshot_open(). It is an error if there is already a read +** transaction open on the database, or if the database is not a WAL mode +** database. +** +** SQLITE_OK is returned if successful, or an SQLite error code otherwise. +** +** This interface is only available if SQLite is compiled with the +** [SQLITE_ENABLE_SNAPSHOT] option. +*/ +SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_recover(sqlite3 *db, const char *zDb); + +/* +** CAPI3REF: Serialize a database +** +** The sqlite3_serialize(D,S,P,F) interface returns a pointer to memory +** that is a serialization of the S database on [database connection] D. +** If P is not a NULL pointer, then the size of the database in bytes +** is written into *P. +** +** For an ordinary on-disk database file, the serialization is just a +** copy of the disk file. For an in-memory database or a "TEMP" database, +** the serialization is the same sequence of bytes which would be written +** to disk if that database where backed up to disk. +** +** The usual case is that sqlite3_serialize() copies the serialization of +** the database into memory obtained from [sqlite3_malloc64()] and returns +** a pointer to that memory. The caller is responsible for freeing the +** returned value to avoid a memory leak. However, if the F argument +** contains the SQLITE_SERIALIZE_NOCOPY bit, then no memory allocations +** are made, and the sqlite3_serialize() function will return a pointer +** to the contiguous memory representation of the database that SQLite +** is currently using for that database, or NULL if the no such contiguous +** memory representation of the database exists. A contiguous memory +** representation of the database will usually only exist if there has +** been a prior call to [sqlite3_deserialize(D,S,...)] with the same +** values of D and S. +** The size of the database is written into *P even if the +** SQLITE_SERIALIZE_NOCOPY bit is set but no contiguous copy +** of the database exists. +** +** A call to sqlite3_serialize(D,S,P,F) might return NULL even if the +** SQLITE_SERIALIZE_NOCOPY bit is omitted from argument F if a memory +** allocation error occurs. +** +** This interface is only available if SQLite is compiled with the +** [SQLITE_ENABLE_DESERIALIZE] option. +*/ +SQLITE_API unsigned char *sqlite3_serialize( + sqlite3 *db, /* The database connection */ + const char *zSchema, /* Which DB to serialize. ex: "main", "temp", ... */ + sqlite3_int64 *piSize, /* Write size of the DB here, if not NULL */ + unsigned int mFlags /* Zero or more SQLITE_SERIALIZE_* flags */ +); + +/* +** CAPI3REF: Flags for sqlite3_serialize +** +** Zero or more of the following constants can be OR-ed together for +** the F argument to [sqlite3_serialize(D,S,P,F)]. +** +** SQLITE_SERIALIZE_NOCOPY means that [sqlite3_serialize()] will return +** a pointer to contiguous in-memory database that it is currently using, +** without making a copy of the database. If SQLite is not currently using +** a contiguous in-memory database, then this option causes +** [sqlite3_serialize()] to return a NULL pointer. SQLite will only be +** using a contiguous in-memory database if it has been initialized by a +** prior call to [sqlite3_deserialize()]. +*/ +#define SQLITE_SERIALIZE_NOCOPY 0x001 /* Do no memory allocations */ + +/* +** CAPI3REF: Deserialize a database +** +** The sqlite3_deserialize(D,S,P,N,M,F) interface causes the +** [database connection] D to disconnect from database S and then +** reopen S as an in-memory database based on the serialization contained +** in P. The serialized database P is N bytes in size. M is the size of +** the buffer P, which might be larger than N. If M is larger than N, and +** the SQLITE_DESERIALIZE_READONLY bit is not set in F, then SQLite is +** permitted to add content to the in-memory database as long as the total +** size does not exceed M bytes. +** +** If the SQLITE_DESERIALIZE_FREEONCLOSE bit is set in F, then SQLite will +** invoke sqlite3_free() on the serialization buffer when the database +** connection closes. If the SQLITE_DESERIALIZE_RESIZEABLE bit is set, then +** SQLite will try to increase the buffer size using sqlite3_realloc64() +** if writes on the database cause it to grow larger than M bytes. +** +** The sqlite3_deserialize() interface will fail with SQLITE_BUSY if the +** database is currently in a read transaction or is involved in a backup +** operation. +** +** If sqlite3_deserialize(D,S,P,N,M,F) fails for any reason and if the +** SQLITE_DESERIALIZE_FREEONCLOSE bit is set in argument F, then +** [sqlite3_free()] is invoked on argument P prior to returning. +** +** This interface is only available if SQLite is compiled with the +** [SQLITE_ENABLE_DESERIALIZE] option. +*/ +SQLITE_API int sqlite3_deserialize( + sqlite3 *db, /* The database connection */ + const char *zSchema, /* Which DB to reopen with the deserialization */ + unsigned char *pData, /* The serialized database content */ + sqlite3_int64 szDb, /* Number bytes in the deserialization */ + sqlite3_int64 szBuf, /* Total size of buffer pData[] */ + unsigned mFlags /* Zero or more SQLITE_DESERIALIZE_* flags */ +); + +/* +** CAPI3REF: Flags for sqlite3_deserialize() +** +** The following are allowed values for 6th argument (the F argument) to +** the [sqlite3_deserialize(D,S,P,N,M,F)] interface. +** +** The SQLITE_DESERIALIZE_FREEONCLOSE means that the database serialization +** in the P argument is held in memory obtained from [sqlite3_malloc64()] +** and that SQLite should take ownership of this memory and automatically +** free it when it has finished using it. Without this flag, the caller +** is responsible for freeing any dynamically allocated memory. +** +** The SQLITE_DESERIALIZE_RESIZEABLE flag means that SQLite is allowed to +** grow the size of the database using calls to [sqlite3_realloc64()]. This +** flag should only be used if SQLITE_DESERIALIZE_FREEONCLOSE is also used. +** Without this flag, the deserialized database cannot increase in size beyond +** the number of bytes specified by the M parameter. +** +** The SQLITE_DESERIALIZE_READONLY flag means that the deserialized database +** should be treated as read-only. +*/ +#define SQLITE_DESERIALIZE_FREEONCLOSE 1 /* Call sqlite3_free() on close */ +#define SQLITE_DESERIALIZE_RESIZEABLE 2 /* Resize using sqlite3_realloc64() */ +#define SQLITE_DESERIALIZE_READONLY 4 /* Database is read-only */ + +/* +** Undo the hack that converts floating point types to integer for +** builds on processors without floating point support. +*/ +#ifdef SQLITE_OMIT_FLOATING_POINT +# undef double +#endif + +#if 0 +} /* End of the 'extern "C"' block */ +#endif +#endif /* SQLITE3_H */ + +/******** Begin file sqlite3rtree.h *********/ +/* +** 2010 August 30 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +*/ + +#ifndef _SQLITE3RTREE_H_ +#define _SQLITE3RTREE_H_ + + +#if 0 +extern "C" { +#endif + +typedef struct sqlite3_rtree_geometry sqlite3_rtree_geometry; +typedef struct sqlite3_rtree_query_info sqlite3_rtree_query_info; + +/* The double-precision datatype used by RTree depends on the +** SQLITE_RTREE_INT_ONLY compile-time option. +*/ +#ifdef SQLITE_RTREE_INT_ONLY + typedef sqlite3_int64 sqlite3_rtree_dbl; +#else + typedef double sqlite3_rtree_dbl; +#endif + +/* +** Register a geometry callback named zGeom that can be used as part of an +** R-Tree geometry query as follows: +** +** SELECT ... FROM WHERE MATCH $zGeom(... params ...) +*/ +SQLITE_API int sqlite3_rtree_geometry_callback( + sqlite3 *db, + const char *zGeom, + int (*xGeom)(sqlite3_rtree_geometry*, int, sqlite3_rtree_dbl*,int*), + void *pContext +); + + +/* +** A pointer to a structure of the following type is passed as the first +** argument to callbacks registered using rtree_geometry_callback(). +*/ +struct sqlite3_rtree_geometry { + void *pContext; /* Copy of pContext passed to s_r_g_c() */ + int nParam; /* Size of array aParam[] */ + sqlite3_rtree_dbl *aParam; /* Parameters passed to SQL geom function */ + void *pUser; /* Callback implementation user data */ + void (*xDelUser)(void *); /* Called by SQLite to clean up pUser */ +}; + +/* +** Register a 2nd-generation geometry callback named zScore that can be +** used as part of an R-Tree geometry query as follows: +** +** SELECT ... FROM WHERE MATCH $zQueryFunc(... params ...) +*/ +SQLITE_API int sqlite3_rtree_query_callback( + sqlite3 *db, + const char *zQueryFunc, + int (*xQueryFunc)(sqlite3_rtree_query_info*), + void *pContext, + void (*xDestructor)(void*) +); + + +/* +** A pointer to a structure of the following type is passed as the +** argument to scored geometry callback registered using +** sqlite3_rtree_query_callback(). +** +** Note that the first 5 fields of this structure are identical to +** sqlite3_rtree_geometry. This structure is a subclass of +** sqlite3_rtree_geometry. +*/ +struct sqlite3_rtree_query_info { + void *pContext; /* pContext from when function registered */ + int nParam; /* Number of function parameters */ + sqlite3_rtree_dbl *aParam; /* value of function parameters */ + void *pUser; /* callback can use this, if desired */ + void (*xDelUser)(void*); /* function to free pUser */ + sqlite3_rtree_dbl *aCoord; /* Coordinates of node or entry to check */ + unsigned int *anQueue; /* Number of pending entries in the queue */ + int nCoord; /* Number of coordinates */ + int iLevel; /* Level of current node or entry */ + int mxLevel; /* The largest iLevel value in the tree */ + sqlite3_int64 iRowid; /* Rowid for current entry */ + sqlite3_rtree_dbl rParentScore; /* Score of parent node */ + int eParentWithin; /* Visibility of parent node */ + int eWithin; /* OUT: Visibility */ + sqlite3_rtree_dbl rScore; /* OUT: Write the score here */ + /* The following fields are only available in 3.8.11 and later */ + sqlite3_value **apSqlParam; /* Original SQL values of parameters */ +}; + +/* +** Allowed values for sqlite3_rtree_query.eWithin and .eParentWithin. +*/ +#define NOT_WITHIN 0 /* Object completely outside of query region */ +#define PARTLY_WITHIN 1 /* Object partially overlaps query region */ +#define FULLY_WITHIN 2 /* Object fully contained within query region */ + + +#if 0 +} /* end of the 'extern "C"' block */ +#endif + +#endif /* ifndef _SQLITE3RTREE_H_ */ + +/******** End of sqlite3rtree.h *********/ +/******** Begin file sqlite3session.h *********/ + +#if !defined(__SQLITESESSION_H_) && defined(SQLITE_ENABLE_SESSION) +#define __SQLITESESSION_H_ 1 + +/* +** Make sure we can call this stuff from C++. +*/ +#if 0 +extern "C" { +#endif + + +/* +** CAPI3REF: Session Object Handle +** +** An instance of this object is a [session] that can be used to +** record changes to a database. +*/ +typedef struct sqlite3_session sqlite3_session; + +/* +** CAPI3REF: Changeset Iterator Handle +** +** An instance of this object acts as a cursor for iterating +** over the elements of a [changeset] or [patchset]. +*/ +typedef struct sqlite3_changeset_iter sqlite3_changeset_iter; + +/* +** CAPI3REF: Create A New Session Object +** CONSTRUCTOR: sqlite3_session +** +** Create a new session object attached to database handle db. If successful, +** a pointer to the new object is written to *ppSession and SQLITE_OK is +** returned. If an error occurs, *ppSession is set to NULL and an SQLite +** error code (e.g. SQLITE_NOMEM) is returned. +** +** It is possible to create multiple session objects attached to a single +** database handle. +** +** Session objects created using this function should be deleted using the +** [sqlite3session_delete()] function before the database handle that they +** are attached to is itself closed. If the database handle is closed before +** the session object is deleted, then the results of calling any session +** module function, including [sqlite3session_delete()] on the session object +** are undefined. +** +** Because the session module uses the [sqlite3_preupdate_hook()] API, it +** is not possible for an application to register a pre-update hook on a +** database handle that has one or more session objects attached. Nor is +** it possible to create a session object attached to a database handle for +** which a pre-update hook is already defined. The results of attempting +** either of these things are undefined. +** +** The session object will be used to create changesets for tables in +** database zDb, where zDb is either "main", or "temp", or the name of an +** attached database. It is not an error if database zDb is not attached +** to the database when the session object is created. +*/ +SQLITE_API int sqlite3session_create( + sqlite3 *db, /* Database handle */ + const char *zDb, /* Name of db (e.g. "main") */ + sqlite3_session **ppSession /* OUT: New session object */ +); + +/* +** CAPI3REF: Delete A Session Object +** DESTRUCTOR: sqlite3_session +** +** Delete a session object previously allocated using +** [sqlite3session_create()]. Once a session object has been deleted, the +** results of attempting to use pSession with any other session module +** function are undefined. +** +** Session objects must be deleted before the database handle to which they +** are attached is closed. Refer to the documentation for +** [sqlite3session_create()] for details. +*/ +SQLITE_API void sqlite3session_delete(sqlite3_session *pSession); + + +/* +** CAPI3REF: Enable Or Disable A Session Object +** METHOD: sqlite3_session +** +** Enable or disable the recording of changes by a session object. When +** enabled, a session object records changes made to the database. When +** disabled - it does not. A newly created session object is enabled. +** Refer to the documentation for [sqlite3session_changeset()] for further +** details regarding how enabling and disabling a session object affects +** the eventual changesets. +** +** Passing zero to this function disables the session. Passing a value +** greater than zero enables it. Passing a value less than zero is a +** no-op, and may be used to query the current state of the session. +** +** The return value indicates the final state of the session object: 0 if +** the session is disabled, or 1 if it is enabled. +*/ +SQLITE_API int sqlite3session_enable(sqlite3_session *pSession, int bEnable); + +/* +** CAPI3REF: Set Or Clear the Indirect Change Flag +** METHOD: sqlite3_session +** +** Each change recorded by a session object is marked as either direct or +** indirect. A change is marked as indirect if either: +** +**
    +**
  • The session object "indirect" flag is set when the change is +** made, or +**
  • The change is made by an SQL trigger or foreign key action +** instead of directly as a result of a users SQL statement. +**
+** +** If a single row is affected by more than one operation within a session, +** then the change is considered indirect if all operations meet the criteria +** for an indirect change above, or direct otherwise. +** +** This function is used to set, clear or query the session object indirect +** flag. If the second argument passed to this function is zero, then the +** indirect flag is cleared. If it is greater than zero, the indirect flag +** is set. Passing a value less than zero does not modify the current value +** of the indirect flag, and may be used to query the current state of the +** indirect flag for the specified session object. +** +** The return value indicates the final state of the indirect flag: 0 if +** it is clear, or 1 if it is set. +*/ +SQLITE_API int sqlite3session_indirect(sqlite3_session *pSession, int bIndirect); + +/* +** CAPI3REF: Attach A Table To A Session Object +** METHOD: sqlite3_session +** +** If argument zTab is not NULL, then it is the name of a table to attach +** to the session object passed as the first argument. All subsequent changes +** made to the table while the session object is enabled will be recorded. See +** documentation for [sqlite3session_changeset()] for further details. +** +** Or, if argument zTab is NULL, then changes are recorded for all tables +** in the database. If additional tables are added to the database (by +** executing "CREATE TABLE" statements) after this call is made, changes for +** the new tables are also recorded. +** +** Changes can only be recorded for tables that have a PRIMARY KEY explicitly +** defined as part of their CREATE TABLE statement. It does not matter if the +** PRIMARY KEY is an "INTEGER PRIMARY KEY" (rowid alias) or not. The PRIMARY +** KEY may consist of a single column, or may be a composite key. +** +** It is not an error if the named table does not exist in the database. Nor +** is it an error if the named table does not have a PRIMARY KEY. However, +** no changes will be recorded in either of these scenarios. +** +** Changes are not recorded for individual rows that have NULL values stored +** in one or more of their PRIMARY KEY columns. +** +** SQLITE_OK is returned if the call completes without error. Or, if an error +** occurs, an SQLite error code (e.g. SQLITE_NOMEM) is returned. +** +**

Special sqlite_stat1 Handling

+** +** As of SQLite version 3.22.0, the "sqlite_stat1" table is an exception to +** some of the rules above. In SQLite, the schema of sqlite_stat1 is: +**
+**        CREATE TABLE sqlite_stat1(tbl,idx,stat)  
+**  
+** +** Even though sqlite_stat1 does not have a PRIMARY KEY, changes are +** recorded for it as if the PRIMARY KEY is (tbl,idx). Additionally, changes +** are recorded for rows for which (idx IS NULL) is true. However, for such +** rows a zero-length blob (SQL value X'') is stored in the changeset or +** patchset instead of a NULL value. This allows such changesets to be +** manipulated by legacy implementations of sqlite3changeset_invert(), +** concat() and similar. +** +** The sqlite3changeset_apply() function automatically converts the +** zero-length blob back to a NULL value when updating the sqlite_stat1 +** table. However, if the application calls sqlite3changeset_new(), +** sqlite3changeset_old() or sqlite3changeset_conflict on a changeset +** iterator directly (including on a changeset iterator passed to a +** conflict-handler callback) then the X'' value is returned. The application +** must translate X'' to NULL itself if required. +** +** Legacy (older than 3.22.0) versions of the sessions module cannot capture +** changes made to the sqlite_stat1 table. Legacy versions of the +** sqlite3changeset_apply() function silently ignore any modifications to the +** sqlite_stat1 table that are part of a changeset or patchset. +*/ +SQLITE_API int sqlite3session_attach( + sqlite3_session *pSession, /* Session object */ + const char *zTab /* Table name */ +); + +/* +** CAPI3REF: Set a table filter on a Session Object. +** METHOD: sqlite3_session +** +** The second argument (xFilter) is the "filter callback". For changes to rows +** in tables that are not attached to the Session object, the filter is called +** to determine whether changes to the table's rows should be tracked or not. +** If xFilter returns 0, changes is not tracked. Note that once a table is +** attached, xFilter will not be called again. +*/ +SQLITE_API void sqlite3session_table_filter( + sqlite3_session *pSession, /* Session object */ + int(*xFilter)( + void *pCtx, /* Copy of third arg to _filter_table() */ + const char *zTab /* Table name */ + ), + void *pCtx /* First argument passed to xFilter */ +); + +/* +** CAPI3REF: Generate A Changeset From A Session Object +** METHOD: sqlite3_session +** +** Obtain a changeset containing changes to the tables attached to the +** session object passed as the first argument. If successful, +** set *ppChangeset to point to a buffer containing the changeset +** and *pnChangeset to the size of the changeset in bytes before returning +** SQLITE_OK. If an error occurs, set both *ppChangeset and *pnChangeset to +** zero and return an SQLite error code. +** +** A changeset consists of zero or more INSERT, UPDATE and/or DELETE changes, +** each representing a change to a single row of an attached table. An INSERT +** change contains the values of each field of a new database row. A DELETE +** contains the original values of each field of a deleted database row. An +** UPDATE change contains the original values of each field of an updated +** database row along with the updated values for each updated non-primary-key +** column. It is not possible for an UPDATE change to represent a change that +** modifies the values of primary key columns. If such a change is made, it +** is represented in a changeset as a DELETE followed by an INSERT. +** +** Changes are not recorded for rows that have NULL values stored in one or +** more of their PRIMARY KEY columns. If such a row is inserted or deleted, +** no corresponding change is present in the changesets returned by this +** function. If an existing row with one or more NULL values stored in +** PRIMARY KEY columns is updated so that all PRIMARY KEY columns are non-NULL, +** only an INSERT is appears in the changeset. Similarly, if an existing row +** with non-NULL PRIMARY KEY values is updated so that one or more of its +** PRIMARY KEY columns are set to NULL, the resulting changeset contains a +** DELETE change only. +** +** The contents of a changeset may be traversed using an iterator created +** using the [sqlite3changeset_start()] API. A changeset may be applied to +** a database with a compatible schema using the [sqlite3changeset_apply()] +** API. +** +** Within a changeset generated by this function, all changes related to a +** single table are grouped together. In other words, when iterating through +** a changeset or when applying a changeset to a database, all changes related +** to a single table are processed before moving on to the next table. Tables +** are sorted in the same order in which they were attached (or auto-attached) +** to the sqlite3_session object. The order in which the changes related to +** a single table are stored is undefined. +** +** Following a successful call to this function, it is the responsibility of +** the caller to eventually free the buffer that *ppChangeset points to using +** [sqlite3_free()]. +** +**

Changeset Generation

+** +** Once a table has been attached to a session object, the session object +** records the primary key values of all new rows inserted into the table. +** It also records the original primary key and other column values of any +** deleted or updated rows. For each unique primary key value, data is only +** recorded once - the first time a row with said primary key is inserted, +** updated or deleted in the lifetime of the session. +** +** There is one exception to the previous paragraph: when a row is inserted, +** updated or deleted, if one or more of its primary key columns contain a +** NULL value, no record of the change is made. +** +** The session object therefore accumulates two types of records - those +** that consist of primary key values only (created when the user inserts +** a new record) and those that consist of the primary key values and the +** original values of other table columns (created when the users deletes +** or updates a record). +** +** When this function is called, the requested changeset is created using +** both the accumulated records and the current contents of the database +** file. Specifically: +** +**
    +**
  • For each record generated by an insert, the database is queried +** for a row with a matching primary key. If one is found, an INSERT +** change is added to the changeset. If no such row is found, no change +** is added to the changeset. +** +**
  • For each record generated by an update or delete, the database is +** queried for a row with a matching primary key. If such a row is +** found and one or more of the non-primary key fields have been +** modified from their original values, an UPDATE change is added to +** the changeset. Or, if no such row is found in the table, a DELETE +** change is added to the changeset. If there is a row with a matching +** primary key in the database, but all fields contain their original +** values, no change is added to the changeset. +**
+** +** This means, amongst other things, that if a row is inserted and then later +** deleted while a session object is active, neither the insert nor the delete +** will be present in the changeset. Or if a row is deleted and then later a +** row with the same primary key values inserted while a session object is +** active, the resulting changeset will contain an UPDATE change instead of +** a DELETE and an INSERT. +** +** When a session object is disabled (see the [sqlite3session_enable()] API), +** it does not accumulate records when rows are inserted, updated or deleted. +** This may appear to have some counter-intuitive effects if a single row +** is written to more than once during a session. For example, if a row +** is inserted while a session object is enabled, then later deleted while +** the same session object is disabled, no INSERT record will appear in the +** changeset, even though the delete took place while the session was disabled. +** Or, if one field of a row is updated while a session is disabled, and +** another field of the same row is updated while the session is enabled, the +** resulting changeset will contain an UPDATE change that updates both fields. +*/ +SQLITE_API int sqlite3session_changeset( + sqlite3_session *pSession, /* Session object */ + int *pnChangeset, /* OUT: Size of buffer at *ppChangeset */ + void **ppChangeset /* OUT: Buffer containing changeset */ +); + +/* +** CAPI3REF: Load The Difference Between Tables Into A Session +** METHOD: sqlite3_session +** +** If it is not already attached to the session object passed as the first +** argument, this function attaches table zTbl in the same manner as the +** [sqlite3session_attach()] function. If zTbl does not exist, or if it +** does not have a primary key, this function is a no-op (but does not return +** an error). +** +** Argument zFromDb must be the name of a database ("main", "temp" etc.) +** attached to the same database handle as the session object that contains +** a table compatible with the table attached to the session by this function. +** A table is considered compatible if it: +** +**
    +**
  • Has the same name, +**
  • Has the same set of columns declared in the same order, and +**
  • Has the same PRIMARY KEY definition. +**
+** +** If the tables are not compatible, SQLITE_SCHEMA is returned. If the tables +** are compatible but do not have any PRIMARY KEY columns, it is not an error +** but no changes are added to the session object. As with other session +** APIs, tables without PRIMARY KEYs are simply ignored. +** +** This function adds a set of changes to the session object that could be +** used to update the table in database zFrom (call this the "from-table") +** so that its content is the same as the table attached to the session +** object (call this the "to-table"). Specifically: +** +**
    +**
  • For each row (primary key) that exists in the to-table but not in +** the from-table, an INSERT record is added to the session object. +** +**
  • For each row (primary key) that exists in the to-table but not in +** the from-table, a DELETE record is added to the session object. +** +**
  • For each row (primary key) that exists in both tables, but features +** different non-PK values in each, an UPDATE record is added to the +** session. +**
+** +** To clarify, if this function is called and then a changeset constructed +** using [sqlite3session_changeset()], then after applying that changeset to +** database zFrom the contents of the two compatible tables would be +** identical. +** +** It an error if database zFrom does not exist or does not contain the +** required compatible table. +** +** If the operation successful, SQLITE_OK is returned. Otherwise, an SQLite +** error code. In this case, if argument pzErrMsg is not NULL, *pzErrMsg +** may be set to point to a buffer containing an English language error +** message. It is the responsibility of the caller to free this buffer using +** sqlite3_free(). +*/ +SQLITE_API int sqlite3session_diff( + sqlite3_session *pSession, + const char *zFromDb, + const char *zTbl, + char **pzErrMsg +); + + +/* +** CAPI3REF: Generate A Patchset From A Session Object +** METHOD: sqlite3_session +** +** The differences between a patchset and a changeset are that: +** +**
    +**
  • DELETE records consist of the primary key fields only. The +** original values of other fields are omitted. +**
  • The original values of any modified fields are omitted from +** UPDATE records. +**
+** +** A patchset blob may be used with up to date versions of all +** sqlite3changeset_xxx API functions except for sqlite3changeset_invert(), +** which returns SQLITE_CORRUPT if it is passed a patchset. Similarly, +** attempting to use a patchset blob with old versions of the +** sqlite3changeset_xxx APIs also provokes an SQLITE_CORRUPT error. +** +** Because the non-primary key "old.*" fields are omitted, no +** SQLITE_CHANGESET_DATA conflicts can be detected or reported if a patchset +** is passed to the sqlite3changeset_apply() API. Other conflict types work +** in the same way as for changesets. +** +** Changes within a patchset are ordered in the same way as for changesets +** generated by the sqlite3session_changeset() function (i.e. all changes for +** a single table are grouped together, tables appear in the order in which +** they were attached to the session object). +*/ +SQLITE_API int sqlite3session_patchset( + sqlite3_session *pSession, /* Session object */ + int *pnPatchset, /* OUT: Size of buffer at *ppPatchset */ + void **ppPatchset /* OUT: Buffer containing patchset */ +); + +/* +** CAPI3REF: Test if a changeset has recorded any changes. +** +** Return non-zero if no changes to attached tables have been recorded by +** the session object passed as the first argument. Otherwise, if one or +** more changes have been recorded, return zero. +** +** Even if this function returns zero, it is possible that calling +** [sqlite3session_changeset()] on the session handle may still return a +** changeset that contains no changes. This can happen when a row in +** an attached table is modified and then later on the original values +** are restored. However, if this function returns non-zero, then it is +** guaranteed that a call to sqlite3session_changeset() will return a +** changeset containing zero changes. +*/ +SQLITE_API int sqlite3session_isempty(sqlite3_session *pSession); + +/* +** CAPI3REF: Create An Iterator To Traverse A Changeset +** CONSTRUCTOR: sqlite3_changeset_iter +** +** Create an iterator used to iterate through the contents of a changeset. +** If successful, *pp is set to point to the iterator handle and SQLITE_OK +** is returned. Otherwise, if an error occurs, *pp is set to zero and an +** SQLite error code is returned. +** +** The following functions can be used to advance and query a changeset +** iterator created by this function: +** +**
    +**
  • [sqlite3changeset_next()] +**
  • [sqlite3changeset_op()] +**
  • [sqlite3changeset_new()] +**
  • [sqlite3changeset_old()] +**
+** +** It is the responsibility of the caller to eventually destroy the iterator +** by passing it to [sqlite3changeset_finalize()]. The buffer containing the +** changeset (pChangeset) must remain valid until after the iterator is +** destroyed. +** +** Assuming the changeset blob was created by one of the +** [sqlite3session_changeset()], [sqlite3changeset_concat()] or +** [sqlite3changeset_invert()] functions, all changes within the changeset +** that apply to a single table are grouped together. This means that when +** an application iterates through a changeset using an iterator created by +** this function, all changes that relate to a single table are visited +** consecutively. There is no chance that the iterator will visit a change +** the applies to table X, then one for table Y, and then later on visit +** another change for table X. +** +** The behavior of sqlite3changeset_start_v2() and its streaming equivalent +** may be modified by passing a combination of +** [SQLITE_CHANGESETSTART_INVERT | supported flags] as the 4th parameter. +** +** Note that the sqlite3changeset_start_v2() API is still experimental +** and therefore subject to change. +*/ +SQLITE_API int sqlite3changeset_start( + sqlite3_changeset_iter **pp, /* OUT: New changeset iterator handle */ + int nChangeset, /* Size of changeset blob in bytes */ + void *pChangeset /* Pointer to blob containing changeset */ +); +SQLITE_API int sqlite3changeset_start_v2( + sqlite3_changeset_iter **pp, /* OUT: New changeset iterator handle */ + int nChangeset, /* Size of changeset blob in bytes */ + void *pChangeset, /* Pointer to blob containing changeset */ + int flags /* SESSION_CHANGESETSTART_* flags */ +); + +/* +** CAPI3REF: Flags for sqlite3changeset_start_v2 +** +** The following flags may passed via the 4th parameter to +** [sqlite3changeset_start_v2] and [sqlite3changeset_start_v2_strm]: +** +**
SQLITE_CHANGESETAPPLY_INVERT
+** Invert the changeset while iterating through it. This is equivalent to +** inverting a changeset using sqlite3changeset_invert() before applying it. +** It is an error to specify this flag with a patchset. +*/ +#define SQLITE_CHANGESETSTART_INVERT 0x0002 + + +/* +** CAPI3REF: Advance A Changeset Iterator +** METHOD: sqlite3_changeset_iter +** +** This function may only be used with iterators created by function +** [sqlite3changeset_start()]. If it is called on an iterator passed to +** a conflict-handler callback by [sqlite3changeset_apply()], SQLITE_MISUSE +** is returned and the call has no effect. +** +** Immediately after an iterator is created by sqlite3changeset_start(), it +** does not point to any change in the changeset. Assuming the changeset +** is not empty, the first call to this function advances the iterator to +** point to the first change in the changeset. Each subsequent call advances +** the iterator to point to the next change in the changeset (if any). If +** no error occurs and the iterator points to a valid change after a call +** to sqlite3changeset_next() has advanced it, SQLITE_ROW is returned. +** Otherwise, if all changes in the changeset have already been visited, +** SQLITE_DONE is returned. +** +** If an error occurs, an SQLite error code is returned. Possible error +** codes include SQLITE_CORRUPT (if the changeset buffer is corrupt) or +** SQLITE_NOMEM. +*/ +SQLITE_API int sqlite3changeset_next(sqlite3_changeset_iter *pIter); + +/* +** CAPI3REF: Obtain The Current Operation From A Changeset Iterator +** METHOD: sqlite3_changeset_iter +** +** The pIter argument passed to this function may either be an iterator +** passed to a conflict-handler by [sqlite3changeset_apply()], or an iterator +** created by [sqlite3changeset_start()]. In the latter case, the most recent +** call to [sqlite3changeset_next()] must have returned [SQLITE_ROW]. If this +** is not the case, this function returns [SQLITE_MISUSE]. +** +** If argument pzTab is not NULL, then *pzTab is set to point to a +** nul-terminated utf-8 encoded string containing the name of the table +** affected by the current change. The buffer remains valid until either +** sqlite3changeset_next() is called on the iterator or until the +** conflict-handler function returns. If pnCol is not NULL, then *pnCol is +** set to the number of columns in the table affected by the change. If +** pbIndirect is not NULL, then *pbIndirect is set to true (1) if the change +** is an indirect change, or false (0) otherwise. See the documentation for +** [sqlite3session_indirect()] for a description of direct and indirect +** changes. Finally, if pOp is not NULL, then *pOp is set to one of +** [SQLITE_INSERT], [SQLITE_DELETE] or [SQLITE_UPDATE], depending on the +** type of change that the iterator currently points to. +** +** If no error occurs, SQLITE_OK is returned. If an error does occur, an +** SQLite error code is returned. The values of the output variables may not +** be trusted in this case. +*/ +SQLITE_API int sqlite3changeset_op( + sqlite3_changeset_iter *pIter, /* Iterator object */ + const char **pzTab, /* OUT: Pointer to table name */ + int *pnCol, /* OUT: Number of columns in table */ + int *pOp, /* OUT: SQLITE_INSERT, DELETE or UPDATE */ + int *pbIndirect /* OUT: True for an 'indirect' change */ +); + +/* +** CAPI3REF: Obtain The Primary Key Definition Of A Table +** METHOD: sqlite3_changeset_iter +** +** For each modified table, a changeset includes the following: +** +**
    +**
  • The number of columns in the table, and +**
  • Which of those columns make up the tables PRIMARY KEY. +**
+** +** This function is used to find which columns comprise the PRIMARY KEY of +** the table modified by the change that iterator pIter currently points to. +** If successful, *pabPK is set to point to an array of nCol entries, where +** nCol is the number of columns in the table. Elements of *pabPK are set to +** 0x01 if the corresponding column is part of the tables primary key, or +** 0x00 if it is not. +** +** If argument pnCol is not NULL, then *pnCol is set to the number of columns +** in the table. +** +** If this function is called when the iterator does not point to a valid +** entry, SQLITE_MISUSE is returned and the output variables zeroed. Otherwise, +** SQLITE_OK is returned and the output variables populated as described +** above. +*/ +SQLITE_API int sqlite3changeset_pk( + sqlite3_changeset_iter *pIter, /* Iterator object */ + unsigned char **pabPK, /* OUT: Array of boolean - true for PK cols */ + int *pnCol /* OUT: Number of entries in output array */ +); + +/* +** CAPI3REF: Obtain old.* Values From A Changeset Iterator +** METHOD: sqlite3_changeset_iter +** +** The pIter argument passed to this function may either be an iterator +** passed to a conflict-handler by [sqlite3changeset_apply()], or an iterator +** created by [sqlite3changeset_start()]. In the latter case, the most recent +** call to [sqlite3changeset_next()] must have returned SQLITE_ROW. +** Furthermore, it may only be called if the type of change that the iterator +** currently points to is either [SQLITE_DELETE] or [SQLITE_UPDATE]. Otherwise, +** this function returns [SQLITE_MISUSE] and sets *ppValue to NULL. +** +** Argument iVal must be greater than or equal to 0, and less than the number +** of columns in the table affected by the current change. Otherwise, +** [SQLITE_RANGE] is returned and *ppValue is set to NULL. +** +** If successful, this function sets *ppValue to point to a protected +** sqlite3_value object containing the iVal'th value from the vector of +** original row values stored as part of the UPDATE or DELETE change and +** returns SQLITE_OK. The name of the function comes from the fact that this +** is similar to the "old.*" columns available to update or delete triggers. +** +** If some other error occurs (e.g. an OOM condition), an SQLite error code +** is returned and *ppValue is set to NULL. +*/ +SQLITE_API int sqlite3changeset_old( + sqlite3_changeset_iter *pIter, /* Changeset iterator */ + int iVal, /* Column number */ + sqlite3_value **ppValue /* OUT: Old value (or NULL pointer) */ +); + +/* +** CAPI3REF: Obtain new.* Values From A Changeset Iterator +** METHOD: sqlite3_changeset_iter +** +** The pIter argument passed to this function may either be an iterator +** passed to a conflict-handler by [sqlite3changeset_apply()], or an iterator +** created by [sqlite3changeset_start()]. In the latter case, the most recent +** call to [sqlite3changeset_next()] must have returned SQLITE_ROW. +** Furthermore, it may only be called if the type of change that the iterator +** currently points to is either [SQLITE_UPDATE] or [SQLITE_INSERT]. Otherwise, +** this function returns [SQLITE_MISUSE] and sets *ppValue to NULL. +** +** Argument iVal must be greater than or equal to 0, and less than the number +** of columns in the table affected by the current change. Otherwise, +** [SQLITE_RANGE] is returned and *ppValue is set to NULL. +** +** If successful, this function sets *ppValue to point to a protected +** sqlite3_value object containing the iVal'th value from the vector of +** new row values stored as part of the UPDATE or INSERT change and +** returns SQLITE_OK. If the change is an UPDATE and does not include +** a new value for the requested column, *ppValue is set to NULL and +** SQLITE_OK returned. The name of the function comes from the fact that +** this is similar to the "new.*" columns available to update or delete +** triggers. +** +** If some other error occurs (e.g. an OOM condition), an SQLite error code +** is returned and *ppValue is set to NULL. +*/ +SQLITE_API int sqlite3changeset_new( + sqlite3_changeset_iter *pIter, /* Changeset iterator */ + int iVal, /* Column number */ + sqlite3_value **ppValue /* OUT: New value (or NULL pointer) */ +); + +/* +** CAPI3REF: Obtain Conflicting Row Values From A Changeset Iterator +** METHOD: sqlite3_changeset_iter +** +** This function should only be used with iterator objects passed to a +** conflict-handler callback by [sqlite3changeset_apply()] with either +** [SQLITE_CHANGESET_DATA] or [SQLITE_CHANGESET_CONFLICT]. If this function +** is called on any other iterator, [SQLITE_MISUSE] is returned and *ppValue +** is set to NULL. +** +** Argument iVal must be greater than or equal to 0, and less than the number +** of columns in the table affected by the current change. Otherwise, +** [SQLITE_RANGE] is returned and *ppValue is set to NULL. +** +** If successful, this function sets *ppValue to point to a protected +** sqlite3_value object containing the iVal'th value from the +** "conflicting row" associated with the current conflict-handler callback +** and returns SQLITE_OK. +** +** If some other error occurs (e.g. an OOM condition), an SQLite error code +** is returned and *ppValue is set to NULL. +*/ +SQLITE_API int sqlite3changeset_conflict( + sqlite3_changeset_iter *pIter, /* Changeset iterator */ + int iVal, /* Column number */ + sqlite3_value **ppValue /* OUT: Value from conflicting row */ +); + +/* +** CAPI3REF: Determine The Number Of Foreign Key Constraint Violations +** METHOD: sqlite3_changeset_iter +** +** This function may only be called with an iterator passed to an +** SQLITE_CHANGESET_FOREIGN_KEY conflict handler callback. In this case +** it sets the output variable to the total number of known foreign key +** violations in the destination database and returns SQLITE_OK. +** +** In all other cases this function returns SQLITE_MISUSE. +*/ +SQLITE_API int sqlite3changeset_fk_conflicts( + sqlite3_changeset_iter *pIter, /* Changeset iterator */ + int *pnOut /* OUT: Number of FK violations */ +); + + +/* +** CAPI3REF: Finalize A Changeset Iterator +** METHOD: sqlite3_changeset_iter +** +** This function is used to finalize an iterator allocated with +** [sqlite3changeset_start()]. +** +** This function should only be called on iterators created using the +** [sqlite3changeset_start()] function. If an application calls this +** function with an iterator passed to a conflict-handler by +** [sqlite3changeset_apply()], [SQLITE_MISUSE] is immediately returned and the +** call has no effect. +** +** If an error was encountered within a call to an sqlite3changeset_xxx() +** function (for example an [SQLITE_CORRUPT] in [sqlite3changeset_next()] or an +** [SQLITE_NOMEM] in [sqlite3changeset_new()]) then an error code corresponding +** to that error is returned by this function. Otherwise, SQLITE_OK is +** returned. This is to allow the following pattern (pseudo-code): +** +**
+**   sqlite3changeset_start();
+**   while( SQLITE_ROW==sqlite3changeset_next() ){
+**     // Do something with change.
+**   }
+**   rc = sqlite3changeset_finalize();
+**   if( rc!=SQLITE_OK ){
+**     // An error has occurred 
+**   }
+** 
+*/ +SQLITE_API int sqlite3changeset_finalize(sqlite3_changeset_iter *pIter); + +/* +** CAPI3REF: Invert A Changeset +** +** This function is used to "invert" a changeset object. Applying an inverted +** changeset to a database reverses the effects of applying the uninverted +** changeset. Specifically: +** +**
    +**
  • Each DELETE change is changed to an INSERT, and +**
  • Each INSERT change is changed to a DELETE, and +**
  • For each UPDATE change, the old.* and new.* values are exchanged. +**
+** +** This function does not change the order in which changes appear within +** the changeset. It merely reverses the sense of each individual change. +** +** If successful, a pointer to a buffer containing the inverted changeset +** is stored in *ppOut, the size of the same buffer is stored in *pnOut, and +** SQLITE_OK is returned. If an error occurs, both *pnOut and *ppOut are +** zeroed and an SQLite error code returned. +** +** It is the responsibility of the caller to eventually call sqlite3_free() +** on the *ppOut pointer to free the buffer allocation following a successful +** call to this function. +** +** WARNING/TODO: This function currently assumes that the input is a valid +** changeset. If it is not, the results are undefined. +*/ +SQLITE_API int sqlite3changeset_invert( + int nIn, const void *pIn, /* Input changeset */ + int *pnOut, void **ppOut /* OUT: Inverse of input */ +); + +/* +** CAPI3REF: Concatenate Two Changeset Objects +** +** This function is used to concatenate two changesets, A and B, into a +** single changeset. The result is a changeset equivalent to applying +** changeset A followed by changeset B. +** +** This function combines the two input changesets using an +** sqlite3_changegroup object. Calling it produces similar results as the +** following code fragment: +** +**
+**   sqlite3_changegroup *pGrp;
+**   rc = sqlite3_changegroup_new(&pGrp);
+**   if( rc==SQLITE_OK ) rc = sqlite3changegroup_add(pGrp, nA, pA);
+**   if( rc==SQLITE_OK ) rc = sqlite3changegroup_add(pGrp, nB, pB);
+**   if( rc==SQLITE_OK ){
+**     rc = sqlite3changegroup_output(pGrp, pnOut, ppOut);
+**   }else{
+**     *ppOut = 0;
+**     *pnOut = 0;
+**   }
+** 
+** +** Refer to the sqlite3_changegroup documentation below for details. +*/ +SQLITE_API int sqlite3changeset_concat( + int nA, /* Number of bytes in buffer pA */ + void *pA, /* Pointer to buffer containing changeset A */ + int nB, /* Number of bytes in buffer pB */ + void *pB, /* Pointer to buffer containing changeset B */ + int *pnOut, /* OUT: Number of bytes in output changeset */ + void **ppOut /* OUT: Buffer containing output changeset */ +); + + +/* +** CAPI3REF: Changegroup Handle +** +** A changegroup is an object used to combine two or more +** [changesets] or [patchsets] +*/ +typedef struct sqlite3_changegroup sqlite3_changegroup; + +/* +** CAPI3REF: Create A New Changegroup Object +** CONSTRUCTOR: sqlite3_changegroup +** +** An sqlite3_changegroup object is used to combine two or more changesets +** (or patchsets) into a single changeset (or patchset). A single changegroup +** object may combine changesets or patchsets, but not both. The output is +** always in the same format as the input. +** +** If successful, this function returns SQLITE_OK and populates (*pp) with +** a pointer to a new sqlite3_changegroup object before returning. The caller +** should eventually free the returned object using a call to +** sqlite3changegroup_delete(). If an error occurs, an SQLite error code +** (i.e. SQLITE_NOMEM) is returned and *pp is set to NULL. +** +** The usual usage pattern for an sqlite3_changegroup object is as follows: +** +**
    +**
  • It is created using a call to sqlite3changegroup_new(). +** +**
  • Zero or more changesets (or patchsets) are added to the object +** by calling sqlite3changegroup_add(). +** +**
  • The result of combining all input changesets together is obtained +** by the application via a call to sqlite3changegroup_output(). +** +**
  • The object is deleted using a call to sqlite3changegroup_delete(). +**
+** +** Any number of calls to add() and output() may be made between the calls to +** new() and delete(), and in any order. +** +** As well as the regular sqlite3changegroup_add() and +** sqlite3changegroup_output() functions, also available are the streaming +** versions sqlite3changegroup_add_strm() and sqlite3changegroup_output_strm(). +*/ +SQLITE_API int sqlite3changegroup_new(sqlite3_changegroup **pp); + +/* +** CAPI3REF: Add A Changeset To A Changegroup +** METHOD: sqlite3_changegroup +** +** Add all changes within the changeset (or patchset) in buffer pData (size +** nData bytes) to the changegroup. +** +** If the buffer contains a patchset, then all prior calls to this function +** on the same changegroup object must also have specified patchsets. Or, if +** the buffer contains a changeset, so must have the earlier calls to this +** function. Otherwise, SQLITE_ERROR is returned and no changes are added +** to the changegroup. +** +** Rows within the changeset and changegroup are identified by the values in +** their PRIMARY KEY columns. A change in the changeset is considered to +** apply to the same row as a change already present in the changegroup if +** the two rows have the same primary key. +** +** Changes to rows that do not already appear in the changegroup are +** simply copied into it. Or, if both the new changeset and the changegroup +** contain changes that apply to a single row, the final contents of the +** changegroup depends on the type of each change, as follows: +** +** +** +** +**
Existing Change New Change Output Change +**
INSERT INSERT +** The new change is ignored. This case does not occur if the new +** changeset was recorded immediately after the changesets already +** added to the changegroup. +**
INSERT UPDATE +** The INSERT change remains in the changegroup. The values in the +** INSERT change are modified as if the row was inserted by the +** existing change and then updated according to the new change. +**
INSERT DELETE +** The existing INSERT is removed from the changegroup. The DELETE is +** not added. +**
UPDATE INSERT +** The new change is ignored. This case does not occur if the new +** changeset was recorded immediately after the changesets already +** added to the changegroup. +**
UPDATE UPDATE +** The existing UPDATE remains within the changegroup. It is amended +** so that the accompanying values are as if the row was updated once +** by the existing change and then again by the new change. +**
UPDATE DELETE +** The existing UPDATE is replaced by the new DELETE within the +** changegroup. +**
DELETE INSERT +** If one or more of the column values in the row inserted by the +** new change differ from those in the row deleted by the existing +** change, the existing DELETE is replaced by an UPDATE within the +** changegroup. Otherwise, if the inserted row is exactly the same +** as the deleted row, the existing DELETE is simply discarded. +**
DELETE UPDATE +** The new change is ignored. This case does not occur if the new +** changeset was recorded immediately after the changesets already +** added to the changegroup. +**
DELETE DELETE +** The new change is ignored. This case does not occur if the new +** changeset was recorded immediately after the changesets already +** added to the changegroup. +**
+** +** If the new changeset contains changes to a table that is already present +** in the changegroup, then the number of columns and the position of the +** primary key columns for the table must be consistent. If this is not the +** case, this function fails with SQLITE_SCHEMA. If the input changeset +** appears to be corrupt and the corruption is detected, SQLITE_CORRUPT is +** returned. Or, if an out-of-memory condition occurs during processing, this +** function returns SQLITE_NOMEM. In all cases, if an error occurs the +** final contents of the changegroup is undefined. +** +** If no error occurs, SQLITE_OK is returned. +*/ +SQLITE_API int sqlite3changegroup_add(sqlite3_changegroup*, int nData, void *pData); + +/* +** CAPI3REF: Obtain A Composite Changeset From A Changegroup +** METHOD: sqlite3_changegroup +** +** Obtain a buffer containing a changeset (or patchset) representing the +** current contents of the changegroup. If the inputs to the changegroup +** were themselves changesets, the output is a changeset. Or, if the +** inputs were patchsets, the output is also a patchset. +** +** As with the output of the sqlite3session_changeset() and +** sqlite3session_patchset() functions, all changes related to a single +** table are grouped together in the output of this function. Tables appear +** in the same order as for the very first changeset added to the changegroup. +** If the second or subsequent changesets added to the changegroup contain +** changes for tables that do not appear in the first changeset, they are +** appended onto the end of the output changeset, again in the order in +** which they are first encountered. +** +** If an error occurs, an SQLite error code is returned and the output +** variables (*pnData) and (*ppData) are set to 0. Otherwise, SQLITE_OK +** is returned and the output variables are set to the size of and a +** pointer to the output buffer, respectively. In this case it is the +** responsibility of the caller to eventually free the buffer using a +** call to sqlite3_free(). +*/ +SQLITE_API int sqlite3changegroup_output( + sqlite3_changegroup*, + int *pnData, /* OUT: Size of output buffer in bytes */ + void **ppData /* OUT: Pointer to output buffer */ +); + +/* +** CAPI3REF: Delete A Changegroup Object +** DESTRUCTOR: sqlite3_changegroup +*/ +SQLITE_API void sqlite3changegroup_delete(sqlite3_changegroup*); + +/* +** CAPI3REF: Apply A Changeset To A Database +** +** Apply a changeset or patchset to a database. These functions attempt to +** update the "main" database attached to handle db with the changes found in +** the changeset passed via the second and third arguments. +** +** The fourth argument (xFilter) passed to these functions is the "filter +** callback". If it is not NULL, then for each table affected by at least one +** change in the changeset, the filter callback is invoked with +** the table name as the second argument, and a copy of the context pointer +** passed as the sixth argument as the first. If the "filter callback" +** returns zero, then no attempt is made to apply any changes to the table. +** Otherwise, if the return value is non-zero or the xFilter argument to +** is NULL, all changes related to the table are attempted. +** +** For each table that is not excluded by the filter callback, this function +** tests that the target database contains a compatible table. A table is +** considered compatible if all of the following are true: +** +**
    +**
  • The table has the same name as the name recorded in the +** changeset, and +**
  • The table has at least as many columns as recorded in the +** changeset, and +**
  • The table has primary key columns in the same position as +** recorded in the changeset. +**
+** +** If there is no compatible table, it is not an error, but none of the +** changes associated with the table are applied. A warning message is issued +** via the sqlite3_log() mechanism with the error code SQLITE_SCHEMA. At most +** one such warning is issued for each table in the changeset. +** +** For each change for which there is a compatible table, an attempt is made +** to modify the table contents according to the UPDATE, INSERT or DELETE +** change. If a change cannot be applied cleanly, the conflict handler +** function passed as the fifth argument to sqlite3changeset_apply() may be +** invoked. A description of exactly when the conflict handler is invoked for +** each type of change is below. +** +** Unlike the xFilter argument, xConflict may not be passed NULL. The results +** of passing anything other than a valid function pointer as the xConflict +** argument are undefined. +** +** Each time the conflict handler function is invoked, it must return one +** of [SQLITE_CHANGESET_OMIT], [SQLITE_CHANGESET_ABORT] or +** [SQLITE_CHANGESET_REPLACE]. SQLITE_CHANGESET_REPLACE may only be returned +** if the second argument passed to the conflict handler is either +** SQLITE_CHANGESET_DATA or SQLITE_CHANGESET_CONFLICT. If the conflict-handler +** returns an illegal value, any changes already made are rolled back and +** the call to sqlite3changeset_apply() returns SQLITE_MISUSE. Different +** actions are taken by sqlite3changeset_apply() depending on the value +** returned by each invocation of the conflict-handler function. Refer to +** the documentation for the three +** [SQLITE_CHANGESET_OMIT|available return values] for details. +** +**
+**
DELETE Changes
+** For each DELETE change, the function checks if the target database +** contains a row with the same primary key value (or values) as the +** original row values stored in the changeset. If it does, and the values +** stored in all non-primary key columns also match the values stored in +** the changeset the row is deleted from the target database. +** +** If a row with matching primary key values is found, but one or more of +** the non-primary key fields contains a value different from the original +** row value stored in the changeset, the conflict-handler function is +** invoked with [SQLITE_CHANGESET_DATA] as the second argument. If the +** database table has more columns than are recorded in the changeset, +** only the values of those non-primary key fields are compared against +** the current database contents - any trailing database table columns +** are ignored. +** +** If no row with matching primary key values is found in the database, +** the conflict-handler function is invoked with [SQLITE_CHANGESET_NOTFOUND] +** passed as the second argument. +** +** If the DELETE operation is attempted, but SQLite returns SQLITE_CONSTRAINT +** (which can only happen if a foreign key constraint is violated), the +** conflict-handler function is invoked with [SQLITE_CHANGESET_CONSTRAINT] +** passed as the second argument. This includes the case where the DELETE +** operation is attempted because an earlier call to the conflict handler +** function returned [SQLITE_CHANGESET_REPLACE]. +** +**
INSERT Changes
+** For each INSERT change, an attempt is made to insert the new row into +** the database. If the changeset row contains fewer fields than the +** database table, the trailing fields are populated with their default +** values. +** +** If the attempt to insert the row fails because the database already +** contains a row with the same primary key values, the conflict handler +** function is invoked with the second argument set to +** [SQLITE_CHANGESET_CONFLICT]. +** +** If the attempt to insert the row fails because of some other constraint +** violation (e.g. NOT NULL or UNIQUE), the conflict handler function is +** invoked with the second argument set to [SQLITE_CHANGESET_CONSTRAINT]. +** This includes the case where the INSERT operation is re-attempted because +** an earlier call to the conflict handler function returned +** [SQLITE_CHANGESET_REPLACE]. +** +**
UPDATE Changes
+** For each UPDATE change, the function checks if the target database +** contains a row with the same primary key value (or values) as the +** original row values stored in the changeset. If it does, and the values +** stored in all modified non-primary key columns also match the values +** stored in the changeset the row is updated within the target database. +** +** If a row with matching primary key values is found, but one or more of +** the modified non-primary key fields contains a value different from an +** original row value stored in the changeset, the conflict-handler function +** is invoked with [SQLITE_CHANGESET_DATA] as the second argument. Since +** UPDATE changes only contain values for non-primary key fields that are +** to be modified, only those fields need to match the original values to +** avoid the SQLITE_CHANGESET_DATA conflict-handler callback. +** +** If no row with matching primary key values is found in the database, +** the conflict-handler function is invoked with [SQLITE_CHANGESET_NOTFOUND] +** passed as the second argument. +** +** If the UPDATE operation is attempted, but SQLite returns +** SQLITE_CONSTRAINT, the conflict-handler function is invoked with +** [SQLITE_CHANGESET_CONSTRAINT] passed as the second argument. +** This includes the case where the UPDATE operation is attempted after +** an earlier call to the conflict handler function returned +** [SQLITE_CHANGESET_REPLACE]. +**
+** +** It is safe to execute SQL statements, including those that write to the +** table that the callback related to, from within the xConflict callback. +** This can be used to further customize the applications conflict +** resolution strategy. +** +** All changes made by these functions are enclosed in a savepoint transaction. +** If any other error (aside from a constraint failure when attempting to +** write to the target database) occurs, then the savepoint transaction is +** rolled back, restoring the target database to its original state, and an +** SQLite error code returned. +** +** If the output parameters (ppRebase) and (pnRebase) are non-NULL and +** the input is a changeset (not a patchset), then sqlite3changeset_apply_v2() +** may set (*ppRebase) to point to a "rebase" that may be used with the +** sqlite3_rebaser APIs buffer before returning. In this case (*pnRebase) +** is set to the size of the buffer in bytes. It is the responsibility of the +** caller to eventually free any such buffer using sqlite3_free(). The buffer +** is only allocated and populated if one or more conflicts were encountered +** while applying the patchset. See comments surrounding the sqlite3_rebaser +** APIs for further details. +** +** The behavior of sqlite3changeset_apply_v2() and its streaming equivalent +** may be modified by passing a combination of +** [SQLITE_CHANGESETAPPLY_NOSAVEPOINT | supported flags] as the 9th parameter. +** +** Note that the sqlite3changeset_apply_v2() API is still experimental +** and therefore subject to change. +*/ +SQLITE_API int sqlite3changeset_apply( + sqlite3 *db, /* Apply change to "main" db of this handle */ + int nChangeset, /* Size of changeset in bytes */ + void *pChangeset, /* Changeset blob */ + int(*xFilter)( + void *pCtx, /* Copy of sixth arg to _apply() */ + const char *zTab /* Table name */ + ), + int(*xConflict)( + void *pCtx, /* Copy of sixth arg to _apply() */ + int eConflict, /* DATA, MISSING, CONFLICT, CONSTRAINT */ + sqlite3_changeset_iter *p /* Handle describing change and conflict */ + ), + void *pCtx /* First argument passed to xConflict */ +); +SQLITE_API int sqlite3changeset_apply_v2( + sqlite3 *db, /* Apply change to "main" db of this handle */ + int nChangeset, /* Size of changeset in bytes */ + void *pChangeset, /* Changeset blob */ + int(*xFilter)( + void *pCtx, /* Copy of sixth arg to _apply() */ + const char *zTab /* Table name */ + ), + int(*xConflict)( + void *pCtx, /* Copy of sixth arg to _apply() */ + int eConflict, /* DATA, MISSING, CONFLICT, CONSTRAINT */ + sqlite3_changeset_iter *p /* Handle describing change and conflict */ + ), + void *pCtx, /* First argument passed to xConflict */ + void **ppRebase, int *pnRebase, /* OUT: Rebase data */ + int flags /* SESSION_CHANGESETAPPLY_* flags */ +); + +/* +** CAPI3REF: Flags for sqlite3changeset_apply_v2 +** +** The following flags may passed via the 9th parameter to +** [sqlite3changeset_apply_v2] and [sqlite3changeset_apply_v2_strm]: +** +**
+**
SQLITE_CHANGESETAPPLY_NOSAVEPOINT
+** Usually, the sessions module encloses all operations performed by +** a single call to apply_v2() or apply_v2_strm() in a [SAVEPOINT]. The +** SAVEPOINT is committed if the changeset or patchset is successfully +** applied, or rolled back if an error occurs. Specifying this flag +** causes the sessions module to omit this savepoint. In this case, if the +** caller has an open transaction or savepoint when apply_v2() is called, +** it may revert the partially applied changeset by rolling it back. +** +**
SQLITE_CHANGESETAPPLY_INVERT
+** Invert the changeset before applying it. This is equivalent to inverting +** a changeset using sqlite3changeset_invert() before applying it. It is +** an error to specify this flag with a patchset. +*/ +#define SQLITE_CHANGESETAPPLY_NOSAVEPOINT 0x0001 +#define SQLITE_CHANGESETAPPLY_INVERT 0x0002 + +/* +** CAPI3REF: Constants Passed To The Conflict Handler +** +** Values that may be passed as the second argument to a conflict-handler. +** +**
+**
SQLITE_CHANGESET_DATA
+** The conflict handler is invoked with CHANGESET_DATA as the second argument +** when processing a DELETE or UPDATE change if a row with the required +** PRIMARY KEY fields is present in the database, but one or more other +** (non primary-key) fields modified by the update do not contain the +** expected "before" values. +** +** The conflicting row, in this case, is the database row with the matching +** primary key. +** +**
SQLITE_CHANGESET_NOTFOUND
+** The conflict handler is invoked with CHANGESET_NOTFOUND as the second +** argument when processing a DELETE or UPDATE change if a row with the +** required PRIMARY KEY fields is not present in the database. +** +** There is no conflicting row in this case. The results of invoking the +** sqlite3changeset_conflict() API are undefined. +** +**
SQLITE_CHANGESET_CONFLICT
+** CHANGESET_CONFLICT is passed as the second argument to the conflict +** handler while processing an INSERT change if the operation would result +** in duplicate primary key values. +** +** The conflicting row in this case is the database row with the matching +** primary key. +** +**
SQLITE_CHANGESET_FOREIGN_KEY
+** If foreign key handling is enabled, and applying a changeset leaves the +** database in a state containing foreign key violations, the conflict +** handler is invoked with CHANGESET_FOREIGN_KEY as the second argument +** exactly once before the changeset is committed. If the conflict handler +** returns CHANGESET_OMIT, the changes, including those that caused the +** foreign key constraint violation, are committed. Or, if it returns +** CHANGESET_ABORT, the changeset is rolled back. +** +** No current or conflicting row information is provided. The only function +** it is possible to call on the supplied sqlite3_changeset_iter handle +** is sqlite3changeset_fk_conflicts(). +** +**
SQLITE_CHANGESET_CONSTRAINT
+** If any other constraint violation occurs while applying a change (i.e. +** a UNIQUE, CHECK or NOT NULL constraint), the conflict handler is +** invoked with CHANGESET_CONSTRAINT as the second argument. +** +** There is no conflicting row in this case. The results of invoking the +** sqlite3changeset_conflict() API are undefined. +** +**
+*/ +#define SQLITE_CHANGESET_DATA 1 +#define SQLITE_CHANGESET_NOTFOUND 2 +#define SQLITE_CHANGESET_CONFLICT 3 +#define SQLITE_CHANGESET_CONSTRAINT 4 +#define SQLITE_CHANGESET_FOREIGN_KEY 5 + +/* +** CAPI3REF: Constants Returned By The Conflict Handler +** +** A conflict handler callback must return one of the following three values. +** +**
+**
SQLITE_CHANGESET_OMIT
+** If a conflict handler returns this value no special action is taken. The +** change that caused the conflict is not applied. The session module +** continues to the next change in the changeset. +** +**
SQLITE_CHANGESET_REPLACE
+** This value may only be returned if the second argument to the conflict +** handler was SQLITE_CHANGESET_DATA or SQLITE_CHANGESET_CONFLICT. If this +** is not the case, any changes applied so far are rolled back and the +** call to sqlite3changeset_apply() returns SQLITE_MISUSE. +** +** If CHANGESET_REPLACE is returned by an SQLITE_CHANGESET_DATA conflict +** handler, then the conflicting row is either updated or deleted, depending +** on the type of change. +** +** If CHANGESET_REPLACE is returned by an SQLITE_CHANGESET_CONFLICT conflict +** handler, then the conflicting row is removed from the database and a +** second attempt to apply the change is made. If this second attempt fails, +** the original row is restored to the database before continuing. +** +**
SQLITE_CHANGESET_ABORT
+** If this value is returned, any changes applied so far are rolled back +** and the call to sqlite3changeset_apply() returns SQLITE_ABORT. +**
+*/ +#define SQLITE_CHANGESET_OMIT 0 +#define SQLITE_CHANGESET_REPLACE 1 +#define SQLITE_CHANGESET_ABORT 2 + +/* +** CAPI3REF: Rebasing changesets +** EXPERIMENTAL +** +** Suppose there is a site hosting a database in state S0. And that +** modifications are made that move that database to state S1 and a +** changeset recorded (the "local" changeset). Then, a changeset based +** on S0 is received from another site (the "remote" changeset) and +** applied to the database. The database is then in state +** (S1+"remote"), where the exact state depends on any conflict +** resolution decisions (OMIT or REPLACE) made while applying "remote". +** Rebasing a changeset is to update it to take those conflict +** resolution decisions into account, so that the same conflicts +** do not have to be resolved elsewhere in the network. +** +** For example, if both the local and remote changesets contain an +** INSERT of the same key on "CREATE TABLE t1(a PRIMARY KEY, b)": +** +** local: INSERT INTO t1 VALUES(1, 'v1'); +** remote: INSERT INTO t1 VALUES(1, 'v2'); +** +** and the conflict resolution is REPLACE, then the INSERT change is +** removed from the local changeset (it was overridden). Or, if the +** conflict resolution was "OMIT", then the local changeset is modified +** to instead contain: +** +** UPDATE t1 SET b = 'v2' WHERE a=1; +** +** Changes within the local changeset are rebased as follows: +** +**
+**
Local INSERT
+** This may only conflict with a remote INSERT. If the conflict +** resolution was OMIT, then add an UPDATE change to the rebased +** changeset. Or, if the conflict resolution was REPLACE, add +** nothing to the rebased changeset. +** +**
Local DELETE
+** This may conflict with a remote UPDATE or DELETE. In both cases the +** only possible resolution is OMIT. If the remote operation was a +** DELETE, then add no change to the rebased changeset. If the remote +** operation was an UPDATE, then the old.* fields of change are updated +** to reflect the new.* values in the UPDATE. +** +**
Local UPDATE
+** This may conflict with a remote UPDATE or DELETE. If it conflicts +** with a DELETE, and the conflict resolution was OMIT, then the update +** is changed into an INSERT. Any undefined values in the new.* record +** from the update change are filled in using the old.* values from +** the conflicting DELETE. Or, if the conflict resolution was REPLACE, +** the UPDATE change is simply omitted from the rebased changeset. +** +** If conflict is with a remote UPDATE and the resolution is OMIT, then +** the old.* values are rebased using the new.* values in the remote +** change. Or, if the resolution is REPLACE, then the change is copied +** into the rebased changeset with updates to columns also updated by +** the conflicting remote UPDATE removed. If this means no columns would +** be updated, the change is omitted. +**
+** +** A local change may be rebased against multiple remote changes +** simultaneously. If a single key is modified by multiple remote +** changesets, they are combined as follows before the local changeset +** is rebased: +** +**
    +**
  • If there has been one or more REPLACE resolutions on a +** key, it is rebased according to a REPLACE. +** +**
  • If there have been no REPLACE resolutions on a key, then +** the local changeset is rebased according to the most recent +** of the OMIT resolutions. +**
+** +** Note that conflict resolutions from multiple remote changesets are +** combined on a per-field basis, not per-row. This means that in the +** case of multiple remote UPDATE operations, some fields of a single +** local change may be rebased for REPLACE while others are rebased for +** OMIT. +** +** In order to rebase a local changeset, the remote changeset must first +** be applied to the local database using sqlite3changeset_apply_v2() and +** the buffer of rebase information captured. Then: +** +**
    +**
  1. An sqlite3_rebaser object is created by calling +** sqlite3rebaser_create(). +**
  2. The new object is configured with the rebase buffer obtained from +** sqlite3changeset_apply_v2() by calling sqlite3rebaser_configure(). +** If the local changeset is to be rebased against multiple remote +** changesets, then sqlite3rebaser_configure() should be called +** multiple times, in the same order that the multiple +** sqlite3changeset_apply_v2() calls were made. +**
  3. Each local changeset is rebased by calling sqlite3rebaser_rebase(). +**
  4. The sqlite3_rebaser object is deleted by calling +** sqlite3rebaser_delete(). +**
+*/ +typedef struct sqlite3_rebaser sqlite3_rebaser; + +/* +** CAPI3REF: Create a changeset rebaser object. +** EXPERIMENTAL +** +** Allocate a new changeset rebaser object. If successful, set (*ppNew) to +** point to the new object and return SQLITE_OK. Otherwise, if an error +** occurs, return an SQLite error code (e.g. SQLITE_NOMEM) and set (*ppNew) +** to NULL. +*/ +SQLITE_API int sqlite3rebaser_create(sqlite3_rebaser **ppNew); + +/* +** CAPI3REF: Configure a changeset rebaser object. +** EXPERIMENTAL +** +** Configure the changeset rebaser object to rebase changesets according +** to the conflict resolutions described by buffer pRebase (size nRebase +** bytes), which must have been obtained from a previous call to +** sqlite3changeset_apply_v2(). +*/ +SQLITE_API int sqlite3rebaser_configure( + sqlite3_rebaser*, + int nRebase, const void *pRebase +); + +/* +** CAPI3REF: Rebase a changeset +** EXPERIMENTAL +** +** Argument pIn must point to a buffer containing a changeset nIn bytes +** in size. This function allocates and populates a buffer with a copy +** of the changeset rebased rebased according to the configuration of the +** rebaser object passed as the first argument. If successful, (*ppOut) +** is set to point to the new buffer containing the rebased changeset and +** (*pnOut) to its size in bytes and SQLITE_OK returned. It is the +** responsibility of the caller to eventually free the new buffer using +** sqlite3_free(). Otherwise, if an error occurs, (*ppOut) and (*pnOut) +** are set to zero and an SQLite error code returned. +*/ +SQLITE_API int sqlite3rebaser_rebase( + sqlite3_rebaser*, + int nIn, const void *pIn, + int *pnOut, void **ppOut +); + +/* +** CAPI3REF: Delete a changeset rebaser object. +** EXPERIMENTAL +** +** Delete the changeset rebaser object and all associated resources. There +** should be one call to this function for each successful invocation +** of sqlite3rebaser_create(). +*/ +SQLITE_API void sqlite3rebaser_delete(sqlite3_rebaser *p); + +/* +** CAPI3REF: Streaming Versions of API functions. +** +** The six streaming API xxx_strm() functions serve similar purposes to the +** corresponding non-streaming API functions: +** +** +** +**
Streaming functionNon-streaming equivalent
sqlite3changeset_apply_strm[sqlite3changeset_apply] +**
sqlite3changeset_apply_strm_v2[sqlite3changeset_apply_v2] +**
sqlite3changeset_concat_strm[sqlite3changeset_concat] +**
sqlite3changeset_invert_strm[sqlite3changeset_invert] +**
sqlite3changeset_start_strm[sqlite3changeset_start] +**
sqlite3session_changeset_strm[sqlite3session_changeset] +**
sqlite3session_patchset_strm[sqlite3session_patchset] +**
+** +** Non-streaming functions that accept changesets (or patchsets) as input +** require that the entire changeset be stored in a single buffer in memory. +** Similarly, those that return a changeset or patchset do so by returning +** a pointer to a single large buffer allocated using sqlite3_malloc(). +** Normally this is convenient. However, if an application running in a +** low-memory environment is required to handle very large changesets, the +** large contiguous memory allocations required can become onerous. +** +** In order to avoid this problem, instead of a single large buffer, input +** is passed to a streaming API functions by way of a callback function that +** the sessions module invokes to incrementally request input data as it is +** required. In all cases, a pair of API function parameters such as +** +**
+**        int nChangeset,
+**        void *pChangeset,
+**  
+** +** Is replaced by: +** +**
+**        int (*xInput)(void *pIn, void *pData, int *pnData),
+**        void *pIn,
+**  
+** +** Each time the xInput callback is invoked by the sessions module, the first +** argument passed is a copy of the supplied pIn context pointer. The second +** argument, pData, points to a buffer (*pnData) bytes in size. Assuming no +** error occurs the xInput method should copy up to (*pnData) bytes of data +** into the buffer and set (*pnData) to the actual number of bytes copied +** before returning SQLITE_OK. If the input is completely exhausted, (*pnData) +** should be set to zero to indicate this. Or, if an error occurs, an SQLite +** error code should be returned. In all cases, if an xInput callback returns +** an error, all processing is abandoned and the streaming API function +** returns a copy of the error code to the caller. +** +** In the case of sqlite3changeset_start_strm(), the xInput callback may be +** invoked by the sessions module at any point during the lifetime of the +** iterator. If such an xInput callback returns an error, the iterator enters +** an error state, whereby all subsequent calls to iterator functions +** immediately fail with the same error code as returned by xInput. +** +** Similarly, streaming API functions that return changesets (or patchsets) +** return them in chunks by way of a callback function instead of via a +** pointer to a single large buffer. In this case, a pair of parameters such +** as: +** +**
+**        int *pnChangeset,
+**        void **ppChangeset,
+**  
+** +** Is replaced by: +** +**
+**        int (*xOutput)(void *pOut, const void *pData, int nData),
+**        void *pOut
+**  
+** +** The xOutput callback is invoked zero or more times to return data to +** the application. The first parameter passed to each call is a copy of the +** pOut pointer supplied by the application. The second parameter, pData, +** points to a buffer nData bytes in size containing the chunk of output +** data being returned. If the xOutput callback successfully processes the +** supplied data, it should return SQLITE_OK to indicate success. Otherwise, +** it should return some other SQLite error code. In this case processing +** is immediately abandoned and the streaming API function returns a copy +** of the xOutput error code to the application. +** +** The sessions module never invokes an xOutput callback with the third +** parameter set to a value less than or equal to zero. Other than this, +** no guarantees are made as to the size of the chunks of data returned. +*/ +SQLITE_API int sqlite3changeset_apply_strm( + sqlite3 *db, /* Apply change to "main" db of this handle */ + int (*xInput)(void *pIn, void *pData, int *pnData), /* Input function */ + void *pIn, /* First arg for xInput */ + int(*xFilter)( + void *pCtx, /* Copy of sixth arg to _apply() */ + const char *zTab /* Table name */ + ), + int(*xConflict)( + void *pCtx, /* Copy of sixth arg to _apply() */ + int eConflict, /* DATA, MISSING, CONFLICT, CONSTRAINT */ + sqlite3_changeset_iter *p /* Handle describing change and conflict */ + ), + void *pCtx /* First argument passed to xConflict */ +); +SQLITE_API int sqlite3changeset_apply_v2_strm( + sqlite3 *db, /* Apply change to "main" db of this handle */ + int (*xInput)(void *pIn, void *pData, int *pnData), /* Input function */ + void *pIn, /* First arg for xInput */ + int(*xFilter)( + void *pCtx, /* Copy of sixth arg to _apply() */ + const char *zTab /* Table name */ + ), + int(*xConflict)( + void *pCtx, /* Copy of sixth arg to _apply() */ + int eConflict, /* DATA, MISSING, CONFLICT, CONSTRAINT */ + sqlite3_changeset_iter *p /* Handle describing change and conflict */ + ), + void *pCtx, /* First argument passed to xConflict */ + void **ppRebase, int *pnRebase, + int flags +); +SQLITE_API int sqlite3changeset_concat_strm( + int (*xInputA)(void *pIn, void *pData, int *pnData), + void *pInA, + int (*xInputB)(void *pIn, void *pData, int *pnData), + void *pInB, + int (*xOutput)(void *pOut, const void *pData, int nData), + void *pOut +); +SQLITE_API int sqlite3changeset_invert_strm( + int (*xInput)(void *pIn, void *pData, int *pnData), + void *pIn, + int (*xOutput)(void *pOut, const void *pData, int nData), + void *pOut +); +SQLITE_API int sqlite3changeset_start_strm( + sqlite3_changeset_iter **pp, + int (*xInput)(void *pIn, void *pData, int *pnData), + void *pIn +); +SQLITE_API int sqlite3changeset_start_v2_strm( + sqlite3_changeset_iter **pp, + int (*xInput)(void *pIn, void *pData, int *pnData), + void *pIn, + int flags +); +SQLITE_API int sqlite3session_changeset_strm( + sqlite3_session *pSession, + int (*xOutput)(void *pOut, const void *pData, int nData), + void *pOut +); +SQLITE_API int sqlite3session_patchset_strm( + sqlite3_session *pSession, + int (*xOutput)(void *pOut, const void *pData, int nData), + void *pOut +); +SQLITE_API int sqlite3changegroup_add_strm(sqlite3_changegroup*, + int (*xInput)(void *pIn, void *pData, int *pnData), + void *pIn +); +SQLITE_API int sqlite3changegroup_output_strm(sqlite3_changegroup*, + int (*xOutput)(void *pOut, const void *pData, int nData), + void *pOut +); +SQLITE_API int sqlite3rebaser_rebase_strm( + sqlite3_rebaser *pRebaser, + int (*xInput)(void *pIn, void *pData, int *pnData), + void *pIn, + int (*xOutput)(void *pOut, const void *pData, int nData), + void *pOut +); + +/* +** CAPI3REF: Configure global parameters +** +** The sqlite3session_config() interface is used to make global configuration +** changes to the sessions module in order to tune it to the specific needs +** of the application. +** +** The sqlite3session_config() interface is not threadsafe. If it is invoked +** while any other thread is inside any other sessions method then the +** results are undefined. Furthermore, if it is invoked after any sessions +** related objects have been created, the results are also undefined. +** +** The first argument to the sqlite3session_config() function must be one +** of the SQLITE_SESSION_CONFIG_XXX constants defined below. The +** interpretation of the (void*) value passed as the second parameter and +** the effect of calling this function depends on the value of the first +** parameter. +** +**
+**
SQLITE_SESSION_CONFIG_STRMSIZE
+** By default, the sessions module streaming interfaces attempt to input +** and output data in approximately 1 KiB chunks. This operand may be used +** to set and query the value of this configuration setting. The pointer +** passed as the second argument must point to a value of type (int). +** If this value is greater than 0, it is used as the new streaming data +** chunk size for both input and output. Before returning, the (int) value +** pointed to by pArg is set to the final value of the streaming interface +** chunk size. +**
+** +** This function returns SQLITE_OK if successful, or an SQLite error code +** otherwise. +*/ +SQLITE_API int sqlite3session_config(int op, void *pArg); + +/* +** CAPI3REF: Values for sqlite3session_config(). +*/ +#define SQLITE_SESSION_CONFIG_STRMSIZE 1 + +/* +** Make sure we can call this stuff from C++. +*/ +#if 0 +} +#endif + +#endif /* !defined(__SQLITESESSION_H_) && defined(SQLITE_ENABLE_SESSION) */ + +/******** End of sqlite3session.h *********/ +/******** Begin file fts5.h *********/ +/* +** 2014 May 31 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** Interfaces to extend FTS5. Using the interfaces defined in this file, +** FTS5 may be extended with: +** +** * custom tokenizers, and +** * custom auxiliary functions. +*/ + + +#ifndef _FTS5_H +#define _FTS5_H + + +#if 0 +extern "C" { +#endif + +/************************************************************************* +** CUSTOM AUXILIARY FUNCTIONS +** +** Virtual table implementations may overload SQL functions by implementing +** the sqlite3_module.xFindFunction() method. +*/ + +typedef struct Fts5ExtensionApi Fts5ExtensionApi; +typedef struct Fts5Context Fts5Context; +typedef struct Fts5PhraseIter Fts5PhraseIter; + +typedef void (*fts5_extension_function)( + const Fts5ExtensionApi *pApi, /* API offered by current FTS version */ + Fts5Context *pFts, /* First arg to pass to pApi functions */ + sqlite3_context *pCtx, /* Context for returning result/error */ + int nVal, /* Number of values in apVal[] array */ + sqlite3_value **apVal /* Array of trailing arguments */ +); + +struct Fts5PhraseIter { + const unsigned char *a; + const unsigned char *b; +}; + +/* +** EXTENSION API FUNCTIONS +** +** xUserData(pFts): +** Return a copy of the context pointer the extension function was +** registered with. +** +** xColumnTotalSize(pFts, iCol, pnToken): +** If parameter iCol is less than zero, set output variable *pnToken +** to the total number of tokens in the FTS5 table. Or, if iCol is +** non-negative but less than the number of columns in the table, return +** the total number of tokens in column iCol, considering all rows in +** the FTS5 table. +** +** If parameter iCol is greater than or equal to the number of columns +** in the table, SQLITE_RANGE is returned. Or, if an error occurs (e.g. +** an OOM condition or IO error), an appropriate SQLite error code is +** returned. +** +** xColumnCount(pFts): +** Return the number of columns in the table. +** +** xColumnSize(pFts, iCol, pnToken): +** If parameter iCol is less than zero, set output variable *pnToken +** to the total number of tokens in the current row. Or, if iCol is +** non-negative but less than the number of columns in the table, set +** *pnToken to the number of tokens in column iCol of the current row. +** +** If parameter iCol is greater than or equal to the number of columns +** in the table, SQLITE_RANGE is returned. Or, if an error occurs (e.g. +** an OOM condition or IO error), an appropriate SQLite error code is +** returned. +** +** This function may be quite inefficient if used with an FTS5 table +** created with the "columnsize=0" option. +** +** xColumnText: +** This function attempts to retrieve the text of column iCol of the +** current document. If successful, (*pz) is set to point to a buffer +** containing the text in utf-8 encoding, (*pn) is set to the size in bytes +** (not characters) of the buffer and SQLITE_OK is returned. Otherwise, +** if an error occurs, an SQLite error code is returned and the final values +** of (*pz) and (*pn) are undefined. +** +** xPhraseCount: +** Returns the number of phrases in the current query expression. +** +** xPhraseSize: +** Returns the number of tokens in phrase iPhrase of the query. Phrases +** are numbered starting from zero. +** +** xInstCount: +** Set *pnInst to the total number of occurrences of all phrases within +** the query within the current row. Return SQLITE_OK if successful, or +** an error code (i.e. SQLITE_NOMEM) if an error occurs. +** +** This API can be quite slow if used with an FTS5 table created with the +** "detail=none" or "detail=column" option. If the FTS5 table is created +** with either "detail=none" or "detail=column" and "content=" option +** (i.e. if it is a contentless table), then this API always returns 0. +** +** xInst: +** Query for the details of phrase match iIdx within the current row. +** Phrase matches are numbered starting from zero, so the iIdx argument +** should be greater than or equal to zero and smaller than the value +** output by xInstCount(). +** +** Usually, output parameter *piPhrase is set to the phrase number, *piCol +** to the column in which it occurs and *piOff the token offset of the +** first token of the phrase. Returns SQLITE_OK if successful, or an error +** code (i.e. SQLITE_NOMEM) if an error occurs. +** +** This API can be quite slow if used with an FTS5 table created with the +** "detail=none" or "detail=column" option. +** +** xRowid: +** Returns the rowid of the current row. +** +** xTokenize: +** Tokenize text using the tokenizer belonging to the FTS5 table. +** +** xQueryPhrase(pFts5, iPhrase, pUserData, xCallback): +** This API function is used to query the FTS table for phrase iPhrase +** of the current query. Specifically, a query equivalent to: +** +** ... FROM ftstable WHERE ftstable MATCH $p ORDER BY rowid +** +** with $p set to a phrase equivalent to the phrase iPhrase of the +** current query is executed. Any column filter that applies to +** phrase iPhrase of the current query is included in $p. For each +** row visited, the callback function passed as the fourth argument +** is invoked. The context and API objects passed to the callback +** function may be used to access the properties of each matched row. +** Invoking Api.xUserData() returns a copy of the pointer passed as +** the third argument to pUserData. +** +** If the callback function returns any value other than SQLITE_OK, the +** query is abandoned and the xQueryPhrase function returns immediately. +** If the returned value is SQLITE_DONE, xQueryPhrase returns SQLITE_OK. +** Otherwise, the error code is propagated upwards. +** +** If the query runs to completion without incident, SQLITE_OK is returned. +** Or, if some error occurs before the query completes or is aborted by +** the callback, an SQLite error code is returned. +** +** +** xSetAuxdata(pFts5, pAux, xDelete) +** +** Save the pointer passed as the second argument as the extension functions +** "auxiliary data". The pointer may then be retrieved by the current or any +** future invocation of the same fts5 extension function made as part of +** the same MATCH query using the xGetAuxdata() API. +** +** Each extension function is allocated a single auxiliary data slot for +** each FTS query (MATCH expression). If the extension function is invoked +** more than once for a single FTS query, then all invocations share a +** single auxiliary data context. +** +** If there is already an auxiliary data pointer when this function is +** invoked, then it is replaced by the new pointer. If an xDelete callback +** was specified along with the original pointer, it is invoked at this +** point. +** +** The xDelete callback, if one is specified, is also invoked on the +** auxiliary data pointer after the FTS5 query has finished. +** +** If an error (e.g. an OOM condition) occurs within this function, +** the auxiliary data is set to NULL and an error code returned. If the +** xDelete parameter was not NULL, it is invoked on the auxiliary data +** pointer before returning. +** +** +** xGetAuxdata(pFts5, bClear) +** +** Returns the current auxiliary data pointer for the fts5 extension +** function. See the xSetAuxdata() method for details. +** +** If the bClear argument is non-zero, then the auxiliary data is cleared +** (set to NULL) before this function returns. In this case the xDelete, +** if any, is not invoked. +** +** +** xRowCount(pFts5, pnRow) +** +** This function is used to retrieve the total number of rows in the table. +** In other words, the same value that would be returned by: +** +** SELECT count(*) FROM ftstable; +** +** xPhraseFirst() +** This function is used, along with type Fts5PhraseIter and the xPhraseNext +** method, to iterate through all instances of a single query phrase within +** the current row. This is the same information as is accessible via the +** xInstCount/xInst APIs. While the xInstCount/xInst APIs are more convenient +** to use, this API may be faster under some circumstances. To iterate +** through instances of phrase iPhrase, use the following code: +** +** Fts5PhraseIter iter; +** int iCol, iOff; +** for(pApi->xPhraseFirst(pFts, iPhrase, &iter, &iCol, &iOff); +** iCol>=0; +** pApi->xPhraseNext(pFts, &iter, &iCol, &iOff) +** ){ +** // An instance of phrase iPhrase at offset iOff of column iCol +** } +** +** The Fts5PhraseIter structure is defined above. Applications should not +** modify this structure directly - it should only be used as shown above +** with the xPhraseFirst() and xPhraseNext() API methods (and by +** xPhraseFirstColumn() and xPhraseNextColumn() as illustrated below). +** +** This API can be quite slow if used with an FTS5 table created with the +** "detail=none" or "detail=column" option. If the FTS5 table is created +** with either "detail=none" or "detail=column" and "content=" option +** (i.e. if it is a contentless table), then this API always iterates +** through an empty set (all calls to xPhraseFirst() set iCol to -1). +** +** xPhraseNext() +** See xPhraseFirst above. +** +** xPhraseFirstColumn() +** This function and xPhraseNextColumn() are similar to the xPhraseFirst() +** and xPhraseNext() APIs described above. The difference is that instead +** of iterating through all instances of a phrase in the current row, these +** APIs are used to iterate through the set of columns in the current row +** that contain one or more instances of a specified phrase. For example: +** +** Fts5PhraseIter iter; +** int iCol; +** for(pApi->xPhraseFirstColumn(pFts, iPhrase, &iter, &iCol); +** iCol>=0; +** pApi->xPhraseNextColumn(pFts, &iter, &iCol) +** ){ +** // Column iCol contains at least one instance of phrase iPhrase +** } +** +** This API can be quite slow if used with an FTS5 table created with the +** "detail=none" option. If the FTS5 table is created with either +** "detail=none" "content=" option (i.e. if it is a contentless table), +** then this API always iterates through an empty set (all calls to +** xPhraseFirstColumn() set iCol to -1). +** +** The information accessed using this API and its companion +** xPhraseFirstColumn() may also be obtained using xPhraseFirst/xPhraseNext +** (or xInst/xInstCount). The chief advantage of this API is that it is +** significantly more efficient than those alternatives when used with +** "detail=column" tables. +** +** xPhraseNextColumn() +** See xPhraseFirstColumn above. +*/ +struct Fts5ExtensionApi { + int iVersion; /* Currently always set to 3 */ + + void *(*xUserData)(Fts5Context*); + + int (*xColumnCount)(Fts5Context*); + int (*xRowCount)(Fts5Context*, sqlite3_int64 *pnRow); + int (*xColumnTotalSize)(Fts5Context*, int iCol, sqlite3_int64 *pnToken); + + int (*xTokenize)(Fts5Context*, + const char *pText, int nText, /* Text to tokenize */ + void *pCtx, /* Context passed to xToken() */ + int (*xToken)(void*, int, const char*, int, int, int) /* Callback */ + ); + + int (*xPhraseCount)(Fts5Context*); + int (*xPhraseSize)(Fts5Context*, int iPhrase); + + int (*xInstCount)(Fts5Context*, int *pnInst); + int (*xInst)(Fts5Context*, int iIdx, int *piPhrase, int *piCol, int *piOff); + + sqlite3_int64 (*xRowid)(Fts5Context*); + int (*xColumnText)(Fts5Context*, int iCol, const char **pz, int *pn); + int (*xColumnSize)(Fts5Context*, int iCol, int *pnToken); + + int (*xQueryPhrase)(Fts5Context*, int iPhrase, void *pUserData, + int(*)(const Fts5ExtensionApi*,Fts5Context*,void*) + ); + int (*xSetAuxdata)(Fts5Context*, void *pAux, void(*xDelete)(void*)); + void *(*xGetAuxdata)(Fts5Context*, int bClear); + + int (*xPhraseFirst)(Fts5Context*, int iPhrase, Fts5PhraseIter*, int*, int*); + void (*xPhraseNext)(Fts5Context*, Fts5PhraseIter*, int *piCol, int *piOff); + + int (*xPhraseFirstColumn)(Fts5Context*, int iPhrase, Fts5PhraseIter*, int*); + void (*xPhraseNextColumn)(Fts5Context*, Fts5PhraseIter*, int *piCol); +}; + +/* +** CUSTOM AUXILIARY FUNCTIONS +*************************************************************************/ + +/************************************************************************* +** CUSTOM TOKENIZERS +** +** Applications may also register custom tokenizer types. A tokenizer +** is registered by providing fts5 with a populated instance of the +** following structure. All structure methods must be defined, setting +** any member of the fts5_tokenizer struct to NULL leads to undefined +** behaviour. The structure methods are expected to function as follows: +** +** xCreate: +** This function is used to allocate and initialize a tokenizer instance. +** A tokenizer instance is required to actually tokenize text. +** +** The first argument passed to this function is a copy of the (void*) +** pointer provided by the application when the fts5_tokenizer object +** was registered with FTS5 (the third argument to xCreateTokenizer()). +** The second and third arguments are an array of nul-terminated strings +** containing the tokenizer arguments, if any, specified following the +** tokenizer name as part of the CREATE VIRTUAL TABLE statement used +** to create the FTS5 table. +** +** The final argument is an output variable. If successful, (*ppOut) +** should be set to point to the new tokenizer handle and SQLITE_OK +** returned. If an error occurs, some value other than SQLITE_OK should +** be returned. In this case, fts5 assumes that the final value of *ppOut +** is undefined. +** +** xDelete: +** This function is invoked to delete a tokenizer handle previously +** allocated using xCreate(). Fts5 guarantees that this function will +** be invoked exactly once for each successful call to xCreate(). +** +** xTokenize: +** This function is expected to tokenize the nText byte string indicated +** by argument pText. pText may or may not be nul-terminated. The first +** argument passed to this function is a pointer to an Fts5Tokenizer object +** returned by an earlier call to xCreate(). +** +** The second argument indicates the reason that FTS5 is requesting +** tokenization of the supplied text. This is always one of the following +** four values: +** +**
  • FTS5_TOKENIZE_DOCUMENT - A document is being inserted into +** or removed from the FTS table. The tokenizer is being invoked to +** determine the set of tokens to add to (or delete from) the +** FTS index. +** +**
  • FTS5_TOKENIZE_QUERY - A MATCH query is being executed +** against the FTS index. The tokenizer is being called to tokenize +** a bareword or quoted string specified as part of the query. +** +**
  • (FTS5_TOKENIZE_QUERY | FTS5_TOKENIZE_PREFIX) - Same as +** FTS5_TOKENIZE_QUERY, except that the bareword or quoted string is +** followed by a "*" character, indicating that the last token +** returned by the tokenizer will be treated as a token prefix. +** +**
  • FTS5_TOKENIZE_AUX - The tokenizer is being invoked to +** satisfy an fts5_api.xTokenize() request made by an auxiliary +** function. Or an fts5_api.xColumnSize() request made by the same +** on a columnsize=0 database. +**
+** +** For each token in the input string, the supplied callback xToken() must +** be invoked. The first argument to it should be a copy of the pointer +** passed as the second argument to xTokenize(). The third and fourth +** arguments are a pointer to a buffer containing the token text, and the +** size of the token in bytes. The 4th and 5th arguments are the byte offsets +** of the first byte of and first byte immediately following the text from +** which the token is derived within the input. +** +** The second argument passed to the xToken() callback ("tflags") should +** normally be set to 0. The exception is if the tokenizer supports +** synonyms. In this case see the discussion below for details. +** +** FTS5 assumes the xToken() callback is invoked for each token in the +** order that they occur within the input text. +** +** If an xToken() callback returns any value other than SQLITE_OK, then +** the tokenization should be abandoned and the xTokenize() method should +** immediately return a copy of the xToken() return value. Or, if the +** input buffer is exhausted, xTokenize() should return SQLITE_OK. Finally, +** if an error occurs with the xTokenize() implementation itself, it +** may abandon the tokenization and return any error code other than +** SQLITE_OK or SQLITE_DONE. +** +** SYNONYM SUPPORT +** +** Custom tokenizers may also support synonyms. Consider a case in which a +** user wishes to query for a phrase such as "first place". Using the +** built-in tokenizers, the FTS5 query 'first + place' will match instances +** of "first place" within the document set, but not alternative forms +** such as "1st place". In some applications, it would be better to match +** all instances of "first place" or "1st place" regardless of which form +** the user specified in the MATCH query text. +** +** There are several ways to approach this in FTS5: +** +**
  1. By mapping all synonyms to a single token. In this case, the +** In the above example, this means that the tokenizer returns the +** same token for inputs "first" and "1st". Say that token is in +** fact "first", so that when the user inserts the document "I won +** 1st place" entries are added to the index for tokens "i", "won", +** "first" and "place". If the user then queries for '1st + place', +** the tokenizer substitutes "first" for "1st" and the query works +** as expected. +** +**
  2. By querying the index for all synonyms of each query term +** separately. In this case, when tokenizing query text, the +** tokenizer may provide multiple synonyms for a single term +** within the document. FTS5 then queries the index for each +** synonym individually. For example, faced with the query: +** +** +** ... MATCH 'first place' +** +** the tokenizer offers both "1st" and "first" as synonyms for the +** first token in the MATCH query and FTS5 effectively runs a query +** similar to: +** +** +** ... MATCH '(first OR 1st) place' +** +** except that, for the purposes of auxiliary functions, the query +** still appears to contain just two phrases - "(first OR 1st)" +** being treated as a single phrase. +** +**
  3. By adding multiple synonyms for a single term to the FTS index. +** Using this method, when tokenizing document text, the tokenizer +** provides multiple synonyms for each token. So that when a +** document such as "I won first place" is tokenized, entries are +** added to the FTS index for "i", "won", "first", "1st" and +** "place". +** +** This way, even if the tokenizer does not provide synonyms +** when tokenizing query text (it should not - to do so would be +** inefficient), it doesn't matter if the user queries for +** 'first + place' or '1st + place', as there are entries in the +** FTS index corresponding to both forms of the first token. +**
+** +** Whether it is parsing document or query text, any call to xToken that +** specifies a tflags argument with the FTS5_TOKEN_COLOCATED bit +** is considered to supply a synonym for the previous token. For example, +** when parsing the document "I won first place", a tokenizer that supports +** synonyms would call xToken() 5 times, as follows: +** +** +** xToken(pCtx, 0, "i", 1, 0, 1); +** xToken(pCtx, 0, "won", 3, 2, 5); +** xToken(pCtx, 0, "first", 5, 6, 11); +** xToken(pCtx, FTS5_TOKEN_COLOCATED, "1st", 3, 6, 11); +** xToken(pCtx, 0, "place", 5, 12, 17); +** +** +** It is an error to specify the FTS5_TOKEN_COLOCATED flag the first time +** xToken() is called. Multiple synonyms may be specified for a single token +** by making multiple calls to xToken(FTS5_TOKEN_COLOCATED) in sequence. +** There is no limit to the number of synonyms that may be provided for a +** single token. +** +** In many cases, method (1) above is the best approach. It does not add +** extra data to the FTS index or require FTS5 to query for multiple terms, +** so it is efficient in terms of disk space and query speed. However, it +** does not support prefix queries very well. If, as suggested above, the +** token "first" is substituted for "1st" by the tokenizer, then the query: +** +** +** ... MATCH '1s*' +** +** will not match documents that contain the token "1st" (as the tokenizer +** will probably not map "1s" to any prefix of "first"). +** +** For full prefix support, method (3) may be preferred. In this case, +** because the index contains entries for both "first" and "1st", prefix +** queries such as 'fi*' or '1s*' will match correctly. However, because +** extra entries are added to the FTS index, this method uses more space +** within the database. +** +** Method (2) offers a midpoint between (1) and (3). Using this method, +** a query such as '1s*' will match documents that contain the literal +** token "1st", but not "first" (assuming the tokenizer is not able to +** provide synonyms for prefixes). However, a non-prefix query like '1st' +** will match against "1st" and "first". This method does not require +** extra disk space, as no extra entries are added to the FTS index. +** On the other hand, it may require more CPU cycles to run MATCH queries, +** as separate queries of the FTS index are required for each synonym. +** +** When using methods (2) or (3), it is important that the tokenizer only +** provide synonyms when tokenizing document text (method (2)) or query +** text (method (3)), not both. Doing so will not cause any errors, but is +** inefficient. +*/ +typedef struct Fts5Tokenizer Fts5Tokenizer; +typedef struct fts5_tokenizer fts5_tokenizer; +struct fts5_tokenizer { + int (*xCreate)(void*, const char **azArg, int nArg, Fts5Tokenizer **ppOut); + void (*xDelete)(Fts5Tokenizer*); + int (*xTokenize)(Fts5Tokenizer*, + void *pCtx, + int flags, /* Mask of FTS5_TOKENIZE_* flags */ + const char *pText, int nText, + int (*xToken)( + void *pCtx, /* Copy of 2nd argument to xTokenize() */ + int tflags, /* Mask of FTS5_TOKEN_* flags */ + const char *pToken, /* Pointer to buffer containing token */ + int nToken, /* Size of token in bytes */ + int iStart, /* Byte offset of token within input text */ + int iEnd /* Byte offset of end of token within input text */ + ) + ); +}; + +/* Flags that may be passed as the third argument to xTokenize() */ +#define FTS5_TOKENIZE_QUERY 0x0001 +#define FTS5_TOKENIZE_PREFIX 0x0002 +#define FTS5_TOKENIZE_DOCUMENT 0x0004 +#define FTS5_TOKENIZE_AUX 0x0008 + +/* Flags that may be passed by the tokenizer implementation back to FTS5 +** as the third argument to the supplied xToken callback. */ +#define FTS5_TOKEN_COLOCATED 0x0001 /* Same position as prev. token */ + +/* +** END OF CUSTOM TOKENIZERS +*************************************************************************/ + +/************************************************************************* +** FTS5 EXTENSION REGISTRATION API +*/ +typedef struct fts5_api fts5_api; +struct fts5_api { + int iVersion; /* Currently always set to 2 */ + + /* Create a new tokenizer */ + int (*xCreateTokenizer)( + fts5_api *pApi, + const char *zName, + void *pContext, + fts5_tokenizer *pTokenizer, + void (*xDestroy)(void*) + ); + + /* Find an existing tokenizer */ + int (*xFindTokenizer)( + fts5_api *pApi, + const char *zName, + void **ppContext, + fts5_tokenizer *pTokenizer + ); + + /* Create a new auxiliary function */ + int (*xCreateFunction)( + fts5_api *pApi, + const char *zName, + void *pContext, + fts5_extension_function xFunction, + void (*xDestroy)(void*) + ); +}; + +/* +** END OF REGISTRATION API +*************************************************************************/ + +#if 0 +} /* end of the 'extern "C"' block */ +#endif + +#endif /* _FTS5_H */ + +/******** End of fts5.h *********/ + +/************** End of sqlite3.h *********************************************/ +/************** Continuing where we left off in sqliteInt.h ******************/ + +/* +** Include the configuration header output by 'configure' if we're using the +** autoconf-based build +*/ +#if defined(_HAVE_SQLITE_CONFIG_H) && !defined(SQLITECONFIG_H) +/* #include "config.h" */ +#define SQLITECONFIG_H 1 +#endif + +/************** Include sqliteLimit.h in the middle of sqliteInt.h ***********/ +/************** Begin file sqliteLimit.h *************************************/ +/* +** 2007 May 7 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file defines various limits of what SQLite can process. +*/ + +/* +** The maximum length of a TEXT or BLOB in bytes. This also +** limits the size of a row in a table or index. +** +** The hard limit is the ability of a 32-bit signed integer +** to count the size: 2^31-1 or 2147483647. +*/ +#ifndef SQLITE_MAX_LENGTH +# define SQLITE_MAX_LENGTH 1000000000 +#endif + +/* +** This is the maximum number of +** +** * Columns in a table +** * Columns in an index +** * Columns in a view +** * Terms in the SET clause of an UPDATE statement +** * Terms in the result set of a SELECT statement +** * Terms in the GROUP BY or ORDER BY clauses of a SELECT statement. +** * Terms in the VALUES clause of an INSERT statement +** +** The hard upper limit here is 32676. Most database people will +** tell you that in a well-normalized database, you usually should +** not have more than a dozen or so columns in any table. And if +** that is the case, there is no point in having more than a few +** dozen values in any of the other situations described above. +*/ +#ifndef SQLITE_MAX_COLUMN +# define SQLITE_MAX_COLUMN 2000 +#endif + +/* +** The maximum length of a single SQL statement in bytes. +** +** It used to be the case that setting this value to zero would +** turn the limit off. That is no longer true. It is not possible +** to turn this limit off. +*/ +#ifndef SQLITE_MAX_SQL_LENGTH +# define SQLITE_MAX_SQL_LENGTH 1000000000 +#endif + +/* +** The maximum depth of an expression tree. This is limited to +** some extent by SQLITE_MAX_SQL_LENGTH. But sometime you might +** want to place more severe limits on the complexity of an +** expression. +** +** A value of 0 used to mean that the limit was not enforced. +** But that is no longer true. The limit is now strictly enforced +** at all times. +*/ +#ifndef SQLITE_MAX_EXPR_DEPTH +# define SQLITE_MAX_EXPR_DEPTH 1000 +#endif + +/* +** The maximum number of terms in a compound SELECT statement. +** The code generator for compound SELECT statements does one +** level of recursion for each term. A stack overflow can result +** if the number of terms is too large. In practice, most SQL +** never has more than 3 or 4 terms. Use a value of 0 to disable +** any limit on the number of terms in a compount SELECT. +*/ +#ifndef SQLITE_MAX_COMPOUND_SELECT +# define SQLITE_MAX_COMPOUND_SELECT 500 +#endif + +/* +** The maximum number of opcodes in a VDBE program. +** Not currently enforced. +*/ +#ifndef SQLITE_MAX_VDBE_OP +# define SQLITE_MAX_VDBE_OP 250000000 +#endif + +/* +** The maximum number of arguments to an SQL function. +*/ +#ifndef SQLITE_MAX_FUNCTION_ARG +# define SQLITE_MAX_FUNCTION_ARG 127 +#endif + +/* +** The suggested maximum number of in-memory pages to use for +** the main database table and for temporary tables. +** +** IMPLEMENTATION-OF: R-30185-15359 The default suggested cache size is -2000, +** which means the cache size is limited to 2048000 bytes of memory. +** IMPLEMENTATION-OF: R-48205-43578 The default suggested cache size can be +** altered using the SQLITE_DEFAULT_CACHE_SIZE compile-time options. +*/ +#ifndef SQLITE_DEFAULT_CACHE_SIZE +# define SQLITE_DEFAULT_CACHE_SIZE -2000 +#endif + +/* +** The default number of frames to accumulate in the log file before +** checkpointing the database in WAL mode. +*/ +#ifndef SQLITE_DEFAULT_WAL_AUTOCHECKPOINT +# define SQLITE_DEFAULT_WAL_AUTOCHECKPOINT 1000 +#endif + +/* +** The maximum number of attached databases. This must be between 0 +** and 125. The upper bound of 125 is because the attached databases are +** counted using a signed 8-bit integer which has a maximum value of 127 +** and we have to allow 2 extra counts for the "main" and "temp" databases. +*/ +#ifndef SQLITE_MAX_ATTACHED +# define SQLITE_MAX_ATTACHED 10 +#endif + + +/* +** The maximum value of a ?nnn wildcard that the parser will accept. +*/ +#ifndef SQLITE_MAX_VARIABLE_NUMBER +# define SQLITE_MAX_VARIABLE_NUMBER 999 +#endif + +/* Maximum page size. The upper bound on this value is 65536. This a limit +** imposed by the use of 16-bit offsets within each page. +** +** Earlier versions of SQLite allowed the user to change this value at +** compile time. This is no longer permitted, on the grounds that it creates +** a library that is technically incompatible with an SQLite library +** compiled with a different limit. If a process operating on a database +** with a page-size of 65536 bytes crashes, then an instance of SQLite +** compiled with the default page-size limit will not be able to rollback +** the aborted transaction. This could lead to database corruption. +*/ +#ifdef SQLITE_MAX_PAGE_SIZE +# undef SQLITE_MAX_PAGE_SIZE +#endif +#define SQLITE_MAX_PAGE_SIZE 65536 + + +/* +** The default size of a database page. +*/ +#ifndef SQLITE_DEFAULT_PAGE_SIZE +# define SQLITE_DEFAULT_PAGE_SIZE 4096 +#endif +#if SQLITE_DEFAULT_PAGE_SIZE>SQLITE_MAX_PAGE_SIZE +# undef SQLITE_DEFAULT_PAGE_SIZE +# define SQLITE_DEFAULT_PAGE_SIZE SQLITE_MAX_PAGE_SIZE +#endif + +/* +** Ordinarily, if no value is explicitly provided, SQLite creates databases +** with page size SQLITE_DEFAULT_PAGE_SIZE. However, based on certain +** device characteristics (sector-size and atomic write() support), +** SQLite may choose a larger value. This constant is the maximum value +** SQLite will choose on its own. +*/ +#ifndef SQLITE_MAX_DEFAULT_PAGE_SIZE +# define SQLITE_MAX_DEFAULT_PAGE_SIZE 8192 +#endif +#if SQLITE_MAX_DEFAULT_PAGE_SIZE>SQLITE_MAX_PAGE_SIZE +# undef SQLITE_MAX_DEFAULT_PAGE_SIZE +# define SQLITE_MAX_DEFAULT_PAGE_SIZE SQLITE_MAX_PAGE_SIZE +#endif + + +/* +** Maximum number of pages in one database file. +** +** This is really just the default value for the max_page_count pragma. +** This value can be lowered (or raised) at run-time using that the +** max_page_count macro. +*/ +#ifndef SQLITE_MAX_PAGE_COUNT +# define SQLITE_MAX_PAGE_COUNT 1073741823 +#endif + +/* +** Maximum length (in bytes) of the pattern in a LIKE or GLOB +** operator. +*/ +#ifndef SQLITE_MAX_LIKE_PATTERN_LENGTH +# define SQLITE_MAX_LIKE_PATTERN_LENGTH 50000 +#endif + +/* +** Maximum depth of recursion for triggers. +** +** A value of 1 means that a trigger program will not be able to itself +** fire any triggers. A value of 0 means that no trigger programs at all +** may be executed. +*/ +#ifndef SQLITE_MAX_TRIGGER_DEPTH +# define SQLITE_MAX_TRIGGER_DEPTH 1000 +#endif + +/************** End of sqliteLimit.h *****************************************/ +/************** Continuing where we left off in sqliteInt.h ******************/ + +/* Disable nuisance warnings on Borland compilers */ +#if defined(__BORLANDC__) +#pragma warn -rch /* unreachable code */ +#pragma warn -ccc /* Condition is always true or false */ +#pragma warn -aus /* Assigned value is never used */ +#pragma warn -csu /* Comparing signed and unsigned */ +#pragma warn -spa /* Suspicious pointer arithmetic */ +#endif + +/* +** Include standard header files as necessary +*/ +#ifdef HAVE_STDINT_H +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif + +/* +** The following macros are used to cast pointers to integers and +** integers to pointers. The way you do this varies from one compiler +** to the next, so we have developed the following set of #if statements +** to generate appropriate macros for a wide range of compilers. +** +** The correct "ANSI" way to do this is to use the intptr_t type. +** Unfortunately, that typedef is not available on all compilers, or +** if it is available, it requires an #include of specific headers +** that vary from one machine to the next. +** +** Ticket #3860: The llvm-gcc-4.2 compiler from Apple chokes on +** the ((void*)&((char*)0)[X]) construct. But MSVC chokes on ((void*)(X)). +** So we have to define the macros in different ways depending on the +** compiler. +*/ +#if defined(HAVE_STDINT_H) /* Use this case if we have ANSI headers */ +# define SQLITE_INT_TO_PTR(X) ((void*)(intptr_t)(X)) +# define SQLITE_PTR_TO_INT(X) ((int)(intptr_t)(X)) +#elif defined(__PTRDIFF_TYPE__) /* This case should work for GCC */ +# define SQLITE_INT_TO_PTR(X) ((void*)(__PTRDIFF_TYPE__)(X)) +# define SQLITE_PTR_TO_INT(X) ((int)(__PTRDIFF_TYPE__)(X)) +#elif !defined(__GNUC__) /* Works for compilers other than LLVM */ +# define SQLITE_INT_TO_PTR(X) ((void*)&((char*)0)[X]) +# define SQLITE_PTR_TO_INT(X) ((int)(((char*)X)-(char*)0)) +#else /* Generates a warning - but it always works */ +# define SQLITE_INT_TO_PTR(X) ((void*)(X)) +# define SQLITE_PTR_TO_INT(X) ((int)(X)) +#endif + +/* +** A macro to hint to the compiler that a function should not be +** inlined. +*/ +#if defined(__GNUC__) +# define SQLITE_NOINLINE __attribute__((noinline)) +#elif defined(_MSC_VER) && _MSC_VER>=1310 +# define SQLITE_NOINLINE __declspec(noinline) +#else +# define SQLITE_NOINLINE +#endif + +/* +** Make sure that the compiler intrinsics we desire are enabled when +** compiling with an appropriate version of MSVC unless prevented by +** the SQLITE_DISABLE_INTRINSIC define. +*/ +#if !defined(SQLITE_DISABLE_INTRINSIC) +# if defined(_MSC_VER) && _MSC_VER>=1400 +# if !defined(_WIN32_WCE) +# include +# pragma intrinsic(_byteswap_ushort) +# pragma intrinsic(_byteswap_ulong) +# pragma intrinsic(_byteswap_uint64) +# pragma intrinsic(_ReadWriteBarrier) +# else +# include +# endif +# endif +#endif + +/* +** The SQLITE_THREADSAFE macro must be defined as 0, 1, or 2. +** 0 means mutexes are permanently disable and the library is never +** threadsafe. 1 means the library is serialized which is the highest +** level of threadsafety. 2 means the library is multithreaded - multiple +** threads can use SQLite as long as no two threads try to use the same +** database connection at the same time. +** +** Older versions of SQLite used an optional THREADSAFE macro. +** We support that for legacy. +** +** To ensure that the correct value of "THREADSAFE" is reported when querying +** for compile-time options at runtime (e.g. "PRAGMA compile_options"), this +** logic is partially replicated in ctime.c. If it is updated here, it should +** also be updated there. +*/ +#if !defined(SQLITE_THREADSAFE) +# if defined(THREADSAFE) +# define SQLITE_THREADSAFE THREADSAFE +# else +# define SQLITE_THREADSAFE 1 /* IMP: R-07272-22309 */ +# endif +#endif + +/* +** Powersafe overwrite is on by default. But can be turned off using +** the -DSQLITE_POWERSAFE_OVERWRITE=0 command-line option. +*/ +#ifndef SQLITE_POWERSAFE_OVERWRITE +# define SQLITE_POWERSAFE_OVERWRITE 1 +#endif + +/* +** EVIDENCE-OF: R-25715-37072 Memory allocation statistics are enabled by +** default unless SQLite is compiled with SQLITE_DEFAULT_MEMSTATUS=0 in +** which case memory allocation statistics are disabled by default. +*/ +#if !defined(SQLITE_DEFAULT_MEMSTATUS) +# define SQLITE_DEFAULT_MEMSTATUS 1 +#endif + +/* +** Exactly one of the following macros must be defined in order to +** specify which memory allocation subsystem to use. +** +** SQLITE_SYSTEM_MALLOC // Use normal system malloc() +** SQLITE_WIN32_MALLOC // Use Win32 native heap API +** SQLITE_ZERO_MALLOC // Use a stub allocator that always fails +** SQLITE_MEMDEBUG // Debugging version of system malloc() +** +** On Windows, if the SQLITE_WIN32_MALLOC_VALIDATE macro is defined and the +** assert() macro is enabled, each call into the Win32 native heap subsystem +** will cause HeapValidate to be called. If heap validation should fail, an +** assertion will be triggered. +** +** If none of the above are defined, then set SQLITE_SYSTEM_MALLOC as +** the default. +*/ +#if defined(SQLITE_SYSTEM_MALLOC) \ + + defined(SQLITE_WIN32_MALLOC) \ + + defined(SQLITE_ZERO_MALLOC) \ + + defined(SQLITE_MEMDEBUG)>1 +# error "Two or more of the following compile-time configuration options\ + are defined but at most one is allowed:\ + SQLITE_SYSTEM_MALLOC, SQLITE_WIN32_MALLOC, SQLITE_MEMDEBUG,\ + SQLITE_ZERO_MALLOC" +#endif +#if defined(SQLITE_SYSTEM_MALLOC) \ + + defined(SQLITE_WIN32_MALLOC) \ + + defined(SQLITE_ZERO_MALLOC) \ + + defined(SQLITE_MEMDEBUG)==0 +# define SQLITE_SYSTEM_MALLOC 1 +#endif + +/* +** If SQLITE_MALLOC_SOFT_LIMIT is not zero, then try to keep the +** sizes of memory allocations below this value where possible. +*/ +#if !defined(SQLITE_MALLOC_SOFT_LIMIT) +# define SQLITE_MALLOC_SOFT_LIMIT 1024 +#endif + +/* +** We need to define _XOPEN_SOURCE as follows in order to enable +** recursive mutexes on most Unix systems and fchmod() on OpenBSD. +** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit +** it. +*/ +#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) +# define _XOPEN_SOURCE 600 +#endif + +/* +** NDEBUG and SQLITE_DEBUG are opposites. It should always be true that +** defined(NDEBUG)==!defined(SQLITE_DEBUG). If this is not currently true, +** make it true by defining or undefining NDEBUG. +** +** Setting NDEBUG makes the code smaller and faster by disabling the +** assert() statements in the code. So we want the default action +** to be for NDEBUG to be set and NDEBUG to be undefined only if SQLITE_DEBUG +** is set. Thus NDEBUG becomes an opt-in rather than an opt-out +** feature. +*/ +#if !defined(NDEBUG) && !defined(SQLITE_DEBUG) +# define NDEBUG 1 +#endif +#if defined(NDEBUG) && defined(SQLITE_DEBUG) +# undef NDEBUG +#endif + +/* +** Enable SQLITE_ENABLE_EXPLAIN_COMMENTS if SQLITE_DEBUG is turned on. +*/ +#if !defined(SQLITE_ENABLE_EXPLAIN_COMMENTS) && defined(SQLITE_DEBUG) +# define SQLITE_ENABLE_EXPLAIN_COMMENTS 1 +#endif + +/* +** The testcase() macro is used to aid in coverage testing. When +** doing coverage testing, the condition inside the argument to +** testcase() must be evaluated both true and false in order to +** get full branch coverage. The testcase() macro is inserted +** to help ensure adequate test coverage in places where simple +** condition/decision coverage is inadequate. For example, testcase() +** can be used to make sure boundary values are tested. For +** bitmask tests, testcase() can be used to make sure each bit +** is significant and used at least once. On switch statements +** where multiple cases go to the same block of code, testcase() +** can insure that all cases are evaluated. +** +*/ +#ifdef SQLITE_COVERAGE_TEST +SQLITE_PRIVATE void sqlite3Coverage(int); +# define testcase(X) if( X ){ sqlite3Coverage(__LINE__); } +#else +# define testcase(X) +#endif + +/* +** The TESTONLY macro is used to enclose variable declarations or +** other bits of code that are needed to support the arguments +** within testcase() and assert() macros. +*/ +#if !defined(NDEBUG) || defined(SQLITE_COVERAGE_TEST) +# define TESTONLY(X) X +#else +# define TESTONLY(X) +#endif + +/* +** Sometimes we need a small amount of code such as a variable initialization +** to setup for a later assert() statement. We do not want this code to +** appear when assert() is disabled. The following macro is therefore +** used to contain that setup code. The "VVA" acronym stands for +** "Verification, Validation, and Accreditation". In other words, the +** code within VVA_ONLY() will only run during verification processes. +*/ +#ifndef NDEBUG +# define VVA_ONLY(X) X +#else +# define VVA_ONLY(X) +#endif + +/* +** The ALWAYS and NEVER macros surround boolean expressions which +** are intended to always be true or false, respectively. Such +** expressions could be omitted from the code completely. But they +** are included in a few cases in order to enhance the resilience +** of SQLite to unexpected behavior - to make the code "self-healing" +** or "ductile" rather than being "brittle" and crashing at the first +** hint of unplanned behavior. +** +** In other words, ALWAYS and NEVER are added for defensive code. +** +** When doing coverage testing ALWAYS and NEVER are hard-coded to +** be true and false so that the unreachable code they specify will +** not be counted as untested code. +*/ +#if defined(SQLITE_COVERAGE_TEST) || defined(SQLITE_MUTATION_TEST) +# define ALWAYS(X) (1) +# define NEVER(X) (0) +#elif !defined(NDEBUG) +# define ALWAYS(X) ((X)?1:(assert(0),0)) +# define NEVER(X) ((X)?(assert(0),1):0) +#else +# define ALWAYS(X) (X) +# define NEVER(X) (X) +#endif + +/* +** Some conditionals are optimizations only. In other words, if the +** conditionals are replaced with a constant 1 (true) or 0 (false) then +** the correct answer is still obtained, though perhaps not as quickly. +** +** The following macros mark these optimizations conditionals. +*/ +#if defined(SQLITE_MUTATION_TEST) +# define OK_IF_ALWAYS_TRUE(X) (1) +# define OK_IF_ALWAYS_FALSE(X) (0) +#else +# define OK_IF_ALWAYS_TRUE(X) (X) +# define OK_IF_ALWAYS_FALSE(X) (X) +#endif + +/* +** Some malloc failures are only possible if SQLITE_TEST_REALLOC_STRESS is +** defined. We need to defend against those failures when testing with +** SQLITE_TEST_REALLOC_STRESS, but we don't want the unreachable branches +** during a normal build. The following macro can be used to disable tests +** that are always false except when SQLITE_TEST_REALLOC_STRESS is set. +*/ +#if defined(SQLITE_TEST_REALLOC_STRESS) +# define ONLY_IF_REALLOC_STRESS(X) (X) +#elif !defined(NDEBUG) +# define ONLY_IF_REALLOC_STRESS(X) ((X)?(assert(0),1):0) +#else +# define ONLY_IF_REALLOC_STRESS(X) (0) +#endif + +/* +** Declarations used for tracing the operating system interfaces. +*/ +#if defined(SQLITE_FORCE_OS_TRACE) || defined(SQLITE_TEST) || \ + (defined(SQLITE_DEBUG) && SQLITE_OS_WIN) + extern int sqlite3OSTrace; +# define OSTRACE(X) if( sqlite3OSTrace ) sqlite3DebugPrintf X +# define SQLITE_HAVE_OS_TRACE +#else +# define OSTRACE(X) +# undef SQLITE_HAVE_OS_TRACE +#endif + +/* +** Is the sqlite3ErrName() function needed in the build? Currently, +** it is needed by "mutex_w32.c" (when debugging), "os_win.c" (when +** OSTRACE is enabled), and by several "test*.c" files (which are +** compiled using SQLITE_TEST). +*/ +#if defined(SQLITE_HAVE_OS_TRACE) || defined(SQLITE_TEST) || \ + (defined(SQLITE_DEBUG) && SQLITE_OS_WIN) +# define SQLITE_NEED_ERR_NAME +#else +# undef SQLITE_NEED_ERR_NAME +#endif + +/* +** SQLITE_ENABLE_EXPLAIN_COMMENTS is incompatible with SQLITE_OMIT_EXPLAIN +*/ +#ifdef SQLITE_OMIT_EXPLAIN +# undef SQLITE_ENABLE_EXPLAIN_COMMENTS +#endif + +/* +** Return true (non-zero) if the input is an integer that is too large +** to fit in 32-bits. This macro is used inside of various testcase() +** macros to verify that we have tested SQLite for large-file support. +*/ +#define IS_BIG_INT(X) (((X)&~(i64)0xffffffff)!=0) + +/* +** The macro unlikely() is a hint that surrounds a boolean +** expression that is usually false. Macro likely() surrounds +** a boolean expression that is usually true. These hints could, +** in theory, be used by the compiler to generate better code, but +** currently they are just comments for human readers. +*/ +#define likely(X) (X) +#define unlikely(X) (X) + +/************** Include hash.h in the middle of sqliteInt.h ******************/ +/************** Begin file hash.h ********************************************/ +/* +** 2001 September 22 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This is the header file for the generic hash-table implementation +** used in SQLite. +*/ +#ifndef SQLITE_HASH_H +#define SQLITE_HASH_H + +/* Forward declarations of structures. */ +typedef struct Hash Hash; +typedef struct HashElem HashElem; + +/* A complete hash table is an instance of the following structure. +** The internals of this structure are intended to be opaque -- client +** code should not attempt to access or modify the fields of this structure +** directly. Change this structure only by using the routines below. +** However, some of the "procedures" and "functions" for modifying and +** accessing this structure are really macros, so we can't really make +** this structure opaque. +** +** All elements of the hash table are on a single doubly-linked list. +** Hash.first points to the head of this list. +** +** There are Hash.htsize buckets. Each bucket points to a spot in +** the global doubly-linked list. The contents of the bucket are the +** element pointed to plus the next _ht.count-1 elements in the list. +** +** Hash.htsize and Hash.ht may be zero. In that case lookup is done +** by a linear search of the global list. For small tables, the +** Hash.ht table is never allocated because if there are few elements +** in the table, it is faster to do a linear search than to manage +** the hash table. +*/ +struct Hash { + unsigned int htsize; /* Number of buckets in the hash table */ + unsigned int count; /* Number of entries in this table */ + HashElem *first; /* The first element of the array */ + struct _ht { /* the hash table */ + unsigned int count; /* Number of entries with this hash */ + HashElem *chain; /* Pointer to first entry with this hash */ + } *ht; +}; + +/* Each element in the hash table is an instance of the following +** structure. All elements are stored on a single doubly-linked list. +** +** Again, this structure is intended to be opaque, but it can't really +** be opaque because it is used by macros. +*/ +struct HashElem { + HashElem *next, *prev; /* Next and previous elements in the table */ + void *data; /* Data associated with this element */ + const char *pKey; /* Key associated with this element */ +}; + +/* +** Access routines. To delete, insert a NULL pointer. +*/ +SQLITE_PRIVATE void sqlite3HashInit(Hash*); +SQLITE_PRIVATE void *sqlite3HashInsert(Hash*, const char *pKey, void *pData); +SQLITE_PRIVATE void *sqlite3HashFind(const Hash*, const char *pKey); +SQLITE_PRIVATE void sqlite3HashClear(Hash*); + +/* +** Macros for looping over all elements of a hash table. The idiom is +** like this: +** +** Hash h; +** HashElem *p; +** ... +** for(p=sqliteHashFirst(&h); p; p=sqliteHashNext(p)){ +** SomeStructure *pData = sqliteHashData(p); +** // do something with pData +** } +*/ +#define sqliteHashFirst(H) ((H)->first) +#define sqliteHashNext(E) ((E)->next) +#define sqliteHashData(E) ((E)->data) +/* #define sqliteHashKey(E) ((E)->pKey) // NOT USED */ +/* #define sqliteHashKeysize(E) ((E)->nKey) // NOT USED */ + +/* +** Number of entries in a hash table +*/ +/* #define sqliteHashCount(H) ((H)->count) // NOT USED */ + +#endif /* SQLITE_HASH_H */ + +/************** End of hash.h ************************************************/ +/************** Continuing where we left off in sqliteInt.h ******************/ +/************** Include parse.h in the middle of sqliteInt.h *****************/ +/************** Begin file parse.h *******************************************/ +#define TK_SEMI 1 +#define TK_EXPLAIN 2 +#define TK_QUERY 3 +#define TK_PLAN 4 +#define TK_BEGIN 5 +#define TK_TRANSACTION 6 +#define TK_DEFERRED 7 +#define TK_IMMEDIATE 8 +#define TK_EXCLUSIVE 9 +#define TK_COMMIT 10 +#define TK_END 11 +#define TK_ROLLBACK 12 +#define TK_SAVEPOINT 13 +#define TK_RELEASE 14 +#define TK_TO 15 +#define TK_TABLE 16 +#define TK_CREATE 17 +#define TK_IF 18 +#define TK_NOT 19 +#define TK_EXISTS 20 +#define TK_TEMP 21 +#define TK_LP 22 +#define TK_RP 23 +#define TK_AS 24 +#define TK_WITHOUT 25 +#define TK_COMMA 26 +#define TK_ABORT 27 +#define TK_ACTION 28 +#define TK_AFTER 29 +#define TK_ANALYZE 30 +#define TK_ASC 31 +#define TK_ATTACH 32 +#define TK_BEFORE 33 +#define TK_BY 34 +#define TK_CASCADE 35 +#define TK_CAST 36 +#define TK_CONFLICT 37 +#define TK_DATABASE 38 +#define TK_DESC 39 +#define TK_DETACH 40 +#define TK_EACH 41 +#define TK_FAIL 42 +#define TK_OR 43 +#define TK_AND 44 +#define TK_IS 45 +#define TK_MATCH 46 +#define TK_LIKE_KW 47 +#define TK_BETWEEN 48 +#define TK_IN 49 +#define TK_ISNULL 50 +#define TK_NOTNULL 51 +#define TK_NE 52 +#define TK_EQ 53 +#define TK_GT 54 +#define TK_LE 55 +#define TK_LT 56 +#define TK_GE 57 +#define TK_ESCAPE 58 +#define TK_ID 59 +#define TK_COLUMNKW 60 +#define TK_DO 61 +#define TK_FOR 62 +#define TK_IGNORE 63 +#define TK_INITIALLY 64 +#define TK_INSTEAD 65 +#define TK_NO 66 +#define TK_KEY 67 +#define TK_OF 68 +#define TK_OFFSET 69 +#define TK_PRAGMA 70 +#define TK_RAISE 71 +#define TK_RECURSIVE 72 +#define TK_REPLACE 73 +#define TK_RESTRICT 74 +#define TK_ROW 75 +#define TK_ROWS 76 +#define TK_TRIGGER 77 +#define TK_VACUUM 78 +#define TK_VIEW 79 +#define TK_VIRTUAL 80 +#define TK_WITH 81 +#define TK_NULLS 82 +#define TK_FIRST 83 +#define TK_LAST 84 +#define TK_CURRENT 85 +#define TK_FOLLOWING 86 +#define TK_PARTITION 87 +#define TK_PRECEDING 88 +#define TK_RANGE 89 +#define TK_UNBOUNDED 90 +#define TK_EXCLUDE 91 +#define TK_GROUPS 92 +#define TK_OTHERS 93 +#define TK_TIES 94 +#define TK_REINDEX 95 +#define TK_RENAME 96 +#define TK_CTIME_KW 97 +#define TK_ANY 98 +#define TK_BITAND 99 +#define TK_BITOR 100 +#define TK_LSHIFT 101 +#define TK_RSHIFT 102 +#define TK_PLUS 103 +#define TK_MINUS 104 +#define TK_STAR 105 +#define TK_SLASH 106 +#define TK_REM 107 +#define TK_CONCAT 108 +#define TK_COLLATE 109 +#define TK_BITNOT 110 +#define TK_ON 111 +#define TK_INDEXED 112 +#define TK_STRING 113 +#define TK_JOIN_KW 114 +#define TK_CONSTRAINT 115 +#define TK_DEFAULT 116 +#define TK_NULL 117 +#define TK_PRIMARY 118 +#define TK_UNIQUE 119 +#define TK_CHECK 120 +#define TK_REFERENCES 121 +#define TK_AUTOINCR 122 +#define TK_INSERT 123 +#define TK_DELETE 124 +#define TK_UPDATE 125 +#define TK_SET 126 +#define TK_DEFERRABLE 127 +#define TK_FOREIGN 128 +#define TK_DROP 129 +#define TK_UNION 130 +#define TK_ALL 131 +#define TK_EXCEPT 132 +#define TK_INTERSECT 133 +#define TK_SELECT 134 +#define TK_VALUES 135 +#define TK_DISTINCT 136 +#define TK_DOT 137 +#define TK_FROM 138 +#define TK_JOIN 139 +#define TK_USING 140 +#define TK_ORDER 141 +#define TK_GROUP 142 +#define TK_HAVING 143 +#define TK_LIMIT 144 +#define TK_WHERE 145 +#define TK_INTO 146 +#define TK_NOTHING 147 +#define TK_FLOAT 148 +#define TK_BLOB 149 +#define TK_INTEGER 150 +#define TK_VARIABLE 151 +#define TK_CASE 152 +#define TK_WHEN 153 +#define TK_THEN 154 +#define TK_ELSE 155 +#define TK_INDEX 156 +#define TK_ALTER 157 +#define TK_ADD 158 +#define TK_WINDOW 159 +#define TK_OVER 160 +#define TK_FILTER 161 +#define TK_COLUMN 162 +#define TK_AGG_FUNCTION 163 +#define TK_AGG_COLUMN 164 +#define TK_TRUEFALSE 165 +#define TK_ISNOT 166 +#define TK_FUNCTION 167 +#define TK_UMINUS 168 +#define TK_UPLUS 169 +#define TK_TRUTH 170 +#define TK_REGISTER 171 +#define TK_VECTOR 172 +#define TK_SELECT_COLUMN 173 +#define TK_IF_NULL_ROW 174 +#define TK_ASTERISK 175 +#define TK_SPAN 176 +#define TK_SPACE 177 +#define TK_ILLEGAL 178 + +/************** End of parse.h ***********************************************/ +/************** Continuing where we left off in sqliteInt.h ******************/ +#include +#include +#include +#include +#include + +/* +** Use a macro to replace memcpy() if compiled with SQLITE_INLINE_MEMCPY. +** This allows better measurements of where memcpy() is used when running +** cachegrind. But this macro version of memcpy() is very slow so it +** should not be used in production. This is a performance measurement +** hack only. +*/ +#ifdef SQLITE_INLINE_MEMCPY +# define memcpy(D,S,N) {char*xxd=(char*)(D);const char*xxs=(const char*)(S);\ + int xxn=(N);while(xxn-->0)*(xxd++)=*(xxs++);} +#endif + +/* +** If compiling for a processor that lacks floating point support, +** substitute integer for floating-point +*/ +#ifdef SQLITE_OMIT_FLOATING_POINT +# define double sqlite_int64 +# define float sqlite_int64 +# define LONGDOUBLE_TYPE sqlite_int64 +# ifndef SQLITE_BIG_DBL +# define SQLITE_BIG_DBL (((sqlite3_int64)1)<<50) +# endif +# define SQLITE_OMIT_DATETIME_FUNCS 1 +# define SQLITE_OMIT_TRACE 1 +# undef SQLITE_MIXED_ENDIAN_64BIT_FLOAT +# undef SQLITE_HAVE_ISNAN +#endif +#ifndef SQLITE_BIG_DBL +# define SQLITE_BIG_DBL (1e99) +#endif + +/* +** OMIT_TEMPDB is set to 1 if SQLITE_OMIT_TEMPDB is defined, or 0 +** afterward. Having this macro allows us to cause the C compiler +** to omit code used by TEMP tables without messy #ifndef statements. +*/ +#ifdef SQLITE_OMIT_TEMPDB +#define OMIT_TEMPDB 1 +#else +#define OMIT_TEMPDB 0 +#endif + +/* +** The "file format" number is an integer that is incremented whenever +** the VDBE-level file format changes. The following macros define the +** the default file format for new databases and the maximum file format +** that the library can read. +*/ +#define SQLITE_MAX_FILE_FORMAT 4 +#ifndef SQLITE_DEFAULT_FILE_FORMAT +# define SQLITE_DEFAULT_FILE_FORMAT 4 +#endif + +/* +** Determine whether triggers are recursive by default. This can be +** changed at run-time using a pragma. +*/ +#ifndef SQLITE_DEFAULT_RECURSIVE_TRIGGERS +# define SQLITE_DEFAULT_RECURSIVE_TRIGGERS 0 +#endif + +/* +** Provide a default value for SQLITE_TEMP_STORE in case it is not specified +** on the command-line +*/ +#ifndef SQLITE_TEMP_STORE +# define SQLITE_TEMP_STORE 1 +#endif + +/* +** If no value has been provided for SQLITE_MAX_WORKER_THREADS, or if +** SQLITE_TEMP_STORE is set to 3 (never use temporary files), set it +** to zero. +*/ +#if SQLITE_TEMP_STORE==3 || SQLITE_THREADSAFE==0 +# undef SQLITE_MAX_WORKER_THREADS +# define SQLITE_MAX_WORKER_THREADS 0 +#endif +#ifndef SQLITE_MAX_WORKER_THREADS +# define SQLITE_MAX_WORKER_THREADS 8 +#endif +#ifndef SQLITE_DEFAULT_WORKER_THREADS +# define SQLITE_DEFAULT_WORKER_THREADS 0 +#endif +#if SQLITE_DEFAULT_WORKER_THREADS>SQLITE_MAX_WORKER_THREADS +# undef SQLITE_MAX_WORKER_THREADS +# define SQLITE_MAX_WORKER_THREADS SQLITE_DEFAULT_WORKER_THREADS +#endif + +/* +** The default initial allocation for the pagecache when using separate +** pagecaches for each database connection. A positive number is the +** number of pages. A negative number N translations means that a buffer +** of -1024*N bytes is allocated and used for as many pages as it will hold. +** +** The default value of "20" was choosen to minimize the run-time of the +** speedtest1 test program with options: --shrink-memory --reprepare +*/ +#ifndef SQLITE_DEFAULT_PCACHE_INITSZ +# define SQLITE_DEFAULT_PCACHE_INITSZ 20 +#endif + +/* +** Default value for the SQLITE_CONFIG_SORTERREF_SIZE option. +*/ +#ifndef SQLITE_DEFAULT_SORTERREF_SIZE +# define SQLITE_DEFAULT_SORTERREF_SIZE 0x7fffffff +#endif + +/* +** The compile-time options SQLITE_MMAP_READWRITE and +** SQLITE_ENABLE_BATCH_ATOMIC_WRITE are not compatible with one another. +** You must choose one or the other (or neither) but not both. +*/ +#if defined(SQLITE_MMAP_READWRITE) && defined(SQLITE_ENABLE_BATCH_ATOMIC_WRITE) +#error Cannot use both SQLITE_MMAP_READWRITE and SQLITE_ENABLE_BATCH_ATOMIC_WRITE +#endif + +/* +** GCC does not define the offsetof() macro so we'll have to do it +** ourselves. +*/ +#ifndef offsetof +#define offsetof(STRUCTURE,FIELD) ((int)((char*)&((STRUCTURE*)0)->FIELD)) +#endif + +/* +** Macros to compute minimum and maximum of two numbers. +*/ +#ifndef MIN +# define MIN(A,B) ((A)<(B)?(A):(B)) +#endif +#ifndef MAX +# define MAX(A,B) ((A)>(B)?(A):(B)) +#endif + +/* +** Swap two objects of type TYPE. +*/ +#define SWAP(TYPE,A,B) {TYPE t=A; A=B; B=t;} + +/* +** Check to see if this machine uses EBCDIC. (Yes, believe it or +** not, there are still machines out there that use EBCDIC.) +*/ +#if 'A' == '\301' +# define SQLITE_EBCDIC 1 +#else +# define SQLITE_ASCII 1 +#endif + +/* +** Integers of known sizes. These typedefs might change for architectures +** where the sizes very. Preprocessor macros are available so that the +** types can be conveniently redefined at compile-type. Like this: +** +** cc '-DUINTPTR_TYPE=long long int' ... +*/ +#ifndef UINT32_TYPE +# ifdef HAVE_UINT32_T +# define UINT32_TYPE uint32_t +# else +# define UINT32_TYPE unsigned int +# endif +#endif +#ifndef UINT16_TYPE +# ifdef HAVE_UINT16_T +# define UINT16_TYPE uint16_t +# else +# define UINT16_TYPE unsigned short int +# endif +#endif +#ifndef INT16_TYPE +# ifdef HAVE_INT16_T +# define INT16_TYPE int16_t +# else +# define INT16_TYPE short int +# endif +#endif +#ifndef UINT8_TYPE +# ifdef HAVE_UINT8_T +# define UINT8_TYPE uint8_t +# else +# define UINT8_TYPE unsigned char +# endif +#endif +#ifndef INT8_TYPE +# ifdef HAVE_INT8_T +# define INT8_TYPE int8_t +# else +# define INT8_TYPE signed char +# endif +#endif +#ifndef LONGDOUBLE_TYPE +# define LONGDOUBLE_TYPE long double +#endif +typedef sqlite_int64 i64; /* 8-byte signed integer */ +typedef sqlite_uint64 u64; /* 8-byte unsigned integer */ +typedef UINT32_TYPE u32; /* 4-byte unsigned integer */ +typedef UINT16_TYPE u16; /* 2-byte unsigned integer */ +typedef INT16_TYPE i16; /* 2-byte signed integer */ +typedef UINT8_TYPE u8; /* 1-byte unsigned integer */ +typedef INT8_TYPE i8; /* 1-byte signed integer */ + +/* +** SQLITE_MAX_U32 is a u64 constant that is the maximum u64 value +** that can be stored in a u32 without loss of data. The value +** is 0x00000000ffffffff. But because of quirks of some compilers, we +** have to specify the value in the less intuitive manner shown: +*/ +#define SQLITE_MAX_U32 ((((u64)1)<<32)-1) + +/* +** The datatype used to store estimates of the number of rows in a +** table or index. This is an unsigned integer type. For 99.9% of +** the world, a 32-bit integer is sufficient. But a 64-bit integer +** can be used at compile-time if desired. +*/ +#ifdef SQLITE_64BIT_STATS + typedef u64 tRowcnt; /* 64-bit only if requested at compile-time */ +#else + typedef u32 tRowcnt; /* 32-bit is the default */ +#endif + +/* +** Estimated quantities used for query planning are stored as 16-bit +** logarithms. For quantity X, the value stored is 10*log2(X). This +** gives a possible range of values of approximately 1.0e986 to 1e-986. +** But the allowed values are "grainy". Not every value is representable. +** For example, quantities 16 and 17 are both represented by a LogEst +** of 40. However, since LogEst quantities are suppose to be estimates, +** not exact values, this imprecision is not a problem. +** +** "LogEst" is short for "Logarithmic Estimate". +** +** Examples: +** 1 -> 0 20 -> 43 10000 -> 132 +** 2 -> 10 25 -> 46 25000 -> 146 +** 3 -> 16 100 -> 66 1000000 -> 199 +** 4 -> 20 1000 -> 99 1048576 -> 200 +** 10 -> 33 1024 -> 100 4294967296 -> 320 +** +** The LogEst can be negative to indicate fractional values. +** Examples: +** +** 0.5 -> -10 0.1 -> -33 0.0625 -> -40 +*/ +typedef INT16_TYPE LogEst; + +/* +** Set the SQLITE_PTRSIZE macro to the number of bytes in a pointer +*/ +#ifndef SQLITE_PTRSIZE +# if defined(__SIZEOF_POINTER__) +# define SQLITE_PTRSIZE __SIZEOF_POINTER__ +# elif defined(i386) || defined(__i386__) || defined(_M_IX86) || \ + defined(_M_ARM) || defined(__arm__) || defined(__x86) || \ + (defined(__TOS_AIX__) && !defined(__64BIT__)) +# define SQLITE_PTRSIZE 4 +# else +# define SQLITE_PTRSIZE 8 +# endif +#endif + +/* The uptr type is an unsigned integer large enough to hold a pointer +*/ +#if defined(HAVE_STDINT_H) + typedef uintptr_t uptr; +#elif SQLITE_PTRSIZE==4 + typedef u32 uptr; +#else + typedef u64 uptr; +#endif + +/* +** The SQLITE_WITHIN(P,S,E) macro checks to see if pointer P points to +** something between S (inclusive) and E (exclusive). +** +** In other words, S is a buffer and E is a pointer to the first byte after +** the end of buffer S. This macro returns true if P points to something +** contained within the buffer S. +*/ +#define SQLITE_WITHIN(P,S,E) (((uptr)(P)>=(uptr)(S))&&((uptr)(P)<(uptr)(E))) + + +/* +** Macros to determine whether the machine is big or little endian, +** and whether or not that determination is run-time or compile-time. +** +** For best performance, an attempt is made to guess at the byte-order +** using C-preprocessor macros. If that is unsuccessful, or if +** -DSQLITE_BYTEORDER=0 is set, then byte-order is determined +** at run-time. +*/ +#ifndef SQLITE_BYTEORDER +# if defined(i386) || defined(__i386__) || defined(_M_IX86) || \ + defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) || \ + defined(_M_AMD64) || defined(_M_ARM) || defined(__x86) || \ + defined(__ARMEL__) || defined(__AARCH64EL__) || defined(_M_ARM64) +# define SQLITE_BYTEORDER 1234 +# elif defined(sparc) || defined(__ppc__) || \ + defined(__ARMEB__) || defined(__AARCH64EB__) +# define SQLITE_BYTEORDER 4321 +# else +# define SQLITE_BYTEORDER 0 +# endif +#endif +#if SQLITE_BYTEORDER==4321 +# define SQLITE_BIGENDIAN 1 +# define SQLITE_LITTLEENDIAN 0 +# define SQLITE_UTF16NATIVE SQLITE_UTF16BE +#elif SQLITE_BYTEORDER==1234 +# define SQLITE_BIGENDIAN 0 +# define SQLITE_LITTLEENDIAN 1 +# define SQLITE_UTF16NATIVE SQLITE_UTF16LE +#else +# ifdef SQLITE_AMALGAMATION + const int sqlite3one = 1; +# else + extern const int sqlite3one; +# endif +# define SQLITE_BIGENDIAN (*(char *)(&sqlite3one)==0) +# define SQLITE_LITTLEENDIAN (*(char *)(&sqlite3one)==1) +# define SQLITE_UTF16NATIVE (SQLITE_BIGENDIAN?SQLITE_UTF16BE:SQLITE_UTF16LE) +#endif + +/* +** Constants for the largest and smallest possible 64-bit signed integers. +** These macros are designed to work correctly on both 32-bit and 64-bit +** compilers. +*/ +#define LARGEST_INT64 (0xffffffff|(((i64)0x7fffffff)<<32)) +#define SMALLEST_INT64 (((i64)-1) - LARGEST_INT64) + +/* +** Round up a number to the next larger multiple of 8. This is used +** to force 8-byte alignment on 64-bit architectures. +*/ +#define ROUND8(x) (((x)+7)&~7) + +/* +** Round down to the nearest multiple of 8 +*/ +#define ROUNDDOWN8(x) ((x)&~7) + +/* +** Assert that the pointer X is aligned to an 8-byte boundary. This +** macro is used only within assert() to verify that the code gets +** all alignment restrictions correct. +** +** Except, if SQLITE_4_BYTE_ALIGNED_MALLOC is defined, then the +** underlying malloc() implementation might return us 4-byte aligned +** pointers. In that case, only verify 4-byte alignment. +*/ +#ifdef SQLITE_4_BYTE_ALIGNED_MALLOC +# define EIGHT_BYTE_ALIGNMENT(X) ((((char*)(X) - (char*)0)&3)==0) +#else +# define EIGHT_BYTE_ALIGNMENT(X) ((((char*)(X) - (char*)0)&7)==0) +#endif + +/* +** Disable MMAP on platforms where it is known to not work +*/ +#if defined(__OpenBSD__) || defined(__QNXNTO__) +# undef SQLITE_MAX_MMAP_SIZE +# define SQLITE_MAX_MMAP_SIZE 0 +#endif + +/* +** Default maximum size of memory used by memory-mapped I/O in the VFS +*/ +#ifdef __APPLE__ +# include +#endif +#ifndef SQLITE_MAX_MMAP_SIZE +# if defined(__linux__) \ + || defined(_WIN32) \ + || (defined(__APPLE__) && defined(__MACH__)) \ + || defined(__sun) \ + || defined(__FreeBSD__) \ + || defined(__DragonFly__) +# define SQLITE_MAX_MMAP_SIZE 0x7fff0000 /* 2147418112 */ +# else +# define SQLITE_MAX_MMAP_SIZE 0 +# endif +#endif + +/* +** The default MMAP_SIZE is zero on all platforms. Or, even if a larger +** default MMAP_SIZE is specified at compile-time, make sure that it does +** not exceed the maximum mmap size. +*/ +#ifndef SQLITE_DEFAULT_MMAP_SIZE +# define SQLITE_DEFAULT_MMAP_SIZE 0 +#endif +#if SQLITE_DEFAULT_MMAP_SIZE>SQLITE_MAX_MMAP_SIZE +# undef SQLITE_DEFAULT_MMAP_SIZE +# define SQLITE_DEFAULT_MMAP_SIZE SQLITE_MAX_MMAP_SIZE +#endif + +/* +** SELECTTRACE_ENABLED will be either 1 or 0 depending on whether or not +** the Select query generator tracing logic is turned on. +*/ +#if defined(SQLITE_ENABLE_SELECTTRACE) +# define SELECTTRACE_ENABLED 1 +#else +# define SELECTTRACE_ENABLED 0 +#endif + +/* +** An instance of the following structure is used to store the busy-handler +** callback for a given sqlite handle. +** +** The sqlite.busyHandler member of the sqlite struct contains the busy +** callback for the database handle. Each pager opened via the sqlite +** handle is passed a pointer to sqlite.busyHandler. The busy-handler +** callback is currently invoked only from within pager.c. +*/ +typedef struct BusyHandler BusyHandler; +struct BusyHandler { + int (*xBusyHandler)(void *,int); /* The busy callback */ + void *pBusyArg; /* First arg to busy callback */ + int nBusy; /* Incremented with each busy call */ + u8 bExtraFileArg; /* Include sqlite3_file as callback arg */ +}; + +/* +** Name of the master database table. The master database table +** is a special table that holds the names and attributes of all +** user tables and indices. +*/ +#define MASTER_NAME "sqlite_master" +#define TEMP_MASTER_NAME "sqlite_temp_master" + +/* +** The root-page of the master database table. +*/ +#define MASTER_ROOT 1 + +/* +** The name of the schema table. +*/ +#define SCHEMA_TABLE(x) ((!OMIT_TEMPDB)&&(x==1)?TEMP_MASTER_NAME:MASTER_NAME) + +/* +** A convenience macro that returns the number of elements in +** an array. +*/ +#define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0]))) + +/* +** Determine if the argument is a power of two +*/ +#define IsPowerOfTwo(X) (((X)&((X)-1))==0) + +/* +** The following value as a destructor means to use sqlite3DbFree(). +** The sqlite3DbFree() routine requires two parameters instead of the +** one parameter that destructors normally want. So we have to introduce +** this magic value that the code knows to handle differently. Any +** pointer will work here as long as it is distinct from SQLITE_STATIC +** and SQLITE_TRANSIENT. +*/ +#define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) + +/* +** When SQLITE_OMIT_WSD is defined, it means that the target platform does +** not support Writable Static Data (WSD) such as global and static variables. +** All variables must either be on the stack or dynamically allocated from +** the heap. When WSD is unsupported, the variable declarations scattered +** throughout the SQLite code must become constants instead. The SQLITE_WSD +** macro is used for this purpose. And instead of referencing the variable +** directly, we use its constant as a key to lookup the run-time allocated +** buffer that holds real variable. The constant is also the initializer +** for the run-time allocated buffer. +** +** In the usual case where WSD is supported, the SQLITE_WSD and GLOBAL +** macros become no-ops and have zero performance impact. +*/ +#ifdef SQLITE_OMIT_WSD + #define SQLITE_WSD const + #define GLOBAL(t,v) (*(t*)sqlite3_wsd_find((void*)&(v), sizeof(v))) + #define sqlite3GlobalConfig GLOBAL(struct Sqlite3Config, sqlite3Config) +SQLITE_API int sqlite3_wsd_init(int N, int J); +SQLITE_API void *sqlite3_wsd_find(void *K, int L); +#else + #define SQLITE_WSD + #define GLOBAL(t,v) v + #define sqlite3GlobalConfig sqlite3Config +#endif + +/* +** The following macros are used to suppress compiler warnings and to +** make it clear to human readers when a function parameter is deliberately +** left unused within the body of a function. This usually happens when +** a function is called via a function pointer. For example the +** implementation of an SQL aggregate step callback may not use the +** parameter indicating the number of arguments passed to the aggregate, +** if it knows that this is enforced elsewhere. +** +** When a function parameter is not used at all within the body of a function, +** it is generally named "NotUsed" or "NotUsed2" to make things even clearer. +** However, these macros may also be used to suppress warnings related to +** parameters that may or may not be used depending on compilation options. +** For example those parameters only used in assert() statements. In these +** cases the parameters are named as per the usual conventions. +*/ +#define UNUSED_PARAMETER(x) (void)(x) +#define UNUSED_PARAMETER2(x,y) UNUSED_PARAMETER(x),UNUSED_PARAMETER(y) + +/* +** Forward references to structures +*/ +typedef struct AggInfo AggInfo; +typedef struct AuthContext AuthContext; +typedef struct AutoincInfo AutoincInfo; +typedef struct Bitvec Bitvec; +typedef struct CollSeq CollSeq; +typedef struct Column Column; +typedef struct Db Db; +typedef struct Schema Schema; +typedef struct Expr Expr; +typedef struct ExprList ExprList; +typedef struct FKey FKey; +typedef struct FuncDestructor FuncDestructor; +typedef struct FuncDef FuncDef; +typedef struct FuncDefHash FuncDefHash; +typedef struct IdList IdList; +typedef struct Index Index; +typedef struct IndexSample IndexSample; +typedef struct KeyClass KeyClass; +typedef struct KeyInfo KeyInfo; +typedef struct Lookaside Lookaside; +typedef struct LookasideSlot LookasideSlot; +typedef struct Module Module; +typedef struct NameContext NameContext; +typedef struct Parse Parse; +typedef struct PreUpdate PreUpdate; +typedef struct PrintfArguments PrintfArguments; +typedef struct RenameToken RenameToken; +typedef struct RowSet RowSet; +typedef struct Savepoint Savepoint; +typedef struct Select Select; +typedef struct SQLiteThread SQLiteThread; +typedef struct SelectDest SelectDest; +typedef struct SrcList SrcList; +typedef struct sqlite3_str StrAccum; /* Internal alias for sqlite3_str */ +typedef struct Table Table; +typedef struct TableLock TableLock; +typedef struct Token Token; +typedef struct TreeView TreeView; +typedef struct Trigger Trigger; +typedef struct TriggerPrg TriggerPrg; +typedef struct TriggerStep TriggerStep; +typedef struct UnpackedRecord UnpackedRecord; +typedef struct Upsert Upsert; +typedef struct VTable VTable; +typedef struct VtabCtx VtabCtx; +typedef struct Walker Walker; +typedef struct WhereInfo WhereInfo; +typedef struct Window Window; +typedef struct With With; + + +/* +** The bitmask datatype defined below is used for various optimizations. +** +** Changing this from a 64-bit to a 32-bit type limits the number of +** tables in a join to 32 instead of 64. But it also reduces the size +** of the library by 738 bytes on ix86. +*/ +#ifdef SQLITE_BITMASK_TYPE + typedef SQLITE_BITMASK_TYPE Bitmask; +#else + typedef u64 Bitmask; +#endif + +/* +** The number of bits in a Bitmask. "BMS" means "BitMask Size". +*/ +#define BMS ((int)(sizeof(Bitmask)*8)) + +/* +** A bit in a Bitmask +*/ +#define MASKBIT(n) (((Bitmask)1)<<(n)) +#define MASKBIT32(n) (((unsigned int)1)<<(n)) +#define ALLBITS ((Bitmask)-1) + +/* A VList object records a mapping between parameters/variables/wildcards +** in the SQL statement (such as $abc, @pqr, or :xyz) and the integer +** variable number associated with that parameter. See the format description +** on the sqlite3VListAdd() routine for more information. A VList is really +** just an array of integers. +*/ +typedef int VList; + +/* +** Defer sourcing vdbe.h and btree.h until after the "u8" and +** "BusyHandler" typedefs. vdbe.h also requires a few of the opaque +** pointer types (i.e. FuncDef) defined above. +*/ +/************** Include btree.h in the middle of sqliteInt.h *****************/ +/************** Begin file btree.h *******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This header file defines the interface that the sqlite B-Tree file +** subsystem. See comments in the source code for a detailed description +** of what each interface routine does. +*/ +#ifndef SQLITE_BTREE_H +#define SQLITE_BTREE_H + +/* TODO: This definition is just included so other modules compile. It +** needs to be revisited. +*/ +#define SQLITE_N_BTREE_META 16 + +/* +** If defined as non-zero, auto-vacuum is enabled by default. Otherwise +** it must be turned on for each database using "PRAGMA auto_vacuum = 1". +*/ +#ifndef SQLITE_DEFAULT_AUTOVACUUM + #define SQLITE_DEFAULT_AUTOVACUUM 0 +#endif + +#define BTREE_AUTOVACUUM_NONE 0 /* Do not do auto-vacuum */ +#define BTREE_AUTOVACUUM_FULL 1 /* Do full auto-vacuum */ +#define BTREE_AUTOVACUUM_INCR 2 /* Incremental vacuum */ + +/* +** Forward declarations of structure +*/ +typedef struct Btree Btree; +typedef struct BtCursor BtCursor; +typedef struct BtShared BtShared; +typedef struct BtreePayload BtreePayload; + + +SQLITE_PRIVATE int sqlite3BtreeOpen( + sqlite3_vfs *pVfs, /* VFS to use with this b-tree */ + const char *zFilename, /* Name of database file to open */ + sqlite3 *db, /* Associated database connection */ + Btree **ppBtree, /* Return open Btree* here */ + int flags, /* Flags */ + int vfsFlags /* Flags passed through to VFS open */ +); + +/* The flags parameter to sqlite3BtreeOpen can be the bitwise or of the +** following values. +** +** NOTE: These values must match the corresponding PAGER_ values in +** pager.h. +*/ +#define BTREE_OMIT_JOURNAL 1 /* Do not create or use a rollback journal */ +#define BTREE_MEMORY 2 /* This is an in-memory DB */ +#define BTREE_SINGLE 4 /* The file contains at most 1 b-tree */ +#define BTREE_UNORDERED 8 /* Use of a hash implementation is OK */ + +SQLITE_PRIVATE int sqlite3BtreeClose(Btree*); +SQLITE_PRIVATE int sqlite3BtreeSetCacheSize(Btree*,int); +SQLITE_PRIVATE int sqlite3BtreeSetSpillSize(Btree*,int); +#if SQLITE_MAX_MMAP_SIZE>0 +SQLITE_PRIVATE int sqlite3BtreeSetMmapLimit(Btree*,sqlite3_int64); +#endif +SQLITE_PRIVATE int sqlite3BtreeSetPagerFlags(Btree*,unsigned); +SQLITE_PRIVATE int sqlite3BtreeSetPageSize(Btree *p, int nPagesize, int nReserve, int eFix); +SQLITE_PRIVATE int sqlite3BtreeGetPageSize(Btree*); +SQLITE_PRIVATE int sqlite3BtreeMaxPageCount(Btree*,int); +SQLITE_PRIVATE u32 sqlite3BtreeLastPage(Btree*); +SQLITE_PRIVATE int sqlite3BtreeSecureDelete(Btree*,int); +SQLITE_PRIVATE int sqlite3BtreeGetOptimalReserve(Btree*); +SQLITE_PRIVATE int sqlite3BtreeGetReserveNoMutex(Btree *p); +SQLITE_PRIVATE int sqlite3BtreeSetAutoVacuum(Btree *, int); +SQLITE_PRIVATE int sqlite3BtreeGetAutoVacuum(Btree *); +SQLITE_PRIVATE int sqlite3BtreeBeginTrans(Btree*,int,int*); +SQLITE_PRIVATE int sqlite3BtreeCommitPhaseOne(Btree*, const char *zMaster); +SQLITE_PRIVATE int sqlite3BtreeCommitPhaseTwo(Btree*, int); +SQLITE_PRIVATE int sqlite3BtreeCommit(Btree*); +SQLITE_PRIVATE int sqlite3BtreeRollback(Btree*,int,int); +SQLITE_PRIVATE int sqlite3BtreeBeginStmt(Btree*,int); +SQLITE_PRIVATE int sqlite3BtreeCreateTable(Btree*, int*, int flags); +SQLITE_PRIVATE int sqlite3BtreeIsInTrans(Btree*); +SQLITE_PRIVATE int sqlite3BtreeIsInReadTrans(Btree*); +SQLITE_PRIVATE int sqlite3BtreeIsInBackup(Btree*); +SQLITE_PRIVATE void *sqlite3BtreeSchema(Btree *, int, void(*)(void *)); +SQLITE_PRIVATE int sqlite3BtreeSchemaLocked(Btree *pBtree); +#ifndef SQLITE_OMIT_SHARED_CACHE +SQLITE_PRIVATE int sqlite3BtreeLockTable(Btree *pBtree, int iTab, u8 isWriteLock); +#endif +SQLITE_PRIVATE int sqlite3BtreeSavepoint(Btree *, int, int); + +SQLITE_PRIVATE const char *sqlite3BtreeGetFilename(Btree *); +SQLITE_PRIVATE const char *sqlite3BtreeGetJournalname(Btree *); +SQLITE_PRIVATE int sqlite3BtreeCopyFile(Btree *, Btree *); + +SQLITE_PRIVATE int sqlite3BtreeIncrVacuum(Btree *); + +/* The flags parameter to sqlite3BtreeCreateTable can be the bitwise OR +** of the flags shown below. +** +** Every SQLite table must have either BTREE_INTKEY or BTREE_BLOBKEY set. +** With BTREE_INTKEY, the table key is a 64-bit integer and arbitrary data +** is stored in the leaves. (BTREE_INTKEY is used for SQL tables.) With +** BTREE_BLOBKEY, the key is an arbitrary BLOB and no content is stored +** anywhere - the key is the content. (BTREE_BLOBKEY is used for SQL +** indices.) +*/ +#define BTREE_INTKEY 1 /* Table has only 64-bit signed integer keys */ +#define BTREE_BLOBKEY 2 /* Table has keys only - no data */ + +SQLITE_PRIVATE int sqlite3BtreeDropTable(Btree*, int, int*); +SQLITE_PRIVATE int sqlite3BtreeClearTable(Btree*, int, int*); +SQLITE_PRIVATE int sqlite3BtreeClearTableOfCursor(BtCursor*); +SQLITE_PRIVATE int sqlite3BtreeTripAllCursors(Btree*, int, int); + +SQLITE_PRIVATE void sqlite3BtreeGetMeta(Btree *pBtree, int idx, u32 *pValue); +SQLITE_PRIVATE int sqlite3BtreeUpdateMeta(Btree*, int idx, u32 value); + +SQLITE_PRIVATE int sqlite3BtreeNewDb(Btree *p); + +/* +** The second parameter to sqlite3BtreeGetMeta or sqlite3BtreeUpdateMeta +** should be one of the following values. The integer values are assigned +** to constants so that the offset of the corresponding field in an +** SQLite database header may be found using the following formula: +** +** offset = 36 + (idx * 4) +** +** For example, the free-page-count field is located at byte offset 36 of +** the database file header. The incr-vacuum-flag field is located at +** byte offset 64 (== 36+4*7). +** +** The BTREE_DATA_VERSION value is not really a value stored in the header. +** It is a read-only number computed by the pager. But we merge it with +** the header value access routines since its access pattern is the same. +** Call it a "virtual meta value". +*/ +#define BTREE_FREE_PAGE_COUNT 0 +#define BTREE_SCHEMA_VERSION 1 +#define BTREE_FILE_FORMAT 2 +#define BTREE_DEFAULT_CACHE_SIZE 3 +#define BTREE_LARGEST_ROOT_PAGE 4 +#define BTREE_TEXT_ENCODING 5 +#define BTREE_USER_VERSION 6 +#define BTREE_INCR_VACUUM 7 +#define BTREE_APPLICATION_ID 8 +#define BTREE_DATA_VERSION 15 /* A virtual meta-value */ + +/* +** Kinds of hints that can be passed into the sqlite3BtreeCursorHint() +** interface. +** +** BTREE_HINT_RANGE (arguments: Expr*, Mem*) +** +** The first argument is an Expr* (which is guaranteed to be constant for +** the lifetime of the cursor) that defines constraints on which rows +** might be fetched with this cursor. The Expr* tree may contain +** TK_REGISTER nodes that refer to values stored in the array of registers +** passed as the second parameter. In other words, if Expr.op==TK_REGISTER +** then the value of the node is the value in Mem[pExpr.iTable]. Any +** TK_COLUMN node in the expression tree refers to the Expr.iColumn-th +** column of the b-tree of the cursor. The Expr tree will not contain +** any function calls nor subqueries nor references to b-trees other than +** the cursor being hinted. +** +** The design of the _RANGE hint is aid b-tree implementations that try +** to prefetch content from remote machines - to provide those +** implementations with limits on what needs to be prefetched and thereby +** reduce network bandwidth. +** +** Note that BTREE_HINT_FLAGS with BTREE_BULKLOAD is the only hint used by +** standard SQLite. The other hints are provided for extentions that use +** the SQLite parser and code generator but substitute their own storage +** engine. +*/ +#define BTREE_HINT_RANGE 0 /* Range constraints on queries */ + +/* +** Values that may be OR'd together to form the argument to the +** BTREE_HINT_FLAGS hint for sqlite3BtreeCursorHint(): +** +** The BTREE_BULKLOAD flag is set on index cursors when the index is going +** to be filled with content that is already in sorted order. +** +** The BTREE_SEEK_EQ flag is set on cursors that will get OP_SeekGE or +** OP_SeekLE opcodes for a range search, but where the range of entries +** selected will all have the same key. In other words, the cursor will +** be used only for equality key searches. +** +*/ +#define BTREE_BULKLOAD 0x00000001 /* Used to full index in sorted order */ +#define BTREE_SEEK_EQ 0x00000002 /* EQ seeks only - no range seeks */ + +/* +** Flags passed as the third argument to sqlite3BtreeCursor(). +** +** For read-only cursors the wrFlag argument is always zero. For read-write +** cursors it may be set to either (BTREE_WRCSR|BTREE_FORDELETE) or just +** (BTREE_WRCSR). If the BTREE_FORDELETE bit is set, then the cursor will +** only be used by SQLite for the following: +** +** * to seek to and then delete specific entries, and/or +** +** * to read values that will be used to create keys that other +** BTREE_FORDELETE cursors will seek to and delete. +** +** The BTREE_FORDELETE flag is an optimization hint. It is not used by +** by this, the native b-tree engine of SQLite, but it is available to +** alternative storage engines that might be substituted in place of this +** b-tree system. For alternative storage engines in which a delete of +** the main table row automatically deletes corresponding index rows, +** the FORDELETE flag hint allows those alternative storage engines to +** skip a lot of work. Namely: FORDELETE cursors may treat all SEEK +** and DELETE operations as no-ops, and any READ operation against a +** FORDELETE cursor may return a null row: 0x01 0x00. +*/ +#define BTREE_WRCSR 0x00000004 /* read-write cursor */ +#define BTREE_FORDELETE 0x00000008 /* Cursor is for seek/delete only */ + +SQLITE_PRIVATE int sqlite3BtreeCursor( + Btree*, /* BTree containing table to open */ + int iTable, /* Index of root page */ + int wrFlag, /* 1 for writing. 0 for read-only */ + struct KeyInfo*, /* First argument to compare function */ + BtCursor *pCursor /* Space to write cursor structure */ +); +SQLITE_PRIVATE BtCursor *sqlite3BtreeFakeValidCursor(void); +SQLITE_PRIVATE int sqlite3BtreeCursorSize(void); +SQLITE_PRIVATE void sqlite3BtreeCursorZero(BtCursor*); +SQLITE_PRIVATE void sqlite3BtreeCursorHintFlags(BtCursor*, unsigned); +#ifdef SQLITE_ENABLE_CURSOR_HINTS +SQLITE_PRIVATE void sqlite3BtreeCursorHint(BtCursor*, int, ...); +#endif + +SQLITE_PRIVATE int sqlite3BtreeCloseCursor(BtCursor*); +SQLITE_PRIVATE int sqlite3BtreeMovetoUnpacked( + BtCursor*, + UnpackedRecord *pUnKey, + i64 intKey, + int bias, + int *pRes +); +SQLITE_PRIVATE int sqlite3BtreeCursorHasMoved(BtCursor*); +SQLITE_PRIVATE int sqlite3BtreeCursorRestore(BtCursor*, int*); +SQLITE_PRIVATE int sqlite3BtreeDelete(BtCursor*, u8 flags); + +/* Allowed flags for sqlite3BtreeDelete() and sqlite3BtreeInsert() */ +#define BTREE_SAVEPOSITION 0x02 /* Leave cursor pointing at NEXT or PREV */ +#define BTREE_AUXDELETE 0x04 /* not the primary delete operation */ +#define BTREE_APPEND 0x08 /* Insert is likely an append */ + +/* An instance of the BtreePayload object describes the content of a single +** entry in either an index or table btree. +** +** Index btrees (used for indexes and also WITHOUT ROWID tables) contain +** an arbitrary key and no data. These btrees have pKey,nKey set to the +** key and the pData,nData,nZero fields are uninitialized. The aMem,nMem +** fields give an array of Mem objects that are a decomposition of the key. +** The nMem field might be zero, indicating that no decomposition is available. +** +** Table btrees (used for rowid tables) contain an integer rowid used as +** the key and passed in the nKey field. The pKey field is zero. +** pData,nData hold the content of the new entry. nZero extra zero bytes +** are appended to the end of the content when constructing the entry. +** The aMem,nMem fields are uninitialized for table btrees. +** +** Field usage summary: +** +** Table BTrees Index Btrees +** +** pKey always NULL encoded key +** nKey the ROWID length of pKey +** pData data not used +** aMem not used decomposed key value +** nMem not used entries in aMem +** nData length of pData not used +** nZero extra zeros after pData not used +** +** This object is used to pass information into sqlite3BtreeInsert(). The +** same information used to be passed as five separate parameters. But placing +** the information into this object helps to keep the interface more +** organized and understandable, and it also helps the resulting code to +** run a little faster by using fewer registers for parameter passing. +*/ +struct BtreePayload { + const void *pKey; /* Key content for indexes. NULL for tables */ + sqlite3_int64 nKey; /* Size of pKey for indexes. PRIMARY KEY for tabs */ + const void *pData; /* Data for tables. */ + sqlite3_value *aMem; /* First of nMem value in the unpacked pKey */ + u16 nMem; /* Number of aMem[] value. Might be zero */ + int nData; /* Size of pData. 0 if none. */ + int nZero; /* Extra zero data appended after pData,nData */ +}; + +SQLITE_PRIVATE int sqlite3BtreeInsert(BtCursor*, const BtreePayload *pPayload, + int flags, int seekResult); +SQLITE_PRIVATE int sqlite3BtreeFirst(BtCursor*, int *pRes); +SQLITE_PRIVATE int sqlite3BtreeLast(BtCursor*, int *pRes); +SQLITE_PRIVATE int sqlite3BtreeNext(BtCursor*, int flags); +SQLITE_PRIVATE int sqlite3BtreeEof(BtCursor*); +SQLITE_PRIVATE int sqlite3BtreePrevious(BtCursor*, int flags); +SQLITE_PRIVATE i64 sqlite3BtreeIntegerKey(BtCursor*); +#ifdef SQLITE_ENABLE_OFFSET_SQL_FUNC +SQLITE_PRIVATE i64 sqlite3BtreeOffset(BtCursor*); +#endif +SQLITE_PRIVATE int sqlite3BtreePayload(BtCursor*, u32 offset, u32 amt, void*); +SQLITE_PRIVATE const void *sqlite3BtreePayloadFetch(BtCursor*, u32 *pAmt); +SQLITE_PRIVATE u32 sqlite3BtreePayloadSize(BtCursor*); +SQLITE_PRIVATE sqlite3_int64 sqlite3BtreeMaxRecordSize(BtCursor*); + +SQLITE_PRIVATE char *sqlite3BtreeIntegrityCheck(Btree*, int *aRoot, int nRoot, int, int*); +SQLITE_PRIVATE struct Pager *sqlite3BtreePager(Btree*); +SQLITE_PRIVATE i64 sqlite3BtreeRowCountEst(BtCursor*); + +#ifndef SQLITE_OMIT_INCRBLOB +SQLITE_PRIVATE int sqlite3BtreePayloadChecked(BtCursor*, u32 offset, u32 amt, void*); +SQLITE_PRIVATE int sqlite3BtreePutData(BtCursor*, u32 offset, u32 amt, void*); +SQLITE_PRIVATE void sqlite3BtreeIncrblobCursor(BtCursor *); +#endif +SQLITE_PRIVATE void sqlite3BtreeClearCursor(BtCursor *); +SQLITE_PRIVATE int sqlite3BtreeSetVersion(Btree *pBt, int iVersion); +SQLITE_PRIVATE int sqlite3BtreeCursorHasHint(BtCursor*, unsigned int mask); +SQLITE_PRIVATE int sqlite3BtreeIsReadonly(Btree *pBt); +SQLITE_PRIVATE int sqlite3HeaderSizeBtree(void); + +#ifndef NDEBUG +SQLITE_PRIVATE int sqlite3BtreeCursorIsValid(BtCursor*); +#endif +SQLITE_PRIVATE int sqlite3BtreeCursorIsValidNN(BtCursor*); + +#ifndef SQLITE_OMIT_BTREECOUNT +SQLITE_PRIVATE int sqlite3BtreeCount(BtCursor *, i64 *); +#endif + +#ifdef SQLITE_TEST +SQLITE_PRIVATE int sqlite3BtreeCursorInfo(BtCursor*, int*, int); +SQLITE_PRIVATE void sqlite3BtreeCursorList(Btree*); +#endif + +#ifndef SQLITE_OMIT_WAL +SQLITE_PRIVATE int sqlite3BtreeCheckpoint(Btree*, int, int *, int *); +#endif + +/* +** If we are not using shared cache, then there is no need to +** use mutexes to access the BtShared structures. So make the +** Enter and Leave procedures no-ops. +*/ +#ifndef SQLITE_OMIT_SHARED_CACHE +SQLITE_PRIVATE void sqlite3BtreeEnter(Btree*); +SQLITE_PRIVATE void sqlite3BtreeEnterAll(sqlite3*); +SQLITE_PRIVATE int sqlite3BtreeSharable(Btree*); +SQLITE_PRIVATE void sqlite3BtreeEnterCursor(BtCursor*); +SQLITE_PRIVATE int sqlite3BtreeConnectionCount(Btree*); +#else +# define sqlite3BtreeEnter(X) +# define sqlite3BtreeEnterAll(X) +# define sqlite3BtreeSharable(X) 0 +# define sqlite3BtreeEnterCursor(X) +# define sqlite3BtreeConnectionCount(X) 1 +#endif + +#if !defined(SQLITE_OMIT_SHARED_CACHE) && SQLITE_THREADSAFE +SQLITE_PRIVATE void sqlite3BtreeLeave(Btree*); +SQLITE_PRIVATE void sqlite3BtreeLeaveCursor(BtCursor*); +SQLITE_PRIVATE void sqlite3BtreeLeaveAll(sqlite3*); +#ifndef NDEBUG + /* These routines are used inside assert() statements only. */ +SQLITE_PRIVATE int sqlite3BtreeHoldsMutex(Btree*); +SQLITE_PRIVATE int sqlite3BtreeHoldsAllMutexes(sqlite3*); +SQLITE_PRIVATE int sqlite3SchemaMutexHeld(sqlite3*,int,Schema*); +#endif +#else + +# define sqlite3BtreeLeave(X) +# define sqlite3BtreeLeaveCursor(X) +# define sqlite3BtreeLeaveAll(X) + +# define sqlite3BtreeHoldsMutex(X) 1 +# define sqlite3BtreeHoldsAllMutexes(X) 1 +# define sqlite3SchemaMutexHeld(X,Y,Z) 1 +#endif + + +#endif /* SQLITE_BTREE_H */ + +/************** End of btree.h ***********************************************/ +/************** Continuing where we left off in sqliteInt.h ******************/ +/************** Include vdbe.h in the middle of sqliteInt.h ******************/ +/************** Begin file vdbe.h ********************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** Header file for the Virtual DataBase Engine (VDBE) +** +** This header defines the interface to the virtual database engine +** or VDBE. The VDBE implements an abstract machine that runs a +** simple program to access and modify the underlying database. +*/ +#ifndef SQLITE_VDBE_H +#define SQLITE_VDBE_H +/* #include */ + +/* +** A single VDBE is an opaque structure named "Vdbe". Only routines +** in the source file sqliteVdbe.c are allowed to see the insides +** of this structure. +*/ +typedef struct Vdbe Vdbe; + +/* +** The names of the following types declared in vdbeInt.h are required +** for the VdbeOp definition. +*/ +typedef struct sqlite3_value Mem; +typedef struct SubProgram SubProgram; + +/* +** A single instruction of the virtual machine has an opcode +** and as many as three operands. The instruction is recorded +** as an instance of the following structure: +*/ +struct VdbeOp { + u8 opcode; /* What operation to perform */ + signed char p4type; /* One of the P4_xxx constants for p4 */ + u16 p5; /* Fifth parameter is an unsigned 16-bit integer */ + int p1; /* First operand */ + int p2; /* Second parameter (often the jump destination) */ + int p3; /* The third parameter */ + union p4union { /* fourth parameter */ + int i; /* Integer value if p4type==P4_INT32 */ + void *p; /* Generic pointer */ + char *z; /* Pointer to data for string (char array) types */ + i64 *pI64; /* Used when p4type is P4_INT64 */ + double *pReal; /* Used when p4type is P4_REAL */ + FuncDef *pFunc; /* Used when p4type is P4_FUNCDEF */ + sqlite3_context *pCtx; /* Used when p4type is P4_FUNCCTX */ + CollSeq *pColl; /* Used when p4type is P4_COLLSEQ */ + Mem *pMem; /* Used when p4type is P4_MEM */ + VTable *pVtab; /* Used when p4type is P4_VTAB */ + KeyInfo *pKeyInfo; /* Used when p4type is P4_KEYINFO */ + int *ai; /* Used when p4type is P4_INTARRAY */ + SubProgram *pProgram; /* Used when p4type is P4_SUBPROGRAM */ + Table *pTab; /* Used when p4type is P4_TABLE */ +#ifdef SQLITE_ENABLE_CURSOR_HINTS + Expr *pExpr; /* Used when p4type is P4_EXPR */ +#endif + int (*xAdvance)(BtCursor *, int); + } p4; +#ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS + char *zComment; /* Comment to improve readability */ +#endif +#ifdef VDBE_PROFILE + u32 cnt; /* Number of times this instruction was executed */ + u64 cycles; /* Total time spent executing this instruction */ +#endif +#ifdef SQLITE_VDBE_COVERAGE + u32 iSrcLine; /* Source-code line that generated this opcode + ** with flags in the upper 8 bits */ +#endif +}; +typedef struct VdbeOp VdbeOp; + + +/* +** A sub-routine used to implement a trigger program. +*/ +struct SubProgram { + VdbeOp *aOp; /* Array of opcodes for sub-program */ + int nOp; /* Elements in aOp[] */ + int nMem; /* Number of memory cells required */ + int nCsr; /* Number of cursors required */ + u8 *aOnce; /* Array of OP_Once flags */ + void *token; /* id that may be used to recursive triggers */ + SubProgram *pNext; /* Next sub-program already visited */ +}; + +/* +** A smaller version of VdbeOp used for the VdbeAddOpList() function because +** it takes up less space. +*/ +struct VdbeOpList { + u8 opcode; /* What operation to perform */ + signed char p1; /* First operand */ + signed char p2; /* Second parameter (often the jump destination) */ + signed char p3; /* Third parameter */ +}; +typedef struct VdbeOpList VdbeOpList; + +/* +** Allowed values of VdbeOp.p4type +*/ +#define P4_NOTUSED 0 /* The P4 parameter is not used */ +#define P4_TRANSIENT 0 /* P4 is a pointer to a transient string */ +#define P4_STATIC (-1) /* Pointer to a static string */ +#define P4_COLLSEQ (-2) /* P4 is a pointer to a CollSeq structure */ +#define P4_INT32 (-3) /* P4 is a 32-bit signed integer */ +#define P4_SUBPROGRAM (-4) /* P4 is a pointer to a SubProgram structure */ +#define P4_ADVANCE (-5) /* P4 is a pointer to BtreeNext() or BtreePrev() */ +#define P4_TABLE (-6) /* P4 is a pointer to a Table structure */ +/* Above do not own any resources. Must free those below */ +#define P4_FREE_IF_LE (-7) +#define P4_DYNAMIC (-7) /* Pointer to memory from sqliteMalloc() */ +#define P4_FUNCDEF (-8) /* P4 is a pointer to a FuncDef structure */ +#define P4_KEYINFO (-9) /* P4 is a pointer to a KeyInfo structure */ +#define P4_EXPR (-10) /* P4 is a pointer to an Expr tree */ +#define P4_MEM (-11) /* P4 is a pointer to a Mem* structure */ +#define P4_VTAB (-12) /* P4 is a pointer to an sqlite3_vtab structure */ +#define P4_REAL (-13) /* P4 is a 64-bit floating point value */ +#define P4_INT64 (-14) /* P4 is a 64-bit signed integer */ +#define P4_INTARRAY (-15) /* P4 is a vector of 32-bit integers */ +#define P4_FUNCCTX (-16) /* P4 is a pointer to an sqlite3_context object */ +#define P4_DYNBLOB (-17) /* Pointer to memory from sqliteMalloc() */ + +/* Error message codes for OP_Halt */ +#define P5_ConstraintNotNull 1 +#define P5_ConstraintUnique 2 +#define P5_ConstraintCheck 3 +#define P5_ConstraintFK 4 + +/* +** The Vdbe.aColName array contains 5n Mem structures, where n is the +** number of columns of data returned by the statement. +*/ +#define COLNAME_NAME 0 +#define COLNAME_DECLTYPE 1 +#define COLNAME_DATABASE 2 +#define COLNAME_TABLE 3 +#define COLNAME_COLUMN 4 +#ifdef SQLITE_ENABLE_COLUMN_METADATA +# define COLNAME_N 5 /* Number of COLNAME_xxx symbols */ +#else +# ifdef SQLITE_OMIT_DECLTYPE +# define COLNAME_N 1 /* Store only the name */ +# else +# define COLNAME_N 2 /* Store the name and decltype */ +# endif +#endif + +/* +** The following macro converts a label returned by sqlite3VdbeMakeLabel() +** into an index into the Parse.aLabel[] array that contains the resolved +** address of that label. +*/ +#define ADDR(X) (~(X)) + +/* +** The makefile scans the vdbe.c source file and creates the "opcodes.h" +** header file that defines a number for each opcode used by the VDBE. +*/ +/************** Include opcodes.h in the middle of vdbe.h ********************/ +/************** Begin file opcodes.h *****************************************/ +/* Automatically generated. Do not edit */ +/* See the tool/mkopcodeh.tcl script for details */ +#define OP_Savepoint 0 +#define OP_AutoCommit 1 +#define OP_Transaction 2 +#define OP_SorterNext 3 /* jump */ +#define OP_Prev 4 /* jump */ +#define OP_Next 5 /* jump */ +#define OP_Checkpoint 6 +#define OP_JournalMode 7 +#define OP_Vacuum 8 +#define OP_VFilter 9 /* jump, synopsis: iplan=r[P3] zplan='P4' */ +#define OP_VUpdate 10 /* synopsis: data=r[P3@P2] */ +#define OP_Goto 11 /* jump */ +#define OP_Gosub 12 /* jump */ +#define OP_InitCoroutine 13 /* jump */ +#define OP_Yield 14 /* jump */ +#define OP_MustBeInt 15 /* jump */ +#define OP_Jump 16 /* jump */ +#define OP_Once 17 /* jump */ +#define OP_If 18 /* jump */ +#define OP_Not 19 /* same as TK_NOT, synopsis: r[P2]= !r[P1] */ +#define OP_IfNot 20 /* jump */ +#define OP_IfNullRow 21 /* jump, synopsis: if P1.nullRow then r[P3]=NULL, goto P2 */ +#define OP_SeekLT 22 /* jump, synopsis: key=r[P3@P4] */ +#define OP_SeekLE 23 /* jump, synopsis: key=r[P3@P4] */ +#define OP_SeekGE 24 /* jump, synopsis: key=r[P3@P4] */ +#define OP_SeekGT 25 /* jump, synopsis: key=r[P3@P4] */ +#define OP_IfNoHope 26 /* jump, synopsis: key=r[P3@P4] */ +#define OP_NoConflict 27 /* jump, synopsis: key=r[P3@P4] */ +#define OP_NotFound 28 /* jump, synopsis: key=r[P3@P4] */ +#define OP_Found 29 /* jump, synopsis: key=r[P3@P4] */ +#define OP_SeekRowid 30 /* jump, synopsis: intkey=r[P3] */ +#define OP_NotExists 31 /* jump, synopsis: intkey=r[P3] */ +#define OP_Last 32 /* jump */ +#define OP_IfSmaller 33 /* jump */ +#define OP_SorterSort 34 /* jump */ +#define OP_Sort 35 /* jump */ +#define OP_Rewind 36 /* jump */ +#define OP_IdxLE 37 /* jump, synopsis: key=r[P3@P4] */ +#define OP_IdxGT 38 /* jump, synopsis: key=r[P3@P4] */ +#define OP_IdxLT 39 /* jump, synopsis: key=r[P3@P4] */ +#define OP_IdxGE 40 /* jump, synopsis: key=r[P3@P4] */ +#define OP_RowSetRead 41 /* jump, synopsis: r[P3]=rowset(P1) */ +#define OP_RowSetTest 42 /* jump, synopsis: if r[P3] in rowset(P1) goto P2 */ +#define OP_Or 43 /* same as TK_OR, synopsis: r[P3]=(r[P1] || r[P2]) */ +#define OP_And 44 /* same as TK_AND, synopsis: r[P3]=(r[P1] && r[P2]) */ +#define OP_Program 45 /* jump */ +#define OP_FkIfZero 46 /* jump, synopsis: if fkctr[P1]==0 goto P2 */ +#define OP_IfPos 47 /* jump, synopsis: if r[P1]>0 then r[P1]-=P3, goto P2 */ +#define OP_IfNotZero 48 /* jump, synopsis: if r[P1]!=0 then r[P1]--, goto P2 */ +#define OP_DecrJumpZero 49 /* jump, synopsis: if (--r[P1])==0 goto P2 */ +#define OP_IsNull 50 /* jump, same as TK_ISNULL, synopsis: if r[P1]==NULL goto P2 */ +#define OP_NotNull 51 /* jump, same as TK_NOTNULL, synopsis: if r[P1]!=NULL goto P2 */ +#define OP_Ne 52 /* jump, same as TK_NE, synopsis: IF r[P3]!=r[P1] */ +#define OP_Eq 53 /* jump, same as TK_EQ, synopsis: IF r[P3]==r[P1] */ +#define OP_Gt 54 /* jump, same as TK_GT, synopsis: IF r[P3]>r[P1] */ +#define OP_Le 55 /* jump, same as TK_LE, synopsis: IF r[P3]<=r[P1] */ +#define OP_Lt 56 /* jump, same as TK_LT, synopsis: IF r[P3]=r[P1] */ +#define OP_ElseNotEq 58 /* jump, same as TK_ESCAPE */ +#define OP_IncrVacuum 59 /* jump */ +#define OP_VNext 60 /* jump */ +#define OP_Init 61 /* jump, synopsis: Start at P2 */ +#define OP_PureFunc0 62 +#define OP_Function0 63 /* synopsis: r[P3]=func(r[P2@P5]) */ +#define OP_PureFunc 64 +#define OP_Function 65 /* synopsis: r[P3]=func(r[P2@P5]) */ +#define OP_Return 66 +#define OP_EndCoroutine 67 +#define OP_HaltIfNull 68 /* synopsis: if r[P3]=null halt */ +#define OP_Halt 69 +#define OP_Integer 70 /* synopsis: r[P2]=P1 */ +#define OP_Int64 71 /* synopsis: r[P2]=P4 */ +#define OP_String 72 /* synopsis: r[P2]='P4' (len=P1) */ +#define OP_Null 73 /* synopsis: r[P2..P3]=NULL */ +#define OP_SoftNull 74 /* synopsis: r[P1]=NULL */ +#define OP_Blob 75 /* synopsis: r[P2]=P4 (len=P1) */ +#define OP_Variable 76 /* synopsis: r[P2]=parameter(P1,P4) */ +#define OP_Move 77 /* synopsis: r[P2@P3]=r[P1@P3] */ +#define OP_Copy 78 /* synopsis: r[P2@P3+1]=r[P1@P3+1] */ +#define OP_SCopy 79 /* synopsis: r[P2]=r[P1] */ +#define OP_IntCopy 80 /* synopsis: r[P2]=r[P1] */ +#define OP_ResultRow 81 /* synopsis: output=r[P1@P2] */ +#define OP_CollSeq 82 +#define OP_AddImm 83 /* synopsis: r[P1]=r[P1]+P2 */ +#define OP_RealAffinity 84 +#define OP_Cast 85 /* synopsis: affinity(r[P1]) */ +#define OP_Permutation 86 +#define OP_Compare 87 /* synopsis: r[P1@P3] <-> r[P2@P3] */ +#define OP_IsTrue 88 /* synopsis: r[P2] = coalesce(r[P1]==TRUE,P3) ^ P4 */ +#define OP_Offset 89 /* synopsis: r[P3] = sqlite_offset(P1) */ +#define OP_Column 90 /* synopsis: r[P3]=PX */ +#define OP_Affinity 91 /* synopsis: affinity(r[P1@P2]) */ +#define OP_MakeRecord 92 /* synopsis: r[P3]=mkrec(r[P1@P2]) */ +#define OP_Count 93 /* synopsis: r[P2]=count() */ +#define OP_ReadCookie 94 +#define OP_SetCookie 95 +#define OP_ReopenIdx 96 /* synopsis: root=P2 iDb=P3 */ +#define OP_OpenRead 97 /* synopsis: root=P2 iDb=P3 */ +#define OP_OpenWrite 98 /* synopsis: root=P2 iDb=P3 */ +#define OP_BitAnd 99 /* same as TK_BITAND, synopsis: r[P3]=r[P1]&r[P2] */ +#define OP_BitOr 100 /* same as TK_BITOR, synopsis: r[P3]=r[P1]|r[P2] */ +#define OP_ShiftLeft 101 /* same as TK_LSHIFT, synopsis: r[P3]=r[P2]<>r[P1] */ +#define OP_Add 103 /* same as TK_PLUS, synopsis: r[P3]=r[P1]+r[P2] */ +#define OP_Subtract 104 /* same as TK_MINUS, synopsis: r[P3]=r[P2]-r[P1] */ +#define OP_Multiply 105 /* same as TK_STAR, synopsis: r[P3]=r[P1]*r[P2] */ +#define OP_Divide 106 /* same as TK_SLASH, synopsis: r[P3]=r[P2]/r[P1] */ +#define OP_Remainder 107 /* same as TK_REM, synopsis: r[P3]=r[P2]%r[P1] */ +#define OP_Concat 108 /* same as TK_CONCAT, synopsis: r[P3]=r[P2]+r[P1] */ +#define OP_OpenDup 109 +#define OP_BitNot 110 /* same as TK_BITNOT, synopsis: r[P2]= ~r[P1] */ +#define OP_OpenAutoindex 111 /* synopsis: nColumn=P2 */ +#define OP_OpenEphemeral 112 /* synopsis: nColumn=P2 */ +#define OP_String8 113 /* same as TK_STRING, synopsis: r[P2]='P4' */ +#define OP_SorterOpen 114 +#define OP_SequenceTest 115 /* synopsis: if( cursor[P1].ctr++ ) pc = P2 */ +#define OP_OpenPseudo 116 /* synopsis: P3 columns in r[P2] */ +#define OP_Close 117 +#define OP_ColumnsUsed 118 +#define OP_SeekHit 119 /* synopsis: seekHit=P2 */ +#define OP_Sequence 120 /* synopsis: r[P2]=cursor[P1].ctr++ */ +#define OP_NewRowid 121 /* synopsis: r[P2]=rowid */ +#define OP_Insert 122 /* synopsis: intkey=r[P3] data=r[P2] */ +#define OP_Delete 123 +#define OP_ResetCount 124 +#define OP_SorterCompare 125 /* synopsis: if key(P1)!=trim(r[P3],P4) goto P2 */ +#define OP_SorterData 126 /* synopsis: r[P2]=data */ +#define OP_RowData 127 /* synopsis: r[P2]=data */ +#define OP_Rowid 128 /* synopsis: r[P2]=rowid */ +#define OP_NullRow 129 +#define OP_SeekEnd 130 +#define OP_SorterInsert 131 /* synopsis: key=r[P2] */ +#define OP_IdxInsert 132 /* synopsis: key=r[P2] */ +#define OP_IdxDelete 133 /* synopsis: key=r[P2@P3] */ +#define OP_DeferredSeek 134 /* synopsis: Move P3 to P1.rowid if needed */ +#define OP_IdxRowid 135 /* synopsis: r[P2]=rowid */ +#define OP_Destroy 136 +#define OP_Clear 137 +#define OP_ResetSorter 138 +#define OP_CreateBtree 139 /* synopsis: r[P2]=root iDb=P1 flags=P3 */ +#define OP_SqlExec 140 +#define OP_ParseSchema 141 +#define OP_LoadAnalysis 142 +#define OP_DropTable 143 +#define OP_DropIndex 144 +#define OP_DropTrigger 145 +#define OP_IntegrityCk 146 +#define OP_RowSetAdd 147 /* synopsis: rowset(P1)=r[P2] */ +#define OP_Real 148 /* same as TK_FLOAT, synopsis: r[P2]=P4 */ +#define OP_Param 149 +#define OP_FkCounter 150 /* synopsis: fkctr[P1]+=P2 */ +#define OP_MemMax 151 /* synopsis: r[P1]=max(r[P1],r[P2]) */ +#define OP_OffsetLimit 152 /* synopsis: if r[P1]>0 then r[P2]=r[P1]+max(0,r[P3]) else r[P2]=(-1) */ +#define OP_AggInverse 153 /* synopsis: accum=r[P3] inverse(r[P2@P5]) */ +#define OP_AggStep 154 /* synopsis: accum=r[P3] step(r[P2@P5]) */ +#define OP_AggStep1 155 /* synopsis: accum=r[P3] step(r[P2@P5]) */ +#define OP_AggValue 156 /* synopsis: r[P3]=value N=P2 */ +#define OP_AggFinal 157 /* synopsis: accum=r[P1] N=P2 */ +#define OP_Expire 158 +#define OP_TableLock 159 /* synopsis: iDb=P1 root=P2 write=P3 */ +#define OP_VBegin 160 +#define OP_VCreate 161 +#define OP_VDestroy 162 +#define OP_VOpen 163 +#define OP_VColumn 164 /* synopsis: r[P3]=vcolumn(P2) */ +#define OP_VRename 165 +#define OP_Pagecount 166 +#define OP_MaxPgcnt 167 +#define OP_Trace 168 +#define OP_CursorHint 169 +#define OP_Noop 170 +#define OP_Explain 171 +#define OP_Abortable 172 + +/* Properties such as "out2" or "jump" that are specified in +** comments following the "case" for each opcode in the vdbe.c +** are encoded into bitvectors as follows: +*/ +#define OPFLG_JUMP 0x01 /* jump: P2 holds jmp target */ +#define OPFLG_IN1 0x02 /* in1: P1 is an input */ +#define OPFLG_IN2 0x04 /* in2: P2 is an input */ +#define OPFLG_IN3 0x08 /* in3: P3 is an input */ +#define OPFLG_OUT2 0x10 /* out2: P2 is an output */ +#define OPFLG_OUT3 0x20 /* out3: P3 is an output */ +#define OPFLG_INITIALIZER {\ +/* 0 */ 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x10,\ +/* 8 */ 0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x03, 0x03,\ +/* 16 */ 0x01, 0x01, 0x03, 0x12, 0x03, 0x01, 0x09, 0x09,\ +/* 24 */ 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09,\ +/* 32 */ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,\ +/* 40 */ 0x01, 0x23, 0x0b, 0x26, 0x26, 0x01, 0x01, 0x03,\ +/* 48 */ 0x03, 0x03, 0x03, 0x03, 0x0b, 0x0b, 0x0b, 0x0b,\ +/* 56 */ 0x0b, 0x0b, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00,\ +/* 64 */ 0x00, 0x00, 0x02, 0x02, 0x08, 0x00, 0x10, 0x10,\ +/* 72 */ 0x10, 0x10, 0x00, 0x10, 0x10, 0x00, 0x00, 0x10,\ +/* 80 */ 0x10, 0x00, 0x00, 0x02, 0x02, 0x02, 0x00, 0x00,\ +/* 88 */ 0x12, 0x20, 0x00, 0x00, 0x00, 0x10, 0x10, 0x00,\ +/* 96 */ 0x00, 0x00, 0x00, 0x26, 0x26, 0x26, 0x26, 0x26,\ +/* 104 */ 0x26, 0x26, 0x26, 0x26, 0x26, 0x00, 0x12, 0x00,\ +/* 112 */ 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\ +/* 120 */ 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\ +/* 128 */ 0x10, 0x00, 0x00, 0x04, 0x04, 0x00, 0x00, 0x10,\ +/* 136 */ 0x10, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00,\ +/* 144 */ 0x00, 0x00, 0x00, 0x06, 0x10, 0x10, 0x00, 0x04,\ +/* 152 */ 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\ +/* 160 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x10,\ +/* 168 */ 0x00, 0x00, 0x00, 0x00, 0x00,} + +/* The sqlite3P2Values() routine is able to run faster if it knows +** the value of the largest JUMP opcode. The smaller the maximum +** JUMP opcode the better, so the mkopcodeh.tcl script that +** generated this include file strives to group all JUMP opcodes +** together near the beginning of the list. +*/ +#define SQLITE_MX_JUMP_OPCODE 61 /* Maximum JUMP opcode */ + +/************** End of opcodes.h *********************************************/ +/************** Continuing where we left off in vdbe.h ***********************/ + +/* +** Additional non-public SQLITE_PREPARE_* flags +*/ +#define SQLITE_PREPARE_SAVESQL 0x80 /* Preserve SQL text */ +#define SQLITE_PREPARE_MASK 0x0f /* Mask of public flags */ + +/* +** Prototypes for the VDBE interface. See comments on the implementation +** for a description of what each of these routines does. +*/ +SQLITE_PRIVATE Vdbe *sqlite3VdbeCreate(Parse*); +SQLITE_PRIVATE int sqlite3VdbeAddOp0(Vdbe*,int); +SQLITE_PRIVATE int sqlite3VdbeAddOp1(Vdbe*,int,int); +SQLITE_PRIVATE int sqlite3VdbeAddOp2(Vdbe*,int,int,int); +SQLITE_PRIVATE int sqlite3VdbeGoto(Vdbe*,int); +SQLITE_PRIVATE int sqlite3VdbeLoadString(Vdbe*,int,const char*); +SQLITE_PRIVATE void sqlite3VdbeMultiLoad(Vdbe*,int,const char*,...); +SQLITE_PRIVATE int sqlite3VdbeAddOp3(Vdbe*,int,int,int,int); +SQLITE_PRIVATE int sqlite3VdbeAddOp4(Vdbe*,int,int,int,int,const char *zP4,int); +SQLITE_PRIVATE int sqlite3VdbeAddOp4Dup8(Vdbe*,int,int,int,int,const u8*,int); +SQLITE_PRIVATE int sqlite3VdbeAddOp4Int(Vdbe*,int,int,int,int,int); +SQLITE_PRIVATE void sqlite3VdbeEndCoroutine(Vdbe*,int); +#if defined(SQLITE_DEBUG) && !defined(SQLITE_TEST_REALLOC_STRESS) +SQLITE_PRIVATE void sqlite3VdbeVerifyNoMallocRequired(Vdbe *p, int N); +SQLITE_PRIVATE void sqlite3VdbeVerifyNoResultRow(Vdbe *p); +#else +# define sqlite3VdbeVerifyNoMallocRequired(A,B) +# define sqlite3VdbeVerifyNoResultRow(A) +#endif +#if defined(SQLITE_DEBUG) +SQLITE_PRIVATE void sqlite3VdbeVerifyAbortable(Vdbe *p, int); +#else +# define sqlite3VdbeVerifyAbortable(A,B) +#endif +SQLITE_PRIVATE VdbeOp *sqlite3VdbeAddOpList(Vdbe*, int nOp, VdbeOpList const *aOp,int iLineno); +#ifndef SQLITE_OMIT_EXPLAIN +SQLITE_PRIVATE void sqlite3VdbeExplain(Parse*,u8,const char*,...); +SQLITE_PRIVATE void sqlite3VdbeExplainPop(Parse*); +SQLITE_PRIVATE int sqlite3VdbeExplainParent(Parse*); +# define ExplainQueryPlan(P) sqlite3VdbeExplain P +# define ExplainQueryPlanPop(P) sqlite3VdbeExplainPop(P) +# define ExplainQueryPlanParent(P) sqlite3VdbeExplainParent(P) +#else +# define ExplainQueryPlan(P) +# define ExplainQueryPlanPop(P) +# define ExplainQueryPlanParent(P) 0 +# define sqlite3ExplainBreakpoint(A,B) /*no-op*/ +#endif +#if defined(SQLITE_DEBUG) && !defined(SQLITE_OMIT_EXPLAIN) +SQLITE_PRIVATE void sqlite3ExplainBreakpoint(const char*,const char*); +#else +# define sqlite3ExplainBreakpoint(A,B) /*no-op*/ +#endif +SQLITE_PRIVATE void sqlite3VdbeAddParseSchemaOp(Vdbe*,int,char*); +SQLITE_PRIVATE void sqlite3VdbeChangeOpcode(Vdbe*, int addr, u8); +SQLITE_PRIVATE void sqlite3VdbeChangeP1(Vdbe*, int addr, int P1); +SQLITE_PRIVATE void sqlite3VdbeChangeP2(Vdbe*, int addr, int P2); +SQLITE_PRIVATE void sqlite3VdbeChangeP3(Vdbe*, int addr, int P3); +SQLITE_PRIVATE void sqlite3VdbeChangeP5(Vdbe*, u16 P5); +SQLITE_PRIVATE void sqlite3VdbeJumpHere(Vdbe*, int addr); +SQLITE_PRIVATE int sqlite3VdbeChangeToNoop(Vdbe*, int addr); +SQLITE_PRIVATE int sqlite3VdbeDeletePriorOpcode(Vdbe*, u8 op); +SQLITE_PRIVATE void sqlite3VdbeChangeP4(Vdbe*, int addr, const char *zP4, int N); +SQLITE_PRIVATE void sqlite3VdbeAppendP4(Vdbe*, void *pP4, int p4type); +SQLITE_PRIVATE void sqlite3VdbeSetP4KeyInfo(Parse*, Index*); +SQLITE_PRIVATE void sqlite3VdbeUsesBtree(Vdbe*, int); +SQLITE_PRIVATE VdbeOp *sqlite3VdbeGetOp(Vdbe*, int); +SQLITE_PRIVATE int sqlite3VdbeMakeLabel(Parse*); +SQLITE_PRIVATE void sqlite3VdbeRunOnlyOnce(Vdbe*); +SQLITE_PRIVATE void sqlite3VdbeReusable(Vdbe*); +SQLITE_PRIVATE void sqlite3VdbeDelete(Vdbe*); +SQLITE_PRIVATE void sqlite3VdbeClearObject(sqlite3*,Vdbe*); +SQLITE_PRIVATE void sqlite3VdbeMakeReady(Vdbe*,Parse*); +SQLITE_PRIVATE int sqlite3VdbeFinalize(Vdbe*); +SQLITE_PRIVATE void sqlite3VdbeResolveLabel(Vdbe*, int); +SQLITE_PRIVATE int sqlite3VdbeCurrentAddr(Vdbe*); +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE int sqlite3VdbeAssertMayAbort(Vdbe *, int); +#endif +SQLITE_PRIVATE void sqlite3VdbeResetStepResult(Vdbe*); +SQLITE_PRIVATE void sqlite3VdbeRewind(Vdbe*); +SQLITE_PRIVATE int sqlite3VdbeReset(Vdbe*); +SQLITE_PRIVATE void sqlite3VdbeSetNumCols(Vdbe*,int); +SQLITE_PRIVATE int sqlite3VdbeSetColName(Vdbe*, int, int, const char *, void(*)(void*)); +SQLITE_PRIVATE void sqlite3VdbeCountChanges(Vdbe*); +SQLITE_PRIVATE sqlite3 *sqlite3VdbeDb(Vdbe*); +SQLITE_PRIVATE u8 sqlite3VdbePrepareFlags(Vdbe*); +SQLITE_PRIVATE void sqlite3VdbeSetSql(Vdbe*, const char *z, int n, u8); +#ifdef SQLITE_ENABLE_NORMALIZE +SQLITE_PRIVATE void sqlite3VdbeAddDblquoteStr(sqlite3*,Vdbe*,const char*); +SQLITE_PRIVATE int sqlite3VdbeUsesDoubleQuotedString(Vdbe*,const char*); +#endif +SQLITE_PRIVATE void sqlite3VdbeSwap(Vdbe*,Vdbe*); +SQLITE_PRIVATE VdbeOp *sqlite3VdbeTakeOpArray(Vdbe*, int*, int*); +SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe*, int, u8); +SQLITE_PRIVATE void sqlite3VdbeSetVarmask(Vdbe*, int); +#ifndef SQLITE_OMIT_TRACE +SQLITE_PRIVATE char *sqlite3VdbeExpandSql(Vdbe*, const char*); +#endif +SQLITE_PRIVATE int sqlite3MemCompare(const Mem*, const Mem*, const CollSeq*); +SQLITE_PRIVATE int sqlite3BlobCompare(const Mem*, const Mem*); + +SQLITE_PRIVATE void sqlite3VdbeRecordUnpack(KeyInfo*,int,const void*,UnpackedRecord*); +SQLITE_PRIVATE int sqlite3VdbeRecordCompare(int,const void*,UnpackedRecord*); +SQLITE_PRIVATE int sqlite3VdbeRecordCompareWithSkip(int, const void *, UnpackedRecord *, int); +SQLITE_PRIVATE UnpackedRecord *sqlite3VdbeAllocUnpackedRecord(KeyInfo*); + +typedef int (*RecordCompare)(int,const void*,UnpackedRecord*); +SQLITE_PRIVATE RecordCompare sqlite3VdbeFindCompare(UnpackedRecord*); + +#ifndef SQLITE_OMIT_TRIGGER +SQLITE_PRIVATE void sqlite3VdbeLinkSubProgram(Vdbe *, SubProgram *); +#endif + +SQLITE_PRIVATE int sqlite3NotPureFunc(sqlite3_context*); + +/* Use SQLITE_ENABLE_COMMENTS to enable generation of extra comments on +** each VDBE opcode. +** +** Use the SQLITE_ENABLE_MODULE_COMMENTS macro to see some extra no-op +** comments in VDBE programs that show key decision points in the code +** generator. +*/ +#ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS +SQLITE_PRIVATE void sqlite3VdbeComment(Vdbe*, const char*, ...); +# define VdbeComment(X) sqlite3VdbeComment X +SQLITE_PRIVATE void sqlite3VdbeNoopComment(Vdbe*, const char*, ...); +# define VdbeNoopComment(X) sqlite3VdbeNoopComment X +# ifdef SQLITE_ENABLE_MODULE_COMMENTS +# define VdbeModuleComment(X) sqlite3VdbeNoopComment X +# else +# define VdbeModuleComment(X) +# endif +#else +# define VdbeComment(X) +# define VdbeNoopComment(X) +# define VdbeModuleComment(X) +#endif + +/* +** The VdbeCoverage macros are used to set a coverage testing point +** for VDBE branch instructions. The coverage testing points are line +** numbers in the sqlite3.c source file. VDBE branch coverage testing +** only works with an amalagmation build. That's ok since a VDBE branch +** coverage build designed for testing the test suite only. No application +** should ever ship with VDBE branch coverage measuring turned on. +** +** VdbeCoverage(v) // Mark the previously coded instruction +** // as a branch +** +** VdbeCoverageIf(v, conditional) // Mark previous if conditional true +** +** VdbeCoverageAlwaysTaken(v) // Previous branch is always taken +** +** VdbeCoverageNeverTaken(v) // Previous branch is never taken +** +** VdbeCoverageNeverNull(v) // Previous three-way branch is only +** // taken on the first two ways. The +** // NULL option is not possible +** +** VdbeCoverageEqNe(v) // Previous OP_Jump is only interested +** // in distingishing equal and not-equal. +** +** Every VDBE branch operation must be tagged with one of the macros above. +** If not, then when "make test" is run with -DSQLITE_VDBE_COVERAGE and +** -DSQLITE_DEBUG then an ALWAYS() will fail in the vdbeTakeBranch() +** routine in vdbe.c, alerting the developer to the missed tag. +** +** During testing, the test application will invoke +** sqlite3_test_control(SQLITE_TESTCTRL_VDBE_COVERAGE,...) to set a callback +** routine that is invoked as each bytecode branch is taken. The callback +** contains the sqlite3.c source line number ov the VdbeCoverage macro and +** flags to indicate whether or not the branch was taken. The test application +** is responsible for keeping track of this and reporting byte-code branches +** that are never taken. +** +** See the VdbeBranchTaken() macro and vdbeTakeBranch() function in the +** vdbe.c source file for additional information. +*/ +#ifdef SQLITE_VDBE_COVERAGE +SQLITE_PRIVATE void sqlite3VdbeSetLineNumber(Vdbe*,int); +# define VdbeCoverage(v) sqlite3VdbeSetLineNumber(v,__LINE__) +# define VdbeCoverageIf(v,x) if(x)sqlite3VdbeSetLineNumber(v,__LINE__) +# define VdbeCoverageAlwaysTaken(v) \ + sqlite3VdbeSetLineNumber(v,__LINE__|0x5000000); +# define VdbeCoverageNeverTaken(v) \ + sqlite3VdbeSetLineNumber(v,__LINE__|0x6000000); +# define VdbeCoverageNeverNull(v) \ + sqlite3VdbeSetLineNumber(v,__LINE__|0x4000000); +# define VdbeCoverageNeverNullIf(v,x) \ + if(x)sqlite3VdbeSetLineNumber(v,__LINE__|0x4000000); +# define VdbeCoverageEqNe(v) \ + sqlite3VdbeSetLineNumber(v,__LINE__|0x8000000); +# define VDBE_OFFSET_LINENO(x) (__LINE__+x) +#else +# define VdbeCoverage(v) +# define VdbeCoverageIf(v,x) +# define VdbeCoverageAlwaysTaken(v) +# define VdbeCoverageNeverTaken(v) +# define VdbeCoverageNeverNull(v) +# define VdbeCoverageNeverNullIf(v,x) +# define VdbeCoverageEqNe(v) +# define VDBE_OFFSET_LINENO(x) 0 +#endif + +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS +SQLITE_PRIVATE void sqlite3VdbeScanStatus(Vdbe*, int, int, int, LogEst, const char*); +#else +# define sqlite3VdbeScanStatus(a,b,c,d,e) +#endif + +#if defined(SQLITE_DEBUG) || defined(VDBE_PROFILE) +SQLITE_PRIVATE void sqlite3VdbePrintOp(FILE*, int, VdbeOp*); +#endif + +#endif /* SQLITE_VDBE_H */ + +/************** End of vdbe.h ************************************************/ +/************** Continuing where we left off in sqliteInt.h ******************/ +/************** Include pager.h in the middle of sqliteInt.h *****************/ +/************** Begin file pager.h *******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This header file defines the interface that the sqlite page cache +** subsystem. The page cache subsystem reads and writes a file a page +** at a time and provides a journal for rollback. +*/ + +#ifndef SQLITE_PAGER_H +#define SQLITE_PAGER_H + +/* +** Default maximum size for persistent journal files. A negative +** value means no limit. This value may be overridden using the +** sqlite3PagerJournalSizeLimit() API. See also "PRAGMA journal_size_limit". +*/ +#ifndef SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT + #define SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT -1 +#endif + +/* +** The type used to represent a page number. The first page in a file +** is called page 1. 0 is used to represent "not a page". +*/ +typedef u32 Pgno; + +/* +** Each open file is managed by a separate instance of the "Pager" structure. +*/ +typedef struct Pager Pager; + +/* +** Handle type for pages. +*/ +typedef struct PgHdr DbPage; + +/* +** Page number PAGER_MJ_PGNO is never used in an SQLite database (it is +** reserved for working around a windows/posix incompatibility). It is +** used in the journal to signify that the remainder of the journal file +** is devoted to storing a master journal name - there are no more pages to +** roll back. See comments for function writeMasterJournal() in pager.c +** for details. +*/ +#define PAGER_MJ_PGNO(x) ((Pgno)((PENDING_BYTE/((x)->pageSize))+1)) + +/* +** Allowed values for the flags parameter to sqlite3PagerOpen(). +** +** NOTE: These values must match the corresponding BTREE_ values in btree.h. +*/ +#define PAGER_OMIT_JOURNAL 0x0001 /* Do not use a rollback journal */ +#define PAGER_MEMORY 0x0002 /* In-memory database */ + +/* +** Valid values for the second argument to sqlite3PagerLockingMode(). +*/ +#define PAGER_LOCKINGMODE_QUERY -1 +#define PAGER_LOCKINGMODE_NORMAL 0 +#define PAGER_LOCKINGMODE_EXCLUSIVE 1 + +/* +** Numeric constants that encode the journalmode. +** +** The numeric values encoded here (other than PAGER_JOURNALMODE_QUERY) +** are exposed in the API via the "PRAGMA journal_mode" command and +** therefore cannot be changed without a compatibility break. +*/ +#define PAGER_JOURNALMODE_QUERY (-1) /* Query the value of journalmode */ +#define PAGER_JOURNALMODE_DELETE 0 /* Commit by deleting journal file */ +#define PAGER_JOURNALMODE_PERSIST 1 /* Commit by zeroing journal header */ +#define PAGER_JOURNALMODE_OFF 2 /* Journal omitted. */ +#define PAGER_JOURNALMODE_TRUNCATE 3 /* Commit by truncating journal */ +#define PAGER_JOURNALMODE_MEMORY 4 /* In-memory journal file */ +#define PAGER_JOURNALMODE_WAL 5 /* Use write-ahead logging */ + +/* +** Flags that make up the mask passed to sqlite3PagerGet(). +*/ +#define PAGER_GET_NOCONTENT 0x01 /* Do not load data from disk */ +#define PAGER_GET_READONLY 0x02 /* Read-only page is acceptable */ + +/* +** Flags for sqlite3PagerSetFlags() +** +** Value constraints (enforced via assert()): +** PAGER_FULLFSYNC == SQLITE_FullFSync +** PAGER_CKPT_FULLFSYNC == SQLITE_CkptFullFSync +** PAGER_CACHE_SPILL == SQLITE_CacheSpill +*/ +#define PAGER_SYNCHRONOUS_OFF 0x01 /* PRAGMA synchronous=OFF */ +#define PAGER_SYNCHRONOUS_NORMAL 0x02 /* PRAGMA synchronous=NORMAL */ +#define PAGER_SYNCHRONOUS_FULL 0x03 /* PRAGMA synchronous=FULL */ +#define PAGER_SYNCHRONOUS_EXTRA 0x04 /* PRAGMA synchronous=EXTRA */ +#define PAGER_SYNCHRONOUS_MASK 0x07 /* Mask for four values above */ +#define PAGER_FULLFSYNC 0x08 /* PRAGMA fullfsync=ON */ +#define PAGER_CKPT_FULLFSYNC 0x10 /* PRAGMA checkpoint_fullfsync=ON */ +#define PAGER_CACHESPILL 0x20 /* PRAGMA cache_spill=ON */ +#define PAGER_FLAGS_MASK 0x38 /* All above except SYNCHRONOUS */ + +/* +** The remainder of this file contains the declarations of the functions +** that make up the Pager sub-system API. See source code comments for +** a detailed description of each routine. +*/ + +/* Open and close a Pager connection. */ +SQLITE_PRIVATE int sqlite3PagerOpen( + sqlite3_vfs*, + Pager **ppPager, + const char*, + int, + int, + int, + void(*)(DbPage*) +); +SQLITE_PRIVATE int sqlite3PagerClose(Pager *pPager, sqlite3*); +SQLITE_PRIVATE int sqlite3PagerReadFileheader(Pager*, int, unsigned char*); + +/* Functions used to configure a Pager object. */ +SQLITE_PRIVATE void sqlite3PagerSetBusyHandler(Pager*, int(*)(void *), void *); +SQLITE_PRIVATE int sqlite3PagerSetPagesize(Pager*, u32*, int); +#ifdef SQLITE_HAS_CODEC +SQLITE_PRIVATE void sqlite3PagerAlignReserve(Pager*,Pager*); +#endif +SQLITE_PRIVATE int sqlite3PagerMaxPageCount(Pager*, int); +SQLITE_PRIVATE void sqlite3PagerSetCachesize(Pager*, int); +SQLITE_PRIVATE int sqlite3PagerSetSpillsize(Pager*, int); +SQLITE_PRIVATE void sqlite3PagerSetMmapLimit(Pager *, sqlite3_int64); +SQLITE_PRIVATE void sqlite3PagerShrink(Pager*); +SQLITE_PRIVATE void sqlite3PagerSetFlags(Pager*,unsigned); +SQLITE_PRIVATE int sqlite3PagerLockingMode(Pager *, int); +SQLITE_PRIVATE int sqlite3PagerSetJournalMode(Pager *, int); +SQLITE_PRIVATE int sqlite3PagerGetJournalMode(Pager*); +SQLITE_PRIVATE int sqlite3PagerOkToChangeJournalMode(Pager*); +SQLITE_PRIVATE i64 sqlite3PagerJournalSizeLimit(Pager *, i64); +SQLITE_PRIVATE sqlite3_backup **sqlite3PagerBackupPtr(Pager*); +SQLITE_PRIVATE int sqlite3PagerFlush(Pager*); + +/* Functions used to obtain and release page references. */ +SQLITE_PRIVATE int sqlite3PagerGet(Pager *pPager, Pgno pgno, DbPage **ppPage, int clrFlag); +SQLITE_PRIVATE DbPage *sqlite3PagerLookup(Pager *pPager, Pgno pgno); +SQLITE_PRIVATE void sqlite3PagerRef(DbPage*); +SQLITE_PRIVATE void sqlite3PagerUnref(DbPage*); +SQLITE_PRIVATE void sqlite3PagerUnrefNotNull(DbPage*); +SQLITE_PRIVATE void sqlite3PagerUnrefPageOne(DbPage*); + +/* Operations on page references. */ +SQLITE_PRIVATE int sqlite3PagerWrite(DbPage*); +SQLITE_PRIVATE void sqlite3PagerDontWrite(DbPage*); +SQLITE_PRIVATE int sqlite3PagerMovepage(Pager*,DbPage*,Pgno,int); +SQLITE_PRIVATE int sqlite3PagerPageRefcount(DbPage*); +SQLITE_PRIVATE void *sqlite3PagerGetData(DbPage *); +SQLITE_PRIVATE void *sqlite3PagerGetExtra(DbPage *); + +/* Functions used to manage pager transactions and savepoints. */ +SQLITE_PRIVATE void sqlite3PagerPagecount(Pager*, int*); +SQLITE_PRIVATE int sqlite3PagerBegin(Pager*, int exFlag, int); +SQLITE_PRIVATE int sqlite3PagerCommitPhaseOne(Pager*,const char *zMaster, int); +SQLITE_PRIVATE int sqlite3PagerExclusiveLock(Pager*); +SQLITE_PRIVATE int sqlite3PagerSync(Pager *pPager, const char *zMaster); +SQLITE_PRIVATE int sqlite3PagerCommitPhaseTwo(Pager*); +SQLITE_PRIVATE int sqlite3PagerRollback(Pager*); +SQLITE_PRIVATE int sqlite3PagerOpenSavepoint(Pager *pPager, int n); +SQLITE_PRIVATE int sqlite3PagerSavepoint(Pager *pPager, int op, int iSavepoint); +SQLITE_PRIVATE int sqlite3PagerSharedLock(Pager *pPager); + +#ifndef SQLITE_OMIT_WAL +SQLITE_PRIVATE int sqlite3PagerCheckpoint(Pager *pPager, sqlite3*, int, int*, int*); +SQLITE_PRIVATE int sqlite3PagerWalSupported(Pager *pPager); +SQLITE_PRIVATE int sqlite3PagerWalCallback(Pager *pPager); +SQLITE_PRIVATE int sqlite3PagerOpenWal(Pager *pPager, int *pisOpen); +SQLITE_PRIVATE int sqlite3PagerCloseWal(Pager *pPager, sqlite3*); +# ifdef SQLITE_ENABLE_SNAPSHOT +SQLITE_PRIVATE int sqlite3PagerSnapshotGet(Pager *pPager, sqlite3_snapshot **ppSnapshot); +SQLITE_PRIVATE int sqlite3PagerSnapshotOpen(Pager *pPager, sqlite3_snapshot *pSnapshot); +SQLITE_PRIVATE int sqlite3PagerSnapshotRecover(Pager *pPager); +SQLITE_PRIVATE int sqlite3PagerSnapshotCheck(Pager *pPager, sqlite3_snapshot *pSnapshot); +SQLITE_PRIVATE void sqlite3PagerSnapshotUnlock(Pager *pPager); +# endif +#endif + +#ifdef SQLITE_DIRECT_OVERFLOW_READ +SQLITE_PRIVATE int sqlite3PagerDirectReadOk(Pager *pPager, Pgno pgno); +#endif + +#ifdef SQLITE_ENABLE_ZIPVFS +SQLITE_PRIVATE int sqlite3PagerWalFramesize(Pager *pPager); +#endif + +/* Functions used to query pager state and configuration. */ +SQLITE_PRIVATE u8 sqlite3PagerIsreadonly(Pager*); +SQLITE_PRIVATE u32 sqlite3PagerDataVersion(Pager*); +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE int sqlite3PagerRefcount(Pager*); +#endif +SQLITE_PRIVATE int sqlite3PagerMemUsed(Pager*); +SQLITE_PRIVATE const char *sqlite3PagerFilename(Pager*, int); +SQLITE_PRIVATE sqlite3_vfs *sqlite3PagerVfs(Pager*); +SQLITE_PRIVATE sqlite3_file *sqlite3PagerFile(Pager*); +SQLITE_PRIVATE sqlite3_file *sqlite3PagerJrnlFile(Pager*); +SQLITE_PRIVATE const char *sqlite3PagerJournalname(Pager*); +SQLITE_PRIVATE void *sqlite3PagerTempSpace(Pager*); +SQLITE_PRIVATE int sqlite3PagerIsMemdb(Pager*); +SQLITE_PRIVATE void sqlite3PagerCacheStat(Pager *, int, int, int *); +SQLITE_PRIVATE void sqlite3PagerClearCache(Pager*); +SQLITE_PRIVATE int sqlite3SectorSize(sqlite3_file *); +#ifdef SQLITE_ENABLE_SETLK_TIMEOUT +SQLITE_PRIVATE void sqlite3PagerResetLockTimeout(Pager *pPager); +#else +# define sqlite3PagerResetLockTimeout(X) +#endif + +/* Functions used to truncate the database file. */ +SQLITE_PRIVATE void sqlite3PagerTruncateImage(Pager*,Pgno); + +SQLITE_PRIVATE void sqlite3PagerRekey(DbPage*, Pgno, u16); + +#if defined(SQLITE_HAS_CODEC) && !defined(SQLITE_OMIT_WAL) +SQLITE_PRIVATE void *sqlite3PagerCodec(DbPage *); +#endif + +/* Functions to support testing and debugging. */ +#if !defined(NDEBUG) || defined(SQLITE_TEST) +SQLITE_PRIVATE Pgno sqlite3PagerPagenumber(DbPage*); +SQLITE_PRIVATE int sqlite3PagerIswriteable(DbPage*); +#endif +#ifdef SQLITE_TEST +SQLITE_PRIVATE int *sqlite3PagerStats(Pager*); +SQLITE_PRIVATE void sqlite3PagerRefdump(Pager*); + void disable_simulated_io_errors(void); + void enable_simulated_io_errors(void); +#else +# define disable_simulated_io_errors() +# define enable_simulated_io_errors() +#endif + +#endif /* SQLITE_PAGER_H */ + +/************** End of pager.h ***********************************************/ +/************** Continuing where we left off in sqliteInt.h ******************/ +/************** Include pcache.h in the middle of sqliteInt.h ****************/ +/************** Begin file pcache.h ******************************************/ +/* +** 2008 August 05 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This header file defines the interface that the sqlite page cache +** subsystem. +*/ + +#ifndef _PCACHE_H_ + +typedef struct PgHdr PgHdr; +typedef struct PCache PCache; + +/* +** Every page in the cache is controlled by an instance of the following +** structure. +*/ +struct PgHdr { + sqlite3_pcache_page *pPage; /* Pcache object page handle */ + void *pData; /* Page data */ + void *pExtra; /* Extra content */ + PCache *pCache; /* PRIVATE: Cache that owns this page */ + PgHdr *pDirty; /* Transient list of dirty sorted by pgno */ + Pager *pPager; /* The pager this page is part of */ + Pgno pgno; /* Page number for this page */ +#ifdef SQLITE_CHECK_PAGES + u32 pageHash; /* Hash of page content */ +#endif + u16 flags; /* PGHDR flags defined below */ + + /********************************************************************** + ** Elements above, except pCache, are public. All that follow are + ** private to pcache.c and should not be accessed by other modules. + ** pCache is grouped with the public elements for efficiency. + */ + i16 nRef; /* Number of users of this page */ + PgHdr *pDirtyNext; /* Next element in list of dirty pages */ + PgHdr *pDirtyPrev; /* Previous element in list of dirty pages */ + /* NB: pDirtyNext and pDirtyPrev are undefined if the + ** PgHdr object is not dirty */ +}; + +/* Bit values for PgHdr.flags */ +#define PGHDR_CLEAN 0x001 /* Page not on the PCache.pDirty list */ +#define PGHDR_DIRTY 0x002 /* Page is on the PCache.pDirty list */ +#define PGHDR_WRITEABLE 0x004 /* Journaled and ready to modify */ +#define PGHDR_NEED_SYNC 0x008 /* Fsync the rollback journal before + ** writing this page to the database */ +#define PGHDR_DONT_WRITE 0x010 /* Do not write content to disk */ +#define PGHDR_MMAP 0x020 /* This is an mmap page object */ + +#define PGHDR_WAL_APPEND 0x040 /* Appended to wal file */ + +/* Initialize and shutdown the page cache subsystem */ +SQLITE_PRIVATE int sqlite3PcacheInitialize(void); +SQLITE_PRIVATE void sqlite3PcacheShutdown(void); + +/* Page cache buffer management: +** These routines implement SQLITE_CONFIG_PAGECACHE. +*/ +SQLITE_PRIVATE void sqlite3PCacheBufferSetup(void *, int sz, int n); + +/* Create a new pager cache. +** Under memory stress, invoke xStress to try to make pages clean. +** Only clean and unpinned pages can be reclaimed. +*/ +SQLITE_PRIVATE int sqlite3PcacheOpen( + int szPage, /* Size of every page */ + int szExtra, /* Extra space associated with each page */ + int bPurgeable, /* True if pages are on backing store */ + int (*xStress)(void*, PgHdr*), /* Call to try to make pages clean */ + void *pStress, /* Argument to xStress */ + PCache *pToInit /* Preallocated space for the PCache */ +); + +/* Modify the page-size after the cache has been created. */ +SQLITE_PRIVATE int sqlite3PcacheSetPageSize(PCache *, int); + +/* Return the size in bytes of a PCache object. Used to preallocate +** storage space. +*/ +SQLITE_PRIVATE int sqlite3PcacheSize(void); + +/* One release per successful fetch. Page is pinned until released. +** Reference counted. +*/ +SQLITE_PRIVATE sqlite3_pcache_page *sqlite3PcacheFetch(PCache*, Pgno, int createFlag); +SQLITE_PRIVATE int sqlite3PcacheFetchStress(PCache*, Pgno, sqlite3_pcache_page**); +SQLITE_PRIVATE PgHdr *sqlite3PcacheFetchFinish(PCache*, Pgno, sqlite3_pcache_page *pPage); +SQLITE_PRIVATE void sqlite3PcacheRelease(PgHdr*); + +SQLITE_PRIVATE void sqlite3PcacheDrop(PgHdr*); /* Remove page from cache */ +SQLITE_PRIVATE void sqlite3PcacheMakeDirty(PgHdr*); /* Make sure page is marked dirty */ +SQLITE_PRIVATE void sqlite3PcacheMakeClean(PgHdr*); /* Mark a single page as clean */ +SQLITE_PRIVATE void sqlite3PcacheCleanAll(PCache*); /* Mark all dirty list pages as clean */ +SQLITE_PRIVATE void sqlite3PcacheClearWritable(PCache*); + +/* Change a page number. Used by incr-vacuum. */ +SQLITE_PRIVATE void sqlite3PcacheMove(PgHdr*, Pgno); + +/* Remove all pages with pgno>x. Reset the cache if x==0 */ +SQLITE_PRIVATE void sqlite3PcacheTruncate(PCache*, Pgno x); + +/* Get a list of all dirty pages in the cache, sorted by page number */ +SQLITE_PRIVATE PgHdr *sqlite3PcacheDirtyList(PCache*); + +/* Reset and close the cache object */ +SQLITE_PRIVATE void sqlite3PcacheClose(PCache*); + +/* Clear flags from pages of the page cache */ +SQLITE_PRIVATE void sqlite3PcacheClearSyncFlags(PCache *); + +/* Discard the contents of the cache */ +SQLITE_PRIVATE void sqlite3PcacheClear(PCache*); + +/* Return the total number of outstanding page references */ +SQLITE_PRIVATE int sqlite3PcacheRefCount(PCache*); + +/* Increment the reference count of an existing page */ +SQLITE_PRIVATE void sqlite3PcacheRef(PgHdr*); + +SQLITE_PRIVATE int sqlite3PcachePageRefcount(PgHdr*); + +/* Return the total number of pages stored in the cache */ +SQLITE_PRIVATE int sqlite3PcachePagecount(PCache*); + +#if defined(SQLITE_CHECK_PAGES) || defined(SQLITE_DEBUG) +/* Iterate through all dirty pages currently stored in the cache. This +** interface is only available if SQLITE_CHECK_PAGES is defined when the +** library is built. +*/ +SQLITE_PRIVATE void sqlite3PcacheIterateDirty(PCache *pCache, void (*xIter)(PgHdr *)); +#endif + +#if defined(SQLITE_DEBUG) +/* Check invariants on a PgHdr object */ +SQLITE_PRIVATE int sqlite3PcachePageSanity(PgHdr*); +#endif + +/* Set and get the suggested cache-size for the specified pager-cache. +** +** If no global maximum is configured, then the system attempts to limit +** the total number of pages cached by purgeable pager-caches to the sum +** of the suggested cache-sizes. +*/ +SQLITE_PRIVATE void sqlite3PcacheSetCachesize(PCache *, int); +#ifdef SQLITE_TEST +SQLITE_PRIVATE int sqlite3PcacheGetCachesize(PCache *); +#endif + +/* Set or get the suggested spill-size for the specified pager-cache. +** +** The spill-size is the minimum number of pages in cache before the cache +** will attempt to spill dirty pages by calling xStress. +*/ +SQLITE_PRIVATE int sqlite3PcacheSetSpillsize(PCache *, int); + +/* Free up as much memory as possible from the page cache */ +SQLITE_PRIVATE void sqlite3PcacheShrink(PCache*); + +#ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT +/* Try to return memory used by the pcache module to the main memory heap */ +SQLITE_PRIVATE int sqlite3PcacheReleaseMemory(int); +#endif + +#ifdef SQLITE_TEST +SQLITE_PRIVATE void sqlite3PcacheStats(int*,int*,int*,int*); +#endif + +SQLITE_PRIVATE void sqlite3PCacheSetDefault(void); + +/* Return the header size */ +SQLITE_PRIVATE int sqlite3HeaderSizePcache(void); +SQLITE_PRIVATE int sqlite3HeaderSizePcache1(void); + +/* Number of dirty pages as a percentage of the configured cache size */ +SQLITE_PRIVATE int sqlite3PCachePercentDirty(PCache*); + +#ifdef SQLITE_DIRECT_OVERFLOW_READ +SQLITE_PRIVATE int sqlite3PCacheIsDirty(PCache *pCache); +#endif + +#endif /* _PCACHE_H_ */ + +/************** End of pcache.h **********************************************/ +/************** Continuing where we left off in sqliteInt.h ******************/ +/************** Include os.h in the middle of sqliteInt.h ********************/ +/************** Begin file os.h **********************************************/ +/* +** 2001 September 16 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This header file (together with is companion C source-code file +** "os.c") attempt to abstract the underlying operating system so that +** the SQLite library will work on both POSIX and windows systems. +** +** This header file is #include-ed by sqliteInt.h and thus ends up +** being included by every source file. +*/ +#ifndef _SQLITE_OS_H_ +#define _SQLITE_OS_H_ + +/* +** Attempt to automatically detect the operating system and setup the +** necessary pre-processor macros for it. +*/ +/************** Include os_setup.h in the middle of os.h *********************/ +/************** Begin file os_setup.h ****************************************/ +/* +** 2013 November 25 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains pre-processor directives related to operating system +** detection and/or setup. +*/ +#ifndef SQLITE_OS_SETUP_H +#define SQLITE_OS_SETUP_H + +/* +** Figure out if we are dealing with Unix, Windows, or some other operating +** system. +** +** After the following block of preprocess macros, all of SQLITE_OS_UNIX, +** SQLITE_OS_WIN, and SQLITE_OS_OTHER will defined to either 1 or 0. One of +** the three will be 1. The other two will be 0. +*/ +#if defined(SQLITE_OS_OTHER) +# if SQLITE_OS_OTHER==1 +# undef SQLITE_OS_UNIX +# define SQLITE_OS_UNIX 0 +# undef SQLITE_OS_WIN +# define SQLITE_OS_WIN 0 +# else +# undef SQLITE_OS_OTHER +# endif +#endif +#if !defined(SQLITE_OS_UNIX) && !defined(SQLITE_OS_OTHER) +# define SQLITE_OS_OTHER 0 +# ifndef SQLITE_OS_WIN +# if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || \ + defined(__MINGW32__) || defined(__BORLANDC__) +# define SQLITE_OS_WIN 1 +# define SQLITE_OS_UNIX 0 +# else +# define SQLITE_OS_WIN 0 +# define SQLITE_OS_UNIX 1 +# endif +# else +# define SQLITE_OS_UNIX 0 +# endif +#else +# ifndef SQLITE_OS_WIN +# define SQLITE_OS_WIN 0 +# endif +#endif + +#endif /* SQLITE_OS_SETUP_H */ + +/************** End of os_setup.h ********************************************/ +/************** Continuing where we left off in os.h *************************/ + +/* If the SET_FULLSYNC macro is not defined above, then make it +** a no-op +*/ +#ifndef SET_FULLSYNC +# define SET_FULLSYNC(x,y) +#endif + +/* +** The default size of a disk sector +*/ +#ifndef SQLITE_DEFAULT_SECTOR_SIZE +# define SQLITE_DEFAULT_SECTOR_SIZE 4096 +#endif + +/* +** Temporary files are named starting with this prefix followed by 16 random +** alphanumeric characters, and no file extension. They are stored in the +** OS's standard temporary file directory, and are deleted prior to exit. +** If sqlite is being embedded in another program, you may wish to change the +** prefix to reflect your program's name, so that if your program exits +** prematurely, old temporary files can be easily identified. This can be done +** using -DSQLITE_TEMP_FILE_PREFIX=myprefix_ on the compiler command line. +** +** 2006-10-31: The default prefix used to be "sqlite_". But then +** Mcafee started using SQLite in their anti-virus product and it +** started putting files with the "sqlite" name in the c:/temp folder. +** This annoyed many windows users. Those users would then do a +** Google search for "sqlite", find the telephone numbers of the +** developers and call to wake them up at night and complain. +** For this reason, the default name prefix is changed to be "sqlite" +** spelled backwards. So the temp files are still identified, but +** anybody smart enough to figure out the code is also likely smart +** enough to know that calling the developer will not help get rid +** of the file. +*/ +#ifndef SQLITE_TEMP_FILE_PREFIX +# define SQLITE_TEMP_FILE_PREFIX "etilqs_" +#endif + +/* +** The following values may be passed as the second argument to +** sqlite3OsLock(). The various locks exhibit the following semantics: +** +** SHARED: Any number of processes may hold a SHARED lock simultaneously. +** RESERVED: A single process may hold a RESERVED lock on a file at +** any time. Other processes may hold and obtain new SHARED locks. +** PENDING: A single process may hold a PENDING lock on a file at +** any one time. Existing SHARED locks may persist, but no new +** SHARED locks may be obtained by other processes. +** EXCLUSIVE: An EXCLUSIVE lock precludes all other locks. +** +** PENDING_LOCK may not be passed directly to sqlite3OsLock(). Instead, a +** process that requests an EXCLUSIVE lock may actually obtain a PENDING +** lock. This can be upgraded to an EXCLUSIVE lock by a subsequent call to +** sqlite3OsLock(). +*/ +#define NO_LOCK 0 +#define SHARED_LOCK 1 +#define RESERVED_LOCK 2 +#define PENDING_LOCK 3 +#define EXCLUSIVE_LOCK 4 + +/* +** File Locking Notes: (Mostly about windows but also some info for Unix) +** +** We cannot use LockFileEx() or UnlockFileEx() on Win95/98/ME because +** those functions are not available. So we use only LockFile() and +** UnlockFile(). +** +** LockFile() prevents not just writing but also reading by other processes. +** A SHARED_LOCK is obtained by locking a single randomly-chosen +** byte out of a specific range of bytes. The lock byte is obtained at +** random so two separate readers can probably access the file at the +** same time, unless they are unlucky and choose the same lock byte. +** An EXCLUSIVE_LOCK is obtained by locking all bytes in the range. +** There can only be one writer. A RESERVED_LOCK is obtained by locking +** a single byte of the file that is designated as the reserved lock byte. +** A PENDING_LOCK is obtained by locking a designated byte different from +** the RESERVED_LOCK byte. +** +** On WinNT/2K/XP systems, LockFileEx() and UnlockFileEx() are available, +** which means we can use reader/writer locks. When reader/writer locks +** are used, the lock is placed on the same range of bytes that is used +** for probabilistic locking in Win95/98/ME. Hence, the locking scheme +** will support two or more Win95 readers or two or more WinNT readers. +** But a single Win95 reader will lock out all WinNT readers and a single +** WinNT reader will lock out all other Win95 readers. +** +** The following #defines specify the range of bytes used for locking. +** SHARED_SIZE is the number of bytes available in the pool from which +** a random byte is selected for a shared lock. The pool of bytes for +** shared locks begins at SHARED_FIRST. +** +** The same locking strategy and +** byte ranges are used for Unix. This leaves open the possibility of having +** clients on win95, winNT, and unix all talking to the same shared file +** and all locking correctly. To do so would require that samba (or whatever +** tool is being used for file sharing) implements locks correctly between +** windows and unix. I'm guessing that isn't likely to happen, but by +** using the same locking range we are at least open to the possibility. +** +** Locking in windows is manditory. For this reason, we cannot store +** actual data in the bytes used for locking. The pager never allocates +** the pages involved in locking therefore. SHARED_SIZE is selected so +** that all locks will fit on a single page even at the minimum page size. +** PENDING_BYTE defines the beginning of the locks. By default PENDING_BYTE +** is set high so that we don't have to allocate an unused page except +** for very large databases. But one should test the page skipping logic +** by setting PENDING_BYTE low and running the entire regression suite. +** +** Changing the value of PENDING_BYTE results in a subtly incompatible +** file format. Depending on how it is changed, you might not notice +** the incompatibility right away, even running a full regression test. +** The default location of PENDING_BYTE is the first byte past the +** 1GB boundary. +** +*/ +#ifdef SQLITE_OMIT_WSD +# define PENDING_BYTE (0x40000000) +#else +# define PENDING_BYTE sqlite3PendingByte +#endif +#define RESERVED_BYTE (PENDING_BYTE+1) +#define SHARED_FIRST (PENDING_BYTE+2) +#define SHARED_SIZE 510 + +/* +** Wrapper around OS specific sqlite3_os_init() function. +*/ +SQLITE_PRIVATE int sqlite3OsInit(void); + +/* +** Functions for accessing sqlite3_file methods +*/ +SQLITE_PRIVATE void sqlite3OsClose(sqlite3_file*); +SQLITE_PRIVATE int sqlite3OsRead(sqlite3_file*, void*, int amt, i64 offset); +SQLITE_PRIVATE int sqlite3OsWrite(sqlite3_file*, const void*, int amt, i64 offset); +SQLITE_PRIVATE int sqlite3OsTruncate(sqlite3_file*, i64 size); +SQLITE_PRIVATE int sqlite3OsSync(sqlite3_file*, int); +SQLITE_PRIVATE int sqlite3OsFileSize(sqlite3_file*, i64 *pSize); +SQLITE_PRIVATE int sqlite3OsLock(sqlite3_file*, int); +SQLITE_PRIVATE int sqlite3OsUnlock(sqlite3_file*, int); +SQLITE_PRIVATE int sqlite3OsCheckReservedLock(sqlite3_file *id, int *pResOut); +SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file*,int,void*); +SQLITE_PRIVATE void sqlite3OsFileControlHint(sqlite3_file*,int,void*); +#define SQLITE_FCNTL_DB_UNCHANGED 0xca093fa0 +SQLITE_PRIVATE int sqlite3OsSectorSize(sqlite3_file *id); +SQLITE_PRIVATE int sqlite3OsDeviceCharacteristics(sqlite3_file *id); +#ifndef SQLITE_OMIT_WAL +SQLITE_PRIVATE int sqlite3OsShmMap(sqlite3_file *,int,int,int,void volatile **); +SQLITE_PRIVATE int sqlite3OsShmLock(sqlite3_file *id, int, int, int); +SQLITE_PRIVATE void sqlite3OsShmBarrier(sqlite3_file *id); +SQLITE_PRIVATE int sqlite3OsShmUnmap(sqlite3_file *id, int); +#endif /* SQLITE_OMIT_WAL */ +SQLITE_PRIVATE int sqlite3OsFetch(sqlite3_file *id, i64, int, void **); +SQLITE_PRIVATE int sqlite3OsUnfetch(sqlite3_file *, i64, void *); + + +/* +** Functions for accessing sqlite3_vfs methods +*/ +SQLITE_PRIVATE int sqlite3OsOpen(sqlite3_vfs *, const char *, sqlite3_file*, int, int *); +SQLITE_PRIVATE int sqlite3OsDelete(sqlite3_vfs *, const char *, int); +SQLITE_PRIVATE int sqlite3OsAccess(sqlite3_vfs *, const char *, int, int *pResOut); +SQLITE_PRIVATE int sqlite3OsFullPathname(sqlite3_vfs *, const char *, int, char *); +#ifndef SQLITE_OMIT_LOAD_EXTENSION +SQLITE_PRIVATE void *sqlite3OsDlOpen(sqlite3_vfs *, const char *); +SQLITE_PRIVATE void sqlite3OsDlError(sqlite3_vfs *, int, char *); +SQLITE_PRIVATE void (*sqlite3OsDlSym(sqlite3_vfs *, void *, const char *))(void); +SQLITE_PRIVATE void sqlite3OsDlClose(sqlite3_vfs *, void *); +#endif /* SQLITE_OMIT_LOAD_EXTENSION */ +SQLITE_PRIVATE int sqlite3OsRandomness(sqlite3_vfs *, int, char *); +SQLITE_PRIVATE int sqlite3OsSleep(sqlite3_vfs *, int); +SQLITE_PRIVATE int sqlite3OsGetLastError(sqlite3_vfs*); +SQLITE_PRIVATE int sqlite3OsCurrentTimeInt64(sqlite3_vfs *, sqlite3_int64*); + +/* +** Convenience functions for opening and closing files using +** sqlite3_malloc() to obtain space for the file-handle structure. +*/ +SQLITE_PRIVATE int sqlite3OsOpenMalloc(sqlite3_vfs *, const char *, sqlite3_file **, int,int*); +SQLITE_PRIVATE void sqlite3OsCloseFree(sqlite3_file *); + +#endif /* _SQLITE_OS_H_ */ + +/************** End of os.h **************************************************/ +/************** Continuing where we left off in sqliteInt.h ******************/ +/************** Include mutex.h in the middle of sqliteInt.h *****************/ +/************** Begin file mutex.h *******************************************/ +/* +** 2007 August 28 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains the common header for all mutex implementations. +** The sqliteInt.h header #includes this file so that it is available +** to all source files. We break it out in an effort to keep the code +** better organized. +** +** NOTE: source files should *not* #include this header file directly. +** Source files should #include the sqliteInt.h file and let that file +** include this one indirectly. +*/ + + +/* +** Figure out what version of the code to use. The choices are +** +** SQLITE_MUTEX_OMIT No mutex logic. Not even stubs. The +** mutexes implementation cannot be overridden +** at start-time. +** +** SQLITE_MUTEX_NOOP For single-threaded applications. No +** mutual exclusion is provided. But this +** implementation can be overridden at +** start-time. +** +** SQLITE_MUTEX_PTHREADS For multi-threaded applications on Unix. +** +** SQLITE_MUTEX_W32 For multi-threaded applications on Win32. +*/ +#if !SQLITE_THREADSAFE +# define SQLITE_MUTEX_OMIT +#endif +#if SQLITE_THREADSAFE && !defined(SQLITE_MUTEX_NOOP) +# if SQLITE_OS_UNIX +# define SQLITE_MUTEX_PTHREADS +# elif SQLITE_OS_WIN +# define SQLITE_MUTEX_W32 +# else +# define SQLITE_MUTEX_NOOP +# endif +#endif + +#ifdef SQLITE_MUTEX_OMIT +/* +** If this is a no-op implementation, implement everything as macros. +*/ +#define sqlite3_mutex_alloc(X) ((sqlite3_mutex*)8) +#define sqlite3_mutex_free(X) +#define sqlite3_mutex_enter(X) +#define sqlite3_mutex_try(X) SQLITE_OK +#define sqlite3_mutex_leave(X) +#define sqlite3_mutex_held(X) ((void)(X),1) +#define sqlite3_mutex_notheld(X) ((void)(X),1) +#define sqlite3MutexAlloc(X) ((sqlite3_mutex*)8) +#define sqlite3MutexInit() SQLITE_OK +#define sqlite3MutexEnd() +#define MUTEX_LOGIC(X) +#else +#define MUTEX_LOGIC(X) X +SQLITE_API int sqlite3_mutex_held(sqlite3_mutex*); +#endif /* defined(SQLITE_MUTEX_OMIT) */ + +/************** End of mutex.h ***********************************************/ +/************** Continuing where we left off in sqliteInt.h ******************/ + +/* The SQLITE_EXTRA_DURABLE compile-time option used to set the default +** synchronous setting to EXTRA. It is no longer supported. +*/ +#ifdef SQLITE_EXTRA_DURABLE +# warning Use SQLITE_DEFAULT_SYNCHRONOUS=3 instead of SQLITE_EXTRA_DURABLE +# define SQLITE_DEFAULT_SYNCHRONOUS 3 +#endif + +/* +** Default synchronous levels. +** +** Note that (for historcal reasons) the PAGER_SYNCHRONOUS_* macros differ +** from the SQLITE_DEFAULT_SYNCHRONOUS value by 1. +** +** PAGER_SYNCHRONOUS DEFAULT_SYNCHRONOUS +** OFF 1 0 +** NORMAL 2 1 +** FULL 3 2 +** EXTRA 4 3 +** +** The "PRAGMA synchronous" statement also uses the zero-based numbers. +** In other words, the zero-based numbers are used for all external interfaces +** and the one-based values are used internally. +*/ +#ifndef SQLITE_DEFAULT_SYNCHRONOUS +# define SQLITE_DEFAULT_SYNCHRONOUS 2 +#endif +#ifndef SQLITE_DEFAULT_WAL_SYNCHRONOUS +# define SQLITE_DEFAULT_WAL_SYNCHRONOUS SQLITE_DEFAULT_SYNCHRONOUS +#endif + +/* +** Each database file to be accessed by the system is an instance +** of the following structure. There are normally two of these structures +** in the sqlite.aDb[] array. aDb[0] is the main database file and +** aDb[1] is the database file used to hold temporary tables. Additional +** databases may be attached. +*/ +struct Db { + char *zDbSName; /* Name of this database. (schema name, not filename) */ + Btree *pBt; /* The B*Tree structure for this database file */ + u8 safety_level; /* How aggressive at syncing data to disk */ + u8 bSyncSet; /* True if "PRAGMA synchronous=N" has been run */ + Schema *pSchema; /* Pointer to database schema (possibly shared) */ +}; + +/* +** An instance of the following structure stores a database schema. +** +** Most Schema objects are associated with a Btree. The exception is +** the Schema for the TEMP databaes (sqlite3.aDb[1]) which is free-standing. +** In shared cache mode, a single Schema object can be shared by multiple +** Btrees that refer to the same underlying BtShared object. +** +** Schema objects are automatically deallocated when the last Btree that +** references them is destroyed. The TEMP Schema is manually freed by +** sqlite3_close(). +* +** A thread must be holding a mutex on the corresponding Btree in order +** to access Schema content. This implies that the thread must also be +** holding a mutex on the sqlite3 connection pointer that owns the Btree. +** For a TEMP Schema, only the connection mutex is required. +*/ +struct Schema { + int schema_cookie; /* Database schema version number for this file */ + int iGeneration; /* Generation counter. Incremented with each change */ + Hash tblHash; /* All tables indexed by name */ + Hash idxHash; /* All (named) indices indexed by name */ + Hash trigHash; /* All triggers indexed by name */ + Hash fkeyHash; /* All foreign keys by referenced table name */ + Table *pSeqTab; /* The sqlite_sequence table used by AUTOINCREMENT */ + u8 file_format; /* Schema format version for this file */ + u8 enc; /* Text encoding used by this database */ + u16 schemaFlags; /* Flags associated with this schema */ + int cache_size; /* Number of pages to use in the cache */ +}; + +/* +** These macros can be used to test, set, or clear bits in the +** Db.pSchema->flags field. +*/ +#define DbHasProperty(D,I,P) (((D)->aDb[I].pSchema->schemaFlags&(P))==(P)) +#define DbHasAnyProperty(D,I,P) (((D)->aDb[I].pSchema->schemaFlags&(P))!=0) +#define DbSetProperty(D,I,P) (D)->aDb[I].pSchema->schemaFlags|=(P) +#define DbClearProperty(D,I,P) (D)->aDb[I].pSchema->schemaFlags&=~(P) + +/* +** Allowed values for the DB.pSchema->flags field. +** +** The DB_SchemaLoaded flag is set after the database schema has been +** read into internal hash tables. +** +** DB_UnresetViews means that one or more views have column names that +** have been filled out. If the schema changes, these column names might +** changes and so the view will need to be reset. +*/ +#define DB_SchemaLoaded 0x0001 /* The schema has been loaded */ +#define DB_UnresetViews 0x0002 /* Some views have defined column names */ +#define DB_Empty 0x0004 /* The file is empty (length 0 bytes) */ +#define DB_ResetWanted 0x0008 /* Reset the schema when nSchemaLock==0 */ + +/* +** The number of different kinds of things that can be limited +** using the sqlite3_limit() interface. +*/ +#define SQLITE_N_LIMIT (SQLITE_LIMIT_WORKER_THREADS+1) + +/* +** Lookaside malloc is a set of fixed-size buffers that can be used +** to satisfy small transient memory allocation requests for objects +** associated with a particular database connection. The use of +** lookaside malloc provides a significant performance enhancement +** (approx 10%) by avoiding numerous malloc/free requests while parsing +** SQL statements. +** +** The Lookaside structure holds configuration information about the +** lookaside malloc subsystem. Each available memory allocation in +** the lookaside subsystem is stored on a linked list of LookasideSlot +** objects. +** +** Lookaside allocations are only allowed for objects that are associated +** with a particular database connection. Hence, schema information cannot +** be stored in lookaside because in shared cache mode the schema information +** is shared by multiple database connections. Therefore, while parsing +** schema information, the Lookaside.bEnabled flag is cleared so that +** lookaside allocations are not used to construct the schema objects. +*/ +struct Lookaside { + u32 bDisable; /* Only operate the lookaside when zero */ + u16 sz; /* Size of each buffer in bytes */ + u8 bMalloced; /* True if pStart obtained from sqlite3_malloc() */ + u32 nSlot; /* Number of lookaside slots allocated */ + u32 anStat[3]; /* 0: hits. 1: size misses. 2: full misses */ + LookasideSlot *pInit; /* List of buffers not previously used */ + LookasideSlot *pFree; /* List of available buffers */ + void *pStart; /* First byte of available memory space */ + void *pEnd; /* First byte past end of available space */ +}; +struct LookasideSlot { + LookasideSlot *pNext; /* Next buffer in the list of free buffers */ +}; + +/* +** A hash table for built-in function definitions. (Application-defined +** functions use a regular table table from hash.h.) +** +** Hash each FuncDef structure into one of the FuncDefHash.a[] slots. +** Collisions are on the FuncDef.u.pHash chain. Use the SQLITE_FUNC_HASH() +** macro to compute a hash on the function name. +*/ +#define SQLITE_FUNC_HASH_SZ 23 +struct FuncDefHash { + FuncDef *a[SQLITE_FUNC_HASH_SZ]; /* Hash table for functions */ +}; +#define SQLITE_FUNC_HASH(C,L) (((C)+(L))%SQLITE_FUNC_HASH_SZ) + +#ifdef SQLITE_USER_AUTHENTICATION +/* +** Information held in the "sqlite3" database connection object and used +** to manage user authentication. +*/ +typedef struct sqlite3_userauth sqlite3_userauth; +struct sqlite3_userauth { + u8 authLevel; /* Current authentication level */ + int nAuthPW; /* Size of the zAuthPW in bytes */ + char *zAuthPW; /* Password used to authenticate */ + char *zAuthUser; /* User name used to authenticate */ +}; + +/* Allowed values for sqlite3_userauth.authLevel */ +#define UAUTH_Unknown 0 /* Authentication not yet checked */ +#define UAUTH_Fail 1 /* User authentication failed */ +#define UAUTH_User 2 /* Authenticated as a normal user */ +#define UAUTH_Admin 3 /* Authenticated as an administrator */ + +/* Functions used only by user authorization logic */ +SQLITE_PRIVATE int sqlite3UserAuthTable(const char*); +SQLITE_PRIVATE int sqlite3UserAuthCheckLogin(sqlite3*,const char*,u8*); +SQLITE_PRIVATE void sqlite3UserAuthInit(sqlite3*); +SQLITE_PRIVATE void sqlite3CryptFunc(sqlite3_context*,int,sqlite3_value**); + +#endif /* SQLITE_USER_AUTHENTICATION */ + +/* +** typedef for the authorization callback function. +*/ +#ifdef SQLITE_USER_AUTHENTICATION + typedef int (*sqlite3_xauth)(void*,int,const char*,const char*,const char*, + const char*, const char*); +#else + typedef int (*sqlite3_xauth)(void*,int,const char*,const char*,const char*, + const char*); +#endif + +#ifndef SQLITE_OMIT_DEPRECATED +/* This is an extra SQLITE_TRACE macro that indicates "legacy" tracing +** in the style of sqlite3_trace() +*/ +#define SQLITE_TRACE_LEGACY 0x40 /* Use the legacy xTrace */ +#define SQLITE_TRACE_XPROFILE 0x80 /* Use the legacy xProfile */ +#else +#define SQLITE_TRACE_LEGACY 0 +#define SQLITE_TRACE_XPROFILE 0 +#endif /* SQLITE_OMIT_DEPRECATED */ +#define SQLITE_TRACE_NONLEGACY_MASK 0x0f /* Normal flags */ + + +/* +** Each database connection is an instance of the following structure. +*/ +struct sqlite3 { + sqlite3_vfs *pVfs; /* OS Interface */ + struct Vdbe *pVdbe; /* List of active virtual machines */ + CollSeq *pDfltColl; /* The default collating sequence (BINARY) */ + sqlite3_mutex *mutex; /* Connection mutex */ + Db *aDb; /* All backends */ + int nDb; /* Number of backends currently in use */ + u32 mDbFlags; /* flags recording internal state */ + u64 flags; /* flags settable by pragmas. See below */ + i64 lastRowid; /* ROWID of most recent insert (see above) */ + i64 szMmap; /* Default mmap_size setting */ + u32 nSchemaLock; /* Do not reset the schema when non-zero */ + unsigned int openFlags; /* Flags passed to sqlite3_vfs.xOpen() */ + int errCode; /* Most recent error code (SQLITE_*) */ + int errMask; /* & result codes with this before returning */ + int iSysErrno; /* Errno value from last system error */ + u16 dbOptFlags; /* Flags to enable/disable optimizations */ + u8 enc; /* Text encoding */ + u8 autoCommit; /* The auto-commit flag. */ + u8 temp_store; /* 1: file 2: memory 0: default */ + u8 mallocFailed; /* True if we have seen a malloc failure */ + u8 bBenignMalloc; /* Do not require OOMs if true */ + u8 dfltLockMode; /* Default locking-mode for attached dbs */ + signed char nextAutovac; /* Autovac setting after VACUUM if >=0 */ + u8 suppressErr; /* Do not issue error messages if true */ + u8 vtabOnConflict; /* Value to return for s3_vtab_on_conflict() */ + u8 isTransactionSavepoint; /* True if the outermost savepoint is a TS */ + u8 mTrace; /* zero or more SQLITE_TRACE flags */ + u8 noSharedCache; /* True if no shared-cache backends */ + u8 nSqlExec; /* Number of pending OP_SqlExec opcodes */ + int nextPagesize; /* Pagesize after VACUUM if >0 */ + u32 magic; /* Magic number for detect library misuse */ + int nChange; /* Value returned by sqlite3_changes() */ + int nTotalChange; /* Value returned by sqlite3_total_changes() */ + int aLimit[SQLITE_N_LIMIT]; /* Limits */ + int nMaxSorterMmap; /* Maximum size of regions mapped by sorter */ + struct sqlite3InitInfo { /* Information used during initialization */ + int newTnum; /* Rootpage of table being initialized */ + u8 iDb; /* Which db file is being initialized */ + u8 busy; /* TRUE if currently initializing */ + unsigned orphanTrigger : 1; /* Last statement is orphaned TEMP trigger */ + unsigned imposterTable : 1; /* Building an imposter table */ + unsigned reopenMemdb : 1; /* ATTACH is really a reopen using MemDB */ + char **azInit; /* "type", "name", and "tbl_name" columns */ + } init; + int nVdbeActive; /* Number of VDBEs currently running */ + int nVdbeRead; /* Number of active VDBEs that read or write */ + int nVdbeWrite; /* Number of active VDBEs that read and write */ + int nVdbeExec; /* Number of nested calls to VdbeExec() */ + int nVDestroy; /* Number of active OP_VDestroy operations */ + int nExtension; /* Number of loaded extensions */ + void **aExtension; /* Array of shared library handles */ + int (*xTrace)(u32,void*,void*,void*); /* Trace function */ + void *pTraceArg; /* Argument to the trace function */ +#ifndef SQLITE_OMIT_DEPRECATED + void (*xProfile)(void*,const char*,u64); /* Profiling function */ + void *pProfileArg; /* Argument to profile function */ +#endif + void *pCommitArg; /* Argument to xCommitCallback() */ + int (*xCommitCallback)(void*); /* Invoked at every commit. */ + void *pRollbackArg; /* Argument to xRollbackCallback() */ + void (*xRollbackCallback)(void*); /* Invoked at every commit. */ + void *pUpdateArg; + void (*xUpdateCallback)(void*,int, const char*,const char*,sqlite_int64); + Parse *pParse; /* Current parse */ +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + void *pPreUpdateArg; /* First argument to xPreUpdateCallback */ + void (*xPreUpdateCallback)( /* Registered using sqlite3_preupdate_hook() */ + void*,sqlite3*,int,char const*,char const*,sqlite3_int64,sqlite3_int64 + ); + PreUpdate *pPreUpdate; /* Context for active pre-update callback */ +#endif /* SQLITE_ENABLE_PREUPDATE_HOOK */ +#ifndef SQLITE_OMIT_WAL + int (*xWalCallback)(void *, sqlite3 *, const char *, int); + void *pWalArg; +#endif + void(*xCollNeeded)(void*,sqlite3*,int eTextRep,const char*); + void(*xCollNeeded16)(void*,sqlite3*,int eTextRep,const void*); + void *pCollNeededArg; + sqlite3_value *pErr; /* Most recent error message */ + union { + volatile int isInterrupted; /* True if sqlite3_interrupt has been called */ + double notUsed1; /* Spacer */ + } u1; + Lookaside lookaside; /* Lookaside malloc configuration */ +#ifndef SQLITE_OMIT_AUTHORIZATION + sqlite3_xauth xAuth; /* Access authorization function */ + void *pAuthArg; /* 1st argument to the access auth function */ +#endif +#ifndef SQLITE_OMIT_PROGRESS_CALLBACK + int (*xProgress)(void *); /* The progress callback */ + void *pProgressArg; /* Argument to the progress callback */ + unsigned nProgressOps; /* Number of opcodes for progress callback */ +#endif +#ifndef SQLITE_OMIT_VIRTUALTABLE + int nVTrans; /* Allocated size of aVTrans */ + Hash aModule; /* populated by sqlite3_create_module() */ + VtabCtx *pVtabCtx; /* Context for active vtab connect/create */ + VTable **aVTrans; /* Virtual tables with open transactions */ + VTable *pDisconnect; /* Disconnect these in next sqlite3_prepare() */ +#endif + Hash aFunc; /* Hash table of connection functions */ + Hash aCollSeq; /* All collating sequences */ + BusyHandler busyHandler; /* Busy callback */ + Db aDbStatic[2]; /* Static space for the 2 default backends */ + Savepoint *pSavepoint; /* List of active savepoints */ + int busyTimeout; /* Busy handler timeout, in msec */ + int nSavepoint; /* Number of non-transaction savepoints */ + int nStatement; /* Number of nested statement-transactions */ + i64 nDeferredCons; /* Net deferred constraints this transaction. */ + i64 nDeferredImmCons; /* Net deferred immediate constraints */ + int *pnBytesFreed; /* If not NULL, increment this in DbFree() */ +#ifdef SQLITE_ENABLE_UNLOCK_NOTIFY + /* The following variables are all protected by the STATIC_MASTER + ** mutex, not by sqlite3.mutex. They are used by code in notify.c. + ** + ** When X.pUnlockConnection==Y, that means that X is waiting for Y to + ** unlock so that it can proceed. + ** + ** When X.pBlockingConnection==Y, that means that something that X tried + ** tried to do recently failed with an SQLITE_LOCKED error due to locks + ** held by Y. + */ + sqlite3 *pBlockingConnection; /* Connection that caused SQLITE_LOCKED */ + sqlite3 *pUnlockConnection; /* Connection to watch for unlock */ + void *pUnlockArg; /* Argument to xUnlockNotify */ + void (*xUnlockNotify)(void **, int); /* Unlock notify callback */ + sqlite3 *pNextBlocked; /* Next in list of all blocked connections */ +#endif +#ifdef SQLITE_USER_AUTHENTICATION + sqlite3_userauth auth; /* User authentication information */ +#endif +}; + +/* +** A macro to discover the encoding of a database. +*/ +#define SCHEMA_ENC(db) ((db)->aDb[0].pSchema->enc) +#define ENC(db) ((db)->enc) + +/* +** Possible values for the sqlite3.flags. +** +** Value constraints (enforced via assert()): +** SQLITE_FullFSync == PAGER_FULLFSYNC +** SQLITE_CkptFullFSync == PAGER_CKPT_FULLFSYNC +** SQLITE_CacheSpill == PAGER_CACHE_SPILL +*/ +#define SQLITE_WriteSchema 0x00000001 /* OK to update SQLITE_MASTER */ +#define SQLITE_LegacyFileFmt 0x00000002 /* Create new databases in format 1 */ +#define SQLITE_FullColNames 0x00000004 /* Show full column names on SELECT */ +#define SQLITE_FullFSync 0x00000008 /* Use full fsync on the backend */ +#define SQLITE_CkptFullFSync 0x00000010 /* Use full fsync for checkpoint */ +#define SQLITE_CacheSpill 0x00000020 /* OK to spill pager cache */ +#define SQLITE_ShortColNames 0x00000040 /* Show short columns names */ +#define SQLITE_CountRows 0x00000080 /* Count rows changed by INSERT, */ + /* DELETE, or UPDATE and return */ + /* the count using a callback. */ +#define SQLITE_NullCallback 0x00000100 /* Invoke the callback once if the */ + /* result set is empty */ +#define SQLITE_IgnoreChecks 0x00000200 /* Do not enforce check constraints */ +#define SQLITE_ReadUncommit 0x00000400 /* READ UNCOMMITTED in shared-cache */ +#define SQLITE_NoCkptOnClose 0x00000800 /* No checkpoint on close()/DETACH */ +#define SQLITE_ReverseOrder 0x00001000 /* Reverse unordered SELECTs */ +#define SQLITE_RecTriggers 0x00002000 /* Enable recursive triggers */ +#define SQLITE_ForeignKeys 0x00004000 /* Enforce foreign key constraints */ +#define SQLITE_AutoIndex 0x00008000 /* Enable automatic indexes */ +#define SQLITE_LoadExtension 0x00010000 /* Enable load_extension */ +#define SQLITE_LoadExtFunc 0x00020000 /* Enable load_extension() SQL func */ +#define SQLITE_EnableTrigger 0x00040000 /* True to enable triggers */ +#define SQLITE_DeferFKs 0x00080000 /* Defer all FK constraints */ +#define SQLITE_QueryOnly 0x00100000 /* Disable database changes */ +#define SQLITE_CellSizeCk 0x00200000 /* Check btree cell sizes on load */ +#define SQLITE_Fts3Tokenizer 0x00400000 /* Enable fts3_tokenizer(2) */ +#define SQLITE_EnableQPSG 0x00800000 /* Query Planner Stability Guarantee*/ +#define SQLITE_TriggerEQP 0x01000000 /* Show trigger EXPLAIN QUERY PLAN */ +#define SQLITE_ResetDatabase 0x02000000 /* Reset the database */ +#define SQLITE_LegacyAlter 0x04000000 /* Legacy ALTER TABLE behaviour */ +#define SQLITE_NoSchemaError 0x08000000 /* Do not report schema parse errors*/ +#define SQLITE_Defensive 0x10000000 /* Input SQL is likely hostile */ +#define SQLITE_DqsDDL 0x20000000 /* dbl-quoted strings allowed in DDL*/ +#define SQLITE_DqsDML 0x40000000 /* dbl-quoted strings allowed in DML*/ +#define SQLITE_EnableView 0x80000000 /* Enable the use of views */ + +/* Flags used only if debugging */ +#define HI(X) ((u64)(X)<<32) +#ifdef SQLITE_DEBUG +#define SQLITE_SqlTrace HI(0x0100000) /* Debug print SQL as it executes */ +#define SQLITE_VdbeListing HI(0x0200000) /* Debug listings of VDBE progs */ +#define SQLITE_VdbeTrace HI(0x0400000) /* True to trace VDBE execution */ +#define SQLITE_VdbeAddopTrace HI(0x0800000) /* Trace sqlite3VdbeAddOp() calls */ +#define SQLITE_VdbeEQP HI(0x1000000) /* Debug EXPLAIN QUERY PLAN */ +#define SQLITE_ParserTrace HI(0x2000000) /* PRAGMA parser_trace=ON */ +#endif + +/* +** Allowed values for sqlite3.mDbFlags +*/ +#define DBFLAG_SchemaChange 0x0001 /* Uncommitted Hash table changes */ +#define DBFLAG_PreferBuiltin 0x0002 /* Preference to built-in funcs */ +#define DBFLAG_Vacuum 0x0004 /* Currently in a VACUUM */ +#define DBFLAG_VacuumInto 0x0008 /* Currently running VACUUM INTO */ +#define DBFLAG_SchemaKnownOk 0x0010 /* Schema is known to be valid */ + +/* +** Bits of the sqlite3.dbOptFlags field that are used by the +** sqlite3_test_control(SQLITE_TESTCTRL_OPTIMIZATIONS,...) interface to +** selectively disable various optimizations. +*/ +#define SQLITE_QueryFlattener 0x0001 /* Query flattening */ +#define SQLITE_WindowFunc 0x0002 /* Use xInverse for window functions */ +#define SQLITE_GroupByOrder 0x0004 /* GROUPBY cover of ORDERBY */ +#define SQLITE_FactorOutConst 0x0008 /* Constant factoring */ +#define SQLITE_DistinctOpt 0x0010 /* DISTINCT using indexes */ +#define SQLITE_CoverIdxScan 0x0020 /* Covering index scans */ +#define SQLITE_OrderByIdxJoin 0x0040 /* ORDER BY of joins via index */ +#define SQLITE_Transitive 0x0080 /* Transitive constraints */ +#define SQLITE_OmitNoopJoin 0x0100 /* Omit unused tables in joins */ +#define SQLITE_CountOfView 0x0200 /* The count-of-view optimization */ +#define SQLITE_CursorHints 0x0400 /* Add OP_CursorHint opcodes */ +#define SQLITE_Stat4 0x0800 /* Use STAT4 data */ + /* TH3 expects the Stat4 ^^^^^^ value to be 0x0800. Don't change it */ +#define SQLITE_PushDown 0x1000 /* The push-down optimization */ +#define SQLITE_SimplifyJoin 0x2000 /* Convert LEFT JOIN to JOIN */ +#define SQLITE_SkipScan 0x4000 /* Skip-scans */ +#define SQLITE_PropagateConst 0x8000 /* The constant propagation opt */ +#define SQLITE_AllOpts 0xffff /* All optimizations */ + +/* +** Macros for testing whether or not optimizations are enabled or disabled. +*/ +#define OptimizationDisabled(db, mask) (((db)->dbOptFlags&(mask))!=0) +#define OptimizationEnabled(db, mask) (((db)->dbOptFlags&(mask))==0) + +/* +** Return true if it OK to factor constant expressions into the initialization +** code. The argument is a Parse object for the code generator. +*/ +#define ConstFactorOk(P) ((P)->okConstFactor) + +/* +** Possible values for the sqlite.magic field. +** The numbers are obtained at random and have no special meaning, other +** than being distinct from one another. +*/ +#define SQLITE_MAGIC_OPEN 0xa029a697 /* Database is open */ +#define SQLITE_MAGIC_CLOSED 0x9f3c2d33 /* Database is closed */ +#define SQLITE_MAGIC_SICK 0x4b771290 /* Error and awaiting close */ +#define SQLITE_MAGIC_BUSY 0xf03b7906 /* Database currently in use */ +#define SQLITE_MAGIC_ERROR 0xb5357930 /* An SQLITE_MISUSE error occurred */ +#define SQLITE_MAGIC_ZOMBIE 0x64cffc7f /* Close with last statement close */ + +/* +** Each SQL function is defined by an instance of the following +** structure. For global built-in functions (ex: substr(), max(), count()) +** a pointer to this structure is held in the sqlite3BuiltinFunctions object. +** For per-connection application-defined functions, a pointer to this +** structure is held in the db->aHash hash table. +** +** The u.pHash field is used by the global built-ins. The u.pDestructor +** field is used by per-connection app-def functions. +*/ +struct FuncDef { + i8 nArg; /* Number of arguments. -1 means unlimited */ + u32 funcFlags; /* Some combination of SQLITE_FUNC_* */ + void *pUserData; /* User data parameter */ + FuncDef *pNext; /* Next function with same name */ + void (*xSFunc)(sqlite3_context*,int,sqlite3_value**); /* func or agg-step */ + void (*xFinalize)(sqlite3_context*); /* Agg finalizer */ + void (*xValue)(sqlite3_context*); /* Current agg value */ + void (*xInverse)(sqlite3_context*,int,sqlite3_value**); /* inverse agg-step */ + const char *zName; /* SQL name of the function. */ + union { + FuncDef *pHash; /* Next with a different name but the same hash */ + FuncDestructor *pDestructor; /* Reference counted destructor function */ + } u; +}; + +/* +** This structure encapsulates a user-function destructor callback (as +** configured using create_function_v2()) and a reference counter. When +** create_function_v2() is called to create a function with a destructor, +** a single object of this type is allocated. FuncDestructor.nRef is set to +** the number of FuncDef objects created (either 1 or 3, depending on whether +** or not the specified encoding is SQLITE_ANY). The FuncDef.pDestructor +** member of each of the new FuncDef objects is set to point to the allocated +** FuncDestructor. +** +** Thereafter, when one of the FuncDef objects is deleted, the reference +** count on this object is decremented. When it reaches 0, the destructor +** is invoked and the FuncDestructor structure freed. +*/ +struct FuncDestructor { + int nRef; + void (*xDestroy)(void *); + void *pUserData; +}; + +/* +** Possible values for FuncDef.flags. Note that the _LENGTH and _TYPEOF +** values must correspond to OPFLAG_LENGTHARG and OPFLAG_TYPEOFARG. And +** SQLITE_FUNC_CONSTANT must be the same as SQLITE_DETERMINISTIC. There +** are assert() statements in the code to verify this. +** +** Value constraints (enforced via assert()): +** SQLITE_FUNC_MINMAX == NC_MinMaxAgg == SF_MinMaxAgg +** SQLITE_FUNC_LENGTH == OPFLAG_LENGTHARG +** SQLITE_FUNC_TYPEOF == OPFLAG_TYPEOFARG +** SQLITE_FUNC_CONSTANT == SQLITE_DETERMINISTIC from the API +** SQLITE_FUNC_DIRECT == SQLITE_DIRECTONLY from the API +** SQLITE_FUNC_ENCMASK depends on SQLITE_UTF* macros in the API +*/ +#define SQLITE_FUNC_ENCMASK 0x0003 /* SQLITE_UTF8, SQLITE_UTF16BE or UTF16LE */ +#define SQLITE_FUNC_LIKE 0x0004 /* Candidate for the LIKE optimization */ +#define SQLITE_FUNC_CASE 0x0008 /* Case-sensitive LIKE-type function */ +#define SQLITE_FUNC_EPHEM 0x0010 /* Ephemeral. Delete with VDBE */ +#define SQLITE_FUNC_NEEDCOLL 0x0020 /* sqlite3GetFuncCollSeq() might be called*/ +#define SQLITE_FUNC_LENGTH 0x0040 /* Built-in length() function */ +#define SQLITE_FUNC_TYPEOF 0x0080 /* Built-in typeof() function */ +#define SQLITE_FUNC_COUNT 0x0100 /* Built-in count(*) aggregate */ +#define SQLITE_FUNC_COALESCE 0x0200 /* Built-in coalesce() or ifnull() */ +#define SQLITE_FUNC_UNLIKELY 0x0400 /* Built-in unlikely() function */ +#define SQLITE_FUNC_CONSTANT 0x0800 /* Constant inputs give a constant output */ +#define SQLITE_FUNC_MINMAX 0x1000 /* True for min() and max() aggregates */ +#define SQLITE_FUNC_SLOCHNG 0x2000 /* "Slow Change". Value constant during a + ** single query - might change over time */ +#define SQLITE_FUNC_AFFINITY 0x4000 /* Built-in affinity() function */ +#define SQLITE_FUNC_OFFSET 0x8000 /* Built-in sqlite_offset() function */ +#define SQLITE_FUNC_WINDOW 0x00010000 /* Built-in window-only function */ +#define SQLITE_FUNC_INTERNAL 0x00040000 /* For use by NestedParse() only */ +#define SQLITE_FUNC_DIRECT 0x00080000 /* Not for use in TRIGGERs or VIEWs */ +#define SQLITE_FUNC_SUBTYPE 0x00100000 /* Result likely to have sub-type */ + +/* +** The following three macros, FUNCTION(), LIKEFUNC() and AGGREGATE() are +** used to create the initializers for the FuncDef structures. +** +** FUNCTION(zName, nArg, iArg, bNC, xFunc) +** Used to create a scalar function definition of a function zName +** implemented by C function xFunc that accepts nArg arguments. The +** value passed as iArg is cast to a (void*) and made available +** as the user-data (sqlite3_user_data()) for the function. If +** argument bNC is true, then the SQLITE_FUNC_NEEDCOLL flag is set. +** +** VFUNCTION(zName, nArg, iArg, bNC, xFunc) +** Like FUNCTION except it omits the SQLITE_FUNC_CONSTANT flag. +** +** DFUNCTION(zName, nArg, iArg, bNC, xFunc) +** Like FUNCTION except it omits the SQLITE_FUNC_CONSTANT flag and +** adds the SQLITE_FUNC_SLOCHNG flag. Used for date & time functions +** and functions like sqlite_version() that can change, but not during +** a single query. The iArg is ignored. The user-data is always set +** to a NULL pointer. The bNC parameter is not used. +** +** PURE_DATE(zName, nArg, iArg, bNC, xFunc) +** Used for "pure" date/time functions, this macro is like DFUNCTION +** except that it does set the SQLITE_FUNC_CONSTANT flags. iArg is +** ignored and the user-data for these functions is set to an +** arbitrary non-NULL pointer. The bNC parameter is not used. +** +** AGGREGATE(zName, nArg, iArg, bNC, xStep, xFinal) +** Used to create an aggregate function definition implemented by +** the C functions xStep and xFinal. The first four parameters +** are interpreted in the same way as the first 4 parameters to +** FUNCTION(). +** +** WFUNCTION(zName, nArg, iArg, xStep, xFinal, xValue, xInverse) +** Used to create an aggregate function definition implemented by +** the C functions xStep and xFinal. The first four parameters +** are interpreted in the same way as the first 4 parameters to +** FUNCTION(). +** +** LIKEFUNC(zName, nArg, pArg, flags) +** Used to create a scalar function definition of a function zName +** that accepts nArg arguments and is implemented by a call to C +** function likeFunc. Argument pArg is cast to a (void *) and made +** available as the function user-data (sqlite3_user_data()). The +** FuncDef.flags variable is set to the value passed as the flags +** parameter. +*/ +#define FUNCTION(zName, nArg, iArg, bNC, xFunc) \ + {nArg, SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \ + SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, 0, 0, #zName, {0} } +#define VFUNCTION(zName, nArg, iArg, bNC, xFunc) \ + {nArg, SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \ + SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, 0, 0, #zName, {0} } +#define DFUNCTION(zName, nArg, iArg, bNC, xFunc) \ + {nArg, SQLITE_FUNC_SLOCHNG|SQLITE_UTF8, \ + 0, 0, xFunc, 0, 0, 0, #zName, {0} } +#define PURE_DATE(zName, nArg, iArg, bNC, xFunc) \ + {nArg, SQLITE_FUNC_SLOCHNG|SQLITE_UTF8|SQLITE_FUNC_CONSTANT, \ + (void*)&sqlite3Config, 0, xFunc, 0, 0, 0, #zName, {0} } +#define FUNCTION2(zName, nArg, iArg, bNC, xFunc, extraFlags) \ + {nArg,SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL)|extraFlags,\ + SQLITE_INT_TO_PTR(iArg), 0, xFunc, 0, 0, 0, #zName, {0} } +#define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \ + {nArg, SQLITE_FUNC_SLOCHNG|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \ + pArg, 0, xFunc, 0, 0, 0, #zName, } +#define LIKEFUNC(zName, nArg, arg, flags) \ + {nArg, SQLITE_FUNC_CONSTANT|SQLITE_UTF8|flags, \ + (void *)arg, 0, likeFunc, 0, 0, 0, #zName, {0} } +#define AGGREGATE(zName, nArg, arg, nc, xStep, xFinal, xValue) \ + {nArg, SQLITE_UTF8|(nc*SQLITE_FUNC_NEEDCOLL), \ + SQLITE_INT_TO_PTR(arg), 0, xStep,xFinal,xValue,0,#zName, {0}} +#define AGGREGATE2(zName, nArg, arg, nc, xStep, xFinal, extraFlags) \ + {nArg, SQLITE_UTF8|(nc*SQLITE_FUNC_NEEDCOLL)|extraFlags, \ + SQLITE_INT_TO_PTR(arg), 0, xStep,xFinal,xFinal,0,#zName, {0}} +#define WAGGREGATE(zName, nArg, arg, nc, xStep, xFinal, xValue, xInverse, f) \ + {nArg, SQLITE_UTF8|(nc*SQLITE_FUNC_NEEDCOLL)|f, \ + SQLITE_INT_TO_PTR(arg), 0, xStep,xFinal,xValue,xInverse,#zName, {0}} +#define INTERNAL_FUNCTION(zName, nArg, xFunc) \ + {nArg, SQLITE_FUNC_INTERNAL|SQLITE_UTF8|SQLITE_FUNC_CONSTANT, \ + 0, 0, xFunc, 0, 0, 0, #zName, {0} } + + +/* +** All current savepoints are stored in a linked list starting at +** sqlite3.pSavepoint. The first element in the list is the most recently +** opened savepoint. Savepoints are added to the list by the vdbe +** OP_Savepoint instruction. +*/ +struct Savepoint { + char *zName; /* Savepoint name (nul-terminated) */ + i64 nDeferredCons; /* Number of deferred fk violations */ + i64 nDeferredImmCons; /* Number of deferred imm fk. */ + Savepoint *pNext; /* Parent savepoint (if any) */ +}; + +/* +** The following are used as the second parameter to sqlite3Savepoint(), +** and as the P1 argument to the OP_Savepoint instruction. +*/ +#define SAVEPOINT_BEGIN 0 +#define SAVEPOINT_RELEASE 1 +#define SAVEPOINT_ROLLBACK 2 + + +/* +** Each SQLite module (virtual table definition) is defined by an +** instance of the following structure, stored in the sqlite3.aModule +** hash table. +*/ +struct Module { + const sqlite3_module *pModule; /* Callback pointers */ + const char *zName; /* Name passed to create_module() */ + int nRefModule; /* Number of pointers to this object */ + void *pAux; /* pAux passed to create_module() */ + void (*xDestroy)(void *); /* Module destructor function */ + Table *pEpoTab; /* Eponymous table for this module */ +}; + +/* +** information about each column of an SQL table is held in an instance +** of this structure. +*/ +struct Column { + char *zName; /* Name of this column, \000, then the type */ + Expr *pDflt; /* Default value of this column */ + char *zColl; /* Collating sequence. If NULL, use the default */ + u8 notNull; /* An OE_ code for handling a NOT NULL constraint */ + char affinity; /* One of the SQLITE_AFF_... values */ + u8 szEst; /* Estimated size of value in this column. sizeof(INT)==1 */ + u8 colFlags; /* Boolean properties. See COLFLAG_ defines below */ +}; + +/* Allowed values for Column.colFlags: +*/ +#define COLFLAG_PRIMKEY 0x0001 /* Column is part of the primary key */ +#define COLFLAG_HIDDEN 0x0002 /* A hidden column in a virtual table */ +#define COLFLAG_HASTYPE 0x0004 /* Type name follows column name */ +#define COLFLAG_UNIQUE 0x0008 /* Column def contains "UNIQUE" or "PK" */ +#define COLFLAG_SORTERREF 0x0010 /* Use sorter-refs with this column */ + +/* +** A "Collating Sequence" is defined by an instance of the following +** structure. Conceptually, a collating sequence consists of a name and +** a comparison routine that defines the order of that sequence. +** +** If CollSeq.xCmp is NULL, it means that the +** collating sequence is undefined. Indices built on an undefined +** collating sequence may not be read or written. +*/ +struct CollSeq { + char *zName; /* Name of the collating sequence, UTF-8 encoded */ + u8 enc; /* Text encoding handled by xCmp() */ + void *pUser; /* First argument to xCmp() */ + int (*xCmp)(void*,int, const void*, int, const void*); + void (*xDel)(void*); /* Destructor for pUser */ +}; + +/* +** A sort order can be either ASC or DESC. +*/ +#define SQLITE_SO_ASC 0 /* Sort in ascending order */ +#define SQLITE_SO_DESC 1 /* Sort in ascending order */ +#define SQLITE_SO_UNDEFINED -1 /* No sort order specified */ + +/* +** Column affinity types. +** +** These used to have mnemonic name like 'i' for SQLITE_AFF_INTEGER and +** 't' for SQLITE_AFF_TEXT. But we can save a little space and improve +** the speed a little by numbering the values consecutively. +** +** But rather than start with 0 or 1, we begin with 'A'. That way, +** when multiple affinity types are concatenated into a string and +** used as the P4 operand, they will be more readable. +** +** Note also that the numeric types are grouped together so that testing +** for a numeric type is a single comparison. And the BLOB type is first. +*/ +#define SQLITE_AFF_NONE 0x40 /* '@' */ +#define SQLITE_AFF_BLOB 0x41 /* 'A' */ +#define SQLITE_AFF_TEXT 0x42 /* 'B' */ +#define SQLITE_AFF_NUMERIC 0x43 /* 'C' */ +#define SQLITE_AFF_INTEGER 0x44 /* 'D' */ +#define SQLITE_AFF_REAL 0x45 /* 'E' */ + +#define sqlite3IsNumericAffinity(X) ((X)>=SQLITE_AFF_NUMERIC) + +/* +** The SQLITE_AFF_MASK values masks off the significant bits of an +** affinity value. +*/ +#define SQLITE_AFF_MASK 0x47 + +/* +** Additional bit values that can be ORed with an affinity without +** changing the affinity. +** +** The SQLITE_NOTNULL flag is a combination of NULLEQ and JUMPIFNULL. +** It causes an assert() to fire if either operand to a comparison +** operator is NULL. It is added to certain comparison operators to +** prove that the operands are always NOT NULL. +*/ +#define SQLITE_KEEPNULL 0x08 /* Used by vector == or <> */ +#define SQLITE_JUMPIFNULL 0x10 /* jumps if either operand is NULL */ +#define SQLITE_STOREP2 0x20 /* Store result in reg[P2] rather than jump */ +#define SQLITE_NULLEQ 0x80 /* NULL=NULL */ +#define SQLITE_NOTNULL 0x90 /* Assert that operands are never NULL */ + +/* +** An object of this type is created for each virtual table present in +** the database schema. +** +** If the database schema is shared, then there is one instance of this +** structure for each database connection (sqlite3*) that uses the shared +** schema. This is because each database connection requires its own unique +** instance of the sqlite3_vtab* handle used to access the virtual table +** implementation. sqlite3_vtab* handles can not be shared between +** database connections, even when the rest of the in-memory database +** schema is shared, as the implementation often stores the database +** connection handle passed to it via the xConnect() or xCreate() method +** during initialization internally. This database connection handle may +** then be used by the virtual table implementation to access real tables +** within the database. So that they appear as part of the callers +** transaction, these accesses need to be made via the same database +** connection as that used to execute SQL operations on the virtual table. +** +** All VTable objects that correspond to a single table in a shared +** database schema are initially stored in a linked-list pointed to by +** the Table.pVTable member variable of the corresponding Table object. +** When an sqlite3_prepare() operation is required to access the virtual +** table, it searches the list for the VTable that corresponds to the +** database connection doing the preparing so as to use the correct +** sqlite3_vtab* handle in the compiled query. +** +** When an in-memory Table object is deleted (for example when the +** schema is being reloaded for some reason), the VTable objects are not +** deleted and the sqlite3_vtab* handles are not xDisconnect()ed +** immediately. Instead, they are moved from the Table.pVTable list to +** another linked list headed by the sqlite3.pDisconnect member of the +** corresponding sqlite3 structure. They are then deleted/xDisconnected +** next time a statement is prepared using said sqlite3*. This is done +** to avoid deadlock issues involving multiple sqlite3.mutex mutexes. +** Refer to comments above function sqlite3VtabUnlockList() for an +** explanation as to why it is safe to add an entry to an sqlite3.pDisconnect +** list without holding the corresponding sqlite3.mutex mutex. +** +** The memory for objects of this type is always allocated by +** sqlite3DbMalloc(), using the connection handle stored in VTable.db as +** the first argument. +*/ +struct VTable { + sqlite3 *db; /* Database connection associated with this table */ + Module *pMod; /* Pointer to module implementation */ + sqlite3_vtab *pVtab; /* Pointer to vtab instance */ + int nRef; /* Number of pointers to this structure */ + u8 bConstraint; /* True if constraints are supported */ + int iSavepoint; /* Depth of the SAVEPOINT stack */ + VTable *pNext; /* Next in linked list (see above) */ +}; + +/* +** The schema for each SQL table and view is represented in memory +** by an instance of the following structure. +*/ +struct Table { + char *zName; /* Name of the table or view */ + Column *aCol; /* Information about each column */ + Index *pIndex; /* List of SQL indexes on this table. */ + Select *pSelect; /* NULL for tables. Points to definition if a view. */ + FKey *pFKey; /* Linked list of all foreign keys in this table */ + char *zColAff; /* String defining the affinity of each column */ + ExprList *pCheck; /* All CHECK constraints */ + /* ... also used as column name list in a VIEW */ + int tnum; /* Root BTree page for this table */ + u32 nTabRef; /* Number of pointers to this Table */ + u32 tabFlags; /* Mask of TF_* values */ + i16 iPKey; /* If not negative, use aCol[iPKey] as the rowid */ + i16 nCol; /* Number of columns in this table */ + LogEst nRowLogEst; /* Estimated rows in table - from sqlite_stat1 table */ + LogEst szTabRow; /* Estimated size of each table row in bytes */ +#ifdef SQLITE_ENABLE_COSTMULT + LogEst costMult; /* Cost multiplier for using this table */ +#endif + u8 keyConf; /* What to do in case of uniqueness conflict on iPKey */ +#ifndef SQLITE_OMIT_ALTERTABLE + int addColOffset; /* Offset in CREATE TABLE stmt to add a new column */ +#endif +#ifndef SQLITE_OMIT_VIRTUALTABLE + int nModuleArg; /* Number of arguments to the module */ + char **azModuleArg; /* 0: module 1: schema 2: vtab name 3...: args */ + VTable *pVTable; /* List of VTable objects. */ +#endif + Trigger *pTrigger; /* List of triggers stored in pSchema */ + Schema *pSchema; /* Schema that contains this table */ + Table *pNextZombie; /* Next on the Parse.pZombieTab list */ +}; + +/* +** Allowed values for Table.tabFlags. +** +** TF_OOOHidden applies to tables or view that have hidden columns that are +** followed by non-hidden columns. Example: "CREATE VIRTUAL TABLE x USING +** vtab1(a HIDDEN, b);". Since "b" is a non-hidden column but "a" is hidden, +** the TF_OOOHidden attribute would apply in this case. Such tables require +** special handling during INSERT processing. +*/ +#define TF_Readonly 0x0001 /* Read-only system table */ +#define TF_Ephemeral 0x0002 /* An ephemeral table */ +#define TF_HasPrimaryKey 0x0004 /* Table has a primary key */ +#define TF_Autoincrement 0x0008 /* Integer primary key is autoincrement */ +#define TF_HasStat1 0x0010 /* nRowLogEst set from sqlite_stat1 */ +#define TF_WithoutRowid 0x0020 /* No rowid. PRIMARY KEY is the key */ +#define TF_NoVisibleRowid 0x0040 /* No user-visible "rowid" column */ +#define TF_OOOHidden 0x0080 /* Out-of-Order hidden columns */ +#define TF_StatsUsed 0x0100 /* Query planner decisions affected by + ** Index.aiRowLogEst[] values */ +#define TF_HasNotNull 0x0200 /* Contains NOT NULL constraints */ +#define TF_Shadow 0x0400 /* True for a shadow table */ + +/* +** Test to see whether or not a table is a virtual table. This is +** done as a macro so that it will be optimized out when virtual +** table support is omitted from the build. +*/ +#ifndef SQLITE_OMIT_VIRTUALTABLE +# define IsVirtual(X) ((X)->nModuleArg) +#else +# define IsVirtual(X) 0 +#endif + +/* +** Macros to determine if a column is hidden. IsOrdinaryHiddenColumn() +** only works for non-virtual tables (ordinary tables and views) and is +** always false unless SQLITE_ENABLE_HIDDEN_COLUMNS is defined. The +** IsHiddenColumn() macro is general purpose. +*/ +#if defined(SQLITE_ENABLE_HIDDEN_COLUMNS) +# define IsHiddenColumn(X) (((X)->colFlags & COLFLAG_HIDDEN)!=0) +# define IsOrdinaryHiddenColumn(X) (((X)->colFlags & COLFLAG_HIDDEN)!=0) +#elif !defined(SQLITE_OMIT_VIRTUALTABLE) +# define IsHiddenColumn(X) (((X)->colFlags & COLFLAG_HIDDEN)!=0) +# define IsOrdinaryHiddenColumn(X) 0 +#else +# define IsHiddenColumn(X) 0 +# define IsOrdinaryHiddenColumn(X) 0 +#endif + + +/* Does the table have a rowid */ +#define HasRowid(X) (((X)->tabFlags & TF_WithoutRowid)==0) +#define VisibleRowid(X) (((X)->tabFlags & TF_NoVisibleRowid)==0) + +/* +** Each foreign key constraint is an instance of the following structure. +** +** A foreign key is associated with two tables. The "from" table is +** the table that contains the REFERENCES clause that creates the foreign +** key. The "to" table is the table that is named in the REFERENCES clause. +** Consider this example: +** +** CREATE TABLE ex1( +** a INTEGER PRIMARY KEY, +** b INTEGER CONSTRAINT fk1 REFERENCES ex2(x) +** ); +** +** For foreign key "fk1", the from-table is "ex1" and the to-table is "ex2". +** Equivalent names: +** +** from-table == child-table +** to-table == parent-table +** +** Each REFERENCES clause generates an instance of the following structure +** which is attached to the from-table. The to-table need not exist when +** the from-table is created. The existence of the to-table is not checked. +** +** The list of all parents for child Table X is held at X.pFKey. +** +** A list of all children for a table named Z (which might not even exist) +** is held in Schema.fkeyHash with a hash key of Z. +*/ +struct FKey { + Table *pFrom; /* Table containing the REFERENCES clause (aka: Child) */ + FKey *pNextFrom; /* Next FKey with the same in pFrom. Next parent of pFrom */ + char *zTo; /* Name of table that the key points to (aka: Parent) */ + FKey *pNextTo; /* Next with the same zTo. Next child of zTo. */ + FKey *pPrevTo; /* Previous with the same zTo */ + int nCol; /* Number of columns in this key */ + /* EV: R-30323-21917 */ + u8 isDeferred; /* True if constraint checking is deferred till COMMIT */ + u8 aAction[2]; /* ON DELETE and ON UPDATE actions, respectively */ + Trigger *apTrigger[2];/* Triggers for aAction[] actions */ + struct sColMap { /* Mapping of columns in pFrom to columns in zTo */ + int iFrom; /* Index of column in pFrom */ + char *zCol; /* Name of column in zTo. If NULL use PRIMARY KEY */ + } aCol[1]; /* One entry for each of nCol columns */ +}; + +/* +** SQLite supports many different ways to resolve a constraint +** error. ROLLBACK processing means that a constraint violation +** causes the operation in process to fail and for the current transaction +** to be rolled back. ABORT processing means the operation in process +** fails and any prior changes from that one operation are backed out, +** but the transaction is not rolled back. FAIL processing means that +** the operation in progress stops and returns an error code. But prior +** changes due to the same operation are not backed out and no rollback +** occurs. IGNORE means that the particular row that caused the constraint +** error is not inserted or updated. Processing continues and no error +** is returned. REPLACE means that preexisting database rows that caused +** a UNIQUE constraint violation are removed so that the new insert or +** update can proceed. Processing continues and no error is reported. +** +** RESTRICT, SETNULL, and CASCADE actions apply only to foreign keys. +** RESTRICT is the same as ABORT for IMMEDIATE foreign keys and the +** same as ROLLBACK for DEFERRED keys. SETNULL means that the foreign +** key is set to NULL. CASCADE means that a DELETE or UPDATE of the +** referenced table row is propagated into the row that holds the +** foreign key. +** +** The following symbolic values are used to record which type +** of action to take. +*/ +#define OE_None 0 /* There is no constraint to check */ +#define OE_Rollback 1 /* Fail the operation and rollback the transaction */ +#define OE_Abort 2 /* Back out changes but do no rollback transaction */ +#define OE_Fail 3 /* Stop the operation but leave all prior changes */ +#define OE_Ignore 4 /* Ignore the error. Do not do the INSERT or UPDATE */ +#define OE_Replace 5 /* Delete existing record, then do INSERT or UPDATE */ +#define OE_Update 6 /* Process as a DO UPDATE in an upsert */ +#define OE_Restrict 7 /* OE_Abort for IMMEDIATE, OE_Rollback for DEFERRED */ +#define OE_SetNull 8 /* Set the foreign key value to NULL */ +#define OE_SetDflt 9 /* Set the foreign key value to its default */ +#define OE_Cascade 10 /* Cascade the changes */ +#define OE_Default 11 /* Do whatever the default action is */ + + +/* +** An instance of the following structure is passed as the first +** argument to sqlite3VdbeKeyCompare and is used to control the +** comparison of the two index keys. +** +** Note that aSortOrder[] and aColl[] have nField+1 slots. There +** are nField slots for the columns of an index then one extra slot +** for the rowid at the end. +*/ +struct KeyInfo { + u32 nRef; /* Number of references to this KeyInfo object */ + u8 enc; /* Text encoding - one of the SQLITE_UTF* values */ + u16 nKeyField; /* Number of key columns in the index */ + u16 nAllField; /* Total columns, including key plus others */ + sqlite3 *db; /* The database connection */ + u8 *aSortFlags; /* Sort order for each column. */ + CollSeq *aColl[1]; /* Collating sequence for each term of the key */ +}; + +/* +** Allowed bit values for entries in the KeyInfo.aSortFlags[] array. +*/ +#define KEYINFO_ORDER_DESC 0x01 /* DESC sort order */ +#define KEYINFO_ORDER_BIGNULL 0x02 /* NULL is larger than any other value */ + +/* +** This object holds a record which has been parsed out into individual +** fields, for the purposes of doing a comparison. +** +** A record is an object that contains one or more fields of data. +** Records are used to store the content of a table row and to store +** the key of an index. A blob encoding of a record is created by +** the OP_MakeRecord opcode of the VDBE and is disassembled by the +** OP_Column opcode. +** +** An instance of this object serves as a "key" for doing a search on +** an index b+tree. The goal of the search is to find the entry that +** is closed to the key described by this object. This object might hold +** just a prefix of the key. The number of fields is given by +** pKeyInfo->nField. +** +** The r1 and r2 fields are the values to return if this key is less than +** or greater than a key in the btree, respectively. These are normally +** -1 and +1 respectively, but might be inverted to +1 and -1 if the b-tree +** is in DESC order. +** +** The key comparison functions actually return default_rc when they find +** an equals comparison. default_rc can be -1, 0, or +1. If there are +** multiple entries in the b-tree with the same key (when only looking +** at the first pKeyInfo->nFields,) then default_rc can be set to -1 to +** cause the search to find the last match, or +1 to cause the search to +** find the first match. +** +** The key comparison functions will set eqSeen to true if they ever +** get and equal results when comparing this structure to a b-tree record. +** When default_rc!=0, the search might end up on the record immediately +** before the first match or immediately after the last match. The +** eqSeen field will indicate whether or not an exact match exists in the +** b-tree. +*/ +struct UnpackedRecord { + KeyInfo *pKeyInfo; /* Collation and sort-order information */ + Mem *aMem; /* Values */ + u16 nField; /* Number of entries in apMem[] */ + i8 default_rc; /* Comparison result if keys are equal */ + u8 errCode; /* Error detected by xRecordCompare (CORRUPT or NOMEM) */ + i8 r1; /* Value to return if (lhs < rhs) */ + i8 r2; /* Value to return if (lhs > rhs) */ + u8 eqSeen; /* True if an equality comparison has been seen */ +}; + + +/* +** Each SQL index is represented in memory by an +** instance of the following structure. +** +** The columns of the table that are to be indexed are described +** by the aiColumn[] field of this structure. For example, suppose +** we have the following table and index: +** +** CREATE TABLE Ex1(c1 int, c2 int, c3 text); +** CREATE INDEX Ex2 ON Ex1(c3,c1); +** +** In the Table structure describing Ex1, nCol==3 because there are +** three columns in the table. In the Index structure describing +** Ex2, nColumn==2 since 2 of the 3 columns of Ex1 are indexed. +** The value of aiColumn is {2, 0}. aiColumn[0]==2 because the +** first column to be indexed (c3) has an index of 2 in Ex1.aCol[]. +** The second column to be indexed (c1) has an index of 0 in +** Ex1.aCol[], hence Ex2.aiColumn[1]==0. +** +** The Index.onError field determines whether or not the indexed columns +** must be unique and what to do if they are not. When Index.onError=OE_None, +** it means this is not a unique index. Otherwise it is a unique index +** and the value of Index.onError indicate the which conflict resolution +** algorithm to employ whenever an attempt is made to insert a non-unique +** element. +** +** While parsing a CREATE TABLE or CREATE INDEX statement in order to +** generate VDBE code (as opposed to parsing one read from an sqlite_master +** table as part of parsing an existing database schema), transient instances +** of this structure may be created. In this case the Index.tnum variable is +** used to store the address of a VDBE instruction, not a database page +** number (it cannot - the database page is not allocated until the VDBE +** program is executed). See convertToWithoutRowidTable() for details. +*/ +struct Index { + char *zName; /* Name of this index */ + i16 *aiColumn; /* Which columns are used by this index. 1st is 0 */ + LogEst *aiRowLogEst; /* From ANALYZE: Est. rows selected by each column */ + Table *pTable; /* The SQL table being indexed */ + char *zColAff; /* String defining the affinity of each column */ + Index *pNext; /* The next index associated with the same table */ + Schema *pSchema; /* Schema containing this index */ + u8 *aSortOrder; /* for each column: True==DESC, False==ASC */ + const char **azColl; /* Array of collation sequence names for index */ + Expr *pPartIdxWhere; /* WHERE clause for partial indices */ + ExprList *aColExpr; /* Column expressions */ + int tnum; /* DB Page containing root of this index */ + LogEst szIdxRow; /* Estimated average row size in bytes */ + u16 nKeyCol; /* Number of columns forming the key */ + u16 nColumn; /* Number of columns stored in the index */ + u8 onError; /* OE_Abort, OE_Ignore, OE_Replace, or OE_None */ + unsigned idxType:2; /* 0:Normal 1:UNIQUE, 2:PRIMARY KEY, 3:IPK */ + unsigned bUnordered:1; /* Use this index for == or IN queries only */ + unsigned uniqNotNull:1; /* True if UNIQUE and NOT NULL for all columns */ + unsigned isResized:1; /* True if resizeIndexObject() has been called */ + unsigned isCovering:1; /* True if this is a covering index */ + unsigned noSkipScan:1; /* Do not try to use skip-scan if true */ + unsigned hasStat1:1; /* aiRowLogEst values come from sqlite_stat1 */ + unsigned bNoQuery:1; /* Do not use this index to optimize queries */ + unsigned bAscKeyBug:1; /* True if the bba7b69f9849b5bf bug applies */ +#ifdef SQLITE_ENABLE_STAT4 + int nSample; /* Number of elements in aSample[] */ + int nSampleCol; /* Size of IndexSample.anEq[] and so on */ + tRowcnt *aAvgEq; /* Average nEq values for keys not in aSample */ + IndexSample *aSample; /* Samples of the left-most key */ + tRowcnt *aiRowEst; /* Non-logarithmic stat1 data for this index */ + tRowcnt nRowEst0; /* Non-logarithmic number of rows in the index */ +#endif + Bitmask colNotIdxed; /* 0 for unindexed columns in pTab */ +}; + +/* +** Allowed values for Index.idxType +*/ +#define SQLITE_IDXTYPE_APPDEF 0 /* Created using CREATE INDEX */ +#define SQLITE_IDXTYPE_UNIQUE 1 /* Implements a UNIQUE constraint */ +#define SQLITE_IDXTYPE_PRIMARYKEY 2 /* Is the PRIMARY KEY for the table */ +#define SQLITE_IDXTYPE_IPK 3 /* INTEGER PRIMARY KEY index */ + +/* Return true if index X is a PRIMARY KEY index */ +#define IsPrimaryKeyIndex(X) ((X)->idxType==SQLITE_IDXTYPE_PRIMARYKEY) + +/* Return true if index X is a UNIQUE index */ +#define IsUniqueIndex(X) ((X)->onError!=OE_None) + +/* The Index.aiColumn[] values are normally positive integer. But +** there are some negative values that have special meaning: +*/ +#define XN_ROWID (-1) /* Indexed column is the rowid */ +#define XN_EXPR (-2) /* Indexed column is an expression */ + +/* +** Each sample stored in the sqlite_stat4 table is represented in memory +** using a structure of this type. See documentation at the top of the +** analyze.c source file for additional information. +*/ +struct IndexSample { + void *p; /* Pointer to sampled record */ + int n; /* Size of record in bytes */ + tRowcnt *anEq; /* Est. number of rows where the key equals this sample */ + tRowcnt *anLt; /* Est. number of rows where key is less than this sample */ + tRowcnt *anDLt; /* Est. number of distinct keys less than this sample */ +}; + +/* +** Possible values to use within the flags argument to sqlite3GetToken(). +*/ +#define SQLITE_TOKEN_QUOTED 0x1 /* Token is a quoted identifier. */ +#define SQLITE_TOKEN_KEYWORD 0x2 /* Token is a keyword. */ + +/* +** Each token coming out of the lexer is an instance of +** this structure. Tokens are also used as part of an expression. +** +** The memory that "z" points to is owned by other objects. Take care +** that the owner of the "z" string does not deallocate the string before +** the Token goes out of scope! Very often, the "z" points to some place +** in the middle of the Parse.zSql text. But it might also point to a +** static string. +*/ +struct Token { + const char *z; /* Text of the token. Not NULL-terminated! */ + unsigned int n; /* Number of characters in this token */ +}; + +/* +** An instance of this structure contains information needed to generate +** code for a SELECT that contains aggregate functions. +** +** If Expr.op==TK_AGG_COLUMN or TK_AGG_FUNCTION then Expr.pAggInfo is a +** pointer to this structure. The Expr.iColumn field is the index in +** AggInfo.aCol[] or AggInfo.aFunc[] of information needed to generate +** code for that node. +** +** AggInfo.pGroupBy and AggInfo.aFunc.pExpr point to fields within the +** original Select structure that describes the SELECT statement. These +** fields do not need to be freed when deallocating the AggInfo structure. +*/ +struct AggInfo { + u8 directMode; /* Direct rendering mode means take data directly + ** from source tables rather than from accumulators */ + u8 useSortingIdx; /* In direct mode, reference the sorting index rather + ** than the source table */ + int sortingIdx; /* Cursor number of the sorting index */ + int sortingIdxPTab; /* Cursor number of pseudo-table */ + int nSortingColumn; /* Number of columns in the sorting index */ + int mnReg, mxReg; /* Range of registers allocated for aCol and aFunc */ + ExprList *pGroupBy; /* The group by clause */ + struct AggInfo_col { /* For each column used in source tables */ + Table *pTab; /* Source table */ + int iTable; /* Cursor number of the source table */ + int iColumn; /* Column number within the source table */ + int iSorterColumn; /* Column number in the sorting index */ + int iMem; /* Memory location that acts as accumulator */ + Expr *pExpr; /* The original expression */ + } *aCol; + int nColumn; /* Number of used entries in aCol[] */ + int nAccumulator; /* Number of columns that show through to the output. + ** Additional columns are used only as parameters to + ** aggregate functions */ + struct AggInfo_func { /* For each aggregate function */ + Expr *pExpr; /* Expression encoding the function */ + FuncDef *pFunc; /* The aggregate function implementation */ + int iMem; /* Memory location that acts as accumulator */ + int iDistinct; /* Ephemeral table used to enforce DISTINCT */ + } *aFunc; + int nFunc; /* Number of entries in aFunc[] */ +}; + +/* +** The datatype ynVar is a signed integer, either 16-bit or 32-bit. +** Usually it is 16-bits. But if SQLITE_MAX_VARIABLE_NUMBER is greater +** than 32767 we have to make it 32-bit. 16-bit is preferred because +** it uses less memory in the Expr object, which is a big memory user +** in systems with lots of prepared statements. And few applications +** need more than about 10 or 20 variables. But some extreme users want +** to have prepared statements with over 32767 variables, and for them +** the option is available (at compile-time). +*/ +#if SQLITE_MAX_VARIABLE_NUMBER<=32767 +typedef i16 ynVar; +#else +typedef int ynVar; +#endif + +/* +** Each node of an expression in the parse tree is an instance +** of this structure. +** +** Expr.op is the opcode. The integer parser token codes are reused +** as opcodes here. For example, the parser defines TK_GE to be an integer +** code representing the ">=" operator. This same integer code is reused +** to represent the greater-than-or-equal-to operator in the expression +** tree. +** +** If the expression is an SQL literal (TK_INTEGER, TK_FLOAT, TK_BLOB, +** or TK_STRING), then Expr.token contains the text of the SQL literal. If +** the expression is a variable (TK_VARIABLE), then Expr.token contains the +** variable name. Finally, if the expression is an SQL function (TK_FUNCTION), +** then Expr.token contains the name of the function. +** +** Expr.pRight and Expr.pLeft are the left and right subexpressions of a +** binary operator. Either or both may be NULL. +** +** Expr.x.pList is a list of arguments if the expression is an SQL function, +** a CASE expression or an IN expression of the form " IN (, ...)". +** Expr.x.pSelect is used if the expression is a sub-select or an expression of +** the form " IN (SELECT ...)". If the EP_xIsSelect bit is set in the +** Expr.flags mask, then Expr.x.pSelect is valid. Otherwise, Expr.x.pList is +** valid. +** +** An expression of the form ID or ID.ID refers to a column in a table. +** For such expressions, Expr.op is set to TK_COLUMN and Expr.iTable is +** the integer cursor number of a VDBE cursor pointing to that table and +** Expr.iColumn is the column number for the specific column. If the +** expression is used as a result in an aggregate SELECT, then the +** value is also stored in the Expr.iAgg column in the aggregate so that +** it can be accessed after all aggregates are computed. +** +** If the expression is an unbound variable marker (a question mark +** character '?' in the original SQL) then the Expr.iTable holds the index +** number for that variable. +** +** If the expression is a subquery then Expr.iColumn holds an integer +** register number containing the result of the subquery. If the +** subquery gives a constant result, then iTable is -1. If the subquery +** gives a different answer at different times during statement processing +** then iTable is the address of a subroutine that computes the subquery. +** +** If the Expr is of type OP_Column, and the table it is selecting from +** is a disk table or the "old.*" pseudo-table, then pTab points to the +** corresponding table definition. +** +** ALLOCATION NOTES: +** +** Expr objects can use a lot of memory space in database schema. To +** help reduce memory requirements, sometimes an Expr object will be +** truncated. And to reduce the number of memory allocations, sometimes +** two or more Expr objects will be stored in a single memory allocation, +** together with Expr.zToken strings. +** +** If the EP_Reduced and EP_TokenOnly flags are set when +** an Expr object is truncated. When EP_Reduced is set, then all +** the child Expr objects in the Expr.pLeft and Expr.pRight subtrees +** are contained within the same memory allocation. Note, however, that +** the subtrees in Expr.x.pList or Expr.x.pSelect are always separately +** allocated, regardless of whether or not EP_Reduced is set. +*/ +struct Expr { + u8 op; /* Operation performed by this node */ + char affExpr; /* affinity, or RAISE type */ + u32 flags; /* Various flags. EP_* See below */ + union { + char *zToken; /* Token value. Zero terminated and dequoted */ + int iValue; /* Non-negative integer value if EP_IntValue */ + } u; + + /* If the EP_TokenOnly flag is set in the Expr.flags mask, then no + ** space is allocated for the fields below this point. An attempt to + ** access them will result in a segfault or malfunction. + *********************************************************************/ + + Expr *pLeft; /* Left subnode */ + Expr *pRight; /* Right subnode */ + union { + ExprList *pList; /* op = IN, EXISTS, SELECT, CASE, FUNCTION, BETWEEN */ + Select *pSelect; /* EP_xIsSelect and op = IN, EXISTS, SELECT */ + } x; + + /* If the EP_Reduced flag is set in the Expr.flags mask, then no + ** space is allocated for the fields below this point. An attempt to + ** access them will result in a segfault or malfunction. + *********************************************************************/ + +#if SQLITE_MAX_EXPR_DEPTH>0 + int nHeight; /* Height of the tree headed by this node */ +#endif + int iTable; /* TK_COLUMN: cursor number of table holding column + ** TK_REGISTER: register number + ** TK_TRIGGER: 1 -> new, 0 -> old + ** EP_Unlikely: 134217728 times likelihood + ** TK_IN: ephemerial table holding RHS + ** TK_SELECT_COLUMN: Number of columns on the LHS + ** TK_SELECT: 1st register of result vector */ + ynVar iColumn; /* TK_COLUMN: column index. -1 for rowid. + ** TK_VARIABLE: variable number (always >= 1). + ** TK_SELECT_COLUMN: column of the result vector */ + i16 iAgg; /* Which entry in pAggInfo->aCol[] or ->aFunc[] */ + i16 iRightJoinTable; /* If EP_FromJoin, the right table of the join */ + u8 op2; /* TK_REGISTER/TK_TRUTH: original value of Expr.op + ** TK_COLUMN: the value of p5 for OP_Column + ** TK_AGG_FUNCTION: nesting depth */ + AggInfo *pAggInfo; /* Used by TK_AGG_COLUMN and TK_AGG_FUNCTION */ + union { + Table *pTab; /* TK_COLUMN: Table containing column. Can be NULL + ** for a column of an index on an expression */ + Window *pWin; /* EP_WinFunc: Window/Filter defn for a function */ + struct { /* TK_IN, TK_SELECT, and TK_EXISTS */ + int iAddr; /* Subroutine entry address */ + int regReturn; /* Register used to hold return address */ + } sub; + } y; +}; + +/* +** The following are the meanings of bits in the Expr.flags field. +** Value restrictions: +** +** EP_Agg == NC_HasAgg == SF_HasAgg +** EP_Win == NC_HasWin +*/ +#define EP_FromJoin 0x000001 /* Originates in ON/USING clause of outer join */ +#define EP_Distinct 0x000002 /* Aggregate function with DISTINCT keyword */ +#define EP_HasFunc 0x000004 /* Contains one or more functions of any kind */ +#define EP_FixedCol 0x000008 /* TK_Column with a known fixed value */ +#define EP_Agg 0x000010 /* Contains one or more aggregate functions */ +#define EP_VarSelect 0x000020 /* pSelect is correlated, not constant */ +#define EP_DblQuoted 0x000040 /* token.z was originally in "..." */ +#define EP_InfixFunc 0x000080 /* True for an infix function: LIKE, GLOB, etc */ +#define EP_Collate 0x000100 /* Tree contains a TK_COLLATE operator */ + /* 0x000200 Available for reuse */ +#define EP_IntValue 0x000400 /* Integer value contained in u.iValue */ +#define EP_xIsSelect 0x000800 /* x.pSelect is valid (otherwise x.pList is) */ +#define EP_Skip 0x001000 /* Operator does not contribute to affinity */ +#define EP_Reduced 0x002000 /* Expr struct EXPR_REDUCEDSIZE bytes only */ +#define EP_TokenOnly 0x004000 /* Expr struct EXPR_TOKENONLYSIZE bytes only */ +#define EP_Win 0x008000 /* Contains window functions */ +#define EP_MemToken 0x010000 /* Need to sqlite3DbFree() Expr.zToken */ +#define EP_NoReduce 0x020000 /* Cannot EXPRDUP_REDUCE this Expr */ +#define EP_Unlikely 0x040000 /* unlikely() or likelihood() function */ +#define EP_ConstFunc 0x080000 /* A SQLITE_FUNC_CONSTANT or _SLOCHNG function */ +#define EP_CanBeNull 0x100000 /* Can be null despite NOT NULL constraint */ +#define EP_Subquery 0x200000 /* Tree contains a TK_SELECT operator */ +#define EP_Alias 0x400000 /* Is an alias for a result set column */ +#define EP_Leaf 0x800000 /* Expr.pLeft, .pRight, .u.pSelect all NULL */ +#define EP_WinFunc 0x1000000 /* TK_FUNCTION with Expr.y.pWin set */ +#define EP_Subrtn 0x2000000 /* Uses Expr.y.sub. TK_IN, _SELECT, or _EXISTS */ +#define EP_Quoted 0x4000000 /* TK_ID was originally quoted */ +#define EP_Static 0x8000000 /* Held in memory not obtained from malloc() */ +#define EP_IsTrue 0x10000000 /* Always has boolean value of TRUE */ +#define EP_IsFalse 0x20000000 /* Always has boolean value of FALSE */ +#define EP_Indirect 0x40000000 /* Contained within a TRIGGER or a VIEW */ + +/* +** The EP_Propagate mask is a set of properties that automatically propagate +** upwards into parent nodes. +*/ +#define EP_Propagate (EP_Collate|EP_Subquery|EP_HasFunc) + +/* +** These macros can be used to test, set, or clear bits in the +** Expr.flags field. +*/ +#define ExprHasProperty(E,P) (((E)->flags&(P))!=0) +#define ExprHasAllProperty(E,P) (((E)->flags&(P))==(P)) +#define ExprSetProperty(E,P) (E)->flags|=(P) +#define ExprClearProperty(E,P) (E)->flags&=~(P) +#define ExprAlwaysTrue(E) (((E)->flags&(EP_FromJoin|EP_IsTrue))==EP_IsTrue) +#define ExprAlwaysFalse(E) (((E)->flags&(EP_FromJoin|EP_IsFalse))==EP_IsFalse) + +/* The ExprSetVVAProperty() macro is used for Verification, Validation, +** and Accreditation only. It works like ExprSetProperty() during VVA +** processes but is a no-op for delivery. +*/ +#ifdef SQLITE_DEBUG +# define ExprSetVVAProperty(E,P) (E)->flags|=(P) +#else +# define ExprSetVVAProperty(E,P) +#endif + +/* +** Macros to determine the number of bytes required by a normal Expr +** struct, an Expr struct with the EP_Reduced flag set in Expr.flags +** and an Expr struct with the EP_TokenOnly flag set. +*/ +#define EXPR_FULLSIZE sizeof(Expr) /* Full size */ +#define EXPR_REDUCEDSIZE offsetof(Expr,iTable) /* Common features */ +#define EXPR_TOKENONLYSIZE offsetof(Expr,pLeft) /* Fewer features */ + +/* +** Flags passed to the sqlite3ExprDup() function. See the header comment +** above sqlite3ExprDup() for details. +*/ +#define EXPRDUP_REDUCE 0x0001 /* Used reduced-size Expr nodes */ + +/* +** True if the expression passed as an argument was a function with +** an OVER() clause (a window function). +*/ +#ifdef SQLITE_OMIT_WINDOWFUNC +# define IsWindowFunc(p) 0 +#else +# define IsWindowFunc(p) ( \ + ExprHasProperty((p), EP_WinFunc) && p->y.pWin->eFrmType!=TK_FILTER \ + ) +#endif + +/* +** A list of expressions. Each expression may optionally have a +** name. An expr/name combination can be used in several ways, such +** as the list of "expr AS ID" fields following a "SELECT" or in the +** list of "ID = expr" items in an UPDATE. A list of expressions can +** also be used as the argument to a function, in which case the a.zName +** field is not used. +** +** By default the Expr.zSpan field holds a human-readable description of +** the expression that is used in the generation of error messages and +** column labels. In this case, Expr.zSpan is typically the text of a +** column expression as it exists in a SELECT statement. However, if +** the bSpanIsTab flag is set, then zSpan is overloaded to mean the name +** of the result column in the form: DATABASE.TABLE.COLUMN. This later +** form is used for name resolution with nested FROM clauses. +*/ +struct ExprList { + int nExpr; /* Number of expressions on the list */ + struct ExprList_item { /* For each expression in the list */ + Expr *pExpr; /* The parse tree for this expression */ + char *zName; /* Token associated with this expression */ + char *zSpan; /* Original text of the expression */ + u8 sortFlags; /* Mask of KEYINFO_ORDER_* flags */ + unsigned done :1; /* A flag to indicate when processing is finished */ + unsigned bSpanIsTab :1; /* zSpan holds DB.TABLE.COLUMN */ + unsigned reusable :1; /* Constant expression is reusable */ + unsigned bSorterRef :1; /* Defer evaluation until after sorting */ + unsigned bNulls: 1; /* True if explicit "NULLS FIRST/LAST" */ + union { + struct { + u16 iOrderByCol; /* For ORDER BY, column number in result set */ + u16 iAlias; /* Index into Parse.aAlias[] for zName */ + } x; + int iConstExprReg; /* Register in which Expr value is cached */ + } u; + } a[1]; /* One slot for each expression in the list */ +}; + +/* +** An instance of this structure can hold a simple list of identifiers, +** such as the list "a,b,c" in the following statements: +** +** INSERT INTO t(a,b,c) VALUES ...; +** CREATE INDEX idx ON t(a,b,c); +** CREATE TRIGGER trig BEFORE UPDATE ON t(a,b,c) ...; +** +** The IdList.a.idx field is used when the IdList represents the list of +** column names after a table name in an INSERT statement. In the statement +** +** INSERT INTO t(a,b,c) ... +** +** If "a" is the k-th column of table "t", then IdList.a[0].idx==k. +*/ +struct IdList { + struct IdList_item { + char *zName; /* Name of the identifier */ + int idx; /* Index in some Table.aCol[] of a column named zName */ + } *a; + int nId; /* Number of identifiers on the list */ +}; + +/* +** The following structure describes the FROM clause of a SELECT statement. +** Each table or subquery in the FROM clause is a separate element of +** the SrcList.a[] array. +** +** With the addition of multiple database support, the following structure +** can also be used to describe a particular table such as the table that +** is modified by an INSERT, DELETE, or UPDATE statement. In standard SQL, +** such a table must be a simple name: ID. But in SQLite, the table can +** now be identified by a database name, a dot, then the table name: ID.ID. +** +** The jointype starts out showing the join type between the current table +** and the next table on the list. The parser builds the list this way. +** But sqlite3SrcListShiftJoinType() later shifts the jointypes so that each +** jointype expresses the join between the table and the previous table. +** +** In the colUsed field, the high-order bit (bit 63) is set if the table +** contains more than 63 columns and the 64-th or later column is used. +*/ +struct SrcList { + int nSrc; /* Number of tables or subqueries in the FROM clause */ + u32 nAlloc; /* Number of entries allocated in a[] below */ + struct SrcList_item { + Schema *pSchema; /* Schema to which this item is fixed */ + char *zDatabase; /* Name of database holding this table */ + char *zName; /* Name of the table */ + char *zAlias; /* The "B" part of a "A AS B" phrase. zName is the "A" */ + Table *pTab; /* An SQL table corresponding to zName */ + Select *pSelect; /* A SELECT statement used in place of a table name */ + int addrFillSub; /* Address of subroutine to manifest a subquery */ + int regReturn; /* Register holding return address of addrFillSub */ + int regResult; /* Registers holding results of a co-routine */ + struct { + u8 jointype; /* Type of join between this table and the previous */ + unsigned notIndexed :1; /* True if there is a NOT INDEXED clause */ + unsigned isIndexedBy :1; /* True if there is an INDEXED BY clause */ + unsigned isTabFunc :1; /* True if table-valued-function syntax */ + unsigned isCorrelated :1; /* True if sub-query is correlated */ + unsigned viaCoroutine :1; /* Implemented as a co-routine */ + unsigned isRecursive :1; /* True for recursive reference in WITH */ + } fg; + int iCursor; /* The VDBE cursor number used to access this table */ + Expr *pOn; /* The ON clause of a join */ + IdList *pUsing; /* The USING clause of a join */ + Bitmask colUsed; /* Bit N (1<" clause */ + ExprList *pFuncArg; /* Arguments to table-valued-function */ + } u1; + Index *pIBIndex; /* Index structure corresponding to u1.zIndexedBy */ + } a[1]; /* One entry for each identifier on the list */ +}; + +/* +** Permitted values of the SrcList.a.jointype field +*/ +#define JT_INNER 0x0001 /* Any kind of inner or cross join */ +#define JT_CROSS 0x0002 /* Explicit use of the CROSS keyword */ +#define JT_NATURAL 0x0004 /* True for a "natural" join */ +#define JT_LEFT 0x0008 /* Left outer join */ +#define JT_RIGHT 0x0010 /* Right outer join */ +#define JT_OUTER 0x0020 /* The "OUTER" keyword is present */ +#define JT_ERROR 0x0040 /* unknown or unsupported join type */ + + +/* +** Flags appropriate for the wctrlFlags parameter of sqlite3WhereBegin() +** and the WhereInfo.wctrlFlags member. +** +** Value constraints (enforced via assert()): +** WHERE_USE_LIMIT == SF_FixedLimit +*/ +#define WHERE_ORDERBY_NORMAL 0x0000 /* No-op */ +#define WHERE_ORDERBY_MIN 0x0001 /* ORDER BY processing for min() func */ +#define WHERE_ORDERBY_MAX 0x0002 /* ORDER BY processing for max() func */ +#define WHERE_ONEPASS_DESIRED 0x0004 /* Want to do one-pass UPDATE/DELETE */ +#define WHERE_ONEPASS_MULTIROW 0x0008 /* ONEPASS is ok with multiple rows */ +#define WHERE_DUPLICATES_OK 0x0010 /* Ok to return a row more than once */ +#define WHERE_OR_SUBCLAUSE 0x0020 /* Processing a sub-WHERE as part of + ** the OR optimization */ +#define WHERE_GROUPBY 0x0040 /* pOrderBy is really a GROUP BY */ +#define WHERE_DISTINCTBY 0x0080 /* pOrderby is really a DISTINCT clause */ +#define WHERE_WANT_DISTINCT 0x0100 /* All output needs to be distinct */ +#define WHERE_SORTBYGROUP 0x0200 /* Support sqlite3WhereIsSorted() */ +#define WHERE_SEEK_TABLE 0x0400 /* Do not defer seeks on main table */ +#define WHERE_ORDERBY_LIMIT 0x0800 /* ORDERBY+LIMIT on the inner loop */ +#define WHERE_SEEK_UNIQ_TABLE 0x1000 /* Do not defer seeks if unique */ + /* 0x2000 not currently used */ +#define WHERE_USE_LIMIT 0x4000 /* Use the LIMIT in cost estimates */ + /* 0x8000 not currently used */ + +/* Allowed return values from sqlite3WhereIsDistinct() +*/ +#define WHERE_DISTINCT_NOOP 0 /* DISTINCT keyword not used */ +#define WHERE_DISTINCT_UNIQUE 1 /* No duplicates */ +#define WHERE_DISTINCT_ORDERED 2 /* All duplicates are adjacent */ +#define WHERE_DISTINCT_UNORDERED 3 /* Duplicates are scattered */ + +/* +** A NameContext defines a context in which to resolve table and column +** names. The context consists of a list of tables (the pSrcList) field and +** a list of named expression (pEList). The named expression list may +** be NULL. The pSrc corresponds to the FROM clause of a SELECT or +** to the table being operated on by INSERT, UPDATE, or DELETE. The +** pEList corresponds to the result set of a SELECT and is NULL for +** other statements. +** +** NameContexts can be nested. When resolving names, the inner-most +** context is searched first. If no match is found, the next outer +** context is checked. If there is still no match, the next context +** is checked. This process continues until either a match is found +** or all contexts are check. When a match is found, the nRef member of +** the context containing the match is incremented. +** +** Each subquery gets a new NameContext. The pNext field points to the +** NameContext in the parent query. Thus the process of scanning the +** NameContext list corresponds to searching through successively outer +** subqueries looking for a match. +*/ +struct NameContext { + Parse *pParse; /* The parser */ + SrcList *pSrcList; /* One or more tables used to resolve names */ + union { + ExprList *pEList; /* Optional list of result-set columns */ + AggInfo *pAggInfo; /* Information about aggregates at this level */ + Upsert *pUpsert; /* ON CONFLICT clause information from an upsert */ + } uNC; + NameContext *pNext; /* Next outer name context. NULL for outermost */ + int nRef; /* Number of names resolved by this context */ + int nErr; /* Number of errors encountered while resolving names */ + int ncFlags; /* Zero or more NC_* flags defined below */ + Select *pWinSelect; /* SELECT statement for any window functions */ +}; + +/* +** Allowed values for the NameContext, ncFlags field. +** +** Value constraints (all checked via assert()): +** NC_HasAgg == SF_HasAgg == EP_Agg +** NC_MinMaxAgg == SF_MinMaxAgg == SQLITE_FUNC_MINMAX +** NC_HasWin == EP_Win +** +*/ +#define NC_AllowAgg 0x0001 /* Aggregate functions are allowed here */ +#define NC_PartIdx 0x0002 /* True if resolving a partial index WHERE */ +#define NC_IsCheck 0x0004 /* True if resolving names in a CHECK constraint */ +#define NC_InAggFunc 0x0008 /* True if analyzing arguments to an agg func */ +#define NC_HasAgg 0x0010 /* One or more aggregate functions seen */ +#define NC_IdxExpr 0x0020 /* True if resolving columns of CREATE INDEX */ +#define NC_VarSelect 0x0040 /* A correlated subquery has been seen */ +#define NC_UEList 0x0080 /* True if uNC.pEList is used */ +#define NC_UAggInfo 0x0100 /* True if uNC.pAggInfo is used */ +#define NC_UUpsert 0x0200 /* True if uNC.pUpsert is used */ +#define NC_MinMaxAgg 0x1000 /* min/max aggregates seen. See note above */ +#define NC_Complex 0x2000 /* True if a function or subquery seen */ +#define NC_AllowWin 0x4000 /* Window functions are allowed here */ +#define NC_HasWin 0x8000 /* One or more window functions seen */ +#define NC_IsDDL 0x10000 /* Resolving names in a CREATE statement */ + +/* +** An instance of the following object describes a single ON CONFLICT +** clause in an upsert. +** +** The pUpsertTarget field is only set if the ON CONFLICT clause includes +** conflict-target clause. (In "ON CONFLICT(a,b)" the "(a,b)" is the +** conflict-target clause.) The pUpsertTargetWhere is the optional +** WHERE clause used to identify partial unique indexes. +** +** pUpsertSet is the list of column=expr terms of the UPDATE statement. +** The pUpsertSet field is NULL for a ON CONFLICT DO NOTHING. The +** pUpsertWhere is the WHERE clause for the UPDATE and is NULL if the +** WHERE clause is omitted. +*/ +struct Upsert { + ExprList *pUpsertTarget; /* Optional description of conflicting index */ + Expr *pUpsertTargetWhere; /* WHERE clause for partial index targets */ + ExprList *pUpsertSet; /* The SET clause from an ON CONFLICT UPDATE */ + Expr *pUpsertWhere; /* WHERE clause for the ON CONFLICT UPDATE */ + /* The fields above comprise the parse tree for the upsert clause. + ** The fields below are used to transfer information from the INSERT + ** processing down into the UPDATE processing while generating code. + ** Upsert owns the memory allocated above, but not the memory below. */ + Index *pUpsertIdx; /* Constraint that pUpsertTarget identifies */ + SrcList *pUpsertSrc; /* Table to be updated */ + int regData; /* First register holding array of VALUES */ + int iDataCur; /* Index of the data cursor */ + int iIdxCur; /* Index of the first index cursor */ +}; + +/* +** An instance of the following structure contains all information +** needed to generate code for a single SELECT statement. +** +** See the header comment on the computeLimitRegisters() routine for a +** detailed description of the meaning of the iLimit and iOffset fields. +** +** addrOpenEphm[] entries contain the address of OP_OpenEphemeral opcodes. +** These addresses must be stored so that we can go back and fill in +** the P4_KEYINFO and P2 parameters later. Neither the KeyInfo nor +** the number of columns in P2 can be computed at the same time +** as the OP_OpenEphm instruction is coded because not +** enough information about the compound query is known at that point. +** The KeyInfo for addrOpenTran[0] and [1] contains collating sequences +** for the result set. The KeyInfo for addrOpenEphm[2] contains collating +** sequences for the ORDER BY clause. +*/ +struct Select { + ExprList *pEList; /* The fields of the result */ + u8 op; /* One of: TK_UNION TK_ALL TK_INTERSECT TK_EXCEPT */ + LogEst nSelectRow; /* Estimated number of result rows */ + u32 selFlags; /* Various SF_* values */ + int iLimit, iOffset; /* Memory registers holding LIMIT & OFFSET counters */ + u32 selId; /* Unique identifier number for this SELECT */ + int addrOpenEphm[2]; /* OP_OpenEphem opcodes related to this select */ + SrcList *pSrc; /* The FROM clause */ + Expr *pWhere; /* The WHERE clause */ + ExprList *pGroupBy; /* The GROUP BY clause */ + Expr *pHaving; /* The HAVING clause */ + ExprList *pOrderBy; /* The ORDER BY clause */ + Select *pPrior; /* Prior select in a compound select statement */ + Select *pNext; /* Next select to the left in a compound */ + Expr *pLimit; /* LIMIT expression. NULL means not used. */ + With *pWith; /* WITH clause attached to this select. Or NULL. */ +#ifndef SQLITE_OMIT_WINDOWFUNC + Window *pWin; /* List of window functions */ + Window *pWinDefn; /* List of named window definitions */ +#endif +}; + +/* +** Allowed values for Select.selFlags. The "SF" prefix stands for +** "Select Flag". +** +** Value constraints (all checked via assert()) +** SF_HasAgg == NC_HasAgg +** SF_MinMaxAgg == NC_MinMaxAgg == SQLITE_FUNC_MINMAX +** SF_FixedLimit == WHERE_USE_LIMIT +*/ +#define SF_Distinct 0x00001 /* Output should be DISTINCT */ +#define SF_All 0x00002 /* Includes the ALL keyword */ +#define SF_Resolved 0x00004 /* Identifiers have been resolved */ +#define SF_Aggregate 0x00008 /* Contains agg functions or a GROUP BY */ +#define SF_HasAgg 0x00010 /* Contains aggregate functions */ +#define SF_UsesEphemeral 0x00020 /* Uses the OpenEphemeral opcode */ +#define SF_Expanded 0x00040 /* sqlite3SelectExpand() called on this */ +#define SF_HasTypeInfo 0x00080 /* FROM subqueries have Table metadata */ +#define SF_Compound 0x00100 /* Part of a compound query */ +#define SF_Values 0x00200 /* Synthesized from VALUES clause */ +#define SF_MultiValue 0x00400 /* Single VALUES term with multiple rows */ +#define SF_NestedFrom 0x00800 /* Part of a parenthesized FROM clause */ +#define SF_MinMaxAgg 0x01000 /* Aggregate containing min() or max() */ +#define SF_Recursive 0x02000 /* The recursive part of a recursive CTE */ +#define SF_FixedLimit 0x04000 /* nSelectRow set by a constant LIMIT */ +#define SF_MaybeConvert 0x08000 /* Need convertCompoundSelectToSubquery() */ +#define SF_Converted 0x10000 /* By convertCompoundSelectToSubquery() */ +#define SF_IncludeHidden 0x20000 /* Include hidden columns in output */ +#define SF_ComplexResult 0x40000 /* Result contains subquery or function */ +#define SF_WhereBegin 0x80000 /* Really a WhereBegin() call. Debug Only */ + +/* +** The results of a SELECT can be distributed in several ways, as defined +** by one of the following macros. The "SRT" prefix means "SELECT Result +** Type". +** +** SRT_Union Store results as a key in a temporary index +** identified by pDest->iSDParm. +** +** SRT_Except Remove results from the temporary index pDest->iSDParm. +** +** SRT_Exists Store a 1 in memory cell pDest->iSDParm if the result +** set is not empty. +** +** SRT_Discard Throw the results away. This is used by SELECT +** statements within triggers whose only purpose is +** the side-effects of functions. +** +** All of the above are free to ignore their ORDER BY clause. Those that +** follow must honor the ORDER BY clause. +** +** SRT_Output Generate a row of output (using the OP_ResultRow +** opcode) for each row in the result set. +** +** SRT_Mem Only valid if the result is a single column. +** Store the first column of the first result row +** in register pDest->iSDParm then abandon the rest +** of the query. This destination implies "LIMIT 1". +** +** SRT_Set The result must be a single column. Store each +** row of result as the key in table pDest->iSDParm. +** Apply the affinity pDest->affSdst before storing +** results. Used to implement "IN (SELECT ...)". +** +** SRT_EphemTab Create an temporary table pDest->iSDParm and store +** the result there. The cursor is left open after +** returning. This is like SRT_Table except that +** this destination uses OP_OpenEphemeral to create +** the table first. +** +** SRT_Coroutine Generate a co-routine that returns a new row of +** results each time it is invoked. The entry point +** of the co-routine is stored in register pDest->iSDParm +** and the result row is stored in pDest->nDest registers +** starting with pDest->iSdst. +** +** SRT_Table Store results in temporary table pDest->iSDParm. +** SRT_Fifo This is like SRT_EphemTab except that the table +** is assumed to already be open. SRT_Fifo has +** the additional property of being able to ignore +** the ORDER BY clause. +** +** SRT_DistFifo Store results in a temporary table pDest->iSDParm. +** But also use temporary table pDest->iSDParm+1 as +** a record of all prior results and ignore any duplicate +** rows. Name means: "Distinct Fifo". +** +** SRT_Queue Store results in priority queue pDest->iSDParm (really +** an index). Append a sequence number so that all entries +** are distinct. +** +** SRT_DistQueue Store results in priority queue pDest->iSDParm only if +** the same record has never been stored before. The +** index at pDest->iSDParm+1 hold all prior stores. +*/ +#define SRT_Union 1 /* Store result as keys in an index */ +#define SRT_Except 2 /* Remove result from a UNION index */ +#define SRT_Exists 3 /* Store 1 if the result is not empty */ +#define SRT_Discard 4 /* Do not save the results anywhere */ +#define SRT_Fifo 5 /* Store result as data with an automatic rowid */ +#define SRT_DistFifo 6 /* Like SRT_Fifo, but unique results only */ +#define SRT_Queue 7 /* Store result in an queue */ +#define SRT_DistQueue 8 /* Like SRT_Queue, but unique results only */ + +/* The ORDER BY clause is ignored for all of the above */ +#define IgnorableOrderby(X) ((X->eDest)<=SRT_DistQueue) + +#define SRT_Output 9 /* Output each row of result */ +#define SRT_Mem 10 /* Store result in a memory cell */ +#define SRT_Set 11 /* Store results as keys in an index */ +#define SRT_EphemTab 12 /* Create transient tab and store like SRT_Table */ +#define SRT_Coroutine 13 /* Generate a single row of result */ +#define SRT_Table 14 /* Store result as data with an automatic rowid */ + +/* +** An instance of this object describes where to put of the results of +** a SELECT statement. +*/ +struct SelectDest { + u8 eDest; /* How to dispose of the results. On of SRT_* above. */ + int iSDParm; /* A parameter used by the eDest disposal method */ + int iSdst; /* Base register where results are written */ + int nSdst; /* Number of registers allocated */ + char *zAffSdst; /* Affinity used when eDest==SRT_Set */ + ExprList *pOrderBy; /* Key columns for SRT_Queue and SRT_DistQueue */ +}; + +/* +** During code generation of statements that do inserts into AUTOINCREMENT +** tables, the following information is attached to the Table.u.autoInc.p +** pointer of each autoincrement table to record some side information that +** the code generator needs. We have to keep per-table autoincrement +** information in case inserts are done within triggers. Triggers do not +** normally coordinate their activities, but we do need to coordinate the +** loading and saving of autoincrement information. +*/ +struct AutoincInfo { + AutoincInfo *pNext; /* Next info block in a list of them all */ + Table *pTab; /* Table this info block refers to */ + int iDb; /* Index in sqlite3.aDb[] of database holding pTab */ + int regCtr; /* Memory register holding the rowid counter */ +}; + +/* +** At least one instance of the following structure is created for each +** trigger that may be fired while parsing an INSERT, UPDATE or DELETE +** statement. All such objects are stored in the linked list headed at +** Parse.pTriggerPrg and deleted once statement compilation has been +** completed. +** +** A Vdbe sub-program that implements the body and WHEN clause of trigger +** TriggerPrg.pTrigger, assuming a default ON CONFLICT clause of +** TriggerPrg.orconf, is stored in the TriggerPrg.pProgram variable. +** The Parse.pTriggerPrg list never contains two entries with the same +** values for both pTrigger and orconf. +** +** The TriggerPrg.aColmask[0] variable is set to a mask of old.* columns +** accessed (or set to 0 for triggers fired as a result of INSERT +** statements). Similarly, the TriggerPrg.aColmask[1] variable is set to +** a mask of new.* columns used by the program. +*/ +struct TriggerPrg { + Trigger *pTrigger; /* Trigger this program was coded from */ + TriggerPrg *pNext; /* Next entry in Parse.pTriggerPrg list */ + SubProgram *pProgram; /* Program implementing pTrigger/orconf */ + int orconf; /* Default ON CONFLICT policy */ + u32 aColmask[2]; /* Masks of old.*, new.* columns accessed */ +}; + +/* +** The yDbMask datatype for the bitmask of all attached databases. +*/ +#if SQLITE_MAX_ATTACHED>30 + typedef unsigned char yDbMask[(SQLITE_MAX_ATTACHED+9)/8]; +# define DbMaskTest(M,I) (((M)[(I)/8]&(1<<((I)&7)))!=0) +# define DbMaskZero(M) memset((M),0,sizeof(M)) +# define DbMaskSet(M,I) (M)[(I)/8]|=(1<<((I)&7)) +# define DbMaskAllZero(M) sqlite3DbMaskAllZero(M) +# define DbMaskNonZero(M) (sqlite3DbMaskAllZero(M)==0) +#else + typedef unsigned int yDbMask; +# define DbMaskTest(M,I) (((M)&(((yDbMask)1)<<(I)))!=0) +# define DbMaskZero(M) (M)=0 +# define DbMaskSet(M,I) (M)|=(((yDbMask)1)<<(I)) +# define DbMaskAllZero(M) (M)==0 +# define DbMaskNonZero(M) (M)!=0 +#endif + +/* +** An SQL parser context. A copy of this structure is passed through +** the parser and down into all the parser action routine in order to +** carry around information that is global to the entire parse. +** +** The structure is divided into two parts. When the parser and code +** generate call themselves recursively, the first part of the structure +** is constant but the second part is reset at the beginning and end of +** each recursion. +** +** The nTableLock and aTableLock variables are only used if the shared-cache +** feature is enabled (if sqlite3Tsd()->useSharedData is true). They are +** used to store the set of table-locks required by the statement being +** compiled. Function sqlite3TableLock() is used to add entries to the +** list. +*/ +struct Parse { + sqlite3 *db; /* The main database structure */ + char *zErrMsg; /* An error message */ + Vdbe *pVdbe; /* An engine for executing database bytecode */ + int rc; /* Return code from execution */ + u8 colNamesSet; /* TRUE after OP_ColumnName has been issued to pVdbe */ + u8 checkSchema; /* Causes schema cookie check after an error */ + u8 nested; /* Number of nested calls to the parser/code generator */ + u8 nTempReg; /* Number of temporary registers in aTempReg[] */ + u8 isMultiWrite; /* True if statement may modify/insert multiple rows */ + u8 mayAbort; /* True if statement may throw an ABORT exception */ + u8 hasCompound; /* Need to invoke convertCompoundSelectToSubquery() */ + u8 okConstFactor; /* OK to factor out constants */ + u8 disableLookaside; /* Number of times lookaside has been disabled */ + u8 disableVtab; /* Disable all virtual tables for this parse */ + int nRangeReg; /* Size of the temporary register block */ + int iRangeReg; /* First register in temporary register block */ + int nErr; /* Number of errors seen */ + int nTab; /* Number of previously allocated VDBE cursors */ + int nMem; /* Number of memory cells used so far */ + int szOpAlloc; /* Bytes of memory space allocated for Vdbe.aOp[] */ + int iSelfTab; /* Table associated with an index on expr, or negative + ** of the base register during check-constraint eval */ + int nLabel; /* The *negative* of the number of labels used */ + int nLabelAlloc; /* Number of slots in aLabel */ + int *aLabel; /* Space to hold the labels */ + ExprList *pConstExpr;/* Constant expressions */ + Token constraintName;/* Name of the constraint currently being parsed */ + yDbMask writeMask; /* Start a write transaction on these databases */ + yDbMask cookieMask; /* Bitmask of schema verified databases */ + int regRowid; /* Register holding rowid of CREATE TABLE entry */ + int regRoot; /* Register holding root page number for new objects */ + int nMaxArg; /* Max args passed to user function by sub-program */ + int nSelect; /* Number of SELECT stmts. Counter for Select.selId */ +#ifndef SQLITE_OMIT_SHARED_CACHE + int nTableLock; /* Number of locks in aTableLock */ + TableLock *aTableLock; /* Required table locks for shared-cache mode */ +#endif + AutoincInfo *pAinc; /* Information about AUTOINCREMENT counters */ + Parse *pToplevel; /* Parse structure for main program (or NULL) */ + Table *pTriggerTab; /* Table triggers are being coded for */ + Parse *pParentParse; /* Parent parser if this parser is nested */ + int addrCrTab; /* Address of OP_CreateBtree opcode on CREATE TABLE */ + u32 nQueryLoop; /* Est number of iterations of a query (10*log2(N)) */ + u32 oldmask; /* Mask of old.* columns referenced */ + u32 newmask; /* Mask of new.* columns referenced */ + u8 eTriggerOp; /* TK_UPDATE, TK_INSERT or TK_DELETE */ + u8 eOrconf; /* Default ON CONFLICT policy for trigger steps */ + u8 disableTriggers; /* True to disable triggers */ + + /************************************************************************** + ** Fields above must be initialized to zero. The fields that follow, + ** down to the beginning of the recursive section, do not need to be + ** initialized as they will be set before being used. The boundary is + ** determined by offsetof(Parse,aTempReg). + **************************************************************************/ + + int aTempReg[8]; /* Holding area for temporary registers */ + Token sNameToken; /* Token with unqualified schema object name */ + + /************************************************************************ + ** Above is constant between recursions. Below is reset before and after + ** each recursion. The boundary between these two regions is determined + ** using offsetof(Parse,sLastToken) so the sLastToken field must be the + ** first field in the recursive region. + ************************************************************************/ + + Token sLastToken; /* The last token parsed */ + ynVar nVar; /* Number of '?' variables seen in the SQL so far */ + u8 iPkSortOrder; /* ASC or DESC for INTEGER PRIMARY KEY */ + u8 explain; /* True if the EXPLAIN flag is found on the query */ +#if !(defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_OMIT_ALTERTABLE)) + u8 eParseMode; /* PARSE_MODE_XXX constant */ +#endif +#ifndef SQLITE_OMIT_VIRTUALTABLE + int nVtabLock; /* Number of virtual tables to lock */ +#endif + int nHeight; /* Expression tree height of current sub-select */ +#ifndef SQLITE_OMIT_EXPLAIN + int addrExplain; /* Address of current OP_Explain opcode */ +#endif + VList *pVList; /* Mapping between variable names and numbers */ + Vdbe *pReprepare; /* VM being reprepared (sqlite3Reprepare()) */ + const char *zTail; /* All SQL text past the last semicolon parsed */ + Table *pNewTable; /* A table being constructed by CREATE TABLE */ + Index *pNewIndex; /* An index being constructed by CREATE INDEX. + ** Also used to hold redundant UNIQUE constraints + ** during a RENAME COLUMN */ + Trigger *pNewTrigger; /* Trigger under construct by a CREATE TRIGGER */ + const char *zAuthContext; /* The 6th parameter to db->xAuth callbacks */ +#ifndef SQLITE_OMIT_VIRTUALTABLE + Token sArg; /* Complete text of a module argument */ + Table **apVtabLock; /* Pointer to virtual tables needing locking */ +#endif + Table *pZombieTab; /* List of Table objects to delete after code gen */ + TriggerPrg *pTriggerPrg; /* Linked list of coded triggers */ + With *pWith; /* Current WITH clause, or NULL */ + With *pWithToFree; /* Free this WITH object at the end of the parse */ +#ifndef SQLITE_OMIT_ALTERTABLE + RenameToken *pRename; /* Tokens subject to renaming by ALTER TABLE */ +#endif +}; + +#define PARSE_MODE_NORMAL 0 +#define PARSE_MODE_DECLARE_VTAB 1 +#define PARSE_MODE_RENAME_COLUMN 2 +#define PARSE_MODE_RENAME_TABLE 3 + +/* +** Sizes and pointers of various parts of the Parse object. +*/ +#define PARSE_HDR_SZ offsetof(Parse,aTempReg) /* Recursive part w/o aColCache*/ +#define PARSE_RECURSE_SZ offsetof(Parse,sLastToken) /* Recursive part */ +#define PARSE_TAIL_SZ (sizeof(Parse)-PARSE_RECURSE_SZ) /* Non-recursive part */ +#define PARSE_TAIL(X) (((char*)(X))+PARSE_RECURSE_SZ) /* Pointer to tail */ + +/* +** Return true if currently inside an sqlite3_declare_vtab() call. +*/ +#ifdef SQLITE_OMIT_VIRTUALTABLE + #define IN_DECLARE_VTAB 0 +#else + #define IN_DECLARE_VTAB (pParse->eParseMode==PARSE_MODE_DECLARE_VTAB) +#endif + +#if defined(SQLITE_OMIT_ALTERTABLE) + #define IN_RENAME_OBJECT 0 +#else + #define IN_RENAME_OBJECT (pParse->eParseMode>=PARSE_MODE_RENAME_COLUMN) +#endif + +#if defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_OMIT_ALTERTABLE) + #define IN_SPECIAL_PARSE 0 +#else + #define IN_SPECIAL_PARSE (pParse->eParseMode!=PARSE_MODE_NORMAL) +#endif + +/* +** An instance of the following structure can be declared on a stack and used +** to save the Parse.zAuthContext value so that it can be restored later. +*/ +struct AuthContext { + const char *zAuthContext; /* Put saved Parse.zAuthContext here */ + Parse *pParse; /* The Parse structure */ +}; + +/* +** Bitfield flags for P5 value in various opcodes. +** +** Value constraints (enforced via assert()): +** OPFLAG_LENGTHARG == SQLITE_FUNC_LENGTH +** OPFLAG_TYPEOFARG == SQLITE_FUNC_TYPEOF +** OPFLAG_BULKCSR == BTREE_BULKLOAD +** OPFLAG_SEEKEQ == BTREE_SEEK_EQ +** OPFLAG_FORDELETE == BTREE_FORDELETE +** OPFLAG_SAVEPOSITION == BTREE_SAVEPOSITION +** OPFLAG_AUXDELETE == BTREE_AUXDELETE +*/ +#define OPFLAG_NCHANGE 0x01 /* OP_Insert: Set to update db->nChange */ + /* Also used in P2 (not P5) of OP_Delete */ +#define OPFLAG_NOCHNG 0x01 /* OP_VColumn nochange for UPDATE */ +#define OPFLAG_EPHEM 0x01 /* OP_Column: Ephemeral output is ok */ +#define OPFLAG_LASTROWID 0x20 /* Set to update db->lastRowid */ +#define OPFLAG_ISUPDATE 0x04 /* This OP_Insert is an sql UPDATE */ +#define OPFLAG_APPEND 0x08 /* This is likely to be an append */ +#define OPFLAG_USESEEKRESULT 0x10 /* Try to avoid a seek in BtreeInsert() */ +#define OPFLAG_ISNOOP 0x40 /* OP_Delete does pre-update-hook only */ +#define OPFLAG_LENGTHARG 0x40 /* OP_Column only used for length() */ +#define OPFLAG_TYPEOFARG 0x80 /* OP_Column only used for typeof() */ +#define OPFLAG_BULKCSR 0x01 /* OP_Open** used to open bulk cursor */ +#define OPFLAG_SEEKEQ 0x02 /* OP_Open** cursor uses EQ seek only */ +#define OPFLAG_FORDELETE 0x08 /* OP_Open should use BTREE_FORDELETE */ +#define OPFLAG_P2ISREG 0x10 /* P2 to OP_Open** is a register number */ +#define OPFLAG_PERMUTE 0x01 /* OP_Compare: use the permutation */ +#define OPFLAG_SAVEPOSITION 0x02 /* OP_Delete/Insert: save cursor pos */ +#define OPFLAG_AUXDELETE 0x04 /* OP_Delete: index in a DELETE op */ +#define OPFLAG_NOCHNG_MAGIC 0x6d /* OP_MakeRecord: serialtype 10 is ok */ + +/* + * Each trigger present in the database schema is stored as an instance of + * struct Trigger. + * + * Pointers to instances of struct Trigger are stored in two ways. + * 1. In the "trigHash" hash table (part of the sqlite3* that represents the + * database). This allows Trigger structures to be retrieved by name. + * 2. All triggers associated with a single table form a linked list, using the + * pNext member of struct Trigger. A pointer to the first element of the + * linked list is stored as the "pTrigger" member of the associated + * struct Table. + * + * The "step_list" member points to the first element of a linked list + * containing the SQL statements specified as the trigger program. + */ +struct Trigger { + char *zName; /* The name of the trigger */ + char *table; /* The table or view to which the trigger applies */ + u8 op; /* One of TK_DELETE, TK_UPDATE, TK_INSERT */ + u8 tr_tm; /* One of TRIGGER_BEFORE, TRIGGER_AFTER */ + Expr *pWhen; /* The WHEN clause of the expression (may be NULL) */ + IdList *pColumns; /* If this is an UPDATE OF trigger, + the is stored here */ + Schema *pSchema; /* Schema containing the trigger */ + Schema *pTabSchema; /* Schema containing the table */ + TriggerStep *step_list; /* Link list of trigger program steps */ + Trigger *pNext; /* Next trigger associated with the table */ +}; + +/* +** A trigger is either a BEFORE or an AFTER trigger. The following constants +** determine which. +** +** If there are multiple triggers, you might of some BEFORE and some AFTER. +** In that cases, the constants below can be ORed together. +*/ +#define TRIGGER_BEFORE 1 +#define TRIGGER_AFTER 2 + +/* + * An instance of struct TriggerStep is used to store a single SQL statement + * that is a part of a trigger-program. + * + * Instances of struct TriggerStep are stored in a singly linked list (linked + * using the "pNext" member) referenced by the "step_list" member of the + * associated struct Trigger instance. The first element of the linked list is + * the first step of the trigger-program. + * + * The "op" member indicates whether this is a "DELETE", "INSERT", "UPDATE" or + * "SELECT" statement. The meanings of the other members is determined by the + * value of "op" as follows: + * + * (op == TK_INSERT) + * orconf -> stores the ON CONFLICT algorithm + * pSelect -> If this is an INSERT INTO ... SELECT ... statement, then + * this stores a pointer to the SELECT statement. Otherwise NULL. + * zTarget -> Dequoted name of the table to insert into. + * pExprList -> If this is an INSERT INTO ... VALUES ... statement, then + * this stores values to be inserted. Otherwise NULL. + * pIdList -> If this is an INSERT INTO ... () VALUES ... + * statement, then this stores the column-names to be + * inserted into. + * + * (op == TK_DELETE) + * zTarget -> Dequoted name of the table to delete from. + * pWhere -> The WHERE clause of the DELETE statement if one is specified. + * Otherwise NULL. + * + * (op == TK_UPDATE) + * zTarget -> Dequoted name of the table to update. + * pWhere -> The WHERE clause of the UPDATE statement if one is specified. + * Otherwise NULL. + * pExprList -> A list of the columns to update and the expressions to update + * them to. See sqlite3Update() documentation of "pChanges" + * argument. + * + */ +struct TriggerStep { + u8 op; /* One of TK_DELETE, TK_UPDATE, TK_INSERT, TK_SELECT */ + u8 orconf; /* OE_Rollback etc. */ + Trigger *pTrig; /* The trigger that this step is a part of */ + Select *pSelect; /* SELECT statement or RHS of INSERT INTO SELECT ... */ + char *zTarget; /* Target table for DELETE, UPDATE, INSERT */ + Expr *pWhere; /* The WHERE clause for DELETE or UPDATE steps */ + ExprList *pExprList; /* SET clause for UPDATE */ + IdList *pIdList; /* Column names for INSERT */ + Upsert *pUpsert; /* Upsert clauses on an INSERT */ + char *zSpan; /* Original SQL text of this command */ + TriggerStep *pNext; /* Next in the link-list */ + TriggerStep *pLast; /* Last element in link-list. Valid for 1st elem only */ +}; + +/* +** The following structure contains information used by the sqliteFix... +** routines as they walk the parse tree to make database references +** explicit. +*/ +typedef struct DbFixer DbFixer; +struct DbFixer { + Parse *pParse; /* The parsing context. Error messages written here */ + Schema *pSchema; /* Fix items to this schema */ + int bVarOnly; /* Check for variable references only */ + const char *zDb; /* Make sure all objects are contained in this database */ + const char *zType; /* Type of the container - used for error messages */ + const Token *pName; /* Name of the container - used for error messages */ +}; + +/* +** An objected used to accumulate the text of a string where we +** do not necessarily know how big the string will be in the end. +*/ +struct sqlite3_str { + sqlite3 *db; /* Optional database for lookaside. Can be NULL */ + char *zText; /* The string collected so far */ + u32 nAlloc; /* Amount of space allocated in zText */ + u32 mxAlloc; /* Maximum allowed allocation. 0 for no malloc usage */ + u32 nChar; /* Length of the string so far */ + u8 accError; /* SQLITE_NOMEM or SQLITE_TOOBIG */ + u8 printfFlags; /* SQLITE_PRINTF flags below */ +}; +#define SQLITE_PRINTF_INTERNAL 0x01 /* Internal-use-only converters allowed */ +#define SQLITE_PRINTF_SQLFUNC 0x02 /* SQL function arguments to VXPrintf */ +#define SQLITE_PRINTF_MALLOCED 0x04 /* True if xText is allocated space */ + +#define isMalloced(X) (((X)->printfFlags & SQLITE_PRINTF_MALLOCED)!=0) + + +/* +** A pointer to this structure is used to communicate information +** from sqlite3Init and OP_ParseSchema into the sqlite3InitCallback. +*/ +typedef struct { + sqlite3 *db; /* The database being initialized */ + char **pzErrMsg; /* Error message stored here */ + int iDb; /* 0 for main database. 1 for TEMP, 2.. for ATTACHed */ + int rc; /* Result code stored here */ + u32 mInitFlags; /* Flags controlling error messages */ + u32 nInitRow; /* Number of rows processed */ +} InitData; + +/* +** Allowed values for mInitFlags +*/ +#define INITFLAG_AlterTable 0x0001 /* This is a reparse after ALTER TABLE */ + +/* +** Structure containing global configuration data for the SQLite library. +** +** This structure also contains some state information. +*/ +struct Sqlite3Config { + int bMemstat; /* True to enable memory status */ + u8 bCoreMutex; /* True to enable core mutexing */ + u8 bFullMutex; /* True to enable full mutexing */ + u8 bOpenUri; /* True to interpret filenames as URIs */ + u8 bUseCis; /* Use covering indices for full-scans */ + u8 bSmallMalloc; /* Avoid large memory allocations if true */ + u8 bExtraSchemaChecks; /* Verify type,name,tbl_name in schema */ + int mxStrlen; /* Maximum string length */ + int neverCorrupt; /* Database is always well-formed */ + int szLookaside; /* Default lookaside buffer size */ + int nLookaside; /* Default lookaside buffer count */ + int nStmtSpill; /* Stmt-journal spill-to-disk threshold */ + sqlite3_mem_methods m; /* Low-level memory allocation interface */ + sqlite3_mutex_methods mutex; /* Low-level mutex interface */ + sqlite3_pcache_methods2 pcache2; /* Low-level page-cache interface */ + void *pHeap; /* Heap storage space */ + int nHeap; /* Size of pHeap[] */ + int mnReq, mxReq; /* Min and max heap requests sizes */ + sqlite3_int64 szMmap; /* mmap() space per open file */ + sqlite3_int64 mxMmap; /* Maximum value for szMmap */ + void *pPage; /* Page cache memory */ + int szPage; /* Size of each page in pPage[] */ + int nPage; /* Number of pages in pPage[] */ + int mxParserStack; /* maximum depth of the parser stack */ + int sharedCacheEnabled; /* true if shared-cache mode enabled */ + u32 szPma; /* Maximum Sorter PMA size */ + /* The above might be initialized to non-zero. The following need to always + ** initially be zero, however. */ + int isInit; /* True after initialization has finished */ + int inProgress; /* True while initialization in progress */ + int isMutexInit; /* True after mutexes are initialized */ + int isMallocInit; /* True after malloc is initialized */ + int isPCacheInit; /* True after malloc is initialized */ + int nRefInitMutex; /* Number of users of pInitMutex */ + sqlite3_mutex *pInitMutex; /* Mutex used by sqlite3_initialize() */ + void (*xLog)(void*,int,const char*); /* Function for logging */ + void *pLogArg; /* First argument to xLog() */ +#ifdef SQLITE_ENABLE_SQLLOG + void(*xSqllog)(void*,sqlite3*,const char*, int); + void *pSqllogArg; +#endif +#ifdef SQLITE_VDBE_COVERAGE + /* The following callback (if not NULL) is invoked on every VDBE branch + ** operation. Set the callback using SQLITE_TESTCTRL_VDBE_COVERAGE. + */ + void (*xVdbeBranch)(void*,unsigned iSrcLine,u8 eThis,u8 eMx); /* Callback */ + void *pVdbeBranchArg; /* 1st argument */ +#endif +#ifdef SQLITE_ENABLE_DESERIALIZE + sqlite3_int64 mxMemdbSize; /* Default max memdb size */ +#endif +#ifndef SQLITE_UNTESTABLE + int (*xTestCallback)(int); /* Invoked by sqlite3FaultSim() */ +#endif + int bLocaltimeFault; /* True to fail localtime() calls */ + int bInternalFunctions; /* Internal SQL functions are visible */ + int iOnceResetThreshold; /* When to reset OP_Once counters */ + u32 szSorterRef; /* Min size in bytes to use sorter-refs */ + unsigned int iPrngSeed; /* Alternative fixed seed for the PRNG */ +}; + +/* +** This macro is used inside of assert() statements to indicate that +** the assert is only valid on a well-formed database. Instead of: +** +** assert( X ); +** +** One writes: +** +** assert( X || CORRUPT_DB ); +** +** CORRUPT_DB is true during normal operation. CORRUPT_DB does not indicate +** that the database is definitely corrupt, only that it might be corrupt. +** For most test cases, CORRUPT_DB is set to false using a special +** sqlite3_test_control(). This enables assert() statements to prove +** things that are always true for well-formed databases. +*/ +#define CORRUPT_DB (sqlite3Config.neverCorrupt==0) + +/* +** Context pointer passed down through the tree-walk. +*/ +struct Walker { + Parse *pParse; /* Parser context. */ + int (*xExprCallback)(Walker*, Expr*); /* Callback for expressions */ + int (*xSelectCallback)(Walker*,Select*); /* Callback for SELECTs */ + void (*xSelectCallback2)(Walker*,Select*);/* Second callback for SELECTs */ + int walkerDepth; /* Number of subqueries */ + u8 eCode; /* A small processing code */ + union { /* Extra data for callback */ + NameContext *pNC; /* Naming context */ + int n; /* A counter */ + int iCur; /* A cursor number */ + SrcList *pSrcList; /* FROM clause */ + struct SrcCount *pSrcCount; /* Counting column references */ + struct CCurHint *pCCurHint; /* Used by codeCursorHint() */ + int *aiCol; /* array of column indexes */ + struct IdxCover *pIdxCover; /* Check for index coverage */ + struct IdxExprTrans *pIdxTrans; /* Convert idxed expr to column */ + ExprList *pGroupBy; /* GROUP BY clause */ + Select *pSelect; /* HAVING to WHERE clause ctx */ + struct WindowRewrite *pRewrite; /* Window rewrite context */ + struct WhereConst *pConst; /* WHERE clause constants */ + struct RenameCtx *pRename; /* RENAME COLUMN context */ + } u; +}; + +/* Forward declarations */ +SQLITE_PRIVATE int sqlite3WalkExpr(Walker*, Expr*); +SQLITE_PRIVATE int sqlite3WalkExprList(Walker*, ExprList*); +SQLITE_PRIVATE int sqlite3WalkSelect(Walker*, Select*); +SQLITE_PRIVATE int sqlite3WalkSelectExpr(Walker*, Select*); +SQLITE_PRIVATE int sqlite3WalkSelectFrom(Walker*, Select*); +SQLITE_PRIVATE int sqlite3ExprWalkNoop(Walker*, Expr*); +SQLITE_PRIVATE int sqlite3SelectWalkNoop(Walker*, Select*); +SQLITE_PRIVATE int sqlite3SelectWalkFail(Walker*, Select*); +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE void sqlite3SelectWalkAssert2(Walker*, Select*); +#endif + +/* +** Return code from the parse-tree walking primitives and their +** callbacks. +*/ +#define WRC_Continue 0 /* Continue down into children */ +#define WRC_Prune 1 /* Omit children but continue walking siblings */ +#define WRC_Abort 2 /* Abandon the tree walk */ + +/* +** An instance of this structure represents a set of one or more CTEs +** (common table expressions) created by a single WITH clause. +*/ +struct With { + int nCte; /* Number of CTEs in the WITH clause */ + With *pOuter; /* Containing WITH clause, or NULL */ + struct Cte { /* For each CTE in the WITH clause.... */ + char *zName; /* Name of this CTE */ + ExprList *pCols; /* List of explicit column names, or NULL */ + Select *pSelect; /* The definition of this CTE */ + const char *zCteErr; /* Error message for circular references */ + } a[1]; +}; + +#ifdef SQLITE_DEBUG +/* +** An instance of the TreeView object is used for printing the content of +** data structures on sqlite3DebugPrintf() using a tree-like view. +*/ +struct TreeView { + int iLevel; /* Which level of the tree we are on */ + u8 bLine[100]; /* Draw vertical in column i if bLine[i] is true */ +}; +#endif /* SQLITE_DEBUG */ + +/* +** This object is used in various ways, most (but not all) related to window +** functions. +** +** (1) A single instance of this structure is attached to the +** the Expr.y.pWin field for each window function in an expression tree. +** This object holds the information contained in the OVER clause, +** plus additional fields used during code generation. +** +** (2) All window functions in a single SELECT form a linked-list +** attached to Select.pWin. The Window.pFunc and Window.pExpr +** fields point back to the expression that is the window function. +** +** (3) The terms of the WINDOW clause of a SELECT are instances of this +** object on a linked list attached to Select.pWinDefn. +** +** (4) For an aggregate function with a FILTER clause, an instance +** of this object is stored in Expr.y.pWin with eFrmType set to +** TK_FILTER. In this case the only field used is Window.pFilter. +** +** The uses (1) and (2) are really the same Window object that just happens +** to be accessible in two different ways. Use case (3) are separate objects. +*/ +struct Window { + char *zName; /* Name of window (may be NULL) */ + char *zBase; /* Name of base window for chaining (may be NULL) */ + ExprList *pPartition; /* PARTITION BY clause */ + ExprList *pOrderBy; /* ORDER BY clause */ + u8 eFrmType; /* TK_RANGE, TK_GROUPS, TK_ROWS, or 0 */ + u8 eStart; /* UNBOUNDED, CURRENT, PRECEDING or FOLLOWING */ + u8 eEnd; /* UNBOUNDED, CURRENT, PRECEDING or FOLLOWING */ + u8 bImplicitFrame; /* True if frame was implicitly specified */ + u8 eExclude; /* TK_NO, TK_CURRENT, TK_TIES, TK_GROUP, or 0 */ + Expr *pStart; /* Expression for " PRECEDING" */ + Expr *pEnd; /* Expression for " FOLLOWING" */ + Window **ppThis; /* Pointer to this object in Select.pWin list */ + Window *pNextWin; /* Next window function belonging to this SELECT */ + Expr *pFilter; /* The FILTER expression */ + FuncDef *pFunc; /* The function */ + int iEphCsr; /* Partition buffer or Peer buffer */ + int regAccum; /* Accumulator */ + int regResult; /* Interim result */ + int csrApp; /* Function cursor (used by min/max) */ + int regApp; /* Function register (also used by min/max) */ + int regPart; /* Array of registers for PARTITION BY values */ + Expr *pOwner; /* Expression object this window is attached to */ + int nBufferCol; /* Number of columns in buffer table */ + int iArgCol; /* Offset of first argument for this function */ + int regOne; /* Register containing constant value 1 */ + int regStartRowid; + int regEndRowid; + u8 bExprArgs; /* Defer evaluation of window function arguments + ** due to the SQLITE_SUBTYPE flag */ +}; + +#ifndef SQLITE_OMIT_WINDOWFUNC +SQLITE_PRIVATE void sqlite3WindowDelete(sqlite3*, Window*); +SQLITE_PRIVATE void sqlite3WindowUnlinkFromSelect(Window*); +SQLITE_PRIVATE void sqlite3WindowListDelete(sqlite3 *db, Window *p); +SQLITE_PRIVATE Window *sqlite3WindowAlloc(Parse*, int, int, Expr*, int , Expr*, u8); +SQLITE_PRIVATE void sqlite3WindowAttach(Parse*, Expr*, Window*); +SQLITE_PRIVATE void sqlite3WindowLink(Select *pSel, Window *pWin); +SQLITE_PRIVATE int sqlite3WindowCompare(Parse*, Window*, Window*, int); +SQLITE_PRIVATE void sqlite3WindowCodeInit(Parse*, Window*); +SQLITE_PRIVATE void sqlite3WindowCodeStep(Parse*, Select*, WhereInfo*, int, int); +SQLITE_PRIVATE int sqlite3WindowRewrite(Parse*, Select*); +SQLITE_PRIVATE int sqlite3ExpandSubquery(Parse*, struct SrcList_item*); +SQLITE_PRIVATE void sqlite3WindowUpdate(Parse*, Window*, Window*, FuncDef*); +SQLITE_PRIVATE Window *sqlite3WindowDup(sqlite3 *db, Expr *pOwner, Window *p); +SQLITE_PRIVATE Window *sqlite3WindowListDup(sqlite3 *db, Window *p); +SQLITE_PRIVATE void sqlite3WindowFunctions(void); +SQLITE_PRIVATE void sqlite3WindowChain(Parse*, Window*, Window*); +SQLITE_PRIVATE Window *sqlite3WindowAssemble(Parse*, Window*, ExprList*, ExprList*, Token*); +#else +# define sqlite3WindowDelete(a,b) +# define sqlite3WindowFunctions() +# define sqlite3WindowAttach(a,b,c) +#endif + +/* +** Assuming zIn points to the first byte of a UTF-8 character, +** advance zIn to point to the first byte of the next UTF-8 character. +*/ +#define SQLITE_SKIP_UTF8(zIn) { \ + if( (*(zIn++))>=0xc0 ){ \ + while( (*zIn & 0xc0)==0x80 ){ zIn++; } \ + } \ +} + +/* +** The SQLITE_*_BKPT macros are substitutes for the error codes with +** the same name but without the _BKPT suffix. These macros invoke +** routines that report the line-number on which the error originated +** using sqlite3_log(). The routines also provide a convenient place +** to set a debugger breakpoint. +*/ +SQLITE_PRIVATE int sqlite3ReportError(int iErr, int lineno, const char *zType); +SQLITE_PRIVATE int sqlite3CorruptError(int); +SQLITE_PRIVATE int sqlite3MisuseError(int); +SQLITE_PRIVATE int sqlite3CantopenError(int); +#define SQLITE_CORRUPT_BKPT sqlite3CorruptError(__LINE__) +#define SQLITE_MISUSE_BKPT sqlite3MisuseError(__LINE__) +#define SQLITE_CANTOPEN_BKPT sqlite3CantopenError(__LINE__) +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE int sqlite3NomemError(int); +SQLITE_PRIVATE int sqlite3IoerrnomemError(int); +SQLITE_PRIVATE int sqlite3CorruptPgnoError(int,Pgno); +# define SQLITE_NOMEM_BKPT sqlite3NomemError(__LINE__) +# define SQLITE_IOERR_NOMEM_BKPT sqlite3IoerrnomemError(__LINE__) +# define SQLITE_CORRUPT_PGNO(P) sqlite3CorruptPgnoError(__LINE__,(P)) +#else +# define SQLITE_NOMEM_BKPT SQLITE_NOMEM +# define SQLITE_IOERR_NOMEM_BKPT SQLITE_IOERR_NOMEM +# define SQLITE_CORRUPT_PGNO(P) sqlite3CorruptError(__LINE__) +#endif + +/* +** FTS3 and FTS4 both require virtual table support +*/ +#if defined(SQLITE_OMIT_VIRTUALTABLE) +# undef SQLITE_ENABLE_FTS3 +# undef SQLITE_ENABLE_FTS4 +#endif + +/* +** FTS4 is really an extension for FTS3. It is enabled using the +** SQLITE_ENABLE_FTS3 macro. But to avoid confusion we also call +** the SQLITE_ENABLE_FTS4 macro to serve as an alias for SQLITE_ENABLE_FTS3. +*/ +#if defined(SQLITE_ENABLE_FTS4) && !defined(SQLITE_ENABLE_FTS3) +# define SQLITE_ENABLE_FTS3 1 +#endif + +/* +** The ctype.h header is needed for non-ASCII systems. It is also +** needed by FTS3 when FTS3 is included in the amalgamation. +*/ +#if !defined(SQLITE_ASCII) || \ + (defined(SQLITE_ENABLE_FTS3) && defined(SQLITE_AMALGAMATION)) +# include +#endif + +/* +** The following macros mimic the standard library functions toupper(), +** isspace(), isalnum(), isdigit() and isxdigit(), respectively. The +** sqlite versions only work for ASCII characters, regardless of locale. +*/ +#ifdef SQLITE_ASCII +# define sqlite3Toupper(x) ((x)&~(sqlite3CtypeMap[(unsigned char)(x)]&0x20)) +# define sqlite3Isspace(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x01) +# define sqlite3Isalnum(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x06) +# define sqlite3Isalpha(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x02) +# define sqlite3Isdigit(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x04) +# define sqlite3Isxdigit(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x08) +# define sqlite3Tolower(x) (sqlite3UpperToLower[(unsigned char)(x)]) +# define sqlite3Isquote(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x80) +#else +# define sqlite3Toupper(x) toupper((unsigned char)(x)) +# define sqlite3Isspace(x) isspace((unsigned char)(x)) +# define sqlite3Isalnum(x) isalnum((unsigned char)(x)) +# define sqlite3Isalpha(x) isalpha((unsigned char)(x)) +# define sqlite3Isdigit(x) isdigit((unsigned char)(x)) +# define sqlite3Isxdigit(x) isxdigit((unsigned char)(x)) +# define sqlite3Tolower(x) tolower((unsigned char)(x)) +# define sqlite3Isquote(x) ((x)=='"'||(x)=='\''||(x)=='['||(x)=='`') +#endif +SQLITE_PRIVATE int sqlite3IsIdChar(u8); + +/* +** Internal function prototypes +*/ +SQLITE_PRIVATE int sqlite3StrICmp(const char*,const char*); +SQLITE_PRIVATE int sqlite3Strlen30(const char*); +#define sqlite3Strlen30NN(C) (strlen(C)&0x3fffffff) +SQLITE_PRIVATE char *sqlite3ColumnType(Column*,char*); +#define sqlite3StrNICmp sqlite3_strnicmp + +SQLITE_PRIVATE int sqlite3MallocInit(void); +SQLITE_PRIVATE void sqlite3MallocEnd(void); +SQLITE_PRIVATE void *sqlite3Malloc(u64); +SQLITE_PRIVATE void *sqlite3MallocZero(u64); +SQLITE_PRIVATE void *sqlite3DbMallocZero(sqlite3*, u64); +SQLITE_PRIVATE void *sqlite3DbMallocRaw(sqlite3*, u64); +SQLITE_PRIVATE void *sqlite3DbMallocRawNN(sqlite3*, u64); +SQLITE_PRIVATE char *sqlite3DbStrDup(sqlite3*,const char*); +SQLITE_PRIVATE char *sqlite3DbStrNDup(sqlite3*,const char*, u64); +SQLITE_PRIVATE char *sqlite3DbSpanDup(sqlite3*,const char*,const char*); +SQLITE_PRIVATE void *sqlite3Realloc(void*, u64); +SQLITE_PRIVATE void *sqlite3DbReallocOrFree(sqlite3 *, void *, u64); +SQLITE_PRIVATE void *sqlite3DbRealloc(sqlite3 *, void *, u64); +SQLITE_PRIVATE void sqlite3DbFree(sqlite3*, void*); +SQLITE_PRIVATE void sqlite3DbFreeNN(sqlite3*, void*); +SQLITE_PRIVATE int sqlite3MallocSize(void*); +SQLITE_PRIVATE int sqlite3DbMallocSize(sqlite3*, void*); +SQLITE_PRIVATE void *sqlite3PageMalloc(int); +SQLITE_PRIVATE void sqlite3PageFree(void*); +SQLITE_PRIVATE void sqlite3MemSetDefault(void); +#ifndef SQLITE_UNTESTABLE +SQLITE_PRIVATE void sqlite3BenignMallocHooks(void (*)(void), void (*)(void)); +#endif +SQLITE_PRIVATE int sqlite3HeapNearlyFull(void); + +/* +** On systems with ample stack space and that support alloca(), make +** use of alloca() to obtain space for large automatic objects. By default, +** obtain space from malloc(). +** +** The alloca() routine never returns NULL. This will cause code paths +** that deal with sqlite3StackAlloc() failures to be unreachable. +*/ +#ifdef SQLITE_USE_ALLOCA +# define sqlite3StackAllocRaw(D,N) alloca(N) +# define sqlite3StackAllocZero(D,N) memset(alloca(N), 0, N) +# define sqlite3StackFree(D,P) +#else +# define sqlite3StackAllocRaw(D,N) sqlite3DbMallocRaw(D,N) +# define sqlite3StackAllocZero(D,N) sqlite3DbMallocZero(D,N) +# define sqlite3StackFree(D,P) sqlite3DbFree(D,P) +#endif + +/* Do not allow both MEMSYS5 and MEMSYS3 to be defined together. If they +** are, disable MEMSYS3 +*/ +#ifdef SQLITE_ENABLE_MEMSYS5 +SQLITE_PRIVATE const sqlite3_mem_methods *sqlite3MemGetMemsys5(void); +#undef SQLITE_ENABLE_MEMSYS3 +#endif +#ifdef SQLITE_ENABLE_MEMSYS3 +SQLITE_PRIVATE const sqlite3_mem_methods *sqlite3MemGetMemsys3(void); +#endif + + +#ifndef SQLITE_MUTEX_OMIT +SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3DefaultMutex(void); +SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3NoopMutex(void); +SQLITE_PRIVATE sqlite3_mutex *sqlite3MutexAlloc(int); +SQLITE_PRIVATE int sqlite3MutexInit(void); +SQLITE_PRIVATE int sqlite3MutexEnd(void); +#endif +#if !defined(SQLITE_MUTEX_OMIT) && !defined(SQLITE_MUTEX_NOOP) +SQLITE_PRIVATE void sqlite3MemoryBarrier(void); +#else +# define sqlite3MemoryBarrier() +#endif + +SQLITE_PRIVATE sqlite3_int64 sqlite3StatusValue(int); +SQLITE_PRIVATE void sqlite3StatusUp(int, int); +SQLITE_PRIVATE void sqlite3StatusDown(int, int); +SQLITE_PRIVATE void sqlite3StatusHighwater(int, int); +SQLITE_PRIVATE int sqlite3LookasideUsed(sqlite3*,int*); + +/* Access to mutexes used by sqlite3_status() */ +SQLITE_PRIVATE sqlite3_mutex *sqlite3Pcache1Mutex(void); +SQLITE_PRIVATE sqlite3_mutex *sqlite3MallocMutex(void); + +#if defined(SQLITE_ENABLE_MULTITHREADED_CHECKS) && !defined(SQLITE_MUTEX_OMIT) +SQLITE_PRIVATE void sqlite3MutexWarnOnContention(sqlite3_mutex*); +#else +# define sqlite3MutexWarnOnContention(x) +#endif + +#ifndef SQLITE_OMIT_FLOATING_POINT +# define EXP754 (((u64)0x7ff)<<52) +# define MAN754 ((((u64)1)<<52)-1) +# define IsNaN(X) (((X)&EXP754)==EXP754 && ((X)&MAN754)!=0) +SQLITE_PRIVATE int sqlite3IsNaN(double); +#else +# define IsNaN(X) 0 +# define sqlite3IsNaN(X) 0 +#endif + +/* +** An instance of the following structure holds information about SQL +** functions arguments that are the parameters to the printf() function. +*/ +struct PrintfArguments { + int nArg; /* Total number of arguments */ + int nUsed; /* Number of arguments used so far */ + sqlite3_value **apArg; /* The argument values */ +}; + +SQLITE_PRIVATE char *sqlite3MPrintf(sqlite3*,const char*, ...); +SQLITE_PRIVATE char *sqlite3VMPrintf(sqlite3*,const char*, va_list); +#if defined(SQLITE_DEBUG) || defined(SQLITE_HAVE_OS_TRACE) +SQLITE_PRIVATE void sqlite3DebugPrintf(const char*, ...); +#endif +#if defined(SQLITE_TEST) +SQLITE_PRIVATE void *sqlite3TestTextToPtr(const char*); +#endif + +#if defined(SQLITE_DEBUG) +SQLITE_PRIVATE void sqlite3TreeViewExpr(TreeView*, const Expr*, u8); +SQLITE_PRIVATE void sqlite3TreeViewBareExprList(TreeView*, const ExprList*, const char*); +SQLITE_PRIVATE void sqlite3TreeViewExprList(TreeView*, const ExprList*, u8, const char*); +SQLITE_PRIVATE void sqlite3TreeViewSrcList(TreeView*, const SrcList*); +SQLITE_PRIVATE void sqlite3TreeViewSelect(TreeView*, const Select*, u8); +SQLITE_PRIVATE void sqlite3TreeViewWith(TreeView*, const With*, u8); +#ifndef SQLITE_OMIT_WINDOWFUNC +SQLITE_PRIVATE void sqlite3TreeViewWindow(TreeView*, const Window*, u8); +SQLITE_PRIVATE void sqlite3TreeViewWinFunc(TreeView*, const Window*, u8); +#endif +#endif + + +SQLITE_PRIVATE void sqlite3SetString(char **, sqlite3*, const char*); +SQLITE_PRIVATE void sqlite3ErrorMsg(Parse*, const char*, ...); +SQLITE_PRIVATE int sqlite3ErrorToParser(sqlite3*,int); +SQLITE_PRIVATE void sqlite3Dequote(char*); +SQLITE_PRIVATE void sqlite3DequoteExpr(Expr*); +SQLITE_PRIVATE void sqlite3TokenInit(Token*,char*); +SQLITE_PRIVATE int sqlite3KeywordCode(const unsigned char*, int); +SQLITE_PRIVATE int sqlite3RunParser(Parse*, const char*, char **); +SQLITE_PRIVATE void sqlite3FinishCoding(Parse*); +SQLITE_PRIVATE int sqlite3GetTempReg(Parse*); +SQLITE_PRIVATE void sqlite3ReleaseTempReg(Parse*,int); +SQLITE_PRIVATE int sqlite3GetTempRange(Parse*,int); +SQLITE_PRIVATE void sqlite3ReleaseTempRange(Parse*,int,int); +SQLITE_PRIVATE void sqlite3ClearTempRegCache(Parse*); +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE int sqlite3NoTempsInRange(Parse*,int,int); +#endif +SQLITE_PRIVATE Expr *sqlite3ExprAlloc(sqlite3*,int,const Token*,int); +SQLITE_PRIVATE Expr *sqlite3Expr(sqlite3*,int,const char*); +SQLITE_PRIVATE void sqlite3ExprAttachSubtrees(sqlite3*,Expr*,Expr*,Expr*); +SQLITE_PRIVATE Expr *sqlite3PExpr(Parse*, int, Expr*, Expr*); +SQLITE_PRIVATE void sqlite3PExprAddSelect(Parse*, Expr*, Select*); +SQLITE_PRIVATE Expr *sqlite3ExprAnd(Parse*,Expr*, Expr*); +SQLITE_PRIVATE Expr *sqlite3ExprSimplifiedAndOr(Expr*); +SQLITE_PRIVATE Expr *sqlite3ExprFunction(Parse*,ExprList*, Token*, int); +SQLITE_PRIVATE void sqlite3ExprAssignVarNumber(Parse*, Expr*, u32); +SQLITE_PRIVATE void sqlite3ExprDelete(sqlite3*, Expr*); +SQLITE_PRIVATE void sqlite3ExprUnmapAndDelete(Parse*, Expr*); +SQLITE_PRIVATE ExprList *sqlite3ExprListAppend(Parse*,ExprList*,Expr*); +SQLITE_PRIVATE ExprList *sqlite3ExprListAppendVector(Parse*,ExprList*,IdList*,Expr*); +SQLITE_PRIVATE void sqlite3ExprListSetSortOrder(ExprList*,int,int); +SQLITE_PRIVATE void sqlite3ExprListSetName(Parse*,ExprList*,Token*,int); +SQLITE_PRIVATE void sqlite3ExprListSetSpan(Parse*,ExprList*,const char*,const char*); +SQLITE_PRIVATE void sqlite3ExprListDelete(sqlite3*, ExprList*); +SQLITE_PRIVATE u32 sqlite3ExprListFlags(const ExprList*); +SQLITE_PRIVATE int sqlite3IndexHasDuplicateRootPage(Index*); +SQLITE_PRIVATE int sqlite3Init(sqlite3*, char**); +SQLITE_PRIVATE int sqlite3InitCallback(void*, int, char**, char**); +SQLITE_PRIVATE int sqlite3InitOne(sqlite3*, int, char**, u32); +SQLITE_PRIVATE void sqlite3Pragma(Parse*,Token*,Token*,Token*,int); +#ifndef SQLITE_OMIT_VIRTUALTABLE +SQLITE_PRIVATE Module *sqlite3PragmaVtabRegister(sqlite3*,const char *zName); +#endif +SQLITE_PRIVATE void sqlite3ResetAllSchemasOfConnection(sqlite3*); +SQLITE_PRIVATE void sqlite3ResetOneSchema(sqlite3*,int); +SQLITE_PRIVATE void sqlite3CollapseDatabaseArray(sqlite3*); +SQLITE_PRIVATE void sqlite3CommitInternalChanges(sqlite3*); +SQLITE_PRIVATE void sqlite3DeleteColumnNames(sqlite3*,Table*); +SQLITE_PRIVATE int sqlite3ColumnsFromExprList(Parse*,ExprList*,i16*,Column**); +SQLITE_PRIVATE void sqlite3SelectAddColumnTypeAndCollation(Parse*,Table*,Select*,char); +SQLITE_PRIVATE Table *sqlite3ResultSetOfSelect(Parse*,Select*,char); +SQLITE_PRIVATE void sqlite3OpenMasterTable(Parse *, int); +SQLITE_PRIVATE Index *sqlite3PrimaryKeyIndex(Table*); +SQLITE_PRIVATE i16 sqlite3ColumnOfIndex(Index*, i16); +SQLITE_PRIVATE void sqlite3StartTable(Parse*,Token*,Token*,int,int,int,int); +#if SQLITE_ENABLE_HIDDEN_COLUMNS +SQLITE_PRIVATE void sqlite3ColumnPropertiesFromName(Table*, Column*); +#else +# define sqlite3ColumnPropertiesFromName(T,C) /* no-op */ +#endif +SQLITE_PRIVATE void sqlite3AddColumn(Parse*,Token*,Token*); +SQLITE_PRIVATE void sqlite3AddNotNull(Parse*, int); +SQLITE_PRIVATE void sqlite3AddPrimaryKey(Parse*, ExprList*, int, int, int); +SQLITE_PRIVATE void sqlite3AddCheckConstraint(Parse*, Expr*); +SQLITE_PRIVATE void sqlite3AddDefaultValue(Parse*,Expr*,const char*,const char*); +SQLITE_PRIVATE void sqlite3AddCollateType(Parse*, Token*); +SQLITE_PRIVATE void sqlite3EndTable(Parse*,Token*,Token*,u8,Select*); +SQLITE_PRIVATE int sqlite3ParseUri(const char*,const char*,unsigned int*, + sqlite3_vfs**,char**,char **); +#ifdef SQLITE_HAS_CODEC +SQLITE_PRIVATE int sqlite3CodecQueryParameters(sqlite3*,const char*,const char*); +#else +# define sqlite3CodecQueryParameters(A,B,C) 0 +#endif +SQLITE_PRIVATE Btree *sqlite3DbNameToBtree(sqlite3*,const char*); + +#ifdef SQLITE_UNTESTABLE +# define sqlite3FaultSim(X) SQLITE_OK +#else +SQLITE_PRIVATE int sqlite3FaultSim(int); +#endif + +SQLITE_PRIVATE Bitvec *sqlite3BitvecCreate(u32); +SQLITE_PRIVATE int sqlite3BitvecTest(Bitvec*, u32); +SQLITE_PRIVATE int sqlite3BitvecTestNotNull(Bitvec*, u32); +SQLITE_PRIVATE int sqlite3BitvecSet(Bitvec*, u32); +SQLITE_PRIVATE void sqlite3BitvecClear(Bitvec*, u32, void*); +SQLITE_PRIVATE void sqlite3BitvecDestroy(Bitvec*); +SQLITE_PRIVATE u32 sqlite3BitvecSize(Bitvec*); +#ifndef SQLITE_UNTESTABLE +SQLITE_PRIVATE int sqlite3BitvecBuiltinTest(int,int*); +#endif + +SQLITE_PRIVATE RowSet *sqlite3RowSetInit(sqlite3*); +SQLITE_PRIVATE void sqlite3RowSetDelete(void*); +SQLITE_PRIVATE void sqlite3RowSetClear(void*); +SQLITE_PRIVATE void sqlite3RowSetInsert(RowSet*, i64); +SQLITE_PRIVATE int sqlite3RowSetTest(RowSet*, int iBatch, i64); +SQLITE_PRIVATE int sqlite3RowSetNext(RowSet*, i64*); + +SQLITE_PRIVATE void sqlite3CreateView(Parse*,Token*,Token*,Token*,ExprList*,Select*,int,int); + +#if !defined(SQLITE_OMIT_VIEW) || !defined(SQLITE_OMIT_VIRTUALTABLE) +SQLITE_PRIVATE int sqlite3ViewGetColumnNames(Parse*,Table*); +#else +# define sqlite3ViewGetColumnNames(A,B) 0 +#endif + +#if SQLITE_MAX_ATTACHED>30 +SQLITE_PRIVATE int sqlite3DbMaskAllZero(yDbMask); +#endif +SQLITE_PRIVATE void sqlite3DropTable(Parse*, SrcList*, int, int); +SQLITE_PRIVATE void sqlite3CodeDropTable(Parse*, Table*, int, int); +SQLITE_PRIVATE void sqlite3DeleteTable(sqlite3*, Table*); +SQLITE_PRIVATE void sqlite3FreeIndex(sqlite3*, Index*); +#ifndef SQLITE_OMIT_AUTOINCREMENT +SQLITE_PRIVATE void sqlite3AutoincrementBegin(Parse *pParse); +SQLITE_PRIVATE void sqlite3AutoincrementEnd(Parse *pParse); +#else +# define sqlite3AutoincrementBegin(X) +# define sqlite3AutoincrementEnd(X) +#endif +SQLITE_PRIVATE void sqlite3Insert(Parse*, SrcList*, Select*, IdList*, int, Upsert*); +SQLITE_PRIVATE void *sqlite3ArrayAllocate(sqlite3*,void*,int,int*,int*); +SQLITE_PRIVATE IdList *sqlite3IdListAppend(Parse*, IdList*, Token*); +SQLITE_PRIVATE int sqlite3IdListIndex(IdList*,const char*); +SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge(Parse*, SrcList*, int, int); +SQLITE_PRIVATE SrcList *sqlite3SrcListAppend(Parse*, SrcList*, Token*, Token*); +SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm(Parse*, SrcList*, Token*, Token*, + Token*, Select*, Expr*, IdList*); +SQLITE_PRIVATE void sqlite3SrcListIndexedBy(Parse *, SrcList *, Token *); +SQLITE_PRIVATE void sqlite3SrcListFuncArgs(Parse*, SrcList*, ExprList*); +SQLITE_PRIVATE int sqlite3IndexedByLookup(Parse *, struct SrcList_item *); +SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(SrcList*); +SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse*, SrcList*); +SQLITE_PRIVATE void sqlite3IdListDelete(sqlite3*, IdList*); +SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3*, SrcList*); +SQLITE_PRIVATE Index *sqlite3AllocateIndexObject(sqlite3*,i16,int,char**); +SQLITE_PRIVATE void sqlite3CreateIndex(Parse*,Token*,Token*,SrcList*,ExprList*,int,Token*, + Expr*, int, int, u8); +SQLITE_PRIVATE void sqlite3DropIndex(Parse*, SrcList*, int); +SQLITE_PRIVATE int sqlite3Select(Parse*, Select*, SelectDest*); +SQLITE_PRIVATE Select *sqlite3SelectNew(Parse*,ExprList*,SrcList*,Expr*,ExprList*, + Expr*,ExprList*,u32,Expr*); +SQLITE_PRIVATE void sqlite3SelectDelete(sqlite3*, Select*); +SQLITE_PRIVATE Table *sqlite3SrcListLookup(Parse*, SrcList*); +SQLITE_PRIVATE int sqlite3IsReadOnly(Parse*, Table*, int); +SQLITE_PRIVATE void sqlite3OpenTable(Parse*, int iCur, int iDb, Table*, int); +#if defined(SQLITE_ENABLE_UPDATE_DELETE_LIMIT) && !defined(SQLITE_OMIT_SUBQUERY) +SQLITE_PRIVATE Expr *sqlite3LimitWhere(Parse*,SrcList*,Expr*,ExprList*,Expr*,char*); +#endif +SQLITE_PRIVATE void sqlite3DeleteFrom(Parse*, SrcList*, Expr*, ExprList*, Expr*); +SQLITE_PRIVATE void sqlite3Update(Parse*, SrcList*, ExprList*,Expr*,int,ExprList*,Expr*, + Upsert*); +SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin(Parse*,SrcList*,Expr*,ExprList*,ExprList*,u16,int); +SQLITE_PRIVATE void sqlite3WhereEnd(WhereInfo*); +SQLITE_PRIVATE LogEst sqlite3WhereOutputRowCount(WhereInfo*); +SQLITE_PRIVATE int sqlite3WhereIsDistinct(WhereInfo*); +SQLITE_PRIVATE int sqlite3WhereIsOrdered(WhereInfo*); +SQLITE_PRIVATE int sqlite3WhereOrderByLimitOptLabel(WhereInfo*); +SQLITE_PRIVATE int sqlite3WhereIsSorted(WhereInfo*); +SQLITE_PRIVATE int sqlite3WhereContinueLabel(WhereInfo*); +SQLITE_PRIVATE int sqlite3WhereBreakLabel(WhereInfo*); +SQLITE_PRIVATE int sqlite3WhereOkOnePass(WhereInfo*, int*); +#define ONEPASS_OFF 0 /* Use of ONEPASS not allowed */ +#define ONEPASS_SINGLE 1 /* ONEPASS valid for a single row update */ +#define ONEPASS_MULTI 2 /* ONEPASS is valid for multiple rows */ +SQLITE_PRIVATE void sqlite3ExprCodeLoadIndexColumn(Parse*, Index*, int, int, int); +SQLITE_PRIVATE int sqlite3ExprCodeGetColumn(Parse*, Table*, int, int, int, u8); +SQLITE_PRIVATE void sqlite3ExprCodeGetColumnOfTable(Vdbe*, Table*, int, int, int); +SQLITE_PRIVATE void sqlite3ExprCodeMove(Parse*, int, int, int); +SQLITE_PRIVATE void sqlite3ExprCode(Parse*, Expr*, int); +SQLITE_PRIVATE void sqlite3ExprCodeCopy(Parse*, Expr*, int); +SQLITE_PRIVATE void sqlite3ExprCodeFactorable(Parse*, Expr*, int); +SQLITE_PRIVATE int sqlite3ExprCodeAtInit(Parse*, Expr*, int); +SQLITE_PRIVATE int sqlite3ExprCodeTemp(Parse*, Expr*, int*); +SQLITE_PRIVATE int sqlite3ExprCodeTarget(Parse*, Expr*, int); +SQLITE_PRIVATE void sqlite3ExprCodeAndCache(Parse*, Expr*, int); +SQLITE_PRIVATE int sqlite3ExprCodeExprList(Parse*, ExprList*, int, int, u8); +#define SQLITE_ECEL_DUP 0x01 /* Deep, not shallow copies */ +#define SQLITE_ECEL_FACTOR 0x02 /* Factor out constant terms */ +#define SQLITE_ECEL_REF 0x04 /* Use ExprList.u.x.iOrderByCol */ +#define SQLITE_ECEL_OMITREF 0x08 /* Omit if ExprList.u.x.iOrderByCol */ +SQLITE_PRIVATE void sqlite3ExprIfTrue(Parse*, Expr*, int, int); +SQLITE_PRIVATE void sqlite3ExprIfFalse(Parse*, Expr*, int, int); +SQLITE_PRIVATE void sqlite3ExprIfFalseDup(Parse*, Expr*, int, int); +SQLITE_PRIVATE Table *sqlite3FindTable(sqlite3*,const char*, const char*); +#define LOCATE_VIEW 0x01 +#define LOCATE_NOERR 0x02 +SQLITE_PRIVATE Table *sqlite3LocateTable(Parse*,u32 flags,const char*, const char*); +SQLITE_PRIVATE Table *sqlite3LocateTableItem(Parse*,u32 flags,struct SrcList_item *); +SQLITE_PRIVATE Index *sqlite3FindIndex(sqlite3*,const char*, const char*); +SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTable(sqlite3*,int,const char*); +SQLITE_PRIVATE void sqlite3UnlinkAndDeleteIndex(sqlite3*,int,const char*); +SQLITE_PRIVATE void sqlite3Vacuum(Parse*,Token*,Expr*); +SQLITE_PRIVATE int sqlite3RunVacuum(char**, sqlite3*, int, sqlite3_value*); +SQLITE_PRIVATE char *sqlite3NameFromToken(sqlite3*, Token*); +SQLITE_PRIVATE int sqlite3ExprCompare(Parse*,Expr*, Expr*, int); +SQLITE_PRIVATE int sqlite3ExprCompareSkip(Expr*, Expr*, int); +SQLITE_PRIVATE int sqlite3ExprListCompare(ExprList*, ExprList*, int); +SQLITE_PRIVATE int sqlite3ExprImpliesExpr(Parse*,Expr*, Expr*, int); +SQLITE_PRIVATE int sqlite3ExprImpliesNonNullRow(Expr*,int); +SQLITE_PRIVATE void sqlite3ExprAnalyzeAggregates(NameContext*, Expr*); +SQLITE_PRIVATE void sqlite3ExprAnalyzeAggList(NameContext*,ExprList*); +SQLITE_PRIVATE int sqlite3ExprCoveredByIndex(Expr*, int iCur, Index *pIdx); +SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc(Expr*, SrcList*); +SQLITE_PRIVATE Vdbe *sqlite3GetVdbe(Parse*); +#ifndef SQLITE_UNTESTABLE +SQLITE_PRIVATE void sqlite3PrngSaveState(void); +SQLITE_PRIVATE void sqlite3PrngRestoreState(void); +#endif +SQLITE_PRIVATE void sqlite3RollbackAll(sqlite3*,int); +SQLITE_PRIVATE void sqlite3CodeVerifySchema(Parse*, int); +SQLITE_PRIVATE void sqlite3CodeVerifyNamedSchema(Parse*, const char *zDb); +SQLITE_PRIVATE void sqlite3BeginTransaction(Parse*, int); +SQLITE_PRIVATE void sqlite3EndTransaction(Parse*,int); +SQLITE_PRIVATE void sqlite3Savepoint(Parse*, int, Token*); +SQLITE_PRIVATE void sqlite3CloseSavepoints(sqlite3 *); +SQLITE_PRIVATE void sqlite3LeaveMutexAndCloseZombie(sqlite3*); +SQLITE_PRIVATE int sqlite3ExprIdToTrueFalse(Expr*); +SQLITE_PRIVATE int sqlite3ExprTruthValue(const Expr*); +SQLITE_PRIVATE int sqlite3ExprIsConstant(Expr*); +SQLITE_PRIVATE int sqlite3ExprIsConstantNotJoin(Expr*); +SQLITE_PRIVATE int sqlite3ExprIsConstantOrFunction(Expr*, u8); +SQLITE_PRIVATE int sqlite3ExprIsConstantOrGroupBy(Parse*, Expr*, ExprList*); +SQLITE_PRIVATE int sqlite3ExprIsTableConstant(Expr*,int); +#ifdef SQLITE_ENABLE_CURSOR_HINTS +SQLITE_PRIVATE int sqlite3ExprContainsSubquery(Expr*); +#endif +SQLITE_PRIVATE int sqlite3ExprIsInteger(Expr*, int*); +SQLITE_PRIVATE int sqlite3ExprCanBeNull(const Expr*); +SQLITE_PRIVATE int sqlite3ExprNeedsNoAffinityChange(const Expr*, char); +SQLITE_PRIVATE int sqlite3IsRowid(const char*); +SQLITE_PRIVATE void sqlite3GenerateRowDelete( + Parse*,Table*,Trigger*,int,int,int,i16,u8,u8,u8,int); +SQLITE_PRIVATE void sqlite3GenerateRowIndexDelete(Parse*, Table*, int, int, int*, int); +SQLITE_PRIVATE int sqlite3GenerateIndexKey(Parse*, Index*, int, int, int, int*,Index*,int); +SQLITE_PRIVATE void sqlite3ResolvePartIdxLabel(Parse*,int); +SQLITE_PRIVATE int sqlite3ExprReferencesUpdatedColumn(Expr*,int*,int); +SQLITE_PRIVATE void sqlite3GenerateConstraintChecks(Parse*,Table*,int*,int,int,int,int, + u8,u8,int,int*,int*,Upsert*); +#ifdef SQLITE_ENABLE_NULL_TRIM +SQLITE_PRIVATE void sqlite3SetMakeRecordP5(Vdbe*,Table*); +#else +# define sqlite3SetMakeRecordP5(A,B) +#endif +SQLITE_PRIVATE void sqlite3CompleteInsertion(Parse*,Table*,int,int,int,int*,int,int,int); +SQLITE_PRIVATE int sqlite3OpenTableAndIndices(Parse*, Table*, int, u8, int, u8*, int*, int*); +SQLITE_PRIVATE void sqlite3BeginWriteOperation(Parse*, int, int); +SQLITE_PRIVATE void sqlite3MultiWrite(Parse*); +SQLITE_PRIVATE void sqlite3MayAbort(Parse*); +SQLITE_PRIVATE void sqlite3HaltConstraint(Parse*, int, int, char*, i8, u8); +SQLITE_PRIVATE void sqlite3UniqueConstraint(Parse*, int, Index*); +SQLITE_PRIVATE void sqlite3RowidConstraint(Parse*, int, Table*); +SQLITE_PRIVATE Expr *sqlite3ExprDup(sqlite3*,Expr*,int); +SQLITE_PRIVATE ExprList *sqlite3ExprListDup(sqlite3*,ExprList*,int); +SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3*,SrcList*,int); +SQLITE_PRIVATE IdList *sqlite3IdListDup(sqlite3*,IdList*); +SQLITE_PRIVATE Select *sqlite3SelectDup(sqlite3*,Select*,int); +SQLITE_PRIVATE FuncDef *sqlite3FunctionSearch(int,const char*); +SQLITE_PRIVATE void sqlite3InsertBuiltinFuncs(FuncDef*,int); +SQLITE_PRIVATE FuncDef *sqlite3FindFunction(sqlite3*,const char*,int,u8,u8); +SQLITE_PRIVATE void sqlite3RegisterBuiltinFunctions(void); +SQLITE_PRIVATE void sqlite3RegisterDateTimeFunctions(void); +SQLITE_PRIVATE void sqlite3RegisterPerConnectionBuiltinFunctions(sqlite3*); +SQLITE_PRIVATE int sqlite3SafetyCheckOk(sqlite3*); +SQLITE_PRIVATE int sqlite3SafetyCheckSickOrOk(sqlite3*); +SQLITE_PRIVATE void sqlite3ChangeCookie(Parse*, int); + +#if !defined(SQLITE_OMIT_VIEW) && !defined(SQLITE_OMIT_TRIGGER) +SQLITE_PRIVATE void sqlite3MaterializeView(Parse*, Table*, Expr*, ExprList*,Expr*,int); +#endif + +#ifndef SQLITE_OMIT_TRIGGER +SQLITE_PRIVATE void sqlite3BeginTrigger(Parse*, Token*,Token*,int,int,IdList*,SrcList*, + Expr*,int, int); +SQLITE_PRIVATE void sqlite3FinishTrigger(Parse*, TriggerStep*, Token*); +SQLITE_PRIVATE void sqlite3DropTrigger(Parse*, SrcList*, int); +SQLITE_PRIVATE void sqlite3DropTriggerPtr(Parse*, Trigger*); +SQLITE_PRIVATE Trigger *sqlite3TriggersExist(Parse *, Table*, int, ExprList*, int *pMask); +SQLITE_PRIVATE Trigger *sqlite3TriggerList(Parse *, Table *); +SQLITE_PRIVATE void sqlite3CodeRowTrigger(Parse*, Trigger *, int, ExprList*, int, Table *, + int, int, int); +SQLITE_PRIVATE void sqlite3CodeRowTriggerDirect(Parse *, Trigger *, Table *, int, int, int); + void sqliteViewTriggers(Parse*, Table*, Expr*, int, ExprList*); +SQLITE_PRIVATE void sqlite3DeleteTriggerStep(sqlite3*, TriggerStep*); +SQLITE_PRIVATE TriggerStep *sqlite3TriggerSelectStep(sqlite3*,Select*, + const char*,const char*); +SQLITE_PRIVATE TriggerStep *sqlite3TriggerInsertStep(Parse*,Token*, IdList*, + Select*,u8,Upsert*, + const char*,const char*); +SQLITE_PRIVATE TriggerStep *sqlite3TriggerUpdateStep(Parse*,Token*,ExprList*, Expr*, u8, + const char*,const char*); +SQLITE_PRIVATE TriggerStep *sqlite3TriggerDeleteStep(Parse*,Token*, Expr*, + const char*,const char*); +SQLITE_PRIVATE void sqlite3DeleteTrigger(sqlite3*, Trigger*); +SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTrigger(sqlite3*,int,const char*); +SQLITE_PRIVATE u32 sqlite3TriggerColmask(Parse*,Trigger*,ExprList*,int,int,Table*,int); +# define sqlite3ParseToplevel(p) ((p)->pToplevel ? (p)->pToplevel : (p)) +# define sqlite3IsToplevel(p) ((p)->pToplevel==0) +#else +# define sqlite3TriggersExist(B,C,D,E,F) 0 +# define sqlite3DeleteTrigger(A,B) +# define sqlite3DropTriggerPtr(A,B) +# define sqlite3UnlinkAndDeleteTrigger(A,B,C) +# define sqlite3CodeRowTrigger(A,B,C,D,E,F,G,H,I) +# define sqlite3CodeRowTriggerDirect(A,B,C,D,E,F) +# define sqlite3TriggerList(X, Y) 0 +# define sqlite3ParseToplevel(p) p +# define sqlite3IsToplevel(p) 1 +# define sqlite3TriggerColmask(A,B,C,D,E,F,G) 0 +#endif + +SQLITE_PRIVATE int sqlite3JoinType(Parse*, Token*, Token*, Token*); +SQLITE_PRIVATE void sqlite3CreateForeignKey(Parse*, ExprList*, Token*, ExprList*, int); +SQLITE_PRIVATE void sqlite3DeferForeignKey(Parse*, int); +#ifndef SQLITE_OMIT_AUTHORIZATION +SQLITE_PRIVATE void sqlite3AuthRead(Parse*,Expr*,Schema*,SrcList*); +SQLITE_PRIVATE int sqlite3AuthCheck(Parse*,int, const char*, const char*, const char*); +SQLITE_PRIVATE void sqlite3AuthContextPush(Parse*, AuthContext*, const char*); +SQLITE_PRIVATE void sqlite3AuthContextPop(AuthContext*); +SQLITE_PRIVATE int sqlite3AuthReadCol(Parse*, const char *, const char *, int); +#else +# define sqlite3AuthRead(a,b,c,d) +# define sqlite3AuthCheck(a,b,c,d,e) SQLITE_OK +# define sqlite3AuthContextPush(a,b,c) +# define sqlite3AuthContextPop(a) ((void)(a)) +#endif +SQLITE_PRIVATE void sqlite3Attach(Parse*, Expr*, Expr*, Expr*); +SQLITE_PRIVATE void sqlite3Detach(Parse*, Expr*); +SQLITE_PRIVATE void sqlite3FixInit(DbFixer*, Parse*, int, const char*, const Token*); +SQLITE_PRIVATE int sqlite3FixSrcList(DbFixer*, SrcList*); +SQLITE_PRIVATE int sqlite3FixSelect(DbFixer*, Select*); +SQLITE_PRIVATE int sqlite3FixExpr(DbFixer*, Expr*); +SQLITE_PRIVATE int sqlite3FixExprList(DbFixer*, ExprList*); +SQLITE_PRIVATE int sqlite3FixTriggerStep(DbFixer*, TriggerStep*); +SQLITE_PRIVATE int sqlite3RealSameAsInt(double,sqlite3_int64); +SQLITE_PRIVATE int sqlite3AtoF(const char *z, double*, int, u8); +SQLITE_PRIVATE int sqlite3GetInt32(const char *, int*); +SQLITE_PRIVATE int sqlite3Atoi(const char*); +#ifndef SQLITE_OMIT_UTF16 +SQLITE_PRIVATE int sqlite3Utf16ByteLen(const void *pData, int nChar); +#endif +SQLITE_PRIVATE int sqlite3Utf8CharLen(const char *pData, int nByte); +SQLITE_PRIVATE u32 sqlite3Utf8Read(const u8**); +SQLITE_PRIVATE LogEst sqlite3LogEst(u64); +SQLITE_PRIVATE LogEst sqlite3LogEstAdd(LogEst,LogEst); +#ifndef SQLITE_OMIT_VIRTUALTABLE +SQLITE_PRIVATE LogEst sqlite3LogEstFromDouble(double); +#endif +#if defined(SQLITE_ENABLE_STMT_SCANSTATUS) || \ + defined(SQLITE_ENABLE_STAT4) || \ + defined(SQLITE_EXPLAIN_ESTIMATED_ROWS) +SQLITE_PRIVATE u64 sqlite3LogEstToInt(LogEst); +#endif +SQLITE_PRIVATE VList *sqlite3VListAdd(sqlite3*,VList*,const char*,int,int); +SQLITE_PRIVATE const char *sqlite3VListNumToName(VList*,int); +SQLITE_PRIVATE int sqlite3VListNameToNum(VList*,const char*,int); + +/* +** Routines to read and write variable-length integers. These used to +** be defined locally, but now we use the varint routines in the util.c +** file. +*/ +SQLITE_PRIVATE int sqlite3PutVarint(unsigned char*, u64); +SQLITE_PRIVATE u8 sqlite3GetVarint(const unsigned char *, u64 *); +SQLITE_PRIVATE u8 sqlite3GetVarint32(const unsigned char *, u32 *); +SQLITE_PRIVATE int sqlite3VarintLen(u64 v); + +/* +** The common case is for a varint to be a single byte. They following +** macros handle the common case without a procedure call, but then call +** the procedure for larger varints. +*/ +#define getVarint32(A,B) \ + (u8)((*(A)<(u8)0x80)?((B)=(u32)*(A)),1:sqlite3GetVarint32((A),(u32 *)&(B))) +#define putVarint32(A,B) \ + (u8)(((u32)(B)<(u32)0x80)?(*(A)=(unsigned char)(B)),1:\ + sqlite3PutVarint((A),(B))) +#define getVarint sqlite3GetVarint +#define putVarint sqlite3PutVarint + + +SQLITE_PRIVATE const char *sqlite3IndexAffinityStr(sqlite3*, Index*); +SQLITE_PRIVATE void sqlite3TableAffinity(Vdbe*, Table*, int); +SQLITE_PRIVATE char sqlite3CompareAffinity(Expr *pExpr, char aff2); +SQLITE_PRIVATE int sqlite3IndexAffinityOk(Expr *pExpr, char idx_affinity); +SQLITE_PRIVATE char sqlite3TableColumnAffinity(Table*,int); +SQLITE_PRIVATE char sqlite3ExprAffinity(Expr *pExpr); +SQLITE_PRIVATE int sqlite3Atoi64(const char*, i64*, int, u8); +SQLITE_PRIVATE int sqlite3DecOrHexToI64(const char*, i64*); +SQLITE_PRIVATE void sqlite3ErrorWithMsg(sqlite3*, int, const char*,...); +SQLITE_PRIVATE void sqlite3Error(sqlite3*,int); +SQLITE_PRIVATE void sqlite3SystemError(sqlite3*,int); +SQLITE_PRIVATE void *sqlite3HexToBlob(sqlite3*, const char *z, int n); +SQLITE_PRIVATE u8 sqlite3HexToInt(int h); +SQLITE_PRIVATE int sqlite3TwoPartName(Parse *, Token *, Token *, Token **); + +#if defined(SQLITE_NEED_ERR_NAME) +SQLITE_PRIVATE const char *sqlite3ErrName(int); +#endif + +#ifdef SQLITE_ENABLE_DESERIALIZE +SQLITE_PRIVATE int sqlite3MemdbInit(void); +#endif + +SQLITE_PRIVATE const char *sqlite3ErrStr(int); +SQLITE_PRIVATE int sqlite3ReadSchema(Parse *pParse); +SQLITE_PRIVATE CollSeq *sqlite3FindCollSeq(sqlite3*,u8 enc, const char*,int); +SQLITE_PRIVATE int sqlite3IsBinary(const CollSeq*); +SQLITE_PRIVATE CollSeq *sqlite3LocateCollSeq(Parse *pParse, const char*zName); +SQLITE_PRIVATE CollSeq *sqlite3ExprCollSeq(Parse *pParse, Expr *pExpr); +SQLITE_PRIVATE CollSeq *sqlite3ExprNNCollSeq(Parse *pParse, Expr *pExpr); +SQLITE_PRIVATE int sqlite3ExprCollSeqMatch(Parse*,Expr*,Expr*); +SQLITE_PRIVATE Expr *sqlite3ExprAddCollateToken(Parse *pParse, Expr*, const Token*, int); +SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString(Parse*,Expr*,const char*); +SQLITE_PRIVATE Expr *sqlite3ExprSkipCollate(Expr*); +SQLITE_PRIVATE Expr *sqlite3ExprSkipCollateAndLikely(Expr*); +SQLITE_PRIVATE int sqlite3CheckCollSeq(Parse *, CollSeq *); +SQLITE_PRIVATE int sqlite3WritableSchema(sqlite3*); +SQLITE_PRIVATE int sqlite3CheckObjectName(Parse*, const char*,const char*,const char*); +SQLITE_PRIVATE void sqlite3VdbeSetChanges(sqlite3 *, int); +SQLITE_PRIVATE int sqlite3AddInt64(i64*,i64); +SQLITE_PRIVATE int sqlite3SubInt64(i64*,i64); +SQLITE_PRIVATE int sqlite3MulInt64(i64*,i64); +SQLITE_PRIVATE int sqlite3AbsInt32(int); +#ifdef SQLITE_ENABLE_8_3_NAMES +SQLITE_PRIVATE void sqlite3FileSuffix3(const char*, char*); +#else +# define sqlite3FileSuffix3(X,Y) +#endif +SQLITE_PRIVATE u8 sqlite3GetBoolean(const char *z,u8); + +SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3_value*, u8); +SQLITE_PRIVATE int sqlite3ValueBytes(sqlite3_value*, u8); +SQLITE_PRIVATE void sqlite3ValueSetStr(sqlite3_value*, int, const void *,u8, + void(*)(void*)); +SQLITE_PRIVATE void sqlite3ValueSetNull(sqlite3_value*); +SQLITE_PRIVATE void sqlite3ValueFree(sqlite3_value*); +#ifndef SQLITE_UNTESTABLE +SQLITE_PRIVATE void sqlite3ResultIntReal(sqlite3_context*); +#endif +SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3 *); +#ifndef SQLITE_OMIT_UTF16 +SQLITE_PRIVATE char *sqlite3Utf16to8(sqlite3 *, const void*, int, u8); +#endif +SQLITE_PRIVATE int sqlite3ValueFromExpr(sqlite3 *, Expr *, u8, u8, sqlite3_value **); +SQLITE_PRIVATE void sqlite3ValueApplyAffinity(sqlite3_value *, u8, u8); +#ifndef SQLITE_AMALGAMATION +SQLITE_PRIVATE const unsigned char sqlite3OpcodeProperty[]; +SQLITE_PRIVATE const char sqlite3StrBINARY[]; +SQLITE_PRIVATE const unsigned char sqlite3UpperToLower[]; +SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[]; +SQLITE_PRIVATE SQLITE_WSD struct Sqlite3Config sqlite3Config; +SQLITE_PRIVATE FuncDefHash sqlite3BuiltinFunctions; +#ifndef SQLITE_OMIT_WSD +SQLITE_PRIVATE int sqlite3PendingByte; +#endif +#endif +#ifdef VDBE_PROFILE +SQLITE_PRIVATE sqlite3_uint64 sqlite3NProfileCnt; +#endif +SQLITE_PRIVATE void sqlite3RootPageMoved(sqlite3*, int, int, int); +SQLITE_PRIVATE void sqlite3Reindex(Parse*, Token*, Token*); +SQLITE_PRIVATE void sqlite3AlterFunctions(void); +SQLITE_PRIVATE void sqlite3AlterRenameTable(Parse*, SrcList*, Token*); +SQLITE_PRIVATE void sqlite3AlterRenameColumn(Parse*, SrcList*, Token*, Token*); +SQLITE_PRIVATE int sqlite3GetToken(const unsigned char *, int *); +SQLITE_PRIVATE void sqlite3NestedParse(Parse*, const char*, ...); +SQLITE_PRIVATE void sqlite3ExpirePreparedStatements(sqlite3*, int); +SQLITE_PRIVATE void sqlite3CodeRhsOfIN(Parse*, Expr*, int); +SQLITE_PRIVATE int sqlite3CodeSubselect(Parse*, Expr*); +SQLITE_PRIVATE void sqlite3SelectPrep(Parse*, Select*, NameContext*); +SQLITE_PRIVATE void sqlite3SelectWrongNumTermsError(Parse *pParse, Select *p); +SQLITE_PRIVATE int sqlite3MatchSpanName(const char*, const char*, const char*, const char*); +SQLITE_PRIVATE int sqlite3ResolveExprNames(NameContext*, Expr*); +SQLITE_PRIVATE int sqlite3ResolveExprListNames(NameContext*, ExprList*); +SQLITE_PRIVATE void sqlite3ResolveSelectNames(Parse*, Select*, NameContext*); +SQLITE_PRIVATE int sqlite3ResolveSelfReference(Parse*,Table*,int,Expr*,ExprList*); +SQLITE_PRIVATE int sqlite3ResolveOrderGroupBy(Parse*, Select*, ExprList*, const char*); +SQLITE_PRIVATE void sqlite3ColumnDefault(Vdbe *, Table *, int, int); +SQLITE_PRIVATE void sqlite3AlterFinishAddColumn(Parse *, Token *); +SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(Parse *, SrcList *); +SQLITE_PRIVATE void *sqlite3RenameTokenMap(Parse*, void*, Token*); +SQLITE_PRIVATE void sqlite3RenameTokenRemap(Parse*, void *pTo, void *pFrom); +SQLITE_PRIVATE void sqlite3RenameExprUnmap(Parse*, Expr*); +SQLITE_PRIVATE void sqlite3RenameExprlistUnmap(Parse*, ExprList*); +SQLITE_PRIVATE CollSeq *sqlite3GetCollSeq(Parse*, u8, CollSeq *, const char*); +SQLITE_PRIVATE char sqlite3AffinityType(const char*, Column*); +SQLITE_PRIVATE void sqlite3Analyze(Parse*, Token*, Token*); +SQLITE_PRIVATE int sqlite3InvokeBusyHandler(BusyHandler*, sqlite3_file*); +SQLITE_PRIVATE int sqlite3FindDb(sqlite3*, Token*); +SQLITE_PRIVATE int sqlite3FindDbName(sqlite3 *, const char *); +SQLITE_PRIVATE int sqlite3AnalysisLoad(sqlite3*,int iDB); +SQLITE_PRIVATE void sqlite3DeleteIndexSamples(sqlite3*,Index*); +SQLITE_PRIVATE void sqlite3DefaultRowEst(Index*); +SQLITE_PRIVATE void sqlite3RegisterLikeFunctions(sqlite3*, int); +SQLITE_PRIVATE int sqlite3IsLikeFunction(sqlite3*,Expr*,int*,char*); +SQLITE_PRIVATE void sqlite3SchemaClear(void *); +SQLITE_PRIVATE Schema *sqlite3SchemaGet(sqlite3 *, Btree *); +SQLITE_PRIVATE int sqlite3SchemaToIndex(sqlite3 *db, Schema *); +SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoAlloc(sqlite3*,int,int); +SQLITE_PRIVATE void sqlite3KeyInfoUnref(KeyInfo*); +SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoRef(KeyInfo*); +SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoOfIndex(Parse*, Index*); +SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoFromExprList(Parse*, ExprList*, int, int); +SQLITE_PRIVATE int sqlite3HasExplicitNulls(Parse*, ExprList*); + +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE int sqlite3KeyInfoIsWriteable(KeyInfo*); +#endif +SQLITE_PRIVATE int sqlite3CreateFunc(sqlite3 *, const char *, int, int, void *, + void (*)(sqlite3_context*,int,sqlite3_value **), + void (*)(sqlite3_context*,int,sqlite3_value **), + void (*)(sqlite3_context*), + void (*)(sqlite3_context*), + void (*)(sqlite3_context*,int,sqlite3_value **), + FuncDestructor *pDestructor +); +SQLITE_PRIVATE void sqlite3NoopDestructor(void*); +SQLITE_PRIVATE void sqlite3OomFault(sqlite3*); +SQLITE_PRIVATE void sqlite3OomClear(sqlite3*); +SQLITE_PRIVATE int sqlite3ApiExit(sqlite3 *db, int); +SQLITE_PRIVATE int sqlite3OpenTempDatabase(Parse *); + +SQLITE_PRIVATE void sqlite3StrAccumInit(StrAccum*, sqlite3*, char*, int, int); +SQLITE_PRIVATE char *sqlite3StrAccumFinish(StrAccum*); +SQLITE_PRIVATE void sqlite3SelectDestInit(SelectDest*,int,int); +SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *, SrcList *, int, int); + +SQLITE_PRIVATE void sqlite3BackupRestart(sqlite3_backup *); +SQLITE_PRIVATE void sqlite3BackupUpdate(sqlite3_backup *, Pgno, const u8 *); + +#ifndef SQLITE_OMIT_SUBQUERY +SQLITE_PRIVATE int sqlite3ExprCheckIN(Parse*, Expr*); +#else +# define sqlite3ExprCheckIN(x,y) SQLITE_OK +#endif + +#ifdef SQLITE_ENABLE_STAT4 +SQLITE_PRIVATE int sqlite3Stat4ProbeSetValue( + Parse*,Index*,UnpackedRecord**,Expr*,int,int,int*); +SQLITE_PRIVATE int sqlite3Stat4ValueFromExpr(Parse*, Expr*, u8, sqlite3_value**); +SQLITE_PRIVATE void sqlite3Stat4ProbeFree(UnpackedRecord*); +SQLITE_PRIVATE int sqlite3Stat4Column(sqlite3*, const void*, int, int, sqlite3_value**); +SQLITE_PRIVATE char sqlite3IndexColumnAffinity(sqlite3*, Index*, int); +#endif + +/* +** The interface to the LEMON-generated parser +*/ +#ifndef SQLITE_AMALGAMATION +SQLITE_PRIVATE void *sqlite3ParserAlloc(void*(*)(u64), Parse*); +SQLITE_PRIVATE void sqlite3ParserFree(void*, void(*)(void*)); +#endif +SQLITE_PRIVATE void sqlite3Parser(void*, int, Token); +SQLITE_PRIVATE int sqlite3ParserFallback(int); +#ifdef YYTRACKMAXSTACKDEPTH +SQLITE_PRIVATE int sqlite3ParserStackPeak(void*); +#endif + +SQLITE_PRIVATE void sqlite3AutoLoadExtensions(sqlite3*); +#ifndef SQLITE_OMIT_LOAD_EXTENSION +SQLITE_PRIVATE void sqlite3CloseExtensions(sqlite3*); +#else +# define sqlite3CloseExtensions(X) +#endif + +#ifndef SQLITE_OMIT_SHARED_CACHE +SQLITE_PRIVATE void sqlite3TableLock(Parse *, int, int, u8, const char *); +#else + #define sqlite3TableLock(v,w,x,y,z) +#endif + +#ifdef SQLITE_TEST +SQLITE_PRIVATE int sqlite3Utf8To8(unsigned char*); +#endif + +#ifdef SQLITE_OMIT_VIRTUALTABLE +# define sqlite3VtabClear(Y) +# define sqlite3VtabSync(X,Y) SQLITE_OK +# define sqlite3VtabRollback(X) +# define sqlite3VtabCommit(X) +# define sqlite3VtabInSync(db) 0 +# define sqlite3VtabLock(X) +# define sqlite3VtabUnlock(X) +# define sqlite3VtabModuleUnref(D,X) +# define sqlite3VtabUnlockList(X) +# define sqlite3VtabSavepoint(X, Y, Z) SQLITE_OK +# define sqlite3GetVTable(X,Y) ((VTable*)0) +#else +SQLITE_PRIVATE void sqlite3VtabClear(sqlite3 *db, Table*); +SQLITE_PRIVATE void sqlite3VtabDisconnect(sqlite3 *db, Table *p); +SQLITE_PRIVATE int sqlite3VtabSync(sqlite3 *db, Vdbe*); +SQLITE_PRIVATE int sqlite3VtabRollback(sqlite3 *db); +SQLITE_PRIVATE int sqlite3VtabCommit(sqlite3 *db); +SQLITE_PRIVATE void sqlite3VtabLock(VTable *); +SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *); +SQLITE_PRIVATE void sqlite3VtabModuleUnref(sqlite3*,Module*); +SQLITE_PRIVATE void sqlite3VtabUnlockList(sqlite3*); +SQLITE_PRIVATE int sqlite3VtabSavepoint(sqlite3 *, int, int); +SQLITE_PRIVATE void sqlite3VtabImportErrmsg(Vdbe*, sqlite3_vtab*); +SQLITE_PRIVATE VTable *sqlite3GetVTable(sqlite3*, Table*); +SQLITE_PRIVATE Module *sqlite3VtabCreateModule( + sqlite3*, + const char*, + const sqlite3_module*, + void*, + void(*)(void*) + ); +# define sqlite3VtabInSync(db) ((db)->nVTrans>0 && (db)->aVTrans==0) +#endif +SQLITE_PRIVATE int sqlite3VtabEponymousTableInit(Parse*,Module*); +SQLITE_PRIVATE void sqlite3VtabEponymousTableClear(sqlite3*,Module*); +SQLITE_PRIVATE void sqlite3VtabMakeWritable(Parse*,Table*); +SQLITE_PRIVATE void sqlite3VtabBeginParse(Parse*, Token*, Token*, Token*, int); +SQLITE_PRIVATE void sqlite3VtabFinishParse(Parse*, Token*); +SQLITE_PRIVATE void sqlite3VtabArgInit(Parse*); +SQLITE_PRIVATE void sqlite3VtabArgExtend(Parse*, Token*); +SQLITE_PRIVATE int sqlite3VtabCallCreate(sqlite3*, int, const char *, char **); +SQLITE_PRIVATE int sqlite3VtabCallConnect(Parse*, Table*); +SQLITE_PRIVATE int sqlite3VtabCallDestroy(sqlite3*, int, const char *); +SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *, VTable *); +SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(sqlite3 *,FuncDef*, int nArg, Expr*); +SQLITE_PRIVATE sqlite3_int64 sqlite3StmtCurrentTime(sqlite3_context*); +SQLITE_PRIVATE int sqlite3VdbeParameterIndex(Vdbe*, const char*, int); +SQLITE_PRIVATE int sqlite3TransferBindings(sqlite3_stmt *, sqlite3_stmt *); +SQLITE_PRIVATE void sqlite3ParserReset(Parse*); +#ifdef SQLITE_ENABLE_NORMALIZE +SQLITE_PRIVATE char *sqlite3Normalize(Vdbe*, const char*); +#endif +SQLITE_PRIVATE int sqlite3Reprepare(Vdbe*); +SQLITE_PRIVATE void sqlite3ExprListCheckLength(Parse*, ExprList*, const char*); +SQLITE_PRIVATE CollSeq *sqlite3BinaryCompareCollSeq(Parse *, Expr *, Expr *); +SQLITE_PRIVATE int sqlite3TempInMemory(const sqlite3*); +SQLITE_PRIVATE const char *sqlite3JournalModename(int); +#ifndef SQLITE_OMIT_WAL +SQLITE_PRIVATE int sqlite3Checkpoint(sqlite3*, int, int, int*, int*); +SQLITE_PRIVATE int sqlite3WalDefaultHook(void*,sqlite3*,const char*,int); +#endif +#ifndef SQLITE_OMIT_CTE +SQLITE_PRIVATE With *sqlite3WithAdd(Parse*,With*,Token*,ExprList*,Select*); +SQLITE_PRIVATE void sqlite3WithDelete(sqlite3*,With*); +SQLITE_PRIVATE void sqlite3WithPush(Parse*, With*, u8); +#else +#define sqlite3WithPush(x,y,z) +#define sqlite3WithDelete(x,y) +#endif +#ifndef SQLITE_OMIT_UPSERT +SQLITE_PRIVATE Upsert *sqlite3UpsertNew(sqlite3*,ExprList*,Expr*,ExprList*,Expr*); +SQLITE_PRIVATE void sqlite3UpsertDelete(sqlite3*,Upsert*); +SQLITE_PRIVATE Upsert *sqlite3UpsertDup(sqlite3*,Upsert*); +SQLITE_PRIVATE int sqlite3UpsertAnalyzeTarget(Parse*,SrcList*,Upsert*); +SQLITE_PRIVATE void sqlite3UpsertDoUpdate(Parse*,Upsert*,Table*,Index*,int); +#else +#define sqlite3UpsertNew(v,w,x,y,z) ((Upsert*)0) +#define sqlite3UpsertDelete(x,y) +#define sqlite3UpsertDup(x,y) ((Upsert*)0) +#endif + + +/* Declarations for functions in fkey.c. All of these are replaced by +** no-op macros if OMIT_FOREIGN_KEY is defined. In this case no foreign +** key functionality is available. If OMIT_TRIGGER is defined but +** OMIT_FOREIGN_KEY is not, only some of the functions are no-oped. In +** this case foreign keys are parsed, but no other functionality is +** provided (enforcement of FK constraints requires the triggers sub-system). +*/ +#if !defined(SQLITE_OMIT_FOREIGN_KEY) && !defined(SQLITE_OMIT_TRIGGER) +SQLITE_PRIVATE void sqlite3FkCheck(Parse*, Table*, int, int, int*, int); +SQLITE_PRIVATE void sqlite3FkDropTable(Parse*, SrcList *, Table*); +SQLITE_PRIVATE void sqlite3FkActions(Parse*, Table*, ExprList*, int, int*, int); +SQLITE_PRIVATE int sqlite3FkRequired(Parse*, Table*, int*, int); +SQLITE_PRIVATE u32 sqlite3FkOldmask(Parse*, Table*); +SQLITE_PRIVATE FKey *sqlite3FkReferences(Table *); +#else + #define sqlite3FkActions(a,b,c,d,e,f) + #define sqlite3FkCheck(a,b,c,d,e,f) + #define sqlite3FkDropTable(a,b,c) + #define sqlite3FkOldmask(a,b) 0 + #define sqlite3FkRequired(a,b,c,d) 0 + #define sqlite3FkReferences(a) 0 +#endif +#ifndef SQLITE_OMIT_FOREIGN_KEY +SQLITE_PRIVATE void sqlite3FkDelete(sqlite3 *, Table*); +SQLITE_PRIVATE int sqlite3FkLocateIndex(Parse*,Table*,FKey*,Index**,int**); +#else + #define sqlite3FkDelete(a,b) + #define sqlite3FkLocateIndex(a,b,c,d,e) +#endif + + +/* +** Available fault injectors. Should be numbered beginning with 0. +*/ +#define SQLITE_FAULTINJECTOR_MALLOC 0 +#define SQLITE_FAULTINJECTOR_COUNT 1 + +/* +** The interface to the code in fault.c used for identifying "benign" +** malloc failures. This is only present if SQLITE_UNTESTABLE +** is not defined. +*/ +#ifndef SQLITE_UNTESTABLE +SQLITE_PRIVATE void sqlite3BeginBenignMalloc(void); +SQLITE_PRIVATE void sqlite3EndBenignMalloc(void); +#else + #define sqlite3BeginBenignMalloc() + #define sqlite3EndBenignMalloc() +#endif + +/* +** Allowed return values from sqlite3FindInIndex() +*/ +#define IN_INDEX_ROWID 1 /* Search the rowid of the table */ +#define IN_INDEX_EPH 2 /* Search an ephemeral b-tree */ +#define IN_INDEX_INDEX_ASC 3 /* Existing index ASCENDING */ +#define IN_INDEX_INDEX_DESC 4 /* Existing index DESCENDING */ +#define IN_INDEX_NOOP 5 /* No table available. Use comparisons */ +/* +** Allowed flags for the 3rd parameter to sqlite3FindInIndex(). +*/ +#define IN_INDEX_NOOP_OK 0x0001 /* OK to return IN_INDEX_NOOP */ +#define IN_INDEX_MEMBERSHIP 0x0002 /* IN operator used for membership test */ +#define IN_INDEX_LOOP 0x0004 /* IN operator used as a loop */ +SQLITE_PRIVATE int sqlite3FindInIndex(Parse *, Expr *, u32, int*, int*, int*); + +SQLITE_PRIVATE int sqlite3JournalOpen(sqlite3_vfs *, const char *, sqlite3_file *, int, int); +SQLITE_PRIVATE int sqlite3JournalSize(sqlite3_vfs *); +#if defined(SQLITE_ENABLE_ATOMIC_WRITE) \ + || defined(SQLITE_ENABLE_BATCH_ATOMIC_WRITE) +SQLITE_PRIVATE int sqlite3JournalCreate(sqlite3_file *); +#endif + +SQLITE_PRIVATE int sqlite3JournalIsInMemory(sqlite3_file *p); +SQLITE_PRIVATE void sqlite3MemJournalOpen(sqlite3_file *); + +SQLITE_PRIVATE void sqlite3ExprSetHeightAndFlags(Parse *pParse, Expr *p); +#if SQLITE_MAX_EXPR_DEPTH>0 +SQLITE_PRIVATE int sqlite3SelectExprHeight(Select *); +SQLITE_PRIVATE int sqlite3ExprCheckHeight(Parse*, int); +#else + #define sqlite3SelectExprHeight(x) 0 + #define sqlite3ExprCheckHeight(x,y) +#endif + +SQLITE_PRIVATE u32 sqlite3Get4byte(const u8*); +SQLITE_PRIVATE void sqlite3Put4byte(u8*, u32); + +#ifdef SQLITE_ENABLE_UNLOCK_NOTIFY +SQLITE_PRIVATE void sqlite3ConnectionBlocked(sqlite3 *, sqlite3 *); +SQLITE_PRIVATE void sqlite3ConnectionUnlocked(sqlite3 *db); +SQLITE_PRIVATE void sqlite3ConnectionClosed(sqlite3 *db); +#else + #define sqlite3ConnectionBlocked(x,y) + #define sqlite3ConnectionUnlocked(x) + #define sqlite3ConnectionClosed(x) +#endif + +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE void sqlite3ParserTrace(FILE*, char *); +#endif +#if defined(YYCOVERAGE) +SQLITE_PRIVATE int sqlite3ParserCoverage(FILE*); +#endif + +/* +** If the SQLITE_ENABLE IOTRACE exists then the global variable +** sqlite3IoTrace is a pointer to a printf-like routine used to +** print I/O tracing messages. +*/ +#ifdef SQLITE_ENABLE_IOTRACE +# define IOTRACE(A) if( sqlite3IoTrace ){ sqlite3IoTrace A; } +SQLITE_PRIVATE void sqlite3VdbeIOTraceSql(Vdbe*); +SQLITE_API SQLITE_EXTERN void (SQLITE_CDECL *sqlite3IoTrace)(const char*,...); +#else +# define IOTRACE(A) +# define sqlite3VdbeIOTraceSql(X) +#endif + +/* +** These routines are available for the mem2.c debugging memory allocator +** only. They are used to verify that different "types" of memory +** allocations are properly tracked by the system. +** +** sqlite3MemdebugSetType() sets the "type" of an allocation to one of +** the MEMTYPE_* macros defined below. The type must be a bitmask with +** a single bit set. +** +** sqlite3MemdebugHasType() returns true if any of the bits in its second +** argument match the type set by the previous sqlite3MemdebugSetType(). +** sqlite3MemdebugHasType() is intended for use inside assert() statements. +** +** sqlite3MemdebugNoType() returns true if none of the bits in its second +** argument match the type set by the previous sqlite3MemdebugSetType(). +** +** Perhaps the most important point is the difference between MEMTYPE_HEAP +** and MEMTYPE_LOOKASIDE. If an allocation is MEMTYPE_LOOKASIDE, that means +** it might have been allocated by lookaside, except the allocation was +** too large or lookaside was already full. It is important to verify +** that allocations that might have been satisfied by lookaside are not +** passed back to non-lookaside free() routines. Asserts such as the +** example above are placed on the non-lookaside free() routines to verify +** this constraint. +** +** All of this is no-op for a production build. It only comes into +** play when the SQLITE_MEMDEBUG compile-time option is used. +*/ +#ifdef SQLITE_MEMDEBUG +SQLITE_PRIVATE void sqlite3MemdebugSetType(void*,u8); +SQLITE_PRIVATE int sqlite3MemdebugHasType(void*,u8); +SQLITE_PRIVATE int sqlite3MemdebugNoType(void*,u8); +#else +# define sqlite3MemdebugSetType(X,Y) /* no-op */ +# define sqlite3MemdebugHasType(X,Y) 1 +# define sqlite3MemdebugNoType(X,Y) 1 +#endif +#define MEMTYPE_HEAP 0x01 /* General heap allocations */ +#define MEMTYPE_LOOKASIDE 0x02 /* Heap that might have been lookaside */ +#define MEMTYPE_PCACHE 0x04 /* Page cache allocations */ + +/* +** Threading interface +*/ +#if SQLITE_MAX_WORKER_THREADS>0 +SQLITE_PRIVATE int sqlite3ThreadCreate(SQLiteThread**,void*(*)(void*),void*); +SQLITE_PRIVATE int sqlite3ThreadJoin(SQLiteThread*, void**); +#endif + +#if defined(SQLITE_ENABLE_DBPAGE_VTAB) || defined(SQLITE_TEST) +SQLITE_PRIVATE int sqlite3DbpageRegister(sqlite3*); +#endif +#if defined(SQLITE_ENABLE_DBSTAT_VTAB) || defined(SQLITE_TEST) +SQLITE_PRIVATE int sqlite3DbstatRegister(sqlite3*); +#endif + +SQLITE_PRIVATE int sqlite3ExprVectorSize(Expr *pExpr); +SQLITE_PRIVATE int sqlite3ExprIsVector(Expr *pExpr); +SQLITE_PRIVATE Expr *sqlite3VectorFieldSubexpr(Expr*, int); +SQLITE_PRIVATE Expr *sqlite3ExprForVectorField(Parse*,Expr*,int); +SQLITE_PRIVATE void sqlite3VectorErrorMsg(Parse*, Expr*); + +#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS +SQLITE_PRIVATE const char **sqlite3CompileOptions(int *pnOpt); +#endif + +#endif /* SQLITEINT_H */ + +/************** End of sqliteInt.h *******************************************/ +/************** Begin file global.c ******************************************/ +/* +** 2008 June 13 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains definitions of global variables and constants. +*/ +/* #include "sqliteInt.h" */ + +/* An array to map all upper-case characters into their corresponding +** lower-case character. +** +** SQLite only considers US-ASCII (or EBCDIC) characters. We do not +** handle case conversions for the UTF character set since the tables +** involved are nearly as big or bigger than SQLite itself. +*/ +SQLITE_PRIVATE const unsigned char sqlite3UpperToLower[] = { +#ifdef SQLITE_ASCII + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, + 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, + 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, + 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 97, 98, 99,100,101,102,103, + 104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121, + 122, 91, 92, 93, 94, 95, 96, 97, 98, 99,100,101,102,103,104,105,106,107, + 108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125, + 126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143, + 144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161, + 162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179, + 180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197, + 198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215, + 216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233, + 234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251, + 252,253,254,255 +#endif +#ifdef SQLITE_EBCDIC + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, /* 0x */ + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, /* 1x */ + 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, /* 2x */ + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, /* 3x */ + 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, /* 4x */ + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, /* 5x */ + 96, 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111, /* 6x */ + 112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127, /* 7x */ + 128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143, /* 8x */ + 144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159, /* 9x */ + 160,161,162,163,164,165,166,167,168,169,170,171,140,141,142,175, /* Ax */ + 176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191, /* Bx */ + 192,129,130,131,132,133,134,135,136,137,202,203,204,205,206,207, /* Cx */ + 208,145,146,147,148,149,150,151,152,153,218,219,220,221,222,223, /* Dx */ + 224,225,162,163,164,165,166,167,168,169,234,235,236,237,238,239, /* Ex */ + 240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255, /* Fx */ +#endif +}; + +/* +** The following 256 byte lookup table is used to support SQLites built-in +** equivalents to the following standard library functions: +** +** isspace() 0x01 +** isalpha() 0x02 +** isdigit() 0x04 +** isalnum() 0x06 +** isxdigit() 0x08 +** toupper() 0x20 +** SQLite identifier character 0x40 +** Quote character 0x80 +** +** Bit 0x20 is set if the mapped character requires translation to upper +** case. i.e. if the character is a lower-case ASCII character. +** If x is a lower-case ASCII character, then its upper-case equivalent +** is (x - 0x20). Therefore toupper() can be implemented as: +** +** (x & ~(map[x]&0x20)) +** +** The equivalent of tolower() is implemented using the sqlite3UpperToLower[] +** array. tolower() is used more often than toupper() by SQLite. +** +** Bit 0x40 is set if the character is non-alphanumeric and can be used in an +** SQLite identifier. Identifiers are alphanumerics, "_", "$", and any +** non-ASCII UTF character. Hence the test for whether or not a character is +** part of an identifier is 0x46. +*/ +#ifdef SQLITE_ASCII +SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[256] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 00..07 ........ */ + 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, /* 08..0f ........ */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 10..17 ........ */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 18..1f ........ */ + 0x01, 0x00, 0x80, 0x00, 0x40, 0x00, 0x00, 0x80, /* 20..27 !"#$%&' */ + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 28..2f ()*+,-./ */ + 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, /* 30..37 01234567 */ + 0x0c, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 38..3f 89:;<=>? */ + + 0x00, 0x0a, 0x0a, 0x0a, 0x0a, 0x0a, 0x0a, 0x02, /* 40..47 @ABCDEFG */ + 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, /* 48..4f HIJKLMNO */ + 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, /* 50..57 PQRSTUVW */ + 0x02, 0x02, 0x02, 0x80, 0x00, 0x00, 0x00, 0x40, /* 58..5f XYZ[\]^_ */ + 0x80, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x22, /* 60..67 `abcdefg */ + 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, /* 68..6f hijklmno */ + 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, /* 70..77 pqrstuvw */ + 0x22, 0x22, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, /* 78..7f xyz{|}~. */ + + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* 80..87 ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* 88..8f ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* 90..97 ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* 98..9f ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* a0..a7 ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* a8..af ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* b0..b7 ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* b8..bf ........ */ + + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* c0..c7 ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* c8..cf ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* d0..d7 ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* d8..df ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* e0..e7 ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* e8..ef ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, /* f0..f7 ........ */ + 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40 /* f8..ff ........ */ +}; +#endif + +/* EVIDENCE-OF: R-02982-34736 In order to maintain full backwards +** compatibility for legacy applications, the URI filename capability is +** disabled by default. +** +** EVIDENCE-OF: R-38799-08373 URI filenames can be enabled or disabled +** using the SQLITE_USE_URI=1 or SQLITE_USE_URI=0 compile-time options. +** +** EVIDENCE-OF: R-43642-56306 By default, URI handling is globally +** disabled. The default value may be changed by compiling with the +** SQLITE_USE_URI symbol defined. +** +** URI filenames are enabled by default if SQLITE_HAS_CODEC is +** enabled. +*/ +#ifndef SQLITE_USE_URI +# ifdef SQLITE_HAS_CODEC +# define SQLITE_USE_URI 1 +# else +# define SQLITE_USE_URI 0 +# endif +#endif + +/* EVIDENCE-OF: R-38720-18127 The default setting is determined by the +** SQLITE_ALLOW_COVERING_INDEX_SCAN compile-time option, or is "on" if +** that compile-time option is omitted. +*/ +#if !defined(SQLITE_ALLOW_COVERING_INDEX_SCAN) +# define SQLITE_ALLOW_COVERING_INDEX_SCAN 1 +#else +# if !SQLITE_ALLOW_COVERING_INDEX_SCAN +# error "Compile-time disabling of covering index scan using the\ + -DSQLITE_ALLOW_COVERING_INDEX_SCAN=0 option is deprecated.\ + Contact SQLite developers if this is a problem for you, and\ + delete this #error macro to continue with your build." +# endif +#endif + +/* The minimum PMA size is set to this value multiplied by the database +** page size in bytes. +*/ +#ifndef SQLITE_SORTER_PMASZ +# define SQLITE_SORTER_PMASZ 250 +#endif + +/* Statement journals spill to disk when their size exceeds the following +** threshold (in bytes). 0 means that statement journals are created and +** written to disk immediately (the default behavior for SQLite versions +** before 3.12.0). -1 means always keep the entire statement journal in +** memory. (The statement journal is also always held entirely in memory +** if journal_mode=MEMORY or if temp_store=MEMORY, regardless of this +** setting.) +*/ +#ifndef SQLITE_STMTJRNL_SPILL +# define SQLITE_STMTJRNL_SPILL (64*1024) +#endif + +/* +** The default lookaside-configuration, the format "SZ,N". SZ is the +** number of bytes in each lookaside slot (should be a multiple of 8) +** and N is the number of slots. The lookaside-configuration can be +** changed as start-time using sqlite3_config(SQLITE_CONFIG_LOOKASIDE) +** or at run-time for an individual database connection using +** sqlite3_db_config(db, SQLITE_DBCONFIG_LOOKASIDE); +*/ +#ifndef SQLITE_DEFAULT_LOOKASIDE +# define SQLITE_DEFAULT_LOOKASIDE 1200,100 +#endif + + +/* The default maximum size of an in-memory database created using +** sqlite3_deserialize() +*/ +#ifndef SQLITE_MEMDB_DEFAULT_MAXSIZE +# define SQLITE_MEMDB_DEFAULT_MAXSIZE 1073741824 +#endif + +/* +** The following singleton contains the global configuration for +** the SQLite library. +*/ +SQLITE_PRIVATE SQLITE_WSD struct Sqlite3Config sqlite3Config = { + SQLITE_DEFAULT_MEMSTATUS, /* bMemstat */ + 1, /* bCoreMutex */ + SQLITE_THREADSAFE==1, /* bFullMutex */ + SQLITE_USE_URI, /* bOpenUri */ + SQLITE_ALLOW_COVERING_INDEX_SCAN, /* bUseCis */ + 0, /* bSmallMalloc */ + 1, /* bExtraSchemaChecks */ + 0x7ffffffe, /* mxStrlen */ + 0, /* neverCorrupt */ + SQLITE_DEFAULT_LOOKASIDE, /* szLookaside, nLookaside */ + SQLITE_STMTJRNL_SPILL, /* nStmtSpill */ + {0,0,0,0,0,0,0,0}, /* m */ + {0,0,0,0,0,0,0,0,0}, /* mutex */ + {0,0,0,0,0,0,0,0,0,0,0,0,0},/* pcache2 */ + (void*)0, /* pHeap */ + 0, /* nHeap */ + 0, 0, /* mnHeap, mxHeap */ + SQLITE_DEFAULT_MMAP_SIZE, /* szMmap */ + SQLITE_MAX_MMAP_SIZE, /* mxMmap */ + (void*)0, /* pPage */ + 0, /* szPage */ + SQLITE_DEFAULT_PCACHE_INITSZ, /* nPage */ + 0, /* mxParserStack */ + 0, /* sharedCacheEnabled */ + SQLITE_SORTER_PMASZ, /* szPma */ + /* All the rest should always be initialized to zero */ + 0, /* isInit */ + 0, /* inProgress */ + 0, /* isMutexInit */ + 0, /* isMallocInit */ + 0, /* isPCacheInit */ + 0, /* nRefInitMutex */ + 0, /* pInitMutex */ + 0, /* xLog */ + 0, /* pLogArg */ +#ifdef SQLITE_ENABLE_SQLLOG + 0, /* xSqllog */ + 0, /* pSqllogArg */ +#endif +#ifdef SQLITE_VDBE_COVERAGE + 0, /* xVdbeBranch */ + 0, /* pVbeBranchArg */ +#endif +#ifdef SQLITE_ENABLE_DESERIALIZE + SQLITE_MEMDB_DEFAULT_MAXSIZE, /* mxMemdbSize */ +#endif +#ifndef SQLITE_UNTESTABLE + 0, /* xTestCallback */ +#endif + 0, /* bLocaltimeFault */ + 0, /* bInternalFunctions */ + 0x7ffffffe, /* iOnceResetThreshold */ + SQLITE_DEFAULT_SORTERREF_SIZE, /* szSorterRef */ + 0, /* iPrngSeed */ +}; + +/* +** Hash table for global functions - functions common to all +** database connections. After initialization, this table is +** read-only. +*/ +SQLITE_PRIVATE FuncDefHash sqlite3BuiltinFunctions; + +#ifdef VDBE_PROFILE +/* +** The following performance counter can be used in place of +** sqlite3Hwtime() for profiling. This is a no-op on standard builds. +*/ +SQLITE_PRIVATE sqlite3_uint64 sqlite3NProfileCnt = 0; +#endif + +/* +** The value of the "pending" byte must be 0x40000000 (1 byte past the +** 1-gibabyte boundary) in a compatible database. SQLite never uses +** the database page that contains the pending byte. It never attempts +** to read or write that page. The pending byte page is set aside +** for use by the VFS layers as space for managing file locks. +** +** During testing, it is often desirable to move the pending byte to +** a different position in the file. This allows code that has to +** deal with the pending byte to run on files that are much smaller +** than 1 GiB. The sqlite3_test_control() interface can be used to +** move the pending byte. +** +** IMPORTANT: Changing the pending byte to any value other than +** 0x40000000 results in an incompatible database file format! +** Changing the pending byte during operation will result in undefined +** and incorrect behavior. +*/ +#ifndef SQLITE_OMIT_WSD +SQLITE_PRIVATE int sqlite3PendingByte = 0x40000000; +#endif + +/* #include "opcodes.h" */ +/* +** Properties of opcodes. The OPFLG_INITIALIZER macro is +** created by mkopcodeh.awk during compilation. Data is obtained +** from the comments following the "case OP_xxxx:" statements in +** the vdbe.c file. +*/ +SQLITE_PRIVATE const unsigned char sqlite3OpcodeProperty[] = OPFLG_INITIALIZER; + +/* +** Name of the default collating sequence +*/ +SQLITE_PRIVATE const char sqlite3StrBINARY[] = "BINARY"; + +/************** End of global.c **********************************************/ +/************** Begin file status.c ******************************************/ +/* +** 2008 June 18 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This module implements the sqlite3_status() interface and related +** functionality. +*/ +/* #include "sqliteInt.h" */ +/************** Include vdbeInt.h in the middle of status.c ******************/ +/************** Begin file vdbeInt.h *****************************************/ +/* +** 2003 September 6 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This is the header file for information that is private to the +** VDBE. This information used to all be at the top of the single +** source code file "vdbe.c". When that file became too big (over +** 6000 lines long) it was split up into several smaller files and +** this header information was factored out. +*/ +#ifndef SQLITE_VDBEINT_H +#define SQLITE_VDBEINT_H + +/* +** The maximum number of times that a statement will try to reparse +** itself before giving up and returning SQLITE_SCHEMA. +*/ +#ifndef SQLITE_MAX_SCHEMA_RETRY +# define SQLITE_MAX_SCHEMA_RETRY 50 +#endif + +/* +** VDBE_DISPLAY_P4 is true or false depending on whether or not the +** "explain" P4 display logic is enabled. +*/ +#if !defined(SQLITE_OMIT_EXPLAIN) || !defined(NDEBUG) \ + || defined(VDBE_PROFILE) || defined(SQLITE_DEBUG) +# define VDBE_DISPLAY_P4 1 +#else +# define VDBE_DISPLAY_P4 0 +#endif + +/* +** SQL is translated into a sequence of instructions to be +** executed by a virtual machine. Each instruction is an instance +** of the following structure. +*/ +typedef struct VdbeOp Op; + +/* +** Boolean values +*/ +typedef unsigned Bool; + +/* Opaque type used by code in vdbesort.c */ +typedef struct VdbeSorter VdbeSorter; + +/* Elements of the linked list at Vdbe.pAuxData */ +typedef struct AuxData AuxData; + +/* Types of VDBE cursors */ +#define CURTYPE_BTREE 0 +#define CURTYPE_SORTER 1 +#define CURTYPE_VTAB 2 +#define CURTYPE_PSEUDO 3 + +/* +** A VdbeCursor is an superclass (a wrapper) for various cursor objects: +** +** * A b-tree cursor +** - In the main database or in an ephemeral database +** - On either an index or a table +** * A sorter +** * A virtual table +** * A one-row "pseudotable" stored in a single register +*/ +typedef struct VdbeCursor VdbeCursor; +struct VdbeCursor { + u8 eCurType; /* One of the CURTYPE_* values above */ + i8 iDb; /* Index of cursor database in db->aDb[] (or -1) */ + u8 nullRow; /* True if pointing to a row with no data */ + u8 deferredMoveto; /* A call to sqlite3BtreeMoveto() is needed */ + u8 isTable; /* True for rowid tables. False for indexes */ +#ifdef SQLITE_DEBUG + u8 seekOp; /* Most recent seek operation on this cursor */ + u8 wrFlag; /* The wrFlag argument to sqlite3BtreeCursor() */ +#endif + Bool isEphemeral:1; /* True for an ephemeral table */ + Bool useRandomRowid:1; /* Generate new record numbers semi-randomly */ + Bool isOrdered:1; /* True if the table is not BTREE_UNORDERED */ + Bool seekHit:1; /* See the OP_SeekHit and OP_IfNoHope opcodes */ + Btree *pBtx; /* Separate file holding temporary table */ + i64 seqCount; /* Sequence counter */ + int *aAltMap; /* Mapping from table to index column numbers */ + + /* Cached OP_Column parse information is only valid if cacheStatus matches + ** Vdbe.cacheCtr. Vdbe.cacheCtr will never take on the value of + ** CACHE_STALE (0) and so setting cacheStatus=CACHE_STALE guarantees that + ** the cache is out of date. */ + u32 cacheStatus; /* Cache is valid if this matches Vdbe.cacheCtr */ + int seekResult; /* Result of previous sqlite3BtreeMoveto() or 0 + ** if there have been no prior seeks on the cursor. */ + /* seekResult does not distinguish between "no seeks have ever occurred + ** on this cursor" and "the most recent seek was an exact match". + ** For CURTYPE_PSEUDO, seekResult is the register holding the record */ + + /* When a new VdbeCursor is allocated, only the fields above are zeroed. + ** The fields that follow are uninitialized, and must be individually + ** initialized prior to first use. */ + VdbeCursor *pAltCursor; /* Associated index cursor from which to read */ + union { + BtCursor *pCursor; /* CURTYPE_BTREE or _PSEUDO. Btree cursor */ + sqlite3_vtab_cursor *pVCur; /* CURTYPE_VTAB. Vtab cursor */ + VdbeSorter *pSorter; /* CURTYPE_SORTER. Sorter object */ + } uc; + KeyInfo *pKeyInfo; /* Info about index keys needed by index cursors */ + u32 iHdrOffset; /* Offset to next unparsed byte of the header */ + Pgno pgnoRoot; /* Root page of the open btree cursor */ + i16 nField; /* Number of fields in the header */ + u16 nHdrParsed; /* Number of header fields parsed so far */ + i64 movetoTarget; /* Argument to the deferred sqlite3BtreeMoveto() */ + u32 *aOffset; /* Pointer to aType[nField] */ + const u8 *aRow; /* Data for the current row, if all on one page */ + u32 payloadSize; /* Total number of bytes in the record */ + u32 szRow; /* Byte available in aRow */ +#ifdef SQLITE_ENABLE_COLUMN_USED_MASK + u64 maskUsed; /* Mask of columns used by this cursor */ +#endif + + /* 2*nField extra array elements allocated for aType[], beyond the one + ** static element declared in the structure. nField total array slots for + ** aType[] and nField+1 array slots for aOffset[] */ + u32 aType[1]; /* Type values record decode. MUST BE LAST */ +}; + + +/* +** A value for VdbeCursor.cacheStatus that means the cache is always invalid. +*/ +#define CACHE_STALE 0 + +/* +** When a sub-program is executed (OP_Program), a structure of this type +** is allocated to store the current value of the program counter, as +** well as the current memory cell array and various other frame specific +** values stored in the Vdbe struct. When the sub-program is finished, +** these values are copied back to the Vdbe from the VdbeFrame structure, +** restoring the state of the VM to as it was before the sub-program +** began executing. +** +** The memory for a VdbeFrame object is allocated and managed by a memory +** cell in the parent (calling) frame. When the memory cell is deleted or +** overwritten, the VdbeFrame object is not freed immediately. Instead, it +** is linked into the Vdbe.pDelFrame list. The contents of the Vdbe.pDelFrame +** list is deleted when the VM is reset in VdbeHalt(). The reason for doing +** this instead of deleting the VdbeFrame immediately is to avoid recursive +** calls to sqlite3VdbeMemRelease() when the memory cells belonging to the +** child frame are released. +** +** The currently executing frame is stored in Vdbe.pFrame. Vdbe.pFrame is +** set to NULL if the currently executing frame is the main program. +*/ +typedef struct VdbeFrame VdbeFrame; +struct VdbeFrame { + Vdbe *v; /* VM this frame belongs to */ + VdbeFrame *pParent; /* Parent of this frame, or NULL if parent is main */ + Op *aOp; /* Program instructions for parent frame */ + i64 *anExec; /* Event counters from parent frame */ + Mem *aMem; /* Array of memory cells for parent frame */ + VdbeCursor **apCsr; /* Array of Vdbe cursors for parent frame */ + u8 *aOnce; /* Bitmask used by OP_Once */ + void *token; /* Copy of SubProgram.token */ + i64 lastRowid; /* Last insert rowid (sqlite3.lastRowid) */ + AuxData *pAuxData; /* Linked list of auxdata allocations */ +#if SQLITE_DEBUG + u32 iFrameMagic; /* magic number for sanity checking */ +#endif + int nCursor; /* Number of entries in apCsr */ + int pc; /* Program Counter in parent (calling) frame */ + int nOp; /* Size of aOp array */ + int nMem; /* Number of entries in aMem */ + int nChildMem; /* Number of memory cells for child frame */ + int nChildCsr; /* Number of cursors for child frame */ + int nChange; /* Statement changes (Vdbe.nChange) */ + int nDbChange; /* Value of db->nChange */ +}; + +/* Magic number for sanity checking on VdbeFrame objects */ +#define SQLITE_FRAME_MAGIC 0x879fb71e + +/* +** Return a pointer to the array of registers allocated for use +** by a VdbeFrame. +*/ +#define VdbeFrameMem(p) ((Mem *)&((u8 *)p)[ROUND8(sizeof(VdbeFrame))]) + +/* +** Internally, the vdbe manipulates nearly all SQL values as Mem +** structures. Each Mem struct may cache multiple representations (string, +** integer etc.) of the same value. +*/ +struct sqlite3_value { + union MemValue { + double r; /* Real value used when MEM_Real is set in flags */ + i64 i; /* Integer value used when MEM_Int is set in flags */ + int nZero; /* Extra zero bytes when MEM_Zero and MEM_Blob set */ + const char *zPType; /* Pointer type when MEM_Term|MEM_Subtype|MEM_Null */ + FuncDef *pDef; /* Used only when flags==MEM_Agg */ + } u; + u16 flags; /* Some combination of MEM_Null, MEM_Str, MEM_Dyn, etc. */ + u8 enc; /* SQLITE_UTF8, SQLITE_UTF16BE, SQLITE_UTF16LE */ + u8 eSubtype; /* Subtype for this value */ + int n; /* Number of characters in string value, excluding '\0' */ + char *z; /* String or BLOB value */ + /* ShallowCopy only needs to copy the information above */ + char *zMalloc; /* Space to hold MEM_Str or MEM_Blob if szMalloc>0 */ + int szMalloc; /* Size of the zMalloc allocation */ + u32 uTemp; /* Transient storage for serial_type in OP_MakeRecord */ + sqlite3 *db; /* The associated database connection */ + void (*xDel)(void*);/* Destructor for Mem.z - only valid if MEM_Dyn */ +#ifdef SQLITE_DEBUG + Mem *pScopyFrom; /* This Mem is a shallow copy of pScopyFrom */ + u16 mScopyFlags; /* flags value immediately after the shallow copy */ +#endif +}; + +/* +** Size of struct Mem not including the Mem.zMalloc member or anything that +** follows. +*/ +#define MEMCELLSIZE offsetof(Mem,zMalloc) + +/* One or more of the following flags are set to indicate the validOK +** representations of the value stored in the Mem struct. +** +** If the MEM_Null flag is set, then the value is an SQL NULL value. +** For a pointer type created using sqlite3_bind_pointer() or +** sqlite3_result_pointer() the MEM_Term and MEM_Subtype flags are also set. +** +** If the MEM_Str flag is set then Mem.z points at a string representation. +** Usually this is encoded in the same unicode encoding as the main +** database (see below for exceptions). If the MEM_Term flag is also +** set, then the string is nul terminated. The MEM_Int and MEM_Real +** flags may coexist with the MEM_Str flag. +*/ +#define MEM_Null 0x0001 /* Value is NULL (or a pointer) */ +#define MEM_Str 0x0002 /* Value is a string */ +#define MEM_Int 0x0004 /* Value is an integer */ +#define MEM_Real 0x0008 /* Value is a real number */ +#define MEM_Blob 0x0010 /* Value is a BLOB */ +#define MEM_IntReal 0x0020 /* MEM_Int that stringifies like MEM_Real */ +#define MEM_AffMask 0x003f /* Mask of affinity bits */ +#define MEM_FromBind 0x0040 /* Value originates from sqlite3_bind() */ +#define MEM_Undefined 0x0080 /* Value is undefined */ +#define MEM_Cleared 0x0100 /* NULL set by OP_Null, not from data */ +#define MEM_TypeMask 0xc1bf /* Mask of type bits */ + + +/* Whenever Mem contains a valid string or blob representation, one of +** the following flags must be set to determine the memory management +** policy for Mem.z. The MEM_Term flag tells us whether or not the +** string is \000 or \u0000 terminated +*/ +#define MEM_Term 0x0200 /* String in Mem.z is zero terminated */ +#define MEM_Dyn 0x0400 /* Need to call Mem.xDel() on Mem.z */ +#define MEM_Static 0x0800 /* Mem.z points to a static string */ +#define MEM_Ephem 0x1000 /* Mem.z points to an ephemeral string */ +#define MEM_Agg 0x2000 /* Mem.z points to an agg function context */ +#define MEM_Zero 0x4000 /* Mem.i contains count of 0s appended to blob */ +#define MEM_Subtype 0x8000 /* Mem.eSubtype is valid */ +#ifdef SQLITE_OMIT_INCRBLOB + #undef MEM_Zero + #define MEM_Zero 0x0000 +#endif + +/* Return TRUE if Mem X contains dynamically allocated content - anything +** that needs to be deallocated to avoid a leak. +*/ +#define VdbeMemDynamic(X) \ + (((X)->flags&(MEM_Agg|MEM_Dyn))!=0) + +/* +** Clear any existing type flags from a Mem and replace them with f +*/ +#define MemSetTypeFlag(p, f) \ + ((p)->flags = ((p)->flags&~(MEM_TypeMask|MEM_Zero))|f) + +/* +** True if Mem X is a NULL-nochng type. +*/ +#define MemNullNochng(X) \ + ((X)->flags==(MEM_Null|MEM_Zero) && (X)->n==0 && (X)->u.nZero==0) + +/* +** Return true if a memory cell is not marked as invalid. This macro +** is for use inside assert() statements only. +*/ +#ifdef SQLITE_DEBUG +#define memIsValid(M) ((M)->flags & MEM_Undefined)==0 +#endif + +/* +** Each auxiliary data pointer stored by a user defined function +** implementation calling sqlite3_set_auxdata() is stored in an instance +** of this structure. All such structures associated with a single VM +** are stored in a linked list headed at Vdbe.pAuxData. All are destroyed +** when the VM is halted (if not before). +*/ +struct AuxData { + int iAuxOp; /* Instruction number of OP_Function opcode */ + int iAuxArg; /* Index of function argument. */ + void *pAux; /* Aux data pointer */ + void (*xDeleteAux)(void*); /* Destructor for the aux data */ + AuxData *pNextAux; /* Next element in list */ +}; + +/* +** The "context" argument for an installable function. A pointer to an +** instance of this structure is the first argument to the routines used +** implement the SQL functions. +** +** There is a typedef for this structure in sqlite.h. So all routines, +** even the public interface to SQLite, can use a pointer to this structure. +** But this file is the only place where the internal details of this +** structure are known. +** +** This structure is defined inside of vdbeInt.h because it uses substructures +** (Mem) which are only defined there. +*/ +struct sqlite3_context { + Mem *pOut; /* The return value is stored here */ + FuncDef *pFunc; /* Pointer to function information */ + Mem *pMem; /* Memory cell used to store aggregate context */ + Vdbe *pVdbe; /* The VM that owns this context */ + int iOp; /* Instruction number of OP_Function */ + int isError; /* Error code returned by the function. */ + u8 skipFlag; /* Skip accumulator loading if true */ + u8 argc; /* Number of arguments */ + sqlite3_value *argv[1]; /* Argument set */ +}; + +/* A bitfield type for use inside of structures. Always follow with :N where +** N is the number of bits. +*/ +typedef unsigned bft; /* Bit Field Type */ + +/* The ScanStatus object holds a single value for the +** sqlite3_stmt_scanstatus() interface. +*/ +typedef struct ScanStatus ScanStatus; +struct ScanStatus { + int addrExplain; /* OP_Explain for loop */ + int addrLoop; /* Address of "loops" counter */ + int addrVisit; /* Address of "rows visited" counter */ + int iSelectID; /* The "Select-ID" for this loop */ + LogEst nEst; /* Estimated output rows per loop */ + char *zName; /* Name of table or index */ +}; + +/* The DblquoteStr object holds the text of a double-quoted +** string for a prepared statement. A linked list of these objects +** is constructed during statement parsing and is held on Vdbe.pDblStr. +** When computing a normalized SQL statement for an SQL statement, that +** list is consulted for each double-quoted identifier to see if the +** identifier should really be a string literal. +*/ +typedef struct DblquoteStr DblquoteStr; +struct DblquoteStr { + DblquoteStr *pNextStr; /* Next string literal in the list */ + char z[8]; /* Dequoted value for the string */ +}; + +/* +** An instance of the virtual machine. This structure contains the complete +** state of the virtual machine. +** +** The "sqlite3_stmt" structure pointer that is returned by sqlite3_prepare() +** is really a pointer to an instance of this structure. +*/ +struct Vdbe { + sqlite3 *db; /* The database connection that owns this statement */ + Vdbe *pPrev,*pNext; /* Linked list of VDBEs with the same Vdbe.db */ + Parse *pParse; /* Parsing context used to create this Vdbe */ + ynVar nVar; /* Number of entries in aVar[] */ + u32 magic; /* Magic number for sanity checking */ + int nMem; /* Number of memory locations currently allocated */ + int nCursor; /* Number of slots in apCsr[] */ + u32 cacheCtr; /* VdbeCursor row cache generation counter */ + int pc; /* The program counter */ + int rc; /* Value to return */ + int nChange; /* Number of db changes made since last reset */ + int iStatement; /* Statement number (or 0 if has no opened stmt) */ + i64 iCurrentTime; /* Value of julianday('now') for this statement */ + i64 nFkConstraint; /* Number of imm. FK constraints this VM */ + i64 nStmtDefCons; /* Number of def. constraints when stmt started */ + i64 nStmtDefImmCons; /* Number of def. imm constraints when stmt started */ + Mem *aMem; /* The memory locations */ + Mem **apArg; /* Arguments to currently executing user function */ + VdbeCursor **apCsr; /* One element of this array for each open cursor */ + Mem *aVar; /* Values for the OP_Variable opcode. */ + + /* When allocating a new Vdbe object, all of the fields below should be + ** initialized to zero or NULL */ + + Op *aOp; /* Space to hold the virtual machine's program */ + int nOp; /* Number of instructions in the program */ + int nOpAlloc; /* Slots allocated for aOp[] */ + Mem *aColName; /* Column names to return */ + Mem *pResultSet; /* Pointer to an array of results */ + char *zErrMsg; /* Error message written here */ + VList *pVList; /* Name of variables */ +#ifndef SQLITE_OMIT_TRACE + i64 startTime; /* Time when query started - used for profiling */ +#endif +#ifdef SQLITE_DEBUG + int rcApp; /* errcode set by sqlite3_result_error_code() */ + u32 nWrite; /* Number of write operations that have occurred */ +#endif + u16 nResColumn; /* Number of columns in one row of the result set */ + u8 errorAction; /* Recovery action to do in case of an error */ + u8 minWriteFileFormat; /* Minimum file format for writable database files */ + u8 prepFlags; /* SQLITE_PREPARE_* flags */ + bft expired:2; /* 1: recompile VM immediately 2: when convenient */ + bft explain:2; /* True if EXPLAIN present on SQL command */ + bft doingRerun:1; /* True if rerunning after an auto-reprepare */ + bft changeCntOn:1; /* True to update the change-counter */ + bft runOnlyOnce:1; /* Automatically expire on reset */ + bft usesStmtJournal:1; /* True if uses a statement journal */ + bft readOnly:1; /* True for statements that do not write */ + bft bIsReader:1; /* True for statements that read */ + yDbMask btreeMask; /* Bitmask of db->aDb[] entries referenced */ + yDbMask lockMask; /* Subset of btreeMask that requires a lock */ + u32 aCounter[7]; /* Counters used by sqlite3_stmt_status() */ + char *zSql; /* Text of the SQL statement that generated this */ +#ifdef SQLITE_ENABLE_NORMALIZE + char *zNormSql; /* Normalization of the associated SQL statement */ + DblquoteStr *pDblStr; /* List of double-quoted string literals */ +#endif + void *pFree; /* Free this when deleting the vdbe */ + VdbeFrame *pFrame; /* Parent frame */ + VdbeFrame *pDelFrame; /* List of frame objects to free on VM reset */ + int nFrame; /* Number of frames in pFrame list */ + u32 expmask; /* Binding to these vars invalidates VM */ + SubProgram *pProgram; /* Linked list of all sub-programs used by VM */ + AuxData *pAuxData; /* Linked list of auxdata allocations */ +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS + i64 *anExec; /* Number of times each op has been executed */ + int nScan; /* Entries in aScan[] */ + ScanStatus *aScan; /* Scan definitions for sqlite3_stmt_scanstatus() */ +#endif +}; + +/* +** The following are allowed values for Vdbe.magic +*/ +#define VDBE_MAGIC_INIT 0x16bceaa5 /* Building a VDBE program */ +#define VDBE_MAGIC_RUN 0x2df20da3 /* VDBE is ready to execute */ +#define VDBE_MAGIC_HALT 0x319c2973 /* VDBE has completed execution */ +#define VDBE_MAGIC_RESET 0x48fa9f76 /* Reset and ready to run again */ +#define VDBE_MAGIC_DEAD 0x5606c3c8 /* The VDBE has been deallocated */ + +/* +** Structure used to store the context required by the +** sqlite3_preupdate_*() API functions. +*/ +struct PreUpdate { + Vdbe *v; + VdbeCursor *pCsr; /* Cursor to read old values from */ + int op; /* One of SQLITE_INSERT, UPDATE, DELETE */ + u8 *aRecord; /* old.* database record */ + KeyInfo keyinfo; + UnpackedRecord *pUnpacked; /* Unpacked version of aRecord[] */ + UnpackedRecord *pNewUnpacked; /* Unpacked version of new.* record */ + int iNewReg; /* Register for new.* values */ + i64 iKey1; /* First key value passed to hook */ + i64 iKey2; /* Second key value passed to hook */ + Mem *aNew; /* Array of new.* values */ + Table *pTab; /* Schema object being upated */ + Index *pPk; /* PK index if pTab is WITHOUT ROWID */ +}; + +/* +** Function prototypes +*/ +SQLITE_PRIVATE void sqlite3VdbeError(Vdbe*, const char *, ...); +SQLITE_PRIVATE void sqlite3VdbeFreeCursor(Vdbe *, VdbeCursor*); +void sqliteVdbePopStack(Vdbe*,int); +SQLITE_PRIVATE int sqlite3VdbeCursorMoveto(VdbeCursor**, int*); +SQLITE_PRIVATE int sqlite3VdbeCursorRestore(VdbeCursor*); +SQLITE_PRIVATE u32 sqlite3VdbeSerialTypeLen(u32); +SQLITE_PRIVATE u8 sqlite3VdbeOneByteSerialTypeLen(u8); +SQLITE_PRIVATE u32 sqlite3VdbeSerialPut(unsigned char*, Mem*, u32); +SQLITE_PRIVATE u32 sqlite3VdbeSerialGet(const unsigned char*, u32, Mem*); +SQLITE_PRIVATE void sqlite3VdbeDeleteAuxData(sqlite3*, AuxData**, int, int); + +int sqlite2BtreeKeyCompare(BtCursor *, const void *, int, int, int *); +SQLITE_PRIVATE int sqlite3VdbeIdxKeyCompare(sqlite3*,VdbeCursor*,UnpackedRecord*,int*); +SQLITE_PRIVATE int sqlite3VdbeIdxRowid(sqlite3*, BtCursor*, i64*); +SQLITE_PRIVATE int sqlite3VdbeExec(Vdbe*); +#ifndef SQLITE_OMIT_EXPLAIN +SQLITE_PRIVATE int sqlite3VdbeList(Vdbe*); +#endif +SQLITE_PRIVATE int sqlite3VdbeHalt(Vdbe*); +SQLITE_PRIVATE int sqlite3VdbeChangeEncoding(Mem *, int); +SQLITE_PRIVATE int sqlite3VdbeMemTooBig(Mem*); +SQLITE_PRIVATE int sqlite3VdbeMemCopy(Mem*, const Mem*); +SQLITE_PRIVATE void sqlite3VdbeMemShallowCopy(Mem*, const Mem*, int); +SQLITE_PRIVATE void sqlite3VdbeMemMove(Mem*, Mem*); +SQLITE_PRIVATE int sqlite3VdbeMemNulTerminate(Mem*); +SQLITE_PRIVATE int sqlite3VdbeMemSetStr(Mem*, const char*, int, u8, void(*)(void*)); +SQLITE_PRIVATE void sqlite3VdbeMemSetInt64(Mem*, i64); +#ifdef SQLITE_OMIT_FLOATING_POINT +# define sqlite3VdbeMemSetDouble sqlite3VdbeMemSetInt64 +#else +SQLITE_PRIVATE void sqlite3VdbeMemSetDouble(Mem*, double); +#endif +SQLITE_PRIVATE void sqlite3VdbeMemSetPointer(Mem*, void*, const char*, void(*)(void*)); +SQLITE_PRIVATE void sqlite3VdbeMemInit(Mem*,sqlite3*,u16); +SQLITE_PRIVATE void sqlite3VdbeMemSetNull(Mem*); +SQLITE_PRIVATE void sqlite3VdbeMemSetZeroBlob(Mem*,int); +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE int sqlite3VdbeMemIsRowSet(const Mem*); +#endif +SQLITE_PRIVATE int sqlite3VdbeMemSetRowSet(Mem*); +SQLITE_PRIVATE int sqlite3VdbeMemMakeWriteable(Mem*); +SQLITE_PRIVATE int sqlite3VdbeMemStringify(Mem*, u8, u8); +SQLITE_PRIVATE i64 sqlite3VdbeIntValue(Mem*); +SQLITE_PRIVATE int sqlite3VdbeMemIntegerify(Mem*); +SQLITE_PRIVATE double sqlite3VdbeRealValue(Mem*); +SQLITE_PRIVATE int sqlite3VdbeBooleanValue(Mem*, int ifNull); +SQLITE_PRIVATE void sqlite3VdbeIntegerAffinity(Mem*); +SQLITE_PRIVATE int sqlite3VdbeMemRealify(Mem*); +SQLITE_PRIVATE int sqlite3VdbeMemNumerify(Mem*); +SQLITE_PRIVATE void sqlite3VdbeMemCast(Mem*,u8,u8); +SQLITE_PRIVATE int sqlite3VdbeMemFromBtree(BtCursor*,u32,u32,Mem*); +SQLITE_PRIVATE void sqlite3VdbeMemRelease(Mem *p); +SQLITE_PRIVATE int sqlite3VdbeMemFinalize(Mem*, FuncDef*); +#ifndef SQLITE_OMIT_WINDOWFUNC +SQLITE_PRIVATE int sqlite3VdbeMemAggValue(Mem*, Mem*, FuncDef*); +#endif +#ifndef SQLITE_OMIT_EXPLAIN +SQLITE_PRIVATE const char *sqlite3OpcodeName(int); +#endif +SQLITE_PRIVATE int sqlite3VdbeMemGrow(Mem *pMem, int n, int preserve); +SQLITE_PRIVATE int sqlite3VdbeMemClearAndResize(Mem *pMem, int n); +SQLITE_PRIVATE int sqlite3VdbeCloseStatement(Vdbe *, int); +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE int sqlite3VdbeFrameIsValid(VdbeFrame*); +#endif +SQLITE_PRIVATE void sqlite3VdbeFrameMemDel(void*); /* Destructor on Mem */ +SQLITE_PRIVATE void sqlite3VdbeFrameDelete(VdbeFrame*); /* Actually deletes the Frame */ +SQLITE_PRIVATE int sqlite3VdbeFrameRestore(VdbeFrame *); +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK +SQLITE_PRIVATE void sqlite3VdbePreUpdateHook(Vdbe*,VdbeCursor*,int,const char*,Table*,i64,int); +#endif +SQLITE_PRIVATE int sqlite3VdbeTransferError(Vdbe *p); + +SQLITE_PRIVATE int sqlite3VdbeSorterInit(sqlite3 *, int, VdbeCursor *); +SQLITE_PRIVATE void sqlite3VdbeSorterReset(sqlite3 *, VdbeSorter *); +SQLITE_PRIVATE void sqlite3VdbeSorterClose(sqlite3 *, VdbeCursor *); +SQLITE_PRIVATE int sqlite3VdbeSorterRowkey(const VdbeCursor *, Mem *); +SQLITE_PRIVATE int sqlite3VdbeSorterNext(sqlite3 *, const VdbeCursor *); +SQLITE_PRIVATE int sqlite3VdbeSorterRewind(const VdbeCursor *, int *); +SQLITE_PRIVATE int sqlite3VdbeSorterWrite(const VdbeCursor *, Mem *); +SQLITE_PRIVATE int sqlite3VdbeSorterCompare(const VdbeCursor *, Mem *, int, int *); + +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE void sqlite3VdbeIncrWriteCounter(Vdbe*, VdbeCursor*); +SQLITE_PRIVATE void sqlite3VdbeAssertAbortable(Vdbe*); +#else +# define sqlite3VdbeIncrWriteCounter(V,C) +# define sqlite3VdbeAssertAbortable(V) +#endif + +#if !defined(SQLITE_OMIT_SHARED_CACHE) +SQLITE_PRIVATE void sqlite3VdbeEnter(Vdbe*); +#else +# define sqlite3VdbeEnter(X) +#endif + +#if !defined(SQLITE_OMIT_SHARED_CACHE) && SQLITE_THREADSAFE>0 +SQLITE_PRIVATE void sqlite3VdbeLeave(Vdbe*); +#else +# define sqlite3VdbeLeave(X) +#endif + +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE void sqlite3VdbeMemAboutToChange(Vdbe*,Mem*); +SQLITE_PRIVATE int sqlite3VdbeCheckMemInvariants(Mem*); +#endif + +#ifndef SQLITE_OMIT_FOREIGN_KEY +SQLITE_PRIVATE int sqlite3VdbeCheckFk(Vdbe *, int); +#else +# define sqlite3VdbeCheckFk(p,i) 0 +#endif + +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE void sqlite3VdbePrintSql(Vdbe*); +SQLITE_PRIVATE void sqlite3VdbeMemPrettyPrint(Mem *pMem, char *zBuf); +#endif +#ifndef SQLITE_OMIT_UTF16 +SQLITE_PRIVATE int sqlite3VdbeMemTranslate(Mem*, u8); +SQLITE_PRIVATE int sqlite3VdbeMemHandleBom(Mem *pMem); +#endif + +#ifndef SQLITE_OMIT_INCRBLOB +SQLITE_PRIVATE int sqlite3VdbeMemExpandBlob(Mem *); + #define ExpandBlob(P) (((P)->flags&MEM_Zero)?sqlite3VdbeMemExpandBlob(P):0) +#else + #define sqlite3VdbeMemExpandBlob(x) SQLITE_OK + #define ExpandBlob(P) SQLITE_OK +#endif + +#endif /* !defined(SQLITE_VDBEINT_H) */ + +/************** End of vdbeInt.h *********************************************/ +/************** Continuing where we left off in status.c *********************/ + +/* +** Variables in which to record status information. +*/ +#if SQLITE_PTRSIZE>4 +typedef sqlite3_int64 sqlite3StatValueType; +#else +typedef u32 sqlite3StatValueType; +#endif +typedef struct sqlite3StatType sqlite3StatType; +static SQLITE_WSD struct sqlite3StatType { + sqlite3StatValueType nowValue[10]; /* Current value */ + sqlite3StatValueType mxValue[10]; /* Maximum value */ +} sqlite3Stat = { {0,}, {0,} }; + +/* +** Elements of sqlite3Stat[] are protected by either the memory allocator +** mutex, or by the pcache1 mutex. The following array determines which. +*/ +static const char statMutex[] = { + 0, /* SQLITE_STATUS_MEMORY_USED */ + 1, /* SQLITE_STATUS_PAGECACHE_USED */ + 1, /* SQLITE_STATUS_PAGECACHE_OVERFLOW */ + 0, /* SQLITE_STATUS_SCRATCH_USED */ + 0, /* SQLITE_STATUS_SCRATCH_OVERFLOW */ + 0, /* SQLITE_STATUS_MALLOC_SIZE */ + 0, /* SQLITE_STATUS_PARSER_STACK */ + 1, /* SQLITE_STATUS_PAGECACHE_SIZE */ + 0, /* SQLITE_STATUS_SCRATCH_SIZE */ + 0, /* SQLITE_STATUS_MALLOC_COUNT */ +}; + + +/* The "wsdStat" macro will resolve to the status information +** state vector. If writable static data is unsupported on the target, +** we have to locate the state vector at run-time. In the more common +** case where writable static data is supported, wsdStat can refer directly +** to the "sqlite3Stat" state vector declared above. +*/ +#ifdef SQLITE_OMIT_WSD +# define wsdStatInit sqlite3StatType *x = &GLOBAL(sqlite3StatType,sqlite3Stat) +# define wsdStat x[0] +#else +# define wsdStatInit +# define wsdStat sqlite3Stat +#endif + +/* +** Return the current value of a status parameter. The caller must +** be holding the appropriate mutex. +*/ +SQLITE_PRIVATE sqlite3_int64 sqlite3StatusValue(int op){ + wsdStatInit; + assert( op>=0 && op=0 && op=0 && op=0 && opwsdStat.mxValue[op] ){ + wsdStat.mxValue[op] = wsdStat.nowValue[op]; + } +} +SQLITE_PRIVATE void sqlite3StatusDown(int op, int N){ + wsdStatInit; + assert( N>=0 ); + assert( op>=0 && op=0 && op=0 ); + newValue = (sqlite3StatValueType)X; + assert( op>=0 && op=0 && opwsdStat.mxValue[op] ){ + wsdStat.mxValue[op] = newValue; + } +} + +/* +** Query status information. +*/ +SQLITE_API int sqlite3_status64( + int op, + sqlite3_int64 *pCurrent, + sqlite3_int64 *pHighwater, + int resetFlag +){ + sqlite3_mutex *pMutex; + wsdStatInit; + if( op<0 || op>=ArraySize(wsdStat.nowValue) ){ + return SQLITE_MISUSE_BKPT; + } +#ifdef SQLITE_ENABLE_API_ARMOR + if( pCurrent==0 || pHighwater==0 ) return SQLITE_MISUSE_BKPT; +#endif + pMutex = statMutex[op] ? sqlite3Pcache1Mutex() : sqlite3MallocMutex(); + sqlite3_mutex_enter(pMutex); + *pCurrent = wsdStat.nowValue[op]; + *pHighwater = wsdStat.mxValue[op]; + if( resetFlag ){ + wsdStat.mxValue[op] = wsdStat.nowValue[op]; + } + sqlite3_mutex_leave(pMutex); + (void)pMutex; /* Prevent warning when SQLITE_THREADSAFE=0 */ + return SQLITE_OK; +} +SQLITE_API int sqlite3_status(int op, int *pCurrent, int *pHighwater, int resetFlag){ + sqlite3_int64 iCur = 0, iHwtr = 0; + int rc; +#ifdef SQLITE_ENABLE_API_ARMOR + if( pCurrent==0 || pHighwater==0 ) return SQLITE_MISUSE_BKPT; +#endif + rc = sqlite3_status64(op, &iCur, &iHwtr, resetFlag); + if( rc==0 ){ + *pCurrent = (int)iCur; + *pHighwater = (int)iHwtr; + } + return rc; +} + +/* +** Return the number of LookasideSlot elements on the linked list +*/ +static u32 countLookasideSlots(LookasideSlot *p){ + u32 cnt = 0; + while( p ){ + p = p->pNext; + cnt++; + } + return cnt; +} + +/* +** Count the number of slots of lookaside memory that are outstanding +*/ +SQLITE_PRIVATE int sqlite3LookasideUsed(sqlite3 *db, int *pHighwater){ + u32 nInit = countLookasideSlots(db->lookaside.pInit); + u32 nFree = countLookasideSlots(db->lookaside.pFree); + if( pHighwater ) *pHighwater = db->lookaside.nSlot - nInit; + return db->lookaside.nSlot - (nInit+nFree); +} + +/* +** Query status information for a single database connection +*/ +SQLITE_API int sqlite3_db_status( + sqlite3 *db, /* The database connection whose status is desired */ + int op, /* Status verb */ + int *pCurrent, /* Write current value here */ + int *pHighwater, /* Write high-water mark here */ + int resetFlag /* Reset high-water mark if true */ +){ + int rc = SQLITE_OK; /* Return code */ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) || pCurrent==0|| pHighwater==0 ){ + return SQLITE_MISUSE_BKPT; + } +#endif + sqlite3_mutex_enter(db->mutex); + switch( op ){ + case SQLITE_DBSTATUS_LOOKASIDE_USED: { + *pCurrent = sqlite3LookasideUsed(db, pHighwater); + if( resetFlag ){ + LookasideSlot *p = db->lookaside.pFree; + if( p ){ + while( p->pNext ) p = p->pNext; + p->pNext = db->lookaside.pInit; + db->lookaside.pInit = db->lookaside.pFree; + db->lookaside.pFree = 0; + } + } + break; + } + + case SQLITE_DBSTATUS_LOOKASIDE_HIT: + case SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE: + case SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL: { + testcase( op==SQLITE_DBSTATUS_LOOKASIDE_HIT ); + testcase( op==SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE ); + testcase( op==SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL ); + assert( (op-SQLITE_DBSTATUS_LOOKASIDE_HIT)>=0 ); + assert( (op-SQLITE_DBSTATUS_LOOKASIDE_HIT)<3 ); + *pCurrent = 0; + *pHighwater = db->lookaside.anStat[op - SQLITE_DBSTATUS_LOOKASIDE_HIT]; + if( resetFlag ){ + db->lookaside.anStat[op - SQLITE_DBSTATUS_LOOKASIDE_HIT] = 0; + } + break; + } + + /* + ** Return an approximation for the amount of memory currently used + ** by all pagers associated with the given database connection. The + ** highwater mark is meaningless and is returned as zero. + */ + case SQLITE_DBSTATUS_CACHE_USED_SHARED: + case SQLITE_DBSTATUS_CACHE_USED: { + int totalUsed = 0; + int i; + sqlite3BtreeEnterAll(db); + for(i=0; inDb; i++){ + Btree *pBt = db->aDb[i].pBt; + if( pBt ){ + Pager *pPager = sqlite3BtreePager(pBt); + int nByte = sqlite3PagerMemUsed(pPager); + if( op==SQLITE_DBSTATUS_CACHE_USED_SHARED ){ + nByte = nByte / sqlite3BtreeConnectionCount(pBt); + } + totalUsed += nByte; + } + } + sqlite3BtreeLeaveAll(db); + *pCurrent = totalUsed; + *pHighwater = 0; + break; + } + + /* + ** *pCurrent gets an accurate estimate of the amount of memory used + ** to store the schema for all databases (main, temp, and any ATTACHed + ** databases. *pHighwater is set to zero. + */ + case SQLITE_DBSTATUS_SCHEMA_USED: { + int i; /* Used to iterate through schemas */ + int nByte = 0; /* Used to accumulate return value */ + + sqlite3BtreeEnterAll(db); + db->pnBytesFreed = &nByte; + for(i=0; inDb; i++){ + Schema *pSchema = db->aDb[i].pSchema; + if( ALWAYS(pSchema!=0) ){ + HashElem *p; + + nByte += sqlite3GlobalConfig.m.xRoundup(sizeof(HashElem)) * ( + pSchema->tblHash.count + + pSchema->trigHash.count + + pSchema->idxHash.count + + pSchema->fkeyHash.count + ); + nByte += sqlite3_msize(pSchema->tblHash.ht); + nByte += sqlite3_msize(pSchema->trigHash.ht); + nByte += sqlite3_msize(pSchema->idxHash.ht); + nByte += sqlite3_msize(pSchema->fkeyHash.ht); + + for(p=sqliteHashFirst(&pSchema->trigHash); p; p=sqliteHashNext(p)){ + sqlite3DeleteTrigger(db, (Trigger*)sqliteHashData(p)); + } + for(p=sqliteHashFirst(&pSchema->tblHash); p; p=sqliteHashNext(p)){ + sqlite3DeleteTable(db, (Table *)sqliteHashData(p)); + } + } + } + db->pnBytesFreed = 0; + sqlite3BtreeLeaveAll(db); + + *pHighwater = 0; + *pCurrent = nByte; + break; + } + + /* + ** *pCurrent gets an accurate estimate of the amount of memory used + ** to store all prepared statements. + ** *pHighwater is set to zero. + */ + case SQLITE_DBSTATUS_STMT_USED: { + struct Vdbe *pVdbe; /* Used to iterate through VMs */ + int nByte = 0; /* Used to accumulate return value */ + + db->pnBytesFreed = &nByte; + for(pVdbe=db->pVdbe; pVdbe; pVdbe=pVdbe->pNext){ + sqlite3VdbeClearObject(db, pVdbe); + sqlite3DbFree(db, pVdbe); + } + db->pnBytesFreed = 0; + + *pHighwater = 0; /* IMP: R-64479-57858 */ + *pCurrent = nByte; + + break; + } + + /* + ** Set *pCurrent to the total cache hits or misses encountered by all + ** pagers the database handle is connected to. *pHighwater is always set + ** to zero. + */ + case SQLITE_DBSTATUS_CACHE_SPILL: + op = SQLITE_DBSTATUS_CACHE_WRITE+1; + /* Fall through into the next case */ + case SQLITE_DBSTATUS_CACHE_HIT: + case SQLITE_DBSTATUS_CACHE_MISS: + case SQLITE_DBSTATUS_CACHE_WRITE:{ + int i; + int nRet = 0; + assert( SQLITE_DBSTATUS_CACHE_MISS==SQLITE_DBSTATUS_CACHE_HIT+1 ); + assert( SQLITE_DBSTATUS_CACHE_WRITE==SQLITE_DBSTATUS_CACHE_HIT+2 ); + + for(i=0; inDb; i++){ + if( db->aDb[i].pBt ){ + Pager *pPager = sqlite3BtreePager(db->aDb[i].pBt); + sqlite3PagerCacheStat(pPager, op, resetFlag, &nRet); + } + } + *pHighwater = 0; /* IMP: R-42420-56072 */ + /* IMP: R-54100-20147 */ + /* IMP: R-29431-39229 */ + *pCurrent = nRet; + break; + } + + /* Set *pCurrent to non-zero if there are unresolved deferred foreign + ** key constraints. Set *pCurrent to zero if all foreign key constraints + ** have been satisfied. The *pHighwater is always set to zero. + */ + case SQLITE_DBSTATUS_DEFERRED_FKS: { + *pHighwater = 0; /* IMP: R-11967-56545 */ + *pCurrent = db->nDeferredImmCons>0 || db->nDeferredCons>0; + break; + } + + default: { + rc = SQLITE_ERROR; + } + } + sqlite3_mutex_leave(db->mutex); + return rc; +} + +/************** End of status.c **********************************************/ +/************** Begin file date.c ********************************************/ +/* +** 2003 October 31 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains the C functions that implement date and time +** functions for SQLite. +** +** There is only one exported symbol in this file - the function +** sqlite3RegisterDateTimeFunctions() found at the bottom of the file. +** All other code has file scope. +** +** SQLite processes all times and dates as julian day numbers. The +** dates and times are stored as the number of days since noon +** in Greenwich on November 24, 4714 B.C. according to the Gregorian +** calendar system. +** +** 1970-01-01 00:00:00 is JD 2440587.5 +** 2000-01-01 00:00:00 is JD 2451544.5 +** +** This implementation requires years to be expressed as a 4-digit number +** which means that only dates between 0000-01-01 and 9999-12-31 can +** be represented, even though julian day numbers allow a much wider +** range of dates. +** +** The Gregorian calendar system is used for all dates and times, +** even those that predate the Gregorian calendar. Historians usually +** use the julian calendar for dates prior to 1582-10-15 and for some +** dates afterwards, depending on locale. Beware of this difference. +** +** The conversion algorithms are implemented based on descriptions +** in the following text: +** +** Jean Meeus +** Astronomical Algorithms, 2nd Edition, 1998 +** ISBN 0-943396-61-1 +** Willmann-Bell, Inc +** Richmond, Virginia (USA) +*/ +/* #include "sqliteInt.h" */ +/* #include */ +/* #include */ +#include + +#ifndef SQLITE_OMIT_DATETIME_FUNCS + +/* +** The MSVC CRT on Windows CE may not have a localtime() function. +** So declare a substitute. The substitute function itself is +** defined in "os_win.c". +*/ +#if !defined(SQLITE_OMIT_LOCALTIME) && defined(_WIN32_WCE) && \ + (!defined(SQLITE_MSVC_LOCALTIME_API) || !SQLITE_MSVC_LOCALTIME_API) +struct tm *__cdecl localtime(const time_t *); +#endif + +/* +** A structure for holding a single date and time. +*/ +typedef struct DateTime DateTime; +struct DateTime { + sqlite3_int64 iJD; /* The julian day number times 86400000 */ + int Y, M, D; /* Year, month, and day */ + int h, m; /* Hour and minutes */ + int tz; /* Timezone offset in minutes */ + double s; /* Seconds */ + char validJD; /* True (1) if iJD is valid */ + char rawS; /* Raw numeric value stored in s */ + char validYMD; /* True (1) if Y,M,D are valid */ + char validHMS; /* True (1) if h,m,s are valid */ + char validTZ; /* True (1) if tz is valid */ + char tzSet; /* Timezone was set explicitly */ + char isError; /* An overflow has occurred */ +}; + + +/* +** Convert zDate into one or more integers according to the conversion +** specifier zFormat. +** +** zFormat[] contains 4 characters for each integer converted, except for +** the last integer which is specified by three characters. The meaning +** of a four-character format specifiers ABCD is: +** +** A: number of digits to convert. Always "2" or "4". +** B: minimum value. Always "0" or "1". +** C: maximum value, decoded as: +** a: 12 +** b: 14 +** c: 24 +** d: 31 +** e: 59 +** f: 9999 +** D: the separator character, or \000 to indicate this is the +** last number to convert. +** +** Example: To translate an ISO-8601 date YYYY-MM-DD, the format would +** be "40f-21a-20c". The "40f-" indicates the 4-digit year followed by "-". +** The "21a-" indicates the 2-digit month followed by "-". The "20c" indicates +** the 2-digit day which is the last integer in the set. +** +** The function returns the number of successful conversions. +*/ +static int getDigits(const char *zDate, const char *zFormat, ...){ + /* The aMx[] array translates the 3rd character of each format + ** spec into a max size: a b c d e f */ + static const u16 aMx[] = { 12, 14, 24, 31, 59, 9999 }; + va_list ap; + int cnt = 0; + char nextC; + va_start(ap, zFormat); + do{ + char N = zFormat[0] - '0'; + char min = zFormat[1] - '0'; + int val = 0; + u16 max; + + assert( zFormat[2]>='a' && zFormat[2]<='f' ); + max = aMx[zFormat[2] - 'a']; + nextC = zFormat[3]; + val = 0; + while( N-- ){ + if( !sqlite3Isdigit(*zDate) ){ + goto end_getDigits; + } + val = val*10 + *zDate - '0'; + zDate++; + } + if( val<(int)min || val>(int)max || (nextC!=0 && nextC!=*zDate) ){ + goto end_getDigits; + } + *va_arg(ap,int*) = val; + zDate++; + cnt++; + zFormat += 4; + }while( nextC ); +end_getDigits: + va_end(ap); + return cnt; +} + +/* +** Parse a timezone extension on the end of a date-time. +** The extension is of the form: +** +** (+/-)HH:MM +** +** Or the "zulu" notation: +** +** Z +** +** If the parse is successful, write the number of minutes +** of change in p->tz and return 0. If a parser error occurs, +** return non-zero. +** +** A missing specifier is not considered an error. +*/ +static int parseTimezone(const char *zDate, DateTime *p){ + int sgn = 0; + int nHr, nMn; + int c; + while( sqlite3Isspace(*zDate) ){ zDate++; } + p->tz = 0; + c = *zDate; + if( c=='-' ){ + sgn = -1; + }else if( c=='+' ){ + sgn = +1; + }else if( c=='Z' || c=='z' ){ + zDate++; + goto zulu_time; + }else{ + return c!=0; + } + zDate++; + if( getDigits(zDate, "20b:20e", &nHr, &nMn)!=2 ){ + return 1; + } + zDate += 5; + p->tz = sgn*(nMn + nHr*60); +zulu_time: + while( sqlite3Isspace(*zDate) ){ zDate++; } + p->tzSet = 1; + return *zDate!=0; +} + +/* +** Parse times of the form HH:MM or HH:MM:SS or HH:MM:SS.FFFF. +** The HH, MM, and SS must each be exactly 2 digits. The +** fractional seconds FFFF can be one or more digits. +** +** Return 1 if there is a parsing error and 0 on success. +*/ +static int parseHhMmSs(const char *zDate, DateTime *p){ + int h, m, s; + double ms = 0.0; + if( getDigits(zDate, "20c:20e", &h, &m)!=2 ){ + return 1; + } + zDate += 5; + if( *zDate==':' ){ + zDate++; + if( getDigits(zDate, "20e", &s)!=1 ){ + return 1; + } + zDate += 2; + if( *zDate=='.' && sqlite3Isdigit(zDate[1]) ){ + double rScale = 1.0; + zDate++; + while( sqlite3Isdigit(*zDate) ){ + ms = ms*10.0 + *zDate - '0'; + rScale *= 10.0; + zDate++; + } + ms /= rScale; + } + }else{ + s = 0; + } + p->validJD = 0; + p->rawS = 0; + p->validHMS = 1; + p->h = h; + p->m = m; + p->s = s + ms; + if( parseTimezone(zDate, p) ) return 1; + p->validTZ = (p->tz!=0)?1:0; + return 0; +} + +/* +** Put the DateTime object into its error state. +*/ +static void datetimeError(DateTime *p){ + memset(p, 0, sizeof(*p)); + p->isError = 1; +} + +/* +** Convert from YYYY-MM-DD HH:MM:SS to julian day. We always assume +** that the YYYY-MM-DD is according to the Gregorian calendar. +** +** Reference: Meeus page 61 +*/ +static void computeJD(DateTime *p){ + int Y, M, D, A, B, X1, X2; + + if( p->validJD ) return; + if( p->validYMD ){ + Y = p->Y; + M = p->M; + D = p->D; + }else{ + Y = 2000; /* If no YMD specified, assume 2000-Jan-01 */ + M = 1; + D = 1; + } + if( Y<-4713 || Y>9999 || p->rawS ){ + datetimeError(p); + return; + } + if( M<=2 ){ + Y--; + M += 12; + } + A = Y/100; + B = 2 - A + (A/4); + X1 = 36525*(Y+4716)/100; + X2 = 306001*(M+1)/10000; + p->iJD = (sqlite3_int64)((X1 + X2 + D + B - 1524.5 ) * 86400000); + p->validJD = 1; + if( p->validHMS ){ + p->iJD += p->h*3600000 + p->m*60000 + (sqlite3_int64)(p->s*1000); + if( p->validTZ ){ + p->iJD -= p->tz*60000; + p->validYMD = 0; + p->validHMS = 0; + p->validTZ = 0; + } + } +} + +/* +** Parse dates of the form +** +** YYYY-MM-DD HH:MM:SS.FFF +** YYYY-MM-DD HH:MM:SS +** YYYY-MM-DD HH:MM +** YYYY-MM-DD +** +** Write the result into the DateTime structure and return 0 +** on success and 1 if the input string is not a well-formed +** date. +*/ +static int parseYyyyMmDd(const char *zDate, DateTime *p){ + int Y, M, D, neg; + + if( zDate[0]=='-' ){ + zDate++; + neg = 1; + }else{ + neg = 0; + } + if( getDigits(zDate, "40f-21a-21d", &Y, &M, &D)!=3 ){ + return 1; + } + zDate += 10; + while( sqlite3Isspace(*zDate) || 'T'==*(u8*)zDate ){ zDate++; } + if( parseHhMmSs(zDate, p)==0 ){ + /* We got the time */ + }else if( *zDate==0 ){ + p->validHMS = 0; + }else{ + return 1; + } + p->validJD = 0; + p->validYMD = 1; + p->Y = neg ? -Y : Y; + p->M = M; + p->D = D; + if( p->validTZ ){ + computeJD(p); + } + return 0; +} + +/* +** Set the time to the current time reported by the VFS. +** +** Return the number of errors. +*/ +static int setDateTimeToCurrent(sqlite3_context *context, DateTime *p){ + p->iJD = sqlite3StmtCurrentTime(context); + if( p->iJD>0 ){ + p->validJD = 1; + return 0; + }else{ + return 1; + } +} + +/* +** Input "r" is a numeric quantity which might be a julian day number, +** or the number of seconds since 1970. If the value if r is within +** range of a julian day number, install it as such and set validJD. +** If the value is a valid unix timestamp, put it in p->s and set p->rawS. +*/ +static void setRawDateNumber(DateTime *p, double r){ + p->s = r; + p->rawS = 1; + if( r>=0.0 && r<5373484.5 ){ + p->iJD = (sqlite3_int64)(r*86400000.0 + 0.5); + p->validJD = 1; + } +} + +/* +** Attempt to parse the given string into a julian day number. Return +** the number of errors. +** +** The following are acceptable forms for the input string: +** +** YYYY-MM-DD HH:MM:SS.FFF +/-HH:MM +** DDDD.DD +** now +** +** In the first form, the +/-HH:MM is always optional. The fractional +** seconds extension (the ".FFF") is optional. The seconds portion +** (":SS.FFF") is option. The year and date can be omitted as long +** as there is a time string. The time string can be omitted as long +** as there is a year and date. +*/ +static int parseDateOrTime( + sqlite3_context *context, + const char *zDate, + DateTime *p +){ + double r; + if( parseYyyyMmDd(zDate,p)==0 ){ + return 0; + }else if( parseHhMmSs(zDate, p)==0 ){ + return 0; + }else if( sqlite3StrICmp(zDate,"now")==0 && sqlite3NotPureFunc(context) ){ + return setDateTimeToCurrent(context, p); + }else if( sqlite3AtoF(zDate, &r, sqlite3Strlen30(zDate), SQLITE_UTF8)>0 ){ + setRawDateNumber(p, r); + return 0; + } + return 1; +} + +/* The julian day number for 9999-12-31 23:59:59.999 is 5373484.4999999. +** Multiplying this by 86400000 gives 464269060799999 as the maximum value +** for DateTime.iJD. +** +** But some older compilers (ex: gcc 4.2.1 on older Macs) cannot deal with +** such a large integer literal, so we have to encode it. +*/ +#define INT_464269060799999 ((((i64)0x1a640)<<32)|0x1072fdff) + +/* +** Return TRUE if the given julian day number is within range. +** +** The input is the JulianDay times 86400000. +*/ +static int validJulianDay(sqlite3_int64 iJD){ + return iJD>=0 && iJD<=INT_464269060799999; +} + +/* +** Compute the Year, Month, and Day from the julian day number. +*/ +static void computeYMD(DateTime *p){ + int Z, A, B, C, D, E, X1; + if( p->validYMD ) return; + if( !p->validJD ){ + p->Y = 2000; + p->M = 1; + p->D = 1; + }else if( !validJulianDay(p->iJD) ){ + datetimeError(p); + return; + }else{ + Z = (int)((p->iJD + 43200000)/86400000); + A = (int)((Z - 1867216.25)/36524.25); + A = Z + 1 + A - (A/4); + B = A + 1524; + C = (int)((B - 122.1)/365.25); + D = (36525*(C&32767))/100; + E = (int)((B-D)/30.6001); + X1 = (int)(30.6001*E); + p->D = B - D - X1; + p->M = E<14 ? E-1 : E-13; + p->Y = p->M>2 ? C - 4716 : C - 4715; + } + p->validYMD = 1; +} + +/* +** Compute the Hour, Minute, and Seconds from the julian day number. +*/ +static void computeHMS(DateTime *p){ + int s; + if( p->validHMS ) return; + computeJD(p); + s = (int)((p->iJD + 43200000) % 86400000); + p->s = s/1000.0; + s = (int)p->s; + p->s -= s; + p->h = s/3600; + s -= p->h*3600; + p->m = s/60; + p->s += s - p->m*60; + p->rawS = 0; + p->validHMS = 1; +} + +/* +** Compute both YMD and HMS +*/ +static void computeYMD_HMS(DateTime *p){ + computeYMD(p); + computeHMS(p); +} + +/* +** Clear the YMD and HMS and the TZ +*/ +static void clearYMD_HMS_TZ(DateTime *p){ + p->validYMD = 0; + p->validHMS = 0; + p->validTZ = 0; +} + +#ifndef SQLITE_OMIT_LOCALTIME +/* +** On recent Windows platforms, the localtime_s() function is available +** as part of the "Secure CRT". It is essentially equivalent to +** localtime_r() available under most POSIX platforms, except that the +** order of the parameters is reversed. +** +** See http://msdn.microsoft.com/en-us/library/a442x3ye(VS.80).aspx. +** +** If the user has not indicated to use localtime_r() or localtime_s() +** already, check for an MSVC build environment that provides +** localtime_s(). +*/ +#if !HAVE_LOCALTIME_R && !HAVE_LOCALTIME_S \ + && defined(_MSC_VER) && defined(_CRT_INSECURE_DEPRECATE) +#undef HAVE_LOCALTIME_S +#define HAVE_LOCALTIME_S 1 +#endif + +/* +** The following routine implements the rough equivalent of localtime_r() +** using whatever operating-system specific localtime facility that +** is available. This routine returns 0 on success and +** non-zero on any kind of error. +** +** If the sqlite3GlobalConfig.bLocaltimeFault variable is true then this +** routine will always fail. +** +** EVIDENCE-OF: R-62172-00036 In this implementation, the standard C +** library function localtime_r() is used to assist in the calculation of +** local time. +*/ +static int osLocaltime(time_t *t, struct tm *pTm){ + int rc; +#if !HAVE_LOCALTIME_R && !HAVE_LOCALTIME_S + struct tm *pX; +#if SQLITE_THREADSAFE>0 + sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER); +#endif + sqlite3_mutex_enter(mutex); + pX = localtime(t); +#ifndef SQLITE_UNTESTABLE + if( sqlite3GlobalConfig.bLocaltimeFault ) pX = 0; +#endif + if( pX ) *pTm = *pX; + sqlite3_mutex_leave(mutex); + rc = pX==0; +#else +#ifndef SQLITE_UNTESTABLE + if( sqlite3GlobalConfig.bLocaltimeFault ) return 1; +#endif +#if HAVE_LOCALTIME_R + rc = localtime_r(t, pTm)==0; +#else + rc = localtime_s(pTm, t); +#endif /* HAVE_LOCALTIME_R */ +#endif /* HAVE_LOCALTIME_R || HAVE_LOCALTIME_S */ + return rc; +} +#endif /* SQLITE_OMIT_LOCALTIME */ + + +#ifndef SQLITE_OMIT_LOCALTIME +/* +** Compute the difference (in milliseconds) between localtime and UTC +** (a.k.a. GMT) for the time value p where p is in UTC. If no error occurs, +** return this value and set *pRc to SQLITE_OK. +** +** Or, if an error does occur, set *pRc to SQLITE_ERROR. The returned value +** is undefined in this case. +*/ +static sqlite3_int64 localtimeOffset( + DateTime *p, /* Date at which to calculate offset */ + sqlite3_context *pCtx, /* Write error here if one occurs */ + int *pRc /* OUT: Error code. SQLITE_OK or ERROR */ +){ + DateTime x, y; + time_t t; + struct tm sLocal; + + /* Initialize the contents of sLocal to avoid a compiler warning. */ + memset(&sLocal, 0, sizeof(sLocal)); + + x = *p; + computeYMD_HMS(&x); + if( x.Y<1971 || x.Y>=2038 ){ + /* EVIDENCE-OF: R-55269-29598 The localtime_r() C function normally only + ** works for years between 1970 and 2037. For dates outside this range, + ** SQLite attempts to map the year into an equivalent year within this + ** range, do the calculation, then map the year back. + */ + x.Y = 2000; + x.M = 1; + x.D = 1; + x.h = 0; + x.m = 0; + x.s = 0.0; + } else { + int s = (int)(x.s + 0.5); + x.s = s; + } + x.tz = 0; + x.validJD = 0; + computeJD(&x); + t = (time_t)(x.iJD/1000 - 21086676*(i64)10000); + if( osLocaltime(&t, &sLocal) ){ + sqlite3_result_error(pCtx, "local time unavailable", -1); + *pRc = SQLITE_ERROR; + return 0; + } + y.Y = sLocal.tm_year + 1900; + y.M = sLocal.tm_mon + 1; + y.D = sLocal.tm_mday; + y.h = sLocal.tm_hour; + y.m = sLocal.tm_min; + y.s = sLocal.tm_sec; + y.validYMD = 1; + y.validHMS = 1; + y.validJD = 0; + y.rawS = 0; + y.validTZ = 0; + y.isError = 0; + computeJD(&y); + *pRc = SQLITE_OK; + return y.iJD - x.iJD; +} +#endif /* SQLITE_OMIT_LOCALTIME */ + +/* +** The following table defines various date transformations of the form +** +** 'NNN days' +** +** Where NNN is an arbitrary floating-point number and "days" can be one +** of several units of time. +*/ +static const struct { + u8 eType; /* Transformation type code */ + u8 nName; /* Length of th name */ + char *zName; /* Name of the transformation */ + double rLimit; /* Maximum NNN value for this transform */ + double rXform; /* Constant used for this transform */ +} aXformType[] = { + { 0, 6, "second", 464269060800.0, 86400000.0/(24.0*60.0*60.0) }, + { 0, 6, "minute", 7737817680.0, 86400000.0/(24.0*60.0) }, + { 0, 4, "hour", 128963628.0, 86400000.0/24.0 }, + { 0, 3, "day", 5373485.0, 86400000.0 }, + { 1, 5, "month", 176546.0, 30.0*86400000.0 }, + { 2, 4, "year", 14713.0, 365.0*86400000.0 }, +}; + +/* +** Process a modifier to a date-time stamp. The modifiers are +** as follows: +** +** NNN days +** NNN hours +** NNN minutes +** NNN.NNNN seconds +** NNN months +** NNN years +** start of month +** start of year +** start of week +** start of day +** weekday N +** unixepoch +** localtime +** utc +** +** Return 0 on success and 1 if there is any kind of error. If the error +** is in a system call (i.e. localtime()), then an error message is written +** to context pCtx. If the error is an unrecognized modifier, no error is +** written to pCtx. +*/ +static int parseModifier( + sqlite3_context *pCtx, /* Function context */ + const char *z, /* The text of the modifier */ + int n, /* Length of zMod in bytes */ + DateTime *p /* The date/time value to be modified */ +){ + int rc = 1; + double r; + switch(sqlite3UpperToLower[(u8)z[0]] ){ +#ifndef SQLITE_OMIT_LOCALTIME + case 'l': { + /* localtime + ** + ** Assuming the current time value is UTC (a.k.a. GMT), shift it to + ** show local time. + */ + if( sqlite3_stricmp(z, "localtime")==0 && sqlite3NotPureFunc(pCtx) ){ + computeJD(p); + p->iJD += localtimeOffset(p, pCtx, &rc); + clearYMD_HMS_TZ(p); + } + break; + } +#endif + case 'u': { + /* + ** unixepoch + ** + ** Treat the current value of p->s as the number of + ** seconds since 1970. Convert to a real julian day number. + */ + if( sqlite3_stricmp(z, "unixepoch")==0 && p->rawS ){ + r = p->s*1000.0 + 210866760000000.0; + if( r>=0.0 && r<464269060800000.0 ){ + clearYMD_HMS_TZ(p); + p->iJD = (sqlite3_int64)r; + p->validJD = 1; + p->rawS = 0; + rc = 0; + } + } +#ifndef SQLITE_OMIT_LOCALTIME + else if( sqlite3_stricmp(z, "utc")==0 && sqlite3NotPureFunc(pCtx) ){ + if( p->tzSet==0 ){ + sqlite3_int64 c1; + computeJD(p); + c1 = localtimeOffset(p, pCtx, &rc); + if( rc==SQLITE_OK ){ + p->iJD -= c1; + clearYMD_HMS_TZ(p); + p->iJD += c1 - localtimeOffset(p, pCtx, &rc); + } + p->tzSet = 1; + }else{ + rc = SQLITE_OK; + } + } +#endif + break; + } + case 'w': { + /* + ** weekday N + ** + ** Move the date to the same time on the next occurrence of + ** weekday N where 0==Sunday, 1==Monday, and so forth. If the + ** date is already on the appropriate weekday, this is a no-op. + */ + if( sqlite3_strnicmp(z, "weekday ", 8)==0 + && sqlite3AtoF(&z[8], &r, sqlite3Strlen30(&z[8]), SQLITE_UTF8)>0 + && (n=(int)r)==r && n>=0 && r<7 ){ + sqlite3_int64 Z; + computeYMD_HMS(p); + p->validTZ = 0; + p->validJD = 0; + computeJD(p); + Z = ((p->iJD + 129600000)/86400000) % 7; + if( Z>n ) Z -= 7; + p->iJD += (n - Z)*86400000; + clearYMD_HMS_TZ(p); + rc = 0; + } + break; + } + case 's': { + /* + ** start of TTTTT + ** + ** Move the date backwards to the beginning of the current day, + ** or month or year. + */ + if( sqlite3_strnicmp(z, "start of ", 9)!=0 ) break; + if( !p->validJD && !p->validYMD && !p->validHMS ) break; + z += 9; + computeYMD(p); + p->validHMS = 1; + p->h = p->m = 0; + p->s = 0.0; + p->rawS = 0; + p->validTZ = 0; + p->validJD = 0; + if( sqlite3_stricmp(z,"month")==0 ){ + p->D = 1; + rc = 0; + }else if( sqlite3_stricmp(z,"year")==0 ){ + p->M = 1; + p->D = 1; + rc = 0; + }else if( sqlite3_stricmp(z,"day")==0 ){ + rc = 0; + } + break; + } + case '+': + case '-': + case '0': + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': { + double rRounder; + int i; + for(n=1; z[n] && z[n]!=':' && !sqlite3Isspace(z[n]); n++){} + if( sqlite3AtoF(z, &r, n, SQLITE_UTF8)<=0 ){ + rc = 1; + break; + } + if( z[n]==':' ){ + /* A modifier of the form (+|-)HH:MM:SS.FFF adds (or subtracts) the + ** specified number of hours, minutes, seconds, and fractional seconds + ** to the time. The ".FFF" may be omitted. The ":SS.FFF" may be + ** omitted. + */ + const char *z2 = z; + DateTime tx; + sqlite3_int64 day; + if( !sqlite3Isdigit(*z2) ) z2++; + memset(&tx, 0, sizeof(tx)); + if( parseHhMmSs(z2, &tx) ) break; + computeJD(&tx); + tx.iJD -= 43200000; + day = tx.iJD/86400000; + tx.iJD -= day*86400000; + if( z[0]=='-' ) tx.iJD = -tx.iJD; + computeJD(p); + clearYMD_HMS_TZ(p); + p->iJD += tx.iJD; + rc = 0; + break; + } + + /* If control reaches this point, it means the transformation is + ** one of the forms like "+NNN days". */ + z += n; + while( sqlite3Isspace(*z) ) z++; + n = sqlite3Strlen30(z); + if( n>10 || n<3 ) break; + if( sqlite3UpperToLower[(u8)z[n-1]]=='s' ) n--; + computeJD(p); + rc = 1; + rRounder = r<0 ? -0.5 : +0.5; + for(i=0; i-aXformType[i].rLimit && rM += (int)r; + x = p->M>0 ? (p->M-1)/12 : (p->M-12)/12; + p->Y += x; + p->M -= x*12; + p->validJD = 0; + r -= (int)r; + break; + } + case 2: { /* Special processing to add years */ + int y = (int)r; + computeYMD_HMS(p); + p->Y += y; + p->validJD = 0; + r -= (int)r; + break; + } + } + computeJD(p); + p->iJD += (sqlite3_int64)(r*aXformType[i].rXform + rRounder); + rc = 0; + break; + } + } + clearYMD_HMS_TZ(p); + break; + } + default: { + break; + } + } + return rc; +} + +/* +** Process time function arguments. argv[0] is a date-time stamp. +** argv[1] and following are modifiers. Parse them all and write +** the resulting time into the DateTime structure p. Return 0 +** on success and 1 if there are any errors. +** +** If there are zero parameters (if even argv[0] is undefined) +** then assume a default value of "now" for argv[0]. +*/ +static int isDate( + sqlite3_context *context, + int argc, + sqlite3_value **argv, + DateTime *p +){ + int i, n; + const unsigned char *z; + int eType; + memset(p, 0, sizeof(*p)); + if( argc==0 ){ + return setDateTimeToCurrent(context, p); + } + if( (eType = sqlite3_value_type(argv[0]))==SQLITE_FLOAT + || eType==SQLITE_INTEGER ){ + setRawDateNumber(p, sqlite3_value_double(argv[0])); + }else{ + z = sqlite3_value_text(argv[0]); + if( !z || parseDateOrTime(context, (char*)z, p) ){ + return 1; + } + } + for(i=1; iisError || !validJulianDay(p->iJD) ) return 1; + return 0; +} + + +/* +** The following routines implement the various date and time functions +** of SQLite. +*/ + +/* +** julianday( TIMESTRING, MOD, MOD, ...) +** +** Return the julian day number of the date specified in the arguments +*/ +static void juliandayFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + DateTime x; + if( isDate(context, argc, argv, &x)==0 ){ + computeJD(&x); + sqlite3_result_double(context, x.iJD/86400000.0); + } +} + +/* +** datetime( TIMESTRING, MOD, MOD, ...) +** +** Return YYYY-MM-DD HH:MM:SS +*/ +static void datetimeFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + DateTime x; + if( isDate(context, argc, argv, &x)==0 ){ + char zBuf[100]; + computeYMD_HMS(&x); + sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d %02d:%02d:%02d", + x.Y, x.M, x.D, x.h, x.m, (int)(x.s)); + sqlite3_result_text(context, zBuf, -1, SQLITE_TRANSIENT); + } +} + +/* +** time( TIMESTRING, MOD, MOD, ...) +** +** Return HH:MM:SS +*/ +static void timeFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + DateTime x; + if( isDate(context, argc, argv, &x)==0 ){ + char zBuf[100]; + computeHMS(&x); + sqlite3_snprintf(sizeof(zBuf), zBuf, "%02d:%02d:%02d", x.h, x.m, (int)x.s); + sqlite3_result_text(context, zBuf, -1, SQLITE_TRANSIENT); + } +} + +/* +** date( TIMESTRING, MOD, MOD, ...) +** +** Return YYYY-MM-DD +*/ +static void dateFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + DateTime x; + if( isDate(context, argc, argv, &x)==0 ){ + char zBuf[100]; + computeYMD(&x); + sqlite3_snprintf(sizeof(zBuf), zBuf, "%04d-%02d-%02d", x.Y, x.M, x.D); + sqlite3_result_text(context, zBuf, -1, SQLITE_TRANSIENT); + } +} + +/* +** strftime( FORMAT, TIMESTRING, MOD, MOD, ...) +** +** Return a string described by FORMAT. Conversions as follows: +** +** %d day of month +** %f ** fractional seconds SS.SSS +** %H hour 00-24 +** %j day of year 000-366 +** %J ** julian day number +** %m month 01-12 +** %M minute 00-59 +** %s seconds since 1970-01-01 +** %S seconds 00-59 +** %w day of week 0-6 sunday==0 +** %W week of year 00-53 +** %Y year 0000-9999 +** %% % +*/ +static void strftimeFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + DateTime x; + u64 n; + size_t i,j; + char *z; + sqlite3 *db; + const char *zFmt; + char zBuf[100]; + if( argc==0 ) return; + zFmt = (const char*)sqlite3_value_text(argv[0]); + if( zFmt==0 || isDate(context, argc-1, argv+1, &x) ) return; + db = sqlite3_context_db_handle(context); + for(i=0, n=1; zFmt[i]; i++, n++){ + if( zFmt[i]=='%' ){ + switch( zFmt[i+1] ){ + case 'd': + case 'H': + case 'm': + case 'M': + case 'S': + case 'W': + n++; + /* fall thru */ + case 'w': + case '%': + break; + case 'f': + n += 8; + break; + case 'j': + n += 3; + break; + case 'Y': + n += 8; + break; + case 's': + case 'J': + n += 50; + break; + default: + return; /* ERROR. return a NULL */ + } + i++; + } + } + testcase( n==sizeof(zBuf)-1 ); + testcase( n==sizeof(zBuf) ); + testcase( n==(u64)db->aLimit[SQLITE_LIMIT_LENGTH]+1 ); + testcase( n==(u64)db->aLimit[SQLITE_LIMIT_LENGTH] ); + if( n(u64)db->aLimit[SQLITE_LIMIT_LENGTH] ){ + sqlite3_result_error_toobig(context); + return; + }else{ + z = sqlite3DbMallocRawNN(db, (int)n); + if( z==0 ){ + sqlite3_result_error_nomem(context); + return; + } + } + computeJD(&x); + computeYMD_HMS(&x); + for(i=j=0; zFmt[i]; i++){ + if( zFmt[i]!='%' ){ + z[j++] = zFmt[i]; + }else{ + i++; + switch( zFmt[i] ){ + case 'd': sqlite3_snprintf(3, &z[j],"%02d",x.D); j+=2; break; + case 'f': { + double s = x.s; + if( s>59.999 ) s = 59.999; + sqlite3_snprintf(7, &z[j],"%06.3f", s); + j += sqlite3Strlen30(&z[j]); + break; + } + case 'H': sqlite3_snprintf(3, &z[j],"%02d",x.h); j+=2; break; + case 'W': /* Fall thru */ + case 'j': { + int nDay; /* Number of days since 1st day of year */ + DateTime y = x; + y.validJD = 0; + y.M = 1; + y.D = 1; + computeJD(&y); + nDay = (int)((x.iJD-y.iJD+43200000)/86400000); + if( zFmt[i]=='W' ){ + int wd; /* 0=Monday, 1=Tuesday, ... 6=Sunday */ + wd = (int)(((x.iJD+43200000)/86400000)%7); + sqlite3_snprintf(3, &z[j],"%02d",(nDay+7-wd)/7); + j += 2; + }else{ + sqlite3_snprintf(4, &z[j],"%03d",nDay+1); + j += 3; + } + break; + } + case 'J': { + sqlite3_snprintf(20, &z[j],"%.16g",x.iJD/86400000.0); + j+=sqlite3Strlen30(&z[j]); + break; + } + case 'm': sqlite3_snprintf(3, &z[j],"%02d",x.M); j+=2; break; + case 'M': sqlite3_snprintf(3, &z[j],"%02d",x.m); j+=2; break; + case 's': { + sqlite3_snprintf(30,&z[j],"%lld", + (i64)(x.iJD/1000 - 21086676*(i64)10000)); + j += sqlite3Strlen30(&z[j]); + break; + } + case 'S': sqlite3_snprintf(3,&z[j],"%02d",(int)x.s); j+=2; break; + case 'w': { + z[j++] = (char)(((x.iJD+129600000)/86400000) % 7) + '0'; + break; + } + case 'Y': { + sqlite3_snprintf(5,&z[j],"%04d",x.Y); j+=sqlite3Strlen30(&z[j]); + break; + } + default: z[j++] = '%'; break; + } + } + } + z[j] = 0; + sqlite3_result_text(context, z, -1, + z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC); +} + +/* +** current_time() +** +** This function returns the same value as time('now'). +*/ +static void ctimeFunc( + sqlite3_context *context, + int NotUsed, + sqlite3_value **NotUsed2 +){ + UNUSED_PARAMETER2(NotUsed, NotUsed2); + timeFunc(context, 0, 0); +} + +/* +** current_date() +** +** This function returns the same value as date('now'). +*/ +static void cdateFunc( + sqlite3_context *context, + int NotUsed, + sqlite3_value **NotUsed2 +){ + UNUSED_PARAMETER2(NotUsed, NotUsed2); + dateFunc(context, 0, 0); +} + +/* +** current_timestamp() +** +** This function returns the same value as datetime('now'). +*/ +static void ctimestampFunc( + sqlite3_context *context, + int NotUsed, + sqlite3_value **NotUsed2 +){ + UNUSED_PARAMETER2(NotUsed, NotUsed2); + datetimeFunc(context, 0, 0); +} +#endif /* !defined(SQLITE_OMIT_DATETIME_FUNCS) */ + +#ifdef SQLITE_OMIT_DATETIME_FUNCS +/* +** If the library is compiled to omit the full-scale date and time +** handling (to get a smaller binary), the following minimal version +** of the functions current_time(), current_date() and current_timestamp() +** are included instead. This is to support column declarations that +** include "DEFAULT CURRENT_TIME" etc. +** +** This function uses the C-library functions time(), gmtime() +** and strftime(). The format string to pass to strftime() is supplied +** as the user-data for the function. +*/ +static void currentTimeFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + time_t t; + char *zFormat = (char *)sqlite3_user_data(context); + sqlite3_int64 iT; + struct tm *pTm; + struct tm sNow; + char zBuf[20]; + + UNUSED_PARAMETER(argc); + UNUSED_PARAMETER(argv); + + iT = sqlite3StmtCurrentTime(context); + if( iT<=0 ) return; + t = iT/1000 - 10000*(sqlite3_int64)21086676; +#if HAVE_GMTIME_R + pTm = gmtime_r(&t, &sNow); +#else + sqlite3_mutex_enter(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER)); + pTm = gmtime(&t); + if( pTm ) memcpy(&sNow, pTm, sizeof(sNow)); + sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER)); +#endif + if( pTm ){ + strftime(zBuf, 20, zFormat, &sNow); + sqlite3_result_text(context, zBuf, -1, SQLITE_TRANSIENT); + } +} +#endif + +/* +** This function registered all of the above C functions as SQL +** functions. This should be the only routine in this file with +** external linkage. +*/ +SQLITE_PRIVATE void sqlite3RegisterDateTimeFunctions(void){ + static FuncDef aDateTimeFuncs[] = { +#ifndef SQLITE_OMIT_DATETIME_FUNCS + PURE_DATE(julianday, -1, 0, 0, juliandayFunc ), + PURE_DATE(date, -1, 0, 0, dateFunc ), + PURE_DATE(time, -1, 0, 0, timeFunc ), + PURE_DATE(datetime, -1, 0, 0, datetimeFunc ), + PURE_DATE(strftime, -1, 0, 0, strftimeFunc ), + DFUNCTION(current_time, 0, 0, 0, ctimeFunc ), + DFUNCTION(current_timestamp, 0, 0, 0, ctimestampFunc), + DFUNCTION(current_date, 0, 0, 0, cdateFunc ), +#else + STR_FUNCTION(current_time, 0, "%H:%M:%S", 0, currentTimeFunc), + STR_FUNCTION(current_date, 0, "%Y-%m-%d", 0, currentTimeFunc), + STR_FUNCTION(current_timestamp, 0, "%Y-%m-%d %H:%M:%S", 0, currentTimeFunc), +#endif + }; + sqlite3InsertBuiltinFuncs(aDateTimeFuncs, ArraySize(aDateTimeFuncs)); +} + +/************** End of date.c ************************************************/ +/************** Begin file os.c **********************************************/ +/* +** 2005 November 29 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains OS interface code that is common to all +** architectures. +*/ +/* #include "sqliteInt.h" */ + +/* +** If we compile with the SQLITE_TEST macro set, then the following block +** of code will give us the ability to simulate a disk I/O error. This +** is used for testing the I/O recovery logic. +*/ +#if defined(SQLITE_TEST) +SQLITE_API int sqlite3_io_error_hit = 0; /* Total number of I/O Errors */ +SQLITE_API int sqlite3_io_error_hardhit = 0; /* Number of non-benign errors */ +SQLITE_API int sqlite3_io_error_pending = 0; /* Count down to first I/O error */ +SQLITE_API int sqlite3_io_error_persist = 0; /* True if I/O errors persist */ +SQLITE_API int sqlite3_io_error_benign = 0; /* True if errors are benign */ +SQLITE_API int sqlite3_diskfull_pending = 0; +SQLITE_API int sqlite3_diskfull = 0; +#endif /* defined(SQLITE_TEST) */ + +/* +** When testing, also keep a count of the number of open files. +*/ +#if defined(SQLITE_TEST) +SQLITE_API int sqlite3_open_file_count = 0; +#endif /* defined(SQLITE_TEST) */ + +/* +** The default SQLite sqlite3_vfs implementations do not allocate +** memory (actually, os_unix.c allocates a small amount of memory +** from within OsOpen()), but some third-party implementations may. +** So we test the effects of a malloc() failing and the sqlite3OsXXX() +** function returning SQLITE_IOERR_NOMEM using the DO_OS_MALLOC_TEST macro. +** +** The following functions are instrumented for malloc() failure +** testing: +** +** sqlite3OsRead() +** sqlite3OsWrite() +** sqlite3OsSync() +** sqlite3OsFileSize() +** sqlite3OsLock() +** sqlite3OsCheckReservedLock() +** sqlite3OsFileControl() +** sqlite3OsShmMap() +** sqlite3OsOpen() +** sqlite3OsDelete() +** sqlite3OsAccess() +** sqlite3OsFullPathname() +** +*/ +#if defined(SQLITE_TEST) +SQLITE_API int sqlite3_memdebug_vfs_oom_test = 1; + #define DO_OS_MALLOC_TEST(x) \ + if (sqlite3_memdebug_vfs_oom_test && (!x || !sqlite3JournalIsInMemory(x))) { \ + void *pTstAlloc = sqlite3Malloc(10); \ + if (!pTstAlloc) return SQLITE_IOERR_NOMEM_BKPT; \ + sqlite3_free(pTstAlloc); \ + } +#else + #define DO_OS_MALLOC_TEST(x) +#endif + +/* +** The following routines are convenience wrappers around methods +** of the sqlite3_file object. This is mostly just syntactic sugar. All +** of this would be completely automatic if SQLite were coded using +** C++ instead of plain old C. +*/ +SQLITE_PRIVATE void sqlite3OsClose(sqlite3_file *pId){ + if( pId->pMethods ){ + pId->pMethods->xClose(pId); + pId->pMethods = 0; + } +} +SQLITE_PRIVATE int sqlite3OsRead(sqlite3_file *id, void *pBuf, int amt, i64 offset){ + DO_OS_MALLOC_TEST(id); + return id->pMethods->xRead(id, pBuf, amt, offset); +} +SQLITE_PRIVATE int sqlite3OsWrite(sqlite3_file *id, const void *pBuf, int amt, i64 offset){ + DO_OS_MALLOC_TEST(id); + return id->pMethods->xWrite(id, pBuf, amt, offset); +} +SQLITE_PRIVATE int sqlite3OsTruncate(sqlite3_file *id, i64 size){ + return id->pMethods->xTruncate(id, size); +} +SQLITE_PRIVATE int sqlite3OsSync(sqlite3_file *id, int flags){ + DO_OS_MALLOC_TEST(id); + return flags ? id->pMethods->xSync(id, flags) : SQLITE_OK; +} +SQLITE_PRIVATE int sqlite3OsFileSize(sqlite3_file *id, i64 *pSize){ + DO_OS_MALLOC_TEST(id); + return id->pMethods->xFileSize(id, pSize); +} +SQLITE_PRIVATE int sqlite3OsLock(sqlite3_file *id, int lockType){ + DO_OS_MALLOC_TEST(id); + return id->pMethods->xLock(id, lockType); +} +SQLITE_PRIVATE int sqlite3OsUnlock(sqlite3_file *id, int lockType){ + return id->pMethods->xUnlock(id, lockType); +} +SQLITE_PRIVATE int sqlite3OsCheckReservedLock(sqlite3_file *id, int *pResOut){ + DO_OS_MALLOC_TEST(id); + return id->pMethods->xCheckReservedLock(id, pResOut); +} + +/* +** Use sqlite3OsFileControl() when we are doing something that might fail +** and we need to know about the failures. Use sqlite3OsFileControlHint() +** when simply tossing information over the wall to the VFS and we do not +** really care if the VFS receives and understands the information since it +** is only a hint and can be safely ignored. The sqlite3OsFileControlHint() +** routine has no return value since the return value would be meaningless. +*/ +SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg){ + if( id->pMethods==0 ) return SQLITE_NOTFOUND; +#ifdef SQLITE_TEST + if( op!=SQLITE_FCNTL_COMMIT_PHASETWO + && op!=SQLITE_FCNTL_LOCK_TIMEOUT + ){ + /* Faults are not injected into COMMIT_PHASETWO because, assuming SQLite + ** is using a regular VFS, it is called after the corresponding + ** transaction has been committed. Injecting a fault at this point + ** confuses the test scripts - the COMMIT comand returns SQLITE_NOMEM + ** but the transaction is committed anyway. + ** + ** The core must call OsFileControl() though, not OsFileControlHint(), + ** as if a custom VFS (e.g. zipvfs) returns an error here, it probably + ** means the commit really has failed and an error should be returned + ** to the user. */ + DO_OS_MALLOC_TEST(id); + } +#endif + return id->pMethods->xFileControl(id, op, pArg); +} +SQLITE_PRIVATE void sqlite3OsFileControlHint(sqlite3_file *id, int op, void *pArg){ + if( id->pMethods ) (void)id->pMethods->xFileControl(id, op, pArg); +} + +SQLITE_PRIVATE int sqlite3OsSectorSize(sqlite3_file *id){ + int (*xSectorSize)(sqlite3_file*) = id->pMethods->xSectorSize; + return (xSectorSize ? xSectorSize(id) : SQLITE_DEFAULT_SECTOR_SIZE); +} +SQLITE_PRIVATE int sqlite3OsDeviceCharacteristics(sqlite3_file *id){ + return id->pMethods->xDeviceCharacteristics(id); +} +#ifndef SQLITE_OMIT_WAL +SQLITE_PRIVATE int sqlite3OsShmLock(sqlite3_file *id, int offset, int n, int flags){ + return id->pMethods->xShmLock(id, offset, n, flags); +} +SQLITE_PRIVATE void sqlite3OsShmBarrier(sqlite3_file *id){ + id->pMethods->xShmBarrier(id); +} +SQLITE_PRIVATE int sqlite3OsShmUnmap(sqlite3_file *id, int deleteFlag){ + return id->pMethods->xShmUnmap(id, deleteFlag); +} +SQLITE_PRIVATE int sqlite3OsShmMap( + sqlite3_file *id, /* Database file handle */ + int iPage, + int pgsz, + int bExtend, /* True to extend file if necessary */ + void volatile **pp /* OUT: Pointer to mapping */ +){ + DO_OS_MALLOC_TEST(id); + return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp); +} +#endif /* SQLITE_OMIT_WAL */ + +#if SQLITE_MAX_MMAP_SIZE>0 +/* The real implementation of xFetch and xUnfetch */ +SQLITE_PRIVATE int sqlite3OsFetch(sqlite3_file *id, i64 iOff, int iAmt, void **pp){ + DO_OS_MALLOC_TEST(id); + return id->pMethods->xFetch(id, iOff, iAmt, pp); +} +SQLITE_PRIVATE int sqlite3OsUnfetch(sqlite3_file *id, i64 iOff, void *p){ + return id->pMethods->xUnfetch(id, iOff, p); +} +#else +/* No-op stubs to use when memory-mapped I/O is disabled */ +SQLITE_PRIVATE int sqlite3OsFetch(sqlite3_file *id, i64 iOff, int iAmt, void **pp){ + *pp = 0; + return SQLITE_OK; +} +SQLITE_PRIVATE int sqlite3OsUnfetch(sqlite3_file *id, i64 iOff, void *p){ + return SQLITE_OK; +} +#endif + +/* +** The next group of routines are convenience wrappers around the +** VFS methods. +*/ +SQLITE_PRIVATE int sqlite3OsOpen( + sqlite3_vfs *pVfs, + const char *zPath, + sqlite3_file *pFile, + int flags, + int *pFlagsOut +){ + int rc; + DO_OS_MALLOC_TEST(0); + /* 0x87f7f is a mask of SQLITE_OPEN_ flags that are valid to be passed + ** down into the VFS layer. Some SQLITE_OPEN_ flags (for example, + ** SQLITE_OPEN_FULLMUTEX or SQLITE_OPEN_SHAREDCACHE) are blocked before + ** reaching the VFS. */ + rc = pVfs->xOpen(pVfs, zPath, pFile, flags & 0x87f7f, pFlagsOut); + assert( rc==SQLITE_OK || pFile->pMethods==0 ); + return rc; +} +SQLITE_PRIVATE int sqlite3OsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ + DO_OS_MALLOC_TEST(0); + assert( dirSync==0 || dirSync==1 ); + return pVfs->xDelete(pVfs, zPath, dirSync); +} +SQLITE_PRIVATE int sqlite3OsAccess( + sqlite3_vfs *pVfs, + const char *zPath, + int flags, + int *pResOut +){ + DO_OS_MALLOC_TEST(0); + return pVfs->xAccess(pVfs, zPath, flags, pResOut); +} +SQLITE_PRIVATE int sqlite3OsFullPathname( + sqlite3_vfs *pVfs, + const char *zPath, + int nPathOut, + char *zPathOut +){ + DO_OS_MALLOC_TEST(0); + zPathOut[0] = 0; + return pVfs->xFullPathname(pVfs, zPath, nPathOut, zPathOut); +} +#ifndef SQLITE_OMIT_LOAD_EXTENSION +SQLITE_PRIVATE void *sqlite3OsDlOpen(sqlite3_vfs *pVfs, const char *zPath){ + return pVfs->xDlOpen(pVfs, zPath); +} +SQLITE_PRIVATE void sqlite3OsDlError(sqlite3_vfs *pVfs, int nByte, char *zBufOut){ + pVfs->xDlError(pVfs, nByte, zBufOut); +} +SQLITE_PRIVATE void (*sqlite3OsDlSym(sqlite3_vfs *pVfs, void *pHdle, const char *zSym))(void){ + return pVfs->xDlSym(pVfs, pHdle, zSym); +} +SQLITE_PRIVATE void sqlite3OsDlClose(sqlite3_vfs *pVfs, void *pHandle){ + pVfs->xDlClose(pVfs, pHandle); +} +#endif /* SQLITE_OMIT_LOAD_EXTENSION */ +SQLITE_PRIVATE int sqlite3OsRandomness(sqlite3_vfs *pVfs, int nByte, char *zBufOut){ + if( sqlite3Config.iPrngSeed ){ + memset(zBufOut, 0, nByte); + if( ALWAYS(nByte>(signed)sizeof(unsigned)) ) nByte = sizeof(unsigned int); + memcpy(zBufOut, &sqlite3Config.iPrngSeed, nByte); + return SQLITE_OK; + }else{ + return pVfs->xRandomness(pVfs, nByte, zBufOut); + } + +} +SQLITE_PRIVATE int sqlite3OsSleep(sqlite3_vfs *pVfs, int nMicro){ + return pVfs->xSleep(pVfs, nMicro); +} +SQLITE_PRIVATE int sqlite3OsGetLastError(sqlite3_vfs *pVfs){ + return pVfs->xGetLastError ? pVfs->xGetLastError(pVfs, 0, 0) : 0; +} +SQLITE_PRIVATE int sqlite3OsCurrentTimeInt64(sqlite3_vfs *pVfs, sqlite3_int64 *pTimeOut){ + int rc; + /* IMPLEMENTATION-OF: R-49045-42493 SQLite will use the xCurrentTimeInt64() + ** method to get the current date and time if that method is available + ** (if iVersion is 2 or greater and the function pointer is not NULL) and + ** will fall back to xCurrentTime() if xCurrentTimeInt64() is + ** unavailable. + */ + if( pVfs->iVersion>=2 && pVfs->xCurrentTimeInt64 ){ + rc = pVfs->xCurrentTimeInt64(pVfs, pTimeOut); + }else{ + double r; + rc = pVfs->xCurrentTime(pVfs, &r); + *pTimeOut = (sqlite3_int64)(r*86400000.0); + } + return rc; +} + +SQLITE_PRIVATE int sqlite3OsOpenMalloc( + sqlite3_vfs *pVfs, + const char *zFile, + sqlite3_file **ppFile, + int flags, + int *pOutFlags +){ + int rc; + sqlite3_file *pFile; + pFile = (sqlite3_file *)sqlite3MallocZero(pVfs->szOsFile); + if( pFile ){ + rc = sqlite3OsOpen(pVfs, zFile, pFile, flags, pOutFlags); + if( rc!=SQLITE_OK ){ + sqlite3_free(pFile); + }else{ + *ppFile = pFile; + } + }else{ + rc = SQLITE_NOMEM_BKPT; + } + return rc; +} +SQLITE_PRIVATE void sqlite3OsCloseFree(sqlite3_file *pFile){ + assert( pFile ); + sqlite3OsClose(pFile); + sqlite3_free(pFile); +} + +/* +** This function is a wrapper around the OS specific implementation of +** sqlite3_os_init(). The purpose of the wrapper is to provide the +** ability to simulate a malloc failure, so that the handling of an +** error in sqlite3_os_init() by the upper layers can be tested. +*/ +SQLITE_PRIVATE int sqlite3OsInit(void){ + void *p = sqlite3_malloc(10); + if( p==0 ) return SQLITE_NOMEM_BKPT; + sqlite3_free(p); + return sqlite3_os_init(); +} + +/* +** The list of all registered VFS implementations. +*/ +static sqlite3_vfs * SQLITE_WSD vfsList = 0; +#define vfsList GLOBAL(sqlite3_vfs *, vfsList) + +/* +** Locate a VFS by name. If no name is given, simply return the +** first VFS on the list. +*/ +SQLITE_API sqlite3_vfs *sqlite3_vfs_find(const char *zVfs){ + sqlite3_vfs *pVfs = 0; +#if SQLITE_THREADSAFE + sqlite3_mutex *mutex; +#endif +#ifndef SQLITE_OMIT_AUTOINIT + int rc = sqlite3_initialize(); + if( rc ) return 0; +#endif +#if SQLITE_THREADSAFE + mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER); +#endif + sqlite3_mutex_enter(mutex); + for(pVfs = vfsList; pVfs; pVfs=pVfs->pNext){ + if( zVfs==0 ) break; + if( strcmp(zVfs, pVfs->zName)==0 ) break; + } + sqlite3_mutex_leave(mutex); + return pVfs; +} + +/* +** Unlink a VFS from the linked list +*/ +static void vfsUnlink(sqlite3_vfs *pVfs){ + assert( sqlite3_mutex_held(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER)) ); + if( pVfs==0 ){ + /* No-op */ + }else if( vfsList==pVfs ){ + vfsList = pVfs->pNext; + }else if( vfsList ){ + sqlite3_vfs *p = vfsList; + while( p->pNext && p->pNext!=pVfs ){ + p = p->pNext; + } + if( p->pNext==pVfs ){ + p->pNext = pVfs->pNext; + } + } +} + +/* +** Register a VFS with the system. It is harmless to register the same +** VFS multiple times. The new VFS becomes the default if makeDflt is +** true. +*/ +SQLITE_API int sqlite3_vfs_register(sqlite3_vfs *pVfs, int makeDflt){ + MUTEX_LOGIC(sqlite3_mutex *mutex;) +#ifndef SQLITE_OMIT_AUTOINIT + int rc = sqlite3_initialize(); + if( rc ) return rc; +#endif +#ifdef SQLITE_ENABLE_API_ARMOR + if( pVfs==0 ) return SQLITE_MISUSE_BKPT; +#endif + + MUTEX_LOGIC( mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER); ) + sqlite3_mutex_enter(mutex); + vfsUnlink(pVfs); + if( makeDflt || vfsList==0 ){ + pVfs->pNext = vfsList; + vfsList = pVfs; + }else{ + pVfs->pNext = vfsList->pNext; + vfsList->pNext = pVfs; + } + assert(vfsList); + sqlite3_mutex_leave(mutex); + return SQLITE_OK; +} + +/* +** Unregister a VFS so that it is no longer accessible. +*/ +SQLITE_API int sqlite3_vfs_unregister(sqlite3_vfs *pVfs){ + MUTEX_LOGIC(sqlite3_mutex *mutex;) +#ifndef SQLITE_OMIT_AUTOINIT + int rc = sqlite3_initialize(); + if( rc ) return rc; +#endif + MUTEX_LOGIC( mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER); ) + sqlite3_mutex_enter(mutex); + vfsUnlink(pVfs); + sqlite3_mutex_leave(mutex); + return SQLITE_OK; +} + +/************** End of os.c **************************************************/ +/************** Begin file fault.c *******************************************/ +/* +** 2008 Jan 22 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains code to support the concept of "benign" +** malloc failures (when the xMalloc() or xRealloc() method of the +** sqlite3_mem_methods structure fails to allocate a block of memory +** and returns 0). +** +** Most malloc failures are non-benign. After they occur, SQLite +** abandons the current operation and returns an error code (usually +** SQLITE_NOMEM) to the user. However, sometimes a fault is not necessarily +** fatal. For example, if a malloc fails while resizing a hash table, this +** is completely recoverable simply by not carrying out the resize. The +** hash table will continue to function normally. So a malloc failure +** during a hash table resize is a benign fault. +*/ + +/* #include "sqliteInt.h" */ + +#ifndef SQLITE_UNTESTABLE + +/* +** Global variables. +*/ +typedef struct BenignMallocHooks BenignMallocHooks; +static SQLITE_WSD struct BenignMallocHooks { + void (*xBenignBegin)(void); + void (*xBenignEnd)(void); +} sqlite3Hooks = { 0, 0 }; + +/* The "wsdHooks" macro will resolve to the appropriate BenignMallocHooks +** structure. If writable static data is unsupported on the target, +** we have to locate the state vector at run-time. In the more common +** case where writable static data is supported, wsdHooks can refer directly +** to the "sqlite3Hooks" state vector declared above. +*/ +#ifdef SQLITE_OMIT_WSD +# define wsdHooksInit \ + BenignMallocHooks *x = &GLOBAL(BenignMallocHooks,sqlite3Hooks) +# define wsdHooks x[0] +#else +# define wsdHooksInit +# define wsdHooks sqlite3Hooks +#endif + + +/* +** Register hooks to call when sqlite3BeginBenignMalloc() and +** sqlite3EndBenignMalloc() are called, respectively. +*/ +SQLITE_PRIVATE void sqlite3BenignMallocHooks( + void (*xBenignBegin)(void), + void (*xBenignEnd)(void) +){ + wsdHooksInit; + wsdHooks.xBenignBegin = xBenignBegin; + wsdHooks.xBenignEnd = xBenignEnd; +} + +/* +** This (sqlite3EndBenignMalloc()) is called by SQLite code to indicate that +** subsequent malloc failures are benign. A call to sqlite3EndBenignMalloc() +** indicates that subsequent malloc failures are non-benign. +*/ +SQLITE_PRIVATE void sqlite3BeginBenignMalloc(void){ + wsdHooksInit; + if( wsdHooks.xBenignBegin ){ + wsdHooks.xBenignBegin(); + } +} +SQLITE_PRIVATE void sqlite3EndBenignMalloc(void){ + wsdHooksInit; + if( wsdHooks.xBenignEnd ){ + wsdHooks.xBenignEnd(); + } +} + +#endif /* #ifndef SQLITE_UNTESTABLE */ + +/************** End of fault.c ***********************************************/ +/************** Begin file mem0.c ********************************************/ +/* +** 2008 October 28 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains a no-op memory allocation drivers for use when +** SQLITE_ZERO_MALLOC is defined. The allocation drivers implemented +** here always fail. SQLite will not operate with these drivers. These +** are merely placeholders. Real drivers must be substituted using +** sqlite3_config() before SQLite will operate. +*/ +/* #include "sqliteInt.h" */ + +/* +** This version of the memory allocator is the default. It is +** used when no other memory allocator is specified using compile-time +** macros. +*/ +#ifdef SQLITE_ZERO_MALLOC + +/* +** No-op versions of all memory allocation routines +*/ +static void *sqlite3MemMalloc(int nByte){ return 0; } +static void sqlite3MemFree(void *pPrior){ return; } +static void *sqlite3MemRealloc(void *pPrior, int nByte){ return 0; } +static int sqlite3MemSize(void *pPrior){ return 0; } +static int sqlite3MemRoundup(int n){ return n; } +static int sqlite3MemInit(void *NotUsed){ return SQLITE_OK; } +static void sqlite3MemShutdown(void *NotUsed){ return; } + +/* +** This routine is the only routine in this file with external linkage. +** +** Populate the low-level memory allocation function pointers in +** sqlite3GlobalConfig.m with pointers to the routines in this file. +*/ +SQLITE_PRIVATE void sqlite3MemSetDefault(void){ + static const sqlite3_mem_methods defaultMethods = { + sqlite3MemMalloc, + sqlite3MemFree, + sqlite3MemRealloc, + sqlite3MemSize, + sqlite3MemRoundup, + sqlite3MemInit, + sqlite3MemShutdown, + 0 + }; + sqlite3_config(SQLITE_CONFIG_MALLOC, &defaultMethods); +} + +#endif /* SQLITE_ZERO_MALLOC */ + +/************** End of mem0.c ************************************************/ +/************** Begin file mem1.c ********************************************/ +/* +** 2007 August 14 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains low-level memory allocation drivers for when +** SQLite will use the standard C-library malloc/realloc/free interface +** to obtain the memory it needs. +** +** This file contains implementations of the low-level memory allocation +** routines specified in the sqlite3_mem_methods object. The content of +** this file is only used if SQLITE_SYSTEM_MALLOC is defined. The +** SQLITE_SYSTEM_MALLOC macro is defined automatically if neither the +** SQLITE_MEMDEBUG nor the SQLITE_WIN32_MALLOC macros are defined. The +** default configuration is to use memory allocation routines in this +** file. +** +** C-preprocessor macro summary: +** +** HAVE_MALLOC_USABLE_SIZE The configure script sets this symbol if +** the malloc_usable_size() interface exists +** on the target platform. Or, this symbol +** can be set manually, if desired. +** If an equivalent interface exists by +** a different name, using a separate -D +** option to rename it. +** +** SQLITE_WITHOUT_ZONEMALLOC Some older macs lack support for the zone +** memory allocator. Set this symbol to enable +** building on older macs. +** +** SQLITE_WITHOUT_MSIZE Set this symbol to disable the use of +** _msize() on windows systems. This might +** be necessary when compiling for Delphi, +** for example. +*/ +/* #include "sqliteInt.h" */ + +/* +** This version of the memory allocator is the default. It is +** used when no other memory allocator is specified using compile-time +** macros. +*/ +#ifdef SQLITE_SYSTEM_MALLOC +#if defined(__APPLE__) && !defined(SQLITE_WITHOUT_ZONEMALLOC) + +/* +** Use the zone allocator available on apple products unless the +** SQLITE_WITHOUT_ZONEMALLOC symbol is defined. +*/ +#include +#include +#ifdef SQLITE_MIGHT_BE_SINGLE_CORE +#include +#endif /* SQLITE_MIGHT_BE_SINGLE_CORE */ +static malloc_zone_t* _sqliteZone_; +#define SQLITE_MALLOC(x) malloc_zone_malloc(_sqliteZone_, (x)) +#define SQLITE_FREE(x) malloc_zone_free(_sqliteZone_, (x)); +#define SQLITE_REALLOC(x,y) malloc_zone_realloc(_sqliteZone_, (x), (y)) +#define SQLITE_MALLOCSIZE(x) \ + (_sqliteZone_ ? _sqliteZone_->size(_sqliteZone_,x) : malloc_size(x)) + +#else /* if not __APPLE__ */ + +/* +** Use standard C library malloc and free on non-Apple systems. +** Also used by Apple systems if SQLITE_WITHOUT_ZONEMALLOC is defined. +*/ +#define SQLITE_MALLOC(x) malloc(x) +#define SQLITE_FREE(x) free(x) +#define SQLITE_REALLOC(x,y) realloc((x),(y)) + +/* +** The malloc.h header file is needed for malloc_usable_size() function +** on some systems (e.g. Linux). +*/ +#if HAVE_MALLOC_H && HAVE_MALLOC_USABLE_SIZE +# define SQLITE_USE_MALLOC_H 1 +# define SQLITE_USE_MALLOC_USABLE_SIZE 1 +/* +** The MSVCRT has malloc_usable_size(), but it is called _msize(). The +** use of _msize() is automatic, but can be disabled by compiling with +** -DSQLITE_WITHOUT_MSIZE. Using the _msize() function also requires +** the malloc.h header file. +*/ +#elif defined(_MSC_VER) && !defined(SQLITE_WITHOUT_MSIZE) +# define SQLITE_USE_MALLOC_H +# define SQLITE_USE_MSIZE +#endif + +/* +** Include the malloc.h header file, if necessary. Also set define macro +** SQLITE_MALLOCSIZE to the appropriate function name, which is _msize() +** for MSVC and malloc_usable_size() for most other systems (e.g. Linux). +** The memory size function can always be overridden manually by defining +** the macro SQLITE_MALLOCSIZE to the desired function name. +*/ +#if defined(SQLITE_USE_MALLOC_H) +# include +# if defined(SQLITE_USE_MALLOC_USABLE_SIZE) +# if !defined(SQLITE_MALLOCSIZE) +# define SQLITE_MALLOCSIZE(x) malloc_usable_size(x) +# endif +# elif defined(SQLITE_USE_MSIZE) +# if !defined(SQLITE_MALLOCSIZE) +# define SQLITE_MALLOCSIZE _msize +# endif +# endif +#endif /* defined(SQLITE_USE_MALLOC_H) */ + +#endif /* __APPLE__ or not __APPLE__ */ + +/* +** Like malloc(), but remember the size of the allocation +** so that we can find it later using sqlite3MemSize(). +** +** For this low-level routine, we are guaranteed that nByte>0 because +** cases of nByte<=0 will be intercepted and dealt with by higher level +** routines. +*/ +static void *sqlite3MemMalloc(int nByte){ +#ifdef SQLITE_MALLOCSIZE + void *p; + testcase( ROUND8(nByte)==nByte ); + p = SQLITE_MALLOC( nByte ); + if( p==0 ){ + testcase( sqlite3GlobalConfig.xLog!=0 ); + sqlite3_log(SQLITE_NOMEM, "failed to allocate %u bytes of memory", nByte); + } + return p; +#else + sqlite3_int64 *p; + assert( nByte>0 ); + testcase( ROUND8(nByte)!=nByte ); + p = SQLITE_MALLOC( nByte+8 ); + if( p ){ + p[0] = nByte; + p++; + }else{ + testcase( sqlite3GlobalConfig.xLog!=0 ); + sqlite3_log(SQLITE_NOMEM, "failed to allocate %u bytes of memory", nByte); + } + return (void *)p; +#endif +} + +/* +** Like free() but works for allocations obtained from sqlite3MemMalloc() +** or sqlite3MemRealloc(). +** +** For this low-level routine, we already know that pPrior!=0 since +** cases where pPrior==0 will have been intecepted and dealt with +** by higher-level routines. +*/ +static void sqlite3MemFree(void *pPrior){ +#ifdef SQLITE_MALLOCSIZE + SQLITE_FREE(pPrior); +#else + sqlite3_int64 *p = (sqlite3_int64*)pPrior; + assert( pPrior!=0 ); + p--; + SQLITE_FREE(p); +#endif +} + +/* +** Report the allocated size of a prior return from xMalloc() +** or xRealloc(). +*/ +static int sqlite3MemSize(void *pPrior){ +#ifdef SQLITE_MALLOCSIZE + assert( pPrior!=0 ); + return (int)SQLITE_MALLOCSIZE(pPrior); +#else + sqlite3_int64 *p; + assert( pPrior!=0 ); + p = (sqlite3_int64*)pPrior; + p--; + return (int)p[0]; +#endif +} + +/* +** Like realloc(). Resize an allocation previously obtained from +** sqlite3MemMalloc(). +** +** For this low-level interface, we know that pPrior!=0. Cases where +** pPrior==0 while have been intercepted by higher-level routine and +** redirected to xMalloc. Similarly, we know that nByte>0 because +** cases where nByte<=0 will have been intercepted by higher-level +** routines and redirected to xFree. +*/ +static void *sqlite3MemRealloc(void *pPrior, int nByte){ +#ifdef SQLITE_MALLOCSIZE + void *p = SQLITE_REALLOC(pPrior, nByte); + if( p==0 ){ + testcase( sqlite3GlobalConfig.xLog!=0 ); + sqlite3_log(SQLITE_NOMEM, + "failed memory resize %u to %u bytes", + SQLITE_MALLOCSIZE(pPrior), nByte); + } + return p; +#else + sqlite3_int64 *p = (sqlite3_int64*)pPrior; + assert( pPrior!=0 && nByte>0 ); + assert( nByte==ROUND8(nByte) ); /* EV: R-46199-30249 */ + p--; + p = SQLITE_REALLOC(p, nByte+8 ); + if( p ){ + p[0] = nByte; + p++; + }else{ + testcase( sqlite3GlobalConfig.xLog!=0 ); + sqlite3_log(SQLITE_NOMEM, + "failed memory resize %u to %u bytes", + sqlite3MemSize(pPrior), nByte); + } + return (void*)p; +#endif +} + +/* +** Round up a request size to the next valid allocation size. +*/ +static int sqlite3MemRoundup(int n){ + return ROUND8(n); +} + +/* +** Initialize this module. +*/ +static int sqlite3MemInit(void *NotUsed){ +#if defined(__APPLE__) && !defined(SQLITE_WITHOUT_ZONEMALLOC) + int cpuCount; + size_t len; + if( _sqliteZone_ ){ + return SQLITE_OK; + } + len = sizeof(cpuCount); + /* One usually wants to use hw.acctivecpu for MT decisions, but not here */ + sysctlbyname("hw.ncpu", &cpuCount, &len, NULL, 0); + if( cpuCount>1 ){ + /* defer MT decisions to system malloc */ + _sqliteZone_ = malloc_default_zone(); + }else{ + /* only 1 core, use our own zone to contention over global locks, + ** e.g. we have our own dedicated locks */ + _sqliteZone_ = malloc_create_zone(4096, 0); + malloc_set_zone_name(_sqliteZone_, "Sqlite_Heap"); + } +#endif /* defined(__APPLE__) && !defined(SQLITE_WITHOUT_ZONEMALLOC) */ + UNUSED_PARAMETER(NotUsed); + return SQLITE_OK; +} + +/* +** Deinitialize this module. +*/ +static void sqlite3MemShutdown(void *NotUsed){ + UNUSED_PARAMETER(NotUsed); + return; +} + +/* +** This routine is the only routine in this file with external linkage. +** +** Populate the low-level memory allocation function pointers in +** sqlite3GlobalConfig.m with pointers to the routines in this file. +*/ +SQLITE_PRIVATE void sqlite3MemSetDefault(void){ + static const sqlite3_mem_methods defaultMethods = { + sqlite3MemMalloc, + sqlite3MemFree, + sqlite3MemRealloc, + sqlite3MemSize, + sqlite3MemRoundup, + sqlite3MemInit, + sqlite3MemShutdown, + 0 + }; + sqlite3_config(SQLITE_CONFIG_MALLOC, &defaultMethods); +} + +#endif /* SQLITE_SYSTEM_MALLOC */ + +/************** End of mem1.c ************************************************/ +/************** Begin file mem2.c ********************************************/ +/* +** 2007 August 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains low-level memory allocation drivers for when +** SQLite will use the standard C-library malloc/realloc/free interface +** to obtain the memory it needs while adding lots of additional debugging +** information to each allocation in order to help detect and fix memory +** leaks and memory usage errors. +** +** This file contains implementations of the low-level memory allocation +** routines specified in the sqlite3_mem_methods object. +*/ +/* #include "sqliteInt.h" */ + +/* +** This version of the memory allocator is used only if the +** SQLITE_MEMDEBUG macro is defined +*/ +#ifdef SQLITE_MEMDEBUG + +/* +** The backtrace functionality is only available with GLIBC +*/ +#ifdef __GLIBC__ + extern int backtrace(void**,int); + extern void backtrace_symbols_fd(void*const*,int,int); +#else +# define backtrace(A,B) 1 +# define backtrace_symbols_fd(A,B,C) +#endif +/* #include */ + +/* +** Each memory allocation looks like this: +** +** ------------------------------------------------------------------------ +** | Title | backtrace pointers | MemBlockHdr | allocation | EndGuard | +** ------------------------------------------------------------------------ +** +** The application code sees only a pointer to the allocation. We have +** to back up from the allocation pointer to find the MemBlockHdr. The +** MemBlockHdr tells us the size of the allocation and the number of +** backtrace pointers. There is also a guard word at the end of the +** MemBlockHdr. +*/ +struct MemBlockHdr { + i64 iSize; /* Size of this allocation */ + struct MemBlockHdr *pNext, *pPrev; /* Linked list of all unfreed memory */ + char nBacktrace; /* Number of backtraces on this alloc */ + char nBacktraceSlots; /* Available backtrace slots */ + u8 nTitle; /* Bytes of title; includes '\0' */ + u8 eType; /* Allocation type code */ + int iForeGuard; /* Guard word for sanity */ +}; + +/* +** Guard words +*/ +#define FOREGUARD 0x80F5E153 +#define REARGUARD 0xE4676B53 + +/* +** Number of malloc size increments to track. +*/ +#define NCSIZE 1000 + +/* +** All of the static variables used by this module are collected +** into a single structure named "mem". This is to keep the +** static variables organized and to reduce namespace pollution +** when this module is combined with other in the amalgamation. +*/ +static struct { + + /* + ** Mutex to control access to the memory allocation subsystem. + */ + sqlite3_mutex *mutex; + + /* + ** Head and tail of a linked list of all outstanding allocations + */ + struct MemBlockHdr *pFirst; + struct MemBlockHdr *pLast; + + /* + ** The number of levels of backtrace to save in new allocations. + */ + int nBacktrace; + void (*xBacktrace)(int, int, void **); + + /* + ** Title text to insert in front of each block + */ + int nTitle; /* Bytes of zTitle to save. Includes '\0' and padding */ + char zTitle[100]; /* The title text */ + + /* + ** sqlite3MallocDisallow() increments the following counter. + ** sqlite3MallocAllow() decrements it. + */ + int disallow; /* Do not allow memory allocation */ + + /* + ** Gather statistics on the sizes of memory allocations. + ** nAlloc[i] is the number of allocation attempts of i*8 + ** bytes. i==NCSIZE is the number of allocation attempts for + ** sizes more than NCSIZE*8 bytes. + */ + int nAlloc[NCSIZE]; /* Total number of allocations */ + int nCurrent[NCSIZE]; /* Current number of allocations */ + int mxCurrent[NCSIZE]; /* Highwater mark for nCurrent */ + +} mem; + + +/* +** Adjust memory usage statistics +*/ +static void adjustStats(int iSize, int increment){ + int i = ROUND8(iSize)/8; + if( i>NCSIZE-1 ){ + i = NCSIZE - 1; + } + if( increment>0 ){ + mem.nAlloc[i]++; + mem.nCurrent[i]++; + if( mem.nCurrent[i]>mem.mxCurrent[i] ){ + mem.mxCurrent[i] = mem.nCurrent[i]; + } + }else{ + mem.nCurrent[i]--; + assert( mem.nCurrent[i]>=0 ); + } +} + +/* +** Given an allocation, find the MemBlockHdr for that allocation. +** +** This routine checks the guards at either end of the allocation and +** if they are incorrect it asserts. +*/ +static struct MemBlockHdr *sqlite3MemsysGetHeader(void *pAllocation){ + struct MemBlockHdr *p; + int *pInt; + u8 *pU8; + int nReserve; + + p = (struct MemBlockHdr*)pAllocation; + p--; + assert( p->iForeGuard==(int)FOREGUARD ); + nReserve = ROUND8(p->iSize); + pInt = (int*)pAllocation; + pU8 = (u8*)pAllocation; + assert( pInt[nReserve/sizeof(int)]==(int)REARGUARD ); + /* This checks any of the "extra" bytes allocated due + ** to rounding up to an 8 byte boundary to ensure + ** they haven't been overwritten. + */ + while( nReserve-- > p->iSize ) assert( pU8[nReserve]==0x65 ); + return p; +} + +/* +** Return the number of bytes currently allocated at address p. +*/ +static int sqlite3MemSize(void *p){ + struct MemBlockHdr *pHdr; + if( !p ){ + return 0; + } + pHdr = sqlite3MemsysGetHeader(p); + return (int)pHdr->iSize; +} + +/* +** Initialize the memory allocation subsystem. +*/ +static int sqlite3MemInit(void *NotUsed){ + UNUSED_PARAMETER(NotUsed); + assert( (sizeof(struct MemBlockHdr)&7) == 0 ); + if( !sqlite3GlobalConfig.bMemstat ){ + /* If memory status is enabled, then the malloc.c wrapper will already + ** hold the STATIC_MEM mutex when the routines here are invoked. */ + mem.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MEM); + } + return SQLITE_OK; +} + +/* +** Deinitialize the memory allocation subsystem. +*/ +static void sqlite3MemShutdown(void *NotUsed){ + UNUSED_PARAMETER(NotUsed); + mem.mutex = 0; +} + +/* +** Round up a request size to the next valid allocation size. +*/ +static int sqlite3MemRoundup(int n){ + return ROUND8(n); +} + +/* +** Fill a buffer with pseudo-random bytes. This is used to preset +** the content of a new memory allocation to unpredictable values and +** to clear the content of a freed allocation to unpredictable values. +*/ +static void randomFill(char *pBuf, int nByte){ + unsigned int x, y, r; + x = SQLITE_PTR_TO_INT(pBuf); + y = nByte | 1; + while( nByte >= 4 ){ + x = (x>>1) ^ (-(int)(x&1) & 0xd0000001); + y = y*1103515245 + 12345; + r = x ^ y; + *(int*)pBuf = r; + pBuf += 4; + nByte -= 4; + } + while( nByte-- > 0 ){ + x = (x>>1) ^ (-(int)(x&1) & 0xd0000001); + y = y*1103515245 + 12345; + r = x ^ y; + *(pBuf++) = r & 0xff; + } +} + +/* +** Allocate nByte bytes of memory. +*/ +static void *sqlite3MemMalloc(int nByte){ + struct MemBlockHdr *pHdr; + void **pBt; + char *z; + int *pInt; + void *p = 0; + int totalSize; + int nReserve; + sqlite3_mutex_enter(mem.mutex); + assert( mem.disallow==0 ); + nReserve = ROUND8(nByte); + totalSize = nReserve + sizeof(*pHdr) + sizeof(int) + + mem.nBacktrace*sizeof(void*) + mem.nTitle; + p = malloc(totalSize); + if( p ){ + z = p; + pBt = (void**)&z[mem.nTitle]; + pHdr = (struct MemBlockHdr*)&pBt[mem.nBacktrace]; + pHdr->pNext = 0; + pHdr->pPrev = mem.pLast; + if( mem.pLast ){ + mem.pLast->pNext = pHdr; + }else{ + mem.pFirst = pHdr; + } + mem.pLast = pHdr; + pHdr->iForeGuard = FOREGUARD; + pHdr->eType = MEMTYPE_HEAP; + pHdr->nBacktraceSlots = mem.nBacktrace; + pHdr->nTitle = mem.nTitle; + if( mem.nBacktrace ){ + void *aAddr[40]; + pHdr->nBacktrace = backtrace(aAddr, mem.nBacktrace+1)-1; + memcpy(pBt, &aAddr[1], pHdr->nBacktrace*sizeof(void*)); + assert(pBt[0]); + if( mem.xBacktrace ){ + mem.xBacktrace(nByte, pHdr->nBacktrace-1, &aAddr[1]); + } + }else{ + pHdr->nBacktrace = 0; + } + if( mem.nTitle ){ + memcpy(z, mem.zTitle, mem.nTitle); + } + pHdr->iSize = nByte; + adjustStats(nByte, +1); + pInt = (int*)&pHdr[1]; + pInt[nReserve/sizeof(int)] = REARGUARD; + randomFill((char*)pInt, nByte); + memset(((char*)pInt)+nByte, 0x65, nReserve-nByte); + p = (void*)pInt; + } + sqlite3_mutex_leave(mem.mutex); + return p; +} + +/* +** Free memory. +*/ +static void sqlite3MemFree(void *pPrior){ + struct MemBlockHdr *pHdr; + void **pBt; + char *z; + assert( sqlite3GlobalConfig.bMemstat || sqlite3GlobalConfig.bCoreMutex==0 + || mem.mutex!=0 ); + pHdr = sqlite3MemsysGetHeader(pPrior); + pBt = (void**)pHdr; + pBt -= pHdr->nBacktraceSlots; + sqlite3_mutex_enter(mem.mutex); + if( pHdr->pPrev ){ + assert( pHdr->pPrev->pNext==pHdr ); + pHdr->pPrev->pNext = pHdr->pNext; + }else{ + assert( mem.pFirst==pHdr ); + mem.pFirst = pHdr->pNext; + } + if( pHdr->pNext ){ + assert( pHdr->pNext->pPrev==pHdr ); + pHdr->pNext->pPrev = pHdr->pPrev; + }else{ + assert( mem.pLast==pHdr ); + mem.pLast = pHdr->pPrev; + } + z = (char*)pBt; + z -= pHdr->nTitle; + adjustStats((int)pHdr->iSize, -1); + randomFill(z, sizeof(void*)*pHdr->nBacktraceSlots + sizeof(*pHdr) + + (int)pHdr->iSize + sizeof(int) + pHdr->nTitle); + free(z); + sqlite3_mutex_leave(mem.mutex); +} + +/* +** Change the size of an existing memory allocation. +** +** For this debugging implementation, we *always* make a copy of the +** allocation into a new place in memory. In this way, if the +** higher level code is using pointer to the old allocation, it is +** much more likely to break and we are much more liking to find +** the error. +*/ +static void *sqlite3MemRealloc(void *pPrior, int nByte){ + struct MemBlockHdr *pOldHdr; + void *pNew; + assert( mem.disallow==0 ); + assert( (nByte & 7)==0 ); /* EV: R-46199-30249 */ + pOldHdr = sqlite3MemsysGetHeader(pPrior); + pNew = sqlite3MemMalloc(nByte); + if( pNew ){ + memcpy(pNew, pPrior, (int)(nByteiSize ? nByte : pOldHdr->iSize)); + if( nByte>pOldHdr->iSize ){ + randomFill(&((char*)pNew)[pOldHdr->iSize], nByte - (int)pOldHdr->iSize); + } + sqlite3MemFree(pPrior); + } + return pNew; +} + +/* +** Populate the low-level memory allocation function pointers in +** sqlite3GlobalConfig.m with pointers to the routines in this file. +*/ +SQLITE_PRIVATE void sqlite3MemSetDefault(void){ + static const sqlite3_mem_methods defaultMethods = { + sqlite3MemMalloc, + sqlite3MemFree, + sqlite3MemRealloc, + sqlite3MemSize, + sqlite3MemRoundup, + sqlite3MemInit, + sqlite3MemShutdown, + 0 + }; + sqlite3_config(SQLITE_CONFIG_MALLOC, &defaultMethods); +} + +/* +** Set the "type" of an allocation. +*/ +SQLITE_PRIVATE void sqlite3MemdebugSetType(void *p, u8 eType){ + if( p && sqlite3GlobalConfig.m.xMalloc==sqlite3MemMalloc ){ + struct MemBlockHdr *pHdr; + pHdr = sqlite3MemsysGetHeader(p); + assert( pHdr->iForeGuard==FOREGUARD ); + pHdr->eType = eType; + } +} + +/* +** Return TRUE if the mask of type in eType matches the type of the +** allocation p. Also return true if p==NULL. +** +** This routine is designed for use within an assert() statement, to +** verify the type of an allocation. For example: +** +** assert( sqlite3MemdebugHasType(p, MEMTYPE_HEAP) ); +*/ +SQLITE_PRIVATE int sqlite3MemdebugHasType(void *p, u8 eType){ + int rc = 1; + if( p && sqlite3GlobalConfig.m.xMalloc==sqlite3MemMalloc ){ + struct MemBlockHdr *pHdr; + pHdr = sqlite3MemsysGetHeader(p); + assert( pHdr->iForeGuard==FOREGUARD ); /* Allocation is valid */ + if( (pHdr->eType&eType)==0 ){ + rc = 0; + } + } + return rc; +} + +/* +** Return TRUE if the mask of type in eType matches no bits of the type of the +** allocation p. Also return true if p==NULL. +** +** This routine is designed for use within an assert() statement, to +** verify the type of an allocation. For example: +** +** assert( sqlite3MemdebugNoType(p, MEMTYPE_LOOKASIDE) ); +*/ +SQLITE_PRIVATE int sqlite3MemdebugNoType(void *p, u8 eType){ + int rc = 1; + if( p && sqlite3GlobalConfig.m.xMalloc==sqlite3MemMalloc ){ + struct MemBlockHdr *pHdr; + pHdr = sqlite3MemsysGetHeader(p); + assert( pHdr->iForeGuard==FOREGUARD ); /* Allocation is valid */ + if( (pHdr->eType&eType)!=0 ){ + rc = 0; + } + } + return rc; +} + +/* +** Set the number of backtrace levels kept for each allocation. +** A value of zero turns off backtracing. The number is always rounded +** up to a multiple of 2. +*/ +SQLITE_PRIVATE void sqlite3MemdebugBacktrace(int depth){ + if( depth<0 ){ depth = 0; } + if( depth>20 ){ depth = 20; } + depth = (depth+1)&0xfe; + mem.nBacktrace = depth; +} + +SQLITE_PRIVATE void sqlite3MemdebugBacktraceCallback(void (*xBacktrace)(int, int, void **)){ + mem.xBacktrace = xBacktrace; +} + +/* +** Set the title string for subsequent allocations. +*/ +SQLITE_PRIVATE void sqlite3MemdebugSettitle(const char *zTitle){ + unsigned int n = sqlite3Strlen30(zTitle) + 1; + sqlite3_mutex_enter(mem.mutex); + if( n>=sizeof(mem.zTitle) ) n = sizeof(mem.zTitle)-1; + memcpy(mem.zTitle, zTitle, n); + mem.zTitle[n] = 0; + mem.nTitle = ROUND8(n); + sqlite3_mutex_leave(mem.mutex); +} + +SQLITE_PRIVATE void sqlite3MemdebugSync(){ + struct MemBlockHdr *pHdr; + for(pHdr=mem.pFirst; pHdr; pHdr=pHdr->pNext){ + void **pBt = (void**)pHdr; + pBt -= pHdr->nBacktraceSlots; + mem.xBacktrace((int)pHdr->iSize, pHdr->nBacktrace-1, &pBt[1]); + } +} + +/* +** Open the file indicated and write a log of all unfreed memory +** allocations into that log. +*/ +SQLITE_PRIVATE void sqlite3MemdebugDump(const char *zFilename){ + FILE *out; + struct MemBlockHdr *pHdr; + void **pBt; + int i; + out = fopen(zFilename, "w"); + if( out==0 ){ + fprintf(stderr, "** Unable to output memory debug output log: %s **\n", + zFilename); + return; + } + for(pHdr=mem.pFirst; pHdr; pHdr=pHdr->pNext){ + char *z = (char*)pHdr; + z -= pHdr->nBacktraceSlots*sizeof(void*) + pHdr->nTitle; + fprintf(out, "**** %lld bytes at %p from %s ****\n", + pHdr->iSize, &pHdr[1], pHdr->nTitle ? z : "???"); + if( pHdr->nBacktrace ){ + fflush(out); + pBt = (void**)pHdr; + pBt -= pHdr->nBacktraceSlots; + backtrace_symbols_fd(pBt, pHdr->nBacktrace, fileno(out)); + fprintf(out, "\n"); + } + } + fprintf(out, "COUNTS:\n"); + for(i=0; i=1 ); + size = mem3.aPool[i-1].u.hdr.size4x/4; + assert( size==mem3.aPool[i+size-1].u.hdr.prevSize ); + assert( size>=2 ); + if( size <= MX_SMALL ){ + memsys3UnlinkFromList(i, &mem3.aiSmall[size-2]); + }else{ + hash = size % N_HASH; + memsys3UnlinkFromList(i, &mem3.aiHash[hash]); + } +} + +/* +** Link the chunk at mem3.aPool[i] so that is on the list rooted +** at *pRoot. +*/ +static void memsys3LinkIntoList(u32 i, u32 *pRoot){ + assert( sqlite3_mutex_held(mem3.mutex) ); + mem3.aPool[i].u.list.next = *pRoot; + mem3.aPool[i].u.list.prev = 0; + if( *pRoot ){ + mem3.aPool[*pRoot].u.list.prev = i; + } + *pRoot = i; +} + +/* +** Link the chunk at index i into either the appropriate +** small chunk list, or into the large chunk hash table. +*/ +static void memsys3Link(u32 i){ + u32 size, hash; + assert( sqlite3_mutex_held(mem3.mutex) ); + assert( i>=1 ); + assert( (mem3.aPool[i-1].u.hdr.size4x & 1)==0 ); + size = mem3.aPool[i-1].u.hdr.size4x/4; + assert( size==mem3.aPool[i+size-1].u.hdr.prevSize ); + assert( size>=2 ); + if( size <= MX_SMALL ){ + memsys3LinkIntoList(i, &mem3.aiSmall[size-2]); + }else{ + hash = size % N_HASH; + memsys3LinkIntoList(i, &mem3.aiHash[hash]); + } +} + +/* +** If the STATIC_MEM mutex is not already held, obtain it now. The mutex +** will already be held (obtained by code in malloc.c) if +** sqlite3GlobalConfig.bMemStat is true. +*/ +static void memsys3Enter(void){ + if( sqlite3GlobalConfig.bMemstat==0 && mem3.mutex==0 ){ + mem3.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MEM); + } + sqlite3_mutex_enter(mem3.mutex); +} +static void memsys3Leave(void){ + sqlite3_mutex_leave(mem3.mutex); +} + +/* +** Called when we are unable to satisfy an allocation of nBytes. +*/ +static void memsys3OutOfMemory(int nByte){ + if( !mem3.alarmBusy ){ + mem3.alarmBusy = 1; + assert( sqlite3_mutex_held(mem3.mutex) ); + sqlite3_mutex_leave(mem3.mutex); + sqlite3_release_memory(nByte); + sqlite3_mutex_enter(mem3.mutex); + mem3.alarmBusy = 0; + } +} + + +/* +** Chunk i is a free chunk that has been unlinked. Adjust its +** size parameters for check-out and return a pointer to the +** user portion of the chunk. +*/ +static void *memsys3Checkout(u32 i, u32 nBlock){ + u32 x; + assert( sqlite3_mutex_held(mem3.mutex) ); + assert( i>=1 ); + assert( mem3.aPool[i-1].u.hdr.size4x/4==nBlock ); + assert( mem3.aPool[i+nBlock-1].u.hdr.prevSize==nBlock ); + x = mem3.aPool[i-1].u.hdr.size4x; + mem3.aPool[i-1].u.hdr.size4x = nBlock*4 | 1 | (x&2); + mem3.aPool[i+nBlock-1].u.hdr.prevSize = nBlock; + mem3.aPool[i+nBlock-1].u.hdr.size4x |= 2; + return &mem3.aPool[i]; +} + +/* +** Carve a piece off of the end of the mem3.iMaster free chunk. +** Return a pointer to the new allocation. Or, if the master chunk +** is not large enough, return 0. +*/ +static void *memsys3FromMaster(u32 nBlock){ + assert( sqlite3_mutex_held(mem3.mutex) ); + assert( mem3.szMaster>=nBlock ); + if( nBlock>=mem3.szMaster-1 ){ + /* Use the entire master */ + void *p = memsys3Checkout(mem3.iMaster, mem3.szMaster); + mem3.iMaster = 0; + mem3.szMaster = 0; + mem3.mnMaster = 0; + return p; + }else{ + /* Split the master block. Return the tail. */ + u32 newi, x; + newi = mem3.iMaster + mem3.szMaster - nBlock; + assert( newi > mem3.iMaster+1 ); + mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.prevSize = nBlock; + mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.size4x |= 2; + mem3.aPool[newi-1].u.hdr.size4x = nBlock*4 + 1; + mem3.szMaster -= nBlock; + mem3.aPool[newi-1].u.hdr.prevSize = mem3.szMaster; + x = mem3.aPool[mem3.iMaster-1].u.hdr.size4x & 2; + mem3.aPool[mem3.iMaster-1].u.hdr.size4x = mem3.szMaster*4 | x; + if( mem3.szMaster < mem3.mnMaster ){ + mem3.mnMaster = mem3.szMaster; + } + return (void*)&mem3.aPool[newi]; + } +} + +/* +** *pRoot is the head of a list of free chunks of the same size +** or same size hash. In other words, *pRoot is an entry in either +** mem3.aiSmall[] or mem3.aiHash[]. +** +** This routine examines all entries on the given list and tries +** to coalesce each entries with adjacent free chunks. +** +** If it sees a chunk that is larger than mem3.iMaster, it replaces +** the current mem3.iMaster with the new larger chunk. In order for +** this mem3.iMaster replacement to work, the master chunk must be +** linked into the hash tables. That is not the normal state of +** affairs, of course. The calling routine must link the master +** chunk before invoking this routine, then must unlink the (possibly +** changed) master chunk once this routine has finished. +*/ +static void memsys3Merge(u32 *pRoot){ + u32 iNext, prev, size, i, x; + + assert( sqlite3_mutex_held(mem3.mutex) ); + for(i=*pRoot; i>0; i=iNext){ + iNext = mem3.aPool[i].u.list.next; + size = mem3.aPool[i-1].u.hdr.size4x; + assert( (size&1)==0 ); + if( (size&2)==0 ){ + memsys3UnlinkFromList(i, pRoot); + assert( i > mem3.aPool[i-1].u.hdr.prevSize ); + prev = i - mem3.aPool[i-1].u.hdr.prevSize; + if( prev==iNext ){ + iNext = mem3.aPool[prev].u.list.next; + } + memsys3Unlink(prev); + size = i + size/4 - prev; + x = mem3.aPool[prev-1].u.hdr.size4x & 2; + mem3.aPool[prev-1].u.hdr.size4x = size*4 | x; + mem3.aPool[prev+size-1].u.hdr.prevSize = size; + memsys3Link(prev); + i = prev; + }else{ + size /= 4; + } + if( size>mem3.szMaster ){ + mem3.iMaster = i; + mem3.szMaster = size; + } + } +} + +/* +** Return a block of memory of at least nBytes in size. +** Return NULL if unable. +** +** This function assumes that the necessary mutexes, if any, are +** already held by the caller. Hence "Unsafe". +*/ +static void *memsys3MallocUnsafe(int nByte){ + u32 i; + u32 nBlock; + u32 toFree; + + assert( sqlite3_mutex_held(mem3.mutex) ); + assert( sizeof(Mem3Block)==8 ); + if( nByte<=12 ){ + nBlock = 2; + }else{ + nBlock = (nByte + 11)/8; + } + assert( nBlock>=2 ); + + /* STEP 1: + ** Look for an entry of the correct size in either the small + ** chunk table or in the large chunk hash table. This is + ** successful most of the time (about 9 times out of 10). + */ + if( nBlock <= MX_SMALL ){ + i = mem3.aiSmall[nBlock-2]; + if( i>0 ){ + memsys3UnlinkFromList(i, &mem3.aiSmall[nBlock-2]); + return memsys3Checkout(i, nBlock); + } + }else{ + int hash = nBlock % N_HASH; + for(i=mem3.aiHash[hash]; i>0; i=mem3.aPool[i].u.list.next){ + if( mem3.aPool[i-1].u.hdr.size4x/4==nBlock ){ + memsys3UnlinkFromList(i, &mem3.aiHash[hash]); + return memsys3Checkout(i, nBlock); + } + } + } + + /* STEP 2: + ** Try to satisfy the allocation by carving a piece off of the end + ** of the master chunk. This step usually works if step 1 fails. + */ + if( mem3.szMaster>=nBlock ){ + return memsys3FromMaster(nBlock); + } + + + /* STEP 3: + ** Loop through the entire memory pool. Coalesce adjacent free + ** chunks. Recompute the master chunk as the largest free chunk. + ** Then try again to satisfy the allocation by carving a piece off + ** of the end of the master chunk. This step happens very + ** rarely (we hope!) + */ + for(toFree=nBlock*16; toFree<(mem3.nPool*16); toFree *= 2){ + memsys3OutOfMemory(toFree); + if( mem3.iMaster ){ + memsys3Link(mem3.iMaster); + mem3.iMaster = 0; + mem3.szMaster = 0; + } + for(i=0; i=nBlock ){ + return memsys3FromMaster(nBlock); + } + } + } + + /* If none of the above worked, then we fail. */ + return 0; +} + +/* +** Free an outstanding memory allocation. +** +** This function assumes that the necessary mutexes, if any, are +** already held by the caller. Hence "Unsafe". +*/ +static void memsys3FreeUnsafe(void *pOld){ + Mem3Block *p = (Mem3Block*)pOld; + int i; + u32 size, x; + assert( sqlite3_mutex_held(mem3.mutex) ); + assert( p>mem3.aPool && p<&mem3.aPool[mem3.nPool] ); + i = p - mem3.aPool; + assert( (mem3.aPool[i-1].u.hdr.size4x&1)==1 ); + size = mem3.aPool[i-1].u.hdr.size4x/4; + assert( i+size<=mem3.nPool+1 ); + mem3.aPool[i-1].u.hdr.size4x &= ~1; + mem3.aPool[i+size-1].u.hdr.prevSize = size; + mem3.aPool[i+size-1].u.hdr.size4x &= ~2; + memsys3Link(i); + + /* Try to expand the master using the newly freed chunk */ + if( mem3.iMaster ){ + while( (mem3.aPool[mem3.iMaster-1].u.hdr.size4x&2)==0 ){ + size = mem3.aPool[mem3.iMaster-1].u.hdr.prevSize; + mem3.iMaster -= size; + mem3.szMaster += size; + memsys3Unlink(mem3.iMaster); + x = mem3.aPool[mem3.iMaster-1].u.hdr.size4x & 2; + mem3.aPool[mem3.iMaster-1].u.hdr.size4x = mem3.szMaster*4 | x; + mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.prevSize = mem3.szMaster; + } + x = mem3.aPool[mem3.iMaster-1].u.hdr.size4x & 2; + while( (mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.size4x&1)==0 ){ + memsys3Unlink(mem3.iMaster+mem3.szMaster); + mem3.szMaster += mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.size4x/4; + mem3.aPool[mem3.iMaster-1].u.hdr.size4x = mem3.szMaster*4 | x; + mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.prevSize = mem3.szMaster; + } + } +} + +/* +** Return the size of an outstanding allocation, in bytes. The +** size returned omits the 8-byte header overhead. This only +** works for chunks that are currently checked out. +*/ +static int memsys3Size(void *p){ + Mem3Block *pBlock; + assert( p!=0 ); + pBlock = (Mem3Block*)p; + assert( (pBlock[-1].u.hdr.size4x&1)!=0 ); + return (pBlock[-1].u.hdr.size4x&~3)*2 - 4; +} + +/* +** Round up a request size to the next valid allocation size. +*/ +static int memsys3Roundup(int n){ + if( n<=12 ){ + return 12; + }else{ + return ((n+11)&~7) - 4; + } +} + +/* +** Allocate nBytes of memory. +*/ +static void *memsys3Malloc(int nBytes){ + sqlite3_int64 *p; + assert( nBytes>0 ); /* malloc.c filters out 0 byte requests */ + memsys3Enter(); + p = memsys3MallocUnsafe(nBytes); + memsys3Leave(); + return (void*)p; +} + +/* +** Free memory. +*/ +static void memsys3Free(void *pPrior){ + assert( pPrior ); + memsys3Enter(); + memsys3FreeUnsafe(pPrior); + memsys3Leave(); +} + +/* +** Change the size of an existing memory allocation +*/ +static void *memsys3Realloc(void *pPrior, int nBytes){ + int nOld; + void *p; + if( pPrior==0 ){ + return sqlite3_malloc(nBytes); + } + if( nBytes<=0 ){ + sqlite3_free(pPrior); + return 0; + } + nOld = memsys3Size(pPrior); + if( nBytes<=nOld && nBytes>=nOld-128 ){ + return pPrior; + } + memsys3Enter(); + p = memsys3MallocUnsafe(nBytes); + if( p ){ + if( nOld>1)!=(size&1) ){ + fprintf(out, "%p tail checkout bit is incorrect\n", &mem3.aPool[i]); + assert( 0 ); + break; + } + if( size&1 ){ + fprintf(out, "%p %6d bytes checked out\n", &mem3.aPool[i], (size/4)*8-8); + }else{ + fprintf(out, "%p %6d bytes free%s\n", &mem3.aPool[i], (size/4)*8-8, + i==mem3.iMaster ? " **master**" : ""); + } + } + for(i=0; i0; j=mem3.aPool[j].u.list.next){ + fprintf(out, " %p(%d)", &mem3.aPool[j], + (mem3.aPool[j-1].u.hdr.size4x/4)*8-8); + } + fprintf(out, "\n"); + } + for(i=0; i0; j=mem3.aPool[j].u.list.next){ + fprintf(out, " %p(%d)", &mem3.aPool[j], + (mem3.aPool[j-1].u.hdr.size4x/4)*8-8); + } + fprintf(out, "\n"); + } + fprintf(out, "master=%d\n", mem3.iMaster); + fprintf(out, "nowUsed=%d\n", mem3.nPool*8 - mem3.szMaster*8); + fprintf(out, "mxUsed=%d\n", mem3.nPool*8 - mem3.mnMaster*8); + sqlite3_mutex_leave(mem3.mutex); + if( out==stdout ){ + fflush(stdout); + }else{ + fclose(out); + } +#else + UNUSED_PARAMETER(zFilename); +#endif +} + +/* +** This routine is the only routine in this file with external +** linkage. +** +** Populate the low-level memory allocation function pointers in +** sqlite3GlobalConfig.m with pointers to the routines in this file. The +** arguments specify the block of memory to manage. +** +** This routine is only called by sqlite3_config(), and therefore +** is not required to be threadsafe (it is not). +*/ +SQLITE_PRIVATE const sqlite3_mem_methods *sqlite3MemGetMemsys3(void){ + static const sqlite3_mem_methods mempoolMethods = { + memsys3Malloc, + memsys3Free, + memsys3Realloc, + memsys3Size, + memsys3Roundup, + memsys3Init, + memsys3Shutdown, + 0 + }; + return &mempoolMethods; +} + +#endif /* SQLITE_ENABLE_MEMSYS3 */ + +/************** End of mem3.c ************************************************/ +/************** Begin file mem5.c ********************************************/ +/* +** 2007 October 14 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains the C functions that implement a memory +** allocation subsystem for use by SQLite. +** +** This version of the memory allocation subsystem omits all +** use of malloc(). The application gives SQLite a block of memory +** before calling sqlite3_initialize() from which allocations +** are made and returned by the xMalloc() and xRealloc() +** implementations. Once sqlite3_initialize() has been called, +** the amount of memory available to SQLite is fixed and cannot +** be changed. +** +** This version of the memory allocation subsystem is included +** in the build only if SQLITE_ENABLE_MEMSYS5 is defined. +** +** This memory allocator uses the following algorithm: +** +** 1. All memory allocation sizes are rounded up to a power of 2. +** +** 2. If two adjacent free blocks are the halves of a larger block, +** then the two blocks are coalesced into the single larger block. +** +** 3. New memory is allocated from the first available free block. +** +** This algorithm is described in: J. M. Robson. "Bounds for Some Functions +** Concerning Dynamic Storage Allocation". Journal of the Association for +** Computing Machinery, Volume 21, Number 8, July 1974, pages 491-499. +** +** Let n be the size of the largest allocation divided by the minimum +** allocation size (after rounding all sizes up to a power of 2.) Let M +** be the maximum amount of memory ever outstanding at one time. Let +** N be the total amount of memory available for allocation. Robson +** proved that this memory allocator will never breakdown due to +** fragmentation as long as the following constraint holds: +** +** N >= M*(1 + log2(n)/2) - n + 1 +** +** The sqlite3_status() logic tracks the maximum values of n and M so +** that an application can, at any time, verify this constraint. +*/ +/* #include "sqliteInt.h" */ + +/* +** This version of the memory allocator is used only when +** SQLITE_ENABLE_MEMSYS5 is defined. +*/ +#ifdef SQLITE_ENABLE_MEMSYS5 + +/* +** A minimum allocation is an instance of the following structure. +** Larger allocations are an array of these structures where the +** size of the array is a power of 2. +** +** The size of this object must be a power of two. That fact is +** verified in memsys5Init(). +*/ +typedef struct Mem5Link Mem5Link; +struct Mem5Link { + int next; /* Index of next free chunk */ + int prev; /* Index of previous free chunk */ +}; + +/* +** Maximum size of any allocation is ((1<=0 && i=0 && iLogsize<=LOGMAX ); + assert( (mem5.aCtrl[i] & CTRL_LOGSIZE)==iLogsize ); + + next = MEM5LINK(i)->next; + prev = MEM5LINK(i)->prev; + if( prev<0 ){ + mem5.aiFreelist[iLogsize] = next; + }else{ + MEM5LINK(prev)->next = next; + } + if( next>=0 ){ + MEM5LINK(next)->prev = prev; + } +} + +/* +** Link the chunk at mem5.aPool[i] so that is on the iLogsize +** free list. +*/ +static void memsys5Link(int i, int iLogsize){ + int x; + assert( sqlite3_mutex_held(mem5.mutex) ); + assert( i>=0 && i=0 && iLogsize<=LOGMAX ); + assert( (mem5.aCtrl[i] & CTRL_LOGSIZE)==iLogsize ); + + x = MEM5LINK(i)->next = mem5.aiFreelist[iLogsize]; + MEM5LINK(i)->prev = -1; + if( x>=0 ){ + assert( xprev = i; + } + mem5.aiFreelist[iLogsize] = i; +} + +/* +** Obtain or release the mutex needed to access global data structures. +*/ +static void memsys5Enter(void){ + sqlite3_mutex_enter(mem5.mutex); +} +static void memsys5Leave(void){ + sqlite3_mutex_leave(mem5.mutex); +} + +/* +** Return the size of an outstanding allocation, in bytes. +** This only works for chunks that are currently checked out. +*/ +static int memsys5Size(void *p){ + int iSize, i; + assert( p!=0 ); + i = (int)(((u8 *)p-mem5.zPool)/mem5.szAtom); + assert( i>=0 && i0 ); + + /* No more than 1GiB per allocation */ + if( nByte > 0x40000000 ) return 0; + +#if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) + /* Keep track of the maximum allocation request. Even unfulfilled + ** requests are counted */ + if( (u32)nByte>mem5.maxRequest ){ + mem5.maxRequest = nByte; + } +#endif + + + /* Round nByte up to the next valid power of two */ + for(iFullSz=mem5.szAtom,iLogsize=0; iFullSzLOGMAX ){ + testcase( sqlite3GlobalConfig.xLog!=0 ); + sqlite3_log(SQLITE_NOMEM, "failed to allocate %u bytes", nByte); + return 0; + } + i = mem5.aiFreelist[iBin]; + memsys5Unlink(i, iBin); + while( iBin>iLogsize ){ + int newSize; + + iBin--; + newSize = 1 << iBin; + mem5.aCtrl[i+newSize] = CTRL_FREE | iBin; + memsys5Link(i+newSize, iBin); + } + mem5.aCtrl[i] = iLogsize; + +#if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) + /* Update allocator performance statistics. */ + mem5.nAlloc++; + mem5.totalAlloc += iFullSz; + mem5.totalExcess += iFullSz - nByte; + mem5.currentCount++; + mem5.currentOut += iFullSz; + if( mem5.maxCount=0 && iBlock0 ); + assert( mem5.currentOut>=(size*mem5.szAtom) ); + mem5.currentCount--; + mem5.currentOut -= size*mem5.szAtom; + assert( mem5.currentOut>0 || mem5.currentCount==0 ); + assert( mem5.currentCount>0 || mem5.currentOut==0 ); +#endif + + mem5.aCtrl[iBlock] = CTRL_FREE | iLogsize; + while( ALWAYS(iLogsize>iLogsize) & 1 ){ + iBuddy = iBlock - size; + assert( iBuddy>=0 ); + }else{ + iBuddy = iBlock + size; + if( iBuddy>=mem5.nBlock ) break; + } + if( mem5.aCtrl[iBuddy]!=(CTRL_FREE | iLogsize) ) break; + memsys5Unlink(iBuddy, iLogsize); + iLogsize++; + if( iBuddy0 ){ + memsys5Enter(); + p = memsys5MallocUnsafe(nBytes); + memsys5Leave(); + } + return (void*)p; +} + +/* +** Free memory. +** +** The outer layer memory allocator prevents this routine from +** being called with pPrior==0. +*/ +static void memsys5Free(void *pPrior){ + assert( pPrior!=0 ); + memsys5Enter(); + memsys5FreeUnsafe(pPrior); + memsys5Leave(); +} + +/* +** Change the size of an existing memory allocation. +** +** The outer layer memory allocator prevents this routine from +** being called with pPrior==0. +** +** nBytes is always a value obtained from a prior call to +** memsys5Round(). Hence nBytes is always a non-negative power +** of two. If nBytes==0 that means that an oversize allocation +** (an allocation larger than 0x40000000) was requested and this +** routine should return 0 without freeing pPrior. +*/ +static void *memsys5Realloc(void *pPrior, int nBytes){ + int nOld; + void *p; + assert( pPrior!=0 ); + assert( (nBytes&(nBytes-1))==0 ); /* EV: R-46199-30249 */ + assert( nBytes>=0 ); + if( nBytes==0 ){ + return 0; + } + nOld = memsys5Size(pPrior); + if( nBytes<=nOld ){ + return pPrior; + } + p = memsys5Malloc(nBytes); + if( p ){ + memcpy(p, pPrior, nOld); + memsys5Free(pPrior); + } + return p; +} + +/* +** Round up a request size to the next valid allocation size. If +** the allocation is too large to be handled by this allocation system, +** return 0. +** +** All allocations must be a power of two and must be expressed by a +** 32-bit signed integer. Hence the largest allocation is 0x40000000 +** or 1073741824 bytes. +*/ +static int memsys5Roundup(int n){ + int iFullSz; + if( n > 0x40000000 ) return 0; + for(iFullSz=mem5.szAtom; iFullSz 0 +** memsys5Log(2) -> 1 +** memsys5Log(4) -> 2 +** memsys5Log(5) -> 3 +** memsys5Log(8) -> 3 +** memsys5Log(9) -> 4 +*/ +static int memsys5Log(int iValue){ + int iLog; + for(iLog=0; (iLog<(int)((sizeof(int)*8)-1)) && (1<mem5.szAtom ){ + mem5.szAtom = mem5.szAtom << 1; + } + + mem5.nBlock = (nByte / (mem5.szAtom+sizeof(u8))); + mem5.zPool = zByte; + mem5.aCtrl = (u8 *)&mem5.zPool[mem5.nBlock*mem5.szAtom]; + + for(ii=0; ii<=LOGMAX; ii++){ + mem5.aiFreelist[ii] = -1; + } + + iOffset = 0; + for(ii=LOGMAX; ii>=0; ii--){ + int nAlloc = (1<mem5.nBlock); + } + + /* If a mutex is required for normal operation, allocate one */ + if( sqlite3GlobalConfig.bMemstat==0 ){ + mem5.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MEM); + } + + return SQLITE_OK; +} + +/* +** Deinitialize this module. +*/ +static void memsys5Shutdown(void *NotUsed){ + UNUSED_PARAMETER(NotUsed); + mem5.mutex = 0; + return; +} + +#ifdef SQLITE_TEST +/* +** Open the file indicated and write a log of all unfreed memory +** allocations into that log. +*/ +SQLITE_PRIVATE void sqlite3Memsys5Dump(const char *zFilename){ + FILE *out; + int i, j, n; + int nMinLog; + + if( zFilename==0 || zFilename[0]==0 ){ + out = stdout; + }else{ + out = fopen(zFilename, "w"); + if( out==0 ){ + fprintf(stderr, "** Unable to output memory debug output log: %s **\n", + zFilename); + return; + } + } + memsys5Enter(); + nMinLog = memsys5Log(mem5.szAtom); + for(i=0; i<=LOGMAX && i+nMinLog<32; i++){ + for(n=0, j=mem5.aiFreelist[i]; j>=0; j = MEM5LINK(j)->next, n++){} + fprintf(out, "freelist items of size %d: %d\n", mem5.szAtom << i, n); + } + fprintf(out, "mem5.nAlloc = %llu\n", mem5.nAlloc); + fprintf(out, "mem5.totalAlloc = %llu\n", mem5.totalAlloc); + fprintf(out, "mem5.totalExcess = %llu\n", mem5.totalExcess); + fprintf(out, "mem5.currentOut = %u\n", mem5.currentOut); + fprintf(out, "mem5.currentCount = %u\n", mem5.currentCount); + fprintf(out, "mem5.maxOut = %u\n", mem5.maxOut); + fprintf(out, "mem5.maxCount = %u\n", mem5.maxCount); + fprintf(out, "mem5.maxRequest = %u\n", mem5.maxRequest); + memsys5Leave(); + if( out==stdout ){ + fflush(stdout); + }else{ + fclose(out); + } +} +#endif + +/* +** This routine is the only routine in this file with external +** linkage. It returns a pointer to a static sqlite3_mem_methods +** struct populated with the memsys5 methods. +*/ +SQLITE_PRIVATE const sqlite3_mem_methods *sqlite3MemGetMemsys5(void){ + static const sqlite3_mem_methods memsys5Methods = { + memsys5Malloc, + memsys5Free, + memsys5Realloc, + memsys5Size, + memsys5Roundup, + memsys5Init, + memsys5Shutdown, + 0 + }; + return &memsys5Methods; +} + +#endif /* SQLITE_ENABLE_MEMSYS5 */ + +/************** End of mem5.c ************************************************/ +/************** Begin file mutex.c *******************************************/ +/* +** 2007 August 14 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains the C functions that implement mutexes. +** +** This file contains code that is common across all mutex implementations. +*/ +/* #include "sqliteInt.h" */ + +#if defined(SQLITE_DEBUG) && !defined(SQLITE_MUTEX_OMIT) +/* +** For debugging purposes, record when the mutex subsystem is initialized +** and uninitialized so that we can assert() if there is an attempt to +** allocate a mutex while the system is uninitialized. +*/ +static SQLITE_WSD int mutexIsInit = 0; +#endif /* SQLITE_DEBUG && !defined(SQLITE_MUTEX_OMIT) */ + + +#ifndef SQLITE_MUTEX_OMIT + +#ifdef SQLITE_ENABLE_MULTITHREADED_CHECKS +/* +** This block (enclosed by SQLITE_ENABLE_MULTITHREADED_CHECKS) contains +** the implementation of a wrapper around the system default mutex +** implementation (sqlite3DefaultMutex()). +** +** Most calls are passed directly through to the underlying default +** mutex implementation. Except, if a mutex is configured by calling +** sqlite3MutexWarnOnContention() on it, then if contention is ever +** encountered within xMutexEnter() a warning is emitted via sqlite3_log(). +** +** This type of mutex is used as the database handle mutex when testing +** apps that usually use SQLITE_CONFIG_MULTITHREAD mode. +*/ + +/* +** Type for all mutexes used when SQLITE_ENABLE_MULTITHREADED_CHECKS +** is defined. Variable CheckMutex.mutex is a pointer to the real mutex +** allocated by the system mutex implementation. Variable iType is usually set +** to the type of mutex requested - SQLITE_MUTEX_RECURSIVE, SQLITE_MUTEX_FAST +** or one of the static mutex identifiers. Or, if this is a recursive mutex +** that has been configured using sqlite3MutexWarnOnContention(), it is +** set to SQLITE_MUTEX_WARNONCONTENTION. +*/ +typedef struct CheckMutex CheckMutex; +struct CheckMutex { + int iType; + sqlite3_mutex *mutex; +}; + +#define SQLITE_MUTEX_WARNONCONTENTION (-1) + +/* +** Pointer to real mutex methods object used by the CheckMutex +** implementation. Set by checkMutexInit(). +*/ +static SQLITE_WSD const sqlite3_mutex_methods *pGlobalMutexMethods; + +#ifdef SQLITE_DEBUG +static int checkMutexHeld(sqlite3_mutex *p){ + return pGlobalMutexMethods->xMutexHeld(((CheckMutex*)p)->mutex); +} +static int checkMutexNotheld(sqlite3_mutex *p){ + return pGlobalMutexMethods->xMutexNotheld(((CheckMutex*)p)->mutex); +} +#endif + +/* +** Initialize and deinitialize the mutex subsystem. +*/ +static int checkMutexInit(void){ + pGlobalMutexMethods = sqlite3DefaultMutex(); + return SQLITE_OK; +} +static int checkMutexEnd(void){ + pGlobalMutexMethods = 0; + return SQLITE_OK; +} + +/* +** Allocate a mutex. +*/ +static sqlite3_mutex *checkMutexAlloc(int iType){ + static CheckMutex staticMutexes[] = { + {2, 0}, {3, 0}, {4, 0}, {5, 0}, + {6, 0}, {7, 0}, {8, 0}, {9, 0}, + {10, 0}, {11, 0}, {12, 0}, {13, 0} + }; + CheckMutex *p = 0; + + assert( SQLITE_MUTEX_RECURSIVE==1 && SQLITE_MUTEX_FAST==0 ); + if( iType<2 ){ + p = sqlite3MallocZero(sizeof(CheckMutex)); + if( p==0 ) return 0; + p->iType = iType; + }else{ +#ifdef SQLITE_ENABLE_API_ARMOR + if( iType-2>=ArraySize(staticMutexes) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + p = &staticMutexes[iType-2]; + } + + if( p->mutex==0 ){ + p->mutex = pGlobalMutexMethods->xMutexAlloc(iType); + if( p->mutex==0 ){ + if( iType<2 ){ + sqlite3_free(p); + } + p = 0; + } + } + + return (sqlite3_mutex*)p; +} + +/* +** Free a mutex. +*/ +static void checkMutexFree(sqlite3_mutex *p){ + assert( SQLITE_MUTEX_RECURSIVE<2 ); + assert( SQLITE_MUTEX_FAST<2 ); + assert( SQLITE_MUTEX_WARNONCONTENTION<2 ); + +#if SQLITE_ENABLE_API_ARMOR + if( ((CheckMutex*)p)->iType<2 ) +#endif + { + CheckMutex *pCheck = (CheckMutex*)p; + pGlobalMutexMethods->xMutexFree(pCheck->mutex); + sqlite3_free(pCheck); + } +#ifdef SQLITE_ENABLE_API_ARMOR + else{ + (void)SQLITE_MISUSE_BKPT; + } +#endif +} + +/* +** Enter the mutex. +*/ +static void checkMutexEnter(sqlite3_mutex *p){ + CheckMutex *pCheck = (CheckMutex*)p; + if( pCheck->iType==SQLITE_MUTEX_WARNONCONTENTION ){ + if( SQLITE_OK==pGlobalMutexMethods->xMutexTry(pCheck->mutex) ){ + return; + } + sqlite3_log(SQLITE_MISUSE, + "illegal multi-threaded access to database connection" + ); + } + pGlobalMutexMethods->xMutexEnter(pCheck->mutex); +} + +/* +** Enter the mutex (do not block). +*/ +static int checkMutexTry(sqlite3_mutex *p){ + CheckMutex *pCheck = (CheckMutex*)p; + return pGlobalMutexMethods->xMutexTry(pCheck->mutex); +} + +/* +** Leave the mutex. +*/ +static void checkMutexLeave(sqlite3_mutex *p){ + CheckMutex *pCheck = (CheckMutex*)p; + pGlobalMutexMethods->xMutexLeave(pCheck->mutex); +} + +sqlite3_mutex_methods const *multiThreadedCheckMutex(void){ + static const sqlite3_mutex_methods sMutex = { + checkMutexInit, + checkMutexEnd, + checkMutexAlloc, + checkMutexFree, + checkMutexEnter, + checkMutexTry, + checkMutexLeave, +#ifdef SQLITE_DEBUG + checkMutexHeld, + checkMutexNotheld +#else + 0, + 0 +#endif + }; + return &sMutex; +} + +/* +** Mark the SQLITE_MUTEX_RECURSIVE mutex passed as the only argument as +** one on which there should be no contention. +*/ +SQLITE_PRIVATE void sqlite3MutexWarnOnContention(sqlite3_mutex *p){ + if( sqlite3GlobalConfig.mutex.xMutexAlloc==checkMutexAlloc ){ + CheckMutex *pCheck = (CheckMutex*)p; + assert( pCheck->iType==SQLITE_MUTEX_RECURSIVE ); + pCheck->iType = SQLITE_MUTEX_WARNONCONTENTION; + } +} +#endif /* ifdef SQLITE_ENABLE_MULTITHREADED_CHECKS */ + +/* +** Initialize the mutex system. +*/ +SQLITE_PRIVATE int sqlite3MutexInit(void){ + int rc = SQLITE_OK; + if( !sqlite3GlobalConfig.mutex.xMutexAlloc ){ + /* If the xMutexAlloc method has not been set, then the user did not + ** install a mutex implementation via sqlite3_config() prior to + ** sqlite3_initialize() being called. This block copies pointers to + ** the default implementation into the sqlite3GlobalConfig structure. + */ + sqlite3_mutex_methods const *pFrom; + sqlite3_mutex_methods *pTo = &sqlite3GlobalConfig.mutex; + + if( sqlite3GlobalConfig.bCoreMutex ){ +#ifdef SQLITE_ENABLE_MULTITHREADED_CHECKS + pFrom = multiThreadedCheckMutex(); +#else + pFrom = sqlite3DefaultMutex(); +#endif + }else{ + pFrom = sqlite3NoopMutex(); + } + pTo->xMutexInit = pFrom->xMutexInit; + pTo->xMutexEnd = pFrom->xMutexEnd; + pTo->xMutexFree = pFrom->xMutexFree; + pTo->xMutexEnter = pFrom->xMutexEnter; + pTo->xMutexTry = pFrom->xMutexTry; + pTo->xMutexLeave = pFrom->xMutexLeave; + pTo->xMutexHeld = pFrom->xMutexHeld; + pTo->xMutexNotheld = pFrom->xMutexNotheld; + sqlite3MemoryBarrier(); + pTo->xMutexAlloc = pFrom->xMutexAlloc; + } + assert( sqlite3GlobalConfig.mutex.xMutexInit ); + rc = sqlite3GlobalConfig.mutex.xMutexInit(); + +#ifdef SQLITE_DEBUG + GLOBAL(int, mutexIsInit) = 1; +#endif + + return rc; +} + +/* +** Shutdown the mutex system. This call frees resources allocated by +** sqlite3MutexInit(). +*/ +SQLITE_PRIVATE int sqlite3MutexEnd(void){ + int rc = SQLITE_OK; + if( sqlite3GlobalConfig.mutex.xMutexEnd ){ + rc = sqlite3GlobalConfig.mutex.xMutexEnd(); + } + +#ifdef SQLITE_DEBUG + GLOBAL(int, mutexIsInit) = 0; +#endif + + return rc; +} + +/* +** Retrieve a pointer to a static mutex or allocate a new dynamic one. +*/ +SQLITE_API sqlite3_mutex *sqlite3_mutex_alloc(int id){ +#ifndef SQLITE_OMIT_AUTOINIT + if( id<=SQLITE_MUTEX_RECURSIVE && sqlite3_initialize() ) return 0; + if( id>SQLITE_MUTEX_RECURSIVE && sqlite3MutexInit() ) return 0; +#endif + assert( sqlite3GlobalConfig.mutex.xMutexAlloc ); + return sqlite3GlobalConfig.mutex.xMutexAlloc(id); +} + +SQLITE_PRIVATE sqlite3_mutex *sqlite3MutexAlloc(int id){ + if( !sqlite3GlobalConfig.bCoreMutex ){ + return 0; + } + assert( GLOBAL(int, mutexIsInit) ); + assert( sqlite3GlobalConfig.mutex.xMutexAlloc ); + return sqlite3GlobalConfig.mutex.xMutexAlloc(id); +} + +/* +** Free a dynamic mutex. +*/ +SQLITE_API void sqlite3_mutex_free(sqlite3_mutex *p){ + if( p ){ + assert( sqlite3GlobalConfig.mutex.xMutexFree ); + sqlite3GlobalConfig.mutex.xMutexFree(p); + } +} + +/* +** Obtain the mutex p. If some other thread already has the mutex, block +** until it can be obtained. +*/ +SQLITE_API void sqlite3_mutex_enter(sqlite3_mutex *p){ + if( p ){ + assert( sqlite3GlobalConfig.mutex.xMutexEnter ); + sqlite3GlobalConfig.mutex.xMutexEnter(p); + } +} + +/* +** Obtain the mutex p. If successful, return SQLITE_OK. Otherwise, if another +** thread holds the mutex and it cannot be obtained, return SQLITE_BUSY. +*/ +SQLITE_API int sqlite3_mutex_try(sqlite3_mutex *p){ + int rc = SQLITE_OK; + if( p ){ + assert( sqlite3GlobalConfig.mutex.xMutexTry ); + return sqlite3GlobalConfig.mutex.xMutexTry(p); + } + return rc; +} + +/* +** The sqlite3_mutex_leave() routine exits a mutex that was previously +** entered by the same thread. The behavior is undefined if the mutex +** is not currently entered. If a NULL pointer is passed as an argument +** this function is a no-op. +*/ +SQLITE_API void sqlite3_mutex_leave(sqlite3_mutex *p){ + if( p ){ + assert( sqlite3GlobalConfig.mutex.xMutexLeave ); + sqlite3GlobalConfig.mutex.xMutexLeave(p); + } +} + +#ifndef NDEBUG +/* +** The sqlite3_mutex_held() and sqlite3_mutex_notheld() routine are +** intended for use inside assert() statements. +*/ +SQLITE_API int sqlite3_mutex_held(sqlite3_mutex *p){ + assert( p==0 || sqlite3GlobalConfig.mutex.xMutexHeld ); + return p==0 || sqlite3GlobalConfig.mutex.xMutexHeld(p); +} +SQLITE_API int sqlite3_mutex_notheld(sqlite3_mutex *p){ + assert( p==0 || sqlite3GlobalConfig.mutex.xMutexNotheld ); + return p==0 || sqlite3GlobalConfig.mutex.xMutexNotheld(p); +} +#endif + +#endif /* !defined(SQLITE_MUTEX_OMIT) */ + +/************** End of mutex.c ***********************************************/ +/************** Begin file mutex_noop.c **************************************/ +/* +** 2008 October 07 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains the C functions that implement mutexes. +** +** This implementation in this file does not provide any mutual +** exclusion and is thus suitable for use only in applications +** that use SQLite in a single thread. The routines defined +** here are place-holders. Applications can substitute working +** mutex routines at start-time using the +** +** sqlite3_config(SQLITE_CONFIG_MUTEX,...) +** +** interface. +** +** If compiled with SQLITE_DEBUG, then additional logic is inserted +** that does error checking on mutexes to make sure they are being +** called correctly. +*/ +/* #include "sqliteInt.h" */ + +#ifndef SQLITE_MUTEX_OMIT + +#ifndef SQLITE_DEBUG +/* +** Stub routines for all mutex methods. +** +** This routines provide no mutual exclusion or error checking. +*/ +static int noopMutexInit(void){ return SQLITE_OK; } +static int noopMutexEnd(void){ return SQLITE_OK; } +static sqlite3_mutex *noopMutexAlloc(int id){ + UNUSED_PARAMETER(id); + return (sqlite3_mutex*)8; +} +static void noopMutexFree(sqlite3_mutex *p){ UNUSED_PARAMETER(p); return; } +static void noopMutexEnter(sqlite3_mutex *p){ UNUSED_PARAMETER(p); return; } +static int noopMutexTry(sqlite3_mutex *p){ + UNUSED_PARAMETER(p); + return SQLITE_OK; +} +static void noopMutexLeave(sqlite3_mutex *p){ UNUSED_PARAMETER(p); return; } + +SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3NoopMutex(void){ + static const sqlite3_mutex_methods sMutex = { + noopMutexInit, + noopMutexEnd, + noopMutexAlloc, + noopMutexFree, + noopMutexEnter, + noopMutexTry, + noopMutexLeave, + + 0, + 0, + }; + + return &sMutex; +} +#endif /* !SQLITE_DEBUG */ + +#ifdef SQLITE_DEBUG +/* +** In this implementation, error checking is provided for testing +** and debugging purposes. The mutexes still do not provide any +** mutual exclusion. +*/ + +/* +** The mutex object +*/ +typedef struct sqlite3_debug_mutex { + int id; /* The mutex type */ + int cnt; /* Number of entries without a matching leave */ +} sqlite3_debug_mutex; + +/* +** The sqlite3_mutex_held() and sqlite3_mutex_notheld() routine are +** intended for use inside assert() statements. +*/ +static int debugMutexHeld(sqlite3_mutex *pX){ + sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; + return p==0 || p->cnt>0; +} +static int debugMutexNotheld(sqlite3_mutex *pX){ + sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; + return p==0 || p->cnt==0; +} + +/* +** Initialize and deinitialize the mutex subsystem. +*/ +static int debugMutexInit(void){ return SQLITE_OK; } +static int debugMutexEnd(void){ return SQLITE_OK; } + +/* +** The sqlite3_mutex_alloc() routine allocates a new +** mutex and returns a pointer to it. If it returns NULL +** that means that a mutex could not be allocated. +*/ +static sqlite3_mutex *debugMutexAlloc(int id){ + static sqlite3_debug_mutex aStatic[SQLITE_MUTEX_STATIC_VFS3 - 1]; + sqlite3_debug_mutex *pNew = 0; + switch( id ){ + case SQLITE_MUTEX_FAST: + case SQLITE_MUTEX_RECURSIVE: { + pNew = sqlite3Malloc(sizeof(*pNew)); + if( pNew ){ + pNew->id = id; + pNew->cnt = 0; + } + break; + } + default: { +#ifdef SQLITE_ENABLE_API_ARMOR + if( id-2<0 || id-2>=ArraySize(aStatic) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + pNew = &aStatic[id-2]; + pNew->id = id; + break; + } + } + return (sqlite3_mutex*)pNew; +} + +/* +** This routine deallocates a previously allocated mutex. +*/ +static void debugMutexFree(sqlite3_mutex *pX){ + sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; + assert( p->cnt==0 ); + if( p->id==SQLITE_MUTEX_RECURSIVE || p->id==SQLITE_MUTEX_FAST ){ + sqlite3_free(p); + }else{ +#ifdef SQLITE_ENABLE_API_ARMOR + (void)SQLITE_MISUSE_BKPT; +#endif + } +} + +/* +** The sqlite3_mutex_enter() and sqlite3_mutex_try() routines attempt +** to enter a mutex. If another thread is already within the mutex, +** sqlite3_mutex_enter() will block and sqlite3_mutex_try() will return +** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK +** upon successful entry. Mutexes created using SQLITE_MUTEX_RECURSIVE can +** be entered multiple times by the same thread. In such cases the, +** mutex must be exited an equal number of times before another thread +** can enter. If the same thread tries to enter any other kind of mutex +** more than once, the behavior is undefined. +*/ +static void debugMutexEnter(sqlite3_mutex *pX){ + sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; + assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) ); + p->cnt++; +} +static int debugMutexTry(sqlite3_mutex *pX){ + sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; + assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) ); + p->cnt++; + return SQLITE_OK; +} + +/* +** The sqlite3_mutex_leave() routine exits a mutex that was +** previously entered by the same thread. The behavior +** is undefined if the mutex is not currently entered or +** is not currently allocated. SQLite will never do either. +*/ +static void debugMutexLeave(sqlite3_mutex *pX){ + sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; + assert( debugMutexHeld(pX) ); + p->cnt--; + assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) ); +} + +SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3NoopMutex(void){ + static const sqlite3_mutex_methods sMutex = { + debugMutexInit, + debugMutexEnd, + debugMutexAlloc, + debugMutexFree, + debugMutexEnter, + debugMutexTry, + debugMutexLeave, + + debugMutexHeld, + debugMutexNotheld + }; + + return &sMutex; +} +#endif /* SQLITE_DEBUG */ + +/* +** If compiled with SQLITE_MUTEX_NOOP, then the no-op mutex implementation +** is used regardless of the run-time threadsafety setting. +*/ +#ifdef SQLITE_MUTEX_NOOP +SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3DefaultMutex(void){ + return sqlite3NoopMutex(); +} +#endif /* defined(SQLITE_MUTEX_NOOP) */ +#endif /* !defined(SQLITE_MUTEX_OMIT) */ + +/************** End of mutex_noop.c ******************************************/ +/************** Begin file mutex_unix.c **************************************/ +/* +** 2007 August 28 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains the C functions that implement mutexes for pthreads +*/ +/* #include "sqliteInt.h" */ + +/* +** The code in this file is only used if we are compiling threadsafe +** under unix with pthreads. +** +** Note that this implementation requires a version of pthreads that +** supports recursive mutexes. +*/ +#ifdef SQLITE_MUTEX_PTHREADS + +#include + +/* +** The sqlite3_mutex.id, sqlite3_mutex.nRef, and sqlite3_mutex.owner fields +** are necessary under two condidtions: (1) Debug builds and (2) using +** home-grown mutexes. Encapsulate these conditions into a single #define. +*/ +#if defined(SQLITE_DEBUG) || defined(SQLITE_HOMEGROWN_RECURSIVE_MUTEX) +# define SQLITE_MUTEX_NREF 1 +#else +# define SQLITE_MUTEX_NREF 0 +#endif + +/* +** Each recursive mutex is an instance of the following structure. +*/ +struct sqlite3_mutex { + pthread_mutex_t mutex; /* Mutex controlling the lock */ +#if SQLITE_MUTEX_NREF || defined(SQLITE_ENABLE_API_ARMOR) + int id; /* Mutex type */ +#endif +#if SQLITE_MUTEX_NREF + volatile int nRef; /* Number of entrances */ + volatile pthread_t owner; /* Thread that is within this mutex */ + int trace; /* True to trace changes */ +#endif +}; +#if SQLITE_MUTEX_NREF +# define SQLITE3_MUTEX_INITIALIZER(id) \ + {PTHREAD_MUTEX_INITIALIZER,id,0,(pthread_t)0,0} +#elif defined(SQLITE_ENABLE_API_ARMOR) +# define SQLITE3_MUTEX_INITIALIZER(id) { PTHREAD_MUTEX_INITIALIZER, id } +#else +#define SQLITE3_MUTEX_INITIALIZER(id) { PTHREAD_MUTEX_INITIALIZER } +#endif + +/* +** The sqlite3_mutex_held() and sqlite3_mutex_notheld() routine are +** intended for use only inside assert() statements. On some platforms, +** there might be race conditions that can cause these routines to +** deliver incorrect results. In particular, if pthread_equal() is +** not an atomic operation, then these routines might delivery +** incorrect results. On most platforms, pthread_equal() is a +** comparison of two integers and is therefore atomic. But we are +** told that HPUX is not such a platform. If so, then these routines +** will not always work correctly on HPUX. +** +** On those platforms where pthread_equal() is not atomic, SQLite +** should be compiled without -DSQLITE_DEBUG and with -DNDEBUG to +** make sure no assert() statements are evaluated and hence these +** routines are never called. +*/ +#if !defined(NDEBUG) || defined(SQLITE_DEBUG) +static int pthreadMutexHeld(sqlite3_mutex *p){ + return (p->nRef!=0 && pthread_equal(p->owner, pthread_self())); +} +static int pthreadMutexNotheld(sqlite3_mutex *p){ + return p->nRef==0 || pthread_equal(p->owner, pthread_self())==0; +} +#endif + +/* +** Try to provide a memory barrier operation, needed for initialization +** and also for the implementation of xShmBarrier in the VFS in cases +** where SQLite is compiled without mutexes. +*/ +SQLITE_PRIVATE void sqlite3MemoryBarrier(void){ +#if defined(SQLITE_MEMORY_BARRIER) + SQLITE_MEMORY_BARRIER; +#elif defined(__GNUC__) && GCC_VERSION>=4001000 + __sync_synchronize(); +#endif +} + +/* +** Initialize and deinitialize the mutex subsystem. +*/ +static int pthreadMutexInit(void){ return SQLITE_OK; } +static int pthreadMutexEnd(void){ return SQLITE_OK; } + +/* +** The sqlite3_mutex_alloc() routine allocates a new +** mutex and returns a pointer to it. If it returns NULL +** that means that a mutex could not be allocated. SQLite +** will unwind its stack and return an error. The argument +** to sqlite3_mutex_alloc() is one of these integer constants: +** +**
    +**
  • SQLITE_MUTEX_FAST +**
  • SQLITE_MUTEX_RECURSIVE +**
  • SQLITE_MUTEX_STATIC_MASTER +**
  • SQLITE_MUTEX_STATIC_MEM +**
  • SQLITE_MUTEX_STATIC_OPEN +**
  • SQLITE_MUTEX_STATIC_PRNG +**
  • SQLITE_MUTEX_STATIC_LRU +**
  • SQLITE_MUTEX_STATIC_PMEM +**
  • SQLITE_MUTEX_STATIC_APP1 +**
  • SQLITE_MUTEX_STATIC_APP2 +**
  • SQLITE_MUTEX_STATIC_APP3 +**
  • SQLITE_MUTEX_STATIC_VFS1 +**
  • SQLITE_MUTEX_STATIC_VFS2 +**
  • SQLITE_MUTEX_STATIC_VFS3 +**
+** +** The first two constants cause sqlite3_mutex_alloc() to create +** a new mutex. The new mutex is recursive when SQLITE_MUTEX_RECURSIVE +** is used but not necessarily so when SQLITE_MUTEX_FAST is used. +** The mutex implementation does not need to make a distinction +** between SQLITE_MUTEX_RECURSIVE and SQLITE_MUTEX_FAST if it does +** not want to. But SQLite will only request a recursive mutex in +** cases where it really needs one. If a faster non-recursive mutex +** implementation is available on the host platform, the mutex subsystem +** might return such a mutex in response to SQLITE_MUTEX_FAST. +** +** The other allowed parameters to sqlite3_mutex_alloc() each return +** a pointer to a static preexisting mutex. Six static mutexes are +** used by the current version of SQLite. Future versions of SQLite +** may add additional static mutexes. Static mutexes are for internal +** use by SQLite only. Applications that use SQLite mutexes should +** use only the dynamic mutexes returned by SQLITE_MUTEX_FAST or +** SQLITE_MUTEX_RECURSIVE. +** +** Note that if one of the dynamic mutex parameters (SQLITE_MUTEX_FAST +** or SQLITE_MUTEX_RECURSIVE) is used then sqlite3_mutex_alloc() +** returns a different mutex on every call. But for the static +** mutex types, the same mutex is returned on every call that has +** the same type number. +*/ +static sqlite3_mutex *pthreadMutexAlloc(int iType){ + static sqlite3_mutex staticMutexes[] = { + SQLITE3_MUTEX_INITIALIZER(2), + SQLITE3_MUTEX_INITIALIZER(3), + SQLITE3_MUTEX_INITIALIZER(4), + SQLITE3_MUTEX_INITIALIZER(5), + SQLITE3_MUTEX_INITIALIZER(6), + SQLITE3_MUTEX_INITIALIZER(7), + SQLITE3_MUTEX_INITIALIZER(8), + SQLITE3_MUTEX_INITIALIZER(9), + SQLITE3_MUTEX_INITIALIZER(10), + SQLITE3_MUTEX_INITIALIZER(11), + SQLITE3_MUTEX_INITIALIZER(12), + SQLITE3_MUTEX_INITIALIZER(13) + }; + sqlite3_mutex *p; + switch( iType ){ + case SQLITE_MUTEX_RECURSIVE: { + p = sqlite3MallocZero( sizeof(*p) ); + if( p ){ +#ifdef SQLITE_HOMEGROWN_RECURSIVE_MUTEX + /* If recursive mutexes are not available, we will have to + ** build our own. See below. */ + pthread_mutex_init(&p->mutex, 0); +#else + /* Use a recursive mutex if it is available */ + pthread_mutexattr_t recursiveAttr; + pthread_mutexattr_init(&recursiveAttr); + pthread_mutexattr_settype(&recursiveAttr, PTHREAD_MUTEX_RECURSIVE); + pthread_mutex_init(&p->mutex, &recursiveAttr); + pthread_mutexattr_destroy(&recursiveAttr); +#endif +#if SQLITE_MUTEX_NREF || defined(SQLITE_ENABLE_API_ARMOR) + p->id = SQLITE_MUTEX_RECURSIVE; +#endif + } + break; + } + case SQLITE_MUTEX_FAST: { + p = sqlite3MallocZero( sizeof(*p) ); + if( p ){ + pthread_mutex_init(&p->mutex, 0); +#if SQLITE_MUTEX_NREF || defined(SQLITE_ENABLE_API_ARMOR) + p->id = SQLITE_MUTEX_FAST; +#endif + } + break; + } + default: { +#ifdef SQLITE_ENABLE_API_ARMOR + if( iType-2<0 || iType-2>=ArraySize(staticMutexes) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + p = &staticMutexes[iType-2]; + break; + } + } +#if SQLITE_MUTEX_NREF || defined(SQLITE_ENABLE_API_ARMOR) + assert( p==0 || p->id==iType ); +#endif + return p; +} + + +/* +** This routine deallocates a previously +** allocated mutex. SQLite is careful to deallocate every +** mutex that it allocates. +*/ +static void pthreadMutexFree(sqlite3_mutex *p){ + assert( p->nRef==0 ); +#if SQLITE_ENABLE_API_ARMOR + if( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE ) +#endif + { + pthread_mutex_destroy(&p->mutex); + sqlite3_free(p); + } +#ifdef SQLITE_ENABLE_API_ARMOR + else{ + (void)SQLITE_MISUSE_BKPT; + } +#endif +} + +/* +** The sqlite3_mutex_enter() and sqlite3_mutex_try() routines attempt +** to enter a mutex. If another thread is already within the mutex, +** sqlite3_mutex_enter() will block and sqlite3_mutex_try() will return +** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK +** upon successful entry. Mutexes created using SQLITE_MUTEX_RECURSIVE can +** be entered multiple times by the same thread. In such cases the, +** mutex must be exited an equal number of times before another thread +** can enter. If the same thread tries to enter any other kind of mutex +** more than once, the behavior is undefined. +*/ +static void pthreadMutexEnter(sqlite3_mutex *p){ + assert( p->id==SQLITE_MUTEX_RECURSIVE || pthreadMutexNotheld(p) ); + +#ifdef SQLITE_HOMEGROWN_RECURSIVE_MUTEX + /* If recursive mutexes are not available, then we have to grow + ** our own. This implementation assumes that pthread_equal() + ** is atomic - that it cannot be deceived into thinking self + ** and p->owner are equal if p->owner changes between two values + ** that are not equal to self while the comparison is taking place. + ** This implementation also assumes a coherent cache - that + ** separate processes cannot read different values from the same + ** address at the same time. If either of these two conditions + ** are not met, then the mutexes will fail and problems will result. + */ + { + pthread_t self = pthread_self(); + if( p->nRef>0 && pthread_equal(p->owner, self) ){ + p->nRef++; + }else{ + pthread_mutex_lock(&p->mutex); + assert( p->nRef==0 ); + p->owner = self; + p->nRef = 1; + } + } +#else + /* Use the built-in recursive mutexes if they are available. + */ + pthread_mutex_lock(&p->mutex); +#if SQLITE_MUTEX_NREF + assert( p->nRef>0 || p->owner==0 ); + p->owner = pthread_self(); + p->nRef++; +#endif +#endif + +#ifdef SQLITE_DEBUG + if( p->trace ){ + printf("enter mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef); + } +#endif +} +static int pthreadMutexTry(sqlite3_mutex *p){ + int rc; + assert( p->id==SQLITE_MUTEX_RECURSIVE || pthreadMutexNotheld(p) ); + +#ifdef SQLITE_HOMEGROWN_RECURSIVE_MUTEX + /* If recursive mutexes are not available, then we have to grow + ** our own. This implementation assumes that pthread_equal() + ** is atomic - that it cannot be deceived into thinking self + ** and p->owner are equal if p->owner changes between two values + ** that are not equal to self while the comparison is taking place. + ** This implementation also assumes a coherent cache - that + ** separate processes cannot read different values from the same + ** address at the same time. If either of these two conditions + ** are not met, then the mutexes will fail and problems will result. + */ + { + pthread_t self = pthread_self(); + if( p->nRef>0 && pthread_equal(p->owner, self) ){ + p->nRef++; + rc = SQLITE_OK; + }else if( pthread_mutex_trylock(&p->mutex)==0 ){ + assert( p->nRef==0 ); + p->owner = self; + p->nRef = 1; + rc = SQLITE_OK; + }else{ + rc = SQLITE_BUSY; + } + } +#else + /* Use the built-in recursive mutexes if they are available. + */ + if( pthread_mutex_trylock(&p->mutex)==0 ){ +#if SQLITE_MUTEX_NREF + p->owner = pthread_self(); + p->nRef++; +#endif + rc = SQLITE_OK; + }else{ + rc = SQLITE_BUSY; + } +#endif + +#ifdef SQLITE_DEBUG + if( rc==SQLITE_OK && p->trace ){ + printf("enter mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef); + } +#endif + return rc; +} + +/* +** The sqlite3_mutex_leave() routine exits a mutex that was +** previously entered by the same thread. The behavior +** is undefined if the mutex is not currently entered or +** is not currently allocated. SQLite will never do either. +*/ +static void pthreadMutexLeave(sqlite3_mutex *p){ + assert( pthreadMutexHeld(p) ); +#if SQLITE_MUTEX_NREF + p->nRef--; + if( p->nRef==0 ) p->owner = 0; +#endif + assert( p->nRef==0 || p->id==SQLITE_MUTEX_RECURSIVE ); + +#ifdef SQLITE_HOMEGROWN_RECURSIVE_MUTEX + if( p->nRef==0 ){ + pthread_mutex_unlock(&p->mutex); + } +#else + pthread_mutex_unlock(&p->mutex); +#endif + +#ifdef SQLITE_DEBUG + if( p->trace ){ + printf("leave mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef); + } +#endif +} + +SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3DefaultMutex(void){ + static const sqlite3_mutex_methods sMutex = { + pthreadMutexInit, + pthreadMutexEnd, + pthreadMutexAlloc, + pthreadMutexFree, + pthreadMutexEnter, + pthreadMutexTry, + pthreadMutexLeave, +#ifdef SQLITE_DEBUG + pthreadMutexHeld, + pthreadMutexNotheld +#else + 0, + 0 +#endif + }; + + return &sMutex; +} + +#endif /* SQLITE_MUTEX_PTHREADS */ + +/************** End of mutex_unix.c ******************************************/ +/************** Begin file mutex_w32.c ***************************************/ +/* +** 2007 August 14 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains the C functions that implement mutexes for Win32. +*/ +/* #include "sqliteInt.h" */ + +#if SQLITE_OS_WIN +/* +** Include code that is common to all os_*.c files +*/ +/************** Include os_common.h in the middle of mutex_w32.c *************/ +/************** Begin file os_common.h ***************************************/ +/* +** 2004 May 22 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains macros and a little bit of code that is common to +** all of the platform-specific files (os_*.c) and is #included into those +** files. +** +** This file should be #included by the os_*.c files only. It is not a +** general purpose header file. +*/ +#ifndef _OS_COMMON_H_ +#define _OS_COMMON_H_ + +/* +** At least two bugs have slipped in because we changed the MEMORY_DEBUG +** macro to SQLITE_DEBUG and some older makefiles have not yet made the +** switch. The following code should catch this problem at compile-time. +*/ +#ifdef MEMORY_DEBUG +# error "The MEMORY_DEBUG macro is obsolete. Use SQLITE_DEBUG instead." +#endif + +/* +** Macros for performance tracing. Normally turned off. Only works +** on i486 hardware. +*/ +#ifdef SQLITE_PERFORMANCE_TRACE + +/* +** hwtime.h contains inline assembler code for implementing +** high-performance timing routines. +*/ +/************** Include hwtime.h in the middle of os_common.h ****************/ +/************** Begin file hwtime.h ******************************************/ +/* +** 2008 May 27 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains inline asm code for retrieving "high-performance" +** counters for x86 class CPUs. +*/ +#ifndef SQLITE_HWTIME_H +#define SQLITE_HWTIME_H + +/* +** The following routine only works on pentium-class (or newer) processors. +** It uses the RDTSC opcode to read the cycle count value out of the +** processor and returns that value. This can be used for high-res +** profiling. +*/ +#if (defined(__GNUC__) || defined(_MSC_VER)) && \ + (defined(i386) || defined(__i386__) || defined(_M_IX86)) + + #if defined(__GNUC__) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned int lo, hi; + __asm__ __volatile__ ("rdtsc" : "=a" (lo), "=d" (hi)); + return (sqlite_uint64)hi << 32 | lo; + } + + #elif defined(_MSC_VER) + + __declspec(naked) __inline sqlite_uint64 __cdecl sqlite3Hwtime(void){ + __asm { + rdtsc + ret ; return value at EDX:EAX + } + } + + #endif + +#elif (defined(__GNUC__) && defined(__x86_64__)) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned long val; + __asm__ __volatile__ ("rdtsc" : "=A" (val)); + return val; + } + +#elif (defined(__GNUC__) && defined(__ppc__)) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned long long retval; + unsigned long junk; + __asm__ __volatile__ ("\n\ + 1: mftbu %1\n\ + mftb %L0\n\ + mftbu %0\n\ + cmpw %0,%1\n\ + bne 1b" + : "=r" (retval), "=r" (junk)); + return retval; + } + +#else + + #error Need implementation of sqlite3Hwtime() for your platform. + + /* + ** To compile without implementing sqlite3Hwtime() for your platform, + ** you can remove the above #error and use the following + ** stub function. You will lose timing support for many + ** of the debugging and testing utilities, but it should at + ** least compile and run. + */ +SQLITE_PRIVATE sqlite_uint64 sqlite3Hwtime(void){ return ((sqlite_uint64)0); } + +#endif + +#endif /* !defined(SQLITE_HWTIME_H) */ + +/************** End of hwtime.h **********************************************/ +/************** Continuing where we left off in os_common.h ******************/ + +static sqlite_uint64 g_start; +static sqlite_uint64 g_elapsed; +#define TIMER_START g_start=sqlite3Hwtime() +#define TIMER_END g_elapsed=sqlite3Hwtime()-g_start +#define TIMER_ELAPSED g_elapsed +#else +#define TIMER_START +#define TIMER_END +#define TIMER_ELAPSED ((sqlite_uint64)0) +#endif + +/* +** If we compile with the SQLITE_TEST macro set, then the following block +** of code will give us the ability to simulate a disk I/O error. This +** is used for testing the I/O recovery logic. +*/ +#if defined(SQLITE_TEST) +SQLITE_API extern int sqlite3_io_error_hit; +SQLITE_API extern int sqlite3_io_error_hardhit; +SQLITE_API extern int sqlite3_io_error_pending; +SQLITE_API extern int sqlite3_io_error_persist; +SQLITE_API extern int sqlite3_io_error_benign; +SQLITE_API extern int sqlite3_diskfull_pending; +SQLITE_API extern int sqlite3_diskfull; +#define SimulateIOErrorBenign(X) sqlite3_io_error_benign=(X) +#define SimulateIOError(CODE) \ + if( (sqlite3_io_error_persist && sqlite3_io_error_hit) \ + || sqlite3_io_error_pending-- == 1 ) \ + { local_ioerr(); CODE; } +static void local_ioerr(){ + IOTRACE(("IOERR\n")); + sqlite3_io_error_hit++; + if( !sqlite3_io_error_benign ) sqlite3_io_error_hardhit++; +} +#define SimulateDiskfullError(CODE) \ + if( sqlite3_diskfull_pending ){ \ + if( sqlite3_diskfull_pending == 1 ){ \ + local_ioerr(); \ + sqlite3_diskfull = 1; \ + sqlite3_io_error_hit = 1; \ + CODE; \ + }else{ \ + sqlite3_diskfull_pending--; \ + } \ + } +#else +#define SimulateIOErrorBenign(X) +#define SimulateIOError(A) +#define SimulateDiskfullError(A) +#endif /* defined(SQLITE_TEST) */ + +/* +** When testing, keep a count of the number of open files. +*/ +#if defined(SQLITE_TEST) +SQLITE_API extern int sqlite3_open_file_count; +#define OpenCounter(X) sqlite3_open_file_count+=(X) +#else +#define OpenCounter(X) +#endif /* defined(SQLITE_TEST) */ + +#endif /* !defined(_OS_COMMON_H_) */ + +/************** End of os_common.h *******************************************/ +/************** Continuing where we left off in mutex_w32.c ******************/ + +/* +** Include the header file for the Windows VFS. +*/ +/************** Include os_win.h in the middle of mutex_w32.c ****************/ +/************** Begin file os_win.h ******************************************/ +/* +** 2013 November 25 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains code that is specific to Windows. +*/ +#ifndef SQLITE_OS_WIN_H +#define SQLITE_OS_WIN_H + +/* +** Include the primary Windows SDK header file. +*/ +#include "windows.h" + +#ifdef __CYGWIN__ +# include +# include /* amalgamator: dontcache */ +#endif + +/* +** Determine if we are dealing with Windows NT. +** +** We ought to be able to determine if we are compiling for Windows 9x or +** Windows NT using the _WIN32_WINNT macro as follows: +** +** #if defined(_WIN32_WINNT) +** # define SQLITE_OS_WINNT 1 +** #else +** # define SQLITE_OS_WINNT 0 +** #endif +** +** However, Visual Studio 2005 does not set _WIN32_WINNT by default, as +** it ought to, so the above test does not work. We'll just assume that +** everything is Windows NT unless the programmer explicitly says otherwise +** by setting SQLITE_OS_WINNT to 0. +*/ +#if SQLITE_OS_WIN && !defined(SQLITE_OS_WINNT) +# define SQLITE_OS_WINNT 1 +#endif + +/* +** Determine if we are dealing with Windows CE - which has a much reduced +** API. +*/ +#if defined(_WIN32_WCE) +# define SQLITE_OS_WINCE 1 +#else +# define SQLITE_OS_WINCE 0 +#endif + +/* +** Determine if we are dealing with WinRT, which provides only a subset of +** the full Win32 API. +*/ +#if !defined(SQLITE_OS_WINRT) +# define SQLITE_OS_WINRT 0 +#endif + +/* +** For WinCE, some API function parameters do not appear to be declared as +** volatile. +*/ +#if SQLITE_OS_WINCE +# define SQLITE_WIN32_VOLATILE +#else +# define SQLITE_WIN32_VOLATILE volatile +#endif + +/* +** For some Windows sub-platforms, the _beginthreadex() / _endthreadex() +** functions are not available (e.g. those not using MSVC, Cygwin, etc). +*/ +#if SQLITE_OS_WIN && !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && \ + SQLITE_THREADSAFE>0 && !defined(__CYGWIN__) +# define SQLITE_OS_WIN_THREADS 1 +#else +# define SQLITE_OS_WIN_THREADS 0 +#endif + +#endif /* SQLITE_OS_WIN_H */ + +/************** End of os_win.h **********************************************/ +/************** Continuing where we left off in mutex_w32.c ******************/ +#endif + +/* +** The code in this file is only used if we are compiling multithreaded +** on a Win32 system. +*/ +#ifdef SQLITE_MUTEX_W32 + +/* +** Each recursive mutex is an instance of the following structure. +*/ +struct sqlite3_mutex { + CRITICAL_SECTION mutex; /* Mutex controlling the lock */ + int id; /* Mutex type */ +#ifdef SQLITE_DEBUG + volatile int nRef; /* Number of enterances */ + volatile DWORD owner; /* Thread holding this mutex */ + volatile LONG trace; /* True to trace changes */ +#endif +}; + +/* +** These are the initializer values used when declaring a "static" mutex +** on Win32. It should be noted that all mutexes require initialization +** on the Win32 platform. +*/ +#define SQLITE_W32_MUTEX_INITIALIZER { 0 } + +#ifdef SQLITE_DEBUG +#define SQLITE3_MUTEX_INITIALIZER(id) { SQLITE_W32_MUTEX_INITIALIZER, id, \ + 0L, (DWORD)0, 0 } +#else +#define SQLITE3_MUTEX_INITIALIZER(id) { SQLITE_W32_MUTEX_INITIALIZER, id } +#endif + +#ifdef SQLITE_DEBUG +/* +** The sqlite3_mutex_held() and sqlite3_mutex_notheld() routine are +** intended for use only inside assert() statements. +*/ +static int winMutexHeld(sqlite3_mutex *p){ + return p->nRef!=0 && p->owner==GetCurrentThreadId(); +} + +static int winMutexNotheld2(sqlite3_mutex *p, DWORD tid){ + return p->nRef==0 || p->owner!=tid; +} + +static int winMutexNotheld(sqlite3_mutex *p){ + DWORD tid = GetCurrentThreadId(); + return winMutexNotheld2(p, tid); +} +#endif + +/* +** Try to provide a memory barrier operation, needed for initialization +** and also for the xShmBarrier method of the VFS in cases when SQLite is +** compiled without mutexes (SQLITE_THREADSAFE=0). +*/ +SQLITE_PRIVATE void sqlite3MemoryBarrier(void){ +#if defined(SQLITE_MEMORY_BARRIER) + SQLITE_MEMORY_BARRIER; +#elif defined(__GNUC__) + __sync_synchronize(); +#elif MSVC_VERSION>=1300 + _ReadWriteBarrier(); +#elif defined(MemoryBarrier) + MemoryBarrier(); +#endif +} + +/* +** Initialize and deinitialize the mutex subsystem. +*/ +static sqlite3_mutex winMutex_staticMutexes[] = { + SQLITE3_MUTEX_INITIALIZER(2), + SQLITE3_MUTEX_INITIALIZER(3), + SQLITE3_MUTEX_INITIALIZER(4), + SQLITE3_MUTEX_INITIALIZER(5), + SQLITE3_MUTEX_INITIALIZER(6), + SQLITE3_MUTEX_INITIALIZER(7), + SQLITE3_MUTEX_INITIALIZER(8), + SQLITE3_MUTEX_INITIALIZER(9), + SQLITE3_MUTEX_INITIALIZER(10), + SQLITE3_MUTEX_INITIALIZER(11), + SQLITE3_MUTEX_INITIALIZER(12), + SQLITE3_MUTEX_INITIALIZER(13) +}; + +static int winMutex_isInit = 0; +static int winMutex_isNt = -1; /* <0 means "need to query" */ + +/* As the winMutexInit() and winMutexEnd() functions are called as part +** of the sqlite3_initialize() and sqlite3_shutdown() processing, the +** "interlocked" magic used here is probably not strictly necessary. +*/ +static LONG SQLITE_WIN32_VOLATILE winMutex_lock = 0; + +SQLITE_API int sqlite3_win32_is_nt(void); /* os_win.c */ +SQLITE_API void sqlite3_win32_sleep(DWORD milliseconds); /* os_win.c */ + +static int winMutexInit(void){ + /* The first to increment to 1 does actual initialization */ + if( InterlockedCompareExchange(&winMutex_lock, 1, 0)==0 ){ + int i; + for(i=0; i +**
  • SQLITE_MUTEX_FAST +**
  • SQLITE_MUTEX_RECURSIVE +**
  • SQLITE_MUTEX_STATIC_MASTER +**
  • SQLITE_MUTEX_STATIC_MEM +**
  • SQLITE_MUTEX_STATIC_OPEN +**
  • SQLITE_MUTEX_STATIC_PRNG +**
  • SQLITE_MUTEX_STATIC_LRU +**
  • SQLITE_MUTEX_STATIC_PMEM +**
  • SQLITE_MUTEX_STATIC_APP1 +**
  • SQLITE_MUTEX_STATIC_APP2 +**
  • SQLITE_MUTEX_STATIC_APP3 +**
  • SQLITE_MUTEX_STATIC_VFS1 +**
  • SQLITE_MUTEX_STATIC_VFS2 +**
  • SQLITE_MUTEX_STATIC_VFS3 +** +** +** The first two constants cause sqlite3_mutex_alloc() to create +** a new mutex. The new mutex is recursive when SQLITE_MUTEX_RECURSIVE +** is used but not necessarily so when SQLITE_MUTEX_FAST is used. +** The mutex implementation does not need to make a distinction +** between SQLITE_MUTEX_RECURSIVE and SQLITE_MUTEX_FAST if it does +** not want to. But SQLite will only request a recursive mutex in +** cases where it really needs one. If a faster non-recursive mutex +** implementation is available on the host platform, the mutex subsystem +** might return such a mutex in response to SQLITE_MUTEX_FAST. +** +** The other allowed parameters to sqlite3_mutex_alloc() each return +** a pointer to a static preexisting mutex. Six static mutexes are +** used by the current version of SQLite. Future versions of SQLite +** may add additional static mutexes. Static mutexes are for internal +** use by SQLite only. Applications that use SQLite mutexes should +** use only the dynamic mutexes returned by SQLITE_MUTEX_FAST or +** SQLITE_MUTEX_RECURSIVE. +** +** Note that if one of the dynamic mutex parameters (SQLITE_MUTEX_FAST +** or SQLITE_MUTEX_RECURSIVE) is used then sqlite3_mutex_alloc() +** returns a different mutex on every call. But for the static +** mutex types, the same mutex is returned on every call that has +** the same type number. +*/ +static sqlite3_mutex *winMutexAlloc(int iType){ + sqlite3_mutex *p; + + switch( iType ){ + case SQLITE_MUTEX_FAST: + case SQLITE_MUTEX_RECURSIVE: { + p = sqlite3MallocZero( sizeof(*p) ); + if( p ){ + p->id = iType; +#ifdef SQLITE_DEBUG +#ifdef SQLITE_WIN32_MUTEX_TRACE_DYNAMIC + p->trace = 1; +#endif +#endif +#if SQLITE_OS_WINRT + InitializeCriticalSectionEx(&p->mutex, 0, 0); +#else + InitializeCriticalSection(&p->mutex); +#endif + } + break; + } + default: { +#ifdef SQLITE_ENABLE_API_ARMOR + if( iType-2<0 || iType-2>=ArraySize(winMutex_staticMutexes) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + p = &winMutex_staticMutexes[iType-2]; +#ifdef SQLITE_DEBUG +#ifdef SQLITE_WIN32_MUTEX_TRACE_STATIC + InterlockedCompareExchange(&p->trace, 1, 0); +#endif +#endif + break; + } + } + assert( p==0 || p->id==iType ); + return p; +} + + +/* +** This routine deallocates a previously +** allocated mutex. SQLite is careful to deallocate every +** mutex that it allocates. +*/ +static void winMutexFree(sqlite3_mutex *p){ + assert( p ); + assert( p->nRef==0 && p->owner==0 ); + if( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE ){ + DeleteCriticalSection(&p->mutex); + sqlite3_free(p); + }else{ +#ifdef SQLITE_ENABLE_API_ARMOR + (void)SQLITE_MISUSE_BKPT; +#endif + } +} + +/* +** The sqlite3_mutex_enter() and sqlite3_mutex_try() routines attempt +** to enter a mutex. If another thread is already within the mutex, +** sqlite3_mutex_enter() will block and sqlite3_mutex_try() will return +** SQLITE_BUSY. The sqlite3_mutex_try() interface returns SQLITE_OK +** upon successful entry. Mutexes created using SQLITE_MUTEX_RECURSIVE can +** be entered multiple times by the same thread. In such cases the, +** mutex must be exited an equal number of times before another thread +** can enter. If the same thread tries to enter any other kind of mutex +** more than once, the behavior is undefined. +*/ +static void winMutexEnter(sqlite3_mutex *p){ +#if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) + DWORD tid = GetCurrentThreadId(); +#endif +#ifdef SQLITE_DEBUG + assert( p ); + assert( p->id==SQLITE_MUTEX_RECURSIVE || winMutexNotheld2(p, tid) ); +#else + assert( p ); +#endif + assert( winMutex_isInit==1 ); + EnterCriticalSection(&p->mutex); +#ifdef SQLITE_DEBUG + assert( p->nRef>0 || p->owner==0 ); + p->owner = tid; + p->nRef++; + if( p->trace ){ + OSTRACE(("ENTER-MUTEX tid=%lu, mutex(%d)=%p (%d), nRef=%d\n", + tid, p->id, p, p->trace, p->nRef)); + } +#endif +} + +static int winMutexTry(sqlite3_mutex *p){ +#if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) + DWORD tid = GetCurrentThreadId(); +#endif + int rc = SQLITE_BUSY; + assert( p ); + assert( p->id==SQLITE_MUTEX_RECURSIVE || winMutexNotheld2(p, tid) ); + /* + ** The sqlite3_mutex_try() routine is very rarely used, and when it + ** is used it is merely an optimization. So it is OK for it to always + ** fail. + ** + ** The TryEnterCriticalSection() interface is only available on WinNT. + ** And some windows compilers complain if you try to use it without + ** first doing some #defines that prevent SQLite from building on Win98. + ** For that reason, we will omit this optimization for now. See + ** ticket #2685. + */ +#if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0400 + assert( winMutex_isInit==1 ); + assert( winMutex_isNt>=-1 && winMutex_isNt<=1 ); + if( winMutex_isNt<0 ){ + winMutex_isNt = sqlite3_win32_is_nt(); + } + assert( winMutex_isNt==0 || winMutex_isNt==1 ); + if( winMutex_isNt && TryEnterCriticalSection(&p->mutex) ){ +#ifdef SQLITE_DEBUG + p->owner = tid; + p->nRef++; +#endif + rc = SQLITE_OK; + } +#else + UNUSED_PARAMETER(p); +#endif +#ifdef SQLITE_DEBUG + if( p->trace ){ + OSTRACE(("TRY-MUTEX tid=%lu, mutex(%d)=%p (%d), owner=%lu, nRef=%d, rc=%s\n", + tid, p->id, p, p->trace, p->owner, p->nRef, sqlite3ErrName(rc))); + } +#endif + return rc; +} + +/* +** The sqlite3_mutex_leave() routine exits a mutex that was +** previously entered by the same thread. The behavior +** is undefined if the mutex is not currently entered or +** is not currently allocated. SQLite will never do either. +*/ +static void winMutexLeave(sqlite3_mutex *p){ +#if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) + DWORD tid = GetCurrentThreadId(); +#endif + assert( p ); +#ifdef SQLITE_DEBUG + assert( p->nRef>0 ); + assert( p->owner==tid ); + p->nRef--; + if( p->nRef==0 ) p->owner = 0; + assert( p->nRef==0 || p->id==SQLITE_MUTEX_RECURSIVE ); +#endif + assert( winMutex_isInit==1 ); + LeaveCriticalSection(&p->mutex); +#ifdef SQLITE_DEBUG + if( p->trace ){ + OSTRACE(("LEAVE-MUTEX tid=%lu, mutex(%d)=%p (%d), nRef=%d\n", + tid, p->id, p, p->trace, p->nRef)); + } +#endif +} + +SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3DefaultMutex(void){ + static const sqlite3_mutex_methods sMutex = { + winMutexInit, + winMutexEnd, + winMutexAlloc, + winMutexFree, + winMutexEnter, + winMutexTry, + winMutexLeave, +#ifdef SQLITE_DEBUG + winMutexHeld, + winMutexNotheld +#else + 0, + 0 +#endif + }; + return &sMutex; +} + +#endif /* SQLITE_MUTEX_W32 */ + +/************** End of mutex_w32.c *******************************************/ +/************** Begin file malloc.c ******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** Memory allocation functions used throughout sqlite. +*/ +/* #include "sqliteInt.h" */ +/* #include */ + +/* +** Attempt to release up to n bytes of non-essential memory currently +** held by SQLite. An example of non-essential memory is memory used to +** cache database pages that are not currently in use. +*/ +SQLITE_API int sqlite3_release_memory(int n){ +#ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT + return sqlite3PcacheReleaseMemory(n); +#else + /* IMPLEMENTATION-OF: R-34391-24921 The sqlite3_release_memory() routine + ** is a no-op returning zero if SQLite is not compiled with + ** SQLITE_ENABLE_MEMORY_MANAGEMENT. */ + UNUSED_PARAMETER(n); + return 0; +#endif +} + +/* +** State information local to the memory allocation subsystem. +*/ +static SQLITE_WSD struct Mem0Global { + sqlite3_mutex *mutex; /* Mutex to serialize access */ + sqlite3_int64 alarmThreshold; /* The soft heap limit */ + + /* + ** True if heap is nearly "full" where "full" is defined by the + ** sqlite3_soft_heap_limit() setting. + */ + int nearlyFull; +} mem0 = { 0, 0, 0 }; + +#define mem0 GLOBAL(struct Mem0Global, mem0) + +/* +** Return the memory allocator mutex. sqlite3_status() needs it. +*/ +SQLITE_PRIVATE sqlite3_mutex *sqlite3MallocMutex(void){ + return mem0.mutex; +} + +#ifndef SQLITE_OMIT_DEPRECATED +/* +** Deprecated external interface. It used to set an alarm callback +** that was invoked when memory usage grew too large. Now it is a +** no-op. +*/ +SQLITE_API int sqlite3_memory_alarm( + void(*xCallback)(void *pArg, sqlite3_int64 used,int N), + void *pArg, + sqlite3_int64 iThreshold +){ + (void)xCallback; + (void)pArg; + (void)iThreshold; + return SQLITE_OK; +} +#endif + +/* +** Set the soft heap-size limit for the library. Passing a zero or +** negative value indicates no limit. +*/ +SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 n){ + sqlite3_int64 priorLimit; + sqlite3_int64 excess; + sqlite3_int64 nUsed; +#ifndef SQLITE_OMIT_AUTOINIT + int rc = sqlite3_initialize(); + if( rc ) return -1; +#endif + sqlite3_mutex_enter(mem0.mutex); + priorLimit = mem0.alarmThreshold; + if( n<0 ){ + sqlite3_mutex_leave(mem0.mutex); + return priorLimit; + } + mem0.alarmThreshold = n; + nUsed = sqlite3StatusValue(SQLITE_STATUS_MEMORY_USED); + mem0.nearlyFull = (n>0 && n<=nUsed); + sqlite3_mutex_leave(mem0.mutex); + excess = sqlite3_memory_used() - n; + if( excess>0 ) sqlite3_release_memory((int)(excess & 0x7fffffff)); + return priorLimit; +} +SQLITE_API void sqlite3_soft_heap_limit(int n){ + if( n<0 ) n = 0; + sqlite3_soft_heap_limit64(n); +} + +/* +** Initialize the memory allocation subsystem. +*/ +SQLITE_PRIVATE int sqlite3MallocInit(void){ + int rc; + if( sqlite3GlobalConfig.m.xMalloc==0 ){ + sqlite3MemSetDefault(); + } + memset(&mem0, 0, sizeof(mem0)); + mem0.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MEM); + if( sqlite3GlobalConfig.pPage==0 || sqlite3GlobalConfig.szPage<512 + || sqlite3GlobalConfig.nPage<=0 ){ + sqlite3GlobalConfig.pPage = 0; + sqlite3GlobalConfig.szPage = 0; + } + rc = sqlite3GlobalConfig.m.xInit(sqlite3GlobalConfig.m.pAppData); + if( rc!=SQLITE_OK ) memset(&mem0, 0, sizeof(mem0)); + return rc; +} + +/* +** Return true if the heap is currently under memory pressure - in other +** words if the amount of heap used is close to the limit set by +** sqlite3_soft_heap_limit(). +*/ +SQLITE_PRIVATE int sqlite3HeapNearlyFull(void){ + return mem0.nearlyFull; +} + +/* +** Deinitialize the memory allocation subsystem. +*/ +SQLITE_PRIVATE void sqlite3MallocEnd(void){ + if( sqlite3GlobalConfig.m.xShutdown ){ + sqlite3GlobalConfig.m.xShutdown(sqlite3GlobalConfig.m.pAppData); + } + memset(&mem0, 0, sizeof(mem0)); +} + +/* +** Return the amount of memory currently checked out. +*/ +SQLITE_API sqlite3_int64 sqlite3_memory_used(void){ + sqlite3_int64 res, mx; + sqlite3_status64(SQLITE_STATUS_MEMORY_USED, &res, &mx, 0); + return res; +} + +/* +** Return the maximum amount of memory that has ever been +** checked out since either the beginning of this process +** or since the most recent reset. +*/ +SQLITE_API sqlite3_int64 sqlite3_memory_highwater(int resetFlag){ + sqlite3_int64 res, mx; + sqlite3_status64(SQLITE_STATUS_MEMORY_USED, &res, &mx, resetFlag); + return mx; +} + +/* +** Trigger the alarm +*/ +static void sqlite3MallocAlarm(int nByte){ + if( mem0.alarmThreshold<=0 ) return; + sqlite3_mutex_leave(mem0.mutex); + sqlite3_release_memory(nByte); + sqlite3_mutex_enter(mem0.mutex); +} + +/* +** Do a memory allocation with statistics and alarms. Assume the +** lock is already held. +*/ +static void mallocWithAlarm(int n, void **pp){ + void *p; + int nFull; + assert( sqlite3_mutex_held(mem0.mutex) ); + assert( n>0 ); + + /* In Firefox (circa 2017-02-08), xRoundup() is remapped to an internal + ** implementation of malloc_good_size(), which must be called in debug + ** mode and specifically when the DMD "Dark Matter Detector" is enabled + ** or else a crash results. Hence, do not attempt to optimize out the + ** following xRoundup() call. */ + nFull = sqlite3GlobalConfig.m.xRoundup(n); + +#ifdef SQLITE_MAX_MEMORY + if( sqlite3StatusValue(SQLITE_STATUS_MEMORY_USED)+nFull>SQLITE_MAX_MEMORY ){ + *pp = 0; + return; + } +#endif + + sqlite3StatusHighwater(SQLITE_STATUS_MALLOC_SIZE, n); + if( mem0.alarmThreshold>0 ){ + sqlite3_int64 nUsed = sqlite3StatusValue(SQLITE_STATUS_MEMORY_USED); + if( nUsed >= mem0.alarmThreshold - nFull ){ + mem0.nearlyFull = 1; + sqlite3MallocAlarm(nFull); + }else{ + mem0.nearlyFull = 0; + } + } + p = sqlite3GlobalConfig.m.xMalloc(nFull); +#ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT + if( p==0 && mem0.alarmThreshold>0 ){ + sqlite3MallocAlarm(nFull); + p = sqlite3GlobalConfig.m.xMalloc(nFull); + } +#endif + if( p ){ + nFull = sqlite3MallocSize(p); + sqlite3StatusUp(SQLITE_STATUS_MEMORY_USED, nFull); + sqlite3StatusUp(SQLITE_STATUS_MALLOC_COUNT, 1); + } + *pp = p; +} + +/* +** Allocate memory. This routine is like sqlite3_malloc() except that it +** assumes the memory subsystem has already been initialized. +*/ +SQLITE_PRIVATE void *sqlite3Malloc(u64 n){ + void *p; + if( n==0 || n>=0x7fffff00 ){ + /* A memory allocation of a number of bytes which is near the maximum + ** signed integer value might cause an integer overflow inside of the + ** xMalloc(). Hence we limit the maximum size to 0x7fffff00, giving + ** 255 bytes of overhead. SQLite itself will never use anything near + ** this amount. The only way to reach the limit is with sqlite3_malloc() */ + p = 0; + }else if( sqlite3GlobalConfig.bMemstat ){ + sqlite3_mutex_enter(mem0.mutex); + mallocWithAlarm((int)n, &p); + sqlite3_mutex_leave(mem0.mutex); + }else{ + p = sqlite3GlobalConfig.m.xMalloc((int)n); + } + assert( EIGHT_BYTE_ALIGNMENT(p) ); /* IMP: R-11148-40995 */ + return p; +} + +/* +** This version of the memory allocation is for use by the application. +** First make sure the memory subsystem is initialized, then do the +** allocation. +*/ +SQLITE_API void *sqlite3_malloc(int n){ +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return 0; +#endif + return n<=0 ? 0 : sqlite3Malloc(n); +} +SQLITE_API void *sqlite3_malloc64(sqlite3_uint64 n){ +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return 0; +#endif + return sqlite3Malloc(n); +} + +/* +** TRUE if p is a lookaside memory allocation from db +*/ +#ifndef SQLITE_OMIT_LOOKASIDE +static int isLookaside(sqlite3 *db, void *p){ + return SQLITE_WITHIN(p, db->lookaside.pStart, db->lookaside.pEnd); +} +#else +#define isLookaside(A,B) 0 +#endif + +/* +** Return the size of a memory allocation previously obtained from +** sqlite3Malloc() or sqlite3_malloc(). +*/ +SQLITE_PRIVATE int sqlite3MallocSize(void *p){ + assert( sqlite3MemdebugHasType(p, MEMTYPE_HEAP) ); + return sqlite3GlobalConfig.m.xSize(p); +} +SQLITE_PRIVATE int sqlite3DbMallocSize(sqlite3 *db, void *p){ + assert( p!=0 ); + if( db==0 || !isLookaside(db,p) ){ +#ifdef SQLITE_DEBUG + if( db==0 ){ + assert( sqlite3MemdebugNoType(p, (u8)~MEMTYPE_HEAP) ); + assert( sqlite3MemdebugHasType(p, MEMTYPE_HEAP) ); + }else{ + assert( sqlite3MemdebugHasType(p, (MEMTYPE_LOOKASIDE|MEMTYPE_HEAP)) ); + assert( sqlite3MemdebugNoType(p, (u8)~(MEMTYPE_LOOKASIDE|MEMTYPE_HEAP)) ); + } +#endif + return sqlite3GlobalConfig.m.xSize(p); + }else{ + assert( sqlite3_mutex_held(db->mutex) ); + return db->lookaside.sz; + } +} +SQLITE_API sqlite3_uint64 sqlite3_msize(void *p){ + assert( sqlite3MemdebugNoType(p, (u8)~MEMTYPE_HEAP) ); + assert( sqlite3MemdebugHasType(p, MEMTYPE_HEAP) ); + return p ? sqlite3GlobalConfig.m.xSize(p) : 0; +} + +/* +** Free memory previously obtained from sqlite3Malloc(). +*/ +SQLITE_API void sqlite3_free(void *p){ + if( p==0 ) return; /* IMP: R-49053-54554 */ + assert( sqlite3MemdebugHasType(p, MEMTYPE_HEAP) ); + assert( sqlite3MemdebugNoType(p, (u8)~MEMTYPE_HEAP) ); + if( sqlite3GlobalConfig.bMemstat ){ + sqlite3_mutex_enter(mem0.mutex); + sqlite3StatusDown(SQLITE_STATUS_MEMORY_USED, sqlite3MallocSize(p)); + sqlite3StatusDown(SQLITE_STATUS_MALLOC_COUNT, 1); + sqlite3GlobalConfig.m.xFree(p); + sqlite3_mutex_leave(mem0.mutex); + }else{ + sqlite3GlobalConfig.m.xFree(p); + } +} + +/* +** Add the size of memory allocation "p" to the count in +** *db->pnBytesFreed. +*/ +static SQLITE_NOINLINE void measureAllocationSize(sqlite3 *db, void *p){ + *db->pnBytesFreed += sqlite3DbMallocSize(db,p); +} + +/* +** Free memory that might be associated with a particular database +** connection. Calling sqlite3DbFree(D,X) for X==0 is a harmless no-op. +** The sqlite3DbFreeNN(D,X) version requires that X be non-NULL. +*/ +SQLITE_PRIVATE void sqlite3DbFreeNN(sqlite3 *db, void *p){ + assert( db==0 || sqlite3_mutex_held(db->mutex) ); + assert( p!=0 ); + if( db ){ + if( db->pnBytesFreed ){ + measureAllocationSize(db, p); + return; + } + if( isLookaside(db, p) ){ + LookasideSlot *pBuf = (LookasideSlot*)p; +#ifdef SQLITE_DEBUG + /* Trash all content in the buffer being freed */ + memset(p, 0xaa, db->lookaside.sz); +#endif + pBuf->pNext = db->lookaside.pFree; + db->lookaside.pFree = pBuf; + return; + } + } + assert( sqlite3MemdebugHasType(p, (MEMTYPE_LOOKASIDE|MEMTYPE_HEAP)) ); + assert( sqlite3MemdebugNoType(p, (u8)~(MEMTYPE_LOOKASIDE|MEMTYPE_HEAP)) ); + assert( db!=0 || sqlite3MemdebugNoType(p, MEMTYPE_LOOKASIDE) ); + sqlite3MemdebugSetType(p, MEMTYPE_HEAP); + sqlite3_free(p); +} +SQLITE_PRIVATE void sqlite3DbFree(sqlite3 *db, void *p){ + assert( db==0 || sqlite3_mutex_held(db->mutex) ); + if( p ) sqlite3DbFreeNN(db, p); +} + +/* +** Change the size of an existing memory allocation +*/ +SQLITE_PRIVATE void *sqlite3Realloc(void *pOld, u64 nBytes){ + int nOld, nNew, nDiff; + void *pNew; + assert( sqlite3MemdebugHasType(pOld, MEMTYPE_HEAP) ); + assert( sqlite3MemdebugNoType(pOld, (u8)~MEMTYPE_HEAP) ); + if( pOld==0 ){ + return sqlite3Malloc(nBytes); /* IMP: R-04300-56712 */ + } + if( nBytes==0 ){ + sqlite3_free(pOld); /* IMP: R-26507-47431 */ + return 0; + } + if( nBytes>=0x7fffff00 ){ + /* The 0x7ffff00 limit term is explained in comments on sqlite3Malloc() */ + return 0; + } + nOld = sqlite3MallocSize(pOld); + /* IMPLEMENTATION-OF: R-46199-30249 SQLite guarantees that the second + ** argument to xRealloc is always a value returned by a prior call to + ** xRoundup. */ + nNew = sqlite3GlobalConfig.m.xRoundup((int)nBytes); + if( nOld==nNew ){ + pNew = pOld; + }else if( sqlite3GlobalConfig.bMemstat ){ + sqlite3_mutex_enter(mem0.mutex); + sqlite3StatusHighwater(SQLITE_STATUS_MALLOC_SIZE, (int)nBytes); + nDiff = nNew - nOld; + if( nDiff>0 && sqlite3StatusValue(SQLITE_STATUS_MEMORY_USED) >= + mem0.alarmThreshold-nDiff ){ + sqlite3MallocAlarm(nDiff); + } + pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew); + if( pNew==0 && mem0.alarmThreshold>0 ){ + sqlite3MallocAlarm((int)nBytes); + pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew); + } + if( pNew ){ + nNew = sqlite3MallocSize(pNew); + sqlite3StatusUp(SQLITE_STATUS_MEMORY_USED, nNew-nOld); + } + sqlite3_mutex_leave(mem0.mutex); + }else{ + pNew = sqlite3GlobalConfig.m.xRealloc(pOld, nNew); + } + assert( EIGHT_BYTE_ALIGNMENT(pNew) ); /* IMP: R-11148-40995 */ + return pNew; +} + +/* +** The public interface to sqlite3Realloc. Make sure that the memory +** subsystem is initialized prior to invoking sqliteRealloc. +*/ +SQLITE_API void *sqlite3_realloc(void *pOld, int n){ +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return 0; +#endif + if( n<0 ) n = 0; /* IMP: R-26507-47431 */ + return sqlite3Realloc(pOld, n); +} +SQLITE_API void *sqlite3_realloc64(void *pOld, sqlite3_uint64 n){ +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return 0; +#endif + return sqlite3Realloc(pOld, n); +} + + +/* +** Allocate and zero memory. +*/ +SQLITE_PRIVATE void *sqlite3MallocZero(u64 n){ + void *p = sqlite3Malloc(n); + if( p ){ + memset(p, 0, (size_t)n); + } + return p; +} + +/* +** Allocate and zero memory. If the allocation fails, make +** the mallocFailed flag in the connection pointer. +*/ +SQLITE_PRIVATE void *sqlite3DbMallocZero(sqlite3 *db, u64 n){ + void *p; + testcase( db==0 ); + p = sqlite3DbMallocRaw(db, n); + if( p ) memset(p, 0, (size_t)n); + return p; +} + + +/* Finish the work of sqlite3DbMallocRawNN for the unusual and +** slower case when the allocation cannot be fulfilled using lookaside. +*/ +static SQLITE_NOINLINE void *dbMallocRawFinish(sqlite3 *db, u64 n){ + void *p; + assert( db!=0 ); + p = sqlite3Malloc(n); + if( !p ) sqlite3OomFault(db); + sqlite3MemdebugSetType(p, + (db->lookaside.bDisable==0) ? MEMTYPE_LOOKASIDE : MEMTYPE_HEAP); + return p; +} + +/* +** Allocate memory, either lookaside (if possible) or heap. +** If the allocation fails, set the mallocFailed flag in +** the connection pointer. +** +** If db!=0 and db->mallocFailed is true (indicating a prior malloc +** failure on the same database connection) then always return 0. +** Hence for a particular database connection, once malloc starts +** failing, it fails consistently until mallocFailed is reset. +** This is an important assumption. There are many places in the +** code that do things like this: +** +** int *a = (int*)sqlite3DbMallocRaw(db, 100); +** int *b = (int*)sqlite3DbMallocRaw(db, 200); +** if( b ) a[10] = 9; +** +** In other words, if a subsequent malloc (ex: "b") worked, it is assumed +** that all prior mallocs (ex: "a") worked too. +** +** The sqlite3MallocRawNN() variant guarantees that the "db" parameter is +** not a NULL pointer. +*/ +SQLITE_PRIVATE void *sqlite3DbMallocRaw(sqlite3 *db, u64 n){ + void *p; + if( db ) return sqlite3DbMallocRawNN(db, n); + p = sqlite3Malloc(n); + sqlite3MemdebugSetType(p, MEMTYPE_HEAP); + return p; +} +SQLITE_PRIVATE void *sqlite3DbMallocRawNN(sqlite3 *db, u64 n){ +#ifndef SQLITE_OMIT_LOOKASIDE + LookasideSlot *pBuf; + assert( db!=0 ); + assert( sqlite3_mutex_held(db->mutex) ); + assert( db->pnBytesFreed==0 ); + if( db->lookaside.bDisable==0 ){ + assert( db->mallocFailed==0 ); + if( n>db->lookaside.sz ){ + db->lookaside.anStat[1]++; + }else if( (pBuf = db->lookaside.pFree)!=0 ){ + db->lookaside.pFree = pBuf->pNext; + db->lookaside.anStat[0]++; + return (void*)pBuf; + }else if( (pBuf = db->lookaside.pInit)!=0 ){ + db->lookaside.pInit = pBuf->pNext; + db->lookaside.anStat[0]++; + return (void*)pBuf; + }else{ + db->lookaside.anStat[2]++; + } + }else if( db->mallocFailed ){ + return 0; + } +#else + assert( db!=0 ); + assert( sqlite3_mutex_held(db->mutex) ); + assert( db->pnBytesFreed==0 ); + if( db->mallocFailed ){ + return 0; + } +#endif + return dbMallocRawFinish(db, n); +} + +/* Forward declaration */ +static SQLITE_NOINLINE void *dbReallocFinish(sqlite3 *db, void *p, u64 n); + +/* +** Resize the block of memory pointed to by p to n bytes. If the +** resize fails, set the mallocFailed flag in the connection object. +*/ +SQLITE_PRIVATE void *sqlite3DbRealloc(sqlite3 *db, void *p, u64 n){ + assert( db!=0 ); + if( p==0 ) return sqlite3DbMallocRawNN(db, n); + assert( sqlite3_mutex_held(db->mutex) ); + if( isLookaside(db,p) && n<=db->lookaside.sz ) return p; + return dbReallocFinish(db, p, n); +} +static SQLITE_NOINLINE void *dbReallocFinish(sqlite3 *db, void *p, u64 n){ + void *pNew = 0; + assert( db!=0 ); + assert( p!=0 ); + if( db->mallocFailed==0 ){ + if( isLookaside(db, p) ){ + pNew = sqlite3DbMallocRawNN(db, n); + if( pNew ){ + memcpy(pNew, p, db->lookaside.sz); + sqlite3DbFree(db, p); + } + }else{ + assert( sqlite3MemdebugHasType(p, (MEMTYPE_LOOKASIDE|MEMTYPE_HEAP)) ); + assert( sqlite3MemdebugNoType(p, (u8)~(MEMTYPE_LOOKASIDE|MEMTYPE_HEAP)) ); + sqlite3MemdebugSetType(p, MEMTYPE_HEAP); + pNew = sqlite3_realloc64(p, n); + if( !pNew ){ + sqlite3OomFault(db); + } + sqlite3MemdebugSetType(pNew, + (db->lookaside.bDisable==0 ? MEMTYPE_LOOKASIDE : MEMTYPE_HEAP)); + } + } + return pNew; +} + +/* +** Attempt to reallocate p. If the reallocation fails, then free p +** and set the mallocFailed flag in the database connection. +*/ +SQLITE_PRIVATE void *sqlite3DbReallocOrFree(sqlite3 *db, void *p, u64 n){ + void *pNew; + pNew = sqlite3DbRealloc(db, p, n); + if( !pNew ){ + sqlite3DbFree(db, p); + } + return pNew; +} + +/* +** Make a copy of a string in memory obtained from sqliteMalloc(). These +** functions call sqlite3MallocRaw() directly instead of sqliteMalloc(). This +** is because when memory debugging is turned on, these two functions are +** called via macros that record the current file and line number in the +** ThreadData structure. +*/ +SQLITE_PRIVATE char *sqlite3DbStrDup(sqlite3 *db, const char *z){ + char *zNew; + size_t n; + if( z==0 ){ + return 0; + } + n = strlen(z) + 1; + zNew = sqlite3DbMallocRaw(db, n); + if( zNew ){ + memcpy(zNew, z, n); + } + return zNew; +} +SQLITE_PRIVATE char *sqlite3DbStrNDup(sqlite3 *db, const char *z, u64 n){ + char *zNew; + assert( db!=0 ); + if( z==0 ){ + return 0; + } + assert( (n&0x7fffffff)==n ); + zNew = sqlite3DbMallocRawNN(db, n+1); + if( zNew ){ + memcpy(zNew, z, (size_t)n); + zNew[n] = 0; + } + return zNew; +} + +/* +** The text between zStart and zEnd represents a phrase within a larger +** SQL statement. Make a copy of this phrase in space obtained form +** sqlite3DbMalloc(). Omit leading and trailing whitespace. +*/ +SQLITE_PRIVATE char *sqlite3DbSpanDup(sqlite3 *db, const char *zStart, const char *zEnd){ + int n; + while( sqlite3Isspace(zStart[0]) ) zStart++; + n = (int)(zEnd - zStart); + while( ALWAYS(n>0) && sqlite3Isspace(zStart[n-1]) ) n--; + return sqlite3DbStrNDup(db, zStart, n); +} + +/* +** Free any prior content in *pz and replace it with a copy of zNew. +*/ +SQLITE_PRIVATE void sqlite3SetString(char **pz, sqlite3 *db, const char *zNew){ + sqlite3DbFree(db, *pz); + *pz = sqlite3DbStrDup(db, zNew); +} + +/* +** Call this routine to record the fact that an OOM (out-of-memory) error +** has happened. This routine will set db->mallocFailed, and also +** temporarily disable the lookaside memory allocator and interrupt +** any running VDBEs. +*/ +SQLITE_PRIVATE void sqlite3OomFault(sqlite3 *db){ + if( db->mallocFailed==0 && db->bBenignMalloc==0 ){ + db->mallocFailed = 1; + if( db->nVdbeExec>0 ){ + db->u1.isInterrupted = 1; + } + db->lookaside.bDisable++; + if( db->pParse ){ + db->pParse->rc = SQLITE_NOMEM_BKPT; + } + } +} + +/* +** This routine reactivates the memory allocator and clears the +** db->mallocFailed flag as necessary. +** +** The memory allocator is not restarted if there are running +** VDBEs. +*/ +SQLITE_PRIVATE void sqlite3OomClear(sqlite3 *db){ + if( db->mallocFailed && db->nVdbeExec==0 ){ + db->mallocFailed = 0; + db->u1.isInterrupted = 0; + assert( db->lookaside.bDisable>0 ); + db->lookaside.bDisable--; + } +} + +/* +** Take actions at the end of an API call to indicate an OOM error +*/ +static SQLITE_NOINLINE int apiOomError(sqlite3 *db){ + sqlite3OomClear(db); + sqlite3Error(db, SQLITE_NOMEM); + return SQLITE_NOMEM_BKPT; +} + +/* +** This function must be called before exiting any API function (i.e. +** returning control to the user) that has called sqlite3_malloc or +** sqlite3_realloc. +** +** The returned value is normally a copy of the second argument to this +** function. However, if a malloc() failure has occurred since the previous +** invocation SQLITE_NOMEM is returned instead. +** +** If an OOM as occurred, then the connection error-code (the value +** returned by sqlite3_errcode()) is set to SQLITE_NOMEM. +*/ +SQLITE_PRIVATE int sqlite3ApiExit(sqlite3* db, int rc){ + /* If the db handle must hold the connection handle mutex here. + ** Otherwise the read (and possible write) of db->mallocFailed + ** is unsafe, as is the call to sqlite3Error(). + */ + assert( db!=0 ); + assert( sqlite3_mutex_held(db->mutex) ); + if( db->mallocFailed || rc==SQLITE_IOERR_NOMEM ){ + return apiOomError(db); + } + return rc & db->errMask; +} + +/************** End of malloc.c **********************************************/ +/************** Begin file printf.c ******************************************/ +/* +** The "printf" code that follows dates from the 1980's. It is in +** the public domain. +** +************************************************************************** +** +** This file contains code for a set of "printf"-like routines. These +** routines format strings much like the printf() from the standard C +** library, though the implementation here has enhancements to support +** SQLite. +*/ +/* #include "sqliteInt.h" */ + +/* +** Conversion types fall into various categories as defined by the +** following enumeration. +*/ +#define etRADIX 0 /* non-decimal integer types. %x %o */ +#define etFLOAT 1 /* Floating point. %f */ +#define etEXP 2 /* Exponentional notation. %e and %E */ +#define etGENERIC 3 /* Floating or exponential, depending on exponent. %g */ +#define etSIZE 4 /* Return number of characters processed so far. %n */ +#define etSTRING 5 /* Strings. %s */ +#define etDYNSTRING 6 /* Dynamically allocated strings. %z */ +#define etPERCENT 7 /* Percent symbol. %% */ +#define etCHARX 8 /* Characters. %c */ +/* The rest are extensions, not normally found in printf() */ +#define etSQLESCAPE 9 /* Strings with '\'' doubled. %q */ +#define etSQLESCAPE2 10 /* Strings with '\'' doubled and enclosed in '', + NULL pointers replaced by SQL NULL. %Q */ +#define etTOKEN 11 /* a pointer to a Token structure */ +#define etSRCLIST 12 /* a pointer to a SrcList */ +#define etPOINTER 13 /* The %p conversion */ +#define etSQLESCAPE3 14 /* %w -> Strings with '\"' doubled */ +#define etORDINAL 15 /* %r -> 1st, 2nd, 3rd, 4th, etc. English only */ +#define etDECIMAL 16 /* %d or %u, but not %x, %o */ + +#define etINVALID 17 /* Any unrecognized conversion type */ + + +/* +** An "etByte" is an 8-bit unsigned value. +*/ +typedef unsigned char etByte; + +/* +** Each builtin conversion character (ex: the 'd' in "%d") is described +** by an instance of the following structure +*/ +typedef struct et_info { /* Information about each format field */ + char fmttype; /* The format field code letter */ + etByte base; /* The base for radix conversion */ + etByte flags; /* One or more of FLAG_ constants below */ + etByte type; /* Conversion paradigm */ + etByte charset; /* Offset into aDigits[] of the digits string */ + etByte prefix; /* Offset into aPrefix[] of the prefix string */ +} et_info; + +/* +** Allowed values for et_info.flags +*/ +#define FLAG_SIGNED 1 /* True if the value to convert is signed */ +#define FLAG_STRING 4 /* Allow infinite precision */ + + +/* +** The following table is searched linearly, so it is good to put the +** most frequently used conversion types first. +*/ +static const char aDigits[] = "0123456789ABCDEF0123456789abcdef"; +static const char aPrefix[] = "-x0\000X0"; +static const et_info fmtinfo[] = { + { 'd', 10, 1, etDECIMAL, 0, 0 }, + { 's', 0, 4, etSTRING, 0, 0 }, + { 'g', 0, 1, etGENERIC, 30, 0 }, + { 'z', 0, 4, etDYNSTRING, 0, 0 }, + { 'q', 0, 4, etSQLESCAPE, 0, 0 }, + { 'Q', 0, 4, etSQLESCAPE2, 0, 0 }, + { 'w', 0, 4, etSQLESCAPE3, 0, 0 }, + { 'c', 0, 0, etCHARX, 0, 0 }, + { 'o', 8, 0, etRADIX, 0, 2 }, + { 'u', 10, 0, etDECIMAL, 0, 0 }, + { 'x', 16, 0, etRADIX, 16, 1 }, + { 'X', 16, 0, etRADIX, 0, 4 }, +#ifndef SQLITE_OMIT_FLOATING_POINT + { 'f', 0, 1, etFLOAT, 0, 0 }, + { 'e', 0, 1, etEXP, 30, 0 }, + { 'E', 0, 1, etEXP, 14, 0 }, + { 'G', 0, 1, etGENERIC, 14, 0 }, +#endif + { 'i', 10, 1, etDECIMAL, 0, 0 }, + { 'n', 0, 0, etSIZE, 0, 0 }, + { '%', 0, 0, etPERCENT, 0, 0 }, + { 'p', 16, 0, etPOINTER, 0, 1 }, + + /* All the rest are undocumented and are for internal use only */ + { 'T', 0, 0, etTOKEN, 0, 0 }, + { 'S', 0, 0, etSRCLIST, 0, 0 }, + { 'r', 10, 1, etORDINAL, 0, 0 }, +}; + +/* Floating point constants used for rounding */ +static const double arRound[] = { + 5.0e-01, 5.0e-02, 5.0e-03, 5.0e-04, 5.0e-05, + 5.0e-06, 5.0e-07, 5.0e-08, 5.0e-09, 5.0e-10, +}; + +/* +** If SQLITE_OMIT_FLOATING_POINT is defined, then none of the floating point +** conversions will work. +*/ +#ifndef SQLITE_OMIT_FLOATING_POINT +/* +** "*val" is a double such that 0.1 <= *val < 10.0 +** Return the ascii code for the leading digit of *val, then +** multiply "*val" by 10.0 to renormalize. +** +** Example: +** input: *val = 3.14159 +** output: *val = 1.4159 function return = '3' +** +** The counter *cnt is incremented each time. After counter exceeds +** 16 (the number of significant digits in a 64-bit float) '0' is +** always returned. +*/ +static char et_getdigit(LONGDOUBLE_TYPE *val, int *cnt){ + int digit; + LONGDOUBLE_TYPE d; + if( (*cnt)<=0 ) return '0'; + (*cnt)--; + digit = (int)*val; + d = digit; + digit += '0'; + *val = (*val - d)*10.0; + return (char)digit; +} +#endif /* SQLITE_OMIT_FLOATING_POINT */ + +/* +** Set the StrAccum object to an error mode. +*/ +static void setStrAccumError(StrAccum *p, u8 eError){ + assert( eError==SQLITE_NOMEM || eError==SQLITE_TOOBIG ); + p->accError = eError; + if( p->mxAlloc ) sqlite3_str_reset(p); + if( eError==SQLITE_TOOBIG ) sqlite3ErrorToParser(p->db, eError); +} + +/* +** Extra argument values from a PrintfArguments object +*/ +static sqlite3_int64 getIntArg(PrintfArguments *p){ + if( p->nArg<=p->nUsed ) return 0; + return sqlite3_value_int64(p->apArg[p->nUsed++]); +} +static double getDoubleArg(PrintfArguments *p){ + if( p->nArg<=p->nUsed ) return 0.0; + return sqlite3_value_double(p->apArg[p->nUsed++]); +} +static char *getTextArg(PrintfArguments *p){ + if( p->nArg<=p->nUsed ) return 0; + return (char*)sqlite3_value_text(p->apArg[p->nUsed++]); +} + +/* +** Allocate memory for a temporary buffer needed for printf rendering. +** +** If the requested size of the temp buffer is larger than the size +** of the output buffer in pAccum, then cause an SQLITE_TOOBIG error. +** Do the size check before the memory allocation to prevent rogue +** SQL from requesting large allocations using the precision or width +** field of the printf() function. +*/ +static char *printfTempBuf(sqlite3_str *pAccum, sqlite3_int64 n){ + char *z; + if( pAccum->accError ) return 0; + if( n>pAccum->nAlloc && n>pAccum->mxAlloc ){ + setStrAccumError(pAccum, SQLITE_TOOBIG); + return 0; + } + z = sqlite3DbMallocRaw(pAccum->db, n); + if( z==0 ){ + setStrAccumError(pAccum, SQLITE_NOMEM); + } + return z; +} + +/* +** On machines with a small stack size, you can redefine the +** SQLITE_PRINT_BUF_SIZE to be something smaller, if desired. +*/ +#ifndef SQLITE_PRINT_BUF_SIZE +# define SQLITE_PRINT_BUF_SIZE 70 +#endif +#define etBUFSIZE SQLITE_PRINT_BUF_SIZE /* Size of the output buffer */ + +/* +** Render a string given by "fmt" into the StrAccum object. +*/ +SQLITE_API void sqlite3_str_vappendf( + sqlite3_str *pAccum, /* Accumulate results here */ + const char *fmt, /* Format string */ + va_list ap /* arguments */ +){ + int c; /* Next character in the format string */ + char *bufpt; /* Pointer to the conversion buffer */ + int precision; /* Precision of the current field */ + int length; /* Length of the field */ + int idx; /* A general purpose loop counter */ + int width; /* Width of the current field */ + etByte flag_leftjustify; /* True if "-" flag is present */ + etByte flag_prefix; /* '+' or ' ' or 0 for prefix */ + etByte flag_alternateform; /* True if "#" flag is present */ + etByte flag_altform2; /* True if "!" flag is present */ + etByte flag_zeropad; /* True if field width constant starts with zero */ + etByte flag_long; /* 1 for the "l" flag, 2 for "ll", 0 by default */ + etByte done; /* Loop termination flag */ + etByte cThousand; /* Thousands separator for %d and %u */ + etByte xtype = etINVALID; /* Conversion paradigm */ + u8 bArgList; /* True for SQLITE_PRINTF_SQLFUNC */ + char prefix; /* Prefix character. "+" or "-" or " " or '\0'. */ + sqlite_uint64 longvalue; /* Value for integer types */ + LONGDOUBLE_TYPE realvalue; /* Value for real types */ + const et_info *infop; /* Pointer to the appropriate info structure */ + char *zOut; /* Rendering buffer */ + int nOut; /* Size of the rendering buffer */ + char *zExtra = 0; /* Malloced memory used by some conversion */ +#ifndef SQLITE_OMIT_FLOATING_POINT + int exp, e2; /* exponent of real numbers */ + int nsd; /* Number of significant digits returned */ + double rounder; /* Used for rounding floating point values */ + etByte flag_dp; /* True if decimal point should be shown */ + etByte flag_rtz; /* True if trailing zeros should be removed */ +#endif + PrintfArguments *pArgList = 0; /* Arguments for SQLITE_PRINTF_SQLFUNC */ + char buf[etBUFSIZE]; /* Conversion buffer */ + + /* pAccum never starts out with an empty buffer that was obtained from + ** malloc(). This precondition is required by the mprintf("%z...") + ** optimization. */ + assert( pAccum->nChar>0 || (pAccum->printfFlags&SQLITE_PRINTF_MALLOCED)==0 ); + + bufpt = 0; + if( (pAccum->printfFlags & SQLITE_PRINTF_SQLFUNC)!=0 ){ + pArgList = va_arg(ap, PrintfArguments*); + bArgList = 1; + }else{ + bArgList = 0; + } + for(; (c=(*fmt))!=0; ++fmt){ + if( c!='%' ){ + bufpt = (char *)fmt; +#if HAVE_STRCHRNUL + fmt = strchrnul(fmt, '%'); +#else + do{ fmt++; }while( *fmt && *fmt != '%' ); +#endif + sqlite3_str_append(pAccum, bufpt, (int)(fmt - bufpt)); + if( *fmt==0 ) break; + } + if( (c=(*++fmt))==0 ){ + sqlite3_str_append(pAccum, "%", 1); + break; + } + /* Find out what flags are present */ + flag_leftjustify = flag_prefix = cThousand = + flag_alternateform = flag_altform2 = flag_zeropad = 0; + done = 0; + width = 0; + flag_long = 0; + precision = -1; + do{ + switch( c ){ + case '-': flag_leftjustify = 1; break; + case '+': flag_prefix = '+'; break; + case ' ': flag_prefix = ' '; break; + case '#': flag_alternateform = 1; break; + case '!': flag_altform2 = 1; break; + case '0': flag_zeropad = 1; break; + case ',': cThousand = ','; break; + default: done = 1; break; + case 'l': { + flag_long = 1; + c = *++fmt; + if( c=='l' ){ + c = *++fmt; + flag_long = 2; + } + done = 1; + break; + } + case '1': case '2': case '3': case '4': case '5': + case '6': case '7': case '8': case '9': { + unsigned wx = c - '0'; + while( (c = *++fmt)>='0' && c<='9' ){ + wx = wx*10 + c - '0'; + } + testcase( wx>0x7fffffff ); + width = wx & 0x7fffffff; +#ifdef SQLITE_PRINTF_PRECISION_LIMIT + if( width>SQLITE_PRINTF_PRECISION_LIMIT ){ + width = SQLITE_PRINTF_PRECISION_LIMIT; + } +#endif + if( c!='.' && c!='l' ){ + done = 1; + }else{ + fmt--; + } + break; + } + case '*': { + if( bArgList ){ + width = (int)getIntArg(pArgList); + }else{ + width = va_arg(ap,int); + } + if( width<0 ){ + flag_leftjustify = 1; + width = width >= -2147483647 ? -width : 0; + } +#ifdef SQLITE_PRINTF_PRECISION_LIMIT + if( width>SQLITE_PRINTF_PRECISION_LIMIT ){ + width = SQLITE_PRINTF_PRECISION_LIMIT; + } +#endif + if( (c = fmt[1])!='.' && c!='l' ){ + c = *++fmt; + done = 1; + } + break; + } + case '.': { + c = *++fmt; + if( c=='*' ){ + if( bArgList ){ + precision = (int)getIntArg(pArgList); + }else{ + precision = va_arg(ap,int); + } + if( precision<0 ){ + precision = precision >= -2147483647 ? -precision : -1; + } + c = *++fmt; + }else{ + unsigned px = 0; + while( c>='0' && c<='9' ){ + px = px*10 + c - '0'; + c = *++fmt; + } + testcase( px>0x7fffffff ); + precision = px & 0x7fffffff; + } +#ifdef SQLITE_PRINTF_PRECISION_LIMIT + if( precision>SQLITE_PRINTF_PRECISION_LIMIT ){ + precision = SQLITE_PRINTF_PRECISION_LIMIT; + } +#endif + if( c=='l' ){ + --fmt; + }else{ + done = 1; + } + break; + } + } + }while( !done && (c=(*++fmt))!=0 ); + + /* Fetch the info entry for the field */ + infop = &fmtinfo[0]; + xtype = etINVALID; + for(idx=0; idxtype; + break; + } + } + + /* + ** At this point, variables are initialized as follows: + ** + ** flag_alternateform TRUE if a '#' is present. + ** flag_altform2 TRUE if a '!' is present. + ** flag_prefix '+' or ' ' or zero + ** flag_leftjustify TRUE if a '-' is present or if the + ** field width was negative. + ** flag_zeropad TRUE if the width began with 0. + ** flag_long 1 for "l", 2 for "ll" + ** width The specified field width. This is + ** always non-negative. Zero is the default. + ** precision The specified precision. The default + ** is -1. + ** xtype The class of the conversion. + ** infop Pointer to the appropriate info struct. + */ + switch( xtype ){ + case etPOINTER: + flag_long = sizeof(char*)==sizeof(i64) ? 2 : + sizeof(char*)==sizeof(long int) ? 1 : 0; + /* Fall through into the next case */ + case etORDINAL: + case etRADIX: + cThousand = 0; + /* Fall through into the next case */ + case etDECIMAL: + if( infop->flags & FLAG_SIGNED ){ + i64 v; + if( bArgList ){ + v = getIntArg(pArgList); + }else if( flag_long ){ + if( flag_long==2 ){ + v = va_arg(ap,i64) ; + }else{ + v = va_arg(ap,long int); + } + }else{ + v = va_arg(ap,int); + } + if( v<0 ){ + if( v==SMALLEST_INT64 ){ + longvalue = ((u64)1)<<63; + }else{ + longvalue = -v; + } + prefix = '-'; + }else{ + longvalue = v; + prefix = flag_prefix; + } + }else{ + if( bArgList ){ + longvalue = (u64)getIntArg(pArgList); + }else if( flag_long ){ + if( flag_long==2 ){ + longvalue = va_arg(ap,u64); + }else{ + longvalue = va_arg(ap,unsigned long int); + } + }else{ + longvalue = va_arg(ap,unsigned int); + } + prefix = 0; + } + if( longvalue==0 ) flag_alternateform = 0; + if( flag_zeropad && precision=4 || (longvalue/10)%10==1 ){ + x = 0; + } + *(--bufpt) = zOrd[x*2+1]; + *(--bufpt) = zOrd[x*2]; + } + { + const char *cset = &aDigits[infop->charset]; + u8 base = infop->base; + do{ /* Convert to ascii */ + *(--bufpt) = cset[longvalue%base]; + longvalue = longvalue/base; + }while( longvalue>0 ); + } + length = (int)(&zOut[nOut-1]-bufpt); + while( precision>length ){ + *(--bufpt) = '0'; /* Zero pad */ + length++; + } + if( cThousand ){ + int nn = (length - 1)/3; /* Number of "," to insert */ + int ix = (length - 1)%3 + 1; + bufpt -= nn; + for(idx=0; nn>0; idx++){ + bufpt[idx] = bufpt[idx+nn]; + ix--; + if( ix==0 ){ + bufpt[++idx] = cThousand; + nn--; + ix = 3; + } + } + } + if( prefix ) *(--bufpt) = prefix; /* Add sign */ + if( flag_alternateform && infop->prefix ){ /* Add "0" or "0x" */ + const char *pre; + char x; + pre = &aPrefix[infop->prefix]; + for(; (x=(*pre))!=0; pre++) *(--bufpt) = x; + } + length = (int)(&zOut[nOut-1]-bufpt); + break; + case etFLOAT: + case etEXP: + case etGENERIC: + if( bArgList ){ + realvalue = getDoubleArg(pArgList); + }else{ + realvalue = va_arg(ap,double); + } +#ifdef SQLITE_OMIT_FLOATING_POINT + length = 0; +#else + if( precision<0 ) precision = 6; /* Set default precision */ + if( realvalue<0.0 ){ + realvalue = -realvalue; + prefix = '-'; + }else{ + prefix = flag_prefix; + } + if( xtype==etGENERIC && precision>0 ) precision--; + testcase( precision>0xfff ); + idx = precision & 0xfff; + rounder = arRound[idx%10]; + while( idx>=10 ){ rounder *= 1.0e-10; idx -= 10; } + if( xtype==etFLOAT ){ + double rx = (double)realvalue; + sqlite3_uint64 u; + int ex; + memcpy(&u, &rx, sizeof(u)); + ex = -1023 + (int)((u>>52)&0x7ff); + if( precision+(ex/3) < 15 ) rounder += realvalue*3e-16; + realvalue += rounder; + } + /* Normalize realvalue to within 10.0 > realvalue >= 1.0 */ + exp = 0; + if( sqlite3IsNaN((double)realvalue) ){ + bufpt = "NaN"; + length = 3; + break; + } + if( realvalue>0.0 ){ + LONGDOUBLE_TYPE scale = 1.0; + while( realvalue>=1e100*scale && exp<=350 ){ scale *= 1e100;exp+=100;} + while( realvalue>=1e10*scale && exp<=350 ){ scale *= 1e10; exp+=10; } + while( realvalue>=10.0*scale && exp<=350 ){ scale *= 10.0; exp++; } + realvalue /= scale; + while( realvalue<1e-8 ){ realvalue *= 1e8; exp-=8; } + while( realvalue<1.0 ){ realvalue *= 10.0; exp--; } + if( exp>350 ){ + bufpt = buf; + buf[0] = prefix; + memcpy(buf+(prefix!=0),"Inf",4); + length = 3+(prefix!=0); + break; + } + } + bufpt = buf; + /* + ** If the field type is etGENERIC, then convert to either etEXP + ** or etFLOAT, as appropriate. + */ + if( xtype!=etFLOAT ){ + realvalue += rounder; + if( realvalue>=10.0 ){ realvalue *= 0.1; exp++; } + } + if( xtype==etGENERIC ){ + flag_rtz = !flag_alternateform; + if( exp<-4 || exp>precision ){ + xtype = etEXP; + }else{ + precision = precision - exp; + xtype = etFLOAT; + } + }else{ + flag_rtz = flag_altform2; + } + if( xtype==etEXP ){ + e2 = 0; + }else{ + e2 = exp; + } + { + i64 szBufNeeded; /* Size of a temporary buffer needed */ + szBufNeeded = MAX(e2,0)+(i64)precision+(i64)width+15; + if( szBufNeeded > etBUFSIZE ){ + bufpt = zExtra = printfTempBuf(pAccum, szBufNeeded); + if( bufpt==0 ) return; + } + } + zOut = bufpt; + nsd = 16 + flag_altform2*10; + flag_dp = (precision>0 ?1:0) | flag_alternateform | flag_altform2; + /* The sign in front of the number */ + if( prefix ){ + *(bufpt++) = prefix; + } + /* Digits prior to the decimal point */ + if( e2<0 ){ + *(bufpt++) = '0'; + }else{ + for(; e2>=0; e2--){ + *(bufpt++) = et_getdigit(&realvalue,&nsd); + } + } + /* The decimal point */ + if( flag_dp ){ + *(bufpt++) = '.'; + } + /* "0" digits after the decimal point but before the first + ** significant digit of the number */ + for(e2++; e2<0; precision--, e2++){ + assert( precision>0 ); + *(bufpt++) = '0'; + } + /* Significant digits after the decimal point */ + while( (precision--)>0 ){ + *(bufpt++) = et_getdigit(&realvalue,&nsd); + } + /* Remove trailing zeros and the "." if no digits follow the "." */ + if( flag_rtz && flag_dp ){ + while( bufpt[-1]=='0' ) *(--bufpt) = 0; + assert( bufpt>zOut ); + if( bufpt[-1]=='.' ){ + if( flag_altform2 ){ + *(bufpt++) = '0'; + }else{ + *(--bufpt) = 0; + } + } + } + /* Add the "eNNN" suffix */ + if( xtype==etEXP ){ + *(bufpt++) = aDigits[infop->charset]; + if( exp<0 ){ + *(bufpt++) = '-'; exp = -exp; + }else{ + *(bufpt++) = '+'; + } + if( exp>=100 ){ + *(bufpt++) = (char)((exp/100)+'0'); /* 100's digit */ + exp %= 100; + } + *(bufpt++) = (char)(exp/10+'0'); /* 10's digit */ + *(bufpt++) = (char)(exp%10+'0'); /* 1's digit */ + } + *bufpt = 0; + + /* The converted number is in buf[] and zero terminated. Output it. + ** Note that the number is in the usual order, not reversed as with + ** integer conversions. */ + length = (int)(bufpt-zOut); + bufpt = zOut; + + /* Special case: Add leading zeros if the flag_zeropad flag is + ** set and we are not left justified */ + if( flag_zeropad && !flag_leftjustify && length < width){ + int i; + int nPad = width - length; + for(i=width; i>=nPad; i--){ + bufpt[i] = bufpt[i-nPad]; + } + i = prefix!=0; + while( nPad-- ) bufpt[i++] = '0'; + length = width; + } +#endif /* !defined(SQLITE_OMIT_FLOATING_POINT) */ + break; + case etSIZE: + if( !bArgList ){ + *(va_arg(ap,int*)) = pAccum->nChar; + } + length = width = 0; + break; + case etPERCENT: + buf[0] = '%'; + bufpt = buf; + length = 1; + break; + case etCHARX: + if( bArgList ){ + bufpt = getTextArg(pArgList); + length = 1; + if( bufpt ){ + buf[0] = c = *(bufpt++); + if( (c&0xc0)==0xc0 ){ + while( length<4 && (bufpt[0]&0xc0)==0x80 ){ + buf[length++] = *(bufpt++); + } + } + }else{ + buf[0] = 0; + } + }else{ + unsigned int ch = va_arg(ap,unsigned int); + if( ch<0x00080 ){ + buf[0] = ch & 0xff; + length = 1; + }else if( ch<0x00800 ){ + buf[0] = 0xc0 + (u8)((ch>>6)&0x1f); + buf[1] = 0x80 + (u8)(ch & 0x3f); + length = 2; + }else if( ch<0x10000 ){ + buf[0] = 0xe0 + (u8)((ch>>12)&0x0f); + buf[1] = 0x80 + (u8)((ch>>6) & 0x3f); + buf[2] = 0x80 + (u8)(ch & 0x3f); + length = 3; + }else{ + buf[0] = 0xf0 + (u8)((ch>>18) & 0x07); + buf[1] = 0x80 + (u8)((ch>>12) & 0x3f); + buf[2] = 0x80 + (u8)((ch>>6) & 0x3f); + buf[3] = 0x80 + (u8)(ch & 0x3f); + length = 4; + } + } + if( precision>1 ){ + width -= precision-1; + if( width>1 && !flag_leftjustify ){ + sqlite3_str_appendchar(pAccum, width-1, ' '); + width = 0; + } + while( precision-- > 1 ){ + sqlite3_str_append(pAccum, buf, length); + } + } + bufpt = buf; + flag_altform2 = 1; + goto adjust_width_for_utf8; + case etSTRING: + case etDYNSTRING: + if( bArgList ){ + bufpt = getTextArg(pArgList); + xtype = etSTRING; + }else{ + bufpt = va_arg(ap,char*); + } + if( bufpt==0 ){ + bufpt = ""; + }else if( xtype==etDYNSTRING ){ + if( pAccum->nChar==0 + && pAccum->mxAlloc + && width==0 + && precision<0 + && pAccum->accError==0 + ){ + /* Special optimization for sqlite3_mprintf("%z..."): + ** Extend an existing memory allocation rather than creating + ** a new one. */ + assert( (pAccum->printfFlags&SQLITE_PRINTF_MALLOCED)==0 ); + pAccum->zText = bufpt; + pAccum->nAlloc = sqlite3DbMallocSize(pAccum->db, bufpt); + pAccum->nChar = 0x7fffffff & (int)strlen(bufpt); + pAccum->printfFlags |= SQLITE_PRINTF_MALLOCED; + length = 0; + break; + } + zExtra = bufpt; + } + if( precision>=0 ){ + if( flag_altform2 ){ + /* Set length to the number of bytes needed in order to display + ** precision characters */ + unsigned char *z = (unsigned char*)bufpt; + while( precision-- > 0 && z[0] ){ + SQLITE_SKIP_UTF8(z); + } + length = (int)(z - (unsigned char*)bufpt); + }else{ + for(length=0; length0 ){ + /* Adjust width to account for extra bytes in UTF-8 characters */ + int ii = length - 1; + while( ii>=0 ) if( (bufpt[ii--] & 0xc0)==0x80 ) width++; + } + break; + case etSQLESCAPE: /* %q: Escape ' characters */ + case etSQLESCAPE2: /* %Q: Escape ' and enclose in '...' */ + case etSQLESCAPE3: { /* %w: Escape " characters */ + int i, j, k, n, isnull; + int needQuote; + char ch; + char q = ((xtype==etSQLESCAPE3)?'"':'\''); /* Quote character */ + char *escarg; + + if( bArgList ){ + escarg = getTextArg(pArgList); + }else{ + escarg = va_arg(ap,char*); + } + isnull = escarg==0; + if( isnull ) escarg = (xtype==etSQLESCAPE2 ? "NULL" : "(NULL)"); + /* For %q, %Q, and %w, the precision is the number of byte (or + ** characters if the ! flags is present) to use from the input. + ** Because of the extra quoting characters inserted, the number + ** of output characters may be larger than the precision. + */ + k = precision; + for(i=n=0; k!=0 && (ch=escarg[i])!=0; i++, k--){ + if( ch==q ) n++; + if( flag_altform2 && (ch&0xc0)==0xc0 ){ + while( (escarg[i+1]&0xc0)==0x80 ){ i++; } + } + } + needQuote = !isnull && xtype==etSQLESCAPE2; + n += i + 3; + if( n>etBUFSIZE ){ + bufpt = zExtra = printfTempBuf(pAccum, n); + if( bufpt==0 ) return; + }else{ + bufpt = buf; + } + j = 0; + if( needQuote ) bufpt[j++] = q; + k = i; + for(i=0; iprintfFlags & SQLITE_PRINTF_INTERNAL)==0 ) return; + pToken = va_arg(ap, Token*); + assert( bArgList==0 ); + if( pToken && pToken->n ){ + sqlite3_str_append(pAccum, (const char*)pToken->z, pToken->n); + } + length = width = 0; + break; + } + case etSRCLIST: { + SrcList *pSrc; + int k; + struct SrcList_item *pItem; + if( (pAccum->printfFlags & SQLITE_PRINTF_INTERNAL)==0 ) return; + pSrc = va_arg(ap, SrcList*); + k = va_arg(ap, int); + pItem = &pSrc->a[k]; + assert( bArgList==0 ); + assert( k>=0 && knSrc ); + if( pItem->zDatabase ){ + sqlite3_str_appendall(pAccum, pItem->zDatabase); + sqlite3_str_append(pAccum, ".", 1); + } + sqlite3_str_appendall(pAccum, pItem->zName); + length = width = 0; + break; + } + default: { + assert( xtype==etINVALID ); + return; + } + }/* End switch over the format type */ + /* + ** The text of the conversion is pointed to by "bufpt" and is + ** "length" characters long. The field width is "width". Do + ** the output. Both length and width are in bytes, not characters, + ** at this point. If the "!" flag was present on string conversions + ** indicating that width and precision should be expressed in characters, + ** then the values have been translated prior to reaching this point. + */ + width -= length; + if( width>0 ){ + if( !flag_leftjustify ) sqlite3_str_appendchar(pAccum, width, ' '); + sqlite3_str_append(pAccum, bufpt, length); + if( flag_leftjustify ) sqlite3_str_appendchar(pAccum, width, ' '); + }else{ + sqlite3_str_append(pAccum, bufpt, length); + } + + if( zExtra ){ + sqlite3DbFree(pAccum->db, zExtra); + zExtra = 0; + } + }/* End for loop over the format string */ +} /* End of function */ + +/* +** Enlarge the memory allocation on a StrAccum object so that it is +** able to accept at least N more bytes of text. +** +** Return the number of bytes of text that StrAccum is able to accept +** after the attempted enlargement. The value returned might be zero. +*/ +static int sqlite3StrAccumEnlarge(StrAccum *p, int N){ + char *zNew; + assert( p->nChar+(i64)N >= p->nAlloc ); /* Only called if really needed */ + if( p->accError ){ + testcase(p->accError==SQLITE_TOOBIG); + testcase(p->accError==SQLITE_NOMEM); + return 0; + } + if( p->mxAlloc==0 ){ + setStrAccumError(p, SQLITE_TOOBIG); + return p->nAlloc - p->nChar - 1; + }else{ + char *zOld = isMalloced(p) ? p->zText : 0; + i64 szNew = p->nChar; + szNew += N + 1; + if( szNew+p->nChar<=p->mxAlloc ){ + /* Force exponential buffer size growth as long as it does not overflow, + ** to avoid having to call this routine too often */ + szNew += p->nChar; + } + if( szNew > p->mxAlloc ){ + sqlite3_str_reset(p); + setStrAccumError(p, SQLITE_TOOBIG); + return 0; + }else{ + p->nAlloc = (int)szNew; + } + if( p->db ){ + zNew = sqlite3DbRealloc(p->db, zOld, p->nAlloc); + }else{ + zNew = sqlite3_realloc64(zOld, p->nAlloc); + } + if( zNew ){ + assert( p->zText!=0 || p->nChar==0 ); + if( !isMalloced(p) && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar); + p->zText = zNew; + p->nAlloc = sqlite3DbMallocSize(p->db, zNew); + p->printfFlags |= SQLITE_PRINTF_MALLOCED; + }else{ + sqlite3_str_reset(p); + setStrAccumError(p, SQLITE_NOMEM); + return 0; + } + } + return N; +} + +/* +** Append N copies of character c to the given string buffer. +*/ +SQLITE_API void sqlite3_str_appendchar(sqlite3_str *p, int N, char c){ + testcase( p->nChar + (i64)N > 0x7fffffff ); + if( p->nChar+(i64)N >= p->nAlloc && (N = sqlite3StrAccumEnlarge(p, N))<=0 ){ + return; + } + while( (N--)>0 ) p->zText[p->nChar++] = c; +} + +/* +** The StrAccum "p" is not large enough to accept N new bytes of z[]. +** So enlarge if first, then do the append. +** +** This is a helper routine to sqlite3_str_append() that does special-case +** work (enlarging the buffer) using tail recursion, so that the +** sqlite3_str_append() routine can use fast calling semantics. +*/ +static void SQLITE_NOINLINE enlargeAndAppend(StrAccum *p, const char *z, int N){ + N = sqlite3StrAccumEnlarge(p, N); + if( N>0 ){ + memcpy(&p->zText[p->nChar], z, N); + p->nChar += N; + } +} + +/* +** Append N bytes of text from z to the StrAccum object. Increase the +** size of the memory allocation for StrAccum if necessary. +*/ +SQLITE_API void sqlite3_str_append(sqlite3_str *p, const char *z, int N){ + assert( z!=0 || N==0 ); + assert( p->zText!=0 || p->nChar==0 || p->accError ); + assert( N>=0 ); + assert( p->accError==0 || p->nAlloc==0 || p->mxAlloc==0 ); + if( p->nChar+N >= p->nAlloc ){ + enlargeAndAppend(p,z,N); + }else if( N ){ + assert( p->zText ); + p->nChar += N; + memcpy(&p->zText[p->nChar-N], z, N); + } +} + +/* +** Append the complete text of zero-terminated string z[] to the p string. +*/ +SQLITE_API void sqlite3_str_appendall(sqlite3_str *p, const char *z){ + sqlite3_str_append(p, z, sqlite3Strlen30(z)); +} + + +/* +** Finish off a string by making sure it is zero-terminated. +** Return a pointer to the resulting string. Return a NULL +** pointer if any kind of error was encountered. +*/ +static SQLITE_NOINLINE char *strAccumFinishRealloc(StrAccum *p){ + char *zText; + assert( p->mxAlloc>0 && !isMalloced(p) ); + zText = sqlite3DbMallocRaw(p->db, p->nChar+1 ); + if( zText ){ + memcpy(zText, p->zText, p->nChar+1); + p->printfFlags |= SQLITE_PRINTF_MALLOCED; + }else{ + setStrAccumError(p, SQLITE_NOMEM); + } + p->zText = zText; + return zText; +} +SQLITE_PRIVATE char *sqlite3StrAccumFinish(StrAccum *p){ + if( p->zText ){ + p->zText[p->nChar] = 0; + if( p->mxAlloc>0 && !isMalloced(p) ){ + return strAccumFinishRealloc(p); + } + } + return p->zText; +} + +/* +** This singleton is an sqlite3_str object that is returned if +** sqlite3_malloc() fails to provide space for a real one. This +** sqlite3_str object accepts no new text and always returns +** an SQLITE_NOMEM error. +*/ +static sqlite3_str sqlite3OomStr = { + 0, 0, 0, 0, 0, SQLITE_NOMEM, 0 +}; + +/* Finalize a string created using sqlite3_str_new(). +*/ +SQLITE_API char *sqlite3_str_finish(sqlite3_str *p){ + char *z; + if( p!=0 && p!=&sqlite3OomStr ){ + z = sqlite3StrAccumFinish(p); + sqlite3_free(p); + }else{ + z = 0; + } + return z; +} + +/* Return any error code associated with p */ +SQLITE_API int sqlite3_str_errcode(sqlite3_str *p){ + return p ? p->accError : SQLITE_NOMEM; +} + +/* Return the current length of p in bytes */ +SQLITE_API int sqlite3_str_length(sqlite3_str *p){ + return p ? p->nChar : 0; +} + +/* Return the current value for p */ +SQLITE_API char *sqlite3_str_value(sqlite3_str *p){ + if( p==0 || p->nChar==0 ) return 0; + p->zText[p->nChar] = 0; + return p->zText; +} + +/* +** Reset an StrAccum string. Reclaim all malloced memory. +*/ +SQLITE_API void sqlite3_str_reset(StrAccum *p){ + if( isMalloced(p) ){ + sqlite3DbFree(p->db, p->zText); + p->printfFlags &= ~SQLITE_PRINTF_MALLOCED; + } + p->nAlloc = 0; + p->nChar = 0; + p->zText = 0; +} + +/* +** Initialize a string accumulator. +** +** p: The accumulator to be initialized. +** db: Pointer to a database connection. May be NULL. Lookaside +** memory is used if not NULL. db->mallocFailed is set appropriately +** when not NULL. +** zBase: An initial buffer. May be NULL in which case the initial buffer +** is malloced. +** n: Size of zBase in bytes. If total space requirements never exceed +** n then no memory allocations ever occur. +** mx: Maximum number of bytes to accumulate. If mx==0 then no memory +** allocations will ever occur. +*/ +SQLITE_PRIVATE void sqlite3StrAccumInit(StrAccum *p, sqlite3 *db, char *zBase, int n, int mx){ + p->zText = zBase; + p->db = db; + p->nAlloc = n; + p->mxAlloc = mx; + p->nChar = 0; + p->accError = 0; + p->printfFlags = 0; +} + +/* Allocate and initialize a new dynamic string object */ +SQLITE_API sqlite3_str *sqlite3_str_new(sqlite3 *db){ + sqlite3_str *p = sqlite3_malloc64(sizeof(*p)); + if( p ){ + sqlite3StrAccumInit(p, 0, 0, 0, + db ? db->aLimit[SQLITE_LIMIT_LENGTH] : SQLITE_MAX_LENGTH); + }else{ + p = &sqlite3OomStr; + } + return p; +} + +/* +** Print into memory obtained from sqliteMalloc(). Use the internal +** %-conversion extensions. +*/ +SQLITE_PRIVATE char *sqlite3VMPrintf(sqlite3 *db, const char *zFormat, va_list ap){ + char *z; + char zBase[SQLITE_PRINT_BUF_SIZE]; + StrAccum acc; + assert( db!=0 ); + sqlite3StrAccumInit(&acc, db, zBase, sizeof(zBase), + db->aLimit[SQLITE_LIMIT_LENGTH]); + acc.printfFlags = SQLITE_PRINTF_INTERNAL; + sqlite3_str_vappendf(&acc, zFormat, ap); + z = sqlite3StrAccumFinish(&acc); + if( acc.accError==SQLITE_NOMEM ){ + sqlite3OomFault(db); + } + return z; +} + +/* +** Print into memory obtained from sqliteMalloc(). Use the internal +** %-conversion extensions. +*/ +SQLITE_PRIVATE char *sqlite3MPrintf(sqlite3 *db, const char *zFormat, ...){ + va_list ap; + char *z; + va_start(ap, zFormat); + z = sqlite3VMPrintf(db, zFormat, ap); + va_end(ap); + return z; +} + +/* +** Print into memory obtained from sqlite3_malloc(). Omit the internal +** %-conversion extensions. +*/ +SQLITE_API char *sqlite3_vmprintf(const char *zFormat, va_list ap){ + char *z; + char zBase[SQLITE_PRINT_BUF_SIZE]; + StrAccum acc; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( zFormat==0 ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return 0; +#endif + sqlite3StrAccumInit(&acc, 0, zBase, sizeof(zBase), SQLITE_MAX_LENGTH); + sqlite3_str_vappendf(&acc, zFormat, ap); + z = sqlite3StrAccumFinish(&acc); + return z; +} + +/* +** Print into memory obtained from sqlite3_malloc()(). Omit the internal +** %-conversion extensions. +*/ +SQLITE_API char *sqlite3_mprintf(const char *zFormat, ...){ + va_list ap; + char *z; +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return 0; +#endif + va_start(ap, zFormat); + z = sqlite3_vmprintf(zFormat, ap); + va_end(ap); + return z; +} + +/* +** sqlite3_snprintf() works like snprintf() except that it ignores the +** current locale settings. This is important for SQLite because we +** are not able to use a "," as the decimal point in place of "." as +** specified by some locales. +** +** Oops: The first two arguments of sqlite3_snprintf() are backwards +** from the snprintf() standard. Unfortunately, it is too late to change +** this without breaking compatibility, so we just have to live with the +** mistake. +** +** sqlite3_vsnprintf() is the varargs version. +*/ +SQLITE_API char *sqlite3_vsnprintf(int n, char *zBuf, const char *zFormat, va_list ap){ + StrAccum acc; + if( n<=0 ) return zBuf; +#ifdef SQLITE_ENABLE_API_ARMOR + if( zBuf==0 || zFormat==0 ) { + (void)SQLITE_MISUSE_BKPT; + if( zBuf ) zBuf[0] = 0; + return zBuf; + } +#endif + sqlite3StrAccumInit(&acc, 0, zBuf, n, 0); + sqlite3_str_vappendf(&acc, zFormat, ap); + zBuf[acc.nChar] = 0; + return zBuf; +} +SQLITE_API char *sqlite3_snprintf(int n, char *zBuf, const char *zFormat, ...){ + char *z; + va_list ap; + va_start(ap,zFormat); + z = sqlite3_vsnprintf(n, zBuf, zFormat, ap); + va_end(ap); + return z; +} + +/* +** This is the routine that actually formats the sqlite3_log() message. +** We house it in a separate routine from sqlite3_log() to avoid using +** stack space on small-stack systems when logging is disabled. +** +** sqlite3_log() must render into a static buffer. It cannot dynamically +** allocate memory because it might be called while the memory allocator +** mutex is held. +** +** sqlite3_str_vappendf() might ask for *temporary* memory allocations for +** certain format characters (%q) or for very large precisions or widths. +** Care must be taken that any sqlite3_log() calls that occur while the +** memory mutex is held do not use these mechanisms. +*/ +static void renderLogMsg(int iErrCode, const char *zFormat, va_list ap){ + StrAccum acc; /* String accumulator */ + char zMsg[SQLITE_PRINT_BUF_SIZE*3]; /* Complete log message */ + + sqlite3StrAccumInit(&acc, 0, zMsg, sizeof(zMsg), 0); + sqlite3_str_vappendf(&acc, zFormat, ap); + sqlite3GlobalConfig.xLog(sqlite3GlobalConfig.pLogArg, iErrCode, + sqlite3StrAccumFinish(&acc)); +} + +/* +** Format and write a message to the log if logging is enabled. +*/ +SQLITE_API void sqlite3_log(int iErrCode, const char *zFormat, ...){ + va_list ap; /* Vararg list */ + if( sqlite3GlobalConfig.xLog ){ + va_start(ap, zFormat); + renderLogMsg(iErrCode, zFormat, ap); + va_end(ap); + } +} + +#if defined(SQLITE_DEBUG) || defined(SQLITE_HAVE_OS_TRACE) +/* +** A version of printf() that understands %lld. Used for debugging. +** The printf() built into some versions of windows does not understand %lld +** and segfaults if you give it a long long int. +*/ +SQLITE_PRIVATE void sqlite3DebugPrintf(const char *zFormat, ...){ + va_list ap; + StrAccum acc; + char zBuf[500]; + sqlite3StrAccumInit(&acc, 0, zBuf, sizeof(zBuf), 0); + va_start(ap,zFormat); + sqlite3_str_vappendf(&acc, zFormat, ap); + va_end(ap); + sqlite3StrAccumFinish(&acc); +#ifdef SQLITE_OS_TRACE_PROC + { + extern void SQLITE_OS_TRACE_PROC(const char *zBuf, int nBuf); + SQLITE_OS_TRACE_PROC(zBuf, sizeof(zBuf)); + } +#else + fprintf(stdout,"%s", zBuf); + fflush(stdout); +#endif +} +#endif + + +/* +** variable-argument wrapper around sqlite3_str_vappendf(). The bFlags argument +** can contain the bit SQLITE_PRINTF_INTERNAL enable internal formats. +*/ +SQLITE_API void sqlite3_str_appendf(StrAccum *p, const char *zFormat, ...){ + va_list ap; + va_start(ap,zFormat); + sqlite3_str_vappendf(p, zFormat, ap); + va_end(ap); +} + +/************** End of printf.c **********************************************/ +/************** Begin file treeview.c ****************************************/ +/* +** 2015-06-08 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains C code to implement the TreeView debugging routines. +** These routines print a parse tree to standard output for debugging and +** analysis. +** +** The interfaces in this file is only available when compiling +** with SQLITE_DEBUG. +*/ +/* #include "sqliteInt.h" */ +#ifdef SQLITE_DEBUG + +/* +** Add a new subitem to the tree. The moreToFollow flag indicates that this +** is not the last item in the tree. +*/ +static TreeView *sqlite3TreeViewPush(TreeView *p, u8 moreToFollow){ + if( p==0 ){ + p = sqlite3_malloc64( sizeof(*p) ); + if( p==0 ) return 0; + memset(p, 0, sizeof(*p)); + }else{ + p->iLevel++; + } + assert( moreToFollow==0 || moreToFollow==1 ); + if( p->iLevelbLine) ) p->bLine[p->iLevel] = moreToFollow; + return p; +} + +/* +** Finished with one layer of the tree +*/ +static void sqlite3TreeViewPop(TreeView *p){ + if( p==0 ) return; + p->iLevel--; + if( p->iLevel<0 ) sqlite3_free(p); +} + +/* +** Generate a single line of output for the tree, with a prefix that contains +** all the appropriate tree lines +*/ +static void sqlite3TreeViewLine(TreeView *p, const char *zFormat, ...){ + va_list ap; + int i; + StrAccum acc; + char zBuf[500]; + sqlite3StrAccumInit(&acc, 0, zBuf, sizeof(zBuf), 0); + if( p ){ + for(i=0; iiLevel && ibLine)-1; i++){ + sqlite3_str_append(&acc, p->bLine[i] ? "| " : " ", 4); + } + sqlite3_str_append(&acc, p->bLine[i] ? "|-- " : "'-- ", 4); + } + if( zFormat!=0 ){ + va_start(ap, zFormat); + sqlite3_str_vappendf(&acc, zFormat, ap); + va_end(ap); + assert( acc.nChar>0 ); + sqlite3_str_append(&acc, "\n", 1); + } + sqlite3StrAccumFinish(&acc); + fprintf(stdout,"%s", zBuf); + fflush(stdout); +} + +/* +** Shorthand for starting a new tree item that consists of a single label +*/ +static void sqlite3TreeViewItem(TreeView *p, const char *zLabel,u8 moreFollows){ + p = sqlite3TreeViewPush(p, moreFollows); + sqlite3TreeViewLine(p, "%s", zLabel); +} + +/* +** Generate a human-readable description of a WITH clause. +*/ +SQLITE_PRIVATE void sqlite3TreeViewWith(TreeView *pView, const With *pWith, u8 moreToFollow){ + int i; + if( pWith==0 ) return; + if( pWith->nCte==0 ) return; + if( pWith->pOuter ){ + sqlite3TreeViewLine(pView, "WITH (0x%p, pOuter=0x%p)",pWith,pWith->pOuter); + }else{ + sqlite3TreeViewLine(pView, "WITH (0x%p)", pWith); + } + if( pWith->nCte>0 ){ + pView = sqlite3TreeViewPush(pView, 1); + for(i=0; inCte; i++){ + StrAccum x; + char zLine[1000]; + const struct Cte *pCte = &pWith->a[i]; + sqlite3StrAccumInit(&x, 0, zLine, sizeof(zLine), 0); + sqlite3_str_appendf(&x, "%s", pCte->zName); + if( pCte->pCols && pCte->pCols->nExpr>0 ){ + char cSep = '('; + int j; + for(j=0; jpCols->nExpr; j++){ + sqlite3_str_appendf(&x, "%c%s", cSep, pCte->pCols->a[j].zName); + cSep = ','; + } + sqlite3_str_appendf(&x, ")"); + } + sqlite3_str_appendf(&x, " AS"); + sqlite3StrAccumFinish(&x); + sqlite3TreeViewItem(pView, zLine, inCte-1); + sqlite3TreeViewSelect(pView, pCte->pSelect, 0); + sqlite3TreeViewPop(pView); + } + sqlite3TreeViewPop(pView); + } +} + +/* +** Generate a human-readable description of a SrcList object. +*/ +SQLITE_PRIVATE void sqlite3TreeViewSrcList(TreeView *pView, const SrcList *pSrc){ + int i; + for(i=0; inSrc; i++){ + const struct SrcList_item *pItem = &pSrc->a[i]; + StrAccum x; + char zLine[100]; + sqlite3StrAccumInit(&x, 0, zLine, sizeof(zLine), 0); + sqlite3_str_appendf(&x, "{%d,*}", pItem->iCursor); + if( pItem->zDatabase ){ + sqlite3_str_appendf(&x, " %s.%s", pItem->zDatabase, pItem->zName); + }else if( pItem->zName ){ + sqlite3_str_appendf(&x, " %s", pItem->zName); + } + if( pItem->pTab ){ + sqlite3_str_appendf(&x, " tab=%Q nCol=%d ptr=%p", + pItem->pTab->zName, pItem->pTab->nCol, pItem->pTab); + } + if( pItem->zAlias ){ + sqlite3_str_appendf(&x, " (AS %s)", pItem->zAlias); + } + if( pItem->fg.jointype & JT_LEFT ){ + sqlite3_str_appendf(&x, " LEFT-JOIN"); + } + sqlite3StrAccumFinish(&x); + sqlite3TreeViewItem(pView, zLine, inSrc-1); + if( pItem->pSelect ){ + sqlite3TreeViewSelect(pView, pItem->pSelect, 0); + } + if( pItem->fg.isTabFunc ){ + sqlite3TreeViewExprList(pView, pItem->u1.pFuncArg, 0, "func-args:"); + } + sqlite3TreeViewPop(pView); + } +} + +/* +** Generate a human-readable description of a Select object. +*/ +SQLITE_PRIVATE void sqlite3TreeViewSelect(TreeView *pView, const Select *p, u8 moreToFollow){ + int n = 0; + int cnt = 0; + if( p==0 ){ + sqlite3TreeViewLine(pView, "nil-SELECT"); + return; + } + pView = sqlite3TreeViewPush(pView, moreToFollow); + if( p->pWith ){ + sqlite3TreeViewWith(pView, p->pWith, 1); + cnt = 1; + sqlite3TreeViewPush(pView, 1); + } + do{ + if( p->selFlags & SF_WhereBegin ){ + sqlite3TreeViewLine(pView, "sqlite3WhereBegin()"); + }else{ + sqlite3TreeViewLine(pView, + "SELECT%s%s (%u/%p) selFlags=0x%x nSelectRow=%d", + ((p->selFlags & SF_Distinct) ? " DISTINCT" : ""), + ((p->selFlags & SF_Aggregate) ? " agg_flag" : ""), + p->selId, p, p->selFlags, + (int)p->nSelectRow + ); + } + if( cnt++ ) sqlite3TreeViewPop(pView); + if( p->pPrior ){ + n = 1000; + }else{ + n = 0; + if( p->pSrc && p->pSrc->nSrc ) n++; + if( p->pWhere ) n++; + if( p->pGroupBy ) n++; + if( p->pHaving ) n++; + if( p->pOrderBy ) n++; + if( p->pLimit ) n++; +#ifndef SQLITE_OMIT_WINDOWFUNC + if( p->pWin ) n++; + if( p->pWinDefn ) n++; +#endif + } + if( p->pEList ){ + sqlite3TreeViewExprList(pView, p->pEList, n>0, "result-set"); + } + n--; +#ifndef SQLITE_OMIT_WINDOWFUNC + if( p->pWin ){ + Window *pX; + pView = sqlite3TreeViewPush(pView, (n--)>0); + sqlite3TreeViewLine(pView, "window-functions"); + for(pX=p->pWin; pX; pX=pX->pNextWin){ + sqlite3TreeViewWinFunc(pView, pX, pX->pNextWin!=0); + } + sqlite3TreeViewPop(pView); + } +#endif + if( p->pSrc && p->pSrc->nSrc ){ + pView = sqlite3TreeViewPush(pView, (n--)>0); + sqlite3TreeViewLine(pView, "FROM"); + sqlite3TreeViewSrcList(pView, p->pSrc); + sqlite3TreeViewPop(pView); + } + if( p->pWhere ){ + sqlite3TreeViewItem(pView, "WHERE", (n--)>0); + sqlite3TreeViewExpr(pView, p->pWhere, 0); + sqlite3TreeViewPop(pView); + } + if( p->pGroupBy ){ + sqlite3TreeViewExprList(pView, p->pGroupBy, (n--)>0, "GROUPBY"); + } + if( p->pHaving ){ + sqlite3TreeViewItem(pView, "HAVING", (n--)>0); + sqlite3TreeViewExpr(pView, p->pHaving, 0); + sqlite3TreeViewPop(pView); + } +#ifndef SQLITE_OMIT_WINDOWFUNC + if( p->pWinDefn ){ + Window *pX; + sqlite3TreeViewItem(pView, "WINDOW", (n--)>0); + for(pX=p->pWinDefn; pX; pX=pX->pNextWin){ + sqlite3TreeViewWindow(pView, pX, pX->pNextWin!=0); + } + sqlite3TreeViewPop(pView); + } +#endif + if( p->pOrderBy ){ + sqlite3TreeViewExprList(pView, p->pOrderBy, (n--)>0, "ORDERBY"); + } + if( p->pLimit ){ + sqlite3TreeViewItem(pView, "LIMIT", (n--)>0); + sqlite3TreeViewExpr(pView, p->pLimit->pLeft, p->pLimit->pRight!=0); + if( p->pLimit->pRight ){ + sqlite3TreeViewItem(pView, "OFFSET", (n--)>0); + sqlite3TreeViewExpr(pView, p->pLimit->pRight, 0); + sqlite3TreeViewPop(pView); + } + sqlite3TreeViewPop(pView); + } + if( p->pPrior ){ + const char *zOp = "UNION"; + switch( p->op ){ + case TK_ALL: zOp = "UNION ALL"; break; + case TK_INTERSECT: zOp = "INTERSECT"; break; + case TK_EXCEPT: zOp = "EXCEPT"; break; + } + sqlite3TreeViewItem(pView, zOp, 1); + } + p = p->pPrior; + }while( p!=0 ); + sqlite3TreeViewPop(pView); +} + +#ifndef SQLITE_OMIT_WINDOWFUNC +/* +** Generate a description of starting or stopping bounds +*/ +SQLITE_PRIVATE void sqlite3TreeViewBound( + TreeView *pView, /* View context */ + u8 eBound, /* UNBOUNDED, CURRENT, PRECEDING, FOLLOWING */ + Expr *pExpr, /* Value for PRECEDING or FOLLOWING */ + u8 moreToFollow /* True if more to follow */ +){ + switch( eBound ){ + case TK_UNBOUNDED: { + sqlite3TreeViewItem(pView, "UNBOUNDED", moreToFollow); + sqlite3TreeViewPop(pView); + break; + } + case TK_CURRENT: { + sqlite3TreeViewItem(pView, "CURRENT", moreToFollow); + sqlite3TreeViewPop(pView); + break; + } + case TK_PRECEDING: { + sqlite3TreeViewItem(pView, "PRECEDING", moreToFollow); + sqlite3TreeViewExpr(pView, pExpr, 0); + sqlite3TreeViewPop(pView); + break; + } + case TK_FOLLOWING: { + sqlite3TreeViewItem(pView, "FOLLOWING", moreToFollow); + sqlite3TreeViewExpr(pView, pExpr, 0); + sqlite3TreeViewPop(pView); + break; + } + } +} +#endif /* SQLITE_OMIT_WINDOWFUNC */ + +#ifndef SQLITE_OMIT_WINDOWFUNC +/* +** Generate a human-readable explanation for a Window object +*/ +SQLITE_PRIVATE void sqlite3TreeViewWindow(TreeView *pView, const Window *pWin, u8 more){ + int nElement = 0; + if( pWin->pFilter ){ + sqlite3TreeViewItem(pView, "FILTER", 1); + sqlite3TreeViewExpr(pView, pWin->pFilter, 0); + sqlite3TreeViewPop(pView); + } + pView = sqlite3TreeViewPush(pView, more); + if( pWin->zName ){ + sqlite3TreeViewLine(pView, "OVER %s (%p)", pWin->zName, pWin); + }else{ + sqlite3TreeViewLine(pView, "OVER (%p)", pWin); + } + if( pWin->zBase ) nElement++; + if( pWin->pOrderBy ) nElement++; + if( pWin->eFrmType ) nElement++; + if( pWin->eExclude ) nElement++; + if( pWin->zBase ){ + sqlite3TreeViewPush(pView, (--nElement)>0); + sqlite3TreeViewLine(pView, "window: %s", pWin->zBase); + sqlite3TreeViewPop(pView); + } + if( pWin->pPartition ){ + sqlite3TreeViewExprList(pView, pWin->pPartition, nElement>0,"PARTITION-BY"); + } + if( pWin->pOrderBy ){ + sqlite3TreeViewExprList(pView, pWin->pOrderBy, (--nElement)>0, "ORDER-BY"); + } + if( pWin->eFrmType ){ + char zBuf[30]; + const char *zFrmType = "ROWS"; + if( pWin->eFrmType==TK_RANGE ) zFrmType = "RANGE"; + if( pWin->eFrmType==TK_GROUPS ) zFrmType = "GROUPS"; + sqlite3_snprintf(sizeof(zBuf),zBuf,"%s%s",zFrmType, + pWin->bImplicitFrame ? " (implied)" : ""); + sqlite3TreeViewItem(pView, zBuf, (--nElement)>0); + sqlite3TreeViewBound(pView, pWin->eStart, pWin->pStart, 1); + sqlite3TreeViewBound(pView, pWin->eEnd, pWin->pEnd, 0); + sqlite3TreeViewPop(pView); + } + if( pWin->eExclude ){ + char zBuf[30]; + const char *zExclude; + switch( pWin->eExclude ){ + case TK_NO: zExclude = "NO OTHERS"; break; + case TK_CURRENT: zExclude = "CURRENT ROW"; break; + case TK_GROUP: zExclude = "GROUP"; break; + case TK_TIES: zExclude = "TIES"; break; + default: + sqlite3_snprintf(sizeof(zBuf),zBuf,"invalid(%d)", pWin->eExclude); + zExclude = zBuf; + break; + } + sqlite3TreeViewPush(pView, 0); + sqlite3TreeViewLine(pView, "EXCLUDE %s", zExclude); + sqlite3TreeViewPop(pView); + } + sqlite3TreeViewPop(pView); +} +#endif /* SQLITE_OMIT_WINDOWFUNC */ + +#ifndef SQLITE_OMIT_WINDOWFUNC +/* +** Generate a human-readable explanation for a Window Function object +*/ +SQLITE_PRIVATE void sqlite3TreeViewWinFunc(TreeView *pView, const Window *pWin, u8 more){ + pView = sqlite3TreeViewPush(pView, more); + sqlite3TreeViewLine(pView, "WINFUNC %s(%d)", + pWin->pFunc->zName, pWin->pFunc->nArg); + sqlite3TreeViewWindow(pView, pWin, 0); + sqlite3TreeViewPop(pView); +} +#endif /* SQLITE_OMIT_WINDOWFUNC */ + +/* +** Generate a human-readable explanation of an expression tree. +*/ +SQLITE_PRIVATE void sqlite3TreeViewExpr(TreeView *pView, const Expr *pExpr, u8 moreToFollow){ + const char *zBinOp = 0; /* Binary operator */ + const char *zUniOp = 0; /* Unary operator */ + char zFlgs[60]; + pView = sqlite3TreeViewPush(pView, moreToFollow); + if( pExpr==0 ){ + sqlite3TreeViewLine(pView, "nil"); + sqlite3TreeViewPop(pView); + return; + } + if( pExpr->flags || pExpr->affExpr ){ + if( ExprHasProperty(pExpr, EP_FromJoin) ){ + sqlite3_snprintf(sizeof(zFlgs),zFlgs," fg.af=%x.%c iRJT=%d", + pExpr->flags, pExpr->affExpr ? pExpr->affExpr : 'n', + pExpr->iRightJoinTable); + }else{ + sqlite3_snprintf(sizeof(zFlgs),zFlgs," fg.af=%x.%c", + pExpr->flags, pExpr->affExpr ? pExpr->affExpr : 'n'); + } + }else{ + zFlgs[0] = 0; + } + switch( pExpr->op ){ + case TK_AGG_COLUMN: { + sqlite3TreeViewLine(pView, "AGG{%d:%d}%s", + pExpr->iTable, pExpr->iColumn, zFlgs); + break; + } + case TK_COLUMN: { + if( pExpr->iTable<0 ){ + /* This only happens when coding check constraints */ + sqlite3TreeViewLine(pView, "COLUMN(%d)%s", pExpr->iColumn, zFlgs); + }else{ + sqlite3TreeViewLine(pView, "{%d:%d}%s", + pExpr->iTable, pExpr->iColumn, zFlgs); + } + if( ExprHasProperty(pExpr, EP_FixedCol) ){ + sqlite3TreeViewExpr(pView, pExpr->pLeft, 0); + } + break; + } + case TK_INTEGER: { + if( pExpr->flags & EP_IntValue ){ + sqlite3TreeViewLine(pView, "%d", pExpr->u.iValue); + }else{ + sqlite3TreeViewLine(pView, "%s", pExpr->u.zToken); + } + break; + } +#ifndef SQLITE_OMIT_FLOATING_POINT + case TK_FLOAT: { + sqlite3TreeViewLine(pView,"%s", pExpr->u.zToken); + break; + } +#endif + case TK_STRING: { + sqlite3TreeViewLine(pView,"%Q", pExpr->u.zToken); + break; + } + case TK_NULL: { + sqlite3TreeViewLine(pView,"NULL"); + break; + } + case TK_TRUEFALSE: { + sqlite3TreeViewLine(pView, + sqlite3ExprTruthValue(pExpr) ? "TRUE" : "FALSE"); + break; + } +#ifndef SQLITE_OMIT_BLOB_LITERAL + case TK_BLOB: { + sqlite3TreeViewLine(pView,"%s", pExpr->u.zToken); + break; + } +#endif + case TK_VARIABLE: { + sqlite3TreeViewLine(pView,"VARIABLE(%s,%d)", + pExpr->u.zToken, pExpr->iColumn); + break; + } + case TK_REGISTER: { + sqlite3TreeViewLine(pView,"REGISTER(%d)", pExpr->iTable); + break; + } + case TK_ID: { + sqlite3TreeViewLine(pView,"ID \"%w\"", pExpr->u.zToken); + break; + } +#ifndef SQLITE_OMIT_CAST + case TK_CAST: { + /* Expressions of the form: CAST(pLeft AS token) */ + sqlite3TreeViewLine(pView,"CAST %Q", pExpr->u.zToken); + sqlite3TreeViewExpr(pView, pExpr->pLeft, 0); + break; + } +#endif /* SQLITE_OMIT_CAST */ + case TK_LT: zBinOp = "LT"; break; + case TK_LE: zBinOp = "LE"; break; + case TK_GT: zBinOp = "GT"; break; + case TK_GE: zBinOp = "GE"; break; + case TK_NE: zBinOp = "NE"; break; + case TK_EQ: zBinOp = "EQ"; break; + case TK_IS: zBinOp = "IS"; break; + case TK_ISNOT: zBinOp = "ISNOT"; break; + case TK_AND: zBinOp = "AND"; break; + case TK_OR: zBinOp = "OR"; break; + case TK_PLUS: zBinOp = "ADD"; break; + case TK_STAR: zBinOp = "MUL"; break; + case TK_MINUS: zBinOp = "SUB"; break; + case TK_REM: zBinOp = "REM"; break; + case TK_BITAND: zBinOp = "BITAND"; break; + case TK_BITOR: zBinOp = "BITOR"; break; + case TK_SLASH: zBinOp = "DIV"; break; + case TK_LSHIFT: zBinOp = "LSHIFT"; break; + case TK_RSHIFT: zBinOp = "RSHIFT"; break; + case TK_CONCAT: zBinOp = "CONCAT"; break; + case TK_DOT: zBinOp = "DOT"; break; + + case TK_UMINUS: zUniOp = "UMINUS"; break; + case TK_UPLUS: zUniOp = "UPLUS"; break; + case TK_BITNOT: zUniOp = "BITNOT"; break; + case TK_NOT: zUniOp = "NOT"; break; + case TK_ISNULL: zUniOp = "ISNULL"; break; + case TK_NOTNULL: zUniOp = "NOTNULL"; break; + + case TK_TRUTH: { + int x; + const char *azOp[] = { + "IS-FALSE", "IS-TRUE", "IS-NOT-FALSE", "IS-NOT-TRUE" + }; + assert( pExpr->op2==TK_IS || pExpr->op2==TK_ISNOT ); + assert( pExpr->pRight ); + assert( sqlite3ExprSkipCollate(pExpr->pRight)->op==TK_TRUEFALSE ); + x = (pExpr->op2==TK_ISNOT)*2 + sqlite3ExprTruthValue(pExpr->pRight); + zUniOp = azOp[x]; + break; + } + + case TK_SPAN: { + sqlite3TreeViewLine(pView, "SPAN %Q", pExpr->u.zToken); + sqlite3TreeViewExpr(pView, pExpr->pLeft, 0); + break; + } + + case TK_COLLATE: { + /* COLLATE operators without the EP_Collate flag are intended to + ** emulate collation associated with a table column. These show + ** up in the treeview output as "SOFT-COLLATE". Explicit COLLATE + ** operators that appear in the original SQL always have the + ** EP_Collate bit set and appear in treeview output as just "COLLATE" */ + sqlite3TreeViewLine(pView, "%sCOLLATE %Q%s", + !ExprHasProperty(pExpr, EP_Collate) ? "SOFT-" : "", + pExpr->u.zToken, zFlgs); + sqlite3TreeViewExpr(pView, pExpr->pLeft, 0); + break; + } + + case TK_AGG_FUNCTION: + case TK_FUNCTION: { + ExprList *pFarg; /* List of function arguments */ + Window *pWin; + if( ExprHasProperty(pExpr, EP_TokenOnly) ){ + pFarg = 0; + pWin = 0; + }else{ + pFarg = pExpr->x.pList; +#ifndef SQLITE_OMIT_WINDOWFUNC + pWin = pExpr->y.pWin; +#else + pWin = 0; +#endif + } + if( pExpr->op==TK_AGG_FUNCTION ){ + sqlite3TreeViewLine(pView, "AGG_FUNCTION%d %Q%s", + pExpr->op2, pExpr->u.zToken, zFlgs); + }else{ + sqlite3TreeViewLine(pView, "FUNCTION %Q%s", pExpr->u.zToken, zFlgs); + } + if( pFarg ){ + sqlite3TreeViewExprList(pView, pFarg, pWin!=0, 0); + } +#ifndef SQLITE_OMIT_WINDOWFUNC + if( pWin ){ + sqlite3TreeViewWindow(pView, pWin, 0); + } +#endif + break; + } +#ifndef SQLITE_OMIT_SUBQUERY + case TK_EXISTS: { + sqlite3TreeViewLine(pView, "EXISTS-expr flags=0x%x", pExpr->flags); + sqlite3TreeViewSelect(pView, pExpr->x.pSelect, 0); + break; + } + case TK_SELECT: { + sqlite3TreeViewLine(pView, "SELECT-expr flags=0x%x", pExpr->flags); + sqlite3TreeViewSelect(pView, pExpr->x.pSelect, 0); + break; + } + case TK_IN: { + sqlite3TreeViewLine(pView, "IN flags=0x%x", pExpr->flags); + sqlite3TreeViewExpr(pView, pExpr->pLeft, 1); + if( ExprHasProperty(pExpr, EP_xIsSelect) ){ + sqlite3TreeViewSelect(pView, pExpr->x.pSelect, 0); + }else{ + sqlite3TreeViewExprList(pView, pExpr->x.pList, 0, 0); + } + break; + } +#endif /* SQLITE_OMIT_SUBQUERY */ + + /* + ** x BETWEEN y AND z + ** + ** This is equivalent to + ** + ** x>=y AND x<=z + ** + ** X is stored in pExpr->pLeft. + ** Y is stored in pExpr->pList->a[0].pExpr. + ** Z is stored in pExpr->pList->a[1].pExpr. + */ + case TK_BETWEEN: { + Expr *pX = pExpr->pLeft; + Expr *pY = pExpr->x.pList->a[0].pExpr; + Expr *pZ = pExpr->x.pList->a[1].pExpr; + sqlite3TreeViewLine(pView, "BETWEEN"); + sqlite3TreeViewExpr(pView, pX, 1); + sqlite3TreeViewExpr(pView, pY, 1); + sqlite3TreeViewExpr(pView, pZ, 0); + break; + } + case TK_TRIGGER: { + /* If the opcode is TK_TRIGGER, then the expression is a reference + ** to a column in the new.* or old.* pseudo-tables available to + ** trigger programs. In this case Expr.iTable is set to 1 for the + ** new.* pseudo-table, or 0 for the old.* pseudo-table. Expr.iColumn + ** is set to the column of the pseudo-table to read, or to -1 to + ** read the rowid field. + */ + sqlite3TreeViewLine(pView, "%s(%d)", + pExpr->iTable ? "NEW" : "OLD", pExpr->iColumn); + break; + } + case TK_CASE: { + sqlite3TreeViewLine(pView, "CASE"); + sqlite3TreeViewExpr(pView, pExpr->pLeft, 1); + sqlite3TreeViewExprList(pView, pExpr->x.pList, 0, 0); + break; + } +#ifndef SQLITE_OMIT_TRIGGER + case TK_RAISE: { + const char *zType = "unk"; + switch( pExpr->affExpr ){ + case OE_Rollback: zType = "rollback"; break; + case OE_Abort: zType = "abort"; break; + case OE_Fail: zType = "fail"; break; + case OE_Ignore: zType = "ignore"; break; + } + sqlite3TreeViewLine(pView, "RAISE %s(%Q)", zType, pExpr->u.zToken); + break; + } +#endif + case TK_MATCH: { + sqlite3TreeViewLine(pView, "MATCH {%d:%d}%s", + pExpr->iTable, pExpr->iColumn, zFlgs); + sqlite3TreeViewExpr(pView, pExpr->pRight, 0); + break; + } + case TK_VECTOR: { + sqlite3TreeViewBareExprList(pView, pExpr->x.pList, "VECTOR"); + break; + } + case TK_SELECT_COLUMN: { + sqlite3TreeViewLine(pView, "SELECT-COLUMN %d", pExpr->iColumn); + sqlite3TreeViewSelect(pView, pExpr->pLeft->x.pSelect, 0); + break; + } + case TK_IF_NULL_ROW: { + sqlite3TreeViewLine(pView, "IF-NULL-ROW %d", pExpr->iTable); + sqlite3TreeViewExpr(pView, pExpr->pLeft, 0); + break; + } + default: { + sqlite3TreeViewLine(pView, "op=%d", pExpr->op); + break; + } + } + if( zBinOp ){ + sqlite3TreeViewLine(pView, "%s%s", zBinOp, zFlgs); + sqlite3TreeViewExpr(pView, pExpr->pLeft, 1); + sqlite3TreeViewExpr(pView, pExpr->pRight, 0); + }else if( zUniOp ){ + sqlite3TreeViewLine(pView, "%s%s", zUniOp, zFlgs); + sqlite3TreeViewExpr(pView, pExpr->pLeft, 0); + } + sqlite3TreeViewPop(pView); +} + + +/* +** Generate a human-readable explanation of an expression list. +*/ +SQLITE_PRIVATE void sqlite3TreeViewBareExprList( + TreeView *pView, + const ExprList *pList, + const char *zLabel +){ + if( zLabel==0 || zLabel[0]==0 ) zLabel = "LIST"; + if( pList==0 ){ + sqlite3TreeViewLine(pView, "%s (empty)", zLabel); + }else{ + int i; + sqlite3TreeViewLine(pView, "%s", zLabel); + for(i=0; inExpr; i++){ + int j = pList->a[i].u.x.iOrderByCol; + char *zName = pList->a[i].zName; + int moreToFollow = inExpr - 1; + if( j || zName ){ + sqlite3TreeViewPush(pView, moreToFollow); + moreToFollow = 0; + sqlite3TreeViewLine(pView, 0); + if( zName ){ + fprintf(stdout, "AS %s ", zName); + } + if( j ){ + fprintf(stdout, "iOrderByCol=%d", j); + } + fprintf(stdout, "\n"); + fflush(stdout); + } + sqlite3TreeViewExpr(pView, pList->a[i].pExpr, moreToFollow); + if( j || zName ){ + sqlite3TreeViewPop(pView); + } + } + } +} +SQLITE_PRIVATE void sqlite3TreeViewExprList( + TreeView *pView, + const ExprList *pList, + u8 moreToFollow, + const char *zLabel +){ + pView = sqlite3TreeViewPush(pView, moreToFollow); + sqlite3TreeViewBareExprList(pView, pList, zLabel); + sqlite3TreeViewPop(pView); +} + +#endif /* SQLITE_DEBUG */ + +/************** End of treeview.c ********************************************/ +/************** Begin file random.c ******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains code to implement a pseudo-random number +** generator (PRNG) for SQLite. +** +** Random numbers are used by some of the database backends in order +** to generate random integer keys for tables or random filenames. +*/ +/* #include "sqliteInt.h" */ + + +/* All threads share a single random number generator. +** This structure is the current state of the generator. +*/ +static SQLITE_WSD struct sqlite3PrngType { + unsigned char isInit; /* True if initialized */ + unsigned char i, j; /* State variables */ + unsigned char s[256]; /* State variables */ +} sqlite3Prng; + +/* +** Return N random bytes. +*/ +SQLITE_API void sqlite3_randomness(int N, void *pBuf){ + unsigned char t; + unsigned char *zBuf = pBuf; + + /* The "wsdPrng" macro will resolve to the pseudo-random number generator + ** state vector. If writable static data is unsupported on the target, + ** we have to locate the state vector at run-time. In the more common + ** case where writable static data is supported, wsdPrng can refer directly + ** to the "sqlite3Prng" state vector declared above. + */ +#ifdef SQLITE_OMIT_WSD + struct sqlite3PrngType *p = &GLOBAL(struct sqlite3PrngType, sqlite3Prng); +# define wsdPrng p[0] +#else +# define wsdPrng sqlite3Prng +#endif + +#if SQLITE_THREADSAFE + sqlite3_mutex *mutex; +#endif + +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return; +#endif + +#if SQLITE_THREADSAFE + mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_PRNG); +#endif + + sqlite3_mutex_enter(mutex); + if( N<=0 || pBuf==0 ){ + wsdPrng.isInit = 0; + sqlite3_mutex_leave(mutex); + return; + } + + /* Initialize the state of the random number generator once, + ** the first time this routine is called. The seed value does + ** not need to contain a lot of randomness since we are not + ** trying to do secure encryption or anything like that... + ** + ** Nothing in this file or anywhere else in SQLite does any kind of + ** encryption. The RC4 algorithm is being used as a PRNG (pseudo-random + ** number generator) not as an encryption device. + */ + if( !wsdPrng.isInit ){ + int i; + char k[256]; + wsdPrng.j = 0; + wsdPrng.i = 0; + sqlite3OsRandomness(sqlite3_vfs_find(0), 256, k); + for(i=0; i<256; i++){ + wsdPrng.s[i] = (u8)i; + } + for(i=0; i<256; i++){ + wsdPrng.j += wsdPrng.s[i] + k[i]; + t = wsdPrng.s[wsdPrng.j]; + wsdPrng.s[wsdPrng.j] = wsdPrng.s[i]; + wsdPrng.s[i] = t; + } + wsdPrng.isInit = 1; + } + + assert( N>0 ); + do{ + wsdPrng.i++; + t = wsdPrng.s[wsdPrng.i]; + wsdPrng.j += t; + wsdPrng.s[wsdPrng.i] = wsdPrng.s[wsdPrng.j]; + wsdPrng.s[wsdPrng.j] = t; + t += wsdPrng.s[wsdPrng.i]; + *(zBuf++) = wsdPrng.s[t]; + }while( --N ); + sqlite3_mutex_leave(mutex); +} + +#ifndef SQLITE_UNTESTABLE +/* +** For testing purposes, we sometimes want to preserve the state of +** PRNG and restore the PRNG to its saved state at a later time, or +** to reset the PRNG to its initial state. These routines accomplish +** those tasks. +** +** The sqlite3_test_control() interface calls these routines to +** control the PRNG. +*/ +static SQLITE_WSD struct sqlite3PrngType sqlite3SavedPrng; +SQLITE_PRIVATE void sqlite3PrngSaveState(void){ + memcpy( + &GLOBAL(struct sqlite3PrngType, sqlite3SavedPrng), + &GLOBAL(struct sqlite3PrngType, sqlite3Prng), + sizeof(sqlite3Prng) + ); +} +SQLITE_PRIVATE void sqlite3PrngRestoreState(void){ + memcpy( + &GLOBAL(struct sqlite3PrngType, sqlite3Prng), + &GLOBAL(struct sqlite3PrngType, sqlite3SavedPrng), + sizeof(sqlite3Prng) + ); +} +#endif /* SQLITE_UNTESTABLE */ + +/************** End of random.c **********************************************/ +/************** Begin file threads.c *****************************************/ +/* +** 2012 July 21 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file presents a simple cross-platform threading interface for +** use internally by SQLite. +** +** A "thread" can be created using sqlite3ThreadCreate(). This thread +** runs independently of its creator until it is joined using +** sqlite3ThreadJoin(), at which point it terminates. +** +** Threads do not have to be real. It could be that the work of the +** "thread" is done by the main thread at either the sqlite3ThreadCreate() +** or sqlite3ThreadJoin() call. This is, in fact, what happens in +** single threaded systems. Nothing in SQLite requires multiple threads. +** This interface exists so that applications that want to take advantage +** of multiple cores can do so, while also allowing applications to stay +** single-threaded if desired. +*/ +/* #include "sqliteInt.h" */ +#if SQLITE_OS_WIN +/* # include "os_win.h" */ +#endif + +#if SQLITE_MAX_WORKER_THREADS>0 + +/********************************* Unix Pthreads ****************************/ +#if SQLITE_OS_UNIX && defined(SQLITE_MUTEX_PTHREADS) && SQLITE_THREADSAFE>0 + +#define SQLITE_THREADS_IMPLEMENTED 1 /* Prevent the single-thread code below */ +/* #include */ + +/* A running thread */ +struct SQLiteThread { + pthread_t tid; /* Thread ID */ + int done; /* Set to true when thread finishes */ + void *pOut; /* Result returned by the thread */ + void *(*xTask)(void*); /* The thread routine */ + void *pIn; /* Argument to the thread */ +}; + +/* Create a new thread */ +SQLITE_PRIVATE int sqlite3ThreadCreate( + SQLiteThread **ppThread, /* OUT: Write the thread object here */ + void *(*xTask)(void*), /* Routine to run in a separate thread */ + void *pIn /* Argument passed into xTask() */ +){ + SQLiteThread *p; + int rc; + + assert( ppThread!=0 ); + assert( xTask!=0 ); + /* This routine is never used in single-threaded mode */ + assert( sqlite3GlobalConfig.bCoreMutex!=0 ); + + *ppThread = 0; + p = sqlite3Malloc(sizeof(*p)); + if( p==0 ) return SQLITE_NOMEM_BKPT; + memset(p, 0, sizeof(*p)); + p->xTask = xTask; + p->pIn = pIn; + /* If the SQLITE_TESTCTRL_FAULT_INSTALL callback is registered to a + ** function that returns SQLITE_ERROR when passed the argument 200, that + ** forces worker threads to run sequentially and deterministically + ** for testing purposes. */ + if( sqlite3FaultSim(200) ){ + rc = 1; + }else{ + rc = pthread_create(&p->tid, 0, xTask, pIn); + } + if( rc ){ + p->done = 1; + p->pOut = xTask(pIn); + } + *ppThread = p; + return SQLITE_OK; +} + +/* Get the results of the thread */ +SQLITE_PRIVATE int sqlite3ThreadJoin(SQLiteThread *p, void **ppOut){ + int rc; + + assert( ppOut!=0 ); + if( NEVER(p==0) ) return SQLITE_NOMEM_BKPT; + if( p->done ){ + *ppOut = p->pOut; + rc = SQLITE_OK; + }else{ + rc = pthread_join(p->tid, ppOut) ? SQLITE_ERROR : SQLITE_OK; + } + sqlite3_free(p); + return rc; +} + +#endif /* SQLITE_OS_UNIX && defined(SQLITE_MUTEX_PTHREADS) */ +/******************************** End Unix Pthreads *************************/ + + +/********************************* Win32 Threads ****************************/ +#if SQLITE_OS_WIN_THREADS + +#define SQLITE_THREADS_IMPLEMENTED 1 /* Prevent the single-thread code below */ +#include + +/* A running thread */ +struct SQLiteThread { + void *tid; /* The thread handle */ + unsigned id; /* The thread identifier */ + void *(*xTask)(void*); /* The routine to run as a thread */ + void *pIn; /* Argument to xTask */ + void *pResult; /* Result of xTask */ +}; + +/* Thread procedure Win32 compatibility shim */ +static unsigned __stdcall sqlite3ThreadProc( + void *pArg /* IN: Pointer to the SQLiteThread structure */ +){ + SQLiteThread *p = (SQLiteThread *)pArg; + + assert( p!=0 ); +#if 0 + /* + ** This assert appears to trigger spuriously on certain + ** versions of Windows, possibly due to _beginthreadex() + ** and/or CreateThread() not fully setting their thread + ** ID parameter before starting the thread. + */ + assert( p->id==GetCurrentThreadId() ); +#endif + assert( p->xTask!=0 ); + p->pResult = p->xTask(p->pIn); + + _endthreadex(0); + return 0; /* NOT REACHED */ +} + +/* Create a new thread */ +SQLITE_PRIVATE int sqlite3ThreadCreate( + SQLiteThread **ppThread, /* OUT: Write the thread object here */ + void *(*xTask)(void*), /* Routine to run in a separate thread */ + void *pIn /* Argument passed into xTask() */ +){ + SQLiteThread *p; + + assert( ppThread!=0 ); + assert( xTask!=0 ); + *ppThread = 0; + p = sqlite3Malloc(sizeof(*p)); + if( p==0 ) return SQLITE_NOMEM_BKPT; + /* If the SQLITE_TESTCTRL_FAULT_INSTALL callback is registered to a + ** function that returns SQLITE_ERROR when passed the argument 200, that + ** forces worker threads to run sequentially and deterministically + ** (via the sqlite3FaultSim() term of the conditional) for testing + ** purposes. */ + if( sqlite3GlobalConfig.bCoreMutex==0 || sqlite3FaultSim(200) ){ + memset(p, 0, sizeof(*p)); + }else{ + p->xTask = xTask; + p->pIn = pIn; + p->tid = (void*)_beginthreadex(0, 0, sqlite3ThreadProc, p, 0, &p->id); + if( p->tid==0 ){ + memset(p, 0, sizeof(*p)); + } + } + if( p->xTask==0 ){ + p->id = GetCurrentThreadId(); + p->pResult = xTask(pIn); + } + *ppThread = p; + return SQLITE_OK; +} + +SQLITE_PRIVATE DWORD sqlite3Win32Wait(HANDLE hObject); /* os_win.c */ + +/* Get the results of the thread */ +SQLITE_PRIVATE int sqlite3ThreadJoin(SQLiteThread *p, void **ppOut){ + DWORD rc; + BOOL bRc; + + assert( ppOut!=0 ); + if( NEVER(p==0) ) return SQLITE_NOMEM_BKPT; + if( p->xTask==0 ){ + /* assert( p->id==GetCurrentThreadId() ); */ + rc = WAIT_OBJECT_0; + assert( p->tid==0 ); + }else{ + assert( p->id!=0 && p->id!=GetCurrentThreadId() ); + rc = sqlite3Win32Wait((HANDLE)p->tid); + assert( rc!=WAIT_IO_COMPLETION ); + bRc = CloseHandle((HANDLE)p->tid); + assert( bRc ); + } + if( rc==WAIT_OBJECT_0 ) *ppOut = p->pResult; + sqlite3_free(p); + return (rc==WAIT_OBJECT_0) ? SQLITE_OK : SQLITE_ERROR; +} + +#endif /* SQLITE_OS_WIN_THREADS */ +/******************************** End Win32 Threads *************************/ + + +/********************************* Single-Threaded **************************/ +#ifndef SQLITE_THREADS_IMPLEMENTED +/* +** This implementation does not actually create a new thread. It does the +** work of the thread in the main thread, when either the thread is created +** or when it is joined +*/ + +/* A running thread */ +struct SQLiteThread { + void *(*xTask)(void*); /* The routine to run as a thread */ + void *pIn; /* Argument to xTask */ + void *pResult; /* Result of xTask */ +}; + +/* Create a new thread */ +SQLITE_PRIVATE int sqlite3ThreadCreate( + SQLiteThread **ppThread, /* OUT: Write the thread object here */ + void *(*xTask)(void*), /* Routine to run in a separate thread */ + void *pIn /* Argument passed into xTask() */ +){ + SQLiteThread *p; + + assert( ppThread!=0 ); + assert( xTask!=0 ); + *ppThread = 0; + p = sqlite3Malloc(sizeof(*p)); + if( p==0 ) return SQLITE_NOMEM_BKPT; + if( (SQLITE_PTR_TO_INT(p)/17)&1 ){ + p->xTask = xTask; + p->pIn = pIn; + }else{ + p->xTask = 0; + p->pResult = xTask(pIn); + } + *ppThread = p; + return SQLITE_OK; +} + +/* Get the results of the thread */ +SQLITE_PRIVATE int sqlite3ThreadJoin(SQLiteThread *p, void **ppOut){ + + assert( ppOut!=0 ); + if( NEVER(p==0) ) return SQLITE_NOMEM_BKPT; + if( p->xTask ){ + *ppOut = p->xTask(p->pIn); + }else{ + *ppOut = p->pResult; + } + sqlite3_free(p); + +#if defined(SQLITE_TEST) + { + void *pTstAlloc = sqlite3Malloc(10); + if (!pTstAlloc) return SQLITE_NOMEM_BKPT; + sqlite3_free(pTstAlloc); + } +#endif + + return SQLITE_OK; +} + +#endif /* !defined(SQLITE_THREADS_IMPLEMENTED) */ +/****************************** End Single-Threaded *************************/ +#endif /* SQLITE_MAX_WORKER_THREADS>0 */ + +/************** End of threads.c *********************************************/ +/************** Begin file utf.c *********************************************/ +/* +** 2004 April 13 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains routines used to translate between UTF-8, +** UTF-16, UTF-16BE, and UTF-16LE. +** +** Notes on UTF-8: +** +** Byte-0 Byte-1 Byte-2 Byte-3 Value +** 0xxxxxxx 00000000 00000000 0xxxxxxx +** 110yyyyy 10xxxxxx 00000000 00000yyy yyxxxxxx +** 1110zzzz 10yyyyyy 10xxxxxx 00000000 zzzzyyyy yyxxxxxx +** 11110uuu 10uuzzzz 10yyyyyy 10xxxxxx 000uuuuu zzzzyyyy yyxxxxxx +** +** +** Notes on UTF-16: (with wwww+1==uuuuu) +** +** Word-0 Word-1 Value +** 110110ww wwzzzzyy 110111yy yyxxxxxx 000uuuuu zzzzyyyy yyxxxxxx +** zzzzyyyy yyxxxxxx 00000000 zzzzyyyy yyxxxxxx +** +** +** BOM or Byte Order Mark: +** 0xff 0xfe little-endian utf-16 follows +** 0xfe 0xff big-endian utf-16 follows +** +*/ +/* #include "sqliteInt.h" */ +/* #include */ +/* #include "vdbeInt.h" */ + +#if !defined(SQLITE_AMALGAMATION) && SQLITE_BYTEORDER==0 +/* +** The following constant value is used by the SQLITE_BIGENDIAN and +** SQLITE_LITTLEENDIAN macros. +*/ +SQLITE_PRIVATE const int sqlite3one = 1; +#endif /* SQLITE_AMALGAMATION && SQLITE_BYTEORDER==0 */ + +/* +** This lookup table is used to help decode the first byte of +** a multi-byte UTF8 character. +*/ +static const unsigned char sqlite3Utf8Trans1[] = { + 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, + 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, + 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, + 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, + 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, + 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, + 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, + 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x00, 0x00, +}; + + +#define WRITE_UTF8(zOut, c) { \ + if( c<0x00080 ){ \ + *zOut++ = (u8)(c&0xFF); \ + } \ + else if( c<0x00800 ){ \ + *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \ + *zOut++ = 0x80 + (u8)(c & 0x3F); \ + } \ + else if( c<0x10000 ){ \ + *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \ + *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \ + *zOut++ = 0x80 + (u8)(c & 0x3F); \ + }else{ \ + *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \ + *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \ + *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \ + *zOut++ = 0x80 + (u8)(c & 0x3F); \ + } \ +} + +#define WRITE_UTF16LE(zOut, c) { \ + if( c<=0xFFFF ){ \ + *zOut++ = (u8)(c&0x00FF); \ + *zOut++ = (u8)((c>>8)&0x00FF); \ + }else{ \ + *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \ + *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \ + *zOut++ = (u8)(c&0x00FF); \ + *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \ + } \ +} + +#define WRITE_UTF16BE(zOut, c) { \ + if( c<=0xFFFF ){ \ + *zOut++ = (u8)((c>>8)&0x00FF); \ + *zOut++ = (u8)(c&0x00FF); \ + }else{ \ + *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \ + *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \ + *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \ + *zOut++ = (u8)(c&0x00FF); \ + } \ +} + +#define READ_UTF16LE(zIn, TERM, c){ \ + c = (*zIn++); \ + c += ((*zIn++)<<8); \ + if( c>=0xD800 && c<0xE000 && TERM ){ \ + int c2 = (*zIn++); \ + c2 += ((*zIn++)<<8); \ + c = (c2&0x03FF) + ((c&0x003F)<<10) + (((c&0x03C0)+0x0040)<<10); \ + } \ +} + +#define READ_UTF16BE(zIn, TERM, c){ \ + c = ((*zIn++)<<8); \ + c += (*zIn++); \ + if( c>=0xD800 && c<0xE000 && TERM ){ \ + int c2 = ((*zIn++)<<8); \ + c2 += (*zIn++); \ + c = (c2&0x03FF) + ((c&0x003F)<<10) + (((c&0x03C0)+0x0040)<<10); \ + } \ +} + +/* +** Translate a single UTF-8 character. Return the unicode value. +** +** During translation, assume that the byte that zTerm points +** is a 0x00. +** +** Write a pointer to the next unread byte back into *pzNext. +** +** Notes On Invalid UTF-8: +** +** * This routine never allows a 7-bit character (0x00 through 0x7f) to +** be encoded as a multi-byte character. Any multi-byte character that +** attempts to encode a value between 0x00 and 0x7f is rendered as 0xfffd. +** +** * This routine never allows a UTF16 surrogate value to be encoded. +** If a multi-byte character attempts to encode a value between +** 0xd800 and 0xe000 then it is rendered as 0xfffd. +** +** * Bytes in the range of 0x80 through 0xbf which occur as the first +** byte of a character are interpreted as single-byte characters +** and rendered as themselves even though they are technically +** invalid characters. +** +** * This routine accepts over-length UTF8 encodings +** for unicode values 0x80 and greater. It does not change over-length +** encodings to 0xfffd as some systems recommend. +*/ +#define READ_UTF8(zIn, zTerm, c) \ + c = *(zIn++); \ + if( c>=0xc0 ){ \ + c = sqlite3Utf8Trans1[c-0xc0]; \ + while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \ + c = (c<<6) + (0x3f & *(zIn++)); \ + } \ + if( c<0x80 \ + || (c&0xFFFFF800)==0xD800 \ + || (c&0xFFFFFFFE)==0xFFFE ){ c = 0xFFFD; } \ + } +SQLITE_PRIVATE u32 sqlite3Utf8Read( + const unsigned char **pz /* Pointer to string from which to read char */ +){ + unsigned int c; + + /* Same as READ_UTF8() above but without the zTerm parameter. + ** For this routine, we assume the UTF8 string is always zero-terminated. + */ + c = *((*pz)++); + if( c>=0xc0 ){ + c = sqlite3Utf8Trans1[c-0xc0]; + while( (*(*pz) & 0xc0)==0x80 ){ + c = (c<<6) + (0x3f & *((*pz)++)); + } + if( c<0x80 + || (c&0xFFFFF800)==0xD800 + || (c&0xFFFFFFFE)==0xFFFE ){ c = 0xFFFD; } + } + return c; +} + + + + +/* +** If the TRANSLATE_TRACE macro is defined, the value of each Mem is +** printed on stderr on the way into and out of sqlite3VdbeMemTranslate(). +*/ +/* #define TRANSLATE_TRACE 1 */ + +#ifndef SQLITE_OMIT_UTF16 +/* +** This routine transforms the internal text encoding used by pMem to +** desiredEnc. It is an error if the string is already of the desired +** encoding, or if *pMem does not contain a string value. +*/ +SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3VdbeMemTranslate(Mem *pMem, u8 desiredEnc){ + sqlite3_int64 len; /* Maximum length of output string in bytes */ + unsigned char *zOut; /* Output buffer */ + unsigned char *zIn; /* Input iterator */ + unsigned char *zTerm; /* End of input */ + unsigned char *z; /* Output iterator */ + unsigned int c; + + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + assert( pMem->flags&MEM_Str ); + assert( pMem->enc!=desiredEnc ); + assert( pMem->enc!=0 ); + assert( pMem->n>=0 ); + +#if defined(TRANSLATE_TRACE) && defined(SQLITE_DEBUG) + { + char zBuf[100]; + sqlite3VdbeMemPrettyPrint(pMem, zBuf); + fprintf(stderr, "INPUT: %s\n", zBuf); + } +#endif + + /* If the translation is between UTF-16 little and big endian, then + ** all that is required is to swap the byte order. This case is handled + ** differently from the others. + */ + if( pMem->enc!=SQLITE_UTF8 && desiredEnc!=SQLITE_UTF8 ){ + u8 temp; + int rc; + rc = sqlite3VdbeMemMakeWriteable(pMem); + if( rc!=SQLITE_OK ){ + assert( rc==SQLITE_NOMEM ); + return SQLITE_NOMEM_BKPT; + } + zIn = (u8*)pMem->z; + zTerm = &zIn[pMem->n&~1]; + while( zInenc = desiredEnc; + goto translate_out; + } + + /* Set len to the maximum number of bytes required in the output buffer. */ + if( desiredEnc==SQLITE_UTF8 ){ + /* When converting from UTF-16, the maximum growth results from + ** translating a 2-byte character to a 4-byte UTF-8 character. + ** A single byte is required for the output string + ** nul-terminator. + */ + pMem->n &= ~1; + len = 2 * (sqlite3_int64)pMem->n + 1; + }else{ + /* When converting from UTF-8 to UTF-16 the maximum growth is caused + ** when a 1-byte UTF-8 character is translated into a 2-byte UTF-16 + ** character. Two bytes are required in the output buffer for the + ** nul-terminator. + */ + len = 2 * (sqlite3_int64)pMem->n + 2; + } + + /* Set zIn to point at the start of the input buffer and zTerm to point 1 + ** byte past the end. + ** + ** Variable zOut is set to point at the output buffer, space obtained + ** from sqlite3_malloc(). + */ + zIn = (u8*)pMem->z; + zTerm = &zIn[pMem->n]; + zOut = sqlite3DbMallocRaw(pMem->db, len); + if( !zOut ){ + return SQLITE_NOMEM_BKPT; + } + z = zOut; + + if( pMem->enc==SQLITE_UTF8 ){ + if( desiredEnc==SQLITE_UTF16LE ){ + /* UTF-8 -> UTF-16 Little-endian */ + while( zIn UTF-16 Big-endian */ + while( zInn = (int)(z - zOut); + *z++ = 0; + }else{ + assert( desiredEnc==SQLITE_UTF8 ); + if( pMem->enc==SQLITE_UTF16LE ){ + /* UTF-16 Little-endian -> UTF-8 */ + while( zIn UTF-8 */ + while( zInn = (int)(z - zOut); + } + *z = 0; + assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len ); + + c = pMem->flags; + sqlite3VdbeMemRelease(pMem); + pMem->flags = MEM_Str|MEM_Term|(c&(MEM_AffMask|MEM_Subtype)); + pMem->enc = desiredEnc; + pMem->z = (char*)zOut; + pMem->zMalloc = pMem->z; + pMem->szMalloc = sqlite3DbMallocSize(pMem->db, pMem->z); + +translate_out: +#if defined(TRANSLATE_TRACE) && defined(SQLITE_DEBUG) + { + char zBuf[100]; + sqlite3VdbeMemPrettyPrint(pMem, zBuf); + fprintf(stderr, "OUTPUT: %s\n", zBuf); + } +#endif + return SQLITE_OK; +} +#endif /* SQLITE_OMIT_UTF16 */ + +#ifndef SQLITE_OMIT_UTF16 +/* +** This routine checks for a byte-order mark at the beginning of the +** UTF-16 string stored in *pMem. If one is present, it is removed and +** the encoding of the Mem adjusted. This routine does not do any +** byte-swapping, it just sets Mem.enc appropriately. +** +** The allocation (static, dynamic etc.) and encoding of the Mem may be +** changed by this function. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemHandleBom(Mem *pMem){ + int rc = SQLITE_OK; + u8 bom = 0; + + assert( pMem->n>=0 ); + if( pMem->n>1 ){ + u8 b1 = *(u8 *)pMem->z; + u8 b2 = *(((u8 *)pMem->z) + 1); + if( b1==0xFE && b2==0xFF ){ + bom = SQLITE_UTF16BE; + } + if( b1==0xFF && b2==0xFE ){ + bom = SQLITE_UTF16LE; + } + } + + if( bom ){ + rc = sqlite3VdbeMemMakeWriteable(pMem); + if( rc==SQLITE_OK ){ + pMem->n -= 2; + memmove(pMem->z, &pMem->z[2], pMem->n); + pMem->z[pMem->n] = '\0'; + pMem->z[pMem->n+1] = '\0'; + pMem->flags |= MEM_Term; + pMem->enc = bom; + } + } + return rc; +} +#endif /* SQLITE_OMIT_UTF16 */ + +/* +** pZ is a UTF-8 encoded unicode string. If nByte is less than zero, +** return the number of unicode characters in pZ up to (but not including) +** the first 0x00 byte. If nByte is not less than zero, return the +** number of unicode characters in the first nByte of pZ (or up to +** the first 0x00, whichever comes first). +*/ +SQLITE_PRIVATE int sqlite3Utf8CharLen(const char *zIn, int nByte){ + int r = 0; + const u8 *z = (const u8*)zIn; + const u8 *zTerm; + if( nByte>=0 ){ + zTerm = &z[nByte]; + }else{ + zTerm = (const u8*)(-1); + } + assert( z<=zTerm ); + while( *z!=0 && zmallocFailed ){ + sqlite3VdbeMemRelease(&m); + m.z = 0; + } + assert( (m.flags & MEM_Term)!=0 || db->mallocFailed ); + assert( (m.flags & MEM_Str)!=0 || db->mallocFailed ); + assert( m.z || db->mallocFailed ); + return m.z; +} + +/* +** zIn is a UTF-16 encoded unicode string at least nChar characters long. +** Return the number of bytes in the first nChar unicode characters +** in pZ. nChar must be non-negative. +*/ +SQLITE_PRIVATE int sqlite3Utf16ByteLen(const void *zIn, int nChar){ + int c; + unsigned char const *z = zIn; + int n = 0; + + if( SQLITE_UTF16NATIVE==SQLITE_UTF16BE ){ + while( n0 && n<=4 ); + z[0] = 0; + z = zBuf; + c = sqlite3Utf8Read((const u8**)&z); + t = i; + if( i>=0xD800 && i<=0xDFFF ) t = 0xFFFD; + if( (i&0xFFFFFFFE)==0xFFFE ) t = 0xFFFD; + assert( c==t ); + assert( (z-zBuf)==n ); + } + for(i=0; i<0x00110000; i++){ + if( i>=0xD800 && i<0xE000 ) continue; + z = zBuf; + WRITE_UTF16LE(z, i); + n = (int)(z-zBuf); + assert( n>0 && n<=4 ); + z[0] = 0; + z = zBuf; + READ_UTF16LE(z, 1, c); + assert( c==i ); + assert( (z-zBuf)==n ); + } + for(i=0; i<0x00110000; i++){ + if( i>=0xD800 && i<0xE000 ) continue; + z = zBuf; + WRITE_UTF16BE(z, i); + n = (int)(z-zBuf); + assert( n>0 && n<=4 ); + z[0] = 0; + z = zBuf; + READ_UTF16BE(z, 1, c); + assert( c==i ); + assert( (z-zBuf)==n ); + } +} +#endif /* SQLITE_TEST */ +#endif /* SQLITE_OMIT_UTF16 */ + +/************** End of utf.c *************************************************/ +/************** Begin file util.c ********************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** Utility functions used throughout sqlite. +** +** This file contains functions for allocating memory, comparing +** strings, and stuff like that. +** +*/ +/* #include "sqliteInt.h" */ +/* #include */ +#include + +/* +** Routine needed to support the testcase() macro. +*/ +#ifdef SQLITE_COVERAGE_TEST +SQLITE_PRIVATE void sqlite3Coverage(int x){ + static unsigned dummy = 0; + dummy += (unsigned)x; +} +#endif + +/* +** Calls to sqlite3FaultSim() are used to simulate a failure during testing, +** or to bypass normal error detection during testing in order to let +** execute proceed futher downstream. +** +** In deployment, sqlite3FaultSim() *always* return SQLITE_OK (0). The +** sqlite3FaultSim() function only returns non-zero during testing. +** +** During testing, if the test harness has set a fault-sim callback using +** a call to sqlite3_test_control(SQLITE_TESTCTRL_FAULT_INSTALL), then +** each call to sqlite3FaultSim() is relayed to that application-supplied +** callback and the integer return value form the application-supplied +** callback is returned by sqlite3FaultSim(). +** +** The integer argument to sqlite3FaultSim() is a code to identify which +** sqlite3FaultSim() instance is being invoked. Each call to sqlite3FaultSim() +** should have a unique code. To prevent legacy testing applications from +** breaking, the codes should not be changed or reused. +*/ +#ifndef SQLITE_UNTESTABLE +SQLITE_PRIVATE int sqlite3FaultSim(int iTest){ + int (*xCallback)(int) = sqlite3GlobalConfig.xTestCallback; + return xCallback ? xCallback(iTest) : SQLITE_OK; +} +#endif + +#ifndef SQLITE_OMIT_FLOATING_POINT +/* +** Return true if the floating point value is Not a Number (NaN). +*/ +SQLITE_PRIVATE int sqlite3IsNaN(double x){ + u64 y; + memcpy(&y,&x,sizeof(y)); + return IsNaN(y); +} +#endif /* SQLITE_OMIT_FLOATING_POINT */ + +/* +** Compute a string length that is limited to what can be stored in +** lower 30 bits of a 32-bit signed integer. +** +** The value returned will never be negative. Nor will it ever be greater +** than the actual length of the string. For very long strings (greater +** than 1GiB) the value returned might be less than the true string length. +*/ +SQLITE_PRIVATE int sqlite3Strlen30(const char *z){ + if( z==0 ) return 0; + return 0x3fffffff & (int)strlen(z); +} + +/* +** Return the declared type of a column. Or return zDflt if the column +** has no declared type. +** +** The column type is an extra string stored after the zero-terminator on +** the column name if and only if the COLFLAG_HASTYPE flag is set. +*/ +SQLITE_PRIVATE char *sqlite3ColumnType(Column *pCol, char *zDflt){ + if( (pCol->colFlags & COLFLAG_HASTYPE)==0 ) return zDflt; + return pCol->zName + strlen(pCol->zName) + 1; +} + +/* +** Helper function for sqlite3Error() - called rarely. Broken out into +** a separate routine to avoid unnecessary register saves on entry to +** sqlite3Error(). +*/ +static SQLITE_NOINLINE void sqlite3ErrorFinish(sqlite3 *db, int err_code){ + if( db->pErr ) sqlite3ValueSetNull(db->pErr); + sqlite3SystemError(db, err_code); +} + +/* +** Set the current error code to err_code and clear any prior error message. +** Also set iSysErrno (by calling sqlite3System) if the err_code indicates +** that would be appropriate. +*/ +SQLITE_PRIVATE void sqlite3Error(sqlite3 *db, int err_code){ + assert( db!=0 ); + db->errCode = err_code; + if( err_code || db->pErr ) sqlite3ErrorFinish(db, err_code); +} + +/* +** Load the sqlite3.iSysErrno field if that is an appropriate thing +** to do based on the SQLite error code in rc. +*/ +SQLITE_PRIVATE void sqlite3SystemError(sqlite3 *db, int rc){ + if( rc==SQLITE_IOERR_NOMEM ) return; + rc &= 0xff; + if( rc==SQLITE_CANTOPEN || rc==SQLITE_IOERR ){ + db->iSysErrno = sqlite3OsGetLastError(db->pVfs); + } +} + +/* +** Set the most recent error code and error string for the sqlite +** handle "db". The error code is set to "err_code". +** +** If it is not NULL, string zFormat specifies the format of the +** error string in the style of the printf functions: The following +** format characters are allowed: +** +** %s Insert a string +** %z A string that should be freed after use +** %d Insert an integer +** %T Insert a token +** %S Insert the first element of a SrcList +** +** zFormat and any string tokens that follow it are assumed to be +** encoded in UTF-8. +** +** To clear the most recent error for sqlite handle "db", sqlite3Error +** should be called with err_code set to SQLITE_OK and zFormat set +** to NULL. +*/ +SQLITE_PRIVATE void sqlite3ErrorWithMsg(sqlite3 *db, int err_code, const char *zFormat, ...){ + assert( db!=0 ); + db->errCode = err_code; + sqlite3SystemError(db, err_code); + if( zFormat==0 ){ + sqlite3Error(db, err_code); + }else if( db->pErr || (db->pErr = sqlite3ValueNew(db))!=0 ){ + char *z; + va_list ap; + va_start(ap, zFormat); + z = sqlite3VMPrintf(db, zFormat, ap); + va_end(ap); + sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC); + } +} + +/* +** Add an error message to pParse->zErrMsg and increment pParse->nErr. +** The following formatting characters are allowed: +** +** %s Insert a string +** %z A string that should be freed after use +** %d Insert an integer +** %T Insert a token +** %S Insert the first element of a SrcList +** +** This function should be used to report any error that occurs while +** compiling an SQL statement (i.e. within sqlite3_prepare()). The +** last thing the sqlite3_prepare() function does is copy the error +** stored by this function into the database handle using sqlite3Error(). +** Functions sqlite3Error() or sqlite3ErrorWithMsg() should be used +** during statement execution (sqlite3_step() etc.). +*/ +SQLITE_PRIVATE void sqlite3ErrorMsg(Parse *pParse, const char *zFormat, ...){ + char *zMsg; + va_list ap; + sqlite3 *db = pParse->db; + va_start(ap, zFormat); + zMsg = sqlite3VMPrintf(db, zFormat, ap); + va_end(ap); + if( db->suppressErr ){ + sqlite3DbFree(db, zMsg); + }else{ + pParse->nErr++; + sqlite3DbFree(db, pParse->zErrMsg); + pParse->zErrMsg = zMsg; + pParse->rc = SQLITE_ERROR; + } +} + +/* +** If database connection db is currently parsing SQL, then transfer +** error code errCode to that parser if the parser has not already +** encountered some other kind of error. +*/ +SQLITE_PRIVATE int sqlite3ErrorToParser(sqlite3 *db, int errCode){ + Parse *pParse; + if( db==0 || (pParse = db->pParse)==0 ) return errCode; + pParse->rc = errCode; + pParse->nErr++; + return errCode; +} + +/* +** Convert an SQL-style quoted string into a normal string by removing +** the quote characters. The conversion is done in-place. If the +** input does not begin with a quote character, then this routine +** is a no-op. +** +** The input string must be zero-terminated. A new zero-terminator +** is added to the dequoted string. +** +** The return value is -1 if no dequoting occurs or the length of the +** dequoted string, exclusive of the zero terminator, if dequoting does +** occur. +** +** 2002-02-14: This routine is extended to remove MS-Access style +** brackets from around identifiers. For example: "[a-b-c]" becomes +** "a-b-c". +*/ +SQLITE_PRIVATE void sqlite3Dequote(char *z){ + char quote; + int i, j; + if( z==0 ) return; + quote = z[0]; + if( !sqlite3Isquote(quote) ) return; + if( quote=='[' ) quote = ']'; + for(i=1, j=0;; i++){ + assert( z[i] ); + if( z[i]==quote ){ + if( z[i+1]==quote ){ + z[j++] = quote; + i++; + }else{ + break; + } + }else{ + z[j++] = z[i]; + } + } + z[j] = 0; +} +SQLITE_PRIVATE void sqlite3DequoteExpr(Expr *p){ + assert( sqlite3Isquote(p->u.zToken[0]) ); + p->flags |= p->u.zToken[0]=='"' ? EP_Quoted|EP_DblQuoted : EP_Quoted; + sqlite3Dequote(p->u.zToken); +} + +/* +** Generate a Token object from a string +*/ +SQLITE_PRIVATE void sqlite3TokenInit(Token *p, char *z){ + p->z = z; + p->n = sqlite3Strlen30(z); +} + +/* Convenient short-hand */ +#define UpperToLower sqlite3UpperToLower + +/* +** Some systems have stricmp(). Others have strcasecmp(). Because +** there is no consistency, we will define our own. +** +** IMPLEMENTATION-OF: R-30243-02494 The sqlite3_stricmp() and +** sqlite3_strnicmp() APIs allow applications and extensions to compare +** the contents of two buffers containing UTF-8 strings in a +** case-independent fashion, using the same definition of "case +** independence" that SQLite uses internally when comparing identifiers. +*/ +SQLITE_API int sqlite3_stricmp(const char *zLeft, const char *zRight){ + if( zLeft==0 ){ + return zRight ? -1 : 0; + }else if( zRight==0 ){ + return 1; + } + return sqlite3StrICmp(zLeft, zRight); +} +SQLITE_PRIVATE int sqlite3StrICmp(const char *zLeft, const char *zRight){ + unsigned char *a, *b; + int c, x; + a = (unsigned char *)zLeft; + b = (unsigned char *)zRight; + for(;;){ + c = *a; + x = *b; + if( c==x ){ + if( c==0 ) break; + }else{ + c = (int)UpperToLower[c] - (int)UpperToLower[x]; + if( c ) break; + } + a++; + b++; + } + return c; +} +SQLITE_API int sqlite3_strnicmp(const char *zLeft, const char *zRight, int N){ + register unsigned char *a, *b; + if( zLeft==0 ){ + return zRight ? -1 : 0; + }else if( zRight==0 ){ + return 1; + } + a = (unsigned char *)zLeft; + b = (unsigned char *)zRight; + while( N-- > 0 && *a!=0 && UpperToLower[*a]==UpperToLower[*b]){ a++; b++; } + return N<0 ? 0 : UpperToLower[*a] - UpperToLower[*b]; +} + +/* +** Compute 10 to the E-th power. Examples: E==1 results in 10. +** E==2 results in 100. E==50 results in 1.0e50. +** +** This routine only works for values of E between 1 and 341. +*/ +static LONGDOUBLE_TYPE sqlite3Pow10(int E){ +#if defined(_MSC_VER) + static const LONGDOUBLE_TYPE x[] = { + 1.0e+001L, + 1.0e+002L, + 1.0e+004L, + 1.0e+008L, + 1.0e+016L, + 1.0e+032L, + 1.0e+064L, + 1.0e+128L, + 1.0e+256L + }; + LONGDOUBLE_TYPE r = 1.0; + int i; + assert( E>=0 && E<=307 ); + for(i=0; E!=0; i++, E >>=1){ + if( E & 1 ) r *= x[i]; + } + return r; +#else + LONGDOUBLE_TYPE x = 10.0; + LONGDOUBLE_TYPE r = 1.0; + while(1){ + if( E & 1 ) r *= x; + E >>= 1; + if( E==0 ) break; + x *= x; + } + return r; +#endif +} + +/* +** The string z[] is an text representation of a real number. +** Convert this string to a double and write it into *pResult. +** +** The string z[] is length bytes in length (bytes, not characters) and +** uses the encoding enc. The string is not necessarily zero-terminated. +** +** Return TRUE if the result is a valid real number (or integer) and FALSE +** if the string is empty or contains extraneous text. More specifically +** return +** 1 => The input string is a pure integer +** 2 or more => The input has a decimal point or eNNN clause +** 0 or less => The input string is not a valid number +** -1 => Not a valid number, but has a valid prefix which +** includes a decimal point and/or an eNNN clause +** +** Valid numbers are in one of these formats: +** +** [+-]digits[E[+-]digits] +** [+-]digits.[digits][E[+-]digits] +** [+-].digits[E[+-]digits] +** +** Leading and trailing whitespace is ignored for the purpose of determining +** validity. +** +** If some prefix of the input string is a valid number, this routine +** returns FALSE but it still converts the prefix and writes the result +** into *pResult. +*/ +SQLITE_PRIVATE int sqlite3AtoF(const char *z, double *pResult, int length, u8 enc){ +#ifndef SQLITE_OMIT_FLOATING_POINT + int incr; + const char *zEnd = z + length; + /* sign * significand * (10 ^ (esign * exponent)) */ + int sign = 1; /* sign of significand */ + i64 s = 0; /* significand */ + int d = 0; /* adjust exponent for shifting decimal point */ + int esign = 1; /* sign of exponent */ + int e = 0; /* exponent */ + int eValid = 1; /* True exponent is either not used or is well-formed */ + double result; + int nDigit = 0; /* Number of digits processed */ + int eType = 1; /* 1: pure integer, 2+: fractional -1 or less: bad UTF16 */ + + assert( enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE || enc==SQLITE_UTF16BE ); + *pResult = 0.0; /* Default return value, in case of an error */ + + if( enc==SQLITE_UTF8 ){ + incr = 1; + }else{ + int i; + incr = 2; + assert( SQLITE_UTF16LE==2 && SQLITE_UTF16BE==3 ); + testcase( enc==SQLITE_UTF16LE ); + testcase( enc==SQLITE_UTF16BE ); + for(i=3-enc; i=zEnd ) return 0; + + /* get sign of significand */ + if( *z=='-' ){ + sign = -1; + z+=incr; + }else if( *z=='+' ){ + z+=incr; + } + + /* copy max significant digits to significand */ + while( z=((LARGEST_INT64-9)/10) ){ + /* skip non-significant significand digits + ** (increase exponent by d to shift decimal left) */ + while( z=zEnd ) goto do_atof_calc; + + /* if decimal point is present */ + if( *z=='.' ){ + z+=incr; + eType++; + /* copy digits from after decimal to significand + ** (decrease exponent by d to shift decimal right) */ + while( z=zEnd ) goto do_atof_calc; + + /* if exponent is present */ + if( *z=='e' || *z=='E' ){ + z+=incr; + eValid = 0; + eType++; + + /* This branch is needed to avoid a (harmless) buffer overread. The + ** special comment alerts the mutation tester that the correct answer + ** is obtained even if the branch is omitted */ + if( z>=zEnd ) goto do_atof_calc; /*PREVENTS-HARMLESS-OVERREAD*/ + + /* get sign of exponent */ + if( *z=='-' ){ + esign = -1; + z+=incr; + }else if( *z=='+' ){ + z+=incr; + } + /* copy digits to exponent */ + while( z0 ){ /*OPTIMIZATION-IF-TRUE*/ + if( esign>0 ){ + if( s>=(LARGEST_INT64/10) ) break; /*OPTIMIZATION-IF-FALSE*/ + s *= 10; + }else{ + if( s%10!=0 ) break; /*OPTIMIZATION-IF-FALSE*/ + s /= 10; + } + e--; + } + + /* adjust the sign of significand */ + s = sign<0 ? -s : s; + + if( e==0 ){ /*OPTIMIZATION-IF-TRUE*/ + result = (double)s; + }else{ + /* attempt to handle extremely small/large numbers better */ + if( e>307 ){ /*OPTIMIZATION-IF-TRUE*/ + if( e<342 ){ /*OPTIMIZATION-IF-TRUE*/ + LONGDOUBLE_TYPE scale = sqlite3Pow10(e-308); + if( esign<0 ){ + result = s / scale; + result /= 1.0e+308; + }else{ + result = s * scale; + result *= 1.0e+308; + } + }else{ assert( e>=342 ); + if( esign<0 ){ + result = 0.0*s; + }else{ +#ifdef INFINITY + result = INFINITY*s; +#else + result = 1e308*1e308*s; /* Infinity */ +#endif + } + } + }else{ + LONGDOUBLE_TYPE scale = sqlite3Pow10(e); + if( esign<0 ){ + result = s / scale; + }else{ + result = s * scale; + } + } + } + } + + /* store the result */ + *pResult = result; + + /* return true if number and no extra non-whitespace chracters after */ + if( z==zEnd && nDigit>0 && eValid && eType>0 ){ + return eType; + }else if( eType>=2 && (eType==3 || eValid) && nDigit>0 ){ + return -1; + }else{ + return 0; + } +#else + return !sqlite3Atoi64(z, pResult, length, enc); +#endif /* SQLITE_OMIT_FLOATING_POINT */ +} + +/* +** Compare the 19-character string zNum against the text representation +** value 2^63: 9223372036854775808. Return negative, zero, or positive +** if zNum is less than, equal to, or greater than the string. +** Note that zNum must contain exactly 19 characters. +** +** Unlike memcmp() this routine is guaranteed to return the difference +** in the values of the last digit if the only difference is in the +** last digit. So, for example, +** +** compare2pow63("9223372036854775800", 1) +** +** will return -8. +*/ +static int compare2pow63(const char *zNum, int incr){ + int c = 0; + int i; + /* 012345678901234567 */ + const char *pow63 = "922337203685477580"; + for(i=0; c==0 && i<18; i++){ + c = (zNum[i*incr]-pow63[i])*10; + } + if( c==0 ){ + c = zNum[18*incr] - '8'; + testcase( c==(-1) ); + testcase( c==0 ); + testcase( c==(+1) ); + } + return c; +} + +/* +** Convert zNum to a 64-bit signed integer. zNum must be decimal. This +** routine does *not* accept hexadecimal notation. +** +** Returns: +** +** -1 Not even a prefix of the input text looks like an integer +** 0 Successful transformation. Fits in a 64-bit signed integer. +** 1 Excess non-space text after the integer value +** 2 Integer too large for a 64-bit signed integer or is malformed +** 3 Special case of 9223372036854775808 +** +** length is the number of bytes in the string (bytes, not characters). +** The string is not necessarily zero-terminated. The encoding is +** given by enc. +*/ +SQLITE_PRIVATE int sqlite3Atoi64(const char *zNum, i64 *pNum, int length, u8 enc){ + int incr; + u64 u = 0; + int neg = 0; /* assume positive */ + int i; + int c = 0; + int nonNum = 0; /* True if input contains UTF16 with high byte non-zero */ + int rc; /* Baseline return code */ + const char *zStart; + const char *zEnd = zNum + length; + assert( enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE || enc==SQLITE_UTF16BE ); + if( enc==SQLITE_UTF8 ){ + incr = 1; + }else{ + incr = 2; + assert( SQLITE_UTF16LE==2 && SQLITE_UTF16BE==3 ); + for(i=3-enc; i='0' && c<='9'; i+=incr){ + u = u*10 + c - '0'; + } + testcase( i==18*incr ); + testcase( i==19*incr ); + testcase( i==20*incr ); + if( u>LARGEST_INT64 ){ + /* This test and assignment is needed only to suppress UB warnings + ** from clang and -fsanitize=undefined. This test and assignment make + ** the code a little larger and slower, and no harm comes from omitting + ** them, but we must appaise the undefined-behavior pharisees. */ + *pNum = neg ? SMALLEST_INT64 : LARGEST_INT64; + }else if( neg ){ + *pNum = -(i64)u; + }else{ + *pNum = (i64)u; + } + rc = 0; + if( i==0 && zStart==zNum ){ /* No digits */ + rc = -1; + }else if( nonNum ){ /* UTF16 with high-order bytes non-zero */ + rc = 1; + }else if( &zNum[i]19*incr ? 1 : compare2pow63(zNum, incr); + if( c<0 ){ + /* zNum is less than 9223372036854775808 so it fits */ + assert( u<=LARGEST_INT64 ); + return rc; + }else{ + *pNum = neg ? SMALLEST_INT64 : LARGEST_INT64; + if( c>0 ){ + /* zNum is greater than 9223372036854775808 so it overflows */ + return 2; + }else{ + /* zNum is exactly 9223372036854775808. Fits if negative. The + ** special case 2 overflow if positive */ + assert( u-1==LARGEST_INT64 ); + return neg ? rc : 3; + } + } + } +} + +/* +** Transform a UTF-8 integer literal, in either decimal or hexadecimal, +** into a 64-bit signed integer. This routine accepts hexadecimal literals, +** whereas sqlite3Atoi64() does not. +** +** Returns: +** +** 0 Successful transformation. Fits in a 64-bit signed integer. +** 1 Excess text after the integer value +** 2 Integer too large for a 64-bit signed integer or is malformed +** 3 Special case of 9223372036854775808 +*/ +SQLITE_PRIVATE int sqlite3DecOrHexToI64(const char *z, i64 *pOut){ +#ifndef SQLITE_OMIT_HEX_INTEGER + if( z[0]=='0' + && (z[1]=='x' || z[1]=='X') + ){ + u64 u = 0; + int i, k; + for(i=2; z[i]=='0'; i++){} + for(k=i; sqlite3Isxdigit(z[k]); k++){ + u = u*16 + sqlite3HexToInt(z[k]); + } + memcpy(pOut, &u, 8); + return (z[k]==0 && k-i<=16) ? 0 : 2; + }else +#endif /* SQLITE_OMIT_HEX_INTEGER */ + { + return sqlite3Atoi64(z, pOut, sqlite3Strlen30(z), SQLITE_UTF8); + } +} + +/* +** If zNum represents an integer that will fit in 32-bits, then set +** *pValue to that integer and return true. Otherwise return false. +** +** This routine accepts both decimal and hexadecimal notation for integers. +** +** Any non-numeric characters that following zNum are ignored. +** This is different from sqlite3Atoi64() which requires the +** input number to be zero-terminated. +*/ +SQLITE_PRIVATE int sqlite3GetInt32(const char *zNum, int *pValue){ + sqlite_int64 v = 0; + int i, c; + int neg = 0; + if( zNum[0]=='-' ){ + neg = 1; + zNum++; + }else if( zNum[0]=='+' ){ + zNum++; + } +#ifndef SQLITE_OMIT_HEX_INTEGER + else if( zNum[0]=='0' + && (zNum[1]=='x' || zNum[1]=='X') + && sqlite3Isxdigit(zNum[2]) + ){ + u32 u = 0; + zNum += 2; + while( zNum[0]=='0' ) zNum++; + for(i=0; sqlite3Isxdigit(zNum[i]) && i<8; i++){ + u = u*16 + sqlite3HexToInt(zNum[i]); + } + if( (u&0x80000000)==0 && sqlite3Isxdigit(zNum[i])==0 ){ + memcpy(pValue, &u, 4); + return 1; + }else{ + return 0; + } + } +#endif + if( !sqlite3Isdigit(zNum[0]) ) return 0; + while( zNum[0]=='0' ) zNum++; + for(i=0; i<11 && (c = zNum[i] - '0')>=0 && c<=9; i++){ + v = v*10 + c; + } + + /* The longest decimal representation of a 32 bit integer is 10 digits: + ** + ** 1234567890 + ** 2^31 -> 2147483648 + */ + testcase( i==10 ); + if( i>10 ){ + return 0; + } + testcase( v-neg==2147483647 ); + if( v-neg>2147483647 ){ + return 0; + } + if( neg ){ + v = -v; + } + *pValue = (int)v; + return 1; +} + +/* +** Return a 32-bit integer value extracted from a string. If the +** string is not an integer, just return 0. +*/ +SQLITE_PRIVATE int sqlite3Atoi(const char *z){ + int x = 0; + if( z ) sqlite3GetInt32(z, &x); + return x; +} + +/* +** The variable-length integer encoding is as follows: +** +** KEY: +** A = 0xxxxxxx 7 bits of data and one flag bit +** B = 1xxxxxxx 7 bits of data and one flag bit +** C = xxxxxxxx 8 bits of data +** +** 7 bits - A +** 14 bits - BA +** 21 bits - BBA +** 28 bits - BBBA +** 35 bits - BBBBA +** 42 bits - BBBBBA +** 49 bits - BBBBBBA +** 56 bits - BBBBBBBA +** 64 bits - BBBBBBBBC +*/ + +/* +** Write a 64-bit variable-length integer to memory starting at p[0]. +** The length of data write will be between 1 and 9 bytes. The number +** of bytes written is returned. +** +** A variable-length integer consists of the lower 7 bits of each byte +** for all bytes that have the 8th bit set and one byte with the 8th +** bit clear. Except, if we get to the 9th byte, it stores the full +** 8 bits and is the last byte. +*/ +static int SQLITE_NOINLINE putVarint64(unsigned char *p, u64 v){ + int i, j, n; + u8 buf[10]; + if( v & (((u64)0xff000000)<<32) ){ + p[8] = (u8)v; + v >>= 8; + for(i=7; i>=0; i--){ + p[i] = (u8)((v & 0x7f) | 0x80); + v >>= 7; + } + return 9; + } + n = 0; + do{ + buf[n++] = (u8)((v & 0x7f) | 0x80); + v >>= 7; + }while( v!=0 ); + buf[0] &= 0x7f; + assert( n<=9 ); + for(i=0, j=n-1; j>=0; j--, i++){ + p[i] = buf[j]; + } + return n; +} +SQLITE_PRIVATE int sqlite3PutVarint(unsigned char *p, u64 v){ + if( v<=0x7f ){ + p[0] = v&0x7f; + return 1; + } + if( v<=0x3fff ){ + p[0] = ((v>>7)&0x7f)|0x80; + p[1] = v&0x7f; + return 2; + } + return putVarint64(p,v); +} + +/* +** Bitmasks used by sqlite3GetVarint(). These precomputed constants +** are defined here rather than simply putting the constant expressions +** inline in order to work around bugs in the RVT compiler. +** +** SLOT_2_0 A mask for (0x7f<<14) | 0x7f +** +** SLOT_4_2_0 A mask for (0x7f<<28) | SLOT_2_0 +*/ +#define SLOT_2_0 0x001fc07f +#define SLOT_4_2_0 0xf01fc07f + + +/* +** Read a 64-bit variable-length integer from memory starting at p[0]. +** Return the number of bytes read. The value is stored in *v. +*/ +SQLITE_PRIVATE u8 sqlite3GetVarint(const unsigned char *p, u64 *v){ + u32 a,b,s; + + if( ((signed char*)p)[0]>=0 ){ + *v = *p; + return 1; + } + if( ((signed char*)p)[1]>=0 ){ + *v = ((u32)(p[0]&0x7f)<<7) | p[1]; + return 2; + } + + /* Verify that constants are precomputed correctly */ + assert( SLOT_2_0 == ((0x7f<<14) | (0x7f)) ); + assert( SLOT_4_2_0 == ((0xfU<<28) | (0x7f<<14) | (0x7f)) ); + + a = ((u32)p[0])<<14; + b = p[1]; + p += 2; + a |= *p; + /* a: p0<<14 | p2 (unmasked) */ + if (!(a&0x80)) + { + a &= SLOT_2_0; + b &= 0x7f; + b = b<<7; + a |= b; + *v = a; + return 3; + } + + /* CSE1 from below */ + a &= SLOT_2_0; + p++; + b = b<<14; + b |= *p; + /* b: p1<<14 | p3 (unmasked) */ + if (!(b&0x80)) + { + b &= SLOT_2_0; + /* moved CSE1 up */ + /* a &= (0x7f<<14)|(0x7f); */ + a = a<<7; + a |= b; + *v = a; + return 4; + } + + /* a: p0<<14 | p2 (masked) */ + /* b: p1<<14 | p3 (unmasked) */ + /* 1:save off p0<<21 | p1<<14 | p2<<7 | p3 (masked) */ + /* moved CSE1 up */ + /* a &= (0x7f<<14)|(0x7f); */ + b &= SLOT_2_0; + s = a; + /* s: p0<<14 | p2 (masked) */ + + p++; + a = a<<14; + a |= *p; + /* a: p0<<28 | p2<<14 | p4 (unmasked) */ + if (!(a&0x80)) + { + /* we can skip these cause they were (effectively) done above + ** while calculating s */ + /* a &= (0x7f<<28)|(0x7f<<14)|(0x7f); */ + /* b &= (0x7f<<14)|(0x7f); */ + b = b<<7; + a |= b; + s = s>>18; + *v = ((u64)s)<<32 | a; + return 5; + } + + /* 2:save off p0<<21 | p1<<14 | p2<<7 | p3 (masked) */ + s = s<<7; + s |= b; + /* s: p0<<21 | p1<<14 | p2<<7 | p3 (masked) */ + + p++; + b = b<<14; + b |= *p; + /* b: p1<<28 | p3<<14 | p5 (unmasked) */ + if (!(b&0x80)) + { + /* we can skip this cause it was (effectively) done above in calc'ing s */ + /* b &= (0x7f<<28)|(0x7f<<14)|(0x7f); */ + a &= SLOT_2_0; + a = a<<7; + a |= b; + s = s>>18; + *v = ((u64)s)<<32 | a; + return 6; + } + + p++; + a = a<<14; + a |= *p; + /* a: p2<<28 | p4<<14 | p6 (unmasked) */ + if (!(a&0x80)) + { + a &= SLOT_4_2_0; + b &= SLOT_2_0; + b = b<<7; + a |= b; + s = s>>11; + *v = ((u64)s)<<32 | a; + return 7; + } + + /* CSE2 from below */ + a &= SLOT_2_0; + p++; + b = b<<14; + b |= *p; + /* b: p3<<28 | p5<<14 | p7 (unmasked) */ + if (!(b&0x80)) + { + b &= SLOT_4_2_0; + /* moved CSE2 up */ + /* a &= (0x7f<<14)|(0x7f); */ + a = a<<7; + a |= b; + s = s>>4; + *v = ((u64)s)<<32 | a; + return 8; + } + + p++; + a = a<<15; + a |= *p; + /* a: p4<<29 | p6<<15 | p8 (unmasked) */ + + /* moved CSE2 up */ + /* a &= (0x7f<<29)|(0x7f<<15)|(0xff); */ + b &= SLOT_2_0; + b = b<<8; + a |= b; + + s = s<<4; + b = p[-4]; + b &= 0x7f; + b = b>>3; + s |= b; + + *v = ((u64)s)<<32 | a; + + return 9; +} + +/* +** Read a 32-bit variable-length integer from memory starting at p[0]. +** Return the number of bytes read. The value is stored in *v. +** +** If the varint stored in p[0] is larger than can fit in a 32-bit unsigned +** integer, then set *v to 0xffffffff. +** +** A MACRO version, getVarint32, is provided which inlines the +** single-byte case. All code should use the MACRO version as +** this function assumes the single-byte case has already been handled. +*/ +SQLITE_PRIVATE u8 sqlite3GetVarint32(const unsigned char *p, u32 *v){ + u32 a,b; + + /* The 1-byte case. Overwhelmingly the most common. Handled inline + ** by the getVarin32() macro */ + a = *p; + /* a: p0 (unmasked) */ +#ifndef getVarint32 + if (!(a&0x80)) + { + /* Values between 0 and 127 */ + *v = a; + return 1; + } +#endif + + /* The 2-byte case */ + p++; + b = *p; + /* b: p1 (unmasked) */ + if (!(b&0x80)) + { + /* Values between 128 and 16383 */ + a &= 0x7f; + a = a<<7; + *v = a | b; + return 2; + } + + /* The 3-byte case */ + p++; + a = a<<14; + a |= *p; + /* a: p0<<14 | p2 (unmasked) */ + if (!(a&0x80)) + { + /* Values between 16384 and 2097151 */ + a &= (0x7f<<14)|(0x7f); + b &= 0x7f; + b = b<<7; + *v = a | b; + return 3; + } + + /* A 32-bit varint is used to store size information in btrees. + ** Objects are rarely larger than 2MiB limit of a 3-byte varint. + ** A 3-byte varint is sufficient, for example, to record the size + ** of a 1048569-byte BLOB or string. + ** + ** We only unroll the first 1-, 2-, and 3- byte cases. The very + ** rare larger cases can be handled by the slower 64-bit varint + ** routine. + */ +#if 1 + { + u64 v64; + u8 n; + + p -= 2; + n = sqlite3GetVarint(p, &v64); + assert( n>3 && n<=9 ); + if( (v64 & SQLITE_MAX_U32)!=v64 ){ + *v = 0xffffffff; + }else{ + *v = (u32)v64; + } + return n; + } + +#else + /* For following code (kept for historical record only) shows an + ** unrolling for the 3- and 4-byte varint cases. This code is + ** slightly faster, but it is also larger and much harder to test. + */ + p++; + b = b<<14; + b |= *p; + /* b: p1<<14 | p3 (unmasked) */ + if (!(b&0x80)) + { + /* Values between 2097152 and 268435455 */ + b &= (0x7f<<14)|(0x7f); + a &= (0x7f<<14)|(0x7f); + a = a<<7; + *v = a | b; + return 4; + } + + p++; + a = a<<14; + a |= *p; + /* a: p0<<28 | p2<<14 | p4 (unmasked) */ + if (!(a&0x80)) + { + /* Values between 268435456 and 34359738367 */ + a &= SLOT_4_2_0; + b &= SLOT_4_2_0; + b = b<<7; + *v = a | b; + return 5; + } + + /* We can only reach this point when reading a corrupt database + ** file. In that case we are not in any hurry. Use the (relatively + ** slow) general-purpose sqlite3GetVarint() routine to extract the + ** value. */ + { + u64 v64; + u8 n; + + p -= 4; + n = sqlite3GetVarint(p, &v64); + assert( n>5 && n<=9 ); + *v = (u32)v64; + return n; + } +#endif +} + +/* +** Return the number of bytes that will be needed to store the given +** 64-bit integer. +*/ +SQLITE_PRIVATE int sqlite3VarintLen(u64 v){ + int i; + for(i=1; (v >>= 7)!=0; i++){ assert( i<10 ); } + return i; +} + + +/* +** Read or write a four-byte big-endian integer value. +*/ +SQLITE_PRIVATE u32 sqlite3Get4byte(const u8 *p){ +#if SQLITE_BYTEORDER==4321 + u32 x; + memcpy(&x,p,4); + return x; +#elif SQLITE_BYTEORDER==1234 && GCC_VERSION>=4003000 + u32 x; + memcpy(&x,p,4); + return __builtin_bswap32(x); +#elif SQLITE_BYTEORDER==1234 && MSVC_VERSION>=1300 + u32 x; + memcpy(&x,p,4); + return _byteswap_ulong(x); +#else + testcase( p[0]&0x80 ); + return ((unsigned)p[0]<<24) | (p[1]<<16) | (p[2]<<8) | p[3]; +#endif +} +SQLITE_PRIVATE void sqlite3Put4byte(unsigned char *p, u32 v){ +#if SQLITE_BYTEORDER==4321 + memcpy(p,&v,4); +#elif SQLITE_BYTEORDER==1234 && GCC_VERSION>=4003000 + u32 x = __builtin_bswap32(v); + memcpy(p,&x,4); +#elif SQLITE_BYTEORDER==1234 && MSVC_VERSION>=1300 + u32 x = _byteswap_ulong(v); + memcpy(p,&x,4); +#else + p[0] = (u8)(v>>24); + p[1] = (u8)(v>>16); + p[2] = (u8)(v>>8); + p[3] = (u8)v; +#endif +} + + + +/* +** Translate a single byte of Hex into an integer. +** This routine only works if h really is a valid hexadecimal +** character: 0..9a..fA..F +*/ +SQLITE_PRIVATE u8 sqlite3HexToInt(int h){ + assert( (h>='0' && h<='9') || (h>='a' && h<='f') || (h>='A' && h<='F') ); +#ifdef SQLITE_ASCII + h += 9*(1&(h>>6)); +#endif +#ifdef SQLITE_EBCDIC + h += 9*(1&~(h>>4)); +#endif + return (u8)(h & 0xf); +} + +#if !defined(SQLITE_OMIT_BLOB_LITERAL) || defined(SQLITE_HAS_CODEC) +/* +** Convert a BLOB literal of the form "x'hhhhhh'" into its binary +** value. Return a pointer to its binary value. Space to hold the +** binary value has been obtained from malloc and must be freed by +** the calling routine. +*/ +SQLITE_PRIVATE void *sqlite3HexToBlob(sqlite3 *db, const char *z, int n){ + char *zBlob; + int i; + + zBlob = (char *)sqlite3DbMallocRawNN(db, n/2 + 1); + n--; + if( zBlob ){ + for(i=0; imagic; + if( magic!=SQLITE_MAGIC_OPEN ){ + if( sqlite3SafetyCheckSickOrOk(db) ){ + testcase( sqlite3GlobalConfig.xLog!=0 ); + logBadConnection("unopened"); + } + return 0; + }else{ + return 1; + } +} +SQLITE_PRIVATE int sqlite3SafetyCheckSickOrOk(sqlite3 *db){ + u32 magic; + magic = db->magic; + if( magic!=SQLITE_MAGIC_SICK && + magic!=SQLITE_MAGIC_OPEN && + magic!=SQLITE_MAGIC_BUSY ){ + testcase( sqlite3GlobalConfig.xLog!=0 ); + logBadConnection("invalid"); + return 0; + }else{ + return 1; + } +} + +/* +** Attempt to add, substract, or multiply the 64-bit signed value iB against +** the other 64-bit signed integer at *pA and store the result in *pA. +** Return 0 on success. Or if the operation would have resulted in an +** overflow, leave *pA unchanged and return 1. +*/ +SQLITE_PRIVATE int sqlite3AddInt64(i64 *pA, i64 iB){ +#if GCC_VERSION>=5004000 && !defined(__INTEL_COMPILER) + return __builtin_add_overflow(*pA, iB, pA); +#else + i64 iA = *pA; + testcase( iA==0 ); testcase( iA==1 ); + testcase( iB==-1 ); testcase( iB==0 ); + if( iB>=0 ){ + testcase( iA>0 && LARGEST_INT64 - iA == iB ); + testcase( iA>0 && LARGEST_INT64 - iA == iB - 1 ); + if( iA>0 && LARGEST_INT64 - iA < iB ) return 1; + }else{ + testcase( iA<0 && -(iA + LARGEST_INT64) == iB + 1 ); + testcase( iA<0 && -(iA + LARGEST_INT64) == iB + 2 ); + if( iA<0 && -(iA + LARGEST_INT64) > iB + 1 ) return 1; + } + *pA += iB; + return 0; +#endif +} +SQLITE_PRIVATE int sqlite3SubInt64(i64 *pA, i64 iB){ +#if GCC_VERSION>=5004000 && !defined(__INTEL_COMPILER) + return __builtin_sub_overflow(*pA, iB, pA); +#else + testcase( iB==SMALLEST_INT64+1 ); + if( iB==SMALLEST_INT64 ){ + testcase( (*pA)==(-1) ); testcase( (*pA)==0 ); + if( (*pA)>=0 ) return 1; + *pA -= iB; + return 0; + }else{ + return sqlite3AddInt64(pA, -iB); + } +#endif +} +SQLITE_PRIVATE int sqlite3MulInt64(i64 *pA, i64 iB){ +#if GCC_VERSION>=5004000 && !defined(__INTEL_COMPILER) + return __builtin_mul_overflow(*pA, iB, pA); +#else + i64 iA = *pA; + if( iB>0 ){ + if( iA>LARGEST_INT64/iB ) return 1; + if( iA0 ){ + if( iBLARGEST_INT64/-iB ) return 1; + } + } + *pA = iA*iB; + return 0; +#endif +} + +/* +** Compute the absolute value of a 32-bit signed integer, of possible. Or +** if the integer has a value of -2147483648, return +2147483647 +*/ +SQLITE_PRIVATE int sqlite3AbsInt32(int x){ + if( x>=0 ) return x; + if( x==(int)0x80000000 ) return 0x7fffffff; + return -x; +} + +#ifdef SQLITE_ENABLE_8_3_NAMES +/* +** If SQLITE_ENABLE_8_3_NAMES is set at compile-time and if the database +** filename in zBaseFilename is a URI with the "8_3_names=1" parameter and +** if filename in z[] has a suffix (a.k.a. "extension") that is longer than +** three characters, then shorten the suffix on z[] to be the last three +** characters of the original suffix. +** +** If SQLITE_ENABLE_8_3_NAMES is set to 2 at compile-time, then always +** do the suffix shortening regardless of URI parameter. +** +** Examples: +** +** test.db-journal => test.nal +** test.db-wal => test.wal +** test.db-shm => test.shm +** test.db-mj7f3319fa => test.9fa +*/ +SQLITE_PRIVATE void sqlite3FileSuffix3(const char *zBaseFilename, char *z){ +#if SQLITE_ENABLE_8_3_NAMES<2 + if( sqlite3_uri_boolean(zBaseFilename, "8_3_names", 0) ) +#endif + { + int i, sz; + sz = sqlite3Strlen30(z); + for(i=sz-1; i>0 && z[i]!='/' && z[i]!='.'; i--){} + if( z[i]=='.' && ALWAYS(sz>i+4) ) memmove(&z[i+1], &z[sz-3], 4); + } +} +#endif + +/* +** Find (an approximate) sum of two LogEst values. This computation is +** not a simple "+" operator because LogEst is stored as a logarithmic +** value. +** +*/ +SQLITE_PRIVATE LogEst sqlite3LogEstAdd(LogEst a, LogEst b){ + static const unsigned char x[] = { + 10, 10, /* 0,1 */ + 9, 9, /* 2,3 */ + 8, 8, /* 4,5 */ + 7, 7, 7, /* 6,7,8 */ + 6, 6, 6, /* 9,10,11 */ + 5, 5, 5, /* 12-14 */ + 4, 4, 4, 4, /* 15-18 */ + 3, 3, 3, 3, 3, 3, /* 19-24 */ + 2, 2, 2, 2, 2, 2, 2, /* 25-31 */ + }; + if( a>=b ){ + if( a>b+49 ) return a; + if( a>b+31 ) return a+1; + return a+x[a-b]; + }else{ + if( b>a+49 ) return b; + if( b>a+31 ) return b+1; + return b+x[b-a]; + } +} + +/* +** Convert an integer into a LogEst. In other words, compute an +** approximation for 10*log2(x). +*/ +SQLITE_PRIVATE LogEst sqlite3LogEst(u64 x){ + static LogEst a[] = { 0, 2, 3, 5, 6, 7, 8, 9 }; + LogEst y = 40; + if( x<8 ){ + if( x<2 ) return 0; + while( x<8 ){ y -= 10; x <<= 1; } + }else{ +#if GCC_VERSION>=5004000 + int i = 60 - __builtin_clzll(x); + y += i*10; + x >>= i; +#else + while( x>255 ){ y += 40; x >>= 4; } /*OPTIMIZATION-IF-TRUE*/ + while( x>15 ){ y += 10; x >>= 1; } +#endif + } + return a[x&7] + y - 10; +} + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* +** Convert a double into a LogEst +** In other words, compute an approximation for 10*log2(x). +*/ +SQLITE_PRIVATE LogEst sqlite3LogEstFromDouble(double x){ + u64 a; + LogEst e; + assert( sizeof(x)==8 && sizeof(a)==8 ); + if( x<=1 ) return 0; + if( x<=2000000000 ) return sqlite3LogEst((u64)x); + memcpy(&a, &x, 8); + e = (a>>52) - 1022; + return e*10; +} +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +#if defined(SQLITE_ENABLE_STMT_SCANSTATUS) || \ + defined(SQLITE_ENABLE_STAT4) || \ + defined(SQLITE_EXPLAIN_ESTIMATED_ROWS) +/* +** Convert a LogEst into an integer. +** +** Note that this routine is only used when one or more of various +** non-standard compile-time options is enabled. +*/ +SQLITE_PRIVATE u64 sqlite3LogEstToInt(LogEst x){ + u64 n; + n = x%10; + x /= 10; + if( n>=5 ) n -= 2; + else if( n>=1 ) n -= 1; +#if defined(SQLITE_ENABLE_STMT_SCANSTATUS) || \ + defined(SQLITE_EXPLAIN_ESTIMATED_ROWS) + if( x>60 ) return (u64)LARGEST_INT64; +#else + /* If only SQLITE_ENABLE_STAT4 is on, then the largest input + ** possible to this routine is 310, resulting in a maximum x of 31 */ + assert( x<=60 ); +#endif + return x>=3 ? (n+8)<<(x-3) : (n+8)>>(3-x); +} +#endif /* defined SCANSTAT or STAT4 or ESTIMATED_ROWS */ + +/* +** Add a new name/number pair to a VList. This might require that the +** VList object be reallocated, so return the new VList. If an OOM +** error occurs, the original VList returned and the +** db->mallocFailed flag is set. +** +** A VList is really just an array of integers. To destroy a VList, +** simply pass it to sqlite3DbFree(). +** +** The first integer is the number of integers allocated for the whole +** VList. The second integer is the number of integers actually used. +** Each name/number pair is encoded by subsequent groups of 3 or more +** integers. +** +** Each name/number pair starts with two integers which are the numeric +** value for the pair and the size of the name/number pair, respectively. +** The text name overlays one or more following integers. The text name +** is always zero-terminated. +** +** Conceptually: +** +** struct VList { +** int nAlloc; // Number of allocated slots +** int nUsed; // Number of used slots +** struct VListEntry { +** int iValue; // Value for this entry +** int nSlot; // Slots used by this entry +** // ... variable name goes here +** } a[0]; +** } +** +** During code generation, pointers to the variable names within the +** VList are taken. When that happens, nAlloc is set to zero as an +** indication that the VList may never again be enlarged, since the +** accompanying realloc() would invalidate the pointers. +*/ +SQLITE_PRIVATE VList *sqlite3VListAdd( + sqlite3 *db, /* The database connection used for malloc() */ + VList *pIn, /* The input VList. Might be NULL */ + const char *zName, /* Name of symbol to add */ + int nName, /* Bytes of text in zName */ + int iVal /* Value to associate with zName */ +){ + int nInt; /* number of sizeof(int) objects needed for zName */ + char *z; /* Pointer to where zName will be stored */ + int i; /* Index in pIn[] where zName is stored */ + + nInt = nName/4 + 3; + assert( pIn==0 || pIn[0]>=3 ); /* Verify ok to add new elements */ + if( pIn==0 || pIn[1]+nInt > pIn[0] ){ + /* Enlarge the allocation */ + sqlite3_int64 nAlloc = (pIn ? 2*(sqlite3_int64)pIn[0] : 10) + nInt; + VList *pOut = sqlite3DbRealloc(db, pIn, nAlloc*sizeof(int)); + if( pOut==0 ) return pIn; + if( pIn==0 ) pOut[1] = 2; + pIn = pOut; + pIn[0] = nAlloc; + } + i = pIn[1]; + pIn[i] = iVal; + pIn[i+1] = nInt; + z = (char*)&pIn[i+2]; + pIn[1] = i+nInt; + assert( pIn[1]<=pIn[0] ); + memcpy(z, zName, nName); + z[nName] = 0; + return pIn; +} + +/* +** Return a pointer to the name of a variable in the given VList that +** has the value iVal. Or return a NULL if there is no such variable in +** the list +*/ +SQLITE_PRIVATE const char *sqlite3VListNumToName(VList *pIn, int iVal){ + int i, mx; + if( pIn==0 ) return 0; + mx = pIn[1]; + i = 2; + do{ + if( pIn[i]==iVal ) return (char*)&pIn[i+2]; + i += pIn[i+1]; + }while( i */ + +/* Turn bulk memory into a hash table object by initializing the +** fields of the Hash structure. +** +** "pNew" is a pointer to the hash table that is to be initialized. +*/ +SQLITE_PRIVATE void sqlite3HashInit(Hash *pNew){ + assert( pNew!=0 ); + pNew->first = 0; + pNew->count = 0; + pNew->htsize = 0; + pNew->ht = 0; +} + +/* Remove all entries from a hash table. Reclaim all memory. +** Call this routine to delete a hash table or to reset a hash table +** to the empty state. +*/ +SQLITE_PRIVATE void sqlite3HashClear(Hash *pH){ + HashElem *elem; /* For looping over all elements of the table */ + + assert( pH!=0 ); + elem = pH->first; + pH->first = 0; + sqlite3_free(pH->ht); + pH->ht = 0; + pH->htsize = 0; + while( elem ){ + HashElem *next_elem = elem->next; + sqlite3_free(elem); + elem = next_elem; + } + pH->count = 0; +} + +/* +** The hashing function. +*/ +static unsigned int strHash(const char *z){ + unsigned int h = 0; + unsigned char c; + while( (c = (unsigned char)*z++)!=0 ){ /*OPTIMIZATION-IF-TRUE*/ + /* Knuth multiplicative hashing. (Sorting & Searching, p. 510). + ** 0x9e3779b1 is 2654435761 which is the closest prime number to + ** (2**32)*golden_ratio, where golden_ratio = (sqrt(5) - 1)/2. */ + h += sqlite3UpperToLower[c]; + h *= 0x9e3779b1; + } + return h; +} + + +/* Link pNew element into the hash table pH. If pEntry!=0 then also +** insert pNew into the pEntry hash bucket. +*/ +static void insertElement( + Hash *pH, /* The complete hash table */ + struct _ht *pEntry, /* The entry into which pNew is inserted */ + HashElem *pNew /* The element to be inserted */ +){ + HashElem *pHead; /* First element already in pEntry */ + if( pEntry ){ + pHead = pEntry->count ? pEntry->chain : 0; + pEntry->count++; + pEntry->chain = pNew; + }else{ + pHead = 0; + } + if( pHead ){ + pNew->next = pHead; + pNew->prev = pHead->prev; + if( pHead->prev ){ pHead->prev->next = pNew; } + else { pH->first = pNew; } + pHead->prev = pNew; + }else{ + pNew->next = pH->first; + if( pH->first ){ pH->first->prev = pNew; } + pNew->prev = 0; + pH->first = pNew; + } +} + + +/* Resize the hash table so that it cantains "new_size" buckets. +** +** The hash table might fail to resize if sqlite3_malloc() fails or +** if the new size is the same as the prior size. +** Return TRUE if the resize occurs and false if not. +*/ +static int rehash(Hash *pH, unsigned int new_size){ + struct _ht *new_ht; /* The new hash table */ + HashElem *elem, *next_elem; /* For looping over existing elements */ + +#if SQLITE_MALLOC_SOFT_LIMIT>0 + if( new_size*sizeof(struct _ht)>SQLITE_MALLOC_SOFT_LIMIT ){ + new_size = SQLITE_MALLOC_SOFT_LIMIT/sizeof(struct _ht); + } + if( new_size==pH->htsize ) return 0; +#endif + + /* The inability to allocates space for a larger hash table is + ** a performance hit but it is not a fatal error. So mark the + ** allocation as a benign. Use sqlite3Malloc()/memset(0) instead of + ** sqlite3MallocZero() to make the allocation, as sqlite3MallocZero() + ** only zeroes the requested number of bytes whereas this module will + ** use the actual amount of space allocated for the hash table (which + ** may be larger than the requested amount). + */ + sqlite3BeginBenignMalloc(); + new_ht = (struct _ht *)sqlite3Malloc( new_size*sizeof(struct _ht) ); + sqlite3EndBenignMalloc(); + + if( new_ht==0 ) return 0; + sqlite3_free(pH->ht); + pH->ht = new_ht; + pH->htsize = new_size = sqlite3MallocSize(new_ht)/sizeof(struct _ht); + memset(new_ht, 0, new_size*sizeof(struct _ht)); + for(elem=pH->first, pH->first=0; elem; elem = next_elem){ + unsigned int h = strHash(elem->pKey) % new_size; + next_elem = elem->next; + insertElement(pH, &new_ht[h], elem); + } + return 1; +} + +/* This function (for internal use only) locates an element in an +** hash table that matches the given key. If no element is found, +** a pointer to a static null element with HashElem.data==0 is returned. +** If pH is not NULL, then the hash for this key is written to *pH. +*/ +static HashElem *findElementWithHash( + const Hash *pH, /* The pH to be searched */ + const char *pKey, /* The key we are searching for */ + unsigned int *pHash /* Write the hash value here */ +){ + HashElem *elem; /* Used to loop thru the element list */ + unsigned int count; /* Number of elements left to test */ + unsigned int h; /* The computed hash */ + static HashElem nullElement = { 0, 0, 0, 0 }; + + if( pH->ht ){ /*OPTIMIZATION-IF-TRUE*/ + struct _ht *pEntry; + h = strHash(pKey) % pH->htsize; + pEntry = &pH->ht[h]; + elem = pEntry->chain; + count = pEntry->count; + }else{ + h = 0; + elem = pH->first; + count = pH->count; + } + if( pHash ) *pHash = h; + while( count-- ){ + assert( elem!=0 ); + if( sqlite3StrICmp(elem->pKey,pKey)==0 ){ + return elem; + } + elem = elem->next; + } + return &nullElement; +} + +/* Remove a single entry from the hash table given a pointer to that +** element and a hash on the element's key. +*/ +static void removeElementGivenHash( + Hash *pH, /* The pH containing "elem" */ + HashElem* elem, /* The element to be removed from the pH */ + unsigned int h /* Hash value for the element */ +){ + struct _ht *pEntry; + if( elem->prev ){ + elem->prev->next = elem->next; + }else{ + pH->first = elem->next; + } + if( elem->next ){ + elem->next->prev = elem->prev; + } + if( pH->ht ){ + pEntry = &pH->ht[h]; + if( pEntry->chain==elem ){ + pEntry->chain = elem->next; + } + assert( pEntry->count>0 ); + pEntry->count--; + } + sqlite3_free( elem ); + pH->count--; + if( pH->count==0 ){ + assert( pH->first==0 ); + assert( pH->count==0 ); + sqlite3HashClear(pH); + } +} + +/* Attempt to locate an element of the hash table pH with a key +** that matches pKey. Return the data for this element if it is +** found, or NULL if there is no match. +*/ +SQLITE_PRIVATE void *sqlite3HashFind(const Hash *pH, const char *pKey){ + assert( pH!=0 ); + assert( pKey!=0 ); + return findElementWithHash(pH, pKey, 0)->data; +} + +/* Insert an element into the hash table pH. The key is pKey +** and the data is "data". +** +** If no element exists with a matching key, then a new +** element is created and NULL is returned. +** +** If another element already exists with the same key, then the +** new data replaces the old data and the old data is returned. +** The key is not copied in this instance. If a malloc fails, then +** the new data is returned and the hash table is unchanged. +** +** If the "data" parameter to this function is NULL, then the +** element corresponding to "key" is removed from the hash table. +*/ +SQLITE_PRIVATE void *sqlite3HashInsert(Hash *pH, const char *pKey, void *data){ + unsigned int h; /* the hash of the key modulo hash table size */ + HashElem *elem; /* Used to loop thru the element list */ + HashElem *new_elem; /* New element added to the pH */ + + assert( pH!=0 ); + assert( pKey!=0 ); + elem = findElementWithHash(pH,pKey,&h); + if( elem->data ){ + void *old_data = elem->data; + if( data==0 ){ + removeElementGivenHash(pH,elem,h); + }else{ + elem->data = data; + elem->pKey = pKey; + } + return old_data; + } + if( data==0 ) return 0; + new_elem = (HashElem*)sqlite3Malloc( sizeof(HashElem) ); + if( new_elem==0 ) return data; + new_elem->pKey = pKey; + new_elem->data = data; + pH->count++; + if( pH->count>=10 && pH->count > 2*pH->htsize ){ + if( rehash(pH, pH->count*2) ){ + assert( pH->htsize>0 ); + h = strHash(pKey) % pH->htsize; + } + } + insertElement(pH, pH->ht ? &pH->ht[h] : 0, new_elem); + return 0; +} + +/************** End of hash.c ************************************************/ +/************** Begin file opcodes.c *****************************************/ +/* Automatically generated. Do not edit */ +/* See the tool/mkopcodec.tcl script for details. */ +#if !defined(SQLITE_OMIT_EXPLAIN) \ + || defined(VDBE_PROFILE) \ + || defined(SQLITE_DEBUG) +#if defined(SQLITE_ENABLE_EXPLAIN_COMMENTS) || defined(SQLITE_DEBUG) +# define OpHelp(X) "\0" X +#else +# define OpHelp(X) +#endif +SQLITE_PRIVATE const char *sqlite3OpcodeName(int i){ + static const char *const azName[] = { + /* 0 */ "Savepoint" OpHelp(""), + /* 1 */ "AutoCommit" OpHelp(""), + /* 2 */ "Transaction" OpHelp(""), + /* 3 */ "SorterNext" OpHelp(""), + /* 4 */ "Prev" OpHelp(""), + /* 5 */ "Next" OpHelp(""), + /* 6 */ "Checkpoint" OpHelp(""), + /* 7 */ "JournalMode" OpHelp(""), + /* 8 */ "Vacuum" OpHelp(""), + /* 9 */ "VFilter" OpHelp("iplan=r[P3] zplan='P4'"), + /* 10 */ "VUpdate" OpHelp("data=r[P3@P2]"), + /* 11 */ "Goto" OpHelp(""), + /* 12 */ "Gosub" OpHelp(""), + /* 13 */ "InitCoroutine" OpHelp(""), + /* 14 */ "Yield" OpHelp(""), + /* 15 */ "MustBeInt" OpHelp(""), + /* 16 */ "Jump" OpHelp(""), + /* 17 */ "Once" OpHelp(""), + /* 18 */ "If" OpHelp(""), + /* 19 */ "Not" OpHelp("r[P2]= !r[P1]"), + /* 20 */ "IfNot" OpHelp(""), + /* 21 */ "IfNullRow" OpHelp("if P1.nullRow then r[P3]=NULL, goto P2"), + /* 22 */ "SeekLT" OpHelp("key=r[P3@P4]"), + /* 23 */ "SeekLE" OpHelp("key=r[P3@P4]"), + /* 24 */ "SeekGE" OpHelp("key=r[P3@P4]"), + /* 25 */ "SeekGT" OpHelp("key=r[P3@P4]"), + /* 26 */ "IfNoHope" OpHelp("key=r[P3@P4]"), + /* 27 */ "NoConflict" OpHelp("key=r[P3@P4]"), + /* 28 */ "NotFound" OpHelp("key=r[P3@P4]"), + /* 29 */ "Found" OpHelp("key=r[P3@P4]"), + /* 30 */ "SeekRowid" OpHelp("intkey=r[P3]"), + /* 31 */ "NotExists" OpHelp("intkey=r[P3]"), + /* 32 */ "Last" OpHelp(""), + /* 33 */ "IfSmaller" OpHelp(""), + /* 34 */ "SorterSort" OpHelp(""), + /* 35 */ "Sort" OpHelp(""), + /* 36 */ "Rewind" OpHelp(""), + /* 37 */ "IdxLE" OpHelp("key=r[P3@P4]"), + /* 38 */ "IdxGT" OpHelp("key=r[P3@P4]"), + /* 39 */ "IdxLT" OpHelp("key=r[P3@P4]"), + /* 40 */ "IdxGE" OpHelp("key=r[P3@P4]"), + /* 41 */ "RowSetRead" OpHelp("r[P3]=rowset(P1)"), + /* 42 */ "RowSetTest" OpHelp("if r[P3] in rowset(P1) goto P2"), + /* 43 */ "Or" OpHelp("r[P3]=(r[P1] || r[P2])"), + /* 44 */ "And" OpHelp("r[P3]=(r[P1] && r[P2])"), + /* 45 */ "Program" OpHelp(""), + /* 46 */ "FkIfZero" OpHelp("if fkctr[P1]==0 goto P2"), + /* 47 */ "IfPos" OpHelp("if r[P1]>0 then r[P1]-=P3, goto P2"), + /* 48 */ "IfNotZero" OpHelp("if r[P1]!=0 then r[P1]--, goto P2"), + /* 49 */ "DecrJumpZero" OpHelp("if (--r[P1])==0 goto P2"), + /* 50 */ "IsNull" OpHelp("if r[P1]==NULL goto P2"), + /* 51 */ "NotNull" OpHelp("if r[P1]!=NULL goto P2"), + /* 52 */ "Ne" OpHelp("IF r[P3]!=r[P1]"), + /* 53 */ "Eq" OpHelp("IF r[P3]==r[P1]"), + /* 54 */ "Gt" OpHelp("IF r[P3]>r[P1]"), + /* 55 */ "Le" OpHelp("IF r[P3]<=r[P1]"), + /* 56 */ "Lt" OpHelp("IF r[P3]=r[P1]"), + /* 58 */ "ElseNotEq" OpHelp(""), + /* 59 */ "IncrVacuum" OpHelp(""), + /* 60 */ "VNext" OpHelp(""), + /* 61 */ "Init" OpHelp("Start at P2"), + /* 62 */ "PureFunc0" OpHelp(""), + /* 63 */ "Function0" OpHelp("r[P3]=func(r[P2@P5])"), + /* 64 */ "PureFunc" OpHelp(""), + /* 65 */ "Function" OpHelp("r[P3]=func(r[P2@P5])"), + /* 66 */ "Return" OpHelp(""), + /* 67 */ "EndCoroutine" OpHelp(""), + /* 68 */ "HaltIfNull" OpHelp("if r[P3]=null halt"), + /* 69 */ "Halt" OpHelp(""), + /* 70 */ "Integer" OpHelp("r[P2]=P1"), + /* 71 */ "Int64" OpHelp("r[P2]=P4"), + /* 72 */ "String" OpHelp("r[P2]='P4' (len=P1)"), + /* 73 */ "Null" OpHelp("r[P2..P3]=NULL"), + /* 74 */ "SoftNull" OpHelp("r[P1]=NULL"), + /* 75 */ "Blob" OpHelp("r[P2]=P4 (len=P1)"), + /* 76 */ "Variable" OpHelp("r[P2]=parameter(P1,P4)"), + /* 77 */ "Move" OpHelp("r[P2@P3]=r[P1@P3]"), + /* 78 */ "Copy" OpHelp("r[P2@P3+1]=r[P1@P3+1]"), + /* 79 */ "SCopy" OpHelp("r[P2]=r[P1]"), + /* 80 */ "IntCopy" OpHelp("r[P2]=r[P1]"), + /* 81 */ "ResultRow" OpHelp("output=r[P1@P2]"), + /* 82 */ "CollSeq" OpHelp(""), + /* 83 */ "AddImm" OpHelp("r[P1]=r[P1]+P2"), + /* 84 */ "RealAffinity" OpHelp(""), + /* 85 */ "Cast" OpHelp("affinity(r[P1])"), + /* 86 */ "Permutation" OpHelp(""), + /* 87 */ "Compare" OpHelp("r[P1@P3] <-> r[P2@P3]"), + /* 88 */ "IsTrue" OpHelp("r[P2] = coalesce(r[P1]==TRUE,P3) ^ P4"), + /* 89 */ "Offset" OpHelp("r[P3] = sqlite_offset(P1)"), + /* 90 */ "Column" OpHelp("r[P3]=PX"), + /* 91 */ "Affinity" OpHelp("affinity(r[P1@P2])"), + /* 92 */ "MakeRecord" OpHelp("r[P3]=mkrec(r[P1@P2])"), + /* 93 */ "Count" OpHelp("r[P2]=count()"), + /* 94 */ "ReadCookie" OpHelp(""), + /* 95 */ "SetCookie" OpHelp(""), + /* 96 */ "ReopenIdx" OpHelp("root=P2 iDb=P3"), + /* 97 */ "OpenRead" OpHelp("root=P2 iDb=P3"), + /* 98 */ "OpenWrite" OpHelp("root=P2 iDb=P3"), + /* 99 */ "BitAnd" OpHelp("r[P3]=r[P1]&r[P2]"), + /* 100 */ "BitOr" OpHelp("r[P3]=r[P1]|r[P2]"), + /* 101 */ "ShiftLeft" OpHelp("r[P3]=r[P2]<>r[P1]"), + /* 103 */ "Add" OpHelp("r[P3]=r[P1]+r[P2]"), + /* 104 */ "Subtract" OpHelp("r[P3]=r[P2]-r[P1]"), + /* 105 */ "Multiply" OpHelp("r[P3]=r[P1]*r[P2]"), + /* 106 */ "Divide" OpHelp("r[P3]=r[P2]/r[P1]"), + /* 107 */ "Remainder" OpHelp("r[P3]=r[P2]%r[P1]"), + /* 108 */ "Concat" OpHelp("r[P3]=r[P2]+r[P1]"), + /* 109 */ "OpenDup" OpHelp(""), + /* 110 */ "BitNot" OpHelp("r[P2]= ~r[P1]"), + /* 111 */ "OpenAutoindex" OpHelp("nColumn=P2"), + /* 112 */ "OpenEphemeral" OpHelp("nColumn=P2"), + /* 113 */ "String8" OpHelp("r[P2]='P4'"), + /* 114 */ "SorterOpen" OpHelp(""), + /* 115 */ "SequenceTest" OpHelp("if( cursor[P1].ctr++ ) pc = P2"), + /* 116 */ "OpenPseudo" OpHelp("P3 columns in r[P2]"), + /* 117 */ "Close" OpHelp(""), + /* 118 */ "ColumnsUsed" OpHelp(""), + /* 119 */ "SeekHit" OpHelp("seekHit=P2"), + /* 120 */ "Sequence" OpHelp("r[P2]=cursor[P1].ctr++"), + /* 121 */ "NewRowid" OpHelp("r[P2]=rowid"), + /* 122 */ "Insert" OpHelp("intkey=r[P3] data=r[P2]"), + /* 123 */ "Delete" OpHelp(""), + /* 124 */ "ResetCount" OpHelp(""), + /* 125 */ "SorterCompare" OpHelp("if key(P1)!=trim(r[P3],P4) goto P2"), + /* 126 */ "SorterData" OpHelp("r[P2]=data"), + /* 127 */ "RowData" OpHelp("r[P2]=data"), + /* 128 */ "Rowid" OpHelp("r[P2]=rowid"), + /* 129 */ "NullRow" OpHelp(""), + /* 130 */ "SeekEnd" OpHelp(""), + /* 131 */ "SorterInsert" OpHelp("key=r[P2]"), + /* 132 */ "IdxInsert" OpHelp("key=r[P2]"), + /* 133 */ "IdxDelete" OpHelp("key=r[P2@P3]"), + /* 134 */ "DeferredSeek" OpHelp("Move P3 to P1.rowid if needed"), + /* 135 */ "IdxRowid" OpHelp("r[P2]=rowid"), + /* 136 */ "Destroy" OpHelp(""), + /* 137 */ "Clear" OpHelp(""), + /* 138 */ "ResetSorter" OpHelp(""), + /* 139 */ "CreateBtree" OpHelp("r[P2]=root iDb=P1 flags=P3"), + /* 140 */ "SqlExec" OpHelp(""), + /* 141 */ "ParseSchema" OpHelp(""), + /* 142 */ "LoadAnalysis" OpHelp(""), + /* 143 */ "DropTable" OpHelp(""), + /* 144 */ "DropIndex" OpHelp(""), + /* 145 */ "DropTrigger" OpHelp(""), + /* 146 */ "IntegrityCk" OpHelp(""), + /* 147 */ "RowSetAdd" OpHelp("rowset(P1)=r[P2]"), + /* 148 */ "Real" OpHelp("r[P2]=P4"), + /* 149 */ "Param" OpHelp(""), + /* 150 */ "FkCounter" OpHelp("fkctr[P1]+=P2"), + /* 151 */ "MemMax" OpHelp("r[P1]=max(r[P1],r[P2])"), + /* 152 */ "OffsetLimit" OpHelp("if r[P1]>0 then r[P2]=r[P1]+max(0,r[P3]) else r[P2]=(-1)"), + /* 153 */ "AggInverse" OpHelp("accum=r[P3] inverse(r[P2@P5])"), + /* 154 */ "AggStep" OpHelp("accum=r[P3] step(r[P2@P5])"), + /* 155 */ "AggStep1" OpHelp("accum=r[P3] step(r[P2@P5])"), + /* 156 */ "AggValue" OpHelp("r[P3]=value N=P2"), + /* 157 */ "AggFinal" OpHelp("accum=r[P1] N=P2"), + /* 158 */ "Expire" OpHelp(""), + /* 159 */ "TableLock" OpHelp("iDb=P1 root=P2 write=P3"), + /* 160 */ "VBegin" OpHelp(""), + /* 161 */ "VCreate" OpHelp(""), + /* 162 */ "VDestroy" OpHelp(""), + /* 163 */ "VOpen" OpHelp(""), + /* 164 */ "VColumn" OpHelp("r[P3]=vcolumn(P2)"), + /* 165 */ "VRename" OpHelp(""), + /* 166 */ "Pagecount" OpHelp(""), + /* 167 */ "MaxPgcnt" OpHelp(""), + /* 168 */ "Trace" OpHelp(""), + /* 169 */ "CursorHint" OpHelp(""), + /* 170 */ "Noop" OpHelp(""), + /* 171 */ "Explain" OpHelp(""), + /* 172 */ "Abortable" OpHelp(""), + }; + return azName[i]; +} +#endif + +/************** End of opcodes.c *********************************************/ +/************** Begin file os_unix.c *****************************************/ +/* +** 2004 May 22 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains the VFS implementation for unix-like operating systems +** include Linux, MacOSX, *BSD, QNX, VxWorks, AIX, HPUX, and others. +** +** There are actually several different VFS implementations in this file. +** The differences are in the way that file locking is done. The default +** implementation uses Posix Advisory Locks. Alternative implementations +** use flock(), dot-files, various proprietary locking schemas, or simply +** skip locking all together. +** +** This source file is organized into divisions where the logic for various +** subfunctions is contained within the appropriate division. PLEASE +** KEEP THE STRUCTURE OF THIS FILE INTACT. New code should be placed +** in the correct division and should be clearly labeled. +** +** The layout of divisions is as follows: +** +** * General-purpose declarations and utility functions. +** * Unique file ID logic used by VxWorks. +** * Various locking primitive implementations (all except proxy locking): +** + for Posix Advisory Locks +** + for no-op locks +** + for dot-file locks +** + for flock() locking +** + for named semaphore locks (VxWorks only) +** + for AFP filesystem locks (MacOSX only) +** * sqlite3_file methods not associated with locking. +** * Definitions of sqlite3_io_methods objects for all locking +** methods plus "finder" functions for each locking method. +** * sqlite3_vfs method implementations. +** * Locking primitives for the proxy uber-locking-method. (MacOSX only) +** * Definitions of sqlite3_vfs objects for all locking methods +** plus implementations of sqlite3_os_init() and sqlite3_os_end(). +*/ +/* #include "sqliteInt.h" */ +#if SQLITE_OS_UNIX /* This file is used on unix only */ + +/* +** There are various methods for file locking used for concurrency +** control: +** +** 1. POSIX locking (the default), +** 2. No locking, +** 3. Dot-file locking, +** 4. flock() locking, +** 5. AFP locking (OSX only), +** 6. Named POSIX semaphores (VXWorks only), +** 7. proxy locking. (OSX only) +** +** Styles 4, 5, and 7 are only available of SQLITE_ENABLE_LOCKING_STYLE +** is defined to 1. The SQLITE_ENABLE_LOCKING_STYLE also enables automatic +** selection of the appropriate locking style based on the filesystem +** where the database is located. +*/ +#if !defined(SQLITE_ENABLE_LOCKING_STYLE) +# if defined(__APPLE__) +# define SQLITE_ENABLE_LOCKING_STYLE 1 +# else +# define SQLITE_ENABLE_LOCKING_STYLE 0 +# endif +#endif + +/* Use pread() and pwrite() if they are available */ +#if defined(__APPLE__) +# define HAVE_PREAD 1 +# define HAVE_PWRITE 1 +#endif +#if defined(HAVE_PREAD64) && defined(HAVE_PWRITE64) +# undef USE_PREAD +# define USE_PREAD64 1 +#elif defined(HAVE_PREAD) && defined(HAVE_PWRITE) +# undef USE_PREAD64 +# define USE_PREAD 1 +#endif + +/* +** standard include files. +*/ +#include +#include +#include +#include +#include +/* #include */ +#include +#include +#if !defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0 +# include +#endif + +#if SQLITE_ENABLE_LOCKING_STYLE +/* # include */ +# include +# include +#endif /* SQLITE_ENABLE_LOCKING_STYLE */ + +/* +** Try to determine if gethostuuid() is available based on standard +** macros. This might sometimes compute the wrong value for some +** obscure platforms. For those cases, simply compile with one of +** the following: +** +** -DHAVE_GETHOSTUUID=0 +** -DHAVE_GETHOSTUUID=1 +** +** None if this matters except when building on Apple products with +** -DSQLITE_ENABLE_LOCKING_STYLE. +*/ +#ifndef HAVE_GETHOSTUUID +# define HAVE_GETHOSTUUID 0 +# if defined(__APPLE__) && ((__MAC_OS_X_VERSION_MIN_REQUIRED > 1050) || \ + (__IPHONE_OS_VERSION_MIN_REQUIRED > 2000)) +# if (!defined(TARGET_OS_EMBEDDED) || (TARGET_OS_EMBEDDED==0)) \ + && (!defined(TARGET_IPHONE_SIMULATOR) || (TARGET_IPHONE_SIMULATOR==0)) +# undef HAVE_GETHOSTUUID +# define HAVE_GETHOSTUUID 1 +# else +# warning "gethostuuid() is disabled." +# endif +# endif +#endif + + +#if OS_VXWORKS +/* # include */ +# include +# include +#endif /* OS_VXWORKS */ + +#if defined(__APPLE__) || SQLITE_ENABLE_LOCKING_STYLE +# include +#endif + +#ifdef HAVE_UTIME +# include +#endif + +/* +** Allowed values of unixFile.fsFlags +*/ +#define SQLITE_FSFLAGS_IS_MSDOS 0x1 + +/* +** If we are to be thread-safe, include the pthreads header. +*/ +#if SQLITE_THREADSAFE +/* # include */ +#endif + +/* +** Default permissions when creating a new file +*/ +#ifndef SQLITE_DEFAULT_FILE_PERMISSIONS +# define SQLITE_DEFAULT_FILE_PERMISSIONS 0644 +#endif + +/* +** Default permissions when creating auto proxy dir +*/ +#ifndef SQLITE_DEFAULT_PROXYDIR_PERMISSIONS +# define SQLITE_DEFAULT_PROXYDIR_PERMISSIONS 0755 +#endif + +/* +** Maximum supported path-length. +*/ +#define MAX_PATHNAME 512 + +/* +** Maximum supported symbolic links +*/ +#define SQLITE_MAX_SYMLINKS 100 + +/* Always cast the getpid() return type for compatibility with +** kernel modules in VxWorks. */ +#define osGetpid(X) (pid_t)getpid() + +/* +** Only set the lastErrno if the error code is a real error and not +** a normal expected return code of SQLITE_BUSY or SQLITE_OK +*/ +#define IS_LOCK_ERROR(x) ((x != SQLITE_OK) && (x != SQLITE_BUSY)) + +/* Forward references */ +typedef struct unixShm unixShm; /* Connection shared memory */ +typedef struct unixShmNode unixShmNode; /* Shared memory instance */ +typedef struct unixInodeInfo unixInodeInfo; /* An i-node */ +typedef struct UnixUnusedFd UnixUnusedFd; /* An unused file descriptor */ + +/* +** Sometimes, after a file handle is closed by SQLite, the file descriptor +** cannot be closed immediately. In these cases, instances of the following +** structure are used to store the file descriptor while waiting for an +** opportunity to either close or reuse it. +*/ +struct UnixUnusedFd { + int fd; /* File descriptor to close */ + int flags; /* Flags this file descriptor was opened with */ + UnixUnusedFd *pNext; /* Next unused file descriptor on same file */ +}; + +/* +** The unixFile structure is subclass of sqlite3_file specific to the unix +** VFS implementations. +*/ +typedef struct unixFile unixFile; +struct unixFile { + sqlite3_io_methods const *pMethod; /* Always the first entry */ + sqlite3_vfs *pVfs; /* The VFS that created this unixFile */ + unixInodeInfo *pInode; /* Info about locks on this inode */ + int h; /* The file descriptor */ + unsigned char eFileLock; /* The type of lock held on this fd */ + unsigned short int ctrlFlags; /* Behavioral bits. UNIXFILE_* flags */ + int lastErrno; /* The unix errno from last I/O error */ + void *lockingContext; /* Locking style specific state */ + UnixUnusedFd *pPreallocatedUnused; /* Pre-allocated UnixUnusedFd */ + const char *zPath; /* Name of the file */ + unixShm *pShm; /* Shared memory segment information */ + int szChunk; /* Configured by FCNTL_CHUNK_SIZE */ +#if SQLITE_MAX_MMAP_SIZE>0 + int nFetchOut; /* Number of outstanding xFetch refs */ + sqlite3_int64 mmapSize; /* Usable size of mapping at pMapRegion */ + sqlite3_int64 mmapSizeActual; /* Actual size of mapping at pMapRegion */ + sqlite3_int64 mmapSizeMax; /* Configured FCNTL_MMAP_SIZE value */ + void *pMapRegion; /* Memory mapped region */ +#endif + int sectorSize; /* Device sector size */ + int deviceCharacteristics; /* Precomputed device characteristics */ +#if SQLITE_ENABLE_LOCKING_STYLE + int openFlags; /* The flags specified at open() */ +#endif +#if SQLITE_ENABLE_LOCKING_STYLE || defined(__APPLE__) + unsigned fsFlags; /* cached details from statfs() */ +#endif +#ifdef SQLITE_ENABLE_SETLK_TIMEOUT + unsigned iBusyTimeout; /* Wait this many millisec on locks */ +#endif +#if OS_VXWORKS + struct vxworksFileId *pId; /* Unique file ID */ +#endif +#ifdef SQLITE_DEBUG + /* The next group of variables are used to track whether or not the + ** transaction counter in bytes 24-27 of database files are updated + ** whenever any part of the database changes. An assertion fault will + ** occur if a file is updated without also updating the transaction + ** counter. This test is made to avoid new problems similar to the + ** one described by ticket #3584. + */ + unsigned char transCntrChng; /* True if the transaction counter changed */ + unsigned char dbUpdate; /* True if any part of database file changed */ + unsigned char inNormalWrite; /* True if in a normal write operation */ + +#endif + +#ifdef SQLITE_TEST + /* In test mode, increase the size of this structure a bit so that + ** it is larger than the struct CrashFile defined in test6.c. + */ + char aPadding[32]; +#endif +}; + +/* This variable holds the process id (pid) from when the xRandomness() +** method was called. If xOpen() is called from a different process id, +** indicating that a fork() has occurred, the PRNG will be reset. +*/ +static pid_t randomnessPid = 0; + +/* +** Allowed values for the unixFile.ctrlFlags bitmask: +*/ +#define UNIXFILE_EXCL 0x01 /* Connections from one process only */ +#define UNIXFILE_RDONLY 0x02 /* Connection is read only */ +#define UNIXFILE_PERSIST_WAL 0x04 /* Persistent WAL mode */ +#ifndef SQLITE_DISABLE_DIRSYNC +# define UNIXFILE_DIRSYNC 0x08 /* Directory sync needed */ +#else +# define UNIXFILE_DIRSYNC 0x00 +#endif +#define UNIXFILE_PSOW 0x10 /* SQLITE_IOCAP_POWERSAFE_OVERWRITE */ +#define UNIXFILE_DELETE 0x20 /* Delete on close */ +#define UNIXFILE_URI 0x40 /* Filename might have query parameters */ +#define UNIXFILE_NOLOCK 0x80 /* Do no file locking */ + +/* +** Include code that is common to all os_*.c files +*/ +/************** Include os_common.h in the middle of os_unix.c ***************/ +/************** Begin file os_common.h ***************************************/ +/* +** 2004 May 22 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains macros and a little bit of code that is common to +** all of the platform-specific files (os_*.c) and is #included into those +** files. +** +** This file should be #included by the os_*.c files only. It is not a +** general purpose header file. +*/ +#ifndef _OS_COMMON_H_ +#define _OS_COMMON_H_ + +/* +** At least two bugs have slipped in because we changed the MEMORY_DEBUG +** macro to SQLITE_DEBUG and some older makefiles have not yet made the +** switch. The following code should catch this problem at compile-time. +*/ +#ifdef MEMORY_DEBUG +# error "The MEMORY_DEBUG macro is obsolete. Use SQLITE_DEBUG instead." +#endif + +/* +** Macros for performance tracing. Normally turned off. Only works +** on i486 hardware. +*/ +#ifdef SQLITE_PERFORMANCE_TRACE + +/* +** hwtime.h contains inline assembler code for implementing +** high-performance timing routines. +*/ +/************** Include hwtime.h in the middle of os_common.h ****************/ +/************** Begin file hwtime.h ******************************************/ +/* +** 2008 May 27 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains inline asm code for retrieving "high-performance" +** counters for x86 class CPUs. +*/ +#ifndef SQLITE_HWTIME_H +#define SQLITE_HWTIME_H + +/* +** The following routine only works on pentium-class (or newer) processors. +** It uses the RDTSC opcode to read the cycle count value out of the +** processor and returns that value. This can be used for high-res +** profiling. +*/ +#if (defined(__GNUC__) || defined(_MSC_VER)) && \ + (defined(i386) || defined(__i386__) || defined(_M_IX86)) + + #if defined(__GNUC__) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned int lo, hi; + __asm__ __volatile__ ("rdtsc" : "=a" (lo), "=d" (hi)); + return (sqlite_uint64)hi << 32 | lo; + } + + #elif defined(_MSC_VER) + + __declspec(naked) __inline sqlite_uint64 __cdecl sqlite3Hwtime(void){ + __asm { + rdtsc + ret ; return value at EDX:EAX + } + } + + #endif + +#elif (defined(__GNUC__) && defined(__x86_64__)) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned long val; + __asm__ __volatile__ ("rdtsc" : "=A" (val)); + return val; + } + +#elif (defined(__GNUC__) && defined(__ppc__)) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned long long retval; + unsigned long junk; + __asm__ __volatile__ ("\n\ + 1: mftbu %1\n\ + mftb %L0\n\ + mftbu %0\n\ + cmpw %0,%1\n\ + bne 1b" + : "=r" (retval), "=r" (junk)); + return retval; + } + +#else + + #error Need implementation of sqlite3Hwtime() for your platform. + + /* + ** To compile without implementing sqlite3Hwtime() for your platform, + ** you can remove the above #error and use the following + ** stub function. You will lose timing support for many + ** of the debugging and testing utilities, but it should at + ** least compile and run. + */ +SQLITE_PRIVATE sqlite_uint64 sqlite3Hwtime(void){ return ((sqlite_uint64)0); } + +#endif + +#endif /* !defined(SQLITE_HWTIME_H) */ + +/************** End of hwtime.h **********************************************/ +/************** Continuing where we left off in os_common.h ******************/ + +static sqlite_uint64 g_start; +static sqlite_uint64 g_elapsed; +#define TIMER_START g_start=sqlite3Hwtime() +#define TIMER_END g_elapsed=sqlite3Hwtime()-g_start +#define TIMER_ELAPSED g_elapsed +#else +#define TIMER_START +#define TIMER_END +#define TIMER_ELAPSED ((sqlite_uint64)0) +#endif + +/* +** If we compile with the SQLITE_TEST macro set, then the following block +** of code will give us the ability to simulate a disk I/O error. This +** is used for testing the I/O recovery logic. +*/ +#if defined(SQLITE_TEST) +SQLITE_API extern int sqlite3_io_error_hit; +SQLITE_API extern int sqlite3_io_error_hardhit; +SQLITE_API extern int sqlite3_io_error_pending; +SQLITE_API extern int sqlite3_io_error_persist; +SQLITE_API extern int sqlite3_io_error_benign; +SQLITE_API extern int sqlite3_diskfull_pending; +SQLITE_API extern int sqlite3_diskfull; +#define SimulateIOErrorBenign(X) sqlite3_io_error_benign=(X) +#define SimulateIOError(CODE) \ + if( (sqlite3_io_error_persist && sqlite3_io_error_hit) \ + || sqlite3_io_error_pending-- == 1 ) \ + { local_ioerr(); CODE; } +static void local_ioerr(){ + IOTRACE(("IOERR\n")); + sqlite3_io_error_hit++; + if( !sqlite3_io_error_benign ) sqlite3_io_error_hardhit++; +} +#define SimulateDiskfullError(CODE) \ + if( sqlite3_diskfull_pending ){ \ + if( sqlite3_diskfull_pending == 1 ){ \ + local_ioerr(); \ + sqlite3_diskfull = 1; \ + sqlite3_io_error_hit = 1; \ + CODE; \ + }else{ \ + sqlite3_diskfull_pending--; \ + } \ + } +#else +#define SimulateIOErrorBenign(X) +#define SimulateIOError(A) +#define SimulateDiskfullError(A) +#endif /* defined(SQLITE_TEST) */ + +/* +** When testing, keep a count of the number of open files. +*/ +#if defined(SQLITE_TEST) +SQLITE_API extern int sqlite3_open_file_count; +#define OpenCounter(X) sqlite3_open_file_count+=(X) +#else +#define OpenCounter(X) +#endif /* defined(SQLITE_TEST) */ + +#endif /* !defined(_OS_COMMON_H_) */ + +/************** End of os_common.h *******************************************/ +/************** Continuing where we left off in os_unix.c ********************/ + +/* +** Define various macros that are missing from some systems. +*/ +#ifndef O_LARGEFILE +# define O_LARGEFILE 0 +#endif +#ifdef SQLITE_DISABLE_LFS +# undef O_LARGEFILE +# define O_LARGEFILE 0 +#endif +#ifndef O_NOFOLLOW +# define O_NOFOLLOW 0 +#endif +#ifndef O_BINARY +# define O_BINARY 0 +#endif + +/* +** The threadid macro resolves to the thread-id or to 0. Used for +** testing and debugging only. +*/ +#if SQLITE_THREADSAFE +#define threadid pthread_self() +#else +#define threadid 0 +#endif + +/* +** HAVE_MREMAP defaults to true on Linux and false everywhere else. +*/ +#if !defined(HAVE_MREMAP) +# if defined(__linux__) && defined(_GNU_SOURCE) +# define HAVE_MREMAP 1 +# else +# define HAVE_MREMAP 0 +# endif +#endif + +/* +** Explicitly call the 64-bit version of lseek() on Android. Otherwise, lseek() +** is the 32-bit version, even if _FILE_OFFSET_BITS=64 is defined. +*/ +#ifdef __ANDROID__ +# define lseek lseek64 +#endif + +#ifdef __linux__ +/* +** Linux-specific IOCTL magic numbers used for controlling F2FS +*/ +#define F2FS_IOCTL_MAGIC 0xf5 +#define F2FS_IOC_START_ATOMIC_WRITE _IO(F2FS_IOCTL_MAGIC, 1) +#define F2FS_IOC_COMMIT_ATOMIC_WRITE _IO(F2FS_IOCTL_MAGIC, 2) +#define F2FS_IOC_START_VOLATILE_WRITE _IO(F2FS_IOCTL_MAGIC, 3) +#define F2FS_IOC_ABORT_VOLATILE_WRITE _IO(F2FS_IOCTL_MAGIC, 5) +#define F2FS_IOC_GET_FEATURES _IOR(F2FS_IOCTL_MAGIC, 12, u32) +#define F2FS_FEATURE_ATOMIC_WRITE 0x0004 +#endif /* __linux__ */ + + +/* +** Different Unix systems declare open() in different ways. Same use +** open(const char*,int,mode_t). Others use open(const char*,int,...). +** The difference is important when using a pointer to the function. +** +** The safest way to deal with the problem is to always use this wrapper +** which always has the same well-defined interface. +*/ +static int posixOpen(const char *zFile, int flags, int mode){ + return open(zFile, flags, mode); +} + +/* Forward reference */ +static int openDirectory(const char*, int*); +static int unixGetpagesize(void); + +/* +** Many system calls are accessed through pointer-to-functions so that +** they may be overridden at runtime to facilitate fault injection during +** testing and sandboxing. The following array holds the names and pointers +** to all overrideable system calls. +*/ +static struct unix_syscall { + const char *zName; /* Name of the system call */ + sqlite3_syscall_ptr pCurrent; /* Current value of the system call */ + sqlite3_syscall_ptr pDefault; /* Default value */ +} aSyscall[] = { + { "open", (sqlite3_syscall_ptr)posixOpen, 0 }, +#define osOpen ((int(*)(const char*,int,int))aSyscall[0].pCurrent) + + { "close", (sqlite3_syscall_ptr)close, 0 }, +#define osClose ((int(*)(int))aSyscall[1].pCurrent) + + { "access", (sqlite3_syscall_ptr)access, 0 }, +#define osAccess ((int(*)(const char*,int))aSyscall[2].pCurrent) + + { "getcwd", (sqlite3_syscall_ptr)getcwd, 0 }, +#define osGetcwd ((char*(*)(char*,size_t))aSyscall[3].pCurrent) + + { "stat", (sqlite3_syscall_ptr)stat, 0 }, +#define osStat ((int(*)(const char*,struct stat*))aSyscall[4].pCurrent) + +/* +** The DJGPP compiler environment looks mostly like Unix, but it +** lacks the fcntl() system call. So redefine fcntl() to be something +** that always succeeds. This means that locking does not occur under +** DJGPP. But it is DOS - what did you expect? +*/ +#ifdef __DJGPP__ + { "fstat", 0, 0 }, +#define osFstat(a,b,c) 0 +#else + { "fstat", (sqlite3_syscall_ptr)fstat, 0 }, +#define osFstat ((int(*)(int,struct stat*))aSyscall[5].pCurrent) +#endif + + { "ftruncate", (sqlite3_syscall_ptr)ftruncate, 0 }, +#define osFtruncate ((int(*)(int,off_t))aSyscall[6].pCurrent) + + { "fcntl", (sqlite3_syscall_ptr)fcntl, 0 }, +#define osFcntl ((int(*)(int,int,...))aSyscall[7].pCurrent) + + { "read", (sqlite3_syscall_ptr)read, 0 }, +#define osRead ((ssize_t(*)(int,void*,size_t))aSyscall[8].pCurrent) + +#if defined(USE_PREAD) || SQLITE_ENABLE_LOCKING_STYLE + { "pread", (sqlite3_syscall_ptr)pread, 0 }, +#else + { "pread", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osPread ((ssize_t(*)(int,void*,size_t,off_t))aSyscall[9].pCurrent) + +#if defined(USE_PREAD64) + { "pread64", (sqlite3_syscall_ptr)pread64, 0 }, +#else + { "pread64", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osPread64 ((ssize_t(*)(int,void*,size_t,off64_t))aSyscall[10].pCurrent) + + { "write", (sqlite3_syscall_ptr)write, 0 }, +#define osWrite ((ssize_t(*)(int,const void*,size_t))aSyscall[11].pCurrent) + +#if defined(USE_PREAD) || SQLITE_ENABLE_LOCKING_STYLE + { "pwrite", (sqlite3_syscall_ptr)pwrite, 0 }, +#else + { "pwrite", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osPwrite ((ssize_t(*)(int,const void*,size_t,off_t))\ + aSyscall[12].pCurrent) + +#if defined(USE_PREAD64) + { "pwrite64", (sqlite3_syscall_ptr)pwrite64, 0 }, +#else + { "pwrite64", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osPwrite64 ((ssize_t(*)(int,const void*,size_t,off64_t))\ + aSyscall[13].pCurrent) + + { "fchmod", (sqlite3_syscall_ptr)fchmod, 0 }, +#define osFchmod ((int(*)(int,mode_t))aSyscall[14].pCurrent) + +#if defined(HAVE_POSIX_FALLOCATE) && HAVE_POSIX_FALLOCATE + { "fallocate", (sqlite3_syscall_ptr)posix_fallocate, 0 }, +#else + { "fallocate", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osFallocate ((int(*)(int,off_t,off_t))aSyscall[15].pCurrent) + + { "unlink", (sqlite3_syscall_ptr)unlink, 0 }, +#define osUnlink ((int(*)(const char*))aSyscall[16].pCurrent) + + { "openDirectory", (sqlite3_syscall_ptr)openDirectory, 0 }, +#define osOpenDirectory ((int(*)(const char*,int*))aSyscall[17].pCurrent) + + { "mkdir", (sqlite3_syscall_ptr)mkdir, 0 }, +#define osMkdir ((int(*)(const char*,mode_t))aSyscall[18].pCurrent) + + { "rmdir", (sqlite3_syscall_ptr)rmdir, 0 }, +#define osRmdir ((int(*)(const char*))aSyscall[19].pCurrent) + +#if defined(HAVE_FCHOWN) + { "fchown", (sqlite3_syscall_ptr)fchown, 0 }, +#else + { "fchown", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osFchown ((int(*)(int,uid_t,gid_t))aSyscall[20].pCurrent) + +#if defined(HAVE_FCHOWN) + { "geteuid", (sqlite3_syscall_ptr)geteuid, 0 }, +#else + { "geteuid", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osGeteuid ((uid_t(*)(void))aSyscall[21].pCurrent) + +#if !defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0 + { "mmap", (sqlite3_syscall_ptr)mmap, 0 }, +#else + { "mmap", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osMmap ((void*(*)(void*,size_t,int,int,int,off_t))aSyscall[22].pCurrent) + +#if !defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0 + { "munmap", (sqlite3_syscall_ptr)munmap, 0 }, +#else + { "munmap", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osMunmap ((int(*)(void*,size_t))aSyscall[23].pCurrent) + +#if HAVE_MREMAP && (!defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0) + { "mremap", (sqlite3_syscall_ptr)mremap, 0 }, +#else + { "mremap", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osMremap ((void*(*)(void*,size_t,size_t,int,...))aSyscall[24].pCurrent) + +#if !defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0 + { "getpagesize", (sqlite3_syscall_ptr)unixGetpagesize, 0 }, +#else + { "getpagesize", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osGetpagesize ((int(*)(void))aSyscall[25].pCurrent) + +#if defined(HAVE_READLINK) + { "readlink", (sqlite3_syscall_ptr)readlink, 0 }, +#else + { "readlink", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osReadlink ((ssize_t(*)(const char*,char*,size_t))aSyscall[26].pCurrent) + +#if defined(HAVE_LSTAT) + { "lstat", (sqlite3_syscall_ptr)lstat, 0 }, +#else + { "lstat", (sqlite3_syscall_ptr)0, 0 }, +#endif +#define osLstat ((int(*)(const char*,struct stat*))aSyscall[27].pCurrent) + +#if defined(__linux__) && defined(SQLITE_ENABLE_BATCH_ATOMIC_WRITE) +# ifdef __ANDROID__ + { "ioctl", (sqlite3_syscall_ptr)(int(*)(int, int, ...))ioctl, 0 }, +#define osIoctl ((int(*)(int,int,...))aSyscall[28].pCurrent) +# else + { "ioctl", (sqlite3_syscall_ptr)ioctl, 0 }, +#define osIoctl ((int(*)(int,unsigned long,...))aSyscall[28].pCurrent) +# endif +#else + { "ioctl", (sqlite3_syscall_ptr)0, 0 }, +#endif + +}; /* End of the overrideable system calls */ + + +/* +** On some systems, calls to fchown() will trigger a message in a security +** log if they come from non-root processes. So avoid calling fchown() if +** we are not running as root. +*/ +static int robustFchown(int fd, uid_t uid, gid_t gid){ +#if defined(HAVE_FCHOWN) + return osGeteuid() ? 0 : osFchown(fd,uid,gid); +#else + return 0; +#endif +} + +/* +** This is the xSetSystemCall() method of sqlite3_vfs for all of the +** "unix" VFSes. Return SQLITE_OK opon successfully updating the +** system call pointer, or SQLITE_NOTFOUND if there is no configurable +** system call named zName. +*/ +static int unixSetSystemCall( + sqlite3_vfs *pNotUsed, /* The VFS pointer. Not used */ + const char *zName, /* Name of system call to override */ + sqlite3_syscall_ptr pNewFunc /* Pointer to new system call value */ +){ + unsigned int i; + int rc = SQLITE_NOTFOUND; + + UNUSED_PARAMETER(pNotUsed); + if( zName==0 ){ + /* If no zName is given, restore all system calls to their default + ** settings and return NULL + */ + rc = SQLITE_OK; + for(i=0; i=SQLITE_MINIMUM_FILE_DESCRIPTOR ) break; + osClose(fd); + sqlite3_log(SQLITE_WARNING, + "attempt to open \"%s\" as file descriptor %d", z, fd); + fd = -1; + if( osOpen("/dev/null", f, m)<0 ) break; + } + if( fd>=0 ){ + if( m!=0 ){ + struct stat statbuf; + if( osFstat(fd, &statbuf)==0 + && statbuf.st_size==0 + && (statbuf.st_mode&0777)!=m + ){ + osFchmod(fd, m); + } + } +#if defined(FD_CLOEXEC) && (!defined(O_CLOEXEC) || O_CLOEXEC==0) + osFcntl(fd, F_SETFD, osFcntl(fd, F_GETFD, 0) | FD_CLOEXEC); +#endif + } + return fd; +} + +/* +** Helper functions to obtain and relinquish the global mutex. The +** global mutex is used to protect the unixInodeInfo and +** vxworksFileId objects used by this file, all of which may be +** shared by multiple threads. +** +** Function unixMutexHeld() is used to assert() that the global mutex +** is held when required. This function is only used as part of assert() +** statements. e.g. +** +** unixEnterMutex() +** assert( unixMutexHeld() ); +** unixEnterLeave() +** +** To prevent deadlock, the global unixBigLock must must be acquired +** before the unixInodeInfo.pLockMutex mutex, if both are held. It is +** OK to get the pLockMutex without holding unixBigLock first, but if +** that happens, the unixBigLock mutex must not be acquired until after +** pLockMutex is released. +** +** OK: enter(unixBigLock), enter(pLockInfo) +** OK: enter(unixBigLock) +** OK: enter(pLockInfo) +** ERROR: enter(pLockInfo), enter(unixBigLock) +*/ +static sqlite3_mutex *unixBigLock = 0; +static void unixEnterMutex(void){ + assert( sqlite3_mutex_notheld(unixBigLock) ); /* Not a recursive mutex */ + sqlite3_mutex_enter(unixBigLock); +} +static void unixLeaveMutex(void){ + assert( sqlite3_mutex_held(unixBigLock) ); + sqlite3_mutex_leave(unixBigLock); +} +#ifdef SQLITE_DEBUG +static int unixMutexHeld(void) { + return sqlite3_mutex_held(unixBigLock); +} +#endif + + +#ifdef SQLITE_HAVE_OS_TRACE +/* +** Helper function for printing out trace information from debugging +** binaries. This returns the string representation of the supplied +** integer lock-type. +*/ +static const char *azFileLock(int eFileLock){ + switch( eFileLock ){ + case NO_LOCK: return "NONE"; + case SHARED_LOCK: return "SHARED"; + case RESERVED_LOCK: return "RESERVED"; + case PENDING_LOCK: return "PENDING"; + case EXCLUSIVE_LOCK: return "EXCLUSIVE"; + } + return "ERROR"; +} +#endif + +#ifdef SQLITE_LOCK_TRACE +/* +** Print out information about all locking operations. +** +** This routine is used for troubleshooting locks on multithreaded +** platforms. Enable by compiling with the -DSQLITE_LOCK_TRACE +** command-line option on the compiler. This code is normally +** turned off. +*/ +static int lockTrace(int fd, int op, struct flock *p){ + char *zOpName, *zType; + int s; + int savedErrno; + if( op==F_GETLK ){ + zOpName = "GETLK"; + }else if( op==F_SETLK ){ + zOpName = "SETLK"; + }else{ + s = osFcntl(fd, op, p); + sqlite3DebugPrintf("fcntl unknown %d %d %d\n", fd, op, s); + return s; + } + if( p->l_type==F_RDLCK ){ + zType = "RDLCK"; + }else if( p->l_type==F_WRLCK ){ + zType = "WRLCK"; + }else if( p->l_type==F_UNLCK ){ + zType = "UNLCK"; + }else{ + assert( 0 ); + } + assert( p->l_whence==SEEK_SET ); + s = osFcntl(fd, op, p); + savedErrno = errno; + sqlite3DebugPrintf("fcntl %d %d %s %s %d %d %d %d\n", + threadid, fd, zOpName, zType, (int)p->l_start, (int)p->l_len, + (int)p->l_pid, s); + if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){ + struct flock l2; + l2 = *p; + osFcntl(fd, F_GETLK, &l2); + if( l2.l_type==F_RDLCK ){ + zType = "RDLCK"; + }else if( l2.l_type==F_WRLCK ){ + zType = "WRLCK"; + }else if( l2.l_type==F_UNLCK ){ + zType = "UNLCK"; + }else{ + assert( 0 ); + } + sqlite3DebugPrintf("fcntl-failure-reason: %s %d %d %d\n", + zType, (int)l2.l_start, (int)l2.l_len, (int)l2.l_pid); + } + errno = savedErrno; + return s; +} +#undef osFcntl +#define osFcntl lockTrace +#endif /* SQLITE_LOCK_TRACE */ + +/* +** Retry ftruncate() calls that fail due to EINTR +** +** All calls to ftruncate() within this file should be made through +** this wrapper. On the Android platform, bypassing the logic below +** could lead to a corrupt database. +*/ +static int robust_ftruncate(int h, sqlite3_int64 sz){ + int rc; +#ifdef __ANDROID__ + /* On Android, ftruncate() always uses 32-bit offsets, even if + ** _FILE_OFFSET_BITS=64 is defined. This means it is unsafe to attempt to + ** truncate a file to any size larger than 2GiB. Silently ignore any + ** such attempts. */ + if( sz>(sqlite3_int64)0x7FFFFFFF ){ + rc = SQLITE_OK; + }else +#endif + do{ rc = osFtruncate(h,sz); }while( rc<0 && errno==EINTR ); + return rc; +} + +/* +** This routine translates a standard POSIX errno code into something +** useful to the clients of the sqlite3 functions. Specifically, it is +** intended to translate a variety of "try again" errors into SQLITE_BUSY +** and a variety of "please close the file descriptor NOW" errors into +** SQLITE_IOERR +** +** Errors during initialization of locks, or file system support for locks, +** should handle ENOLCK, ENOTSUP, EOPNOTSUPP separately. +*/ +static int sqliteErrorFromPosixError(int posixError, int sqliteIOErr) { + assert( (sqliteIOErr == SQLITE_IOERR_LOCK) || + (sqliteIOErr == SQLITE_IOERR_UNLOCK) || + (sqliteIOErr == SQLITE_IOERR_RDLOCK) || + (sqliteIOErr == SQLITE_IOERR_CHECKRESERVEDLOCK) ); + switch (posixError) { + case EACCES: + case EAGAIN: + case ETIMEDOUT: + case EBUSY: + case EINTR: + case ENOLCK: + /* random NFS retry error, unless during file system support + * introspection, in which it actually means what it says */ + return SQLITE_BUSY; + + case EPERM: + return SQLITE_PERM; + + default: + return sqliteIOErr; + } +} + + +/****************************************************************************** +****************** Begin Unique File ID Utility Used By VxWorks *************** +** +** On most versions of unix, we can get a unique ID for a file by concatenating +** the device number and the inode number. But this does not work on VxWorks. +** On VxWorks, a unique file id must be based on the canonical filename. +** +** A pointer to an instance of the following structure can be used as a +** unique file ID in VxWorks. Each instance of this structure contains +** a copy of the canonical filename. There is also a reference count. +** The structure is reclaimed when the number of pointers to it drops to +** zero. +** +** There are never very many files open at one time and lookups are not +** a performance-critical path, so it is sufficient to put these +** structures on a linked list. +*/ +struct vxworksFileId { + struct vxworksFileId *pNext; /* Next in a list of them all */ + int nRef; /* Number of references to this one */ + int nName; /* Length of the zCanonicalName[] string */ + char *zCanonicalName; /* Canonical filename */ +}; + +#if OS_VXWORKS +/* +** All unique filenames are held on a linked list headed by this +** variable: +*/ +static struct vxworksFileId *vxworksFileList = 0; + +/* +** Simplify a filename into its canonical form +** by making the following changes: +** +** * removing any trailing and duplicate / +** * convert /./ into just / +** * convert /A/../ where A is any simple name into just / +** +** Changes are made in-place. Return the new name length. +** +** The original filename is in z[0..n-1]. Return the number of +** characters in the simplified name. +*/ +static int vxworksSimplifyName(char *z, int n){ + int i, j; + while( n>1 && z[n-1]=='/' ){ n--; } + for(i=j=0; i0 && z[j-1]!='/' ){ j--; } + if( j>0 ){ j--; } + i += 2; + continue; + } + } + z[j++] = z[i]; + } + z[j] = 0; + return j; +} + +/* +** Find a unique file ID for the given absolute pathname. Return +** a pointer to the vxworksFileId object. This pointer is the unique +** file ID. +** +** The nRef field of the vxworksFileId object is incremented before +** the object is returned. A new vxworksFileId object is created +** and added to the global list if necessary. +** +** If a memory allocation error occurs, return NULL. +*/ +static struct vxworksFileId *vxworksFindFileId(const char *zAbsoluteName){ + struct vxworksFileId *pNew; /* search key and new file ID */ + struct vxworksFileId *pCandidate; /* For looping over existing file IDs */ + int n; /* Length of zAbsoluteName string */ + + assert( zAbsoluteName[0]=='/' ); + n = (int)strlen(zAbsoluteName); + pNew = sqlite3_malloc64( sizeof(*pNew) + (n+1) ); + if( pNew==0 ) return 0; + pNew->zCanonicalName = (char*)&pNew[1]; + memcpy(pNew->zCanonicalName, zAbsoluteName, n+1); + n = vxworksSimplifyName(pNew->zCanonicalName, n); + + /* Search for an existing entry that matching the canonical name. + ** If found, increment the reference count and return a pointer to + ** the existing file ID. + */ + unixEnterMutex(); + for(pCandidate=vxworksFileList; pCandidate; pCandidate=pCandidate->pNext){ + if( pCandidate->nName==n + && memcmp(pCandidate->zCanonicalName, pNew->zCanonicalName, n)==0 + ){ + sqlite3_free(pNew); + pCandidate->nRef++; + unixLeaveMutex(); + return pCandidate; + } + } + + /* No match was found. We will make a new file ID */ + pNew->nRef = 1; + pNew->nName = n; + pNew->pNext = vxworksFileList; + vxworksFileList = pNew; + unixLeaveMutex(); + return pNew; +} + +/* +** Decrement the reference count on a vxworksFileId object. Free +** the object when the reference count reaches zero. +*/ +static void vxworksReleaseFileId(struct vxworksFileId *pId){ + unixEnterMutex(); + assert( pId->nRef>0 ); + pId->nRef--; + if( pId->nRef==0 ){ + struct vxworksFileId **pp; + for(pp=&vxworksFileList; *pp && *pp!=pId; pp = &((*pp)->pNext)){} + assert( *pp==pId ); + *pp = pId->pNext; + sqlite3_free(pId); + } + unixLeaveMutex(); +} +#endif /* OS_VXWORKS */ +/*************** End of Unique File ID Utility Used By VxWorks **************** +******************************************************************************/ + + +/****************************************************************************** +*************************** Posix Advisory Locking **************************** +** +** POSIX advisory locks are broken by design. ANSI STD 1003.1 (1996) +** section 6.5.2.2 lines 483 through 490 specify that when a process +** sets or clears a lock, that operation overrides any prior locks set +** by the same process. It does not explicitly say so, but this implies +** that it overrides locks set by the same process using a different +** file descriptor. Consider this test case: +** +** int fd1 = open("./file1", O_RDWR|O_CREAT, 0644); +** int fd2 = open("./file2", O_RDWR|O_CREAT, 0644); +** +** Suppose ./file1 and ./file2 are really the same file (because +** one is a hard or symbolic link to the other) then if you set +** an exclusive lock on fd1, then try to get an exclusive lock +** on fd2, it works. I would have expected the second lock to +** fail since there was already a lock on the file due to fd1. +** But not so. Since both locks came from the same process, the +** second overrides the first, even though they were on different +** file descriptors opened on different file names. +** +** This means that we cannot use POSIX locks to synchronize file access +** among competing threads of the same process. POSIX locks will work fine +** to synchronize access for threads in separate processes, but not +** threads within the same process. +** +** To work around the problem, SQLite has to manage file locks internally +** on its own. Whenever a new database is opened, we have to find the +** specific inode of the database file (the inode is determined by the +** st_dev and st_ino fields of the stat structure that fstat() fills in) +** and check for locks already existing on that inode. When locks are +** created or removed, we have to look at our own internal record of the +** locks to see if another thread has previously set a lock on that same +** inode. +** +** (Aside: The use of inode numbers as unique IDs does not work on VxWorks. +** For VxWorks, we have to use the alternative unique ID system based on +** canonical filename and implemented in the previous division.) +** +** The sqlite3_file structure for POSIX is no longer just an integer file +** descriptor. It is now a structure that holds the integer file +** descriptor and a pointer to a structure that describes the internal +** locks on the corresponding inode. There is one locking structure +** per inode, so if the same inode is opened twice, both unixFile structures +** point to the same locking structure. The locking structure keeps +** a reference count (so we will know when to delete it) and a "cnt" +** field that tells us its internal lock status. cnt==0 means the +** file is unlocked. cnt==-1 means the file has an exclusive lock. +** cnt>0 means there are cnt shared locks on the file. +** +** Any attempt to lock or unlock a file first checks the locking +** structure. The fcntl() system call is only invoked to set a +** POSIX lock if the internal lock structure transitions between +** a locked and an unlocked state. +** +** But wait: there are yet more problems with POSIX advisory locks. +** +** If you close a file descriptor that points to a file that has locks, +** all locks on that file that are owned by the current process are +** released. To work around this problem, each unixInodeInfo object +** maintains a count of the number of pending locks on tha inode. +** When an attempt is made to close an unixFile, if there are +** other unixFile open on the same inode that are holding locks, the call +** to close() the file descriptor is deferred until all of the locks clear. +** The unixInodeInfo structure keeps a list of file descriptors that need to +** be closed and that list is walked (and cleared) when the last lock +** clears. +** +** Yet another problem: LinuxThreads do not play well with posix locks. +** +** Many older versions of linux use the LinuxThreads library which is +** not posix compliant. Under LinuxThreads, a lock created by thread +** A cannot be modified or overridden by a different thread B. +** Only thread A can modify the lock. Locking behavior is correct +** if the appliation uses the newer Native Posix Thread Library (NPTL) +** on linux - with NPTL a lock created by thread A can override locks +** in thread B. But there is no way to know at compile-time which +** threading library is being used. So there is no way to know at +** compile-time whether or not thread A can override locks on thread B. +** One has to do a run-time check to discover the behavior of the +** current process. +** +** SQLite used to support LinuxThreads. But support for LinuxThreads +** was dropped beginning with version 3.7.0. SQLite will still work with +** LinuxThreads provided that (1) there is no more than one connection +** per database file in the same process and (2) database connections +** do not move across threads. +*/ + +/* +** An instance of the following structure serves as the key used +** to locate a particular unixInodeInfo object. +*/ +struct unixFileId { + dev_t dev; /* Device number */ +#if OS_VXWORKS + struct vxworksFileId *pId; /* Unique file ID for vxworks. */ +#else + /* We are told that some versions of Android contain a bug that + ** sizes ino_t at only 32-bits instead of 64-bits. (See + ** https://android-review.googlesource.com/#/c/115351/3/dist/sqlite3.c) + ** To work around this, always allocate 64-bits for the inode number. + ** On small machines that only have 32-bit inodes, this wastes 4 bytes, + ** but that should not be a big deal. */ + /* WAS: ino_t ino; */ + u64 ino; /* Inode number */ +#endif +}; + +/* +** An instance of the following structure is allocated for each open +** inode. +** +** A single inode can have multiple file descriptors, so each unixFile +** structure contains a pointer to an instance of this object and this +** object keeps a count of the number of unixFile pointing to it. +** +** Mutex rules: +** +** (1) Only the pLockMutex mutex must be held in order to read or write +** any of the locking fields: +** nShared, nLock, eFileLock, bProcessLock, pUnused +** +** (2) When nRef>0, then the following fields are unchanging and can +** be read (but not written) without holding any mutex: +** fileId, pLockMutex +** +** (3) With the exceptions above, all the fields may only be read +** or written while holding the global unixBigLock mutex. +** +** Deadlock prevention: The global unixBigLock mutex may not +** be acquired while holding the pLockMutex mutex. If both unixBigLock +** and pLockMutex are needed, then unixBigLock must be acquired first. +*/ +struct unixInodeInfo { + struct unixFileId fileId; /* The lookup key */ + sqlite3_mutex *pLockMutex; /* Hold this mutex for... */ + int nShared; /* Number of SHARED locks held */ + int nLock; /* Number of outstanding file locks */ + unsigned char eFileLock; /* One of SHARED_LOCK, RESERVED_LOCK etc. */ + unsigned char bProcessLock; /* An exclusive process lock is held */ + UnixUnusedFd *pUnused; /* Unused file descriptors to close */ + int nRef; /* Number of pointers to this structure */ + unixShmNode *pShmNode; /* Shared memory associated with this inode */ + unixInodeInfo *pNext; /* List of all unixInodeInfo objects */ + unixInodeInfo *pPrev; /* .... doubly linked */ +#if SQLITE_ENABLE_LOCKING_STYLE + unsigned long long sharedByte; /* for AFP simulated shared lock */ +#endif +#if OS_VXWORKS + sem_t *pSem; /* Named POSIX semaphore */ + char aSemName[MAX_PATHNAME+2]; /* Name of that semaphore */ +#endif +}; + +/* +** A lists of all unixInodeInfo objects. +** +** Must hold unixBigLock in order to read or write this variable. +*/ +static unixInodeInfo *inodeList = 0; /* All unixInodeInfo objects */ + +#ifdef SQLITE_DEBUG +/* +** True if the inode mutex (on the unixFile.pFileMutex field) is held, or not. +** This routine is used only within assert() to help verify correct mutex +** usage. +*/ +int unixFileMutexHeld(unixFile *pFile){ + assert( pFile->pInode ); + return sqlite3_mutex_held(pFile->pInode->pLockMutex); +} +int unixFileMutexNotheld(unixFile *pFile){ + assert( pFile->pInode ); + return sqlite3_mutex_notheld(pFile->pInode->pLockMutex); +} +#endif + +/* +** +** This function - unixLogErrorAtLine(), is only ever called via the macro +** unixLogError(). +** +** It is invoked after an error occurs in an OS function and errno has been +** set. It logs a message using sqlite3_log() containing the current value of +** errno and, if possible, the human-readable equivalent from strerror() or +** strerror_r(). +** +** The first argument passed to the macro should be the error code that +** will be returned to SQLite (e.g. SQLITE_IOERR_DELETE, SQLITE_CANTOPEN). +** The two subsequent arguments should be the name of the OS function that +** failed (e.g. "unlink", "open") and the associated file-system path, +** if any. +*/ +#define unixLogError(a,b,c) unixLogErrorAtLine(a,b,c,__LINE__) +static int unixLogErrorAtLine( + int errcode, /* SQLite error code */ + const char *zFunc, /* Name of OS function that failed */ + const char *zPath, /* File path associated with error */ + int iLine /* Source line number where error occurred */ +){ + char *zErr; /* Message from strerror() or equivalent */ + int iErrno = errno; /* Saved syscall error number */ + + /* If this is not a threadsafe build (SQLITE_THREADSAFE==0), then use + ** the strerror() function to obtain the human-readable error message + ** equivalent to errno. Otherwise, use strerror_r(). + */ +#if SQLITE_THREADSAFE && defined(HAVE_STRERROR_R) + char aErr[80]; + memset(aErr, 0, sizeof(aErr)); + zErr = aErr; + + /* If STRERROR_R_CHAR_P (set by autoconf scripts) or __USE_GNU is defined, + ** assume that the system provides the GNU version of strerror_r() that + ** returns a pointer to a buffer containing the error message. That pointer + ** may point to aErr[], or it may point to some static storage somewhere. + ** Otherwise, assume that the system provides the POSIX version of + ** strerror_r(), which always writes an error message into aErr[]. + ** + ** If the code incorrectly assumes that it is the POSIX version that is + ** available, the error message will often be an empty string. Not a + ** huge problem. Incorrectly concluding that the GNU version is available + ** could lead to a segfault though. + */ +#if defined(STRERROR_R_CHAR_P) || defined(__USE_GNU) + zErr = +# endif + strerror_r(iErrno, aErr, sizeof(aErr)-1); + +#elif SQLITE_THREADSAFE + /* This is a threadsafe build, but strerror_r() is not available. */ + zErr = ""; +#else + /* Non-threadsafe build, use strerror(). */ + zErr = strerror(iErrno); +#endif + + if( zPath==0 ) zPath = ""; + sqlite3_log(errcode, + "os_unix.c:%d: (%d) %s(%s) - %s", + iLine, iErrno, zFunc, zPath, zErr + ); + + return errcode; +} + +/* +** Close a file descriptor. +** +** We assume that close() almost always works, since it is only in a +** very sick application or on a very sick platform that it might fail. +** If it does fail, simply leak the file descriptor, but do log the +** error. +** +** Note that it is not safe to retry close() after EINTR since the +** file descriptor might have already been reused by another thread. +** So we don't even try to recover from an EINTR. Just log the error +** and move on. +*/ +static void robust_close(unixFile *pFile, int h, int lineno){ + if( osClose(h) ){ + unixLogErrorAtLine(SQLITE_IOERR_CLOSE, "close", + pFile ? pFile->zPath : 0, lineno); + } +} + +/* +** Set the pFile->lastErrno. Do this in a subroutine as that provides +** a convenient place to set a breakpoint. +*/ +static void storeLastErrno(unixFile *pFile, int error){ + pFile->lastErrno = error; +} + +/* +** Close all file descriptors accumuated in the unixInodeInfo->pUnused list. +*/ +static void closePendingFds(unixFile *pFile){ + unixInodeInfo *pInode = pFile->pInode; + UnixUnusedFd *p; + UnixUnusedFd *pNext; + assert( unixFileMutexHeld(pFile) ); + for(p=pInode->pUnused; p; p=pNext){ + pNext = p->pNext; + robust_close(pFile, p->fd, __LINE__); + sqlite3_free(p); + } + pInode->pUnused = 0; +} + +/* +** Release a unixInodeInfo structure previously allocated by findInodeInfo(). +** +** The global mutex must be held when this routine is called, but the mutex +** on the inode being deleted must NOT be held. +*/ +static void releaseInodeInfo(unixFile *pFile){ + unixInodeInfo *pInode = pFile->pInode; + assert( unixMutexHeld() ); + assert( unixFileMutexNotheld(pFile) ); + if( ALWAYS(pInode) ){ + pInode->nRef--; + if( pInode->nRef==0 ){ + assert( pInode->pShmNode==0 ); + sqlite3_mutex_enter(pInode->pLockMutex); + closePendingFds(pFile); + sqlite3_mutex_leave(pInode->pLockMutex); + if( pInode->pPrev ){ + assert( pInode->pPrev->pNext==pInode ); + pInode->pPrev->pNext = pInode->pNext; + }else{ + assert( inodeList==pInode ); + inodeList = pInode->pNext; + } + if( pInode->pNext ){ + assert( pInode->pNext->pPrev==pInode ); + pInode->pNext->pPrev = pInode->pPrev; + } + sqlite3_mutex_free(pInode->pLockMutex); + sqlite3_free(pInode); + } + } +} + +/* +** Given a file descriptor, locate the unixInodeInfo object that +** describes that file descriptor. Create a new one if necessary. The +** return value might be uninitialized if an error occurs. +** +** The global mutex must held when calling this routine. +** +** Return an appropriate error code. +*/ +static int findInodeInfo( + unixFile *pFile, /* Unix file with file desc used in the key */ + unixInodeInfo **ppInode /* Return the unixInodeInfo object here */ +){ + int rc; /* System call return code */ + int fd; /* The file descriptor for pFile */ + struct unixFileId fileId; /* Lookup key for the unixInodeInfo */ + struct stat statbuf; /* Low-level file information */ + unixInodeInfo *pInode = 0; /* Candidate unixInodeInfo object */ + + assert( unixMutexHeld() ); + + /* Get low-level information about the file that we can used to + ** create a unique name for the file. + */ + fd = pFile->h; + rc = osFstat(fd, &statbuf); + if( rc!=0 ){ + storeLastErrno(pFile, errno); +#if defined(EOVERFLOW) && defined(SQLITE_DISABLE_LFS) + if( pFile->lastErrno==EOVERFLOW ) return SQLITE_NOLFS; +#endif + return SQLITE_IOERR; + } + +#ifdef __APPLE__ + /* On OS X on an msdos filesystem, the inode number is reported + ** incorrectly for zero-size files. See ticket #3260. To work + ** around this problem (we consider it a bug in OS X, not SQLite) + ** we always increase the file size to 1 by writing a single byte + ** prior to accessing the inode number. The one byte written is + ** an ASCII 'S' character which also happens to be the first byte + ** in the header of every SQLite database. In this way, if there + ** is a race condition such that another thread has already populated + ** the first page of the database, no damage is done. + */ + if( statbuf.st_size==0 && (pFile->fsFlags & SQLITE_FSFLAGS_IS_MSDOS)!=0 ){ + do{ rc = osWrite(fd, "S", 1); }while( rc<0 && errno==EINTR ); + if( rc!=1 ){ + storeLastErrno(pFile, errno); + return SQLITE_IOERR; + } + rc = osFstat(fd, &statbuf); + if( rc!=0 ){ + storeLastErrno(pFile, errno); + return SQLITE_IOERR; + } + } +#endif + + memset(&fileId, 0, sizeof(fileId)); + fileId.dev = statbuf.st_dev; +#if OS_VXWORKS + fileId.pId = pFile->pId; +#else + fileId.ino = (u64)statbuf.st_ino; +#endif + assert( unixMutexHeld() ); + pInode = inodeList; + while( pInode && memcmp(&fileId, &pInode->fileId, sizeof(fileId)) ){ + pInode = pInode->pNext; + } + if( pInode==0 ){ + pInode = sqlite3_malloc64( sizeof(*pInode) ); + if( pInode==0 ){ + return SQLITE_NOMEM_BKPT; + } + memset(pInode, 0, sizeof(*pInode)); + memcpy(&pInode->fileId, &fileId, sizeof(fileId)); + if( sqlite3GlobalConfig.bCoreMutex ){ + pInode->pLockMutex = sqlite3_mutex_alloc(SQLITE_MUTEX_FAST); + if( pInode->pLockMutex==0 ){ + sqlite3_free(pInode); + return SQLITE_NOMEM_BKPT; + } + } + pInode->nRef = 1; + assert( unixMutexHeld() ); + pInode->pNext = inodeList; + pInode->pPrev = 0; + if( inodeList ) inodeList->pPrev = pInode; + inodeList = pInode; + }else{ + pInode->nRef++; + } + *ppInode = pInode; + return SQLITE_OK; +} + +/* +** Return TRUE if pFile has been renamed or unlinked since it was first opened. +*/ +static int fileHasMoved(unixFile *pFile){ +#if OS_VXWORKS + return pFile->pInode!=0 && pFile->pId!=pFile->pInode->fileId.pId; +#else + struct stat buf; + return pFile->pInode!=0 && + (osStat(pFile->zPath, &buf)!=0 + || (u64)buf.st_ino!=pFile->pInode->fileId.ino); +#endif +} + + +/* +** Check a unixFile that is a database. Verify the following: +** +** (1) There is exactly one hard link on the file +** (2) The file is not a symbolic link +** (3) The file has not been renamed or unlinked +** +** Issue sqlite3_log(SQLITE_WARNING,...) messages if anything is not right. +*/ +static void verifyDbFile(unixFile *pFile){ + struct stat buf; + int rc; + + /* These verifications occurs for the main database only */ + if( pFile->ctrlFlags & UNIXFILE_NOLOCK ) return; + + rc = osFstat(pFile->h, &buf); + if( rc!=0 ){ + sqlite3_log(SQLITE_WARNING, "cannot fstat db file %s", pFile->zPath); + return; + } + if( buf.st_nlink==0 ){ + sqlite3_log(SQLITE_WARNING, "file unlinked while open: %s", pFile->zPath); + return; + } + if( buf.st_nlink>1 ){ + sqlite3_log(SQLITE_WARNING, "multiple links to file: %s", pFile->zPath); + return; + } + if( fileHasMoved(pFile) ){ + sqlite3_log(SQLITE_WARNING, "file renamed while open: %s", pFile->zPath); + return; + } +} + + +/* +** This routine checks if there is a RESERVED lock held on the specified +** file by this or any other process. If such a lock is held, set *pResOut +** to a non-zero value otherwise *pResOut is set to zero. The return value +** is set to SQLITE_OK unless an I/O error occurs during lock checking. +*/ +static int unixCheckReservedLock(sqlite3_file *id, int *pResOut){ + int rc = SQLITE_OK; + int reserved = 0; + unixFile *pFile = (unixFile*)id; + + SimulateIOError( return SQLITE_IOERR_CHECKRESERVEDLOCK; ); + + assert( pFile ); + assert( pFile->eFileLock<=SHARED_LOCK ); + sqlite3_mutex_enter(pFile->pInode->pLockMutex); + + /* Check if a thread in this process holds such a lock */ + if( pFile->pInode->eFileLock>SHARED_LOCK ){ + reserved = 1; + } + + /* Otherwise see if some other process holds it. + */ +#ifndef __DJGPP__ + if( !reserved && !pFile->pInode->bProcessLock ){ + struct flock lock; + lock.l_whence = SEEK_SET; + lock.l_start = RESERVED_BYTE; + lock.l_len = 1; + lock.l_type = F_WRLCK; + if( osFcntl(pFile->h, F_GETLK, &lock) ){ + rc = SQLITE_IOERR_CHECKRESERVEDLOCK; + storeLastErrno(pFile, errno); + } else if( lock.l_type!=F_UNLCK ){ + reserved = 1; + } + } +#endif + + sqlite3_mutex_leave(pFile->pInode->pLockMutex); + OSTRACE(("TEST WR-LOCK %d %d %d (unix)\n", pFile->h, rc, reserved)); + + *pResOut = reserved; + return rc; +} + +/* +** Set a posix-advisory-lock. +** +** There are two versions of this routine. If compiled with +** SQLITE_ENABLE_SETLK_TIMEOUT then the routine has an extra parameter +** which is a pointer to a unixFile. If the unixFile->iBusyTimeout +** value is set, then it is the number of milliseconds to wait before +** failing the lock. The iBusyTimeout value is always reset back to +** zero on each call. +** +** If SQLITE_ENABLE_SETLK_TIMEOUT is not defined, then do a non-blocking +** attempt to set the lock. +*/ +#ifndef SQLITE_ENABLE_SETLK_TIMEOUT +# define osSetPosixAdvisoryLock(h,x,t) osFcntl(h,F_SETLK,x) +#else +static int osSetPosixAdvisoryLock( + int h, /* The file descriptor on which to take the lock */ + struct flock *pLock, /* The description of the lock */ + unixFile *pFile /* Structure holding timeout value */ +){ + int rc = osFcntl(h,F_SETLK,pLock); + while( rc<0 && pFile->iBusyTimeout>0 ){ + /* On systems that support some kind of blocking file lock with a timeout, + ** make appropriate changes here to invoke that blocking file lock. On + ** generic posix, however, there is no such API. So we simply try the + ** lock once every millisecond until either the timeout expires, or until + ** the lock is obtained. */ + usleep(1000); + rc = osFcntl(h,F_SETLK,pLock); + pFile->iBusyTimeout--; + } + return rc; +} +#endif /* SQLITE_ENABLE_SETLK_TIMEOUT */ + + +/* +** Attempt to set a system-lock on the file pFile. The lock is +** described by pLock. +** +** If the pFile was opened read/write from unix-excl, then the only lock +** ever obtained is an exclusive lock, and it is obtained exactly once +** the first time any lock is attempted. All subsequent system locking +** operations become no-ops. Locking operations still happen internally, +** in order to coordinate access between separate database connections +** within this process, but all of that is handled in memory and the +** operating system does not participate. +** +** This function is a pass-through to fcntl(F_SETLK) if pFile is using +** any VFS other than "unix-excl" or if pFile is opened on "unix-excl" +** and is read-only. +** +** Zero is returned if the call completes successfully, or -1 if a call +** to fcntl() fails. In this case, errno is set appropriately (by fcntl()). +*/ +static int unixFileLock(unixFile *pFile, struct flock *pLock){ + int rc; + unixInodeInfo *pInode = pFile->pInode; + assert( pInode!=0 ); + assert( sqlite3_mutex_held(pInode->pLockMutex) ); + if( (pFile->ctrlFlags & (UNIXFILE_EXCL|UNIXFILE_RDONLY))==UNIXFILE_EXCL ){ + if( pInode->bProcessLock==0 ){ + struct flock lock; + assert( pInode->nLock==0 ); + lock.l_whence = SEEK_SET; + lock.l_start = SHARED_FIRST; + lock.l_len = SHARED_SIZE; + lock.l_type = F_WRLCK; + rc = osSetPosixAdvisoryLock(pFile->h, &lock, pFile); + if( rc<0 ) return rc; + pInode->bProcessLock = 1; + pInode->nLock++; + }else{ + rc = 0; + } + }else{ + rc = osSetPosixAdvisoryLock(pFile->h, pLock, pFile); + } + return rc; +} + +/* +** Lock the file with the lock specified by parameter eFileLock - one +** of the following: +** +** (1) SHARED_LOCK +** (2) RESERVED_LOCK +** (3) PENDING_LOCK +** (4) EXCLUSIVE_LOCK +** +** Sometimes when requesting one lock state, additional lock states +** are inserted in between. The locking might fail on one of the later +** transitions leaving the lock state different from what it started but +** still short of its goal. The following chart shows the allowed +** transitions and the inserted intermediate states: +** +** UNLOCKED -> SHARED +** SHARED -> RESERVED +** SHARED -> (PENDING) -> EXCLUSIVE +** RESERVED -> (PENDING) -> EXCLUSIVE +** PENDING -> EXCLUSIVE +** +** This routine will only increase a lock. Use the sqlite3OsUnlock() +** routine to lower a locking level. +*/ +static int unixLock(sqlite3_file *id, int eFileLock){ + /* The following describes the implementation of the various locks and + ** lock transitions in terms of the POSIX advisory shared and exclusive + ** lock primitives (called read-locks and write-locks below, to avoid + ** confusion with SQLite lock names). The algorithms are complicated + ** slightly in order to be compatible with Windows95 systems simultaneously + ** accessing the same database file, in case that is ever required. + ** + ** Symbols defined in os.h indentify the 'pending byte' and the 'reserved + ** byte', each single bytes at well known offsets, and the 'shared byte + ** range', a range of 510 bytes at a well known offset. + ** + ** To obtain a SHARED lock, a read-lock is obtained on the 'pending + ** byte'. If this is successful, 'shared byte range' is read-locked + ** and the lock on the 'pending byte' released. (Legacy note: When + ** SQLite was first developed, Windows95 systems were still very common, + ** and Widnows95 lacks a shared-lock capability. So on Windows95, a + ** single randomly selected by from the 'shared byte range' is locked. + ** Windows95 is now pretty much extinct, but this work-around for the + ** lack of shared-locks on Windows95 lives on, for backwards + ** compatibility.) + ** + ** A process may only obtain a RESERVED lock after it has a SHARED lock. + ** A RESERVED lock is implemented by grabbing a write-lock on the + ** 'reserved byte'. + ** + ** A process may only obtain a PENDING lock after it has obtained a + ** SHARED lock. A PENDING lock is implemented by obtaining a write-lock + ** on the 'pending byte'. This ensures that no new SHARED locks can be + ** obtained, but existing SHARED locks are allowed to persist. A process + ** does not have to obtain a RESERVED lock on the way to a PENDING lock. + ** This property is used by the algorithm for rolling back a journal file + ** after a crash. + ** + ** An EXCLUSIVE lock, obtained after a PENDING lock is held, is + ** implemented by obtaining a write-lock on the entire 'shared byte + ** range'. Since all other locks require a read-lock on one of the bytes + ** within this range, this ensures that no other locks are held on the + ** database. + */ + int rc = SQLITE_OK; + unixFile *pFile = (unixFile*)id; + unixInodeInfo *pInode; + struct flock lock; + int tErrno = 0; + + assert( pFile ); + OSTRACE(("LOCK %d %s was %s(%s,%d) pid=%d (unix)\n", pFile->h, + azFileLock(eFileLock), azFileLock(pFile->eFileLock), + azFileLock(pFile->pInode->eFileLock), pFile->pInode->nShared, + osGetpid(0))); + + /* If there is already a lock of this type or more restrictive on the + ** unixFile, do nothing. Don't use the end_lock: exit path, as + ** unixEnterMutex() hasn't been called yet. + */ + if( pFile->eFileLock>=eFileLock ){ + OSTRACE(("LOCK %d %s ok (already held) (unix)\n", pFile->h, + azFileLock(eFileLock))); + return SQLITE_OK; + } + + /* Make sure the locking sequence is correct. + ** (1) We never move from unlocked to anything higher than shared lock. + ** (2) SQLite never explicitly requests a pendig lock. + ** (3) A shared lock is always held when a reserve lock is requested. + */ + assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK ); + assert( eFileLock!=PENDING_LOCK ); + assert( eFileLock!=RESERVED_LOCK || pFile->eFileLock==SHARED_LOCK ); + + /* This mutex is needed because pFile->pInode is shared across threads + */ + pInode = pFile->pInode; + sqlite3_mutex_enter(pInode->pLockMutex); + + /* If some thread using this PID has a lock via a different unixFile* + ** handle that precludes the requested lock, return BUSY. + */ + if( (pFile->eFileLock!=pInode->eFileLock && + (pInode->eFileLock>=PENDING_LOCK || eFileLock>SHARED_LOCK)) + ){ + rc = SQLITE_BUSY; + goto end_lock; + } + + /* If a SHARED lock is requested, and some thread using this PID already + ** has a SHARED or RESERVED lock, then increment reference counts and + ** return SQLITE_OK. + */ + if( eFileLock==SHARED_LOCK && + (pInode->eFileLock==SHARED_LOCK || pInode->eFileLock==RESERVED_LOCK) ){ + assert( eFileLock==SHARED_LOCK ); + assert( pFile->eFileLock==0 ); + assert( pInode->nShared>0 ); + pFile->eFileLock = SHARED_LOCK; + pInode->nShared++; + pInode->nLock++; + goto end_lock; + } + + + /* A PENDING lock is needed before acquiring a SHARED lock and before + ** acquiring an EXCLUSIVE lock. For the SHARED lock, the PENDING will + ** be released. + */ + lock.l_len = 1L; + lock.l_whence = SEEK_SET; + if( eFileLock==SHARED_LOCK + || (eFileLock==EXCLUSIVE_LOCK && pFile->eFileLocknShared==0 ); + assert( pInode->eFileLock==0 ); + assert( rc==SQLITE_OK ); + + /* Now get the read-lock */ + lock.l_start = SHARED_FIRST; + lock.l_len = SHARED_SIZE; + if( unixFileLock(pFile, &lock) ){ + tErrno = errno; + rc = sqliteErrorFromPosixError(tErrno, SQLITE_IOERR_LOCK); + } + + /* Drop the temporary PENDING lock */ + lock.l_start = PENDING_BYTE; + lock.l_len = 1L; + lock.l_type = F_UNLCK; + if( unixFileLock(pFile, &lock) && rc==SQLITE_OK ){ + /* This could happen with a network mount */ + tErrno = errno; + rc = SQLITE_IOERR_UNLOCK; + } + + if( rc ){ + if( rc!=SQLITE_BUSY ){ + storeLastErrno(pFile, tErrno); + } + goto end_lock; + }else{ + pFile->eFileLock = SHARED_LOCK; + pInode->nLock++; + pInode->nShared = 1; + } + }else if( eFileLock==EXCLUSIVE_LOCK && pInode->nShared>1 ){ + /* We are trying for an exclusive lock but another thread in this + ** same process is still holding a shared lock. */ + rc = SQLITE_BUSY; + }else{ + /* The request was for a RESERVED or EXCLUSIVE lock. It is + ** assumed that there is a SHARED or greater lock on the file + ** already. + */ + assert( 0!=pFile->eFileLock ); + lock.l_type = F_WRLCK; + + assert( eFileLock==RESERVED_LOCK || eFileLock==EXCLUSIVE_LOCK ); + if( eFileLock==RESERVED_LOCK ){ + lock.l_start = RESERVED_BYTE; + lock.l_len = 1L; + }else{ + lock.l_start = SHARED_FIRST; + lock.l_len = SHARED_SIZE; + } + + if( unixFileLock(pFile, &lock) ){ + tErrno = errno; + rc = sqliteErrorFromPosixError(tErrno, SQLITE_IOERR_LOCK); + if( rc!=SQLITE_BUSY ){ + storeLastErrno(pFile, tErrno); + } + } + } + + +#ifdef SQLITE_DEBUG + /* Set up the transaction-counter change checking flags when + ** transitioning from a SHARED to a RESERVED lock. The change + ** from SHARED to RESERVED marks the beginning of a normal + ** write operation (not a hot journal rollback). + */ + if( rc==SQLITE_OK + && pFile->eFileLock<=SHARED_LOCK + && eFileLock==RESERVED_LOCK + ){ + pFile->transCntrChng = 0; + pFile->dbUpdate = 0; + pFile->inNormalWrite = 1; + } +#endif + + + if( rc==SQLITE_OK ){ + pFile->eFileLock = eFileLock; + pInode->eFileLock = eFileLock; + }else if( eFileLock==EXCLUSIVE_LOCK ){ + pFile->eFileLock = PENDING_LOCK; + pInode->eFileLock = PENDING_LOCK; + } + +end_lock: + sqlite3_mutex_leave(pInode->pLockMutex); + OSTRACE(("LOCK %d %s %s (unix)\n", pFile->h, azFileLock(eFileLock), + rc==SQLITE_OK ? "ok" : "failed")); + return rc; +} + +/* +** Add the file descriptor used by file handle pFile to the corresponding +** pUnused list. +*/ +static void setPendingFd(unixFile *pFile){ + unixInodeInfo *pInode = pFile->pInode; + UnixUnusedFd *p = pFile->pPreallocatedUnused; + assert( unixFileMutexHeld(pFile) ); + p->pNext = pInode->pUnused; + pInode->pUnused = p; + pFile->h = -1; + pFile->pPreallocatedUnused = 0; +} + +/* +** Lower the locking level on file descriptor pFile to eFileLock. eFileLock +** must be either NO_LOCK or SHARED_LOCK. +** +** If the locking level of the file descriptor is already at or below +** the requested locking level, this routine is a no-op. +** +** If handleNFSUnlock is true, then on downgrading an EXCLUSIVE_LOCK to SHARED +** the byte range is divided into 2 parts and the first part is unlocked then +** set to a read lock, then the other part is simply unlocked. This works +** around a bug in BSD NFS lockd (also seen on MacOSX 10.3+) that fails to +** remove the write lock on a region when a read lock is set. +*/ +static int posixUnlock(sqlite3_file *id, int eFileLock, int handleNFSUnlock){ + unixFile *pFile = (unixFile*)id; + unixInodeInfo *pInode; + struct flock lock; + int rc = SQLITE_OK; + + assert( pFile ); + OSTRACE(("UNLOCK %d %d was %d(%d,%d) pid=%d (unix)\n", pFile->h, eFileLock, + pFile->eFileLock, pFile->pInode->eFileLock, pFile->pInode->nShared, + osGetpid(0))); + + assert( eFileLock<=SHARED_LOCK ); + if( pFile->eFileLock<=eFileLock ){ + return SQLITE_OK; + } + pInode = pFile->pInode; + sqlite3_mutex_enter(pInode->pLockMutex); + assert( pInode->nShared!=0 ); + if( pFile->eFileLock>SHARED_LOCK ){ + assert( pInode->eFileLock==pFile->eFileLock ); + +#ifdef SQLITE_DEBUG + /* When reducing a lock such that other processes can start + ** reading the database file again, make sure that the + ** transaction counter was updated if any part of the database + ** file changed. If the transaction counter is not updated, + ** other connections to the same file might not realize that + ** the file has changed and hence might not know to flush their + ** cache. The use of a stale cache can lead to database corruption. + */ + pFile->inNormalWrite = 0; +#endif + + /* downgrading to a shared lock on NFS involves clearing the write lock + ** before establishing the readlock - to avoid a race condition we downgrade + ** the lock in 2 blocks, so that part of the range will be covered by a + ** write lock until the rest is covered by a read lock: + ** 1: [WWWWW] + ** 2: [....W] + ** 3: [RRRRW] + ** 4: [RRRR.] + */ + if( eFileLock==SHARED_LOCK ){ +#if !defined(__APPLE__) || !SQLITE_ENABLE_LOCKING_STYLE + (void)handleNFSUnlock; + assert( handleNFSUnlock==0 ); +#endif +#if defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE + if( handleNFSUnlock ){ + int tErrno; /* Error code from system call errors */ + off_t divSize = SHARED_SIZE - 1; + + lock.l_type = F_UNLCK; + lock.l_whence = SEEK_SET; + lock.l_start = SHARED_FIRST; + lock.l_len = divSize; + if( unixFileLock(pFile, &lock)==(-1) ){ + tErrno = errno; + rc = SQLITE_IOERR_UNLOCK; + storeLastErrno(pFile, tErrno); + goto end_unlock; + } + lock.l_type = F_RDLCK; + lock.l_whence = SEEK_SET; + lock.l_start = SHARED_FIRST; + lock.l_len = divSize; + if( unixFileLock(pFile, &lock)==(-1) ){ + tErrno = errno; + rc = sqliteErrorFromPosixError(tErrno, SQLITE_IOERR_RDLOCK); + if( IS_LOCK_ERROR(rc) ){ + storeLastErrno(pFile, tErrno); + } + goto end_unlock; + } + lock.l_type = F_UNLCK; + lock.l_whence = SEEK_SET; + lock.l_start = SHARED_FIRST+divSize; + lock.l_len = SHARED_SIZE-divSize; + if( unixFileLock(pFile, &lock)==(-1) ){ + tErrno = errno; + rc = SQLITE_IOERR_UNLOCK; + storeLastErrno(pFile, tErrno); + goto end_unlock; + } + }else +#endif /* defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE */ + { + lock.l_type = F_RDLCK; + lock.l_whence = SEEK_SET; + lock.l_start = SHARED_FIRST; + lock.l_len = SHARED_SIZE; + if( unixFileLock(pFile, &lock) ){ + /* In theory, the call to unixFileLock() cannot fail because another + ** process is holding an incompatible lock. If it does, this + ** indicates that the other process is not following the locking + ** protocol. If this happens, return SQLITE_IOERR_RDLOCK. Returning + ** SQLITE_BUSY would confuse the upper layer (in practice it causes + ** an assert to fail). */ + rc = SQLITE_IOERR_RDLOCK; + storeLastErrno(pFile, errno); + goto end_unlock; + } + } + } + lock.l_type = F_UNLCK; + lock.l_whence = SEEK_SET; + lock.l_start = PENDING_BYTE; + lock.l_len = 2L; assert( PENDING_BYTE+1==RESERVED_BYTE ); + if( unixFileLock(pFile, &lock)==0 ){ + pInode->eFileLock = SHARED_LOCK; + }else{ + rc = SQLITE_IOERR_UNLOCK; + storeLastErrno(pFile, errno); + goto end_unlock; + } + } + if( eFileLock==NO_LOCK ){ + /* Decrement the shared lock counter. Release the lock using an + ** OS call only when all threads in this same process have released + ** the lock. + */ + pInode->nShared--; + if( pInode->nShared==0 ){ + lock.l_type = F_UNLCK; + lock.l_whence = SEEK_SET; + lock.l_start = lock.l_len = 0L; + if( unixFileLock(pFile, &lock)==0 ){ + pInode->eFileLock = NO_LOCK; + }else{ + rc = SQLITE_IOERR_UNLOCK; + storeLastErrno(pFile, errno); + pInode->eFileLock = NO_LOCK; + pFile->eFileLock = NO_LOCK; + } + } + + /* Decrement the count of locks against this same file. When the + ** count reaches zero, close any other file descriptors whose close + ** was deferred because of outstanding locks. + */ + pInode->nLock--; + assert( pInode->nLock>=0 ); + if( pInode->nLock==0 ) closePendingFds(pFile); + } + +end_unlock: + sqlite3_mutex_leave(pInode->pLockMutex); + if( rc==SQLITE_OK ){ + pFile->eFileLock = eFileLock; + } + return rc; +} + +/* +** Lower the locking level on file descriptor pFile to eFileLock. eFileLock +** must be either NO_LOCK or SHARED_LOCK. +** +** If the locking level of the file descriptor is already at or below +** the requested locking level, this routine is a no-op. +*/ +static int unixUnlock(sqlite3_file *id, int eFileLock){ +#if SQLITE_MAX_MMAP_SIZE>0 + assert( eFileLock==SHARED_LOCK || ((unixFile *)id)->nFetchOut==0 ); +#endif + return posixUnlock(id, eFileLock, 0); +} + +#if SQLITE_MAX_MMAP_SIZE>0 +static int unixMapfile(unixFile *pFd, i64 nByte); +static void unixUnmapfile(unixFile *pFd); +#endif + +/* +** This function performs the parts of the "close file" operation +** common to all locking schemes. It closes the directory and file +** handles, if they are valid, and sets all fields of the unixFile +** structure to 0. +** +** It is *not* necessary to hold the mutex when this routine is called, +** even on VxWorks. A mutex will be acquired on VxWorks by the +** vxworksReleaseFileId() routine. +*/ +static int closeUnixFile(sqlite3_file *id){ + unixFile *pFile = (unixFile*)id; +#if SQLITE_MAX_MMAP_SIZE>0 + unixUnmapfile(pFile); +#endif + if( pFile->h>=0 ){ + robust_close(pFile, pFile->h, __LINE__); + pFile->h = -1; + } +#if OS_VXWORKS + if( pFile->pId ){ + if( pFile->ctrlFlags & UNIXFILE_DELETE ){ + osUnlink(pFile->pId->zCanonicalName); + } + vxworksReleaseFileId(pFile->pId); + pFile->pId = 0; + } +#endif +#ifdef SQLITE_UNLINK_AFTER_CLOSE + if( pFile->ctrlFlags & UNIXFILE_DELETE ){ + osUnlink(pFile->zPath); + sqlite3_free(*(char**)&pFile->zPath); + pFile->zPath = 0; + } +#endif + OSTRACE(("CLOSE %-3d\n", pFile->h)); + OpenCounter(-1); + sqlite3_free(pFile->pPreallocatedUnused); + memset(pFile, 0, sizeof(unixFile)); + return SQLITE_OK; +} + +/* +** Close a file. +*/ +static int unixClose(sqlite3_file *id){ + int rc = SQLITE_OK; + unixFile *pFile = (unixFile *)id; + unixInodeInfo *pInode = pFile->pInode; + + assert( pInode!=0 ); + verifyDbFile(pFile); + unixUnlock(id, NO_LOCK); + assert( unixFileMutexNotheld(pFile) ); + unixEnterMutex(); + + /* unixFile.pInode is always valid here. Otherwise, a different close + ** routine (e.g. nolockClose()) would be called instead. + */ + assert( pFile->pInode->nLock>0 || pFile->pInode->bProcessLock==0 ); + sqlite3_mutex_enter(pInode->pLockMutex); + if( pInode->nLock ){ + /* If there are outstanding locks, do not actually close the file just + ** yet because that would clear those locks. Instead, add the file + ** descriptor to pInode->pUnused list. It will be automatically closed + ** when the last lock is cleared. + */ + setPendingFd(pFile); + } + sqlite3_mutex_leave(pInode->pLockMutex); + releaseInodeInfo(pFile); + rc = closeUnixFile(id); + unixLeaveMutex(); + return rc; +} + +/************** End of the posix advisory lock implementation ***************** +******************************************************************************/ + +/****************************************************************************** +****************************** No-op Locking ********************************** +** +** Of the various locking implementations available, this is by far the +** simplest: locking is ignored. No attempt is made to lock the database +** file for reading or writing. +** +** This locking mode is appropriate for use on read-only databases +** (ex: databases that are burned into CD-ROM, for example.) It can +** also be used if the application employs some external mechanism to +** prevent simultaneous access of the same database by two or more +** database connections. But there is a serious risk of database +** corruption if this locking mode is used in situations where multiple +** database connections are accessing the same database file at the same +** time and one or more of those connections are writing. +*/ + +static int nolockCheckReservedLock(sqlite3_file *NotUsed, int *pResOut){ + UNUSED_PARAMETER(NotUsed); + *pResOut = 0; + return SQLITE_OK; +} +static int nolockLock(sqlite3_file *NotUsed, int NotUsed2){ + UNUSED_PARAMETER2(NotUsed, NotUsed2); + return SQLITE_OK; +} +static int nolockUnlock(sqlite3_file *NotUsed, int NotUsed2){ + UNUSED_PARAMETER2(NotUsed, NotUsed2); + return SQLITE_OK; +} + +/* +** Close the file. +*/ +static int nolockClose(sqlite3_file *id) { + return closeUnixFile(id); +} + +/******************* End of the no-op lock implementation ********************* +******************************************************************************/ + +/****************************************************************************** +************************* Begin dot-file Locking ****************************** +** +** The dotfile locking implementation uses the existence of separate lock +** files (really a directory) to control access to the database. This works +** on just about every filesystem imaginable. But there are serious downsides: +** +** (1) There is zero concurrency. A single reader blocks all other +** connections from reading or writing the database. +** +** (2) An application crash or power loss can leave stale lock files +** sitting around that need to be cleared manually. +** +** Nevertheless, a dotlock is an appropriate locking mode for use if no +** other locking strategy is available. +** +** Dotfile locking works by creating a subdirectory in the same directory as +** the database and with the same name but with a ".lock" extension added. +** The existence of a lock directory implies an EXCLUSIVE lock. All other +** lock types (SHARED, RESERVED, PENDING) are mapped into EXCLUSIVE. +*/ + +/* +** The file suffix added to the data base filename in order to create the +** lock directory. +*/ +#define DOTLOCK_SUFFIX ".lock" + +/* +** This routine checks if there is a RESERVED lock held on the specified +** file by this or any other process. If such a lock is held, set *pResOut +** to a non-zero value otherwise *pResOut is set to zero. The return value +** is set to SQLITE_OK unless an I/O error occurs during lock checking. +** +** In dotfile locking, either a lock exists or it does not. So in this +** variation of CheckReservedLock(), *pResOut is set to true if any lock +** is held on the file and false if the file is unlocked. +*/ +static int dotlockCheckReservedLock(sqlite3_file *id, int *pResOut) { + int rc = SQLITE_OK; + int reserved = 0; + unixFile *pFile = (unixFile*)id; + + SimulateIOError( return SQLITE_IOERR_CHECKRESERVEDLOCK; ); + + assert( pFile ); + reserved = osAccess((const char*)pFile->lockingContext, 0)==0; + OSTRACE(("TEST WR-LOCK %d %d %d (dotlock)\n", pFile->h, rc, reserved)); + *pResOut = reserved; + return rc; +} + +/* +** Lock the file with the lock specified by parameter eFileLock - one +** of the following: +** +** (1) SHARED_LOCK +** (2) RESERVED_LOCK +** (3) PENDING_LOCK +** (4) EXCLUSIVE_LOCK +** +** Sometimes when requesting one lock state, additional lock states +** are inserted in between. The locking might fail on one of the later +** transitions leaving the lock state different from what it started but +** still short of its goal. The following chart shows the allowed +** transitions and the inserted intermediate states: +** +** UNLOCKED -> SHARED +** SHARED -> RESERVED +** SHARED -> (PENDING) -> EXCLUSIVE +** RESERVED -> (PENDING) -> EXCLUSIVE +** PENDING -> EXCLUSIVE +** +** This routine will only increase a lock. Use the sqlite3OsUnlock() +** routine to lower a locking level. +** +** With dotfile locking, we really only support state (4): EXCLUSIVE. +** But we track the other locking levels internally. +*/ +static int dotlockLock(sqlite3_file *id, int eFileLock) { + unixFile *pFile = (unixFile*)id; + char *zLockFile = (char *)pFile->lockingContext; + int rc = SQLITE_OK; + + + /* If we have any lock, then the lock file already exists. All we have + ** to do is adjust our internal record of the lock level. + */ + if( pFile->eFileLock > NO_LOCK ){ + pFile->eFileLock = eFileLock; + /* Always update the timestamp on the old file */ +#ifdef HAVE_UTIME + utime(zLockFile, NULL); +#else + utimes(zLockFile, NULL); +#endif + return SQLITE_OK; + } + + /* grab an exclusive lock */ + rc = osMkdir(zLockFile, 0777); + if( rc<0 ){ + /* failed to open/create the lock directory */ + int tErrno = errno; + if( EEXIST == tErrno ){ + rc = SQLITE_BUSY; + } else { + rc = sqliteErrorFromPosixError(tErrno, SQLITE_IOERR_LOCK); + if( rc!=SQLITE_BUSY ){ + storeLastErrno(pFile, tErrno); + } + } + return rc; + } + + /* got it, set the type and return ok */ + pFile->eFileLock = eFileLock; + return rc; +} + +/* +** Lower the locking level on file descriptor pFile to eFileLock. eFileLock +** must be either NO_LOCK or SHARED_LOCK. +** +** If the locking level of the file descriptor is already at or below +** the requested locking level, this routine is a no-op. +** +** When the locking level reaches NO_LOCK, delete the lock file. +*/ +static int dotlockUnlock(sqlite3_file *id, int eFileLock) { + unixFile *pFile = (unixFile*)id; + char *zLockFile = (char *)pFile->lockingContext; + int rc; + + assert( pFile ); + OSTRACE(("UNLOCK %d %d was %d pid=%d (dotlock)\n", pFile->h, eFileLock, + pFile->eFileLock, osGetpid(0))); + assert( eFileLock<=SHARED_LOCK ); + + /* no-op if possible */ + if( pFile->eFileLock==eFileLock ){ + return SQLITE_OK; + } + + /* To downgrade to shared, simply update our internal notion of the + ** lock state. No need to mess with the file on disk. + */ + if( eFileLock==SHARED_LOCK ){ + pFile->eFileLock = SHARED_LOCK; + return SQLITE_OK; + } + + /* To fully unlock the database, delete the lock file */ + assert( eFileLock==NO_LOCK ); + rc = osRmdir(zLockFile); + if( rc<0 ){ + int tErrno = errno; + if( tErrno==ENOENT ){ + rc = SQLITE_OK; + }else{ + rc = SQLITE_IOERR_UNLOCK; + storeLastErrno(pFile, tErrno); + } + return rc; + } + pFile->eFileLock = NO_LOCK; + return SQLITE_OK; +} + +/* +** Close a file. Make sure the lock has been released before closing. +*/ +static int dotlockClose(sqlite3_file *id) { + unixFile *pFile = (unixFile*)id; + assert( id!=0 ); + dotlockUnlock(id, NO_LOCK); + sqlite3_free(pFile->lockingContext); + return closeUnixFile(id); +} +/****************** End of the dot-file lock implementation ******************* +******************************************************************************/ + +/****************************************************************************** +************************** Begin flock Locking ******************************** +** +** Use the flock() system call to do file locking. +** +** flock() locking is like dot-file locking in that the various +** fine-grain locking levels supported by SQLite are collapsed into +** a single exclusive lock. In other words, SHARED, RESERVED, and +** PENDING locks are the same thing as an EXCLUSIVE lock. SQLite +** still works when you do this, but concurrency is reduced since +** only a single process can be reading the database at a time. +** +** Omit this section if SQLITE_ENABLE_LOCKING_STYLE is turned off +*/ +#if SQLITE_ENABLE_LOCKING_STYLE + +/* +** Retry flock() calls that fail with EINTR +*/ +#ifdef EINTR +static int robust_flock(int fd, int op){ + int rc; + do{ rc = flock(fd,op); }while( rc<0 && errno==EINTR ); + return rc; +} +#else +# define robust_flock(a,b) flock(a,b) +#endif + + +/* +** This routine checks if there is a RESERVED lock held on the specified +** file by this or any other process. If such a lock is held, set *pResOut +** to a non-zero value otherwise *pResOut is set to zero. The return value +** is set to SQLITE_OK unless an I/O error occurs during lock checking. +*/ +static int flockCheckReservedLock(sqlite3_file *id, int *pResOut){ + int rc = SQLITE_OK; + int reserved = 0; + unixFile *pFile = (unixFile*)id; + + SimulateIOError( return SQLITE_IOERR_CHECKRESERVEDLOCK; ); + + assert( pFile ); + + /* Check if a thread in this process holds such a lock */ + if( pFile->eFileLock>SHARED_LOCK ){ + reserved = 1; + } + + /* Otherwise see if some other process holds it. */ + if( !reserved ){ + /* attempt to get the lock */ + int lrc = robust_flock(pFile->h, LOCK_EX | LOCK_NB); + if( !lrc ){ + /* got the lock, unlock it */ + lrc = robust_flock(pFile->h, LOCK_UN); + if ( lrc ) { + int tErrno = errno; + /* unlock failed with an error */ + lrc = SQLITE_IOERR_UNLOCK; + storeLastErrno(pFile, tErrno); + rc = lrc; + } + } else { + int tErrno = errno; + reserved = 1; + /* someone else might have it reserved */ + lrc = sqliteErrorFromPosixError(tErrno, SQLITE_IOERR_LOCK); + if( IS_LOCK_ERROR(lrc) ){ + storeLastErrno(pFile, tErrno); + rc = lrc; + } + } + } + OSTRACE(("TEST WR-LOCK %d %d %d (flock)\n", pFile->h, rc, reserved)); + +#ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS + if( (rc & 0xff) == SQLITE_IOERR ){ + rc = SQLITE_OK; + reserved=1; + } +#endif /* SQLITE_IGNORE_FLOCK_LOCK_ERRORS */ + *pResOut = reserved; + return rc; +} + +/* +** Lock the file with the lock specified by parameter eFileLock - one +** of the following: +** +** (1) SHARED_LOCK +** (2) RESERVED_LOCK +** (3) PENDING_LOCK +** (4) EXCLUSIVE_LOCK +** +** Sometimes when requesting one lock state, additional lock states +** are inserted in between. The locking might fail on one of the later +** transitions leaving the lock state different from what it started but +** still short of its goal. The following chart shows the allowed +** transitions and the inserted intermediate states: +** +** UNLOCKED -> SHARED +** SHARED -> RESERVED +** SHARED -> (PENDING) -> EXCLUSIVE +** RESERVED -> (PENDING) -> EXCLUSIVE +** PENDING -> EXCLUSIVE +** +** flock() only really support EXCLUSIVE locks. We track intermediate +** lock states in the sqlite3_file structure, but all locks SHARED or +** above are really EXCLUSIVE locks and exclude all other processes from +** access the file. +** +** This routine will only increase a lock. Use the sqlite3OsUnlock() +** routine to lower a locking level. +*/ +static int flockLock(sqlite3_file *id, int eFileLock) { + int rc = SQLITE_OK; + unixFile *pFile = (unixFile*)id; + + assert( pFile ); + + /* if we already have a lock, it is exclusive. + ** Just adjust level and punt on outta here. */ + if (pFile->eFileLock > NO_LOCK) { + pFile->eFileLock = eFileLock; + return SQLITE_OK; + } + + /* grab an exclusive lock */ + + if (robust_flock(pFile->h, LOCK_EX | LOCK_NB)) { + int tErrno = errno; + /* didn't get, must be busy */ + rc = sqliteErrorFromPosixError(tErrno, SQLITE_IOERR_LOCK); + if( IS_LOCK_ERROR(rc) ){ + storeLastErrno(pFile, tErrno); + } + } else { + /* got it, set the type and return ok */ + pFile->eFileLock = eFileLock; + } + OSTRACE(("LOCK %d %s %s (flock)\n", pFile->h, azFileLock(eFileLock), + rc==SQLITE_OK ? "ok" : "failed")); +#ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS + if( (rc & 0xff) == SQLITE_IOERR ){ + rc = SQLITE_BUSY; + } +#endif /* SQLITE_IGNORE_FLOCK_LOCK_ERRORS */ + return rc; +} + + +/* +** Lower the locking level on file descriptor pFile to eFileLock. eFileLock +** must be either NO_LOCK or SHARED_LOCK. +** +** If the locking level of the file descriptor is already at or below +** the requested locking level, this routine is a no-op. +*/ +static int flockUnlock(sqlite3_file *id, int eFileLock) { + unixFile *pFile = (unixFile*)id; + + assert( pFile ); + OSTRACE(("UNLOCK %d %d was %d pid=%d (flock)\n", pFile->h, eFileLock, + pFile->eFileLock, osGetpid(0))); + assert( eFileLock<=SHARED_LOCK ); + + /* no-op if possible */ + if( pFile->eFileLock==eFileLock ){ + return SQLITE_OK; + } + + /* shared can just be set because we always have an exclusive */ + if (eFileLock==SHARED_LOCK) { + pFile->eFileLock = eFileLock; + return SQLITE_OK; + } + + /* no, really, unlock. */ + if( robust_flock(pFile->h, LOCK_UN) ){ +#ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS + return SQLITE_OK; +#endif /* SQLITE_IGNORE_FLOCK_LOCK_ERRORS */ + return SQLITE_IOERR_UNLOCK; + }else{ + pFile->eFileLock = NO_LOCK; + return SQLITE_OK; + } +} + +/* +** Close a file. +*/ +static int flockClose(sqlite3_file *id) { + assert( id!=0 ); + flockUnlock(id, NO_LOCK); + return closeUnixFile(id); +} + +#endif /* SQLITE_ENABLE_LOCKING_STYLE && !OS_VXWORK */ + +/******************* End of the flock lock implementation ********************* +******************************************************************************/ + +/****************************************************************************** +************************ Begin Named Semaphore Locking ************************ +** +** Named semaphore locking is only supported on VxWorks. +** +** Semaphore locking is like dot-lock and flock in that it really only +** supports EXCLUSIVE locking. Only a single process can read or write +** the database file at a time. This reduces potential concurrency, but +** makes the lock implementation much easier. +*/ +#if OS_VXWORKS + +/* +** This routine checks if there is a RESERVED lock held on the specified +** file by this or any other process. If such a lock is held, set *pResOut +** to a non-zero value otherwise *pResOut is set to zero. The return value +** is set to SQLITE_OK unless an I/O error occurs during lock checking. +*/ +static int semXCheckReservedLock(sqlite3_file *id, int *pResOut) { + int rc = SQLITE_OK; + int reserved = 0; + unixFile *pFile = (unixFile*)id; + + SimulateIOError( return SQLITE_IOERR_CHECKRESERVEDLOCK; ); + + assert( pFile ); + + /* Check if a thread in this process holds such a lock */ + if( pFile->eFileLock>SHARED_LOCK ){ + reserved = 1; + } + + /* Otherwise see if some other process holds it. */ + if( !reserved ){ + sem_t *pSem = pFile->pInode->pSem; + + if( sem_trywait(pSem)==-1 ){ + int tErrno = errno; + if( EAGAIN != tErrno ){ + rc = sqliteErrorFromPosixError(tErrno, SQLITE_IOERR_CHECKRESERVEDLOCK); + storeLastErrno(pFile, tErrno); + } else { + /* someone else has the lock when we are in NO_LOCK */ + reserved = (pFile->eFileLock < SHARED_LOCK); + } + }else{ + /* we could have it if we want it */ + sem_post(pSem); + } + } + OSTRACE(("TEST WR-LOCK %d %d %d (sem)\n", pFile->h, rc, reserved)); + + *pResOut = reserved; + return rc; +} + +/* +** Lock the file with the lock specified by parameter eFileLock - one +** of the following: +** +** (1) SHARED_LOCK +** (2) RESERVED_LOCK +** (3) PENDING_LOCK +** (4) EXCLUSIVE_LOCK +** +** Sometimes when requesting one lock state, additional lock states +** are inserted in between. The locking might fail on one of the later +** transitions leaving the lock state different from what it started but +** still short of its goal. The following chart shows the allowed +** transitions and the inserted intermediate states: +** +** UNLOCKED -> SHARED +** SHARED -> RESERVED +** SHARED -> (PENDING) -> EXCLUSIVE +** RESERVED -> (PENDING) -> EXCLUSIVE +** PENDING -> EXCLUSIVE +** +** Semaphore locks only really support EXCLUSIVE locks. We track intermediate +** lock states in the sqlite3_file structure, but all locks SHARED or +** above are really EXCLUSIVE locks and exclude all other processes from +** access the file. +** +** This routine will only increase a lock. Use the sqlite3OsUnlock() +** routine to lower a locking level. +*/ +static int semXLock(sqlite3_file *id, int eFileLock) { + unixFile *pFile = (unixFile*)id; + sem_t *pSem = pFile->pInode->pSem; + int rc = SQLITE_OK; + + /* if we already have a lock, it is exclusive. + ** Just adjust level and punt on outta here. */ + if (pFile->eFileLock > NO_LOCK) { + pFile->eFileLock = eFileLock; + rc = SQLITE_OK; + goto sem_end_lock; + } + + /* lock semaphore now but bail out when already locked. */ + if( sem_trywait(pSem)==-1 ){ + rc = SQLITE_BUSY; + goto sem_end_lock; + } + + /* got it, set the type and return ok */ + pFile->eFileLock = eFileLock; + + sem_end_lock: + return rc; +} + +/* +** Lower the locking level on file descriptor pFile to eFileLock. eFileLock +** must be either NO_LOCK or SHARED_LOCK. +** +** If the locking level of the file descriptor is already at or below +** the requested locking level, this routine is a no-op. +*/ +static int semXUnlock(sqlite3_file *id, int eFileLock) { + unixFile *pFile = (unixFile*)id; + sem_t *pSem = pFile->pInode->pSem; + + assert( pFile ); + assert( pSem ); + OSTRACE(("UNLOCK %d %d was %d pid=%d (sem)\n", pFile->h, eFileLock, + pFile->eFileLock, osGetpid(0))); + assert( eFileLock<=SHARED_LOCK ); + + /* no-op if possible */ + if( pFile->eFileLock==eFileLock ){ + return SQLITE_OK; + } + + /* shared can just be set because we always have an exclusive */ + if (eFileLock==SHARED_LOCK) { + pFile->eFileLock = eFileLock; + return SQLITE_OK; + } + + /* no, really unlock. */ + if ( sem_post(pSem)==-1 ) { + int rc, tErrno = errno; + rc = sqliteErrorFromPosixError(tErrno, SQLITE_IOERR_UNLOCK); + if( IS_LOCK_ERROR(rc) ){ + storeLastErrno(pFile, tErrno); + } + return rc; + } + pFile->eFileLock = NO_LOCK; + return SQLITE_OK; +} + +/* + ** Close a file. + */ +static int semXClose(sqlite3_file *id) { + if( id ){ + unixFile *pFile = (unixFile*)id; + semXUnlock(id, NO_LOCK); + assert( pFile ); + assert( unixFileMutexNotheld(pFile) ); + unixEnterMutex(); + releaseInodeInfo(pFile); + unixLeaveMutex(); + closeUnixFile(id); + } + return SQLITE_OK; +} + +#endif /* OS_VXWORKS */ +/* +** Named semaphore locking is only available on VxWorks. +** +*************** End of the named semaphore lock implementation **************** +******************************************************************************/ + + +/****************************************************************************** +*************************** Begin AFP Locking ********************************* +** +** AFP is the Apple Filing Protocol. AFP is a network filesystem found +** on Apple Macintosh computers - both OS9 and OSX. +** +** Third-party implementations of AFP are available. But this code here +** only works on OSX. +*/ + +#if defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE +/* +** The afpLockingContext structure contains all afp lock specific state +*/ +typedef struct afpLockingContext afpLockingContext; +struct afpLockingContext { + int reserved; + const char *dbPath; /* Name of the open file */ +}; + +struct ByteRangeLockPB2 +{ + unsigned long long offset; /* offset to first byte to lock */ + unsigned long long length; /* nbr of bytes to lock */ + unsigned long long retRangeStart; /* nbr of 1st byte locked if successful */ + unsigned char unLockFlag; /* 1 = unlock, 0 = lock */ + unsigned char startEndFlag; /* 1=rel to end of fork, 0=rel to start */ + int fd; /* file desc to assoc this lock with */ +}; + +#define afpfsByteRangeLock2FSCTL _IOWR('z', 23, struct ByteRangeLockPB2) + +/* +** This is a utility for setting or clearing a bit-range lock on an +** AFP filesystem. +** +** Return SQLITE_OK on success, SQLITE_BUSY on failure. +*/ +static int afpSetLock( + const char *path, /* Name of the file to be locked or unlocked */ + unixFile *pFile, /* Open file descriptor on path */ + unsigned long long offset, /* First byte to be locked */ + unsigned long long length, /* Number of bytes to lock */ + int setLockFlag /* True to set lock. False to clear lock */ +){ + struct ByteRangeLockPB2 pb; + int err; + + pb.unLockFlag = setLockFlag ? 0 : 1; + pb.startEndFlag = 0; + pb.offset = offset; + pb.length = length; + pb.fd = pFile->h; + + OSTRACE(("AFPSETLOCK [%s] for %d%s in range %llx:%llx\n", + (setLockFlag?"ON":"OFF"), pFile->h, (pb.fd==-1?"[testval-1]":""), + offset, length)); + err = fsctl(path, afpfsByteRangeLock2FSCTL, &pb, 0); + if ( err==-1 ) { + int rc; + int tErrno = errno; + OSTRACE(("AFPSETLOCK failed to fsctl() '%s' %d %s\n", + path, tErrno, strerror(tErrno))); +#ifdef SQLITE_IGNORE_AFP_LOCK_ERRORS + rc = SQLITE_BUSY; +#else + rc = sqliteErrorFromPosixError(tErrno, + setLockFlag ? SQLITE_IOERR_LOCK : SQLITE_IOERR_UNLOCK); +#endif /* SQLITE_IGNORE_AFP_LOCK_ERRORS */ + if( IS_LOCK_ERROR(rc) ){ + storeLastErrno(pFile, tErrno); + } + return rc; + } else { + return SQLITE_OK; + } +} + +/* +** This routine checks if there is a RESERVED lock held on the specified +** file by this or any other process. If such a lock is held, set *pResOut +** to a non-zero value otherwise *pResOut is set to zero. The return value +** is set to SQLITE_OK unless an I/O error occurs during lock checking. +*/ +static int afpCheckReservedLock(sqlite3_file *id, int *pResOut){ + int rc = SQLITE_OK; + int reserved = 0; + unixFile *pFile = (unixFile*)id; + afpLockingContext *context; + + SimulateIOError( return SQLITE_IOERR_CHECKRESERVEDLOCK; ); + + assert( pFile ); + context = (afpLockingContext *) pFile->lockingContext; + if( context->reserved ){ + *pResOut = 1; + return SQLITE_OK; + } + sqlite3_mutex_enter(pFile->pInode->pLockMutex); + /* Check if a thread in this process holds such a lock */ + if( pFile->pInode->eFileLock>SHARED_LOCK ){ + reserved = 1; + } + + /* Otherwise see if some other process holds it. + */ + if( !reserved ){ + /* lock the RESERVED byte */ + int lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1); + if( SQLITE_OK==lrc ){ + /* if we succeeded in taking the reserved lock, unlock it to restore + ** the original state */ + lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0); + } else { + /* if we failed to get the lock then someone else must have it */ + reserved = 1; + } + if( IS_LOCK_ERROR(lrc) ){ + rc=lrc; + } + } + + sqlite3_mutex_leave(pFile->pInode->pLockMutex); + OSTRACE(("TEST WR-LOCK %d %d %d (afp)\n", pFile->h, rc, reserved)); + + *pResOut = reserved; + return rc; +} + +/* +** Lock the file with the lock specified by parameter eFileLock - one +** of the following: +** +** (1) SHARED_LOCK +** (2) RESERVED_LOCK +** (3) PENDING_LOCK +** (4) EXCLUSIVE_LOCK +** +** Sometimes when requesting one lock state, additional lock states +** are inserted in between. The locking might fail on one of the later +** transitions leaving the lock state different from what it started but +** still short of its goal. The following chart shows the allowed +** transitions and the inserted intermediate states: +** +** UNLOCKED -> SHARED +** SHARED -> RESERVED +** SHARED -> (PENDING) -> EXCLUSIVE +** RESERVED -> (PENDING) -> EXCLUSIVE +** PENDING -> EXCLUSIVE +** +** This routine will only increase a lock. Use the sqlite3OsUnlock() +** routine to lower a locking level. +*/ +static int afpLock(sqlite3_file *id, int eFileLock){ + int rc = SQLITE_OK; + unixFile *pFile = (unixFile*)id; + unixInodeInfo *pInode = pFile->pInode; + afpLockingContext *context = (afpLockingContext *) pFile->lockingContext; + + assert( pFile ); + OSTRACE(("LOCK %d %s was %s(%s,%d) pid=%d (afp)\n", pFile->h, + azFileLock(eFileLock), azFileLock(pFile->eFileLock), + azFileLock(pInode->eFileLock), pInode->nShared , osGetpid(0))); + + /* If there is already a lock of this type or more restrictive on the + ** unixFile, do nothing. Don't use the afp_end_lock: exit path, as + ** unixEnterMutex() hasn't been called yet. + */ + if( pFile->eFileLock>=eFileLock ){ + OSTRACE(("LOCK %d %s ok (already held) (afp)\n", pFile->h, + azFileLock(eFileLock))); + return SQLITE_OK; + } + + /* Make sure the locking sequence is correct + ** (1) We never move from unlocked to anything higher than shared lock. + ** (2) SQLite never explicitly requests a pendig lock. + ** (3) A shared lock is always held when a reserve lock is requested. + */ + assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK ); + assert( eFileLock!=PENDING_LOCK ); + assert( eFileLock!=RESERVED_LOCK || pFile->eFileLock==SHARED_LOCK ); + + /* This mutex is needed because pFile->pInode is shared across threads + */ + pInode = pFile->pInode; + sqlite3_mutex_enter(pInode->pLockMutex); + + /* If some thread using this PID has a lock via a different unixFile* + ** handle that precludes the requested lock, return BUSY. + */ + if( (pFile->eFileLock!=pInode->eFileLock && + (pInode->eFileLock>=PENDING_LOCK || eFileLock>SHARED_LOCK)) + ){ + rc = SQLITE_BUSY; + goto afp_end_lock; + } + + /* If a SHARED lock is requested, and some thread using this PID already + ** has a SHARED or RESERVED lock, then increment reference counts and + ** return SQLITE_OK. + */ + if( eFileLock==SHARED_LOCK && + (pInode->eFileLock==SHARED_LOCK || pInode->eFileLock==RESERVED_LOCK) ){ + assert( eFileLock==SHARED_LOCK ); + assert( pFile->eFileLock==0 ); + assert( pInode->nShared>0 ); + pFile->eFileLock = SHARED_LOCK; + pInode->nShared++; + pInode->nLock++; + goto afp_end_lock; + } + + /* A PENDING lock is needed before acquiring a SHARED lock and before + ** acquiring an EXCLUSIVE lock. For the SHARED lock, the PENDING will + ** be released. + */ + if( eFileLock==SHARED_LOCK + || (eFileLock==EXCLUSIVE_LOCK && pFile->eFileLockdbPath, pFile, PENDING_BYTE, 1, 1); + if (failed) { + rc = failed; + goto afp_end_lock; + } + } + + /* If control gets to this point, then actually go ahead and make + ** operating system calls for the specified lock. + */ + if( eFileLock==SHARED_LOCK ){ + int lrc1, lrc2, lrc1Errno = 0; + long lk, mask; + + assert( pInode->nShared==0 ); + assert( pInode->eFileLock==0 ); + + mask = (sizeof(long)==8) ? LARGEST_INT64 : 0x7fffffff; + /* Now get the read-lock SHARED_LOCK */ + /* note that the quality of the randomness doesn't matter that much */ + lk = random(); + pInode->sharedByte = (lk & mask)%(SHARED_SIZE - 1); + lrc1 = afpSetLock(context->dbPath, pFile, + SHARED_FIRST+pInode->sharedByte, 1, 1); + if( IS_LOCK_ERROR(lrc1) ){ + lrc1Errno = pFile->lastErrno; + } + /* Drop the temporary PENDING lock */ + lrc2 = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0); + + if( IS_LOCK_ERROR(lrc1) ) { + storeLastErrno(pFile, lrc1Errno); + rc = lrc1; + goto afp_end_lock; + } else if( IS_LOCK_ERROR(lrc2) ){ + rc = lrc2; + goto afp_end_lock; + } else if( lrc1 != SQLITE_OK ) { + rc = lrc1; + } else { + pFile->eFileLock = SHARED_LOCK; + pInode->nLock++; + pInode->nShared = 1; + } + }else if( eFileLock==EXCLUSIVE_LOCK && pInode->nShared>1 ){ + /* We are trying for an exclusive lock but another thread in this + ** same process is still holding a shared lock. */ + rc = SQLITE_BUSY; + }else{ + /* The request was for a RESERVED or EXCLUSIVE lock. It is + ** assumed that there is a SHARED or greater lock on the file + ** already. + */ + int failed = 0; + assert( 0!=pFile->eFileLock ); + if (eFileLock >= RESERVED_LOCK && pFile->eFileLock < RESERVED_LOCK) { + /* Acquire a RESERVED lock */ + failed = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1); + if( !failed ){ + context->reserved = 1; + } + } + if (!failed && eFileLock == EXCLUSIVE_LOCK) { + /* Acquire an EXCLUSIVE lock */ + + /* Remove the shared lock before trying the range. we'll need to + ** reestablish the shared lock if we can't get the afpUnlock + */ + if( !(failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST + + pInode->sharedByte, 1, 0)) ){ + int failed2 = SQLITE_OK; + /* now attemmpt to get the exclusive lock range */ + failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST, + SHARED_SIZE, 1); + if( failed && (failed2 = afpSetLock(context->dbPath, pFile, + SHARED_FIRST + pInode->sharedByte, 1, 1)) ){ + /* Can't reestablish the shared lock. Sqlite can't deal, this is + ** a critical I/O error + */ + rc = ((failed & 0xff) == SQLITE_IOERR) ? failed2 : + SQLITE_IOERR_LOCK; + goto afp_end_lock; + } + }else{ + rc = failed; + } + } + if( failed ){ + rc = failed; + } + } + + if( rc==SQLITE_OK ){ + pFile->eFileLock = eFileLock; + pInode->eFileLock = eFileLock; + }else if( eFileLock==EXCLUSIVE_LOCK ){ + pFile->eFileLock = PENDING_LOCK; + pInode->eFileLock = PENDING_LOCK; + } + +afp_end_lock: + sqlite3_mutex_leave(pInode->pLockMutex); + OSTRACE(("LOCK %d %s %s (afp)\n", pFile->h, azFileLock(eFileLock), + rc==SQLITE_OK ? "ok" : "failed")); + return rc; +} + +/* +** Lower the locking level on file descriptor pFile to eFileLock. eFileLock +** must be either NO_LOCK or SHARED_LOCK. +** +** If the locking level of the file descriptor is already at or below +** the requested locking level, this routine is a no-op. +*/ +static int afpUnlock(sqlite3_file *id, int eFileLock) { + int rc = SQLITE_OK; + unixFile *pFile = (unixFile*)id; + unixInodeInfo *pInode; + afpLockingContext *context = (afpLockingContext *) pFile->lockingContext; + int skipShared = 0; +#ifdef SQLITE_TEST + int h = pFile->h; +#endif + + assert( pFile ); + OSTRACE(("UNLOCK %d %d was %d(%d,%d) pid=%d (afp)\n", pFile->h, eFileLock, + pFile->eFileLock, pFile->pInode->eFileLock, pFile->pInode->nShared, + osGetpid(0))); + + assert( eFileLock<=SHARED_LOCK ); + if( pFile->eFileLock<=eFileLock ){ + return SQLITE_OK; + } + pInode = pFile->pInode; + sqlite3_mutex_enter(pInode->pLockMutex); + assert( pInode->nShared!=0 ); + if( pFile->eFileLock>SHARED_LOCK ){ + assert( pInode->eFileLock==pFile->eFileLock ); + SimulateIOErrorBenign(1); + SimulateIOError( h=(-1) ) + SimulateIOErrorBenign(0); + +#ifdef SQLITE_DEBUG + /* When reducing a lock such that other processes can start + ** reading the database file again, make sure that the + ** transaction counter was updated if any part of the database + ** file changed. If the transaction counter is not updated, + ** other connections to the same file might not realize that + ** the file has changed and hence might not know to flush their + ** cache. The use of a stale cache can lead to database corruption. + */ + assert( pFile->inNormalWrite==0 + || pFile->dbUpdate==0 + || pFile->transCntrChng==1 ); + pFile->inNormalWrite = 0; +#endif + + if( pFile->eFileLock==EXCLUSIVE_LOCK ){ + rc = afpSetLock(context->dbPath, pFile, SHARED_FIRST, SHARED_SIZE, 0); + if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1) ){ + /* only re-establish the shared lock if necessary */ + int sharedLockByte = SHARED_FIRST+pInode->sharedByte; + rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 1); + } else { + skipShared = 1; + } + } + if( rc==SQLITE_OK && pFile->eFileLock>=PENDING_LOCK ){ + rc = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0); + } + if( rc==SQLITE_OK && pFile->eFileLock>=RESERVED_LOCK && context->reserved ){ + rc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0); + if( !rc ){ + context->reserved = 0; + } + } + if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1)){ + pInode->eFileLock = SHARED_LOCK; + } + } + if( rc==SQLITE_OK && eFileLock==NO_LOCK ){ + + /* Decrement the shared lock counter. Release the lock using an + ** OS call only when all threads in this same process have released + ** the lock. + */ + unsigned long long sharedLockByte = SHARED_FIRST+pInode->sharedByte; + pInode->nShared--; + if( pInode->nShared==0 ){ + SimulateIOErrorBenign(1); + SimulateIOError( h=(-1) ) + SimulateIOErrorBenign(0); + if( !skipShared ){ + rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 0); + } + if( !rc ){ + pInode->eFileLock = NO_LOCK; + pFile->eFileLock = NO_LOCK; + } + } + if( rc==SQLITE_OK ){ + pInode->nLock--; + assert( pInode->nLock>=0 ); + if( pInode->nLock==0 ) closePendingFds(pFile); + } + } + + sqlite3_mutex_leave(pInode->pLockMutex); + if( rc==SQLITE_OK ){ + pFile->eFileLock = eFileLock; + } + return rc; +} + +/* +** Close a file & cleanup AFP specific locking context +*/ +static int afpClose(sqlite3_file *id) { + int rc = SQLITE_OK; + unixFile *pFile = (unixFile*)id; + assert( id!=0 ); + afpUnlock(id, NO_LOCK); + assert( unixFileMutexNotheld(pFile) ); + unixEnterMutex(); + if( pFile->pInode ){ + unixInodeInfo *pInode = pFile->pInode; + sqlite3_mutex_enter(pInode->pLockMutex); + if( pInode->nLock ){ + /* If there are outstanding locks, do not actually close the file just + ** yet because that would clear those locks. Instead, add the file + ** descriptor to pInode->aPending. It will be automatically closed when + ** the last lock is cleared. + */ + setPendingFd(pFile); + } + sqlite3_mutex_leave(pInode->pLockMutex); + } + releaseInodeInfo(pFile); + sqlite3_free(pFile->lockingContext); + rc = closeUnixFile(id); + unixLeaveMutex(); + return rc; +} + +#endif /* defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE */ +/* +** The code above is the AFP lock implementation. The code is specific +** to MacOSX and does not work on other unix platforms. No alternative +** is available. If you don't compile for a mac, then the "unix-afp" +** VFS is not available. +** +********************* End of the AFP lock implementation ********************** +******************************************************************************/ + +/****************************************************************************** +*************************** Begin NFS Locking ********************************/ + +#if defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE +/* + ** Lower the locking level on file descriptor pFile to eFileLock. eFileLock + ** must be either NO_LOCK or SHARED_LOCK. + ** + ** If the locking level of the file descriptor is already at or below + ** the requested locking level, this routine is a no-op. + */ +static int nfsUnlock(sqlite3_file *id, int eFileLock){ + return posixUnlock(id, eFileLock, 1); +} + +#endif /* defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE */ +/* +** The code above is the NFS lock implementation. The code is specific +** to MacOSX and does not work on other unix platforms. No alternative +** is available. +** +********************* End of the NFS lock implementation ********************** +******************************************************************************/ + +/****************************************************************************** +**************** Non-locking sqlite3_file methods ***************************** +** +** The next division contains implementations for all methods of the +** sqlite3_file object other than the locking methods. The locking +** methods were defined in divisions above (one locking method per +** division). Those methods that are common to all locking modes +** are gather together into this division. +*/ + +/* +** Seek to the offset passed as the second argument, then read cnt +** bytes into pBuf. Return the number of bytes actually read. +** +** NB: If you define USE_PREAD or USE_PREAD64, then it might also +** be necessary to define _XOPEN_SOURCE to be 500. This varies from +** one system to another. Since SQLite does not define USE_PREAD +** in any form by default, we will not attempt to define _XOPEN_SOURCE. +** See tickets #2741 and #2681. +** +** To avoid stomping the errno value on a failed read the lastErrno value +** is set before returning. +*/ +static int seekAndRead(unixFile *id, sqlite3_int64 offset, void *pBuf, int cnt){ + int got; + int prior = 0; +#if (!defined(USE_PREAD) && !defined(USE_PREAD64)) + i64 newOffset; +#endif + TIMER_START; + assert( cnt==(cnt&0x1ffff) ); + assert( id->h>2 ); + do{ +#if defined(USE_PREAD) + got = osPread(id->h, pBuf, cnt, offset); + SimulateIOError( got = -1 ); +#elif defined(USE_PREAD64) + got = osPread64(id->h, pBuf, cnt, offset); + SimulateIOError( got = -1 ); +#else + newOffset = lseek(id->h, offset, SEEK_SET); + SimulateIOError( newOffset = -1 ); + if( newOffset<0 ){ + storeLastErrno((unixFile*)id, errno); + return -1; + } + got = osRead(id->h, pBuf, cnt); +#endif + if( got==cnt ) break; + if( got<0 ){ + if( errno==EINTR ){ got = 1; continue; } + prior = 0; + storeLastErrno((unixFile*)id, errno); + break; + }else if( got>0 ){ + cnt -= got; + offset += got; + prior += got; + pBuf = (void*)(got + (char*)pBuf); + } + }while( got>0 ); + TIMER_END; + OSTRACE(("READ %-3d %5d %7lld %llu\n", + id->h, got+prior, offset-prior, TIMER_ELAPSED)); + return got+prior; +} + +/* +** Read data from a file into a buffer. Return SQLITE_OK if all +** bytes were read successfully and SQLITE_IOERR if anything goes +** wrong. +*/ +static int unixRead( + sqlite3_file *id, + void *pBuf, + int amt, + sqlite3_int64 offset +){ + unixFile *pFile = (unixFile *)id; + int got; + assert( id ); + assert( offset>=0 ); + assert( amt>0 ); + + /* If this is a database file (not a journal, master-journal or temp + ** file), the bytes in the locking range should never be read or written. */ +#if 0 + assert( pFile->pPreallocatedUnused==0 + || offset>=PENDING_BYTE+512 + || offset+amt<=PENDING_BYTE + ); +#endif + +#if SQLITE_MAX_MMAP_SIZE>0 + /* Deal with as much of this read request as possible by transfering + ** data from the memory mapping using memcpy(). */ + if( offsetmmapSize ){ + if( offset+amt <= pFile->mmapSize ){ + memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt); + return SQLITE_OK; + }else{ + int nCopy = pFile->mmapSize - offset; + memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy); + pBuf = &((u8 *)pBuf)[nCopy]; + amt -= nCopy; + offset += nCopy; + } + } +#endif + + got = seekAndRead(pFile, offset, pBuf, amt); + if( got==amt ){ + return SQLITE_OK; + }else if( got<0 ){ + /* lastErrno set by seekAndRead */ + return SQLITE_IOERR_READ; + }else{ + storeLastErrno(pFile, 0); /* not a system error */ + /* Unread parts of the buffer must be zero-filled */ + memset(&((char*)pBuf)[got], 0, amt-got); + return SQLITE_IOERR_SHORT_READ; + } +} + +/* +** Attempt to seek the file-descriptor passed as the first argument to +** absolute offset iOff, then attempt to write nBuf bytes of data from +** pBuf to it. If an error occurs, return -1 and set *piErrno. Otherwise, +** return the actual number of bytes written (which may be less than +** nBuf). +*/ +static int seekAndWriteFd( + int fd, /* File descriptor to write to */ + i64 iOff, /* File offset to begin writing at */ + const void *pBuf, /* Copy data from this buffer to the file */ + int nBuf, /* Size of buffer pBuf in bytes */ + int *piErrno /* OUT: Error number if error occurs */ +){ + int rc = 0; /* Value returned by system call */ + + assert( nBuf==(nBuf&0x1ffff) ); + assert( fd>2 ); + assert( piErrno!=0 ); + nBuf &= 0x1ffff; + TIMER_START; + +#if defined(USE_PREAD) + do{ rc = (int)osPwrite(fd, pBuf, nBuf, iOff); }while( rc<0 && errno==EINTR ); +#elif defined(USE_PREAD64) + do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR); +#else + do{ + i64 iSeek = lseek(fd, iOff, SEEK_SET); + SimulateIOError( iSeek = -1 ); + if( iSeek<0 ){ + rc = -1; + break; + } + rc = osWrite(fd, pBuf, nBuf); + }while( rc<0 && errno==EINTR ); +#endif + + TIMER_END; + OSTRACE(("WRITE %-3d %5d %7lld %llu\n", fd, rc, iOff, TIMER_ELAPSED)); + + if( rc<0 ) *piErrno = errno; + return rc; +} + + +/* +** Seek to the offset in id->offset then read cnt bytes into pBuf. +** Return the number of bytes actually read. Update the offset. +** +** To avoid stomping the errno value on a failed write the lastErrno value +** is set before returning. +*/ +static int seekAndWrite(unixFile *id, i64 offset, const void *pBuf, int cnt){ + return seekAndWriteFd(id->h, offset, pBuf, cnt, &id->lastErrno); +} + + +/* +** Write data from a buffer into a file. Return SQLITE_OK on success +** or some other error code on failure. +*/ +static int unixWrite( + sqlite3_file *id, + const void *pBuf, + int amt, + sqlite3_int64 offset +){ + unixFile *pFile = (unixFile*)id; + int wrote = 0; + assert( id ); + assert( amt>0 ); + + /* If this is a database file (not a journal, master-journal or temp + ** file), the bytes in the locking range should never be read or written. */ +#if 0 + assert( pFile->pPreallocatedUnused==0 + || offset>=PENDING_BYTE+512 + || offset+amt<=PENDING_BYTE + ); +#endif + +#ifdef SQLITE_DEBUG + /* If we are doing a normal write to a database file (as opposed to + ** doing a hot-journal rollback or a write to some file other than a + ** normal database file) then record the fact that the database + ** has changed. If the transaction counter is modified, record that + ** fact too. + */ + if( pFile->inNormalWrite ){ + pFile->dbUpdate = 1; /* The database has been modified */ + if( offset<=24 && offset+amt>=27 ){ + int rc; + char oldCntr[4]; + SimulateIOErrorBenign(1); + rc = seekAndRead(pFile, 24, oldCntr, 4); + SimulateIOErrorBenign(0); + if( rc!=4 || memcmp(oldCntr, &((char*)pBuf)[24-offset], 4)!=0 ){ + pFile->transCntrChng = 1; /* The transaction counter has changed */ + } + } + } +#endif + +#if defined(SQLITE_MMAP_READWRITE) && SQLITE_MAX_MMAP_SIZE>0 + /* Deal with as much of this write request as possible by transfering + ** data from the memory mapping using memcpy(). */ + if( offsetmmapSize ){ + if( offset+amt <= pFile->mmapSize ){ + memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt); + return SQLITE_OK; + }else{ + int nCopy = pFile->mmapSize - offset; + memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy); + pBuf = &((u8 *)pBuf)[nCopy]; + amt -= nCopy; + offset += nCopy; + } + } +#endif + + while( (wrote = seekAndWrite(pFile, offset, pBuf, amt))0 ){ + amt -= wrote; + offset += wrote; + pBuf = &((char*)pBuf)[wrote]; + } + SimulateIOError(( wrote=(-1), amt=1 )); + SimulateDiskfullError(( wrote=0, amt=1 )); + + if( amt>wrote ){ + if( wrote<0 && pFile->lastErrno!=ENOSPC ){ + /* lastErrno set by seekAndWrite */ + return SQLITE_IOERR_WRITE; + }else{ + storeLastErrno(pFile, 0); /* not a system error */ + return SQLITE_FULL; + } + } + + return SQLITE_OK; +} + +#ifdef SQLITE_TEST +/* +** Count the number of fullsyncs and normal syncs. This is used to test +** that syncs and fullsyncs are occurring at the right times. +*/ +SQLITE_API int sqlite3_sync_count = 0; +SQLITE_API int sqlite3_fullsync_count = 0; +#endif + +/* +** We do not trust systems to provide a working fdatasync(). Some do. +** Others do no. To be safe, we will stick with the (slightly slower) +** fsync(). If you know that your system does support fdatasync() correctly, +** then simply compile with -Dfdatasync=fdatasync or -DHAVE_FDATASYNC +*/ +#if !defined(fdatasync) && !HAVE_FDATASYNC +# define fdatasync fsync +#endif + +/* +** Define HAVE_FULLFSYNC to 0 or 1 depending on whether or not +** the F_FULLFSYNC macro is defined. F_FULLFSYNC is currently +** only available on Mac OS X. But that could change. +*/ +#ifdef F_FULLFSYNC +# define HAVE_FULLFSYNC 1 +#else +# define HAVE_FULLFSYNC 0 +#endif + + +/* +** The fsync() system call does not work as advertised on many +** unix systems. The following procedure is an attempt to make +** it work better. +** +** The SQLITE_NO_SYNC macro disables all fsync()s. This is useful +** for testing when we want to run through the test suite quickly. +** You are strongly advised *not* to deploy with SQLITE_NO_SYNC +** enabled, however, since with SQLITE_NO_SYNC enabled, an OS crash +** or power failure will likely corrupt the database file. +** +** SQLite sets the dataOnly flag if the size of the file is unchanged. +** The idea behind dataOnly is that it should only write the file content +** to disk, not the inode. We only set dataOnly if the file size is +** unchanged since the file size is part of the inode. However, +** Ted Ts'o tells us that fdatasync() will also write the inode if the +** file size has changed. The only real difference between fdatasync() +** and fsync(), Ted tells us, is that fdatasync() will not flush the +** inode if the mtime or owner or other inode attributes have changed. +** We only care about the file size, not the other file attributes, so +** as far as SQLite is concerned, an fdatasync() is always adequate. +** So, we always use fdatasync() if it is available, regardless of +** the value of the dataOnly flag. +*/ +static int full_fsync(int fd, int fullSync, int dataOnly){ + int rc; + + /* The following "ifdef/elif/else/" block has the same structure as + ** the one below. It is replicated here solely to avoid cluttering + ** up the real code with the UNUSED_PARAMETER() macros. + */ +#ifdef SQLITE_NO_SYNC + UNUSED_PARAMETER(fd); + UNUSED_PARAMETER(fullSync); + UNUSED_PARAMETER(dataOnly); +#elif HAVE_FULLFSYNC + UNUSED_PARAMETER(dataOnly); +#else + UNUSED_PARAMETER(fullSync); + UNUSED_PARAMETER(dataOnly); +#endif + + /* Record the number of times that we do a normal fsync() and + ** FULLSYNC. This is used during testing to verify that this procedure + ** gets called with the correct arguments. + */ +#ifdef SQLITE_TEST + if( fullSync ) sqlite3_fullsync_count++; + sqlite3_sync_count++; +#endif + + /* If we compiled with the SQLITE_NO_SYNC flag, then syncing is a + ** no-op. But go ahead and call fstat() to validate the file + ** descriptor as we need a method to provoke a failure during + ** coverate testing. + */ +#ifdef SQLITE_NO_SYNC + { + struct stat buf; + rc = osFstat(fd, &buf); + } +#elif HAVE_FULLFSYNC + if( fullSync ){ + rc = osFcntl(fd, F_FULLFSYNC, 0); + }else{ + rc = 1; + } + /* If the FULLFSYNC failed, fall back to attempting an fsync(). + ** It shouldn't be possible for fullfsync to fail on the local + ** file system (on OSX), so failure indicates that FULLFSYNC + ** isn't supported for this file system. So, attempt an fsync + ** and (for now) ignore the overhead of a superfluous fcntl call. + ** It'd be better to detect fullfsync support once and avoid + ** the fcntl call every time sync is called. + */ + if( rc ) rc = fsync(fd); + +#elif defined(__APPLE__) + /* fdatasync() on HFS+ doesn't yet flush the file size if it changed correctly + ** so currently we default to the macro that redefines fdatasync to fsync + */ + rc = fsync(fd); +#else + rc = fdatasync(fd); +#if OS_VXWORKS + if( rc==-1 && errno==ENOTSUP ){ + rc = fsync(fd); + } +#endif /* OS_VXWORKS */ +#endif /* ifdef SQLITE_NO_SYNC elif HAVE_FULLFSYNC */ + + if( OS_VXWORKS && rc!= -1 ){ + rc = 0; + } + return rc; +} + +/* +** Open a file descriptor to the directory containing file zFilename. +** If successful, *pFd is set to the opened file descriptor and +** SQLITE_OK is returned. If an error occurs, either SQLITE_NOMEM +** or SQLITE_CANTOPEN is returned and *pFd is set to an undefined +** value. +** +** The directory file descriptor is used for only one thing - to +** fsync() a directory to make sure file creation and deletion events +** are flushed to disk. Such fsyncs are not needed on newer +** journaling filesystems, but are required on older filesystems. +** +** This routine can be overridden using the xSetSysCall interface. +** The ability to override this routine was added in support of the +** chromium sandbox. Opening a directory is a security risk (we are +** told) so making it overrideable allows the chromium sandbox to +** replace this routine with a harmless no-op. To make this routine +** a no-op, replace it with a stub that returns SQLITE_OK but leaves +** *pFd set to a negative number. +** +** If SQLITE_OK is returned, the caller is responsible for closing +** the file descriptor *pFd using close(). +*/ +static int openDirectory(const char *zFilename, int *pFd){ + int ii; + int fd = -1; + char zDirname[MAX_PATHNAME+1]; + + sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename); + for(ii=(int)strlen(zDirname); ii>0 && zDirname[ii]!='/'; ii--); + if( ii>0 ){ + zDirname[ii] = '\0'; + }else{ + if( zDirname[0]!='/' ) zDirname[0] = '.'; + zDirname[1] = 0; + } + fd = robust_open(zDirname, O_RDONLY|O_BINARY, 0); + if( fd>=0 ){ + OSTRACE(("OPENDIR %-3d %s\n", fd, zDirname)); + } + *pFd = fd; + if( fd>=0 ) return SQLITE_OK; + return unixLogError(SQLITE_CANTOPEN_BKPT, "openDirectory", zDirname); +} + +/* +** Make sure all writes to a particular file are committed to disk. +** +** If dataOnly==0 then both the file itself and its metadata (file +** size, access time, etc) are synced. If dataOnly!=0 then only the +** file data is synced. +** +** Under Unix, also make sure that the directory entry for the file +** has been created by fsync-ing the directory that contains the file. +** If we do not do this and we encounter a power failure, the directory +** entry for the journal might not exist after we reboot. The next +** SQLite to access the file will not know that the journal exists (because +** the directory entry for the journal was never created) and the transaction +** will not roll back - possibly leading to database corruption. +*/ +static int unixSync(sqlite3_file *id, int flags){ + int rc; + unixFile *pFile = (unixFile*)id; + + int isDataOnly = (flags&SQLITE_SYNC_DATAONLY); + int isFullsync = (flags&0x0F)==SQLITE_SYNC_FULL; + + /* Check that one of SQLITE_SYNC_NORMAL or FULL was passed */ + assert((flags&0x0F)==SQLITE_SYNC_NORMAL + || (flags&0x0F)==SQLITE_SYNC_FULL + ); + + /* Unix cannot, but some systems may return SQLITE_FULL from here. This + ** line is to test that doing so does not cause any problems. + */ + SimulateDiskfullError( return SQLITE_FULL ); + + assert( pFile ); + OSTRACE(("SYNC %-3d\n", pFile->h)); + rc = full_fsync(pFile->h, isFullsync, isDataOnly); + SimulateIOError( rc=1 ); + if( rc ){ + storeLastErrno(pFile, errno); + return unixLogError(SQLITE_IOERR_FSYNC, "full_fsync", pFile->zPath); + } + + /* Also fsync the directory containing the file if the DIRSYNC flag + ** is set. This is a one-time occurrence. Many systems (examples: AIX) + ** are unable to fsync a directory, so ignore errors on the fsync. + */ + if( pFile->ctrlFlags & UNIXFILE_DIRSYNC ){ + int dirfd; + OSTRACE(("DIRSYNC %s (have_fullfsync=%d fullsync=%d)\n", pFile->zPath, + HAVE_FULLFSYNC, isFullsync)); + rc = osOpenDirectory(pFile->zPath, &dirfd); + if( rc==SQLITE_OK ){ + full_fsync(dirfd, 0, 0); + robust_close(pFile, dirfd, __LINE__); + }else{ + assert( rc==SQLITE_CANTOPEN ); + rc = SQLITE_OK; + } + pFile->ctrlFlags &= ~UNIXFILE_DIRSYNC; + } + return rc; +} + +/* +** Truncate an open file to a specified size +*/ +static int unixTruncate(sqlite3_file *id, i64 nByte){ + unixFile *pFile = (unixFile *)id; + int rc; + assert( pFile ); + SimulateIOError( return SQLITE_IOERR_TRUNCATE ); + + /* If the user has configured a chunk-size for this file, truncate the + ** file so that it consists of an integer number of chunks (i.e. the + ** actual file size after the operation may be larger than the requested + ** size). + */ + if( pFile->szChunk>0 ){ + nByte = ((nByte + pFile->szChunk - 1)/pFile->szChunk) * pFile->szChunk; + } + + rc = robust_ftruncate(pFile->h, nByte); + if( rc ){ + storeLastErrno(pFile, errno); + return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath); + }else{ +#ifdef SQLITE_DEBUG + /* If we are doing a normal write to a database file (as opposed to + ** doing a hot-journal rollback or a write to some file other than a + ** normal database file) and we truncate the file to zero length, + ** that effectively updates the change counter. This might happen + ** when restoring a database using the backup API from a zero-length + ** source. + */ + if( pFile->inNormalWrite && nByte==0 ){ + pFile->transCntrChng = 1; + } +#endif + +#if SQLITE_MAX_MMAP_SIZE>0 + /* If the file was just truncated to a size smaller than the currently + ** mapped region, reduce the effective mapping size as well. SQLite will + ** use read() and write() to access data beyond this point from now on. + */ + if( nBytemmapSize ){ + pFile->mmapSize = nByte; + } +#endif + + return SQLITE_OK; + } +} + +/* +** Determine the current size of a file in bytes +*/ +static int unixFileSize(sqlite3_file *id, i64 *pSize){ + int rc; + struct stat buf; + assert( id ); + rc = osFstat(((unixFile*)id)->h, &buf); + SimulateIOError( rc=1 ); + if( rc!=0 ){ + storeLastErrno((unixFile*)id, errno); + return SQLITE_IOERR_FSTAT; + } + *pSize = buf.st_size; + + /* When opening a zero-size database, the findInodeInfo() procedure + ** writes a single byte into that file in order to work around a bug + ** in the OS-X msdos filesystem. In order to avoid problems with upper + ** layers, we need to report this file size as zero even though it is + ** really 1. Ticket #3260. + */ + if( *pSize==1 ) *pSize = 0; + + + return SQLITE_OK; +} + +#if SQLITE_ENABLE_LOCKING_STYLE && defined(__APPLE__) +/* +** Handler for proxy-locking file-control verbs. Defined below in the +** proxying locking division. +*/ +static int proxyFileControl(sqlite3_file*,int,void*); +#endif + +/* +** This function is called to handle the SQLITE_FCNTL_SIZE_HINT +** file-control operation. Enlarge the database to nBytes in size +** (rounded up to the next chunk-size). If the database is already +** nBytes or larger, this routine is a no-op. +*/ +static int fcntlSizeHint(unixFile *pFile, i64 nByte){ + if( pFile->szChunk>0 ){ + i64 nSize; /* Required file size */ + struct stat buf; /* Used to hold return values of fstat() */ + + if( osFstat(pFile->h, &buf) ){ + return SQLITE_IOERR_FSTAT; + } + + nSize = ((nByte+pFile->szChunk-1) / pFile->szChunk) * pFile->szChunk; + if( nSize>(i64)buf.st_size ){ + +#if defined(HAVE_POSIX_FALLOCATE) && HAVE_POSIX_FALLOCATE + /* The code below is handling the return value of osFallocate() + ** correctly. posix_fallocate() is defined to "returns zero on success, + ** or an error number on failure". See the manpage for details. */ + int err; + do{ + err = osFallocate(pFile->h, buf.st_size, nSize-buf.st_size); + }while( err==EINTR ); + if( err && err!=EINVAL ) return SQLITE_IOERR_WRITE; +#else + /* If the OS does not have posix_fallocate(), fake it. Write a + ** single byte to the last byte in each block that falls entirely + ** within the extended region. Then, if required, a single byte + ** at offset (nSize-1), to set the size of the file correctly. + ** This is a similar technique to that used by glibc on systems + ** that do not have a real fallocate() call. + */ + int nBlk = buf.st_blksize; /* File-system block size */ + int nWrite = 0; /* Number of bytes written by seekAndWrite */ + i64 iWrite; /* Next offset to write to */ + + iWrite = (buf.st_size/nBlk)*nBlk + nBlk - 1; + assert( iWrite>=buf.st_size ); + assert( ((iWrite+1)%nBlk)==0 ); + for(/*no-op*/; iWrite=nSize ) iWrite = nSize - 1; + nWrite = seekAndWrite(pFile, iWrite, "", 1); + if( nWrite!=1 ) return SQLITE_IOERR_WRITE; + } +#endif + } + } + +#if SQLITE_MAX_MMAP_SIZE>0 + if( pFile->mmapSizeMax>0 && nByte>pFile->mmapSize ){ + int rc; + if( pFile->szChunk<=0 ){ + if( robust_ftruncate(pFile->h, nByte) ){ + storeLastErrno(pFile, errno); + return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath); + } + } + + rc = unixMapfile(pFile, nByte); + return rc; + } +#endif + + return SQLITE_OK; +} + +/* +** If *pArg is initially negative then this is a query. Set *pArg to +** 1 or 0 depending on whether or not bit mask of pFile->ctrlFlags is set. +** +** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags. +*/ +static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){ + if( *pArg<0 ){ + *pArg = (pFile->ctrlFlags & mask)!=0; + }else if( (*pArg)==0 ){ + pFile->ctrlFlags &= ~mask; + }else{ + pFile->ctrlFlags |= mask; + } +} + +/* Forward declaration */ +static int unixGetTempname(int nBuf, char *zBuf); + +/* +** Information and control of an open file handle. +*/ +static int unixFileControl(sqlite3_file *id, int op, void *pArg){ + unixFile *pFile = (unixFile*)id; + switch( op ){ +#if defined(__linux__) && defined(SQLITE_ENABLE_BATCH_ATOMIC_WRITE) + case SQLITE_FCNTL_BEGIN_ATOMIC_WRITE: { + int rc = osIoctl(pFile->h, F2FS_IOC_START_ATOMIC_WRITE); + return rc ? SQLITE_IOERR_BEGIN_ATOMIC : SQLITE_OK; + } + case SQLITE_FCNTL_COMMIT_ATOMIC_WRITE: { + int rc = osIoctl(pFile->h, F2FS_IOC_COMMIT_ATOMIC_WRITE); + return rc ? SQLITE_IOERR_COMMIT_ATOMIC : SQLITE_OK; + } + case SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE: { + int rc = osIoctl(pFile->h, F2FS_IOC_ABORT_VOLATILE_WRITE); + return rc ? SQLITE_IOERR_ROLLBACK_ATOMIC : SQLITE_OK; + } +#endif /* __linux__ && SQLITE_ENABLE_BATCH_ATOMIC_WRITE */ + + case SQLITE_FCNTL_LOCKSTATE: { + *(int*)pArg = pFile->eFileLock; + return SQLITE_OK; + } + case SQLITE_FCNTL_LAST_ERRNO: { + *(int*)pArg = pFile->lastErrno; + return SQLITE_OK; + } + case SQLITE_FCNTL_CHUNK_SIZE: { + pFile->szChunk = *(int *)pArg; + return SQLITE_OK; + } + case SQLITE_FCNTL_SIZE_HINT: { + int rc; + SimulateIOErrorBenign(1); + rc = fcntlSizeHint(pFile, *(i64 *)pArg); + SimulateIOErrorBenign(0); + return rc; + } + case SQLITE_FCNTL_PERSIST_WAL: { + unixModeBit(pFile, UNIXFILE_PERSIST_WAL, (int*)pArg); + return SQLITE_OK; + } + case SQLITE_FCNTL_POWERSAFE_OVERWRITE: { + unixModeBit(pFile, UNIXFILE_PSOW, (int*)pArg); + return SQLITE_OK; + } + case SQLITE_FCNTL_VFSNAME: { + *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName); + return SQLITE_OK; + } + case SQLITE_FCNTL_TEMPFILENAME: { + char *zTFile = sqlite3_malloc64( pFile->pVfs->mxPathname ); + if( zTFile ){ + unixGetTempname(pFile->pVfs->mxPathname, zTFile); + *(char**)pArg = zTFile; + } + return SQLITE_OK; + } + case SQLITE_FCNTL_HAS_MOVED: { + *(int*)pArg = fileHasMoved(pFile); + return SQLITE_OK; + } +#ifdef SQLITE_ENABLE_SETLK_TIMEOUT + case SQLITE_FCNTL_LOCK_TIMEOUT: { + pFile->iBusyTimeout = *(int*)pArg; + return SQLITE_OK; + } +#endif +#if SQLITE_MAX_MMAP_SIZE>0 + case SQLITE_FCNTL_MMAP_SIZE: { + i64 newLimit = *(i64*)pArg; + int rc = SQLITE_OK; + if( newLimit>sqlite3GlobalConfig.mxMmap ){ + newLimit = sqlite3GlobalConfig.mxMmap; + } + + /* The value of newLimit may be eventually cast to (size_t) and passed + ** to mmap(). Restrict its value to 2GB if (size_t) is not at least a + ** 64-bit type. */ + if( newLimit>0 && sizeof(size_t)<8 ){ + newLimit = (newLimit & 0x7FFFFFFF); + } + + *(i64*)pArg = pFile->mmapSizeMax; + if( newLimit>=0 && newLimit!=pFile->mmapSizeMax && pFile->nFetchOut==0 ){ + pFile->mmapSizeMax = newLimit; + if( pFile->mmapSize>0 ){ + unixUnmapfile(pFile); + rc = unixMapfile(pFile, -1); + } + } + return rc; + } +#endif +#ifdef SQLITE_DEBUG + /* The pager calls this method to signal that it has done + ** a rollback and that the database is therefore unchanged and + ** it hence it is OK for the transaction change counter to be + ** unchanged. + */ + case SQLITE_FCNTL_DB_UNCHANGED: { + ((unixFile*)id)->dbUpdate = 0; + return SQLITE_OK; + } +#endif +#if SQLITE_ENABLE_LOCKING_STYLE && defined(__APPLE__) + case SQLITE_FCNTL_SET_LOCKPROXYFILE: + case SQLITE_FCNTL_GET_LOCKPROXYFILE: { + return proxyFileControl(id,op,pArg); + } +#endif /* SQLITE_ENABLE_LOCKING_STYLE && defined(__APPLE__) */ + } + return SQLITE_NOTFOUND; +} + +/* +** If pFd->sectorSize is non-zero when this function is called, it is a +** no-op. Otherwise, the values of pFd->sectorSize and +** pFd->deviceCharacteristics are set according to the file-system +** characteristics. +** +** There are two versions of this function. One for QNX and one for all +** other systems. +*/ +#ifndef __QNXNTO__ +static void setDeviceCharacteristics(unixFile *pFd){ + assert( pFd->deviceCharacteristics==0 || pFd->sectorSize!=0 ); + if( pFd->sectorSize==0 ){ +#if defined(__linux__) && defined(SQLITE_ENABLE_BATCH_ATOMIC_WRITE) + int res; + u32 f = 0; + + /* Check for support for F2FS atomic batch writes. */ + res = osIoctl(pFd->h, F2FS_IOC_GET_FEATURES, &f); + if( res==0 && (f & F2FS_FEATURE_ATOMIC_WRITE) ){ + pFd->deviceCharacteristics = SQLITE_IOCAP_BATCH_ATOMIC; + } +#endif /* __linux__ && SQLITE_ENABLE_BATCH_ATOMIC_WRITE */ + + /* Set the POWERSAFE_OVERWRITE flag if requested. */ + if( pFd->ctrlFlags & UNIXFILE_PSOW ){ + pFd->deviceCharacteristics |= SQLITE_IOCAP_POWERSAFE_OVERWRITE; + } + + pFd->sectorSize = SQLITE_DEFAULT_SECTOR_SIZE; + } +} +#else +#include +#include +static void setDeviceCharacteristics(unixFile *pFile){ + if( pFile->sectorSize == 0 ){ + struct statvfs fsInfo; + + /* Set defaults for non-supported filesystems */ + pFile->sectorSize = SQLITE_DEFAULT_SECTOR_SIZE; + pFile->deviceCharacteristics = 0; + if( fstatvfs(pFile->h, &fsInfo) == -1 ) { + return; + } + + if( !strcmp(fsInfo.f_basetype, "tmp") ) { + pFile->sectorSize = fsInfo.f_bsize; + pFile->deviceCharacteristics = + SQLITE_IOCAP_ATOMIC4K | /* All ram filesystem writes are atomic */ + SQLITE_IOCAP_SAFE_APPEND | /* growing the file does not occur until + ** the write succeeds */ + SQLITE_IOCAP_SEQUENTIAL | /* The ram filesystem has no write behind + ** so it is ordered */ + 0; + }else if( strstr(fsInfo.f_basetype, "etfs") ){ + pFile->sectorSize = fsInfo.f_bsize; + pFile->deviceCharacteristics = + /* etfs cluster size writes are atomic */ + (pFile->sectorSize / 512 * SQLITE_IOCAP_ATOMIC512) | + SQLITE_IOCAP_SAFE_APPEND | /* growing the file does not occur until + ** the write succeeds */ + SQLITE_IOCAP_SEQUENTIAL | /* The ram filesystem has no write behind + ** so it is ordered */ + 0; + }else if( !strcmp(fsInfo.f_basetype, "qnx6") ){ + pFile->sectorSize = fsInfo.f_bsize; + pFile->deviceCharacteristics = + SQLITE_IOCAP_ATOMIC | /* All filesystem writes are atomic */ + SQLITE_IOCAP_SAFE_APPEND | /* growing the file does not occur until + ** the write succeeds */ + SQLITE_IOCAP_SEQUENTIAL | /* The ram filesystem has no write behind + ** so it is ordered */ + 0; + }else if( !strcmp(fsInfo.f_basetype, "qnx4") ){ + pFile->sectorSize = fsInfo.f_bsize; + pFile->deviceCharacteristics = + /* full bitset of atomics from max sector size and smaller */ + ((pFile->sectorSize / 512 * SQLITE_IOCAP_ATOMIC512) << 1) - 2 | + SQLITE_IOCAP_SEQUENTIAL | /* The ram filesystem has no write behind + ** so it is ordered */ + 0; + }else if( strstr(fsInfo.f_basetype, "dos") ){ + pFile->sectorSize = fsInfo.f_bsize; + pFile->deviceCharacteristics = + /* full bitset of atomics from max sector size and smaller */ + ((pFile->sectorSize / 512 * SQLITE_IOCAP_ATOMIC512) << 1) - 2 | + SQLITE_IOCAP_SEQUENTIAL | /* The ram filesystem has no write behind + ** so it is ordered */ + 0; + }else{ + pFile->deviceCharacteristics = + SQLITE_IOCAP_ATOMIC512 | /* blocks are atomic */ + SQLITE_IOCAP_SAFE_APPEND | /* growing the file does not occur until + ** the write succeeds */ + 0; + } + } + /* Last chance verification. If the sector size isn't a multiple of 512 + ** then it isn't valid.*/ + if( pFile->sectorSize % 512 != 0 ){ + pFile->deviceCharacteristics = 0; + pFile->sectorSize = SQLITE_DEFAULT_SECTOR_SIZE; + } +} +#endif + +/* +** Return the sector size in bytes of the underlying block device for +** the specified file. This is almost always 512 bytes, but may be +** larger for some devices. +** +** SQLite code assumes this function cannot fail. It also assumes that +** if two files are created in the same file-system directory (i.e. +** a database and its journal file) that the sector size will be the +** same for both. +*/ +static int unixSectorSize(sqlite3_file *id){ + unixFile *pFd = (unixFile*)id; + setDeviceCharacteristics(pFd); + return pFd->sectorSize; +} + +/* +** Return the device characteristics for the file. +** +** This VFS is set up to return SQLITE_IOCAP_POWERSAFE_OVERWRITE by default. +** However, that choice is controversial since technically the underlying +** file system does not always provide powersafe overwrites. (In other +** words, after a power-loss event, parts of the file that were never +** written might end up being altered.) However, non-PSOW behavior is very, +** very rare. And asserting PSOW makes a large reduction in the amount +** of required I/O for journaling, since a lot of padding is eliminated. +** Hence, while POWERSAFE_OVERWRITE is on by default, there is a file-control +** available to turn it off and URI query parameter available to turn it off. +*/ +static int unixDeviceCharacteristics(sqlite3_file *id){ + unixFile *pFd = (unixFile*)id; + setDeviceCharacteristics(pFd); + return pFd->deviceCharacteristics; +} + +#if !defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0 + +/* +** Return the system page size. +** +** This function should not be called directly by other code in this file. +** Instead, it should be called via macro osGetpagesize(). +*/ +static int unixGetpagesize(void){ +#if OS_VXWORKS + return 1024; +#elif defined(_BSD_SOURCE) + return getpagesize(); +#else + return (int)sysconf(_SC_PAGESIZE); +#endif +} + +#endif /* !defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0 */ + +#ifndef SQLITE_OMIT_WAL + +/* +** Object used to represent an shared memory buffer. +** +** When multiple threads all reference the same wal-index, each thread +** has its own unixShm object, but they all point to a single instance +** of this unixShmNode object. In other words, each wal-index is opened +** only once per process. +** +** Each unixShmNode object is connected to a single unixInodeInfo object. +** We could coalesce this object into unixInodeInfo, but that would mean +** every open file that does not use shared memory (in other words, most +** open files) would have to carry around this extra information. So +** the unixInodeInfo object contains a pointer to this unixShmNode object +** and the unixShmNode object is created only when needed. +** +** unixMutexHeld() must be true when creating or destroying +** this object or while reading or writing the following fields: +** +** nRef +** +** The following fields are read-only after the object is created: +** +** hShm +** zFilename +** +** Either unixShmNode.pShmMutex must be held or unixShmNode.nRef==0 and +** unixMutexHeld() is true when reading or writing any other field +** in this structure. +*/ +struct unixShmNode { + unixInodeInfo *pInode; /* unixInodeInfo that owns this SHM node */ + sqlite3_mutex *pShmMutex; /* Mutex to access this object */ + char *zFilename; /* Name of the mmapped file */ + int hShm; /* Open file descriptor */ + int szRegion; /* Size of shared-memory regions */ + u16 nRegion; /* Size of array apRegion */ + u8 isReadonly; /* True if read-only */ + u8 isUnlocked; /* True if no DMS lock held */ + char **apRegion; /* Array of mapped shared-memory regions */ + int nRef; /* Number of unixShm objects pointing to this */ + unixShm *pFirst; /* All unixShm objects pointing to this */ +#ifdef SQLITE_DEBUG + u8 exclMask; /* Mask of exclusive locks held */ + u8 sharedMask; /* Mask of shared locks held */ + u8 nextShmId; /* Next available unixShm.id value */ +#endif +}; + +/* +** Structure used internally by this VFS to record the state of an +** open shared memory connection. +** +** The following fields are initialized when this object is created and +** are read-only thereafter: +** +** unixShm.pShmNode +** unixShm.id +** +** All other fields are read/write. The unixShm.pShmNode->pShmMutex must +** be held while accessing any read/write fields. +*/ +struct unixShm { + unixShmNode *pShmNode; /* The underlying unixShmNode object */ + unixShm *pNext; /* Next unixShm with the same unixShmNode */ + u8 hasMutex; /* True if holding the unixShmNode->pShmMutex */ + u8 id; /* Id of this connection within its unixShmNode */ + u16 sharedMask; /* Mask of shared locks held */ + u16 exclMask; /* Mask of exclusive locks held */ +}; + +/* +** Constants used for locking +*/ +#define UNIX_SHM_BASE ((22+SQLITE_SHM_NLOCK)*4) /* first lock byte */ +#define UNIX_SHM_DMS (UNIX_SHM_BASE+SQLITE_SHM_NLOCK) /* deadman switch */ + +/* +** Apply posix advisory locks for all bytes from ofst through ofst+n-1. +** +** Locks block if the mask is exactly UNIX_SHM_C and are non-blocking +** otherwise. +*/ +static int unixShmSystemLock( + unixFile *pFile, /* Open connection to the WAL file */ + int lockType, /* F_UNLCK, F_RDLCK, or F_WRLCK */ + int ofst, /* First byte of the locking range */ + int n /* Number of bytes to lock */ +){ + unixShmNode *pShmNode; /* Apply locks to this open shared-memory segment */ + struct flock f; /* The posix advisory locking structure */ + int rc = SQLITE_OK; /* Result code form fcntl() */ + + /* Access to the unixShmNode object is serialized by the caller */ + pShmNode = pFile->pInode->pShmNode; + assert( pShmNode->nRef==0 || sqlite3_mutex_held(pShmNode->pShmMutex) ); + assert( pShmNode->nRef>0 || unixMutexHeld() ); + + /* Shared locks never span more than one byte */ + assert( n==1 || lockType!=F_RDLCK ); + + /* Locks are within range */ + assert( n>=1 && n<=SQLITE_SHM_NLOCK ); + + if( pShmNode->hShm>=0 ){ + /* Initialize the locking parameters */ + f.l_type = lockType; + f.l_whence = SEEK_SET; + f.l_start = ofst; + f.l_len = n; + rc = osSetPosixAdvisoryLock(pShmNode->hShm, &f, pFile); + rc = (rc!=(-1)) ? SQLITE_OK : SQLITE_BUSY; + } + + /* Update the global lock state and do debug tracing */ +#ifdef SQLITE_DEBUG + { u16 mask; + OSTRACE(("SHM-LOCK ")); + mask = ofst>31 ? 0xffff : (1<<(ofst+n)) - (1<exclMask &= ~mask; + pShmNode->sharedMask &= ~mask; + }else if( lockType==F_RDLCK ){ + OSTRACE(("read-lock %d ok", ofst)); + pShmNode->exclMask &= ~mask; + pShmNode->sharedMask |= mask; + }else{ + assert( lockType==F_WRLCK ); + OSTRACE(("write-lock %d ok", ofst)); + pShmNode->exclMask |= mask; + pShmNode->sharedMask &= ~mask; + } + }else{ + if( lockType==F_UNLCK ){ + OSTRACE(("unlock %d failed", ofst)); + }else if( lockType==F_RDLCK ){ + OSTRACE(("read-lock failed")); + }else{ + assert( lockType==F_WRLCK ); + OSTRACE(("write-lock %d failed", ofst)); + } + } + OSTRACE((" - afterwards %03x,%03x\n", + pShmNode->sharedMask, pShmNode->exclMask)); + } +#endif + + return rc; +} + +/* +** Return the minimum number of 32KB shm regions that should be mapped at +** a time, assuming that each mapping must be an integer multiple of the +** current system page-size. +** +** Usually, this is 1. The exception seems to be systems that are configured +** to use 64KB pages - in this case each mapping must cover at least two +** shm regions. +*/ +static int unixShmRegionPerMap(void){ + int shmsz = 32*1024; /* SHM region size */ + int pgsz = osGetpagesize(); /* System page size */ + assert( ((pgsz-1)&pgsz)==0 ); /* Page size must be a power of 2 */ + if( pgszpInode->pShmNode; + assert( unixMutexHeld() ); + if( p && ALWAYS(p->nRef==0) ){ + int nShmPerMap = unixShmRegionPerMap(); + int i; + assert( p->pInode==pFd->pInode ); + sqlite3_mutex_free(p->pShmMutex); + for(i=0; inRegion; i+=nShmPerMap){ + if( p->hShm>=0 ){ + osMunmap(p->apRegion[i], p->szRegion); + }else{ + sqlite3_free(p->apRegion[i]); + } + } + sqlite3_free(p->apRegion); + if( p->hShm>=0 ){ + robust_close(pFd, p->hShm, __LINE__); + p->hShm = -1; + } + p->pInode->pShmNode = 0; + sqlite3_free(p); + } +} + +/* +** The DMS lock has not yet been taken on shm file pShmNode. Attempt to +** take it now. Return SQLITE_OK if successful, or an SQLite error +** code otherwise. +** +** If the DMS cannot be locked because this is a readonly_shm=1 +** connection and no other process already holds a lock, return +** SQLITE_READONLY_CANTINIT and set pShmNode->isUnlocked=1. +*/ +static int unixLockSharedMemory(unixFile *pDbFd, unixShmNode *pShmNode){ + struct flock lock; + int rc = SQLITE_OK; + + /* Use F_GETLK to determine the locks other processes are holding + ** on the DMS byte. If it indicates that another process is holding + ** a SHARED lock, then this process may also take a SHARED lock + ** and proceed with opening the *-shm file. + ** + ** Or, if no other process is holding any lock, then this process + ** is the first to open it. In this case take an EXCLUSIVE lock on the + ** DMS byte and truncate the *-shm file to zero bytes in size. Then + ** downgrade to a SHARED lock on the DMS byte. + ** + ** If another process is holding an EXCLUSIVE lock on the DMS byte, + ** return SQLITE_BUSY to the caller (it will try again). An earlier + ** version of this code attempted the SHARED lock at this point. But + ** this introduced a subtle race condition: if the process holding + ** EXCLUSIVE failed just before truncating the *-shm file, then this + ** process might open and use the *-shm file without truncating it. + ** And if the *-shm file has been corrupted by a power failure or + ** system crash, the database itself may also become corrupt. */ + lock.l_whence = SEEK_SET; + lock.l_start = UNIX_SHM_DMS; + lock.l_len = 1; + lock.l_type = F_WRLCK; + if( osFcntl(pShmNode->hShm, F_GETLK, &lock)!=0 ) { + rc = SQLITE_IOERR_LOCK; + }else if( lock.l_type==F_UNLCK ){ + if( pShmNode->isReadonly ){ + pShmNode->isUnlocked = 1; + rc = SQLITE_READONLY_CANTINIT; + }else{ + rc = unixShmSystemLock(pDbFd, F_WRLCK, UNIX_SHM_DMS, 1); + /* The first connection to attach must truncate the -shm file. We + ** truncate to 3 bytes (an arbitrary small number, less than the + ** -shm header size) rather than 0 as a system debugging aid, to + ** help detect if a -shm file truncation is legitimate or is the work + ** or a rogue process. */ + if( rc==SQLITE_OK && robust_ftruncate(pShmNode->hShm, 3) ){ + rc = unixLogError(SQLITE_IOERR_SHMOPEN,"ftruncate",pShmNode->zFilename); + } + } + }else if( lock.l_type==F_WRLCK ){ + rc = SQLITE_BUSY; + } + + if( rc==SQLITE_OK ){ + assert( lock.l_type==F_UNLCK || lock.l_type==F_RDLCK ); + rc = unixShmSystemLock(pDbFd, F_RDLCK, UNIX_SHM_DMS, 1); + } + return rc; +} + +/* +** Open a shared-memory area associated with open database file pDbFd. +** This particular implementation uses mmapped files. +** +** The file used to implement shared-memory is in the same directory +** as the open database file and has the same name as the open database +** file with the "-shm" suffix added. For example, if the database file +** is "/home/user1/config.db" then the file that is created and mmapped +** for shared memory will be called "/home/user1/config.db-shm". +** +** Another approach to is to use files in /dev/shm or /dev/tmp or an +** some other tmpfs mount. But if a file in a different directory +** from the database file is used, then differing access permissions +** or a chroot() might cause two different processes on the same +** database to end up using different files for shared memory - +** meaning that their memory would not really be shared - resulting +** in database corruption. Nevertheless, this tmpfs file usage +** can be enabled at compile-time using -DSQLITE_SHM_DIRECTORY="/dev/shm" +** or the equivalent. The use of the SQLITE_SHM_DIRECTORY compile-time +** option results in an incompatible build of SQLite; builds of SQLite +** that with differing SQLITE_SHM_DIRECTORY settings attempt to use the +** same database file at the same time, database corruption will likely +** result. The SQLITE_SHM_DIRECTORY compile-time option is considered +** "unsupported" and may go away in a future SQLite release. +** +** When opening a new shared-memory file, if no other instances of that +** file are currently open, in this process or in other processes, then +** the file must be truncated to zero length or have its header cleared. +** +** If the original database file (pDbFd) is using the "unix-excl" VFS +** that means that an exclusive lock is held on the database file and +** that no other processes are able to read or write the database. In +** that case, we do not really need shared memory. No shared memory +** file is created. The shared memory will be simulated with heap memory. +*/ +static int unixOpenSharedMemory(unixFile *pDbFd){ + struct unixShm *p = 0; /* The connection to be opened */ + struct unixShmNode *pShmNode; /* The underlying mmapped file */ + int rc = SQLITE_OK; /* Result code */ + unixInodeInfo *pInode; /* The inode of fd */ + char *zShm; /* Name of the file used for SHM */ + int nShmFilename; /* Size of the SHM filename in bytes */ + + /* Allocate space for the new unixShm object. */ + p = sqlite3_malloc64( sizeof(*p) ); + if( p==0 ) return SQLITE_NOMEM_BKPT; + memset(p, 0, sizeof(*p)); + assert( pDbFd->pShm==0 ); + + /* Check to see if a unixShmNode object already exists. Reuse an existing + ** one if present. Create a new one if necessary. + */ + assert( unixFileMutexNotheld(pDbFd) ); + unixEnterMutex(); + pInode = pDbFd->pInode; + pShmNode = pInode->pShmNode; + if( pShmNode==0 ){ + struct stat sStat; /* fstat() info for database file */ +#ifndef SQLITE_SHM_DIRECTORY + const char *zBasePath = pDbFd->zPath; +#endif + + /* Call fstat() to figure out the permissions on the database file. If + ** a new *-shm file is created, an attempt will be made to create it + ** with the same permissions. + */ + if( osFstat(pDbFd->h, &sStat) ){ + rc = SQLITE_IOERR_FSTAT; + goto shm_open_err; + } + +#ifdef SQLITE_SHM_DIRECTORY + nShmFilename = sizeof(SQLITE_SHM_DIRECTORY) + 31; +#else + nShmFilename = 6 + (int)strlen(zBasePath); +#endif + pShmNode = sqlite3_malloc64( sizeof(*pShmNode) + nShmFilename ); + if( pShmNode==0 ){ + rc = SQLITE_NOMEM_BKPT; + goto shm_open_err; + } + memset(pShmNode, 0, sizeof(*pShmNode)+nShmFilename); + zShm = pShmNode->zFilename = (char*)&pShmNode[1]; +#ifdef SQLITE_SHM_DIRECTORY + sqlite3_snprintf(nShmFilename, zShm, + SQLITE_SHM_DIRECTORY "/sqlite-shm-%x-%x", + (u32)sStat.st_ino, (u32)sStat.st_dev); +#else + sqlite3_snprintf(nShmFilename, zShm, "%s-shm", zBasePath); + sqlite3FileSuffix3(pDbFd->zPath, zShm); +#endif + pShmNode->hShm = -1; + pDbFd->pInode->pShmNode = pShmNode; + pShmNode->pInode = pDbFd->pInode; + if( sqlite3GlobalConfig.bCoreMutex ){ + pShmNode->pShmMutex = sqlite3_mutex_alloc(SQLITE_MUTEX_FAST); + if( pShmNode->pShmMutex==0 ){ + rc = SQLITE_NOMEM_BKPT; + goto shm_open_err; + } + } + + if( pInode->bProcessLock==0 ){ + if( 0==sqlite3_uri_boolean(pDbFd->zPath, "readonly_shm", 0) ){ + pShmNode->hShm = robust_open(zShm, O_RDWR|O_CREAT,(sStat.st_mode&0777)); + } + if( pShmNode->hShm<0 ){ + pShmNode->hShm = robust_open(zShm, O_RDONLY, (sStat.st_mode&0777)); + if( pShmNode->hShm<0 ){ + rc = unixLogError(SQLITE_CANTOPEN_BKPT, "open", zShm); + goto shm_open_err; + } + pShmNode->isReadonly = 1; + } + + /* If this process is running as root, make sure that the SHM file + ** is owned by the same user that owns the original database. Otherwise, + ** the original owner will not be able to connect. + */ + robustFchown(pShmNode->hShm, sStat.st_uid, sStat.st_gid); + + rc = unixLockSharedMemory(pDbFd, pShmNode); + if( rc!=SQLITE_OK && rc!=SQLITE_READONLY_CANTINIT ) goto shm_open_err; + } + } + + /* Make the new connection a child of the unixShmNode */ + p->pShmNode = pShmNode; +#ifdef SQLITE_DEBUG + p->id = pShmNode->nextShmId++; +#endif + pShmNode->nRef++; + pDbFd->pShm = p; + unixLeaveMutex(); + + /* The reference count on pShmNode has already been incremented under + ** the cover of the unixEnterMutex() mutex and the pointer from the + ** new (struct unixShm) object to the pShmNode has been set. All that is + ** left to do is to link the new object into the linked list starting + ** at pShmNode->pFirst. This must be done while holding the + ** pShmNode->pShmMutex. + */ + sqlite3_mutex_enter(pShmNode->pShmMutex); + p->pNext = pShmNode->pFirst; + pShmNode->pFirst = p; + sqlite3_mutex_leave(pShmNode->pShmMutex); + return rc; + + /* Jump here on any error */ +shm_open_err: + unixShmPurge(pDbFd); /* This call frees pShmNode if required */ + sqlite3_free(p); + unixLeaveMutex(); + return rc; +} + +/* +** This function is called to obtain a pointer to region iRegion of the +** shared-memory associated with the database file fd. Shared-memory regions +** are numbered starting from zero. Each shared-memory region is szRegion +** bytes in size. +** +** If an error occurs, an error code is returned and *pp is set to NULL. +** +** Otherwise, if the bExtend parameter is 0 and the requested shared-memory +** region has not been allocated (by any client, including one running in a +** separate process), then *pp is set to NULL and SQLITE_OK returned. If +** bExtend is non-zero and the requested shared-memory region has not yet +** been allocated, it is allocated by this function. +** +** If the shared-memory region has already been allocated or is allocated by +** this call as described above, then it is mapped into this processes +** address space (if it is not already), *pp is set to point to the mapped +** memory and SQLITE_OK returned. +*/ +static int unixShmMap( + sqlite3_file *fd, /* Handle open on database file */ + int iRegion, /* Region to retrieve */ + int szRegion, /* Size of regions */ + int bExtend, /* True to extend file if necessary */ + void volatile **pp /* OUT: Mapped memory */ +){ + unixFile *pDbFd = (unixFile*)fd; + unixShm *p; + unixShmNode *pShmNode; + int rc = SQLITE_OK; + int nShmPerMap = unixShmRegionPerMap(); + int nReqRegion; + + /* If the shared-memory file has not yet been opened, open it now. */ + if( pDbFd->pShm==0 ){ + rc = unixOpenSharedMemory(pDbFd); + if( rc!=SQLITE_OK ) return rc; + } + + p = pDbFd->pShm; + pShmNode = p->pShmNode; + sqlite3_mutex_enter(pShmNode->pShmMutex); + if( pShmNode->isUnlocked ){ + rc = unixLockSharedMemory(pDbFd, pShmNode); + if( rc!=SQLITE_OK ) goto shmpage_out; + pShmNode->isUnlocked = 0; + } + assert( szRegion==pShmNode->szRegion || pShmNode->nRegion==0 ); + assert( pShmNode->pInode==pDbFd->pInode ); + assert( pShmNode->hShm>=0 || pDbFd->pInode->bProcessLock==1 ); + assert( pShmNode->hShm<0 || pDbFd->pInode->bProcessLock==0 ); + + /* Minimum number of regions required to be mapped. */ + nReqRegion = ((iRegion+nShmPerMap) / nShmPerMap) * nShmPerMap; + + if( pShmNode->nRegionszRegion = szRegion; + + if( pShmNode->hShm>=0 ){ + /* The requested region is not mapped into this processes address space. + ** Check to see if it has been allocated (i.e. if the wal-index file is + ** large enough to contain the requested region). + */ + if( osFstat(pShmNode->hShm, &sStat) ){ + rc = SQLITE_IOERR_SHMSIZE; + goto shmpage_out; + } + + if( sStat.st_sizehShm, iPg*pgsz + pgsz-1,"",1,&x)!=1 ){ + const char *zFile = pShmNode->zFilename; + rc = unixLogError(SQLITE_IOERR_SHMSIZE, "write", zFile); + goto shmpage_out; + } + } + } + } + } + + /* Map the requested memory region into this processes address space. */ + apNew = (char **)sqlite3_realloc( + pShmNode->apRegion, nReqRegion*sizeof(char *) + ); + if( !apNew ){ + rc = SQLITE_IOERR_NOMEM_BKPT; + goto shmpage_out; + } + pShmNode->apRegion = apNew; + while( pShmNode->nRegionhShm>=0 ){ + pMem = osMmap(0, nMap, + pShmNode->isReadonly ? PROT_READ : PROT_READ|PROT_WRITE, + MAP_SHARED, pShmNode->hShm, szRegion*(i64)pShmNode->nRegion + ); + if( pMem==MAP_FAILED ){ + rc = unixLogError(SQLITE_IOERR_SHMMAP, "mmap", pShmNode->zFilename); + goto shmpage_out; + } + }else{ + pMem = sqlite3_malloc64(nMap); + if( pMem==0 ){ + rc = SQLITE_NOMEM_BKPT; + goto shmpage_out; + } + memset(pMem, 0, nMap); + } + + for(i=0; iapRegion[pShmNode->nRegion+i] = &((char*)pMem)[szRegion*i]; + } + pShmNode->nRegion += nShmPerMap; + } + } + +shmpage_out: + if( pShmNode->nRegion>iRegion ){ + *pp = pShmNode->apRegion[iRegion]; + }else{ + *pp = 0; + } + if( pShmNode->isReadonly && rc==SQLITE_OK ) rc = SQLITE_READONLY; + sqlite3_mutex_leave(pShmNode->pShmMutex); + return rc; +} + +/* +** Change the lock state for a shared-memory segment. +** +** Note that the relationship between SHAREd and EXCLUSIVE locks is a little +** different here than in posix. In xShmLock(), one can go from unlocked +** to shared and back or from unlocked to exclusive and back. But one may +** not go from shared to exclusive or from exclusive to shared. +*/ +static int unixShmLock( + sqlite3_file *fd, /* Database file holding the shared memory */ + int ofst, /* First lock to acquire or release */ + int n, /* Number of locks to acquire or release */ + int flags /* What to do with the lock */ +){ + unixFile *pDbFd = (unixFile*)fd; /* Connection holding shared memory */ + unixShm *p = pDbFd->pShm; /* The shared memory being locked */ + unixShm *pX; /* For looping over all siblings */ + unixShmNode *pShmNode = p->pShmNode; /* The underlying file iNode */ + int rc = SQLITE_OK; /* Result code */ + u16 mask; /* Mask of locks to take or release */ + + assert( pShmNode==pDbFd->pInode->pShmNode ); + assert( pShmNode->pInode==pDbFd->pInode ); + assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); + assert( n>=1 ); + assert( flags==(SQLITE_SHM_LOCK | SQLITE_SHM_SHARED) + || flags==(SQLITE_SHM_LOCK | SQLITE_SHM_EXCLUSIVE) + || flags==(SQLITE_SHM_UNLOCK | SQLITE_SHM_SHARED) + || flags==(SQLITE_SHM_UNLOCK | SQLITE_SHM_EXCLUSIVE) ); + assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); + assert( pShmNode->hShm>=0 || pDbFd->pInode->bProcessLock==1 ); + assert( pShmNode->hShm<0 || pDbFd->pInode->bProcessLock==0 ); + + mask = (1<<(ofst+n)) - (1<1 || mask==(1<pShmMutex); + if( flags & SQLITE_SHM_UNLOCK ){ + u16 allMask = 0; /* Mask of locks held by siblings */ + + /* See if any siblings hold this same lock */ + for(pX=pShmNode->pFirst; pX; pX=pX->pNext){ + if( pX==p ) continue; + assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 ); + allMask |= pX->sharedMask; + } + + /* Unlock the system-level locks */ + if( (mask & allMask)==0 ){ + rc = unixShmSystemLock(pDbFd, F_UNLCK, ofst+UNIX_SHM_BASE, n); + }else{ + rc = SQLITE_OK; + } + + /* Undo the local locks */ + if( rc==SQLITE_OK ){ + p->exclMask &= ~mask; + p->sharedMask &= ~mask; + } + }else if( flags & SQLITE_SHM_SHARED ){ + u16 allShared = 0; /* Union of locks held by connections other than "p" */ + + /* Find out which shared locks are already held by sibling connections. + ** If any sibling already holds an exclusive lock, go ahead and return + ** SQLITE_BUSY. + */ + for(pX=pShmNode->pFirst; pX; pX=pX->pNext){ + if( (pX->exclMask & mask)!=0 ){ + rc = SQLITE_BUSY; + break; + } + allShared |= pX->sharedMask; + } + + /* Get shared locks at the system level, if necessary */ + if( rc==SQLITE_OK ){ + if( (allShared & mask)==0 ){ + rc = unixShmSystemLock(pDbFd, F_RDLCK, ofst+UNIX_SHM_BASE, n); + }else{ + rc = SQLITE_OK; + } + } + + /* Get the local shared locks */ + if( rc==SQLITE_OK ){ + p->sharedMask |= mask; + } + }else{ + /* Make sure no sibling connections hold locks that will block this + ** lock. If any do, return SQLITE_BUSY right away. + */ + for(pX=pShmNode->pFirst; pX; pX=pX->pNext){ + if( (pX->exclMask & mask)!=0 || (pX->sharedMask & mask)!=0 ){ + rc = SQLITE_BUSY; + break; + } + } + + /* Get the exclusive locks at the system level. Then if successful + ** also mark the local connection as being locked. + */ + if( rc==SQLITE_OK ){ + rc = unixShmSystemLock(pDbFd, F_WRLCK, ofst+UNIX_SHM_BASE, n); + if( rc==SQLITE_OK ){ + assert( (p->sharedMask & mask)==0 ); + p->exclMask |= mask; + } + } + } + sqlite3_mutex_leave(pShmNode->pShmMutex); + OSTRACE(("SHM-LOCK shmid-%d, pid-%d got %03x,%03x\n", + p->id, osGetpid(0), p->sharedMask, p->exclMask)); + return rc; +} + +/* +** Implement a memory barrier or memory fence on shared memory. +** +** All loads and stores begun before the barrier must complete before +** any load or store begun after the barrier. +*/ +static void unixShmBarrier( + sqlite3_file *fd /* Database file holding the shared memory */ +){ + UNUSED_PARAMETER(fd); + sqlite3MemoryBarrier(); /* compiler-defined memory barrier */ + assert( fd->pMethods->xLock==nolockLock + || unixFileMutexNotheld((unixFile*)fd) + ); + unixEnterMutex(); /* Also mutex, for redundancy */ + unixLeaveMutex(); +} + +/* +** Close a connection to shared-memory. Delete the underlying +** storage if deleteFlag is true. +** +** If there is no shared memory associated with the connection then this +** routine is a harmless no-op. +*/ +static int unixShmUnmap( + sqlite3_file *fd, /* The underlying database file */ + int deleteFlag /* Delete shared-memory if true */ +){ + unixShm *p; /* The connection to be closed */ + unixShmNode *pShmNode; /* The underlying shared-memory file */ + unixShm **pp; /* For looping over sibling connections */ + unixFile *pDbFd; /* The underlying database file */ + + pDbFd = (unixFile*)fd; + p = pDbFd->pShm; + if( p==0 ) return SQLITE_OK; + pShmNode = p->pShmNode; + + assert( pShmNode==pDbFd->pInode->pShmNode ); + assert( pShmNode->pInode==pDbFd->pInode ); + + /* Remove connection p from the set of connections associated + ** with pShmNode */ + sqlite3_mutex_enter(pShmNode->pShmMutex); + for(pp=&pShmNode->pFirst; (*pp)!=p; pp = &(*pp)->pNext){} + *pp = p->pNext; + + /* Free the connection p */ + sqlite3_free(p); + pDbFd->pShm = 0; + sqlite3_mutex_leave(pShmNode->pShmMutex); + + /* If pShmNode->nRef has reached 0, then close the underlying + ** shared-memory file, too */ + assert( unixFileMutexNotheld(pDbFd) ); + unixEnterMutex(); + assert( pShmNode->nRef>0 ); + pShmNode->nRef--; + if( pShmNode->nRef==0 ){ + if( deleteFlag && pShmNode->hShm>=0 ){ + osUnlink(pShmNode->zFilename); + } + unixShmPurge(pDbFd); + } + unixLeaveMutex(); + + return SQLITE_OK; +} + + +#else +# define unixShmMap 0 +# define unixShmLock 0 +# define unixShmBarrier 0 +# define unixShmUnmap 0 +#endif /* #ifndef SQLITE_OMIT_WAL */ + +#if SQLITE_MAX_MMAP_SIZE>0 +/* +** If it is currently memory mapped, unmap file pFd. +*/ +static void unixUnmapfile(unixFile *pFd){ + assert( pFd->nFetchOut==0 ); + if( pFd->pMapRegion ){ + osMunmap(pFd->pMapRegion, pFd->mmapSizeActual); + pFd->pMapRegion = 0; + pFd->mmapSize = 0; + pFd->mmapSizeActual = 0; + } +} + +/* +** Attempt to set the size of the memory mapping maintained by file +** descriptor pFd to nNew bytes. Any existing mapping is discarded. +** +** If successful, this function sets the following variables: +** +** unixFile.pMapRegion +** unixFile.mmapSize +** unixFile.mmapSizeActual +** +** If unsuccessful, an error message is logged via sqlite3_log() and +** the three variables above are zeroed. In this case SQLite should +** continue accessing the database using the xRead() and xWrite() +** methods. +*/ +static void unixRemapfile( + unixFile *pFd, /* File descriptor object */ + i64 nNew /* Required mapping size */ +){ + const char *zErr = "mmap"; + int h = pFd->h; /* File descriptor open on db file */ + u8 *pOrig = (u8 *)pFd->pMapRegion; /* Pointer to current file mapping */ + i64 nOrig = pFd->mmapSizeActual; /* Size of pOrig region in bytes */ + u8 *pNew = 0; /* Location of new mapping */ + int flags = PROT_READ; /* Flags to pass to mmap() */ + + assert( pFd->nFetchOut==0 ); + assert( nNew>pFd->mmapSize ); + assert( nNew<=pFd->mmapSizeMax ); + assert( nNew>0 ); + assert( pFd->mmapSizeActual>=pFd->mmapSize ); + assert( MAP_FAILED!=0 ); + +#ifdef SQLITE_MMAP_READWRITE + if( (pFd->ctrlFlags & UNIXFILE_RDONLY)==0 ) flags |= PROT_WRITE; +#endif + + if( pOrig ){ +#if HAVE_MREMAP + i64 nReuse = pFd->mmapSize; +#else + const int szSyspage = osGetpagesize(); + i64 nReuse = (pFd->mmapSize & ~(szSyspage-1)); +#endif + u8 *pReq = &pOrig[nReuse]; + + /* Unmap any pages of the existing mapping that cannot be reused. */ + if( nReuse!=nOrig ){ + osMunmap(pReq, nOrig-nReuse); + } + +#if HAVE_MREMAP + pNew = osMremap(pOrig, nReuse, nNew, MREMAP_MAYMOVE); + zErr = "mremap"; +#else + pNew = osMmap(pReq, nNew-nReuse, flags, MAP_SHARED, h, nReuse); + if( pNew!=MAP_FAILED ){ + if( pNew!=pReq ){ + osMunmap(pNew, nNew - nReuse); + pNew = 0; + }else{ + pNew = pOrig; + } + } +#endif + + /* The attempt to extend the existing mapping failed. Free it. */ + if( pNew==MAP_FAILED || pNew==0 ){ + osMunmap(pOrig, nReuse); + } + } + + /* If pNew is still NULL, try to create an entirely new mapping. */ + if( pNew==0 ){ + pNew = osMmap(0, nNew, flags, MAP_SHARED, h, 0); + } + + if( pNew==MAP_FAILED ){ + pNew = 0; + nNew = 0; + unixLogError(SQLITE_OK, zErr, pFd->zPath); + + /* If the mmap() above failed, assume that all subsequent mmap() calls + ** will probably fail too. Fall back to using xRead/xWrite exclusively + ** in this case. */ + pFd->mmapSizeMax = 0; + } + pFd->pMapRegion = (void *)pNew; + pFd->mmapSize = pFd->mmapSizeActual = nNew; +} + +/* +** Memory map or remap the file opened by file-descriptor pFd (if the file +** is already mapped, the existing mapping is replaced by the new). Or, if +** there already exists a mapping for this file, and there are still +** outstanding xFetch() references to it, this function is a no-op. +** +** If parameter nByte is non-negative, then it is the requested size of +** the mapping to create. Otherwise, if nByte is less than zero, then the +** requested size is the size of the file on disk. The actual size of the +** created mapping is either the requested size or the value configured +** using SQLITE_FCNTL_MMAP_LIMIT, whichever is smaller. +** +** SQLITE_OK is returned if no error occurs (even if the mapping is not +** recreated as a result of outstanding references) or an SQLite error +** code otherwise. +*/ +static int unixMapfile(unixFile *pFd, i64 nMap){ + assert( nMap>=0 || pFd->nFetchOut==0 ); + assert( nMap>0 || (pFd->mmapSize==0 && pFd->pMapRegion==0) ); + if( pFd->nFetchOut>0 ) return SQLITE_OK; + + if( nMap<0 ){ + struct stat statbuf; /* Low-level file information */ + if( osFstat(pFd->h, &statbuf) ){ + return SQLITE_IOERR_FSTAT; + } + nMap = statbuf.st_size; + } + if( nMap>pFd->mmapSizeMax ){ + nMap = pFd->mmapSizeMax; + } + + assert( nMap>0 || (pFd->mmapSize==0 && pFd->pMapRegion==0) ); + if( nMap!=pFd->mmapSize ){ + unixRemapfile(pFd, nMap); + } + + return SQLITE_OK; +} +#endif /* SQLITE_MAX_MMAP_SIZE>0 */ + +/* +** If possible, return a pointer to a mapping of file fd starting at offset +** iOff. The mapping must be valid for at least nAmt bytes. +** +** If such a pointer can be obtained, store it in *pp and return SQLITE_OK. +** Or, if one cannot but no error occurs, set *pp to 0 and return SQLITE_OK. +** Finally, if an error does occur, return an SQLite error code. The final +** value of *pp is undefined in this case. +** +** If this function does return a pointer, the caller must eventually +** release the reference by calling unixUnfetch(). +*/ +static int unixFetch(sqlite3_file *fd, i64 iOff, int nAmt, void **pp){ +#if SQLITE_MAX_MMAP_SIZE>0 + unixFile *pFd = (unixFile *)fd; /* The underlying database file */ +#endif + *pp = 0; + +#if SQLITE_MAX_MMAP_SIZE>0 + if( pFd->mmapSizeMax>0 ){ + if( pFd->pMapRegion==0 ){ + int rc = unixMapfile(pFd, -1); + if( rc!=SQLITE_OK ) return rc; + } + if( pFd->mmapSize >= iOff+nAmt ){ + *pp = &((u8 *)pFd->pMapRegion)[iOff]; + pFd->nFetchOut++; + } + } +#endif + return SQLITE_OK; +} + +/* +** If the third argument is non-NULL, then this function releases a +** reference obtained by an earlier call to unixFetch(). The second +** argument passed to this function must be the same as the corresponding +** argument that was passed to the unixFetch() invocation. +** +** Or, if the third argument is NULL, then this function is being called +** to inform the VFS layer that, according to POSIX, any existing mapping +** may now be invalid and should be unmapped. +*/ +static int unixUnfetch(sqlite3_file *fd, i64 iOff, void *p){ +#if SQLITE_MAX_MMAP_SIZE>0 + unixFile *pFd = (unixFile *)fd; /* The underlying database file */ + UNUSED_PARAMETER(iOff); + + /* If p==0 (unmap the entire file) then there must be no outstanding + ** xFetch references. Or, if p!=0 (meaning it is an xFetch reference), + ** then there must be at least one outstanding. */ + assert( (p==0)==(pFd->nFetchOut==0) ); + + /* If p!=0, it must match the iOff value. */ + assert( p==0 || p==&((u8 *)pFd->pMapRegion)[iOff] ); + + if( p ){ + pFd->nFetchOut--; + }else{ + unixUnmapfile(pFd); + } + + assert( pFd->nFetchOut>=0 ); +#else + UNUSED_PARAMETER(fd); + UNUSED_PARAMETER(p); + UNUSED_PARAMETER(iOff); +#endif + return SQLITE_OK; +} + +/* +** Here ends the implementation of all sqlite3_file methods. +** +********************** End sqlite3_file Methods ******************************* +******************************************************************************/ + +/* +** This division contains definitions of sqlite3_io_methods objects that +** implement various file locking strategies. It also contains definitions +** of "finder" functions. A finder-function is used to locate the appropriate +** sqlite3_io_methods object for a particular database file. The pAppData +** field of the sqlite3_vfs VFS objects are initialized to be pointers to +** the correct finder-function for that VFS. +** +** Most finder functions return a pointer to a fixed sqlite3_io_methods +** object. The only interesting finder-function is autolockIoFinder, which +** looks at the filesystem type and tries to guess the best locking +** strategy from that. +** +** For finder-function F, two objects are created: +** +** (1) The real finder-function named "FImpt()". +** +** (2) A constant pointer to this function named just "F". +** +** +** A pointer to the F pointer is used as the pAppData value for VFS +** objects. We have to do this instead of letting pAppData point +** directly at the finder-function since C90 rules prevent a void* +** from be cast into a function pointer. +** +** +** Each instance of this macro generates two objects: +** +** * A constant sqlite3_io_methods object call METHOD that has locking +** methods CLOSE, LOCK, UNLOCK, CKRESLOCK. +** +** * An I/O method finder function called FINDER that returns a pointer +** to the METHOD object in the previous bullet. +*/ +#define IOMETHODS(FINDER,METHOD,VERSION,CLOSE,LOCK,UNLOCK,CKLOCK,SHMMAP) \ +static const sqlite3_io_methods METHOD = { \ + VERSION, /* iVersion */ \ + CLOSE, /* xClose */ \ + unixRead, /* xRead */ \ + unixWrite, /* xWrite */ \ + unixTruncate, /* xTruncate */ \ + unixSync, /* xSync */ \ + unixFileSize, /* xFileSize */ \ + LOCK, /* xLock */ \ + UNLOCK, /* xUnlock */ \ + CKLOCK, /* xCheckReservedLock */ \ + unixFileControl, /* xFileControl */ \ + unixSectorSize, /* xSectorSize */ \ + unixDeviceCharacteristics, /* xDeviceCapabilities */ \ + SHMMAP, /* xShmMap */ \ + unixShmLock, /* xShmLock */ \ + unixShmBarrier, /* xShmBarrier */ \ + unixShmUnmap, /* xShmUnmap */ \ + unixFetch, /* xFetch */ \ + unixUnfetch, /* xUnfetch */ \ +}; \ +static const sqlite3_io_methods *FINDER##Impl(const char *z, unixFile *p){ \ + UNUSED_PARAMETER(z); UNUSED_PARAMETER(p); \ + return &METHOD; \ +} \ +static const sqlite3_io_methods *(*const FINDER)(const char*,unixFile *p) \ + = FINDER##Impl; + +/* +** Here are all of the sqlite3_io_methods objects for each of the +** locking strategies. Functions that return pointers to these methods +** are also created. +*/ +IOMETHODS( + posixIoFinder, /* Finder function name */ + posixIoMethods, /* sqlite3_io_methods object name */ + 3, /* shared memory and mmap are enabled */ + unixClose, /* xClose method */ + unixLock, /* xLock method */ + unixUnlock, /* xUnlock method */ + unixCheckReservedLock, /* xCheckReservedLock method */ + unixShmMap /* xShmMap method */ +) +IOMETHODS( + nolockIoFinder, /* Finder function name */ + nolockIoMethods, /* sqlite3_io_methods object name */ + 3, /* shared memory and mmap are enabled */ + nolockClose, /* xClose method */ + nolockLock, /* xLock method */ + nolockUnlock, /* xUnlock method */ + nolockCheckReservedLock, /* xCheckReservedLock method */ + 0 /* xShmMap method */ +) +IOMETHODS( + dotlockIoFinder, /* Finder function name */ + dotlockIoMethods, /* sqlite3_io_methods object name */ + 1, /* shared memory is disabled */ + dotlockClose, /* xClose method */ + dotlockLock, /* xLock method */ + dotlockUnlock, /* xUnlock method */ + dotlockCheckReservedLock, /* xCheckReservedLock method */ + 0 /* xShmMap method */ +) + +#if SQLITE_ENABLE_LOCKING_STYLE +IOMETHODS( + flockIoFinder, /* Finder function name */ + flockIoMethods, /* sqlite3_io_methods object name */ + 1, /* shared memory is disabled */ + flockClose, /* xClose method */ + flockLock, /* xLock method */ + flockUnlock, /* xUnlock method */ + flockCheckReservedLock, /* xCheckReservedLock method */ + 0 /* xShmMap method */ +) +#endif + +#if OS_VXWORKS +IOMETHODS( + semIoFinder, /* Finder function name */ + semIoMethods, /* sqlite3_io_methods object name */ + 1, /* shared memory is disabled */ + semXClose, /* xClose method */ + semXLock, /* xLock method */ + semXUnlock, /* xUnlock method */ + semXCheckReservedLock, /* xCheckReservedLock method */ + 0 /* xShmMap method */ +) +#endif + +#if defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE +IOMETHODS( + afpIoFinder, /* Finder function name */ + afpIoMethods, /* sqlite3_io_methods object name */ + 1, /* shared memory is disabled */ + afpClose, /* xClose method */ + afpLock, /* xLock method */ + afpUnlock, /* xUnlock method */ + afpCheckReservedLock, /* xCheckReservedLock method */ + 0 /* xShmMap method */ +) +#endif + +/* +** The proxy locking method is a "super-method" in the sense that it +** opens secondary file descriptors for the conch and lock files and +** it uses proxy, dot-file, AFP, and flock() locking methods on those +** secondary files. For this reason, the division that implements +** proxy locking is located much further down in the file. But we need +** to go ahead and define the sqlite3_io_methods and finder function +** for proxy locking here. So we forward declare the I/O methods. +*/ +#if defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE +static int proxyClose(sqlite3_file*); +static int proxyLock(sqlite3_file*, int); +static int proxyUnlock(sqlite3_file*, int); +static int proxyCheckReservedLock(sqlite3_file*, int*); +IOMETHODS( + proxyIoFinder, /* Finder function name */ + proxyIoMethods, /* sqlite3_io_methods object name */ + 1, /* shared memory is disabled */ + proxyClose, /* xClose method */ + proxyLock, /* xLock method */ + proxyUnlock, /* xUnlock method */ + proxyCheckReservedLock, /* xCheckReservedLock method */ + 0 /* xShmMap method */ +) +#endif + +/* nfs lockd on OSX 10.3+ doesn't clear write locks when a read lock is set */ +#if defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE +IOMETHODS( + nfsIoFinder, /* Finder function name */ + nfsIoMethods, /* sqlite3_io_methods object name */ + 1, /* shared memory is disabled */ + unixClose, /* xClose method */ + unixLock, /* xLock method */ + nfsUnlock, /* xUnlock method */ + unixCheckReservedLock, /* xCheckReservedLock method */ + 0 /* xShmMap method */ +) +#endif + +#if defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE +/* +** This "finder" function attempts to determine the best locking strategy +** for the database file "filePath". It then returns the sqlite3_io_methods +** object that implements that strategy. +** +** This is for MacOSX only. +*/ +static const sqlite3_io_methods *autolockIoFinderImpl( + const char *filePath, /* name of the database file */ + unixFile *pNew /* open file object for the database file */ +){ + static const struct Mapping { + const char *zFilesystem; /* Filesystem type name */ + const sqlite3_io_methods *pMethods; /* Appropriate locking method */ + } aMap[] = { + { "hfs", &posixIoMethods }, + { "ufs", &posixIoMethods }, + { "afpfs", &afpIoMethods }, + { "smbfs", &afpIoMethods }, + { "webdav", &nolockIoMethods }, + { 0, 0 } + }; + int i; + struct statfs fsInfo; + struct flock lockInfo; + + if( !filePath ){ + /* If filePath==NULL that means we are dealing with a transient file + ** that does not need to be locked. */ + return &nolockIoMethods; + } + if( statfs(filePath, &fsInfo) != -1 ){ + if( fsInfo.f_flags & MNT_RDONLY ){ + return &nolockIoMethods; + } + for(i=0; aMap[i].zFilesystem; i++){ + if( strcmp(fsInfo.f_fstypename, aMap[i].zFilesystem)==0 ){ + return aMap[i].pMethods; + } + } + } + + /* Default case. Handles, amongst others, "nfs". + ** Test byte-range lock using fcntl(). If the call succeeds, + ** assume that the file-system supports POSIX style locks. + */ + lockInfo.l_len = 1; + lockInfo.l_start = 0; + lockInfo.l_whence = SEEK_SET; + lockInfo.l_type = F_RDLCK; + if( osFcntl(pNew->h, F_GETLK, &lockInfo)!=-1 ) { + if( strcmp(fsInfo.f_fstypename, "nfs")==0 ){ + return &nfsIoMethods; + } else { + return &posixIoMethods; + } + }else{ + return &dotlockIoMethods; + } +} +static const sqlite3_io_methods + *(*const autolockIoFinder)(const char*,unixFile*) = autolockIoFinderImpl; + +#endif /* defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE */ + +#if OS_VXWORKS +/* +** This "finder" function for VxWorks checks to see if posix advisory +** locking works. If it does, then that is what is used. If it does not +** work, then fallback to named semaphore locking. +*/ +static const sqlite3_io_methods *vxworksIoFinderImpl( + const char *filePath, /* name of the database file */ + unixFile *pNew /* the open file object */ +){ + struct flock lockInfo; + + if( !filePath ){ + /* If filePath==NULL that means we are dealing with a transient file + ** that does not need to be locked. */ + return &nolockIoMethods; + } + + /* Test if fcntl() is supported and use POSIX style locks. + ** Otherwise fall back to the named semaphore method. + */ + lockInfo.l_len = 1; + lockInfo.l_start = 0; + lockInfo.l_whence = SEEK_SET; + lockInfo.l_type = F_RDLCK; + if( osFcntl(pNew->h, F_GETLK, &lockInfo)!=-1 ) { + return &posixIoMethods; + }else{ + return &semIoMethods; + } +} +static const sqlite3_io_methods + *(*const vxworksIoFinder)(const char*,unixFile*) = vxworksIoFinderImpl; + +#endif /* OS_VXWORKS */ + +/* +** An abstract type for a pointer to an IO method finder function: +*/ +typedef const sqlite3_io_methods *(*finder_type)(const char*,unixFile*); + + +/**************************************************************************** +**************************** sqlite3_vfs methods **************************** +** +** This division contains the implementation of methods on the +** sqlite3_vfs object. +*/ + +/* +** Initialize the contents of the unixFile structure pointed to by pId. +*/ +static int fillInUnixFile( + sqlite3_vfs *pVfs, /* Pointer to vfs object */ + int h, /* Open file descriptor of file being opened */ + sqlite3_file *pId, /* Write to the unixFile structure here */ + const char *zFilename, /* Name of the file being opened */ + int ctrlFlags /* Zero or more UNIXFILE_* values */ +){ + const sqlite3_io_methods *pLockingStyle; + unixFile *pNew = (unixFile *)pId; + int rc = SQLITE_OK; + + assert( pNew->pInode==NULL ); + + /* No locking occurs in temporary files */ + assert( zFilename!=0 || (ctrlFlags & UNIXFILE_NOLOCK)!=0 ); + + OSTRACE(("OPEN %-3d %s\n", h, zFilename)); + pNew->h = h; + pNew->pVfs = pVfs; + pNew->zPath = zFilename; + pNew->ctrlFlags = (u8)ctrlFlags; +#if SQLITE_MAX_MMAP_SIZE>0 + pNew->mmapSizeMax = sqlite3GlobalConfig.szMmap; +#endif + if( sqlite3_uri_boolean(((ctrlFlags & UNIXFILE_URI) ? zFilename : 0), + "psow", SQLITE_POWERSAFE_OVERWRITE) ){ + pNew->ctrlFlags |= UNIXFILE_PSOW; + } + if( strcmp(pVfs->zName,"unix-excl")==0 ){ + pNew->ctrlFlags |= UNIXFILE_EXCL; + } + +#if OS_VXWORKS + pNew->pId = vxworksFindFileId(zFilename); + if( pNew->pId==0 ){ + ctrlFlags |= UNIXFILE_NOLOCK; + rc = SQLITE_NOMEM_BKPT; + } +#endif + + if( ctrlFlags & UNIXFILE_NOLOCK ){ + pLockingStyle = &nolockIoMethods; + }else{ + pLockingStyle = (**(finder_type*)pVfs->pAppData)(zFilename, pNew); +#if SQLITE_ENABLE_LOCKING_STYLE + /* Cache zFilename in the locking context (AFP and dotlock override) for + ** proxyLock activation is possible (remote proxy is based on db name) + ** zFilename remains valid until file is closed, to support */ + pNew->lockingContext = (void*)zFilename; +#endif + } + + if( pLockingStyle == &posixIoMethods +#if defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE + || pLockingStyle == &nfsIoMethods +#endif + ){ + unixEnterMutex(); + rc = findInodeInfo(pNew, &pNew->pInode); + if( rc!=SQLITE_OK ){ + /* If an error occurred in findInodeInfo(), close the file descriptor + ** immediately, before releasing the mutex. findInodeInfo() may fail + ** in two scenarios: + ** + ** (a) A call to fstat() failed. + ** (b) A malloc failed. + ** + ** Scenario (b) may only occur if the process is holding no other + ** file descriptors open on the same file. If there were other file + ** descriptors on this file, then no malloc would be required by + ** findInodeInfo(). If this is the case, it is quite safe to close + ** handle h - as it is guaranteed that no posix locks will be released + ** by doing so. + ** + ** If scenario (a) caused the error then things are not so safe. The + ** implicit assumption here is that if fstat() fails, things are in + ** such bad shape that dropping a lock or two doesn't matter much. + */ + robust_close(pNew, h, __LINE__); + h = -1; + } + unixLeaveMutex(); + } + +#if SQLITE_ENABLE_LOCKING_STYLE && defined(__APPLE__) + else if( pLockingStyle == &afpIoMethods ){ + /* AFP locking uses the file path so it needs to be included in + ** the afpLockingContext. + */ + afpLockingContext *pCtx; + pNew->lockingContext = pCtx = sqlite3_malloc64( sizeof(*pCtx) ); + if( pCtx==0 ){ + rc = SQLITE_NOMEM_BKPT; + }else{ + /* NB: zFilename exists and remains valid until the file is closed + ** according to requirement F11141. So we do not need to make a + ** copy of the filename. */ + pCtx->dbPath = zFilename; + pCtx->reserved = 0; + srandomdev(); + unixEnterMutex(); + rc = findInodeInfo(pNew, &pNew->pInode); + if( rc!=SQLITE_OK ){ + sqlite3_free(pNew->lockingContext); + robust_close(pNew, h, __LINE__); + h = -1; + } + unixLeaveMutex(); + } + } +#endif + + else if( pLockingStyle == &dotlockIoMethods ){ + /* Dotfile locking uses the file path so it needs to be included in + ** the dotlockLockingContext + */ + char *zLockFile; + int nFilename; + assert( zFilename!=0 ); + nFilename = (int)strlen(zFilename) + 6; + zLockFile = (char *)sqlite3_malloc64(nFilename); + if( zLockFile==0 ){ + rc = SQLITE_NOMEM_BKPT; + }else{ + sqlite3_snprintf(nFilename, zLockFile, "%s" DOTLOCK_SUFFIX, zFilename); + } + pNew->lockingContext = zLockFile; + } + +#if OS_VXWORKS + else if( pLockingStyle == &semIoMethods ){ + /* Named semaphore locking uses the file path so it needs to be + ** included in the semLockingContext + */ + unixEnterMutex(); + rc = findInodeInfo(pNew, &pNew->pInode); + if( (rc==SQLITE_OK) && (pNew->pInode->pSem==NULL) ){ + char *zSemName = pNew->pInode->aSemName; + int n; + sqlite3_snprintf(MAX_PATHNAME, zSemName, "/%s.sem", + pNew->pId->zCanonicalName); + for( n=1; zSemName[n]; n++ ) + if( zSemName[n]=='/' ) zSemName[n] = '_'; + pNew->pInode->pSem = sem_open(zSemName, O_CREAT, 0666, 1); + if( pNew->pInode->pSem == SEM_FAILED ){ + rc = SQLITE_NOMEM_BKPT; + pNew->pInode->aSemName[0] = '\0'; + } + } + unixLeaveMutex(); + } +#endif + + storeLastErrno(pNew, 0); +#if OS_VXWORKS + if( rc!=SQLITE_OK ){ + if( h>=0 ) robust_close(pNew, h, __LINE__); + h = -1; + osUnlink(zFilename); + pNew->ctrlFlags |= UNIXFILE_DELETE; + } +#endif + if( rc!=SQLITE_OK ){ + if( h>=0 ) robust_close(pNew, h, __LINE__); + }else{ + pNew->pMethod = pLockingStyle; + OpenCounter(+1); + verifyDbFile(pNew); + } + return rc; +} + +/* +** Return the name of a directory in which to put temporary files. +** If no suitable temporary file directory can be found, return NULL. +*/ +static const char *unixTempFileDir(void){ + static const char *azDirs[] = { + 0, + 0, + "/var/tmp", + "/usr/tmp", + "/tmp", + "." + }; + unsigned int i = 0; + struct stat buf; + const char *zDir = sqlite3_temp_directory; + + if( !azDirs[0] ) azDirs[0] = getenv("SQLITE_TMPDIR"); + if( !azDirs[1] ) azDirs[1] = getenv("TMPDIR"); + while(1){ + if( zDir!=0 + && osStat(zDir, &buf)==0 + && S_ISDIR(buf.st_mode) + && osAccess(zDir, 03)==0 + ){ + return zDir; + } + if( i>=sizeof(azDirs)/sizeof(azDirs[0]) ) break; + zDir = azDirs[i++]; + } + return 0; +} + +/* +** Create a temporary file name in zBuf. zBuf must be allocated +** by the calling process and must be big enough to hold at least +** pVfs->mxPathname bytes. +*/ +static int unixGetTempname(int nBuf, char *zBuf){ + const char *zDir; + int iLimit = 0; + + /* It's odd to simulate an io-error here, but really this is just + ** using the io-error infrastructure to test that SQLite handles this + ** function failing. + */ + zBuf[0] = 0; + SimulateIOError( return SQLITE_IOERR ); + + zDir = unixTempFileDir(); + if( zDir==0 ) return SQLITE_IOERR_GETTEMPPATH; + do{ + u64 r; + sqlite3_randomness(sizeof(r), &r); + assert( nBuf>2 ); + zBuf[nBuf-2] = 0; + sqlite3_snprintf(nBuf, zBuf, "%s/"SQLITE_TEMP_FILE_PREFIX"%llx%c", + zDir, r, 0); + if( zBuf[nBuf-2]!=0 || (iLimit++)>10 ) return SQLITE_ERROR; + }while( osAccess(zBuf,0)==0 ); + return SQLITE_OK; +} + +#if SQLITE_ENABLE_LOCKING_STYLE && defined(__APPLE__) +/* +** Routine to transform a unixFile into a proxy-locking unixFile. +** Implementation in the proxy-lock division, but used by unixOpen() +** if SQLITE_PREFER_PROXY_LOCKING is defined. +*/ +static int proxyTransformUnixFile(unixFile*, const char*); +#endif + +/* +** Search for an unused file descriptor that was opened on the database +** file (not a journal or master-journal file) identified by pathname +** zPath with SQLITE_OPEN_XXX flags matching those passed as the second +** argument to this function. +** +** Such a file descriptor may exist if a database connection was closed +** but the associated file descriptor could not be closed because some +** other file descriptor open on the same file is holding a file-lock. +** Refer to comments in the unixClose() function and the lengthy comment +** describing "Posix Advisory Locking" at the start of this file for +** further details. Also, ticket #4018. +** +** If a suitable file descriptor is found, then it is returned. If no +** such file descriptor is located, -1 is returned. +*/ +static UnixUnusedFd *findReusableFd(const char *zPath, int flags){ + UnixUnusedFd *pUnused = 0; + + /* Do not search for an unused file descriptor on vxworks. Not because + ** vxworks would not benefit from the change (it might, we're not sure), + ** but because no way to test it is currently available. It is better + ** not to risk breaking vxworks support for the sake of such an obscure + ** feature. */ +#if !OS_VXWORKS + struct stat sStat; /* Results of stat() call */ + + unixEnterMutex(); + + /* A stat() call may fail for various reasons. If this happens, it is + ** almost certain that an open() call on the same path will also fail. + ** For this reason, if an error occurs in the stat() call here, it is + ** ignored and -1 is returned. The caller will try to open a new file + ** descriptor on the same path, fail, and return an error to SQLite. + ** + ** Even if a subsequent open() call does succeed, the consequences of + ** not searching for a reusable file descriptor are not dire. */ + if( inodeList!=0 && 0==osStat(zPath, &sStat) ){ + unixInodeInfo *pInode; + + pInode = inodeList; + while( pInode && (pInode->fileId.dev!=sStat.st_dev + || pInode->fileId.ino!=(u64)sStat.st_ino) ){ + pInode = pInode->pNext; + } + if( pInode ){ + UnixUnusedFd **pp; + assert( sqlite3_mutex_notheld(pInode->pLockMutex) ); + sqlite3_mutex_enter(pInode->pLockMutex); + flags &= (SQLITE_OPEN_READONLY|SQLITE_OPEN_READWRITE); + for(pp=&pInode->pUnused; *pp && (*pp)->flags!=flags; pp=&((*pp)->pNext)); + pUnused = *pp; + if( pUnused ){ + *pp = pUnused->pNext; + } + sqlite3_mutex_leave(pInode->pLockMutex); + } + } + unixLeaveMutex(); +#endif /* if !OS_VXWORKS */ + return pUnused; +} + +/* +** Find the mode, uid and gid of file zFile. +*/ +static int getFileMode( + const char *zFile, /* File name */ + mode_t *pMode, /* OUT: Permissions of zFile */ + uid_t *pUid, /* OUT: uid of zFile. */ + gid_t *pGid /* OUT: gid of zFile. */ +){ + struct stat sStat; /* Output of stat() on database file */ + int rc = SQLITE_OK; + if( 0==osStat(zFile, &sStat) ){ + *pMode = sStat.st_mode & 0777; + *pUid = sStat.st_uid; + *pGid = sStat.st_gid; + }else{ + rc = SQLITE_IOERR_FSTAT; + } + return rc; +} + +/* +** This function is called by unixOpen() to determine the unix permissions +** to create new files with. If no error occurs, then SQLITE_OK is returned +** and a value suitable for passing as the third argument to open(2) is +** written to *pMode. If an IO error occurs, an SQLite error code is +** returned and the value of *pMode is not modified. +** +** In most cases, this routine sets *pMode to 0, which will become +** an indication to robust_open() to create the file using +** SQLITE_DEFAULT_FILE_PERMISSIONS adjusted by the umask. +** But if the file being opened is a WAL or regular journal file, then +** this function queries the file-system for the permissions on the +** corresponding database file and sets *pMode to this value. Whenever +** possible, WAL and journal files are created using the same permissions +** as the associated database file. +** +** If the SQLITE_ENABLE_8_3_NAMES option is enabled, then the +** original filename is unavailable. But 8_3_NAMES is only used for +** FAT filesystems and permissions do not matter there, so just use +** the default permissions. In 8_3_NAMES mode, leave *pMode set to zero. +*/ +static int findCreateFileMode( + const char *zPath, /* Path of file (possibly) being created */ + int flags, /* Flags passed as 4th argument to xOpen() */ + mode_t *pMode, /* OUT: Permissions to open file with */ + uid_t *pUid, /* OUT: uid to set on the file */ + gid_t *pGid /* OUT: gid to set on the file */ +){ + int rc = SQLITE_OK; /* Return Code */ + *pMode = 0; + *pUid = 0; + *pGid = 0; + if( flags & (SQLITE_OPEN_WAL|SQLITE_OPEN_MAIN_JOURNAL) ){ + char zDb[MAX_PATHNAME+1]; /* Database file path */ + int nDb; /* Number of valid bytes in zDb */ + + /* zPath is a path to a WAL or journal file. The following block derives + ** the path to the associated database file from zPath. This block handles + ** the following naming conventions: + ** + ** "-journal" + ** "-wal" + ** "-journalNN" + ** "-walNN" + ** + ** where NN is a decimal number. The NN naming schemes are + ** used by the test_multiplex.c module. + */ + nDb = sqlite3Strlen30(zPath) - 1; + while( zPath[nDb]!='-' ){ + /* In normal operation, the journal file name will always contain + ** a '-' character. However in 8+3 filename mode, or if a corrupt + ** rollback journal specifies a master journal with a goofy name, then + ** the '-' might be missing. */ + if( nDb==0 || zPath[nDb]=='.' ) return SQLITE_OK; + nDb--; + } + memcpy(zDb, zPath, nDb); + zDb[nDb] = '\0'; + + rc = getFileMode(zDb, pMode, pUid, pGid); + }else if( flags & SQLITE_OPEN_DELETEONCLOSE ){ + *pMode = 0600; + }else if( flags & SQLITE_OPEN_URI ){ + /* If this is a main database file and the file was opened using a URI + ** filename, check for the "modeof" parameter. If present, interpret + ** its value as a filename and try to copy the mode, uid and gid from + ** that file. */ + const char *z = sqlite3_uri_parameter(zPath, "modeof"); + if( z ){ + rc = getFileMode(z, pMode, pUid, pGid); + } + } + return rc; +} + +/* +** Open the file zPath. +** +** Previously, the SQLite OS layer used three functions in place of this +** one: +** +** sqlite3OsOpenReadWrite(); +** sqlite3OsOpenReadOnly(); +** sqlite3OsOpenExclusive(); +** +** These calls correspond to the following combinations of flags: +** +** ReadWrite() -> (READWRITE | CREATE) +** ReadOnly() -> (READONLY) +** OpenExclusive() -> (READWRITE | CREATE | EXCLUSIVE) +** +** The old OpenExclusive() accepted a boolean argument - "delFlag". If +** true, the file was configured to be automatically deleted when the +** file handle closed. To achieve the same effect using this new +** interface, add the DELETEONCLOSE flag to those specified above for +** OpenExclusive(). +*/ +static int unixOpen( + sqlite3_vfs *pVfs, /* The VFS for which this is the xOpen method */ + const char *zPath, /* Pathname of file to be opened */ + sqlite3_file *pFile, /* The file descriptor to be filled in */ + int flags, /* Input flags to control the opening */ + int *pOutFlags /* Output flags returned to SQLite core */ +){ + unixFile *p = (unixFile *)pFile; + int fd = -1; /* File descriptor returned by open() */ + int openFlags = 0; /* Flags to pass to open() */ + int eType = flags&0xFFFFFF00; /* Type of file to open */ + int noLock; /* True to omit locking primitives */ + int rc = SQLITE_OK; /* Function Return Code */ + int ctrlFlags = 0; /* UNIXFILE_* flags */ + + int isExclusive = (flags & SQLITE_OPEN_EXCLUSIVE); + int isDelete = (flags & SQLITE_OPEN_DELETEONCLOSE); + int isCreate = (flags & SQLITE_OPEN_CREATE); + int isReadonly = (flags & SQLITE_OPEN_READONLY); + int isReadWrite = (flags & SQLITE_OPEN_READWRITE); +#if SQLITE_ENABLE_LOCKING_STYLE + int isAutoProxy = (flags & SQLITE_OPEN_AUTOPROXY); +#endif +#if defined(__APPLE__) || SQLITE_ENABLE_LOCKING_STYLE + struct statfs fsInfo; +#endif + + /* If creating a master or main-file journal, this function will open + ** a file-descriptor on the directory too. The first time unixSync() + ** is called the directory file descriptor will be fsync()ed and close()d. + */ + int isNewJrnl = (isCreate && ( + eType==SQLITE_OPEN_MASTER_JOURNAL + || eType==SQLITE_OPEN_MAIN_JOURNAL + || eType==SQLITE_OPEN_WAL + )); + + /* If argument zPath is a NULL pointer, this function is required to open + ** a temporary file. Use this buffer to store the file name in. + */ + char zTmpname[MAX_PATHNAME+2]; + const char *zName = zPath; + + /* Check the following statements are true: + ** + ** (a) Exactly one of the READWRITE and READONLY flags must be set, and + ** (b) if CREATE is set, then READWRITE must also be set, and + ** (c) if EXCLUSIVE is set, then CREATE must also be set. + ** (d) if DELETEONCLOSE is set, then CREATE must also be set. + */ + assert((isReadonly==0 || isReadWrite==0) && (isReadWrite || isReadonly)); + assert(isCreate==0 || isReadWrite); + assert(isExclusive==0 || isCreate); + assert(isDelete==0 || isCreate); + + /* The main DB, main journal, WAL file and master journal are never + ** automatically deleted. Nor are they ever temporary files. */ + assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_DB ); + assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_JOURNAL ); + assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MASTER_JOURNAL ); + assert( (!isDelete && zName) || eType!=SQLITE_OPEN_WAL ); + + /* Assert that the upper layer has set one of the "file-type" flags. */ + assert( eType==SQLITE_OPEN_MAIN_DB || eType==SQLITE_OPEN_TEMP_DB + || eType==SQLITE_OPEN_MAIN_JOURNAL || eType==SQLITE_OPEN_TEMP_JOURNAL + || eType==SQLITE_OPEN_SUBJOURNAL || eType==SQLITE_OPEN_MASTER_JOURNAL + || eType==SQLITE_OPEN_TRANSIENT_DB || eType==SQLITE_OPEN_WAL + ); + + /* Detect a pid change and reset the PRNG. There is a race condition + ** here such that two or more threads all trying to open databases at + ** the same instant might all reset the PRNG. But multiple resets + ** are harmless. + */ + if( randomnessPid!=osGetpid(0) ){ + randomnessPid = osGetpid(0); + sqlite3_randomness(0,0); + } + memset(p, 0, sizeof(unixFile)); + + if( eType==SQLITE_OPEN_MAIN_DB ){ + UnixUnusedFd *pUnused; + pUnused = findReusableFd(zName, flags); + if( pUnused ){ + fd = pUnused->fd; + }else{ + pUnused = sqlite3_malloc64(sizeof(*pUnused)); + if( !pUnused ){ + return SQLITE_NOMEM_BKPT; + } + } + p->pPreallocatedUnused = pUnused; + + /* Database filenames are double-zero terminated if they are not + ** URIs with parameters. Hence, they can always be passed into + ** sqlite3_uri_parameter(). */ + assert( (flags & SQLITE_OPEN_URI) || zName[strlen(zName)+1]==0 ); + + }else if( !zName ){ + /* If zName is NULL, the upper layer is requesting a temp file. */ + assert(isDelete && !isNewJrnl); + rc = unixGetTempname(pVfs->mxPathname, zTmpname); + if( rc!=SQLITE_OK ){ + return rc; + } + zName = zTmpname; + + /* Generated temporary filenames are always double-zero terminated + ** for use by sqlite3_uri_parameter(). */ + assert( zName[strlen(zName)+1]==0 ); + } + + /* Determine the value of the flags parameter passed to POSIX function + ** open(). These must be calculated even if open() is not called, as + ** they may be stored as part of the file handle and used by the + ** 'conch file' locking functions later on. */ + if( isReadonly ) openFlags |= O_RDONLY; + if( isReadWrite ) openFlags |= O_RDWR; + if( isCreate ) openFlags |= O_CREAT; + if( isExclusive ) openFlags |= (O_EXCL|O_NOFOLLOW); + openFlags |= (O_LARGEFILE|O_BINARY); + + if( fd<0 ){ + mode_t openMode; /* Permissions to create file with */ + uid_t uid; /* Userid for the file */ + gid_t gid; /* Groupid for the file */ + rc = findCreateFileMode(zName, flags, &openMode, &uid, &gid); + if( rc!=SQLITE_OK ){ + assert( !p->pPreallocatedUnused ); + assert( eType==SQLITE_OPEN_WAL || eType==SQLITE_OPEN_MAIN_JOURNAL ); + return rc; + } + fd = robust_open(zName, openFlags, openMode); + OSTRACE(("OPENX %-3d %s 0%o\n", fd, zName, openFlags)); + assert( !isExclusive || (openFlags & O_CREAT)!=0 ); + if( fd<0 ){ + if( isNewJrnl && errno==EACCES && osAccess(zName, F_OK) ){ + /* If unable to create a journal because the directory is not + ** writable, change the error code to indicate that. */ + rc = SQLITE_READONLY_DIRECTORY; + }else if( errno!=EISDIR && isReadWrite ){ + /* Failed to open the file for read/write access. Try read-only. */ + flags &= ~(SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE); + openFlags &= ~(O_RDWR|O_CREAT); + flags |= SQLITE_OPEN_READONLY; + openFlags |= O_RDONLY; + isReadonly = 1; + fd = robust_open(zName, openFlags, openMode); + } + } + if( fd<0 ){ + int rc2 = unixLogError(SQLITE_CANTOPEN_BKPT, "open", zName); + if( rc==SQLITE_OK ) rc = rc2; + goto open_finished; + } + + /* The owner of the rollback journal or WAL file should always be the + ** same as the owner of the database file. Try to ensure that this is + ** the case. The chown() system call will be a no-op if the current + ** process lacks root privileges, be we should at least try. Without + ** this step, if a root process opens a database file, it can leave + ** behinds a journal/WAL that is owned by root and hence make the + ** database inaccessible to unprivileged processes. + ** + ** If openMode==0, then that means uid and gid are not set correctly + ** (probably because SQLite is configured to use 8+3 filename mode) and + ** in that case we do not want to attempt the chown(). + */ + if( openMode && (flags & (SQLITE_OPEN_WAL|SQLITE_OPEN_MAIN_JOURNAL))!=0 ){ + robustFchown(fd, uid, gid); + } + } + assert( fd>=0 ); + if( pOutFlags ){ + *pOutFlags = flags; + } + + if( p->pPreallocatedUnused ){ + p->pPreallocatedUnused->fd = fd; + p->pPreallocatedUnused->flags = + flags & (SQLITE_OPEN_READONLY|SQLITE_OPEN_READWRITE); + } + + if( isDelete ){ +#if OS_VXWORKS + zPath = zName; +#elif defined(SQLITE_UNLINK_AFTER_CLOSE) + zPath = sqlite3_mprintf("%s", zName); + if( zPath==0 ){ + robust_close(p, fd, __LINE__); + return SQLITE_NOMEM_BKPT; + } +#else + osUnlink(zName); +#endif + } +#if SQLITE_ENABLE_LOCKING_STYLE + else{ + p->openFlags = openFlags; + } +#endif + +#if defined(__APPLE__) || SQLITE_ENABLE_LOCKING_STYLE + if( fstatfs(fd, &fsInfo) == -1 ){ + storeLastErrno(p, errno); + robust_close(p, fd, __LINE__); + return SQLITE_IOERR_ACCESS; + } + if (0 == strncmp("msdos", fsInfo.f_fstypename, 5)) { + ((unixFile*)pFile)->fsFlags |= SQLITE_FSFLAGS_IS_MSDOS; + } + if (0 == strncmp("exfat", fsInfo.f_fstypename, 5)) { + ((unixFile*)pFile)->fsFlags |= SQLITE_FSFLAGS_IS_MSDOS; + } +#endif + + /* Set up appropriate ctrlFlags */ + if( isDelete ) ctrlFlags |= UNIXFILE_DELETE; + if( isReadonly ) ctrlFlags |= UNIXFILE_RDONLY; + noLock = eType!=SQLITE_OPEN_MAIN_DB; + if( noLock ) ctrlFlags |= UNIXFILE_NOLOCK; + if( isNewJrnl ) ctrlFlags |= UNIXFILE_DIRSYNC; + if( flags & SQLITE_OPEN_URI ) ctrlFlags |= UNIXFILE_URI; + +#if SQLITE_ENABLE_LOCKING_STYLE +#if SQLITE_PREFER_PROXY_LOCKING + isAutoProxy = 1; +#endif + if( isAutoProxy && (zPath!=NULL) && (!noLock) && pVfs->xOpen ){ + char *envforce = getenv("SQLITE_FORCE_PROXY_LOCKING"); + int useProxy = 0; + + /* SQLITE_FORCE_PROXY_LOCKING==1 means force always use proxy, 0 means + ** never use proxy, NULL means use proxy for non-local files only. */ + if( envforce!=NULL ){ + useProxy = atoi(envforce)>0; + }else{ + useProxy = !(fsInfo.f_flags&MNT_LOCAL); + } + if( useProxy ){ + rc = fillInUnixFile(pVfs, fd, pFile, zPath, ctrlFlags); + if( rc==SQLITE_OK ){ + rc = proxyTransformUnixFile((unixFile*)pFile, ":auto:"); + if( rc!=SQLITE_OK ){ + /* Use unixClose to clean up the resources added in fillInUnixFile + ** and clear all the structure's references. Specifically, + ** pFile->pMethods will be NULL so sqlite3OsClose will be a no-op + */ + unixClose(pFile); + return rc; + } + } + goto open_finished; + } + } +#endif + + assert( zPath==0 || zPath[0]=='/' + || eType==SQLITE_OPEN_MASTER_JOURNAL || eType==SQLITE_OPEN_MAIN_JOURNAL + ); + rc = fillInUnixFile(pVfs, fd, pFile, zPath, ctrlFlags); + +open_finished: + if( rc!=SQLITE_OK ){ + sqlite3_free(p->pPreallocatedUnused); + } + return rc; +} + + +/* +** Delete the file at zPath. If the dirSync argument is true, fsync() +** the directory after deleting the file. +*/ +static int unixDelete( + sqlite3_vfs *NotUsed, /* VFS containing this as the xDelete method */ + const char *zPath, /* Name of file to be deleted */ + int dirSync /* If true, fsync() directory after deleting file */ +){ + int rc = SQLITE_OK; + UNUSED_PARAMETER(NotUsed); + SimulateIOError(return SQLITE_IOERR_DELETE); + if( osUnlink(zPath)==(-1) ){ + if( errno==ENOENT +#if OS_VXWORKS + || osAccess(zPath,0)!=0 +#endif + ){ + rc = SQLITE_IOERR_DELETE_NOENT; + }else{ + rc = unixLogError(SQLITE_IOERR_DELETE, "unlink", zPath); + } + return rc; + } +#ifndef SQLITE_DISABLE_DIRSYNC + if( (dirSync & 1)!=0 ){ + int fd; + rc = osOpenDirectory(zPath, &fd); + if( rc==SQLITE_OK ){ + if( full_fsync(fd,0,0) ){ + rc = unixLogError(SQLITE_IOERR_DIR_FSYNC, "fsync", zPath); + } + robust_close(0, fd, __LINE__); + }else{ + assert( rc==SQLITE_CANTOPEN ); + rc = SQLITE_OK; + } + } +#endif + return rc; +} + +/* +** Test the existence of or access permissions of file zPath. The +** test performed depends on the value of flags: +** +** SQLITE_ACCESS_EXISTS: Return 1 if the file exists +** SQLITE_ACCESS_READWRITE: Return 1 if the file is read and writable. +** SQLITE_ACCESS_READONLY: Return 1 if the file is readable. +** +** Otherwise return 0. +*/ +static int unixAccess( + sqlite3_vfs *NotUsed, /* The VFS containing this xAccess method */ + const char *zPath, /* Path of the file to examine */ + int flags, /* What do we want to learn about the zPath file? */ + int *pResOut /* Write result boolean here */ +){ + UNUSED_PARAMETER(NotUsed); + SimulateIOError( return SQLITE_IOERR_ACCESS; ); + assert( pResOut!=0 ); + + /* The spec says there are three possible values for flags. But only + ** two of them are actually used */ + assert( flags==SQLITE_ACCESS_EXISTS || flags==SQLITE_ACCESS_READWRITE ); + + if( flags==SQLITE_ACCESS_EXISTS ){ + struct stat buf; + *pResOut = (0==osStat(zPath, &buf) && buf.st_size>0); + }else{ + *pResOut = osAccess(zPath, W_OK|R_OK)==0; + } + return SQLITE_OK; +} + +/* +** +*/ +static int mkFullPathname( + const char *zPath, /* Input path */ + char *zOut, /* Output buffer */ + int nOut /* Allocated size of buffer zOut */ +){ + int nPath = sqlite3Strlen30(zPath); + int iOff = 0; + if( zPath[0]!='/' ){ + if( osGetcwd(zOut, nOut-2)==0 ){ + return unixLogError(SQLITE_CANTOPEN_BKPT, "getcwd", zPath); + } + iOff = sqlite3Strlen30(zOut); + zOut[iOff++] = '/'; + } + if( (iOff+nPath+1)>nOut ){ + /* SQLite assumes that xFullPathname() nul-terminates the output buffer + ** even if it returns an error. */ + zOut[iOff] = '\0'; + return SQLITE_CANTOPEN_BKPT; + } + sqlite3_snprintf(nOut-iOff, &zOut[iOff], "%s", zPath); + return SQLITE_OK; +} + +/* +** Turn a relative pathname into a full pathname. The relative path +** is stored as a nul-terminated string in the buffer pointed to by +** zPath. +** +** zOut points to a buffer of at least sqlite3_vfs.mxPathname bytes +** (in this case, MAX_PATHNAME bytes). The full-path is written to +** this buffer before returning. +*/ +static int unixFullPathname( + sqlite3_vfs *pVfs, /* Pointer to vfs object */ + const char *zPath, /* Possibly relative input path */ + int nOut, /* Size of output buffer in bytes */ + char *zOut /* Output buffer */ +){ +#if !defined(HAVE_READLINK) || !defined(HAVE_LSTAT) + return mkFullPathname(zPath, zOut, nOut); +#else + int rc = SQLITE_OK; + int nByte; + int nLink = 1; /* Number of symbolic links followed so far */ + const char *zIn = zPath; /* Input path for each iteration of loop */ + char *zDel = 0; + + assert( pVfs->mxPathname==MAX_PATHNAME ); + UNUSED_PARAMETER(pVfs); + + /* It's odd to simulate an io-error here, but really this is just + ** using the io-error infrastructure to test that SQLite handles this + ** function failing. This function could fail if, for example, the + ** current working directory has been unlinked. + */ + SimulateIOError( return SQLITE_ERROR ); + + do { + + /* Call stat() on path zIn. Set bLink to true if the path is a symbolic + ** link, or false otherwise. */ + int bLink = 0; + struct stat buf; + if( osLstat(zIn, &buf)!=0 ){ + if( errno!=ENOENT ){ + rc = unixLogError(SQLITE_CANTOPEN_BKPT, "lstat", zIn); + } + }else{ + bLink = S_ISLNK(buf.st_mode); + } + + if( bLink ){ + if( zDel==0 ){ + zDel = sqlite3_malloc(nOut); + if( zDel==0 ) rc = SQLITE_NOMEM_BKPT; + }else if( ++nLink>SQLITE_MAX_SYMLINKS ){ + rc = SQLITE_CANTOPEN_BKPT; + } + + if( rc==SQLITE_OK ){ + nByte = osReadlink(zIn, zDel, nOut-1); + if( nByte<0 ){ + rc = unixLogError(SQLITE_CANTOPEN_BKPT, "readlink", zIn); + }else{ + if( zDel[0]!='/' ){ + int n; + for(n = sqlite3Strlen30(zIn); n>0 && zIn[n-1]!='/'; n--); + if( nByte+n+1>nOut ){ + rc = SQLITE_CANTOPEN_BKPT; + }else{ + memmove(&zDel[n], zDel, nByte+1); + memcpy(zDel, zIn, n); + nByte += n; + } + } + zDel[nByte] = '\0'; + } + } + + zIn = zDel; + } + + assert( rc!=SQLITE_OK || zIn!=zOut || zIn[0]=='/' ); + if( rc==SQLITE_OK && zIn!=zOut ){ + rc = mkFullPathname(zIn, zOut, nOut); + } + if( bLink==0 ) break; + zIn = zOut; + }while( rc==SQLITE_OK ); + + sqlite3_free(zDel); + return rc; +#endif /* HAVE_READLINK && HAVE_LSTAT */ +} + + +#ifndef SQLITE_OMIT_LOAD_EXTENSION +/* +** Interfaces for opening a shared library, finding entry points +** within the shared library, and closing the shared library. +*/ +#include +static void *unixDlOpen(sqlite3_vfs *NotUsed, const char *zFilename){ + UNUSED_PARAMETER(NotUsed); + return dlopen(zFilename, RTLD_NOW | RTLD_GLOBAL); +} + +/* +** SQLite calls this function immediately after a call to unixDlSym() or +** unixDlOpen() fails (returns a null pointer). If a more detailed error +** message is available, it is written to zBufOut. If no error message +** is available, zBufOut is left unmodified and SQLite uses a default +** error message. +*/ +static void unixDlError(sqlite3_vfs *NotUsed, int nBuf, char *zBufOut){ + const char *zErr; + UNUSED_PARAMETER(NotUsed); + unixEnterMutex(); + zErr = dlerror(); + if( zErr ){ + sqlite3_snprintf(nBuf, zBufOut, "%s", zErr); + } + unixLeaveMutex(); +} +static void (*unixDlSym(sqlite3_vfs *NotUsed, void *p, const char*zSym))(void){ + /* + ** GCC with -pedantic-errors says that C90 does not allow a void* to be + ** cast into a pointer to a function. And yet the library dlsym() routine + ** returns a void* which is really a pointer to a function. So how do we + ** use dlsym() with -pedantic-errors? + ** + ** Variable x below is defined to be a pointer to a function taking + ** parameters void* and const char* and returning a pointer to a function. + ** We initialize x by assigning it a pointer to the dlsym() function. + ** (That assignment requires a cast.) Then we call the function that + ** x points to. + ** + ** This work-around is unlikely to work correctly on any system where + ** you really cannot cast a function pointer into void*. But then, on the + ** other hand, dlsym() will not work on such a system either, so we have + ** not really lost anything. + */ + void (*(*x)(void*,const char*))(void); + UNUSED_PARAMETER(NotUsed); + x = (void(*(*)(void*,const char*))(void))dlsym; + return (*x)(p, zSym); +} +static void unixDlClose(sqlite3_vfs *NotUsed, void *pHandle){ + UNUSED_PARAMETER(NotUsed); + dlclose(pHandle); +} +#else /* if SQLITE_OMIT_LOAD_EXTENSION is defined: */ + #define unixDlOpen 0 + #define unixDlError 0 + #define unixDlSym 0 + #define unixDlClose 0 +#endif + +/* +** Write nBuf bytes of random data to the supplied buffer zBuf. +*/ +static int unixRandomness(sqlite3_vfs *NotUsed, int nBuf, char *zBuf){ + UNUSED_PARAMETER(NotUsed); + assert((size_t)nBuf>=(sizeof(time_t)+sizeof(int))); + + /* We have to initialize zBuf to prevent valgrind from reporting + ** errors. The reports issued by valgrind are incorrect - we would + ** prefer that the randomness be increased by making use of the + ** uninitialized space in zBuf - but valgrind errors tend to worry + ** some users. Rather than argue, it seems easier just to initialize + ** the whole array and silence valgrind, even if that means less randomness + ** in the random seed. + ** + ** When testing, initializing zBuf[] to zero is all we do. That means + ** that we always use the same random number sequence. This makes the + ** tests repeatable. + */ + memset(zBuf, 0, nBuf); + randomnessPid = osGetpid(0); +#if !defined(SQLITE_TEST) && !defined(SQLITE_OMIT_RANDOMNESS) + { + int fd, got; + fd = robust_open("/dev/urandom", O_RDONLY, 0); + if( fd<0 ){ + time_t t; + time(&t); + memcpy(zBuf, &t, sizeof(t)); + memcpy(&zBuf[sizeof(t)], &randomnessPid, sizeof(randomnessPid)); + assert( sizeof(t)+sizeof(randomnessPid)<=(size_t)nBuf ); + nBuf = sizeof(t) + sizeof(randomnessPid); + }else{ + do{ got = osRead(fd, zBuf, nBuf); }while( got<0 && errno==EINTR ); + robust_close(0, fd, __LINE__); + } + } +#endif + return nBuf; +} + + +/* +** Sleep for a little while. Return the amount of time slept. +** The argument is the number of microseconds we want to sleep. +** The return value is the number of microseconds of sleep actually +** requested from the underlying operating system, a number which +** might be greater than or equal to the argument, but not less +** than the argument. +*/ +static int unixSleep(sqlite3_vfs *NotUsed, int microseconds){ +#if OS_VXWORKS + struct timespec sp; + + sp.tv_sec = microseconds / 1000000; + sp.tv_nsec = (microseconds % 1000000) * 1000; + nanosleep(&sp, NULL); + UNUSED_PARAMETER(NotUsed); + return microseconds; +#elif defined(HAVE_USLEEP) && HAVE_USLEEP + usleep(microseconds); + UNUSED_PARAMETER(NotUsed); + return microseconds; +#else + int seconds = (microseconds+999999)/1000000; + sleep(seconds); + UNUSED_PARAMETER(NotUsed); + return seconds*1000000; +#endif +} + +/* +** The following variable, if set to a non-zero value, is interpreted as +** the number of seconds since 1970 and is used to set the result of +** sqlite3OsCurrentTime() during testing. +*/ +#ifdef SQLITE_TEST +SQLITE_API int sqlite3_current_time = 0; /* Fake system time in seconds since 1970. */ +#endif + +/* +** Find the current time (in Universal Coordinated Time). Write into *piNow +** the current time and date as a Julian Day number times 86_400_000. In +** other words, write into *piNow the number of milliseconds since the Julian +** epoch of noon in Greenwich on November 24, 4714 B.C according to the +** proleptic Gregorian calendar. +** +** On success, return SQLITE_OK. Return SQLITE_ERROR if the time and date +** cannot be found. +*/ +static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow){ + static const sqlite3_int64 unixEpoch = 24405875*(sqlite3_int64)8640000; + int rc = SQLITE_OK; +#if defined(NO_GETTOD) + time_t t; + time(&t); + *piNow = ((sqlite3_int64)t)*1000 + unixEpoch; +#elif OS_VXWORKS + struct timespec sNow; + clock_gettime(CLOCK_REALTIME, &sNow); + *piNow = unixEpoch + 1000*(sqlite3_int64)sNow.tv_sec + sNow.tv_nsec/1000000; +#else + struct timeval sNow; + (void)gettimeofday(&sNow, 0); /* Cannot fail given valid arguments */ + *piNow = unixEpoch + 1000*(sqlite3_int64)sNow.tv_sec + sNow.tv_usec/1000; +#endif + +#ifdef SQLITE_TEST + if( sqlite3_current_time ){ + *piNow = 1000*(sqlite3_int64)sqlite3_current_time + unixEpoch; + } +#endif + UNUSED_PARAMETER(NotUsed); + return rc; +} + +#ifndef SQLITE_OMIT_DEPRECATED +/* +** Find the current time (in Universal Coordinated Time). Write the +** current time and date as a Julian Day number into *prNow and +** return 0. Return 1 if the time and date cannot be found. +*/ +static int unixCurrentTime(sqlite3_vfs *NotUsed, double *prNow){ + sqlite3_int64 i = 0; + int rc; + UNUSED_PARAMETER(NotUsed); + rc = unixCurrentTimeInt64(0, &i); + *prNow = i/86400000.0; + return rc; +} +#else +# define unixCurrentTime 0 +#endif + +/* +** The xGetLastError() method is designed to return a better +** low-level error message when operating-system problems come up +** during SQLite operation. Only the integer return code is currently +** used. +*/ +static int unixGetLastError(sqlite3_vfs *NotUsed, int NotUsed2, char *NotUsed3){ + UNUSED_PARAMETER(NotUsed); + UNUSED_PARAMETER(NotUsed2); + UNUSED_PARAMETER(NotUsed3); + return errno; +} + + +/* +************************ End of sqlite3_vfs methods *************************** +******************************************************************************/ + +/****************************************************************************** +************************** Begin Proxy Locking ******************************** +** +** Proxy locking is a "uber-locking-method" in this sense: It uses the +** other locking methods on secondary lock files. Proxy locking is a +** meta-layer over top of the primitive locking implemented above. For +** this reason, the division that implements of proxy locking is deferred +** until late in the file (here) after all of the other I/O methods have +** been defined - so that the primitive locking methods are available +** as services to help with the implementation of proxy locking. +** +**** +** +** The default locking schemes in SQLite use byte-range locks on the +** database file to coordinate safe, concurrent access by multiple readers +** and writers [http://sqlite.org/lockingv3.html]. The five file locking +** states (UNLOCKED, PENDING, SHARED, RESERVED, EXCLUSIVE) are implemented +** as POSIX read & write locks over fixed set of locations (via fsctl), +** on AFP and SMB only exclusive byte-range locks are available via fsctl +** with _IOWR('z', 23, struct ByteRangeLockPB2) to track the same 5 states. +** To simulate a F_RDLCK on the shared range, on AFP a randomly selected +** address in the shared range is taken for a SHARED lock, the entire +** shared range is taken for an EXCLUSIVE lock): +** +** PENDING_BYTE 0x40000000 +** RESERVED_BYTE 0x40000001 +** SHARED_RANGE 0x40000002 -> 0x40000200 +** +** This works well on the local file system, but shows a nearly 100x +** slowdown in read performance on AFP because the AFP client disables +** the read cache when byte-range locks are present. Enabling the read +** cache exposes a cache coherency problem that is present on all OS X +** supported network file systems. NFS and AFP both observe the +** close-to-open semantics for ensuring cache coherency +** [http://nfs.sourceforge.net/#faq_a8], which does not effectively +** address the requirements for concurrent database access by multiple +** readers and writers +** [http://www.nabble.com/SQLite-on-NFS-cache-coherency-td15655701.html]. +** +** To address the performance and cache coherency issues, proxy file locking +** changes the way database access is controlled by limiting access to a +** single host at a time and moving file locks off of the database file +** and onto a proxy file on the local file system. +** +** +** Using proxy locks +** ----------------- +** +** C APIs +** +** sqlite3_file_control(db, dbname, SQLITE_FCNTL_SET_LOCKPROXYFILE, +** | ":auto:"); +** sqlite3_file_control(db, dbname, SQLITE_FCNTL_GET_LOCKPROXYFILE, +** &); +** +** +** SQL pragmas +** +** PRAGMA [database.]lock_proxy_file= | :auto: +** PRAGMA [database.]lock_proxy_file +** +** Specifying ":auto:" means that if there is a conch file with a matching +** host ID in it, the proxy path in the conch file will be used, otherwise +** a proxy path based on the user's temp dir +** (via confstr(_CS_DARWIN_USER_TEMP_DIR,...)) will be used and the +** actual proxy file name is generated from the name and path of the +** database file. For example: +** +** For database path "/Users/me/foo.db" +** The lock path will be "/sqliteplocks/_Users_me_foo.db:auto:") +** +** Once a lock proxy is configured for a database connection, it can not +** be removed, however it may be switched to a different proxy path via +** the above APIs (assuming the conch file is not being held by another +** connection or process). +** +** +** How proxy locking works +** ----------------------- +** +** Proxy file locking relies primarily on two new supporting files: +** +** * conch file to limit access to the database file to a single host +** at a time +** +** * proxy file to act as a proxy for the advisory locks normally +** taken on the database +** +** The conch file - to use a proxy file, sqlite must first "hold the conch" +** by taking an sqlite-style shared lock on the conch file, reading the +** contents and comparing the host's unique host ID (see below) and lock +** proxy path against the values stored in the conch. The conch file is +** stored in the same directory as the database file and the file name +** is patterned after the database file name as ".-conch". +** If the conch file does not exist, or its contents do not match the +** host ID and/or proxy path, then the lock is escalated to an exclusive +** lock and the conch file contents is updated with the host ID and proxy +** path and the lock is downgraded to a shared lock again. If the conch +** is held by another process (with a shared lock), the exclusive lock +** will fail and SQLITE_BUSY is returned. +** +** The proxy file - a single-byte file used for all advisory file locks +** normally taken on the database file. This allows for safe sharing +** of the database file for multiple readers and writers on the same +** host (the conch ensures that they all use the same local lock file). +** +** Requesting the lock proxy does not immediately take the conch, it is +** only taken when the first request to lock database file is made. +** This matches the semantics of the traditional locking behavior, where +** opening a connection to a database file does not take a lock on it. +** The shared lock and an open file descriptor are maintained until +** the connection to the database is closed. +** +** The proxy file and the lock file are never deleted so they only need +** to be created the first time they are used. +** +** Configuration options +** --------------------- +** +** SQLITE_PREFER_PROXY_LOCKING +** +** Database files accessed on non-local file systems are +** automatically configured for proxy locking, lock files are +** named automatically using the same logic as +** PRAGMA lock_proxy_file=":auto:" +** +** SQLITE_PROXY_DEBUG +** +** Enables the logging of error messages during host id file +** retrieval and creation +** +** LOCKPROXYDIR +** +** Overrides the default directory used for lock proxy files that +** are named automatically via the ":auto:" setting +** +** SQLITE_DEFAULT_PROXYDIR_PERMISSIONS +** +** Permissions to use when creating a directory for storing the +** lock proxy files, only used when LOCKPROXYDIR is not set. +** +** +** As mentioned above, when compiled with SQLITE_PREFER_PROXY_LOCKING, +** setting the environment variable SQLITE_FORCE_PROXY_LOCKING to 1 will +** force proxy locking to be used for every database file opened, and 0 +** will force automatic proxy locking to be disabled for all database +** files (explicitly calling the SQLITE_FCNTL_SET_LOCKPROXYFILE pragma or +** sqlite_file_control API is not affected by SQLITE_FORCE_PROXY_LOCKING). +*/ + +/* +** Proxy locking is only available on MacOSX +*/ +#if defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE + +/* +** The proxyLockingContext has the path and file structures for the remote +** and local proxy files in it +*/ +typedef struct proxyLockingContext proxyLockingContext; +struct proxyLockingContext { + unixFile *conchFile; /* Open conch file */ + char *conchFilePath; /* Name of the conch file */ + unixFile *lockProxy; /* Open proxy lock file */ + char *lockProxyPath; /* Name of the proxy lock file */ + char *dbPath; /* Name of the open file */ + int conchHeld; /* 1 if the conch is held, -1 if lockless */ + int nFails; /* Number of conch taking failures */ + void *oldLockingContext; /* Original lockingcontext to restore on close */ + sqlite3_io_methods const *pOldMethod; /* Original I/O methods for close */ +}; + +/* +** The proxy lock file path for the database at dbPath is written into lPath, +** which must point to valid, writable memory large enough for a maxLen length +** file path. +*/ +static int proxyGetLockPath(const char *dbPath, char *lPath, size_t maxLen){ + int len; + int dbLen; + int i; + +#ifdef LOCKPROXYDIR + len = strlcpy(lPath, LOCKPROXYDIR, maxLen); +#else +# ifdef _CS_DARWIN_USER_TEMP_DIR + { + if( !confstr(_CS_DARWIN_USER_TEMP_DIR, lPath, maxLen) ){ + OSTRACE(("GETLOCKPATH failed %s errno=%d pid=%d\n", + lPath, errno, osGetpid(0))); + return SQLITE_IOERR_LOCK; + } + len = strlcat(lPath, "sqliteplocks", maxLen); + } +# else + len = strlcpy(lPath, "/tmp/", maxLen); +# endif +#endif + + if( lPath[len-1]!='/' ){ + len = strlcat(lPath, "/", maxLen); + } + + /* transform the db path to a unique cache name */ + dbLen = (int)strlen(dbPath); + for( i=0; i 0) ){ + /* only mkdir if leaf dir != "." or "/" or ".." */ + if( i-start>2 || (i-start==1 && buf[start] != '.' && buf[start] != '/') + || (i-start==2 && buf[start] != '.' && buf[start+1] != '.') ){ + buf[i]='\0'; + if( osMkdir(buf, SQLITE_DEFAULT_PROXYDIR_PERMISSIONS) ){ + int err=errno; + if( err!=EEXIST ) { + OSTRACE(("CREATELOCKPATH FAILED creating %s, " + "'%s' proxy lock path=%s pid=%d\n", + buf, strerror(err), lockPath, osGetpid(0))); + return err; + } + } + } + start=i+1; + } + buf[i] = lockPath[i]; + } + OSTRACE(("CREATELOCKPATH proxy lock path=%s pid=%d\n",lockPath,osGetpid(0))); + return 0; +} + +/* +** Create a new VFS file descriptor (stored in memory obtained from +** sqlite3_malloc) and open the file named "path" in the file descriptor. +** +** The caller is responsible not only for closing the file descriptor +** but also for freeing the memory associated with the file descriptor. +*/ +static int proxyCreateUnixFile( + const char *path, /* path for the new unixFile */ + unixFile **ppFile, /* unixFile created and returned by ref */ + int islockfile /* if non zero missing dirs will be created */ +) { + int fd = -1; + unixFile *pNew; + int rc = SQLITE_OK; + int openFlags = O_RDWR | O_CREAT; + sqlite3_vfs dummyVfs; + int terrno = 0; + UnixUnusedFd *pUnused = NULL; + + /* 1. first try to open/create the file + ** 2. if that fails, and this is a lock file (not-conch), try creating + ** the parent directories and then try again. + ** 3. if that fails, try to open the file read-only + ** otherwise return BUSY (if lock file) or CANTOPEN for the conch file + */ + pUnused = findReusableFd(path, openFlags); + if( pUnused ){ + fd = pUnused->fd; + }else{ + pUnused = sqlite3_malloc64(sizeof(*pUnused)); + if( !pUnused ){ + return SQLITE_NOMEM_BKPT; + } + } + if( fd<0 ){ + fd = robust_open(path, openFlags, 0); + terrno = errno; + if( fd<0 && errno==ENOENT && islockfile ){ + if( proxyCreateLockPath(path) == SQLITE_OK ){ + fd = robust_open(path, openFlags, 0); + } + } + } + if( fd<0 ){ + openFlags = O_RDONLY; + fd = robust_open(path, openFlags, 0); + terrno = errno; + } + if( fd<0 ){ + if( islockfile ){ + return SQLITE_BUSY; + } + switch (terrno) { + case EACCES: + return SQLITE_PERM; + case EIO: + return SQLITE_IOERR_LOCK; /* even though it is the conch */ + default: + return SQLITE_CANTOPEN_BKPT; + } + } + + pNew = (unixFile *)sqlite3_malloc64(sizeof(*pNew)); + if( pNew==NULL ){ + rc = SQLITE_NOMEM_BKPT; + goto end_create_proxy; + } + memset(pNew, 0, sizeof(unixFile)); + pNew->openFlags = openFlags; + memset(&dummyVfs, 0, sizeof(dummyVfs)); + dummyVfs.pAppData = (void*)&autolockIoFinder; + dummyVfs.zName = "dummy"; + pUnused->fd = fd; + pUnused->flags = openFlags; + pNew->pPreallocatedUnused = pUnused; + + rc = fillInUnixFile(&dummyVfs, fd, (sqlite3_file*)pNew, path, 0); + if( rc==SQLITE_OK ){ + *ppFile = pNew; + return SQLITE_OK; + } +end_create_proxy: + robust_close(pNew, fd, __LINE__); + sqlite3_free(pNew); + sqlite3_free(pUnused); + return rc; +} + +#ifdef SQLITE_TEST +/* simulate multiple hosts by creating unique hostid file paths */ +SQLITE_API int sqlite3_hostid_num = 0; +#endif + +#define PROXY_HOSTIDLEN 16 /* conch file host id length */ + +#if HAVE_GETHOSTUUID +/* Not always defined in the headers as it ought to be */ +extern int gethostuuid(uuid_t id, const struct timespec *wait); +#endif + +/* get the host ID via gethostuuid(), pHostID must point to PROXY_HOSTIDLEN +** bytes of writable memory. +*/ +static int proxyGetHostID(unsigned char *pHostID, int *pError){ + assert(PROXY_HOSTIDLEN == sizeof(uuid_t)); + memset(pHostID, 0, PROXY_HOSTIDLEN); +#if HAVE_GETHOSTUUID + { + struct timespec timeout = {1, 0}; /* 1 sec timeout */ + if( gethostuuid(pHostID, &timeout) ){ + int err = errno; + if( pError ){ + *pError = err; + } + return SQLITE_IOERR; + } + } +#else + UNUSED_PARAMETER(pError); +#endif +#ifdef SQLITE_TEST + /* simulate multiple hosts by creating unique hostid file paths */ + if( sqlite3_hostid_num != 0){ + pHostID[0] = (char)(pHostID[0] + (char)(sqlite3_hostid_num & 0xFF)); + } +#endif + + return SQLITE_OK; +} + +/* The conch file contains the header, host id and lock file path + */ +#define PROXY_CONCHVERSION 2 /* 1-byte header, 16-byte host id, path */ +#define PROXY_HEADERLEN 1 /* conch file header length */ +#define PROXY_PATHINDEX (PROXY_HEADERLEN+PROXY_HOSTIDLEN) +#define PROXY_MAXCONCHLEN (PROXY_HEADERLEN+PROXY_HOSTIDLEN+MAXPATHLEN) + +/* +** Takes an open conch file, copies the contents to a new path and then moves +** it back. The newly created file's file descriptor is assigned to the +** conch file structure and finally the original conch file descriptor is +** closed. Returns zero if successful. +*/ +static int proxyBreakConchLock(unixFile *pFile, uuid_t myHostID){ + proxyLockingContext *pCtx = (proxyLockingContext *)pFile->lockingContext; + unixFile *conchFile = pCtx->conchFile; + char tPath[MAXPATHLEN]; + char buf[PROXY_MAXCONCHLEN]; + char *cPath = pCtx->conchFilePath; + size_t readLen = 0; + size_t pathLen = 0; + char errmsg[64] = ""; + int fd = -1; + int rc = -1; + UNUSED_PARAMETER(myHostID); + + /* create a new path by replace the trailing '-conch' with '-break' */ + pathLen = strlcpy(tPath, cPath, MAXPATHLEN); + if( pathLen>MAXPATHLEN || pathLen<6 || + (strlcpy(&tPath[pathLen-5], "break", 6) != 5) ){ + sqlite3_snprintf(sizeof(errmsg),errmsg,"path error (len %d)",(int)pathLen); + goto end_breaklock; + } + /* read the conch content */ + readLen = osPread(conchFile->h, buf, PROXY_MAXCONCHLEN, 0); + if( readLenh, __LINE__); + conchFile->h = fd; + conchFile->openFlags = O_RDWR | O_CREAT; + +end_breaklock: + if( rc ){ + if( fd>=0 ){ + osUnlink(tPath); + robust_close(pFile, fd, __LINE__); + } + fprintf(stderr, "failed to break stale lock on %s, %s\n", cPath, errmsg); + } + return rc; +} + +/* Take the requested lock on the conch file and break a stale lock if the +** host id matches. +*/ +static int proxyConchLock(unixFile *pFile, uuid_t myHostID, int lockType){ + proxyLockingContext *pCtx = (proxyLockingContext *)pFile->lockingContext; + unixFile *conchFile = pCtx->conchFile; + int rc = SQLITE_OK; + int nTries = 0; + struct timespec conchModTime; + + memset(&conchModTime, 0, sizeof(conchModTime)); + do { + rc = conchFile->pMethod->xLock((sqlite3_file*)conchFile, lockType); + nTries ++; + if( rc==SQLITE_BUSY ){ + /* If the lock failed (busy): + * 1st try: get the mod time of the conch, wait 0.5s and try again. + * 2nd try: fail if the mod time changed or host id is different, wait + * 10 sec and try again + * 3rd try: break the lock unless the mod time has changed. + */ + struct stat buf; + if( osFstat(conchFile->h, &buf) ){ + storeLastErrno(pFile, errno); + return SQLITE_IOERR_LOCK; + } + + if( nTries==1 ){ + conchModTime = buf.st_mtimespec; + usleep(500000); /* wait 0.5 sec and try the lock again*/ + continue; + } + + assert( nTries>1 ); + if( conchModTime.tv_sec != buf.st_mtimespec.tv_sec || + conchModTime.tv_nsec != buf.st_mtimespec.tv_nsec ){ + return SQLITE_BUSY; + } + + if( nTries==2 ){ + char tBuf[PROXY_MAXCONCHLEN]; + int len = osPread(conchFile->h, tBuf, PROXY_MAXCONCHLEN, 0); + if( len<0 ){ + storeLastErrno(pFile, errno); + return SQLITE_IOERR_LOCK; + } + if( len>PROXY_PATHINDEX && tBuf[0]==(char)PROXY_CONCHVERSION){ + /* don't break the lock if the host id doesn't match */ + if( 0!=memcmp(&tBuf[PROXY_HEADERLEN], myHostID, PROXY_HOSTIDLEN) ){ + return SQLITE_BUSY; + } + }else{ + /* don't break the lock on short read or a version mismatch */ + return SQLITE_BUSY; + } + usleep(10000000); /* wait 10 sec and try the lock again */ + continue; + } + + assert( nTries==3 ); + if( 0==proxyBreakConchLock(pFile, myHostID) ){ + rc = SQLITE_OK; + if( lockType==EXCLUSIVE_LOCK ){ + rc = conchFile->pMethod->xLock((sqlite3_file*)conchFile, SHARED_LOCK); + } + if( !rc ){ + rc = conchFile->pMethod->xLock((sqlite3_file*)conchFile, lockType); + } + } + } + } while( rc==SQLITE_BUSY && nTries<3 ); + + return rc; +} + +/* Takes the conch by taking a shared lock and read the contents conch, if +** lockPath is non-NULL, the host ID and lock file path must match. A NULL +** lockPath means that the lockPath in the conch file will be used if the +** host IDs match, or a new lock path will be generated automatically +** and written to the conch file. +*/ +static int proxyTakeConch(unixFile *pFile){ + proxyLockingContext *pCtx = (proxyLockingContext *)pFile->lockingContext; + + if( pCtx->conchHeld!=0 ){ + return SQLITE_OK; + }else{ + unixFile *conchFile = pCtx->conchFile; + uuid_t myHostID; + int pError = 0; + char readBuf[PROXY_MAXCONCHLEN]; + char lockPath[MAXPATHLEN]; + char *tempLockPath = NULL; + int rc = SQLITE_OK; + int createConch = 0; + int hostIdMatch = 0; + int readLen = 0; + int tryOldLockPath = 0; + int forceNewLockPath = 0; + + OSTRACE(("TAKECONCH %d for %s pid=%d\n", conchFile->h, + (pCtx->lockProxyPath ? pCtx->lockProxyPath : ":auto:"), + osGetpid(0))); + + rc = proxyGetHostID(myHostID, &pError); + if( (rc&0xff)==SQLITE_IOERR ){ + storeLastErrno(pFile, pError); + goto end_takeconch; + } + rc = proxyConchLock(pFile, myHostID, SHARED_LOCK); + if( rc!=SQLITE_OK ){ + goto end_takeconch; + } + /* read the existing conch file */ + readLen = seekAndRead((unixFile*)conchFile, 0, readBuf, PROXY_MAXCONCHLEN); + if( readLen<0 ){ + /* I/O error: lastErrno set by seekAndRead */ + storeLastErrno(pFile, conchFile->lastErrno); + rc = SQLITE_IOERR_READ; + goto end_takeconch; + }else if( readLen<=(PROXY_HEADERLEN+PROXY_HOSTIDLEN) || + readBuf[0]!=(char)PROXY_CONCHVERSION ){ + /* a short read or version format mismatch means we need to create a new + ** conch file. + */ + createConch = 1; + } + /* if the host id matches and the lock path already exists in the conch + ** we'll try to use the path there, if we can't open that path, we'll + ** retry with a new auto-generated path + */ + do { /* in case we need to try again for an :auto: named lock file */ + + if( !createConch && !forceNewLockPath ){ + hostIdMatch = !memcmp(&readBuf[PROXY_HEADERLEN], myHostID, + PROXY_HOSTIDLEN); + /* if the conch has data compare the contents */ + if( !pCtx->lockProxyPath ){ + /* for auto-named local lock file, just check the host ID and we'll + ** use the local lock file path that's already in there + */ + if( hostIdMatch ){ + size_t pathLen = (readLen - PROXY_PATHINDEX); + + if( pathLen>=MAXPATHLEN ){ + pathLen=MAXPATHLEN-1; + } + memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen); + lockPath[pathLen] = 0; + tempLockPath = lockPath; + tryOldLockPath = 1; + /* create a copy of the lock path if the conch is taken */ + goto end_takeconch; + } + }else if( hostIdMatch + && !strncmp(pCtx->lockProxyPath, &readBuf[PROXY_PATHINDEX], + readLen-PROXY_PATHINDEX) + ){ + /* conch host and lock path match */ + goto end_takeconch; + } + } + + /* if the conch isn't writable and doesn't match, we can't take it */ + if( (conchFile->openFlags&O_RDWR) == 0 ){ + rc = SQLITE_BUSY; + goto end_takeconch; + } + + /* either the conch didn't match or we need to create a new one */ + if( !pCtx->lockProxyPath ){ + proxyGetLockPath(pCtx->dbPath, lockPath, MAXPATHLEN); + tempLockPath = lockPath; + /* create a copy of the lock path _only_ if the conch is taken */ + } + + /* update conch with host and path (this will fail if other process + ** has a shared lock already), if the host id matches, use the big + ** stick. + */ + futimes(conchFile->h, NULL); + if( hostIdMatch && !createConch ){ + if( conchFile->pInode && conchFile->pInode->nShared>1 ){ + /* We are trying for an exclusive lock but another thread in this + ** same process is still holding a shared lock. */ + rc = SQLITE_BUSY; + } else { + rc = proxyConchLock(pFile, myHostID, EXCLUSIVE_LOCK); + } + }else{ + rc = proxyConchLock(pFile, myHostID, EXCLUSIVE_LOCK); + } + if( rc==SQLITE_OK ){ + char writeBuffer[PROXY_MAXCONCHLEN]; + int writeSize = 0; + + writeBuffer[0] = (char)PROXY_CONCHVERSION; + memcpy(&writeBuffer[PROXY_HEADERLEN], myHostID, PROXY_HOSTIDLEN); + if( pCtx->lockProxyPath!=NULL ){ + strlcpy(&writeBuffer[PROXY_PATHINDEX], pCtx->lockProxyPath, + MAXPATHLEN); + }else{ + strlcpy(&writeBuffer[PROXY_PATHINDEX], tempLockPath, MAXPATHLEN); + } + writeSize = PROXY_PATHINDEX + strlen(&writeBuffer[PROXY_PATHINDEX]); + robust_ftruncate(conchFile->h, writeSize); + rc = unixWrite((sqlite3_file *)conchFile, writeBuffer, writeSize, 0); + full_fsync(conchFile->h,0,0); + /* If we created a new conch file (not just updated the contents of a + ** valid conch file), try to match the permissions of the database + */ + if( rc==SQLITE_OK && createConch ){ + struct stat buf; + int err = osFstat(pFile->h, &buf); + if( err==0 ){ + mode_t cmode = buf.st_mode&(S_IRUSR|S_IWUSR | S_IRGRP|S_IWGRP | + S_IROTH|S_IWOTH); + /* try to match the database file R/W permissions, ignore failure */ +#ifndef SQLITE_PROXY_DEBUG + osFchmod(conchFile->h, cmode); +#else + do{ + rc = osFchmod(conchFile->h, cmode); + }while( rc==(-1) && errno==EINTR ); + if( rc!=0 ){ + int code = errno; + fprintf(stderr, "fchmod %o FAILED with %d %s\n", + cmode, code, strerror(code)); + } else { + fprintf(stderr, "fchmod %o SUCCEDED\n",cmode); + } + }else{ + int code = errno; + fprintf(stderr, "STAT FAILED[%d] with %d %s\n", + err, code, strerror(code)); +#endif + } + } + } + conchFile->pMethod->xUnlock((sqlite3_file*)conchFile, SHARED_LOCK); + + end_takeconch: + OSTRACE(("TRANSPROXY: CLOSE %d\n", pFile->h)); + if( rc==SQLITE_OK && pFile->openFlags ){ + int fd; + if( pFile->h>=0 ){ + robust_close(pFile, pFile->h, __LINE__); + } + pFile->h = -1; + fd = robust_open(pCtx->dbPath, pFile->openFlags, 0); + OSTRACE(("TRANSPROXY: OPEN %d\n", fd)); + if( fd>=0 ){ + pFile->h = fd; + }else{ + rc=SQLITE_CANTOPEN_BKPT; /* SQLITE_BUSY? proxyTakeConch called + during locking */ + } + } + if( rc==SQLITE_OK && !pCtx->lockProxy ){ + char *path = tempLockPath ? tempLockPath : pCtx->lockProxyPath; + rc = proxyCreateUnixFile(path, &pCtx->lockProxy, 1); + if( rc!=SQLITE_OK && rc!=SQLITE_NOMEM && tryOldLockPath ){ + /* we couldn't create the proxy lock file with the old lock file path + ** so try again via auto-naming + */ + forceNewLockPath = 1; + tryOldLockPath = 0; + continue; /* go back to the do {} while start point, try again */ + } + } + if( rc==SQLITE_OK ){ + /* Need to make a copy of path if we extracted the value + ** from the conch file or the path was allocated on the stack + */ + if( tempLockPath ){ + pCtx->lockProxyPath = sqlite3DbStrDup(0, tempLockPath); + if( !pCtx->lockProxyPath ){ + rc = SQLITE_NOMEM_BKPT; + } + } + } + if( rc==SQLITE_OK ){ + pCtx->conchHeld = 1; + + if( pCtx->lockProxy->pMethod == &afpIoMethods ){ + afpLockingContext *afpCtx; + afpCtx = (afpLockingContext *)pCtx->lockProxy->lockingContext; + afpCtx->dbPath = pCtx->lockProxyPath; + } + } else { + conchFile->pMethod->xUnlock((sqlite3_file*)conchFile, NO_LOCK); + } + OSTRACE(("TAKECONCH %d %s\n", conchFile->h, + rc==SQLITE_OK?"ok":"failed")); + return rc; + } while (1); /* in case we need to retry the :auto: lock file - + ** we should never get here except via the 'continue' call. */ + } +} + +/* +** If pFile holds a lock on a conch file, then release that lock. +*/ +static int proxyReleaseConch(unixFile *pFile){ + int rc = SQLITE_OK; /* Subroutine return code */ + proxyLockingContext *pCtx; /* The locking context for the proxy lock */ + unixFile *conchFile; /* Name of the conch file */ + + pCtx = (proxyLockingContext *)pFile->lockingContext; + conchFile = pCtx->conchFile; + OSTRACE(("RELEASECONCH %d for %s pid=%d\n", conchFile->h, + (pCtx->lockProxyPath ? pCtx->lockProxyPath : ":auto:"), + osGetpid(0))); + if( pCtx->conchHeld>0 ){ + rc = conchFile->pMethod->xUnlock((sqlite3_file*)conchFile, NO_LOCK); + } + pCtx->conchHeld = 0; + OSTRACE(("RELEASECONCH %d %s\n", conchFile->h, + (rc==SQLITE_OK ? "ok" : "failed"))); + return rc; +} + +/* +** Given the name of a database file, compute the name of its conch file. +** Store the conch filename in memory obtained from sqlite3_malloc64(). +** Make *pConchPath point to the new name. Return SQLITE_OK on success +** or SQLITE_NOMEM if unable to obtain memory. +** +** The caller is responsible for ensuring that the allocated memory +** space is eventually freed. +** +** *pConchPath is set to NULL if a memory allocation error occurs. +*/ +static int proxyCreateConchPathname(char *dbPath, char **pConchPath){ + int i; /* Loop counter */ + int len = (int)strlen(dbPath); /* Length of database filename - dbPath */ + char *conchPath; /* buffer in which to construct conch name */ + + /* Allocate space for the conch filename and initialize the name to + ** the name of the original database file. */ + *pConchPath = conchPath = (char *)sqlite3_malloc64(len + 8); + if( conchPath==0 ){ + return SQLITE_NOMEM_BKPT; + } + memcpy(conchPath, dbPath, len+1); + + /* now insert a "." before the last / character */ + for( i=(len-1); i>=0; i-- ){ + if( conchPath[i]=='/' ){ + i++; + break; + } + } + conchPath[i]='.'; + while ( ilockingContext; + char *oldPath = pCtx->lockProxyPath; + int rc = SQLITE_OK; + + if( pFile->eFileLock!=NO_LOCK ){ + return SQLITE_BUSY; + } + + /* nothing to do if the path is NULL, :auto: or matches the existing path */ + if( !path || path[0]=='\0' || !strcmp(path, ":auto:") || + (oldPath && !strncmp(oldPath, path, MAXPATHLEN)) ){ + return SQLITE_OK; + }else{ + unixFile *lockProxy = pCtx->lockProxy; + pCtx->lockProxy=NULL; + pCtx->conchHeld = 0; + if( lockProxy!=NULL ){ + rc=lockProxy->pMethod->xClose((sqlite3_file *)lockProxy); + if( rc ) return rc; + sqlite3_free(lockProxy); + } + sqlite3_free(oldPath); + pCtx->lockProxyPath = sqlite3DbStrDup(0, path); + } + + return rc; +} + +/* +** pFile is a file that has been opened by a prior xOpen call. dbPath +** is a string buffer at least MAXPATHLEN+1 characters in size. +** +** This routine find the filename associated with pFile and writes it +** int dbPath. +*/ +static int proxyGetDbPathForUnixFile(unixFile *pFile, char *dbPath){ +#if defined(__APPLE__) + if( pFile->pMethod == &afpIoMethods ){ + /* afp style keeps a reference to the db path in the filePath field + ** of the struct */ + assert( (int)strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); + strlcpy(dbPath, ((afpLockingContext *)pFile->lockingContext)->dbPath, + MAXPATHLEN); + } else +#endif + if( pFile->pMethod == &dotlockIoMethods ){ + /* dot lock style uses the locking context to store the dot lock + ** file path */ + int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX); + memcpy(dbPath, (char *)pFile->lockingContext, len + 1); + }else{ + /* all other styles use the locking context to store the db file path */ + assert( strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); + strlcpy(dbPath, (char *)pFile->lockingContext, MAXPATHLEN); + } + return SQLITE_OK; +} + +/* +** Takes an already filled in unix file and alters it so all file locking +** will be performed on the local proxy lock file. The following fields +** are preserved in the locking context so that they can be restored and +** the unix structure properly cleaned up at close time: +** ->lockingContext +** ->pMethod +*/ +static int proxyTransformUnixFile(unixFile *pFile, const char *path) { + proxyLockingContext *pCtx; + char dbPath[MAXPATHLEN+1]; /* Name of the database file */ + char *lockPath=NULL; + int rc = SQLITE_OK; + + if( pFile->eFileLock!=NO_LOCK ){ + return SQLITE_BUSY; + } + proxyGetDbPathForUnixFile(pFile, dbPath); + if( !path || path[0]=='\0' || !strcmp(path, ":auto:") ){ + lockPath=NULL; + }else{ + lockPath=(char *)path; + } + + OSTRACE(("TRANSPROXY %d for %s pid=%d\n", pFile->h, + (lockPath ? lockPath : ":auto:"), osGetpid(0))); + + pCtx = sqlite3_malloc64( sizeof(*pCtx) ); + if( pCtx==0 ){ + return SQLITE_NOMEM_BKPT; + } + memset(pCtx, 0, sizeof(*pCtx)); + + rc = proxyCreateConchPathname(dbPath, &pCtx->conchFilePath); + if( rc==SQLITE_OK ){ + rc = proxyCreateUnixFile(pCtx->conchFilePath, &pCtx->conchFile, 0); + if( rc==SQLITE_CANTOPEN && ((pFile->openFlags&O_RDWR) == 0) ){ + /* if (a) the open flags are not O_RDWR, (b) the conch isn't there, and + ** (c) the file system is read-only, then enable no-locking access. + ** Ugh, since O_RDONLY==0x0000 we test for !O_RDWR since unixOpen asserts + ** that openFlags will have only one of O_RDONLY or O_RDWR. + */ + struct statfs fsInfo; + struct stat conchInfo; + int goLockless = 0; + + if( osStat(pCtx->conchFilePath, &conchInfo) == -1 ) { + int err = errno; + if( (err==ENOENT) && (statfs(dbPath, &fsInfo) != -1) ){ + goLockless = (fsInfo.f_flags&MNT_RDONLY) == MNT_RDONLY; + } + } + if( goLockless ){ + pCtx->conchHeld = -1; /* read only FS/ lockless */ + rc = SQLITE_OK; + } + } + } + if( rc==SQLITE_OK && lockPath ){ + pCtx->lockProxyPath = sqlite3DbStrDup(0, lockPath); + } + + if( rc==SQLITE_OK ){ + pCtx->dbPath = sqlite3DbStrDup(0, dbPath); + if( pCtx->dbPath==NULL ){ + rc = SQLITE_NOMEM_BKPT; + } + } + if( rc==SQLITE_OK ){ + /* all memory is allocated, proxys are created and assigned, + ** switch the locking context and pMethod then return. + */ + pCtx->oldLockingContext = pFile->lockingContext; + pFile->lockingContext = pCtx; + pCtx->pOldMethod = pFile->pMethod; + pFile->pMethod = &proxyIoMethods; + }else{ + if( pCtx->conchFile ){ + pCtx->conchFile->pMethod->xClose((sqlite3_file *)pCtx->conchFile); + sqlite3_free(pCtx->conchFile); + } + sqlite3DbFree(0, pCtx->lockProxyPath); + sqlite3_free(pCtx->conchFilePath); + sqlite3_free(pCtx); + } + OSTRACE(("TRANSPROXY %d %s\n", pFile->h, + (rc==SQLITE_OK ? "ok" : "failed"))); + return rc; +} + + +/* +** This routine handles sqlite3_file_control() calls that are specific +** to proxy locking. +*/ +static int proxyFileControl(sqlite3_file *id, int op, void *pArg){ + switch( op ){ + case SQLITE_FCNTL_GET_LOCKPROXYFILE: { + unixFile *pFile = (unixFile*)id; + if( pFile->pMethod == &proxyIoMethods ){ + proxyLockingContext *pCtx = (proxyLockingContext*)pFile->lockingContext; + proxyTakeConch(pFile); + if( pCtx->lockProxyPath ){ + *(const char **)pArg = pCtx->lockProxyPath; + }else{ + *(const char **)pArg = ":auto: (not held)"; + } + } else { + *(const char **)pArg = NULL; + } + return SQLITE_OK; + } + case SQLITE_FCNTL_SET_LOCKPROXYFILE: { + unixFile *pFile = (unixFile*)id; + int rc = SQLITE_OK; + int isProxyStyle = (pFile->pMethod == &proxyIoMethods); + if( pArg==NULL || (const char *)pArg==0 ){ + if( isProxyStyle ){ + /* turn off proxy locking - not supported. If support is added for + ** switching proxy locking mode off then it will need to fail if + ** the journal mode is WAL mode. + */ + rc = SQLITE_ERROR /*SQLITE_PROTOCOL? SQLITE_MISUSE?*/; + }else{ + /* turn off proxy locking - already off - NOOP */ + rc = SQLITE_OK; + } + }else{ + const char *proxyPath = (const char *)pArg; + if( isProxyStyle ){ + proxyLockingContext *pCtx = + (proxyLockingContext*)pFile->lockingContext; + if( !strcmp(pArg, ":auto:") + || (pCtx->lockProxyPath && + !strncmp(pCtx->lockProxyPath, proxyPath, MAXPATHLEN)) + ){ + rc = SQLITE_OK; + }else{ + rc = switchLockProxyPath(pFile, proxyPath); + } + }else{ + /* turn on proxy file locking */ + rc = proxyTransformUnixFile(pFile, proxyPath); + } + } + return rc; + } + default: { + assert( 0 ); /* The call assures that only valid opcodes are sent */ + } + } + /*NOTREACHED*/ assert(0); + return SQLITE_ERROR; +} + +/* +** Within this division (the proxying locking implementation) the procedures +** above this point are all utilities. The lock-related methods of the +** proxy-locking sqlite3_io_method object follow. +*/ + + +/* +** This routine checks if there is a RESERVED lock held on the specified +** file by this or any other process. If such a lock is held, set *pResOut +** to a non-zero value otherwise *pResOut is set to zero. The return value +** is set to SQLITE_OK unless an I/O error occurs during lock checking. +*/ +static int proxyCheckReservedLock(sqlite3_file *id, int *pResOut) { + unixFile *pFile = (unixFile*)id; + int rc = proxyTakeConch(pFile); + if( rc==SQLITE_OK ){ + proxyLockingContext *pCtx = (proxyLockingContext *)pFile->lockingContext; + if( pCtx->conchHeld>0 ){ + unixFile *proxy = pCtx->lockProxy; + return proxy->pMethod->xCheckReservedLock((sqlite3_file*)proxy, pResOut); + }else{ /* conchHeld < 0 is lockless */ + pResOut=0; + } + } + return rc; +} + +/* +** Lock the file with the lock specified by parameter eFileLock - one +** of the following: +** +** (1) SHARED_LOCK +** (2) RESERVED_LOCK +** (3) PENDING_LOCK +** (4) EXCLUSIVE_LOCK +** +** Sometimes when requesting one lock state, additional lock states +** are inserted in between. The locking might fail on one of the later +** transitions leaving the lock state different from what it started but +** still short of its goal. The following chart shows the allowed +** transitions and the inserted intermediate states: +** +** UNLOCKED -> SHARED +** SHARED -> RESERVED +** SHARED -> (PENDING) -> EXCLUSIVE +** RESERVED -> (PENDING) -> EXCLUSIVE +** PENDING -> EXCLUSIVE +** +** This routine will only increase a lock. Use the sqlite3OsUnlock() +** routine to lower a locking level. +*/ +static int proxyLock(sqlite3_file *id, int eFileLock) { + unixFile *pFile = (unixFile*)id; + int rc = proxyTakeConch(pFile); + if( rc==SQLITE_OK ){ + proxyLockingContext *pCtx = (proxyLockingContext *)pFile->lockingContext; + if( pCtx->conchHeld>0 ){ + unixFile *proxy = pCtx->lockProxy; + rc = proxy->pMethod->xLock((sqlite3_file*)proxy, eFileLock); + pFile->eFileLock = proxy->eFileLock; + }else{ + /* conchHeld < 0 is lockless */ + } + } + return rc; +} + + +/* +** Lower the locking level on file descriptor pFile to eFileLock. eFileLock +** must be either NO_LOCK or SHARED_LOCK. +** +** If the locking level of the file descriptor is already at or below +** the requested locking level, this routine is a no-op. +*/ +static int proxyUnlock(sqlite3_file *id, int eFileLock) { + unixFile *pFile = (unixFile*)id; + int rc = proxyTakeConch(pFile); + if( rc==SQLITE_OK ){ + proxyLockingContext *pCtx = (proxyLockingContext *)pFile->lockingContext; + if( pCtx->conchHeld>0 ){ + unixFile *proxy = pCtx->lockProxy; + rc = proxy->pMethod->xUnlock((sqlite3_file*)proxy, eFileLock); + pFile->eFileLock = proxy->eFileLock; + }else{ + /* conchHeld < 0 is lockless */ + } + } + return rc; +} + +/* +** Close a file that uses proxy locks. +*/ +static int proxyClose(sqlite3_file *id) { + if( ALWAYS(id) ){ + unixFile *pFile = (unixFile*)id; + proxyLockingContext *pCtx = (proxyLockingContext *)pFile->lockingContext; + unixFile *lockProxy = pCtx->lockProxy; + unixFile *conchFile = pCtx->conchFile; + int rc = SQLITE_OK; + + if( lockProxy ){ + rc = lockProxy->pMethod->xUnlock((sqlite3_file*)lockProxy, NO_LOCK); + if( rc ) return rc; + rc = lockProxy->pMethod->xClose((sqlite3_file*)lockProxy); + if( rc ) return rc; + sqlite3_free(lockProxy); + pCtx->lockProxy = 0; + } + if( conchFile ){ + if( pCtx->conchHeld ){ + rc = proxyReleaseConch(pFile); + if( rc ) return rc; + } + rc = conchFile->pMethod->xClose((sqlite3_file*)conchFile); + if( rc ) return rc; + sqlite3_free(conchFile); + } + sqlite3DbFree(0, pCtx->lockProxyPath); + sqlite3_free(pCtx->conchFilePath); + sqlite3DbFree(0, pCtx->dbPath); + /* restore the original locking context and pMethod then close it */ + pFile->lockingContext = pCtx->oldLockingContext; + pFile->pMethod = pCtx->pOldMethod; + sqlite3_free(pCtx); + return pFile->pMethod->xClose(id); + } + return SQLITE_OK; +} + + + +#endif /* defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE */ +/* +** The proxy locking style is intended for use with AFP filesystems. +** And since AFP is only supported on MacOSX, the proxy locking is also +** restricted to MacOSX. +** +** +******************* End of the proxy lock implementation ********************** +******************************************************************************/ + +/* +** Initialize the operating system interface. +** +** This routine registers all VFS implementations for unix-like operating +** systems. This routine, and the sqlite3_os_end() routine that follows, +** should be the only routines in this file that are visible from other +** files. +** +** This routine is called once during SQLite initialization and by a +** single thread. The memory allocation and mutex subsystems have not +** necessarily been initialized when this routine is called, and so they +** should not be used. +*/ +SQLITE_API int sqlite3_os_init(void){ + /* + ** The following macro defines an initializer for an sqlite3_vfs object. + ** The name of the VFS is NAME. The pAppData is a pointer to a pointer + ** to the "finder" function. (pAppData is a pointer to a pointer because + ** silly C90 rules prohibit a void* from being cast to a function pointer + ** and so we have to go through the intermediate pointer to avoid problems + ** when compiling with -pedantic-errors on GCC.) + ** + ** The FINDER parameter to this macro is the name of the pointer to the + ** finder-function. The finder-function returns a pointer to the + ** sqlite_io_methods object that implements the desired locking + ** behaviors. See the division above that contains the IOMETHODS + ** macro for addition information on finder-functions. + ** + ** Most finders simply return a pointer to a fixed sqlite3_io_methods + ** object. But the "autolockIoFinder" available on MacOSX does a little + ** more than that; it looks at the filesystem type that hosts the + ** database file and tries to choose an locking method appropriate for + ** that filesystem time. + */ + #define UNIXVFS(VFSNAME, FINDER) { \ + 3, /* iVersion */ \ + sizeof(unixFile), /* szOsFile */ \ + MAX_PATHNAME, /* mxPathname */ \ + 0, /* pNext */ \ + VFSNAME, /* zName */ \ + (void*)&FINDER, /* pAppData */ \ + unixOpen, /* xOpen */ \ + unixDelete, /* xDelete */ \ + unixAccess, /* xAccess */ \ + unixFullPathname, /* xFullPathname */ \ + unixDlOpen, /* xDlOpen */ \ + unixDlError, /* xDlError */ \ + unixDlSym, /* xDlSym */ \ + unixDlClose, /* xDlClose */ \ + unixRandomness, /* xRandomness */ \ + unixSleep, /* xSleep */ \ + unixCurrentTime, /* xCurrentTime */ \ + unixGetLastError, /* xGetLastError */ \ + unixCurrentTimeInt64, /* xCurrentTimeInt64 */ \ + unixSetSystemCall, /* xSetSystemCall */ \ + unixGetSystemCall, /* xGetSystemCall */ \ + unixNextSystemCall, /* xNextSystemCall */ \ + } + + /* + ** All default VFSes for unix are contained in the following array. + ** + ** Note that the sqlite3_vfs.pNext field of the VFS object is modified + ** by the SQLite core when the VFS is registered. So the following + ** array cannot be const. + */ + static sqlite3_vfs aVfs[] = { +#if SQLITE_ENABLE_LOCKING_STYLE && defined(__APPLE__) + UNIXVFS("unix", autolockIoFinder ), +#elif OS_VXWORKS + UNIXVFS("unix", vxworksIoFinder ), +#else + UNIXVFS("unix", posixIoFinder ), +#endif + UNIXVFS("unix-none", nolockIoFinder ), + UNIXVFS("unix-dotfile", dotlockIoFinder ), + UNIXVFS("unix-excl", posixIoFinder ), +#if OS_VXWORKS + UNIXVFS("unix-namedsem", semIoFinder ), +#endif +#if SQLITE_ENABLE_LOCKING_STYLE || OS_VXWORKS + UNIXVFS("unix-posix", posixIoFinder ), +#endif +#if SQLITE_ENABLE_LOCKING_STYLE + UNIXVFS("unix-flock", flockIoFinder ), +#endif +#if SQLITE_ENABLE_LOCKING_STYLE && defined(__APPLE__) + UNIXVFS("unix-afp", afpIoFinder ), + UNIXVFS("unix-nfs", nfsIoFinder ), + UNIXVFS("unix-proxy", proxyIoFinder ), +#endif + }; + unsigned int i; /* Loop counter */ + + /* Double-check that the aSyscall[] array has been constructed + ** correctly. See ticket [bb3a86e890c8e96ab] */ + assert( ArraySize(aSyscall)==29 ); + + /* Register all VFSes defined in the aVfs[] array */ + for(i=0; i<(sizeof(aVfs)/sizeof(sqlite3_vfs)); i++){ + sqlite3_vfs_register(&aVfs[i], i==0); + } + unixBigLock = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_VFS1); + return SQLITE_OK; +} + +/* +** Shutdown the operating system interface. +** +** Some operating systems might need to do some cleanup in this routine, +** to release dynamically allocated objects. But not on unix. +** This routine is a no-op for unix. +*/ +SQLITE_API int sqlite3_os_end(void){ + unixBigLock = 0; + return SQLITE_OK; +} + +#endif /* SQLITE_OS_UNIX */ + +/************** End of os_unix.c *********************************************/ +/************** Begin file os_win.c ******************************************/ +/* +** 2004 May 22 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains code that is specific to Windows. +*/ +/* #include "sqliteInt.h" */ +#if SQLITE_OS_WIN /* This file is used for Windows only */ + +/* +** Include code that is common to all os_*.c files +*/ +/************** Include os_common.h in the middle of os_win.c ****************/ +/************** Begin file os_common.h ***************************************/ +/* +** 2004 May 22 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains macros and a little bit of code that is common to +** all of the platform-specific files (os_*.c) and is #included into those +** files. +** +** This file should be #included by the os_*.c files only. It is not a +** general purpose header file. +*/ +#ifndef _OS_COMMON_H_ +#define _OS_COMMON_H_ + +/* +** At least two bugs have slipped in because we changed the MEMORY_DEBUG +** macro to SQLITE_DEBUG and some older makefiles have not yet made the +** switch. The following code should catch this problem at compile-time. +*/ +#ifdef MEMORY_DEBUG +# error "The MEMORY_DEBUG macro is obsolete. Use SQLITE_DEBUG instead." +#endif + +/* +** Macros for performance tracing. Normally turned off. Only works +** on i486 hardware. +*/ +#ifdef SQLITE_PERFORMANCE_TRACE + +/* +** hwtime.h contains inline assembler code for implementing +** high-performance timing routines. +*/ +/************** Include hwtime.h in the middle of os_common.h ****************/ +/************** Begin file hwtime.h ******************************************/ +/* +** 2008 May 27 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains inline asm code for retrieving "high-performance" +** counters for x86 class CPUs. +*/ +#ifndef SQLITE_HWTIME_H +#define SQLITE_HWTIME_H + +/* +** The following routine only works on pentium-class (or newer) processors. +** It uses the RDTSC opcode to read the cycle count value out of the +** processor and returns that value. This can be used for high-res +** profiling. +*/ +#if (defined(__GNUC__) || defined(_MSC_VER)) && \ + (defined(i386) || defined(__i386__) || defined(_M_IX86)) + + #if defined(__GNUC__) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned int lo, hi; + __asm__ __volatile__ ("rdtsc" : "=a" (lo), "=d" (hi)); + return (sqlite_uint64)hi << 32 | lo; + } + + #elif defined(_MSC_VER) + + __declspec(naked) __inline sqlite_uint64 __cdecl sqlite3Hwtime(void){ + __asm { + rdtsc + ret ; return value at EDX:EAX + } + } + + #endif + +#elif (defined(__GNUC__) && defined(__x86_64__)) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned long val; + __asm__ __volatile__ ("rdtsc" : "=A" (val)); + return val; + } + +#elif (defined(__GNUC__) && defined(__ppc__)) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned long long retval; + unsigned long junk; + __asm__ __volatile__ ("\n\ + 1: mftbu %1\n\ + mftb %L0\n\ + mftbu %0\n\ + cmpw %0,%1\n\ + bne 1b" + : "=r" (retval), "=r" (junk)); + return retval; + } + +#else + + #error Need implementation of sqlite3Hwtime() for your platform. + + /* + ** To compile without implementing sqlite3Hwtime() for your platform, + ** you can remove the above #error and use the following + ** stub function. You will lose timing support for many + ** of the debugging and testing utilities, but it should at + ** least compile and run. + */ +SQLITE_PRIVATE sqlite_uint64 sqlite3Hwtime(void){ return ((sqlite_uint64)0); } + +#endif + +#endif /* !defined(SQLITE_HWTIME_H) */ + +/************** End of hwtime.h **********************************************/ +/************** Continuing where we left off in os_common.h ******************/ + +static sqlite_uint64 g_start; +static sqlite_uint64 g_elapsed; +#define TIMER_START g_start=sqlite3Hwtime() +#define TIMER_END g_elapsed=sqlite3Hwtime()-g_start +#define TIMER_ELAPSED g_elapsed +#else +#define TIMER_START +#define TIMER_END +#define TIMER_ELAPSED ((sqlite_uint64)0) +#endif + +/* +** If we compile with the SQLITE_TEST macro set, then the following block +** of code will give us the ability to simulate a disk I/O error. This +** is used for testing the I/O recovery logic. +*/ +#if defined(SQLITE_TEST) +SQLITE_API extern int sqlite3_io_error_hit; +SQLITE_API extern int sqlite3_io_error_hardhit; +SQLITE_API extern int sqlite3_io_error_pending; +SQLITE_API extern int sqlite3_io_error_persist; +SQLITE_API extern int sqlite3_io_error_benign; +SQLITE_API extern int sqlite3_diskfull_pending; +SQLITE_API extern int sqlite3_diskfull; +#define SimulateIOErrorBenign(X) sqlite3_io_error_benign=(X) +#define SimulateIOError(CODE) \ + if( (sqlite3_io_error_persist && sqlite3_io_error_hit) \ + || sqlite3_io_error_pending-- == 1 ) \ + { local_ioerr(); CODE; } +static void local_ioerr(){ + IOTRACE(("IOERR\n")); + sqlite3_io_error_hit++; + if( !sqlite3_io_error_benign ) sqlite3_io_error_hardhit++; +} +#define SimulateDiskfullError(CODE) \ + if( sqlite3_diskfull_pending ){ \ + if( sqlite3_diskfull_pending == 1 ){ \ + local_ioerr(); \ + sqlite3_diskfull = 1; \ + sqlite3_io_error_hit = 1; \ + CODE; \ + }else{ \ + sqlite3_diskfull_pending--; \ + } \ + } +#else +#define SimulateIOErrorBenign(X) +#define SimulateIOError(A) +#define SimulateDiskfullError(A) +#endif /* defined(SQLITE_TEST) */ + +/* +** When testing, keep a count of the number of open files. +*/ +#if defined(SQLITE_TEST) +SQLITE_API extern int sqlite3_open_file_count; +#define OpenCounter(X) sqlite3_open_file_count+=(X) +#else +#define OpenCounter(X) +#endif /* defined(SQLITE_TEST) */ + +#endif /* !defined(_OS_COMMON_H_) */ + +/************** End of os_common.h *******************************************/ +/************** Continuing where we left off in os_win.c *********************/ + +/* +** Include the header file for the Windows VFS. +*/ +/* #include "os_win.h" */ + +/* +** Compiling and using WAL mode requires several APIs that are only +** available in Windows platforms based on the NT kernel. +*/ +#if !SQLITE_OS_WINNT && !defined(SQLITE_OMIT_WAL) +# error "WAL mode requires support from the Windows NT kernel, compile\ + with SQLITE_OMIT_WAL." +#endif + +#if !SQLITE_OS_WINNT && SQLITE_MAX_MMAP_SIZE>0 +# error "Memory mapped files require support from the Windows NT kernel,\ + compile with SQLITE_MAX_MMAP_SIZE=0." +#endif + +/* +** Are most of the Win32 ANSI APIs available (i.e. with certain exceptions +** based on the sub-platform)? +*/ +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && !defined(SQLITE_WIN32_NO_ANSI) +# define SQLITE_WIN32_HAS_ANSI +#endif + +/* +** Are most of the Win32 Unicode APIs available (i.e. with certain exceptions +** based on the sub-platform)? +*/ +#if (SQLITE_OS_WINCE || SQLITE_OS_WINNT || SQLITE_OS_WINRT) && \ + !defined(SQLITE_WIN32_NO_WIDE) +# define SQLITE_WIN32_HAS_WIDE +#endif + +/* +** Make sure at least one set of Win32 APIs is available. +*/ +#if !defined(SQLITE_WIN32_HAS_ANSI) && !defined(SQLITE_WIN32_HAS_WIDE) +# error "At least one of SQLITE_WIN32_HAS_ANSI and SQLITE_WIN32_HAS_WIDE\ + must be defined." +#endif + +/* +** Define the required Windows SDK version constants if they are not +** already available. +*/ +#ifndef NTDDI_WIN8 +# define NTDDI_WIN8 0x06020000 +#endif + +#ifndef NTDDI_WINBLUE +# define NTDDI_WINBLUE 0x06030000 +#endif + +#ifndef NTDDI_WINTHRESHOLD +# define NTDDI_WINTHRESHOLD 0x06040000 +#endif + +/* +** Check to see if the GetVersionEx[AW] functions are deprecated on the +** target system. GetVersionEx was first deprecated in Win8.1. +*/ +#ifndef SQLITE_WIN32_GETVERSIONEX +# if defined(NTDDI_VERSION) && NTDDI_VERSION >= NTDDI_WINBLUE +# define SQLITE_WIN32_GETVERSIONEX 0 /* GetVersionEx() is deprecated */ +# else +# define SQLITE_WIN32_GETVERSIONEX 1 /* GetVersionEx() is current */ +# endif +#endif + +/* +** Check to see if the CreateFileMappingA function is supported on the +** target system. It is unavailable when using "mincore.lib" on Win10. +** When compiling for Windows 10, always assume "mincore.lib" is in use. +*/ +#ifndef SQLITE_WIN32_CREATEFILEMAPPINGA +# if defined(NTDDI_VERSION) && NTDDI_VERSION >= NTDDI_WINTHRESHOLD +# define SQLITE_WIN32_CREATEFILEMAPPINGA 0 +# else +# define SQLITE_WIN32_CREATEFILEMAPPINGA 1 +# endif +#endif + +/* +** This constant should already be defined (in the "WinDef.h" SDK file). +*/ +#ifndef MAX_PATH +# define MAX_PATH (260) +#endif + +/* +** Maximum pathname length (in chars) for Win32. This should normally be +** MAX_PATH. +*/ +#ifndef SQLITE_WIN32_MAX_PATH_CHARS +# define SQLITE_WIN32_MAX_PATH_CHARS (MAX_PATH) +#endif + +/* +** This constant should already be defined (in the "WinNT.h" SDK file). +*/ +#ifndef UNICODE_STRING_MAX_CHARS +# define UNICODE_STRING_MAX_CHARS (32767) +#endif + +/* +** Maximum pathname length (in chars) for WinNT. This should normally be +** UNICODE_STRING_MAX_CHARS. +*/ +#ifndef SQLITE_WINNT_MAX_PATH_CHARS +# define SQLITE_WINNT_MAX_PATH_CHARS (UNICODE_STRING_MAX_CHARS) +#endif + +/* +** Maximum pathname length (in bytes) for Win32. The MAX_PATH macro is in +** characters, so we allocate 4 bytes per character assuming worst-case of +** 4-bytes-per-character for UTF8. +*/ +#ifndef SQLITE_WIN32_MAX_PATH_BYTES +# define SQLITE_WIN32_MAX_PATH_BYTES (SQLITE_WIN32_MAX_PATH_CHARS*4) +#endif + +/* +** Maximum pathname length (in bytes) for WinNT. This should normally be +** UNICODE_STRING_MAX_CHARS * sizeof(WCHAR). +*/ +#ifndef SQLITE_WINNT_MAX_PATH_BYTES +# define SQLITE_WINNT_MAX_PATH_BYTES \ + (sizeof(WCHAR) * SQLITE_WINNT_MAX_PATH_CHARS) +#endif + +/* +** Maximum error message length (in chars) for WinRT. +*/ +#ifndef SQLITE_WIN32_MAX_ERRMSG_CHARS +# define SQLITE_WIN32_MAX_ERRMSG_CHARS (1024) +#endif + +/* +** Returns non-zero if the character should be treated as a directory +** separator. +*/ +#ifndef winIsDirSep +# define winIsDirSep(a) (((a) == '/') || ((a) == '\\')) +#endif + +/* +** This macro is used when a local variable is set to a value that is +** [sometimes] not used by the code (e.g. via conditional compilation). +*/ +#ifndef UNUSED_VARIABLE_VALUE +# define UNUSED_VARIABLE_VALUE(x) (void)(x) +#endif + +/* +** Returns the character that should be used as the directory separator. +*/ +#ifndef winGetDirSep +# define winGetDirSep() '\\' +#endif + +/* +** Do we need to manually define the Win32 file mapping APIs for use with WAL +** mode or memory mapped files (e.g. these APIs are available in the Windows +** CE SDK; however, they are not present in the header file)? +*/ +#if SQLITE_WIN32_FILEMAPPING_API && \ + (!defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0) +/* +** Two of the file mapping APIs are different under WinRT. Figure out which +** set we need. +*/ +#if SQLITE_OS_WINRT +WINBASEAPI HANDLE WINAPI CreateFileMappingFromApp(HANDLE, \ + LPSECURITY_ATTRIBUTES, ULONG, ULONG64, LPCWSTR); + +WINBASEAPI LPVOID WINAPI MapViewOfFileFromApp(HANDLE, ULONG, ULONG64, SIZE_T); +#else +#if defined(SQLITE_WIN32_HAS_ANSI) +WINBASEAPI HANDLE WINAPI CreateFileMappingA(HANDLE, LPSECURITY_ATTRIBUTES, \ + DWORD, DWORD, DWORD, LPCSTR); +#endif /* defined(SQLITE_WIN32_HAS_ANSI) */ + +#if defined(SQLITE_WIN32_HAS_WIDE) +WINBASEAPI HANDLE WINAPI CreateFileMappingW(HANDLE, LPSECURITY_ATTRIBUTES, \ + DWORD, DWORD, DWORD, LPCWSTR); +#endif /* defined(SQLITE_WIN32_HAS_WIDE) */ + +WINBASEAPI LPVOID WINAPI MapViewOfFile(HANDLE, DWORD, DWORD, DWORD, SIZE_T); +#endif /* SQLITE_OS_WINRT */ + +/* +** These file mapping APIs are common to both Win32 and WinRT. +*/ + +WINBASEAPI BOOL WINAPI FlushViewOfFile(LPCVOID, SIZE_T); +WINBASEAPI BOOL WINAPI UnmapViewOfFile(LPCVOID); +#endif /* SQLITE_WIN32_FILEMAPPING_API */ + +/* +** Some Microsoft compilers lack this definition. +*/ +#ifndef INVALID_FILE_ATTRIBUTES +# define INVALID_FILE_ATTRIBUTES ((DWORD)-1) +#endif + +#ifndef FILE_FLAG_MASK +# define FILE_FLAG_MASK (0xFF3C0000) +#endif + +#ifndef FILE_ATTRIBUTE_MASK +# define FILE_ATTRIBUTE_MASK (0x0003FFF7) +#endif + +#ifndef SQLITE_OMIT_WAL +/* Forward references to structures used for WAL */ +typedef struct winShm winShm; /* A connection to shared-memory */ +typedef struct winShmNode winShmNode; /* A region of shared-memory */ +#endif + +/* +** WinCE lacks native support for file locking so we have to fake it +** with some code of our own. +*/ +#if SQLITE_OS_WINCE +typedef struct winceLock { + int nReaders; /* Number of reader locks obtained */ + BOOL bPending; /* Indicates a pending lock has been obtained */ + BOOL bReserved; /* Indicates a reserved lock has been obtained */ + BOOL bExclusive; /* Indicates an exclusive lock has been obtained */ +} winceLock; +#endif + +/* +** The winFile structure is a subclass of sqlite3_file* specific to the win32 +** portability layer. +*/ +typedef struct winFile winFile; +struct winFile { + const sqlite3_io_methods *pMethod; /*** Must be first ***/ + sqlite3_vfs *pVfs; /* The VFS used to open this file */ + HANDLE h; /* Handle for accessing the file */ + u8 locktype; /* Type of lock currently held on this file */ + short sharedLockByte; /* Randomly chosen byte used as a shared lock */ + u8 ctrlFlags; /* Flags. See WINFILE_* below */ + DWORD lastErrno; /* The Windows errno from the last I/O error */ +#ifndef SQLITE_OMIT_WAL + winShm *pShm; /* Instance of shared memory on this file */ +#endif + const char *zPath; /* Full pathname of this file */ + int szChunk; /* Chunk size configured by FCNTL_CHUNK_SIZE */ +#if SQLITE_OS_WINCE + LPWSTR zDeleteOnClose; /* Name of file to delete when closing */ + HANDLE hMutex; /* Mutex used to control access to shared lock */ + HANDLE hShared; /* Shared memory segment used for locking */ + winceLock local; /* Locks obtained by this instance of winFile */ + winceLock *shared; /* Global shared lock memory for the file */ +#endif +#if SQLITE_MAX_MMAP_SIZE>0 + int nFetchOut; /* Number of outstanding xFetch references */ + HANDLE hMap; /* Handle for accessing memory mapping */ + void *pMapRegion; /* Area memory mapped */ + sqlite3_int64 mmapSize; /* Size of mapped region */ + sqlite3_int64 mmapSizeMax; /* Configured FCNTL_MMAP_SIZE value */ +#endif +}; + +/* +** The winVfsAppData structure is used for the pAppData member for all of the +** Win32 VFS variants. +*/ +typedef struct winVfsAppData winVfsAppData; +struct winVfsAppData { + const sqlite3_io_methods *pMethod; /* The file I/O methods to use. */ + void *pAppData; /* The extra pAppData, if any. */ + BOOL bNoLock; /* Non-zero if locking is disabled. */ +}; + +/* +** Allowed values for winFile.ctrlFlags +*/ +#define WINFILE_RDONLY 0x02 /* Connection is read only */ +#define WINFILE_PERSIST_WAL 0x04 /* Persistent WAL mode */ +#define WINFILE_PSOW 0x10 /* SQLITE_IOCAP_POWERSAFE_OVERWRITE */ + +/* + * The size of the buffer used by sqlite3_win32_write_debug(). + */ +#ifndef SQLITE_WIN32_DBG_BUF_SIZE +# define SQLITE_WIN32_DBG_BUF_SIZE ((int)(4096-sizeof(DWORD))) +#endif + +/* + * If compiled with SQLITE_WIN32_MALLOC on Windows, we will use the + * various Win32 API heap functions instead of our own. + */ +#ifdef SQLITE_WIN32_MALLOC + +/* + * If this is non-zero, an isolated heap will be created by the native Win32 + * allocator subsystem; otherwise, the default process heap will be used. This + * setting has no effect when compiling for WinRT. By default, this is enabled + * and an isolated heap will be created to store all allocated data. + * + ****************************************************************************** + * WARNING: It is important to note that when this setting is non-zero and the + * winMemShutdown function is called (e.g. by the sqlite3_shutdown + * function), all data that was allocated using the isolated heap will + * be freed immediately and any attempt to access any of that freed + * data will almost certainly result in an immediate access violation. + ****************************************************************************** + */ +#ifndef SQLITE_WIN32_HEAP_CREATE +# define SQLITE_WIN32_HEAP_CREATE (TRUE) +#endif + +/* + * This is the maximum possible initial size of the Win32-specific heap, in + * bytes. + */ +#ifndef SQLITE_WIN32_HEAP_MAX_INIT_SIZE +# define SQLITE_WIN32_HEAP_MAX_INIT_SIZE (4294967295U) +#endif + +/* + * This is the extra space for the initial size of the Win32-specific heap, + * in bytes. This value may be zero. + */ +#ifndef SQLITE_WIN32_HEAP_INIT_EXTRA +# define SQLITE_WIN32_HEAP_INIT_EXTRA (4194304) +#endif + +/* + * Calculate the maximum legal cache size, in pages, based on the maximum + * possible initial heap size and the default page size, setting aside the + * needed extra space. + */ +#ifndef SQLITE_WIN32_MAX_CACHE_SIZE +# define SQLITE_WIN32_MAX_CACHE_SIZE (((SQLITE_WIN32_HEAP_MAX_INIT_SIZE) - \ + (SQLITE_WIN32_HEAP_INIT_EXTRA)) / \ + (SQLITE_DEFAULT_PAGE_SIZE)) +#endif + +/* + * This is cache size used in the calculation of the initial size of the + * Win32-specific heap. It cannot be negative. + */ +#ifndef SQLITE_WIN32_CACHE_SIZE +# if SQLITE_DEFAULT_CACHE_SIZE>=0 +# define SQLITE_WIN32_CACHE_SIZE (SQLITE_DEFAULT_CACHE_SIZE) +# else +# define SQLITE_WIN32_CACHE_SIZE (-(SQLITE_DEFAULT_CACHE_SIZE)) +# endif +#endif + +/* + * Make sure that the calculated cache size, in pages, cannot cause the + * initial size of the Win32-specific heap to exceed the maximum amount + * of memory that can be specified in the call to HeapCreate. + */ +#if SQLITE_WIN32_CACHE_SIZE>SQLITE_WIN32_MAX_CACHE_SIZE +# undef SQLITE_WIN32_CACHE_SIZE +# define SQLITE_WIN32_CACHE_SIZE (2000) +#endif + +/* + * The initial size of the Win32-specific heap. This value may be zero. + */ +#ifndef SQLITE_WIN32_HEAP_INIT_SIZE +# define SQLITE_WIN32_HEAP_INIT_SIZE ((SQLITE_WIN32_CACHE_SIZE) * \ + (SQLITE_DEFAULT_PAGE_SIZE) + \ + (SQLITE_WIN32_HEAP_INIT_EXTRA)) +#endif + +/* + * The maximum size of the Win32-specific heap. This value may be zero. + */ +#ifndef SQLITE_WIN32_HEAP_MAX_SIZE +# define SQLITE_WIN32_HEAP_MAX_SIZE (0) +#endif + +/* + * The extra flags to use in calls to the Win32 heap APIs. This value may be + * zero for the default behavior. + */ +#ifndef SQLITE_WIN32_HEAP_FLAGS +# define SQLITE_WIN32_HEAP_FLAGS (0) +#endif + + +/* +** The winMemData structure stores information required by the Win32-specific +** sqlite3_mem_methods implementation. +*/ +typedef struct winMemData winMemData; +struct winMemData { +#ifndef NDEBUG + u32 magic1; /* Magic number to detect structure corruption. */ +#endif + HANDLE hHeap; /* The handle to our heap. */ + BOOL bOwned; /* Do we own the heap (i.e. destroy it on shutdown)? */ +#ifndef NDEBUG + u32 magic2; /* Magic number to detect structure corruption. */ +#endif +}; + +#ifndef NDEBUG +#define WINMEM_MAGIC1 0x42b2830b +#define WINMEM_MAGIC2 0xbd4d7cf4 +#endif + +static struct winMemData win_mem_data = { +#ifndef NDEBUG + WINMEM_MAGIC1, +#endif + NULL, FALSE +#ifndef NDEBUG + ,WINMEM_MAGIC2 +#endif +}; + +#ifndef NDEBUG +#define winMemAssertMagic1() assert( win_mem_data.magic1==WINMEM_MAGIC1 ) +#define winMemAssertMagic2() assert( win_mem_data.magic2==WINMEM_MAGIC2 ) +#define winMemAssertMagic() winMemAssertMagic1(); winMemAssertMagic2(); +#else +#define winMemAssertMagic() +#endif + +#define winMemGetDataPtr() &win_mem_data +#define winMemGetHeap() win_mem_data.hHeap +#define winMemGetOwned() win_mem_data.bOwned + +static void *winMemMalloc(int nBytes); +static void winMemFree(void *pPrior); +static void *winMemRealloc(void *pPrior, int nBytes); +static int winMemSize(void *p); +static int winMemRoundup(int n); +static int winMemInit(void *pAppData); +static void winMemShutdown(void *pAppData); + +SQLITE_PRIVATE const sqlite3_mem_methods *sqlite3MemGetWin32(void); +#endif /* SQLITE_WIN32_MALLOC */ + +/* +** The following variable is (normally) set once and never changes +** thereafter. It records whether the operating system is Win9x +** or WinNT. +** +** 0: Operating system unknown. +** 1: Operating system is Win9x. +** 2: Operating system is WinNT. +** +** In order to facilitate testing on a WinNT system, the test fixture +** can manually set this value to 1 to emulate Win98 behavior. +*/ +#ifdef SQLITE_TEST +SQLITE_API LONG SQLITE_WIN32_VOLATILE sqlite3_os_type = 0; +#else +static LONG SQLITE_WIN32_VOLATILE sqlite3_os_type = 0; +#endif + +#ifndef SYSCALL +# define SYSCALL sqlite3_syscall_ptr +#endif + +/* +** This function is not available on Windows CE or WinRT. + */ + +#if SQLITE_OS_WINCE || SQLITE_OS_WINRT +# define osAreFileApisANSI() 1 +#endif + +/* +** Many system calls are accessed through pointer-to-functions so that +** they may be overridden at runtime to facilitate fault injection during +** testing and sandboxing. The following array holds the names and pointers +** to all overrideable system calls. +*/ +static struct win_syscall { + const char *zName; /* Name of the system call */ + sqlite3_syscall_ptr pCurrent; /* Current value of the system call */ + sqlite3_syscall_ptr pDefault; /* Default value */ +} aSyscall[] = { +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT + { "AreFileApisANSI", (SYSCALL)AreFileApisANSI, 0 }, +#else + { "AreFileApisANSI", (SYSCALL)0, 0 }, +#endif + +#ifndef osAreFileApisANSI +#define osAreFileApisANSI ((BOOL(WINAPI*)(VOID))aSyscall[0].pCurrent) +#endif + +#if SQLITE_OS_WINCE && defined(SQLITE_WIN32_HAS_WIDE) + { "CharLowerW", (SYSCALL)CharLowerW, 0 }, +#else + { "CharLowerW", (SYSCALL)0, 0 }, +#endif + +#define osCharLowerW ((LPWSTR(WINAPI*)(LPWSTR))aSyscall[1].pCurrent) + +#if SQLITE_OS_WINCE && defined(SQLITE_WIN32_HAS_WIDE) + { "CharUpperW", (SYSCALL)CharUpperW, 0 }, +#else + { "CharUpperW", (SYSCALL)0, 0 }, +#endif + +#define osCharUpperW ((LPWSTR(WINAPI*)(LPWSTR))aSyscall[2].pCurrent) + + { "CloseHandle", (SYSCALL)CloseHandle, 0 }, + +#define osCloseHandle ((BOOL(WINAPI*)(HANDLE))aSyscall[3].pCurrent) + +#if defined(SQLITE_WIN32_HAS_ANSI) + { "CreateFileA", (SYSCALL)CreateFileA, 0 }, +#else + { "CreateFileA", (SYSCALL)0, 0 }, +#endif + +#define osCreateFileA ((HANDLE(WINAPI*)(LPCSTR,DWORD,DWORD, \ + LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE))aSyscall[4].pCurrent) + +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_HAS_WIDE) + { "CreateFileW", (SYSCALL)CreateFileW, 0 }, +#else + { "CreateFileW", (SYSCALL)0, 0 }, +#endif + +#define osCreateFileW ((HANDLE(WINAPI*)(LPCWSTR,DWORD,DWORD, \ + LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE))aSyscall[5].pCurrent) + +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_HAS_ANSI) && \ + (!defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0) && \ + SQLITE_WIN32_CREATEFILEMAPPINGA + { "CreateFileMappingA", (SYSCALL)CreateFileMappingA, 0 }, +#else + { "CreateFileMappingA", (SYSCALL)0, 0 }, +#endif + +#define osCreateFileMappingA ((HANDLE(WINAPI*)(HANDLE,LPSECURITY_ATTRIBUTES, \ + DWORD,DWORD,DWORD,LPCSTR))aSyscall[6].pCurrent) + +#if SQLITE_OS_WINCE || (!SQLITE_OS_WINRT && defined(SQLITE_WIN32_HAS_WIDE) && \ + (!defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0)) + { "CreateFileMappingW", (SYSCALL)CreateFileMappingW, 0 }, +#else + { "CreateFileMappingW", (SYSCALL)0, 0 }, +#endif + +#define osCreateFileMappingW ((HANDLE(WINAPI*)(HANDLE,LPSECURITY_ATTRIBUTES, \ + DWORD,DWORD,DWORD,LPCWSTR))aSyscall[7].pCurrent) + +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_HAS_WIDE) + { "CreateMutexW", (SYSCALL)CreateMutexW, 0 }, +#else + { "CreateMutexW", (SYSCALL)0, 0 }, +#endif + +#define osCreateMutexW ((HANDLE(WINAPI*)(LPSECURITY_ATTRIBUTES,BOOL, \ + LPCWSTR))aSyscall[8].pCurrent) + +#if defined(SQLITE_WIN32_HAS_ANSI) + { "DeleteFileA", (SYSCALL)DeleteFileA, 0 }, +#else + { "DeleteFileA", (SYSCALL)0, 0 }, +#endif + +#define osDeleteFileA ((BOOL(WINAPI*)(LPCSTR))aSyscall[9].pCurrent) + +#if defined(SQLITE_WIN32_HAS_WIDE) + { "DeleteFileW", (SYSCALL)DeleteFileW, 0 }, +#else + { "DeleteFileW", (SYSCALL)0, 0 }, +#endif + +#define osDeleteFileW ((BOOL(WINAPI*)(LPCWSTR))aSyscall[10].pCurrent) + +#if SQLITE_OS_WINCE + { "FileTimeToLocalFileTime", (SYSCALL)FileTimeToLocalFileTime, 0 }, +#else + { "FileTimeToLocalFileTime", (SYSCALL)0, 0 }, +#endif + +#define osFileTimeToLocalFileTime ((BOOL(WINAPI*)(CONST FILETIME*, \ + LPFILETIME))aSyscall[11].pCurrent) + +#if SQLITE_OS_WINCE + { "FileTimeToSystemTime", (SYSCALL)FileTimeToSystemTime, 0 }, +#else + { "FileTimeToSystemTime", (SYSCALL)0, 0 }, +#endif + +#define osFileTimeToSystemTime ((BOOL(WINAPI*)(CONST FILETIME*, \ + LPSYSTEMTIME))aSyscall[12].pCurrent) + + { "FlushFileBuffers", (SYSCALL)FlushFileBuffers, 0 }, + +#define osFlushFileBuffers ((BOOL(WINAPI*)(HANDLE))aSyscall[13].pCurrent) + +#if defined(SQLITE_WIN32_HAS_ANSI) + { "FormatMessageA", (SYSCALL)FormatMessageA, 0 }, +#else + { "FormatMessageA", (SYSCALL)0, 0 }, +#endif + +#define osFormatMessageA ((DWORD(WINAPI*)(DWORD,LPCVOID,DWORD,DWORD,LPSTR, \ + DWORD,va_list*))aSyscall[14].pCurrent) + +#if defined(SQLITE_WIN32_HAS_WIDE) + { "FormatMessageW", (SYSCALL)FormatMessageW, 0 }, +#else + { "FormatMessageW", (SYSCALL)0, 0 }, +#endif + +#define osFormatMessageW ((DWORD(WINAPI*)(DWORD,LPCVOID,DWORD,DWORD,LPWSTR, \ + DWORD,va_list*))aSyscall[15].pCurrent) + +#if !defined(SQLITE_OMIT_LOAD_EXTENSION) + { "FreeLibrary", (SYSCALL)FreeLibrary, 0 }, +#else + { "FreeLibrary", (SYSCALL)0, 0 }, +#endif + +#define osFreeLibrary ((BOOL(WINAPI*)(HMODULE))aSyscall[16].pCurrent) + + { "GetCurrentProcessId", (SYSCALL)GetCurrentProcessId, 0 }, + +#define osGetCurrentProcessId ((DWORD(WINAPI*)(VOID))aSyscall[17].pCurrent) + +#if !SQLITE_OS_WINCE && defined(SQLITE_WIN32_HAS_ANSI) + { "GetDiskFreeSpaceA", (SYSCALL)GetDiskFreeSpaceA, 0 }, +#else + { "GetDiskFreeSpaceA", (SYSCALL)0, 0 }, +#endif + +#define osGetDiskFreeSpaceA ((BOOL(WINAPI*)(LPCSTR,LPDWORD,LPDWORD,LPDWORD, \ + LPDWORD))aSyscall[18].pCurrent) + +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && defined(SQLITE_WIN32_HAS_WIDE) + { "GetDiskFreeSpaceW", (SYSCALL)GetDiskFreeSpaceW, 0 }, +#else + { "GetDiskFreeSpaceW", (SYSCALL)0, 0 }, +#endif + +#define osGetDiskFreeSpaceW ((BOOL(WINAPI*)(LPCWSTR,LPDWORD,LPDWORD,LPDWORD, \ + LPDWORD))aSyscall[19].pCurrent) + +#if defined(SQLITE_WIN32_HAS_ANSI) + { "GetFileAttributesA", (SYSCALL)GetFileAttributesA, 0 }, +#else + { "GetFileAttributesA", (SYSCALL)0, 0 }, +#endif + +#define osGetFileAttributesA ((DWORD(WINAPI*)(LPCSTR))aSyscall[20].pCurrent) + +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_HAS_WIDE) + { "GetFileAttributesW", (SYSCALL)GetFileAttributesW, 0 }, +#else + { "GetFileAttributesW", (SYSCALL)0, 0 }, +#endif + +#define osGetFileAttributesW ((DWORD(WINAPI*)(LPCWSTR))aSyscall[21].pCurrent) + +#if defined(SQLITE_WIN32_HAS_WIDE) + { "GetFileAttributesExW", (SYSCALL)GetFileAttributesExW, 0 }, +#else + { "GetFileAttributesExW", (SYSCALL)0, 0 }, +#endif + +#define osGetFileAttributesExW ((BOOL(WINAPI*)(LPCWSTR,GET_FILEEX_INFO_LEVELS, \ + LPVOID))aSyscall[22].pCurrent) + +#if !SQLITE_OS_WINRT + { "GetFileSize", (SYSCALL)GetFileSize, 0 }, +#else + { "GetFileSize", (SYSCALL)0, 0 }, +#endif + +#define osGetFileSize ((DWORD(WINAPI*)(HANDLE,LPDWORD))aSyscall[23].pCurrent) + +#if !SQLITE_OS_WINCE && defined(SQLITE_WIN32_HAS_ANSI) + { "GetFullPathNameA", (SYSCALL)GetFullPathNameA, 0 }, +#else + { "GetFullPathNameA", (SYSCALL)0, 0 }, +#endif + +#define osGetFullPathNameA ((DWORD(WINAPI*)(LPCSTR,DWORD,LPSTR, \ + LPSTR*))aSyscall[24].pCurrent) + +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && defined(SQLITE_WIN32_HAS_WIDE) + { "GetFullPathNameW", (SYSCALL)GetFullPathNameW, 0 }, +#else + { "GetFullPathNameW", (SYSCALL)0, 0 }, +#endif + +#define osGetFullPathNameW ((DWORD(WINAPI*)(LPCWSTR,DWORD,LPWSTR, \ + LPWSTR*))aSyscall[25].pCurrent) + + { "GetLastError", (SYSCALL)GetLastError, 0 }, + +#define osGetLastError ((DWORD(WINAPI*)(VOID))aSyscall[26].pCurrent) + +#if !defined(SQLITE_OMIT_LOAD_EXTENSION) +#if SQLITE_OS_WINCE + /* The GetProcAddressA() routine is only available on Windows CE. */ + { "GetProcAddressA", (SYSCALL)GetProcAddressA, 0 }, +#else + /* All other Windows platforms expect GetProcAddress() to take + ** an ANSI string regardless of the _UNICODE setting */ + { "GetProcAddressA", (SYSCALL)GetProcAddress, 0 }, +#endif +#else + { "GetProcAddressA", (SYSCALL)0, 0 }, +#endif + +#define osGetProcAddressA ((FARPROC(WINAPI*)(HMODULE, \ + LPCSTR))aSyscall[27].pCurrent) + +#if !SQLITE_OS_WINRT + { "GetSystemInfo", (SYSCALL)GetSystemInfo, 0 }, +#else + { "GetSystemInfo", (SYSCALL)0, 0 }, +#endif + +#define osGetSystemInfo ((VOID(WINAPI*)(LPSYSTEM_INFO))aSyscall[28].pCurrent) + + { "GetSystemTime", (SYSCALL)GetSystemTime, 0 }, + +#define osGetSystemTime ((VOID(WINAPI*)(LPSYSTEMTIME))aSyscall[29].pCurrent) + +#if !SQLITE_OS_WINCE + { "GetSystemTimeAsFileTime", (SYSCALL)GetSystemTimeAsFileTime, 0 }, +#else + { "GetSystemTimeAsFileTime", (SYSCALL)0, 0 }, +#endif + +#define osGetSystemTimeAsFileTime ((VOID(WINAPI*)( \ + LPFILETIME))aSyscall[30].pCurrent) + +#if defined(SQLITE_WIN32_HAS_ANSI) + { "GetTempPathA", (SYSCALL)GetTempPathA, 0 }, +#else + { "GetTempPathA", (SYSCALL)0, 0 }, +#endif + +#define osGetTempPathA ((DWORD(WINAPI*)(DWORD,LPSTR))aSyscall[31].pCurrent) + +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_HAS_WIDE) + { "GetTempPathW", (SYSCALL)GetTempPathW, 0 }, +#else + { "GetTempPathW", (SYSCALL)0, 0 }, +#endif + +#define osGetTempPathW ((DWORD(WINAPI*)(DWORD,LPWSTR))aSyscall[32].pCurrent) + +#if !SQLITE_OS_WINRT + { "GetTickCount", (SYSCALL)GetTickCount, 0 }, +#else + { "GetTickCount", (SYSCALL)0, 0 }, +#endif + +#define osGetTickCount ((DWORD(WINAPI*)(VOID))aSyscall[33].pCurrent) + +#if defined(SQLITE_WIN32_HAS_ANSI) && SQLITE_WIN32_GETVERSIONEX + { "GetVersionExA", (SYSCALL)GetVersionExA, 0 }, +#else + { "GetVersionExA", (SYSCALL)0, 0 }, +#endif + +#define osGetVersionExA ((BOOL(WINAPI*)( \ + LPOSVERSIONINFOA))aSyscall[34].pCurrent) + +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_HAS_WIDE) && \ + SQLITE_WIN32_GETVERSIONEX + { "GetVersionExW", (SYSCALL)GetVersionExW, 0 }, +#else + { "GetVersionExW", (SYSCALL)0, 0 }, +#endif + +#define osGetVersionExW ((BOOL(WINAPI*)( \ + LPOSVERSIONINFOW))aSyscall[35].pCurrent) + + { "HeapAlloc", (SYSCALL)HeapAlloc, 0 }, + +#define osHeapAlloc ((LPVOID(WINAPI*)(HANDLE,DWORD, \ + SIZE_T))aSyscall[36].pCurrent) + +#if !SQLITE_OS_WINRT + { "HeapCreate", (SYSCALL)HeapCreate, 0 }, +#else + { "HeapCreate", (SYSCALL)0, 0 }, +#endif + +#define osHeapCreate ((HANDLE(WINAPI*)(DWORD,SIZE_T, \ + SIZE_T))aSyscall[37].pCurrent) + +#if !SQLITE_OS_WINRT + { "HeapDestroy", (SYSCALL)HeapDestroy, 0 }, +#else + { "HeapDestroy", (SYSCALL)0, 0 }, +#endif + +#define osHeapDestroy ((BOOL(WINAPI*)(HANDLE))aSyscall[38].pCurrent) + + { "HeapFree", (SYSCALL)HeapFree, 0 }, + +#define osHeapFree ((BOOL(WINAPI*)(HANDLE,DWORD,LPVOID))aSyscall[39].pCurrent) + + { "HeapReAlloc", (SYSCALL)HeapReAlloc, 0 }, + +#define osHeapReAlloc ((LPVOID(WINAPI*)(HANDLE,DWORD,LPVOID, \ + SIZE_T))aSyscall[40].pCurrent) + + { "HeapSize", (SYSCALL)HeapSize, 0 }, + +#define osHeapSize ((SIZE_T(WINAPI*)(HANDLE,DWORD, \ + LPCVOID))aSyscall[41].pCurrent) + +#if !SQLITE_OS_WINRT + { "HeapValidate", (SYSCALL)HeapValidate, 0 }, +#else + { "HeapValidate", (SYSCALL)0, 0 }, +#endif + +#define osHeapValidate ((BOOL(WINAPI*)(HANDLE,DWORD, \ + LPCVOID))aSyscall[42].pCurrent) + +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT + { "HeapCompact", (SYSCALL)HeapCompact, 0 }, +#else + { "HeapCompact", (SYSCALL)0, 0 }, +#endif + +#define osHeapCompact ((UINT(WINAPI*)(HANDLE,DWORD))aSyscall[43].pCurrent) + +#if defined(SQLITE_WIN32_HAS_ANSI) && !defined(SQLITE_OMIT_LOAD_EXTENSION) + { "LoadLibraryA", (SYSCALL)LoadLibraryA, 0 }, +#else + { "LoadLibraryA", (SYSCALL)0, 0 }, +#endif + +#define osLoadLibraryA ((HMODULE(WINAPI*)(LPCSTR))aSyscall[44].pCurrent) + +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_HAS_WIDE) && \ + !defined(SQLITE_OMIT_LOAD_EXTENSION) + { "LoadLibraryW", (SYSCALL)LoadLibraryW, 0 }, +#else + { "LoadLibraryW", (SYSCALL)0, 0 }, +#endif + +#define osLoadLibraryW ((HMODULE(WINAPI*)(LPCWSTR))aSyscall[45].pCurrent) + +#if !SQLITE_OS_WINRT + { "LocalFree", (SYSCALL)LocalFree, 0 }, +#else + { "LocalFree", (SYSCALL)0, 0 }, +#endif + +#define osLocalFree ((HLOCAL(WINAPI*)(HLOCAL))aSyscall[46].pCurrent) + +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT + { "LockFile", (SYSCALL)LockFile, 0 }, +#else + { "LockFile", (SYSCALL)0, 0 }, +#endif + +#ifndef osLockFile +#define osLockFile ((BOOL(WINAPI*)(HANDLE,DWORD,DWORD,DWORD, \ + DWORD))aSyscall[47].pCurrent) +#endif + +#if !SQLITE_OS_WINCE + { "LockFileEx", (SYSCALL)LockFileEx, 0 }, +#else + { "LockFileEx", (SYSCALL)0, 0 }, +#endif + +#ifndef osLockFileEx +#define osLockFileEx ((BOOL(WINAPI*)(HANDLE,DWORD,DWORD,DWORD,DWORD, \ + LPOVERLAPPED))aSyscall[48].pCurrent) +#endif + +#if SQLITE_OS_WINCE || (!SQLITE_OS_WINRT && \ + (!defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0)) + { "MapViewOfFile", (SYSCALL)MapViewOfFile, 0 }, +#else + { "MapViewOfFile", (SYSCALL)0, 0 }, +#endif + +#define osMapViewOfFile ((LPVOID(WINAPI*)(HANDLE,DWORD,DWORD,DWORD, \ + SIZE_T))aSyscall[49].pCurrent) + + { "MultiByteToWideChar", (SYSCALL)MultiByteToWideChar, 0 }, + +#define osMultiByteToWideChar ((int(WINAPI*)(UINT,DWORD,LPCSTR,int,LPWSTR, \ + int))aSyscall[50].pCurrent) + + { "QueryPerformanceCounter", (SYSCALL)QueryPerformanceCounter, 0 }, + +#define osQueryPerformanceCounter ((BOOL(WINAPI*)( \ + LARGE_INTEGER*))aSyscall[51].pCurrent) + + { "ReadFile", (SYSCALL)ReadFile, 0 }, + +#define osReadFile ((BOOL(WINAPI*)(HANDLE,LPVOID,DWORD,LPDWORD, \ + LPOVERLAPPED))aSyscall[52].pCurrent) + + { "SetEndOfFile", (SYSCALL)SetEndOfFile, 0 }, + +#define osSetEndOfFile ((BOOL(WINAPI*)(HANDLE))aSyscall[53].pCurrent) + +#if !SQLITE_OS_WINRT + { "SetFilePointer", (SYSCALL)SetFilePointer, 0 }, +#else + { "SetFilePointer", (SYSCALL)0, 0 }, +#endif + +#define osSetFilePointer ((DWORD(WINAPI*)(HANDLE,LONG,PLONG, \ + DWORD))aSyscall[54].pCurrent) + +#if !SQLITE_OS_WINRT + { "Sleep", (SYSCALL)Sleep, 0 }, +#else + { "Sleep", (SYSCALL)0, 0 }, +#endif + +#define osSleep ((VOID(WINAPI*)(DWORD))aSyscall[55].pCurrent) + + { "SystemTimeToFileTime", (SYSCALL)SystemTimeToFileTime, 0 }, + +#define osSystemTimeToFileTime ((BOOL(WINAPI*)(CONST SYSTEMTIME*, \ + LPFILETIME))aSyscall[56].pCurrent) + +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT + { "UnlockFile", (SYSCALL)UnlockFile, 0 }, +#else + { "UnlockFile", (SYSCALL)0, 0 }, +#endif + +#ifndef osUnlockFile +#define osUnlockFile ((BOOL(WINAPI*)(HANDLE,DWORD,DWORD,DWORD, \ + DWORD))aSyscall[57].pCurrent) +#endif + +#if !SQLITE_OS_WINCE + { "UnlockFileEx", (SYSCALL)UnlockFileEx, 0 }, +#else + { "UnlockFileEx", (SYSCALL)0, 0 }, +#endif + +#define osUnlockFileEx ((BOOL(WINAPI*)(HANDLE,DWORD,DWORD,DWORD, \ + LPOVERLAPPED))aSyscall[58].pCurrent) + +#if SQLITE_OS_WINCE || !defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0 + { "UnmapViewOfFile", (SYSCALL)UnmapViewOfFile, 0 }, +#else + { "UnmapViewOfFile", (SYSCALL)0, 0 }, +#endif + +#define osUnmapViewOfFile ((BOOL(WINAPI*)(LPCVOID))aSyscall[59].pCurrent) + + { "WideCharToMultiByte", (SYSCALL)WideCharToMultiByte, 0 }, + +#define osWideCharToMultiByte ((int(WINAPI*)(UINT,DWORD,LPCWSTR,int,LPSTR,int, \ + LPCSTR,LPBOOL))aSyscall[60].pCurrent) + + { "WriteFile", (SYSCALL)WriteFile, 0 }, + +#define osWriteFile ((BOOL(WINAPI*)(HANDLE,LPCVOID,DWORD,LPDWORD, \ + LPOVERLAPPED))aSyscall[61].pCurrent) + +#if SQLITE_OS_WINRT + { "CreateEventExW", (SYSCALL)CreateEventExW, 0 }, +#else + { "CreateEventExW", (SYSCALL)0, 0 }, +#endif + +#define osCreateEventExW ((HANDLE(WINAPI*)(LPSECURITY_ATTRIBUTES,LPCWSTR, \ + DWORD,DWORD))aSyscall[62].pCurrent) + +#if !SQLITE_OS_WINRT + { "WaitForSingleObject", (SYSCALL)WaitForSingleObject, 0 }, +#else + { "WaitForSingleObject", (SYSCALL)0, 0 }, +#endif + +#define osWaitForSingleObject ((DWORD(WINAPI*)(HANDLE, \ + DWORD))aSyscall[63].pCurrent) + +#if !SQLITE_OS_WINCE + { "WaitForSingleObjectEx", (SYSCALL)WaitForSingleObjectEx, 0 }, +#else + { "WaitForSingleObjectEx", (SYSCALL)0, 0 }, +#endif + +#define osWaitForSingleObjectEx ((DWORD(WINAPI*)(HANDLE,DWORD, \ + BOOL))aSyscall[64].pCurrent) + +#if SQLITE_OS_WINRT + { "SetFilePointerEx", (SYSCALL)SetFilePointerEx, 0 }, +#else + { "SetFilePointerEx", (SYSCALL)0, 0 }, +#endif + +#define osSetFilePointerEx ((BOOL(WINAPI*)(HANDLE,LARGE_INTEGER, \ + PLARGE_INTEGER,DWORD))aSyscall[65].pCurrent) + +#if SQLITE_OS_WINRT + { "GetFileInformationByHandleEx", (SYSCALL)GetFileInformationByHandleEx, 0 }, +#else + { "GetFileInformationByHandleEx", (SYSCALL)0, 0 }, +#endif + +#define osGetFileInformationByHandleEx ((BOOL(WINAPI*)(HANDLE, \ + FILE_INFO_BY_HANDLE_CLASS,LPVOID,DWORD))aSyscall[66].pCurrent) + +#if SQLITE_OS_WINRT && (!defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0) + { "MapViewOfFileFromApp", (SYSCALL)MapViewOfFileFromApp, 0 }, +#else + { "MapViewOfFileFromApp", (SYSCALL)0, 0 }, +#endif + +#define osMapViewOfFileFromApp ((LPVOID(WINAPI*)(HANDLE,ULONG,ULONG64, \ + SIZE_T))aSyscall[67].pCurrent) + +#if SQLITE_OS_WINRT + { "CreateFile2", (SYSCALL)CreateFile2, 0 }, +#else + { "CreateFile2", (SYSCALL)0, 0 }, +#endif + +#define osCreateFile2 ((HANDLE(WINAPI*)(LPCWSTR,DWORD,DWORD,DWORD, \ + LPCREATEFILE2_EXTENDED_PARAMETERS))aSyscall[68].pCurrent) + +#if SQLITE_OS_WINRT && !defined(SQLITE_OMIT_LOAD_EXTENSION) + { "LoadPackagedLibrary", (SYSCALL)LoadPackagedLibrary, 0 }, +#else + { "LoadPackagedLibrary", (SYSCALL)0, 0 }, +#endif + +#define osLoadPackagedLibrary ((HMODULE(WINAPI*)(LPCWSTR, \ + DWORD))aSyscall[69].pCurrent) + +#if SQLITE_OS_WINRT + { "GetTickCount64", (SYSCALL)GetTickCount64, 0 }, +#else + { "GetTickCount64", (SYSCALL)0, 0 }, +#endif + +#define osGetTickCount64 ((ULONGLONG(WINAPI*)(VOID))aSyscall[70].pCurrent) + +#if SQLITE_OS_WINRT + { "GetNativeSystemInfo", (SYSCALL)GetNativeSystemInfo, 0 }, +#else + { "GetNativeSystemInfo", (SYSCALL)0, 0 }, +#endif + +#define osGetNativeSystemInfo ((VOID(WINAPI*)( \ + LPSYSTEM_INFO))aSyscall[71].pCurrent) + +#if defined(SQLITE_WIN32_HAS_ANSI) + { "OutputDebugStringA", (SYSCALL)OutputDebugStringA, 0 }, +#else + { "OutputDebugStringA", (SYSCALL)0, 0 }, +#endif + +#define osOutputDebugStringA ((VOID(WINAPI*)(LPCSTR))aSyscall[72].pCurrent) + +#if defined(SQLITE_WIN32_HAS_WIDE) + { "OutputDebugStringW", (SYSCALL)OutputDebugStringW, 0 }, +#else + { "OutputDebugStringW", (SYSCALL)0, 0 }, +#endif + +#define osOutputDebugStringW ((VOID(WINAPI*)(LPCWSTR))aSyscall[73].pCurrent) + + { "GetProcessHeap", (SYSCALL)GetProcessHeap, 0 }, + +#define osGetProcessHeap ((HANDLE(WINAPI*)(VOID))aSyscall[74].pCurrent) + +#if SQLITE_OS_WINRT && (!defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0) + { "CreateFileMappingFromApp", (SYSCALL)CreateFileMappingFromApp, 0 }, +#else + { "CreateFileMappingFromApp", (SYSCALL)0, 0 }, +#endif + +#define osCreateFileMappingFromApp ((HANDLE(WINAPI*)(HANDLE, \ + LPSECURITY_ATTRIBUTES,ULONG,ULONG64,LPCWSTR))aSyscall[75].pCurrent) + +/* +** NOTE: On some sub-platforms, the InterlockedCompareExchange "function" +** is really just a macro that uses a compiler intrinsic (e.g. x64). +** So do not try to make this is into a redefinable interface. +*/ +#if defined(InterlockedCompareExchange) + { "InterlockedCompareExchange", (SYSCALL)0, 0 }, + +#define osInterlockedCompareExchange InterlockedCompareExchange +#else + { "InterlockedCompareExchange", (SYSCALL)InterlockedCompareExchange, 0 }, + +#define osInterlockedCompareExchange ((LONG(WINAPI*)(LONG \ + SQLITE_WIN32_VOLATILE*, LONG,LONG))aSyscall[76].pCurrent) +#endif /* defined(InterlockedCompareExchange) */ + +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && SQLITE_WIN32_USE_UUID + { "UuidCreate", (SYSCALL)UuidCreate, 0 }, +#else + { "UuidCreate", (SYSCALL)0, 0 }, +#endif + +#define osUuidCreate ((RPC_STATUS(RPC_ENTRY*)(UUID*))aSyscall[77].pCurrent) + +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && SQLITE_WIN32_USE_UUID + { "UuidCreateSequential", (SYSCALL)UuidCreateSequential, 0 }, +#else + { "UuidCreateSequential", (SYSCALL)0, 0 }, +#endif + +#define osUuidCreateSequential \ + ((RPC_STATUS(RPC_ENTRY*)(UUID*))aSyscall[78].pCurrent) + +#if !defined(SQLITE_NO_SYNC) && SQLITE_MAX_MMAP_SIZE>0 + { "FlushViewOfFile", (SYSCALL)FlushViewOfFile, 0 }, +#else + { "FlushViewOfFile", (SYSCALL)0, 0 }, +#endif + +#define osFlushViewOfFile \ + ((BOOL(WINAPI*)(LPCVOID,SIZE_T))aSyscall[79].pCurrent) + +}; /* End of the overrideable system calls */ + +/* +** This is the xSetSystemCall() method of sqlite3_vfs for all of the +** "win32" VFSes. Return SQLITE_OK opon successfully updating the +** system call pointer, or SQLITE_NOTFOUND if there is no configurable +** system call named zName. +*/ +static int winSetSystemCall( + sqlite3_vfs *pNotUsed, /* The VFS pointer. Not used */ + const char *zName, /* Name of system call to override */ + sqlite3_syscall_ptr pNewFunc /* Pointer to new system call value */ +){ + unsigned int i; + int rc = SQLITE_NOTFOUND; + + UNUSED_PARAMETER(pNotUsed); + if( zName==0 ){ + /* If no zName is given, restore all system calls to their default + ** settings and return NULL + */ + rc = SQLITE_OK; + for(i=0; i0 ){ + memset(zDbgBuf, 0, SQLITE_WIN32_DBG_BUF_SIZE); + memcpy(zDbgBuf, zBuf, nMin); + osOutputDebugStringA(zDbgBuf); + }else{ + osOutputDebugStringA(zBuf); + } +#elif defined(SQLITE_WIN32_HAS_WIDE) + memset(zDbgBuf, 0, SQLITE_WIN32_DBG_BUF_SIZE); + if ( osMultiByteToWideChar( + osAreFileApisANSI() ? CP_ACP : CP_OEMCP, 0, zBuf, + nMin, (LPWSTR)zDbgBuf, SQLITE_WIN32_DBG_BUF_SIZE/sizeof(WCHAR))<=0 ){ + return; + } + osOutputDebugStringW((LPCWSTR)zDbgBuf); +#else + if( nMin>0 ){ + memset(zDbgBuf, 0, SQLITE_WIN32_DBG_BUF_SIZE); + memcpy(zDbgBuf, zBuf, nMin); + fprintf(stderr, "%s", zDbgBuf); + }else{ + fprintf(stderr, "%s", zBuf); + } +#endif +} + +/* +** The following routine suspends the current thread for at least ms +** milliseconds. This is equivalent to the Win32 Sleep() interface. +*/ +#if SQLITE_OS_WINRT +static HANDLE sleepObj = NULL; +#endif + +SQLITE_API void sqlite3_win32_sleep(DWORD milliseconds){ +#if SQLITE_OS_WINRT + if ( sleepObj==NULL ){ + sleepObj = osCreateEventExW(NULL, NULL, CREATE_EVENT_MANUAL_RESET, + SYNCHRONIZE); + } + assert( sleepObj!=NULL ); + osWaitForSingleObjectEx(sleepObj, milliseconds, FALSE); +#else + osSleep(milliseconds); +#endif +} + +#if SQLITE_MAX_WORKER_THREADS>0 && !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && \ + SQLITE_THREADSAFE>0 +SQLITE_PRIVATE DWORD sqlite3Win32Wait(HANDLE hObject){ + DWORD rc; + while( (rc = osWaitForSingleObjectEx(hObject, INFINITE, + TRUE))==WAIT_IO_COMPLETION ){} + return rc; +} +#endif + +/* +** Return true (non-zero) if we are running under WinNT, Win2K, WinXP, +** or WinCE. Return false (zero) for Win95, Win98, or WinME. +** +** Here is an interesting observation: Win95, Win98, and WinME lack +** the LockFileEx() API. But we can still statically link against that +** API as long as we don't call it when running Win95/98/ME. A call to +** this routine is used to determine if the host is Win95/98/ME or +** WinNT/2K/XP so that we will know whether or not we can safely call +** the LockFileEx() API. +*/ + +#if !SQLITE_WIN32_GETVERSIONEX +# define osIsNT() (1) +#elif SQLITE_OS_WINCE || SQLITE_OS_WINRT || !defined(SQLITE_WIN32_HAS_ANSI) +# define osIsNT() (1) +#elif !defined(SQLITE_WIN32_HAS_WIDE) +# define osIsNT() (0) +#else +# define osIsNT() ((sqlite3_os_type==2) || sqlite3_win32_is_nt()) +#endif + +/* +** This function determines if the machine is running a version of Windows +** based on the NT kernel. +*/ +SQLITE_API int sqlite3_win32_is_nt(void){ +#if SQLITE_OS_WINRT + /* + ** NOTE: The WinRT sub-platform is always assumed to be based on the NT + ** kernel. + */ + return 1; +#elif SQLITE_WIN32_GETVERSIONEX + if( osInterlockedCompareExchange(&sqlite3_os_type, 0, 0)==0 ){ +#if defined(SQLITE_WIN32_HAS_ANSI) + OSVERSIONINFOA sInfo; + sInfo.dwOSVersionInfoSize = sizeof(sInfo); + osGetVersionExA(&sInfo); + osInterlockedCompareExchange(&sqlite3_os_type, + (sInfo.dwPlatformId == VER_PLATFORM_WIN32_NT) ? 2 : 1, 0); +#elif defined(SQLITE_WIN32_HAS_WIDE) + OSVERSIONINFOW sInfo; + sInfo.dwOSVersionInfoSize = sizeof(sInfo); + osGetVersionExW(&sInfo); + osInterlockedCompareExchange(&sqlite3_os_type, + (sInfo.dwPlatformId == VER_PLATFORM_WIN32_NT) ? 2 : 1, 0); +#endif + } + return osInterlockedCompareExchange(&sqlite3_os_type, 2, 2)==2; +#elif SQLITE_TEST + return osInterlockedCompareExchange(&sqlite3_os_type, 2, 2)==2; +#else + /* + ** NOTE: All sub-platforms where the GetVersionEx[AW] functions are + ** deprecated are always assumed to be based on the NT kernel. + */ + return 1; +#endif +} + +#ifdef SQLITE_WIN32_MALLOC +/* +** Allocate nBytes of memory. +*/ +static void *winMemMalloc(int nBytes){ + HANDLE hHeap; + void *p; + + winMemAssertMagic(); + hHeap = winMemGetHeap(); + assert( hHeap!=0 ); + assert( hHeap!=INVALID_HANDLE_VALUE ); +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_MALLOC_VALIDATE) + assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) ); +#endif + assert( nBytes>=0 ); + p = osHeapAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, (SIZE_T)nBytes); + if( !p ){ + sqlite3_log(SQLITE_NOMEM, "failed to HeapAlloc %u bytes (%lu), heap=%p", + nBytes, osGetLastError(), (void*)hHeap); + } + return p; +} + +/* +** Free memory. +*/ +static void winMemFree(void *pPrior){ + HANDLE hHeap; + + winMemAssertMagic(); + hHeap = winMemGetHeap(); + assert( hHeap!=0 ); + assert( hHeap!=INVALID_HANDLE_VALUE ); +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_MALLOC_VALIDATE) + assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) ); +#endif + if( !pPrior ) return; /* Passing NULL to HeapFree is undefined. */ + if( !osHeapFree(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) ){ + sqlite3_log(SQLITE_NOMEM, "failed to HeapFree block %p (%lu), heap=%p", + pPrior, osGetLastError(), (void*)hHeap); + } +} + +/* +** Change the size of an existing memory allocation +*/ +static void *winMemRealloc(void *pPrior, int nBytes){ + HANDLE hHeap; + void *p; + + winMemAssertMagic(); + hHeap = winMemGetHeap(); + assert( hHeap!=0 ); + assert( hHeap!=INVALID_HANDLE_VALUE ); +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_MALLOC_VALIDATE) + assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) ); +#endif + assert( nBytes>=0 ); + if( !pPrior ){ + p = osHeapAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, (SIZE_T)nBytes); + }else{ + p = osHeapReAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior, (SIZE_T)nBytes); + } + if( !p ){ + sqlite3_log(SQLITE_NOMEM, "failed to %s %u bytes (%lu), heap=%p", + pPrior ? "HeapReAlloc" : "HeapAlloc", nBytes, osGetLastError(), + (void*)hHeap); + } + return p; +} + +/* +** Return the size of an outstanding allocation, in bytes. +*/ +static int winMemSize(void *p){ + HANDLE hHeap; + SIZE_T n; + + winMemAssertMagic(); + hHeap = winMemGetHeap(); + assert( hHeap!=0 ); + assert( hHeap!=INVALID_HANDLE_VALUE ); +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_MALLOC_VALIDATE) + assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, p) ); +#endif + if( !p ) return 0; + n = osHeapSize(hHeap, SQLITE_WIN32_HEAP_FLAGS, p); + if( n==(SIZE_T)-1 ){ + sqlite3_log(SQLITE_NOMEM, "failed to HeapSize block %p (%lu), heap=%p", + p, osGetLastError(), (void*)hHeap); + return 0; + } + return (int)n; +} + +/* +** Round up a request size to the next valid allocation size. +*/ +static int winMemRoundup(int n){ + return n; +} + +/* +** Initialize this module. +*/ +static int winMemInit(void *pAppData){ + winMemData *pWinMemData = (winMemData *)pAppData; + + if( !pWinMemData ) return SQLITE_ERROR; + assert( pWinMemData->magic1==WINMEM_MAGIC1 ); + assert( pWinMemData->magic2==WINMEM_MAGIC2 ); + +#if !SQLITE_OS_WINRT && SQLITE_WIN32_HEAP_CREATE + if( !pWinMemData->hHeap ){ + DWORD dwInitialSize = SQLITE_WIN32_HEAP_INIT_SIZE; + DWORD dwMaximumSize = (DWORD)sqlite3GlobalConfig.nHeap; + if( dwMaximumSize==0 ){ + dwMaximumSize = SQLITE_WIN32_HEAP_MAX_SIZE; + }else if( dwInitialSize>dwMaximumSize ){ + dwInitialSize = dwMaximumSize; + } + pWinMemData->hHeap = osHeapCreate(SQLITE_WIN32_HEAP_FLAGS, + dwInitialSize, dwMaximumSize); + if( !pWinMemData->hHeap ){ + sqlite3_log(SQLITE_NOMEM, + "failed to HeapCreate (%lu), flags=%u, initSize=%lu, maxSize=%lu", + osGetLastError(), SQLITE_WIN32_HEAP_FLAGS, dwInitialSize, + dwMaximumSize); + return SQLITE_NOMEM_BKPT; + } + pWinMemData->bOwned = TRUE; + assert( pWinMemData->bOwned ); + } +#else + pWinMemData->hHeap = osGetProcessHeap(); + if( !pWinMemData->hHeap ){ + sqlite3_log(SQLITE_NOMEM, + "failed to GetProcessHeap (%lu)", osGetLastError()); + return SQLITE_NOMEM_BKPT; + } + pWinMemData->bOwned = FALSE; + assert( !pWinMemData->bOwned ); +#endif + assert( pWinMemData->hHeap!=0 ); + assert( pWinMemData->hHeap!=INVALID_HANDLE_VALUE ); +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_MALLOC_VALIDATE) + assert( osHeapValidate(pWinMemData->hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) ); +#endif + return SQLITE_OK; +} + +/* +** Deinitialize this module. +*/ +static void winMemShutdown(void *pAppData){ + winMemData *pWinMemData = (winMemData *)pAppData; + + if( !pWinMemData ) return; + assert( pWinMemData->magic1==WINMEM_MAGIC1 ); + assert( pWinMemData->magic2==WINMEM_MAGIC2 ); + + if( pWinMemData->hHeap ){ + assert( pWinMemData->hHeap!=INVALID_HANDLE_VALUE ); +#if !SQLITE_OS_WINRT && defined(SQLITE_WIN32_MALLOC_VALIDATE) + assert( osHeapValidate(pWinMemData->hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) ); +#endif + if( pWinMemData->bOwned ){ + if( !osHeapDestroy(pWinMemData->hHeap) ){ + sqlite3_log(SQLITE_NOMEM, "failed to HeapDestroy (%lu), heap=%p", + osGetLastError(), (void*)pWinMemData->hHeap); + } + pWinMemData->bOwned = FALSE; + } + pWinMemData->hHeap = NULL; + } +} + +/* +** Populate the low-level memory allocation function pointers in +** sqlite3GlobalConfig.m with pointers to the routines in this file. The +** arguments specify the block of memory to manage. +** +** This routine is only called by sqlite3_config(), and therefore +** is not required to be threadsafe (it is not). +*/ +SQLITE_PRIVATE const sqlite3_mem_methods *sqlite3MemGetWin32(void){ + static const sqlite3_mem_methods winMemMethods = { + winMemMalloc, + winMemFree, + winMemRealloc, + winMemSize, + winMemRoundup, + winMemInit, + winMemShutdown, + &win_mem_data + }; + return &winMemMethods; +} + +SQLITE_PRIVATE void sqlite3MemSetDefault(void){ + sqlite3_config(SQLITE_CONFIG_MALLOC, sqlite3MemGetWin32()); +} +#endif /* SQLITE_WIN32_MALLOC */ + +/* +** Convert a UTF-8 string to Microsoft Unicode. +** +** Space to hold the returned string is obtained from sqlite3_malloc(). +*/ +static LPWSTR winUtf8ToUnicode(const char *zText){ + int nChar; + LPWSTR zWideText; + + nChar = osMultiByteToWideChar(CP_UTF8, 0, zText, -1, NULL, 0); + if( nChar==0 ){ + return 0; + } + zWideText = sqlite3MallocZero( nChar*sizeof(WCHAR) ); + if( zWideText==0 ){ + return 0; + } + nChar = osMultiByteToWideChar(CP_UTF8, 0, zText, -1, zWideText, + nChar); + if( nChar==0 ){ + sqlite3_free(zWideText); + zWideText = 0; + } + return zWideText; +} + +/* +** Convert a Microsoft Unicode string to UTF-8. +** +** Space to hold the returned string is obtained from sqlite3_malloc(). +*/ +static char *winUnicodeToUtf8(LPCWSTR zWideText){ + int nByte; + char *zText; + + nByte = osWideCharToMultiByte(CP_UTF8, 0, zWideText, -1, 0, 0, 0, 0); + if( nByte == 0 ){ + return 0; + } + zText = sqlite3MallocZero( nByte ); + if( zText==0 ){ + return 0; + } + nByte = osWideCharToMultiByte(CP_UTF8, 0, zWideText, -1, zText, nByte, + 0, 0); + if( nByte == 0 ){ + sqlite3_free(zText); + zText = 0; + } + return zText; +} + +/* +** Convert an ANSI string to Microsoft Unicode, using the ANSI or OEM +** code page. +** +** Space to hold the returned string is obtained from sqlite3_malloc(). +*/ +static LPWSTR winMbcsToUnicode(const char *zText, int useAnsi){ + int nByte; + LPWSTR zMbcsText; + int codepage = useAnsi ? CP_ACP : CP_OEMCP; + + nByte = osMultiByteToWideChar(codepage, 0, zText, -1, NULL, + 0)*sizeof(WCHAR); + if( nByte==0 ){ + return 0; + } + zMbcsText = sqlite3MallocZero( nByte*sizeof(WCHAR) ); + if( zMbcsText==0 ){ + return 0; + } + nByte = osMultiByteToWideChar(codepage, 0, zText, -1, zMbcsText, + nByte); + if( nByte==0 ){ + sqlite3_free(zMbcsText); + zMbcsText = 0; + } + return zMbcsText; +} + +/* +** Convert a Microsoft Unicode string to a multi-byte character string, +** using the ANSI or OEM code page. +** +** Space to hold the returned string is obtained from sqlite3_malloc(). +*/ +static char *winUnicodeToMbcs(LPCWSTR zWideText, int useAnsi){ + int nByte; + char *zText; + int codepage = useAnsi ? CP_ACP : CP_OEMCP; + + nByte = osWideCharToMultiByte(codepage, 0, zWideText, -1, 0, 0, 0, 0); + if( nByte == 0 ){ + return 0; + } + zText = sqlite3MallocZero( nByte ); + if( zText==0 ){ + return 0; + } + nByte = osWideCharToMultiByte(codepage, 0, zWideText, -1, zText, + nByte, 0, 0); + if( nByte == 0 ){ + sqlite3_free(zText); + zText = 0; + } + return zText; +} + +/* +** Convert a multi-byte character string to UTF-8. +** +** Space to hold the returned string is obtained from sqlite3_malloc(). +*/ +static char *winMbcsToUtf8(const char *zText, int useAnsi){ + char *zTextUtf8; + LPWSTR zTmpWide; + + zTmpWide = winMbcsToUnicode(zText, useAnsi); + if( zTmpWide==0 ){ + return 0; + } + zTextUtf8 = winUnicodeToUtf8(zTmpWide); + sqlite3_free(zTmpWide); + return zTextUtf8; +} + +/* +** Convert a UTF-8 string to a multi-byte character string. +** +** Space to hold the returned string is obtained from sqlite3_malloc(). +*/ +static char *winUtf8ToMbcs(const char *zText, int useAnsi){ + char *zTextMbcs; + LPWSTR zTmpWide; + + zTmpWide = winUtf8ToUnicode(zText); + if( zTmpWide==0 ){ + return 0; + } + zTextMbcs = winUnicodeToMbcs(zTmpWide, useAnsi); + sqlite3_free(zTmpWide); + return zTextMbcs; +} + +/* +** This is a public wrapper for the winUtf8ToUnicode() function. +*/ +SQLITE_API LPWSTR sqlite3_win32_utf8_to_unicode(const char *zText){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !zText ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return 0; +#endif + return winUtf8ToUnicode(zText); +} + +/* +** This is a public wrapper for the winUnicodeToUtf8() function. +*/ +SQLITE_API char *sqlite3_win32_unicode_to_utf8(LPCWSTR zWideText){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !zWideText ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return 0; +#endif + return winUnicodeToUtf8(zWideText); +} + +/* +** This is a public wrapper for the winMbcsToUtf8() function. +*/ +SQLITE_API char *sqlite3_win32_mbcs_to_utf8(const char *zText){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !zText ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return 0; +#endif + return winMbcsToUtf8(zText, osAreFileApisANSI()); +} + +/* +** This is a public wrapper for the winMbcsToUtf8() function. +*/ +SQLITE_API char *sqlite3_win32_mbcs_to_utf8_v2(const char *zText, int useAnsi){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !zText ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return 0; +#endif + return winMbcsToUtf8(zText, useAnsi); +} + +/* +** This is a public wrapper for the winUtf8ToMbcs() function. +*/ +SQLITE_API char *sqlite3_win32_utf8_to_mbcs(const char *zText){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !zText ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return 0; +#endif + return winUtf8ToMbcs(zText, osAreFileApisANSI()); +} + +/* +** This is a public wrapper for the winUtf8ToMbcs() function. +*/ +SQLITE_API char *sqlite3_win32_utf8_to_mbcs_v2(const char *zText, int useAnsi){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !zText ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize() ) return 0; +#endif + return winUtf8ToMbcs(zText, useAnsi); +} + +/* +** This function is the same as sqlite3_win32_set_directory (below); however, +** it accepts a UTF-8 string. +*/ +SQLITE_API int sqlite3_win32_set_directory8( + unsigned long type, /* Identifier for directory being set or reset */ + const char *zValue /* New value for directory being set or reset */ +){ + char **ppDirectory = 0; +#ifndef SQLITE_OMIT_AUTOINIT + int rc = sqlite3_initialize(); + if( rc ) return rc; +#endif + if( type==SQLITE_WIN32_DATA_DIRECTORY_TYPE ){ + ppDirectory = &sqlite3_data_directory; + }else if( type==SQLITE_WIN32_TEMP_DIRECTORY_TYPE ){ + ppDirectory = &sqlite3_temp_directory; + } + assert( !ppDirectory || type==SQLITE_WIN32_DATA_DIRECTORY_TYPE + || type==SQLITE_WIN32_TEMP_DIRECTORY_TYPE + ); + assert( !ppDirectory || sqlite3MemdebugHasType(*ppDirectory, MEMTYPE_HEAP) ); + if( ppDirectory ){ + char *zCopy = 0; + if( zValue && zValue[0] ){ + zCopy = sqlite3_mprintf("%s", zValue); + if ( zCopy==0 ){ + return SQLITE_NOMEM_BKPT; + } + } + sqlite3_free(*ppDirectory); + *ppDirectory = zCopy; + return SQLITE_OK; + } + return SQLITE_ERROR; +} + +/* +** This function is the same as sqlite3_win32_set_directory (below); however, +** it accepts a UTF-16 string. +*/ +SQLITE_API int sqlite3_win32_set_directory16( + unsigned long type, /* Identifier for directory being set or reset */ + const void *zValue /* New value for directory being set or reset */ +){ + int rc; + char *zUtf8 = 0; + if( zValue ){ + zUtf8 = sqlite3_win32_unicode_to_utf8(zValue); + if( zUtf8==0 ) return SQLITE_NOMEM_BKPT; + } + rc = sqlite3_win32_set_directory8(type, zUtf8); + if( zUtf8 ) sqlite3_free(zUtf8); + return rc; +} + +/* +** This function sets the data directory or the temporary directory based on +** the provided arguments. The type argument must be 1 in order to set the +** data directory or 2 in order to set the temporary directory. The zValue +** argument is the name of the directory to use. The return value will be +** SQLITE_OK if successful. +*/ +SQLITE_API int sqlite3_win32_set_directory( + unsigned long type, /* Identifier for directory being set or reset */ + void *zValue /* New value for directory being set or reset */ +){ + return sqlite3_win32_set_directory16(type, zValue); +} + +/* +** The return value of winGetLastErrorMsg +** is zero if the error message fits in the buffer, or non-zero +** otherwise (if the message was truncated). +*/ +static int winGetLastErrorMsg(DWORD lastErrno, int nBuf, char *zBuf){ + /* FormatMessage returns 0 on failure. Otherwise it + ** returns the number of TCHARs written to the output + ** buffer, excluding the terminating null char. + */ + DWORD dwLen = 0; + char *zOut = 0; + + if( osIsNT() ){ +#if SQLITE_OS_WINRT + WCHAR zTempWide[SQLITE_WIN32_MAX_ERRMSG_CHARS+1]; + dwLen = osFormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM | + FORMAT_MESSAGE_IGNORE_INSERTS, + NULL, + lastErrno, + 0, + zTempWide, + SQLITE_WIN32_MAX_ERRMSG_CHARS, + 0); +#else + LPWSTR zTempWide = NULL; + dwLen = osFormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | + FORMAT_MESSAGE_FROM_SYSTEM | + FORMAT_MESSAGE_IGNORE_INSERTS, + NULL, + lastErrno, + 0, + (LPWSTR) &zTempWide, + 0, + 0); +#endif + if( dwLen > 0 ){ + /* allocate a buffer and convert to UTF8 */ + sqlite3BeginBenignMalloc(); + zOut = winUnicodeToUtf8(zTempWide); + sqlite3EndBenignMalloc(); +#if !SQLITE_OS_WINRT + /* free the system buffer allocated by FormatMessage */ + osLocalFree(zTempWide); +#endif + } + } +#ifdef SQLITE_WIN32_HAS_ANSI + else{ + char *zTemp = NULL; + dwLen = osFormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | + FORMAT_MESSAGE_FROM_SYSTEM | + FORMAT_MESSAGE_IGNORE_INSERTS, + NULL, + lastErrno, + 0, + (LPSTR) &zTemp, + 0, + 0); + if( dwLen > 0 ){ + /* allocate a buffer and convert to UTF8 */ + sqlite3BeginBenignMalloc(); + zOut = winMbcsToUtf8(zTemp, osAreFileApisANSI()); + sqlite3EndBenignMalloc(); + /* free the system buffer allocated by FormatMessage */ + osLocalFree(zTemp); + } + } +#endif + if( 0 == dwLen ){ + sqlite3_snprintf(nBuf, zBuf, "OsError 0x%lx (%lu)", lastErrno, lastErrno); + }else{ + /* copy a maximum of nBuf chars to output buffer */ + sqlite3_snprintf(nBuf, zBuf, "%s", zOut); + /* free the UTF8 buffer */ + sqlite3_free(zOut); + } + return 0; +} + +/* +** +** This function - winLogErrorAtLine() - is only ever called via the macro +** winLogError(). +** +** This routine is invoked after an error occurs in an OS function. +** It logs a message using sqlite3_log() containing the current value of +** error code and, if possible, the human-readable equivalent from +** FormatMessage. +** +** The first argument passed to the macro should be the error code that +** will be returned to SQLite (e.g. SQLITE_IOERR_DELETE, SQLITE_CANTOPEN). +** The two subsequent arguments should be the name of the OS function that +** failed and the associated file-system path, if any. +*/ +#define winLogError(a,b,c,d) winLogErrorAtLine(a,b,c,d,__LINE__) +static int winLogErrorAtLine( + int errcode, /* SQLite error code */ + DWORD lastErrno, /* Win32 last error */ + const char *zFunc, /* Name of OS function that failed */ + const char *zPath, /* File path associated with error */ + int iLine /* Source line number where error occurred */ +){ + char zMsg[500]; /* Human readable error text */ + int i; /* Loop counter */ + + zMsg[0] = 0; + winGetLastErrorMsg(lastErrno, sizeof(zMsg), zMsg); + assert( errcode!=SQLITE_OK ); + if( zPath==0 ) zPath = ""; + for(i=0; zMsg[i] && zMsg[i]!='\r' && zMsg[i]!='\n'; i++){} + zMsg[i] = 0; + sqlite3_log(errcode, + "os_win.c:%d: (%lu) %s(%s) - %s", + iLine, lastErrno, zFunc, zPath, zMsg + ); + + return errcode; +} + +/* +** The number of times that a ReadFile(), WriteFile(), and DeleteFile() +** will be retried following a locking error - probably caused by +** antivirus software. Also the initial delay before the first retry. +** The delay increases linearly with each retry. +*/ +#ifndef SQLITE_WIN32_IOERR_RETRY +# define SQLITE_WIN32_IOERR_RETRY 10 +#endif +#ifndef SQLITE_WIN32_IOERR_RETRY_DELAY +# define SQLITE_WIN32_IOERR_RETRY_DELAY 25 +#endif +static int winIoerrRetry = SQLITE_WIN32_IOERR_RETRY; +static int winIoerrRetryDelay = SQLITE_WIN32_IOERR_RETRY_DELAY; + +/* +** The "winIoerrCanRetry1" macro is used to determine if a particular I/O +** error code obtained via GetLastError() is eligible to be retried. It +** must accept the error code DWORD as its only argument and should return +** non-zero if the error code is transient in nature and the operation +** responsible for generating the original error might succeed upon being +** retried. The argument to this macro should be a variable. +** +** Additionally, a macro named "winIoerrCanRetry2" may be defined. If it +** is defined, it will be consulted only when the macro "winIoerrCanRetry1" +** returns zero. The "winIoerrCanRetry2" macro is completely optional and +** may be used to include additional error codes in the set that should +** result in the failing I/O operation being retried by the caller. If +** defined, the "winIoerrCanRetry2" macro must exhibit external semantics +** identical to those of the "winIoerrCanRetry1" macro. +*/ +#if !defined(winIoerrCanRetry1) +#define winIoerrCanRetry1(a) (((a)==ERROR_ACCESS_DENIED) || \ + ((a)==ERROR_SHARING_VIOLATION) || \ + ((a)==ERROR_LOCK_VIOLATION) || \ + ((a)==ERROR_DEV_NOT_EXIST) || \ + ((a)==ERROR_NETNAME_DELETED) || \ + ((a)==ERROR_SEM_TIMEOUT) || \ + ((a)==ERROR_NETWORK_UNREACHABLE)) +#endif + +/* +** If a ReadFile() or WriteFile() error occurs, invoke this routine +** to see if it should be retried. Return TRUE to retry. Return FALSE +** to give up with an error. +*/ +static int winRetryIoerr(int *pnRetry, DWORD *pError){ + DWORD e = osGetLastError(); + if( *pnRetry>=winIoerrRetry ){ + if( pError ){ + *pError = e; + } + return 0; + } + if( winIoerrCanRetry1(e) ){ + sqlite3_win32_sleep(winIoerrRetryDelay*(1+*pnRetry)); + ++*pnRetry; + return 1; + } +#if defined(winIoerrCanRetry2) + else if( winIoerrCanRetry2(e) ){ + sqlite3_win32_sleep(winIoerrRetryDelay*(1+*pnRetry)); + ++*pnRetry; + return 1; + } +#endif + if( pError ){ + *pError = e; + } + return 0; +} + +/* +** Log a I/O error retry episode. +*/ +static void winLogIoerr(int nRetry, int lineno){ + if( nRetry ){ + sqlite3_log(SQLITE_NOTICE, + "delayed %dms for lock/sharing conflict at line %d", + winIoerrRetryDelay*nRetry*(nRetry+1)/2, lineno + ); + } +} + +/* +** This #if does not rely on the SQLITE_OS_WINCE define because the +** corresponding section in "date.c" cannot use it. +*/ +#if !defined(SQLITE_OMIT_LOCALTIME) && defined(_WIN32_WCE) && \ + (!defined(SQLITE_MSVC_LOCALTIME_API) || !SQLITE_MSVC_LOCALTIME_API) +/* +** The MSVC CRT on Windows CE may not have a localtime() function. +** So define a substitute. +*/ +/* # include */ +struct tm *__cdecl localtime(const time_t *t) +{ + static struct tm y; + FILETIME uTm, lTm; + SYSTEMTIME pTm; + sqlite3_int64 t64; + t64 = *t; + t64 = (t64 + 11644473600)*10000000; + uTm.dwLowDateTime = (DWORD)(t64 & 0xFFFFFFFF); + uTm.dwHighDateTime= (DWORD)(t64 >> 32); + osFileTimeToLocalFileTime(&uTm,&lTm); + osFileTimeToSystemTime(&lTm,&pTm); + y.tm_year = pTm.wYear - 1900; + y.tm_mon = pTm.wMonth - 1; + y.tm_wday = pTm.wDayOfWeek; + y.tm_mday = pTm.wDay; + y.tm_hour = pTm.wHour; + y.tm_min = pTm.wMinute; + y.tm_sec = pTm.wSecond; + return &y; +} +#endif + +#if SQLITE_OS_WINCE +/************************************************************************* +** This section contains code for WinCE only. +*/ +#define HANDLE_TO_WINFILE(a) (winFile*)&((char*)a)[-(int)offsetof(winFile,h)] + +/* +** Acquire a lock on the handle h +*/ +static void winceMutexAcquire(HANDLE h){ + DWORD dwErr; + do { + dwErr = osWaitForSingleObject(h, INFINITE); + } while (dwErr != WAIT_OBJECT_0 && dwErr != WAIT_ABANDONED); +} +/* +** Release a lock acquired by winceMutexAcquire() +*/ +#define winceMutexRelease(h) ReleaseMutex(h) + +/* +** Create the mutex and shared memory used for locking in the file +** descriptor pFile +*/ +static int winceCreateLock(const char *zFilename, winFile *pFile){ + LPWSTR zTok; + LPWSTR zName; + DWORD lastErrno; + BOOL bLogged = FALSE; + BOOL bInit = TRUE; + + zName = winUtf8ToUnicode(zFilename); + if( zName==0 ){ + /* out of memory */ + return SQLITE_IOERR_NOMEM_BKPT; + } + + /* Initialize the local lockdata */ + memset(&pFile->local, 0, sizeof(pFile->local)); + + /* Replace the backslashes from the filename and lowercase it + ** to derive a mutex name. */ + zTok = osCharLowerW(zName); + for (;*zTok;zTok++){ + if (*zTok == '\\') *zTok = '_'; + } + + /* Create/open the named mutex */ + pFile->hMutex = osCreateMutexW(NULL, FALSE, zName); + if (!pFile->hMutex){ + pFile->lastErrno = osGetLastError(); + sqlite3_free(zName); + return winLogError(SQLITE_IOERR, pFile->lastErrno, + "winceCreateLock1", zFilename); + } + + /* Acquire the mutex before continuing */ + winceMutexAcquire(pFile->hMutex); + + /* Since the names of named mutexes, semaphores, file mappings etc are + ** case-sensitive, take advantage of that by uppercasing the mutex name + ** and using that as the shared filemapping name. + */ + osCharUpperW(zName); + pFile->hShared = osCreateFileMappingW(INVALID_HANDLE_VALUE, NULL, + PAGE_READWRITE, 0, sizeof(winceLock), + zName); + + /* Set a flag that indicates we're the first to create the memory so it + ** must be zero-initialized */ + lastErrno = osGetLastError(); + if (lastErrno == ERROR_ALREADY_EXISTS){ + bInit = FALSE; + } + + sqlite3_free(zName); + + /* If we succeeded in making the shared memory handle, map it. */ + if( pFile->hShared ){ + pFile->shared = (winceLock*)osMapViewOfFile(pFile->hShared, + FILE_MAP_READ|FILE_MAP_WRITE, 0, 0, sizeof(winceLock)); + /* If mapping failed, close the shared memory handle and erase it */ + if( !pFile->shared ){ + pFile->lastErrno = osGetLastError(); + winLogError(SQLITE_IOERR, pFile->lastErrno, + "winceCreateLock2", zFilename); + bLogged = TRUE; + osCloseHandle(pFile->hShared); + pFile->hShared = NULL; + } + } + + /* If shared memory could not be created, then close the mutex and fail */ + if( pFile->hShared==NULL ){ + if( !bLogged ){ + pFile->lastErrno = lastErrno; + winLogError(SQLITE_IOERR, pFile->lastErrno, + "winceCreateLock3", zFilename); + bLogged = TRUE; + } + winceMutexRelease(pFile->hMutex); + osCloseHandle(pFile->hMutex); + pFile->hMutex = NULL; + return SQLITE_IOERR; + } + + /* Initialize the shared memory if we're supposed to */ + if( bInit ){ + memset(pFile->shared, 0, sizeof(winceLock)); + } + + winceMutexRelease(pFile->hMutex); + return SQLITE_OK; +} + +/* +** Destroy the part of winFile that deals with wince locks +*/ +static void winceDestroyLock(winFile *pFile){ + if (pFile->hMutex){ + /* Acquire the mutex */ + winceMutexAcquire(pFile->hMutex); + + /* The following blocks should probably assert in debug mode, but they + are to cleanup in case any locks remained open */ + if (pFile->local.nReaders){ + pFile->shared->nReaders --; + } + if (pFile->local.bReserved){ + pFile->shared->bReserved = FALSE; + } + if (pFile->local.bPending){ + pFile->shared->bPending = FALSE; + } + if (pFile->local.bExclusive){ + pFile->shared->bExclusive = FALSE; + } + + /* De-reference and close our copy of the shared memory handle */ + osUnmapViewOfFile(pFile->shared); + osCloseHandle(pFile->hShared); + + /* Done with the mutex */ + winceMutexRelease(pFile->hMutex); + osCloseHandle(pFile->hMutex); + pFile->hMutex = NULL; + } +} + +/* +** An implementation of the LockFile() API of Windows for CE +*/ +static BOOL winceLockFile( + LPHANDLE phFile, + DWORD dwFileOffsetLow, + DWORD dwFileOffsetHigh, + DWORD nNumberOfBytesToLockLow, + DWORD nNumberOfBytesToLockHigh +){ + winFile *pFile = HANDLE_TO_WINFILE(phFile); + BOOL bReturn = FALSE; + + UNUSED_PARAMETER(dwFileOffsetHigh); + UNUSED_PARAMETER(nNumberOfBytesToLockHigh); + + if (!pFile->hMutex) return TRUE; + winceMutexAcquire(pFile->hMutex); + + /* Wanting an exclusive lock? */ + if (dwFileOffsetLow == (DWORD)SHARED_FIRST + && nNumberOfBytesToLockLow == (DWORD)SHARED_SIZE){ + if (pFile->shared->nReaders == 0 && pFile->shared->bExclusive == 0){ + pFile->shared->bExclusive = TRUE; + pFile->local.bExclusive = TRUE; + bReturn = TRUE; + } + } + + /* Want a read-only lock? */ + else if (dwFileOffsetLow == (DWORD)SHARED_FIRST && + nNumberOfBytesToLockLow == 1){ + if (pFile->shared->bExclusive == 0){ + pFile->local.nReaders ++; + if (pFile->local.nReaders == 1){ + pFile->shared->nReaders ++; + } + bReturn = TRUE; + } + } + + /* Want a pending lock? */ + else if (dwFileOffsetLow == (DWORD)PENDING_BYTE + && nNumberOfBytesToLockLow == 1){ + /* If no pending lock has been acquired, then acquire it */ + if (pFile->shared->bPending == 0) { + pFile->shared->bPending = TRUE; + pFile->local.bPending = TRUE; + bReturn = TRUE; + } + } + + /* Want a reserved lock? */ + else if (dwFileOffsetLow == (DWORD)RESERVED_BYTE + && nNumberOfBytesToLockLow == 1){ + if (pFile->shared->bReserved == 0) { + pFile->shared->bReserved = TRUE; + pFile->local.bReserved = TRUE; + bReturn = TRUE; + } + } + + winceMutexRelease(pFile->hMutex); + return bReturn; +} + +/* +** An implementation of the UnlockFile API of Windows for CE +*/ +static BOOL winceUnlockFile( + LPHANDLE phFile, + DWORD dwFileOffsetLow, + DWORD dwFileOffsetHigh, + DWORD nNumberOfBytesToUnlockLow, + DWORD nNumberOfBytesToUnlockHigh +){ + winFile *pFile = HANDLE_TO_WINFILE(phFile); + BOOL bReturn = FALSE; + + UNUSED_PARAMETER(dwFileOffsetHigh); + UNUSED_PARAMETER(nNumberOfBytesToUnlockHigh); + + if (!pFile->hMutex) return TRUE; + winceMutexAcquire(pFile->hMutex); + + /* Releasing a reader lock or an exclusive lock */ + if (dwFileOffsetLow == (DWORD)SHARED_FIRST){ + /* Did we have an exclusive lock? */ + if (pFile->local.bExclusive){ + assert(nNumberOfBytesToUnlockLow == (DWORD)SHARED_SIZE); + pFile->local.bExclusive = FALSE; + pFile->shared->bExclusive = FALSE; + bReturn = TRUE; + } + + /* Did we just have a reader lock? */ + else if (pFile->local.nReaders){ + assert(nNumberOfBytesToUnlockLow == (DWORD)SHARED_SIZE + || nNumberOfBytesToUnlockLow == 1); + pFile->local.nReaders --; + if (pFile->local.nReaders == 0) + { + pFile->shared->nReaders --; + } + bReturn = TRUE; + } + } + + /* Releasing a pending lock */ + else if (dwFileOffsetLow == (DWORD)PENDING_BYTE + && nNumberOfBytesToUnlockLow == 1){ + if (pFile->local.bPending){ + pFile->local.bPending = FALSE; + pFile->shared->bPending = FALSE; + bReturn = TRUE; + } + } + /* Releasing a reserved lock */ + else if (dwFileOffsetLow == (DWORD)RESERVED_BYTE + && nNumberOfBytesToUnlockLow == 1){ + if (pFile->local.bReserved) { + pFile->local.bReserved = FALSE; + pFile->shared->bReserved = FALSE; + bReturn = TRUE; + } + } + + winceMutexRelease(pFile->hMutex); + return bReturn; +} +/* +** End of the special code for wince +*****************************************************************************/ +#endif /* SQLITE_OS_WINCE */ + +/* +** Lock a file region. +*/ +static BOOL winLockFile( + LPHANDLE phFile, + DWORD flags, + DWORD offsetLow, + DWORD offsetHigh, + DWORD numBytesLow, + DWORD numBytesHigh +){ +#if SQLITE_OS_WINCE + /* + ** NOTE: Windows CE is handled differently here due its lack of the Win32 + ** API LockFile. + */ + return winceLockFile(phFile, offsetLow, offsetHigh, + numBytesLow, numBytesHigh); +#else + if( osIsNT() ){ + OVERLAPPED ovlp; + memset(&ovlp, 0, sizeof(OVERLAPPED)); + ovlp.Offset = offsetLow; + ovlp.OffsetHigh = offsetHigh; + return osLockFileEx(*phFile, flags, 0, numBytesLow, numBytesHigh, &ovlp); + }else{ + return osLockFile(*phFile, offsetLow, offsetHigh, numBytesLow, + numBytesHigh); + } +#endif +} + +/* +** Unlock a file region. + */ +static BOOL winUnlockFile( + LPHANDLE phFile, + DWORD offsetLow, + DWORD offsetHigh, + DWORD numBytesLow, + DWORD numBytesHigh +){ +#if SQLITE_OS_WINCE + /* + ** NOTE: Windows CE is handled differently here due its lack of the Win32 + ** API UnlockFile. + */ + return winceUnlockFile(phFile, offsetLow, offsetHigh, + numBytesLow, numBytesHigh); +#else + if( osIsNT() ){ + OVERLAPPED ovlp; + memset(&ovlp, 0, sizeof(OVERLAPPED)); + ovlp.Offset = offsetLow; + ovlp.OffsetHigh = offsetHigh; + return osUnlockFileEx(*phFile, 0, numBytesLow, numBytesHigh, &ovlp); + }else{ + return osUnlockFile(*phFile, offsetLow, offsetHigh, numBytesLow, + numBytesHigh); + } +#endif +} + +/***************************************************************************** +** The next group of routines implement the I/O methods specified +** by the sqlite3_io_methods object. +******************************************************************************/ + +/* +** Some Microsoft compilers lack this definition. +*/ +#ifndef INVALID_SET_FILE_POINTER +# define INVALID_SET_FILE_POINTER ((DWORD)-1) +#endif + +/* +** Move the current position of the file handle passed as the first +** argument to offset iOffset within the file. If successful, return 0. +** Otherwise, set pFile->lastErrno and return non-zero. +*/ +static int winSeekFile(winFile *pFile, sqlite3_int64 iOffset){ +#if !SQLITE_OS_WINRT + LONG upperBits; /* Most sig. 32 bits of new offset */ + LONG lowerBits; /* Least sig. 32 bits of new offset */ + DWORD dwRet; /* Value returned by SetFilePointer() */ + DWORD lastErrno; /* Value returned by GetLastError() */ + + OSTRACE(("SEEK file=%p, offset=%lld\n", pFile->h, iOffset)); + + upperBits = (LONG)((iOffset>>32) & 0x7fffffff); + lowerBits = (LONG)(iOffset & 0xffffffff); + + /* API oddity: If successful, SetFilePointer() returns a dword + ** containing the lower 32-bits of the new file-offset. Or, if it fails, + ** it returns INVALID_SET_FILE_POINTER. However according to MSDN, + ** INVALID_SET_FILE_POINTER may also be a valid new offset. So to determine + ** whether an error has actually occurred, it is also necessary to call + ** GetLastError(). + */ + dwRet = osSetFilePointer(pFile->h, lowerBits, &upperBits, FILE_BEGIN); + + if( (dwRet==INVALID_SET_FILE_POINTER + && ((lastErrno = osGetLastError())!=NO_ERROR)) ){ + pFile->lastErrno = lastErrno; + winLogError(SQLITE_IOERR_SEEK, pFile->lastErrno, + "winSeekFile", pFile->zPath); + OSTRACE(("SEEK file=%p, rc=SQLITE_IOERR_SEEK\n", pFile->h)); + return 1; + } + + OSTRACE(("SEEK file=%p, rc=SQLITE_OK\n", pFile->h)); + return 0; +#else + /* + ** Same as above, except that this implementation works for WinRT. + */ + + LARGE_INTEGER x; /* The new offset */ + BOOL bRet; /* Value returned by SetFilePointerEx() */ + + x.QuadPart = iOffset; + bRet = osSetFilePointerEx(pFile->h, x, 0, FILE_BEGIN); + + if(!bRet){ + pFile->lastErrno = osGetLastError(); + winLogError(SQLITE_IOERR_SEEK, pFile->lastErrno, + "winSeekFile", pFile->zPath); + OSTRACE(("SEEK file=%p, rc=SQLITE_IOERR_SEEK\n", pFile->h)); + return 1; + } + + OSTRACE(("SEEK file=%p, rc=SQLITE_OK\n", pFile->h)); + return 0; +#endif +} + +#if SQLITE_MAX_MMAP_SIZE>0 +/* Forward references to VFS helper methods used for memory mapped files */ +static int winMapfile(winFile*, sqlite3_int64); +static int winUnmapfile(winFile*); +#endif + +/* +** Close a file. +** +** It is reported that an attempt to close a handle might sometimes +** fail. This is a very unreasonable result, but Windows is notorious +** for being unreasonable so I do not doubt that it might happen. If +** the close fails, we pause for 100 milliseconds and try again. As +** many as MX_CLOSE_ATTEMPT attempts to close the handle are made before +** giving up and returning an error. +*/ +#define MX_CLOSE_ATTEMPT 3 +static int winClose(sqlite3_file *id){ + int rc, cnt = 0; + winFile *pFile = (winFile*)id; + + assert( id!=0 ); +#ifndef SQLITE_OMIT_WAL + assert( pFile->pShm==0 ); +#endif + assert( pFile->h!=NULL && pFile->h!=INVALID_HANDLE_VALUE ); + OSTRACE(("CLOSE pid=%lu, pFile=%p, file=%p\n", + osGetCurrentProcessId(), pFile, pFile->h)); + +#if SQLITE_MAX_MMAP_SIZE>0 + winUnmapfile(pFile); +#endif + + do{ + rc = osCloseHandle(pFile->h); + /* SimulateIOError( rc=0; cnt=MX_CLOSE_ATTEMPT; ); */ + }while( rc==0 && ++cnt < MX_CLOSE_ATTEMPT && (sqlite3_win32_sleep(100), 1) ); +#if SQLITE_OS_WINCE +#define WINCE_DELETION_ATTEMPTS 3 + { + winVfsAppData *pAppData = (winVfsAppData*)pFile->pVfs->pAppData; + if( pAppData==NULL || !pAppData->bNoLock ){ + winceDestroyLock(pFile); + } + } + if( pFile->zDeleteOnClose ){ + int cnt = 0; + while( + osDeleteFileW(pFile->zDeleteOnClose)==0 + && osGetFileAttributesW(pFile->zDeleteOnClose)!=0xffffffff + && cnt++ < WINCE_DELETION_ATTEMPTS + ){ + sqlite3_win32_sleep(100); /* Wait a little before trying again */ + } + sqlite3_free(pFile->zDeleteOnClose); + } +#endif + if( rc ){ + pFile->h = NULL; + } + OpenCounter(-1); + OSTRACE(("CLOSE pid=%lu, pFile=%p, file=%p, rc=%s\n", + osGetCurrentProcessId(), pFile, pFile->h, rc ? "ok" : "failed")); + return rc ? SQLITE_OK + : winLogError(SQLITE_IOERR_CLOSE, osGetLastError(), + "winClose", pFile->zPath); +} + +/* +** Read data from a file into a buffer. Return SQLITE_OK if all +** bytes were read successfully and SQLITE_IOERR if anything goes +** wrong. +*/ +static int winRead( + sqlite3_file *id, /* File to read from */ + void *pBuf, /* Write content into this buffer */ + int amt, /* Number of bytes to read */ + sqlite3_int64 offset /* Begin reading at this offset */ +){ +#if !SQLITE_OS_WINCE && !defined(SQLITE_WIN32_NO_OVERLAPPED) + OVERLAPPED overlapped; /* The offset for ReadFile. */ +#endif + winFile *pFile = (winFile*)id; /* file handle */ + DWORD nRead; /* Number of bytes actually read from file */ + int nRetry = 0; /* Number of retrys */ + + assert( id!=0 ); + assert( amt>0 ); + assert( offset>=0 ); + SimulateIOError(return SQLITE_IOERR_READ); + OSTRACE(("READ pid=%lu, pFile=%p, file=%p, buffer=%p, amount=%d, " + "offset=%lld, lock=%d\n", osGetCurrentProcessId(), pFile, + pFile->h, pBuf, amt, offset, pFile->locktype)); + +#if SQLITE_MAX_MMAP_SIZE>0 + /* Deal with as much of this read request as possible by transfering + ** data from the memory mapping using memcpy(). */ + if( offsetmmapSize ){ + if( offset+amt <= pFile->mmapSize ){ + memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt); + OSTRACE(("READ-MMAP pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n", + osGetCurrentProcessId(), pFile, pFile->h)); + return SQLITE_OK; + }else{ + int nCopy = (int)(pFile->mmapSize - offset); + memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy); + pBuf = &((u8 *)pBuf)[nCopy]; + amt -= nCopy; + offset += nCopy; + } + } +#endif + +#if SQLITE_OS_WINCE || defined(SQLITE_WIN32_NO_OVERLAPPED) + if( winSeekFile(pFile, offset) ){ + OSTRACE(("READ pid=%lu, pFile=%p, file=%p, rc=SQLITE_FULL\n", + osGetCurrentProcessId(), pFile, pFile->h)); + return SQLITE_FULL; + } + while( !osReadFile(pFile->h, pBuf, amt, &nRead, 0) ){ +#else + memset(&overlapped, 0, sizeof(OVERLAPPED)); + overlapped.Offset = (LONG)(offset & 0xffffffff); + overlapped.OffsetHigh = (LONG)((offset>>32) & 0x7fffffff); + while( !osReadFile(pFile->h, pBuf, amt, &nRead, &overlapped) && + osGetLastError()!=ERROR_HANDLE_EOF ){ +#endif + DWORD lastErrno; + if( winRetryIoerr(&nRetry, &lastErrno) ) continue; + pFile->lastErrno = lastErrno; + OSTRACE(("READ pid=%lu, pFile=%p, file=%p, rc=SQLITE_IOERR_READ\n", + osGetCurrentProcessId(), pFile, pFile->h)); + return winLogError(SQLITE_IOERR_READ, pFile->lastErrno, + "winRead", pFile->zPath); + } + winLogIoerr(nRetry, __LINE__); + if( nRead<(DWORD)amt ){ + /* Unread parts of the buffer must be zero-filled */ + memset(&((char*)pBuf)[nRead], 0, amt-nRead); + OSTRACE(("READ pid=%lu, pFile=%p, file=%p, rc=SQLITE_IOERR_SHORT_READ\n", + osGetCurrentProcessId(), pFile, pFile->h)); + return SQLITE_IOERR_SHORT_READ; + } + + OSTRACE(("READ pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n", + osGetCurrentProcessId(), pFile, pFile->h)); + return SQLITE_OK; +} + +/* +** Write data from a buffer into a file. Return SQLITE_OK on success +** or some other error code on failure. +*/ +static int winWrite( + sqlite3_file *id, /* File to write into */ + const void *pBuf, /* The bytes to be written */ + int amt, /* Number of bytes to write */ + sqlite3_int64 offset /* Offset into the file to begin writing at */ +){ + int rc = 0; /* True if error has occurred, else false */ + winFile *pFile = (winFile*)id; /* File handle */ + int nRetry = 0; /* Number of retries */ + + assert( amt>0 ); + assert( pFile ); + SimulateIOError(return SQLITE_IOERR_WRITE); + SimulateDiskfullError(return SQLITE_FULL); + + OSTRACE(("WRITE pid=%lu, pFile=%p, file=%p, buffer=%p, amount=%d, " + "offset=%lld, lock=%d\n", osGetCurrentProcessId(), pFile, + pFile->h, pBuf, amt, offset, pFile->locktype)); + +#if defined(SQLITE_MMAP_READWRITE) && SQLITE_MAX_MMAP_SIZE>0 + /* Deal with as much of this write request as possible by transfering + ** data from the memory mapping using memcpy(). */ + if( offsetmmapSize ){ + if( offset+amt <= pFile->mmapSize ){ + memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt); + OSTRACE(("WRITE-MMAP pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n", + osGetCurrentProcessId(), pFile, pFile->h)); + return SQLITE_OK; + }else{ + int nCopy = (int)(pFile->mmapSize - offset); + memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy); + pBuf = &((u8 *)pBuf)[nCopy]; + amt -= nCopy; + offset += nCopy; + } + } +#endif + +#if SQLITE_OS_WINCE || defined(SQLITE_WIN32_NO_OVERLAPPED) + rc = winSeekFile(pFile, offset); + if( rc==0 ){ +#else + { +#endif +#if !SQLITE_OS_WINCE && !defined(SQLITE_WIN32_NO_OVERLAPPED) + OVERLAPPED overlapped; /* The offset for WriteFile. */ +#endif + u8 *aRem = (u8 *)pBuf; /* Data yet to be written */ + int nRem = amt; /* Number of bytes yet to be written */ + DWORD nWrite; /* Bytes written by each WriteFile() call */ + DWORD lastErrno = NO_ERROR; /* Value returned by GetLastError() */ + +#if !SQLITE_OS_WINCE && !defined(SQLITE_WIN32_NO_OVERLAPPED) + memset(&overlapped, 0, sizeof(OVERLAPPED)); + overlapped.Offset = (LONG)(offset & 0xffffffff); + overlapped.OffsetHigh = (LONG)((offset>>32) & 0x7fffffff); +#endif + + while( nRem>0 ){ +#if SQLITE_OS_WINCE || defined(SQLITE_WIN32_NO_OVERLAPPED) + if( !osWriteFile(pFile->h, aRem, nRem, &nWrite, 0) ){ +#else + if( !osWriteFile(pFile->h, aRem, nRem, &nWrite, &overlapped) ){ +#endif + if( winRetryIoerr(&nRetry, &lastErrno) ) continue; + break; + } + assert( nWrite==0 || nWrite<=(DWORD)nRem ); + if( nWrite==0 || nWrite>(DWORD)nRem ){ + lastErrno = osGetLastError(); + break; + } +#if !SQLITE_OS_WINCE && !defined(SQLITE_WIN32_NO_OVERLAPPED) + offset += nWrite; + overlapped.Offset = (LONG)(offset & 0xffffffff); + overlapped.OffsetHigh = (LONG)((offset>>32) & 0x7fffffff); +#endif + aRem += nWrite; + nRem -= nWrite; + } + if( nRem>0 ){ + pFile->lastErrno = lastErrno; + rc = 1; + } + } + + if( rc ){ + if( ( pFile->lastErrno==ERROR_HANDLE_DISK_FULL ) + || ( pFile->lastErrno==ERROR_DISK_FULL )){ + OSTRACE(("WRITE pid=%lu, pFile=%p, file=%p, rc=SQLITE_FULL\n", + osGetCurrentProcessId(), pFile, pFile->h)); + return winLogError(SQLITE_FULL, pFile->lastErrno, + "winWrite1", pFile->zPath); + } + OSTRACE(("WRITE pid=%lu, pFile=%p, file=%p, rc=SQLITE_IOERR_WRITE\n", + osGetCurrentProcessId(), pFile, pFile->h)); + return winLogError(SQLITE_IOERR_WRITE, pFile->lastErrno, + "winWrite2", pFile->zPath); + }else{ + winLogIoerr(nRetry, __LINE__); + } + OSTRACE(("WRITE pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n", + osGetCurrentProcessId(), pFile, pFile->h)); + return SQLITE_OK; +} + +/* +** Truncate an open file to a specified size +*/ +static int winTruncate(sqlite3_file *id, sqlite3_int64 nByte){ + winFile *pFile = (winFile*)id; /* File handle object */ + int rc = SQLITE_OK; /* Return code for this function */ + DWORD lastErrno; +#if SQLITE_MAX_MMAP_SIZE>0 + sqlite3_int64 oldMmapSize; + if( pFile->nFetchOut>0 ){ + /* File truncation is a no-op if there are outstanding memory mapped + ** pages. This is because truncating the file means temporarily unmapping + ** the file, and that might delete memory out from under existing cursors. + ** + ** This can result in incremental vacuum not truncating the file, + ** if there is an active read cursor when the incremental vacuum occurs. + ** No real harm comes of this - the database file is not corrupted, + ** though some folks might complain that the file is bigger than it + ** needs to be. + ** + ** The only feasible work-around is to defer the truncation until after + ** all references to memory-mapped content are closed. That is doable, + ** but involves adding a few branches in the common write code path which + ** could slow down normal operations slightly. Hence, we have decided for + ** now to simply make trancations a no-op if there are pending reads. We + ** can maybe revisit this decision in the future. + */ + return SQLITE_OK; + } +#endif + + assert( pFile ); + SimulateIOError(return SQLITE_IOERR_TRUNCATE); + OSTRACE(("TRUNCATE pid=%lu, pFile=%p, file=%p, size=%lld, lock=%d\n", + osGetCurrentProcessId(), pFile, pFile->h, nByte, pFile->locktype)); + + /* If the user has configured a chunk-size for this file, truncate the + ** file so that it consists of an integer number of chunks (i.e. the + ** actual file size after the operation may be larger than the requested + ** size). + */ + if( pFile->szChunk>0 ){ + nByte = ((nByte + pFile->szChunk - 1)/pFile->szChunk) * pFile->szChunk; + } + +#if SQLITE_MAX_MMAP_SIZE>0 + if( pFile->pMapRegion ){ + oldMmapSize = pFile->mmapSize; + }else{ + oldMmapSize = 0; + } + winUnmapfile(pFile); +#endif + + /* SetEndOfFile() returns non-zero when successful, or zero when it fails. */ + if( winSeekFile(pFile, nByte) ){ + rc = winLogError(SQLITE_IOERR_TRUNCATE, pFile->lastErrno, + "winTruncate1", pFile->zPath); + }else if( 0==osSetEndOfFile(pFile->h) && + ((lastErrno = osGetLastError())!=ERROR_USER_MAPPED_FILE) ){ + pFile->lastErrno = lastErrno; + rc = winLogError(SQLITE_IOERR_TRUNCATE, pFile->lastErrno, + "winTruncate2", pFile->zPath); + } + +#if SQLITE_MAX_MMAP_SIZE>0 + if( rc==SQLITE_OK && oldMmapSize>0 ){ + if( oldMmapSize>nByte ){ + winMapfile(pFile, -1); + }else{ + winMapfile(pFile, oldMmapSize); + } + } +#endif + + OSTRACE(("TRUNCATE pid=%lu, pFile=%p, file=%p, rc=%s\n", + osGetCurrentProcessId(), pFile, pFile->h, sqlite3ErrName(rc))); + return rc; +} + +#ifdef SQLITE_TEST +/* +** Count the number of fullsyncs and normal syncs. This is used to test +** that syncs and fullsyncs are occuring at the right times. +*/ +SQLITE_API int sqlite3_sync_count = 0; +SQLITE_API int sqlite3_fullsync_count = 0; +#endif + +/* +** Make sure all writes to a particular file are committed to disk. +*/ +static int winSync(sqlite3_file *id, int flags){ +#ifndef SQLITE_NO_SYNC + /* + ** Used only when SQLITE_NO_SYNC is not defined. + */ + BOOL rc; +#endif +#if !defined(NDEBUG) || !defined(SQLITE_NO_SYNC) || \ + defined(SQLITE_HAVE_OS_TRACE) + /* + ** Used when SQLITE_NO_SYNC is not defined and by the assert() and/or + ** OSTRACE() macros. + */ + winFile *pFile = (winFile*)id; +#else + UNUSED_PARAMETER(id); +#endif + + assert( pFile ); + /* Check that one of SQLITE_SYNC_NORMAL or FULL was passed */ + assert((flags&0x0F)==SQLITE_SYNC_NORMAL + || (flags&0x0F)==SQLITE_SYNC_FULL + ); + + /* Unix cannot, but some systems may return SQLITE_FULL from here. This + ** line is to test that doing so does not cause any problems. + */ + SimulateDiskfullError( return SQLITE_FULL ); + + OSTRACE(("SYNC pid=%lu, pFile=%p, file=%p, flags=%x, lock=%d\n", + osGetCurrentProcessId(), pFile, pFile->h, flags, + pFile->locktype)); + +#ifndef SQLITE_TEST + UNUSED_PARAMETER(flags); +#else + if( (flags&0x0F)==SQLITE_SYNC_FULL ){ + sqlite3_fullsync_count++; + } + sqlite3_sync_count++; +#endif + + /* If we compiled with the SQLITE_NO_SYNC flag, then syncing is a + ** no-op + */ +#ifdef SQLITE_NO_SYNC + OSTRACE(("SYNC-NOP pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n", + osGetCurrentProcessId(), pFile, pFile->h)); + return SQLITE_OK; +#else +#if SQLITE_MAX_MMAP_SIZE>0 + if( pFile->pMapRegion ){ + if( osFlushViewOfFile(pFile->pMapRegion, 0) ){ + OSTRACE(("SYNC-MMAP pid=%lu, pFile=%p, pMapRegion=%p, " + "rc=SQLITE_OK\n", osGetCurrentProcessId(), + pFile, pFile->pMapRegion)); + }else{ + pFile->lastErrno = osGetLastError(); + OSTRACE(("SYNC-MMAP pid=%lu, pFile=%p, pMapRegion=%p, " + "rc=SQLITE_IOERR_MMAP\n", osGetCurrentProcessId(), + pFile, pFile->pMapRegion)); + return winLogError(SQLITE_IOERR_MMAP, pFile->lastErrno, + "winSync1", pFile->zPath); + } + } +#endif + rc = osFlushFileBuffers(pFile->h); + SimulateIOError( rc=FALSE ); + if( rc ){ + OSTRACE(("SYNC pid=%lu, pFile=%p, file=%p, rc=SQLITE_OK\n", + osGetCurrentProcessId(), pFile, pFile->h)); + return SQLITE_OK; + }else{ + pFile->lastErrno = osGetLastError(); + OSTRACE(("SYNC pid=%lu, pFile=%p, file=%p, rc=SQLITE_IOERR_FSYNC\n", + osGetCurrentProcessId(), pFile, pFile->h)); + return winLogError(SQLITE_IOERR_FSYNC, pFile->lastErrno, + "winSync2", pFile->zPath); + } +#endif +} + +/* +** Determine the current size of a file in bytes +*/ +static int winFileSize(sqlite3_file *id, sqlite3_int64 *pSize){ + winFile *pFile = (winFile*)id; + int rc = SQLITE_OK; + + assert( id!=0 ); + assert( pSize!=0 ); + SimulateIOError(return SQLITE_IOERR_FSTAT); + OSTRACE(("SIZE file=%p, pSize=%p\n", pFile->h, pSize)); + +#if SQLITE_OS_WINRT + { + FILE_STANDARD_INFO info; + if( osGetFileInformationByHandleEx(pFile->h, FileStandardInfo, + &info, sizeof(info)) ){ + *pSize = info.EndOfFile.QuadPart; + }else{ + pFile->lastErrno = osGetLastError(); + rc = winLogError(SQLITE_IOERR_FSTAT, pFile->lastErrno, + "winFileSize", pFile->zPath); + } + } +#else + { + DWORD upperBits; + DWORD lowerBits; + DWORD lastErrno; + + lowerBits = osGetFileSize(pFile->h, &upperBits); + *pSize = (((sqlite3_int64)upperBits)<<32) + lowerBits; + if( (lowerBits == INVALID_FILE_SIZE) + && ((lastErrno = osGetLastError())!=NO_ERROR) ){ + pFile->lastErrno = lastErrno; + rc = winLogError(SQLITE_IOERR_FSTAT, pFile->lastErrno, + "winFileSize", pFile->zPath); + } + } +#endif + OSTRACE(("SIZE file=%p, pSize=%p, *pSize=%lld, rc=%s\n", + pFile->h, pSize, *pSize, sqlite3ErrName(rc))); + return rc; +} + +/* +** LOCKFILE_FAIL_IMMEDIATELY is undefined on some Windows systems. +*/ +#ifndef LOCKFILE_FAIL_IMMEDIATELY +# define LOCKFILE_FAIL_IMMEDIATELY 1 +#endif + +#ifndef LOCKFILE_EXCLUSIVE_LOCK +# define LOCKFILE_EXCLUSIVE_LOCK 2 +#endif + +/* +** Historically, SQLite has used both the LockFile and LockFileEx functions. +** When the LockFile function was used, it was always expected to fail +** immediately if the lock could not be obtained. Also, it always expected to +** obtain an exclusive lock. These flags are used with the LockFileEx function +** and reflect those expectations; therefore, they should not be changed. +*/ +#ifndef SQLITE_LOCKFILE_FLAGS +# define SQLITE_LOCKFILE_FLAGS (LOCKFILE_FAIL_IMMEDIATELY | \ + LOCKFILE_EXCLUSIVE_LOCK) +#endif + +/* +** Currently, SQLite never calls the LockFileEx function without wanting the +** call to fail immediately if the lock cannot be obtained. +*/ +#ifndef SQLITE_LOCKFILEEX_FLAGS +# define SQLITE_LOCKFILEEX_FLAGS (LOCKFILE_FAIL_IMMEDIATELY) +#endif + +/* +** Acquire a reader lock. +** Different API routines are called depending on whether or not this +** is Win9x or WinNT. +*/ +static int winGetReadLock(winFile *pFile){ + int res; + OSTRACE(("READ-LOCK file=%p, lock=%d\n", pFile->h, pFile->locktype)); + if( osIsNT() ){ +#if SQLITE_OS_WINCE + /* + ** NOTE: Windows CE is handled differently here due its lack of the Win32 + ** API LockFileEx. + */ + res = winceLockFile(&pFile->h, SHARED_FIRST, 0, 1, 0); +#else + res = winLockFile(&pFile->h, SQLITE_LOCKFILEEX_FLAGS, SHARED_FIRST, 0, + SHARED_SIZE, 0); +#endif + } +#ifdef SQLITE_WIN32_HAS_ANSI + else{ + int lk; + sqlite3_randomness(sizeof(lk), &lk); + pFile->sharedLockByte = (short)((lk & 0x7fffffff)%(SHARED_SIZE - 1)); + res = winLockFile(&pFile->h, SQLITE_LOCKFILE_FLAGS, + SHARED_FIRST+pFile->sharedLockByte, 0, 1, 0); + } +#endif + if( res == 0 ){ + pFile->lastErrno = osGetLastError(); + /* No need to log a failure to lock */ + } + OSTRACE(("READ-LOCK file=%p, result=%d\n", pFile->h, res)); + return res; +} + +/* +** Undo a readlock +*/ +static int winUnlockReadLock(winFile *pFile){ + int res; + DWORD lastErrno; + OSTRACE(("READ-UNLOCK file=%p, lock=%d\n", pFile->h, pFile->locktype)); + if( osIsNT() ){ + res = winUnlockFile(&pFile->h, SHARED_FIRST, 0, SHARED_SIZE, 0); + } +#ifdef SQLITE_WIN32_HAS_ANSI + else{ + res = winUnlockFile(&pFile->h, SHARED_FIRST+pFile->sharedLockByte, 0, 1, 0); + } +#endif + if( res==0 && ((lastErrno = osGetLastError())!=ERROR_NOT_LOCKED) ){ + pFile->lastErrno = lastErrno; + winLogError(SQLITE_IOERR_UNLOCK, pFile->lastErrno, + "winUnlockReadLock", pFile->zPath); + } + OSTRACE(("READ-UNLOCK file=%p, result=%d\n", pFile->h, res)); + return res; +} + +/* +** Lock the file with the lock specified by parameter locktype - one +** of the following: +** +** (1) SHARED_LOCK +** (2) RESERVED_LOCK +** (3) PENDING_LOCK +** (4) EXCLUSIVE_LOCK +** +** Sometimes when requesting one lock state, additional lock states +** are inserted in between. The locking might fail on one of the later +** transitions leaving the lock state different from what it started but +** still short of its goal. The following chart shows the allowed +** transitions and the inserted intermediate states: +** +** UNLOCKED -> SHARED +** SHARED -> RESERVED +** SHARED -> (PENDING) -> EXCLUSIVE +** RESERVED -> (PENDING) -> EXCLUSIVE +** PENDING -> EXCLUSIVE +** +** This routine will only increase a lock. The winUnlock() routine +** erases all locks at once and returns us immediately to locking level 0. +** It is not possible to lower the locking level one step at a time. You +** must go straight to locking level 0. +*/ +static int winLock(sqlite3_file *id, int locktype){ + int rc = SQLITE_OK; /* Return code from subroutines */ + int res = 1; /* Result of a Windows lock call */ + int newLocktype; /* Set pFile->locktype to this value before exiting */ + int gotPendingLock = 0;/* True if we acquired a PENDING lock this time */ + winFile *pFile = (winFile*)id; + DWORD lastErrno = NO_ERROR; + + assert( id!=0 ); + OSTRACE(("LOCK file=%p, oldLock=%d(%d), newLock=%d\n", + pFile->h, pFile->locktype, pFile->sharedLockByte, locktype)); + + /* If there is already a lock of this type or more restrictive on the + ** OsFile, do nothing. Don't use the end_lock: exit path, as + ** sqlite3OsEnterMutex() hasn't been called yet. + */ + if( pFile->locktype>=locktype ){ + OSTRACE(("LOCK-HELD file=%p, rc=SQLITE_OK\n", pFile->h)); + return SQLITE_OK; + } + + /* Do not allow any kind of write-lock on a read-only database + */ + if( (pFile->ctrlFlags & WINFILE_RDONLY)!=0 && locktype>=RESERVED_LOCK ){ + return SQLITE_IOERR_LOCK; + } + + /* Make sure the locking sequence is correct + */ + assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK ); + assert( locktype!=PENDING_LOCK ); + assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK ); + + /* Lock the PENDING_LOCK byte if we need to acquire a PENDING lock or + ** a SHARED lock. If we are acquiring a SHARED lock, the acquisition of + ** the PENDING_LOCK byte is temporary. + */ + newLocktype = pFile->locktype; + if( pFile->locktype==NO_LOCK + || (locktype==EXCLUSIVE_LOCK && pFile->locktype<=RESERVED_LOCK) + ){ + int cnt = 3; + while( cnt-->0 && (res = winLockFile(&pFile->h, SQLITE_LOCKFILE_FLAGS, + PENDING_BYTE, 0, 1, 0))==0 ){ + /* Try 3 times to get the pending lock. This is needed to work + ** around problems caused by indexing and/or anti-virus software on + ** Windows systems. + ** If you are using this code as a model for alternative VFSes, do not + ** copy this retry logic. It is a hack intended for Windows only. + */ + lastErrno = osGetLastError(); + OSTRACE(("LOCK-PENDING-FAIL file=%p, count=%d, result=%d\n", + pFile->h, cnt, res)); + if( lastErrno==ERROR_INVALID_HANDLE ){ + pFile->lastErrno = lastErrno; + rc = SQLITE_IOERR_LOCK; + OSTRACE(("LOCK-FAIL file=%p, count=%d, rc=%s\n", + pFile->h, cnt, sqlite3ErrName(rc))); + return rc; + } + if( cnt ) sqlite3_win32_sleep(1); + } + gotPendingLock = res; + if( !res ){ + lastErrno = osGetLastError(); + } + } + + /* Acquire a shared lock + */ + if( locktype==SHARED_LOCK && res ){ + assert( pFile->locktype==NO_LOCK ); + res = winGetReadLock(pFile); + if( res ){ + newLocktype = SHARED_LOCK; + }else{ + lastErrno = osGetLastError(); + } + } + + /* Acquire a RESERVED lock + */ + if( locktype==RESERVED_LOCK && res ){ + assert( pFile->locktype==SHARED_LOCK ); + res = winLockFile(&pFile->h, SQLITE_LOCKFILE_FLAGS, RESERVED_BYTE, 0, 1, 0); + if( res ){ + newLocktype = RESERVED_LOCK; + }else{ + lastErrno = osGetLastError(); + } + } + + /* Acquire a PENDING lock + */ + if( locktype==EXCLUSIVE_LOCK && res ){ + newLocktype = PENDING_LOCK; + gotPendingLock = 0; + } + + /* Acquire an EXCLUSIVE lock + */ + if( locktype==EXCLUSIVE_LOCK && res ){ + assert( pFile->locktype>=SHARED_LOCK ); + res = winUnlockReadLock(pFile); + res = winLockFile(&pFile->h, SQLITE_LOCKFILE_FLAGS, SHARED_FIRST, 0, + SHARED_SIZE, 0); + if( res ){ + newLocktype = EXCLUSIVE_LOCK; + }else{ + lastErrno = osGetLastError(); + winGetReadLock(pFile); + } + } + + /* If we are holding a PENDING lock that ought to be released, then + ** release it now. + */ + if( gotPendingLock && locktype==SHARED_LOCK ){ + winUnlockFile(&pFile->h, PENDING_BYTE, 0, 1, 0); + } + + /* Update the state of the lock has held in the file descriptor then + ** return the appropriate result code. + */ + if( res ){ + rc = SQLITE_OK; + }else{ + pFile->lastErrno = lastErrno; + rc = SQLITE_BUSY; + OSTRACE(("LOCK-FAIL file=%p, wanted=%d, got=%d\n", + pFile->h, locktype, newLocktype)); + } + pFile->locktype = (u8)newLocktype; + OSTRACE(("LOCK file=%p, lock=%d, rc=%s\n", + pFile->h, pFile->locktype, sqlite3ErrName(rc))); + return rc; +} + +/* +** This routine checks if there is a RESERVED lock held on the specified +** file by this or any other process. If such a lock is held, return +** non-zero, otherwise zero. +*/ +static int winCheckReservedLock(sqlite3_file *id, int *pResOut){ + int res; + winFile *pFile = (winFile*)id; + + SimulateIOError( return SQLITE_IOERR_CHECKRESERVEDLOCK; ); + OSTRACE(("TEST-WR-LOCK file=%p, pResOut=%p\n", pFile->h, pResOut)); + + assert( id!=0 ); + if( pFile->locktype>=RESERVED_LOCK ){ + res = 1; + OSTRACE(("TEST-WR-LOCK file=%p, result=%d (local)\n", pFile->h, res)); + }else{ + res = winLockFile(&pFile->h, SQLITE_LOCKFILEEX_FLAGS,RESERVED_BYTE,0,1,0); + if( res ){ + winUnlockFile(&pFile->h, RESERVED_BYTE, 0, 1, 0); + } + res = !res; + OSTRACE(("TEST-WR-LOCK file=%p, result=%d (remote)\n", pFile->h, res)); + } + *pResOut = res; + OSTRACE(("TEST-WR-LOCK file=%p, pResOut=%p, *pResOut=%d, rc=SQLITE_OK\n", + pFile->h, pResOut, *pResOut)); + return SQLITE_OK; +} + +/* +** Lower the locking level on file descriptor id to locktype. locktype +** must be either NO_LOCK or SHARED_LOCK. +** +** If the locking level of the file descriptor is already at or below +** the requested locking level, this routine is a no-op. +** +** It is not possible for this routine to fail if the second argument +** is NO_LOCK. If the second argument is SHARED_LOCK then this routine +** might return SQLITE_IOERR; +*/ +static int winUnlock(sqlite3_file *id, int locktype){ + int type; + winFile *pFile = (winFile*)id; + int rc = SQLITE_OK; + assert( pFile!=0 ); + assert( locktype<=SHARED_LOCK ); + OSTRACE(("UNLOCK file=%p, oldLock=%d(%d), newLock=%d\n", + pFile->h, pFile->locktype, pFile->sharedLockByte, locktype)); + type = pFile->locktype; + if( type>=EXCLUSIVE_LOCK ){ + winUnlockFile(&pFile->h, SHARED_FIRST, 0, SHARED_SIZE, 0); + if( locktype==SHARED_LOCK && !winGetReadLock(pFile) ){ + /* This should never happen. We should always be able to + ** reacquire the read lock */ + rc = winLogError(SQLITE_IOERR_UNLOCK, osGetLastError(), + "winUnlock", pFile->zPath); + } + } + if( type>=RESERVED_LOCK ){ + winUnlockFile(&pFile->h, RESERVED_BYTE, 0, 1, 0); + } + if( locktype==NO_LOCK && type>=SHARED_LOCK ){ + winUnlockReadLock(pFile); + } + if( type>=PENDING_LOCK ){ + winUnlockFile(&pFile->h, PENDING_BYTE, 0, 1, 0); + } + pFile->locktype = (u8)locktype; + OSTRACE(("UNLOCK file=%p, lock=%d, rc=%s\n", + pFile->h, pFile->locktype, sqlite3ErrName(rc))); + return rc; +} + +/****************************************************************************** +****************************** No-op Locking ********************************** +** +** Of the various locking implementations available, this is by far the +** simplest: locking is ignored. No attempt is made to lock the database +** file for reading or writing. +** +** This locking mode is appropriate for use on read-only databases +** (ex: databases that are burned into CD-ROM, for example.) It can +** also be used if the application employs some external mechanism to +** prevent simultaneous access of the same database by two or more +** database connections. But there is a serious risk of database +** corruption if this locking mode is used in situations where multiple +** database connections are accessing the same database file at the same +** time and one or more of those connections are writing. +*/ + +static int winNolockLock(sqlite3_file *id, int locktype){ + UNUSED_PARAMETER(id); + UNUSED_PARAMETER(locktype); + return SQLITE_OK; +} + +static int winNolockCheckReservedLock(sqlite3_file *id, int *pResOut){ + UNUSED_PARAMETER(id); + UNUSED_PARAMETER(pResOut); + return SQLITE_OK; +} + +static int winNolockUnlock(sqlite3_file *id, int locktype){ + UNUSED_PARAMETER(id); + UNUSED_PARAMETER(locktype); + return SQLITE_OK; +} + +/******************* End of the no-op lock implementation ********************* +******************************************************************************/ + +/* +** If *pArg is initially negative then this is a query. Set *pArg to +** 1 or 0 depending on whether or not bit mask of pFile->ctrlFlags is set. +** +** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags. +*/ +static void winModeBit(winFile *pFile, unsigned char mask, int *pArg){ + if( *pArg<0 ){ + *pArg = (pFile->ctrlFlags & mask)!=0; + }else if( (*pArg)==0 ){ + pFile->ctrlFlags &= ~mask; + }else{ + pFile->ctrlFlags |= mask; + } +} + +/* Forward references to VFS helper methods used for temporary files */ +static int winGetTempname(sqlite3_vfs *, char **); +static int winIsDir(const void *); +static BOOL winIsDriveLetterAndColon(const char *); + +/* +** Control and query of the open file handle. +*/ +static int winFileControl(sqlite3_file *id, int op, void *pArg){ + winFile *pFile = (winFile*)id; + OSTRACE(("FCNTL file=%p, op=%d, pArg=%p\n", pFile->h, op, pArg)); + switch( op ){ + case SQLITE_FCNTL_LOCKSTATE: { + *(int*)pArg = pFile->locktype; + OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h)); + return SQLITE_OK; + } + case SQLITE_FCNTL_LAST_ERRNO: { + *(int*)pArg = (int)pFile->lastErrno; + OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h)); + return SQLITE_OK; + } + case SQLITE_FCNTL_CHUNK_SIZE: { + pFile->szChunk = *(int *)pArg; + OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h)); + return SQLITE_OK; + } + case SQLITE_FCNTL_SIZE_HINT: { + if( pFile->szChunk>0 ){ + sqlite3_int64 oldSz; + int rc = winFileSize(id, &oldSz); + if( rc==SQLITE_OK ){ + sqlite3_int64 newSz = *(sqlite3_int64*)pArg; + if( newSz>oldSz ){ + SimulateIOErrorBenign(1); + rc = winTruncate(id, newSz); + SimulateIOErrorBenign(0); + } + } + OSTRACE(("FCNTL file=%p, rc=%s\n", pFile->h, sqlite3ErrName(rc))); + return rc; + } + OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h)); + return SQLITE_OK; + } + case SQLITE_FCNTL_PERSIST_WAL: { + winModeBit(pFile, WINFILE_PERSIST_WAL, (int*)pArg); + OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h)); + return SQLITE_OK; + } + case SQLITE_FCNTL_POWERSAFE_OVERWRITE: { + winModeBit(pFile, WINFILE_PSOW, (int*)pArg); + OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h)); + return SQLITE_OK; + } + case SQLITE_FCNTL_VFSNAME: { + *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName); + OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h)); + return SQLITE_OK; + } + case SQLITE_FCNTL_WIN32_AV_RETRY: { + int *a = (int*)pArg; + if( a[0]>0 ){ + winIoerrRetry = a[0]; + }else{ + a[0] = winIoerrRetry; + } + if( a[1]>0 ){ + winIoerrRetryDelay = a[1]; + }else{ + a[1] = winIoerrRetryDelay; + } + OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h)); + return SQLITE_OK; + } + case SQLITE_FCNTL_WIN32_GET_HANDLE: { + LPHANDLE phFile = (LPHANDLE)pArg; + *phFile = pFile->h; + OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h)); + return SQLITE_OK; + } +#ifdef SQLITE_TEST + case SQLITE_FCNTL_WIN32_SET_HANDLE: { + LPHANDLE phFile = (LPHANDLE)pArg; + HANDLE hOldFile = pFile->h; + pFile->h = *phFile; + *phFile = hOldFile; + OSTRACE(("FCNTL oldFile=%p, newFile=%p, rc=SQLITE_OK\n", + hOldFile, pFile->h)); + return SQLITE_OK; + } +#endif + case SQLITE_FCNTL_TEMPFILENAME: { + char *zTFile = 0; + int rc = winGetTempname(pFile->pVfs, &zTFile); + if( rc==SQLITE_OK ){ + *(char**)pArg = zTFile; + } + OSTRACE(("FCNTL file=%p, rc=%s\n", pFile->h, sqlite3ErrName(rc))); + return rc; + } +#if SQLITE_MAX_MMAP_SIZE>0 + case SQLITE_FCNTL_MMAP_SIZE: { + i64 newLimit = *(i64*)pArg; + int rc = SQLITE_OK; + if( newLimit>sqlite3GlobalConfig.mxMmap ){ + newLimit = sqlite3GlobalConfig.mxMmap; + } + + /* The value of newLimit may be eventually cast to (SIZE_T) and passed + ** to MapViewOfFile(). Restrict its value to 2GB if (SIZE_T) is not at + ** least a 64-bit type. */ + if( newLimit>0 && sizeof(SIZE_T)<8 ){ + newLimit = (newLimit & 0x7FFFFFFF); + } + + *(i64*)pArg = pFile->mmapSizeMax; + if( newLimit>=0 && newLimit!=pFile->mmapSizeMax && pFile->nFetchOut==0 ){ + pFile->mmapSizeMax = newLimit; + if( pFile->mmapSize>0 ){ + winUnmapfile(pFile); + rc = winMapfile(pFile, -1); + } + } + OSTRACE(("FCNTL file=%p, rc=%s\n", pFile->h, sqlite3ErrName(rc))); + return rc; + } +#endif + } + OSTRACE(("FCNTL file=%p, rc=SQLITE_NOTFOUND\n", pFile->h)); + return SQLITE_NOTFOUND; +} + +/* +** Return the sector size in bytes of the underlying block device for +** the specified file. This is almost always 512 bytes, but may be +** larger for some devices. +** +** SQLite code assumes this function cannot fail. It also assumes that +** if two files are created in the same file-system directory (i.e. +** a database and its journal file) that the sector size will be the +** same for both. +*/ +static int winSectorSize(sqlite3_file *id){ + (void)id; + return SQLITE_DEFAULT_SECTOR_SIZE; +} + +/* +** Return a vector of device characteristics. +*/ +static int winDeviceCharacteristics(sqlite3_file *id){ + winFile *p = (winFile*)id; + return SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN | + ((p->ctrlFlags & WINFILE_PSOW)?SQLITE_IOCAP_POWERSAFE_OVERWRITE:0); +} + +/* +** Windows will only let you create file view mappings +** on allocation size granularity boundaries. +** During sqlite3_os_init() we do a GetSystemInfo() +** to get the granularity size. +*/ +static SYSTEM_INFO winSysInfo; + +#ifndef SQLITE_OMIT_WAL + +/* +** Helper functions to obtain and relinquish the global mutex. The +** global mutex is used to protect the winLockInfo objects used by +** this file, all of which may be shared by multiple threads. +** +** Function winShmMutexHeld() is used to assert() that the global mutex +** is held when required. This function is only used as part of assert() +** statements. e.g. +** +** winShmEnterMutex() +** assert( winShmMutexHeld() ); +** winShmLeaveMutex() +*/ +static sqlite3_mutex *winBigLock = 0; +static void winShmEnterMutex(void){ + sqlite3_mutex_enter(winBigLock); +} +static void winShmLeaveMutex(void){ + sqlite3_mutex_leave(winBigLock); +} +#ifndef NDEBUG +static int winShmMutexHeld(void) { + return sqlite3_mutex_held(winBigLock); +} +#endif + +/* +** Object used to represent a single file opened and mmapped to provide +** shared memory. When multiple threads all reference the same +** log-summary, each thread has its own winFile object, but they all +** point to a single instance of this object. In other words, each +** log-summary is opened only once per process. +** +** winShmMutexHeld() must be true when creating or destroying +** this object or while reading or writing the following fields: +** +** nRef +** pNext +** +** The following fields are read-only after the object is created: +** +** fid +** zFilename +** +** Either winShmNode.mutex must be held or winShmNode.nRef==0 and +** winShmMutexHeld() is true when reading or writing any other field +** in this structure. +** +*/ +struct winShmNode { + sqlite3_mutex *mutex; /* Mutex to access this object */ + char *zFilename; /* Name of the file */ + winFile hFile; /* File handle from winOpen */ + + int szRegion; /* Size of shared-memory regions */ + int nRegion; /* Size of array apRegion */ + u8 isReadonly; /* True if read-only */ + u8 isUnlocked; /* True if no DMS lock held */ + + struct ShmRegion { + HANDLE hMap; /* File handle from CreateFileMapping */ + void *pMap; + } *aRegion; + DWORD lastErrno; /* The Windows errno from the last I/O error */ + + int nRef; /* Number of winShm objects pointing to this */ + winShm *pFirst; /* All winShm objects pointing to this */ + winShmNode *pNext; /* Next in list of all winShmNode objects */ +#if defined(SQLITE_DEBUG) || defined(SQLITE_HAVE_OS_TRACE) + u8 nextShmId; /* Next available winShm.id value */ +#endif +}; + +/* +** A global array of all winShmNode objects. +** +** The winShmMutexHeld() must be true while reading or writing this list. +*/ +static winShmNode *winShmNodeList = 0; + +/* +** Structure used internally by this VFS to record the state of an +** open shared memory connection. +** +** The following fields are initialized when this object is created and +** are read-only thereafter: +** +** winShm.pShmNode +** winShm.id +** +** All other fields are read/write. The winShm.pShmNode->mutex must be held +** while accessing any read/write fields. +*/ +struct winShm { + winShmNode *pShmNode; /* The underlying winShmNode object */ + winShm *pNext; /* Next winShm with the same winShmNode */ + u8 hasMutex; /* True if holding the winShmNode mutex */ + u16 sharedMask; /* Mask of shared locks held */ + u16 exclMask; /* Mask of exclusive locks held */ +#if defined(SQLITE_DEBUG) || defined(SQLITE_HAVE_OS_TRACE) + u8 id; /* Id of this connection with its winShmNode */ +#endif +}; + +/* +** Constants used for locking +*/ +#define WIN_SHM_BASE ((22+SQLITE_SHM_NLOCK)*4) /* first lock byte */ +#define WIN_SHM_DMS (WIN_SHM_BASE+SQLITE_SHM_NLOCK) /* deadman switch */ + +/* +** Apply advisory locks for all n bytes beginning at ofst. +*/ +#define WINSHM_UNLCK 1 +#define WINSHM_RDLCK 2 +#define WINSHM_WRLCK 3 +static int winShmSystemLock( + winShmNode *pFile, /* Apply locks to this open shared-memory segment */ + int lockType, /* WINSHM_UNLCK, WINSHM_RDLCK, or WINSHM_WRLCK */ + int ofst, /* Offset to first byte to be locked/unlocked */ + int nByte /* Number of bytes to lock or unlock */ +){ + int rc = 0; /* Result code form Lock/UnlockFileEx() */ + + /* Access to the winShmNode object is serialized by the caller */ + assert( pFile->nRef==0 || sqlite3_mutex_held(pFile->mutex) ); + + OSTRACE(("SHM-LOCK file=%p, lock=%d, offset=%d, size=%d\n", + pFile->hFile.h, lockType, ofst, nByte)); + + /* Release/Acquire the system-level lock */ + if( lockType==WINSHM_UNLCK ){ + rc = winUnlockFile(&pFile->hFile.h, ofst, 0, nByte, 0); + }else{ + /* Initialize the locking parameters */ + DWORD dwFlags = LOCKFILE_FAIL_IMMEDIATELY; + if( lockType == WINSHM_WRLCK ) dwFlags |= LOCKFILE_EXCLUSIVE_LOCK; + rc = winLockFile(&pFile->hFile.h, dwFlags, ofst, 0, nByte, 0); + } + + if( rc!= 0 ){ + rc = SQLITE_OK; + }else{ + pFile->lastErrno = osGetLastError(); + rc = SQLITE_BUSY; + } + + OSTRACE(("SHM-LOCK file=%p, func=%s, errno=%lu, rc=%s\n", + pFile->hFile.h, (lockType == WINSHM_UNLCK) ? "winUnlockFile" : + "winLockFile", pFile->lastErrno, sqlite3ErrName(rc))); + + return rc; +} + +/* Forward references to VFS methods */ +static int winOpen(sqlite3_vfs*,const char*,sqlite3_file*,int,int*); +static int winDelete(sqlite3_vfs *,const char*,int); + +/* +** Purge the winShmNodeList list of all entries with winShmNode.nRef==0. +** +** This is not a VFS shared-memory method; it is a utility function called +** by VFS shared-memory methods. +*/ +static void winShmPurge(sqlite3_vfs *pVfs, int deleteFlag){ + winShmNode **pp; + winShmNode *p; + assert( winShmMutexHeld() ); + OSTRACE(("SHM-PURGE pid=%lu, deleteFlag=%d\n", + osGetCurrentProcessId(), deleteFlag)); + pp = &winShmNodeList; + while( (p = *pp)!=0 ){ + if( p->nRef==0 ){ + int i; + if( p->mutex ){ sqlite3_mutex_free(p->mutex); } + for(i=0; inRegion; i++){ + BOOL bRc = osUnmapViewOfFile(p->aRegion[i].pMap); + OSTRACE(("SHM-PURGE-UNMAP pid=%lu, region=%d, rc=%s\n", + osGetCurrentProcessId(), i, bRc ? "ok" : "failed")); + UNUSED_VARIABLE_VALUE(bRc); + bRc = osCloseHandle(p->aRegion[i].hMap); + OSTRACE(("SHM-PURGE-CLOSE pid=%lu, region=%d, rc=%s\n", + osGetCurrentProcessId(), i, bRc ? "ok" : "failed")); + UNUSED_VARIABLE_VALUE(bRc); + } + if( p->hFile.h!=NULL && p->hFile.h!=INVALID_HANDLE_VALUE ){ + SimulateIOErrorBenign(1); + winClose((sqlite3_file *)&p->hFile); + SimulateIOErrorBenign(0); + } + if( deleteFlag ){ + SimulateIOErrorBenign(1); + sqlite3BeginBenignMalloc(); + winDelete(pVfs, p->zFilename, 0); + sqlite3EndBenignMalloc(); + SimulateIOErrorBenign(0); + } + *pp = p->pNext; + sqlite3_free(p->aRegion); + sqlite3_free(p); + }else{ + pp = &p->pNext; + } + } +} + +/* +** The DMS lock has not yet been taken on shm file pShmNode. Attempt to +** take it now. Return SQLITE_OK if successful, or an SQLite error +** code otherwise. +** +** If the DMS cannot be locked because this is a readonly_shm=1 +** connection and no other process already holds a lock, return +** SQLITE_READONLY_CANTINIT and set pShmNode->isUnlocked=1. +*/ +static int winLockSharedMemory(winShmNode *pShmNode){ + int rc = winShmSystemLock(pShmNode, WINSHM_WRLCK, WIN_SHM_DMS, 1); + + if( rc==SQLITE_OK ){ + if( pShmNode->isReadonly ){ + pShmNode->isUnlocked = 1; + winShmSystemLock(pShmNode, WINSHM_UNLCK, WIN_SHM_DMS, 1); + return SQLITE_READONLY_CANTINIT; + }else if( winTruncate((sqlite3_file*)&pShmNode->hFile, 0) ){ + winShmSystemLock(pShmNode, WINSHM_UNLCK, WIN_SHM_DMS, 1); + return winLogError(SQLITE_IOERR_SHMOPEN, osGetLastError(), + "winLockSharedMemory", pShmNode->zFilename); + } + } + + if( rc==SQLITE_OK ){ + winShmSystemLock(pShmNode, WINSHM_UNLCK, WIN_SHM_DMS, 1); + } + + return winShmSystemLock(pShmNode, WINSHM_RDLCK, WIN_SHM_DMS, 1); +} + +/* +** Open the shared-memory area associated with database file pDbFd. +** +** When opening a new shared-memory file, if no other instances of that +** file are currently open, in this process or in other processes, then +** the file must be truncated to zero length or have its header cleared. +*/ +static int winOpenSharedMemory(winFile *pDbFd){ + struct winShm *p; /* The connection to be opened */ + winShmNode *pShmNode = 0; /* The underlying mmapped file */ + int rc = SQLITE_OK; /* Result code */ + winShmNode *pNew; /* Newly allocated winShmNode */ + int nName; /* Size of zName in bytes */ + + assert( pDbFd->pShm==0 ); /* Not previously opened */ + + /* Allocate space for the new sqlite3_shm object. Also speculatively + ** allocate space for a new winShmNode and filename. + */ + p = sqlite3MallocZero( sizeof(*p) ); + if( p==0 ) return SQLITE_IOERR_NOMEM_BKPT; + nName = sqlite3Strlen30(pDbFd->zPath); + pNew = sqlite3MallocZero( sizeof(*pShmNode) + nName + 17 ); + if( pNew==0 ){ + sqlite3_free(p); + return SQLITE_IOERR_NOMEM_BKPT; + } + pNew->zFilename = (char*)&pNew[1]; + sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath); + sqlite3FileSuffix3(pDbFd->zPath, pNew->zFilename); + + /* Look to see if there is an existing winShmNode that can be used. + ** If no matching winShmNode currently exists, create a new one. + */ + winShmEnterMutex(); + for(pShmNode = winShmNodeList; pShmNode; pShmNode=pShmNode->pNext){ + /* TBD need to come up with better match here. Perhaps + ** use FILE_ID_BOTH_DIR_INFO Structure. + */ + if( sqlite3StrICmp(pShmNode->zFilename, pNew->zFilename)==0 ) break; + } + if( pShmNode ){ + sqlite3_free(pNew); + }else{ + int inFlags = SQLITE_OPEN_WAL; + int outFlags = 0; + + pShmNode = pNew; + pNew = 0; + ((winFile*)(&pShmNode->hFile))->h = INVALID_HANDLE_VALUE; + pShmNode->pNext = winShmNodeList; + winShmNodeList = pShmNode; + + if( sqlite3GlobalConfig.bCoreMutex ){ + pShmNode->mutex = sqlite3_mutex_alloc(SQLITE_MUTEX_FAST); + if( pShmNode->mutex==0 ){ + rc = SQLITE_IOERR_NOMEM_BKPT; + goto shm_open_err; + } + } + + if( 0==sqlite3_uri_boolean(pDbFd->zPath, "readonly_shm", 0) ){ + inFlags |= SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE; + }else{ + inFlags |= SQLITE_OPEN_READONLY; + } + rc = winOpen(pDbFd->pVfs, pShmNode->zFilename, + (sqlite3_file*)&pShmNode->hFile, + inFlags, &outFlags); + if( rc!=SQLITE_OK ){ + rc = winLogError(rc, osGetLastError(), "winOpenShm", + pShmNode->zFilename); + goto shm_open_err; + } + if( outFlags==SQLITE_OPEN_READONLY ) pShmNode->isReadonly = 1; + + rc = winLockSharedMemory(pShmNode); + if( rc!=SQLITE_OK && rc!=SQLITE_READONLY_CANTINIT ) goto shm_open_err; + } + + /* Make the new connection a child of the winShmNode */ + p->pShmNode = pShmNode; +#if defined(SQLITE_DEBUG) || defined(SQLITE_HAVE_OS_TRACE) + p->id = pShmNode->nextShmId++; +#endif + pShmNode->nRef++; + pDbFd->pShm = p; + winShmLeaveMutex(); + + /* The reference count on pShmNode has already been incremented under + ** the cover of the winShmEnterMutex() mutex and the pointer from the + ** new (struct winShm) object to the pShmNode has been set. All that is + ** left to do is to link the new object into the linked list starting + ** at pShmNode->pFirst. This must be done while holding the pShmNode->mutex + ** mutex. + */ + sqlite3_mutex_enter(pShmNode->mutex); + p->pNext = pShmNode->pFirst; + pShmNode->pFirst = p; + sqlite3_mutex_leave(pShmNode->mutex); + return rc; + + /* Jump here on any error */ +shm_open_err: + winShmSystemLock(pShmNode, WINSHM_UNLCK, WIN_SHM_DMS, 1); + winShmPurge(pDbFd->pVfs, 0); /* This call frees pShmNode if required */ + sqlite3_free(p); + sqlite3_free(pNew); + winShmLeaveMutex(); + return rc; +} + +/* +** Close a connection to shared-memory. Delete the underlying +** storage if deleteFlag is true. +*/ +static int winShmUnmap( + sqlite3_file *fd, /* Database holding shared memory */ + int deleteFlag /* Delete after closing if true */ +){ + winFile *pDbFd; /* Database holding shared-memory */ + winShm *p; /* The connection to be closed */ + winShmNode *pShmNode; /* The underlying shared-memory file */ + winShm **pp; /* For looping over sibling connections */ + + pDbFd = (winFile*)fd; + p = pDbFd->pShm; + if( p==0 ) return SQLITE_OK; + pShmNode = p->pShmNode; + + /* Remove connection p from the set of connections associated + ** with pShmNode */ + sqlite3_mutex_enter(pShmNode->mutex); + for(pp=&pShmNode->pFirst; (*pp)!=p; pp = &(*pp)->pNext){} + *pp = p->pNext; + + /* Free the connection p */ + sqlite3_free(p); + pDbFd->pShm = 0; + sqlite3_mutex_leave(pShmNode->mutex); + + /* If pShmNode->nRef has reached 0, then close the underlying + ** shared-memory file, too */ + winShmEnterMutex(); + assert( pShmNode->nRef>0 ); + pShmNode->nRef--; + if( pShmNode->nRef==0 ){ + winShmPurge(pDbFd->pVfs, deleteFlag); + } + winShmLeaveMutex(); + + return SQLITE_OK; +} + +/* +** Change the lock state for a shared-memory segment. +*/ +static int winShmLock( + sqlite3_file *fd, /* Database file holding the shared memory */ + int ofst, /* First lock to acquire or release */ + int n, /* Number of locks to acquire or release */ + int flags /* What to do with the lock */ +){ + winFile *pDbFd = (winFile*)fd; /* Connection holding shared memory */ + winShm *p = pDbFd->pShm; /* The shared memory being locked */ + winShm *pX; /* For looping over all siblings */ + winShmNode *pShmNode = p->pShmNode; + int rc = SQLITE_OK; /* Result code */ + u16 mask; /* Mask of locks to take or release */ + + assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); + assert( n>=1 ); + assert( flags==(SQLITE_SHM_LOCK | SQLITE_SHM_SHARED) + || flags==(SQLITE_SHM_LOCK | SQLITE_SHM_EXCLUSIVE) + || flags==(SQLITE_SHM_UNLOCK | SQLITE_SHM_SHARED) + || flags==(SQLITE_SHM_UNLOCK | SQLITE_SHM_EXCLUSIVE) ); + assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); + + mask = (u16)((1U<<(ofst+n)) - (1U<1 || mask==(1<mutex); + if( flags & SQLITE_SHM_UNLOCK ){ + u16 allMask = 0; /* Mask of locks held by siblings */ + + /* See if any siblings hold this same lock */ + for(pX=pShmNode->pFirst; pX; pX=pX->pNext){ + if( pX==p ) continue; + assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 ); + allMask |= pX->sharedMask; + } + + /* Unlock the system-level locks */ + if( (mask & allMask)==0 ){ + rc = winShmSystemLock(pShmNode, WINSHM_UNLCK, ofst+WIN_SHM_BASE, n); + }else{ + rc = SQLITE_OK; + } + + /* Undo the local locks */ + if( rc==SQLITE_OK ){ + p->exclMask &= ~mask; + p->sharedMask &= ~mask; + } + }else if( flags & SQLITE_SHM_SHARED ){ + u16 allShared = 0; /* Union of locks held by connections other than "p" */ + + /* Find out which shared locks are already held by sibling connections. + ** If any sibling already holds an exclusive lock, go ahead and return + ** SQLITE_BUSY. + */ + for(pX=pShmNode->pFirst; pX; pX=pX->pNext){ + if( (pX->exclMask & mask)!=0 ){ + rc = SQLITE_BUSY; + break; + } + allShared |= pX->sharedMask; + } + + /* Get shared locks at the system level, if necessary */ + if( rc==SQLITE_OK ){ + if( (allShared & mask)==0 ){ + rc = winShmSystemLock(pShmNode, WINSHM_RDLCK, ofst+WIN_SHM_BASE, n); + }else{ + rc = SQLITE_OK; + } + } + + /* Get the local shared locks */ + if( rc==SQLITE_OK ){ + p->sharedMask |= mask; + } + }else{ + /* Make sure no sibling connections hold locks that will block this + ** lock. If any do, return SQLITE_BUSY right away. + */ + for(pX=pShmNode->pFirst; pX; pX=pX->pNext){ + if( (pX->exclMask & mask)!=0 || (pX->sharedMask & mask)!=0 ){ + rc = SQLITE_BUSY; + break; + } + } + + /* Get the exclusive locks at the system level. Then if successful + ** also mark the local connection as being locked. + */ + if( rc==SQLITE_OK ){ + rc = winShmSystemLock(pShmNode, WINSHM_WRLCK, ofst+WIN_SHM_BASE, n); + if( rc==SQLITE_OK ){ + assert( (p->sharedMask & mask)==0 ); + p->exclMask |= mask; + } + } + } + sqlite3_mutex_leave(pShmNode->mutex); + OSTRACE(("SHM-LOCK pid=%lu, id=%d, sharedMask=%03x, exclMask=%03x, rc=%s\n", + osGetCurrentProcessId(), p->id, p->sharedMask, p->exclMask, + sqlite3ErrName(rc))); + return rc; +} + +/* +** Implement a memory barrier or memory fence on shared memory. +** +** All loads and stores begun before the barrier must complete before +** any load or store begun after the barrier. +*/ +static void winShmBarrier( + sqlite3_file *fd /* Database holding the shared memory */ +){ + UNUSED_PARAMETER(fd); + sqlite3MemoryBarrier(); /* compiler-defined memory barrier */ + winShmEnterMutex(); /* Also mutex, for redundancy */ + winShmLeaveMutex(); +} + +/* +** This function is called to obtain a pointer to region iRegion of the +** shared-memory associated with the database file fd. Shared-memory regions +** are numbered starting from zero. Each shared-memory region is szRegion +** bytes in size. +** +** If an error occurs, an error code is returned and *pp is set to NULL. +** +** Otherwise, if the isWrite parameter is 0 and the requested shared-memory +** region has not been allocated (by any client, including one running in a +** separate process), then *pp is set to NULL and SQLITE_OK returned. If +** isWrite is non-zero and the requested shared-memory region has not yet +** been allocated, it is allocated by this function. +** +** If the shared-memory region has already been allocated or is allocated by +** this call as described above, then it is mapped into this processes +** address space (if it is not already), *pp is set to point to the mapped +** memory and SQLITE_OK returned. +*/ +static int winShmMap( + sqlite3_file *fd, /* Handle open on database file */ + int iRegion, /* Region to retrieve */ + int szRegion, /* Size of regions */ + int isWrite, /* True to extend file if necessary */ + void volatile **pp /* OUT: Mapped memory */ +){ + winFile *pDbFd = (winFile*)fd; + winShm *pShm = pDbFd->pShm; + winShmNode *pShmNode; + DWORD protect = PAGE_READWRITE; + DWORD flags = FILE_MAP_WRITE | FILE_MAP_READ; + int rc = SQLITE_OK; + + if( !pShm ){ + rc = winOpenSharedMemory(pDbFd); + if( rc!=SQLITE_OK ) return rc; + pShm = pDbFd->pShm; + assert( pShm!=0 ); + } + pShmNode = pShm->pShmNode; + + sqlite3_mutex_enter(pShmNode->mutex); + if( pShmNode->isUnlocked ){ + rc = winLockSharedMemory(pShmNode); + if( rc!=SQLITE_OK ) goto shmpage_out; + pShmNode->isUnlocked = 0; + } + assert( szRegion==pShmNode->szRegion || pShmNode->nRegion==0 ); + + if( pShmNode->nRegion<=iRegion ){ + struct ShmRegion *apNew; /* New aRegion[] array */ + int nByte = (iRegion+1)*szRegion; /* Minimum required file size */ + sqlite3_int64 sz; /* Current size of wal-index file */ + + pShmNode->szRegion = szRegion; + + /* The requested region is not mapped into this processes address space. + ** Check to see if it has been allocated (i.e. if the wal-index file is + ** large enough to contain the requested region). + */ + rc = winFileSize((sqlite3_file *)&pShmNode->hFile, &sz); + if( rc!=SQLITE_OK ){ + rc = winLogError(SQLITE_IOERR_SHMSIZE, osGetLastError(), + "winShmMap1", pDbFd->zPath); + goto shmpage_out; + } + + if( szhFile, nByte); + if( rc!=SQLITE_OK ){ + rc = winLogError(SQLITE_IOERR_SHMSIZE, osGetLastError(), + "winShmMap2", pDbFd->zPath); + goto shmpage_out; + } + } + + /* Map the requested memory region into this processes address space. */ + apNew = (struct ShmRegion *)sqlite3_realloc64( + pShmNode->aRegion, (iRegion+1)*sizeof(apNew[0]) + ); + if( !apNew ){ + rc = SQLITE_IOERR_NOMEM_BKPT; + goto shmpage_out; + } + pShmNode->aRegion = apNew; + + if( pShmNode->isReadonly ){ + protect = PAGE_READONLY; + flags = FILE_MAP_READ; + } + + while( pShmNode->nRegion<=iRegion ){ + HANDLE hMap = NULL; /* file-mapping handle */ + void *pMap = 0; /* Mapped memory region */ + +#if SQLITE_OS_WINRT + hMap = osCreateFileMappingFromApp(pShmNode->hFile.h, + NULL, protect, nByte, NULL + ); +#elif defined(SQLITE_WIN32_HAS_WIDE) + hMap = osCreateFileMappingW(pShmNode->hFile.h, + NULL, protect, 0, nByte, NULL + ); +#elif defined(SQLITE_WIN32_HAS_ANSI) && SQLITE_WIN32_CREATEFILEMAPPINGA + hMap = osCreateFileMappingA(pShmNode->hFile.h, + NULL, protect, 0, nByte, NULL + ); +#endif + OSTRACE(("SHM-MAP-CREATE pid=%lu, region=%d, size=%d, rc=%s\n", + osGetCurrentProcessId(), pShmNode->nRegion, nByte, + hMap ? "ok" : "failed")); + if( hMap ){ + int iOffset = pShmNode->nRegion*szRegion; + int iOffsetShift = iOffset % winSysInfo.dwAllocationGranularity; +#if SQLITE_OS_WINRT + pMap = osMapViewOfFileFromApp(hMap, flags, + iOffset - iOffsetShift, szRegion + iOffsetShift + ); +#else + pMap = osMapViewOfFile(hMap, flags, + 0, iOffset - iOffsetShift, szRegion + iOffsetShift + ); +#endif + OSTRACE(("SHM-MAP-MAP pid=%lu, region=%d, offset=%d, size=%d, rc=%s\n", + osGetCurrentProcessId(), pShmNode->nRegion, iOffset, + szRegion, pMap ? "ok" : "failed")); + } + if( !pMap ){ + pShmNode->lastErrno = osGetLastError(); + rc = winLogError(SQLITE_IOERR_SHMMAP, pShmNode->lastErrno, + "winShmMap3", pDbFd->zPath); + if( hMap ) osCloseHandle(hMap); + goto shmpage_out; + } + + pShmNode->aRegion[pShmNode->nRegion].pMap = pMap; + pShmNode->aRegion[pShmNode->nRegion].hMap = hMap; + pShmNode->nRegion++; + } + } + +shmpage_out: + if( pShmNode->nRegion>iRegion ){ + int iOffset = iRegion*szRegion; + int iOffsetShift = iOffset % winSysInfo.dwAllocationGranularity; + char *p = (char *)pShmNode->aRegion[iRegion].pMap; + *pp = (void *)&p[iOffsetShift]; + }else{ + *pp = 0; + } + if( pShmNode->isReadonly && rc==SQLITE_OK ) rc = SQLITE_READONLY; + sqlite3_mutex_leave(pShmNode->mutex); + return rc; +} + +#else +# define winShmMap 0 +# define winShmLock 0 +# define winShmBarrier 0 +# define winShmUnmap 0 +#endif /* #ifndef SQLITE_OMIT_WAL */ + +/* +** Cleans up the mapped region of the specified file, if any. +*/ +#if SQLITE_MAX_MMAP_SIZE>0 +static int winUnmapfile(winFile *pFile){ + assert( pFile!=0 ); + OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, hMap=%p, pMapRegion=%p, " + "mmapSize=%lld, mmapSizeMax=%lld\n", + osGetCurrentProcessId(), pFile, pFile->hMap, pFile->pMapRegion, + pFile->mmapSize, pFile->mmapSizeMax)); + if( pFile->pMapRegion ){ + if( !osUnmapViewOfFile(pFile->pMapRegion) ){ + pFile->lastErrno = osGetLastError(); + OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, pMapRegion=%p, " + "rc=SQLITE_IOERR_MMAP\n", osGetCurrentProcessId(), pFile, + pFile->pMapRegion)); + return winLogError(SQLITE_IOERR_MMAP, pFile->lastErrno, + "winUnmapfile1", pFile->zPath); + } + pFile->pMapRegion = 0; + pFile->mmapSize = 0; + } + if( pFile->hMap!=NULL ){ + if( !osCloseHandle(pFile->hMap) ){ + pFile->lastErrno = osGetLastError(); + OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, hMap=%p, rc=SQLITE_IOERR_MMAP\n", + osGetCurrentProcessId(), pFile, pFile->hMap)); + return winLogError(SQLITE_IOERR_MMAP, pFile->lastErrno, + "winUnmapfile2", pFile->zPath); + } + pFile->hMap = NULL; + } + OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, rc=SQLITE_OK\n", + osGetCurrentProcessId(), pFile)); + return SQLITE_OK; +} + +/* +** Memory map or remap the file opened by file-descriptor pFd (if the file +** is already mapped, the existing mapping is replaced by the new). Or, if +** there already exists a mapping for this file, and there are still +** outstanding xFetch() references to it, this function is a no-op. +** +** If parameter nByte is non-negative, then it is the requested size of +** the mapping to create. Otherwise, if nByte is less than zero, then the +** requested size is the size of the file on disk. The actual size of the +** created mapping is either the requested size or the value configured +** using SQLITE_FCNTL_MMAP_SIZE, whichever is smaller. +** +** SQLITE_OK is returned if no error occurs (even if the mapping is not +** recreated as a result of outstanding references) or an SQLite error +** code otherwise. +*/ +static int winMapfile(winFile *pFd, sqlite3_int64 nByte){ + sqlite3_int64 nMap = nByte; + int rc; + + assert( nMap>=0 || pFd->nFetchOut==0 ); + OSTRACE(("MAP-FILE pid=%lu, pFile=%p, size=%lld\n", + osGetCurrentProcessId(), pFd, nByte)); + + if( pFd->nFetchOut>0 ) return SQLITE_OK; + + if( nMap<0 ){ + rc = winFileSize((sqlite3_file*)pFd, &nMap); + if( rc ){ + OSTRACE(("MAP-FILE pid=%lu, pFile=%p, rc=SQLITE_IOERR_FSTAT\n", + osGetCurrentProcessId(), pFd)); + return SQLITE_IOERR_FSTAT; + } + } + if( nMap>pFd->mmapSizeMax ){ + nMap = pFd->mmapSizeMax; + } + nMap &= ~(sqlite3_int64)(winSysInfo.dwPageSize - 1); + + if( nMap==0 && pFd->mmapSize>0 ){ + winUnmapfile(pFd); + } + if( nMap!=pFd->mmapSize ){ + void *pNew = 0; + DWORD protect = PAGE_READONLY; + DWORD flags = FILE_MAP_READ; + + winUnmapfile(pFd); +#ifdef SQLITE_MMAP_READWRITE + if( (pFd->ctrlFlags & WINFILE_RDONLY)==0 ){ + protect = PAGE_READWRITE; + flags |= FILE_MAP_WRITE; + } +#endif +#if SQLITE_OS_WINRT + pFd->hMap = osCreateFileMappingFromApp(pFd->h, NULL, protect, nMap, NULL); +#elif defined(SQLITE_WIN32_HAS_WIDE) + pFd->hMap = osCreateFileMappingW(pFd->h, NULL, protect, + (DWORD)((nMap>>32) & 0xffffffff), + (DWORD)(nMap & 0xffffffff), NULL); +#elif defined(SQLITE_WIN32_HAS_ANSI) && SQLITE_WIN32_CREATEFILEMAPPINGA + pFd->hMap = osCreateFileMappingA(pFd->h, NULL, protect, + (DWORD)((nMap>>32) & 0xffffffff), + (DWORD)(nMap & 0xffffffff), NULL); +#endif + if( pFd->hMap==NULL ){ + pFd->lastErrno = osGetLastError(); + rc = winLogError(SQLITE_IOERR_MMAP, pFd->lastErrno, + "winMapfile1", pFd->zPath); + /* Log the error, but continue normal operation using xRead/xWrite */ + OSTRACE(("MAP-FILE-CREATE pid=%lu, pFile=%p, rc=%s\n", + osGetCurrentProcessId(), pFd, sqlite3ErrName(rc))); + return SQLITE_OK; + } + assert( (nMap % winSysInfo.dwPageSize)==0 ); + assert( sizeof(SIZE_T)==sizeof(sqlite3_int64) || nMap<=0xffffffff ); +#if SQLITE_OS_WINRT + pNew = osMapViewOfFileFromApp(pFd->hMap, flags, 0, (SIZE_T)nMap); +#else + pNew = osMapViewOfFile(pFd->hMap, flags, 0, 0, (SIZE_T)nMap); +#endif + if( pNew==NULL ){ + osCloseHandle(pFd->hMap); + pFd->hMap = NULL; + pFd->lastErrno = osGetLastError(); + rc = winLogError(SQLITE_IOERR_MMAP, pFd->lastErrno, + "winMapfile2", pFd->zPath); + /* Log the error, but continue normal operation using xRead/xWrite */ + OSTRACE(("MAP-FILE-MAP pid=%lu, pFile=%p, rc=%s\n", + osGetCurrentProcessId(), pFd, sqlite3ErrName(rc))); + return SQLITE_OK; + } + pFd->pMapRegion = pNew; + pFd->mmapSize = nMap; + } + + OSTRACE(("MAP-FILE pid=%lu, pFile=%p, rc=SQLITE_OK\n", + osGetCurrentProcessId(), pFd)); + return SQLITE_OK; +} +#endif /* SQLITE_MAX_MMAP_SIZE>0 */ + +/* +** If possible, return a pointer to a mapping of file fd starting at offset +** iOff. The mapping must be valid for at least nAmt bytes. +** +** If such a pointer can be obtained, store it in *pp and return SQLITE_OK. +** Or, if one cannot but no error occurs, set *pp to 0 and return SQLITE_OK. +** Finally, if an error does occur, return an SQLite error code. The final +** value of *pp is undefined in this case. +** +** If this function does return a pointer, the caller must eventually +** release the reference by calling winUnfetch(). +*/ +static int winFetch(sqlite3_file *fd, i64 iOff, int nAmt, void **pp){ +#if SQLITE_MAX_MMAP_SIZE>0 + winFile *pFd = (winFile*)fd; /* The underlying database file */ +#endif + *pp = 0; + + OSTRACE(("FETCH pid=%lu, pFile=%p, offset=%lld, amount=%d, pp=%p\n", + osGetCurrentProcessId(), fd, iOff, nAmt, pp)); + +#if SQLITE_MAX_MMAP_SIZE>0 + if( pFd->mmapSizeMax>0 ){ + if( pFd->pMapRegion==0 ){ + int rc = winMapfile(pFd, -1); + if( rc!=SQLITE_OK ){ + OSTRACE(("FETCH pid=%lu, pFile=%p, rc=%s\n", + osGetCurrentProcessId(), pFd, sqlite3ErrName(rc))); + return rc; + } + } + if( pFd->mmapSize >= iOff+nAmt ){ + assert( pFd->pMapRegion!=0 ); + *pp = &((u8 *)pFd->pMapRegion)[iOff]; + pFd->nFetchOut++; + } + } +#endif + + OSTRACE(("FETCH pid=%lu, pFile=%p, pp=%p, *pp=%p, rc=SQLITE_OK\n", + osGetCurrentProcessId(), fd, pp, *pp)); + return SQLITE_OK; +} + +/* +** If the third argument is non-NULL, then this function releases a +** reference obtained by an earlier call to winFetch(). The second +** argument passed to this function must be the same as the corresponding +** argument that was passed to the winFetch() invocation. +** +** Or, if the third argument is NULL, then this function is being called +** to inform the VFS layer that, according to POSIX, any existing mapping +** may now be invalid and should be unmapped. +*/ +static int winUnfetch(sqlite3_file *fd, i64 iOff, void *p){ +#if SQLITE_MAX_MMAP_SIZE>0 + winFile *pFd = (winFile*)fd; /* The underlying database file */ + + /* If p==0 (unmap the entire file) then there must be no outstanding + ** xFetch references. Or, if p!=0 (meaning it is an xFetch reference), + ** then there must be at least one outstanding. */ + assert( (p==0)==(pFd->nFetchOut==0) ); + + /* If p!=0, it must match the iOff value. */ + assert( p==0 || p==&((u8 *)pFd->pMapRegion)[iOff] ); + + OSTRACE(("UNFETCH pid=%lu, pFile=%p, offset=%lld, p=%p\n", + osGetCurrentProcessId(), pFd, iOff, p)); + + if( p ){ + pFd->nFetchOut--; + }else{ + /* FIXME: If Windows truly always prevents truncating or deleting a + ** file while a mapping is held, then the following winUnmapfile() call + ** is unnecessary can be omitted - potentially improving + ** performance. */ + winUnmapfile(pFd); + } + + assert( pFd->nFetchOut>=0 ); +#endif + + OSTRACE(("UNFETCH pid=%lu, pFile=%p, rc=SQLITE_OK\n", + osGetCurrentProcessId(), fd)); + return SQLITE_OK; +} + +/* +** Here ends the implementation of all sqlite3_file methods. +** +********************** End sqlite3_file Methods ******************************* +******************************************************************************/ + +/* +** This vector defines all the methods that can operate on an +** sqlite3_file for win32. +*/ +static const sqlite3_io_methods winIoMethod = { + 3, /* iVersion */ + winClose, /* xClose */ + winRead, /* xRead */ + winWrite, /* xWrite */ + winTruncate, /* xTruncate */ + winSync, /* xSync */ + winFileSize, /* xFileSize */ + winLock, /* xLock */ + winUnlock, /* xUnlock */ + winCheckReservedLock, /* xCheckReservedLock */ + winFileControl, /* xFileControl */ + winSectorSize, /* xSectorSize */ + winDeviceCharacteristics, /* xDeviceCharacteristics */ + winShmMap, /* xShmMap */ + winShmLock, /* xShmLock */ + winShmBarrier, /* xShmBarrier */ + winShmUnmap, /* xShmUnmap */ + winFetch, /* xFetch */ + winUnfetch /* xUnfetch */ +}; + +/* +** This vector defines all the methods that can operate on an +** sqlite3_file for win32 without performing any locking. +*/ +static const sqlite3_io_methods winIoNolockMethod = { + 3, /* iVersion */ + winClose, /* xClose */ + winRead, /* xRead */ + winWrite, /* xWrite */ + winTruncate, /* xTruncate */ + winSync, /* xSync */ + winFileSize, /* xFileSize */ + winNolockLock, /* xLock */ + winNolockUnlock, /* xUnlock */ + winNolockCheckReservedLock, /* xCheckReservedLock */ + winFileControl, /* xFileControl */ + winSectorSize, /* xSectorSize */ + winDeviceCharacteristics, /* xDeviceCharacteristics */ + winShmMap, /* xShmMap */ + winShmLock, /* xShmLock */ + winShmBarrier, /* xShmBarrier */ + winShmUnmap, /* xShmUnmap */ + winFetch, /* xFetch */ + winUnfetch /* xUnfetch */ +}; + +static winVfsAppData winAppData = { + &winIoMethod, /* pMethod */ + 0, /* pAppData */ + 0 /* bNoLock */ +}; + +static winVfsAppData winNolockAppData = { + &winIoNolockMethod, /* pMethod */ + 0, /* pAppData */ + 1 /* bNoLock */ +}; + +/**************************************************************************** +**************************** sqlite3_vfs methods **************************** +** +** This division contains the implementation of methods on the +** sqlite3_vfs object. +*/ + +#if defined(__CYGWIN__) +/* +** Convert a filename from whatever the underlying operating system +** supports for filenames into UTF-8. Space to hold the result is +** obtained from malloc and must be freed by the calling function. +*/ +static char *winConvertToUtf8Filename(const void *zFilename){ + char *zConverted = 0; + if( osIsNT() ){ + zConverted = winUnicodeToUtf8(zFilename); + } +#ifdef SQLITE_WIN32_HAS_ANSI + else{ + zConverted = winMbcsToUtf8(zFilename, osAreFileApisANSI()); + } +#endif + /* caller will handle out of memory */ + return zConverted; +} +#endif + +/* +** Convert a UTF-8 filename into whatever form the underlying +** operating system wants filenames in. Space to hold the result +** is obtained from malloc and must be freed by the calling +** function. +*/ +static void *winConvertFromUtf8Filename(const char *zFilename){ + void *zConverted = 0; + if( osIsNT() ){ + zConverted = winUtf8ToUnicode(zFilename); + } +#ifdef SQLITE_WIN32_HAS_ANSI + else{ + zConverted = winUtf8ToMbcs(zFilename, osAreFileApisANSI()); + } +#endif + /* caller will handle out of memory */ + return zConverted; +} + +/* +** This function returns non-zero if the specified UTF-8 string buffer +** ends with a directory separator character or one was successfully +** added to it. +*/ +static int winMakeEndInDirSep(int nBuf, char *zBuf){ + if( zBuf ){ + int nLen = sqlite3Strlen30(zBuf); + if( nLen>0 ){ + if( winIsDirSep(zBuf[nLen-1]) ){ + return 1; + }else if( nLen+1mxPathname; nBuf = nMax + 2; + zBuf = sqlite3MallocZero( nBuf ); + if( !zBuf ){ + OSTRACE(("TEMP-FILENAME rc=SQLITE_IOERR_NOMEM\n")); + return SQLITE_IOERR_NOMEM_BKPT; + } + + /* Figure out the effective temporary directory. First, check if one + ** has been explicitly set by the application; otherwise, use the one + ** configured by the operating system. + */ + nDir = nMax - (nPre + 15); + assert( nDir>0 ); + if( sqlite3_temp_directory ){ + int nDirLen = sqlite3Strlen30(sqlite3_temp_directory); + if( nDirLen>0 ){ + if( !winIsDirSep(sqlite3_temp_directory[nDirLen-1]) ){ + nDirLen++; + } + if( nDirLen>nDir ){ + sqlite3_free(zBuf); + OSTRACE(("TEMP-FILENAME rc=SQLITE_ERROR\n")); + return winLogError(SQLITE_ERROR, 0, "winGetTempname1", 0); + } + sqlite3_snprintf(nMax, zBuf, "%s", sqlite3_temp_directory); + } + } +#if defined(__CYGWIN__) + else{ + static const char *azDirs[] = { + 0, /* getenv("SQLITE_TMPDIR") */ + 0, /* getenv("TMPDIR") */ + 0, /* getenv("TMP") */ + 0, /* getenv("TEMP") */ + 0, /* getenv("USERPROFILE") */ + "/var/tmp", + "/usr/tmp", + "/tmp", + ".", + 0 /* List terminator */ + }; + unsigned int i; + const char *zDir = 0; + + if( !azDirs[0] ) azDirs[0] = getenv("SQLITE_TMPDIR"); + if( !azDirs[1] ) azDirs[1] = getenv("TMPDIR"); + if( !azDirs[2] ) azDirs[2] = getenv("TMP"); + if( !azDirs[3] ) azDirs[3] = getenv("TEMP"); + if( !azDirs[4] ) azDirs[4] = getenv("USERPROFILE"); + for(i=0; i/etilqs_XXXXXXXXXXXXXXX\0\0" + ** + ** If not, return SQLITE_ERROR. The number 17 is used here in order to + ** account for the space used by the 15 character random suffix and the + ** two trailing NUL characters. The final directory separator character + ** has already added if it was not already present. + */ + nLen = sqlite3Strlen30(zBuf); + if( (nLen + nPre + 17) > nBuf ){ + sqlite3_free(zBuf); + OSTRACE(("TEMP-FILENAME rc=SQLITE_ERROR\n")); + return winLogError(SQLITE_ERROR, 0, "winGetTempname5", 0); + } + + sqlite3_snprintf(nBuf-16-nLen, zBuf+nLen, SQLITE_TEMP_FILE_PREFIX); + + j = sqlite3Strlen30(zBuf); + sqlite3_randomness(15, &zBuf[j]); + for(i=0; i<15; i++, j++){ + zBuf[j] = (char)zChars[ ((unsigned char)zBuf[j])%(sizeof(zChars)-1) ]; + } + zBuf[j] = 0; + zBuf[j+1] = 0; + *pzBuf = zBuf; + + OSTRACE(("TEMP-FILENAME name=%s, rc=SQLITE_OK\n", zBuf)); + return SQLITE_OK; +} + +/* +** Return TRUE if the named file is really a directory. Return false if +** it is something other than a directory, or if there is any kind of memory +** allocation failure. +*/ +static int winIsDir(const void *zConverted){ + DWORD attr; + int rc = 0; + DWORD lastErrno; + + if( osIsNT() ){ + int cnt = 0; + WIN32_FILE_ATTRIBUTE_DATA sAttrData; + memset(&sAttrData, 0, sizeof(sAttrData)); + while( !(rc = osGetFileAttributesExW((LPCWSTR)zConverted, + GetFileExInfoStandard, + &sAttrData)) && winRetryIoerr(&cnt, &lastErrno) ){} + if( !rc ){ + return 0; /* Invalid name? */ + } + attr = sAttrData.dwFileAttributes; +#if SQLITE_OS_WINCE==0 + }else{ + attr = osGetFileAttributesA((char*)zConverted); +#endif + } + return (attr!=INVALID_FILE_ATTRIBUTES) && (attr&FILE_ATTRIBUTE_DIRECTORY); +} + +/* forward reference */ +static int winAccess( + sqlite3_vfs *pVfs, /* Not used on win32 */ + const char *zFilename, /* Name of file to check */ + int flags, /* Type of test to make on this file */ + int *pResOut /* OUT: Result */ +); + +/* +** Open a file. +*/ +static int winOpen( + sqlite3_vfs *pVfs, /* Used to get maximum path length and AppData */ + const char *zName, /* Name of the file (UTF-8) */ + sqlite3_file *id, /* Write the SQLite file handle here */ + int flags, /* Open mode flags */ + int *pOutFlags /* Status return flags */ +){ + HANDLE h; + DWORD lastErrno = 0; + DWORD dwDesiredAccess; + DWORD dwShareMode; + DWORD dwCreationDisposition; + DWORD dwFlagsAndAttributes = 0; +#if SQLITE_OS_WINCE + int isTemp = 0; +#endif + winVfsAppData *pAppData; + winFile *pFile = (winFile*)id; + void *zConverted; /* Filename in OS encoding */ + const char *zUtf8Name = zName; /* Filename in UTF-8 encoding */ + int cnt = 0; + + /* If argument zPath is a NULL pointer, this function is required to open + ** a temporary file. Use this buffer to store the file name in. + */ + char *zTmpname = 0; /* For temporary filename, if necessary. */ + + int rc = SQLITE_OK; /* Function Return Code */ +#if !defined(NDEBUG) || SQLITE_OS_WINCE + int eType = flags&0xFFFFFF00; /* Type of file to open */ +#endif + + int isExclusive = (flags & SQLITE_OPEN_EXCLUSIVE); + int isDelete = (flags & SQLITE_OPEN_DELETEONCLOSE); + int isCreate = (flags & SQLITE_OPEN_CREATE); + int isReadonly = (flags & SQLITE_OPEN_READONLY); + int isReadWrite = (flags & SQLITE_OPEN_READWRITE); + +#ifndef NDEBUG + int isOpenJournal = (isCreate && ( + eType==SQLITE_OPEN_MASTER_JOURNAL + || eType==SQLITE_OPEN_MAIN_JOURNAL + || eType==SQLITE_OPEN_WAL + )); +#endif + + OSTRACE(("OPEN name=%s, pFile=%p, flags=%x, pOutFlags=%p\n", + zUtf8Name, id, flags, pOutFlags)); + + /* Check the following statements are true: + ** + ** (a) Exactly one of the READWRITE and READONLY flags must be set, and + ** (b) if CREATE is set, then READWRITE must also be set, and + ** (c) if EXCLUSIVE is set, then CREATE must also be set. + ** (d) if DELETEONCLOSE is set, then CREATE must also be set. + */ + assert((isReadonly==0 || isReadWrite==0) && (isReadWrite || isReadonly)); + assert(isCreate==0 || isReadWrite); + assert(isExclusive==0 || isCreate); + assert(isDelete==0 || isCreate); + + /* The main DB, main journal, WAL file and master journal are never + ** automatically deleted. Nor are they ever temporary files. */ + assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_DB ); + assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_JOURNAL ); + assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MASTER_JOURNAL ); + assert( (!isDelete && zName) || eType!=SQLITE_OPEN_WAL ); + + /* Assert that the upper layer has set one of the "file-type" flags. */ + assert( eType==SQLITE_OPEN_MAIN_DB || eType==SQLITE_OPEN_TEMP_DB + || eType==SQLITE_OPEN_MAIN_JOURNAL || eType==SQLITE_OPEN_TEMP_JOURNAL + || eType==SQLITE_OPEN_SUBJOURNAL || eType==SQLITE_OPEN_MASTER_JOURNAL + || eType==SQLITE_OPEN_TRANSIENT_DB || eType==SQLITE_OPEN_WAL + ); + + assert( pFile!=0 ); + memset(pFile, 0, sizeof(winFile)); + pFile->h = INVALID_HANDLE_VALUE; + +#if SQLITE_OS_WINRT + if( !zUtf8Name && !sqlite3_temp_directory ){ + sqlite3_log(SQLITE_ERROR, + "sqlite3_temp_directory variable should be set for WinRT"); + } +#endif + + /* If the second argument to this function is NULL, generate a + ** temporary file name to use + */ + if( !zUtf8Name ){ + assert( isDelete && !isOpenJournal ); + rc = winGetTempname(pVfs, &zTmpname); + if( rc!=SQLITE_OK ){ + OSTRACE(("OPEN name=%s, rc=%s", zUtf8Name, sqlite3ErrName(rc))); + return rc; + } + zUtf8Name = zTmpname; + } + + /* Database filenames are double-zero terminated if they are not + ** URIs with parameters. Hence, they can always be passed into + ** sqlite3_uri_parameter(). + */ + assert( (eType!=SQLITE_OPEN_MAIN_DB) || (flags & SQLITE_OPEN_URI) || + zUtf8Name[sqlite3Strlen30(zUtf8Name)+1]==0 ); + + /* Convert the filename to the system encoding. */ + zConverted = winConvertFromUtf8Filename(zUtf8Name); + if( zConverted==0 ){ + sqlite3_free(zTmpname); + OSTRACE(("OPEN name=%s, rc=SQLITE_IOERR_NOMEM", zUtf8Name)); + return SQLITE_IOERR_NOMEM_BKPT; + } + + if( winIsDir(zConverted) ){ + sqlite3_free(zConverted); + sqlite3_free(zTmpname); + OSTRACE(("OPEN name=%s, rc=SQLITE_CANTOPEN_ISDIR", zUtf8Name)); + return SQLITE_CANTOPEN_ISDIR; + } + + if( isReadWrite ){ + dwDesiredAccess = GENERIC_READ | GENERIC_WRITE; + }else{ + dwDesiredAccess = GENERIC_READ; + } + + /* SQLITE_OPEN_EXCLUSIVE is used to make sure that a new file is + ** created. SQLite doesn't use it to indicate "exclusive access" + ** as it is usually understood. + */ + if( isExclusive ){ + /* Creates a new file, only if it does not already exist. */ + /* If the file exists, it fails. */ + dwCreationDisposition = CREATE_NEW; + }else if( isCreate ){ + /* Open existing file, or create if it doesn't exist */ + dwCreationDisposition = OPEN_ALWAYS; + }else{ + /* Opens a file, only if it exists. */ + dwCreationDisposition = OPEN_EXISTING; + } + + dwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE; + + if( isDelete ){ +#if SQLITE_OS_WINCE + dwFlagsAndAttributes = FILE_ATTRIBUTE_HIDDEN; + isTemp = 1; +#else + dwFlagsAndAttributes = FILE_ATTRIBUTE_TEMPORARY + | FILE_ATTRIBUTE_HIDDEN + | FILE_FLAG_DELETE_ON_CLOSE; +#endif + }else{ + dwFlagsAndAttributes = FILE_ATTRIBUTE_NORMAL; + } + /* Reports from the internet are that performance is always + ** better if FILE_FLAG_RANDOM_ACCESS is used. Ticket #2699. */ +#if SQLITE_OS_WINCE + dwFlagsAndAttributes |= FILE_FLAG_RANDOM_ACCESS; +#endif + + if( osIsNT() ){ +#if SQLITE_OS_WINRT + CREATEFILE2_EXTENDED_PARAMETERS extendedParameters; + extendedParameters.dwSize = sizeof(CREATEFILE2_EXTENDED_PARAMETERS); + extendedParameters.dwFileAttributes = + dwFlagsAndAttributes & FILE_ATTRIBUTE_MASK; + extendedParameters.dwFileFlags = dwFlagsAndAttributes & FILE_FLAG_MASK; + extendedParameters.dwSecurityQosFlags = SECURITY_ANONYMOUS; + extendedParameters.lpSecurityAttributes = NULL; + extendedParameters.hTemplateFile = NULL; + do{ + h = osCreateFile2((LPCWSTR)zConverted, + dwDesiredAccess, + dwShareMode, + dwCreationDisposition, + &extendedParameters); + if( h!=INVALID_HANDLE_VALUE ) break; + if( isReadWrite ){ + int rc2, isRO = 0; + sqlite3BeginBenignMalloc(); + rc2 = winAccess(pVfs, zName, SQLITE_ACCESS_READ, &isRO); + sqlite3EndBenignMalloc(); + if( rc2==SQLITE_OK && isRO ) break; + } + }while( winRetryIoerr(&cnt, &lastErrno) ); +#else + do{ + h = osCreateFileW((LPCWSTR)zConverted, + dwDesiredAccess, + dwShareMode, NULL, + dwCreationDisposition, + dwFlagsAndAttributes, + NULL); + if( h!=INVALID_HANDLE_VALUE ) break; + if( isReadWrite ){ + int rc2, isRO = 0; + sqlite3BeginBenignMalloc(); + rc2 = winAccess(pVfs, zName, SQLITE_ACCESS_READ, &isRO); + sqlite3EndBenignMalloc(); + if( rc2==SQLITE_OK && isRO ) break; + } + }while( winRetryIoerr(&cnt, &lastErrno) ); +#endif + } +#ifdef SQLITE_WIN32_HAS_ANSI + else{ + do{ + h = osCreateFileA((LPCSTR)zConverted, + dwDesiredAccess, + dwShareMode, NULL, + dwCreationDisposition, + dwFlagsAndAttributes, + NULL); + if( h!=INVALID_HANDLE_VALUE ) break; + if( isReadWrite ){ + int rc2, isRO = 0; + sqlite3BeginBenignMalloc(); + rc2 = winAccess(pVfs, zName, SQLITE_ACCESS_READ, &isRO); + sqlite3EndBenignMalloc(); + if( rc2==SQLITE_OK && isRO ) break; + } + }while( winRetryIoerr(&cnt, &lastErrno) ); + } +#endif + winLogIoerr(cnt, __LINE__); + + OSTRACE(("OPEN file=%p, name=%s, access=%lx, rc=%s\n", h, zUtf8Name, + dwDesiredAccess, (h==INVALID_HANDLE_VALUE) ? "failed" : "ok")); + + if( h==INVALID_HANDLE_VALUE ){ + sqlite3_free(zConverted); + sqlite3_free(zTmpname); + if( isReadWrite && !isExclusive ){ + return winOpen(pVfs, zName, id, + ((flags|SQLITE_OPEN_READONLY) & + ~(SQLITE_OPEN_CREATE|SQLITE_OPEN_READWRITE)), + pOutFlags); + }else{ + pFile->lastErrno = lastErrno; + winLogError(SQLITE_CANTOPEN, pFile->lastErrno, "winOpen", zUtf8Name); + return SQLITE_CANTOPEN_BKPT; + } + } + + if( pOutFlags ){ + if( isReadWrite ){ + *pOutFlags = SQLITE_OPEN_READWRITE; + }else{ + *pOutFlags = SQLITE_OPEN_READONLY; + } + } + + OSTRACE(("OPEN file=%p, name=%s, access=%lx, pOutFlags=%p, *pOutFlags=%d, " + "rc=%s\n", h, zUtf8Name, dwDesiredAccess, pOutFlags, pOutFlags ? + *pOutFlags : 0, (h==INVALID_HANDLE_VALUE) ? "failed" : "ok")); + + pAppData = (winVfsAppData*)pVfs->pAppData; + +#if SQLITE_OS_WINCE + { + if( isReadWrite && eType==SQLITE_OPEN_MAIN_DB + && ((pAppData==NULL) || !pAppData->bNoLock) + && (rc = winceCreateLock(zName, pFile))!=SQLITE_OK + ){ + osCloseHandle(h); + sqlite3_free(zConverted); + sqlite3_free(zTmpname); + OSTRACE(("OPEN-CE-LOCK name=%s, rc=%s\n", zName, sqlite3ErrName(rc))); + return rc; + } + } + if( isTemp ){ + pFile->zDeleteOnClose = zConverted; + }else +#endif + { + sqlite3_free(zConverted); + } + + sqlite3_free(zTmpname); + pFile->pMethod = pAppData ? pAppData->pMethod : &winIoMethod; + pFile->pVfs = pVfs; + pFile->h = h; + if( isReadonly ){ + pFile->ctrlFlags |= WINFILE_RDONLY; + } + if( sqlite3_uri_boolean(zName, "psow", SQLITE_POWERSAFE_OVERWRITE) ){ + pFile->ctrlFlags |= WINFILE_PSOW; + } + pFile->lastErrno = NO_ERROR; + pFile->zPath = zName; +#if SQLITE_MAX_MMAP_SIZE>0 + pFile->hMap = NULL; + pFile->pMapRegion = 0; + pFile->mmapSize = 0; + pFile->mmapSizeMax = sqlite3GlobalConfig.szMmap; +#endif + + OpenCounter(+1); + return rc; +} + +/* +** Delete the named file. +** +** Note that Windows does not allow a file to be deleted if some other +** process has it open. Sometimes a virus scanner or indexing program +** will open a journal file shortly after it is created in order to do +** whatever it does. While this other process is holding the +** file open, we will be unable to delete it. To work around this +** problem, we delay 100 milliseconds and try to delete again. Up +** to MX_DELETION_ATTEMPTs deletion attempts are run before giving +** up and returning an error. +*/ +static int winDelete( + sqlite3_vfs *pVfs, /* Not used on win32 */ + const char *zFilename, /* Name of file to delete */ + int syncDir /* Not used on win32 */ +){ + int cnt = 0; + int rc; + DWORD attr; + DWORD lastErrno = 0; + void *zConverted; + UNUSED_PARAMETER(pVfs); + UNUSED_PARAMETER(syncDir); + + SimulateIOError(return SQLITE_IOERR_DELETE); + OSTRACE(("DELETE name=%s, syncDir=%d\n", zFilename, syncDir)); + + zConverted = winConvertFromUtf8Filename(zFilename); + if( zConverted==0 ){ + OSTRACE(("DELETE name=%s, rc=SQLITE_IOERR_NOMEM\n", zFilename)); + return SQLITE_IOERR_NOMEM_BKPT; + } + if( osIsNT() ){ + do { +#if SQLITE_OS_WINRT + WIN32_FILE_ATTRIBUTE_DATA sAttrData; + memset(&sAttrData, 0, sizeof(sAttrData)); + if ( osGetFileAttributesExW(zConverted, GetFileExInfoStandard, + &sAttrData) ){ + attr = sAttrData.dwFileAttributes; + }else{ + lastErrno = osGetLastError(); + if( lastErrno==ERROR_FILE_NOT_FOUND + || lastErrno==ERROR_PATH_NOT_FOUND ){ + rc = SQLITE_IOERR_DELETE_NOENT; /* Already gone? */ + }else{ + rc = SQLITE_ERROR; + } + break; + } +#else + attr = osGetFileAttributesW(zConverted); +#endif + if ( attr==INVALID_FILE_ATTRIBUTES ){ + lastErrno = osGetLastError(); + if( lastErrno==ERROR_FILE_NOT_FOUND + || lastErrno==ERROR_PATH_NOT_FOUND ){ + rc = SQLITE_IOERR_DELETE_NOENT; /* Already gone? */ + }else{ + rc = SQLITE_ERROR; + } + break; + } + if ( attr&FILE_ATTRIBUTE_DIRECTORY ){ + rc = SQLITE_ERROR; /* Files only. */ + break; + } + if ( osDeleteFileW(zConverted) ){ + rc = SQLITE_OK; /* Deleted OK. */ + break; + } + if ( !winRetryIoerr(&cnt, &lastErrno) ){ + rc = SQLITE_ERROR; /* No more retries. */ + break; + } + } while(1); + } +#ifdef SQLITE_WIN32_HAS_ANSI + else{ + do { + attr = osGetFileAttributesA(zConverted); + if ( attr==INVALID_FILE_ATTRIBUTES ){ + lastErrno = osGetLastError(); + if( lastErrno==ERROR_FILE_NOT_FOUND + || lastErrno==ERROR_PATH_NOT_FOUND ){ + rc = SQLITE_IOERR_DELETE_NOENT; /* Already gone? */ + }else{ + rc = SQLITE_ERROR; + } + break; + } + if ( attr&FILE_ATTRIBUTE_DIRECTORY ){ + rc = SQLITE_ERROR; /* Files only. */ + break; + } + if ( osDeleteFileA(zConverted) ){ + rc = SQLITE_OK; /* Deleted OK. */ + break; + } + if ( !winRetryIoerr(&cnt, &lastErrno) ){ + rc = SQLITE_ERROR; /* No more retries. */ + break; + } + } while(1); + } +#endif + if( rc && rc!=SQLITE_IOERR_DELETE_NOENT ){ + rc = winLogError(SQLITE_IOERR_DELETE, lastErrno, "winDelete", zFilename); + }else{ + winLogIoerr(cnt, __LINE__); + } + sqlite3_free(zConverted); + OSTRACE(("DELETE name=%s, rc=%s\n", zFilename, sqlite3ErrName(rc))); + return rc; +} + +/* +** Check the existence and status of a file. +*/ +static int winAccess( + sqlite3_vfs *pVfs, /* Not used on win32 */ + const char *zFilename, /* Name of file to check */ + int flags, /* Type of test to make on this file */ + int *pResOut /* OUT: Result */ +){ + DWORD attr; + int rc = 0; + DWORD lastErrno = 0; + void *zConverted; + UNUSED_PARAMETER(pVfs); + + SimulateIOError( return SQLITE_IOERR_ACCESS; ); + OSTRACE(("ACCESS name=%s, flags=%x, pResOut=%p\n", + zFilename, flags, pResOut)); + + zConverted = winConvertFromUtf8Filename(zFilename); + if( zConverted==0 ){ + OSTRACE(("ACCESS name=%s, rc=SQLITE_IOERR_NOMEM\n", zFilename)); + return SQLITE_IOERR_NOMEM_BKPT; + } + if( osIsNT() ){ + int cnt = 0; + WIN32_FILE_ATTRIBUTE_DATA sAttrData; + memset(&sAttrData, 0, sizeof(sAttrData)); + while( !(rc = osGetFileAttributesExW((LPCWSTR)zConverted, + GetFileExInfoStandard, + &sAttrData)) && winRetryIoerr(&cnt, &lastErrno) ){} + if( rc ){ + /* For an SQLITE_ACCESS_EXISTS query, treat a zero-length file + ** as if it does not exist. + */ + if( flags==SQLITE_ACCESS_EXISTS + && sAttrData.nFileSizeHigh==0 + && sAttrData.nFileSizeLow==0 ){ + attr = INVALID_FILE_ATTRIBUTES; + }else{ + attr = sAttrData.dwFileAttributes; + } + }else{ + winLogIoerr(cnt, __LINE__); + if( lastErrno!=ERROR_FILE_NOT_FOUND && lastErrno!=ERROR_PATH_NOT_FOUND ){ + sqlite3_free(zConverted); + return winLogError(SQLITE_IOERR_ACCESS, lastErrno, "winAccess", + zFilename); + }else{ + attr = INVALID_FILE_ATTRIBUTES; + } + } + } +#ifdef SQLITE_WIN32_HAS_ANSI + else{ + attr = osGetFileAttributesA((char*)zConverted); + } +#endif + sqlite3_free(zConverted); + switch( flags ){ + case SQLITE_ACCESS_READ: + case SQLITE_ACCESS_EXISTS: + rc = attr!=INVALID_FILE_ATTRIBUTES; + break; + case SQLITE_ACCESS_READWRITE: + rc = attr!=INVALID_FILE_ATTRIBUTES && + (attr & FILE_ATTRIBUTE_READONLY)==0; + break; + default: + assert(!"Invalid flags argument"); + } + *pResOut = rc; + OSTRACE(("ACCESS name=%s, pResOut=%p, *pResOut=%d, rc=SQLITE_OK\n", + zFilename, pResOut, *pResOut)); + return SQLITE_OK; +} + +/* +** Returns non-zero if the specified path name starts with a drive letter +** followed by a colon character. +*/ +static BOOL winIsDriveLetterAndColon( + const char *zPathname +){ + return ( sqlite3Isalpha(zPathname[0]) && zPathname[1]==':' ); +} + +/* +** Returns non-zero if the specified path name should be used verbatim. If +** non-zero is returned from this function, the calling function must simply +** use the provided path name verbatim -OR- resolve it into a full path name +** using the GetFullPathName Win32 API function (if available). +*/ +static BOOL winIsVerbatimPathname( + const char *zPathname +){ + /* + ** If the path name starts with a forward slash or a backslash, it is either + ** a legal UNC name, a volume relative path, or an absolute path name in the + ** "Unix" format on Windows. There is no easy way to differentiate between + ** the final two cases; therefore, we return the safer return value of TRUE + ** so that callers of this function will simply use it verbatim. + */ + if ( winIsDirSep(zPathname[0]) ){ + return TRUE; + } + + /* + ** If the path name starts with a letter and a colon it is either a volume + ** relative path or an absolute path. Callers of this function must not + ** attempt to treat it as a relative path name (i.e. they should simply use + ** it verbatim). + */ + if ( winIsDriveLetterAndColon(zPathname) ){ + return TRUE; + } + + /* + ** If we get to this point, the path name should almost certainly be a purely + ** relative one (i.e. not a UNC name, not absolute, and not volume relative). + */ + return FALSE; +} + +/* +** Turn a relative pathname into a full pathname. Write the full +** pathname into zOut[]. zOut[] will be at least pVfs->mxPathname +** bytes in size. +*/ +static int winFullPathname( + sqlite3_vfs *pVfs, /* Pointer to vfs object */ + const char *zRelative, /* Possibly relative input path */ + int nFull, /* Size of output buffer in bytes */ + char *zFull /* Output buffer */ +){ +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && !defined(__CYGWIN__) + DWORD nByte; + void *zConverted; + char *zOut; +#endif + + /* If this path name begins with "/X:", where "X" is any alphabetic + ** character, discard the initial "/" from the pathname. + */ + if( zRelative[0]=='/' && winIsDriveLetterAndColon(zRelative+1) ){ + zRelative++; + } + +#if defined(__CYGWIN__) + SimulateIOError( return SQLITE_ERROR ); + UNUSED_PARAMETER(nFull); + assert( nFull>=pVfs->mxPathname ); + if ( sqlite3_data_directory && !winIsVerbatimPathname(zRelative) ){ + /* + ** NOTE: We are dealing with a relative path name and the data + ** directory has been set. Therefore, use it as the basis + ** for converting the relative path name to an absolute + ** one by prepending the data directory and a slash. + */ + char *zOut = sqlite3MallocZero( pVfs->mxPathname+1 ); + if( !zOut ){ + return SQLITE_IOERR_NOMEM_BKPT; + } + if( cygwin_conv_path( + (osIsNT() ? CCP_POSIX_TO_WIN_W : CCP_POSIX_TO_WIN_A) | + CCP_RELATIVE, zRelative, zOut, pVfs->mxPathname+1)<0 ){ + sqlite3_free(zOut); + return winLogError(SQLITE_CANTOPEN_CONVPATH, (DWORD)errno, + "winFullPathname1", zRelative); + }else{ + char *zUtf8 = winConvertToUtf8Filename(zOut); + if( !zUtf8 ){ + sqlite3_free(zOut); + return SQLITE_IOERR_NOMEM_BKPT; + } + sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s%c%s", + sqlite3_data_directory, winGetDirSep(), zUtf8); + sqlite3_free(zUtf8); + sqlite3_free(zOut); + } + }else{ + char *zOut = sqlite3MallocZero( pVfs->mxPathname+1 ); + if( !zOut ){ + return SQLITE_IOERR_NOMEM_BKPT; + } + if( cygwin_conv_path( + (osIsNT() ? CCP_POSIX_TO_WIN_W : CCP_POSIX_TO_WIN_A), + zRelative, zOut, pVfs->mxPathname+1)<0 ){ + sqlite3_free(zOut); + return winLogError(SQLITE_CANTOPEN_CONVPATH, (DWORD)errno, + "winFullPathname2", zRelative); + }else{ + char *zUtf8 = winConvertToUtf8Filename(zOut); + if( !zUtf8 ){ + sqlite3_free(zOut); + return SQLITE_IOERR_NOMEM_BKPT; + } + sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zUtf8); + sqlite3_free(zUtf8); + sqlite3_free(zOut); + } + } + return SQLITE_OK; +#endif + +#if (SQLITE_OS_WINCE || SQLITE_OS_WINRT) && !defined(__CYGWIN__) + SimulateIOError( return SQLITE_ERROR ); + /* WinCE has no concept of a relative pathname, or so I am told. */ + /* WinRT has no way to convert a relative path to an absolute one. */ + if ( sqlite3_data_directory && !winIsVerbatimPathname(zRelative) ){ + /* + ** NOTE: We are dealing with a relative path name and the data + ** directory has been set. Therefore, use it as the basis + ** for converting the relative path name to an absolute + ** one by prepending the data directory and a backslash. + */ + sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s%c%s", + sqlite3_data_directory, winGetDirSep(), zRelative); + }else{ + sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zRelative); + } + return SQLITE_OK; +#endif + +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && !defined(__CYGWIN__) + /* It's odd to simulate an io-error here, but really this is just + ** using the io-error infrastructure to test that SQLite handles this + ** function failing. This function could fail if, for example, the + ** current working directory has been unlinked. + */ + SimulateIOError( return SQLITE_ERROR ); + if ( sqlite3_data_directory && !winIsVerbatimPathname(zRelative) ){ + /* + ** NOTE: We are dealing with a relative path name and the data + ** directory has been set. Therefore, use it as the basis + ** for converting the relative path name to an absolute + ** one by prepending the data directory and a backslash. + */ + sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s%c%s", + sqlite3_data_directory, winGetDirSep(), zRelative); + return SQLITE_OK; + } + zConverted = winConvertFromUtf8Filename(zRelative); + if( zConverted==0 ){ + return SQLITE_IOERR_NOMEM_BKPT; + } + if( osIsNT() ){ + LPWSTR zTemp; + nByte = osGetFullPathNameW((LPCWSTR)zConverted, 0, 0, 0); + if( nByte==0 ){ + sqlite3_free(zConverted); + return winLogError(SQLITE_CANTOPEN_FULLPATH, osGetLastError(), + "winFullPathname1", zRelative); + } + nByte += 3; + zTemp = sqlite3MallocZero( nByte*sizeof(zTemp[0]) ); + if( zTemp==0 ){ + sqlite3_free(zConverted); + return SQLITE_IOERR_NOMEM_BKPT; + } + nByte = osGetFullPathNameW((LPCWSTR)zConverted, nByte, zTemp, 0); + if( nByte==0 ){ + sqlite3_free(zConverted); + sqlite3_free(zTemp); + return winLogError(SQLITE_CANTOPEN_FULLPATH, osGetLastError(), + "winFullPathname2", zRelative); + } + sqlite3_free(zConverted); + zOut = winUnicodeToUtf8(zTemp); + sqlite3_free(zTemp); + } +#ifdef SQLITE_WIN32_HAS_ANSI + else{ + char *zTemp; + nByte = osGetFullPathNameA((char*)zConverted, 0, 0, 0); + if( nByte==0 ){ + sqlite3_free(zConverted); + return winLogError(SQLITE_CANTOPEN_FULLPATH, osGetLastError(), + "winFullPathname3", zRelative); + } + nByte += 3; + zTemp = sqlite3MallocZero( nByte*sizeof(zTemp[0]) ); + if( zTemp==0 ){ + sqlite3_free(zConverted); + return SQLITE_IOERR_NOMEM_BKPT; + } + nByte = osGetFullPathNameA((char*)zConverted, nByte, zTemp, 0); + if( nByte==0 ){ + sqlite3_free(zConverted); + sqlite3_free(zTemp); + return winLogError(SQLITE_CANTOPEN_FULLPATH, osGetLastError(), + "winFullPathname4", zRelative); + } + sqlite3_free(zConverted); + zOut = winMbcsToUtf8(zTemp, osAreFileApisANSI()); + sqlite3_free(zTemp); + } +#endif + if( zOut ){ + sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zOut); + sqlite3_free(zOut); + return SQLITE_OK; + }else{ + return SQLITE_IOERR_NOMEM_BKPT; + } +#endif +} + +#ifndef SQLITE_OMIT_LOAD_EXTENSION +/* +** Interfaces for opening a shared library, finding entry points +** within the shared library, and closing the shared library. +*/ +static void *winDlOpen(sqlite3_vfs *pVfs, const char *zFilename){ + HANDLE h; +#if defined(__CYGWIN__) + int nFull = pVfs->mxPathname+1; + char *zFull = sqlite3MallocZero( nFull ); + void *zConverted = 0; + if( zFull==0 ){ + OSTRACE(("DLOPEN name=%s, handle=%p\n", zFilename, (void*)0)); + return 0; + } + if( winFullPathname(pVfs, zFilename, nFull, zFull)!=SQLITE_OK ){ + sqlite3_free(zFull); + OSTRACE(("DLOPEN name=%s, handle=%p\n", zFilename, (void*)0)); + return 0; + } + zConverted = winConvertFromUtf8Filename(zFull); + sqlite3_free(zFull); +#else + void *zConverted = winConvertFromUtf8Filename(zFilename); + UNUSED_PARAMETER(pVfs); +#endif + if( zConverted==0 ){ + OSTRACE(("DLOPEN name=%s, handle=%p\n", zFilename, (void*)0)); + return 0; + } + if( osIsNT() ){ +#if SQLITE_OS_WINRT + h = osLoadPackagedLibrary((LPCWSTR)zConverted, 0); +#else + h = osLoadLibraryW((LPCWSTR)zConverted); +#endif + } +#ifdef SQLITE_WIN32_HAS_ANSI + else{ + h = osLoadLibraryA((char*)zConverted); + } +#endif + OSTRACE(("DLOPEN name=%s, handle=%p\n", zFilename, (void*)h)); + sqlite3_free(zConverted); + return (void*)h; +} +static void winDlError(sqlite3_vfs *pVfs, int nBuf, char *zBufOut){ + UNUSED_PARAMETER(pVfs); + winGetLastErrorMsg(osGetLastError(), nBuf, zBufOut); +} +static void (*winDlSym(sqlite3_vfs *pVfs,void *pH,const char *zSym))(void){ + FARPROC proc; + UNUSED_PARAMETER(pVfs); + proc = osGetProcAddressA((HANDLE)pH, zSym); + OSTRACE(("DLSYM handle=%p, symbol=%s, address=%p\n", + (void*)pH, zSym, (void*)proc)); + return (void(*)(void))proc; +} +static void winDlClose(sqlite3_vfs *pVfs, void *pHandle){ + UNUSED_PARAMETER(pVfs); + osFreeLibrary((HANDLE)pHandle); + OSTRACE(("DLCLOSE handle=%p\n", (void*)pHandle)); +} +#else /* if SQLITE_OMIT_LOAD_EXTENSION is defined: */ + #define winDlOpen 0 + #define winDlError 0 + #define winDlSym 0 + #define winDlClose 0 +#endif + +/* State information for the randomness gatherer. */ +typedef struct EntropyGatherer EntropyGatherer; +struct EntropyGatherer { + unsigned char *a; /* Gather entropy into this buffer */ + int na; /* Size of a[] in bytes */ + int i; /* XOR next input into a[i] */ + int nXor; /* Number of XOR operations done */ +}; + +#if !defined(SQLITE_TEST) && !defined(SQLITE_OMIT_RANDOMNESS) +/* Mix sz bytes of entropy into p. */ +static void xorMemory(EntropyGatherer *p, unsigned char *x, int sz){ + int j, k; + for(j=0, k=p->i; ja[k++] ^= x[j]; + if( k>=p->na ) k = 0; + } + p->i = k; + p->nXor += sz; +} +#endif /* !defined(SQLITE_TEST) && !defined(SQLITE_OMIT_RANDOMNESS) */ + +/* +** Write up to nBuf bytes of randomness into zBuf. +*/ +static int winRandomness(sqlite3_vfs *pVfs, int nBuf, char *zBuf){ +#if defined(SQLITE_TEST) || defined(SQLITE_OMIT_RANDOMNESS) + UNUSED_PARAMETER(pVfs); + memset(zBuf, 0, nBuf); + return nBuf; +#else + EntropyGatherer e; + UNUSED_PARAMETER(pVfs); + memset(zBuf, 0, nBuf); + e.a = (unsigned char*)zBuf; + e.na = nBuf; + e.nXor = 0; + e.i = 0; + { + SYSTEMTIME x; + osGetSystemTime(&x); + xorMemory(&e, (unsigned char*)&x, sizeof(SYSTEMTIME)); + } + { + DWORD pid = osGetCurrentProcessId(); + xorMemory(&e, (unsigned char*)&pid, sizeof(DWORD)); + } +#if SQLITE_OS_WINRT + { + ULONGLONG cnt = osGetTickCount64(); + xorMemory(&e, (unsigned char*)&cnt, sizeof(ULONGLONG)); + } +#else + { + DWORD cnt = osGetTickCount(); + xorMemory(&e, (unsigned char*)&cnt, sizeof(DWORD)); + } +#endif /* SQLITE_OS_WINRT */ + { + LARGE_INTEGER i; + osQueryPerformanceCounter(&i); + xorMemory(&e, (unsigned char*)&i, sizeof(LARGE_INTEGER)); + } +#if !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && SQLITE_WIN32_USE_UUID + { + UUID id; + memset(&id, 0, sizeof(UUID)); + osUuidCreate(&id); + xorMemory(&e, (unsigned char*)&id, sizeof(UUID)); + memset(&id, 0, sizeof(UUID)); + osUuidCreateSequential(&id); + xorMemory(&e, (unsigned char*)&id, sizeof(UUID)); + } +#endif /* !SQLITE_OS_WINCE && !SQLITE_OS_WINRT && SQLITE_WIN32_USE_UUID */ + return e.nXor>nBuf ? nBuf : e.nXor; +#endif /* defined(SQLITE_TEST) || defined(SQLITE_OMIT_RANDOMNESS) */ +} + + +/* +** Sleep for a little while. Return the amount of time slept. +*/ +static int winSleep(sqlite3_vfs *pVfs, int microsec){ + sqlite3_win32_sleep((microsec+999)/1000); + UNUSED_PARAMETER(pVfs); + return ((microsec+999)/1000)*1000; +} + +/* +** The following variable, if set to a non-zero value, is interpreted as +** the number of seconds since 1970 and is used to set the result of +** sqlite3OsCurrentTime() during testing. +*/ +#ifdef SQLITE_TEST +SQLITE_API int sqlite3_current_time = 0; /* Fake system time in seconds since 1970. */ +#endif + +/* +** Find the current time (in Universal Coordinated Time). Write into *piNow +** the current time and date as a Julian Day number times 86_400_000. In +** other words, write into *piNow the number of milliseconds since the Julian +** epoch of noon in Greenwich on November 24, 4714 B.C according to the +** proleptic Gregorian calendar. +** +** On success, return SQLITE_OK. Return SQLITE_ERROR if the time and date +** cannot be found. +*/ +static int winCurrentTimeInt64(sqlite3_vfs *pVfs, sqlite3_int64 *piNow){ + /* FILETIME structure is a 64-bit value representing the number of + 100-nanosecond intervals since January 1, 1601 (= JD 2305813.5). + */ + FILETIME ft; + static const sqlite3_int64 winFiletimeEpoch = 23058135*(sqlite3_int64)8640000; +#ifdef SQLITE_TEST + static const sqlite3_int64 unixEpoch = 24405875*(sqlite3_int64)8640000; +#endif + /* 2^32 - to avoid use of LL and warnings in gcc */ + static const sqlite3_int64 max32BitValue = + (sqlite3_int64)2000000000 + (sqlite3_int64)2000000000 + + (sqlite3_int64)294967296; + +#if SQLITE_OS_WINCE + SYSTEMTIME time; + osGetSystemTime(&time); + /* if SystemTimeToFileTime() fails, it returns zero. */ + if (!osSystemTimeToFileTime(&time,&ft)){ + return SQLITE_ERROR; + } +#else + osGetSystemTimeAsFileTime( &ft ); +#endif + + *piNow = winFiletimeEpoch + + ((((sqlite3_int64)ft.dwHighDateTime)*max32BitValue) + + (sqlite3_int64)ft.dwLowDateTime)/(sqlite3_int64)10000; + +#ifdef SQLITE_TEST + if( sqlite3_current_time ){ + *piNow = 1000*(sqlite3_int64)sqlite3_current_time + unixEpoch; + } +#endif + UNUSED_PARAMETER(pVfs); + return SQLITE_OK; +} + +/* +** Find the current time (in Universal Coordinated Time). Write the +** current time and date as a Julian Day number into *prNow and +** return 0. Return 1 if the time and date cannot be found. +*/ +static int winCurrentTime(sqlite3_vfs *pVfs, double *prNow){ + int rc; + sqlite3_int64 i; + rc = winCurrentTimeInt64(pVfs, &i); + if( !rc ){ + *prNow = i/86400000.0; + } + return rc; +} + +/* +** The idea is that this function works like a combination of +** GetLastError() and FormatMessage() on Windows (or errno and +** strerror_r() on Unix). After an error is returned by an OS +** function, SQLite calls this function with zBuf pointing to +** a buffer of nBuf bytes. The OS layer should populate the +** buffer with a nul-terminated UTF-8 encoded error message +** describing the last IO error to have occurred within the calling +** thread. +** +** If the error message is too large for the supplied buffer, +** it should be truncated. The return value of xGetLastError +** is zero if the error message fits in the buffer, or non-zero +** otherwise (if the message was truncated). If non-zero is returned, +** then it is not necessary to include the nul-terminator character +** in the output buffer. +** +** Not supplying an error message will have no adverse effect +** on SQLite. It is fine to have an implementation that never +** returns an error message: +** +** int xGetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf){ +** assert(zBuf[0]=='\0'); +** return 0; +** } +** +** However if an error message is supplied, it will be incorporated +** by sqlite into the error message available to the user using +** sqlite3_errmsg(), possibly making IO errors easier to debug. +*/ +static int winGetLastError(sqlite3_vfs *pVfs, int nBuf, char *zBuf){ + DWORD e = osGetLastError(); + UNUSED_PARAMETER(pVfs); + if( nBuf>0 ) winGetLastErrorMsg(e, nBuf, zBuf); + return e; +} + +/* +** Initialize and deinitialize the operating system interface. +*/ +SQLITE_API int sqlite3_os_init(void){ + static sqlite3_vfs winVfs = { + 3, /* iVersion */ + sizeof(winFile), /* szOsFile */ + SQLITE_WIN32_MAX_PATH_BYTES, /* mxPathname */ + 0, /* pNext */ + "win32", /* zName */ + &winAppData, /* pAppData */ + winOpen, /* xOpen */ + winDelete, /* xDelete */ + winAccess, /* xAccess */ + winFullPathname, /* xFullPathname */ + winDlOpen, /* xDlOpen */ + winDlError, /* xDlError */ + winDlSym, /* xDlSym */ + winDlClose, /* xDlClose */ + winRandomness, /* xRandomness */ + winSleep, /* xSleep */ + winCurrentTime, /* xCurrentTime */ + winGetLastError, /* xGetLastError */ + winCurrentTimeInt64, /* xCurrentTimeInt64 */ + winSetSystemCall, /* xSetSystemCall */ + winGetSystemCall, /* xGetSystemCall */ + winNextSystemCall, /* xNextSystemCall */ + }; +#if defined(SQLITE_WIN32_HAS_WIDE) + static sqlite3_vfs winLongPathVfs = { + 3, /* iVersion */ + sizeof(winFile), /* szOsFile */ + SQLITE_WINNT_MAX_PATH_BYTES, /* mxPathname */ + 0, /* pNext */ + "win32-longpath", /* zName */ + &winAppData, /* pAppData */ + winOpen, /* xOpen */ + winDelete, /* xDelete */ + winAccess, /* xAccess */ + winFullPathname, /* xFullPathname */ + winDlOpen, /* xDlOpen */ + winDlError, /* xDlError */ + winDlSym, /* xDlSym */ + winDlClose, /* xDlClose */ + winRandomness, /* xRandomness */ + winSleep, /* xSleep */ + winCurrentTime, /* xCurrentTime */ + winGetLastError, /* xGetLastError */ + winCurrentTimeInt64, /* xCurrentTimeInt64 */ + winSetSystemCall, /* xSetSystemCall */ + winGetSystemCall, /* xGetSystemCall */ + winNextSystemCall, /* xNextSystemCall */ + }; +#endif + static sqlite3_vfs winNolockVfs = { + 3, /* iVersion */ + sizeof(winFile), /* szOsFile */ + SQLITE_WIN32_MAX_PATH_BYTES, /* mxPathname */ + 0, /* pNext */ + "win32-none", /* zName */ + &winNolockAppData, /* pAppData */ + winOpen, /* xOpen */ + winDelete, /* xDelete */ + winAccess, /* xAccess */ + winFullPathname, /* xFullPathname */ + winDlOpen, /* xDlOpen */ + winDlError, /* xDlError */ + winDlSym, /* xDlSym */ + winDlClose, /* xDlClose */ + winRandomness, /* xRandomness */ + winSleep, /* xSleep */ + winCurrentTime, /* xCurrentTime */ + winGetLastError, /* xGetLastError */ + winCurrentTimeInt64, /* xCurrentTimeInt64 */ + winSetSystemCall, /* xSetSystemCall */ + winGetSystemCall, /* xGetSystemCall */ + winNextSystemCall, /* xNextSystemCall */ + }; +#if defined(SQLITE_WIN32_HAS_WIDE) + static sqlite3_vfs winLongPathNolockVfs = { + 3, /* iVersion */ + sizeof(winFile), /* szOsFile */ + SQLITE_WINNT_MAX_PATH_BYTES, /* mxPathname */ + 0, /* pNext */ + "win32-longpath-none", /* zName */ + &winNolockAppData, /* pAppData */ + winOpen, /* xOpen */ + winDelete, /* xDelete */ + winAccess, /* xAccess */ + winFullPathname, /* xFullPathname */ + winDlOpen, /* xDlOpen */ + winDlError, /* xDlError */ + winDlSym, /* xDlSym */ + winDlClose, /* xDlClose */ + winRandomness, /* xRandomness */ + winSleep, /* xSleep */ + winCurrentTime, /* xCurrentTime */ + winGetLastError, /* xGetLastError */ + winCurrentTimeInt64, /* xCurrentTimeInt64 */ + winSetSystemCall, /* xSetSystemCall */ + winGetSystemCall, /* xGetSystemCall */ + winNextSystemCall, /* xNextSystemCall */ + }; +#endif + + /* Double-check that the aSyscall[] array has been constructed + ** correctly. See ticket [bb3a86e890c8e96ab] */ + assert( ArraySize(aSyscall)==80 ); + + /* get memory map allocation granularity */ + memset(&winSysInfo, 0, sizeof(SYSTEM_INFO)); +#if SQLITE_OS_WINRT + osGetNativeSystemInfo(&winSysInfo); +#else + osGetSystemInfo(&winSysInfo); +#endif + assert( winSysInfo.dwAllocationGranularity>0 ); + assert( winSysInfo.dwPageSize>0 ); + + sqlite3_vfs_register(&winVfs, 1); + +#if defined(SQLITE_WIN32_HAS_WIDE) + sqlite3_vfs_register(&winLongPathVfs, 0); +#endif + + sqlite3_vfs_register(&winNolockVfs, 0); + +#if defined(SQLITE_WIN32_HAS_WIDE) + sqlite3_vfs_register(&winLongPathNolockVfs, 0); +#endif + +#ifndef SQLITE_OMIT_WAL + winBigLock = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_VFS1); +#endif + + return SQLITE_OK; +} + +SQLITE_API int sqlite3_os_end(void){ +#if SQLITE_OS_WINRT + if( sleepObj!=NULL ){ + osCloseHandle(sleepObj); + sleepObj = NULL; + } +#endif + +#ifndef SQLITE_OMIT_WAL + winBigLock = 0; +#endif + + return SQLITE_OK; +} + +#endif /* SQLITE_OS_WIN */ + +/************** End of os_win.c **********************************************/ +/************** Begin file memdb.c *******************************************/ +/* +** 2016-09-07 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file implements an in-memory VFS. A database is held as a contiguous +** block of memory. +** +** This file also implements interface sqlite3_serialize() and +** sqlite3_deserialize(). +*/ +/* #include "sqliteInt.h" */ +#ifdef SQLITE_ENABLE_DESERIALIZE + +/* +** Forward declaration of objects used by this utility +*/ +typedef struct sqlite3_vfs MemVfs; +typedef struct MemFile MemFile; + +/* Access to a lower-level VFS that (might) implement dynamic loading, +** access to randomness, etc. +*/ +#define ORIGVFS(p) ((sqlite3_vfs*)((p)->pAppData)) + +/* An open file */ +struct MemFile { + sqlite3_file base; /* IO methods */ + sqlite3_int64 sz; /* Size of the file */ + sqlite3_int64 szAlloc; /* Space allocated to aData */ + sqlite3_int64 szMax; /* Maximum allowed size of the file */ + unsigned char *aData; /* content of the file */ + int nMmap; /* Number of memory mapped pages */ + unsigned mFlags; /* Flags */ + int eLock; /* Most recent lock against this file */ +}; + +/* +** Methods for MemFile +*/ +static int memdbClose(sqlite3_file*); +static int memdbRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst); +static int memdbWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64 iOfst); +static int memdbTruncate(sqlite3_file*, sqlite3_int64 size); +static int memdbSync(sqlite3_file*, int flags); +static int memdbFileSize(sqlite3_file*, sqlite3_int64 *pSize); +static int memdbLock(sqlite3_file*, int); +/* static int memdbCheckReservedLock(sqlite3_file*, int *pResOut);// not used */ +static int memdbFileControl(sqlite3_file*, int op, void *pArg); +/* static int memdbSectorSize(sqlite3_file*); // not used */ +static int memdbDeviceCharacteristics(sqlite3_file*); +static int memdbFetch(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp); +static int memdbUnfetch(sqlite3_file*, sqlite3_int64 iOfst, void *p); + +/* +** Methods for MemVfs +*/ +static int memdbOpen(sqlite3_vfs*, const char *, sqlite3_file*, int , int *); +/* static int memdbDelete(sqlite3_vfs*, const char *zName, int syncDir); */ +static int memdbAccess(sqlite3_vfs*, const char *zName, int flags, int *); +static int memdbFullPathname(sqlite3_vfs*, const char *zName, int, char *zOut); +static void *memdbDlOpen(sqlite3_vfs*, const char *zFilename); +static void memdbDlError(sqlite3_vfs*, int nByte, char *zErrMsg); +static void (*memdbDlSym(sqlite3_vfs *pVfs, void *p, const char*zSym))(void); +static void memdbDlClose(sqlite3_vfs*, void*); +static int memdbRandomness(sqlite3_vfs*, int nByte, char *zOut); +static int memdbSleep(sqlite3_vfs*, int microseconds); +/* static int memdbCurrentTime(sqlite3_vfs*, double*); */ +static int memdbGetLastError(sqlite3_vfs*, int, char *); +static int memdbCurrentTimeInt64(sqlite3_vfs*, sqlite3_int64*); + +static sqlite3_vfs memdb_vfs = { + 2, /* iVersion */ + 0, /* szOsFile (set when registered) */ + 1024, /* mxPathname */ + 0, /* pNext */ + "memdb", /* zName */ + 0, /* pAppData (set when registered) */ + memdbOpen, /* xOpen */ + 0, /* memdbDelete, */ /* xDelete */ + memdbAccess, /* xAccess */ + memdbFullPathname, /* xFullPathname */ + memdbDlOpen, /* xDlOpen */ + memdbDlError, /* xDlError */ + memdbDlSym, /* xDlSym */ + memdbDlClose, /* xDlClose */ + memdbRandomness, /* xRandomness */ + memdbSleep, /* xSleep */ + 0, /* memdbCurrentTime, */ /* xCurrentTime */ + memdbGetLastError, /* xGetLastError */ + memdbCurrentTimeInt64 /* xCurrentTimeInt64 */ +}; + +static const sqlite3_io_methods memdb_io_methods = { + 3, /* iVersion */ + memdbClose, /* xClose */ + memdbRead, /* xRead */ + memdbWrite, /* xWrite */ + memdbTruncate, /* xTruncate */ + memdbSync, /* xSync */ + memdbFileSize, /* xFileSize */ + memdbLock, /* xLock */ + memdbLock, /* xUnlock - same as xLock in this case */ + 0, /* memdbCheckReservedLock, */ /* xCheckReservedLock */ + memdbFileControl, /* xFileControl */ + 0, /* memdbSectorSize,*/ /* xSectorSize */ + memdbDeviceCharacteristics, /* xDeviceCharacteristics */ + 0, /* xShmMap */ + 0, /* xShmLock */ + 0, /* xShmBarrier */ + 0, /* xShmUnmap */ + memdbFetch, /* xFetch */ + memdbUnfetch /* xUnfetch */ +}; + + + +/* +** Close an memdb-file. +** +** The pData pointer is owned by the application, so there is nothing +** to free. +*/ +static int memdbClose(sqlite3_file *pFile){ + MemFile *p = (MemFile *)pFile; + if( p->mFlags & SQLITE_DESERIALIZE_FREEONCLOSE ) sqlite3_free(p->aData); + return SQLITE_OK; +} + +/* +** Read data from an memdb-file. +*/ +static int memdbRead( + sqlite3_file *pFile, + void *zBuf, + int iAmt, + sqlite_int64 iOfst +){ + MemFile *p = (MemFile *)pFile; + if( iOfst+iAmt>p->sz ){ + memset(zBuf, 0, iAmt); + if( iOfstsz ) memcpy(zBuf, p->aData+iOfst, p->sz - iOfst); + return SQLITE_IOERR_SHORT_READ; + } + memcpy(zBuf, p->aData+iOfst, iAmt); + return SQLITE_OK; +} + +/* +** Try to enlarge the memory allocation to hold at least sz bytes +*/ +static int memdbEnlarge(MemFile *p, sqlite3_int64 newSz){ + unsigned char *pNew; + if( (p->mFlags & SQLITE_DESERIALIZE_RESIZEABLE)==0 || p->nMmap>0 ){ + return SQLITE_FULL; + } + if( newSz>p->szMax ){ + return SQLITE_FULL; + } + newSz *= 2; + if( newSz>p->szMax ) newSz = p->szMax; + pNew = sqlite3_realloc64(p->aData, newSz); + if( pNew==0 ) return SQLITE_NOMEM; + p->aData = pNew; + p->szAlloc = newSz; + return SQLITE_OK; +} + +/* +** Write data to an memdb-file. +*/ +static int memdbWrite( + sqlite3_file *pFile, + const void *z, + int iAmt, + sqlite_int64 iOfst +){ + MemFile *p = (MemFile *)pFile; + if( NEVER(p->mFlags & SQLITE_DESERIALIZE_READONLY) ) return SQLITE_READONLY; + if( iOfst+iAmt>p->sz ){ + int rc; + if( iOfst+iAmt>p->szAlloc + && (rc = memdbEnlarge(p, iOfst+iAmt))!=SQLITE_OK + ){ + return rc; + } + if( iOfst>p->sz ) memset(p->aData+p->sz, 0, iOfst-p->sz); + p->sz = iOfst+iAmt; + } + memcpy(p->aData+iOfst, z, iAmt); + return SQLITE_OK; +} + +/* +** Truncate an memdb-file. +** +** In rollback mode (which is always the case for memdb, as it does not +** support WAL mode) the truncate() method is only used to reduce +** the size of a file, never to increase the size. +*/ +static int memdbTruncate(sqlite3_file *pFile, sqlite_int64 size){ + MemFile *p = (MemFile *)pFile; + if( NEVER(size>p->sz) ) return SQLITE_FULL; + p->sz = size; + return SQLITE_OK; +} + +/* +** Sync an memdb-file. +*/ +static int memdbSync(sqlite3_file *pFile, int flags){ + return SQLITE_OK; +} + +/* +** Return the current file-size of an memdb-file. +*/ +static int memdbFileSize(sqlite3_file *pFile, sqlite_int64 *pSize){ + MemFile *p = (MemFile *)pFile; + *pSize = p->sz; + return SQLITE_OK; +} + +/* +** Lock an memdb-file. +*/ +static int memdbLock(sqlite3_file *pFile, int eLock){ + MemFile *p = (MemFile *)pFile; + if( eLock>SQLITE_LOCK_SHARED + && (p->mFlags & SQLITE_DESERIALIZE_READONLY)!=0 + ){ + return SQLITE_READONLY; + } + p->eLock = eLock; + return SQLITE_OK; +} + +#if 0 /* Never used because memdbAccess() always returns false */ +/* +** Check if another file-handle holds a RESERVED lock on an memdb-file. +*/ +static int memdbCheckReservedLock(sqlite3_file *pFile, int *pResOut){ + *pResOut = 0; + return SQLITE_OK; +} +#endif + +/* +** File control method. For custom operations on an memdb-file. +*/ +static int memdbFileControl(sqlite3_file *pFile, int op, void *pArg){ + MemFile *p = (MemFile *)pFile; + int rc = SQLITE_NOTFOUND; + if( op==SQLITE_FCNTL_VFSNAME ){ + *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz); + rc = SQLITE_OK; + } + if( op==SQLITE_FCNTL_SIZE_LIMIT ){ + sqlite3_int64 iLimit = *(sqlite3_int64*)pArg; + if( iLimitsz ){ + if( iLimit<0 ){ + iLimit = p->szMax; + }else{ + iLimit = p->sz; + } + } + p->szMax = iLimit; + *(sqlite3_int64*)pArg = iLimit; + rc = SQLITE_OK; + } + return rc; +} + +#if 0 /* Not used because of SQLITE_IOCAP_POWERSAFE_OVERWRITE */ +/* +** Return the sector-size in bytes for an memdb-file. +*/ +static int memdbSectorSize(sqlite3_file *pFile){ + return 1024; +} +#endif + +/* +** Return the device characteristic flags supported by an memdb-file. +*/ +static int memdbDeviceCharacteristics(sqlite3_file *pFile){ + return SQLITE_IOCAP_ATOMIC | + SQLITE_IOCAP_POWERSAFE_OVERWRITE | + SQLITE_IOCAP_SAFE_APPEND | + SQLITE_IOCAP_SEQUENTIAL; +} + +/* Fetch a page of a memory-mapped file */ +static int memdbFetch( + sqlite3_file *pFile, + sqlite3_int64 iOfst, + int iAmt, + void **pp +){ + MemFile *p = (MemFile *)pFile; + if( iOfst+iAmt>p->sz ){ + *pp = 0; + }else{ + p->nMmap++; + *pp = (void*)(p->aData + iOfst); + } + return SQLITE_OK; +} + +/* Release a memory-mapped page */ +static int memdbUnfetch(sqlite3_file *pFile, sqlite3_int64 iOfst, void *pPage){ + MemFile *p = (MemFile *)pFile; + p->nMmap--; + return SQLITE_OK; +} + +/* +** Open an mem file handle. +*/ +static int memdbOpen( + sqlite3_vfs *pVfs, + const char *zName, + sqlite3_file *pFile, + int flags, + int *pOutFlags +){ + MemFile *p = (MemFile*)pFile; + if( (flags & SQLITE_OPEN_MAIN_DB)==0 ){ + return ORIGVFS(pVfs)->xOpen(ORIGVFS(pVfs), zName, pFile, flags, pOutFlags); + } + memset(p, 0, sizeof(*p)); + p->mFlags = SQLITE_DESERIALIZE_RESIZEABLE | SQLITE_DESERIALIZE_FREEONCLOSE; + assert( pOutFlags!=0 ); /* True because flags==SQLITE_OPEN_MAIN_DB */ + *pOutFlags = flags | SQLITE_OPEN_MEMORY; + p->base.pMethods = &memdb_io_methods; + p->szMax = sqlite3GlobalConfig.mxMemdbSize; + return SQLITE_OK; +} + +#if 0 /* Only used to delete rollback journals, master journals, and WAL + ** files, none of which exist in memdb. So this routine is never used */ +/* +** Delete the file located at zPath. If the dirSync argument is true, +** ensure the file-system modifications are synced to disk before +** returning. +*/ +static int memdbDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ + return SQLITE_IOERR_DELETE; +} +#endif + +/* +** Test for access permissions. Return true if the requested permission +** is available, or false otherwise. +** +** With memdb, no files ever exist on disk. So always return false. +*/ +static int memdbAccess( + sqlite3_vfs *pVfs, + const char *zPath, + int flags, + int *pResOut +){ + *pResOut = 0; + return SQLITE_OK; +} + +/* +** Populate buffer zOut with the full canonical pathname corresponding +** to the pathname in zPath. zOut is guaranteed to point to a buffer +** of at least (INST_MAX_PATHNAME+1) bytes. +*/ +static int memdbFullPathname( + sqlite3_vfs *pVfs, + const char *zPath, + int nOut, + char *zOut +){ + sqlite3_snprintf(nOut, zOut, "%s", zPath); + return SQLITE_OK; +} + +/* +** Open the dynamic library located at zPath and return a handle. +*/ +static void *memdbDlOpen(sqlite3_vfs *pVfs, const char *zPath){ + return ORIGVFS(pVfs)->xDlOpen(ORIGVFS(pVfs), zPath); +} + +/* +** Populate the buffer zErrMsg (size nByte bytes) with a human readable +** utf-8 string describing the most recent error encountered associated +** with dynamic libraries. +*/ +static void memdbDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){ + ORIGVFS(pVfs)->xDlError(ORIGVFS(pVfs), nByte, zErrMsg); +} + +/* +** Return a pointer to the symbol zSymbol in the dynamic library pHandle. +*/ +static void (*memdbDlSym(sqlite3_vfs *pVfs, void *p, const char *zSym))(void){ + return ORIGVFS(pVfs)->xDlSym(ORIGVFS(pVfs), p, zSym); +} + +/* +** Close the dynamic library handle pHandle. +*/ +static void memdbDlClose(sqlite3_vfs *pVfs, void *pHandle){ + ORIGVFS(pVfs)->xDlClose(ORIGVFS(pVfs), pHandle); +} + +/* +** Populate the buffer pointed to by zBufOut with nByte bytes of +** random data. +*/ +static int memdbRandomness(sqlite3_vfs *pVfs, int nByte, char *zBufOut){ + return ORIGVFS(pVfs)->xRandomness(ORIGVFS(pVfs), nByte, zBufOut); +} + +/* +** Sleep for nMicro microseconds. Return the number of microseconds +** actually slept. +*/ +static int memdbSleep(sqlite3_vfs *pVfs, int nMicro){ + return ORIGVFS(pVfs)->xSleep(ORIGVFS(pVfs), nMicro); +} + +#if 0 /* Never used. Modern cores only call xCurrentTimeInt64() */ +/* +** Return the current time as a Julian Day number in *pTimeOut. +*/ +static int memdbCurrentTime(sqlite3_vfs *pVfs, double *pTimeOut){ + return ORIGVFS(pVfs)->xCurrentTime(ORIGVFS(pVfs), pTimeOut); +} +#endif + +static int memdbGetLastError(sqlite3_vfs *pVfs, int a, char *b){ + return ORIGVFS(pVfs)->xGetLastError(ORIGVFS(pVfs), a, b); +} +static int memdbCurrentTimeInt64(sqlite3_vfs *pVfs, sqlite3_int64 *p){ + return ORIGVFS(pVfs)->xCurrentTimeInt64(ORIGVFS(pVfs), p); +} + +/* +** Translate a database connection pointer and schema name into a +** MemFile pointer. +*/ +static MemFile *memdbFromDbSchema(sqlite3 *db, const char *zSchema){ + MemFile *p = 0; + int rc = sqlite3_file_control(db, zSchema, SQLITE_FCNTL_FILE_POINTER, &p); + if( rc ) return 0; + if( p->base.pMethods!=&memdb_io_methods ) return 0; + return p; +} + +/* +** Return the serialization of a database +*/ +SQLITE_API unsigned char *sqlite3_serialize( + sqlite3 *db, /* The database connection */ + const char *zSchema, /* Which database within the connection */ + sqlite3_int64 *piSize, /* Write size here, if not NULL */ + unsigned int mFlags /* Maybe SQLITE_SERIALIZE_NOCOPY */ +){ + MemFile *p; + int iDb; + Btree *pBt; + sqlite3_int64 sz; + int szPage = 0; + sqlite3_stmt *pStmt = 0; + unsigned char *pOut; + char *zSql; + int rc; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + + if( zSchema==0 ) zSchema = db->aDb[0].zDbSName; + p = memdbFromDbSchema(db, zSchema); + iDb = sqlite3FindDbName(db, zSchema); + if( piSize ) *piSize = -1; + if( iDb<0 ) return 0; + if( p ){ + if( piSize ) *piSize = p->sz; + if( mFlags & SQLITE_SERIALIZE_NOCOPY ){ + pOut = p->aData; + }else{ + pOut = sqlite3_malloc64( p->sz ); + if( pOut ) memcpy(pOut, p->aData, p->sz); + } + return pOut; + } + pBt = db->aDb[iDb].pBt; + if( pBt==0 ) return 0; + szPage = sqlite3BtreeGetPageSize(pBt); + zSql = sqlite3_mprintf("PRAGMA \"%w\".page_count", zSchema); + rc = zSql ? sqlite3_prepare_v2(db, zSql, -1, &pStmt, 0) : SQLITE_NOMEM; + sqlite3_free(zSql); + if( rc ) return 0; + rc = sqlite3_step(pStmt); + if( rc!=SQLITE_ROW ){ + pOut = 0; + }else{ + sz = sqlite3_column_int64(pStmt, 0)*szPage; + if( piSize ) *piSize = sz; + if( mFlags & SQLITE_SERIALIZE_NOCOPY ){ + pOut = 0; + }else{ + pOut = sqlite3_malloc64( sz ); + if( pOut ){ + int nPage = sqlite3_column_int(pStmt, 0); + Pager *pPager = sqlite3BtreePager(pBt); + int pgno; + for(pgno=1; pgno<=nPage; pgno++){ + DbPage *pPage = 0; + unsigned char *pTo = pOut + szPage*(sqlite3_int64)(pgno-1); + rc = sqlite3PagerGet(pPager, pgno, (DbPage**)&pPage, 0); + if( rc==SQLITE_OK ){ + memcpy(pTo, sqlite3PagerGetData(pPage), szPage); + }else{ + memset(pTo, 0, szPage); + } + sqlite3PagerUnref(pPage); + } + } + } + } + sqlite3_finalize(pStmt); + return pOut; +} + +/* Convert zSchema to a MemDB and initialize its content. +*/ +SQLITE_API int sqlite3_deserialize( + sqlite3 *db, /* The database connection */ + const char *zSchema, /* Which DB to reopen with the deserialization */ + unsigned char *pData, /* The serialized database content */ + sqlite3_int64 szDb, /* Number bytes in the deserialization */ + sqlite3_int64 szBuf, /* Total size of buffer pData[] */ + unsigned mFlags /* Zero or more SQLITE_DESERIALIZE_* flags */ +){ + MemFile *p; + char *zSql; + sqlite3_stmt *pStmt = 0; + int rc; + int iDb; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + return SQLITE_MISUSE_BKPT; + } + if( szDb<0 ) return SQLITE_MISUSE_BKPT; + if( szBuf<0 ) return SQLITE_MISUSE_BKPT; +#endif + + sqlite3_mutex_enter(db->mutex); + if( zSchema==0 ) zSchema = db->aDb[0].zDbSName; + iDb = sqlite3FindDbName(db, zSchema); + if( iDb<0 ){ + rc = SQLITE_ERROR; + goto end_deserialize; + } + zSql = sqlite3_mprintf("ATTACH x AS %Q", zSchema); + rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, 0); + sqlite3_free(zSql); + if( rc ) goto end_deserialize; + db->init.iDb = (u8)iDb; + db->init.reopenMemdb = 1; + rc = sqlite3_step(pStmt); + db->init.reopenMemdb = 0; + if( rc!=SQLITE_DONE ){ + rc = SQLITE_ERROR; + goto end_deserialize; + } + p = memdbFromDbSchema(db, zSchema); + if( p==0 ){ + rc = SQLITE_ERROR; + }else{ + p->aData = pData; + p->sz = szDb; + p->szAlloc = szBuf; + p->szMax = szBuf; + if( p->szMaxszMax = sqlite3GlobalConfig.mxMemdbSize; + } + p->mFlags = mFlags; + rc = SQLITE_OK; + } + +end_deserialize: + sqlite3_finalize(pStmt); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +/* +** This routine is called when the extension is loaded. +** Register the new VFS. +*/ +SQLITE_PRIVATE int sqlite3MemdbInit(void){ + sqlite3_vfs *pLower = sqlite3_vfs_find(0); + int sz = pLower->szOsFile; + memdb_vfs.pAppData = pLower; + /* In all known configurations of SQLite, the size of a default + ** sqlite3_file is greater than the size of a memdb sqlite3_file. + ** Should that ever change, remove the following NEVER() */ + if( NEVER(szBITVEC_NBIT and iDivisor==0 then Bitvec.u.aHash[] is +** a hash table that will hold up to BITVEC_MXHASH distinct values. +** +** Otherwise, the value i is redirected into one of BITVEC_NPTR +** sub-bitmaps pointed to by Bitvec.u.apSub[]. Each subbitmap +** handles up to iDivisor separate values of i. apSub[0] holds +** values between 1 and iDivisor. apSub[1] holds values between +** iDivisor+1 and 2*iDivisor. apSub[N] holds values between +** N*iDivisor+1 and (N+1)*iDivisor. Each subbitmap is normalized +** to hold deal with values between 1 and iDivisor. +*/ +struct Bitvec { + u32 iSize; /* Maximum bit index. Max iSize is 4,294,967,296. */ + u32 nSet; /* Number of bits that are set - only valid for aHash + ** element. Max is BITVEC_NINT. For BITVEC_SZ of 512, + ** this would be 125. */ + u32 iDivisor; /* Number of bits handled by each apSub[] entry. */ + /* Should >=0 for apSub element. */ + /* Max iDivisor is max(u32) / BITVEC_NPTR + 1. */ + /* For a BITVEC_SZ of 512, this would be 34,359,739. */ + union { + BITVEC_TELEM aBitmap[BITVEC_NELEM]; /* Bitmap representation */ + u32 aHash[BITVEC_NINT]; /* Hash table representation */ + Bitvec *apSub[BITVEC_NPTR]; /* Recursive representation */ + } u; +}; + +/* +** Create a new bitmap object able to handle bits between 0 and iSize, +** inclusive. Return a pointer to the new object. Return NULL if +** malloc fails. +*/ +SQLITE_PRIVATE Bitvec *sqlite3BitvecCreate(u32 iSize){ + Bitvec *p; + assert( sizeof(*p)==BITVEC_SZ ); + p = sqlite3MallocZero( sizeof(*p) ); + if( p ){ + p->iSize = iSize; + } + return p; +} + +/* +** Check to see if the i-th bit is set. Return true or false. +** If p is NULL (if the bitmap has not been created) or if +** i is out of range, then return false. +*/ +SQLITE_PRIVATE int sqlite3BitvecTestNotNull(Bitvec *p, u32 i){ + assert( p!=0 ); + i--; + if( i>=p->iSize ) return 0; + while( p->iDivisor ){ + u32 bin = i/p->iDivisor; + i = i%p->iDivisor; + p = p->u.apSub[bin]; + if (!p) { + return 0; + } + } + if( p->iSize<=BITVEC_NBIT ){ + return (p->u.aBitmap[i/BITVEC_SZELEM] & (1<<(i&(BITVEC_SZELEM-1))))!=0; + } else{ + u32 h = BITVEC_HASH(i++); + while( p->u.aHash[h] ){ + if( p->u.aHash[h]==i ) return 1; + h = (h+1) % BITVEC_NINT; + } + return 0; + } +} +SQLITE_PRIVATE int sqlite3BitvecTest(Bitvec *p, u32 i){ + return p!=0 && sqlite3BitvecTestNotNull(p,i); +} + +/* +** Set the i-th bit. Return 0 on success and an error code if +** anything goes wrong. +** +** This routine might cause sub-bitmaps to be allocated. Failing +** to get the memory needed to hold the sub-bitmap is the only +** that can go wrong with an insert, assuming p and i are valid. +** +** The calling function must ensure that p is a valid Bitvec object +** and that the value for "i" is within range of the Bitvec object. +** Otherwise the behavior is undefined. +*/ +SQLITE_PRIVATE int sqlite3BitvecSet(Bitvec *p, u32 i){ + u32 h; + if( p==0 ) return SQLITE_OK; + assert( i>0 ); + assert( i<=p->iSize ); + i--; + while((p->iSize > BITVEC_NBIT) && p->iDivisor) { + u32 bin = i/p->iDivisor; + i = i%p->iDivisor; + if( p->u.apSub[bin]==0 ){ + p->u.apSub[bin] = sqlite3BitvecCreate( p->iDivisor ); + if( p->u.apSub[bin]==0 ) return SQLITE_NOMEM_BKPT; + } + p = p->u.apSub[bin]; + } + if( p->iSize<=BITVEC_NBIT ){ + p->u.aBitmap[i/BITVEC_SZELEM] |= 1 << (i&(BITVEC_SZELEM-1)); + return SQLITE_OK; + } + h = BITVEC_HASH(i++); + /* if there wasn't a hash collision, and this doesn't */ + /* completely fill the hash, then just add it without */ + /* worring about sub-dividing and re-hashing. */ + if( !p->u.aHash[h] ){ + if (p->nSet<(BITVEC_NINT-1)) { + goto bitvec_set_end; + } else { + goto bitvec_set_rehash; + } + } + /* there was a collision, check to see if it's already */ + /* in hash, if not, try to find a spot for it */ + do { + if( p->u.aHash[h]==i ) return SQLITE_OK; + h++; + if( h>=BITVEC_NINT ) h = 0; + } while( p->u.aHash[h] ); + /* we didn't find it in the hash. h points to the first */ + /* available free spot. check to see if this is going to */ + /* make our hash too "full". */ +bitvec_set_rehash: + if( p->nSet>=BITVEC_MXHASH ){ + unsigned int j; + int rc; + u32 *aiValues = sqlite3StackAllocRaw(0, sizeof(p->u.aHash)); + if( aiValues==0 ){ + return SQLITE_NOMEM_BKPT; + }else{ + memcpy(aiValues, p->u.aHash, sizeof(p->u.aHash)); + memset(p->u.apSub, 0, sizeof(p->u.apSub)); + p->iDivisor = (p->iSize + BITVEC_NPTR - 1)/BITVEC_NPTR; + rc = sqlite3BitvecSet(p, i); + for(j=0; jnSet++; + p->u.aHash[h] = i; + return SQLITE_OK; +} + +/* +** Clear the i-th bit. +** +** pBuf must be a pointer to at least BITVEC_SZ bytes of temporary storage +** that BitvecClear can use to rebuilt its hash table. +*/ +SQLITE_PRIVATE void sqlite3BitvecClear(Bitvec *p, u32 i, void *pBuf){ + if( p==0 ) return; + assert( i>0 ); + i--; + while( p->iDivisor ){ + u32 bin = i/p->iDivisor; + i = i%p->iDivisor; + p = p->u.apSub[bin]; + if (!p) { + return; + } + } + if( p->iSize<=BITVEC_NBIT ){ + p->u.aBitmap[i/BITVEC_SZELEM] &= ~(1 << (i&(BITVEC_SZELEM-1))); + }else{ + unsigned int j; + u32 *aiValues = pBuf; + memcpy(aiValues, p->u.aHash, sizeof(p->u.aHash)); + memset(p->u.aHash, 0, sizeof(p->u.aHash)); + p->nSet = 0; + for(j=0; jnSet++; + while( p->u.aHash[h] ){ + h++; + if( h>=BITVEC_NINT ) h = 0; + } + p->u.aHash[h] = aiValues[j]; + } + } + } +} + +/* +** Destroy a bitmap object. Reclaim all memory used. +*/ +SQLITE_PRIVATE void sqlite3BitvecDestroy(Bitvec *p){ + if( p==0 ) return; + if( p->iDivisor ){ + unsigned int i; + for(i=0; iu.apSub[i]); + } + } + sqlite3_free(p); +} + +/* +** Return the value of the iSize parameter specified when Bitvec *p +** was created. +*/ +SQLITE_PRIVATE u32 sqlite3BitvecSize(Bitvec *p){ + return p->iSize; +} + +#ifndef SQLITE_UNTESTABLE +/* +** Let V[] be an array of unsigned characters sufficient to hold +** up to N bits. Let I be an integer between 0 and N. 0<=I>3] |= (1<<(I&7)) +#define CLEARBIT(V,I) V[I>>3] &= ~(1<<(I&7)) +#define TESTBIT(V,I) (V[I>>3]&(1<<(I&7)))!=0 + +/* +** This routine runs an extensive test of the Bitvec code. +** +** The input is an array of integers that acts as a program +** to test the Bitvec. The integers are opcodes followed +** by 0, 1, or 3 operands, depending on the opcode. Another +** opcode follows immediately after the last operand. +** +** There are 6 opcodes numbered from 0 through 5. 0 is the +** "halt" opcode and causes the test to end. +** +** 0 Halt and return the number of errors +** 1 N S X Set N bits beginning with S and incrementing by X +** 2 N S X Clear N bits beginning with S and incrementing by X +** 3 N Set N randomly chosen bits +** 4 N Clear N randomly chosen bits +** 5 N S X Set N bits from S increment X in array only, not in bitvec +** +** The opcodes 1 through 4 perform set and clear operations are performed +** on both a Bitvec object and on a linear array of bits obtained from malloc. +** Opcode 5 works on the linear array only, not on the Bitvec. +** Opcode 5 is used to deliberately induce a fault in order to +** confirm that error detection works. +** +** At the conclusion of the test the linear array is compared +** against the Bitvec object. If there are any differences, +** an error is returned. If they are the same, zero is returned. +** +** If a memory allocation error occurs, return -1. +*/ +SQLITE_PRIVATE int sqlite3BitvecBuiltinTest(int sz, int *aOp){ + Bitvec *pBitvec = 0; + unsigned char *pV = 0; + int rc = -1; + int i, nx, pc, op; + void *pTmpSpace; + + /* Allocate the Bitvec to be tested and a linear array of + ** bits to act as the reference */ + pBitvec = sqlite3BitvecCreate( sz ); + pV = sqlite3MallocZero( (sz+7)/8 + 1 ); + pTmpSpace = sqlite3_malloc64(BITVEC_SZ); + if( pBitvec==0 || pV==0 || pTmpSpace==0 ) goto bitvec_end; + + /* NULL pBitvec tests */ + sqlite3BitvecSet(0, 1); + sqlite3BitvecClear(0, 1, pTmpSpace); + + /* Run the program */ + pc = 0; + while( (op = aOp[pc])!=0 ){ + switch( op ){ + case 1: + case 2: + case 5: { + nx = 4; + i = aOp[pc+2] - 1; + aOp[pc+2] += aOp[pc+3]; + break; + } + case 3: + case 4: + default: { + nx = 2; + sqlite3_randomness(sizeof(i), &i); + break; + } + } + if( (--aOp[pc+1]) > 0 ) nx = 0; + pc += nx; + i = (i & 0x7fffffff)%sz; + if( (op & 1)!=0 ){ + SETBIT(pV, (i+1)); + if( op!=5 ){ + if( sqlite3BitvecSet(pBitvec, i+1) ) goto bitvec_end; + } + }else{ + CLEARBIT(pV, (i+1)); + sqlite3BitvecClear(pBitvec, i+1, pTmpSpace); + } + } + + /* Test to make sure the linear array exactly matches the + ** Bitvec object. Start with the assumption that they do + ** match (rc==0). Change rc to non-zero if a discrepancy + ** is found. + */ + rc = sqlite3BitvecTest(0,0) + sqlite3BitvecTest(pBitvec, sz+1) + + sqlite3BitvecTest(pBitvec, 0) + + (sqlite3BitvecSize(pBitvec) - sz); + for(i=1; i<=sz; i++){ + if( (TESTBIT(pV,i))!=sqlite3BitvecTest(pBitvec,i) ){ + rc = i; + break; + } + } + + /* Free allocated structure */ +bitvec_end: + sqlite3_free(pTmpSpace); + sqlite3_free(pV); + sqlite3BitvecDestroy(pBitvec); + return rc; +} +#endif /* SQLITE_UNTESTABLE */ + +/************** End of bitvec.c **********************************************/ +/************** Begin file pcache.c ******************************************/ +/* +** 2008 August 05 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file implements that page cache. +*/ +/* #include "sqliteInt.h" */ + +/* +** A complete page cache is an instance of this structure. Every +** entry in the cache holds a single page of the database file. The +** btree layer only operates on the cached copy of the database pages. +** +** A page cache entry is "clean" if it exactly matches what is currently +** on disk. A page is "dirty" if it has been modified and needs to be +** persisted to disk. +** +** pDirty, pDirtyTail, pSynced: +** All dirty pages are linked into the doubly linked list using +** PgHdr.pDirtyNext and pDirtyPrev. The list is maintained in LRU order +** such that p was added to the list more recently than p->pDirtyNext. +** PCache.pDirty points to the first (newest) element in the list and +** pDirtyTail to the last (oldest). +** +** The PCache.pSynced variable is used to optimize searching for a dirty +** page to eject from the cache mid-transaction. It is better to eject +** a page that does not require a journal sync than one that does. +** Therefore, pSynced is maintained so that it *almost* always points +** to either the oldest page in the pDirty/pDirtyTail list that has a +** clear PGHDR_NEED_SYNC flag or to a page that is older than this one +** (so that the right page to eject can be found by following pDirtyPrev +** pointers). +*/ +struct PCache { + PgHdr *pDirty, *pDirtyTail; /* List of dirty pages in LRU order */ + PgHdr *pSynced; /* Last synced page in dirty page list */ + int nRefSum; /* Sum of ref counts over all pages */ + int szCache; /* Configured cache size */ + int szSpill; /* Size before spilling occurs */ + int szPage; /* Size of every page in this cache */ + int szExtra; /* Size of extra space for each page */ + u8 bPurgeable; /* True if pages are on backing store */ + u8 eCreate; /* eCreate value for for xFetch() */ + int (*xStress)(void*,PgHdr*); /* Call to try make a page clean */ + void *pStress; /* Argument to xStress */ + sqlite3_pcache *pCache; /* Pluggable cache module */ +}; + +/********************************** Test and Debug Logic **********************/ +/* +** Debug tracing macros. Enable by by changing the "0" to "1" and +** recompiling. +** +** When sqlite3PcacheTrace is 1, single line trace messages are issued. +** When sqlite3PcacheTrace is 2, a dump of the pcache showing all cache entries +** is displayed for many operations, resulting in a lot of output. +*/ +#if defined(SQLITE_DEBUG) && 0 + int sqlite3PcacheTrace = 2; /* 0: off 1: simple 2: cache dumps */ + int sqlite3PcacheMxDump = 9999; /* Max cache entries for pcacheDump() */ +# define pcacheTrace(X) if(sqlite3PcacheTrace){sqlite3DebugPrintf X;} + void pcacheDump(PCache *pCache){ + int N; + int i, j; + sqlite3_pcache_page *pLower; + PgHdr *pPg; + unsigned char *a; + + if( sqlite3PcacheTrace<2 ) return; + if( pCache->pCache==0 ) return; + N = sqlite3PcachePagecount(pCache); + if( N>sqlite3PcacheMxDump ) N = sqlite3PcacheMxDump; + for(i=1; i<=N; i++){ + pLower = sqlite3GlobalConfig.pcache2.xFetch(pCache->pCache, i, 0); + if( pLower==0 ) continue; + pPg = (PgHdr*)pLower->pExtra; + printf("%3d: nRef %2d flgs %02x data ", i, pPg->nRef, pPg->flags); + a = (unsigned char *)pLower->pBuf; + for(j=0; j<12; j++) printf("%02x", a[j]); + printf("\n"); + if( pPg->pPage==0 ){ + sqlite3GlobalConfig.pcache2.xUnpin(pCache->pCache, pLower, 0); + } + } + } + #else +# define pcacheTrace(X) +# define pcacheDump(X) +#endif + +/* +** Check invariants on a PgHdr entry. Return true if everything is OK. +** Return false if any invariant is violated. +** +** This routine is for use inside of assert() statements only. For +** example: +** +** assert( sqlite3PcachePageSanity(pPg) ); +*/ +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE int sqlite3PcachePageSanity(PgHdr *pPg){ + PCache *pCache; + assert( pPg!=0 ); + assert( pPg->pgno>0 || pPg->pPager==0 ); /* Page number is 1 or more */ + pCache = pPg->pCache; + assert( pCache!=0 ); /* Every page has an associated PCache */ + if( pPg->flags & PGHDR_CLEAN ){ + assert( (pPg->flags & PGHDR_DIRTY)==0 );/* Cannot be both CLEAN and DIRTY */ + assert( pCache->pDirty!=pPg ); /* CLEAN pages not on dirty list */ + assert( pCache->pDirtyTail!=pPg ); + } + /* WRITEABLE pages must also be DIRTY */ + if( pPg->flags & PGHDR_WRITEABLE ){ + assert( pPg->flags & PGHDR_DIRTY ); /* WRITEABLE implies DIRTY */ + } + /* NEED_SYNC can be set independently of WRITEABLE. This can happen, + ** for example, when using the sqlite3PagerDontWrite() optimization: + ** (1) Page X is journalled, and gets WRITEABLE and NEED_SEEK. + ** (2) Page X moved to freelist, WRITEABLE is cleared + ** (3) Page X reused, WRITEABLE is set again + ** If NEED_SYNC had been cleared in step 2, then it would not be reset + ** in step 3, and page might be written into the database without first + ** syncing the rollback journal, which might cause corruption on a power + ** loss. + ** + ** Another example is when the database page size is smaller than the + ** disk sector size. When any page of a sector is journalled, all pages + ** in that sector are marked NEED_SYNC even if they are still CLEAN, just + ** in case they are later modified, since all pages in the same sector + ** must be journalled and synced before any of those pages can be safely + ** written. + */ + return 1; +} +#endif /* SQLITE_DEBUG */ + + +/********************************** Linked List Management ********************/ + +/* Allowed values for second argument to pcacheManageDirtyList() */ +#define PCACHE_DIRTYLIST_REMOVE 1 /* Remove pPage from dirty list */ +#define PCACHE_DIRTYLIST_ADD 2 /* Add pPage to the dirty list */ +#define PCACHE_DIRTYLIST_FRONT 3 /* Move pPage to the front of the list */ + +/* +** Manage pPage's participation on the dirty list. Bits of the addRemove +** argument determines what operation to do. The 0x01 bit means first +** remove pPage from the dirty list. The 0x02 means add pPage back to +** the dirty list. Doing both moves pPage to the front of the dirty list. +*/ +static void pcacheManageDirtyList(PgHdr *pPage, u8 addRemove){ + PCache *p = pPage->pCache; + + pcacheTrace(("%p.DIRTYLIST.%s %d\n", p, + addRemove==1 ? "REMOVE" : addRemove==2 ? "ADD" : "FRONT", + pPage->pgno)); + if( addRemove & PCACHE_DIRTYLIST_REMOVE ){ + assert( pPage->pDirtyNext || pPage==p->pDirtyTail ); + assert( pPage->pDirtyPrev || pPage==p->pDirty ); + + /* Update the PCache1.pSynced variable if necessary. */ + if( p->pSynced==pPage ){ + p->pSynced = pPage->pDirtyPrev; + } + + if( pPage->pDirtyNext ){ + pPage->pDirtyNext->pDirtyPrev = pPage->pDirtyPrev; + }else{ + assert( pPage==p->pDirtyTail ); + p->pDirtyTail = pPage->pDirtyPrev; + } + if( pPage->pDirtyPrev ){ + pPage->pDirtyPrev->pDirtyNext = pPage->pDirtyNext; + }else{ + /* If there are now no dirty pages in the cache, set eCreate to 2. + ** This is an optimization that allows sqlite3PcacheFetch() to skip + ** searching for a dirty page to eject from the cache when it might + ** otherwise have to. */ + assert( pPage==p->pDirty ); + p->pDirty = pPage->pDirtyNext; + assert( p->bPurgeable || p->eCreate==2 ); + if( p->pDirty==0 ){ /*OPTIMIZATION-IF-TRUE*/ + assert( p->bPurgeable==0 || p->eCreate==1 ); + p->eCreate = 2; + } + } + } + if( addRemove & PCACHE_DIRTYLIST_ADD ){ + pPage->pDirtyPrev = 0; + pPage->pDirtyNext = p->pDirty; + if( pPage->pDirtyNext ){ + assert( pPage->pDirtyNext->pDirtyPrev==0 ); + pPage->pDirtyNext->pDirtyPrev = pPage; + }else{ + p->pDirtyTail = pPage; + if( p->bPurgeable ){ + assert( p->eCreate==2 ); + p->eCreate = 1; + } + } + p->pDirty = pPage; + + /* If pSynced is NULL and this page has a clear NEED_SYNC flag, set + ** pSynced to point to it. Checking the NEED_SYNC flag is an + ** optimization, as if pSynced points to a page with the NEED_SYNC + ** flag set sqlite3PcacheFetchStress() searches through all newer + ** entries of the dirty-list for a page with NEED_SYNC clear anyway. */ + if( !p->pSynced + && 0==(pPage->flags&PGHDR_NEED_SYNC) /*OPTIMIZATION-IF-FALSE*/ + ){ + p->pSynced = pPage; + } + } + pcacheDump(p); +} + +/* +** Wrapper around the pluggable caches xUnpin method. If the cache is +** being used for an in-memory database, this function is a no-op. +*/ +static void pcacheUnpin(PgHdr *p){ + if( p->pCache->bPurgeable ){ + pcacheTrace(("%p.UNPIN %d\n", p->pCache, p->pgno)); + sqlite3GlobalConfig.pcache2.xUnpin(p->pCache->pCache, p->pPage, 0); + pcacheDump(p->pCache); + } +} + +/* +** Compute the number of pages of cache requested. p->szCache is the +** cache size requested by the "PRAGMA cache_size" statement. +*/ +static int numberOfCachePages(PCache *p){ + if( p->szCache>=0 ){ + /* IMPLEMENTATION-OF: R-42059-47211 If the argument N is positive then the + ** suggested cache size is set to N. */ + return p->szCache; + }else{ + /* IMPLEMANTATION-OF: R-59858-46238 If the argument N is negative, then the + ** number of cache pages is adjusted to be a number of pages that would + ** use approximately abs(N*1024) bytes of memory based on the current + ** page size. */ + return (int)((-1024*(i64)p->szCache)/(p->szPage+p->szExtra)); + } +} + +/*************************************************** General Interfaces ****** +** +** Initialize and shutdown the page cache subsystem. Neither of these +** functions are threadsafe. +*/ +SQLITE_PRIVATE int sqlite3PcacheInitialize(void){ + if( sqlite3GlobalConfig.pcache2.xInit==0 ){ + /* IMPLEMENTATION-OF: R-26801-64137 If the xInit() method is NULL, then the + ** built-in default page cache is used instead of the application defined + ** page cache. */ + sqlite3PCacheSetDefault(); + assert( sqlite3GlobalConfig.pcache2.xInit!=0 ); + } + return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg); +} +SQLITE_PRIVATE void sqlite3PcacheShutdown(void){ + if( sqlite3GlobalConfig.pcache2.xShutdown ){ + /* IMPLEMENTATION-OF: R-26000-56589 The xShutdown() method may be NULL. */ + sqlite3GlobalConfig.pcache2.xShutdown(sqlite3GlobalConfig.pcache2.pArg); + } +} + +/* +** Return the size in bytes of a PCache object. +*/ +SQLITE_PRIVATE int sqlite3PcacheSize(void){ return sizeof(PCache); } + +/* +** Create a new PCache object. Storage space to hold the object +** has already been allocated and is passed in as the p pointer. +** The caller discovers how much space needs to be allocated by +** calling sqlite3PcacheSize(). +** +** szExtra is some extra space allocated for each page. The first +** 8 bytes of the extra space will be zeroed as the page is allocated, +** but remaining content will be uninitialized. Though it is opaque +** to this module, the extra space really ends up being the MemPage +** structure in the pager. +*/ +SQLITE_PRIVATE int sqlite3PcacheOpen( + int szPage, /* Size of every page */ + int szExtra, /* Extra space associated with each page */ + int bPurgeable, /* True if pages are on backing store */ + int (*xStress)(void*,PgHdr*),/* Call to try to make pages clean */ + void *pStress, /* Argument to xStress */ + PCache *p /* Preallocated space for the PCache */ +){ + memset(p, 0, sizeof(PCache)); + p->szPage = 1; + p->szExtra = szExtra; + assert( szExtra>=8 ); /* First 8 bytes will be zeroed */ + p->bPurgeable = bPurgeable; + p->eCreate = 2; + p->xStress = xStress; + p->pStress = pStress; + p->szCache = 100; + p->szSpill = 1; + pcacheTrace(("%p.OPEN szPage %d bPurgeable %d\n",p,szPage,bPurgeable)); + return sqlite3PcacheSetPageSize(p, szPage); +} + +/* +** Change the page size for PCache object. The caller must ensure that there +** are no outstanding page references when this function is called. +*/ +SQLITE_PRIVATE int sqlite3PcacheSetPageSize(PCache *pCache, int szPage){ + assert( pCache->nRefSum==0 && pCache->pDirty==0 ); + if( pCache->szPage ){ + sqlite3_pcache *pNew; + pNew = sqlite3GlobalConfig.pcache2.xCreate( + szPage, pCache->szExtra + ROUND8(sizeof(PgHdr)), + pCache->bPurgeable + ); + if( pNew==0 ) return SQLITE_NOMEM_BKPT; + sqlite3GlobalConfig.pcache2.xCachesize(pNew, numberOfCachePages(pCache)); + if( pCache->pCache ){ + sqlite3GlobalConfig.pcache2.xDestroy(pCache->pCache); + } + pCache->pCache = pNew; + pCache->szPage = szPage; + pcacheTrace(("%p.PAGESIZE %d\n",pCache,szPage)); + } + return SQLITE_OK; +} + +/* +** Try to obtain a page from the cache. +** +** This routine returns a pointer to an sqlite3_pcache_page object if +** such an object is already in cache, or if a new one is created. +** This routine returns a NULL pointer if the object was not in cache +** and could not be created. +** +** The createFlags should be 0 to check for existing pages and should +** be 3 (not 1, but 3) to try to create a new page. +** +** If the createFlag is 0, then NULL is always returned if the page +** is not already in the cache. If createFlag is 1, then a new page +** is created only if that can be done without spilling dirty pages +** and without exceeding the cache size limit. +** +** The caller needs to invoke sqlite3PcacheFetchFinish() to properly +** initialize the sqlite3_pcache_page object and convert it into a +** PgHdr object. The sqlite3PcacheFetch() and sqlite3PcacheFetchFinish() +** routines are split this way for performance reasons. When separated +** they can both (usually) operate without having to push values to +** the stack on entry and pop them back off on exit, which saves a +** lot of pushing and popping. +*/ +SQLITE_PRIVATE sqlite3_pcache_page *sqlite3PcacheFetch( + PCache *pCache, /* Obtain the page from this cache */ + Pgno pgno, /* Page number to obtain */ + int createFlag /* If true, create page if it does not exist already */ +){ + int eCreate; + sqlite3_pcache_page *pRes; + + assert( pCache!=0 ); + assert( pCache->pCache!=0 ); + assert( createFlag==3 || createFlag==0 ); + assert( pCache->eCreate==((pCache->bPurgeable && pCache->pDirty) ? 1 : 2) ); + + /* eCreate defines what to do if the page does not exist. + ** 0 Do not allocate a new page. (createFlag==0) + ** 1 Allocate a new page if doing so is inexpensive. + ** (createFlag==1 AND bPurgeable AND pDirty) + ** 2 Allocate a new page even it doing so is difficult. + ** (createFlag==1 AND !(bPurgeable AND pDirty) + */ + eCreate = createFlag & pCache->eCreate; + assert( eCreate==0 || eCreate==1 || eCreate==2 ); + assert( createFlag==0 || pCache->eCreate==eCreate ); + assert( createFlag==0 || eCreate==1+(!pCache->bPurgeable||!pCache->pDirty) ); + pRes = sqlite3GlobalConfig.pcache2.xFetch(pCache->pCache, pgno, eCreate); + pcacheTrace(("%p.FETCH %d%s (result: %p)\n",pCache,pgno, + createFlag?" create":"",pRes)); + return pRes; +} + +/* +** If the sqlite3PcacheFetch() routine is unable to allocate a new +** page because no clean pages are available for reuse and the cache +** size limit has been reached, then this routine can be invoked to +** try harder to allocate a page. This routine might invoke the stress +** callback to spill dirty pages to the journal. It will then try to +** allocate the new page and will only fail to allocate a new page on +** an OOM error. +** +** This routine should be invoked only after sqlite3PcacheFetch() fails. +*/ +SQLITE_PRIVATE int sqlite3PcacheFetchStress( + PCache *pCache, /* Obtain the page from this cache */ + Pgno pgno, /* Page number to obtain */ + sqlite3_pcache_page **ppPage /* Write result here */ +){ + PgHdr *pPg; + if( pCache->eCreate==2 ) return 0; + + if( sqlite3PcachePagecount(pCache)>pCache->szSpill ){ + /* Find a dirty page to write-out and recycle. First try to find a + ** page that does not require a journal-sync (one with PGHDR_NEED_SYNC + ** cleared), but if that is not possible settle for any other + ** unreferenced dirty page. + ** + ** If the LRU page in the dirty list that has a clear PGHDR_NEED_SYNC + ** flag is currently referenced, then the following may leave pSynced + ** set incorrectly (pointing to other than the LRU page with NEED_SYNC + ** cleared). This is Ok, as pSynced is just an optimization. */ + for(pPg=pCache->pSynced; + pPg && (pPg->nRef || (pPg->flags&PGHDR_NEED_SYNC)); + pPg=pPg->pDirtyPrev + ); + pCache->pSynced = pPg; + if( !pPg ){ + for(pPg=pCache->pDirtyTail; pPg && pPg->nRef; pPg=pPg->pDirtyPrev); + } + if( pPg ){ + int rc; +#ifdef SQLITE_LOG_CACHE_SPILL + sqlite3_log(SQLITE_FULL, + "spill page %d making room for %d - cache used: %d/%d", + pPg->pgno, pgno, + sqlite3GlobalConfig.pcache2.xPagecount(pCache->pCache), + numberOfCachePages(pCache)); +#endif + pcacheTrace(("%p.SPILL %d\n",pCache,pPg->pgno)); + rc = pCache->xStress(pCache->pStress, pPg); + pcacheDump(pCache); + if( rc!=SQLITE_OK && rc!=SQLITE_BUSY ){ + return rc; + } + } + } + *ppPage = sqlite3GlobalConfig.pcache2.xFetch(pCache->pCache, pgno, 2); + return *ppPage==0 ? SQLITE_NOMEM_BKPT : SQLITE_OK; +} + +/* +** This is a helper routine for sqlite3PcacheFetchFinish() +** +** In the uncommon case where the page being fetched has not been +** initialized, this routine is invoked to do the initialization. +** This routine is broken out into a separate function since it +** requires extra stack manipulation that can be avoided in the common +** case. +*/ +static SQLITE_NOINLINE PgHdr *pcacheFetchFinishWithInit( + PCache *pCache, /* Obtain the page from this cache */ + Pgno pgno, /* Page number obtained */ + sqlite3_pcache_page *pPage /* Page obtained by prior PcacheFetch() call */ +){ + PgHdr *pPgHdr; + assert( pPage!=0 ); + pPgHdr = (PgHdr*)pPage->pExtra; + assert( pPgHdr->pPage==0 ); + memset(&pPgHdr->pDirty, 0, sizeof(PgHdr) - offsetof(PgHdr,pDirty)); + pPgHdr->pPage = pPage; + pPgHdr->pData = pPage->pBuf; + pPgHdr->pExtra = (void *)&pPgHdr[1]; + memset(pPgHdr->pExtra, 0, 8); + pPgHdr->pCache = pCache; + pPgHdr->pgno = pgno; + pPgHdr->flags = PGHDR_CLEAN; + return sqlite3PcacheFetchFinish(pCache,pgno,pPage); +} + +/* +** This routine converts the sqlite3_pcache_page object returned by +** sqlite3PcacheFetch() into an initialized PgHdr object. This routine +** must be called after sqlite3PcacheFetch() in order to get a usable +** result. +*/ +SQLITE_PRIVATE PgHdr *sqlite3PcacheFetchFinish( + PCache *pCache, /* Obtain the page from this cache */ + Pgno pgno, /* Page number obtained */ + sqlite3_pcache_page *pPage /* Page obtained by prior PcacheFetch() call */ +){ + PgHdr *pPgHdr; + + assert( pPage!=0 ); + pPgHdr = (PgHdr *)pPage->pExtra; + + if( !pPgHdr->pPage ){ + return pcacheFetchFinishWithInit(pCache, pgno, pPage); + } + pCache->nRefSum++; + pPgHdr->nRef++; + assert( sqlite3PcachePageSanity(pPgHdr) ); + return pPgHdr; +} + +/* +** Decrement the reference count on a page. If the page is clean and the +** reference count drops to 0, then it is made eligible for recycling. +*/ +SQLITE_PRIVATE void SQLITE_NOINLINE sqlite3PcacheRelease(PgHdr *p){ + assert( p->nRef>0 ); + p->pCache->nRefSum--; + if( (--p->nRef)==0 ){ + if( p->flags&PGHDR_CLEAN ){ + pcacheUnpin(p); + }else{ + pcacheManageDirtyList(p, PCACHE_DIRTYLIST_FRONT); + } + } +} + +/* +** Increase the reference count of a supplied page by 1. +*/ +SQLITE_PRIVATE void sqlite3PcacheRef(PgHdr *p){ + assert(p->nRef>0); + assert( sqlite3PcachePageSanity(p) ); + p->nRef++; + p->pCache->nRefSum++; +} + +/* +** Drop a page from the cache. There must be exactly one reference to the +** page. This function deletes that reference, so after it returns the +** page pointed to by p is invalid. +*/ +SQLITE_PRIVATE void sqlite3PcacheDrop(PgHdr *p){ + assert( p->nRef==1 ); + assert( sqlite3PcachePageSanity(p) ); + if( p->flags&PGHDR_DIRTY ){ + pcacheManageDirtyList(p, PCACHE_DIRTYLIST_REMOVE); + } + p->pCache->nRefSum--; + sqlite3GlobalConfig.pcache2.xUnpin(p->pCache->pCache, p->pPage, 1); +} + +/* +** Make sure the page is marked as dirty. If it isn't dirty already, +** make it so. +*/ +SQLITE_PRIVATE void sqlite3PcacheMakeDirty(PgHdr *p){ + assert( p->nRef>0 ); + assert( sqlite3PcachePageSanity(p) ); + if( p->flags & (PGHDR_CLEAN|PGHDR_DONT_WRITE) ){ /*OPTIMIZATION-IF-FALSE*/ + p->flags &= ~PGHDR_DONT_WRITE; + if( p->flags & PGHDR_CLEAN ){ + p->flags ^= (PGHDR_DIRTY|PGHDR_CLEAN); + pcacheTrace(("%p.DIRTY %d\n",p->pCache,p->pgno)); + assert( (p->flags & (PGHDR_DIRTY|PGHDR_CLEAN))==PGHDR_DIRTY ); + pcacheManageDirtyList(p, PCACHE_DIRTYLIST_ADD); + } + assert( sqlite3PcachePageSanity(p) ); + } +} + +/* +** Make sure the page is marked as clean. If it isn't clean already, +** make it so. +*/ +SQLITE_PRIVATE void sqlite3PcacheMakeClean(PgHdr *p){ + assert( sqlite3PcachePageSanity(p) ); + assert( (p->flags & PGHDR_DIRTY)!=0 ); + assert( (p->flags & PGHDR_CLEAN)==0 ); + pcacheManageDirtyList(p, PCACHE_DIRTYLIST_REMOVE); + p->flags &= ~(PGHDR_DIRTY|PGHDR_NEED_SYNC|PGHDR_WRITEABLE); + p->flags |= PGHDR_CLEAN; + pcacheTrace(("%p.CLEAN %d\n",p->pCache,p->pgno)); + assert( sqlite3PcachePageSanity(p) ); + if( p->nRef==0 ){ + pcacheUnpin(p); + } +} + +/* +** Make every page in the cache clean. +*/ +SQLITE_PRIVATE void sqlite3PcacheCleanAll(PCache *pCache){ + PgHdr *p; + pcacheTrace(("%p.CLEAN-ALL\n",pCache)); + while( (p = pCache->pDirty)!=0 ){ + sqlite3PcacheMakeClean(p); + } +} + +/* +** Clear the PGHDR_NEED_SYNC and PGHDR_WRITEABLE flag from all dirty pages. +*/ +SQLITE_PRIVATE void sqlite3PcacheClearWritable(PCache *pCache){ + PgHdr *p; + pcacheTrace(("%p.CLEAR-WRITEABLE\n",pCache)); + for(p=pCache->pDirty; p; p=p->pDirtyNext){ + p->flags &= ~(PGHDR_NEED_SYNC|PGHDR_WRITEABLE); + } + pCache->pSynced = pCache->pDirtyTail; +} + +/* +** Clear the PGHDR_NEED_SYNC flag from all dirty pages. +*/ +SQLITE_PRIVATE void sqlite3PcacheClearSyncFlags(PCache *pCache){ + PgHdr *p; + for(p=pCache->pDirty; p; p=p->pDirtyNext){ + p->flags &= ~PGHDR_NEED_SYNC; + } + pCache->pSynced = pCache->pDirtyTail; +} + +/* +** Change the page number of page p to newPgno. +*/ +SQLITE_PRIVATE void sqlite3PcacheMove(PgHdr *p, Pgno newPgno){ + PCache *pCache = p->pCache; + assert( p->nRef>0 ); + assert( newPgno>0 ); + assert( sqlite3PcachePageSanity(p) ); + pcacheTrace(("%p.MOVE %d -> %d\n",pCache,p->pgno,newPgno)); + sqlite3GlobalConfig.pcache2.xRekey(pCache->pCache, p->pPage, p->pgno,newPgno); + p->pgno = newPgno; + if( (p->flags&PGHDR_DIRTY) && (p->flags&PGHDR_NEED_SYNC) ){ + pcacheManageDirtyList(p, PCACHE_DIRTYLIST_FRONT); + } +} + +/* +** Drop every cache entry whose page number is greater than "pgno". The +** caller must ensure that there are no outstanding references to any pages +** other than page 1 with a page number greater than pgno. +** +** If there is a reference to page 1 and the pgno parameter passed to this +** function is 0, then the data area associated with page 1 is zeroed, but +** the page object is not dropped. +*/ +SQLITE_PRIVATE void sqlite3PcacheTruncate(PCache *pCache, Pgno pgno){ + if( pCache->pCache ){ + PgHdr *p; + PgHdr *pNext; + pcacheTrace(("%p.TRUNCATE %d\n",pCache,pgno)); + for(p=pCache->pDirty; p; p=pNext){ + pNext = p->pDirtyNext; + /* This routine never gets call with a positive pgno except right + ** after sqlite3PcacheCleanAll(). So if there are dirty pages, + ** it must be that pgno==0. + */ + assert( p->pgno>0 ); + if( p->pgno>pgno ){ + assert( p->flags&PGHDR_DIRTY ); + sqlite3PcacheMakeClean(p); + } + } + if( pgno==0 && pCache->nRefSum ){ + sqlite3_pcache_page *pPage1; + pPage1 = sqlite3GlobalConfig.pcache2.xFetch(pCache->pCache,1,0); + if( ALWAYS(pPage1) ){ /* Page 1 is always available in cache, because + ** pCache->nRefSum>0 */ + memset(pPage1->pBuf, 0, pCache->szPage); + pgno = 1; + } + } + sqlite3GlobalConfig.pcache2.xTruncate(pCache->pCache, pgno+1); + } +} + +/* +** Close a cache. +*/ +SQLITE_PRIVATE void sqlite3PcacheClose(PCache *pCache){ + assert( pCache->pCache!=0 ); + pcacheTrace(("%p.CLOSE\n",pCache)); + sqlite3GlobalConfig.pcache2.xDestroy(pCache->pCache); +} + +/* +** Discard the contents of the cache. +*/ +SQLITE_PRIVATE void sqlite3PcacheClear(PCache *pCache){ + sqlite3PcacheTruncate(pCache, 0); +} + +/* +** Merge two lists of pages connected by pDirty and in pgno order. +** Do not bother fixing the pDirtyPrev pointers. +*/ +static PgHdr *pcacheMergeDirtyList(PgHdr *pA, PgHdr *pB){ + PgHdr result, *pTail; + pTail = &result; + assert( pA!=0 && pB!=0 ); + for(;;){ + if( pA->pgnopgno ){ + pTail->pDirty = pA; + pTail = pA; + pA = pA->pDirty; + if( pA==0 ){ + pTail->pDirty = pB; + break; + } + }else{ + pTail->pDirty = pB; + pTail = pB; + pB = pB->pDirty; + if( pB==0 ){ + pTail->pDirty = pA; + break; + } + } + } + return result.pDirty; +} + +/* +** Sort the list of pages in accending order by pgno. Pages are +** connected by pDirty pointers. The pDirtyPrev pointers are +** corrupted by this sort. +** +** Since there cannot be more than 2^31 distinct pages in a database, +** there cannot be more than 31 buckets required by the merge sorter. +** One extra bucket is added to catch overflow in case something +** ever changes to make the previous sentence incorrect. +*/ +#define N_SORT_BUCKET 32 +static PgHdr *pcacheSortDirtyList(PgHdr *pIn){ + PgHdr *a[N_SORT_BUCKET], *p; + int i; + memset(a, 0, sizeof(a)); + while( pIn ){ + p = pIn; + pIn = p->pDirty; + p->pDirty = 0; + for(i=0; ALWAYS(ipDirty; p; p=p->pDirtyNext){ + p->pDirty = p->pDirtyNext; + } + return pcacheSortDirtyList(pCache->pDirty); +} + +/* +** Return the total number of references to all pages held by the cache. +** +** This is not the total number of pages referenced, but the sum of the +** reference count for all pages. +*/ +SQLITE_PRIVATE int sqlite3PcacheRefCount(PCache *pCache){ + return pCache->nRefSum; +} + +/* +** Return the number of references to the page supplied as an argument. +*/ +SQLITE_PRIVATE int sqlite3PcachePageRefcount(PgHdr *p){ + return p->nRef; +} + +/* +** Return the total number of pages in the cache. +*/ +SQLITE_PRIVATE int sqlite3PcachePagecount(PCache *pCache){ + assert( pCache->pCache!=0 ); + return sqlite3GlobalConfig.pcache2.xPagecount(pCache->pCache); +} + +#ifdef SQLITE_TEST +/* +** Get the suggested cache-size value. +*/ +SQLITE_PRIVATE int sqlite3PcacheGetCachesize(PCache *pCache){ + return numberOfCachePages(pCache); +} +#endif + +/* +** Set the suggested cache-size value. +*/ +SQLITE_PRIVATE void sqlite3PcacheSetCachesize(PCache *pCache, int mxPage){ + assert( pCache->pCache!=0 ); + pCache->szCache = mxPage; + sqlite3GlobalConfig.pcache2.xCachesize(pCache->pCache, + numberOfCachePages(pCache)); +} + +/* +** Set the suggested cache-spill value. Make no changes if if the +** argument is zero. Return the effective cache-spill size, which will +** be the larger of the szSpill and szCache. +*/ +SQLITE_PRIVATE int sqlite3PcacheSetSpillsize(PCache *p, int mxPage){ + int res; + assert( p->pCache!=0 ); + if( mxPage ){ + if( mxPage<0 ){ + mxPage = (int)((-1024*(i64)mxPage)/(p->szPage+p->szExtra)); + } + p->szSpill = mxPage; + } + res = numberOfCachePages(p); + if( resszSpill ) res = p->szSpill; + return res; +} + +/* +** Free up as much memory as possible from the page cache. +*/ +SQLITE_PRIVATE void sqlite3PcacheShrink(PCache *pCache){ + assert( pCache->pCache!=0 ); + sqlite3GlobalConfig.pcache2.xShrink(pCache->pCache); +} + +/* +** Return the size of the header added by this middleware layer +** in the page-cache hierarchy. +*/ +SQLITE_PRIVATE int sqlite3HeaderSizePcache(void){ return ROUND8(sizeof(PgHdr)); } + +/* +** Return the number of dirty pages currently in the cache, as a percentage +** of the configured cache size. +*/ +SQLITE_PRIVATE int sqlite3PCachePercentDirty(PCache *pCache){ + PgHdr *pDirty; + int nDirty = 0; + int nCache = numberOfCachePages(pCache); + for(pDirty=pCache->pDirty; pDirty; pDirty=pDirty->pDirtyNext) nDirty++; + return nCache ? (int)(((i64)nDirty * 100) / nCache) : 0; +} + +#ifdef SQLITE_DIRECT_OVERFLOW_READ +/* +** Return true if there are one or more dirty pages in the cache. Else false. +*/ +SQLITE_PRIVATE int sqlite3PCacheIsDirty(PCache *pCache){ + return (pCache->pDirty!=0); +} +#endif + +#if defined(SQLITE_CHECK_PAGES) || defined(SQLITE_DEBUG) +/* +** For all dirty pages currently in the cache, invoke the specified +** callback. This is only used if the SQLITE_CHECK_PAGES macro is +** defined. +*/ +SQLITE_PRIVATE void sqlite3PcacheIterateDirty(PCache *pCache, void (*xIter)(PgHdr *)){ + PgHdr *pDirty; + for(pDirty=pCache->pDirty; pDirty; pDirty=pDirty->pDirtyNext){ + xIter(pDirty); + } +} +#endif + +/************** End of pcache.c **********************************************/ +/************** Begin file pcache1.c *****************************************/ +/* +** 2008 November 05 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file implements the default page cache implementation (the +** sqlite3_pcache interface). It also contains part of the implementation +** of the SQLITE_CONFIG_PAGECACHE and sqlite3_release_memory() features. +** If the default page cache implementation is overridden, then neither of +** these two features are available. +** +** A Page cache line looks like this: +** +** ------------------------------------------------------------- +** | database page content | PgHdr1 | MemPage | PgHdr | +** ------------------------------------------------------------- +** +** The database page content is up front (so that buffer overreads tend to +** flow harmlessly into the PgHdr1, MemPage, and PgHdr extensions). MemPage +** is the extension added by the btree.c module containing information such +** as the database page number and how that database page is used. PgHdr +** is added by the pcache.c layer and contains information used to keep track +** of which pages are "dirty". PgHdr1 is an extension added by this +** module (pcache1.c). The PgHdr1 header is a subclass of sqlite3_pcache_page. +** PgHdr1 contains information needed to look up a page by its page number. +** The superclass sqlite3_pcache_page.pBuf points to the start of the +** database page content and sqlite3_pcache_page.pExtra points to PgHdr. +** +** The size of the extension (MemPage+PgHdr+PgHdr1) can be determined at +** runtime using sqlite3_config(SQLITE_CONFIG_PCACHE_HDRSZ, &size). The +** sizes of the extensions sum to 272 bytes on x64 for 3.8.10, but this +** size can vary according to architecture, compile-time options, and +** SQLite library version number. +** +** If SQLITE_PCACHE_SEPARATE_HEADER is defined, then the extension is obtained +** using a separate memory allocation from the database page content. This +** seeks to overcome the "clownshoe" problem (also called "internal +** fragmentation" in academic literature) of allocating a few bytes more +** than a power of two with the memory allocator rounding up to the next +** power of two, and leaving the rounded-up space unused. +** +** This module tracks pointers to PgHdr1 objects. Only pcache.c communicates +** with this module. Information is passed back and forth as PgHdr1 pointers. +** +** The pcache.c and pager.c modules deal pointers to PgHdr objects. +** The btree.c module deals with pointers to MemPage objects. +** +** SOURCE OF PAGE CACHE MEMORY: +** +** Memory for a page might come from any of three sources: +** +** (1) The general-purpose memory allocator - sqlite3Malloc() +** (2) Global page-cache memory provided using sqlite3_config() with +** SQLITE_CONFIG_PAGECACHE. +** (3) PCache-local bulk allocation. +** +** The third case is a chunk of heap memory (defaulting to 100 pages worth) +** that is allocated when the page cache is created. The size of the local +** bulk allocation can be adjusted using +** +** sqlite3_config(SQLITE_CONFIG_PAGECACHE, (void*)0, 0, N). +** +** If N is positive, then N pages worth of memory are allocated using a single +** sqlite3Malloc() call and that memory is used for the first N pages allocated. +** Or if N is negative, then -1024*N bytes of memory are allocated and used +** for as many pages as can be accomodated. +** +** Only one of (2) or (3) can be used. Once the memory available to (2) or +** (3) is exhausted, subsequent allocations fail over to the general-purpose +** memory allocator (1). +** +** Earlier versions of SQLite used only methods (1) and (2). But experiments +** show that method (3) with N==100 provides about a 5% performance boost for +** common workloads. +*/ +/* #include "sqliteInt.h" */ + +typedef struct PCache1 PCache1; +typedef struct PgHdr1 PgHdr1; +typedef struct PgFreeslot PgFreeslot; +typedef struct PGroup PGroup; + +/* +** Each cache entry is represented by an instance of the following +** structure. Unless SQLITE_PCACHE_SEPARATE_HEADER is defined, a buffer of +** PgHdr1.pCache->szPage bytes is allocated directly before this structure +** in memory. +** +** Note: Variables isBulkLocal and isAnchor were once type "u8". That works, +** but causes a 2-byte gap in the structure for most architectures (since +** pointers must be either 4 or 8-byte aligned). As this structure is located +** in memory directly after the associated page data, if the database is +** corrupt, code at the b-tree layer may overread the page buffer and +** read part of this structure before the corruption is detected. This +** can cause a valgrind error if the unitialized gap is accessed. Using u16 +** ensures there is no such gap, and therefore no bytes of unitialized memory +** in the structure. +*/ +struct PgHdr1 { + sqlite3_pcache_page page; /* Base class. Must be first. pBuf & pExtra */ + unsigned int iKey; /* Key value (page number) */ + u16 isBulkLocal; /* This page from bulk local storage */ + u16 isAnchor; /* This is the PGroup.lru element */ + PgHdr1 *pNext; /* Next in hash table chain */ + PCache1 *pCache; /* Cache that currently owns this page */ + PgHdr1 *pLruNext; /* Next in LRU list of unpinned pages */ + PgHdr1 *pLruPrev; /* Previous in LRU list of unpinned pages */ + /* NB: pLruPrev is only valid if pLruNext!=0 */ +}; + +/* +** A page is pinned if it is not on the LRU list. To be "pinned" means +** that the page is in active use and must not be deallocated. +*/ +#define PAGE_IS_PINNED(p) ((p)->pLruNext==0) +#define PAGE_IS_UNPINNED(p) ((p)->pLruNext!=0) + +/* Each page cache (or PCache) belongs to a PGroup. A PGroup is a set +** of one or more PCaches that are able to recycle each other's unpinned +** pages when they are under memory pressure. A PGroup is an instance of +** the following object. +** +** This page cache implementation works in one of two modes: +** +** (1) Every PCache is the sole member of its own PGroup. There is +** one PGroup per PCache. +** +** (2) There is a single global PGroup that all PCaches are a member +** of. +** +** Mode 1 uses more memory (since PCache instances are not able to rob +** unused pages from other PCaches) but it also operates without a mutex, +** and is therefore often faster. Mode 2 requires a mutex in order to be +** threadsafe, but recycles pages more efficiently. +** +** For mode (1), PGroup.mutex is NULL. For mode (2) there is only a single +** PGroup which is the pcache1.grp global variable and its mutex is +** SQLITE_MUTEX_STATIC_LRU. +*/ +struct PGroup { + sqlite3_mutex *mutex; /* MUTEX_STATIC_LRU or NULL */ + unsigned int nMaxPage; /* Sum of nMax for purgeable caches */ + unsigned int nMinPage; /* Sum of nMin for purgeable caches */ + unsigned int mxPinned; /* nMaxpage + 10 - nMinPage */ + unsigned int nPurgeable; /* Number of purgeable pages allocated */ + PgHdr1 lru; /* The beginning and end of the LRU list */ +}; + +/* Each page cache is an instance of the following object. Every +** open database file (including each in-memory database and each +** temporary or transient database) has a single page cache which +** is an instance of this object. +** +** Pointers to structures of this type are cast and returned as +** opaque sqlite3_pcache* handles. +*/ +struct PCache1 { + /* Cache configuration parameters. Page size (szPage) and the purgeable + ** flag (bPurgeable) and the pnPurgeable pointer are all set when the + ** cache is created and are never changed thereafter. nMax may be + ** modified at any time by a call to the pcache1Cachesize() method. + ** The PGroup mutex must be held when accessing nMax. + */ + PGroup *pGroup; /* PGroup this cache belongs to */ + unsigned int *pnPurgeable; /* Pointer to pGroup->nPurgeable */ + int szPage; /* Size of database content section */ + int szExtra; /* sizeof(MemPage)+sizeof(PgHdr) */ + int szAlloc; /* Total size of one pcache line */ + int bPurgeable; /* True if cache is purgeable */ + unsigned int nMin; /* Minimum number of pages reserved */ + unsigned int nMax; /* Configured "cache_size" value */ + unsigned int n90pct; /* nMax*9/10 */ + unsigned int iMaxKey; /* Largest key seen since xTruncate() */ + unsigned int nPurgeableDummy; /* pnPurgeable points here when not used*/ + + /* Hash table of all pages. The following variables may only be accessed + ** when the accessor is holding the PGroup mutex. + */ + unsigned int nRecyclable; /* Number of pages in the LRU list */ + unsigned int nPage; /* Total number of pages in apHash */ + unsigned int nHash; /* Number of slots in apHash[] */ + PgHdr1 **apHash; /* Hash table for fast lookup by key */ + PgHdr1 *pFree; /* List of unused pcache-local pages */ + void *pBulk; /* Bulk memory used by pcache-local */ +}; + +/* +** Free slots in the allocator used to divide up the global page cache +** buffer provided using the SQLITE_CONFIG_PAGECACHE mechanism. +*/ +struct PgFreeslot { + PgFreeslot *pNext; /* Next free slot */ +}; + +/* +** Global data used by this cache. +*/ +static SQLITE_WSD struct PCacheGlobal { + PGroup grp; /* The global PGroup for mode (2) */ + + /* Variables related to SQLITE_CONFIG_PAGECACHE settings. The + ** szSlot, nSlot, pStart, pEnd, nReserve, and isInit values are all + ** fixed at sqlite3_initialize() time and do not require mutex protection. + ** The nFreeSlot and pFree values do require mutex protection. + */ + int isInit; /* True if initialized */ + int separateCache; /* Use a new PGroup for each PCache */ + int nInitPage; /* Initial bulk allocation size */ + int szSlot; /* Size of each free slot */ + int nSlot; /* The number of pcache slots */ + int nReserve; /* Try to keep nFreeSlot above this */ + void *pStart, *pEnd; /* Bounds of global page cache memory */ + /* Above requires no mutex. Use mutex below for variable that follow. */ + sqlite3_mutex *mutex; /* Mutex for accessing the following: */ + PgFreeslot *pFree; /* Free page blocks */ + int nFreeSlot; /* Number of unused pcache slots */ + /* The following value requires a mutex to change. We skip the mutex on + ** reading because (1) most platforms read a 32-bit integer atomically and + ** (2) even if an incorrect value is read, no great harm is done since this + ** is really just an optimization. */ + int bUnderPressure; /* True if low on PAGECACHE memory */ +} pcache1_g; + +/* +** All code in this file should access the global structure above via the +** alias "pcache1". This ensures that the WSD emulation is used when +** compiling for systems that do not support real WSD. +*/ +#define pcache1 (GLOBAL(struct PCacheGlobal, pcache1_g)) + +/* +** Macros to enter and leave the PCache LRU mutex. +*/ +#if !defined(SQLITE_ENABLE_MEMORY_MANAGEMENT) || SQLITE_THREADSAFE==0 +# define pcache1EnterMutex(X) assert((X)->mutex==0) +# define pcache1LeaveMutex(X) assert((X)->mutex==0) +# define PCACHE1_MIGHT_USE_GROUP_MUTEX 0 +#else +# define pcache1EnterMutex(X) sqlite3_mutex_enter((X)->mutex) +# define pcache1LeaveMutex(X) sqlite3_mutex_leave((X)->mutex) +# define PCACHE1_MIGHT_USE_GROUP_MUTEX 1 +#endif + +/******************************************************************************/ +/******** Page Allocation/SQLITE_CONFIG_PCACHE Related Functions **************/ + + +/* +** This function is called during initialization if a static buffer is +** supplied to use for the page-cache by passing the SQLITE_CONFIG_PAGECACHE +** verb to sqlite3_config(). Parameter pBuf points to an allocation large +** enough to contain 'n' buffers of 'sz' bytes each. +** +** This routine is called from sqlite3_initialize() and so it is guaranteed +** to be serialized already. There is no need for further mutexing. +*/ +SQLITE_PRIVATE void sqlite3PCacheBufferSetup(void *pBuf, int sz, int n){ + if( pcache1.isInit ){ + PgFreeslot *p; + if( pBuf==0 ) sz = n = 0; + if( n==0 ) sz = 0; + sz = ROUNDDOWN8(sz); + pcache1.szSlot = sz; + pcache1.nSlot = pcache1.nFreeSlot = n; + pcache1.nReserve = n>90 ? 10 : (n/10 + 1); + pcache1.pStart = pBuf; + pcache1.pFree = 0; + pcache1.bUnderPressure = 0; + while( n-- ){ + p = (PgFreeslot*)pBuf; + p->pNext = pcache1.pFree; + pcache1.pFree = p; + pBuf = (void*)&((char*)pBuf)[sz]; + } + pcache1.pEnd = pBuf; + } +} + +/* +** Try to initialize the pCache->pFree and pCache->pBulk fields. Return +** true if pCache->pFree ends up containing one or more free pages. +*/ +static int pcache1InitBulk(PCache1 *pCache){ + i64 szBulk; + char *zBulk; + if( pcache1.nInitPage==0 ) return 0; + /* Do not bother with a bulk allocation if the cache size very small */ + if( pCache->nMax<3 ) return 0; + sqlite3BeginBenignMalloc(); + if( pcache1.nInitPage>0 ){ + szBulk = pCache->szAlloc * (i64)pcache1.nInitPage; + }else{ + szBulk = -1024 * (i64)pcache1.nInitPage; + } + if( szBulk > pCache->szAlloc*(i64)pCache->nMax ){ + szBulk = pCache->szAlloc*(i64)pCache->nMax; + } + zBulk = pCache->pBulk = sqlite3Malloc( szBulk ); + sqlite3EndBenignMalloc(); + if( zBulk ){ + int nBulk = sqlite3MallocSize(zBulk)/pCache->szAlloc; + do{ + PgHdr1 *pX = (PgHdr1*)&zBulk[pCache->szPage]; + pX->page.pBuf = zBulk; + pX->page.pExtra = &pX[1]; + pX->isBulkLocal = 1; + pX->isAnchor = 0; + pX->pNext = pCache->pFree; + pX->pLruPrev = 0; /* Initializing this saves a valgrind error */ + pCache->pFree = pX; + zBulk += pCache->szAlloc; + }while( --nBulk ); + } + return pCache->pFree!=0; +} + +/* +** Malloc function used within this file to allocate space from the buffer +** configured using sqlite3_config(SQLITE_CONFIG_PAGECACHE) option. If no +** such buffer exists or there is no space left in it, this function falls +** back to sqlite3Malloc(). +** +** Multiple threads can run this routine at the same time. Global variables +** in pcache1 need to be protected via mutex. +*/ +static void *pcache1Alloc(int nByte){ + void *p = 0; + assert( sqlite3_mutex_notheld(pcache1.grp.mutex) ); + if( nByte<=pcache1.szSlot ){ + sqlite3_mutex_enter(pcache1.mutex); + p = (PgHdr1 *)pcache1.pFree; + if( p ){ + pcache1.pFree = pcache1.pFree->pNext; + pcache1.nFreeSlot--; + pcache1.bUnderPressure = pcache1.nFreeSlot=0 ); + sqlite3StatusHighwater(SQLITE_STATUS_PAGECACHE_SIZE, nByte); + sqlite3StatusUp(SQLITE_STATUS_PAGECACHE_USED, 1); + } + sqlite3_mutex_leave(pcache1.mutex); + } + if( p==0 ){ + /* Memory is not available in the SQLITE_CONFIG_PAGECACHE pool. Get + ** it from sqlite3Malloc instead. + */ + p = sqlite3Malloc(nByte); +#ifndef SQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS + if( p ){ + int sz = sqlite3MallocSize(p); + sqlite3_mutex_enter(pcache1.mutex); + sqlite3StatusHighwater(SQLITE_STATUS_PAGECACHE_SIZE, nByte); + sqlite3StatusUp(SQLITE_STATUS_PAGECACHE_OVERFLOW, sz); + sqlite3_mutex_leave(pcache1.mutex); + } +#endif + sqlite3MemdebugSetType(p, MEMTYPE_PCACHE); + } + return p; +} + +/* +** Free an allocated buffer obtained from pcache1Alloc(). +*/ +static void pcache1Free(void *p){ + if( p==0 ) return; + if( SQLITE_WITHIN(p, pcache1.pStart, pcache1.pEnd) ){ + PgFreeslot *pSlot; + sqlite3_mutex_enter(pcache1.mutex); + sqlite3StatusDown(SQLITE_STATUS_PAGECACHE_USED, 1); + pSlot = (PgFreeslot*)p; + pSlot->pNext = pcache1.pFree; + pcache1.pFree = pSlot; + pcache1.nFreeSlot++; + pcache1.bUnderPressure = pcache1.nFreeSlot=pcache1.pStart && ppGroup->mutex) ); + if( pCache->pFree || (pCache->nPage==0 && pcache1InitBulk(pCache)) ){ + assert( pCache->pFree!=0 ); + p = pCache->pFree; + pCache->pFree = p->pNext; + p->pNext = 0; + }else{ +#ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT + /* The group mutex must be released before pcache1Alloc() is called. This + ** is because it might call sqlite3_release_memory(), which assumes that + ** this mutex is not held. */ + assert( pcache1.separateCache==0 ); + assert( pCache->pGroup==&pcache1.grp ); + pcache1LeaveMutex(pCache->pGroup); +#endif + if( benignMalloc ){ sqlite3BeginBenignMalloc(); } +#ifdef SQLITE_PCACHE_SEPARATE_HEADER + pPg = pcache1Alloc(pCache->szPage); + p = sqlite3Malloc(sizeof(PgHdr1) + pCache->szExtra); + if( !pPg || !p ){ + pcache1Free(pPg); + sqlite3_free(p); + pPg = 0; + } +#else + pPg = pcache1Alloc(pCache->szAlloc); + p = (PgHdr1 *)&((u8 *)pPg)[pCache->szPage]; +#endif + if( benignMalloc ){ sqlite3EndBenignMalloc(); } +#ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT + pcache1EnterMutex(pCache->pGroup); +#endif + if( pPg==0 ) return 0; + p->page.pBuf = pPg; + p->page.pExtra = &p[1]; + p->isBulkLocal = 0; + p->isAnchor = 0; + } + (*pCache->pnPurgeable)++; + return p; +} + +/* +** Free a page object allocated by pcache1AllocPage(). +*/ +static void pcache1FreePage(PgHdr1 *p){ + PCache1 *pCache; + assert( p!=0 ); + pCache = p->pCache; + assert( sqlite3_mutex_held(p->pCache->pGroup->mutex) ); + if( p->isBulkLocal ){ + p->pNext = pCache->pFree; + pCache->pFree = p; + }else{ + pcache1Free(p->page.pBuf); +#ifdef SQLITE_PCACHE_SEPARATE_HEADER + sqlite3_free(p); +#endif + } + (*pCache->pnPurgeable)--; +} + +/* +** Malloc function used by SQLite to obtain space from the buffer configured +** using sqlite3_config(SQLITE_CONFIG_PAGECACHE) option. If no such buffer +** exists, this function falls back to sqlite3Malloc(). +*/ +SQLITE_PRIVATE void *sqlite3PageMalloc(int sz){ + assert( sz<=65536+8 ); /* These allocations are never very large */ + return pcache1Alloc(sz); +} + +/* +** Free an allocated buffer obtained from sqlite3PageMalloc(). +*/ +SQLITE_PRIVATE void sqlite3PageFree(void *p){ + pcache1Free(p); +} + + +/* +** Return true if it desirable to avoid allocating a new page cache +** entry. +** +** If memory was allocated specifically to the page cache using +** SQLITE_CONFIG_PAGECACHE but that memory has all been used, then +** it is desirable to avoid allocating a new page cache entry because +** presumably SQLITE_CONFIG_PAGECACHE was suppose to be sufficient +** for all page cache needs and we should not need to spill the +** allocation onto the heap. +** +** Or, the heap is used for all page cache memory but the heap is +** under memory pressure, then again it is desirable to avoid +** allocating a new page cache entry in order to avoid stressing +** the heap even further. +*/ +static int pcache1UnderMemoryPressure(PCache1 *pCache){ + if( pcache1.nSlot && (pCache->szPage+pCache->szExtra)<=pcache1.szSlot ){ + return pcache1.bUnderPressure; + }else{ + return sqlite3HeapNearlyFull(); + } +} + +/******************************************************************************/ +/******** General Implementation Functions ************************************/ + +/* +** This function is used to resize the hash table used by the cache passed +** as the first argument. +** +** The PCache mutex must be held when this function is called. +*/ +static void pcache1ResizeHash(PCache1 *p){ + PgHdr1 **apNew; + unsigned int nNew; + unsigned int i; + + assert( sqlite3_mutex_held(p->pGroup->mutex) ); + + nNew = p->nHash*2; + if( nNew<256 ){ + nNew = 256; + } + + pcache1LeaveMutex(p->pGroup); + if( p->nHash ){ sqlite3BeginBenignMalloc(); } + apNew = (PgHdr1 **)sqlite3MallocZero(sizeof(PgHdr1 *)*nNew); + if( p->nHash ){ sqlite3EndBenignMalloc(); } + pcache1EnterMutex(p->pGroup); + if( apNew ){ + for(i=0; inHash; i++){ + PgHdr1 *pPage; + PgHdr1 *pNext = p->apHash[i]; + while( (pPage = pNext)!=0 ){ + unsigned int h = pPage->iKey % nNew; + pNext = pPage->pNext; + pPage->pNext = apNew[h]; + apNew[h] = pPage; + } + } + sqlite3_free(p->apHash); + p->apHash = apNew; + p->nHash = nNew; + } +} + +/* +** This function is used internally to remove the page pPage from the +** PGroup LRU list, if is part of it. If pPage is not part of the PGroup +** LRU list, then this function is a no-op. +** +** The PGroup mutex must be held when this function is called. +*/ +static PgHdr1 *pcache1PinPage(PgHdr1 *pPage){ + assert( pPage!=0 ); + assert( PAGE_IS_UNPINNED(pPage) ); + assert( pPage->pLruNext ); + assert( pPage->pLruPrev ); + assert( sqlite3_mutex_held(pPage->pCache->pGroup->mutex) ); + pPage->pLruPrev->pLruNext = pPage->pLruNext; + pPage->pLruNext->pLruPrev = pPage->pLruPrev; + pPage->pLruNext = 0; + /* pPage->pLruPrev = 0; + ** No need to clear pLruPrev as it is never accessed if pLruNext is 0 */ + assert( pPage->isAnchor==0 ); + assert( pPage->pCache->pGroup->lru.isAnchor==1 ); + pPage->pCache->nRecyclable--; + return pPage; +} + + +/* +** Remove the page supplied as an argument from the hash table +** (PCache1.apHash structure) that it is currently stored in. +** Also free the page if freePage is true. +** +** The PGroup mutex must be held when this function is called. +*/ +static void pcache1RemoveFromHash(PgHdr1 *pPage, int freeFlag){ + unsigned int h; + PCache1 *pCache = pPage->pCache; + PgHdr1 **pp; + + assert( sqlite3_mutex_held(pCache->pGroup->mutex) ); + h = pPage->iKey % pCache->nHash; + for(pp=&pCache->apHash[h]; (*pp)!=pPage; pp=&(*pp)->pNext); + *pp = (*pp)->pNext; + + pCache->nPage--; + if( freeFlag ) pcache1FreePage(pPage); +} + +/* +** If there are currently more than nMaxPage pages allocated, try +** to recycle pages to reduce the number allocated to nMaxPage. +*/ +static void pcache1EnforceMaxPage(PCache1 *pCache){ + PGroup *pGroup = pCache->pGroup; + PgHdr1 *p; + assert( sqlite3_mutex_held(pGroup->mutex) ); + while( pGroup->nPurgeable>pGroup->nMaxPage + && (p=pGroup->lru.pLruPrev)->isAnchor==0 + ){ + assert( p->pCache->pGroup==pGroup ); + assert( PAGE_IS_UNPINNED(p) ); + pcache1PinPage(p); + pcache1RemoveFromHash(p, 1); + } + if( pCache->nPage==0 && pCache->pBulk ){ + sqlite3_free(pCache->pBulk); + pCache->pBulk = pCache->pFree = 0; + } +} + +/* +** Discard all pages from cache pCache with a page number (key value) +** greater than or equal to iLimit. Any pinned pages that meet this +** criteria are unpinned before they are discarded. +** +** The PCache mutex must be held when this function is called. +*/ +static void pcache1TruncateUnsafe( + PCache1 *pCache, /* The cache to truncate */ + unsigned int iLimit /* Drop pages with this pgno or larger */ +){ + TESTONLY( int nPage = 0; ) /* To assert pCache->nPage is correct */ + unsigned int h, iStop; + assert( sqlite3_mutex_held(pCache->pGroup->mutex) ); + assert( pCache->iMaxKey >= iLimit ); + assert( pCache->nHash > 0 ); + if( pCache->iMaxKey - iLimit < pCache->nHash ){ + /* If we are just shaving the last few pages off the end of the + ** cache, then there is no point in scanning the entire hash table. + ** Only scan those hash slots that might contain pages that need to + ** be removed. */ + h = iLimit % pCache->nHash; + iStop = pCache->iMaxKey % pCache->nHash; + TESTONLY( nPage = -10; ) /* Disable the pCache->nPage validity check */ + }else{ + /* This is the general case where many pages are being removed. + ** It is necessary to scan the entire hash table */ + h = pCache->nHash/2; + iStop = h - 1; + } + for(;;){ + PgHdr1 **pp; + PgHdr1 *pPage; + assert( hnHash ); + pp = &pCache->apHash[h]; + while( (pPage = *pp)!=0 ){ + if( pPage->iKey>=iLimit ){ + pCache->nPage--; + *pp = pPage->pNext; + if( PAGE_IS_UNPINNED(pPage) ) pcache1PinPage(pPage); + pcache1FreePage(pPage); + }else{ + pp = &pPage->pNext; + TESTONLY( if( nPage>=0 ) nPage++; ) + } + } + if( h==iStop ) break; + h = (h+1) % pCache->nHash; + } + assert( nPage<0 || pCache->nPage==(unsigned)nPage ); +} + +/******************************************************************************/ +/******** sqlite3_pcache Methods **********************************************/ + +/* +** Implementation of the sqlite3_pcache.xInit method. +*/ +static int pcache1Init(void *NotUsed){ + UNUSED_PARAMETER(NotUsed); + assert( pcache1.isInit==0 ); + memset(&pcache1, 0, sizeof(pcache1)); + + + /* + ** The pcache1.separateCache variable is true if each PCache has its own + ** private PGroup (mode-1). pcache1.separateCache is false if the single + ** PGroup in pcache1.grp is used for all page caches (mode-2). + ** + ** * Always use a unified cache (mode-2) if ENABLE_MEMORY_MANAGEMENT + ** + ** * Use a unified cache in single-threaded applications that have + ** configured a start-time buffer for use as page-cache memory using + ** sqlite3_config(SQLITE_CONFIG_PAGECACHE, pBuf, sz, N) with non-NULL + ** pBuf argument. + ** + ** * Otherwise use separate caches (mode-1) + */ +#if defined(SQLITE_ENABLE_MEMORY_MANAGEMENT) + pcache1.separateCache = 0; +#elif SQLITE_THREADSAFE + pcache1.separateCache = sqlite3GlobalConfig.pPage==0 + || sqlite3GlobalConfig.bCoreMutex>0; +#else + pcache1.separateCache = sqlite3GlobalConfig.pPage==0; +#endif + +#if SQLITE_THREADSAFE + if( sqlite3GlobalConfig.bCoreMutex ){ + pcache1.grp.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_LRU); + pcache1.mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_PMEM); + } +#endif + if( pcache1.separateCache + && sqlite3GlobalConfig.nPage!=0 + && sqlite3GlobalConfig.pPage==0 + ){ + pcache1.nInitPage = sqlite3GlobalConfig.nPage; + }else{ + pcache1.nInitPage = 0; + } + pcache1.grp.mxPinned = 10; + pcache1.isInit = 1; + return SQLITE_OK; +} + +/* +** Implementation of the sqlite3_pcache.xShutdown method. +** Note that the static mutex allocated in xInit does +** not need to be freed. +*/ +static void pcache1Shutdown(void *NotUsed){ + UNUSED_PARAMETER(NotUsed); + assert( pcache1.isInit!=0 ); + memset(&pcache1, 0, sizeof(pcache1)); +} + +/* forward declaration */ +static void pcache1Destroy(sqlite3_pcache *p); + +/* +** Implementation of the sqlite3_pcache.xCreate method. +** +** Allocate a new cache. +*/ +static sqlite3_pcache *pcache1Create(int szPage, int szExtra, int bPurgeable){ + PCache1 *pCache; /* The newly created page cache */ + PGroup *pGroup; /* The group the new page cache will belong to */ + int sz; /* Bytes of memory required to allocate the new cache */ + + assert( (szPage & (szPage-1))==0 && szPage>=512 && szPage<=65536 ); + assert( szExtra < 300 ); + + sz = sizeof(PCache1) + sizeof(PGroup)*pcache1.separateCache; + pCache = (PCache1 *)sqlite3MallocZero(sz); + if( pCache ){ + if( pcache1.separateCache ){ + pGroup = (PGroup*)&pCache[1]; + pGroup->mxPinned = 10; + }else{ + pGroup = &pcache1.grp; + } + pcache1EnterMutex(pGroup); + if( pGroup->lru.isAnchor==0 ){ + pGroup->lru.isAnchor = 1; + pGroup->lru.pLruPrev = pGroup->lru.pLruNext = &pGroup->lru; + } + pCache->pGroup = pGroup; + pCache->szPage = szPage; + pCache->szExtra = szExtra; + pCache->szAlloc = szPage + szExtra + ROUND8(sizeof(PgHdr1)); + pCache->bPurgeable = (bPurgeable ? 1 : 0); + pcache1ResizeHash(pCache); + if( bPurgeable ){ + pCache->nMin = 10; + pGroup->nMinPage += pCache->nMin; + pGroup->mxPinned = pGroup->nMaxPage + 10 - pGroup->nMinPage; + pCache->pnPurgeable = &pGroup->nPurgeable; + }else{ + pCache->pnPurgeable = &pCache->nPurgeableDummy; + } + pcache1LeaveMutex(pGroup); + if( pCache->nHash==0 ){ + pcache1Destroy((sqlite3_pcache*)pCache); + pCache = 0; + } + } + return (sqlite3_pcache *)pCache; +} + +/* +** Implementation of the sqlite3_pcache.xCachesize method. +** +** Configure the cache_size limit for a cache. +*/ +static void pcache1Cachesize(sqlite3_pcache *p, int nMax){ + PCache1 *pCache = (PCache1 *)p; + if( pCache->bPurgeable ){ + PGroup *pGroup = pCache->pGroup; + pcache1EnterMutex(pGroup); + pGroup->nMaxPage += (nMax - pCache->nMax); + pGroup->mxPinned = pGroup->nMaxPage + 10 - pGroup->nMinPage; + pCache->nMax = nMax; + pCache->n90pct = pCache->nMax*9/10; + pcache1EnforceMaxPage(pCache); + pcache1LeaveMutex(pGroup); + } +} + +/* +** Implementation of the sqlite3_pcache.xShrink method. +** +** Free up as much memory as possible. +*/ +static void pcache1Shrink(sqlite3_pcache *p){ + PCache1 *pCache = (PCache1*)p; + if( pCache->bPurgeable ){ + PGroup *pGroup = pCache->pGroup; + int savedMaxPage; + pcache1EnterMutex(pGroup); + savedMaxPage = pGroup->nMaxPage; + pGroup->nMaxPage = 0; + pcache1EnforceMaxPage(pCache); + pGroup->nMaxPage = savedMaxPage; + pcache1LeaveMutex(pGroup); + } +} + +/* +** Implementation of the sqlite3_pcache.xPagecount method. +*/ +static int pcache1Pagecount(sqlite3_pcache *p){ + int n; + PCache1 *pCache = (PCache1*)p; + pcache1EnterMutex(pCache->pGroup); + n = pCache->nPage; + pcache1LeaveMutex(pCache->pGroup); + return n; +} + + +/* +** Implement steps 3, 4, and 5 of the pcache1Fetch() algorithm described +** in the header of the pcache1Fetch() procedure. +** +** This steps are broken out into a separate procedure because they are +** usually not needed, and by avoiding the stack initialization required +** for these steps, the main pcache1Fetch() procedure can run faster. +*/ +static SQLITE_NOINLINE PgHdr1 *pcache1FetchStage2( + PCache1 *pCache, + unsigned int iKey, + int createFlag +){ + unsigned int nPinned; + PGroup *pGroup = pCache->pGroup; + PgHdr1 *pPage = 0; + + /* Step 3: Abort if createFlag is 1 but the cache is nearly full */ + assert( pCache->nPage >= pCache->nRecyclable ); + nPinned = pCache->nPage - pCache->nRecyclable; + assert( pGroup->mxPinned == pGroup->nMaxPage + 10 - pGroup->nMinPage ); + assert( pCache->n90pct == pCache->nMax*9/10 ); + if( createFlag==1 && ( + nPinned>=pGroup->mxPinned + || nPinned>=pCache->n90pct + || (pcache1UnderMemoryPressure(pCache) && pCache->nRecyclablenPage>=pCache->nHash ) pcache1ResizeHash(pCache); + assert( pCache->nHash>0 && pCache->apHash ); + + /* Step 4. Try to recycle a page. */ + if( pCache->bPurgeable + && !pGroup->lru.pLruPrev->isAnchor + && ((pCache->nPage+1>=pCache->nMax) || pcache1UnderMemoryPressure(pCache)) + ){ + PCache1 *pOther; + pPage = pGroup->lru.pLruPrev; + assert( PAGE_IS_UNPINNED(pPage) ); + pcache1RemoveFromHash(pPage, 0); + pcache1PinPage(pPage); + pOther = pPage->pCache; + if( pOther->szAlloc != pCache->szAlloc ){ + pcache1FreePage(pPage); + pPage = 0; + }else{ + pGroup->nPurgeable -= (pOther->bPurgeable - pCache->bPurgeable); + } + } + + /* Step 5. If a usable page buffer has still not been found, + ** attempt to allocate a new one. + */ + if( !pPage ){ + pPage = pcache1AllocPage(pCache, createFlag==1); + } + + if( pPage ){ + unsigned int h = iKey % pCache->nHash; + pCache->nPage++; + pPage->iKey = iKey; + pPage->pNext = pCache->apHash[h]; + pPage->pCache = pCache; + pPage->pLruNext = 0; + /* pPage->pLruPrev = 0; + ** No need to clear pLruPrev since it is not accessed when pLruNext==0 */ + *(void **)pPage->page.pExtra = 0; + pCache->apHash[h] = pPage; + if( iKey>pCache->iMaxKey ){ + pCache->iMaxKey = iKey; + } + } + return pPage; +} + +/* +** Implementation of the sqlite3_pcache.xFetch method. +** +** Fetch a page by key value. +** +** Whether or not a new page may be allocated by this function depends on +** the value of the createFlag argument. 0 means do not allocate a new +** page. 1 means allocate a new page if space is easily available. 2 +** means to try really hard to allocate a new page. +** +** For a non-purgeable cache (a cache used as the storage for an in-memory +** database) there is really no difference between createFlag 1 and 2. So +** the calling function (pcache.c) will never have a createFlag of 1 on +** a non-purgeable cache. +** +** There are three different approaches to obtaining space for a page, +** depending on the value of parameter createFlag (which may be 0, 1 or 2). +** +** 1. Regardless of the value of createFlag, the cache is searched for a +** copy of the requested page. If one is found, it is returned. +** +** 2. If createFlag==0 and the page is not already in the cache, NULL is +** returned. +** +** 3. If createFlag is 1, and the page is not already in the cache, then +** return NULL (do not allocate a new page) if any of the following +** conditions are true: +** +** (a) the number of pages pinned by the cache is greater than +** PCache1.nMax, or +** +** (b) the number of pages pinned by the cache is greater than +** the sum of nMax for all purgeable caches, less the sum of +** nMin for all other purgeable caches, or +** +** 4. If none of the first three conditions apply and the cache is marked +** as purgeable, and if one of the following is true: +** +** (a) The number of pages allocated for the cache is already +** PCache1.nMax, or +** +** (b) The number of pages allocated for all purgeable caches is +** already equal to or greater than the sum of nMax for all +** purgeable caches, +** +** (c) The system is under memory pressure and wants to avoid +** unnecessary pages cache entry allocations +** +** then attempt to recycle a page from the LRU list. If it is the right +** size, return the recycled buffer. Otherwise, free the buffer and +** proceed to step 5. +** +** 5. Otherwise, allocate and return a new page buffer. +** +** There are two versions of this routine. pcache1FetchWithMutex() is +** the general case. pcache1FetchNoMutex() is a faster implementation for +** the common case where pGroup->mutex is NULL. The pcache1Fetch() wrapper +** invokes the appropriate routine. +*/ +static PgHdr1 *pcache1FetchNoMutex( + sqlite3_pcache *p, + unsigned int iKey, + int createFlag +){ + PCache1 *pCache = (PCache1 *)p; + PgHdr1 *pPage = 0; + + /* Step 1: Search the hash table for an existing entry. */ + pPage = pCache->apHash[iKey % pCache->nHash]; + while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; } + + /* Step 2: If the page was found in the hash table, then return it. + ** If the page was not in the hash table and createFlag is 0, abort. + ** Otherwise (page not in hash and createFlag!=0) continue with + ** subsequent steps to try to create the page. */ + if( pPage ){ + if( PAGE_IS_UNPINNED(pPage) ){ + return pcache1PinPage(pPage); + }else{ + return pPage; + } + }else if( createFlag ){ + /* Steps 3, 4, and 5 implemented by this subroutine */ + return pcache1FetchStage2(pCache, iKey, createFlag); + }else{ + return 0; + } +} +#if PCACHE1_MIGHT_USE_GROUP_MUTEX +static PgHdr1 *pcache1FetchWithMutex( + sqlite3_pcache *p, + unsigned int iKey, + int createFlag +){ + PCache1 *pCache = (PCache1 *)p; + PgHdr1 *pPage; + + pcache1EnterMutex(pCache->pGroup); + pPage = pcache1FetchNoMutex(p, iKey, createFlag); + assert( pPage==0 || pCache->iMaxKey>=iKey ); + pcache1LeaveMutex(pCache->pGroup); + return pPage; +} +#endif +static sqlite3_pcache_page *pcache1Fetch( + sqlite3_pcache *p, + unsigned int iKey, + int createFlag +){ +#if PCACHE1_MIGHT_USE_GROUP_MUTEX || defined(SQLITE_DEBUG) + PCache1 *pCache = (PCache1 *)p; +#endif + + assert( offsetof(PgHdr1,page)==0 ); + assert( pCache->bPurgeable || createFlag!=1 ); + assert( pCache->bPurgeable || pCache->nMin==0 ); + assert( pCache->bPurgeable==0 || pCache->nMin==10 ); + assert( pCache->nMin==0 || pCache->bPurgeable ); + assert( pCache->nHash>0 ); +#if PCACHE1_MIGHT_USE_GROUP_MUTEX + if( pCache->pGroup->mutex ){ + return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag); + }else +#endif + { + return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag); + } +} + + +/* +** Implementation of the sqlite3_pcache.xUnpin method. +** +** Mark a page as unpinned (eligible for asynchronous recycling). +*/ +static void pcache1Unpin( + sqlite3_pcache *p, + sqlite3_pcache_page *pPg, + int reuseUnlikely +){ + PCache1 *pCache = (PCache1 *)p; + PgHdr1 *pPage = (PgHdr1 *)pPg; + PGroup *pGroup = pCache->pGroup; + + assert( pPage->pCache==pCache ); + pcache1EnterMutex(pGroup); + + /* It is an error to call this function if the page is already + ** part of the PGroup LRU list. + */ + assert( pPage->pLruNext==0 ); + assert( PAGE_IS_PINNED(pPage) ); + + if( reuseUnlikely || pGroup->nPurgeable>pGroup->nMaxPage ){ + pcache1RemoveFromHash(pPage, 1); + }else{ + /* Add the page to the PGroup LRU list. */ + PgHdr1 **ppFirst = &pGroup->lru.pLruNext; + pPage->pLruPrev = &pGroup->lru; + (pPage->pLruNext = *ppFirst)->pLruPrev = pPage; + *ppFirst = pPage; + pCache->nRecyclable++; + } + + pcache1LeaveMutex(pCache->pGroup); +} + +/* +** Implementation of the sqlite3_pcache.xRekey method. +*/ +static void pcache1Rekey( + sqlite3_pcache *p, + sqlite3_pcache_page *pPg, + unsigned int iOld, + unsigned int iNew +){ + PCache1 *pCache = (PCache1 *)p; + PgHdr1 *pPage = (PgHdr1 *)pPg; + PgHdr1 **pp; + unsigned int h; + assert( pPage->iKey==iOld ); + assert( pPage->pCache==pCache ); + + pcache1EnterMutex(pCache->pGroup); + + h = iOld%pCache->nHash; + pp = &pCache->apHash[h]; + while( (*pp)!=pPage ){ + pp = &(*pp)->pNext; + } + *pp = pPage->pNext; + + h = iNew%pCache->nHash; + pPage->iKey = iNew; + pPage->pNext = pCache->apHash[h]; + pCache->apHash[h] = pPage; + if( iNew>pCache->iMaxKey ){ + pCache->iMaxKey = iNew; + } + + pcache1LeaveMutex(pCache->pGroup); +} + +/* +** Implementation of the sqlite3_pcache.xTruncate method. +** +** Discard all unpinned pages in the cache with a page number equal to +** or greater than parameter iLimit. Any pinned pages with a page number +** equal to or greater than iLimit are implicitly unpinned. +*/ +static void pcache1Truncate(sqlite3_pcache *p, unsigned int iLimit){ + PCache1 *pCache = (PCache1 *)p; + pcache1EnterMutex(pCache->pGroup); + if( iLimit<=pCache->iMaxKey ){ + pcache1TruncateUnsafe(pCache, iLimit); + pCache->iMaxKey = iLimit-1; + } + pcache1LeaveMutex(pCache->pGroup); +} + +/* +** Implementation of the sqlite3_pcache.xDestroy method. +** +** Destroy a cache allocated using pcache1Create(). +*/ +static void pcache1Destroy(sqlite3_pcache *p){ + PCache1 *pCache = (PCache1 *)p; + PGroup *pGroup = pCache->pGroup; + assert( pCache->bPurgeable || (pCache->nMax==0 && pCache->nMin==0) ); + pcache1EnterMutex(pGroup); + if( pCache->nPage ) pcache1TruncateUnsafe(pCache, 0); + assert( pGroup->nMaxPage >= pCache->nMax ); + pGroup->nMaxPage -= pCache->nMax; + assert( pGroup->nMinPage >= pCache->nMin ); + pGroup->nMinPage -= pCache->nMin; + pGroup->mxPinned = pGroup->nMaxPage + 10 - pGroup->nMinPage; + pcache1EnforceMaxPage(pCache); + pcache1LeaveMutex(pGroup); + sqlite3_free(pCache->pBulk); + sqlite3_free(pCache->apHash); + sqlite3_free(pCache); +} + +/* +** This function is called during initialization (sqlite3_initialize()) to +** install the default pluggable cache module, assuming the user has not +** already provided an alternative. +*/ +SQLITE_PRIVATE void sqlite3PCacheSetDefault(void){ + static const sqlite3_pcache_methods2 defaultMethods = { + 1, /* iVersion */ + 0, /* pArg */ + pcache1Init, /* xInit */ + pcache1Shutdown, /* xShutdown */ + pcache1Create, /* xCreate */ + pcache1Cachesize, /* xCachesize */ + pcache1Pagecount, /* xPagecount */ + pcache1Fetch, /* xFetch */ + pcache1Unpin, /* xUnpin */ + pcache1Rekey, /* xRekey */ + pcache1Truncate, /* xTruncate */ + pcache1Destroy, /* xDestroy */ + pcache1Shrink /* xShrink */ + }; + sqlite3_config(SQLITE_CONFIG_PCACHE2, &defaultMethods); +} + +/* +** Return the size of the header on each page of this PCACHE implementation. +*/ +SQLITE_PRIVATE int sqlite3HeaderSizePcache1(void){ return ROUND8(sizeof(PgHdr1)); } + +/* +** Return the global mutex used by this PCACHE implementation. The +** sqlite3_status() routine needs access to this mutex. +*/ +SQLITE_PRIVATE sqlite3_mutex *sqlite3Pcache1Mutex(void){ + return pcache1.mutex; +} + +#ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT +/* +** This function is called to free superfluous dynamically allocated memory +** held by the pager system. Memory in use by any SQLite pager allocated +** by the current thread may be sqlite3_free()ed. +** +** nReq is the number of bytes of memory required. Once this much has +** been released, the function returns. The return value is the total number +** of bytes of memory released. +*/ +SQLITE_PRIVATE int sqlite3PcacheReleaseMemory(int nReq){ + int nFree = 0; + assert( sqlite3_mutex_notheld(pcache1.grp.mutex) ); + assert( sqlite3_mutex_notheld(pcache1.mutex) ); + if( sqlite3GlobalConfig.pPage==0 ){ + PgHdr1 *p; + pcache1EnterMutex(&pcache1.grp); + while( (nReq<0 || nFreeisAnchor==0 + ){ + nFree += pcache1MemSize(p->page.pBuf); +#ifdef SQLITE_PCACHE_SEPARATE_HEADER + nFree += sqlite3MemSize(p); +#endif + assert( PAGE_IS_UNPINNED(p) ); + pcache1PinPage(p); + pcache1RemoveFromHash(p, 1); + } + pcache1LeaveMutex(&pcache1.grp); + } + return nFree; +} +#endif /* SQLITE_ENABLE_MEMORY_MANAGEMENT */ + +#ifdef SQLITE_TEST +/* +** This function is used by test procedures to inspect the internal state +** of the global cache. +*/ +SQLITE_PRIVATE void sqlite3PcacheStats( + int *pnCurrent, /* OUT: Total number of pages cached */ + int *pnMax, /* OUT: Global maximum cache size */ + int *pnMin, /* OUT: Sum of PCache1.nMin for purgeable caches */ + int *pnRecyclable /* OUT: Total number of pages available for recycling */ +){ + PgHdr1 *p; + int nRecyclable = 0; + for(p=pcache1.grp.lru.pLruNext; p && !p->isAnchor; p=p->pLruNext){ + assert( PAGE_IS_UNPINNED(p) ); + nRecyclable++; + } + *pnCurrent = pcache1.grp.nPurgeable; + *pnMax = (int)pcache1.grp.nMaxPage; + *pnMin = (int)pcache1.grp.nMinPage; + *pnRecyclable = nRecyclable; +} +#endif + +/************** End of pcache1.c *********************************************/ +/************** Begin file rowset.c ******************************************/ +/* +** 2008 December 3 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This module implements an object we call a "RowSet". +** +** The RowSet object is a collection of rowids. Rowids +** are inserted into the RowSet in an arbitrary order. Inserts +** can be intermixed with tests to see if a given rowid has been +** previously inserted into the RowSet. +** +** After all inserts are finished, it is possible to extract the +** elements of the RowSet in sorted order. Once this extraction +** process has started, no new elements may be inserted. +** +** Hence, the primitive operations for a RowSet are: +** +** CREATE +** INSERT +** TEST +** SMALLEST +** DESTROY +** +** The CREATE and DESTROY primitives are the constructor and destructor, +** obviously. The INSERT primitive adds a new element to the RowSet. +** TEST checks to see if an element is already in the RowSet. SMALLEST +** extracts the least value from the RowSet. +** +** The INSERT primitive might allocate additional memory. Memory is +** allocated in chunks so most INSERTs do no allocation. There is an +** upper bound on the size of allocated memory. No memory is freed +** until DESTROY. +** +** The TEST primitive includes a "batch" number. The TEST primitive +** will only see elements that were inserted before the last change +** in the batch number. In other words, if an INSERT occurs between +** two TESTs where the TESTs have the same batch nubmer, then the +** value added by the INSERT will not be visible to the second TEST. +** The initial batch number is zero, so if the very first TEST contains +** a non-zero batch number, it will see all prior INSERTs. +** +** No INSERTs may occurs after a SMALLEST. An assertion will fail if +** that is attempted. +** +** The cost of an INSERT is roughly constant. (Sometimes new memory +** has to be allocated on an INSERT.) The cost of a TEST with a new +** batch number is O(NlogN) where N is the number of elements in the RowSet. +** The cost of a TEST using the same batch number is O(logN). The cost +** of the first SMALLEST is O(NlogN). Second and subsequent SMALLEST +** primitives are constant time. The cost of DESTROY is O(N). +** +** TEST and SMALLEST may not be used by the same RowSet. This used to +** be possible, but the feature was not used, so it was removed in order +** to simplify the code. +*/ +/* #include "sqliteInt.h" */ + + +/* +** Target size for allocation chunks. +*/ +#define ROWSET_ALLOCATION_SIZE 1024 + +/* +** The number of rowset entries per allocation chunk. +*/ +#define ROWSET_ENTRY_PER_CHUNK \ + ((ROWSET_ALLOCATION_SIZE-8)/sizeof(struct RowSetEntry)) + +/* +** Each entry in a RowSet is an instance of the following object. +** +** This same object is reused to store a linked list of trees of RowSetEntry +** objects. In that alternative use, pRight points to the next entry +** in the list, pLeft points to the tree, and v is unused. The +** RowSet.pForest value points to the head of this forest list. +*/ +struct RowSetEntry { + i64 v; /* ROWID value for this entry */ + struct RowSetEntry *pRight; /* Right subtree (larger entries) or list */ + struct RowSetEntry *pLeft; /* Left subtree (smaller entries) */ +}; + +/* +** RowSetEntry objects are allocated in large chunks (instances of the +** following structure) to reduce memory allocation overhead. The +** chunks are kept on a linked list so that they can be deallocated +** when the RowSet is destroyed. +*/ +struct RowSetChunk { + struct RowSetChunk *pNextChunk; /* Next chunk on list of them all */ + struct RowSetEntry aEntry[ROWSET_ENTRY_PER_CHUNK]; /* Allocated entries */ +}; + +/* +** A RowSet in an instance of the following structure. +** +** A typedef of this structure if found in sqliteInt.h. +*/ +struct RowSet { + struct RowSetChunk *pChunk; /* List of all chunk allocations */ + sqlite3 *db; /* The database connection */ + struct RowSetEntry *pEntry; /* List of entries using pRight */ + struct RowSetEntry *pLast; /* Last entry on the pEntry list */ + struct RowSetEntry *pFresh; /* Source of new entry objects */ + struct RowSetEntry *pForest; /* List of binary trees of entries */ + u16 nFresh; /* Number of objects on pFresh */ + u16 rsFlags; /* Various flags */ + int iBatch; /* Current insert batch */ +}; + +/* +** Allowed values for RowSet.rsFlags +*/ +#define ROWSET_SORTED 0x01 /* True if RowSet.pEntry is sorted */ +#define ROWSET_NEXT 0x02 /* True if sqlite3RowSetNext() has been called */ + +/* +** Allocate a RowSet object. Return NULL if a memory allocation +** error occurs. +*/ +SQLITE_PRIVATE RowSet *sqlite3RowSetInit(sqlite3 *db){ + RowSet *p = sqlite3DbMallocRawNN(db, sizeof(*p)); + if( p ){ + int N = sqlite3DbMallocSize(db, p); + p->pChunk = 0; + p->db = db; + p->pEntry = 0; + p->pLast = 0; + p->pForest = 0; + p->pFresh = (struct RowSetEntry*)(ROUND8(sizeof(*p)) + (char*)p); + p->nFresh = (u16)((N - ROUND8(sizeof(*p)))/sizeof(struct RowSetEntry)); + p->rsFlags = ROWSET_SORTED; + p->iBatch = 0; + } + return p; +} + +/* +** Deallocate all chunks from a RowSet. This frees all memory that +** the RowSet has allocated over its lifetime. This routine is +** the destructor for the RowSet. +*/ +SQLITE_PRIVATE void sqlite3RowSetClear(void *pArg){ + RowSet *p = (RowSet*)pArg; + struct RowSetChunk *pChunk, *pNextChunk; + for(pChunk=p->pChunk; pChunk; pChunk = pNextChunk){ + pNextChunk = pChunk->pNextChunk; + sqlite3DbFree(p->db, pChunk); + } + p->pChunk = 0; + p->nFresh = 0; + p->pEntry = 0; + p->pLast = 0; + p->pForest = 0; + p->rsFlags = ROWSET_SORTED; +} + +/* +** Deallocate all chunks from a RowSet. This frees all memory that +** the RowSet has allocated over its lifetime. This routine is +** the destructor for the RowSet. +*/ +SQLITE_PRIVATE void sqlite3RowSetDelete(void *pArg){ + sqlite3RowSetClear(pArg); + sqlite3DbFree(((RowSet*)pArg)->db, pArg); +} + +/* +** Allocate a new RowSetEntry object that is associated with the +** given RowSet. Return a pointer to the new and completely uninitialized +** objected. +** +** In an OOM situation, the RowSet.db->mallocFailed flag is set and this +** routine returns NULL. +*/ +static struct RowSetEntry *rowSetEntryAlloc(RowSet *p){ + assert( p!=0 ); + if( p->nFresh==0 ){ /*OPTIMIZATION-IF-FALSE*/ + /* We could allocate a fresh RowSetEntry each time one is needed, but it + ** is more efficient to pull a preallocated entry from the pool */ + struct RowSetChunk *pNew; + pNew = sqlite3DbMallocRawNN(p->db, sizeof(*pNew)); + if( pNew==0 ){ + return 0; + } + pNew->pNextChunk = p->pChunk; + p->pChunk = pNew; + p->pFresh = pNew->aEntry; + p->nFresh = ROWSET_ENTRY_PER_CHUNK; + } + p->nFresh--; + return p->pFresh++; +} + +/* +** Insert a new value into a RowSet. +** +** The mallocFailed flag of the database connection is set if a +** memory allocation fails. +*/ +SQLITE_PRIVATE void sqlite3RowSetInsert(RowSet *p, i64 rowid){ + struct RowSetEntry *pEntry; /* The new entry */ + struct RowSetEntry *pLast; /* The last prior entry */ + + /* This routine is never called after sqlite3RowSetNext() */ + assert( p!=0 && (p->rsFlags & ROWSET_NEXT)==0 ); + + pEntry = rowSetEntryAlloc(p); + if( pEntry==0 ) return; + pEntry->v = rowid; + pEntry->pRight = 0; + pLast = p->pLast; + if( pLast ){ + if( rowid<=pLast->v ){ /*OPTIMIZATION-IF-FALSE*/ + /* Avoid unnecessary sorts by preserving the ROWSET_SORTED flags + ** where possible */ + p->rsFlags &= ~ROWSET_SORTED; + } + pLast->pRight = pEntry; + }else{ + p->pEntry = pEntry; + } + p->pLast = pEntry; +} + +/* +** Merge two lists of RowSetEntry objects. Remove duplicates. +** +** The input lists are connected via pRight pointers and are +** assumed to each already be in sorted order. +*/ +static struct RowSetEntry *rowSetEntryMerge( + struct RowSetEntry *pA, /* First sorted list to be merged */ + struct RowSetEntry *pB /* Second sorted list to be merged */ +){ + struct RowSetEntry head; + struct RowSetEntry *pTail; + + pTail = &head; + assert( pA!=0 && pB!=0 ); + for(;;){ + assert( pA->pRight==0 || pA->v<=pA->pRight->v ); + assert( pB->pRight==0 || pB->v<=pB->pRight->v ); + if( pA->v<=pB->v ){ + if( pA->vv ) pTail = pTail->pRight = pA; + pA = pA->pRight; + if( pA==0 ){ + pTail->pRight = pB; + break; + } + }else{ + pTail = pTail->pRight = pB; + pB = pB->pRight; + if( pB==0 ){ + pTail->pRight = pA; + break; + } + } + } + return head.pRight; +} + +/* +** Sort all elements on the list of RowSetEntry objects into order of +** increasing v. +*/ +static struct RowSetEntry *rowSetEntrySort(struct RowSetEntry *pIn){ + unsigned int i; + struct RowSetEntry *pNext, *aBucket[40]; + + memset(aBucket, 0, sizeof(aBucket)); + while( pIn ){ + pNext = pIn->pRight; + pIn->pRight = 0; + for(i=0; aBucket[i]; i++){ + pIn = rowSetEntryMerge(aBucket[i], pIn); + aBucket[i] = 0; + } + aBucket[i] = pIn; + pIn = pNext; + } + pIn = aBucket[0]; + for(i=1; ipLeft ){ + struct RowSetEntry *p; + rowSetTreeToList(pIn->pLeft, ppFirst, &p); + p->pRight = pIn; + }else{ + *ppFirst = pIn; + } + if( pIn->pRight ){ + rowSetTreeToList(pIn->pRight, &pIn->pRight, ppLast); + }else{ + *ppLast = pIn; + } + assert( (*ppLast)->pRight==0 ); +} + + +/* +** Convert a sorted list of elements (connected by pRight) into a binary +** tree with depth of iDepth. A depth of 1 means the tree contains a single +** node taken from the head of *ppList. A depth of 2 means a tree with +** three nodes. And so forth. +** +** Use as many entries from the input list as required and update the +** *ppList to point to the unused elements of the list. If the input +** list contains too few elements, then construct an incomplete tree +** and leave *ppList set to NULL. +** +** Return a pointer to the root of the constructed binary tree. +*/ +static struct RowSetEntry *rowSetNDeepTree( + struct RowSetEntry **ppList, + int iDepth +){ + struct RowSetEntry *p; /* Root of the new tree */ + struct RowSetEntry *pLeft; /* Left subtree */ + if( *ppList==0 ){ /*OPTIMIZATION-IF-TRUE*/ + /* Prevent unnecessary deep recursion when we run out of entries */ + return 0; + } + if( iDepth>1 ){ /*OPTIMIZATION-IF-TRUE*/ + /* This branch causes a *balanced* tree to be generated. A valid tree + ** is still generated without this branch, but the tree is wildly + ** unbalanced and inefficient. */ + pLeft = rowSetNDeepTree(ppList, iDepth-1); + p = *ppList; + if( p==0 ){ /*OPTIMIZATION-IF-FALSE*/ + /* It is safe to always return here, but the resulting tree + ** would be unbalanced */ + return pLeft; + } + p->pLeft = pLeft; + *ppList = p->pRight; + p->pRight = rowSetNDeepTree(ppList, iDepth-1); + }else{ + p = *ppList; + *ppList = p->pRight; + p->pLeft = p->pRight = 0; + } + return p; +} + +/* +** Convert a sorted list of elements into a binary tree. Make the tree +** as deep as it needs to be in order to contain the entire list. +*/ +static struct RowSetEntry *rowSetListToTree(struct RowSetEntry *pList){ + int iDepth; /* Depth of the tree so far */ + struct RowSetEntry *p; /* Current tree root */ + struct RowSetEntry *pLeft; /* Left subtree */ + + assert( pList!=0 ); + p = pList; + pList = p->pRight; + p->pLeft = p->pRight = 0; + for(iDepth=1; pList; iDepth++){ + pLeft = p; + p = pList; + pList = p->pRight; + p->pLeft = pLeft; + p->pRight = rowSetNDeepTree(&pList, iDepth); + } + return p; +} + +/* +** Extract the smallest element from the RowSet. +** Write the element into *pRowid. Return 1 on success. Return +** 0 if the RowSet is already empty. +** +** After this routine has been called, the sqlite3RowSetInsert() +** routine may not be called again. +** +** This routine may not be called after sqlite3RowSetTest() has +** been used. Older versions of RowSet allowed that, but as the +** capability was not used by the code generator, it was removed +** for code economy. +*/ +SQLITE_PRIVATE int sqlite3RowSetNext(RowSet *p, i64 *pRowid){ + assert( p!=0 ); + assert( p->pForest==0 ); /* Cannot be used with sqlite3RowSetText() */ + + /* Merge the forest into a single sorted list on first call */ + if( (p->rsFlags & ROWSET_NEXT)==0 ){ /*OPTIMIZATION-IF-FALSE*/ + if( (p->rsFlags & ROWSET_SORTED)==0 ){ /*OPTIMIZATION-IF-FALSE*/ + p->pEntry = rowSetEntrySort(p->pEntry); + } + p->rsFlags |= ROWSET_SORTED|ROWSET_NEXT; + } + + /* Return the next entry on the list */ + if( p->pEntry ){ + *pRowid = p->pEntry->v; + p->pEntry = p->pEntry->pRight; + if( p->pEntry==0 ){ /*OPTIMIZATION-IF-TRUE*/ + /* Free memory immediately, rather than waiting on sqlite3_finalize() */ + sqlite3RowSetClear(p); + } + return 1; + }else{ + return 0; + } +} + +/* +** Check to see if element iRowid was inserted into the rowset as +** part of any insert batch prior to iBatch. Return 1 or 0. +** +** If this is the first test of a new batch and if there exist entries +** on pRowSet->pEntry, then sort those entries into the forest at +** pRowSet->pForest so that they can be tested. +*/ +SQLITE_PRIVATE int sqlite3RowSetTest(RowSet *pRowSet, int iBatch, sqlite3_int64 iRowid){ + struct RowSetEntry *p, *pTree; + + /* This routine is never called after sqlite3RowSetNext() */ + assert( pRowSet!=0 && (pRowSet->rsFlags & ROWSET_NEXT)==0 ); + + /* Sort entries into the forest on the first test of a new batch. + ** To save unnecessary work, only do this when the batch number changes. + */ + if( iBatch!=pRowSet->iBatch ){ /*OPTIMIZATION-IF-FALSE*/ + p = pRowSet->pEntry; + if( p ){ + struct RowSetEntry **ppPrevTree = &pRowSet->pForest; + if( (pRowSet->rsFlags & ROWSET_SORTED)==0 ){ /*OPTIMIZATION-IF-FALSE*/ + /* Only sort the current set of entiries if they need it */ + p = rowSetEntrySort(p); + } + for(pTree = pRowSet->pForest; pTree; pTree=pTree->pRight){ + ppPrevTree = &pTree->pRight; + if( pTree->pLeft==0 ){ + pTree->pLeft = rowSetListToTree(p); + break; + }else{ + struct RowSetEntry *pAux, *pTail; + rowSetTreeToList(pTree->pLeft, &pAux, &pTail); + pTree->pLeft = 0; + p = rowSetEntryMerge(pAux, p); + } + } + if( pTree==0 ){ + *ppPrevTree = pTree = rowSetEntryAlloc(pRowSet); + if( pTree ){ + pTree->v = 0; + pTree->pRight = 0; + pTree->pLeft = rowSetListToTree(p); + } + } + pRowSet->pEntry = 0; + pRowSet->pLast = 0; + pRowSet->rsFlags |= ROWSET_SORTED; + } + pRowSet->iBatch = iBatch; + } + + /* Test to see if the iRowid value appears anywhere in the forest. + ** Return 1 if it does and 0 if not. + */ + for(pTree = pRowSet->pForest; pTree; pTree=pTree->pRight){ + p = pTree->pLeft; + while( p ){ + if( p->vpRight; + }else if( p->v>iRowid ){ + p = p->pLeft; + }else{ + return 1; + } + } + } + return 0; +} + +/************** End of rowset.c **********************************************/ +/************** Begin file pager.c *******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This is the implementation of the page cache subsystem or "pager". +** +** The pager is used to access a database disk file. It implements +** atomic commit and rollback through the use of a journal file that +** is separate from the database file. The pager also implements file +** locking to prevent two processes from writing the same database +** file simultaneously, or one process from reading the database while +** another is writing. +*/ +#ifndef SQLITE_OMIT_DISKIO +/* #include "sqliteInt.h" */ +/************** Include wal.h in the middle of pager.c ***********************/ +/************** Begin file wal.h *********************************************/ +/* +** 2010 February 1 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This header file defines the interface to the write-ahead logging +** system. Refer to the comments below and the header comment attached to +** the implementation of each function in log.c for further details. +*/ + +#ifndef SQLITE_WAL_H +#define SQLITE_WAL_H + +/* #include "sqliteInt.h" */ + +/* Macros for extracting appropriate sync flags for either transaction +** commits (WAL_SYNC_FLAGS(X)) or for checkpoint ops (CKPT_SYNC_FLAGS(X)): +*/ +#define WAL_SYNC_FLAGS(X) ((X)&0x03) +#define CKPT_SYNC_FLAGS(X) (((X)>>2)&0x03) + +#ifdef SQLITE_OMIT_WAL +# define sqlite3WalOpen(x,y,z) 0 +# define sqlite3WalLimit(x,y) +# define sqlite3WalClose(v,w,x,y,z) 0 +# define sqlite3WalBeginReadTransaction(y,z) 0 +# define sqlite3WalEndReadTransaction(z) +# define sqlite3WalDbsize(y) 0 +# define sqlite3WalBeginWriteTransaction(y) 0 +# define sqlite3WalEndWriteTransaction(x) 0 +# define sqlite3WalUndo(x,y,z) 0 +# define sqlite3WalSavepoint(y,z) +# define sqlite3WalSavepointUndo(y,z) 0 +# define sqlite3WalFrames(u,v,w,x,y,z) 0 +# define sqlite3WalCheckpoint(q,r,s,t,u,v,w,x,y,z) 0 +# define sqlite3WalCallback(z) 0 +# define sqlite3WalExclusiveMode(y,z) 0 +# define sqlite3WalHeapMemory(z) 0 +# define sqlite3WalFramesize(z) 0 +# define sqlite3WalFindFrame(x,y,z) 0 +# define sqlite3WalFile(x) 0 +#else + +#define WAL_SAVEPOINT_NDATA 4 + +/* Connection to a write-ahead log (WAL) file. +** There is one object of this type for each pager. +*/ +typedef struct Wal Wal; + +/* Open and close a connection to a write-ahead log. */ +SQLITE_PRIVATE int sqlite3WalOpen(sqlite3_vfs*, sqlite3_file*, const char *, int, i64, Wal**); +SQLITE_PRIVATE int sqlite3WalClose(Wal *pWal, sqlite3*, int sync_flags, int, u8 *); + +/* Set the limiting size of a WAL file. */ +SQLITE_PRIVATE void sqlite3WalLimit(Wal*, i64); + +/* Used by readers to open (lock) and close (unlock) a snapshot. A +** snapshot is like a read-transaction. It is the state of the database +** at an instant in time. sqlite3WalOpenSnapshot gets a read lock and +** preserves the current state even if the other threads or processes +** write to or checkpoint the WAL. sqlite3WalCloseSnapshot() closes the +** transaction and releases the lock. +*/ +SQLITE_PRIVATE int sqlite3WalBeginReadTransaction(Wal *pWal, int *); +SQLITE_PRIVATE void sqlite3WalEndReadTransaction(Wal *pWal); + +/* Read a page from the write-ahead log, if it is present. */ +SQLITE_PRIVATE int sqlite3WalFindFrame(Wal *, Pgno, u32 *); +SQLITE_PRIVATE int sqlite3WalReadFrame(Wal *, u32, int, u8 *); + +/* If the WAL is not empty, return the size of the database. */ +SQLITE_PRIVATE Pgno sqlite3WalDbsize(Wal *pWal); + +/* Obtain or release the WRITER lock. */ +SQLITE_PRIVATE int sqlite3WalBeginWriteTransaction(Wal *pWal); +SQLITE_PRIVATE int sqlite3WalEndWriteTransaction(Wal *pWal); + +/* Undo any frames written (but not committed) to the log */ +SQLITE_PRIVATE int sqlite3WalUndo(Wal *pWal, int (*xUndo)(void *, Pgno), void *pUndoCtx); + +/* Return an integer that records the current (uncommitted) write +** position in the WAL */ +SQLITE_PRIVATE void sqlite3WalSavepoint(Wal *pWal, u32 *aWalData); + +/* Move the write position of the WAL back to iFrame. Called in +** response to a ROLLBACK TO command. */ +SQLITE_PRIVATE int sqlite3WalSavepointUndo(Wal *pWal, u32 *aWalData); + +/* Write a frame or frames to the log. */ +SQLITE_PRIVATE int sqlite3WalFrames(Wal *pWal, int, PgHdr *, Pgno, int, int); + +/* Copy pages from the log to the database file */ +SQLITE_PRIVATE int sqlite3WalCheckpoint( + Wal *pWal, /* Write-ahead log connection */ + sqlite3 *db, /* Check this handle's interrupt flag */ + int eMode, /* One of PASSIVE, FULL and RESTART */ + int (*xBusy)(void*), /* Function to call when busy */ + void *pBusyArg, /* Context argument for xBusyHandler */ + int sync_flags, /* Flags to sync db file with (or 0) */ + int nBuf, /* Size of buffer nBuf */ + u8 *zBuf, /* Temporary buffer to use */ + int *pnLog, /* OUT: Number of frames in WAL */ + int *pnCkpt /* OUT: Number of backfilled frames in WAL */ +); + +/* Return the value to pass to a sqlite3_wal_hook callback, the +** number of frames in the WAL at the point of the last commit since +** sqlite3WalCallback() was called. If no commits have occurred since +** the last call, then return 0. +*/ +SQLITE_PRIVATE int sqlite3WalCallback(Wal *pWal); + +/* Tell the wal layer that an EXCLUSIVE lock has been obtained (or released) +** by the pager layer on the database file. +*/ +SQLITE_PRIVATE int sqlite3WalExclusiveMode(Wal *pWal, int op); + +/* Return true if the argument is non-NULL and the WAL module is using +** heap-memory for the wal-index. Otherwise, if the argument is NULL or the +** WAL module is using shared-memory, return false. +*/ +SQLITE_PRIVATE int sqlite3WalHeapMemory(Wal *pWal); + +#ifdef SQLITE_ENABLE_SNAPSHOT +SQLITE_PRIVATE int sqlite3WalSnapshotGet(Wal *pWal, sqlite3_snapshot **ppSnapshot); +SQLITE_PRIVATE void sqlite3WalSnapshotOpen(Wal *pWal, sqlite3_snapshot *pSnapshot); +SQLITE_PRIVATE int sqlite3WalSnapshotRecover(Wal *pWal); +SQLITE_PRIVATE int sqlite3WalSnapshotCheck(Wal *pWal, sqlite3_snapshot *pSnapshot); +SQLITE_PRIVATE void sqlite3WalSnapshotUnlock(Wal *pWal); +#endif + +#ifdef SQLITE_ENABLE_ZIPVFS +/* If the WAL file is not empty, return the number of bytes of content +** stored in each frame (i.e. the db page-size when the WAL was created). +*/ +SQLITE_PRIVATE int sqlite3WalFramesize(Wal *pWal); +#endif + +/* Return the sqlite3_file object for the WAL file */ +SQLITE_PRIVATE sqlite3_file *sqlite3WalFile(Wal *pWal); + +#endif /* ifndef SQLITE_OMIT_WAL */ +#endif /* SQLITE_WAL_H */ + +/************** End of wal.h *************************************************/ +/************** Continuing where we left off in pager.c **********************/ + + +/******************* NOTES ON THE DESIGN OF THE PAGER ************************ +** +** This comment block describes invariants that hold when using a rollback +** journal. These invariants do not apply for journal_mode=WAL, +** journal_mode=MEMORY, or journal_mode=OFF. +** +** Within this comment block, a page is deemed to have been synced +** automatically as soon as it is written when PRAGMA synchronous=OFF. +** Otherwise, the page is not synced until the xSync method of the VFS +** is called successfully on the file containing the page. +** +** Definition: A page of the database file is said to be "overwriteable" if +** one or more of the following are true about the page: +** +** (a) The original content of the page as it was at the beginning of +** the transaction has been written into the rollback journal and +** synced. +** +** (b) The page was a freelist leaf page at the start of the transaction. +** +** (c) The page number is greater than the largest page that existed in +** the database file at the start of the transaction. +** +** (1) A page of the database file is never overwritten unless one of the +** following are true: +** +** (a) The page and all other pages on the same sector are overwriteable. +** +** (b) The atomic page write optimization is enabled, and the entire +** transaction other than the update of the transaction sequence +** number consists of a single page change. +** +** (2) The content of a page written into the rollback journal exactly matches +** both the content in the database when the rollback journal was written +** and the content in the database at the beginning of the current +** transaction. +** +** (3) Writes to the database file are an integer multiple of the page size +** in length and are aligned on a page boundary. +** +** (4) Reads from the database file are either aligned on a page boundary and +** an integer multiple of the page size in length or are taken from the +** first 100 bytes of the database file. +** +** (5) All writes to the database file are synced prior to the rollback journal +** being deleted, truncated, or zeroed. +** +** (6) If a master journal file is used, then all writes to the database file +** are synced prior to the master journal being deleted. +** +** Definition: Two databases (or the same database at two points it time) +** are said to be "logically equivalent" if they give the same answer to +** all queries. Note in particular the content of freelist leaf +** pages can be changed arbitrarily without affecting the logical equivalence +** of the database. +** +** (7) At any time, if any subset, including the empty set and the total set, +** of the unsynced changes to a rollback journal are removed and the +** journal is rolled back, the resulting database file will be logically +** equivalent to the database file at the beginning of the transaction. +** +** (8) When a transaction is rolled back, the xTruncate method of the VFS +** is called to restore the database file to the same size it was at +** the beginning of the transaction. (In some VFSes, the xTruncate +** method is a no-op, but that does not change the fact the SQLite will +** invoke it.) +** +** (9) Whenever the database file is modified, at least one bit in the range +** of bytes from 24 through 39 inclusive will be changed prior to releasing +** the EXCLUSIVE lock, thus signaling other connections on the same +** database to flush their caches. +** +** (10) The pattern of bits in bytes 24 through 39 shall not repeat in less +** than one billion transactions. +** +** (11) A database file is well-formed at the beginning and at the conclusion +** of every transaction. +** +** (12) An EXCLUSIVE lock is held on the database file when writing to +** the database file. +** +** (13) A SHARED lock is held on the database file while reading any +** content out of the database file. +** +******************************************************************************/ + +/* +** Macros for troubleshooting. Normally turned off +*/ +#if 0 +int sqlite3PagerTrace=1; /* True to enable tracing */ +#define sqlite3DebugPrintf printf +#define PAGERTRACE(X) if( sqlite3PagerTrace ){ sqlite3DebugPrintf X; } +#else +#define PAGERTRACE(X) +#endif + +/* +** The following two macros are used within the PAGERTRACE() macros above +** to print out file-descriptors. +** +** PAGERID() takes a pointer to a Pager struct as its argument. The +** associated file-descriptor is returned. FILEHANDLEID() takes an sqlite3_file +** struct as its argument. +*/ +#define PAGERID(p) (SQLITE_PTR_TO_INT(p->fd)) +#define FILEHANDLEID(fd) (SQLITE_PTR_TO_INT(fd)) + +/* +** The Pager.eState variable stores the current 'state' of a pager. A +** pager may be in any one of the seven states shown in the following +** state diagram. +** +** OPEN <------+------+ +** | | | +** V | | +** +---------> READER-------+ | +** | | | +** | V | +** |<-------WRITER_LOCKED------> ERROR +** | | ^ +** | V | +** |<------WRITER_CACHEMOD-------->| +** | | | +** | V | +** |<-------WRITER_DBMOD---------->| +** | | | +** | V | +** +<------WRITER_FINISHED-------->+ +** +** +** List of state transitions and the C [function] that performs each: +** +** OPEN -> READER [sqlite3PagerSharedLock] +** READER -> OPEN [pager_unlock] +** +** READER -> WRITER_LOCKED [sqlite3PagerBegin] +** WRITER_LOCKED -> WRITER_CACHEMOD [pager_open_journal] +** WRITER_CACHEMOD -> WRITER_DBMOD [syncJournal] +** WRITER_DBMOD -> WRITER_FINISHED [sqlite3PagerCommitPhaseOne] +** WRITER_*** -> READER [pager_end_transaction] +** +** WRITER_*** -> ERROR [pager_error] +** ERROR -> OPEN [pager_unlock] +** +** +** OPEN: +** +** The pager starts up in this state. Nothing is guaranteed in this +** state - the file may or may not be locked and the database size is +** unknown. The database may not be read or written. +** +** * No read or write transaction is active. +** * Any lock, or no lock at all, may be held on the database file. +** * The dbSize, dbOrigSize and dbFileSize variables may not be trusted. +** +** READER: +** +** In this state all the requirements for reading the database in +** rollback (non-WAL) mode are met. Unless the pager is (or recently +** was) in exclusive-locking mode, a user-level read transaction is +** open. The database size is known in this state. +** +** A connection running with locking_mode=normal enters this state when +** it opens a read-transaction on the database and returns to state +** OPEN after the read-transaction is completed. However a connection +** running in locking_mode=exclusive (including temp databases) remains in +** this state even after the read-transaction is closed. The only way +** a locking_mode=exclusive connection can transition from READER to OPEN +** is via the ERROR state (see below). +** +** * A read transaction may be active (but a write-transaction cannot). +** * A SHARED or greater lock is held on the database file. +** * The dbSize variable may be trusted (even if a user-level read +** transaction is not active). The dbOrigSize and dbFileSize variables +** may not be trusted at this point. +** * If the database is a WAL database, then the WAL connection is open. +** * Even if a read-transaction is not open, it is guaranteed that +** there is no hot-journal in the file-system. +** +** WRITER_LOCKED: +** +** The pager moves to this state from READER when a write-transaction +** is first opened on the database. In WRITER_LOCKED state, all locks +** required to start a write-transaction are held, but no actual +** modifications to the cache or database have taken place. +** +** In rollback mode, a RESERVED or (if the transaction was opened with +** BEGIN EXCLUSIVE) EXCLUSIVE lock is obtained on the database file when +** moving to this state, but the journal file is not written to or opened +** to in this state. If the transaction is committed or rolled back while +** in WRITER_LOCKED state, all that is required is to unlock the database +** file. +** +** IN WAL mode, WalBeginWriteTransaction() is called to lock the log file. +** If the connection is running with locking_mode=exclusive, an attempt +** is made to obtain an EXCLUSIVE lock on the database file. +** +** * A write transaction is active. +** * If the connection is open in rollback-mode, a RESERVED or greater +** lock is held on the database file. +** * If the connection is open in WAL-mode, a WAL write transaction +** is open (i.e. sqlite3WalBeginWriteTransaction() has been successfully +** called). +** * The dbSize, dbOrigSize and dbFileSize variables are all valid. +** * The contents of the pager cache have not been modified. +** * The journal file may or may not be open. +** * Nothing (not even the first header) has been written to the journal. +** +** WRITER_CACHEMOD: +** +** A pager moves from WRITER_LOCKED state to this state when a page is +** first modified by the upper layer. In rollback mode the journal file +** is opened (if it is not already open) and a header written to the +** start of it. The database file on disk has not been modified. +** +** * A write transaction is active. +** * A RESERVED or greater lock is held on the database file. +** * The journal file is open and the first header has been written +** to it, but the header has not been synced to disk. +** * The contents of the page cache have been modified. +** +** WRITER_DBMOD: +** +** The pager transitions from WRITER_CACHEMOD into WRITER_DBMOD state +** when it modifies the contents of the database file. WAL connections +** never enter this state (since they do not modify the database file, +** just the log file). +** +** * A write transaction is active. +** * An EXCLUSIVE or greater lock is held on the database file. +** * The journal file is open and the first header has been written +** and synced to disk. +** * The contents of the page cache have been modified (and possibly +** written to disk). +** +** WRITER_FINISHED: +** +** It is not possible for a WAL connection to enter this state. +** +** A rollback-mode pager changes to WRITER_FINISHED state from WRITER_DBMOD +** state after the entire transaction has been successfully written into the +** database file. In this state the transaction may be committed simply +** by finalizing the journal file. Once in WRITER_FINISHED state, it is +** not possible to modify the database further. At this point, the upper +** layer must either commit or rollback the transaction. +** +** * A write transaction is active. +** * An EXCLUSIVE or greater lock is held on the database file. +** * All writing and syncing of journal and database data has finished. +** If no error occurred, all that remains is to finalize the journal to +** commit the transaction. If an error did occur, the caller will need +** to rollback the transaction. +** +** ERROR: +** +** The ERROR state is entered when an IO or disk-full error (including +** SQLITE_IOERR_NOMEM) occurs at a point in the code that makes it +** difficult to be sure that the in-memory pager state (cache contents, +** db size etc.) are consistent with the contents of the file-system. +** +** Temporary pager files may enter the ERROR state, but in-memory pagers +** cannot. +** +** For example, if an IO error occurs while performing a rollback, +** the contents of the page-cache may be left in an inconsistent state. +** At this point it would be dangerous to change back to READER state +** (as usually happens after a rollback). Any subsequent readers might +** report database corruption (due to the inconsistent cache), and if +** they upgrade to writers, they may inadvertently corrupt the database +** file. To avoid this hazard, the pager switches into the ERROR state +** instead of READER following such an error. +** +** Once it has entered the ERROR state, any attempt to use the pager +** to read or write data returns an error. Eventually, once all +** outstanding transactions have been abandoned, the pager is able to +** transition back to OPEN state, discarding the contents of the +** page-cache and any other in-memory state at the same time. Everything +** is reloaded from disk (and, if necessary, hot-journal rollback peformed) +** when a read-transaction is next opened on the pager (transitioning +** the pager into READER state). At that point the system has recovered +** from the error. +** +** Specifically, the pager jumps into the ERROR state if: +** +** 1. An error occurs while attempting a rollback. This happens in +** function sqlite3PagerRollback(). +** +** 2. An error occurs while attempting to finalize a journal file +** following a commit in function sqlite3PagerCommitPhaseTwo(). +** +** 3. An error occurs while attempting to write to the journal or +** database file in function pagerStress() in order to free up +** memory. +** +** In other cases, the error is returned to the b-tree layer. The b-tree +** layer then attempts a rollback operation. If the error condition +** persists, the pager enters the ERROR state via condition (1) above. +** +** Condition (3) is necessary because it can be triggered by a read-only +** statement executed within a transaction. In this case, if the error +** code were simply returned to the user, the b-tree layer would not +** automatically attempt a rollback, as it assumes that an error in a +** read-only statement cannot leave the pager in an internally inconsistent +** state. +** +** * The Pager.errCode variable is set to something other than SQLITE_OK. +** * There are one or more outstanding references to pages (after the +** last reference is dropped the pager should move back to OPEN state). +** * The pager is not an in-memory pager. +** +** +** Notes: +** +** * A pager is never in WRITER_DBMOD or WRITER_FINISHED state if the +** connection is open in WAL mode. A WAL connection is always in one +** of the first four states. +** +** * Normally, a connection open in exclusive mode is never in PAGER_OPEN +** state. There are two exceptions: immediately after exclusive-mode has +** been turned on (and before any read or write transactions are +** executed), and when the pager is leaving the "error state". +** +** * See also: assert_pager_state(). +*/ +#define PAGER_OPEN 0 +#define PAGER_READER 1 +#define PAGER_WRITER_LOCKED 2 +#define PAGER_WRITER_CACHEMOD 3 +#define PAGER_WRITER_DBMOD 4 +#define PAGER_WRITER_FINISHED 5 +#define PAGER_ERROR 6 + +/* +** The Pager.eLock variable is almost always set to one of the +** following locking-states, according to the lock currently held on +** the database file: NO_LOCK, SHARED_LOCK, RESERVED_LOCK or EXCLUSIVE_LOCK. +** This variable is kept up to date as locks are taken and released by +** the pagerLockDb() and pagerUnlockDb() wrappers. +** +** If the VFS xLock() or xUnlock() returns an error other than SQLITE_BUSY +** (i.e. one of the SQLITE_IOERR subtypes), it is not clear whether or not +** the operation was successful. In these circumstances pagerLockDb() and +** pagerUnlockDb() take a conservative approach - eLock is always updated +** when unlocking the file, and only updated when locking the file if the +** VFS call is successful. This way, the Pager.eLock variable may be set +** to a less exclusive (lower) value than the lock that is actually held +** at the system level, but it is never set to a more exclusive value. +** +** This is usually safe. If an xUnlock fails or appears to fail, there may +** be a few redundant xLock() calls or a lock may be held for longer than +** required, but nothing really goes wrong. +** +** The exception is when the database file is unlocked as the pager moves +** from ERROR to OPEN state. At this point there may be a hot-journal file +** in the file-system that needs to be rolled back (as part of an OPEN->SHARED +** transition, by the same pager or any other). If the call to xUnlock() +** fails at this point and the pager is left holding an EXCLUSIVE lock, this +** can confuse the call to xCheckReservedLock() call made later as part +** of hot-journal detection. +** +** xCheckReservedLock() is defined as returning true "if there is a RESERVED +** lock held by this process or any others". So xCheckReservedLock may +** return true because the caller itself is holding an EXCLUSIVE lock (but +** doesn't know it because of a previous error in xUnlock). If this happens +** a hot-journal may be mistaken for a journal being created by an active +** transaction in another process, causing SQLite to read from the database +** without rolling it back. +** +** To work around this, if a call to xUnlock() fails when unlocking the +** database in the ERROR state, Pager.eLock is set to UNKNOWN_LOCK. It +** is only changed back to a real locking state after a successful call +** to xLock(EXCLUSIVE). Also, the code to do the OPEN->SHARED state transition +** omits the check for a hot-journal if Pager.eLock is set to UNKNOWN_LOCK +** lock. Instead, it assumes a hot-journal exists and obtains an EXCLUSIVE +** lock on the database file before attempting to roll it back. See function +** PagerSharedLock() for more detail. +** +** Pager.eLock may only be set to UNKNOWN_LOCK when the pager is in +** PAGER_OPEN state. +*/ +#define UNKNOWN_LOCK (EXCLUSIVE_LOCK+1) + +/* +** A macro used for invoking the codec if there is one +*/ +#ifdef SQLITE_HAS_CODEC +# define CODEC1(P,D,N,X,E) \ + if( P->xCodec && P->xCodec(P->pCodec,D,N,X)==0 ){ E; } +# define CODEC2(P,D,N,X,E,O) \ + if( P->xCodec==0 ){ O=(char*)D; }else \ + if( (O=(char*)(P->xCodec(P->pCodec,D,N,X)))==0 ){ E; } +#else +# define CODEC1(P,D,N,X,E) /* NO-OP */ +# define CODEC2(P,D,N,X,E,O) O=(char*)D +#endif + +/* +** The maximum allowed sector size. 64KiB. If the xSectorsize() method +** returns a value larger than this, then MAX_SECTOR_SIZE is used instead. +** This could conceivably cause corruption following a power failure on +** such a system. This is currently an undocumented limit. +*/ +#define MAX_SECTOR_SIZE 0x10000 + + +/* +** An instance of the following structure is allocated for each active +** savepoint and statement transaction in the system. All such structures +** are stored in the Pager.aSavepoint[] array, which is allocated and +** resized using sqlite3Realloc(). +** +** When a savepoint is created, the PagerSavepoint.iHdrOffset field is +** set to 0. If a journal-header is written into the main journal while +** the savepoint is active, then iHdrOffset is set to the byte offset +** immediately following the last journal record written into the main +** journal before the journal-header. This is required during savepoint +** rollback (see pagerPlaybackSavepoint()). +*/ +typedef struct PagerSavepoint PagerSavepoint; +struct PagerSavepoint { + i64 iOffset; /* Starting offset in main journal */ + i64 iHdrOffset; /* See above */ + Bitvec *pInSavepoint; /* Set of pages in this savepoint */ + Pgno nOrig; /* Original number of pages in file */ + Pgno iSubRec; /* Index of first record in sub-journal */ +#ifndef SQLITE_OMIT_WAL + u32 aWalData[WAL_SAVEPOINT_NDATA]; /* WAL savepoint context */ +#endif +}; + +/* +** Bits of the Pager.doNotSpill flag. See further description below. +*/ +#define SPILLFLAG_OFF 0x01 /* Never spill cache. Set via pragma */ +#define SPILLFLAG_ROLLBACK 0x02 /* Current rolling back, so do not spill */ +#define SPILLFLAG_NOSYNC 0x04 /* Spill is ok, but do not sync */ + +/* +** An open page cache is an instance of struct Pager. A description of +** some of the more important member variables follows: +** +** eState +** +** The current 'state' of the pager object. See the comment and state +** diagram above for a description of the pager state. +** +** eLock +** +** For a real on-disk database, the current lock held on the database file - +** NO_LOCK, SHARED_LOCK, RESERVED_LOCK or EXCLUSIVE_LOCK. +** +** For a temporary or in-memory database (neither of which require any +** locks), this variable is always set to EXCLUSIVE_LOCK. Since such +** databases always have Pager.exclusiveMode==1, this tricks the pager +** logic into thinking that it already has all the locks it will ever +** need (and no reason to release them). +** +** In some (obscure) circumstances, this variable may also be set to +** UNKNOWN_LOCK. See the comment above the #define of UNKNOWN_LOCK for +** details. +** +** changeCountDone +** +** This boolean variable is used to make sure that the change-counter +** (the 4-byte header field at byte offset 24 of the database file) is +** not updated more often than necessary. +** +** It is set to true when the change-counter field is updated, which +** can only happen if an exclusive lock is held on the database file. +** It is cleared (set to false) whenever an exclusive lock is +** relinquished on the database file. Each time a transaction is committed, +** The changeCountDone flag is inspected. If it is true, the work of +** updating the change-counter is omitted for the current transaction. +** +** This mechanism means that when running in exclusive mode, a connection +** need only update the change-counter once, for the first transaction +** committed. +** +** setMaster +** +** When PagerCommitPhaseOne() is called to commit a transaction, it may +** (or may not) specify a master-journal name to be written into the +** journal file before it is synced to disk. +** +** Whether or not a journal file contains a master-journal pointer affects +** the way in which the journal file is finalized after the transaction is +** committed or rolled back when running in "journal_mode=PERSIST" mode. +** If a journal file does not contain a master-journal pointer, it is +** finalized by overwriting the first journal header with zeroes. If +** it does contain a master-journal pointer the journal file is finalized +** by truncating it to zero bytes, just as if the connection were +** running in "journal_mode=truncate" mode. +** +** Journal files that contain master journal pointers cannot be finalized +** simply by overwriting the first journal-header with zeroes, as the +** master journal pointer could interfere with hot-journal rollback of any +** subsequently interrupted transaction that reuses the journal file. +** +** The flag is cleared as soon as the journal file is finalized (either +** by PagerCommitPhaseTwo or PagerRollback). If an IO error prevents the +** journal file from being successfully finalized, the setMaster flag +** is cleared anyway (and the pager will move to ERROR state). +** +** doNotSpill +** +** This variables control the behavior of cache-spills (calls made by +** the pcache module to the pagerStress() routine to write cached data +** to the file-system in order to free up memory). +** +** When bits SPILLFLAG_OFF or SPILLFLAG_ROLLBACK of doNotSpill are set, +** writing to the database from pagerStress() is disabled altogether. +** The SPILLFLAG_ROLLBACK case is done in a very obscure case that +** comes up during savepoint rollback that requires the pcache module +** to allocate a new page to prevent the journal file from being written +** while it is being traversed by code in pager_playback(). The SPILLFLAG_OFF +** case is a user preference. +** +** If the SPILLFLAG_NOSYNC bit is set, writing to the database from +** pagerStress() is permitted, but syncing the journal file is not. +** This flag is set by sqlite3PagerWrite() when the file-system sector-size +** is larger than the database page-size in order to prevent a journal sync +** from happening in between the journalling of two pages on the same sector. +** +** subjInMemory +** +** This is a boolean variable. If true, then any required sub-journal +** is opened as an in-memory journal file. If false, then in-memory +** sub-journals are only used for in-memory pager files. +** +** This variable is updated by the upper layer each time a new +** write-transaction is opened. +** +** dbSize, dbOrigSize, dbFileSize +** +** Variable dbSize is set to the number of pages in the database file. +** It is valid in PAGER_READER and higher states (all states except for +** OPEN and ERROR). +** +** dbSize is set based on the size of the database file, which may be +** larger than the size of the database (the value stored at offset +** 28 of the database header by the btree). If the size of the file +** is not an integer multiple of the page-size, the value stored in +** dbSize is rounded down (i.e. a 5KB file with 2K page-size has dbSize==2). +** Except, any file that is greater than 0 bytes in size is considered +** to have at least one page. (i.e. a 1KB file with 2K page-size leads +** to dbSize==1). +** +** During a write-transaction, if pages with page-numbers greater than +** dbSize are modified in the cache, dbSize is updated accordingly. +** Similarly, if the database is truncated using PagerTruncateImage(), +** dbSize is updated. +** +** Variables dbOrigSize and dbFileSize are valid in states +** PAGER_WRITER_LOCKED and higher. dbOrigSize is a copy of the dbSize +** variable at the start of the transaction. It is used during rollback, +** and to determine whether or not pages need to be journalled before +** being modified. +** +** Throughout a write-transaction, dbFileSize contains the size of +** the file on disk in pages. It is set to a copy of dbSize when the +** write-transaction is first opened, and updated when VFS calls are made +** to write or truncate the database file on disk. +** +** The only reason the dbFileSize variable is required is to suppress +** unnecessary calls to xTruncate() after committing a transaction. If, +** when a transaction is committed, the dbFileSize variable indicates +** that the database file is larger than the database image (Pager.dbSize), +** pager_truncate() is called. The pager_truncate() call uses xFilesize() +** to measure the database file on disk, and then truncates it if required. +** dbFileSize is not used when rolling back a transaction. In this case +** pager_truncate() is called unconditionally (which means there may be +** a call to xFilesize() that is not strictly required). In either case, +** pager_truncate() may cause the file to become smaller or larger. +** +** dbHintSize +** +** The dbHintSize variable is used to limit the number of calls made to +** the VFS xFileControl(FCNTL_SIZE_HINT) method. +** +** dbHintSize is set to a copy of the dbSize variable when a +** write-transaction is opened (at the same time as dbFileSize and +** dbOrigSize). If the xFileControl(FCNTL_SIZE_HINT) method is called, +** dbHintSize is increased to the number of pages that correspond to the +** size-hint passed to the method call. See pager_write_pagelist() for +** details. +** +** errCode +** +** The Pager.errCode variable is only ever used in PAGER_ERROR state. It +** is set to zero in all other states. In PAGER_ERROR state, Pager.errCode +** is always set to SQLITE_FULL, SQLITE_IOERR or one of the SQLITE_IOERR_XXX +** sub-codes. +** +** syncFlags, walSyncFlags +** +** syncFlags is either SQLITE_SYNC_NORMAL (0x02) or SQLITE_SYNC_FULL (0x03). +** syncFlags is used for rollback mode. walSyncFlags is used for WAL mode +** and contains the flags used to sync the checkpoint operations in the +** lower two bits, and sync flags used for transaction commits in the WAL +** file in bits 0x04 and 0x08. In other words, to get the correct sync flags +** for checkpoint operations, use (walSyncFlags&0x03) and to get the correct +** sync flags for transaction commit, use ((walSyncFlags>>2)&0x03). Note +** that with synchronous=NORMAL in WAL mode, transaction commit is not synced +** meaning that the 0x04 and 0x08 bits are both zero. +*/ +struct Pager { + sqlite3_vfs *pVfs; /* OS functions to use for IO */ + u8 exclusiveMode; /* Boolean. True if locking_mode==EXCLUSIVE */ + u8 journalMode; /* One of the PAGER_JOURNALMODE_* values */ + u8 useJournal; /* Use a rollback journal on this file */ + u8 noSync; /* Do not sync the journal if true */ + u8 fullSync; /* Do extra syncs of the journal for robustness */ + u8 extraSync; /* sync directory after journal delete */ + u8 syncFlags; /* SYNC_NORMAL or SYNC_FULL otherwise */ + u8 walSyncFlags; /* See description above */ + u8 tempFile; /* zFilename is a temporary or immutable file */ + u8 noLock; /* Do not lock (except in WAL mode) */ + u8 readOnly; /* True for a read-only database */ + u8 memDb; /* True to inhibit all file I/O */ + + /************************************************************************** + ** The following block contains those class members that change during + ** routine operation. Class members not in this block are either fixed + ** when the pager is first created or else only change when there is a + ** significant mode change (such as changing the page_size, locking_mode, + ** or the journal_mode). From another view, these class members describe + ** the "state" of the pager, while other class members describe the + ** "configuration" of the pager. + */ + u8 eState; /* Pager state (OPEN, READER, WRITER_LOCKED..) */ + u8 eLock; /* Current lock held on database file */ + u8 changeCountDone; /* Set after incrementing the change-counter */ + u8 setMaster; /* True if a m-j name has been written to jrnl */ + u8 doNotSpill; /* Do not spill the cache when non-zero */ + u8 subjInMemory; /* True to use in-memory sub-journals */ + u8 bUseFetch; /* True to use xFetch() */ + u8 hasHeldSharedLock; /* True if a shared lock has ever been held */ + Pgno dbSize; /* Number of pages in the database */ + Pgno dbOrigSize; /* dbSize before the current transaction */ + Pgno dbFileSize; /* Number of pages in the database file */ + Pgno dbHintSize; /* Value passed to FCNTL_SIZE_HINT call */ + int errCode; /* One of several kinds of errors */ + int nRec; /* Pages journalled since last j-header written */ + u32 cksumInit; /* Quasi-random value added to every checksum */ + u32 nSubRec; /* Number of records written to sub-journal */ + Bitvec *pInJournal; /* One bit for each page in the database file */ + sqlite3_file *fd; /* File descriptor for database */ + sqlite3_file *jfd; /* File descriptor for main journal */ + sqlite3_file *sjfd; /* File descriptor for sub-journal */ + i64 journalOff; /* Current write offset in the journal file */ + i64 journalHdr; /* Byte offset to previous journal header */ + sqlite3_backup *pBackup; /* Pointer to list of ongoing backup processes */ + PagerSavepoint *aSavepoint; /* Array of active savepoints */ + int nSavepoint; /* Number of elements in aSavepoint[] */ + u32 iDataVersion; /* Changes whenever database content changes */ + char dbFileVers[16]; /* Changes whenever database file changes */ + + int nMmapOut; /* Number of mmap pages currently outstanding */ + sqlite3_int64 szMmap; /* Desired maximum mmap size */ + PgHdr *pMmapFreelist; /* List of free mmap page headers (pDirty) */ + /* + ** End of the routinely-changing class members + ***************************************************************************/ + + u16 nExtra; /* Add this many bytes to each in-memory page */ + i16 nReserve; /* Number of unused bytes at end of each page */ + u32 vfsFlags; /* Flags for sqlite3_vfs.xOpen() */ + u32 sectorSize; /* Assumed sector size during rollback */ + int pageSize; /* Number of bytes in a page */ + Pgno mxPgno; /* Maximum allowed size of the database */ + i64 journalSizeLimit; /* Size limit for persistent journal files */ + char *zFilename; /* Name of the database file */ + char *zJournal; /* Name of the journal file */ + int (*xBusyHandler)(void*); /* Function to call when busy */ + void *pBusyHandlerArg; /* Context argument for xBusyHandler */ + int aStat[4]; /* Total cache hits, misses, writes, spills */ +#ifdef SQLITE_TEST + int nRead; /* Database pages read */ +#endif + void (*xReiniter)(DbPage*); /* Call this routine when reloading pages */ + int (*xGet)(Pager*,Pgno,DbPage**,int); /* Routine to fetch a patch */ +#ifdef SQLITE_HAS_CODEC + void *(*xCodec)(void*,void*,Pgno,int); /* Routine for en/decoding data */ + void (*xCodecSizeChng)(void*,int,int); /* Notify of page size changes */ + void (*xCodecFree)(void*); /* Destructor for the codec */ + void *pCodec; /* First argument to xCodec... methods */ +#endif + char *pTmpSpace; /* Pager.pageSize bytes of space for tmp use */ + PCache *pPCache; /* Pointer to page cache object */ +#ifndef SQLITE_OMIT_WAL + Wal *pWal; /* Write-ahead log used by "journal_mode=wal" */ + char *zWal; /* File name for write-ahead log */ +#endif +}; + +/* +** Indexes for use with Pager.aStat[]. The Pager.aStat[] array contains +** the values accessed by passing SQLITE_DBSTATUS_CACHE_HIT, CACHE_MISS +** or CACHE_WRITE to sqlite3_db_status(). +*/ +#define PAGER_STAT_HIT 0 +#define PAGER_STAT_MISS 1 +#define PAGER_STAT_WRITE 2 +#define PAGER_STAT_SPILL 3 + +/* +** The following global variables hold counters used for +** testing purposes only. These variables do not exist in +** a non-testing build. These variables are not thread-safe. +*/ +#ifdef SQLITE_TEST +SQLITE_API int sqlite3_pager_readdb_count = 0; /* Number of full pages read from DB */ +SQLITE_API int sqlite3_pager_writedb_count = 0; /* Number of full pages written to DB */ +SQLITE_API int sqlite3_pager_writej_count = 0; /* Number of pages written to journal */ +# define PAGER_INCR(v) v++ +#else +# define PAGER_INCR(v) +#endif + + + +/* +** Journal files begin with the following magic string. The data +** was obtained from /dev/random. It is used only as a sanity check. +** +** Since version 2.8.0, the journal format contains additional sanity +** checking information. If the power fails while the journal is being +** written, semi-random garbage data might appear in the journal +** file after power is restored. If an attempt is then made +** to roll the journal back, the database could be corrupted. The additional +** sanity checking data is an attempt to discover the garbage in the +** journal and ignore it. +** +** The sanity checking information for the new journal format consists +** of a 32-bit checksum on each page of data. The checksum covers both +** the page number and the pPager->pageSize bytes of data for the page. +** This cksum is initialized to a 32-bit random value that appears in the +** journal file right after the header. The random initializer is important, +** because garbage data that appears at the end of a journal is likely +** data that was once in other files that have now been deleted. If the +** garbage data came from an obsolete journal file, the checksums might +** be correct. But by initializing the checksum to random value which +** is different for every journal, we minimize that risk. +*/ +static const unsigned char aJournalMagic[] = { + 0xd9, 0xd5, 0x05, 0xf9, 0x20, 0xa1, 0x63, 0xd7, +}; + +/* +** The size of the of each page record in the journal is given by +** the following macro. +*/ +#define JOURNAL_PG_SZ(pPager) ((pPager->pageSize) + 8) + +/* +** The journal header size for this pager. This is usually the same +** size as a single disk sector. See also setSectorSize(). +*/ +#define JOURNAL_HDR_SZ(pPager) (pPager->sectorSize) + +/* +** The macro MEMDB is true if we are dealing with an in-memory database. +** We do this as a macro so that if the SQLITE_OMIT_MEMORYDB macro is set, +** the value of MEMDB will be a constant and the compiler will optimize +** out code that would never execute. +*/ +#ifdef SQLITE_OMIT_MEMORYDB +# define MEMDB 0 +#else +# define MEMDB pPager->memDb +#endif + +/* +** The macro USEFETCH is true if we are allowed to use the xFetch and xUnfetch +** interfaces to access the database using memory-mapped I/O. +*/ +#if SQLITE_MAX_MMAP_SIZE>0 +# define USEFETCH(x) ((x)->bUseFetch) +#else +# define USEFETCH(x) 0 +#endif + +/* +** The maximum legal page number is (2^31 - 1). +*/ +#define PAGER_MAX_PGNO 2147483647 + +/* +** The argument to this macro is a file descriptor (type sqlite3_file*). +** Return 0 if it is not open, or non-zero (but not 1) if it is. +** +** This is so that expressions can be written as: +** +** if( isOpen(pPager->jfd) ){ ... +** +** instead of +** +** if( pPager->jfd->pMethods ){ ... +*/ +#define isOpen(pFd) ((pFd)->pMethods!=0) + +#ifdef SQLITE_DIRECT_OVERFLOW_READ +/* +** Return true if page pgno can be read directly from the database file +** by the b-tree layer. This is the case if: +** +** * the database file is open, +** * there are no dirty pages in the cache, and +** * the desired page is not currently in the wal file. +*/ +SQLITE_PRIVATE int sqlite3PagerDirectReadOk(Pager *pPager, Pgno pgno){ + if( pPager->fd->pMethods==0 ) return 0; + if( sqlite3PCacheIsDirty(pPager->pPCache) ) return 0; +#ifdef SQLITE_HAS_CODEC + if( pPager->xCodec!=0 ) return 0; +#endif +#ifndef SQLITE_OMIT_WAL + if( pPager->pWal ){ + u32 iRead = 0; + int rc; + rc = sqlite3WalFindFrame(pPager->pWal, pgno, &iRead); + return (rc==SQLITE_OK && iRead==0); + } +#endif + return 1; +} +#endif + +#ifndef SQLITE_OMIT_WAL +# define pagerUseWal(x) ((x)->pWal!=0) +#else +# define pagerUseWal(x) 0 +# define pagerRollbackWal(x) 0 +# define pagerWalFrames(v,w,x,y) 0 +# define pagerOpenWalIfPresent(z) SQLITE_OK +# define pagerBeginReadTransaction(z) SQLITE_OK +#endif + +#ifndef NDEBUG +/* +** Usage: +** +** assert( assert_pager_state(pPager) ); +** +** This function runs many asserts to try to find inconsistencies in +** the internal state of the Pager object. +*/ +static int assert_pager_state(Pager *p){ + Pager *pPager = p; + + /* State must be valid. */ + assert( p->eState==PAGER_OPEN + || p->eState==PAGER_READER + || p->eState==PAGER_WRITER_LOCKED + || p->eState==PAGER_WRITER_CACHEMOD + || p->eState==PAGER_WRITER_DBMOD + || p->eState==PAGER_WRITER_FINISHED + || p->eState==PAGER_ERROR + ); + + /* Regardless of the current state, a temp-file connection always behaves + ** as if it has an exclusive lock on the database file. It never updates + ** the change-counter field, so the changeCountDone flag is always set. + */ + assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK ); + assert( p->tempFile==0 || pPager->changeCountDone ); + + /* If the useJournal flag is clear, the journal-mode must be "OFF". + ** And if the journal-mode is "OFF", the journal file must not be open. + */ + assert( p->journalMode==PAGER_JOURNALMODE_OFF || p->useJournal ); + assert( p->journalMode!=PAGER_JOURNALMODE_OFF || !isOpen(p->jfd) ); + + /* Check that MEMDB implies noSync. And an in-memory journal. Since + ** this means an in-memory pager performs no IO at all, it cannot encounter + ** either SQLITE_IOERR or SQLITE_FULL during rollback or while finalizing + ** a journal file. (although the in-memory journal implementation may + ** return SQLITE_IOERR_NOMEM while the journal file is being written). It + ** is therefore not possible for an in-memory pager to enter the ERROR + ** state. + */ + if( MEMDB ){ + assert( !isOpen(p->fd) ); + assert( p->noSync ); + assert( p->journalMode==PAGER_JOURNALMODE_OFF + || p->journalMode==PAGER_JOURNALMODE_MEMORY + ); + assert( p->eState!=PAGER_ERROR && p->eState!=PAGER_OPEN ); + assert( pagerUseWal(p)==0 ); + } + + /* If changeCountDone is set, a RESERVED lock or greater must be held + ** on the file. + */ + assert( pPager->changeCountDone==0 || pPager->eLock>=RESERVED_LOCK ); + assert( p->eLock!=PENDING_LOCK ); + + switch( p->eState ){ + case PAGER_OPEN: + assert( !MEMDB ); + assert( pPager->errCode==SQLITE_OK ); + assert( sqlite3PcacheRefCount(pPager->pPCache)==0 || pPager->tempFile ); + break; + + case PAGER_READER: + assert( pPager->errCode==SQLITE_OK ); + assert( p->eLock!=UNKNOWN_LOCK ); + assert( p->eLock>=SHARED_LOCK ); + break; + + case PAGER_WRITER_LOCKED: + assert( p->eLock!=UNKNOWN_LOCK ); + assert( pPager->errCode==SQLITE_OK ); + if( !pagerUseWal(pPager) ){ + assert( p->eLock>=RESERVED_LOCK ); + } + assert( pPager->dbSize==pPager->dbOrigSize ); + assert( pPager->dbOrigSize==pPager->dbFileSize ); + assert( pPager->dbOrigSize==pPager->dbHintSize ); + assert( pPager->setMaster==0 ); + break; + + case PAGER_WRITER_CACHEMOD: + assert( p->eLock!=UNKNOWN_LOCK ); + assert( pPager->errCode==SQLITE_OK ); + if( !pagerUseWal(pPager) ){ + /* It is possible that if journal_mode=wal here that neither the + ** journal file nor the WAL file are open. This happens during + ** a rollback transaction that switches from journal_mode=off + ** to journal_mode=wal. + */ + assert( p->eLock>=RESERVED_LOCK ); + assert( isOpen(p->jfd) + || p->journalMode==PAGER_JOURNALMODE_OFF + || p->journalMode==PAGER_JOURNALMODE_WAL + ); + } + assert( pPager->dbOrigSize==pPager->dbFileSize ); + assert( pPager->dbOrigSize==pPager->dbHintSize ); + break; + + case PAGER_WRITER_DBMOD: + assert( p->eLock==EXCLUSIVE_LOCK ); + assert( pPager->errCode==SQLITE_OK ); + assert( !pagerUseWal(pPager) ); + assert( p->eLock>=EXCLUSIVE_LOCK ); + assert( isOpen(p->jfd) + || p->journalMode==PAGER_JOURNALMODE_OFF + || p->journalMode==PAGER_JOURNALMODE_WAL + || (sqlite3OsDeviceCharacteristics(p->fd)&SQLITE_IOCAP_BATCH_ATOMIC) + ); + assert( pPager->dbOrigSize<=pPager->dbHintSize ); + break; + + case PAGER_WRITER_FINISHED: + assert( p->eLock==EXCLUSIVE_LOCK ); + assert( pPager->errCode==SQLITE_OK ); + assert( !pagerUseWal(pPager) ); + assert( isOpen(p->jfd) + || p->journalMode==PAGER_JOURNALMODE_OFF + || p->journalMode==PAGER_JOURNALMODE_WAL + || (sqlite3OsDeviceCharacteristics(p->fd)&SQLITE_IOCAP_BATCH_ATOMIC) + ); + break; + + case PAGER_ERROR: + /* There must be at least one outstanding reference to the pager if + ** in ERROR state. Otherwise the pager should have already dropped + ** back to OPEN state. + */ + assert( pPager->errCode!=SQLITE_OK ); + assert( sqlite3PcacheRefCount(pPager->pPCache)>0 || pPager->tempFile ); + break; + } + + return 1; +} +#endif /* ifndef NDEBUG */ + +#ifdef SQLITE_DEBUG +/* +** Return a pointer to a human readable string in a static buffer +** containing the state of the Pager object passed as an argument. This +** is intended to be used within debuggers. For example, as an alternative +** to "print *pPager" in gdb: +** +** (gdb) printf "%s", print_pager_state(pPager) +** +** This routine has external linkage in order to suppress compiler warnings +** about an unused function. It is enclosed within SQLITE_DEBUG and so does +** not appear in normal builds. +*/ +char *print_pager_state(Pager *p){ + static char zRet[1024]; + + sqlite3_snprintf(1024, zRet, + "Filename: %s\n" + "State: %s errCode=%d\n" + "Lock: %s\n" + "Locking mode: locking_mode=%s\n" + "Journal mode: journal_mode=%s\n" + "Backing store: tempFile=%d memDb=%d useJournal=%d\n" + "Journal: journalOff=%lld journalHdr=%lld\n" + "Size: dbsize=%d dbOrigSize=%d dbFileSize=%d\n" + , p->zFilename + , p->eState==PAGER_OPEN ? "OPEN" : + p->eState==PAGER_READER ? "READER" : + p->eState==PAGER_WRITER_LOCKED ? "WRITER_LOCKED" : + p->eState==PAGER_WRITER_CACHEMOD ? "WRITER_CACHEMOD" : + p->eState==PAGER_WRITER_DBMOD ? "WRITER_DBMOD" : + p->eState==PAGER_WRITER_FINISHED ? "WRITER_FINISHED" : + p->eState==PAGER_ERROR ? "ERROR" : "?error?" + , (int)p->errCode + , p->eLock==NO_LOCK ? "NO_LOCK" : + p->eLock==RESERVED_LOCK ? "RESERVED" : + p->eLock==EXCLUSIVE_LOCK ? "EXCLUSIVE" : + p->eLock==SHARED_LOCK ? "SHARED" : + p->eLock==UNKNOWN_LOCK ? "UNKNOWN" : "?error?" + , p->exclusiveMode ? "exclusive" : "normal" + , p->journalMode==PAGER_JOURNALMODE_MEMORY ? "memory" : + p->journalMode==PAGER_JOURNALMODE_OFF ? "off" : + p->journalMode==PAGER_JOURNALMODE_DELETE ? "delete" : + p->journalMode==PAGER_JOURNALMODE_PERSIST ? "persist" : + p->journalMode==PAGER_JOURNALMODE_TRUNCATE ? "truncate" : + p->journalMode==PAGER_JOURNALMODE_WAL ? "wal" : "?error?" + , (int)p->tempFile, (int)p->memDb, (int)p->useJournal + , p->journalOff, p->journalHdr + , (int)p->dbSize, (int)p->dbOrigSize, (int)p->dbFileSize + ); + + return zRet; +} +#endif + +/* Forward references to the various page getters */ +static int getPageNormal(Pager*,Pgno,DbPage**,int); +static int getPageError(Pager*,Pgno,DbPage**,int); +#if SQLITE_MAX_MMAP_SIZE>0 +static int getPageMMap(Pager*,Pgno,DbPage**,int); +#endif + +/* +** Set the Pager.xGet method for the appropriate routine used to fetch +** content from the pager. +*/ +static void setGetterMethod(Pager *pPager){ + if( pPager->errCode ){ + pPager->xGet = getPageError; +#if SQLITE_MAX_MMAP_SIZE>0 + }else if( USEFETCH(pPager) +#ifdef SQLITE_HAS_CODEC + && pPager->xCodec==0 +#endif + ){ + pPager->xGet = getPageMMap; +#endif /* SQLITE_MAX_MMAP_SIZE>0 */ + }else{ + pPager->xGet = getPageNormal; + } +} + +/* +** Return true if it is necessary to write page *pPg into the sub-journal. +** A page needs to be written into the sub-journal if there exists one +** or more open savepoints for which: +** +** * The page-number is less than or equal to PagerSavepoint.nOrig, and +** * The bit corresponding to the page-number is not set in +** PagerSavepoint.pInSavepoint. +*/ +static int subjRequiresPage(PgHdr *pPg){ + Pager *pPager = pPg->pPager; + PagerSavepoint *p; + Pgno pgno = pPg->pgno; + int i; + for(i=0; inSavepoint; i++){ + p = &pPager->aSavepoint[i]; + if( p->nOrig>=pgno && 0==sqlite3BitvecTestNotNull(p->pInSavepoint, pgno) ){ + return 1; + } + } + return 0; +} + +#ifdef SQLITE_DEBUG +/* +** Return true if the page is already in the journal file. +*/ +static int pageInJournal(Pager *pPager, PgHdr *pPg){ + return sqlite3BitvecTest(pPager->pInJournal, pPg->pgno); +} +#endif + +/* +** Read a 32-bit integer from the given file descriptor. Store the integer +** that is read in *pRes. Return SQLITE_OK if everything worked, or an +** error code is something goes wrong. +** +** All values are stored on disk as big-endian. +*/ +static int read32bits(sqlite3_file *fd, i64 offset, u32 *pRes){ + unsigned char ac[4]; + int rc = sqlite3OsRead(fd, ac, sizeof(ac), offset); + if( rc==SQLITE_OK ){ + *pRes = sqlite3Get4byte(ac); + } + return rc; +} + +/* +** Write a 32-bit integer into a string buffer in big-endian byte order. +*/ +#define put32bits(A,B) sqlite3Put4byte((u8*)A,B) + + +/* +** Write a 32-bit integer into the given file descriptor. Return SQLITE_OK +** on success or an error code is something goes wrong. +*/ +static int write32bits(sqlite3_file *fd, i64 offset, u32 val){ + char ac[4]; + put32bits(ac, val); + return sqlite3OsWrite(fd, ac, 4, offset); +} + +/* +** Unlock the database file to level eLock, which must be either NO_LOCK +** or SHARED_LOCK. Regardless of whether or not the call to xUnlock() +** succeeds, set the Pager.eLock variable to match the (attempted) new lock. +** +** Except, if Pager.eLock is set to UNKNOWN_LOCK when this function is +** called, do not modify it. See the comment above the #define of +** UNKNOWN_LOCK for an explanation of this. +*/ +static int pagerUnlockDb(Pager *pPager, int eLock){ + int rc = SQLITE_OK; + + assert( !pPager->exclusiveMode || pPager->eLock==eLock ); + assert( eLock==NO_LOCK || eLock==SHARED_LOCK ); + assert( eLock!=NO_LOCK || pagerUseWal(pPager)==0 ); + if( isOpen(pPager->fd) ){ + assert( pPager->eLock>=eLock ); + rc = pPager->noLock ? SQLITE_OK : sqlite3OsUnlock(pPager->fd, eLock); + if( pPager->eLock!=UNKNOWN_LOCK ){ + pPager->eLock = (u8)eLock; + } + IOTRACE(("UNLOCK %p %d\n", pPager, eLock)) + } + return rc; +} + +/* +** Lock the database file to level eLock, which must be either SHARED_LOCK, +** RESERVED_LOCK or EXCLUSIVE_LOCK. If the caller is successful, set the +** Pager.eLock variable to the new locking state. +** +** Except, if Pager.eLock is set to UNKNOWN_LOCK when this function is +** called, do not modify it unless the new locking state is EXCLUSIVE_LOCK. +** See the comment above the #define of UNKNOWN_LOCK for an explanation +** of this. +*/ +static int pagerLockDb(Pager *pPager, int eLock){ + int rc = SQLITE_OK; + + assert( eLock==SHARED_LOCK || eLock==RESERVED_LOCK || eLock==EXCLUSIVE_LOCK ); + if( pPager->eLockeLock==UNKNOWN_LOCK ){ + rc = pPager->noLock ? SQLITE_OK : sqlite3OsLock(pPager->fd, eLock); + if( rc==SQLITE_OK && (pPager->eLock!=UNKNOWN_LOCK||eLock==EXCLUSIVE_LOCK) ){ + pPager->eLock = (u8)eLock; + IOTRACE(("LOCK %p %d\n", pPager, eLock)) + } + } + return rc; +} + +/* +** This function determines whether or not the atomic-write or +** atomic-batch-write optimizations can be used with this pager. The +** atomic-write optimization can be used if: +** +** (a) the value returned by OsDeviceCharacteristics() indicates that +** a database page may be written atomically, and +** (b) the value returned by OsSectorSize() is less than or equal +** to the page size. +** +** If it can be used, then the value returned is the size of the journal +** file when it contains rollback data for exactly one page. +** +** The atomic-batch-write optimization can be used if OsDeviceCharacteristics() +** returns a value with the SQLITE_IOCAP_BATCH_ATOMIC bit set. -1 is +** returned in this case. +** +** If neither optimization can be used, 0 is returned. +*/ +static int jrnlBufferSize(Pager *pPager){ + assert( !MEMDB ); + +#if defined(SQLITE_ENABLE_ATOMIC_WRITE) \ + || defined(SQLITE_ENABLE_BATCH_ATOMIC_WRITE) + int dc; /* Device characteristics */ + + assert( isOpen(pPager->fd) ); + dc = sqlite3OsDeviceCharacteristics(pPager->fd); +#else + UNUSED_PARAMETER(pPager); +#endif + +#ifdef SQLITE_ENABLE_BATCH_ATOMIC_WRITE + if( pPager->dbSize>0 && (dc&SQLITE_IOCAP_BATCH_ATOMIC) ){ + return -1; + } +#endif + +#ifdef SQLITE_ENABLE_ATOMIC_WRITE + { + int nSector = pPager->sectorSize; + int szPage = pPager->pageSize; + + assert(SQLITE_IOCAP_ATOMIC512==(512>>8)); + assert(SQLITE_IOCAP_ATOMIC64K==(65536>>8)); + if( 0==(dc&(SQLITE_IOCAP_ATOMIC|(szPage>>8)) || nSector>szPage) ){ + return 0; + } + } + + return JOURNAL_HDR_SZ(pPager) + JOURNAL_PG_SZ(pPager); +#endif + + return 0; +} + +/* +** If SQLITE_CHECK_PAGES is defined then we do some sanity checking +** on the cache using a hash function. This is used for testing +** and debugging only. +*/ +#ifdef SQLITE_CHECK_PAGES +/* +** Return a 32-bit hash of the page data for pPage. +*/ +static u32 pager_datahash(int nByte, unsigned char *pData){ + u32 hash = 0; + int i; + for(i=0; ipPager->pageSize, (unsigned char *)pPage->pData); +} +static void pager_set_pagehash(PgHdr *pPage){ + pPage->pageHash = pager_pagehash(pPage); +} + +/* +** The CHECK_PAGE macro takes a PgHdr* as an argument. If SQLITE_CHECK_PAGES +** is defined, and NDEBUG is not defined, an assert() statement checks +** that the page is either dirty or still matches the calculated page-hash. +*/ +#define CHECK_PAGE(x) checkPage(x) +static void checkPage(PgHdr *pPg){ + Pager *pPager = pPg->pPager; + assert( pPager->eState!=PAGER_ERROR ); + assert( (pPg->flags&PGHDR_DIRTY) || pPg->pageHash==pager_pagehash(pPg) ); +} + +#else +#define pager_datahash(X,Y) 0 +#define pager_pagehash(X) 0 +#define pager_set_pagehash(X) +#define CHECK_PAGE(x) +#endif /* SQLITE_CHECK_PAGES */ + +/* +** When this is called the journal file for pager pPager must be open. +** This function attempts to read a master journal file name from the +** end of the file and, if successful, copies it into memory supplied +** by the caller. See comments above writeMasterJournal() for the format +** used to store a master journal file name at the end of a journal file. +** +** zMaster must point to a buffer of at least nMaster bytes allocated by +** the caller. This should be sqlite3_vfs.mxPathname+1 (to ensure there is +** enough space to write the master journal name). If the master journal +** name in the journal is longer than nMaster bytes (including a +** nul-terminator), then this is handled as if no master journal name +** were present in the journal. +** +** If a master journal file name is present at the end of the journal +** file, then it is copied into the buffer pointed to by zMaster. A +** nul-terminator byte is appended to the buffer following the master +** journal file name. +** +** If it is determined that no master journal file name is present +** zMaster[0] is set to 0 and SQLITE_OK returned. +** +** If an error occurs while reading from the journal file, an SQLite +** error code is returned. +*/ +static int readMasterJournal(sqlite3_file *pJrnl, char *zMaster, u32 nMaster){ + int rc; /* Return code */ + u32 len; /* Length in bytes of master journal name */ + i64 szJ; /* Total size in bytes of journal file pJrnl */ + u32 cksum; /* MJ checksum value read from journal */ + u32 u; /* Unsigned loop counter */ + unsigned char aMagic[8]; /* A buffer to hold the magic header */ + zMaster[0] = '\0'; + + if( SQLITE_OK!=(rc = sqlite3OsFileSize(pJrnl, &szJ)) + || szJ<16 + || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-16, &len)) + || len>=nMaster + || len>szJ-16 + || len==0 + || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-12, &cksum)) + || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, aMagic, 8, szJ-8)) + || memcmp(aMagic, aJournalMagic, 8) + || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, zMaster, len, szJ-16-len)) + ){ + return rc; + } + + /* See if the checksum matches the master journal name */ + for(u=0; ujournalOff, assuming a sector +** size of pPager->sectorSize bytes. +** +** i.e for a sector size of 512: +** +** Pager.journalOff Return value +** --------------------------------------- +** 0 0 +** 512 512 +** 100 512 +** 2000 2048 +** +*/ +static i64 journalHdrOffset(Pager *pPager){ + i64 offset = 0; + i64 c = pPager->journalOff; + if( c ){ + offset = ((c-1)/JOURNAL_HDR_SZ(pPager) + 1) * JOURNAL_HDR_SZ(pPager); + } + assert( offset%JOURNAL_HDR_SZ(pPager)==0 ); + assert( offset>=c ); + assert( (offset-c)jfd) ); + assert( !sqlite3JournalIsInMemory(pPager->jfd) ); + if( pPager->journalOff ){ + const i64 iLimit = pPager->journalSizeLimit; /* Local cache of jsl */ + + IOTRACE(("JZEROHDR %p\n", pPager)) + if( doTruncate || iLimit==0 ){ + rc = sqlite3OsTruncate(pPager->jfd, 0); + }else{ + static const char zeroHdr[28] = {0}; + rc = sqlite3OsWrite(pPager->jfd, zeroHdr, sizeof(zeroHdr), 0); + } + if( rc==SQLITE_OK && !pPager->noSync ){ + rc = sqlite3OsSync(pPager->jfd, SQLITE_SYNC_DATAONLY|pPager->syncFlags); + } + + /* At this point the transaction is committed but the write lock + ** is still held on the file. If there is a size limit configured for + ** the persistent journal and the journal file currently consumes more + ** space than that limit allows for, truncate it now. There is no need + ** to sync the file following this operation. + */ + if( rc==SQLITE_OK && iLimit>0 ){ + i64 sz; + rc = sqlite3OsFileSize(pPager->jfd, &sz); + if( rc==SQLITE_OK && sz>iLimit ){ + rc = sqlite3OsTruncate(pPager->jfd, iLimit); + } + } + } + return rc; +} + +/* +** The journal file must be open when this routine is called. A journal +** header (JOURNAL_HDR_SZ bytes) is written into the journal file at the +** current location. +** +** The format for the journal header is as follows: +** - 8 bytes: Magic identifying journal format. +** - 4 bytes: Number of records in journal, or -1 no-sync mode is on. +** - 4 bytes: Random number used for page hash. +** - 4 bytes: Initial database page count. +** - 4 bytes: Sector size used by the process that wrote this journal. +** - 4 bytes: Database page size. +** +** Followed by (JOURNAL_HDR_SZ - 28) bytes of unused space. +*/ +static int writeJournalHdr(Pager *pPager){ + int rc = SQLITE_OK; /* Return code */ + char *zHeader = pPager->pTmpSpace; /* Temporary space used to build header */ + u32 nHeader = (u32)pPager->pageSize;/* Size of buffer pointed to by zHeader */ + u32 nWrite; /* Bytes of header sector written */ + int ii; /* Loop counter */ + + assert( isOpen(pPager->jfd) ); /* Journal file must be open. */ + + if( nHeader>JOURNAL_HDR_SZ(pPager) ){ + nHeader = JOURNAL_HDR_SZ(pPager); + } + + /* If there are active savepoints and any of them were created + ** since the most recent journal header was written, update the + ** PagerSavepoint.iHdrOffset fields now. + */ + for(ii=0; iinSavepoint; ii++){ + if( pPager->aSavepoint[ii].iHdrOffset==0 ){ + pPager->aSavepoint[ii].iHdrOffset = pPager->journalOff; + } + } + + pPager->journalHdr = pPager->journalOff = journalHdrOffset(pPager); + + /* + ** Write the nRec Field - the number of page records that follow this + ** journal header. Normally, zero is written to this value at this time. + ** After the records are added to the journal (and the journal synced, + ** if in full-sync mode), the zero is overwritten with the true number + ** of records (see syncJournal()). + ** + ** A faster alternative is to write 0xFFFFFFFF to the nRec field. When + ** reading the journal this value tells SQLite to assume that the + ** rest of the journal file contains valid page records. This assumption + ** is dangerous, as if a failure occurred whilst writing to the journal + ** file it may contain some garbage data. There are two scenarios + ** where this risk can be ignored: + ** + ** * When the pager is in no-sync mode. Corruption can follow a + ** power failure in this case anyway. + ** + ** * When the SQLITE_IOCAP_SAFE_APPEND flag is set. This guarantees + ** that garbage data is never appended to the journal file. + */ + assert( isOpen(pPager->fd) || pPager->noSync ); + if( pPager->noSync || (pPager->journalMode==PAGER_JOURNALMODE_MEMORY) + || (sqlite3OsDeviceCharacteristics(pPager->fd)&SQLITE_IOCAP_SAFE_APPEND) + ){ + memcpy(zHeader, aJournalMagic, sizeof(aJournalMagic)); + put32bits(&zHeader[sizeof(aJournalMagic)], 0xffffffff); + }else{ + memset(zHeader, 0, sizeof(aJournalMagic)+4); + } + + /* The random check-hash initializer */ + sqlite3_randomness(sizeof(pPager->cksumInit), &pPager->cksumInit); + put32bits(&zHeader[sizeof(aJournalMagic)+4], pPager->cksumInit); + /* The initial database size */ + put32bits(&zHeader[sizeof(aJournalMagic)+8], pPager->dbOrigSize); + /* The assumed sector size for this process */ + put32bits(&zHeader[sizeof(aJournalMagic)+12], pPager->sectorSize); + + /* The page size */ + put32bits(&zHeader[sizeof(aJournalMagic)+16], pPager->pageSize); + + /* Initializing the tail of the buffer is not necessary. Everything + ** works find if the following memset() is omitted. But initializing + ** the memory prevents valgrind from complaining, so we are willing to + ** take the performance hit. + */ + memset(&zHeader[sizeof(aJournalMagic)+20], 0, + nHeader-(sizeof(aJournalMagic)+20)); + + /* In theory, it is only necessary to write the 28 bytes that the + ** journal header consumes to the journal file here. Then increment the + ** Pager.journalOff variable by JOURNAL_HDR_SZ so that the next + ** record is written to the following sector (leaving a gap in the file + ** that will be implicitly filled in by the OS). + ** + ** However it has been discovered that on some systems this pattern can + ** be significantly slower than contiguously writing data to the file, + ** even if that means explicitly writing data to the block of + ** (JOURNAL_HDR_SZ - 28) bytes that will not be used. So that is what + ** is done. + ** + ** The loop is required here in case the sector-size is larger than the + ** database page size. Since the zHeader buffer is only Pager.pageSize + ** bytes in size, more than one call to sqlite3OsWrite() may be required + ** to populate the entire journal header sector. + */ + for(nWrite=0; rc==SQLITE_OK&&nWritejournalHdr, nHeader)) + rc = sqlite3OsWrite(pPager->jfd, zHeader, nHeader, pPager->journalOff); + assert( pPager->journalHdr <= pPager->journalOff ); + pPager->journalOff += nHeader; + } + + return rc; +} + +/* +** The journal file must be open when this is called. A journal header file +** (JOURNAL_HDR_SZ bytes) is read from the current location in the journal +** file. The current location in the journal file is given by +** pPager->journalOff. See comments above function writeJournalHdr() for +** a description of the journal header format. +** +** If the header is read successfully, *pNRec is set to the number of +** page records following this header and *pDbSize is set to the size of the +** database before the transaction began, in pages. Also, pPager->cksumInit +** is set to the value read from the journal header. SQLITE_OK is returned +** in this case. +** +** If the journal header file appears to be corrupted, SQLITE_DONE is +** returned and *pNRec and *PDbSize are undefined. If JOURNAL_HDR_SZ bytes +** cannot be read from the journal file an error code is returned. +*/ +static int readJournalHdr( + Pager *pPager, /* Pager object */ + int isHot, + i64 journalSize, /* Size of the open journal file in bytes */ + u32 *pNRec, /* OUT: Value read from the nRec field */ + u32 *pDbSize /* OUT: Value of original database size field */ +){ + int rc; /* Return code */ + unsigned char aMagic[8]; /* A buffer to hold the magic header */ + i64 iHdrOff; /* Offset of journal header being read */ + + assert( isOpen(pPager->jfd) ); /* Journal file must be open. */ + + /* Advance Pager.journalOff to the start of the next sector. If the + ** journal file is too small for there to be a header stored at this + ** point, return SQLITE_DONE. + */ + pPager->journalOff = journalHdrOffset(pPager); + if( pPager->journalOff+JOURNAL_HDR_SZ(pPager) > journalSize ){ + return SQLITE_DONE; + } + iHdrOff = pPager->journalOff; + + /* Read in the first 8 bytes of the journal header. If they do not match + ** the magic string found at the start of each journal header, return + ** SQLITE_DONE. If an IO error occurs, return an error code. Otherwise, + ** proceed. + */ + if( isHot || iHdrOff!=pPager->journalHdr ){ + rc = sqlite3OsRead(pPager->jfd, aMagic, sizeof(aMagic), iHdrOff); + if( rc ){ + return rc; + } + if( memcmp(aMagic, aJournalMagic, sizeof(aMagic))!=0 ){ + return SQLITE_DONE; + } + } + + /* Read the first three 32-bit fields of the journal header: The nRec + ** field, the checksum-initializer and the database size at the start + ** of the transaction. Return an error code if anything goes wrong. + */ + if( SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+8, pNRec)) + || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+12, &pPager->cksumInit)) + || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+16, pDbSize)) + ){ + return rc; + } + + if( pPager->journalOff==0 ){ + u32 iPageSize; /* Page-size field of journal header */ + u32 iSectorSize; /* Sector-size field of journal header */ + + /* Read the page-size and sector-size journal header fields. */ + if( SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+20, &iSectorSize)) + || SQLITE_OK!=(rc = read32bits(pPager->jfd, iHdrOff+24, &iPageSize)) + ){ + return rc; + } + + /* Versions of SQLite prior to 3.5.8 set the page-size field of the + ** journal header to zero. In this case, assume that the Pager.pageSize + ** variable is already set to the correct page size. + */ + if( iPageSize==0 ){ + iPageSize = pPager->pageSize; + } + + /* Check that the values read from the page-size and sector-size fields + ** are within range. To be 'in range', both values need to be a power + ** of two greater than or equal to 512 or 32, and not greater than their + ** respective compile time maximum limits. + */ + if( iPageSize<512 || iSectorSize<32 + || iPageSize>SQLITE_MAX_PAGE_SIZE || iSectorSize>MAX_SECTOR_SIZE + || ((iPageSize-1)&iPageSize)!=0 || ((iSectorSize-1)&iSectorSize)!=0 + ){ + /* If the either the page-size or sector-size in the journal-header is + ** invalid, then the process that wrote the journal-header must have + ** crashed before the header was synced. In this case stop reading + ** the journal file here. + */ + return SQLITE_DONE; + } + + /* Update the page-size to match the value read from the journal. + ** Use a testcase() macro to make sure that malloc failure within + ** PagerSetPagesize() is tested. + */ + rc = sqlite3PagerSetPagesize(pPager, &iPageSize, -1); + testcase( rc!=SQLITE_OK ); + + /* Update the assumed sector-size to match the value used by + ** the process that created this journal. If this journal was + ** created by a process other than this one, then this routine + ** is being called from within pager_playback(). The local value + ** of Pager.sectorSize is restored at the end of that routine. + */ + pPager->sectorSize = iSectorSize; + } + + pPager->journalOff += JOURNAL_HDR_SZ(pPager); + return rc; +} + + +/* +** Write the supplied master journal name into the journal file for pager +** pPager at the current location. The master journal name must be the last +** thing written to a journal file. If the pager is in full-sync mode, the +** journal file descriptor is advanced to the next sector boundary before +** anything is written. The format is: +** +** + 4 bytes: PAGER_MJ_PGNO. +** + N bytes: Master journal filename in utf-8. +** + 4 bytes: N (length of master journal name in bytes, no nul-terminator). +** + 4 bytes: Master journal name checksum. +** + 8 bytes: aJournalMagic[]. +** +** The master journal page checksum is the sum of the bytes in the master +** journal name, where each byte is interpreted as a signed 8-bit integer. +** +** If zMaster is a NULL pointer (occurs for a single database transaction), +** this call is a no-op. +*/ +static int writeMasterJournal(Pager *pPager, const char *zMaster){ + int rc; /* Return code */ + int nMaster; /* Length of string zMaster */ + i64 iHdrOff; /* Offset of header in journal file */ + i64 jrnlSize; /* Size of journal file on disk */ + u32 cksum = 0; /* Checksum of string zMaster */ + + assert( pPager->setMaster==0 ); + assert( !pagerUseWal(pPager) ); + + if( !zMaster + || pPager->journalMode==PAGER_JOURNALMODE_MEMORY + || !isOpen(pPager->jfd) + ){ + return SQLITE_OK; + } + pPager->setMaster = 1; + assert( pPager->journalHdr <= pPager->journalOff ); + + /* Calculate the length in bytes and the checksum of zMaster */ + for(nMaster=0; zMaster[nMaster]; nMaster++){ + cksum += zMaster[nMaster]; + } + + /* If in full-sync mode, advance to the next disk sector before writing + ** the master journal name. This is in case the previous page written to + ** the journal has already been synced. + */ + if( pPager->fullSync ){ + pPager->journalOff = journalHdrOffset(pPager); + } + iHdrOff = pPager->journalOff; + + /* Write the master journal data to the end of the journal file. If + ** an error occurs, return the error code to the caller. + */ + if( (0 != (rc = write32bits(pPager->jfd, iHdrOff, PAGER_MJ_PGNO(pPager)))) + || (0 != (rc = sqlite3OsWrite(pPager->jfd, zMaster, nMaster, iHdrOff+4))) + || (0 != (rc = write32bits(pPager->jfd, iHdrOff+4+nMaster, nMaster))) + || (0 != (rc = write32bits(pPager->jfd, iHdrOff+4+nMaster+4, cksum))) + || (0 != (rc = sqlite3OsWrite(pPager->jfd, aJournalMagic, 8, + iHdrOff+4+nMaster+8))) + ){ + return rc; + } + pPager->journalOff += (nMaster+20); + + /* If the pager is in peristent-journal mode, then the physical + ** journal-file may extend past the end of the master-journal name + ** and 8 bytes of magic data just written to the file. This is + ** dangerous because the code to rollback a hot-journal file + ** will not be able to find the master-journal name to determine + ** whether or not the journal is hot. + ** + ** Easiest thing to do in this scenario is to truncate the journal + ** file to the required size. + */ + if( SQLITE_OK==(rc = sqlite3OsFileSize(pPager->jfd, &jrnlSize)) + && jrnlSize>pPager->journalOff + ){ + rc = sqlite3OsTruncate(pPager->jfd, pPager->journalOff); + } + return rc; +} + +/* +** Discard the entire contents of the in-memory page-cache. +*/ +static void pager_reset(Pager *pPager){ + pPager->iDataVersion++; + sqlite3BackupRestart(pPager->pBackup); + sqlite3PcacheClear(pPager->pPCache); +} + +/* +** Return the pPager->iDataVersion value +*/ +SQLITE_PRIVATE u32 sqlite3PagerDataVersion(Pager *pPager){ + return pPager->iDataVersion; +} + +/* +** Free all structures in the Pager.aSavepoint[] array and set both +** Pager.aSavepoint and Pager.nSavepoint to zero. Close the sub-journal +** if it is open and the pager is not in exclusive mode. +*/ +static void releaseAllSavepoints(Pager *pPager){ + int ii; /* Iterator for looping through Pager.aSavepoint */ + for(ii=0; iinSavepoint; ii++){ + sqlite3BitvecDestroy(pPager->aSavepoint[ii].pInSavepoint); + } + if( !pPager->exclusiveMode || sqlite3JournalIsInMemory(pPager->sjfd) ){ + sqlite3OsClose(pPager->sjfd); + } + sqlite3_free(pPager->aSavepoint); + pPager->aSavepoint = 0; + pPager->nSavepoint = 0; + pPager->nSubRec = 0; +} + +/* +** Set the bit number pgno in the PagerSavepoint.pInSavepoint +** bitvecs of all open savepoints. Return SQLITE_OK if successful +** or SQLITE_NOMEM if a malloc failure occurs. +*/ +static int addToSavepointBitvecs(Pager *pPager, Pgno pgno){ + int ii; /* Loop counter */ + int rc = SQLITE_OK; /* Result code */ + + for(ii=0; iinSavepoint; ii++){ + PagerSavepoint *p = &pPager->aSavepoint[ii]; + if( pgno<=p->nOrig ){ + rc |= sqlite3BitvecSet(p->pInSavepoint, pgno); + testcase( rc==SQLITE_NOMEM ); + assert( rc==SQLITE_OK || rc==SQLITE_NOMEM ); + } + } + return rc; +} + +/* +** This function is a no-op if the pager is in exclusive mode and not +** in the ERROR state. Otherwise, it switches the pager to PAGER_OPEN +** state. +** +** If the pager is not in exclusive-access mode, the database file is +** completely unlocked. If the file is unlocked and the file-system does +** not exhibit the UNDELETABLE_WHEN_OPEN property, the journal file is +** closed (if it is open). +** +** If the pager is in ERROR state when this function is called, the +** contents of the pager cache are discarded before switching back to +** the OPEN state. Regardless of whether the pager is in exclusive-mode +** or not, any journal file left in the file-system will be treated +** as a hot-journal and rolled back the next time a read-transaction +** is opened (by this or by any other connection). +*/ +static void pager_unlock(Pager *pPager){ + + assert( pPager->eState==PAGER_READER + || pPager->eState==PAGER_OPEN + || pPager->eState==PAGER_ERROR + ); + + sqlite3BitvecDestroy(pPager->pInJournal); + pPager->pInJournal = 0; + releaseAllSavepoints(pPager); + + if( pagerUseWal(pPager) ){ + assert( !isOpen(pPager->jfd) ); + sqlite3WalEndReadTransaction(pPager->pWal); + pPager->eState = PAGER_OPEN; + }else if( !pPager->exclusiveMode ){ + int rc; /* Error code returned by pagerUnlockDb() */ + int iDc = isOpen(pPager->fd)?sqlite3OsDeviceCharacteristics(pPager->fd):0; + + /* If the operating system support deletion of open files, then + ** close the journal file when dropping the database lock. Otherwise + ** another connection with journal_mode=delete might delete the file + ** out from under us. + */ + assert( (PAGER_JOURNALMODE_MEMORY & 5)!=1 ); + assert( (PAGER_JOURNALMODE_OFF & 5)!=1 ); + assert( (PAGER_JOURNALMODE_WAL & 5)!=1 ); + assert( (PAGER_JOURNALMODE_DELETE & 5)!=1 ); + assert( (PAGER_JOURNALMODE_TRUNCATE & 5)==1 ); + assert( (PAGER_JOURNALMODE_PERSIST & 5)==1 ); + if( 0==(iDc & SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN) + || 1!=(pPager->journalMode & 5) + ){ + sqlite3OsClose(pPager->jfd); + } + + /* If the pager is in the ERROR state and the call to unlock the database + ** file fails, set the current lock to UNKNOWN_LOCK. See the comment + ** above the #define for UNKNOWN_LOCK for an explanation of why this + ** is necessary. + */ + rc = pagerUnlockDb(pPager, NO_LOCK); + if( rc!=SQLITE_OK && pPager->eState==PAGER_ERROR ){ + pPager->eLock = UNKNOWN_LOCK; + } + + /* The pager state may be changed from PAGER_ERROR to PAGER_OPEN here + ** without clearing the error code. This is intentional - the error + ** code is cleared and the cache reset in the block below. + */ + assert( pPager->errCode || pPager->eState!=PAGER_ERROR ); + pPager->changeCountDone = 0; + pPager->eState = PAGER_OPEN; + } + + /* If Pager.errCode is set, the contents of the pager cache cannot be + ** trusted. Now that there are no outstanding references to the pager, + ** it can safely move back to PAGER_OPEN state. This happens in both + ** normal and exclusive-locking mode. + */ + assert( pPager->errCode==SQLITE_OK || !MEMDB ); + if( pPager->errCode ){ + if( pPager->tempFile==0 ){ + pager_reset(pPager); + pPager->changeCountDone = 0; + pPager->eState = PAGER_OPEN; + }else{ + pPager->eState = (isOpen(pPager->jfd) ? PAGER_OPEN : PAGER_READER); + } + if( USEFETCH(pPager) ) sqlite3OsUnfetch(pPager->fd, 0, 0); + pPager->errCode = SQLITE_OK; + setGetterMethod(pPager); + } + + pPager->journalOff = 0; + pPager->journalHdr = 0; + pPager->setMaster = 0; +} + +/* +** This function is called whenever an IOERR or FULL error that requires +** the pager to transition into the ERROR state may ahve occurred. +** The first argument is a pointer to the pager structure, the second +** the error-code about to be returned by a pager API function. The +** value returned is a copy of the second argument to this function. +** +** If the second argument is SQLITE_FULL, SQLITE_IOERR or one of the +** IOERR sub-codes, the pager enters the ERROR state and the error code +** is stored in Pager.errCode. While the pager remains in the ERROR state, +** all major API calls on the Pager will immediately return Pager.errCode. +** +** The ERROR state indicates that the contents of the pager-cache +** cannot be trusted. This state can be cleared by completely discarding +** the contents of the pager-cache. If a transaction was active when +** the persistent error occurred, then the rollback journal may need +** to be replayed to restore the contents of the database file (as if +** it were a hot-journal). +*/ +static int pager_error(Pager *pPager, int rc){ + int rc2 = rc & 0xff; + assert( rc==SQLITE_OK || !MEMDB ); + assert( + pPager->errCode==SQLITE_FULL || + pPager->errCode==SQLITE_OK || + (pPager->errCode & 0xff)==SQLITE_IOERR + ); + if( rc2==SQLITE_FULL || rc2==SQLITE_IOERR ){ + pPager->errCode = rc; + pPager->eState = PAGER_ERROR; + setGetterMethod(pPager); + } + return rc; +} + +static int pager_truncate(Pager *pPager, Pgno nPage); + +/* +** The write transaction open on pPager is being committed (bCommit==1) +** or rolled back (bCommit==0). +** +** Return TRUE if and only if all dirty pages should be flushed to disk. +** +** Rules: +** +** * For non-TEMP databases, always sync to disk. This is necessary +** for transactions to be durable. +** +** * Sync TEMP database only on a COMMIT (not a ROLLBACK) when the backing +** file has been created already (via a spill on pagerStress()) and +** when the number of dirty pages in memory exceeds 25% of the total +** cache size. +*/ +static int pagerFlushOnCommit(Pager *pPager, int bCommit){ + if( pPager->tempFile==0 ) return 1; + if( !bCommit ) return 0; + if( !isOpen(pPager->fd) ) return 0; + return (sqlite3PCachePercentDirty(pPager->pPCache)>=25); +} + +/* +** This routine ends a transaction. A transaction is usually ended by +** either a COMMIT or a ROLLBACK operation. This routine may be called +** after rollback of a hot-journal, or if an error occurs while opening +** the journal file or writing the very first journal-header of a +** database transaction. +** +** This routine is never called in PAGER_ERROR state. If it is called +** in PAGER_NONE or PAGER_SHARED state and the lock held is less +** exclusive than a RESERVED lock, it is a no-op. +** +** Otherwise, any active savepoints are released. +** +** If the journal file is open, then it is "finalized". Once a journal +** file has been finalized it is not possible to use it to roll back a +** transaction. Nor will it be considered to be a hot-journal by this +** or any other database connection. Exactly how a journal is finalized +** depends on whether or not the pager is running in exclusive mode and +** the current journal-mode (Pager.journalMode value), as follows: +** +** journalMode==MEMORY +** Journal file descriptor is simply closed. This destroys an +** in-memory journal. +** +** journalMode==TRUNCATE +** Journal file is truncated to zero bytes in size. +** +** journalMode==PERSIST +** The first 28 bytes of the journal file are zeroed. This invalidates +** the first journal header in the file, and hence the entire journal +** file. An invalid journal file cannot be rolled back. +** +** journalMode==DELETE +** The journal file is closed and deleted using sqlite3OsDelete(). +** +** If the pager is running in exclusive mode, this method of finalizing +** the journal file is never used. Instead, if the journalMode is +** DELETE and the pager is in exclusive mode, the method described under +** journalMode==PERSIST is used instead. +** +** After the journal is finalized, the pager moves to PAGER_READER state. +** If running in non-exclusive rollback mode, the lock on the file is +** downgraded to a SHARED_LOCK. +** +** SQLITE_OK is returned if no error occurs. If an error occurs during +** any of the IO operations to finalize the journal file or unlock the +** database then the IO error code is returned to the user. If the +** operation to finalize the journal file fails, then the code still +** tries to unlock the database file if not in exclusive mode. If the +** unlock operation fails as well, then the first error code related +** to the first error encountered (the journal finalization one) is +** returned. +*/ +static int pager_end_transaction(Pager *pPager, int hasMaster, int bCommit){ + int rc = SQLITE_OK; /* Error code from journal finalization operation */ + int rc2 = SQLITE_OK; /* Error code from db file unlock operation */ + + /* Do nothing if the pager does not have an open write transaction + ** or at least a RESERVED lock. This function may be called when there + ** is no write-transaction active but a RESERVED or greater lock is + ** held under two circumstances: + ** + ** 1. After a successful hot-journal rollback, it is called with + ** eState==PAGER_NONE and eLock==EXCLUSIVE_LOCK. + ** + ** 2. If a connection with locking_mode=exclusive holding an EXCLUSIVE + ** lock switches back to locking_mode=normal and then executes a + ** read-transaction, this function is called with eState==PAGER_READER + ** and eLock==EXCLUSIVE_LOCK when the read-transaction is closed. + */ + assert( assert_pager_state(pPager) ); + assert( pPager->eState!=PAGER_ERROR ); + if( pPager->eStateeLockjfd) || pPager->pInJournal==0 + || (sqlite3OsDeviceCharacteristics(pPager->fd)&SQLITE_IOCAP_BATCH_ATOMIC) + ); + if( isOpen(pPager->jfd) ){ + assert( !pagerUseWal(pPager) ); + + /* Finalize the journal file. */ + if( sqlite3JournalIsInMemory(pPager->jfd) ){ + /* assert( pPager->journalMode==PAGER_JOURNALMODE_MEMORY ); */ + sqlite3OsClose(pPager->jfd); + }else if( pPager->journalMode==PAGER_JOURNALMODE_TRUNCATE ){ + if( pPager->journalOff==0 ){ + rc = SQLITE_OK; + }else{ + rc = sqlite3OsTruncate(pPager->jfd, 0); + if( rc==SQLITE_OK && pPager->fullSync ){ + /* Make sure the new file size is written into the inode right away. + ** Otherwise the journal might resurrect following a power loss and + ** cause the last transaction to roll back. See + ** https://bugzilla.mozilla.org/show_bug.cgi?id=1072773 + */ + rc = sqlite3OsSync(pPager->jfd, pPager->syncFlags); + } + } + pPager->journalOff = 0; + }else if( pPager->journalMode==PAGER_JOURNALMODE_PERSIST + || (pPager->exclusiveMode && pPager->journalMode!=PAGER_JOURNALMODE_WAL) + ){ + rc = zeroJournalHdr(pPager, hasMaster||pPager->tempFile); + pPager->journalOff = 0; + }else{ + /* This branch may be executed with Pager.journalMode==MEMORY if + ** a hot-journal was just rolled back. In this case the journal + ** file should be closed and deleted. If this connection writes to + ** the database file, it will do so using an in-memory journal. + */ + int bDelete = !pPager->tempFile; + assert( sqlite3JournalIsInMemory(pPager->jfd)==0 ); + assert( pPager->journalMode==PAGER_JOURNALMODE_DELETE + || pPager->journalMode==PAGER_JOURNALMODE_MEMORY + || pPager->journalMode==PAGER_JOURNALMODE_WAL + ); + sqlite3OsClose(pPager->jfd); + if( bDelete ){ + rc = sqlite3OsDelete(pPager->pVfs, pPager->zJournal, pPager->extraSync); + } + } + } + +#ifdef SQLITE_CHECK_PAGES + sqlite3PcacheIterateDirty(pPager->pPCache, pager_set_pagehash); + if( pPager->dbSize==0 && sqlite3PcacheRefCount(pPager->pPCache)>0 ){ + PgHdr *p = sqlite3PagerLookup(pPager, 1); + if( p ){ + p->pageHash = 0; + sqlite3PagerUnrefNotNull(p); + } + } +#endif + + sqlite3BitvecDestroy(pPager->pInJournal); + pPager->pInJournal = 0; + pPager->nRec = 0; + if( rc==SQLITE_OK ){ + if( MEMDB || pagerFlushOnCommit(pPager, bCommit) ){ + sqlite3PcacheCleanAll(pPager->pPCache); + }else{ + sqlite3PcacheClearWritable(pPager->pPCache); + } + sqlite3PcacheTruncate(pPager->pPCache, pPager->dbSize); + } + + if( pagerUseWal(pPager) ){ + /* Drop the WAL write-lock, if any. Also, if the connection was in + ** locking_mode=exclusive mode but is no longer, drop the EXCLUSIVE + ** lock held on the database file. + */ + rc2 = sqlite3WalEndWriteTransaction(pPager->pWal); + assert( rc2==SQLITE_OK ); + }else if( rc==SQLITE_OK && bCommit && pPager->dbFileSize>pPager->dbSize ){ + /* This branch is taken when committing a transaction in rollback-journal + ** mode if the database file on disk is larger than the database image. + ** At this point the journal has been finalized and the transaction + ** successfully committed, but the EXCLUSIVE lock is still held on the + ** file. So it is safe to truncate the database file to its minimum + ** required size. */ + assert( pPager->eLock==EXCLUSIVE_LOCK ); + rc = pager_truncate(pPager, pPager->dbSize); + } + + if( rc==SQLITE_OK && bCommit ){ + rc = sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_COMMIT_PHASETWO, 0); + if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK; + } + + if( !pPager->exclusiveMode + && (!pagerUseWal(pPager) || sqlite3WalExclusiveMode(pPager->pWal, 0)) + ){ + rc2 = pagerUnlockDb(pPager, SHARED_LOCK); + pPager->changeCountDone = 0; + } + pPager->eState = PAGER_READER; + pPager->setMaster = 0; + + return (rc==SQLITE_OK?rc2:rc); +} + +/* +** Execute a rollback if a transaction is active and unlock the +** database file. +** +** If the pager has already entered the ERROR state, do not attempt +** the rollback at this time. Instead, pager_unlock() is called. The +** call to pager_unlock() will discard all in-memory pages, unlock +** the database file and move the pager back to OPEN state. If this +** means that there is a hot-journal left in the file-system, the next +** connection to obtain a shared lock on the pager (which may be this one) +** will roll it back. +** +** If the pager has not already entered the ERROR state, but an IO or +** malloc error occurs during a rollback, then this will itself cause +** the pager to enter the ERROR state. Which will be cleared by the +** call to pager_unlock(), as described above. +*/ +static void pagerUnlockAndRollback(Pager *pPager){ + if( pPager->eState!=PAGER_ERROR && pPager->eState!=PAGER_OPEN ){ + assert( assert_pager_state(pPager) ); + if( pPager->eState>=PAGER_WRITER_LOCKED ){ + sqlite3BeginBenignMalloc(); + sqlite3PagerRollback(pPager); + sqlite3EndBenignMalloc(); + }else if( !pPager->exclusiveMode ){ + assert( pPager->eState==PAGER_READER ); + pager_end_transaction(pPager, 0, 0); + } + } + pager_unlock(pPager); +} + +/* +** Parameter aData must point to a buffer of pPager->pageSize bytes +** of data. Compute and return a checksum based ont the contents of the +** page of data and the current value of pPager->cksumInit. +** +** This is not a real checksum. It is really just the sum of the +** random initial value (pPager->cksumInit) and every 200th byte +** of the page data, starting with byte offset (pPager->pageSize%200). +** Each byte is interpreted as an 8-bit unsigned integer. +** +** Changing the formula used to compute this checksum results in an +** incompatible journal file format. +** +** If journal corruption occurs due to a power failure, the most likely +** scenario is that one end or the other of the record will be changed. +** It is much less likely that the two ends of the journal record will be +** correct and the middle be corrupt. Thus, this "checksum" scheme, +** though fast and simple, catches the mostly likely kind of corruption. +*/ +static u32 pager_cksum(Pager *pPager, const u8 *aData){ + u32 cksum = pPager->cksumInit; /* Checksum value to return */ + int i = pPager->pageSize-200; /* Loop counter */ + while( i>0 ){ + cksum += aData[i]; + i -= 200; + } + return cksum; +} + +/* +** Report the current page size and number of reserved bytes back +** to the codec. +*/ +#ifdef SQLITE_HAS_CODEC +static void pagerReportSize(Pager *pPager){ + if( pPager->xCodecSizeChng ){ + pPager->xCodecSizeChng(pPager->pCodec, pPager->pageSize, + (int)pPager->nReserve); + } +} +#else +# define pagerReportSize(X) /* No-op if we do not support a codec */ +#endif + +#ifdef SQLITE_HAS_CODEC +/* +** Make sure the number of reserved bits is the same in the destination +** pager as it is in the source. This comes up when a VACUUM changes the +** number of reserved bits to the "optimal" amount. +*/ +SQLITE_PRIVATE void sqlite3PagerAlignReserve(Pager *pDest, Pager *pSrc){ + if( pDest->nReserve!=pSrc->nReserve ){ + pDest->nReserve = pSrc->nReserve; + pagerReportSize(pDest); + } +} +#endif + +/* +** Read a single page from either the journal file (if isMainJrnl==1) or +** from the sub-journal (if isMainJrnl==0) and playback that page. +** The page begins at offset *pOffset into the file. The *pOffset +** value is increased to the start of the next page in the journal. +** +** The main rollback journal uses checksums - the statement journal does +** not. +** +** If the page number of the page record read from the (sub-)journal file +** is greater than the current value of Pager.dbSize, then playback is +** skipped and SQLITE_OK is returned. +** +** If pDone is not NULL, then it is a record of pages that have already +** been played back. If the page at *pOffset has already been played back +** (if the corresponding pDone bit is set) then skip the playback. +** Make sure the pDone bit corresponding to the *pOffset page is set +** prior to returning. +** +** If the page record is successfully read from the (sub-)journal file +** and played back, then SQLITE_OK is returned. If an IO error occurs +** while reading the record from the (sub-)journal file or while writing +** to the database file, then the IO error code is returned. If data +** is successfully read from the (sub-)journal file but appears to be +** corrupted, SQLITE_DONE is returned. Data is considered corrupted in +** two circumstances: +** +** * If the record page-number is illegal (0 or PAGER_MJ_PGNO), or +** * If the record is being rolled back from the main journal file +** and the checksum field does not match the record content. +** +** Neither of these two scenarios are possible during a savepoint rollback. +** +** If this is a savepoint rollback, then memory may have to be dynamically +** allocated by this function. If this is the case and an allocation fails, +** SQLITE_NOMEM is returned. +*/ +static int pager_playback_one_page( + Pager *pPager, /* The pager being played back */ + i64 *pOffset, /* Offset of record to playback */ + Bitvec *pDone, /* Bitvec of pages already played back */ + int isMainJrnl, /* 1 -> main journal. 0 -> sub-journal. */ + int isSavepnt /* True for a savepoint rollback */ +){ + int rc; + PgHdr *pPg; /* An existing page in the cache */ + Pgno pgno; /* The page number of a page in journal */ + u32 cksum; /* Checksum used for sanity checking */ + char *aData; /* Temporary storage for the page */ + sqlite3_file *jfd; /* The file descriptor for the journal file */ + int isSynced; /* True if journal page is synced */ +#ifdef SQLITE_HAS_CODEC + /* The jrnlEnc flag is true if Journal pages should be passed through + ** the codec. It is false for pure in-memory journals. */ + const int jrnlEnc = (isMainJrnl || pPager->subjInMemory==0); +#endif + + assert( (isMainJrnl&~1)==0 ); /* isMainJrnl is 0 or 1 */ + assert( (isSavepnt&~1)==0 ); /* isSavepnt is 0 or 1 */ + assert( isMainJrnl || pDone ); /* pDone always used on sub-journals */ + assert( isSavepnt || pDone==0 ); /* pDone never used on non-savepoint */ + + aData = pPager->pTmpSpace; + assert( aData ); /* Temp storage must have already been allocated */ + assert( pagerUseWal(pPager)==0 || (!isMainJrnl && isSavepnt) ); + + /* Either the state is greater than PAGER_WRITER_CACHEMOD (a transaction + ** or savepoint rollback done at the request of the caller) or this is + ** a hot-journal rollback. If it is a hot-journal rollback, the pager + ** is in state OPEN and holds an EXCLUSIVE lock. Hot-journal rollback + ** only reads from the main journal, not the sub-journal. + */ + assert( pPager->eState>=PAGER_WRITER_CACHEMOD + || (pPager->eState==PAGER_OPEN && pPager->eLock==EXCLUSIVE_LOCK) + ); + assert( pPager->eState>=PAGER_WRITER_CACHEMOD || isMainJrnl ); + + /* Read the page number and page data from the journal or sub-journal + ** file. Return an error code to the caller if an IO error occurs. + */ + jfd = isMainJrnl ? pPager->jfd : pPager->sjfd; + rc = read32bits(jfd, *pOffset, &pgno); + if( rc!=SQLITE_OK ) return rc; + rc = sqlite3OsRead(jfd, (u8*)aData, pPager->pageSize, (*pOffset)+4); + if( rc!=SQLITE_OK ) return rc; + *pOffset += pPager->pageSize + 4 + isMainJrnl*4; + + /* Sanity checking on the page. This is more important that I originally + ** thought. If a power failure occurs while the journal is being written, + ** it could cause invalid data to be written into the journal. We need to + ** detect this invalid data (with high probability) and ignore it. + */ + if( pgno==0 || pgno==PAGER_MJ_PGNO(pPager) ){ + assert( !isSavepnt ); + return SQLITE_DONE; + } + if( pgno>(Pgno)pPager->dbSize || sqlite3BitvecTest(pDone, pgno) ){ + return SQLITE_OK; + } + if( isMainJrnl ){ + rc = read32bits(jfd, (*pOffset)-4, &cksum); + if( rc ) return rc; + if( !isSavepnt && pager_cksum(pPager, (u8*)aData)!=cksum ){ + return SQLITE_DONE; + } + } + + /* If this page has already been played back before during the current + ** rollback, then don't bother to play it back again. + */ + if( pDone && (rc = sqlite3BitvecSet(pDone, pgno))!=SQLITE_OK ){ + return rc; + } + + /* When playing back page 1, restore the nReserve setting + */ + if( pgno==1 && pPager->nReserve!=((u8*)aData)[20] ){ + pPager->nReserve = ((u8*)aData)[20]; + pagerReportSize(pPager); + } + + /* If the pager is in CACHEMOD state, then there must be a copy of this + ** page in the pager cache. In this case just update the pager cache, + ** not the database file. The page is left marked dirty in this case. + ** + ** An exception to the above rule: If the database is in no-sync mode + ** and a page is moved during an incremental vacuum then the page may + ** not be in the pager cache. Later: if a malloc() or IO error occurs + ** during a Movepage() call, then the page may not be in the cache + ** either. So the condition described in the above paragraph is not + ** assert()able. + ** + ** If in WRITER_DBMOD, WRITER_FINISHED or OPEN state, then we update the + ** pager cache if it exists and the main file. The page is then marked + ** not dirty. Since this code is only executed in PAGER_OPEN state for + ** a hot-journal rollback, it is guaranteed that the page-cache is empty + ** if the pager is in OPEN state. + ** + ** Ticket #1171: The statement journal might contain page content that is + ** different from the page content at the start of the transaction. + ** This occurs when a page is changed prior to the start of a statement + ** then changed again within the statement. When rolling back such a + ** statement we must not write to the original database unless we know + ** for certain that original page contents are synced into the main rollback + ** journal. Otherwise, a power loss might leave modified data in the + ** database file without an entry in the rollback journal that can + ** restore the database to its original form. Two conditions must be + ** met before writing to the database files. (1) the database must be + ** locked. (2) we know that the original page content is fully synced + ** in the main journal either because the page is not in cache or else + ** the page is marked as needSync==0. + ** + ** 2008-04-14: When attempting to vacuum a corrupt database file, it + ** is possible to fail a statement on a database that does not yet exist. + ** Do not attempt to write if database file has never been opened. + */ + if( pagerUseWal(pPager) ){ + pPg = 0; + }else{ + pPg = sqlite3PagerLookup(pPager, pgno); + } + assert( pPg || !MEMDB ); + assert( pPager->eState!=PAGER_OPEN || pPg==0 || pPager->tempFile ); + PAGERTRACE(("PLAYBACK %d page %d hash(%08x) %s\n", + PAGERID(pPager), pgno, pager_datahash(pPager->pageSize, (u8*)aData), + (isMainJrnl?"main-journal":"sub-journal") + )); + if( isMainJrnl ){ + isSynced = pPager->noSync || (*pOffset <= pPager->journalHdr); + }else{ + isSynced = (pPg==0 || 0==(pPg->flags & PGHDR_NEED_SYNC)); + } + if( isOpen(pPager->fd) + && (pPager->eState>=PAGER_WRITER_DBMOD || pPager->eState==PAGER_OPEN) + && isSynced + ){ + i64 ofst = (pgno-1)*(i64)pPager->pageSize; + testcase( !isSavepnt && pPg!=0 && (pPg->flags&PGHDR_NEED_SYNC)!=0 ); + assert( !pagerUseWal(pPager) ); + + /* Write the data read from the journal back into the database file. + ** This is usually safe even for an encrypted database - as the data + ** was encrypted before it was written to the journal file. The exception + ** is if the data was just read from an in-memory sub-journal. In that + ** case it must be encrypted here before it is copied into the database + ** file. */ +#ifdef SQLITE_HAS_CODEC + if( !jrnlEnc ){ + CODEC2(pPager, aData, pgno, 7, rc=SQLITE_NOMEM_BKPT, aData); + rc = sqlite3OsWrite(pPager->fd, (u8 *)aData, pPager->pageSize, ofst); + CODEC1(pPager, aData, pgno, 3, rc=SQLITE_NOMEM_BKPT); + }else +#endif + rc = sqlite3OsWrite(pPager->fd, (u8 *)aData, pPager->pageSize, ofst); + + if( pgno>pPager->dbFileSize ){ + pPager->dbFileSize = pgno; + } + if( pPager->pBackup ){ +#ifdef SQLITE_HAS_CODEC + if( jrnlEnc ){ + CODEC1(pPager, aData, pgno, 3, rc=SQLITE_NOMEM_BKPT); + sqlite3BackupUpdate(pPager->pBackup, pgno, (u8*)aData); + CODEC2(pPager, aData, pgno, 7, rc=SQLITE_NOMEM_BKPT,aData); + }else +#endif + sqlite3BackupUpdate(pPager->pBackup, pgno, (u8*)aData); + } + }else if( !isMainJrnl && pPg==0 ){ + /* If this is a rollback of a savepoint and data was not written to + ** the database and the page is not in-memory, there is a potential + ** problem. When the page is next fetched by the b-tree layer, it + ** will be read from the database file, which may or may not be + ** current. + ** + ** There are a couple of different ways this can happen. All are quite + ** obscure. When running in synchronous mode, this can only happen + ** if the page is on the free-list at the start of the transaction, then + ** populated, then moved using sqlite3PagerMovepage(). + ** + ** The solution is to add an in-memory page to the cache containing + ** the data just read from the sub-journal. Mark the page as dirty + ** and if the pager requires a journal-sync, then mark the page as + ** requiring a journal-sync before it is written. + */ + assert( isSavepnt ); + assert( (pPager->doNotSpill & SPILLFLAG_ROLLBACK)==0 ); + pPager->doNotSpill |= SPILLFLAG_ROLLBACK; + rc = sqlite3PagerGet(pPager, pgno, &pPg, 1); + assert( (pPager->doNotSpill & SPILLFLAG_ROLLBACK)!=0 ); + pPager->doNotSpill &= ~SPILLFLAG_ROLLBACK; + if( rc!=SQLITE_OK ) return rc; + sqlite3PcacheMakeDirty(pPg); + } + if( pPg ){ + /* No page should ever be explicitly rolled back that is in use, except + ** for page 1 which is held in use in order to keep the lock on the + ** database active. However such a page may be rolled back as a result + ** of an internal error resulting in an automatic call to + ** sqlite3PagerRollback(). + */ + void *pData; + pData = pPg->pData; + memcpy(pData, (u8*)aData, pPager->pageSize); + pPager->xReiniter(pPg); + /* It used to be that sqlite3PcacheMakeClean(pPg) was called here. But + ** that call was dangerous and had no detectable benefit since the cache + ** is normally cleaned by sqlite3PcacheCleanAll() after rollback and so + ** has been removed. */ + pager_set_pagehash(pPg); + + /* If this was page 1, then restore the value of Pager.dbFileVers. + ** Do this before any decoding. */ + if( pgno==1 ){ + memcpy(&pPager->dbFileVers, &((u8*)pData)[24],sizeof(pPager->dbFileVers)); + } + + /* Decode the page just read from disk */ +#if SQLITE_HAS_CODEC + if( jrnlEnc ){ CODEC1(pPager, pData, pPg->pgno, 3, rc=SQLITE_NOMEM_BKPT); } +#endif + sqlite3PcacheRelease(pPg); + } + return rc; +} + +/* +** Parameter zMaster is the name of a master journal file. A single journal +** file that referred to the master journal file has just been rolled back. +** This routine checks if it is possible to delete the master journal file, +** and does so if it is. +** +** Argument zMaster may point to Pager.pTmpSpace. So that buffer is not +** available for use within this function. +** +** When a master journal file is created, it is populated with the names +** of all of its child journals, one after another, formatted as utf-8 +** encoded text. The end of each child journal file is marked with a +** nul-terminator byte (0x00). i.e. the entire contents of a master journal +** file for a transaction involving two databases might be: +** +** "/home/bill/a.db-journal\x00/home/bill/b.db-journal\x00" +** +** A master journal file may only be deleted once all of its child +** journals have been rolled back. +** +** This function reads the contents of the master-journal file into +** memory and loops through each of the child journal names. For +** each child journal, it checks if: +** +** * if the child journal exists, and if so +** * if the child journal contains a reference to master journal +** file zMaster +** +** If a child journal can be found that matches both of the criteria +** above, this function returns without doing anything. Otherwise, if +** no such child journal can be found, file zMaster is deleted from +** the file-system using sqlite3OsDelete(). +** +** If an IO error within this function, an error code is returned. This +** function allocates memory by calling sqlite3Malloc(). If an allocation +** fails, SQLITE_NOMEM is returned. Otherwise, if no IO or malloc errors +** occur, SQLITE_OK is returned. +** +** TODO: This function allocates a single block of memory to load +** the entire contents of the master journal file. This could be +** a couple of kilobytes or so - potentially larger than the page +** size. +*/ +static int pager_delmaster(Pager *pPager, const char *zMaster){ + sqlite3_vfs *pVfs = pPager->pVfs; + int rc; /* Return code */ + sqlite3_file *pMaster; /* Malloc'd master-journal file descriptor */ + sqlite3_file *pJournal; /* Malloc'd child-journal file descriptor */ + char *zMasterJournal = 0; /* Contents of master journal file */ + i64 nMasterJournal; /* Size of master journal file */ + char *zJournal; /* Pointer to one journal within MJ file */ + char *zMasterPtr; /* Space to hold MJ filename from a journal file */ + int nMasterPtr; /* Amount of space allocated to zMasterPtr[] */ + + /* Allocate space for both the pJournal and pMaster file descriptors. + ** If successful, open the master journal file for reading. + */ + pMaster = (sqlite3_file *)sqlite3MallocZero(pVfs->szOsFile * 2); + pJournal = (sqlite3_file *)(((u8 *)pMaster) + pVfs->szOsFile); + if( !pMaster ){ + rc = SQLITE_NOMEM_BKPT; + }else{ + const int flags = (SQLITE_OPEN_READONLY|SQLITE_OPEN_MASTER_JOURNAL); + rc = sqlite3OsOpen(pVfs, zMaster, pMaster, flags, 0); + } + if( rc!=SQLITE_OK ) goto delmaster_out; + + /* Load the entire master journal file into space obtained from + ** sqlite3_malloc() and pointed to by zMasterJournal. Also obtain + ** sufficient space (in zMasterPtr) to hold the names of master + ** journal files extracted from regular rollback-journals. + */ + rc = sqlite3OsFileSize(pMaster, &nMasterJournal); + if( rc!=SQLITE_OK ) goto delmaster_out; + nMasterPtr = pVfs->mxPathname+1; + zMasterJournal = sqlite3Malloc(nMasterJournal + nMasterPtr + 1); + if( !zMasterJournal ){ + rc = SQLITE_NOMEM_BKPT; + goto delmaster_out; + } + zMasterPtr = &zMasterJournal[nMasterJournal+1]; + rc = sqlite3OsRead(pMaster, zMasterJournal, (int)nMasterJournal, 0); + if( rc!=SQLITE_OK ) goto delmaster_out; + zMasterJournal[nMasterJournal] = 0; + + zJournal = zMasterJournal; + while( (zJournal-zMasterJournal)pageSize bytes). +** If the file on disk is currently larger than nPage pages, then use the VFS +** xTruncate() method to truncate it. +** +** Or, it might be the case that the file on disk is smaller than +** nPage pages. Some operating system implementations can get confused if +** you try to truncate a file to some size that is larger than it +** currently is, so detect this case and write a single zero byte to +** the end of the new file instead. +** +** If successful, return SQLITE_OK. If an IO error occurs while modifying +** the database file, return the error code to the caller. +*/ +static int pager_truncate(Pager *pPager, Pgno nPage){ + int rc = SQLITE_OK; + assert( pPager->eState!=PAGER_ERROR ); + assert( pPager->eState!=PAGER_READER ); + + if( isOpen(pPager->fd) + && (pPager->eState>=PAGER_WRITER_DBMOD || pPager->eState==PAGER_OPEN) + ){ + i64 currentSize, newSize; + int szPage = pPager->pageSize; + assert( pPager->eLock==EXCLUSIVE_LOCK ); + /* TODO: Is it safe to use Pager.dbFileSize here? */ + rc = sqlite3OsFileSize(pPager->fd, ¤tSize); + newSize = szPage*(i64)nPage; + if( rc==SQLITE_OK && currentSize!=newSize ){ + if( currentSize>newSize ){ + rc = sqlite3OsTruncate(pPager->fd, newSize); + }else if( (currentSize+szPage)<=newSize ){ + char *pTmp = pPager->pTmpSpace; + memset(pTmp, 0, szPage); + testcase( (newSize-szPage) == currentSize ); + testcase( (newSize-szPage) > currentSize ); + rc = sqlite3OsWrite(pPager->fd, pTmp, szPage, newSize-szPage); + } + if( rc==SQLITE_OK ){ + pPager->dbFileSize = nPage; + } + } + } + return rc; +} + +/* +** Return a sanitized version of the sector-size of OS file pFile. The +** return value is guaranteed to lie between 32 and MAX_SECTOR_SIZE. +*/ +SQLITE_PRIVATE int sqlite3SectorSize(sqlite3_file *pFile){ + int iRet = sqlite3OsSectorSize(pFile); + if( iRet<32 ){ + iRet = 512; + }else if( iRet>MAX_SECTOR_SIZE ){ + assert( MAX_SECTOR_SIZE>=512 ); + iRet = MAX_SECTOR_SIZE; + } + return iRet; +} + +/* +** Set the value of the Pager.sectorSize variable for the given +** pager based on the value returned by the xSectorSize method +** of the open database file. The sector size will be used +** to determine the size and alignment of journal header and +** master journal pointers within created journal files. +** +** For temporary files the effective sector size is always 512 bytes. +** +** Otherwise, for non-temporary files, the effective sector size is +** the value returned by the xSectorSize() method rounded up to 32 if +** it is less than 32, or rounded down to MAX_SECTOR_SIZE if it +** is greater than MAX_SECTOR_SIZE. +** +** If the file has the SQLITE_IOCAP_POWERSAFE_OVERWRITE property, then set +** the effective sector size to its minimum value (512). The purpose of +** pPager->sectorSize is to define the "blast radius" of bytes that +** might change if a crash occurs while writing to a single byte in +** that range. But with POWERSAFE_OVERWRITE, the blast radius is zero +** (that is what POWERSAFE_OVERWRITE means), so we minimize the sector +** size. For backwards compatibility of the rollback journal file format, +** we cannot reduce the effective sector size below 512. +*/ +static void setSectorSize(Pager *pPager){ + assert( isOpen(pPager->fd) || pPager->tempFile ); + + if( pPager->tempFile + || (sqlite3OsDeviceCharacteristics(pPager->fd) & + SQLITE_IOCAP_POWERSAFE_OVERWRITE)!=0 + ){ + /* Sector size doesn't matter for temporary files. Also, the file + ** may not have been opened yet, in which case the OsSectorSize() + ** call will segfault. */ + pPager->sectorSize = 512; + }else{ + pPager->sectorSize = sqlite3SectorSize(pPager->fd); + } +} + +/* +** Playback the journal and thus restore the database file to +** the state it was in before we started making changes. +** +** The journal file format is as follows: +** +** (1) 8 byte prefix. A copy of aJournalMagic[]. +** (2) 4 byte big-endian integer which is the number of valid page records +** in the journal. If this value is 0xffffffff, then compute the +** number of page records from the journal size. +** (3) 4 byte big-endian integer which is the initial value for the +** sanity checksum. +** (4) 4 byte integer which is the number of pages to truncate the +** database to during a rollback. +** (5) 4 byte big-endian integer which is the sector size. The header +** is this many bytes in size. +** (6) 4 byte big-endian integer which is the page size. +** (7) zero padding out to the next sector size. +** (8) Zero or more pages instances, each as follows: +** + 4 byte page number. +** + pPager->pageSize bytes of data. +** + 4 byte checksum +** +** When we speak of the journal header, we mean the first 7 items above. +** Each entry in the journal is an instance of the 8th item. +** +** Call the value from the second bullet "nRec". nRec is the number of +** valid page entries in the journal. In most cases, you can compute the +** value of nRec from the size of the journal file. But if a power +** failure occurred while the journal was being written, it could be the +** case that the size of the journal file had already been increased but +** the extra entries had not yet made it safely to disk. In such a case, +** the value of nRec computed from the file size would be too large. For +** that reason, we always use the nRec value in the header. +** +** If the nRec value is 0xffffffff it means that nRec should be computed +** from the file size. This value is used when the user selects the +** no-sync option for the journal. A power failure could lead to corruption +** in this case. But for things like temporary table (which will be +** deleted when the power is restored) we don't care. +** +** If the file opened as the journal file is not a well-formed +** journal file then all pages up to the first corrupted page are rolled +** back (or no pages if the journal header is corrupted). The journal file +** is then deleted and SQLITE_OK returned, just as if no corruption had +** been encountered. +** +** If an I/O or malloc() error occurs, the journal-file is not deleted +** and an error code is returned. +** +** The isHot parameter indicates that we are trying to rollback a journal +** that might be a hot journal. Or, it could be that the journal is +** preserved because of JOURNALMODE_PERSIST or JOURNALMODE_TRUNCATE. +** If the journal really is hot, reset the pager cache prior rolling +** back any content. If the journal is merely persistent, no reset is +** needed. +*/ +static int pager_playback(Pager *pPager, int isHot){ + sqlite3_vfs *pVfs = pPager->pVfs; + i64 szJ; /* Size of the journal file in bytes */ + u32 nRec; /* Number of Records in the journal */ + u32 u; /* Unsigned loop counter */ + Pgno mxPg = 0; /* Size of the original file in pages */ + int rc; /* Result code of a subroutine */ + int res = 1; /* Value returned by sqlite3OsAccess() */ + char *zMaster = 0; /* Name of master journal file if any */ + int needPagerReset; /* True to reset page prior to first page rollback */ + int nPlayback = 0; /* Total number of pages restored from journal */ + u32 savedPageSize = pPager->pageSize; + + /* Figure out how many records are in the journal. Abort early if + ** the journal is empty. + */ + assert( isOpen(pPager->jfd) ); + rc = sqlite3OsFileSize(pPager->jfd, &szJ); + if( rc!=SQLITE_OK ){ + goto end_playback; + } + + /* Read the master journal name from the journal, if it is present. + ** If a master journal file name is specified, but the file is not + ** present on disk, then the journal is not hot and does not need to be + ** played back. + ** + ** TODO: Technically the following is an error because it assumes that + ** buffer Pager.pTmpSpace is (mxPathname+1) bytes or larger. i.e. that + ** (pPager->pageSize >= pPager->pVfs->mxPathname+1). Using os_unix.c, + ** mxPathname is 512, which is the same as the minimum allowable value + ** for pageSize. + */ + zMaster = pPager->pTmpSpace; + rc = readMasterJournal(pPager->jfd, zMaster, pPager->pVfs->mxPathname+1); + if( rc==SQLITE_OK && zMaster[0] ){ + rc = sqlite3OsAccess(pVfs, zMaster, SQLITE_ACCESS_EXISTS, &res); + } + zMaster = 0; + if( rc!=SQLITE_OK || !res ){ + goto end_playback; + } + pPager->journalOff = 0; + needPagerReset = isHot; + + /* This loop terminates either when a readJournalHdr() or + ** pager_playback_one_page() call returns SQLITE_DONE or an IO error + ** occurs. + */ + while( 1 ){ + /* Read the next journal header from the journal file. If there are + ** not enough bytes left in the journal file for a complete header, or + ** it is corrupted, then a process must have failed while writing it. + ** This indicates nothing more needs to be rolled back. + */ + rc = readJournalHdr(pPager, isHot, szJ, &nRec, &mxPg); + if( rc!=SQLITE_OK ){ + if( rc==SQLITE_DONE ){ + rc = SQLITE_OK; + } + goto end_playback; + } + + /* If nRec is 0xffffffff, then this journal was created by a process + ** working in no-sync mode. This means that the rest of the journal + ** file consists of pages, there are no more journal headers. Compute + ** the value of nRec based on this assumption. + */ + if( nRec==0xffffffff ){ + assert( pPager->journalOff==JOURNAL_HDR_SZ(pPager) ); + nRec = (int)((szJ - JOURNAL_HDR_SZ(pPager))/JOURNAL_PG_SZ(pPager)); + } + + /* If nRec is 0 and this rollback is of a transaction created by this + ** process and if this is the final header in the journal, then it means + ** that this part of the journal was being filled but has not yet been + ** synced to disk. Compute the number of pages based on the remaining + ** size of the file. + ** + ** The third term of the test was added to fix ticket #2565. + ** When rolling back a hot journal, nRec==0 always means that the next + ** chunk of the journal contains zero pages to be rolled back. But + ** when doing a ROLLBACK and the nRec==0 chunk is the last chunk in + ** the journal, it means that the journal might contain additional + ** pages that need to be rolled back and that the number of pages + ** should be computed based on the journal file size. + */ + if( nRec==0 && !isHot && + pPager->journalHdr+JOURNAL_HDR_SZ(pPager)==pPager->journalOff ){ + nRec = (int)((szJ - pPager->journalOff) / JOURNAL_PG_SZ(pPager)); + } + + /* If this is the first header read from the journal, truncate the + ** database file back to its original size. + */ + if( pPager->journalOff==JOURNAL_HDR_SZ(pPager) ){ + rc = pager_truncate(pPager, mxPg); + if( rc!=SQLITE_OK ){ + goto end_playback; + } + pPager->dbSize = mxPg; + } + + /* Copy original pages out of the journal and back into the + ** database file and/or page cache. + */ + for(u=0; ujournalOff,0,1,0); + if( rc==SQLITE_OK ){ + nPlayback++; + }else{ + if( rc==SQLITE_DONE ){ + pPager->journalOff = szJ; + break; + }else if( rc==SQLITE_IOERR_SHORT_READ ){ + /* If the journal has been truncated, simply stop reading and + ** processing the journal. This might happen if the journal was + ** not completely written and synced prior to a crash. In that + ** case, the database should have never been written in the + ** first place so it is OK to simply abandon the rollback. */ + rc = SQLITE_OK; + goto end_playback; + }else{ + /* If we are unable to rollback, quit and return the error + ** code. This will cause the pager to enter the error state + ** so that no further harm will be done. Perhaps the next + ** process to come along will be able to rollback the database. + */ + goto end_playback; + } + } + } + } + /*NOTREACHED*/ + assert( 0 ); + +end_playback: + if( rc==SQLITE_OK ){ + rc = sqlite3PagerSetPagesize(pPager, &savedPageSize, -1); + } + /* Following a rollback, the database file should be back in its original + ** state prior to the start of the transaction, so invoke the + ** SQLITE_FCNTL_DB_UNCHANGED file-control method to disable the + ** assertion that the transaction counter was modified. + */ +#ifdef SQLITE_DEBUG + sqlite3OsFileControlHint(pPager->fd,SQLITE_FCNTL_DB_UNCHANGED,0); +#endif + + /* If this playback is happening automatically as a result of an IO or + ** malloc error that occurred after the change-counter was updated but + ** before the transaction was committed, then the change-counter + ** modification may just have been reverted. If this happens in exclusive + ** mode, then subsequent transactions performed by the connection will not + ** update the change-counter at all. This may lead to cache inconsistency + ** problems for other processes at some point in the future. So, just + ** in case this has happened, clear the changeCountDone flag now. + */ + pPager->changeCountDone = pPager->tempFile; + + if( rc==SQLITE_OK ){ + zMaster = pPager->pTmpSpace; + rc = readMasterJournal(pPager->jfd, zMaster, pPager->pVfs->mxPathname+1); + testcase( rc!=SQLITE_OK ); + } + if( rc==SQLITE_OK + && (pPager->eState>=PAGER_WRITER_DBMOD || pPager->eState==PAGER_OPEN) + ){ + rc = sqlite3PagerSync(pPager, 0); + } + if( rc==SQLITE_OK ){ + rc = pager_end_transaction(pPager, zMaster[0]!='\0', 0); + testcase( rc!=SQLITE_OK ); + } + if( rc==SQLITE_OK && zMaster[0] && res ){ + /* If there was a master journal and this routine will return success, + ** see if it is possible to delete the master journal. + */ + rc = pager_delmaster(pPager, zMaster); + testcase( rc!=SQLITE_OK ); + } + if( isHot && nPlayback ){ + sqlite3_log(SQLITE_NOTICE_RECOVER_ROLLBACK, "recovered %d pages from %s", + nPlayback, pPager->zJournal); + } + + /* The Pager.sectorSize variable may have been updated while rolling + ** back a journal created by a process with a different sector size + ** value. Reset it to the correct value for this process. + */ + setSectorSize(pPager); + return rc; +} + + +/* +** Read the content for page pPg out of the database file (or out of +** the WAL if that is where the most recent copy if found) into +** pPg->pData. A shared lock or greater must be held on the database +** file before this function is called. +** +** If page 1 is read, then the value of Pager.dbFileVers[] is set to +** the value read from the database file. +** +** If an IO error occurs, then the IO error is returned to the caller. +** Otherwise, SQLITE_OK is returned. +*/ +static int readDbPage(PgHdr *pPg){ + Pager *pPager = pPg->pPager; /* Pager object associated with page pPg */ + int rc = SQLITE_OK; /* Return code */ + +#ifndef SQLITE_OMIT_WAL + u32 iFrame = 0; /* Frame of WAL containing pgno */ + + assert( pPager->eState>=PAGER_READER && !MEMDB ); + assert( isOpen(pPager->fd) ); + + if( pagerUseWal(pPager) ){ + rc = sqlite3WalFindFrame(pPager->pWal, pPg->pgno, &iFrame); + if( rc ) return rc; + } + if( iFrame ){ + rc = sqlite3WalReadFrame(pPager->pWal, iFrame,pPager->pageSize,pPg->pData); + }else +#endif + { + i64 iOffset = (pPg->pgno-1)*(i64)pPager->pageSize; + rc = sqlite3OsRead(pPager->fd, pPg->pData, pPager->pageSize, iOffset); + if( rc==SQLITE_IOERR_SHORT_READ ){ + rc = SQLITE_OK; + } + } + + if( pPg->pgno==1 ){ + if( rc ){ + /* If the read is unsuccessful, set the dbFileVers[] to something + ** that will never be a valid file version. dbFileVers[] is a copy + ** of bytes 24..39 of the database. Bytes 28..31 should always be + ** zero or the size of the database in page. Bytes 32..35 and 35..39 + ** should be page numbers which are never 0xffffffff. So filling + ** pPager->dbFileVers[] with all 0xff bytes should suffice. + ** + ** For an encrypted database, the situation is more complex: bytes + ** 24..39 of the database are white noise. But the probability of + ** white noise equaling 16 bytes of 0xff is vanishingly small so + ** we should still be ok. + */ + memset(pPager->dbFileVers, 0xff, sizeof(pPager->dbFileVers)); + }else{ + u8 *dbFileVers = &((u8*)pPg->pData)[24]; + memcpy(&pPager->dbFileVers, dbFileVers, sizeof(pPager->dbFileVers)); + } + } + CODEC1(pPager, pPg->pData, pPg->pgno, 3, rc = SQLITE_NOMEM_BKPT); + + PAGER_INCR(sqlite3_pager_readdb_count); + PAGER_INCR(pPager->nRead); + IOTRACE(("PGIN %p %d\n", pPager, pPg->pgno)); + PAGERTRACE(("FETCH %d page %d hash(%08x)\n", + PAGERID(pPager), pPg->pgno, pager_pagehash(pPg))); + + return rc; +} + +/* +** Update the value of the change-counter at offsets 24 and 92 in +** the header and the sqlite version number at offset 96. +** +** This is an unconditional update. See also the pager_incr_changecounter() +** routine which only updates the change-counter if the update is actually +** needed, as determined by the pPager->changeCountDone state variable. +*/ +static void pager_write_changecounter(PgHdr *pPg){ + u32 change_counter; + + /* Increment the value just read and write it back to byte 24. */ + change_counter = sqlite3Get4byte((u8*)pPg->pPager->dbFileVers)+1; + put32bits(((char*)pPg->pData)+24, change_counter); + + /* Also store the SQLite version number in bytes 96..99 and in + ** bytes 92..95 store the change counter for which the version number + ** is valid. */ + put32bits(((char*)pPg->pData)+92, change_counter); + put32bits(((char*)pPg->pData)+96, SQLITE_VERSION_NUMBER); +} + +#ifndef SQLITE_OMIT_WAL +/* +** This function is invoked once for each page that has already been +** written into the log file when a WAL transaction is rolled back. +** Parameter iPg is the page number of said page. The pCtx argument +** is actually a pointer to the Pager structure. +** +** If page iPg is present in the cache, and has no outstanding references, +** it is discarded. Otherwise, if there are one or more outstanding +** references, the page content is reloaded from the database. If the +** attempt to reload content from the database is required and fails, +** return an SQLite error code. Otherwise, SQLITE_OK. +*/ +static int pagerUndoCallback(void *pCtx, Pgno iPg){ + int rc = SQLITE_OK; + Pager *pPager = (Pager *)pCtx; + PgHdr *pPg; + + assert( pagerUseWal(pPager) ); + pPg = sqlite3PagerLookup(pPager, iPg); + if( pPg ){ + if( sqlite3PcachePageRefcount(pPg)==1 ){ + sqlite3PcacheDrop(pPg); + }else{ + rc = readDbPage(pPg); + if( rc==SQLITE_OK ){ + pPager->xReiniter(pPg); + } + sqlite3PagerUnrefNotNull(pPg); + } + } + + /* Normally, if a transaction is rolled back, any backup processes are + ** updated as data is copied out of the rollback journal and into the + ** database. This is not generally possible with a WAL database, as + ** rollback involves simply truncating the log file. Therefore, if one + ** or more frames have already been written to the log (and therefore + ** also copied into the backup databases) as part of this transaction, + ** the backups must be restarted. + */ + sqlite3BackupRestart(pPager->pBackup); + + return rc; +} + +/* +** This function is called to rollback a transaction on a WAL database. +*/ +static int pagerRollbackWal(Pager *pPager){ + int rc; /* Return Code */ + PgHdr *pList; /* List of dirty pages to revert */ + + /* For all pages in the cache that are currently dirty or have already + ** been written (but not committed) to the log file, do one of the + ** following: + ** + ** + Discard the cached page (if refcount==0), or + ** + Reload page content from the database (if refcount>0). + */ + pPager->dbSize = pPager->dbOrigSize; + rc = sqlite3WalUndo(pPager->pWal, pagerUndoCallback, (void *)pPager); + pList = sqlite3PcacheDirtyList(pPager->pPCache); + while( pList && rc==SQLITE_OK ){ + PgHdr *pNext = pList->pDirty; + rc = pagerUndoCallback((void *)pPager, pList->pgno); + pList = pNext; + } + + return rc; +} + +/* +** This function is a wrapper around sqlite3WalFrames(). As well as logging +** the contents of the list of pages headed by pList (connected by pDirty), +** this function notifies any active backup processes that the pages have +** changed. +** +** The list of pages passed into this routine is always sorted by page number. +** Hence, if page 1 appears anywhere on the list, it will be the first page. +*/ +static int pagerWalFrames( + Pager *pPager, /* Pager object */ + PgHdr *pList, /* List of frames to log */ + Pgno nTruncate, /* Database size after this commit */ + int isCommit /* True if this is a commit */ +){ + int rc; /* Return code */ + int nList; /* Number of pages in pList */ + PgHdr *p; /* For looping over pages */ + + assert( pPager->pWal ); + assert( pList ); +#ifdef SQLITE_DEBUG + /* Verify that the page list is in accending order */ + for(p=pList; p && p->pDirty; p=p->pDirty){ + assert( p->pgno < p->pDirty->pgno ); + } +#endif + + assert( pList->pDirty==0 || isCommit ); + if( isCommit ){ + /* If a WAL transaction is being committed, there is no point in writing + ** any pages with page numbers greater than nTruncate into the WAL file. + ** They will never be read by any client. So remove them from the pDirty + ** list here. */ + PgHdr **ppNext = &pList; + nList = 0; + for(p=pList; (*ppNext = p)!=0; p=p->pDirty){ + if( p->pgno<=nTruncate ){ + ppNext = &p->pDirty; + nList++; + } + } + assert( pList ); + }else{ + nList = 1; + } + pPager->aStat[PAGER_STAT_WRITE] += nList; + + if( pList->pgno==1 ) pager_write_changecounter(pList); + rc = sqlite3WalFrames(pPager->pWal, + pPager->pageSize, pList, nTruncate, isCommit, pPager->walSyncFlags + ); + if( rc==SQLITE_OK && pPager->pBackup ){ + for(p=pList; p; p=p->pDirty){ + sqlite3BackupUpdate(pPager->pBackup, p->pgno, (u8 *)p->pData); + } + } + +#ifdef SQLITE_CHECK_PAGES + pList = sqlite3PcacheDirtyList(pPager->pPCache); + for(p=pList; p; p=p->pDirty){ + pager_set_pagehash(p); + } +#endif + + return rc; +} + +/* +** Begin a read transaction on the WAL. +** +** This routine used to be called "pagerOpenSnapshot()" because it essentially +** makes a snapshot of the database at the current point in time and preserves +** that snapshot for use by the reader in spite of concurrently changes by +** other writers or checkpointers. +*/ +static int pagerBeginReadTransaction(Pager *pPager){ + int rc; /* Return code */ + int changed = 0; /* True if cache must be reset */ + + assert( pagerUseWal(pPager) ); + assert( pPager->eState==PAGER_OPEN || pPager->eState==PAGER_READER ); + + /* sqlite3WalEndReadTransaction() was not called for the previous + ** transaction in locking_mode=EXCLUSIVE. So call it now. If we + ** are in locking_mode=NORMAL and EndRead() was previously called, + ** the duplicate call is harmless. + */ + sqlite3WalEndReadTransaction(pPager->pWal); + + rc = sqlite3WalBeginReadTransaction(pPager->pWal, &changed); + if( rc!=SQLITE_OK || changed ){ + pager_reset(pPager); + if( USEFETCH(pPager) ) sqlite3OsUnfetch(pPager->fd, 0, 0); + } + + return rc; +} +#endif + +/* +** This function is called as part of the transition from PAGER_OPEN +** to PAGER_READER state to determine the size of the database file +** in pages (assuming the page size currently stored in Pager.pageSize). +** +** If no error occurs, SQLITE_OK is returned and the size of the database +** in pages is stored in *pnPage. Otherwise, an error code (perhaps +** SQLITE_IOERR_FSTAT) is returned and *pnPage is left unmodified. +*/ +static int pagerPagecount(Pager *pPager, Pgno *pnPage){ + Pgno nPage; /* Value to return via *pnPage */ + + /* Query the WAL sub-system for the database size. The WalDbsize() + ** function returns zero if the WAL is not open (i.e. Pager.pWal==0), or + ** if the database size is not available. The database size is not + ** available from the WAL sub-system if the log file is empty or + ** contains no valid committed transactions. + */ + assert( pPager->eState==PAGER_OPEN ); + assert( pPager->eLock>=SHARED_LOCK ); + assert( isOpen(pPager->fd) ); + assert( pPager->tempFile==0 ); + nPage = sqlite3WalDbsize(pPager->pWal); + + /* If the number of pages in the database is not available from the + ** WAL sub-system, determine the page count based on the size of + ** the database file. If the size of the database file is not an + ** integer multiple of the page-size, round up the result. + */ + if( nPage==0 && ALWAYS(isOpen(pPager->fd)) ){ + i64 n = 0; /* Size of db file in bytes */ + int rc = sqlite3OsFileSize(pPager->fd, &n); + if( rc!=SQLITE_OK ){ + return rc; + } + nPage = (Pgno)((n+pPager->pageSize-1) / pPager->pageSize); + } + + /* If the current number of pages in the file is greater than the + ** configured maximum pager number, increase the allowed limit so + ** that the file can be read. + */ + if( nPage>pPager->mxPgno ){ + pPager->mxPgno = (Pgno)nPage; + } + + *pnPage = nPage; + return SQLITE_OK; +} + +#ifndef SQLITE_OMIT_WAL +/* +** Check if the *-wal file that corresponds to the database opened by pPager +** exists if the database is not empy, or verify that the *-wal file does +** not exist (by deleting it) if the database file is empty. +** +** If the database is not empty and the *-wal file exists, open the pager +** in WAL mode. If the database is empty or if no *-wal file exists and +** if no error occurs, make sure Pager.journalMode is not set to +** PAGER_JOURNALMODE_WAL. +** +** Return SQLITE_OK or an error code. +** +** The caller must hold a SHARED lock on the database file to call this +** function. Because an EXCLUSIVE lock on the db file is required to delete +** a WAL on a none-empty database, this ensures there is no race condition +** between the xAccess() below and an xDelete() being executed by some +** other connection. +*/ +static int pagerOpenWalIfPresent(Pager *pPager){ + int rc = SQLITE_OK; + assert( pPager->eState==PAGER_OPEN ); + assert( pPager->eLock>=SHARED_LOCK ); + + if( !pPager->tempFile ){ + int isWal; /* True if WAL file exists */ + rc = sqlite3OsAccess( + pPager->pVfs, pPager->zWal, SQLITE_ACCESS_EXISTS, &isWal + ); + if( rc==SQLITE_OK ){ + if( isWal ){ + Pgno nPage; /* Size of the database file */ + + rc = pagerPagecount(pPager, &nPage); + if( rc ) return rc; + if( nPage==0 ){ + rc = sqlite3OsDelete(pPager->pVfs, pPager->zWal, 0); + }else{ + testcase( sqlite3PcachePagecount(pPager->pPCache)==0 ); + rc = sqlite3PagerOpenWal(pPager, 0); + } + }else if( pPager->journalMode==PAGER_JOURNALMODE_WAL ){ + pPager->journalMode = PAGER_JOURNALMODE_DELETE; + } + } + } + return rc; +} +#endif + +/* +** Playback savepoint pSavepoint. Or, if pSavepoint==NULL, then playback +** the entire master journal file. The case pSavepoint==NULL occurs when +** a ROLLBACK TO command is invoked on a SAVEPOINT that is a transaction +** savepoint. +** +** When pSavepoint is not NULL (meaning a non-transaction savepoint is +** being rolled back), then the rollback consists of up to three stages, +** performed in the order specified: +** +** * Pages are played back from the main journal starting at byte +** offset PagerSavepoint.iOffset and continuing to +** PagerSavepoint.iHdrOffset, or to the end of the main journal +** file if PagerSavepoint.iHdrOffset is zero. +** +** * If PagerSavepoint.iHdrOffset is not zero, then pages are played +** back starting from the journal header immediately following +** PagerSavepoint.iHdrOffset to the end of the main journal file. +** +** * Pages are then played back from the sub-journal file, starting +** with the PagerSavepoint.iSubRec and continuing to the end of +** the journal file. +** +** Throughout the rollback process, each time a page is rolled back, the +** corresponding bit is set in a bitvec structure (variable pDone in the +** implementation below). This is used to ensure that a page is only +** rolled back the first time it is encountered in either journal. +** +** If pSavepoint is NULL, then pages are only played back from the main +** journal file. There is no need for a bitvec in this case. +** +** In either case, before playback commences the Pager.dbSize variable +** is reset to the value that it held at the start of the savepoint +** (or transaction). No page with a page-number greater than this value +** is played back. If one is encountered it is simply skipped. +*/ +static int pagerPlaybackSavepoint(Pager *pPager, PagerSavepoint *pSavepoint){ + i64 szJ; /* Effective size of the main journal */ + i64 iHdrOff; /* End of first segment of main-journal records */ + int rc = SQLITE_OK; /* Return code */ + Bitvec *pDone = 0; /* Bitvec to ensure pages played back only once */ + + assert( pPager->eState!=PAGER_ERROR ); + assert( pPager->eState>=PAGER_WRITER_LOCKED ); + + /* Allocate a bitvec to use to store the set of pages rolled back */ + if( pSavepoint ){ + pDone = sqlite3BitvecCreate(pSavepoint->nOrig); + if( !pDone ){ + return SQLITE_NOMEM_BKPT; + } + } + + /* Set the database size back to the value it was before the savepoint + ** being reverted was opened. + */ + pPager->dbSize = pSavepoint ? pSavepoint->nOrig : pPager->dbOrigSize; + pPager->changeCountDone = pPager->tempFile; + + if( !pSavepoint && pagerUseWal(pPager) ){ + return pagerRollbackWal(pPager); + } + + /* Use pPager->journalOff as the effective size of the main rollback + ** journal. The actual file might be larger than this in + ** PAGER_JOURNALMODE_TRUNCATE or PAGER_JOURNALMODE_PERSIST. But anything + ** past pPager->journalOff is off-limits to us. + */ + szJ = pPager->journalOff; + assert( pagerUseWal(pPager)==0 || szJ==0 ); + + /* Begin by rolling back records from the main journal starting at + ** PagerSavepoint.iOffset and continuing to the next journal header. + ** There might be records in the main journal that have a page number + ** greater than the current database size (pPager->dbSize) but those + ** will be skipped automatically. Pages are added to pDone as they + ** are played back. + */ + if( pSavepoint && !pagerUseWal(pPager) ){ + iHdrOff = pSavepoint->iHdrOffset ? pSavepoint->iHdrOffset : szJ; + pPager->journalOff = pSavepoint->iOffset; + while( rc==SQLITE_OK && pPager->journalOffjournalOff, pDone, 1, 1); + } + assert( rc!=SQLITE_DONE ); + }else{ + pPager->journalOff = 0; + } + + /* Continue rolling back records out of the main journal starting at + ** the first journal header seen and continuing until the effective end + ** of the main journal file. Continue to skip out-of-range pages and + ** continue adding pages rolled back to pDone. + */ + while( rc==SQLITE_OK && pPager->journalOffjournalHdr+JOURNAL_HDR_SZ(pPager)==pPager->journalOff" + ** test is related to ticket #2565. See the discussion in the + ** pager_playback() function for additional information. + */ + if( nJRec==0 + && pPager->journalHdr+JOURNAL_HDR_SZ(pPager)==pPager->journalOff + ){ + nJRec = (u32)((szJ - pPager->journalOff)/JOURNAL_PG_SZ(pPager)); + } + for(ii=0; rc==SQLITE_OK && iijournalOffjournalOff, pDone, 1, 1); + } + assert( rc!=SQLITE_DONE ); + } + assert( rc!=SQLITE_OK || pPager->journalOff>=szJ ); + + /* Finally, rollback pages from the sub-journal. Page that were + ** previously rolled back out of the main journal (and are hence in pDone) + ** will be skipped. Out-of-range pages are also skipped. + */ + if( pSavepoint ){ + u32 ii; /* Loop counter */ + i64 offset = (i64)pSavepoint->iSubRec*(4+pPager->pageSize); + + if( pagerUseWal(pPager) ){ + rc = sqlite3WalSavepointUndo(pPager->pWal, pSavepoint->aWalData); + } + for(ii=pSavepoint->iSubRec; rc==SQLITE_OK && iinSubRec; ii++){ + assert( offset==(i64)ii*(4+pPager->pageSize) ); + rc = pager_playback_one_page(pPager, &offset, pDone, 0, 1); + } + assert( rc!=SQLITE_DONE ); + } + + sqlite3BitvecDestroy(pDone); + if( rc==SQLITE_OK ){ + pPager->journalOff = szJ; + } + + return rc; +} + +/* +** Change the maximum number of in-memory pages that are allowed +** before attempting to recycle clean and unused pages. +*/ +SQLITE_PRIVATE void sqlite3PagerSetCachesize(Pager *pPager, int mxPage){ + sqlite3PcacheSetCachesize(pPager->pPCache, mxPage); +} + +/* +** Change the maximum number of in-memory pages that are allowed +** before attempting to spill pages to journal. +*/ +SQLITE_PRIVATE int sqlite3PagerSetSpillsize(Pager *pPager, int mxPage){ + return sqlite3PcacheSetSpillsize(pPager->pPCache, mxPage); +} + +/* +** Invoke SQLITE_FCNTL_MMAP_SIZE based on the current value of szMmap. +*/ +static void pagerFixMaplimit(Pager *pPager){ +#if SQLITE_MAX_MMAP_SIZE>0 + sqlite3_file *fd = pPager->fd; + if( isOpen(fd) && fd->pMethods->iVersion>=3 ){ + sqlite3_int64 sz; + sz = pPager->szMmap; + pPager->bUseFetch = (sz>0); + setGetterMethod(pPager); + sqlite3OsFileControlHint(pPager->fd, SQLITE_FCNTL_MMAP_SIZE, &sz); + } +#endif +} + +/* +** Change the maximum size of any memory mapping made of the database file. +*/ +SQLITE_PRIVATE void sqlite3PagerSetMmapLimit(Pager *pPager, sqlite3_int64 szMmap){ + pPager->szMmap = szMmap; + pagerFixMaplimit(pPager); +} + +/* +** Free as much memory as possible from the pager. +*/ +SQLITE_PRIVATE void sqlite3PagerShrink(Pager *pPager){ + sqlite3PcacheShrink(pPager->pPCache); +} + +/* +** Adjust settings of the pager to those specified in the pgFlags parameter. +** +** The "level" in pgFlags & PAGER_SYNCHRONOUS_MASK sets the robustness +** of the database to damage due to OS crashes or power failures by +** changing the number of syncs()s when writing the journals. +** There are four levels: +** +** OFF sqlite3OsSync() is never called. This is the default +** for temporary and transient files. +** +** NORMAL The journal is synced once before writes begin on the +** database. This is normally adequate protection, but +** it is theoretically possible, though very unlikely, +** that an inopertune power failure could leave the journal +** in a state which would cause damage to the database +** when it is rolled back. +** +** FULL The journal is synced twice before writes begin on the +** database (with some additional information - the nRec field +** of the journal header - being written in between the two +** syncs). If we assume that writing a +** single disk sector is atomic, then this mode provides +** assurance that the journal will not be corrupted to the +** point of causing damage to the database during rollback. +** +** EXTRA This is like FULL except that is also syncs the directory +** that contains the rollback journal after the rollback +** journal is unlinked. +** +** The above is for a rollback-journal mode. For WAL mode, OFF continues +** to mean that no syncs ever occur. NORMAL means that the WAL is synced +** prior to the start of checkpoint and that the database file is synced +** at the conclusion of the checkpoint if the entire content of the WAL +** was written back into the database. But no sync operations occur for +** an ordinary commit in NORMAL mode with WAL. FULL means that the WAL +** file is synced following each commit operation, in addition to the +** syncs associated with NORMAL. There is no difference between FULL +** and EXTRA for WAL mode. +** +** Do not confuse synchronous=FULL with SQLITE_SYNC_FULL. The +** SQLITE_SYNC_FULL macro means to use the MacOSX-style full-fsync +** using fcntl(F_FULLFSYNC). SQLITE_SYNC_NORMAL means to do an +** ordinary fsync() call. There is no difference between SQLITE_SYNC_FULL +** and SQLITE_SYNC_NORMAL on platforms other than MacOSX. But the +** synchronous=FULL versus synchronous=NORMAL setting determines when +** the xSync primitive is called and is relevant to all platforms. +** +** Numeric values associated with these states are OFF==1, NORMAL=2, +** and FULL=3. +*/ +#ifndef SQLITE_OMIT_PAGER_PRAGMAS +SQLITE_PRIVATE void sqlite3PagerSetFlags( + Pager *pPager, /* The pager to set safety level for */ + unsigned pgFlags /* Various flags */ +){ + unsigned level = pgFlags & PAGER_SYNCHRONOUS_MASK; + if( pPager->tempFile ){ + pPager->noSync = 1; + pPager->fullSync = 0; + pPager->extraSync = 0; + }else{ + pPager->noSync = level==PAGER_SYNCHRONOUS_OFF ?1:0; + pPager->fullSync = level>=PAGER_SYNCHRONOUS_FULL ?1:0; + pPager->extraSync = level==PAGER_SYNCHRONOUS_EXTRA ?1:0; + } + if( pPager->noSync ){ + pPager->syncFlags = 0; + }else if( pgFlags & PAGER_FULLFSYNC ){ + pPager->syncFlags = SQLITE_SYNC_FULL; + }else{ + pPager->syncFlags = SQLITE_SYNC_NORMAL; + } + pPager->walSyncFlags = (pPager->syncFlags<<2); + if( pPager->fullSync ){ + pPager->walSyncFlags |= pPager->syncFlags; + } + if( (pgFlags & PAGER_CKPT_FULLFSYNC) && !pPager->noSync ){ + pPager->walSyncFlags |= (SQLITE_SYNC_FULL<<2); + } + if( pgFlags & PAGER_CACHESPILL ){ + pPager->doNotSpill &= ~SPILLFLAG_OFF; + }else{ + pPager->doNotSpill |= SPILLFLAG_OFF; + } +} +#endif + +/* +** The following global variable is incremented whenever the library +** attempts to open a temporary file. This information is used for +** testing and analysis only. +*/ +#ifdef SQLITE_TEST +SQLITE_API int sqlite3_opentemp_count = 0; +#endif + +/* +** Open a temporary file. +** +** Write the file descriptor into *pFile. Return SQLITE_OK on success +** or some other error code if we fail. The OS will automatically +** delete the temporary file when it is closed. +** +** The flags passed to the VFS layer xOpen() call are those specified +** by parameter vfsFlags ORed with the following: +** +** SQLITE_OPEN_READWRITE +** SQLITE_OPEN_CREATE +** SQLITE_OPEN_EXCLUSIVE +** SQLITE_OPEN_DELETEONCLOSE +*/ +static int pagerOpentemp( + Pager *pPager, /* The pager object */ + sqlite3_file *pFile, /* Write the file descriptor here */ + int vfsFlags /* Flags passed through to the VFS */ +){ + int rc; /* Return code */ + +#ifdef SQLITE_TEST + sqlite3_opentemp_count++; /* Used for testing and analysis only */ +#endif + + vfsFlags |= SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE | + SQLITE_OPEN_EXCLUSIVE | SQLITE_OPEN_DELETEONCLOSE; + rc = sqlite3OsOpen(pPager->pVfs, 0, pFile, vfsFlags, 0); + assert( rc!=SQLITE_OK || isOpen(pFile) ); + return rc; +} + +/* +** Set the busy handler function. +** +** The pager invokes the busy-handler if sqlite3OsLock() returns +** SQLITE_BUSY when trying to upgrade from no-lock to a SHARED lock, +** or when trying to upgrade from a RESERVED lock to an EXCLUSIVE +** lock. It does *not* invoke the busy handler when upgrading from +** SHARED to RESERVED, or when upgrading from SHARED to EXCLUSIVE +** (which occurs during hot-journal rollback). Summary: +** +** Transition | Invokes xBusyHandler +** -------------------------------------------------------- +** NO_LOCK -> SHARED_LOCK | Yes +** SHARED_LOCK -> RESERVED_LOCK | No +** SHARED_LOCK -> EXCLUSIVE_LOCK | No +** RESERVED_LOCK -> EXCLUSIVE_LOCK | Yes +** +** If the busy-handler callback returns non-zero, the lock is +** retried. If it returns zero, then the SQLITE_BUSY error is +** returned to the caller of the pager API function. +*/ +SQLITE_PRIVATE void sqlite3PagerSetBusyHandler( + Pager *pPager, /* Pager object */ + int (*xBusyHandler)(void *), /* Pointer to busy-handler function */ + void *pBusyHandlerArg /* Argument to pass to xBusyHandler */ +){ + void **ap; + pPager->xBusyHandler = xBusyHandler; + pPager->pBusyHandlerArg = pBusyHandlerArg; + ap = (void **)&pPager->xBusyHandler; + assert( ((int(*)(void *))(ap[0]))==xBusyHandler ); + assert( ap[1]==pBusyHandlerArg ); + sqlite3OsFileControlHint(pPager->fd, SQLITE_FCNTL_BUSYHANDLER, (void *)ap); +} + +/* +** Change the page size used by the Pager object. The new page size +** is passed in *pPageSize. +** +** If the pager is in the error state when this function is called, it +** is a no-op. The value returned is the error state error code (i.e. +** one of SQLITE_IOERR, an SQLITE_IOERR_xxx sub-code or SQLITE_FULL). +** +** Otherwise, if all of the following are true: +** +** * the new page size (value of *pPageSize) is valid (a power +** of two between 512 and SQLITE_MAX_PAGE_SIZE, inclusive), and +** +** * there are no outstanding page references, and +** +** * the database is either not an in-memory database or it is +** an in-memory database that currently consists of zero pages. +** +** then the pager object page size is set to *pPageSize. +** +** If the page size is changed, then this function uses sqlite3PagerMalloc() +** to obtain a new Pager.pTmpSpace buffer. If this allocation attempt +** fails, SQLITE_NOMEM is returned and the page size remains unchanged. +** In all other cases, SQLITE_OK is returned. +** +** If the page size is not changed, either because one of the enumerated +** conditions above is not true, the pager was in error state when this +** function was called, or because the memory allocation attempt failed, +** then *pPageSize is set to the old, retained page size before returning. +*/ +SQLITE_PRIVATE int sqlite3PagerSetPagesize(Pager *pPager, u32 *pPageSize, int nReserve){ + int rc = SQLITE_OK; + + /* It is not possible to do a full assert_pager_state() here, as this + ** function may be called from within PagerOpen(), before the state + ** of the Pager object is internally consistent. + ** + ** At one point this function returned an error if the pager was in + ** PAGER_ERROR state. But since PAGER_ERROR state guarantees that + ** there is at least one outstanding page reference, this function + ** is a no-op for that case anyhow. + */ + + u32 pageSize = *pPageSize; + assert( pageSize==0 || (pageSize>=512 && pageSize<=SQLITE_MAX_PAGE_SIZE) ); + if( (pPager->memDb==0 || pPager->dbSize==0) + && sqlite3PcacheRefCount(pPager->pPCache)==0 + && pageSize && pageSize!=(u32)pPager->pageSize + ){ + char *pNew = NULL; /* New temp space */ + i64 nByte = 0; + + if( pPager->eState>PAGER_OPEN && isOpen(pPager->fd) ){ + rc = sqlite3OsFileSize(pPager->fd, &nByte); + } + if( rc==SQLITE_OK ){ + /* 8 bytes of zeroed overrun space is sufficient so that the b-tree + * cell header parser will never run off the end of the allocation */ + pNew = (char *)sqlite3PageMalloc(pageSize+8); + if( !pNew ){ + rc = SQLITE_NOMEM_BKPT; + }else{ + memset(pNew+pageSize, 0, 8); + } + } + + if( rc==SQLITE_OK ){ + pager_reset(pPager); + rc = sqlite3PcacheSetPageSize(pPager->pPCache, pageSize); + } + if( rc==SQLITE_OK ){ + sqlite3PageFree(pPager->pTmpSpace); + pPager->pTmpSpace = pNew; + pPager->dbSize = (Pgno)((nByte+pageSize-1)/pageSize); + pPager->pageSize = pageSize; + }else{ + sqlite3PageFree(pNew); + } + } + + *pPageSize = pPager->pageSize; + if( rc==SQLITE_OK ){ + if( nReserve<0 ) nReserve = pPager->nReserve; + assert( nReserve>=0 && nReserve<1000 ); + pPager->nReserve = (i16)nReserve; + pagerReportSize(pPager); + pagerFixMaplimit(pPager); + } + return rc; +} + +/* +** Return a pointer to the "temporary page" buffer held internally +** by the pager. This is a buffer that is big enough to hold the +** entire content of a database page. This buffer is used internally +** during rollback and will be overwritten whenever a rollback +** occurs. But other modules are free to use it too, as long as +** no rollbacks are happening. +*/ +SQLITE_PRIVATE void *sqlite3PagerTempSpace(Pager *pPager){ + return pPager->pTmpSpace; +} + +/* +** Attempt to set the maximum database page count if mxPage is positive. +** Make no changes if mxPage is zero or negative. And never reduce the +** maximum page count below the current size of the database. +** +** Regardless of mxPage, return the current maximum page count. +*/ +SQLITE_PRIVATE int sqlite3PagerMaxPageCount(Pager *pPager, int mxPage){ + if( mxPage>0 ){ + pPager->mxPgno = mxPage; + } + assert( pPager->eState!=PAGER_OPEN ); /* Called only by OP_MaxPgcnt */ + /* assert( pPager->mxPgno>=pPager->dbSize ); */ + /* OP_MaxPgcnt ensures that the parameter passed to this function is not + ** less than the total number of valid pages in the database. But this + ** may be less than Pager.dbSize, and so the assert() above is not valid */ + return pPager->mxPgno; +} + +/* +** The following set of routines are used to disable the simulated +** I/O error mechanism. These routines are used to avoid simulated +** errors in places where we do not care about errors. +** +** Unless -DSQLITE_TEST=1 is used, these routines are all no-ops +** and generate no code. +*/ +#ifdef SQLITE_TEST +SQLITE_API extern int sqlite3_io_error_pending; +SQLITE_API extern int sqlite3_io_error_hit; +static int saved_cnt; +void disable_simulated_io_errors(void){ + saved_cnt = sqlite3_io_error_pending; + sqlite3_io_error_pending = -1; +} +void enable_simulated_io_errors(void){ + sqlite3_io_error_pending = saved_cnt; +} +#else +# define disable_simulated_io_errors() +# define enable_simulated_io_errors() +#endif + +/* +** Read the first N bytes from the beginning of the file into memory +** that pDest points to. +** +** If the pager was opened on a transient file (zFilename==""), or +** opened on a file less than N bytes in size, the output buffer is +** zeroed and SQLITE_OK returned. The rationale for this is that this +** function is used to read database headers, and a new transient or +** zero sized database has a header than consists entirely of zeroes. +** +** If any IO error apart from SQLITE_IOERR_SHORT_READ is encountered, +** the error code is returned to the caller and the contents of the +** output buffer undefined. +*/ +SQLITE_PRIVATE int sqlite3PagerReadFileheader(Pager *pPager, int N, unsigned char *pDest){ + int rc = SQLITE_OK; + memset(pDest, 0, N); + assert( isOpen(pPager->fd) || pPager->tempFile ); + + /* This routine is only called by btree immediately after creating + ** the Pager object. There has not been an opportunity to transition + ** to WAL mode yet. + */ + assert( !pagerUseWal(pPager) ); + + if( isOpen(pPager->fd) ){ + IOTRACE(("DBHDR %p 0 %d\n", pPager, N)) + rc = sqlite3OsRead(pPager->fd, pDest, N, 0); + if( rc==SQLITE_IOERR_SHORT_READ ){ + rc = SQLITE_OK; + } + } + return rc; +} + +/* +** This function may only be called when a read-transaction is open on +** the pager. It returns the total number of pages in the database. +** +** However, if the file is between 1 and bytes in size, then +** this is considered a 1 page file. +*/ +SQLITE_PRIVATE void sqlite3PagerPagecount(Pager *pPager, int *pnPage){ + assert( pPager->eState>=PAGER_READER ); + assert( pPager->eState!=PAGER_WRITER_FINISHED ); + *pnPage = (int)pPager->dbSize; +} + + +/* +** Try to obtain a lock of type locktype on the database file. If +** a similar or greater lock is already held, this function is a no-op +** (returning SQLITE_OK immediately). +** +** Otherwise, attempt to obtain the lock using sqlite3OsLock(). Invoke +** the busy callback if the lock is currently not available. Repeat +** until the busy callback returns false or until the attempt to +** obtain the lock succeeds. +** +** Return SQLITE_OK on success and an error code if we cannot obtain +** the lock. If the lock is obtained successfully, set the Pager.state +** variable to locktype before returning. +*/ +static int pager_wait_on_lock(Pager *pPager, int locktype){ + int rc; /* Return code */ + + /* Check that this is either a no-op (because the requested lock is + ** already held), or one of the transitions that the busy-handler + ** may be invoked during, according to the comment above + ** sqlite3PagerSetBusyhandler(). + */ + assert( (pPager->eLock>=locktype) + || (pPager->eLock==NO_LOCK && locktype==SHARED_LOCK) + || (pPager->eLock==RESERVED_LOCK && locktype==EXCLUSIVE_LOCK) + ); + + do { + rc = pagerLockDb(pPager, locktype); + }while( rc==SQLITE_BUSY && pPager->xBusyHandler(pPager->pBusyHandlerArg) ); + return rc; +} + +/* +** Function assertTruncateConstraint(pPager) checks that one of the +** following is true for all dirty pages currently in the page-cache: +** +** a) The page number is less than or equal to the size of the +** current database image, in pages, OR +** +** b) if the page content were written at this time, it would not +** be necessary to write the current content out to the sub-journal +** (as determined by function subjRequiresPage()). +** +** If the condition asserted by this function were not true, and the +** dirty page were to be discarded from the cache via the pagerStress() +** routine, pagerStress() would not write the current page content to +** the database file. If a savepoint transaction were rolled back after +** this happened, the correct behavior would be to restore the current +** content of the page. However, since this content is not present in either +** the database file or the portion of the rollback journal and +** sub-journal rolled back the content could not be restored and the +** database image would become corrupt. It is therefore fortunate that +** this circumstance cannot arise. +*/ +#if defined(SQLITE_DEBUG) +static void assertTruncateConstraintCb(PgHdr *pPg){ + assert( pPg->flags&PGHDR_DIRTY ); + assert( !subjRequiresPage(pPg) || pPg->pgno<=pPg->pPager->dbSize ); +} +static void assertTruncateConstraint(Pager *pPager){ + sqlite3PcacheIterateDirty(pPager->pPCache, assertTruncateConstraintCb); +} +#else +# define assertTruncateConstraint(pPager) +#endif + +/* +** Truncate the in-memory database file image to nPage pages. This +** function does not actually modify the database file on disk. It +** just sets the internal state of the pager object so that the +** truncation will be done when the current transaction is committed. +** +** This function is only called right before committing a transaction. +** Once this function has been called, the transaction must either be +** rolled back or committed. It is not safe to call this function and +** then continue writing to the database. +*/ +SQLITE_PRIVATE void sqlite3PagerTruncateImage(Pager *pPager, Pgno nPage){ + assert( pPager->dbSize>=nPage ); + assert( pPager->eState>=PAGER_WRITER_CACHEMOD ); + pPager->dbSize = nPage; + + /* At one point the code here called assertTruncateConstraint() to + ** ensure that all pages being truncated away by this operation are, + ** if one or more savepoints are open, present in the savepoint + ** journal so that they can be restored if the savepoint is rolled + ** back. This is no longer necessary as this function is now only + ** called right before committing a transaction. So although the + ** Pager object may still have open savepoints (Pager.nSavepoint!=0), + ** they cannot be rolled back. So the assertTruncateConstraint() call + ** is no longer correct. */ +} + + +/* +** This function is called before attempting a hot-journal rollback. It +** syncs the journal file to disk, then sets pPager->journalHdr to the +** size of the journal file so that the pager_playback() routine knows +** that the entire journal file has been synced. +** +** Syncing a hot-journal to disk before attempting to roll it back ensures +** that if a power-failure occurs during the rollback, the process that +** attempts rollback following system recovery sees the same journal +** content as this process. +** +** If everything goes as planned, SQLITE_OK is returned. Otherwise, +** an SQLite error code. +*/ +static int pagerSyncHotJournal(Pager *pPager){ + int rc = SQLITE_OK; + if( !pPager->noSync ){ + rc = sqlite3OsSync(pPager->jfd, SQLITE_SYNC_NORMAL); + } + if( rc==SQLITE_OK ){ + rc = sqlite3OsFileSize(pPager->jfd, &pPager->journalHdr); + } + return rc; +} + +#if SQLITE_MAX_MMAP_SIZE>0 +/* +** Obtain a reference to a memory mapped page object for page number pgno. +** The new object will use the pointer pData, obtained from xFetch(). +** If successful, set *ppPage to point to the new page reference +** and return SQLITE_OK. Otherwise, return an SQLite error code and set +** *ppPage to zero. +** +** Page references obtained by calling this function should be released +** by calling pagerReleaseMapPage(). +*/ +static int pagerAcquireMapPage( + Pager *pPager, /* Pager object */ + Pgno pgno, /* Page number */ + void *pData, /* xFetch()'d data for this page */ + PgHdr **ppPage /* OUT: Acquired page object */ +){ + PgHdr *p; /* Memory mapped page to return */ + + if( pPager->pMmapFreelist ){ + *ppPage = p = pPager->pMmapFreelist; + pPager->pMmapFreelist = p->pDirty; + p->pDirty = 0; + assert( pPager->nExtra>=8 ); + memset(p->pExtra, 0, 8); + }else{ + *ppPage = p = (PgHdr *)sqlite3MallocZero(sizeof(PgHdr) + pPager->nExtra); + if( p==0 ){ + sqlite3OsUnfetch(pPager->fd, (i64)(pgno-1) * pPager->pageSize, pData); + return SQLITE_NOMEM_BKPT; + } + p->pExtra = (void *)&p[1]; + p->flags = PGHDR_MMAP; + p->nRef = 1; + p->pPager = pPager; + } + + assert( p->pExtra==(void *)&p[1] ); + assert( p->pPage==0 ); + assert( p->flags==PGHDR_MMAP ); + assert( p->pPager==pPager ); + assert( p->nRef==1 ); + + p->pgno = pgno; + p->pData = pData; + pPager->nMmapOut++; + + return SQLITE_OK; +} +#endif + +/* +** Release a reference to page pPg. pPg must have been returned by an +** earlier call to pagerAcquireMapPage(). +*/ +static void pagerReleaseMapPage(PgHdr *pPg){ + Pager *pPager = pPg->pPager; + pPager->nMmapOut--; + pPg->pDirty = pPager->pMmapFreelist; + pPager->pMmapFreelist = pPg; + + assert( pPager->fd->pMethods->iVersion>=3 ); + sqlite3OsUnfetch(pPager->fd, (i64)(pPg->pgno-1)*pPager->pageSize, pPg->pData); +} + +/* +** Free all PgHdr objects stored in the Pager.pMmapFreelist list. +*/ +static void pagerFreeMapHdrs(Pager *pPager){ + PgHdr *p; + PgHdr *pNext; + for(p=pPager->pMmapFreelist; p; p=pNext){ + pNext = p->pDirty; + sqlite3_free(p); + } +} + +/* Verify that the database file has not be deleted or renamed out from +** under the pager. Return SQLITE_OK if the database is still where it ought +** to be on disk. Return non-zero (SQLITE_READONLY_DBMOVED or some other error +** code from sqlite3OsAccess()) if the database has gone missing. +*/ +static int databaseIsUnmoved(Pager *pPager){ + int bHasMoved = 0; + int rc; + + if( pPager->tempFile ) return SQLITE_OK; + if( pPager->dbSize==0 ) return SQLITE_OK; + assert( pPager->zFilename && pPager->zFilename[0] ); + rc = sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_HAS_MOVED, &bHasMoved); + if( rc==SQLITE_NOTFOUND ){ + /* If the HAS_MOVED file-control is unimplemented, assume that the file + ** has not been moved. That is the historical behavior of SQLite: prior to + ** version 3.8.3, it never checked */ + rc = SQLITE_OK; + }else if( rc==SQLITE_OK && bHasMoved ){ + rc = SQLITE_READONLY_DBMOVED; + } + return rc; +} + + +/* +** Shutdown the page cache. Free all memory and close all files. +** +** If a transaction was in progress when this routine is called, that +** transaction is rolled back. All outstanding pages are invalidated +** and their memory is freed. Any attempt to use a page associated +** with this page cache after this function returns will likely +** result in a coredump. +** +** This function always succeeds. If a transaction is active an attempt +** is made to roll it back. If an error occurs during the rollback +** a hot journal may be left in the filesystem but no error is returned +** to the caller. +*/ +SQLITE_PRIVATE int sqlite3PagerClose(Pager *pPager, sqlite3 *db){ + u8 *pTmp = (u8*)pPager->pTmpSpace; + assert( db || pagerUseWal(pPager)==0 ); + assert( assert_pager_state(pPager) ); + disable_simulated_io_errors(); + sqlite3BeginBenignMalloc(); + pagerFreeMapHdrs(pPager); + /* pPager->errCode = 0; */ + pPager->exclusiveMode = 0; +#ifndef SQLITE_OMIT_WAL + { + u8 *a = 0; + assert( db || pPager->pWal==0 ); + if( db && 0==(db->flags & SQLITE_NoCkptOnClose) + && SQLITE_OK==databaseIsUnmoved(pPager) + ){ + a = pTmp; + } + sqlite3WalClose(pPager->pWal, db, pPager->walSyncFlags, pPager->pageSize,a); + pPager->pWal = 0; + } +#endif + pager_reset(pPager); + if( MEMDB ){ + pager_unlock(pPager); + }else{ + /* If it is open, sync the journal file before calling UnlockAndRollback. + ** If this is not done, then an unsynced portion of the open journal + ** file may be played back into the database. If a power failure occurs + ** while this is happening, the database could become corrupt. + ** + ** If an error occurs while trying to sync the journal, shift the pager + ** into the ERROR state. This causes UnlockAndRollback to unlock the + ** database and close the journal file without attempting to roll it + ** back or finalize it. The next database user will have to do hot-journal + ** rollback before accessing the database file. + */ + if( isOpen(pPager->jfd) ){ + pager_error(pPager, pagerSyncHotJournal(pPager)); + } + pagerUnlockAndRollback(pPager); + } + sqlite3EndBenignMalloc(); + enable_simulated_io_errors(); + PAGERTRACE(("CLOSE %d\n", PAGERID(pPager))); + IOTRACE(("CLOSE %p\n", pPager)) + sqlite3OsClose(pPager->jfd); + sqlite3OsClose(pPager->fd); + sqlite3PageFree(pTmp); + sqlite3PcacheClose(pPager->pPCache); + +#ifdef SQLITE_HAS_CODEC + if( pPager->xCodecFree ) pPager->xCodecFree(pPager->pCodec); +#endif + + assert( !pPager->aSavepoint && !pPager->pInJournal ); + assert( !isOpen(pPager->jfd) && !isOpen(pPager->sjfd) ); + + sqlite3_free(pPager); + return SQLITE_OK; +} + +#if !defined(NDEBUG) || defined(SQLITE_TEST) +/* +** Return the page number for page pPg. +*/ +SQLITE_PRIVATE Pgno sqlite3PagerPagenumber(DbPage *pPg){ + return pPg->pgno; +} +#endif + +/* +** Increment the reference count for page pPg. +*/ +SQLITE_PRIVATE void sqlite3PagerRef(DbPage *pPg){ + sqlite3PcacheRef(pPg); +} + +/* +** Sync the journal. In other words, make sure all the pages that have +** been written to the journal have actually reached the surface of the +** disk and can be restored in the event of a hot-journal rollback. +** +** If the Pager.noSync flag is set, then this function is a no-op. +** Otherwise, the actions required depend on the journal-mode and the +** device characteristics of the file-system, as follows: +** +** * If the journal file is an in-memory journal file, no action need +** be taken. +** +** * Otherwise, if the device does not support the SAFE_APPEND property, +** then the nRec field of the most recently written journal header +** is updated to contain the number of journal records that have +** been written following it. If the pager is operating in full-sync +** mode, then the journal file is synced before this field is updated. +** +** * If the device does not support the SEQUENTIAL property, then +** journal file is synced. +** +** Or, in pseudo-code: +** +** if( NOT ){ +** if( NOT SAFE_APPEND ){ +** if( ) xSync(); +** +** } +** if( NOT SEQUENTIAL ) xSync(); +** } +** +** If successful, this routine clears the PGHDR_NEED_SYNC flag of every +** page currently held in memory before returning SQLITE_OK. If an IO +** error is encountered, then the IO error code is returned to the caller. +*/ +static int syncJournal(Pager *pPager, int newHdr){ + int rc; /* Return code */ + + assert( pPager->eState==PAGER_WRITER_CACHEMOD + || pPager->eState==PAGER_WRITER_DBMOD + ); + assert( assert_pager_state(pPager) ); + assert( !pagerUseWal(pPager) ); + + rc = sqlite3PagerExclusiveLock(pPager); + if( rc!=SQLITE_OK ) return rc; + + if( !pPager->noSync ){ + assert( !pPager->tempFile ); + if( isOpen(pPager->jfd) && pPager->journalMode!=PAGER_JOURNALMODE_MEMORY ){ + const int iDc = sqlite3OsDeviceCharacteristics(pPager->fd); + assert( isOpen(pPager->jfd) ); + + if( 0==(iDc&SQLITE_IOCAP_SAFE_APPEND) ){ + /* This block deals with an obscure problem. If the last connection + ** that wrote to this database was operating in persistent-journal + ** mode, then the journal file may at this point actually be larger + ** than Pager.journalOff bytes. If the next thing in the journal + ** file happens to be a journal-header (written as part of the + ** previous connection's transaction), and a crash or power-failure + ** occurs after nRec is updated but before this connection writes + ** anything else to the journal file (or commits/rolls back its + ** transaction), then SQLite may become confused when doing the + ** hot-journal rollback following recovery. It may roll back all + ** of this connections data, then proceed to rolling back the old, + ** out-of-date data that follows it. Database corruption. + ** + ** To work around this, if the journal file does appear to contain + ** a valid header following Pager.journalOff, then write a 0x00 + ** byte to the start of it to prevent it from being recognized. + ** + ** Variable iNextHdrOffset is set to the offset at which this + ** problematic header will occur, if it exists. aMagic is used + ** as a temporary buffer to inspect the first couple of bytes of + ** the potential journal header. + */ + i64 iNextHdrOffset; + u8 aMagic[8]; + u8 zHeader[sizeof(aJournalMagic)+4]; + + memcpy(zHeader, aJournalMagic, sizeof(aJournalMagic)); + put32bits(&zHeader[sizeof(aJournalMagic)], pPager->nRec); + + iNextHdrOffset = journalHdrOffset(pPager); + rc = sqlite3OsRead(pPager->jfd, aMagic, 8, iNextHdrOffset); + if( rc==SQLITE_OK && 0==memcmp(aMagic, aJournalMagic, 8) ){ + static const u8 zerobyte = 0; + rc = sqlite3OsWrite(pPager->jfd, &zerobyte, 1, iNextHdrOffset); + } + if( rc!=SQLITE_OK && rc!=SQLITE_IOERR_SHORT_READ ){ + return rc; + } + + /* Write the nRec value into the journal file header. If in + ** full-synchronous mode, sync the journal first. This ensures that + ** all data has really hit the disk before nRec is updated to mark + ** it as a candidate for rollback. + ** + ** This is not required if the persistent media supports the + ** SAFE_APPEND property. Because in this case it is not possible + ** for garbage data to be appended to the file, the nRec field + ** is populated with 0xFFFFFFFF when the journal header is written + ** and never needs to be updated. + */ + if( pPager->fullSync && 0==(iDc&SQLITE_IOCAP_SEQUENTIAL) ){ + PAGERTRACE(("SYNC journal of %d\n", PAGERID(pPager))); + IOTRACE(("JSYNC %p\n", pPager)) + rc = sqlite3OsSync(pPager->jfd, pPager->syncFlags); + if( rc!=SQLITE_OK ) return rc; + } + IOTRACE(("JHDR %p %lld\n", pPager, pPager->journalHdr)); + rc = sqlite3OsWrite( + pPager->jfd, zHeader, sizeof(zHeader), pPager->journalHdr + ); + if( rc!=SQLITE_OK ) return rc; + } + if( 0==(iDc&SQLITE_IOCAP_SEQUENTIAL) ){ + PAGERTRACE(("SYNC journal of %d\n", PAGERID(pPager))); + IOTRACE(("JSYNC %p\n", pPager)) + rc = sqlite3OsSync(pPager->jfd, pPager->syncFlags| + (pPager->syncFlags==SQLITE_SYNC_FULL?SQLITE_SYNC_DATAONLY:0) + ); + if( rc!=SQLITE_OK ) return rc; + } + + pPager->journalHdr = pPager->journalOff; + if( newHdr && 0==(iDc&SQLITE_IOCAP_SAFE_APPEND) ){ + pPager->nRec = 0; + rc = writeJournalHdr(pPager); + if( rc!=SQLITE_OK ) return rc; + } + }else{ + pPager->journalHdr = pPager->journalOff; + } + } + + /* Unless the pager is in noSync mode, the journal file was just + ** successfully synced. Either way, clear the PGHDR_NEED_SYNC flag on + ** all pages. + */ + sqlite3PcacheClearSyncFlags(pPager->pPCache); + pPager->eState = PAGER_WRITER_DBMOD; + assert( assert_pager_state(pPager) ); + return SQLITE_OK; +} + +/* +** The argument is the first in a linked list of dirty pages connected +** by the PgHdr.pDirty pointer. This function writes each one of the +** in-memory pages in the list to the database file. The argument may +** be NULL, representing an empty list. In this case this function is +** a no-op. +** +** The pager must hold at least a RESERVED lock when this function +** is called. Before writing anything to the database file, this lock +** is upgraded to an EXCLUSIVE lock. If the lock cannot be obtained, +** SQLITE_BUSY is returned and no data is written to the database file. +** +** If the pager is a temp-file pager and the actual file-system file +** is not yet open, it is created and opened before any data is +** written out. +** +** Once the lock has been upgraded and, if necessary, the file opened, +** the pages are written out to the database file in list order. Writing +** a page is skipped if it meets either of the following criteria: +** +** * The page number is greater than Pager.dbSize, or +** * The PGHDR_DONT_WRITE flag is set on the page. +** +** If writing out a page causes the database file to grow, Pager.dbFileSize +** is updated accordingly. If page 1 is written out, then the value cached +** in Pager.dbFileVers[] is updated to match the new value stored in +** the database file. +** +** If everything is successful, SQLITE_OK is returned. If an IO error +** occurs, an IO error code is returned. Or, if the EXCLUSIVE lock cannot +** be obtained, SQLITE_BUSY is returned. +*/ +static int pager_write_pagelist(Pager *pPager, PgHdr *pList){ + int rc = SQLITE_OK; /* Return code */ + + /* This function is only called for rollback pagers in WRITER_DBMOD state. */ + assert( !pagerUseWal(pPager) ); + assert( pPager->tempFile || pPager->eState==PAGER_WRITER_DBMOD ); + assert( pPager->eLock==EXCLUSIVE_LOCK ); + assert( isOpen(pPager->fd) || pList->pDirty==0 ); + + /* If the file is a temp-file has not yet been opened, open it now. It + ** is not possible for rc to be other than SQLITE_OK if this branch + ** is taken, as pager_wait_on_lock() is a no-op for temp-files. + */ + if( !isOpen(pPager->fd) ){ + assert( pPager->tempFile && rc==SQLITE_OK ); + rc = pagerOpentemp(pPager, pPager->fd, pPager->vfsFlags); + } + + /* Before the first write, give the VFS a hint of what the final + ** file size will be. + */ + assert( rc!=SQLITE_OK || isOpen(pPager->fd) ); + if( rc==SQLITE_OK + && pPager->dbHintSizedbSize + && (pList->pDirty || pList->pgno>pPager->dbHintSize) + ){ + sqlite3_int64 szFile = pPager->pageSize * (sqlite3_int64)pPager->dbSize; + sqlite3OsFileControlHint(pPager->fd, SQLITE_FCNTL_SIZE_HINT, &szFile); + pPager->dbHintSize = pPager->dbSize; + } + + while( rc==SQLITE_OK && pList ){ + Pgno pgno = pList->pgno; + + /* If there are dirty pages in the page cache with page numbers greater + ** than Pager.dbSize, this means sqlite3PagerTruncateImage() was called to + ** make the file smaller (presumably by auto-vacuum code). Do not write + ** any such pages to the file. + ** + ** Also, do not write out any page that has the PGHDR_DONT_WRITE flag + ** set (set by sqlite3PagerDontWrite()). + */ + if( pgno<=pPager->dbSize && 0==(pList->flags&PGHDR_DONT_WRITE) ){ + i64 offset = (pgno-1)*(i64)pPager->pageSize; /* Offset to write */ + char *pData; /* Data to write */ + + assert( (pList->flags&PGHDR_NEED_SYNC)==0 ); + if( pList->pgno==1 ) pager_write_changecounter(pList); + + /* Encode the database */ + CODEC2(pPager, pList->pData, pgno, 6, return SQLITE_NOMEM_BKPT, pData); + + /* Write out the page data. */ + rc = sqlite3OsWrite(pPager->fd, pData, pPager->pageSize, offset); + + /* If page 1 was just written, update Pager.dbFileVers to match + ** the value now stored in the database file. If writing this + ** page caused the database file to grow, update dbFileSize. + */ + if( pgno==1 ){ + memcpy(&pPager->dbFileVers, &pData[24], sizeof(pPager->dbFileVers)); + } + if( pgno>pPager->dbFileSize ){ + pPager->dbFileSize = pgno; + } + pPager->aStat[PAGER_STAT_WRITE]++; + + /* Update any backup objects copying the contents of this pager. */ + sqlite3BackupUpdate(pPager->pBackup, pgno, (u8*)pList->pData); + + PAGERTRACE(("STORE %d page %d hash(%08x)\n", + PAGERID(pPager), pgno, pager_pagehash(pList))); + IOTRACE(("PGOUT %p %d\n", pPager, pgno)); + PAGER_INCR(sqlite3_pager_writedb_count); + }else{ + PAGERTRACE(("NOSTORE %d page %d\n", PAGERID(pPager), pgno)); + } + pager_set_pagehash(pList); + pList = pList->pDirty; + } + + return rc; +} + +/* +** Ensure that the sub-journal file is open. If it is already open, this +** function is a no-op. +** +** SQLITE_OK is returned if everything goes according to plan. An +** SQLITE_IOERR_XXX error code is returned if a call to sqlite3OsOpen() +** fails. +*/ +static int openSubJournal(Pager *pPager){ + int rc = SQLITE_OK; + if( !isOpen(pPager->sjfd) ){ + const int flags = SQLITE_OPEN_SUBJOURNAL | SQLITE_OPEN_READWRITE + | SQLITE_OPEN_CREATE | SQLITE_OPEN_EXCLUSIVE + | SQLITE_OPEN_DELETEONCLOSE; + int nStmtSpill = sqlite3Config.nStmtSpill; + if( pPager->journalMode==PAGER_JOURNALMODE_MEMORY || pPager->subjInMemory ){ + nStmtSpill = -1; + } + rc = sqlite3JournalOpen(pPager->pVfs, 0, pPager->sjfd, flags, nStmtSpill); + } + return rc; +} + +/* +** Append a record of the current state of page pPg to the sub-journal. +** +** If successful, set the bit corresponding to pPg->pgno in the bitvecs +** for all open savepoints before returning. +** +** This function returns SQLITE_OK if everything is successful, an IO +** error code if the attempt to write to the sub-journal fails, or +** SQLITE_NOMEM if a malloc fails while setting a bit in a savepoint +** bitvec. +*/ +static int subjournalPage(PgHdr *pPg){ + int rc = SQLITE_OK; + Pager *pPager = pPg->pPager; + if( pPager->journalMode!=PAGER_JOURNALMODE_OFF ){ + + /* Open the sub-journal, if it has not already been opened */ + assert( pPager->useJournal ); + assert( isOpen(pPager->jfd) || pagerUseWal(pPager) ); + assert( isOpen(pPager->sjfd) || pPager->nSubRec==0 ); + assert( pagerUseWal(pPager) + || pageInJournal(pPager, pPg) + || pPg->pgno>pPager->dbOrigSize + ); + rc = openSubJournal(pPager); + + /* If the sub-journal was opened successfully (or was already open), + ** write the journal record into the file. */ + if( rc==SQLITE_OK ){ + void *pData = pPg->pData; + i64 offset = (i64)pPager->nSubRec*(4+pPager->pageSize); + char *pData2; + +#if SQLITE_HAS_CODEC + if( !pPager->subjInMemory ){ + CODEC2(pPager, pData, pPg->pgno, 7, return SQLITE_NOMEM_BKPT, pData2); + }else +#endif + pData2 = pData; + PAGERTRACE(("STMT-JOURNAL %d page %d\n", PAGERID(pPager), pPg->pgno)); + rc = write32bits(pPager->sjfd, offset, pPg->pgno); + if( rc==SQLITE_OK ){ + rc = sqlite3OsWrite(pPager->sjfd, pData2, pPager->pageSize, offset+4); + } + } + } + if( rc==SQLITE_OK ){ + pPager->nSubRec++; + assert( pPager->nSavepoint>0 ); + rc = addToSavepointBitvecs(pPager, pPg->pgno); + } + return rc; +} +static int subjournalPageIfRequired(PgHdr *pPg){ + if( subjRequiresPage(pPg) ){ + return subjournalPage(pPg); + }else{ + return SQLITE_OK; + } +} + +/* +** This function is called by the pcache layer when it has reached some +** soft memory limit. The first argument is a pointer to a Pager object +** (cast as a void*). The pager is always 'purgeable' (not an in-memory +** database). The second argument is a reference to a page that is +** currently dirty but has no outstanding references. The page +** is always associated with the Pager object passed as the first +** argument. +** +** The job of this function is to make pPg clean by writing its contents +** out to the database file, if possible. This may involve syncing the +** journal file. +** +** If successful, sqlite3PcacheMakeClean() is called on the page and +** SQLITE_OK returned. If an IO error occurs while trying to make the +** page clean, the IO error code is returned. If the page cannot be +** made clean for some other reason, but no error occurs, then SQLITE_OK +** is returned by sqlite3PcacheMakeClean() is not called. +*/ +static int pagerStress(void *p, PgHdr *pPg){ + Pager *pPager = (Pager *)p; + int rc = SQLITE_OK; + + assert( pPg->pPager==pPager ); + assert( pPg->flags&PGHDR_DIRTY ); + + /* The doNotSpill NOSYNC bit is set during times when doing a sync of + ** journal (and adding a new header) is not allowed. This occurs + ** during calls to sqlite3PagerWrite() while trying to journal multiple + ** pages belonging to the same sector. + ** + ** The doNotSpill ROLLBACK and OFF bits inhibits all cache spilling + ** regardless of whether or not a sync is required. This is set during + ** a rollback or by user request, respectively. + ** + ** Spilling is also prohibited when in an error state since that could + ** lead to database corruption. In the current implementation it + ** is impossible for sqlite3PcacheFetch() to be called with createFlag==3 + ** while in the error state, hence it is impossible for this routine to + ** be called in the error state. Nevertheless, we include a NEVER() + ** test for the error state as a safeguard against future changes. + */ + if( NEVER(pPager->errCode) ) return SQLITE_OK; + testcase( pPager->doNotSpill & SPILLFLAG_ROLLBACK ); + testcase( pPager->doNotSpill & SPILLFLAG_OFF ); + testcase( pPager->doNotSpill & SPILLFLAG_NOSYNC ); + if( pPager->doNotSpill + && ((pPager->doNotSpill & (SPILLFLAG_ROLLBACK|SPILLFLAG_OFF))!=0 + || (pPg->flags & PGHDR_NEED_SYNC)!=0) + ){ + return SQLITE_OK; + } + + pPager->aStat[PAGER_STAT_SPILL]++; + pPg->pDirty = 0; + if( pagerUseWal(pPager) ){ + /* Write a single frame for this page to the log. */ + rc = subjournalPageIfRequired(pPg); + if( rc==SQLITE_OK ){ + rc = pagerWalFrames(pPager, pPg, 0, 0); + } + }else{ + +#ifdef SQLITE_ENABLE_BATCH_ATOMIC_WRITE + if( pPager->tempFile==0 ){ + rc = sqlite3JournalCreate(pPager->jfd); + if( rc!=SQLITE_OK ) return pager_error(pPager, rc); + } +#endif + + /* Sync the journal file if required. */ + if( pPg->flags&PGHDR_NEED_SYNC + || pPager->eState==PAGER_WRITER_CACHEMOD + ){ + rc = syncJournal(pPager, 1); + } + + /* Write the contents of the page out to the database file. */ + if( rc==SQLITE_OK ){ + assert( (pPg->flags&PGHDR_NEED_SYNC)==0 ); + rc = pager_write_pagelist(pPager, pPg); + } + } + + /* Mark the page as clean. */ + if( rc==SQLITE_OK ){ + PAGERTRACE(("STRESS %d page %d\n", PAGERID(pPager), pPg->pgno)); + sqlite3PcacheMakeClean(pPg); + } + + return pager_error(pPager, rc); +} + +/* +** Flush all unreferenced dirty pages to disk. +*/ +SQLITE_PRIVATE int sqlite3PagerFlush(Pager *pPager){ + int rc = pPager->errCode; + if( !MEMDB ){ + PgHdr *pList = sqlite3PcacheDirtyList(pPager->pPCache); + assert( assert_pager_state(pPager) ); + while( rc==SQLITE_OK && pList ){ + PgHdr *pNext = pList->pDirty; + if( pList->nRef==0 ){ + rc = pagerStress((void*)pPager, pList); + } + pList = pNext; + } + } + + return rc; +} + +/* +** Allocate and initialize a new Pager object and put a pointer to it +** in *ppPager. The pager should eventually be freed by passing it +** to sqlite3PagerClose(). +** +** The zFilename argument is the path to the database file to open. +** If zFilename is NULL then a randomly-named temporary file is created +** and used as the file to be cached. Temporary files are be deleted +** automatically when they are closed. If zFilename is ":memory:" then +** all information is held in cache. It is never written to disk. +** This can be used to implement an in-memory database. +** +** The nExtra parameter specifies the number of bytes of space allocated +** along with each page reference. This space is available to the user +** via the sqlite3PagerGetExtra() API. When a new page is allocated, the +** first 8 bytes of this space are zeroed but the remainder is uninitialized. +** (The extra space is used by btree as the MemPage object.) +** +** The flags argument is used to specify properties that affect the +** operation of the pager. It should be passed some bitwise combination +** of the PAGER_* flags. +** +** The vfsFlags parameter is a bitmask to pass to the flags parameter +** of the xOpen() method of the supplied VFS when opening files. +** +** If the pager object is allocated and the specified file opened +** successfully, SQLITE_OK is returned and *ppPager set to point to +** the new pager object. If an error occurs, *ppPager is set to NULL +** and error code returned. This function may return SQLITE_NOMEM +** (sqlite3Malloc() is used to allocate memory), SQLITE_CANTOPEN or +** various SQLITE_IO_XXX errors. +*/ +SQLITE_PRIVATE int sqlite3PagerOpen( + sqlite3_vfs *pVfs, /* The virtual file system to use */ + Pager **ppPager, /* OUT: Return the Pager structure here */ + const char *zFilename, /* Name of the database file to open */ + int nExtra, /* Extra bytes append to each in-memory page */ + int flags, /* flags controlling this file */ + int vfsFlags, /* flags passed through to sqlite3_vfs.xOpen() */ + void (*xReinit)(DbPage*) /* Function to reinitialize pages */ +){ + u8 *pPtr; + Pager *pPager = 0; /* Pager object to allocate and return */ + int rc = SQLITE_OK; /* Return code */ + int tempFile = 0; /* True for temp files (incl. in-memory files) */ + int memDb = 0; /* True if this is an in-memory file */ +#ifdef SQLITE_ENABLE_DESERIALIZE + int memJM = 0; /* Memory journal mode */ +#else +# define memJM 0 +#endif + int readOnly = 0; /* True if this is a read-only file */ + int journalFileSize; /* Bytes to allocate for each journal fd */ + char *zPathname = 0; /* Full path to database file */ + int nPathname = 0; /* Number of bytes in zPathname */ + int useJournal = (flags & PAGER_OMIT_JOURNAL)==0; /* False to omit journal */ + int pcacheSize = sqlite3PcacheSize(); /* Bytes to allocate for PCache */ + u32 szPageDflt = SQLITE_DEFAULT_PAGE_SIZE; /* Default page size */ + const char *zUri = 0; /* URI args to copy */ + int nUri = 0; /* Number of bytes of URI args at *zUri */ + + /* Figure out how much space is required for each journal file-handle + ** (there are two of them, the main journal and the sub-journal). */ + journalFileSize = ROUND8(sqlite3JournalSize(pVfs)); + + /* Set the output variable to NULL in case an error occurs. */ + *ppPager = 0; + +#ifndef SQLITE_OMIT_MEMORYDB + if( flags & PAGER_MEMORY ){ + memDb = 1; + if( zFilename && zFilename[0] ){ + zPathname = sqlite3DbStrDup(0, zFilename); + if( zPathname==0 ) return SQLITE_NOMEM_BKPT; + nPathname = sqlite3Strlen30(zPathname); + zFilename = 0; + } + } +#endif + + /* Compute and store the full pathname in an allocated buffer pointed + ** to by zPathname, length nPathname. Or, if this is a temporary file, + ** leave both nPathname and zPathname set to 0. + */ + if( zFilename && zFilename[0] ){ + const char *z; + nPathname = pVfs->mxPathname+1; + zPathname = sqlite3DbMallocRaw(0, nPathname*2); + if( zPathname==0 ){ + return SQLITE_NOMEM_BKPT; + } + zPathname[0] = 0; /* Make sure initialized even if FullPathname() fails */ + rc = sqlite3OsFullPathname(pVfs, zFilename, nPathname, zPathname); + nPathname = sqlite3Strlen30(zPathname); + z = zUri = &zFilename[sqlite3Strlen30(zFilename)+1]; + while( *z ){ + z += sqlite3Strlen30(z)+1; + z += sqlite3Strlen30(z)+1; + } + nUri = (int)(&z[1] - zUri); + assert( nUri>=0 ); + if( rc==SQLITE_OK && nPathname+8>pVfs->mxPathname ){ + /* This branch is taken when the journal path required by + ** the database being opened will be more than pVfs->mxPathname + ** bytes in length. This means the database cannot be opened, + ** as it will not be possible to open the journal file or even + ** check for a hot-journal before reading. + */ + rc = SQLITE_CANTOPEN_BKPT; + } + if( rc!=SQLITE_OK ){ + sqlite3DbFree(0, zPathname); + return rc; + } + } + + /* Allocate memory for the Pager structure, PCache object, the + ** three file descriptors, the database file name and the journal + ** file name. The layout in memory is as follows: + ** + ** Pager object (sizeof(Pager) bytes) + ** PCache object (sqlite3PcacheSize() bytes) + ** Database file handle (pVfs->szOsFile bytes) + ** Sub-journal file handle (journalFileSize bytes) + ** Main journal file handle (journalFileSize bytes) + ** Database file name (nPathname+1 bytes) + ** Journal file name (nPathname+8+1 bytes) + */ + pPtr = (u8 *)sqlite3MallocZero( + ROUND8(sizeof(*pPager)) + /* Pager structure */ + ROUND8(pcacheSize) + /* PCache object */ + ROUND8(pVfs->szOsFile) + /* The main db file */ + journalFileSize * 2 + /* The two journal files */ + nPathname + 1 + nUri + /* zFilename */ + nPathname + 8 + 2 /* zJournal */ +#ifndef SQLITE_OMIT_WAL + + nPathname + 4 + 2 /* zWal */ +#endif + ); + assert( EIGHT_BYTE_ALIGNMENT(SQLITE_INT_TO_PTR(journalFileSize)) ); + if( !pPtr ){ + sqlite3DbFree(0, zPathname); + return SQLITE_NOMEM_BKPT; + } + pPager = (Pager*)(pPtr); + pPager->pPCache = (PCache*)(pPtr += ROUND8(sizeof(*pPager))); + pPager->fd = (sqlite3_file*)(pPtr += ROUND8(pcacheSize)); + pPager->sjfd = (sqlite3_file*)(pPtr += ROUND8(pVfs->szOsFile)); + pPager->jfd = (sqlite3_file*)(pPtr += journalFileSize); + pPager->zFilename = (char*)(pPtr += journalFileSize); + assert( EIGHT_BYTE_ALIGNMENT(pPager->jfd) ); + + /* Fill in the Pager.zFilename and Pager.zJournal buffers, if required. */ + if( zPathname ){ + assert( nPathname>0 ); + pPager->zJournal = (char*)(pPtr += nPathname + 1 + nUri); + memcpy(pPager->zFilename, zPathname, nPathname); + if( nUri ) memcpy(&pPager->zFilename[nPathname+1], zUri, nUri); + memcpy(pPager->zJournal, zPathname, nPathname); + memcpy(&pPager->zJournal[nPathname], "-journal\000", 8+2); + sqlite3FileSuffix3(pPager->zFilename, pPager->zJournal); +#ifndef SQLITE_OMIT_WAL + pPager->zWal = &pPager->zJournal[nPathname+8+1]; + memcpy(pPager->zWal, zPathname, nPathname); + memcpy(&pPager->zWal[nPathname], "-wal\000", 4+1); + sqlite3FileSuffix3(pPager->zFilename, pPager->zWal); +#endif + sqlite3DbFree(0, zPathname); + } + pPager->pVfs = pVfs; + pPager->vfsFlags = vfsFlags; + + /* Open the pager file. + */ + if( zFilename && zFilename[0] ){ + int fout = 0; /* VFS flags returned by xOpen() */ + rc = sqlite3OsOpen(pVfs, pPager->zFilename, pPager->fd, vfsFlags, &fout); + assert( !memDb ); +#ifdef SQLITE_ENABLE_DESERIALIZE + memJM = (fout&SQLITE_OPEN_MEMORY)!=0; +#endif + readOnly = (fout&SQLITE_OPEN_READONLY)!=0; + + /* If the file was successfully opened for read/write access, + ** choose a default page size in case we have to create the + ** database file. The default page size is the maximum of: + ** + ** + SQLITE_DEFAULT_PAGE_SIZE, + ** + The value returned by sqlite3OsSectorSize() + ** + The largest page size that can be written atomically. + */ + if( rc==SQLITE_OK ){ + int iDc = sqlite3OsDeviceCharacteristics(pPager->fd); + if( !readOnly ){ + setSectorSize(pPager); + assert(SQLITE_DEFAULT_PAGE_SIZE<=SQLITE_MAX_DEFAULT_PAGE_SIZE); + if( szPageDfltsectorSize ){ + if( pPager->sectorSize>SQLITE_MAX_DEFAULT_PAGE_SIZE ){ + szPageDflt = SQLITE_MAX_DEFAULT_PAGE_SIZE; + }else{ + szPageDflt = (u32)pPager->sectorSize; + } + } +#ifdef SQLITE_ENABLE_ATOMIC_WRITE + { + int ii; + assert(SQLITE_IOCAP_ATOMIC512==(512>>8)); + assert(SQLITE_IOCAP_ATOMIC64K==(65536>>8)); + assert(SQLITE_MAX_DEFAULT_PAGE_SIZE<=65536); + for(ii=szPageDflt; ii<=SQLITE_MAX_DEFAULT_PAGE_SIZE; ii=ii*2){ + if( iDc&(SQLITE_IOCAP_ATOMIC|(ii>>8)) ){ + szPageDflt = ii; + } + } + } +#endif + } + pPager->noLock = sqlite3_uri_boolean(zFilename, "nolock", 0); + if( (iDc & SQLITE_IOCAP_IMMUTABLE)!=0 + || sqlite3_uri_boolean(zFilename, "immutable", 0) ){ + vfsFlags |= SQLITE_OPEN_READONLY; + goto act_like_temp_file; + } + } + }else{ + /* If a temporary file is requested, it is not opened immediately. + ** In this case we accept the default page size and delay actually + ** opening the file until the first call to OsWrite(). + ** + ** This branch is also run for an in-memory database. An in-memory + ** database is the same as a temp-file that is never written out to + ** disk and uses an in-memory rollback journal. + ** + ** This branch also runs for files marked as immutable. + */ +act_like_temp_file: + tempFile = 1; + pPager->eState = PAGER_READER; /* Pretend we already have a lock */ + pPager->eLock = EXCLUSIVE_LOCK; /* Pretend we are in EXCLUSIVE mode */ + pPager->noLock = 1; /* Do no locking */ + readOnly = (vfsFlags&SQLITE_OPEN_READONLY); + } + + /* The following call to PagerSetPagesize() serves to set the value of + ** Pager.pageSize and to allocate the Pager.pTmpSpace buffer. + */ + if( rc==SQLITE_OK ){ + assert( pPager->memDb==0 ); + rc = sqlite3PagerSetPagesize(pPager, &szPageDflt, -1); + testcase( rc!=SQLITE_OK ); + } + + /* Initialize the PCache object. */ + if( rc==SQLITE_OK ){ + nExtra = ROUND8(nExtra); + assert( nExtra>=8 && nExtra<1000 ); + rc = sqlite3PcacheOpen(szPageDflt, nExtra, !memDb, + !memDb?pagerStress:0, (void *)pPager, pPager->pPCache); + } + + /* If an error occurred above, free the Pager structure and close the file. + */ + if( rc!=SQLITE_OK ){ + sqlite3OsClose(pPager->fd); + sqlite3PageFree(pPager->pTmpSpace); + sqlite3_free(pPager); + return rc; + } + + PAGERTRACE(("OPEN %d %s\n", FILEHANDLEID(pPager->fd), pPager->zFilename)); + IOTRACE(("OPEN %p %s\n", pPager, pPager->zFilename)) + + pPager->useJournal = (u8)useJournal; + /* pPager->stmtOpen = 0; */ + /* pPager->stmtInUse = 0; */ + /* pPager->nRef = 0; */ + /* pPager->stmtSize = 0; */ + /* pPager->stmtJSize = 0; */ + /* pPager->nPage = 0; */ + pPager->mxPgno = SQLITE_MAX_PAGE_COUNT; + /* pPager->state = PAGER_UNLOCK; */ + /* pPager->errMask = 0; */ + pPager->tempFile = (u8)tempFile; + assert( tempFile==PAGER_LOCKINGMODE_NORMAL + || tempFile==PAGER_LOCKINGMODE_EXCLUSIVE ); + assert( PAGER_LOCKINGMODE_EXCLUSIVE==1 ); + pPager->exclusiveMode = (u8)tempFile; + pPager->changeCountDone = pPager->tempFile; + pPager->memDb = (u8)memDb; + pPager->readOnly = (u8)readOnly; + assert( useJournal || pPager->tempFile ); + pPager->noSync = pPager->tempFile; + if( pPager->noSync ){ + assert( pPager->fullSync==0 ); + assert( pPager->extraSync==0 ); + assert( pPager->syncFlags==0 ); + assert( pPager->walSyncFlags==0 ); + }else{ + pPager->fullSync = 1; + pPager->extraSync = 0; + pPager->syncFlags = SQLITE_SYNC_NORMAL; + pPager->walSyncFlags = SQLITE_SYNC_NORMAL | (SQLITE_SYNC_NORMAL<<2); + } + /* pPager->pFirst = 0; */ + /* pPager->pFirstSynced = 0; */ + /* pPager->pLast = 0; */ + pPager->nExtra = (u16)nExtra; + pPager->journalSizeLimit = SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT; + assert( isOpen(pPager->fd) || tempFile ); + setSectorSize(pPager); + if( !useJournal ){ + pPager->journalMode = PAGER_JOURNALMODE_OFF; + }else if( memDb || memJM ){ + pPager->journalMode = PAGER_JOURNALMODE_MEMORY; + } + /* pPager->xBusyHandler = 0; */ + /* pPager->pBusyHandlerArg = 0; */ + pPager->xReiniter = xReinit; + setGetterMethod(pPager); + /* memset(pPager->aHash, 0, sizeof(pPager->aHash)); */ + /* pPager->szMmap = SQLITE_DEFAULT_MMAP_SIZE // will be set by btree.c */ + + *ppPager = pPager; + return SQLITE_OK; +} + + + +/* +** This function is called after transitioning from PAGER_UNLOCK to +** PAGER_SHARED state. It tests if there is a hot journal present in +** the file-system for the given pager. A hot journal is one that +** needs to be played back. According to this function, a hot-journal +** file exists if the following criteria are met: +** +** * The journal file exists in the file system, and +** * No process holds a RESERVED or greater lock on the database file, and +** * The database file itself is greater than 0 bytes in size, and +** * The first byte of the journal file exists and is not 0x00. +** +** If the current size of the database file is 0 but a journal file +** exists, that is probably an old journal left over from a prior +** database with the same name. In this case the journal file is +** just deleted using OsDelete, *pExists is set to 0 and SQLITE_OK +** is returned. +** +** This routine does not check if there is a master journal filename +** at the end of the file. If there is, and that master journal file +** does not exist, then the journal file is not really hot. In this +** case this routine will return a false-positive. The pager_playback() +** routine will discover that the journal file is not really hot and +** will not roll it back. +** +** If a hot-journal file is found to exist, *pExists is set to 1 and +** SQLITE_OK returned. If no hot-journal file is present, *pExists is +** set to 0 and SQLITE_OK returned. If an IO error occurs while trying +** to determine whether or not a hot-journal file exists, the IO error +** code is returned and the value of *pExists is undefined. +*/ +static int hasHotJournal(Pager *pPager, int *pExists){ + sqlite3_vfs * const pVfs = pPager->pVfs; + int rc = SQLITE_OK; /* Return code */ + int exists = 1; /* True if a journal file is present */ + int jrnlOpen = !!isOpen(pPager->jfd); + + assert( pPager->useJournal ); + assert( isOpen(pPager->fd) ); + assert( pPager->eState==PAGER_OPEN ); + + assert( jrnlOpen==0 || ( sqlite3OsDeviceCharacteristics(pPager->jfd) & + SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN + )); + + *pExists = 0; + if( !jrnlOpen ){ + rc = sqlite3OsAccess(pVfs, pPager->zJournal, SQLITE_ACCESS_EXISTS, &exists); + } + if( rc==SQLITE_OK && exists ){ + int locked = 0; /* True if some process holds a RESERVED lock */ + + /* Race condition here: Another process might have been holding the + ** the RESERVED lock and have a journal open at the sqlite3OsAccess() + ** call above, but then delete the journal and drop the lock before + ** we get to the following sqlite3OsCheckReservedLock() call. If that + ** is the case, this routine might think there is a hot journal when + ** in fact there is none. This results in a false-positive which will + ** be dealt with by the playback routine. Ticket #3883. + */ + rc = sqlite3OsCheckReservedLock(pPager->fd, &locked); + if( rc==SQLITE_OK && !locked ){ + Pgno nPage; /* Number of pages in database file */ + + assert( pPager->tempFile==0 ); + rc = pagerPagecount(pPager, &nPage); + if( rc==SQLITE_OK ){ + /* If the database is zero pages in size, that means that either (1) the + ** journal is a remnant from a prior database with the same name where + ** the database file but not the journal was deleted, or (2) the initial + ** transaction that populates a new database is being rolled back. + ** In either case, the journal file can be deleted. However, take care + ** not to delete the journal file if it is already open due to + ** journal_mode=PERSIST. + */ + if( nPage==0 && !jrnlOpen ){ + sqlite3BeginBenignMalloc(); + if( pagerLockDb(pPager, RESERVED_LOCK)==SQLITE_OK ){ + sqlite3OsDelete(pVfs, pPager->zJournal, 0); + if( !pPager->exclusiveMode ) pagerUnlockDb(pPager, SHARED_LOCK); + } + sqlite3EndBenignMalloc(); + }else{ + /* The journal file exists and no other connection has a reserved + ** or greater lock on the database file. Now check that there is + ** at least one non-zero bytes at the start of the journal file. + ** If there is, then we consider this journal to be hot. If not, + ** it can be ignored. + */ + if( !jrnlOpen ){ + int f = SQLITE_OPEN_READONLY|SQLITE_OPEN_MAIN_JOURNAL; + rc = sqlite3OsOpen(pVfs, pPager->zJournal, pPager->jfd, f, &f); + } + if( rc==SQLITE_OK ){ + u8 first = 0; + rc = sqlite3OsRead(pPager->jfd, (void *)&first, 1, 0); + if( rc==SQLITE_IOERR_SHORT_READ ){ + rc = SQLITE_OK; + } + if( !jrnlOpen ){ + sqlite3OsClose(pPager->jfd); + } + *pExists = (first!=0); + }else if( rc==SQLITE_CANTOPEN ){ + /* If we cannot open the rollback journal file in order to see if + ** it has a zero header, that might be due to an I/O error, or + ** it might be due to the race condition described above and in + ** ticket #3883. Either way, assume that the journal is hot. + ** This might be a false positive. But if it is, then the + ** automatic journal playback and recovery mechanism will deal + ** with it under an EXCLUSIVE lock where we do not need to + ** worry so much with race conditions. + */ + *pExists = 1; + rc = SQLITE_OK; + } + } + } + } + } + + return rc; +} + +/* +** This function is called to obtain a shared lock on the database file. +** It is illegal to call sqlite3PagerGet() until after this function +** has been successfully called. If a shared-lock is already held when +** this function is called, it is a no-op. +** +** The following operations are also performed by this function. +** +** 1) If the pager is currently in PAGER_OPEN state (no lock held +** on the database file), then an attempt is made to obtain a +** SHARED lock on the database file. Immediately after obtaining +** the SHARED lock, the file-system is checked for a hot-journal, +** which is played back if present. Following any hot-journal +** rollback, the contents of the cache are validated by checking +** the 'change-counter' field of the database file header and +** discarded if they are found to be invalid. +** +** 2) If the pager is running in exclusive-mode, and there are currently +** no outstanding references to any pages, and is in the error state, +** then an attempt is made to clear the error state by discarding +** the contents of the page cache and rolling back any open journal +** file. +** +** If everything is successful, SQLITE_OK is returned. If an IO error +** occurs while locking the database, checking for a hot-journal file or +** rolling back a journal file, the IO error code is returned. +*/ +SQLITE_PRIVATE int sqlite3PagerSharedLock(Pager *pPager){ + int rc = SQLITE_OK; /* Return code */ + + /* This routine is only called from b-tree and only when there are no + ** outstanding pages. This implies that the pager state should either + ** be OPEN or READER. READER is only possible if the pager is or was in + ** exclusive access mode. */ + assert( sqlite3PcacheRefCount(pPager->pPCache)==0 ); + assert( assert_pager_state(pPager) ); + assert( pPager->eState==PAGER_OPEN || pPager->eState==PAGER_READER ); + assert( pPager->errCode==SQLITE_OK ); + + if( !pagerUseWal(pPager) && pPager->eState==PAGER_OPEN ){ + int bHotJournal = 1; /* True if there exists a hot journal-file */ + + assert( !MEMDB ); + assert( pPager->tempFile==0 || pPager->eLock==EXCLUSIVE_LOCK ); + + rc = pager_wait_on_lock(pPager, SHARED_LOCK); + if( rc!=SQLITE_OK ){ + assert( pPager->eLock==NO_LOCK || pPager->eLock==UNKNOWN_LOCK ); + goto failed; + } + + /* If a journal file exists, and there is no RESERVED lock on the + ** database file, then it either needs to be played back or deleted. + */ + if( pPager->eLock<=SHARED_LOCK ){ + rc = hasHotJournal(pPager, &bHotJournal); + } + if( rc!=SQLITE_OK ){ + goto failed; + } + if( bHotJournal ){ + if( pPager->readOnly ){ + rc = SQLITE_READONLY_ROLLBACK; + goto failed; + } + + /* Get an EXCLUSIVE lock on the database file. At this point it is + ** important that a RESERVED lock is not obtained on the way to the + ** EXCLUSIVE lock. If it were, another process might open the + ** database file, detect the RESERVED lock, and conclude that the + ** database is safe to read while this process is still rolling the + ** hot-journal back. + ** + ** Because the intermediate RESERVED lock is not requested, any + ** other process attempting to access the database file will get to + ** this point in the code and fail to obtain its own EXCLUSIVE lock + ** on the database file. + ** + ** Unless the pager is in locking_mode=exclusive mode, the lock is + ** downgraded to SHARED_LOCK before this function returns. + */ + rc = pagerLockDb(pPager, EXCLUSIVE_LOCK); + if( rc!=SQLITE_OK ){ + goto failed; + } + + /* If it is not already open and the file exists on disk, open the + ** journal for read/write access. Write access is required because + ** in exclusive-access mode the file descriptor will be kept open + ** and possibly used for a transaction later on. Also, write-access + ** is usually required to finalize the journal in journal_mode=persist + ** mode (and also for journal_mode=truncate on some systems). + ** + ** If the journal does not exist, it usually means that some + ** other connection managed to get in and roll it back before + ** this connection obtained the exclusive lock above. Or, it + ** may mean that the pager was in the error-state when this + ** function was called and the journal file does not exist. + */ + if( !isOpen(pPager->jfd) ){ + sqlite3_vfs * const pVfs = pPager->pVfs; + int bExists; /* True if journal file exists */ + rc = sqlite3OsAccess( + pVfs, pPager->zJournal, SQLITE_ACCESS_EXISTS, &bExists); + if( rc==SQLITE_OK && bExists ){ + int fout = 0; + int f = SQLITE_OPEN_READWRITE|SQLITE_OPEN_MAIN_JOURNAL; + assert( !pPager->tempFile ); + rc = sqlite3OsOpen(pVfs, pPager->zJournal, pPager->jfd, f, &fout); + assert( rc!=SQLITE_OK || isOpen(pPager->jfd) ); + if( rc==SQLITE_OK && fout&SQLITE_OPEN_READONLY ){ + rc = SQLITE_CANTOPEN_BKPT; + sqlite3OsClose(pPager->jfd); + } + } + } + + /* Playback and delete the journal. Drop the database write + ** lock and reacquire the read lock. Purge the cache before + ** playing back the hot-journal so that we don't end up with + ** an inconsistent cache. Sync the hot journal before playing + ** it back since the process that crashed and left the hot journal + ** probably did not sync it and we are required to always sync + ** the journal before playing it back. + */ + if( isOpen(pPager->jfd) ){ + assert( rc==SQLITE_OK ); + rc = pagerSyncHotJournal(pPager); + if( rc==SQLITE_OK ){ + rc = pager_playback(pPager, !pPager->tempFile); + pPager->eState = PAGER_OPEN; + } + }else if( !pPager->exclusiveMode ){ + pagerUnlockDb(pPager, SHARED_LOCK); + } + + if( rc!=SQLITE_OK ){ + /* This branch is taken if an error occurs while trying to open + ** or roll back a hot-journal while holding an EXCLUSIVE lock. The + ** pager_unlock() routine will be called before returning to unlock + ** the file. If the unlock attempt fails, then Pager.eLock must be + ** set to UNKNOWN_LOCK (see the comment above the #define for + ** UNKNOWN_LOCK above for an explanation). + ** + ** In order to get pager_unlock() to do this, set Pager.eState to + ** PAGER_ERROR now. This is not actually counted as a transition + ** to ERROR state in the state diagram at the top of this file, + ** since we know that the same call to pager_unlock() will very + ** shortly transition the pager object to the OPEN state. Calling + ** assert_pager_state() would fail now, as it should not be possible + ** to be in ERROR state when there are zero outstanding page + ** references. + */ + pager_error(pPager, rc); + goto failed; + } + + assert( pPager->eState==PAGER_OPEN ); + assert( (pPager->eLock==SHARED_LOCK) + || (pPager->exclusiveMode && pPager->eLock>SHARED_LOCK) + ); + } + + if( !pPager->tempFile && pPager->hasHeldSharedLock ){ + /* The shared-lock has just been acquired then check to + ** see if the database has been modified. If the database has changed, + ** flush the cache. The hasHeldSharedLock flag prevents this from + ** occurring on the very first access to a file, in order to save a + ** single unnecessary sqlite3OsRead() call at the start-up. + ** + ** Database changes are detected by looking at 15 bytes beginning + ** at offset 24 into the file. The first 4 of these 16 bytes are + ** a 32-bit counter that is incremented with each change. The + ** other bytes change randomly with each file change when + ** a codec is in use. + ** + ** There is a vanishingly small chance that a change will not be + ** detected. The chance of an undetected change is so small that + ** it can be neglected. + */ + char dbFileVers[sizeof(pPager->dbFileVers)]; + + IOTRACE(("CKVERS %p %d\n", pPager, sizeof(dbFileVers))); + rc = sqlite3OsRead(pPager->fd, &dbFileVers, sizeof(dbFileVers), 24); + if( rc!=SQLITE_OK ){ + if( rc!=SQLITE_IOERR_SHORT_READ ){ + goto failed; + } + memset(dbFileVers, 0, sizeof(dbFileVers)); + } + + if( memcmp(pPager->dbFileVers, dbFileVers, sizeof(dbFileVers))!=0 ){ + pager_reset(pPager); + + /* Unmap the database file. It is possible that external processes + ** may have truncated the database file and then extended it back + ** to its original size while this process was not holding a lock. + ** In this case there may exist a Pager.pMap mapping that appears + ** to be the right size but is not actually valid. Avoid this + ** possibility by unmapping the db here. */ + if( USEFETCH(pPager) ){ + sqlite3OsUnfetch(pPager->fd, 0, 0); + } + } + } + + /* If there is a WAL file in the file-system, open this database in WAL + ** mode. Otherwise, the following function call is a no-op. + */ + rc = pagerOpenWalIfPresent(pPager); +#ifndef SQLITE_OMIT_WAL + assert( pPager->pWal==0 || rc==SQLITE_OK ); +#endif + } + + if( pagerUseWal(pPager) ){ + assert( rc==SQLITE_OK ); + rc = pagerBeginReadTransaction(pPager); + } + + if( pPager->tempFile==0 && pPager->eState==PAGER_OPEN && rc==SQLITE_OK ){ + rc = pagerPagecount(pPager, &pPager->dbSize); + } + + failed: + if( rc!=SQLITE_OK ){ + assert( !MEMDB ); + pager_unlock(pPager); + assert( pPager->eState==PAGER_OPEN ); + }else{ + pPager->eState = PAGER_READER; + pPager->hasHeldSharedLock = 1; + } + return rc; +} + +/* +** If the reference count has reached zero, rollback any active +** transaction and unlock the pager. +** +** Except, in locking_mode=EXCLUSIVE when there is nothing to in +** the rollback journal, the unlock is not performed and there is +** nothing to rollback, so this routine is a no-op. +*/ +static void pagerUnlockIfUnused(Pager *pPager){ + if( sqlite3PcacheRefCount(pPager->pPCache)==0 ){ + assert( pPager->nMmapOut==0 ); /* because page1 is never memory mapped */ + pagerUnlockAndRollback(pPager); + } +} + +/* +** The page getter methods each try to acquire a reference to a +** page with page number pgno. If the requested reference is +** successfully obtained, it is copied to *ppPage and SQLITE_OK returned. +** +** There are different implementations of the getter method depending +** on the current state of the pager. +** +** getPageNormal() -- The normal getter +** getPageError() -- Used if the pager is in an error state +** getPageMmap() -- Used if memory-mapped I/O is enabled +** +** If the requested page is already in the cache, it is returned. +** Otherwise, a new page object is allocated and populated with data +** read from the database file. In some cases, the pcache module may +** choose not to allocate a new page object and may reuse an existing +** object with no outstanding references. +** +** The extra data appended to a page is always initialized to zeros the +** first time a page is loaded into memory. If the page requested is +** already in the cache when this function is called, then the extra +** data is left as it was when the page object was last used. +** +** If the database image is smaller than the requested page or if +** the flags parameter contains the PAGER_GET_NOCONTENT bit and the +** requested page is not already stored in the cache, then no +** actual disk read occurs. In this case the memory image of the +** page is initialized to all zeros. +** +** If PAGER_GET_NOCONTENT is true, it means that we do not care about +** the contents of the page. This occurs in two scenarios: +** +** a) When reading a free-list leaf page from the database, and +** +** b) When a savepoint is being rolled back and we need to load +** a new page into the cache to be filled with the data read +** from the savepoint journal. +** +** If PAGER_GET_NOCONTENT is true, then the data returned is zeroed instead +** of being read from the database. Additionally, the bits corresponding +** to pgno in Pager.pInJournal (bitvec of pages already written to the +** journal file) and the PagerSavepoint.pInSavepoint bitvecs of any open +** savepoints are set. This means if the page is made writable at any +** point in the future, using a call to sqlite3PagerWrite(), its contents +** will not be journaled. This saves IO. +** +** The acquisition might fail for several reasons. In all cases, +** an appropriate error code is returned and *ppPage is set to NULL. +** +** See also sqlite3PagerLookup(). Both this routine and Lookup() attempt +** to find a page in the in-memory cache first. If the page is not already +** in memory, this routine goes to disk to read it in whereas Lookup() +** just returns 0. This routine acquires a read-lock the first time it +** has to go to disk, and could also playback an old journal if necessary. +** Since Lookup() never goes to disk, it never has to deal with locks +** or journal files. +*/ +static int getPageNormal( + Pager *pPager, /* The pager open on the database file */ + Pgno pgno, /* Page number to fetch */ + DbPage **ppPage, /* Write a pointer to the page here */ + int flags /* PAGER_GET_XXX flags */ +){ + int rc = SQLITE_OK; + PgHdr *pPg; + u8 noContent; /* True if PAGER_GET_NOCONTENT is set */ + sqlite3_pcache_page *pBase; + + assert( pPager->errCode==SQLITE_OK ); + assert( pPager->eState>=PAGER_READER ); + assert( assert_pager_state(pPager) ); + assert( pPager->hasHeldSharedLock==1 ); + + if( pgno==0 ) return SQLITE_CORRUPT_BKPT; + pBase = sqlite3PcacheFetch(pPager->pPCache, pgno, 3); + if( pBase==0 ){ + pPg = 0; + rc = sqlite3PcacheFetchStress(pPager->pPCache, pgno, &pBase); + if( rc!=SQLITE_OK ) goto pager_acquire_err; + if( pBase==0 ){ + rc = SQLITE_NOMEM_BKPT; + goto pager_acquire_err; + } + } + pPg = *ppPage = sqlite3PcacheFetchFinish(pPager->pPCache, pgno, pBase); + assert( pPg==(*ppPage) ); + assert( pPg->pgno==pgno ); + assert( pPg->pPager==pPager || pPg->pPager==0 ); + + noContent = (flags & PAGER_GET_NOCONTENT)!=0; + if( pPg->pPager && !noContent ){ + /* In this case the pcache already contains an initialized copy of + ** the page. Return without further ado. */ + assert( pgno<=PAGER_MAX_PGNO && pgno!=PAGER_MJ_PGNO(pPager) ); + pPager->aStat[PAGER_STAT_HIT]++; + return SQLITE_OK; + + }else{ + /* The pager cache has created a new page. Its content needs to + ** be initialized. But first some error checks: + ** + ** (1) The maximum page number is 2^31 + ** (2) Never try to fetch the locking page + */ + if( pgno>PAGER_MAX_PGNO || pgno==PAGER_MJ_PGNO(pPager) ){ + rc = SQLITE_CORRUPT_BKPT; + goto pager_acquire_err; + } + + pPg->pPager = pPager; + + assert( !isOpen(pPager->fd) || !MEMDB ); + if( !isOpen(pPager->fd) || pPager->dbSizepPager->mxPgno ){ + rc = SQLITE_FULL; + goto pager_acquire_err; + } + if( noContent ){ + /* Failure to set the bits in the InJournal bit-vectors is benign. + ** It merely means that we might do some extra work to journal a + ** page that does not need to be journaled. Nevertheless, be sure + ** to test the case where a malloc error occurs while trying to set + ** a bit in a bit vector. + */ + sqlite3BeginBenignMalloc(); + if( pgno<=pPager->dbOrigSize ){ + TESTONLY( rc = ) sqlite3BitvecSet(pPager->pInJournal, pgno); + testcase( rc==SQLITE_NOMEM ); + } + TESTONLY( rc = ) addToSavepointBitvecs(pPager, pgno); + testcase( rc==SQLITE_NOMEM ); + sqlite3EndBenignMalloc(); + } + memset(pPg->pData, 0, pPager->pageSize); + IOTRACE(("ZERO %p %d\n", pPager, pgno)); + }else{ + assert( pPg->pPager==pPager ); + pPager->aStat[PAGER_STAT_MISS]++; + rc = readDbPage(pPg); + if( rc!=SQLITE_OK ){ + goto pager_acquire_err; + } + } + pager_set_pagehash(pPg); + } + return SQLITE_OK; + +pager_acquire_err: + assert( rc!=SQLITE_OK ); + if( pPg ){ + sqlite3PcacheDrop(pPg); + } + pagerUnlockIfUnused(pPager); + *ppPage = 0; + return rc; +} + +#if SQLITE_MAX_MMAP_SIZE>0 +/* The page getter for when memory-mapped I/O is enabled */ +static int getPageMMap( + Pager *pPager, /* The pager open on the database file */ + Pgno pgno, /* Page number to fetch */ + DbPage **ppPage, /* Write a pointer to the page here */ + int flags /* PAGER_GET_XXX flags */ +){ + int rc = SQLITE_OK; + PgHdr *pPg = 0; + u32 iFrame = 0; /* Frame to read from WAL file */ + + /* It is acceptable to use a read-only (mmap) page for any page except + ** page 1 if there is no write-transaction open or the ACQUIRE_READONLY + ** flag was specified by the caller. And so long as the db is not a + ** temporary or in-memory database. */ + const int bMmapOk = (pgno>1 + && (pPager->eState==PAGER_READER || (flags & PAGER_GET_READONLY)) + ); + + assert( USEFETCH(pPager) ); +#ifdef SQLITE_HAS_CODEC + assert( pPager->xCodec==0 ); +#endif + + /* Optimization note: Adding the "pgno<=1" term before "pgno==0" here + ** allows the compiler optimizer to reuse the results of the "pgno>1" + ** test in the previous statement, and avoid testing pgno==0 in the + ** common case where pgno is large. */ + if( pgno<=1 && pgno==0 ){ + return SQLITE_CORRUPT_BKPT; + } + assert( pPager->eState>=PAGER_READER ); + assert( assert_pager_state(pPager) ); + assert( pPager->hasHeldSharedLock==1 ); + assert( pPager->errCode==SQLITE_OK ); + + if( bMmapOk && pagerUseWal(pPager) ){ + rc = sqlite3WalFindFrame(pPager->pWal, pgno, &iFrame); + if( rc!=SQLITE_OK ){ + *ppPage = 0; + return rc; + } + } + if( bMmapOk && iFrame==0 ){ + void *pData = 0; + rc = sqlite3OsFetch(pPager->fd, + (i64)(pgno-1) * pPager->pageSize, pPager->pageSize, &pData + ); + if( rc==SQLITE_OK && pData ){ + if( pPager->eState>PAGER_READER || pPager->tempFile ){ + pPg = sqlite3PagerLookup(pPager, pgno); + } + if( pPg==0 ){ + rc = pagerAcquireMapPage(pPager, pgno, pData, &pPg); + }else{ + sqlite3OsUnfetch(pPager->fd, (i64)(pgno-1)*pPager->pageSize, pData); + } + if( pPg ){ + assert( rc==SQLITE_OK ); + *ppPage = pPg; + return SQLITE_OK; + } + } + if( rc!=SQLITE_OK ){ + *ppPage = 0; + return rc; + } + } + return getPageNormal(pPager, pgno, ppPage, flags); +} +#endif /* SQLITE_MAX_MMAP_SIZE>0 */ + +/* The page getter method for when the pager is an error state */ +static int getPageError( + Pager *pPager, /* The pager open on the database file */ + Pgno pgno, /* Page number to fetch */ + DbPage **ppPage, /* Write a pointer to the page here */ + int flags /* PAGER_GET_XXX flags */ +){ + UNUSED_PARAMETER(pgno); + UNUSED_PARAMETER(flags); + assert( pPager->errCode!=SQLITE_OK ); + *ppPage = 0; + return pPager->errCode; +} + + +/* Dispatch all page fetch requests to the appropriate getter method. +*/ +SQLITE_PRIVATE int sqlite3PagerGet( + Pager *pPager, /* The pager open on the database file */ + Pgno pgno, /* Page number to fetch */ + DbPage **ppPage, /* Write a pointer to the page here */ + int flags /* PAGER_GET_XXX flags */ +){ + return pPager->xGet(pPager, pgno, ppPage, flags); +} + +/* +** Acquire a page if it is already in the in-memory cache. Do +** not read the page from disk. Return a pointer to the page, +** or 0 if the page is not in cache. +** +** See also sqlite3PagerGet(). The difference between this routine +** and sqlite3PagerGet() is that _get() will go to the disk and read +** in the page if the page is not already in cache. This routine +** returns NULL if the page is not in cache or if a disk I/O error +** has ever happened. +*/ +SQLITE_PRIVATE DbPage *sqlite3PagerLookup(Pager *pPager, Pgno pgno){ + sqlite3_pcache_page *pPage; + assert( pPager!=0 ); + assert( pgno!=0 ); + assert( pPager->pPCache!=0 ); + pPage = sqlite3PcacheFetch(pPager->pPCache, pgno, 0); + assert( pPage==0 || pPager->hasHeldSharedLock ); + if( pPage==0 ) return 0; + return sqlite3PcacheFetchFinish(pPager->pPCache, pgno, pPage); +} + +/* +** Release a page reference. +** +** The sqlite3PagerUnref() and sqlite3PagerUnrefNotNull() may only be +** used if we know that the page being released is not the last page. +** The btree layer always holds page1 open until the end, so these first +** to routines can be used to release any page other than BtShared.pPage1. +** +** Use sqlite3PagerUnrefPageOne() to release page1. This latter routine +** checks the total number of outstanding pages and if the number of +** pages reaches zero it drops the database lock. +*/ +SQLITE_PRIVATE void sqlite3PagerUnrefNotNull(DbPage *pPg){ + TESTONLY( Pager *pPager = pPg->pPager; ) + assert( pPg!=0 ); + if( pPg->flags & PGHDR_MMAP ){ + assert( pPg->pgno!=1 ); /* Page1 is never memory mapped */ + pagerReleaseMapPage(pPg); + }else{ + sqlite3PcacheRelease(pPg); + } + /* Do not use this routine to release the last reference to page1 */ + assert( sqlite3PcacheRefCount(pPager->pPCache)>0 ); +} +SQLITE_PRIVATE void sqlite3PagerUnref(DbPage *pPg){ + if( pPg ) sqlite3PagerUnrefNotNull(pPg); +} +SQLITE_PRIVATE void sqlite3PagerUnrefPageOne(DbPage *pPg){ + Pager *pPager; + assert( pPg!=0 ); + assert( pPg->pgno==1 ); + assert( (pPg->flags & PGHDR_MMAP)==0 ); /* Page1 is never memory mapped */ + pPager = pPg->pPager; + sqlite3PagerResetLockTimeout(pPager); + sqlite3PcacheRelease(pPg); + pagerUnlockIfUnused(pPager); +} + +/* +** This function is called at the start of every write transaction. +** There must already be a RESERVED or EXCLUSIVE lock on the database +** file when this routine is called. +** +** Open the journal file for pager pPager and write a journal header +** to the start of it. If there are active savepoints, open the sub-journal +** as well. This function is only used when the journal file is being +** opened to write a rollback log for a transaction. It is not used +** when opening a hot journal file to roll it back. +** +** If the journal file is already open (as it may be in exclusive mode), +** then this function just writes a journal header to the start of the +** already open file. +** +** Whether or not the journal file is opened by this function, the +** Pager.pInJournal bitvec structure is allocated. +** +** Return SQLITE_OK if everything is successful. Otherwise, return +** SQLITE_NOMEM if the attempt to allocate Pager.pInJournal fails, or +** an IO error code if opening or writing the journal file fails. +*/ +static int pager_open_journal(Pager *pPager){ + int rc = SQLITE_OK; /* Return code */ + sqlite3_vfs * const pVfs = pPager->pVfs; /* Local cache of vfs pointer */ + + assert( pPager->eState==PAGER_WRITER_LOCKED ); + assert( assert_pager_state(pPager) ); + assert( pPager->pInJournal==0 ); + + /* If already in the error state, this function is a no-op. But on + ** the other hand, this routine is never called if we are already in + ** an error state. */ + if( NEVER(pPager->errCode) ) return pPager->errCode; + + if( !pagerUseWal(pPager) && pPager->journalMode!=PAGER_JOURNALMODE_OFF ){ + pPager->pInJournal = sqlite3BitvecCreate(pPager->dbSize); + if( pPager->pInJournal==0 ){ + return SQLITE_NOMEM_BKPT; + } + + /* Open the journal file if it is not already open. */ + if( !isOpen(pPager->jfd) ){ + if( pPager->journalMode==PAGER_JOURNALMODE_MEMORY ){ + sqlite3MemJournalOpen(pPager->jfd); + }else{ + int flags = SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE; + int nSpill; + + if( pPager->tempFile ){ + flags |= (SQLITE_OPEN_DELETEONCLOSE|SQLITE_OPEN_TEMP_JOURNAL); + nSpill = sqlite3Config.nStmtSpill; + }else{ + flags |= SQLITE_OPEN_MAIN_JOURNAL; + nSpill = jrnlBufferSize(pPager); + } + + /* Verify that the database still has the same name as it did when + ** it was originally opened. */ + rc = databaseIsUnmoved(pPager); + if( rc==SQLITE_OK ){ + rc = sqlite3JournalOpen ( + pVfs, pPager->zJournal, pPager->jfd, flags, nSpill + ); + } + } + assert( rc!=SQLITE_OK || isOpen(pPager->jfd) ); + } + + + /* Write the first journal header to the journal file and open + ** the sub-journal if necessary. + */ + if( rc==SQLITE_OK ){ + /* TODO: Check if all of these are really required. */ + pPager->nRec = 0; + pPager->journalOff = 0; + pPager->setMaster = 0; + pPager->journalHdr = 0; + rc = writeJournalHdr(pPager); + } + } + + if( rc!=SQLITE_OK ){ + sqlite3BitvecDestroy(pPager->pInJournal); + pPager->pInJournal = 0; + }else{ + assert( pPager->eState==PAGER_WRITER_LOCKED ); + pPager->eState = PAGER_WRITER_CACHEMOD; + } + + return rc; +} + +/* +** Begin a write-transaction on the specified pager object. If a +** write-transaction has already been opened, this function is a no-op. +** +** If the exFlag argument is false, then acquire at least a RESERVED +** lock on the database file. If exFlag is true, then acquire at least +** an EXCLUSIVE lock. If such a lock is already held, no locking +** functions need be called. +** +** If the subjInMemory argument is non-zero, then any sub-journal opened +** within this transaction will be opened as an in-memory file. This +** has no effect if the sub-journal is already opened (as it may be when +** running in exclusive mode) or if the transaction does not require a +** sub-journal. If the subjInMemory argument is zero, then any required +** sub-journal is implemented in-memory if pPager is an in-memory database, +** or using a temporary file otherwise. +*/ +SQLITE_PRIVATE int sqlite3PagerBegin(Pager *pPager, int exFlag, int subjInMemory){ + int rc = SQLITE_OK; + + if( pPager->errCode ) return pPager->errCode; + assert( pPager->eState>=PAGER_READER && pPager->eStatesubjInMemory = (u8)subjInMemory; + + if( ALWAYS(pPager->eState==PAGER_READER) ){ + assert( pPager->pInJournal==0 ); + + if( pagerUseWal(pPager) ){ + /* If the pager is configured to use locking_mode=exclusive, and an + ** exclusive lock on the database is not already held, obtain it now. + */ + if( pPager->exclusiveMode && sqlite3WalExclusiveMode(pPager->pWal, -1) ){ + rc = pagerLockDb(pPager, EXCLUSIVE_LOCK); + if( rc!=SQLITE_OK ){ + return rc; + } + (void)sqlite3WalExclusiveMode(pPager->pWal, 1); + } + + /* Grab the write lock on the log file. If successful, upgrade to + ** PAGER_RESERVED state. Otherwise, return an error code to the caller. + ** The busy-handler is not invoked if another connection already + ** holds the write-lock. If possible, the upper layer will call it. + */ + rc = sqlite3WalBeginWriteTransaction(pPager->pWal); + }else{ + /* Obtain a RESERVED lock on the database file. If the exFlag parameter + ** is true, then immediately upgrade this to an EXCLUSIVE lock. The + ** busy-handler callback can be used when upgrading to the EXCLUSIVE + ** lock, but not when obtaining the RESERVED lock. + */ + rc = pagerLockDb(pPager, RESERVED_LOCK); + if( rc==SQLITE_OK && exFlag ){ + rc = pager_wait_on_lock(pPager, EXCLUSIVE_LOCK); + } + } + + if( rc==SQLITE_OK ){ + /* Change to WRITER_LOCKED state. + ** + ** WAL mode sets Pager.eState to PAGER_WRITER_LOCKED or CACHEMOD + ** when it has an open transaction, but never to DBMOD or FINISHED. + ** This is because in those states the code to roll back savepoint + ** transactions may copy data from the sub-journal into the database + ** file as well as into the page cache. Which would be incorrect in + ** WAL mode. + */ + pPager->eState = PAGER_WRITER_LOCKED; + pPager->dbHintSize = pPager->dbSize; + pPager->dbFileSize = pPager->dbSize; + pPager->dbOrigSize = pPager->dbSize; + pPager->journalOff = 0; + } + + assert( rc==SQLITE_OK || pPager->eState==PAGER_READER ); + assert( rc!=SQLITE_OK || pPager->eState==PAGER_WRITER_LOCKED ); + assert( assert_pager_state(pPager) ); + } + + PAGERTRACE(("TRANSACTION %d\n", PAGERID(pPager))); + return rc; +} + +/* +** Write page pPg onto the end of the rollback journal. +*/ +static SQLITE_NOINLINE int pagerAddPageToRollbackJournal(PgHdr *pPg){ + Pager *pPager = pPg->pPager; + int rc; + u32 cksum; + char *pData2; + i64 iOff = pPager->journalOff; + + /* We should never write to the journal file the page that + ** contains the database locks. The following assert verifies + ** that we do not. */ + assert( pPg->pgno!=PAGER_MJ_PGNO(pPager) ); + + assert( pPager->journalHdr<=pPager->journalOff ); + CODEC2(pPager, pPg->pData, pPg->pgno, 7, return SQLITE_NOMEM_BKPT, pData2); + cksum = pager_cksum(pPager, (u8*)pData2); + + /* Even if an IO or diskfull error occurs while journalling the + ** page in the block above, set the need-sync flag for the page. + ** Otherwise, when the transaction is rolled back, the logic in + ** playback_one_page() will think that the page needs to be restored + ** in the database file. And if an IO error occurs while doing so, + ** then corruption may follow. + */ + pPg->flags |= PGHDR_NEED_SYNC; + + rc = write32bits(pPager->jfd, iOff, pPg->pgno); + if( rc!=SQLITE_OK ) return rc; + rc = sqlite3OsWrite(pPager->jfd, pData2, pPager->pageSize, iOff+4); + if( rc!=SQLITE_OK ) return rc; + rc = write32bits(pPager->jfd, iOff+pPager->pageSize+4, cksum); + if( rc!=SQLITE_OK ) return rc; + + IOTRACE(("JOUT %p %d %lld %d\n", pPager, pPg->pgno, + pPager->journalOff, pPager->pageSize)); + PAGER_INCR(sqlite3_pager_writej_count); + PAGERTRACE(("JOURNAL %d page %d needSync=%d hash(%08x)\n", + PAGERID(pPager), pPg->pgno, + ((pPg->flags&PGHDR_NEED_SYNC)?1:0), pager_pagehash(pPg))); + + pPager->journalOff += 8 + pPager->pageSize; + pPager->nRec++; + assert( pPager->pInJournal!=0 ); + rc = sqlite3BitvecSet(pPager->pInJournal, pPg->pgno); + testcase( rc==SQLITE_NOMEM ); + assert( rc==SQLITE_OK || rc==SQLITE_NOMEM ); + rc |= addToSavepointBitvecs(pPager, pPg->pgno); + assert( rc==SQLITE_OK || rc==SQLITE_NOMEM ); + return rc; +} + +/* +** Mark a single data page as writeable. The page is written into the +** main journal or sub-journal as required. If the page is written into +** one of the journals, the corresponding bit is set in the +** Pager.pInJournal bitvec and the PagerSavepoint.pInSavepoint bitvecs +** of any open savepoints as appropriate. +*/ +static int pager_write(PgHdr *pPg){ + Pager *pPager = pPg->pPager; + int rc = SQLITE_OK; + + /* This routine is not called unless a write-transaction has already + ** been started. The journal file may or may not be open at this point. + ** It is never called in the ERROR state. + */ + assert( pPager->eState==PAGER_WRITER_LOCKED + || pPager->eState==PAGER_WRITER_CACHEMOD + || pPager->eState==PAGER_WRITER_DBMOD + ); + assert( assert_pager_state(pPager) ); + assert( pPager->errCode==0 ); + assert( pPager->readOnly==0 ); + CHECK_PAGE(pPg); + + /* The journal file needs to be opened. Higher level routines have already + ** obtained the necessary locks to begin the write-transaction, but the + ** rollback journal might not yet be open. Open it now if this is the case. + ** + ** This is done before calling sqlite3PcacheMakeDirty() on the page. + ** Otherwise, if it were done after calling sqlite3PcacheMakeDirty(), then + ** an error might occur and the pager would end up in WRITER_LOCKED state + ** with pages marked as dirty in the cache. + */ + if( pPager->eState==PAGER_WRITER_LOCKED ){ + rc = pager_open_journal(pPager); + if( rc!=SQLITE_OK ) return rc; + } + assert( pPager->eState>=PAGER_WRITER_CACHEMOD ); + assert( assert_pager_state(pPager) ); + + /* Mark the page that is about to be modified as dirty. */ + sqlite3PcacheMakeDirty(pPg); + + /* If a rollback journal is in use, them make sure the page that is about + ** to change is in the rollback journal, or if the page is a new page off + ** then end of the file, make sure it is marked as PGHDR_NEED_SYNC. + */ + assert( (pPager->pInJournal!=0) == isOpen(pPager->jfd) ); + if( pPager->pInJournal!=0 + && sqlite3BitvecTestNotNull(pPager->pInJournal, pPg->pgno)==0 + ){ + assert( pagerUseWal(pPager)==0 ); + if( pPg->pgno<=pPager->dbOrigSize ){ + rc = pagerAddPageToRollbackJournal(pPg); + if( rc!=SQLITE_OK ){ + return rc; + } + }else{ + if( pPager->eState!=PAGER_WRITER_DBMOD ){ + pPg->flags |= PGHDR_NEED_SYNC; + } + PAGERTRACE(("APPEND %d page %d needSync=%d\n", + PAGERID(pPager), pPg->pgno, + ((pPg->flags&PGHDR_NEED_SYNC)?1:0))); + } + } + + /* The PGHDR_DIRTY bit is set above when the page was added to the dirty-list + ** and before writing the page into the rollback journal. Wait until now, + ** after the page has been successfully journalled, before setting the + ** PGHDR_WRITEABLE bit that indicates that the page can be safely modified. + */ + pPg->flags |= PGHDR_WRITEABLE; + + /* If the statement journal is open and the page is not in it, + ** then write the page into the statement journal. + */ + if( pPager->nSavepoint>0 ){ + rc = subjournalPageIfRequired(pPg); + } + + /* Update the database size and return. */ + if( pPager->dbSizepgno ){ + pPager->dbSize = pPg->pgno; + } + return rc; +} + +/* +** This is a variant of sqlite3PagerWrite() that runs when the sector size +** is larger than the page size. SQLite makes the (reasonable) assumption that +** all bytes of a sector are written together by hardware. Hence, all bytes of +** a sector need to be journalled in case of a power loss in the middle of +** a write. +** +** Usually, the sector size is less than or equal to the page size, in which +** case pages can be individually written. This routine only runs in the +** exceptional case where the page size is smaller than the sector size. +*/ +static SQLITE_NOINLINE int pagerWriteLargeSector(PgHdr *pPg){ + int rc = SQLITE_OK; /* Return code */ + Pgno nPageCount; /* Total number of pages in database file */ + Pgno pg1; /* First page of the sector pPg is located on. */ + int nPage = 0; /* Number of pages starting at pg1 to journal */ + int ii; /* Loop counter */ + int needSync = 0; /* True if any page has PGHDR_NEED_SYNC */ + Pager *pPager = pPg->pPager; /* The pager that owns pPg */ + Pgno nPagePerSector = (pPager->sectorSize/pPager->pageSize); + + /* Set the doNotSpill NOSYNC bit to 1. This is because we cannot allow + ** a journal header to be written between the pages journaled by + ** this function. + */ + assert( !MEMDB ); + assert( (pPager->doNotSpill & SPILLFLAG_NOSYNC)==0 ); + pPager->doNotSpill |= SPILLFLAG_NOSYNC; + + /* This trick assumes that both the page-size and sector-size are + ** an integer power of 2. It sets variable pg1 to the identifier + ** of the first page of the sector pPg is located on. + */ + pg1 = ((pPg->pgno-1) & ~(nPagePerSector-1)) + 1; + + nPageCount = pPager->dbSize; + if( pPg->pgno>nPageCount ){ + nPage = (pPg->pgno - pg1)+1; + }else if( (pg1+nPagePerSector-1)>nPageCount ){ + nPage = nPageCount+1-pg1; + }else{ + nPage = nPagePerSector; + } + assert(nPage>0); + assert(pg1<=pPg->pgno); + assert((pg1+nPage)>pPg->pgno); + + for(ii=0; iipgno || !sqlite3BitvecTest(pPager->pInJournal, pg) ){ + if( pg!=PAGER_MJ_PGNO(pPager) ){ + rc = sqlite3PagerGet(pPager, pg, &pPage, 0); + if( rc==SQLITE_OK ){ + rc = pager_write(pPage); + if( pPage->flags&PGHDR_NEED_SYNC ){ + needSync = 1; + } + sqlite3PagerUnrefNotNull(pPage); + } + } + }else if( (pPage = sqlite3PagerLookup(pPager, pg))!=0 ){ + if( pPage->flags&PGHDR_NEED_SYNC ){ + needSync = 1; + } + sqlite3PagerUnrefNotNull(pPage); + } + } + + /* If the PGHDR_NEED_SYNC flag is set for any of the nPage pages + ** starting at pg1, then it needs to be set for all of them. Because + ** writing to any of these nPage pages may damage the others, the + ** journal file must contain sync()ed copies of all of them + ** before any of them can be written out to the database file. + */ + if( rc==SQLITE_OK && needSync ){ + assert( !MEMDB ); + for(ii=0; iiflags |= PGHDR_NEED_SYNC; + sqlite3PagerUnrefNotNull(pPage); + } + } + } + + assert( (pPager->doNotSpill & SPILLFLAG_NOSYNC)!=0 ); + pPager->doNotSpill &= ~SPILLFLAG_NOSYNC; + return rc; +} + +/* +** Mark a data page as writeable. This routine must be called before +** making changes to a page. The caller must check the return value +** of this function and be careful not to change any page data unless +** this routine returns SQLITE_OK. +** +** The difference between this function and pager_write() is that this +** function also deals with the special case where 2 or more pages +** fit on a single disk sector. In this case all co-resident pages +** must have been written to the journal file before returning. +** +** If an error occurs, SQLITE_NOMEM or an IO error code is returned +** as appropriate. Otherwise, SQLITE_OK. +*/ +SQLITE_PRIVATE int sqlite3PagerWrite(PgHdr *pPg){ + Pager *pPager = pPg->pPager; + assert( (pPg->flags & PGHDR_MMAP)==0 ); + assert( pPager->eState>=PAGER_WRITER_LOCKED ); + assert( assert_pager_state(pPager) ); + if( (pPg->flags & PGHDR_WRITEABLE)!=0 && pPager->dbSize>=pPg->pgno ){ + if( pPager->nSavepoint ) return subjournalPageIfRequired(pPg); + return SQLITE_OK; + }else if( pPager->errCode ){ + return pPager->errCode; + }else if( pPager->sectorSize > (u32)pPager->pageSize ){ + assert( pPager->tempFile==0 ); + return pagerWriteLargeSector(pPg); + }else{ + return pager_write(pPg); + } +} + +/* +** Return TRUE if the page given in the argument was previously passed +** to sqlite3PagerWrite(). In other words, return TRUE if it is ok +** to change the content of the page. +*/ +#ifndef NDEBUG +SQLITE_PRIVATE int sqlite3PagerIswriteable(DbPage *pPg){ + return pPg->flags & PGHDR_WRITEABLE; +} +#endif + +/* +** A call to this routine tells the pager that it is not necessary to +** write the information on page pPg back to the disk, even though +** that page might be marked as dirty. This happens, for example, when +** the page has been added as a leaf of the freelist and so its +** content no longer matters. +** +** The overlying software layer calls this routine when all of the data +** on the given page is unused. The pager marks the page as clean so +** that it does not get written to disk. +** +** Tests show that this optimization can quadruple the speed of large +** DELETE operations. +** +** This optimization cannot be used with a temp-file, as the page may +** have been dirty at the start of the transaction. In that case, if +** memory pressure forces page pPg out of the cache, the data does need +** to be written out to disk so that it may be read back in if the +** current transaction is rolled back. +*/ +SQLITE_PRIVATE void sqlite3PagerDontWrite(PgHdr *pPg){ + Pager *pPager = pPg->pPager; + if( !pPager->tempFile && (pPg->flags&PGHDR_DIRTY) && pPager->nSavepoint==0 ){ + PAGERTRACE(("DONT_WRITE page %d of %d\n", pPg->pgno, PAGERID(pPager))); + IOTRACE(("CLEAN %p %d\n", pPager, pPg->pgno)) + pPg->flags |= PGHDR_DONT_WRITE; + pPg->flags &= ~PGHDR_WRITEABLE; + testcase( pPg->flags & PGHDR_NEED_SYNC ); + pager_set_pagehash(pPg); + } +} + +/* +** This routine is called to increment the value of the database file +** change-counter, stored as a 4-byte big-endian integer starting at +** byte offset 24 of the pager file. The secondary change counter at +** 92 is also updated, as is the SQLite version number at offset 96. +** +** But this only happens if the pPager->changeCountDone flag is false. +** To avoid excess churning of page 1, the update only happens once. +** See also the pager_write_changecounter() routine that does an +** unconditional update of the change counters. +** +** If the isDirectMode flag is zero, then this is done by calling +** sqlite3PagerWrite() on page 1, then modifying the contents of the +** page data. In this case the file will be updated when the current +** transaction is committed. +** +** The isDirectMode flag may only be non-zero if the library was compiled +** with the SQLITE_ENABLE_ATOMIC_WRITE macro defined. In this case, +** if isDirect is non-zero, then the database file is updated directly +** by writing an updated version of page 1 using a call to the +** sqlite3OsWrite() function. +*/ +static int pager_incr_changecounter(Pager *pPager, int isDirectMode){ + int rc = SQLITE_OK; + + assert( pPager->eState==PAGER_WRITER_CACHEMOD + || pPager->eState==PAGER_WRITER_DBMOD + ); + assert( assert_pager_state(pPager) ); + + /* Declare and initialize constant integer 'isDirect'. If the + ** atomic-write optimization is enabled in this build, then isDirect + ** is initialized to the value passed as the isDirectMode parameter + ** to this function. Otherwise, it is always set to zero. + ** + ** The idea is that if the atomic-write optimization is not + ** enabled at compile time, the compiler can omit the tests of + ** 'isDirect' below, as well as the block enclosed in the + ** "if( isDirect )" condition. + */ +#ifndef SQLITE_ENABLE_ATOMIC_WRITE +# define DIRECT_MODE 0 + assert( isDirectMode==0 ); + UNUSED_PARAMETER(isDirectMode); +#else +# define DIRECT_MODE isDirectMode +#endif + + if( !pPager->changeCountDone && ALWAYS(pPager->dbSize>0) ){ + PgHdr *pPgHdr; /* Reference to page 1 */ + + assert( !pPager->tempFile && isOpen(pPager->fd) ); + + /* Open page 1 of the file for writing. */ + rc = sqlite3PagerGet(pPager, 1, &pPgHdr, 0); + assert( pPgHdr==0 || rc==SQLITE_OK ); + + /* If page one was fetched successfully, and this function is not + ** operating in direct-mode, make page 1 writable. When not in + ** direct mode, page 1 is always held in cache and hence the PagerGet() + ** above is always successful - hence the ALWAYS on rc==SQLITE_OK. + */ + if( !DIRECT_MODE && ALWAYS(rc==SQLITE_OK) ){ + rc = sqlite3PagerWrite(pPgHdr); + } + + if( rc==SQLITE_OK ){ + /* Actually do the update of the change counter */ + pager_write_changecounter(pPgHdr); + + /* If running in direct mode, write the contents of page 1 to the file. */ + if( DIRECT_MODE ){ + const void *zBuf; + assert( pPager->dbFileSize>0 ); + CODEC2(pPager, pPgHdr->pData, 1, 6, rc=SQLITE_NOMEM_BKPT, zBuf); + if( rc==SQLITE_OK ){ + rc = sqlite3OsWrite(pPager->fd, zBuf, pPager->pageSize, 0); + pPager->aStat[PAGER_STAT_WRITE]++; + } + if( rc==SQLITE_OK ){ + /* Update the pager's copy of the change-counter. Otherwise, the + ** next time a read transaction is opened the cache will be + ** flushed (as the change-counter values will not match). */ + const void *pCopy = (const void *)&((const char *)zBuf)[24]; + memcpy(&pPager->dbFileVers, pCopy, sizeof(pPager->dbFileVers)); + pPager->changeCountDone = 1; + } + }else{ + pPager->changeCountDone = 1; + } + } + + /* Release the page reference. */ + sqlite3PagerUnref(pPgHdr); + } + return rc; +} + +/* +** Sync the database file to disk. This is a no-op for in-memory databases +** or pages with the Pager.noSync flag set. +** +** If successful, or if called on a pager for which it is a no-op, this +** function returns SQLITE_OK. Otherwise, an IO error code is returned. +*/ +SQLITE_PRIVATE int sqlite3PagerSync(Pager *pPager, const char *zMaster){ + int rc = SQLITE_OK; + void *pArg = (void*)zMaster; + rc = sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_SYNC, pArg); + if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK; + if( rc==SQLITE_OK && !pPager->noSync ){ + assert( !MEMDB ); + rc = sqlite3OsSync(pPager->fd, pPager->syncFlags); + } + return rc; +} + +/* +** This function may only be called while a write-transaction is active in +** rollback. If the connection is in WAL mode, this call is a no-op. +** Otherwise, if the connection does not already have an EXCLUSIVE lock on +** the database file, an attempt is made to obtain one. +** +** If the EXCLUSIVE lock is already held or the attempt to obtain it is +** successful, or the connection is in WAL mode, SQLITE_OK is returned. +** Otherwise, either SQLITE_BUSY or an SQLITE_IOERR_XXX error code is +** returned. +*/ +SQLITE_PRIVATE int sqlite3PagerExclusiveLock(Pager *pPager){ + int rc = pPager->errCode; + assert( assert_pager_state(pPager) ); + if( rc==SQLITE_OK ){ + assert( pPager->eState==PAGER_WRITER_CACHEMOD + || pPager->eState==PAGER_WRITER_DBMOD + || pPager->eState==PAGER_WRITER_LOCKED + ); + assert( assert_pager_state(pPager) ); + if( 0==pagerUseWal(pPager) ){ + rc = pager_wait_on_lock(pPager, EXCLUSIVE_LOCK); + } + } + return rc; +} + +/* +** Sync the database file for the pager pPager. zMaster points to the name +** of a master journal file that should be written into the individual +** journal file. zMaster may be NULL, which is interpreted as no master +** journal (a single database transaction). +** +** This routine ensures that: +** +** * The database file change-counter is updated, +** * the journal is synced (unless the atomic-write optimization is used), +** * all dirty pages are written to the database file, +** * the database file is truncated (if required), and +** * the database file synced. +** +** The only thing that remains to commit the transaction is to finalize +** (delete, truncate or zero the first part of) the journal file (or +** delete the master journal file if specified). +** +** Note that if zMaster==NULL, this does not overwrite a previous value +** passed to an sqlite3PagerCommitPhaseOne() call. +** +** If the final parameter - noSync - is true, then the database file itself +** is not synced. The caller must call sqlite3PagerSync() directly to +** sync the database file before calling CommitPhaseTwo() to delete the +** journal file in this case. +*/ +SQLITE_PRIVATE int sqlite3PagerCommitPhaseOne( + Pager *pPager, /* Pager object */ + const char *zMaster, /* If not NULL, the master journal name */ + int noSync /* True to omit the xSync on the db file */ +){ + int rc = SQLITE_OK; /* Return code */ + + assert( pPager->eState==PAGER_WRITER_LOCKED + || pPager->eState==PAGER_WRITER_CACHEMOD + || pPager->eState==PAGER_WRITER_DBMOD + || pPager->eState==PAGER_ERROR + ); + assert( assert_pager_state(pPager) ); + + /* If a prior error occurred, report that error again. */ + if( NEVER(pPager->errCode) ) return pPager->errCode; + + /* Provide the ability to easily simulate an I/O error during testing */ + if( sqlite3FaultSim(400) ) return SQLITE_IOERR; + + PAGERTRACE(("DATABASE SYNC: File=%s zMaster=%s nSize=%d\n", + pPager->zFilename, zMaster, pPager->dbSize)); + + /* If no database changes have been made, return early. */ + if( pPager->eStatetempFile ); + assert( isOpen(pPager->fd) || pPager->tempFile ); + if( 0==pagerFlushOnCommit(pPager, 1) ){ + /* If this is an in-memory db, or no pages have been written to, or this + ** function has already been called, it is mostly a no-op. However, any + ** backup in progress needs to be restarted. */ + sqlite3BackupRestart(pPager->pBackup); + }else{ + PgHdr *pList; + if( pagerUseWal(pPager) ){ + PgHdr *pPageOne = 0; + pList = sqlite3PcacheDirtyList(pPager->pPCache); + if( pList==0 ){ + /* Must have at least one page for the WAL commit flag. + ** Ticket [2d1a5c67dfc2363e44f29d9bbd57f] 2011-05-18 */ + rc = sqlite3PagerGet(pPager, 1, &pPageOne, 0); + pList = pPageOne; + pList->pDirty = 0; + } + assert( rc==SQLITE_OK ); + if( ALWAYS(pList) ){ + rc = pagerWalFrames(pPager, pList, pPager->dbSize, 1); + } + sqlite3PagerUnref(pPageOne); + if( rc==SQLITE_OK ){ + sqlite3PcacheCleanAll(pPager->pPCache); + } + }else{ + /* The bBatch boolean is true if the batch-atomic-write commit method + ** should be used. No rollback journal is created if batch-atomic-write + ** is enabled. + */ +#ifdef SQLITE_ENABLE_BATCH_ATOMIC_WRITE + sqlite3_file *fd = pPager->fd; + int bBatch = zMaster==0 /* An SQLITE_IOCAP_BATCH_ATOMIC commit */ + && (sqlite3OsDeviceCharacteristics(fd) & SQLITE_IOCAP_BATCH_ATOMIC) + && !pPager->noSync + && sqlite3JournalIsInMemory(pPager->jfd); +#else +# define bBatch 0 +#endif + +#ifdef SQLITE_ENABLE_ATOMIC_WRITE + /* The following block updates the change-counter. Exactly how it + ** does this depends on whether or not the atomic-update optimization + ** was enabled at compile time, and if this transaction meets the + ** runtime criteria to use the operation: + ** + ** * The file-system supports the atomic-write property for + ** blocks of size page-size, and + ** * This commit is not part of a multi-file transaction, and + ** * Exactly one page has been modified and store in the journal file. + ** + ** If the optimization was not enabled at compile time, then the + ** pager_incr_changecounter() function is called to update the change + ** counter in 'indirect-mode'. If the optimization is compiled in but + ** is not applicable to this transaction, call sqlite3JournalCreate() + ** to make sure the journal file has actually been created, then call + ** pager_incr_changecounter() to update the change-counter in indirect + ** mode. + ** + ** Otherwise, if the optimization is both enabled and applicable, + ** then call pager_incr_changecounter() to update the change-counter + ** in 'direct' mode. In this case the journal file will never be + ** created for this transaction. + */ + if( bBatch==0 ){ + PgHdr *pPg; + assert( isOpen(pPager->jfd) + || pPager->journalMode==PAGER_JOURNALMODE_OFF + || pPager->journalMode==PAGER_JOURNALMODE_WAL + ); + if( !zMaster && isOpen(pPager->jfd) + && pPager->journalOff==jrnlBufferSize(pPager) + && pPager->dbSize>=pPager->dbOrigSize + && (!(pPg = sqlite3PcacheDirtyList(pPager->pPCache)) || 0==pPg->pDirty) + ){ + /* Update the db file change counter via the direct-write method. The + ** following call will modify the in-memory representation of page 1 + ** to include the updated change counter and then write page 1 + ** directly to the database file. Because of the atomic-write + ** property of the host file-system, this is safe. + */ + rc = pager_incr_changecounter(pPager, 1); + }else{ + rc = sqlite3JournalCreate(pPager->jfd); + if( rc==SQLITE_OK ){ + rc = pager_incr_changecounter(pPager, 0); + } + } + } +#else /* SQLITE_ENABLE_ATOMIC_WRITE */ +#ifdef SQLITE_ENABLE_BATCH_ATOMIC_WRITE + if( zMaster ){ + rc = sqlite3JournalCreate(pPager->jfd); + if( rc!=SQLITE_OK ) goto commit_phase_one_exit; + assert( bBatch==0 ); + } +#endif + rc = pager_incr_changecounter(pPager, 0); +#endif /* !SQLITE_ENABLE_ATOMIC_WRITE */ + if( rc!=SQLITE_OK ) goto commit_phase_one_exit; + + /* Write the master journal name into the journal file. If a master + ** journal file name has already been written to the journal file, + ** or if zMaster is NULL (no master journal), then this call is a no-op. + */ + rc = writeMasterJournal(pPager, zMaster); + if( rc!=SQLITE_OK ) goto commit_phase_one_exit; + + /* Sync the journal file and write all dirty pages to the database. + ** If the atomic-update optimization is being used, this sync will not + ** create the journal file or perform any real IO. + ** + ** Because the change-counter page was just modified, unless the + ** atomic-update optimization is used it is almost certain that the + ** journal requires a sync here. However, in locking_mode=exclusive + ** on a system under memory pressure it is just possible that this is + ** not the case. In this case it is likely enough that the redundant + ** xSync() call will be changed to a no-op by the OS anyhow. + */ + rc = syncJournal(pPager, 0); + if( rc!=SQLITE_OK ) goto commit_phase_one_exit; + + pList = sqlite3PcacheDirtyList(pPager->pPCache); +#ifdef SQLITE_ENABLE_BATCH_ATOMIC_WRITE + if( bBatch ){ + rc = sqlite3OsFileControl(fd, SQLITE_FCNTL_BEGIN_ATOMIC_WRITE, 0); + if( rc==SQLITE_OK ){ + rc = pager_write_pagelist(pPager, pList); + if( rc==SQLITE_OK ){ + rc = sqlite3OsFileControl(fd, SQLITE_FCNTL_COMMIT_ATOMIC_WRITE, 0); + } + if( rc!=SQLITE_OK ){ + sqlite3OsFileControlHint(fd, SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE, 0); + } + } + + if( (rc&0xFF)==SQLITE_IOERR && rc!=SQLITE_IOERR_NOMEM ){ + rc = sqlite3JournalCreate(pPager->jfd); + if( rc!=SQLITE_OK ){ + sqlite3OsClose(pPager->jfd); + goto commit_phase_one_exit; + } + bBatch = 0; + }else{ + sqlite3OsClose(pPager->jfd); + } + } +#endif /* SQLITE_ENABLE_BATCH_ATOMIC_WRITE */ + + if( bBatch==0 ){ + rc = pager_write_pagelist(pPager, pList); + } + if( rc!=SQLITE_OK ){ + assert( rc!=SQLITE_IOERR_BLOCKED ); + goto commit_phase_one_exit; + } + sqlite3PcacheCleanAll(pPager->pPCache); + + /* If the file on disk is smaller than the database image, use + ** pager_truncate to grow the file here. This can happen if the database + ** image was extended as part of the current transaction and then the + ** last page in the db image moved to the free-list. In this case the + ** last page is never written out to disk, leaving the database file + ** undersized. Fix this now if it is the case. */ + if( pPager->dbSize>pPager->dbFileSize ){ + Pgno nNew = pPager->dbSize - (pPager->dbSize==PAGER_MJ_PGNO(pPager)); + assert( pPager->eState==PAGER_WRITER_DBMOD ); + rc = pager_truncate(pPager, nNew); + if( rc!=SQLITE_OK ) goto commit_phase_one_exit; + } + + /* Finally, sync the database file. */ + if( !noSync ){ + rc = sqlite3PagerSync(pPager, zMaster); + } + IOTRACE(("DBSYNC %p\n", pPager)) + } + } + +commit_phase_one_exit: + if( rc==SQLITE_OK && !pagerUseWal(pPager) ){ + pPager->eState = PAGER_WRITER_FINISHED; + } + return rc; +} + + +/* +** When this function is called, the database file has been completely +** updated to reflect the changes made by the current transaction and +** synced to disk. The journal file still exists in the file-system +** though, and if a failure occurs at this point it will eventually +** be used as a hot-journal and the current transaction rolled back. +** +** This function finalizes the journal file, either by deleting, +** truncating or partially zeroing it, so that it cannot be used +** for hot-journal rollback. Once this is done the transaction is +** irrevocably committed. +** +** If an error occurs, an IO error code is returned and the pager +** moves into the error state. Otherwise, SQLITE_OK is returned. +*/ +SQLITE_PRIVATE int sqlite3PagerCommitPhaseTwo(Pager *pPager){ + int rc = SQLITE_OK; /* Return code */ + + /* This routine should not be called if a prior error has occurred. + ** But if (due to a coding error elsewhere in the system) it does get + ** called, just return the same error code without doing anything. */ + if( NEVER(pPager->errCode) ) return pPager->errCode; + + assert( pPager->eState==PAGER_WRITER_LOCKED + || pPager->eState==PAGER_WRITER_FINISHED + || (pagerUseWal(pPager) && pPager->eState==PAGER_WRITER_CACHEMOD) + ); + assert( assert_pager_state(pPager) ); + + /* An optimization. If the database was not actually modified during + ** this transaction, the pager is running in exclusive-mode and is + ** using persistent journals, then this function is a no-op. + ** + ** The start of the journal file currently contains a single journal + ** header with the nRec field set to 0. If such a journal is used as + ** a hot-journal during hot-journal rollback, 0 changes will be made + ** to the database file. So there is no need to zero the journal + ** header. Since the pager is in exclusive mode, there is no need + ** to drop any locks either. + */ + if( pPager->eState==PAGER_WRITER_LOCKED + && pPager->exclusiveMode + && pPager->journalMode==PAGER_JOURNALMODE_PERSIST + ){ + assert( pPager->journalOff==JOURNAL_HDR_SZ(pPager) || !pPager->journalOff ); + pPager->eState = PAGER_READER; + return SQLITE_OK; + } + + PAGERTRACE(("COMMIT %d\n", PAGERID(pPager))); + pPager->iDataVersion++; + rc = pager_end_transaction(pPager, pPager->setMaster, 1); + return pager_error(pPager, rc); +} + +/* +** If a write transaction is open, then all changes made within the +** transaction are reverted and the current write-transaction is closed. +** The pager falls back to PAGER_READER state if successful, or PAGER_ERROR +** state if an error occurs. +** +** If the pager is already in PAGER_ERROR state when this function is called, +** it returns Pager.errCode immediately. No work is performed in this case. +** +** Otherwise, in rollback mode, this function performs two functions: +** +** 1) It rolls back the journal file, restoring all database file and +** in-memory cache pages to the state they were in when the transaction +** was opened, and +** +** 2) It finalizes the journal file, so that it is not used for hot +** rollback at any point in the future. +** +** Finalization of the journal file (task 2) is only performed if the +** rollback is successful. +** +** In WAL mode, all cache-entries containing data modified within the +** current transaction are either expelled from the cache or reverted to +** their pre-transaction state by re-reading data from the database or +** WAL files. The WAL transaction is then closed. +*/ +SQLITE_PRIVATE int sqlite3PagerRollback(Pager *pPager){ + int rc = SQLITE_OK; /* Return code */ + PAGERTRACE(("ROLLBACK %d\n", PAGERID(pPager))); + + /* PagerRollback() is a no-op if called in READER or OPEN state. If + ** the pager is already in the ERROR state, the rollback is not + ** attempted here. Instead, the error code is returned to the caller. + */ + assert( assert_pager_state(pPager) ); + if( pPager->eState==PAGER_ERROR ) return pPager->errCode; + if( pPager->eState<=PAGER_READER ) return SQLITE_OK; + + if( pagerUseWal(pPager) ){ + int rc2; + rc = sqlite3PagerSavepoint(pPager, SAVEPOINT_ROLLBACK, -1); + rc2 = pager_end_transaction(pPager, pPager->setMaster, 0); + if( rc==SQLITE_OK ) rc = rc2; + }else if( !isOpen(pPager->jfd) || pPager->eState==PAGER_WRITER_LOCKED ){ + int eState = pPager->eState; + rc = pager_end_transaction(pPager, 0, 0); + if( !MEMDB && eState>PAGER_WRITER_LOCKED ){ + /* This can happen using journal_mode=off. Move the pager to the error + ** state to indicate that the contents of the cache may not be trusted. + ** Any active readers will get SQLITE_ABORT. + */ + pPager->errCode = SQLITE_ABORT; + pPager->eState = PAGER_ERROR; + setGetterMethod(pPager); + return rc; + } + }else{ + rc = pager_playback(pPager, 0); + } + + assert( pPager->eState==PAGER_READER || rc!=SQLITE_OK ); + assert( rc==SQLITE_OK || rc==SQLITE_FULL || rc==SQLITE_CORRUPT + || rc==SQLITE_NOMEM || (rc&0xFF)==SQLITE_IOERR + || rc==SQLITE_CANTOPEN + ); + + /* If an error occurs during a ROLLBACK, we can no longer trust the pager + ** cache. So call pager_error() on the way out to make any error persistent. + */ + return pager_error(pPager, rc); +} + +/* +** Return TRUE if the database file is opened read-only. Return FALSE +** if the database is (in theory) writable. +*/ +SQLITE_PRIVATE u8 sqlite3PagerIsreadonly(Pager *pPager){ + return pPager->readOnly; +} + +#ifdef SQLITE_DEBUG +/* +** Return the sum of the reference counts for all pages held by pPager. +*/ +SQLITE_PRIVATE int sqlite3PagerRefcount(Pager *pPager){ + return sqlite3PcacheRefCount(pPager->pPCache); +} +#endif + +/* +** Return the approximate number of bytes of memory currently +** used by the pager and its associated cache. +*/ +SQLITE_PRIVATE int sqlite3PagerMemUsed(Pager *pPager){ + int perPageSize = pPager->pageSize + pPager->nExtra + sizeof(PgHdr) + + 5*sizeof(void*); + return perPageSize*sqlite3PcachePagecount(pPager->pPCache) + + sqlite3MallocSize(pPager) + + pPager->pageSize; +} + +/* +** Return the number of references to the specified page. +*/ +SQLITE_PRIVATE int sqlite3PagerPageRefcount(DbPage *pPage){ + return sqlite3PcachePageRefcount(pPage); +} + +#ifdef SQLITE_TEST +/* +** This routine is used for testing and analysis only. +*/ +SQLITE_PRIVATE int *sqlite3PagerStats(Pager *pPager){ + static int a[11]; + a[0] = sqlite3PcacheRefCount(pPager->pPCache); + a[1] = sqlite3PcachePagecount(pPager->pPCache); + a[2] = sqlite3PcacheGetCachesize(pPager->pPCache); + a[3] = pPager->eState==PAGER_OPEN ? -1 : (int) pPager->dbSize; + a[4] = pPager->eState; + a[5] = pPager->errCode; + a[6] = pPager->aStat[PAGER_STAT_HIT]; + a[7] = pPager->aStat[PAGER_STAT_MISS]; + a[8] = 0; /* Used to be pPager->nOvfl */ + a[9] = pPager->nRead; + a[10] = pPager->aStat[PAGER_STAT_WRITE]; + return a; +} +#endif + +/* +** Parameter eStat must be one of SQLITE_DBSTATUS_CACHE_HIT, _MISS, _WRITE, +** or _WRITE+1. The SQLITE_DBSTATUS_CACHE_WRITE+1 case is a translation +** of SQLITE_DBSTATUS_CACHE_SPILL. The _SPILL case is not contiguous because +** it was added later. +** +** Before returning, *pnVal is incremented by the +** current cache hit or miss count, according to the value of eStat. If the +** reset parameter is non-zero, the cache hit or miss count is zeroed before +** returning. +*/ +SQLITE_PRIVATE void sqlite3PagerCacheStat(Pager *pPager, int eStat, int reset, int *pnVal){ + + assert( eStat==SQLITE_DBSTATUS_CACHE_HIT + || eStat==SQLITE_DBSTATUS_CACHE_MISS + || eStat==SQLITE_DBSTATUS_CACHE_WRITE + || eStat==SQLITE_DBSTATUS_CACHE_WRITE+1 + ); + + assert( SQLITE_DBSTATUS_CACHE_HIT+1==SQLITE_DBSTATUS_CACHE_MISS ); + assert( SQLITE_DBSTATUS_CACHE_HIT+2==SQLITE_DBSTATUS_CACHE_WRITE ); + assert( PAGER_STAT_HIT==0 && PAGER_STAT_MISS==1 + && PAGER_STAT_WRITE==2 && PAGER_STAT_SPILL==3 ); + + eStat -= SQLITE_DBSTATUS_CACHE_HIT; + *pnVal += pPager->aStat[eStat]; + if( reset ){ + pPager->aStat[eStat] = 0; + } +} + +/* +** Return true if this is an in-memory or temp-file backed pager. +*/ +SQLITE_PRIVATE int sqlite3PagerIsMemdb(Pager *pPager){ + return pPager->tempFile; +} + +/* +** Check that there are at least nSavepoint savepoints open. If there are +** currently less than nSavepoints open, then open one or more savepoints +** to make up the difference. If the number of savepoints is already +** equal to nSavepoint, then this function is a no-op. +** +** If a memory allocation fails, SQLITE_NOMEM is returned. If an error +** occurs while opening the sub-journal file, then an IO error code is +** returned. Otherwise, SQLITE_OK. +*/ +static SQLITE_NOINLINE int pagerOpenSavepoint(Pager *pPager, int nSavepoint){ + int rc = SQLITE_OK; /* Return code */ + int nCurrent = pPager->nSavepoint; /* Current number of savepoints */ + int ii; /* Iterator variable */ + PagerSavepoint *aNew; /* New Pager.aSavepoint array */ + + assert( pPager->eState>=PAGER_WRITER_LOCKED ); + assert( assert_pager_state(pPager) ); + assert( nSavepoint>nCurrent && pPager->useJournal ); + + /* Grow the Pager.aSavepoint array using realloc(). Return SQLITE_NOMEM + ** if the allocation fails. Otherwise, zero the new portion in case a + ** malloc failure occurs while populating it in the for(...) loop below. + */ + aNew = (PagerSavepoint *)sqlite3Realloc( + pPager->aSavepoint, sizeof(PagerSavepoint)*nSavepoint + ); + if( !aNew ){ + return SQLITE_NOMEM_BKPT; + } + memset(&aNew[nCurrent], 0, (nSavepoint-nCurrent) * sizeof(PagerSavepoint)); + pPager->aSavepoint = aNew; + + /* Populate the PagerSavepoint structures just allocated. */ + for(ii=nCurrent; iidbSize; + if( isOpen(pPager->jfd) && pPager->journalOff>0 ){ + aNew[ii].iOffset = pPager->journalOff; + }else{ + aNew[ii].iOffset = JOURNAL_HDR_SZ(pPager); + } + aNew[ii].iSubRec = pPager->nSubRec; + aNew[ii].pInSavepoint = sqlite3BitvecCreate(pPager->dbSize); + if( !aNew[ii].pInSavepoint ){ + return SQLITE_NOMEM_BKPT; + } + if( pagerUseWal(pPager) ){ + sqlite3WalSavepoint(pPager->pWal, aNew[ii].aWalData); + } + pPager->nSavepoint = ii+1; + } + assert( pPager->nSavepoint==nSavepoint ); + assertTruncateConstraint(pPager); + return rc; +} +SQLITE_PRIVATE int sqlite3PagerOpenSavepoint(Pager *pPager, int nSavepoint){ + assert( pPager->eState>=PAGER_WRITER_LOCKED ); + assert( assert_pager_state(pPager) ); + + if( nSavepoint>pPager->nSavepoint && pPager->useJournal ){ + return pagerOpenSavepoint(pPager, nSavepoint); + }else{ + return SQLITE_OK; + } +} + + +/* +** This function is called to rollback or release (commit) a savepoint. +** The savepoint to release or rollback need not be the most recently +** created savepoint. +** +** Parameter op is always either SAVEPOINT_ROLLBACK or SAVEPOINT_RELEASE. +** If it is SAVEPOINT_RELEASE, then release and destroy the savepoint with +** index iSavepoint. If it is SAVEPOINT_ROLLBACK, then rollback all changes +** that have occurred since the specified savepoint was created. +** +** The savepoint to rollback or release is identified by parameter +** iSavepoint. A value of 0 means to operate on the outermost savepoint +** (the first created). A value of (Pager.nSavepoint-1) means operate +** on the most recently created savepoint. If iSavepoint is greater than +** (Pager.nSavepoint-1), then this function is a no-op. +** +** If a negative value is passed to this function, then the current +** transaction is rolled back. This is different to calling +** sqlite3PagerRollback() because this function does not terminate +** the transaction or unlock the database, it just restores the +** contents of the database to its original state. +** +** In any case, all savepoints with an index greater than iSavepoint +** are destroyed. If this is a release operation (op==SAVEPOINT_RELEASE), +** then savepoint iSavepoint is also destroyed. +** +** This function may return SQLITE_NOMEM if a memory allocation fails, +** or an IO error code if an IO error occurs while rolling back a +** savepoint. If no errors occur, SQLITE_OK is returned. +*/ +SQLITE_PRIVATE int sqlite3PagerSavepoint(Pager *pPager, int op, int iSavepoint){ + int rc = pPager->errCode; + +#ifdef SQLITE_ENABLE_ZIPVFS + if( op==SAVEPOINT_RELEASE ) rc = SQLITE_OK; +#endif + + assert( op==SAVEPOINT_RELEASE || op==SAVEPOINT_ROLLBACK ); + assert( iSavepoint>=0 || op==SAVEPOINT_ROLLBACK ); + + if( rc==SQLITE_OK && iSavepointnSavepoint ){ + int ii; /* Iterator variable */ + int nNew; /* Number of remaining savepoints after this op. */ + + /* Figure out how many savepoints will still be active after this + ** operation. Store this value in nNew. Then free resources associated + ** with any savepoints that are destroyed by this operation. + */ + nNew = iSavepoint + (( op==SAVEPOINT_RELEASE ) ? 0 : 1); + for(ii=nNew; iinSavepoint; ii++){ + sqlite3BitvecDestroy(pPager->aSavepoint[ii].pInSavepoint); + } + pPager->nSavepoint = nNew; + + /* If this is a release of the outermost savepoint, truncate + ** the sub-journal to zero bytes in size. */ + if( op==SAVEPOINT_RELEASE ){ + if( nNew==0 && isOpen(pPager->sjfd) ){ + /* Only truncate if it is an in-memory sub-journal. */ + if( sqlite3JournalIsInMemory(pPager->sjfd) ){ + rc = sqlite3OsTruncate(pPager->sjfd, 0); + assert( rc==SQLITE_OK ); + } + pPager->nSubRec = 0; + } + } + /* Else this is a rollback operation, playback the specified savepoint. + ** If this is a temp-file, it is possible that the journal file has + ** not yet been opened. In this case there have been no changes to + ** the database file, so the playback operation can be skipped. + */ + else if( pagerUseWal(pPager) || isOpen(pPager->jfd) ){ + PagerSavepoint *pSavepoint = (nNew==0)?0:&pPager->aSavepoint[nNew-1]; + rc = pagerPlaybackSavepoint(pPager, pSavepoint); + assert(rc!=SQLITE_DONE); + } + +#ifdef SQLITE_ENABLE_ZIPVFS + /* If the cache has been modified but the savepoint cannot be rolled + ** back journal_mode=off, put the pager in the error state. This way, + ** if the VFS used by this pager includes ZipVFS, the entire transaction + ** can be rolled back at the ZipVFS level. */ + else if( + pPager->journalMode==PAGER_JOURNALMODE_OFF + && pPager->eState>=PAGER_WRITER_CACHEMOD + ){ + pPager->errCode = SQLITE_ABORT; + pPager->eState = PAGER_ERROR; + setGetterMethod(pPager); + } +#endif + } + + return rc; +} + +/* +** Return the full pathname of the database file. +** +** Except, if the pager is in-memory only, then return an empty string if +** nullIfMemDb is true. This routine is called with nullIfMemDb==1 when +** used to report the filename to the user, for compatibility with legacy +** behavior. But when the Btree needs to know the filename for matching to +** shared cache, it uses nullIfMemDb==0 so that in-memory databases can +** participate in shared-cache. +*/ +SQLITE_PRIVATE const char *sqlite3PagerFilename(Pager *pPager, int nullIfMemDb){ + return (nullIfMemDb && pPager->memDb) ? "" : pPager->zFilename; +} + +/* +** Return the VFS structure for the pager. +*/ +SQLITE_PRIVATE sqlite3_vfs *sqlite3PagerVfs(Pager *pPager){ + return pPager->pVfs; +} + +/* +** Return the file handle for the database file associated +** with the pager. This might return NULL if the file has +** not yet been opened. +*/ +SQLITE_PRIVATE sqlite3_file *sqlite3PagerFile(Pager *pPager){ + return pPager->fd; +} + +#ifdef SQLITE_ENABLE_SETLK_TIMEOUT +/* +** Reset the lock timeout for pager. +*/ +SQLITE_PRIVATE void sqlite3PagerResetLockTimeout(Pager *pPager){ + int x = 0; + sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_LOCK_TIMEOUT, &x); +} +#endif + +/* +** Return the file handle for the journal file (if it exists). +** This will be either the rollback journal or the WAL file. +*/ +SQLITE_PRIVATE sqlite3_file *sqlite3PagerJrnlFile(Pager *pPager){ +#if SQLITE_OMIT_WAL + return pPager->jfd; +#else + return pPager->pWal ? sqlite3WalFile(pPager->pWal) : pPager->jfd; +#endif +} + +/* +** Return the full pathname of the journal file. +*/ +SQLITE_PRIVATE const char *sqlite3PagerJournalname(Pager *pPager){ + return pPager->zJournal; +} + +#ifdef SQLITE_HAS_CODEC +/* +** Set or retrieve the codec for this pager +*/ +SQLITE_PRIVATE void sqlite3PagerSetCodec( + Pager *pPager, + void *(*xCodec)(void*,void*,Pgno,int), + void (*xCodecSizeChng)(void*,int,int), + void (*xCodecFree)(void*), + void *pCodec +){ + if( pPager->xCodecFree ){ + pPager->xCodecFree(pPager->pCodec); + }else{ + pager_reset(pPager); + } + pPager->xCodec = pPager->memDb ? 0 : xCodec; + pPager->xCodecSizeChng = xCodecSizeChng; + pPager->xCodecFree = xCodecFree; + pPager->pCodec = pCodec; + setGetterMethod(pPager); + pagerReportSize(pPager); +} +SQLITE_PRIVATE void *sqlite3PagerGetCodec(Pager *pPager){ + return pPager->pCodec; +} + +/* +** This function is called by the wal module when writing page content +** into the log file. +** +** This function returns a pointer to a buffer containing the encrypted +** page content. If a malloc fails, this function may return NULL. +*/ +SQLITE_PRIVATE void *sqlite3PagerCodec(PgHdr *pPg){ + void *aData = 0; + CODEC2(pPg->pPager, pPg->pData, pPg->pgno, 6, return 0, aData); + return aData; +} + +/* +** Return the current pager state +*/ +SQLITE_PRIVATE int sqlite3PagerState(Pager *pPager){ + return pPager->eState; +} +#endif /* SQLITE_HAS_CODEC */ + +#ifndef SQLITE_OMIT_AUTOVACUUM +/* +** Move the page pPg to location pgno in the file. +** +** There must be no references to the page previously located at +** pgno (which we call pPgOld) though that page is allowed to be +** in cache. If the page previously located at pgno is not already +** in the rollback journal, it is not put there by by this routine. +** +** References to the page pPg remain valid. Updating any +** meta-data associated with pPg (i.e. data stored in the nExtra bytes +** allocated along with the page) is the responsibility of the caller. +** +** A transaction must be active when this routine is called. It used to be +** required that a statement transaction was not active, but this restriction +** has been removed (CREATE INDEX needs to move a page when a statement +** transaction is active). +** +** If the fourth argument, isCommit, is non-zero, then this page is being +** moved as part of a database reorganization just before the transaction +** is being committed. In this case, it is guaranteed that the database page +** pPg refers to will not be written to again within this transaction. +** +** This function may return SQLITE_NOMEM or an IO error code if an error +** occurs. Otherwise, it returns SQLITE_OK. +*/ +SQLITE_PRIVATE int sqlite3PagerMovepage(Pager *pPager, DbPage *pPg, Pgno pgno, int isCommit){ + PgHdr *pPgOld; /* The page being overwritten. */ + Pgno needSyncPgno = 0; /* Old value of pPg->pgno, if sync is required */ + int rc; /* Return code */ + Pgno origPgno; /* The original page number */ + + assert( pPg->nRef>0 ); + assert( pPager->eState==PAGER_WRITER_CACHEMOD + || pPager->eState==PAGER_WRITER_DBMOD + ); + assert( assert_pager_state(pPager) ); + + /* In order to be able to rollback, an in-memory database must journal + ** the page we are moving from. + */ + assert( pPager->tempFile || !MEMDB ); + if( pPager->tempFile ){ + rc = sqlite3PagerWrite(pPg); + if( rc ) return rc; + } + + /* If the page being moved is dirty and has not been saved by the latest + ** savepoint, then save the current contents of the page into the + ** sub-journal now. This is required to handle the following scenario: + ** + ** BEGIN; + ** + ** SAVEPOINT one; + ** + ** ROLLBACK TO one; + ** + ** If page X were not written to the sub-journal here, it would not + ** be possible to restore its contents when the "ROLLBACK TO one" + ** statement were is processed. + ** + ** subjournalPage() may need to allocate space to store pPg->pgno into + ** one or more savepoint bitvecs. This is the reason this function + ** may return SQLITE_NOMEM. + */ + if( (pPg->flags & PGHDR_DIRTY)!=0 + && SQLITE_OK!=(rc = subjournalPageIfRequired(pPg)) + ){ + return rc; + } + + PAGERTRACE(("MOVE %d page %d (needSync=%d) moves to %d\n", + PAGERID(pPager), pPg->pgno, (pPg->flags&PGHDR_NEED_SYNC)?1:0, pgno)); + IOTRACE(("MOVE %p %d %d\n", pPager, pPg->pgno, pgno)) + + /* If the journal needs to be sync()ed before page pPg->pgno can + ** be written to, store pPg->pgno in local variable needSyncPgno. + ** + ** If the isCommit flag is set, there is no need to remember that + ** the journal needs to be sync()ed before database page pPg->pgno + ** can be written to. The caller has already promised not to write to it. + */ + if( (pPg->flags&PGHDR_NEED_SYNC) && !isCommit ){ + needSyncPgno = pPg->pgno; + assert( pPager->journalMode==PAGER_JOURNALMODE_OFF || + pageInJournal(pPager, pPg) || pPg->pgno>pPager->dbOrigSize ); + assert( pPg->flags&PGHDR_DIRTY ); + } + + /* If the cache contains a page with page-number pgno, remove it + ** from its hash chain. Also, if the PGHDR_NEED_SYNC flag was set for + ** page pgno before the 'move' operation, it needs to be retained + ** for the page moved there. + */ + pPg->flags &= ~PGHDR_NEED_SYNC; + pPgOld = sqlite3PagerLookup(pPager, pgno); + assert( !pPgOld || pPgOld->nRef==1 || CORRUPT_DB ); + if( pPgOld ){ + if( pPgOld->nRef>1 ){ + sqlite3PagerUnrefNotNull(pPgOld); + return SQLITE_CORRUPT_BKPT; + } + pPg->flags |= (pPgOld->flags&PGHDR_NEED_SYNC); + if( pPager->tempFile ){ + /* Do not discard pages from an in-memory database since we might + ** need to rollback later. Just move the page out of the way. */ + sqlite3PcacheMove(pPgOld, pPager->dbSize+1); + }else{ + sqlite3PcacheDrop(pPgOld); + } + } + + origPgno = pPg->pgno; + sqlite3PcacheMove(pPg, pgno); + sqlite3PcacheMakeDirty(pPg); + + /* For an in-memory database, make sure the original page continues + ** to exist, in case the transaction needs to roll back. Use pPgOld + ** as the original page since it has already been allocated. + */ + if( pPager->tempFile && pPgOld ){ + sqlite3PcacheMove(pPgOld, origPgno); + sqlite3PagerUnrefNotNull(pPgOld); + } + + if( needSyncPgno ){ + /* If needSyncPgno is non-zero, then the journal file needs to be + ** sync()ed before any data is written to database file page needSyncPgno. + ** Currently, no such page exists in the page-cache and the + ** "is journaled" bitvec flag has been set. This needs to be remedied by + ** loading the page into the pager-cache and setting the PGHDR_NEED_SYNC + ** flag. + ** + ** If the attempt to load the page into the page-cache fails, (due + ** to a malloc() or IO failure), clear the bit in the pInJournal[] + ** array. Otherwise, if the page is loaded and written again in + ** this transaction, it may be written to the database file before + ** it is synced into the journal file. This way, it may end up in + ** the journal file twice, but that is not a problem. + */ + PgHdr *pPgHdr; + rc = sqlite3PagerGet(pPager, needSyncPgno, &pPgHdr, 0); + if( rc!=SQLITE_OK ){ + if( needSyncPgno<=pPager->dbOrigSize ){ + assert( pPager->pTmpSpace!=0 ); + sqlite3BitvecClear(pPager->pInJournal, needSyncPgno, pPager->pTmpSpace); + } + return rc; + } + pPgHdr->flags |= PGHDR_NEED_SYNC; + sqlite3PcacheMakeDirty(pPgHdr); + sqlite3PagerUnrefNotNull(pPgHdr); + } + + return SQLITE_OK; +} +#endif + +/* +** The page handle passed as the first argument refers to a dirty page +** with a page number other than iNew. This function changes the page's +** page number to iNew and sets the value of the PgHdr.flags field to +** the value passed as the third parameter. +*/ +SQLITE_PRIVATE void sqlite3PagerRekey(DbPage *pPg, Pgno iNew, u16 flags){ + assert( pPg->pgno!=iNew ); + pPg->flags = flags; + sqlite3PcacheMove(pPg, iNew); +} + +/* +** Return a pointer to the data for the specified page. +*/ +SQLITE_PRIVATE void *sqlite3PagerGetData(DbPage *pPg){ + assert( pPg->nRef>0 || pPg->pPager->memDb ); + return pPg->pData; +} + +/* +** Return a pointer to the Pager.nExtra bytes of "extra" space +** allocated along with the specified page. +*/ +SQLITE_PRIVATE void *sqlite3PagerGetExtra(DbPage *pPg){ + return pPg->pExtra; +} + +/* +** Get/set the locking-mode for this pager. Parameter eMode must be one +** of PAGER_LOCKINGMODE_QUERY, PAGER_LOCKINGMODE_NORMAL or +** PAGER_LOCKINGMODE_EXCLUSIVE. If the parameter is not _QUERY, then +** the locking-mode is set to the value specified. +** +** The returned value is either PAGER_LOCKINGMODE_NORMAL or +** PAGER_LOCKINGMODE_EXCLUSIVE, indicating the current (possibly updated) +** locking-mode. +*/ +SQLITE_PRIVATE int sqlite3PagerLockingMode(Pager *pPager, int eMode){ + assert( eMode==PAGER_LOCKINGMODE_QUERY + || eMode==PAGER_LOCKINGMODE_NORMAL + || eMode==PAGER_LOCKINGMODE_EXCLUSIVE ); + assert( PAGER_LOCKINGMODE_QUERY<0 ); + assert( PAGER_LOCKINGMODE_NORMAL>=0 && PAGER_LOCKINGMODE_EXCLUSIVE>=0 ); + assert( pPager->exclusiveMode || 0==sqlite3WalHeapMemory(pPager->pWal) ); + if( eMode>=0 && !pPager->tempFile && !sqlite3WalHeapMemory(pPager->pWal) ){ + pPager->exclusiveMode = (u8)eMode; + } + return (int)pPager->exclusiveMode; +} + +/* +** Set the journal-mode for this pager. Parameter eMode must be one of: +** +** PAGER_JOURNALMODE_DELETE +** PAGER_JOURNALMODE_TRUNCATE +** PAGER_JOURNALMODE_PERSIST +** PAGER_JOURNALMODE_OFF +** PAGER_JOURNALMODE_MEMORY +** PAGER_JOURNALMODE_WAL +** +** The journalmode is set to the value specified if the change is allowed. +** The change may be disallowed for the following reasons: +** +** * An in-memory database can only have its journal_mode set to _OFF +** or _MEMORY. +** +** * Temporary databases cannot have _WAL journalmode. +** +** The returned indicate the current (possibly updated) journal-mode. +*/ +SQLITE_PRIVATE int sqlite3PagerSetJournalMode(Pager *pPager, int eMode){ + u8 eOld = pPager->journalMode; /* Prior journalmode */ + + /* The eMode parameter is always valid */ + assert( eMode==PAGER_JOURNALMODE_DELETE + || eMode==PAGER_JOURNALMODE_TRUNCATE + || eMode==PAGER_JOURNALMODE_PERSIST + || eMode==PAGER_JOURNALMODE_OFF + || eMode==PAGER_JOURNALMODE_WAL + || eMode==PAGER_JOURNALMODE_MEMORY ); + + /* This routine is only called from the OP_JournalMode opcode, and + ** the logic there will never allow a temporary file to be changed + ** to WAL mode. + */ + assert( pPager->tempFile==0 || eMode!=PAGER_JOURNALMODE_WAL ); + + /* Do allow the journalmode of an in-memory database to be set to + ** anything other than MEMORY or OFF + */ + if( MEMDB ){ + assert( eOld==PAGER_JOURNALMODE_MEMORY || eOld==PAGER_JOURNALMODE_OFF ); + if( eMode!=PAGER_JOURNALMODE_MEMORY && eMode!=PAGER_JOURNALMODE_OFF ){ + eMode = eOld; + } + } + + if( eMode!=eOld ){ + + /* Change the journal mode. */ + assert( pPager->eState!=PAGER_ERROR ); + pPager->journalMode = (u8)eMode; + + /* When transistioning from TRUNCATE or PERSIST to any other journal + ** mode except WAL, unless the pager is in locking_mode=exclusive mode, + ** delete the journal file. + */ + assert( (PAGER_JOURNALMODE_TRUNCATE & 5)==1 ); + assert( (PAGER_JOURNALMODE_PERSIST & 5)==1 ); + assert( (PAGER_JOURNALMODE_DELETE & 5)==0 ); + assert( (PAGER_JOURNALMODE_MEMORY & 5)==4 ); + assert( (PAGER_JOURNALMODE_OFF & 5)==0 ); + assert( (PAGER_JOURNALMODE_WAL & 5)==5 ); + + assert( isOpen(pPager->fd) || pPager->exclusiveMode ); + if( !pPager->exclusiveMode && (eOld & 5)==1 && (eMode & 1)==0 ){ + + /* In this case we would like to delete the journal file. If it is + ** not possible, then that is not a problem. Deleting the journal file + ** here is an optimization only. + ** + ** Before deleting the journal file, obtain a RESERVED lock on the + ** database file. This ensures that the journal file is not deleted + ** while it is in use by some other client. + */ + sqlite3OsClose(pPager->jfd); + if( pPager->eLock>=RESERVED_LOCK ){ + sqlite3OsDelete(pPager->pVfs, pPager->zJournal, 0); + }else{ + int rc = SQLITE_OK; + int state = pPager->eState; + assert( state==PAGER_OPEN || state==PAGER_READER ); + if( state==PAGER_OPEN ){ + rc = sqlite3PagerSharedLock(pPager); + } + if( pPager->eState==PAGER_READER ){ + assert( rc==SQLITE_OK ); + rc = pagerLockDb(pPager, RESERVED_LOCK); + } + if( rc==SQLITE_OK ){ + sqlite3OsDelete(pPager->pVfs, pPager->zJournal, 0); + } + if( rc==SQLITE_OK && state==PAGER_READER ){ + pagerUnlockDb(pPager, SHARED_LOCK); + }else if( state==PAGER_OPEN ){ + pager_unlock(pPager); + } + assert( state==pPager->eState ); + } + }else if( eMode==PAGER_JOURNALMODE_OFF ){ + sqlite3OsClose(pPager->jfd); + } + } + + /* Return the new journal mode */ + return (int)pPager->journalMode; +} + +/* +** Return the current journal mode. +*/ +SQLITE_PRIVATE int sqlite3PagerGetJournalMode(Pager *pPager){ + return (int)pPager->journalMode; +} + +/* +** Return TRUE if the pager is in a state where it is OK to change the +** journalmode. Journalmode changes can only happen when the database +** is unmodified. +*/ +SQLITE_PRIVATE int sqlite3PagerOkToChangeJournalMode(Pager *pPager){ + assert( assert_pager_state(pPager) ); + if( pPager->eState>=PAGER_WRITER_CACHEMOD ) return 0; + if( NEVER(isOpen(pPager->jfd) && pPager->journalOff>0) ) return 0; + return 1; +} + +/* +** Get/set the size-limit used for persistent journal files. +** +** Setting the size limit to -1 means no limit is enforced. +** An attempt to set a limit smaller than -1 is a no-op. +*/ +SQLITE_PRIVATE i64 sqlite3PagerJournalSizeLimit(Pager *pPager, i64 iLimit){ + if( iLimit>=-1 ){ + pPager->journalSizeLimit = iLimit; + sqlite3WalLimit(pPager->pWal, iLimit); + } + return pPager->journalSizeLimit; +} + +/* +** Return a pointer to the pPager->pBackup variable. The backup module +** in backup.c maintains the content of this variable. This module +** uses it opaquely as an argument to sqlite3BackupRestart() and +** sqlite3BackupUpdate() only. +*/ +SQLITE_PRIVATE sqlite3_backup **sqlite3PagerBackupPtr(Pager *pPager){ + return &pPager->pBackup; +} + +#ifndef SQLITE_OMIT_VACUUM +/* +** Unless this is an in-memory or temporary database, clear the pager cache. +*/ +SQLITE_PRIVATE void sqlite3PagerClearCache(Pager *pPager){ + assert( MEMDB==0 || pPager->tempFile ); + if( pPager->tempFile==0 ) pager_reset(pPager); +} +#endif + + +#ifndef SQLITE_OMIT_WAL +/* +** This function is called when the user invokes "PRAGMA wal_checkpoint", +** "PRAGMA wal_blocking_checkpoint" or calls the sqlite3_wal_checkpoint() +** or wal_blocking_checkpoint() API functions. +** +** Parameter eMode is one of SQLITE_CHECKPOINT_PASSIVE, FULL or RESTART. +*/ +SQLITE_PRIVATE int sqlite3PagerCheckpoint( + Pager *pPager, /* Checkpoint on this pager */ + sqlite3 *db, /* Db handle used to check for interrupts */ + int eMode, /* Type of checkpoint */ + int *pnLog, /* OUT: Final number of frames in log */ + int *pnCkpt /* OUT: Final number of checkpointed frames */ +){ + int rc = SQLITE_OK; + if( pPager->pWal ){ + rc = sqlite3WalCheckpoint(pPager->pWal, db, eMode, + (eMode==SQLITE_CHECKPOINT_PASSIVE ? 0 : pPager->xBusyHandler), + pPager->pBusyHandlerArg, + pPager->walSyncFlags, pPager->pageSize, (u8 *)pPager->pTmpSpace, + pnLog, pnCkpt + ); + sqlite3PagerResetLockTimeout(pPager); + } + return rc; +} + +SQLITE_PRIVATE int sqlite3PagerWalCallback(Pager *pPager){ + return sqlite3WalCallback(pPager->pWal); +} + +/* +** Return true if the underlying VFS for the given pager supports the +** primitives necessary for write-ahead logging. +*/ +SQLITE_PRIVATE int sqlite3PagerWalSupported(Pager *pPager){ + const sqlite3_io_methods *pMethods = pPager->fd->pMethods; + if( pPager->noLock ) return 0; + return pPager->exclusiveMode || (pMethods->iVersion>=2 && pMethods->xShmMap); +} + +/* +** Attempt to take an exclusive lock on the database file. If a PENDING lock +** is obtained instead, immediately release it. +*/ +static int pagerExclusiveLock(Pager *pPager){ + int rc; /* Return code */ + + assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK ); + rc = pagerLockDb(pPager, EXCLUSIVE_LOCK); + if( rc!=SQLITE_OK ){ + /* If the attempt to grab the exclusive lock failed, release the + ** pending lock that may have been obtained instead. */ + pagerUnlockDb(pPager, SHARED_LOCK); + } + + return rc; +} + +/* +** Call sqlite3WalOpen() to open the WAL handle. If the pager is in +** exclusive-locking mode when this function is called, take an EXCLUSIVE +** lock on the database file and use heap-memory to store the wal-index +** in. Otherwise, use the normal shared-memory. +*/ +static int pagerOpenWal(Pager *pPager){ + int rc = SQLITE_OK; + + assert( pPager->pWal==0 && pPager->tempFile==0 ); + assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK ); + + /* If the pager is already in exclusive-mode, the WAL module will use + ** heap-memory for the wal-index instead of the VFS shared-memory + ** implementation. Take the exclusive lock now, before opening the WAL + ** file, to make sure this is safe. + */ + if( pPager->exclusiveMode ){ + rc = pagerExclusiveLock(pPager); + } + + /* Open the connection to the log file. If this operation fails, + ** (e.g. due to malloc() failure), return an error code. + */ + if( rc==SQLITE_OK ){ + rc = sqlite3WalOpen(pPager->pVfs, + pPager->fd, pPager->zWal, pPager->exclusiveMode, + pPager->journalSizeLimit, &pPager->pWal + ); + } + pagerFixMaplimit(pPager); + + return rc; +} + + +/* +** The caller must be holding a SHARED lock on the database file to call +** this function. +** +** If the pager passed as the first argument is open on a real database +** file (not a temp file or an in-memory database), and the WAL file +** is not already open, make an attempt to open it now. If successful, +** return SQLITE_OK. If an error occurs or the VFS used by the pager does +** not support the xShmXXX() methods, return an error code. *pbOpen is +** not modified in either case. +** +** If the pager is open on a temp-file (or in-memory database), or if +** the WAL file is already open, set *pbOpen to 1 and return SQLITE_OK +** without doing anything. +*/ +SQLITE_PRIVATE int sqlite3PagerOpenWal( + Pager *pPager, /* Pager object */ + int *pbOpen /* OUT: Set to true if call is a no-op */ +){ + int rc = SQLITE_OK; /* Return code */ + + assert( assert_pager_state(pPager) ); + assert( pPager->eState==PAGER_OPEN || pbOpen ); + assert( pPager->eState==PAGER_READER || !pbOpen ); + assert( pbOpen==0 || *pbOpen==0 ); + assert( pbOpen!=0 || (!pPager->tempFile && !pPager->pWal) ); + + if( !pPager->tempFile && !pPager->pWal ){ + if( !sqlite3PagerWalSupported(pPager) ) return SQLITE_CANTOPEN; + + /* Close any rollback journal previously open */ + sqlite3OsClose(pPager->jfd); + + rc = pagerOpenWal(pPager); + if( rc==SQLITE_OK ){ + pPager->journalMode = PAGER_JOURNALMODE_WAL; + pPager->eState = PAGER_OPEN; + } + }else{ + *pbOpen = 1; + } + + return rc; +} + +/* +** This function is called to close the connection to the log file prior +** to switching from WAL to rollback mode. +** +** Before closing the log file, this function attempts to take an +** EXCLUSIVE lock on the database file. If this cannot be obtained, an +** error (SQLITE_BUSY) is returned and the log connection is not closed. +** If successful, the EXCLUSIVE lock is not released before returning. +*/ +SQLITE_PRIVATE int sqlite3PagerCloseWal(Pager *pPager, sqlite3 *db){ + int rc = SQLITE_OK; + + assert( pPager->journalMode==PAGER_JOURNALMODE_WAL ); + + /* If the log file is not already open, but does exist in the file-system, + ** it may need to be checkpointed before the connection can switch to + ** rollback mode. Open it now so this can happen. + */ + if( !pPager->pWal ){ + int logexists = 0; + rc = pagerLockDb(pPager, SHARED_LOCK); + if( rc==SQLITE_OK ){ + rc = sqlite3OsAccess( + pPager->pVfs, pPager->zWal, SQLITE_ACCESS_EXISTS, &logexists + ); + } + if( rc==SQLITE_OK && logexists ){ + rc = pagerOpenWal(pPager); + } + } + + /* Checkpoint and close the log. Because an EXCLUSIVE lock is held on + ** the database file, the log and log-summary files will be deleted. + */ + if( rc==SQLITE_OK && pPager->pWal ){ + rc = pagerExclusiveLock(pPager); + if( rc==SQLITE_OK ){ + rc = sqlite3WalClose(pPager->pWal, db, pPager->walSyncFlags, + pPager->pageSize, (u8*)pPager->pTmpSpace); + pPager->pWal = 0; + pagerFixMaplimit(pPager); + if( rc && !pPager->exclusiveMode ) pagerUnlockDb(pPager, SHARED_LOCK); + } + } + return rc; +} + +#ifdef SQLITE_ENABLE_SNAPSHOT +/* +** If this is a WAL database, obtain a snapshot handle for the snapshot +** currently open. Otherwise, return an error. +*/ +SQLITE_PRIVATE int sqlite3PagerSnapshotGet(Pager *pPager, sqlite3_snapshot **ppSnapshot){ + int rc = SQLITE_ERROR; + if( pPager->pWal ){ + rc = sqlite3WalSnapshotGet(pPager->pWal, ppSnapshot); + } + return rc; +} + +/* +** If this is a WAL database, store a pointer to pSnapshot. Next time a +** read transaction is opened, attempt to read from the snapshot it +** identifies. If this is not a WAL database, return an error. +*/ +SQLITE_PRIVATE int sqlite3PagerSnapshotOpen(Pager *pPager, sqlite3_snapshot *pSnapshot){ + int rc = SQLITE_OK; + if( pPager->pWal ){ + sqlite3WalSnapshotOpen(pPager->pWal, pSnapshot); + }else{ + rc = SQLITE_ERROR; + } + return rc; +} + +/* +** If this is a WAL database, call sqlite3WalSnapshotRecover(). If this +** is not a WAL database, return an error. +*/ +SQLITE_PRIVATE int sqlite3PagerSnapshotRecover(Pager *pPager){ + int rc; + if( pPager->pWal ){ + rc = sqlite3WalSnapshotRecover(pPager->pWal); + }else{ + rc = SQLITE_ERROR; + } + return rc; +} + +/* +** The caller currently has a read transaction open on the database. +** If this is not a WAL database, SQLITE_ERROR is returned. Otherwise, +** this function takes a SHARED lock on the CHECKPOINTER slot and then +** checks if the snapshot passed as the second argument is still +** available. If so, SQLITE_OK is returned. +** +** If the snapshot is not available, SQLITE_ERROR is returned. Or, if +** the CHECKPOINTER lock cannot be obtained, SQLITE_BUSY. If any error +** occurs (any value other than SQLITE_OK is returned), the CHECKPOINTER +** lock is released before returning. +*/ +SQLITE_PRIVATE int sqlite3PagerSnapshotCheck(Pager *pPager, sqlite3_snapshot *pSnapshot){ + int rc; + if( pPager->pWal ){ + rc = sqlite3WalSnapshotCheck(pPager->pWal, pSnapshot); + }else{ + rc = SQLITE_ERROR; + } + return rc; +} + +/* +** Release a lock obtained by an earlier successful call to +** sqlite3PagerSnapshotCheck(). +*/ +SQLITE_PRIVATE void sqlite3PagerSnapshotUnlock(Pager *pPager){ + assert( pPager->pWal ); + sqlite3WalSnapshotUnlock(pPager->pWal); +} + +#endif /* SQLITE_ENABLE_SNAPSHOT */ +#endif /* !SQLITE_OMIT_WAL */ + +#ifdef SQLITE_ENABLE_ZIPVFS +/* +** A read-lock must be held on the pager when this function is called. If +** the pager is in WAL mode and the WAL file currently contains one or more +** frames, return the size in bytes of the page images stored within the +** WAL frames. Otherwise, if this is not a WAL database or the WAL file +** is empty, return 0. +*/ +SQLITE_PRIVATE int sqlite3PagerWalFramesize(Pager *pPager){ + assert( pPager->eState>=PAGER_READER ); + return sqlite3WalFramesize(pPager->pWal); +} +#endif + +#endif /* SQLITE_OMIT_DISKIO */ + +/************** End of pager.c ***********************************************/ +/************** Begin file wal.c *********************************************/ +/* +** 2010 February 1 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains the implementation of a write-ahead log (WAL) used in +** "journal_mode=WAL" mode. +** +** WRITE-AHEAD LOG (WAL) FILE FORMAT +** +** A WAL file consists of a header followed by zero or more "frames". +** Each frame records the revised content of a single page from the +** database file. All changes to the database are recorded by writing +** frames into the WAL. Transactions commit when a frame is written that +** contains a commit marker. A single WAL can and usually does record +** multiple transactions. Periodically, the content of the WAL is +** transferred back into the database file in an operation called a +** "checkpoint". +** +** A single WAL file can be used multiple times. In other words, the +** WAL can fill up with frames and then be checkpointed and then new +** frames can overwrite the old ones. A WAL always grows from beginning +** toward the end. Checksums and counters attached to each frame are +** used to determine which frames within the WAL are valid and which +** are leftovers from prior checkpoints. +** +** The WAL header is 32 bytes in size and consists of the following eight +** big-endian 32-bit unsigned integer values: +** +** 0: Magic number. 0x377f0682 or 0x377f0683 +** 4: File format version. Currently 3007000 +** 8: Database page size. Example: 1024 +** 12: Checkpoint sequence number +** 16: Salt-1, random integer incremented with each checkpoint +** 20: Salt-2, a different random integer changing with each ckpt +** 24: Checksum-1 (first part of checksum for first 24 bytes of header). +** 28: Checksum-2 (second part of checksum for first 24 bytes of header). +** +** Immediately following the wal-header are zero or more frames. Each +** frame consists of a 24-byte frame-header followed by a bytes +** of page data. The frame-header is six big-endian 32-bit unsigned +** integer values, as follows: +** +** 0: Page number. +** 4: For commit records, the size of the database image in pages +** after the commit. For all other records, zero. +** 8: Salt-1 (copied from the header) +** 12: Salt-2 (copied from the header) +** 16: Checksum-1. +** 20: Checksum-2. +** +** A frame is considered valid if and only if the following conditions are +** true: +** +** (1) The salt-1 and salt-2 values in the frame-header match +** salt values in the wal-header +** +** (2) The checksum values in the final 8 bytes of the frame-header +** exactly match the checksum computed consecutively on the +** WAL header and the first 8 bytes and the content of all frames +** up to and including the current frame. +** +** The checksum is computed using 32-bit big-endian integers if the +** magic number in the first 4 bytes of the WAL is 0x377f0683 and it +** is computed using little-endian if the magic number is 0x377f0682. +** The checksum values are always stored in the frame header in a +** big-endian format regardless of which byte order is used to compute +** the checksum. The checksum is computed by interpreting the input as +** an even number of unsigned 32-bit integers: x[0] through x[N]. The +** algorithm used for the checksum is as follows: +** +** for i from 0 to n-1 step 2: +** s0 += x[i] + s1; +** s1 += x[i+1] + s0; +** endfor +** +** Note that s0 and s1 are both weighted checksums using fibonacci weights +** in reverse order (the largest fibonacci weight occurs on the first element +** of the sequence being summed.) The s1 value spans all 32-bit +** terms of the sequence whereas s0 omits the final term. +** +** On a checkpoint, the WAL is first VFS.xSync-ed, then valid content of the +** WAL is transferred into the database, then the database is VFS.xSync-ed. +** The VFS.xSync operations serve as write barriers - all writes launched +** before the xSync must complete before any write that launches after the +** xSync begins. +** +** After each checkpoint, the salt-1 value is incremented and the salt-2 +** value is randomized. This prevents old and new frames in the WAL from +** being considered valid at the same time and being checkpointing together +** following a crash. +** +** READER ALGORITHM +** +** To read a page from the database (call it page number P), a reader +** first checks the WAL to see if it contains page P. If so, then the +** last valid instance of page P that is a followed by a commit frame +** or is a commit frame itself becomes the value read. If the WAL +** contains no copies of page P that are valid and which are a commit +** frame or are followed by a commit frame, then page P is read from +** the database file. +** +** To start a read transaction, the reader records the index of the last +** valid frame in the WAL. The reader uses this recorded "mxFrame" value +** for all subsequent read operations. New transactions can be appended +** to the WAL, but as long as the reader uses its original mxFrame value +** and ignores the newly appended content, it will see a consistent snapshot +** of the database from a single point in time. This technique allows +** multiple concurrent readers to view different versions of the database +** content simultaneously. +** +** The reader algorithm in the previous paragraphs works correctly, but +** because frames for page P can appear anywhere within the WAL, the +** reader has to scan the entire WAL looking for page P frames. If the +** WAL is large (multiple megabytes is typical) that scan can be slow, +** and read performance suffers. To overcome this problem, a separate +** data structure called the wal-index is maintained to expedite the +** search for frames of a particular page. +** +** WAL-INDEX FORMAT +** +** Conceptually, the wal-index is shared memory, though VFS implementations +** might choose to implement the wal-index using a mmapped file. Because +** the wal-index is shared memory, SQLite does not support journal_mode=WAL +** on a network filesystem. All users of the database must be able to +** share memory. +** +** In the default unix and windows implementation, the wal-index is a mmapped +** file whose name is the database name with a "-shm" suffix added. For that +** reason, the wal-index is sometimes called the "shm" file. +** +** The wal-index is transient. After a crash, the wal-index can (and should +** be) reconstructed from the original WAL file. In fact, the VFS is required +** to either truncate or zero the header of the wal-index when the last +** connection to it closes. Because the wal-index is transient, it can +** use an architecture-specific format; it does not have to be cross-platform. +** Hence, unlike the database and WAL file formats which store all values +** as big endian, the wal-index can store multi-byte values in the native +** byte order of the host computer. +** +** The purpose of the wal-index is to answer this question quickly: Given +** a page number P and a maximum frame index M, return the index of the +** last frame in the wal before frame M for page P in the WAL, or return +** NULL if there are no frames for page P in the WAL prior to M. +** +** The wal-index consists of a header region, followed by an one or +** more index blocks. +** +** The wal-index header contains the total number of frames within the WAL +** in the mxFrame field. +** +** Each index block except for the first contains information on +** HASHTABLE_NPAGE frames. The first index block contains information on +** HASHTABLE_NPAGE_ONE frames. The values of HASHTABLE_NPAGE_ONE and +** HASHTABLE_NPAGE are selected so that together the wal-index header and +** first index block are the same size as all other index blocks in the +** wal-index. +** +** Each index block contains two sections, a page-mapping that contains the +** database page number associated with each wal frame, and a hash-table +** that allows readers to query an index block for a specific page number. +** The page-mapping is an array of HASHTABLE_NPAGE (or HASHTABLE_NPAGE_ONE +** for the first index block) 32-bit page numbers. The first entry in the +** first index-block contains the database page number corresponding to the +** first frame in the WAL file. The first entry in the second index block +** in the WAL file corresponds to the (HASHTABLE_NPAGE_ONE+1)th frame in +** the log, and so on. +** +** The last index block in a wal-index usually contains less than the full +** complement of HASHTABLE_NPAGE (or HASHTABLE_NPAGE_ONE) page-numbers, +** depending on the contents of the WAL file. This does not change the +** allocated size of the page-mapping array - the page-mapping array merely +** contains unused entries. +** +** Even without using the hash table, the last frame for page P +** can be found by scanning the page-mapping sections of each index block +** starting with the last index block and moving toward the first, and +** within each index block, starting at the end and moving toward the +** beginning. The first entry that equals P corresponds to the frame +** holding the content for that page. +** +** The hash table consists of HASHTABLE_NSLOT 16-bit unsigned integers. +** HASHTABLE_NSLOT = 2*HASHTABLE_NPAGE, and there is one entry in the +** hash table for each page number in the mapping section, so the hash +** table is never more than half full. The expected number of collisions +** prior to finding a match is 1. Each entry of the hash table is an +** 1-based index of an entry in the mapping section of the same +** index block. Let K be the 1-based index of the largest entry in +** the mapping section. (For index blocks other than the last, K will +** always be exactly HASHTABLE_NPAGE (4096) and for the last index block +** K will be (mxFrame%HASHTABLE_NPAGE).) Unused slots of the hash table +** contain a value of 0. +** +** To look for page P in the hash table, first compute a hash iKey on +** P as follows: +** +** iKey = (P * 383) % HASHTABLE_NSLOT +** +** Then start scanning entries of the hash table, starting with iKey +** (wrapping around to the beginning when the end of the hash table is +** reached) until an unused hash slot is found. Let the first unused slot +** be at index iUnused. (iUnused might be less than iKey if there was +** wrap-around.) Because the hash table is never more than half full, +** the search is guaranteed to eventually hit an unused entry. Let +** iMax be the value between iKey and iUnused, closest to iUnused, +** where aHash[iMax]==P. If there is no iMax entry (if there exists +** no hash slot such that aHash[i]==p) then page P is not in the +** current index block. Otherwise the iMax-th mapping entry of the +** current index block corresponds to the last entry that references +** page P. +** +** A hash search begins with the last index block and moves toward the +** first index block, looking for entries corresponding to page P. On +** average, only two or three slots in each index block need to be +** examined in order to either find the last entry for page P, or to +** establish that no such entry exists in the block. Each index block +** holds over 4000 entries. So two or three index blocks are sufficient +** to cover a typical 10 megabyte WAL file, assuming 1K pages. 8 or 10 +** comparisons (on average) suffice to either locate a frame in the +** WAL or to establish that the frame does not exist in the WAL. This +** is much faster than scanning the entire 10MB WAL. +** +** Note that entries are added in order of increasing K. Hence, one +** reader might be using some value K0 and a second reader that started +** at a later time (after additional transactions were added to the WAL +** and to the wal-index) might be using a different value K1, where K1>K0. +** Both readers can use the same hash table and mapping section to get +** the correct result. There may be entries in the hash table with +** K>K0 but to the first reader, those entries will appear to be unused +** slots in the hash table and so the first reader will get an answer as +** if no values greater than K0 had ever been inserted into the hash table +** in the first place - which is what reader one wants. Meanwhile, the +** second reader using K1 will see additional values that were inserted +** later, which is exactly what reader two wants. +** +** When a rollback occurs, the value of K is decreased. Hash table entries +** that correspond to frames greater than the new K value are removed +** from the hash table at this point. +*/ +#ifndef SQLITE_OMIT_WAL + +/* #include "wal.h" */ + +/* +** Trace output macros +*/ +#if defined(SQLITE_TEST) && defined(SQLITE_DEBUG) +SQLITE_PRIVATE int sqlite3WalTrace = 0; +# define WALTRACE(X) if(sqlite3WalTrace) sqlite3DebugPrintf X +#else +# define WALTRACE(X) +#endif + +/* +** WAL mode depends on atomic aligned 32-bit loads and stores in a few +** places. The following macros try to make this explicit. +*/ +#if GCC_VESRION>=5004000 +# define AtomicLoad(PTR) __atomic_load_n((PTR),__ATOMIC_RELAXED) +# define AtomicStore(PTR,VAL) __atomic_store_n((PTR),(VAL),__ATOMIC_RELAXED) +#else +# define AtomicLoad(PTR) (*(PTR)) +# define AtomicStore(PTR,VAL) (*(PTR) = (VAL)) +#endif + +/* +** The maximum (and only) versions of the wal and wal-index formats +** that may be interpreted by this version of SQLite. +** +** If a client begins recovering a WAL file and finds that (a) the checksum +** values in the wal-header are correct and (b) the version field is not +** WAL_MAX_VERSION, recovery fails and SQLite returns SQLITE_CANTOPEN. +** +** Similarly, if a client successfully reads a wal-index header (i.e. the +** checksum test is successful) and finds that the version field is not +** WALINDEX_MAX_VERSION, then no read-transaction is opened and SQLite +** returns SQLITE_CANTOPEN. +*/ +#define WAL_MAX_VERSION 3007000 +#define WALINDEX_MAX_VERSION 3007000 + +/* +** Index numbers for various locking bytes. WAL_NREADER is the number +** of available reader locks and should be at least 3. The default +** is SQLITE_SHM_NLOCK==8 and WAL_NREADER==5. +** +** Technically, the various VFSes are free to implement these locks however +** they see fit. However, compatibility is encouraged so that VFSes can +** interoperate. The standard implemention used on both unix and windows +** is for the index number to indicate a byte offset into the +** WalCkptInfo.aLock[] array in the wal-index header. In other words, all +** locks are on the shm file. The WALINDEX_LOCK_OFFSET constant (which +** should be 120) is the location in the shm file for the first locking +** byte. +*/ +#define WAL_WRITE_LOCK 0 +#define WAL_ALL_BUT_WRITE 1 +#define WAL_CKPT_LOCK 1 +#define WAL_RECOVER_LOCK 2 +#define WAL_READ_LOCK(I) (3+(I)) +#define WAL_NREADER (SQLITE_SHM_NLOCK-3) + + +/* Object declarations */ +typedef struct WalIndexHdr WalIndexHdr; +typedef struct WalIterator WalIterator; +typedef struct WalCkptInfo WalCkptInfo; + + +/* +** The following object holds a copy of the wal-index header content. +** +** The actual header in the wal-index consists of two copies of this +** object followed by one instance of the WalCkptInfo object. +** For all versions of SQLite through 3.10.0 and probably beyond, +** the locking bytes (WalCkptInfo.aLock) start at offset 120 and +** the total header size is 136 bytes. +** +** The szPage value can be any power of 2 between 512 and 32768, inclusive. +** Or it can be 1 to represent a 65536-byte page. The latter case was +** added in 3.7.1 when support for 64K pages was added. +*/ +struct WalIndexHdr { + u32 iVersion; /* Wal-index version */ + u32 unused; /* Unused (padding) field */ + u32 iChange; /* Counter incremented each transaction */ + u8 isInit; /* 1 when initialized */ + u8 bigEndCksum; /* True if checksums in WAL are big-endian */ + u16 szPage; /* Database page size in bytes. 1==64K */ + u32 mxFrame; /* Index of last valid frame in the WAL */ + u32 nPage; /* Size of database in pages */ + u32 aFrameCksum[2]; /* Checksum of last frame in log */ + u32 aSalt[2]; /* Two salt values copied from WAL header */ + u32 aCksum[2]; /* Checksum over all prior fields */ +}; + +/* +** A copy of the following object occurs in the wal-index immediately +** following the second copy of the WalIndexHdr. This object stores +** information used by checkpoint. +** +** nBackfill is the number of frames in the WAL that have been written +** back into the database. (We call the act of moving content from WAL to +** database "backfilling".) The nBackfill number is never greater than +** WalIndexHdr.mxFrame. nBackfill can only be increased by threads +** holding the WAL_CKPT_LOCK lock (which includes a recovery thread). +** However, a WAL_WRITE_LOCK thread can move the value of nBackfill from +** mxFrame back to zero when the WAL is reset. +** +** nBackfillAttempted is the largest value of nBackfill that a checkpoint +** has attempted to achieve. Normally nBackfill==nBackfillAtempted, however +** the nBackfillAttempted is set before any backfilling is done and the +** nBackfill is only set after all backfilling completes. So if a checkpoint +** crashes, nBackfillAttempted might be larger than nBackfill. The +** WalIndexHdr.mxFrame must never be less than nBackfillAttempted. +** +** The aLock[] field is a set of bytes used for locking. These bytes should +** never be read or written. +** +** There is one entry in aReadMark[] for each reader lock. If a reader +** holds read-lock K, then the value in aReadMark[K] is no greater than +** the mxFrame for that reader. The value READMARK_NOT_USED (0xffffffff) +** for any aReadMark[] means that entry is unused. aReadMark[0] is +** a special case; its value is never used and it exists as a place-holder +** to avoid having to offset aReadMark[] indexs by one. Readers holding +** WAL_READ_LOCK(0) always ignore the entire WAL and read all content +** directly from the database. +** +** The value of aReadMark[K] may only be changed by a thread that +** is holding an exclusive lock on WAL_READ_LOCK(K). Thus, the value of +** aReadMark[K] cannot changed while there is a reader is using that mark +** since the reader will be holding a shared lock on WAL_READ_LOCK(K). +** +** The checkpointer may only transfer frames from WAL to database where +** the frame numbers are less than or equal to every aReadMark[] that is +** in use (that is, every aReadMark[j] for which there is a corresponding +** WAL_READ_LOCK(j)). New readers (usually) pick the aReadMark[] with the +** largest value and will increase an unused aReadMark[] to mxFrame if there +** is not already an aReadMark[] equal to mxFrame. The exception to the +** previous sentence is when nBackfill equals mxFrame (meaning that everything +** in the WAL has been backfilled into the database) then new readers +** will choose aReadMark[0] which has value 0 and hence such reader will +** get all their all content directly from the database file and ignore +** the WAL. +** +** Writers normally append new frames to the end of the WAL. However, +** if nBackfill equals mxFrame (meaning that all WAL content has been +** written back into the database) and if no readers are using the WAL +** (in other words, if there are no WAL_READ_LOCK(i) where i>0) then +** the writer will first "reset" the WAL back to the beginning and start +** writing new content beginning at frame 1. +** +** We assume that 32-bit loads are atomic and so no locks are needed in +** order to read from any aReadMark[] entries. +*/ +struct WalCkptInfo { + u32 nBackfill; /* Number of WAL frames backfilled into DB */ + u32 aReadMark[WAL_NREADER]; /* Reader marks */ + u8 aLock[SQLITE_SHM_NLOCK]; /* Reserved space for locks */ + u32 nBackfillAttempted; /* WAL frames perhaps written, or maybe not */ + u32 notUsed0; /* Available for future enhancements */ +}; +#define READMARK_NOT_USED 0xffffffff + + +/* A block of WALINDEX_LOCK_RESERVED bytes beginning at +** WALINDEX_LOCK_OFFSET is reserved for locks. Since some systems +** only support mandatory file-locks, we do not read or write data +** from the region of the file on which locks are applied. +*/ +#define WALINDEX_LOCK_OFFSET (sizeof(WalIndexHdr)*2+offsetof(WalCkptInfo,aLock)) +#define WALINDEX_HDR_SIZE (sizeof(WalIndexHdr)*2+sizeof(WalCkptInfo)) + +/* Size of header before each frame in wal */ +#define WAL_FRAME_HDRSIZE 24 + +/* Size of write ahead log header, including checksum. */ +#define WAL_HDRSIZE 32 + +/* WAL magic value. Either this value, or the same value with the least +** significant bit also set (WAL_MAGIC | 0x00000001) is stored in 32-bit +** big-endian format in the first 4 bytes of a WAL file. +** +** If the LSB is set, then the checksums for each frame within the WAL +** file are calculated by treating all data as an array of 32-bit +** big-endian words. Otherwise, they are calculated by interpreting +** all data as 32-bit little-endian words. +*/ +#define WAL_MAGIC 0x377f0682 + +/* +** Return the offset of frame iFrame in the write-ahead log file, +** assuming a database page size of szPage bytes. The offset returned +** is to the start of the write-ahead log frame-header. +*/ +#define walFrameOffset(iFrame, szPage) ( \ + WAL_HDRSIZE + ((iFrame)-1)*(i64)((szPage)+WAL_FRAME_HDRSIZE) \ +) + +/* +** An open write-ahead log file is represented by an instance of the +** following object. +*/ +struct Wal { + sqlite3_vfs *pVfs; /* The VFS used to create pDbFd */ + sqlite3_file *pDbFd; /* File handle for the database file */ + sqlite3_file *pWalFd; /* File handle for WAL file */ + u32 iCallback; /* Value to pass to log callback (or 0) */ + i64 mxWalSize; /* Truncate WAL to this size upon reset */ + int nWiData; /* Size of array apWiData */ + int szFirstBlock; /* Size of first block written to WAL file */ + volatile u32 **apWiData; /* Pointer to wal-index content in memory */ + u32 szPage; /* Database page size */ + i16 readLock; /* Which read lock is being held. -1 for none */ + u8 syncFlags; /* Flags to use to sync header writes */ + u8 exclusiveMode; /* Non-zero if connection is in exclusive mode */ + u8 writeLock; /* True if in a write transaction */ + u8 ckptLock; /* True if holding a checkpoint lock */ + u8 readOnly; /* WAL_RDWR, WAL_RDONLY, or WAL_SHM_RDONLY */ + u8 truncateOnCommit; /* True to truncate WAL file on commit */ + u8 syncHeader; /* Fsync the WAL header if true */ + u8 padToSectorBoundary; /* Pad transactions out to the next sector */ + u8 bShmUnreliable; /* SHM content is read-only and unreliable */ + WalIndexHdr hdr; /* Wal-index header for current transaction */ + u32 minFrame; /* Ignore wal frames before this one */ + u32 iReCksum; /* On commit, recalculate checksums from here */ + const char *zWalName; /* Name of WAL file */ + u32 nCkpt; /* Checkpoint sequence counter in the wal-header */ +#ifdef SQLITE_DEBUG + u8 lockError; /* True if a locking error has occurred */ +#endif +#ifdef SQLITE_ENABLE_SNAPSHOT + WalIndexHdr *pSnapshot; /* Start transaction here if not NULL */ +#endif +}; + +/* +** Candidate values for Wal.exclusiveMode. +*/ +#define WAL_NORMAL_MODE 0 +#define WAL_EXCLUSIVE_MODE 1 +#define WAL_HEAPMEMORY_MODE 2 + +/* +** Possible values for WAL.readOnly +*/ +#define WAL_RDWR 0 /* Normal read/write connection */ +#define WAL_RDONLY 1 /* The WAL file is readonly */ +#define WAL_SHM_RDONLY 2 /* The SHM file is readonly */ + +/* +** Each page of the wal-index mapping contains a hash-table made up of +** an array of HASHTABLE_NSLOT elements of the following type. +*/ +typedef u16 ht_slot; + +/* +** This structure is used to implement an iterator that loops through +** all frames in the WAL in database page order. Where two or more frames +** correspond to the same database page, the iterator visits only the +** frame most recently written to the WAL (in other words, the frame with +** the largest index). +** +** The internals of this structure are only accessed by: +** +** walIteratorInit() - Create a new iterator, +** walIteratorNext() - Step an iterator, +** walIteratorFree() - Free an iterator. +** +** This functionality is used by the checkpoint code (see walCheckpoint()). +*/ +struct WalIterator { + int iPrior; /* Last result returned from the iterator */ + int nSegment; /* Number of entries in aSegment[] */ + struct WalSegment { + int iNext; /* Next slot in aIndex[] not yet returned */ + ht_slot *aIndex; /* i0, i1, i2... such that aPgno[iN] ascend */ + u32 *aPgno; /* Array of page numbers. */ + int nEntry; /* Nr. of entries in aPgno[] and aIndex[] */ + int iZero; /* Frame number associated with aPgno[0] */ + } aSegment[1]; /* One for every 32KB page in the wal-index */ +}; + +/* +** Define the parameters of the hash tables in the wal-index file. There +** is a hash-table following every HASHTABLE_NPAGE page numbers in the +** wal-index. +** +** Changing any of these constants will alter the wal-index format and +** create incompatibilities. +*/ +#define HASHTABLE_NPAGE 4096 /* Must be power of 2 */ +#define HASHTABLE_HASH_1 383 /* Should be prime */ +#define HASHTABLE_NSLOT (HASHTABLE_NPAGE*2) /* Must be a power of 2 */ + +/* +** The block of page numbers associated with the first hash-table in a +** wal-index is smaller than usual. This is so that there is a complete +** hash-table on each aligned 32KB page of the wal-index. +*/ +#define HASHTABLE_NPAGE_ONE (HASHTABLE_NPAGE - (WALINDEX_HDR_SIZE/sizeof(u32))) + +/* The wal-index is divided into pages of WALINDEX_PGSZ bytes each. */ +#define WALINDEX_PGSZ ( \ + sizeof(ht_slot)*HASHTABLE_NSLOT + HASHTABLE_NPAGE*sizeof(u32) \ +) + +/* +** Obtain a pointer to the iPage'th page of the wal-index. The wal-index +** is broken into pages of WALINDEX_PGSZ bytes. Wal-index pages are +** numbered from zero. +** +** If the wal-index is currently smaller the iPage pages then the size +** of the wal-index might be increased, but only if it is safe to do +** so. It is safe to enlarge the wal-index if pWal->writeLock is true +** or pWal->exclusiveMode==WAL_HEAPMEMORY_MODE. +** +** If this call is successful, *ppPage is set to point to the wal-index +** page and SQLITE_OK is returned. If an error (an OOM or VFS error) occurs, +** then an SQLite error code is returned and *ppPage is set to 0. +*/ +static SQLITE_NOINLINE int walIndexPageRealloc( + Wal *pWal, /* The WAL context */ + int iPage, /* The page we seek */ + volatile u32 **ppPage /* Write the page pointer here */ +){ + int rc = SQLITE_OK; + + /* Enlarge the pWal->apWiData[] array if required */ + if( pWal->nWiData<=iPage ){ + sqlite3_int64 nByte = sizeof(u32*)*(iPage+1); + volatile u32 **apNew; + apNew = (volatile u32 **)sqlite3_realloc64((void *)pWal->apWiData, nByte); + if( !apNew ){ + *ppPage = 0; + return SQLITE_NOMEM_BKPT; + } + memset((void*)&apNew[pWal->nWiData], 0, + sizeof(u32*)*(iPage+1-pWal->nWiData)); + pWal->apWiData = apNew; + pWal->nWiData = iPage+1; + } + + /* Request a pointer to the required page from the VFS */ + assert( pWal->apWiData[iPage]==0 ); + if( pWal->exclusiveMode==WAL_HEAPMEMORY_MODE ){ + pWal->apWiData[iPage] = (u32 volatile *)sqlite3MallocZero(WALINDEX_PGSZ); + if( !pWal->apWiData[iPage] ) rc = SQLITE_NOMEM_BKPT; + }else{ + rc = sqlite3OsShmMap(pWal->pDbFd, iPage, WALINDEX_PGSZ, + pWal->writeLock, (void volatile **)&pWal->apWiData[iPage] + ); + assert( pWal->apWiData[iPage]!=0 || rc!=SQLITE_OK || pWal->writeLock==0 ); + testcase( pWal->apWiData[iPage]==0 && rc==SQLITE_OK ); + if( (rc&0xff)==SQLITE_READONLY ){ + pWal->readOnly |= WAL_SHM_RDONLY; + if( rc==SQLITE_READONLY ){ + rc = SQLITE_OK; + } + } + } + + *ppPage = pWal->apWiData[iPage]; + assert( iPage==0 || *ppPage || rc!=SQLITE_OK ); + return rc; +} +static int walIndexPage( + Wal *pWal, /* The WAL context */ + int iPage, /* The page we seek */ + volatile u32 **ppPage /* Write the page pointer here */ +){ + if( pWal->nWiData<=iPage || (*ppPage = pWal->apWiData[iPage])==0 ){ + return walIndexPageRealloc(pWal, iPage, ppPage); + } + return SQLITE_OK; +} + +/* +** Return a pointer to the WalCkptInfo structure in the wal-index. +*/ +static volatile WalCkptInfo *walCkptInfo(Wal *pWal){ + assert( pWal->nWiData>0 && pWal->apWiData[0] ); + return (volatile WalCkptInfo*)&(pWal->apWiData[0][sizeof(WalIndexHdr)/2]); +} + +/* +** Return a pointer to the WalIndexHdr structure in the wal-index. +*/ +static volatile WalIndexHdr *walIndexHdr(Wal *pWal){ + assert( pWal->nWiData>0 && pWal->apWiData[0] ); + return (volatile WalIndexHdr*)pWal->apWiData[0]; +} + +/* +** The argument to this macro must be of type u32. On a little-endian +** architecture, it returns the u32 value that results from interpreting +** the 4 bytes as a big-endian value. On a big-endian architecture, it +** returns the value that would be produced by interpreting the 4 bytes +** of the input value as a little-endian integer. +*/ +#define BYTESWAP32(x) ( \ + (((x)&0x000000FF)<<24) + (((x)&0x0000FF00)<<8) \ + + (((x)&0x00FF0000)>>8) + (((x)&0xFF000000)>>24) \ +) + +/* +** Generate or extend an 8 byte checksum based on the data in +** array aByte[] and the initial values of aIn[0] and aIn[1] (or +** initial values of 0 and 0 if aIn==NULL). +** +** The checksum is written back into aOut[] before returning. +** +** nByte must be a positive multiple of 8. +*/ +static void walChecksumBytes( + int nativeCksum, /* True for native byte-order, false for non-native */ + u8 *a, /* Content to be checksummed */ + int nByte, /* Bytes of content in a[]. Must be a multiple of 8. */ + const u32 *aIn, /* Initial checksum value input */ + u32 *aOut /* OUT: Final checksum value output */ +){ + u32 s1, s2; + u32 *aData = (u32 *)a; + u32 *aEnd = (u32 *)&a[nByte]; + + if( aIn ){ + s1 = aIn[0]; + s2 = aIn[1]; + }else{ + s1 = s2 = 0; + } + + assert( nByte>=8 ); + assert( (nByte&0x00000007)==0 ); + assert( nByte<=65536 ); + + if( nativeCksum ){ + do { + s1 += *aData++ + s2; + s2 += *aData++ + s1; + }while( aDataexclusiveMode!=WAL_HEAPMEMORY_MODE ){ + sqlite3OsShmBarrier(pWal->pDbFd); + } +} + +/* +** Write the header information in pWal->hdr into the wal-index. +** +** The checksum on pWal->hdr is updated before it is written. +*/ +static void walIndexWriteHdr(Wal *pWal){ + volatile WalIndexHdr *aHdr = walIndexHdr(pWal); + const int nCksum = offsetof(WalIndexHdr, aCksum); + + assert( pWal->writeLock ); + pWal->hdr.isInit = 1; + pWal->hdr.iVersion = WALINDEX_MAX_VERSION; + walChecksumBytes(1, (u8*)&pWal->hdr, nCksum, 0, pWal->hdr.aCksum); + memcpy((void*)&aHdr[1], (const void*)&pWal->hdr, sizeof(WalIndexHdr)); + walShmBarrier(pWal); + memcpy((void*)&aHdr[0], (const void*)&pWal->hdr, sizeof(WalIndexHdr)); +} + +/* +** This function encodes a single frame header and writes it to a buffer +** supplied by the caller. A frame-header is made up of a series of +** 4-byte big-endian integers, as follows: +** +** 0: Page number. +** 4: For commit records, the size of the database image in pages +** after the commit. For all other records, zero. +** 8: Salt-1 (copied from the wal-header) +** 12: Salt-2 (copied from the wal-header) +** 16: Checksum-1. +** 20: Checksum-2. +*/ +static void walEncodeFrame( + Wal *pWal, /* The write-ahead log */ + u32 iPage, /* Database page number for frame */ + u32 nTruncate, /* New db size (or 0 for non-commit frames) */ + u8 *aData, /* Pointer to page data */ + u8 *aFrame /* OUT: Write encoded frame here */ +){ + int nativeCksum; /* True for native byte-order checksums */ + u32 *aCksum = pWal->hdr.aFrameCksum; + assert( WAL_FRAME_HDRSIZE==24 ); + sqlite3Put4byte(&aFrame[0], iPage); + sqlite3Put4byte(&aFrame[4], nTruncate); + if( pWal->iReCksum==0 ){ + memcpy(&aFrame[8], pWal->hdr.aSalt, 8); + + nativeCksum = (pWal->hdr.bigEndCksum==SQLITE_BIGENDIAN); + walChecksumBytes(nativeCksum, aFrame, 8, aCksum, aCksum); + walChecksumBytes(nativeCksum, aData, pWal->szPage, aCksum, aCksum); + + sqlite3Put4byte(&aFrame[16], aCksum[0]); + sqlite3Put4byte(&aFrame[20], aCksum[1]); + }else{ + memset(&aFrame[8], 0, 16); + } +} + +/* +** Check to see if the frame with header in aFrame[] and content +** in aData[] is valid. If it is a valid frame, fill *piPage and +** *pnTruncate and return true. Return if the frame is not valid. +*/ +static int walDecodeFrame( + Wal *pWal, /* The write-ahead log */ + u32 *piPage, /* OUT: Database page number for frame */ + u32 *pnTruncate, /* OUT: New db size (or 0 if not commit) */ + u8 *aData, /* Pointer to page data (for checksum) */ + u8 *aFrame /* Frame data */ +){ + int nativeCksum; /* True for native byte-order checksums */ + u32 *aCksum = pWal->hdr.aFrameCksum; + u32 pgno; /* Page number of the frame */ + assert( WAL_FRAME_HDRSIZE==24 ); + + /* A frame is only valid if the salt values in the frame-header + ** match the salt values in the wal-header. + */ + if( memcmp(&pWal->hdr.aSalt, &aFrame[8], 8)!=0 ){ + return 0; + } + + /* A frame is only valid if the page number is creater than zero. + */ + pgno = sqlite3Get4byte(&aFrame[0]); + if( pgno==0 ){ + return 0; + } + + /* A frame is only valid if a checksum of the WAL header, + ** all prior frams, the first 16 bytes of this frame-header, + ** and the frame-data matches the checksum in the last 8 + ** bytes of this frame-header. + */ + nativeCksum = (pWal->hdr.bigEndCksum==SQLITE_BIGENDIAN); + walChecksumBytes(nativeCksum, aFrame, 8, aCksum, aCksum); + walChecksumBytes(nativeCksum, aData, pWal->szPage, aCksum, aCksum); + if( aCksum[0]!=sqlite3Get4byte(&aFrame[16]) + || aCksum[1]!=sqlite3Get4byte(&aFrame[20]) + ){ + /* Checksum failed. */ + return 0; + } + + /* If we reach this point, the frame is valid. Return the page number + ** and the new database size. + */ + *piPage = pgno; + *pnTruncate = sqlite3Get4byte(&aFrame[4]); + return 1; +} + + +#if defined(SQLITE_TEST) && defined(SQLITE_DEBUG) +/* +** Names of locks. This routine is used to provide debugging output and is not +** a part of an ordinary build. +*/ +static const char *walLockName(int lockIdx){ + if( lockIdx==WAL_WRITE_LOCK ){ + return "WRITE-LOCK"; + }else if( lockIdx==WAL_CKPT_LOCK ){ + return "CKPT-LOCK"; + }else if( lockIdx==WAL_RECOVER_LOCK ){ + return "RECOVER-LOCK"; + }else{ + static char zName[15]; + sqlite3_snprintf(sizeof(zName), zName, "READ-LOCK[%d]", + lockIdx-WAL_READ_LOCK(0)); + return zName; + } +} +#endif /*defined(SQLITE_TEST) || defined(SQLITE_DEBUG) */ + + +/* +** Set or release locks on the WAL. Locks are either shared or exclusive. +** A lock cannot be moved directly between shared and exclusive - it must go +** through the unlocked state first. +** +** In locking_mode=EXCLUSIVE, all of these routines become no-ops. +*/ +static int walLockShared(Wal *pWal, int lockIdx){ + int rc; + if( pWal->exclusiveMode ) return SQLITE_OK; + rc = sqlite3OsShmLock(pWal->pDbFd, lockIdx, 1, + SQLITE_SHM_LOCK | SQLITE_SHM_SHARED); + WALTRACE(("WAL%p: acquire SHARED-%s %s\n", pWal, + walLockName(lockIdx), rc ? "failed" : "ok")); + VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); ) + return rc; +} +static void walUnlockShared(Wal *pWal, int lockIdx){ + if( pWal->exclusiveMode ) return; + (void)sqlite3OsShmLock(pWal->pDbFd, lockIdx, 1, + SQLITE_SHM_UNLOCK | SQLITE_SHM_SHARED); + WALTRACE(("WAL%p: release SHARED-%s\n", pWal, walLockName(lockIdx))); +} +static int walLockExclusive(Wal *pWal, int lockIdx, int n){ + int rc; + if( pWal->exclusiveMode ) return SQLITE_OK; + rc = sqlite3OsShmLock(pWal->pDbFd, lockIdx, n, + SQLITE_SHM_LOCK | SQLITE_SHM_EXCLUSIVE); + WALTRACE(("WAL%p: acquire EXCLUSIVE-%s cnt=%d %s\n", pWal, + walLockName(lockIdx), n, rc ? "failed" : "ok")); + VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); ) + return rc; +} +static void walUnlockExclusive(Wal *pWal, int lockIdx, int n){ + if( pWal->exclusiveMode ) return; + (void)sqlite3OsShmLock(pWal->pDbFd, lockIdx, n, + SQLITE_SHM_UNLOCK | SQLITE_SHM_EXCLUSIVE); + WALTRACE(("WAL%p: release EXCLUSIVE-%s cnt=%d\n", pWal, + walLockName(lockIdx), n)); +} + +/* +** Compute a hash on a page number. The resulting hash value must land +** between 0 and (HASHTABLE_NSLOT-1). The walHashNext() function advances +** the hash to the next value in the event of a collision. +*/ +static int walHash(u32 iPage){ + assert( iPage>0 ); + assert( (HASHTABLE_NSLOT & (HASHTABLE_NSLOT-1))==0 ); + return (iPage*HASHTABLE_HASH_1) & (HASHTABLE_NSLOT-1); +} +static int walNextHash(int iPriorHash){ + return (iPriorHash+1)&(HASHTABLE_NSLOT-1); +} + +/* +** An instance of the WalHashLoc object is used to describe the location +** of a page hash table in the wal-index. This becomes the return value +** from walHashGet(). +*/ +typedef struct WalHashLoc WalHashLoc; +struct WalHashLoc { + volatile ht_slot *aHash; /* Start of the wal-index hash table */ + volatile u32 *aPgno; /* aPgno[1] is the page of first frame indexed */ + u32 iZero; /* One less than the frame number of first indexed*/ +}; + +/* +** Return pointers to the hash table and page number array stored on +** page iHash of the wal-index. The wal-index is broken into 32KB pages +** numbered starting from 0. +** +** Set output variable pLoc->aHash to point to the start of the hash table +** in the wal-index file. Set pLoc->iZero to one less than the frame +** number of the first frame indexed by this hash table. If a +** slot in the hash table is set to N, it refers to frame number +** (pLoc->iZero+N) in the log. +** +** Finally, set pLoc->aPgno so that pLoc->aPgno[1] is the page number of the +** first frame indexed by the hash table, frame (pLoc->iZero+1). +*/ +static int walHashGet( + Wal *pWal, /* WAL handle */ + int iHash, /* Find the iHash'th table */ + WalHashLoc *pLoc /* OUT: Hash table location */ +){ + int rc; /* Return code */ + + rc = walIndexPage(pWal, iHash, &pLoc->aPgno); + assert( rc==SQLITE_OK || iHash>0 ); + + if( rc==SQLITE_OK ){ + pLoc->aHash = (volatile ht_slot *)&pLoc->aPgno[HASHTABLE_NPAGE]; + if( iHash==0 ){ + pLoc->aPgno = &pLoc->aPgno[WALINDEX_HDR_SIZE/sizeof(u32)]; + pLoc->iZero = 0; + }else{ + pLoc->iZero = HASHTABLE_NPAGE_ONE + (iHash-1)*HASHTABLE_NPAGE; + } + pLoc->aPgno = &pLoc->aPgno[-1]; + } + return rc; +} + +/* +** Return the number of the wal-index page that contains the hash-table +** and page-number array that contain entries corresponding to WAL frame +** iFrame. The wal-index is broken up into 32KB pages. Wal-index pages +** are numbered starting from 0. +*/ +static int walFramePage(u32 iFrame){ + int iHash = (iFrame+HASHTABLE_NPAGE-HASHTABLE_NPAGE_ONE-1) / HASHTABLE_NPAGE; + assert( (iHash==0 || iFrame>HASHTABLE_NPAGE_ONE) + && (iHash>=1 || iFrame<=HASHTABLE_NPAGE_ONE) + && (iHash<=1 || iFrame>(HASHTABLE_NPAGE_ONE+HASHTABLE_NPAGE)) + && (iHash>=2 || iFrame<=HASHTABLE_NPAGE_ONE+HASHTABLE_NPAGE) + && (iHash<=2 || iFrame>(HASHTABLE_NPAGE_ONE+2*HASHTABLE_NPAGE)) + ); + return iHash; +} + +/* +** Return the page number associated with frame iFrame in this WAL. +*/ +static u32 walFramePgno(Wal *pWal, u32 iFrame){ + int iHash = walFramePage(iFrame); + if( iHash==0 ){ + return pWal->apWiData[0][WALINDEX_HDR_SIZE/sizeof(u32) + iFrame - 1]; + } + return pWal->apWiData[iHash][(iFrame-1-HASHTABLE_NPAGE_ONE)%HASHTABLE_NPAGE]; +} + +/* +** Remove entries from the hash table that point to WAL slots greater +** than pWal->hdr.mxFrame. +** +** This function is called whenever pWal->hdr.mxFrame is decreased due +** to a rollback or savepoint. +** +** At most only the hash table containing pWal->hdr.mxFrame needs to be +** updated. Any later hash tables will be automatically cleared when +** pWal->hdr.mxFrame advances to the point where those hash tables are +** actually needed. +*/ +static void walCleanupHash(Wal *pWal){ + WalHashLoc sLoc; /* Hash table location */ + int iLimit = 0; /* Zero values greater than this */ + int nByte; /* Number of bytes to zero in aPgno[] */ + int i; /* Used to iterate through aHash[] */ + int rc; /* Return code form walHashGet() */ + + assert( pWal->writeLock ); + testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE-1 ); + testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE ); + testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE+1 ); + + if( pWal->hdr.mxFrame==0 ) return; + + /* Obtain pointers to the hash-table and page-number array containing + ** the entry that corresponds to frame pWal->hdr.mxFrame. It is guaranteed + ** that the page said hash-table and array reside on is already mapped.(1) + */ + assert( pWal->nWiData>walFramePage(pWal->hdr.mxFrame) ); + assert( pWal->apWiData[walFramePage(pWal->hdr.mxFrame)] ); + rc = walHashGet(pWal, walFramePage(pWal->hdr.mxFrame), &sLoc); + if( NEVER(rc) ) return; /* Defense-in-depth, in case (1) above is wrong */ + + /* Zero all hash-table entries that correspond to frame numbers greater + ** than pWal->hdr.mxFrame. + */ + iLimit = pWal->hdr.mxFrame - sLoc.iZero; + assert( iLimit>0 ); + for(i=0; iiLimit ){ + sLoc.aHash[i] = 0; + } + } + + /* Zero the entries in the aPgno array that correspond to frames with + ** frame numbers greater than pWal->hdr.mxFrame. + */ + nByte = (int)((char *)sLoc.aHash - (char *)&sLoc.aPgno[iLimit+1]); + memset((void *)&sLoc.aPgno[iLimit+1], 0, nByte); + +#ifdef SQLITE_ENABLE_EXPENSIVE_ASSERT + /* Verify that the every entry in the mapping region is still reachable + ** via the hash table even after the cleanup. + */ + if( iLimit ){ + int j; /* Loop counter */ + int iKey; /* Hash key */ + for(j=1; j<=iLimit; j++){ + for(iKey=walHash(sLoc.aPgno[j]);sLoc.aHash[iKey];iKey=walNextHash(iKey)){ + if( sLoc.aHash[iKey]==j ) break; + } + assert( sLoc.aHash[iKey]==j ); + } + } +#endif /* SQLITE_ENABLE_EXPENSIVE_ASSERT */ +} + + +/* +** Set an entry in the wal-index that will map database page number +** pPage into WAL frame iFrame. +*/ +static int walIndexAppend(Wal *pWal, u32 iFrame, u32 iPage){ + int rc; /* Return code */ + WalHashLoc sLoc; /* Wal-index hash table location */ + + rc = walHashGet(pWal, walFramePage(iFrame), &sLoc); + + /* Assuming the wal-index file was successfully mapped, populate the + ** page number array and hash table entry. + */ + if( rc==SQLITE_OK ){ + int iKey; /* Hash table key */ + int idx; /* Value to write to hash-table slot */ + int nCollide; /* Number of hash collisions */ + + idx = iFrame - sLoc.iZero; + assert( idx <= HASHTABLE_NSLOT/2 + 1 ); + + /* If this is the first entry to be added to this hash-table, zero the + ** entire hash table and aPgno[] array before proceeding. + */ + if( idx==1 ){ + int nByte = (int)((u8 *)&sLoc.aHash[HASHTABLE_NSLOT] + - (u8 *)&sLoc.aPgno[1]); + memset((void*)&sLoc.aPgno[1], 0, nByte); + } + + /* If the entry in aPgno[] is already set, then the previous writer + ** must have exited unexpectedly in the middle of a transaction (after + ** writing one or more dirty pages to the WAL to free up memory). + ** Remove the remnants of that writers uncommitted transaction from + ** the hash-table before writing any new entries. + */ + if( sLoc.aPgno[idx] ){ + walCleanupHash(pWal); + assert( !sLoc.aPgno[idx] ); + } + + /* Write the aPgno[] array entry and the hash-table slot. */ + nCollide = idx; + for(iKey=walHash(iPage); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){ + if( (nCollide--)==0 ) return SQLITE_CORRUPT_BKPT; + } + sLoc.aPgno[idx] = iPage; + sLoc.aHash[iKey] = (ht_slot)idx; + +#ifdef SQLITE_ENABLE_EXPENSIVE_ASSERT + /* Verify that the number of entries in the hash table exactly equals + ** the number of entries in the mapping region. + */ + { + int i; /* Loop counter */ + int nEntry = 0; /* Number of entries in the hash table */ + for(i=0; ickptLock==1 || pWal->ckptLock==0 ); + assert( WAL_ALL_BUT_WRITE==WAL_WRITE_LOCK+1 ); + assert( WAL_CKPT_LOCK==WAL_ALL_BUT_WRITE ); + assert( pWal->writeLock ); + iLock = WAL_ALL_BUT_WRITE + pWal->ckptLock; + rc = walLockExclusive(pWal, iLock, WAL_READ_LOCK(0)-iLock); + if( rc==SQLITE_OK ){ + rc = walLockExclusive(pWal, WAL_READ_LOCK(1), WAL_NREADER-1); + if( rc!=SQLITE_OK ){ + walUnlockExclusive(pWal, iLock, WAL_READ_LOCK(0)-iLock); + } + } + if( rc ){ + return rc; + } + + WALTRACE(("WAL%p: recovery begin...\n", pWal)); + + memset(&pWal->hdr, 0, sizeof(WalIndexHdr)); + + rc = sqlite3OsFileSize(pWal->pWalFd, &nSize); + if( rc!=SQLITE_OK ){ + goto recovery_error; + } + + if( nSize>WAL_HDRSIZE ){ + u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */ + u8 *aFrame = 0; /* Malloc'd buffer to load entire frame */ + int szFrame; /* Number of bytes in buffer aFrame[] */ + u8 *aData; /* Pointer to data part of aFrame buffer */ + int iFrame; /* Index of last frame read */ + i64 iOffset; /* Next offset to read from log file */ + int szPage; /* Page size according to the log */ + u32 magic; /* Magic value read from WAL header */ + u32 version; /* Magic value read from WAL header */ + int isValid; /* True if this frame is valid */ + + /* Read in the WAL header. */ + rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0); + if( rc!=SQLITE_OK ){ + goto recovery_error; + } + + /* If the database page size is not a power of two, or is greater than + ** SQLITE_MAX_PAGE_SIZE, conclude that the WAL file contains no valid + ** data. Similarly, if the 'magic' value is invalid, ignore the whole + ** WAL file. + */ + magic = sqlite3Get4byte(&aBuf[0]); + szPage = sqlite3Get4byte(&aBuf[8]); + if( (magic&0xFFFFFFFE)!=WAL_MAGIC + || szPage&(szPage-1) + || szPage>SQLITE_MAX_PAGE_SIZE + || szPage<512 + ){ + goto finished; + } + pWal->hdr.bigEndCksum = (u8)(magic&0x00000001); + pWal->szPage = szPage; + pWal->nCkpt = sqlite3Get4byte(&aBuf[12]); + memcpy(&pWal->hdr.aSalt, &aBuf[16], 8); + + /* Verify that the WAL header checksum is correct */ + walChecksumBytes(pWal->hdr.bigEndCksum==SQLITE_BIGENDIAN, + aBuf, WAL_HDRSIZE-2*4, 0, pWal->hdr.aFrameCksum + ); + if( pWal->hdr.aFrameCksum[0]!=sqlite3Get4byte(&aBuf[24]) + || pWal->hdr.aFrameCksum[1]!=sqlite3Get4byte(&aBuf[28]) + ){ + goto finished; + } + + /* Verify that the version number on the WAL format is one that + ** are able to understand */ + version = sqlite3Get4byte(&aBuf[4]); + if( version!=WAL_MAX_VERSION ){ + rc = SQLITE_CANTOPEN_BKPT; + goto finished; + } + + /* Malloc a buffer to read frames into. */ + szFrame = szPage + WAL_FRAME_HDRSIZE; + aFrame = (u8 *)sqlite3_malloc64(szFrame); + if( !aFrame ){ + rc = SQLITE_NOMEM_BKPT; + goto recovery_error; + } + aData = &aFrame[WAL_FRAME_HDRSIZE]; + + /* Read all frames from the log file. */ + iFrame = 0; + for(iOffset=WAL_HDRSIZE; (iOffset+szFrame)<=nSize; iOffset+=szFrame){ + u32 pgno; /* Database page number for frame */ + u32 nTruncate; /* dbsize field from frame header */ + + /* Read and decode the next log frame. */ + iFrame++; + rc = sqlite3OsRead(pWal->pWalFd, aFrame, szFrame, iOffset); + if( rc!=SQLITE_OK ) break; + isValid = walDecodeFrame(pWal, &pgno, &nTruncate, aData, aFrame); + if( !isValid ) break; + rc = walIndexAppend(pWal, iFrame, pgno); + if( rc!=SQLITE_OK ) break; + + /* If nTruncate is non-zero, this is a commit record. */ + if( nTruncate ){ + pWal->hdr.mxFrame = iFrame; + pWal->hdr.nPage = nTruncate; + pWal->hdr.szPage = (u16)((szPage&0xff00) | (szPage>>16)); + testcase( szPage<=32768 ); + testcase( szPage>=65536 ); + aFrameCksum[0] = pWal->hdr.aFrameCksum[0]; + aFrameCksum[1] = pWal->hdr.aFrameCksum[1]; + } + } + + sqlite3_free(aFrame); + } + +finished: + if( rc==SQLITE_OK ){ + volatile WalCkptInfo *pInfo; + int i; + pWal->hdr.aFrameCksum[0] = aFrameCksum[0]; + pWal->hdr.aFrameCksum[1] = aFrameCksum[1]; + walIndexWriteHdr(pWal); + + /* Reset the checkpoint-header. This is safe because this thread is + ** currently holding locks that exclude all other readers, writers and + ** checkpointers. + */ + pInfo = walCkptInfo(pWal); + pInfo->nBackfill = 0; + pInfo->nBackfillAttempted = pWal->hdr.mxFrame; + pInfo->aReadMark[0] = 0; + for(i=1; iaReadMark[i] = READMARK_NOT_USED; + if( pWal->hdr.mxFrame ) pInfo->aReadMark[1] = pWal->hdr.mxFrame; + + /* If more than one frame was recovered from the log file, report an + ** event via sqlite3_log(). This is to help with identifying performance + ** problems caused by applications routinely shutting down without + ** checkpointing the log file. + */ + if( pWal->hdr.nPage ){ + sqlite3_log(SQLITE_NOTICE_RECOVER_WAL, + "recovered %d frames from WAL file %s", + pWal->hdr.mxFrame, pWal->zWalName + ); + } + } + +recovery_error: + WALTRACE(("WAL%p: recovery %s\n", pWal, rc ? "failed" : "ok")); + walUnlockExclusive(pWal, iLock, WAL_READ_LOCK(0)-iLock); + walUnlockExclusive(pWal, WAL_READ_LOCK(1), WAL_NREADER-1); + return rc; +} + +/* +** Close an open wal-index. +*/ +static void walIndexClose(Wal *pWal, int isDelete){ + if( pWal->exclusiveMode==WAL_HEAPMEMORY_MODE || pWal->bShmUnreliable ){ + int i; + for(i=0; inWiData; i++){ + sqlite3_free((void *)pWal->apWiData[i]); + pWal->apWiData[i] = 0; + } + } + if( pWal->exclusiveMode!=WAL_HEAPMEMORY_MODE ){ + sqlite3OsShmUnmap(pWal->pDbFd, isDelete); + } +} + +/* +** Open a connection to the WAL file zWalName. The database file must +** already be opened on connection pDbFd. The buffer that zWalName points +** to must remain valid for the lifetime of the returned Wal* handle. +** +** A SHARED lock should be held on the database file when this function +** is called. The purpose of this SHARED lock is to prevent any other +** client from unlinking the WAL or wal-index file. If another process +** were to do this just after this client opened one of these files, the +** system would be badly broken. +** +** If the log file is successfully opened, SQLITE_OK is returned and +** *ppWal is set to point to a new WAL handle. If an error occurs, +** an SQLite error code is returned and *ppWal is left unmodified. +*/ +SQLITE_PRIVATE int sqlite3WalOpen( + sqlite3_vfs *pVfs, /* vfs module to open wal and wal-index */ + sqlite3_file *pDbFd, /* The open database file */ + const char *zWalName, /* Name of the WAL file */ + int bNoShm, /* True to run in heap-memory mode */ + i64 mxWalSize, /* Truncate WAL to this size on reset */ + Wal **ppWal /* OUT: Allocated Wal handle */ +){ + int rc; /* Return Code */ + Wal *pRet; /* Object to allocate and return */ + int flags; /* Flags passed to OsOpen() */ + + assert( zWalName && zWalName[0] ); + assert( pDbFd ); + + /* In the amalgamation, the os_unix.c and os_win.c source files come before + ** this source file. Verify that the #defines of the locking byte offsets + ** in os_unix.c and os_win.c agree with the WALINDEX_LOCK_OFFSET value. + ** For that matter, if the lock offset ever changes from its initial design + ** value of 120, we need to know that so there is an assert() to check it. + */ + assert( 120==WALINDEX_LOCK_OFFSET ); + assert( 136==WALINDEX_HDR_SIZE ); +#ifdef WIN_SHM_BASE + assert( WIN_SHM_BASE==WALINDEX_LOCK_OFFSET ); +#endif +#ifdef UNIX_SHM_BASE + assert( UNIX_SHM_BASE==WALINDEX_LOCK_OFFSET ); +#endif + + + /* Allocate an instance of struct Wal to return. */ + *ppWal = 0; + pRet = (Wal*)sqlite3MallocZero(sizeof(Wal) + pVfs->szOsFile); + if( !pRet ){ + return SQLITE_NOMEM_BKPT; + } + + pRet->pVfs = pVfs; + pRet->pWalFd = (sqlite3_file *)&pRet[1]; + pRet->pDbFd = pDbFd; + pRet->readLock = -1; + pRet->mxWalSize = mxWalSize; + pRet->zWalName = zWalName; + pRet->syncHeader = 1; + pRet->padToSectorBoundary = 1; + pRet->exclusiveMode = (bNoShm ? WAL_HEAPMEMORY_MODE: WAL_NORMAL_MODE); + + /* Open file handle on the write-ahead log file. */ + flags = (SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE|SQLITE_OPEN_WAL); + rc = sqlite3OsOpen(pVfs, zWalName, pRet->pWalFd, flags, &flags); + if( rc==SQLITE_OK && flags&SQLITE_OPEN_READONLY ){ + pRet->readOnly = WAL_RDONLY; + } + + if( rc!=SQLITE_OK ){ + walIndexClose(pRet, 0); + sqlite3OsClose(pRet->pWalFd); + sqlite3_free(pRet); + }else{ + int iDC = sqlite3OsDeviceCharacteristics(pDbFd); + if( iDC & SQLITE_IOCAP_SEQUENTIAL ){ pRet->syncHeader = 0; } + if( iDC & SQLITE_IOCAP_POWERSAFE_OVERWRITE ){ + pRet->padToSectorBoundary = 0; + } + *ppWal = pRet; + WALTRACE(("WAL%d: opened\n", pRet)); + } + return rc; +} + +/* +** Change the size to which the WAL file is trucated on each reset. +*/ +SQLITE_PRIVATE void sqlite3WalLimit(Wal *pWal, i64 iLimit){ + if( pWal ) pWal->mxWalSize = iLimit; +} + +/* +** Find the smallest page number out of all pages held in the WAL that +** has not been returned by any prior invocation of this method on the +** same WalIterator object. Write into *piFrame the frame index where +** that page was last written into the WAL. Write into *piPage the page +** number. +** +** Return 0 on success. If there are no pages in the WAL with a page +** number larger than *piPage, then return 1. +*/ +static int walIteratorNext( + WalIterator *p, /* Iterator */ + u32 *piPage, /* OUT: The page number of the next page */ + u32 *piFrame /* OUT: Wal frame index of next page */ +){ + u32 iMin; /* Result pgno must be greater than iMin */ + u32 iRet = 0xFFFFFFFF; /* 0xffffffff is never a valid page number */ + int i; /* For looping through segments */ + + iMin = p->iPrior; + assert( iMin<0xffffffff ); + for(i=p->nSegment-1; i>=0; i--){ + struct WalSegment *pSegment = &p->aSegment[i]; + while( pSegment->iNextnEntry ){ + u32 iPg = pSegment->aPgno[pSegment->aIndex[pSegment->iNext]]; + if( iPg>iMin ){ + if( iPgiZero + pSegment->aIndex[pSegment->iNext]; + } + break; + } + pSegment->iNext++; + } + } + + *piPage = p->iPrior = iRet; + return (iRet==0xFFFFFFFF); +} + +/* +** This function merges two sorted lists into a single sorted list. +** +** aLeft[] and aRight[] are arrays of indices. The sort key is +** aContent[aLeft[]] and aContent[aRight[]]. Upon entry, the following +** is guaranteed for all J0 && nRight>0 ); + while( iRight=nRight || aContent[aLeft[iLeft]]=nLeft || aContent[aLeft[iLeft]]>dbpage ); + assert( iRight>=nRight || aContent[aRight[iRight]]>dbpage ); + } + + *paRight = aLeft; + *pnRight = iOut; + memcpy(aLeft, aTmp, sizeof(aTmp[0])*iOut); +} + +/* +** Sort the elements in list aList using aContent[] as the sort key. +** Remove elements with duplicate keys, preferring to keep the +** larger aList[] values. +** +** The aList[] entries are indices into aContent[]. The values in +** aList[] are to be sorted so that for all J0 ); + assert( HASHTABLE_NPAGE==(1<<(ArraySize(aSub)-1)) ); + + for(iList=0; iListaList && p->nList<=(1<aList==&aList[iList&~((2<aList, p->nList, &aMerge, &nMerge, aBuffer); + } + aSub[iSub].aList = aMerge; + aSub[iSub].nList = nMerge; + } + + for(iSub++; iSubnList<=(1<aList==&aList[nList&~((2<aList, p->nList, &aMerge, &nMerge, aBuffer); + } + } + assert( aMerge==aList ); + *pnList = nMerge; + +#ifdef SQLITE_DEBUG + { + int i; + for(i=1; i<*pnList; i++){ + assert( aContent[aList[i]] > aContent[aList[i-1]] ); + } + } +#endif +} + +/* +** Free an iterator allocated by walIteratorInit(). +*/ +static void walIteratorFree(WalIterator *p){ + sqlite3_free(p); +} + +/* +** Construct a WalInterator object that can be used to loop over all +** pages in the WAL following frame nBackfill in ascending order. Frames +** nBackfill or earlier may be included - excluding them is an optimization +** only. The caller must hold the checkpoint lock. +** +** On success, make *pp point to the newly allocated WalInterator object +** return SQLITE_OK. Otherwise, return an error code. If this routine +** returns an error, the value of *pp is undefined. +** +** The calling routine should invoke walIteratorFree() to destroy the +** WalIterator object when it has finished with it. +*/ +static int walIteratorInit(Wal *pWal, u32 nBackfill, WalIterator **pp){ + WalIterator *p; /* Return value */ + int nSegment; /* Number of segments to merge */ + u32 iLast; /* Last frame in log */ + sqlite3_int64 nByte; /* Number of bytes to allocate */ + int i; /* Iterator variable */ + ht_slot *aTmp; /* Temp space used by merge-sort */ + int rc = SQLITE_OK; /* Return Code */ + + /* This routine only runs while holding the checkpoint lock. And + ** it only runs if there is actually content in the log (mxFrame>0). + */ + assert( pWal->ckptLock && pWal->hdr.mxFrame>0 ); + iLast = pWal->hdr.mxFrame; + + /* Allocate space for the WalIterator object. */ + nSegment = walFramePage(iLast) + 1; + nByte = sizeof(WalIterator) + + (nSegment-1)*sizeof(struct WalSegment) + + iLast*sizeof(ht_slot); + p = (WalIterator *)sqlite3_malloc64(nByte); + if( !p ){ + return SQLITE_NOMEM_BKPT; + } + memset(p, 0, nByte); + p->nSegment = nSegment; + + /* Allocate temporary space used by the merge-sort routine. This block + ** of memory will be freed before this function returns. + */ + aTmp = (ht_slot *)sqlite3_malloc64( + sizeof(ht_slot) * (iLast>HASHTABLE_NPAGE?HASHTABLE_NPAGE:iLast) + ); + if( !aTmp ){ + rc = SQLITE_NOMEM_BKPT; + } + + for(i=walFramePage(nBackfill+1); rc==SQLITE_OK && iaSegment[p->nSegment])[sLoc.iZero]; + sLoc.iZero++; + + for(j=0; jaSegment[i].iZero = sLoc.iZero; + p->aSegment[i].nEntry = nEntry; + p->aSegment[i].aIndex = aIndex; + p->aSegment[i].aPgno = (u32 *)sLoc.aPgno; + } + } + sqlite3_free(aTmp); + + if( rc!=SQLITE_OK ){ + walIteratorFree(p); + p = 0; + } + *pp = p; + return rc; +} + +/* +** Attempt to obtain the exclusive WAL lock defined by parameters lockIdx and +** n. If the attempt fails and parameter xBusy is not NULL, then it is a +** busy-handler function. Invoke it and retry the lock until either the +** lock is successfully obtained or the busy-handler returns 0. +*/ +static int walBusyLock( + Wal *pWal, /* WAL connection */ + int (*xBusy)(void*), /* Function to call when busy */ + void *pBusyArg, /* Context argument for xBusyHandler */ + int lockIdx, /* Offset of first byte to lock */ + int n /* Number of bytes to lock */ +){ + int rc; + do { + rc = walLockExclusive(pWal, lockIdx, n); + }while( xBusy && rc==SQLITE_BUSY && xBusy(pBusyArg) ); + return rc; +} + +/* +** The cache of the wal-index header must be valid to call this function. +** Return the page-size in bytes used by the database. +*/ +static int walPagesize(Wal *pWal){ + return (pWal->hdr.szPage&0xfe00) + ((pWal->hdr.szPage&0x0001)<<16); +} + +/* +** The following is guaranteed when this function is called: +** +** a) the WRITER lock is held, +** b) the entire log file has been checkpointed, and +** c) any existing readers are reading exclusively from the database +** file - there are no readers that may attempt to read a frame from +** the log file. +** +** This function updates the shared-memory structures so that the next +** client to write to the database (which may be this one) does so by +** writing frames into the start of the log file. +** +** The value of parameter salt1 is used as the aSalt[1] value in the +** new wal-index header. It should be passed a pseudo-random value (i.e. +** one obtained from sqlite3_randomness()). +*/ +static void walRestartHdr(Wal *pWal, u32 salt1){ + volatile WalCkptInfo *pInfo = walCkptInfo(pWal); + int i; /* Loop counter */ + u32 *aSalt = pWal->hdr.aSalt; /* Big-endian salt values */ + pWal->nCkpt++; + pWal->hdr.mxFrame = 0; + sqlite3Put4byte((u8*)&aSalt[0], 1 + sqlite3Get4byte((u8*)&aSalt[0])); + memcpy(&pWal->hdr.aSalt[1], &salt1, 4); + walIndexWriteHdr(pWal); + pInfo->nBackfill = 0; + pInfo->nBackfillAttempted = 0; + pInfo->aReadMark[1] = 0; + for(i=2; iaReadMark[i] = READMARK_NOT_USED; + assert( pInfo->aReadMark[0]==0 ); +} + +/* +** Copy as much content as we can from the WAL back into the database file +** in response to an sqlite3_wal_checkpoint() request or the equivalent. +** +** The amount of information copies from WAL to database might be limited +** by active readers. This routine will never overwrite a database page +** that a concurrent reader might be using. +** +** All I/O barrier operations (a.k.a fsyncs) occur in this routine when +** SQLite is in WAL-mode in synchronous=NORMAL. That means that if +** checkpoints are always run by a background thread or background +** process, foreground threads will never block on a lengthy fsync call. +** +** Fsync is called on the WAL before writing content out of the WAL and +** into the database. This ensures that if the new content is persistent +** in the WAL and can be recovered following a power-loss or hard reset. +** +** Fsync is also called on the database file if (and only if) the entire +** WAL content is copied into the database file. This second fsync makes +** it safe to delete the WAL since the new content will persist in the +** database file. +** +** This routine uses and updates the nBackfill field of the wal-index header. +** This is the only routine that will increase the value of nBackfill. +** (A WAL reset or recovery will revert nBackfill to zero, but not increase +** its value.) +** +** The caller must be holding sufficient locks to ensure that no other +** checkpoint is running (in any other thread or process) at the same +** time. +*/ +static int walCheckpoint( + Wal *pWal, /* Wal connection */ + sqlite3 *db, /* Check for interrupts on this handle */ + int eMode, /* One of PASSIVE, FULL or RESTART */ + int (*xBusy)(void*), /* Function to call when busy */ + void *pBusyArg, /* Context argument for xBusyHandler */ + int sync_flags, /* Flags for OsSync() (or 0) */ + u8 *zBuf /* Temporary buffer to use */ +){ + int rc = SQLITE_OK; /* Return code */ + int szPage; /* Database page-size */ + WalIterator *pIter = 0; /* Wal iterator context */ + u32 iDbpage = 0; /* Next database page to write */ + u32 iFrame = 0; /* Wal frame containing data for iDbpage */ + u32 mxSafeFrame; /* Max frame that can be backfilled */ + u32 mxPage; /* Max database page to write */ + int i; /* Loop counter */ + volatile WalCkptInfo *pInfo; /* The checkpoint status information */ + + szPage = walPagesize(pWal); + testcase( szPage<=32768 ); + testcase( szPage>=65536 ); + pInfo = walCkptInfo(pWal); + if( pInfo->nBackfillhdr.mxFrame ){ + + /* EVIDENCE-OF: R-62920-47450 The busy-handler callback is never invoked + ** in the SQLITE_CHECKPOINT_PASSIVE mode. */ + assert( eMode!=SQLITE_CHECKPOINT_PASSIVE || xBusy==0 ); + + /* Compute in mxSafeFrame the index of the last frame of the WAL that is + ** safe to write into the database. Frames beyond mxSafeFrame might + ** overwrite database pages that are in use by active readers and thus + ** cannot be backfilled from the WAL. + */ + mxSafeFrame = pWal->hdr.mxFrame; + mxPage = pWal->hdr.nPage; + for(i=1; iaReadMark[i]; + if( mxSafeFrame>y ){ + assert( y<=pWal->hdr.mxFrame ); + rc = walBusyLock(pWal, xBusy, pBusyArg, WAL_READ_LOCK(i), 1); + if( rc==SQLITE_OK ){ + pInfo->aReadMark[i] = (i==1 ? mxSafeFrame : READMARK_NOT_USED); + walUnlockExclusive(pWal, WAL_READ_LOCK(i), 1); + }else if( rc==SQLITE_BUSY ){ + mxSafeFrame = y; + xBusy = 0; + }else{ + goto walcheckpoint_out; + } + } + } + + /* Allocate the iterator */ + if( pInfo->nBackfillnBackfill, &pIter); + assert( rc==SQLITE_OK || pIter==0 ); + } + + if( pIter + && (rc = walBusyLock(pWal, xBusy, pBusyArg, WAL_READ_LOCK(0),1))==SQLITE_OK + ){ + u32 nBackfill = pInfo->nBackfill; + + pInfo->nBackfillAttempted = mxSafeFrame; + + /* Sync the WAL to disk */ + rc = sqlite3OsSync(pWal->pWalFd, CKPT_SYNC_FLAGS(sync_flags)); + + /* If the database may grow as a result of this checkpoint, hint + ** about the eventual size of the db file to the VFS layer. + */ + if( rc==SQLITE_OK ){ + i64 nReq = ((i64)mxPage * szPage); + i64 nSize; /* Current size of database file */ + rc = sqlite3OsFileSize(pWal->pDbFd, &nSize); + if( rc==SQLITE_OK && nSizepDbFd, SQLITE_FCNTL_SIZE_HINT, &nReq); + } + } + + + /* Iterate through the contents of the WAL, copying data to the db file */ + while( rc==SQLITE_OK && 0==walIteratorNext(pIter, &iDbpage, &iFrame) ){ + i64 iOffset; + assert( walFramePgno(pWal, iFrame)==iDbpage ); + if( db->u1.isInterrupted ){ + rc = db->mallocFailed ? SQLITE_NOMEM_BKPT : SQLITE_INTERRUPT; + break; + } + if( iFrame<=nBackfill || iFrame>mxSafeFrame || iDbpage>mxPage ){ + continue; + } + iOffset = walFrameOffset(iFrame, szPage) + WAL_FRAME_HDRSIZE; + /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL file */ + rc = sqlite3OsRead(pWal->pWalFd, zBuf, szPage, iOffset); + if( rc!=SQLITE_OK ) break; + iOffset = (iDbpage-1)*(i64)szPage; + testcase( IS_BIG_INT(iOffset) ); + rc = sqlite3OsWrite(pWal->pDbFd, zBuf, szPage, iOffset); + if( rc!=SQLITE_OK ) break; + } + + /* If work was actually accomplished... */ + if( rc==SQLITE_OK ){ + if( mxSafeFrame==walIndexHdr(pWal)->mxFrame ){ + i64 szDb = pWal->hdr.nPage*(i64)szPage; + testcase( IS_BIG_INT(szDb) ); + rc = sqlite3OsTruncate(pWal->pDbFd, szDb); + if( rc==SQLITE_OK ){ + rc = sqlite3OsSync(pWal->pDbFd, CKPT_SYNC_FLAGS(sync_flags)); + } + } + if( rc==SQLITE_OK ){ + pInfo->nBackfill = mxSafeFrame; + } + } + + /* Release the reader lock held while backfilling */ + walUnlockExclusive(pWal, WAL_READ_LOCK(0), 1); + } + + if( rc==SQLITE_BUSY ){ + /* Reset the return code so as not to report a checkpoint failure + ** just because there are active readers. */ + rc = SQLITE_OK; + } + } + + /* If this is an SQLITE_CHECKPOINT_RESTART or TRUNCATE operation, and the + ** entire wal file has been copied into the database file, then block + ** until all readers have finished using the wal file. This ensures that + ** the next process to write to the database restarts the wal file. + */ + if( rc==SQLITE_OK && eMode!=SQLITE_CHECKPOINT_PASSIVE ){ + assert( pWal->writeLock ); + if( pInfo->nBackfillhdr.mxFrame ){ + rc = SQLITE_BUSY; + }else if( eMode>=SQLITE_CHECKPOINT_RESTART ){ + u32 salt1; + sqlite3_randomness(4, &salt1); + assert( pInfo->nBackfill==pWal->hdr.mxFrame ); + rc = walBusyLock(pWal, xBusy, pBusyArg, WAL_READ_LOCK(1), WAL_NREADER-1); + if( rc==SQLITE_OK ){ + if( eMode==SQLITE_CHECKPOINT_TRUNCATE ){ + /* IMPLEMENTATION-OF: R-44699-57140 This mode works the same way as + ** SQLITE_CHECKPOINT_RESTART with the addition that it also + ** truncates the log file to zero bytes just prior to a + ** successful return. + ** + ** In theory, it might be safe to do this without updating the + ** wal-index header in shared memory, as all subsequent reader or + ** writer clients should see that the entire log file has been + ** checkpointed and behave accordingly. This seems unsafe though, + ** as it would leave the system in a state where the contents of + ** the wal-index header do not match the contents of the + ** file-system. To avoid this, update the wal-index header to + ** indicate that the log file contains zero valid frames. */ + walRestartHdr(pWal, salt1); + rc = sqlite3OsTruncate(pWal->pWalFd, 0); + } + walUnlockExclusive(pWal, WAL_READ_LOCK(1), WAL_NREADER-1); + } + } + } + + walcheckpoint_out: + walIteratorFree(pIter); + return rc; +} + +/* +** If the WAL file is currently larger than nMax bytes in size, truncate +** it to exactly nMax bytes. If an error occurs while doing so, ignore it. +*/ +static void walLimitSize(Wal *pWal, i64 nMax){ + i64 sz; + int rx; + sqlite3BeginBenignMalloc(); + rx = sqlite3OsFileSize(pWal->pWalFd, &sz); + if( rx==SQLITE_OK && (sz > nMax ) ){ + rx = sqlite3OsTruncate(pWal->pWalFd, nMax); + } + sqlite3EndBenignMalloc(); + if( rx ){ + sqlite3_log(rx, "cannot limit WAL size: %s", pWal->zWalName); + } +} + +/* +** Close a connection to a log file. +*/ +SQLITE_PRIVATE int sqlite3WalClose( + Wal *pWal, /* Wal to close */ + sqlite3 *db, /* For interrupt flag */ + int sync_flags, /* Flags to pass to OsSync() (or 0) */ + int nBuf, + u8 *zBuf /* Buffer of at least nBuf bytes */ +){ + int rc = SQLITE_OK; + if( pWal ){ + int isDelete = 0; /* True to unlink wal and wal-index files */ + + /* If an EXCLUSIVE lock can be obtained on the database file (using the + ** ordinary, rollback-mode locking methods, this guarantees that the + ** connection associated with this log file is the only connection to + ** the database. In this case checkpoint the database and unlink both + ** the wal and wal-index files. + ** + ** The EXCLUSIVE lock is not released before returning. + */ + if( zBuf!=0 + && SQLITE_OK==(rc = sqlite3OsLock(pWal->pDbFd, SQLITE_LOCK_EXCLUSIVE)) + ){ + if( pWal->exclusiveMode==WAL_NORMAL_MODE ){ + pWal->exclusiveMode = WAL_EXCLUSIVE_MODE; + } + rc = sqlite3WalCheckpoint(pWal, db, + SQLITE_CHECKPOINT_PASSIVE, 0, 0, sync_flags, nBuf, zBuf, 0, 0 + ); + if( rc==SQLITE_OK ){ + int bPersist = -1; + sqlite3OsFileControlHint( + pWal->pDbFd, SQLITE_FCNTL_PERSIST_WAL, &bPersist + ); + if( bPersist!=1 ){ + /* Try to delete the WAL file if the checkpoint completed and + ** fsyned (rc==SQLITE_OK) and if we are not in persistent-wal + ** mode (!bPersist) */ + isDelete = 1; + }else if( pWal->mxWalSize>=0 ){ + /* Try to truncate the WAL file to zero bytes if the checkpoint + ** completed and fsynced (rc==SQLITE_OK) and we are in persistent + ** WAL mode (bPersist) and if the PRAGMA journal_size_limit is a + ** non-negative value (pWal->mxWalSize>=0). Note that we truncate + ** to zero bytes as truncating to the journal_size_limit might + ** leave a corrupt WAL file on disk. */ + walLimitSize(pWal, 0); + } + } + } + + walIndexClose(pWal, isDelete); + sqlite3OsClose(pWal->pWalFd); + if( isDelete ){ + sqlite3BeginBenignMalloc(); + sqlite3OsDelete(pWal->pVfs, pWal->zWalName, 0); + sqlite3EndBenignMalloc(); + } + WALTRACE(("WAL%p: closed\n", pWal)); + sqlite3_free((void *)pWal->apWiData); + sqlite3_free(pWal); + } + return rc; +} + +/* +** Try to read the wal-index header. Return 0 on success and 1 if +** there is a problem. +** +** The wal-index is in shared memory. Another thread or process might +** be writing the header at the same time this procedure is trying to +** read it, which might result in inconsistency. A dirty read is detected +** by verifying that both copies of the header are the same and also by +** a checksum on the header. +** +** If and only if the read is consistent and the header is different from +** pWal->hdr, then pWal->hdr is updated to the content of the new header +** and *pChanged is set to 1. +** +** If the checksum cannot be verified return non-zero. If the header +** is read successfully and the checksum verified, return zero. +*/ +static int walIndexTryHdr(Wal *pWal, int *pChanged){ + u32 aCksum[2]; /* Checksum on the header content */ + WalIndexHdr h1, h2; /* Two copies of the header content */ + WalIndexHdr volatile *aHdr; /* Header in shared memory */ + + /* The first page of the wal-index must be mapped at this point. */ + assert( pWal->nWiData>0 && pWal->apWiData[0] ); + + /* Read the header. This might happen concurrently with a write to the + ** same area of shared memory on a different CPU in a SMP, + ** meaning it is possible that an inconsistent snapshot is read + ** from the file. If this happens, return non-zero. + ** + ** There are two copies of the header at the beginning of the wal-index. + ** When reading, read [0] first then [1]. Writes are in the reverse order. + ** Memory barriers are used to prevent the compiler or the hardware from + ** reordering the reads and writes. + */ + aHdr = walIndexHdr(pWal); + memcpy(&h1, (void *)&aHdr[0], sizeof(h1)); + walShmBarrier(pWal); + memcpy(&h2, (void *)&aHdr[1], sizeof(h2)); + + if( memcmp(&h1, &h2, sizeof(h1))!=0 ){ + return 1; /* Dirty read */ + } + if( h1.isInit==0 ){ + return 1; /* Malformed header - probably all zeros */ + } + walChecksumBytes(1, (u8*)&h1, sizeof(h1)-sizeof(h1.aCksum), 0, aCksum); + if( aCksum[0]!=h1.aCksum[0] || aCksum[1]!=h1.aCksum[1] ){ + return 1; /* Checksum does not match */ + } + + if( memcmp(&pWal->hdr, &h1, sizeof(WalIndexHdr)) ){ + *pChanged = 1; + memcpy(&pWal->hdr, &h1, sizeof(WalIndexHdr)); + pWal->szPage = (pWal->hdr.szPage&0xfe00) + ((pWal->hdr.szPage&0x0001)<<16); + testcase( pWal->szPage<=32768 ); + testcase( pWal->szPage>=65536 ); + } + + /* The header was successfully read. Return zero. */ + return 0; +} + +/* +** This is the value that walTryBeginRead returns when it needs to +** be retried. +*/ +#define WAL_RETRY (-1) + +/* +** Read the wal-index header from the wal-index and into pWal->hdr. +** If the wal-header appears to be corrupt, try to reconstruct the +** wal-index from the WAL before returning. +** +** Set *pChanged to 1 if the wal-index header value in pWal->hdr is +** changed by this operation. If pWal->hdr is unchanged, set *pChanged +** to 0. +** +** If the wal-index header is successfully read, return SQLITE_OK. +** Otherwise an SQLite error code. +*/ +static int walIndexReadHdr(Wal *pWal, int *pChanged){ + int rc; /* Return code */ + int badHdr; /* True if a header read failed */ + volatile u32 *page0; /* Chunk of wal-index containing header */ + + /* Ensure that page 0 of the wal-index (the page that contains the + ** wal-index header) is mapped. Return early if an error occurs here. + */ + assert( pChanged ); + rc = walIndexPage(pWal, 0, &page0); + if( rc!=SQLITE_OK ){ + assert( rc!=SQLITE_READONLY ); /* READONLY changed to OK in walIndexPage */ + if( rc==SQLITE_READONLY_CANTINIT ){ + /* The SQLITE_READONLY_CANTINIT return means that the shared-memory + ** was openable but is not writable, and this thread is unable to + ** confirm that another write-capable connection has the shared-memory + ** open, and hence the content of the shared-memory is unreliable, + ** since the shared-memory might be inconsistent with the WAL file + ** and there is no writer on hand to fix it. */ + assert( page0==0 ); + assert( pWal->writeLock==0 ); + assert( pWal->readOnly & WAL_SHM_RDONLY ); + pWal->bShmUnreliable = 1; + pWal->exclusiveMode = WAL_HEAPMEMORY_MODE; + *pChanged = 1; + }else{ + return rc; /* Any other non-OK return is just an error */ + } + }else{ + /* page0 can be NULL if the SHM is zero bytes in size and pWal->writeLock + ** is zero, which prevents the SHM from growing */ + testcase( page0!=0 ); + } + assert( page0!=0 || pWal->writeLock==0 ); + + /* If the first page of the wal-index has been mapped, try to read the + ** wal-index header immediately, without holding any lock. This usually + ** works, but may fail if the wal-index header is corrupt or currently + ** being modified by another thread or process. + */ + badHdr = (page0 ? walIndexTryHdr(pWal, pChanged) : 1); + + /* If the first attempt failed, it might have been due to a race + ** with a writer. So get a WRITE lock and try again. + */ + assert( badHdr==0 || pWal->writeLock==0 ); + if( badHdr ){ + if( pWal->bShmUnreliable==0 && (pWal->readOnly & WAL_SHM_RDONLY) ){ + if( SQLITE_OK==(rc = walLockShared(pWal, WAL_WRITE_LOCK)) ){ + walUnlockShared(pWal, WAL_WRITE_LOCK); + rc = SQLITE_READONLY_RECOVERY; + } + }else if( SQLITE_OK==(rc = walLockExclusive(pWal, WAL_WRITE_LOCK, 1)) ){ + pWal->writeLock = 1; + if( SQLITE_OK==(rc = walIndexPage(pWal, 0, &page0)) ){ + badHdr = walIndexTryHdr(pWal, pChanged); + if( badHdr ){ + /* If the wal-index header is still malformed even while holding + ** a WRITE lock, it can only mean that the header is corrupted and + ** needs to be reconstructed. So run recovery to do exactly that. + */ + rc = walIndexRecover(pWal); + *pChanged = 1; + } + } + pWal->writeLock = 0; + walUnlockExclusive(pWal, WAL_WRITE_LOCK, 1); + } + } + + /* If the header is read successfully, check the version number to make + ** sure the wal-index was not constructed with some future format that + ** this version of SQLite cannot understand. + */ + if( badHdr==0 && pWal->hdr.iVersion!=WALINDEX_MAX_VERSION ){ + rc = SQLITE_CANTOPEN_BKPT; + } + if( pWal->bShmUnreliable ){ + if( rc!=SQLITE_OK ){ + walIndexClose(pWal, 0); + pWal->bShmUnreliable = 0; + assert( pWal->nWiData>0 && pWal->apWiData[0]==0 ); + /* walIndexRecover() might have returned SHORT_READ if a concurrent + ** writer truncated the WAL out from under it. If that happens, it + ** indicates that a writer has fixed the SHM file for us, so retry */ + if( rc==SQLITE_IOERR_SHORT_READ ) rc = WAL_RETRY; + } + pWal->exclusiveMode = WAL_NORMAL_MODE; + } + + return rc; +} + +/* +** Open a transaction in a connection where the shared-memory is read-only +** and where we cannot verify that there is a separate write-capable connection +** on hand to keep the shared-memory up-to-date with the WAL file. +** +** This can happen, for example, when the shared-memory is implemented by +** memory-mapping a *-shm file, where a prior writer has shut down and +** left the *-shm file on disk, and now the present connection is trying +** to use that database but lacks write permission on the *-shm file. +** Other scenarios are also possible, depending on the VFS implementation. +** +** Precondition: +** +** The *-wal file has been read and an appropriate wal-index has been +** constructed in pWal->apWiData[] using heap memory instead of shared +** memory. +** +** If this function returns SQLITE_OK, then the read transaction has +** been successfully opened. In this case output variable (*pChanged) +** is set to true before returning if the caller should discard the +** contents of the page cache before proceeding. Or, if it returns +** WAL_RETRY, then the heap memory wal-index has been discarded and +** the caller should retry opening the read transaction from the +** beginning (including attempting to map the *-shm file). +** +** If an error occurs, an SQLite error code is returned. +*/ +static int walBeginShmUnreliable(Wal *pWal, int *pChanged){ + i64 szWal; /* Size of wal file on disk in bytes */ + i64 iOffset; /* Current offset when reading wal file */ + u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */ + u8 *aFrame = 0; /* Malloc'd buffer to load entire frame */ + int szFrame; /* Number of bytes in buffer aFrame[] */ + u8 *aData; /* Pointer to data part of aFrame buffer */ + volatile void *pDummy; /* Dummy argument for xShmMap */ + int rc; /* Return code */ + u32 aSaveCksum[2]; /* Saved copy of pWal->hdr.aFrameCksum */ + + assert( pWal->bShmUnreliable ); + assert( pWal->readOnly & WAL_SHM_RDONLY ); + assert( pWal->nWiData>0 && pWal->apWiData[0] ); + + /* Take WAL_READ_LOCK(0). This has the effect of preventing any + ** writers from running a checkpoint, but does not stop them + ** from running recovery. */ + rc = walLockShared(pWal, WAL_READ_LOCK(0)); + if( rc!=SQLITE_OK ){ + if( rc==SQLITE_BUSY ) rc = WAL_RETRY; + goto begin_unreliable_shm_out; + } + pWal->readLock = 0; + + /* Check to see if a separate writer has attached to the shared-memory area, + ** thus making the shared-memory "reliable" again. Do this by invoking + ** the xShmMap() routine of the VFS and looking to see if the return + ** is SQLITE_READONLY instead of SQLITE_READONLY_CANTINIT. + ** + ** If the shared-memory is now "reliable" return WAL_RETRY, which will + ** cause the heap-memory WAL-index to be discarded and the actual + ** shared memory to be used in its place. + ** + ** This step is important because, even though this connection is holding + ** the WAL_READ_LOCK(0) which prevents a checkpoint, a writer might + ** have already checkpointed the WAL file and, while the current + ** is active, wrap the WAL and start overwriting frames that this + ** process wants to use. + ** + ** Once sqlite3OsShmMap() has been called for an sqlite3_file and has + ** returned any SQLITE_READONLY value, it must return only SQLITE_READONLY + ** or SQLITE_READONLY_CANTINIT or some error for all subsequent invocations, + ** even if some external agent does a "chmod" to make the shared-memory + ** writable by us, until sqlite3OsShmUnmap() has been called. + ** This is a requirement on the VFS implementation. + */ + rc = sqlite3OsShmMap(pWal->pDbFd, 0, WALINDEX_PGSZ, 0, &pDummy); + assert( rc!=SQLITE_OK ); /* SQLITE_OK not possible for read-only connection */ + if( rc!=SQLITE_READONLY_CANTINIT ){ + rc = (rc==SQLITE_READONLY ? WAL_RETRY : rc); + goto begin_unreliable_shm_out; + } + + /* We reach this point only if the real shared-memory is still unreliable. + ** Assume the in-memory WAL-index substitute is correct and load it + ** into pWal->hdr. + */ + memcpy(&pWal->hdr, (void*)walIndexHdr(pWal), sizeof(WalIndexHdr)); + + /* Make sure some writer hasn't come in and changed the WAL file out + ** from under us, then disconnected, while we were not looking. + */ + rc = sqlite3OsFileSize(pWal->pWalFd, &szWal); + if( rc!=SQLITE_OK ){ + goto begin_unreliable_shm_out; + } + if( szWalhdr.mxFrame==0 ? SQLITE_OK : WAL_RETRY); + goto begin_unreliable_shm_out; + } + + /* Check the salt keys at the start of the wal file still match. */ + rc = sqlite3OsRead(pWal->pWalFd, aBuf, WAL_HDRSIZE, 0); + if( rc!=SQLITE_OK ){ + goto begin_unreliable_shm_out; + } + if( memcmp(&pWal->hdr.aSalt, &aBuf[16], 8) ){ + /* Some writer has wrapped the WAL file while we were not looking. + ** Return WAL_RETRY which will cause the in-memory WAL-index to be + ** rebuilt. */ + rc = WAL_RETRY; + goto begin_unreliable_shm_out; + } + + /* Allocate a buffer to read frames into */ + szFrame = pWal->hdr.szPage + WAL_FRAME_HDRSIZE; + aFrame = (u8 *)sqlite3_malloc64(szFrame); + if( aFrame==0 ){ + rc = SQLITE_NOMEM_BKPT; + goto begin_unreliable_shm_out; + } + aData = &aFrame[WAL_FRAME_HDRSIZE]; + + /* Check to see if a complete transaction has been appended to the + ** wal file since the heap-memory wal-index was created. If so, the + ** heap-memory wal-index is discarded and WAL_RETRY returned to + ** the caller. */ + aSaveCksum[0] = pWal->hdr.aFrameCksum[0]; + aSaveCksum[1] = pWal->hdr.aFrameCksum[1]; + for(iOffset=walFrameOffset(pWal->hdr.mxFrame+1, pWal->hdr.szPage); + iOffset+szFrame<=szWal; + iOffset+=szFrame + ){ + u32 pgno; /* Database page number for frame */ + u32 nTruncate; /* dbsize field from frame header */ + + /* Read and decode the next log frame. */ + rc = sqlite3OsRead(pWal->pWalFd, aFrame, szFrame, iOffset); + if( rc!=SQLITE_OK ) break; + if( !walDecodeFrame(pWal, &pgno, &nTruncate, aData, aFrame) ) break; + + /* If nTruncate is non-zero, then a complete transaction has been + ** appended to this wal file. Set rc to WAL_RETRY and break out of + ** the loop. */ + if( nTruncate ){ + rc = WAL_RETRY; + break; + } + } + pWal->hdr.aFrameCksum[0] = aSaveCksum[0]; + pWal->hdr.aFrameCksum[1] = aSaveCksum[1]; + + begin_unreliable_shm_out: + sqlite3_free(aFrame); + if( rc!=SQLITE_OK ){ + int i; + for(i=0; inWiData; i++){ + sqlite3_free((void*)pWal->apWiData[i]); + pWal->apWiData[i] = 0; + } + pWal->bShmUnreliable = 0; + sqlite3WalEndReadTransaction(pWal); + *pChanged = 1; + } + return rc; +} + +/* +** Attempt to start a read transaction. This might fail due to a race or +** other transient condition. When that happens, it returns WAL_RETRY to +** indicate to the caller that it is safe to retry immediately. +** +** On success return SQLITE_OK. On a permanent failure (such an +** I/O error or an SQLITE_BUSY because another process is running +** recovery) return a positive error code. +** +** The useWal parameter is true to force the use of the WAL and disable +** the case where the WAL is bypassed because it has been completely +** checkpointed. If useWal==0 then this routine calls walIndexReadHdr() +** to make a copy of the wal-index header into pWal->hdr. If the +** wal-index header has changed, *pChanged is set to 1 (as an indication +** to the caller that the local page cache is obsolete and needs to be +** flushed.) When useWal==1, the wal-index header is assumed to already +** be loaded and the pChanged parameter is unused. +** +** The caller must set the cnt parameter to the number of prior calls to +** this routine during the current read attempt that returned WAL_RETRY. +** This routine will start taking more aggressive measures to clear the +** race conditions after multiple WAL_RETRY returns, and after an excessive +** number of errors will ultimately return SQLITE_PROTOCOL. The +** SQLITE_PROTOCOL return indicates that some other process has gone rogue +** and is not honoring the locking protocol. There is a vanishingly small +** chance that SQLITE_PROTOCOL could be returned because of a run of really +** bad luck when there is lots of contention for the wal-index, but that +** possibility is so small that it can be safely neglected, we believe. +** +** On success, this routine obtains a read lock on +** WAL_READ_LOCK(pWal->readLock). The pWal->readLock integer is +** in the range 0 <= pWal->readLock < WAL_NREADER. If pWal->readLock==(-1) +** that means the Wal does not hold any read lock. The reader must not +** access any database page that is modified by a WAL frame up to and +** including frame number aReadMark[pWal->readLock]. The reader will +** use WAL frames up to and including pWal->hdr.mxFrame if pWal->readLock>0 +** Or if pWal->readLock==0, then the reader will ignore the WAL +** completely and get all content directly from the database file. +** If the useWal parameter is 1 then the WAL will never be ignored and +** this routine will always set pWal->readLock>0 on success. +** When the read transaction is completed, the caller must release the +** lock on WAL_READ_LOCK(pWal->readLock) and set pWal->readLock to -1. +** +** This routine uses the nBackfill and aReadMark[] fields of the header +** to select a particular WAL_READ_LOCK() that strives to let the +** checkpoint process do as much work as possible. This routine might +** update values of the aReadMark[] array in the header, but if it does +** so it takes care to hold an exclusive lock on the corresponding +** WAL_READ_LOCK() while changing values. +*/ +static int walTryBeginRead(Wal *pWal, int *pChanged, int useWal, int cnt){ + volatile WalCkptInfo *pInfo; /* Checkpoint information in wal-index */ + u32 mxReadMark; /* Largest aReadMark[] value */ + int mxI; /* Index of largest aReadMark[] value */ + int i; /* Loop counter */ + int rc = SQLITE_OK; /* Return code */ + u32 mxFrame; /* Wal frame to lock to */ + + assert( pWal->readLock<0 ); /* Not currently locked */ + + /* useWal may only be set for read/write connections */ + assert( (pWal->readOnly & WAL_SHM_RDONLY)==0 || useWal==0 ); + + /* Take steps to avoid spinning forever if there is a protocol error. + ** + ** Circumstances that cause a RETRY should only last for the briefest + ** instances of time. No I/O or other system calls are done while the + ** locks are held, so the locks should not be held for very long. But + ** if we are unlucky, another process that is holding a lock might get + ** paged out or take a page-fault that is time-consuming to resolve, + ** during the few nanoseconds that it is holding the lock. In that case, + ** it might take longer than normal for the lock to free. + ** + ** After 5 RETRYs, we begin calling sqlite3OsSleep(). The first few + ** calls to sqlite3OsSleep() have a delay of 1 microsecond. Really this + ** is more of a scheduler yield than an actual delay. But on the 10th + ** an subsequent retries, the delays start becoming longer and longer, + ** so that on the 100th (and last) RETRY we delay for 323 milliseconds. + ** The total delay time before giving up is less than 10 seconds. + */ + if( cnt>5 ){ + int nDelay = 1; /* Pause time in microseconds */ + if( cnt>100 ){ + VVA_ONLY( pWal->lockError = 1; ) + return SQLITE_PROTOCOL; + } + if( cnt>=10 ) nDelay = (cnt-9)*(cnt-9)*39; + sqlite3OsSleep(pWal->pVfs, nDelay); + } + + if( !useWal ){ + assert( rc==SQLITE_OK ); + if( pWal->bShmUnreliable==0 ){ + rc = walIndexReadHdr(pWal, pChanged); + } + if( rc==SQLITE_BUSY ){ + /* If there is not a recovery running in another thread or process + ** then convert BUSY errors to WAL_RETRY. If recovery is known to + ** be running, convert BUSY to BUSY_RECOVERY. There is a race here + ** which might cause WAL_RETRY to be returned even if BUSY_RECOVERY + ** would be technically correct. But the race is benign since with + ** WAL_RETRY this routine will be called again and will probably be + ** right on the second iteration. + */ + if( pWal->apWiData[0]==0 ){ + /* This branch is taken when the xShmMap() method returns SQLITE_BUSY. + ** We assume this is a transient condition, so return WAL_RETRY. The + ** xShmMap() implementation used by the default unix and win32 VFS + ** modules may return SQLITE_BUSY due to a race condition in the + ** code that determines whether or not the shared-memory region + ** must be zeroed before the requested page is returned. + */ + rc = WAL_RETRY; + }else if( SQLITE_OK==(rc = walLockShared(pWal, WAL_RECOVER_LOCK)) ){ + walUnlockShared(pWal, WAL_RECOVER_LOCK); + rc = WAL_RETRY; + }else if( rc==SQLITE_BUSY ){ + rc = SQLITE_BUSY_RECOVERY; + } + } + if( rc!=SQLITE_OK ){ + return rc; + } + else if( pWal->bShmUnreliable ){ + return walBeginShmUnreliable(pWal, pChanged); + } + } + + assert( pWal->nWiData>0 ); + assert( pWal->apWiData[0]!=0 ); + pInfo = walCkptInfo(pWal); + if( !useWal && pInfo->nBackfill==pWal->hdr.mxFrame +#ifdef SQLITE_ENABLE_SNAPSHOT + && (pWal->pSnapshot==0 || pWal->hdr.mxFrame==0) +#endif + ){ + /* The WAL has been completely backfilled (or it is empty). + ** and can be safely ignored. + */ + rc = walLockShared(pWal, WAL_READ_LOCK(0)); + walShmBarrier(pWal); + if( rc==SQLITE_OK ){ + if( memcmp((void *)walIndexHdr(pWal), &pWal->hdr, sizeof(WalIndexHdr)) ){ + /* It is not safe to allow the reader to continue here if frames + ** may have been appended to the log before READ_LOCK(0) was obtained. + ** When holding READ_LOCK(0), the reader ignores the entire log file, + ** which implies that the database file contains a trustworthy + ** snapshot. Since holding READ_LOCK(0) prevents a checkpoint from + ** happening, this is usually correct. + ** + ** However, if frames have been appended to the log (or if the log + ** is wrapped and written for that matter) before the READ_LOCK(0) + ** is obtained, that is not necessarily true. A checkpointer may + ** have started to backfill the appended frames but crashed before + ** it finished. Leaving a corrupt image in the database file. + */ + walUnlockShared(pWal, WAL_READ_LOCK(0)); + return WAL_RETRY; + } + pWal->readLock = 0; + return SQLITE_OK; + }else if( rc!=SQLITE_BUSY ){ + return rc; + } + } + + /* If we get this far, it means that the reader will want to use + ** the WAL to get at content from recent commits. The job now is + ** to select one of the aReadMark[] entries that is closest to + ** but not exceeding pWal->hdr.mxFrame and lock that entry. + */ + mxReadMark = 0; + mxI = 0; + mxFrame = pWal->hdr.mxFrame; +#ifdef SQLITE_ENABLE_SNAPSHOT + if( pWal->pSnapshot && pWal->pSnapshot->mxFramepSnapshot->mxFrame; + } +#endif + for(i=1; iaReadMark+i); + if( mxReadMark<=thisMark && thisMark<=mxFrame ){ + assert( thisMark!=READMARK_NOT_USED ); + mxReadMark = thisMark; + mxI = i; + } + } + if( (pWal->readOnly & WAL_SHM_RDONLY)==0 + && (mxReadMarkaReadMark+i,mxFrame); + mxI = i; + walUnlockExclusive(pWal, WAL_READ_LOCK(i), 1); + break; + }else if( rc!=SQLITE_BUSY ){ + return rc; + } + } + } + if( mxI==0 ){ + assert( rc==SQLITE_BUSY || (pWal->readOnly & WAL_SHM_RDONLY)!=0 ); + return rc==SQLITE_BUSY ? WAL_RETRY : SQLITE_READONLY_CANTINIT; + } + + rc = walLockShared(pWal, WAL_READ_LOCK(mxI)); + if( rc ){ + return rc==SQLITE_BUSY ? WAL_RETRY : rc; + } + /* Now that the read-lock has been obtained, check that neither the + ** value in the aReadMark[] array or the contents of the wal-index + ** header have changed. + ** + ** It is necessary to check that the wal-index header did not change + ** between the time it was read and when the shared-lock was obtained + ** on WAL_READ_LOCK(mxI) was obtained to account for the possibility + ** that the log file may have been wrapped by a writer, or that frames + ** that occur later in the log than pWal->hdr.mxFrame may have been + ** copied into the database by a checkpointer. If either of these things + ** happened, then reading the database with the current value of + ** pWal->hdr.mxFrame risks reading a corrupted snapshot. So, retry + ** instead. + ** + ** Before checking that the live wal-index header has not changed + ** since it was read, set Wal.minFrame to the first frame in the wal + ** file that has not yet been checkpointed. This client will not need + ** to read any frames earlier than minFrame from the wal file - they + ** can be safely read directly from the database file. + ** + ** Because a ShmBarrier() call is made between taking the copy of + ** nBackfill and checking that the wal-header in shared-memory still + ** matches the one cached in pWal->hdr, it is guaranteed that the + ** checkpointer that set nBackfill was not working with a wal-index + ** header newer than that cached in pWal->hdr. If it were, that could + ** cause a problem. The checkpointer could omit to checkpoint + ** a version of page X that lies before pWal->minFrame (call that version + ** A) on the basis that there is a newer version (version B) of the same + ** page later in the wal file. But if version B happens to like past + ** frame pWal->hdr.mxFrame - then the client would incorrectly assume + ** that it can read version A from the database file. However, since + ** we can guarantee that the checkpointer that set nBackfill could not + ** see any pages past pWal->hdr.mxFrame, this problem does not come up. + */ + pWal->minFrame = AtomicLoad(&pInfo->nBackfill)+1; + walShmBarrier(pWal); + if( AtomicLoad(pInfo->aReadMark+mxI)!=mxReadMark + || memcmp((void *)walIndexHdr(pWal), &pWal->hdr, sizeof(WalIndexHdr)) + ){ + walUnlockShared(pWal, WAL_READ_LOCK(mxI)); + return WAL_RETRY; + }else{ + assert( mxReadMark<=pWal->hdr.mxFrame ); + pWal->readLock = (i16)mxI; + } + return rc; +} + +#ifdef SQLITE_ENABLE_SNAPSHOT +/* +** Attempt to reduce the value of the WalCkptInfo.nBackfillAttempted +** variable so that older snapshots can be accessed. To do this, loop +** through all wal frames from nBackfillAttempted to (nBackfill+1), +** comparing their content to the corresponding page with the database +** file, if any. Set nBackfillAttempted to the frame number of the +** first frame for which the wal file content matches the db file. +** +** This is only really safe if the file-system is such that any page +** writes made by earlier checkpointers were atomic operations, which +** is not always true. It is also possible that nBackfillAttempted +** may be left set to a value larger than expected, if a wal frame +** contains content that duplicate of an earlier version of the same +** page. +** +** SQLITE_OK is returned if successful, or an SQLite error code if an +** error occurs. It is not an error if nBackfillAttempted cannot be +** decreased at all. +*/ +SQLITE_PRIVATE int sqlite3WalSnapshotRecover(Wal *pWal){ + int rc; + + assert( pWal->readLock>=0 ); + rc = walLockExclusive(pWal, WAL_CKPT_LOCK, 1); + if( rc==SQLITE_OK ){ + volatile WalCkptInfo *pInfo = walCkptInfo(pWal); + int szPage = (int)pWal->szPage; + i64 szDb; /* Size of db file in bytes */ + + rc = sqlite3OsFileSize(pWal->pDbFd, &szDb); + if( rc==SQLITE_OK ){ + void *pBuf1 = sqlite3_malloc(szPage); + void *pBuf2 = sqlite3_malloc(szPage); + if( pBuf1==0 || pBuf2==0 ){ + rc = SQLITE_NOMEM; + }else{ + u32 i = pInfo->nBackfillAttempted; + for(i=pInfo->nBackfillAttempted; i>pInfo->nBackfill; i--){ + WalHashLoc sLoc; /* Hash table location */ + u32 pgno; /* Page number in db file */ + i64 iDbOff; /* Offset of db file entry */ + i64 iWalOff; /* Offset of wal file entry */ + + rc = walHashGet(pWal, walFramePage(i), &sLoc); + if( rc!=SQLITE_OK ) break; + pgno = sLoc.aPgno[i-sLoc.iZero]; + iDbOff = (i64)(pgno-1) * szPage; + + if( iDbOff+szPage<=szDb ){ + iWalOff = walFrameOffset(i, szPage) + WAL_FRAME_HDRSIZE; + rc = sqlite3OsRead(pWal->pWalFd, pBuf1, szPage, iWalOff); + + if( rc==SQLITE_OK ){ + rc = sqlite3OsRead(pWal->pDbFd, pBuf2, szPage, iDbOff); + } + + if( rc!=SQLITE_OK || 0==memcmp(pBuf1, pBuf2, szPage) ){ + break; + } + } + + pInfo->nBackfillAttempted = i-1; + } + } + + sqlite3_free(pBuf1); + sqlite3_free(pBuf2); + } + walUnlockExclusive(pWal, WAL_CKPT_LOCK, 1); + } + + return rc; +} +#endif /* SQLITE_ENABLE_SNAPSHOT */ + +/* +** Begin a read transaction on the database. +** +** This routine used to be called sqlite3OpenSnapshot() and with good reason: +** it takes a snapshot of the state of the WAL and wal-index for the current +** instant in time. The current thread will continue to use this snapshot. +** Other threads might append new content to the WAL and wal-index but +** that extra content is ignored by the current thread. +** +** If the database contents have changes since the previous read +** transaction, then *pChanged is set to 1 before returning. The +** Pager layer will use this to know that its cache is stale and +** needs to be flushed. +*/ +SQLITE_PRIVATE int sqlite3WalBeginReadTransaction(Wal *pWal, int *pChanged){ + int rc; /* Return code */ + int cnt = 0; /* Number of TryBeginRead attempts */ + +#ifdef SQLITE_ENABLE_SNAPSHOT + int bChanged = 0; + WalIndexHdr *pSnapshot = pWal->pSnapshot; + if( pSnapshot && memcmp(pSnapshot, &pWal->hdr, sizeof(WalIndexHdr))!=0 ){ + bChanged = 1; + } +#endif + + do{ + rc = walTryBeginRead(pWal, pChanged, 0, ++cnt); + }while( rc==WAL_RETRY ); + testcase( (rc&0xff)==SQLITE_BUSY ); + testcase( (rc&0xff)==SQLITE_IOERR ); + testcase( rc==SQLITE_PROTOCOL ); + testcase( rc==SQLITE_OK ); + +#ifdef SQLITE_ENABLE_SNAPSHOT + if( rc==SQLITE_OK ){ + if( pSnapshot && memcmp(pSnapshot, &pWal->hdr, sizeof(WalIndexHdr))!=0 ){ + /* At this point the client has a lock on an aReadMark[] slot holding + ** a value equal to or smaller than pSnapshot->mxFrame, but pWal->hdr + ** is populated with the wal-index header corresponding to the head + ** of the wal file. Verify that pSnapshot is still valid before + ** continuing. Reasons why pSnapshot might no longer be valid: + ** + ** (1) The WAL file has been reset since the snapshot was taken. + ** In this case, the salt will have changed. + ** + ** (2) A checkpoint as been attempted that wrote frames past + ** pSnapshot->mxFrame into the database file. Note that the + ** checkpoint need not have completed for this to cause problems. + */ + volatile WalCkptInfo *pInfo = walCkptInfo(pWal); + + assert( pWal->readLock>0 || pWal->hdr.mxFrame==0 ); + assert( pInfo->aReadMark[pWal->readLock]<=pSnapshot->mxFrame ); + + /* It is possible that there is a checkpointer thread running + ** concurrent with this code. If this is the case, it may be that the + ** checkpointer has already determined that it will checkpoint + ** snapshot X, where X is later in the wal file than pSnapshot, but + ** has not yet set the pInfo->nBackfillAttempted variable to indicate + ** its intent. To avoid the race condition this leads to, ensure that + ** there is no checkpointer process by taking a shared CKPT lock + ** before checking pInfo->nBackfillAttempted. + ** + ** TODO: Does the aReadMark[] lock prevent a checkpointer from doing + ** this already? + */ + rc = walLockShared(pWal, WAL_CKPT_LOCK); + + if( rc==SQLITE_OK ){ + /* Check that the wal file has not been wrapped. Assuming that it has + ** not, also check that no checkpointer has attempted to checkpoint any + ** frames beyond pSnapshot->mxFrame. If either of these conditions are + ** true, return SQLITE_ERROR_SNAPSHOT. Otherwise, overwrite pWal->hdr + ** with *pSnapshot and set *pChanged as appropriate for opening the + ** snapshot. */ + if( !memcmp(pSnapshot->aSalt, pWal->hdr.aSalt, sizeof(pWal->hdr.aSalt)) + && pSnapshot->mxFrame>=pInfo->nBackfillAttempted + ){ + assert( pWal->readLock>0 ); + memcpy(&pWal->hdr, pSnapshot, sizeof(WalIndexHdr)); + *pChanged = bChanged; + }else{ + rc = SQLITE_ERROR_SNAPSHOT; + } + + /* Release the shared CKPT lock obtained above. */ + walUnlockShared(pWal, WAL_CKPT_LOCK); + pWal->minFrame = 1; + } + + + if( rc!=SQLITE_OK ){ + sqlite3WalEndReadTransaction(pWal); + } + } + } +#endif + return rc; +} + +/* +** Finish with a read transaction. All this does is release the +** read-lock. +*/ +SQLITE_PRIVATE void sqlite3WalEndReadTransaction(Wal *pWal){ + sqlite3WalEndWriteTransaction(pWal); + if( pWal->readLock>=0 ){ + walUnlockShared(pWal, WAL_READ_LOCK(pWal->readLock)); + pWal->readLock = -1; + } +} + +/* +** Search the wal file for page pgno. If found, set *piRead to the frame that +** contains the page. Otherwise, if pgno is not in the wal file, set *piRead +** to zero. +** +** Return SQLITE_OK if successful, or an error code if an error occurs. If an +** error does occur, the final value of *piRead is undefined. +*/ +SQLITE_PRIVATE int sqlite3WalFindFrame( + Wal *pWal, /* WAL handle */ + Pgno pgno, /* Database page number to read data for */ + u32 *piRead /* OUT: Frame number (or zero) */ +){ + u32 iRead = 0; /* If !=0, WAL frame to return data from */ + u32 iLast = pWal->hdr.mxFrame; /* Last page in WAL for this reader */ + int iHash; /* Used to loop through N hash tables */ + int iMinHash; + + /* This routine is only be called from within a read transaction. */ + assert( pWal->readLock>=0 || pWal->lockError ); + + /* If the "last page" field of the wal-index header snapshot is 0, then + ** no data will be read from the wal under any circumstances. Return early + ** in this case as an optimization. Likewise, if pWal->readLock==0, + ** then the WAL is ignored by the reader so return early, as if the + ** WAL were empty. + */ + if( iLast==0 || (pWal->readLock==0 && pWal->bShmUnreliable==0) ){ + *piRead = 0; + return SQLITE_OK; + } + + /* Search the hash table or tables for an entry matching page number + ** pgno. Each iteration of the following for() loop searches one + ** hash table (each hash table indexes up to HASHTABLE_NPAGE frames). + ** + ** This code might run concurrently to the code in walIndexAppend() + ** that adds entries to the wal-index (and possibly to this hash + ** table). This means the value just read from the hash + ** slot (aHash[iKey]) may have been added before or after the + ** current read transaction was opened. Values added after the + ** read transaction was opened may have been written incorrectly - + ** i.e. these slots may contain garbage data. However, we assume + ** that any slots written before the current read transaction was + ** opened remain unmodified. + ** + ** For the reasons above, the if(...) condition featured in the inner + ** loop of the following block is more stringent that would be required + ** if we had exclusive access to the hash-table: + ** + ** (aPgno[iFrame]==pgno): + ** This condition filters out normal hash-table collisions. + ** + ** (iFrame<=iLast): + ** This condition filters out entries that were added to the hash + ** table after the current read-transaction had started. + */ + iMinHash = walFramePage(pWal->minFrame); + for(iHash=walFramePage(iLast); iHash>=iMinHash; iHash--){ + WalHashLoc sLoc; /* Hash table location */ + int iKey; /* Hash slot index */ + int nCollide; /* Number of hash collisions remaining */ + int rc; /* Error code */ + + rc = walHashGet(pWal, iHash, &sLoc); + if( rc!=SQLITE_OK ){ + return rc; + } + nCollide = HASHTABLE_NSLOT; + for(iKey=walHash(pgno); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){ + u32 iH = sLoc.aHash[iKey]; + u32 iFrame = iH + sLoc.iZero; + if( iFrame<=iLast && iFrame>=pWal->minFrame && sLoc.aPgno[iH]==pgno ){ + assert( iFrame>iRead || CORRUPT_DB ); + iRead = iFrame; + } + if( (nCollide--)==0 ){ + return SQLITE_CORRUPT_BKPT; + } + } + if( iRead ) break; + } + +#ifdef SQLITE_ENABLE_EXPENSIVE_ASSERT + /* If expensive assert() statements are available, do a linear search + ** of the wal-index file content. Make sure the results agree with the + ** result obtained using the hash indexes above. */ + { + u32 iRead2 = 0; + u32 iTest; + assert( pWal->bShmUnreliable || pWal->minFrame>0 ); + for(iTest=iLast; iTest>=pWal->minFrame && iTest>0; iTest--){ + if( walFramePgno(pWal, iTest)==pgno ){ + iRead2 = iTest; + break; + } + } + assert( iRead==iRead2 ); + } +#endif + + *piRead = iRead; + return SQLITE_OK; +} + +/* +** Read the contents of frame iRead from the wal file into buffer pOut +** (which is nOut bytes in size). Return SQLITE_OK if successful, or an +** error code otherwise. +*/ +SQLITE_PRIVATE int sqlite3WalReadFrame( + Wal *pWal, /* WAL handle */ + u32 iRead, /* Frame to read */ + int nOut, /* Size of buffer pOut in bytes */ + u8 *pOut /* Buffer to write page data to */ +){ + int sz; + i64 iOffset; + sz = pWal->hdr.szPage; + sz = (sz&0xfe00) + ((sz&0x0001)<<16); + testcase( sz<=32768 ); + testcase( sz>=65536 ); + iOffset = walFrameOffset(iRead, sz) + WAL_FRAME_HDRSIZE; + /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL */ + return sqlite3OsRead(pWal->pWalFd, pOut, (nOut>sz ? sz : nOut), iOffset); +} + +/* +** Return the size of the database in pages (or zero, if unknown). +*/ +SQLITE_PRIVATE Pgno sqlite3WalDbsize(Wal *pWal){ + if( pWal && ALWAYS(pWal->readLock>=0) ){ + return pWal->hdr.nPage; + } + return 0; +} + + +/* +** This function starts a write transaction on the WAL. +** +** A read transaction must have already been started by a prior call +** to sqlite3WalBeginReadTransaction(). +** +** If another thread or process has written into the database since +** the read transaction was started, then it is not possible for this +** thread to write as doing so would cause a fork. So this routine +** returns SQLITE_BUSY in that case and no write transaction is started. +** +** There can only be a single writer active at a time. +*/ +SQLITE_PRIVATE int sqlite3WalBeginWriteTransaction(Wal *pWal){ + int rc; + + /* Cannot start a write transaction without first holding a read + ** transaction. */ + assert( pWal->readLock>=0 ); + assert( pWal->writeLock==0 && pWal->iReCksum==0 ); + + if( pWal->readOnly ){ + return SQLITE_READONLY; + } + + /* Only one writer allowed at a time. Get the write lock. Return + ** SQLITE_BUSY if unable. + */ + rc = walLockExclusive(pWal, WAL_WRITE_LOCK, 1); + if( rc ){ + return rc; + } + pWal->writeLock = 1; + + /* If another connection has written to the database file since the + ** time the read transaction on this connection was started, then + ** the write is disallowed. + */ + if( memcmp(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr))!=0 ){ + walUnlockExclusive(pWal, WAL_WRITE_LOCK, 1); + pWal->writeLock = 0; + rc = SQLITE_BUSY_SNAPSHOT; + } + + return rc; +} + +/* +** End a write transaction. The commit has already been done. This +** routine merely releases the lock. +*/ +SQLITE_PRIVATE int sqlite3WalEndWriteTransaction(Wal *pWal){ + if( pWal->writeLock ){ + walUnlockExclusive(pWal, WAL_WRITE_LOCK, 1); + pWal->writeLock = 0; + pWal->iReCksum = 0; + pWal->truncateOnCommit = 0; + } + return SQLITE_OK; +} + +/* +** If any data has been written (but not committed) to the log file, this +** function moves the write-pointer back to the start of the transaction. +** +** Additionally, the callback function is invoked for each frame written +** to the WAL since the start of the transaction. If the callback returns +** other than SQLITE_OK, it is not invoked again and the error code is +** returned to the caller. +** +** Otherwise, if the callback function does not return an error, this +** function returns SQLITE_OK. +*/ +SQLITE_PRIVATE int sqlite3WalUndo(Wal *pWal, int (*xUndo)(void *, Pgno), void *pUndoCtx){ + int rc = SQLITE_OK; + if( ALWAYS(pWal->writeLock) ){ + Pgno iMax = pWal->hdr.mxFrame; + Pgno iFrame; + + /* Restore the clients cache of the wal-index header to the state it + ** was in before the client began writing to the database. + */ + memcpy(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr)); + + for(iFrame=pWal->hdr.mxFrame+1; + ALWAYS(rc==SQLITE_OK) && iFrame<=iMax; + iFrame++ + ){ + /* This call cannot fail. Unless the page for which the page number + ** is passed as the second argument is (a) in the cache and + ** (b) has an outstanding reference, then xUndo is either a no-op + ** (if (a) is false) or simply expels the page from the cache (if (b) + ** is false). + ** + ** If the upper layer is doing a rollback, it is guaranteed that there + ** are no outstanding references to any page other than page 1. And + ** page 1 is never written to the log until the transaction is + ** committed. As a result, the call to xUndo may not fail. + */ + assert( walFramePgno(pWal, iFrame)!=1 ); + rc = xUndo(pUndoCtx, walFramePgno(pWal, iFrame)); + } + if( iMax!=pWal->hdr.mxFrame ) walCleanupHash(pWal); + } + return rc; +} + +/* +** Argument aWalData must point to an array of WAL_SAVEPOINT_NDATA u32 +** values. This function populates the array with values required to +** "rollback" the write position of the WAL handle back to the current +** point in the event of a savepoint rollback (via WalSavepointUndo()). +*/ +SQLITE_PRIVATE void sqlite3WalSavepoint(Wal *pWal, u32 *aWalData){ + assert( pWal->writeLock ); + aWalData[0] = pWal->hdr.mxFrame; + aWalData[1] = pWal->hdr.aFrameCksum[0]; + aWalData[2] = pWal->hdr.aFrameCksum[1]; + aWalData[3] = pWal->nCkpt; +} + +/* +** Move the write position of the WAL back to the point identified by +** the values in the aWalData[] array. aWalData must point to an array +** of WAL_SAVEPOINT_NDATA u32 values that has been previously populated +** by a call to WalSavepoint(). +*/ +SQLITE_PRIVATE int sqlite3WalSavepointUndo(Wal *pWal, u32 *aWalData){ + int rc = SQLITE_OK; + + assert( pWal->writeLock ); + assert( aWalData[3]!=pWal->nCkpt || aWalData[0]<=pWal->hdr.mxFrame ); + + if( aWalData[3]!=pWal->nCkpt ){ + /* This savepoint was opened immediately after the write-transaction + ** was started. Right after that, the writer decided to wrap around + ** to the start of the log. Update the savepoint values to match. + */ + aWalData[0] = 0; + aWalData[3] = pWal->nCkpt; + } + + if( aWalData[0]hdr.mxFrame ){ + pWal->hdr.mxFrame = aWalData[0]; + pWal->hdr.aFrameCksum[0] = aWalData[1]; + pWal->hdr.aFrameCksum[1] = aWalData[2]; + walCleanupHash(pWal); + } + + return rc; +} + +/* +** This function is called just before writing a set of frames to the log +** file (see sqlite3WalFrames()). It checks to see if, instead of appending +** to the current log file, it is possible to overwrite the start of the +** existing log file with the new frames (i.e. "reset" the log). If so, +** it sets pWal->hdr.mxFrame to 0. Otherwise, pWal->hdr.mxFrame is left +** unchanged. +** +** SQLITE_OK is returned if no error is encountered (regardless of whether +** or not pWal->hdr.mxFrame is modified). An SQLite error code is returned +** if an error occurs. +*/ +static int walRestartLog(Wal *pWal){ + int rc = SQLITE_OK; + int cnt; + + if( pWal->readLock==0 ){ + volatile WalCkptInfo *pInfo = walCkptInfo(pWal); + assert( pInfo->nBackfill==pWal->hdr.mxFrame ); + if( pInfo->nBackfill>0 ){ + u32 salt1; + sqlite3_randomness(4, &salt1); + rc = walLockExclusive(pWal, WAL_READ_LOCK(1), WAL_NREADER-1); + if( rc==SQLITE_OK ){ + /* If all readers are using WAL_READ_LOCK(0) (in other words if no + ** readers are currently using the WAL), then the transactions + ** frames will overwrite the start of the existing log. Update the + ** wal-index header to reflect this. + ** + ** In theory it would be Ok to update the cache of the header only + ** at this point. But updating the actual wal-index header is also + ** safe and means there is no special case for sqlite3WalUndo() + ** to handle if this transaction is rolled back. */ + walRestartHdr(pWal, salt1); + walUnlockExclusive(pWal, WAL_READ_LOCK(1), WAL_NREADER-1); + }else if( rc!=SQLITE_BUSY ){ + return rc; + } + } + walUnlockShared(pWal, WAL_READ_LOCK(0)); + pWal->readLock = -1; + cnt = 0; + do{ + int notUsed; + rc = walTryBeginRead(pWal, ¬Used, 1, ++cnt); + }while( rc==WAL_RETRY ); + assert( (rc&0xff)!=SQLITE_BUSY ); /* BUSY not possible when useWal==1 */ + testcase( (rc&0xff)==SQLITE_IOERR ); + testcase( rc==SQLITE_PROTOCOL ); + testcase( rc==SQLITE_OK ); + } + return rc; +} + +/* +** Information about the current state of the WAL file and where +** the next fsync should occur - passed from sqlite3WalFrames() into +** walWriteToLog(). +*/ +typedef struct WalWriter { + Wal *pWal; /* The complete WAL information */ + sqlite3_file *pFd; /* The WAL file to which we write */ + sqlite3_int64 iSyncPoint; /* Fsync at this offset */ + int syncFlags; /* Flags for the fsync */ + int szPage; /* Size of one page */ +} WalWriter; + +/* +** Write iAmt bytes of content into the WAL file beginning at iOffset. +** Do a sync when crossing the p->iSyncPoint boundary. +** +** In other words, if iSyncPoint is in between iOffset and iOffset+iAmt, +** first write the part before iSyncPoint, then sync, then write the +** rest. +*/ +static int walWriteToLog( + WalWriter *p, /* WAL to write to */ + void *pContent, /* Content to be written */ + int iAmt, /* Number of bytes to write */ + sqlite3_int64 iOffset /* Start writing at this offset */ +){ + int rc; + if( iOffsetiSyncPoint && iOffset+iAmt>=p->iSyncPoint ){ + int iFirstAmt = (int)(p->iSyncPoint - iOffset); + rc = sqlite3OsWrite(p->pFd, pContent, iFirstAmt, iOffset); + if( rc ) return rc; + iOffset += iFirstAmt; + iAmt -= iFirstAmt; + pContent = (void*)(iFirstAmt + (char*)pContent); + assert( WAL_SYNC_FLAGS(p->syncFlags)!=0 ); + rc = sqlite3OsSync(p->pFd, WAL_SYNC_FLAGS(p->syncFlags)); + if( iAmt==0 || rc ) return rc; + } + rc = sqlite3OsWrite(p->pFd, pContent, iAmt, iOffset); + return rc; +} + +/* +** Write out a single frame of the WAL +*/ +static int walWriteOneFrame( + WalWriter *p, /* Where to write the frame */ + PgHdr *pPage, /* The page of the frame to be written */ + int nTruncate, /* The commit flag. Usually 0. >0 for commit */ + sqlite3_int64 iOffset /* Byte offset at which to write */ +){ + int rc; /* Result code from subfunctions */ + void *pData; /* Data actually written */ + u8 aFrame[WAL_FRAME_HDRSIZE]; /* Buffer to assemble frame-header in */ +#if defined(SQLITE_HAS_CODEC) + if( (pData = sqlite3PagerCodec(pPage))==0 ) return SQLITE_NOMEM_BKPT; +#else + pData = pPage->pData; +#endif + walEncodeFrame(p->pWal, pPage->pgno, nTruncate, pData, aFrame); + rc = walWriteToLog(p, aFrame, sizeof(aFrame), iOffset); + if( rc ) return rc; + /* Write the page data */ + rc = walWriteToLog(p, pData, p->szPage, iOffset+sizeof(aFrame)); + return rc; +} + +/* +** This function is called as part of committing a transaction within which +** one or more frames have been overwritten. It updates the checksums for +** all frames written to the wal file by the current transaction starting +** with the earliest to have been overwritten. +** +** SQLITE_OK is returned if successful, or an SQLite error code otherwise. +*/ +static int walRewriteChecksums(Wal *pWal, u32 iLast){ + const int szPage = pWal->szPage;/* Database page size */ + int rc = SQLITE_OK; /* Return code */ + u8 *aBuf; /* Buffer to load data from wal file into */ + u8 aFrame[WAL_FRAME_HDRSIZE]; /* Buffer to assemble frame-headers in */ + u32 iRead; /* Next frame to read from wal file */ + i64 iCksumOff; + + aBuf = sqlite3_malloc(szPage + WAL_FRAME_HDRSIZE); + if( aBuf==0 ) return SQLITE_NOMEM_BKPT; + + /* Find the checksum values to use as input for the recalculating the + ** first checksum. If the first frame is frame 1 (implying that the current + ** transaction restarted the wal file), these values must be read from the + ** wal-file header. Otherwise, read them from the frame header of the + ** previous frame. */ + assert( pWal->iReCksum>0 ); + if( pWal->iReCksum==1 ){ + iCksumOff = 24; + }else{ + iCksumOff = walFrameOffset(pWal->iReCksum-1, szPage) + 16; + } + rc = sqlite3OsRead(pWal->pWalFd, aBuf, sizeof(u32)*2, iCksumOff); + pWal->hdr.aFrameCksum[0] = sqlite3Get4byte(aBuf); + pWal->hdr.aFrameCksum[1] = sqlite3Get4byte(&aBuf[sizeof(u32)]); + + iRead = pWal->iReCksum; + pWal->iReCksum = 0; + for(; rc==SQLITE_OK && iRead<=iLast; iRead++){ + i64 iOff = walFrameOffset(iRead, szPage); + rc = sqlite3OsRead(pWal->pWalFd, aBuf, szPage+WAL_FRAME_HDRSIZE, iOff); + if( rc==SQLITE_OK ){ + u32 iPgno, nDbSize; + iPgno = sqlite3Get4byte(aBuf); + nDbSize = sqlite3Get4byte(&aBuf[4]); + + walEncodeFrame(pWal, iPgno, nDbSize, &aBuf[WAL_FRAME_HDRSIZE], aFrame); + rc = sqlite3OsWrite(pWal->pWalFd, aFrame, sizeof(aFrame), iOff); + } + } + + sqlite3_free(aBuf); + return rc; +} + +/* +** Write a set of frames to the log. The caller must hold the write-lock +** on the log file (obtained using sqlite3WalBeginWriteTransaction()). +*/ +SQLITE_PRIVATE int sqlite3WalFrames( + Wal *pWal, /* Wal handle to write to */ + int szPage, /* Database page-size in bytes */ + PgHdr *pList, /* List of dirty pages to write */ + Pgno nTruncate, /* Database size after this commit */ + int isCommit, /* True if this is a commit */ + int sync_flags /* Flags to pass to OsSync() (or 0) */ +){ + int rc; /* Used to catch return codes */ + u32 iFrame; /* Next frame address */ + PgHdr *p; /* Iterator to run through pList with. */ + PgHdr *pLast = 0; /* Last frame in list */ + int nExtra = 0; /* Number of extra copies of last page */ + int szFrame; /* The size of a single frame */ + i64 iOffset; /* Next byte to write in WAL file */ + WalWriter w; /* The writer */ + u32 iFirst = 0; /* First frame that may be overwritten */ + WalIndexHdr *pLive; /* Pointer to shared header */ + + assert( pList ); + assert( pWal->writeLock ); + + /* If this frame set completes a transaction, then nTruncate>0. If + ** nTruncate==0 then this frame set does not complete the transaction. */ + assert( (isCommit!=0)==(nTruncate!=0) ); + +#if defined(SQLITE_TEST) && defined(SQLITE_DEBUG) + { int cnt; for(cnt=0, p=pList; p; p=p->pDirty, cnt++){} + WALTRACE(("WAL%p: frame write begin. %d frames. mxFrame=%d. %s\n", + pWal, cnt, pWal->hdr.mxFrame, isCommit ? "Commit" : "Spill")); + } +#endif + + pLive = (WalIndexHdr*)walIndexHdr(pWal); + if( memcmp(&pWal->hdr, (void *)pLive, sizeof(WalIndexHdr))!=0 ){ + iFirst = pLive->mxFrame+1; + } + + /* See if it is possible to write these frames into the start of the + ** log file, instead of appending to it at pWal->hdr.mxFrame. + */ + if( SQLITE_OK!=(rc = walRestartLog(pWal)) ){ + return rc; + } + + /* If this is the first frame written into the log, write the WAL + ** header to the start of the WAL file. See comments at the top of + ** this source file for a description of the WAL header format. + */ + iFrame = pWal->hdr.mxFrame; + if( iFrame==0 ){ + u8 aWalHdr[WAL_HDRSIZE]; /* Buffer to assemble wal-header in */ + u32 aCksum[2]; /* Checksum for wal-header */ + + sqlite3Put4byte(&aWalHdr[0], (WAL_MAGIC | SQLITE_BIGENDIAN)); + sqlite3Put4byte(&aWalHdr[4], WAL_MAX_VERSION); + sqlite3Put4byte(&aWalHdr[8], szPage); + sqlite3Put4byte(&aWalHdr[12], pWal->nCkpt); + if( pWal->nCkpt==0 ) sqlite3_randomness(8, pWal->hdr.aSalt); + memcpy(&aWalHdr[16], pWal->hdr.aSalt, 8); + walChecksumBytes(1, aWalHdr, WAL_HDRSIZE-2*4, 0, aCksum); + sqlite3Put4byte(&aWalHdr[24], aCksum[0]); + sqlite3Put4byte(&aWalHdr[28], aCksum[1]); + + pWal->szPage = szPage; + pWal->hdr.bigEndCksum = SQLITE_BIGENDIAN; + pWal->hdr.aFrameCksum[0] = aCksum[0]; + pWal->hdr.aFrameCksum[1] = aCksum[1]; + pWal->truncateOnCommit = 1; + + rc = sqlite3OsWrite(pWal->pWalFd, aWalHdr, sizeof(aWalHdr), 0); + WALTRACE(("WAL%p: wal-header write %s\n", pWal, rc ? "failed" : "ok")); + if( rc!=SQLITE_OK ){ + return rc; + } + + /* Sync the header (unless SQLITE_IOCAP_SEQUENTIAL is true or unless + ** all syncing is turned off by PRAGMA synchronous=OFF). Otherwise + ** an out-of-order write following a WAL restart could result in + ** database corruption. See the ticket: + ** + ** https://sqlite.org/src/info/ff5be73dee + */ + if( pWal->syncHeader ){ + rc = sqlite3OsSync(pWal->pWalFd, CKPT_SYNC_FLAGS(sync_flags)); + if( rc ) return rc; + } + } + assert( (int)pWal->szPage==szPage ); + + /* Setup information needed to write frames into the WAL */ + w.pWal = pWal; + w.pFd = pWal->pWalFd; + w.iSyncPoint = 0; + w.syncFlags = sync_flags; + w.szPage = szPage; + iOffset = walFrameOffset(iFrame+1, szPage); + szFrame = szPage + WAL_FRAME_HDRSIZE; + + /* Write all frames into the log file exactly once */ + for(p=pList; p; p=p->pDirty){ + int nDbSize; /* 0 normally. Positive == commit flag */ + + /* Check if this page has already been written into the wal file by + ** the current transaction. If so, overwrite the existing frame and + ** set Wal.writeLock to WAL_WRITELOCK_RECKSUM - indicating that + ** checksums must be recomputed when the transaction is committed. */ + if( iFirst && (p->pDirty || isCommit==0) ){ + u32 iWrite = 0; + VVA_ONLY(rc =) sqlite3WalFindFrame(pWal, p->pgno, &iWrite); + assert( rc==SQLITE_OK || iWrite==0 ); + if( iWrite>=iFirst ){ + i64 iOff = walFrameOffset(iWrite, szPage) + WAL_FRAME_HDRSIZE; + void *pData; + if( pWal->iReCksum==0 || iWriteiReCksum ){ + pWal->iReCksum = iWrite; + } +#if defined(SQLITE_HAS_CODEC) + if( (pData = sqlite3PagerCodec(p))==0 ) return SQLITE_NOMEM; +#else + pData = p->pData; +#endif + rc = sqlite3OsWrite(pWal->pWalFd, pData, szPage, iOff); + if( rc ) return rc; + p->flags &= ~PGHDR_WAL_APPEND; + continue; + } + } + + iFrame++; + assert( iOffset==walFrameOffset(iFrame, szPage) ); + nDbSize = (isCommit && p->pDirty==0) ? nTruncate : 0; + rc = walWriteOneFrame(&w, p, nDbSize, iOffset); + if( rc ) return rc; + pLast = p; + iOffset += szFrame; + p->flags |= PGHDR_WAL_APPEND; + } + + /* Recalculate checksums within the wal file if required. */ + if( isCommit && pWal->iReCksum ){ + rc = walRewriteChecksums(pWal, iFrame); + if( rc ) return rc; + } + + /* If this is the end of a transaction, then we might need to pad + ** the transaction and/or sync the WAL file. + ** + ** Padding and syncing only occur if this set of frames complete a + ** transaction and if PRAGMA synchronous=FULL. If synchronous==NORMAL + ** or synchronous==OFF, then no padding or syncing are needed. + ** + ** If SQLITE_IOCAP_POWERSAFE_OVERWRITE is defined, then padding is not + ** needed and only the sync is done. If padding is needed, then the + ** final frame is repeated (with its commit mark) until the next sector + ** boundary is crossed. Only the part of the WAL prior to the last + ** sector boundary is synced; the part of the last frame that extends + ** past the sector boundary is written after the sync. + */ + if( isCommit && WAL_SYNC_FLAGS(sync_flags)!=0 ){ + int bSync = 1; + if( pWal->padToSectorBoundary ){ + int sectorSize = sqlite3SectorSize(pWal->pWalFd); + w.iSyncPoint = ((iOffset+sectorSize-1)/sectorSize)*sectorSize; + bSync = (w.iSyncPoint==iOffset); + testcase( bSync ); + while( iOffsettruncateOnCommit && pWal->mxWalSize>=0 ){ + i64 sz = pWal->mxWalSize; + if( walFrameOffset(iFrame+nExtra+1, szPage)>pWal->mxWalSize ){ + sz = walFrameOffset(iFrame+nExtra+1, szPage); + } + walLimitSize(pWal, sz); + pWal->truncateOnCommit = 0; + } + + /* Append data to the wal-index. It is not necessary to lock the + ** wal-index to do this as the SQLITE_SHM_WRITE lock held on the wal-index + ** guarantees that there are no other writers, and no data that may + ** be in use by existing readers is being overwritten. + */ + iFrame = pWal->hdr.mxFrame; + for(p=pList; p && rc==SQLITE_OK; p=p->pDirty){ + if( (p->flags & PGHDR_WAL_APPEND)==0 ) continue; + iFrame++; + rc = walIndexAppend(pWal, iFrame, p->pgno); + } + assert( pLast!=0 || nExtra==0 ); + while( rc==SQLITE_OK && nExtra>0 ){ + iFrame++; + nExtra--; + rc = walIndexAppend(pWal, iFrame, pLast->pgno); + } + + if( rc==SQLITE_OK ){ + /* Update the private copy of the header. */ + pWal->hdr.szPage = (u16)((szPage&0xff00) | (szPage>>16)); + testcase( szPage<=32768 ); + testcase( szPage>=65536 ); + pWal->hdr.mxFrame = iFrame; + if( isCommit ){ + pWal->hdr.iChange++; + pWal->hdr.nPage = nTruncate; + } + /* If this is a commit, update the wal-index header too. */ + if( isCommit ){ + walIndexWriteHdr(pWal); + pWal->iCallback = iFrame; + } + } + + WALTRACE(("WAL%p: frame write %s\n", pWal, rc ? "failed" : "ok")); + return rc; +} + +/* +** This routine is called to implement sqlite3_wal_checkpoint() and +** related interfaces. +** +** Obtain a CHECKPOINT lock and then backfill as much information as +** we can from WAL into the database. +** +** If parameter xBusy is not NULL, it is a pointer to a busy-handler +** callback. In this case this function runs a blocking checkpoint. +*/ +SQLITE_PRIVATE int sqlite3WalCheckpoint( + Wal *pWal, /* Wal connection */ + sqlite3 *db, /* Check this handle's interrupt flag */ + int eMode, /* PASSIVE, FULL, RESTART, or TRUNCATE */ + int (*xBusy)(void*), /* Function to call when busy */ + void *pBusyArg, /* Context argument for xBusyHandler */ + int sync_flags, /* Flags to sync db file with (or 0) */ + int nBuf, /* Size of temporary buffer */ + u8 *zBuf, /* Temporary buffer to use */ + int *pnLog, /* OUT: Number of frames in WAL */ + int *pnCkpt /* OUT: Number of backfilled frames in WAL */ +){ + int rc; /* Return code */ + int isChanged = 0; /* True if a new wal-index header is loaded */ + int eMode2 = eMode; /* Mode to pass to walCheckpoint() */ + int (*xBusy2)(void*) = xBusy; /* Busy handler for eMode2 */ + + assert( pWal->ckptLock==0 ); + assert( pWal->writeLock==0 ); + + /* EVIDENCE-OF: R-62920-47450 The busy-handler callback is never invoked + ** in the SQLITE_CHECKPOINT_PASSIVE mode. */ + assert( eMode!=SQLITE_CHECKPOINT_PASSIVE || xBusy==0 ); + + if( pWal->readOnly ) return SQLITE_READONLY; + WALTRACE(("WAL%p: checkpoint begins\n", pWal)); + + /* IMPLEMENTATION-OF: R-62028-47212 All calls obtain an exclusive + ** "checkpoint" lock on the database file. */ + rc = walLockExclusive(pWal, WAL_CKPT_LOCK, 1); + if( rc ){ + /* EVIDENCE-OF: R-10421-19736 If any other process is running a + ** checkpoint operation at the same time, the lock cannot be obtained and + ** SQLITE_BUSY is returned. + ** EVIDENCE-OF: R-53820-33897 Even if there is a busy-handler configured, + ** it will not be invoked in this case. + */ + testcase( rc==SQLITE_BUSY ); + testcase( xBusy!=0 ); + return rc; + } + pWal->ckptLock = 1; + + /* IMPLEMENTATION-OF: R-59782-36818 The SQLITE_CHECKPOINT_FULL, RESTART and + ** TRUNCATE modes also obtain the exclusive "writer" lock on the database + ** file. + ** + ** EVIDENCE-OF: R-60642-04082 If the writer lock cannot be obtained + ** immediately, and a busy-handler is configured, it is invoked and the + ** writer lock retried until either the busy-handler returns 0 or the + ** lock is successfully obtained. + */ + if( eMode!=SQLITE_CHECKPOINT_PASSIVE ){ + rc = walBusyLock(pWal, xBusy, pBusyArg, WAL_WRITE_LOCK, 1); + if( rc==SQLITE_OK ){ + pWal->writeLock = 1; + }else if( rc==SQLITE_BUSY ){ + eMode2 = SQLITE_CHECKPOINT_PASSIVE; + xBusy2 = 0; + rc = SQLITE_OK; + } + } + + /* Read the wal-index header. */ + if( rc==SQLITE_OK ){ + rc = walIndexReadHdr(pWal, &isChanged); + if( isChanged && pWal->pDbFd->pMethods->iVersion>=3 ){ + sqlite3OsUnfetch(pWal->pDbFd, 0, 0); + } + } + + /* Copy data from the log to the database file. */ + if( rc==SQLITE_OK ){ + + if( pWal->hdr.mxFrame && walPagesize(pWal)!=nBuf ){ + rc = SQLITE_CORRUPT_BKPT; + }else{ + rc = walCheckpoint(pWal, db, eMode2, xBusy2, pBusyArg, sync_flags, zBuf); + } + + /* If no error occurred, set the output variables. */ + if( rc==SQLITE_OK || rc==SQLITE_BUSY ){ + if( pnLog ) *pnLog = (int)pWal->hdr.mxFrame; + if( pnCkpt ) *pnCkpt = (int)(walCkptInfo(pWal)->nBackfill); + } + } + + if( isChanged ){ + /* If a new wal-index header was loaded before the checkpoint was + ** performed, then the pager-cache associated with pWal is now + ** out of date. So zero the cached wal-index header to ensure that + ** next time the pager opens a snapshot on this database it knows that + ** the cache needs to be reset. + */ + memset(&pWal->hdr, 0, sizeof(WalIndexHdr)); + } + + /* Release the locks. */ + sqlite3WalEndWriteTransaction(pWal); + walUnlockExclusive(pWal, WAL_CKPT_LOCK, 1); + pWal->ckptLock = 0; + WALTRACE(("WAL%p: checkpoint %s\n", pWal, rc ? "failed" : "ok")); + return (rc==SQLITE_OK && eMode!=eMode2 ? SQLITE_BUSY : rc); +} + +/* Return the value to pass to a sqlite3_wal_hook callback, the +** number of frames in the WAL at the point of the last commit since +** sqlite3WalCallback() was called. If no commits have occurred since +** the last call, then return 0. +*/ +SQLITE_PRIVATE int sqlite3WalCallback(Wal *pWal){ + u32 ret = 0; + if( pWal ){ + ret = pWal->iCallback; + pWal->iCallback = 0; + } + return (int)ret; +} + +/* +** This function is called to change the WAL subsystem into or out +** of locking_mode=EXCLUSIVE. +** +** If op is zero, then attempt to change from locking_mode=EXCLUSIVE +** into locking_mode=NORMAL. This means that we must acquire a lock +** on the pWal->readLock byte. If the WAL is already in locking_mode=NORMAL +** or if the acquisition of the lock fails, then return 0. If the +** transition out of exclusive-mode is successful, return 1. This +** operation must occur while the pager is still holding the exclusive +** lock on the main database file. +** +** If op is one, then change from locking_mode=NORMAL into +** locking_mode=EXCLUSIVE. This means that the pWal->readLock must +** be released. Return 1 if the transition is made and 0 if the +** WAL is already in exclusive-locking mode - meaning that this +** routine is a no-op. The pager must already hold the exclusive lock +** on the main database file before invoking this operation. +** +** If op is negative, then do a dry-run of the op==1 case but do +** not actually change anything. The pager uses this to see if it +** should acquire the database exclusive lock prior to invoking +** the op==1 case. +*/ +SQLITE_PRIVATE int sqlite3WalExclusiveMode(Wal *pWal, int op){ + int rc; + assert( pWal->writeLock==0 ); + assert( pWal->exclusiveMode!=WAL_HEAPMEMORY_MODE || op==-1 ); + + /* pWal->readLock is usually set, but might be -1 if there was a + ** prior error while attempting to acquire are read-lock. This cannot + ** happen if the connection is actually in exclusive mode (as no xShmLock + ** locks are taken in this case). Nor should the pager attempt to + ** upgrade to exclusive-mode following such an error. + */ + assert( pWal->readLock>=0 || pWal->lockError ); + assert( pWal->readLock>=0 || (op<=0 && pWal->exclusiveMode==0) ); + + if( op==0 ){ + if( pWal->exclusiveMode!=WAL_NORMAL_MODE ){ + pWal->exclusiveMode = WAL_NORMAL_MODE; + if( walLockShared(pWal, WAL_READ_LOCK(pWal->readLock))!=SQLITE_OK ){ + pWal->exclusiveMode = WAL_EXCLUSIVE_MODE; + } + rc = pWal->exclusiveMode==WAL_NORMAL_MODE; + }else{ + /* Already in locking_mode=NORMAL */ + rc = 0; + } + }else if( op>0 ){ + assert( pWal->exclusiveMode==WAL_NORMAL_MODE ); + assert( pWal->readLock>=0 ); + walUnlockShared(pWal, WAL_READ_LOCK(pWal->readLock)); + pWal->exclusiveMode = WAL_EXCLUSIVE_MODE; + rc = 1; + }else{ + rc = pWal->exclusiveMode==WAL_NORMAL_MODE; + } + return rc; +} + +/* +** Return true if the argument is non-NULL and the WAL module is using +** heap-memory for the wal-index. Otherwise, if the argument is NULL or the +** WAL module is using shared-memory, return false. +*/ +SQLITE_PRIVATE int sqlite3WalHeapMemory(Wal *pWal){ + return (pWal && pWal->exclusiveMode==WAL_HEAPMEMORY_MODE ); +} + +#ifdef SQLITE_ENABLE_SNAPSHOT +/* Create a snapshot object. The content of a snapshot is opaque to +** every other subsystem, so the WAL module can put whatever it needs +** in the object. +*/ +SQLITE_PRIVATE int sqlite3WalSnapshotGet(Wal *pWal, sqlite3_snapshot **ppSnapshot){ + int rc = SQLITE_OK; + WalIndexHdr *pRet; + static const u32 aZero[4] = { 0, 0, 0, 0 }; + + assert( pWal->readLock>=0 && pWal->writeLock==0 ); + + if( memcmp(&pWal->hdr.aFrameCksum[0],aZero,16)==0 ){ + *ppSnapshot = 0; + return SQLITE_ERROR; + } + pRet = (WalIndexHdr*)sqlite3_malloc(sizeof(WalIndexHdr)); + if( pRet==0 ){ + rc = SQLITE_NOMEM_BKPT; + }else{ + memcpy(pRet, &pWal->hdr, sizeof(WalIndexHdr)); + *ppSnapshot = (sqlite3_snapshot*)pRet; + } + + return rc; +} + +/* Try to open on pSnapshot when the next read-transaction starts +*/ +SQLITE_PRIVATE void sqlite3WalSnapshotOpen(Wal *pWal, sqlite3_snapshot *pSnapshot){ + pWal->pSnapshot = (WalIndexHdr*)pSnapshot; +} + +/* +** Return a +ve value if snapshot p1 is newer than p2. A -ve value if +** p1 is older than p2 and zero if p1 and p2 are the same snapshot. +*/ +SQLITE_API int sqlite3_snapshot_cmp(sqlite3_snapshot *p1, sqlite3_snapshot *p2){ + WalIndexHdr *pHdr1 = (WalIndexHdr*)p1; + WalIndexHdr *pHdr2 = (WalIndexHdr*)p2; + + /* aSalt[0] is a copy of the value stored in the wal file header. It + ** is incremented each time the wal file is restarted. */ + if( pHdr1->aSalt[0]aSalt[0] ) return -1; + if( pHdr1->aSalt[0]>pHdr2->aSalt[0] ) return +1; + if( pHdr1->mxFramemxFrame ) return -1; + if( pHdr1->mxFrame>pHdr2->mxFrame ) return +1; + return 0; +} + +/* +** The caller currently has a read transaction open on the database. +** This function takes a SHARED lock on the CHECKPOINTER slot and then +** checks if the snapshot passed as the second argument is still +** available. If so, SQLITE_OK is returned. +** +** If the snapshot is not available, SQLITE_ERROR is returned. Or, if +** the CHECKPOINTER lock cannot be obtained, SQLITE_BUSY. If any error +** occurs (any value other than SQLITE_OK is returned), the CHECKPOINTER +** lock is released before returning. +*/ +SQLITE_PRIVATE int sqlite3WalSnapshotCheck(Wal *pWal, sqlite3_snapshot *pSnapshot){ + int rc; + rc = walLockShared(pWal, WAL_CKPT_LOCK); + if( rc==SQLITE_OK ){ + WalIndexHdr *pNew = (WalIndexHdr*)pSnapshot; + if( memcmp(pNew->aSalt, pWal->hdr.aSalt, sizeof(pWal->hdr.aSalt)) + || pNew->mxFramenBackfillAttempted + ){ + rc = SQLITE_ERROR_SNAPSHOT; + walUnlockShared(pWal, WAL_CKPT_LOCK); + } + } + return rc; +} + +/* +** Release a lock obtained by an earlier successful call to +** sqlite3WalSnapshotCheck(). +*/ +SQLITE_PRIVATE void sqlite3WalSnapshotUnlock(Wal *pWal){ + assert( pWal ); + walUnlockShared(pWal, WAL_CKPT_LOCK); +} + + +#endif /* SQLITE_ENABLE_SNAPSHOT */ + +#ifdef SQLITE_ENABLE_ZIPVFS +/* +** If the argument is not NULL, it points to a Wal object that holds a +** read-lock. This function returns the database page-size if it is known, +** or zero if it is not (or if pWal is NULL). +*/ +SQLITE_PRIVATE int sqlite3WalFramesize(Wal *pWal){ + assert( pWal==0 || pWal->readLock>=0 ); + return (pWal ? pWal->szPage : 0); +} +#endif + +/* Return the sqlite3_file object for the WAL file +*/ +SQLITE_PRIVATE sqlite3_file *sqlite3WalFile(Wal *pWal){ + return pWal->pWalFd; +} + +#endif /* #ifndef SQLITE_OMIT_WAL */ + +/************** End of wal.c *************************************************/ +/************** Begin file btmutex.c *****************************************/ +/* +** 2007 August 27 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains code used to implement mutexes on Btree objects. +** This code really belongs in btree.c. But btree.c is getting too +** big and we want to break it down some. This packaged seemed like +** a good breakout. +*/ +/************** Include btreeInt.h in the middle of btmutex.c ****************/ +/************** Begin file btreeInt.h ****************************************/ +/* +** 2004 April 6 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file implements an external (disk-based) database using BTrees. +** For a detailed discussion of BTrees, refer to +** +** Donald E. Knuth, THE ART OF COMPUTER PROGRAMMING, Volume 3: +** "Sorting And Searching", pages 473-480. Addison-Wesley +** Publishing Company, Reading, Massachusetts. +** +** The basic idea is that each page of the file contains N database +** entries and N+1 pointers to subpages. +** +** ---------------------------------------------------------------- +** | Ptr(0) | Key(0) | Ptr(1) | Key(1) | ... | Key(N-1) | Ptr(N) | +** ---------------------------------------------------------------- +** +** All of the keys on the page that Ptr(0) points to have values less +** than Key(0). All of the keys on page Ptr(1) and its subpages have +** values greater than Key(0) and less than Key(1). All of the keys +** on Ptr(N) and its subpages have values greater than Key(N-1). And +** so forth. +** +** Finding a particular key requires reading O(log(M)) pages from the +** disk where M is the number of entries in the tree. +** +** In this implementation, a single file can hold one or more separate +** BTrees. Each BTree is identified by the index of its root page. The +** key and data for any entry are combined to form the "payload". A +** fixed amount of payload can be carried directly on the database +** page. If the payload is larger than the preset amount then surplus +** bytes are stored on overflow pages. The payload for an entry +** and the preceding pointer are combined to form a "Cell". Each +** page has a small header which contains the Ptr(N) pointer and other +** information such as the size of key and data. +** +** FORMAT DETAILS +** +** The file is divided into pages. The first page is called page 1, +** the second is page 2, and so forth. A page number of zero indicates +** "no such page". The page size can be any power of 2 between 512 and 65536. +** Each page can be either a btree page, a freelist page, an overflow +** page, or a pointer-map page. +** +** The first page is always a btree page. The first 100 bytes of the first +** page contain a special header (the "file header") that describes the file. +** The format of the file header is as follows: +** +** OFFSET SIZE DESCRIPTION +** 0 16 Header string: "SQLite format 3\000" +** 16 2 Page size in bytes. (1 means 65536) +** 18 1 File format write version +** 19 1 File format read version +** 20 1 Bytes of unused space at the end of each page +** 21 1 Max embedded payload fraction (must be 64) +** 22 1 Min embedded payload fraction (must be 32) +** 23 1 Min leaf payload fraction (must be 32) +** 24 4 File change counter +** 28 4 Reserved for future use +** 32 4 First freelist page +** 36 4 Number of freelist pages in the file +** 40 60 15 4-byte meta values passed to higher layers +** +** 40 4 Schema cookie +** 44 4 File format of schema layer +** 48 4 Size of page cache +** 52 4 Largest root-page (auto/incr_vacuum) +** 56 4 1=UTF-8 2=UTF16le 3=UTF16be +** 60 4 User version +** 64 4 Incremental vacuum mode +** 68 4 Application-ID +** 72 20 unused +** 92 4 The version-valid-for number +** 96 4 SQLITE_VERSION_NUMBER +** +** All of the integer values are big-endian (most significant byte first). +** +** The file change counter is incremented when the database is changed +** This counter allows other processes to know when the file has changed +** and thus when they need to flush their cache. +** +** The max embedded payload fraction is the amount of the total usable +** space in a page that can be consumed by a single cell for standard +** B-tree (non-LEAFDATA) tables. A value of 255 means 100%. The default +** is to limit the maximum cell size so that at least 4 cells will fit +** on one page. Thus the default max embedded payload fraction is 64. +** +** If the payload for a cell is larger than the max payload, then extra +** payload is spilled to overflow pages. Once an overflow page is allocated, +** as many bytes as possible are moved into the overflow pages without letting +** the cell size drop below the min embedded payload fraction. +** +** The min leaf payload fraction is like the min embedded payload fraction +** except that it applies to leaf nodes in a LEAFDATA tree. The maximum +** payload fraction for a LEAFDATA tree is always 100% (or 255) and it +** not specified in the header. +** +** Each btree pages is divided into three sections: The header, the +** cell pointer array, and the cell content area. Page 1 also has a 100-byte +** file header that occurs before the page header. +** +** |----------------| +** | file header | 100 bytes. Page 1 only. +** |----------------| +** | page header | 8 bytes for leaves. 12 bytes for interior nodes +** |----------------| +** | cell pointer | | 2 bytes per cell. Sorted order. +** | array | | Grows downward +** | | v +** |----------------| +** | unallocated | +** | space | +** |----------------| ^ Grows upwards +** | cell content | | Arbitrary order interspersed with freeblocks. +** | area | | and free space fragments. +** |----------------| +** +** The page headers looks like this: +** +** OFFSET SIZE DESCRIPTION +** 0 1 Flags. 1: intkey, 2: zerodata, 4: leafdata, 8: leaf +** 1 2 byte offset to the first freeblock +** 3 2 number of cells on this page +** 5 2 first byte of the cell content area +** 7 1 number of fragmented free bytes +** 8 4 Right child (the Ptr(N) value). Omitted on leaves. +** +** The flags define the format of this btree page. The leaf flag means that +** this page has no children. The zerodata flag means that this page carries +** only keys and no data. The intkey flag means that the key is an integer +** which is stored in the key size entry of the cell header rather than in +** the payload area. +** +** The cell pointer array begins on the first byte after the page header. +** The cell pointer array contains zero or more 2-byte numbers which are +** offsets from the beginning of the page to the cell content in the cell +** content area. The cell pointers occur in sorted order. The system strives +** to keep free space after the last cell pointer so that new cells can +** be easily added without having to defragment the page. +** +** Cell content is stored at the very end of the page and grows toward the +** beginning of the page. +** +** Unused space within the cell content area is collected into a linked list of +** freeblocks. Each freeblock is at least 4 bytes in size. The byte offset +** to the first freeblock is given in the header. Freeblocks occur in +** increasing order. Because a freeblock must be at least 4 bytes in size, +** any group of 3 or fewer unused bytes in the cell content area cannot +** exist on the freeblock chain. A group of 3 or fewer free bytes is called +** a fragment. The total number of bytes in all fragments is recorded. +** in the page header at offset 7. +** +** SIZE DESCRIPTION +** 2 Byte offset of the next freeblock +** 2 Bytes in this freeblock +** +** Cells are of variable length. Cells are stored in the cell content area at +** the end of the page. Pointers to the cells are in the cell pointer array +** that immediately follows the page header. Cells is not necessarily +** contiguous or in order, but cell pointers are contiguous and in order. +** +** Cell content makes use of variable length integers. A variable +** length integer is 1 to 9 bytes where the lower 7 bits of each +** byte are used. The integer consists of all bytes that have bit 8 set and +** the first byte with bit 8 clear. The most significant byte of the integer +** appears first. A variable-length integer may not be more than 9 bytes long. +** As a special case, all 8 bytes of the 9th byte are used as data. This +** allows a 64-bit integer to be encoded in 9 bytes. +** +** 0x00 becomes 0x00000000 +** 0x7f becomes 0x0000007f +** 0x81 0x00 becomes 0x00000080 +** 0x82 0x00 becomes 0x00000100 +** 0x80 0x7f becomes 0x0000007f +** 0x8a 0x91 0xd1 0xac 0x78 becomes 0x12345678 +** 0x81 0x81 0x81 0x81 0x01 becomes 0x10204081 +** +** Variable length integers are used for rowids and to hold the number of +** bytes of key and data in a btree cell. +** +** The content of a cell looks like this: +** +** SIZE DESCRIPTION +** 4 Page number of the left child. Omitted if leaf flag is set. +** var Number of bytes of data. Omitted if the zerodata flag is set. +** var Number of bytes of key. Or the key itself if intkey flag is set. +** * Payload +** 4 First page of the overflow chain. Omitted if no overflow +** +** Overflow pages form a linked list. Each page except the last is completely +** filled with data (pagesize - 4 bytes). The last page can have as little +** as 1 byte of data. +** +** SIZE DESCRIPTION +** 4 Page number of next overflow page +** * Data +** +** Freelist pages come in two subtypes: trunk pages and leaf pages. The +** file header points to the first in a linked list of trunk page. Each trunk +** page points to multiple leaf pages. The content of a leaf page is +** unspecified. A trunk page looks like this: +** +** SIZE DESCRIPTION +** 4 Page number of next trunk page +** 4 Number of leaf pointers on this page +** * zero or more pages numbers of leaves +*/ +/* #include "sqliteInt.h" */ + + +/* The following value is the maximum cell size assuming a maximum page +** size give above. +*/ +#define MX_CELL_SIZE(pBt) ((int)(pBt->pageSize-8)) + +/* The maximum number of cells on a single page of the database. This +** assumes a minimum cell size of 6 bytes (4 bytes for the cell itself +** plus 2 bytes for the index to the cell in the page header). Such +** small cells will be rare, but they are possible. +*/ +#define MX_CELL(pBt) ((pBt->pageSize-8)/6) + +/* Forward declarations */ +typedef struct MemPage MemPage; +typedef struct BtLock BtLock; +typedef struct CellInfo CellInfo; + +/* +** This is a magic string that appears at the beginning of every +** SQLite database in order to identify the file as a real database. +** +** You can change this value at compile-time by specifying a +** -DSQLITE_FILE_HEADER="..." on the compiler command-line. The +** header must be exactly 16 bytes including the zero-terminator so +** the string itself should be 15 characters long. If you change +** the header, then your custom library will not be able to read +** databases generated by the standard tools and the standard tools +** will not be able to read databases created by your custom library. +*/ +#ifndef SQLITE_FILE_HEADER /* 123456789 123456 */ +# define SQLITE_FILE_HEADER "SQLite format 3" +#endif + +/* +** Page type flags. An ORed combination of these flags appear as the +** first byte of on-disk image of every BTree page. +*/ +#define PTF_INTKEY 0x01 +#define PTF_ZERODATA 0x02 +#define PTF_LEAFDATA 0x04 +#define PTF_LEAF 0x08 + +/* +** An instance of this object stores information about each a single database +** page that has been loaded into memory. The information in this object +** is derived from the raw on-disk page content. +** +** As each database page is loaded into memory, the pager allocats an +** instance of this object and zeros the first 8 bytes. (This is the +** "extra" information associated with each page of the pager.) +** +** Access to all fields of this structure is controlled by the mutex +** stored in MemPage.pBt->mutex. +*/ +struct MemPage { + u8 isInit; /* True if previously initialized. MUST BE FIRST! */ + u8 bBusy; /* Prevent endless loops on corrupt database files */ + u8 intKey; /* True if table b-trees. False for index b-trees */ + u8 intKeyLeaf; /* True if the leaf of an intKey table */ + Pgno pgno; /* Page number for this page */ + /* Only the first 8 bytes (above) are zeroed by pager.c when a new page + ** is allocated. All fields that follow must be initialized before use */ + u8 leaf; /* True if a leaf page */ + u8 hdrOffset; /* 100 for page 1. 0 otherwise */ + u8 childPtrSize; /* 0 if leaf==1. 4 if leaf==0 */ + u8 max1bytePayload; /* min(maxLocal,127) */ + u8 nOverflow; /* Number of overflow cell bodies in aCell[] */ + u16 maxLocal; /* Copy of BtShared.maxLocal or BtShared.maxLeaf */ + u16 minLocal; /* Copy of BtShared.minLocal or BtShared.minLeaf */ + u16 cellOffset; /* Index in aData of first cell pointer */ + int nFree; /* Number of free bytes on the page. -1 for unknown */ + u16 nCell; /* Number of cells on this page, local and ovfl */ + u16 maskPage; /* Mask for page offset */ + u16 aiOvfl[4]; /* Insert the i-th overflow cell before the aiOvfl-th + ** non-overflow cell */ + u8 *apOvfl[4]; /* Pointers to the body of overflow cells */ + BtShared *pBt; /* Pointer to BtShared that this page is part of */ + u8 *aData; /* Pointer to disk image of the page data */ + u8 *aDataEnd; /* One byte past the end of usable data */ + u8 *aCellIdx; /* The cell index area */ + u8 *aDataOfst; /* Same as aData for leaves. aData+4 for interior */ + DbPage *pDbPage; /* Pager page handle */ + u16 (*xCellSize)(MemPage*,u8*); /* cellSizePtr method */ + void (*xParseCell)(MemPage*,u8*,CellInfo*); /* btreeParseCell method */ +}; + +/* +** A linked list of the following structures is stored at BtShared.pLock. +** Locks are added (or upgraded from READ_LOCK to WRITE_LOCK) when a cursor +** is opened on the table with root page BtShared.iTable. Locks are removed +** from this list when a transaction is committed or rolled back, or when +** a btree handle is closed. +*/ +struct BtLock { + Btree *pBtree; /* Btree handle holding this lock */ + Pgno iTable; /* Root page of table */ + u8 eLock; /* READ_LOCK or WRITE_LOCK */ + BtLock *pNext; /* Next in BtShared.pLock list */ +}; + +/* Candidate values for BtLock.eLock */ +#define READ_LOCK 1 +#define WRITE_LOCK 2 + +/* A Btree handle +** +** A database connection contains a pointer to an instance of +** this object for every database file that it has open. This structure +** is opaque to the database connection. The database connection cannot +** see the internals of this structure and only deals with pointers to +** this structure. +** +** For some database files, the same underlying database cache might be +** shared between multiple connections. In that case, each connection +** has it own instance of this object. But each instance of this object +** points to the same BtShared object. The database cache and the +** schema associated with the database file are all contained within +** the BtShared object. +** +** All fields in this structure are accessed under sqlite3.mutex. +** The pBt pointer itself may not be changed while there exists cursors +** in the referenced BtShared that point back to this Btree since those +** cursors have to go through this Btree to find their BtShared and +** they often do so without holding sqlite3.mutex. +*/ +struct Btree { + sqlite3 *db; /* The database connection holding this btree */ + BtShared *pBt; /* Sharable content of this btree */ + u8 inTrans; /* TRANS_NONE, TRANS_READ or TRANS_WRITE */ + u8 sharable; /* True if we can share pBt with another db */ + u8 locked; /* True if db currently has pBt locked */ + u8 hasIncrblobCur; /* True if there are one or more Incrblob cursors */ + int wantToLock; /* Number of nested calls to sqlite3BtreeEnter() */ + int nBackup; /* Number of backup operations reading this btree */ + u32 iDataVersion; /* Combines with pBt->pPager->iDataVersion */ + Btree *pNext; /* List of other sharable Btrees from the same db */ + Btree *pPrev; /* Back pointer of the same list */ +#ifndef SQLITE_OMIT_SHARED_CACHE + BtLock lock; /* Object used to lock page 1 */ +#endif +}; + +/* +** Btree.inTrans may take one of the following values. +** +** If the shared-data extension is enabled, there may be multiple users +** of the Btree structure. At most one of these may open a write transaction, +** but any number may have active read transactions. +*/ +#define TRANS_NONE 0 +#define TRANS_READ 1 +#define TRANS_WRITE 2 + +/* +** An instance of this object represents a single database file. +** +** A single database file can be in use at the same time by two +** or more database connections. When two or more connections are +** sharing the same database file, each connection has it own +** private Btree object for the file and each of those Btrees points +** to this one BtShared object. BtShared.nRef is the number of +** connections currently sharing this database file. +** +** Fields in this structure are accessed under the BtShared.mutex +** mutex, except for nRef and pNext which are accessed under the +** global SQLITE_MUTEX_STATIC_MASTER mutex. The pPager field +** may not be modified once it is initially set as long as nRef>0. +** The pSchema field may be set once under BtShared.mutex and +** thereafter is unchanged as long as nRef>0. +** +** isPending: +** +** If a BtShared client fails to obtain a write-lock on a database +** table (because there exists one or more read-locks on the table), +** the shared-cache enters 'pending-lock' state and isPending is +** set to true. +** +** The shared-cache leaves the 'pending lock' state when either of +** the following occur: +** +** 1) The current writer (BtShared.pWriter) concludes its transaction, OR +** 2) The number of locks held by other connections drops to zero. +** +** while in the 'pending-lock' state, no connection may start a new +** transaction. +** +** This feature is included to help prevent writer-starvation. +*/ +struct BtShared { + Pager *pPager; /* The page cache */ + sqlite3 *db; /* Database connection currently using this Btree */ + BtCursor *pCursor; /* A list of all open cursors */ + MemPage *pPage1; /* First page of the database */ + u8 openFlags; /* Flags to sqlite3BtreeOpen() */ +#ifndef SQLITE_OMIT_AUTOVACUUM + u8 autoVacuum; /* True if auto-vacuum is enabled */ + u8 incrVacuum; /* True if incr-vacuum is enabled */ + u8 bDoTruncate; /* True to truncate db on commit */ +#endif + u8 inTransaction; /* Transaction state */ + u8 max1bytePayload; /* Maximum first byte of cell for a 1-byte payload */ +#ifdef SQLITE_HAS_CODEC + u8 optimalReserve; /* Desired amount of reserved space per page */ +#endif + u16 btsFlags; /* Boolean parameters. See BTS_* macros below */ + u16 maxLocal; /* Maximum local payload in non-LEAFDATA tables */ + u16 minLocal; /* Minimum local payload in non-LEAFDATA tables */ + u16 maxLeaf; /* Maximum local payload in a LEAFDATA table */ + u16 minLeaf; /* Minimum local payload in a LEAFDATA table */ + u32 pageSize; /* Total number of bytes on a page */ + u32 usableSize; /* Number of usable bytes on each page */ + int nTransaction; /* Number of open transactions (read + write) */ + u32 nPage; /* Number of pages in the database */ + void *pSchema; /* Pointer to space allocated by sqlite3BtreeSchema() */ + void (*xFreeSchema)(void*); /* Destructor for BtShared.pSchema */ + sqlite3_mutex *mutex; /* Non-recursive mutex required to access this object */ + Bitvec *pHasContent; /* Set of pages moved to free-list this transaction */ +#ifndef SQLITE_OMIT_SHARED_CACHE + int nRef; /* Number of references to this structure */ + BtShared *pNext; /* Next on a list of sharable BtShared structs */ + BtLock *pLock; /* List of locks held on this shared-btree struct */ + Btree *pWriter; /* Btree with currently open write transaction */ +#endif + u8 *pTmpSpace; /* Temp space sufficient to hold a single cell */ +}; + +/* +** Allowed values for BtShared.btsFlags +*/ +#define BTS_READ_ONLY 0x0001 /* Underlying file is readonly */ +#define BTS_PAGESIZE_FIXED 0x0002 /* Page size can no longer be changed */ +#define BTS_SECURE_DELETE 0x0004 /* PRAGMA secure_delete is enabled */ +#define BTS_OVERWRITE 0x0008 /* Overwrite deleted content with zeros */ +#define BTS_FAST_SECURE 0x000c /* Combination of the previous two */ +#define BTS_INITIALLY_EMPTY 0x0010 /* Database was empty at trans start */ +#define BTS_NO_WAL 0x0020 /* Do not open write-ahead-log files */ +#define BTS_EXCLUSIVE 0x0040 /* pWriter has an exclusive lock */ +#define BTS_PENDING 0x0080 /* Waiting for read-locks to clear */ + +/* +** An instance of the following structure is used to hold information +** about a cell. The parseCellPtr() function fills in this structure +** based on information extract from the raw disk page. +*/ +struct CellInfo { + i64 nKey; /* The key for INTKEY tables, or nPayload otherwise */ + u8 *pPayload; /* Pointer to the start of payload */ + u32 nPayload; /* Bytes of payload */ + u16 nLocal; /* Amount of payload held locally, not on overflow */ + u16 nSize; /* Size of the cell content on the main b-tree page */ +}; + +/* +** Maximum depth of an SQLite B-Tree structure. Any B-Tree deeper than +** this will be declared corrupt. This value is calculated based on a +** maximum database size of 2^31 pages a minimum fanout of 2 for a +** root-node and 3 for all other internal nodes. +** +** If a tree that appears to be taller than this is encountered, it is +** assumed that the database is corrupt. +*/ +#define BTCURSOR_MAX_DEPTH 20 + +/* +** A cursor is a pointer to a particular entry within a particular +** b-tree within a database file. +** +** The entry is identified by its MemPage and the index in +** MemPage.aCell[] of the entry. +** +** A single database file can be shared by two more database connections, +** but cursors cannot be shared. Each cursor is associated with a +** particular database connection identified BtCursor.pBtree.db. +** +** Fields in this structure are accessed under the BtShared.mutex +** found at self->pBt->mutex. +** +** skipNext meaning: +** The meaning of skipNext depends on the value of eState: +** +** eState Meaning of skipNext +** VALID skipNext is meaningless and is ignored +** INVALID skipNext is meaningless and is ignored +** SKIPNEXT sqlite3BtreeNext() is a no-op if skipNext>0 and +** sqlite3BtreePrevious() is no-op if skipNext<0. +** REQUIRESEEK restoreCursorPosition() restores the cursor to +** eState=SKIPNEXT if skipNext!=0 +** FAULT skipNext holds the cursor fault error code. +*/ +struct BtCursor { + u8 eState; /* One of the CURSOR_XXX constants (see below) */ + u8 curFlags; /* zero or more BTCF_* flags defined below */ + u8 curPagerFlags; /* Flags to send to sqlite3PagerGet() */ + u8 hints; /* As configured by CursorSetHints() */ + int skipNext; /* Prev() is noop if negative. Next() is noop if positive. + ** Error code if eState==CURSOR_FAULT */ + Btree *pBtree; /* The Btree to which this cursor belongs */ + Pgno *aOverflow; /* Cache of overflow page locations */ + void *pKey; /* Saved key that was cursor last known position */ + /* All fields above are zeroed when the cursor is allocated. See + ** sqlite3BtreeCursorZero(). Fields that follow must be manually + ** initialized. */ +#define BTCURSOR_FIRST_UNINIT pBt /* Name of first uninitialized field */ + BtShared *pBt; /* The BtShared this cursor points to */ + BtCursor *pNext; /* Forms a linked list of all cursors */ + CellInfo info; /* A parse of the cell we are pointing at */ + i64 nKey; /* Size of pKey, or last integer key */ + Pgno pgnoRoot; /* The root page of this tree */ + i8 iPage; /* Index of current page in apPage */ + u8 curIntKey; /* Value of apPage[0]->intKey */ + u16 ix; /* Current index for apPage[iPage] */ + u16 aiIdx[BTCURSOR_MAX_DEPTH-1]; /* Current index in apPage[i] */ + struct KeyInfo *pKeyInfo; /* Arg passed to comparison function */ + MemPage *pPage; /* Current page */ + MemPage *apPage[BTCURSOR_MAX_DEPTH-1]; /* Stack of parents of current page */ +}; + +/* +** Legal values for BtCursor.curFlags +*/ +#define BTCF_WriteFlag 0x01 /* True if a write cursor */ +#define BTCF_ValidNKey 0x02 /* True if info.nKey is valid */ +#define BTCF_ValidOvfl 0x04 /* True if aOverflow is valid */ +#define BTCF_AtLast 0x08 /* Cursor is pointing ot the last entry */ +#define BTCF_Incrblob 0x10 /* True if an incremental I/O handle */ +#define BTCF_Multiple 0x20 /* Maybe another cursor on the same btree */ + +/* +** Potential values for BtCursor.eState. +** +** CURSOR_INVALID: +** Cursor does not point to a valid entry. This can happen (for example) +** because the table is empty or because BtreeCursorFirst() has not been +** called. +** +** CURSOR_VALID: +** Cursor points to a valid entry. getPayload() etc. may be called. +** +** CURSOR_SKIPNEXT: +** Cursor is valid except that the Cursor.skipNext field is non-zero +** indicating that the next sqlite3BtreeNext() or sqlite3BtreePrevious() +** operation should be a no-op. +** +** CURSOR_REQUIRESEEK: +** The table that this cursor was opened on still exists, but has been +** modified since the cursor was last used. The cursor position is saved +** in variables BtCursor.pKey and BtCursor.nKey. When a cursor is in +** this state, restoreCursorPosition() can be called to attempt to +** seek the cursor to the saved position. +** +** CURSOR_FAULT: +** An unrecoverable error (an I/O error or a malloc failure) has occurred +** on a different connection that shares the BtShared cache with this +** cursor. The error has left the cache in an inconsistent state. +** Do nothing else with this cursor. Any attempt to use the cursor +** should return the error code stored in BtCursor.skipNext +*/ +#define CURSOR_VALID 0 +#define CURSOR_INVALID 1 +#define CURSOR_SKIPNEXT 2 +#define CURSOR_REQUIRESEEK 3 +#define CURSOR_FAULT 4 + +/* +** The database page the PENDING_BYTE occupies. This page is never used. +*/ +# define PENDING_BYTE_PAGE(pBt) PAGER_MJ_PGNO(pBt) + +/* +** These macros define the location of the pointer-map entry for a +** database page. The first argument to each is the number of usable +** bytes on each page of the database (often 1024). The second is the +** page number to look up in the pointer map. +** +** PTRMAP_PAGENO returns the database page number of the pointer-map +** page that stores the required pointer. PTRMAP_PTROFFSET returns +** the offset of the requested map entry. +** +** If the pgno argument passed to PTRMAP_PAGENO is a pointer-map page, +** then pgno is returned. So (pgno==PTRMAP_PAGENO(pgsz, pgno)) can be +** used to test if pgno is a pointer-map page. PTRMAP_ISPAGE implements +** this test. +*/ +#define PTRMAP_PAGENO(pBt, pgno) ptrmapPageno(pBt, pgno) +#define PTRMAP_PTROFFSET(pgptrmap, pgno) (5*(pgno-pgptrmap-1)) +#define PTRMAP_ISPAGE(pBt, pgno) (PTRMAP_PAGENO((pBt),(pgno))==(pgno)) + +/* +** The pointer map is a lookup table that identifies the parent page for +** each child page in the database file. The parent page is the page that +** contains a pointer to the child. Every page in the database contains +** 0 or 1 parent pages. (In this context 'database page' refers +** to any page that is not part of the pointer map itself.) Each pointer map +** entry consists of a single byte 'type' and a 4 byte parent page number. +** The PTRMAP_XXX identifiers below are the valid types. +** +** The purpose of the pointer map is to facility moving pages from one +** position in the file to another as part of autovacuum. When a page +** is moved, the pointer in its parent must be updated to point to the +** new location. The pointer map is used to locate the parent page quickly. +** +** PTRMAP_ROOTPAGE: The database page is a root-page. The page-number is not +** used in this case. +** +** PTRMAP_FREEPAGE: The database page is an unused (free) page. The page-number +** is not used in this case. +** +** PTRMAP_OVERFLOW1: The database page is the first page in a list of +** overflow pages. The page number identifies the page that +** contains the cell with a pointer to this overflow page. +** +** PTRMAP_OVERFLOW2: The database page is the second or later page in a list of +** overflow pages. The page-number identifies the previous +** page in the overflow page list. +** +** PTRMAP_BTREE: The database page is a non-root btree page. The page number +** identifies the parent page in the btree. +*/ +#define PTRMAP_ROOTPAGE 1 +#define PTRMAP_FREEPAGE 2 +#define PTRMAP_OVERFLOW1 3 +#define PTRMAP_OVERFLOW2 4 +#define PTRMAP_BTREE 5 + +/* A bunch of assert() statements to check the transaction state variables +** of handle p (type Btree*) are internally consistent. +*/ +#define btreeIntegrity(p) \ + assert( p->pBt->inTransaction!=TRANS_NONE || p->pBt->nTransaction==0 ); \ + assert( p->pBt->inTransaction>=p->inTrans ); + + +/* +** The ISAUTOVACUUM macro is used within balance_nonroot() to determine +** if the database supports auto-vacuum or not. Because it is used +** within an expression that is an argument to another macro +** (sqliteMallocRaw), it is not possible to use conditional compilation. +** So, this macro is defined instead. +*/ +#ifndef SQLITE_OMIT_AUTOVACUUM +#define ISAUTOVACUUM (pBt->autoVacuum) +#else +#define ISAUTOVACUUM 0 +#endif + + +/* +** This structure is passed around through all the sanity checking routines +** in order to keep track of some global state information. +** +** The aRef[] array is allocated so that there is 1 bit for each page in +** the database. As the integrity-check proceeds, for each page used in +** the database the corresponding bit is set. This allows integrity-check to +** detect pages that are used twice and orphaned pages (both of which +** indicate corruption). +*/ +typedef struct IntegrityCk IntegrityCk; +struct IntegrityCk { + BtShared *pBt; /* The tree being checked out */ + Pager *pPager; /* The associated pager. Also accessible by pBt->pPager */ + u8 *aPgRef; /* 1 bit per page in the db (see above) */ + Pgno nPage; /* Number of pages in the database */ + int mxErr; /* Stop accumulating errors when this reaches zero */ + int nErr; /* Number of messages written to zErrMsg so far */ + int mallocFailed; /* A memory allocation error has occurred */ + const char *zPfx; /* Error message prefix */ + int v1, v2; /* Values for up to two %d fields in zPfx */ + StrAccum errMsg; /* Accumulate the error message text here */ + u32 *heap; /* Min-heap used for analyzing cell coverage */ +}; + +/* +** Routines to read or write a two- and four-byte big-endian integer values. +*/ +#define get2byte(x) ((x)[0]<<8 | (x)[1]) +#define put2byte(p,v) ((p)[0] = (u8)((v)>>8), (p)[1] = (u8)(v)) +#define get4byte sqlite3Get4byte +#define put4byte sqlite3Put4byte + +/* +** get2byteAligned(), unlike get2byte(), requires that its argument point to a +** two-byte aligned address. get2bytea() is only used for accessing the +** cell addresses in a btree header. +*/ +#if SQLITE_BYTEORDER==4321 +# define get2byteAligned(x) (*(u16*)(x)) +#elif SQLITE_BYTEORDER==1234 && GCC_VERSION>=4008000 +# define get2byteAligned(x) __builtin_bswap16(*(u16*)(x)) +#elif SQLITE_BYTEORDER==1234 && MSVC_VERSION>=1300 +# define get2byteAligned(x) _byteswap_ushort(*(u16*)(x)) +#else +# define get2byteAligned(x) ((x)[0]<<8 | (x)[1]) +#endif + +/************** End of btreeInt.h ********************************************/ +/************** Continuing where we left off in btmutex.c ********************/ +#ifndef SQLITE_OMIT_SHARED_CACHE +#if SQLITE_THREADSAFE + +/* +** Obtain the BtShared mutex associated with B-Tree handle p. Also, +** set BtShared.db to the database handle associated with p and the +** p->locked boolean to true. +*/ +static void lockBtreeMutex(Btree *p){ + assert( p->locked==0 ); + assert( sqlite3_mutex_notheld(p->pBt->mutex) ); + assert( sqlite3_mutex_held(p->db->mutex) ); + + sqlite3_mutex_enter(p->pBt->mutex); + p->pBt->db = p->db; + p->locked = 1; +} + +/* +** Release the BtShared mutex associated with B-Tree handle p and +** clear the p->locked boolean. +*/ +static void SQLITE_NOINLINE unlockBtreeMutex(Btree *p){ + BtShared *pBt = p->pBt; + assert( p->locked==1 ); + assert( sqlite3_mutex_held(pBt->mutex) ); + assert( sqlite3_mutex_held(p->db->mutex) ); + assert( p->db==pBt->db ); + + sqlite3_mutex_leave(pBt->mutex); + p->locked = 0; +} + +/* Forward reference */ +static void SQLITE_NOINLINE btreeLockCarefully(Btree *p); + +/* +** Enter a mutex on the given BTree object. +** +** If the object is not sharable, then no mutex is ever required +** and this routine is a no-op. The underlying mutex is non-recursive. +** But we keep a reference count in Btree.wantToLock so the behavior +** of this interface is recursive. +** +** To avoid deadlocks, multiple Btrees are locked in the same order +** by all database connections. The p->pNext is a list of other +** Btrees belonging to the same database connection as the p Btree +** which need to be locked after p. If we cannot get a lock on +** p, then first unlock all of the others on p->pNext, then wait +** for the lock to become available on p, then relock all of the +** subsequent Btrees that desire a lock. +*/ +SQLITE_PRIVATE void sqlite3BtreeEnter(Btree *p){ + /* Some basic sanity checking on the Btree. The list of Btrees + ** connected by pNext and pPrev should be in sorted order by + ** Btree.pBt value. All elements of the list should belong to + ** the same connection. Only shared Btrees are on the list. */ + assert( p->pNext==0 || p->pNext->pBt>p->pBt ); + assert( p->pPrev==0 || p->pPrev->pBtpBt ); + assert( p->pNext==0 || p->pNext->db==p->db ); + assert( p->pPrev==0 || p->pPrev->db==p->db ); + assert( p->sharable || (p->pNext==0 && p->pPrev==0) ); + + /* Check for locking consistency */ + assert( !p->locked || p->wantToLock>0 ); + assert( p->sharable || p->wantToLock==0 ); + + /* We should already hold a lock on the database connection */ + assert( sqlite3_mutex_held(p->db->mutex) ); + + /* Unless the database is sharable and unlocked, then BtShared.db + ** should already be set correctly. */ + assert( (p->locked==0 && p->sharable) || p->pBt->db==p->db ); + + if( !p->sharable ) return; + p->wantToLock++; + if( p->locked ) return; + btreeLockCarefully(p); +} + +/* This is a helper function for sqlite3BtreeLock(). By moving +** complex, but seldom used logic, out of sqlite3BtreeLock() and +** into this routine, we avoid unnecessary stack pointer changes +** and thus help the sqlite3BtreeLock() routine to run much faster +** in the common case. +*/ +static void SQLITE_NOINLINE btreeLockCarefully(Btree *p){ + Btree *pLater; + + /* In most cases, we should be able to acquire the lock we + ** want without having to go through the ascending lock + ** procedure that follows. Just be sure not to block. + */ + if( sqlite3_mutex_try(p->pBt->mutex)==SQLITE_OK ){ + p->pBt->db = p->db; + p->locked = 1; + return; + } + + /* To avoid deadlock, first release all locks with a larger + ** BtShared address. Then acquire our lock. Then reacquire + ** the other BtShared locks that we used to hold in ascending + ** order. + */ + for(pLater=p->pNext; pLater; pLater=pLater->pNext){ + assert( pLater->sharable ); + assert( pLater->pNext==0 || pLater->pNext->pBt>pLater->pBt ); + assert( !pLater->locked || pLater->wantToLock>0 ); + if( pLater->locked ){ + unlockBtreeMutex(pLater); + } + } + lockBtreeMutex(p); + for(pLater=p->pNext; pLater; pLater=pLater->pNext){ + if( pLater->wantToLock ){ + lockBtreeMutex(pLater); + } + } +} + + +/* +** Exit the recursive mutex on a Btree. +*/ +SQLITE_PRIVATE void sqlite3BtreeLeave(Btree *p){ + assert( sqlite3_mutex_held(p->db->mutex) ); + if( p->sharable ){ + assert( p->wantToLock>0 ); + p->wantToLock--; + if( p->wantToLock==0 ){ + unlockBtreeMutex(p); + } + } +} + +#ifndef NDEBUG +/* +** Return true if the BtShared mutex is held on the btree, or if the +** B-Tree is not marked as sharable. +** +** This routine is used only from within assert() statements. +*/ +SQLITE_PRIVATE int sqlite3BtreeHoldsMutex(Btree *p){ + assert( p->sharable==0 || p->locked==0 || p->wantToLock>0 ); + assert( p->sharable==0 || p->locked==0 || p->db==p->pBt->db ); + assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->pBt->mutex) ); + assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->db->mutex) ); + + return (p->sharable==0 || p->locked); +} +#endif + + +/* +** Enter the mutex on every Btree associated with a database +** connection. This is needed (for example) prior to parsing +** a statement since we will be comparing table and column names +** against all schemas and we do not want those schemas being +** reset out from under us. +** +** There is a corresponding leave-all procedures. +** +** Enter the mutexes in accending order by BtShared pointer address +** to avoid the possibility of deadlock when two threads with +** two or more btrees in common both try to lock all their btrees +** at the same instant. +*/ +static void SQLITE_NOINLINE btreeEnterAll(sqlite3 *db){ + int i; + int skipOk = 1; + Btree *p; + assert( sqlite3_mutex_held(db->mutex) ); + for(i=0; inDb; i++){ + p = db->aDb[i].pBt; + if( p && p->sharable ){ + sqlite3BtreeEnter(p); + skipOk = 0; + } + } + db->noSharedCache = skipOk; +} +SQLITE_PRIVATE void sqlite3BtreeEnterAll(sqlite3 *db){ + if( db->noSharedCache==0 ) btreeEnterAll(db); +} +static void SQLITE_NOINLINE btreeLeaveAll(sqlite3 *db){ + int i; + Btree *p; + assert( sqlite3_mutex_held(db->mutex) ); + for(i=0; inDb; i++){ + p = db->aDb[i].pBt; + if( p ) sqlite3BtreeLeave(p); + } +} +SQLITE_PRIVATE void sqlite3BtreeLeaveAll(sqlite3 *db){ + if( db->noSharedCache==0 ) btreeLeaveAll(db); +} + +#ifndef NDEBUG +/* +** Return true if the current thread holds the database connection +** mutex and all required BtShared mutexes. +** +** This routine is used inside assert() statements only. +*/ +SQLITE_PRIVATE int sqlite3BtreeHoldsAllMutexes(sqlite3 *db){ + int i; + if( !sqlite3_mutex_held(db->mutex) ){ + return 0; + } + for(i=0; inDb; i++){ + Btree *p; + p = db->aDb[i].pBt; + if( p && p->sharable && + (p->wantToLock==0 || !sqlite3_mutex_held(p->pBt->mutex)) ){ + return 0; + } + } + return 1; +} +#endif /* NDEBUG */ + +#ifndef NDEBUG +/* +** Return true if the correct mutexes are held for accessing the +** db->aDb[iDb].pSchema structure. The mutexes required for schema +** access are: +** +** (1) The mutex on db +** (2) if iDb!=1, then the mutex on db->aDb[iDb].pBt. +** +** If pSchema is not NULL, then iDb is computed from pSchema and +** db using sqlite3SchemaToIndex(). +*/ +SQLITE_PRIVATE int sqlite3SchemaMutexHeld(sqlite3 *db, int iDb, Schema *pSchema){ + Btree *p; + assert( db!=0 ); + if( pSchema ) iDb = sqlite3SchemaToIndex(db, pSchema); + assert( iDb>=0 && iDbnDb ); + if( !sqlite3_mutex_held(db->mutex) ) return 0; + if( iDb==1 ) return 1; + p = db->aDb[iDb].pBt; + assert( p!=0 ); + return p->sharable==0 || p->locked==1; +} +#endif /* NDEBUG */ + +#else /* SQLITE_THREADSAFE>0 above. SQLITE_THREADSAFE==0 below */ +/* +** The following are special cases for mutex enter routines for use +** in single threaded applications that use shared cache. Except for +** these two routines, all mutex operations are no-ops in that case and +** are null #defines in btree.h. +** +** If shared cache is disabled, then all btree mutex routines, including +** the ones below, are no-ops and are null #defines in btree.h. +*/ + +SQLITE_PRIVATE void sqlite3BtreeEnter(Btree *p){ + p->pBt->db = p->db; +} +SQLITE_PRIVATE void sqlite3BtreeEnterAll(sqlite3 *db){ + int i; + for(i=0; inDb; i++){ + Btree *p = db->aDb[i].pBt; + if( p ){ + p->pBt->db = p->db; + } + } +} +#endif /* if SQLITE_THREADSAFE */ + +#ifndef SQLITE_OMIT_INCRBLOB +/* +** Enter a mutex on a Btree given a cursor owned by that Btree. +** +** These entry points are used by incremental I/O only. Enter() is required +** any time OMIT_SHARED_CACHE is not defined, regardless of whether or not +** the build is threadsafe. Leave() is only required by threadsafe builds. +*/ +SQLITE_PRIVATE void sqlite3BtreeEnterCursor(BtCursor *pCur){ + sqlite3BtreeEnter(pCur->pBtree); +} +# if SQLITE_THREADSAFE +SQLITE_PRIVATE void sqlite3BtreeLeaveCursor(BtCursor *pCur){ + sqlite3BtreeLeave(pCur->pBtree); +} +# endif +#endif /* ifndef SQLITE_OMIT_INCRBLOB */ + +#endif /* ifndef SQLITE_OMIT_SHARED_CACHE */ + +/************** End of btmutex.c *********************************************/ +/************** Begin file btree.c *******************************************/ +/* +** 2004 April 6 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file implements an external (disk-based) database using BTrees. +** See the header comment on "btreeInt.h" for additional information. +** Including a description of file format and an overview of operation. +*/ +/* #include "btreeInt.h" */ + +/* +** The header string that appears at the beginning of every +** SQLite database. +*/ +static const char zMagicHeader[] = SQLITE_FILE_HEADER; + +/* +** Set this global variable to 1 to enable tracing using the TRACE +** macro. +*/ +#if 0 +int sqlite3BtreeTrace=1; /* True to enable tracing */ +# define TRACE(X) if(sqlite3BtreeTrace){printf X;fflush(stdout);} +#else +# define TRACE(X) +#endif + +/* +** Extract a 2-byte big-endian integer from an array of unsigned bytes. +** But if the value is zero, make it 65536. +** +** This routine is used to extract the "offset to cell content area" value +** from the header of a btree page. If the page size is 65536 and the page +** is empty, the offset should be 65536, but the 2-byte value stores zero. +** This routine makes the necessary adjustment to 65536. +*/ +#define get2byteNotZero(X) (((((int)get2byte(X))-1)&0xffff)+1) + +/* +** Values passed as the 5th argument to allocateBtreePage() +*/ +#define BTALLOC_ANY 0 /* Allocate any page */ +#define BTALLOC_EXACT 1 /* Allocate exact page if possible */ +#define BTALLOC_LE 2 /* Allocate any page <= the parameter */ + +/* +** Macro IfNotOmitAV(x) returns (x) if SQLITE_OMIT_AUTOVACUUM is not +** defined, or 0 if it is. For example: +** +** bIncrVacuum = IfNotOmitAV(pBtShared->incrVacuum); +*/ +#ifndef SQLITE_OMIT_AUTOVACUUM +#define IfNotOmitAV(expr) (expr) +#else +#define IfNotOmitAV(expr) 0 +#endif + +#ifndef SQLITE_OMIT_SHARED_CACHE +/* +** A list of BtShared objects that are eligible for participation +** in shared cache. This variable has file scope during normal builds, +** but the test harness needs to access it so we make it global for +** test builds. +** +** Access to this variable is protected by SQLITE_MUTEX_STATIC_MASTER. +*/ +#ifdef SQLITE_TEST +SQLITE_PRIVATE BtShared *SQLITE_WSD sqlite3SharedCacheList = 0; +#else +static BtShared *SQLITE_WSD sqlite3SharedCacheList = 0; +#endif +#endif /* SQLITE_OMIT_SHARED_CACHE */ + +#ifndef SQLITE_OMIT_SHARED_CACHE +/* +** Enable or disable the shared pager and schema features. +** +** This routine has no effect on existing database connections. +** The shared cache setting effects only future calls to +** sqlite3_open(), sqlite3_open16(), or sqlite3_open_v2(). +*/ +SQLITE_API int sqlite3_enable_shared_cache(int enable){ + sqlite3GlobalConfig.sharedCacheEnabled = enable; + return SQLITE_OK; +} +#endif + + + +#ifdef SQLITE_OMIT_SHARED_CACHE + /* + ** The functions querySharedCacheTableLock(), setSharedCacheTableLock(), + ** and clearAllSharedCacheTableLocks() + ** manipulate entries in the BtShared.pLock linked list used to store + ** shared-cache table level locks. If the library is compiled with the + ** shared-cache feature disabled, then there is only ever one user + ** of each BtShared structure and so this locking is not necessary. + ** So define the lock related functions as no-ops. + */ + #define querySharedCacheTableLock(a,b,c) SQLITE_OK + #define setSharedCacheTableLock(a,b,c) SQLITE_OK + #define clearAllSharedCacheTableLocks(a) + #define downgradeAllSharedCacheTableLocks(a) + #define hasSharedCacheTableLock(a,b,c,d) 1 + #define hasReadConflicts(a, b) 0 +#endif + +/* +** Implementation of the SQLITE_CORRUPT_PAGE() macro. Takes a single +** (MemPage*) as an argument. The (MemPage*) must not be NULL. +** +** If SQLITE_DEBUG is not defined, then this macro is equivalent to +** SQLITE_CORRUPT_BKPT. Or, if SQLITE_DEBUG is set, then the log message +** normally produced as a side-effect of SQLITE_CORRUPT_BKPT is augmented +** with the page number and filename associated with the (MemPage*). +*/ +#ifdef SQLITE_DEBUG +int corruptPageError(int lineno, MemPage *p){ + char *zMsg; + sqlite3BeginBenignMalloc(); + zMsg = sqlite3_mprintf("database corruption page %d of %s", + (int)p->pgno, sqlite3PagerFilename(p->pBt->pPager, 0) + ); + sqlite3EndBenignMalloc(); + if( zMsg ){ + sqlite3ReportError(SQLITE_CORRUPT, lineno, zMsg); + } + sqlite3_free(zMsg); + return SQLITE_CORRUPT_BKPT; +} +# define SQLITE_CORRUPT_PAGE(pMemPage) corruptPageError(__LINE__, pMemPage) +#else +# define SQLITE_CORRUPT_PAGE(pMemPage) SQLITE_CORRUPT_PGNO(pMemPage->pgno) +#endif + +#ifndef SQLITE_OMIT_SHARED_CACHE + +#ifdef SQLITE_DEBUG +/* +**** This function is only used as part of an assert() statement. *** +** +** Check to see if pBtree holds the required locks to read or write to the +** table with root page iRoot. Return 1 if it does and 0 if not. +** +** For example, when writing to a table with root-page iRoot via +** Btree connection pBtree: +** +** assert( hasSharedCacheTableLock(pBtree, iRoot, 0, WRITE_LOCK) ); +** +** When writing to an index that resides in a sharable database, the +** caller should have first obtained a lock specifying the root page of +** the corresponding table. This makes things a bit more complicated, +** as this module treats each table as a separate structure. To determine +** the table corresponding to the index being written, this +** function has to search through the database schema. +** +** Instead of a lock on the table/index rooted at page iRoot, the caller may +** hold a write-lock on the schema table (root page 1). This is also +** acceptable. +*/ +static int hasSharedCacheTableLock( + Btree *pBtree, /* Handle that must hold lock */ + Pgno iRoot, /* Root page of b-tree */ + int isIndex, /* True if iRoot is the root of an index b-tree */ + int eLockType /* Required lock type (READ_LOCK or WRITE_LOCK) */ +){ + Schema *pSchema = (Schema *)pBtree->pBt->pSchema; + Pgno iTab = 0; + BtLock *pLock; + + /* If this database is not shareable, or if the client is reading + ** and has the read-uncommitted flag set, then no lock is required. + ** Return true immediately. + */ + if( (pBtree->sharable==0) + || (eLockType==READ_LOCK && (pBtree->db->flags & SQLITE_ReadUncommit)) + ){ + return 1; + } + + /* If the client is reading or writing an index and the schema is + ** not loaded, then it is too difficult to actually check to see if + ** the correct locks are held. So do not bother - just return true. + ** This case does not come up very often anyhow. + */ + if( isIndex && (!pSchema || (pSchema->schemaFlags&DB_SchemaLoaded)==0) ){ + return 1; + } + + /* Figure out the root-page that the lock should be held on. For table + ** b-trees, this is just the root page of the b-tree being read or + ** written. For index b-trees, it is the root page of the associated + ** table. */ + if( isIndex ){ + HashElem *p; + for(p=sqliteHashFirst(&pSchema->idxHash); p; p=sqliteHashNext(p)){ + Index *pIdx = (Index *)sqliteHashData(p); + if( pIdx->tnum==(int)iRoot ){ + if( iTab ){ + /* Two or more indexes share the same root page. There must + ** be imposter tables. So just return true. The assert is not + ** useful in that case. */ + return 1; + } + iTab = pIdx->pTable->tnum; + } + } + }else{ + iTab = iRoot; + } + + /* Search for the required lock. Either a write-lock on root-page iTab, a + ** write-lock on the schema table, or (if the client is reading) a + ** read-lock on iTab will suffice. Return 1 if any of these are found. */ + for(pLock=pBtree->pBt->pLock; pLock; pLock=pLock->pNext){ + if( pLock->pBtree==pBtree + && (pLock->iTable==iTab || (pLock->eLock==WRITE_LOCK && pLock->iTable==1)) + && pLock->eLock>=eLockType + ){ + return 1; + } + } + + /* Failed to find the required lock. */ + return 0; +} +#endif /* SQLITE_DEBUG */ + +#ifdef SQLITE_DEBUG +/* +**** This function may be used as part of assert() statements only. **** +** +** Return true if it would be illegal for pBtree to write into the +** table or index rooted at iRoot because other shared connections are +** simultaneously reading that same table or index. +** +** It is illegal for pBtree to write if some other Btree object that +** shares the same BtShared object is currently reading or writing +** the iRoot table. Except, if the other Btree object has the +** read-uncommitted flag set, then it is OK for the other object to +** have a read cursor. +** +** For example, before writing to any part of the table or index +** rooted at page iRoot, one should call: +** +** assert( !hasReadConflicts(pBtree, iRoot) ); +*/ +static int hasReadConflicts(Btree *pBtree, Pgno iRoot){ + BtCursor *p; + for(p=pBtree->pBt->pCursor; p; p=p->pNext){ + if( p->pgnoRoot==iRoot + && p->pBtree!=pBtree + && 0==(p->pBtree->db->flags & SQLITE_ReadUncommit) + ){ + return 1; + } + } + return 0; +} +#endif /* #ifdef SQLITE_DEBUG */ + +/* +** Query to see if Btree handle p may obtain a lock of type eLock +** (READ_LOCK or WRITE_LOCK) on the table with root-page iTab. Return +** SQLITE_OK if the lock may be obtained (by calling +** setSharedCacheTableLock()), or SQLITE_LOCKED if not. +*/ +static int querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock){ + BtShared *pBt = p->pBt; + BtLock *pIter; + + assert( sqlite3BtreeHoldsMutex(p) ); + assert( eLock==READ_LOCK || eLock==WRITE_LOCK ); + assert( p->db!=0 ); + assert( !(p->db->flags&SQLITE_ReadUncommit)||eLock==WRITE_LOCK||iTab==1 ); + + /* If requesting a write-lock, then the Btree must have an open write + ** transaction on this file. And, obviously, for this to be so there + ** must be an open write transaction on the file itself. + */ + assert( eLock==READ_LOCK || (p==pBt->pWriter && p->inTrans==TRANS_WRITE) ); + assert( eLock==READ_LOCK || pBt->inTransaction==TRANS_WRITE ); + + /* This routine is a no-op if the shared-cache is not enabled */ + if( !p->sharable ){ + return SQLITE_OK; + } + + /* If some other connection is holding an exclusive lock, the + ** requested lock may not be obtained. + */ + if( pBt->pWriter!=p && (pBt->btsFlags & BTS_EXCLUSIVE)!=0 ){ + sqlite3ConnectionBlocked(p->db, pBt->pWriter->db); + return SQLITE_LOCKED_SHAREDCACHE; + } + + for(pIter=pBt->pLock; pIter; pIter=pIter->pNext){ + /* The condition (pIter->eLock!=eLock) in the following if(...) + ** statement is a simplification of: + ** + ** (eLock==WRITE_LOCK || pIter->eLock==WRITE_LOCK) + ** + ** since we know that if eLock==WRITE_LOCK, then no other connection + ** may hold a WRITE_LOCK on any table in this file (since there can + ** only be a single writer). + */ + assert( pIter->eLock==READ_LOCK || pIter->eLock==WRITE_LOCK ); + assert( eLock==READ_LOCK || pIter->pBtree==p || pIter->eLock==READ_LOCK); + if( pIter->pBtree!=p && pIter->iTable==iTab && pIter->eLock!=eLock ){ + sqlite3ConnectionBlocked(p->db, pIter->pBtree->db); + if( eLock==WRITE_LOCK ){ + assert( p==pBt->pWriter ); + pBt->btsFlags |= BTS_PENDING; + } + return SQLITE_LOCKED_SHAREDCACHE; + } + } + return SQLITE_OK; +} +#endif /* !SQLITE_OMIT_SHARED_CACHE */ + +#ifndef SQLITE_OMIT_SHARED_CACHE +/* +** Add a lock on the table with root-page iTable to the shared-btree used +** by Btree handle p. Parameter eLock must be either READ_LOCK or +** WRITE_LOCK. +** +** This function assumes the following: +** +** (a) The specified Btree object p is connected to a sharable +** database (one with the BtShared.sharable flag set), and +** +** (b) No other Btree objects hold a lock that conflicts +** with the requested lock (i.e. querySharedCacheTableLock() has +** already been called and returned SQLITE_OK). +** +** SQLITE_OK is returned if the lock is added successfully. SQLITE_NOMEM +** is returned if a malloc attempt fails. +*/ +static int setSharedCacheTableLock(Btree *p, Pgno iTable, u8 eLock){ + BtShared *pBt = p->pBt; + BtLock *pLock = 0; + BtLock *pIter; + + assert( sqlite3BtreeHoldsMutex(p) ); + assert( eLock==READ_LOCK || eLock==WRITE_LOCK ); + assert( p->db!=0 ); + + /* A connection with the read-uncommitted flag set will never try to + ** obtain a read-lock using this function. The only read-lock obtained + ** by a connection in read-uncommitted mode is on the sqlite_master + ** table, and that lock is obtained in BtreeBeginTrans(). */ + assert( 0==(p->db->flags&SQLITE_ReadUncommit) || eLock==WRITE_LOCK ); + + /* This function should only be called on a sharable b-tree after it + ** has been determined that no other b-tree holds a conflicting lock. */ + assert( p->sharable ); + assert( SQLITE_OK==querySharedCacheTableLock(p, iTable, eLock) ); + + /* First search the list for an existing lock on this table. */ + for(pIter=pBt->pLock; pIter; pIter=pIter->pNext){ + if( pIter->iTable==iTable && pIter->pBtree==p ){ + pLock = pIter; + break; + } + } + + /* If the above search did not find a BtLock struct associating Btree p + ** with table iTable, allocate one and link it into the list. + */ + if( !pLock ){ + pLock = (BtLock *)sqlite3MallocZero(sizeof(BtLock)); + if( !pLock ){ + return SQLITE_NOMEM_BKPT; + } + pLock->iTable = iTable; + pLock->pBtree = p; + pLock->pNext = pBt->pLock; + pBt->pLock = pLock; + } + + /* Set the BtLock.eLock variable to the maximum of the current lock + ** and the requested lock. This means if a write-lock was already held + ** and a read-lock requested, we don't incorrectly downgrade the lock. + */ + assert( WRITE_LOCK>READ_LOCK ); + if( eLock>pLock->eLock ){ + pLock->eLock = eLock; + } + + return SQLITE_OK; +} +#endif /* !SQLITE_OMIT_SHARED_CACHE */ + +#ifndef SQLITE_OMIT_SHARED_CACHE +/* +** Release all the table locks (locks obtained via calls to +** the setSharedCacheTableLock() procedure) held by Btree object p. +** +** This function assumes that Btree p has an open read or write +** transaction. If it does not, then the BTS_PENDING flag +** may be incorrectly cleared. +*/ +static void clearAllSharedCacheTableLocks(Btree *p){ + BtShared *pBt = p->pBt; + BtLock **ppIter = &pBt->pLock; + + assert( sqlite3BtreeHoldsMutex(p) ); + assert( p->sharable || 0==*ppIter ); + assert( p->inTrans>0 ); + + while( *ppIter ){ + BtLock *pLock = *ppIter; + assert( (pBt->btsFlags & BTS_EXCLUSIVE)==0 || pBt->pWriter==pLock->pBtree ); + assert( pLock->pBtree->inTrans>=pLock->eLock ); + if( pLock->pBtree==p ){ + *ppIter = pLock->pNext; + assert( pLock->iTable!=1 || pLock==&p->lock ); + if( pLock->iTable!=1 ){ + sqlite3_free(pLock); + } + }else{ + ppIter = &pLock->pNext; + } + } + + assert( (pBt->btsFlags & BTS_PENDING)==0 || pBt->pWriter ); + if( pBt->pWriter==p ){ + pBt->pWriter = 0; + pBt->btsFlags &= ~(BTS_EXCLUSIVE|BTS_PENDING); + }else if( pBt->nTransaction==2 ){ + /* This function is called when Btree p is concluding its + ** transaction. If there currently exists a writer, and p is not + ** that writer, then the number of locks held by connections other + ** than the writer must be about to drop to zero. In this case + ** set the BTS_PENDING flag to 0. + ** + ** If there is not currently a writer, then BTS_PENDING must + ** be zero already. So this next line is harmless in that case. + */ + pBt->btsFlags &= ~BTS_PENDING; + } +} + +/* +** This function changes all write-locks held by Btree p into read-locks. +*/ +static void downgradeAllSharedCacheTableLocks(Btree *p){ + BtShared *pBt = p->pBt; + if( pBt->pWriter==p ){ + BtLock *pLock; + pBt->pWriter = 0; + pBt->btsFlags &= ~(BTS_EXCLUSIVE|BTS_PENDING); + for(pLock=pBt->pLock; pLock; pLock=pLock->pNext){ + assert( pLock->eLock==READ_LOCK || pLock->pBtree==p ); + pLock->eLock = READ_LOCK; + } + } +} + +#endif /* SQLITE_OMIT_SHARED_CACHE */ + +static void releasePage(MemPage *pPage); /* Forward reference */ +static void releasePageOne(MemPage *pPage); /* Forward reference */ +static void releasePageNotNull(MemPage *pPage); /* Forward reference */ + +/* +***** This routine is used inside of assert() only **** +** +** Verify that the cursor holds the mutex on its BtShared +*/ +#ifdef SQLITE_DEBUG +static int cursorHoldsMutex(BtCursor *p){ + return sqlite3_mutex_held(p->pBt->mutex); +} + +/* Verify that the cursor and the BtShared agree about what is the current +** database connetion. This is important in shared-cache mode. If the database +** connection pointers get out-of-sync, it is possible for routines like +** btreeInitPage() to reference an stale connection pointer that references a +** a connection that has already closed. This routine is used inside assert() +** statements only and for the purpose of double-checking that the btree code +** does keep the database connection pointers up-to-date. +*/ +static int cursorOwnsBtShared(BtCursor *p){ + assert( cursorHoldsMutex(p) ); + return (p->pBtree->db==p->pBt->db); +} +#endif + +/* +** Invalidate the overflow cache of the cursor passed as the first argument. +** on the shared btree structure pBt. +*/ +#define invalidateOverflowCache(pCur) (pCur->curFlags &= ~BTCF_ValidOvfl) + +/* +** Invalidate the overflow page-list cache for all cursors opened +** on the shared btree structure pBt. +*/ +static void invalidateAllOverflowCache(BtShared *pBt){ + BtCursor *p; + assert( sqlite3_mutex_held(pBt->mutex) ); + for(p=pBt->pCursor; p; p=p->pNext){ + invalidateOverflowCache(p); + } +} + +#ifndef SQLITE_OMIT_INCRBLOB +/* +** This function is called before modifying the contents of a table +** to invalidate any incrblob cursors that are open on the +** row or one of the rows being modified. +** +** If argument isClearTable is true, then the entire contents of the +** table is about to be deleted. In this case invalidate all incrblob +** cursors open on any row within the table with root-page pgnoRoot. +** +** Otherwise, if argument isClearTable is false, then the row with +** rowid iRow is being replaced or deleted. In this case invalidate +** only those incrblob cursors open on that specific row. +*/ +static void invalidateIncrblobCursors( + Btree *pBtree, /* The database file to check */ + Pgno pgnoRoot, /* The table that might be changing */ + i64 iRow, /* The rowid that might be changing */ + int isClearTable /* True if all rows are being deleted */ +){ + BtCursor *p; + if( pBtree->hasIncrblobCur==0 ) return; + assert( sqlite3BtreeHoldsMutex(pBtree) ); + pBtree->hasIncrblobCur = 0; + for(p=pBtree->pBt->pCursor; p; p=p->pNext){ + if( (p->curFlags & BTCF_Incrblob)!=0 ){ + pBtree->hasIncrblobCur = 1; + if( p->pgnoRoot==pgnoRoot && (isClearTable || p->info.nKey==iRow) ){ + p->eState = CURSOR_INVALID; + } + } + } +} + +#else + /* Stub function when INCRBLOB is omitted */ + #define invalidateIncrblobCursors(w,x,y,z) +#endif /* SQLITE_OMIT_INCRBLOB */ + +/* +** Set bit pgno of the BtShared.pHasContent bitvec. This is called +** when a page that previously contained data becomes a free-list leaf +** page. +** +** The BtShared.pHasContent bitvec exists to work around an obscure +** bug caused by the interaction of two useful IO optimizations surrounding +** free-list leaf pages: +** +** 1) When all data is deleted from a page and the page becomes +** a free-list leaf page, the page is not written to the database +** (as free-list leaf pages contain no meaningful data). Sometimes +** such a page is not even journalled (as it will not be modified, +** why bother journalling it?). +** +** 2) When a free-list leaf page is reused, its content is not read +** from the database or written to the journal file (why should it +** be, if it is not at all meaningful?). +** +** By themselves, these optimizations work fine and provide a handy +** performance boost to bulk delete or insert operations. However, if +** a page is moved to the free-list and then reused within the same +** transaction, a problem comes up. If the page is not journalled when +** it is moved to the free-list and it is also not journalled when it +** is extracted from the free-list and reused, then the original data +** may be lost. In the event of a rollback, it may not be possible +** to restore the database to its original configuration. +** +** The solution is the BtShared.pHasContent bitvec. Whenever a page is +** moved to become a free-list leaf page, the corresponding bit is +** set in the bitvec. Whenever a leaf page is extracted from the free-list, +** optimization 2 above is omitted if the corresponding bit is already +** set in BtShared.pHasContent. The contents of the bitvec are cleared +** at the end of every transaction. +*/ +static int btreeSetHasContent(BtShared *pBt, Pgno pgno){ + int rc = SQLITE_OK; + if( !pBt->pHasContent ){ + assert( pgno<=pBt->nPage ); + pBt->pHasContent = sqlite3BitvecCreate(pBt->nPage); + if( !pBt->pHasContent ){ + rc = SQLITE_NOMEM_BKPT; + } + } + if( rc==SQLITE_OK && pgno<=sqlite3BitvecSize(pBt->pHasContent) ){ + rc = sqlite3BitvecSet(pBt->pHasContent, pgno); + } + return rc; +} + +/* +** Query the BtShared.pHasContent vector. +** +** This function is called when a free-list leaf page is removed from the +** free-list for reuse. It returns false if it is safe to retrieve the +** page from the pager layer with the 'no-content' flag set. True otherwise. +*/ +static int btreeGetHasContent(BtShared *pBt, Pgno pgno){ + Bitvec *p = pBt->pHasContent; + return (p && (pgno>sqlite3BitvecSize(p) || sqlite3BitvecTest(p, pgno))); +} + +/* +** Clear (destroy) the BtShared.pHasContent bitvec. This should be +** invoked at the conclusion of each write-transaction. +*/ +static void btreeClearHasContent(BtShared *pBt){ + sqlite3BitvecDestroy(pBt->pHasContent); + pBt->pHasContent = 0; +} + +/* +** Release all of the apPage[] pages for a cursor. +*/ +static void btreeReleaseAllCursorPages(BtCursor *pCur){ + int i; + if( pCur->iPage>=0 ){ + for(i=0; iiPage; i++){ + releasePageNotNull(pCur->apPage[i]); + } + releasePageNotNull(pCur->pPage); + pCur->iPage = -1; + } +} + +/* +** The cursor passed as the only argument must point to a valid entry +** when this function is called (i.e. have eState==CURSOR_VALID). This +** function saves the current cursor key in variables pCur->nKey and +** pCur->pKey. SQLITE_OK is returned if successful or an SQLite error +** code otherwise. +** +** If the cursor is open on an intkey table, then the integer key +** (the rowid) is stored in pCur->nKey and pCur->pKey is left set to +** NULL. If the cursor is open on a non-intkey table, then pCur->pKey is +** set to point to a malloced buffer pCur->nKey bytes in size containing +** the key. +*/ +static int saveCursorKey(BtCursor *pCur){ + int rc = SQLITE_OK; + assert( CURSOR_VALID==pCur->eState ); + assert( 0==pCur->pKey ); + assert( cursorHoldsMutex(pCur) ); + + if( pCur->curIntKey ){ + /* Only the rowid is required for a table btree */ + pCur->nKey = sqlite3BtreeIntegerKey(pCur); + }else{ + /* For an index btree, save the complete key content. It is possible + ** that the current key is corrupt. In that case, it is possible that + ** the sqlite3VdbeRecordUnpack() function may overread the buffer by + ** up to the size of 1 varint plus 1 8-byte value when the cursor + ** position is restored. Hence the 17 bytes of padding allocated + ** below. */ + void *pKey; + pCur->nKey = sqlite3BtreePayloadSize(pCur); + pKey = sqlite3Malloc( pCur->nKey + 9 + 8 ); + if( pKey ){ + rc = sqlite3BtreePayload(pCur, 0, (int)pCur->nKey, pKey); + if( rc==SQLITE_OK ){ + memset(((u8*)pKey)+pCur->nKey, 0, 9+8); + pCur->pKey = pKey; + }else{ + sqlite3_free(pKey); + } + }else{ + rc = SQLITE_NOMEM_BKPT; + } + } + assert( !pCur->curIntKey || !pCur->pKey ); + return rc; +} + +/* +** Save the current cursor position in the variables BtCursor.nKey +** and BtCursor.pKey. The cursor's state is set to CURSOR_REQUIRESEEK. +** +** The caller must ensure that the cursor is valid (has eState==CURSOR_VALID) +** prior to calling this routine. +*/ +static int saveCursorPosition(BtCursor *pCur){ + int rc; + + assert( CURSOR_VALID==pCur->eState || CURSOR_SKIPNEXT==pCur->eState ); + assert( 0==pCur->pKey ); + assert( cursorHoldsMutex(pCur) ); + + if( pCur->eState==CURSOR_SKIPNEXT ){ + pCur->eState = CURSOR_VALID; + }else{ + pCur->skipNext = 0; + } + + rc = saveCursorKey(pCur); + if( rc==SQLITE_OK ){ + btreeReleaseAllCursorPages(pCur); + pCur->eState = CURSOR_REQUIRESEEK; + } + + pCur->curFlags &= ~(BTCF_ValidNKey|BTCF_ValidOvfl|BTCF_AtLast); + return rc; +} + +/* Forward reference */ +static int SQLITE_NOINLINE saveCursorsOnList(BtCursor*,Pgno,BtCursor*); + +/* +** Save the positions of all cursors (except pExcept) that are open on +** the table with root-page iRoot. "Saving the cursor position" means that +** the location in the btree is remembered in such a way that it can be +** moved back to the same spot after the btree has been modified. This +** routine is called just before cursor pExcept is used to modify the +** table, for example in BtreeDelete() or BtreeInsert(). +** +** If there are two or more cursors on the same btree, then all such +** cursors should have their BTCF_Multiple flag set. The btreeCursor() +** routine enforces that rule. This routine only needs to be called in +** the uncommon case when pExpect has the BTCF_Multiple flag set. +** +** If pExpect!=NULL and if no other cursors are found on the same root-page, +** then the BTCF_Multiple flag on pExpect is cleared, to avoid another +** pointless call to this routine. +** +** Implementation note: This routine merely checks to see if any cursors +** need to be saved. It calls out to saveCursorsOnList() in the (unusual) +** event that cursors are in need to being saved. +*/ +static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){ + BtCursor *p; + assert( sqlite3_mutex_held(pBt->mutex) ); + assert( pExcept==0 || pExcept->pBt==pBt ); + for(p=pBt->pCursor; p; p=p->pNext){ + if( p!=pExcept && (0==iRoot || p->pgnoRoot==iRoot) ) break; + } + if( p ) return saveCursorsOnList(p, iRoot, pExcept); + if( pExcept ) pExcept->curFlags &= ~BTCF_Multiple; + return SQLITE_OK; +} + +/* This helper routine to saveAllCursors does the actual work of saving +** the cursors if and when a cursor is found that actually requires saving. +** The common case is that no cursors need to be saved, so this routine is +** broken out from its caller to avoid unnecessary stack pointer movement. +*/ +static int SQLITE_NOINLINE saveCursorsOnList( + BtCursor *p, /* The first cursor that needs saving */ + Pgno iRoot, /* Only save cursor with this iRoot. Save all if zero */ + BtCursor *pExcept /* Do not save this cursor */ +){ + do{ + if( p!=pExcept && (0==iRoot || p->pgnoRoot==iRoot) ){ + if( p->eState==CURSOR_VALID || p->eState==CURSOR_SKIPNEXT ){ + int rc = saveCursorPosition(p); + if( SQLITE_OK!=rc ){ + return rc; + } + }else{ + testcase( p->iPage>=0 ); + btreeReleaseAllCursorPages(p); + } + } + p = p->pNext; + }while( p ); + return SQLITE_OK; +} + +/* +** Clear the current cursor position. +*/ +SQLITE_PRIVATE void sqlite3BtreeClearCursor(BtCursor *pCur){ + assert( cursorHoldsMutex(pCur) ); + sqlite3_free(pCur->pKey); + pCur->pKey = 0; + pCur->eState = CURSOR_INVALID; +} + +/* +** In this version of BtreeMoveto, pKey is a packed index record +** such as is generated by the OP_MakeRecord opcode. Unpack the +** record and then call BtreeMovetoUnpacked() to do the work. +*/ +static int btreeMoveto( + BtCursor *pCur, /* Cursor open on the btree to be searched */ + const void *pKey, /* Packed key if the btree is an index */ + i64 nKey, /* Integer key for tables. Size of pKey for indices */ + int bias, /* Bias search to the high end */ + int *pRes /* Write search results here */ +){ + int rc; /* Status code */ + UnpackedRecord *pIdxKey; /* Unpacked index key */ + + if( pKey ){ + KeyInfo *pKeyInfo = pCur->pKeyInfo; + assert( nKey==(i64)(int)nKey ); + pIdxKey = sqlite3VdbeAllocUnpackedRecord(pKeyInfo); + if( pIdxKey==0 ) return SQLITE_NOMEM_BKPT; + sqlite3VdbeRecordUnpack(pKeyInfo, (int)nKey, pKey, pIdxKey); + if( pIdxKey->nField==0 || pIdxKey->nField>pKeyInfo->nAllField ){ + rc = SQLITE_CORRUPT_BKPT; + goto moveto_done; + } + }else{ + pIdxKey = 0; + } + rc = sqlite3BtreeMovetoUnpacked(pCur, pIdxKey, nKey, bias, pRes); +moveto_done: + if( pIdxKey ){ + sqlite3DbFree(pCur->pKeyInfo->db, pIdxKey); + } + return rc; +} + +/* +** Restore the cursor to the position it was in (or as close to as possible) +** when saveCursorPosition() was called. Note that this call deletes the +** saved position info stored by saveCursorPosition(), so there can be +** at most one effective restoreCursorPosition() call after each +** saveCursorPosition(). +*/ +static int btreeRestoreCursorPosition(BtCursor *pCur){ + int rc; + int skipNext = 0; + assert( cursorOwnsBtShared(pCur) ); + assert( pCur->eState>=CURSOR_REQUIRESEEK ); + if( pCur->eState==CURSOR_FAULT ){ + return pCur->skipNext; + } + pCur->eState = CURSOR_INVALID; + if( sqlite3FaultSim(410) ){ + rc = SQLITE_IOERR; + }else{ + rc = btreeMoveto(pCur, pCur->pKey, pCur->nKey, 0, &skipNext); + } + if( rc==SQLITE_OK ){ + sqlite3_free(pCur->pKey); + pCur->pKey = 0; + assert( pCur->eState==CURSOR_VALID || pCur->eState==CURSOR_INVALID ); + if( skipNext ) pCur->skipNext = skipNext; + if( pCur->skipNext && pCur->eState==CURSOR_VALID ){ + pCur->eState = CURSOR_SKIPNEXT; + } + } + return rc; +} + +#define restoreCursorPosition(p) \ + (p->eState>=CURSOR_REQUIRESEEK ? \ + btreeRestoreCursorPosition(p) : \ + SQLITE_OK) + +/* +** Determine whether or not a cursor has moved from the position where +** it was last placed, or has been invalidated for any other reason. +** Cursors can move when the row they are pointing at is deleted out +** from under them, for example. Cursor might also move if a btree +** is rebalanced. +** +** Calling this routine with a NULL cursor pointer returns false. +** +** Use the separate sqlite3BtreeCursorRestore() routine to restore a cursor +** back to where it ought to be if this routine returns true. +*/ +SQLITE_PRIVATE int sqlite3BtreeCursorHasMoved(BtCursor *pCur){ + assert( EIGHT_BYTE_ALIGNMENT(pCur) + || pCur==sqlite3BtreeFakeValidCursor() ); + assert( offsetof(BtCursor, eState)==0 ); + assert( sizeof(pCur->eState)==1 ); + return CURSOR_VALID != *(u8*)pCur; +} + +/* +** Return a pointer to a fake BtCursor object that will always answer +** false to the sqlite3BtreeCursorHasMoved() routine above. The fake +** cursor returned must not be used with any other Btree interface. +*/ +SQLITE_PRIVATE BtCursor *sqlite3BtreeFakeValidCursor(void){ + static u8 fakeCursor = CURSOR_VALID; + assert( offsetof(BtCursor, eState)==0 ); + return (BtCursor*)&fakeCursor; +} + +/* +** This routine restores a cursor back to its original position after it +** has been moved by some outside activity (such as a btree rebalance or +** a row having been deleted out from under the cursor). +** +** On success, the *pDifferentRow parameter is false if the cursor is left +** pointing at exactly the same row. *pDifferntRow is the row the cursor +** was pointing to has been deleted, forcing the cursor to point to some +** nearby row. +** +** This routine should only be called for a cursor that just returned +** TRUE from sqlite3BtreeCursorHasMoved(). +*/ +SQLITE_PRIVATE int sqlite3BtreeCursorRestore(BtCursor *pCur, int *pDifferentRow){ + int rc; + + assert( pCur!=0 ); + assert( pCur->eState!=CURSOR_VALID ); + rc = restoreCursorPosition(pCur); + if( rc ){ + *pDifferentRow = 1; + return rc; + } + if( pCur->eState!=CURSOR_VALID ){ + *pDifferentRow = 1; + }else{ + *pDifferentRow = 0; + } + return SQLITE_OK; +} + +#ifdef SQLITE_ENABLE_CURSOR_HINTS +/* +** Provide hints to the cursor. The particular hint given (and the type +** and number of the varargs parameters) is determined by the eHintType +** parameter. See the definitions of the BTREE_HINT_* macros for details. +*/ +SQLITE_PRIVATE void sqlite3BtreeCursorHint(BtCursor *pCur, int eHintType, ...){ + /* Used only by system that substitute their own storage engine */ +} +#endif + +/* +** Provide flag hints to the cursor. +*/ +SQLITE_PRIVATE void sqlite3BtreeCursorHintFlags(BtCursor *pCur, unsigned x){ + assert( x==BTREE_SEEK_EQ || x==BTREE_BULKLOAD || x==0 ); + pCur->hints = x; +} + + +#ifndef SQLITE_OMIT_AUTOVACUUM +/* +** Given a page number of a regular database page, return the page +** number for the pointer-map page that contains the entry for the +** input page number. +** +** Return 0 (not a valid page) for pgno==1 since there is +** no pointer map associated with page 1. The integrity_check logic +** requires that ptrmapPageno(*,1)!=1. +*/ +static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){ + int nPagesPerMapPage; + Pgno iPtrMap, ret; + assert( sqlite3_mutex_held(pBt->mutex) ); + if( pgno<2 ) return 0; + nPagesPerMapPage = (pBt->usableSize/5)+1; + iPtrMap = (pgno-2)/nPagesPerMapPage; + ret = (iPtrMap*nPagesPerMapPage) + 2; + if( ret==PENDING_BYTE_PAGE(pBt) ){ + ret++; + } + return ret; +} + +/* +** Write an entry into the pointer map. +** +** This routine updates the pointer map entry for page number 'key' +** so that it maps to type 'eType' and parent page number 'pgno'. +** +** If *pRC is initially non-zero (non-SQLITE_OK) then this routine is +** a no-op. If an error occurs, the appropriate error code is written +** into *pRC. +*/ +static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){ + DbPage *pDbPage; /* The pointer map page */ + u8 *pPtrmap; /* The pointer map data */ + Pgno iPtrmap; /* The pointer map page number */ + int offset; /* Offset in pointer map page */ + int rc; /* Return code from subfunctions */ + + if( *pRC ) return; + + assert( sqlite3_mutex_held(pBt->mutex) ); + /* The master-journal page number must never be used as a pointer map page */ + assert( 0==PTRMAP_ISPAGE(pBt, PENDING_BYTE_PAGE(pBt)) ); + + assert( pBt->autoVacuum ); + if( key==0 ){ + *pRC = SQLITE_CORRUPT_BKPT; + return; + } + iPtrmap = PTRMAP_PAGENO(pBt, key); + rc = sqlite3PagerGet(pBt->pPager, iPtrmap, &pDbPage, 0); + if( rc!=SQLITE_OK ){ + *pRC = rc; + return; + } + if( ((char*)sqlite3PagerGetExtra(pDbPage))[0]!=0 ){ + /* The first byte of the extra data is the MemPage.isInit byte. + ** If that byte is set, it means this page is also being used + ** as a btree page. */ + *pRC = SQLITE_CORRUPT_BKPT; + goto ptrmap_exit; + } + offset = PTRMAP_PTROFFSET(iPtrmap, key); + if( offset<0 ){ + *pRC = SQLITE_CORRUPT_BKPT; + goto ptrmap_exit; + } + assert( offset <= (int)pBt->usableSize-5 ); + pPtrmap = (u8 *)sqlite3PagerGetData(pDbPage); + + if( eType!=pPtrmap[offset] || get4byte(&pPtrmap[offset+1])!=parent ){ + TRACE(("PTRMAP_UPDATE: %d->(%d,%d)\n", key, eType, parent)); + *pRC= rc = sqlite3PagerWrite(pDbPage); + if( rc==SQLITE_OK ){ + pPtrmap[offset] = eType; + put4byte(&pPtrmap[offset+1], parent); + } + } + +ptrmap_exit: + sqlite3PagerUnref(pDbPage); +} + +/* +** Read an entry from the pointer map. +** +** This routine retrieves the pointer map entry for page 'key', writing +** the type and parent page number to *pEType and *pPgno respectively. +** An error code is returned if something goes wrong, otherwise SQLITE_OK. +*/ +static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){ + DbPage *pDbPage; /* The pointer map page */ + int iPtrmap; /* Pointer map page index */ + u8 *pPtrmap; /* Pointer map page data */ + int offset; /* Offset of entry in pointer map */ + int rc; + + assert( sqlite3_mutex_held(pBt->mutex) ); + + iPtrmap = PTRMAP_PAGENO(pBt, key); + rc = sqlite3PagerGet(pBt->pPager, iPtrmap, &pDbPage, 0); + if( rc!=0 ){ + return rc; + } + pPtrmap = (u8 *)sqlite3PagerGetData(pDbPage); + + offset = PTRMAP_PTROFFSET(iPtrmap, key); + if( offset<0 ){ + sqlite3PagerUnref(pDbPage); + return SQLITE_CORRUPT_BKPT; + } + assert( offset <= (int)pBt->usableSize-5 ); + assert( pEType!=0 ); + *pEType = pPtrmap[offset]; + if( pPgno ) *pPgno = get4byte(&pPtrmap[offset+1]); + + sqlite3PagerUnref(pDbPage); + if( *pEType<1 || *pEType>5 ) return SQLITE_CORRUPT_PGNO(iPtrmap); + return SQLITE_OK; +} + +#else /* if defined SQLITE_OMIT_AUTOVACUUM */ + #define ptrmapPut(w,x,y,z,rc) + #define ptrmapGet(w,x,y,z) SQLITE_OK + #define ptrmapPutOvflPtr(x, y, z, rc) +#endif + +/* +** Given a btree page and a cell index (0 means the first cell on +** the page, 1 means the second cell, and so forth) return a pointer +** to the cell content. +** +** findCellPastPtr() does the same except it skips past the initial +** 4-byte child pointer found on interior pages, if there is one. +** +** This routine works only for pages that do not contain overflow cells. +*/ +#define findCell(P,I) \ + ((P)->aData + ((P)->maskPage & get2byteAligned(&(P)->aCellIdx[2*(I)]))) +#define findCellPastPtr(P,I) \ + ((P)->aDataOfst + ((P)->maskPage & get2byteAligned(&(P)->aCellIdx[2*(I)]))) + + +/* +** This is common tail processing for btreeParseCellPtr() and +** btreeParseCellPtrIndex() for the case when the cell does not fit entirely +** on a single B-tree page. Make necessary adjustments to the CellInfo +** structure. +*/ +static SQLITE_NOINLINE void btreeParseCellAdjustSizeForOverflow( + MemPage *pPage, /* Page containing the cell */ + u8 *pCell, /* Pointer to the cell text. */ + CellInfo *pInfo /* Fill in this structure */ +){ + /* If the payload will not fit completely on the local page, we have + ** to decide how much to store locally and how much to spill onto + ** overflow pages. The strategy is to minimize the amount of unused + ** space on overflow pages while keeping the amount of local storage + ** in between minLocal and maxLocal. + ** + ** Warning: changing the way overflow payload is distributed in any + ** way will result in an incompatible file format. + */ + int minLocal; /* Minimum amount of payload held locally */ + int maxLocal; /* Maximum amount of payload held locally */ + int surplus; /* Overflow payload available for local storage */ + + minLocal = pPage->minLocal; + maxLocal = pPage->maxLocal; + surplus = minLocal + (pInfo->nPayload - minLocal)%(pPage->pBt->usableSize-4); + testcase( surplus==maxLocal ); + testcase( surplus==maxLocal+1 ); + if( surplus <= maxLocal ){ + pInfo->nLocal = (u16)surplus; + }else{ + pInfo->nLocal = (u16)minLocal; + } + pInfo->nSize = (u16)(&pInfo->pPayload[pInfo->nLocal] - pCell) + 4; +} + +/* +** The following routines are implementations of the MemPage.xParseCell() +** method. +** +** Parse a cell content block and fill in the CellInfo structure. +** +** btreeParseCellPtr() => table btree leaf nodes +** btreeParseCellNoPayload() => table btree internal nodes +** btreeParseCellPtrIndex() => index btree nodes +** +** There is also a wrapper function btreeParseCell() that works for +** all MemPage types and that references the cell by index rather than +** by pointer. +*/ +static void btreeParseCellPtrNoPayload( + MemPage *pPage, /* Page containing the cell */ + u8 *pCell, /* Pointer to the cell text. */ + CellInfo *pInfo /* Fill in this structure */ +){ + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + assert( pPage->leaf==0 ); + assert( pPage->childPtrSize==4 ); +#ifndef SQLITE_DEBUG + UNUSED_PARAMETER(pPage); +#endif + pInfo->nSize = 4 + getVarint(&pCell[4], (u64*)&pInfo->nKey); + pInfo->nPayload = 0; + pInfo->nLocal = 0; + pInfo->pPayload = 0; + return; +} +static void btreeParseCellPtr( + MemPage *pPage, /* Page containing the cell */ + u8 *pCell, /* Pointer to the cell text. */ + CellInfo *pInfo /* Fill in this structure */ +){ + u8 *pIter; /* For scanning through pCell */ + u32 nPayload; /* Number of bytes of cell payload */ + u64 iKey; /* Extracted Key value */ + + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + assert( pPage->leaf==0 || pPage->leaf==1 ); + assert( pPage->intKeyLeaf ); + assert( pPage->childPtrSize==0 ); + pIter = pCell; + + /* The next block of code is equivalent to: + ** + ** pIter += getVarint32(pIter, nPayload); + ** + ** The code is inlined to avoid a function call. + */ + nPayload = *pIter; + if( nPayload>=0x80 ){ + u8 *pEnd = &pIter[8]; + nPayload &= 0x7f; + do{ + nPayload = (nPayload<<7) | (*++pIter & 0x7f); + }while( (*pIter)>=0x80 && pIternKey); + ** + ** The code is inlined to avoid a function call. + */ + iKey = *pIter; + if( iKey>=0x80 ){ + u8 *pEnd = &pIter[7]; + iKey &= 0x7f; + while(1){ + iKey = (iKey<<7) | (*++pIter & 0x7f); + if( (*pIter)<0x80 ) break; + if( pIter>=pEnd ){ + iKey = (iKey<<8) | *++pIter; + break; + } + } + } + pIter++; + + pInfo->nKey = *(i64*)&iKey; + pInfo->nPayload = nPayload; + pInfo->pPayload = pIter; + testcase( nPayload==pPage->maxLocal ); + testcase( nPayload==pPage->maxLocal+1 ); + if( nPayload<=pPage->maxLocal ){ + /* This is the (easy) common case where the entire payload fits + ** on the local page. No overflow is required. + */ + pInfo->nSize = nPayload + (u16)(pIter - pCell); + if( pInfo->nSize<4 ) pInfo->nSize = 4; + pInfo->nLocal = (u16)nPayload; + }else{ + btreeParseCellAdjustSizeForOverflow(pPage, pCell, pInfo); + } +} +static void btreeParseCellPtrIndex( + MemPage *pPage, /* Page containing the cell */ + u8 *pCell, /* Pointer to the cell text. */ + CellInfo *pInfo /* Fill in this structure */ +){ + u8 *pIter; /* For scanning through pCell */ + u32 nPayload; /* Number of bytes of cell payload */ + + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + assert( pPage->leaf==0 || pPage->leaf==1 ); + assert( pPage->intKeyLeaf==0 ); + pIter = pCell + pPage->childPtrSize; + nPayload = *pIter; + if( nPayload>=0x80 ){ + u8 *pEnd = &pIter[8]; + nPayload &= 0x7f; + do{ + nPayload = (nPayload<<7) | (*++pIter & 0x7f); + }while( *(pIter)>=0x80 && pIternKey = nPayload; + pInfo->nPayload = nPayload; + pInfo->pPayload = pIter; + testcase( nPayload==pPage->maxLocal ); + testcase( nPayload==pPage->maxLocal+1 ); + if( nPayload<=pPage->maxLocal ){ + /* This is the (easy) common case where the entire payload fits + ** on the local page. No overflow is required. + */ + pInfo->nSize = nPayload + (u16)(pIter - pCell); + if( pInfo->nSize<4 ) pInfo->nSize = 4; + pInfo->nLocal = (u16)nPayload; + }else{ + btreeParseCellAdjustSizeForOverflow(pPage, pCell, pInfo); + } +} +static void btreeParseCell( + MemPage *pPage, /* Page containing the cell */ + int iCell, /* The cell index. First cell is 0 */ + CellInfo *pInfo /* Fill in this structure */ +){ + pPage->xParseCell(pPage, findCell(pPage, iCell), pInfo); +} + +/* +** The following routines are implementations of the MemPage.xCellSize +** method. +** +** Compute the total number of bytes that a Cell needs in the cell +** data area of the btree-page. The return number includes the cell +** data header and the local payload, but not any overflow page or +** the space used by the cell pointer. +** +** cellSizePtrNoPayload() => table internal nodes +** cellSizePtr() => all index nodes & table leaf nodes +*/ +static u16 cellSizePtr(MemPage *pPage, u8 *pCell){ + u8 *pIter = pCell + pPage->childPtrSize; /* For looping over bytes of pCell */ + u8 *pEnd; /* End mark for a varint */ + u32 nSize; /* Size value to return */ + +#ifdef SQLITE_DEBUG + /* The value returned by this function should always be the same as + ** the (CellInfo.nSize) value found by doing a full parse of the + ** cell. If SQLITE_DEBUG is defined, an assert() at the bottom of + ** this function verifies that this invariant is not violated. */ + CellInfo debuginfo; + pPage->xParseCell(pPage, pCell, &debuginfo); +#endif + + nSize = *pIter; + if( nSize>=0x80 ){ + pEnd = &pIter[8]; + nSize &= 0x7f; + do{ + nSize = (nSize<<7) | (*++pIter & 0x7f); + }while( *(pIter)>=0x80 && pIterintKey ){ + /* pIter now points at the 64-bit integer key value, a variable length + ** integer. The following block moves pIter to point at the first byte + ** past the end of the key value. */ + pEnd = &pIter[9]; + while( (*pIter++)&0x80 && pItermaxLocal ); + testcase( nSize==pPage->maxLocal+1 ); + if( nSize<=pPage->maxLocal ){ + nSize += (u32)(pIter - pCell); + if( nSize<4 ) nSize = 4; + }else{ + int minLocal = pPage->minLocal; + nSize = minLocal + (nSize - minLocal) % (pPage->pBt->usableSize - 4); + testcase( nSize==pPage->maxLocal ); + testcase( nSize==pPage->maxLocal+1 ); + if( nSize>pPage->maxLocal ){ + nSize = minLocal; + } + nSize += 4 + (u16)(pIter - pCell); + } + assert( nSize==debuginfo.nSize || CORRUPT_DB ); + return (u16)nSize; +} +static u16 cellSizePtrNoPayload(MemPage *pPage, u8 *pCell){ + u8 *pIter = pCell + 4; /* For looping over bytes of pCell */ + u8 *pEnd; /* End mark for a varint */ + +#ifdef SQLITE_DEBUG + /* The value returned by this function should always be the same as + ** the (CellInfo.nSize) value found by doing a full parse of the + ** cell. If SQLITE_DEBUG is defined, an assert() at the bottom of + ** this function verifies that this invariant is not violated. */ + CellInfo debuginfo; + pPage->xParseCell(pPage, pCell, &debuginfo); +#else + UNUSED_PARAMETER(pPage); +#endif + + assert( pPage->childPtrSize==4 ); + pEnd = pIter + 9; + while( (*pIter++)&0x80 && pIterxCellSize(pPage, findCell(pPage, iCell)); +} +#endif + +#ifndef SQLITE_OMIT_AUTOVACUUM +/* +** The cell pCell is currently part of page pSrc but will ultimately be part +** of pPage. (pSrc and pPager are often the same.) If pCell contains a +** pointer to an overflow page, insert an entry into the pointer-map for +** the overflow page that will be valid after pCell has been moved to pPage. +*/ +static void ptrmapPutOvflPtr(MemPage *pPage, MemPage *pSrc, u8 *pCell,int *pRC){ + CellInfo info; + if( *pRC ) return; + assert( pCell!=0 ); + pPage->xParseCell(pPage, pCell, &info); + if( info.nLocalaDataEnd, pCell, pCell+info.nLocal) ){ + testcase( pSrc!=pPage ); + *pRC = SQLITE_CORRUPT_BKPT; + return; + } + ovfl = get4byte(&pCell[info.nSize-4]); + ptrmapPut(pPage->pBt, ovfl, PTRMAP_OVERFLOW1, pPage->pgno, pRC); + } +} +#endif + + +/* +** Defragment the page given. This routine reorganizes cells within the +** page so that there are no free-blocks on the free-block list. +** +** Parameter nMaxFrag is the maximum amount of fragmented space that may be +** present in the page after this routine returns. +** +** EVIDENCE-OF: R-44582-60138 SQLite may from time to time reorganize a +** b-tree page so that there are no freeblocks or fragment bytes, all +** unused bytes are contained in the unallocated space region, and all +** cells are packed tightly at the end of the page. +*/ +static int defragmentPage(MemPage *pPage, int nMaxFrag){ + int i; /* Loop counter */ + int pc; /* Address of the i-th cell */ + int hdr; /* Offset to the page header */ + int size; /* Size of a cell */ + int usableSize; /* Number of usable bytes on a page */ + int cellOffset; /* Offset to the cell pointer array */ + int cbrk; /* Offset to the cell content area */ + int nCell; /* Number of cells on the page */ + unsigned char *data; /* The page data */ + unsigned char *temp; /* Temp area for cell content */ + unsigned char *src; /* Source of content */ + int iCellFirst; /* First allowable cell index */ + int iCellLast; /* Last possible cell index */ + + assert( sqlite3PagerIswriteable(pPage->pDbPage) ); + assert( pPage->pBt!=0 ); + assert( pPage->pBt->usableSize <= SQLITE_MAX_PAGE_SIZE ); + assert( pPage->nOverflow==0 ); + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + temp = 0; + src = data = pPage->aData; + hdr = pPage->hdrOffset; + cellOffset = pPage->cellOffset; + nCell = pPage->nCell; + assert( nCell==get2byte(&data[hdr+3]) || CORRUPT_DB ); + iCellFirst = cellOffset + 2*nCell; + usableSize = pPage->pBt->usableSize; + + /* This block handles pages with two or fewer free blocks and nMaxFrag + ** or fewer fragmented bytes. In this case it is faster to move the + ** two (or one) blocks of cells using memmove() and add the required + ** offsets to each pointer in the cell-pointer array than it is to + ** reconstruct the entire page. */ + if( (int)data[hdr+7]<=nMaxFrag ){ + int iFree = get2byte(&data[hdr+1]); + if( iFree>usableSize-4 ) return SQLITE_CORRUPT_PAGE(pPage); + if( iFree ){ + int iFree2 = get2byte(&data[iFree]); + if( iFree2>usableSize-4 ) return SQLITE_CORRUPT_PAGE(pPage); + if( 0==iFree2 || (data[iFree2]==0 && data[iFree2+1]==0) ){ + u8 *pEnd = &data[cellOffset + nCell*2]; + u8 *pAddr; + int sz2 = 0; + int sz = get2byte(&data[iFree+2]); + int top = get2byte(&data[hdr+5]); + if( top>=iFree ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + if( iFree2 ){ + if( iFree+sz>iFree2 ) return SQLITE_CORRUPT_PAGE(pPage); + sz2 = get2byte(&data[iFree2+2]); + if( iFree2+sz2 > usableSize ) return SQLITE_CORRUPT_PAGE(pPage); + memmove(&data[iFree+sz+sz2], &data[iFree+sz], iFree2-(iFree+sz)); + sz += sz2; + }else if( iFree+sz>usableSize ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + + cbrk = top+sz; + assert( cbrk+(iFree-top) <= usableSize ); + memmove(&data[cbrk], &data[top], iFree-top); + for(pAddr=&data[cellOffset]; pAddriCellLast ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + assert( pc>=iCellFirst && pc<=iCellLast ); + size = pPage->xCellSize(pPage, &src[pc]); + cbrk -= size; + if( cbrkusableSize ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + assert( cbrk+size<=usableSize && cbrk>=iCellFirst ); + testcase( cbrk+size==usableSize ); + testcase( pc+size==usableSize ); + put2byte(pAddr, cbrk); + if( temp==0 ){ + int x; + if( cbrk==pc ) continue; + temp = sqlite3PagerTempSpace(pPage->pBt->pPager); + x = get2byte(&data[hdr+5]); + memcpy(&temp[x], &data[x], (cbrk+size) - x); + src = temp; + } + memcpy(&data[cbrk], &src[pc], size); + } + data[hdr+7] = 0; + + defragment_out: + assert( pPage->nFree>=0 ); + if( data[hdr+7]+cbrk-iCellFirst!=pPage->nFree ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + assert( cbrk>=iCellFirst ); + put2byte(&data[hdr+5], cbrk); + data[hdr+1] = 0; + data[hdr+2] = 0; + memset(&data[iCellFirst], 0, cbrk-iCellFirst); + assert( sqlite3PagerIswriteable(pPage->pDbPage) ); + return SQLITE_OK; +} + +/* +** Search the free-list on page pPg for space to store a cell nByte bytes in +** size. If one can be found, return a pointer to the space and remove it +** from the free-list. +** +** If no suitable space can be found on the free-list, return NULL. +** +** This function may detect corruption within pPg. If corruption is +** detected then *pRc is set to SQLITE_CORRUPT and NULL is returned. +** +** Slots on the free list that are between 1 and 3 bytes larger than nByte +** will be ignored if adding the extra space to the fragmentation count +** causes the fragmentation count to exceed 60. +*/ +static u8 *pageFindSlot(MemPage *pPg, int nByte, int *pRc){ + const int hdr = pPg->hdrOffset; /* Offset to page header */ + u8 * const aData = pPg->aData; /* Page data */ + int iAddr = hdr + 1; /* Address of ptr to pc */ + int pc = get2byte(&aData[iAddr]); /* Address of a free slot */ + int x; /* Excess size of the slot */ + int maxPC = pPg->pBt->usableSize - nByte; /* Max address for a usable slot */ + int size; /* Size of the free slot */ + + assert( pc>0 ); + while( pc<=maxPC ){ + /* EVIDENCE-OF: R-22710-53328 The third and fourth bytes of each + ** freeblock form a big-endian integer which is the size of the freeblock + ** in bytes, including the 4-byte header. */ + size = get2byte(&aData[pc+2]); + if( (x = size - nByte)>=0 ){ + testcase( x==4 ); + testcase( x==3 ); + if( x<4 ){ + /* EVIDENCE-OF: R-11498-58022 In a well-formed b-tree page, the total + ** number of bytes in fragments may not exceed 60. */ + if( aData[hdr+7]>57 ) return 0; + + /* Remove the slot from the free-list. Update the number of + ** fragmented bytes within the page. */ + memcpy(&aData[iAddr], &aData[pc], 2); + aData[hdr+7] += (u8)x; + }else if( x+pc > maxPC ){ + /* This slot extends off the end of the usable part of the page */ + *pRc = SQLITE_CORRUPT_PAGE(pPg); + return 0; + }else{ + /* The slot remains on the free-list. Reduce its size to account + ** for the portion used by the new allocation. */ + put2byte(&aData[pc+2], x); + } + return &aData[pc + x]; + } + iAddr = pc; + pc = get2byte(&aData[pc]); + if( pc<=iAddr+size ){ + if( pc ){ + /* The next slot in the chain is not past the end of the current slot */ + *pRc = SQLITE_CORRUPT_PAGE(pPg); + } + return 0; + } + } + if( pc>maxPC+nByte-4 ){ + /* The free slot chain extends off the end of the page */ + *pRc = SQLITE_CORRUPT_PAGE(pPg); + } + return 0; +} + +/* +** Allocate nByte bytes of space from within the B-Tree page passed +** as the first argument. Write into *pIdx the index into pPage->aData[] +** of the first byte of allocated space. Return either SQLITE_OK or +** an error code (usually SQLITE_CORRUPT). +** +** The caller guarantees that there is sufficient space to make the +** allocation. This routine might need to defragment in order to bring +** all the space together, however. This routine will avoid using +** the first two bytes past the cell pointer area since presumably this +** allocation is being made in order to insert a new cell, so we will +** also end up needing a new cell pointer. +*/ +static int allocateSpace(MemPage *pPage, int nByte, int *pIdx){ + const int hdr = pPage->hdrOffset; /* Local cache of pPage->hdrOffset */ + u8 * const data = pPage->aData; /* Local cache of pPage->aData */ + int top; /* First byte of cell content area */ + int rc = SQLITE_OK; /* Integer return code */ + int gap; /* First byte of gap between cell pointers and cell content */ + + assert( sqlite3PagerIswriteable(pPage->pDbPage) ); + assert( pPage->pBt ); + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + assert( nByte>=0 ); /* Minimum cell size is 4 */ + assert( pPage->nFree>=nByte ); + assert( pPage->nOverflow==0 ); + assert( nByte < (int)(pPage->pBt->usableSize-8) ); + + assert( pPage->cellOffset == hdr + 12 - 4*pPage->leaf ); + gap = pPage->cellOffset + 2*pPage->nCell; + assert( gap<=65536 ); + /* EVIDENCE-OF: R-29356-02391 If the database uses a 65536-byte page size + ** and the reserved space is zero (the usual value for reserved space) + ** then the cell content offset of an empty page wants to be 65536. + ** However, that integer is too large to be stored in a 2-byte unsigned + ** integer, so a value of 0 is used in its place. */ + top = get2byte(&data[hdr+5]); + assert( top<=(int)pPage->pBt->usableSize ); /* by btreeComputeFreeSpace() */ + if( gap>top ){ + if( top==0 && pPage->pBt->usableSize==65536 ){ + top = 65536; + }else{ + return SQLITE_CORRUPT_PAGE(pPage); + } + } + + /* If there is enough space between gap and top for one more cell pointer, + ** and if the freelist is not empty, then search the + ** freelist looking for a slot big enough to satisfy the request. + */ + testcase( gap+2==top ); + testcase( gap+1==top ); + testcase( gap==top ); + if( (data[hdr+2] || data[hdr+1]) && gap+2<=top ){ + u8 *pSpace = pageFindSlot(pPage, nByte, &rc); + if( pSpace ){ + assert( pSpace+nByte<=data+pPage->pBt->usableSize ); + if( (*pIdx = (int)(pSpace-data))<=gap ){ + return SQLITE_CORRUPT_PAGE(pPage); + }else{ + return SQLITE_OK; + } + }else if( rc ){ + return rc; + } + } + + /* The request could not be fulfilled using a freelist slot. Check + ** to see if defragmentation is necessary. + */ + testcase( gap+2+nByte==top ); + if( gap+2+nByte>top ){ + assert( pPage->nCell>0 || CORRUPT_DB ); + assert( pPage->nFree>=0 ); + rc = defragmentPage(pPage, MIN(4, pPage->nFree - (2+nByte))); + if( rc ) return rc; + top = get2byteNotZero(&data[hdr+5]); + assert( gap+2+nByte<=top ); + } + + + /* Allocate memory from the gap in between the cell pointer array + ** and the cell content area. The btreeComputeFreeSpace() call has already + ** validated the freelist. Given that the freelist is valid, there + ** is no way that the allocation can extend off the end of the page. + ** The assert() below verifies the previous sentence. + */ + top -= nByte; + put2byte(&data[hdr+5], top); + assert( top+nByte <= (int)pPage->pBt->usableSize ); + *pIdx = top; + return SQLITE_OK; +} + +/* +** Return a section of the pPage->aData to the freelist. +** The first byte of the new free block is pPage->aData[iStart] +** and the size of the block is iSize bytes. +** +** Adjacent freeblocks are coalesced. +** +** Even though the freeblock list was checked by btreeComputeFreeSpace(), +** that routine will not detect overlap between cells or freeblocks. Nor +** does it detect cells or freeblocks that encrouch into the reserved bytes +** at the end of the page. So do additional corruption checks inside this +** routine and return SQLITE_CORRUPT if any problems are found. +*/ +static int freeSpace(MemPage *pPage, u16 iStart, u16 iSize){ + u16 iPtr; /* Address of ptr to next freeblock */ + u16 iFreeBlk; /* Address of the next freeblock */ + u8 hdr; /* Page header size. 0 or 100 */ + u8 nFrag = 0; /* Reduction in fragmentation */ + u16 iOrigSize = iSize; /* Original value of iSize */ + u16 x; /* Offset to cell content area */ + u32 iEnd = iStart + iSize; /* First byte past the iStart buffer */ + unsigned char *data = pPage->aData; /* Page content */ + + assert( pPage->pBt!=0 ); + assert( sqlite3PagerIswriteable(pPage->pDbPage) ); + assert( CORRUPT_DB || iStart>=pPage->hdrOffset+6+pPage->childPtrSize ); + assert( CORRUPT_DB || iEnd <= pPage->pBt->usableSize ); + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + assert( iSize>=4 ); /* Minimum cell size is 4 */ + assert( iStart<=pPage->pBt->usableSize-4 ); + + /* The list of freeblocks must be in ascending order. Find the + ** spot on the list where iStart should be inserted. + */ + hdr = pPage->hdrOffset; + iPtr = hdr + 1; + if( data[iPtr+1]==0 && data[iPtr]==0 ){ + iFreeBlk = 0; /* Shortcut for the case when the freelist is empty */ + }else{ + while( (iFreeBlk = get2byte(&data[iPtr]))pPage->pBt->usableSize-4 ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + assert( iFreeBlk>iPtr || iFreeBlk==0 ); + + /* At this point: + ** iFreeBlk: First freeblock after iStart, or zero if none + ** iPtr: The address of a pointer to iFreeBlk + ** + ** Check to see if iFreeBlk should be coalesced onto the end of iStart. + */ + if( iFreeBlk && iEnd+3>=iFreeBlk ){ + nFrag = iFreeBlk - iEnd; + if( iEnd>iFreeBlk ) return SQLITE_CORRUPT_PAGE(pPage); + iEnd = iFreeBlk + get2byte(&data[iFreeBlk+2]); + if( iEnd > pPage->pBt->usableSize ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + iSize = iEnd - iStart; + iFreeBlk = get2byte(&data[iFreeBlk]); + } + + /* If iPtr is another freeblock (that is, if iPtr is not the freelist + ** pointer in the page header) then check to see if iStart should be + ** coalesced onto the end of iPtr. + */ + if( iPtr>hdr+1 ){ + int iPtrEnd = iPtr + get2byte(&data[iPtr+2]); + if( iPtrEnd+3>=iStart ){ + if( iPtrEnd>iStart ) return SQLITE_CORRUPT_PAGE(pPage); + nFrag += iStart - iPtrEnd; + iSize = iEnd - iPtr; + iStart = iPtr; + } + } + if( nFrag>data[hdr+7] ) return SQLITE_CORRUPT_PAGE(pPage); + data[hdr+7] -= nFrag; + } + x = get2byte(&data[hdr+5]); + if( iStart<=x ){ + /* The new freeblock is at the beginning of the cell content area, + ** so just extend the cell content area rather than create another + ** freelist entry */ + if( iStartpBt->btsFlags & BTS_FAST_SECURE ){ + /* Overwrite deleted information with zeros when the secure_delete + ** option is enabled */ + memset(&data[iStart], 0, iSize); + } + put2byte(&data[iStart], iFreeBlk); + put2byte(&data[iStart+2], iSize); + pPage->nFree += iOrigSize; + return SQLITE_OK; +} + +/* +** Decode the flags byte (the first byte of the header) for a page +** and initialize fields of the MemPage structure accordingly. +** +** Only the following combinations are supported. Anything different +** indicates a corrupt database files: +** +** PTF_ZERODATA +** PTF_ZERODATA | PTF_LEAF +** PTF_LEAFDATA | PTF_INTKEY +** PTF_LEAFDATA | PTF_INTKEY | PTF_LEAF +*/ +static int decodeFlags(MemPage *pPage, int flagByte){ + BtShared *pBt; /* A copy of pPage->pBt */ + + assert( pPage->hdrOffset==(pPage->pgno==1 ? 100 : 0) ); + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + pPage->leaf = (u8)(flagByte>>3); assert( PTF_LEAF == 1<<3 ); + flagByte &= ~PTF_LEAF; + pPage->childPtrSize = 4-4*pPage->leaf; + pPage->xCellSize = cellSizePtr; + pBt = pPage->pBt; + if( flagByte==(PTF_LEAFDATA | PTF_INTKEY) ){ + /* EVIDENCE-OF: R-07291-35328 A value of 5 (0x05) means the page is an + ** interior table b-tree page. */ + assert( (PTF_LEAFDATA|PTF_INTKEY)==5 ); + /* EVIDENCE-OF: R-26900-09176 A value of 13 (0x0d) means the page is a + ** leaf table b-tree page. */ + assert( (PTF_LEAFDATA|PTF_INTKEY|PTF_LEAF)==13 ); + pPage->intKey = 1; + if( pPage->leaf ){ + pPage->intKeyLeaf = 1; + pPage->xParseCell = btreeParseCellPtr; + }else{ + pPage->intKeyLeaf = 0; + pPage->xCellSize = cellSizePtrNoPayload; + pPage->xParseCell = btreeParseCellPtrNoPayload; + } + pPage->maxLocal = pBt->maxLeaf; + pPage->minLocal = pBt->minLeaf; + }else if( flagByte==PTF_ZERODATA ){ + /* EVIDENCE-OF: R-43316-37308 A value of 2 (0x02) means the page is an + ** interior index b-tree page. */ + assert( (PTF_ZERODATA)==2 ); + /* EVIDENCE-OF: R-59615-42828 A value of 10 (0x0a) means the page is a + ** leaf index b-tree page. */ + assert( (PTF_ZERODATA|PTF_LEAF)==10 ); + pPage->intKey = 0; + pPage->intKeyLeaf = 0; + pPage->xParseCell = btreeParseCellPtrIndex; + pPage->maxLocal = pBt->maxLocal; + pPage->minLocal = pBt->minLocal; + }else{ + /* EVIDENCE-OF: R-47608-56469 Any other value for the b-tree page type is + ** an error. */ + return SQLITE_CORRUPT_PAGE(pPage); + } + pPage->max1bytePayload = pBt->max1bytePayload; + return SQLITE_OK; +} + +/* +** Compute the amount of freespace on the page. In other words, fill +** in the pPage->nFree field. +*/ +static int btreeComputeFreeSpace(MemPage *pPage){ + int pc; /* Address of a freeblock within pPage->aData[] */ + u8 hdr; /* Offset to beginning of page header */ + u8 *data; /* Equal to pPage->aData */ + int usableSize; /* Amount of usable space on each page */ + int nFree; /* Number of unused bytes on the page */ + int top; /* First byte of the cell content area */ + int iCellFirst; /* First allowable cell or freeblock offset */ + int iCellLast; /* Last possible cell or freeblock offset */ + + assert( pPage->pBt!=0 ); + assert( pPage->pBt->db!=0 ); + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + assert( pPage->pgno==sqlite3PagerPagenumber(pPage->pDbPage) ); + assert( pPage == sqlite3PagerGetExtra(pPage->pDbPage) ); + assert( pPage->aData == sqlite3PagerGetData(pPage->pDbPage) ); + assert( pPage->isInit==1 ); + assert( pPage->nFree<0 ); + + usableSize = pPage->pBt->usableSize; + hdr = pPage->hdrOffset; + data = pPage->aData; + /* EVIDENCE-OF: R-58015-48175 The two-byte integer at offset 5 designates + ** the start of the cell content area. A zero value for this integer is + ** interpreted as 65536. */ + top = get2byteNotZero(&data[hdr+5]); + iCellFirst = hdr + 8 + pPage->childPtrSize + 2*pPage->nCell; + iCellLast = usableSize - 4; + + /* Compute the total free space on the page + ** EVIDENCE-OF: R-23588-34450 The two-byte integer at offset 1 gives the + ** start of the first freeblock on the page, or is zero if there are no + ** freeblocks. */ + pc = get2byte(&data[hdr+1]); + nFree = data[hdr+7] + top; /* Init nFree to non-freeblock free space */ + if( pc>0 ){ + u32 next, size; + if( pciCellLast ){ + /* Freeblock off the end of the page */ + return SQLITE_CORRUPT_PAGE(pPage); + } + next = get2byte(&data[pc]); + size = get2byte(&data[pc+2]); + nFree = nFree + size; + if( next<=pc+size+3 ) break; + pc = next; + } + if( next>0 ){ + /* Freeblock not in ascending order */ + return SQLITE_CORRUPT_PAGE(pPage); + } + if( pc+size>(unsigned int)usableSize ){ + /* Last freeblock extends past page end */ + return SQLITE_CORRUPT_PAGE(pPage); + } + } + + /* At this point, nFree contains the sum of the offset to the start + ** of the cell-content area plus the number of free bytes within + ** the cell-content area. If this is greater than the usable-size + ** of the page, then the page must be corrupted. This check also + ** serves to verify that the offset to the start of the cell-content + ** area, according to the page header, lies within the page. + */ + if( nFree>usableSize || nFreenFree = (u16)(nFree - iCellFirst); + return SQLITE_OK; +} + +/* +** Do additional sanity check after btreeInitPage() if +** PRAGMA cell_size_check=ON +*/ +static SQLITE_NOINLINE int btreeCellSizeCheck(MemPage *pPage){ + int iCellFirst; /* First allowable cell or freeblock offset */ + int iCellLast; /* Last possible cell or freeblock offset */ + int i; /* Index into the cell pointer array */ + int sz; /* Size of a cell */ + int pc; /* Address of a freeblock within pPage->aData[] */ + u8 *data; /* Equal to pPage->aData */ + int usableSize; /* Maximum usable space on the page */ + int cellOffset; /* Start of cell content area */ + + iCellFirst = pPage->cellOffset + 2*pPage->nCell; + usableSize = pPage->pBt->usableSize; + iCellLast = usableSize - 4; + data = pPage->aData; + cellOffset = pPage->cellOffset; + if( !pPage->leaf ) iCellLast--; + for(i=0; inCell; i++){ + pc = get2byteAligned(&data[cellOffset+i*2]); + testcase( pc==iCellFirst ); + testcase( pc==iCellLast ); + if( pciCellLast ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + sz = pPage->xCellSize(pPage, &data[pc]); + testcase( pc+sz==usableSize ); + if( pc+sz>usableSize ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + } + return SQLITE_OK; +} + +/* +** Initialize the auxiliary information for a disk block. +** +** Return SQLITE_OK on success. If we see that the page does +** not contain a well-formed database page, then return +** SQLITE_CORRUPT. Note that a return of SQLITE_OK does not +** guarantee that the page is well-formed. It only shows that +** we failed to detect any corruption. +*/ +static int btreeInitPage(MemPage *pPage){ + u8 *data; /* Equal to pPage->aData */ + BtShared *pBt; /* The main btree structure */ + + assert( pPage->pBt!=0 ); + assert( pPage->pBt->db!=0 ); + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + assert( pPage->pgno==sqlite3PagerPagenumber(pPage->pDbPage) ); + assert( pPage == sqlite3PagerGetExtra(pPage->pDbPage) ); + assert( pPage->aData == sqlite3PagerGetData(pPage->pDbPage) ); + assert( pPage->isInit==0 ); + + pBt = pPage->pBt; + data = pPage->aData + pPage->hdrOffset; + /* EVIDENCE-OF: R-28594-02890 The one-byte flag at offset 0 indicating + ** the b-tree page type. */ + if( decodeFlags(pPage, data[0]) ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + assert( pBt->pageSize>=512 && pBt->pageSize<=65536 ); + pPage->maskPage = (u16)(pBt->pageSize - 1); + pPage->nOverflow = 0; + pPage->cellOffset = pPage->hdrOffset + 8 + pPage->childPtrSize; + pPage->aCellIdx = data + pPage->childPtrSize + 8; + pPage->aDataEnd = pPage->aData + pBt->usableSize; + pPage->aDataOfst = pPage->aData + pPage->childPtrSize; + /* EVIDENCE-OF: R-37002-32774 The two-byte integer at offset 3 gives the + ** number of cells on the page. */ + pPage->nCell = get2byte(&data[3]); + if( pPage->nCell>MX_CELL(pBt) ){ + /* To many cells for a single page. The page must be corrupt */ + return SQLITE_CORRUPT_PAGE(pPage); + } + testcase( pPage->nCell==MX_CELL(pBt) ); + /* EVIDENCE-OF: R-24089-57979 If a page contains no cells (which is only + ** possible for a root page of a table that contains no rows) then the + ** offset to the cell content area will equal the page size minus the + ** bytes of reserved space. */ + assert( pPage->nCell>0 + || get2byteNotZero(&data[5])==(int)pBt->usableSize + || CORRUPT_DB ); + pPage->nFree = -1; /* Indicate that this value is yet uncomputed */ + pPage->isInit = 1; + if( pBt->db->flags & SQLITE_CellSizeCk ){ + return btreeCellSizeCheck(pPage); + } + return SQLITE_OK; +} + +/* +** Set up a raw page so that it looks like a database page holding +** no entries. +*/ +static void zeroPage(MemPage *pPage, int flags){ + unsigned char *data = pPage->aData; + BtShared *pBt = pPage->pBt; + u8 hdr = pPage->hdrOffset; + u16 first; + + assert( sqlite3PagerPagenumber(pPage->pDbPage)==pPage->pgno ); + assert( sqlite3PagerGetExtra(pPage->pDbPage) == (void*)pPage ); + assert( sqlite3PagerGetData(pPage->pDbPage) == data ); + assert( sqlite3PagerIswriteable(pPage->pDbPage) ); + assert( sqlite3_mutex_held(pBt->mutex) ); + if( pBt->btsFlags & BTS_FAST_SECURE ){ + memset(&data[hdr], 0, pBt->usableSize - hdr); + } + data[hdr] = (char)flags; + first = hdr + ((flags&PTF_LEAF)==0 ? 12 : 8); + memset(&data[hdr+1], 0, 4); + data[hdr+7] = 0; + put2byte(&data[hdr+5], pBt->usableSize); + pPage->nFree = (u16)(pBt->usableSize - first); + decodeFlags(pPage, flags); + pPage->cellOffset = first; + pPage->aDataEnd = &data[pBt->usableSize]; + pPage->aCellIdx = &data[first]; + pPage->aDataOfst = &data[pPage->childPtrSize]; + pPage->nOverflow = 0; + assert( pBt->pageSize>=512 && pBt->pageSize<=65536 ); + pPage->maskPage = (u16)(pBt->pageSize - 1); + pPage->nCell = 0; + pPage->isInit = 1; +} + + +/* +** Convert a DbPage obtained from the pager into a MemPage used by +** the btree layer. +*/ +static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){ + MemPage *pPage = (MemPage*)sqlite3PagerGetExtra(pDbPage); + if( pgno!=pPage->pgno ){ + pPage->aData = sqlite3PagerGetData(pDbPage); + pPage->pDbPage = pDbPage; + pPage->pBt = pBt; + pPage->pgno = pgno; + pPage->hdrOffset = pgno==1 ? 100 : 0; + } + assert( pPage->aData==sqlite3PagerGetData(pDbPage) ); + return pPage; +} + +/* +** Get a page from the pager. Initialize the MemPage.pBt and +** MemPage.aData elements if needed. See also: btreeGetUnusedPage(). +** +** If the PAGER_GET_NOCONTENT flag is set, it means that we do not care +** about the content of the page at this time. So do not go to the disk +** to fetch the content. Just fill in the content with zeros for now. +** If in the future we call sqlite3PagerWrite() on this page, that +** means we have started to be concerned about content and the disk +** read should occur at that point. +*/ +static int btreeGetPage( + BtShared *pBt, /* The btree */ + Pgno pgno, /* Number of the page to fetch */ + MemPage **ppPage, /* Return the page in this parameter */ + int flags /* PAGER_GET_NOCONTENT or PAGER_GET_READONLY */ +){ + int rc; + DbPage *pDbPage; + + assert( flags==0 || flags==PAGER_GET_NOCONTENT || flags==PAGER_GET_READONLY ); + assert( sqlite3_mutex_held(pBt->mutex) ); + rc = sqlite3PagerGet(pBt->pPager, pgno, (DbPage**)&pDbPage, flags); + if( rc ) return rc; + *ppPage = btreePageFromDbPage(pDbPage, pgno, pBt); + return SQLITE_OK; +} + +/* +** Retrieve a page from the pager cache. If the requested page is not +** already in the pager cache return NULL. Initialize the MemPage.pBt and +** MemPage.aData elements if needed. +*/ +static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){ + DbPage *pDbPage; + assert( sqlite3_mutex_held(pBt->mutex) ); + pDbPage = sqlite3PagerLookup(pBt->pPager, pgno); + if( pDbPage ){ + return btreePageFromDbPage(pDbPage, pgno, pBt); + } + return 0; +} + +/* +** Return the size of the database file in pages. If there is any kind of +** error, return ((unsigned int)-1). +*/ +static Pgno btreePagecount(BtShared *pBt){ + return pBt->nPage; +} +SQLITE_PRIVATE u32 sqlite3BtreeLastPage(Btree *p){ + assert( sqlite3BtreeHoldsMutex(p) ); + assert( ((p->pBt->nPage)&0x80000000)==0 ); + return btreePagecount(p->pBt); +} + +/* +** Get a page from the pager and initialize it. +** +** If pCur!=0 then the page is being fetched as part of a moveToChild() +** call. Do additional sanity checking on the page in this case. +** And if the fetch fails, this routine must decrement pCur->iPage. +** +** The page is fetched as read-write unless pCur is not NULL and is +** a read-only cursor. +** +** If an error occurs, then *ppPage is undefined. It +** may remain unchanged, or it may be set to an invalid value. +*/ +static int getAndInitPage( + BtShared *pBt, /* The database file */ + Pgno pgno, /* Number of the page to get */ + MemPage **ppPage, /* Write the page pointer here */ + BtCursor *pCur, /* Cursor to receive the page, or NULL */ + int bReadOnly /* True for a read-only page */ +){ + int rc; + DbPage *pDbPage; + assert( sqlite3_mutex_held(pBt->mutex) ); + assert( pCur==0 || ppPage==&pCur->pPage ); + assert( pCur==0 || bReadOnly==pCur->curPagerFlags ); + assert( pCur==0 || pCur->iPage>0 ); + + if( pgno>btreePagecount(pBt) ){ + rc = SQLITE_CORRUPT_BKPT; + goto getAndInitPage_error1; + } + rc = sqlite3PagerGet(pBt->pPager, pgno, (DbPage**)&pDbPage, bReadOnly); + if( rc ){ + goto getAndInitPage_error1; + } + *ppPage = (MemPage*)sqlite3PagerGetExtra(pDbPage); + if( (*ppPage)->isInit==0 ){ + btreePageFromDbPage(pDbPage, pgno, pBt); + rc = btreeInitPage(*ppPage); + if( rc!=SQLITE_OK ){ + goto getAndInitPage_error2; + } + } + assert( (*ppPage)->pgno==pgno ); + assert( (*ppPage)->aData==sqlite3PagerGetData(pDbPage) ); + + /* If obtaining a child page for a cursor, we must verify that the page is + ** compatible with the root page. */ + if( pCur && ((*ppPage)->nCell<1 || (*ppPage)->intKey!=pCur->curIntKey) ){ + rc = SQLITE_CORRUPT_PGNO(pgno); + goto getAndInitPage_error2; + } + return SQLITE_OK; + +getAndInitPage_error2: + releasePage(*ppPage); +getAndInitPage_error1: + if( pCur ){ + pCur->iPage--; + pCur->pPage = pCur->apPage[pCur->iPage]; + } + testcase( pgno==0 ); + assert( pgno!=0 || rc==SQLITE_CORRUPT ); + return rc; +} + +/* +** Release a MemPage. This should be called once for each prior +** call to btreeGetPage. +** +** Page1 is a special case and must be released using releasePageOne(). +*/ +static void releasePageNotNull(MemPage *pPage){ + assert( pPage->aData ); + assert( pPage->pBt ); + assert( pPage->pDbPage!=0 ); + assert( sqlite3PagerGetExtra(pPage->pDbPage) == (void*)pPage ); + assert( sqlite3PagerGetData(pPage->pDbPage)==pPage->aData ); + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + sqlite3PagerUnrefNotNull(pPage->pDbPage); +} +static void releasePage(MemPage *pPage){ + if( pPage ) releasePageNotNull(pPage); +} +static void releasePageOne(MemPage *pPage){ + assert( pPage!=0 ); + assert( pPage->aData ); + assert( pPage->pBt ); + assert( pPage->pDbPage!=0 ); + assert( sqlite3PagerGetExtra(pPage->pDbPage) == (void*)pPage ); + assert( sqlite3PagerGetData(pPage->pDbPage)==pPage->aData ); + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + sqlite3PagerUnrefPageOne(pPage->pDbPage); +} + +/* +** Get an unused page. +** +** This works just like btreeGetPage() with the addition: +** +** * If the page is already in use for some other purpose, immediately +** release it and return an SQLITE_CURRUPT error. +** * Make sure the isInit flag is clear +*/ +static int btreeGetUnusedPage( + BtShared *pBt, /* The btree */ + Pgno pgno, /* Number of the page to fetch */ + MemPage **ppPage, /* Return the page in this parameter */ + int flags /* PAGER_GET_NOCONTENT or PAGER_GET_READONLY */ +){ + int rc = btreeGetPage(pBt, pgno, ppPage, flags); + if( rc==SQLITE_OK ){ + if( sqlite3PagerPageRefcount((*ppPage)->pDbPage)>1 ){ + releasePage(*ppPage); + *ppPage = 0; + return SQLITE_CORRUPT_BKPT; + } + (*ppPage)->isInit = 0; + }else{ + *ppPage = 0; + } + return rc; +} + + +/* +** During a rollback, when the pager reloads information into the cache +** so that the cache is restored to its original state at the start of +** the transaction, for each page restored this routine is called. +** +** This routine needs to reset the extra data section at the end of the +** page to agree with the restored data. +*/ +static void pageReinit(DbPage *pData){ + MemPage *pPage; + pPage = (MemPage *)sqlite3PagerGetExtra(pData); + assert( sqlite3PagerPageRefcount(pData)>0 ); + if( pPage->isInit ){ + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + pPage->isInit = 0; + if( sqlite3PagerPageRefcount(pData)>1 ){ + /* pPage might not be a btree page; it might be an overflow page + ** or ptrmap page or a free page. In those cases, the following + ** call to btreeInitPage() will likely return SQLITE_CORRUPT. + ** But no harm is done by this. And it is very important that + ** btreeInitPage() be called on every btree page so we make + ** the call for every page that comes in for re-initing. */ + btreeInitPage(pPage); + } + } +} + +/* +** Invoke the busy handler for a btree. +*/ +static int btreeInvokeBusyHandler(void *pArg){ + BtShared *pBt = (BtShared*)pArg; + assert( pBt->db ); + assert( sqlite3_mutex_held(pBt->db->mutex) ); + return sqlite3InvokeBusyHandler(&pBt->db->busyHandler, + sqlite3PagerFile(pBt->pPager)); +} + +/* +** Open a database file. +** +** zFilename is the name of the database file. If zFilename is NULL +** then an ephemeral database is created. The ephemeral database might +** be exclusively in memory, or it might use a disk-based memory cache. +** Either way, the ephemeral database will be automatically deleted +** when sqlite3BtreeClose() is called. +** +** If zFilename is ":memory:" then an in-memory database is created +** that is automatically destroyed when it is closed. +** +** The "flags" parameter is a bitmask that might contain bits like +** BTREE_OMIT_JOURNAL and/or BTREE_MEMORY. +** +** If the database is already opened in the same database connection +** and we are in shared cache mode, then the open will fail with an +** SQLITE_CONSTRAINT error. We cannot allow two or more BtShared +** objects in the same database connection since doing so will lead +** to problems with locking. +*/ +SQLITE_PRIVATE int sqlite3BtreeOpen( + sqlite3_vfs *pVfs, /* VFS to use for this b-tree */ + const char *zFilename, /* Name of the file containing the BTree database */ + sqlite3 *db, /* Associated database handle */ + Btree **ppBtree, /* Pointer to new Btree object written here */ + int flags, /* Options */ + int vfsFlags /* Flags passed through to sqlite3_vfs.xOpen() */ +){ + BtShared *pBt = 0; /* Shared part of btree structure */ + Btree *p; /* Handle to return */ + sqlite3_mutex *mutexOpen = 0; /* Prevents a race condition. Ticket #3537 */ + int rc = SQLITE_OK; /* Result code from this function */ + u8 nReserve; /* Byte of unused space on each page */ + unsigned char zDbHeader[100]; /* Database header content */ + + /* True if opening an ephemeral, temporary database */ + const int isTempDb = zFilename==0 || zFilename[0]==0; + + /* Set the variable isMemdb to true for an in-memory database, or + ** false for a file-based database. + */ +#ifdef SQLITE_OMIT_MEMORYDB + const int isMemdb = 0; +#else + const int isMemdb = (zFilename && strcmp(zFilename, ":memory:")==0) + || (isTempDb && sqlite3TempInMemory(db)) + || (vfsFlags & SQLITE_OPEN_MEMORY)!=0; +#endif + + assert( db!=0 ); + assert( pVfs!=0 ); + assert( sqlite3_mutex_held(db->mutex) ); + assert( (flags&0xff)==flags ); /* flags fit in 8 bits */ + + /* Only a BTREE_SINGLE database can be BTREE_UNORDERED */ + assert( (flags & BTREE_UNORDERED)==0 || (flags & BTREE_SINGLE)!=0 ); + + /* A BTREE_SINGLE database is always a temporary and/or ephemeral */ + assert( (flags & BTREE_SINGLE)==0 || isTempDb ); + + if( isMemdb ){ + flags |= BTREE_MEMORY; + } + if( (vfsFlags & SQLITE_OPEN_MAIN_DB)!=0 && (isMemdb || isTempDb) ){ + vfsFlags = (vfsFlags & ~SQLITE_OPEN_MAIN_DB) | SQLITE_OPEN_TEMP_DB; + } + p = sqlite3MallocZero(sizeof(Btree)); + if( !p ){ + return SQLITE_NOMEM_BKPT; + } + p->inTrans = TRANS_NONE; + p->db = db; +#ifndef SQLITE_OMIT_SHARED_CACHE + p->lock.pBtree = p; + p->lock.iTable = 1; +#endif + +#if !defined(SQLITE_OMIT_SHARED_CACHE) && !defined(SQLITE_OMIT_DISKIO) + /* + ** If this Btree is a candidate for shared cache, try to find an + ** existing BtShared object that we can share with + */ + if( isTempDb==0 && (isMemdb==0 || (vfsFlags&SQLITE_OPEN_URI)!=0) ){ + if( vfsFlags & SQLITE_OPEN_SHAREDCACHE ){ + int nFilename = sqlite3Strlen30(zFilename)+1; + int nFullPathname = pVfs->mxPathname+1; + char *zFullPathname = sqlite3Malloc(MAX(nFullPathname,nFilename)); + MUTEX_LOGIC( sqlite3_mutex *mutexShared; ) + + p->sharable = 1; + if( !zFullPathname ){ + sqlite3_free(p); + return SQLITE_NOMEM_BKPT; + } + if( isMemdb ){ + memcpy(zFullPathname, zFilename, nFilename); + }else{ + rc = sqlite3OsFullPathname(pVfs, zFilename, + nFullPathname, zFullPathname); + if( rc ){ + sqlite3_free(zFullPathname); + sqlite3_free(p); + return rc; + } + } +#if SQLITE_THREADSAFE + mutexOpen = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_OPEN); + sqlite3_mutex_enter(mutexOpen); + mutexShared = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER); + sqlite3_mutex_enter(mutexShared); +#endif + for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){ + assert( pBt->nRef>0 ); + if( 0==strcmp(zFullPathname, sqlite3PagerFilename(pBt->pPager, 0)) + && sqlite3PagerVfs(pBt->pPager)==pVfs ){ + int iDb; + for(iDb=db->nDb-1; iDb>=0; iDb--){ + Btree *pExisting = db->aDb[iDb].pBt; + if( pExisting && pExisting->pBt==pBt ){ + sqlite3_mutex_leave(mutexShared); + sqlite3_mutex_leave(mutexOpen); + sqlite3_free(zFullPathname); + sqlite3_free(p); + return SQLITE_CONSTRAINT; + } + } + p->pBt = pBt; + pBt->nRef++; + break; + } + } + sqlite3_mutex_leave(mutexShared); + sqlite3_free(zFullPathname); + } +#ifdef SQLITE_DEBUG + else{ + /* In debug mode, we mark all persistent databases as sharable + ** even when they are not. This exercises the locking code and + ** gives more opportunity for asserts(sqlite3_mutex_held()) + ** statements to find locking problems. + */ + p->sharable = 1; + } +#endif + } +#endif + if( pBt==0 ){ + /* + ** The following asserts make sure that structures used by the btree are + ** the right size. This is to guard against size changes that result + ** when compiling on a different architecture. + */ + assert( sizeof(i64)==8 ); + assert( sizeof(u64)==8 ); + assert( sizeof(u32)==4 ); + assert( sizeof(u16)==2 ); + assert( sizeof(Pgno)==4 ); + + pBt = sqlite3MallocZero( sizeof(*pBt) ); + if( pBt==0 ){ + rc = SQLITE_NOMEM_BKPT; + goto btree_open_out; + } + rc = sqlite3PagerOpen(pVfs, &pBt->pPager, zFilename, + sizeof(MemPage), flags, vfsFlags, pageReinit); + if( rc==SQLITE_OK ){ + sqlite3PagerSetMmapLimit(pBt->pPager, db->szMmap); + rc = sqlite3PagerReadFileheader(pBt->pPager,sizeof(zDbHeader),zDbHeader); + } + if( rc!=SQLITE_OK ){ + goto btree_open_out; + } + pBt->openFlags = (u8)flags; + pBt->db = db; + sqlite3PagerSetBusyHandler(pBt->pPager, btreeInvokeBusyHandler, pBt); + p->pBt = pBt; + + pBt->pCursor = 0; + pBt->pPage1 = 0; + if( sqlite3PagerIsreadonly(pBt->pPager) ) pBt->btsFlags |= BTS_READ_ONLY; +#if defined(SQLITE_SECURE_DELETE) + pBt->btsFlags |= BTS_SECURE_DELETE; +#elif defined(SQLITE_FAST_SECURE_DELETE) + pBt->btsFlags |= BTS_OVERWRITE; +#endif + /* EVIDENCE-OF: R-51873-39618 The page size for a database file is + ** determined by the 2-byte integer located at an offset of 16 bytes from + ** the beginning of the database file. */ + pBt->pageSize = (zDbHeader[16]<<8) | (zDbHeader[17]<<16); + if( pBt->pageSize<512 || pBt->pageSize>SQLITE_MAX_PAGE_SIZE + || ((pBt->pageSize-1)&pBt->pageSize)!=0 ){ + pBt->pageSize = 0; +#ifndef SQLITE_OMIT_AUTOVACUUM + /* If the magic name ":memory:" will create an in-memory database, then + ** leave the autoVacuum mode at 0 (do not auto-vacuum), even if + ** SQLITE_DEFAULT_AUTOVACUUM is true. On the other hand, if + ** SQLITE_OMIT_MEMORYDB has been defined, then ":memory:" is just a + ** regular file-name. In this case the auto-vacuum applies as per normal. + */ + if( zFilename && !isMemdb ){ + pBt->autoVacuum = (SQLITE_DEFAULT_AUTOVACUUM ? 1 : 0); + pBt->incrVacuum = (SQLITE_DEFAULT_AUTOVACUUM==2 ? 1 : 0); + } +#endif + nReserve = 0; + }else{ + /* EVIDENCE-OF: R-37497-42412 The size of the reserved region is + ** determined by the one-byte unsigned integer found at an offset of 20 + ** into the database file header. */ + nReserve = zDbHeader[20]; + pBt->btsFlags |= BTS_PAGESIZE_FIXED; +#ifndef SQLITE_OMIT_AUTOVACUUM + pBt->autoVacuum = (get4byte(&zDbHeader[36 + 4*4])?1:0); + pBt->incrVacuum = (get4byte(&zDbHeader[36 + 7*4])?1:0); +#endif + } + rc = sqlite3PagerSetPagesize(pBt->pPager, &pBt->pageSize, nReserve); + if( rc ) goto btree_open_out; + pBt->usableSize = pBt->pageSize - nReserve; + assert( (pBt->pageSize & 7)==0 ); /* 8-byte alignment of pageSize */ + +#if !defined(SQLITE_OMIT_SHARED_CACHE) && !defined(SQLITE_OMIT_DISKIO) + /* Add the new BtShared object to the linked list sharable BtShareds. + */ + pBt->nRef = 1; + if( p->sharable ){ + MUTEX_LOGIC( sqlite3_mutex *mutexShared; ) + MUTEX_LOGIC( mutexShared = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER);) + if( SQLITE_THREADSAFE && sqlite3GlobalConfig.bCoreMutex ){ + pBt->mutex = sqlite3MutexAlloc(SQLITE_MUTEX_FAST); + if( pBt->mutex==0 ){ + rc = SQLITE_NOMEM_BKPT; + goto btree_open_out; + } + } + sqlite3_mutex_enter(mutexShared); + pBt->pNext = GLOBAL(BtShared*,sqlite3SharedCacheList); + GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt; + sqlite3_mutex_leave(mutexShared); + } +#endif + } + +#if !defined(SQLITE_OMIT_SHARED_CACHE) && !defined(SQLITE_OMIT_DISKIO) + /* If the new Btree uses a sharable pBtShared, then link the new + ** Btree into the list of all sharable Btrees for the same connection. + ** The list is kept in ascending order by pBt address. + */ + if( p->sharable ){ + int i; + Btree *pSib; + for(i=0; inDb; i++){ + if( (pSib = db->aDb[i].pBt)!=0 && pSib->sharable ){ + while( pSib->pPrev ){ pSib = pSib->pPrev; } + if( (uptr)p->pBt<(uptr)pSib->pBt ){ + p->pNext = pSib; + p->pPrev = 0; + pSib->pPrev = p; + }else{ + while( pSib->pNext && (uptr)pSib->pNext->pBt<(uptr)p->pBt ){ + pSib = pSib->pNext; + } + p->pNext = pSib->pNext; + p->pPrev = pSib; + if( p->pNext ){ + p->pNext->pPrev = p; + } + pSib->pNext = p; + } + break; + } + } + } +#endif + *ppBtree = p; + +btree_open_out: + if( rc!=SQLITE_OK ){ + if( pBt && pBt->pPager ){ + sqlite3PagerClose(pBt->pPager, 0); + } + sqlite3_free(pBt); + sqlite3_free(p); + *ppBtree = 0; + }else{ + sqlite3_file *pFile; + + /* If the B-Tree was successfully opened, set the pager-cache size to the + ** default value. Except, when opening on an existing shared pager-cache, + ** do not change the pager-cache size. + */ + if( sqlite3BtreeSchema(p, 0, 0)==0 ){ + sqlite3PagerSetCachesize(p->pBt->pPager, SQLITE_DEFAULT_CACHE_SIZE); + } + + pFile = sqlite3PagerFile(pBt->pPager); + if( pFile->pMethods ){ + sqlite3OsFileControlHint(pFile, SQLITE_FCNTL_PDB, (void*)&pBt->db); + } + } + if( mutexOpen ){ + assert( sqlite3_mutex_held(mutexOpen) ); + sqlite3_mutex_leave(mutexOpen); + } + assert( rc!=SQLITE_OK || sqlite3BtreeConnectionCount(*ppBtree)>0 ); + return rc; +} + +/* +** Decrement the BtShared.nRef counter. When it reaches zero, +** remove the BtShared structure from the sharing list. Return +** true if the BtShared.nRef counter reaches zero and return +** false if it is still positive. +*/ +static int removeFromSharingList(BtShared *pBt){ +#ifndef SQLITE_OMIT_SHARED_CACHE + MUTEX_LOGIC( sqlite3_mutex *pMaster; ) + BtShared *pList; + int removed = 0; + + assert( sqlite3_mutex_notheld(pBt->mutex) ); + MUTEX_LOGIC( pMaster = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER); ) + sqlite3_mutex_enter(pMaster); + pBt->nRef--; + if( pBt->nRef<=0 ){ + if( GLOBAL(BtShared*,sqlite3SharedCacheList)==pBt ){ + GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt->pNext; + }else{ + pList = GLOBAL(BtShared*,sqlite3SharedCacheList); + while( ALWAYS(pList) && pList->pNext!=pBt ){ + pList=pList->pNext; + } + if( ALWAYS(pList) ){ + pList->pNext = pBt->pNext; + } + } + if( SQLITE_THREADSAFE ){ + sqlite3_mutex_free(pBt->mutex); + } + removed = 1; + } + sqlite3_mutex_leave(pMaster); + return removed; +#else + return 1; +#endif +} + +/* +** Make sure pBt->pTmpSpace points to an allocation of +** MX_CELL_SIZE(pBt) bytes with a 4-byte prefix for a left-child +** pointer. +*/ +static void allocateTempSpace(BtShared *pBt){ + if( !pBt->pTmpSpace ){ + pBt->pTmpSpace = sqlite3PageMalloc( pBt->pageSize ); + + /* One of the uses of pBt->pTmpSpace is to format cells before + ** inserting them into a leaf page (function fillInCell()). If + ** a cell is less than 4 bytes in size, it is rounded up to 4 bytes + ** by the various routines that manipulate binary cells. Which + ** can mean that fillInCell() only initializes the first 2 or 3 + ** bytes of pTmpSpace, but that the first 4 bytes are copied from + ** it into a database page. This is not actually a problem, but it + ** does cause a valgrind error when the 1 or 2 bytes of unitialized + ** data is passed to system call write(). So to avoid this error, + ** zero the first 4 bytes of temp space here. + ** + ** Also: Provide four bytes of initialized space before the + ** beginning of pTmpSpace as an area available to prepend the + ** left-child pointer to the beginning of a cell. + */ + if( pBt->pTmpSpace ){ + memset(pBt->pTmpSpace, 0, 8); + pBt->pTmpSpace += 4; + } + } +} + +/* +** Free the pBt->pTmpSpace allocation +*/ +static void freeTempSpace(BtShared *pBt){ + if( pBt->pTmpSpace ){ + pBt->pTmpSpace -= 4; + sqlite3PageFree(pBt->pTmpSpace); + pBt->pTmpSpace = 0; + } +} + +/* +** Close an open database and invalidate all cursors. +*/ +SQLITE_PRIVATE int sqlite3BtreeClose(Btree *p){ + BtShared *pBt = p->pBt; + BtCursor *pCur; + + /* Close all cursors opened via this handle. */ + assert( sqlite3_mutex_held(p->db->mutex) ); + sqlite3BtreeEnter(p); + pCur = pBt->pCursor; + while( pCur ){ + BtCursor *pTmp = pCur; + pCur = pCur->pNext; + if( pTmp->pBtree==p ){ + sqlite3BtreeCloseCursor(pTmp); + } + } + + /* Rollback any active transaction and free the handle structure. + ** The call to sqlite3BtreeRollback() drops any table-locks held by + ** this handle. + */ + sqlite3BtreeRollback(p, SQLITE_OK, 0); + sqlite3BtreeLeave(p); + + /* If there are still other outstanding references to the shared-btree + ** structure, return now. The remainder of this procedure cleans + ** up the shared-btree. + */ + assert( p->wantToLock==0 && p->locked==0 ); + if( !p->sharable || removeFromSharingList(pBt) ){ + /* The pBt is no longer on the sharing list, so we can access + ** it without having to hold the mutex. + ** + ** Clean out and delete the BtShared object. + */ + assert( !pBt->pCursor ); + sqlite3PagerClose(pBt->pPager, p->db); + if( pBt->xFreeSchema && pBt->pSchema ){ + pBt->xFreeSchema(pBt->pSchema); + } + sqlite3DbFree(0, pBt->pSchema); + freeTempSpace(pBt); + sqlite3_free(pBt); + } + +#ifndef SQLITE_OMIT_SHARED_CACHE + assert( p->wantToLock==0 ); + assert( p->locked==0 ); + if( p->pPrev ) p->pPrev->pNext = p->pNext; + if( p->pNext ) p->pNext->pPrev = p->pPrev; +#endif + + sqlite3_free(p); + return SQLITE_OK; +} + +/* +** Change the "soft" limit on the number of pages in the cache. +** Unused and unmodified pages will be recycled when the number of +** pages in the cache exceeds this soft limit. But the size of the +** cache is allowed to grow larger than this limit if it contains +** dirty pages or pages still in active use. +*/ +SQLITE_PRIVATE int sqlite3BtreeSetCacheSize(Btree *p, int mxPage){ + BtShared *pBt = p->pBt; + assert( sqlite3_mutex_held(p->db->mutex) ); + sqlite3BtreeEnter(p); + sqlite3PagerSetCachesize(pBt->pPager, mxPage); + sqlite3BtreeLeave(p); + return SQLITE_OK; +} + +/* +** Change the "spill" limit on the number of pages in the cache. +** If the number of pages exceeds this limit during a write transaction, +** the pager might attempt to "spill" pages to the journal early in +** order to free up memory. +** +** The value returned is the current spill size. If zero is passed +** as an argument, no changes are made to the spill size setting, so +** using mxPage of 0 is a way to query the current spill size. +*/ +SQLITE_PRIVATE int sqlite3BtreeSetSpillSize(Btree *p, int mxPage){ + BtShared *pBt = p->pBt; + int res; + assert( sqlite3_mutex_held(p->db->mutex) ); + sqlite3BtreeEnter(p); + res = sqlite3PagerSetSpillsize(pBt->pPager, mxPage); + sqlite3BtreeLeave(p); + return res; +} + +#if SQLITE_MAX_MMAP_SIZE>0 +/* +** Change the limit on the amount of the database file that may be +** memory mapped. +*/ +SQLITE_PRIVATE int sqlite3BtreeSetMmapLimit(Btree *p, sqlite3_int64 szMmap){ + BtShared *pBt = p->pBt; + assert( sqlite3_mutex_held(p->db->mutex) ); + sqlite3BtreeEnter(p); + sqlite3PagerSetMmapLimit(pBt->pPager, szMmap); + sqlite3BtreeLeave(p); + return SQLITE_OK; +} +#endif /* SQLITE_MAX_MMAP_SIZE>0 */ + +/* +** Change the way data is synced to disk in order to increase or decrease +** how well the database resists damage due to OS crashes and power +** failures. Level 1 is the same as asynchronous (no syncs() occur and +** there is a high probability of damage) Level 2 is the default. There +** is a very low but non-zero probability of damage. Level 3 reduces the +** probability of damage to near zero but with a write performance reduction. +*/ +#ifndef SQLITE_OMIT_PAGER_PRAGMAS +SQLITE_PRIVATE int sqlite3BtreeSetPagerFlags( + Btree *p, /* The btree to set the safety level on */ + unsigned pgFlags /* Various PAGER_* flags */ +){ + BtShared *pBt = p->pBt; + assert( sqlite3_mutex_held(p->db->mutex) ); + sqlite3BtreeEnter(p); + sqlite3PagerSetFlags(pBt->pPager, pgFlags); + sqlite3BtreeLeave(p); + return SQLITE_OK; +} +#endif + +/* +** Change the default pages size and the number of reserved bytes per page. +** Or, if the page size has already been fixed, return SQLITE_READONLY +** without changing anything. +** +** The page size must be a power of 2 between 512 and 65536. If the page +** size supplied does not meet this constraint then the page size is not +** changed. +** +** Page sizes are constrained to be a power of two so that the region +** of the database file used for locking (beginning at PENDING_BYTE, +** the first byte past the 1GB boundary, 0x40000000) needs to occur +** at the beginning of a page. +** +** If parameter nReserve is less than zero, then the number of reserved +** bytes per page is left unchanged. +** +** If the iFix!=0 then the BTS_PAGESIZE_FIXED flag is set so that the page size +** and autovacuum mode can no longer be changed. +*/ +SQLITE_PRIVATE int sqlite3BtreeSetPageSize(Btree *p, int pageSize, int nReserve, int iFix){ + int rc = SQLITE_OK; + BtShared *pBt = p->pBt; + assert( nReserve>=-1 && nReserve<=255 ); + sqlite3BtreeEnter(p); +#if SQLITE_HAS_CODEC + if( nReserve>pBt->optimalReserve ) pBt->optimalReserve = (u8)nReserve; +#endif + if( pBt->btsFlags & BTS_PAGESIZE_FIXED ){ + sqlite3BtreeLeave(p); + return SQLITE_READONLY; + } + if( nReserve<0 ){ + nReserve = pBt->pageSize - pBt->usableSize; + } + assert( nReserve>=0 && nReserve<=255 ); + if( pageSize>=512 && pageSize<=SQLITE_MAX_PAGE_SIZE && + ((pageSize-1)&pageSize)==0 ){ + assert( (pageSize & 7)==0 ); + assert( !pBt->pCursor ); + pBt->pageSize = (u32)pageSize; + freeTempSpace(pBt); + } + rc = sqlite3PagerSetPagesize(pBt->pPager, &pBt->pageSize, nReserve); + pBt->usableSize = pBt->pageSize - (u16)nReserve; + if( iFix ) pBt->btsFlags |= BTS_PAGESIZE_FIXED; + sqlite3BtreeLeave(p); + return rc; +} + +/* +** Return the currently defined page size +*/ +SQLITE_PRIVATE int sqlite3BtreeGetPageSize(Btree *p){ + return p->pBt->pageSize; +} + +/* +** This function is similar to sqlite3BtreeGetReserve(), except that it +** may only be called if it is guaranteed that the b-tree mutex is already +** held. +** +** This is useful in one special case in the backup API code where it is +** known that the shared b-tree mutex is held, but the mutex on the +** database handle that owns *p is not. In this case if sqlite3BtreeEnter() +** were to be called, it might collide with some other operation on the +** database handle that owns *p, causing undefined behavior. +*/ +SQLITE_PRIVATE int sqlite3BtreeGetReserveNoMutex(Btree *p){ + int n; + assert( sqlite3_mutex_held(p->pBt->mutex) ); + n = p->pBt->pageSize - p->pBt->usableSize; + return n; +} + +/* +** Return the number of bytes of space at the end of every page that +** are intentually left unused. This is the "reserved" space that is +** sometimes used by extensions. +** +** If SQLITE_HAS_MUTEX is defined then the number returned is the +** greater of the current reserved space and the maximum requested +** reserve space. +*/ +SQLITE_PRIVATE int sqlite3BtreeGetOptimalReserve(Btree *p){ + int n; + sqlite3BtreeEnter(p); + n = sqlite3BtreeGetReserveNoMutex(p); +#ifdef SQLITE_HAS_CODEC + if( npBt->optimalReserve ) n = p->pBt->optimalReserve; +#endif + sqlite3BtreeLeave(p); + return n; +} + + +/* +** Set the maximum page count for a database if mxPage is positive. +** No changes are made if mxPage is 0 or negative. +** Regardless of the value of mxPage, return the maximum page count. +*/ +SQLITE_PRIVATE int sqlite3BtreeMaxPageCount(Btree *p, int mxPage){ + int n; + sqlite3BtreeEnter(p); + n = sqlite3PagerMaxPageCount(p->pBt->pPager, mxPage); + sqlite3BtreeLeave(p); + return n; +} + +/* +** Change the values for the BTS_SECURE_DELETE and BTS_OVERWRITE flags: +** +** newFlag==0 Both BTS_SECURE_DELETE and BTS_OVERWRITE are cleared +** newFlag==1 BTS_SECURE_DELETE set and BTS_OVERWRITE is cleared +** newFlag==2 BTS_SECURE_DELETE cleared and BTS_OVERWRITE is set +** newFlag==(-1) No changes +** +** This routine acts as a query if newFlag is less than zero +** +** With BTS_OVERWRITE set, deleted content is overwritten by zeros, but +** freelist leaf pages are not written back to the database. Thus in-page +** deleted content is cleared, but freelist deleted content is not. +** +** With BTS_SECURE_DELETE, operation is like BTS_OVERWRITE with the addition +** that freelist leaf pages are written back into the database, increasing +** the amount of disk I/O. +*/ +SQLITE_PRIVATE int sqlite3BtreeSecureDelete(Btree *p, int newFlag){ + int b; + if( p==0 ) return 0; + sqlite3BtreeEnter(p); + assert( BTS_OVERWRITE==BTS_SECURE_DELETE*2 ); + assert( BTS_FAST_SECURE==(BTS_OVERWRITE|BTS_SECURE_DELETE) ); + if( newFlag>=0 ){ + p->pBt->btsFlags &= ~BTS_FAST_SECURE; + p->pBt->btsFlags |= BTS_SECURE_DELETE*newFlag; + } + b = (p->pBt->btsFlags & BTS_FAST_SECURE)/BTS_SECURE_DELETE; + sqlite3BtreeLeave(p); + return b; +} + +/* +** Change the 'auto-vacuum' property of the database. If the 'autoVacuum' +** parameter is non-zero, then auto-vacuum mode is enabled. If zero, it +** is disabled. The default value for the auto-vacuum property is +** determined by the SQLITE_DEFAULT_AUTOVACUUM macro. +*/ +SQLITE_PRIVATE int sqlite3BtreeSetAutoVacuum(Btree *p, int autoVacuum){ +#ifdef SQLITE_OMIT_AUTOVACUUM + return SQLITE_READONLY; +#else + BtShared *pBt = p->pBt; + int rc = SQLITE_OK; + u8 av = (u8)autoVacuum; + + sqlite3BtreeEnter(p); + if( (pBt->btsFlags & BTS_PAGESIZE_FIXED)!=0 && (av ?1:0)!=pBt->autoVacuum ){ + rc = SQLITE_READONLY; + }else{ + pBt->autoVacuum = av ?1:0; + pBt->incrVacuum = av==2 ?1:0; + } + sqlite3BtreeLeave(p); + return rc; +#endif +} + +/* +** Return the value of the 'auto-vacuum' property. If auto-vacuum is +** enabled 1 is returned. Otherwise 0. +*/ +SQLITE_PRIVATE int sqlite3BtreeGetAutoVacuum(Btree *p){ +#ifdef SQLITE_OMIT_AUTOVACUUM + return BTREE_AUTOVACUUM_NONE; +#else + int rc; + sqlite3BtreeEnter(p); + rc = ( + (!p->pBt->autoVacuum)?BTREE_AUTOVACUUM_NONE: + (!p->pBt->incrVacuum)?BTREE_AUTOVACUUM_FULL: + BTREE_AUTOVACUUM_INCR + ); + sqlite3BtreeLeave(p); + return rc; +#endif +} + +/* +** If the user has not set the safety-level for this database connection +** using "PRAGMA synchronous", and if the safety-level is not already +** set to the value passed to this function as the second parameter, +** set it so. +*/ +#if SQLITE_DEFAULT_SYNCHRONOUS!=SQLITE_DEFAULT_WAL_SYNCHRONOUS \ + && !defined(SQLITE_OMIT_WAL) +static void setDefaultSyncFlag(BtShared *pBt, u8 safety_level){ + sqlite3 *db; + Db *pDb; + if( (db=pBt->db)!=0 && (pDb=db->aDb)!=0 ){ + while( pDb->pBt==0 || pDb->pBt->pBt!=pBt ){ pDb++; } + if( pDb->bSyncSet==0 + && pDb->safety_level!=safety_level + && pDb!=&db->aDb[1] + ){ + pDb->safety_level = safety_level; + sqlite3PagerSetFlags(pBt->pPager, + pDb->safety_level | (db->flags & PAGER_FLAGS_MASK)); + } + } +} +#else +# define setDefaultSyncFlag(pBt,safety_level) +#endif + +/* Forward declaration */ +static int newDatabase(BtShared*); + + +/* +** Get a reference to pPage1 of the database file. This will +** also acquire a readlock on that file. +** +** SQLITE_OK is returned on success. If the file is not a +** well-formed database file, then SQLITE_CORRUPT is returned. +** SQLITE_BUSY is returned if the database is locked. SQLITE_NOMEM +** is returned if we run out of memory. +*/ +static int lockBtree(BtShared *pBt){ + int rc; /* Result code from subfunctions */ + MemPage *pPage1; /* Page 1 of the database file */ + u32 nPage; /* Number of pages in the database */ + u32 nPageFile = 0; /* Number of pages in the database file */ + u32 nPageHeader; /* Number of pages in the database according to hdr */ + + assert( sqlite3_mutex_held(pBt->mutex) ); + assert( pBt->pPage1==0 ); + rc = sqlite3PagerSharedLock(pBt->pPager); + if( rc!=SQLITE_OK ) return rc; + rc = btreeGetPage(pBt, 1, &pPage1, 0); + if( rc!=SQLITE_OK ) return rc; + + /* Do some checking to help insure the file we opened really is + ** a valid database file. + */ + nPage = nPageHeader = get4byte(28+(u8*)pPage1->aData); + sqlite3PagerPagecount(pBt->pPager, (int*)&nPageFile); + if( nPage==0 || memcmp(24+(u8*)pPage1->aData, 92+(u8*)pPage1->aData,4)!=0 ){ + nPage = nPageFile; + } + if( (pBt->db->flags & SQLITE_ResetDatabase)!=0 ){ + nPage = 0; + } + if( nPage>0 ){ + u32 pageSize; + u32 usableSize; + u8 *page1 = pPage1->aData; + rc = SQLITE_NOTADB; + /* EVIDENCE-OF: R-43737-39999 Every valid SQLite database file begins + ** with the following 16 bytes (in hex): 53 51 4c 69 74 65 20 66 6f 72 6d + ** 61 74 20 33 00. */ + if( memcmp(page1, zMagicHeader, 16)!=0 ){ + goto page1_init_failed; + } + +#ifdef SQLITE_OMIT_WAL + if( page1[18]>1 ){ + pBt->btsFlags |= BTS_READ_ONLY; + } + if( page1[19]>1 ){ + goto page1_init_failed; + } +#else + if( page1[18]>2 ){ + pBt->btsFlags |= BTS_READ_ONLY; + } + if( page1[19]>2 ){ + goto page1_init_failed; + } + + /* If the write version is set to 2, this database should be accessed + ** in WAL mode. If the log is not already open, open it now. Then + ** return SQLITE_OK and return without populating BtShared.pPage1. + ** The caller detects this and calls this function again. This is + ** required as the version of page 1 currently in the page1 buffer + ** may not be the latest version - there may be a newer one in the log + ** file. + */ + if( page1[19]==2 && (pBt->btsFlags & BTS_NO_WAL)==0 ){ + int isOpen = 0; + rc = sqlite3PagerOpenWal(pBt->pPager, &isOpen); + if( rc!=SQLITE_OK ){ + goto page1_init_failed; + }else{ + setDefaultSyncFlag(pBt, SQLITE_DEFAULT_WAL_SYNCHRONOUS+1); + if( isOpen==0 ){ + releasePageOne(pPage1); + return SQLITE_OK; + } + } + rc = SQLITE_NOTADB; + }else{ + setDefaultSyncFlag(pBt, SQLITE_DEFAULT_SYNCHRONOUS+1); + } +#endif + + /* EVIDENCE-OF: R-15465-20813 The maximum and minimum embedded payload + ** fractions and the leaf payload fraction values must be 64, 32, and 32. + ** + ** The original design allowed these amounts to vary, but as of + ** version 3.6.0, we require them to be fixed. + */ + if( memcmp(&page1[21], "\100\040\040",3)!=0 ){ + goto page1_init_failed; + } + /* EVIDENCE-OF: R-51873-39618 The page size for a database file is + ** determined by the 2-byte integer located at an offset of 16 bytes from + ** the beginning of the database file. */ + pageSize = (page1[16]<<8) | (page1[17]<<16); + /* EVIDENCE-OF: R-25008-21688 The size of a page is a power of two + ** between 512 and 65536 inclusive. */ + if( ((pageSize-1)&pageSize)!=0 + || pageSize>SQLITE_MAX_PAGE_SIZE + || pageSize<=256 + ){ + goto page1_init_failed; + } + pBt->btsFlags |= BTS_PAGESIZE_FIXED; + assert( (pageSize & 7)==0 ); + /* EVIDENCE-OF: R-59310-51205 The "reserved space" size in the 1-byte + ** integer at offset 20 is the number of bytes of space at the end of + ** each page to reserve for extensions. + ** + ** EVIDENCE-OF: R-37497-42412 The size of the reserved region is + ** determined by the one-byte unsigned integer found at an offset of 20 + ** into the database file header. */ + usableSize = pageSize - page1[20]; + if( (u32)pageSize!=pBt->pageSize ){ + /* After reading the first page of the database assuming a page size + ** of BtShared.pageSize, we have discovered that the page-size is + ** actually pageSize. Unlock the database, leave pBt->pPage1 at + ** zero and return SQLITE_OK. The caller will call this function + ** again with the correct page-size. + */ + releasePageOne(pPage1); + pBt->usableSize = usableSize; + pBt->pageSize = pageSize; + freeTempSpace(pBt); + rc = sqlite3PagerSetPagesize(pBt->pPager, &pBt->pageSize, + pageSize-usableSize); + return rc; + } + if( sqlite3WritableSchema(pBt->db)==0 && nPage>nPageFile ){ + rc = SQLITE_CORRUPT_BKPT; + goto page1_init_failed; + } + /* EVIDENCE-OF: R-28312-64704 However, the usable size is not allowed to + ** be less than 480. In other words, if the page size is 512, then the + ** reserved space size cannot exceed 32. */ + if( usableSize<480 ){ + goto page1_init_failed; + } + pBt->pageSize = pageSize; + pBt->usableSize = usableSize; +#ifndef SQLITE_OMIT_AUTOVACUUM + pBt->autoVacuum = (get4byte(&page1[36 + 4*4])?1:0); + pBt->incrVacuum = (get4byte(&page1[36 + 7*4])?1:0); +#endif + } + + /* maxLocal is the maximum amount of payload to store locally for + ** a cell. Make sure it is small enough so that at least minFanout + ** cells can will fit on one page. We assume a 10-byte page header. + ** Besides the payload, the cell must store: + ** 2-byte pointer to the cell + ** 4-byte child pointer + ** 9-byte nKey value + ** 4-byte nData value + ** 4-byte overflow page pointer + ** So a cell consists of a 2-byte pointer, a header which is as much as + ** 17 bytes long, 0 to N bytes of payload, and an optional 4 byte overflow + ** page pointer. + */ + pBt->maxLocal = (u16)((pBt->usableSize-12)*64/255 - 23); + pBt->minLocal = (u16)((pBt->usableSize-12)*32/255 - 23); + pBt->maxLeaf = (u16)(pBt->usableSize - 35); + pBt->minLeaf = (u16)((pBt->usableSize-12)*32/255 - 23); + if( pBt->maxLocal>127 ){ + pBt->max1bytePayload = 127; + }else{ + pBt->max1bytePayload = (u8)pBt->maxLocal; + } + assert( pBt->maxLeaf + 23 <= MX_CELL_SIZE(pBt) ); + pBt->pPage1 = pPage1; + pBt->nPage = nPage; + return SQLITE_OK; + +page1_init_failed: + releasePageOne(pPage1); + pBt->pPage1 = 0; + return rc; +} + +#ifndef NDEBUG +/* +** Return the number of cursors open on pBt. This is for use +** in assert() expressions, so it is only compiled if NDEBUG is not +** defined. +** +** Only write cursors are counted if wrOnly is true. If wrOnly is +** false then all cursors are counted. +** +** For the purposes of this routine, a cursor is any cursor that +** is capable of reading or writing to the database. Cursors that +** have been tripped into the CURSOR_FAULT state are not counted. +*/ +static int countValidCursors(BtShared *pBt, int wrOnly){ + BtCursor *pCur; + int r = 0; + for(pCur=pBt->pCursor; pCur; pCur=pCur->pNext){ + if( (wrOnly==0 || (pCur->curFlags & BTCF_WriteFlag)!=0) + && pCur->eState!=CURSOR_FAULT ) r++; + } + return r; +} +#endif + +/* +** If there are no outstanding cursors and we are not in the middle +** of a transaction but there is a read lock on the database, then +** this routine unrefs the first page of the database file which +** has the effect of releasing the read lock. +** +** If there is a transaction in progress, this routine is a no-op. +*/ +static void unlockBtreeIfUnused(BtShared *pBt){ + assert( sqlite3_mutex_held(pBt->mutex) ); + assert( countValidCursors(pBt,0)==0 || pBt->inTransaction>TRANS_NONE ); + if( pBt->inTransaction==TRANS_NONE && pBt->pPage1!=0 ){ + MemPage *pPage1 = pBt->pPage1; + assert( pPage1->aData ); + assert( sqlite3PagerRefcount(pBt->pPager)==1 ); + pBt->pPage1 = 0; + releasePageOne(pPage1); + } +} + +/* +** If pBt points to an empty file then convert that empty file +** into a new empty database by initializing the first page of +** the database. +*/ +static int newDatabase(BtShared *pBt){ + MemPage *pP1; + unsigned char *data; + int rc; + + assert( sqlite3_mutex_held(pBt->mutex) ); + if( pBt->nPage>0 ){ + return SQLITE_OK; + } + pP1 = pBt->pPage1; + assert( pP1!=0 ); + data = pP1->aData; + rc = sqlite3PagerWrite(pP1->pDbPage); + if( rc ) return rc; + memcpy(data, zMagicHeader, sizeof(zMagicHeader)); + assert( sizeof(zMagicHeader)==16 ); + data[16] = (u8)((pBt->pageSize>>8)&0xff); + data[17] = (u8)((pBt->pageSize>>16)&0xff); + data[18] = 1; + data[19] = 1; + assert( pBt->usableSize<=pBt->pageSize && pBt->usableSize+255>=pBt->pageSize); + data[20] = (u8)(pBt->pageSize - pBt->usableSize); + data[21] = 64; + data[22] = 32; + data[23] = 32; + memset(&data[24], 0, 100-24); + zeroPage(pP1, PTF_INTKEY|PTF_LEAF|PTF_LEAFDATA ); + pBt->btsFlags |= BTS_PAGESIZE_FIXED; +#ifndef SQLITE_OMIT_AUTOVACUUM + assert( pBt->autoVacuum==1 || pBt->autoVacuum==0 ); + assert( pBt->incrVacuum==1 || pBt->incrVacuum==0 ); + put4byte(&data[36 + 4*4], pBt->autoVacuum); + put4byte(&data[36 + 7*4], pBt->incrVacuum); +#endif + pBt->nPage = 1; + data[31] = 1; + return SQLITE_OK; +} + +/* +** Initialize the first page of the database file (creating a database +** consisting of a single page and no schema objects). Return SQLITE_OK +** if successful, or an SQLite error code otherwise. +*/ +SQLITE_PRIVATE int sqlite3BtreeNewDb(Btree *p){ + int rc; + sqlite3BtreeEnter(p); + p->pBt->nPage = 0; + rc = newDatabase(p->pBt); + sqlite3BtreeLeave(p); + return rc; +} + +/* +** Attempt to start a new transaction. A write-transaction +** is started if the second argument is nonzero, otherwise a read- +** transaction. If the second argument is 2 or more and exclusive +** transaction is started, meaning that no other process is allowed +** to access the database. A preexisting transaction may not be +** upgraded to exclusive by calling this routine a second time - the +** exclusivity flag only works for a new transaction. +** +** A write-transaction must be started before attempting any +** changes to the database. None of the following routines +** will work unless a transaction is started first: +** +** sqlite3BtreeCreateTable() +** sqlite3BtreeCreateIndex() +** sqlite3BtreeClearTable() +** sqlite3BtreeDropTable() +** sqlite3BtreeInsert() +** sqlite3BtreeDelete() +** sqlite3BtreeUpdateMeta() +** +** If an initial attempt to acquire the lock fails because of lock contention +** and the database was previously unlocked, then invoke the busy handler +** if there is one. But if there was previously a read-lock, do not +** invoke the busy handler - just return SQLITE_BUSY. SQLITE_BUSY is +** returned when there is already a read-lock in order to avoid a deadlock. +** +** Suppose there are two processes A and B. A has a read lock and B has +** a reserved lock. B tries to promote to exclusive but is blocked because +** of A's read lock. A tries to promote to reserved but is blocked by B. +** One or the other of the two processes must give way or there can be +** no progress. By returning SQLITE_BUSY and not invoking the busy callback +** when A already has a read lock, we encourage A to give up and let B +** proceed. +*/ +SQLITE_PRIVATE int sqlite3BtreeBeginTrans(Btree *p, int wrflag, int *pSchemaVersion){ + BtShared *pBt = p->pBt; + int rc = SQLITE_OK; + + sqlite3BtreeEnter(p); + btreeIntegrity(p); + + /* If the btree is already in a write-transaction, or it + ** is already in a read-transaction and a read-transaction + ** is requested, this is a no-op. + */ + if( p->inTrans==TRANS_WRITE || (p->inTrans==TRANS_READ && !wrflag) ){ + goto trans_begun; + } + assert( pBt->inTransaction==TRANS_WRITE || IfNotOmitAV(pBt->bDoTruncate)==0 ); + + if( (p->db->flags & SQLITE_ResetDatabase) + && sqlite3PagerIsreadonly(pBt->pPager)==0 + ){ + pBt->btsFlags &= ~BTS_READ_ONLY; + } + + /* Write transactions are not possible on a read-only database */ + if( (pBt->btsFlags & BTS_READ_ONLY)!=0 && wrflag ){ + rc = SQLITE_READONLY; + goto trans_begun; + } + +#ifndef SQLITE_OMIT_SHARED_CACHE + { + sqlite3 *pBlock = 0; + /* If another database handle has already opened a write transaction + ** on this shared-btree structure and a second write transaction is + ** requested, return SQLITE_LOCKED. + */ + if( (wrflag && pBt->inTransaction==TRANS_WRITE) + || (pBt->btsFlags & BTS_PENDING)!=0 + ){ + pBlock = pBt->pWriter->db; + }else if( wrflag>1 ){ + BtLock *pIter; + for(pIter=pBt->pLock; pIter; pIter=pIter->pNext){ + if( pIter->pBtree!=p ){ + pBlock = pIter->pBtree->db; + break; + } + } + } + if( pBlock ){ + sqlite3ConnectionBlocked(p->db, pBlock); + rc = SQLITE_LOCKED_SHAREDCACHE; + goto trans_begun; + } + } +#endif + + /* Any read-only or read-write transaction implies a read-lock on + ** page 1. So if some other shared-cache client already has a write-lock + ** on page 1, the transaction cannot be opened. */ + rc = querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK); + if( SQLITE_OK!=rc ) goto trans_begun; + + pBt->btsFlags &= ~BTS_INITIALLY_EMPTY; + if( pBt->nPage==0 ) pBt->btsFlags |= BTS_INITIALLY_EMPTY; + do { + /* Call lockBtree() until either pBt->pPage1 is populated or + ** lockBtree() returns something other than SQLITE_OK. lockBtree() + ** may return SQLITE_OK but leave pBt->pPage1 set to 0 if after + ** reading page 1 it discovers that the page-size of the database + ** file is not pBt->pageSize. In this case lockBtree() will update + ** pBt->pageSize to the page-size of the file on disk. + */ + while( pBt->pPage1==0 && SQLITE_OK==(rc = lockBtree(pBt)) ); + + if( rc==SQLITE_OK && wrflag ){ + if( (pBt->btsFlags & BTS_READ_ONLY)!=0 ){ + rc = SQLITE_READONLY; + }else{ + rc = sqlite3PagerBegin(pBt->pPager,wrflag>1,sqlite3TempInMemory(p->db)); + if( rc==SQLITE_OK ){ + rc = newDatabase(pBt); + }else if( rc==SQLITE_BUSY_SNAPSHOT && pBt->inTransaction==TRANS_NONE ){ + /* if there was no transaction opened when this function was + ** called and SQLITE_BUSY_SNAPSHOT is returned, change the error + ** code to SQLITE_BUSY. */ + rc = SQLITE_BUSY; + } + } + } + + if( rc!=SQLITE_OK ){ + unlockBtreeIfUnused(pBt); + } + }while( (rc&0xFF)==SQLITE_BUSY && pBt->inTransaction==TRANS_NONE && + btreeInvokeBusyHandler(pBt) ); + sqlite3PagerResetLockTimeout(pBt->pPager); + + if( rc==SQLITE_OK ){ + if( p->inTrans==TRANS_NONE ){ + pBt->nTransaction++; +#ifndef SQLITE_OMIT_SHARED_CACHE + if( p->sharable ){ + assert( p->lock.pBtree==p && p->lock.iTable==1 ); + p->lock.eLock = READ_LOCK; + p->lock.pNext = pBt->pLock; + pBt->pLock = &p->lock; + } +#endif + } + p->inTrans = (wrflag?TRANS_WRITE:TRANS_READ); + if( p->inTrans>pBt->inTransaction ){ + pBt->inTransaction = p->inTrans; + } + if( wrflag ){ + MemPage *pPage1 = pBt->pPage1; +#ifndef SQLITE_OMIT_SHARED_CACHE + assert( !pBt->pWriter ); + pBt->pWriter = p; + pBt->btsFlags &= ~BTS_EXCLUSIVE; + if( wrflag>1 ) pBt->btsFlags |= BTS_EXCLUSIVE; +#endif + + /* If the db-size header field is incorrect (as it may be if an old + ** client has been writing the database file), update it now. Doing + ** this sooner rather than later means the database size can safely + ** re-read the database size from page 1 if a savepoint or transaction + ** rollback occurs within the transaction. + */ + if( pBt->nPage!=get4byte(&pPage1->aData[28]) ){ + rc = sqlite3PagerWrite(pPage1->pDbPage); + if( rc==SQLITE_OK ){ + put4byte(&pPage1->aData[28], pBt->nPage); + } + } + } + } + +trans_begun: + if( rc==SQLITE_OK ){ + if( pSchemaVersion ){ + *pSchemaVersion = get4byte(&pBt->pPage1->aData[40]); + } + if( wrflag ){ + /* This call makes sure that the pager has the correct number of + ** open savepoints. If the second parameter is greater than 0 and + ** the sub-journal is not already open, then it will be opened here. + */ + rc = sqlite3PagerOpenSavepoint(pBt->pPager, p->db->nSavepoint); + } + } + + btreeIntegrity(p); + sqlite3BtreeLeave(p); + return rc; +} + +#ifndef SQLITE_OMIT_AUTOVACUUM + +/* +** Set the pointer-map entries for all children of page pPage. Also, if +** pPage contains cells that point to overflow pages, set the pointer +** map entries for the overflow pages as well. +*/ +static int setChildPtrmaps(MemPage *pPage){ + int i; /* Counter variable */ + int nCell; /* Number of cells in page pPage */ + int rc; /* Return code */ + BtShared *pBt = pPage->pBt; + Pgno pgno = pPage->pgno; + + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + rc = pPage->isInit ? SQLITE_OK : btreeInitPage(pPage); + if( rc!=SQLITE_OK ) return rc; + nCell = pPage->nCell; + + for(i=0; ileaf ){ + Pgno childPgno = get4byte(pCell); + ptrmapPut(pBt, childPgno, PTRMAP_BTREE, pgno, &rc); + } + } + + if( !pPage->leaf ){ + Pgno childPgno = get4byte(&pPage->aData[pPage->hdrOffset+8]); + ptrmapPut(pBt, childPgno, PTRMAP_BTREE, pgno, &rc); + } + + return rc; +} + +/* +** Somewhere on pPage is a pointer to page iFrom. Modify this pointer so +** that it points to iTo. Parameter eType describes the type of pointer to +** be modified, as follows: +** +** PTRMAP_BTREE: pPage is a btree-page. The pointer points at a child +** page of pPage. +** +** PTRMAP_OVERFLOW1: pPage is a btree-page. The pointer points at an overflow +** page pointed to by one of the cells on pPage. +** +** PTRMAP_OVERFLOW2: pPage is an overflow-page. The pointer points at the next +** overflow page in the list. +*/ +static int modifyPagePointer(MemPage *pPage, Pgno iFrom, Pgno iTo, u8 eType){ + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + assert( sqlite3PagerIswriteable(pPage->pDbPage) ); + if( eType==PTRMAP_OVERFLOW2 ){ + /* The pointer is always the first 4 bytes of the page in this case. */ + if( get4byte(pPage->aData)!=iFrom ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + put4byte(pPage->aData, iTo); + }else{ + int i; + int nCell; + int rc; + + rc = pPage->isInit ? SQLITE_OK : btreeInitPage(pPage); + if( rc ) return rc; + nCell = pPage->nCell; + + for(i=0; ixParseCell(pPage, pCell, &info); + if( info.nLocal pPage->aData+pPage->pBt->usableSize ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + if( iFrom==get4byte(pCell+info.nSize-4) ){ + put4byte(pCell+info.nSize-4, iTo); + break; + } + } + }else{ + if( get4byte(pCell)==iFrom ){ + put4byte(pCell, iTo); + break; + } + } + } + + if( i==nCell ){ + if( eType!=PTRMAP_BTREE || + get4byte(&pPage->aData[pPage->hdrOffset+8])!=iFrom ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + put4byte(&pPage->aData[pPage->hdrOffset+8], iTo); + } + } + return SQLITE_OK; +} + + +/* +** Move the open database page pDbPage to location iFreePage in the +** database. The pDbPage reference remains valid. +** +** The isCommit flag indicates that there is no need to remember that +** the journal needs to be sync()ed before database page pDbPage->pgno +** can be written to. The caller has already promised not to write to that +** page. +*/ +static int relocatePage( + BtShared *pBt, /* Btree */ + MemPage *pDbPage, /* Open page to move */ + u8 eType, /* Pointer map 'type' entry for pDbPage */ + Pgno iPtrPage, /* Pointer map 'page-no' entry for pDbPage */ + Pgno iFreePage, /* The location to move pDbPage to */ + int isCommit /* isCommit flag passed to sqlite3PagerMovepage */ +){ + MemPage *pPtrPage; /* The page that contains a pointer to pDbPage */ + Pgno iDbPage = pDbPage->pgno; + Pager *pPager = pBt->pPager; + int rc; + + assert( eType==PTRMAP_OVERFLOW2 || eType==PTRMAP_OVERFLOW1 || + eType==PTRMAP_BTREE || eType==PTRMAP_ROOTPAGE ); + assert( sqlite3_mutex_held(pBt->mutex) ); + assert( pDbPage->pBt==pBt ); + if( iDbPage<3 ) return SQLITE_CORRUPT_BKPT; + + /* Move page iDbPage from its current location to page number iFreePage */ + TRACE(("AUTOVACUUM: Moving %d to free page %d (ptr page %d type %d)\n", + iDbPage, iFreePage, iPtrPage, eType)); + rc = sqlite3PagerMovepage(pPager, pDbPage->pDbPage, iFreePage, isCommit); + if( rc!=SQLITE_OK ){ + return rc; + } + pDbPage->pgno = iFreePage; + + /* If pDbPage was a btree-page, then it may have child pages and/or cells + ** that point to overflow pages. The pointer map entries for all these + ** pages need to be changed. + ** + ** If pDbPage is an overflow page, then the first 4 bytes may store a + ** pointer to a subsequent overflow page. If this is the case, then + ** the pointer map needs to be updated for the subsequent overflow page. + */ + if( eType==PTRMAP_BTREE || eType==PTRMAP_ROOTPAGE ){ + rc = setChildPtrmaps(pDbPage); + if( rc!=SQLITE_OK ){ + return rc; + } + }else{ + Pgno nextOvfl = get4byte(pDbPage->aData); + if( nextOvfl!=0 ){ + ptrmapPut(pBt, nextOvfl, PTRMAP_OVERFLOW2, iFreePage, &rc); + if( rc!=SQLITE_OK ){ + return rc; + } + } + } + + /* Fix the database pointer on page iPtrPage that pointed at iDbPage so + ** that it points at iFreePage. Also fix the pointer map entry for + ** iPtrPage. + */ + if( eType!=PTRMAP_ROOTPAGE ){ + rc = btreeGetPage(pBt, iPtrPage, &pPtrPage, 0); + if( rc!=SQLITE_OK ){ + return rc; + } + rc = sqlite3PagerWrite(pPtrPage->pDbPage); + if( rc!=SQLITE_OK ){ + releasePage(pPtrPage); + return rc; + } + rc = modifyPagePointer(pPtrPage, iDbPage, iFreePage, eType); + releasePage(pPtrPage); + if( rc==SQLITE_OK ){ + ptrmapPut(pBt, iFreePage, eType, iPtrPage, &rc); + } + } + return rc; +} + +/* Forward declaration required by incrVacuumStep(). */ +static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8); + +/* +** Perform a single step of an incremental-vacuum. If successful, return +** SQLITE_OK. If there is no work to do (and therefore no point in +** calling this function again), return SQLITE_DONE. Or, if an error +** occurs, return some other error code. +** +** More specifically, this function attempts to re-organize the database so +** that the last page of the file currently in use is no longer in use. +** +** Parameter nFin is the number of pages that this database would contain +** were this function called until it returns SQLITE_DONE. +** +** If the bCommit parameter is non-zero, this function assumes that the +** caller will keep calling incrVacuumStep() until it returns SQLITE_DONE +** or an error. bCommit is passed true for an auto-vacuum-on-commit +** operation, or false for an incremental vacuum. +*/ +static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit){ + Pgno nFreeList; /* Number of pages still on the free-list */ + int rc; + + assert( sqlite3_mutex_held(pBt->mutex) ); + assert( iLastPg>nFin ); + + if( !PTRMAP_ISPAGE(pBt, iLastPg) && iLastPg!=PENDING_BYTE_PAGE(pBt) ){ + u8 eType; + Pgno iPtrPage; + + nFreeList = get4byte(&pBt->pPage1->aData[36]); + if( nFreeList==0 ){ + return SQLITE_DONE; + } + + rc = ptrmapGet(pBt, iLastPg, &eType, &iPtrPage); + if( rc!=SQLITE_OK ){ + return rc; + } + if( eType==PTRMAP_ROOTPAGE ){ + return SQLITE_CORRUPT_BKPT; + } + + if( eType==PTRMAP_FREEPAGE ){ + if( bCommit==0 ){ + /* Remove the page from the files free-list. This is not required + ** if bCommit is non-zero. In that case, the free-list will be + ** truncated to zero after this function returns, so it doesn't + ** matter if it still contains some garbage entries. + */ + Pgno iFreePg; + MemPage *pFreePg; + rc = allocateBtreePage(pBt, &pFreePg, &iFreePg, iLastPg, BTALLOC_EXACT); + if( rc!=SQLITE_OK ){ + return rc; + } + assert( iFreePg==iLastPg ); + releasePage(pFreePg); + } + } else { + Pgno iFreePg; /* Index of free page to move pLastPg to */ + MemPage *pLastPg; + u8 eMode = BTALLOC_ANY; /* Mode parameter for allocateBtreePage() */ + Pgno iNear = 0; /* nearby parameter for allocateBtreePage() */ + + rc = btreeGetPage(pBt, iLastPg, &pLastPg, 0); + if( rc!=SQLITE_OK ){ + return rc; + } + + /* If bCommit is zero, this loop runs exactly once and page pLastPg + ** is swapped with the first free page pulled off the free list. + ** + ** On the other hand, if bCommit is greater than zero, then keep + ** looping until a free-page located within the first nFin pages + ** of the file is found. + */ + if( bCommit==0 ){ + eMode = BTALLOC_LE; + iNear = nFin; + } + do { + MemPage *pFreePg; + rc = allocateBtreePage(pBt, &pFreePg, &iFreePg, iNear, eMode); + if( rc!=SQLITE_OK ){ + releasePage(pLastPg); + return rc; + } + releasePage(pFreePg); + }while( bCommit && iFreePg>nFin ); + assert( iFreePgbDoTruncate = 1; + pBt->nPage = iLastPg; + } + return SQLITE_OK; +} + +/* +** The database opened by the first argument is an auto-vacuum database +** nOrig pages in size containing nFree free pages. Return the expected +** size of the database in pages following an auto-vacuum operation. +*/ +static Pgno finalDbSize(BtShared *pBt, Pgno nOrig, Pgno nFree){ + int nEntry; /* Number of entries on one ptrmap page */ + Pgno nPtrmap; /* Number of PtrMap pages to be freed */ + Pgno nFin; /* Return value */ + + nEntry = pBt->usableSize/5; + nPtrmap = (nFree-nOrig+PTRMAP_PAGENO(pBt, nOrig)+nEntry)/nEntry; + nFin = nOrig - nFree - nPtrmap; + if( nOrig>PENDING_BYTE_PAGE(pBt) && nFinpBt; + + sqlite3BtreeEnter(p); + assert( pBt->inTransaction==TRANS_WRITE && p->inTrans==TRANS_WRITE ); + if( !pBt->autoVacuum ){ + rc = SQLITE_DONE; + }else{ + Pgno nOrig = btreePagecount(pBt); + Pgno nFree = get4byte(&pBt->pPage1->aData[36]); + Pgno nFin = finalDbSize(pBt, nOrig, nFree); + + if( nOrig0 ){ + rc = saveAllCursors(pBt, 0, 0); + if( rc==SQLITE_OK ){ + invalidateAllOverflowCache(pBt); + rc = incrVacuumStep(pBt, nFin, nOrig, 0); + } + if( rc==SQLITE_OK ){ + rc = sqlite3PagerWrite(pBt->pPage1->pDbPage); + put4byte(&pBt->pPage1->aData[28], pBt->nPage); + } + }else{ + rc = SQLITE_DONE; + } + } + sqlite3BtreeLeave(p); + return rc; +} + +/* +** This routine is called prior to sqlite3PagerCommit when a transaction +** is committed for an auto-vacuum database. +** +** If SQLITE_OK is returned, then *pnTrunc is set to the number of pages +** the database file should be truncated to during the commit process. +** i.e. the database has been reorganized so that only the first *pnTrunc +** pages are in use. +*/ +static int autoVacuumCommit(BtShared *pBt){ + int rc = SQLITE_OK; + Pager *pPager = pBt->pPager; + VVA_ONLY( int nRef = sqlite3PagerRefcount(pPager); ) + + assert( sqlite3_mutex_held(pBt->mutex) ); + invalidateAllOverflowCache(pBt); + assert(pBt->autoVacuum); + if( !pBt->incrVacuum ){ + Pgno nFin; /* Number of pages in database after autovacuuming */ + Pgno nFree; /* Number of pages on the freelist initially */ + Pgno iFree; /* The next page to be freed */ + Pgno nOrig; /* Database size before freeing */ + + nOrig = btreePagecount(pBt); + if( PTRMAP_ISPAGE(pBt, nOrig) || nOrig==PENDING_BYTE_PAGE(pBt) ){ + /* It is not possible to create a database for which the final page + ** is either a pointer-map page or the pending-byte page. If one + ** is encountered, this indicates corruption. + */ + return SQLITE_CORRUPT_BKPT; + } + + nFree = get4byte(&pBt->pPage1->aData[36]); + nFin = finalDbSize(pBt, nOrig, nFree); + if( nFin>nOrig ) return SQLITE_CORRUPT_BKPT; + if( nFinnFin && rc==SQLITE_OK; iFree--){ + rc = incrVacuumStep(pBt, nFin, iFree, 1); + } + if( (rc==SQLITE_DONE || rc==SQLITE_OK) && nFree>0 ){ + rc = sqlite3PagerWrite(pBt->pPage1->pDbPage); + put4byte(&pBt->pPage1->aData[32], 0); + put4byte(&pBt->pPage1->aData[36], 0); + put4byte(&pBt->pPage1->aData[28], nFin); + pBt->bDoTruncate = 1; + pBt->nPage = nFin; + } + if( rc!=SQLITE_OK ){ + sqlite3PagerRollback(pPager); + } + } + + assert( nRef>=sqlite3PagerRefcount(pPager) ); + return rc; +} + +#else /* ifndef SQLITE_OMIT_AUTOVACUUM */ +# define setChildPtrmaps(x) SQLITE_OK +#endif + +/* +** This routine does the first phase of a two-phase commit. This routine +** causes a rollback journal to be created (if it does not already exist) +** and populated with enough information so that if a power loss occurs +** the database can be restored to its original state by playing back +** the journal. Then the contents of the journal are flushed out to +** the disk. After the journal is safely on oxide, the changes to the +** database are written into the database file and flushed to oxide. +** At the end of this call, the rollback journal still exists on the +** disk and we are still holding all locks, so the transaction has not +** committed. See sqlite3BtreeCommitPhaseTwo() for the second phase of the +** commit process. +** +** This call is a no-op if no write-transaction is currently active on pBt. +** +** Otherwise, sync the database file for the btree pBt. zMaster points to +** the name of a master journal file that should be written into the +** individual journal file, or is NULL, indicating no master journal file +** (single database transaction). +** +** When this is called, the master journal should already have been +** created, populated with this journal pointer and synced to disk. +** +** Once this is routine has returned, the only thing required to commit +** the write-transaction for this database file is to delete the journal. +*/ +SQLITE_PRIVATE int sqlite3BtreeCommitPhaseOne(Btree *p, const char *zMaster){ + int rc = SQLITE_OK; + if( p->inTrans==TRANS_WRITE ){ + BtShared *pBt = p->pBt; + sqlite3BtreeEnter(p); +#ifndef SQLITE_OMIT_AUTOVACUUM + if( pBt->autoVacuum ){ + rc = autoVacuumCommit(pBt); + if( rc!=SQLITE_OK ){ + sqlite3BtreeLeave(p); + return rc; + } + } + if( pBt->bDoTruncate ){ + sqlite3PagerTruncateImage(pBt->pPager, pBt->nPage); + } +#endif + rc = sqlite3PagerCommitPhaseOne(pBt->pPager, zMaster, 0); + sqlite3BtreeLeave(p); + } + return rc; +} + +/* +** This function is called from both BtreeCommitPhaseTwo() and BtreeRollback() +** at the conclusion of a transaction. +*/ +static void btreeEndTransaction(Btree *p){ + BtShared *pBt = p->pBt; + sqlite3 *db = p->db; + assert( sqlite3BtreeHoldsMutex(p) ); + +#ifndef SQLITE_OMIT_AUTOVACUUM + pBt->bDoTruncate = 0; +#endif + if( p->inTrans>TRANS_NONE && db->nVdbeRead>1 ){ + /* If there are other active statements that belong to this database + ** handle, downgrade to a read-only transaction. The other statements + ** may still be reading from the database. */ + downgradeAllSharedCacheTableLocks(p); + p->inTrans = TRANS_READ; + }else{ + /* If the handle had any kind of transaction open, decrement the + ** transaction count of the shared btree. If the transaction count + ** reaches 0, set the shared state to TRANS_NONE. The unlockBtreeIfUnused() + ** call below will unlock the pager. */ + if( p->inTrans!=TRANS_NONE ){ + clearAllSharedCacheTableLocks(p); + pBt->nTransaction--; + if( 0==pBt->nTransaction ){ + pBt->inTransaction = TRANS_NONE; + } + } + + /* Set the current transaction state to TRANS_NONE and unlock the + ** pager if this call closed the only read or write transaction. */ + p->inTrans = TRANS_NONE; + unlockBtreeIfUnused(pBt); + } + + btreeIntegrity(p); +} + +/* +** Commit the transaction currently in progress. +** +** This routine implements the second phase of a 2-phase commit. The +** sqlite3BtreeCommitPhaseOne() routine does the first phase and should +** be invoked prior to calling this routine. The sqlite3BtreeCommitPhaseOne() +** routine did all the work of writing information out to disk and flushing the +** contents so that they are written onto the disk platter. All this +** routine has to do is delete or truncate or zero the header in the +** the rollback journal (which causes the transaction to commit) and +** drop locks. +** +** Normally, if an error occurs while the pager layer is attempting to +** finalize the underlying journal file, this function returns an error and +** the upper layer will attempt a rollback. However, if the second argument +** is non-zero then this b-tree transaction is part of a multi-file +** transaction. In this case, the transaction has already been committed +** (by deleting a master journal file) and the caller will ignore this +** functions return code. So, even if an error occurs in the pager layer, +** reset the b-tree objects internal state to indicate that the write +** transaction has been closed. This is quite safe, as the pager will have +** transitioned to the error state. +** +** This will release the write lock on the database file. If there +** are no active cursors, it also releases the read lock. +*/ +SQLITE_PRIVATE int sqlite3BtreeCommitPhaseTwo(Btree *p, int bCleanup){ + + if( p->inTrans==TRANS_NONE ) return SQLITE_OK; + sqlite3BtreeEnter(p); + btreeIntegrity(p); + + /* If the handle has a write-transaction open, commit the shared-btrees + ** transaction and set the shared state to TRANS_READ. + */ + if( p->inTrans==TRANS_WRITE ){ + int rc; + BtShared *pBt = p->pBt; + assert( pBt->inTransaction==TRANS_WRITE ); + assert( pBt->nTransaction>0 ); + rc = sqlite3PagerCommitPhaseTwo(pBt->pPager); + if( rc!=SQLITE_OK && bCleanup==0 ){ + sqlite3BtreeLeave(p); + return rc; + } + p->iDataVersion--; /* Compensate for pPager->iDataVersion++; */ + pBt->inTransaction = TRANS_READ; + btreeClearHasContent(pBt); + } + + btreeEndTransaction(p); + sqlite3BtreeLeave(p); + return SQLITE_OK; +} + +/* +** Do both phases of a commit. +*/ +SQLITE_PRIVATE int sqlite3BtreeCommit(Btree *p){ + int rc; + sqlite3BtreeEnter(p); + rc = sqlite3BtreeCommitPhaseOne(p, 0); + if( rc==SQLITE_OK ){ + rc = sqlite3BtreeCommitPhaseTwo(p, 0); + } + sqlite3BtreeLeave(p); + return rc; +} + +/* +** This routine sets the state to CURSOR_FAULT and the error +** code to errCode for every cursor on any BtShared that pBtree +** references. Or if the writeOnly flag is set to 1, then only +** trip write cursors and leave read cursors unchanged. +** +** Every cursor is a candidate to be tripped, including cursors +** that belong to other database connections that happen to be +** sharing the cache with pBtree. +** +** This routine gets called when a rollback occurs. If the writeOnly +** flag is true, then only write-cursors need be tripped - read-only +** cursors save their current positions so that they may continue +** following the rollback. Or, if writeOnly is false, all cursors are +** tripped. In general, writeOnly is false if the transaction being +** rolled back modified the database schema. In this case b-tree root +** pages may be moved or deleted from the database altogether, making +** it unsafe for read cursors to continue. +** +** If the writeOnly flag is true and an error is encountered while +** saving the current position of a read-only cursor, all cursors, +** including all read-cursors are tripped. +** +** SQLITE_OK is returned if successful, or if an error occurs while +** saving a cursor position, an SQLite error code. +*/ +SQLITE_PRIVATE int sqlite3BtreeTripAllCursors(Btree *pBtree, int errCode, int writeOnly){ + BtCursor *p; + int rc = SQLITE_OK; + + assert( (writeOnly==0 || writeOnly==1) && BTCF_WriteFlag==1 ); + if( pBtree ){ + sqlite3BtreeEnter(pBtree); + for(p=pBtree->pBt->pCursor; p; p=p->pNext){ + if( writeOnly && (p->curFlags & BTCF_WriteFlag)==0 ){ + if( p->eState==CURSOR_VALID || p->eState==CURSOR_SKIPNEXT ){ + rc = saveCursorPosition(p); + if( rc!=SQLITE_OK ){ + (void)sqlite3BtreeTripAllCursors(pBtree, rc, 0); + break; + } + } + }else{ + sqlite3BtreeClearCursor(p); + p->eState = CURSOR_FAULT; + p->skipNext = errCode; + } + btreeReleaseAllCursorPages(p); + } + sqlite3BtreeLeave(pBtree); + } + return rc; +} + +/* +** Set the pBt->nPage field correctly, according to the current +** state of the database. Assume pBt->pPage1 is valid. +*/ +static void btreeSetNPage(BtShared *pBt, MemPage *pPage1){ + int nPage = get4byte(&pPage1->aData[28]); + testcase( nPage==0 ); + if( nPage==0 ) sqlite3PagerPagecount(pBt->pPager, &nPage); + testcase( pBt->nPage!=nPage ); + pBt->nPage = nPage; +} + +/* +** Rollback the transaction in progress. +** +** If tripCode is not SQLITE_OK then cursors will be invalidated (tripped). +** Only write cursors are tripped if writeOnly is true but all cursors are +** tripped if writeOnly is false. Any attempt to use +** a tripped cursor will result in an error. +** +** This will release the write lock on the database file. If there +** are no active cursors, it also releases the read lock. +*/ +SQLITE_PRIVATE int sqlite3BtreeRollback(Btree *p, int tripCode, int writeOnly){ + int rc; + BtShared *pBt = p->pBt; + MemPage *pPage1; + + assert( writeOnly==1 || writeOnly==0 ); + assert( tripCode==SQLITE_ABORT_ROLLBACK || tripCode==SQLITE_OK ); + sqlite3BtreeEnter(p); + if( tripCode==SQLITE_OK ){ + rc = tripCode = saveAllCursors(pBt, 0, 0); + if( rc ) writeOnly = 0; + }else{ + rc = SQLITE_OK; + } + if( tripCode ){ + int rc2 = sqlite3BtreeTripAllCursors(p, tripCode, writeOnly); + assert( rc==SQLITE_OK || (writeOnly==0 && rc2==SQLITE_OK) ); + if( rc2!=SQLITE_OK ) rc = rc2; + } + btreeIntegrity(p); + + if( p->inTrans==TRANS_WRITE ){ + int rc2; + + assert( TRANS_WRITE==pBt->inTransaction ); + rc2 = sqlite3PagerRollback(pBt->pPager); + if( rc2!=SQLITE_OK ){ + rc = rc2; + } + + /* The rollback may have destroyed the pPage1->aData value. So + ** call btreeGetPage() on page 1 again to make + ** sure pPage1->aData is set correctly. */ + if( btreeGetPage(pBt, 1, &pPage1, 0)==SQLITE_OK ){ + btreeSetNPage(pBt, pPage1); + releasePageOne(pPage1); + } + assert( countValidCursors(pBt, 1)==0 ); + pBt->inTransaction = TRANS_READ; + btreeClearHasContent(pBt); + } + + btreeEndTransaction(p); + sqlite3BtreeLeave(p); + return rc; +} + +/* +** Start a statement subtransaction. The subtransaction can be rolled +** back independently of the main transaction. You must start a transaction +** before starting a subtransaction. The subtransaction is ended automatically +** if the main transaction commits or rolls back. +** +** Statement subtransactions are used around individual SQL statements +** that are contained within a BEGIN...COMMIT block. If a constraint +** error occurs within the statement, the effect of that one statement +** can be rolled back without having to rollback the entire transaction. +** +** A statement sub-transaction is implemented as an anonymous savepoint. The +** value passed as the second parameter is the total number of savepoints, +** including the new anonymous savepoint, open on the B-Tree. i.e. if there +** are no active savepoints and no other statement-transactions open, +** iStatement is 1. This anonymous savepoint can be released or rolled back +** using the sqlite3BtreeSavepoint() function. +*/ +SQLITE_PRIVATE int sqlite3BtreeBeginStmt(Btree *p, int iStatement){ + int rc; + BtShared *pBt = p->pBt; + sqlite3BtreeEnter(p); + assert( p->inTrans==TRANS_WRITE ); + assert( (pBt->btsFlags & BTS_READ_ONLY)==0 ); + assert( iStatement>0 ); + assert( iStatement>p->db->nSavepoint ); + assert( pBt->inTransaction==TRANS_WRITE ); + /* At the pager level, a statement transaction is a savepoint with + ** an index greater than all savepoints created explicitly using + ** SQL statements. It is illegal to open, release or rollback any + ** such savepoints while the statement transaction savepoint is active. + */ + rc = sqlite3PagerOpenSavepoint(pBt->pPager, iStatement); + sqlite3BtreeLeave(p); + return rc; +} + +/* +** The second argument to this function, op, is always SAVEPOINT_ROLLBACK +** or SAVEPOINT_RELEASE. This function either releases or rolls back the +** savepoint identified by parameter iSavepoint, depending on the value +** of op. +** +** Normally, iSavepoint is greater than or equal to zero. However, if op is +** SAVEPOINT_ROLLBACK, then iSavepoint may also be -1. In this case the +** contents of the entire transaction are rolled back. This is different +** from a normal transaction rollback, as no locks are released and the +** transaction remains open. +*/ +SQLITE_PRIVATE int sqlite3BtreeSavepoint(Btree *p, int op, int iSavepoint){ + int rc = SQLITE_OK; + if( p && p->inTrans==TRANS_WRITE ){ + BtShared *pBt = p->pBt; + assert( op==SAVEPOINT_RELEASE || op==SAVEPOINT_ROLLBACK ); + assert( iSavepoint>=0 || (iSavepoint==-1 && op==SAVEPOINT_ROLLBACK) ); + sqlite3BtreeEnter(p); + if( op==SAVEPOINT_ROLLBACK ){ + rc = saveAllCursors(pBt, 0, 0); + } + if( rc==SQLITE_OK ){ + rc = sqlite3PagerSavepoint(pBt->pPager, op, iSavepoint); + } + if( rc==SQLITE_OK ){ + if( iSavepoint<0 && (pBt->btsFlags & BTS_INITIALLY_EMPTY)!=0 ){ + pBt->nPage = 0; + } + rc = newDatabase(pBt); + btreeSetNPage(pBt, pBt->pPage1); + + /* pBt->nPage might be zero if the database was corrupt when + ** the transaction was started. Otherwise, it must be at least 1. */ + assert( CORRUPT_DB || pBt->nPage>0 ); + } + sqlite3BtreeLeave(p); + } + return rc; +} + +/* +** Create a new cursor for the BTree whose root is on the page +** iTable. If a read-only cursor is requested, it is assumed that +** the caller already has at least a read-only transaction open +** on the database already. If a write-cursor is requested, then +** the caller is assumed to have an open write transaction. +** +** If the BTREE_WRCSR bit of wrFlag is clear, then the cursor can only +** be used for reading. If the BTREE_WRCSR bit is set, then the cursor +** can be used for reading or for writing if other conditions for writing +** are also met. These are the conditions that must be met in order +** for writing to be allowed: +** +** 1: The cursor must have been opened with wrFlag containing BTREE_WRCSR +** +** 2: Other database connections that share the same pager cache +** but which are not in the READ_UNCOMMITTED state may not have +** cursors open with wrFlag==0 on the same table. Otherwise +** the changes made by this write cursor would be visible to +** the read cursors in the other database connection. +** +** 3: The database must be writable (not on read-only media) +** +** 4: There must be an active transaction. +** +** The BTREE_FORDELETE bit of wrFlag may optionally be set if BTREE_WRCSR +** is set. If FORDELETE is set, that is a hint to the implementation that +** this cursor will only be used to seek to and delete entries of an index +** as part of a larger DELETE statement. The FORDELETE hint is not used by +** this implementation. But in a hypothetical alternative storage engine +** in which index entries are automatically deleted when corresponding table +** rows are deleted, the FORDELETE flag is a hint that all SEEK and DELETE +** operations on this cursor can be no-ops and all READ operations can +** return a null row (2-bytes: 0x01 0x00). +** +** No checking is done to make sure that page iTable really is the +** root page of a b-tree. If it is not, then the cursor acquired +** will not work correctly. +** +** It is assumed that the sqlite3BtreeCursorZero() has been called +** on pCur to initialize the memory space prior to invoking this routine. +*/ +static int btreeCursor( + Btree *p, /* The btree */ + int iTable, /* Root page of table to open */ + int wrFlag, /* 1 to write. 0 read-only */ + struct KeyInfo *pKeyInfo, /* First arg to comparison function */ + BtCursor *pCur /* Space for new cursor */ +){ + BtShared *pBt = p->pBt; /* Shared b-tree handle */ + BtCursor *pX; /* Looping over other all cursors */ + + assert( sqlite3BtreeHoldsMutex(p) ); + assert( wrFlag==0 + || wrFlag==BTREE_WRCSR + || wrFlag==(BTREE_WRCSR|BTREE_FORDELETE) + ); + + /* The following assert statements verify that if this is a sharable + ** b-tree database, the connection is holding the required table locks, + ** and that no other connection has any open cursor that conflicts with + ** this lock. */ + assert( hasSharedCacheTableLock(p, iTable, pKeyInfo!=0, (wrFlag?2:1)) ); + assert( wrFlag==0 || !hasReadConflicts(p, iTable) ); + + /* Assert that the caller has opened the required transaction. */ + assert( p->inTrans>TRANS_NONE ); + assert( wrFlag==0 || p->inTrans==TRANS_WRITE ); + assert( pBt->pPage1 && pBt->pPage1->aData ); + assert( wrFlag==0 || (pBt->btsFlags & BTS_READ_ONLY)==0 ); + + if( wrFlag ){ + allocateTempSpace(pBt); + if( pBt->pTmpSpace==0 ) return SQLITE_NOMEM_BKPT; + } + if( iTable==1 && btreePagecount(pBt)==0 ){ + assert( wrFlag==0 ); + iTable = 0; + } + + /* Now that no other errors can occur, finish filling in the BtCursor + ** variables and link the cursor into the BtShared list. */ + pCur->pgnoRoot = (Pgno)iTable; + pCur->iPage = -1; + pCur->pKeyInfo = pKeyInfo; + pCur->pBtree = p; + pCur->pBt = pBt; + pCur->curFlags = wrFlag ? BTCF_WriteFlag : 0; + pCur->curPagerFlags = wrFlag ? 0 : PAGER_GET_READONLY; + /* If there are two or more cursors on the same btree, then all such + ** cursors *must* have the BTCF_Multiple flag set. */ + for(pX=pBt->pCursor; pX; pX=pX->pNext){ + if( pX->pgnoRoot==(Pgno)iTable ){ + pX->curFlags |= BTCF_Multiple; + pCur->curFlags |= BTCF_Multiple; + } + } + pCur->pNext = pBt->pCursor; + pBt->pCursor = pCur; + pCur->eState = CURSOR_INVALID; + return SQLITE_OK; +} +SQLITE_PRIVATE int sqlite3BtreeCursor( + Btree *p, /* The btree */ + int iTable, /* Root page of table to open */ + int wrFlag, /* 1 to write. 0 read-only */ + struct KeyInfo *pKeyInfo, /* First arg to xCompare() */ + BtCursor *pCur /* Write new cursor here */ +){ + int rc; + if( iTable<1 ){ + rc = SQLITE_CORRUPT_BKPT; + }else{ + sqlite3BtreeEnter(p); + rc = btreeCursor(p, iTable, wrFlag, pKeyInfo, pCur); + sqlite3BtreeLeave(p); + } + return rc; +} + +/* +** Return the size of a BtCursor object in bytes. +** +** This interfaces is needed so that users of cursors can preallocate +** sufficient storage to hold a cursor. The BtCursor object is opaque +** to users so they cannot do the sizeof() themselves - they must call +** this routine. +*/ +SQLITE_PRIVATE int sqlite3BtreeCursorSize(void){ + return ROUND8(sizeof(BtCursor)); +} + +/* +** Initialize memory that will be converted into a BtCursor object. +** +** The simple approach here would be to memset() the entire object +** to zero. But it turns out that the apPage[] and aiIdx[] arrays +** do not need to be zeroed and they are large, so we can save a lot +** of run-time by skipping the initialization of those elements. +*/ +SQLITE_PRIVATE void sqlite3BtreeCursorZero(BtCursor *p){ + memset(p, 0, offsetof(BtCursor, BTCURSOR_FIRST_UNINIT)); +} + +/* +** Close a cursor. The read lock on the database file is released +** when the last cursor is closed. +*/ +SQLITE_PRIVATE int sqlite3BtreeCloseCursor(BtCursor *pCur){ + Btree *pBtree = pCur->pBtree; + if( pBtree ){ + BtShared *pBt = pCur->pBt; + sqlite3BtreeEnter(pBtree); + assert( pBt->pCursor!=0 ); + if( pBt->pCursor==pCur ){ + pBt->pCursor = pCur->pNext; + }else{ + BtCursor *pPrev = pBt->pCursor; + do{ + if( pPrev->pNext==pCur ){ + pPrev->pNext = pCur->pNext; + break; + } + pPrev = pPrev->pNext; + }while( ALWAYS(pPrev) ); + } + btreeReleaseAllCursorPages(pCur); + unlockBtreeIfUnused(pBt); + sqlite3_free(pCur->aOverflow); + sqlite3_free(pCur->pKey); + sqlite3BtreeLeave(pBtree); + pCur->pBtree = 0; + } + return SQLITE_OK; +} + +/* +** Make sure the BtCursor* given in the argument has a valid +** BtCursor.info structure. If it is not already valid, call +** btreeParseCell() to fill it in. +** +** BtCursor.info is a cache of the information in the current cell. +** Using this cache reduces the number of calls to btreeParseCell(). +*/ +#ifndef NDEBUG + static int cellInfoEqual(CellInfo *a, CellInfo *b){ + if( a->nKey!=b->nKey ) return 0; + if( a->pPayload!=b->pPayload ) return 0; + if( a->nPayload!=b->nPayload ) return 0; + if( a->nLocal!=b->nLocal ) return 0; + if( a->nSize!=b->nSize ) return 0; + return 1; + } + static void assertCellInfo(BtCursor *pCur){ + CellInfo info; + memset(&info, 0, sizeof(info)); + btreeParseCell(pCur->pPage, pCur->ix, &info); + assert( CORRUPT_DB || cellInfoEqual(&info, &pCur->info) ); + } +#else + #define assertCellInfo(x) +#endif +static SQLITE_NOINLINE void getCellInfo(BtCursor *pCur){ + if( pCur->info.nSize==0 ){ + pCur->curFlags |= BTCF_ValidNKey; + btreeParseCell(pCur->pPage,pCur->ix,&pCur->info); + }else{ + assertCellInfo(pCur); + } +} + +#ifndef NDEBUG /* The next routine used only within assert() statements */ +/* +** Return true if the given BtCursor is valid. A valid cursor is one +** that is currently pointing to a row in a (non-empty) table. +** This is a verification routine is used only within assert() statements. +*/ +SQLITE_PRIVATE int sqlite3BtreeCursorIsValid(BtCursor *pCur){ + return pCur && pCur->eState==CURSOR_VALID; +} +#endif /* NDEBUG */ +SQLITE_PRIVATE int sqlite3BtreeCursorIsValidNN(BtCursor *pCur){ + assert( pCur!=0 ); + return pCur->eState==CURSOR_VALID; +} + +/* +** Return the value of the integer key or "rowid" for a table btree. +** This routine is only valid for a cursor that is pointing into a +** ordinary table btree. If the cursor points to an index btree or +** is invalid, the result of this routine is undefined. +*/ +SQLITE_PRIVATE i64 sqlite3BtreeIntegerKey(BtCursor *pCur){ + assert( cursorHoldsMutex(pCur) ); + assert( pCur->eState==CURSOR_VALID ); + assert( pCur->curIntKey ); + getCellInfo(pCur); + return pCur->info.nKey; +} + +#ifdef SQLITE_ENABLE_OFFSET_SQL_FUNC +/* +** Return the offset into the database file for the start of the +** payload to which the cursor is pointing. +*/ +SQLITE_PRIVATE i64 sqlite3BtreeOffset(BtCursor *pCur){ + assert( cursorHoldsMutex(pCur) ); + assert( pCur->eState==CURSOR_VALID ); + getCellInfo(pCur); + return (i64)pCur->pBt->pageSize*((i64)pCur->pPage->pgno - 1) + + (i64)(pCur->info.pPayload - pCur->pPage->aData); +} +#endif /* SQLITE_ENABLE_OFFSET_SQL_FUNC */ + +/* +** Return the number of bytes of payload for the entry that pCur is +** currently pointing to. For table btrees, this will be the amount +** of data. For index btrees, this will be the size of the key. +** +** The caller must guarantee that the cursor is pointing to a non-NULL +** valid entry. In other words, the calling procedure must guarantee +** that the cursor has Cursor.eState==CURSOR_VALID. +*/ +SQLITE_PRIVATE u32 sqlite3BtreePayloadSize(BtCursor *pCur){ + assert( cursorHoldsMutex(pCur) ); + assert( pCur->eState==CURSOR_VALID ); + getCellInfo(pCur); + return pCur->info.nPayload; +} + +/* +** Return an upper bound on the size of any record for the table +** that the cursor is pointing into. +** +** This is an optimization. Everything will still work if this +** routine always returns 2147483647 (which is the largest record +** that SQLite can handle) or more. But returning a smaller value might +** prevent large memory allocations when trying to interpret a +** corrupt datrabase. +** +** The current implementation merely returns the size of the underlying +** database file. +*/ +SQLITE_PRIVATE sqlite3_int64 sqlite3BtreeMaxRecordSize(BtCursor *pCur){ + assert( cursorHoldsMutex(pCur) ); + assert( pCur->eState==CURSOR_VALID ); + return pCur->pBt->pageSize * (sqlite3_int64)pCur->pBt->nPage; +} + +/* +** Given the page number of an overflow page in the database (parameter +** ovfl), this function finds the page number of the next page in the +** linked list of overflow pages. If possible, it uses the auto-vacuum +** pointer-map data instead of reading the content of page ovfl to do so. +** +** If an error occurs an SQLite error code is returned. Otherwise: +** +** The page number of the next overflow page in the linked list is +** written to *pPgnoNext. If page ovfl is the last page in its linked +** list, *pPgnoNext is set to zero. +** +** If ppPage is not NULL, and a reference to the MemPage object corresponding +** to page number pOvfl was obtained, then *ppPage is set to point to that +** reference. It is the responsibility of the caller to call releasePage() +** on *ppPage to free the reference. In no reference was obtained (because +** the pointer-map was used to obtain the value for *pPgnoNext), then +** *ppPage is set to zero. +*/ +static int getOverflowPage( + BtShared *pBt, /* The database file */ + Pgno ovfl, /* Current overflow page number */ + MemPage **ppPage, /* OUT: MemPage handle (may be NULL) */ + Pgno *pPgnoNext /* OUT: Next overflow page number */ +){ + Pgno next = 0; + MemPage *pPage = 0; + int rc = SQLITE_OK; + + assert( sqlite3_mutex_held(pBt->mutex) ); + assert(pPgnoNext); + +#ifndef SQLITE_OMIT_AUTOVACUUM + /* Try to find the next page in the overflow list using the + ** autovacuum pointer-map pages. Guess that the next page in + ** the overflow list is page number (ovfl+1). If that guess turns + ** out to be wrong, fall back to loading the data of page + ** number ovfl to determine the next page number. + */ + if( pBt->autoVacuum ){ + Pgno pgno; + Pgno iGuess = ovfl+1; + u8 eType; + + while( PTRMAP_ISPAGE(pBt, iGuess) || iGuess==PENDING_BYTE_PAGE(pBt) ){ + iGuess++; + } + + if( iGuess<=btreePagecount(pBt) ){ + rc = ptrmapGet(pBt, iGuess, &eType, &pgno); + if( rc==SQLITE_OK && eType==PTRMAP_OVERFLOW2 && pgno==ovfl ){ + next = iGuess; + rc = SQLITE_DONE; + } + } + } +#endif + + assert( next==0 || rc==SQLITE_DONE ); + if( rc==SQLITE_OK ){ + rc = btreeGetPage(pBt, ovfl, &pPage, (ppPage==0) ? PAGER_GET_READONLY : 0); + assert( rc==SQLITE_OK || pPage==0 ); + if( rc==SQLITE_OK ){ + next = get4byte(pPage->aData); + } + } + + *pPgnoNext = next; + if( ppPage ){ + *ppPage = pPage; + }else{ + releasePage(pPage); + } + return (rc==SQLITE_DONE ? SQLITE_OK : rc); +} + +/* +** Copy data from a buffer to a page, or from a page to a buffer. +** +** pPayload is a pointer to data stored on database page pDbPage. +** If argument eOp is false, then nByte bytes of data are copied +** from pPayload to the buffer pointed at by pBuf. If eOp is true, +** then sqlite3PagerWrite() is called on pDbPage and nByte bytes +** of data are copied from the buffer pBuf to pPayload. +** +** SQLITE_OK is returned on success, otherwise an error code. +*/ +static int copyPayload( + void *pPayload, /* Pointer to page data */ + void *pBuf, /* Pointer to buffer */ + int nByte, /* Number of bytes to copy */ + int eOp, /* 0 -> copy from page, 1 -> copy to page */ + DbPage *pDbPage /* Page containing pPayload */ +){ + if( eOp ){ + /* Copy data from buffer to page (a write operation) */ + int rc = sqlite3PagerWrite(pDbPage); + if( rc!=SQLITE_OK ){ + return rc; + } + memcpy(pPayload, pBuf, nByte); + }else{ + /* Copy data from page to buffer (a read operation) */ + memcpy(pBuf, pPayload, nByte); + } + return SQLITE_OK; +} + +/* +** This function is used to read or overwrite payload information +** for the entry that the pCur cursor is pointing to. The eOp +** argument is interpreted as follows: +** +** 0: The operation is a read. Populate the overflow cache. +** 1: The operation is a write. Populate the overflow cache. +** +** A total of "amt" bytes are read or written beginning at "offset". +** Data is read to or from the buffer pBuf. +** +** The content being read or written might appear on the main page +** or be scattered out on multiple overflow pages. +** +** If the current cursor entry uses one or more overflow pages +** this function may allocate space for and lazily populate +** the overflow page-list cache array (BtCursor.aOverflow). +** Subsequent calls use this cache to make seeking to the supplied offset +** more efficient. +** +** Once an overflow page-list cache has been allocated, it must be +** invalidated if some other cursor writes to the same table, or if +** the cursor is moved to a different row. Additionally, in auto-vacuum +** mode, the following events may invalidate an overflow page-list cache. +** +** * An incremental vacuum, +** * A commit in auto_vacuum="full" mode, +** * Creating a table (may require moving an overflow page). +*/ +static int accessPayload( + BtCursor *pCur, /* Cursor pointing to entry to read from */ + u32 offset, /* Begin reading this far into payload */ + u32 amt, /* Read this many bytes */ + unsigned char *pBuf, /* Write the bytes into this buffer */ + int eOp /* zero to read. non-zero to write. */ +){ + unsigned char *aPayload; + int rc = SQLITE_OK; + int iIdx = 0; + MemPage *pPage = pCur->pPage; /* Btree page of current entry */ + BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */ +#ifdef SQLITE_DIRECT_OVERFLOW_READ + unsigned char * const pBufStart = pBuf; /* Start of original out buffer */ +#endif + + assert( pPage ); + assert( eOp==0 || eOp==1 ); + assert( pCur->eState==CURSOR_VALID ); + assert( pCur->ixnCell ); + assert( cursorHoldsMutex(pCur) ); + + getCellInfo(pCur); + aPayload = pCur->info.pPayload; + assert( offset+amt <= pCur->info.nPayload ); + + assert( aPayload > pPage->aData ); + if( (uptr)(aPayload - pPage->aData) > (pBt->usableSize - pCur->info.nLocal) ){ + /* Trying to read or write past the end of the data is an error. The + ** conditional above is really: + ** &aPayload[pCur->info.nLocal] > &pPage->aData[pBt->usableSize] + ** but is recast into its current form to avoid integer overflow problems + */ + return SQLITE_CORRUPT_PAGE(pPage); + } + + /* Check if data must be read/written to/from the btree page itself. */ + if( offsetinfo.nLocal ){ + int a = amt; + if( a+offset>pCur->info.nLocal ){ + a = pCur->info.nLocal - offset; + } + rc = copyPayload(&aPayload[offset], pBuf, a, eOp, pPage->pDbPage); + offset = 0; + pBuf += a; + amt -= a; + }else{ + offset -= pCur->info.nLocal; + } + + + if( rc==SQLITE_OK && amt>0 ){ + const u32 ovflSize = pBt->usableSize - 4; /* Bytes content per ovfl page */ + Pgno nextPage; + + nextPage = get4byte(&aPayload[pCur->info.nLocal]); + + /* If the BtCursor.aOverflow[] has not been allocated, allocate it now. + ** + ** The aOverflow[] array is sized at one entry for each overflow page + ** in the overflow chain. The page number of the first overflow page is + ** stored in aOverflow[0], etc. A value of 0 in the aOverflow[] array + ** means "not yet known" (the cache is lazily populated). + */ + if( (pCur->curFlags & BTCF_ValidOvfl)==0 ){ + int nOvfl = (pCur->info.nPayload-pCur->info.nLocal+ovflSize-1)/ovflSize; + if( pCur->aOverflow==0 + || nOvfl*(int)sizeof(Pgno) > sqlite3MallocSize(pCur->aOverflow) + ){ + Pgno *aNew = (Pgno*)sqlite3Realloc( + pCur->aOverflow, nOvfl*2*sizeof(Pgno) + ); + if( aNew==0 ){ + return SQLITE_NOMEM_BKPT; + }else{ + pCur->aOverflow = aNew; + } + } + memset(pCur->aOverflow, 0, nOvfl*sizeof(Pgno)); + pCur->curFlags |= BTCF_ValidOvfl; + }else{ + /* If the overflow page-list cache has been allocated and the + ** entry for the first required overflow page is valid, skip + ** directly to it. + */ + if( pCur->aOverflow[offset/ovflSize] ){ + iIdx = (offset/ovflSize); + nextPage = pCur->aOverflow[iIdx]; + offset = (offset%ovflSize); + } + } + + assert( rc==SQLITE_OK && amt>0 ); + while( nextPage ){ + /* If required, populate the overflow page-list cache. */ + assert( pCur->aOverflow[iIdx]==0 + || pCur->aOverflow[iIdx]==nextPage + || CORRUPT_DB ); + pCur->aOverflow[iIdx] = nextPage; + + if( offset>=ovflSize ){ + /* The only reason to read this page is to obtain the page + ** number for the next page in the overflow chain. The page + ** data is not required. So first try to lookup the overflow + ** page-list cache, if any, then fall back to the getOverflowPage() + ** function. + */ + assert( pCur->curFlags & BTCF_ValidOvfl ); + assert( pCur->pBtree->db==pBt->db ); + if( pCur->aOverflow[iIdx+1] ){ + nextPage = pCur->aOverflow[iIdx+1]; + }else{ + rc = getOverflowPage(pBt, nextPage, 0, &nextPage); + } + offset -= ovflSize; + }else{ + /* Need to read this page properly. It contains some of the + ** range of data that is being read (eOp==0) or written (eOp!=0). + */ + int a = amt; + if( a + offset > ovflSize ){ + a = ovflSize - offset; + } + +#ifdef SQLITE_DIRECT_OVERFLOW_READ + /* If all the following are true: + ** + ** 1) this is a read operation, and + ** 2) data is required from the start of this overflow page, and + ** 3) there are no dirty pages in the page-cache + ** 4) the database is file-backed, and + ** 5) the page is not in the WAL file + ** 6) at least 4 bytes have already been read into the output buffer + ** + ** then data can be read directly from the database file into the + ** output buffer, bypassing the page-cache altogether. This speeds + ** up loading large records that span many overflow pages. + */ + if( eOp==0 /* (1) */ + && offset==0 /* (2) */ + && sqlite3PagerDirectReadOk(pBt->pPager, nextPage) /* (3,4,5) */ + && &pBuf[-4]>=pBufStart /* (6) */ + ){ + sqlite3_file *fd = sqlite3PagerFile(pBt->pPager); + u8 aSave[4]; + u8 *aWrite = &pBuf[-4]; + assert( aWrite>=pBufStart ); /* due to (6) */ + memcpy(aSave, aWrite, 4); + rc = sqlite3OsRead(fd, aWrite, a+4, (i64)pBt->pageSize*(nextPage-1)); + if( rc && nextPage>pBt->nPage ) rc = SQLITE_CORRUPT_BKPT; + nextPage = get4byte(aWrite); + memcpy(aWrite, aSave, 4); + }else +#endif + + { + DbPage *pDbPage; + rc = sqlite3PagerGet(pBt->pPager, nextPage, &pDbPage, + (eOp==0 ? PAGER_GET_READONLY : 0) + ); + if( rc==SQLITE_OK ){ + aPayload = sqlite3PagerGetData(pDbPage); + nextPage = get4byte(aPayload); + rc = copyPayload(&aPayload[offset+4], pBuf, a, eOp, pDbPage); + sqlite3PagerUnref(pDbPage); + offset = 0; + } + } + amt -= a; + if( amt==0 ) return rc; + pBuf += a; + } + if( rc ) break; + iIdx++; + } + } + + if( rc==SQLITE_OK && amt>0 ){ + /* Overflow chain ends prematurely */ + return SQLITE_CORRUPT_PAGE(pPage); + } + return rc; +} + +/* +** Read part of the payload for the row at which that cursor pCur is currently +** pointing. "amt" bytes will be transferred into pBuf[]. The transfer +** begins at "offset". +** +** pCur can be pointing to either a table or an index b-tree. +** If pointing to a table btree, then the content section is read. If +** pCur is pointing to an index b-tree then the key section is read. +** +** For sqlite3BtreePayload(), the caller must ensure that pCur is pointing +** to a valid row in the table. For sqlite3BtreePayloadChecked(), the +** cursor might be invalid or might need to be restored before being read. +** +** Return SQLITE_OK on success or an error code if anything goes +** wrong. An error is returned if "offset+amt" is larger than +** the available payload. +*/ +SQLITE_PRIVATE int sqlite3BtreePayload(BtCursor *pCur, u32 offset, u32 amt, void *pBuf){ + assert( cursorHoldsMutex(pCur) ); + assert( pCur->eState==CURSOR_VALID ); + assert( pCur->iPage>=0 && pCur->pPage ); + assert( pCur->ixpPage->nCell ); + return accessPayload(pCur, offset, amt, (unsigned char*)pBuf, 0); +} + +/* +** This variant of sqlite3BtreePayload() works even if the cursor has not +** in the CURSOR_VALID state. It is only used by the sqlite3_blob_read() +** interface. +*/ +#ifndef SQLITE_OMIT_INCRBLOB +static SQLITE_NOINLINE int accessPayloadChecked( + BtCursor *pCur, + u32 offset, + u32 amt, + void *pBuf +){ + int rc; + if ( pCur->eState==CURSOR_INVALID ){ + return SQLITE_ABORT; + } + assert( cursorOwnsBtShared(pCur) ); + rc = btreeRestoreCursorPosition(pCur); + return rc ? rc : accessPayload(pCur, offset, amt, pBuf, 0); +} +SQLITE_PRIVATE int sqlite3BtreePayloadChecked(BtCursor *pCur, u32 offset, u32 amt, void *pBuf){ + if( pCur->eState==CURSOR_VALID ){ + assert( cursorOwnsBtShared(pCur) ); + return accessPayload(pCur, offset, amt, pBuf, 0); + }else{ + return accessPayloadChecked(pCur, offset, amt, pBuf); + } +} +#endif /* SQLITE_OMIT_INCRBLOB */ + +/* +** Return a pointer to payload information from the entry that the +** pCur cursor is pointing to. The pointer is to the beginning of +** the key if index btrees (pPage->intKey==0) and is the data for +** table btrees (pPage->intKey==1). The number of bytes of available +** key/data is written into *pAmt. If *pAmt==0, then the value +** returned will not be a valid pointer. +** +** This routine is an optimization. It is common for the entire key +** and data to fit on the local page and for there to be no overflow +** pages. When that is so, this routine can be used to access the +** key and data without making a copy. If the key and/or data spills +** onto overflow pages, then accessPayload() must be used to reassemble +** the key/data and copy it into a preallocated buffer. +** +** The pointer returned by this routine looks directly into the cached +** page of the database. The data might change or move the next time +** any btree routine is called. +*/ +static const void *fetchPayload( + BtCursor *pCur, /* Cursor pointing to entry to read from */ + u32 *pAmt /* Write the number of available bytes here */ +){ + int amt; + assert( pCur!=0 && pCur->iPage>=0 && pCur->pPage); + assert( pCur->eState==CURSOR_VALID ); + assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); + assert( cursorOwnsBtShared(pCur) ); + assert( pCur->ixpPage->nCell ); + assert( pCur->info.nSize>0 ); + assert( pCur->info.pPayload>pCur->pPage->aData || CORRUPT_DB ); + assert( pCur->info.pPayloadpPage->aDataEnd ||CORRUPT_DB); + amt = pCur->info.nLocal; + if( amt>(int)(pCur->pPage->aDataEnd - pCur->info.pPayload) ){ + /* There is too little space on the page for the expected amount + ** of local content. Database must be corrupt. */ + assert( CORRUPT_DB ); + amt = MAX(0, (int)(pCur->pPage->aDataEnd - pCur->info.pPayload)); + } + *pAmt = (u32)amt; + return (void*)pCur->info.pPayload; +} + + +/* +** For the entry that cursor pCur is point to, return as +** many bytes of the key or data as are available on the local +** b-tree page. Write the number of available bytes into *pAmt. +** +** The pointer returned is ephemeral. The key/data may move +** or be destroyed on the next call to any Btree routine, +** including calls from other threads against the same cache. +** Hence, a mutex on the BtShared should be held prior to calling +** this routine. +** +** These routines is used to get quick access to key and data +** in the common case where no overflow pages are used. +*/ +SQLITE_PRIVATE const void *sqlite3BtreePayloadFetch(BtCursor *pCur, u32 *pAmt){ + return fetchPayload(pCur, pAmt); +} + + +/* +** Move the cursor down to a new child page. The newPgno argument is the +** page number of the child page to move to. +** +** This function returns SQLITE_CORRUPT if the page-header flags field of +** the new child page does not match the flags field of the parent (i.e. +** if an intkey page appears to be the parent of a non-intkey page, or +** vice-versa). +*/ +static int moveToChild(BtCursor *pCur, u32 newPgno){ + BtShared *pBt = pCur->pBt; + + assert( cursorOwnsBtShared(pCur) ); + assert( pCur->eState==CURSOR_VALID ); + assert( pCur->iPageiPage>=0 ); + if( pCur->iPage>=(BTCURSOR_MAX_DEPTH-1) ){ + return SQLITE_CORRUPT_BKPT; + } + pCur->info.nSize = 0; + pCur->curFlags &= ~(BTCF_ValidNKey|BTCF_ValidOvfl); + pCur->aiIdx[pCur->iPage] = pCur->ix; + pCur->apPage[pCur->iPage] = pCur->pPage; + pCur->ix = 0; + pCur->iPage++; + return getAndInitPage(pBt, newPgno, &pCur->pPage, pCur, pCur->curPagerFlags); +} + +#ifdef SQLITE_DEBUG +/* +** Page pParent is an internal (non-leaf) tree page. This function +** asserts that page number iChild is the left-child if the iIdx'th +** cell in page pParent. Or, if iIdx is equal to the total number of +** cells in pParent, that page number iChild is the right-child of +** the page. +*/ +static void assertParentIndex(MemPage *pParent, int iIdx, Pgno iChild){ + if( CORRUPT_DB ) return; /* The conditions tested below might not be true + ** in a corrupt database */ + assert( iIdx<=pParent->nCell ); + if( iIdx==pParent->nCell ){ + assert( get4byte(&pParent->aData[pParent->hdrOffset+8])==iChild ); + }else{ + assert( get4byte(findCell(pParent, iIdx))==iChild ); + } +} +#else +# define assertParentIndex(x,y,z) +#endif + +/* +** Move the cursor up to the parent page. +** +** pCur->idx is set to the cell index that contains the pointer +** to the page we are coming from. If we are coming from the +** right-most child page then pCur->idx is set to one more than +** the largest cell index. +*/ +static void moveToParent(BtCursor *pCur){ + MemPage *pLeaf; + assert( cursorOwnsBtShared(pCur) ); + assert( pCur->eState==CURSOR_VALID ); + assert( pCur->iPage>0 ); + assert( pCur->pPage ); + assertParentIndex( + pCur->apPage[pCur->iPage-1], + pCur->aiIdx[pCur->iPage-1], + pCur->pPage->pgno + ); + testcase( pCur->aiIdx[pCur->iPage-1] > pCur->apPage[pCur->iPage-1]->nCell ); + pCur->info.nSize = 0; + pCur->curFlags &= ~(BTCF_ValidNKey|BTCF_ValidOvfl); + pCur->ix = pCur->aiIdx[pCur->iPage-1]; + pLeaf = pCur->pPage; + pCur->pPage = pCur->apPage[--pCur->iPage]; + releasePageNotNull(pLeaf); +} + +/* +** Move the cursor to point to the root page of its b-tree structure. +** +** If the table has a virtual root page, then the cursor is moved to point +** to the virtual root page instead of the actual root page. A table has a +** virtual root page when the actual root page contains no cells and a +** single child page. This can only happen with the table rooted at page 1. +** +** If the b-tree structure is empty, the cursor state is set to +** CURSOR_INVALID and this routine returns SQLITE_EMPTY. Otherwise, +** the cursor is set to point to the first cell located on the root +** (or virtual root) page and the cursor state is set to CURSOR_VALID. +** +** If this function returns successfully, it may be assumed that the +** page-header flags indicate that the [virtual] root-page is the expected +** kind of b-tree page (i.e. if when opening the cursor the caller did not +** specify a KeyInfo structure the flags byte is set to 0x05 or 0x0D, +** indicating a table b-tree, or if the caller did specify a KeyInfo +** structure the flags byte is set to 0x02 or 0x0A, indicating an index +** b-tree). +*/ +static int moveToRoot(BtCursor *pCur){ + MemPage *pRoot; + int rc = SQLITE_OK; + + assert( cursorOwnsBtShared(pCur) ); + assert( CURSOR_INVALID < CURSOR_REQUIRESEEK ); + assert( CURSOR_VALID < CURSOR_REQUIRESEEK ); + assert( CURSOR_FAULT > CURSOR_REQUIRESEEK ); + assert( pCur->eState < CURSOR_REQUIRESEEK || pCur->iPage<0 ); + assert( pCur->pgnoRoot>0 || pCur->iPage<0 ); + + if( pCur->iPage>=0 ){ + if( pCur->iPage ){ + releasePageNotNull(pCur->pPage); + while( --pCur->iPage ){ + releasePageNotNull(pCur->apPage[pCur->iPage]); + } + pCur->pPage = pCur->apPage[0]; + goto skip_init; + } + }else if( pCur->pgnoRoot==0 ){ + pCur->eState = CURSOR_INVALID; + return SQLITE_EMPTY; + }else{ + assert( pCur->iPage==(-1) ); + if( pCur->eState>=CURSOR_REQUIRESEEK ){ + if( pCur->eState==CURSOR_FAULT ){ + assert( pCur->skipNext!=SQLITE_OK ); + return pCur->skipNext; + } + sqlite3BtreeClearCursor(pCur); + } + rc = getAndInitPage(pCur->pBtree->pBt, pCur->pgnoRoot, &pCur->pPage, + 0, pCur->curPagerFlags); + if( rc!=SQLITE_OK ){ + pCur->eState = CURSOR_INVALID; + return rc; + } + pCur->iPage = 0; + pCur->curIntKey = pCur->pPage->intKey; + } + pRoot = pCur->pPage; + assert( pRoot->pgno==pCur->pgnoRoot ); + + /* If pCur->pKeyInfo is not NULL, then the caller that opened this cursor + ** expected to open it on an index b-tree. Otherwise, if pKeyInfo is + ** NULL, the caller expects a table b-tree. If this is not the case, + ** return an SQLITE_CORRUPT error. + ** + ** Earlier versions of SQLite assumed that this test could not fail + ** if the root page was already loaded when this function was called (i.e. + ** if pCur->iPage>=0). But this is not so if the database is corrupted + ** in such a way that page pRoot is linked into a second b-tree table + ** (or the freelist). */ + assert( pRoot->intKey==1 || pRoot->intKey==0 ); + if( pRoot->isInit==0 || (pCur->pKeyInfo==0)!=pRoot->intKey ){ + return SQLITE_CORRUPT_PAGE(pCur->pPage); + } + +skip_init: + pCur->ix = 0; + pCur->info.nSize = 0; + pCur->curFlags &= ~(BTCF_AtLast|BTCF_ValidNKey|BTCF_ValidOvfl); + + pRoot = pCur->pPage; + if( pRoot->nCell>0 ){ + pCur->eState = CURSOR_VALID; + }else if( !pRoot->leaf ){ + Pgno subpage; + if( pRoot->pgno!=1 ) return SQLITE_CORRUPT_BKPT; + subpage = get4byte(&pRoot->aData[pRoot->hdrOffset+8]); + pCur->eState = CURSOR_VALID; + rc = moveToChild(pCur, subpage); + }else{ + pCur->eState = CURSOR_INVALID; + rc = SQLITE_EMPTY; + } + return rc; +} + +/* +** Move the cursor down to the left-most leaf entry beneath the +** entry to which it is currently pointing. +** +** The left-most leaf is the one with the smallest key - the first +** in ascending order. +*/ +static int moveToLeftmost(BtCursor *pCur){ + Pgno pgno; + int rc = SQLITE_OK; + MemPage *pPage; + + assert( cursorOwnsBtShared(pCur) ); + assert( pCur->eState==CURSOR_VALID ); + while( rc==SQLITE_OK && !(pPage = pCur->pPage)->leaf ){ + assert( pCur->ixnCell ); + pgno = get4byte(findCell(pPage, pCur->ix)); + rc = moveToChild(pCur, pgno); + } + return rc; +} + +/* +** Move the cursor down to the right-most leaf entry beneath the +** page to which it is currently pointing. Notice the difference +** between moveToLeftmost() and moveToRightmost(). moveToLeftmost() +** finds the left-most entry beneath the *entry* whereas moveToRightmost() +** finds the right-most entry beneath the *page*. +** +** The right-most entry is the one with the largest key - the last +** key in ascending order. +*/ +static int moveToRightmost(BtCursor *pCur){ + Pgno pgno; + int rc = SQLITE_OK; + MemPage *pPage = 0; + + assert( cursorOwnsBtShared(pCur) ); + assert( pCur->eState==CURSOR_VALID ); + while( !(pPage = pCur->pPage)->leaf ){ + pgno = get4byte(&pPage->aData[pPage->hdrOffset+8]); + pCur->ix = pPage->nCell; + rc = moveToChild(pCur, pgno); + if( rc ) return rc; + } + pCur->ix = pPage->nCell-1; + assert( pCur->info.nSize==0 ); + assert( (pCur->curFlags & BTCF_ValidNKey)==0 ); + return SQLITE_OK; +} + +/* Move the cursor to the first entry in the table. Return SQLITE_OK +** on success. Set *pRes to 0 if the cursor actually points to something +** or set *pRes to 1 if the table is empty. +*/ +SQLITE_PRIVATE int sqlite3BtreeFirst(BtCursor *pCur, int *pRes){ + int rc; + + assert( cursorOwnsBtShared(pCur) ); + assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); + rc = moveToRoot(pCur); + if( rc==SQLITE_OK ){ + assert( pCur->pPage->nCell>0 ); + *pRes = 0; + rc = moveToLeftmost(pCur); + }else if( rc==SQLITE_EMPTY ){ + assert( pCur->pgnoRoot==0 || pCur->pPage->nCell==0 ); + *pRes = 1; + rc = SQLITE_OK; + } + return rc; +} + +/* Move the cursor to the last entry in the table. Return SQLITE_OK +** on success. Set *pRes to 0 if the cursor actually points to something +** or set *pRes to 1 if the table is empty. +*/ +SQLITE_PRIVATE int sqlite3BtreeLast(BtCursor *pCur, int *pRes){ + int rc; + + assert( cursorOwnsBtShared(pCur) ); + assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); + + /* If the cursor already points to the last entry, this is a no-op. */ + if( CURSOR_VALID==pCur->eState && (pCur->curFlags & BTCF_AtLast)!=0 ){ +#ifdef SQLITE_DEBUG + /* This block serves to assert() that the cursor really does point + ** to the last entry in the b-tree. */ + int ii; + for(ii=0; iiiPage; ii++){ + assert( pCur->aiIdx[ii]==pCur->apPage[ii]->nCell ); + } + assert( pCur->ix==pCur->pPage->nCell-1 ); + assert( pCur->pPage->leaf ); +#endif + *pRes = 0; + return SQLITE_OK; + } + + rc = moveToRoot(pCur); + if( rc==SQLITE_OK ){ + assert( pCur->eState==CURSOR_VALID ); + *pRes = 0; + rc = moveToRightmost(pCur); + if( rc==SQLITE_OK ){ + pCur->curFlags |= BTCF_AtLast; + }else{ + pCur->curFlags &= ~BTCF_AtLast; + } + }else if( rc==SQLITE_EMPTY ){ + assert( pCur->pgnoRoot==0 || pCur->pPage->nCell==0 ); + *pRes = 1; + rc = SQLITE_OK; + } + return rc; +} + +/* Move the cursor so that it points to an entry near the key +** specified by pIdxKey or intKey. Return a success code. +** +** For INTKEY tables, the intKey parameter is used. pIdxKey +** must be NULL. For index tables, pIdxKey is used and intKey +** is ignored. +** +** If an exact match is not found, then the cursor is always +** left pointing at a leaf page which would hold the entry if it +** were present. The cursor might point to an entry that comes +** before or after the key. +** +** An integer is written into *pRes which is the result of +** comparing the key with the entry to which the cursor is +** pointing. The meaning of the integer written into +** *pRes is as follows: +** +** *pRes<0 The cursor is left pointing at an entry that +** is smaller than intKey/pIdxKey or if the table is empty +** and the cursor is therefore left point to nothing. +** +** *pRes==0 The cursor is left pointing at an entry that +** exactly matches intKey/pIdxKey. +** +** *pRes>0 The cursor is left pointing at an entry that +** is larger than intKey/pIdxKey. +** +** For index tables, the pIdxKey->eqSeen field is set to 1 if there +** exists an entry in the table that exactly matches pIdxKey. +*/ +SQLITE_PRIVATE int sqlite3BtreeMovetoUnpacked( + BtCursor *pCur, /* The cursor to be moved */ + UnpackedRecord *pIdxKey, /* Unpacked index key */ + i64 intKey, /* The table key */ + int biasRight, /* If true, bias the search to the high end */ + int *pRes /* Write search results here */ +){ + int rc; + RecordCompare xRecordCompare; + + assert( cursorOwnsBtShared(pCur) ); + assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); + assert( pRes ); + assert( (pIdxKey==0)==(pCur->pKeyInfo==0) ); + assert( pCur->eState!=CURSOR_VALID || (pIdxKey==0)==(pCur->curIntKey!=0) ); + + /* If the cursor is already positioned at the point we are trying + ** to move to, then just return without doing any work */ + if( pIdxKey==0 + && pCur->eState==CURSOR_VALID && (pCur->curFlags & BTCF_ValidNKey)!=0 + ){ + if( pCur->info.nKey==intKey ){ + *pRes = 0; + return SQLITE_OK; + } + if( pCur->info.nKeycurFlags & BTCF_AtLast)!=0 ){ + *pRes = -1; + return SQLITE_OK; + } + /* If the requested key is one more than the previous key, then + ** try to get there using sqlite3BtreeNext() rather than a full + ** binary search. This is an optimization only. The correct answer + ** is still obtained without this case, only a little more slowely */ + if( pCur->info.nKey+1==intKey ){ + *pRes = 0; + rc = sqlite3BtreeNext(pCur, 0); + if( rc==SQLITE_OK ){ + getCellInfo(pCur); + if( pCur->info.nKey==intKey ){ + return SQLITE_OK; + } + }else if( rc==SQLITE_DONE ){ + rc = SQLITE_OK; + }else{ + return rc; + } + } + } + } + + if( pIdxKey ){ + xRecordCompare = sqlite3VdbeFindCompare(pIdxKey); + pIdxKey->errCode = 0; + assert( pIdxKey->default_rc==1 + || pIdxKey->default_rc==0 + || pIdxKey->default_rc==-1 + ); + }else{ + xRecordCompare = 0; /* All keys are integers */ + } + + rc = moveToRoot(pCur); + if( rc ){ + if( rc==SQLITE_EMPTY ){ + assert( pCur->pgnoRoot==0 || pCur->pPage->nCell==0 ); + *pRes = -1; + return SQLITE_OK; + } + return rc; + } + assert( pCur->pPage ); + assert( pCur->pPage->isInit ); + assert( pCur->eState==CURSOR_VALID ); + assert( pCur->pPage->nCell > 0 ); + assert( pCur->iPage==0 || pCur->apPage[0]->intKey==pCur->curIntKey ); + assert( pCur->curIntKey || pIdxKey ); + for(;;){ + int lwr, upr, idx, c; + Pgno chldPg; + MemPage *pPage = pCur->pPage; + u8 *pCell; /* Pointer to current cell in pPage */ + + /* pPage->nCell must be greater than zero. If this is the root-page + ** the cursor would have been INVALID above and this for(;;) loop + ** not run. If this is not the root-page, then the moveToChild() routine + ** would have already detected db corruption. Similarly, pPage must + ** be the right kind (index or table) of b-tree page. Otherwise + ** a moveToChild() or moveToRoot() call would have detected corruption. */ + assert( pPage->nCell>0 ); + assert( pPage->intKey==(pIdxKey==0) ); + lwr = 0; + upr = pPage->nCell-1; + assert( biasRight==0 || biasRight==1 ); + idx = upr>>(1-biasRight); /* idx = biasRight ? upr : (lwr+upr)/2; */ + pCur->ix = (u16)idx; + if( xRecordCompare==0 ){ + for(;;){ + i64 nCellKey; + pCell = findCellPastPtr(pPage, idx); + if( pPage->intKeyLeaf ){ + while( 0x80 <= *(pCell++) ){ + if( pCell>=pPage->aDataEnd ){ + return SQLITE_CORRUPT_PAGE(pPage); + } + } + } + getVarint(pCell, (u64*)&nCellKey); + if( nCellKeyupr ){ c = -1; break; } + }else if( nCellKey>intKey ){ + upr = idx-1; + if( lwr>upr ){ c = +1; break; } + }else{ + assert( nCellKey==intKey ); + pCur->ix = (u16)idx; + if( !pPage->leaf ){ + lwr = idx; + goto moveto_next_layer; + }else{ + pCur->curFlags |= BTCF_ValidNKey; + pCur->info.nKey = nCellKey; + pCur->info.nSize = 0; + *pRes = 0; + return SQLITE_OK; + } + } + assert( lwr+upr>=0 ); + idx = (lwr+upr)>>1; /* idx = (lwr+upr)/2; */ + } + }else{ + for(;;){ + int nCell; /* Size of the pCell cell in bytes */ + pCell = findCellPastPtr(pPage, idx); + + /* The maximum supported page-size is 65536 bytes. This means that + ** the maximum number of record bytes stored on an index B-Tree + ** page is less than 16384 bytes and may be stored as a 2-byte + ** varint. This information is used to attempt to avoid parsing + ** the entire cell by checking for the cases where the record is + ** stored entirely within the b-tree page by inspecting the first + ** 2 bytes of the cell. + */ + nCell = pCell[0]; + if( nCell<=pPage->max1bytePayload ){ + /* This branch runs if the record-size field of the cell is a + ** single byte varint and the record fits entirely on the main + ** b-tree page. */ + testcase( pCell+nCell+1==pPage->aDataEnd ); + c = xRecordCompare(nCell, (void*)&pCell[1], pIdxKey); + }else if( !(pCell[1] & 0x80) + && (nCell = ((nCell&0x7f)<<7) + pCell[1])<=pPage->maxLocal + ){ + /* The record-size field is a 2 byte varint and the record + ** fits entirely on the main b-tree page. */ + testcase( pCell+nCell+2==pPage->aDataEnd ); + c = xRecordCompare(nCell, (void*)&pCell[2], pIdxKey); + }else{ + /* The record flows over onto one or more overflow pages. In + ** this case the whole cell needs to be parsed, a buffer allocated + ** and accessPayload() used to retrieve the record into the + ** buffer before VdbeRecordCompare() can be called. + ** + ** If the record is corrupt, the xRecordCompare routine may read + ** up to two varints past the end of the buffer. An extra 18 + ** bytes of padding is allocated at the end of the buffer in + ** case this happens. */ + void *pCellKey; + u8 * const pCellBody = pCell - pPage->childPtrSize; + const int nOverrun = 18; /* Size of the overrun padding */ + pPage->xParseCell(pPage, pCellBody, &pCur->info); + nCell = (int)pCur->info.nKey; + testcase( nCell<0 ); /* True if key size is 2^32 or more */ + testcase( nCell==0 ); /* Invalid key size: 0x80 0x80 0x00 */ + testcase( nCell==1 ); /* Invalid key size: 0x80 0x80 0x01 */ + testcase( nCell==2 ); /* Minimum legal index key size */ + if( nCell<2 || nCell/pCur->pBt->usableSize>pCur->pBt->nPage ){ + rc = SQLITE_CORRUPT_PAGE(pPage); + goto moveto_finish; + } + pCellKey = sqlite3Malloc( nCell+nOverrun ); + if( pCellKey==0 ){ + rc = SQLITE_NOMEM_BKPT; + goto moveto_finish; + } + pCur->ix = (u16)idx; + rc = accessPayload(pCur, 0, nCell, (unsigned char*)pCellKey, 0); + memset(((u8*)pCellKey)+nCell,0,nOverrun); /* Fix uninit warnings */ + pCur->curFlags &= ~BTCF_ValidOvfl; + if( rc ){ + sqlite3_free(pCellKey); + goto moveto_finish; + } + c = sqlite3VdbeRecordCompare(nCell, pCellKey, pIdxKey); + sqlite3_free(pCellKey); + } + assert( + (pIdxKey->errCode!=SQLITE_CORRUPT || c==0) + && (pIdxKey->errCode!=SQLITE_NOMEM || pCur->pBtree->db->mallocFailed) + ); + if( c<0 ){ + lwr = idx+1; + }else if( c>0 ){ + upr = idx-1; + }else{ + assert( c==0 ); + *pRes = 0; + rc = SQLITE_OK; + pCur->ix = (u16)idx; + if( pIdxKey->errCode ) rc = SQLITE_CORRUPT_BKPT; + goto moveto_finish; + } + if( lwr>upr ) break; + assert( lwr+upr>=0 ); + idx = (lwr+upr)>>1; /* idx = (lwr+upr)/2 */ + } + } + assert( lwr==upr+1 || (pPage->intKey && !pPage->leaf) ); + assert( pPage->isInit ); + if( pPage->leaf ){ + assert( pCur->ixpPage->nCell ); + pCur->ix = (u16)idx; + *pRes = c; + rc = SQLITE_OK; + goto moveto_finish; + } +moveto_next_layer: + if( lwr>=pPage->nCell ){ + chldPg = get4byte(&pPage->aData[pPage->hdrOffset+8]); + }else{ + chldPg = get4byte(findCell(pPage, lwr)); + } + pCur->ix = (u16)lwr; + rc = moveToChild(pCur, chldPg); + if( rc ) break; + } +moveto_finish: + pCur->info.nSize = 0; + assert( (pCur->curFlags & BTCF_ValidOvfl)==0 ); + return rc; +} + + +/* +** Return TRUE if the cursor is not pointing at an entry of the table. +** +** TRUE will be returned after a call to sqlite3BtreeNext() moves +** past the last entry in the table or sqlite3BtreePrev() moves past +** the first entry. TRUE is also returned if the table is empty. +*/ +SQLITE_PRIVATE int sqlite3BtreeEof(BtCursor *pCur){ + /* TODO: What if the cursor is in CURSOR_REQUIRESEEK but all table entries + ** have been deleted? This API will need to change to return an error code + ** as well as the boolean result value. + */ + return (CURSOR_VALID!=pCur->eState); +} + +/* +** Return an estimate for the number of rows in the table that pCur is +** pointing to. Return a negative number if no estimate is currently +** available. +*/ +SQLITE_PRIVATE i64 sqlite3BtreeRowCountEst(BtCursor *pCur){ + i64 n; + u8 i; + + assert( cursorOwnsBtShared(pCur) ); + assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); + + /* Currently this interface is only called by the OP_IfSmaller + ** opcode, and it that case the cursor will always be valid and + ** will always point to a leaf node. */ + if( NEVER(pCur->eState!=CURSOR_VALID) ) return -1; + if( NEVER(pCur->pPage->leaf==0) ) return -1; + + n = pCur->pPage->nCell; + for(i=0; iiPage; i++){ + n *= pCur->apPage[i]->nCell; + } + return n; +} + +/* +** Advance the cursor to the next entry in the database. +** Return value: +** +** SQLITE_OK success +** SQLITE_DONE cursor is already pointing at the last element +** otherwise some kind of error occurred +** +** The main entry point is sqlite3BtreeNext(). That routine is optimized +** for the common case of merely incrementing the cell counter BtCursor.aiIdx +** to the next cell on the current page. The (slower) btreeNext() helper +** routine is called when it is necessary to move to a different page or +** to restore the cursor. +** +** If bit 0x01 of the F argument in sqlite3BtreeNext(C,F) is 1, then the +** cursor corresponds to an SQL index and this routine could have been +** skipped if the SQL index had been a unique index. The F argument +** is a hint to the implement. SQLite btree implementation does not use +** this hint, but COMDB2 does. +*/ +static SQLITE_NOINLINE int btreeNext(BtCursor *pCur){ + int rc; + int idx; + MemPage *pPage; + + assert( cursorOwnsBtShared(pCur) ); + if( pCur->eState!=CURSOR_VALID ){ + assert( (pCur->curFlags & BTCF_ValidOvfl)==0 ); + rc = restoreCursorPosition(pCur); + if( rc!=SQLITE_OK ){ + return rc; + } + if( CURSOR_INVALID==pCur->eState ){ + return SQLITE_DONE; + } + if( pCur->eState==CURSOR_SKIPNEXT ){ + pCur->eState = CURSOR_VALID; + if( pCur->skipNext>0 ) return SQLITE_OK; + } + } + + pPage = pCur->pPage; + idx = ++pCur->ix; + if( !pPage->isInit ){ + /* The only known way for this to happen is for there to be a + ** recursive SQL function that does a DELETE operation as part of a + ** SELECT which deletes content out from under an active cursor + ** in a corrupt database file where the table being DELETE-ed from + ** has pages in common with the table being queried. See TH3 + ** module cov1/btree78.test testcase 220 (2018-06-08) for an + ** example. */ + return SQLITE_CORRUPT_BKPT; + } + + /* If the database file is corrupt, it is possible for the value of idx + ** to be invalid here. This can only occur if a second cursor modifies + ** the page while cursor pCur is holding a reference to it. Which can + ** only happen if the database is corrupt in such a way as to link the + ** page into more than one b-tree structure. */ + testcase( idx>pPage->nCell ); + + if( idx>=pPage->nCell ){ + if( !pPage->leaf ){ + rc = moveToChild(pCur, get4byte(&pPage->aData[pPage->hdrOffset+8])); + if( rc ) return rc; + return moveToLeftmost(pCur); + } + do{ + if( pCur->iPage==0 ){ + pCur->eState = CURSOR_INVALID; + return SQLITE_DONE; + } + moveToParent(pCur); + pPage = pCur->pPage; + }while( pCur->ix>=pPage->nCell ); + if( pPage->intKey ){ + return sqlite3BtreeNext(pCur, 0); + }else{ + return SQLITE_OK; + } + } + if( pPage->leaf ){ + return SQLITE_OK; + }else{ + return moveToLeftmost(pCur); + } +} +SQLITE_PRIVATE int sqlite3BtreeNext(BtCursor *pCur, int flags){ + MemPage *pPage; + UNUSED_PARAMETER( flags ); /* Used in COMDB2 but not native SQLite */ + assert( cursorOwnsBtShared(pCur) ); + assert( flags==0 || flags==1 ); + pCur->info.nSize = 0; + pCur->curFlags &= ~(BTCF_ValidNKey|BTCF_ValidOvfl); + if( pCur->eState!=CURSOR_VALID ) return btreeNext(pCur); + pPage = pCur->pPage; + if( (++pCur->ix)>=pPage->nCell ){ + pCur->ix--; + return btreeNext(pCur); + } + if( pPage->leaf ){ + return SQLITE_OK; + }else{ + return moveToLeftmost(pCur); + } +} + +/* +** Step the cursor to the back to the previous entry in the database. +** Return values: +** +** SQLITE_OK success +** SQLITE_DONE the cursor is already on the first element of the table +** otherwise some kind of error occurred +** +** The main entry point is sqlite3BtreePrevious(). That routine is optimized +** for the common case of merely decrementing the cell counter BtCursor.aiIdx +** to the previous cell on the current page. The (slower) btreePrevious() +** helper routine is called when it is necessary to move to a different page +** or to restore the cursor. +** +** If bit 0x01 of the F argument to sqlite3BtreePrevious(C,F) is 1, then +** the cursor corresponds to an SQL index and this routine could have been +** skipped if the SQL index had been a unique index. The F argument is a +** hint to the implement. The native SQLite btree implementation does not +** use this hint, but COMDB2 does. +*/ +static SQLITE_NOINLINE int btreePrevious(BtCursor *pCur){ + int rc; + MemPage *pPage; + + assert( cursorOwnsBtShared(pCur) ); + assert( (pCur->curFlags & (BTCF_AtLast|BTCF_ValidOvfl|BTCF_ValidNKey))==0 ); + assert( pCur->info.nSize==0 ); + if( pCur->eState!=CURSOR_VALID ){ + rc = restoreCursorPosition(pCur); + if( rc!=SQLITE_OK ){ + return rc; + } + if( CURSOR_INVALID==pCur->eState ){ + return SQLITE_DONE; + } + if( CURSOR_SKIPNEXT==pCur->eState ){ + pCur->eState = CURSOR_VALID; + if( pCur->skipNext<0 ) return SQLITE_OK; + } + } + + pPage = pCur->pPage; + assert( pPage->isInit ); + if( !pPage->leaf ){ + int idx = pCur->ix; + rc = moveToChild(pCur, get4byte(findCell(pPage, idx))); + if( rc ) return rc; + rc = moveToRightmost(pCur); + }else{ + while( pCur->ix==0 ){ + if( pCur->iPage==0 ){ + pCur->eState = CURSOR_INVALID; + return SQLITE_DONE; + } + moveToParent(pCur); + } + assert( pCur->info.nSize==0 ); + assert( (pCur->curFlags & (BTCF_ValidOvfl))==0 ); + + pCur->ix--; + pPage = pCur->pPage; + if( pPage->intKey && !pPage->leaf ){ + rc = sqlite3BtreePrevious(pCur, 0); + }else{ + rc = SQLITE_OK; + } + } + return rc; +} +SQLITE_PRIVATE int sqlite3BtreePrevious(BtCursor *pCur, int flags){ + assert( cursorOwnsBtShared(pCur) ); + assert( flags==0 || flags==1 ); + UNUSED_PARAMETER( flags ); /* Used in COMDB2 but not native SQLite */ + pCur->curFlags &= ~(BTCF_AtLast|BTCF_ValidOvfl|BTCF_ValidNKey); + pCur->info.nSize = 0; + if( pCur->eState!=CURSOR_VALID + || pCur->ix==0 + || pCur->pPage->leaf==0 + ){ + return btreePrevious(pCur); + } + pCur->ix--; + return SQLITE_OK; +} + +/* +** Allocate a new page from the database file. +** +** The new page is marked as dirty. (In other words, sqlite3PagerWrite() +** has already been called on the new page.) The new page has also +** been referenced and the calling routine is responsible for calling +** sqlite3PagerUnref() on the new page when it is done. +** +** SQLITE_OK is returned on success. Any other return value indicates +** an error. *ppPage is set to NULL in the event of an error. +** +** If the "nearby" parameter is not 0, then an effort is made to +** locate a page close to the page number "nearby". This can be used in an +** attempt to keep related pages close to each other in the database file, +** which in turn can make database access faster. +** +** If the eMode parameter is BTALLOC_EXACT and the nearby page exists +** anywhere on the free-list, then it is guaranteed to be returned. If +** eMode is BTALLOC_LT then the page returned will be less than or equal +** to nearby if any such page exists. If eMode is BTALLOC_ANY then there +** are no restrictions on which page is returned. +*/ +static int allocateBtreePage( + BtShared *pBt, /* The btree */ + MemPage **ppPage, /* Store pointer to the allocated page here */ + Pgno *pPgno, /* Store the page number here */ + Pgno nearby, /* Search for a page near this one */ + u8 eMode /* BTALLOC_EXACT, BTALLOC_LT, or BTALLOC_ANY */ +){ + MemPage *pPage1; + int rc; + u32 n; /* Number of pages on the freelist */ + u32 k; /* Number of leaves on the trunk of the freelist */ + MemPage *pTrunk = 0; + MemPage *pPrevTrunk = 0; + Pgno mxPage; /* Total size of the database file */ + + assert( sqlite3_mutex_held(pBt->mutex) ); + assert( eMode==BTALLOC_ANY || (nearby>0 && IfNotOmitAV(pBt->autoVacuum)) ); + pPage1 = pBt->pPage1; + mxPage = btreePagecount(pBt); + /* EVIDENCE-OF: R-05119-02637 The 4-byte big-endian integer at offset 36 + ** stores stores the total number of pages on the freelist. */ + n = get4byte(&pPage1->aData[36]); + testcase( n==mxPage-1 ); + if( n>=mxPage ){ + return SQLITE_CORRUPT_BKPT; + } + if( n>0 ){ + /* There are pages on the freelist. Reuse one of those pages. */ + Pgno iTrunk; + u8 searchList = 0; /* If the free-list must be searched for 'nearby' */ + u32 nSearch = 0; /* Count of the number of search attempts */ + + /* If eMode==BTALLOC_EXACT and a query of the pointer-map + ** shows that the page 'nearby' is somewhere on the free-list, then + ** the entire-list will be searched for that page. + */ +#ifndef SQLITE_OMIT_AUTOVACUUM + if( eMode==BTALLOC_EXACT ){ + if( nearby<=mxPage ){ + u8 eType; + assert( nearby>0 ); + assert( pBt->autoVacuum ); + rc = ptrmapGet(pBt, nearby, &eType, 0); + if( rc ) return rc; + if( eType==PTRMAP_FREEPAGE ){ + searchList = 1; + } + } + }else if( eMode==BTALLOC_LE ){ + searchList = 1; + } +#endif + + /* Decrement the free-list count by 1. Set iTrunk to the index of the + ** first free-list trunk page. iPrevTrunk is initially 1. + */ + rc = sqlite3PagerWrite(pPage1->pDbPage); + if( rc ) return rc; + put4byte(&pPage1->aData[36], n-1); + + /* The code within this loop is run only once if the 'searchList' variable + ** is not true. Otherwise, it runs once for each trunk-page on the + ** free-list until the page 'nearby' is located (eMode==BTALLOC_EXACT) + ** or until a page less than 'nearby' is located (eMode==BTALLOC_LT) + */ + do { + pPrevTrunk = pTrunk; + if( pPrevTrunk ){ + /* EVIDENCE-OF: R-01506-11053 The first integer on a freelist trunk page + ** is the page number of the next freelist trunk page in the list or + ** zero if this is the last freelist trunk page. */ + iTrunk = get4byte(&pPrevTrunk->aData[0]); + }else{ + /* EVIDENCE-OF: R-59841-13798 The 4-byte big-endian integer at offset 32 + ** stores the page number of the first page of the freelist, or zero if + ** the freelist is empty. */ + iTrunk = get4byte(&pPage1->aData[32]); + } + testcase( iTrunk==mxPage ); + if( iTrunk>mxPage || nSearch++ > n ){ + rc = SQLITE_CORRUPT_PGNO(pPrevTrunk ? pPrevTrunk->pgno : 1); + }else{ + rc = btreeGetUnusedPage(pBt, iTrunk, &pTrunk, 0); + } + if( rc ){ + pTrunk = 0; + goto end_allocate_page; + } + assert( pTrunk!=0 ); + assert( pTrunk->aData!=0 ); + /* EVIDENCE-OF: R-13523-04394 The second integer on a freelist trunk page + ** is the number of leaf page pointers to follow. */ + k = get4byte(&pTrunk->aData[4]); + if( k==0 && !searchList ){ + /* The trunk has no leaves and the list is not being searched. + ** So extract the trunk page itself and use it as the newly + ** allocated page */ + assert( pPrevTrunk==0 ); + rc = sqlite3PagerWrite(pTrunk->pDbPage); + if( rc ){ + goto end_allocate_page; + } + *pPgno = iTrunk; + memcpy(&pPage1->aData[32], &pTrunk->aData[0], 4); + *ppPage = pTrunk; + pTrunk = 0; + TRACE(("ALLOCATE: %d trunk - %d free pages left\n", *pPgno, n-1)); + }else if( k>(u32)(pBt->usableSize/4 - 2) ){ + /* Value of k is out of range. Database corruption */ + rc = SQLITE_CORRUPT_PGNO(iTrunk); + goto end_allocate_page; +#ifndef SQLITE_OMIT_AUTOVACUUM + }else if( searchList + && (nearby==iTrunk || (iTrunkpDbPage); + if( rc ){ + goto end_allocate_page; + } + if( k==0 ){ + if( !pPrevTrunk ){ + memcpy(&pPage1->aData[32], &pTrunk->aData[0], 4); + }else{ + rc = sqlite3PagerWrite(pPrevTrunk->pDbPage); + if( rc!=SQLITE_OK ){ + goto end_allocate_page; + } + memcpy(&pPrevTrunk->aData[0], &pTrunk->aData[0], 4); + } + }else{ + /* The trunk page is required by the caller but it contains + ** pointers to free-list leaves. The first leaf becomes a trunk + ** page in this case. + */ + MemPage *pNewTrunk; + Pgno iNewTrunk = get4byte(&pTrunk->aData[8]); + if( iNewTrunk>mxPage ){ + rc = SQLITE_CORRUPT_PGNO(iTrunk); + goto end_allocate_page; + } + testcase( iNewTrunk==mxPage ); + rc = btreeGetUnusedPage(pBt, iNewTrunk, &pNewTrunk, 0); + if( rc!=SQLITE_OK ){ + goto end_allocate_page; + } + rc = sqlite3PagerWrite(pNewTrunk->pDbPage); + if( rc!=SQLITE_OK ){ + releasePage(pNewTrunk); + goto end_allocate_page; + } + memcpy(&pNewTrunk->aData[0], &pTrunk->aData[0], 4); + put4byte(&pNewTrunk->aData[4], k-1); + memcpy(&pNewTrunk->aData[8], &pTrunk->aData[12], (k-1)*4); + releasePage(pNewTrunk); + if( !pPrevTrunk ){ + assert( sqlite3PagerIswriteable(pPage1->pDbPage) ); + put4byte(&pPage1->aData[32], iNewTrunk); + }else{ + rc = sqlite3PagerWrite(pPrevTrunk->pDbPage); + if( rc ){ + goto end_allocate_page; + } + put4byte(&pPrevTrunk->aData[0], iNewTrunk); + } + } + pTrunk = 0; + TRACE(("ALLOCATE: %d trunk - %d free pages left\n", *pPgno, n-1)); +#endif + }else if( k>0 ){ + /* Extract a leaf from the trunk */ + u32 closest; + Pgno iPage; + unsigned char *aData = pTrunk->aData; + if( nearby>0 ){ + u32 i; + closest = 0; + if( eMode==BTALLOC_LE ){ + for(i=0; imxPage ){ + rc = SQLITE_CORRUPT_PGNO(iTrunk); + goto end_allocate_page; + } + testcase( iPage==mxPage ); + if( !searchList + || (iPage==nearby || (iPagepgno, n-1)); + rc = sqlite3PagerWrite(pTrunk->pDbPage); + if( rc ) goto end_allocate_page; + if( closestpDbPage); + if( rc!=SQLITE_OK ){ + releasePage(*ppPage); + *ppPage = 0; + } + } + searchList = 0; + } + } + releasePage(pPrevTrunk); + pPrevTrunk = 0; + }while( searchList ); + }else{ + /* There are no pages on the freelist, so append a new page to the + ** database image. + ** + ** Normally, new pages allocated by this block can be requested from the + ** pager layer with the 'no-content' flag set. This prevents the pager + ** from trying to read the pages content from disk. However, if the + ** current transaction has already run one or more incremental-vacuum + ** steps, then the page we are about to allocate may contain content + ** that is required in the event of a rollback. In this case, do + ** not set the no-content flag. This causes the pager to load and journal + ** the current page content before overwriting it. + ** + ** Note that the pager will not actually attempt to load or journal + ** content for any page that really does lie past the end of the database + ** file on disk. So the effects of disabling the no-content optimization + ** here are confined to those pages that lie between the end of the + ** database image and the end of the database file. + */ + int bNoContent = (0==IfNotOmitAV(pBt->bDoTruncate))? PAGER_GET_NOCONTENT:0; + + rc = sqlite3PagerWrite(pBt->pPage1->pDbPage); + if( rc ) return rc; + pBt->nPage++; + if( pBt->nPage==PENDING_BYTE_PAGE(pBt) ) pBt->nPage++; + +#ifndef SQLITE_OMIT_AUTOVACUUM + if( pBt->autoVacuum && PTRMAP_ISPAGE(pBt, pBt->nPage) ){ + /* If *pPgno refers to a pointer-map page, allocate two new pages + ** at the end of the file instead of one. The first allocated page + ** becomes a new pointer-map page, the second is used by the caller. + */ + MemPage *pPg = 0; + TRACE(("ALLOCATE: %d from end of file (pointer-map page)\n", pBt->nPage)); + assert( pBt->nPage!=PENDING_BYTE_PAGE(pBt) ); + rc = btreeGetUnusedPage(pBt, pBt->nPage, &pPg, bNoContent); + if( rc==SQLITE_OK ){ + rc = sqlite3PagerWrite(pPg->pDbPage); + releasePage(pPg); + } + if( rc ) return rc; + pBt->nPage++; + if( pBt->nPage==PENDING_BYTE_PAGE(pBt) ){ pBt->nPage++; } + } +#endif + put4byte(28 + (u8*)pBt->pPage1->aData, pBt->nPage); + *pPgno = pBt->nPage; + + assert( *pPgno!=PENDING_BYTE_PAGE(pBt) ); + rc = btreeGetUnusedPage(pBt, *pPgno, ppPage, bNoContent); + if( rc ) return rc; + rc = sqlite3PagerWrite((*ppPage)->pDbPage); + if( rc!=SQLITE_OK ){ + releasePage(*ppPage); + *ppPage = 0; + } + TRACE(("ALLOCATE: %d from end of file\n", *pPgno)); + } + + assert( CORRUPT_DB || *pPgno!=PENDING_BYTE_PAGE(pBt) ); + +end_allocate_page: + releasePage(pTrunk); + releasePage(pPrevTrunk); + assert( rc!=SQLITE_OK || sqlite3PagerPageRefcount((*ppPage)->pDbPage)<=1 ); + assert( rc!=SQLITE_OK || (*ppPage)->isInit==0 ); + return rc; +} + +/* +** This function is used to add page iPage to the database file free-list. +** It is assumed that the page is not already a part of the free-list. +** +** The value passed as the second argument to this function is optional. +** If the caller happens to have a pointer to the MemPage object +** corresponding to page iPage handy, it may pass it as the second value. +** Otherwise, it may pass NULL. +** +** If a pointer to a MemPage object is passed as the second argument, +** its reference count is not altered by this function. +*/ +static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){ + MemPage *pTrunk = 0; /* Free-list trunk page */ + Pgno iTrunk = 0; /* Page number of free-list trunk page */ + MemPage *pPage1 = pBt->pPage1; /* Local reference to page 1 */ + MemPage *pPage; /* Page being freed. May be NULL. */ + int rc; /* Return Code */ + u32 nFree; /* Initial number of pages on free-list */ + + assert( sqlite3_mutex_held(pBt->mutex) ); + assert( CORRUPT_DB || iPage>1 ); + assert( !pMemPage || pMemPage->pgno==iPage ); + + if( iPage<2 || iPage>pBt->nPage ){ + return SQLITE_CORRUPT_BKPT; + } + if( pMemPage ){ + pPage = pMemPage; + sqlite3PagerRef(pPage->pDbPage); + }else{ + pPage = btreePageLookup(pBt, iPage); + } + + /* Increment the free page count on pPage1 */ + rc = sqlite3PagerWrite(pPage1->pDbPage); + if( rc ) goto freepage_out; + nFree = get4byte(&pPage1->aData[36]); + put4byte(&pPage1->aData[36], nFree+1); + + if( pBt->btsFlags & BTS_SECURE_DELETE ){ + /* If the secure_delete option is enabled, then + ** always fully overwrite deleted information with zeros. + */ + if( (!pPage && ((rc = btreeGetPage(pBt, iPage, &pPage, 0))!=0) ) + || ((rc = sqlite3PagerWrite(pPage->pDbPage))!=0) + ){ + goto freepage_out; + } + memset(pPage->aData, 0, pPage->pBt->pageSize); + } + + /* If the database supports auto-vacuum, write an entry in the pointer-map + ** to indicate that the page is free. + */ + if( ISAUTOVACUUM ){ + ptrmapPut(pBt, iPage, PTRMAP_FREEPAGE, 0, &rc); + if( rc ) goto freepage_out; + } + + /* Now manipulate the actual database free-list structure. There are two + ** possibilities. If the free-list is currently empty, or if the first + ** trunk page in the free-list is full, then this page will become a + ** new free-list trunk page. Otherwise, it will become a leaf of the + ** first trunk page in the current free-list. This block tests if it + ** is possible to add the page as a new free-list leaf. + */ + if( nFree!=0 ){ + u32 nLeaf; /* Initial number of leaf cells on trunk page */ + + iTrunk = get4byte(&pPage1->aData[32]); + rc = btreeGetPage(pBt, iTrunk, &pTrunk, 0); + if( rc!=SQLITE_OK ){ + goto freepage_out; + } + + nLeaf = get4byte(&pTrunk->aData[4]); + assert( pBt->usableSize>32 ); + if( nLeaf > (u32)pBt->usableSize/4 - 2 ){ + rc = SQLITE_CORRUPT_BKPT; + goto freepage_out; + } + if( nLeaf < (u32)pBt->usableSize/4 - 8 ){ + /* In this case there is room on the trunk page to insert the page + ** being freed as a new leaf. + ** + ** Note that the trunk page is not really full until it contains + ** usableSize/4 - 2 entries, not usableSize/4 - 8 entries as we have + ** coded. But due to a coding error in versions of SQLite prior to + ** 3.6.0, databases with freelist trunk pages holding more than + ** usableSize/4 - 8 entries will be reported as corrupt. In order + ** to maintain backwards compatibility with older versions of SQLite, + ** we will continue to restrict the number of entries to usableSize/4 - 8 + ** for now. At some point in the future (once everyone has upgraded + ** to 3.6.0 or later) we should consider fixing the conditional above + ** to read "usableSize/4-2" instead of "usableSize/4-8". + ** + ** EVIDENCE-OF: R-19920-11576 However, newer versions of SQLite still + ** avoid using the last six entries in the freelist trunk page array in + ** order that database files created by newer versions of SQLite can be + ** read by older versions of SQLite. + */ + rc = sqlite3PagerWrite(pTrunk->pDbPage); + if( rc==SQLITE_OK ){ + put4byte(&pTrunk->aData[4], nLeaf+1); + put4byte(&pTrunk->aData[8+nLeaf*4], iPage); + if( pPage && (pBt->btsFlags & BTS_SECURE_DELETE)==0 ){ + sqlite3PagerDontWrite(pPage->pDbPage); + } + rc = btreeSetHasContent(pBt, iPage); + } + TRACE(("FREE-PAGE: %d leaf on trunk page %d\n",pPage->pgno,pTrunk->pgno)); + goto freepage_out; + } + } + + /* If control flows to this point, then it was not possible to add the + ** the page being freed as a leaf page of the first trunk in the free-list. + ** Possibly because the free-list is empty, or possibly because the + ** first trunk in the free-list is full. Either way, the page being freed + ** will become the new first trunk page in the free-list. + */ + if( pPage==0 && SQLITE_OK!=(rc = btreeGetPage(pBt, iPage, &pPage, 0)) ){ + goto freepage_out; + } + rc = sqlite3PagerWrite(pPage->pDbPage); + if( rc!=SQLITE_OK ){ + goto freepage_out; + } + put4byte(pPage->aData, iTrunk); + put4byte(&pPage->aData[4], 0); + put4byte(&pPage1->aData[32], iPage); + TRACE(("FREE-PAGE: %d new trunk page replacing %d\n", pPage->pgno, iTrunk)); + +freepage_out: + if( pPage ){ + pPage->isInit = 0; + } + releasePage(pPage); + releasePage(pTrunk); + return rc; +} +static void freePage(MemPage *pPage, int *pRC){ + if( (*pRC)==SQLITE_OK ){ + *pRC = freePage2(pPage->pBt, pPage, pPage->pgno); + } +} + +/* +** Free any overflow pages associated with the given Cell. Store +** size information about the cell in pInfo. +*/ +static int clearCell( + MemPage *pPage, /* The page that contains the Cell */ + unsigned char *pCell, /* First byte of the Cell */ + CellInfo *pInfo /* Size information about the cell */ +){ + BtShared *pBt; + Pgno ovflPgno; + int rc; + int nOvfl; + u32 ovflPageSize; + + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + pPage->xParseCell(pPage, pCell, pInfo); + if( pInfo->nLocal==pInfo->nPayload ){ + return SQLITE_OK; /* No overflow pages. Return without doing anything */ + } + testcase( pCell + pInfo->nSize == pPage->aDataEnd ); + testcase( pCell + (pInfo->nSize-1) == pPage->aDataEnd ); + if( pCell + pInfo->nSize > pPage->aDataEnd ){ + /* Cell extends past end of page */ + return SQLITE_CORRUPT_PAGE(pPage); + } + ovflPgno = get4byte(pCell + pInfo->nSize - 4); + pBt = pPage->pBt; + assert( pBt->usableSize > 4 ); + ovflPageSize = pBt->usableSize - 4; + nOvfl = (pInfo->nPayload - pInfo->nLocal + ovflPageSize - 1)/ovflPageSize; + assert( nOvfl>0 || + (CORRUPT_DB && (pInfo->nPayload + ovflPageSize)btreePagecount(pBt) ){ + /* 0 is not a legal page number and page 1 cannot be an + ** overflow page. Therefore if ovflPgno<2 or past the end of the + ** file the database must be corrupt. */ + return SQLITE_CORRUPT_BKPT; + } + if( nOvfl ){ + rc = getOverflowPage(pBt, ovflPgno, &pOvfl, &iNext); + if( rc ) return rc; + } + + if( ( pOvfl || ((pOvfl = btreePageLookup(pBt, ovflPgno))!=0) ) + && sqlite3PagerPageRefcount(pOvfl->pDbPage)!=1 + ){ + /* There is no reason any cursor should have an outstanding reference + ** to an overflow page belonging to a cell that is being deleted/updated. + ** So if there exists more than one reference to this page, then it + ** must not really be an overflow page and the database must be corrupt. + ** It is helpful to detect this before calling freePage2(), as + ** freePage2() may zero the page contents if secure-delete mode is + ** enabled. If this 'overflow' page happens to be a page that the + ** caller is iterating through or using in some other way, this + ** can be problematic. + */ + rc = SQLITE_CORRUPT_BKPT; + }else{ + rc = freePage2(pBt, pOvfl, ovflPgno); + } + + if( pOvfl ){ + sqlite3PagerUnref(pOvfl->pDbPage); + } + if( rc ) return rc; + ovflPgno = iNext; + } + return SQLITE_OK; +} + +/* +** Create the byte sequence used to represent a cell on page pPage +** and write that byte sequence into pCell[]. Overflow pages are +** allocated and filled in as necessary. The calling procedure +** is responsible for making sure sufficient space has been allocated +** for pCell[]. +** +** Note that pCell does not necessary need to point to the pPage->aData +** area. pCell might point to some temporary storage. The cell will +** be constructed in this temporary area then copied into pPage->aData +** later. +*/ +static int fillInCell( + MemPage *pPage, /* The page that contains the cell */ + unsigned char *pCell, /* Complete text of the cell */ + const BtreePayload *pX, /* Payload with which to construct the cell */ + int *pnSize /* Write cell size here */ +){ + int nPayload; + const u8 *pSrc; + int nSrc, n, rc, mn; + int spaceLeft; + MemPage *pToRelease; + unsigned char *pPrior; + unsigned char *pPayload; + BtShared *pBt; + Pgno pgnoOvfl; + int nHeader; + + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + + /* pPage is not necessarily writeable since pCell might be auxiliary + ** buffer space that is separate from the pPage buffer area */ + assert( pCellaData || pCell>=&pPage->aData[pPage->pBt->pageSize] + || sqlite3PagerIswriteable(pPage->pDbPage) ); + + /* Fill in the header. */ + nHeader = pPage->childPtrSize; + if( pPage->intKey ){ + nPayload = pX->nData + pX->nZero; + pSrc = pX->pData; + nSrc = pX->nData; + assert( pPage->intKeyLeaf ); /* fillInCell() only called for leaves */ + nHeader += putVarint32(&pCell[nHeader], nPayload); + nHeader += putVarint(&pCell[nHeader], *(u64*)&pX->nKey); + }else{ + assert( pX->nKey<=0x7fffffff && pX->pKey!=0 ); + nSrc = nPayload = (int)pX->nKey; + pSrc = pX->pKey; + nHeader += putVarint32(&pCell[nHeader], nPayload); + } + + /* Fill in the payload */ + pPayload = &pCell[nHeader]; + if( nPayload<=pPage->maxLocal ){ + /* This is the common case where everything fits on the btree page + ** and no overflow pages are required. */ + n = nHeader + nPayload; + testcase( n==3 ); + testcase( n==4 ); + if( n<4 ) n = 4; + *pnSize = n; + assert( nSrc<=nPayload ); + testcase( nSrcminLocal; + n = mn + (nPayload - mn) % (pPage->pBt->usableSize - 4); + testcase( n==pPage->maxLocal ); + testcase( n==pPage->maxLocal+1 ); + if( n > pPage->maxLocal ) n = mn; + spaceLeft = n; + *pnSize = n + nHeader + 4; + pPrior = &pCell[nHeader+n]; + pToRelease = 0; + pgnoOvfl = 0; + pBt = pPage->pBt; + + /* At this point variables should be set as follows: + ** + ** nPayload Total payload size in bytes + ** pPayload Begin writing payload here + ** spaceLeft Space available at pPayload. If nPayload>spaceLeft, + ** that means content must spill into overflow pages. + ** *pnSize Size of the local cell (not counting overflow pages) + ** pPrior Where to write the pgno of the first overflow page + ** + ** Use a call to btreeParseCellPtr() to verify that the values above + ** were computed correctly. + */ +#ifdef SQLITE_DEBUG + { + CellInfo info; + pPage->xParseCell(pPage, pCell, &info); + assert( nHeader==(int)(info.pPayload - pCell) ); + assert( info.nKey==pX->nKey ); + assert( *pnSize == info.nSize ); + assert( spaceLeft == info.nLocal ); + } +#endif + + /* Write the payload into the local Cell and any extra into overflow pages */ + while( 1 ){ + n = nPayload; + if( n>spaceLeft ) n = spaceLeft; + + /* If pToRelease is not zero than pPayload points into the data area + ** of pToRelease. Make sure pToRelease is still writeable. */ + assert( pToRelease==0 || sqlite3PagerIswriteable(pToRelease->pDbPage) ); + + /* If pPayload is part of the data area of pPage, then make sure pPage + ** is still writeable */ + assert( pPayloadaData || pPayload>=&pPage->aData[pBt->pageSize] + || sqlite3PagerIswriteable(pPage->pDbPage) ); + + if( nSrc>=n ){ + memcpy(pPayload, pSrc, n); + }else if( nSrc>0 ){ + n = nSrc; + memcpy(pPayload, pSrc, n); + }else{ + memset(pPayload, 0, n); + } + nPayload -= n; + if( nPayload<=0 ) break; + pPayload += n; + pSrc += n; + nSrc -= n; + spaceLeft -= n; + if( spaceLeft==0 ){ + MemPage *pOvfl = 0; +#ifndef SQLITE_OMIT_AUTOVACUUM + Pgno pgnoPtrmap = pgnoOvfl; /* Overflow page pointer-map entry page */ + if( pBt->autoVacuum ){ + do{ + pgnoOvfl++; + } while( + PTRMAP_ISPAGE(pBt, pgnoOvfl) || pgnoOvfl==PENDING_BYTE_PAGE(pBt) + ); + } +#endif + rc = allocateBtreePage(pBt, &pOvfl, &pgnoOvfl, pgnoOvfl, 0); +#ifndef SQLITE_OMIT_AUTOVACUUM + /* If the database supports auto-vacuum, and the second or subsequent + ** overflow page is being allocated, add an entry to the pointer-map + ** for that page now. + ** + ** If this is the first overflow page, then write a partial entry + ** to the pointer-map. If we write nothing to this pointer-map slot, + ** then the optimistic overflow chain processing in clearCell() + ** may misinterpret the uninitialized values and delete the + ** wrong pages from the database. + */ + if( pBt->autoVacuum && rc==SQLITE_OK ){ + u8 eType = (pgnoPtrmap?PTRMAP_OVERFLOW2:PTRMAP_OVERFLOW1); + ptrmapPut(pBt, pgnoOvfl, eType, pgnoPtrmap, &rc); + if( rc ){ + releasePage(pOvfl); + } + } +#endif + if( rc ){ + releasePage(pToRelease); + return rc; + } + + /* If pToRelease is not zero than pPrior points into the data area + ** of pToRelease. Make sure pToRelease is still writeable. */ + assert( pToRelease==0 || sqlite3PagerIswriteable(pToRelease->pDbPage) ); + + /* If pPrior is part of the data area of pPage, then make sure pPage + ** is still writeable */ + assert( pPrioraData || pPrior>=&pPage->aData[pBt->pageSize] + || sqlite3PagerIswriteable(pPage->pDbPage) ); + + put4byte(pPrior, pgnoOvfl); + releasePage(pToRelease); + pToRelease = pOvfl; + pPrior = pOvfl->aData; + put4byte(pPrior, 0); + pPayload = &pOvfl->aData[4]; + spaceLeft = pBt->usableSize - 4; + } + } + releasePage(pToRelease); + return SQLITE_OK; +} + +/* +** Remove the i-th cell from pPage. This routine effects pPage only. +** The cell content is not freed or deallocated. It is assumed that +** the cell content has been copied someplace else. This routine just +** removes the reference to the cell from pPage. +** +** "sz" must be the number of bytes in the cell. +*/ +static void dropCell(MemPage *pPage, int idx, int sz, int *pRC){ + u32 pc; /* Offset to cell content of cell being deleted */ + u8 *data; /* pPage->aData */ + u8 *ptr; /* Used to move bytes around within data[] */ + int rc; /* The return code */ + int hdr; /* Beginning of the header. 0 most pages. 100 page 1 */ + + if( *pRC ) return; + assert( idx>=0 && idxnCell ); + assert( CORRUPT_DB || sz==cellSize(pPage, idx) ); + assert( sqlite3PagerIswriteable(pPage->pDbPage) ); + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + assert( pPage->nFree>=0 ); + data = pPage->aData; + ptr = &pPage->aCellIdx[2*idx]; + pc = get2byte(ptr); + hdr = pPage->hdrOffset; + testcase( pc==get2byte(&data[hdr+5]) ); + testcase( pc+sz==pPage->pBt->usableSize ); + if( pc+sz > pPage->pBt->usableSize ){ + *pRC = SQLITE_CORRUPT_BKPT; + return; + } + rc = freeSpace(pPage, pc, sz); + if( rc ){ + *pRC = rc; + return; + } + pPage->nCell--; + if( pPage->nCell==0 ){ + memset(&data[hdr+1], 0, 4); + data[hdr+7] = 0; + put2byte(&data[hdr+5], pPage->pBt->usableSize); + pPage->nFree = pPage->pBt->usableSize - pPage->hdrOffset + - pPage->childPtrSize - 8; + }else{ + memmove(ptr, ptr+2, 2*(pPage->nCell - idx)); + put2byte(&data[hdr+3], pPage->nCell); + pPage->nFree += 2; + } +} + +/* +** Insert a new cell on pPage at cell index "i". pCell points to the +** content of the cell. +** +** If the cell content will fit on the page, then put it there. If it +** will not fit, then make a copy of the cell content into pTemp if +** pTemp is not null. Regardless of pTemp, allocate a new entry +** in pPage->apOvfl[] and make it point to the cell content (either +** in pTemp or the original pCell) and also record its index. +** Allocating a new entry in pPage->aCell[] implies that +** pPage->nOverflow is incremented. +** +** *pRC must be SQLITE_OK when this routine is called. +*/ +static void insertCell( + MemPage *pPage, /* Page into which we are copying */ + int i, /* New cell becomes the i-th cell of the page */ + u8 *pCell, /* Content of the new cell */ + int sz, /* Bytes of content in pCell */ + u8 *pTemp, /* Temp storage space for pCell, if needed */ + Pgno iChild, /* If non-zero, replace first 4 bytes with this value */ + int *pRC /* Read and write return code from here */ +){ + int idx = 0; /* Where to write new cell content in data[] */ + int j; /* Loop counter */ + u8 *data; /* The content of the whole page */ + u8 *pIns; /* The point in pPage->aCellIdx[] where no cell inserted */ + + assert( *pRC==SQLITE_OK ); + assert( i>=0 && i<=pPage->nCell+pPage->nOverflow ); + assert( MX_CELL(pPage->pBt)<=10921 ); + assert( pPage->nCell<=MX_CELL(pPage->pBt) || CORRUPT_DB ); + assert( pPage->nOverflow<=ArraySize(pPage->apOvfl) ); + assert( ArraySize(pPage->apOvfl)==ArraySize(pPage->aiOvfl) ); + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + assert( sz==pPage->xCellSize(pPage, pCell) || CORRUPT_DB ); + assert( pPage->nFree>=0 ); + if( pPage->nOverflow || sz+2>pPage->nFree ){ + if( pTemp ){ + memcpy(pTemp, pCell, sz); + pCell = pTemp; + } + if( iChild ){ + put4byte(pCell, iChild); + } + j = pPage->nOverflow++; + /* Comparison against ArraySize-1 since we hold back one extra slot + ** as a contingency. In other words, never need more than 3 overflow + ** slots but 4 are allocated, just to be safe. */ + assert( j < ArraySize(pPage->apOvfl)-1 ); + pPage->apOvfl[j] = pCell; + pPage->aiOvfl[j] = (u16)i; + + /* When multiple overflows occur, they are always sequential and in + ** sorted order. This invariants arise because multiple overflows can + ** only occur when inserting divider cells into the parent page during + ** balancing, and the dividers are adjacent and sorted. + */ + assert( j==0 || pPage->aiOvfl[j-1]<(u16)i ); /* Overflows in sorted order */ + assert( j==0 || i==pPage->aiOvfl[j-1]+1 ); /* Overflows are sequential */ + }else{ + int rc = sqlite3PagerWrite(pPage->pDbPage); + if( rc!=SQLITE_OK ){ + *pRC = rc; + return; + } + assert( sqlite3PagerIswriteable(pPage->pDbPage) ); + data = pPage->aData; + assert( &data[pPage->cellOffset]==pPage->aCellIdx ); + rc = allocateSpace(pPage, sz, &idx); + if( rc ){ *pRC = rc; return; } + /* The allocateSpace() routine guarantees the following properties + ** if it returns successfully */ + assert( idx >= 0 ); + assert( idx >= pPage->cellOffset+2*pPage->nCell+2 || CORRUPT_DB ); + assert( idx+sz <= (int)pPage->pBt->usableSize ); + pPage->nFree -= (u16)(2 + sz); + if( iChild ){ + /* In a corrupt database where an entry in the cell index section of + ** a btree page has a value of 3 or less, the pCell value might point + ** as many as 4 bytes in front of the start of the aData buffer for + ** the source page. Make sure this does not cause problems by not + ** reading the first 4 bytes */ + memcpy(&data[idx+4], pCell+4, sz-4); + put4byte(&data[idx], iChild); + }else{ + memcpy(&data[idx], pCell, sz); + } + pIns = pPage->aCellIdx + i*2; + memmove(pIns+2, pIns, 2*(pPage->nCell - i)); + put2byte(pIns, idx); + pPage->nCell++; + /* increment the cell count */ + if( (++data[pPage->hdrOffset+4])==0 ) data[pPage->hdrOffset+3]++; + assert( get2byte(&data[pPage->hdrOffset+3])==pPage->nCell || CORRUPT_DB ); +#ifndef SQLITE_OMIT_AUTOVACUUM + if( pPage->pBt->autoVacuum ){ + /* The cell may contain a pointer to an overflow page. If so, write + ** the entry for the overflow page into the pointer map. + */ + ptrmapPutOvflPtr(pPage, pPage, pCell, pRC); + } +#endif + } +} + +/* +** The following parameters determine how many adjacent pages get involved +** in a balancing operation. NN is the number of neighbors on either side +** of the page that participate in the balancing operation. NB is the +** total number of pages that participate, including the target page and +** NN neighbors on either side. +** +** The minimum value of NN is 1 (of course). Increasing NN above 1 +** (to 2 or 3) gives a modest improvement in SELECT and DELETE performance +** in exchange for a larger degradation in INSERT and UPDATE performance. +** The value of NN appears to give the best results overall. +** +** (Later:) The description above makes it seem as if these values are +** tunable - as if you could change them and recompile and it would all work. +** But that is unlikely. NB has been 3 since the inception of SQLite and +** we have never tested any other value. +*/ +#define NN 1 /* Number of neighbors on either side of pPage */ +#define NB 3 /* (NN*2+1): Total pages involved in the balance */ + +/* +** A CellArray object contains a cache of pointers and sizes for a +** consecutive sequence of cells that might be held on multiple pages. +** +** The cells in this array are the divider cell or cells from the pParent +** page plus up to three child pages. There are a total of nCell cells. +** +** pRef is a pointer to one of the pages that contributes cells. This is +** used to access information such as MemPage.intKey and MemPage.pBt->pageSize +** which should be common to all pages that contribute cells to this array. +** +** apCell[] and szCell[] hold, respectively, pointers to the start of each +** cell and the size of each cell. Some of the apCell[] pointers might refer +** to overflow cells. In other words, some apCel[] pointers might not point +** to content area of the pages. +** +** A szCell[] of zero means the size of that cell has not yet been computed. +** +** The cells come from as many as four different pages: +** +** ----------- +** | Parent | +** ----------- +** / | \ +** / | \ +** --------- --------- --------- +** |Child-1| |Child-2| |Child-3| +** --------- --------- --------- +** +** The order of cells is in the array is for an index btree is: +** +** 1. All cells from Child-1 in order +** 2. The first divider cell from Parent +** 3. All cells from Child-2 in order +** 4. The second divider cell from Parent +** 5. All cells from Child-3 in order +** +** For a table-btree (with rowids) the items 2 and 4 are empty because +** content exists only in leaves and there are no divider cells. +** +** For an index btree, the apEnd[] array holds pointer to the end of page +** for Child-1, the Parent, Child-2, the Parent (again), and Child-3, +** respectively. The ixNx[] array holds the number of cells contained in +** each of these 5 stages, and all stages to the left. Hence: +** +** ixNx[0] = Number of cells in Child-1. +** ixNx[1] = Number of cells in Child-1 plus 1 for first divider. +** ixNx[2] = Number of cells in Child-1 and Child-2 + 1 for 1st divider. +** ixNx[3] = Number of cells in Child-1 and Child-2 + both divider cells +** ixNx[4] = Total number of cells. +** +** For a table-btree, the concept is similar, except only apEnd[0]..apEnd[2] +** are used and they point to the leaf pages only, and the ixNx value are: +** +** ixNx[0] = Number of cells in Child-1. +** ixNx[1] = Number of cells in Child-1 and Child-2. +** ixNx[2] = Total number of cells. +** +** Sometimes when deleting, a child page can have zero cells. In those +** cases, ixNx[] entries with higher indexes, and the corresponding apEnd[] +** entries, shift down. The end result is that each ixNx[] entry should +** be larger than the previous +*/ +typedef struct CellArray CellArray; +struct CellArray { + int nCell; /* Number of cells in apCell[] */ + MemPage *pRef; /* Reference page */ + u8 **apCell; /* All cells begin balanced */ + u16 *szCell; /* Local size of all cells in apCell[] */ + u8 *apEnd[NB*2]; /* MemPage.aDataEnd values */ + int ixNx[NB*2]; /* Index of at which we move to the next apEnd[] */ +}; + +/* +** Make sure the cell sizes at idx, idx+1, ..., idx+N-1 have been +** computed. +*/ +static void populateCellCache(CellArray *p, int idx, int N){ + assert( idx>=0 && idx+N<=p->nCell ); + while( N>0 ){ + assert( p->apCell[idx]!=0 ); + if( p->szCell[idx]==0 ){ + p->szCell[idx] = p->pRef->xCellSize(p->pRef, p->apCell[idx]); + }else{ + assert( CORRUPT_DB || + p->szCell[idx]==p->pRef->xCellSize(p->pRef, p->apCell[idx]) ); + } + idx++; + N--; + } +} + +/* +** Return the size of the Nth element of the cell array +*/ +static SQLITE_NOINLINE u16 computeCellSize(CellArray *p, int N){ + assert( N>=0 && NnCell ); + assert( p->szCell[N]==0 ); + p->szCell[N] = p->pRef->xCellSize(p->pRef, p->apCell[N]); + return p->szCell[N]; +} +static u16 cachedCellSize(CellArray *p, int N){ + assert( N>=0 && NnCell ); + if( p->szCell[N] ) return p->szCell[N]; + return computeCellSize(p, N); +} + +/* +** Array apCell[] contains pointers to nCell b-tree page cells. The +** szCell[] array contains the size in bytes of each cell. This function +** replaces the current contents of page pPg with the contents of the cell +** array. +** +** Some of the cells in apCell[] may currently be stored in pPg. This +** function works around problems caused by this by making a copy of any +** such cells before overwriting the page data. +** +** The MemPage.nFree field is invalidated by this function. It is the +** responsibility of the caller to set it correctly. +*/ +static int rebuildPage( + CellArray *pCArray, /* Content to be added to page pPg */ + int iFirst, /* First cell in pCArray to use */ + int nCell, /* Final number of cells on page */ + MemPage *pPg /* The page to be reconstructed */ +){ + const int hdr = pPg->hdrOffset; /* Offset of header on pPg */ + u8 * const aData = pPg->aData; /* Pointer to data for pPg */ + const int usableSize = pPg->pBt->usableSize; + u8 * const pEnd = &aData[usableSize]; + int i = iFirst; /* Which cell to copy from pCArray*/ + u32 j; /* Start of cell content area */ + int iEnd = i+nCell; /* Loop terminator */ + u8 *pCellptr = pPg->aCellIdx; + u8 *pTmp = sqlite3PagerTempSpace(pPg->pBt->pPager); + u8 *pData; + int k; /* Current slot in pCArray->apEnd[] */ + u8 *pSrcEnd; /* Current pCArray->apEnd[k] value */ + + assert( i(u32)usableSize ){ j = 0; } + memcpy(&pTmp[j], &aData[j], usableSize - j); + + for(k=0; pCArray->ixNx[k]<=i && ALWAYS(kapEnd[k]; + + pData = pEnd; + while( 1/*exit by break*/ ){ + u8 *pCell = pCArray->apCell[i]; + u16 sz = pCArray->szCell[i]; + assert( sz>0 ); + if( SQLITE_WITHIN(pCell,aData,pEnd) ){ + if( ((uptr)(pCell+sz))>(uptr)pEnd ) return SQLITE_CORRUPT_BKPT; + pCell = &pTmp[pCell - aData]; + }else if( (uptr)(pCell+sz)>(uptr)pSrcEnd + && (uptr)(pCell)<(uptr)pSrcEnd + ){ + return SQLITE_CORRUPT_BKPT; + } + + pData -= sz; + put2byte(pCellptr, (pData - aData)); + pCellptr += 2; + if( pData < pCellptr ) return SQLITE_CORRUPT_BKPT; + memcpy(pData, pCell, sz); + assert( sz==pPg->xCellSize(pPg, pCell) || CORRUPT_DB ); + testcase( sz!=pPg->xCellSize(pPg,pCell) ); + i++; + if( i>=iEnd ) break; + if( pCArray->ixNx[k]<=i ){ + k++; + pSrcEnd = pCArray->apEnd[k]; + } + } + + /* The pPg->nFree field is now set incorrectly. The caller will fix it. */ + pPg->nCell = nCell; + pPg->nOverflow = 0; + + put2byte(&aData[hdr+1], 0); + put2byte(&aData[hdr+3], pPg->nCell); + put2byte(&aData[hdr+5], pData - aData); + aData[hdr+7] = 0x00; + return SQLITE_OK; +} + +/* +** The pCArray objects contains pointers to b-tree cells and the cell sizes. +** This function attempts to add the cells stored in the array to page pPg. +** If it cannot (because the page needs to be defragmented before the cells +** will fit), non-zero is returned. Otherwise, if the cells are added +** successfully, zero is returned. +** +** Argument pCellptr points to the first entry in the cell-pointer array +** (part of page pPg) to populate. After cell apCell[0] is written to the +** page body, a 16-bit offset is written to pCellptr. And so on, for each +** cell in the array. It is the responsibility of the caller to ensure +** that it is safe to overwrite this part of the cell-pointer array. +** +** When this function is called, *ppData points to the start of the +** content area on page pPg. If the size of the content area is extended, +** *ppData is updated to point to the new start of the content area +** before returning. +** +** Finally, argument pBegin points to the byte immediately following the +** end of the space required by this page for the cell-pointer area (for +** all cells - not just those inserted by the current call). If the content +** area must be extended to before this point in order to accomodate all +** cells in apCell[], then the cells do not fit and non-zero is returned. +*/ +static int pageInsertArray( + MemPage *pPg, /* Page to add cells to */ + u8 *pBegin, /* End of cell-pointer array */ + u8 **ppData, /* IN/OUT: Page content-area pointer */ + u8 *pCellptr, /* Pointer to cell-pointer area */ + int iFirst, /* Index of first cell to add */ + int nCell, /* Number of cells to add to pPg */ + CellArray *pCArray /* Array of cells */ +){ + int i = iFirst; /* Loop counter - cell index to insert */ + u8 *aData = pPg->aData; /* Complete page */ + u8 *pData = *ppData; /* Content area. A subset of aData[] */ + int iEnd = iFirst + nCell; /* End of loop. One past last cell to ins */ + int k; /* Current slot in pCArray->apEnd[] */ + u8 *pEnd; /* Maximum extent of cell data */ + assert( CORRUPT_DB || pPg->hdrOffset==0 ); /* Never called on page 1 */ + if( iEnd<=iFirst ) return 0; + for(k=0; pCArray->ixNx[k]<=i && ALWAYS(kapEnd[k]; + while( 1 /*Exit by break*/ ){ + int sz, rc; + u8 *pSlot; + assert( pCArray->szCell[i]!=0 ); + sz = pCArray->szCell[i]; + if( (aData[1]==0 && aData[2]==0) || (pSlot = pageFindSlot(pPg,sz,&rc))==0 ){ + if( (pData - pBegin)apCell[i] will never overlap on a well-formed + ** database. But they might for a corrupt database. Hence use memmove() + ** since memcpy() sends SIGABORT with overlapping buffers on OpenBSD */ + assert( (pSlot+sz)<=pCArray->apCell[i] + || pSlot>=(pCArray->apCell[i]+sz) + || CORRUPT_DB ); + if( (uptr)(pCArray->apCell[i]+sz)>(uptr)pEnd + && (uptr)(pCArray->apCell[i])<(uptr)pEnd + ){ + assert( CORRUPT_DB ); + (void)SQLITE_CORRUPT_BKPT; + return 1; + } + memmove(pSlot, pCArray->apCell[i], sz); + put2byte(pCellptr, (pSlot - aData)); + pCellptr += 2; + i++; + if( i>=iEnd ) break; + if( pCArray->ixNx[k]<=i ){ + k++; + pEnd = pCArray->apEnd[k]; + } + } + *ppData = pData; + return 0; +} + +/* +** The pCArray object contains pointers to b-tree cells and their sizes. +** +** This function adds the space associated with each cell in the array +** that is currently stored within the body of pPg to the pPg free-list. +** The cell-pointers and other fields of the page are not updated. +** +** This function returns the total number of cells added to the free-list. +*/ +static int pageFreeArray( + MemPage *pPg, /* Page to edit */ + int iFirst, /* First cell to delete */ + int nCell, /* Cells to delete */ + CellArray *pCArray /* Array of cells */ +){ + u8 * const aData = pPg->aData; + u8 * const pEnd = &aData[pPg->pBt->usableSize]; + u8 * const pStart = &aData[pPg->hdrOffset + 8 + pPg->childPtrSize]; + int nRet = 0; + int i; + int iEnd = iFirst + nCell; + u8 *pFree = 0; + int szFree = 0; + + for(i=iFirst; iapCell[i]; + if( SQLITE_WITHIN(pCell, pStart, pEnd) ){ + int sz; + /* No need to use cachedCellSize() here. The sizes of all cells that + ** are to be freed have already been computing while deciding which + ** cells need freeing */ + sz = pCArray->szCell[i]; assert( sz>0 ); + if( pFree!=(pCell + sz) ){ + if( pFree ){ + assert( pFree>aData && (pFree - aData)<65536 ); + freeSpace(pPg, (u16)(pFree - aData), szFree); + } + pFree = pCell; + szFree = sz; + if( pFree+sz>pEnd ) return 0; + }else{ + pFree = pCell; + szFree += sz; + } + nRet++; + } + } + if( pFree ){ + assert( pFree>aData && (pFree - aData)<65536 ); + freeSpace(pPg, (u16)(pFree - aData), szFree); + } + return nRet; +} + +/* +** pCArray contains pointers to and sizes of all cells in the page being +** balanced. The current page, pPg, has pPg->nCell cells starting with +** pCArray->apCell[iOld]. After balancing, this page should hold nNew cells +** starting at apCell[iNew]. +** +** This routine makes the necessary adjustments to pPg so that it contains +** the correct cells after being balanced. +** +** The pPg->nFree field is invalid when this function returns. It is the +** responsibility of the caller to set it correctly. +*/ +static int editPage( + MemPage *pPg, /* Edit this page */ + int iOld, /* Index of first cell currently on page */ + int iNew, /* Index of new first cell on page */ + int nNew, /* Final number of cells on page */ + CellArray *pCArray /* Array of cells and sizes */ +){ + u8 * const aData = pPg->aData; + const int hdr = pPg->hdrOffset; + u8 *pBegin = &pPg->aCellIdx[nNew * 2]; + int nCell = pPg->nCell; /* Cells stored on pPg */ + u8 *pData; + u8 *pCellptr; + int i; + int iOldEnd = iOld + pPg->nCell + pPg->nOverflow; + int iNewEnd = iNew + nNew; + +#ifdef SQLITE_DEBUG + u8 *pTmp = sqlite3PagerTempSpace(pPg->pBt->pPager); + memcpy(pTmp, aData, pPg->pBt->usableSize); +#endif + + /* Remove cells from the start and end of the page */ + assert( nCell>=0 ); + if( iOldnCell ) return SQLITE_CORRUPT_BKPT; + memmove(pPg->aCellIdx, &pPg->aCellIdx[nShift*2], nCell*2); + nCell -= nShift; + } + if( iNewEnd < iOldEnd ){ + int nTail = pageFreeArray(pPg, iNewEnd, iOldEnd - iNewEnd, pCArray); + assert( nCell>=nTail ); + nCell -= nTail; + } + + pData = &aData[get2byteNotZero(&aData[hdr+5])]; + if( pData=0 ); + pCellptr = pPg->aCellIdx; + memmove(&pCellptr[nAdd*2], pCellptr, nCell*2); + if( pageInsertArray( + pPg, pBegin, &pData, pCellptr, + iNew, nAdd, pCArray + ) ) goto editpage_fail; + nCell += nAdd; + } + + /* Add any overflow cells */ + for(i=0; inOverflow; i++){ + int iCell = (iOld + pPg->aiOvfl[i]) - iNew; + if( iCell>=0 && iCellaCellIdx[iCell * 2]; + if( nCell>iCell ){ + memmove(&pCellptr[2], pCellptr, (nCell - iCell) * 2); + } + nCell++; + cachedCellSize(pCArray, iCell+iNew); + if( pageInsertArray( + pPg, pBegin, &pData, pCellptr, + iCell+iNew, 1, pCArray + ) ) goto editpage_fail; + } + } + + /* Append cells to the end of the page */ + assert( nCell>=0 ); + pCellptr = &pPg->aCellIdx[nCell*2]; + if( pageInsertArray( + pPg, pBegin, &pData, pCellptr, + iNew+nCell, nNew-nCell, pCArray + ) ) goto editpage_fail; + + pPg->nCell = nNew; + pPg->nOverflow = 0; + + put2byte(&aData[hdr+3], pPg->nCell); + put2byte(&aData[hdr+5], pData - aData); + +#ifdef SQLITE_DEBUG + for(i=0; iapCell[i+iNew]; + int iOff = get2byteAligned(&pPg->aCellIdx[i*2]); + if( SQLITE_WITHIN(pCell, aData, &aData[pPg->pBt->usableSize]) ){ + pCell = &pTmp[pCell - aData]; + } + assert( 0==memcmp(pCell, &aData[iOff], + pCArray->pRef->xCellSize(pCArray->pRef, pCArray->apCell[i+iNew])) ); + } +#endif + + return SQLITE_OK; + editpage_fail: + /* Unable to edit this page. Rebuild it from scratch instead. */ + populateCellCache(pCArray, iNew, nNew); + return rebuildPage(pCArray, iNew, nNew, pPg); +} + + +#ifndef SQLITE_OMIT_QUICKBALANCE +/* +** This version of balance() handles the common special case where +** a new entry is being inserted on the extreme right-end of the +** tree, in other words, when the new entry will become the largest +** entry in the tree. +** +** Instead of trying to balance the 3 right-most leaf pages, just add +** a new page to the right-hand side and put the one new entry in +** that page. This leaves the right side of the tree somewhat +** unbalanced. But odds are that we will be inserting new entries +** at the end soon afterwards so the nearly empty page will quickly +** fill up. On average. +** +** pPage is the leaf page which is the right-most page in the tree. +** pParent is its parent. pPage must have a single overflow entry +** which is also the right-most entry on the page. +** +** The pSpace buffer is used to store a temporary copy of the divider +** cell that will be inserted into pParent. Such a cell consists of a 4 +** byte page number followed by a variable length integer. In other +** words, at most 13 bytes. Hence the pSpace buffer must be at +** least 13 bytes in size. +*/ +static int balance_quick(MemPage *pParent, MemPage *pPage, u8 *pSpace){ + BtShared *const pBt = pPage->pBt; /* B-Tree Database */ + MemPage *pNew; /* Newly allocated page */ + int rc; /* Return Code */ + Pgno pgnoNew; /* Page number of pNew */ + + assert( sqlite3_mutex_held(pPage->pBt->mutex) ); + assert( sqlite3PagerIswriteable(pParent->pDbPage) ); + assert( pPage->nOverflow==1 ); + + if( pPage->nCell==0 ) return SQLITE_CORRUPT_BKPT; /* dbfuzz001.test */ + assert( pPage->nFree>=0 ); + assert( pParent->nFree>=0 ); + + /* Allocate a new page. This page will become the right-sibling of + ** pPage. Make the parent page writable, so that the new divider cell + ** may be inserted. If both these operations are successful, proceed. + */ + rc = allocateBtreePage(pBt, &pNew, &pgnoNew, 0, 0); + + if( rc==SQLITE_OK ){ + + u8 *pOut = &pSpace[4]; + u8 *pCell = pPage->apOvfl[0]; + u16 szCell = pPage->xCellSize(pPage, pCell); + u8 *pStop; + CellArray b; + + assert( sqlite3PagerIswriteable(pNew->pDbPage) ); + assert( CORRUPT_DB || pPage->aData[0]==(PTF_INTKEY|PTF_LEAFDATA|PTF_LEAF) ); + zeroPage(pNew, PTF_INTKEY|PTF_LEAFDATA|PTF_LEAF); + b.nCell = 1; + b.pRef = pPage; + b.apCell = &pCell; + b.szCell = &szCell; + b.apEnd[0] = pPage->aDataEnd; + b.ixNx[0] = 2; + rc = rebuildPage(&b, 0, 1, pNew); + if( NEVER(rc) ){ + releasePage(pNew); + return rc; + } + pNew->nFree = pBt->usableSize - pNew->cellOffset - 2 - szCell; + + /* If this is an auto-vacuum database, update the pointer map + ** with entries for the new page, and any pointer from the + ** cell on the page to an overflow page. If either of these + ** operations fails, the return code is set, but the contents + ** of the parent page are still manipulated by thh code below. + ** That is Ok, at this point the parent page is guaranteed to + ** be marked as dirty. Returning an error code will cause a + ** rollback, undoing any changes made to the parent page. + */ + if( ISAUTOVACUUM ){ + ptrmapPut(pBt, pgnoNew, PTRMAP_BTREE, pParent->pgno, &rc); + if( szCell>pNew->minLocal ){ + ptrmapPutOvflPtr(pNew, pNew, pCell, &rc); + } + } + + /* Create a divider cell to insert into pParent. The divider cell + ** consists of a 4-byte page number (the page number of pPage) and + ** a variable length key value (which must be the same value as the + ** largest key on pPage). + ** + ** To find the largest key value on pPage, first find the right-most + ** cell on pPage. The first two fields of this cell are the + ** record-length (a variable length integer at most 32-bits in size) + ** and the key value (a variable length integer, may have any value). + ** The first of the while(...) loops below skips over the record-length + ** field. The second while(...) loop copies the key value from the + ** cell on pPage into the pSpace buffer. + */ + pCell = findCell(pPage, pPage->nCell-1); + pStop = &pCell[9]; + while( (*(pCell++)&0x80) && pCellnCell, pSpace, (int)(pOut-pSpace), + 0, pPage->pgno, &rc); + } + + /* Set the right-child pointer of pParent to point to the new page. */ + put4byte(&pParent->aData[pParent->hdrOffset+8], pgnoNew); + + /* Release the reference to the new page. */ + releasePage(pNew); + } + + return rc; +} +#endif /* SQLITE_OMIT_QUICKBALANCE */ + +#if 0 +/* +** This function does not contribute anything to the operation of SQLite. +** it is sometimes activated temporarily while debugging code responsible +** for setting pointer-map entries. +*/ +static int ptrmapCheckPages(MemPage **apPage, int nPage){ + int i, j; + for(i=0; ipBt; + assert( pPage->isInit ); + + for(j=0; jnCell; j++){ + CellInfo info; + u8 *z; + + z = findCell(pPage, j); + pPage->xParseCell(pPage, z, &info); + if( info.nLocalpgno && e==PTRMAP_OVERFLOW1 ); + } + if( !pPage->leaf ){ + Pgno child = get4byte(z); + ptrmapGet(pBt, child, &e, &n); + assert( n==pPage->pgno && e==PTRMAP_BTREE ); + } + } + if( !pPage->leaf ){ + Pgno child = get4byte(&pPage->aData[pPage->hdrOffset+8]); + ptrmapGet(pBt, child, &e, &n); + assert( n==pPage->pgno && e==PTRMAP_BTREE ); + } + } + return 1; +} +#endif + +/* +** This function is used to copy the contents of the b-tree node stored +** on page pFrom to page pTo. If page pFrom was not a leaf page, then +** the pointer-map entries for each child page are updated so that the +** parent page stored in the pointer map is page pTo. If pFrom contained +** any cells with overflow page pointers, then the corresponding pointer +** map entries are also updated so that the parent page is page pTo. +** +** If pFrom is currently carrying any overflow cells (entries in the +** MemPage.apOvfl[] array), they are not copied to pTo. +** +** Before returning, page pTo is reinitialized using btreeInitPage(). +** +** The performance of this function is not critical. It is only used by +** the balance_shallower() and balance_deeper() procedures, neither of +** which are called often under normal circumstances. +*/ +static void copyNodeContent(MemPage *pFrom, MemPage *pTo, int *pRC){ + if( (*pRC)==SQLITE_OK ){ + BtShared * const pBt = pFrom->pBt; + u8 * const aFrom = pFrom->aData; + u8 * const aTo = pTo->aData; + int const iFromHdr = pFrom->hdrOffset; + int const iToHdr = ((pTo->pgno==1) ? 100 : 0); + int rc; + int iData; + + + assert( pFrom->isInit ); + assert( pFrom->nFree>=iToHdr ); + assert( get2byte(&aFrom[iFromHdr+5]) <= (int)pBt->usableSize ); + + /* Copy the b-tree node content from page pFrom to page pTo. */ + iData = get2byte(&aFrom[iFromHdr+5]); + memcpy(&aTo[iData], &aFrom[iData], pBt->usableSize-iData); + memcpy(&aTo[iToHdr], &aFrom[iFromHdr], pFrom->cellOffset + 2*pFrom->nCell); + + /* Reinitialize page pTo so that the contents of the MemPage structure + ** match the new data. The initialization of pTo can actually fail under + ** fairly obscure circumstances, even though it is a copy of initialized + ** page pFrom. + */ + pTo->isInit = 0; + rc = btreeInitPage(pTo); + if( rc==SQLITE_OK ) rc = btreeComputeFreeSpace(pTo); + if( rc!=SQLITE_OK ){ + *pRC = rc; + return; + } + + /* If this is an auto-vacuum database, update the pointer-map entries + ** for any b-tree or overflow pages that pTo now contains the pointers to. + */ + if( ISAUTOVACUUM ){ + *pRC = setChildPtrmaps(pTo); + } + } +} + +/* +** This routine redistributes cells on the iParentIdx'th child of pParent +** (hereafter "the page") and up to 2 siblings so that all pages have about the +** same amount of free space. Usually a single sibling on either side of the +** page are used in the balancing, though both siblings might come from one +** side if the page is the first or last child of its parent. If the page +** has fewer than 2 siblings (something which can only happen if the page +** is a root page or a child of a root page) then all available siblings +** participate in the balancing. +** +** The number of siblings of the page might be increased or decreased by +** one or two in an effort to keep pages nearly full but not over full. +** +** Note that when this routine is called, some of the cells on the page +** might not actually be stored in MemPage.aData[]. This can happen +** if the page is overfull. This routine ensures that all cells allocated +** to the page and its siblings fit into MemPage.aData[] before returning. +** +** In the course of balancing the page and its siblings, cells may be +** inserted into or removed from the parent page (pParent). Doing so +** may cause the parent page to become overfull or underfull. If this +** happens, it is the responsibility of the caller to invoke the correct +** balancing routine to fix this problem (see the balance() routine). +** +** If this routine fails for any reason, it might leave the database +** in a corrupted state. So if this routine fails, the database should +** be rolled back. +** +** The third argument to this function, aOvflSpace, is a pointer to a +** buffer big enough to hold one page. If while inserting cells into the parent +** page (pParent) the parent page becomes overfull, this buffer is +** used to store the parent's overflow cells. Because this function inserts +** a maximum of four divider cells into the parent page, and the maximum +** size of a cell stored within an internal node is always less than 1/4 +** of the page-size, the aOvflSpace[] buffer is guaranteed to be large +** enough for all overflow cells. +** +** If aOvflSpace is set to a null pointer, this function returns +** SQLITE_NOMEM. +*/ +static int balance_nonroot( + MemPage *pParent, /* Parent page of siblings being balanced */ + int iParentIdx, /* Index of "the page" in pParent */ + u8 *aOvflSpace, /* page-size bytes of space for parent ovfl */ + int isRoot, /* True if pParent is a root-page */ + int bBulk /* True if this call is part of a bulk load */ +){ + BtShared *pBt; /* The whole database */ + int nMaxCells = 0; /* Allocated size of apCell, szCell, aFrom. */ + int nNew = 0; /* Number of pages in apNew[] */ + int nOld; /* Number of pages in apOld[] */ + int i, j, k; /* Loop counters */ + int nxDiv; /* Next divider slot in pParent->aCell[] */ + int rc = SQLITE_OK; /* The return code */ + u16 leafCorrection; /* 4 if pPage is a leaf. 0 if not */ + int leafData; /* True if pPage is a leaf of a LEAFDATA tree */ + int usableSpace; /* Bytes in pPage beyond the header */ + int pageFlags; /* Value of pPage->aData[0] */ + int iSpace1 = 0; /* First unused byte of aSpace1[] */ + int iOvflSpace = 0; /* First unused byte of aOvflSpace[] */ + int szScratch; /* Size of scratch memory requested */ + MemPage *apOld[NB]; /* pPage and up to two siblings */ + MemPage *apNew[NB+2]; /* pPage and up to NB siblings after balancing */ + u8 *pRight; /* Location in parent of right-sibling pointer */ + u8 *apDiv[NB-1]; /* Divider cells in pParent */ + int cntNew[NB+2]; /* Index in b.paCell[] of cell after i-th page */ + int cntOld[NB+2]; /* Old index in b.apCell[] */ + int szNew[NB+2]; /* Combined size of cells placed on i-th page */ + u8 *aSpace1; /* Space for copies of dividers cells */ + Pgno pgno; /* Temp var to store a page number in */ + u8 abDone[NB+2]; /* True after i'th new page is populated */ + Pgno aPgno[NB+2]; /* Page numbers of new pages before shuffling */ + Pgno aPgOrder[NB+2]; /* Copy of aPgno[] used for sorting pages */ + u16 aPgFlags[NB+2]; /* flags field of new pages before shuffling */ + CellArray b; /* Parsed information on cells being balanced */ + + memset(abDone, 0, sizeof(abDone)); + b.nCell = 0; + b.apCell = 0; + pBt = pParent->pBt; + assert( sqlite3_mutex_held(pBt->mutex) ); + assert( sqlite3PagerIswriteable(pParent->pDbPage) ); + + /* At this point pParent may have at most one overflow cell. And if + ** this overflow cell is present, it must be the cell with + ** index iParentIdx. This scenario comes about when this function + ** is called (indirectly) from sqlite3BtreeDelete(). + */ + assert( pParent->nOverflow==0 || pParent->nOverflow==1 ); + assert( pParent->nOverflow==0 || pParent->aiOvfl[0]==iParentIdx ); + + if( !aOvflSpace ){ + return SQLITE_NOMEM_BKPT; + } + assert( pParent->nFree>=0 ); + + /* Find the sibling pages to balance. Also locate the cells in pParent + ** that divide the siblings. An attempt is made to find NN siblings on + ** either side of pPage. More siblings are taken from one side, however, + ** if there are fewer than NN siblings on the other side. If pParent + ** has NB or fewer children then all children of pParent are taken. + ** + ** This loop also drops the divider cells from the parent page. This + ** way, the remainder of the function does not have to deal with any + ** overflow cells in the parent page, since if any existed they will + ** have already been removed. + */ + i = pParent->nOverflow + pParent->nCell; + if( i<2 ){ + nxDiv = 0; + }else{ + assert( bBulk==0 || bBulk==1 ); + if( iParentIdx==0 ){ + nxDiv = 0; + }else if( iParentIdx==i ){ + nxDiv = i-2+bBulk; + }else{ + nxDiv = iParentIdx-1; + } + i = 2-bBulk; + } + nOld = i+1; + if( (i+nxDiv-pParent->nOverflow)==pParent->nCell ){ + pRight = &pParent->aData[pParent->hdrOffset+8]; + }else{ + pRight = findCell(pParent, i+nxDiv-pParent->nOverflow); + } + pgno = get4byte(pRight); + while( 1 ){ + rc = getAndInitPage(pBt, pgno, &apOld[i], 0, 0); + if( rc ){ + memset(apOld, 0, (i+1)*sizeof(MemPage*)); + goto balance_cleanup; + } + if( apOld[i]->nFree<0 ){ + rc = btreeComputeFreeSpace(apOld[i]); + if( rc ){ + memset(apOld, 0, (i)*sizeof(MemPage*)); + goto balance_cleanup; + } + } + if( (i--)==0 ) break; + + if( pParent->nOverflow && i+nxDiv==pParent->aiOvfl[0] ){ + apDiv[i] = pParent->apOvfl[0]; + pgno = get4byte(apDiv[i]); + szNew[i] = pParent->xCellSize(pParent, apDiv[i]); + pParent->nOverflow = 0; + }else{ + apDiv[i] = findCell(pParent, i+nxDiv-pParent->nOverflow); + pgno = get4byte(apDiv[i]); + szNew[i] = pParent->xCellSize(pParent, apDiv[i]); + + /* Drop the cell from the parent page. apDiv[i] still points to + ** the cell within the parent, even though it has been dropped. + ** This is safe because dropping a cell only overwrites the first + ** four bytes of it, and this function does not need the first + ** four bytes of the divider cell. So the pointer is safe to use + ** later on. + ** + ** But not if we are in secure-delete mode. In secure-delete mode, + ** the dropCell() routine will overwrite the entire cell with zeroes. + ** In this case, temporarily copy the cell into the aOvflSpace[] + ** buffer. It will be copied out again as soon as the aSpace[] buffer + ** is allocated. */ + if( pBt->btsFlags & BTS_FAST_SECURE ){ + int iOff; + + iOff = SQLITE_PTR_TO_INT(apDiv[i]) - SQLITE_PTR_TO_INT(pParent->aData); + if( (iOff+szNew[i])>(int)pBt->usableSize ){ + rc = SQLITE_CORRUPT_BKPT; + memset(apOld, 0, (i+1)*sizeof(MemPage*)); + goto balance_cleanup; + }else{ + memcpy(&aOvflSpace[iOff], apDiv[i], szNew[i]); + apDiv[i] = &aOvflSpace[apDiv[i]-pParent->aData]; + } + } + dropCell(pParent, i+nxDiv-pParent->nOverflow, szNew[i], &rc); + } + } + + /* Make nMaxCells a multiple of 4 in order to preserve 8-byte + ** alignment */ + nMaxCells = nOld*(MX_CELL(pBt) + ArraySize(pParent->apOvfl)); + nMaxCells = (nMaxCells + 3)&~3; + + /* + ** Allocate space for memory structures + */ + szScratch = + nMaxCells*sizeof(u8*) /* b.apCell */ + + nMaxCells*sizeof(u16) /* b.szCell */ + + pBt->pageSize; /* aSpace1 */ + + assert( szScratch<=7*(int)pBt->pageSize ); + b.apCell = sqlite3StackAllocRaw(0, szScratch ); + if( b.apCell==0 ){ + rc = SQLITE_NOMEM_BKPT; + goto balance_cleanup; + } + b.szCell = (u16*)&b.apCell[nMaxCells]; + aSpace1 = (u8*)&b.szCell[nMaxCells]; + assert( EIGHT_BYTE_ALIGNMENT(aSpace1) ); + + /* + ** Load pointers to all cells on sibling pages and the divider cells + ** into the local b.apCell[] array. Make copies of the divider cells + ** into space obtained from aSpace1[]. The divider cells have already + ** been removed from pParent. + ** + ** If the siblings are on leaf pages, then the child pointers of the + ** divider cells are stripped from the cells before they are copied + ** into aSpace1[]. In this way, all cells in b.apCell[] are without + ** child pointers. If siblings are not leaves, then all cell in + ** b.apCell[] include child pointers. Either way, all cells in b.apCell[] + ** are alike. + ** + ** leafCorrection: 4 if pPage is a leaf. 0 if pPage is not a leaf. + ** leafData: 1 if pPage holds key+data and pParent holds only keys. + */ + b.pRef = apOld[0]; + leafCorrection = b.pRef->leaf*4; + leafData = b.pRef->intKeyLeaf; + for(i=0; inCell; + u8 *aData = pOld->aData; + u16 maskPage = pOld->maskPage; + u8 *piCell = aData + pOld->cellOffset; + u8 *piEnd; + VVA_ONLY( int nCellAtStart = b.nCell; ) + + /* Verify that all sibling pages are of the same "type" (table-leaf, + ** table-interior, index-leaf, or index-interior). + */ + if( pOld->aData[0]!=apOld[0]->aData[0] ){ + rc = SQLITE_CORRUPT_BKPT; + goto balance_cleanup; + } + + /* Load b.apCell[] with pointers to all cells in pOld. If pOld + ** contains overflow cells, include them in the b.apCell[] array + ** in the correct spot. + ** + ** Note that when there are multiple overflow cells, it is always the + ** case that they are sequential and adjacent. This invariant arises + ** because multiple overflows can only occurs when inserting divider + ** cells into a parent on a prior balance, and divider cells are always + ** adjacent and are inserted in order. There is an assert() tagged + ** with "NOTE 1" in the overflow cell insertion loop to prove this + ** invariant. + ** + ** This must be done in advance. Once the balance starts, the cell + ** offset section of the btree page will be overwritten and we will no + ** long be able to find the cells if a pointer to each cell is not saved + ** first. + */ + memset(&b.szCell[b.nCell], 0, sizeof(b.szCell[0])*(limit+pOld->nOverflow)); + if( pOld->nOverflow>0 ){ + if( NEVER(limitaiOvfl[0]) ){ + rc = SQLITE_CORRUPT_BKPT; + goto balance_cleanup; + } + limit = pOld->aiOvfl[0]; + for(j=0; jnOverflow; k++){ + assert( k==0 || pOld->aiOvfl[k-1]+1==pOld->aiOvfl[k] );/* NOTE 1 */ + b.apCell[b.nCell] = pOld->apOvfl[k]; + b.nCell++; + } + } + piEnd = aData + pOld->cellOffset + 2*pOld->nCell; + while( piCellnCell+pOld->nOverflow) ); + + cntOld[i] = b.nCell; + if( imaxLocal+23 ); + assert( iSpace1 <= (int)pBt->pageSize ); + memcpy(pTemp, apDiv[i], sz); + b.apCell[b.nCell] = pTemp+leafCorrection; + assert( leafCorrection==0 || leafCorrection==4 ); + b.szCell[b.nCell] = b.szCell[b.nCell] - leafCorrection; + if( !pOld->leaf ){ + assert( leafCorrection==0 ); + assert( pOld->hdrOffset==0 ); + /* The right pointer of the child page pOld becomes the left + ** pointer of the divider cell */ + memcpy(b.apCell[b.nCell], &pOld->aData[8], 4); + }else{ + assert( leafCorrection==4 ); + while( b.szCell[b.nCell]<4 ){ + /* Do not allow any cells smaller than 4 bytes. If a smaller cell + ** does exist, pad it with 0x00 bytes. */ + assert( b.szCell[b.nCell]==3 || CORRUPT_DB ); + assert( b.apCell[b.nCell]==&aSpace1[iSpace1-3] || CORRUPT_DB ); + aSpace1[iSpace1++] = 0x00; + b.szCell[b.nCell]++; + } + } + b.nCell++; + } + } + + /* + ** Figure out the number of pages needed to hold all b.nCell cells. + ** Store this number in "k". Also compute szNew[] which is the total + ** size of all cells on the i-th page and cntNew[] which is the index + ** in b.apCell[] of the cell that divides page i from page i+1. + ** cntNew[k] should equal b.nCell. + ** + ** Values computed by this block: + ** + ** k: The total number of sibling pages + ** szNew[i]: Spaced used on the i-th sibling page. + ** cntNew[i]: Index in b.apCell[] and b.szCell[] for the first cell to + ** the right of the i-th sibling page. + ** usableSpace: Number of bytes of space available on each sibling. + ** + */ + usableSpace = pBt->usableSize - 12 + leafCorrection; + for(i=k=0; iaDataEnd; + b.ixNx[k] = cntOld[i]; + if( k && b.ixNx[k]==b.ixNx[k-1] ){ + k--; /* Omit b.ixNx[] entry for child pages with no cells */ + } + if( !leafData ){ + k++; + b.apEnd[k] = pParent->aDataEnd; + b.ixNx[k] = cntOld[i]+1; + } + assert( p->nFree>=0 ); + szNew[i] = usableSpace - p->nFree; + for(j=0; jnOverflow; j++){ + szNew[i] += 2 + p->xCellSize(p, p->apOvfl[j]); + } + cntNew[i] = cntOld[i]; + } + k = nOld; + for(i=0; iusableSpace ){ + if( i+1>=k ){ + k = i+2; + if( k>NB+2 ){ rc = SQLITE_CORRUPT_BKPT; goto balance_cleanup; } + szNew[k-1] = 0; + cntNew[k-1] = b.nCell; + } + sz = 2 + cachedCellSize(&b, cntNew[i]-1); + szNew[i] -= sz; + if( !leafData ){ + if( cntNew[i]usableSpace ) break; + szNew[i] += sz; + cntNew[i]++; + if( !leafData ){ + if( cntNew[i]=b.nCell ){ + k = i+1; + }else if( cntNew[i] <= (i>0 ? cntNew[i-1] : 0) ){ + rc = SQLITE_CORRUPT_BKPT; + goto balance_cleanup; + } + } + + /* + ** The packing computed by the previous block is biased toward the siblings + ** on the left side (siblings with smaller keys). The left siblings are + ** always nearly full, while the right-most sibling might be nearly empty. + ** The next block of code attempts to adjust the packing of siblings to + ** get a better balance. + ** + ** This adjustment is more than an optimization. The packing above might + ** be so out of balance as to be illegal. For example, the right-most + ** sibling might be completely empty. This adjustment is not optional. + */ + for(i=k-1; i>0; i--){ + int szRight = szNew[i]; /* Size of sibling on the right */ + int szLeft = szNew[i-1]; /* Size of sibling on the left */ + int r; /* Index of right-most cell in left sibling */ + int d; /* Index of first cell to the left of right sibling */ + + r = cntNew[i-1] - 1; + d = r + 1 - leafData; + (void)cachedCellSize(&b, d); + do{ + assert( d szLeft-(b.szCell[r]+(i==k-1?0:2)))){ + break; + } + szRight += b.szCell[d] + 2; + szLeft -= b.szCell[r] + 2; + cntNew[i-1] = r; + r--; + d--; + }while( r>=0 ); + szNew[i] = szRight; + szNew[i-1] = szLeft; + if( cntNew[i-1] <= (i>1 ? cntNew[i-2] : 0) ){ + rc = SQLITE_CORRUPT_BKPT; + goto balance_cleanup; + } + } + + /* Sanity check: For a non-corrupt database file one of the follwing + ** must be true: + ** (1) We found one or more cells (cntNew[0])>0), or + ** (2) pPage is a virtual root page. A virtual root page is when + ** the real root page is page 1 and we are the only child of + ** that page. + */ + assert( cntNew[0]>0 || (pParent->pgno==1 && pParent->nCell==0) || CORRUPT_DB); + TRACE(("BALANCE: old: %d(nc=%d) %d(nc=%d) %d(nc=%d)\n", + apOld[0]->pgno, apOld[0]->nCell, + nOld>=2 ? apOld[1]->pgno : 0, nOld>=2 ? apOld[1]->nCell : 0, + nOld>=3 ? apOld[2]->pgno : 0, nOld>=3 ? apOld[2]->nCell : 0 + )); + + /* + ** Allocate k new pages. Reuse old pages where possible. + */ + pageFlags = apOld[0]->aData[0]; + for(i=0; ipDbPage); + nNew++; + if( rc ) goto balance_cleanup; + }else{ + assert( i>0 ); + rc = allocateBtreePage(pBt, &pNew, &pgno, (bBulk ? 1 : pgno), 0); + if( rc ) goto balance_cleanup; + zeroPage(pNew, pageFlags); + apNew[i] = pNew; + nNew++; + cntOld[i] = b.nCell; + + /* Set the pointer-map entry for the new sibling page. */ + if( ISAUTOVACUUM ){ + ptrmapPut(pBt, pNew->pgno, PTRMAP_BTREE, pParent->pgno, &rc); + if( rc!=SQLITE_OK ){ + goto balance_cleanup; + } + } + } + } + + /* + ** Reassign page numbers so that the new pages are in ascending order. + ** This helps to keep entries in the disk file in order so that a scan + ** of the table is closer to a linear scan through the file. That in turn + ** helps the operating system to deliver pages from the disk more rapidly. + ** + ** An O(n^2) insertion sort algorithm is used, but since n is never more + ** than (NB+2) (a small constant), that should not be a problem. + ** + ** When NB==3, this one optimization makes the database about 25% faster + ** for large insertions and deletions. + */ + for(i=0; ipgno; + aPgFlags[i] = apNew[i]->pDbPage->flags; + for(j=0; ji ){ + sqlite3PagerRekey(apNew[iBest]->pDbPage, pBt->nPage+iBest+1, 0); + } + sqlite3PagerRekey(apNew[i]->pDbPage, pgno, aPgFlags[iBest]); + apNew[i]->pgno = pgno; + } + } + + TRACE(("BALANCE: new: %d(%d nc=%d) %d(%d nc=%d) %d(%d nc=%d) " + "%d(%d nc=%d) %d(%d nc=%d)\n", + apNew[0]->pgno, szNew[0], cntNew[0], + nNew>=2 ? apNew[1]->pgno : 0, nNew>=2 ? szNew[1] : 0, + nNew>=2 ? cntNew[1] - cntNew[0] - !leafData : 0, + nNew>=3 ? apNew[2]->pgno : 0, nNew>=3 ? szNew[2] : 0, + nNew>=3 ? cntNew[2] - cntNew[1] - !leafData : 0, + nNew>=4 ? apNew[3]->pgno : 0, nNew>=4 ? szNew[3] : 0, + nNew>=4 ? cntNew[3] - cntNew[2] - !leafData : 0, + nNew>=5 ? apNew[4]->pgno : 0, nNew>=5 ? szNew[4] : 0, + nNew>=5 ? cntNew[4] - cntNew[3] - !leafData : 0 + )); + + assert( sqlite3PagerIswriteable(pParent->pDbPage) ); + assert( nNew>=1 && nNew<=ArraySize(apNew) ); + assert( apNew[nNew-1]!=0 ); + put4byte(pRight, apNew[nNew-1]->pgno); + + /* If the sibling pages are not leaves, ensure that the right-child pointer + ** of the right-most new sibling page is set to the value that was + ** originally in the same field of the right-most old sibling page. */ + if( (pageFlags & PTF_LEAF)==0 && nOld!=nNew ){ + MemPage *pOld = (nNew>nOld ? apNew : apOld)[nOld-1]; + memcpy(&apNew[nNew-1]->aData[8], &pOld->aData[8], 4); + } + + /* Make any required updates to pointer map entries associated with + ** cells stored on sibling pages following the balance operation. Pointer + ** map entries associated with divider cells are set by the insertCell() + ** routine. The associated pointer map entries are: + ** + ** a) if the cell contains a reference to an overflow chain, the + ** entry associated with the first page in the overflow chain, and + ** + ** b) if the sibling pages are not leaves, the child page associated + ** with the cell. + ** + ** If the sibling pages are not leaves, then the pointer map entry + ** associated with the right-child of each sibling may also need to be + ** updated. This happens below, after the sibling pages have been + ** populated, not here. + */ + if( ISAUTOVACUUM ){ + MemPage *pOld; + MemPage *pNew = pOld = apNew[0]; + int cntOldNext = pNew->nCell + pNew->nOverflow; + int iNew = 0; + int iOld = 0; + + for(i=0; i=0 && iOldnCell + pOld->nOverflow + !leafData; + } + if( i==cntNew[iNew] ){ + pNew = apNew[++iNew]; + if( !leafData ) continue; + } + + /* Cell pCell is destined for new sibling page pNew. Originally, it + ** was either part of sibling page iOld (possibly an overflow cell), + ** or else the divider cell to the left of sibling page iOld. So, + ** if sibling page iOld had the same page number as pNew, and if + ** pCell really was a part of sibling page iOld (not a divider or + ** overflow cell), we can skip updating the pointer map entries. */ + if( iOld>=nNew + || pNew->pgno!=aPgno[iOld] + || !SQLITE_WITHIN(pCell,pOld->aData,pOld->aDataEnd) + ){ + if( !leafCorrection ){ + ptrmapPut(pBt, get4byte(pCell), PTRMAP_BTREE, pNew->pgno, &rc); + } + if( cachedCellSize(&b,i)>pNew->minLocal ){ + ptrmapPutOvflPtr(pNew, pOld, pCell, &rc); + } + if( rc ) goto balance_cleanup; + } + } + } + + /* Insert new divider cells into pParent. */ + for(i=0; ileaf ){ + memcpy(&pNew->aData[8], pCell, 4); + }else if( leafData ){ + /* If the tree is a leaf-data tree, and the siblings are leaves, + ** then there is no divider cell in b.apCell[]. Instead, the divider + ** cell consists of the integer key for the right-most cell of + ** the sibling-page assembled above only. + */ + CellInfo info; + j--; + pNew->xParseCell(pNew, b.apCell[j], &info); + pCell = pTemp; + sz = 4 + putVarint(&pCell[4], info.nKey); + pTemp = 0; + }else{ + pCell -= 4; + /* Obscure case for non-leaf-data trees: If the cell at pCell was + ** previously stored on a leaf node, and its reported size was 4 + ** bytes, then it may actually be smaller than this + ** (see btreeParseCellPtr(), 4 bytes is the minimum size of + ** any cell). But it is important to pass the correct size to + ** insertCell(), so reparse the cell now. + ** + ** This can only happen for b-trees used to evaluate "IN (SELECT ...)" + ** and WITHOUT ROWID tables with exactly one column which is the + ** primary key. + */ + if( b.szCell[j]==4 ){ + assert(leafCorrection==4); + sz = pParent->xCellSize(pParent, pCell); + } + } + iOvflSpace += sz; + assert( sz<=pBt->maxLocal+23 ); + assert( iOvflSpace <= (int)pBt->pageSize ); + insertCell(pParent, nxDiv+i, pCell, sz, pTemp, pNew->pgno, &rc); + if( rc!=SQLITE_OK ) goto balance_cleanup; + assert( sqlite3PagerIswriteable(pParent->pDbPage) ); + } + + /* Now update the actual sibling pages. The order in which they are updated + ** is important, as this code needs to avoid disrupting any page from which + ** cells may still to be read. In practice, this means: + ** + ** (1) If cells are moving left (from apNew[iPg] to apNew[iPg-1]) + ** then it is not safe to update page apNew[iPg] until after + ** the left-hand sibling apNew[iPg-1] has been updated. + ** + ** (2) If cells are moving right (from apNew[iPg] to apNew[iPg+1]) + ** then it is not safe to update page apNew[iPg] until after + ** the right-hand sibling apNew[iPg+1] has been updated. + ** + ** If neither of the above apply, the page is safe to update. + ** + ** The iPg value in the following loop starts at nNew-1 goes down + ** to 0, then back up to nNew-1 again, thus making two passes over + ** the pages. On the initial downward pass, only condition (1) above + ** needs to be tested because (2) will always be true from the previous + ** step. On the upward pass, both conditions are always true, so the + ** upwards pass simply processes pages that were missed on the downward + ** pass. + */ + for(i=1-nNew; i=0 && iPg=0 /* On the upwards pass, or... */ + || cntOld[iPg-1]>=cntNew[iPg-1] /* Condition (1) is true */ + ){ + int iNew; + int iOld; + int nNewCell; + + /* Verify condition (1): If cells are moving left, update iPg + ** only after iPg-1 has already been updated. */ + assert( iPg==0 || cntOld[iPg-1]>=cntNew[iPg-1] || abDone[iPg-1] ); + + /* Verify condition (2): If cells are moving right, update iPg + ** only after iPg+1 has already been updated. */ + assert( cntNew[iPg]>=cntOld[iPg] || abDone[iPg+1] ); + + if( iPg==0 ){ + iNew = iOld = 0; + nNewCell = cntNew[0]; + }else{ + iOld = iPgnFree = usableSpace-szNew[iPg]; + assert( apNew[iPg]->nOverflow==0 ); + assert( apNew[iPg]->nCell==nNewCell ); + } + } + + /* All pages have been processed exactly once */ + assert( memcmp(abDone, "\01\01\01\01\01", nNew)==0 ); + + assert( nOld>0 ); + assert( nNew>0 ); + + if( isRoot && pParent->nCell==0 && pParent->hdrOffset<=apNew[0]->nFree ){ + /* The root page of the b-tree now contains no cells. The only sibling + ** page is the right-child of the parent. Copy the contents of the + ** child page into the parent, decreasing the overall height of the + ** b-tree structure by one. This is described as the "balance-shallower" + ** sub-algorithm in some documentation. + ** + ** If this is an auto-vacuum database, the call to copyNodeContent() + ** sets all pointer-map entries corresponding to database image pages + ** for which the pointer is stored within the content being copied. + ** + ** It is critical that the child page be defragmented before being + ** copied into the parent, because if the parent is page 1 then it will + ** by smaller than the child due to the database header, and so all the + ** free space needs to be up front. + */ + assert( nNew==1 || CORRUPT_DB ); + rc = defragmentPage(apNew[0], -1); + testcase( rc!=SQLITE_OK ); + assert( apNew[0]->nFree == + (get2byteNotZero(&apNew[0]->aData[5]) - apNew[0]->cellOffset + - apNew[0]->nCell*2) + || rc!=SQLITE_OK + ); + copyNodeContent(apNew[0], pParent, &rc); + freePage(apNew[0], &rc); + }else if( ISAUTOVACUUM && !leafCorrection ){ + /* Fix the pointer map entries associated with the right-child of each + ** sibling page. All other pointer map entries have already been taken + ** care of. */ + for(i=0; iaData[8]); + ptrmapPut(pBt, key, PTRMAP_BTREE, apNew[i]->pgno, &rc); + } + } + + assert( pParent->isInit ); + TRACE(("BALANCE: finished: old=%d new=%d cells=%d\n", + nOld, nNew, b.nCell)); + + /* Free any old pages that were not reused as new pages. + */ + for(i=nNew; iisInit ){ + /* The ptrmapCheckPages() contains assert() statements that verify that + ** all pointer map pages are set correctly. This is helpful while + ** debugging. This is usually disabled because a corrupt database may + ** cause an assert() statement to fail. */ + ptrmapCheckPages(apNew, nNew); + ptrmapCheckPages(&pParent, 1); + } +#endif + + /* + ** Cleanup before returning. + */ +balance_cleanup: + sqlite3StackFree(0, b.apCell); + for(i=0; ipBt; /* The BTree */ + + assert( pRoot->nOverflow>0 ); + assert( sqlite3_mutex_held(pBt->mutex) ); + + /* Make pRoot, the root page of the b-tree, writable. Allocate a new + ** page that will become the new right-child of pPage. Copy the contents + ** of the node stored on pRoot into the new child page. + */ + rc = sqlite3PagerWrite(pRoot->pDbPage); + if( rc==SQLITE_OK ){ + rc = allocateBtreePage(pBt,&pChild,&pgnoChild,pRoot->pgno,0); + copyNodeContent(pRoot, pChild, &rc); + if( ISAUTOVACUUM ){ + ptrmapPut(pBt, pgnoChild, PTRMAP_BTREE, pRoot->pgno, &rc); + } + } + if( rc ){ + *ppChild = 0; + releasePage(pChild); + return rc; + } + assert( sqlite3PagerIswriteable(pChild->pDbPage) ); + assert( sqlite3PagerIswriteable(pRoot->pDbPage) ); + assert( pChild->nCell==pRoot->nCell || CORRUPT_DB ); + + TRACE(("BALANCE: copy root %d into %d\n", pRoot->pgno, pChild->pgno)); + + /* Copy the overflow cells from pRoot to pChild */ + memcpy(pChild->aiOvfl, pRoot->aiOvfl, + pRoot->nOverflow*sizeof(pRoot->aiOvfl[0])); + memcpy(pChild->apOvfl, pRoot->apOvfl, + pRoot->nOverflow*sizeof(pRoot->apOvfl[0])); + pChild->nOverflow = pRoot->nOverflow; + + /* Zero the contents of pRoot. Then install pChild as the right-child. */ + zeroPage(pRoot, pChild->aData[0] & ~PTF_LEAF); + put4byte(&pRoot->aData[pRoot->hdrOffset+8], pgnoChild); + + *ppChild = pChild; + return SQLITE_OK; +} + +/* +** The page that pCur currently points to has just been modified in +** some way. This function figures out if this modification means the +** tree needs to be balanced, and if so calls the appropriate balancing +** routine. Balancing routines are: +** +** balance_quick() +** balance_deeper() +** balance_nonroot() +*/ +static int balance(BtCursor *pCur){ + int rc = SQLITE_OK; + const int nMin = pCur->pBt->usableSize * 2 / 3; + u8 aBalanceQuickSpace[13]; + u8 *pFree = 0; + + VVA_ONLY( int balance_quick_called = 0 ); + VVA_ONLY( int balance_deeper_called = 0 ); + + do { + int iPage; + MemPage *pPage = pCur->pPage; + + if( NEVER(pPage->nFree<0) && btreeComputeFreeSpace(pPage) ) break; + if( pPage->nOverflow==0 && pPage->nFree<=nMin ){ + break; + }else if( (iPage = pCur->iPage)==0 ){ + if( pPage->nOverflow ){ + /* The root page of the b-tree is overfull. In this case call the + ** balance_deeper() function to create a new child for the root-page + ** and copy the current contents of the root-page to it. The + ** next iteration of the do-loop will balance the child page. + */ + assert( balance_deeper_called==0 ); + VVA_ONLY( balance_deeper_called++ ); + rc = balance_deeper(pPage, &pCur->apPage[1]); + if( rc==SQLITE_OK ){ + pCur->iPage = 1; + pCur->ix = 0; + pCur->aiIdx[0] = 0; + pCur->apPage[0] = pPage; + pCur->pPage = pCur->apPage[1]; + assert( pCur->pPage->nOverflow ); + } + }else{ + break; + } + }else{ + MemPage * const pParent = pCur->apPage[iPage-1]; + int const iIdx = pCur->aiIdx[iPage-1]; + + rc = sqlite3PagerWrite(pParent->pDbPage); + if( rc==SQLITE_OK && pParent->nFree<0 ){ + rc = btreeComputeFreeSpace(pParent); + } + if( rc==SQLITE_OK ){ +#ifndef SQLITE_OMIT_QUICKBALANCE + if( pPage->intKeyLeaf + && pPage->nOverflow==1 + && pPage->aiOvfl[0]==pPage->nCell + && pParent->pgno!=1 + && pParent->nCell==iIdx + ){ + /* Call balance_quick() to create a new sibling of pPage on which + ** to store the overflow cell. balance_quick() inserts a new cell + ** into pParent, which may cause pParent overflow. If this + ** happens, the next iteration of the do-loop will balance pParent + ** use either balance_nonroot() or balance_deeper(). Until this + ** happens, the overflow cell is stored in the aBalanceQuickSpace[] + ** buffer. + ** + ** The purpose of the following assert() is to check that only a + ** single call to balance_quick() is made for each call to this + ** function. If this were not verified, a subtle bug involving reuse + ** of the aBalanceQuickSpace[] might sneak in. + */ + assert( balance_quick_called==0 ); + VVA_ONLY( balance_quick_called++ ); + rc = balance_quick(pParent, pPage, aBalanceQuickSpace); + }else +#endif + { + /* In this case, call balance_nonroot() to redistribute cells + ** between pPage and up to 2 of its sibling pages. This involves + ** modifying the contents of pParent, which may cause pParent to + ** become overfull or underfull. The next iteration of the do-loop + ** will balance the parent page to correct this. + ** + ** If the parent page becomes overfull, the overflow cell or cells + ** are stored in the pSpace buffer allocated immediately below. + ** A subsequent iteration of the do-loop will deal with this by + ** calling balance_nonroot() (balance_deeper() may be called first, + ** but it doesn't deal with overflow cells - just moves them to a + ** different page). Once this subsequent call to balance_nonroot() + ** has completed, it is safe to release the pSpace buffer used by + ** the previous call, as the overflow cell data will have been + ** copied either into the body of a database page or into the new + ** pSpace buffer passed to the latter call to balance_nonroot(). + */ + u8 *pSpace = sqlite3PageMalloc(pCur->pBt->pageSize); + rc = balance_nonroot(pParent, iIdx, pSpace, iPage==1, + pCur->hints&BTREE_BULKLOAD); + if( pFree ){ + /* If pFree is not NULL, it points to the pSpace buffer used + ** by a previous call to balance_nonroot(). Its contents are + ** now stored either on real database pages or within the + ** new pSpace buffer, so it may be safely freed here. */ + sqlite3PageFree(pFree); + } + + /* The pSpace buffer will be freed after the next call to + ** balance_nonroot(), or just before this function returns, whichever + ** comes first. */ + pFree = pSpace; + } + } + + pPage->nOverflow = 0; + + /* The next iteration of the do-loop balances the parent page. */ + releasePage(pPage); + pCur->iPage--; + assert( pCur->iPage>=0 ); + pCur->pPage = pCur->apPage[pCur->iPage]; + } + }while( rc==SQLITE_OK ); + + if( pFree ){ + sqlite3PageFree(pFree); + } + return rc; +} + +/* Overwrite content from pX into pDest. Only do the write if the +** content is different from what is already there. +*/ +static int btreeOverwriteContent( + MemPage *pPage, /* MemPage on which writing will occur */ + u8 *pDest, /* Pointer to the place to start writing */ + const BtreePayload *pX, /* Source of data to write */ + int iOffset, /* Offset of first byte to write */ + int iAmt /* Number of bytes to be written */ +){ + int nData = pX->nData - iOffset; + if( nData<=0 ){ + /* Overwritting with zeros */ + int i; + for(i=0; ipDbPage); + if( rc ) return rc; + memset(pDest + i, 0, iAmt - i); + } + }else{ + if( nDatapData) + iOffset, iAmt)!=0 ){ + int rc = sqlite3PagerWrite(pPage->pDbPage); + if( rc ) return rc; + /* In a corrupt database, it is possible for the source and destination + ** buffers to overlap. This is harmless since the database is already + ** corrupt but it does cause valgrind and ASAN warnings. So use + ** memmove(). */ + memmove(pDest, ((u8*)pX->pData) + iOffset, iAmt); + } + } + return SQLITE_OK; +} + +/* +** Overwrite the cell that cursor pCur is pointing to with fresh content +** contained in pX. +*/ +static int btreeOverwriteCell(BtCursor *pCur, const BtreePayload *pX){ + int iOffset; /* Next byte of pX->pData to write */ + int nTotal = pX->nData + pX->nZero; /* Total bytes of to write */ + int rc; /* Return code */ + MemPage *pPage = pCur->pPage; /* Page being written */ + BtShared *pBt; /* Btree */ + Pgno ovflPgno; /* Next overflow page to write */ + u32 ovflPageSize; /* Size to write on overflow page */ + + if( pCur->info.pPayload + pCur->info.nLocal > pPage->aDataEnd + || pCur->info.pPayload < pPage->aData + pPage->cellOffset + ){ + return SQLITE_CORRUPT_BKPT; + } + /* Overwrite the local portion first */ + rc = btreeOverwriteContent(pPage, pCur->info.pPayload, pX, + 0, pCur->info.nLocal); + if( rc ) return rc; + if( pCur->info.nLocal==nTotal ) return SQLITE_OK; + + /* Now overwrite the overflow pages */ + iOffset = pCur->info.nLocal; + assert( nTotal>=0 ); + assert( iOffset>=0 ); + ovflPgno = get4byte(pCur->info.pPayload + iOffset); + pBt = pPage->pBt; + ovflPageSize = pBt->usableSize - 4; + do{ + rc = btreeGetPage(pBt, ovflPgno, &pPage, 0); + if( rc ) return rc; + if( sqlite3PagerPageRefcount(pPage->pDbPage)!=1 ){ + rc = SQLITE_CORRUPT_BKPT; + }else{ + if( iOffset+ovflPageSize<(u32)nTotal ){ + ovflPgno = get4byte(pPage->aData); + }else{ + ovflPageSize = nTotal - iOffset; + } + rc = btreeOverwriteContent(pPage, pPage->aData+4, pX, + iOffset, ovflPageSize); + } + sqlite3PagerUnref(pPage->pDbPage); + if( rc ) return rc; + iOffset += ovflPageSize; + }while( iOffset0 then pCur points to a cell +** that is larger than (pKey,nKey). +** +** If seekResult==0, that means pCur is pointing at some unknown location. +** In that case, this routine must seek the cursor to the correct insertion +** point for (pKey,nKey) before doing the insertion. For index btrees, +** if pX->nMem is non-zero, then pX->aMem contains pointers to the unpacked +** key values and pX->aMem can be used instead of pX->pKey to avoid having +** to decode the key. +*/ +SQLITE_PRIVATE int sqlite3BtreeInsert( + BtCursor *pCur, /* Insert data into the table of this cursor */ + const BtreePayload *pX, /* Content of the row to be inserted */ + int flags, /* True if this is likely an append */ + int seekResult /* Result of prior MovetoUnpacked() call */ +){ + int rc; + int loc = seekResult; /* -1: before desired location +1: after */ + int szNew = 0; + int idx; + MemPage *pPage; + Btree *p = pCur->pBtree; + BtShared *pBt = p->pBt; + unsigned char *oldCell; + unsigned char *newCell = 0; + + assert( (flags & (BTREE_SAVEPOSITION|BTREE_APPEND))==flags ); + + if( pCur->eState==CURSOR_FAULT ){ + assert( pCur->skipNext!=SQLITE_OK ); + return pCur->skipNext; + } + + assert( cursorOwnsBtShared(pCur) ); + assert( (pCur->curFlags & BTCF_WriteFlag)!=0 + && pBt->inTransaction==TRANS_WRITE + && (pBt->btsFlags & BTS_READ_ONLY)==0 ); + assert( hasSharedCacheTableLock(p, pCur->pgnoRoot, pCur->pKeyInfo!=0, 2) ); + + /* Assert that the caller has been consistent. If this cursor was opened + ** expecting an index b-tree, then the caller should be inserting blob + ** keys with no associated data. If the cursor was opened expecting an + ** intkey table, the caller should be inserting integer keys with a + ** blob of associated data. */ + assert( (pX->pKey==0)==(pCur->pKeyInfo==0) ); + + /* Save the positions of any other cursors open on this table. + ** + ** In some cases, the call to btreeMoveto() below is a no-op. For + ** example, when inserting data into a table with auto-generated integer + ** keys, the VDBE layer invokes sqlite3BtreeLast() to figure out the + ** integer key to use. It then calls this function to actually insert the + ** data into the intkey B-Tree. In this case btreeMoveto() recognizes + ** that the cursor is already where it needs to be and returns without + ** doing any work. To avoid thwarting these optimizations, it is important + ** not to clear the cursor here. + */ + if( pCur->curFlags & BTCF_Multiple ){ + rc = saveAllCursors(pBt, pCur->pgnoRoot, pCur); + if( rc ) return rc; + } + + if( pCur->pKeyInfo==0 ){ + assert( pX->pKey==0 ); + /* If this is an insert into a table b-tree, invalidate any incrblob + ** cursors open on the row being replaced */ + invalidateIncrblobCursors(p, pCur->pgnoRoot, pX->nKey, 0); + + /* If BTREE_SAVEPOSITION is set, the cursor must already be pointing + ** to a row with the same key as the new entry being inserted. + */ +#ifdef SQLITE_DEBUG + if( flags & BTREE_SAVEPOSITION ){ + assert( pCur->curFlags & BTCF_ValidNKey ); + assert( pX->nKey==pCur->info.nKey ); + assert( pCur->info.nSize!=0 ); + assert( loc==0 ); + } +#endif + + /* On the other hand, BTREE_SAVEPOSITION==0 does not imply + ** that the cursor is not pointing to a row to be overwritten. + ** So do a complete check. + */ + if( (pCur->curFlags&BTCF_ValidNKey)!=0 && pX->nKey==pCur->info.nKey ){ + /* The cursor is pointing to the entry that is to be + ** overwritten */ + assert( pX->nData>=0 && pX->nZero>=0 ); + if( pCur->info.nSize!=0 + && pCur->info.nPayload==(u32)pX->nData+pX->nZero + ){ + /* New entry is the same size as the old. Do an overwrite */ + return btreeOverwriteCell(pCur, pX); + } + assert( loc==0 ); + }else if( loc==0 ){ + /* The cursor is *not* pointing to the cell to be overwritten, nor + ** to an adjacent cell. Move the cursor so that it is pointing either + ** to the cell to be overwritten or an adjacent cell. + */ + rc = sqlite3BtreeMovetoUnpacked(pCur, 0, pX->nKey, flags!=0, &loc); + if( rc ) return rc; + } + }else{ + /* This is an index or a WITHOUT ROWID table */ + + /* If BTREE_SAVEPOSITION is set, the cursor must already be pointing + ** to a row with the same key as the new entry being inserted. + */ + assert( (flags & BTREE_SAVEPOSITION)==0 || loc==0 ); + + /* If the cursor is not already pointing either to the cell to be + ** overwritten, or if a new cell is being inserted, if the cursor is + ** not pointing to an immediately adjacent cell, then move the cursor + ** so that it does. + */ + if( loc==0 && (flags & BTREE_SAVEPOSITION)==0 ){ + if( pX->nMem ){ + UnpackedRecord r; + r.pKeyInfo = pCur->pKeyInfo; + r.aMem = pX->aMem; + r.nField = pX->nMem; + r.default_rc = 0; + r.errCode = 0; + r.r1 = 0; + r.r2 = 0; + r.eqSeen = 0; + rc = sqlite3BtreeMovetoUnpacked(pCur, &r, 0, flags!=0, &loc); + }else{ + rc = btreeMoveto(pCur, pX->pKey, pX->nKey, flags!=0, &loc); + } + if( rc ) return rc; + } + + /* If the cursor is currently pointing to an entry to be overwritten + ** and the new content is the same as as the old, then use the + ** overwrite optimization. + */ + if( loc==0 ){ + getCellInfo(pCur); + if( pCur->info.nKey==pX->nKey ){ + BtreePayload x2; + x2.pData = pX->pKey; + x2.nData = pX->nKey; + x2.nZero = 0; + return btreeOverwriteCell(pCur, &x2); + } + } + + } + assert( pCur->eState==CURSOR_VALID || (pCur->eState==CURSOR_INVALID && loc) ); + + pPage = pCur->pPage; + assert( pPage->intKey || pX->nKey>=0 ); + assert( pPage->leaf || !pPage->intKey ); + if( pPage->nFree<0 ){ + rc = btreeComputeFreeSpace(pPage); + if( rc ) return rc; + } + + TRACE(("INSERT: table=%d nkey=%lld ndata=%d page=%d %s\n", + pCur->pgnoRoot, pX->nKey, pX->nData, pPage->pgno, + loc==0 ? "overwrite" : "new entry")); + assert( pPage->isInit ); + newCell = pBt->pTmpSpace; + assert( newCell!=0 ); + rc = fillInCell(pPage, newCell, pX, &szNew); + if( rc ) goto end_insert; + assert( szNew==pPage->xCellSize(pPage, newCell) ); + assert( szNew <= MX_CELL_SIZE(pBt) ); + idx = pCur->ix; + if( loc==0 ){ + CellInfo info; + assert( idxnCell ); + rc = sqlite3PagerWrite(pPage->pDbPage); + if( rc ){ + goto end_insert; + } + oldCell = findCell(pPage, idx); + if( !pPage->leaf ){ + memcpy(newCell, oldCell, 4); + } + rc = clearCell(pPage, oldCell, &info); + testcase( pCur->curFlags & BTCF_ValidOvfl ); + invalidateOverflowCache(pCur); + if( info.nSize==szNew && info.nLocal==info.nPayload + && (!ISAUTOVACUUM || szNewminLocal) + ){ + /* Overwrite the old cell with the new if they are the same size. + ** We could also try to do this if the old cell is smaller, then add + ** the leftover space to the free list. But experiments show that + ** doing that is no faster then skipping this optimization and just + ** calling dropCell() and insertCell(). + ** + ** This optimization cannot be used on an autovacuum database if the + ** new entry uses overflow pages, as the insertCell() call below is + ** necessary to add the PTRMAP_OVERFLOW1 pointer-map entry. */ + assert( rc==SQLITE_OK ); /* clearCell never fails when nLocal==nPayload */ + if( oldCell < pPage->aData+pPage->hdrOffset+10 ){ + return SQLITE_CORRUPT_BKPT; + } + if( oldCell+szNew > pPage->aDataEnd ){ + return SQLITE_CORRUPT_BKPT; + } + memcpy(oldCell, newCell, szNew); + return SQLITE_OK; + } + dropCell(pPage, idx, info.nSize, &rc); + if( rc ) goto end_insert; + }else if( loc<0 && pPage->nCell>0 ){ + assert( pPage->leaf ); + idx = ++pCur->ix; + pCur->curFlags &= ~BTCF_ValidNKey; + }else{ + assert( pPage->leaf ); + } + insertCell(pPage, idx, newCell, szNew, 0, 0, &rc); + assert( pPage->nOverflow==0 || rc==SQLITE_OK ); + assert( rc!=SQLITE_OK || pPage->nCell>0 || pPage->nOverflow>0 ); + + /* If no error has occurred and pPage has an overflow cell, call balance() + ** to redistribute the cells within the tree. Since balance() may move + ** the cursor, zero the BtCursor.info.nSize and BTCF_ValidNKey + ** variables. + ** + ** Previous versions of SQLite called moveToRoot() to move the cursor + ** back to the root page as balance() used to invalidate the contents + ** of BtCursor.apPage[] and BtCursor.aiIdx[]. Instead of doing that, + ** set the cursor state to "invalid". This makes common insert operations + ** slightly faster. + ** + ** There is a subtle but important optimization here too. When inserting + ** multiple records into an intkey b-tree using a single cursor (as can + ** happen while processing an "INSERT INTO ... SELECT" statement), it + ** is advantageous to leave the cursor pointing to the last entry in + ** the b-tree if possible. If the cursor is left pointing to the last + ** entry in the table, and the next row inserted has an integer key + ** larger than the largest existing key, it is possible to insert the + ** row without seeking the cursor. This can be a big performance boost. + */ + pCur->info.nSize = 0; + if( pPage->nOverflow ){ + assert( rc==SQLITE_OK ); + pCur->curFlags &= ~(BTCF_ValidNKey); + rc = balance(pCur); + + /* Must make sure nOverflow is reset to zero even if the balance() + ** fails. Internal data structure corruption will result otherwise. + ** Also, set the cursor state to invalid. This stops saveCursorPosition() + ** from trying to save the current position of the cursor. */ + pCur->pPage->nOverflow = 0; + pCur->eState = CURSOR_INVALID; + if( (flags & BTREE_SAVEPOSITION) && rc==SQLITE_OK ){ + btreeReleaseAllCursorPages(pCur); + if( pCur->pKeyInfo ){ + assert( pCur->pKey==0 ); + pCur->pKey = sqlite3Malloc( pX->nKey ); + if( pCur->pKey==0 ){ + rc = SQLITE_NOMEM; + }else{ + memcpy(pCur->pKey, pX->pKey, pX->nKey); + } + } + pCur->eState = CURSOR_REQUIRESEEK; + pCur->nKey = pX->nKey; + } + } + assert( pCur->iPage<0 || pCur->pPage->nOverflow==0 ); + +end_insert: + return rc; +} + +/* +** Delete the entry that the cursor is pointing to. +** +** If the BTREE_SAVEPOSITION bit of the flags parameter is zero, then +** the cursor is left pointing at an arbitrary location after the delete. +** But if that bit is set, then the cursor is left in a state such that +** the next call to BtreeNext() or BtreePrev() moves it to the same row +** as it would have been on if the call to BtreeDelete() had been omitted. +** +** The BTREE_AUXDELETE bit of flags indicates that is one of several deletes +** associated with a single table entry and its indexes. Only one of those +** deletes is considered the "primary" delete. The primary delete occurs +** on a cursor that is not a BTREE_FORDELETE cursor. All but one delete +** operation on non-FORDELETE cursors is tagged with the AUXDELETE flag. +** The BTREE_AUXDELETE bit is a hint that is not used by this implementation, +** but which might be used by alternative storage engines. +*/ +SQLITE_PRIVATE int sqlite3BtreeDelete(BtCursor *pCur, u8 flags){ + Btree *p = pCur->pBtree; + BtShared *pBt = p->pBt; + int rc; /* Return code */ + MemPage *pPage; /* Page to delete cell from */ + unsigned char *pCell; /* Pointer to cell to delete */ + int iCellIdx; /* Index of cell to delete */ + int iCellDepth; /* Depth of node containing pCell */ + CellInfo info; /* Size of the cell being deleted */ + int bSkipnext = 0; /* Leaf cursor in SKIPNEXT state */ + u8 bPreserve = flags & BTREE_SAVEPOSITION; /* Keep cursor valid */ + + assert( cursorOwnsBtShared(pCur) ); + assert( pBt->inTransaction==TRANS_WRITE ); + assert( (pBt->btsFlags & BTS_READ_ONLY)==0 ); + assert( pCur->curFlags & BTCF_WriteFlag ); + assert( hasSharedCacheTableLock(p, pCur->pgnoRoot, pCur->pKeyInfo!=0, 2) ); + assert( !hasReadConflicts(p, pCur->pgnoRoot) ); + assert( (flags & ~(BTREE_SAVEPOSITION | BTREE_AUXDELETE))==0 ); + if( pCur->eState==CURSOR_REQUIRESEEK ){ + rc = btreeRestoreCursorPosition(pCur); + if( rc ) return rc; + } + assert( pCur->eState==CURSOR_VALID ); + + iCellDepth = pCur->iPage; + iCellIdx = pCur->ix; + pPage = pCur->pPage; + pCell = findCell(pPage, iCellIdx); + if( pPage->nFree<0 && btreeComputeFreeSpace(pPage) ) return SQLITE_CORRUPT; + + /* If the bPreserve flag is set to true, then the cursor position must + ** be preserved following this delete operation. If the current delete + ** will cause a b-tree rebalance, then this is done by saving the cursor + ** key and leaving the cursor in CURSOR_REQUIRESEEK state before + ** returning. + ** + ** Or, if the current delete will not cause a rebalance, then the cursor + ** will be left in CURSOR_SKIPNEXT state pointing to the entry immediately + ** before or after the deleted entry. In this case set bSkipnext to true. */ + if( bPreserve ){ + if( !pPage->leaf + || (pPage->nFree+cellSizePtr(pPage,pCell)+2)>(int)(pBt->usableSize*2/3) + || pPage->nCell==1 /* See dbfuzz001.test for a test case */ + ){ + /* A b-tree rebalance will be required after deleting this entry. + ** Save the cursor key. */ + rc = saveCursorKey(pCur); + if( rc ) return rc; + }else{ + bSkipnext = 1; + } + } + + /* If the page containing the entry to delete is not a leaf page, move + ** the cursor to the largest entry in the tree that is smaller than + ** the entry being deleted. This cell will replace the cell being deleted + ** from the internal node. The 'previous' entry is used for this instead + ** of the 'next' entry, as the previous entry is always a part of the + ** sub-tree headed by the child page of the cell being deleted. This makes + ** balancing the tree following the delete operation easier. */ + if( !pPage->leaf ){ + rc = sqlite3BtreePrevious(pCur, 0); + assert( rc!=SQLITE_DONE ); + if( rc ) return rc; + } + + /* Save the positions of any other cursors open on this table before + ** making any modifications. */ + if( pCur->curFlags & BTCF_Multiple ){ + rc = saveAllCursors(pBt, pCur->pgnoRoot, pCur); + if( rc ) return rc; + } + + /* If this is a delete operation to remove a row from a table b-tree, + ** invalidate any incrblob cursors open on the row being deleted. */ + if( pCur->pKeyInfo==0 ){ + invalidateIncrblobCursors(p, pCur->pgnoRoot, pCur->info.nKey, 0); + } + + /* Make the page containing the entry to be deleted writable. Then free any + ** overflow pages associated with the entry and finally remove the cell + ** itself from within the page. */ + rc = sqlite3PagerWrite(pPage->pDbPage); + if( rc ) return rc; + rc = clearCell(pPage, pCell, &info); + dropCell(pPage, iCellIdx, info.nSize, &rc); + if( rc ) return rc; + + /* If the cell deleted was not located on a leaf page, then the cursor + ** is currently pointing to the largest entry in the sub-tree headed + ** by the child-page of the cell that was just deleted from an internal + ** node. The cell from the leaf node needs to be moved to the internal + ** node to replace the deleted cell. */ + if( !pPage->leaf ){ + MemPage *pLeaf = pCur->pPage; + int nCell; + Pgno n; + unsigned char *pTmp; + + if( pLeaf->nFree<0 ){ + rc = btreeComputeFreeSpace(pLeaf); + if( rc ) return rc; + } + if( iCellDepthiPage-1 ){ + n = pCur->apPage[iCellDepth+1]->pgno; + }else{ + n = pCur->pPage->pgno; + } + pCell = findCell(pLeaf, pLeaf->nCell-1); + if( pCell<&pLeaf->aData[4] ) return SQLITE_CORRUPT_BKPT; + nCell = pLeaf->xCellSize(pLeaf, pCell); + assert( MX_CELL_SIZE(pBt) >= nCell ); + pTmp = pBt->pTmpSpace; + assert( pTmp!=0 ); + rc = sqlite3PagerWrite(pLeaf->pDbPage); + if( rc==SQLITE_OK ){ + insertCell(pPage, iCellIdx, pCell-4, nCell+4, pTmp, n, &rc); + } + dropCell(pLeaf, pLeaf->nCell-1, nCell, &rc); + if( rc ) return rc; + } + + /* Balance the tree. If the entry deleted was located on a leaf page, + ** then the cursor still points to that page. In this case the first + ** call to balance() repairs the tree, and the if(...) condition is + ** never true. + ** + ** Otherwise, if the entry deleted was on an internal node page, then + ** pCur is pointing to the leaf page from which a cell was removed to + ** replace the cell deleted from the internal node. This is slightly + ** tricky as the leaf node may be underfull, and the internal node may + ** be either under or overfull. In this case run the balancing algorithm + ** on the leaf node first. If the balance proceeds far enough up the + ** tree that we can be sure that any problem in the internal node has + ** been corrected, so be it. Otherwise, after balancing the leaf node, + ** walk the cursor up the tree to the internal node and balance it as + ** well. */ + rc = balance(pCur); + if( rc==SQLITE_OK && pCur->iPage>iCellDepth ){ + releasePageNotNull(pCur->pPage); + pCur->iPage--; + while( pCur->iPage>iCellDepth ){ + releasePage(pCur->apPage[pCur->iPage--]); + } + pCur->pPage = pCur->apPage[pCur->iPage]; + rc = balance(pCur); + } + + if( rc==SQLITE_OK ){ + if( bSkipnext ){ + assert( bPreserve && (pCur->iPage==iCellDepth || CORRUPT_DB) ); + assert( pPage==pCur->pPage || CORRUPT_DB ); + assert( (pPage->nCell>0 || CORRUPT_DB) && iCellIdx<=pPage->nCell ); + pCur->eState = CURSOR_SKIPNEXT; + if( iCellIdx>=pPage->nCell ){ + pCur->skipNext = -1; + pCur->ix = pPage->nCell-1; + }else{ + pCur->skipNext = 1; + } + }else{ + rc = moveToRoot(pCur); + if( bPreserve ){ + btreeReleaseAllCursorPages(pCur); + pCur->eState = CURSOR_REQUIRESEEK; + } + if( rc==SQLITE_EMPTY ) rc = SQLITE_OK; + } + } + return rc; +} + +/* +** Create a new BTree table. Write into *piTable the page +** number for the root page of the new table. +** +** The type of type is determined by the flags parameter. Only the +** following values of flags are currently in use. Other values for +** flags might not work: +** +** BTREE_INTKEY|BTREE_LEAFDATA Used for SQL tables with rowid keys +** BTREE_ZERODATA Used for SQL indices +*/ +static int btreeCreateTable(Btree *p, int *piTable, int createTabFlags){ + BtShared *pBt = p->pBt; + MemPage *pRoot; + Pgno pgnoRoot; + int rc; + int ptfFlags; /* Page-type flage for the root page of new table */ + + assert( sqlite3BtreeHoldsMutex(p) ); + assert( pBt->inTransaction==TRANS_WRITE ); + assert( (pBt->btsFlags & BTS_READ_ONLY)==0 ); + +#ifdef SQLITE_OMIT_AUTOVACUUM + rc = allocateBtreePage(pBt, &pRoot, &pgnoRoot, 1, 0); + if( rc ){ + return rc; + } +#else + if( pBt->autoVacuum ){ + Pgno pgnoMove; /* Move a page here to make room for the root-page */ + MemPage *pPageMove; /* The page to move to. */ + + /* Creating a new table may probably require moving an existing database + ** to make room for the new tables root page. In case this page turns + ** out to be an overflow page, delete all overflow page-map caches + ** held by open cursors. + */ + invalidateAllOverflowCache(pBt); + + /* Read the value of meta[3] from the database to determine where the + ** root page of the new table should go. meta[3] is the largest root-page + ** created so far, so the new root-page is (meta[3]+1). + */ + sqlite3BtreeGetMeta(p, BTREE_LARGEST_ROOT_PAGE, &pgnoRoot); + pgnoRoot++; + + /* The new root-page may not be allocated on a pointer-map page, or the + ** PENDING_BYTE page. + */ + while( pgnoRoot==PTRMAP_PAGENO(pBt, pgnoRoot) || + pgnoRoot==PENDING_BYTE_PAGE(pBt) ){ + pgnoRoot++; + } + assert( pgnoRoot>=3 || CORRUPT_DB ); + testcase( pgnoRoot<3 ); + + /* Allocate a page. The page that currently resides at pgnoRoot will + ** be moved to the allocated page (unless the allocated page happens + ** to reside at pgnoRoot). + */ + rc = allocateBtreePage(pBt, &pPageMove, &pgnoMove, pgnoRoot, BTALLOC_EXACT); + if( rc!=SQLITE_OK ){ + return rc; + } + + if( pgnoMove!=pgnoRoot ){ + /* pgnoRoot is the page that will be used for the root-page of + ** the new table (assuming an error did not occur). But we were + ** allocated pgnoMove. If required (i.e. if it was not allocated + ** by extending the file), the current page at position pgnoMove + ** is already journaled. + */ + u8 eType = 0; + Pgno iPtrPage = 0; + + /* Save the positions of any open cursors. This is required in + ** case they are holding a reference to an xFetch reference + ** corresponding to page pgnoRoot. */ + rc = saveAllCursors(pBt, 0, 0); + releasePage(pPageMove); + if( rc!=SQLITE_OK ){ + return rc; + } + + /* Move the page currently at pgnoRoot to pgnoMove. */ + rc = btreeGetPage(pBt, pgnoRoot, &pRoot, 0); + if( rc!=SQLITE_OK ){ + return rc; + } + rc = ptrmapGet(pBt, pgnoRoot, &eType, &iPtrPage); + if( eType==PTRMAP_ROOTPAGE || eType==PTRMAP_FREEPAGE ){ + rc = SQLITE_CORRUPT_BKPT; + } + if( rc!=SQLITE_OK ){ + releasePage(pRoot); + return rc; + } + assert( eType!=PTRMAP_ROOTPAGE ); + assert( eType!=PTRMAP_FREEPAGE ); + rc = relocatePage(pBt, pRoot, eType, iPtrPage, pgnoMove, 0); + releasePage(pRoot); + + /* Obtain the page at pgnoRoot */ + if( rc!=SQLITE_OK ){ + return rc; + } + rc = btreeGetPage(pBt, pgnoRoot, &pRoot, 0); + if( rc!=SQLITE_OK ){ + return rc; + } + rc = sqlite3PagerWrite(pRoot->pDbPage); + if( rc!=SQLITE_OK ){ + releasePage(pRoot); + return rc; + } + }else{ + pRoot = pPageMove; + } + + /* Update the pointer-map and meta-data with the new root-page number. */ + ptrmapPut(pBt, pgnoRoot, PTRMAP_ROOTPAGE, 0, &rc); + if( rc ){ + releasePage(pRoot); + return rc; + } + + /* When the new root page was allocated, page 1 was made writable in + ** order either to increase the database filesize, or to decrement the + ** freelist count. Hence, the sqlite3BtreeUpdateMeta() call cannot fail. + */ + assert( sqlite3PagerIswriteable(pBt->pPage1->pDbPage) ); + rc = sqlite3BtreeUpdateMeta(p, 4, pgnoRoot); + if( NEVER(rc) ){ + releasePage(pRoot); + return rc; + } + + }else{ + rc = allocateBtreePage(pBt, &pRoot, &pgnoRoot, 1, 0); + if( rc ) return rc; + } +#endif + assert( sqlite3PagerIswriteable(pRoot->pDbPage) ); + if( createTabFlags & BTREE_INTKEY ){ + ptfFlags = PTF_INTKEY | PTF_LEAFDATA | PTF_LEAF; + }else{ + ptfFlags = PTF_ZERODATA | PTF_LEAF; + } + zeroPage(pRoot, ptfFlags); + sqlite3PagerUnref(pRoot->pDbPage); + assert( (pBt->openFlags & BTREE_SINGLE)==0 || pgnoRoot==2 ); + *piTable = (int)pgnoRoot; + return SQLITE_OK; +} +SQLITE_PRIVATE int sqlite3BtreeCreateTable(Btree *p, int *piTable, int flags){ + int rc; + sqlite3BtreeEnter(p); + rc = btreeCreateTable(p, piTable, flags); + sqlite3BtreeLeave(p); + return rc; +} + +/* +** Erase the given database page and all its children. Return +** the page to the freelist. +*/ +static int clearDatabasePage( + BtShared *pBt, /* The BTree that contains the table */ + Pgno pgno, /* Page number to clear */ + int freePageFlag, /* Deallocate page if true */ + int *pnChange /* Add number of Cells freed to this counter */ +){ + MemPage *pPage; + int rc; + unsigned char *pCell; + int i; + int hdr; + CellInfo info; + + assert( sqlite3_mutex_held(pBt->mutex) ); + if( pgno>btreePagecount(pBt) ){ + return SQLITE_CORRUPT_BKPT; + } + rc = getAndInitPage(pBt, pgno, &pPage, 0, 0); + if( rc ) return rc; + if( pPage->bBusy ){ + rc = SQLITE_CORRUPT_BKPT; + goto cleardatabasepage_out; + } + pPage->bBusy = 1; + hdr = pPage->hdrOffset; + for(i=0; inCell; i++){ + pCell = findCell(pPage, i); + if( !pPage->leaf ){ + rc = clearDatabasePage(pBt, get4byte(pCell), 1, pnChange); + if( rc ) goto cleardatabasepage_out; + } + rc = clearCell(pPage, pCell, &info); + if( rc ) goto cleardatabasepage_out; + } + if( !pPage->leaf ){ + rc = clearDatabasePage(pBt, get4byte(&pPage->aData[hdr+8]), 1, pnChange); + if( rc ) goto cleardatabasepage_out; + }else if( pnChange ){ + assert( pPage->intKey || CORRUPT_DB ); + testcase( !pPage->intKey ); + *pnChange += pPage->nCell; + } + if( freePageFlag ){ + freePage(pPage, &rc); + }else if( (rc = sqlite3PagerWrite(pPage->pDbPage))==0 ){ + zeroPage(pPage, pPage->aData[hdr] | PTF_LEAF); + } + +cleardatabasepage_out: + pPage->bBusy = 0; + releasePage(pPage); + return rc; +} + +/* +** Delete all information from a single table in the database. iTable is +** the page number of the root of the table. After this routine returns, +** the root page is empty, but still exists. +** +** This routine will fail with SQLITE_LOCKED if there are any open +** read cursors on the table. Open write cursors are moved to the +** root of the table. +** +** If pnChange is not NULL, then table iTable must be an intkey table. The +** integer value pointed to by pnChange is incremented by the number of +** entries in the table. +*/ +SQLITE_PRIVATE int sqlite3BtreeClearTable(Btree *p, int iTable, int *pnChange){ + int rc; + BtShared *pBt = p->pBt; + sqlite3BtreeEnter(p); + assert( p->inTrans==TRANS_WRITE ); + + rc = saveAllCursors(pBt, (Pgno)iTable, 0); + + if( SQLITE_OK==rc ){ + /* Invalidate all incrblob cursors open on table iTable (assuming iTable + ** is the root of a table b-tree - if it is not, the following call is + ** a no-op). */ + invalidateIncrblobCursors(p, (Pgno)iTable, 0, 1); + rc = clearDatabasePage(pBt, (Pgno)iTable, 0, pnChange); + } + sqlite3BtreeLeave(p); + return rc; +} + +/* +** Delete all information from the single table that pCur is open on. +** +** This routine only work for pCur on an ephemeral table. +*/ +SQLITE_PRIVATE int sqlite3BtreeClearTableOfCursor(BtCursor *pCur){ + return sqlite3BtreeClearTable(pCur->pBtree, pCur->pgnoRoot, 0); +} + +/* +** Erase all information in a table and add the root of the table to +** the freelist. Except, the root of the principle table (the one on +** page 1) is never added to the freelist. +** +** This routine will fail with SQLITE_LOCKED if there are any open +** cursors on the table. +** +** If AUTOVACUUM is enabled and the page at iTable is not the last +** root page in the database file, then the last root page +** in the database file is moved into the slot formerly occupied by +** iTable and that last slot formerly occupied by the last root page +** is added to the freelist instead of iTable. In this say, all +** root pages are kept at the beginning of the database file, which +** is necessary for AUTOVACUUM to work right. *piMoved is set to the +** page number that used to be the last root page in the file before +** the move. If no page gets moved, *piMoved is set to 0. +** The last root page is recorded in meta[3] and the value of +** meta[3] is updated by this procedure. +*/ +static int btreeDropTable(Btree *p, Pgno iTable, int *piMoved){ + int rc; + MemPage *pPage = 0; + BtShared *pBt = p->pBt; + + assert( sqlite3BtreeHoldsMutex(p) ); + assert( p->inTrans==TRANS_WRITE ); + assert( iTable>=2 ); + if( iTable>btreePagecount(pBt) ){ + return SQLITE_CORRUPT_BKPT; + } + + rc = btreeGetPage(pBt, (Pgno)iTable, &pPage, 0); + if( rc ) return rc; + rc = sqlite3BtreeClearTable(p, iTable, 0); + if( rc ){ + releasePage(pPage); + return rc; + } + + *piMoved = 0; + +#ifdef SQLITE_OMIT_AUTOVACUUM + freePage(pPage, &rc); + releasePage(pPage); +#else + if( pBt->autoVacuum ){ + Pgno maxRootPgno; + sqlite3BtreeGetMeta(p, BTREE_LARGEST_ROOT_PAGE, &maxRootPgno); + + if( iTable==maxRootPgno ){ + /* If the table being dropped is the table with the largest root-page + ** number in the database, put the root page on the free list. + */ + freePage(pPage, &rc); + releasePage(pPage); + if( rc!=SQLITE_OK ){ + return rc; + } + }else{ + /* The table being dropped does not have the largest root-page + ** number in the database. So move the page that does into the + ** gap left by the deleted root-page. + */ + MemPage *pMove; + releasePage(pPage); + rc = btreeGetPage(pBt, maxRootPgno, &pMove, 0); + if( rc!=SQLITE_OK ){ + return rc; + } + rc = relocatePage(pBt, pMove, PTRMAP_ROOTPAGE, 0, iTable, 0); + releasePage(pMove); + if( rc!=SQLITE_OK ){ + return rc; + } + pMove = 0; + rc = btreeGetPage(pBt, maxRootPgno, &pMove, 0); + freePage(pMove, &rc); + releasePage(pMove); + if( rc!=SQLITE_OK ){ + return rc; + } + *piMoved = maxRootPgno; + } + + /* Set the new 'max-root-page' value in the database header. This + ** is the old value less one, less one more if that happens to + ** be a root-page number, less one again if that is the + ** PENDING_BYTE_PAGE. + */ + maxRootPgno--; + while( maxRootPgno==PENDING_BYTE_PAGE(pBt) + || PTRMAP_ISPAGE(pBt, maxRootPgno) ){ + maxRootPgno--; + } + assert( maxRootPgno!=PENDING_BYTE_PAGE(pBt) ); + + rc = sqlite3BtreeUpdateMeta(p, 4, maxRootPgno); + }else{ + freePage(pPage, &rc); + releasePage(pPage); + } +#endif + return rc; +} +SQLITE_PRIVATE int sqlite3BtreeDropTable(Btree *p, int iTable, int *piMoved){ + int rc; + sqlite3BtreeEnter(p); + rc = btreeDropTable(p, iTable, piMoved); + sqlite3BtreeLeave(p); + return rc; +} + + +/* +** This function may only be called if the b-tree connection already +** has a read or write transaction open on the database. +** +** Read the meta-information out of a database file. Meta[0] +** is the number of free pages currently in the database. Meta[1] +** through meta[15] are available for use by higher layers. Meta[0] +** is read-only, the others are read/write. +** +** The schema layer numbers meta values differently. At the schema +** layer (and the SetCookie and ReadCookie opcodes) the number of +** free pages is not visible. So Cookie[0] is the same as Meta[1]. +** +** This routine treats Meta[BTREE_DATA_VERSION] as a special case. Instead +** of reading the value out of the header, it instead loads the "DataVersion" +** from the pager. The BTREE_DATA_VERSION value is not actually stored in the +** database file. It is a number computed by the pager. But its access +** pattern is the same as header meta values, and so it is convenient to +** read it from this routine. +*/ +SQLITE_PRIVATE void sqlite3BtreeGetMeta(Btree *p, int idx, u32 *pMeta){ + BtShared *pBt = p->pBt; + + sqlite3BtreeEnter(p); + assert( p->inTrans>TRANS_NONE ); + assert( SQLITE_OK==querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK) ); + assert( pBt->pPage1 ); + assert( idx>=0 && idx<=15 ); + + if( idx==BTREE_DATA_VERSION ){ + *pMeta = sqlite3PagerDataVersion(pBt->pPager) + p->iDataVersion; + }else{ + *pMeta = get4byte(&pBt->pPage1->aData[36 + idx*4]); + } + + /* If auto-vacuum is disabled in this build and this is an auto-vacuum + ** database, mark the database as read-only. */ +#ifdef SQLITE_OMIT_AUTOVACUUM + if( idx==BTREE_LARGEST_ROOT_PAGE && *pMeta>0 ){ + pBt->btsFlags |= BTS_READ_ONLY; + } +#endif + + sqlite3BtreeLeave(p); +} + +/* +** Write meta-information back into the database. Meta[0] is +** read-only and may not be written. +*/ +SQLITE_PRIVATE int sqlite3BtreeUpdateMeta(Btree *p, int idx, u32 iMeta){ + BtShared *pBt = p->pBt; + unsigned char *pP1; + int rc; + assert( idx>=1 && idx<=15 ); + sqlite3BtreeEnter(p); + assert( p->inTrans==TRANS_WRITE ); + assert( pBt->pPage1!=0 ); + pP1 = pBt->pPage1->aData; + rc = sqlite3PagerWrite(pBt->pPage1->pDbPage); + if( rc==SQLITE_OK ){ + put4byte(&pP1[36 + idx*4], iMeta); +#ifndef SQLITE_OMIT_AUTOVACUUM + if( idx==BTREE_INCR_VACUUM ){ + assert( pBt->autoVacuum || iMeta==0 ); + assert( iMeta==0 || iMeta==1 ); + pBt->incrVacuum = (u8)iMeta; + } +#endif + } + sqlite3BtreeLeave(p); + return rc; +} + +#ifndef SQLITE_OMIT_BTREECOUNT +/* +** The first argument, pCur, is a cursor opened on some b-tree. Count the +** number of entries in the b-tree and write the result to *pnEntry. +** +** SQLITE_OK is returned if the operation is successfully executed. +** Otherwise, if an error is encountered (i.e. an IO error or database +** corruption) an SQLite error code is returned. +*/ +SQLITE_PRIVATE int sqlite3BtreeCount(BtCursor *pCur, i64 *pnEntry){ + i64 nEntry = 0; /* Value to return in *pnEntry */ + int rc; /* Return code */ + + rc = moveToRoot(pCur); + if( rc==SQLITE_EMPTY ){ + *pnEntry = 0; + return SQLITE_OK; + } + + /* Unless an error occurs, the following loop runs one iteration for each + ** page in the B-Tree structure (not including overflow pages). + */ + while( rc==SQLITE_OK ){ + int iIdx; /* Index of child node in parent */ + MemPage *pPage; /* Current page of the b-tree */ + + /* If this is a leaf page or the tree is not an int-key tree, then + ** this page contains countable entries. Increment the entry counter + ** accordingly. + */ + pPage = pCur->pPage; + if( pPage->leaf || !pPage->intKey ){ + nEntry += pPage->nCell; + } + + /* pPage is a leaf node. This loop navigates the cursor so that it + ** points to the first interior cell that it points to the parent of + ** the next page in the tree that has not yet been visited. The + ** pCur->aiIdx[pCur->iPage] value is set to the index of the parent cell + ** of the page, or to the number of cells in the page if the next page + ** to visit is the right-child of its parent. + ** + ** If all pages in the tree have been visited, return SQLITE_OK to the + ** caller. + */ + if( pPage->leaf ){ + do { + if( pCur->iPage==0 ){ + /* All pages of the b-tree have been visited. Return successfully. */ + *pnEntry = nEntry; + return moveToRoot(pCur); + } + moveToParent(pCur); + }while ( pCur->ix>=pCur->pPage->nCell ); + + pCur->ix++; + pPage = pCur->pPage; + } + + /* Descend to the child node of the cell that the cursor currently + ** points at. This is the right-child if (iIdx==pPage->nCell). + */ + iIdx = pCur->ix; + if( iIdx==pPage->nCell ){ + rc = moveToChild(pCur, get4byte(&pPage->aData[pPage->hdrOffset+8])); + }else{ + rc = moveToChild(pCur, get4byte(findCell(pPage, iIdx))); + } + } + + /* An error has occurred. Return an error code. */ + return rc; +} +#endif + +/* +** Return the pager associated with a BTree. This routine is used for +** testing and debugging only. +*/ +SQLITE_PRIVATE Pager *sqlite3BtreePager(Btree *p){ + return p->pBt->pPager; +} + +#ifndef SQLITE_OMIT_INTEGRITY_CHECK +/* +** Append a message to the error message string. +*/ +static void checkAppendMsg( + IntegrityCk *pCheck, + const char *zFormat, + ... +){ + va_list ap; + if( !pCheck->mxErr ) return; + pCheck->mxErr--; + pCheck->nErr++; + va_start(ap, zFormat); + if( pCheck->errMsg.nChar ){ + sqlite3_str_append(&pCheck->errMsg, "\n", 1); + } + if( pCheck->zPfx ){ + sqlite3_str_appendf(&pCheck->errMsg, pCheck->zPfx, pCheck->v1, pCheck->v2); + } + sqlite3_str_vappendf(&pCheck->errMsg, zFormat, ap); + va_end(ap); + if( pCheck->errMsg.accError==SQLITE_NOMEM ){ + pCheck->mallocFailed = 1; + } +} +#endif /* SQLITE_OMIT_INTEGRITY_CHECK */ + +#ifndef SQLITE_OMIT_INTEGRITY_CHECK + +/* +** Return non-zero if the bit in the IntegrityCk.aPgRef[] array that +** corresponds to page iPg is already set. +*/ +static int getPageReferenced(IntegrityCk *pCheck, Pgno iPg){ + assert( iPg<=pCheck->nPage && sizeof(pCheck->aPgRef[0])==1 ); + return (pCheck->aPgRef[iPg/8] & (1 << (iPg & 0x07))); +} + +/* +** Set the bit in the IntegrityCk.aPgRef[] array that corresponds to page iPg. +*/ +static void setPageReferenced(IntegrityCk *pCheck, Pgno iPg){ + assert( iPg<=pCheck->nPage && sizeof(pCheck->aPgRef[0])==1 ); + pCheck->aPgRef[iPg/8] |= (1 << (iPg & 0x07)); +} + + +/* +** Add 1 to the reference count for page iPage. If this is the second +** reference to the page, add an error message to pCheck->zErrMsg. +** Return 1 if there are 2 or more references to the page and 0 if +** if this is the first reference to the page. +** +** Also check that the page number is in bounds. +*/ +static int checkRef(IntegrityCk *pCheck, Pgno iPage){ + if( iPage>pCheck->nPage || iPage==0 ){ + checkAppendMsg(pCheck, "invalid page number %d", iPage); + return 1; + } + if( getPageReferenced(pCheck, iPage) ){ + checkAppendMsg(pCheck, "2nd reference to page %d", iPage); + return 1; + } + setPageReferenced(pCheck, iPage); + return 0; +} + +#ifndef SQLITE_OMIT_AUTOVACUUM +/* +** Check that the entry in the pointer-map for page iChild maps to +** page iParent, pointer type ptrType. If not, append an error message +** to pCheck. +*/ +static void checkPtrmap( + IntegrityCk *pCheck, /* Integrity check context */ + Pgno iChild, /* Child page number */ + u8 eType, /* Expected pointer map type */ + Pgno iParent /* Expected pointer map parent page number */ +){ + int rc; + u8 ePtrmapType; + Pgno iPtrmapParent; + + rc = ptrmapGet(pCheck->pBt, iChild, &ePtrmapType, &iPtrmapParent); + if( rc!=SQLITE_OK ){ + if( rc==SQLITE_NOMEM || rc==SQLITE_IOERR_NOMEM ) pCheck->mallocFailed = 1; + checkAppendMsg(pCheck, "Failed to read ptrmap key=%d", iChild); + return; + } + + if( ePtrmapType!=eType || iPtrmapParent!=iParent ){ + checkAppendMsg(pCheck, + "Bad ptr map entry key=%d expected=(%d,%d) got=(%d,%d)", + iChild, eType, iParent, ePtrmapType, iPtrmapParent); + } +} +#endif + +/* +** Check the integrity of the freelist or of an overflow page list. +** Verify that the number of pages on the list is N. +*/ +static void checkList( + IntegrityCk *pCheck, /* Integrity checking context */ + int isFreeList, /* True for a freelist. False for overflow page list */ + int iPage, /* Page number for first page in the list */ + u32 N /* Expected number of pages in the list */ +){ + int i; + u32 expected = N; + int nErrAtStart = pCheck->nErr; + while( iPage!=0 && pCheck->mxErr ){ + DbPage *pOvflPage; + unsigned char *pOvflData; + if( checkRef(pCheck, iPage) ) break; + N--; + if( sqlite3PagerGet(pCheck->pPager, (Pgno)iPage, &pOvflPage, 0) ){ + checkAppendMsg(pCheck, "failed to get page %d", iPage); + break; + } + pOvflData = (unsigned char *)sqlite3PagerGetData(pOvflPage); + if( isFreeList ){ + u32 n = (u32)get4byte(&pOvflData[4]); +#ifndef SQLITE_OMIT_AUTOVACUUM + if( pCheck->pBt->autoVacuum ){ + checkPtrmap(pCheck, iPage, PTRMAP_FREEPAGE, 0); + } +#endif + if( n>pCheck->pBt->usableSize/4-2 ){ + checkAppendMsg(pCheck, + "freelist leaf count too big on page %d", iPage); + N--; + }else{ + for(i=0; i<(int)n; i++){ + Pgno iFreePage = get4byte(&pOvflData[8+i*4]); +#ifndef SQLITE_OMIT_AUTOVACUUM + if( pCheck->pBt->autoVacuum ){ + checkPtrmap(pCheck, iFreePage, PTRMAP_FREEPAGE, 0); + } +#endif + checkRef(pCheck, iFreePage); + } + N -= n; + } + } +#ifndef SQLITE_OMIT_AUTOVACUUM + else{ + /* If this database supports auto-vacuum and iPage is not the last + ** page in this overflow list, check that the pointer-map entry for + ** the following page matches iPage. + */ + if( pCheck->pBt->autoVacuum && N>0 ){ + i = get4byte(pOvflData); + checkPtrmap(pCheck, i, PTRMAP_OVERFLOW2, iPage); + } + } +#endif + iPage = get4byte(pOvflData); + sqlite3PagerUnref(pOvflPage); + } + if( N && nErrAtStart==pCheck->nErr ){ + checkAppendMsg(pCheck, + "%s is %d but should be %d", + isFreeList ? "size" : "overflow list length", + expected-N, expected); + } +} +#endif /* SQLITE_OMIT_INTEGRITY_CHECK */ + +/* +** An implementation of a min-heap. +** +** aHeap[0] is the number of elements on the heap. aHeap[1] is the +** root element. The daughter nodes of aHeap[N] are aHeap[N*2] +** and aHeap[N*2+1]. +** +** The heap property is this: Every node is less than or equal to both +** of its daughter nodes. A consequence of the heap property is that the +** root node aHeap[1] is always the minimum value currently in the heap. +** +** The btreeHeapInsert() routine inserts an unsigned 32-bit number onto +** the heap, preserving the heap property. The btreeHeapPull() routine +** removes the root element from the heap (the minimum value in the heap) +** and then moves other nodes around as necessary to preserve the heap +** property. +** +** This heap is used for cell overlap and coverage testing. Each u32 +** entry represents the span of a cell or freeblock on a btree page. +** The upper 16 bits are the index of the first byte of a range and the +** lower 16 bits are the index of the last byte of that range. +*/ +static void btreeHeapInsert(u32 *aHeap, u32 x){ + u32 j, i = ++aHeap[0]; + aHeap[i] = x; + while( (j = i/2)>0 && aHeap[j]>aHeap[i] ){ + x = aHeap[j]; + aHeap[j] = aHeap[i]; + aHeap[i] = x; + i = j; + } +} +static int btreeHeapPull(u32 *aHeap, u32 *pOut){ + u32 j, i, x; + if( (x = aHeap[0])==0 ) return 0; + *pOut = aHeap[1]; + aHeap[1] = aHeap[x]; + aHeap[x] = 0xffffffff; + aHeap[0]--; + i = 1; + while( (j = i*2)<=aHeap[0] ){ + if( aHeap[j]>aHeap[j+1] ) j++; + if( aHeap[i]zPfx; + int saved_v1 = pCheck->v1; + int saved_v2 = pCheck->v2; + u8 savedIsInit = 0; + + /* Check that the page exists + */ + pBt = pCheck->pBt; + usableSize = pBt->usableSize; + if( iPage==0 ) return 0; + if( checkRef(pCheck, iPage) ) return 0; + pCheck->zPfx = "Page %d: "; + pCheck->v1 = iPage; + if( (rc = btreeGetPage(pBt, (Pgno)iPage, &pPage, 0))!=0 ){ + checkAppendMsg(pCheck, + "unable to get the page. error code=%d", rc); + goto end_of_check; + } + + /* Clear MemPage.isInit to make sure the corruption detection code in + ** btreeInitPage() is executed. */ + savedIsInit = pPage->isInit; + pPage->isInit = 0; + if( (rc = btreeInitPage(pPage))!=0 ){ + assert( rc==SQLITE_CORRUPT ); /* The only possible error from InitPage */ + checkAppendMsg(pCheck, + "btreeInitPage() returns error code %d", rc); + goto end_of_check; + } + if( (rc = btreeComputeFreeSpace(pPage))!=0 ){ + assert( rc==SQLITE_CORRUPT ); + checkAppendMsg(pCheck, "free space corruption", rc); + goto end_of_check; + } + data = pPage->aData; + hdr = pPage->hdrOffset; + + /* Set up for cell analysis */ + pCheck->zPfx = "On tree page %d cell %d: "; + contentOffset = get2byteNotZero(&data[hdr+5]); + assert( contentOffset<=usableSize ); /* Enforced by btreeInitPage() */ + + /* EVIDENCE-OF: R-37002-32774 The two-byte integer at offset 3 gives the + ** number of cells on the page. */ + nCell = get2byte(&data[hdr+3]); + assert( pPage->nCell==nCell ); + + /* EVIDENCE-OF: R-23882-45353 The cell pointer array of a b-tree page + ** immediately follows the b-tree page header. */ + cellStart = hdr + 12 - 4*pPage->leaf; + assert( pPage->aCellIdx==&data[cellStart] ); + pCellIdx = &data[cellStart + 2*(nCell-1)]; + + if( !pPage->leaf ){ + /* Analyze the right-child page of internal pages */ + pgno = get4byte(&data[hdr+8]); +#ifndef SQLITE_OMIT_AUTOVACUUM + if( pBt->autoVacuum ){ + pCheck->zPfx = "On page %d at right child: "; + checkPtrmap(pCheck, pgno, PTRMAP_BTREE, iPage); + } +#endif + depth = checkTreePage(pCheck, pgno, &maxKey, maxKey); + keyCanBeEqual = 0; + }else{ + /* For leaf pages, the coverage check will occur in the same loop + ** as the other cell checks, so initialize the heap. */ + heap = pCheck->heap; + heap[0] = 0; + } + + /* EVIDENCE-OF: R-02776-14802 The cell pointer array consists of K 2-byte + ** integer offsets to the cell contents. */ + for(i=nCell-1; i>=0 && pCheck->mxErr; i--){ + CellInfo info; + + /* Check cell size */ + pCheck->v2 = i; + assert( pCellIdx==&data[cellStart + i*2] ); + pc = get2byteAligned(pCellIdx); + pCellIdx -= 2; + if( pcusableSize-4 ){ + checkAppendMsg(pCheck, "Offset %d out of range %d..%d", + pc, contentOffset, usableSize-4); + doCoverageCheck = 0; + continue; + } + pCell = &data[pc]; + pPage->xParseCell(pPage, pCell, &info); + if( pc+info.nSize>usableSize ){ + checkAppendMsg(pCheck, "Extends off end of page"); + doCoverageCheck = 0; + continue; + } + + /* Check for integer primary key out of range */ + if( pPage->intKey ){ + if( keyCanBeEqual ? (info.nKey > maxKey) : (info.nKey >= maxKey) ){ + checkAppendMsg(pCheck, "Rowid %lld out of order", info.nKey); + } + maxKey = info.nKey; + keyCanBeEqual = 0; /* Only the first key on the page may ==maxKey */ + } + + /* Check the content overflow list */ + if( info.nPayload>info.nLocal ){ + u32 nPage; /* Number of pages on the overflow chain */ + Pgno pgnoOvfl; /* First page of the overflow chain */ + assert( pc + info.nSize - 4 <= usableSize ); + nPage = (info.nPayload - info.nLocal + usableSize - 5)/(usableSize - 4); + pgnoOvfl = get4byte(&pCell[info.nSize - 4]); +#ifndef SQLITE_OMIT_AUTOVACUUM + if( pBt->autoVacuum ){ + checkPtrmap(pCheck, pgnoOvfl, PTRMAP_OVERFLOW1, iPage); + } +#endif + checkList(pCheck, 0, pgnoOvfl, nPage); + } + + if( !pPage->leaf ){ + /* Check sanity of left child page for internal pages */ + pgno = get4byte(pCell); +#ifndef SQLITE_OMIT_AUTOVACUUM + if( pBt->autoVacuum ){ + checkPtrmap(pCheck, pgno, PTRMAP_BTREE, iPage); + } +#endif + d2 = checkTreePage(pCheck, pgno, &maxKey, maxKey); + keyCanBeEqual = 0; + if( d2!=depth ){ + checkAppendMsg(pCheck, "Child page depth differs"); + depth = d2; + } + }else{ + /* Populate the coverage-checking heap for leaf pages */ + btreeHeapInsert(heap, (pc<<16)|(pc+info.nSize-1)); + } + } + *piMinKey = maxKey; + + /* Check for complete coverage of the page + */ + pCheck->zPfx = 0; + if( doCoverageCheck && pCheck->mxErr>0 ){ + /* For leaf pages, the min-heap has already been initialized and the + ** cells have already been inserted. But for internal pages, that has + ** not yet been done, so do it now */ + if( !pPage->leaf ){ + heap = pCheck->heap; + heap[0] = 0; + for(i=nCell-1; i>=0; i--){ + u32 size; + pc = get2byteAligned(&data[cellStart+i*2]); + size = pPage->xCellSize(pPage, &data[pc]); + btreeHeapInsert(heap, (pc<<16)|(pc+size-1)); + } + } + /* Add the freeblocks to the min-heap + ** + ** EVIDENCE-OF: R-20690-50594 The second field of the b-tree page header + ** is the offset of the first freeblock, or zero if there are no + ** freeblocks on the page. + */ + i = get2byte(&data[hdr+1]); + while( i>0 ){ + int size, j; + assert( (u32)i<=usableSize-4 ); /* Enforced by btreeComputeFreeSpace() */ + size = get2byte(&data[i+2]); + assert( (u32)(i+size)<=usableSize ); /* due to btreeComputeFreeSpace() */ + btreeHeapInsert(heap, (((u32)i)<<16)|(i+size-1)); + /* EVIDENCE-OF: R-58208-19414 The first 2 bytes of a freeblock are a + ** big-endian integer which is the offset in the b-tree page of the next + ** freeblock in the chain, or zero if the freeblock is the last on the + ** chain. */ + j = get2byte(&data[i]); + /* EVIDENCE-OF: R-06866-39125 Freeblocks are always connected in order of + ** increasing offset. */ + assert( j==0 || j>i+size ); /* Enforced by btreeComputeFreeSpace() */ + assert( (u32)j<=usableSize-4 ); /* Enforced by btreeComputeFreeSpace() */ + i = j; + } + /* Analyze the min-heap looking for overlap between cells and/or + ** freeblocks, and counting the number of untracked bytes in nFrag. + ** + ** Each min-heap entry is of the form: (start_address<<16)|end_address. + ** There is an implied first entry the covers the page header, the cell + ** pointer index, and the gap between the cell pointer index and the start + ** of cell content. + ** + ** The loop below pulls entries from the min-heap in order and compares + ** the start_address against the previous end_address. If there is an + ** overlap, that means bytes are used multiple times. If there is a gap, + ** that gap is added to the fragmentation count. + */ + nFrag = 0; + prev = contentOffset - 1; /* Implied first min-heap entry */ + while( btreeHeapPull(heap,&x) ){ + if( (prev&0xffff)>=(x>>16) ){ + checkAppendMsg(pCheck, + "Multiple uses for byte %u of page %d", x>>16, iPage); + break; + }else{ + nFrag += (x>>16) - (prev&0xffff) - 1; + prev = x; + } + } + nFrag += usableSize - (prev&0xffff) - 1; + /* EVIDENCE-OF: R-43263-13491 The total number of bytes in all fragments + ** is stored in the fifth field of the b-tree page header. + ** EVIDENCE-OF: R-07161-27322 The one-byte integer at offset 7 gives the + ** number of fragmented free bytes within the cell content area. + */ + if( heap[0]==0 && nFrag!=data[hdr+7] ){ + checkAppendMsg(pCheck, + "Fragmentation of %d bytes reported as %d on page %d", + nFrag, data[hdr+7], iPage); + } + } + +end_of_check: + if( !doCoverageCheck ) pPage->isInit = savedIsInit; + releasePage(pPage); + pCheck->zPfx = saved_zPfx; + pCheck->v1 = saved_v1; + pCheck->v2 = saved_v2; + return depth+1; +} +#endif /* SQLITE_OMIT_INTEGRITY_CHECK */ + +#ifndef SQLITE_OMIT_INTEGRITY_CHECK +/* +** This routine does a complete check of the given BTree file. aRoot[] is +** an array of pages numbers were each page number is the root page of +** a table. nRoot is the number of entries in aRoot. +** +** A read-only or read-write transaction must be opened before calling +** this function. +** +** Write the number of error seen in *pnErr. Except for some memory +** allocation errors, an error message held in memory obtained from +** malloc is returned if *pnErr is non-zero. If *pnErr==0 then NULL is +** returned. If a memory allocation error occurs, NULL is returned. +*/ +SQLITE_PRIVATE char *sqlite3BtreeIntegrityCheck( + Btree *p, /* The btree to be checked */ + int *aRoot, /* An array of root pages numbers for individual trees */ + int nRoot, /* Number of entries in aRoot[] */ + int mxErr, /* Stop reporting errors after this many */ + int *pnErr /* Write number of errors seen to this variable */ +){ + Pgno i; + IntegrityCk sCheck; + BtShared *pBt = p->pBt; + u64 savedDbFlags = pBt->db->flags; + char zErr[100]; + VVA_ONLY( int nRef ); + + sqlite3BtreeEnter(p); + assert( p->inTrans>TRANS_NONE && pBt->inTransaction>TRANS_NONE ); + VVA_ONLY( nRef = sqlite3PagerRefcount(pBt->pPager) ); + assert( nRef>=0 ); + sCheck.pBt = pBt; + sCheck.pPager = pBt->pPager; + sCheck.nPage = btreePagecount(sCheck.pBt); + sCheck.mxErr = mxErr; + sCheck.nErr = 0; + sCheck.mallocFailed = 0; + sCheck.zPfx = 0; + sCheck.v1 = 0; + sCheck.v2 = 0; + sCheck.aPgRef = 0; + sCheck.heap = 0; + sqlite3StrAccumInit(&sCheck.errMsg, 0, zErr, sizeof(zErr), SQLITE_MAX_LENGTH); + sCheck.errMsg.printfFlags = SQLITE_PRINTF_INTERNAL; + if( sCheck.nPage==0 ){ + goto integrity_ck_cleanup; + } + + sCheck.aPgRef = sqlite3MallocZero((sCheck.nPage / 8)+ 1); + if( !sCheck.aPgRef ){ + sCheck.mallocFailed = 1; + goto integrity_ck_cleanup; + } + sCheck.heap = (u32*)sqlite3PageMalloc( pBt->pageSize ); + if( sCheck.heap==0 ){ + sCheck.mallocFailed = 1; + goto integrity_ck_cleanup; + } + + i = PENDING_BYTE_PAGE(pBt); + if( i<=sCheck.nPage ) setPageReferenced(&sCheck, i); + + /* Check the integrity of the freelist + */ + sCheck.zPfx = "Main freelist: "; + checkList(&sCheck, 1, get4byte(&pBt->pPage1->aData[32]), + get4byte(&pBt->pPage1->aData[36])); + sCheck.zPfx = 0; + + /* Check all the tables. + */ +#ifndef SQLITE_OMIT_AUTOVACUUM + if( pBt->autoVacuum ){ + int mx = 0; + int mxInHdr; + for(i=0; (int)ipPage1->aData[52]); + if( mx!=mxInHdr ){ + checkAppendMsg(&sCheck, + "max rootpage (%d) disagrees with header (%d)", + mx, mxInHdr + ); + } + }else if( get4byte(&pBt->pPage1->aData[64])!=0 ){ + checkAppendMsg(&sCheck, + "incremental_vacuum enabled with a max rootpage of zero" + ); + } +#endif + testcase( pBt->db->flags & SQLITE_CellSizeCk ); + pBt->db->flags &= ~(u64)SQLITE_CellSizeCk; + for(i=0; (int)iautoVacuum && aRoot[i]>1 ){ + checkPtrmap(&sCheck, aRoot[i], PTRMAP_ROOTPAGE, 0); + } +#endif + checkTreePage(&sCheck, aRoot[i], ¬Used, LARGEST_INT64); + } + pBt->db->flags = savedDbFlags; + + /* Make sure every page in the file is referenced + */ + for(i=1; i<=sCheck.nPage && sCheck.mxErr; i++){ +#ifdef SQLITE_OMIT_AUTOVACUUM + if( getPageReferenced(&sCheck, i)==0 ){ + checkAppendMsg(&sCheck, "Page %d is never used", i); + } +#else + /* If the database supports auto-vacuum, make sure no tables contain + ** references to pointer-map pages. + */ + if( getPageReferenced(&sCheck, i)==0 && + (PTRMAP_PAGENO(pBt, i)!=i || !pBt->autoVacuum) ){ + checkAppendMsg(&sCheck, "Page %d is never used", i); + } + if( getPageReferenced(&sCheck, i)!=0 && + (PTRMAP_PAGENO(pBt, i)==i && pBt->autoVacuum) ){ + checkAppendMsg(&sCheck, "Pointer map page %d is referenced", i); + } +#endif + } + + /* Clean up and report errors. + */ +integrity_ck_cleanup: + sqlite3PageFree(sCheck.heap); + sqlite3_free(sCheck.aPgRef); + if( sCheck.mallocFailed ){ + sqlite3_str_reset(&sCheck.errMsg); + sCheck.nErr++; + } + *pnErr = sCheck.nErr; + if( sCheck.nErr==0 ) sqlite3_str_reset(&sCheck.errMsg); + /* Make sure this analysis did not leave any unref() pages. */ + assert( nRef==sqlite3PagerRefcount(pBt->pPager) ); + sqlite3BtreeLeave(p); + return sqlite3StrAccumFinish(&sCheck.errMsg); +} +#endif /* SQLITE_OMIT_INTEGRITY_CHECK */ + +/* +** Return the full pathname of the underlying database file. Return +** an empty string if the database is in-memory or a TEMP database. +** +** The pager filename is invariant as long as the pager is +** open so it is safe to access without the BtShared mutex. +*/ +SQLITE_PRIVATE const char *sqlite3BtreeGetFilename(Btree *p){ + assert( p->pBt->pPager!=0 ); + return sqlite3PagerFilename(p->pBt->pPager, 1); +} + +/* +** Return the pathname of the journal file for this database. The return +** value of this routine is the same regardless of whether the journal file +** has been created or not. +** +** The pager journal filename is invariant as long as the pager is +** open so it is safe to access without the BtShared mutex. +*/ +SQLITE_PRIVATE const char *sqlite3BtreeGetJournalname(Btree *p){ + assert( p->pBt->pPager!=0 ); + return sqlite3PagerJournalname(p->pBt->pPager); +} + +/* +** Return non-zero if a transaction is active. +*/ +SQLITE_PRIVATE int sqlite3BtreeIsInTrans(Btree *p){ + assert( p==0 || sqlite3_mutex_held(p->db->mutex) ); + return (p && (p->inTrans==TRANS_WRITE)); +} + +#ifndef SQLITE_OMIT_WAL +/* +** Run a checkpoint on the Btree passed as the first argument. +** +** Return SQLITE_LOCKED if this or any other connection has an open +** transaction on the shared-cache the argument Btree is connected to. +** +** Parameter eMode is one of SQLITE_CHECKPOINT_PASSIVE, FULL or RESTART. +*/ +SQLITE_PRIVATE int sqlite3BtreeCheckpoint(Btree *p, int eMode, int *pnLog, int *pnCkpt){ + int rc = SQLITE_OK; + if( p ){ + BtShared *pBt = p->pBt; + sqlite3BtreeEnter(p); + if( pBt->inTransaction!=TRANS_NONE ){ + rc = SQLITE_LOCKED; + }else{ + rc = sqlite3PagerCheckpoint(pBt->pPager, p->db, eMode, pnLog, pnCkpt); + } + sqlite3BtreeLeave(p); + } + return rc; +} +#endif + +/* +** Return non-zero if a read (or write) transaction is active. +*/ +SQLITE_PRIVATE int sqlite3BtreeIsInReadTrans(Btree *p){ + assert( p ); + assert( sqlite3_mutex_held(p->db->mutex) ); + return p->inTrans!=TRANS_NONE; +} + +SQLITE_PRIVATE int sqlite3BtreeIsInBackup(Btree *p){ + assert( p ); + assert( sqlite3_mutex_held(p->db->mutex) ); + return p->nBackup!=0; +} + +/* +** This function returns a pointer to a blob of memory associated with +** a single shared-btree. The memory is used by client code for its own +** purposes (for example, to store a high-level schema associated with +** the shared-btree). The btree layer manages reference counting issues. +** +** The first time this is called on a shared-btree, nBytes bytes of memory +** are allocated, zeroed, and returned to the caller. For each subsequent +** call the nBytes parameter is ignored and a pointer to the same blob +** of memory returned. +** +** If the nBytes parameter is 0 and the blob of memory has not yet been +** allocated, a null pointer is returned. If the blob has already been +** allocated, it is returned as normal. +** +** Just before the shared-btree is closed, the function passed as the +** xFree argument when the memory allocation was made is invoked on the +** blob of allocated memory. The xFree function should not call sqlite3_free() +** on the memory, the btree layer does that. +*/ +SQLITE_PRIVATE void *sqlite3BtreeSchema(Btree *p, int nBytes, void(*xFree)(void *)){ + BtShared *pBt = p->pBt; + sqlite3BtreeEnter(p); + if( !pBt->pSchema && nBytes ){ + pBt->pSchema = sqlite3DbMallocZero(0, nBytes); + pBt->xFreeSchema = xFree; + } + sqlite3BtreeLeave(p); + return pBt->pSchema; +} + +/* +** Return SQLITE_LOCKED_SHAREDCACHE if another user of the same shared +** btree as the argument handle holds an exclusive lock on the +** sqlite_master table. Otherwise SQLITE_OK. +*/ +SQLITE_PRIVATE int sqlite3BtreeSchemaLocked(Btree *p){ + int rc; + assert( sqlite3_mutex_held(p->db->mutex) ); + sqlite3BtreeEnter(p); + rc = querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK); + assert( rc==SQLITE_OK || rc==SQLITE_LOCKED_SHAREDCACHE ); + sqlite3BtreeLeave(p); + return rc; +} + + +#ifndef SQLITE_OMIT_SHARED_CACHE +/* +** Obtain a lock on the table whose root page is iTab. The +** lock is a write lock if isWritelock is true or a read lock +** if it is false. +*/ +SQLITE_PRIVATE int sqlite3BtreeLockTable(Btree *p, int iTab, u8 isWriteLock){ + int rc = SQLITE_OK; + assert( p->inTrans!=TRANS_NONE ); + if( p->sharable ){ + u8 lockType = READ_LOCK + isWriteLock; + assert( READ_LOCK+1==WRITE_LOCK ); + assert( isWriteLock==0 || isWriteLock==1 ); + + sqlite3BtreeEnter(p); + rc = querySharedCacheTableLock(p, iTab, lockType); + if( rc==SQLITE_OK ){ + rc = setSharedCacheTableLock(p, iTab, lockType); + } + sqlite3BtreeLeave(p); + } + return rc; +} +#endif + +#ifndef SQLITE_OMIT_INCRBLOB +/* +** Argument pCsr must be a cursor opened for writing on an +** INTKEY table currently pointing at a valid table entry. +** This function modifies the data stored as part of that entry. +** +** Only the data content may only be modified, it is not possible to +** change the length of the data stored. If this function is called with +** parameters that attempt to write past the end of the existing data, +** no modifications are made and SQLITE_CORRUPT is returned. +*/ +SQLITE_PRIVATE int sqlite3BtreePutData(BtCursor *pCsr, u32 offset, u32 amt, void *z){ + int rc; + assert( cursorOwnsBtShared(pCsr) ); + assert( sqlite3_mutex_held(pCsr->pBtree->db->mutex) ); + assert( pCsr->curFlags & BTCF_Incrblob ); + + rc = restoreCursorPosition(pCsr); + if( rc!=SQLITE_OK ){ + return rc; + } + assert( pCsr->eState!=CURSOR_REQUIRESEEK ); + if( pCsr->eState!=CURSOR_VALID ){ + return SQLITE_ABORT; + } + + /* Save the positions of all other cursors open on this table. This is + ** required in case any of them are holding references to an xFetch + ** version of the b-tree page modified by the accessPayload call below. + ** + ** Note that pCsr must be open on a INTKEY table and saveCursorPosition() + ** and hence saveAllCursors() cannot fail on a BTREE_INTKEY table, hence + ** saveAllCursors can only return SQLITE_OK. + */ + VVA_ONLY(rc =) saveAllCursors(pCsr->pBt, pCsr->pgnoRoot, pCsr); + assert( rc==SQLITE_OK ); + + /* Check some assumptions: + ** (a) the cursor is open for writing, + ** (b) there is a read/write transaction open, + ** (c) the connection holds a write-lock on the table (if required), + ** (d) there are no conflicting read-locks, and + ** (e) the cursor points at a valid row of an intKey table. + */ + if( (pCsr->curFlags & BTCF_WriteFlag)==0 ){ + return SQLITE_READONLY; + } + assert( (pCsr->pBt->btsFlags & BTS_READ_ONLY)==0 + && pCsr->pBt->inTransaction==TRANS_WRITE ); + assert( hasSharedCacheTableLock(pCsr->pBtree, pCsr->pgnoRoot, 0, 2) ); + assert( !hasReadConflicts(pCsr->pBtree, pCsr->pgnoRoot) ); + assert( pCsr->pPage->intKey ); + + return accessPayload(pCsr, offset, amt, (unsigned char *)z, 1); +} + +/* +** Mark this cursor as an incremental blob cursor. +*/ +SQLITE_PRIVATE void sqlite3BtreeIncrblobCursor(BtCursor *pCur){ + pCur->curFlags |= BTCF_Incrblob; + pCur->pBtree->hasIncrblobCur = 1; +} +#endif + +/* +** Set both the "read version" (single byte at byte offset 18) and +** "write version" (single byte at byte offset 19) fields in the database +** header to iVersion. +*/ +SQLITE_PRIVATE int sqlite3BtreeSetVersion(Btree *pBtree, int iVersion){ + BtShared *pBt = pBtree->pBt; + int rc; /* Return code */ + + assert( iVersion==1 || iVersion==2 ); + + /* If setting the version fields to 1, do not automatically open the + ** WAL connection, even if the version fields are currently set to 2. + */ + pBt->btsFlags &= ~BTS_NO_WAL; + if( iVersion==1 ) pBt->btsFlags |= BTS_NO_WAL; + + rc = sqlite3BtreeBeginTrans(pBtree, 0, 0); + if( rc==SQLITE_OK ){ + u8 *aData = pBt->pPage1->aData; + if( aData[18]!=(u8)iVersion || aData[19]!=(u8)iVersion ){ + rc = sqlite3BtreeBeginTrans(pBtree, 2, 0); + if( rc==SQLITE_OK ){ + rc = sqlite3PagerWrite(pBt->pPage1->pDbPage); + if( rc==SQLITE_OK ){ + aData[18] = (u8)iVersion; + aData[19] = (u8)iVersion; + } + } + } + } + + pBt->btsFlags &= ~BTS_NO_WAL; + return rc; +} + +/* +** Return true if the cursor has a hint specified. This routine is +** only used from within assert() statements +*/ +SQLITE_PRIVATE int sqlite3BtreeCursorHasHint(BtCursor *pCsr, unsigned int mask){ + return (pCsr->hints & mask)!=0; +} + +/* +** Return true if the given Btree is read-only. +*/ +SQLITE_PRIVATE int sqlite3BtreeIsReadonly(Btree *p){ + return (p->pBt->btsFlags & BTS_READ_ONLY)!=0; +} + +/* +** Return the size of the header added to each page by this module. +*/ +SQLITE_PRIVATE int sqlite3HeaderSizeBtree(void){ return ROUND8(sizeof(MemPage)); } + +#if !defined(SQLITE_OMIT_SHARED_CACHE) +/* +** Return true if the Btree passed as the only argument is sharable. +*/ +SQLITE_PRIVATE int sqlite3BtreeSharable(Btree *p){ + return p->sharable; +} + +/* +** Return the number of connections to the BtShared object accessed by +** the Btree handle passed as the only argument. For private caches +** this is always 1. For shared caches it may be 1 or greater. +*/ +SQLITE_PRIVATE int sqlite3BtreeConnectionCount(Btree *p){ + testcase( p->sharable ); + return p->pBt->nRef; +} +#endif + +/************** End of btree.c ***********************************************/ +/************** Begin file backup.c ******************************************/ +/* +** 2009 January 28 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains the implementation of the sqlite3_backup_XXX() +** API functions and the related features. +*/ +/* #include "sqliteInt.h" */ +/* #include "btreeInt.h" */ + +/* +** Structure allocated for each backup operation. +*/ +struct sqlite3_backup { + sqlite3* pDestDb; /* Destination database handle */ + Btree *pDest; /* Destination b-tree file */ + u32 iDestSchema; /* Original schema cookie in destination */ + int bDestLocked; /* True once a write-transaction is open on pDest */ + + Pgno iNext; /* Page number of the next source page to copy */ + sqlite3* pSrcDb; /* Source database handle */ + Btree *pSrc; /* Source b-tree file */ + + int rc; /* Backup process error code */ + + /* These two variables are set by every call to backup_step(). They are + ** read by calls to backup_remaining() and backup_pagecount(). + */ + Pgno nRemaining; /* Number of pages left to copy */ + Pgno nPagecount; /* Total number of pages to copy */ + + int isAttached; /* True once backup has been registered with pager */ + sqlite3_backup *pNext; /* Next backup associated with source pager */ +}; + +/* +** THREAD SAFETY NOTES: +** +** Once it has been created using backup_init(), a single sqlite3_backup +** structure may be accessed via two groups of thread-safe entry points: +** +** * Via the sqlite3_backup_XXX() API function backup_step() and +** backup_finish(). Both these functions obtain the source database +** handle mutex and the mutex associated with the source BtShared +** structure, in that order. +** +** * Via the BackupUpdate() and BackupRestart() functions, which are +** invoked by the pager layer to report various state changes in +** the page cache associated with the source database. The mutex +** associated with the source database BtShared structure will always +** be held when either of these functions are invoked. +** +** The other sqlite3_backup_XXX() API functions, backup_remaining() and +** backup_pagecount() are not thread-safe functions. If they are called +** while some other thread is calling backup_step() or backup_finish(), +** the values returned may be invalid. There is no way for a call to +** BackupUpdate() or BackupRestart() to interfere with backup_remaining() +** or backup_pagecount(). +** +** Depending on the SQLite configuration, the database handles and/or +** the Btree objects may have their own mutexes that require locking. +** Non-sharable Btrees (in-memory databases for example), do not have +** associated mutexes. +*/ + +/* +** Return a pointer corresponding to database zDb (i.e. "main", "temp") +** in connection handle pDb. If such a database cannot be found, return +** a NULL pointer and write an error message to pErrorDb. +** +** If the "temp" database is requested, it may need to be opened by this +** function. If an error occurs while doing so, return 0 and write an +** error message to pErrorDb. +*/ +static Btree *findBtree(sqlite3 *pErrorDb, sqlite3 *pDb, const char *zDb){ + int i = sqlite3FindDbName(pDb, zDb); + + if( i==1 ){ + Parse sParse; + int rc = 0; + memset(&sParse, 0, sizeof(sParse)); + sParse.db = pDb; + if( sqlite3OpenTempDatabase(&sParse) ){ + sqlite3ErrorWithMsg(pErrorDb, sParse.rc, "%s", sParse.zErrMsg); + rc = SQLITE_ERROR; + } + sqlite3DbFree(pErrorDb, sParse.zErrMsg); + sqlite3ParserReset(&sParse); + if( rc ){ + return 0; + } + } + + if( i<0 ){ + sqlite3ErrorWithMsg(pErrorDb, SQLITE_ERROR, "unknown database %s", zDb); + return 0; + } + + return pDb->aDb[i].pBt; +} + +/* +** Attempt to set the page size of the destination to match the page size +** of the source. +*/ +static int setDestPgsz(sqlite3_backup *p){ + int rc; + rc = sqlite3BtreeSetPageSize(p->pDest,sqlite3BtreeGetPageSize(p->pSrc),-1,0); + return rc; +} + +/* +** Check that there is no open read-transaction on the b-tree passed as the +** second argument. If there is not, return SQLITE_OK. Otherwise, if there +** is an open read-transaction, return SQLITE_ERROR and leave an error +** message in database handle db. +*/ +static int checkReadTransaction(sqlite3 *db, Btree *p){ + if( sqlite3BtreeIsInReadTrans(p) ){ + sqlite3ErrorWithMsg(db, SQLITE_ERROR, "destination database is in use"); + return SQLITE_ERROR; + } + return SQLITE_OK; +} + +/* +** Create an sqlite3_backup process to copy the contents of zSrcDb from +** connection handle pSrcDb to zDestDb in pDestDb. If successful, return +** a pointer to the new sqlite3_backup object. +** +** If an error occurs, NULL is returned and an error code and error message +** stored in database handle pDestDb. +*/ +SQLITE_API sqlite3_backup *sqlite3_backup_init( + sqlite3* pDestDb, /* Database to write to */ + const char *zDestDb, /* Name of database within pDestDb */ + sqlite3* pSrcDb, /* Database connection to read from */ + const char *zSrcDb /* Name of database within pSrcDb */ +){ + sqlite3_backup *p; /* Value to return */ + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(pSrcDb)||!sqlite3SafetyCheckOk(pDestDb) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + + /* Lock the source database handle. The destination database + ** handle is not locked in this routine, but it is locked in + ** sqlite3_backup_step(). The user is required to ensure that no + ** other thread accesses the destination handle for the duration + ** of the backup operation. Any attempt to use the destination + ** database connection while a backup is in progress may cause + ** a malfunction or a deadlock. + */ + sqlite3_mutex_enter(pSrcDb->mutex); + sqlite3_mutex_enter(pDestDb->mutex); + + if( pSrcDb==pDestDb ){ + sqlite3ErrorWithMsg( + pDestDb, SQLITE_ERROR, "source and destination must be distinct" + ); + p = 0; + }else { + /* Allocate space for a new sqlite3_backup object... + ** EVIDENCE-OF: R-64852-21591 The sqlite3_backup object is created by a + ** call to sqlite3_backup_init() and is destroyed by a call to + ** sqlite3_backup_finish(). */ + p = (sqlite3_backup *)sqlite3MallocZero(sizeof(sqlite3_backup)); + if( !p ){ + sqlite3Error(pDestDb, SQLITE_NOMEM_BKPT); + } + } + + /* If the allocation succeeded, populate the new object. */ + if( p ){ + p->pSrc = findBtree(pDestDb, pSrcDb, zSrcDb); + p->pDest = findBtree(pDestDb, pDestDb, zDestDb); + p->pDestDb = pDestDb; + p->pSrcDb = pSrcDb; + p->iNext = 1; + p->isAttached = 0; + + if( 0==p->pSrc || 0==p->pDest + || checkReadTransaction(pDestDb, p->pDest)!=SQLITE_OK + ){ + /* One (or both) of the named databases did not exist or an OOM + ** error was hit. Or there is a transaction open on the destination + ** database. The error has already been written into the pDestDb + ** handle. All that is left to do here is free the sqlite3_backup + ** structure. */ + sqlite3_free(p); + p = 0; + } + } + if( p ){ + p->pSrc->nBackup++; + } + + sqlite3_mutex_leave(pDestDb->mutex); + sqlite3_mutex_leave(pSrcDb->mutex); + return p; +} + +/* +** Argument rc is an SQLite error code. Return true if this error is +** considered fatal if encountered during a backup operation. All errors +** are considered fatal except for SQLITE_BUSY and SQLITE_LOCKED. +*/ +static int isFatalError(int rc){ + return (rc!=SQLITE_OK && rc!=SQLITE_BUSY && ALWAYS(rc!=SQLITE_LOCKED)); +} + +/* +** Parameter zSrcData points to a buffer containing the data for +** page iSrcPg from the source database. Copy this data into the +** destination database. +*/ +static int backupOnePage( + sqlite3_backup *p, /* Backup handle */ + Pgno iSrcPg, /* Source database page to backup */ + const u8 *zSrcData, /* Source database page data */ + int bUpdate /* True for an update, false otherwise */ +){ + Pager * const pDestPager = sqlite3BtreePager(p->pDest); + const int nSrcPgsz = sqlite3BtreeGetPageSize(p->pSrc); + int nDestPgsz = sqlite3BtreeGetPageSize(p->pDest); + const int nCopy = MIN(nSrcPgsz, nDestPgsz); + const i64 iEnd = (i64)iSrcPg*(i64)nSrcPgsz; +#ifdef SQLITE_HAS_CODEC + /* Use BtreeGetReserveNoMutex() for the source b-tree, as although it is + ** guaranteed that the shared-mutex is held by this thread, handle + ** p->pSrc may not actually be the owner. */ + int nSrcReserve = sqlite3BtreeGetReserveNoMutex(p->pSrc); + int nDestReserve = sqlite3BtreeGetOptimalReserve(p->pDest); +#endif + int rc = SQLITE_OK; + i64 iOff; + + assert( sqlite3BtreeGetReserveNoMutex(p->pSrc)>=0 ); + assert( p->bDestLocked ); + assert( !isFatalError(p->rc) ); + assert( iSrcPg!=PENDING_BYTE_PAGE(p->pSrc->pBt) ); + assert( zSrcData ); + + /* Catch the case where the destination is an in-memory database and the + ** page sizes of the source and destination differ. + */ + if( nSrcPgsz!=nDestPgsz && sqlite3PagerIsMemdb(pDestPager) ){ + rc = SQLITE_READONLY; + } + +#ifdef SQLITE_HAS_CODEC + /* Backup is not possible if the page size of the destination is changing + ** and a codec is in use. + */ + if( nSrcPgsz!=nDestPgsz && sqlite3PagerGetCodec(pDestPager)!=0 ){ + rc = SQLITE_READONLY; + } + + /* Backup is not possible if the number of bytes of reserve space differ + ** between source and destination. If there is a difference, try to + ** fix the destination to agree with the source. If that is not possible, + ** then the backup cannot proceed. + */ + if( nSrcReserve!=nDestReserve ){ + u32 newPgsz = nSrcPgsz; + rc = sqlite3PagerSetPagesize(pDestPager, &newPgsz, nSrcReserve); + if( rc==SQLITE_OK && newPgsz!=(u32)nSrcPgsz ) rc = SQLITE_READONLY; + } +#endif + + /* This loop runs once for each destination page spanned by the source + ** page. For each iteration, variable iOff is set to the byte offset + ** of the destination page. + */ + for(iOff=iEnd-(i64)nSrcPgsz; rc==SQLITE_OK && iOffpDest->pBt) ) continue; + if( SQLITE_OK==(rc = sqlite3PagerGet(pDestPager, iDest, &pDestPg, 0)) + && SQLITE_OK==(rc = sqlite3PagerWrite(pDestPg)) + ){ + const u8 *zIn = &zSrcData[iOff%nSrcPgsz]; + u8 *zDestData = sqlite3PagerGetData(pDestPg); + u8 *zOut = &zDestData[iOff%nDestPgsz]; + + /* Copy the data from the source page into the destination page. + ** Then clear the Btree layer MemPage.isInit flag. Both this module + ** and the pager code use this trick (clearing the first byte + ** of the page 'extra' space to invalidate the Btree layers + ** cached parse of the page). MemPage.isInit is marked + ** "MUST BE FIRST" for this purpose. + */ + memcpy(zOut, zIn, nCopy); + ((u8 *)sqlite3PagerGetExtra(pDestPg))[0] = 0; + if( iOff==0 && bUpdate==0 ){ + sqlite3Put4byte(&zOut[28], sqlite3BtreeLastPage(p->pSrc)); + } + } + sqlite3PagerUnref(pDestPg); + } + + return rc; +} + +/* +** If pFile is currently larger than iSize bytes, then truncate it to +** exactly iSize bytes. If pFile is not larger than iSize bytes, then +** this function is a no-op. +** +** Return SQLITE_OK if everything is successful, or an SQLite error +** code if an error occurs. +*/ +static int backupTruncateFile(sqlite3_file *pFile, i64 iSize){ + i64 iCurrent; + int rc = sqlite3OsFileSize(pFile, &iCurrent); + if( rc==SQLITE_OK && iCurrent>iSize ){ + rc = sqlite3OsTruncate(pFile, iSize); + } + return rc; +} + +/* +** Register this backup object with the associated source pager for +** callbacks when pages are changed or the cache invalidated. +*/ +static void attachBackupObject(sqlite3_backup *p){ + sqlite3_backup **pp; + assert( sqlite3BtreeHoldsMutex(p->pSrc) ); + pp = sqlite3PagerBackupPtr(sqlite3BtreePager(p->pSrc)); + p->pNext = *pp; + *pp = p; + p->isAttached = 1; +} + +/* +** Copy nPage pages from the source b-tree to the destination. +*/ +SQLITE_API int sqlite3_backup_step(sqlite3_backup *p, int nPage){ + int rc; + int destMode; /* Destination journal mode */ + int pgszSrc = 0; /* Source page size */ + int pgszDest = 0; /* Destination page size */ + +#ifdef SQLITE_ENABLE_API_ARMOR + if( p==0 ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(p->pSrcDb->mutex); + sqlite3BtreeEnter(p->pSrc); + if( p->pDestDb ){ + sqlite3_mutex_enter(p->pDestDb->mutex); + } + + rc = p->rc; + if( !isFatalError(rc) ){ + Pager * const pSrcPager = sqlite3BtreePager(p->pSrc); /* Source pager */ + Pager * const pDestPager = sqlite3BtreePager(p->pDest); /* Dest pager */ + int ii; /* Iterator variable */ + int nSrcPage = -1; /* Size of source db in pages */ + int bCloseTrans = 0; /* True if src db requires unlocking */ + + /* If the source pager is currently in a write-transaction, return + ** SQLITE_BUSY immediately. + */ + if( p->pDestDb && p->pSrc->pBt->inTransaction==TRANS_WRITE ){ + rc = SQLITE_BUSY; + }else{ + rc = SQLITE_OK; + } + + /* If there is no open read-transaction on the source database, open + ** one now. If a transaction is opened here, then it will be closed + ** before this function exits. + */ + if( rc==SQLITE_OK && 0==sqlite3BtreeIsInReadTrans(p->pSrc) ){ + rc = sqlite3BtreeBeginTrans(p->pSrc, 0, 0); + bCloseTrans = 1; + } + + /* If the destination database has not yet been locked (i.e. if this + ** is the first call to backup_step() for the current backup operation), + ** try to set its page size to the same as the source database. This + ** is especially important on ZipVFS systems, as in that case it is + ** not possible to create a database file that uses one page size by + ** writing to it with another. */ + if( p->bDestLocked==0 && rc==SQLITE_OK && setDestPgsz(p)==SQLITE_NOMEM ){ + rc = SQLITE_NOMEM; + } + + /* Lock the destination database, if it is not locked already. */ + if( SQLITE_OK==rc && p->bDestLocked==0 + && SQLITE_OK==(rc = sqlite3BtreeBeginTrans(p->pDest, 2, + (int*)&p->iDestSchema)) + ){ + p->bDestLocked = 1; + } + + /* Do not allow backup if the destination database is in WAL mode + ** and the page sizes are different between source and destination */ + pgszSrc = sqlite3BtreeGetPageSize(p->pSrc); + pgszDest = sqlite3BtreeGetPageSize(p->pDest); + destMode = sqlite3PagerGetJournalMode(sqlite3BtreePager(p->pDest)); + if( SQLITE_OK==rc && destMode==PAGER_JOURNALMODE_WAL && pgszSrc!=pgszDest ){ + rc = SQLITE_READONLY; + } + + /* Now that there is a read-lock on the source database, query the + ** source pager for the number of pages in the database. + */ + nSrcPage = (int)sqlite3BtreeLastPage(p->pSrc); + assert( nSrcPage>=0 ); + for(ii=0; (nPage<0 || iiiNext<=(Pgno)nSrcPage && !rc; ii++){ + const Pgno iSrcPg = p->iNext; /* Source page number */ + if( iSrcPg!=PENDING_BYTE_PAGE(p->pSrc->pBt) ){ + DbPage *pSrcPg; /* Source page object */ + rc = sqlite3PagerGet(pSrcPager, iSrcPg, &pSrcPg,PAGER_GET_READONLY); + if( rc==SQLITE_OK ){ + rc = backupOnePage(p, iSrcPg, sqlite3PagerGetData(pSrcPg), 0); + sqlite3PagerUnref(pSrcPg); + } + } + p->iNext++; + } + if( rc==SQLITE_OK ){ + p->nPagecount = nSrcPage; + p->nRemaining = nSrcPage+1-p->iNext; + if( p->iNext>(Pgno)nSrcPage ){ + rc = SQLITE_DONE; + }else if( !p->isAttached ){ + attachBackupObject(p); + } + } + + /* Update the schema version field in the destination database. This + ** is to make sure that the schema-version really does change in + ** the case where the source and destination databases have the + ** same schema version. + */ + if( rc==SQLITE_DONE ){ + if( nSrcPage==0 ){ + rc = sqlite3BtreeNewDb(p->pDest); + nSrcPage = 1; + } + if( rc==SQLITE_OK || rc==SQLITE_DONE ){ + rc = sqlite3BtreeUpdateMeta(p->pDest,1,p->iDestSchema+1); + } + if( rc==SQLITE_OK ){ + if( p->pDestDb ){ + sqlite3ResetAllSchemasOfConnection(p->pDestDb); + } + if( destMode==PAGER_JOURNALMODE_WAL ){ + rc = sqlite3BtreeSetVersion(p->pDest, 2); + } + } + if( rc==SQLITE_OK ){ + int nDestTruncate; + /* Set nDestTruncate to the final number of pages in the destination + ** database. The complication here is that the destination page + ** size may be different to the source page size. + ** + ** If the source page size is smaller than the destination page size, + ** round up. In this case the call to sqlite3OsTruncate() below will + ** fix the size of the file. However it is important to call + ** sqlite3PagerTruncateImage() here so that any pages in the + ** destination file that lie beyond the nDestTruncate page mark are + ** journalled by PagerCommitPhaseOne() before they are destroyed + ** by the file truncation. + */ + assert( pgszSrc==sqlite3BtreeGetPageSize(p->pSrc) ); + assert( pgszDest==sqlite3BtreeGetPageSize(p->pDest) ); + if( pgszSrcpDest->pBt) ){ + nDestTruncate--; + } + }else{ + nDestTruncate = nSrcPage * (pgszSrc/pgszDest); + } + assert( nDestTruncate>0 ); + + if( pgszSrc= iSize || ( + nDestTruncate==(int)(PENDING_BYTE_PAGE(p->pDest->pBt)-1) + && iSize>=PENDING_BYTE && iSize<=PENDING_BYTE+pgszDest + )); + + /* This block ensures that all data required to recreate the original + ** database has been stored in the journal for pDestPager and the + ** journal synced to disk. So at this point we may safely modify + ** the database file in any way, knowing that if a power failure + ** occurs, the original database will be reconstructed from the + ** journal file. */ + sqlite3PagerPagecount(pDestPager, &nDstPage); + for(iPg=nDestTruncate; rc==SQLITE_OK && iPg<=(Pgno)nDstPage; iPg++){ + if( iPg!=PENDING_BYTE_PAGE(p->pDest->pBt) ){ + DbPage *pPg; + rc = sqlite3PagerGet(pDestPager, iPg, &pPg, 0); + if( rc==SQLITE_OK ){ + rc = sqlite3PagerWrite(pPg); + sqlite3PagerUnref(pPg); + } + } + } + if( rc==SQLITE_OK ){ + rc = sqlite3PagerCommitPhaseOne(pDestPager, 0, 1); + } + + /* Write the extra pages and truncate the database file as required */ + iEnd = MIN(PENDING_BYTE + pgszDest, iSize); + for( + iOff=PENDING_BYTE+pgszSrc; + rc==SQLITE_OK && iOffpDest, 0)) + ){ + rc = SQLITE_DONE; + } + } + } + + /* If bCloseTrans is true, then this function opened a read transaction + ** on the source database. Close the read transaction here. There is + ** no need to check the return values of the btree methods here, as + ** "committing" a read-only transaction cannot fail. + */ + if( bCloseTrans ){ + TESTONLY( int rc2 ); + TESTONLY( rc2 = ) sqlite3BtreeCommitPhaseOne(p->pSrc, 0); + TESTONLY( rc2 |= ) sqlite3BtreeCommitPhaseTwo(p->pSrc, 0); + assert( rc2==SQLITE_OK ); + } + + if( rc==SQLITE_IOERR_NOMEM ){ + rc = SQLITE_NOMEM_BKPT; + } + p->rc = rc; + } + if( p->pDestDb ){ + sqlite3_mutex_leave(p->pDestDb->mutex); + } + sqlite3BtreeLeave(p->pSrc); + sqlite3_mutex_leave(p->pSrcDb->mutex); + return rc; +} + +/* +** Release all resources associated with an sqlite3_backup* handle. +*/ +SQLITE_API int sqlite3_backup_finish(sqlite3_backup *p){ + sqlite3_backup **pp; /* Ptr to head of pagers backup list */ + sqlite3 *pSrcDb; /* Source database connection */ + int rc; /* Value to return */ + + /* Enter the mutexes */ + if( p==0 ) return SQLITE_OK; + pSrcDb = p->pSrcDb; + sqlite3_mutex_enter(pSrcDb->mutex); + sqlite3BtreeEnter(p->pSrc); + if( p->pDestDb ){ + sqlite3_mutex_enter(p->pDestDb->mutex); + } + + /* Detach this backup from the source pager. */ + if( p->pDestDb ){ + p->pSrc->nBackup--; + } + if( p->isAttached ){ + pp = sqlite3PagerBackupPtr(sqlite3BtreePager(p->pSrc)); + assert( pp!=0 ); + while( *pp!=p ){ + pp = &(*pp)->pNext; + assert( pp!=0 ); + } + *pp = p->pNext; + } + + /* If a transaction is still open on the Btree, roll it back. */ + sqlite3BtreeRollback(p->pDest, SQLITE_OK, 0); + + /* Set the error code of the destination database handle. */ + rc = (p->rc==SQLITE_DONE) ? SQLITE_OK : p->rc; + if( p->pDestDb ){ + sqlite3Error(p->pDestDb, rc); + + /* Exit the mutexes and free the backup context structure. */ + sqlite3LeaveMutexAndCloseZombie(p->pDestDb); + } + sqlite3BtreeLeave(p->pSrc); + if( p->pDestDb ){ + /* EVIDENCE-OF: R-64852-21591 The sqlite3_backup object is created by a + ** call to sqlite3_backup_init() and is destroyed by a call to + ** sqlite3_backup_finish(). */ + sqlite3_free(p); + } + sqlite3LeaveMutexAndCloseZombie(pSrcDb); + return rc; +} + +/* +** Return the number of pages still to be backed up as of the most recent +** call to sqlite3_backup_step(). +*/ +SQLITE_API int sqlite3_backup_remaining(sqlite3_backup *p){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( p==0 ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + return p->nRemaining; +} + +/* +** Return the total number of pages in the source database as of the most +** recent call to sqlite3_backup_step(). +*/ +SQLITE_API int sqlite3_backup_pagecount(sqlite3_backup *p){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( p==0 ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + return p->nPagecount; +} + +/* +** This function is called after the contents of page iPage of the +** source database have been modified. If page iPage has already been +** copied into the destination database, then the data written to the +** destination is now invalidated. The destination copy of iPage needs +** to be updated with the new data before the backup operation is +** complete. +** +** It is assumed that the mutex associated with the BtShared object +** corresponding to the source database is held when this function is +** called. +*/ +static SQLITE_NOINLINE void backupUpdate( + sqlite3_backup *p, + Pgno iPage, + const u8 *aData +){ + assert( p!=0 ); + do{ + assert( sqlite3_mutex_held(p->pSrc->pBt->mutex) ); + if( !isFatalError(p->rc) && iPageiNext ){ + /* The backup process p has already copied page iPage. But now it + ** has been modified by a transaction on the source pager. Copy + ** the new data into the backup. + */ + int rc; + assert( p->pDestDb ); + sqlite3_mutex_enter(p->pDestDb->mutex); + rc = backupOnePage(p, iPage, aData, 1); + sqlite3_mutex_leave(p->pDestDb->mutex); + assert( rc!=SQLITE_BUSY && rc!=SQLITE_LOCKED ); + if( rc!=SQLITE_OK ){ + p->rc = rc; + } + } + }while( (p = p->pNext)!=0 ); +} +SQLITE_PRIVATE void sqlite3BackupUpdate(sqlite3_backup *pBackup, Pgno iPage, const u8 *aData){ + if( pBackup ) backupUpdate(pBackup, iPage, aData); +} + +/* +** Restart the backup process. This is called when the pager layer +** detects that the database has been modified by an external database +** connection. In this case there is no way of knowing which of the +** pages that have been copied into the destination database are still +** valid and which are not, so the entire process needs to be restarted. +** +** It is assumed that the mutex associated with the BtShared object +** corresponding to the source database is held when this function is +** called. +*/ +SQLITE_PRIVATE void sqlite3BackupRestart(sqlite3_backup *pBackup){ + sqlite3_backup *p; /* Iterator variable */ + for(p=pBackup; p; p=p->pNext){ + assert( sqlite3_mutex_held(p->pSrc->pBt->mutex) ); + p->iNext = 1; + } +} + +#ifndef SQLITE_OMIT_VACUUM +/* +** Copy the complete content of pBtFrom into pBtTo. A transaction +** must be active for both files. +** +** The size of file pTo may be reduced by this operation. If anything +** goes wrong, the transaction on pTo is rolled back. If successful, the +** transaction is committed before returning. +*/ +SQLITE_PRIVATE int sqlite3BtreeCopyFile(Btree *pTo, Btree *pFrom){ + int rc; + sqlite3_file *pFd; /* File descriptor for database pTo */ + sqlite3_backup b; + sqlite3BtreeEnter(pTo); + sqlite3BtreeEnter(pFrom); + + assert( sqlite3BtreeIsInTrans(pTo) ); + pFd = sqlite3PagerFile(sqlite3BtreePager(pTo)); + if( pFd->pMethods ){ + i64 nByte = sqlite3BtreeGetPageSize(pFrom)*(i64)sqlite3BtreeLastPage(pFrom); + rc = sqlite3OsFileControl(pFd, SQLITE_FCNTL_OVERWRITE, &nByte); + if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK; + if( rc ) goto copy_finished; + } + + /* Set up an sqlite3_backup object. sqlite3_backup.pDestDb must be set + ** to 0. This is used by the implementations of sqlite3_backup_step() + ** and sqlite3_backup_finish() to detect that they are being called + ** from this function, not directly by the user. + */ + memset(&b, 0, sizeof(b)); + b.pSrcDb = pFrom->db; + b.pSrc = pFrom; + b.pDest = pTo; + b.iNext = 1; + +#ifdef SQLITE_HAS_CODEC + sqlite3PagerAlignReserve(sqlite3BtreePager(pTo), sqlite3BtreePager(pFrom)); +#endif + + /* 0x7FFFFFFF is the hard limit for the number of pages in a database + ** file. By passing this as the number of pages to copy to + ** sqlite3_backup_step(), we can guarantee that the copy finishes + ** within a single call (unless an error occurs). The assert() statement + ** checks this assumption - (p->rc) should be set to either SQLITE_DONE + ** or an error code. */ + sqlite3_backup_step(&b, 0x7FFFFFFF); + assert( b.rc!=SQLITE_OK ); + + rc = sqlite3_backup_finish(&b); + if( rc==SQLITE_OK ){ + pTo->pBt->btsFlags &= ~BTS_PAGESIZE_FIXED; + }else{ + sqlite3PagerClearCache(sqlite3BtreePager(b.pDest)); + } + + assert( sqlite3BtreeIsInTrans(pTo)==0 ); +copy_finished: + sqlite3BtreeLeave(pFrom); + sqlite3BtreeLeave(pTo); + return rc; +} +#endif /* SQLITE_OMIT_VACUUM */ + +/************** End of backup.c **********************************************/ +/************** Begin file vdbemem.c *****************************************/ +/* +** 2004 May 26 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains code use to manipulate "Mem" structure. A "Mem" +** stores a single value in the VDBE. Mem is an opaque structure visible +** only within the VDBE. Interface routines refer to a Mem using the +** name sqlite_value +*/ +/* #include "sqliteInt.h" */ +/* #include "vdbeInt.h" */ + +/* True if X is a power of two. 0 is considered a power of two here. +** In other words, return true if X has at most one bit set. +*/ +#define ISPOWEROF2(X) (((X)&((X)-1))==0) + +#ifdef SQLITE_DEBUG +/* +** Check invariants on a Mem object. +** +** This routine is intended for use inside of assert() statements, like +** this: assert( sqlite3VdbeCheckMemInvariants(pMem) ); +*/ +SQLITE_PRIVATE int sqlite3VdbeCheckMemInvariants(Mem *p){ + /* If MEM_Dyn is set then Mem.xDel!=0. + ** Mem.xDel might not be initialized if MEM_Dyn is clear. + */ + assert( (p->flags & MEM_Dyn)==0 || p->xDel!=0 ); + + /* MEM_Dyn may only be set if Mem.szMalloc==0. In this way we + ** ensure that if Mem.szMalloc>0 then it is safe to do + ** Mem.z = Mem.zMalloc without having to check Mem.flags&MEM_Dyn. + ** That saves a few cycles in inner loops. */ + assert( (p->flags & MEM_Dyn)==0 || p->szMalloc==0 ); + + /* Cannot have more than one of MEM_Int, MEM_Real, or MEM_IntReal */ + assert( ISPOWEROF2(p->flags & (MEM_Int|MEM_Real|MEM_IntReal)) ); + + if( p->flags & MEM_Null ){ + /* Cannot be both MEM_Null and some other type */ + assert( (p->flags & (MEM_Int|MEM_Real|MEM_Str|MEM_Blob|MEM_Agg))==0 ); + + /* If MEM_Null is set, then either the value is a pure NULL (the usual + ** case) or it is a pointer set using sqlite3_bind_pointer() or + ** sqlite3_result_pointer(). If a pointer, then MEM_Term must also be + ** set. + */ + if( (p->flags & (MEM_Term|MEM_Subtype))==(MEM_Term|MEM_Subtype) ){ + /* This is a pointer type. There may be a flag to indicate what to + ** do with the pointer. */ + assert( ((p->flags&MEM_Dyn)!=0 ? 1 : 0) + + ((p->flags&MEM_Ephem)!=0 ? 1 : 0) + + ((p->flags&MEM_Static)!=0 ? 1 : 0) <= 1 ); + + /* No other bits set */ + assert( (p->flags & ~(MEM_Null|MEM_Term|MEM_Subtype|MEM_FromBind + |MEM_Dyn|MEM_Ephem|MEM_Static))==0 ); + }else{ + /* A pure NULL might have other flags, such as MEM_Static, MEM_Dyn, + ** MEM_Ephem, MEM_Cleared, or MEM_Subtype */ + } + }else{ + /* The MEM_Cleared bit is only allowed on NULLs */ + assert( (p->flags & MEM_Cleared)==0 ); + } + + /* The szMalloc field holds the correct memory allocation size */ + assert( p->szMalloc==0 + || p->szMalloc==sqlite3DbMallocSize(p->db,p->zMalloc) ); + + /* If p holds a string or blob, the Mem.z must point to exactly + ** one of the following: + ** + ** (1) Memory in Mem.zMalloc and managed by the Mem object + ** (2) Memory to be freed using Mem.xDel + ** (3) An ephemeral string or blob + ** (4) A static string or blob + */ + if( (p->flags & (MEM_Str|MEM_Blob)) && p->n>0 ){ + assert( + ((p->szMalloc>0 && p->z==p->zMalloc)? 1 : 0) + + ((p->flags&MEM_Dyn)!=0 ? 1 : 0) + + ((p->flags&MEM_Ephem)!=0 ? 1 : 0) + + ((p->flags&MEM_Static)!=0 ? 1 : 0) == 1 + ); + } + return 1; +} +#endif + +/* +** Render a Mem object which is one of MEM_Int, MEM_Real, or MEM_IntReal +** into a buffer. +*/ +static void vdbeMemRenderNum(int sz, char *zBuf, Mem *p){ + StrAccum acc; + assert( p->flags & (MEM_Int|MEM_Real|MEM_IntReal) ); + sqlite3StrAccumInit(&acc, 0, zBuf, sz, 0); + if( p->flags & MEM_Int ){ + sqlite3_str_appendf(&acc, "%lld", p->u.i); + }else if( p->flags & MEM_IntReal ){ + sqlite3_str_appendf(&acc, "%!.15g", (double)p->u.i); + }else{ + sqlite3_str_appendf(&acc, "%!.15g", p->u.r); + } + assert( acc.zText==zBuf && acc.mxAlloc<=0 ); + zBuf[acc.nChar] = 0; /* Fast version of sqlite3StrAccumFinish(&acc) */ +} + +#ifdef SQLITE_DEBUG +/* +** Validity checks on pMem. pMem holds a string. +** +** (1) Check that string value of pMem agrees with its integer or real value. +** (2) Check that the string is correctly zero terminated +** +** A single int or real value always converts to the same strings. But +** many different strings can be converted into the same int or real. +** If a table contains a numeric value and an index is based on the +** corresponding string value, then it is important that the string be +** derived from the numeric value, not the other way around, to ensure +** that the index and table are consistent. See ticket +** https://www.sqlite.org/src/info/343634942dd54ab (2018-01-31) for +** an example. +** +** This routine looks at pMem to verify that if it has both a numeric +** representation and a string representation then the string rep has +** been derived from the numeric and not the other way around. It returns +** true if everything is ok and false if there is a problem. +** +** This routine is for use inside of assert() statements only. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemValidStrRep(Mem *p){ + char zBuf[100]; + char *z; + int i, j, incr; + if( (p->flags & MEM_Str)==0 ) return 1; + if( p->flags & MEM_Term ){ + /* Insure that the string is properly zero-terminated. Pay particular + ** attention to the case where p->n is odd */ + if( p->szMalloc>0 && p->z==p->zMalloc ){ + assert( p->enc==SQLITE_UTF8 || p->szMalloc >= ((p->n+1)&~1)+2 ); + assert( p->enc!=SQLITE_UTF8 || p->szMalloc >= p->n+1 ); + } + assert( p->z[p->n]==0 ); + assert( p->enc==SQLITE_UTF8 || p->z[(p->n+1)&~1]==0 ); + assert( p->enc==SQLITE_UTF8 || p->z[((p->n+1)&~1)+1]==0 ); + } + if( (p->flags & (MEM_Int|MEM_Real|MEM_IntReal))==0 ) return 1; + vdbeMemRenderNum(sizeof(zBuf), zBuf, p); + z = p->z; + i = j = 0; + incr = 1; + if( p->enc!=SQLITE_UTF8 ){ + incr = 2; + if( p->enc==SQLITE_UTF16BE ) z++; + } + while( zBuf[j] ){ + if( zBuf[j++]!=z[i] ) return 0; + i += incr; + } + return 1; +} +#endif /* SQLITE_DEBUG */ + +/* +** If pMem is an object with a valid string representation, this routine +** ensures the internal encoding for the string representation is +** 'desiredEnc', one of SQLITE_UTF8, SQLITE_UTF16LE or SQLITE_UTF16BE. +** +** If pMem is not a string object, or the encoding of the string +** representation is already stored using the requested encoding, then this +** routine is a no-op. +** +** SQLITE_OK is returned if the conversion is successful (or not required). +** SQLITE_NOMEM may be returned if a malloc() fails during conversion +** between formats. +*/ +SQLITE_PRIVATE int sqlite3VdbeChangeEncoding(Mem *pMem, int desiredEnc){ +#ifndef SQLITE_OMIT_UTF16 + int rc; +#endif + assert( !sqlite3VdbeMemIsRowSet(pMem) ); + assert( desiredEnc==SQLITE_UTF8 || desiredEnc==SQLITE_UTF16LE + || desiredEnc==SQLITE_UTF16BE ); + if( !(pMem->flags&MEM_Str) || pMem->enc==desiredEnc ){ + return SQLITE_OK; + } + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); +#ifdef SQLITE_OMIT_UTF16 + return SQLITE_ERROR; +#else + + /* MemTranslate() may return SQLITE_OK or SQLITE_NOMEM. If NOMEM is returned, + ** then the encoding of the value may not have changed. + */ + rc = sqlite3VdbeMemTranslate(pMem, (u8)desiredEnc); + assert(rc==SQLITE_OK || rc==SQLITE_NOMEM); + assert(rc==SQLITE_OK || pMem->enc!=desiredEnc); + assert(rc==SQLITE_NOMEM || pMem->enc==desiredEnc); + return rc; +#endif +} + +/* +** Make sure pMem->z points to a writable allocation of at least n bytes. +** +** If the bPreserve argument is true, then copy of the content of +** pMem->z into the new allocation. pMem must be either a string or +** blob if bPreserve is true. If bPreserve is false, any prior content +** in pMem->z is discarded. +*/ +SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3VdbeMemGrow(Mem *pMem, int n, int bPreserve){ + assert( sqlite3VdbeCheckMemInvariants(pMem) ); + assert( !sqlite3VdbeMemIsRowSet(pMem) ); + testcase( pMem->db==0 ); + + /* If the bPreserve flag is set to true, then the memory cell must already + ** contain a valid string or blob value. */ + assert( bPreserve==0 || pMem->flags&(MEM_Blob|MEM_Str) ); + testcase( bPreserve && pMem->z==0 ); + + assert( pMem->szMalloc==0 + || pMem->szMalloc==sqlite3DbMallocSize(pMem->db, pMem->zMalloc) ); + if( pMem->szMalloc>0 && bPreserve && pMem->z==pMem->zMalloc ){ + if( pMem->db ){ + pMem->z = pMem->zMalloc = sqlite3DbReallocOrFree(pMem->db, pMem->z, n); + }else{ + pMem->zMalloc = sqlite3Realloc(pMem->z, n); + if( pMem->zMalloc==0 ) sqlite3_free(pMem->z); + pMem->z = pMem->zMalloc; + } + bPreserve = 0; + }else{ + if( pMem->szMalloc>0 ) sqlite3DbFreeNN(pMem->db, pMem->zMalloc); + pMem->zMalloc = sqlite3DbMallocRaw(pMem->db, n); + } + if( pMem->zMalloc==0 ){ + sqlite3VdbeMemSetNull(pMem); + pMem->z = 0; + pMem->szMalloc = 0; + return SQLITE_NOMEM_BKPT; + }else{ + pMem->szMalloc = sqlite3DbMallocSize(pMem->db, pMem->zMalloc); + } + + if( bPreserve && pMem->z ){ + assert( pMem->z!=pMem->zMalloc ); + memcpy(pMem->zMalloc, pMem->z, pMem->n); + } + if( (pMem->flags&MEM_Dyn)!=0 ){ + assert( pMem->xDel!=0 && pMem->xDel!=SQLITE_DYNAMIC ); + pMem->xDel((void *)(pMem->z)); + } + + pMem->z = pMem->zMalloc; + pMem->flags &= ~(MEM_Dyn|MEM_Ephem|MEM_Static); + return SQLITE_OK; +} + +/* +** Change the pMem->zMalloc allocation to be at least szNew bytes. +** If pMem->zMalloc already meets or exceeds the requested size, this +** routine is a no-op. +** +** Any prior string or blob content in the pMem object may be discarded. +** The pMem->xDel destructor is called, if it exists. Though MEM_Str +** and MEM_Blob values may be discarded, MEM_Int, MEM_Real, MEM_IntReal, +** and MEM_Null values are preserved. +** +** Return SQLITE_OK on success or an error code (probably SQLITE_NOMEM) +** if unable to complete the resizing. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemClearAndResize(Mem *pMem, int szNew){ + assert( CORRUPT_DB || szNew>0 ); + assert( (pMem->flags & MEM_Dyn)==0 || pMem->szMalloc==0 ); + if( pMem->szMallocflags & MEM_Dyn)==0 ); + pMem->z = pMem->zMalloc; + pMem->flags &= (MEM_Null|MEM_Int|MEM_Real|MEM_IntReal); + return SQLITE_OK; +} + +/* +** It is already known that pMem contains an unterminated string. +** Add the zero terminator. +** +** Three bytes of zero are added. In this way, there is guaranteed +** to be a double-zero byte at an even byte boundary in order to +** terminate a UTF16 string, even if the initial size of the buffer +** is an odd number of bytes. +*/ +static SQLITE_NOINLINE int vdbeMemAddTerminator(Mem *pMem){ + if( sqlite3VdbeMemGrow(pMem, pMem->n+3, 1) ){ + return SQLITE_NOMEM_BKPT; + } + pMem->z[pMem->n] = 0; + pMem->z[pMem->n+1] = 0; + pMem->z[pMem->n+2] = 0; + pMem->flags |= MEM_Term; + return SQLITE_OK; +} + +/* +** Change pMem so that its MEM_Str or MEM_Blob value is stored in +** MEM.zMalloc, where it can be safely written. +** +** Return SQLITE_OK on success or SQLITE_NOMEM if malloc fails. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemMakeWriteable(Mem *pMem){ + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + assert( !sqlite3VdbeMemIsRowSet(pMem) ); + if( (pMem->flags & (MEM_Str|MEM_Blob))!=0 ){ + if( ExpandBlob(pMem) ) return SQLITE_NOMEM; + if( pMem->szMalloc==0 || pMem->z!=pMem->zMalloc ){ + int rc = vdbeMemAddTerminator(pMem); + if( rc ) return rc; + } + } + pMem->flags &= ~MEM_Ephem; +#ifdef SQLITE_DEBUG + pMem->pScopyFrom = 0; +#endif + + return SQLITE_OK; +} + +/* +** If the given Mem* has a zero-filled tail, turn it into an ordinary +** blob stored in dynamically allocated space. +*/ +#ifndef SQLITE_OMIT_INCRBLOB +SQLITE_PRIVATE int sqlite3VdbeMemExpandBlob(Mem *pMem){ + int nByte; + assert( pMem->flags & MEM_Zero ); + assert( (pMem->flags&MEM_Blob)!=0 || MemNullNochng(pMem) ); + testcase( sqlite3_value_nochange(pMem) ); + assert( !sqlite3VdbeMemIsRowSet(pMem) ); + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + + /* Set nByte to the number of bytes required to store the expanded blob. */ + nByte = pMem->n + pMem->u.nZero; + if( nByte<=0 ){ + if( (pMem->flags & MEM_Blob)==0 ) return SQLITE_OK; + nByte = 1; + } + if( sqlite3VdbeMemGrow(pMem, nByte, 1) ){ + return SQLITE_NOMEM_BKPT; + } + + memset(&pMem->z[pMem->n], 0, pMem->u.nZero); + pMem->n += pMem->u.nZero; + pMem->flags &= ~(MEM_Zero|MEM_Term); + return SQLITE_OK; +} +#endif + +/* +** Make sure the given Mem is \u0000 terminated. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemNulTerminate(Mem *pMem){ + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + testcase( (pMem->flags & (MEM_Term|MEM_Str))==(MEM_Term|MEM_Str) ); + testcase( (pMem->flags & (MEM_Term|MEM_Str))==0 ); + if( (pMem->flags & (MEM_Term|MEM_Str))!=MEM_Str ){ + return SQLITE_OK; /* Nothing to do */ + }else{ + return vdbeMemAddTerminator(pMem); + } +} + +/* +** Add MEM_Str to the set of representations for the given Mem. This +** routine is only called if pMem is a number of some kind, not a NULL +** or a BLOB. +** +** Existing representations MEM_Int, MEM_Real, or MEM_IntReal are invalidated +** if bForce is true but are retained if bForce is false. +** +** A MEM_Null value will never be passed to this function. This function is +** used for converting values to text for returning to the user (i.e. via +** sqlite3_value_text()), or for ensuring that values to be used as btree +** keys are strings. In the former case a NULL pointer is returned the +** user and the latter is an internal programming error. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemStringify(Mem *pMem, u8 enc, u8 bForce){ + const int nByte = 32; + + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + assert( !(pMem->flags&MEM_Zero) ); + assert( !(pMem->flags&(MEM_Str|MEM_Blob)) ); + assert( pMem->flags&(MEM_Int|MEM_Real|MEM_IntReal) ); + assert( !sqlite3VdbeMemIsRowSet(pMem) ); + assert( EIGHT_BYTE_ALIGNMENT(pMem) ); + + + if( sqlite3VdbeMemClearAndResize(pMem, nByte) ){ + pMem->enc = 0; + return SQLITE_NOMEM_BKPT; + } + + vdbeMemRenderNum(nByte, pMem->z, pMem); + assert( pMem->z!=0 ); + pMem->n = sqlite3Strlen30NN(pMem->z); + pMem->enc = SQLITE_UTF8; + pMem->flags |= MEM_Str|MEM_Term; + if( bForce ) pMem->flags &= ~(MEM_Int|MEM_Real|MEM_IntReal); + sqlite3VdbeChangeEncoding(pMem, enc); + return SQLITE_OK; +} + +/* +** Memory cell pMem contains the context of an aggregate function. +** This routine calls the finalize method for that function. The +** result of the aggregate is stored back into pMem. +** +** Return SQLITE_ERROR if the finalizer reports an error. SQLITE_OK +** otherwise. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemFinalize(Mem *pMem, FuncDef *pFunc){ + sqlite3_context ctx; + Mem t; + assert( pFunc!=0 ); + assert( pFunc->xFinalize!=0 ); + assert( (pMem->flags & MEM_Null)!=0 || pFunc==pMem->u.pDef ); + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + memset(&ctx, 0, sizeof(ctx)); + memset(&t, 0, sizeof(t)); + t.flags = MEM_Null; + t.db = pMem->db; + ctx.pOut = &t; + ctx.pMem = pMem; + ctx.pFunc = pFunc; + pFunc->xFinalize(&ctx); /* IMP: R-24505-23230 */ + assert( (pMem->flags & MEM_Dyn)==0 ); + if( pMem->szMalloc>0 ) sqlite3DbFreeNN(pMem->db, pMem->zMalloc); + memcpy(pMem, &t, sizeof(t)); + return ctx.isError; +} + +/* +** Memory cell pAccum contains the context of an aggregate function. +** This routine calls the xValue method for that function and stores +** the results in memory cell pMem. +** +** SQLITE_ERROR is returned if xValue() reports an error. SQLITE_OK +** otherwise. +*/ +#ifndef SQLITE_OMIT_WINDOWFUNC +SQLITE_PRIVATE int sqlite3VdbeMemAggValue(Mem *pAccum, Mem *pOut, FuncDef *pFunc){ + sqlite3_context ctx; + Mem t; + assert( pFunc!=0 ); + assert( pFunc->xValue!=0 ); + assert( (pAccum->flags & MEM_Null)!=0 || pFunc==pAccum->u.pDef ); + assert( pAccum->db==0 || sqlite3_mutex_held(pAccum->db->mutex) ); + memset(&ctx, 0, sizeof(ctx)); + memset(&t, 0, sizeof(t)); + t.flags = MEM_Null; + t.db = pAccum->db; + sqlite3VdbeMemSetNull(pOut); + ctx.pOut = pOut; + ctx.pMem = pAccum; + ctx.pFunc = pFunc; + pFunc->xValue(&ctx); + return ctx.isError; +} +#endif /* SQLITE_OMIT_WINDOWFUNC */ + +/* +** If the memory cell contains a value that must be freed by +** invoking the external callback in Mem.xDel, then this routine +** will free that value. It also sets Mem.flags to MEM_Null. +** +** This is a helper routine for sqlite3VdbeMemSetNull() and +** for sqlite3VdbeMemRelease(). Use those other routines as the +** entry point for releasing Mem resources. +*/ +static SQLITE_NOINLINE void vdbeMemClearExternAndSetNull(Mem *p){ + assert( p->db==0 || sqlite3_mutex_held(p->db->mutex) ); + assert( VdbeMemDynamic(p) ); + if( p->flags&MEM_Agg ){ + sqlite3VdbeMemFinalize(p, p->u.pDef); + assert( (p->flags & MEM_Agg)==0 ); + testcase( p->flags & MEM_Dyn ); + } + if( p->flags&MEM_Dyn ){ + assert( p->xDel!=SQLITE_DYNAMIC && p->xDel!=0 ); + p->xDel((void *)p->z); + } + p->flags = MEM_Null; +} + +/* +** Release memory held by the Mem p, both external memory cleared +** by p->xDel and memory in p->zMalloc. +** +** This is a helper routine invoked by sqlite3VdbeMemRelease() in +** the unusual case where there really is memory in p that needs +** to be freed. +*/ +static SQLITE_NOINLINE void vdbeMemClear(Mem *p){ + if( VdbeMemDynamic(p) ){ + vdbeMemClearExternAndSetNull(p); + } + if( p->szMalloc ){ + sqlite3DbFreeNN(p->db, p->zMalloc); + p->szMalloc = 0; + } + p->z = 0; +} + +/* +** Release any memory resources held by the Mem. Both the memory that is +** free by Mem.xDel and the Mem.zMalloc allocation are freed. +** +** Use this routine prior to clean up prior to abandoning a Mem, or to +** reset a Mem back to its minimum memory utilization. +** +** Use sqlite3VdbeMemSetNull() to release just the Mem.xDel space +** prior to inserting new content into the Mem. +*/ +SQLITE_PRIVATE void sqlite3VdbeMemRelease(Mem *p){ + assert( sqlite3VdbeCheckMemInvariants(p) ); + if( VdbeMemDynamic(p) || p->szMalloc ){ + vdbeMemClear(p); + } +} + +/* +** Convert a 64-bit IEEE double into a 64-bit signed integer. +** If the double is out of range of a 64-bit signed integer then +** return the closest available 64-bit signed integer. +*/ +static SQLITE_NOINLINE i64 doubleToInt64(double r){ +#ifdef SQLITE_OMIT_FLOATING_POINT + /* When floating-point is omitted, double and int64 are the same thing */ + return r; +#else + /* + ** Many compilers we encounter do not define constants for the + ** minimum and maximum 64-bit integers, or they define them + ** inconsistently. And many do not understand the "LL" notation. + ** So we define our own static constants here using nothing + ** larger than a 32-bit integer constant. + */ + static const i64 maxInt = LARGEST_INT64; + static const i64 minInt = SMALLEST_INT64; + + if( r<=(double)minInt ){ + return minInt; + }else if( r>=(double)maxInt ){ + return maxInt; + }else{ + return (i64)r; + } +#endif +} + +/* +** Return some kind of integer value which is the best we can do +** at representing the value that *pMem describes as an integer. +** If pMem is an integer, then the value is exact. If pMem is +** a floating-point then the value returned is the integer part. +** If pMem is a string or blob, then we make an attempt to convert +** it into an integer and return that. If pMem represents an +** an SQL-NULL value, return 0. +** +** If pMem represents a string value, its encoding might be changed. +*/ +static SQLITE_NOINLINE i64 memIntValue(Mem *pMem){ + i64 value = 0; + sqlite3Atoi64(pMem->z, &value, pMem->n, pMem->enc); + return value; +} +SQLITE_PRIVATE i64 sqlite3VdbeIntValue(Mem *pMem){ + int flags; + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + assert( EIGHT_BYTE_ALIGNMENT(pMem) ); + flags = pMem->flags; + if( flags & (MEM_Int|MEM_IntReal) ){ + testcase( flags & MEM_IntReal ); + return pMem->u.i; + }else if( flags & MEM_Real ){ + return doubleToInt64(pMem->u.r); + }else if( flags & (MEM_Str|MEM_Blob) ){ + assert( pMem->z || pMem->n==0 ); + return memIntValue(pMem); + }else{ + return 0; + } +} + +/* +** Return the best representation of pMem that we can get into a +** double. If pMem is already a double or an integer, return its +** value. If it is a string or blob, try to convert it to a double. +** If it is a NULL, return 0.0. +*/ +static SQLITE_NOINLINE double memRealValue(Mem *pMem){ + /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */ + double val = (double)0; + sqlite3AtoF(pMem->z, &val, pMem->n, pMem->enc); + return val; +} +SQLITE_PRIVATE double sqlite3VdbeRealValue(Mem *pMem){ + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + assert( EIGHT_BYTE_ALIGNMENT(pMem) ); + if( pMem->flags & MEM_Real ){ + return pMem->u.r; + }else if( pMem->flags & (MEM_Int|MEM_IntReal) ){ + testcase( pMem->flags & MEM_IntReal ); + return (double)pMem->u.i; + }else if( pMem->flags & (MEM_Str|MEM_Blob) ){ + return memRealValue(pMem); + }else{ + /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */ + return (double)0; + } +} + +/* +** Return 1 if pMem represents true, and return 0 if pMem represents false. +** Return the value ifNull if pMem is NULL. +*/ +SQLITE_PRIVATE int sqlite3VdbeBooleanValue(Mem *pMem, int ifNull){ + testcase( pMem->flags & MEM_IntReal ); + if( pMem->flags & (MEM_Int|MEM_IntReal) ) return pMem->u.i!=0; + if( pMem->flags & MEM_Null ) return ifNull; + return sqlite3VdbeRealValue(pMem)!=0.0; +} + +/* +** The MEM structure is already a MEM_Real. Try to also make it a +** MEM_Int if we can. +*/ +SQLITE_PRIVATE void sqlite3VdbeIntegerAffinity(Mem *pMem){ + i64 ix; + assert( pMem->flags & MEM_Real ); + assert( !sqlite3VdbeMemIsRowSet(pMem) ); + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + assert( EIGHT_BYTE_ALIGNMENT(pMem) ); + + ix = doubleToInt64(pMem->u.r); + + /* Only mark the value as an integer if + ** + ** (1) the round-trip conversion real->int->real is a no-op, and + ** (2) The integer is neither the largest nor the smallest + ** possible integer (ticket #3922) + ** + ** The second and third terms in the following conditional enforces + ** the second condition under the assumption that addition overflow causes + ** values to wrap around. + */ + if( pMem->u.r==ix && ix>SMALLEST_INT64 && ixu.i = ix; + MemSetTypeFlag(pMem, MEM_Int); + } +} + +/* +** Convert pMem to type integer. Invalidate any prior representations. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemIntegerify(Mem *pMem){ + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + assert( !sqlite3VdbeMemIsRowSet(pMem) ); + assert( EIGHT_BYTE_ALIGNMENT(pMem) ); + + pMem->u.i = sqlite3VdbeIntValue(pMem); + MemSetTypeFlag(pMem, MEM_Int); + return SQLITE_OK; +} + +/* +** Convert pMem so that it is of type MEM_Real. +** Invalidate any prior representations. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemRealify(Mem *pMem){ + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + assert( EIGHT_BYTE_ALIGNMENT(pMem) ); + + pMem->u.r = sqlite3VdbeRealValue(pMem); + MemSetTypeFlag(pMem, MEM_Real); + return SQLITE_OK; +} + +/* Compare a floating point value to an integer. Return true if the two +** values are the same within the precision of the floating point value. +** +** This function assumes that i was obtained by assignment from r1. +** +** For some versions of GCC on 32-bit machines, if you do the more obvious +** comparison of "r1==(double)i" you sometimes get an answer of false even +** though the r1 and (double)i values are bit-for-bit the same. +*/ +SQLITE_PRIVATE int sqlite3RealSameAsInt(double r1, sqlite3_int64 i){ + double r2 = (double)i; + return r1==0.0 + || (memcmp(&r1, &r2, sizeof(r1))==0 + && i >= -2251799813685248LL && i < 2251799813685248LL); +} + +/* +** Convert pMem so that it has type MEM_Real or MEM_Int. +** Invalidate any prior representations. +** +** Every effort is made to force the conversion, even if the input +** is a string that does not look completely like a number. Convert +** as much of the string as we can and ignore the rest. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemNumerify(Mem *pMem){ + testcase( pMem->flags & MEM_Int ); + testcase( pMem->flags & MEM_Real ); + testcase( pMem->flags & MEM_IntReal ); + testcase( pMem->flags & MEM_Null ); + if( (pMem->flags & (MEM_Int|MEM_Real|MEM_IntReal|MEM_Null))==0 ){ + int rc; + sqlite3_int64 ix; + assert( (pMem->flags & (MEM_Blob|MEM_Str))!=0 ); + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + rc = sqlite3AtoF(pMem->z, &pMem->u.r, pMem->n, pMem->enc); + if( ((rc==0 || rc==1) && sqlite3Atoi64(pMem->z, &ix, pMem->n, pMem->enc)<=1) + || sqlite3RealSameAsInt(pMem->u.r, (ix = (i64)pMem->u.r)) + ){ + pMem->u.i = ix; + MemSetTypeFlag(pMem, MEM_Int); + }else{ + MemSetTypeFlag(pMem, MEM_Real); + } + } + assert( (pMem->flags & (MEM_Int|MEM_Real|MEM_IntReal|MEM_Null))!=0 ); + pMem->flags &= ~(MEM_Str|MEM_Blob|MEM_Zero); + return SQLITE_OK; +} + +/* +** Cast the datatype of the value in pMem according to the affinity +** "aff". Casting is different from applying affinity in that a cast +** is forced. In other words, the value is converted into the desired +** affinity even if that results in loss of data. This routine is +** used (for example) to implement the SQL "cast()" operator. +*/ +SQLITE_PRIVATE void sqlite3VdbeMemCast(Mem *pMem, u8 aff, u8 encoding){ + if( pMem->flags & MEM_Null ) return; + switch( aff ){ + case SQLITE_AFF_BLOB: { /* Really a cast to BLOB */ + if( (pMem->flags & MEM_Blob)==0 ){ + sqlite3ValueApplyAffinity(pMem, SQLITE_AFF_TEXT, encoding); + assert( pMem->flags & MEM_Str || pMem->db->mallocFailed ); + if( pMem->flags & MEM_Str ) MemSetTypeFlag(pMem, MEM_Blob); + }else{ + pMem->flags &= ~(MEM_TypeMask&~MEM_Blob); + } + break; + } + case SQLITE_AFF_NUMERIC: { + sqlite3VdbeMemNumerify(pMem); + break; + } + case SQLITE_AFF_INTEGER: { + sqlite3VdbeMemIntegerify(pMem); + break; + } + case SQLITE_AFF_REAL: { + sqlite3VdbeMemRealify(pMem); + break; + } + default: { + assert( aff==SQLITE_AFF_TEXT ); + assert( MEM_Str==(MEM_Blob>>3) ); + pMem->flags |= (pMem->flags&MEM_Blob)>>3; + sqlite3ValueApplyAffinity(pMem, SQLITE_AFF_TEXT, encoding); + assert( pMem->flags & MEM_Str || pMem->db->mallocFailed ); + pMem->flags &= ~(MEM_Int|MEM_Real|MEM_IntReal|MEM_Blob|MEM_Zero); + break; + } + } +} + +/* +** Initialize bulk memory to be a consistent Mem object. +** +** The minimum amount of initialization feasible is performed. +*/ +SQLITE_PRIVATE void sqlite3VdbeMemInit(Mem *pMem, sqlite3 *db, u16 flags){ + assert( (flags & ~MEM_TypeMask)==0 ); + pMem->flags = flags; + pMem->db = db; + pMem->szMalloc = 0; +} + + +/* +** Delete any previous value and set the value stored in *pMem to NULL. +** +** This routine calls the Mem.xDel destructor to dispose of values that +** require the destructor. But it preserves the Mem.zMalloc memory allocation. +** To free all resources, use sqlite3VdbeMemRelease(), which both calls this +** routine to invoke the destructor and deallocates Mem.zMalloc. +** +** Use this routine to reset the Mem prior to insert a new value. +** +** Use sqlite3VdbeMemRelease() to complete erase the Mem prior to abandoning it. +*/ +SQLITE_PRIVATE void sqlite3VdbeMemSetNull(Mem *pMem){ + if( VdbeMemDynamic(pMem) ){ + vdbeMemClearExternAndSetNull(pMem); + }else{ + pMem->flags = MEM_Null; + } +} +SQLITE_PRIVATE void sqlite3ValueSetNull(sqlite3_value *p){ + sqlite3VdbeMemSetNull((Mem*)p); +} + +/* +** Delete any previous value and set the value to be a BLOB of length +** n containing all zeros. +*/ +SQLITE_PRIVATE void sqlite3VdbeMemSetZeroBlob(Mem *pMem, int n){ + sqlite3VdbeMemRelease(pMem); + pMem->flags = MEM_Blob|MEM_Zero; + pMem->n = 0; + if( n<0 ) n = 0; + pMem->u.nZero = n; + pMem->enc = SQLITE_UTF8; + pMem->z = 0; +} + +/* +** The pMem is known to contain content that needs to be destroyed prior +** to a value change. So invoke the destructor, then set the value to +** a 64-bit integer. +*/ +static SQLITE_NOINLINE void vdbeReleaseAndSetInt64(Mem *pMem, i64 val){ + sqlite3VdbeMemSetNull(pMem); + pMem->u.i = val; + pMem->flags = MEM_Int; +} + +/* +** Delete any previous value and set the value stored in *pMem to val, +** manifest type INTEGER. +*/ +SQLITE_PRIVATE void sqlite3VdbeMemSetInt64(Mem *pMem, i64 val){ + if( VdbeMemDynamic(pMem) ){ + vdbeReleaseAndSetInt64(pMem, val); + }else{ + pMem->u.i = val; + pMem->flags = MEM_Int; + } +} + +/* A no-op destructor */ +SQLITE_PRIVATE void sqlite3NoopDestructor(void *p){ UNUSED_PARAMETER(p); } + +/* +** Set the value stored in *pMem should already be a NULL. +** Also store a pointer to go with it. +*/ +SQLITE_PRIVATE void sqlite3VdbeMemSetPointer( + Mem *pMem, + void *pPtr, + const char *zPType, + void (*xDestructor)(void*) +){ + assert( pMem->flags==MEM_Null ); + pMem->u.zPType = zPType ? zPType : ""; + pMem->z = pPtr; + pMem->flags = MEM_Null|MEM_Dyn|MEM_Subtype|MEM_Term; + pMem->eSubtype = 'p'; + pMem->xDel = xDestructor ? xDestructor : sqlite3NoopDestructor; +} + +#ifndef SQLITE_OMIT_FLOATING_POINT +/* +** Delete any previous value and set the value stored in *pMem to val, +** manifest type REAL. +*/ +SQLITE_PRIVATE void sqlite3VdbeMemSetDouble(Mem *pMem, double val){ + sqlite3VdbeMemSetNull(pMem); + if( !sqlite3IsNaN(val) ){ + pMem->u.r = val; + pMem->flags = MEM_Real; + } +} +#endif + +#ifdef SQLITE_DEBUG +/* +** Return true if the Mem holds a RowSet object. This routine is intended +** for use inside of assert() statements. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemIsRowSet(const Mem *pMem){ + return (pMem->flags&(MEM_Blob|MEM_Dyn))==(MEM_Blob|MEM_Dyn) + && pMem->xDel==sqlite3RowSetDelete; +} +#endif + +/* +** Delete any previous value and set the value of pMem to be an +** empty boolean index. +** +** Return SQLITE_OK on success and SQLITE_NOMEM if a memory allocation +** error occurs. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemSetRowSet(Mem *pMem){ + sqlite3 *db = pMem->db; + RowSet *p; + assert( db!=0 ); + assert( !sqlite3VdbeMemIsRowSet(pMem) ); + sqlite3VdbeMemRelease(pMem); + p = sqlite3RowSetInit(db); + if( p==0 ) return SQLITE_NOMEM; + pMem->z = (char*)p; + pMem->flags = MEM_Blob|MEM_Dyn; + pMem->xDel = sqlite3RowSetDelete; + return SQLITE_OK; +} + +/* +** Return true if the Mem object contains a TEXT or BLOB that is +** too large - whose size exceeds SQLITE_MAX_LENGTH. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemTooBig(Mem *p){ + assert( p->db!=0 ); + if( p->flags & (MEM_Str|MEM_Blob) ){ + int n = p->n; + if( p->flags & MEM_Zero ){ + n += p->u.nZero; + } + return n>p->db->aLimit[SQLITE_LIMIT_LENGTH]; + } + return 0; +} + +#ifdef SQLITE_DEBUG +/* +** This routine prepares a memory cell for modification by breaking +** its link to a shallow copy and by marking any current shallow +** copies of this cell as invalid. +** +** This is used for testing and debugging only - to make sure shallow +** copies are not misused. +*/ +SQLITE_PRIVATE void sqlite3VdbeMemAboutToChange(Vdbe *pVdbe, Mem *pMem){ + int i; + Mem *pX; + for(i=0, pX=pVdbe->aMem; inMem; i++, pX++){ + if( pX->pScopyFrom==pMem ){ + /* If pX is marked as a shallow copy of pMem, then verify that + ** no significant changes have been made to pX since the OP_SCopy. + ** A significant change would indicated a missed call to this + ** function for pX. Minor changes, such as adding or removing a + ** dual type, are allowed, as long as the underlying value is the + ** same. */ + u16 mFlags = pMem->flags & pX->flags & pX->mScopyFlags; + assert( (mFlags&(MEM_Int|MEM_IntReal))==0 || pMem->u.i==pX->u.i ); + assert( (mFlags&MEM_Real)==0 || pMem->u.r==pX->u.r ); + assert( (mFlags&MEM_Str)==0 || (pMem->n==pX->n && pMem->z==pX->z) ); + assert( (mFlags&MEM_Blob)==0 || sqlite3BlobCompare(pMem,pX)==0 ); + + /* pMem is the register that is changing. But also mark pX as + ** undefined so that we can quickly detect the shallow-copy error */ + pX->flags = MEM_Undefined; + pX->pScopyFrom = 0; + } + } + pMem->pScopyFrom = 0; +} +#endif /* SQLITE_DEBUG */ + + +/* +** Make an shallow copy of pFrom into pTo. Prior contents of +** pTo are freed. The pFrom->z field is not duplicated. If +** pFrom->z is used, then pTo->z points to the same thing as pFrom->z +** and flags gets srcType (either MEM_Ephem or MEM_Static). +*/ +static SQLITE_NOINLINE void vdbeClrCopy(Mem *pTo, const Mem *pFrom, int eType){ + vdbeMemClearExternAndSetNull(pTo); + assert( !VdbeMemDynamic(pTo) ); + sqlite3VdbeMemShallowCopy(pTo, pFrom, eType); +} +SQLITE_PRIVATE void sqlite3VdbeMemShallowCopy(Mem *pTo, const Mem *pFrom, int srcType){ + assert( !sqlite3VdbeMemIsRowSet(pFrom) ); + assert( pTo->db==pFrom->db ); + if( VdbeMemDynamic(pTo) ){ vdbeClrCopy(pTo,pFrom,srcType); return; } + memcpy(pTo, pFrom, MEMCELLSIZE); + if( (pFrom->flags&MEM_Static)==0 ){ + pTo->flags &= ~(MEM_Dyn|MEM_Static|MEM_Ephem); + assert( srcType==MEM_Ephem || srcType==MEM_Static ); + pTo->flags |= srcType; + } +} + +/* +** Make a full copy of pFrom into pTo. Prior contents of pTo are +** freed before the copy is made. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemCopy(Mem *pTo, const Mem *pFrom){ + int rc = SQLITE_OK; + + assert( !sqlite3VdbeMemIsRowSet(pFrom) ); + if( VdbeMemDynamic(pTo) ) vdbeMemClearExternAndSetNull(pTo); + memcpy(pTo, pFrom, MEMCELLSIZE); + pTo->flags &= ~MEM_Dyn; + if( pTo->flags&(MEM_Str|MEM_Blob) ){ + if( 0==(pFrom->flags&MEM_Static) ){ + pTo->flags |= MEM_Ephem; + rc = sqlite3VdbeMemMakeWriteable(pTo); + } + } + + return rc; +} + +/* +** Transfer the contents of pFrom to pTo. Any existing value in pTo is +** freed. If pFrom contains ephemeral data, a copy is made. +** +** pFrom contains an SQL NULL when this routine returns. +*/ +SQLITE_PRIVATE void sqlite3VdbeMemMove(Mem *pTo, Mem *pFrom){ + assert( pFrom->db==0 || sqlite3_mutex_held(pFrom->db->mutex) ); + assert( pTo->db==0 || sqlite3_mutex_held(pTo->db->mutex) ); + assert( pFrom->db==0 || pTo->db==0 || pFrom->db==pTo->db ); + + sqlite3VdbeMemRelease(pTo); + memcpy(pTo, pFrom, sizeof(Mem)); + pFrom->flags = MEM_Null; + pFrom->szMalloc = 0; +} + +/* +** Change the value of a Mem to be a string or a BLOB. +** +** The memory management strategy depends on the value of the xDel +** parameter. If the value passed is SQLITE_TRANSIENT, then the +** string is copied into a (possibly existing) buffer managed by the +** Mem structure. Otherwise, any existing buffer is freed and the +** pointer copied. +** +** If the string is too large (if it exceeds the SQLITE_LIMIT_LENGTH +** size limit) then no memory allocation occurs. If the string can be +** stored without allocating memory, then it is. If a memory allocation +** is required to store the string, then value of pMem is unchanged. In +** either case, SQLITE_TOOBIG is returned. +*/ +SQLITE_PRIVATE int sqlite3VdbeMemSetStr( + Mem *pMem, /* Memory cell to set to string value */ + const char *z, /* String pointer */ + int n, /* Bytes in string, or negative */ + u8 enc, /* Encoding of z. 0 for BLOBs */ + void (*xDel)(void*) /* Destructor function */ +){ + int nByte = n; /* New value for pMem->n */ + int iLimit; /* Maximum allowed string or blob size */ + u16 flags = 0; /* New value for pMem->flags */ + + assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); + assert( !sqlite3VdbeMemIsRowSet(pMem) ); + + /* If z is a NULL pointer, set pMem to contain an SQL NULL. */ + if( !z ){ + sqlite3VdbeMemSetNull(pMem); + return SQLITE_OK; + } + + if( pMem->db ){ + iLimit = pMem->db->aLimit[SQLITE_LIMIT_LENGTH]; + }else{ + iLimit = SQLITE_MAX_LENGTH; + } + flags = (enc==0?MEM_Blob:MEM_Str); + if( nByte<0 ){ + assert( enc!=0 ); + if( enc==SQLITE_UTF8 ){ + nByte = 0x7fffffff & (int)strlen(z); + }else{ + for(nByte=0; nByte<=iLimit && (z[nByte] | z[nByte+1]); nByte+=2){} + } + flags |= MEM_Term; + } + + /* The following block sets the new values of Mem.z and Mem.xDel. It + ** also sets a flag in local variable "flags" to indicate the memory + ** management (one of MEM_Dyn or MEM_Static). + */ + if( xDel==SQLITE_TRANSIENT ){ + u32 nAlloc = nByte; + if( flags&MEM_Term ){ + nAlloc += (enc==SQLITE_UTF8?1:2); + } + if( nByte>iLimit ){ + return sqlite3ErrorToParser(pMem->db, SQLITE_TOOBIG); + } + testcase( nAlloc==0 ); + testcase( nAlloc==31 ); + testcase( nAlloc==32 ); + if( sqlite3VdbeMemClearAndResize(pMem, (int)MAX(nAlloc,32)) ){ + return SQLITE_NOMEM_BKPT; + } + memcpy(pMem->z, z, nAlloc); + }else{ + sqlite3VdbeMemRelease(pMem); + pMem->z = (char *)z; + if( xDel==SQLITE_DYNAMIC ){ + pMem->zMalloc = pMem->z; + pMem->szMalloc = sqlite3DbMallocSize(pMem->db, pMem->zMalloc); + }else{ + pMem->xDel = xDel; + flags |= ((xDel==SQLITE_STATIC)?MEM_Static:MEM_Dyn); + } + } + + pMem->n = nByte; + pMem->flags = flags; + pMem->enc = (enc==0 ? SQLITE_UTF8 : enc); + +#ifndef SQLITE_OMIT_UTF16 + if( pMem->enc!=SQLITE_UTF8 && sqlite3VdbeMemHandleBom(pMem) ){ + return SQLITE_NOMEM_BKPT; + } +#endif + + if( nByte>iLimit ){ + return SQLITE_TOOBIG; + } + + return SQLITE_OK; +} + +/* +** Move data out of a btree key or data field and into a Mem structure. +** The data is payload from the entry that pCur is currently pointing +** to. offset and amt determine what portion of the data or key to retrieve. +** The result is written into the pMem element. +** +** The pMem object must have been initialized. This routine will use +** pMem->zMalloc to hold the content from the btree, if possible. New +** pMem->zMalloc space will be allocated if necessary. The calling routine +** is responsible for making sure that the pMem object is eventually +** destroyed. +** +** If this routine fails for any reason (malloc returns NULL or unable +** to read from the disk) then the pMem is left in an inconsistent state. +*/ +static SQLITE_NOINLINE int vdbeMemFromBtreeResize( + BtCursor *pCur, /* Cursor pointing at record to retrieve. */ + u32 offset, /* Offset from the start of data to return bytes from. */ + u32 amt, /* Number of bytes to return. */ + Mem *pMem /* OUT: Return data in this Mem structure. */ +){ + int rc; + pMem->flags = MEM_Null; + if( sqlite3BtreeMaxRecordSize(pCur)z); + if( rc==SQLITE_OK ){ + pMem->z[amt] = 0; /* Overrun area used when reading malformed records */ + pMem->flags = MEM_Blob; + pMem->n = (int)amt; + }else{ + sqlite3VdbeMemRelease(pMem); + } + } + return rc; +} +SQLITE_PRIVATE int sqlite3VdbeMemFromBtree( + BtCursor *pCur, /* Cursor pointing at record to retrieve. */ + u32 offset, /* Offset from the start of data to return bytes from. */ + u32 amt, /* Number of bytes to return. */ + Mem *pMem /* OUT: Return data in this Mem structure. */ +){ + char *zData; /* Data from the btree layer */ + u32 available = 0; /* Number of bytes available on the local btree page */ + int rc = SQLITE_OK; /* Return code */ + + assert( sqlite3BtreeCursorIsValid(pCur) ); + assert( !VdbeMemDynamic(pMem) ); + + /* Note: the calls to BtreeKeyFetch() and DataFetch() below assert() + ** that both the BtShared and database handle mutexes are held. */ + assert( !sqlite3VdbeMemIsRowSet(pMem) ); + zData = (char *)sqlite3BtreePayloadFetch(pCur, &available); + assert( zData!=0 ); + + if( offset+amt<=available ){ + pMem->z = &zData[offset]; + pMem->flags = MEM_Blob|MEM_Ephem; + pMem->n = (int)amt; + }else{ + rc = vdbeMemFromBtreeResize(pCur, offset, amt, pMem); + } + + return rc; +} + +/* +** The pVal argument is known to be a value other than NULL. +** Convert it into a string with encoding enc and return a pointer +** to a zero-terminated version of that string. +*/ +static SQLITE_NOINLINE const void *valueToText(sqlite3_value* pVal, u8 enc){ + assert( pVal!=0 ); + assert( pVal->db==0 || sqlite3_mutex_held(pVal->db->mutex) ); + assert( (enc&3)==(enc&~SQLITE_UTF16_ALIGNED) ); + assert( !sqlite3VdbeMemIsRowSet(pVal) ); + assert( (pVal->flags & (MEM_Null))==0 ); + if( pVal->flags & (MEM_Blob|MEM_Str) ){ + if( ExpandBlob(pVal) ) return 0; + pVal->flags |= MEM_Str; + if( pVal->enc != (enc & ~SQLITE_UTF16_ALIGNED) ){ + sqlite3VdbeChangeEncoding(pVal, enc & ~SQLITE_UTF16_ALIGNED); + } + if( (enc & SQLITE_UTF16_ALIGNED)!=0 && 1==(1&SQLITE_PTR_TO_INT(pVal->z)) ){ + assert( (pVal->flags & (MEM_Ephem|MEM_Static))!=0 ); + if( sqlite3VdbeMemMakeWriteable(pVal)!=SQLITE_OK ){ + return 0; + } + } + sqlite3VdbeMemNulTerminate(pVal); /* IMP: R-31275-44060 */ + }else{ + sqlite3VdbeMemStringify(pVal, enc, 0); + assert( 0==(1&SQLITE_PTR_TO_INT(pVal->z)) ); + } + assert(pVal->enc==(enc & ~SQLITE_UTF16_ALIGNED) || pVal->db==0 + || pVal->db->mallocFailed ); + if( pVal->enc==(enc & ~SQLITE_UTF16_ALIGNED) ){ + assert( sqlite3VdbeMemValidStrRep(pVal) ); + return pVal->z; + }else{ + return 0; + } +} + +/* This function is only available internally, it is not part of the +** external API. It works in a similar way to sqlite3_value_text(), +** except the data returned is in the encoding specified by the second +** parameter, which must be one of SQLITE_UTF16BE, SQLITE_UTF16LE or +** SQLITE_UTF8. +** +** (2006-02-16:) The enc value can be or-ed with SQLITE_UTF16_ALIGNED. +** If that is the case, then the result must be aligned on an even byte +** boundary. +*/ +SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3_value* pVal, u8 enc){ + if( !pVal ) return 0; + assert( pVal->db==0 || sqlite3_mutex_held(pVal->db->mutex) ); + assert( (enc&3)==(enc&~SQLITE_UTF16_ALIGNED) ); + assert( !sqlite3VdbeMemIsRowSet(pVal) ); + if( (pVal->flags&(MEM_Str|MEM_Term))==(MEM_Str|MEM_Term) && pVal->enc==enc ){ + assert( sqlite3VdbeMemValidStrRep(pVal) ); + return pVal->z; + } + if( pVal->flags&MEM_Null ){ + return 0; + } + return valueToText(pVal, enc); +} + +/* +** Create a new sqlite3_value object. +*/ +SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3 *db){ + Mem *p = sqlite3DbMallocZero(db, sizeof(*p)); + if( p ){ + p->flags = MEM_Null; + p->db = db; + } + return p; +} + +/* +** Context object passed by sqlite3Stat4ProbeSetValue() through to +** valueNew(). See comments above valueNew() for details. +*/ +struct ValueNewStat4Ctx { + Parse *pParse; + Index *pIdx; + UnpackedRecord **ppRec; + int iVal; +}; + +/* +** Allocate and return a pointer to a new sqlite3_value object. If +** the second argument to this function is NULL, the object is allocated +** by calling sqlite3ValueNew(). +** +** Otherwise, if the second argument is non-zero, then this function is +** being called indirectly by sqlite3Stat4ProbeSetValue(). If it has not +** already been allocated, allocate the UnpackedRecord structure that +** that function will return to its caller here. Then return a pointer to +** an sqlite3_value within the UnpackedRecord.a[] array. +*/ +static sqlite3_value *valueNew(sqlite3 *db, struct ValueNewStat4Ctx *p){ +#ifdef SQLITE_ENABLE_STAT4 + if( p ){ + UnpackedRecord *pRec = p->ppRec[0]; + + if( pRec==0 ){ + Index *pIdx = p->pIdx; /* Index being probed */ + int nByte; /* Bytes of space to allocate */ + int i; /* Counter variable */ + int nCol = pIdx->nColumn; /* Number of index columns including rowid */ + + nByte = sizeof(Mem) * nCol + ROUND8(sizeof(UnpackedRecord)); + pRec = (UnpackedRecord*)sqlite3DbMallocZero(db, nByte); + if( pRec ){ + pRec->pKeyInfo = sqlite3KeyInfoOfIndex(p->pParse, pIdx); + if( pRec->pKeyInfo ){ + assert( pRec->pKeyInfo->nAllField==nCol ); + assert( pRec->pKeyInfo->enc==ENC(db) ); + pRec->aMem = (Mem *)((u8*)pRec + ROUND8(sizeof(UnpackedRecord))); + for(i=0; iaMem[i].flags = MEM_Null; + pRec->aMem[i].db = db; + } + }else{ + sqlite3DbFreeNN(db, pRec); + pRec = 0; + } + } + if( pRec==0 ) return 0; + p->ppRec[0] = pRec; + } + + pRec->nField = p->iVal+1; + return &pRec->aMem[p->iVal]; + } +#else + UNUSED_PARAMETER(p); +#endif /* defined(SQLITE_ENABLE_STAT4) */ + return sqlite3ValueNew(db); +} + +/* +** The expression object indicated by the second argument is guaranteed +** to be a scalar SQL function. If +** +** * all function arguments are SQL literals, +** * one of the SQLITE_FUNC_CONSTANT or _SLOCHNG function flags is set, and +** * the SQLITE_FUNC_NEEDCOLL function flag is not set, +** +** then this routine attempts to invoke the SQL function. Assuming no +** error occurs, output parameter (*ppVal) is set to point to a value +** object containing the result before returning SQLITE_OK. +** +** Affinity aff is applied to the result of the function before returning. +** If the result is a text value, the sqlite3_value object uses encoding +** enc. +** +** If the conditions above are not met, this function returns SQLITE_OK +** and sets (*ppVal) to NULL. Or, if an error occurs, (*ppVal) is set to +** NULL and an SQLite error code returned. +*/ +#ifdef SQLITE_ENABLE_STAT4 +static int valueFromFunction( + sqlite3 *db, /* The database connection */ + Expr *p, /* The expression to evaluate */ + u8 enc, /* Encoding to use */ + u8 aff, /* Affinity to use */ + sqlite3_value **ppVal, /* Write the new value here */ + struct ValueNewStat4Ctx *pCtx /* Second argument for valueNew() */ +){ + sqlite3_context ctx; /* Context object for function invocation */ + sqlite3_value **apVal = 0; /* Function arguments */ + int nVal = 0; /* Size of apVal[] array */ + FuncDef *pFunc = 0; /* Function definition */ + sqlite3_value *pVal = 0; /* New value */ + int rc = SQLITE_OK; /* Return code */ + ExprList *pList = 0; /* Function arguments */ + int i; /* Iterator variable */ + + assert( pCtx!=0 ); + assert( (p->flags & EP_TokenOnly)==0 ); + pList = p->x.pList; + if( pList ) nVal = pList->nExpr; + pFunc = sqlite3FindFunction(db, p->u.zToken, nVal, enc, 0); + assert( pFunc ); + if( (pFunc->funcFlags & (SQLITE_FUNC_CONSTANT|SQLITE_FUNC_SLOCHNG))==0 + || (pFunc->funcFlags & SQLITE_FUNC_NEEDCOLL) + ){ + return SQLITE_OK; + } + + if( pList ){ + apVal = (sqlite3_value**)sqlite3DbMallocZero(db, sizeof(apVal[0]) * nVal); + if( apVal==0 ){ + rc = SQLITE_NOMEM_BKPT; + goto value_from_function_out; + } + for(i=0; ia[i].pExpr, enc, aff, &apVal[i]); + if( apVal[i]==0 || rc!=SQLITE_OK ) goto value_from_function_out; + } + } + + pVal = valueNew(db, pCtx); + if( pVal==0 ){ + rc = SQLITE_NOMEM_BKPT; + goto value_from_function_out; + } + + assert( pCtx->pParse->rc==SQLITE_OK ); + memset(&ctx, 0, sizeof(ctx)); + ctx.pOut = pVal; + ctx.pFunc = pFunc; + pFunc->xSFunc(&ctx, nVal, apVal); + if( ctx.isError ){ + rc = ctx.isError; + sqlite3ErrorMsg(pCtx->pParse, "%s", sqlite3_value_text(pVal)); + }else{ + sqlite3ValueApplyAffinity(pVal, aff, SQLITE_UTF8); + assert( rc==SQLITE_OK ); + rc = sqlite3VdbeChangeEncoding(pVal, enc); + if( rc==SQLITE_OK && sqlite3VdbeMemTooBig(pVal) ){ + rc = SQLITE_TOOBIG; + pCtx->pParse->nErr++; + } + } + pCtx->pParse->rc = rc; + + value_from_function_out: + if( rc!=SQLITE_OK ){ + pVal = 0; + } + if( apVal ){ + for(i=0; iop)==TK_UPLUS || op==TK_SPAN ) pExpr = pExpr->pLeft; +#if defined(SQLITE_ENABLE_STAT4) + if( op==TK_REGISTER ) op = pExpr->op2; +#else + if( NEVER(op==TK_REGISTER) ) op = pExpr->op2; +#endif + + /* Compressed expressions only appear when parsing the DEFAULT clause + ** on a table column definition, and hence only when pCtx==0. This + ** check ensures that an EP_TokenOnly expression is never passed down + ** into valueFromFunction(). */ + assert( (pExpr->flags & EP_TokenOnly)==0 || pCtx==0 ); + + if( op==TK_CAST ){ + u8 aff = sqlite3AffinityType(pExpr->u.zToken,0); + rc = valueFromExpr(db, pExpr->pLeft, enc, aff, ppVal, pCtx); + testcase( rc!=SQLITE_OK ); + if( *ppVal ){ + sqlite3VdbeMemCast(*ppVal, aff, SQLITE_UTF8); + sqlite3ValueApplyAffinity(*ppVal, affinity, SQLITE_UTF8); + } + return rc; + } + + /* Handle negative integers in a single step. This is needed in the + ** case when the value is -9223372036854775808. + */ + if( op==TK_UMINUS + && (pExpr->pLeft->op==TK_INTEGER || pExpr->pLeft->op==TK_FLOAT) ){ + pExpr = pExpr->pLeft; + op = pExpr->op; + negInt = -1; + zNeg = "-"; + } + + if( op==TK_STRING || op==TK_FLOAT || op==TK_INTEGER ){ + pVal = valueNew(db, pCtx); + if( pVal==0 ) goto no_mem; + if( ExprHasProperty(pExpr, EP_IntValue) ){ + sqlite3VdbeMemSetInt64(pVal, (i64)pExpr->u.iValue*negInt); + }else{ + zVal = sqlite3MPrintf(db, "%s%s", zNeg, pExpr->u.zToken); + if( zVal==0 ) goto no_mem; + sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC); + } + if( (op==TK_INTEGER || op==TK_FLOAT ) && affinity==SQLITE_AFF_BLOB ){ + sqlite3ValueApplyAffinity(pVal, SQLITE_AFF_NUMERIC, SQLITE_UTF8); + }else{ + sqlite3ValueApplyAffinity(pVal, affinity, SQLITE_UTF8); + } + assert( (pVal->flags & MEM_IntReal)==0 ); + if( pVal->flags & (MEM_Int|MEM_IntReal|MEM_Real) ){ + testcase( pVal->flags & MEM_Int ); + testcase( pVal->flags & MEM_Real ); + pVal->flags &= ~MEM_Str; + } + if( enc!=SQLITE_UTF8 ){ + rc = sqlite3VdbeChangeEncoding(pVal, enc); + } + }else if( op==TK_UMINUS ) { + /* This branch happens for multiple negative signs. Ex: -(-5) */ + if( SQLITE_OK==valueFromExpr(db,pExpr->pLeft,enc,affinity,&pVal,pCtx) + && pVal!=0 + ){ + sqlite3VdbeMemNumerify(pVal); + if( pVal->flags & MEM_Real ){ + pVal->u.r = -pVal->u.r; + }else if( pVal->u.i==SMALLEST_INT64 ){ + pVal->u.r = -(double)SMALLEST_INT64; + MemSetTypeFlag(pVal, MEM_Real); + }else{ + pVal->u.i = -pVal->u.i; + } + sqlite3ValueApplyAffinity(pVal, affinity, enc); + } + }else if( op==TK_NULL ){ + pVal = valueNew(db, pCtx); + if( pVal==0 ) goto no_mem; + sqlite3VdbeMemSetNull(pVal); + } +#ifndef SQLITE_OMIT_BLOB_LITERAL + else if( op==TK_BLOB ){ + int nVal; + assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' ); + assert( pExpr->u.zToken[1]=='\'' ); + pVal = valueNew(db, pCtx); + if( !pVal ) goto no_mem; + zVal = &pExpr->u.zToken[2]; + nVal = sqlite3Strlen30(zVal)-1; + assert( zVal[nVal]=='\'' ); + sqlite3VdbeMemSetStr(pVal, sqlite3HexToBlob(db, zVal, nVal), nVal/2, + 0, SQLITE_DYNAMIC); + } +#endif +#ifdef SQLITE_ENABLE_STAT4 + else if( op==TK_FUNCTION && pCtx!=0 ){ + rc = valueFromFunction(db, pExpr, enc, affinity, &pVal, pCtx); + } +#endif + else if( op==TK_TRUEFALSE ){ + pVal = valueNew(db, pCtx); + if( pVal ){ + pVal->flags = MEM_Int; + pVal->u.i = pExpr->u.zToken[4]==0; + } + } + + *ppVal = pVal; + return rc; + +no_mem: +#ifdef SQLITE_ENABLE_STAT4 + if( pCtx==0 || pCtx->pParse->nErr==0 ) +#endif + sqlite3OomFault(db); + sqlite3DbFree(db, zVal); + assert( *ppVal==0 ); +#ifdef SQLITE_ENABLE_STAT4 + if( pCtx==0 ) sqlite3ValueFree(pVal); +#else + assert( pCtx==0 ); sqlite3ValueFree(pVal); +#endif + return SQLITE_NOMEM_BKPT; +} + +/* +** Create a new sqlite3_value object, containing the value of pExpr. +** +** This only works for very simple expressions that consist of one constant +** token (i.e. "5", "5.1", "'a string'"). If the expression can +** be converted directly into a value, then the value is allocated and +** a pointer written to *ppVal. The caller is responsible for deallocating +** the value by passing it to sqlite3ValueFree() later on. If the expression +** cannot be converted to a value, then *ppVal is set to NULL. +*/ +SQLITE_PRIVATE int sqlite3ValueFromExpr( + sqlite3 *db, /* The database connection */ + Expr *pExpr, /* The expression to evaluate */ + u8 enc, /* Encoding to use */ + u8 affinity, /* Affinity to use */ + sqlite3_value **ppVal /* Write the new value here */ +){ + return pExpr ? valueFromExpr(db, pExpr, enc, affinity, ppVal, 0) : 0; +} + +#ifdef SQLITE_ENABLE_STAT4 +/* +** Attempt to extract a value from pExpr and use it to construct *ppVal. +** +** If pAlloc is not NULL, then an UnpackedRecord object is created for +** pAlloc if one does not exist and the new value is added to the +** UnpackedRecord object. +** +** A value is extracted in the following cases: +** +** * (pExpr==0). In this case the value is assumed to be an SQL NULL, +** +** * The expression is a bound variable, and this is a reprepare, or +** +** * The expression is a literal value. +** +** On success, *ppVal is made to point to the extracted value. The caller +** is responsible for ensuring that the value is eventually freed. +*/ +static int stat4ValueFromExpr( + Parse *pParse, /* Parse context */ + Expr *pExpr, /* The expression to extract a value from */ + u8 affinity, /* Affinity to use */ + struct ValueNewStat4Ctx *pAlloc,/* How to allocate space. Or NULL */ + sqlite3_value **ppVal /* OUT: New value object (or NULL) */ +){ + int rc = SQLITE_OK; + sqlite3_value *pVal = 0; + sqlite3 *db = pParse->db; + + /* Skip over any TK_COLLATE nodes */ + pExpr = sqlite3ExprSkipCollate(pExpr); + + assert( pExpr==0 || pExpr->op!=TK_REGISTER || pExpr->op2!=TK_VARIABLE ); + if( !pExpr ){ + pVal = valueNew(db, pAlloc); + if( pVal ){ + sqlite3VdbeMemSetNull((Mem*)pVal); + } + }else if( pExpr->op==TK_VARIABLE && (db->flags & SQLITE_EnableQPSG)==0 ){ + Vdbe *v; + int iBindVar = pExpr->iColumn; + sqlite3VdbeSetVarmask(pParse->pVdbe, iBindVar); + if( (v = pParse->pReprepare)!=0 ){ + pVal = valueNew(db, pAlloc); + if( pVal ){ + rc = sqlite3VdbeMemCopy((Mem*)pVal, &v->aVar[iBindVar-1]); + sqlite3ValueApplyAffinity(pVal, affinity, ENC(db)); + pVal->db = pParse->db; + } + } + }else{ + rc = valueFromExpr(db, pExpr, ENC(db), affinity, &pVal, pAlloc); + } + + assert( pVal==0 || pVal->db==db ); + *ppVal = pVal; + return rc; +} + +/* +** This function is used to allocate and populate UnpackedRecord +** structures intended to be compared against sample index keys stored +** in the sqlite_stat4 table. +** +** A single call to this function populates zero or more fields of the +** record starting with field iVal (fields are numbered from left to +** right starting with 0). A single field is populated if: +** +** * (pExpr==0). In this case the value is assumed to be an SQL NULL, +** +** * The expression is a bound variable, and this is a reprepare, or +** +** * The sqlite3ValueFromExpr() function is able to extract a value +** from the expression (i.e. the expression is a literal value). +** +** Or, if pExpr is a TK_VECTOR, one field is populated for each of the +** vector components that match either of the two latter criteria listed +** above. +** +** Before any value is appended to the record, the affinity of the +** corresponding column within index pIdx is applied to it. Before +** this function returns, output parameter *pnExtract is set to the +** number of values appended to the record. +** +** When this function is called, *ppRec must either point to an object +** allocated by an earlier call to this function, or must be NULL. If it +** is NULL and a value can be successfully extracted, a new UnpackedRecord +** is allocated (and *ppRec set to point to it) before returning. +** +** Unless an error is encountered, SQLITE_OK is returned. It is not an +** error if a value cannot be extracted from pExpr. If an error does +** occur, an SQLite error code is returned. +*/ +SQLITE_PRIVATE int sqlite3Stat4ProbeSetValue( + Parse *pParse, /* Parse context */ + Index *pIdx, /* Index being probed */ + UnpackedRecord **ppRec, /* IN/OUT: Probe record */ + Expr *pExpr, /* The expression to extract a value from */ + int nElem, /* Maximum number of values to append */ + int iVal, /* Array element to populate */ + int *pnExtract /* OUT: Values appended to the record */ +){ + int rc = SQLITE_OK; + int nExtract = 0; + + if( pExpr==0 || pExpr->op!=TK_SELECT ){ + int i; + struct ValueNewStat4Ctx alloc; + + alloc.pParse = pParse; + alloc.pIdx = pIdx; + alloc.ppRec = ppRec; + + for(i=0; idb, pIdx, iVal+i); + alloc.iVal = iVal+i; + rc = stat4ValueFromExpr(pParse, pElem, aff, &alloc, &pVal); + if( !pVal ) break; + nExtract++; + } + } + + *pnExtract = nExtract; + return rc; +} + +/* +** Attempt to extract a value from expression pExpr using the methods +** as described for sqlite3Stat4ProbeSetValue() above. +** +** If successful, set *ppVal to point to a new value object and return +** SQLITE_OK. If no value can be extracted, but no other error occurs +** (e.g. OOM), return SQLITE_OK and set *ppVal to NULL. Or, if an error +** does occur, return an SQLite error code. The final value of *ppVal +** is undefined in this case. +*/ +SQLITE_PRIVATE int sqlite3Stat4ValueFromExpr( + Parse *pParse, /* Parse context */ + Expr *pExpr, /* The expression to extract a value from */ + u8 affinity, /* Affinity to use */ + sqlite3_value **ppVal /* OUT: New value object (or NULL) */ +){ + return stat4ValueFromExpr(pParse, pExpr, affinity, 0, ppVal); +} + +/* +** Extract the iCol-th column from the nRec-byte record in pRec. Write +** the column value into *ppVal. If *ppVal is initially NULL then a new +** sqlite3_value object is allocated. +** +** If *ppVal is initially NULL then the caller is responsible for +** ensuring that the value written into *ppVal is eventually freed. +*/ +SQLITE_PRIVATE int sqlite3Stat4Column( + sqlite3 *db, /* Database handle */ + const void *pRec, /* Pointer to buffer containing record */ + int nRec, /* Size of buffer pRec in bytes */ + int iCol, /* Column to extract */ + sqlite3_value **ppVal /* OUT: Extracted value */ +){ + u32 t = 0; /* a column type code */ + int nHdr; /* Size of the header in the record */ + int iHdr; /* Next unread header byte */ + int iField; /* Next unread data byte */ + int szField = 0; /* Size of the current data field */ + int i; /* Column index */ + u8 *a = (u8*)pRec; /* Typecast byte array */ + Mem *pMem = *ppVal; /* Write result into this Mem object */ + + assert( iCol>0 ); + iHdr = getVarint32(a, nHdr); + if( nHdr>nRec || iHdr>=nHdr ) return SQLITE_CORRUPT_BKPT; + iField = nHdr; + for(i=0; i<=iCol; i++){ + iHdr += getVarint32(&a[iHdr], t); + testcase( iHdr==nHdr ); + testcase( iHdr==nHdr+1 ); + if( iHdr>nHdr ) return SQLITE_CORRUPT_BKPT; + szField = sqlite3VdbeSerialTypeLen(t); + iField += szField; + } + testcase( iField==nRec ); + testcase( iField==nRec+1 ); + if( iField>nRec ) return SQLITE_CORRUPT_BKPT; + if( pMem==0 ){ + pMem = *ppVal = sqlite3ValueNew(db); + if( pMem==0 ) return SQLITE_NOMEM_BKPT; + } + sqlite3VdbeSerialGet(&a[iField-szField], t, pMem); + pMem->enc = ENC(db); + return SQLITE_OK; +} + +/* +** Unless it is NULL, the argument must be an UnpackedRecord object returned +** by an earlier call to sqlite3Stat4ProbeSetValue(). This call deletes +** the object. +*/ +SQLITE_PRIVATE void sqlite3Stat4ProbeFree(UnpackedRecord *pRec){ + if( pRec ){ + int i; + int nCol = pRec->pKeyInfo->nAllField; + Mem *aMem = pRec->aMem; + sqlite3 *db = aMem[0].db; + for(i=0; ipKeyInfo); + sqlite3DbFreeNN(db, pRec); + } +} +#endif /* ifdef SQLITE_ENABLE_STAT4 */ + +/* +** Change the string value of an sqlite3_value object +*/ +SQLITE_PRIVATE void sqlite3ValueSetStr( + sqlite3_value *v, /* Value to be set */ + int n, /* Length of string z */ + const void *z, /* Text of the new string */ + u8 enc, /* Encoding to use */ + void (*xDel)(void*) /* Destructor for the string */ +){ + if( v ) sqlite3VdbeMemSetStr((Mem *)v, z, n, enc, xDel); +} + +/* +** Free an sqlite3_value object +*/ +SQLITE_PRIVATE void sqlite3ValueFree(sqlite3_value *v){ + if( !v ) return; + sqlite3VdbeMemRelease((Mem *)v); + sqlite3DbFreeNN(((Mem*)v)->db, v); +} + +/* +** The sqlite3ValueBytes() routine returns the number of bytes in the +** sqlite3_value object assuming that it uses the encoding "enc". +** The valueBytes() routine is a helper function. +*/ +static SQLITE_NOINLINE int valueBytes(sqlite3_value *pVal, u8 enc){ + return valueToText(pVal, enc)!=0 ? pVal->n : 0; +} +SQLITE_PRIVATE int sqlite3ValueBytes(sqlite3_value *pVal, u8 enc){ + Mem *p = (Mem*)pVal; + assert( (p->flags & MEM_Null)==0 || (p->flags & (MEM_Str|MEM_Blob))==0 ); + if( (p->flags & MEM_Str)!=0 && pVal->enc==enc ){ + return p->n; + } + if( (p->flags & MEM_Blob)!=0 ){ + if( p->flags & MEM_Zero ){ + return p->n + p->u.nZero; + }else{ + return p->n; + } + } + if( p->flags & MEM_Null ) return 0; + return valueBytes(pVal, enc); +} + +/************** End of vdbemem.c *********************************************/ +/************** Begin file vdbeaux.c *****************************************/ +/* +** 2003 September 6 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains code used for creating, destroying, and populating +** a VDBE (or an "sqlite3_stmt" as it is known to the outside world.) +*/ +/* #include "sqliteInt.h" */ +/* #include "vdbeInt.h" */ + +/* +** Create a new virtual database engine. +*/ +SQLITE_PRIVATE Vdbe *sqlite3VdbeCreate(Parse *pParse){ + sqlite3 *db = pParse->db; + Vdbe *p; + p = sqlite3DbMallocRawNN(db, sizeof(Vdbe) ); + if( p==0 ) return 0; + memset(&p->aOp, 0, sizeof(Vdbe)-offsetof(Vdbe,aOp)); + p->db = db; + if( db->pVdbe ){ + db->pVdbe->pPrev = p; + } + p->pNext = db->pVdbe; + p->pPrev = 0; + db->pVdbe = p; + p->magic = VDBE_MAGIC_INIT; + p->pParse = pParse; + pParse->pVdbe = p; + assert( pParse->aLabel==0 ); + assert( pParse->nLabel==0 ); + assert( p->nOpAlloc==0 ); + assert( pParse->szOpAlloc==0 ); + sqlite3VdbeAddOp2(p, OP_Init, 0, 1); + return p; +} + +/* +** Change the error string stored in Vdbe.zErrMsg +*/ +SQLITE_PRIVATE void sqlite3VdbeError(Vdbe *p, const char *zFormat, ...){ + va_list ap; + sqlite3DbFree(p->db, p->zErrMsg); + va_start(ap, zFormat); + p->zErrMsg = sqlite3VMPrintf(p->db, zFormat, ap); + va_end(ap); +} + +/* +** Remember the SQL string for a prepared statement. +*/ +SQLITE_PRIVATE void sqlite3VdbeSetSql(Vdbe *p, const char *z, int n, u8 prepFlags){ + if( p==0 ) return; + p->prepFlags = prepFlags; + if( (prepFlags & SQLITE_PREPARE_SAVESQL)==0 ){ + p->expmask = 0; + } + assert( p->zSql==0 ); + p->zSql = sqlite3DbStrNDup(p->db, z, n); +} + +#ifdef SQLITE_ENABLE_NORMALIZE +/* +** Add a new element to the Vdbe->pDblStr list. +*/ +SQLITE_PRIVATE void sqlite3VdbeAddDblquoteStr(sqlite3 *db, Vdbe *p, const char *z){ + if( p ){ + int n = sqlite3Strlen30(z); + DblquoteStr *pStr = sqlite3DbMallocRawNN(db, + sizeof(*pStr)+n+1-sizeof(pStr->z)); + if( pStr ){ + pStr->pNextStr = p->pDblStr; + p->pDblStr = pStr; + memcpy(pStr->z, z, n+1); + } + } +} +#endif + +#ifdef SQLITE_ENABLE_NORMALIZE +/* +** zId of length nId is a double-quoted identifier. Check to see if +** that identifier is really used as a string literal. +*/ +SQLITE_PRIVATE int sqlite3VdbeUsesDoubleQuotedString( + Vdbe *pVdbe, /* The prepared statement */ + const char *zId /* The double-quoted identifier, already dequoted */ +){ + DblquoteStr *pStr; + assert( zId!=0 ); + if( pVdbe->pDblStr==0 ) return 0; + for(pStr=pVdbe->pDblStr; pStr; pStr=pStr->pNextStr){ + if( strcmp(zId, pStr->z)==0 ) return 1; + } + return 0; +} +#endif + +/* +** Swap all content between two VDBE structures. +*/ +SQLITE_PRIVATE void sqlite3VdbeSwap(Vdbe *pA, Vdbe *pB){ + Vdbe tmp, *pTmp; + char *zTmp; + assert( pA->db==pB->db ); + tmp = *pA; + *pA = *pB; + *pB = tmp; + pTmp = pA->pNext; + pA->pNext = pB->pNext; + pB->pNext = pTmp; + pTmp = pA->pPrev; + pA->pPrev = pB->pPrev; + pB->pPrev = pTmp; + zTmp = pA->zSql; + pA->zSql = pB->zSql; + pB->zSql = zTmp; +#if 0 + zTmp = pA->zNormSql; + pA->zNormSql = pB->zNormSql; + pB->zNormSql = zTmp; +#endif + pB->expmask = pA->expmask; + pB->prepFlags = pA->prepFlags; + memcpy(pB->aCounter, pA->aCounter, sizeof(pB->aCounter)); + pB->aCounter[SQLITE_STMTSTATUS_REPREPARE]++; +} + +/* +** Resize the Vdbe.aOp array so that it is at least nOp elements larger +** than its current size. nOp is guaranteed to be less than or equal +** to 1024/sizeof(Op). +** +** If an out-of-memory error occurs while resizing the array, return +** SQLITE_NOMEM. In this case Vdbe.aOp and Vdbe.nOpAlloc remain +** unchanged (this is so that any opcodes already allocated can be +** correctly deallocated along with the rest of the Vdbe). +*/ +static int growOpArray(Vdbe *v, int nOp){ + VdbeOp *pNew; + Parse *p = v->pParse; + + /* The SQLITE_TEST_REALLOC_STRESS compile-time option is designed to force + ** more frequent reallocs and hence provide more opportunities for + ** simulated OOM faults. SQLITE_TEST_REALLOC_STRESS is generally used + ** during testing only. With SQLITE_TEST_REALLOC_STRESS grow the op array + ** by the minimum* amount required until the size reaches 512. Normal + ** operation (without SQLITE_TEST_REALLOC_STRESS) is to double the current + ** size of the op array or add 1KB of space, whichever is smaller. */ +#ifdef SQLITE_TEST_REALLOC_STRESS + sqlite3_int64 nNew = (v->nOpAlloc>=512 ? 2*(sqlite3_int64)v->nOpAlloc + : (sqlite3_int64)v->nOpAlloc+nOp); +#else + sqlite3_int64 nNew = (v->nOpAlloc ? 2*(sqlite3_int64)v->nOpAlloc + : (sqlite3_int64)(1024/sizeof(Op))); + UNUSED_PARAMETER(nOp); +#endif + + /* Ensure that the size of a VDBE does not grow too large */ + if( nNew > p->db->aLimit[SQLITE_LIMIT_VDBE_OP] ){ + sqlite3OomFault(p->db); + return SQLITE_NOMEM; + } + + assert( nOp<=(1024/sizeof(Op)) ); + assert( nNew>=(v->nOpAlloc+nOp) ); + pNew = sqlite3DbRealloc(p->db, v->aOp, nNew*sizeof(Op)); + if( pNew ){ + p->szOpAlloc = sqlite3DbMallocSize(p->db, pNew); + v->nOpAlloc = p->szOpAlloc/sizeof(Op); + v->aOp = pNew; + } + return (pNew ? SQLITE_OK : SQLITE_NOMEM_BKPT); +} + +#ifdef SQLITE_DEBUG +/* This routine is just a convenient place to set a breakpoint that will +** fire after each opcode is inserted and displayed using +** "PRAGMA vdbe_addoptrace=on". +*/ +static void test_addop_breakpoint(void){ + static int n = 0; + n++; +} +#endif + +/* +** Add a new instruction to the list of instructions current in the +** VDBE. Return the address of the new instruction. +** +** Parameters: +** +** p Pointer to the VDBE +** +** op The opcode for this instruction +** +** p1, p2, p3 Operands +** +** Use the sqlite3VdbeResolveLabel() function to fix an address and +** the sqlite3VdbeChangeP4() function to change the value of the P4 +** operand. +*/ +static SQLITE_NOINLINE int growOp3(Vdbe *p, int op, int p1, int p2, int p3){ + assert( p->nOpAlloc<=p->nOp ); + if( growOpArray(p, 1) ) return 1; + assert( p->nOpAlloc>p->nOp ); + return sqlite3VdbeAddOp3(p, op, p1, p2, p3); +} +SQLITE_PRIVATE int sqlite3VdbeAddOp3(Vdbe *p, int op, int p1, int p2, int p3){ + int i; + VdbeOp *pOp; + + i = p->nOp; + assert( p->magic==VDBE_MAGIC_INIT ); + assert( op>=0 && op<0xff ); + if( p->nOpAlloc<=i ){ + return growOp3(p, op, p1, p2, p3); + } + p->nOp++; + pOp = &p->aOp[i]; + pOp->opcode = (u8)op; + pOp->p5 = 0; + pOp->p1 = p1; + pOp->p2 = p2; + pOp->p3 = p3; + pOp->p4.p = 0; + pOp->p4type = P4_NOTUSED; +#ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS + pOp->zComment = 0; +#endif +#ifdef SQLITE_DEBUG + if( p->db->flags & SQLITE_VdbeAddopTrace ){ + sqlite3VdbePrintOp(0, i, &p->aOp[i]); + test_addop_breakpoint(); + } +#endif +#ifdef VDBE_PROFILE + pOp->cycles = 0; + pOp->cnt = 0; +#endif +#ifdef SQLITE_VDBE_COVERAGE + pOp->iSrcLine = 0; +#endif + return i; +} +SQLITE_PRIVATE int sqlite3VdbeAddOp0(Vdbe *p, int op){ + return sqlite3VdbeAddOp3(p, op, 0, 0, 0); +} +SQLITE_PRIVATE int sqlite3VdbeAddOp1(Vdbe *p, int op, int p1){ + return sqlite3VdbeAddOp3(p, op, p1, 0, 0); +} +SQLITE_PRIVATE int sqlite3VdbeAddOp2(Vdbe *p, int op, int p1, int p2){ + return sqlite3VdbeAddOp3(p, op, p1, p2, 0); +} + +/* Generate code for an unconditional jump to instruction iDest +*/ +SQLITE_PRIVATE int sqlite3VdbeGoto(Vdbe *p, int iDest){ + return sqlite3VdbeAddOp3(p, OP_Goto, 0, iDest, 0); +} + +/* Generate code to cause the string zStr to be loaded into +** register iDest +*/ +SQLITE_PRIVATE int sqlite3VdbeLoadString(Vdbe *p, int iDest, const char *zStr){ + return sqlite3VdbeAddOp4(p, OP_String8, 0, iDest, 0, zStr, 0); +} + +/* +** Generate code that initializes multiple registers to string or integer +** constants. The registers begin with iDest and increase consecutively. +** One register is initialized for each characgter in zTypes[]. For each +** "s" character in zTypes[], the register is a string if the argument is +** not NULL, or OP_Null if the value is a null pointer. For each "i" character +** in zTypes[], the register is initialized to an integer. +** +** If the input string does not end with "X" then an OP_ResultRow instruction +** is generated for the values inserted. +*/ +SQLITE_PRIVATE void sqlite3VdbeMultiLoad(Vdbe *p, int iDest, const char *zTypes, ...){ + va_list ap; + int i; + char c; + va_start(ap, zTypes); + for(i=0; (c = zTypes[i])!=0; i++){ + if( c=='s' ){ + const char *z = va_arg(ap, const char*); + sqlite3VdbeAddOp4(p, z==0 ? OP_Null : OP_String8, 0, iDest+i, 0, z, 0); + }else if( c=='i' ){ + sqlite3VdbeAddOp2(p, OP_Integer, va_arg(ap, int), iDest+i); + }else{ + goto skip_op_resultrow; + } + } + sqlite3VdbeAddOp2(p, OP_ResultRow, iDest, i); +skip_op_resultrow: + va_end(ap); +} + +/* +** Add an opcode that includes the p4 value as a pointer. +*/ +SQLITE_PRIVATE int sqlite3VdbeAddOp4( + Vdbe *p, /* Add the opcode to this VM */ + int op, /* The new opcode */ + int p1, /* The P1 operand */ + int p2, /* The P2 operand */ + int p3, /* The P3 operand */ + const char *zP4, /* The P4 operand */ + int p4type /* P4 operand type */ +){ + int addr = sqlite3VdbeAddOp3(p, op, p1, p2, p3); + sqlite3VdbeChangeP4(p, addr, zP4, p4type); + return addr; +} + +/* +** Add an opcode that includes the p4 value with a P4_INT64 or +** P4_REAL type. +*/ +SQLITE_PRIVATE int sqlite3VdbeAddOp4Dup8( + Vdbe *p, /* Add the opcode to this VM */ + int op, /* The new opcode */ + int p1, /* The P1 operand */ + int p2, /* The P2 operand */ + int p3, /* The P3 operand */ + const u8 *zP4, /* The P4 operand */ + int p4type /* P4 operand type */ +){ + char *p4copy = sqlite3DbMallocRawNN(sqlite3VdbeDb(p), 8); + if( p4copy ) memcpy(p4copy, zP4, 8); + return sqlite3VdbeAddOp4(p, op, p1, p2, p3, p4copy, p4type); +} + +#ifndef SQLITE_OMIT_EXPLAIN +/* +** Return the address of the current EXPLAIN QUERY PLAN baseline. +** 0 means "none". +*/ +SQLITE_PRIVATE int sqlite3VdbeExplainParent(Parse *pParse){ + VdbeOp *pOp; + if( pParse->addrExplain==0 ) return 0; + pOp = sqlite3VdbeGetOp(pParse->pVdbe, pParse->addrExplain); + return pOp->p2; +} + +/* +** Set a debugger breakpoint on the following routine in order to +** monitor the EXPLAIN QUERY PLAN code generation. +*/ +#if defined(SQLITE_DEBUG) +SQLITE_PRIVATE void sqlite3ExplainBreakpoint(const char *z1, const char *z2){ + (void)z1; + (void)z2; +} +#endif + +/* +** Add a new OP_ opcode. +** +** If the bPush flag is true, then make this opcode the parent for +** subsequent Explains until sqlite3VdbeExplainPop() is called. +*/ +SQLITE_PRIVATE void sqlite3VdbeExplain(Parse *pParse, u8 bPush, const char *zFmt, ...){ +#ifndef SQLITE_DEBUG + /* Always include the OP_Explain opcodes if SQLITE_DEBUG is defined. + ** But omit them (for performance) during production builds */ + if( pParse->explain==2 ) +#endif + { + char *zMsg; + Vdbe *v; + va_list ap; + int iThis; + va_start(ap, zFmt); + zMsg = sqlite3VMPrintf(pParse->db, zFmt, ap); + va_end(ap); + v = pParse->pVdbe; + iThis = v->nOp; + sqlite3VdbeAddOp4(v, OP_Explain, iThis, pParse->addrExplain, 0, + zMsg, P4_DYNAMIC); + sqlite3ExplainBreakpoint(bPush?"PUSH":"", sqlite3VdbeGetOp(v,-1)->p4.z); + if( bPush){ + pParse->addrExplain = iThis; + } + } +} + +/* +** Pop the EXPLAIN QUERY PLAN stack one level. +*/ +SQLITE_PRIVATE void sqlite3VdbeExplainPop(Parse *pParse){ + sqlite3ExplainBreakpoint("POP", 0); + pParse->addrExplain = sqlite3VdbeExplainParent(pParse); +} +#endif /* SQLITE_OMIT_EXPLAIN */ + +/* +** Add an OP_ParseSchema opcode. This routine is broken out from +** sqlite3VdbeAddOp4() since it needs to also needs to mark all btrees +** as having been used. +** +** The zWhere string must have been obtained from sqlite3_malloc(). +** This routine will take ownership of the allocated memory. +*/ +SQLITE_PRIVATE void sqlite3VdbeAddParseSchemaOp(Vdbe *p, int iDb, char *zWhere){ + int j; + sqlite3VdbeAddOp4(p, OP_ParseSchema, iDb, 0, 0, zWhere, P4_DYNAMIC); + for(j=0; jdb->nDb; j++) sqlite3VdbeUsesBtree(p, j); +} + +/* +** Add an opcode that includes the p4 value as an integer. +*/ +SQLITE_PRIVATE int sqlite3VdbeAddOp4Int( + Vdbe *p, /* Add the opcode to this VM */ + int op, /* The new opcode */ + int p1, /* The P1 operand */ + int p2, /* The P2 operand */ + int p3, /* The P3 operand */ + int p4 /* The P4 operand as an integer */ +){ + int addr = sqlite3VdbeAddOp3(p, op, p1, p2, p3); + if( p->db->mallocFailed==0 ){ + VdbeOp *pOp = &p->aOp[addr]; + pOp->p4type = P4_INT32; + pOp->p4.i = p4; + } + return addr; +} + +/* Insert the end of a co-routine +*/ +SQLITE_PRIVATE void sqlite3VdbeEndCoroutine(Vdbe *v, int regYield){ + sqlite3VdbeAddOp1(v, OP_EndCoroutine, regYield); + + /* Clear the temporary register cache, thereby ensuring that each + ** co-routine has its own independent set of registers, because co-routines + ** might expect their registers to be preserved across an OP_Yield, and + ** that could cause problems if two or more co-routines are using the same + ** temporary register. + */ + v->pParse->nTempReg = 0; + v->pParse->nRangeReg = 0; +} + +/* +** Create a new symbolic label for an instruction that has yet to be +** coded. The symbolic label is really just a negative number. The +** label can be used as the P2 value of an operation. Later, when +** the label is resolved to a specific address, the VDBE will scan +** through its operation list and change all values of P2 which match +** the label into the resolved address. +** +** The VDBE knows that a P2 value is a label because labels are +** always negative and P2 values are suppose to be non-negative. +** Hence, a negative P2 value is a label that has yet to be resolved. +** (Later:) This is only true for opcodes that have the OPFLG_JUMP +** property. +** +** Variable usage notes: +** +** Parse.aLabel[x] Stores the address that the x-th label resolves +** into. For testing (SQLITE_DEBUG), unresolved +** labels stores -1, but that is not required. +** Parse.nLabelAlloc Number of slots allocated to Parse.aLabel[] +** Parse.nLabel The *negative* of the number of labels that have +** been issued. The negative is stored because +** that gives a performance improvement over storing +** the equivalent positive value. +*/ +SQLITE_PRIVATE int sqlite3VdbeMakeLabel(Parse *pParse){ + return --pParse->nLabel; +} + +/* +** Resolve label "x" to be the address of the next instruction to +** be inserted. The parameter "x" must have been obtained from +** a prior call to sqlite3VdbeMakeLabel(). +*/ +static SQLITE_NOINLINE void resizeResolveLabel(Parse *p, Vdbe *v, int j){ + int nNewSize = 10 - p->nLabel; + p->aLabel = sqlite3DbReallocOrFree(p->db, p->aLabel, + nNewSize*sizeof(p->aLabel[0])); + if( p->aLabel==0 ){ + p->nLabelAlloc = 0; + }else{ +#ifdef SQLITE_DEBUG + int i; + for(i=p->nLabelAlloc; iaLabel[i] = -1; +#endif + p->nLabelAlloc = nNewSize; + p->aLabel[j] = v->nOp; + } +} +SQLITE_PRIVATE void sqlite3VdbeResolveLabel(Vdbe *v, int x){ + Parse *p = v->pParse; + int j = ADDR(x); + assert( v->magic==VDBE_MAGIC_INIT ); + assert( j<-p->nLabel ); + assert( j>=0 ); +#ifdef SQLITE_DEBUG + if( p->db->flags & SQLITE_VdbeAddopTrace ){ + printf("RESOLVE LABEL %d to %d\n", x, v->nOp); + } +#endif + if( p->nLabelAlloc + p->nLabel < 0 ){ + resizeResolveLabel(p,v,j); + }else{ + assert( p->aLabel[j]==(-1) ); /* Labels may only be resolved once */ + p->aLabel[j] = v->nOp; + } +} + +/* +** Mark the VDBE as one that can only be run one time. +*/ +SQLITE_PRIVATE void sqlite3VdbeRunOnlyOnce(Vdbe *p){ + p->runOnlyOnce = 1; +} + +/* +** Mark the VDBE as one that can only be run multiple times. +*/ +SQLITE_PRIVATE void sqlite3VdbeReusable(Vdbe *p){ + p->runOnlyOnce = 0; +} + +#ifdef SQLITE_DEBUG /* sqlite3AssertMayAbort() logic */ + +/* +** The following type and function are used to iterate through all opcodes +** in a Vdbe main program and each of the sub-programs (triggers) it may +** invoke directly or indirectly. It should be used as follows: +** +** Op *pOp; +** VdbeOpIter sIter; +** +** memset(&sIter, 0, sizeof(sIter)); +** sIter.v = v; // v is of type Vdbe* +** while( (pOp = opIterNext(&sIter)) ){ +** // Do something with pOp +** } +** sqlite3DbFree(v->db, sIter.apSub); +** +*/ +typedef struct VdbeOpIter VdbeOpIter; +struct VdbeOpIter { + Vdbe *v; /* Vdbe to iterate through the opcodes of */ + SubProgram **apSub; /* Array of subprograms */ + int nSub; /* Number of entries in apSub */ + int iAddr; /* Address of next instruction to return */ + int iSub; /* 0 = main program, 1 = first sub-program etc. */ +}; +static Op *opIterNext(VdbeOpIter *p){ + Vdbe *v = p->v; + Op *pRet = 0; + Op *aOp; + int nOp; + + if( p->iSub<=p->nSub ){ + + if( p->iSub==0 ){ + aOp = v->aOp; + nOp = v->nOp; + }else{ + aOp = p->apSub[p->iSub-1]->aOp; + nOp = p->apSub[p->iSub-1]->nOp; + } + assert( p->iAddriAddr]; + p->iAddr++; + if( p->iAddr==nOp ){ + p->iSub++; + p->iAddr = 0; + } + + if( pRet->p4type==P4_SUBPROGRAM ){ + int nByte = (p->nSub+1)*sizeof(SubProgram*); + int j; + for(j=0; jnSub; j++){ + if( p->apSub[j]==pRet->p4.pProgram ) break; + } + if( j==p->nSub ){ + p->apSub = sqlite3DbReallocOrFree(v->db, p->apSub, nByte); + if( !p->apSub ){ + pRet = 0; + }else{ + p->apSub[p->nSub++] = pRet->p4.pProgram; + } + } + } + } + + return pRet; +} + +/* +** Check if the program stored in the VM associated with pParse may +** throw an ABORT exception (causing the statement, but not entire transaction +** to be rolled back). This condition is true if the main program or any +** sub-programs contains any of the following: +** +** * OP_Halt with P1=SQLITE_CONSTRAINT and P2=OE_Abort. +** * OP_HaltIfNull with P1=SQLITE_CONSTRAINT and P2=OE_Abort. +** * OP_Destroy +** * OP_VUpdate +** * OP_VRename +** * OP_FkCounter with P2==0 (immediate foreign key constraint) +** * OP_CreateBtree/BTREE_INTKEY and OP_InitCoroutine +** (for CREATE TABLE AS SELECT ...) +** +** Then check that the value of Parse.mayAbort is true if an +** ABORT may be thrown, or false otherwise. Return true if it does +** match, or false otherwise. This function is intended to be used as +** part of an assert statement in the compiler. Similar to: +** +** assert( sqlite3VdbeAssertMayAbort(pParse->pVdbe, pParse->mayAbort) ); +*/ +SQLITE_PRIVATE int sqlite3VdbeAssertMayAbort(Vdbe *v, int mayAbort){ + int hasAbort = 0; + int hasFkCounter = 0; + int hasCreateTable = 0; + int hasCreateIndex = 0; + int hasInitCoroutine = 0; + Op *pOp; + VdbeOpIter sIter; + memset(&sIter, 0, sizeof(sIter)); + sIter.v = v; + + while( (pOp = opIterNext(&sIter))!=0 ){ + int opcode = pOp->opcode; + if( opcode==OP_Destroy || opcode==OP_VUpdate || opcode==OP_VRename + || opcode==OP_VDestroy + || (opcode==OP_ParseSchema && pOp->p4.z==0) + || ((opcode==OP_Halt || opcode==OP_HaltIfNull) + && ((pOp->p1)!=SQLITE_OK && pOp->p2==OE_Abort)) + ){ + hasAbort = 1; + break; + } + if( opcode==OP_CreateBtree && pOp->p3==BTREE_INTKEY ) hasCreateTable = 1; + if( mayAbort ){ + /* hasCreateIndex may also be set for some DELETE statements that use + ** OP_Clear. So this routine may end up returning true in the case + ** where a "DELETE FROM tbl" has a statement-journal but does not + ** require one. This is not so bad - it is an inefficiency, not a bug. */ + if( opcode==OP_CreateBtree && pOp->p3==BTREE_BLOBKEY ) hasCreateIndex = 1; + if( opcode==OP_Clear ) hasCreateIndex = 1; + } + if( opcode==OP_InitCoroutine ) hasInitCoroutine = 1; +#ifndef SQLITE_OMIT_FOREIGN_KEY + if( opcode==OP_FkCounter && pOp->p1==0 && pOp->p2==1 ){ + hasFkCounter = 1; + } +#endif + } + sqlite3DbFree(v->db, sIter.apSub); + + /* Return true if hasAbort==mayAbort. Or if a malloc failure occurred. + ** If malloc failed, then the while() loop above may not have iterated + ** through all opcodes and hasAbort may be set incorrectly. Return + ** true for this case to prevent the assert() in the callers frame + ** from failing. */ + return ( v->db->mallocFailed || hasAbort==mayAbort || hasFkCounter + || (hasCreateTable && hasInitCoroutine) || hasCreateIndex + ); +} +#endif /* SQLITE_DEBUG - the sqlite3AssertMayAbort() function */ + +#ifdef SQLITE_DEBUG +/* +** Increment the nWrite counter in the VDBE if the cursor is not an +** ephemeral cursor, or if the cursor argument is NULL. +*/ +SQLITE_PRIVATE void sqlite3VdbeIncrWriteCounter(Vdbe *p, VdbeCursor *pC){ + if( pC==0 + || (pC->eCurType!=CURTYPE_SORTER + && pC->eCurType!=CURTYPE_PSEUDO + && !pC->isEphemeral) + ){ + p->nWrite++; + } +} +#endif + +#ifdef SQLITE_DEBUG +/* +** Assert if an Abort at this point in time might result in a corrupt +** database. +*/ +SQLITE_PRIVATE void sqlite3VdbeAssertAbortable(Vdbe *p){ + assert( p->nWrite==0 || p->usesStmtJournal ); +} +#endif + +/* +** This routine is called after all opcodes have been inserted. It loops +** through all the opcodes and fixes up some details. +** +** (1) For each jump instruction with a negative P2 value (a label) +** resolve the P2 value to an actual address. +** +** (2) Compute the maximum number of arguments used by any SQL function +** and store that value in *pMaxFuncArgs. +** +** (3) Update the Vdbe.readOnly and Vdbe.bIsReader flags to accurately +** indicate what the prepared statement actually does. +** +** (4) Initialize the p4.xAdvance pointer on opcodes that use it. +** +** (5) Reclaim the memory allocated for storing labels. +** +** This routine will only function correctly if the mkopcodeh.tcl generator +** script numbers the opcodes correctly. Changes to this routine must be +** coordinated with changes to mkopcodeh.tcl. +*/ +static void resolveP2Values(Vdbe *p, int *pMaxFuncArgs){ + int nMaxArgs = *pMaxFuncArgs; + Op *pOp; + Parse *pParse = p->pParse; + int *aLabel = pParse->aLabel; + p->readOnly = 1; + p->bIsReader = 0; + pOp = &p->aOp[p->nOp-1]; + while(1){ + + /* Only JUMP opcodes and the short list of special opcodes in the switch + ** below need to be considered. The mkopcodeh.tcl generator script groups + ** all these opcodes together near the front of the opcode list. Skip + ** any opcode that does not need processing by virtual of the fact that + ** it is larger than SQLITE_MX_JUMP_OPCODE, as a performance optimization. + */ + if( pOp->opcode<=SQLITE_MX_JUMP_OPCODE ){ + /* NOTE: Be sure to update mkopcodeh.tcl when adding or removing + ** cases from this switch! */ + switch( pOp->opcode ){ + case OP_Transaction: { + if( pOp->p2!=0 ) p->readOnly = 0; + /* fall thru */ + } + case OP_AutoCommit: + case OP_Savepoint: { + p->bIsReader = 1; + break; + } +#ifndef SQLITE_OMIT_WAL + case OP_Checkpoint: +#endif + case OP_Vacuum: + case OP_JournalMode: { + p->readOnly = 0; + p->bIsReader = 1; + break; + } + case OP_Next: + case OP_SorterNext: { + pOp->p4.xAdvance = sqlite3BtreeNext; + pOp->p4type = P4_ADVANCE; + /* The code generator never codes any of these opcodes as a jump + ** to a label. They are always coded as a jump backwards to a + ** known address */ + assert( pOp->p2>=0 ); + break; + } + case OP_Prev: { + pOp->p4.xAdvance = sqlite3BtreePrevious; + pOp->p4type = P4_ADVANCE; + /* The code generator never codes any of these opcodes as a jump + ** to a label. They are always coded as a jump backwards to a + ** known address */ + assert( pOp->p2>=0 ); + break; + } +#ifndef SQLITE_OMIT_VIRTUALTABLE + case OP_VUpdate: { + if( pOp->p2>nMaxArgs ) nMaxArgs = pOp->p2; + break; + } + case OP_VFilter: { + int n; + assert( (pOp - p->aOp) >= 3 ); + assert( pOp[-1].opcode==OP_Integer ); + n = pOp[-1].p1; + if( n>nMaxArgs ) nMaxArgs = n; + /* Fall through into the default case */ + } +#endif + default: { + if( pOp->p2<0 ){ + /* The mkopcodeh.tcl script has so arranged things that the only + ** non-jump opcodes less than SQLITE_MX_JUMP_CODE are guaranteed to + ** have non-negative values for P2. */ + assert( (sqlite3OpcodeProperty[pOp->opcode] & OPFLG_JUMP)!=0 ); + assert( ADDR(pOp->p2)<-pParse->nLabel ); + pOp->p2 = aLabel[ADDR(pOp->p2)]; + } + break; + } + } + /* The mkopcodeh.tcl script has so arranged things that the only + ** non-jump opcodes less than SQLITE_MX_JUMP_CODE are guaranteed to + ** have non-negative values for P2. */ + assert( (sqlite3OpcodeProperty[pOp->opcode]&OPFLG_JUMP)==0 || pOp->p2>=0); + } + if( pOp==p->aOp ) break; + pOp--; + } + sqlite3DbFree(p->db, pParse->aLabel); + pParse->aLabel = 0; + pParse->nLabel = 0; + *pMaxFuncArgs = nMaxArgs; + assert( p->bIsReader!=0 || DbMaskAllZero(p->btreeMask) ); +} + +/* +** Return the address of the next instruction to be inserted. +*/ +SQLITE_PRIVATE int sqlite3VdbeCurrentAddr(Vdbe *p){ + assert( p->magic==VDBE_MAGIC_INIT ); + return p->nOp; +} + +/* +** Verify that at least N opcode slots are available in p without +** having to malloc for more space (except when compiled using +** SQLITE_TEST_REALLOC_STRESS). This interface is used during testing +** to verify that certain calls to sqlite3VdbeAddOpList() can never +** fail due to a OOM fault and hence that the return value from +** sqlite3VdbeAddOpList() will always be non-NULL. +*/ +#if defined(SQLITE_DEBUG) && !defined(SQLITE_TEST_REALLOC_STRESS) +SQLITE_PRIVATE void sqlite3VdbeVerifyNoMallocRequired(Vdbe *p, int N){ + assert( p->nOp + N <= p->nOpAlloc ); +} +#endif + +/* +** Verify that the VM passed as the only argument does not contain +** an OP_ResultRow opcode. Fail an assert() if it does. This is used +** by code in pragma.c to ensure that the implementation of certain +** pragmas comports with the flags specified in the mkpragmatab.tcl +** script. +*/ +#if defined(SQLITE_DEBUG) && !defined(SQLITE_TEST_REALLOC_STRESS) +SQLITE_PRIVATE void sqlite3VdbeVerifyNoResultRow(Vdbe *p){ + int i; + for(i=0; inOp; i++){ + assert( p->aOp[i].opcode!=OP_ResultRow ); + } +} +#endif + +/* +** Generate code (a single OP_Abortable opcode) that will +** verify that the VDBE program can safely call Abort in the current +** context. +*/ +#if defined(SQLITE_DEBUG) +SQLITE_PRIVATE void sqlite3VdbeVerifyAbortable(Vdbe *p, int onError){ + if( onError==OE_Abort ) sqlite3VdbeAddOp0(p, OP_Abortable); +} +#endif + +/* +** This function returns a pointer to the array of opcodes associated with +** the Vdbe passed as the first argument. It is the callers responsibility +** to arrange for the returned array to be eventually freed using the +** vdbeFreeOpArray() function. +** +** Before returning, *pnOp is set to the number of entries in the returned +** array. Also, *pnMaxArg is set to the larger of its current value and +** the number of entries in the Vdbe.apArg[] array required to execute the +** returned program. +*/ +SQLITE_PRIVATE VdbeOp *sqlite3VdbeTakeOpArray(Vdbe *p, int *pnOp, int *pnMaxArg){ + VdbeOp *aOp = p->aOp; + assert( aOp && !p->db->mallocFailed ); + + /* Check that sqlite3VdbeUsesBtree() was not called on this VM */ + assert( DbMaskAllZero(p->btreeMask) ); + + resolveP2Values(p, pnMaxArg); + *pnOp = p->nOp; + p->aOp = 0; + return aOp; +} + +/* +** Add a whole list of operations to the operation stack. Return a +** pointer to the first operation inserted. +** +** Non-zero P2 arguments to jump instructions are automatically adjusted +** so that the jump target is relative to the first operation inserted. +*/ +SQLITE_PRIVATE VdbeOp *sqlite3VdbeAddOpList( + Vdbe *p, /* Add opcodes to the prepared statement */ + int nOp, /* Number of opcodes to add */ + VdbeOpList const *aOp, /* The opcodes to be added */ + int iLineno /* Source-file line number of first opcode */ +){ + int i; + VdbeOp *pOut, *pFirst; + assert( nOp>0 ); + assert( p->magic==VDBE_MAGIC_INIT ); + if( p->nOp + nOp > p->nOpAlloc && growOpArray(p, nOp) ){ + return 0; + } + pFirst = pOut = &p->aOp[p->nOp]; + for(i=0; iopcode = aOp->opcode; + pOut->p1 = aOp->p1; + pOut->p2 = aOp->p2; + assert( aOp->p2>=0 ); + if( (sqlite3OpcodeProperty[aOp->opcode] & OPFLG_JUMP)!=0 && aOp->p2>0 ){ + pOut->p2 += p->nOp; + } + pOut->p3 = aOp->p3; + pOut->p4type = P4_NOTUSED; + pOut->p4.p = 0; + pOut->p5 = 0; +#ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS + pOut->zComment = 0; +#endif +#ifdef SQLITE_VDBE_COVERAGE + pOut->iSrcLine = iLineno+i; +#else + (void)iLineno; +#endif +#ifdef SQLITE_DEBUG + if( p->db->flags & SQLITE_VdbeAddopTrace ){ + sqlite3VdbePrintOp(0, i+p->nOp, &p->aOp[i+p->nOp]); + } +#endif + } + p->nOp += nOp; + return pFirst; +} + +#if defined(SQLITE_ENABLE_STMT_SCANSTATUS) +/* +** Add an entry to the array of counters managed by sqlite3_stmt_scanstatus(). +*/ +SQLITE_PRIVATE void sqlite3VdbeScanStatus( + Vdbe *p, /* VM to add scanstatus() to */ + int addrExplain, /* Address of OP_Explain (or 0) */ + int addrLoop, /* Address of loop counter */ + int addrVisit, /* Address of rows visited counter */ + LogEst nEst, /* Estimated number of output rows */ + const char *zName /* Name of table or index being scanned */ +){ + sqlite3_int64 nByte = (p->nScan+1) * sizeof(ScanStatus); + ScanStatus *aNew; + aNew = (ScanStatus*)sqlite3DbRealloc(p->db, p->aScan, nByte); + if( aNew ){ + ScanStatus *pNew = &aNew[p->nScan++]; + pNew->addrExplain = addrExplain; + pNew->addrLoop = addrLoop; + pNew->addrVisit = addrVisit; + pNew->nEst = nEst; + pNew->zName = sqlite3DbStrDup(p->db, zName); + p->aScan = aNew; + } +} +#endif + + +/* +** Change the value of the opcode, or P1, P2, P3, or P5 operands +** for a specific instruction. +*/ +SQLITE_PRIVATE void sqlite3VdbeChangeOpcode(Vdbe *p, int addr, u8 iNewOpcode){ + sqlite3VdbeGetOp(p,addr)->opcode = iNewOpcode; +} +SQLITE_PRIVATE void sqlite3VdbeChangeP1(Vdbe *p, int addr, int val){ + sqlite3VdbeGetOp(p,addr)->p1 = val; +} +SQLITE_PRIVATE void sqlite3VdbeChangeP2(Vdbe *p, int addr, int val){ + sqlite3VdbeGetOp(p,addr)->p2 = val; +} +SQLITE_PRIVATE void sqlite3VdbeChangeP3(Vdbe *p, int addr, int val){ + sqlite3VdbeGetOp(p,addr)->p3 = val; +} +SQLITE_PRIVATE void sqlite3VdbeChangeP5(Vdbe *p, u16 p5){ + assert( p->nOp>0 || p->db->mallocFailed ); + if( p->nOp>0 ) p->aOp[p->nOp-1].p5 = p5; +} + +/* +** Change the P2 operand of instruction addr so that it points to +** the address of the next instruction to be coded. +*/ +SQLITE_PRIVATE void sqlite3VdbeJumpHere(Vdbe *p, int addr){ + sqlite3VdbeChangeP2(p, addr, p->nOp); +} + + +/* +** If the input FuncDef structure is ephemeral, then free it. If +** the FuncDef is not ephermal, then do nothing. +*/ +static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef){ + if( (pDef->funcFlags & SQLITE_FUNC_EPHEM)!=0 ){ + sqlite3DbFreeNN(db, pDef); + } +} + +static void vdbeFreeOpArray(sqlite3 *, Op *, int); + +/* +** Delete a P4 value if necessary. +*/ +static SQLITE_NOINLINE void freeP4Mem(sqlite3 *db, Mem *p){ + if( p->szMalloc ) sqlite3DbFree(db, p->zMalloc); + sqlite3DbFreeNN(db, p); +} +static SQLITE_NOINLINE void freeP4FuncCtx(sqlite3 *db, sqlite3_context *p){ + freeEphemeralFunction(db, p->pFunc); + sqlite3DbFreeNN(db, p); +} +static void freeP4(sqlite3 *db, int p4type, void *p4){ + assert( db ); + switch( p4type ){ + case P4_FUNCCTX: { + freeP4FuncCtx(db, (sqlite3_context*)p4); + break; + } + case P4_REAL: + case P4_INT64: + case P4_DYNAMIC: + case P4_DYNBLOB: + case P4_INTARRAY: { + sqlite3DbFree(db, p4); + break; + } + case P4_KEYINFO: { + if( db->pnBytesFreed==0 ) sqlite3KeyInfoUnref((KeyInfo*)p4); + break; + } +#ifdef SQLITE_ENABLE_CURSOR_HINTS + case P4_EXPR: { + sqlite3ExprDelete(db, (Expr*)p4); + break; + } +#endif + case P4_FUNCDEF: { + freeEphemeralFunction(db, (FuncDef*)p4); + break; + } + case P4_MEM: { + if( db->pnBytesFreed==0 ){ + sqlite3ValueFree((sqlite3_value*)p4); + }else{ + freeP4Mem(db, (Mem*)p4); + } + break; + } + case P4_VTAB : { + if( db->pnBytesFreed==0 ) sqlite3VtabUnlock((VTable *)p4); + break; + } + } +} + +/* +** Free the space allocated for aOp and any p4 values allocated for the +** opcodes contained within. If aOp is not NULL it is assumed to contain +** nOp entries. +*/ +static void vdbeFreeOpArray(sqlite3 *db, Op *aOp, int nOp){ + if( aOp ){ + Op *pOp; + for(pOp=&aOp[nOp-1]; pOp>=aOp; pOp--){ + if( pOp->p4type <= P4_FREE_IF_LE ) freeP4(db, pOp->p4type, pOp->p4.p); +#ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS + sqlite3DbFree(db, pOp->zComment); +#endif + } + sqlite3DbFreeNN(db, aOp); + } +} + +/* +** Link the SubProgram object passed as the second argument into the linked +** list at Vdbe.pSubProgram. This list is used to delete all sub-program +** objects when the VM is no longer required. +*/ +SQLITE_PRIVATE void sqlite3VdbeLinkSubProgram(Vdbe *pVdbe, SubProgram *p){ + p->pNext = pVdbe->pProgram; + pVdbe->pProgram = p; +} + +/* +** Change the opcode at addr into OP_Noop +*/ +SQLITE_PRIVATE int sqlite3VdbeChangeToNoop(Vdbe *p, int addr){ + VdbeOp *pOp; + if( p->db->mallocFailed ) return 0; + assert( addr>=0 && addrnOp ); + pOp = &p->aOp[addr]; + freeP4(p->db, pOp->p4type, pOp->p4.p); + pOp->p4type = P4_NOTUSED; + pOp->p4.z = 0; + pOp->opcode = OP_Noop; + return 1; +} + +/* +** If the last opcode is "op" and it is not a jump destination, +** then remove it. Return true if and only if an opcode was removed. +*/ +SQLITE_PRIVATE int sqlite3VdbeDeletePriorOpcode(Vdbe *p, u8 op){ + if( p->nOp>0 && p->aOp[p->nOp-1].opcode==op ){ + return sqlite3VdbeChangeToNoop(p, p->nOp-1); + }else{ + return 0; + } +} + +/* +** Change the value of the P4 operand for a specific instruction. +** This routine is useful when a large program is loaded from a +** static array using sqlite3VdbeAddOpList but we want to make a +** few minor changes to the program. +** +** If n>=0 then the P4 operand is dynamic, meaning that a copy of +** the string is made into memory obtained from sqlite3_malloc(). +** A value of n==0 means copy bytes of zP4 up to and including the +** first null byte. If n>0 then copy n+1 bytes of zP4. +** +** Other values of n (P4_STATIC, P4_COLLSEQ etc.) indicate that zP4 points +** to a string or structure that is guaranteed to exist for the lifetime of +** the Vdbe. In these cases we can just copy the pointer. +** +** If addr<0 then change P4 on the most recently inserted instruction. +*/ +static void SQLITE_NOINLINE vdbeChangeP4Full( + Vdbe *p, + Op *pOp, + const char *zP4, + int n +){ + if( pOp->p4type ){ + freeP4(p->db, pOp->p4type, pOp->p4.p); + pOp->p4type = 0; + pOp->p4.p = 0; + } + if( n<0 ){ + sqlite3VdbeChangeP4(p, (int)(pOp - p->aOp), zP4, n); + }else{ + if( n==0 ) n = sqlite3Strlen30(zP4); + pOp->p4.z = sqlite3DbStrNDup(p->db, zP4, n); + pOp->p4type = P4_DYNAMIC; + } +} +SQLITE_PRIVATE void sqlite3VdbeChangeP4(Vdbe *p, int addr, const char *zP4, int n){ + Op *pOp; + sqlite3 *db; + assert( p!=0 ); + db = p->db; + assert( p->magic==VDBE_MAGIC_INIT ); + assert( p->aOp!=0 || db->mallocFailed ); + if( db->mallocFailed ){ + if( n!=P4_VTAB ) freeP4(db, n, (void*)*(char**)&zP4); + return; + } + assert( p->nOp>0 ); + assert( addrnOp ); + if( addr<0 ){ + addr = p->nOp - 1; + } + pOp = &p->aOp[addr]; + if( n>=0 || pOp->p4type ){ + vdbeChangeP4Full(p, pOp, zP4, n); + return; + } + if( n==P4_INT32 ){ + /* Note: this cast is safe, because the origin data point was an int + ** that was cast to a (const char *). */ + pOp->p4.i = SQLITE_PTR_TO_INT(zP4); + pOp->p4type = P4_INT32; + }else if( zP4!=0 ){ + assert( n<0 ); + pOp->p4.p = (void*)zP4; + pOp->p4type = (signed char)n; + if( n==P4_VTAB ) sqlite3VtabLock((VTable*)zP4); + } +} + +/* +** Change the P4 operand of the most recently coded instruction +** to the value defined by the arguments. This is a high-speed +** version of sqlite3VdbeChangeP4(). +** +** The P4 operand must not have been previously defined. And the new +** P4 must not be P4_INT32. Use sqlite3VdbeChangeP4() in either of +** those cases. +*/ +SQLITE_PRIVATE void sqlite3VdbeAppendP4(Vdbe *p, void *pP4, int n){ + VdbeOp *pOp; + assert( n!=P4_INT32 && n!=P4_VTAB ); + assert( n<=0 ); + if( p->db->mallocFailed ){ + freeP4(p->db, n, pP4); + }else{ + assert( pP4!=0 ); + assert( p->nOp>0 ); + pOp = &p->aOp[p->nOp-1]; + assert( pOp->p4type==P4_NOTUSED ); + pOp->p4type = n; + pOp->p4.p = pP4; + } +} + +/* +** Set the P4 on the most recently added opcode to the KeyInfo for the +** index given. +*/ +SQLITE_PRIVATE void sqlite3VdbeSetP4KeyInfo(Parse *pParse, Index *pIdx){ + Vdbe *v = pParse->pVdbe; + KeyInfo *pKeyInfo; + assert( v!=0 ); + assert( pIdx!=0 ); + pKeyInfo = sqlite3KeyInfoOfIndex(pParse, pIdx); + if( pKeyInfo ) sqlite3VdbeAppendP4(v, pKeyInfo, P4_KEYINFO); +} + +#ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS +/* +** Change the comment on the most recently coded instruction. Or +** insert a No-op and add the comment to that new instruction. This +** makes the code easier to read during debugging. None of this happens +** in a production build. +*/ +static void vdbeVComment(Vdbe *p, const char *zFormat, va_list ap){ + assert( p->nOp>0 || p->aOp==0 ); + assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed ); + if( p->nOp ){ + assert( p->aOp ); + sqlite3DbFree(p->db, p->aOp[p->nOp-1].zComment); + p->aOp[p->nOp-1].zComment = sqlite3VMPrintf(p->db, zFormat, ap); + } +} +SQLITE_PRIVATE void sqlite3VdbeComment(Vdbe *p, const char *zFormat, ...){ + va_list ap; + if( p ){ + va_start(ap, zFormat); + vdbeVComment(p, zFormat, ap); + va_end(ap); + } +} +SQLITE_PRIVATE void sqlite3VdbeNoopComment(Vdbe *p, const char *zFormat, ...){ + va_list ap; + if( p ){ + sqlite3VdbeAddOp0(p, OP_Noop); + va_start(ap, zFormat); + vdbeVComment(p, zFormat, ap); + va_end(ap); + } +} +#endif /* NDEBUG */ + +#ifdef SQLITE_VDBE_COVERAGE +/* +** Set the value if the iSrcLine field for the previously coded instruction. +*/ +SQLITE_PRIVATE void sqlite3VdbeSetLineNumber(Vdbe *v, int iLine){ + sqlite3VdbeGetOp(v,-1)->iSrcLine = iLine; +} +#endif /* SQLITE_VDBE_COVERAGE */ + +/* +** Return the opcode for a given address. If the address is -1, then +** return the most recently inserted opcode. +** +** If a memory allocation error has occurred prior to the calling of this +** routine, then a pointer to a dummy VdbeOp will be returned. That opcode +** is readable but not writable, though it is cast to a writable value. +** The return of a dummy opcode allows the call to continue functioning +** after an OOM fault without having to check to see if the return from +** this routine is a valid pointer. But because the dummy.opcode is 0, +** dummy will never be written to. This is verified by code inspection and +** by running with Valgrind. +*/ +SQLITE_PRIVATE VdbeOp *sqlite3VdbeGetOp(Vdbe *p, int addr){ + /* C89 specifies that the constant "dummy" will be initialized to all + ** zeros, which is correct. MSVC generates a warning, nevertheless. */ + static VdbeOp dummy; /* Ignore the MSVC warning about no initializer */ + assert( p->magic==VDBE_MAGIC_INIT ); + if( addr<0 ){ + addr = p->nOp - 1; + } + assert( (addr>=0 && addrnOp) || p->db->mallocFailed ); + if( p->db->mallocFailed ){ + return (VdbeOp*)&dummy; + }else{ + return &p->aOp[addr]; + } +} + +#if defined(SQLITE_ENABLE_EXPLAIN_COMMENTS) +/* +** Return an integer value for one of the parameters to the opcode pOp +** determined by character c. +*/ +static int translateP(char c, const Op *pOp){ + if( c=='1' ) return pOp->p1; + if( c=='2' ) return pOp->p2; + if( c=='3' ) return pOp->p3; + if( c=='4' ) return pOp->p4.i; + return pOp->p5; +} + +/* +** Compute a string for the "comment" field of a VDBE opcode listing. +** +** The Synopsis: field in comments in the vdbe.c source file gets converted +** to an extra string that is appended to the sqlite3OpcodeName(). In the +** absence of other comments, this synopsis becomes the comment on the opcode. +** Some translation occurs: +** +** "PX" -> "r[X]" +** "PX@PY" -> "r[X..X+Y-1]" or "r[x]" if y is 0 or 1 +** "PX@PY+1" -> "r[X..X+Y]" or "r[x]" if y is 0 +** "PY..PY" -> "r[X..Y]" or "r[x]" if y<=x +*/ +static int displayComment( + const Op *pOp, /* The opcode to be commented */ + const char *zP4, /* Previously obtained value for P4 */ + char *zTemp, /* Write result here */ + int nTemp /* Space available in zTemp[] */ +){ + const char *zOpName; + const char *zSynopsis; + int nOpName; + int ii, jj; + char zAlt[50]; + zOpName = sqlite3OpcodeName(pOp->opcode); + nOpName = sqlite3Strlen30(zOpName); + if( zOpName[nOpName+1] ){ + int seenCom = 0; + char c; + zSynopsis = zOpName += nOpName + 1; + if( strncmp(zSynopsis,"IF ",3)==0 ){ + if( pOp->p5 & SQLITE_STOREP2 ){ + sqlite3_snprintf(sizeof(zAlt), zAlt, "r[P2] = (%s)", zSynopsis+3); + }else{ + sqlite3_snprintf(sizeof(zAlt), zAlt, "if %s goto P2", zSynopsis+3); + } + zSynopsis = zAlt; + } + for(ii=jj=0; jjzComment); + seenCom = 1; + }else{ + int v1 = translateP(c, pOp); + int v2; + sqlite3_snprintf(nTemp-jj, zTemp+jj, "%d", v1); + if( strncmp(zSynopsis+ii+1, "@P", 2)==0 ){ + ii += 3; + jj += sqlite3Strlen30(zTemp+jj); + v2 = translateP(zSynopsis[ii], pOp); + if( strncmp(zSynopsis+ii+1,"+1",2)==0 ){ + ii += 2; + v2++; + } + if( v2>1 ){ + sqlite3_snprintf(nTemp-jj, zTemp+jj, "..%d", v1+v2-1); + } + }else if( strncmp(zSynopsis+ii+1, "..P3", 4)==0 && pOp->p3==0 ){ + ii += 4; + } + } + jj += sqlite3Strlen30(zTemp+jj); + }else{ + zTemp[jj++] = c; + } + } + if( !seenCom && jjzComment ){ + sqlite3_snprintf(nTemp-jj, zTemp+jj, "; %s", pOp->zComment); + jj += sqlite3Strlen30(zTemp+jj); + } + if( jjzComment ){ + sqlite3_snprintf(nTemp, zTemp, "%s", pOp->zComment); + jj = sqlite3Strlen30(zTemp); + }else{ + zTemp[0] = 0; + jj = 0; + } + return jj; +} +#endif /* SQLITE_DEBUG */ + +#if VDBE_DISPLAY_P4 && defined(SQLITE_ENABLE_CURSOR_HINTS) +/* +** Translate the P4.pExpr value for an OP_CursorHint opcode into text +** that can be displayed in the P4 column of EXPLAIN output. +*/ +static void displayP4Expr(StrAccum *p, Expr *pExpr){ + const char *zOp = 0; + switch( pExpr->op ){ + case TK_STRING: + sqlite3_str_appendf(p, "%Q", pExpr->u.zToken); + break; + case TK_INTEGER: + sqlite3_str_appendf(p, "%d", pExpr->u.iValue); + break; + case TK_NULL: + sqlite3_str_appendf(p, "NULL"); + break; + case TK_REGISTER: { + sqlite3_str_appendf(p, "r[%d]", pExpr->iTable); + break; + } + case TK_COLUMN: { + if( pExpr->iColumn<0 ){ + sqlite3_str_appendf(p, "rowid"); + }else{ + sqlite3_str_appendf(p, "c%d", (int)pExpr->iColumn); + } + break; + } + case TK_LT: zOp = "LT"; break; + case TK_LE: zOp = "LE"; break; + case TK_GT: zOp = "GT"; break; + case TK_GE: zOp = "GE"; break; + case TK_NE: zOp = "NE"; break; + case TK_EQ: zOp = "EQ"; break; + case TK_IS: zOp = "IS"; break; + case TK_ISNOT: zOp = "ISNOT"; break; + case TK_AND: zOp = "AND"; break; + case TK_OR: zOp = "OR"; break; + case TK_PLUS: zOp = "ADD"; break; + case TK_STAR: zOp = "MUL"; break; + case TK_MINUS: zOp = "SUB"; break; + case TK_REM: zOp = "REM"; break; + case TK_BITAND: zOp = "BITAND"; break; + case TK_BITOR: zOp = "BITOR"; break; + case TK_SLASH: zOp = "DIV"; break; + case TK_LSHIFT: zOp = "LSHIFT"; break; + case TK_RSHIFT: zOp = "RSHIFT"; break; + case TK_CONCAT: zOp = "CONCAT"; break; + case TK_UMINUS: zOp = "MINUS"; break; + case TK_UPLUS: zOp = "PLUS"; break; + case TK_BITNOT: zOp = "BITNOT"; break; + case TK_NOT: zOp = "NOT"; break; + case TK_ISNULL: zOp = "ISNULL"; break; + case TK_NOTNULL: zOp = "NOTNULL"; break; + + default: + sqlite3_str_appendf(p, "%s", "expr"); + break; + } + + if( zOp ){ + sqlite3_str_appendf(p, "%s(", zOp); + displayP4Expr(p, pExpr->pLeft); + if( pExpr->pRight ){ + sqlite3_str_append(p, ",", 1); + displayP4Expr(p, pExpr->pRight); + } + sqlite3_str_append(p, ")", 1); + } +} +#endif /* VDBE_DISPLAY_P4 && defined(SQLITE_ENABLE_CURSOR_HINTS) */ + + +#if VDBE_DISPLAY_P4 +/* +** Compute a string that describes the P4 parameter for an opcode. +** Use zTemp for any required temporary buffer space. +*/ +static char *displayP4(Op *pOp, char *zTemp, int nTemp){ + char *zP4 = zTemp; + StrAccum x; + assert( nTemp>=20 ); + sqlite3StrAccumInit(&x, 0, zTemp, nTemp, 0); + switch( pOp->p4type ){ + case P4_KEYINFO: { + int j; + KeyInfo *pKeyInfo = pOp->p4.pKeyInfo; + assert( pKeyInfo->aSortFlags!=0 ); + sqlite3_str_appendf(&x, "k(%d", pKeyInfo->nKeyField); + for(j=0; jnKeyField; j++){ + CollSeq *pColl = pKeyInfo->aColl[j]; + const char *zColl = pColl ? pColl->zName : ""; + if( strcmp(zColl, "BINARY")==0 ) zColl = "B"; + sqlite3_str_appendf(&x, ",%s%s%s", + (pKeyInfo->aSortFlags[j] & KEYINFO_ORDER_DESC) ? "-" : "", + (pKeyInfo->aSortFlags[j] & KEYINFO_ORDER_BIGNULL)? "N." : "", + zColl); + } + sqlite3_str_append(&x, ")", 1); + break; + } +#ifdef SQLITE_ENABLE_CURSOR_HINTS + case P4_EXPR: { + displayP4Expr(&x, pOp->p4.pExpr); + break; + } +#endif + case P4_COLLSEQ: { + CollSeq *pColl = pOp->p4.pColl; + sqlite3_str_appendf(&x, "(%.20s)", pColl->zName); + break; + } + case P4_FUNCDEF: { + FuncDef *pDef = pOp->p4.pFunc; + sqlite3_str_appendf(&x, "%s(%d)", pDef->zName, pDef->nArg); + break; + } +#if defined(SQLITE_DEBUG) || defined(VDBE_PROFILE) + case P4_FUNCCTX: { + FuncDef *pDef = pOp->p4.pCtx->pFunc; + sqlite3_str_appendf(&x, "%s(%d)", pDef->zName, pDef->nArg); + break; + } +#endif + case P4_INT64: { + sqlite3_str_appendf(&x, "%lld", *pOp->p4.pI64); + break; + } + case P4_INT32: { + sqlite3_str_appendf(&x, "%d", pOp->p4.i); + break; + } + case P4_REAL: { + sqlite3_str_appendf(&x, "%.16g", *pOp->p4.pReal); + break; + } + case P4_MEM: { + Mem *pMem = pOp->p4.pMem; + if( pMem->flags & MEM_Str ){ + zP4 = pMem->z; + }else if( pMem->flags & (MEM_Int|MEM_IntReal) ){ + sqlite3_str_appendf(&x, "%lld", pMem->u.i); + }else if( pMem->flags & MEM_Real ){ + sqlite3_str_appendf(&x, "%.16g", pMem->u.r); + }else if( pMem->flags & MEM_Null ){ + zP4 = "NULL"; + }else{ + assert( pMem->flags & MEM_Blob ); + zP4 = "(blob)"; + } + break; + } +#ifndef SQLITE_OMIT_VIRTUALTABLE + case P4_VTAB: { + sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab; + sqlite3_str_appendf(&x, "vtab:%p", pVtab); + break; + } +#endif + case P4_INTARRAY: { + int i; + int *ai = pOp->p4.ai; + int n = ai[0]; /* The first element of an INTARRAY is always the + ** count of the number of elements to follow */ + for(i=1; i<=n; i++){ + sqlite3_str_appendf(&x, ",%d", ai[i]); + } + zTemp[0] = '['; + sqlite3_str_append(&x, "]", 1); + break; + } + case P4_SUBPROGRAM: { + sqlite3_str_appendf(&x, "program"); + break; + } + case P4_DYNBLOB: + case P4_ADVANCE: { + zTemp[0] = 0; + break; + } + case P4_TABLE: { + sqlite3_str_appendf(&x, "%s", pOp->p4.pTab->zName); + break; + } + default: { + zP4 = pOp->p4.z; + if( zP4==0 ){ + zP4 = zTemp; + zTemp[0] = 0; + } + } + } + sqlite3StrAccumFinish(&x); + assert( zP4!=0 ); + return zP4; +} +#endif /* VDBE_DISPLAY_P4 */ + +/* +** Declare to the Vdbe that the BTree object at db->aDb[i] is used. +** +** The prepared statements need to know in advance the complete set of +** attached databases that will be use. A mask of these databases +** is maintained in p->btreeMask. The p->lockMask value is the subset of +** p->btreeMask of databases that will require a lock. +*/ +SQLITE_PRIVATE void sqlite3VdbeUsesBtree(Vdbe *p, int i){ + assert( i>=0 && idb->nDb && i<(int)sizeof(yDbMask)*8 ); + assert( i<(int)sizeof(p->btreeMask)*8 ); + DbMaskSet(p->btreeMask, i); + if( i!=1 && sqlite3BtreeSharable(p->db->aDb[i].pBt) ){ + DbMaskSet(p->lockMask, i); + } +} + +#if !defined(SQLITE_OMIT_SHARED_CACHE) +/* +** If SQLite is compiled to support shared-cache mode and to be threadsafe, +** this routine obtains the mutex associated with each BtShared structure +** that may be accessed by the VM passed as an argument. In doing so it also +** sets the BtShared.db member of each of the BtShared structures, ensuring +** that the correct busy-handler callback is invoked if required. +** +** If SQLite is not threadsafe but does support shared-cache mode, then +** sqlite3BtreeEnter() is invoked to set the BtShared.db variables +** of all of BtShared structures accessible via the database handle +** associated with the VM. +** +** If SQLite is not threadsafe and does not support shared-cache mode, this +** function is a no-op. +** +** The p->btreeMask field is a bitmask of all btrees that the prepared +** statement p will ever use. Let N be the number of bits in p->btreeMask +** corresponding to btrees that use shared cache. Then the runtime of +** this routine is N*N. But as N is rarely more than 1, this should not +** be a problem. +*/ +SQLITE_PRIVATE void sqlite3VdbeEnter(Vdbe *p){ + int i; + sqlite3 *db; + Db *aDb; + int nDb; + if( DbMaskAllZero(p->lockMask) ) return; /* The common case */ + db = p->db; + aDb = db->aDb; + nDb = db->nDb; + for(i=0; ilockMask,i) && ALWAYS(aDb[i].pBt!=0) ){ + sqlite3BtreeEnter(aDb[i].pBt); + } + } +} +#endif + +#if !defined(SQLITE_OMIT_SHARED_CACHE) && SQLITE_THREADSAFE>0 +/* +** Unlock all of the btrees previously locked by a call to sqlite3VdbeEnter(). +*/ +static SQLITE_NOINLINE void vdbeLeave(Vdbe *p){ + int i; + sqlite3 *db; + Db *aDb; + int nDb; + db = p->db; + aDb = db->aDb; + nDb = db->nDb; + for(i=0; ilockMask,i) && ALWAYS(aDb[i].pBt!=0) ){ + sqlite3BtreeLeave(aDb[i].pBt); + } + } +} +SQLITE_PRIVATE void sqlite3VdbeLeave(Vdbe *p){ + if( DbMaskAllZero(p->lockMask) ) return; /* The common case */ + vdbeLeave(p); +} +#endif + +#if defined(VDBE_PROFILE) || defined(SQLITE_DEBUG) +/* +** Print a single opcode. This routine is used for debugging only. +*/ +SQLITE_PRIVATE void sqlite3VdbePrintOp(FILE *pOut, int pc, VdbeOp *pOp){ + char *zP4; + char zPtr[50]; + char zCom[100]; + static const char *zFormat1 = "%4d %-13s %4d %4d %4d %-13s %.2X %s\n"; + if( pOut==0 ) pOut = stdout; + zP4 = displayP4(pOp, zPtr, sizeof(zPtr)); +#ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS + displayComment(pOp, zP4, zCom, sizeof(zCom)); +#else + zCom[0] = 0; +#endif + /* NB: The sqlite3OpcodeName() function is implemented by code created + ** by the mkopcodeh.awk and mkopcodec.awk scripts which extract the + ** information from the vdbe.c source text */ + fprintf(pOut, zFormat1, pc, + sqlite3OpcodeName(pOp->opcode), pOp->p1, pOp->p2, pOp->p3, zP4, pOp->p5, + zCom + ); + fflush(pOut); +} +#endif + +/* +** Initialize an array of N Mem element. +*/ +static void initMemArray(Mem *p, int N, sqlite3 *db, u16 flags){ + while( (N--)>0 ){ + p->db = db; + p->flags = flags; + p->szMalloc = 0; +#ifdef SQLITE_DEBUG + p->pScopyFrom = 0; +#endif + p++; + } +} + +/* +** Release an array of N Mem elements +*/ +static void releaseMemArray(Mem *p, int N){ + if( p && N ){ + Mem *pEnd = &p[N]; + sqlite3 *db = p->db; + if( db->pnBytesFreed ){ + do{ + if( p->szMalloc ) sqlite3DbFree(db, p->zMalloc); + }while( (++p)flags & MEM_Agg ); + testcase( p->flags & MEM_Dyn ); + testcase( p->xDel==sqlite3VdbeFrameMemDel ); + if( p->flags&(MEM_Agg|MEM_Dyn) ){ + sqlite3VdbeMemRelease(p); + }else if( p->szMalloc ){ + sqlite3DbFreeNN(db, p->zMalloc); + p->szMalloc = 0; + } + + p->flags = MEM_Undefined; + }while( (++p)iFrameMagic!=SQLITE_FRAME_MAGIC ) return 0; + return 1; +} +#endif + + +/* +** This is a destructor on a Mem object (which is really an sqlite3_value) +** that deletes the Frame object that is attached to it as a blob. +** +** This routine does not delete the Frame right away. It merely adds the +** frame to a list of frames to be deleted when the Vdbe halts. +*/ +SQLITE_PRIVATE void sqlite3VdbeFrameMemDel(void *pArg){ + VdbeFrame *pFrame = (VdbeFrame*)pArg; + assert( sqlite3VdbeFrameIsValid(pFrame) ); + pFrame->pParent = pFrame->v->pDelFrame; + pFrame->v->pDelFrame = pFrame; +} + + +/* +** Delete a VdbeFrame object and its contents. VdbeFrame objects are +** allocated by the OP_Program opcode in sqlite3VdbeExec(). +*/ +SQLITE_PRIVATE void sqlite3VdbeFrameDelete(VdbeFrame *p){ + int i; + Mem *aMem = VdbeFrameMem(p); + VdbeCursor **apCsr = (VdbeCursor **)&aMem[p->nChildMem]; + assert( sqlite3VdbeFrameIsValid(p) ); + for(i=0; inChildCsr; i++){ + sqlite3VdbeFreeCursor(p->v, apCsr[i]); + } + releaseMemArray(aMem, p->nChildMem); + sqlite3VdbeDeleteAuxData(p->v->db, &p->pAuxData, -1, 0); + sqlite3DbFree(p->v->db, p); +} + +#ifndef SQLITE_OMIT_EXPLAIN +/* +** Give a listing of the program in the virtual machine. +** +** The interface is the same as sqlite3VdbeExec(). But instead of +** running the code, it invokes the callback once for each instruction. +** This feature is used to implement "EXPLAIN". +** +** When p->explain==1, each instruction is listed. When +** p->explain==2, only OP_Explain instructions are listed and these +** are shown in a different format. p->explain==2 is used to implement +** EXPLAIN QUERY PLAN. +** 2018-04-24: In p->explain==2 mode, the OP_Init opcodes of triggers +** are also shown, so that the boundaries between the main program and +** each trigger are clear. +** +** When p->explain==1, first the main program is listed, then each of +** the trigger subprograms are listed one by one. +*/ +SQLITE_PRIVATE int sqlite3VdbeList( + Vdbe *p /* The VDBE */ +){ + int nRow; /* Stop when row count reaches this */ + int nSub = 0; /* Number of sub-vdbes seen so far */ + SubProgram **apSub = 0; /* Array of sub-vdbes */ + Mem *pSub = 0; /* Memory cell hold array of subprogs */ + sqlite3 *db = p->db; /* The database connection */ + int i; /* Loop counter */ + int rc = SQLITE_OK; /* Return code */ + Mem *pMem = &p->aMem[1]; /* First Mem of result set */ + int bListSubprogs = (p->explain==1 || (db->flags & SQLITE_TriggerEQP)!=0); + Op *pOp = 0; + + assert( p->explain ); + assert( p->magic==VDBE_MAGIC_RUN ); + assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY || p->rc==SQLITE_NOMEM ); + + /* Even though this opcode does not use dynamic strings for + ** the result, result columns may become dynamic if the user calls + ** sqlite3_column_text16(), causing a translation to UTF-16 encoding. + */ + releaseMemArray(pMem, 8); + p->pResultSet = 0; + + if( p->rc==SQLITE_NOMEM ){ + /* This happens if a malloc() inside a call to sqlite3_column_text() or + ** sqlite3_column_text16() failed. */ + sqlite3OomFault(db); + return SQLITE_ERROR; + } + + /* When the number of output rows reaches nRow, that means the + ** listing has finished and sqlite3_step() should return SQLITE_DONE. + ** nRow is the sum of the number of rows in the main program, plus + ** the sum of the number of rows in all trigger subprograms encountered + ** so far. The nRow value will increase as new trigger subprograms are + ** encountered, but p->pc will eventually catch up to nRow. + */ + nRow = p->nOp; + if( bListSubprogs ){ + /* The first 8 memory cells are used for the result set. So we will + ** commandeer the 9th cell to use as storage for an array of pointers + ** to trigger subprograms. The VDBE is guaranteed to have at least 9 + ** cells. */ + assert( p->nMem>9 ); + pSub = &p->aMem[9]; + if( pSub->flags&MEM_Blob ){ + /* On the first call to sqlite3_step(), pSub will hold a NULL. It is + ** initialized to a BLOB by the P4_SUBPROGRAM processing logic below */ + nSub = pSub->n/sizeof(Vdbe*); + apSub = (SubProgram **)pSub->z; + } + for(i=0; inOp; + } + } + + while(1){ /* Loop exits via break */ + i = p->pc++; + if( i>=nRow ){ + p->rc = SQLITE_OK; + rc = SQLITE_DONE; + break; + } + if( inOp ){ + /* The output line number is small enough that we are still in the + ** main program. */ + pOp = &p->aOp[i]; + }else{ + /* We are currently listing subprograms. Figure out which one and + ** pick up the appropriate opcode. */ + int j; + i -= p->nOp; + assert( apSub!=0 ); + assert( nSub>0 ); + for(j=0; i>=apSub[j]->nOp; j++){ + i -= apSub[j]->nOp; + assert( inOp || j+1aOp[i]; + } + + /* When an OP_Program opcode is encounter (the only opcode that has + ** a P4_SUBPROGRAM argument), expand the size of the array of subprograms + ** kept in p->aMem[9].z to hold the new program - assuming this subprogram + ** has not already been seen. + */ + if( bListSubprogs && pOp->p4type==P4_SUBPROGRAM ){ + int nByte = (nSub+1)*sizeof(SubProgram*); + int j; + for(j=0; jp4.pProgram ) break; + } + if( j==nSub ){ + p->rc = sqlite3VdbeMemGrow(pSub, nByte, nSub!=0); + if( p->rc!=SQLITE_OK ){ + rc = SQLITE_ERROR; + break; + } + apSub = (SubProgram **)pSub->z; + apSub[nSub++] = pOp->p4.pProgram; + pSub->flags |= MEM_Blob; + pSub->n = nSub*sizeof(SubProgram*); + nRow += pOp->p4.pProgram->nOp; + } + } + if( p->explain<2 ) break; + if( pOp->opcode==OP_Explain ) break; + if( pOp->opcode==OP_Init && p->pc>1 ) break; + } + + if( rc==SQLITE_OK ){ + if( db->u1.isInterrupted ){ + p->rc = SQLITE_INTERRUPT; + rc = SQLITE_ERROR; + sqlite3VdbeError(p, sqlite3ErrStr(p->rc)); + }else{ + char *zP4; + if( p->explain==1 ){ + pMem->flags = MEM_Int; + pMem->u.i = i; /* Program counter */ + pMem++; + + pMem->flags = MEM_Static|MEM_Str|MEM_Term; + pMem->z = (char*)sqlite3OpcodeName(pOp->opcode); /* Opcode */ + assert( pMem->z!=0 ); + pMem->n = sqlite3Strlen30(pMem->z); + pMem->enc = SQLITE_UTF8; + pMem++; + } + + pMem->flags = MEM_Int; + pMem->u.i = pOp->p1; /* P1 */ + pMem++; + + pMem->flags = MEM_Int; + pMem->u.i = pOp->p2; /* P2 */ + pMem++; + + pMem->flags = MEM_Int; + pMem->u.i = pOp->p3; /* P3 */ + pMem++; + + if( sqlite3VdbeMemClearAndResize(pMem, 100) ){ /* P4 */ + assert( p->db->mallocFailed ); + return SQLITE_ERROR; + } + pMem->flags = MEM_Str|MEM_Term; + zP4 = displayP4(pOp, pMem->z, pMem->szMalloc); + if( zP4!=pMem->z ){ + pMem->n = 0; + sqlite3VdbeMemSetStr(pMem, zP4, -1, SQLITE_UTF8, 0); + }else{ + assert( pMem->z!=0 ); + pMem->n = sqlite3Strlen30(pMem->z); + pMem->enc = SQLITE_UTF8; + } + pMem++; + + if( p->explain==1 ){ + if( sqlite3VdbeMemClearAndResize(pMem, 4) ){ + assert( p->db->mallocFailed ); + return SQLITE_ERROR; + } + pMem->flags = MEM_Str|MEM_Term; + pMem->n = 2; + sqlite3_snprintf(3, pMem->z, "%.2x", pOp->p5); /* P5 */ + pMem->enc = SQLITE_UTF8; + pMem++; + +#ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS + if( sqlite3VdbeMemClearAndResize(pMem, 500) ){ + assert( p->db->mallocFailed ); + return SQLITE_ERROR; + } + pMem->flags = MEM_Str|MEM_Term; + pMem->n = displayComment(pOp, zP4, pMem->z, 500); + pMem->enc = SQLITE_UTF8; +#else + pMem->flags = MEM_Null; /* Comment */ +#endif + } + + p->nResColumn = 8 - 4*(p->explain-1); + p->pResultSet = &p->aMem[1]; + p->rc = SQLITE_OK; + rc = SQLITE_ROW; + } + } + return rc; +} +#endif /* SQLITE_OMIT_EXPLAIN */ + +#ifdef SQLITE_DEBUG +/* +** Print the SQL that was used to generate a VDBE program. +*/ +SQLITE_PRIVATE void sqlite3VdbePrintSql(Vdbe *p){ + const char *z = 0; + if( p->zSql ){ + z = p->zSql; + }else if( p->nOp>=1 ){ + const VdbeOp *pOp = &p->aOp[0]; + if( pOp->opcode==OP_Init && pOp->p4.z!=0 ){ + z = pOp->p4.z; + while( sqlite3Isspace(*z) ) z++; + } + } + if( z ) printf("SQL: [%s]\n", z); +} +#endif + +#if !defined(SQLITE_OMIT_TRACE) && defined(SQLITE_ENABLE_IOTRACE) +/* +** Print an IOTRACE message showing SQL content. +*/ +SQLITE_PRIVATE void sqlite3VdbeIOTraceSql(Vdbe *p){ + int nOp = p->nOp; + VdbeOp *pOp; + if( sqlite3IoTrace==0 ) return; + if( nOp<1 ) return; + pOp = &p->aOp[0]; + if( pOp->opcode==OP_Init && pOp->p4.z!=0 ){ + int i, j; + char z[1000]; + sqlite3_snprintf(sizeof(z), z, "%s", pOp->p4.z); + for(i=0; sqlite3Isspace(z[i]); i++){} + for(j=0; z[i]; i++){ + if( sqlite3Isspace(z[i]) ){ + if( z[i-1]!=' ' ){ + z[j++] = ' '; + } + }else{ + z[j++] = z[i]; + } + } + z[j] = 0; + sqlite3IoTrace("SQL %s\n", z); + } +} +#endif /* !SQLITE_OMIT_TRACE && SQLITE_ENABLE_IOTRACE */ + +/* An instance of this object describes bulk memory available for use +** by subcomponents of a prepared statement. Space is allocated out +** of a ReusableSpace object by the allocSpace() routine below. +*/ +struct ReusableSpace { + u8 *pSpace; /* Available memory */ + sqlite3_int64 nFree; /* Bytes of available memory */ + sqlite3_int64 nNeeded; /* Total bytes that could not be allocated */ +}; + +/* Try to allocate nByte bytes of 8-byte aligned bulk memory for pBuf +** from the ReusableSpace object. Return a pointer to the allocated +** memory on success. If insufficient memory is available in the +** ReusableSpace object, increase the ReusableSpace.nNeeded +** value by the amount needed and return NULL. +** +** If pBuf is not initially NULL, that means that the memory has already +** been allocated by a prior call to this routine, so just return a copy +** of pBuf and leave ReusableSpace unchanged. +** +** This allocator is employed to repurpose unused slots at the end of the +** opcode array of prepared state for other memory needs of the prepared +** statement. +*/ +static void *allocSpace( + struct ReusableSpace *p, /* Bulk memory available for allocation */ + void *pBuf, /* Pointer to a prior allocation */ + sqlite3_int64 nByte /* Bytes of memory needed */ +){ + assert( EIGHT_BYTE_ALIGNMENT(p->pSpace) ); + if( pBuf==0 ){ + nByte = ROUND8(nByte); + if( nByte <= p->nFree ){ + p->nFree -= nByte; + pBuf = &p->pSpace[p->nFree]; + }else{ + p->nNeeded += nByte; + } + } + assert( EIGHT_BYTE_ALIGNMENT(pBuf) ); + return pBuf; +} + +/* +** Rewind the VDBE back to the beginning in preparation for +** running it. +*/ +SQLITE_PRIVATE void sqlite3VdbeRewind(Vdbe *p){ +#if defined(SQLITE_DEBUG) || defined(VDBE_PROFILE) + int i; +#endif + assert( p!=0 ); + assert( p->magic==VDBE_MAGIC_INIT || p->magic==VDBE_MAGIC_RESET ); + + /* There should be at least one opcode. + */ + assert( p->nOp>0 ); + + /* Set the magic to VDBE_MAGIC_RUN sooner rather than later. */ + p->magic = VDBE_MAGIC_RUN; + +#ifdef SQLITE_DEBUG + for(i=0; inMem; i++){ + assert( p->aMem[i].db==p->db ); + } +#endif + p->pc = -1; + p->rc = SQLITE_OK; + p->errorAction = OE_Abort; + p->nChange = 0; + p->cacheCtr = 1; + p->minWriteFileFormat = 255; + p->iStatement = 0; + p->nFkConstraint = 0; +#ifdef VDBE_PROFILE + for(i=0; inOp; i++){ + p->aOp[i].cnt = 0; + p->aOp[i].cycles = 0; + } +#endif +} + +/* +** Prepare a virtual machine for execution for the first time after +** creating the virtual machine. This involves things such +** as allocating registers and initializing the program counter. +** After the VDBE has be prepped, it can be executed by one or more +** calls to sqlite3VdbeExec(). +** +** This function may be called exactly once on each virtual machine. +** After this routine is called the VM has been "packaged" and is ready +** to run. After this routine is called, further calls to +** sqlite3VdbeAddOp() functions are prohibited. This routine disconnects +** the Vdbe from the Parse object that helped generate it so that the +** the Vdbe becomes an independent entity and the Parse object can be +** destroyed. +** +** Use the sqlite3VdbeRewind() procedure to restore a virtual machine back +** to its initial state after it has been run. +*/ +SQLITE_PRIVATE void sqlite3VdbeMakeReady( + Vdbe *p, /* The VDBE */ + Parse *pParse /* Parsing context */ +){ + sqlite3 *db; /* The database connection */ + int nVar; /* Number of parameters */ + int nMem; /* Number of VM memory registers */ + int nCursor; /* Number of cursors required */ + int nArg; /* Number of arguments in subprograms */ + int n; /* Loop counter */ + struct ReusableSpace x; /* Reusable bulk memory */ + + assert( p!=0 ); + assert( p->nOp>0 ); + assert( pParse!=0 ); + assert( p->magic==VDBE_MAGIC_INIT ); + assert( pParse==p->pParse ); + db = p->db; + assert( db->mallocFailed==0 ); + nVar = pParse->nVar; + nMem = pParse->nMem; + nCursor = pParse->nTab; + nArg = pParse->nMaxArg; + + /* Each cursor uses a memory cell. The first cursor (cursor 0) can + ** use aMem[0] which is not otherwise used by the VDBE program. Allocate + ** space at the end of aMem[] for cursors 1 and greater. + ** See also: allocateCursor(). + */ + nMem += nCursor; + if( nCursor==0 && nMem>0 ) nMem++; /* Space for aMem[0] even if not used */ + + /* Figure out how much reusable memory is available at the end of the + ** opcode array. This extra memory will be reallocated for other elements + ** of the prepared statement. + */ + n = ROUND8(sizeof(Op)*p->nOp); /* Bytes of opcode memory used */ + x.pSpace = &((u8*)p->aOp)[n]; /* Unused opcode memory */ + assert( EIGHT_BYTE_ALIGNMENT(x.pSpace) ); + x.nFree = ROUNDDOWN8(pParse->szOpAlloc - n); /* Bytes of unused memory */ + assert( x.nFree>=0 ); + assert( EIGHT_BYTE_ALIGNMENT(&x.pSpace[x.nFree]) ); + + resolveP2Values(p, &nArg); + p->usesStmtJournal = (u8)(pParse->isMultiWrite && pParse->mayAbort); + if( pParse->explain && nMem<10 ){ + nMem = 10; + } + p->expired = 0; + + /* Memory for registers, parameters, cursor, etc, is allocated in one or two + ** passes. On the first pass, we try to reuse unused memory at the + ** end of the opcode array. If we are unable to satisfy all memory + ** requirements by reusing the opcode array tail, then the second + ** pass will fill in the remainder using a fresh memory allocation. + ** + ** This two-pass approach that reuses as much memory as possible from + ** the leftover memory at the end of the opcode array. This can significantly + ** reduce the amount of memory held by a prepared statement. + */ + x.nNeeded = 0; + p->aMem = allocSpace(&x, 0, nMem*sizeof(Mem)); + p->aVar = allocSpace(&x, 0, nVar*sizeof(Mem)); + p->apArg = allocSpace(&x, 0, nArg*sizeof(Mem*)); + p->apCsr = allocSpace(&x, 0, nCursor*sizeof(VdbeCursor*)); +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS + p->anExec = allocSpace(&x, 0, p->nOp*sizeof(i64)); +#endif + if( x.nNeeded ){ + x.pSpace = p->pFree = sqlite3DbMallocRawNN(db, x.nNeeded); + x.nFree = x.nNeeded; + if( !db->mallocFailed ){ + p->aMem = allocSpace(&x, p->aMem, nMem*sizeof(Mem)); + p->aVar = allocSpace(&x, p->aVar, nVar*sizeof(Mem)); + p->apArg = allocSpace(&x, p->apArg, nArg*sizeof(Mem*)); + p->apCsr = allocSpace(&x, p->apCsr, nCursor*sizeof(VdbeCursor*)); +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS + p->anExec = allocSpace(&x, p->anExec, p->nOp*sizeof(i64)); +#endif + } + } + + p->pVList = pParse->pVList; + pParse->pVList = 0; + p->explain = pParse->explain; + if( db->mallocFailed ){ + p->nVar = 0; + p->nCursor = 0; + p->nMem = 0; + }else{ + p->nCursor = nCursor; + p->nVar = (ynVar)nVar; + initMemArray(p->aVar, nVar, db, MEM_Null); + p->nMem = nMem; + initMemArray(p->aMem, nMem, db, MEM_Undefined); + memset(p->apCsr, 0, nCursor*sizeof(VdbeCursor*)); +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS + memset(p->anExec, 0, p->nOp*sizeof(i64)); +#endif + } + sqlite3VdbeRewind(p); +} + +/* +** Close a VDBE cursor and release all the resources that cursor +** happens to hold. +*/ +SQLITE_PRIVATE void sqlite3VdbeFreeCursor(Vdbe *p, VdbeCursor *pCx){ + if( pCx==0 ){ + return; + } + assert( pCx->pBtx==0 || pCx->eCurType==CURTYPE_BTREE ); + switch( pCx->eCurType ){ + case CURTYPE_SORTER: { + sqlite3VdbeSorterClose(p->db, pCx); + break; + } + case CURTYPE_BTREE: { + if( pCx->isEphemeral ){ + if( pCx->pBtx ) sqlite3BtreeClose(pCx->pBtx); + /* The pCx->pCursor will be close automatically, if it exists, by + ** the call above. */ + }else{ + assert( pCx->uc.pCursor!=0 ); + sqlite3BtreeCloseCursor(pCx->uc.pCursor); + } + break; + } +#ifndef SQLITE_OMIT_VIRTUALTABLE + case CURTYPE_VTAB: { + sqlite3_vtab_cursor *pVCur = pCx->uc.pVCur; + const sqlite3_module *pModule = pVCur->pVtab->pModule; + assert( pVCur->pVtab->nRef>0 ); + pVCur->pVtab->nRef--; + pModule->xClose(pVCur); + break; + } +#endif + } +} + +/* +** Close all cursors in the current frame. +*/ +static void closeCursorsInFrame(Vdbe *p){ + if( p->apCsr ){ + int i; + for(i=0; inCursor; i++){ + VdbeCursor *pC = p->apCsr[i]; + if( pC ){ + sqlite3VdbeFreeCursor(p, pC); + p->apCsr[i] = 0; + } + } + } +} + +/* +** Copy the values stored in the VdbeFrame structure to its Vdbe. This +** is used, for example, when a trigger sub-program is halted to restore +** control to the main program. +*/ +SQLITE_PRIVATE int sqlite3VdbeFrameRestore(VdbeFrame *pFrame){ + Vdbe *v = pFrame->v; + closeCursorsInFrame(v); +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS + v->anExec = pFrame->anExec; +#endif + v->aOp = pFrame->aOp; + v->nOp = pFrame->nOp; + v->aMem = pFrame->aMem; + v->nMem = pFrame->nMem; + v->apCsr = pFrame->apCsr; + v->nCursor = pFrame->nCursor; + v->db->lastRowid = pFrame->lastRowid; + v->nChange = pFrame->nChange; + v->db->nChange = pFrame->nDbChange; + sqlite3VdbeDeleteAuxData(v->db, &v->pAuxData, -1, 0); + v->pAuxData = pFrame->pAuxData; + pFrame->pAuxData = 0; + return pFrame->pc; +} + +/* +** Close all cursors. +** +** Also release any dynamic memory held by the VM in the Vdbe.aMem memory +** cell array. This is necessary as the memory cell array may contain +** pointers to VdbeFrame objects, which may in turn contain pointers to +** open cursors. +*/ +static void closeAllCursors(Vdbe *p){ + if( p->pFrame ){ + VdbeFrame *pFrame; + for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent); + sqlite3VdbeFrameRestore(pFrame); + p->pFrame = 0; + p->nFrame = 0; + } + assert( p->nFrame==0 ); + closeCursorsInFrame(p); + if( p->aMem ){ + releaseMemArray(p->aMem, p->nMem); + } + while( p->pDelFrame ){ + VdbeFrame *pDel = p->pDelFrame; + p->pDelFrame = pDel->pParent; + sqlite3VdbeFrameDelete(pDel); + } + + /* Delete any auxdata allocations made by the VM */ + if( p->pAuxData ) sqlite3VdbeDeleteAuxData(p->db, &p->pAuxData, -1, 0); + assert( p->pAuxData==0 ); +} + +/* +** Set the number of result columns that will be returned by this SQL +** statement. This is now set at compile time, rather than during +** execution of the vdbe program so that sqlite3_column_count() can +** be called on an SQL statement before sqlite3_step(). +*/ +SQLITE_PRIVATE void sqlite3VdbeSetNumCols(Vdbe *p, int nResColumn){ + int n; + sqlite3 *db = p->db; + + if( p->nResColumn ){ + releaseMemArray(p->aColName, p->nResColumn*COLNAME_N); + sqlite3DbFree(db, p->aColName); + } + n = nResColumn*COLNAME_N; + p->nResColumn = (u16)nResColumn; + p->aColName = (Mem*)sqlite3DbMallocRawNN(db, sizeof(Mem)*n ); + if( p->aColName==0 ) return; + initMemArray(p->aColName, n, db, MEM_Null); +} + +/* +** Set the name of the idx'th column to be returned by the SQL statement. +** zName must be a pointer to a nul terminated string. +** +** This call must be made after a call to sqlite3VdbeSetNumCols(). +** +** The final parameter, xDel, must be one of SQLITE_DYNAMIC, SQLITE_STATIC +** or SQLITE_TRANSIENT. If it is SQLITE_DYNAMIC, then the buffer pointed +** to by zName will be freed by sqlite3DbFree() when the vdbe is destroyed. +*/ +SQLITE_PRIVATE int sqlite3VdbeSetColName( + Vdbe *p, /* Vdbe being configured */ + int idx, /* Index of column zName applies to */ + int var, /* One of the COLNAME_* constants */ + const char *zName, /* Pointer to buffer containing name */ + void (*xDel)(void*) /* Memory management strategy for zName */ +){ + int rc; + Mem *pColName; + assert( idxnResColumn ); + assert( vardb->mallocFailed ){ + assert( !zName || xDel!=SQLITE_DYNAMIC ); + return SQLITE_NOMEM_BKPT; + } + assert( p->aColName!=0 ); + pColName = &(p->aColName[idx+var*p->nResColumn]); + rc = sqlite3VdbeMemSetStr(pColName, zName, -1, SQLITE_UTF8, xDel); + assert( rc!=0 || !zName || (pColName->flags&MEM_Term)!=0 ); + return rc; +} + +/* +** A read or write transaction may or may not be active on database handle +** db. If a transaction is active, commit it. If there is a +** write-transaction spanning more than one database file, this routine +** takes care of the master journal trickery. +*/ +static int vdbeCommit(sqlite3 *db, Vdbe *p){ + int i; + int nTrans = 0; /* Number of databases with an active write-transaction + ** that are candidates for a two-phase commit using a + ** master-journal */ + int rc = SQLITE_OK; + int needXcommit = 0; + +#ifdef SQLITE_OMIT_VIRTUALTABLE + /* With this option, sqlite3VtabSync() is defined to be simply + ** SQLITE_OK so p is not used. + */ + UNUSED_PARAMETER(p); +#endif + + /* Before doing anything else, call the xSync() callback for any + ** virtual module tables written in this transaction. This has to + ** be done before determining whether a master journal file is + ** required, as an xSync() callback may add an attached database + ** to the transaction. + */ + rc = sqlite3VtabSync(db, p); + + /* This loop determines (a) if the commit hook should be invoked and + ** (b) how many database files have open write transactions, not + ** including the temp database. (b) is important because if more than + ** one database file has an open write transaction, a master journal + ** file is required for an atomic commit. + */ + for(i=0; rc==SQLITE_OK && inDb; i++){ + Btree *pBt = db->aDb[i].pBt; + if( sqlite3BtreeIsInTrans(pBt) ){ + /* Whether or not a database might need a master journal depends upon + ** its journal mode (among other things). This matrix determines which + ** journal modes use a master journal and which do not */ + static const u8 aMJNeeded[] = { + /* DELETE */ 1, + /* PERSIST */ 1, + /* OFF */ 0, + /* TRUNCATE */ 1, + /* MEMORY */ 0, + /* WAL */ 0 + }; + Pager *pPager; /* Pager associated with pBt */ + needXcommit = 1; + sqlite3BtreeEnter(pBt); + pPager = sqlite3BtreePager(pBt); + if( db->aDb[i].safety_level!=PAGER_SYNCHRONOUS_OFF + && aMJNeeded[sqlite3PagerGetJournalMode(pPager)] + && sqlite3PagerIsMemdb(pPager)==0 + ){ + assert( i!=1 ); + nTrans++; + } + rc = sqlite3PagerExclusiveLock(pPager); + sqlite3BtreeLeave(pBt); + } + } + if( rc!=SQLITE_OK ){ + return rc; + } + + /* If there are any write-transactions at all, invoke the commit hook */ + if( needXcommit && db->xCommitCallback ){ + rc = db->xCommitCallback(db->pCommitArg); + if( rc ){ + return SQLITE_CONSTRAINT_COMMITHOOK; + } + } + + /* The simple case - no more than one database file (not counting the + ** TEMP database) has a transaction active. There is no need for the + ** master-journal. + ** + ** If the return value of sqlite3BtreeGetFilename() is a zero length + ** string, it means the main database is :memory: or a temp file. In + ** that case we do not support atomic multi-file commits, so use the + ** simple case then too. + */ + if( 0==sqlite3Strlen30(sqlite3BtreeGetFilename(db->aDb[0].pBt)) + || nTrans<=1 + ){ + for(i=0; rc==SQLITE_OK && inDb; i++){ + Btree *pBt = db->aDb[i].pBt; + if( pBt ){ + rc = sqlite3BtreeCommitPhaseOne(pBt, 0); + } + } + + /* Do the commit only if all databases successfully complete phase 1. + ** If one of the BtreeCommitPhaseOne() calls fails, this indicates an + ** IO error while deleting or truncating a journal file. It is unlikely, + ** but could happen. In this case abandon processing and return the error. + */ + for(i=0; rc==SQLITE_OK && inDb; i++){ + Btree *pBt = db->aDb[i].pBt; + if( pBt ){ + rc = sqlite3BtreeCommitPhaseTwo(pBt, 0); + } + } + if( rc==SQLITE_OK ){ + sqlite3VtabCommit(db); + } + } + + /* The complex case - There is a multi-file write-transaction active. + ** This requires a master journal file to ensure the transaction is + ** committed atomically. + */ +#ifndef SQLITE_OMIT_DISKIO + else{ + sqlite3_vfs *pVfs = db->pVfs; + char *zMaster = 0; /* File-name for the master journal */ + char const *zMainFile = sqlite3BtreeGetFilename(db->aDb[0].pBt); + sqlite3_file *pMaster = 0; + i64 offset = 0; + int res; + int retryCount = 0; + int nMainFile; + + /* Select a master journal file name */ + nMainFile = sqlite3Strlen30(zMainFile); + zMaster = sqlite3MPrintf(db, "%s-mjXXXXXX9XXz", zMainFile); + if( zMaster==0 ) return SQLITE_NOMEM_BKPT; + do { + u32 iRandom; + if( retryCount ){ + if( retryCount>100 ){ + sqlite3_log(SQLITE_FULL, "MJ delete: %s", zMaster); + sqlite3OsDelete(pVfs, zMaster, 0); + break; + }else if( retryCount==1 ){ + sqlite3_log(SQLITE_FULL, "MJ collide: %s", zMaster); + } + } + retryCount++; + sqlite3_randomness(sizeof(iRandom), &iRandom); + sqlite3_snprintf(13, &zMaster[nMainFile], "-mj%06X9%02X", + (iRandom>>8)&0xffffff, iRandom&0xff); + /* The antipenultimate character of the master journal name must + ** be "9" to avoid name collisions when using 8+3 filenames. */ + assert( zMaster[sqlite3Strlen30(zMaster)-3]=='9' ); + sqlite3FileSuffix3(zMainFile, zMaster); + rc = sqlite3OsAccess(pVfs, zMaster, SQLITE_ACCESS_EXISTS, &res); + }while( rc==SQLITE_OK && res ); + if( rc==SQLITE_OK ){ + /* Open the master journal. */ + rc = sqlite3OsOpenMalloc(pVfs, zMaster, &pMaster, + SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE| + SQLITE_OPEN_EXCLUSIVE|SQLITE_OPEN_MASTER_JOURNAL, 0 + ); + } + if( rc!=SQLITE_OK ){ + sqlite3DbFree(db, zMaster); + return rc; + } + + /* Write the name of each database file in the transaction into the new + ** master journal file. If an error occurs at this point close + ** and delete the master journal file. All the individual journal files + ** still have 'null' as the master journal pointer, so they will roll + ** back independently if a failure occurs. + */ + for(i=0; inDb; i++){ + Btree *pBt = db->aDb[i].pBt; + if( sqlite3BtreeIsInTrans(pBt) ){ + char const *zFile = sqlite3BtreeGetJournalname(pBt); + if( zFile==0 ){ + continue; /* Ignore TEMP and :memory: databases */ + } + assert( zFile[0]!=0 ); + rc = sqlite3OsWrite(pMaster, zFile, sqlite3Strlen30(zFile)+1, offset); + offset += sqlite3Strlen30(zFile)+1; + if( rc!=SQLITE_OK ){ + sqlite3OsCloseFree(pMaster); + sqlite3OsDelete(pVfs, zMaster, 0); + sqlite3DbFree(db, zMaster); + return rc; + } + } + } + + /* Sync the master journal file. If the IOCAP_SEQUENTIAL device + ** flag is set this is not required. + */ + if( 0==(sqlite3OsDeviceCharacteristics(pMaster)&SQLITE_IOCAP_SEQUENTIAL) + && SQLITE_OK!=(rc = sqlite3OsSync(pMaster, SQLITE_SYNC_NORMAL)) + ){ + sqlite3OsCloseFree(pMaster); + sqlite3OsDelete(pVfs, zMaster, 0); + sqlite3DbFree(db, zMaster); + return rc; + } + + /* Sync all the db files involved in the transaction. The same call + ** sets the master journal pointer in each individual journal. If + ** an error occurs here, do not delete the master journal file. + ** + ** If the error occurs during the first call to + ** sqlite3BtreeCommitPhaseOne(), then there is a chance that the + ** master journal file will be orphaned. But we cannot delete it, + ** in case the master journal file name was written into the journal + ** file before the failure occurred. + */ + for(i=0; rc==SQLITE_OK && inDb; i++){ + Btree *pBt = db->aDb[i].pBt; + if( pBt ){ + rc = sqlite3BtreeCommitPhaseOne(pBt, zMaster); + } + } + sqlite3OsCloseFree(pMaster); + assert( rc!=SQLITE_BUSY ); + if( rc!=SQLITE_OK ){ + sqlite3DbFree(db, zMaster); + return rc; + } + + /* Delete the master journal file. This commits the transaction. After + ** doing this the directory is synced again before any individual + ** transaction files are deleted. + */ + rc = sqlite3OsDelete(pVfs, zMaster, 1); + sqlite3DbFree(db, zMaster); + zMaster = 0; + if( rc ){ + return rc; + } + + /* All files and directories have already been synced, so the following + ** calls to sqlite3BtreeCommitPhaseTwo() are only closing files and + ** deleting or truncating journals. If something goes wrong while + ** this is happening we don't really care. The integrity of the + ** transaction is already guaranteed, but some stray 'cold' journals + ** may be lying around. Returning an error code won't help matters. + */ + disable_simulated_io_errors(); + sqlite3BeginBenignMalloc(); + for(i=0; inDb; i++){ + Btree *pBt = db->aDb[i].pBt; + if( pBt ){ + sqlite3BtreeCommitPhaseTwo(pBt, 1); + } + } + sqlite3EndBenignMalloc(); + enable_simulated_io_errors(); + + sqlite3VtabCommit(db); + } +#endif + + return rc; +} + +/* +** This routine checks that the sqlite3.nVdbeActive count variable +** matches the number of vdbe's in the list sqlite3.pVdbe that are +** currently active. An assertion fails if the two counts do not match. +** This is an internal self-check only - it is not an essential processing +** step. +** +** This is a no-op if NDEBUG is defined. +*/ +#ifndef NDEBUG +static void checkActiveVdbeCnt(sqlite3 *db){ + Vdbe *p; + int cnt = 0; + int nWrite = 0; + int nRead = 0; + p = db->pVdbe; + while( p ){ + if( sqlite3_stmt_busy((sqlite3_stmt*)p) ){ + cnt++; + if( p->readOnly==0 ) nWrite++; + if( p->bIsReader ) nRead++; + } + p = p->pNext; + } + assert( cnt==db->nVdbeActive ); + assert( nWrite==db->nVdbeWrite ); + assert( nRead==db->nVdbeRead ); +} +#else +#define checkActiveVdbeCnt(x) +#endif + +/* +** If the Vdbe passed as the first argument opened a statement-transaction, +** close it now. Argument eOp must be either SAVEPOINT_ROLLBACK or +** SAVEPOINT_RELEASE. If it is SAVEPOINT_ROLLBACK, then the statement +** transaction is rolled back. If eOp is SAVEPOINT_RELEASE, then the +** statement transaction is committed. +** +** If an IO error occurs, an SQLITE_IOERR_XXX error code is returned. +** Otherwise SQLITE_OK. +*/ +static SQLITE_NOINLINE int vdbeCloseStatement(Vdbe *p, int eOp){ + sqlite3 *const db = p->db; + int rc = SQLITE_OK; + int i; + const int iSavepoint = p->iStatement-1; + + assert( eOp==SAVEPOINT_ROLLBACK || eOp==SAVEPOINT_RELEASE); + assert( db->nStatement>0 ); + assert( p->iStatement==(db->nStatement+db->nSavepoint) ); + + for(i=0; inDb; i++){ + int rc2 = SQLITE_OK; + Btree *pBt = db->aDb[i].pBt; + if( pBt ){ + if( eOp==SAVEPOINT_ROLLBACK ){ + rc2 = sqlite3BtreeSavepoint(pBt, SAVEPOINT_ROLLBACK, iSavepoint); + } + if( rc2==SQLITE_OK ){ + rc2 = sqlite3BtreeSavepoint(pBt, SAVEPOINT_RELEASE, iSavepoint); + } + if( rc==SQLITE_OK ){ + rc = rc2; + } + } + } + db->nStatement--; + p->iStatement = 0; + + if( rc==SQLITE_OK ){ + if( eOp==SAVEPOINT_ROLLBACK ){ + rc = sqlite3VtabSavepoint(db, SAVEPOINT_ROLLBACK, iSavepoint); + } + if( rc==SQLITE_OK ){ + rc = sqlite3VtabSavepoint(db, SAVEPOINT_RELEASE, iSavepoint); + } + } + + /* If the statement transaction is being rolled back, also restore the + ** database handles deferred constraint counter to the value it had when + ** the statement transaction was opened. */ + if( eOp==SAVEPOINT_ROLLBACK ){ + db->nDeferredCons = p->nStmtDefCons; + db->nDeferredImmCons = p->nStmtDefImmCons; + } + return rc; +} +SQLITE_PRIVATE int sqlite3VdbeCloseStatement(Vdbe *p, int eOp){ + if( p->db->nStatement && p->iStatement ){ + return vdbeCloseStatement(p, eOp); + } + return SQLITE_OK; +} + + +/* +** This function is called when a transaction opened by the database +** handle associated with the VM passed as an argument is about to be +** committed. If there are outstanding deferred foreign key constraint +** violations, return SQLITE_ERROR. Otherwise, SQLITE_OK. +** +** If there are outstanding FK violations and this function returns +** SQLITE_ERROR, set the result of the VM to SQLITE_CONSTRAINT_FOREIGNKEY +** and write an error message to it. Then return SQLITE_ERROR. +*/ +#ifndef SQLITE_OMIT_FOREIGN_KEY +SQLITE_PRIVATE int sqlite3VdbeCheckFk(Vdbe *p, int deferred){ + sqlite3 *db = p->db; + if( (deferred && (db->nDeferredCons+db->nDeferredImmCons)>0) + || (!deferred && p->nFkConstraint>0) + ){ + p->rc = SQLITE_CONSTRAINT_FOREIGNKEY; + p->errorAction = OE_Abort; + sqlite3VdbeError(p, "FOREIGN KEY constraint failed"); + return SQLITE_ERROR; + } + return SQLITE_OK; +} +#endif + +/* +** This routine is called the when a VDBE tries to halt. If the VDBE +** has made changes and is in autocommit mode, then commit those +** changes. If a rollback is needed, then do the rollback. +** +** This routine is the only way to move the state of a VM from +** SQLITE_MAGIC_RUN to SQLITE_MAGIC_HALT. It is harmless to +** call this on a VM that is in the SQLITE_MAGIC_HALT state. +** +** Return an error code. If the commit could not complete because of +** lock contention, return SQLITE_BUSY. If SQLITE_BUSY is returned, it +** means the close did not happen and needs to be repeated. +*/ +SQLITE_PRIVATE int sqlite3VdbeHalt(Vdbe *p){ + int rc; /* Used to store transient return codes */ + sqlite3 *db = p->db; + + /* This function contains the logic that determines if a statement or + ** transaction will be committed or rolled back as a result of the + ** execution of this virtual machine. + ** + ** If any of the following errors occur: + ** + ** SQLITE_NOMEM + ** SQLITE_IOERR + ** SQLITE_FULL + ** SQLITE_INTERRUPT + ** + ** Then the internal cache might have been left in an inconsistent + ** state. We need to rollback the statement transaction, if there is + ** one, or the complete transaction if there is no statement transaction. + */ + + if( p->magic!=VDBE_MAGIC_RUN ){ + return SQLITE_OK; + } + if( db->mallocFailed ){ + p->rc = SQLITE_NOMEM_BKPT; + } + closeAllCursors(p); + checkActiveVdbeCnt(db); + + /* No commit or rollback needed if the program never started or if the + ** SQL statement does not read or write a database file. */ + if( p->pc>=0 && p->bIsReader ){ + int mrc; /* Primary error code from p->rc */ + int eStatementOp = 0; + int isSpecialError; /* Set to true if a 'special' error */ + + /* Lock all btrees used by the statement */ + sqlite3VdbeEnter(p); + + /* Check for one of the special errors */ + mrc = p->rc & 0xff; + isSpecialError = mrc==SQLITE_NOMEM || mrc==SQLITE_IOERR + || mrc==SQLITE_INTERRUPT || mrc==SQLITE_FULL; + if( isSpecialError ){ + /* If the query was read-only and the error code is SQLITE_INTERRUPT, + ** no rollback is necessary. Otherwise, at least a savepoint + ** transaction must be rolled back to restore the database to a + ** consistent state. + ** + ** Even if the statement is read-only, it is important to perform + ** a statement or transaction rollback operation. If the error + ** occurred while writing to the journal, sub-journal or database + ** file as part of an effort to free up cache space (see function + ** pagerStress() in pager.c), the rollback is required to restore + ** the pager to a consistent state. + */ + if( !p->readOnly || mrc!=SQLITE_INTERRUPT ){ + if( (mrc==SQLITE_NOMEM || mrc==SQLITE_FULL) && p->usesStmtJournal ){ + eStatementOp = SAVEPOINT_ROLLBACK; + }else{ + /* We are forced to roll back the active transaction. Before doing + ** so, abort any other statements this handle currently has active. + */ + sqlite3RollbackAll(db, SQLITE_ABORT_ROLLBACK); + sqlite3CloseSavepoints(db); + db->autoCommit = 1; + p->nChange = 0; + } + } + } + + /* Check for immediate foreign key violations. */ + if( p->rc==SQLITE_OK || (p->errorAction==OE_Fail && !isSpecialError) ){ + sqlite3VdbeCheckFk(p, 0); + } + + /* If the auto-commit flag is set and this is the only active writer + ** VM, then we do either a commit or rollback of the current transaction. + ** + ** Note: This block also runs if one of the special errors handled + ** above has occurred. + */ + if( !sqlite3VtabInSync(db) + && db->autoCommit + && db->nVdbeWrite==(p->readOnly==0) + ){ + if( p->rc==SQLITE_OK || (p->errorAction==OE_Fail && !isSpecialError) ){ + rc = sqlite3VdbeCheckFk(p, 1); + if( rc!=SQLITE_OK ){ + if( NEVER(p->readOnly) ){ + sqlite3VdbeLeave(p); + return SQLITE_ERROR; + } + rc = SQLITE_CONSTRAINT_FOREIGNKEY; + }else{ + /* The auto-commit flag is true, the vdbe program was successful + ** or hit an 'OR FAIL' constraint and there are no deferred foreign + ** key constraints to hold up the transaction. This means a commit + ** is required. */ + rc = vdbeCommit(db, p); + } + if( rc==SQLITE_BUSY && p->readOnly ){ + sqlite3VdbeLeave(p); + return SQLITE_BUSY; + }else if( rc!=SQLITE_OK ){ + p->rc = rc; + sqlite3RollbackAll(db, SQLITE_OK); + p->nChange = 0; + }else{ + db->nDeferredCons = 0; + db->nDeferredImmCons = 0; + db->flags &= ~(u64)SQLITE_DeferFKs; + sqlite3CommitInternalChanges(db); + } + }else{ + sqlite3RollbackAll(db, SQLITE_OK); + p->nChange = 0; + } + db->nStatement = 0; + }else if( eStatementOp==0 ){ + if( p->rc==SQLITE_OK || p->errorAction==OE_Fail ){ + eStatementOp = SAVEPOINT_RELEASE; + }else if( p->errorAction==OE_Abort ){ + eStatementOp = SAVEPOINT_ROLLBACK; + }else{ + sqlite3RollbackAll(db, SQLITE_ABORT_ROLLBACK); + sqlite3CloseSavepoints(db); + db->autoCommit = 1; + p->nChange = 0; + } + } + + /* If eStatementOp is non-zero, then a statement transaction needs to + ** be committed or rolled back. Call sqlite3VdbeCloseStatement() to + ** do so. If this operation returns an error, and the current statement + ** error code is SQLITE_OK or SQLITE_CONSTRAINT, then promote the + ** current statement error code. + */ + if( eStatementOp ){ + rc = sqlite3VdbeCloseStatement(p, eStatementOp); + if( rc ){ + if( p->rc==SQLITE_OK || (p->rc&0xff)==SQLITE_CONSTRAINT ){ + p->rc = rc; + sqlite3DbFree(db, p->zErrMsg); + p->zErrMsg = 0; + } + sqlite3RollbackAll(db, SQLITE_ABORT_ROLLBACK); + sqlite3CloseSavepoints(db); + db->autoCommit = 1; + p->nChange = 0; + } + } + + /* If this was an INSERT, UPDATE or DELETE and no statement transaction + ** has been rolled back, update the database connection change-counter. + */ + if( p->changeCntOn ){ + if( eStatementOp!=SAVEPOINT_ROLLBACK ){ + sqlite3VdbeSetChanges(db, p->nChange); + }else{ + sqlite3VdbeSetChanges(db, 0); + } + p->nChange = 0; + } + + /* Release the locks */ + sqlite3VdbeLeave(p); + } + + /* We have successfully halted and closed the VM. Record this fact. */ + if( p->pc>=0 ){ + db->nVdbeActive--; + if( !p->readOnly ) db->nVdbeWrite--; + if( p->bIsReader ) db->nVdbeRead--; + assert( db->nVdbeActive>=db->nVdbeRead ); + assert( db->nVdbeRead>=db->nVdbeWrite ); + assert( db->nVdbeWrite>=0 ); + } + p->magic = VDBE_MAGIC_HALT; + checkActiveVdbeCnt(db); + if( db->mallocFailed ){ + p->rc = SQLITE_NOMEM_BKPT; + } + + /* If the auto-commit flag is set to true, then any locks that were held + ** by connection db have now been released. Call sqlite3ConnectionUnlocked() + ** to invoke any required unlock-notify callbacks. + */ + if( db->autoCommit ){ + sqlite3ConnectionUnlocked(db); + } + + assert( db->nVdbeActive>0 || db->autoCommit==0 || db->nStatement==0 ); + return (p->rc==SQLITE_BUSY ? SQLITE_BUSY : SQLITE_OK); +} + + +/* +** Each VDBE holds the result of the most recent sqlite3_step() call +** in p->rc. This routine sets that result back to SQLITE_OK. +*/ +SQLITE_PRIVATE void sqlite3VdbeResetStepResult(Vdbe *p){ + p->rc = SQLITE_OK; +} + +/* +** Copy the error code and error message belonging to the VDBE passed +** as the first argument to its database handle (so that they will be +** returned by calls to sqlite3_errcode() and sqlite3_errmsg()). +** +** This function does not clear the VDBE error code or message, just +** copies them to the database handle. +*/ +SQLITE_PRIVATE int sqlite3VdbeTransferError(Vdbe *p){ + sqlite3 *db = p->db; + int rc = p->rc; + if( p->zErrMsg ){ + db->bBenignMalloc++; + sqlite3BeginBenignMalloc(); + if( db->pErr==0 ) db->pErr = sqlite3ValueNew(db); + sqlite3ValueSetStr(db->pErr, -1, p->zErrMsg, SQLITE_UTF8, SQLITE_TRANSIENT); + sqlite3EndBenignMalloc(); + db->bBenignMalloc--; + }else if( db->pErr ){ + sqlite3ValueSetNull(db->pErr); + } + db->errCode = rc; + return rc; +} + +#ifdef SQLITE_ENABLE_SQLLOG +/* +** If an SQLITE_CONFIG_SQLLOG hook is registered and the VM has been run, +** invoke it. +*/ +static void vdbeInvokeSqllog(Vdbe *v){ + if( sqlite3GlobalConfig.xSqllog && v->rc==SQLITE_OK && v->zSql && v->pc>=0 ){ + char *zExpanded = sqlite3VdbeExpandSql(v, v->zSql); + assert( v->db->init.busy==0 ); + if( zExpanded ){ + sqlite3GlobalConfig.xSqllog( + sqlite3GlobalConfig.pSqllogArg, v->db, zExpanded, 1 + ); + sqlite3DbFree(v->db, zExpanded); + } + } +} +#else +# define vdbeInvokeSqllog(x) +#endif + +/* +** Clean up a VDBE after execution but do not delete the VDBE just yet. +** Write any error messages into *pzErrMsg. Return the result code. +** +** After this routine is run, the VDBE should be ready to be executed +** again. +** +** To look at it another way, this routine resets the state of the +** virtual machine from VDBE_MAGIC_RUN or VDBE_MAGIC_HALT back to +** VDBE_MAGIC_INIT. +*/ +SQLITE_PRIVATE int sqlite3VdbeReset(Vdbe *p){ +#if defined(SQLITE_DEBUG) || defined(VDBE_PROFILE) + int i; +#endif + + sqlite3 *db; + db = p->db; + + /* If the VM did not run to completion or if it encountered an + ** error, then it might not have been halted properly. So halt + ** it now. + */ + sqlite3VdbeHalt(p); + + /* If the VDBE has been run even partially, then transfer the error code + ** and error message from the VDBE into the main database structure. But + ** if the VDBE has just been set to run but has not actually executed any + ** instructions yet, leave the main database error information unchanged. + */ + if( p->pc>=0 ){ + vdbeInvokeSqllog(p); + sqlite3VdbeTransferError(p); + if( p->runOnlyOnce ) p->expired = 1; + }else if( p->rc && p->expired ){ + /* The expired flag was set on the VDBE before the first call + ** to sqlite3_step(). For consistency (since sqlite3_step() was + ** called), set the database error in this case as well. + */ + sqlite3ErrorWithMsg(db, p->rc, p->zErrMsg ? "%s" : 0, p->zErrMsg); + } + + /* Reset register contents and reclaim error message memory. + */ +#ifdef SQLITE_DEBUG + /* Execute assert() statements to ensure that the Vdbe.apCsr[] and + ** Vdbe.aMem[] arrays have already been cleaned up. */ + if( p->apCsr ) for(i=0; inCursor; i++) assert( p->apCsr[i]==0 ); + if( p->aMem ){ + for(i=0; inMem; i++) assert( p->aMem[i].flags==MEM_Undefined ); + } +#endif + sqlite3DbFree(db, p->zErrMsg); + p->zErrMsg = 0; + p->pResultSet = 0; +#ifdef SQLITE_DEBUG + p->nWrite = 0; +#endif + + /* Save profiling information from this VDBE run. + */ +#ifdef VDBE_PROFILE + { + FILE *out = fopen("vdbe_profile.out", "a"); + if( out ){ + fprintf(out, "---- "); + for(i=0; inOp; i++){ + fprintf(out, "%02x", p->aOp[i].opcode); + } + fprintf(out, "\n"); + if( p->zSql ){ + char c, pc = 0; + fprintf(out, "-- "); + for(i=0; (c = p->zSql[i])!=0; i++){ + if( pc=='\n' ) fprintf(out, "-- "); + putc(c, out); + pc = c; + } + if( pc!='\n' ) fprintf(out, "\n"); + } + for(i=0; inOp; i++){ + char zHdr[100]; + sqlite3_snprintf(sizeof(zHdr), zHdr, "%6u %12llu %8llu ", + p->aOp[i].cnt, + p->aOp[i].cycles, + p->aOp[i].cnt>0 ? p->aOp[i].cycles/p->aOp[i].cnt : 0 + ); + fprintf(out, "%s", zHdr); + sqlite3VdbePrintOp(out, i, &p->aOp[i]); + } + fclose(out); + } + } +#endif + p->magic = VDBE_MAGIC_RESET; + return p->rc & db->errMask; +} + +/* +** Clean up and delete a VDBE after execution. Return an integer which is +** the result code. Write any error message text into *pzErrMsg. +*/ +SQLITE_PRIVATE int sqlite3VdbeFinalize(Vdbe *p){ + int rc = SQLITE_OK; + if( p->magic==VDBE_MAGIC_RUN || p->magic==VDBE_MAGIC_HALT ){ + rc = sqlite3VdbeReset(p); + assert( (rc & p->db->errMask)==rc ); + } + sqlite3VdbeDelete(p); + return rc; +} + +/* +** If parameter iOp is less than zero, then invoke the destructor for +** all auxiliary data pointers currently cached by the VM passed as +** the first argument. +** +** Or, if iOp is greater than or equal to zero, then the destructor is +** only invoked for those auxiliary data pointers created by the user +** function invoked by the OP_Function opcode at instruction iOp of +** VM pVdbe, and only then if: +** +** * the associated function parameter is the 32nd or later (counting +** from left to right), or +** +** * the corresponding bit in argument mask is clear (where the first +** function parameter corresponds to bit 0 etc.). +*/ +SQLITE_PRIVATE void sqlite3VdbeDeleteAuxData(sqlite3 *db, AuxData **pp, int iOp, int mask){ + while( *pp ){ + AuxData *pAux = *pp; + if( (iOp<0) + || (pAux->iAuxOp==iOp + && pAux->iAuxArg>=0 + && (pAux->iAuxArg>31 || !(mask & MASKBIT32(pAux->iAuxArg)))) + ){ + testcase( pAux->iAuxArg==31 ); + if( pAux->xDeleteAux ){ + pAux->xDeleteAux(pAux->pAux); + } + *pp = pAux->pNextAux; + sqlite3DbFree(db, pAux); + }else{ + pp= &pAux->pNextAux; + } + } +} + +/* +** Free all memory associated with the Vdbe passed as the second argument, +** except for object itself, which is preserved. +** +** The difference between this function and sqlite3VdbeDelete() is that +** VdbeDelete() also unlinks the Vdbe from the list of VMs associated with +** the database connection and frees the object itself. +*/ +SQLITE_PRIVATE void sqlite3VdbeClearObject(sqlite3 *db, Vdbe *p){ + SubProgram *pSub, *pNext; + assert( p->db==0 || p->db==db ); + releaseMemArray(p->aColName, p->nResColumn*COLNAME_N); + for(pSub=p->pProgram; pSub; pSub=pNext){ + pNext = pSub->pNext; + vdbeFreeOpArray(db, pSub->aOp, pSub->nOp); + sqlite3DbFree(db, pSub); + } + if( p->magic!=VDBE_MAGIC_INIT ){ + releaseMemArray(p->aVar, p->nVar); + sqlite3DbFree(db, p->pVList); + sqlite3DbFree(db, p->pFree); + } + vdbeFreeOpArray(db, p->aOp, p->nOp); + sqlite3DbFree(db, p->aColName); + sqlite3DbFree(db, p->zSql); +#ifdef SQLITE_ENABLE_NORMALIZE + sqlite3DbFree(db, p->zNormSql); + { + DblquoteStr *pThis, *pNext; + for(pThis=p->pDblStr; pThis; pThis=pNext){ + pNext = pThis->pNextStr; + sqlite3DbFree(db, pThis); + } + } +#endif +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS + { + int i; + for(i=0; inScan; i++){ + sqlite3DbFree(db, p->aScan[i].zName); + } + sqlite3DbFree(db, p->aScan); + } +#endif +} + +/* +** Delete an entire VDBE. +*/ +SQLITE_PRIVATE void sqlite3VdbeDelete(Vdbe *p){ + sqlite3 *db; + + assert( p!=0 ); + db = p->db; + assert( sqlite3_mutex_held(db->mutex) ); + sqlite3VdbeClearObject(db, p); + if( p->pPrev ){ + p->pPrev->pNext = p->pNext; + }else{ + assert( db->pVdbe==p ); + db->pVdbe = p->pNext; + } + if( p->pNext ){ + p->pNext->pPrev = p->pPrev; + } + p->magic = VDBE_MAGIC_DEAD; + p->db = 0; + sqlite3DbFreeNN(db, p); +} + +/* +** The cursor "p" has a pending seek operation that has not yet been +** carried out. Seek the cursor now. If an error occurs, return +** the appropriate error code. +*/ +static int SQLITE_NOINLINE handleDeferredMoveto(VdbeCursor *p){ + int res, rc; +#ifdef SQLITE_TEST + extern int sqlite3_search_count; +#endif + assert( p->deferredMoveto ); + assert( p->isTable ); + assert( p->eCurType==CURTYPE_BTREE ); + rc = sqlite3BtreeMovetoUnpacked(p->uc.pCursor, 0, p->movetoTarget, 0, &res); + if( rc ) return rc; + if( res!=0 ) return SQLITE_CORRUPT_BKPT; +#ifdef SQLITE_TEST + sqlite3_search_count++; +#endif + p->deferredMoveto = 0; + p->cacheStatus = CACHE_STALE; + return SQLITE_OK; +} + +/* +** Something has moved cursor "p" out of place. Maybe the row it was +** pointed to was deleted out from under it. Or maybe the btree was +** rebalanced. Whatever the cause, try to restore "p" to the place it +** is supposed to be pointing. If the row was deleted out from under the +** cursor, set the cursor to point to a NULL row. +*/ +static int SQLITE_NOINLINE handleMovedCursor(VdbeCursor *p){ + int isDifferentRow, rc; + assert( p->eCurType==CURTYPE_BTREE ); + assert( p->uc.pCursor!=0 ); + assert( sqlite3BtreeCursorHasMoved(p->uc.pCursor) ); + rc = sqlite3BtreeCursorRestore(p->uc.pCursor, &isDifferentRow); + p->cacheStatus = CACHE_STALE; + if( isDifferentRow ) p->nullRow = 1; + return rc; +} + +/* +** Check to ensure that the cursor is valid. Restore the cursor +** if need be. Return any I/O error from the restore operation. +*/ +SQLITE_PRIVATE int sqlite3VdbeCursorRestore(VdbeCursor *p){ + assert( p->eCurType==CURTYPE_BTREE ); + if( sqlite3BtreeCursorHasMoved(p->uc.pCursor) ){ + return handleMovedCursor(p); + } + return SQLITE_OK; +} + +/* +** Make sure the cursor p is ready to read or write the row to which it +** was last positioned. Return an error code if an OOM fault or I/O error +** prevents us from positioning the cursor to its correct position. +** +** If a MoveTo operation is pending on the given cursor, then do that +** MoveTo now. If no move is pending, check to see if the row has been +** deleted out from under the cursor and if it has, mark the row as +** a NULL row. +** +** If the cursor is already pointing to the correct row and that row has +** not been deleted out from under the cursor, then this routine is a no-op. +*/ +SQLITE_PRIVATE int sqlite3VdbeCursorMoveto(VdbeCursor **pp, int *piCol){ + VdbeCursor *p = *pp; + assert( p->eCurType==CURTYPE_BTREE || p->eCurType==CURTYPE_PSEUDO ); + if( p->deferredMoveto ){ + int iMap; + if( p->aAltMap && (iMap = p->aAltMap[1+*piCol])>0 ){ + *pp = p->pAltCursor; + *piCol = iMap - 1; + return SQLITE_OK; + } + return handleDeferredMoveto(p); + } + if( sqlite3BtreeCursorHasMoved(p->uc.pCursor) ){ + return handleMovedCursor(p); + } + return SQLITE_OK; +} + +/* +** The following functions: +** +** sqlite3VdbeSerialType() +** sqlite3VdbeSerialTypeLen() +** sqlite3VdbeSerialLen() +** sqlite3VdbeSerialPut() +** sqlite3VdbeSerialGet() +** +** encapsulate the code that serializes values for storage in SQLite +** data and index records. Each serialized value consists of a +** 'serial-type' and a blob of data. The serial type is an 8-byte unsigned +** integer, stored as a varint. +** +** In an SQLite index record, the serial type is stored directly before +** the blob of data that it corresponds to. In a table record, all serial +** types are stored at the start of the record, and the blobs of data at +** the end. Hence these functions allow the caller to handle the +** serial-type and data blob separately. +** +** The following table describes the various storage classes for data: +** +** serial type bytes of data type +** -------------- --------------- --------------- +** 0 0 NULL +** 1 1 signed integer +** 2 2 signed integer +** 3 3 signed integer +** 4 4 signed integer +** 5 6 signed integer +** 6 8 signed integer +** 7 8 IEEE float +** 8 0 Integer constant 0 +** 9 0 Integer constant 1 +** 10,11 reserved for expansion +** N>=12 and even (N-12)/2 BLOB +** N>=13 and odd (N-13)/2 text +** +** The 8 and 9 types were added in 3.3.0, file format 4. Prior versions +** of SQLite will not understand those serial types. +*/ + +#if 0 /* Inlined into the OP_MakeRecord opcode */ +/* +** Return the serial-type for the value stored in pMem. +** +** This routine might convert a large MEM_IntReal value into MEM_Real. +** +** 2019-07-11: The primary user of this subroutine was the OP_MakeRecord +** opcode in the byte-code engine. But by moving this routine in-line, we +** can omit some redundant tests and make that opcode a lot faster. So +** this routine is now only used by the STAT3 logic and STAT3 support has +** ended. The code is kept here for historical reference only. +*/ +SQLITE_PRIVATE u32 sqlite3VdbeSerialType(Mem *pMem, int file_format, u32 *pLen){ + int flags = pMem->flags; + u32 n; + + assert( pLen!=0 ); + if( flags&MEM_Null ){ + *pLen = 0; + return 0; + } + if( flags&(MEM_Int|MEM_IntReal) ){ + /* Figure out whether to use 1, 2, 4, 6 or 8 bytes. */ +# define MAX_6BYTE ((((i64)0x00008000)<<32)-1) + i64 i = pMem->u.i; + u64 u; + testcase( flags & MEM_Int ); + testcase( flags & MEM_IntReal ); + if( i<0 ){ + u = ~i; + }else{ + u = i; + } + if( u<=127 ){ + if( (i&1)==i && file_format>=4 ){ + *pLen = 0; + return 8+(u32)u; + }else{ + *pLen = 1; + return 1; + } + } + if( u<=32767 ){ *pLen = 2; return 2; } + if( u<=8388607 ){ *pLen = 3; return 3; } + if( u<=2147483647 ){ *pLen = 4; return 4; } + if( u<=MAX_6BYTE ){ *pLen = 6; return 5; } + *pLen = 8; + if( flags&MEM_IntReal ){ + /* If the value is IntReal and is going to take up 8 bytes to store + ** as an integer, then we might as well make it an 8-byte floating + ** point value */ + pMem->u.r = (double)pMem->u.i; + pMem->flags &= ~MEM_IntReal; + pMem->flags |= MEM_Real; + return 7; + } + return 6; + } + if( flags&MEM_Real ){ + *pLen = 8; + return 7; + } + assert( pMem->db->mallocFailed || flags&(MEM_Str|MEM_Blob) ); + assert( pMem->n>=0 ); + n = (u32)pMem->n; + if( flags & MEM_Zero ){ + n += pMem->u.nZero; + } + *pLen = n; + return ((n*2) + 12 + ((flags&MEM_Str)!=0)); +} +#endif /* inlined into OP_MakeRecord */ + +/* +** The sizes for serial types less than 128 +*/ +static const u8 sqlite3SmallTypeSizes[] = { + /* 0 1 2 3 4 5 6 7 8 9 */ +/* 0 */ 0, 1, 2, 3, 4, 6, 8, 8, 0, 0, +/* 10 */ 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, +/* 20 */ 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, +/* 30 */ 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, +/* 40 */ 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, +/* 50 */ 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, +/* 60 */ 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, +/* 70 */ 29, 29, 30, 30, 31, 31, 32, 32, 33, 33, +/* 80 */ 34, 34, 35, 35, 36, 36, 37, 37, 38, 38, +/* 90 */ 39, 39, 40, 40, 41, 41, 42, 42, 43, 43, +/* 100 */ 44, 44, 45, 45, 46, 46, 47, 47, 48, 48, +/* 110 */ 49, 49, 50, 50, 51, 51, 52, 52, 53, 53, +/* 120 */ 54, 54, 55, 55, 56, 56, 57, 57 +}; + +/* +** Return the length of the data corresponding to the supplied serial-type. +*/ +SQLITE_PRIVATE u32 sqlite3VdbeSerialTypeLen(u32 serial_type){ + if( serial_type>=128 ){ + return (serial_type-12)/2; + }else{ + assert( serial_type<12 + || sqlite3SmallTypeSizes[serial_type]==(serial_type - 12)/2 ); + return sqlite3SmallTypeSizes[serial_type]; + } +} +SQLITE_PRIVATE u8 sqlite3VdbeOneByteSerialTypeLen(u8 serial_type){ + assert( serial_type<128 ); + return sqlite3SmallTypeSizes[serial_type]; +} + +/* +** If we are on an architecture with mixed-endian floating +** points (ex: ARM7) then swap the lower 4 bytes with the +** upper 4 bytes. Return the result. +** +** For most architectures, this is a no-op. +** +** (later): It is reported to me that the mixed-endian problem +** on ARM7 is an issue with GCC, not with the ARM7 chip. It seems +** that early versions of GCC stored the two words of a 64-bit +** float in the wrong order. And that error has been propagated +** ever since. The blame is not necessarily with GCC, though. +** GCC might have just copying the problem from a prior compiler. +** I am also told that newer versions of GCC that follow a different +** ABI get the byte order right. +** +** Developers using SQLite on an ARM7 should compile and run their +** application using -DSQLITE_DEBUG=1 at least once. With DEBUG +** enabled, some asserts below will ensure that the byte order of +** floating point values is correct. +** +** (2007-08-30) Frank van Vugt has studied this problem closely +** and has send his findings to the SQLite developers. Frank +** writes that some Linux kernels offer floating point hardware +** emulation that uses only 32-bit mantissas instead of a full +** 48-bits as required by the IEEE standard. (This is the +** CONFIG_FPE_FASTFPE option.) On such systems, floating point +** byte swapping becomes very complicated. To avoid problems, +** the necessary byte swapping is carried out using a 64-bit integer +** rather than a 64-bit float. Frank assures us that the code here +** works for him. We, the developers, have no way to independently +** verify this, but Frank seems to know what he is talking about +** so we trust him. +*/ +#ifdef SQLITE_MIXED_ENDIAN_64BIT_FLOAT +static u64 floatSwap(u64 in){ + union { + u64 r; + u32 i[2]; + } u; + u32 t; + + u.r = in; + t = u.i[0]; + u.i[0] = u.i[1]; + u.i[1] = t; + return u.r; +} +# define swapMixedEndianFloat(X) X = floatSwap(X) +#else +# define swapMixedEndianFloat(X) +#endif + +/* +** Write the serialized data blob for the value stored in pMem into +** buf. It is assumed that the caller has allocated sufficient space. +** Return the number of bytes written. +** +** nBuf is the amount of space left in buf[]. The caller is responsible +** for allocating enough space to buf[] to hold the entire field, exclusive +** of the pMem->u.nZero bytes for a MEM_Zero value. +** +** Return the number of bytes actually written into buf[]. The number +** of bytes in the zero-filled tail is included in the return value only +** if those bytes were zeroed in buf[]. +*/ +SQLITE_PRIVATE u32 sqlite3VdbeSerialPut(u8 *buf, Mem *pMem, u32 serial_type){ + u32 len; + + /* Integer and Real */ + if( serial_type<=7 && serial_type>0 ){ + u64 v; + u32 i; + if( serial_type==7 ){ + assert( sizeof(v)==sizeof(pMem->u.r) ); + memcpy(&v, &pMem->u.r, sizeof(v)); + swapMixedEndianFloat(v); + }else{ + v = pMem->u.i; + } + len = i = sqlite3SmallTypeSizes[serial_type]; + assert( i>0 ); + do{ + buf[--i] = (u8)(v&0xFF); + v >>= 8; + }while( i ); + return len; + } + + /* String or blob */ + if( serial_type>=12 ){ + assert( pMem->n + ((pMem->flags & MEM_Zero)?pMem->u.nZero:0) + == (int)sqlite3VdbeSerialTypeLen(serial_type) ); + len = pMem->n; + if( len>0 ) memcpy(buf, pMem->z, len); + return len; + } + + /* NULL or constants 0 or 1 */ + return 0; +} + +/* Input "x" is a sequence of unsigned characters that represent a +** big-endian integer. Return the equivalent native integer +*/ +#define ONE_BYTE_INT(x) ((i8)(x)[0]) +#define TWO_BYTE_INT(x) (256*(i8)((x)[0])|(x)[1]) +#define THREE_BYTE_INT(x) (65536*(i8)((x)[0])|((x)[1]<<8)|(x)[2]) +#define FOUR_BYTE_UINT(x) (((u32)(x)[0]<<24)|((x)[1]<<16)|((x)[2]<<8)|(x)[3]) +#define FOUR_BYTE_INT(x) (16777216*(i8)((x)[0])|((x)[1]<<16)|((x)[2]<<8)|(x)[3]) + +/* +** Deserialize the data blob pointed to by buf as serial type serial_type +** and store the result in pMem. Return the number of bytes read. +** +** This function is implemented as two separate routines for performance. +** The few cases that require local variables are broken out into a separate +** routine so that in most cases the overhead of moving the stack pointer +** is avoided. +*/ +static u32 serialGet( + const unsigned char *buf, /* Buffer to deserialize from */ + u32 serial_type, /* Serial type to deserialize */ + Mem *pMem /* Memory cell to write value into */ +){ + u64 x = FOUR_BYTE_UINT(buf); + u32 y = FOUR_BYTE_UINT(buf+4); + x = (x<<32) + y; + if( serial_type==6 ){ + /* EVIDENCE-OF: R-29851-52272 Value is a big-endian 64-bit + ** twos-complement integer. */ + pMem->u.i = *(i64*)&x; + pMem->flags = MEM_Int; + testcase( pMem->u.i<0 ); + }else{ + /* EVIDENCE-OF: R-57343-49114 Value is a big-endian IEEE 754-2008 64-bit + ** floating point number. */ +#if !defined(NDEBUG) && !defined(SQLITE_OMIT_FLOATING_POINT) + /* Verify that integers and floating point values use the same + ** byte order. Or, that if SQLITE_MIXED_ENDIAN_64BIT_FLOAT is + ** defined that 64-bit floating point values really are mixed + ** endian. + */ + static const u64 t1 = ((u64)0x3ff00000)<<32; + static const double r1 = 1.0; + u64 t2 = t1; + swapMixedEndianFloat(t2); + assert( sizeof(r1)==sizeof(t2) && memcmp(&r1, &t2, sizeof(r1))==0 ); +#endif + assert( sizeof(x)==8 && sizeof(pMem->u.r)==8 ); + swapMixedEndianFloat(x); + memcpy(&pMem->u.r, &x, sizeof(x)); + pMem->flags = IsNaN(x) ? MEM_Null : MEM_Real; + } + return 8; +} +SQLITE_PRIVATE u32 sqlite3VdbeSerialGet( + const unsigned char *buf, /* Buffer to deserialize from */ + u32 serial_type, /* Serial type to deserialize */ + Mem *pMem /* Memory cell to write value into */ +){ + switch( serial_type ){ + case 10: { /* Internal use only: NULL with virtual table + ** UPDATE no-change flag set */ + pMem->flags = MEM_Null|MEM_Zero; + pMem->n = 0; + pMem->u.nZero = 0; + break; + } + case 11: /* Reserved for future use */ + case 0: { /* Null */ + /* EVIDENCE-OF: R-24078-09375 Value is a NULL. */ + pMem->flags = MEM_Null; + break; + } + case 1: { + /* EVIDENCE-OF: R-44885-25196 Value is an 8-bit twos-complement + ** integer. */ + pMem->u.i = ONE_BYTE_INT(buf); + pMem->flags = MEM_Int; + testcase( pMem->u.i<0 ); + return 1; + } + case 2: { /* 2-byte signed integer */ + /* EVIDENCE-OF: R-49794-35026 Value is a big-endian 16-bit + ** twos-complement integer. */ + pMem->u.i = TWO_BYTE_INT(buf); + pMem->flags = MEM_Int; + testcase( pMem->u.i<0 ); + return 2; + } + case 3: { /* 3-byte signed integer */ + /* EVIDENCE-OF: R-37839-54301 Value is a big-endian 24-bit + ** twos-complement integer. */ + pMem->u.i = THREE_BYTE_INT(buf); + pMem->flags = MEM_Int; + testcase( pMem->u.i<0 ); + return 3; + } + case 4: { /* 4-byte signed integer */ + /* EVIDENCE-OF: R-01849-26079 Value is a big-endian 32-bit + ** twos-complement integer. */ + pMem->u.i = FOUR_BYTE_INT(buf); +#ifdef __HP_cc + /* Work around a sign-extension bug in the HP compiler for HP/UX */ + if( buf[0]&0x80 ) pMem->u.i |= 0xffffffff80000000LL; +#endif + pMem->flags = MEM_Int; + testcase( pMem->u.i<0 ); + return 4; + } + case 5: { /* 6-byte signed integer */ + /* EVIDENCE-OF: R-50385-09674 Value is a big-endian 48-bit + ** twos-complement integer. */ + pMem->u.i = FOUR_BYTE_UINT(buf+2) + (((i64)1)<<32)*TWO_BYTE_INT(buf); + pMem->flags = MEM_Int; + testcase( pMem->u.i<0 ); + return 6; + } + case 6: /* 8-byte signed integer */ + case 7: { /* IEEE floating point */ + /* These use local variables, so do them in a separate routine + ** to avoid having to move the frame pointer in the common case */ + return serialGet(buf,serial_type,pMem); + } + case 8: /* Integer 0 */ + case 9: { /* Integer 1 */ + /* EVIDENCE-OF: R-12976-22893 Value is the integer 0. */ + /* EVIDENCE-OF: R-18143-12121 Value is the integer 1. */ + pMem->u.i = serial_type-8; + pMem->flags = MEM_Int; + return 0; + } + default: { + /* EVIDENCE-OF: R-14606-31564 Value is a BLOB that is (N-12)/2 bytes in + ** length. + ** EVIDENCE-OF: R-28401-00140 Value is a string in the text encoding and + ** (N-13)/2 bytes in length. */ + static const u16 aFlag[] = { MEM_Blob|MEM_Ephem, MEM_Str|MEM_Ephem }; + pMem->z = (char *)buf; + pMem->n = (serial_type-12)/2; + pMem->flags = aFlag[serial_type&1]; + return pMem->n; + } + } + return 0; +} +/* +** This routine is used to allocate sufficient space for an UnpackedRecord +** structure large enough to be used with sqlite3VdbeRecordUnpack() if +** the first argument is a pointer to KeyInfo structure pKeyInfo. +** +** The space is either allocated using sqlite3DbMallocRaw() or from within +** the unaligned buffer passed via the second and third arguments (presumably +** stack space). If the former, then *ppFree is set to a pointer that should +** be eventually freed by the caller using sqlite3DbFree(). Or, if the +** allocation comes from the pSpace/szSpace buffer, *ppFree is set to NULL +** before returning. +** +** If an OOM error occurs, NULL is returned. +*/ +SQLITE_PRIVATE UnpackedRecord *sqlite3VdbeAllocUnpackedRecord( + KeyInfo *pKeyInfo /* Description of the record */ +){ + UnpackedRecord *p; /* Unpacked record to return */ + int nByte; /* Number of bytes required for *p */ + nByte = ROUND8(sizeof(UnpackedRecord)) + sizeof(Mem)*(pKeyInfo->nKeyField+1); + p = (UnpackedRecord *)sqlite3DbMallocRaw(pKeyInfo->db, nByte); + if( !p ) return 0; + p->aMem = (Mem*)&((char*)p)[ROUND8(sizeof(UnpackedRecord))]; + assert( pKeyInfo->aSortFlags!=0 ); + p->pKeyInfo = pKeyInfo; + p->nField = pKeyInfo->nKeyField + 1; + return p; +} + +/* +** Given the nKey-byte encoding of a record in pKey[], populate the +** UnpackedRecord structure indicated by the fourth argument with the +** contents of the decoded record. +*/ +SQLITE_PRIVATE void sqlite3VdbeRecordUnpack( + KeyInfo *pKeyInfo, /* Information about the record format */ + int nKey, /* Size of the binary record */ + const void *pKey, /* The binary record */ + UnpackedRecord *p /* Populate this structure before returning. */ +){ + const unsigned char *aKey = (const unsigned char *)pKey; + u32 d; + u32 idx; /* Offset in aKey[] to read from */ + u16 u; /* Unsigned loop counter */ + u32 szHdr; + Mem *pMem = p->aMem; + + p->default_rc = 0; + assert( EIGHT_BYTE_ALIGNMENT(pMem) ); + idx = getVarint32(aKey, szHdr); + d = szHdr; + u = 0; + while( idxenc = pKeyInfo->enc; + pMem->db = pKeyInfo->db; + /* pMem->flags = 0; // sqlite3VdbeSerialGet() will set this for us */ + pMem->szMalloc = 0; + pMem->z = 0; + d += sqlite3VdbeSerialGet(&aKey[d], serial_type, pMem); + pMem++; + if( (++u)>=p->nField ) break; + } + if( d>(u32)nKey && u ){ + assert( CORRUPT_DB ); + /* In a corrupt record entry, the last pMem might have been set up using + ** uninitialized memory. Overwrite its value with NULL, to prevent + ** warnings from MSAN. */ + sqlite3VdbeMemSetNull(pMem-1); + } + assert( u<=pKeyInfo->nKeyField + 1 ); + p->nField = u; +} + +#ifdef SQLITE_DEBUG +/* +** This function compares two index or table record keys in the same way +** as the sqlite3VdbeRecordCompare() routine. Unlike VdbeRecordCompare(), +** this function deserializes and compares values using the +** sqlite3VdbeSerialGet() and sqlite3MemCompare() functions. It is used +** in assert() statements to ensure that the optimized code in +** sqlite3VdbeRecordCompare() returns results with these two primitives. +** +** Return true if the result of comparison is equivalent to desiredResult. +** Return false if there is a disagreement. +*/ +static int vdbeRecordCompareDebug( + int nKey1, const void *pKey1, /* Left key */ + const UnpackedRecord *pPKey2, /* Right key */ + int desiredResult /* Correct answer */ +){ + u32 d1; /* Offset into aKey[] of next data element */ + u32 idx1; /* Offset into aKey[] of next header element */ + u32 szHdr1; /* Number of bytes in header */ + int i = 0; + int rc = 0; + const unsigned char *aKey1 = (const unsigned char *)pKey1; + KeyInfo *pKeyInfo; + Mem mem1; + + pKeyInfo = pPKey2->pKeyInfo; + if( pKeyInfo->db==0 ) return 1; + mem1.enc = pKeyInfo->enc; + mem1.db = pKeyInfo->db; + /* mem1.flags = 0; // Will be initialized by sqlite3VdbeSerialGet() */ + VVA_ONLY( mem1.szMalloc = 0; ) /* Only needed by assert() statements */ + + /* Compilers may complain that mem1.u.i is potentially uninitialized. + ** We could initialize it, as shown here, to silence those complaints. + ** But in fact, mem1.u.i will never actually be used uninitialized, and doing + ** the unnecessary initialization has a measurable negative performance + ** impact, since this routine is a very high runner. And so, we choose + ** to ignore the compiler warnings and leave this variable uninitialized. + */ + /* mem1.u.i = 0; // not needed, here to silence compiler warning */ + + idx1 = getVarint32(aKey1, szHdr1); + if( szHdr1>98307 ) return SQLITE_CORRUPT; + d1 = szHdr1; + assert( pKeyInfo->nAllField>=pPKey2->nField || CORRUPT_DB ); + assert( pKeyInfo->aSortFlags!=0 ); + assert( pKeyInfo->nKeyField>0 ); + assert( idx1<=szHdr1 || CORRUPT_DB ); + do{ + u32 serial_type1; + + /* Read the serial types for the next element in each key. */ + idx1 += getVarint32( aKey1+idx1, serial_type1 ); + + /* Verify that there is enough key space remaining to avoid + ** a buffer overread. The "d1+serial_type1+2" subexpression will + ** always be greater than or equal to the amount of required key space. + ** Use that approximation to avoid the more expensive call to + ** sqlite3VdbeSerialTypeLen() in the common case. + */ + if( d1+(u64)serial_type1+2>(u64)nKey1 + && d1+(u64)sqlite3VdbeSerialTypeLen(serial_type1)>(u64)nKey1 + ){ + break; + } + + /* Extract the values to be compared. + */ + d1 += sqlite3VdbeSerialGet(&aKey1[d1], serial_type1, &mem1); + + /* Do the comparison + */ + rc = sqlite3MemCompare(&mem1, &pPKey2->aMem[i], + pKeyInfo->nAllField>i ? pKeyInfo->aColl[i] : 0); + if( rc!=0 ){ + assert( mem1.szMalloc==0 ); /* See comment below */ + if( (pKeyInfo->aSortFlags[i] & KEYINFO_ORDER_BIGNULL) + && ((mem1.flags & MEM_Null) || (pPKey2->aMem[i].flags & MEM_Null)) + ){ + rc = -rc; + } + if( pKeyInfo->aSortFlags[i] & KEYINFO_ORDER_DESC ){ + rc = -rc; /* Invert the result for DESC sort order. */ + } + goto debugCompareEnd; + } + i++; + }while( idx1nField ); + + /* No memory allocation is ever used on mem1. Prove this using + ** the following assert(). If the assert() fails, it indicates a + ** memory leak and a need to call sqlite3VdbeMemRelease(&mem1). + */ + assert( mem1.szMalloc==0 ); + + /* rc==0 here means that one of the keys ran out of fields and + ** all the fields up to that point were equal. Return the default_rc + ** value. */ + rc = pPKey2->default_rc; + +debugCompareEnd: + if( desiredResult==0 && rc==0 ) return 1; + if( desiredResult<0 && rc<0 ) return 1; + if( desiredResult>0 && rc>0 ) return 1; + if( CORRUPT_DB ) return 1; + if( pKeyInfo->db->mallocFailed ) return 1; + return 0; +} +#endif + +#ifdef SQLITE_DEBUG +/* +** Count the number of fields (a.k.a. columns) in the record given by +** pKey,nKey. The verify that this count is less than or equal to the +** limit given by pKeyInfo->nAllField. +** +** If this constraint is not satisfied, it means that the high-speed +** vdbeRecordCompareInt() and vdbeRecordCompareString() routines will +** not work correctly. If this assert() ever fires, it probably means +** that the KeyInfo.nKeyField or KeyInfo.nAllField values were computed +** incorrectly. +*/ +static void vdbeAssertFieldCountWithinLimits( + int nKey, const void *pKey, /* The record to verify */ + const KeyInfo *pKeyInfo /* Compare size with this KeyInfo */ +){ + int nField = 0; + u32 szHdr; + u32 idx; + u32 notUsed; + const unsigned char *aKey = (const unsigned char*)pKey; + + if( CORRUPT_DB ) return; + idx = getVarint32(aKey, szHdr); + assert( nKey>=0 ); + assert( szHdr<=(u32)nKey ); + while( idxnAllField ); +} +#else +# define vdbeAssertFieldCountWithinLimits(A,B,C) +#endif + +/* +** Both *pMem1 and *pMem2 contain string values. Compare the two values +** using the collation sequence pColl. As usual, return a negative , zero +** or positive value if *pMem1 is less than, equal to or greater than +** *pMem2, respectively. Similar in spirit to "rc = (*pMem1) - (*pMem2);". +*/ +static int vdbeCompareMemString( + const Mem *pMem1, + const Mem *pMem2, + const CollSeq *pColl, + u8 *prcErr /* If an OOM occurs, set to SQLITE_NOMEM */ +){ + if( pMem1->enc==pColl->enc ){ + /* The strings are already in the correct encoding. Call the + ** comparison function directly */ + return pColl->xCmp(pColl->pUser,pMem1->n,pMem1->z,pMem2->n,pMem2->z); + }else{ + int rc; + const void *v1, *v2; + Mem c1; + Mem c2; + sqlite3VdbeMemInit(&c1, pMem1->db, MEM_Null); + sqlite3VdbeMemInit(&c2, pMem1->db, MEM_Null); + sqlite3VdbeMemShallowCopy(&c1, pMem1, MEM_Ephem); + sqlite3VdbeMemShallowCopy(&c2, pMem2, MEM_Ephem); + v1 = sqlite3ValueText((sqlite3_value*)&c1, pColl->enc); + v2 = sqlite3ValueText((sqlite3_value*)&c2, pColl->enc); + if( (v1==0 || v2==0) ){ + if( prcErr ) *prcErr = SQLITE_NOMEM_BKPT; + rc = 0; + }else{ + rc = pColl->xCmp(pColl->pUser, c1.n, v1, c2.n, v2); + } + sqlite3VdbeMemRelease(&c1); + sqlite3VdbeMemRelease(&c2); + return rc; + } +} + +/* +** The input pBlob is guaranteed to be a Blob that is not marked +** with MEM_Zero. Return true if it could be a zero-blob. +*/ +static int isAllZero(const char *z, int n){ + int i; + for(i=0; in; + int n2 = pB2->n; + + /* It is possible to have a Blob value that has some non-zero content + ** followed by zero content. But that only comes up for Blobs formed + ** by the OP_MakeRecord opcode, and such Blobs never get passed into + ** sqlite3MemCompare(). */ + assert( (pB1->flags & MEM_Zero)==0 || n1==0 ); + assert( (pB2->flags & MEM_Zero)==0 || n2==0 ); + + if( (pB1->flags|pB2->flags) & MEM_Zero ){ + if( pB1->flags & pB2->flags & MEM_Zero ){ + return pB1->u.nZero - pB2->u.nZero; + }else if( pB1->flags & MEM_Zero ){ + if( !isAllZero(pB2->z, pB2->n) ) return -1; + return pB1->u.nZero - n2; + }else{ + if( !isAllZero(pB1->z, pB1->n) ) return +1; + return n1 - pB2->u.nZero; + } + } + c = memcmp(pB1->z, pB2->z, n1>n2 ? n2 : n1); + if( c ) return c; + return n1 - n2; +} + +/* +** Do a comparison between a 64-bit signed integer and a 64-bit floating-point +** number. Return negative, zero, or positive if the first (i64) is less than, +** equal to, or greater than the second (double). +*/ +static int sqlite3IntFloatCompare(i64 i, double r){ + if( sizeof(LONGDOUBLE_TYPE)>8 ){ + LONGDOUBLE_TYPE x = (LONGDOUBLE_TYPE)i; + if( xr ) return +1; + return 0; + }else{ + i64 y; + double s; + if( r<-9223372036854775808.0 ) return +1; + if( r>=9223372036854775808.0 ) return -1; + y = (i64)r; + if( iy ) return +1; + s = (double)i; + if( sr ) return +1; + return 0; + } +} + +/* +** Compare the values contained by the two memory cells, returning +** negative, zero or positive if pMem1 is less than, equal to, or greater +** than pMem2. Sorting order is NULL's first, followed by numbers (integers +** and reals) sorted numerically, followed by text ordered by the collating +** sequence pColl and finally blob's ordered by memcmp(). +** +** Two NULL values are considered equal by this function. +*/ +SQLITE_PRIVATE int sqlite3MemCompare(const Mem *pMem1, const Mem *pMem2, const CollSeq *pColl){ + int f1, f2; + int combined_flags; + + f1 = pMem1->flags; + f2 = pMem2->flags; + combined_flags = f1|f2; + assert( !sqlite3VdbeMemIsRowSet(pMem1) && !sqlite3VdbeMemIsRowSet(pMem2) ); + + /* If one value is NULL, it is less than the other. If both values + ** are NULL, return 0. + */ + if( combined_flags&MEM_Null ){ + return (f2&MEM_Null) - (f1&MEM_Null); + } + + /* At least one of the two values is a number + */ + if( combined_flags&(MEM_Int|MEM_Real|MEM_IntReal) ){ + testcase( combined_flags & MEM_Int ); + testcase( combined_flags & MEM_Real ); + testcase( combined_flags & MEM_IntReal ); + if( (f1 & f2 & (MEM_Int|MEM_IntReal))!=0 ){ + testcase( f1 & f2 & MEM_Int ); + testcase( f1 & f2 & MEM_IntReal ); + if( pMem1->u.i < pMem2->u.i ) return -1; + if( pMem1->u.i > pMem2->u.i ) return +1; + return 0; + } + if( (f1 & f2 & MEM_Real)!=0 ){ + if( pMem1->u.r < pMem2->u.r ) return -1; + if( pMem1->u.r > pMem2->u.r ) return +1; + return 0; + } + if( (f1&(MEM_Int|MEM_IntReal))!=0 ){ + testcase( f1 & MEM_Int ); + testcase( f1 & MEM_IntReal ); + if( (f2&MEM_Real)!=0 ){ + return sqlite3IntFloatCompare(pMem1->u.i, pMem2->u.r); + }else if( (f2&(MEM_Int|MEM_IntReal))!=0 ){ + if( pMem1->u.i < pMem2->u.i ) return -1; + if( pMem1->u.i > pMem2->u.i ) return +1; + return 0; + }else{ + return -1; + } + } + if( (f1&MEM_Real)!=0 ){ + if( (f2&(MEM_Int|MEM_IntReal))!=0 ){ + testcase( f2 & MEM_Int ); + testcase( f2 & MEM_IntReal ); + return -sqlite3IntFloatCompare(pMem2->u.i, pMem1->u.r); + }else{ + return -1; + } + } + return +1; + } + + /* If one value is a string and the other is a blob, the string is less. + ** If both are strings, compare using the collating functions. + */ + if( combined_flags&MEM_Str ){ + if( (f1 & MEM_Str)==0 ){ + return 1; + } + if( (f2 & MEM_Str)==0 ){ + return -1; + } + + assert( pMem1->enc==pMem2->enc || pMem1->db->mallocFailed ); + assert( pMem1->enc==SQLITE_UTF8 || + pMem1->enc==SQLITE_UTF16LE || pMem1->enc==SQLITE_UTF16BE ); + + /* The collation sequence must be defined at this point, even if + ** the user deletes the collation sequence after the vdbe program is + ** compiled (this was not always the case). + */ + assert( !pColl || pColl->xCmp ); + + if( pColl ){ + return vdbeCompareMemString(pMem1, pMem2, pColl, 0); + } + /* If a NULL pointer was passed as the collate function, fall through + ** to the blob case and use memcmp(). */ + } + + /* Both values must be blobs. Compare using memcmp(). */ + return sqlite3BlobCompare(pMem1, pMem2); +} + + +/* +** The first argument passed to this function is a serial-type that +** corresponds to an integer - all values between 1 and 9 inclusive +** except 7. The second points to a buffer containing an integer value +** serialized according to serial_type. This function deserializes +** and returns the value. +*/ +static i64 vdbeRecordDecodeInt(u32 serial_type, const u8 *aKey){ + u32 y; + assert( CORRUPT_DB || (serial_type>=1 && serial_type<=9 && serial_type!=7) ); + switch( serial_type ){ + case 0: + case 1: + testcase( aKey[0]&0x80 ); + return ONE_BYTE_INT(aKey); + case 2: + testcase( aKey[0]&0x80 ); + return TWO_BYTE_INT(aKey); + case 3: + testcase( aKey[0]&0x80 ); + return THREE_BYTE_INT(aKey); + case 4: { + testcase( aKey[0]&0x80 ); + y = FOUR_BYTE_UINT(aKey); + return (i64)*(int*)&y; + } + case 5: { + testcase( aKey[0]&0x80 ); + return FOUR_BYTE_UINT(aKey+2) + (((i64)1)<<32)*TWO_BYTE_INT(aKey); + } + case 6: { + u64 x = FOUR_BYTE_UINT(aKey); + testcase( aKey[0]&0x80 ); + x = (x<<32) | FOUR_BYTE_UINT(aKey+4); + return (i64)*(i64*)&x; + } + } + + return (serial_type - 8); +} + +/* +** This function compares the two table rows or index records +** specified by {nKey1, pKey1} and pPKey2. It returns a negative, zero +** or positive integer if key1 is less than, equal to or +** greater than key2. The {nKey1, pKey1} key must be a blob +** created by the OP_MakeRecord opcode of the VDBE. The pPKey2 +** key must be a parsed key such as obtained from +** sqlite3VdbeParseRecord. +** +** If argument bSkip is non-zero, it is assumed that the caller has already +** determined that the first fields of the keys are equal. +** +** Key1 and Key2 do not have to contain the same number of fields. If all +** fields that appear in both keys are equal, then pPKey2->default_rc is +** returned. +** +** If database corruption is discovered, set pPKey2->errCode to +** SQLITE_CORRUPT and return 0. If an OOM error is encountered, +** pPKey2->errCode is set to SQLITE_NOMEM and, if it is not NULL, the +** malloc-failed flag set on database handle (pPKey2->pKeyInfo->db). +*/ +SQLITE_PRIVATE int sqlite3VdbeRecordCompareWithSkip( + int nKey1, const void *pKey1, /* Left key */ + UnpackedRecord *pPKey2, /* Right key */ + int bSkip /* If true, skip the first field */ +){ + u32 d1; /* Offset into aKey[] of next data element */ + int i; /* Index of next field to compare */ + u32 szHdr1; /* Size of record header in bytes */ + u32 idx1; /* Offset of first type in header */ + int rc = 0; /* Return value */ + Mem *pRhs = pPKey2->aMem; /* Next field of pPKey2 to compare */ + KeyInfo *pKeyInfo; + const unsigned char *aKey1 = (const unsigned char *)pKey1; + Mem mem1; + + /* If bSkip is true, then the caller has already determined that the first + ** two elements in the keys are equal. Fix the various stack variables so + ** that this routine begins comparing at the second field. */ + if( bSkip ){ + u32 s1; + idx1 = 1 + getVarint32(&aKey1[1], s1); + szHdr1 = aKey1[0]; + d1 = szHdr1 + sqlite3VdbeSerialTypeLen(s1); + i = 1; + pRhs++; + }else{ + idx1 = getVarint32(aKey1, szHdr1); + d1 = szHdr1; + i = 0; + } + if( d1>(unsigned)nKey1 ){ + pPKey2->errCode = (u8)SQLITE_CORRUPT_BKPT; + return 0; /* Corruption */ + } + + VVA_ONLY( mem1.szMalloc = 0; ) /* Only needed by assert() statements */ + assert( pPKey2->pKeyInfo->nAllField>=pPKey2->nField + || CORRUPT_DB ); + assert( pPKey2->pKeyInfo->aSortFlags!=0 ); + assert( pPKey2->pKeyInfo->nKeyField>0 ); + assert( idx1<=szHdr1 || CORRUPT_DB ); + do{ + u32 serial_type; + + /* RHS is an integer */ + if( pRhs->flags & (MEM_Int|MEM_IntReal) ){ + testcase( pRhs->flags & MEM_Int ); + testcase( pRhs->flags & MEM_IntReal ); + serial_type = aKey1[idx1]; + testcase( serial_type==12 ); + if( serial_type>=10 ){ + rc = +1; + }else if( serial_type==0 ){ + rc = -1; + }else if( serial_type==7 ){ + sqlite3VdbeSerialGet(&aKey1[d1], serial_type, &mem1); + rc = -sqlite3IntFloatCompare(pRhs->u.i, mem1.u.r); + }else{ + i64 lhs = vdbeRecordDecodeInt(serial_type, &aKey1[d1]); + i64 rhs = pRhs->u.i; + if( lhsrhs ){ + rc = +1; + } + } + } + + /* RHS is real */ + else if( pRhs->flags & MEM_Real ){ + serial_type = aKey1[idx1]; + if( serial_type>=10 ){ + /* Serial types 12 or greater are strings and blobs (greater than + ** numbers). Types 10 and 11 are currently "reserved for future + ** use", so it doesn't really matter what the results of comparing + ** them to numberic values are. */ + rc = +1; + }else if( serial_type==0 ){ + rc = -1; + }else{ + sqlite3VdbeSerialGet(&aKey1[d1], serial_type, &mem1); + if( serial_type==7 ){ + if( mem1.u.ru.r ){ + rc = -1; + }else if( mem1.u.r>pRhs->u.r ){ + rc = +1; + } + }else{ + rc = sqlite3IntFloatCompare(mem1.u.i, pRhs->u.r); + } + } + } + + /* RHS is a string */ + else if( pRhs->flags & MEM_Str ){ + getVarint32(&aKey1[idx1], serial_type); + testcase( serial_type==12 ); + if( serial_type<12 ){ + rc = -1; + }else if( !(serial_type & 0x01) ){ + rc = +1; + }else{ + mem1.n = (serial_type - 12) / 2; + testcase( (d1+mem1.n)==(unsigned)nKey1 ); + testcase( (d1+mem1.n+1)==(unsigned)nKey1 ); + if( (d1+mem1.n) > (unsigned)nKey1 + || (pKeyInfo = pPKey2->pKeyInfo)->nAllField<=i + ){ + pPKey2->errCode = (u8)SQLITE_CORRUPT_BKPT; + return 0; /* Corruption */ + }else if( pKeyInfo->aColl[i] ){ + mem1.enc = pKeyInfo->enc; + mem1.db = pKeyInfo->db; + mem1.flags = MEM_Str; + mem1.z = (char*)&aKey1[d1]; + rc = vdbeCompareMemString( + &mem1, pRhs, pKeyInfo->aColl[i], &pPKey2->errCode + ); + }else{ + int nCmp = MIN(mem1.n, pRhs->n); + rc = memcmp(&aKey1[d1], pRhs->z, nCmp); + if( rc==0 ) rc = mem1.n - pRhs->n; + } + } + } + + /* RHS is a blob */ + else if( pRhs->flags & MEM_Blob ){ + assert( (pRhs->flags & MEM_Zero)==0 || pRhs->n==0 ); + getVarint32(&aKey1[idx1], serial_type); + testcase( serial_type==12 ); + if( serial_type<12 || (serial_type & 0x01) ){ + rc = -1; + }else{ + int nStr = (serial_type - 12) / 2; + testcase( (d1+nStr)==(unsigned)nKey1 ); + testcase( (d1+nStr+1)==(unsigned)nKey1 ); + if( (d1+nStr) > (unsigned)nKey1 ){ + pPKey2->errCode = (u8)SQLITE_CORRUPT_BKPT; + return 0; /* Corruption */ + }else if( pRhs->flags & MEM_Zero ){ + if( !isAllZero((const char*)&aKey1[d1],nStr) ){ + rc = 1; + }else{ + rc = nStr - pRhs->u.nZero; + } + }else{ + int nCmp = MIN(nStr, pRhs->n); + rc = memcmp(&aKey1[d1], pRhs->z, nCmp); + if( rc==0 ) rc = nStr - pRhs->n; + } + } + } + + /* RHS is null */ + else{ + serial_type = aKey1[idx1]; + rc = (serial_type!=0); + } + + if( rc!=0 ){ + int sortFlags = pPKey2->pKeyInfo->aSortFlags[i]; + if( sortFlags ){ + if( (sortFlags & KEYINFO_ORDER_BIGNULL)==0 + || ((sortFlags & KEYINFO_ORDER_DESC) + !=(serial_type==0 || (pRhs->flags&MEM_Null))) + ){ + rc = -rc; + } + } + assert( vdbeRecordCompareDebug(nKey1, pKey1, pPKey2, rc) ); + assert( mem1.szMalloc==0 ); /* See comment below */ + return rc; + } + + i++; + if( i==pPKey2->nField ) break; + pRhs++; + d1 += sqlite3VdbeSerialTypeLen(serial_type); + idx1 += sqlite3VarintLen(serial_type); + }while( idx1<(unsigned)szHdr1 && d1<=(unsigned)nKey1 ); + + /* No memory allocation is ever used on mem1. Prove this using + ** the following assert(). If the assert() fails, it indicates a + ** memory leak and a need to call sqlite3VdbeMemRelease(&mem1). */ + assert( mem1.szMalloc==0 ); + + /* rc==0 here means that one or both of the keys ran out of fields and + ** all the fields up to that point were equal. Return the default_rc + ** value. */ + assert( CORRUPT_DB + || vdbeRecordCompareDebug(nKey1, pKey1, pPKey2, pPKey2->default_rc) + || pPKey2->pKeyInfo->db->mallocFailed + ); + pPKey2->eqSeen = 1; + return pPKey2->default_rc; +} +SQLITE_PRIVATE int sqlite3VdbeRecordCompare( + int nKey1, const void *pKey1, /* Left key */ + UnpackedRecord *pPKey2 /* Right key */ +){ + return sqlite3VdbeRecordCompareWithSkip(nKey1, pKey1, pPKey2, 0); +} + + +/* +** This function is an optimized version of sqlite3VdbeRecordCompare() +** that (a) the first field of pPKey2 is an integer, and (b) the +** size-of-header varint at the start of (pKey1/nKey1) fits in a single +** byte (i.e. is less than 128). +** +** To avoid concerns about buffer overreads, this routine is only used +** on schemas where the maximum valid header size is 63 bytes or less. +*/ +static int vdbeRecordCompareInt( + int nKey1, const void *pKey1, /* Left key */ + UnpackedRecord *pPKey2 /* Right key */ +){ + const u8 *aKey = &((const u8*)pKey1)[*(const u8*)pKey1 & 0x3F]; + int serial_type = ((const u8*)pKey1)[1]; + int res; + u32 y; + u64 x; + i64 v; + i64 lhs; + + vdbeAssertFieldCountWithinLimits(nKey1, pKey1, pPKey2->pKeyInfo); + assert( (*(u8*)pKey1)<=0x3F || CORRUPT_DB ); + switch( serial_type ){ + case 1: { /* 1-byte signed integer */ + lhs = ONE_BYTE_INT(aKey); + testcase( lhs<0 ); + break; + } + case 2: { /* 2-byte signed integer */ + lhs = TWO_BYTE_INT(aKey); + testcase( lhs<0 ); + break; + } + case 3: { /* 3-byte signed integer */ + lhs = THREE_BYTE_INT(aKey); + testcase( lhs<0 ); + break; + } + case 4: { /* 4-byte signed integer */ + y = FOUR_BYTE_UINT(aKey); + lhs = (i64)*(int*)&y; + testcase( lhs<0 ); + break; + } + case 5: { /* 6-byte signed integer */ + lhs = FOUR_BYTE_UINT(aKey+2) + (((i64)1)<<32)*TWO_BYTE_INT(aKey); + testcase( lhs<0 ); + break; + } + case 6: { /* 8-byte signed integer */ + x = FOUR_BYTE_UINT(aKey); + x = (x<<32) | FOUR_BYTE_UINT(aKey+4); + lhs = *(i64*)&x; + testcase( lhs<0 ); + break; + } + case 8: + lhs = 0; + break; + case 9: + lhs = 1; + break; + + /* This case could be removed without changing the results of running + ** this code. Including it causes gcc to generate a faster switch + ** statement (since the range of switch targets now starts at zero and + ** is contiguous) but does not cause any duplicate code to be generated + ** (as gcc is clever enough to combine the two like cases). Other + ** compilers might be similar. */ + case 0: case 7: + return sqlite3VdbeRecordCompare(nKey1, pKey1, pPKey2); + + default: + return sqlite3VdbeRecordCompare(nKey1, pKey1, pPKey2); + } + + v = pPKey2->aMem[0].u.i; + if( v>lhs ){ + res = pPKey2->r1; + }else if( vr2; + }else if( pPKey2->nField>1 ){ + /* The first fields of the two keys are equal. Compare the trailing + ** fields. */ + res = sqlite3VdbeRecordCompareWithSkip(nKey1, pKey1, pPKey2, 1); + }else{ + /* The first fields of the two keys are equal and there are no trailing + ** fields. Return pPKey2->default_rc in this case. */ + res = pPKey2->default_rc; + pPKey2->eqSeen = 1; + } + + assert( vdbeRecordCompareDebug(nKey1, pKey1, pPKey2, res) ); + return res; +} + +/* +** This function is an optimized version of sqlite3VdbeRecordCompare() +** that (a) the first field of pPKey2 is a string, that (b) the first field +** uses the collation sequence BINARY and (c) that the size-of-header varint +** at the start of (pKey1/nKey1) fits in a single byte. +*/ +static int vdbeRecordCompareString( + int nKey1, const void *pKey1, /* Left key */ + UnpackedRecord *pPKey2 /* Right key */ +){ + const u8 *aKey1 = (const u8*)pKey1; + int serial_type; + int res; + + assert( pPKey2->aMem[0].flags & MEM_Str ); + vdbeAssertFieldCountWithinLimits(nKey1, pKey1, pPKey2->pKeyInfo); + getVarint32(&aKey1[1], serial_type); + if( serial_type<12 ){ + res = pPKey2->r1; /* (pKey1/nKey1) is a number or a null */ + }else if( !(serial_type & 0x01) ){ + res = pPKey2->r2; /* (pKey1/nKey1) is a blob */ + }else{ + int nCmp; + int nStr; + int szHdr = aKey1[0]; + + nStr = (serial_type-12) / 2; + if( (szHdr + nStr) > nKey1 ){ + pPKey2->errCode = (u8)SQLITE_CORRUPT_BKPT; + return 0; /* Corruption */ + } + nCmp = MIN( pPKey2->aMem[0].n, nStr ); + res = memcmp(&aKey1[szHdr], pPKey2->aMem[0].z, nCmp); + + if( res>0 ){ + res = pPKey2->r2; + }else if( res<0 ){ + res = pPKey2->r1; + }else{ + res = nStr - pPKey2->aMem[0].n; + if( res==0 ){ + if( pPKey2->nField>1 ){ + res = sqlite3VdbeRecordCompareWithSkip(nKey1, pKey1, pPKey2, 1); + }else{ + res = pPKey2->default_rc; + pPKey2->eqSeen = 1; + } + }else if( res>0 ){ + res = pPKey2->r2; + }else{ + res = pPKey2->r1; + } + } + } + + assert( vdbeRecordCompareDebug(nKey1, pKey1, pPKey2, res) + || CORRUPT_DB + || pPKey2->pKeyInfo->db->mallocFailed + ); + return res; +} + +/* +** Return a pointer to an sqlite3VdbeRecordCompare() compatible function +** suitable for comparing serialized records to the unpacked record passed +** as the only argument. +*/ +SQLITE_PRIVATE RecordCompare sqlite3VdbeFindCompare(UnpackedRecord *p){ + /* varintRecordCompareInt() and varintRecordCompareString() both assume + ** that the size-of-header varint that occurs at the start of each record + ** fits in a single byte (i.e. is 127 or less). varintRecordCompareInt() + ** also assumes that it is safe to overread a buffer by at least the + ** maximum possible legal header size plus 8 bytes. Because there is + ** guaranteed to be at least 74 (but not 136) bytes of padding following each + ** buffer passed to varintRecordCompareInt() this makes it convenient to + ** limit the size of the header to 64 bytes in cases where the first field + ** is an integer. + ** + ** The easiest way to enforce this limit is to consider only records with + ** 13 fields or less. If the first field is an integer, the maximum legal + ** header size is (12*5 + 1 + 1) bytes. */ + if( p->pKeyInfo->nAllField<=13 ){ + int flags = p->aMem[0].flags; + if( p->pKeyInfo->aSortFlags[0] ){ + if( p->pKeyInfo->aSortFlags[0] & KEYINFO_ORDER_BIGNULL ){ + return sqlite3VdbeRecordCompare; + } + p->r1 = 1; + p->r2 = -1; + }else{ + p->r1 = -1; + p->r2 = 1; + } + if( (flags & MEM_Int) ){ + return vdbeRecordCompareInt; + } + testcase( flags & MEM_Real ); + testcase( flags & MEM_Null ); + testcase( flags & MEM_Blob ); + if( (flags & (MEM_Real|MEM_IntReal|MEM_Null|MEM_Blob))==0 + && p->pKeyInfo->aColl[0]==0 + ){ + assert( flags & MEM_Str ); + return vdbeRecordCompareString; + } + } + + return sqlite3VdbeRecordCompare; +} + +/* +** pCur points at an index entry created using the OP_MakeRecord opcode. +** Read the rowid (the last field in the record) and store it in *rowid. +** Return SQLITE_OK if everything works, or an error code otherwise. +** +** pCur might be pointing to text obtained from a corrupt database file. +** So the content cannot be trusted. Do appropriate checks on the content. +*/ +SQLITE_PRIVATE int sqlite3VdbeIdxRowid(sqlite3 *db, BtCursor *pCur, i64 *rowid){ + i64 nCellKey = 0; + int rc; + u32 szHdr; /* Size of the header */ + u32 typeRowid; /* Serial type of the rowid */ + u32 lenRowid; /* Size of the rowid */ + Mem m, v; + + /* Get the size of the index entry. Only indices entries of less + ** than 2GiB are support - anything large must be database corruption. + ** Any corruption is detected in sqlite3BtreeParseCellPtr(), though, so + ** this code can safely assume that nCellKey is 32-bits + */ + assert( sqlite3BtreeCursorIsValid(pCur) ); + nCellKey = sqlite3BtreePayloadSize(pCur); + assert( (nCellKey & SQLITE_MAX_U32)==(u64)nCellKey ); + + /* Read in the complete content of the index entry */ + sqlite3VdbeMemInit(&m, db, 0); + rc = sqlite3VdbeMemFromBtree(pCur, 0, (u32)nCellKey, &m); + if( rc ){ + return rc; + } + + /* The index entry must begin with a header size */ + (void)getVarint32((u8*)m.z, szHdr); + testcase( szHdr==3 ); + testcase( szHdr==m.n ); + testcase( szHdr>0x7fffffff ); + assert( m.n>=0 ); + if( unlikely(szHdr<3 || szHdr>(unsigned)m.n) ){ + goto idx_rowid_corruption; + } + + /* The last field of the index should be an integer - the ROWID. + ** Verify that the last entry really is an integer. */ + (void)getVarint32((u8*)&m.z[szHdr-1], typeRowid); + testcase( typeRowid==1 ); + testcase( typeRowid==2 ); + testcase( typeRowid==3 ); + testcase( typeRowid==4 ); + testcase( typeRowid==5 ); + testcase( typeRowid==6 ); + testcase( typeRowid==8 ); + testcase( typeRowid==9 ); + if( unlikely(typeRowid<1 || typeRowid>9 || typeRowid==7) ){ + goto idx_rowid_corruption; + } + lenRowid = sqlite3SmallTypeSizes[typeRowid]; + testcase( (u32)m.n==szHdr+lenRowid ); + if( unlikely((u32)m.neCurType==CURTYPE_BTREE ); + pCur = pC->uc.pCursor; + assert( sqlite3BtreeCursorIsValid(pCur) ); + nCellKey = sqlite3BtreePayloadSize(pCur); + /* nCellKey will always be between 0 and 0xffffffff because of the way + ** that btreeParseCellPtr() and sqlite3GetVarint32() are implemented */ + if( nCellKey<=0 || nCellKey>0x7fffffff ){ + *res = 0; + return SQLITE_CORRUPT_BKPT; + } + sqlite3VdbeMemInit(&m, db, 0); + rc = sqlite3VdbeMemFromBtree(pCur, 0, (u32)nCellKey, &m); + if( rc ){ + return rc; + } + *res = sqlite3VdbeRecordCompareWithSkip(m.n, m.z, pUnpacked, 0); + sqlite3VdbeMemRelease(&m); + return SQLITE_OK; +} + +/* +** This routine sets the value to be returned by subsequent calls to +** sqlite3_changes() on the database handle 'db'. +*/ +SQLITE_PRIVATE void sqlite3VdbeSetChanges(sqlite3 *db, int nChange){ + assert( sqlite3_mutex_held(db->mutex) ); + db->nChange = nChange; + db->nTotalChange += nChange; +} + +/* +** Set a flag in the vdbe to update the change counter when it is finalised +** or reset. +*/ +SQLITE_PRIVATE void sqlite3VdbeCountChanges(Vdbe *v){ + v->changeCntOn = 1; +} + +/* +** Mark every prepared statement associated with a database connection +** as expired. +** +** An expired statement means that recompilation of the statement is +** recommend. Statements expire when things happen that make their +** programs obsolete. Removing user-defined functions or collating +** sequences, or changing an authorization function are the types of +** things that make prepared statements obsolete. +** +** If iCode is 1, then expiration is advisory. The statement should +** be reprepared before being restarted, but if it is already running +** it is allowed to run to completion. +** +** Internally, this function just sets the Vdbe.expired flag on all +** prepared statements. The flag is set to 1 for an immediate expiration +** and set to 2 for an advisory expiration. +*/ +SQLITE_PRIVATE void sqlite3ExpirePreparedStatements(sqlite3 *db, int iCode){ + Vdbe *p; + for(p = db->pVdbe; p; p=p->pNext){ + p->expired = iCode+1; + } +} + +/* +** Return the database associated with the Vdbe. +*/ +SQLITE_PRIVATE sqlite3 *sqlite3VdbeDb(Vdbe *v){ + return v->db; +} + +/* +** Return the SQLITE_PREPARE flags for a Vdbe. +*/ +SQLITE_PRIVATE u8 sqlite3VdbePrepareFlags(Vdbe *v){ + return v->prepFlags; +} + +/* +** Return a pointer to an sqlite3_value structure containing the value bound +** parameter iVar of VM v. Except, if the value is an SQL NULL, return +** 0 instead. Unless it is NULL, apply affinity aff (one of the SQLITE_AFF_* +** constants) to the value before returning it. +** +** The returned value must be freed by the caller using sqlite3ValueFree(). +*/ +SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe *v, int iVar, u8 aff){ + assert( iVar>0 ); + if( v ){ + Mem *pMem = &v->aVar[iVar-1]; + assert( (v->db->flags & SQLITE_EnableQPSG)==0 ); + if( 0==(pMem->flags & MEM_Null) ){ + sqlite3_value *pRet = sqlite3ValueNew(v->db); + if( pRet ){ + sqlite3VdbeMemCopy((Mem *)pRet, pMem); + sqlite3ValueApplyAffinity(pRet, aff, SQLITE_UTF8); + } + return pRet; + } + } + return 0; +} + +/* +** Configure SQL variable iVar so that binding a new value to it signals +** to sqlite3_reoptimize() that re-preparing the statement may result +** in a better query plan. +*/ +SQLITE_PRIVATE void sqlite3VdbeSetVarmask(Vdbe *v, int iVar){ + assert( iVar>0 ); + assert( (v->db->flags & SQLITE_EnableQPSG)==0 ); + if( iVar>=32 ){ + v->expmask |= 0x80000000; + }else{ + v->expmask |= ((u32)1 << (iVar-1)); + } +} + +/* +** Cause a function to throw an error if it was call from OP_PureFunc +** rather than OP_Function. +** +** OP_PureFunc means that the function must be deterministic, and should +** throw an error if it is given inputs that would make it non-deterministic. +** This routine is invoked by date/time functions that use non-deterministic +** features such as 'now'. +*/ +SQLITE_PRIVATE int sqlite3NotPureFunc(sqlite3_context *pCtx){ +#ifdef SQLITE_ENABLE_STAT4 + if( pCtx->pVdbe==0 ) return 1; +#endif + if( pCtx->pVdbe->aOp[pCtx->iOp].opcode==OP_PureFunc ){ + sqlite3_result_error(pCtx, + "non-deterministic function in index expression or CHECK constraint", + -1); + return 0; + } + return 1; +} + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* +** Transfer error message text from an sqlite3_vtab.zErrMsg (text stored +** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored +** in memory obtained from sqlite3DbMalloc). +*/ +SQLITE_PRIVATE void sqlite3VtabImportErrmsg(Vdbe *p, sqlite3_vtab *pVtab){ + if( pVtab->zErrMsg ){ + sqlite3 *db = p->db; + sqlite3DbFree(db, p->zErrMsg); + p->zErrMsg = sqlite3DbStrDup(db, pVtab->zErrMsg); + sqlite3_free(pVtab->zErrMsg); + pVtab->zErrMsg = 0; + } +} +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + +/* +** If the second argument is not NULL, release any allocations associated +** with the memory cells in the p->aMem[] array. Also free the UnpackedRecord +** structure itself, using sqlite3DbFree(). +** +** This function is used to free UnpackedRecord structures allocated by +** the vdbeUnpackRecord() function found in vdbeapi.c. +*/ +static void vdbeFreeUnpacked(sqlite3 *db, int nField, UnpackedRecord *p){ + if( p ){ + int i; + for(i=0; iaMem[i]; + if( pMem->zMalloc ) sqlite3VdbeMemRelease(pMem); + } + sqlite3DbFreeNN(db, p); + } +} +#endif /* SQLITE_ENABLE_PREUPDATE_HOOK */ + +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK +/* +** Invoke the pre-update hook. If this is an UPDATE or DELETE pre-update call, +** then cursor passed as the second argument should point to the row about +** to be update or deleted. If the application calls sqlite3_preupdate_old(), +** the required value will be read from the row the cursor points to. +*/ +SQLITE_PRIVATE void sqlite3VdbePreUpdateHook( + Vdbe *v, /* Vdbe pre-update hook is invoked by */ + VdbeCursor *pCsr, /* Cursor to grab old.* values from */ + int op, /* SQLITE_INSERT, UPDATE or DELETE */ + const char *zDb, /* Database name */ + Table *pTab, /* Modified table */ + i64 iKey1, /* Initial key value */ + int iReg /* Register for new.* record */ +){ + sqlite3 *db = v->db; + i64 iKey2; + PreUpdate preupdate; + const char *zTbl = pTab->zName; + static const u8 fakeSortOrder = 0; + + assert( db->pPreUpdate==0 ); + memset(&preupdate, 0, sizeof(PreUpdate)); + if( HasRowid(pTab)==0 ){ + iKey1 = iKey2 = 0; + preupdate.pPk = sqlite3PrimaryKeyIndex(pTab); + }else{ + if( op==SQLITE_UPDATE ){ + iKey2 = v->aMem[iReg].u.i; + }else{ + iKey2 = iKey1; + } + } + + assert( pCsr->nField==pTab->nCol + || (pCsr->nField==pTab->nCol+1 && op==SQLITE_DELETE && iReg==-1) + ); + + preupdate.v = v; + preupdate.pCsr = pCsr; + preupdate.op = op; + preupdate.iNewReg = iReg; + preupdate.keyinfo.db = db; + preupdate.keyinfo.enc = ENC(db); + preupdate.keyinfo.nKeyField = pTab->nCol; + preupdate.keyinfo.aSortFlags = (u8*)&fakeSortOrder; + preupdate.iKey1 = iKey1; + preupdate.iKey2 = iKey2; + preupdate.pTab = pTab; + + db->pPreUpdate = &preupdate; + db->xPreUpdateCallback(db->pPreUpdateArg, db, op, zDb, zTbl, iKey1, iKey2); + db->pPreUpdate = 0; + sqlite3DbFree(db, preupdate.aRecord); + vdbeFreeUnpacked(db, preupdate.keyinfo.nKeyField+1, preupdate.pUnpacked); + vdbeFreeUnpacked(db, preupdate.keyinfo.nKeyField+1, preupdate.pNewUnpacked); + if( preupdate.aNew ){ + int i; + for(i=0; inField; i++){ + sqlite3VdbeMemRelease(&preupdate.aNew[i]); + } + sqlite3DbFreeNN(db, preupdate.aNew); + } +} +#endif /* SQLITE_ENABLE_PREUPDATE_HOOK */ + +/************** End of vdbeaux.c *********************************************/ +/************** Begin file vdbeapi.c *****************************************/ +/* +** 2004 May 26 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains code use to implement APIs that are part of the +** VDBE. +*/ +/* #include "sqliteInt.h" */ +/* #include "vdbeInt.h" */ + +#ifndef SQLITE_OMIT_DEPRECATED +/* +** Return TRUE (non-zero) of the statement supplied as an argument needs +** to be recompiled. A statement needs to be recompiled whenever the +** execution environment changes in a way that would alter the program +** that sqlite3_prepare() generates. For example, if new functions or +** collating sequences are registered or if an authorizer function is +** added or changed. +*/ +SQLITE_API int sqlite3_expired(sqlite3_stmt *pStmt){ + Vdbe *p = (Vdbe*)pStmt; + return p==0 || p->expired; +} +#endif + +/* +** Check on a Vdbe to make sure it has not been finalized. Log +** an error and return true if it has been finalized (or is otherwise +** invalid). Return false if it is ok. +*/ +static int vdbeSafety(Vdbe *p){ + if( p->db==0 ){ + sqlite3_log(SQLITE_MISUSE, "API called with finalized prepared statement"); + return 1; + }else{ + return 0; + } +} +static int vdbeSafetyNotNull(Vdbe *p){ + if( p==0 ){ + sqlite3_log(SQLITE_MISUSE, "API called with NULL prepared statement"); + return 1; + }else{ + return vdbeSafety(p); + } +} + +#ifndef SQLITE_OMIT_TRACE +/* +** Invoke the profile callback. This routine is only called if we already +** know that the profile callback is defined and needs to be invoked. +*/ +static SQLITE_NOINLINE void invokeProfileCallback(sqlite3 *db, Vdbe *p){ + sqlite3_int64 iNow; + sqlite3_int64 iElapse; + assert( p->startTime>0 ); + assert( (db->mTrace & (SQLITE_TRACE_PROFILE|SQLITE_TRACE_XPROFILE))!=0 ); + assert( db->init.busy==0 ); + assert( p->zSql!=0 ); + sqlite3OsCurrentTimeInt64(db->pVfs, &iNow); + iElapse = (iNow - p->startTime)*1000000; +#ifndef SQLITE_OMIT_DEPRECATED + if( db->xProfile ){ + db->xProfile(db->pProfileArg, p->zSql, iElapse); + } +#endif + if( db->mTrace & SQLITE_TRACE_PROFILE ){ + db->xTrace(SQLITE_TRACE_PROFILE, db->pTraceArg, p, (void*)&iElapse); + } + p->startTime = 0; +} +/* +** The checkProfileCallback(DB,P) macro checks to see if a profile callback +** is needed, and it invokes the callback if it is needed. +*/ +# define checkProfileCallback(DB,P) \ + if( ((P)->startTime)>0 ){ invokeProfileCallback(DB,P); } +#else +# define checkProfileCallback(DB,P) /*no-op*/ +#endif + +/* +** The following routine destroys a virtual machine that is created by +** the sqlite3_compile() routine. The integer returned is an SQLITE_ +** success/failure code that describes the result of executing the virtual +** machine. +** +** This routine sets the error code and string returned by +** sqlite3_errcode(), sqlite3_errmsg() and sqlite3_errmsg16(). +*/ +SQLITE_API int sqlite3_finalize(sqlite3_stmt *pStmt){ + int rc; + if( pStmt==0 ){ + /* IMPLEMENTATION-OF: R-57228-12904 Invoking sqlite3_finalize() on a NULL + ** pointer is a harmless no-op. */ + rc = SQLITE_OK; + }else{ + Vdbe *v = (Vdbe*)pStmt; + sqlite3 *db = v->db; + if( vdbeSafety(v) ) return SQLITE_MISUSE_BKPT; + sqlite3_mutex_enter(db->mutex); + checkProfileCallback(db, v); + rc = sqlite3VdbeFinalize(v); + rc = sqlite3ApiExit(db, rc); + sqlite3LeaveMutexAndCloseZombie(db); + } + return rc; +} + +/* +** Terminate the current execution of an SQL statement and reset it +** back to its starting state so that it can be reused. A success code from +** the prior execution is returned. +** +** This routine sets the error code and string returned by +** sqlite3_errcode(), sqlite3_errmsg() and sqlite3_errmsg16(). +*/ +SQLITE_API int sqlite3_reset(sqlite3_stmt *pStmt){ + int rc; + if( pStmt==0 ){ + rc = SQLITE_OK; + }else{ + Vdbe *v = (Vdbe*)pStmt; + sqlite3 *db = v->db; + sqlite3_mutex_enter(db->mutex); + checkProfileCallback(db, v); + rc = sqlite3VdbeReset(v); + sqlite3VdbeRewind(v); + assert( (rc & (db->errMask))==rc ); + rc = sqlite3ApiExit(db, rc); + sqlite3_mutex_leave(db->mutex); + } + return rc; +} + +/* +** Set all the parameters in the compiled SQL statement to NULL. +*/ +SQLITE_API int sqlite3_clear_bindings(sqlite3_stmt *pStmt){ + int i; + int rc = SQLITE_OK; + Vdbe *p = (Vdbe*)pStmt; +#if SQLITE_THREADSAFE + sqlite3_mutex *mutex = ((Vdbe*)pStmt)->db->mutex; +#endif + sqlite3_mutex_enter(mutex); + for(i=0; inVar; i++){ + sqlite3VdbeMemRelease(&p->aVar[i]); + p->aVar[i].flags = MEM_Null; + } + assert( (p->prepFlags & SQLITE_PREPARE_SAVESQL)!=0 || p->expmask==0 ); + if( p->expmask ){ + p->expired = 1; + } + sqlite3_mutex_leave(mutex); + return rc; +} + + +/**************************** sqlite3_value_ ******************************* +** The following routines extract information from a Mem or sqlite3_value +** structure. +*/ +SQLITE_API const void *sqlite3_value_blob(sqlite3_value *pVal){ + Mem *p = (Mem*)pVal; + if( p->flags & (MEM_Blob|MEM_Str) ){ + if( ExpandBlob(p)!=SQLITE_OK ){ + assert( p->flags==MEM_Null && p->z==0 ); + return 0; + } + p->flags |= MEM_Blob; + return p->n ? p->z : 0; + }else{ + return sqlite3_value_text(pVal); + } +} +SQLITE_API int sqlite3_value_bytes(sqlite3_value *pVal){ + return sqlite3ValueBytes(pVal, SQLITE_UTF8); +} +SQLITE_API int sqlite3_value_bytes16(sqlite3_value *pVal){ + return sqlite3ValueBytes(pVal, SQLITE_UTF16NATIVE); +} +SQLITE_API double sqlite3_value_double(sqlite3_value *pVal){ + return sqlite3VdbeRealValue((Mem*)pVal); +} +SQLITE_API int sqlite3_value_int(sqlite3_value *pVal){ + return (int)sqlite3VdbeIntValue((Mem*)pVal); +} +SQLITE_API sqlite_int64 sqlite3_value_int64(sqlite3_value *pVal){ + return sqlite3VdbeIntValue((Mem*)pVal); +} +SQLITE_API unsigned int sqlite3_value_subtype(sqlite3_value *pVal){ + Mem *pMem = (Mem*)pVal; + return ((pMem->flags & MEM_Subtype) ? pMem->eSubtype : 0); +} +SQLITE_API void *sqlite3_value_pointer(sqlite3_value *pVal, const char *zPType){ + Mem *p = (Mem*)pVal; + if( (p->flags&(MEM_TypeMask|MEM_Term|MEM_Subtype)) == + (MEM_Null|MEM_Term|MEM_Subtype) + && zPType!=0 + && p->eSubtype=='p' + && strcmp(p->u.zPType, zPType)==0 + ){ + return (void*)p->z; + }else{ + return 0; + } +} +SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value *pVal){ + return (const unsigned char *)sqlite3ValueText(pVal, SQLITE_UTF8); +} +#ifndef SQLITE_OMIT_UTF16 +SQLITE_API const void *sqlite3_value_text16(sqlite3_value* pVal){ + return sqlite3ValueText(pVal, SQLITE_UTF16NATIVE); +} +SQLITE_API const void *sqlite3_value_text16be(sqlite3_value *pVal){ + return sqlite3ValueText(pVal, SQLITE_UTF16BE); +} +SQLITE_API const void *sqlite3_value_text16le(sqlite3_value *pVal){ + return sqlite3ValueText(pVal, SQLITE_UTF16LE); +} +#endif /* SQLITE_OMIT_UTF16 */ +/* EVIDENCE-OF: R-12793-43283 Every value in SQLite has one of five +** fundamental datatypes: 64-bit signed integer 64-bit IEEE floating +** point number string BLOB NULL +*/ +SQLITE_API int sqlite3_value_type(sqlite3_value* pVal){ + static const u8 aType[] = { + SQLITE_BLOB, /* 0x00 (not possible) */ + SQLITE_NULL, /* 0x01 NULL */ + SQLITE_TEXT, /* 0x02 TEXT */ + SQLITE_NULL, /* 0x03 (not possible) */ + SQLITE_INTEGER, /* 0x04 INTEGER */ + SQLITE_NULL, /* 0x05 (not possible) */ + SQLITE_INTEGER, /* 0x06 INTEGER + TEXT */ + SQLITE_NULL, /* 0x07 (not possible) */ + SQLITE_FLOAT, /* 0x08 FLOAT */ + SQLITE_NULL, /* 0x09 (not possible) */ + SQLITE_FLOAT, /* 0x0a FLOAT + TEXT */ + SQLITE_NULL, /* 0x0b (not possible) */ + SQLITE_INTEGER, /* 0x0c (not possible) */ + SQLITE_NULL, /* 0x0d (not possible) */ + SQLITE_INTEGER, /* 0x0e (not possible) */ + SQLITE_NULL, /* 0x0f (not possible) */ + SQLITE_BLOB, /* 0x10 BLOB */ + SQLITE_NULL, /* 0x11 (not possible) */ + SQLITE_TEXT, /* 0x12 (not possible) */ + SQLITE_NULL, /* 0x13 (not possible) */ + SQLITE_INTEGER, /* 0x14 INTEGER + BLOB */ + SQLITE_NULL, /* 0x15 (not possible) */ + SQLITE_INTEGER, /* 0x16 (not possible) */ + SQLITE_NULL, /* 0x17 (not possible) */ + SQLITE_FLOAT, /* 0x18 FLOAT + BLOB */ + SQLITE_NULL, /* 0x19 (not possible) */ + SQLITE_FLOAT, /* 0x1a (not possible) */ + SQLITE_NULL, /* 0x1b (not possible) */ + SQLITE_INTEGER, /* 0x1c (not possible) */ + SQLITE_NULL, /* 0x1d (not possible) */ + SQLITE_INTEGER, /* 0x1e (not possible) */ + SQLITE_NULL, /* 0x1f (not possible) */ + SQLITE_FLOAT, /* 0x20 INTREAL */ + SQLITE_NULL, /* 0x21 (not possible) */ + SQLITE_TEXT, /* 0x22 INTREAL + TEXT */ + SQLITE_NULL, /* 0x23 (not possible) */ + SQLITE_FLOAT, /* 0x24 (not possible) */ + SQLITE_NULL, /* 0x25 (not possible) */ + SQLITE_FLOAT, /* 0x26 (not possible) */ + SQLITE_NULL, /* 0x27 (not possible) */ + SQLITE_FLOAT, /* 0x28 (not possible) */ + SQLITE_NULL, /* 0x29 (not possible) */ + SQLITE_FLOAT, /* 0x2a (not possible) */ + SQLITE_NULL, /* 0x2b (not possible) */ + SQLITE_FLOAT, /* 0x2c (not possible) */ + SQLITE_NULL, /* 0x2d (not possible) */ + SQLITE_FLOAT, /* 0x2e (not possible) */ + SQLITE_NULL, /* 0x2f (not possible) */ + SQLITE_BLOB, /* 0x30 (not possible) */ + SQLITE_NULL, /* 0x31 (not possible) */ + SQLITE_TEXT, /* 0x32 (not possible) */ + SQLITE_NULL, /* 0x33 (not possible) */ + SQLITE_FLOAT, /* 0x34 (not possible) */ + SQLITE_NULL, /* 0x35 (not possible) */ + SQLITE_FLOAT, /* 0x36 (not possible) */ + SQLITE_NULL, /* 0x37 (not possible) */ + SQLITE_FLOAT, /* 0x38 (not possible) */ + SQLITE_NULL, /* 0x39 (not possible) */ + SQLITE_FLOAT, /* 0x3a (not possible) */ + SQLITE_NULL, /* 0x3b (not possible) */ + SQLITE_FLOAT, /* 0x3c (not possible) */ + SQLITE_NULL, /* 0x3d (not possible) */ + SQLITE_FLOAT, /* 0x3e (not possible) */ + SQLITE_NULL, /* 0x3f (not possible) */ + }; +#ifdef SQLITE_DEBUG + { + int eType = SQLITE_BLOB; + if( pVal->flags & MEM_Null ){ + eType = SQLITE_NULL; + }else if( pVal->flags & (MEM_Real|MEM_IntReal) ){ + eType = SQLITE_FLOAT; + }else if( pVal->flags & MEM_Int ){ + eType = SQLITE_INTEGER; + }else if( pVal->flags & MEM_Str ){ + eType = SQLITE_TEXT; + } + assert( eType == aType[pVal->flags&MEM_AffMask] ); + } +#endif + return aType[pVal->flags&MEM_AffMask]; +} + +/* Return true if a parameter to xUpdate represents an unchanged column */ +SQLITE_API int sqlite3_value_nochange(sqlite3_value *pVal){ + return (pVal->flags&(MEM_Null|MEM_Zero))==(MEM_Null|MEM_Zero); +} + +/* Return true if a parameter value originated from an sqlite3_bind() */ +SQLITE_API int sqlite3_value_frombind(sqlite3_value *pVal){ + return (pVal->flags&MEM_FromBind)!=0; +} + +/* Make a copy of an sqlite3_value object +*/ +SQLITE_API sqlite3_value *sqlite3_value_dup(const sqlite3_value *pOrig){ + sqlite3_value *pNew; + if( pOrig==0 ) return 0; + pNew = sqlite3_malloc( sizeof(*pNew) ); + if( pNew==0 ) return 0; + memset(pNew, 0, sizeof(*pNew)); + memcpy(pNew, pOrig, MEMCELLSIZE); + pNew->flags &= ~MEM_Dyn; + pNew->db = 0; + if( pNew->flags&(MEM_Str|MEM_Blob) ){ + pNew->flags &= ~(MEM_Static|MEM_Dyn); + pNew->flags |= MEM_Ephem; + if( sqlite3VdbeMemMakeWriteable(pNew)!=SQLITE_OK ){ + sqlite3ValueFree(pNew); + pNew = 0; + } + } + return pNew; +} + +/* Destroy an sqlite3_value object previously obtained from +** sqlite3_value_dup(). +*/ +SQLITE_API void sqlite3_value_free(sqlite3_value *pOld){ + sqlite3ValueFree(pOld); +} + + +/**************************** sqlite3_result_ ******************************* +** The following routines are used by user-defined functions to specify +** the function result. +** +** The setStrOrError() function calls sqlite3VdbeMemSetStr() to store the +** result as a string or blob but if the string or blob is too large, it +** then sets the error code to SQLITE_TOOBIG +** +** The invokeValueDestructor(P,X) routine invokes destructor function X() +** on value P is not going to be used and need to be destroyed. +*/ +static void setResultStrOrError( + sqlite3_context *pCtx, /* Function context */ + const char *z, /* String pointer */ + int n, /* Bytes in string, or negative */ + u8 enc, /* Encoding of z. 0 for BLOBs */ + void (*xDel)(void*) /* Destructor function */ +){ + if( sqlite3VdbeMemSetStr(pCtx->pOut, z, n, enc, xDel)==SQLITE_TOOBIG ){ + sqlite3_result_error_toobig(pCtx); + } +} +static int invokeValueDestructor( + const void *p, /* Value to destroy */ + void (*xDel)(void*), /* The destructor */ + sqlite3_context *pCtx /* Set a SQLITE_TOOBIG error if no NULL */ +){ + assert( xDel!=SQLITE_DYNAMIC ); + if( xDel==0 ){ + /* noop */ + }else if( xDel==SQLITE_TRANSIENT ){ + /* noop */ + }else{ + xDel((void*)p); + } + if( pCtx ) sqlite3_result_error_toobig(pCtx); + return SQLITE_TOOBIG; +} +SQLITE_API void sqlite3_result_blob( + sqlite3_context *pCtx, + const void *z, + int n, + void (*xDel)(void *) +){ + assert( n>=0 ); + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + setResultStrOrError(pCtx, z, n, 0, xDel); +} +SQLITE_API void sqlite3_result_blob64( + sqlite3_context *pCtx, + const void *z, + sqlite3_uint64 n, + void (*xDel)(void *) +){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + assert( xDel!=SQLITE_DYNAMIC ); + if( n>0x7fffffff ){ + (void)invokeValueDestructor(z, xDel, pCtx); + }else{ + setResultStrOrError(pCtx, z, (int)n, 0, xDel); + } +} +SQLITE_API void sqlite3_result_double(sqlite3_context *pCtx, double rVal){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + sqlite3VdbeMemSetDouble(pCtx->pOut, rVal); +} +SQLITE_API void sqlite3_result_error(sqlite3_context *pCtx, const char *z, int n){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + pCtx->isError = SQLITE_ERROR; + sqlite3VdbeMemSetStr(pCtx->pOut, z, n, SQLITE_UTF8, SQLITE_TRANSIENT); +} +#ifndef SQLITE_OMIT_UTF16 +SQLITE_API void sqlite3_result_error16(sqlite3_context *pCtx, const void *z, int n){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + pCtx->isError = SQLITE_ERROR; + sqlite3VdbeMemSetStr(pCtx->pOut, z, n, SQLITE_UTF16NATIVE, SQLITE_TRANSIENT); +} +#endif +SQLITE_API void sqlite3_result_int(sqlite3_context *pCtx, int iVal){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + sqlite3VdbeMemSetInt64(pCtx->pOut, (i64)iVal); +} +SQLITE_API void sqlite3_result_int64(sqlite3_context *pCtx, i64 iVal){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + sqlite3VdbeMemSetInt64(pCtx->pOut, iVal); +} +SQLITE_API void sqlite3_result_null(sqlite3_context *pCtx){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + sqlite3VdbeMemSetNull(pCtx->pOut); +} +SQLITE_API void sqlite3_result_pointer( + sqlite3_context *pCtx, + void *pPtr, + const char *zPType, + void (*xDestructor)(void*) +){ + Mem *pOut = pCtx->pOut; + assert( sqlite3_mutex_held(pOut->db->mutex) ); + sqlite3VdbeMemRelease(pOut); + pOut->flags = MEM_Null; + sqlite3VdbeMemSetPointer(pOut, pPtr, zPType, xDestructor); +} +SQLITE_API void sqlite3_result_subtype(sqlite3_context *pCtx, unsigned int eSubtype){ + Mem *pOut = pCtx->pOut; + assert( sqlite3_mutex_held(pOut->db->mutex) ); + pOut->eSubtype = eSubtype & 0xff; + pOut->flags |= MEM_Subtype; +} +SQLITE_API void sqlite3_result_text( + sqlite3_context *pCtx, + const char *z, + int n, + void (*xDel)(void *) +){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + setResultStrOrError(pCtx, z, n, SQLITE_UTF8, xDel); +} +SQLITE_API void sqlite3_result_text64( + sqlite3_context *pCtx, + const char *z, + sqlite3_uint64 n, + void (*xDel)(void *), + unsigned char enc +){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + assert( xDel!=SQLITE_DYNAMIC ); + if( enc==SQLITE_UTF16 ) enc = SQLITE_UTF16NATIVE; + if( n>0x7fffffff ){ + (void)invokeValueDestructor(z, xDel, pCtx); + }else{ + setResultStrOrError(pCtx, z, (int)n, enc, xDel); + } +} +#ifndef SQLITE_OMIT_UTF16 +SQLITE_API void sqlite3_result_text16( + sqlite3_context *pCtx, + const void *z, + int n, + void (*xDel)(void *) +){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + setResultStrOrError(pCtx, z, n, SQLITE_UTF16NATIVE, xDel); +} +SQLITE_API void sqlite3_result_text16be( + sqlite3_context *pCtx, + const void *z, + int n, + void (*xDel)(void *) +){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + setResultStrOrError(pCtx, z, n, SQLITE_UTF16BE, xDel); +} +SQLITE_API void sqlite3_result_text16le( + sqlite3_context *pCtx, + const void *z, + int n, + void (*xDel)(void *) +){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + setResultStrOrError(pCtx, z, n, SQLITE_UTF16LE, xDel); +} +#endif /* SQLITE_OMIT_UTF16 */ +SQLITE_API void sqlite3_result_value(sqlite3_context *pCtx, sqlite3_value *pValue){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + sqlite3VdbeMemCopy(pCtx->pOut, pValue); +} +SQLITE_API void sqlite3_result_zeroblob(sqlite3_context *pCtx, int n){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + sqlite3VdbeMemSetZeroBlob(pCtx->pOut, n); +} +SQLITE_API int sqlite3_result_zeroblob64(sqlite3_context *pCtx, u64 n){ + Mem *pOut = pCtx->pOut; + assert( sqlite3_mutex_held(pOut->db->mutex) ); + if( n>(u64)pOut->db->aLimit[SQLITE_LIMIT_LENGTH] ){ + return SQLITE_TOOBIG; + } + sqlite3VdbeMemSetZeroBlob(pCtx->pOut, (int)n); + return SQLITE_OK; +} +SQLITE_API void sqlite3_result_error_code(sqlite3_context *pCtx, int errCode){ + pCtx->isError = errCode ? errCode : -1; +#ifdef SQLITE_DEBUG + if( pCtx->pVdbe ) pCtx->pVdbe->rcApp = errCode; +#endif + if( pCtx->pOut->flags & MEM_Null ){ + sqlite3VdbeMemSetStr(pCtx->pOut, sqlite3ErrStr(errCode), -1, + SQLITE_UTF8, SQLITE_STATIC); + } +} + +/* Force an SQLITE_TOOBIG error. */ +SQLITE_API void sqlite3_result_error_toobig(sqlite3_context *pCtx){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + pCtx->isError = SQLITE_TOOBIG; + sqlite3VdbeMemSetStr(pCtx->pOut, "string or blob too big", -1, + SQLITE_UTF8, SQLITE_STATIC); +} + +/* An SQLITE_NOMEM error. */ +SQLITE_API void sqlite3_result_error_nomem(sqlite3_context *pCtx){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + sqlite3VdbeMemSetNull(pCtx->pOut); + pCtx->isError = SQLITE_NOMEM_BKPT; + sqlite3OomFault(pCtx->pOut->db); +} + +#ifndef SQLITE_UNTESTABLE +/* Force the INT64 value currently stored as the result to be +** a MEM_IntReal value. See the SQLITE_TESTCTRL_RESULT_INTREAL +** test-control. +*/ +SQLITE_PRIVATE void sqlite3ResultIntReal(sqlite3_context *pCtx){ + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); + if( pCtx->pOut->flags & MEM_Int ){ + pCtx->pOut->flags &= ~MEM_Int; + pCtx->pOut->flags |= MEM_IntReal; + } +} +#endif + + +/* +** This function is called after a transaction has been committed. It +** invokes callbacks registered with sqlite3_wal_hook() as required. +*/ +static int doWalCallbacks(sqlite3 *db){ + int rc = SQLITE_OK; +#ifndef SQLITE_OMIT_WAL + int i; + for(i=0; inDb; i++){ + Btree *pBt = db->aDb[i].pBt; + if( pBt ){ + int nEntry; + sqlite3BtreeEnter(pBt); + nEntry = sqlite3PagerWalCallback(sqlite3BtreePager(pBt)); + sqlite3BtreeLeave(pBt); + if( nEntry>0 && db->xWalCallback && rc==SQLITE_OK ){ + rc = db->xWalCallback(db->pWalArg, db, db->aDb[i].zDbSName, nEntry); + } + } + } +#endif + return rc; +} + + +/* +** Execute the statement pStmt, either until a row of data is ready, the +** statement is completely executed or an error occurs. +** +** This routine implements the bulk of the logic behind the sqlite_step() +** API. The only thing omitted is the automatic recompile if a +** schema change has occurred. That detail is handled by the +** outer sqlite3_step() wrapper procedure. +*/ +static int sqlite3Step(Vdbe *p){ + sqlite3 *db; + int rc; + + assert(p); + if( p->magic!=VDBE_MAGIC_RUN ){ + /* We used to require that sqlite3_reset() be called before retrying + ** sqlite3_step() after any error or after SQLITE_DONE. But beginning + ** with version 3.7.0, we changed this so that sqlite3_reset() would + ** be called automatically instead of throwing the SQLITE_MISUSE error. + ** This "automatic-reset" change is not technically an incompatibility, + ** since any application that receives an SQLITE_MISUSE is broken by + ** definition. + ** + ** Nevertheless, some published applications that were originally written + ** for version 3.6.23 or earlier do in fact depend on SQLITE_MISUSE + ** returns, and those were broken by the automatic-reset change. As a + ** a work-around, the SQLITE_OMIT_AUTORESET compile-time restores the + ** legacy behavior of returning SQLITE_MISUSE for cases where the + ** previous sqlite3_step() returned something other than a SQLITE_LOCKED + ** or SQLITE_BUSY error. + */ +#ifdef SQLITE_OMIT_AUTORESET + if( (rc = p->rc&0xff)==SQLITE_BUSY || rc==SQLITE_LOCKED ){ + sqlite3_reset((sqlite3_stmt*)p); + }else{ + return SQLITE_MISUSE_BKPT; + } +#else + sqlite3_reset((sqlite3_stmt*)p); +#endif + } + + /* Check that malloc() has not failed. If it has, return early. */ + db = p->db; + if( db->mallocFailed ){ + p->rc = SQLITE_NOMEM; + return SQLITE_NOMEM_BKPT; + } + + if( p->pc<0 && p->expired ){ + p->rc = SQLITE_SCHEMA; + rc = SQLITE_ERROR; + goto end_of_step; + } + if( p->pc<0 ){ + /* If there are no other statements currently running, then + ** reset the interrupt flag. This prevents a call to sqlite3_interrupt + ** from interrupting a statement that has not yet started. + */ + if( db->nVdbeActive==0 ){ + db->u1.isInterrupted = 0; + } + + assert( db->nVdbeWrite>0 || db->autoCommit==0 + || (db->nDeferredCons==0 && db->nDeferredImmCons==0) + ); + +#ifndef SQLITE_OMIT_TRACE + if( (db->mTrace & (SQLITE_TRACE_PROFILE|SQLITE_TRACE_XPROFILE))!=0 + && !db->init.busy && p->zSql ){ + sqlite3OsCurrentTimeInt64(db->pVfs, &p->startTime); + }else{ + assert( p->startTime==0 ); + } +#endif + + db->nVdbeActive++; + if( p->readOnly==0 ) db->nVdbeWrite++; + if( p->bIsReader ) db->nVdbeRead++; + p->pc = 0; + } +#ifdef SQLITE_DEBUG + p->rcApp = SQLITE_OK; +#endif +#ifndef SQLITE_OMIT_EXPLAIN + if( p->explain ){ + rc = sqlite3VdbeList(p); + }else +#endif /* SQLITE_OMIT_EXPLAIN */ + { + db->nVdbeExec++; + rc = sqlite3VdbeExec(p); + db->nVdbeExec--; + } + + if( rc!=SQLITE_ROW ){ +#ifndef SQLITE_OMIT_TRACE + /* If the statement completed successfully, invoke the profile callback */ + checkProfileCallback(db, p); +#endif + + if( rc==SQLITE_DONE && db->autoCommit ){ + assert( p->rc==SQLITE_OK ); + p->rc = doWalCallbacks(db); + if( p->rc!=SQLITE_OK ){ + rc = SQLITE_ERROR; + } + } + } + + db->errCode = rc; + if( SQLITE_NOMEM==sqlite3ApiExit(p->db, p->rc) ){ + p->rc = SQLITE_NOMEM_BKPT; + } +end_of_step: + /* At this point local variable rc holds the value that should be + ** returned if this statement was compiled using the legacy + ** sqlite3_prepare() interface. According to the docs, this can only + ** be one of the values in the first assert() below. Variable p->rc + ** contains the value that would be returned if sqlite3_finalize() + ** were called on statement p. + */ + assert( rc==SQLITE_ROW || rc==SQLITE_DONE || rc==SQLITE_ERROR + || (rc&0xff)==SQLITE_BUSY || rc==SQLITE_MISUSE + ); + assert( (p->rc!=SQLITE_ROW && p->rc!=SQLITE_DONE) || p->rc==p->rcApp ); + if( rc!=SQLITE_ROW + && rc!=SQLITE_DONE + && (p->prepFlags & SQLITE_PREPARE_SAVESQL)!=0 + ){ + /* If this statement was prepared using saved SQL and an + ** error has occurred, then return the error code in p->rc to the + ** caller. Set the error code in the database handle to the same value. + */ + rc = sqlite3VdbeTransferError(p); + } + return (rc&db->errMask); +} + +/* +** This is the top-level implementation of sqlite3_step(). Call +** sqlite3Step() to do most of the work. If a schema error occurs, +** call sqlite3Reprepare() and try again. +*/ +SQLITE_API int sqlite3_step(sqlite3_stmt *pStmt){ + int rc = SQLITE_OK; /* Result from sqlite3Step() */ + Vdbe *v = (Vdbe*)pStmt; /* the prepared statement */ + int cnt = 0; /* Counter to prevent infinite loop of reprepares */ + sqlite3 *db; /* The database connection */ + + if( vdbeSafetyNotNull(v) ){ + return SQLITE_MISUSE_BKPT; + } + db = v->db; + sqlite3_mutex_enter(db->mutex); + v->doingRerun = 0; + while( (rc = sqlite3Step(v))==SQLITE_SCHEMA + && cnt++ < SQLITE_MAX_SCHEMA_RETRY ){ + int savedPc = v->pc; + rc = sqlite3Reprepare(v); + if( rc!=SQLITE_OK ){ + /* This case occurs after failing to recompile an sql statement. + ** The error message from the SQL compiler has already been loaded + ** into the database handle. This block copies the error message + ** from the database handle into the statement and sets the statement + ** program counter to 0 to ensure that when the statement is + ** finalized or reset the parser error message is available via + ** sqlite3_errmsg() and sqlite3_errcode(). + */ + const char *zErr = (const char *)sqlite3_value_text(db->pErr); + sqlite3DbFree(db, v->zErrMsg); + if( !db->mallocFailed ){ + v->zErrMsg = sqlite3DbStrDup(db, zErr); + v->rc = rc = sqlite3ApiExit(db, rc); + } else { + v->zErrMsg = 0; + v->rc = rc = SQLITE_NOMEM_BKPT; + } + break; + } + sqlite3_reset(pStmt); + if( savedPc>=0 ) v->doingRerun = 1; + assert( v->expired==0 ); + } + sqlite3_mutex_leave(db->mutex); + return rc; +} + + +/* +** Extract the user data from a sqlite3_context structure and return a +** pointer to it. +*/ +SQLITE_API void *sqlite3_user_data(sqlite3_context *p){ + assert( p && p->pFunc ); + return p->pFunc->pUserData; +} + +/* +** Extract the user data from a sqlite3_context structure and return a +** pointer to it. +** +** IMPLEMENTATION-OF: R-46798-50301 The sqlite3_context_db_handle() interface +** returns a copy of the pointer to the database connection (the 1st +** parameter) of the sqlite3_create_function() and +** sqlite3_create_function16() routines that originally registered the +** application defined function. +*/ +SQLITE_API sqlite3 *sqlite3_context_db_handle(sqlite3_context *p){ + assert( p && p->pOut ); + return p->pOut->db; +} + +/* +** If this routine is invoked from within an xColumn method of a virtual +** table, then it returns true if and only if the the call is during an +** UPDATE operation and the value of the column will not be modified +** by the UPDATE. +** +** If this routine is called from any context other than within the +** xColumn method of a virtual table, then the return value is meaningless +** and arbitrary. +** +** Virtual table implements might use this routine to optimize their +** performance by substituting a NULL result, or some other light-weight +** value, as a signal to the xUpdate routine that the column is unchanged. +*/ +SQLITE_API int sqlite3_vtab_nochange(sqlite3_context *p){ + assert( p ); + return sqlite3_value_nochange(p->pOut); +} + +/* +** Return the current time for a statement. If the current time +** is requested more than once within the same run of a single prepared +** statement, the exact same time is returned for each invocation regardless +** of the amount of time that elapses between invocations. In other words, +** the time returned is always the time of the first call. +*/ +SQLITE_PRIVATE sqlite3_int64 sqlite3StmtCurrentTime(sqlite3_context *p){ + int rc; +#ifndef SQLITE_ENABLE_STAT4 + sqlite3_int64 *piTime = &p->pVdbe->iCurrentTime; + assert( p->pVdbe!=0 ); +#else + sqlite3_int64 iTime = 0; + sqlite3_int64 *piTime = p->pVdbe!=0 ? &p->pVdbe->iCurrentTime : &iTime; +#endif + if( *piTime==0 ){ + rc = sqlite3OsCurrentTimeInt64(p->pOut->db->pVfs, piTime); + if( rc ) *piTime = 0; + } + return *piTime; +} + +/* +** Create a new aggregate context for p and return a pointer to +** its pMem->z element. +*/ +static SQLITE_NOINLINE void *createAggContext(sqlite3_context *p, int nByte){ + Mem *pMem = p->pMem; + assert( (pMem->flags & MEM_Agg)==0 ); + if( nByte<=0 ){ + sqlite3VdbeMemSetNull(pMem); + pMem->z = 0; + }else{ + sqlite3VdbeMemClearAndResize(pMem, nByte); + pMem->flags = MEM_Agg; + pMem->u.pDef = p->pFunc; + if( pMem->z ){ + memset(pMem->z, 0, nByte); + } + } + return (void*)pMem->z; +} + +/* +** Allocate or return the aggregate context for a user function. A new +** context is allocated on the first call. Subsequent calls return the +** same context that was returned on prior calls. +*/ +SQLITE_API void *sqlite3_aggregate_context(sqlite3_context *p, int nByte){ + assert( p && p->pFunc && p->pFunc->xFinalize ); + assert( sqlite3_mutex_held(p->pOut->db->mutex) ); + testcase( nByte<0 ); + if( (p->pMem->flags & MEM_Agg)==0 ){ + return createAggContext(p, nByte); + }else{ + return (void*)p->pMem->z; + } +} + +/* +** Return the auxiliary data pointer, if any, for the iArg'th argument to +** the user-function defined by pCtx. +** +** The left-most argument is 0. +** +** Undocumented behavior: If iArg is negative then access a cache of +** auxiliary data pointers that is available to all functions within a +** single prepared statement. The iArg values must match. +*/ +SQLITE_API void *sqlite3_get_auxdata(sqlite3_context *pCtx, int iArg){ + AuxData *pAuxData; + + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); +#if SQLITE_ENABLE_STAT4 + if( pCtx->pVdbe==0 ) return 0; +#else + assert( pCtx->pVdbe!=0 ); +#endif + for(pAuxData=pCtx->pVdbe->pAuxData; pAuxData; pAuxData=pAuxData->pNextAux){ + if( pAuxData->iAuxArg==iArg && (pAuxData->iAuxOp==pCtx->iOp || iArg<0) ){ + return pAuxData->pAux; + } + } + return 0; +} + +/* +** Set the auxiliary data pointer and delete function, for the iArg'th +** argument to the user-function defined by pCtx. Any previous value is +** deleted by calling the delete function specified when it was set. +** +** The left-most argument is 0. +** +** Undocumented behavior: If iArg is negative then make the data available +** to all functions within the current prepared statement using iArg as an +** access code. +*/ +SQLITE_API void sqlite3_set_auxdata( + sqlite3_context *pCtx, + int iArg, + void *pAux, + void (*xDelete)(void*) +){ + AuxData *pAuxData; + Vdbe *pVdbe = pCtx->pVdbe; + + assert( sqlite3_mutex_held(pCtx->pOut->db->mutex) ); +#ifdef SQLITE_ENABLE_STAT4 + if( pVdbe==0 ) goto failed; +#else + assert( pVdbe!=0 ); +#endif + + for(pAuxData=pVdbe->pAuxData; pAuxData; pAuxData=pAuxData->pNextAux){ + if( pAuxData->iAuxArg==iArg && (pAuxData->iAuxOp==pCtx->iOp || iArg<0) ){ + break; + } + } + if( pAuxData==0 ){ + pAuxData = sqlite3DbMallocZero(pVdbe->db, sizeof(AuxData)); + if( !pAuxData ) goto failed; + pAuxData->iAuxOp = pCtx->iOp; + pAuxData->iAuxArg = iArg; + pAuxData->pNextAux = pVdbe->pAuxData; + pVdbe->pAuxData = pAuxData; + if( pCtx->isError==0 ) pCtx->isError = -1; + }else if( pAuxData->xDeleteAux ){ + pAuxData->xDeleteAux(pAuxData->pAux); + } + + pAuxData->pAux = pAux; + pAuxData->xDeleteAux = xDelete; + return; + +failed: + if( xDelete ){ + xDelete(pAux); + } +} + +#ifndef SQLITE_OMIT_DEPRECATED +/* +** Return the number of times the Step function of an aggregate has been +** called. +** +** This function is deprecated. Do not use it for new code. It is +** provide only to avoid breaking legacy code. New aggregate function +** implementations should keep their own counts within their aggregate +** context. +*/ +SQLITE_API int sqlite3_aggregate_count(sqlite3_context *p){ + assert( p && p->pMem && p->pFunc && p->pFunc->xFinalize ); + return p->pMem->n; +} +#endif + +/* +** Return the number of columns in the result set for the statement pStmt. +*/ +SQLITE_API int sqlite3_column_count(sqlite3_stmt *pStmt){ + Vdbe *pVm = (Vdbe *)pStmt; + return pVm ? pVm->nResColumn : 0; +} + +/* +** Return the number of values available from the current row of the +** currently executing statement pStmt. +*/ +SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt){ + Vdbe *pVm = (Vdbe *)pStmt; + if( pVm==0 || pVm->pResultSet==0 ) return 0; + return pVm->nResColumn; +} + +/* +** Return a pointer to static memory containing an SQL NULL value. +*/ +static const Mem *columnNullValue(void){ + /* Even though the Mem structure contains an element + ** of type i64, on certain architectures (x86) with certain compiler + ** switches (-Os), gcc may align this Mem object on a 4-byte boundary + ** instead of an 8-byte one. This all works fine, except that when + ** running with SQLITE_DEBUG defined the SQLite code sometimes assert()s + ** that a Mem structure is located on an 8-byte boundary. To prevent + ** these assert()s from failing, when building with SQLITE_DEBUG defined + ** using gcc, we force nullMem to be 8-byte aligned using the magical + ** __attribute__((aligned(8))) macro. */ + static const Mem nullMem +#if defined(SQLITE_DEBUG) && defined(__GNUC__) + __attribute__((aligned(8))) +#endif + = { + /* .u = */ {0}, + /* .flags = */ (u16)MEM_Null, + /* .enc = */ (u8)0, + /* .eSubtype = */ (u8)0, + /* .n = */ (int)0, + /* .z = */ (char*)0, + /* .zMalloc = */ (char*)0, + /* .szMalloc = */ (int)0, + /* .uTemp = */ (u32)0, + /* .db = */ (sqlite3*)0, + /* .xDel = */ (void(*)(void*))0, +#ifdef SQLITE_DEBUG + /* .pScopyFrom = */ (Mem*)0, + /* .mScopyFlags= */ 0, +#endif + }; + return &nullMem; +} + +/* +** Check to see if column iCol of the given statement is valid. If +** it is, return a pointer to the Mem for the value of that column. +** If iCol is not valid, return a pointer to a Mem which has a value +** of NULL. +*/ +static Mem *columnMem(sqlite3_stmt *pStmt, int i){ + Vdbe *pVm; + Mem *pOut; + + pVm = (Vdbe *)pStmt; + if( pVm==0 ) return (Mem*)columnNullValue(); + assert( pVm->db ); + sqlite3_mutex_enter(pVm->db->mutex); + if( pVm->pResultSet!=0 && inResColumn && i>=0 ){ + pOut = &pVm->pResultSet[i]; + }else{ + sqlite3Error(pVm->db, SQLITE_RANGE); + pOut = (Mem*)columnNullValue(); + } + return pOut; +} + +/* +** This function is called after invoking an sqlite3_value_XXX function on a +** column value (i.e. a value returned by evaluating an SQL expression in the +** select list of a SELECT statement) that may cause a malloc() failure. If +** malloc() has failed, the threads mallocFailed flag is cleared and the result +** code of statement pStmt set to SQLITE_NOMEM. +** +** Specifically, this is called from within: +** +** sqlite3_column_int() +** sqlite3_column_int64() +** sqlite3_column_text() +** sqlite3_column_text16() +** sqlite3_column_real() +** sqlite3_column_bytes() +** sqlite3_column_bytes16() +** sqiite3_column_blob() +*/ +static void columnMallocFailure(sqlite3_stmt *pStmt) +{ + /* If malloc() failed during an encoding conversion within an + ** sqlite3_column_XXX API, then set the return code of the statement to + ** SQLITE_NOMEM. The next call to _step() (if any) will return SQLITE_ERROR + ** and _finalize() will return NOMEM. + */ + Vdbe *p = (Vdbe *)pStmt; + if( p ){ + assert( p->db!=0 ); + assert( sqlite3_mutex_held(p->db->mutex) ); + p->rc = sqlite3ApiExit(p->db, p->rc); + sqlite3_mutex_leave(p->db->mutex); + } +} + +/**************************** sqlite3_column_ ******************************* +** The following routines are used to access elements of the current row +** in the result set. +*/ +SQLITE_API const void *sqlite3_column_blob(sqlite3_stmt *pStmt, int i){ + const void *val; + val = sqlite3_value_blob( columnMem(pStmt,i) ); + /* Even though there is no encoding conversion, value_blob() might + ** need to call malloc() to expand the result of a zeroblob() + ** expression. + */ + columnMallocFailure(pStmt); + return val; +} +SQLITE_API int sqlite3_column_bytes(sqlite3_stmt *pStmt, int i){ + int val = sqlite3_value_bytes( columnMem(pStmt,i) ); + columnMallocFailure(pStmt); + return val; +} +SQLITE_API int sqlite3_column_bytes16(sqlite3_stmt *pStmt, int i){ + int val = sqlite3_value_bytes16( columnMem(pStmt,i) ); + columnMallocFailure(pStmt); + return val; +} +SQLITE_API double sqlite3_column_double(sqlite3_stmt *pStmt, int i){ + double val = sqlite3_value_double( columnMem(pStmt,i) ); + columnMallocFailure(pStmt); + return val; +} +SQLITE_API int sqlite3_column_int(sqlite3_stmt *pStmt, int i){ + int val = sqlite3_value_int( columnMem(pStmt,i) ); + columnMallocFailure(pStmt); + return val; +} +SQLITE_API sqlite_int64 sqlite3_column_int64(sqlite3_stmt *pStmt, int i){ + sqlite_int64 val = sqlite3_value_int64( columnMem(pStmt,i) ); + columnMallocFailure(pStmt); + return val; +} +SQLITE_API const unsigned char *sqlite3_column_text(sqlite3_stmt *pStmt, int i){ + const unsigned char *val = sqlite3_value_text( columnMem(pStmt,i) ); + columnMallocFailure(pStmt); + return val; +} +SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt *pStmt, int i){ + Mem *pOut = columnMem(pStmt, i); + if( pOut->flags&MEM_Static ){ + pOut->flags &= ~MEM_Static; + pOut->flags |= MEM_Ephem; + } + columnMallocFailure(pStmt); + return (sqlite3_value *)pOut; +} +#ifndef SQLITE_OMIT_UTF16 +SQLITE_API const void *sqlite3_column_text16(sqlite3_stmt *pStmt, int i){ + const void *val = sqlite3_value_text16( columnMem(pStmt,i) ); + columnMallocFailure(pStmt); + return val; +} +#endif /* SQLITE_OMIT_UTF16 */ +SQLITE_API int sqlite3_column_type(sqlite3_stmt *pStmt, int i){ + int iType = sqlite3_value_type( columnMem(pStmt,i) ); + columnMallocFailure(pStmt); + return iType; +} + +/* +** Convert the N-th element of pStmt->pColName[] into a string using +** xFunc() then return that string. If N is out of range, return 0. +** +** There are up to 5 names for each column. useType determines which +** name is returned. Here are the names: +** +** 0 The column name as it should be displayed for output +** 1 The datatype name for the column +** 2 The name of the database that the column derives from +** 3 The name of the table that the column derives from +** 4 The name of the table column that the result column derives from +** +** If the result is not a simple column reference (if it is an expression +** or a constant) then useTypes 2, 3, and 4 return NULL. +*/ +static const void *columnName( + sqlite3_stmt *pStmt, /* The statement */ + int N, /* Which column to get the name for */ + int useUtf16, /* True to return the name as UTF16 */ + int useType /* What type of name */ +){ + const void *ret; + Vdbe *p; + int n; + sqlite3 *db; +#ifdef SQLITE_ENABLE_API_ARMOR + if( pStmt==0 ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + ret = 0; + p = (Vdbe *)pStmt; + db = p->db; + assert( db!=0 ); + n = sqlite3_column_count(pStmt); + if( N=0 ){ + N += useType*n; + sqlite3_mutex_enter(db->mutex); + assert( db->mallocFailed==0 ); +#ifndef SQLITE_OMIT_UTF16 + if( useUtf16 ){ + ret = sqlite3_value_text16((sqlite3_value*)&p->aColName[N]); + }else +#endif + { + ret = sqlite3_value_text((sqlite3_value*)&p->aColName[N]); + } + /* A malloc may have failed inside of the _text() call. If this + ** is the case, clear the mallocFailed flag and return NULL. + */ + if( db->mallocFailed ){ + sqlite3OomClear(db); + ret = 0; + } + sqlite3_mutex_leave(db->mutex); + } + return ret; +} + +/* +** Return the name of the Nth column of the result set returned by SQL +** statement pStmt. +*/ +SQLITE_API const char *sqlite3_column_name(sqlite3_stmt *pStmt, int N){ + return columnName(pStmt, N, 0, COLNAME_NAME); +} +#ifndef SQLITE_OMIT_UTF16 +SQLITE_API const void *sqlite3_column_name16(sqlite3_stmt *pStmt, int N){ + return columnName(pStmt, N, 1, COLNAME_NAME); +} +#endif + +/* +** Constraint: If you have ENABLE_COLUMN_METADATA then you must +** not define OMIT_DECLTYPE. +*/ +#if defined(SQLITE_OMIT_DECLTYPE) && defined(SQLITE_ENABLE_COLUMN_METADATA) +# error "Must not define both SQLITE_OMIT_DECLTYPE \ + and SQLITE_ENABLE_COLUMN_METADATA" +#endif + +#ifndef SQLITE_OMIT_DECLTYPE +/* +** Return the column declaration type (if applicable) of the 'i'th column +** of the result set of SQL statement pStmt. +*/ +SQLITE_API const char *sqlite3_column_decltype(sqlite3_stmt *pStmt, int N){ + return columnName(pStmt, N, 0, COLNAME_DECLTYPE); +} +#ifndef SQLITE_OMIT_UTF16 +SQLITE_API const void *sqlite3_column_decltype16(sqlite3_stmt *pStmt, int N){ + return columnName(pStmt, N, 1, COLNAME_DECLTYPE); +} +#endif /* SQLITE_OMIT_UTF16 */ +#endif /* SQLITE_OMIT_DECLTYPE */ + +#ifdef SQLITE_ENABLE_COLUMN_METADATA +/* +** Return the name of the database from which a result column derives. +** NULL is returned if the result column is an expression or constant or +** anything else which is not an unambiguous reference to a database column. +*/ +SQLITE_API const char *sqlite3_column_database_name(sqlite3_stmt *pStmt, int N){ + return columnName(pStmt, N, 0, COLNAME_DATABASE); +} +#ifndef SQLITE_OMIT_UTF16 +SQLITE_API const void *sqlite3_column_database_name16(sqlite3_stmt *pStmt, int N){ + return columnName(pStmt, N, 1, COLNAME_DATABASE); +} +#endif /* SQLITE_OMIT_UTF16 */ + +/* +** Return the name of the table from which a result column derives. +** NULL is returned if the result column is an expression or constant or +** anything else which is not an unambiguous reference to a database column. +*/ +SQLITE_API const char *sqlite3_column_table_name(sqlite3_stmt *pStmt, int N){ + return columnName(pStmt, N, 0, COLNAME_TABLE); +} +#ifndef SQLITE_OMIT_UTF16 +SQLITE_API const void *sqlite3_column_table_name16(sqlite3_stmt *pStmt, int N){ + return columnName(pStmt, N, 1, COLNAME_TABLE); +} +#endif /* SQLITE_OMIT_UTF16 */ + +/* +** Return the name of the table column from which a result column derives. +** NULL is returned if the result column is an expression or constant or +** anything else which is not an unambiguous reference to a database column. +*/ +SQLITE_API const char *sqlite3_column_origin_name(sqlite3_stmt *pStmt, int N){ + return columnName(pStmt, N, 0, COLNAME_COLUMN); +} +#ifndef SQLITE_OMIT_UTF16 +SQLITE_API const void *sqlite3_column_origin_name16(sqlite3_stmt *pStmt, int N){ + return columnName(pStmt, N, 1, COLNAME_COLUMN); +} +#endif /* SQLITE_OMIT_UTF16 */ +#endif /* SQLITE_ENABLE_COLUMN_METADATA */ + + +/******************************* sqlite3_bind_ *************************** +** +** Routines used to attach values to wildcards in a compiled SQL statement. +*/ +/* +** Unbind the value bound to variable i in virtual machine p. This is the +** the same as binding a NULL value to the column. If the "i" parameter is +** out of range, then SQLITE_RANGE is returned. Othewise SQLITE_OK. +** +** A successful evaluation of this routine acquires the mutex on p. +** the mutex is released if any kind of error occurs. +** +** The error code stored in database p->db is overwritten with the return +** value in any case. +*/ +static int vdbeUnbind(Vdbe *p, int i){ + Mem *pVar; + if( vdbeSafetyNotNull(p) ){ + return SQLITE_MISUSE_BKPT; + } + sqlite3_mutex_enter(p->db->mutex); + if( p->magic!=VDBE_MAGIC_RUN || p->pc>=0 ){ + sqlite3Error(p->db, SQLITE_MISUSE); + sqlite3_mutex_leave(p->db->mutex); + sqlite3_log(SQLITE_MISUSE, + "bind on a busy prepared statement: [%s]", p->zSql); + return SQLITE_MISUSE_BKPT; + } + if( i<1 || i>p->nVar ){ + sqlite3Error(p->db, SQLITE_RANGE); + sqlite3_mutex_leave(p->db->mutex); + return SQLITE_RANGE; + } + i--; + pVar = &p->aVar[i]; + sqlite3VdbeMemRelease(pVar); + pVar->flags = MEM_Null; + p->db->errCode = SQLITE_OK; + + /* If the bit corresponding to this variable in Vdbe.expmask is set, then + ** binding a new value to this variable invalidates the current query plan. + ** + ** IMPLEMENTATION-OF: R-48440-37595 If the specific value bound to host + ** parameter in the WHERE clause might influence the choice of query plan + ** for a statement, then the statement will be automatically recompiled, + ** as if there had been a schema change, on the first sqlite3_step() call + ** following any change to the bindings of that parameter. + */ + assert( (p->prepFlags & SQLITE_PREPARE_SAVESQL)!=0 || p->expmask==0 ); + if( p->expmask!=0 && (p->expmask & (i>=31 ? 0x80000000 : (u32)1<expired = 1; + } + return SQLITE_OK; +} + +/* +** Bind a text or BLOB value. +*/ +static int bindText( + sqlite3_stmt *pStmt, /* The statement to bind against */ + int i, /* Index of the parameter to bind */ + const void *zData, /* Pointer to the data to be bound */ + int nData, /* Number of bytes of data to be bound */ + void (*xDel)(void*), /* Destructor for the data */ + u8 encoding /* Encoding for the data */ +){ + Vdbe *p = (Vdbe *)pStmt; + Mem *pVar; + int rc; + + rc = vdbeUnbind(p, i); + if( rc==SQLITE_OK ){ + if( zData!=0 ){ + pVar = &p->aVar[i-1]; + rc = sqlite3VdbeMemSetStr(pVar, zData, nData, encoding, xDel); + if( rc==SQLITE_OK && encoding!=0 ){ + rc = sqlite3VdbeChangeEncoding(pVar, ENC(p->db)); + } + if( rc ){ + sqlite3Error(p->db, rc); + rc = sqlite3ApiExit(p->db, rc); + } + } + sqlite3_mutex_leave(p->db->mutex); + }else if( xDel!=SQLITE_STATIC && xDel!=SQLITE_TRANSIENT ){ + xDel((void*)zData); + } + return rc; +} + + +/* +** Bind a blob value to an SQL statement variable. +*/ +SQLITE_API int sqlite3_bind_blob( + sqlite3_stmt *pStmt, + int i, + const void *zData, + int nData, + void (*xDel)(void*) +){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( nData<0 ) return SQLITE_MISUSE_BKPT; +#endif + return bindText(pStmt, i, zData, nData, xDel, 0); +} +SQLITE_API int sqlite3_bind_blob64( + sqlite3_stmt *pStmt, + int i, + const void *zData, + sqlite3_uint64 nData, + void (*xDel)(void*) +){ + assert( xDel!=SQLITE_DYNAMIC ); + if( nData>0x7fffffff ){ + return invokeValueDestructor(zData, xDel, 0); + }else{ + return bindText(pStmt, i, zData, (int)nData, xDel, 0); + } +} +SQLITE_API int sqlite3_bind_double(sqlite3_stmt *pStmt, int i, double rValue){ + int rc; + Vdbe *p = (Vdbe *)pStmt; + rc = vdbeUnbind(p, i); + if( rc==SQLITE_OK ){ + sqlite3VdbeMemSetDouble(&p->aVar[i-1], rValue); + sqlite3_mutex_leave(p->db->mutex); + } + return rc; +} +SQLITE_API int sqlite3_bind_int(sqlite3_stmt *p, int i, int iValue){ + return sqlite3_bind_int64(p, i, (i64)iValue); +} +SQLITE_API int sqlite3_bind_int64(sqlite3_stmt *pStmt, int i, sqlite_int64 iValue){ + int rc; + Vdbe *p = (Vdbe *)pStmt; + rc = vdbeUnbind(p, i); + if( rc==SQLITE_OK ){ + sqlite3VdbeMemSetInt64(&p->aVar[i-1], iValue); + sqlite3_mutex_leave(p->db->mutex); + } + return rc; +} +SQLITE_API int sqlite3_bind_null(sqlite3_stmt *pStmt, int i){ + int rc; + Vdbe *p = (Vdbe*)pStmt; + rc = vdbeUnbind(p, i); + if( rc==SQLITE_OK ){ + sqlite3_mutex_leave(p->db->mutex); + } + return rc; +} +SQLITE_API int sqlite3_bind_pointer( + sqlite3_stmt *pStmt, + int i, + void *pPtr, + const char *zPTtype, + void (*xDestructor)(void*) +){ + int rc; + Vdbe *p = (Vdbe*)pStmt; + rc = vdbeUnbind(p, i); + if( rc==SQLITE_OK ){ + sqlite3VdbeMemSetPointer(&p->aVar[i-1], pPtr, zPTtype, xDestructor); + sqlite3_mutex_leave(p->db->mutex); + }else if( xDestructor ){ + xDestructor(pPtr); + } + return rc; +} +SQLITE_API int sqlite3_bind_text( + sqlite3_stmt *pStmt, + int i, + const char *zData, + int nData, + void (*xDel)(void*) +){ + return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF8); +} +SQLITE_API int sqlite3_bind_text64( + sqlite3_stmt *pStmt, + int i, + const char *zData, + sqlite3_uint64 nData, + void (*xDel)(void*), + unsigned char enc +){ + assert( xDel!=SQLITE_DYNAMIC ); + if( nData>0x7fffffff ){ + return invokeValueDestructor(zData, xDel, 0); + }else{ + if( enc==SQLITE_UTF16 ) enc = SQLITE_UTF16NATIVE; + return bindText(pStmt, i, zData, (int)nData, xDel, enc); + } +} +#ifndef SQLITE_OMIT_UTF16 +SQLITE_API int sqlite3_bind_text16( + sqlite3_stmt *pStmt, + int i, + const void *zData, + int nData, + void (*xDel)(void*) +){ + return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF16NATIVE); +} +#endif /* SQLITE_OMIT_UTF16 */ +SQLITE_API int sqlite3_bind_value(sqlite3_stmt *pStmt, int i, const sqlite3_value *pValue){ + int rc; + switch( sqlite3_value_type((sqlite3_value*)pValue) ){ + case SQLITE_INTEGER: { + rc = sqlite3_bind_int64(pStmt, i, pValue->u.i); + break; + } + case SQLITE_FLOAT: { + rc = sqlite3_bind_double(pStmt, i, pValue->u.r); + break; + } + case SQLITE_BLOB: { + if( pValue->flags & MEM_Zero ){ + rc = sqlite3_bind_zeroblob(pStmt, i, pValue->u.nZero); + }else{ + rc = sqlite3_bind_blob(pStmt, i, pValue->z, pValue->n,SQLITE_TRANSIENT); + } + break; + } + case SQLITE_TEXT: { + rc = bindText(pStmt,i, pValue->z, pValue->n, SQLITE_TRANSIENT, + pValue->enc); + break; + } + default: { + rc = sqlite3_bind_null(pStmt, i); + break; + } + } + return rc; +} +SQLITE_API int sqlite3_bind_zeroblob(sqlite3_stmt *pStmt, int i, int n){ + int rc; + Vdbe *p = (Vdbe *)pStmt; + rc = vdbeUnbind(p, i); + if( rc==SQLITE_OK ){ + sqlite3VdbeMemSetZeroBlob(&p->aVar[i-1], n); + sqlite3_mutex_leave(p->db->mutex); + } + return rc; +} +SQLITE_API int sqlite3_bind_zeroblob64(sqlite3_stmt *pStmt, int i, sqlite3_uint64 n){ + int rc; + Vdbe *p = (Vdbe *)pStmt; + sqlite3_mutex_enter(p->db->mutex); + if( n>(u64)p->db->aLimit[SQLITE_LIMIT_LENGTH] ){ + rc = SQLITE_TOOBIG; + }else{ + assert( (n & 0x7FFFFFFF)==n ); + rc = sqlite3_bind_zeroblob(pStmt, i, n); + } + rc = sqlite3ApiExit(p->db, rc); + sqlite3_mutex_leave(p->db->mutex); + return rc; +} + +/* +** Return the number of wildcards that can be potentially bound to. +** This routine is added to support DBD::SQLite. +*/ +SQLITE_API int sqlite3_bind_parameter_count(sqlite3_stmt *pStmt){ + Vdbe *p = (Vdbe*)pStmt; + return p ? p->nVar : 0; +} + +/* +** Return the name of a wildcard parameter. Return NULL if the index +** is out of range or if the wildcard is unnamed. +** +** The result is always UTF-8. +*/ +SQLITE_API const char *sqlite3_bind_parameter_name(sqlite3_stmt *pStmt, int i){ + Vdbe *p = (Vdbe*)pStmt; + if( p==0 ) return 0; + return sqlite3VListNumToName(p->pVList, i); +} + +/* +** Given a wildcard parameter name, return the index of the variable +** with that name. If there is no variable with the given name, +** return 0. +*/ +SQLITE_PRIVATE int sqlite3VdbeParameterIndex(Vdbe *p, const char *zName, int nName){ + if( p==0 || zName==0 ) return 0; + return sqlite3VListNameToNum(p->pVList, zName, nName); +} +SQLITE_API int sqlite3_bind_parameter_index(sqlite3_stmt *pStmt, const char *zName){ + return sqlite3VdbeParameterIndex((Vdbe*)pStmt, zName, sqlite3Strlen30(zName)); +} + +/* +** Transfer all bindings from the first statement over to the second. +*/ +SQLITE_PRIVATE int sqlite3TransferBindings(sqlite3_stmt *pFromStmt, sqlite3_stmt *pToStmt){ + Vdbe *pFrom = (Vdbe*)pFromStmt; + Vdbe *pTo = (Vdbe*)pToStmt; + int i; + assert( pTo->db==pFrom->db ); + assert( pTo->nVar==pFrom->nVar ); + sqlite3_mutex_enter(pTo->db->mutex); + for(i=0; inVar; i++){ + sqlite3VdbeMemMove(&pTo->aVar[i], &pFrom->aVar[i]); + } + sqlite3_mutex_leave(pTo->db->mutex); + return SQLITE_OK; +} + +#ifndef SQLITE_OMIT_DEPRECATED +/* +** Deprecated external interface. Internal/core SQLite code +** should call sqlite3TransferBindings. +** +** It is misuse to call this routine with statements from different +** database connections. But as this is a deprecated interface, we +** will not bother to check for that condition. +** +** If the two statements contain a different number of bindings, then +** an SQLITE_ERROR is returned. Nothing else can go wrong, so otherwise +** SQLITE_OK is returned. +*/ +SQLITE_API int sqlite3_transfer_bindings(sqlite3_stmt *pFromStmt, sqlite3_stmt *pToStmt){ + Vdbe *pFrom = (Vdbe*)pFromStmt; + Vdbe *pTo = (Vdbe*)pToStmt; + if( pFrom->nVar!=pTo->nVar ){ + return SQLITE_ERROR; + } + assert( (pTo->prepFlags & SQLITE_PREPARE_SAVESQL)!=0 || pTo->expmask==0 ); + if( pTo->expmask ){ + pTo->expired = 1; + } + assert( (pFrom->prepFlags & SQLITE_PREPARE_SAVESQL)!=0 || pFrom->expmask==0 ); + if( pFrom->expmask ){ + pFrom->expired = 1; + } + return sqlite3TransferBindings(pFromStmt, pToStmt); +} +#endif + +/* +** Return the sqlite3* database handle to which the prepared statement given +** in the argument belongs. This is the same database handle that was +** the first argument to the sqlite3_prepare() that was used to create +** the statement in the first place. +*/ +SQLITE_API sqlite3 *sqlite3_db_handle(sqlite3_stmt *pStmt){ + return pStmt ? ((Vdbe*)pStmt)->db : 0; +} + +/* +** Return true if the prepared statement is guaranteed to not modify the +** database. +*/ +SQLITE_API int sqlite3_stmt_readonly(sqlite3_stmt *pStmt){ + return pStmt ? ((Vdbe*)pStmt)->readOnly : 1; +} + +/* +** Return 1 if the statement is an EXPLAIN and return 2 if the +** statement is an EXPLAIN QUERY PLAN +*/ +SQLITE_API int sqlite3_stmt_isexplain(sqlite3_stmt *pStmt){ + return pStmt ? ((Vdbe*)pStmt)->explain : 0; +} + +/* +** Return true if the prepared statement is in need of being reset. +*/ +SQLITE_API int sqlite3_stmt_busy(sqlite3_stmt *pStmt){ + Vdbe *v = (Vdbe*)pStmt; + return v!=0 && v->magic==VDBE_MAGIC_RUN && v->pc>=0; +} + +/* +** Return a pointer to the next prepared statement after pStmt associated +** with database connection pDb. If pStmt is NULL, return the first +** prepared statement for the database connection. Return NULL if there +** are no more. +*/ +SQLITE_API sqlite3_stmt *sqlite3_next_stmt(sqlite3 *pDb, sqlite3_stmt *pStmt){ + sqlite3_stmt *pNext; +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(pDb) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + sqlite3_mutex_enter(pDb->mutex); + if( pStmt==0 ){ + pNext = (sqlite3_stmt*)pDb->pVdbe; + }else{ + pNext = (sqlite3_stmt*)((Vdbe*)pStmt)->pNext; + } + sqlite3_mutex_leave(pDb->mutex); + return pNext; +} + +/* +** Return the value of a status counter for a prepared statement +*/ +SQLITE_API int sqlite3_stmt_status(sqlite3_stmt *pStmt, int op, int resetFlag){ + Vdbe *pVdbe = (Vdbe*)pStmt; + u32 v; +#ifdef SQLITE_ENABLE_API_ARMOR + if( !pStmt + || (op!=SQLITE_STMTSTATUS_MEMUSED && (op<0||op>=ArraySize(pVdbe->aCounter))) + ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + if( op==SQLITE_STMTSTATUS_MEMUSED ){ + sqlite3 *db = pVdbe->db; + sqlite3_mutex_enter(db->mutex); + v = 0; + db->pnBytesFreed = (int*)&v; + sqlite3VdbeClearObject(db, pVdbe); + sqlite3DbFree(db, pVdbe); + db->pnBytesFreed = 0; + sqlite3_mutex_leave(db->mutex); + }else{ + v = pVdbe->aCounter[op]; + if( resetFlag ) pVdbe->aCounter[op] = 0; + } + return (int)v; +} + +/* +** Return the SQL associated with a prepared statement +*/ +SQLITE_API const char *sqlite3_sql(sqlite3_stmt *pStmt){ + Vdbe *p = (Vdbe *)pStmt; + return p ? p->zSql : 0; +} + +/* +** Return the SQL associated with a prepared statement with +** bound parameters expanded. Space to hold the returned string is +** obtained from sqlite3_malloc(). The caller is responsible for +** freeing the returned string by passing it to sqlite3_free(). +** +** The SQLITE_TRACE_SIZE_LIMIT puts an upper bound on the size of +** expanded bound parameters. +*/ +SQLITE_API char *sqlite3_expanded_sql(sqlite3_stmt *pStmt){ +#ifdef SQLITE_OMIT_TRACE + return 0; +#else + char *z = 0; + const char *zSql = sqlite3_sql(pStmt); + if( zSql ){ + Vdbe *p = (Vdbe *)pStmt; + sqlite3_mutex_enter(p->db->mutex); + z = sqlite3VdbeExpandSql(p, zSql); + sqlite3_mutex_leave(p->db->mutex); + } + return z; +#endif +} + +#ifdef SQLITE_ENABLE_NORMALIZE +/* +** Return the normalized SQL associated with a prepared statement. +*/ +SQLITE_API const char *sqlite3_normalized_sql(sqlite3_stmt *pStmt){ + Vdbe *p = (Vdbe *)pStmt; + if( p==0 ) return 0; + if( p->zNormSql==0 && ALWAYS(p->zSql!=0) ){ + sqlite3_mutex_enter(p->db->mutex); + p->zNormSql = sqlite3Normalize(p, p->zSql); + sqlite3_mutex_leave(p->db->mutex); + } + return p->zNormSql; +} +#endif /* SQLITE_ENABLE_NORMALIZE */ + +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK +/* +** Allocate and populate an UnpackedRecord structure based on the serialized +** record in nKey/pKey. Return a pointer to the new UnpackedRecord structure +** if successful, or a NULL pointer if an OOM error is encountered. +*/ +static UnpackedRecord *vdbeUnpackRecord( + KeyInfo *pKeyInfo, + int nKey, + const void *pKey +){ + UnpackedRecord *pRet; /* Return value */ + + pRet = sqlite3VdbeAllocUnpackedRecord(pKeyInfo); + if( pRet ){ + memset(pRet->aMem, 0, sizeof(Mem)*(pKeyInfo->nKeyField+1)); + sqlite3VdbeRecordUnpack(pKeyInfo, nKey, pKey, pRet); + } + return pRet; +} + +/* +** This function is called from within a pre-update callback to retrieve +** a field of the row currently being updated or deleted. +*/ +SQLITE_API int sqlite3_preupdate_old(sqlite3 *db, int iIdx, sqlite3_value **ppValue){ + PreUpdate *p = db->pPreUpdate; + Mem *pMem; + int rc = SQLITE_OK; + + /* Test that this call is being made from within an SQLITE_DELETE or + ** SQLITE_UPDATE pre-update callback, and that iIdx is within range. */ + if( !p || p->op==SQLITE_INSERT ){ + rc = SQLITE_MISUSE_BKPT; + goto preupdate_old_out; + } + if( p->pPk ){ + iIdx = sqlite3ColumnOfIndex(p->pPk, iIdx); + } + if( iIdx>=p->pCsr->nField || iIdx<0 ){ + rc = SQLITE_RANGE; + goto preupdate_old_out; + } + + /* If the old.* record has not yet been loaded into memory, do so now. */ + if( p->pUnpacked==0 ){ + u32 nRec; + u8 *aRec; + + nRec = sqlite3BtreePayloadSize(p->pCsr->uc.pCursor); + aRec = sqlite3DbMallocRaw(db, nRec); + if( !aRec ) goto preupdate_old_out; + rc = sqlite3BtreePayload(p->pCsr->uc.pCursor, 0, nRec, aRec); + if( rc==SQLITE_OK ){ + p->pUnpacked = vdbeUnpackRecord(&p->keyinfo, nRec, aRec); + if( !p->pUnpacked ) rc = SQLITE_NOMEM; + } + if( rc!=SQLITE_OK ){ + sqlite3DbFree(db, aRec); + goto preupdate_old_out; + } + p->aRecord = aRec; + } + + pMem = *ppValue = &p->pUnpacked->aMem[iIdx]; + if( iIdx==p->pTab->iPKey ){ + sqlite3VdbeMemSetInt64(pMem, p->iKey1); + }else if( iIdx>=p->pUnpacked->nField ){ + *ppValue = (sqlite3_value *)columnNullValue(); + }else if( p->pTab->aCol[iIdx].affinity==SQLITE_AFF_REAL ){ + if( pMem->flags & (MEM_Int|MEM_IntReal) ){ + testcase( pMem->flags & MEM_Int ); + testcase( pMem->flags & MEM_IntReal ); + sqlite3VdbeMemRealify(pMem); + } + } + + preupdate_old_out: + sqlite3Error(db, rc); + return sqlite3ApiExit(db, rc); +} +#endif /* SQLITE_ENABLE_PREUPDATE_HOOK */ + +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK +/* +** This function is called from within a pre-update callback to retrieve +** the number of columns in the row being updated, deleted or inserted. +*/ +SQLITE_API int sqlite3_preupdate_count(sqlite3 *db){ + PreUpdate *p = db->pPreUpdate; + return (p ? p->keyinfo.nKeyField : 0); +} +#endif /* SQLITE_ENABLE_PREUPDATE_HOOK */ + +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK +/* +** This function is designed to be called from within a pre-update callback +** only. It returns zero if the change that caused the callback was made +** immediately by a user SQL statement. Or, if the change was made by a +** trigger program, it returns the number of trigger programs currently +** on the stack (1 for a top-level trigger, 2 for a trigger fired by a +** top-level trigger etc.). +** +** For the purposes of the previous paragraph, a foreign key CASCADE, SET NULL +** or SET DEFAULT action is considered a trigger. +*/ +SQLITE_API int sqlite3_preupdate_depth(sqlite3 *db){ + PreUpdate *p = db->pPreUpdate; + return (p ? p->v->nFrame : 0); +} +#endif /* SQLITE_ENABLE_PREUPDATE_HOOK */ + +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK +/* +** This function is called from within a pre-update callback to retrieve +** a field of the row currently being updated or inserted. +*/ +SQLITE_API int sqlite3_preupdate_new(sqlite3 *db, int iIdx, sqlite3_value **ppValue){ + PreUpdate *p = db->pPreUpdate; + int rc = SQLITE_OK; + Mem *pMem; + + if( !p || p->op==SQLITE_DELETE ){ + rc = SQLITE_MISUSE_BKPT; + goto preupdate_new_out; + } + if( p->pPk && p->op!=SQLITE_UPDATE ){ + iIdx = sqlite3ColumnOfIndex(p->pPk, iIdx); + } + if( iIdx>=p->pCsr->nField || iIdx<0 ){ + rc = SQLITE_RANGE; + goto preupdate_new_out; + } + + if( p->op==SQLITE_INSERT ){ + /* For an INSERT, memory cell p->iNewReg contains the serialized record + ** that is being inserted. Deserialize it. */ + UnpackedRecord *pUnpack = p->pNewUnpacked; + if( !pUnpack ){ + Mem *pData = &p->v->aMem[p->iNewReg]; + rc = ExpandBlob(pData); + if( rc!=SQLITE_OK ) goto preupdate_new_out; + pUnpack = vdbeUnpackRecord(&p->keyinfo, pData->n, pData->z); + if( !pUnpack ){ + rc = SQLITE_NOMEM; + goto preupdate_new_out; + } + p->pNewUnpacked = pUnpack; + } + pMem = &pUnpack->aMem[iIdx]; + if( iIdx==p->pTab->iPKey ){ + sqlite3VdbeMemSetInt64(pMem, p->iKey2); + }else if( iIdx>=pUnpack->nField ){ + pMem = (sqlite3_value *)columnNullValue(); + } + }else{ + /* For an UPDATE, memory cell (p->iNewReg+1+iIdx) contains the required + ** value. Make a copy of the cell contents and return a pointer to it. + ** It is not safe to return a pointer to the memory cell itself as the + ** caller may modify the value text encoding. + */ + assert( p->op==SQLITE_UPDATE ); + if( !p->aNew ){ + p->aNew = (Mem *)sqlite3DbMallocZero(db, sizeof(Mem) * p->pCsr->nField); + if( !p->aNew ){ + rc = SQLITE_NOMEM; + goto preupdate_new_out; + } + } + assert( iIdx>=0 && iIdxpCsr->nField ); + pMem = &p->aNew[iIdx]; + if( pMem->flags==0 ){ + if( iIdx==p->pTab->iPKey ){ + sqlite3VdbeMemSetInt64(pMem, p->iKey2); + }else{ + rc = sqlite3VdbeMemCopy(pMem, &p->v->aMem[p->iNewReg+1+iIdx]); + if( rc!=SQLITE_OK ) goto preupdate_new_out; + } + } + } + *ppValue = pMem; + + preupdate_new_out: + sqlite3Error(db, rc); + return sqlite3ApiExit(db, rc); +} +#endif /* SQLITE_ENABLE_PREUPDATE_HOOK */ + +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS +/* +** Return status data for a single loop within query pStmt. +*/ +SQLITE_API int sqlite3_stmt_scanstatus( + sqlite3_stmt *pStmt, /* Prepared statement being queried */ + int idx, /* Index of loop to report on */ + int iScanStatusOp, /* Which metric to return */ + void *pOut /* OUT: Write the answer here */ +){ + Vdbe *p = (Vdbe*)pStmt; + ScanStatus *pScan; + if( idx<0 || idx>=p->nScan ) return 1; + pScan = &p->aScan[idx]; + switch( iScanStatusOp ){ + case SQLITE_SCANSTAT_NLOOP: { + *(sqlite3_int64*)pOut = p->anExec[pScan->addrLoop]; + break; + } + case SQLITE_SCANSTAT_NVISIT: { + *(sqlite3_int64*)pOut = p->anExec[pScan->addrVisit]; + break; + } + case SQLITE_SCANSTAT_EST: { + double r = 1.0; + LogEst x = pScan->nEst; + while( x<100 ){ + x += 10; + r *= 0.5; + } + *(double*)pOut = r*sqlite3LogEstToInt(x); + break; + } + case SQLITE_SCANSTAT_NAME: { + *(const char**)pOut = pScan->zName; + break; + } + case SQLITE_SCANSTAT_EXPLAIN: { + if( pScan->addrExplain ){ + *(const char**)pOut = p->aOp[ pScan->addrExplain ].p4.z; + }else{ + *(const char**)pOut = 0; + } + break; + } + case SQLITE_SCANSTAT_SELECTID: { + if( pScan->addrExplain ){ + *(int*)pOut = p->aOp[ pScan->addrExplain ].p1; + }else{ + *(int*)pOut = -1; + } + break; + } + default: { + return 1; + } + } + return 0; +} + +/* +** Zero all counters associated with the sqlite3_stmt_scanstatus() data. +*/ +SQLITE_API void sqlite3_stmt_scanstatus_reset(sqlite3_stmt *pStmt){ + Vdbe *p = (Vdbe*)pStmt; + memset(p->anExec, 0, p->nOp * sizeof(i64)); +} +#endif /* SQLITE_ENABLE_STMT_SCANSTATUS */ + +/************** End of vdbeapi.c *********************************************/ +/************** Begin file vdbetrace.c ***************************************/ +/* +** 2009 November 25 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains code used to insert the values of host parameters +** (aka "wildcards") into the SQL text output by sqlite3_trace(). +** +** The Vdbe parse-tree explainer is also found here. +*/ +/* #include "sqliteInt.h" */ +/* #include "vdbeInt.h" */ + +#ifndef SQLITE_OMIT_TRACE + +/* +** zSql is a zero-terminated string of UTF-8 SQL text. Return the number of +** bytes in this text up to but excluding the first character in +** a host parameter. If the text contains no host parameters, return +** the total number of bytes in the text. +*/ +static int findNextHostParameter(const char *zSql, int *pnToken){ + int tokenType; + int nTotal = 0; + int n; + + *pnToken = 0; + while( zSql[0] ){ + n = sqlite3GetToken((u8*)zSql, &tokenType); + assert( n>0 && tokenType!=TK_ILLEGAL ); + if( tokenType==TK_VARIABLE ){ + *pnToken = n; + break; + } + nTotal += n; + zSql += n; + } + return nTotal; +} + +/* +** This function returns a pointer to a nul-terminated string in memory +** obtained from sqlite3DbMalloc(). If sqlite3.nVdbeExec is 1, then the +** string contains a copy of zRawSql but with host parameters expanded to +** their current bindings. Or, if sqlite3.nVdbeExec is greater than 1, +** then the returned string holds a copy of zRawSql with "-- " prepended +** to each line of text. +** +** If the SQLITE_TRACE_SIZE_LIMIT macro is defined to an integer, then +** then long strings and blobs are truncated to that many bytes. This +** can be used to prevent unreasonably large trace strings when dealing +** with large (multi-megabyte) strings and blobs. +** +** The calling function is responsible for making sure the memory returned +** is eventually freed. +** +** ALGORITHM: Scan the input string looking for host parameters in any of +** these forms: ?, ?N, $A, @A, :A. Take care to avoid text within +** string literals, quoted identifier names, and comments. For text forms, +** the host parameter index is found by scanning the prepared +** statement for the corresponding OP_Variable opcode. Once the host +** parameter index is known, locate the value in p->aVar[]. Then render +** the value as a literal in place of the host parameter name. +*/ +SQLITE_PRIVATE char *sqlite3VdbeExpandSql( + Vdbe *p, /* The prepared statement being evaluated */ + const char *zRawSql /* Raw text of the SQL statement */ +){ + sqlite3 *db; /* The database connection */ + int idx = 0; /* Index of a host parameter */ + int nextIndex = 1; /* Index of next ? host parameter */ + int n; /* Length of a token prefix */ + int nToken; /* Length of the parameter token */ + int i; /* Loop counter */ + Mem *pVar; /* Value of a host parameter */ + StrAccum out; /* Accumulate the output here */ +#ifndef SQLITE_OMIT_UTF16 + Mem utf8; /* Used to convert UTF16 into UTF8 for display */ +#endif + char zBase[100]; /* Initial working space */ + + db = p->db; + sqlite3StrAccumInit(&out, 0, zBase, sizeof(zBase), + db->aLimit[SQLITE_LIMIT_LENGTH]); + if( db->nVdbeExec>1 ){ + while( *zRawSql ){ + const char *zStart = zRawSql; + while( *(zRawSql++)!='\n' && *zRawSql ); + sqlite3_str_append(&out, "-- ", 3); + assert( (zRawSql - zStart) > 0 ); + sqlite3_str_append(&out, zStart, (int)(zRawSql-zStart)); + } + }else if( p->nVar==0 ){ + sqlite3_str_append(&out, zRawSql, sqlite3Strlen30(zRawSql)); + }else{ + while( zRawSql[0] ){ + n = findNextHostParameter(zRawSql, &nToken); + assert( n>0 ); + sqlite3_str_append(&out, zRawSql, n); + zRawSql += n; + assert( zRawSql[0] || nToken==0 ); + if( nToken==0 ) break; + if( zRawSql[0]=='?' ){ + if( nToken>1 ){ + assert( sqlite3Isdigit(zRawSql[1]) ); + sqlite3GetInt32(&zRawSql[1], &idx); + }else{ + idx = nextIndex; + } + }else{ + assert( zRawSql[0]==':' || zRawSql[0]=='$' || + zRawSql[0]=='@' || zRawSql[0]=='#' ); + testcase( zRawSql[0]==':' ); + testcase( zRawSql[0]=='$' ); + testcase( zRawSql[0]=='@' ); + testcase( zRawSql[0]=='#' ); + idx = sqlite3VdbeParameterIndex(p, zRawSql, nToken); + assert( idx>0 ); + } + zRawSql += nToken; + nextIndex = idx + 1; + assert( idx>0 && idx<=p->nVar ); + pVar = &p->aVar[idx-1]; + if( pVar->flags & MEM_Null ){ + sqlite3_str_append(&out, "NULL", 4); + }else if( pVar->flags & (MEM_Int|MEM_IntReal) ){ + sqlite3_str_appendf(&out, "%lld", pVar->u.i); + }else if( pVar->flags & MEM_Real ){ + sqlite3_str_appendf(&out, "%!.15g", pVar->u.r); + }else if( pVar->flags & MEM_Str ){ + int nOut; /* Number of bytes of the string text to include in output */ +#ifndef SQLITE_OMIT_UTF16 + u8 enc = ENC(db); + if( enc!=SQLITE_UTF8 ){ + memset(&utf8, 0, sizeof(utf8)); + utf8.db = db; + sqlite3VdbeMemSetStr(&utf8, pVar->z, pVar->n, enc, SQLITE_STATIC); + if( SQLITE_NOMEM==sqlite3VdbeChangeEncoding(&utf8, SQLITE_UTF8) ){ + out.accError = SQLITE_NOMEM; + out.nAlloc = 0; + } + pVar = &utf8; + } +#endif + nOut = pVar->n; +#ifdef SQLITE_TRACE_SIZE_LIMIT + if( nOut>SQLITE_TRACE_SIZE_LIMIT ){ + nOut = SQLITE_TRACE_SIZE_LIMIT; + while( nOutn && (pVar->z[nOut]&0xc0)==0x80 ){ nOut++; } + } +#endif + sqlite3_str_appendf(&out, "'%.*q'", nOut, pVar->z); +#ifdef SQLITE_TRACE_SIZE_LIMIT + if( nOutn ){ + sqlite3_str_appendf(&out, "/*+%d bytes*/", pVar->n-nOut); + } +#endif +#ifndef SQLITE_OMIT_UTF16 + if( enc!=SQLITE_UTF8 ) sqlite3VdbeMemRelease(&utf8); +#endif + }else if( pVar->flags & MEM_Zero ){ + sqlite3_str_appendf(&out, "zeroblob(%d)", pVar->u.nZero); + }else{ + int nOut; /* Number of bytes of the blob to include in output */ + assert( pVar->flags & MEM_Blob ); + sqlite3_str_append(&out, "x'", 2); + nOut = pVar->n; +#ifdef SQLITE_TRACE_SIZE_LIMIT + if( nOut>SQLITE_TRACE_SIZE_LIMIT ) nOut = SQLITE_TRACE_SIZE_LIMIT; +#endif + for(i=0; iz[i]&0xff); + } + sqlite3_str_append(&out, "'", 1); +#ifdef SQLITE_TRACE_SIZE_LIMIT + if( nOutn ){ + sqlite3_str_appendf(&out, "/*+%d bytes*/", pVar->n-nOut); + } +#endif + } + } + } + if( out.accError ) sqlite3_str_reset(&out); + return sqlite3StrAccumFinish(&out); +} + +#endif /* #ifndef SQLITE_OMIT_TRACE */ + +/************** End of vdbetrace.c *******************************************/ +/************** Begin file vdbe.c ********************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** The code in this file implements the function that runs the +** bytecode of a prepared statement. +** +** Various scripts scan this source file in order to generate HTML +** documentation, headers files, or other derived files. The formatting +** of the code in this file is, therefore, important. See other comments +** in this file for details. If in doubt, do not deviate from existing +** commenting and indentation practices when changing or adding code. +*/ +/* #include "sqliteInt.h" */ +/* #include "vdbeInt.h" */ + +/* +** Invoke this macro on memory cells just prior to changing the +** value of the cell. This macro verifies that shallow copies are +** not misused. A shallow copy of a string or blob just copies a +** pointer to the string or blob, not the content. If the original +** is changed while the copy is still in use, the string or blob might +** be changed out from under the copy. This macro verifies that nothing +** like that ever happens. +*/ +#ifdef SQLITE_DEBUG +# define memAboutToChange(P,M) sqlite3VdbeMemAboutToChange(P,M) +#else +# define memAboutToChange(P,M) +#endif + +/* +** The following global variable is incremented every time a cursor +** moves, either by the OP_SeekXX, OP_Next, or OP_Prev opcodes. The test +** procedures use this information to make sure that indices are +** working correctly. This variable has no function other than to +** help verify the correct operation of the library. +*/ +#ifdef SQLITE_TEST +SQLITE_API int sqlite3_search_count = 0; +#endif + +/* +** When this global variable is positive, it gets decremented once before +** each instruction in the VDBE. When it reaches zero, the u1.isInterrupted +** field of the sqlite3 structure is set in order to simulate an interrupt. +** +** This facility is used for testing purposes only. It does not function +** in an ordinary build. +*/ +#ifdef SQLITE_TEST +SQLITE_API int sqlite3_interrupt_count = 0; +#endif + +/* +** The next global variable is incremented each type the OP_Sort opcode +** is executed. The test procedures use this information to make sure that +** sorting is occurring or not occurring at appropriate times. This variable +** has no function other than to help verify the correct operation of the +** library. +*/ +#ifdef SQLITE_TEST +SQLITE_API int sqlite3_sort_count = 0; +#endif + +/* +** The next global variable records the size of the largest MEM_Blob +** or MEM_Str that has been used by a VDBE opcode. The test procedures +** use this information to make sure that the zero-blob functionality +** is working correctly. This variable has no function other than to +** help verify the correct operation of the library. +*/ +#ifdef SQLITE_TEST +SQLITE_API int sqlite3_max_blobsize = 0; +static void updateMaxBlobsize(Mem *p){ + if( (p->flags & (MEM_Str|MEM_Blob))!=0 && p->n>sqlite3_max_blobsize ){ + sqlite3_max_blobsize = p->n; + } +} +#endif + +/* +** This macro evaluates to true if either the update hook or the preupdate +** hook are enabled for database connect DB. +*/ +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK +# define HAS_UPDATE_HOOK(DB) ((DB)->xPreUpdateCallback||(DB)->xUpdateCallback) +#else +# define HAS_UPDATE_HOOK(DB) ((DB)->xUpdateCallback) +#endif + +/* +** The next global variable is incremented each time the OP_Found opcode +** is executed. This is used to test whether or not the foreign key +** operation implemented using OP_FkIsZero is working. This variable +** has no function other than to help verify the correct operation of the +** library. +*/ +#ifdef SQLITE_TEST +SQLITE_API int sqlite3_found_count = 0; +#endif + +/* +** Test a register to see if it exceeds the current maximum blob size. +** If it does, record the new maximum blob size. +*/ +#if defined(SQLITE_TEST) && !defined(SQLITE_UNTESTABLE) +# define UPDATE_MAX_BLOBSIZE(P) updateMaxBlobsize(P) +#else +# define UPDATE_MAX_BLOBSIZE(P) +#endif + +/* +** Invoke the VDBE coverage callback, if that callback is defined. This +** feature is used for test suite validation only and does not appear an +** production builds. +** +** M is the type of branch. I is the direction taken for this instance of +** the branch. +** +** M: 2 - two-way branch (I=0: fall-thru 1: jump ) +** 3 - two-way + NULL (I=0: fall-thru 1: jump 2: NULL ) +** 4 - OP_Jump (I=0: jump p1 1: jump p2 2: jump p3) +** +** In other words, if M is 2, then I is either 0 (for fall-through) or +** 1 (for when the branch is taken). If M is 3, the I is 0 for an +** ordinary fall-through, I is 1 if the branch was taken, and I is 2 +** if the result of comparison is NULL. For M=3, I=2 the jump may or +** may not be taken, depending on the SQLITE_JUMPIFNULL flags in p5. +** When M is 4, that means that an OP_Jump is being run. I is 0, 1, or 2 +** depending on if the operands are less than, equal, or greater than. +** +** iSrcLine is the source code line (from the __LINE__ macro) that +** generated the VDBE instruction combined with flag bits. The source +** code line number is in the lower 24 bits of iSrcLine and the upper +** 8 bytes are flags. The lower three bits of the flags indicate +** values for I that should never occur. For example, if the branch is +** always taken, the flags should be 0x05 since the fall-through and +** alternate branch are never taken. If a branch is never taken then +** flags should be 0x06 since only the fall-through approach is allowed. +** +** Bit 0x08 of the flags indicates an OP_Jump opcode that is only +** interested in equal or not-equal. In other words, I==0 and I==2 +** should be treated as equivalent +** +** Since only a line number is retained, not the filename, this macro +** only works for amalgamation builds. But that is ok, since these macros +** should be no-ops except for special builds used to measure test coverage. +*/ +#if !defined(SQLITE_VDBE_COVERAGE) +# define VdbeBranchTaken(I,M) +#else +# define VdbeBranchTaken(I,M) vdbeTakeBranch(pOp->iSrcLine,I,M) + static void vdbeTakeBranch(u32 iSrcLine, u8 I, u8 M){ + u8 mNever; + assert( I<=2 ); /* 0: fall through, 1: taken, 2: alternate taken */ + assert( M<=4 ); /* 2: two-way branch, 3: three-way branch, 4: OP_Jump */ + assert( I> 24; + assert( (I & mNever)==0 ); + if( sqlite3GlobalConfig.xVdbeBranch==0 ) return; /*NO_TEST*/ + /* Invoke the branch coverage callback with three arguments: + ** iSrcLine - the line number of the VdbeCoverage() macro, with + ** flags removed. + ** I - Mask of bits 0x07 indicating which cases are are + ** fulfilled by this instance of the jump. 0x01 means + ** fall-thru, 0x02 means taken, 0x04 means NULL. Any + ** impossible cases (ex: if the comparison is never NULL) + ** are filled in automatically so that the coverage + ** measurement logic does not flag those impossible cases + ** as missed coverage. + ** M - Type of jump. Same as M argument above + */ + I |= mNever; + if( M==2 ) I |= 0x04; + if( M==4 ){ + I |= 0x08; + if( (mNever&0x08)!=0 && (I&0x05)!=0) I |= 0x05; /*NO_TEST*/ + } + sqlite3GlobalConfig.xVdbeBranch(sqlite3GlobalConfig.pVdbeBranchArg, + iSrcLine&0xffffff, I, M); + } +#endif + +/* +** An ephemeral string value (signified by the MEM_Ephem flag) contains +** a pointer to a dynamically allocated string where some other entity +** is responsible for deallocating that string. Because the register +** does not control the string, it might be deleted without the register +** knowing it. +** +** This routine converts an ephemeral string into a dynamically allocated +** string that the register itself controls. In other words, it +** converts an MEM_Ephem string into a string with P.z==P.zMalloc. +*/ +#define Deephemeralize(P) \ + if( ((P)->flags&MEM_Ephem)!=0 \ + && sqlite3VdbeMemMakeWriteable(P) ){ goto no_mem;} + +/* Return true if the cursor was opened using the OP_OpenSorter opcode. */ +#define isSorter(x) ((x)->eCurType==CURTYPE_SORTER) + +/* +** Allocate VdbeCursor number iCur. Return a pointer to it. Return NULL +** if we run out of memory. +*/ +static VdbeCursor *allocateCursor( + Vdbe *p, /* The virtual machine */ + int iCur, /* Index of the new VdbeCursor */ + int nField, /* Number of fields in the table or index */ + int iDb, /* Database the cursor belongs to, or -1 */ + u8 eCurType /* Type of the new cursor */ +){ + /* Find the memory cell that will be used to store the blob of memory + ** required for this VdbeCursor structure. It is convenient to use a + ** vdbe memory cell to manage the memory allocation required for a + ** VdbeCursor structure for the following reasons: + ** + ** * Sometimes cursor numbers are used for a couple of different + ** purposes in a vdbe program. The different uses might require + ** different sized allocations. Memory cells provide growable + ** allocations. + ** + ** * When using ENABLE_MEMORY_MANAGEMENT, memory cell buffers can + ** be freed lazily via the sqlite3_release_memory() API. This + ** minimizes the number of malloc calls made by the system. + ** + ** The memory cell for cursor 0 is aMem[0]. The rest are allocated from + ** the top of the register space. Cursor 1 is at Mem[p->nMem-1]. + ** Cursor 2 is at Mem[p->nMem-2]. And so forth. + */ + Mem *pMem = iCur>0 ? &p->aMem[p->nMem-iCur] : p->aMem; + + int nByte; + VdbeCursor *pCx = 0; + nByte = + ROUND8(sizeof(VdbeCursor)) + 2*sizeof(u32)*nField + + (eCurType==CURTYPE_BTREE?sqlite3BtreeCursorSize():0); + + assert( iCur>=0 && iCurnCursor ); + if( p->apCsr[iCur] ){ /*OPTIMIZATION-IF-FALSE*/ + /* Before calling sqlite3VdbeFreeCursor(), ensure the isEphemeral flag + ** is clear. Otherwise, if this is an ephemeral cursor created by + ** OP_OpenDup, the cursor will not be closed and will still be part + ** of a BtShared.pCursor list. */ + if( p->apCsr[iCur]->pBtx==0 ) p->apCsr[iCur]->isEphemeral = 0; + sqlite3VdbeFreeCursor(p, p->apCsr[iCur]); + p->apCsr[iCur] = 0; + } + if( SQLITE_OK==sqlite3VdbeMemClearAndResize(pMem, nByte) ){ + p->apCsr[iCur] = pCx = (VdbeCursor*)pMem->z; + memset(pCx, 0, offsetof(VdbeCursor,pAltCursor)); + pCx->eCurType = eCurType; + pCx->iDb = iDb; + pCx->nField = nField; + pCx->aOffset = &pCx->aType[nField]; + if( eCurType==CURTYPE_BTREE ){ + pCx->uc.pCursor = (BtCursor*) + &pMem->z[ROUND8(sizeof(VdbeCursor))+2*sizeof(u32)*nField]; + sqlite3BtreeCursorZero(pCx->uc.pCursor); + } + } + return pCx; +} + +/* +** The string in pRec is known to look like an integer and to have a +** floating point value of rValue. Return true and set *piValue to the +** integer value if the string is in range to be an integer. Otherwise, +** return false. +*/ +static int alsoAnInt(Mem *pRec, double rValue, i64 *piValue){ + i64 iValue = (double)rValue; + if( sqlite3RealSameAsInt(rValue,iValue) ){ + *piValue = iValue; + return 1; + } + return 0==sqlite3Atoi64(pRec->z, piValue, pRec->n, pRec->enc); +} + +/* +** Try to convert a value into a numeric representation if we can +** do so without loss of information. In other words, if the string +** looks like a number, convert it into a number. If it does not +** look like a number, leave it alone. +** +** If the bTryForInt flag is true, then extra effort is made to give +** an integer representation. Strings that look like floating point +** values but which have no fractional component (example: '48.00') +** will have a MEM_Int representation when bTryForInt is true. +** +** If bTryForInt is false, then if the input string contains a decimal +** point or exponential notation, the result is only MEM_Real, even +** if there is an exact integer representation of the quantity. +*/ +static void applyNumericAffinity(Mem *pRec, int bTryForInt){ + double rValue; + u8 enc = pRec->enc; + int rc; + assert( (pRec->flags & (MEM_Str|MEM_Int|MEM_Real|MEM_IntReal))==MEM_Str ); + rc = sqlite3AtoF(pRec->z, &rValue, pRec->n, enc); + if( rc<=0 ) return; + if( rc==1 && alsoAnInt(pRec, rValue, &pRec->u.i) ){ + pRec->flags |= MEM_Int; + }else{ + pRec->u.r = rValue; + pRec->flags |= MEM_Real; + if( bTryForInt ) sqlite3VdbeIntegerAffinity(pRec); + } + /* TEXT->NUMERIC is many->one. Hence, it is important to invalidate the + ** string representation after computing a numeric equivalent, because the + ** string representation might not be the canonical representation for the + ** numeric value. Ticket [343634942dd54ab57b7024] 2018-01-31. */ + pRec->flags &= ~MEM_Str; +} + +/* +** Processing is determine by the affinity parameter: +** +** SQLITE_AFF_INTEGER: +** SQLITE_AFF_REAL: +** SQLITE_AFF_NUMERIC: +** Try to convert pRec to an integer representation or a +** floating-point representation if an integer representation +** is not possible. Note that the integer representation is +** always preferred, even if the affinity is REAL, because +** an integer representation is more space efficient on disk. +** +** SQLITE_AFF_TEXT: +** Convert pRec to a text representation. +** +** SQLITE_AFF_BLOB: +** SQLITE_AFF_NONE: +** No-op. pRec is unchanged. +*/ +static void applyAffinity( + Mem *pRec, /* The value to apply affinity to */ + char affinity, /* The affinity to be applied */ + u8 enc /* Use this text encoding */ +){ + if( affinity>=SQLITE_AFF_NUMERIC ){ + assert( affinity==SQLITE_AFF_INTEGER || affinity==SQLITE_AFF_REAL + || affinity==SQLITE_AFF_NUMERIC ); + if( (pRec->flags & MEM_Int)==0 ){ /*OPTIMIZATION-IF-FALSE*/ + if( (pRec->flags & MEM_Real)==0 ){ + if( pRec->flags & MEM_Str ) applyNumericAffinity(pRec,1); + }else{ + sqlite3VdbeIntegerAffinity(pRec); + } + } + }else if( affinity==SQLITE_AFF_TEXT ){ + /* Only attempt the conversion to TEXT if there is an integer or real + ** representation (blob and NULL do not get converted) but no string + ** representation. It would be harmless to repeat the conversion if + ** there is already a string rep, but it is pointless to waste those + ** CPU cycles. */ + if( 0==(pRec->flags&MEM_Str) ){ /*OPTIMIZATION-IF-FALSE*/ + if( (pRec->flags&(MEM_Real|MEM_Int|MEM_IntReal)) ){ + testcase( pRec->flags & MEM_Int ); + testcase( pRec->flags & MEM_Real ); + testcase( pRec->flags & MEM_IntReal ); + sqlite3VdbeMemStringify(pRec, enc, 1); + } + } + pRec->flags &= ~(MEM_Real|MEM_Int|MEM_IntReal); + } +} + +/* +** Try to convert the type of a function argument or a result column +** into a numeric representation. Use either INTEGER or REAL whichever +** is appropriate. But only do the conversion if it is possible without +** loss of information and return the revised type of the argument. +*/ +SQLITE_API int sqlite3_value_numeric_type(sqlite3_value *pVal){ + int eType = sqlite3_value_type(pVal); + if( eType==SQLITE_TEXT ){ + Mem *pMem = (Mem*)pVal; + applyNumericAffinity(pMem, 0); + eType = sqlite3_value_type(pVal); + } + return eType; +} + +/* +** Exported version of applyAffinity(). This one works on sqlite3_value*, +** not the internal Mem* type. +*/ +SQLITE_PRIVATE void sqlite3ValueApplyAffinity( + sqlite3_value *pVal, + u8 affinity, + u8 enc +){ + applyAffinity((Mem *)pVal, affinity, enc); +} + +/* +** pMem currently only holds a string type (or maybe a BLOB that we can +** interpret as a string if we want to). Compute its corresponding +** numeric type, if has one. Set the pMem->u.r and pMem->u.i fields +** accordingly. +*/ +static u16 SQLITE_NOINLINE computeNumericType(Mem *pMem){ + int rc; + sqlite3_int64 ix; + assert( (pMem->flags & (MEM_Int|MEM_Real|MEM_IntReal))==0 ); + assert( (pMem->flags & (MEM_Str|MEM_Blob))!=0 ); + ExpandBlob(pMem); + rc = sqlite3AtoF(pMem->z, &pMem->u.r, pMem->n, pMem->enc); + if( rc<=0 ){ + if( rc==0 && sqlite3Atoi64(pMem->z, &ix, pMem->n, pMem->enc)<=1 ){ + pMem->u.i = ix; + return MEM_Int; + }else{ + return MEM_Real; + } + }else if( rc==1 && sqlite3Atoi64(pMem->z, &ix, pMem->n, pMem->enc)==0 ){ + pMem->u.i = ix; + return MEM_Int; + } + return MEM_Real; +} + +/* +** Return the numeric type for pMem, either MEM_Int or MEM_Real or both or +** none. +** +** Unlike applyNumericAffinity(), this routine does not modify pMem->flags. +** But it does set pMem->u.r and pMem->u.i appropriately. +*/ +static u16 numericType(Mem *pMem){ + if( pMem->flags & (MEM_Int|MEM_Real|MEM_IntReal) ){ + testcase( pMem->flags & MEM_Int ); + testcase( pMem->flags & MEM_Real ); + testcase( pMem->flags & MEM_IntReal ); + return pMem->flags & (MEM_Int|MEM_Real|MEM_IntReal); + } + if( pMem->flags & (MEM_Str|MEM_Blob) ){ + testcase( pMem->flags & MEM_Str ); + testcase( pMem->flags & MEM_Blob ); + return computeNumericType(pMem); + } + return 0; +} + +#ifdef SQLITE_DEBUG +/* +** Write a nice string representation of the contents of cell pMem +** into buffer zBuf, length nBuf. +*/ +SQLITE_PRIVATE void sqlite3VdbeMemPrettyPrint(Mem *pMem, char *zBuf){ + char *zCsr = zBuf; + int f = pMem->flags; + + static const char *const encnames[] = {"(X)", "(8)", "(16LE)", "(16BE)"}; + + if( f&MEM_Blob ){ + int i; + char c; + if( f & MEM_Dyn ){ + c = 'z'; + assert( (f & (MEM_Static|MEM_Ephem))==0 ); + }else if( f & MEM_Static ){ + c = 't'; + assert( (f & (MEM_Dyn|MEM_Ephem))==0 ); + }else if( f & MEM_Ephem ){ + c = 'e'; + assert( (f & (MEM_Static|MEM_Dyn))==0 ); + }else{ + c = 's'; + } + *(zCsr++) = c; + *(zCsr++) = 'x'; + sqlite3_snprintf(100, zCsr, "%d[", pMem->n); + zCsr += sqlite3Strlen30(zCsr); + for(i=0; i<25 && in; i++){ + sqlite3_snprintf(100, zCsr, "%02X", ((int)pMem->z[i] & 0xFF)); + zCsr += sqlite3Strlen30(zCsr); + } + *zCsr++ = '|'; + for(i=0; i<25 && in; i++){ + char z = pMem->z[i]; + if( z<32 || z>126 ) *zCsr++ = '.'; + else *zCsr++ = z; + } + *(zCsr++) = ']'; + if( f & MEM_Zero ){ + sqlite3_snprintf(100, zCsr,"+%dz",pMem->u.nZero); + zCsr += sqlite3Strlen30(zCsr); + } + *zCsr = '\0'; + }else if( f & MEM_Str ){ + int j, k; + zBuf[0] = ' '; + if( f & MEM_Dyn ){ + zBuf[1] = 'z'; + assert( (f & (MEM_Static|MEM_Ephem))==0 ); + }else if( f & MEM_Static ){ + zBuf[1] = 't'; + assert( (f & (MEM_Dyn|MEM_Ephem))==0 ); + }else if( f & MEM_Ephem ){ + zBuf[1] = 'e'; + assert( (f & (MEM_Static|MEM_Dyn))==0 ); + }else{ + zBuf[1] = 's'; + } + k = 2; + sqlite3_snprintf(100, &zBuf[k], "%d", pMem->n); + k += sqlite3Strlen30(&zBuf[k]); + zBuf[k++] = '['; + for(j=0; j<25 && jn; j++){ + u8 c = pMem->z[j]; + if( c>=0x20 && c<0x7f ){ + zBuf[k++] = c; + }else{ + zBuf[k++] = '.'; + } + } + zBuf[k++] = ']'; + sqlite3_snprintf(100,&zBuf[k], encnames[pMem->enc]); + k += sqlite3Strlen30(&zBuf[k]); + zBuf[k++] = 0; + } +} +#endif + +#ifdef SQLITE_DEBUG +/* +** Print the value of a register for tracing purposes: +*/ +static void memTracePrint(Mem *p){ + if( p->flags & MEM_Undefined ){ + printf(" undefined"); + }else if( p->flags & MEM_Null ){ + printf(p->flags & MEM_Zero ? " NULL-nochng" : " NULL"); + }else if( (p->flags & (MEM_Int|MEM_Str))==(MEM_Int|MEM_Str) ){ + printf(" si:%lld", p->u.i); + }else if( (p->flags & (MEM_IntReal))!=0 ){ + printf(" ir:%lld", p->u.i); + }else if( p->flags & MEM_Int ){ + printf(" i:%lld", p->u.i); +#ifndef SQLITE_OMIT_FLOATING_POINT + }else if( p->flags & MEM_Real ){ + printf(" r:%.17g", p->u.r); +#endif + }else if( sqlite3VdbeMemIsRowSet(p) ){ + printf(" (rowset)"); + }else{ + char zBuf[200]; + sqlite3VdbeMemPrettyPrint(p, zBuf); + printf(" %s", zBuf); + } + if( p->flags & MEM_Subtype ) printf(" subtype=0x%02x", p->eSubtype); +} +static void registerTrace(int iReg, Mem *p){ + printf("REG[%d] = ", iReg); + memTracePrint(p); + printf("\n"); + sqlite3VdbeCheckMemInvariants(p); +} +#endif + +#ifdef SQLITE_DEBUG +# define REGISTER_TRACE(R,M) if(db->flags&SQLITE_VdbeTrace)registerTrace(R,M) +#else +# define REGISTER_TRACE(R,M) +#endif + + +#ifdef VDBE_PROFILE + +/* +** hwtime.h contains inline assembler code for implementing +** high-performance timing routines. +*/ +/************** Include hwtime.h in the middle of vdbe.c *********************/ +/************** Begin file hwtime.h ******************************************/ +/* +** 2008 May 27 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains inline asm code for retrieving "high-performance" +** counters for x86 class CPUs. +*/ +#ifndef SQLITE_HWTIME_H +#define SQLITE_HWTIME_H + +/* +** The following routine only works on pentium-class (or newer) processors. +** It uses the RDTSC opcode to read the cycle count value out of the +** processor and returns that value. This can be used for high-res +** profiling. +*/ +#if (defined(__GNUC__) || defined(_MSC_VER)) && \ + (defined(i386) || defined(__i386__) || defined(_M_IX86)) + + #if defined(__GNUC__) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned int lo, hi; + __asm__ __volatile__ ("rdtsc" : "=a" (lo), "=d" (hi)); + return (sqlite_uint64)hi << 32 | lo; + } + + #elif defined(_MSC_VER) + + __declspec(naked) __inline sqlite_uint64 __cdecl sqlite3Hwtime(void){ + __asm { + rdtsc + ret ; return value at EDX:EAX + } + } + + #endif + +#elif (defined(__GNUC__) && defined(__x86_64__)) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned long val; + __asm__ __volatile__ ("rdtsc" : "=A" (val)); + return val; + } + +#elif (defined(__GNUC__) && defined(__ppc__)) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned long long retval; + unsigned long junk; + __asm__ __volatile__ ("\n\ + 1: mftbu %1\n\ + mftb %L0\n\ + mftbu %0\n\ + cmpw %0,%1\n\ + bne 1b" + : "=r" (retval), "=r" (junk)); + return retval; + } + +#else + + #error Need implementation of sqlite3Hwtime() for your platform. + + /* + ** To compile without implementing sqlite3Hwtime() for your platform, + ** you can remove the above #error and use the following + ** stub function. You will lose timing support for many + ** of the debugging and testing utilities, but it should at + ** least compile and run. + */ +SQLITE_PRIVATE sqlite_uint64 sqlite3Hwtime(void){ return ((sqlite_uint64)0); } + +#endif + +#endif /* !defined(SQLITE_HWTIME_H) */ + +/************** End of hwtime.h **********************************************/ +/************** Continuing where we left off in vdbe.c ***********************/ + +#endif + +#ifndef NDEBUG +/* +** This function is only called from within an assert() expression. It +** checks that the sqlite3.nTransaction variable is correctly set to +** the number of non-transaction savepoints currently in the +** linked list starting at sqlite3.pSavepoint. +** +** Usage: +** +** assert( checkSavepointCount(db) ); +*/ +static int checkSavepointCount(sqlite3 *db){ + int n = 0; + Savepoint *p; + for(p=db->pSavepoint; p; p=p->pNext) n++; + assert( n==(db->nSavepoint + db->isTransactionSavepoint) ); + return 1; +} +#endif + +/* +** Return the register of pOp->p2 after first preparing it to be +** overwritten with an integer value. +*/ +static SQLITE_NOINLINE Mem *out2PrereleaseWithClear(Mem *pOut){ + sqlite3VdbeMemSetNull(pOut); + pOut->flags = MEM_Int; + return pOut; +} +static Mem *out2Prerelease(Vdbe *p, VdbeOp *pOp){ + Mem *pOut; + assert( pOp->p2>0 ); + assert( pOp->p2<=(p->nMem+1 - p->nCursor) ); + pOut = &p->aMem[pOp->p2]; + memAboutToChange(p, pOut); + if( VdbeMemDynamic(pOut) ){ /*OPTIMIZATION-IF-FALSE*/ + return out2PrereleaseWithClear(pOut); + }else{ + pOut->flags = MEM_Int; + return pOut; + } +} + + +/* +** Execute as much of a VDBE program as we can. +** This is the core of sqlite3_step(). +*/ +SQLITE_PRIVATE int sqlite3VdbeExec( + Vdbe *p /* The VDBE */ +){ + Op *aOp = p->aOp; /* Copy of p->aOp */ + Op *pOp = aOp; /* Current operation */ +#if defined(SQLITE_DEBUG) || defined(VDBE_PROFILE) + Op *pOrigOp; /* Value of pOp at the top of the loop */ +#endif +#ifdef SQLITE_DEBUG + int nExtraDelete = 0; /* Verifies FORDELETE and AUXDELETE flags */ +#endif + int rc = SQLITE_OK; /* Value to return */ + sqlite3 *db = p->db; /* The database */ + u8 resetSchemaOnFault = 0; /* Reset schema after an error if positive */ + u8 encoding = ENC(db); /* The database encoding */ + int iCompare = 0; /* Result of last comparison */ + unsigned nVmStep = 0; /* Number of virtual machine steps */ +#ifndef SQLITE_OMIT_PROGRESS_CALLBACK + unsigned nProgressLimit; /* Invoke xProgress() when nVmStep reaches this */ +#endif + Mem *aMem = p->aMem; /* Copy of p->aMem */ + Mem *pIn1 = 0; /* 1st input operand */ + Mem *pIn2 = 0; /* 2nd input operand */ + Mem *pIn3 = 0; /* 3rd input operand */ + Mem *pOut = 0; /* Output operand */ +#ifdef VDBE_PROFILE + u64 start; /* CPU clock count at start of opcode */ +#endif + /*** INSERT STACK UNION HERE ***/ + + assert( p->magic==VDBE_MAGIC_RUN ); /* sqlite3_step() verifies this */ + sqlite3VdbeEnter(p); +#ifndef SQLITE_OMIT_PROGRESS_CALLBACK + if( db->xProgress ){ + u32 iPrior = p->aCounter[SQLITE_STMTSTATUS_VM_STEP]; + assert( 0 < db->nProgressOps ); + nProgressLimit = db->nProgressOps - (iPrior % db->nProgressOps); + }else{ + nProgressLimit = 0xffffffff; + } +#endif + if( p->rc==SQLITE_NOMEM ){ + /* This happens if a malloc() inside a call to sqlite3_column_text() or + ** sqlite3_column_text16() failed. */ + goto no_mem; + } + assert( p->rc==SQLITE_OK || (p->rc&0xff)==SQLITE_BUSY ); + assert( p->bIsReader || p->readOnly!=0 ); + p->iCurrentTime = 0; + assert( p->explain==0 ); + p->pResultSet = 0; + db->busyHandler.nBusy = 0; + if( db->u1.isInterrupted ) goto abort_due_to_interrupt; + sqlite3VdbeIOTraceSql(p); +#ifdef SQLITE_DEBUG + sqlite3BeginBenignMalloc(); + if( p->pc==0 + && (p->db->flags & (SQLITE_VdbeListing|SQLITE_VdbeEQP|SQLITE_VdbeTrace))!=0 + ){ + int i; + int once = 1; + sqlite3VdbePrintSql(p); + if( p->db->flags & SQLITE_VdbeListing ){ + printf("VDBE Program Listing:\n"); + for(i=0; inOp; i++){ + sqlite3VdbePrintOp(stdout, i, &aOp[i]); + } + } + if( p->db->flags & SQLITE_VdbeEQP ){ + for(i=0; inOp; i++){ + if( aOp[i].opcode==OP_Explain ){ + if( once ) printf("VDBE Query Plan:\n"); + printf("%s\n", aOp[i].p4.z); + once = 0; + } + } + } + if( p->db->flags & SQLITE_VdbeTrace ) printf("VDBE Trace:\n"); + } + sqlite3EndBenignMalloc(); +#endif + for(pOp=&aOp[p->pc]; 1; pOp++){ + /* Errors are detected by individual opcodes, with an immediate + ** jumps to abort_due_to_error. */ + assert( rc==SQLITE_OK ); + + assert( pOp>=aOp && pOp<&aOp[p->nOp]); +#ifdef VDBE_PROFILE + start = sqlite3NProfileCnt ? sqlite3NProfileCnt : sqlite3Hwtime(); +#endif + nVmStep++; +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS + if( p->anExec ) p->anExec[(int)(pOp-aOp)]++; +#endif + + /* Only allow tracing if SQLITE_DEBUG is defined. + */ +#ifdef SQLITE_DEBUG + if( db->flags & SQLITE_VdbeTrace ){ + sqlite3VdbePrintOp(stdout, (int)(pOp - aOp), pOp); + } +#endif + + + /* Check to see if we need to simulate an interrupt. This only happens + ** if we have a special test build. + */ +#ifdef SQLITE_TEST + if( sqlite3_interrupt_count>0 ){ + sqlite3_interrupt_count--; + if( sqlite3_interrupt_count==0 ){ + sqlite3_interrupt(db); + } + } +#endif + + /* Sanity checking on other operands */ +#ifdef SQLITE_DEBUG + { + u8 opProperty = sqlite3OpcodeProperty[pOp->opcode]; + if( (opProperty & OPFLG_IN1)!=0 ){ + assert( pOp->p1>0 ); + assert( pOp->p1<=(p->nMem+1 - p->nCursor) ); + assert( memIsValid(&aMem[pOp->p1]) ); + assert( sqlite3VdbeCheckMemInvariants(&aMem[pOp->p1]) ); + REGISTER_TRACE(pOp->p1, &aMem[pOp->p1]); + } + if( (opProperty & OPFLG_IN2)!=0 ){ + assert( pOp->p2>0 ); + assert( pOp->p2<=(p->nMem+1 - p->nCursor) ); + assert( memIsValid(&aMem[pOp->p2]) ); + assert( sqlite3VdbeCheckMemInvariants(&aMem[pOp->p2]) ); + REGISTER_TRACE(pOp->p2, &aMem[pOp->p2]); + } + if( (opProperty & OPFLG_IN3)!=0 ){ + assert( pOp->p3>0 ); + assert( pOp->p3<=(p->nMem+1 - p->nCursor) ); + assert( memIsValid(&aMem[pOp->p3]) ); + assert( sqlite3VdbeCheckMemInvariants(&aMem[pOp->p3]) ); + REGISTER_TRACE(pOp->p3, &aMem[pOp->p3]); + } + if( (opProperty & OPFLG_OUT2)!=0 ){ + assert( pOp->p2>0 ); + assert( pOp->p2<=(p->nMem+1 - p->nCursor) ); + memAboutToChange(p, &aMem[pOp->p2]); + } + if( (opProperty & OPFLG_OUT3)!=0 ){ + assert( pOp->p3>0 ); + assert( pOp->p3<=(p->nMem+1 - p->nCursor) ); + memAboutToChange(p, &aMem[pOp->p3]); + } + } +#endif +#if defined(SQLITE_DEBUG) || defined(VDBE_PROFILE) + pOrigOp = pOp; +#endif + + switch( pOp->opcode ){ + +/***************************************************************************** +** What follows is a massive switch statement where each case implements a +** separate instruction in the virtual machine. If we follow the usual +** indentation conventions, each case should be indented by 6 spaces. But +** that is a lot of wasted space on the left margin. So the code within +** the switch statement will break with convention and be flush-left. Another +** big comment (similar to this one) will mark the point in the code where +** we transition back to normal indentation. +** +** The formatting of each case is important. The makefile for SQLite +** generates two C files "opcodes.h" and "opcodes.c" by scanning this +** file looking for lines that begin with "case OP_". The opcodes.h files +** will be filled with #defines that give unique integer values to each +** opcode and the opcodes.c file is filled with an array of strings where +** each string is the symbolic name for the corresponding opcode. If the +** case statement is followed by a comment of the form "/# same as ... #/" +** that comment is used to determine the particular value of the opcode. +** +** Other keywords in the comment that follows each case are used to +** construct the OPFLG_INITIALIZER value that initializes opcodeProperty[]. +** Keywords include: in1, in2, in3, out2, out3. See +** the mkopcodeh.awk script for additional information. +** +** Documentation about VDBE opcodes is generated by scanning this file +** for lines of that contain "Opcode:". That line and all subsequent +** comment lines are used in the generation of the opcode.html documentation +** file. +** +** SUMMARY: +** +** Formatting is important to scripts that scan this file. +** Do not deviate from the formatting style currently in use. +** +*****************************************************************************/ + +/* Opcode: Goto * P2 * * * +** +** An unconditional jump to address P2. +** The next instruction executed will be +** the one at index P2 from the beginning of +** the program. +** +** The P1 parameter is not actually used by this opcode. However, it +** is sometimes set to 1 instead of 0 as a hint to the command-line shell +** that this Goto is the bottom of a loop and that the lines from P2 down +** to the current line should be indented for EXPLAIN output. +*/ +case OP_Goto: { /* jump */ +jump_to_p2_and_check_for_interrupt: + pOp = &aOp[pOp->p2 - 1]; + + /* Opcodes that are used as the bottom of a loop (OP_Next, OP_Prev, + ** OP_VNext, or OP_SorterNext) all jump here upon + ** completion. Check to see if sqlite3_interrupt() has been called + ** or if the progress callback needs to be invoked. + ** + ** This code uses unstructured "goto" statements and does not look clean. + ** But that is not due to sloppy coding habits. The code is written this + ** way for performance, to avoid having to run the interrupt and progress + ** checks on every opcode. This helps sqlite3_step() to run about 1.5% + ** faster according to "valgrind --tool=cachegrind" */ +check_for_interrupt: + if( db->u1.isInterrupted ) goto abort_due_to_interrupt; +#ifndef SQLITE_OMIT_PROGRESS_CALLBACK + /* Call the progress callback if it is configured and the required number + ** of VDBE ops have been executed (either since this invocation of + ** sqlite3VdbeExec() or since last time the progress callback was called). + ** If the progress callback returns non-zero, exit the virtual machine with + ** a return code SQLITE_ABORT. + */ + while( nVmStep>=nProgressLimit && db->xProgress!=0 ){ + assert( db->nProgressOps!=0 ); + nProgressLimit += db->nProgressOps; + if( db->xProgress(db->pProgressArg) ){ + nProgressLimit = 0xffffffff; + rc = SQLITE_INTERRUPT; + goto abort_due_to_error; + } + } +#endif + + break; +} + +/* Opcode: Gosub P1 P2 * * * +** +** Write the current address onto register P1 +** and then jump to address P2. +*/ +case OP_Gosub: { /* jump */ + assert( pOp->p1>0 && pOp->p1<=(p->nMem+1 - p->nCursor) ); + pIn1 = &aMem[pOp->p1]; + assert( VdbeMemDynamic(pIn1)==0 ); + memAboutToChange(p, pIn1); + pIn1->flags = MEM_Int; + pIn1->u.i = (int)(pOp-aOp); + REGISTER_TRACE(pOp->p1, pIn1); + + /* Most jump operations do a goto to this spot in order to update + ** the pOp pointer. */ +jump_to_p2: + pOp = &aOp[pOp->p2 - 1]; + break; +} + +/* Opcode: Return P1 * * * * +** +** Jump to the next instruction after the address in register P1. After +** the jump, register P1 becomes undefined. +*/ +case OP_Return: { /* in1 */ + pIn1 = &aMem[pOp->p1]; + assert( pIn1->flags==MEM_Int ); + pOp = &aOp[pIn1->u.i]; + pIn1->flags = MEM_Undefined; + break; +} + +/* Opcode: InitCoroutine P1 P2 P3 * * +** +** Set up register P1 so that it will Yield to the coroutine +** located at address P3. +** +** If P2!=0 then the coroutine implementation immediately follows +** this opcode. So jump over the coroutine implementation to +** address P2. +** +** See also: EndCoroutine +*/ +case OP_InitCoroutine: { /* jump */ + assert( pOp->p1>0 && pOp->p1<=(p->nMem+1 - p->nCursor) ); + assert( pOp->p2>=0 && pOp->p2nOp ); + assert( pOp->p3>=0 && pOp->p3nOp ); + pOut = &aMem[pOp->p1]; + assert( !VdbeMemDynamic(pOut) ); + pOut->u.i = pOp->p3 - 1; + pOut->flags = MEM_Int; + if( pOp->p2 ) goto jump_to_p2; + break; +} + +/* Opcode: EndCoroutine P1 * * * * +** +** The instruction at the address in register P1 is a Yield. +** Jump to the P2 parameter of that Yield. +** After the jump, register P1 becomes undefined. +** +** See also: InitCoroutine +*/ +case OP_EndCoroutine: { /* in1 */ + VdbeOp *pCaller; + pIn1 = &aMem[pOp->p1]; + assert( pIn1->flags==MEM_Int ); + assert( pIn1->u.i>=0 && pIn1->u.inOp ); + pCaller = &aOp[pIn1->u.i]; + assert( pCaller->opcode==OP_Yield ); + assert( pCaller->p2>=0 && pCaller->p2nOp ); + pOp = &aOp[pCaller->p2 - 1]; + pIn1->flags = MEM_Undefined; + break; +} + +/* Opcode: Yield P1 P2 * * * +** +** Swap the program counter with the value in register P1. This +** has the effect of yielding to a coroutine. +** +** If the coroutine that is launched by this instruction ends with +** Yield or Return then continue to the next instruction. But if +** the coroutine launched by this instruction ends with +** EndCoroutine, then jump to P2 rather than continuing with the +** next instruction. +** +** See also: InitCoroutine +*/ +case OP_Yield: { /* in1, jump */ + int pcDest; + pIn1 = &aMem[pOp->p1]; + assert( VdbeMemDynamic(pIn1)==0 ); + pIn1->flags = MEM_Int; + pcDest = (int)pIn1->u.i; + pIn1->u.i = (int)(pOp - aOp); + REGISTER_TRACE(pOp->p1, pIn1); + pOp = &aOp[pcDest]; + break; +} + +/* Opcode: HaltIfNull P1 P2 P3 P4 P5 +** Synopsis: if r[P3]=null halt +** +** Check the value in register P3. If it is NULL then Halt using +** parameter P1, P2, and P4 as if this were a Halt instruction. If the +** value in register P3 is not NULL, then this routine is a no-op. +** The P5 parameter should be 1. +*/ +case OP_HaltIfNull: { /* in3 */ + pIn3 = &aMem[pOp->p3]; +#ifdef SQLITE_DEBUG + if( pOp->p2==OE_Abort ){ sqlite3VdbeAssertAbortable(p); } +#endif + if( (pIn3->flags & MEM_Null)==0 ) break; + /* Fall through into OP_Halt */ +} + +/* Opcode: Halt P1 P2 * P4 P5 +** +** Exit immediately. All open cursors, etc are closed +** automatically. +** +** P1 is the result code returned by sqlite3_exec(), sqlite3_reset(), +** or sqlite3_finalize(). For a normal halt, this should be SQLITE_OK (0). +** For errors, it can be some other value. If P1!=0 then P2 will determine +** whether or not to rollback the current transaction. Do not rollback +** if P2==OE_Fail. Do the rollback if P2==OE_Rollback. If P2==OE_Abort, +** then back out all changes that have occurred during this execution of the +** VDBE, but do not rollback the transaction. +** +** If P4 is not null then it is an error message string. +** +** P5 is a value between 0 and 4, inclusive, that modifies the P4 string. +** +** 0: (no change) +** 1: NOT NULL contraint failed: P4 +** 2: UNIQUE constraint failed: P4 +** 3: CHECK constraint failed: P4 +** 4: FOREIGN KEY constraint failed: P4 +** +** If P5 is not zero and P4 is NULL, then everything after the ":" is +** omitted. +** +** There is an implied "Halt 0 0 0" instruction inserted at the very end of +** every program. So a jump past the last instruction of the program +** is the same as executing Halt. +*/ +case OP_Halt: { + VdbeFrame *pFrame; + int pcx; + + pcx = (int)(pOp - aOp); +#ifdef SQLITE_DEBUG + if( pOp->p2==OE_Abort ){ sqlite3VdbeAssertAbortable(p); } +#endif + if( pOp->p1==SQLITE_OK && p->pFrame ){ + /* Halt the sub-program. Return control to the parent frame. */ + pFrame = p->pFrame; + p->pFrame = pFrame->pParent; + p->nFrame--; + sqlite3VdbeSetChanges(db, p->nChange); + pcx = sqlite3VdbeFrameRestore(pFrame); + if( pOp->p2==OE_Ignore ){ + /* Instruction pcx is the OP_Program that invoked the sub-program + ** currently being halted. If the p2 instruction of this OP_Halt + ** instruction is set to OE_Ignore, then the sub-program is throwing + ** an IGNORE exception. In this case jump to the address specified + ** as the p2 of the calling OP_Program. */ + pcx = p->aOp[pcx].p2-1; + } + aOp = p->aOp; + aMem = p->aMem; + pOp = &aOp[pcx]; + break; + } + p->rc = pOp->p1; + p->errorAction = (u8)pOp->p2; + p->pc = pcx; + assert( pOp->p5<=4 ); + if( p->rc ){ + if( pOp->p5 ){ + static const char * const azType[] = { "NOT NULL", "UNIQUE", "CHECK", + "FOREIGN KEY" }; + testcase( pOp->p5==1 ); + testcase( pOp->p5==2 ); + testcase( pOp->p5==3 ); + testcase( pOp->p5==4 ); + sqlite3VdbeError(p, "%s constraint failed", azType[pOp->p5-1]); + if( pOp->p4.z ){ + p->zErrMsg = sqlite3MPrintf(db, "%z: %s", p->zErrMsg, pOp->p4.z); + } + }else{ + sqlite3VdbeError(p, "%s", pOp->p4.z); + } + sqlite3_log(pOp->p1, "abort at %d in [%s]: %s", pcx, p->zSql, p->zErrMsg); + } + rc = sqlite3VdbeHalt(p); + assert( rc==SQLITE_BUSY || rc==SQLITE_OK || rc==SQLITE_ERROR ); + if( rc==SQLITE_BUSY ){ + p->rc = SQLITE_BUSY; + }else{ + assert( rc==SQLITE_OK || (p->rc&0xff)==SQLITE_CONSTRAINT ); + assert( rc==SQLITE_OK || db->nDeferredCons>0 || db->nDeferredImmCons>0 ); + rc = p->rc ? SQLITE_ERROR : SQLITE_DONE; + } + goto vdbe_return; +} + +/* Opcode: Integer P1 P2 * * * +** Synopsis: r[P2]=P1 +** +** The 32-bit integer value P1 is written into register P2. +*/ +case OP_Integer: { /* out2 */ + pOut = out2Prerelease(p, pOp); + pOut->u.i = pOp->p1; + break; +} + +/* Opcode: Int64 * P2 * P4 * +** Synopsis: r[P2]=P4 +** +** P4 is a pointer to a 64-bit integer value. +** Write that value into register P2. +*/ +case OP_Int64: { /* out2 */ + pOut = out2Prerelease(p, pOp); + assert( pOp->p4.pI64!=0 ); + pOut->u.i = *pOp->p4.pI64; + break; +} + +#ifndef SQLITE_OMIT_FLOATING_POINT +/* Opcode: Real * P2 * P4 * +** Synopsis: r[P2]=P4 +** +** P4 is a pointer to a 64-bit floating point value. +** Write that value into register P2. +*/ +case OP_Real: { /* same as TK_FLOAT, out2 */ + pOut = out2Prerelease(p, pOp); + pOut->flags = MEM_Real; + assert( !sqlite3IsNaN(*pOp->p4.pReal) ); + pOut->u.r = *pOp->p4.pReal; + break; +} +#endif + +/* Opcode: String8 * P2 * P4 * +** Synopsis: r[P2]='P4' +** +** P4 points to a nul terminated UTF-8 string. This opcode is transformed +** into a String opcode before it is executed for the first time. During +** this transformation, the length of string P4 is computed and stored +** as the P1 parameter. +*/ +case OP_String8: { /* same as TK_STRING, out2 */ + assert( pOp->p4.z!=0 ); + pOut = out2Prerelease(p, pOp); + pOp->p1 = sqlite3Strlen30(pOp->p4.z); + +#ifndef SQLITE_OMIT_UTF16 + if( encoding!=SQLITE_UTF8 ){ + rc = sqlite3VdbeMemSetStr(pOut, pOp->p4.z, -1, SQLITE_UTF8, SQLITE_STATIC); + assert( rc==SQLITE_OK || rc==SQLITE_TOOBIG ); + if( rc ) goto too_big; + if( SQLITE_OK!=sqlite3VdbeChangeEncoding(pOut, encoding) ) goto no_mem; + assert( pOut->szMalloc>0 && pOut->zMalloc==pOut->z ); + assert( VdbeMemDynamic(pOut)==0 ); + pOut->szMalloc = 0; + pOut->flags |= MEM_Static; + if( pOp->p4type==P4_DYNAMIC ){ + sqlite3DbFree(db, pOp->p4.z); + } + pOp->p4type = P4_DYNAMIC; + pOp->p4.z = pOut->z; + pOp->p1 = pOut->n; + } +#endif + if( pOp->p1>db->aLimit[SQLITE_LIMIT_LENGTH] ){ + goto too_big; + } + pOp->opcode = OP_String; + assert( rc==SQLITE_OK ); + /* Fall through to the next case, OP_String */ +} + +/* Opcode: String P1 P2 P3 P4 P5 +** Synopsis: r[P2]='P4' (len=P1) +** +** The string value P4 of length P1 (bytes) is stored in register P2. +** +** If P3 is not zero and the content of register P3 is equal to P5, then +** the datatype of the register P2 is converted to BLOB. The content is +** the same sequence of bytes, it is merely interpreted as a BLOB instead +** of a string, as if it had been CAST. In other words: +** +** if( P3!=0 and reg[P3]==P5 ) reg[P2] := CAST(reg[P2] as BLOB) +*/ +case OP_String: { /* out2 */ + assert( pOp->p4.z!=0 ); + pOut = out2Prerelease(p, pOp); + pOut->flags = MEM_Str|MEM_Static|MEM_Term; + pOut->z = pOp->p4.z; + pOut->n = pOp->p1; + pOut->enc = encoding; + UPDATE_MAX_BLOBSIZE(pOut); +#ifndef SQLITE_LIKE_DOESNT_MATCH_BLOBS + if( pOp->p3>0 ){ + assert( pOp->p3<=(p->nMem+1 - p->nCursor) ); + pIn3 = &aMem[pOp->p3]; + assert( pIn3->flags & MEM_Int ); + if( pIn3->u.i==pOp->p5 ) pOut->flags = MEM_Blob|MEM_Static|MEM_Term; + } +#endif + break; +} + +/* Opcode: Null P1 P2 P3 * * +** Synopsis: r[P2..P3]=NULL +** +** Write a NULL into registers P2. If P3 greater than P2, then also write +** NULL into register P3 and every register in between P2 and P3. If P3 +** is less than P2 (typically P3 is zero) then only register P2 is +** set to NULL. +** +** If the P1 value is non-zero, then also set the MEM_Cleared flag so that +** NULL values will not compare equal even if SQLITE_NULLEQ is set on +** OP_Ne or OP_Eq. +*/ +case OP_Null: { /* out2 */ + int cnt; + u16 nullFlag; + pOut = out2Prerelease(p, pOp); + cnt = pOp->p3-pOp->p2; + assert( pOp->p3<=(p->nMem+1 - p->nCursor) ); + pOut->flags = nullFlag = pOp->p1 ? (MEM_Null|MEM_Cleared) : MEM_Null; + pOut->n = 0; +#ifdef SQLITE_DEBUG + pOut->uTemp = 0; +#endif + while( cnt>0 ){ + pOut++; + memAboutToChange(p, pOut); + sqlite3VdbeMemSetNull(pOut); + pOut->flags = nullFlag; + pOut->n = 0; + cnt--; + } + break; +} + +/* Opcode: SoftNull P1 * * * * +** Synopsis: r[P1]=NULL +** +** Set register P1 to have the value NULL as seen by the OP_MakeRecord +** instruction, but do not free any string or blob memory associated with +** the register, so that if the value was a string or blob that was +** previously copied using OP_SCopy, the copies will continue to be valid. +*/ +case OP_SoftNull: { + assert( pOp->p1>0 && pOp->p1<=(p->nMem+1 - p->nCursor) ); + pOut = &aMem[pOp->p1]; + pOut->flags = (pOut->flags&~(MEM_Undefined|MEM_AffMask))|MEM_Null; + break; +} + +/* Opcode: Blob P1 P2 * P4 * +** Synopsis: r[P2]=P4 (len=P1) +** +** P4 points to a blob of data P1 bytes long. Store this +** blob in register P2. +*/ +case OP_Blob: { /* out2 */ + assert( pOp->p1 <= SQLITE_MAX_LENGTH ); + pOut = out2Prerelease(p, pOp); + sqlite3VdbeMemSetStr(pOut, pOp->p4.z, pOp->p1, 0, 0); + pOut->enc = encoding; + UPDATE_MAX_BLOBSIZE(pOut); + break; +} + +/* Opcode: Variable P1 P2 * P4 * +** Synopsis: r[P2]=parameter(P1,P4) +** +** Transfer the values of bound parameter P1 into register P2 +** +** If the parameter is named, then its name appears in P4. +** The P4 value is used by sqlite3_bind_parameter_name(). +*/ +case OP_Variable: { /* out2 */ + Mem *pVar; /* Value being transferred */ + + assert( pOp->p1>0 && pOp->p1<=p->nVar ); + assert( pOp->p4.z==0 || pOp->p4.z==sqlite3VListNumToName(p->pVList,pOp->p1) ); + pVar = &p->aVar[pOp->p1 - 1]; + if( sqlite3VdbeMemTooBig(pVar) ){ + goto too_big; + } + pOut = &aMem[pOp->p2]; + if( VdbeMemDynamic(pOut) ) sqlite3VdbeMemSetNull(pOut); + memcpy(pOut, pVar, MEMCELLSIZE); + pOut->flags &= ~(MEM_Dyn|MEM_Ephem); + pOut->flags |= MEM_Static|MEM_FromBind; + UPDATE_MAX_BLOBSIZE(pOut); + break; +} + +/* Opcode: Move P1 P2 P3 * * +** Synopsis: r[P2@P3]=r[P1@P3] +** +** Move the P3 values in register P1..P1+P3-1 over into +** registers P2..P2+P3-1. Registers P1..P1+P3-1 are +** left holding a NULL. It is an error for register ranges +** P1..P1+P3-1 and P2..P2+P3-1 to overlap. It is an error +** for P3 to be less than 1. +*/ +case OP_Move: { + int n; /* Number of registers left to copy */ + int p1; /* Register to copy from */ + int p2; /* Register to copy to */ + + n = pOp->p3; + p1 = pOp->p1; + p2 = pOp->p2; + assert( n>0 && p1>0 && p2>0 ); + assert( p1+n<=p2 || p2+n<=p1 ); + + pIn1 = &aMem[p1]; + pOut = &aMem[p2]; + do{ + assert( pOut<=&aMem[(p->nMem+1 - p->nCursor)] ); + assert( pIn1<=&aMem[(p->nMem+1 - p->nCursor)] ); + assert( memIsValid(pIn1) ); + memAboutToChange(p, pOut); + sqlite3VdbeMemMove(pOut, pIn1); +#ifdef SQLITE_DEBUG + if( pOut->pScopyFrom>=&aMem[p1] && pOut->pScopyFrompScopyFrom += pOp->p2 - p1; + } +#endif + Deephemeralize(pOut); + REGISTER_TRACE(p2++, pOut); + pIn1++; + pOut++; + }while( --n ); + break; +} + +/* Opcode: Copy P1 P2 P3 * * +** Synopsis: r[P2@P3+1]=r[P1@P3+1] +** +** Make a copy of registers P1..P1+P3 into registers P2..P2+P3. +** +** This instruction makes a deep copy of the value. A duplicate +** is made of any string or blob constant. See also OP_SCopy. +*/ +case OP_Copy: { + int n; + + n = pOp->p3; + pIn1 = &aMem[pOp->p1]; + pOut = &aMem[pOp->p2]; + assert( pOut!=pIn1 ); + while( 1 ){ + memAboutToChange(p, pOut); + sqlite3VdbeMemShallowCopy(pOut, pIn1, MEM_Ephem); + Deephemeralize(pOut); +#ifdef SQLITE_DEBUG + pOut->pScopyFrom = 0; +#endif + REGISTER_TRACE(pOp->p2+pOp->p3-n, pOut); + if( (n--)==0 ) break; + pOut++; + pIn1++; + } + break; +} + +/* Opcode: SCopy P1 P2 * * * +** Synopsis: r[P2]=r[P1] +** +** Make a shallow copy of register P1 into register P2. +** +** This instruction makes a shallow copy of the value. If the value +** is a string or blob, then the copy is only a pointer to the +** original and hence if the original changes so will the copy. +** Worse, if the original is deallocated, the copy becomes invalid. +** Thus the program must guarantee that the original will not change +** during the lifetime of the copy. Use OP_Copy to make a complete +** copy. +*/ +case OP_SCopy: { /* out2 */ + pIn1 = &aMem[pOp->p1]; + pOut = &aMem[pOp->p2]; + assert( pOut!=pIn1 ); + sqlite3VdbeMemShallowCopy(pOut, pIn1, MEM_Ephem); +#ifdef SQLITE_DEBUG + pOut->pScopyFrom = pIn1; + pOut->mScopyFlags = pIn1->flags; +#endif + break; +} + +/* Opcode: IntCopy P1 P2 * * * +** Synopsis: r[P2]=r[P1] +** +** Transfer the integer value held in register P1 into register P2. +** +** This is an optimized version of SCopy that works only for integer +** values. +*/ +case OP_IntCopy: { /* out2 */ + pIn1 = &aMem[pOp->p1]; + assert( (pIn1->flags & MEM_Int)!=0 ); + pOut = &aMem[pOp->p2]; + sqlite3VdbeMemSetInt64(pOut, pIn1->u.i); + break; +} + +/* Opcode: ResultRow P1 P2 * * * +** Synopsis: output=r[P1@P2] +** +** The registers P1 through P1+P2-1 contain a single row of +** results. This opcode causes the sqlite3_step() call to terminate +** with an SQLITE_ROW return code and it sets up the sqlite3_stmt +** structure to provide access to the r(P1)..r(P1+P2-1) values as +** the result row. +*/ +case OP_ResultRow: { + Mem *pMem; + int i; + assert( p->nResColumn==pOp->p2 ); + assert( pOp->p1>0 ); + assert( pOp->p1+pOp->p2<=(p->nMem+1 - p->nCursor)+1 ); + + /* If this statement has violated immediate foreign key constraints, do + ** not return the number of rows modified. And do not RELEASE the statement + ** transaction. It needs to be rolled back. */ + if( SQLITE_OK!=(rc = sqlite3VdbeCheckFk(p, 0)) ){ + assert( db->flags&SQLITE_CountRows ); + assert( p->usesStmtJournal ); + goto abort_due_to_error; + } + + /* If the SQLITE_CountRows flag is set in sqlite3.flags mask, then + ** DML statements invoke this opcode to return the number of rows + ** modified to the user. This is the only way that a VM that + ** opens a statement transaction may invoke this opcode. + ** + ** In case this is such a statement, close any statement transaction + ** opened by this VM before returning control to the user. This is to + ** ensure that statement-transactions are always nested, not overlapping. + ** If the open statement-transaction is not closed here, then the user + ** may step another VM that opens its own statement transaction. This + ** may lead to overlapping statement transactions. + ** + ** The statement transaction is never a top-level transaction. Hence + ** the RELEASE call below can never fail. + */ + assert( p->iStatement==0 || db->flags&SQLITE_CountRows ); + rc = sqlite3VdbeCloseStatement(p, SAVEPOINT_RELEASE); + assert( rc==SQLITE_OK ); + + /* Invalidate all ephemeral cursor row caches */ + p->cacheCtr = (p->cacheCtr + 2)|1; + + /* Make sure the results of the current row are \000 terminated + ** and have an assigned type. The results are de-ephemeralized as + ** a side effect. + */ + pMem = p->pResultSet = &aMem[pOp->p1]; + for(i=0; ip2; i++){ + assert( memIsValid(&pMem[i]) ); + Deephemeralize(&pMem[i]); + assert( (pMem[i].flags & MEM_Ephem)==0 + || (pMem[i].flags & (MEM_Str|MEM_Blob))==0 ); + sqlite3VdbeMemNulTerminate(&pMem[i]); + REGISTER_TRACE(pOp->p1+i, &pMem[i]); + } + if( db->mallocFailed ) goto no_mem; + + if( db->mTrace & SQLITE_TRACE_ROW ){ + db->xTrace(SQLITE_TRACE_ROW, db->pTraceArg, p, 0); + } + + /* Return SQLITE_ROW + */ + p->pc = (int)(pOp - aOp) + 1; + rc = SQLITE_ROW; + goto vdbe_return; +} + +/* Opcode: Concat P1 P2 P3 * * +** Synopsis: r[P3]=r[P2]+r[P1] +** +** Add the text in register P1 onto the end of the text in +** register P2 and store the result in register P3. +** If either the P1 or P2 text are NULL then store NULL in P3. +** +** P3 = P2 || P1 +** +** It is illegal for P1 and P3 to be the same register. Sometimes, +** if P3 is the same register as P2, the implementation is able +** to avoid a memcpy(). +*/ +case OP_Concat: { /* same as TK_CONCAT, in1, in2, out3 */ + i64 nByte; /* Total size of the output string or blob */ + u16 flags1; /* Initial flags for P1 */ + u16 flags2; /* Initial flags for P2 */ + + pIn1 = &aMem[pOp->p1]; + pIn2 = &aMem[pOp->p2]; + pOut = &aMem[pOp->p3]; + testcase( pIn1==pIn2 ); + testcase( pOut==pIn2 ); + assert( pIn1!=pOut ); + flags1 = pIn1->flags; + testcase( flags1 & MEM_Null ); + testcase( pIn2->flags & MEM_Null ); + if( (flags1 | pIn2->flags) & MEM_Null ){ + sqlite3VdbeMemSetNull(pOut); + break; + } + if( (flags1 & (MEM_Str|MEM_Blob))==0 ){ + if( sqlite3VdbeMemStringify(pIn1,encoding,0) ) goto no_mem; + flags1 = pIn1->flags & ~MEM_Str; + }else if( (flags1 & MEM_Zero)!=0 ){ + if( sqlite3VdbeMemExpandBlob(pIn1) ) goto no_mem; + flags1 = pIn1->flags & ~MEM_Str; + } + flags2 = pIn2->flags; + if( (flags2 & (MEM_Str|MEM_Blob))==0 ){ + if( sqlite3VdbeMemStringify(pIn2,encoding,0) ) goto no_mem; + flags2 = pIn2->flags & ~MEM_Str; + }else if( (flags2 & MEM_Zero)!=0 ){ + if( sqlite3VdbeMemExpandBlob(pIn2) ) goto no_mem; + flags2 = pIn2->flags & ~MEM_Str; + } + nByte = pIn1->n + pIn2->n; + if( nByte>db->aLimit[SQLITE_LIMIT_LENGTH] ){ + goto too_big; + } + if( sqlite3VdbeMemGrow(pOut, (int)nByte+3, pOut==pIn2) ){ + goto no_mem; + } + MemSetTypeFlag(pOut, MEM_Str); + if( pOut!=pIn2 ){ + memcpy(pOut->z, pIn2->z, pIn2->n); + assert( (pIn2->flags & MEM_Dyn) == (flags2 & MEM_Dyn) ); + pIn2->flags = flags2; + } + memcpy(&pOut->z[pIn2->n], pIn1->z, pIn1->n); + assert( (pIn1->flags & MEM_Dyn) == (flags1 & MEM_Dyn) ); + pIn1->flags = flags1; + pOut->z[nByte]=0; + pOut->z[nByte+1] = 0; + pOut->z[nByte+2] = 0; + pOut->flags |= MEM_Term; + pOut->n = (int)nByte; + pOut->enc = encoding; + UPDATE_MAX_BLOBSIZE(pOut); + break; +} + +/* Opcode: Add P1 P2 P3 * * +** Synopsis: r[P3]=r[P1]+r[P2] +** +** Add the value in register P1 to the value in register P2 +** and store the result in register P3. +** If either input is NULL, the result is NULL. +*/ +/* Opcode: Multiply P1 P2 P3 * * +** Synopsis: r[P3]=r[P1]*r[P2] +** +** +** Multiply the value in register P1 by the value in register P2 +** and store the result in register P3. +** If either input is NULL, the result is NULL. +*/ +/* Opcode: Subtract P1 P2 P3 * * +** Synopsis: r[P3]=r[P2]-r[P1] +** +** Subtract the value in register P1 from the value in register P2 +** and store the result in register P3. +** If either input is NULL, the result is NULL. +*/ +/* Opcode: Divide P1 P2 P3 * * +** Synopsis: r[P3]=r[P2]/r[P1] +** +** Divide the value in register P1 by the value in register P2 +** and store the result in register P3 (P3=P2/P1). If the value in +** register P1 is zero, then the result is NULL. If either input is +** NULL, the result is NULL. +*/ +/* Opcode: Remainder P1 P2 P3 * * +** Synopsis: r[P3]=r[P2]%r[P1] +** +** Compute the remainder after integer register P2 is divided by +** register P1 and store the result in register P3. +** If the value in register P1 is zero the result is NULL. +** If either operand is NULL, the result is NULL. +*/ +case OP_Add: /* same as TK_PLUS, in1, in2, out3 */ +case OP_Subtract: /* same as TK_MINUS, in1, in2, out3 */ +case OP_Multiply: /* same as TK_STAR, in1, in2, out3 */ +case OP_Divide: /* same as TK_SLASH, in1, in2, out3 */ +case OP_Remainder: { /* same as TK_REM, in1, in2, out3 */ + u16 flags; /* Combined MEM_* flags from both inputs */ + u16 type1; /* Numeric type of left operand */ + u16 type2; /* Numeric type of right operand */ + i64 iA; /* Integer value of left operand */ + i64 iB; /* Integer value of right operand */ + double rA; /* Real value of left operand */ + double rB; /* Real value of right operand */ + + pIn1 = &aMem[pOp->p1]; + type1 = numericType(pIn1); + pIn2 = &aMem[pOp->p2]; + type2 = numericType(pIn2); + pOut = &aMem[pOp->p3]; + flags = pIn1->flags | pIn2->flags; + if( (type1 & type2 & MEM_Int)!=0 ){ + iA = pIn1->u.i; + iB = pIn2->u.i; + switch( pOp->opcode ){ + case OP_Add: if( sqlite3AddInt64(&iB,iA) ) goto fp_math; break; + case OP_Subtract: if( sqlite3SubInt64(&iB,iA) ) goto fp_math; break; + case OP_Multiply: if( sqlite3MulInt64(&iB,iA) ) goto fp_math; break; + case OP_Divide: { + if( iA==0 ) goto arithmetic_result_is_null; + if( iA==-1 && iB==SMALLEST_INT64 ) goto fp_math; + iB /= iA; + break; + } + default: { + if( iA==0 ) goto arithmetic_result_is_null; + if( iA==-1 ) iA = 1; + iB %= iA; + break; + } + } + pOut->u.i = iB; + MemSetTypeFlag(pOut, MEM_Int); + }else if( (flags & MEM_Null)!=0 ){ + goto arithmetic_result_is_null; + }else{ +fp_math: + rA = sqlite3VdbeRealValue(pIn1); + rB = sqlite3VdbeRealValue(pIn2); + switch( pOp->opcode ){ + case OP_Add: rB += rA; break; + case OP_Subtract: rB -= rA; break; + case OP_Multiply: rB *= rA; break; + case OP_Divide: { + /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */ + if( rA==(double)0 ) goto arithmetic_result_is_null; + rB /= rA; + break; + } + default: { + iA = sqlite3VdbeIntValue(pIn1); + iB = sqlite3VdbeIntValue(pIn2); + if( iA==0 ) goto arithmetic_result_is_null; + if( iA==-1 ) iA = 1; + rB = (double)(iB % iA); + break; + } + } +#ifdef SQLITE_OMIT_FLOATING_POINT + pOut->u.i = rB; + MemSetTypeFlag(pOut, MEM_Int); +#else + if( sqlite3IsNaN(rB) ){ + goto arithmetic_result_is_null; + } + pOut->u.r = rB; + MemSetTypeFlag(pOut, MEM_Real); +#endif + } + break; + +arithmetic_result_is_null: + sqlite3VdbeMemSetNull(pOut); + break; +} + +/* Opcode: CollSeq P1 * * P4 +** +** P4 is a pointer to a CollSeq object. If the next call to a user function +** or aggregate calls sqlite3GetFuncCollSeq(), this collation sequence will +** be returned. This is used by the built-in min(), max() and nullif() +** functions. +** +** If P1 is not zero, then it is a register that a subsequent min() or +** max() aggregate will set to 1 if the current row is not the minimum or +** maximum. The P1 register is initialized to 0 by this instruction. +** +** The interface used by the implementation of the aforementioned functions +** to retrieve the collation sequence set by this opcode is not available +** publicly. Only built-in functions have access to this feature. +*/ +case OP_CollSeq: { + assert( pOp->p4type==P4_COLLSEQ ); + if( pOp->p1 ){ + sqlite3VdbeMemSetInt64(&aMem[pOp->p1], 0); + } + break; +} + +/* Opcode: BitAnd P1 P2 P3 * * +** Synopsis: r[P3]=r[P1]&r[P2] +** +** Take the bit-wise AND of the values in register P1 and P2 and +** store the result in register P3. +** If either input is NULL, the result is NULL. +*/ +/* Opcode: BitOr P1 P2 P3 * * +** Synopsis: r[P3]=r[P1]|r[P2] +** +** Take the bit-wise OR of the values in register P1 and P2 and +** store the result in register P3. +** If either input is NULL, the result is NULL. +*/ +/* Opcode: ShiftLeft P1 P2 P3 * * +** Synopsis: r[P3]=r[P2]<>r[P1] +** +** Shift the integer value in register P2 to the right by the +** number of bits specified by the integer in register P1. +** Store the result in register P3. +** If either input is NULL, the result is NULL. +*/ +case OP_BitAnd: /* same as TK_BITAND, in1, in2, out3 */ +case OP_BitOr: /* same as TK_BITOR, in1, in2, out3 */ +case OP_ShiftLeft: /* same as TK_LSHIFT, in1, in2, out3 */ +case OP_ShiftRight: { /* same as TK_RSHIFT, in1, in2, out3 */ + i64 iA; + u64 uA; + i64 iB; + u8 op; + + pIn1 = &aMem[pOp->p1]; + pIn2 = &aMem[pOp->p2]; + pOut = &aMem[pOp->p3]; + if( (pIn1->flags | pIn2->flags) & MEM_Null ){ + sqlite3VdbeMemSetNull(pOut); + break; + } + iA = sqlite3VdbeIntValue(pIn2); + iB = sqlite3VdbeIntValue(pIn1); + op = pOp->opcode; + if( op==OP_BitAnd ){ + iA &= iB; + }else if( op==OP_BitOr ){ + iA |= iB; + }else if( iB!=0 ){ + assert( op==OP_ShiftRight || op==OP_ShiftLeft ); + + /* If shifting by a negative amount, shift in the other direction */ + if( iB<0 ){ + assert( OP_ShiftRight==OP_ShiftLeft+1 ); + op = 2*OP_ShiftLeft + 1 - op; + iB = iB>(-64) ? -iB : 64; + } + + if( iB>=64 ){ + iA = (iA>=0 || op==OP_ShiftLeft) ? 0 : -1; + }else{ + memcpy(&uA, &iA, sizeof(uA)); + if( op==OP_ShiftLeft ){ + uA <<= iB; + }else{ + uA >>= iB; + /* Sign-extend on a right shift of a negative number */ + if( iA<0 ) uA |= ((((u64)0xffffffff)<<32)|0xffffffff) << (64-iB); + } + memcpy(&iA, &uA, sizeof(iA)); + } + } + pOut->u.i = iA; + MemSetTypeFlag(pOut, MEM_Int); + break; +} + +/* Opcode: AddImm P1 P2 * * * +** Synopsis: r[P1]=r[P1]+P2 +** +** Add the constant P2 to the value in register P1. +** The result is always an integer. +** +** To force any register to be an integer, just add 0. +*/ +case OP_AddImm: { /* in1 */ + pIn1 = &aMem[pOp->p1]; + memAboutToChange(p, pIn1); + sqlite3VdbeMemIntegerify(pIn1); + pIn1->u.i += pOp->p2; + break; +} + +/* Opcode: MustBeInt P1 P2 * * * +** +** Force the value in register P1 to be an integer. If the value +** in P1 is not an integer and cannot be converted into an integer +** without data loss, then jump immediately to P2, or if P2==0 +** raise an SQLITE_MISMATCH exception. +*/ +case OP_MustBeInt: { /* jump, in1 */ + pIn1 = &aMem[pOp->p1]; + if( (pIn1->flags & MEM_Int)==0 ){ + applyAffinity(pIn1, SQLITE_AFF_NUMERIC, encoding); + if( (pIn1->flags & MEM_Int)==0 ){ + VdbeBranchTaken(1, 2); + if( pOp->p2==0 ){ + rc = SQLITE_MISMATCH; + goto abort_due_to_error; + }else{ + goto jump_to_p2; + } + } + } + VdbeBranchTaken(0, 2); + MemSetTypeFlag(pIn1, MEM_Int); + break; +} + +#ifndef SQLITE_OMIT_FLOATING_POINT +/* Opcode: RealAffinity P1 * * * * +** +** If register P1 holds an integer convert it to a real value. +** +** This opcode is used when extracting information from a column that +** has REAL affinity. Such column values may still be stored as +** integers, for space efficiency, but after extraction we want them +** to have only a real value. +*/ +case OP_RealAffinity: { /* in1 */ + pIn1 = &aMem[pOp->p1]; + if( pIn1->flags & (MEM_Int|MEM_IntReal) ){ + testcase( pIn1->flags & MEM_Int ); + testcase( pIn1->flags & MEM_IntReal ); + sqlite3VdbeMemRealify(pIn1); + REGISTER_TRACE(pOp->p1, pIn1); + } + break; +} +#endif + +#ifndef SQLITE_OMIT_CAST +/* Opcode: Cast P1 P2 * * * +** Synopsis: affinity(r[P1]) +** +** Force the value in register P1 to be the type defined by P2. +** +**
      +**
    • P2=='A' → BLOB +**
    • P2=='B' → TEXT +**
    • P2=='C' → NUMERIC +**
    • P2=='D' → INTEGER +**
    • P2=='E' → REAL +**
    +** +** A NULL value is not changed by this routine. It remains NULL. +*/ +case OP_Cast: { /* in1 */ + assert( pOp->p2>=SQLITE_AFF_BLOB && pOp->p2<=SQLITE_AFF_REAL ); + testcase( pOp->p2==SQLITE_AFF_TEXT ); + testcase( pOp->p2==SQLITE_AFF_BLOB ); + testcase( pOp->p2==SQLITE_AFF_NUMERIC ); + testcase( pOp->p2==SQLITE_AFF_INTEGER ); + testcase( pOp->p2==SQLITE_AFF_REAL ); + pIn1 = &aMem[pOp->p1]; + memAboutToChange(p, pIn1); + rc = ExpandBlob(pIn1); + sqlite3VdbeMemCast(pIn1, pOp->p2, encoding); + UPDATE_MAX_BLOBSIZE(pIn1); + if( rc ) goto abort_due_to_error; + break; +} +#endif /* SQLITE_OMIT_CAST */ + +/* Opcode: Eq P1 P2 P3 P4 P5 +** Synopsis: IF r[P3]==r[P1] +** +** Compare the values in register P1 and P3. If reg(P3)==reg(P1) then +** jump to address P2. Or if the SQLITE_STOREP2 flag is set in P5, then +** store the result of comparison in register P2. +** +** The SQLITE_AFF_MASK portion of P5 must be an affinity character - +** SQLITE_AFF_TEXT, SQLITE_AFF_INTEGER, and so forth. An attempt is made +** to coerce both inputs according to this affinity before the +** comparison is made. If the SQLITE_AFF_MASK is 0x00, then numeric +** affinity is used. Note that the affinity conversions are stored +** back into the input registers P1 and P3. So this opcode can cause +** persistent changes to registers P1 and P3. +** +** Once any conversions have taken place, and neither value is NULL, +** the values are compared. If both values are blobs then memcmp() is +** used to determine the results of the comparison. If both values +** are text, then the appropriate collating function specified in +** P4 is used to do the comparison. If P4 is not specified then +** memcmp() is used to compare text string. If both values are +** numeric, then a numeric comparison is used. If the two values +** are of different types, then numbers are considered less than +** strings and strings are considered less than blobs. +** +** If SQLITE_NULLEQ is set in P5 then the result of comparison is always either +** true or false and is never NULL. If both operands are NULL then the result +** of comparison is true. If either operand is NULL then the result is false. +** If neither operand is NULL the result is the same as it would be if +** the SQLITE_NULLEQ flag were omitted from P5. +** +** If both SQLITE_STOREP2 and SQLITE_KEEPNULL flags are set then the +** content of r[P2] is only changed if the new value is NULL or 0 (false). +** In other words, a prior r[P2] value will not be overwritten by 1 (true). +*/ +/* Opcode: Ne P1 P2 P3 P4 P5 +** Synopsis: IF r[P3]!=r[P1] +** +** This works just like the Eq opcode except that the jump is taken if +** the operands in registers P1 and P3 are not equal. See the Eq opcode for +** additional information. +** +** If both SQLITE_STOREP2 and SQLITE_KEEPNULL flags are set then the +** content of r[P2] is only changed if the new value is NULL or 1 (true). +** In other words, a prior r[P2] value will not be overwritten by 0 (false). +*/ +/* Opcode: Lt P1 P2 P3 P4 P5 +** Synopsis: IF r[P3]r[P1] +** +** This works just like the Lt opcode except that the jump is taken if +** the content of register P3 is greater than the content of +** register P1. See the Lt opcode for additional information. +*/ +/* Opcode: Ge P1 P2 P3 P4 P5 +** Synopsis: IF r[P3]>=r[P1] +** +** This works just like the Lt opcode except that the jump is taken if +** the content of register P3 is greater than or equal to the content of +** register P1. See the Lt opcode for additional information. +*/ +case OP_Eq: /* same as TK_EQ, jump, in1, in3 */ +case OP_Ne: /* same as TK_NE, jump, in1, in3 */ +case OP_Lt: /* same as TK_LT, jump, in1, in3 */ +case OP_Le: /* same as TK_LE, jump, in1, in3 */ +case OP_Gt: /* same as TK_GT, jump, in1, in3 */ +case OP_Ge: { /* same as TK_GE, jump, in1, in3 */ + int res, res2; /* Result of the comparison of pIn1 against pIn3 */ + char affinity; /* Affinity to use for comparison */ + u16 flags1; /* Copy of initial value of pIn1->flags */ + u16 flags3; /* Copy of initial value of pIn3->flags */ + + pIn1 = &aMem[pOp->p1]; + pIn3 = &aMem[pOp->p3]; + flags1 = pIn1->flags; + flags3 = pIn3->flags; + if( (flags1 | flags3)&MEM_Null ){ + /* One or both operands are NULL */ + if( pOp->p5 & SQLITE_NULLEQ ){ + /* If SQLITE_NULLEQ is set (which will only happen if the operator is + ** OP_Eq or OP_Ne) then take the jump or not depending on whether + ** or not both operands are null. + */ + assert( (flags1 & MEM_Cleared)==0 ); + assert( (pOp->p5 & SQLITE_JUMPIFNULL)==0 || CORRUPT_DB ); + testcase( (pOp->p5 & SQLITE_JUMPIFNULL)!=0 ); + if( (flags1&flags3&MEM_Null)!=0 + && (flags3&MEM_Cleared)==0 + ){ + res = 0; /* Operands are equal */ + }else{ + res = ((flags3 & MEM_Null) ? -1 : +1); /* Operands are not equal */ + } + }else{ + /* SQLITE_NULLEQ is clear and at least one operand is NULL, + ** then the result is always NULL. + ** The jump is taken if the SQLITE_JUMPIFNULL bit is set. + */ + if( pOp->p5 & SQLITE_STOREP2 ){ + pOut = &aMem[pOp->p2]; + iCompare = 1; /* Operands are not equal */ + memAboutToChange(p, pOut); + MemSetTypeFlag(pOut, MEM_Null); + REGISTER_TRACE(pOp->p2, pOut); + }else{ + VdbeBranchTaken(2,3); + if( pOp->p5 & SQLITE_JUMPIFNULL ){ + goto jump_to_p2; + } + } + break; + } + }else{ + /* Neither operand is NULL. Do a comparison. */ + affinity = pOp->p5 & SQLITE_AFF_MASK; + if( affinity>=SQLITE_AFF_NUMERIC ){ + if( (flags1 | flags3)&MEM_Str ){ + if( (flags1 & (MEM_Int|MEM_IntReal|MEM_Real|MEM_Str))==MEM_Str ){ + applyNumericAffinity(pIn1,0); + assert( flags3==pIn3->flags ); + /* testcase( flags3!=pIn3->flags ); + ** this used to be possible with pIn1==pIn3, but not since + ** the column cache was removed. The following assignment + ** is essentially a no-op. But, it provides defense-in-depth + ** in case our analysis is incorrect, so it is left in. */ + flags3 = pIn3->flags; + } + if( (flags3 & (MEM_Int|MEM_IntReal|MEM_Real|MEM_Str))==MEM_Str ){ + applyNumericAffinity(pIn3,0); + } + } + /* Handle the common case of integer comparison here, as an + ** optimization, to avoid a call to sqlite3MemCompare() */ + if( (pIn1->flags & pIn3->flags & MEM_Int)!=0 ){ + if( pIn3->u.i > pIn1->u.i ){ res = +1; goto compare_op; } + if( pIn3->u.i < pIn1->u.i ){ res = -1; goto compare_op; } + res = 0; + goto compare_op; + } + }else if( affinity==SQLITE_AFF_TEXT ){ + if( (flags1 & MEM_Str)==0 && (flags1&(MEM_Int|MEM_Real|MEM_IntReal))!=0 ){ + testcase( pIn1->flags & MEM_Int ); + testcase( pIn1->flags & MEM_Real ); + testcase( pIn1->flags & MEM_IntReal ); + sqlite3VdbeMemStringify(pIn1, encoding, 1); + testcase( (flags1&MEM_Dyn) != (pIn1->flags&MEM_Dyn) ); + flags1 = (pIn1->flags & ~MEM_TypeMask) | (flags1 & MEM_TypeMask); + assert( pIn1!=pIn3 ); + } + if( (flags3 & MEM_Str)==0 && (flags3&(MEM_Int|MEM_Real|MEM_IntReal))!=0 ){ + testcase( pIn3->flags & MEM_Int ); + testcase( pIn3->flags & MEM_Real ); + testcase( pIn3->flags & MEM_IntReal ); + sqlite3VdbeMemStringify(pIn3, encoding, 1); + testcase( (flags3&MEM_Dyn) != (pIn3->flags&MEM_Dyn) ); + flags3 = (pIn3->flags & ~MEM_TypeMask) | (flags3 & MEM_TypeMask); + } + } + assert( pOp->p4type==P4_COLLSEQ || pOp->p4.pColl==0 ); + res = sqlite3MemCompare(pIn3, pIn1, pOp->p4.pColl); + } +compare_op: + /* At this point, res is negative, zero, or positive if reg[P1] is + ** less than, equal to, or greater than reg[P3], respectively. Compute + ** the answer to this operator in res2, depending on what the comparison + ** operator actually is. The next block of code depends on the fact + ** that the 6 comparison operators are consecutive integers in this + ** order: NE, EQ, GT, LE, LT, GE */ + assert( OP_Eq==OP_Ne+1 ); assert( OP_Gt==OP_Ne+2 ); assert( OP_Le==OP_Ne+3 ); + assert( OP_Lt==OP_Ne+4 ); assert( OP_Ge==OP_Ne+5 ); + if( res<0 ){ /* ne, eq, gt, le, lt, ge */ + static const unsigned char aLTb[] = { 1, 0, 0, 1, 1, 0 }; + res2 = aLTb[pOp->opcode - OP_Ne]; + }else if( res==0 ){ + static const unsigned char aEQb[] = { 0, 1, 0, 1, 0, 1 }; + res2 = aEQb[pOp->opcode - OP_Ne]; + }else{ + static const unsigned char aGTb[] = { 1, 0, 1, 0, 0, 1 }; + res2 = aGTb[pOp->opcode - OP_Ne]; + } + + /* Undo any changes made by applyAffinity() to the input registers. */ + assert( (pIn1->flags & MEM_Dyn) == (flags1 & MEM_Dyn) ); + pIn1->flags = flags1; + assert( (pIn3->flags & MEM_Dyn) == (flags3 & MEM_Dyn) ); + pIn3->flags = flags3; + + if( pOp->p5 & SQLITE_STOREP2 ){ + pOut = &aMem[pOp->p2]; + iCompare = res; + if( (pOp->p5 & SQLITE_KEEPNULL)!=0 ){ + /* The KEEPNULL flag prevents OP_Eq from overwriting a NULL with 1 + ** and prevents OP_Ne from overwriting NULL with 0. This flag + ** is only used in contexts where either: + ** (1) op==OP_Eq && (r[P2]==NULL || r[P2]==0) + ** (2) op==OP_Ne && (r[P2]==NULL || r[P2]==1) + ** Therefore it is not necessary to check the content of r[P2] for + ** NULL. */ + assert( pOp->opcode==OP_Ne || pOp->opcode==OP_Eq ); + assert( res2==0 || res2==1 ); + testcase( res2==0 && pOp->opcode==OP_Eq ); + testcase( res2==1 && pOp->opcode==OP_Eq ); + testcase( res2==0 && pOp->opcode==OP_Ne ); + testcase( res2==1 && pOp->opcode==OP_Ne ); + if( (pOp->opcode==OP_Eq)==res2 ) break; + } + memAboutToChange(p, pOut); + MemSetTypeFlag(pOut, MEM_Int); + pOut->u.i = res2; + REGISTER_TRACE(pOp->p2, pOut); + }else{ + VdbeBranchTaken(res2!=0, (pOp->p5 & SQLITE_NULLEQ)?2:3); + if( res2 ){ + goto jump_to_p2; + } + } + break; +} + +/* Opcode: ElseNotEq * P2 * * * +** +** This opcode must immediately follow an OP_Lt or OP_Gt comparison operator. +** If result of an OP_Eq comparison on the same two operands +** would have be NULL or false (0), then then jump to P2. +** If the result of an OP_Eq comparison on the two previous operands +** would have been true (1), then fall through. +*/ +case OP_ElseNotEq: { /* same as TK_ESCAPE, jump */ + assert( pOp>aOp ); + assert( pOp[-1].opcode==OP_Lt || pOp[-1].opcode==OP_Gt ); + assert( pOp[-1].p5 & SQLITE_STOREP2 ); + VdbeBranchTaken(iCompare!=0, 2); + if( iCompare!=0 ) goto jump_to_p2; + break; +} + + +/* Opcode: Permutation * * * P4 * +** +** Set the permutation used by the OP_Compare operator in the next +** instruction. The permutation is stored in the P4 operand. +** +** The permutation is only valid until the next OP_Compare that has +** the OPFLAG_PERMUTE bit set in P5. Typically the OP_Permutation should +** occur immediately prior to the OP_Compare. +** +** The first integer in the P4 integer array is the length of the array +** and does not become part of the permutation. +*/ +case OP_Permutation: { + assert( pOp->p4type==P4_INTARRAY ); + assert( pOp->p4.ai ); + assert( pOp[1].opcode==OP_Compare ); + assert( pOp[1].p5 & OPFLAG_PERMUTE ); + break; +} + +/* Opcode: Compare P1 P2 P3 P4 P5 +** Synopsis: r[P1@P3] <-> r[P2@P3] +** +** Compare two vectors of registers in reg(P1)..reg(P1+P3-1) (call this +** vector "A") and in reg(P2)..reg(P2+P3-1) ("B"). Save the result of +** the comparison for use by the next OP_Jump instruct. +** +** If P5 has the OPFLAG_PERMUTE bit set, then the order of comparison is +** determined by the most recent OP_Permutation operator. If the +** OPFLAG_PERMUTE bit is clear, then register are compared in sequential +** order. +** +** P4 is a KeyInfo structure that defines collating sequences and sort +** orders for the comparison. The permutation applies to registers +** only. The KeyInfo elements are used sequentially. +** +** The comparison is a sort comparison, so NULLs compare equal, +** NULLs are less than numbers, numbers are less than strings, +** and strings are less than blobs. +*/ +case OP_Compare: { + int n; + int i; + int p1; + int p2; + const KeyInfo *pKeyInfo; + int idx; + CollSeq *pColl; /* Collating sequence to use on this term */ + int bRev; /* True for DESCENDING sort order */ + int *aPermute; /* The permutation */ + + if( (pOp->p5 & OPFLAG_PERMUTE)==0 ){ + aPermute = 0; + }else{ + assert( pOp>aOp ); + assert( pOp[-1].opcode==OP_Permutation ); + assert( pOp[-1].p4type==P4_INTARRAY ); + aPermute = pOp[-1].p4.ai + 1; + assert( aPermute!=0 ); + } + n = pOp->p3; + pKeyInfo = pOp->p4.pKeyInfo; + assert( n>0 ); + assert( pKeyInfo!=0 ); + p1 = pOp->p1; + p2 = pOp->p2; +#ifdef SQLITE_DEBUG + if( aPermute ){ + int k, mx = 0; + for(k=0; kmx ) mx = aPermute[k]; + assert( p1>0 && p1+mx<=(p->nMem+1 - p->nCursor)+1 ); + assert( p2>0 && p2+mx<=(p->nMem+1 - p->nCursor)+1 ); + }else{ + assert( p1>0 && p1+n<=(p->nMem+1 - p->nCursor)+1 ); + assert( p2>0 && p2+n<=(p->nMem+1 - p->nCursor)+1 ); + } +#endif /* SQLITE_DEBUG */ + for(i=0; inKeyField ); + pColl = pKeyInfo->aColl[i]; + bRev = (pKeyInfo->aSortFlags[i] & KEYINFO_ORDER_DESC); + iCompare = sqlite3MemCompare(&aMem[p1+idx], &aMem[p2+idx], pColl); + if( iCompare ){ + if( (pKeyInfo->aSortFlags[i] & KEYINFO_ORDER_BIGNULL) + && ((aMem[p1+idx].flags & MEM_Null) || (aMem[p2+idx].flags & MEM_Null)) + ){ + iCompare = -iCompare; + } + if( bRev ) iCompare = -iCompare; + break; + } + } + break; +} + +/* Opcode: Jump P1 P2 P3 * * +** +** Jump to the instruction at address P1, P2, or P3 depending on whether +** in the most recent OP_Compare instruction the P1 vector was less than +** equal to, or greater than the P2 vector, respectively. +*/ +case OP_Jump: { /* jump */ + if( iCompare<0 ){ + VdbeBranchTaken(0,4); pOp = &aOp[pOp->p1 - 1]; + }else if( iCompare==0 ){ + VdbeBranchTaken(1,4); pOp = &aOp[pOp->p2 - 1]; + }else{ + VdbeBranchTaken(2,4); pOp = &aOp[pOp->p3 - 1]; + } + break; +} + +/* Opcode: And P1 P2 P3 * * +** Synopsis: r[P3]=(r[P1] && r[P2]) +** +** Take the logical AND of the values in registers P1 and P2 and +** write the result into register P3. +** +** If either P1 or P2 is 0 (false) then the result is 0 even if +** the other input is NULL. A NULL and true or two NULLs give +** a NULL output. +*/ +/* Opcode: Or P1 P2 P3 * * +** Synopsis: r[P3]=(r[P1] || r[P2]) +** +** Take the logical OR of the values in register P1 and P2 and +** store the answer in register P3. +** +** If either P1 or P2 is nonzero (true) then the result is 1 (true) +** even if the other input is NULL. A NULL and false or two NULLs +** give a NULL output. +*/ +case OP_And: /* same as TK_AND, in1, in2, out3 */ +case OP_Or: { /* same as TK_OR, in1, in2, out3 */ + int v1; /* Left operand: 0==FALSE, 1==TRUE, 2==UNKNOWN or NULL */ + int v2; /* Right operand: 0==FALSE, 1==TRUE, 2==UNKNOWN or NULL */ + + v1 = sqlite3VdbeBooleanValue(&aMem[pOp->p1], 2); + v2 = sqlite3VdbeBooleanValue(&aMem[pOp->p2], 2); + if( pOp->opcode==OP_And ){ + static const unsigned char and_logic[] = { 0, 0, 0, 0, 1, 2, 0, 2, 2 }; + v1 = and_logic[v1*3+v2]; + }else{ + static const unsigned char or_logic[] = { 0, 1, 2, 1, 1, 1, 2, 1, 2 }; + v1 = or_logic[v1*3+v2]; + } + pOut = &aMem[pOp->p3]; + if( v1==2 ){ + MemSetTypeFlag(pOut, MEM_Null); + }else{ + pOut->u.i = v1; + MemSetTypeFlag(pOut, MEM_Int); + } + break; +} + +/* Opcode: IsTrue P1 P2 P3 P4 * +** Synopsis: r[P2] = coalesce(r[P1]==TRUE,P3) ^ P4 +** +** This opcode implements the IS TRUE, IS FALSE, IS NOT TRUE, and +** IS NOT FALSE operators. +** +** Interpret the value in register P1 as a boolean value. Store that +** boolean (a 0 or 1) in register P2. Or if the value in register P1 is +** NULL, then the P3 is stored in register P2. Invert the answer if P4 +** is 1. +** +** The logic is summarized like this: +** +**
      +**
    • If P3==0 and P4==0 then r[P2] := r[P1] IS TRUE +**
    • If P3==1 and P4==1 then r[P2] := r[P1] IS FALSE +**
    • If P3==0 and P4==1 then r[P2] := r[P1] IS NOT TRUE +**
    • If P3==1 and P4==0 then r[P2] := r[P1] IS NOT FALSE +**
    +*/ +case OP_IsTrue: { /* in1, out2 */ + assert( pOp->p4type==P4_INT32 ); + assert( pOp->p4.i==0 || pOp->p4.i==1 ); + assert( pOp->p3==0 || pOp->p3==1 ); + sqlite3VdbeMemSetInt64(&aMem[pOp->p2], + sqlite3VdbeBooleanValue(&aMem[pOp->p1], pOp->p3) ^ pOp->p4.i); + break; +} + +/* Opcode: Not P1 P2 * * * +** Synopsis: r[P2]= !r[P1] +** +** Interpret the value in register P1 as a boolean value. Store the +** boolean complement in register P2. If the value in register P1 is +** NULL, then a NULL is stored in P2. +*/ +case OP_Not: { /* same as TK_NOT, in1, out2 */ + pIn1 = &aMem[pOp->p1]; + pOut = &aMem[pOp->p2]; + if( (pIn1->flags & MEM_Null)==0 ){ + sqlite3VdbeMemSetInt64(pOut, !sqlite3VdbeBooleanValue(pIn1,0)); + }else{ + sqlite3VdbeMemSetNull(pOut); + } + break; +} + +/* Opcode: BitNot P1 P2 * * * +** Synopsis: r[P2]= ~r[P1] +** +** Interpret the content of register P1 as an integer. Store the +** ones-complement of the P1 value into register P2. If P1 holds +** a NULL then store a NULL in P2. +*/ +case OP_BitNot: { /* same as TK_BITNOT, in1, out2 */ + pIn1 = &aMem[pOp->p1]; + pOut = &aMem[pOp->p2]; + sqlite3VdbeMemSetNull(pOut); + if( (pIn1->flags & MEM_Null)==0 ){ + pOut->flags = MEM_Int; + pOut->u.i = ~sqlite3VdbeIntValue(pIn1); + } + break; +} + +/* Opcode: Once P1 P2 * * * +** +** Fall through to the next instruction the first time this opcode is +** encountered on each invocation of the byte-code program. Jump to P2 +** on the second and all subsequent encounters during the same invocation. +** +** Top-level programs determine first invocation by comparing the P1 +** operand against the P1 operand on the OP_Init opcode at the beginning +** of the program. If the P1 values differ, then fall through and make +** the P1 of this opcode equal to the P1 of OP_Init. If P1 values are +** the same then take the jump. +** +** For subprograms, there is a bitmask in the VdbeFrame that determines +** whether or not the jump should be taken. The bitmask is necessary +** because the self-altering code trick does not work for recursive +** triggers. +*/ +case OP_Once: { /* jump */ + u32 iAddr; /* Address of this instruction */ + assert( p->aOp[0].opcode==OP_Init ); + if( p->pFrame ){ + iAddr = (int)(pOp - p->aOp); + if( (p->pFrame->aOnce[iAddr/8] & (1<<(iAddr & 7)))!=0 ){ + VdbeBranchTaken(1, 2); + goto jump_to_p2; + } + p->pFrame->aOnce[iAddr/8] |= 1<<(iAddr & 7); + }else{ + if( p->aOp[0].p1==pOp->p1 ){ + VdbeBranchTaken(1, 2); + goto jump_to_p2; + } + } + VdbeBranchTaken(0, 2); + pOp->p1 = p->aOp[0].p1; + break; +} + +/* Opcode: If P1 P2 P3 * * +** +** Jump to P2 if the value in register P1 is true. The value +** is considered true if it is numeric and non-zero. If the value +** in P1 is NULL then take the jump if and only if P3 is non-zero. +*/ +case OP_If: { /* jump, in1 */ + int c; + c = sqlite3VdbeBooleanValue(&aMem[pOp->p1], pOp->p3); + VdbeBranchTaken(c!=0, 2); + if( c ) goto jump_to_p2; + break; +} + +/* Opcode: IfNot P1 P2 P3 * * +** +** Jump to P2 if the value in register P1 is False. The value +** is considered false if it has a numeric value of zero. If the value +** in P1 is NULL then take the jump if and only if P3 is non-zero. +*/ +case OP_IfNot: { /* jump, in1 */ + int c; + c = !sqlite3VdbeBooleanValue(&aMem[pOp->p1], !pOp->p3); + VdbeBranchTaken(c!=0, 2); + if( c ) goto jump_to_p2; + break; +} + +/* Opcode: IsNull P1 P2 * * * +** Synopsis: if r[P1]==NULL goto P2 +** +** Jump to P2 if the value in register P1 is NULL. +*/ +case OP_IsNull: { /* same as TK_ISNULL, jump, in1 */ + pIn1 = &aMem[pOp->p1]; + VdbeBranchTaken( (pIn1->flags & MEM_Null)!=0, 2); + if( (pIn1->flags & MEM_Null)!=0 ){ + goto jump_to_p2; + } + break; +} + +/* Opcode: NotNull P1 P2 * * * +** Synopsis: if r[P1]!=NULL goto P2 +** +** Jump to P2 if the value in register P1 is not NULL. +*/ +case OP_NotNull: { /* same as TK_NOTNULL, jump, in1 */ + pIn1 = &aMem[pOp->p1]; + VdbeBranchTaken( (pIn1->flags & MEM_Null)==0, 2); + if( (pIn1->flags & MEM_Null)==0 ){ + goto jump_to_p2; + } + break; +} + +/* Opcode: IfNullRow P1 P2 P3 * * +** Synopsis: if P1.nullRow then r[P3]=NULL, goto P2 +** +** Check the cursor P1 to see if it is currently pointing at a NULL row. +** If it is, then set register P3 to NULL and jump immediately to P2. +** If P1 is not on a NULL row, then fall through without making any +** changes. +*/ +case OP_IfNullRow: { /* jump */ + assert( pOp->p1>=0 && pOp->p1nCursor ); + assert( p->apCsr[pOp->p1]!=0 ); + if( p->apCsr[pOp->p1]->nullRow ){ + sqlite3VdbeMemSetNull(aMem + pOp->p3); + goto jump_to_p2; + } + break; +} + +#ifdef SQLITE_ENABLE_OFFSET_SQL_FUNC +/* Opcode: Offset P1 P2 P3 * * +** Synopsis: r[P3] = sqlite_offset(P1) +** +** Store in register r[P3] the byte offset into the database file that is the +** start of the payload for the record at which that cursor P1 is currently +** pointing. +** +** P2 is the column number for the argument to the sqlite_offset() function. +** This opcode does not use P2 itself, but the P2 value is used by the +** code generator. The P1, P2, and P3 operands to this opcode are the +** same as for OP_Column. +** +** This opcode is only available if SQLite is compiled with the +** -DSQLITE_ENABLE_OFFSET_SQL_FUNC option. +*/ +case OP_Offset: { /* out3 */ + VdbeCursor *pC; /* The VDBE cursor */ + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + pOut = &p->aMem[pOp->p3]; + if( NEVER(pC==0) || pC->eCurType!=CURTYPE_BTREE ){ + sqlite3VdbeMemSetNull(pOut); + }else{ + sqlite3VdbeMemSetInt64(pOut, sqlite3BtreeOffset(pC->uc.pCursor)); + } + break; +} +#endif /* SQLITE_ENABLE_OFFSET_SQL_FUNC */ + +/* Opcode: Column P1 P2 P3 P4 P5 +** Synopsis: r[P3]=PX +** +** Interpret the data that cursor P1 points to as a structure built using +** the MakeRecord instruction. (See the MakeRecord opcode for additional +** information about the format of the data.) Extract the P2-th column +** from this record. If there are less that (P2+1) +** values in the record, extract a NULL. +** +** The value extracted is stored in register P3. +** +** If the record contains fewer than P2 fields, then extract a NULL. Or, +** if the P4 argument is a P4_MEM use the value of the P4 argument as +** the result. +** +** If the OPFLAG_LENGTHARG and OPFLAG_TYPEOFARG bits are set on P5 then +** the result is guaranteed to only be used as the argument of a length() +** or typeof() function, respectively. The loading of large blobs can be +** skipped for length() and all content loading can be skipped for typeof(). +*/ +case OP_Column: { + int p2; /* column number to retrieve */ + VdbeCursor *pC; /* The VDBE cursor */ + BtCursor *pCrsr; /* The BTree cursor */ + u32 *aOffset; /* aOffset[i] is offset to start of data for i-th column */ + int len; /* The length of the serialized data for the column */ + int i; /* Loop counter */ + Mem *pDest; /* Where to write the extracted value */ + Mem sMem; /* For storing the record being decoded */ + const u8 *zData; /* Part of the record being decoded */ + const u8 *zHdr; /* Next unparsed byte of the header */ + const u8 *zEndHdr; /* Pointer to first byte after the header */ + u64 offset64; /* 64-bit offset */ + u32 t; /* A type code from the record header */ + Mem *pReg; /* PseudoTable input register */ + + pC = p->apCsr[pOp->p1]; + p2 = pOp->p2; + + /* If the cursor cache is stale (meaning it is not currently point at + ** the correct row) then bring it up-to-date by doing the necessary + ** B-Tree seek. */ + rc = sqlite3VdbeCursorMoveto(&pC, &p2); + if( rc ) goto abort_due_to_error; + + assert( pOp->p3>0 && pOp->p3<=(p->nMem+1 - p->nCursor) ); + pDest = &aMem[pOp->p3]; + memAboutToChange(p, pDest); + assert( pOp->p1>=0 && pOp->p1nCursor ); + assert( pC!=0 ); + assert( p2nField ); + aOffset = pC->aOffset; + assert( pC->eCurType!=CURTYPE_VTAB ); + assert( pC->eCurType!=CURTYPE_PSEUDO || pC->nullRow ); + assert( pC->eCurType!=CURTYPE_SORTER ); + + if( pC->cacheStatus!=p->cacheCtr ){ /*OPTIMIZATION-IF-FALSE*/ + if( pC->nullRow ){ + if( pC->eCurType==CURTYPE_PSEUDO ){ + /* For the special case of as pseudo-cursor, the seekResult field + ** identifies the register that holds the record */ + assert( pC->seekResult>0 ); + pReg = &aMem[pC->seekResult]; + assert( pReg->flags & MEM_Blob ); + assert( memIsValid(pReg) ); + pC->payloadSize = pC->szRow = pReg->n; + pC->aRow = (u8*)pReg->z; + }else{ + sqlite3VdbeMemSetNull(pDest); + goto op_column_out; + } + }else{ + pCrsr = pC->uc.pCursor; + assert( pC->eCurType==CURTYPE_BTREE ); + assert( pCrsr ); + assert( sqlite3BtreeCursorIsValid(pCrsr) ); + pC->payloadSize = sqlite3BtreePayloadSize(pCrsr); + pC->aRow = sqlite3BtreePayloadFetch(pCrsr, &pC->szRow); + assert( pC->szRow<=pC->payloadSize ); + assert( pC->szRow<=65536 ); /* Maximum page size is 64KiB */ + if( pC->payloadSize > (u32)db->aLimit[SQLITE_LIMIT_LENGTH] ){ + goto too_big; + } + } + pC->cacheStatus = p->cacheCtr; + pC->iHdrOffset = getVarint32(pC->aRow, aOffset[0]); + pC->nHdrParsed = 0; + + + if( pC->szRowaRow does not have to hold the entire row, but it does at least + ** need to cover the header of the record. If pC->aRow does not contain + ** the complete header, then set it to zero, forcing the header to be + ** dynamically allocated. */ + pC->aRow = 0; + pC->szRow = 0; + + /* Make sure a corrupt database has not given us an oversize header. + ** Do this now to avoid an oversize memory allocation. + ** + ** Type entries can be between 1 and 5 bytes each. But 4 and 5 byte + ** types use so much data space that there can only be 4096 and 32 of + ** them, respectively. So the maximum header length results from a + ** 3-byte type for each of the maximum of 32768 columns plus three + ** extra bytes for the header length itself. 32768*3 + 3 = 98307. + */ + if( aOffset[0] > 98307 || aOffset[0] > pC->payloadSize ){ + goto op_column_corrupt; + } + }else{ + /* This is an optimization. By skipping over the first few tests + ** (ex: pC->nHdrParsed<=p2) in the next section, we achieve a + ** measurable performance gain. + ** + ** This branch is taken even if aOffset[0]==0. Such a record is never + ** generated by SQLite, and could be considered corruption, but we + ** accept it for historical reasons. When aOffset[0]==0, the code this + ** branch jumps to reads past the end of the record, but never more + ** than a few bytes. Even if the record occurs at the end of the page + ** content area, the "page header" comes after the page content and so + ** this overread is harmless. Similar overreads can occur for a corrupt + ** database file. + */ + zData = pC->aRow; + assert( pC->nHdrParsed<=p2 ); /* Conditional skipped */ + testcase( aOffset[0]==0 ); + goto op_column_read_header; + } + } + + /* Make sure at least the first p2+1 entries of the header have been + ** parsed and valid information is in aOffset[] and pC->aType[]. + */ + if( pC->nHdrParsed<=p2 ){ + /* If there is more header available for parsing in the record, try + ** to extract additional fields up through the p2+1-th field + */ + if( pC->iHdrOffsetaRow==0 ){ + memset(&sMem, 0, sizeof(sMem)); + rc = sqlite3VdbeMemFromBtree(pC->uc.pCursor, 0, aOffset[0], &sMem); + if( rc!=SQLITE_OK ) goto abort_due_to_error; + zData = (u8*)sMem.z; + }else{ + zData = pC->aRow; + } + + /* Fill in pC->aType[i] and aOffset[i] values through the p2-th field. */ + op_column_read_header: + i = pC->nHdrParsed; + offset64 = aOffset[i]; + zHdr = zData + pC->iHdrOffset; + zEndHdr = zData + aOffset[0]; + testcase( zHdr>=zEndHdr ); + do{ + if( (pC->aType[i] = t = zHdr[0])<0x80 ){ + zHdr++; + offset64 += sqlite3VdbeOneByteSerialTypeLen(t); + }else{ + zHdr += sqlite3GetVarint32(zHdr, &t); + pC->aType[i] = t; + offset64 += sqlite3VdbeSerialTypeLen(t); + } + aOffset[++i] = (u32)(offset64 & 0xffffffff); + }while( i<=p2 && zHdr=zEndHdr && (zHdr>zEndHdr || offset64!=pC->payloadSize)) + || (offset64 > pC->payloadSize) + ){ + if( aOffset[0]==0 ){ + i = 0; + zHdr = zEndHdr; + }else{ + if( pC->aRow==0 ) sqlite3VdbeMemRelease(&sMem); + goto op_column_corrupt; + } + } + + pC->nHdrParsed = i; + pC->iHdrOffset = (u32)(zHdr - zData); + if( pC->aRow==0 ) sqlite3VdbeMemRelease(&sMem); + }else{ + t = 0; + } + + /* If after trying to extract new entries from the header, nHdrParsed is + ** still not up to p2, that means that the record has fewer than p2 + ** columns. So the result will be either the default value or a NULL. + */ + if( pC->nHdrParsed<=p2 ){ + if( pOp->p4type==P4_MEM ){ + sqlite3VdbeMemShallowCopy(pDest, pOp->p4.pMem, MEM_Static); + }else{ + sqlite3VdbeMemSetNull(pDest); + } + goto op_column_out; + } + }else{ + t = pC->aType[p2]; + } + + /* Extract the content for the p2+1-th column. Control can only + ** reach this point if aOffset[p2], aOffset[p2+1], and pC->aType[p2] are + ** all valid. + */ + assert( p2nHdrParsed ); + assert( rc==SQLITE_OK ); + assert( sqlite3VdbeCheckMemInvariants(pDest) ); + if( VdbeMemDynamic(pDest) ){ + sqlite3VdbeMemSetNull(pDest); + } + assert( t==pC->aType[p2] ); + if( pC->szRow>=aOffset[p2+1] ){ + /* This is the common case where the desired content fits on the original + ** page - where the content is not on an overflow page */ + zData = pC->aRow + aOffset[p2]; + if( t<12 ){ + sqlite3VdbeSerialGet(zData, t, pDest); + }else{ + /* If the column value is a string, we need a persistent value, not + ** a MEM_Ephem value. This branch is a fast short-cut that is equivalent + ** to calling sqlite3VdbeSerialGet() and sqlite3VdbeDeephemeralize(). + */ + static const u16 aFlag[] = { MEM_Blob, MEM_Str|MEM_Term }; + pDest->n = len = (t-12)/2; + pDest->enc = encoding; + if( pDest->szMalloc < len+2 ){ + pDest->flags = MEM_Null; + if( sqlite3VdbeMemGrow(pDest, len+2, 0) ) goto no_mem; + }else{ + pDest->z = pDest->zMalloc; + } + memcpy(pDest->z, zData, len); + pDest->z[len] = 0; + pDest->z[len+1] = 0; + pDest->flags = aFlag[t&1]; + } + }else{ + pDest->enc = encoding; + /* This branch happens only when content is on overflow pages */ + if( ((pOp->p5 & (OPFLAG_LENGTHARG|OPFLAG_TYPEOFARG))!=0 + && ((t>=12 && (t&1)==0) || (pOp->p5 & OPFLAG_TYPEOFARG)!=0)) + || (len = sqlite3VdbeSerialTypeLen(t))==0 + ){ + /* Content is irrelevant for + ** 1. the typeof() function, + ** 2. the length(X) function if X is a blob, and + ** 3. if the content length is zero. + ** So we might as well use bogus content rather than reading + ** content from disk. + ** + ** Although sqlite3VdbeSerialGet() may read at most 8 bytes from the + ** buffer passed to it, debugging function VdbeMemPrettyPrint() may + ** read up to 16. So 16 bytes of bogus content is supplied. + */ + static u8 aZero[16]; /* This is the bogus content */ + sqlite3VdbeSerialGet(aZero, t, pDest); + }else{ + rc = sqlite3VdbeMemFromBtree(pC->uc.pCursor, aOffset[p2], len, pDest); + if( rc!=SQLITE_OK ) goto abort_due_to_error; + sqlite3VdbeSerialGet((const u8*)pDest->z, t, pDest); + pDest->flags &= ~MEM_Ephem; + } + } + +op_column_out: + UPDATE_MAX_BLOBSIZE(pDest); + REGISTER_TRACE(pOp->p3, pDest); + break; + +op_column_corrupt: + if( aOp[0].p3>0 ){ + pOp = &aOp[aOp[0].p3-1]; + break; + }else{ + rc = SQLITE_CORRUPT_BKPT; + goto abort_due_to_error; + } +} + +/* Opcode: Affinity P1 P2 * P4 * +** Synopsis: affinity(r[P1@P2]) +** +** Apply affinities to a range of P2 registers starting with P1. +** +** P4 is a string that is P2 characters long. The N-th character of the +** string indicates the column affinity that should be used for the N-th +** memory cell in the range. +*/ +case OP_Affinity: { + const char *zAffinity; /* The affinity to be applied */ + + zAffinity = pOp->p4.z; + assert( zAffinity!=0 ); + assert( pOp->p2>0 ); + assert( zAffinity[pOp->p2]==0 ); + pIn1 = &aMem[pOp->p1]; + while( 1 /*exit-by-break*/ ){ + assert( pIn1 <= &p->aMem[(p->nMem+1 - p->nCursor)] ); + assert( memIsValid(pIn1) ); + applyAffinity(pIn1, zAffinity[0], encoding); + if( zAffinity[0]==SQLITE_AFF_REAL && (pIn1->flags & MEM_Int)!=0 ){ + /* When applying REAL affinity, if the result is still an MEM_Int + ** that will fit in 6 bytes, then change the type to MEM_IntReal + ** so that we keep the high-resolution integer value but know that + ** the type really wants to be REAL. */ + testcase( pIn1->u.i==140737488355328LL ); + testcase( pIn1->u.i==140737488355327LL ); + testcase( pIn1->u.i==-140737488355328LL ); + testcase( pIn1->u.i==-140737488355329LL ); + if( pIn1->u.i<=140737488355327LL && pIn1->u.i>=-140737488355328LL ){ + pIn1->flags |= MEM_IntReal; + pIn1->flags &= ~MEM_Int; + }else{ + pIn1->u.r = (double)pIn1->u.i; + pIn1->flags |= MEM_Real; + pIn1->flags &= ~MEM_Int; + } + } + REGISTER_TRACE((int)(pIn1-aMem), pIn1); + zAffinity++; + if( zAffinity[0]==0 ) break; + pIn1++; + } + break; +} + +/* Opcode: MakeRecord P1 P2 P3 P4 * +** Synopsis: r[P3]=mkrec(r[P1@P2]) +** +** Convert P2 registers beginning with P1 into the [record format] +** use as a data record in a database table or as a key +** in an index. The OP_Column opcode can decode the record later. +** +** P4 may be a string that is P2 characters long. The N-th character of the +** string indicates the column affinity that should be used for the N-th +** field of the index key. +** +** The mapping from character to affinity is given by the SQLITE_AFF_ +** macros defined in sqliteInt.h. +** +** If P4 is NULL then all index fields have the affinity BLOB. +*/ +case OP_MakeRecord: { + Mem *pRec; /* The new record */ + u64 nData; /* Number of bytes of data space */ + int nHdr; /* Number of bytes of header space */ + i64 nByte; /* Data space required for this record */ + i64 nZero; /* Number of zero bytes at the end of the record */ + int nVarint; /* Number of bytes in a varint */ + u32 serial_type; /* Type field */ + Mem *pData0; /* First field to be combined into the record */ + Mem *pLast; /* Last field of the record */ + int nField; /* Number of fields in the record */ + char *zAffinity; /* The affinity string for the record */ + int file_format; /* File format to use for encoding */ + u32 len; /* Length of a field */ + u8 *zHdr; /* Where to write next byte of the header */ + u8 *zPayload; /* Where to write next byte of the payload */ + + /* Assuming the record contains N fields, the record format looks + ** like this: + ** + ** ------------------------------------------------------------------------ + ** | hdr-size | type 0 | type 1 | ... | type N-1 | data0 | ... | data N-1 | + ** ------------------------------------------------------------------------ + ** + ** Data(0) is taken from register P1. Data(1) comes from register P1+1 + ** and so forth. + ** + ** Each type field is a varint representing the serial type of the + ** corresponding data element (see sqlite3VdbeSerialType()). The + ** hdr-size field is also a varint which is the offset from the beginning + ** of the record to data0. + */ + nData = 0; /* Number of bytes of data space */ + nHdr = 0; /* Number of bytes of header space */ + nZero = 0; /* Number of zero bytes at the end of the record */ + nField = pOp->p1; + zAffinity = pOp->p4.z; + assert( nField>0 && pOp->p2>0 && pOp->p2+nField<=(p->nMem+1 - p->nCursor)+1 ); + pData0 = &aMem[nField]; + nField = pOp->p2; + pLast = &pData0[nField-1]; + file_format = p->minWriteFileFormat; + + /* Identify the output register */ + assert( pOp->p3p1 || pOp->p3>=pOp->p1+pOp->p2 ); + pOut = &aMem[pOp->p3]; + memAboutToChange(p, pOut); + + /* Apply the requested affinity to all inputs + */ + assert( pData0<=pLast ); + if( zAffinity ){ + pRec = pData0; + do{ + applyAffinity(pRec, zAffinity[0], encoding); + if( zAffinity[0]==SQLITE_AFF_REAL && (pRec->flags & MEM_Int) ){ + pRec->flags |= MEM_IntReal; + pRec->flags &= ~(MEM_Int); + } + REGISTER_TRACE((int)(pRec-aMem), pRec); + zAffinity++; + pRec++; + assert( zAffinity[0]==0 || pRec<=pLast ); + }while( zAffinity[0] ); + } + +#ifdef SQLITE_ENABLE_NULL_TRIM + /* NULLs can be safely trimmed from the end of the record, as long as + ** as the schema format is 2 or more and none of the omitted columns + ** have a non-NULL default value. Also, the record must be left with + ** at least one field. If P5>0 then it will be one more than the + ** index of the right-most column with a non-NULL default value */ + if( pOp->p5 ){ + while( (pLast->flags & MEM_Null)!=0 && nField>pOp->p5 ){ + pLast--; + nField--; + } + } +#endif + + /* Loop through the elements that will make up the record to figure + ** out how much space is required for the new record. After this loop, + ** the Mem.uTemp field of each term should hold the serial-type that will + ** be used for that term in the generated record: + ** + ** Mem.uTemp value type + ** --------------- --------------- + ** 0 NULL + ** 1 1-byte signed integer + ** 2 2-byte signed integer + ** 3 3-byte signed integer + ** 4 4-byte signed integer + ** 5 6-byte signed integer + ** 6 8-byte signed integer + ** 7 IEEE float + ** 8 Integer constant 0 + ** 9 Integer constant 1 + ** 10,11 reserved for expansion + ** N>=12 and even BLOB + ** N>=13 and odd text + ** + ** The following additional values are computed: + ** nHdr Number of bytes needed for the record header + ** nData Number of bytes of data space needed for the record + ** nZero Zero bytes at the end of the record + */ + pRec = pLast; + do{ + assert( memIsValid(pRec) ); + if( pRec->flags & MEM_Null ){ + if( pRec->flags & MEM_Zero ){ + /* Values with MEM_Null and MEM_Zero are created by xColumn virtual + ** table methods that never invoke sqlite3_result_xxxxx() while + ** computing an unchanging column value in an UPDATE statement. + ** Give such values a special internal-use-only serial-type of 10 + ** so that they can be passed through to xUpdate and have + ** a true sqlite3_value_nochange(). */ + assert( pOp->p5==OPFLAG_NOCHNG_MAGIC || CORRUPT_DB ); + pRec->uTemp = 10; + }else{ + pRec->uTemp = 0; + } + nHdr++; + }else if( pRec->flags & (MEM_Int|MEM_IntReal) ){ + /* Figure out whether to use 1, 2, 4, 6 or 8 bytes. */ + i64 i = pRec->u.i; + u64 uu; + testcase( pRec->flags & MEM_Int ); + testcase( pRec->flags & MEM_IntReal ); + if( i<0 ){ + uu = ~i; + }else{ + uu = i; + } + nHdr++; + testcase( uu==127 ); testcase( uu==128 ); + testcase( uu==32767 ); testcase( uu==32768 ); + testcase( uu==8388607 ); testcase( uu==8388608 ); + testcase( uu==2147483647 ); testcase( uu==2147483648 ); + testcase( uu==140737488355327LL ); testcase( uu==140737488355328LL ); + if( uu<=127 ){ + if( (i&1)==i && file_format>=4 ){ + pRec->uTemp = 8+(u32)uu; + }else{ + nData++; + pRec->uTemp = 1; + } + }else if( uu<=32767 ){ + nData += 2; + pRec->uTemp = 2; + }else if( uu<=8388607 ){ + nData += 3; + pRec->uTemp = 3; + }else if( uu<=2147483647 ){ + nData += 4; + pRec->uTemp = 4; + }else if( uu<=140737488355327LL ){ + nData += 6; + pRec->uTemp = 5; + }else{ + nData += 8; + if( pRec->flags & MEM_IntReal ){ + /* If the value is IntReal and is going to take up 8 bytes to store + ** as an integer, then we might as well make it an 8-byte floating + ** point value */ + pRec->u.r = (double)pRec->u.i; + pRec->flags &= ~MEM_IntReal; + pRec->flags |= MEM_Real; + pRec->uTemp = 7; + }else{ + pRec->uTemp = 6; + } + } + }else if( pRec->flags & MEM_Real ){ + nHdr++; + nData += 8; + pRec->uTemp = 7; + }else{ + assert( db->mallocFailed || pRec->flags&(MEM_Str|MEM_Blob) ); + assert( pRec->n>=0 ); + len = (u32)pRec->n; + serial_type = (len*2) + 12 + ((pRec->flags & MEM_Str)!=0); + if( pRec->flags & MEM_Zero ){ + serial_type += pRec->u.nZero*2; + if( nData ){ + if( sqlite3VdbeMemExpandBlob(pRec) ) goto no_mem; + len += pRec->u.nZero; + }else{ + nZero += pRec->u.nZero; + } + } + nData += len; + nHdr += sqlite3VarintLen(serial_type); + pRec->uTemp = serial_type; + } + if( pRec==pData0 ) break; + pRec--; + }while(1); + + /* EVIDENCE-OF: R-22564-11647 The header begins with a single varint + ** which determines the total number of bytes in the header. The varint + ** value is the size of the header in bytes including the size varint + ** itself. */ + testcase( nHdr==126 ); + testcase( nHdr==127 ); + if( nHdr<=126 ){ + /* The common case */ + nHdr += 1; + }else{ + /* Rare case of a really large header */ + nVarint = sqlite3VarintLen(nHdr); + nHdr += nVarint; + if( nVarintp3) is not allowed to + ** be one of the input registers (because the following call to + ** sqlite3VdbeMemClearAndResize() could clobber the value before it is used). + */ + if( nByte+nZero<=pOut->szMalloc ){ + /* The output register is already large enough to hold the record. + ** No error checks or buffer enlargement is required */ + pOut->z = pOut->zMalloc; + }else{ + /* Need to make sure that the output is not too big and then enlarge + ** the output register to hold the full result */ + if( nByte+nZero>db->aLimit[SQLITE_LIMIT_LENGTH] ){ + goto too_big; + } + if( sqlite3VdbeMemClearAndResize(pOut, (int)nByte) ){ + goto no_mem; + } + } + pOut->n = (int)nByte; + pOut->flags = MEM_Blob; + if( nZero ){ + pOut->u.nZero = nZero; + pOut->flags |= MEM_Zero; + } + UPDATE_MAX_BLOBSIZE(pOut); + zHdr = (u8 *)pOut->z; + zPayload = zHdr + nHdr; + + /* Write the record */ + zHdr += putVarint32(zHdr, nHdr); + assert( pData0<=pLast ); + pRec = pData0; + do{ + serial_type = pRec->uTemp; + /* EVIDENCE-OF: R-06529-47362 Following the size varint are one or more + ** additional varints, one per column. */ + zHdr += putVarint32(zHdr, serial_type); /* serial type */ + /* EVIDENCE-OF: R-64536-51728 The values for each column in the record + ** immediately follow the header. */ + zPayload += sqlite3VdbeSerialPut(zPayload, pRec, serial_type); /* content */ + }while( (++pRec)<=pLast ); + assert( nHdr==(int)(zHdr - (u8*)pOut->z) ); + assert( nByte==(int)(zPayload - (u8*)pOut->z) ); + + assert( pOp->p3>0 && pOp->p3<=(p->nMem+1 - p->nCursor) ); + REGISTER_TRACE(pOp->p3, pOut); + break; +} + +/* Opcode: Count P1 P2 * * * +** Synopsis: r[P2]=count() +** +** Store the number of entries (an integer value) in the table or index +** opened by cursor P1 in register P2 +*/ +#ifndef SQLITE_OMIT_BTREECOUNT +case OP_Count: { /* out2 */ + i64 nEntry; + BtCursor *pCrsr; + + assert( p->apCsr[pOp->p1]->eCurType==CURTYPE_BTREE ); + pCrsr = p->apCsr[pOp->p1]->uc.pCursor; + assert( pCrsr ); + nEntry = 0; /* Not needed. Only used to silence a warning. */ + rc = sqlite3BtreeCount(pCrsr, &nEntry); + if( rc ) goto abort_due_to_error; + pOut = out2Prerelease(p, pOp); + pOut->u.i = nEntry; + break; +} +#endif + +/* Opcode: Savepoint P1 * * P4 * +** +** Open, release or rollback the savepoint named by parameter P4, depending +** on the value of P1. To open a new savepoint set P1==0 (SAVEPOINT_BEGIN). +** To release (commit) an existing savepoint set P1==1 (SAVEPOINT_RELEASE). +** To rollback an existing savepoint set P1==2 (SAVEPOINT_ROLLBACK). +*/ +case OP_Savepoint: { + int p1; /* Value of P1 operand */ + char *zName; /* Name of savepoint */ + int nName; + Savepoint *pNew; + Savepoint *pSavepoint; + Savepoint *pTmp; + int iSavepoint; + int ii; + + p1 = pOp->p1; + zName = pOp->p4.z; + + /* Assert that the p1 parameter is valid. Also that if there is no open + ** transaction, then there cannot be any savepoints. + */ + assert( db->pSavepoint==0 || db->autoCommit==0 ); + assert( p1==SAVEPOINT_BEGIN||p1==SAVEPOINT_RELEASE||p1==SAVEPOINT_ROLLBACK ); + assert( db->pSavepoint || db->isTransactionSavepoint==0 ); + assert( checkSavepointCount(db) ); + assert( p->bIsReader ); + + if( p1==SAVEPOINT_BEGIN ){ + if( db->nVdbeWrite>0 ){ + /* A new savepoint cannot be created if there are active write + ** statements (i.e. open read/write incremental blob handles). + */ + sqlite3VdbeError(p, "cannot open savepoint - SQL statements in progress"); + rc = SQLITE_BUSY; + }else{ + nName = sqlite3Strlen30(zName); + +#ifndef SQLITE_OMIT_VIRTUALTABLE + /* This call is Ok even if this savepoint is actually a transaction + ** savepoint (and therefore should not prompt xSavepoint()) callbacks. + ** If this is a transaction savepoint being opened, it is guaranteed + ** that the db->aVTrans[] array is empty. */ + assert( db->autoCommit==0 || db->nVTrans==0 ); + rc = sqlite3VtabSavepoint(db, SAVEPOINT_BEGIN, + db->nStatement+db->nSavepoint); + if( rc!=SQLITE_OK ) goto abort_due_to_error; +#endif + + /* Create a new savepoint structure. */ + pNew = sqlite3DbMallocRawNN(db, sizeof(Savepoint)+nName+1); + if( pNew ){ + pNew->zName = (char *)&pNew[1]; + memcpy(pNew->zName, zName, nName+1); + + /* If there is no open transaction, then mark this as a special + ** "transaction savepoint". */ + if( db->autoCommit ){ + db->autoCommit = 0; + db->isTransactionSavepoint = 1; + }else{ + db->nSavepoint++; + } + + /* Link the new savepoint into the database handle's list. */ + pNew->pNext = db->pSavepoint; + db->pSavepoint = pNew; + pNew->nDeferredCons = db->nDeferredCons; + pNew->nDeferredImmCons = db->nDeferredImmCons; + } + } + }else{ + assert( p1==SAVEPOINT_RELEASE || p1==SAVEPOINT_ROLLBACK ); + iSavepoint = 0; + + /* Find the named savepoint. If there is no such savepoint, then an + ** an error is returned to the user. */ + for( + pSavepoint = db->pSavepoint; + pSavepoint && sqlite3StrICmp(pSavepoint->zName, zName); + pSavepoint = pSavepoint->pNext + ){ + iSavepoint++; + } + if( !pSavepoint ){ + sqlite3VdbeError(p, "no such savepoint: %s", zName); + rc = SQLITE_ERROR; + }else if( db->nVdbeWrite>0 && p1==SAVEPOINT_RELEASE ){ + /* It is not possible to release (commit) a savepoint if there are + ** active write statements. + */ + sqlite3VdbeError(p, "cannot release savepoint - " + "SQL statements in progress"); + rc = SQLITE_BUSY; + }else{ + + /* Determine whether or not this is a transaction savepoint. If so, + ** and this is a RELEASE command, then the current transaction + ** is committed. + */ + int isTransaction = pSavepoint->pNext==0 && db->isTransactionSavepoint; + if( isTransaction && p1==SAVEPOINT_RELEASE ){ + if( (rc = sqlite3VdbeCheckFk(p, 1))!=SQLITE_OK ){ + goto vdbe_return; + } + db->autoCommit = 1; + if( sqlite3VdbeHalt(p)==SQLITE_BUSY ){ + p->pc = (int)(pOp - aOp); + db->autoCommit = 0; + p->rc = rc = SQLITE_BUSY; + goto vdbe_return; + } + db->isTransactionSavepoint = 0; + rc = p->rc; + }else{ + int isSchemaChange; + iSavepoint = db->nSavepoint - iSavepoint - 1; + if( p1==SAVEPOINT_ROLLBACK ){ + isSchemaChange = (db->mDbFlags & DBFLAG_SchemaChange)!=0; + for(ii=0; iinDb; ii++){ + rc = sqlite3BtreeTripAllCursors(db->aDb[ii].pBt, + SQLITE_ABORT_ROLLBACK, + isSchemaChange==0); + if( rc!=SQLITE_OK ) goto abort_due_to_error; + } + }else{ + assert( p1==SAVEPOINT_RELEASE ); + isSchemaChange = 0; + } + for(ii=0; iinDb; ii++){ + rc = sqlite3BtreeSavepoint(db->aDb[ii].pBt, p1, iSavepoint); + if( rc!=SQLITE_OK ){ + goto abort_due_to_error; + } + } + if( isSchemaChange ){ + sqlite3ExpirePreparedStatements(db, 0); + sqlite3ResetAllSchemasOfConnection(db); + db->mDbFlags |= DBFLAG_SchemaChange; + } + } + + /* Regardless of whether this is a RELEASE or ROLLBACK, destroy all + ** savepoints nested inside of the savepoint being operated on. */ + while( db->pSavepoint!=pSavepoint ){ + pTmp = db->pSavepoint; + db->pSavepoint = pTmp->pNext; + sqlite3DbFree(db, pTmp); + db->nSavepoint--; + } + + /* If it is a RELEASE, then destroy the savepoint being operated on + ** too. If it is a ROLLBACK TO, then set the number of deferred + ** constraint violations present in the database to the value stored + ** when the savepoint was created. */ + if( p1==SAVEPOINT_RELEASE ){ + assert( pSavepoint==db->pSavepoint ); + db->pSavepoint = pSavepoint->pNext; + sqlite3DbFree(db, pSavepoint); + if( !isTransaction ){ + db->nSavepoint--; + } + }else{ + assert( p1==SAVEPOINT_ROLLBACK ); + db->nDeferredCons = pSavepoint->nDeferredCons; + db->nDeferredImmCons = pSavepoint->nDeferredImmCons; + } + + if( !isTransaction || p1==SAVEPOINT_ROLLBACK ){ + rc = sqlite3VtabSavepoint(db, p1, iSavepoint); + if( rc!=SQLITE_OK ) goto abort_due_to_error; + } + } + } + if( rc ) goto abort_due_to_error; + + break; +} + +/* Opcode: AutoCommit P1 P2 * * * +** +** Set the database auto-commit flag to P1 (1 or 0). If P2 is true, roll +** back any currently active btree transactions. If there are any active +** VMs (apart from this one), then a ROLLBACK fails. A COMMIT fails if +** there are active writing VMs or active VMs that use shared cache. +** +** This instruction causes the VM to halt. +*/ +case OP_AutoCommit: { + int desiredAutoCommit; + int iRollback; + + desiredAutoCommit = pOp->p1; + iRollback = pOp->p2; + assert( desiredAutoCommit==1 || desiredAutoCommit==0 ); + assert( desiredAutoCommit==1 || iRollback==0 ); + assert( db->nVdbeActive>0 ); /* At least this one VM is active */ + assert( p->bIsReader ); + + if( desiredAutoCommit!=db->autoCommit ){ + if( iRollback ){ + assert( desiredAutoCommit==1 ); + sqlite3RollbackAll(db, SQLITE_ABORT_ROLLBACK); + db->autoCommit = 1; + }else if( desiredAutoCommit && db->nVdbeWrite>0 ){ + /* If this instruction implements a COMMIT and other VMs are writing + ** return an error indicating that the other VMs must complete first. + */ + sqlite3VdbeError(p, "cannot commit transaction - " + "SQL statements in progress"); + rc = SQLITE_BUSY; + goto abort_due_to_error; + }else if( (rc = sqlite3VdbeCheckFk(p, 1))!=SQLITE_OK ){ + goto vdbe_return; + }else{ + db->autoCommit = (u8)desiredAutoCommit; + } + if( sqlite3VdbeHalt(p)==SQLITE_BUSY ){ + p->pc = (int)(pOp - aOp); + db->autoCommit = (u8)(1-desiredAutoCommit); + p->rc = rc = SQLITE_BUSY; + goto vdbe_return; + } + assert( db->nStatement==0 ); + sqlite3CloseSavepoints(db); + if( p->rc==SQLITE_OK ){ + rc = SQLITE_DONE; + }else{ + rc = SQLITE_ERROR; + } + goto vdbe_return; + }else{ + sqlite3VdbeError(p, + (!desiredAutoCommit)?"cannot start a transaction within a transaction":( + (iRollback)?"cannot rollback - no transaction is active": + "cannot commit - no transaction is active")); + + rc = SQLITE_ERROR; + goto abort_due_to_error; + } + /*NOTREACHED*/ assert(0); +} + +/* Opcode: Transaction P1 P2 P3 P4 P5 +** +** Begin a transaction on database P1 if a transaction is not already +** active. +** If P2 is non-zero, then a write-transaction is started, or if a +** read-transaction is already active, it is upgraded to a write-transaction. +** If P2 is zero, then a read-transaction is started. +** +** P1 is the index of the database file on which the transaction is +** started. Index 0 is the main database file and index 1 is the +** file used for temporary tables. Indices of 2 or more are used for +** attached databases. +** +** If a write-transaction is started and the Vdbe.usesStmtJournal flag is +** true (this flag is set if the Vdbe may modify more than one row and may +** throw an ABORT exception), a statement transaction may also be opened. +** More specifically, a statement transaction is opened iff the database +** connection is currently not in autocommit mode, or if there are other +** active statements. A statement transaction allows the changes made by this +** VDBE to be rolled back after an error without having to roll back the +** entire transaction. If no error is encountered, the statement transaction +** will automatically commit when the VDBE halts. +** +** If P5!=0 then this opcode also checks the schema cookie against P3 +** and the schema generation counter against P4. +** The cookie changes its value whenever the database schema changes. +** This operation is used to detect when that the cookie has changed +** and that the current process needs to reread the schema. If the schema +** cookie in P3 differs from the schema cookie in the database header or +** if the schema generation counter in P4 differs from the current +** generation counter, then an SQLITE_SCHEMA error is raised and execution +** halts. The sqlite3_step() wrapper function might then reprepare the +** statement and rerun it from the beginning. +*/ +case OP_Transaction: { + Btree *pBt; + int iMeta = 0; + + assert( p->bIsReader ); + assert( p->readOnly==0 || pOp->p2==0 ); + assert( pOp->p1>=0 && pOp->p1nDb ); + assert( DbMaskTest(p->btreeMask, pOp->p1) ); + if( pOp->p2 && (db->flags & SQLITE_QueryOnly)!=0 ){ + rc = SQLITE_READONLY; + goto abort_due_to_error; + } + pBt = db->aDb[pOp->p1].pBt; + + if( pBt ){ + rc = sqlite3BtreeBeginTrans(pBt, pOp->p2, &iMeta); + testcase( rc==SQLITE_BUSY_SNAPSHOT ); + testcase( rc==SQLITE_BUSY_RECOVERY ); + if( rc!=SQLITE_OK ){ + if( (rc&0xff)==SQLITE_BUSY ){ + p->pc = (int)(pOp - aOp); + p->rc = rc; + goto vdbe_return; + } + goto abort_due_to_error; + } + + if( pOp->p2 && p->usesStmtJournal + && (db->autoCommit==0 || db->nVdbeRead>1) + ){ + assert( sqlite3BtreeIsInTrans(pBt) ); + if( p->iStatement==0 ){ + assert( db->nStatement>=0 && db->nSavepoint>=0 ); + db->nStatement++; + p->iStatement = db->nSavepoint + db->nStatement; + } + + rc = sqlite3VtabSavepoint(db, SAVEPOINT_BEGIN, p->iStatement-1); + if( rc==SQLITE_OK ){ + rc = sqlite3BtreeBeginStmt(pBt, p->iStatement); + } + + /* Store the current value of the database handles deferred constraint + ** counter. If the statement transaction needs to be rolled back, + ** the value of this counter needs to be restored too. */ + p->nStmtDefCons = db->nDeferredCons; + p->nStmtDefImmCons = db->nDeferredImmCons; + } + } + assert( pOp->p5==0 || pOp->p4type==P4_INT32 ); + if( pOp->p5 + && (iMeta!=pOp->p3 + || db->aDb[pOp->p1].pSchema->iGeneration!=pOp->p4.i) + ){ + /* + ** IMPLEMENTATION-OF: R-03189-51135 As each SQL statement runs, the schema + ** version is checked to ensure that the schema has not changed since the + ** SQL statement was prepared. + */ + sqlite3DbFree(db, p->zErrMsg); + p->zErrMsg = sqlite3DbStrDup(db, "database schema has changed"); + /* If the schema-cookie from the database file matches the cookie + ** stored with the in-memory representation of the schema, do + ** not reload the schema from the database file. + ** + ** If virtual-tables are in use, this is not just an optimization. + ** Often, v-tables store their data in other SQLite tables, which + ** are queried from within xNext() and other v-table methods using + ** prepared queries. If such a query is out-of-date, we do not want to + ** discard the database schema, as the user code implementing the + ** v-table would have to be ready for the sqlite3_vtab structure itself + ** to be invalidated whenever sqlite3_step() is called from within + ** a v-table method. + */ + if( db->aDb[pOp->p1].pSchema->schema_cookie!=iMeta ){ + sqlite3ResetOneSchema(db, pOp->p1); + } + p->expired = 1; + rc = SQLITE_SCHEMA; + } + if( rc ) goto abort_due_to_error; + break; +} + +/* Opcode: ReadCookie P1 P2 P3 * * +** +** Read cookie number P3 from database P1 and write it into register P2. +** P3==1 is the schema version. P3==2 is the database format. +** P3==3 is the recommended pager cache size, and so forth. P1==0 is +** the main database file and P1==1 is the database file used to store +** temporary tables. +** +** There must be a read-lock on the database (either a transaction +** must be started or there must be an open cursor) before +** executing this instruction. +*/ +case OP_ReadCookie: { /* out2 */ + int iMeta; + int iDb; + int iCookie; + + assert( p->bIsReader ); + iDb = pOp->p1; + iCookie = pOp->p3; + assert( pOp->p3=0 && iDbnDb ); + assert( db->aDb[iDb].pBt!=0 ); + assert( DbMaskTest(p->btreeMask, iDb) ); + + sqlite3BtreeGetMeta(db->aDb[iDb].pBt, iCookie, (u32 *)&iMeta); + pOut = out2Prerelease(p, pOp); + pOut->u.i = iMeta; + break; +} + +/* Opcode: SetCookie P1 P2 P3 * * +** +** Write the integer value P3 into cookie number P2 of database P1. +** P2==1 is the schema version. P2==2 is the database format. +** P2==3 is the recommended pager cache +** size, and so forth. P1==0 is the main database file and P1==1 is the +** database file used to store temporary tables. +** +** A transaction must be started before executing this opcode. +*/ +case OP_SetCookie: { + Db *pDb; + + sqlite3VdbeIncrWriteCounter(p, 0); + assert( pOp->p2p1>=0 && pOp->p1nDb ); + assert( DbMaskTest(p->btreeMask, pOp->p1) ); + assert( p->readOnly==0 ); + pDb = &db->aDb[pOp->p1]; + assert( pDb->pBt!=0 ); + assert( sqlite3SchemaMutexHeld(db, pOp->p1, 0) ); + /* See note about index shifting on OP_ReadCookie */ + rc = sqlite3BtreeUpdateMeta(pDb->pBt, pOp->p2, pOp->p3); + if( pOp->p2==BTREE_SCHEMA_VERSION ){ + /* When the schema cookie changes, record the new cookie internally */ + pDb->pSchema->schema_cookie = pOp->p3; + db->mDbFlags |= DBFLAG_SchemaChange; + }else if( pOp->p2==BTREE_FILE_FORMAT ){ + /* Record changes in the file format */ + pDb->pSchema->file_format = pOp->p3; + } + if( pOp->p1==1 ){ + /* Invalidate all prepared statements whenever the TEMP database + ** schema is changed. Ticket #1644 */ + sqlite3ExpirePreparedStatements(db, 0); + p->expired = 0; + } + if( rc ) goto abort_due_to_error; + break; +} + +/* Opcode: OpenRead P1 P2 P3 P4 P5 +** Synopsis: root=P2 iDb=P3 +** +** Open a read-only cursor for the database table whose root page is +** P2 in a database file. The database file is determined by P3. +** P3==0 means the main database, P3==1 means the database used for +** temporary tables, and P3>1 means used the corresponding attached +** database. Give the new cursor an identifier of P1. The P1 +** values need not be contiguous but all P1 values should be small integers. +** It is an error for P1 to be negative. +** +** Allowed P5 bits: +**
      +**
    • 0x02 OPFLAG_SEEKEQ: This cursor will only be used for +** equality lookups (implemented as a pair of opcodes OP_SeekGE/OP_IdxGT +** of OP_SeekLE/OP_IdxGT) +**
    +** +** The P4 value may be either an integer (P4_INT32) or a pointer to +** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo +** object, then table being opened must be an [index b-tree] where the +** KeyInfo object defines the content and collating +** sequence of that index b-tree. Otherwise, if P4 is an integer +** value, then the table being opened must be a [table b-tree] with a +** number of columns no less than the value of P4. +** +** See also: OpenWrite, ReopenIdx +*/ +/* Opcode: ReopenIdx P1 P2 P3 P4 P5 +** Synopsis: root=P2 iDb=P3 +** +** The ReopenIdx opcode works like OP_OpenRead except that it first +** checks to see if the cursor on P1 is already open on the same +** b-tree and if it is this opcode becomes a no-op. In other words, +** if the cursor is already open, do not reopen it. +** +** The ReopenIdx opcode may only be used with P5==0 or P5==OPFLAG_SEEKEQ +** and with P4 being a P4_KEYINFO object. Furthermore, the P3 value must +** be the same as every other ReopenIdx or OpenRead for the same cursor +** number. +** +** Allowed P5 bits: +**
      +**
    • 0x02 OPFLAG_SEEKEQ: This cursor will only be used for +** equality lookups (implemented as a pair of opcodes OP_SeekGE/OP_IdxGT +** of OP_SeekLE/OP_IdxGT) +**
    +** +** See also: OP_OpenRead, OP_OpenWrite +*/ +/* Opcode: OpenWrite P1 P2 P3 P4 P5 +** Synopsis: root=P2 iDb=P3 +** +** Open a read/write cursor named P1 on the table or index whose root +** page is P2 (or whose root page is held in register P2 if the +** OPFLAG_P2ISREG bit is set in P5 - see below). +** +** The P4 value may be either an integer (P4_INT32) or a pointer to +** a KeyInfo structure (P4_KEYINFO). If it is a pointer to a KeyInfo +** object, then table being opened must be an [index b-tree] where the +** KeyInfo object defines the content and collating +** sequence of that index b-tree. Otherwise, if P4 is an integer +** value, then the table being opened must be a [table b-tree] with a +** number of columns no less than the value of P4. +** +** Allowed P5 bits: +**
      +**
    • 0x02 OPFLAG_SEEKEQ: This cursor will only be used for +** equality lookups (implemented as a pair of opcodes OP_SeekGE/OP_IdxGT +** of OP_SeekLE/OP_IdxGT) +**
    • 0x08 OPFLAG_FORDELETE: This cursor is used only to seek +** and subsequently delete entries in an index btree. This is a +** hint to the storage engine that the storage engine is allowed to +** ignore. The hint is not used by the official SQLite b*tree storage +** engine, but is used by COMDB2. +**
    • 0x10 OPFLAG_P2ISREG: Use the content of register P2 +** as the root page, not the value of P2 itself. +**
    +** +** This instruction works like OpenRead except that it opens the cursor +** in read/write mode. +** +** See also: OP_OpenRead, OP_ReopenIdx +*/ +case OP_ReopenIdx: { + int nField; + KeyInfo *pKeyInfo; + int p2; + int iDb; + int wrFlag; + Btree *pX; + VdbeCursor *pCur; + Db *pDb; + + assert( pOp->p5==0 || pOp->p5==OPFLAG_SEEKEQ ); + assert( pOp->p4type==P4_KEYINFO ); + pCur = p->apCsr[pOp->p1]; + if( pCur && pCur->pgnoRoot==(u32)pOp->p2 ){ + assert( pCur->iDb==pOp->p3 ); /* Guaranteed by the code generator */ + goto open_cursor_set_hints; + } + /* If the cursor is not currently open or is open on a different + ** index, then fall through into OP_OpenRead to force a reopen */ +case OP_OpenRead: +case OP_OpenWrite: + + assert( pOp->opcode==OP_OpenWrite || pOp->p5==0 || pOp->p5==OPFLAG_SEEKEQ ); + assert( p->bIsReader ); + assert( pOp->opcode==OP_OpenRead || pOp->opcode==OP_ReopenIdx + || p->readOnly==0 ); + + if( p->expired==1 ){ + rc = SQLITE_ABORT_ROLLBACK; + goto abort_due_to_error; + } + + nField = 0; + pKeyInfo = 0; + p2 = pOp->p2; + iDb = pOp->p3; + assert( iDb>=0 && iDbnDb ); + assert( DbMaskTest(p->btreeMask, iDb) ); + pDb = &db->aDb[iDb]; + pX = pDb->pBt; + assert( pX!=0 ); + if( pOp->opcode==OP_OpenWrite ){ + assert( OPFLAG_FORDELETE==BTREE_FORDELETE ); + wrFlag = BTREE_WRCSR | (pOp->p5 & OPFLAG_FORDELETE); + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + if( pDb->pSchema->file_format < p->minWriteFileFormat ){ + p->minWriteFileFormat = pDb->pSchema->file_format; + } + }else{ + wrFlag = 0; + } + if( pOp->p5 & OPFLAG_P2ISREG ){ + assert( p2>0 ); + assert( p2<=(p->nMem+1 - p->nCursor) ); + assert( pOp->opcode==OP_OpenWrite ); + pIn2 = &aMem[p2]; + assert( memIsValid(pIn2) ); + assert( (pIn2->flags & MEM_Int)!=0 ); + sqlite3VdbeMemIntegerify(pIn2); + p2 = (int)pIn2->u.i; + /* The p2 value always comes from a prior OP_CreateBtree opcode and + ** that opcode will always set the p2 value to 2 or more or else fail. + ** If there were a failure, the prepared statement would have halted + ** before reaching this instruction. */ + assert( p2>=2 ); + } + if( pOp->p4type==P4_KEYINFO ){ + pKeyInfo = pOp->p4.pKeyInfo; + assert( pKeyInfo->enc==ENC(db) ); + assert( pKeyInfo->db==db ); + nField = pKeyInfo->nAllField; + }else if( pOp->p4type==P4_INT32 ){ + nField = pOp->p4.i; + } + assert( pOp->p1>=0 ); + assert( nField>=0 ); + testcase( nField==0 ); /* Table with INTEGER PRIMARY KEY and nothing else */ + pCur = allocateCursor(p, pOp->p1, nField, iDb, CURTYPE_BTREE); + if( pCur==0 ) goto no_mem; + pCur->nullRow = 1; + pCur->isOrdered = 1; + pCur->pgnoRoot = p2; +#ifdef SQLITE_DEBUG + pCur->wrFlag = wrFlag; +#endif + rc = sqlite3BtreeCursor(pX, p2, wrFlag, pKeyInfo, pCur->uc.pCursor); + pCur->pKeyInfo = pKeyInfo; + /* Set the VdbeCursor.isTable variable. Previous versions of + ** SQLite used to check if the root-page flags were sane at this point + ** and report database corruption if they were not, but this check has + ** since moved into the btree layer. */ + pCur->isTable = pOp->p4type!=P4_KEYINFO; + +open_cursor_set_hints: + assert( OPFLAG_BULKCSR==BTREE_BULKLOAD ); + assert( OPFLAG_SEEKEQ==BTREE_SEEK_EQ ); + testcase( pOp->p5 & OPFLAG_BULKCSR ); +#ifdef SQLITE_ENABLE_CURSOR_HINTS + testcase( pOp->p2 & OPFLAG_SEEKEQ ); +#endif + sqlite3BtreeCursorHintFlags(pCur->uc.pCursor, + (pOp->p5 & (OPFLAG_BULKCSR|OPFLAG_SEEKEQ))); + if( rc ) goto abort_due_to_error; + break; +} + +/* Opcode: OpenDup P1 P2 * * * +** +** Open a new cursor P1 that points to the same ephemeral table as +** cursor P2. The P2 cursor must have been opened by a prior OP_OpenEphemeral +** opcode. Only ephemeral cursors may be duplicated. +** +** Duplicate ephemeral cursors are used for self-joins of materialized views. +*/ +case OP_OpenDup: { + VdbeCursor *pOrig; /* The original cursor to be duplicated */ + VdbeCursor *pCx; /* The new cursor */ + + pOrig = p->apCsr[pOp->p2]; + assert( pOrig->pBtx!=0 ); /* Only ephemeral cursors can be duplicated */ + + pCx = allocateCursor(p, pOp->p1, pOrig->nField, -1, CURTYPE_BTREE); + if( pCx==0 ) goto no_mem; + pCx->nullRow = 1; + pCx->isEphemeral = 1; + pCx->pKeyInfo = pOrig->pKeyInfo; + pCx->isTable = pOrig->isTable; + pCx->pgnoRoot = pOrig->pgnoRoot; + pCx->isOrdered = pOrig->isOrdered; + rc = sqlite3BtreeCursor(pOrig->pBtx, pCx->pgnoRoot, BTREE_WRCSR, + pCx->pKeyInfo, pCx->uc.pCursor); + /* The sqlite3BtreeCursor() routine can only fail for the first cursor + ** opened for a database. Since there is already an open cursor when this + ** opcode is run, the sqlite3BtreeCursor() cannot fail */ + assert( rc==SQLITE_OK ); + break; +} + + +/* Opcode: OpenEphemeral P1 P2 * P4 P5 +** Synopsis: nColumn=P2 +** +** Open a new cursor P1 to a transient table. +** The cursor is always opened read/write even if +** the main database is read-only. The ephemeral +** table is deleted automatically when the cursor is closed. +** +** If the cursor P1 is already opened on an ephemeral table, the table +** is cleared (all content is erased). +** +** P2 is the number of columns in the ephemeral table. +** The cursor points to a BTree table if P4==0 and to a BTree index +** if P4 is not 0. If P4 is not NULL, it points to a KeyInfo structure +** that defines the format of keys in the index. +** +** The P5 parameter can be a mask of the BTREE_* flags defined +** in btree.h. These flags control aspects of the operation of +** the btree. The BTREE_OMIT_JOURNAL and BTREE_SINGLE flags are +** added automatically. +*/ +/* Opcode: OpenAutoindex P1 P2 * P4 * +** Synopsis: nColumn=P2 +** +** This opcode works the same as OP_OpenEphemeral. It has a +** different name to distinguish its use. Tables created using +** by this opcode will be used for automatically created transient +** indices in joins. +*/ +case OP_OpenAutoindex: +case OP_OpenEphemeral: { + VdbeCursor *pCx; + KeyInfo *pKeyInfo; + + static const int vfsFlags = + SQLITE_OPEN_READWRITE | + SQLITE_OPEN_CREATE | + SQLITE_OPEN_EXCLUSIVE | + SQLITE_OPEN_DELETEONCLOSE | + SQLITE_OPEN_TRANSIENT_DB; + assert( pOp->p1>=0 ); + assert( pOp->p2>=0 ); + pCx = p->apCsr[pOp->p1]; + if( pCx ){ + /* If the ephermeral table is already open, erase all existing content + ** so that the table is empty again, rather than creating a new table. */ + assert( pCx->isEphemeral ); + pCx->seqCount = 0; + pCx->cacheStatus = CACHE_STALE; + if( pCx->pBtx ){ + rc = sqlite3BtreeClearTable(pCx->pBtx, pCx->pgnoRoot, 0); + } + }else{ + pCx = allocateCursor(p, pOp->p1, pOp->p2, -1, CURTYPE_BTREE); + if( pCx==0 ) goto no_mem; + pCx->isEphemeral = 1; + rc = sqlite3BtreeOpen(db->pVfs, 0, db, &pCx->pBtx, + BTREE_OMIT_JOURNAL | BTREE_SINGLE | pOp->p5, + vfsFlags); + if( rc==SQLITE_OK ){ + rc = sqlite3BtreeBeginTrans(pCx->pBtx, 1, 0); + } + if( rc==SQLITE_OK ){ + /* If a transient index is required, create it by calling + ** sqlite3BtreeCreateTable() with the BTREE_BLOBKEY flag before + ** opening it. If a transient table is required, just use the + ** automatically created table with root-page 1 (an BLOB_INTKEY table). + */ + if( (pCx->pKeyInfo = pKeyInfo = pOp->p4.pKeyInfo)!=0 ){ + assert( pOp->p4type==P4_KEYINFO ); + rc = sqlite3BtreeCreateTable(pCx->pBtx, (int*)&pCx->pgnoRoot, + BTREE_BLOBKEY | pOp->p5); + if( rc==SQLITE_OK ){ + assert( pCx->pgnoRoot==MASTER_ROOT+1 ); + assert( pKeyInfo->db==db ); + assert( pKeyInfo->enc==ENC(db) ); + rc = sqlite3BtreeCursor(pCx->pBtx, pCx->pgnoRoot, BTREE_WRCSR, + pKeyInfo, pCx->uc.pCursor); + } + pCx->isTable = 0; + }else{ + pCx->pgnoRoot = MASTER_ROOT; + rc = sqlite3BtreeCursor(pCx->pBtx, MASTER_ROOT, BTREE_WRCSR, + 0, pCx->uc.pCursor); + pCx->isTable = 1; + } + } + pCx->isOrdered = (pOp->p5!=BTREE_UNORDERED); + } + if( rc ) goto abort_due_to_error; + pCx->nullRow = 1; + break; +} + +/* Opcode: SorterOpen P1 P2 P3 P4 * +** +** This opcode works like OP_OpenEphemeral except that it opens +** a transient index that is specifically designed to sort large +** tables using an external merge-sort algorithm. +** +** If argument P3 is non-zero, then it indicates that the sorter may +** assume that a stable sort considering the first P3 fields of each +** key is sufficient to produce the required results. +*/ +case OP_SorterOpen: { + VdbeCursor *pCx; + + assert( pOp->p1>=0 ); + assert( pOp->p2>=0 ); + pCx = allocateCursor(p, pOp->p1, pOp->p2, -1, CURTYPE_SORTER); + if( pCx==0 ) goto no_mem; + pCx->pKeyInfo = pOp->p4.pKeyInfo; + assert( pCx->pKeyInfo->db==db ); + assert( pCx->pKeyInfo->enc==ENC(db) ); + rc = sqlite3VdbeSorterInit(db, pOp->p3, pCx); + if( rc ) goto abort_due_to_error; + break; +} + +/* Opcode: SequenceTest P1 P2 * * * +** Synopsis: if( cursor[P1].ctr++ ) pc = P2 +** +** P1 is a sorter cursor. If the sequence counter is currently zero, jump +** to P2. Regardless of whether or not the jump is taken, increment the +** the sequence value. +*/ +case OP_SequenceTest: { + VdbeCursor *pC; + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( isSorter(pC) ); + if( (pC->seqCount++)==0 ){ + goto jump_to_p2; + } + break; +} + +/* Opcode: OpenPseudo P1 P2 P3 * * +** Synopsis: P3 columns in r[P2] +** +** Open a new cursor that points to a fake table that contains a single +** row of data. The content of that one row is the content of memory +** register P2. In other words, cursor P1 becomes an alias for the +** MEM_Blob content contained in register P2. +** +** A pseudo-table created by this opcode is used to hold a single +** row output from the sorter so that the row can be decomposed into +** individual columns using the OP_Column opcode. The OP_Column opcode +** is the only cursor opcode that works with a pseudo-table. +** +** P3 is the number of fields in the records that will be stored by +** the pseudo-table. +*/ +case OP_OpenPseudo: { + VdbeCursor *pCx; + + assert( pOp->p1>=0 ); + assert( pOp->p3>=0 ); + pCx = allocateCursor(p, pOp->p1, pOp->p3, -1, CURTYPE_PSEUDO); + if( pCx==0 ) goto no_mem; + pCx->nullRow = 1; + pCx->seekResult = pOp->p2; + pCx->isTable = 1; + /* Give this pseudo-cursor a fake BtCursor pointer so that pCx + ** can be safely passed to sqlite3VdbeCursorMoveto(). This avoids a test + ** for pCx->eCurType==CURTYPE_BTREE inside of sqlite3VdbeCursorMoveto() + ** which is a performance optimization */ + pCx->uc.pCursor = sqlite3BtreeFakeValidCursor(); + assert( pOp->p5==0 ); + break; +} + +/* Opcode: Close P1 * * * * +** +** Close a cursor previously opened as P1. If P1 is not +** currently open, this instruction is a no-op. +*/ +case OP_Close: { + assert( pOp->p1>=0 && pOp->p1nCursor ); + sqlite3VdbeFreeCursor(p, p->apCsr[pOp->p1]); + p->apCsr[pOp->p1] = 0; + break; +} + +#ifdef SQLITE_ENABLE_COLUMN_USED_MASK +/* Opcode: ColumnsUsed P1 * * P4 * +** +** This opcode (which only exists if SQLite was compiled with +** SQLITE_ENABLE_COLUMN_USED_MASK) identifies which columns of the +** table or index for cursor P1 are used. P4 is a 64-bit integer +** (P4_INT64) in which the first 63 bits are one for each of the +** first 63 columns of the table or index that are actually used +** by the cursor. The high-order bit is set if any column after +** the 64th is used. +*/ +case OP_ColumnsUsed: { + VdbeCursor *pC; + pC = p->apCsr[pOp->p1]; + assert( pC->eCurType==CURTYPE_BTREE ); + pC->maskUsed = *(u64*)pOp->p4.pI64; + break; +} +#endif + +/* Opcode: SeekGE P1 P2 P3 P4 * +** Synopsis: key=r[P3@P4] +** +** If cursor P1 refers to an SQL table (B-Tree that uses integer keys), +** use the value in register P3 as the key. If cursor P1 refers +** to an SQL index, then P3 is the first in an array of P4 registers +** that are used as an unpacked index key. +** +** Reposition cursor P1 so that it points to the smallest entry that +** is greater than or equal to the key value. If there are no records +** greater than or equal to the key and P2 is not zero, then jump to P2. +** +** If the cursor P1 was opened using the OPFLAG_SEEKEQ flag, then this +** opcode will always land on a record that equally equals the key, or +** else jump immediately to P2. When the cursor is OPFLAG_SEEKEQ, this +** opcode must be followed by an IdxLE opcode with the same arguments. +** The IdxLE opcode will be skipped if this opcode succeeds, but the +** IdxLE opcode will be used on subsequent loop iterations. +** +** This opcode leaves the cursor configured to move in forward order, +** from the beginning toward the end. In other words, the cursor is +** configured to use Next, not Prev. +** +** See also: Found, NotFound, SeekLt, SeekGt, SeekLe +*/ +/* Opcode: SeekGT P1 P2 P3 P4 * +** Synopsis: key=r[P3@P4] +** +** If cursor P1 refers to an SQL table (B-Tree that uses integer keys), +** use the value in register P3 as a key. If cursor P1 refers +** to an SQL index, then P3 is the first in an array of P4 registers +** that are used as an unpacked index key. +** +** Reposition cursor P1 so that it points to the smallest entry that +** is greater than the key value. If there are no records greater than +** the key and P2 is not zero, then jump to P2. +** +** This opcode leaves the cursor configured to move in forward order, +** from the beginning toward the end. In other words, the cursor is +** configured to use Next, not Prev. +** +** See also: Found, NotFound, SeekLt, SeekGe, SeekLe +*/ +/* Opcode: SeekLT P1 P2 P3 P4 * +** Synopsis: key=r[P3@P4] +** +** If cursor P1 refers to an SQL table (B-Tree that uses integer keys), +** use the value in register P3 as a key. If cursor P1 refers +** to an SQL index, then P3 is the first in an array of P4 registers +** that are used as an unpacked index key. +** +** Reposition cursor P1 so that it points to the largest entry that +** is less than the key value. If there are no records less than +** the key and P2 is not zero, then jump to P2. +** +** This opcode leaves the cursor configured to move in reverse order, +** from the end toward the beginning. In other words, the cursor is +** configured to use Prev, not Next. +** +** See also: Found, NotFound, SeekGt, SeekGe, SeekLe +*/ +/* Opcode: SeekLE P1 P2 P3 P4 * +** Synopsis: key=r[P3@P4] +** +** If cursor P1 refers to an SQL table (B-Tree that uses integer keys), +** use the value in register P3 as a key. If cursor P1 refers +** to an SQL index, then P3 is the first in an array of P4 registers +** that are used as an unpacked index key. +** +** Reposition cursor P1 so that it points to the largest entry that +** is less than or equal to the key value. If there are no records +** less than or equal to the key and P2 is not zero, then jump to P2. +** +** This opcode leaves the cursor configured to move in reverse order, +** from the end toward the beginning. In other words, the cursor is +** configured to use Prev, not Next. +** +** If the cursor P1 was opened using the OPFLAG_SEEKEQ flag, then this +** opcode will always land on a record that equally equals the key, or +** else jump immediately to P2. When the cursor is OPFLAG_SEEKEQ, this +** opcode must be followed by an IdxGE opcode with the same arguments. +** The IdxGE opcode will be skipped if this opcode succeeds, but the +** IdxGE opcode will be used on subsequent loop iterations. +** +** See also: Found, NotFound, SeekGt, SeekGe, SeekLt +*/ +case OP_SeekLT: /* jump, in3, group */ +case OP_SeekLE: /* jump, in3, group */ +case OP_SeekGE: /* jump, in3, group */ +case OP_SeekGT: { /* jump, in3, group */ + int res; /* Comparison result */ + int oc; /* Opcode */ + VdbeCursor *pC; /* The cursor to seek */ + UnpackedRecord r; /* The key to seek for */ + int nField; /* Number of columns or fields in the key */ + i64 iKey; /* The rowid we are to seek to */ + int eqOnly; /* Only interested in == results */ + + assert( pOp->p1>=0 && pOp->p1nCursor ); + assert( pOp->p2!=0 ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( pC->eCurType==CURTYPE_BTREE ); + assert( OP_SeekLE == OP_SeekLT+1 ); + assert( OP_SeekGE == OP_SeekLT+2 ); + assert( OP_SeekGT == OP_SeekLT+3 ); + assert( pC->isOrdered ); + assert( pC->uc.pCursor!=0 ); + oc = pOp->opcode; + eqOnly = 0; + pC->nullRow = 0; +#ifdef SQLITE_DEBUG + pC->seekOp = pOp->opcode; +#endif + + pC->deferredMoveto = 0; + pC->cacheStatus = CACHE_STALE; + if( pC->isTable ){ + u16 flags3, newType; + /* The BTREE_SEEK_EQ flag is only set on index cursors */ + assert( sqlite3BtreeCursorHasHint(pC->uc.pCursor, BTREE_SEEK_EQ)==0 + || CORRUPT_DB ); + + /* The input value in P3 might be of any type: integer, real, string, + ** blob, or NULL. But it needs to be an integer before we can do + ** the seek, so convert it. */ + pIn3 = &aMem[pOp->p3]; + flags3 = pIn3->flags; + if( (flags3 & (MEM_Int|MEM_Real|MEM_IntReal|MEM_Str))==MEM_Str ){ + applyNumericAffinity(pIn3, 0); + } + iKey = sqlite3VdbeIntValue(pIn3); /* Get the integer key value */ + newType = pIn3->flags; /* Record the type after applying numeric affinity */ + pIn3->flags = flags3; /* But convert the type back to its original */ + + /* If the P3 value could not be converted into an integer without + ** loss of information, then special processing is required... */ + if( (newType & (MEM_Int|MEM_IntReal))==0 ){ + if( (newType & MEM_Real)==0 ){ + if( (newType & MEM_Null) || oc>=OP_SeekGE ){ + VdbeBranchTaken(1,2); + goto jump_to_p2; + }else{ + rc = sqlite3BtreeLast(pC->uc.pCursor, &res); + if( rc!=SQLITE_OK ) goto abort_due_to_error; + goto seek_not_found; + } + }else + + /* If the approximation iKey is larger than the actual real search + ** term, substitute >= for > and < for <=. e.g. if the search term + ** is 4.9 and the integer approximation 5: + ** + ** (x > 4.9) -> (x >= 5) + ** (x <= 4.9) -> (x < 5) + */ + if( pIn3->u.r<(double)iKey ){ + assert( OP_SeekGE==(OP_SeekGT-1) ); + assert( OP_SeekLT==(OP_SeekLE-1) ); + assert( (OP_SeekLE & 0x0001)==(OP_SeekGT & 0x0001) ); + if( (oc & 0x0001)==(OP_SeekGT & 0x0001) ) oc--; + } + + /* If the approximation iKey is smaller than the actual real search + ** term, substitute <= for < and > for >=. */ + else if( pIn3->u.r>(double)iKey ){ + assert( OP_SeekLE==(OP_SeekLT+1) ); + assert( OP_SeekGT==(OP_SeekGE+1) ); + assert( (OP_SeekLT & 0x0001)==(OP_SeekGE & 0x0001) ); + if( (oc & 0x0001)==(OP_SeekLT & 0x0001) ) oc++; + } + } + rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, 0, (u64)iKey, 0, &res); + pC->movetoTarget = iKey; /* Used by OP_Delete */ + if( rc!=SQLITE_OK ){ + goto abort_due_to_error; + } + }else{ + /* For a cursor with the BTREE_SEEK_EQ hint, only the OP_SeekGE and + ** OP_SeekLE opcodes are allowed, and these must be immediately followed + ** by an OP_IdxGT or OP_IdxLT opcode, respectively, with the same key. + */ + if( sqlite3BtreeCursorHasHint(pC->uc.pCursor, BTREE_SEEK_EQ) ){ + eqOnly = 1; + assert( pOp->opcode==OP_SeekGE || pOp->opcode==OP_SeekLE ); + assert( pOp[1].opcode==OP_IdxLT || pOp[1].opcode==OP_IdxGT ); + assert( pOp[1].p1==pOp[0].p1 ); + assert( pOp[1].p2==pOp[0].p2 ); + assert( pOp[1].p3==pOp[0].p3 ); + assert( pOp[1].p4.i==pOp[0].p4.i ); + } + + nField = pOp->p4.i; + assert( pOp->p4type==P4_INT32 ); + assert( nField>0 ); + r.pKeyInfo = pC->pKeyInfo; + r.nField = (u16)nField; + + /* The next line of code computes as follows, only faster: + ** if( oc==OP_SeekGT || oc==OP_SeekLE ){ + ** r.default_rc = -1; + ** }else{ + ** r.default_rc = +1; + ** } + */ + r.default_rc = ((1 & (oc - OP_SeekLT)) ? -1 : +1); + assert( oc!=OP_SeekGT || r.default_rc==-1 ); + assert( oc!=OP_SeekLE || r.default_rc==-1 ); + assert( oc!=OP_SeekGE || r.default_rc==+1 ); + assert( oc!=OP_SeekLT || r.default_rc==+1 ); + + r.aMem = &aMem[pOp->p3]; +#ifdef SQLITE_DEBUG + { int i; for(i=0; iuc.pCursor, &r, 0, 0, &res); + if( rc!=SQLITE_OK ){ + goto abort_due_to_error; + } + if( eqOnly && r.eqSeen==0 ){ + assert( res!=0 ); + goto seek_not_found; + } + } +#ifdef SQLITE_TEST + sqlite3_search_count++; +#endif + if( oc>=OP_SeekGE ){ assert( oc==OP_SeekGE || oc==OP_SeekGT ); + if( res<0 || (res==0 && oc==OP_SeekGT) ){ + res = 0; + rc = sqlite3BtreeNext(pC->uc.pCursor, 0); + if( rc!=SQLITE_OK ){ + if( rc==SQLITE_DONE ){ + rc = SQLITE_OK; + res = 1; + }else{ + goto abort_due_to_error; + } + } + }else{ + res = 0; + } + }else{ + assert( oc==OP_SeekLT || oc==OP_SeekLE ); + if( res>0 || (res==0 && oc==OP_SeekLT) ){ + res = 0; + rc = sqlite3BtreePrevious(pC->uc.pCursor, 0); + if( rc!=SQLITE_OK ){ + if( rc==SQLITE_DONE ){ + rc = SQLITE_OK; + res = 1; + }else{ + goto abort_due_to_error; + } + } + }else{ + /* res might be negative because the table is empty. Check to + ** see if this is the case. + */ + res = sqlite3BtreeEof(pC->uc.pCursor); + } + } +seek_not_found: + assert( pOp->p2>0 ); + VdbeBranchTaken(res!=0,2); + if( res ){ + goto jump_to_p2; + }else if( eqOnly ){ + assert( pOp[1].opcode==OP_IdxLT || pOp[1].opcode==OP_IdxGT ); + pOp++; /* Skip the OP_IdxLt or OP_IdxGT that follows */ + } + break; +} + +/* Opcode: SeekHit P1 P2 * * * +** Synopsis: seekHit=P2 +** +** Set the seekHit flag on cursor P1 to the value in P2. +** The seekHit flag is used by the IfNoHope opcode. +** +** P1 must be a valid b-tree cursor. P2 must be a boolean value, +** either 0 or 1. +*/ +case OP_SeekHit: { + VdbeCursor *pC; + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( pOp->p2==0 || pOp->p2==1 ); + pC->seekHit = pOp->p2 & 1; + break; +} + +/* Opcode: Found P1 P2 P3 P4 * +** Synopsis: key=r[P3@P4] +** +** If P4==0 then register P3 holds a blob constructed by MakeRecord. If +** P4>0 then register P3 is the first of P4 registers that form an unpacked +** record. +** +** Cursor P1 is on an index btree. If the record identified by P3 and P4 +** is a prefix of any entry in P1 then a jump is made to P2 and +** P1 is left pointing at the matching entry. +** +** This operation leaves the cursor in a state where it can be +** advanced in the forward direction. The Next instruction will work, +** but not the Prev instruction. +** +** See also: NotFound, NoConflict, NotExists. SeekGe +*/ +/* Opcode: NotFound P1 P2 P3 P4 * +** Synopsis: key=r[P3@P4] +** +** If P4==0 then register P3 holds a blob constructed by MakeRecord. If +** P4>0 then register P3 is the first of P4 registers that form an unpacked +** record. +** +** Cursor P1 is on an index btree. If the record identified by P3 and P4 +** is not the prefix of any entry in P1 then a jump is made to P2. If P1 +** does contain an entry whose prefix matches the P3/P4 record then control +** falls through to the next instruction and P1 is left pointing at the +** matching entry. +** +** This operation leaves the cursor in a state where it cannot be +** advanced in either direction. In other words, the Next and Prev +** opcodes do not work after this operation. +** +** See also: Found, NotExists, NoConflict, IfNoHope +*/ +/* Opcode: IfNoHope P1 P2 P3 P4 * +** Synopsis: key=r[P3@P4] +** +** Register P3 is the first of P4 registers that form an unpacked +** record. +** +** Cursor P1 is on an index btree. If the seekHit flag is set on P1, then +** this opcode is a no-op. But if the seekHit flag of P1 is clear, then +** check to see if there is any entry in P1 that matches the +** prefix identified by P3 and P4. If no entry matches the prefix, +** jump to P2. Otherwise fall through. +** +** This opcode behaves like OP_NotFound if the seekHit +** flag is clear and it behaves like OP_Noop if the seekHit flag is set. +** +** This opcode is used in IN clause processing for a multi-column key. +** If an IN clause is attached to an element of the key other than the +** left-most element, and if there are no matches on the most recent +** seek over the whole key, then it might be that one of the key element +** to the left is prohibiting a match, and hence there is "no hope" of +** any match regardless of how many IN clause elements are checked. +** In such a case, we abandon the IN clause search early, using this +** opcode. The opcode name comes from the fact that the +** jump is taken if there is "no hope" of achieving a match. +** +** See also: NotFound, SeekHit +*/ +/* Opcode: NoConflict P1 P2 P3 P4 * +** Synopsis: key=r[P3@P4] +** +** If P4==0 then register P3 holds a blob constructed by MakeRecord. If +** P4>0 then register P3 is the first of P4 registers that form an unpacked +** record. +** +** Cursor P1 is on an index btree. If the record identified by P3 and P4 +** contains any NULL value, jump immediately to P2. If all terms of the +** record are not-NULL then a check is done to determine if any row in the +** P1 index btree has a matching key prefix. If there are no matches, jump +** immediately to P2. If there is a match, fall through and leave the P1 +** cursor pointing to the matching row. +** +** This opcode is similar to OP_NotFound with the exceptions that the +** branch is always taken if any part of the search key input is NULL. +** +** This operation leaves the cursor in a state where it cannot be +** advanced in either direction. In other words, the Next and Prev +** opcodes do not work after this operation. +** +** See also: NotFound, Found, NotExists +*/ +case OP_IfNoHope: { /* jump, in3 */ + VdbeCursor *pC; + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + if( pC->seekHit ) break; + /* Fall through into OP_NotFound */ +} +case OP_NoConflict: /* jump, in3 */ +case OP_NotFound: /* jump, in3 */ +case OP_Found: { /* jump, in3 */ + int alreadyExists; + int takeJump; + int ii; + VdbeCursor *pC; + int res; + UnpackedRecord *pFree; + UnpackedRecord *pIdxKey; + UnpackedRecord r; + +#ifdef SQLITE_TEST + if( pOp->opcode!=OP_NoConflict ) sqlite3_found_count++; +#endif + + assert( pOp->p1>=0 && pOp->p1nCursor ); + assert( pOp->p4type==P4_INT32 ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); +#ifdef SQLITE_DEBUG + pC->seekOp = pOp->opcode; +#endif + pIn3 = &aMem[pOp->p3]; + assert( pC->eCurType==CURTYPE_BTREE ); + assert( pC->uc.pCursor!=0 ); + assert( pC->isTable==0 ); + if( pOp->p4.i>0 ){ + r.pKeyInfo = pC->pKeyInfo; + r.nField = (u16)pOp->p4.i; + r.aMem = pIn3; +#ifdef SQLITE_DEBUG + for(ii=0; iip3+ii, &r.aMem[ii]); + } +#endif + pIdxKey = &r; + pFree = 0; + }else{ + assert( pIn3->flags & MEM_Blob ); + rc = ExpandBlob(pIn3); + assert( rc==SQLITE_OK || rc==SQLITE_NOMEM ); + if( rc ) goto no_mem; + pFree = pIdxKey = sqlite3VdbeAllocUnpackedRecord(pC->pKeyInfo); + if( pIdxKey==0 ) goto no_mem; + sqlite3VdbeRecordUnpack(pC->pKeyInfo, pIn3->n, pIn3->z, pIdxKey); + } + pIdxKey->default_rc = 0; + takeJump = 0; + if( pOp->opcode==OP_NoConflict ){ + /* For the OP_NoConflict opcode, take the jump if any of the + ** input fields are NULL, since any key with a NULL will not + ** conflict */ + for(ii=0; iinField; ii++){ + if( pIdxKey->aMem[ii].flags & MEM_Null ){ + takeJump = 1; + break; + } + } + } + rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, pIdxKey, 0, 0, &res); + if( pFree ) sqlite3DbFreeNN(db, pFree); + if( rc!=SQLITE_OK ){ + goto abort_due_to_error; + } + pC->seekResult = res; + alreadyExists = (res==0); + pC->nullRow = 1-alreadyExists; + pC->deferredMoveto = 0; + pC->cacheStatus = CACHE_STALE; + if( pOp->opcode==OP_Found ){ + VdbeBranchTaken(alreadyExists!=0,2); + if( alreadyExists ) goto jump_to_p2; + }else{ + VdbeBranchTaken(takeJump||alreadyExists==0,2); + if( takeJump || !alreadyExists ) goto jump_to_p2; + } + break; +} + +/* Opcode: SeekRowid P1 P2 P3 * * +** Synopsis: intkey=r[P3] +** +** P1 is the index of a cursor open on an SQL table btree (with integer +** keys). If register P3 does not contain an integer or if P1 does not +** contain a record with rowid P3 then jump immediately to P2. +** Or, if P2 is 0, raise an SQLITE_CORRUPT error. If P1 does contain +** a record with rowid P3 then +** leave the cursor pointing at that record and fall through to the next +** instruction. +** +** The OP_NotExists opcode performs the same operation, but with OP_NotExists +** the P3 register must be guaranteed to contain an integer value. With this +** opcode, register P3 might not contain an integer. +** +** The OP_NotFound opcode performs the same operation on index btrees +** (with arbitrary multi-value keys). +** +** This opcode leaves the cursor in a state where it cannot be advanced +** in either direction. In other words, the Next and Prev opcodes will +** not work following this opcode. +** +** See also: Found, NotFound, NoConflict, SeekRowid +*/ +/* Opcode: NotExists P1 P2 P3 * * +** Synopsis: intkey=r[P3] +** +** P1 is the index of a cursor open on an SQL table btree (with integer +** keys). P3 is an integer rowid. If P1 does not contain a record with +** rowid P3 then jump immediately to P2. Or, if P2 is 0, raise an +** SQLITE_CORRUPT error. If P1 does contain a record with rowid P3 then +** leave the cursor pointing at that record and fall through to the next +** instruction. +** +** The OP_SeekRowid opcode performs the same operation but also allows the +** P3 register to contain a non-integer value, in which case the jump is +** always taken. This opcode requires that P3 always contain an integer. +** +** The OP_NotFound opcode performs the same operation on index btrees +** (with arbitrary multi-value keys). +** +** This opcode leaves the cursor in a state where it cannot be advanced +** in either direction. In other words, the Next and Prev opcodes will +** not work following this opcode. +** +** See also: Found, NotFound, NoConflict, SeekRowid +*/ +case OP_SeekRowid: { /* jump, in3 */ + VdbeCursor *pC; + BtCursor *pCrsr; + int res; + u64 iKey; + + pIn3 = &aMem[pOp->p3]; + testcase( pIn3->flags & MEM_Int ); + testcase( pIn3->flags & MEM_IntReal ); + testcase( pIn3->flags & MEM_Real ); + testcase( (pIn3->flags & (MEM_Str|MEM_Int))==MEM_Str ); + if( (pIn3->flags & (MEM_Int|MEM_IntReal))==0 ){ + /* If pIn3->u.i does not contain an integer, compute iKey as the + ** integer value of pIn3. Jump to P2 if pIn3 cannot be converted + ** into an integer without loss of information. Take care to avoid + ** changing the datatype of pIn3, however, as it is used by other + ** parts of the prepared statement. */ + Mem x = pIn3[0]; + applyAffinity(&x, SQLITE_AFF_NUMERIC, encoding); + if( (x.flags & MEM_Int)==0 ) goto jump_to_p2; + iKey = x.u.i; + goto notExistsWithKey; + } + /* Fall through into OP_NotExists */ +case OP_NotExists: /* jump, in3 */ + pIn3 = &aMem[pOp->p3]; + assert( (pIn3->flags & MEM_Int)!=0 || pOp->opcode==OP_SeekRowid ); + assert( pOp->p1>=0 && pOp->p1nCursor ); + iKey = pIn3->u.i; +notExistsWithKey: + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); +#ifdef SQLITE_DEBUG + if( pOp->opcode==OP_SeekRowid ) pC->seekOp = OP_SeekRowid; +#endif + assert( pC->isTable ); + assert( pC->eCurType==CURTYPE_BTREE ); + pCrsr = pC->uc.pCursor; + assert( pCrsr!=0 ); + res = 0; + rc = sqlite3BtreeMovetoUnpacked(pCrsr, 0, iKey, 0, &res); + assert( rc==SQLITE_OK || res==0 ); + pC->movetoTarget = iKey; /* Used by OP_Delete */ + pC->nullRow = 0; + pC->cacheStatus = CACHE_STALE; + pC->deferredMoveto = 0; + VdbeBranchTaken(res!=0,2); + pC->seekResult = res; + if( res!=0 ){ + assert( rc==SQLITE_OK ); + if( pOp->p2==0 ){ + rc = SQLITE_CORRUPT_BKPT; + }else{ + goto jump_to_p2; + } + } + if( rc ) goto abort_due_to_error; + break; +} + +/* Opcode: Sequence P1 P2 * * * +** Synopsis: r[P2]=cursor[P1].ctr++ +** +** Find the next available sequence number for cursor P1. +** Write the sequence number into register P2. +** The sequence number on the cursor is incremented after this +** instruction. +*/ +case OP_Sequence: { /* out2 */ + assert( pOp->p1>=0 && pOp->p1nCursor ); + assert( p->apCsr[pOp->p1]!=0 ); + assert( p->apCsr[pOp->p1]->eCurType!=CURTYPE_VTAB ); + pOut = out2Prerelease(p, pOp); + pOut->u.i = p->apCsr[pOp->p1]->seqCount++; + break; +} + + +/* Opcode: NewRowid P1 P2 P3 * * +** Synopsis: r[P2]=rowid +** +** Get a new integer record number (a.k.a "rowid") used as the key to a table. +** The record number is not previously used as a key in the database +** table that cursor P1 points to. The new record number is written +** written to register P2. +** +** If P3>0 then P3 is a register in the root frame of this VDBE that holds +** the largest previously generated record number. No new record numbers are +** allowed to be less than this value. When this value reaches its maximum, +** an SQLITE_FULL error is generated. The P3 register is updated with the ' +** generated record number. This P3 mechanism is used to help implement the +** AUTOINCREMENT feature. +*/ +case OP_NewRowid: { /* out2 */ + i64 v; /* The new rowid */ + VdbeCursor *pC; /* Cursor of table to get the new rowid */ + int res; /* Result of an sqlite3BtreeLast() */ + int cnt; /* Counter to limit the number of searches */ + Mem *pMem; /* Register holding largest rowid for AUTOINCREMENT */ + VdbeFrame *pFrame; /* Root frame of VDBE */ + + v = 0; + res = 0; + pOut = out2Prerelease(p, pOp); + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( pC->isTable ); + assert( pC->eCurType==CURTYPE_BTREE ); + assert( pC->uc.pCursor!=0 ); + { + /* The next rowid or record number (different terms for the same + ** thing) is obtained in a two-step algorithm. + ** + ** First we attempt to find the largest existing rowid and add one + ** to that. But if the largest existing rowid is already the maximum + ** positive integer, we have to fall through to the second + ** probabilistic algorithm + ** + ** The second algorithm is to select a rowid at random and see if + ** it already exists in the table. If it does not exist, we have + ** succeeded. If the random rowid does exist, we select a new one + ** and try again, up to 100 times. + */ + assert( pC->isTable ); + +#ifdef SQLITE_32BIT_ROWID +# define MAX_ROWID 0x7fffffff +#else + /* Some compilers complain about constants of the form 0x7fffffffffffffff. + ** Others complain about 0x7ffffffffffffffffLL. The following macro seems + ** to provide the constant while making all compilers happy. + */ +# define MAX_ROWID (i64)( (((u64)0x7fffffff)<<32) | (u64)0xffffffff ) +#endif + + if( !pC->useRandomRowid ){ + rc = sqlite3BtreeLast(pC->uc.pCursor, &res); + if( rc!=SQLITE_OK ){ + goto abort_due_to_error; + } + if( res ){ + v = 1; /* IMP: R-61914-48074 */ + }else{ + assert( sqlite3BtreeCursorIsValid(pC->uc.pCursor) ); + v = sqlite3BtreeIntegerKey(pC->uc.pCursor); + if( v>=MAX_ROWID ){ + pC->useRandomRowid = 1; + }else{ + v++; /* IMP: R-29538-34987 */ + } + } + } + +#ifndef SQLITE_OMIT_AUTOINCREMENT + if( pOp->p3 ){ + /* Assert that P3 is a valid memory cell. */ + assert( pOp->p3>0 ); + if( p->pFrame ){ + for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent); + /* Assert that P3 is a valid memory cell. */ + assert( pOp->p3<=pFrame->nMem ); + pMem = &pFrame->aMem[pOp->p3]; + }else{ + /* Assert that P3 is a valid memory cell. */ + assert( pOp->p3<=(p->nMem+1 - p->nCursor) ); + pMem = &aMem[pOp->p3]; + memAboutToChange(p, pMem); + } + assert( memIsValid(pMem) ); + + REGISTER_TRACE(pOp->p3, pMem); + sqlite3VdbeMemIntegerify(pMem); + assert( (pMem->flags & MEM_Int)!=0 ); /* mem(P3) holds an integer */ + if( pMem->u.i==MAX_ROWID || pC->useRandomRowid ){ + rc = SQLITE_FULL; /* IMP: R-17817-00630 */ + goto abort_due_to_error; + } + if( vu.i+1 ){ + v = pMem->u.i + 1; + } + pMem->u.i = v; + } +#endif + if( pC->useRandomRowid ){ + /* IMPLEMENTATION-OF: R-07677-41881 If the largest ROWID is equal to the + ** largest possible integer (9223372036854775807) then the database + ** engine starts picking positive candidate ROWIDs at random until + ** it finds one that is not previously used. */ + assert( pOp->p3==0 ); /* We cannot be in random rowid mode if this is + ** an AUTOINCREMENT table. */ + cnt = 0; + do{ + sqlite3_randomness(sizeof(v), &v); + v &= (MAX_ROWID>>1); v++; /* Ensure that v is greater than zero */ + }while( ((rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, 0, (u64)v, + 0, &res))==SQLITE_OK) + && (res==0) + && (++cnt<100)); + if( rc ) goto abort_due_to_error; + if( res==0 ){ + rc = SQLITE_FULL; /* IMP: R-38219-53002 */ + goto abort_due_to_error; + } + assert( v>0 ); /* EV: R-40812-03570 */ + } + pC->deferredMoveto = 0; + pC->cacheStatus = CACHE_STALE; + } + pOut->u.i = v; + break; +} + +/* Opcode: Insert P1 P2 P3 P4 P5 +** Synopsis: intkey=r[P3] data=r[P2] +** +** Write an entry into the table of cursor P1. A new entry is +** created if it doesn't already exist or the data for an existing +** entry is overwritten. The data is the value MEM_Blob stored in register +** number P2. The key is stored in register P3. The key must +** be a MEM_Int. +** +** If the OPFLAG_NCHANGE flag of P5 is set, then the row change count is +** incremented (otherwise not). If the OPFLAG_LASTROWID flag of P5 is set, +** then rowid is stored for subsequent return by the +** sqlite3_last_insert_rowid() function (otherwise it is unmodified). +** +** If the OPFLAG_USESEEKRESULT flag of P5 is set, the implementation might +** run faster by avoiding an unnecessary seek on cursor P1. However, +** the OPFLAG_USESEEKRESULT flag must only be set if there have been no prior +** seeks on the cursor or if the most recent seek used a key equal to P3. +** +** If the OPFLAG_ISUPDATE flag is set, then this opcode is part of an +** UPDATE operation. Otherwise (if the flag is clear) then this opcode +** is part of an INSERT operation. The difference is only important to +** the update hook. +** +** Parameter P4 may point to a Table structure, or may be NULL. If it is +** not NULL, then the update-hook (sqlite3.xUpdateCallback) is invoked +** following a successful insert. +** +** (WARNING/TODO: If P1 is a pseudo-cursor and P2 is dynamically +** allocated, then ownership of P2 is transferred to the pseudo-cursor +** and register P2 becomes ephemeral. If the cursor is changed, the +** value of register P2 will then change. Make sure this does not +** cause any problems.) +** +** This instruction only works on tables. The equivalent instruction +** for indices is OP_IdxInsert. +*/ +case OP_Insert: { + Mem *pData; /* MEM cell holding data for the record to be inserted */ + Mem *pKey; /* MEM cell holding key for the record */ + VdbeCursor *pC; /* Cursor to table into which insert is written */ + int seekResult; /* Result of prior seek or 0 if no USESEEKRESULT flag */ + const char *zDb; /* database name - used by the update hook */ + Table *pTab; /* Table structure - used by update and pre-update hooks */ + BtreePayload x; /* Payload to be inserted */ + + pData = &aMem[pOp->p2]; + assert( pOp->p1>=0 && pOp->p1nCursor ); + assert( memIsValid(pData) ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( pC->eCurType==CURTYPE_BTREE ); + assert( pC->uc.pCursor!=0 ); + assert( (pOp->p5 & OPFLAG_ISNOOP) || pC->isTable ); + assert( pOp->p4type==P4_TABLE || pOp->p4type>=P4_STATIC ); + REGISTER_TRACE(pOp->p2, pData); + sqlite3VdbeIncrWriteCounter(p, pC); + + pKey = &aMem[pOp->p3]; + assert( pKey->flags & MEM_Int ); + assert( memIsValid(pKey) ); + REGISTER_TRACE(pOp->p3, pKey); + x.nKey = pKey->u.i; + + if( pOp->p4type==P4_TABLE && HAS_UPDATE_HOOK(db) ){ + assert( pC->iDb>=0 ); + zDb = db->aDb[pC->iDb].zDbSName; + pTab = pOp->p4.pTab; + assert( (pOp->p5 & OPFLAG_ISNOOP) || HasRowid(pTab) ); + }else{ + pTab = 0; + zDb = 0; /* Not needed. Silence a compiler warning. */ + } + +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + /* Invoke the pre-update hook, if any */ + if( pTab ){ + if( db->xPreUpdateCallback && !(pOp->p5 & OPFLAG_ISUPDATE) ){ + sqlite3VdbePreUpdateHook(p, pC, SQLITE_INSERT, zDb, pTab, x.nKey,pOp->p2); + } + if( db->xUpdateCallback==0 || pTab->aCol==0 ){ + /* Prevent post-update hook from running in cases when it should not */ + pTab = 0; + } + } + if( pOp->p5 & OPFLAG_ISNOOP ) break; +#endif + + if( pOp->p5 & OPFLAG_NCHANGE ) p->nChange++; + if( pOp->p5 & OPFLAG_LASTROWID ) db->lastRowid = x.nKey; + assert( pData->flags & (MEM_Blob|MEM_Str) ); + x.pData = pData->z; + x.nData = pData->n; + seekResult = ((pOp->p5 & OPFLAG_USESEEKRESULT) ? pC->seekResult : 0); + if( pData->flags & MEM_Zero ){ + x.nZero = pData->u.nZero; + }else{ + x.nZero = 0; + } + x.pKey = 0; + rc = sqlite3BtreeInsert(pC->uc.pCursor, &x, + (pOp->p5 & (OPFLAG_APPEND|OPFLAG_SAVEPOSITION)), seekResult + ); + pC->deferredMoveto = 0; + pC->cacheStatus = CACHE_STALE; + + /* Invoke the update-hook if required. */ + if( rc ) goto abort_due_to_error; + if( pTab ){ + assert( db->xUpdateCallback!=0 ); + assert( pTab->aCol!=0 ); + db->xUpdateCallback(db->pUpdateArg, + (pOp->p5 & OPFLAG_ISUPDATE) ? SQLITE_UPDATE : SQLITE_INSERT, + zDb, pTab->zName, x.nKey); + } + break; +} + +/* Opcode: Delete P1 P2 P3 P4 P5 +** +** Delete the record at which the P1 cursor is currently pointing. +** +** If the OPFLAG_SAVEPOSITION bit of the P5 parameter is set, then +** the cursor will be left pointing at either the next or the previous +** record in the table. If it is left pointing at the next record, then +** the next Next instruction will be a no-op. As a result, in this case +** it is ok to delete a record from within a Next loop. If +** OPFLAG_SAVEPOSITION bit of P5 is clear, then the cursor will be +** left in an undefined state. +** +** If the OPFLAG_AUXDELETE bit is set on P5, that indicates that this +** delete one of several associated with deleting a table row and all its +** associated index entries. Exactly one of those deletes is the "primary" +** delete. The others are all on OPFLAG_FORDELETE cursors or else are +** marked with the AUXDELETE flag. +** +** If the OPFLAG_NCHANGE flag of P2 (NB: P2 not P5) is set, then the row +** change count is incremented (otherwise not). +** +** P1 must not be pseudo-table. It has to be a real table with +** multiple rows. +** +** If P4 is not NULL then it points to a Table object. In this case either +** the update or pre-update hook, or both, may be invoked. The P1 cursor must +** have been positioned using OP_NotFound prior to invoking this opcode in +** this case. Specifically, if one is configured, the pre-update hook is +** invoked if P4 is not NULL. The update-hook is invoked if one is configured, +** P4 is not NULL, and the OPFLAG_NCHANGE flag is set in P2. +** +** If the OPFLAG_ISUPDATE flag is set in P2, then P3 contains the address +** of the memory cell that contains the value that the rowid of the row will +** be set to by the update. +*/ +case OP_Delete: { + VdbeCursor *pC; + const char *zDb; + Table *pTab; + int opflags; + + opflags = pOp->p2; + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( pC->eCurType==CURTYPE_BTREE ); + assert( pC->uc.pCursor!=0 ); + assert( pC->deferredMoveto==0 ); + sqlite3VdbeIncrWriteCounter(p, pC); + +#ifdef SQLITE_DEBUG + if( pOp->p4type==P4_TABLE && HasRowid(pOp->p4.pTab) && pOp->p5==0 ){ + /* If p5 is zero, the seek operation that positioned the cursor prior to + ** OP_Delete will have also set the pC->movetoTarget field to the rowid of + ** the row that is being deleted */ + i64 iKey = sqlite3BtreeIntegerKey(pC->uc.pCursor); + assert( CORRUPT_DB || pC->movetoTarget==iKey ); + } +#endif + + /* If the update-hook or pre-update-hook will be invoked, set zDb to + ** the name of the db to pass as to it. Also set local pTab to a copy + ** of p4.pTab. Finally, if p5 is true, indicating that this cursor was + ** last moved with OP_Next or OP_Prev, not Seek or NotFound, set + ** VdbeCursor.movetoTarget to the current rowid. */ + if( pOp->p4type==P4_TABLE && HAS_UPDATE_HOOK(db) ){ + assert( pC->iDb>=0 ); + assert( pOp->p4.pTab!=0 ); + zDb = db->aDb[pC->iDb].zDbSName; + pTab = pOp->p4.pTab; + if( (pOp->p5 & OPFLAG_SAVEPOSITION)!=0 && pC->isTable ){ + pC->movetoTarget = sqlite3BtreeIntegerKey(pC->uc.pCursor); + } + }else{ + zDb = 0; /* Not needed. Silence a compiler warning. */ + pTab = 0; /* Not needed. Silence a compiler warning. */ + } + +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + /* Invoke the pre-update-hook if required. */ + if( db->xPreUpdateCallback && pOp->p4.pTab ){ + assert( !(opflags & OPFLAG_ISUPDATE) + || HasRowid(pTab)==0 + || (aMem[pOp->p3].flags & MEM_Int) + ); + sqlite3VdbePreUpdateHook(p, pC, + (opflags & OPFLAG_ISUPDATE) ? SQLITE_UPDATE : SQLITE_DELETE, + zDb, pTab, pC->movetoTarget, + pOp->p3 + ); + } + if( opflags & OPFLAG_ISNOOP ) break; +#endif + + /* Only flags that can be set are SAVEPOISTION and AUXDELETE */ + assert( (pOp->p5 & ~(OPFLAG_SAVEPOSITION|OPFLAG_AUXDELETE))==0 ); + assert( OPFLAG_SAVEPOSITION==BTREE_SAVEPOSITION ); + assert( OPFLAG_AUXDELETE==BTREE_AUXDELETE ); + +#ifdef SQLITE_DEBUG + if( p->pFrame==0 ){ + if( pC->isEphemeral==0 + && (pOp->p5 & OPFLAG_AUXDELETE)==0 + && (pC->wrFlag & OPFLAG_FORDELETE)==0 + ){ + nExtraDelete++; + } + if( pOp->p2 & OPFLAG_NCHANGE ){ + nExtraDelete--; + } + } +#endif + + rc = sqlite3BtreeDelete(pC->uc.pCursor, pOp->p5); + pC->cacheStatus = CACHE_STALE; + pC->seekResult = 0; + if( rc ) goto abort_due_to_error; + + /* Invoke the update-hook if required. */ + if( opflags & OPFLAG_NCHANGE ){ + p->nChange++; + if( db->xUpdateCallback && HasRowid(pTab) ){ + db->xUpdateCallback(db->pUpdateArg, SQLITE_DELETE, zDb, pTab->zName, + pC->movetoTarget); + assert( pC->iDb>=0 ); + } + } + + break; +} +/* Opcode: ResetCount * * * * * +** +** The value of the change counter is copied to the database handle +** change counter (returned by subsequent calls to sqlite3_changes()). +** Then the VMs internal change counter resets to 0. +** This is used by trigger programs. +*/ +case OP_ResetCount: { + sqlite3VdbeSetChanges(db, p->nChange); + p->nChange = 0; + break; +} + +/* Opcode: SorterCompare P1 P2 P3 P4 +** Synopsis: if key(P1)!=trim(r[P3],P4) goto P2 +** +** P1 is a sorter cursor. This instruction compares a prefix of the +** record blob in register P3 against a prefix of the entry that +** the sorter cursor currently points to. Only the first P4 fields +** of r[P3] and the sorter record are compared. +** +** If either P3 or the sorter contains a NULL in one of their significant +** fields (not counting the P4 fields at the end which are ignored) then +** the comparison is assumed to be equal. +** +** Fall through to next instruction if the two records compare equal to +** each other. Jump to P2 if they are different. +*/ +case OP_SorterCompare: { + VdbeCursor *pC; + int res; + int nKeyCol; + + pC = p->apCsr[pOp->p1]; + assert( isSorter(pC) ); + assert( pOp->p4type==P4_INT32 ); + pIn3 = &aMem[pOp->p3]; + nKeyCol = pOp->p4.i; + res = 0; + rc = sqlite3VdbeSorterCompare(pC, pIn3, nKeyCol, &res); + VdbeBranchTaken(res!=0,2); + if( rc ) goto abort_due_to_error; + if( res ) goto jump_to_p2; + break; +}; + +/* Opcode: SorterData P1 P2 P3 * * +** Synopsis: r[P2]=data +** +** Write into register P2 the current sorter data for sorter cursor P1. +** Then clear the column header cache on cursor P3. +** +** This opcode is normally use to move a record out of the sorter and into +** a register that is the source for a pseudo-table cursor created using +** OpenPseudo. That pseudo-table cursor is the one that is identified by +** parameter P3. Clearing the P3 column cache as part of this opcode saves +** us from having to issue a separate NullRow instruction to clear that cache. +*/ +case OP_SorterData: { + VdbeCursor *pC; + + pOut = &aMem[pOp->p2]; + pC = p->apCsr[pOp->p1]; + assert( isSorter(pC) ); + rc = sqlite3VdbeSorterRowkey(pC, pOut); + assert( rc!=SQLITE_OK || (pOut->flags & MEM_Blob) ); + assert( pOp->p1>=0 && pOp->p1nCursor ); + if( rc ) goto abort_due_to_error; + p->apCsr[pOp->p3]->cacheStatus = CACHE_STALE; + break; +} + +/* Opcode: RowData P1 P2 P3 * * +** Synopsis: r[P2]=data +** +** Write into register P2 the complete row content for the row at +** which cursor P1 is currently pointing. +** There is no interpretation of the data. +** It is just copied onto the P2 register exactly as +** it is found in the database file. +** +** If cursor P1 is an index, then the content is the key of the row. +** If cursor P2 is a table, then the content extracted is the data. +** +** If the P1 cursor must be pointing to a valid row (not a NULL row) +** of a real table, not a pseudo-table. +** +** If P3!=0 then this opcode is allowed to make an ephemeral pointer +** into the database page. That means that the content of the output +** register will be invalidated as soon as the cursor moves - including +** moves caused by other cursors that "save" the current cursors +** position in order that they can write to the same table. If P3==0 +** then a copy of the data is made into memory. P3!=0 is faster, but +** P3==0 is safer. +** +** If P3!=0 then the content of the P2 register is unsuitable for use +** in OP_Result and any OP_Result will invalidate the P2 register content. +** The P2 register content is invalidated by opcodes like OP_Function or +** by any use of another cursor pointing to the same table. +*/ +case OP_RowData: { + VdbeCursor *pC; + BtCursor *pCrsr; + u32 n; + + pOut = out2Prerelease(p, pOp); + + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( pC->eCurType==CURTYPE_BTREE ); + assert( isSorter(pC)==0 ); + assert( pC->nullRow==0 ); + assert( pC->uc.pCursor!=0 ); + pCrsr = pC->uc.pCursor; + + /* The OP_RowData opcodes always follow OP_NotExists or + ** OP_SeekRowid or OP_Rewind/Op_Next with no intervening instructions + ** that might invalidate the cursor. + ** If this where not the case, on of the following assert()s + ** would fail. Should this ever change (because of changes in the code + ** generator) then the fix would be to insert a call to + ** sqlite3VdbeCursorMoveto(). + */ + assert( pC->deferredMoveto==0 ); + assert( sqlite3BtreeCursorIsValid(pCrsr) ); +#if 0 /* Not required due to the previous to assert() statements */ + rc = sqlite3VdbeCursorMoveto(pC); + if( rc!=SQLITE_OK ) goto abort_due_to_error; +#endif + + n = sqlite3BtreePayloadSize(pCrsr); + if( n>(u32)db->aLimit[SQLITE_LIMIT_LENGTH] ){ + goto too_big; + } + testcase( n==0 ); + rc = sqlite3VdbeMemFromBtree(pCrsr, 0, n, pOut); + if( rc ) goto abort_due_to_error; + if( !pOp->p3 ) Deephemeralize(pOut); + UPDATE_MAX_BLOBSIZE(pOut); + REGISTER_TRACE(pOp->p2, pOut); + break; +} + +/* Opcode: Rowid P1 P2 * * * +** Synopsis: r[P2]=rowid +** +** Store in register P2 an integer which is the key of the table entry that +** P1 is currently point to. +** +** P1 can be either an ordinary table or a virtual table. There used to +** be a separate OP_VRowid opcode for use with virtual tables, but this +** one opcode now works for both table types. +*/ +case OP_Rowid: { /* out2 */ + VdbeCursor *pC; + i64 v; + sqlite3_vtab *pVtab; + const sqlite3_module *pModule; + + pOut = out2Prerelease(p, pOp); + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( pC->eCurType!=CURTYPE_PSEUDO || pC->nullRow ); + if( pC->nullRow ){ + pOut->flags = MEM_Null; + break; + }else if( pC->deferredMoveto ){ + v = pC->movetoTarget; +#ifndef SQLITE_OMIT_VIRTUALTABLE + }else if( pC->eCurType==CURTYPE_VTAB ){ + assert( pC->uc.pVCur!=0 ); + pVtab = pC->uc.pVCur->pVtab; + pModule = pVtab->pModule; + assert( pModule->xRowid ); + rc = pModule->xRowid(pC->uc.pVCur, &v); + sqlite3VtabImportErrmsg(p, pVtab); + if( rc ) goto abort_due_to_error; +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + }else{ + assert( pC->eCurType==CURTYPE_BTREE ); + assert( pC->uc.pCursor!=0 ); + rc = sqlite3VdbeCursorRestore(pC); + if( rc ) goto abort_due_to_error; + if( pC->nullRow ){ + pOut->flags = MEM_Null; + break; + } + v = sqlite3BtreeIntegerKey(pC->uc.pCursor); + } + pOut->u.i = v; + break; +} + +/* Opcode: NullRow P1 * * * * +** +** Move the cursor P1 to a null row. Any OP_Column operations +** that occur while the cursor is on the null row will always +** write a NULL. +*/ +case OP_NullRow: { + VdbeCursor *pC; + + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + pC->nullRow = 1; + pC->cacheStatus = CACHE_STALE; + if( pC->eCurType==CURTYPE_BTREE ){ + assert( pC->uc.pCursor!=0 ); + sqlite3BtreeClearCursor(pC->uc.pCursor); + } +#ifdef SQLITE_DEBUG + if( pC->seekOp==0 ) pC->seekOp = OP_NullRow; +#endif + break; +} + +/* Opcode: SeekEnd P1 * * * * +** +** Position cursor P1 at the end of the btree for the purpose of +** appending a new entry onto the btree. +** +** It is assumed that the cursor is used only for appending and so +** if the cursor is valid, then the cursor must already be pointing +** at the end of the btree and so no changes are made to +** the cursor. +*/ +/* Opcode: Last P1 P2 * * * +** +** The next use of the Rowid or Column or Prev instruction for P1 +** will refer to the last entry in the database table or index. +** If the table or index is empty and P2>0, then jump immediately to P2. +** If P2 is 0 or if the table or index is not empty, fall through +** to the following instruction. +** +** This opcode leaves the cursor configured to move in reverse order, +** from the end toward the beginning. In other words, the cursor is +** configured to use Prev, not Next. +*/ +case OP_SeekEnd: +case OP_Last: { /* jump */ + VdbeCursor *pC; + BtCursor *pCrsr; + int res; + + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( pC->eCurType==CURTYPE_BTREE ); + pCrsr = pC->uc.pCursor; + res = 0; + assert( pCrsr!=0 ); +#ifdef SQLITE_DEBUG + pC->seekOp = pOp->opcode; +#endif + if( pOp->opcode==OP_SeekEnd ){ + assert( pOp->p2==0 ); + pC->seekResult = -1; + if( sqlite3BtreeCursorIsValidNN(pCrsr) ){ + break; + } + } + rc = sqlite3BtreeLast(pCrsr, &res); + pC->nullRow = (u8)res; + pC->deferredMoveto = 0; + pC->cacheStatus = CACHE_STALE; + if( rc ) goto abort_due_to_error; + if( pOp->p2>0 ){ + VdbeBranchTaken(res!=0,2); + if( res ) goto jump_to_p2; + } + break; +} + +/* Opcode: IfSmaller P1 P2 P3 * * +** +** Estimate the number of rows in the table P1. Jump to P2 if that +** estimate is less than approximately 2**(0.1*P3). +*/ +case OP_IfSmaller: { /* jump */ + VdbeCursor *pC; + BtCursor *pCrsr; + int res; + i64 sz; + + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + pCrsr = pC->uc.pCursor; + assert( pCrsr ); + rc = sqlite3BtreeFirst(pCrsr, &res); + if( rc ) goto abort_due_to_error; + if( res==0 ){ + sz = sqlite3BtreeRowCountEst(pCrsr); + if( ALWAYS(sz>=0) && sqlite3LogEst((u64)sz)p3 ) res = 1; + } + VdbeBranchTaken(res!=0,2); + if( res ) goto jump_to_p2; + break; +} + + +/* Opcode: SorterSort P1 P2 * * * +** +** After all records have been inserted into the Sorter object +** identified by P1, invoke this opcode to actually do the sorting. +** Jump to P2 if there are no records to be sorted. +** +** This opcode is an alias for OP_Sort and OP_Rewind that is used +** for Sorter objects. +*/ +/* Opcode: Sort P1 P2 * * * +** +** This opcode does exactly the same thing as OP_Rewind except that +** it increments an undocumented global variable used for testing. +** +** Sorting is accomplished by writing records into a sorting index, +** then rewinding that index and playing it back from beginning to +** end. We use the OP_Sort opcode instead of OP_Rewind to do the +** rewinding so that the global variable will be incremented and +** regression tests can determine whether or not the optimizer is +** correctly optimizing out sorts. +*/ +case OP_SorterSort: /* jump */ +case OP_Sort: { /* jump */ +#ifdef SQLITE_TEST + sqlite3_sort_count++; + sqlite3_search_count--; +#endif + p->aCounter[SQLITE_STMTSTATUS_SORT]++; + /* Fall through into OP_Rewind */ +} +/* Opcode: Rewind P1 P2 * * * +** +** The next use of the Rowid or Column or Next instruction for P1 +** will refer to the first entry in the database table or index. +** If the table or index is empty, jump immediately to P2. +** If the table or index is not empty, fall through to the following +** instruction. +** +** This opcode leaves the cursor configured to move in forward order, +** from the beginning toward the end. In other words, the cursor is +** configured to use Next, not Prev. +*/ +case OP_Rewind: { /* jump */ + VdbeCursor *pC; + BtCursor *pCrsr; + int res; + + assert( pOp->p1>=0 && pOp->p1nCursor ); + assert( pOp->p5==0 ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( isSorter(pC)==(pOp->opcode==OP_SorterSort) ); + res = 1; +#ifdef SQLITE_DEBUG + pC->seekOp = OP_Rewind; +#endif + if( isSorter(pC) ){ + rc = sqlite3VdbeSorterRewind(pC, &res); + }else{ + assert( pC->eCurType==CURTYPE_BTREE ); + pCrsr = pC->uc.pCursor; + assert( pCrsr ); + rc = sqlite3BtreeFirst(pCrsr, &res); + pC->deferredMoveto = 0; + pC->cacheStatus = CACHE_STALE; + } + if( rc ) goto abort_due_to_error; + pC->nullRow = (u8)res; + assert( pOp->p2>0 && pOp->p2nOp ); + VdbeBranchTaken(res!=0,2); + if( res ) goto jump_to_p2; + break; +} + +/* Opcode: Next P1 P2 P3 P4 P5 +** +** Advance cursor P1 so that it points to the next key/data pair in its +** table or index. If there are no more key/value pairs then fall through +** to the following instruction. But if the cursor advance was successful, +** jump immediately to P2. +** +** The Next opcode is only valid following an SeekGT, SeekGE, or +** OP_Rewind opcode used to position the cursor. Next is not allowed +** to follow SeekLT, SeekLE, or OP_Last. +** +** The P1 cursor must be for a real table, not a pseudo-table. P1 must have +** been opened prior to this opcode or the program will segfault. +** +** The P3 value is a hint to the btree implementation. If P3==1, that +** means P1 is an SQL index and that this instruction could have been +** omitted if that index had been unique. P3 is usually 0. P3 is +** always either 0 or 1. +** +** P4 is always of type P4_ADVANCE. The function pointer points to +** sqlite3BtreeNext(). +** +** If P5 is positive and the jump is taken, then event counter +** number P5-1 in the prepared statement is incremented. +** +** See also: Prev +*/ +/* Opcode: Prev P1 P2 P3 P4 P5 +** +** Back up cursor P1 so that it points to the previous key/data pair in its +** table or index. If there is no previous key/value pairs then fall through +** to the following instruction. But if the cursor backup was successful, +** jump immediately to P2. +** +** +** The Prev opcode is only valid following an SeekLT, SeekLE, or +** OP_Last opcode used to position the cursor. Prev is not allowed +** to follow SeekGT, SeekGE, or OP_Rewind. +** +** The P1 cursor must be for a real table, not a pseudo-table. If P1 is +** not open then the behavior is undefined. +** +** The P3 value is a hint to the btree implementation. If P3==1, that +** means P1 is an SQL index and that this instruction could have been +** omitted if that index had been unique. P3 is usually 0. P3 is +** always either 0 or 1. +** +** P4 is always of type P4_ADVANCE. The function pointer points to +** sqlite3BtreePrevious(). +** +** If P5 is positive and the jump is taken, then event counter +** number P5-1 in the prepared statement is incremented. +*/ +/* Opcode: SorterNext P1 P2 * * P5 +** +** This opcode works just like OP_Next except that P1 must be a +** sorter object for which the OP_SorterSort opcode has been +** invoked. This opcode advances the cursor to the next sorted +** record, or jumps to P2 if there are no more sorted records. +*/ +case OP_SorterNext: { /* jump */ + VdbeCursor *pC; + + pC = p->apCsr[pOp->p1]; + assert( isSorter(pC) ); + rc = sqlite3VdbeSorterNext(db, pC); + goto next_tail; +case OP_Prev: /* jump */ +case OP_Next: /* jump */ + assert( pOp->p1>=0 && pOp->p1nCursor ); + assert( pOp->p5aCounter) ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( pC->deferredMoveto==0 ); + assert( pC->eCurType==CURTYPE_BTREE ); + assert( pOp->opcode!=OP_Next || pOp->p4.xAdvance==sqlite3BtreeNext ); + assert( pOp->opcode!=OP_Prev || pOp->p4.xAdvance==sqlite3BtreePrevious ); + + /* The Next opcode is only used after SeekGT, SeekGE, Rewind, and Found. + ** The Prev opcode is only used after SeekLT, SeekLE, and Last. */ + assert( pOp->opcode!=OP_Next + || pC->seekOp==OP_SeekGT || pC->seekOp==OP_SeekGE + || pC->seekOp==OP_Rewind || pC->seekOp==OP_Found + || pC->seekOp==OP_NullRow|| pC->seekOp==OP_SeekRowid + || pC->seekOp==OP_IfNoHope); + assert( pOp->opcode!=OP_Prev + || pC->seekOp==OP_SeekLT || pC->seekOp==OP_SeekLE + || pC->seekOp==OP_Last || pC->seekOp==OP_IfNoHope + || pC->seekOp==OP_NullRow); + + rc = pOp->p4.xAdvance(pC->uc.pCursor, pOp->p3); +next_tail: + pC->cacheStatus = CACHE_STALE; + VdbeBranchTaken(rc==SQLITE_OK,2); + if( rc==SQLITE_OK ){ + pC->nullRow = 0; + p->aCounter[pOp->p5]++; +#ifdef SQLITE_TEST + sqlite3_search_count++; +#endif + goto jump_to_p2_and_check_for_interrupt; + } + if( rc!=SQLITE_DONE ) goto abort_due_to_error; + rc = SQLITE_OK; + pC->nullRow = 1; + goto check_for_interrupt; +} + +/* Opcode: IdxInsert P1 P2 P3 P4 P5 +** Synopsis: key=r[P2] +** +** Register P2 holds an SQL index key made using the +** MakeRecord instructions. This opcode writes that key +** into the index P1. Data for the entry is nil. +** +** If P4 is not zero, then it is the number of values in the unpacked +** key of reg(P2). In that case, P3 is the index of the first register +** for the unpacked key. The availability of the unpacked key can sometimes +** be an optimization. +** +** If P5 has the OPFLAG_APPEND bit set, that is a hint to the b-tree layer +** that this insert is likely to be an append. +** +** If P5 has the OPFLAG_NCHANGE bit set, then the change counter is +** incremented by this instruction. If the OPFLAG_NCHANGE bit is clear, +** then the change counter is unchanged. +** +** If the OPFLAG_USESEEKRESULT flag of P5 is set, the implementation might +** run faster by avoiding an unnecessary seek on cursor P1. However, +** the OPFLAG_USESEEKRESULT flag must only be set if there have been no prior +** seeks on the cursor or if the most recent seek used a key equivalent +** to P2. +** +** This instruction only works for indices. The equivalent instruction +** for tables is OP_Insert. +*/ +/* Opcode: SorterInsert P1 P2 * * * +** Synopsis: key=r[P2] +** +** Register P2 holds an SQL index key made using the +** MakeRecord instructions. This opcode writes that key +** into the sorter P1. Data for the entry is nil. +*/ +case OP_SorterInsert: /* in2 */ +case OP_IdxInsert: { /* in2 */ + VdbeCursor *pC; + BtreePayload x; + + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + sqlite3VdbeIncrWriteCounter(p, pC); + assert( pC!=0 ); + assert( isSorter(pC)==(pOp->opcode==OP_SorterInsert) ); + pIn2 = &aMem[pOp->p2]; + assert( pIn2->flags & MEM_Blob ); + if( pOp->p5 & OPFLAG_NCHANGE ) p->nChange++; + assert( pC->eCurType==CURTYPE_BTREE || pOp->opcode==OP_SorterInsert ); + assert( pC->isTable==0 ); + rc = ExpandBlob(pIn2); + if( rc ) goto abort_due_to_error; + if( pOp->opcode==OP_SorterInsert ){ + rc = sqlite3VdbeSorterWrite(pC, pIn2); + }else{ + x.nKey = pIn2->n; + x.pKey = pIn2->z; + x.aMem = aMem + pOp->p3; + x.nMem = (u16)pOp->p4.i; + rc = sqlite3BtreeInsert(pC->uc.pCursor, &x, + (pOp->p5 & (OPFLAG_APPEND|OPFLAG_SAVEPOSITION)), + ((pOp->p5 & OPFLAG_USESEEKRESULT) ? pC->seekResult : 0) + ); + assert( pC->deferredMoveto==0 ); + pC->cacheStatus = CACHE_STALE; + } + if( rc) goto abort_due_to_error; + break; +} + +/* Opcode: IdxDelete P1 P2 P3 * * +** Synopsis: key=r[P2@P3] +** +** The content of P3 registers starting at register P2 form +** an unpacked index key. This opcode removes that entry from the +** index opened by cursor P1. +*/ +case OP_IdxDelete: { + VdbeCursor *pC; + BtCursor *pCrsr; + int res; + UnpackedRecord r; + + assert( pOp->p3>0 ); + assert( pOp->p2>0 && pOp->p2+pOp->p3<=(p->nMem+1 - p->nCursor)+1 ); + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( pC->eCurType==CURTYPE_BTREE ); + sqlite3VdbeIncrWriteCounter(p, pC); + pCrsr = pC->uc.pCursor; + assert( pCrsr!=0 ); + assert( pOp->p5==0 ); + r.pKeyInfo = pC->pKeyInfo; + r.nField = (u16)pOp->p3; + r.default_rc = 0; + r.aMem = &aMem[pOp->p2]; + rc = sqlite3BtreeMovetoUnpacked(pCrsr, &r, 0, 0, &res); + if( rc ) goto abort_due_to_error; + if( res==0 ){ + rc = sqlite3BtreeDelete(pCrsr, BTREE_AUXDELETE); + if( rc ) goto abort_due_to_error; + } + assert( pC->deferredMoveto==0 ); + pC->cacheStatus = CACHE_STALE; + pC->seekResult = 0; + break; +} + +/* Opcode: DeferredSeek P1 * P3 P4 * +** Synopsis: Move P3 to P1.rowid if needed +** +** P1 is an open index cursor and P3 is a cursor on the corresponding +** table. This opcode does a deferred seek of the P3 table cursor +** to the row that corresponds to the current row of P1. +** +** This is a deferred seek. Nothing actually happens until +** the cursor is used to read a record. That way, if no reads +** occur, no unnecessary I/O happens. +** +** P4 may be an array of integers (type P4_INTARRAY) containing +** one entry for each column in the P3 table. If array entry a(i) +** is non-zero, then reading column a(i)-1 from cursor P3 is +** equivalent to performing the deferred seek and then reading column i +** from P1. This information is stored in P3 and used to redirect +** reads against P3 over to P1, thus possibly avoiding the need to +** seek and read cursor P3. +*/ +/* Opcode: IdxRowid P1 P2 * * * +** Synopsis: r[P2]=rowid +** +** Write into register P2 an integer which is the last entry in the record at +** the end of the index key pointed to by cursor P1. This integer should be +** the rowid of the table entry to which this index entry points. +** +** See also: Rowid, MakeRecord. +*/ +case OP_DeferredSeek: +case OP_IdxRowid: { /* out2 */ + VdbeCursor *pC; /* The P1 index cursor */ + VdbeCursor *pTabCur; /* The P2 table cursor (OP_DeferredSeek only) */ + i64 rowid; /* Rowid that P1 current points to */ + + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( pC->eCurType==CURTYPE_BTREE ); + assert( pC->uc.pCursor!=0 ); + assert( pC->isTable==0 ); + assert( pC->deferredMoveto==0 ); + assert( !pC->nullRow || pOp->opcode==OP_IdxRowid ); + + /* The IdxRowid and Seek opcodes are combined because of the commonality + ** of sqlite3VdbeCursorRestore() and sqlite3VdbeIdxRowid(). */ + rc = sqlite3VdbeCursorRestore(pC); + + /* sqlite3VbeCursorRestore() can only fail if the record has been deleted + ** out from under the cursor. That will never happens for an IdxRowid + ** or Seek opcode */ + if( NEVER(rc!=SQLITE_OK) ) goto abort_due_to_error; + + if( !pC->nullRow ){ + rowid = 0; /* Not needed. Only used to silence a warning. */ + rc = sqlite3VdbeIdxRowid(db, pC->uc.pCursor, &rowid); + if( rc!=SQLITE_OK ){ + goto abort_due_to_error; + } + if( pOp->opcode==OP_DeferredSeek ){ + assert( pOp->p3>=0 && pOp->p3nCursor ); + pTabCur = p->apCsr[pOp->p3]; + assert( pTabCur!=0 ); + assert( pTabCur->eCurType==CURTYPE_BTREE ); + assert( pTabCur->uc.pCursor!=0 ); + assert( pTabCur->isTable ); + pTabCur->nullRow = 0; + pTabCur->movetoTarget = rowid; + pTabCur->deferredMoveto = 1; + assert( pOp->p4type==P4_INTARRAY || pOp->p4.ai==0 ); + pTabCur->aAltMap = pOp->p4.ai; + pTabCur->pAltCursor = pC; + }else{ + pOut = out2Prerelease(p, pOp); + pOut->u.i = rowid; + } + }else{ + assert( pOp->opcode==OP_IdxRowid ); + sqlite3VdbeMemSetNull(&aMem[pOp->p2]); + } + break; +} + +/* Opcode: IdxGE P1 P2 P3 P4 P5 +** Synopsis: key=r[P3@P4] +** +** The P4 register values beginning with P3 form an unpacked index +** key that omits the PRIMARY KEY. Compare this key value against the index +** that P1 is currently pointing to, ignoring the PRIMARY KEY or ROWID +** fields at the end. +** +** If the P1 index entry is greater than or equal to the key value +** then jump to P2. Otherwise fall through to the next instruction. +*/ +/* Opcode: IdxGT P1 P2 P3 P4 P5 +** Synopsis: key=r[P3@P4] +** +** The P4 register values beginning with P3 form an unpacked index +** key that omits the PRIMARY KEY. Compare this key value against the index +** that P1 is currently pointing to, ignoring the PRIMARY KEY or ROWID +** fields at the end. +** +** If the P1 index entry is greater than the key value +** then jump to P2. Otherwise fall through to the next instruction. +*/ +/* Opcode: IdxLT P1 P2 P3 P4 P5 +** Synopsis: key=r[P3@P4] +** +** The P4 register values beginning with P3 form an unpacked index +** key that omits the PRIMARY KEY or ROWID. Compare this key value against +** the index that P1 is currently pointing to, ignoring the PRIMARY KEY or +** ROWID on the P1 index. +** +** If the P1 index entry is less than the key value then jump to P2. +** Otherwise fall through to the next instruction. +*/ +/* Opcode: IdxLE P1 P2 P3 P4 P5 +** Synopsis: key=r[P3@P4] +** +** The P4 register values beginning with P3 form an unpacked index +** key that omits the PRIMARY KEY or ROWID. Compare this key value against +** the index that P1 is currently pointing to, ignoring the PRIMARY KEY or +** ROWID on the P1 index. +** +** If the P1 index entry is less than or equal to the key value then jump +** to P2. Otherwise fall through to the next instruction. +*/ +case OP_IdxLE: /* jump */ +case OP_IdxGT: /* jump */ +case OP_IdxLT: /* jump */ +case OP_IdxGE: { /* jump */ + VdbeCursor *pC; + int res; + UnpackedRecord r; + + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + assert( pC->isOrdered ); + assert( pC->eCurType==CURTYPE_BTREE ); + assert( pC->uc.pCursor!=0); + assert( pC->deferredMoveto==0 ); + assert( pOp->p5==0 || pOp->p5==1 ); + assert( pOp->p4type==P4_INT32 ); + r.pKeyInfo = pC->pKeyInfo; + r.nField = (u16)pOp->p4.i; + if( pOp->opcodeopcode==OP_IdxLE || pOp->opcode==OP_IdxGT ); + r.default_rc = -1; + }else{ + assert( pOp->opcode==OP_IdxGE || pOp->opcode==OP_IdxLT ); + r.default_rc = 0; + } + r.aMem = &aMem[pOp->p3]; +#ifdef SQLITE_DEBUG + { + int i; + for(i=0; ip3+i, &aMem[pOp->p3+i]); + } + } +#endif + res = 0; /* Not needed. Only used to silence a warning. */ + rc = sqlite3VdbeIdxKeyCompare(db, pC, &r, &res); + assert( (OP_IdxLE&1)==(OP_IdxLT&1) && (OP_IdxGE&1)==(OP_IdxGT&1) ); + if( (pOp->opcode&1)==(OP_IdxLT&1) ){ + assert( pOp->opcode==OP_IdxLE || pOp->opcode==OP_IdxLT ); + res = -res; + }else{ + assert( pOp->opcode==OP_IdxGE || pOp->opcode==OP_IdxGT ); + res++; + } + VdbeBranchTaken(res>0,2); + if( rc ) goto abort_due_to_error; + if( res>0 ) goto jump_to_p2; + break; +} + +/* Opcode: Destroy P1 P2 P3 * * +** +** Delete an entire database table or index whose root page in the database +** file is given by P1. +** +** The table being destroyed is in the main database file if P3==0. If +** P3==1 then the table to be clear is in the auxiliary database file +** that is used to store tables create using CREATE TEMPORARY TABLE. +** +** If AUTOVACUUM is enabled then it is possible that another root page +** might be moved into the newly deleted root page in order to keep all +** root pages contiguous at the beginning of the database. The former +** value of the root page that moved - its value before the move occurred - +** is stored in register P2. If no page movement was required (because the +** table being dropped was already the last one in the database) then a +** zero is stored in register P2. If AUTOVACUUM is disabled then a zero +** is stored in register P2. +** +** This opcode throws an error if there are any active reader VMs when +** it is invoked. This is done to avoid the difficulty associated with +** updating existing cursors when a root page is moved in an AUTOVACUUM +** database. This error is thrown even if the database is not an AUTOVACUUM +** db in order to avoid introducing an incompatibility between autovacuum +** and non-autovacuum modes. +** +** See also: Clear +*/ +case OP_Destroy: { /* out2 */ + int iMoved; + int iDb; + + sqlite3VdbeIncrWriteCounter(p, 0); + assert( p->readOnly==0 ); + assert( pOp->p1>1 ); + pOut = out2Prerelease(p, pOp); + pOut->flags = MEM_Null; + if( db->nVdbeRead > db->nVDestroy+1 ){ + rc = SQLITE_LOCKED; + p->errorAction = OE_Abort; + goto abort_due_to_error; + }else{ + iDb = pOp->p3; + assert( DbMaskTest(p->btreeMask, iDb) ); + iMoved = 0; /* Not needed. Only to silence a warning. */ + rc = sqlite3BtreeDropTable(db->aDb[iDb].pBt, pOp->p1, &iMoved); + pOut->flags = MEM_Int; + pOut->u.i = iMoved; + if( rc ) goto abort_due_to_error; +#ifndef SQLITE_OMIT_AUTOVACUUM + if( iMoved!=0 ){ + sqlite3RootPageMoved(db, iDb, iMoved, pOp->p1); + /* All OP_Destroy operations occur on the same btree */ + assert( resetSchemaOnFault==0 || resetSchemaOnFault==iDb+1 ); + resetSchemaOnFault = iDb+1; + } +#endif + } + break; +} + +/* Opcode: Clear P1 P2 P3 +** +** Delete all contents of the database table or index whose root page +** in the database file is given by P1. But, unlike Destroy, do not +** remove the table or index from the database file. +** +** The table being clear is in the main database file if P2==0. If +** P2==1 then the table to be clear is in the auxiliary database file +** that is used to store tables create using CREATE TEMPORARY TABLE. +** +** If the P3 value is non-zero, then the table referred to must be an +** intkey table (an SQL table, not an index). In this case the row change +** count is incremented by the number of rows in the table being cleared. +** If P3 is greater than zero, then the value stored in register P3 is +** also incremented by the number of rows in the table being cleared. +** +** See also: Destroy +*/ +case OP_Clear: { + int nChange; + + sqlite3VdbeIncrWriteCounter(p, 0); + nChange = 0; + assert( p->readOnly==0 ); + assert( DbMaskTest(p->btreeMask, pOp->p2) ); + rc = sqlite3BtreeClearTable( + db->aDb[pOp->p2].pBt, pOp->p1, (pOp->p3 ? &nChange : 0) + ); + if( pOp->p3 ){ + p->nChange += nChange; + if( pOp->p3>0 ){ + assert( memIsValid(&aMem[pOp->p3]) ); + memAboutToChange(p, &aMem[pOp->p3]); + aMem[pOp->p3].u.i += nChange; + } + } + if( rc ) goto abort_due_to_error; + break; +} + +/* Opcode: ResetSorter P1 * * * * +** +** Delete all contents from the ephemeral table or sorter +** that is open on cursor P1. +** +** This opcode only works for cursors used for sorting and +** opened with OP_OpenEphemeral or OP_SorterOpen. +*/ +case OP_ResetSorter: { + VdbeCursor *pC; + + assert( pOp->p1>=0 && pOp->p1nCursor ); + pC = p->apCsr[pOp->p1]; + assert( pC!=0 ); + if( isSorter(pC) ){ + sqlite3VdbeSorterReset(db, pC->uc.pSorter); + }else{ + assert( pC->eCurType==CURTYPE_BTREE ); + assert( pC->isEphemeral ); + rc = sqlite3BtreeClearTableOfCursor(pC->uc.pCursor); + if( rc ) goto abort_due_to_error; + } + break; +} + +/* Opcode: CreateBtree P1 P2 P3 * * +** Synopsis: r[P2]=root iDb=P1 flags=P3 +** +** Allocate a new b-tree in the main database file if P1==0 or in the +** TEMP database file if P1==1 or in an attached database if +** P1>1. The P3 argument must be 1 (BTREE_INTKEY) for a rowid table +** it must be 2 (BTREE_BLOBKEY) for an index or WITHOUT ROWID table. +** The root page number of the new b-tree is stored in register P2. +*/ +case OP_CreateBtree: { /* out2 */ + int pgno; + Db *pDb; + + sqlite3VdbeIncrWriteCounter(p, 0); + pOut = out2Prerelease(p, pOp); + pgno = 0; + assert( pOp->p3==BTREE_INTKEY || pOp->p3==BTREE_BLOBKEY ); + assert( pOp->p1>=0 && pOp->p1nDb ); + assert( DbMaskTest(p->btreeMask, pOp->p1) ); + assert( p->readOnly==0 ); + pDb = &db->aDb[pOp->p1]; + assert( pDb->pBt!=0 ); + rc = sqlite3BtreeCreateTable(pDb->pBt, &pgno, pOp->p3); + if( rc ) goto abort_due_to_error; + pOut->u.i = pgno; + break; +} + +/* Opcode: SqlExec * * * P4 * +** +** Run the SQL statement or statements specified in the P4 string. +*/ +case OP_SqlExec: { + sqlite3VdbeIncrWriteCounter(p, 0); + db->nSqlExec++; + rc = sqlite3_exec(db, pOp->p4.z, 0, 0, 0); + db->nSqlExec--; + if( rc ) goto abort_due_to_error; + break; +} + +/* Opcode: ParseSchema P1 * * P4 * +** +** Read and parse all entries from the SQLITE_MASTER table of database P1 +** that match the WHERE clause P4. If P4 is a NULL pointer, then the +** entire schema for P1 is reparsed. +** +** This opcode invokes the parser to create a new virtual machine, +** then runs the new virtual machine. It is thus a re-entrant opcode. +*/ +case OP_ParseSchema: { + int iDb; + const char *zMaster; + char *zSql; + InitData initData; + + /* Any prepared statement that invokes this opcode will hold mutexes + ** on every btree. This is a prerequisite for invoking + ** sqlite3InitCallback(). + */ +#ifdef SQLITE_DEBUG + for(iDb=0; iDbnDb; iDb++){ + assert( iDb==1 || sqlite3BtreeHoldsMutex(db->aDb[iDb].pBt) ); + } +#endif + + iDb = pOp->p1; + assert( iDb>=0 && iDbnDb ); + assert( DbHasProperty(db, iDb, DB_SchemaLoaded) ); + +#ifndef SQLITE_OMIT_ALTERTABLE + if( pOp->p4.z==0 ){ + sqlite3SchemaClear(db->aDb[iDb].pSchema); + db->mDbFlags &= ~DBFLAG_SchemaKnownOk; + rc = sqlite3InitOne(db, iDb, &p->zErrMsg, INITFLAG_AlterTable); + db->mDbFlags |= DBFLAG_SchemaChange; + p->expired = 0; + }else +#endif + { + zMaster = MASTER_NAME; + initData.db = db; + initData.iDb = iDb; + initData.pzErrMsg = &p->zErrMsg; + initData.mInitFlags = 0; + zSql = sqlite3MPrintf(db, + "SELECT*FROM\"%w\".%s WHERE %s ORDER BY rowid", + db->aDb[iDb].zDbSName, zMaster, pOp->p4.z); + if( zSql==0 ){ + rc = SQLITE_NOMEM_BKPT; + }else{ + assert( db->init.busy==0 ); + db->init.busy = 1; + initData.rc = SQLITE_OK; + initData.nInitRow = 0; + assert( !db->mallocFailed ); + rc = sqlite3_exec(db, zSql, sqlite3InitCallback, &initData, 0); + if( rc==SQLITE_OK ) rc = initData.rc; + if( rc==SQLITE_OK && initData.nInitRow==0 ){ + /* The OP_ParseSchema opcode with a non-NULL P4 argument should parse + ** at least one SQL statement. Any less than that indicates that + ** the sqlite_master table is corrupt. */ + rc = SQLITE_CORRUPT_BKPT; + } + sqlite3DbFreeNN(db, zSql); + db->init.busy = 0; + } + } + if( rc ){ + sqlite3ResetAllSchemasOfConnection(db); + if( rc==SQLITE_NOMEM ){ + goto no_mem; + } + goto abort_due_to_error; + } + break; +} + +#if !defined(SQLITE_OMIT_ANALYZE) +/* Opcode: LoadAnalysis P1 * * * * +** +** Read the sqlite_stat1 table for database P1 and load the content +** of that table into the internal index hash table. This will cause +** the analysis to be used when preparing all subsequent queries. +*/ +case OP_LoadAnalysis: { + assert( pOp->p1>=0 && pOp->p1nDb ); + rc = sqlite3AnalysisLoad(db, pOp->p1); + if( rc ) goto abort_due_to_error; + break; +} +#endif /* !defined(SQLITE_OMIT_ANALYZE) */ + +/* Opcode: DropTable P1 * * P4 * +** +** Remove the internal (in-memory) data structures that describe +** the table named P4 in database P1. This is called after a table +** is dropped from disk (using the Destroy opcode) in order to keep +** the internal representation of the +** schema consistent with what is on disk. +*/ +case OP_DropTable: { + sqlite3VdbeIncrWriteCounter(p, 0); + sqlite3UnlinkAndDeleteTable(db, pOp->p1, pOp->p4.z); + break; +} + +/* Opcode: DropIndex P1 * * P4 * +** +** Remove the internal (in-memory) data structures that describe +** the index named P4 in database P1. This is called after an index +** is dropped from disk (using the Destroy opcode) +** in order to keep the internal representation of the +** schema consistent with what is on disk. +*/ +case OP_DropIndex: { + sqlite3VdbeIncrWriteCounter(p, 0); + sqlite3UnlinkAndDeleteIndex(db, pOp->p1, pOp->p4.z); + break; +} + +/* Opcode: DropTrigger P1 * * P4 * +** +** Remove the internal (in-memory) data structures that describe +** the trigger named P4 in database P1. This is called after a trigger +** is dropped from disk (using the Destroy opcode) in order to keep +** the internal representation of the +** schema consistent with what is on disk. +*/ +case OP_DropTrigger: { + sqlite3VdbeIncrWriteCounter(p, 0); + sqlite3UnlinkAndDeleteTrigger(db, pOp->p1, pOp->p4.z); + break; +} + + +#ifndef SQLITE_OMIT_INTEGRITY_CHECK +/* Opcode: IntegrityCk P1 P2 P3 P4 P5 +** +** Do an analysis of the currently open database. Store in +** register P1 the text of an error message describing any problems. +** If no problems are found, store a NULL in register P1. +** +** The register P3 contains one less than the maximum number of allowed errors. +** At most reg(P3) errors will be reported. +** In other words, the analysis stops as soon as reg(P1) errors are +** seen. Reg(P1) is updated with the number of errors remaining. +** +** The root page numbers of all tables in the database are integers +** stored in P4_INTARRAY argument. +** +** If P5 is not zero, the check is done on the auxiliary database +** file, not the main database file. +** +** This opcode is used to implement the integrity_check pragma. +*/ +case OP_IntegrityCk: { + int nRoot; /* Number of tables to check. (Number of root pages.) */ + int *aRoot; /* Array of rootpage numbers for tables to be checked */ + int nErr; /* Number of errors reported */ + char *z; /* Text of the error report */ + Mem *pnErr; /* Register keeping track of errors remaining */ + + assert( p->bIsReader ); + nRoot = pOp->p2; + aRoot = pOp->p4.ai; + assert( nRoot>0 ); + assert( aRoot[0]==nRoot ); + assert( pOp->p3>0 && pOp->p3<=(p->nMem+1 - p->nCursor) ); + pnErr = &aMem[pOp->p3]; + assert( (pnErr->flags & MEM_Int)!=0 ); + assert( (pnErr->flags & (MEM_Str|MEM_Blob))==0 ); + pIn1 = &aMem[pOp->p1]; + assert( pOp->p5nDb ); + assert( DbMaskTest(p->btreeMask, pOp->p5) ); + z = sqlite3BtreeIntegrityCheck(db->aDb[pOp->p5].pBt, &aRoot[1], nRoot, + (int)pnErr->u.i+1, &nErr); + sqlite3VdbeMemSetNull(pIn1); + if( nErr==0 ){ + assert( z==0 ); + }else if( z==0 ){ + goto no_mem; + }else{ + pnErr->u.i -= nErr-1; + sqlite3VdbeMemSetStr(pIn1, z, -1, SQLITE_UTF8, sqlite3_free); + } + UPDATE_MAX_BLOBSIZE(pIn1); + sqlite3VdbeChangeEncoding(pIn1, encoding); + break; +} +#endif /* SQLITE_OMIT_INTEGRITY_CHECK */ + +/* Opcode: RowSetAdd P1 P2 * * * +** Synopsis: rowset(P1)=r[P2] +** +** Insert the integer value held by register P2 into a RowSet object +** held in register P1. +** +** An assertion fails if P2 is not an integer. +*/ +case OP_RowSetAdd: { /* in1, in2 */ + pIn1 = &aMem[pOp->p1]; + pIn2 = &aMem[pOp->p2]; + assert( (pIn2->flags & MEM_Int)!=0 ); + if( (pIn1->flags & MEM_Blob)==0 ){ + if( sqlite3VdbeMemSetRowSet(pIn1) ) goto no_mem; + } + assert( sqlite3VdbeMemIsRowSet(pIn1) ); + sqlite3RowSetInsert((RowSet*)pIn1->z, pIn2->u.i); + break; +} + +/* Opcode: RowSetRead P1 P2 P3 * * +** Synopsis: r[P3]=rowset(P1) +** +** Extract the smallest value from the RowSet object in P1 +** and put that value into register P3. +** Or, if RowSet object P1 is initially empty, leave P3 +** unchanged and jump to instruction P2. +*/ +case OP_RowSetRead: { /* jump, in1, out3 */ + i64 val; + + pIn1 = &aMem[pOp->p1]; + assert( (pIn1->flags & MEM_Blob)==0 || sqlite3VdbeMemIsRowSet(pIn1) ); + if( (pIn1->flags & MEM_Blob)==0 + || sqlite3RowSetNext((RowSet*)pIn1->z, &val)==0 + ){ + /* The boolean index is empty */ + sqlite3VdbeMemSetNull(pIn1); + VdbeBranchTaken(1,2); + goto jump_to_p2_and_check_for_interrupt; + }else{ + /* A value was pulled from the index */ + VdbeBranchTaken(0,2); + sqlite3VdbeMemSetInt64(&aMem[pOp->p3], val); + } + goto check_for_interrupt; +} + +/* Opcode: RowSetTest P1 P2 P3 P4 +** Synopsis: if r[P3] in rowset(P1) goto P2 +** +** Register P3 is assumed to hold a 64-bit integer value. If register P1 +** contains a RowSet object and that RowSet object contains +** the value held in P3, jump to register P2. Otherwise, insert the +** integer in P3 into the RowSet and continue on to the +** next opcode. +** +** The RowSet object is optimized for the case where sets of integers +** are inserted in distinct phases, which each set contains no duplicates. +** Each set is identified by a unique P4 value. The first set +** must have P4==0, the final set must have P4==-1, and for all other sets +** must have P4>0. +** +** This allows optimizations: (a) when P4==0 there is no need to test +** the RowSet object for P3, as it is guaranteed not to contain it, +** (b) when P4==-1 there is no need to insert the value, as it will +** never be tested for, and (c) when a value that is part of set X is +** inserted, there is no need to search to see if the same value was +** previously inserted as part of set X (only if it was previously +** inserted as part of some other set). +*/ +case OP_RowSetTest: { /* jump, in1, in3 */ + int iSet; + int exists; + + pIn1 = &aMem[pOp->p1]; + pIn3 = &aMem[pOp->p3]; + iSet = pOp->p4.i; + assert( pIn3->flags&MEM_Int ); + + /* If there is anything other than a rowset object in memory cell P1, + ** delete it now and initialize P1 with an empty rowset + */ + if( (pIn1->flags & MEM_Blob)==0 ){ + if( sqlite3VdbeMemSetRowSet(pIn1) ) goto no_mem; + } + assert( sqlite3VdbeMemIsRowSet(pIn1) ); + assert( pOp->p4type==P4_INT32 ); + assert( iSet==-1 || iSet>=0 ); + if( iSet ){ + exists = sqlite3RowSetTest((RowSet*)pIn1->z, iSet, pIn3->u.i); + VdbeBranchTaken(exists!=0,2); + if( exists ) goto jump_to_p2; + } + if( iSet>=0 ){ + sqlite3RowSetInsert((RowSet*)pIn1->z, pIn3->u.i); + } + break; +} + + +#ifndef SQLITE_OMIT_TRIGGER + +/* Opcode: Program P1 P2 P3 P4 P5 +** +** Execute the trigger program passed as P4 (type P4_SUBPROGRAM). +** +** P1 contains the address of the memory cell that contains the first memory +** cell in an array of values used as arguments to the sub-program. P2 +** contains the address to jump to if the sub-program throws an IGNORE +** exception using the RAISE() function. Register P3 contains the address +** of a memory cell in this (the parent) VM that is used to allocate the +** memory required by the sub-vdbe at runtime. +** +** P4 is a pointer to the VM containing the trigger program. +** +** If P5 is non-zero, then recursive program invocation is enabled. +*/ +case OP_Program: { /* jump */ + int nMem; /* Number of memory registers for sub-program */ + int nByte; /* Bytes of runtime space required for sub-program */ + Mem *pRt; /* Register to allocate runtime space */ + Mem *pMem; /* Used to iterate through memory cells */ + Mem *pEnd; /* Last memory cell in new array */ + VdbeFrame *pFrame; /* New vdbe frame to execute in */ + SubProgram *pProgram; /* Sub-program to execute */ + void *t; /* Token identifying trigger */ + + pProgram = pOp->p4.pProgram; + pRt = &aMem[pOp->p3]; + assert( pProgram->nOp>0 ); + + /* If the p5 flag is clear, then recursive invocation of triggers is + ** disabled for backwards compatibility (p5 is set if this sub-program + ** is really a trigger, not a foreign key action, and the flag set + ** and cleared by the "PRAGMA recursive_triggers" command is clear). + ** + ** It is recursive invocation of triggers, at the SQL level, that is + ** disabled. In some cases a single trigger may generate more than one + ** SubProgram (if the trigger may be executed with more than one different + ** ON CONFLICT algorithm). SubProgram structures associated with a + ** single trigger all have the same value for the SubProgram.token + ** variable. */ + if( pOp->p5 ){ + t = pProgram->token; + for(pFrame=p->pFrame; pFrame && pFrame->token!=t; pFrame=pFrame->pParent); + if( pFrame ) break; + } + + if( p->nFrame>=db->aLimit[SQLITE_LIMIT_TRIGGER_DEPTH] ){ + rc = SQLITE_ERROR; + sqlite3VdbeError(p, "too many levels of trigger recursion"); + goto abort_due_to_error; + } + + /* Register pRt is used to store the memory required to save the state + ** of the current program, and the memory required at runtime to execute + ** the trigger program. If this trigger has been fired before, then pRt + ** is already allocated. Otherwise, it must be initialized. */ + if( (pRt->flags&MEM_Blob)==0 ){ + /* SubProgram.nMem is set to the number of memory cells used by the + ** program stored in SubProgram.aOp. As well as these, one memory + ** cell is required for each cursor used by the program. Set local + ** variable nMem (and later, VdbeFrame.nChildMem) to this value. + */ + nMem = pProgram->nMem + pProgram->nCsr; + assert( nMem>0 ); + if( pProgram->nCsr==0 ) nMem++; + nByte = ROUND8(sizeof(VdbeFrame)) + + nMem * sizeof(Mem) + + pProgram->nCsr * sizeof(VdbeCursor*) + + (pProgram->nOp + 7)/8; + pFrame = sqlite3DbMallocZero(db, nByte); + if( !pFrame ){ + goto no_mem; + } + sqlite3VdbeMemRelease(pRt); + pRt->flags = MEM_Blob|MEM_Dyn; + pRt->z = (char*)pFrame; + pRt->n = nByte; + pRt->xDel = sqlite3VdbeFrameMemDel; + + pFrame->v = p; + pFrame->nChildMem = nMem; + pFrame->nChildCsr = pProgram->nCsr; + pFrame->pc = (int)(pOp - aOp); + pFrame->aMem = p->aMem; + pFrame->nMem = p->nMem; + pFrame->apCsr = p->apCsr; + pFrame->nCursor = p->nCursor; + pFrame->aOp = p->aOp; + pFrame->nOp = p->nOp; + pFrame->token = pProgram->token; +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS + pFrame->anExec = p->anExec; +#endif +#ifdef SQLITE_DEBUG + pFrame->iFrameMagic = SQLITE_FRAME_MAGIC; +#endif + + pEnd = &VdbeFrameMem(pFrame)[pFrame->nChildMem]; + for(pMem=VdbeFrameMem(pFrame); pMem!=pEnd; pMem++){ + pMem->flags = MEM_Undefined; + pMem->db = db; + } + }else{ + pFrame = (VdbeFrame*)pRt->z; + assert( pRt->xDel==sqlite3VdbeFrameMemDel ); + assert( pProgram->nMem+pProgram->nCsr==pFrame->nChildMem + || (pProgram->nCsr==0 && pProgram->nMem+1==pFrame->nChildMem) ); + assert( pProgram->nCsr==pFrame->nChildCsr ); + assert( (int)(pOp - aOp)==pFrame->pc ); + } + + p->nFrame++; + pFrame->pParent = p->pFrame; + pFrame->lastRowid = db->lastRowid; + pFrame->nChange = p->nChange; + pFrame->nDbChange = p->db->nChange; + assert( pFrame->pAuxData==0 ); + pFrame->pAuxData = p->pAuxData; + p->pAuxData = 0; + p->nChange = 0; + p->pFrame = pFrame; + p->aMem = aMem = VdbeFrameMem(pFrame); + p->nMem = pFrame->nChildMem; + p->nCursor = (u16)pFrame->nChildCsr; + p->apCsr = (VdbeCursor **)&aMem[p->nMem]; + pFrame->aOnce = (u8*)&p->apCsr[pProgram->nCsr]; + memset(pFrame->aOnce, 0, (pProgram->nOp + 7)/8); + p->aOp = aOp = pProgram->aOp; + p->nOp = pProgram->nOp; +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS + p->anExec = 0; +#endif +#ifdef SQLITE_DEBUG + /* Verify that second and subsequent executions of the same trigger do not + ** try to reuse register values from the first use. */ + { + int i; + for(i=0; inMem; i++){ + aMem[i].pScopyFrom = 0; /* Prevent false-positive AboutToChange() errs */ + aMem[i].flags |= MEM_Undefined; /* Cause a fault if this reg is reused */ + } + } +#endif + pOp = &aOp[-1]; + goto check_for_interrupt; +} + +/* Opcode: Param P1 P2 * * * +** +** This opcode is only ever present in sub-programs called via the +** OP_Program instruction. Copy a value currently stored in a memory +** cell of the calling (parent) frame to cell P2 in the current frames +** address space. This is used by trigger programs to access the new.* +** and old.* values. +** +** The address of the cell in the parent frame is determined by adding +** the value of the P1 argument to the value of the P1 argument to the +** calling OP_Program instruction. +*/ +case OP_Param: { /* out2 */ + VdbeFrame *pFrame; + Mem *pIn; + pOut = out2Prerelease(p, pOp); + pFrame = p->pFrame; + pIn = &pFrame->aMem[pOp->p1 + pFrame->aOp[pFrame->pc].p1]; + sqlite3VdbeMemShallowCopy(pOut, pIn, MEM_Ephem); + break; +} + +#endif /* #ifndef SQLITE_OMIT_TRIGGER */ + +#ifndef SQLITE_OMIT_FOREIGN_KEY +/* Opcode: FkCounter P1 P2 * * * +** Synopsis: fkctr[P1]+=P2 +** +** Increment a "constraint counter" by P2 (P2 may be negative or positive). +** If P1 is non-zero, the database constraint counter is incremented +** (deferred foreign key constraints). Otherwise, if P1 is zero, the +** statement counter is incremented (immediate foreign key constraints). +*/ +case OP_FkCounter: { + if( db->flags & SQLITE_DeferFKs ){ + db->nDeferredImmCons += pOp->p2; + }else if( pOp->p1 ){ + db->nDeferredCons += pOp->p2; + }else{ + p->nFkConstraint += pOp->p2; + } + break; +} + +/* Opcode: FkIfZero P1 P2 * * * +** Synopsis: if fkctr[P1]==0 goto P2 +** +** This opcode tests if a foreign key constraint-counter is currently zero. +** If so, jump to instruction P2. Otherwise, fall through to the next +** instruction. +** +** If P1 is non-zero, then the jump is taken if the database constraint-counter +** is zero (the one that counts deferred constraint violations). If P1 is +** zero, the jump is taken if the statement constraint-counter is zero +** (immediate foreign key constraint violations). +*/ +case OP_FkIfZero: { /* jump */ + if( pOp->p1 ){ + VdbeBranchTaken(db->nDeferredCons==0 && db->nDeferredImmCons==0, 2); + if( db->nDeferredCons==0 && db->nDeferredImmCons==0 ) goto jump_to_p2; + }else{ + VdbeBranchTaken(p->nFkConstraint==0 && db->nDeferredImmCons==0, 2); + if( p->nFkConstraint==0 && db->nDeferredImmCons==0 ) goto jump_to_p2; + } + break; +} +#endif /* #ifndef SQLITE_OMIT_FOREIGN_KEY */ + +#ifndef SQLITE_OMIT_AUTOINCREMENT +/* Opcode: MemMax P1 P2 * * * +** Synopsis: r[P1]=max(r[P1],r[P2]) +** +** P1 is a register in the root frame of this VM (the root frame is +** different from the current frame if this instruction is being executed +** within a sub-program). Set the value of register P1 to the maximum of +** its current value and the value in register P2. +** +** This instruction throws an error if the memory cell is not initially +** an integer. +*/ +case OP_MemMax: { /* in2 */ + VdbeFrame *pFrame; + if( p->pFrame ){ + for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent); + pIn1 = &pFrame->aMem[pOp->p1]; + }else{ + pIn1 = &aMem[pOp->p1]; + } + assert( memIsValid(pIn1) ); + sqlite3VdbeMemIntegerify(pIn1); + pIn2 = &aMem[pOp->p2]; + sqlite3VdbeMemIntegerify(pIn2); + if( pIn1->u.iu.i){ + pIn1->u.i = pIn2->u.i; + } + break; +} +#endif /* SQLITE_OMIT_AUTOINCREMENT */ + +/* Opcode: IfPos P1 P2 P3 * * +** Synopsis: if r[P1]>0 then r[P1]-=P3, goto P2 +** +** Register P1 must contain an integer. +** If the value of register P1 is 1 or greater, subtract P3 from the +** value in P1 and jump to P2. +** +** If the initial value of register P1 is less than 1, then the +** value is unchanged and control passes through to the next instruction. +*/ +case OP_IfPos: { /* jump, in1 */ + pIn1 = &aMem[pOp->p1]; + assert( pIn1->flags&MEM_Int ); + VdbeBranchTaken( pIn1->u.i>0, 2); + if( pIn1->u.i>0 ){ + pIn1->u.i -= pOp->p3; + goto jump_to_p2; + } + break; +} + +/* Opcode: OffsetLimit P1 P2 P3 * * +** Synopsis: if r[P1]>0 then r[P2]=r[P1]+max(0,r[P3]) else r[P2]=(-1) +** +** This opcode performs a commonly used computation associated with +** LIMIT and OFFSET process. r[P1] holds the limit counter. r[P3] +** holds the offset counter. The opcode computes the combined value +** of the LIMIT and OFFSET and stores that value in r[P2]. The r[P2] +** value computed is the total number of rows that will need to be +** visited in order to complete the query. +** +** If r[P3] is zero or negative, that means there is no OFFSET +** and r[P2] is set to be the value of the LIMIT, r[P1]. +** +** if r[P1] is zero or negative, that means there is no LIMIT +** and r[P2] is set to -1. +** +** Otherwise, r[P2] is set to the sum of r[P1] and r[P3]. +*/ +case OP_OffsetLimit: { /* in1, out2, in3 */ + i64 x; + pIn1 = &aMem[pOp->p1]; + pIn3 = &aMem[pOp->p3]; + pOut = out2Prerelease(p, pOp); + assert( pIn1->flags & MEM_Int ); + assert( pIn3->flags & MEM_Int ); + x = pIn1->u.i; + if( x<=0 || sqlite3AddInt64(&x, pIn3->u.i>0?pIn3->u.i:0) ){ + /* If the LIMIT is less than or equal to zero, loop forever. This + ** is documented. But also, if the LIMIT+OFFSET exceeds 2^63 then + ** also loop forever. This is undocumented. In fact, one could argue + ** that the loop should terminate. But assuming 1 billion iterations + ** per second (far exceeding the capabilities of any current hardware) + ** it would take nearly 300 years to actually reach the limit. So + ** looping forever is a reasonable approximation. */ + pOut->u.i = -1; + }else{ + pOut->u.i = x; + } + break; +} + +/* Opcode: IfNotZero P1 P2 * * * +** Synopsis: if r[P1]!=0 then r[P1]--, goto P2 +** +** Register P1 must contain an integer. If the content of register P1 is +** initially greater than zero, then decrement the value in register P1. +** If it is non-zero (negative or positive) and then also jump to P2. +** If register P1 is initially zero, leave it unchanged and fall through. +*/ +case OP_IfNotZero: { /* jump, in1 */ + pIn1 = &aMem[pOp->p1]; + assert( pIn1->flags&MEM_Int ); + VdbeBranchTaken(pIn1->u.i<0, 2); + if( pIn1->u.i ){ + if( pIn1->u.i>0 ) pIn1->u.i--; + goto jump_to_p2; + } + break; +} + +/* Opcode: DecrJumpZero P1 P2 * * * +** Synopsis: if (--r[P1])==0 goto P2 +** +** Register P1 must hold an integer. Decrement the value in P1 +** and jump to P2 if the new value is exactly zero. +*/ +case OP_DecrJumpZero: { /* jump, in1 */ + pIn1 = &aMem[pOp->p1]; + assert( pIn1->flags&MEM_Int ); + if( pIn1->u.i>SMALLEST_INT64 ) pIn1->u.i--; + VdbeBranchTaken(pIn1->u.i==0, 2); + if( pIn1->u.i==0 ) goto jump_to_p2; + break; +} + + +/* Opcode: AggStep * P2 P3 P4 P5 +** Synopsis: accum=r[P3] step(r[P2@P5]) +** +** Execute the xStep function for an aggregate. +** The function has P5 arguments. P4 is a pointer to the +** FuncDef structure that specifies the function. Register P3 is the +** accumulator. +** +** The P5 arguments are taken from register P2 and its +** successors. +*/ +/* Opcode: AggInverse * P2 P3 P4 P5 +** Synopsis: accum=r[P3] inverse(r[P2@P5]) +** +** Execute the xInverse function for an aggregate. +** The function has P5 arguments. P4 is a pointer to the +** FuncDef structure that specifies the function. Register P3 is the +** accumulator. +** +** The P5 arguments are taken from register P2 and its +** successors. +*/ +/* Opcode: AggStep1 P1 P2 P3 P4 P5 +** Synopsis: accum=r[P3] step(r[P2@P5]) +** +** Execute the xStep (if P1==0) or xInverse (if P1!=0) function for an +** aggregate. The function has P5 arguments. P4 is a pointer to the +** FuncDef structure that specifies the function. Register P3 is the +** accumulator. +** +** The P5 arguments are taken from register P2 and its +** successors. +** +** This opcode is initially coded as OP_AggStep0. On first evaluation, +** the FuncDef stored in P4 is converted into an sqlite3_context and +** the opcode is changed. In this way, the initialization of the +** sqlite3_context only happens once, instead of on each call to the +** step function. +*/ +case OP_AggInverse: +case OP_AggStep: { + int n; + sqlite3_context *pCtx; + + assert( pOp->p4type==P4_FUNCDEF ); + n = pOp->p5; + assert( pOp->p3>0 && pOp->p3<=(p->nMem+1 - p->nCursor) ); + assert( n==0 || (pOp->p2>0 && pOp->p2+n<=(p->nMem+1 - p->nCursor)+1) ); + assert( pOp->p3p2 || pOp->p3>=pOp->p2+n ); + pCtx = sqlite3DbMallocRawNN(db, n*sizeof(sqlite3_value*) + + (sizeof(pCtx[0]) + sizeof(Mem) - sizeof(sqlite3_value*))); + if( pCtx==0 ) goto no_mem; + pCtx->pMem = 0; + pCtx->pOut = (Mem*)&(pCtx->argv[n]); + sqlite3VdbeMemInit(pCtx->pOut, db, MEM_Null); + pCtx->pFunc = pOp->p4.pFunc; + pCtx->iOp = (int)(pOp - aOp); + pCtx->pVdbe = p; + pCtx->skipFlag = 0; + pCtx->isError = 0; + pCtx->argc = n; + pOp->p4type = P4_FUNCCTX; + pOp->p4.pCtx = pCtx; + + /* OP_AggInverse must have P1==1 and OP_AggStep must have P1==0 */ + assert( pOp->p1==(pOp->opcode==OP_AggInverse) ); + + pOp->opcode = OP_AggStep1; + /* Fall through into OP_AggStep */ +} +case OP_AggStep1: { + int i; + sqlite3_context *pCtx; + Mem *pMem; + + assert( pOp->p4type==P4_FUNCCTX ); + pCtx = pOp->p4.pCtx; + pMem = &aMem[pOp->p3]; + +#ifdef SQLITE_DEBUG + if( pOp->p1 ){ + /* This is an OP_AggInverse call. Verify that xStep has always + ** been called at least once prior to any xInverse call. */ + assert( pMem->uTemp==0x1122e0e3 ); + }else{ + /* This is an OP_AggStep call. Mark it as such. */ + pMem->uTemp = 0x1122e0e3; + } +#endif + + /* If this function is inside of a trigger, the register array in aMem[] + ** might change from one evaluation to the next. The next block of code + ** checks to see if the register array has changed, and if so it + ** reinitializes the relavant parts of the sqlite3_context object */ + if( pCtx->pMem != pMem ){ + pCtx->pMem = pMem; + for(i=pCtx->argc-1; i>=0; i--) pCtx->argv[i] = &aMem[pOp->p2+i]; + } + +#ifdef SQLITE_DEBUG + for(i=0; iargc; i++){ + assert( memIsValid(pCtx->argv[i]) ); + REGISTER_TRACE(pOp->p2+i, pCtx->argv[i]); + } +#endif + + pMem->n++; + assert( pCtx->pOut->flags==MEM_Null ); + assert( pCtx->isError==0 ); + assert( pCtx->skipFlag==0 ); +#ifndef SQLITE_OMIT_WINDOWFUNC + if( pOp->p1 ){ + (pCtx->pFunc->xInverse)(pCtx,pCtx->argc,pCtx->argv); + }else +#endif + (pCtx->pFunc->xSFunc)(pCtx,pCtx->argc,pCtx->argv); /* IMP: R-24505-23230 */ + + if( pCtx->isError ){ + if( pCtx->isError>0 ){ + sqlite3VdbeError(p, "%s", sqlite3_value_text(pCtx->pOut)); + rc = pCtx->isError; + } + if( pCtx->skipFlag ){ + assert( pOp[-1].opcode==OP_CollSeq ); + i = pOp[-1].p1; + if( i ) sqlite3VdbeMemSetInt64(&aMem[i], 1); + pCtx->skipFlag = 0; + } + sqlite3VdbeMemRelease(pCtx->pOut); + pCtx->pOut->flags = MEM_Null; + pCtx->isError = 0; + if( rc ) goto abort_due_to_error; + } + assert( pCtx->pOut->flags==MEM_Null ); + assert( pCtx->skipFlag==0 ); + break; +} + +/* Opcode: AggFinal P1 P2 * P4 * +** Synopsis: accum=r[P1] N=P2 +** +** P1 is the memory location that is the accumulator for an aggregate +** or window function. Execute the finalizer function +** for an aggregate and store the result in P1. +** +** P2 is the number of arguments that the step function takes and +** P4 is a pointer to the FuncDef for this function. The P2 +** argument is not used by this opcode. It is only there to disambiguate +** functions that can take varying numbers of arguments. The +** P4 argument is only needed for the case where +** the step function was not previously called. +*/ +/* Opcode: AggValue * P2 P3 P4 * +** Synopsis: r[P3]=value N=P2 +** +** Invoke the xValue() function and store the result in register P3. +** +** P2 is the number of arguments that the step function takes and +** P4 is a pointer to the FuncDef for this function. The P2 +** argument is not used by this opcode. It is only there to disambiguate +** functions that can take varying numbers of arguments. The +** P4 argument is only needed for the case where +** the step function was not previously called. +*/ +case OP_AggValue: +case OP_AggFinal: { + Mem *pMem; + assert( pOp->p1>0 && pOp->p1<=(p->nMem+1 - p->nCursor) ); + assert( pOp->p3==0 || pOp->opcode==OP_AggValue ); + pMem = &aMem[pOp->p1]; + assert( (pMem->flags & ~(MEM_Null|MEM_Agg))==0 ); +#ifndef SQLITE_OMIT_WINDOWFUNC + if( pOp->p3 ){ + memAboutToChange(p, &aMem[pOp->p3]); + rc = sqlite3VdbeMemAggValue(pMem, &aMem[pOp->p3], pOp->p4.pFunc); + pMem = &aMem[pOp->p3]; + }else +#endif + { + rc = sqlite3VdbeMemFinalize(pMem, pOp->p4.pFunc); + } + + if( rc ){ + sqlite3VdbeError(p, "%s", sqlite3_value_text(pMem)); + goto abort_due_to_error; + } + sqlite3VdbeChangeEncoding(pMem, encoding); + UPDATE_MAX_BLOBSIZE(pMem); + if( sqlite3VdbeMemTooBig(pMem) ){ + goto too_big; + } + break; +} + +#ifndef SQLITE_OMIT_WAL +/* Opcode: Checkpoint P1 P2 P3 * * +** +** Checkpoint database P1. This is a no-op if P1 is not currently in +** WAL mode. Parameter P2 is one of SQLITE_CHECKPOINT_PASSIVE, FULL, +** RESTART, or TRUNCATE. Write 1 or 0 into mem[P3] if the checkpoint returns +** SQLITE_BUSY or not, respectively. Write the number of pages in the +** WAL after the checkpoint into mem[P3+1] and the number of pages +** in the WAL that have been checkpointed after the checkpoint +** completes into mem[P3+2]. However on an error, mem[P3+1] and +** mem[P3+2] are initialized to -1. +*/ +case OP_Checkpoint: { + int i; /* Loop counter */ + int aRes[3]; /* Results */ + Mem *pMem; /* Write results here */ + + assert( p->readOnly==0 ); + aRes[0] = 0; + aRes[1] = aRes[2] = -1; + assert( pOp->p2==SQLITE_CHECKPOINT_PASSIVE + || pOp->p2==SQLITE_CHECKPOINT_FULL + || pOp->p2==SQLITE_CHECKPOINT_RESTART + || pOp->p2==SQLITE_CHECKPOINT_TRUNCATE + ); + rc = sqlite3Checkpoint(db, pOp->p1, pOp->p2, &aRes[1], &aRes[2]); + if( rc ){ + if( rc!=SQLITE_BUSY ) goto abort_due_to_error; + rc = SQLITE_OK; + aRes[0] = 1; + } + for(i=0, pMem = &aMem[pOp->p3]; i<3; i++, pMem++){ + sqlite3VdbeMemSetInt64(pMem, (i64)aRes[i]); + } + break; +}; +#endif + +#ifndef SQLITE_OMIT_PRAGMA +/* Opcode: JournalMode P1 P2 P3 * * +** +** Change the journal mode of database P1 to P3. P3 must be one of the +** PAGER_JOURNALMODE_XXX values. If changing between the various rollback +** modes (delete, truncate, persist, off and memory), this is a simple +** operation. No IO is required. +** +** If changing into or out of WAL mode the procedure is more complicated. +** +** Write a string containing the final journal-mode to register P2. +*/ +case OP_JournalMode: { /* out2 */ + Btree *pBt; /* Btree to change journal mode of */ + Pager *pPager; /* Pager associated with pBt */ + int eNew; /* New journal mode */ + int eOld; /* The old journal mode */ +#ifndef SQLITE_OMIT_WAL + const char *zFilename; /* Name of database file for pPager */ +#endif + + pOut = out2Prerelease(p, pOp); + eNew = pOp->p3; + assert( eNew==PAGER_JOURNALMODE_DELETE + || eNew==PAGER_JOURNALMODE_TRUNCATE + || eNew==PAGER_JOURNALMODE_PERSIST + || eNew==PAGER_JOURNALMODE_OFF + || eNew==PAGER_JOURNALMODE_MEMORY + || eNew==PAGER_JOURNALMODE_WAL + || eNew==PAGER_JOURNALMODE_QUERY + ); + assert( pOp->p1>=0 && pOp->p1nDb ); + assert( p->readOnly==0 ); + + pBt = db->aDb[pOp->p1].pBt; + pPager = sqlite3BtreePager(pBt); + eOld = sqlite3PagerGetJournalMode(pPager); + if( eNew==PAGER_JOURNALMODE_QUERY ) eNew = eOld; + if( !sqlite3PagerOkToChangeJournalMode(pPager) ) eNew = eOld; + +#ifndef SQLITE_OMIT_WAL + zFilename = sqlite3PagerFilename(pPager, 1); + + /* Do not allow a transition to journal_mode=WAL for a database + ** in temporary storage or if the VFS does not support shared memory + */ + if( eNew==PAGER_JOURNALMODE_WAL + && (sqlite3Strlen30(zFilename)==0 /* Temp file */ + || !sqlite3PagerWalSupported(pPager)) /* No shared-memory support */ + ){ + eNew = eOld; + } + + if( (eNew!=eOld) + && (eOld==PAGER_JOURNALMODE_WAL || eNew==PAGER_JOURNALMODE_WAL) + ){ + if( !db->autoCommit || db->nVdbeRead>1 ){ + rc = SQLITE_ERROR; + sqlite3VdbeError(p, + "cannot change %s wal mode from within a transaction", + (eNew==PAGER_JOURNALMODE_WAL ? "into" : "out of") + ); + goto abort_due_to_error; + }else{ + + if( eOld==PAGER_JOURNALMODE_WAL ){ + /* If leaving WAL mode, close the log file. If successful, the call + ** to PagerCloseWal() checkpoints and deletes the write-ahead-log + ** file. An EXCLUSIVE lock may still be held on the database file + ** after a successful return. + */ + rc = sqlite3PagerCloseWal(pPager, db); + if( rc==SQLITE_OK ){ + sqlite3PagerSetJournalMode(pPager, eNew); + } + }else if( eOld==PAGER_JOURNALMODE_MEMORY ){ + /* Cannot transition directly from MEMORY to WAL. Use mode OFF + ** as an intermediate */ + sqlite3PagerSetJournalMode(pPager, PAGER_JOURNALMODE_OFF); + } + + /* Open a transaction on the database file. Regardless of the journal + ** mode, this transaction always uses a rollback journal. + */ + assert( sqlite3BtreeIsInTrans(pBt)==0 ); + if( rc==SQLITE_OK ){ + rc = sqlite3BtreeSetVersion(pBt, (eNew==PAGER_JOURNALMODE_WAL ? 2 : 1)); + } + } + } +#endif /* ifndef SQLITE_OMIT_WAL */ + + if( rc ) eNew = eOld; + eNew = sqlite3PagerSetJournalMode(pPager, eNew); + + pOut->flags = MEM_Str|MEM_Static|MEM_Term; + pOut->z = (char *)sqlite3JournalModename(eNew); + pOut->n = sqlite3Strlen30(pOut->z); + pOut->enc = SQLITE_UTF8; + sqlite3VdbeChangeEncoding(pOut, encoding); + if( rc ) goto abort_due_to_error; + break; +}; +#endif /* SQLITE_OMIT_PRAGMA */ + +#if !defined(SQLITE_OMIT_VACUUM) && !defined(SQLITE_OMIT_ATTACH) +/* Opcode: Vacuum P1 P2 * * * +** +** Vacuum the entire database P1. P1 is 0 for "main", and 2 or more +** for an attached database. The "temp" database may not be vacuumed. +** +** If P2 is not zero, then it is a register holding a string which is +** the file into which the result of vacuum should be written. When +** P2 is zero, the vacuum overwrites the original database. +*/ +case OP_Vacuum: { + assert( p->readOnly==0 ); + rc = sqlite3RunVacuum(&p->zErrMsg, db, pOp->p1, + pOp->p2 ? &aMem[pOp->p2] : 0); + if( rc ) goto abort_due_to_error; + break; +} +#endif + +#if !defined(SQLITE_OMIT_AUTOVACUUM) +/* Opcode: IncrVacuum P1 P2 * * * +** +** Perform a single step of the incremental vacuum procedure on +** the P1 database. If the vacuum has finished, jump to instruction +** P2. Otherwise, fall through to the next instruction. +*/ +case OP_IncrVacuum: { /* jump */ + Btree *pBt; + + assert( pOp->p1>=0 && pOp->p1nDb ); + assert( DbMaskTest(p->btreeMask, pOp->p1) ); + assert( p->readOnly==0 ); + pBt = db->aDb[pOp->p1].pBt; + rc = sqlite3BtreeIncrVacuum(pBt); + VdbeBranchTaken(rc==SQLITE_DONE,2); + if( rc ){ + if( rc!=SQLITE_DONE ) goto abort_due_to_error; + rc = SQLITE_OK; + goto jump_to_p2; + } + break; +} +#endif + +/* Opcode: Expire P1 P2 * * * +** +** Cause precompiled statements to expire. When an expired statement +** is executed using sqlite3_step() it will either automatically +** reprepare itself (if it was originally created using sqlite3_prepare_v2()) +** or it will fail with SQLITE_SCHEMA. +** +** If P1 is 0, then all SQL statements become expired. If P1 is non-zero, +** then only the currently executing statement is expired. +** +** If P2 is 0, then SQL statements are expired immediately. If P2 is 1, +** then running SQL statements are allowed to continue to run to completion. +** The P2==1 case occurs when a CREATE INDEX or similar schema change happens +** that might help the statement run faster but which does not affect the +** correctness of operation. +*/ +case OP_Expire: { + assert( pOp->p2==0 || pOp->p2==1 ); + if( !pOp->p1 ){ + sqlite3ExpirePreparedStatements(db, pOp->p2); + }else{ + p->expired = pOp->p2+1; + } + break; +} + +#ifndef SQLITE_OMIT_SHARED_CACHE +/* Opcode: TableLock P1 P2 P3 P4 * +** Synopsis: iDb=P1 root=P2 write=P3 +** +** Obtain a lock on a particular table. This instruction is only used when +** the shared-cache feature is enabled. +** +** P1 is the index of the database in sqlite3.aDb[] of the database +** on which the lock is acquired. A readlock is obtained if P3==0 or +** a write lock if P3==1. +** +** P2 contains the root-page of the table to lock. +** +** P4 contains a pointer to the name of the table being locked. This is only +** used to generate an error message if the lock cannot be obtained. +*/ +case OP_TableLock: { + u8 isWriteLock = (u8)pOp->p3; + if( isWriteLock || 0==(db->flags&SQLITE_ReadUncommit) ){ + int p1 = pOp->p1; + assert( p1>=0 && p1nDb ); + assert( DbMaskTest(p->btreeMask, p1) ); + assert( isWriteLock==0 || isWriteLock==1 ); + rc = sqlite3BtreeLockTable(db->aDb[p1].pBt, pOp->p2, isWriteLock); + if( rc ){ + if( (rc&0xFF)==SQLITE_LOCKED ){ + const char *z = pOp->p4.z; + sqlite3VdbeError(p, "database table is locked: %s", z); + } + goto abort_due_to_error; + } + } + break; +} +#endif /* SQLITE_OMIT_SHARED_CACHE */ + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* Opcode: VBegin * * * P4 * +** +** P4 may be a pointer to an sqlite3_vtab structure. If so, call the +** xBegin method for that table. +** +** Also, whether or not P4 is set, check that this is not being called from +** within a callback to a virtual table xSync() method. If it is, the error +** code will be set to SQLITE_LOCKED. +*/ +case OP_VBegin: { + VTable *pVTab; + pVTab = pOp->p4.pVtab; + rc = sqlite3VtabBegin(db, pVTab); + if( pVTab ) sqlite3VtabImportErrmsg(p, pVTab->pVtab); + if( rc ) goto abort_due_to_error; + break; +} +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* Opcode: VCreate P1 P2 * * * +** +** P2 is a register that holds the name of a virtual table in database +** P1. Call the xCreate method for that table. +*/ +case OP_VCreate: { + Mem sMem; /* For storing the record being decoded */ + const char *zTab; /* Name of the virtual table */ + + memset(&sMem, 0, sizeof(sMem)); + sMem.db = db; + /* Because P2 is always a static string, it is impossible for the + ** sqlite3VdbeMemCopy() to fail */ + assert( (aMem[pOp->p2].flags & MEM_Str)!=0 ); + assert( (aMem[pOp->p2].flags & MEM_Static)!=0 ); + rc = sqlite3VdbeMemCopy(&sMem, &aMem[pOp->p2]); + assert( rc==SQLITE_OK ); + zTab = (const char*)sqlite3_value_text(&sMem); + assert( zTab || db->mallocFailed ); + if( zTab ){ + rc = sqlite3VtabCallCreate(db, pOp->p1, zTab, &p->zErrMsg); + } + sqlite3VdbeMemRelease(&sMem); + if( rc ) goto abort_due_to_error; + break; +} +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* Opcode: VDestroy P1 * * P4 * +** +** P4 is the name of a virtual table in database P1. Call the xDestroy method +** of that table. +*/ +case OP_VDestroy: { + db->nVDestroy++; + rc = sqlite3VtabCallDestroy(db, pOp->p1, pOp->p4.z); + db->nVDestroy--; + assert( p->errorAction==OE_Abort && p->usesStmtJournal ); + if( rc ) goto abort_due_to_error; + break; +} +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* Opcode: VOpen P1 * * P4 * +** +** P4 is a pointer to a virtual table object, an sqlite3_vtab structure. +** P1 is a cursor number. This opcode opens a cursor to the virtual +** table and stores that cursor in P1. +*/ +case OP_VOpen: { + VdbeCursor *pCur; + sqlite3_vtab_cursor *pVCur; + sqlite3_vtab *pVtab; + const sqlite3_module *pModule; + + assert( p->bIsReader ); + pCur = 0; + pVCur = 0; + pVtab = pOp->p4.pVtab->pVtab; + if( pVtab==0 || NEVER(pVtab->pModule==0) ){ + rc = SQLITE_LOCKED; + goto abort_due_to_error; + } + pModule = pVtab->pModule; + rc = pModule->xOpen(pVtab, &pVCur); + sqlite3VtabImportErrmsg(p, pVtab); + if( rc ) goto abort_due_to_error; + + /* Initialize sqlite3_vtab_cursor base class */ + pVCur->pVtab = pVtab; + + /* Initialize vdbe cursor object */ + pCur = allocateCursor(p, pOp->p1, 0, -1, CURTYPE_VTAB); + if( pCur ){ + pCur->uc.pVCur = pVCur; + pVtab->nRef++; + }else{ + assert( db->mallocFailed ); + pModule->xClose(pVCur); + goto no_mem; + } + break; +} +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* Opcode: VFilter P1 P2 P3 P4 * +** Synopsis: iplan=r[P3] zplan='P4' +** +** P1 is a cursor opened using VOpen. P2 is an address to jump to if +** the filtered result set is empty. +** +** P4 is either NULL or a string that was generated by the xBestIndex +** method of the module. The interpretation of the P4 string is left +** to the module implementation. +** +** This opcode invokes the xFilter method on the virtual table specified +** by P1. The integer query plan parameter to xFilter is stored in register +** P3. Register P3+1 stores the argc parameter to be passed to the +** xFilter method. Registers P3+2..P3+1+argc are the argc +** additional parameters which are passed to +** xFilter as argv. Register P3+2 becomes argv[0] when passed to xFilter. +** +** A jump is made to P2 if the result set after filtering would be empty. +*/ +case OP_VFilter: { /* jump */ + int nArg; + int iQuery; + const sqlite3_module *pModule; + Mem *pQuery; + Mem *pArgc; + sqlite3_vtab_cursor *pVCur; + sqlite3_vtab *pVtab; + VdbeCursor *pCur; + int res; + int i; + Mem **apArg; + + pQuery = &aMem[pOp->p3]; + pArgc = &pQuery[1]; + pCur = p->apCsr[pOp->p1]; + assert( memIsValid(pQuery) ); + REGISTER_TRACE(pOp->p3, pQuery); + assert( pCur->eCurType==CURTYPE_VTAB ); + pVCur = pCur->uc.pVCur; + pVtab = pVCur->pVtab; + pModule = pVtab->pModule; + + /* Grab the index number and argc parameters */ + assert( (pQuery->flags&MEM_Int)!=0 && pArgc->flags==MEM_Int ); + nArg = (int)pArgc->u.i; + iQuery = (int)pQuery->u.i; + + /* Invoke the xFilter method */ + res = 0; + apArg = p->apArg; + for(i = 0; ixFilter(pVCur, iQuery, pOp->p4.z, nArg, apArg); + sqlite3VtabImportErrmsg(p, pVtab); + if( rc ) goto abort_due_to_error; + res = pModule->xEof(pVCur); + pCur->nullRow = 0; + VdbeBranchTaken(res!=0,2); + if( res ) goto jump_to_p2; + break; +} +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* Opcode: VColumn P1 P2 P3 * P5 +** Synopsis: r[P3]=vcolumn(P2) +** +** Store in register P3 the value of the P2-th column of +** the current row of the virtual-table of cursor P1. +** +** If the VColumn opcode is being used to fetch the value of +** an unchanging column during an UPDATE operation, then the P5 +** value is OPFLAG_NOCHNG. This will cause the sqlite3_vtab_nochange() +** function to return true inside the xColumn method of the virtual +** table implementation. The P5 column might also contain other +** bits (OPFLAG_LENGTHARG or OPFLAG_TYPEOFARG) but those bits are +** unused by OP_VColumn. +*/ +case OP_VColumn: { + sqlite3_vtab *pVtab; + const sqlite3_module *pModule; + Mem *pDest; + sqlite3_context sContext; + + VdbeCursor *pCur = p->apCsr[pOp->p1]; + assert( pCur->eCurType==CURTYPE_VTAB ); + assert( pOp->p3>0 && pOp->p3<=(p->nMem+1 - p->nCursor) ); + pDest = &aMem[pOp->p3]; + memAboutToChange(p, pDest); + if( pCur->nullRow ){ + sqlite3VdbeMemSetNull(pDest); + break; + } + pVtab = pCur->uc.pVCur->pVtab; + pModule = pVtab->pModule; + assert( pModule->xColumn ); + memset(&sContext, 0, sizeof(sContext)); + sContext.pOut = pDest; + testcase( (pOp->p5 & OPFLAG_NOCHNG)==0 && pOp->p5!=0 ); + if( pOp->p5 & OPFLAG_NOCHNG ){ + sqlite3VdbeMemSetNull(pDest); + pDest->flags = MEM_Null|MEM_Zero; + pDest->u.nZero = 0; + }else{ + MemSetTypeFlag(pDest, MEM_Null); + } + rc = pModule->xColumn(pCur->uc.pVCur, &sContext, pOp->p2); + sqlite3VtabImportErrmsg(p, pVtab); + if( sContext.isError>0 ){ + sqlite3VdbeError(p, "%s", sqlite3_value_text(pDest)); + rc = sContext.isError; + } + sqlite3VdbeChangeEncoding(pDest, encoding); + REGISTER_TRACE(pOp->p3, pDest); + UPDATE_MAX_BLOBSIZE(pDest); + + if( sqlite3VdbeMemTooBig(pDest) ){ + goto too_big; + } + if( rc ) goto abort_due_to_error; + break; +} +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* Opcode: VNext P1 P2 * * * +** +** Advance virtual table P1 to the next row in its result set and +** jump to instruction P2. Or, if the virtual table has reached +** the end of its result set, then fall through to the next instruction. +*/ +case OP_VNext: { /* jump */ + sqlite3_vtab *pVtab; + const sqlite3_module *pModule; + int res; + VdbeCursor *pCur; + + res = 0; + pCur = p->apCsr[pOp->p1]; + assert( pCur->eCurType==CURTYPE_VTAB ); + if( pCur->nullRow ){ + break; + } + pVtab = pCur->uc.pVCur->pVtab; + pModule = pVtab->pModule; + assert( pModule->xNext ); + + /* Invoke the xNext() method of the module. There is no way for the + ** underlying implementation to return an error if one occurs during + ** xNext(). Instead, if an error occurs, true is returned (indicating that + ** data is available) and the error code returned when xColumn or + ** some other method is next invoked on the save virtual table cursor. + */ + rc = pModule->xNext(pCur->uc.pVCur); + sqlite3VtabImportErrmsg(p, pVtab); + if( rc ) goto abort_due_to_error; + res = pModule->xEof(pCur->uc.pVCur); + VdbeBranchTaken(!res,2); + if( !res ){ + /* If there is data, jump to P2 */ + goto jump_to_p2_and_check_for_interrupt; + } + goto check_for_interrupt; +} +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* Opcode: VRename P1 * * P4 * +** +** P4 is a pointer to a virtual table object, an sqlite3_vtab structure. +** This opcode invokes the corresponding xRename method. The value +** in register P1 is passed as the zName argument to the xRename method. +*/ +case OP_VRename: { + sqlite3_vtab *pVtab; + Mem *pName; + int isLegacy; + + isLegacy = (db->flags & SQLITE_LegacyAlter); + db->flags |= SQLITE_LegacyAlter; + pVtab = pOp->p4.pVtab->pVtab; + pName = &aMem[pOp->p1]; + assert( pVtab->pModule->xRename ); + assert( memIsValid(pName) ); + assert( p->readOnly==0 ); + REGISTER_TRACE(pOp->p1, pName); + assert( pName->flags & MEM_Str ); + testcase( pName->enc==SQLITE_UTF8 ); + testcase( pName->enc==SQLITE_UTF16BE ); + testcase( pName->enc==SQLITE_UTF16LE ); + rc = sqlite3VdbeChangeEncoding(pName, SQLITE_UTF8); + if( rc ) goto abort_due_to_error; + rc = pVtab->pModule->xRename(pVtab, pName->z); + if( isLegacy==0 ) db->flags &= ~(u64)SQLITE_LegacyAlter; + sqlite3VtabImportErrmsg(p, pVtab); + p->expired = 0; + if( rc ) goto abort_due_to_error; + break; +} +#endif + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* Opcode: VUpdate P1 P2 P3 P4 P5 +** Synopsis: data=r[P3@P2] +** +** P4 is a pointer to a virtual table object, an sqlite3_vtab structure. +** This opcode invokes the corresponding xUpdate method. P2 values +** are contiguous memory cells starting at P3 to pass to the xUpdate +** invocation. The value in register (P3+P2-1) corresponds to the +** p2th element of the argv array passed to xUpdate. +** +** The xUpdate method will do a DELETE or an INSERT or both. +** The argv[0] element (which corresponds to memory cell P3) +** is the rowid of a row to delete. If argv[0] is NULL then no +** deletion occurs. The argv[1] element is the rowid of the new +** row. This can be NULL to have the virtual table select the new +** rowid for itself. The subsequent elements in the array are +** the values of columns in the new row. +** +** If P2==1 then no insert is performed. argv[0] is the rowid of +** a row to delete. +** +** P1 is a boolean flag. If it is set to true and the xUpdate call +** is successful, then the value returned by sqlite3_last_insert_rowid() +** is set to the value of the rowid for the row just inserted. +** +** P5 is the error actions (OE_Replace, OE_Fail, OE_Ignore, etc) to +** apply in the case of a constraint failure on an insert or update. +*/ +case OP_VUpdate: { + sqlite3_vtab *pVtab; + const sqlite3_module *pModule; + int nArg; + int i; + sqlite_int64 rowid; + Mem **apArg; + Mem *pX; + + assert( pOp->p2==1 || pOp->p5==OE_Fail || pOp->p5==OE_Rollback + || pOp->p5==OE_Abort || pOp->p5==OE_Ignore || pOp->p5==OE_Replace + ); + assert( p->readOnly==0 ); + if( db->mallocFailed ) goto no_mem; + sqlite3VdbeIncrWriteCounter(p, 0); + pVtab = pOp->p4.pVtab->pVtab; + if( pVtab==0 || NEVER(pVtab->pModule==0) ){ + rc = SQLITE_LOCKED; + goto abort_due_to_error; + } + pModule = pVtab->pModule; + nArg = pOp->p2; + assert( pOp->p4type==P4_VTAB ); + if( ALWAYS(pModule->xUpdate) ){ + u8 vtabOnConflict = db->vtabOnConflict; + apArg = p->apArg; + pX = &aMem[pOp->p3]; + for(i=0; ivtabOnConflict = pOp->p5; + rc = pModule->xUpdate(pVtab, nArg, apArg, &rowid); + db->vtabOnConflict = vtabOnConflict; + sqlite3VtabImportErrmsg(p, pVtab); + if( rc==SQLITE_OK && pOp->p1 ){ + assert( nArg>1 && apArg[0] && (apArg[0]->flags&MEM_Null) ); + db->lastRowid = rowid; + } + if( (rc&0xff)==SQLITE_CONSTRAINT && pOp->p4.pVtab->bConstraint ){ + if( pOp->p5==OE_Ignore ){ + rc = SQLITE_OK; + }else{ + p->errorAction = ((pOp->p5==OE_Replace) ? OE_Abort : pOp->p5); + } + }else{ + p->nChange++; + } + if( rc ) goto abort_due_to_error; + } + break; +} +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +#ifndef SQLITE_OMIT_PAGER_PRAGMAS +/* Opcode: Pagecount P1 P2 * * * +** +** Write the current number of pages in database P1 to memory cell P2. +*/ +case OP_Pagecount: { /* out2 */ + pOut = out2Prerelease(p, pOp); + pOut->u.i = sqlite3BtreeLastPage(db->aDb[pOp->p1].pBt); + break; +} +#endif + + +#ifndef SQLITE_OMIT_PAGER_PRAGMAS +/* Opcode: MaxPgcnt P1 P2 P3 * * +** +** Try to set the maximum page count for database P1 to the value in P3. +** Do not let the maximum page count fall below the current page count and +** do not change the maximum page count value if P3==0. +** +** Store the maximum page count after the change in register P2. +*/ +case OP_MaxPgcnt: { /* out2 */ + unsigned int newMax; + Btree *pBt; + + pOut = out2Prerelease(p, pOp); + pBt = db->aDb[pOp->p1].pBt; + newMax = 0; + if( pOp->p3 ){ + newMax = sqlite3BtreeLastPage(pBt); + if( newMax < (unsigned)pOp->p3 ) newMax = (unsigned)pOp->p3; + } + pOut->u.i = sqlite3BtreeMaxPageCount(pBt, newMax); + break; +} +#endif + +/* Opcode: Function0 P1 P2 P3 P4 P5 +** Synopsis: r[P3]=func(r[P2@P5]) +** +** Invoke a user function (P4 is a pointer to a FuncDef object that +** defines the function) with P5 arguments taken from register P2 and +** successors. The result of the function is stored in register P3. +** Register P3 must not be one of the function inputs. +** +** P1 is a 32-bit bitmask indicating whether or not each argument to the +** function was determined to be constant at compile time. If the first +** argument was constant then bit 0 of P1 is set. This is used to determine +** whether meta data associated with a user function argument using the +** sqlite3_set_auxdata() API may be safely retained until the next +** invocation of this opcode. +** +** See also: Function, AggStep, AggFinal +*/ +/* Opcode: Function P1 P2 P3 P4 P5 +** Synopsis: r[P3]=func(r[P2@P5]) +** +** Invoke a user function (P4 is a pointer to an sqlite3_context object that +** contains a pointer to the function to be run) with P5 arguments taken +** from register P2 and successors. The result of the function is stored +** in register P3. Register P3 must not be one of the function inputs. +** +** P1 is a 32-bit bitmask indicating whether or not each argument to the +** function was determined to be constant at compile time. If the first +** argument was constant then bit 0 of P1 is set. This is used to determine +** whether meta data associated with a user function argument using the +** sqlite3_set_auxdata() API may be safely retained until the next +** invocation of this opcode. +** +** SQL functions are initially coded as OP_Function0 with P4 pointing +** to a FuncDef object. But on first evaluation, the P4 operand is +** automatically converted into an sqlite3_context object and the operation +** changed to this OP_Function opcode. In this way, the initialization of +** the sqlite3_context object occurs only once, rather than once for each +** evaluation of the function. +** +** See also: Function0, AggStep, AggFinal +*/ +case OP_PureFunc0: /* group */ +case OP_Function0: { /* group */ + int n; + sqlite3_context *pCtx; + + assert( pOp->p4type==P4_FUNCDEF ); + n = pOp->p5; + assert( pOp->p3>0 && pOp->p3<=(p->nMem+1 - p->nCursor) ); + assert( n==0 || (pOp->p2>0 && pOp->p2+n<=(p->nMem+1 - p->nCursor)+1) ); + assert( pOp->p3p2 || pOp->p3>=pOp->p2+n ); + pCtx = sqlite3DbMallocRawNN(db, sizeof(*pCtx) + (n-1)*sizeof(sqlite3_value*)); + if( pCtx==0 ) goto no_mem; + pCtx->pOut = 0; + pCtx->pFunc = pOp->p4.pFunc; + pCtx->iOp = (int)(pOp - aOp); + pCtx->pVdbe = p; + pCtx->isError = 0; + pCtx->argc = n; + pOp->p4type = P4_FUNCCTX; + pOp->p4.pCtx = pCtx; + assert( OP_PureFunc == OP_PureFunc0+2 ); + assert( OP_Function == OP_Function0+2 ); + pOp->opcode += 2; + /* Fall through into OP_Function */ +} +case OP_PureFunc: /* group */ +case OP_Function: { /* group */ + int i; + sqlite3_context *pCtx; + + assert( pOp->p4type==P4_FUNCCTX ); + pCtx = pOp->p4.pCtx; + + /* If this function is inside of a trigger, the register array in aMem[] + ** might change from one evaluation to the next. The next block of code + ** checks to see if the register array has changed, and if so it + ** reinitializes the relavant parts of the sqlite3_context object */ + pOut = &aMem[pOp->p3]; + if( pCtx->pOut != pOut ){ + pCtx->pOut = pOut; + for(i=pCtx->argc-1; i>=0; i--) pCtx->argv[i] = &aMem[pOp->p2+i]; + } + + memAboutToChange(p, pOut); +#ifdef SQLITE_DEBUG + for(i=0; iargc; i++){ + assert( memIsValid(pCtx->argv[i]) ); + REGISTER_TRACE(pOp->p2+i, pCtx->argv[i]); + } +#endif + MemSetTypeFlag(pOut, MEM_Null); + assert( pCtx->isError==0 ); + (*pCtx->pFunc->xSFunc)(pCtx, pCtx->argc, pCtx->argv);/* IMP: R-24505-23230 */ + + /* If the function returned an error, throw an exception */ + if( pCtx->isError ){ + if( pCtx->isError>0 ){ + sqlite3VdbeError(p, "%s", sqlite3_value_text(pOut)); + rc = pCtx->isError; + } + sqlite3VdbeDeleteAuxData(db, &p->pAuxData, pCtx->iOp, pOp->p1); + pCtx->isError = 0; + if( rc ) goto abort_due_to_error; + } + + /* Copy the result of the function into register P3 */ + if( pOut->flags & (MEM_Str|MEM_Blob) ){ + sqlite3VdbeChangeEncoding(pOut, encoding); + if( sqlite3VdbeMemTooBig(pOut) ) goto too_big; + } + + REGISTER_TRACE(pOp->p3, pOut); + UPDATE_MAX_BLOBSIZE(pOut); + break; +} + +/* Opcode: Trace P1 P2 * P4 * +** +** Write P4 on the statement trace output if statement tracing is +** enabled. +** +** Operand P1 must be 0x7fffffff and P2 must positive. +*/ +/* Opcode: Init P1 P2 P3 P4 * +** Synopsis: Start at P2 +** +** Programs contain a single instance of this opcode as the very first +** opcode. +** +** If tracing is enabled (by the sqlite3_trace()) interface, then +** the UTF-8 string contained in P4 is emitted on the trace callback. +** Or if P4 is blank, use the string returned by sqlite3_sql(). +** +** If P2 is not zero, jump to instruction P2. +** +** Increment the value of P1 so that OP_Once opcodes will jump the +** first time they are evaluated for this run. +** +** If P3 is not zero, then it is an address to jump to if an SQLITE_CORRUPT +** error is encountered. +*/ +case OP_Trace: +case OP_Init: { /* jump */ + int i; +#ifndef SQLITE_OMIT_TRACE + char *zTrace; +#endif + + /* If the P4 argument is not NULL, then it must be an SQL comment string. + ** The "--" string is broken up to prevent false-positives with srcck1.c. + ** + ** This assert() provides evidence for: + ** EVIDENCE-OF: R-50676-09860 The callback can compute the same text that + ** would have been returned by the legacy sqlite3_trace() interface by + ** using the X argument when X begins with "--" and invoking + ** sqlite3_expanded_sql(P) otherwise. + */ + assert( pOp->p4.z==0 || strncmp(pOp->p4.z, "-" "- ", 3)==0 ); + + /* OP_Init is always instruction 0 */ + assert( pOp==p->aOp || pOp->opcode==OP_Trace ); + +#ifndef SQLITE_OMIT_TRACE + if( (db->mTrace & (SQLITE_TRACE_STMT|SQLITE_TRACE_LEGACY))!=0 + && !p->doingRerun + && (zTrace = (pOp->p4.z ? pOp->p4.z : p->zSql))!=0 + ){ +#ifndef SQLITE_OMIT_DEPRECATED + if( db->mTrace & SQLITE_TRACE_LEGACY ){ + void (*x)(void*,const char*) = (void(*)(void*,const char*))db->xTrace; + char *z = sqlite3VdbeExpandSql(p, zTrace); + x(db->pTraceArg, z); + sqlite3_free(z); + }else +#endif + if( db->nVdbeExec>1 ){ + char *z = sqlite3MPrintf(db, "-- %s", zTrace); + (void)db->xTrace(SQLITE_TRACE_STMT, db->pTraceArg, p, z); + sqlite3DbFree(db, z); + }else{ + (void)db->xTrace(SQLITE_TRACE_STMT, db->pTraceArg, p, zTrace); + } + } +#ifdef SQLITE_USE_FCNTL_TRACE + zTrace = (pOp->p4.z ? pOp->p4.z : p->zSql); + if( zTrace ){ + int j; + for(j=0; jnDb; j++){ + if( DbMaskTest(p->btreeMask, j)==0 ) continue; + sqlite3_file_control(db, db->aDb[j].zDbSName, SQLITE_FCNTL_TRACE, zTrace); + } + } +#endif /* SQLITE_USE_FCNTL_TRACE */ +#ifdef SQLITE_DEBUG + if( (db->flags & SQLITE_SqlTrace)!=0 + && (zTrace = (pOp->p4.z ? pOp->p4.z : p->zSql))!=0 + ){ + sqlite3DebugPrintf("SQL-trace: %s\n", zTrace); + } +#endif /* SQLITE_DEBUG */ +#endif /* SQLITE_OMIT_TRACE */ + assert( pOp->p2>0 ); + if( pOp->p1>=sqlite3GlobalConfig.iOnceResetThreshold ){ + if( pOp->opcode==OP_Trace ) break; + for(i=1; inOp; i++){ + if( p->aOp[i].opcode==OP_Once ) p->aOp[i].p1 = 0; + } + pOp->p1 = 0; + } + pOp->p1++; + p->aCounter[SQLITE_STMTSTATUS_RUN]++; + goto jump_to_p2; +} + +#ifdef SQLITE_ENABLE_CURSOR_HINTS +/* Opcode: CursorHint P1 * * P4 * +** +** Provide a hint to cursor P1 that it only needs to return rows that +** satisfy the Expr in P4. TK_REGISTER terms in the P4 expression refer +** to values currently held in registers. TK_COLUMN terms in the P4 +** expression refer to columns in the b-tree to which cursor P1 is pointing. +*/ +case OP_CursorHint: { + VdbeCursor *pC; + + assert( pOp->p1>=0 && pOp->p1nCursor ); + assert( pOp->p4type==P4_EXPR ); + pC = p->apCsr[pOp->p1]; + if( pC ){ + assert( pC->eCurType==CURTYPE_BTREE ); + sqlite3BtreeCursorHint(pC->uc.pCursor, BTREE_HINT_RANGE, + pOp->p4.pExpr, aMem); + } + break; +} +#endif /* SQLITE_ENABLE_CURSOR_HINTS */ + +#ifdef SQLITE_DEBUG +/* Opcode: Abortable * * * * * +** +** Verify that an Abort can happen. Assert if an Abort at this point +** might cause database corruption. This opcode only appears in debugging +** builds. +** +** An Abort is safe if either there have been no writes, or if there is +** an active statement journal. +*/ +case OP_Abortable: { + sqlite3VdbeAssertAbortable(p); + break; +} +#endif + +/* Opcode: Noop * * * * * +** +** Do nothing. This instruction is often useful as a jump +** destination. +*/ +/* +** The magic Explain opcode are only inserted when explain==2 (which +** is to say when the EXPLAIN QUERY PLAN syntax is used.) +** This opcode records information from the optimizer. It is the +** the same as a no-op. This opcodesnever appears in a real VM program. +*/ +default: { /* This is really OP_Noop, OP_Explain */ + assert( pOp->opcode==OP_Noop || pOp->opcode==OP_Explain ); + + break; +} + +/***************************************************************************** +** The cases of the switch statement above this line should all be indented +** by 6 spaces. But the left-most 6 spaces have been removed to improve the +** readability. From this point on down, the normal indentation rules are +** restored. +*****************************************************************************/ + } + +#ifdef VDBE_PROFILE + { + u64 endTime = sqlite3NProfileCnt ? sqlite3NProfileCnt : sqlite3Hwtime(); + if( endTime>start ) pOrigOp->cycles += endTime - start; + pOrigOp->cnt++; + } +#endif + + /* The following code adds nothing to the actual functionality + ** of the program. It is only here for testing and debugging. + ** On the other hand, it does burn CPU cycles every time through + ** the evaluator loop. So we can leave it out when NDEBUG is defined. + */ +#ifndef NDEBUG + assert( pOp>=&aOp[-1] && pOp<&aOp[p->nOp-1] ); + +#ifdef SQLITE_DEBUG + if( db->flags & SQLITE_VdbeTrace ){ + u8 opProperty = sqlite3OpcodeProperty[pOrigOp->opcode]; + if( rc!=0 ) printf("rc=%d\n",rc); + if( opProperty & (OPFLG_OUT2) ){ + registerTrace(pOrigOp->p2, &aMem[pOrigOp->p2]); + } + if( opProperty & OPFLG_OUT3 ){ + registerTrace(pOrigOp->p3, &aMem[pOrigOp->p3]); + } + } +#endif /* SQLITE_DEBUG */ +#endif /* NDEBUG */ + } /* The end of the for(;;) loop the loops through opcodes */ + + /* If we reach this point, it means that execution is finished with + ** an error of some kind. + */ +abort_due_to_error: + if( db->mallocFailed ) rc = SQLITE_NOMEM_BKPT; + assert( rc ); + if( p->zErrMsg==0 && rc!=SQLITE_IOERR_NOMEM ){ + sqlite3VdbeError(p, "%s", sqlite3ErrStr(rc)); + } + p->rc = rc; + sqlite3SystemError(db, rc); + testcase( sqlite3GlobalConfig.xLog!=0 ); + sqlite3_log(rc, "statement aborts at %d: [%s] %s", + (int)(pOp - aOp), p->zSql, p->zErrMsg); + sqlite3VdbeHalt(p); + if( rc==SQLITE_IOERR_NOMEM ) sqlite3OomFault(db); + rc = SQLITE_ERROR; + if( resetSchemaOnFault>0 ){ + sqlite3ResetOneSchema(db, resetSchemaOnFault-1); + } + + /* This is the only way out of this procedure. We have to + ** release the mutexes on btrees that were acquired at the + ** top. */ +vdbe_return: +#ifndef SQLITE_OMIT_PROGRESS_CALLBACK + while( nVmStep>=nProgressLimit && db->xProgress!=0 ){ + nProgressLimit += db->nProgressOps; + if( db->xProgress(db->pProgressArg) ){ + nProgressLimit = 0xffffffff; + rc = SQLITE_INTERRUPT; + goto abort_due_to_error; + } + } +#endif + p->aCounter[SQLITE_STMTSTATUS_VM_STEP] += (int)nVmStep; + sqlite3VdbeLeave(p); + assert( rc!=SQLITE_OK || nExtraDelete==0 + || sqlite3_strlike("DELETE%",p->zSql,0)!=0 + ); + return rc; + + /* Jump to here if a string or blob larger than SQLITE_MAX_LENGTH + ** is encountered. + */ +too_big: + sqlite3VdbeError(p, "string or blob too big"); + rc = SQLITE_TOOBIG; + goto abort_due_to_error; + + /* Jump to here if a malloc() fails. + */ +no_mem: + sqlite3OomFault(db); + sqlite3VdbeError(p, "out of memory"); + rc = SQLITE_NOMEM_BKPT; + goto abort_due_to_error; + + /* Jump to here if the sqlite3_interrupt() API sets the interrupt + ** flag. + */ +abort_due_to_interrupt: + assert( db->u1.isInterrupted ); + rc = db->mallocFailed ? SQLITE_NOMEM_BKPT : SQLITE_INTERRUPT; + p->rc = rc; + sqlite3VdbeError(p, "%s", sqlite3ErrStr(rc)); + goto abort_due_to_error; +} + + +/************** End of vdbe.c ************************************************/ +/************** Begin file vdbeblob.c ****************************************/ +/* +** 2007 May 1 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains code used to implement incremental BLOB I/O. +*/ + +/* #include "sqliteInt.h" */ +/* #include "vdbeInt.h" */ + +#ifndef SQLITE_OMIT_INCRBLOB + +/* +** Valid sqlite3_blob* handles point to Incrblob structures. +*/ +typedef struct Incrblob Incrblob; +struct Incrblob { + int nByte; /* Size of open blob, in bytes */ + int iOffset; /* Byte offset of blob in cursor data */ + u16 iCol; /* Table column this handle is open on */ + BtCursor *pCsr; /* Cursor pointing at blob row */ + sqlite3_stmt *pStmt; /* Statement holding cursor open */ + sqlite3 *db; /* The associated database */ + char *zDb; /* Database name */ + Table *pTab; /* Table object */ +}; + + +/* +** This function is used by both blob_open() and blob_reopen(). It seeks +** the b-tree cursor associated with blob handle p to point to row iRow. +** If successful, SQLITE_OK is returned and subsequent calls to +** sqlite3_blob_read() or sqlite3_blob_write() access the specified row. +** +** If an error occurs, or if the specified row does not exist or does not +** contain a value of type TEXT or BLOB in the column nominated when the +** blob handle was opened, then an error code is returned and *pzErr may +** be set to point to a buffer containing an error message. It is the +** responsibility of the caller to free the error message buffer using +** sqlite3DbFree(). +** +** If an error does occur, then the b-tree cursor is closed. All subsequent +** calls to sqlite3_blob_read(), blob_write() or blob_reopen() will +** immediately return SQLITE_ABORT. +*/ +static int blobSeekToRow(Incrblob *p, sqlite3_int64 iRow, char **pzErr){ + int rc; /* Error code */ + char *zErr = 0; /* Error message */ + Vdbe *v = (Vdbe *)p->pStmt; + + /* Set the value of register r[1] in the SQL statement to integer iRow. + ** This is done directly as a performance optimization + */ + v->aMem[1].flags = MEM_Int; + v->aMem[1].u.i = iRow; + + /* If the statement has been run before (and is paused at the OP_ResultRow) + ** then back it up to the point where it does the OP_NotExists. This could + ** have been down with an extra OP_Goto, but simply setting the program + ** counter is faster. */ + if( v->pc>4 ){ + v->pc = 4; + assert( v->aOp[v->pc].opcode==OP_NotExists ); + rc = sqlite3VdbeExec(v); + }else{ + rc = sqlite3_step(p->pStmt); + } + if( rc==SQLITE_ROW ){ + VdbeCursor *pC = v->apCsr[0]; + u32 type = pC->nHdrParsed>p->iCol ? pC->aType[p->iCol] : 0; + testcase( pC->nHdrParsed==p->iCol ); + testcase( pC->nHdrParsed==p->iCol+1 ); + if( type<12 ){ + zErr = sqlite3MPrintf(p->db, "cannot open value of type %s", + type==0?"null": type==7?"real": "integer" + ); + rc = SQLITE_ERROR; + sqlite3_finalize(p->pStmt); + p->pStmt = 0; + }else{ + p->iOffset = pC->aType[p->iCol + pC->nField]; + p->nByte = sqlite3VdbeSerialTypeLen(type); + p->pCsr = pC->uc.pCursor; + sqlite3BtreeIncrblobCursor(p->pCsr); + } + } + + if( rc==SQLITE_ROW ){ + rc = SQLITE_OK; + }else if( p->pStmt ){ + rc = sqlite3_finalize(p->pStmt); + p->pStmt = 0; + if( rc==SQLITE_OK ){ + zErr = sqlite3MPrintf(p->db, "no such rowid: %lld", iRow); + rc = SQLITE_ERROR; + }else{ + zErr = sqlite3MPrintf(p->db, "%s", sqlite3_errmsg(p->db)); + } + } + + assert( rc!=SQLITE_OK || zErr==0 ); + assert( rc!=SQLITE_ROW && rc!=SQLITE_DONE ); + + *pzErr = zErr; + return rc; +} + +/* +** Open a blob handle. +*/ +SQLITE_API int sqlite3_blob_open( + sqlite3* db, /* The database connection */ + const char *zDb, /* The attached database containing the blob */ + const char *zTable, /* The table containing the blob */ + const char *zColumn, /* The column containing the blob */ + sqlite_int64 iRow, /* The row containing the glob */ + int wrFlag, /* True -> read/write access, false -> read-only */ + sqlite3_blob **ppBlob /* Handle for accessing the blob returned here */ +){ + int nAttempt = 0; + int iCol; /* Index of zColumn in row-record */ + int rc = SQLITE_OK; + char *zErr = 0; + Table *pTab; + Incrblob *pBlob = 0; + Parse sParse; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( ppBlob==0 ){ + return SQLITE_MISUSE_BKPT; + } +#endif + *ppBlob = 0; +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) || zTable==0 ){ + return SQLITE_MISUSE_BKPT; + } +#endif + wrFlag = !!wrFlag; /* wrFlag = (wrFlag ? 1 : 0); */ + + sqlite3_mutex_enter(db->mutex); + + pBlob = (Incrblob *)sqlite3DbMallocZero(db, sizeof(Incrblob)); + do { + memset(&sParse, 0, sizeof(Parse)); + if( !pBlob ) goto blob_open_out; + sParse.db = db; + sqlite3DbFree(db, zErr); + zErr = 0; + + sqlite3BtreeEnterAll(db); + pTab = sqlite3LocateTable(&sParse, 0, zTable, zDb); + if( pTab && IsVirtual(pTab) ){ + pTab = 0; + sqlite3ErrorMsg(&sParse, "cannot open virtual table: %s", zTable); + } + if( pTab && !HasRowid(pTab) ){ + pTab = 0; + sqlite3ErrorMsg(&sParse, "cannot open table without rowid: %s", zTable); + } +#ifndef SQLITE_OMIT_VIEW + if( pTab && pTab->pSelect ){ + pTab = 0; + sqlite3ErrorMsg(&sParse, "cannot open view: %s", zTable); + } +#endif + if( !pTab ){ + if( sParse.zErrMsg ){ + sqlite3DbFree(db, zErr); + zErr = sParse.zErrMsg; + sParse.zErrMsg = 0; + } + rc = SQLITE_ERROR; + sqlite3BtreeLeaveAll(db); + goto blob_open_out; + } + pBlob->pTab = pTab; + pBlob->zDb = db->aDb[sqlite3SchemaToIndex(db, pTab->pSchema)].zDbSName; + + /* Now search pTab for the exact column. */ + for(iCol=0; iColnCol; iCol++) { + if( sqlite3StrICmp(pTab->aCol[iCol].zName, zColumn)==0 ){ + break; + } + } + if( iCol==pTab->nCol ){ + sqlite3DbFree(db, zErr); + zErr = sqlite3MPrintf(db, "no such column: \"%s\"", zColumn); + rc = SQLITE_ERROR; + sqlite3BtreeLeaveAll(db); + goto blob_open_out; + } + + /* If the value is being opened for writing, check that the + ** column is not indexed, and that it is not part of a foreign key. + */ + if( wrFlag ){ + const char *zFault = 0; + Index *pIdx; +#ifndef SQLITE_OMIT_FOREIGN_KEY + if( db->flags&SQLITE_ForeignKeys ){ + /* Check that the column is not part of an FK child key definition. It + ** is not necessary to check if it is part of a parent key, as parent + ** key columns must be indexed. The check below will pick up this + ** case. */ + FKey *pFKey; + for(pFKey=pTab->pFKey; pFKey; pFKey=pFKey->pNextFrom){ + int j; + for(j=0; jnCol; j++){ + if( pFKey->aCol[j].iFrom==iCol ){ + zFault = "foreign key"; + } + } + } + } +#endif + for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + int j; + for(j=0; jnKeyCol; j++){ + /* FIXME: Be smarter about indexes that use expressions */ + if( pIdx->aiColumn[j]==iCol || pIdx->aiColumn[j]==XN_EXPR ){ + zFault = "indexed"; + } + } + } + if( zFault ){ + sqlite3DbFree(db, zErr); + zErr = sqlite3MPrintf(db, "cannot open %s column for writing", zFault); + rc = SQLITE_ERROR; + sqlite3BtreeLeaveAll(db); + goto blob_open_out; + } + } + + pBlob->pStmt = (sqlite3_stmt *)sqlite3VdbeCreate(&sParse); + assert( pBlob->pStmt || db->mallocFailed ); + if( pBlob->pStmt ){ + + /* This VDBE program seeks a btree cursor to the identified + ** db/table/row entry. The reason for using a vdbe program instead + ** of writing code to use the b-tree layer directly is that the + ** vdbe program will take advantage of the various transaction, + ** locking and error handling infrastructure built into the vdbe. + ** + ** After seeking the cursor, the vdbe executes an OP_ResultRow. + ** Code external to the Vdbe then "borrows" the b-tree cursor and + ** uses it to implement the blob_read(), blob_write() and + ** blob_bytes() functions. + ** + ** The sqlite3_blob_close() function finalizes the vdbe program, + ** which closes the b-tree cursor and (possibly) commits the + ** transaction. + */ + static const int iLn = VDBE_OFFSET_LINENO(2); + static const VdbeOpList openBlob[] = { + {OP_TableLock, 0, 0, 0}, /* 0: Acquire a read or write lock */ + {OP_OpenRead, 0, 0, 0}, /* 1: Open a cursor */ + /* blobSeekToRow() will initialize r[1] to the desired rowid */ + {OP_NotExists, 0, 5, 1}, /* 2: Seek the cursor to rowid=r[1] */ + {OP_Column, 0, 0, 1}, /* 3 */ + {OP_ResultRow, 1, 0, 0}, /* 4 */ + {OP_Halt, 0, 0, 0}, /* 5 */ + }; + Vdbe *v = (Vdbe *)pBlob->pStmt; + int iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + VdbeOp *aOp; + + sqlite3VdbeAddOp4Int(v, OP_Transaction, iDb, wrFlag, + pTab->pSchema->schema_cookie, + pTab->pSchema->iGeneration); + sqlite3VdbeChangeP5(v, 1); + assert( sqlite3VdbeCurrentAddr(v)==2 || db->mallocFailed ); + aOp = sqlite3VdbeAddOpList(v, ArraySize(openBlob), openBlob, iLn); + + /* Make sure a mutex is held on the table to be accessed */ + sqlite3VdbeUsesBtree(v, iDb); + + if( db->mallocFailed==0 ){ + assert( aOp!=0 ); + /* Configure the OP_TableLock instruction */ +#ifdef SQLITE_OMIT_SHARED_CACHE + aOp[0].opcode = OP_Noop; +#else + aOp[0].p1 = iDb; + aOp[0].p2 = pTab->tnum; + aOp[0].p3 = wrFlag; + sqlite3VdbeChangeP4(v, 2, pTab->zName, P4_TRANSIENT); + } + if( db->mallocFailed==0 ){ +#endif + + /* Remove either the OP_OpenWrite or OpenRead. Set the P2 + ** parameter of the other to pTab->tnum. */ + if( wrFlag ) aOp[1].opcode = OP_OpenWrite; + aOp[1].p2 = pTab->tnum; + aOp[1].p3 = iDb; + + /* Configure the number of columns. Configure the cursor to + ** think that the table has one more column than it really + ** does. An OP_Column to retrieve this imaginary column will + ** always return an SQL NULL. This is useful because it means + ** we can invoke OP_Column to fill in the vdbe cursors type + ** and offset cache without causing any IO. + */ + aOp[1].p4type = P4_INT32; + aOp[1].p4.i = pTab->nCol+1; + aOp[3].p2 = pTab->nCol; + + sParse.nVar = 0; + sParse.nMem = 1; + sParse.nTab = 1; + sqlite3VdbeMakeReady(v, &sParse); + } + } + + pBlob->iCol = iCol; + pBlob->db = db; + sqlite3BtreeLeaveAll(db); + if( db->mallocFailed ){ + goto blob_open_out; + } + rc = blobSeekToRow(pBlob, iRow, &zErr); + } while( (++nAttempt)mallocFailed==0 ){ + *ppBlob = (sqlite3_blob *)pBlob; + }else{ + if( pBlob && pBlob->pStmt ) sqlite3VdbeFinalize((Vdbe *)pBlob->pStmt); + sqlite3DbFree(db, pBlob); + } + sqlite3ErrorWithMsg(db, rc, (zErr ? "%s" : 0), zErr); + sqlite3DbFree(db, zErr); + sqlite3ParserReset(&sParse); + rc = sqlite3ApiExit(db, rc); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +/* +** Close a blob handle that was previously created using +** sqlite3_blob_open(). +*/ +SQLITE_API int sqlite3_blob_close(sqlite3_blob *pBlob){ + Incrblob *p = (Incrblob *)pBlob; + int rc; + sqlite3 *db; + + if( p ){ + sqlite3_stmt *pStmt = p->pStmt; + db = p->db; + sqlite3_mutex_enter(db->mutex); + sqlite3DbFree(db, p); + sqlite3_mutex_leave(db->mutex); + rc = sqlite3_finalize(pStmt); + }else{ + rc = SQLITE_OK; + } + return rc; +} + +/* +** Perform a read or write operation on a blob +*/ +static int blobReadWrite( + sqlite3_blob *pBlob, + void *z, + int n, + int iOffset, + int (*xCall)(BtCursor*, u32, u32, void*) +){ + int rc; + Incrblob *p = (Incrblob *)pBlob; + Vdbe *v; + sqlite3 *db; + + if( p==0 ) return SQLITE_MISUSE_BKPT; + db = p->db; + sqlite3_mutex_enter(db->mutex); + v = (Vdbe*)p->pStmt; + + if( n<0 || iOffset<0 || ((sqlite3_int64)iOffset+n)>p->nByte ){ + /* Request is out of range. Return a transient error. */ + rc = SQLITE_ERROR; + }else if( v==0 ){ + /* If there is no statement handle, then the blob-handle has + ** already been invalidated. Return SQLITE_ABORT in this case. + */ + rc = SQLITE_ABORT; + }else{ + /* Call either BtreeData() or BtreePutData(). If SQLITE_ABORT is + ** returned, clean-up the statement handle. + */ + assert( db == v->db ); + sqlite3BtreeEnterCursor(p->pCsr); + +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + if( xCall==sqlite3BtreePutData && db->xPreUpdateCallback ){ + /* If a pre-update hook is registered and this is a write cursor, + ** invoke it here. + ** + ** TODO: The preupdate-hook is passed SQLITE_DELETE, even though this + ** operation should really be an SQLITE_UPDATE. This is probably + ** incorrect, but is convenient because at this point the new.* values + ** are not easily obtainable. And for the sessions module, an + ** SQLITE_UPDATE where the PK columns do not change is handled in the + ** same way as an SQLITE_DELETE (the SQLITE_DELETE code is actually + ** slightly more efficient). Since you cannot write to a PK column + ** using the incremental-blob API, this works. For the sessions module + ** anyhow. + */ + sqlite3_int64 iKey; + iKey = sqlite3BtreeIntegerKey(p->pCsr); + sqlite3VdbePreUpdateHook( + v, v->apCsr[0], SQLITE_DELETE, p->zDb, p->pTab, iKey, -1 + ); + } +#endif + + rc = xCall(p->pCsr, iOffset+p->iOffset, n, z); + sqlite3BtreeLeaveCursor(p->pCsr); + if( rc==SQLITE_ABORT ){ + sqlite3VdbeFinalize(v); + p->pStmt = 0; + }else{ + v->rc = rc; + } + } + sqlite3Error(db, rc); + rc = sqlite3ApiExit(db, rc); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +/* +** Read data from a blob handle. +*/ +SQLITE_API int sqlite3_blob_read(sqlite3_blob *pBlob, void *z, int n, int iOffset){ + return blobReadWrite(pBlob, z, n, iOffset, sqlite3BtreePayloadChecked); +} + +/* +** Write data to a blob handle. +*/ +SQLITE_API int sqlite3_blob_write(sqlite3_blob *pBlob, const void *z, int n, int iOffset){ + return blobReadWrite(pBlob, (void *)z, n, iOffset, sqlite3BtreePutData); +} + +/* +** Query a blob handle for the size of the data. +** +** The Incrblob.nByte field is fixed for the lifetime of the Incrblob +** so no mutex is required for access. +*/ +SQLITE_API int sqlite3_blob_bytes(sqlite3_blob *pBlob){ + Incrblob *p = (Incrblob *)pBlob; + return (p && p->pStmt) ? p->nByte : 0; +} + +/* +** Move an existing blob handle to point to a different row of the same +** database table. +** +** If an error occurs, or if the specified row does not exist or does not +** contain a blob or text value, then an error code is returned and the +** database handle error code and message set. If this happens, then all +** subsequent calls to sqlite3_blob_xxx() functions (except blob_close()) +** immediately return SQLITE_ABORT. +*/ +SQLITE_API int sqlite3_blob_reopen(sqlite3_blob *pBlob, sqlite3_int64 iRow){ + int rc; + Incrblob *p = (Incrblob *)pBlob; + sqlite3 *db; + + if( p==0 ) return SQLITE_MISUSE_BKPT; + db = p->db; + sqlite3_mutex_enter(db->mutex); + + if( p->pStmt==0 ){ + /* If there is no statement handle, then the blob-handle has + ** already been invalidated. Return SQLITE_ABORT in this case. + */ + rc = SQLITE_ABORT; + }else{ + char *zErr; + rc = blobSeekToRow(p, iRow, &zErr); + if( rc!=SQLITE_OK ){ + sqlite3ErrorWithMsg(db, rc, (zErr ? "%s" : 0), zErr); + sqlite3DbFree(db, zErr); + } + assert( rc!=SQLITE_SCHEMA ); + } + + rc = sqlite3ApiExit(db, rc); + assert( rc==SQLITE_OK || p->pStmt==0 ); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +#endif /* #ifndef SQLITE_OMIT_INCRBLOB */ + +/************** End of vdbeblob.c ********************************************/ +/************** Begin file vdbesort.c ****************************************/ +/* +** 2011-07-09 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains code for the VdbeSorter object, used in concert with +** a VdbeCursor to sort large numbers of keys for CREATE INDEX statements +** or by SELECT statements with ORDER BY clauses that cannot be satisfied +** using indexes and without LIMIT clauses. +** +** The VdbeSorter object implements a multi-threaded external merge sort +** algorithm that is efficient even if the number of elements being sorted +** exceeds the available memory. +** +** Here is the (internal, non-API) interface between this module and the +** rest of the SQLite system: +** +** sqlite3VdbeSorterInit() Create a new VdbeSorter object. +** +** sqlite3VdbeSorterWrite() Add a single new row to the VdbeSorter +** object. The row is a binary blob in the +** OP_MakeRecord format that contains both +** the ORDER BY key columns and result columns +** in the case of a SELECT w/ ORDER BY, or +** the complete record for an index entry +** in the case of a CREATE INDEX. +** +** sqlite3VdbeSorterRewind() Sort all content previously added. +** Position the read cursor on the +** first sorted element. +** +** sqlite3VdbeSorterNext() Advance the read cursor to the next sorted +** element. +** +** sqlite3VdbeSorterRowkey() Return the complete binary blob for the +** row currently under the read cursor. +** +** sqlite3VdbeSorterCompare() Compare the binary blob for the row +** currently under the read cursor against +** another binary blob X and report if +** X is strictly less than the read cursor. +** Used to enforce uniqueness in a +** CREATE UNIQUE INDEX statement. +** +** sqlite3VdbeSorterClose() Close the VdbeSorter object and reclaim +** all resources. +** +** sqlite3VdbeSorterReset() Refurbish the VdbeSorter for reuse. This +** is like Close() followed by Init() only +** much faster. +** +** The interfaces above must be called in a particular order. Write() can +** only occur in between Init()/Reset() and Rewind(). Next(), Rowkey(), and +** Compare() can only occur in between Rewind() and Close()/Reset(). i.e. +** +** Init() +** for each record: Write() +** Rewind() +** Rowkey()/Compare() +** Next() +** Close() +** +** Algorithm: +** +** Records passed to the sorter via calls to Write() are initially held +** unsorted in main memory. Assuming the amount of memory used never exceeds +** a threshold, when Rewind() is called the set of records is sorted using +** an in-memory merge sort. In this case, no temporary files are required +** and subsequent calls to Rowkey(), Next() and Compare() read records +** directly from main memory. +** +** If the amount of space used to store records in main memory exceeds the +** threshold, then the set of records currently in memory are sorted and +** written to a temporary file in "Packed Memory Array" (PMA) format. +** A PMA created at this point is known as a "level-0 PMA". Higher levels +** of PMAs may be created by merging existing PMAs together - for example +** merging two or more level-0 PMAs together creates a level-1 PMA. +** +** The threshold for the amount of main memory to use before flushing +** records to a PMA is roughly the same as the limit configured for the +** page-cache of the main database. Specifically, the threshold is set to +** the value returned by "PRAGMA main.page_size" multipled by +** that returned by "PRAGMA main.cache_size", in bytes. +** +** If the sorter is running in single-threaded mode, then all PMAs generated +** are appended to a single temporary file. Or, if the sorter is running in +** multi-threaded mode then up to (N+1) temporary files may be opened, where +** N is the configured number of worker threads. In this case, instead of +** sorting the records and writing the PMA to a temporary file itself, the +** calling thread usually launches a worker thread to do so. Except, if +** there are already N worker threads running, the main thread does the work +** itself. +** +** The sorter is running in multi-threaded mode if (a) the library was built +** with pre-processor symbol SQLITE_MAX_WORKER_THREADS set to a value greater +** than zero, and (b) worker threads have been enabled at runtime by calling +** "PRAGMA threads=N" with some value of N greater than 0. +** +** When Rewind() is called, any data remaining in memory is flushed to a +** final PMA. So at this point the data is stored in some number of sorted +** PMAs within temporary files on disk. +** +** If there are fewer than SORTER_MAX_MERGE_COUNT PMAs in total and the +** sorter is running in single-threaded mode, then these PMAs are merged +** incrementally as keys are retreived from the sorter by the VDBE. The +** MergeEngine object, described in further detail below, performs this +** merge. +** +** Or, if running in multi-threaded mode, then a background thread is +** launched to merge the existing PMAs. Once the background thread has +** merged T bytes of data into a single sorted PMA, the main thread +** begins reading keys from that PMA while the background thread proceeds +** with merging the next T bytes of data. And so on. +** +** Parameter T is set to half the value of the memory threshold used +** by Write() above to determine when to create a new PMA. +** +** If there are more than SORTER_MAX_MERGE_COUNT PMAs in total when +** Rewind() is called, then a hierarchy of incremental-merges is used. +** First, T bytes of data from the first SORTER_MAX_MERGE_COUNT PMAs on +** disk are merged together. Then T bytes of data from the second set, and +** so on, such that no operation ever merges more than SORTER_MAX_MERGE_COUNT +** PMAs at a time. This done is to improve locality. +** +** If running in multi-threaded mode and there are more than +** SORTER_MAX_MERGE_COUNT PMAs on disk when Rewind() is called, then more +** than one background thread may be created. Specifically, there may be +** one background thread for each temporary file on disk, and one background +** thread to merge the output of each of the others to a single PMA for +** the main thread to read from. +*/ +/* #include "sqliteInt.h" */ +/* #include "vdbeInt.h" */ + +/* +** If SQLITE_DEBUG_SORTER_THREADS is defined, this module outputs various +** messages to stderr that may be helpful in understanding the performance +** characteristics of the sorter in multi-threaded mode. +*/ +#if 0 +# define SQLITE_DEBUG_SORTER_THREADS 1 +#endif + +/* +** Hard-coded maximum amount of data to accumulate in memory before flushing +** to a level 0 PMA. The purpose of this limit is to prevent various integer +** overflows. 512MiB. +*/ +#define SQLITE_MAX_PMASZ (1<<29) + +/* +** Private objects used by the sorter +*/ +typedef struct MergeEngine MergeEngine; /* Merge PMAs together */ +typedef struct PmaReader PmaReader; /* Incrementally read one PMA */ +typedef struct PmaWriter PmaWriter; /* Incrementally write one PMA */ +typedef struct SorterRecord SorterRecord; /* A record being sorted */ +typedef struct SortSubtask SortSubtask; /* A sub-task in the sort process */ +typedef struct SorterFile SorterFile; /* Temporary file object wrapper */ +typedef struct SorterList SorterList; /* In-memory list of records */ +typedef struct IncrMerger IncrMerger; /* Read & merge multiple PMAs */ + +/* +** A container for a temp file handle and the current amount of data +** stored in the file. +*/ +struct SorterFile { + sqlite3_file *pFd; /* File handle */ + i64 iEof; /* Bytes of data stored in pFd */ +}; + +/* +** An in-memory list of objects to be sorted. +** +** If aMemory==0 then each object is allocated separately and the objects +** are connected using SorterRecord.u.pNext. If aMemory!=0 then all objects +** are stored in the aMemory[] bulk memory, one right after the other, and +** are connected using SorterRecord.u.iNext. +*/ +struct SorterList { + SorterRecord *pList; /* Linked list of records */ + u8 *aMemory; /* If non-NULL, bulk memory to hold pList */ + int szPMA; /* Size of pList as PMA in bytes */ +}; + +/* +** The MergeEngine object is used to combine two or more smaller PMAs into +** one big PMA using a merge operation. Separate PMAs all need to be +** combined into one big PMA in order to be able to step through the sorted +** records in order. +** +** The aReadr[] array contains a PmaReader object for each of the PMAs being +** merged. An aReadr[] object either points to a valid key or else is at EOF. +** ("EOF" means "End Of File". When aReadr[] is at EOF there is no more data.) +** For the purposes of the paragraphs below, we assume that the array is +** actually N elements in size, where N is the smallest power of 2 greater +** to or equal to the number of PMAs being merged. The extra aReadr[] elements +** are treated as if they are empty (always at EOF). +** +** The aTree[] array is also N elements in size. The value of N is stored in +** the MergeEngine.nTree variable. +** +** The final (N/2) elements of aTree[] contain the results of comparing +** pairs of PMA keys together. Element i contains the result of +** comparing aReadr[2*i-N] and aReadr[2*i-N+1]. Whichever key is smaller, the +** aTree element is set to the index of it. +** +** For the purposes of this comparison, EOF is considered greater than any +** other key value. If the keys are equal (only possible with two EOF +** values), it doesn't matter which index is stored. +** +** The (N/4) elements of aTree[] that precede the final (N/2) described +** above contains the index of the smallest of each block of 4 PmaReaders +** And so on. So that aTree[1] contains the index of the PmaReader that +** currently points to the smallest key value. aTree[0] is unused. +** +** Example: +** +** aReadr[0] -> Banana +** aReadr[1] -> Feijoa +** aReadr[2] -> Elderberry +** aReadr[3] -> Currant +** aReadr[4] -> Grapefruit +** aReadr[5] -> Apple +** aReadr[6] -> Durian +** aReadr[7] -> EOF +** +** aTree[] = { X, 5 0, 5 0, 3, 5, 6 } +** +** The current element is "Apple" (the value of the key indicated by +** PmaReader 5). When the Next() operation is invoked, PmaReader 5 will +** be advanced to the next key in its segment. Say the next key is +** "Eggplant": +** +** aReadr[5] -> Eggplant +** +** The contents of aTree[] are updated first by comparing the new PmaReader +** 5 key to the current key of PmaReader 4 (still "Grapefruit"). The PmaReader +** 5 value is still smaller, so aTree[6] is set to 5. And so on up the tree. +** The value of PmaReader 6 - "Durian" - is now smaller than that of PmaReader +** 5, so aTree[3] is set to 6. Key 0 is smaller than key 6 (Bananafile2. And instead of using a +** background thread to prepare data for the PmaReader, with a single +** threaded IncrMerger the allocate part of pTask->file2 is "refilled" with +** keys from pMerger by the calling thread whenever the PmaReader runs out +** of data. +*/ +struct IncrMerger { + SortSubtask *pTask; /* Task that owns this merger */ + MergeEngine *pMerger; /* Merge engine thread reads data from */ + i64 iStartOff; /* Offset to start writing file at */ + int mxSz; /* Maximum bytes of data to store */ + int bEof; /* Set to true when merge is finished */ + int bUseThread; /* True to use a bg thread for this object */ + SorterFile aFile[2]; /* aFile[0] for reading, [1] for writing */ +}; + +/* +** An instance of this object is used for writing a PMA. +** +** The PMA is written one record at a time. Each record is of an arbitrary +** size. But I/O is more efficient if it occurs in page-sized blocks where +** each block is aligned on a page boundary. This object caches writes to +** the PMA so that aligned, page-size blocks are written. +*/ +struct PmaWriter { + int eFWErr; /* Non-zero if in an error state */ + u8 *aBuffer; /* Pointer to write buffer */ + int nBuffer; /* Size of write buffer in bytes */ + int iBufStart; /* First byte of buffer to write */ + int iBufEnd; /* Last byte of buffer to write */ + i64 iWriteOff; /* Offset of start of buffer in file */ + sqlite3_file *pFd; /* File handle to write to */ +}; + +/* +** This object is the header on a single record while that record is being +** held in memory and prior to being written out as part of a PMA. +** +** How the linked list is connected depends on how memory is being managed +** by this module. If using a separate allocation for each in-memory record +** (VdbeSorter.list.aMemory==0), then the list is always connected using the +** SorterRecord.u.pNext pointers. +** +** Or, if using the single large allocation method (VdbeSorter.list.aMemory!=0), +** then while records are being accumulated the list is linked using the +** SorterRecord.u.iNext offset. This is because the aMemory[] array may +** be sqlite3Realloc()ed while records are being accumulated. Once the VM +** has finished passing records to the sorter, or when the in-memory buffer +** is full, the list is sorted. As part of the sorting process, it is +** converted to use the SorterRecord.u.pNext pointers. See function +** vdbeSorterSort() for details. +*/ +struct SorterRecord { + int nVal; /* Size of the record in bytes */ + union { + SorterRecord *pNext; /* Pointer to next record in list */ + int iNext; /* Offset within aMemory of next record */ + } u; + /* The data for the record immediately follows this header */ +}; + +/* Return a pointer to the buffer containing the record data for SorterRecord +** object p. Should be used as if: +** +** void *SRVAL(SorterRecord *p) { return (void*)&p[1]; } +*/ +#define SRVAL(p) ((void*)((SorterRecord*)(p) + 1)) + + +/* Maximum number of PMAs that a single MergeEngine can merge */ +#define SORTER_MAX_MERGE_COUNT 16 + +static int vdbeIncrSwap(IncrMerger*); +static void vdbeIncrFree(IncrMerger *); + +/* +** Free all memory belonging to the PmaReader object passed as the +** argument. All structure fields are set to zero before returning. +*/ +static void vdbePmaReaderClear(PmaReader *pReadr){ + sqlite3_free(pReadr->aAlloc); + sqlite3_free(pReadr->aBuffer); + if( pReadr->aMap ) sqlite3OsUnfetch(pReadr->pFd, 0, pReadr->aMap); + vdbeIncrFree(pReadr->pIncr); + memset(pReadr, 0, sizeof(PmaReader)); +} + +/* +** Read the next nByte bytes of data from the PMA p. +** If successful, set *ppOut to point to a buffer containing the data +** and return SQLITE_OK. Otherwise, if an error occurs, return an SQLite +** error code. +** +** The buffer returned in *ppOut is only valid until the +** next call to this function. +*/ +static int vdbePmaReadBlob( + PmaReader *p, /* PmaReader from which to take the blob */ + int nByte, /* Bytes of data to read */ + u8 **ppOut /* OUT: Pointer to buffer containing data */ +){ + int iBuf; /* Offset within buffer to read from */ + int nAvail; /* Bytes of data available in buffer */ + + if( p->aMap ){ + *ppOut = &p->aMap[p->iReadOff]; + p->iReadOff += nByte; + return SQLITE_OK; + } + + assert( p->aBuffer ); + + /* If there is no more data to be read from the buffer, read the next + ** p->nBuffer bytes of data from the file into it. Or, if there are less + ** than p->nBuffer bytes remaining in the PMA, read all remaining data. */ + iBuf = p->iReadOff % p->nBuffer; + if( iBuf==0 ){ + int nRead; /* Bytes to read from disk */ + int rc; /* sqlite3OsRead() return code */ + + /* Determine how many bytes of data to read. */ + if( (p->iEof - p->iReadOff) > (i64)p->nBuffer ){ + nRead = p->nBuffer; + }else{ + nRead = (int)(p->iEof - p->iReadOff); + } + assert( nRead>0 ); + + /* Readr data from the file. Return early if an error occurs. */ + rc = sqlite3OsRead(p->pFd, p->aBuffer, nRead, p->iReadOff); + assert( rc!=SQLITE_IOERR_SHORT_READ ); + if( rc!=SQLITE_OK ) return rc; + } + nAvail = p->nBuffer - iBuf; + + if( nByte<=nAvail ){ + /* The requested data is available in the in-memory buffer. In this + ** case there is no need to make a copy of the data, just return a + ** pointer into the buffer to the caller. */ + *ppOut = &p->aBuffer[iBuf]; + p->iReadOff += nByte; + }else{ + /* The requested data is not all available in the in-memory buffer. + ** In this case, allocate space at p->aAlloc[] to copy the requested + ** range into. Then return a copy of pointer p->aAlloc to the caller. */ + int nRem; /* Bytes remaining to copy */ + + /* Extend the p->aAlloc[] allocation if required. */ + if( p->nAllocnAlloc); + while( nByte>nNew ) nNew = nNew*2; + aNew = sqlite3Realloc(p->aAlloc, nNew); + if( !aNew ) return SQLITE_NOMEM_BKPT; + p->nAlloc = nNew; + p->aAlloc = aNew; + } + + /* Copy as much data as is available in the buffer into the start of + ** p->aAlloc[]. */ + memcpy(p->aAlloc, &p->aBuffer[iBuf], nAvail); + p->iReadOff += nAvail; + nRem = nByte - nAvail; + + /* The following loop copies up to p->nBuffer bytes per iteration into + ** the p->aAlloc[] buffer. */ + while( nRem>0 ){ + int rc; /* vdbePmaReadBlob() return code */ + int nCopy; /* Number of bytes to copy */ + u8 *aNext; /* Pointer to buffer to copy data from */ + + nCopy = nRem; + if( nRem>p->nBuffer ) nCopy = p->nBuffer; + rc = vdbePmaReadBlob(p, nCopy, &aNext); + if( rc!=SQLITE_OK ) return rc; + assert( aNext!=p->aAlloc ); + memcpy(&p->aAlloc[nByte - nRem], aNext, nCopy); + nRem -= nCopy; + } + + *ppOut = p->aAlloc; + } + + return SQLITE_OK; +} + +/* +** Read a varint from the stream of data accessed by p. Set *pnOut to +** the value read. +*/ +static int vdbePmaReadVarint(PmaReader *p, u64 *pnOut){ + int iBuf; + + if( p->aMap ){ + p->iReadOff += sqlite3GetVarint(&p->aMap[p->iReadOff], pnOut); + }else{ + iBuf = p->iReadOff % p->nBuffer; + if( iBuf && (p->nBuffer-iBuf)>=9 ){ + p->iReadOff += sqlite3GetVarint(&p->aBuffer[iBuf], pnOut); + }else{ + u8 aVarint[16], *a; + int i = 0, rc; + do{ + rc = vdbePmaReadBlob(p, 1, &a); + if( rc ) return rc; + aVarint[(i++)&0xf] = a[0]; + }while( (a[0]&0x80)!=0 ); + sqlite3GetVarint(aVarint, pnOut); + } + } + + return SQLITE_OK; +} + +/* +** Attempt to memory map file pFile. If successful, set *pp to point to the +** new mapping and return SQLITE_OK. If the mapping is not attempted +** (because the file is too large or the VFS layer is configured not to use +** mmap), return SQLITE_OK and set *pp to NULL. +** +** Or, if an error occurs, return an SQLite error code. The final value of +** *pp is undefined in this case. +*/ +static int vdbeSorterMapFile(SortSubtask *pTask, SorterFile *pFile, u8 **pp){ + int rc = SQLITE_OK; + if( pFile->iEof<=(i64)(pTask->pSorter->db->nMaxSorterMmap) ){ + sqlite3_file *pFd = pFile->pFd; + if( pFd->pMethods->iVersion>=3 ){ + rc = sqlite3OsFetch(pFd, 0, (int)pFile->iEof, (void**)pp); + testcase( rc!=SQLITE_OK ); + } + } + return rc; +} + +/* +** Attach PmaReader pReadr to file pFile (if it is not already attached to +** that file) and seek it to offset iOff within the file. Return SQLITE_OK +** if successful, or an SQLite error code if an error occurs. +*/ +static int vdbePmaReaderSeek( + SortSubtask *pTask, /* Task context */ + PmaReader *pReadr, /* Reader whose cursor is to be moved */ + SorterFile *pFile, /* Sorter file to read from */ + i64 iOff /* Offset in pFile */ +){ + int rc = SQLITE_OK; + + assert( pReadr->pIncr==0 || pReadr->pIncr->bEof==0 ); + + if( sqlite3FaultSim(201) ) return SQLITE_IOERR_READ; + if( pReadr->aMap ){ + sqlite3OsUnfetch(pReadr->pFd, 0, pReadr->aMap); + pReadr->aMap = 0; + } + pReadr->iReadOff = iOff; + pReadr->iEof = pFile->iEof; + pReadr->pFd = pFile->pFd; + + rc = vdbeSorterMapFile(pTask, pFile, &pReadr->aMap); + if( rc==SQLITE_OK && pReadr->aMap==0 ){ + int pgsz = pTask->pSorter->pgsz; + int iBuf = pReadr->iReadOff % pgsz; + if( pReadr->aBuffer==0 ){ + pReadr->aBuffer = (u8*)sqlite3Malloc(pgsz); + if( pReadr->aBuffer==0 ) rc = SQLITE_NOMEM_BKPT; + pReadr->nBuffer = pgsz; + } + if( rc==SQLITE_OK && iBuf ){ + int nRead = pgsz - iBuf; + if( (pReadr->iReadOff + nRead) > pReadr->iEof ){ + nRead = (int)(pReadr->iEof - pReadr->iReadOff); + } + rc = sqlite3OsRead( + pReadr->pFd, &pReadr->aBuffer[iBuf], nRead, pReadr->iReadOff + ); + testcase( rc!=SQLITE_OK ); + } + } + + return rc; +} + +/* +** Advance PmaReader pReadr to the next key in its PMA. Return SQLITE_OK if +** no error occurs, or an SQLite error code if one does. +*/ +static int vdbePmaReaderNext(PmaReader *pReadr){ + int rc = SQLITE_OK; /* Return Code */ + u64 nRec = 0; /* Size of record in bytes */ + + + if( pReadr->iReadOff>=pReadr->iEof ){ + IncrMerger *pIncr = pReadr->pIncr; + int bEof = 1; + if( pIncr ){ + rc = vdbeIncrSwap(pIncr); + if( rc==SQLITE_OK && pIncr->bEof==0 ){ + rc = vdbePmaReaderSeek( + pIncr->pTask, pReadr, &pIncr->aFile[0], pIncr->iStartOff + ); + bEof = 0; + } + } + + if( bEof ){ + /* This is an EOF condition */ + vdbePmaReaderClear(pReadr); + testcase( rc!=SQLITE_OK ); + return rc; + } + } + + if( rc==SQLITE_OK ){ + rc = vdbePmaReadVarint(pReadr, &nRec); + } + if( rc==SQLITE_OK ){ + pReadr->nKey = (int)nRec; + rc = vdbePmaReadBlob(pReadr, (int)nRec, &pReadr->aKey); + testcase( rc!=SQLITE_OK ); + } + + return rc; +} + +/* +** Initialize PmaReader pReadr to scan through the PMA stored in file pFile +** starting at offset iStart and ending at offset iEof-1. This function +** leaves the PmaReader pointing to the first key in the PMA (or EOF if the +** PMA is empty). +** +** If the pnByte parameter is NULL, then it is assumed that the file +** contains a single PMA, and that that PMA omits the initial length varint. +*/ +static int vdbePmaReaderInit( + SortSubtask *pTask, /* Task context */ + SorterFile *pFile, /* Sorter file to read from */ + i64 iStart, /* Start offset in pFile */ + PmaReader *pReadr, /* PmaReader to populate */ + i64 *pnByte /* IN/OUT: Increment this value by PMA size */ +){ + int rc; + + assert( pFile->iEof>iStart ); + assert( pReadr->aAlloc==0 && pReadr->nAlloc==0 ); + assert( pReadr->aBuffer==0 ); + assert( pReadr->aMap==0 ); + + rc = vdbePmaReaderSeek(pTask, pReadr, pFile, iStart); + if( rc==SQLITE_OK ){ + u64 nByte = 0; /* Size of PMA in bytes */ + rc = vdbePmaReadVarint(pReadr, &nByte); + pReadr->iEof = pReadr->iReadOff + nByte; + *pnByte += nByte; + } + + if( rc==SQLITE_OK ){ + rc = vdbePmaReaderNext(pReadr); + } + return rc; +} + +/* +** A version of vdbeSorterCompare() that assumes that it has already been +** determined that the first field of key1 is equal to the first field of +** key2. +*/ +static int vdbeSorterCompareTail( + SortSubtask *pTask, /* Subtask context (for pKeyInfo) */ + int *pbKey2Cached, /* True if pTask->pUnpacked is pKey2 */ + const void *pKey1, int nKey1, /* Left side of comparison */ + const void *pKey2, int nKey2 /* Right side of comparison */ +){ + UnpackedRecord *r2 = pTask->pUnpacked; + if( *pbKey2Cached==0 ){ + sqlite3VdbeRecordUnpack(pTask->pSorter->pKeyInfo, nKey2, pKey2, r2); + *pbKey2Cached = 1; + } + return sqlite3VdbeRecordCompareWithSkip(nKey1, pKey1, r2, 1); +} + +/* +** Compare key1 (buffer pKey1, size nKey1 bytes) with key2 (buffer pKey2, +** size nKey2 bytes). Use (pTask->pKeyInfo) for the collation sequences +** used by the comparison. Return the result of the comparison. +** +** If IN/OUT parameter *pbKey2Cached is true when this function is called, +** it is assumed that (pTask->pUnpacked) contains the unpacked version +** of key2. If it is false, (pTask->pUnpacked) is populated with the unpacked +** version of key2 and *pbKey2Cached set to true before returning. +** +** If an OOM error is encountered, (pTask->pUnpacked->error_rc) is set +** to SQLITE_NOMEM. +*/ +static int vdbeSorterCompare( + SortSubtask *pTask, /* Subtask context (for pKeyInfo) */ + int *pbKey2Cached, /* True if pTask->pUnpacked is pKey2 */ + const void *pKey1, int nKey1, /* Left side of comparison */ + const void *pKey2, int nKey2 /* Right side of comparison */ +){ + UnpackedRecord *r2 = pTask->pUnpacked; + if( !*pbKey2Cached ){ + sqlite3VdbeRecordUnpack(pTask->pSorter->pKeyInfo, nKey2, pKey2, r2); + *pbKey2Cached = 1; + } + return sqlite3VdbeRecordCompare(nKey1, pKey1, r2); +} + +/* +** A specially optimized version of vdbeSorterCompare() that assumes that +** the first field of each key is a TEXT value and that the collation +** sequence to compare them with is BINARY. +*/ +static int vdbeSorterCompareText( + SortSubtask *pTask, /* Subtask context (for pKeyInfo) */ + int *pbKey2Cached, /* True if pTask->pUnpacked is pKey2 */ + const void *pKey1, int nKey1, /* Left side of comparison */ + const void *pKey2, int nKey2 /* Right side of comparison */ +){ + const u8 * const p1 = (const u8 * const)pKey1; + const u8 * const p2 = (const u8 * const)pKey2; + const u8 * const v1 = &p1[ p1[0] ]; /* Pointer to value 1 */ + const u8 * const v2 = &p2[ p2[0] ]; /* Pointer to value 2 */ + + int n1; + int n2; + int res; + + getVarint32(&p1[1], n1); + getVarint32(&p2[1], n2); + res = memcmp(v1, v2, (MIN(n1, n2) - 13)/2); + if( res==0 ){ + res = n1 - n2; + } + + if( res==0 ){ + if( pTask->pSorter->pKeyInfo->nKeyField>1 ){ + res = vdbeSorterCompareTail( + pTask, pbKey2Cached, pKey1, nKey1, pKey2, nKey2 + ); + } + }else{ + assert( !(pTask->pSorter->pKeyInfo->aSortFlags[0]&KEYINFO_ORDER_BIGNULL) ); + if( pTask->pSorter->pKeyInfo->aSortFlags[0] ){ + res = res * -1; + } + } + + return res; +} + +/* +** A specially optimized version of vdbeSorterCompare() that assumes that +** the first field of each key is an INTEGER value. +*/ +static int vdbeSorterCompareInt( + SortSubtask *pTask, /* Subtask context (for pKeyInfo) */ + int *pbKey2Cached, /* True if pTask->pUnpacked is pKey2 */ + const void *pKey1, int nKey1, /* Left side of comparison */ + const void *pKey2, int nKey2 /* Right side of comparison */ +){ + const u8 * const p1 = (const u8 * const)pKey1; + const u8 * const p2 = (const u8 * const)pKey2; + const int s1 = p1[1]; /* Left hand serial type */ + const int s2 = p2[1]; /* Right hand serial type */ + const u8 * const v1 = &p1[ p1[0] ]; /* Pointer to value 1 */ + const u8 * const v2 = &p2[ p2[0] ]; /* Pointer to value 2 */ + int res; /* Return value */ + + assert( (s1>0 && s1<7) || s1==8 || s1==9 ); + assert( (s2>0 && s2<7) || s2==8 || s2==9 ); + + if( s1==s2 ){ + /* The two values have the same sign. Compare using memcmp(). */ + static const u8 aLen[] = {0, 1, 2, 3, 4, 6, 8, 0, 0, 0 }; + const u8 n = aLen[s1]; + int i; + res = 0; + for(i=0; i7 && s2>7 ){ + res = s1 - s2; + }else{ + if( s2>7 ){ + res = +1; + }else if( s1>7 ){ + res = -1; + }else{ + res = s1 - s2; + } + assert( res!=0 ); + + if( res>0 ){ + if( *v1 & 0x80 ) res = -1; + }else{ + if( *v2 & 0x80 ) res = +1; + } + } + + if( res==0 ){ + if( pTask->pSorter->pKeyInfo->nKeyField>1 ){ + res = vdbeSorterCompareTail( + pTask, pbKey2Cached, pKey1, nKey1, pKey2, nKey2 + ); + } + }else if( pTask->pSorter->pKeyInfo->aSortFlags[0] ){ + assert( !(pTask->pSorter->pKeyInfo->aSortFlags[0]&KEYINFO_ORDER_BIGNULL) ); + res = res * -1; + } + + return res; +} + +/* +** Initialize the temporary index cursor just opened as a sorter cursor. +** +** Usually, the sorter module uses the value of (pCsr->pKeyInfo->nKeyField) +** to determine the number of fields that should be compared from the +** records being sorted. However, if the value passed as argument nField +** is non-zero and the sorter is able to guarantee a stable sort, nField +** is used instead. This is used when sorting records for a CREATE INDEX +** statement. In this case, keys are always delivered to the sorter in +** order of the primary key, which happens to be make up the final part +** of the records being sorted. So if the sort is stable, there is never +** any reason to compare PK fields and they can be ignored for a small +** performance boost. +** +** The sorter can guarantee a stable sort when running in single-threaded +** mode, but not in multi-threaded mode. +** +** SQLITE_OK is returned if successful, or an SQLite error code otherwise. +*/ +SQLITE_PRIVATE int sqlite3VdbeSorterInit( + sqlite3 *db, /* Database connection (for malloc()) */ + int nField, /* Number of key fields in each record */ + VdbeCursor *pCsr /* Cursor that holds the new sorter */ +){ + int pgsz; /* Page size of main database */ + int i; /* Used to iterate through aTask[] */ + VdbeSorter *pSorter; /* The new sorter */ + KeyInfo *pKeyInfo; /* Copy of pCsr->pKeyInfo with db==0 */ + int szKeyInfo; /* Size of pCsr->pKeyInfo in bytes */ + int sz; /* Size of pSorter in bytes */ + int rc = SQLITE_OK; +#if SQLITE_MAX_WORKER_THREADS==0 +# define nWorker 0 +#else + int nWorker; +#endif + + /* Initialize the upper limit on the number of worker threads */ +#if SQLITE_MAX_WORKER_THREADS>0 + if( sqlite3TempInMemory(db) || sqlite3GlobalConfig.bCoreMutex==0 ){ + nWorker = 0; + }else{ + nWorker = db->aLimit[SQLITE_LIMIT_WORKER_THREADS]; + } +#endif + + /* Do not allow the total number of threads (main thread + all workers) + ** to exceed the maximum merge count */ +#if SQLITE_MAX_WORKER_THREADS>=SORTER_MAX_MERGE_COUNT + if( nWorker>=SORTER_MAX_MERGE_COUNT ){ + nWorker = SORTER_MAX_MERGE_COUNT-1; + } +#endif + + assert( pCsr->pKeyInfo && pCsr->pBtx==0 ); + assert( pCsr->eCurType==CURTYPE_SORTER ); + szKeyInfo = sizeof(KeyInfo) + (pCsr->pKeyInfo->nKeyField-1)*sizeof(CollSeq*); + sz = sizeof(VdbeSorter) + nWorker * sizeof(SortSubtask); + + pSorter = (VdbeSorter*)sqlite3DbMallocZero(db, sz + szKeyInfo); + pCsr->uc.pSorter = pSorter; + if( pSorter==0 ){ + rc = SQLITE_NOMEM_BKPT; + }else{ + pSorter->pKeyInfo = pKeyInfo = (KeyInfo*)((u8*)pSorter + sz); + memcpy(pKeyInfo, pCsr->pKeyInfo, szKeyInfo); + pKeyInfo->db = 0; + if( nField && nWorker==0 ){ + pKeyInfo->nKeyField = nField; + } + pSorter->pgsz = pgsz = sqlite3BtreeGetPageSize(db->aDb[0].pBt); + pSorter->nTask = nWorker + 1; + pSorter->iPrev = (u8)(nWorker - 1); + pSorter->bUseThreads = (pSorter->nTask>1); + pSorter->db = db; + for(i=0; inTask; i++){ + SortSubtask *pTask = &pSorter->aTask[i]; + pTask->pSorter = pSorter; + } + + if( !sqlite3TempInMemory(db) ){ + i64 mxCache; /* Cache size in bytes*/ + u32 szPma = sqlite3GlobalConfig.szPma; + pSorter->mnPmaSize = szPma * pgsz; + + mxCache = db->aDb[0].pSchema->cache_size; + if( mxCache<0 ){ + /* A negative cache-size value C indicates that the cache is abs(C) + ** KiB in size. */ + mxCache = mxCache * -1024; + }else{ + mxCache = mxCache * pgsz; + } + mxCache = MIN(mxCache, SQLITE_MAX_PMASZ); + pSorter->mxPmaSize = MAX(pSorter->mnPmaSize, (int)mxCache); + + /* Avoid large memory allocations if the application has requested + ** SQLITE_CONFIG_SMALL_MALLOC. */ + if( sqlite3GlobalConfig.bSmallMalloc==0 ){ + assert( pSorter->iMemory==0 ); + pSorter->nMemory = pgsz; + pSorter->list.aMemory = (u8*)sqlite3Malloc(pgsz); + if( !pSorter->list.aMemory ) rc = SQLITE_NOMEM_BKPT; + } + } + + if( pKeyInfo->nAllField<13 + && (pKeyInfo->aColl[0]==0 || pKeyInfo->aColl[0]==db->pDfltColl) + && (pKeyInfo->aSortFlags[0] & KEYINFO_ORDER_BIGNULL)==0 + ){ + pSorter->typeMask = SORTER_TYPE_INTEGER | SORTER_TYPE_TEXT; + } + } + + return rc; +} +#undef nWorker /* Defined at the top of this function */ + +/* +** Free the list of sorted records starting at pRecord. +*/ +static void vdbeSorterRecordFree(sqlite3 *db, SorterRecord *pRecord){ + SorterRecord *p; + SorterRecord *pNext; + for(p=pRecord; p; p=pNext){ + pNext = p->u.pNext; + sqlite3DbFree(db, p); + } +} + +/* +** Free all resources owned by the object indicated by argument pTask. All +** fields of *pTask are zeroed before returning. +*/ +static void vdbeSortSubtaskCleanup(sqlite3 *db, SortSubtask *pTask){ + sqlite3DbFree(db, pTask->pUnpacked); +#if SQLITE_MAX_WORKER_THREADS>0 + /* pTask->list.aMemory can only be non-zero if it was handed memory + ** from the main thread. That only occurs SQLITE_MAX_WORKER_THREADS>0 */ + if( pTask->list.aMemory ){ + sqlite3_free(pTask->list.aMemory); + }else +#endif + { + assert( pTask->list.aMemory==0 ); + vdbeSorterRecordFree(0, pTask->list.pList); + } + if( pTask->file.pFd ){ + sqlite3OsCloseFree(pTask->file.pFd); + } + if( pTask->file2.pFd ){ + sqlite3OsCloseFree(pTask->file2.pFd); + } + memset(pTask, 0, sizeof(SortSubtask)); +} + +#ifdef SQLITE_DEBUG_SORTER_THREADS +static void vdbeSorterWorkDebug(SortSubtask *pTask, const char *zEvent){ + i64 t; + int iTask = (pTask - pTask->pSorter->aTask); + sqlite3OsCurrentTimeInt64(pTask->pSorter->db->pVfs, &t); + fprintf(stderr, "%lld:%d %s\n", t, iTask, zEvent); +} +static void vdbeSorterRewindDebug(const char *zEvent){ + i64 t; + sqlite3OsCurrentTimeInt64(sqlite3_vfs_find(0), &t); + fprintf(stderr, "%lld:X %s\n", t, zEvent); +} +static void vdbeSorterPopulateDebug( + SortSubtask *pTask, + const char *zEvent +){ + i64 t; + int iTask = (pTask - pTask->pSorter->aTask); + sqlite3OsCurrentTimeInt64(pTask->pSorter->db->pVfs, &t); + fprintf(stderr, "%lld:bg%d %s\n", t, iTask, zEvent); +} +static void vdbeSorterBlockDebug( + SortSubtask *pTask, + int bBlocked, + const char *zEvent +){ + if( bBlocked ){ + i64 t; + sqlite3OsCurrentTimeInt64(pTask->pSorter->db->pVfs, &t); + fprintf(stderr, "%lld:main %s\n", t, zEvent); + } +} +#else +# define vdbeSorterWorkDebug(x,y) +# define vdbeSorterRewindDebug(y) +# define vdbeSorterPopulateDebug(x,y) +# define vdbeSorterBlockDebug(x,y,z) +#endif + +#if SQLITE_MAX_WORKER_THREADS>0 +/* +** Join thread pTask->thread. +*/ +static int vdbeSorterJoinThread(SortSubtask *pTask){ + int rc = SQLITE_OK; + if( pTask->pThread ){ +#ifdef SQLITE_DEBUG_SORTER_THREADS + int bDone = pTask->bDone; +#endif + void *pRet = SQLITE_INT_TO_PTR(SQLITE_ERROR); + vdbeSorterBlockDebug(pTask, !bDone, "enter"); + (void)sqlite3ThreadJoin(pTask->pThread, &pRet); + vdbeSorterBlockDebug(pTask, !bDone, "exit"); + rc = SQLITE_PTR_TO_INT(pRet); + assert( pTask->bDone==1 ); + pTask->bDone = 0; + pTask->pThread = 0; + } + return rc; +} + +/* +** Launch a background thread to run xTask(pIn). +*/ +static int vdbeSorterCreateThread( + SortSubtask *pTask, /* Thread will use this task object */ + void *(*xTask)(void*), /* Routine to run in a separate thread */ + void *pIn /* Argument passed into xTask() */ +){ + assert( pTask->pThread==0 && pTask->bDone==0 ); + return sqlite3ThreadCreate(&pTask->pThread, xTask, pIn); +} + +/* +** Join all outstanding threads launched by SorterWrite() to create +** level-0 PMAs. +*/ +static int vdbeSorterJoinAll(VdbeSorter *pSorter, int rcin){ + int rc = rcin; + int i; + + /* This function is always called by the main user thread. + ** + ** If this function is being called after SorterRewind() has been called, + ** it is possible that thread pSorter->aTask[pSorter->nTask-1].pThread + ** is currently attempt to join one of the other threads. To avoid a race + ** condition where this thread also attempts to join the same object, join + ** thread pSorter->aTask[pSorter->nTask-1].pThread first. */ + for(i=pSorter->nTask-1; i>=0; i--){ + SortSubtask *pTask = &pSorter->aTask[i]; + int rc2 = vdbeSorterJoinThread(pTask); + if( rc==SQLITE_OK ) rc = rc2; + } + return rc; +} +#else +# define vdbeSorterJoinAll(x,rcin) (rcin) +# define vdbeSorterJoinThread(pTask) SQLITE_OK +#endif + +/* +** Allocate a new MergeEngine object capable of handling up to +** nReader PmaReader inputs. +** +** nReader is automatically rounded up to the next power of two. +** nReader may not exceed SORTER_MAX_MERGE_COUNT even after rounding up. +*/ +static MergeEngine *vdbeMergeEngineNew(int nReader){ + int N = 2; /* Smallest power of two >= nReader */ + int nByte; /* Total bytes of space to allocate */ + MergeEngine *pNew; /* Pointer to allocated object to return */ + + assert( nReader<=SORTER_MAX_MERGE_COUNT ); + + while( NnTree = N; + pNew->pTask = 0; + pNew->aReadr = (PmaReader*)&pNew[1]; + pNew->aTree = (int*)&pNew->aReadr[N]; + } + return pNew; +} + +/* +** Free the MergeEngine object passed as the only argument. +*/ +static void vdbeMergeEngineFree(MergeEngine *pMerger){ + int i; + if( pMerger ){ + for(i=0; inTree; i++){ + vdbePmaReaderClear(&pMerger->aReadr[i]); + } + } + sqlite3_free(pMerger); +} + +/* +** Free all resources associated with the IncrMerger object indicated by +** the first argument. +*/ +static void vdbeIncrFree(IncrMerger *pIncr){ + if( pIncr ){ +#if SQLITE_MAX_WORKER_THREADS>0 + if( pIncr->bUseThread ){ + vdbeSorterJoinThread(pIncr->pTask); + if( pIncr->aFile[0].pFd ) sqlite3OsCloseFree(pIncr->aFile[0].pFd); + if( pIncr->aFile[1].pFd ) sqlite3OsCloseFree(pIncr->aFile[1].pFd); + } +#endif + vdbeMergeEngineFree(pIncr->pMerger); + sqlite3_free(pIncr); + } +} + +/* +** Reset a sorting cursor back to its original empty state. +*/ +SQLITE_PRIVATE void sqlite3VdbeSorterReset(sqlite3 *db, VdbeSorter *pSorter){ + int i; + (void)vdbeSorterJoinAll(pSorter, SQLITE_OK); + assert( pSorter->bUseThreads || pSorter->pReader==0 ); +#if SQLITE_MAX_WORKER_THREADS>0 + if( pSorter->pReader ){ + vdbePmaReaderClear(pSorter->pReader); + sqlite3DbFree(db, pSorter->pReader); + pSorter->pReader = 0; + } +#endif + vdbeMergeEngineFree(pSorter->pMerger); + pSorter->pMerger = 0; + for(i=0; inTask; i++){ + SortSubtask *pTask = &pSorter->aTask[i]; + vdbeSortSubtaskCleanup(db, pTask); + pTask->pSorter = pSorter; + } + if( pSorter->list.aMemory==0 ){ + vdbeSorterRecordFree(0, pSorter->list.pList); + } + pSorter->list.pList = 0; + pSorter->list.szPMA = 0; + pSorter->bUsePMA = 0; + pSorter->iMemory = 0; + pSorter->mxKeysize = 0; + sqlite3DbFree(db, pSorter->pUnpacked); + pSorter->pUnpacked = 0; +} + +/* +** Free any cursor components allocated by sqlite3VdbeSorterXXX routines. +*/ +SQLITE_PRIVATE void sqlite3VdbeSorterClose(sqlite3 *db, VdbeCursor *pCsr){ + VdbeSorter *pSorter; + assert( pCsr->eCurType==CURTYPE_SORTER ); + pSorter = pCsr->uc.pSorter; + if( pSorter ){ + sqlite3VdbeSorterReset(db, pSorter); + sqlite3_free(pSorter->list.aMemory); + sqlite3DbFree(db, pSorter); + pCsr->uc.pSorter = 0; + } +} + +#if SQLITE_MAX_MMAP_SIZE>0 +/* +** The first argument is a file-handle open on a temporary file. The file +** is guaranteed to be nByte bytes or smaller in size. This function +** attempts to extend the file to nByte bytes in size and to ensure that +** the VFS has memory mapped it. +** +** Whether or not the file does end up memory mapped of course depends on +** the specific VFS implementation. +*/ +static void vdbeSorterExtendFile(sqlite3 *db, sqlite3_file *pFd, i64 nByte){ + if( nByte<=(i64)(db->nMaxSorterMmap) && pFd->pMethods->iVersion>=3 ){ + void *p = 0; + int chunksize = 4*1024; + sqlite3OsFileControlHint(pFd, SQLITE_FCNTL_CHUNK_SIZE, &chunksize); + sqlite3OsFileControlHint(pFd, SQLITE_FCNTL_SIZE_HINT, &nByte); + sqlite3OsFetch(pFd, 0, (int)nByte, &p); + sqlite3OsUnfetch(pFd, 0, p); + } +} +#else +# define vdbeSorterExtendFile(x,y,z) +#endif + +/* +** Allocate space for a file-handle and open a temporary file. If successful, +** set *ppFd to point to the malloc'd file-handle and return SQLITE_OK. +** Otherwise, set *ppFd to 0 and return an SQLite error code. +*/ +static int vdbeSorterOpenTempFile( + sqlite3 *db, /* Database handle doing sort */ + i64 nExtend, /* Attempt to extend file to this size */ + sqlite3_file **ppFd +){ + int rc; + if( sqlite3FaultSim(202) ) return SQLITE_IOERR_ACCESS; + rc = sqlite3OsOpenMalloc(db->pVfs, 0, ppFd, + SQLITE_OPEN_TEMP_JOURNAL | + SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE | + SQLITE_OPEN_EXCLUSIVE | SQLITE_OPEN_DELETEONCLOSE, &rc + ); + if( rc==SQLITE_OK ){ + i64 max = SQLITE_MAX_MMAP_SIZE; + sqlite3OsFileControlHint(*ppFd, SQLITE_FCNTL_MMAP_SIZE, (void*)&max); + if( nExtend>0 ){ + vdbeSorterExtendFile(db, *ppFd, nExtend); + } + } + return rc; +} + +/* +** If it has not already been allocated, allocate the UnpackedRecord +** structure at pTask->pUnpacked. Return SQLITE_OK if successful (or +** if no allocation was required), or SQLITE_NOMEM otherwise. +*/ +static int vdbeSortAllocUnpacked(SortSubtask *pTask){ + if( pTask->pUnpacked==0 ){ + pTask->pUnpacked = sqlite3VdbeAllocUnpackedRecord(pTask->pSorter->pKeyInfo); + if( pTask->pUnpacked==0 ) return SQLITE_NOMEM_BKPT; + pTask->pUnpacked->nField = pTask->pSorter->pKeyInfo->nKeyField; + pTask->pUnpacked->errCode = 0; + } + return SQLITE_OK; +} + + +/* +** Merge the two sorted lists p1 and p2 into a single list. +*/ +static SorterRecord *vdbeSorterMerge( + SortSubtask *pTask, /* Calling thread context */ + SorterRecord *p1, /* First list to merge */ + SorterRecord *p2 /* Second list to merge */ +){ + SorterRecord *pFinal = 0; + SorterRecord **pp = &pFinal; + int bCached = 0; + + assert( p1!=0 && p2!=0 ); + for(;;){ + int res; + res = pTask->xCompare( + pTask, &bCached, SRVAL(p1), p1->nVal, SRVAL(p2), p2->nVal + ); + + if( res<=0 ){ + *pp = p1; + pp = &p1->u.pNext; + p1 = p1->u.pNext; + if( p1==0 ){ + *pp = p2; + break; + } + }else{ + *pp = p2; + pp = &p2->u.pNext; + p2 = p2->u.pNext; + bCached = 0; + if( p2==0 ){ + *pp = p1; + break; + } + } + } + return pFinal; +} + +/* +** Return the SorterCompare function to compare values collected by the +** sorter object passed as the only argument. +*/ +static SorterCompare vdbeSorterGetCompare(VdbeSorter *p){ + if( p->typeMask==SORTER_TYPE_INTEGER ){ + return vdbeSorterCompareInt; + }else if( p->typeMask==SORTER_TYPE_TEXT ){ + return vdbeSorterCompareText; + } + return vdbeSorterCompare; +} + +/* +** Sort the linked list of records headed at pTask->pList. Return +** SQLITE_OK if successful, or an SQLite error code (i.e. SQLITE_NOMEM) if +** an error occurs. +*/ +static int vdbeSorterSort(SortSubtask *pTask, SorterList *pList){ + int i; + SorterRecord **aSlot; + SorterRecord *p; + int rc; + + rc = vdbeSortAllocUnpacked(pTask); + if( rc!=SQLITE_OK ) return rc; + + p = pList->pList; + pTask->xCompare = vdbeSorterGetCompare(pTask->pSorter); + + aSlot = (SorterRecord **)sqlite3MallocZero(64 * sizeof(SorterRecord *)); + if( !aSlot ){ + return SQLITE_NOMEM_BKPT; + } + + while( p ){ + SorterRecord *pNext; + if( pList->aMemory ){ + if( (u8*)p==pList->aMemory ){ + pNext = 0; + }else{ + assert( p->u.iNextaMemory) ); + pNext = (SorterRecord*)&pList->aMemory[p->u.iNext]; + } + }else{ + pNext = p->u.pNext; + } + + p->u.pNext = 0; + for(i=0; aSlot[i]; i++){ + p = vdbeSorterMerge(pTask, p, aSlot[i]); + aSlot[i] = 0; + } + aSlot[i] = p; + p = pNext; + } + + p = 0; + for(i=0; i<64; i++){ + if( aSlot[i]==0 ) continue; + p = p ? vdbeSorterMerge(pTask, p, aSlot[i]) : aSlot[i]; + } + pList->pList = p; + + sqlite3_free(aSlot); + assert( pTask->pUnpacked->errCode==SQLITE_OK + || pTask->pUnpacked->errCode==SQLITE_NOMEM + ); + return pTask->pUnpacked->errCode; +} + +/* +** Initialize a PMA-writer object. +*/ +static void vdbePmaWriterInit( + sqlite3_file *pFd, /* File handle to write to */ + PmaWriter *p, /* Object to populate */ + int nBuf, /* Buffer size */ + i64 iStart /* Offset of pFd to begin writing at */ +){ + memset(p, 0, sizeof(PmaWriter)); + p->aBuffer = (u8*)sqlite3Malloc(nBuf); + if( !p->aBuffer ){ + p->eFWErr = SQLITE_NOMEM_BKPT; + }else{ + p->iBufEnd = p->iBufStart = (iStart % nBuf); + p->iWriteOff = iStart - p->iBufStart; + p->nBuffer = nBuf; + p->pFd = pFd; + } +} + +/* +** Write nData bytes of data to the PMA. Return SQLITE_OK +** if successful, or an SQLite error code if an error occurs. +*/ +static void vdbePmaWriteBlob(PmaWriter *p, u8 *pData, int nData){ + int nRem = nData; + while( nRem>0 && p->eFWErr==0 ){ + int nCopy = nRem; + if( nCopy>(p->nBuffer - p->iBufEnd) ){ + nCopy = p->nBuffer - p->iBufEnd; + } + + memcpy(&p->aBuffer[p->iBufEnd], &pData[nData-nRem], nCopy); + p->iBufEnd += nCopy; + if( p->iBufEnd==p->nBuffer ){ + p->eFWErr = sqlite3OsWrite(p->pFd, + &p->aBuffer[p->iBufStart], p->iBufEnd - p->iBufStart, + p->iWriteOff + p->iBufStart + ); + p->iBufStart = p->iBufEnd = 0; + p->iWriteOff += p->nBuffer; + } + assert( p->iBufEndnBuffer ); + + nRem -= nCopy; + } +} + +/* +** Flush any buffered data to disk and clean up the PMA-writer object. +** The results of using the PMA-writer after this call are undefined. +** Return SQLITE_OK if flushing the buffered data succeeds or is not +** required. Otherwise, return an SQLite error code. +** +** Before returning, set *piEof to the offset immediately following the +** last byte written to the file. +*/ +static int vdbePmaWriterFinish(PmaWriter *p, i64 *piEof){ + int rc; + if( p->eFWErr==0 && ALWAYS(p->aBuffer) && p->iBufEnd>p->iBufStart ){ + p->eFWErr = sqlite3OsWrite(p->pFd, + &p->aBuffer[p->iBufStart], p->iBufEnd - p->iBufStart, + p->iWriteOff + p->iBufStart + ); + } + *piEof = (p->iWriteOff + p->iBufEnd); + sqlite3_free(p->aBuffer); + rc = p->eFWErr; + memset(p, 0, sizeof(PmaWriter)); + return rc; +} + +/* +** Write value iVal encoded as a varint to the PMA. Return +** SQLITE_OK if successful, or an SQLite error code if an error occurs. +*/ +static void vdbePmaWriteVarint(PmaWriter *p, u64 iVal){ + int nByte; + u8 aByte[10]; + nByte = sqlite3PutVarint(aByte, iVal); + vdbePmaWriteBlob(p, aByte, nByte); +} + +/* +** Write the current contents of in-memory linked-list pList to a level-0 +** PMA in the temp file belonging to sub-task pTask. Return SQLITE_OK if +** successful, or an SQLite error code otherwise. +** +** The format of a PMA is: +** +** * A varint. This varint contains the total number of bytes of content +** in the PMA (not including the varint itself). +** +** * One or more records packed end-to-end in order of ascending keys. +** Each record consists of a varint followed by a blob of data (the +** key). The varint is the number of bytes in the blob of data. +*/ +static int vdbeSorterListToPMA(SortSubtask *pTask, SorterList *pList){ + sqlite3 *db = pTask->pSorter->db; + int rc = SQLITE_OK; /* Return code */ + PmaWriter writer; /* Object used to write to the file */ + +#ifdef SQLITE_DEBUG + /* Set iSz to the expected size of file pTask->file after writing the PMA. + ** This is used by an assert() statement at the end of this function. */ + i64 iSz = pList->szPMA + sqlite3VarintLen(pList->szPMA) + pTask->file.iEof; +#endif + + vdbeSorterWorkDebug(pTask, "enter"); + memset(&writer, 0, sizeof(PmaWriter)); + assert( pList->szPMA>0 ); + + /* If the first temporary PMA file has not been opened, open it now. */ + if( pTask->file.pFd==0 ){ + rc = vdbeSorterOpenTempFile(db, 0, &pTask->file.pFd); + assert( rc!=SQLITE_OK || pTask->file.pFd ); + assert( pTask->file.iEof==0 ); + assert( pTask->nPMA==0 ); + } + + /* Try to get the file to memory map */ + if( rc==SQLITE_OK ){ + vdbeSorterExtendFile(db, pTask->file.pFd, pTask->file.iEof+pList->szPMA+9); + } + + /* Sort the list */ + if( rc==SQLITE_OK ){ + rc = vdbeSorterSort(pTask, pList); + } + + if( rc==SQLITE_OK ){ + SorterRecord *p; + SorterRecord *pNext = 0; + + vdbePmaWriterInit(pTask->file.pFd, &writer, pTask->pSorter->pgsz, + pTask->file.iEof); + pTask->nPMA++; + vdbePmaWriteVarint(&writer, pList->szPMA); + for(p=pList->pList; p; p=pNext){ + pNext = p->u.pNext; + vdbePmaWriteVarint(&writer, p->nVal); + vdbePmaWriteBlob(&writer, SRVAL(p), p->nVal); + if( pList->aMemory==0 ) sqlite3_free(p); + } + pList->pList = p; + rc = vdbePmaWriterFinish(&writer, &pTask->file.iEof); + } + + vdbeSorterWorkDebug(pTask, "exit"); + assert( rc!=SQLITE_OK || pList->pList==0 ); + assert( rc!=SQLITE_OK || pTask->file.iEof==iSz ); + return rc; +} + +/* +** Advance the MergeEngine to its next entry. +** Set *pbEof to true there is no next entry because +** the MergeEngine has reached the end of all its inputs. +** +** Return SQLITE_OK if successful or an error code if an error occurs. +*/ +static int vdbeMergeEngineStep( + MergeEngine *pMerger, /* The merge engine to advance to the next row */ + int *pbEof /* Set TRUE at EOF. Set false for more content */ +){ + int rc; + int iPrev = pMerger->aTree[1];/* Index of PmaReader to advance */ + SortSubtask *pTask = pMerger->pTask; + + /* Advance the current PmaReader */ + rc = vdbePmaReaderNext(&pMerger->aReadr[iPrev]); + + /* Update contents of aTree[] */ + if( rc==SQLITE_OK ){ + int i; /* Index of aTree[] to recalculate */ + PmaReader *pReadr1; /* First PmaReader to compare */ + PmaReader *pReadr2; /* Second PmaReader to compare */ + int bCached = 0; + + /* Find the first two PmaReaders to compare. The one that was just + ** advanced (iPrev) and the one next to it in the array. */ + pReadr1 = &pMerger->aReadr[(iPrev & 0xFFFE)]; + pReadr2 = &pMerger->aReadr[(iPrev | 0x0001)]; + + for(i=(pMerger->nTree+iPrev)/2; i>0; i=i/2){ + /* Compare pReadr1 and pReadr2. Store the result in variable iRes. */ + int iRes; + if( pReadr1->pFd==0 ){ + iRes = +1; + }else if( pReadr2->pFd==0 ){ + iRes = -1; + }else{ + iRes = pTask->xCompare(pTask, &bCached, + pReadr1->aKey, pReadr1->nKey, pReadr2->aKey, pReadr2->nKey + ); + } + + /* If pReadr1 contained the smaller value, set aTree[i] to its index. + ** Then set pReadr2 to the next PmaReader to compare to pReadr1. In this + ** case there is no cache of pReadr2 in pTask->pUnpacked, so set + ** pKey2 to point to the record belonging to pReadr2. + ** + ** Alternatively, if pReadr2 contains the smaller of the two values, + ** set aTree[i] to its index and update pReadr1. If vdbeSorterCompare() + ** was actually called above, then pTask->pUnpacked now contains + ** a value equivalent to pReadr2. So set pKey2 to NULL to prevent + ** vdbeSorterCompare() from decoding pReadr2 again. + ** + ** If the two values were equal, then the value from the oldest + ** PMA should be considered smaller. The VdbeSorter.aReadr[] array + ** is sorted from oldest to newest, so pReadr1 contains older values + ** than pReadr2 iff (pReadr1aTree[i] = (int)(pReadr1 - pMerger->aReadr); + pReadr2 = &pMerger->aReadr[ pMerger->aTree[i ^ 0x0001] ]; + bCached = 0; + }else{ + if( pReadr1->pFd ) bCached = 0; + pMerger->aTree[i] = (int)(pReadr2 - pMerger->aReadr); + pReadr1 = &pMerger->aReadr[ pMerger->aTree[i ^ 0x0001] ]; + } + } + *pbEof = (pMerger->aReadr[pMerger->aTree[1]].pFd==0); + } + + return (rc==SQLITE_OK ? pTask->pUnpacked->errCode : rc); +} + +#if SQLITE_MAX_WORKER_THREADS>0 +/* +** The main routine for background threads that write level-0 PMAs. +*/ +static void *vdbeSorterFlushThread(void *pCtx){ + SortSubtask *pTask = (SortSubtask*)pCtx; + int rc; /* Return code */ + assert( pTask->bDone==0 ); + rc = vdbeSorterListToPMA(pTask, &pTask->list); + pTask->bDone = 1; + return SQLITE_INT_TO_PTR(rc); +} +#endif /* SQLITE_MAX_WORKER_THREADS>0 */ + +/* +** Flush the current contents of VdbeSorter.list to a new PMA, possibly +** using a background thread. +*/ +static int vdbeSorterFlushPMA(VdbeSorter *pSorter){ +#if SQLITE_MAX_WORKER_THREADS==0 + pSorter->bUsePMA = 1; + return vdbeSorterListToPMA(&pSorter->aTask[0], &pSorter->list); +#else + int rc = SQLITE_OK; + int i; + SortSubtask *pTask = 0; /* Thread context used to create new PMA */ + int nWorker = (pSorter->nTask-1); + + /* Set the flag to indicate that at least one PMA has been written. + ** Or will be, anyhow. */ + pSorter->bUsePMA = 1; + + /* Select a sub-task to sort and flush the current list of in-memory + ** records to disk. If the sorter is running in multi-threaded mode, + ** round-robin between the first (pSorter->nTask-1) tasks. Except, if + ** the background thread from a sub-tasks previous turn is still running, + ** skip it. If the first (pSorter->nTask-1) sub-tasks are all still busy, + ** fall back to using the final sub-task. The first (pSorter->nTask-1) + ** sub-tasks are prefered as they use background threads - the final + ** sub-task uses the main thread. */ + for(i=0; iiPrev + i + 1) % nWorker; + pTask = &pSorter->aTask[iTest]; + if( pTask->bDone ){ + rc = vdbeSorterJoinThread(pTask); + } + if( rc!=SQLITE_OK || pTask->pThread==0 ) break; + } + + if( rc==SQLITE_OK ){ + if( i==nWorker ){ + /* Use the foreground thread for this operation */ + rc = vdbeSorterListToPMA(&pSorter->aTask[nWorker], &pSorter->list); + }else{ + /* Launch a background thread for this operation */ + u8 *aMem; + void *pCtx; + + assert( pTask!=0 ); + assert( pTask->pThread==0 && pTask->bDone==0 ); + assert( pTask->list.pList==0 ); + assert( pTask->list.aMemory==0 || pSorter->list.aMemory!=0 ); + + aMem = pTask->list.aMemory; + pCtx = (void*)pTask; + pSorter->iPrev = (u8)(pTask - pSorter->aTask); + pTask->list = pSorter->list; + pSorter->list.pList = 0; + pSorter->list.szPMA = 0; + if( aMem ){ + pSorter->list.aMemory = aMem; + pSorter->nMemory = sqlite3MallocSize(aMem); + }else if( pSorter->list.aMemory ){ + pSorter->list.aMemory = sqlite3Malloc(pSorter->nMemory); + if( !pSorter->list.aMemory ) return SQLITE_NOMEM_BKPT; + } + + rc = vdbeSorterCreateThread(pTask, vdbeSorterFlushThread, pCtx); + } + } + + return rc; +#endif /* SQLITE_MAX_WORKER_THREADS!=0 */ +} + +/* +** Add a record to the sorter. +*/ +SQLITE_PRIVATE int sqlite3VdbeSorterWrite( + const VdbeCursor *pCsr, /* Sorter cursor */ + Mem *pVal /* Memory cell containing record */ +){ + VdbeSorter *pSorter; + int rc = SQLITE_OK; /* Return Code */ + SorterRecord *pNew; /* New list element */ + int bFlush; /* True to flush contents of memory to PMA */ + int nReq; /* Bytes of memory required */ + int nPMA; /* Bytes of PMA space required */ + int t; /* serial type of first record field */ + + assert( pCsr->eCurType==CURTYPE_SORTER ); + pSorter = pCsr->uc.pSorter; + getVarint32((const u8*)&pVal->z[1], t); + if( t>0 && t<10 && t!=7 ){ + pSorter->typeMask &= SORTER_TYPE_INTEGER; + }else if( t>10 && (t & 0x01) ){ + pSorter->typeMask &= SORTER_TYPE_TEXT; + }else{ + pSorter->typeMask = 0; + } + + assert( pSorter ); + + /* Figure out whether or not the current contents of memory should be + ** flushed to a PMA before continuing. If so, do so. + ** + ** If using the single large allocation mode (pSorter->aMemory!=0), then + ** flush the contents of memory to a new PMA if (a) at least one value is + ** already in memory and (b) the new value will not fit in memory. + ** + ** Or, if using separate allocations for each record, flush the contents + ** of memory to a PMA if either of the following are true: + ** + ** * The total memory allocated for the in-memory list is greater + ** than (page-size * cache-size), or + ** + ** * The total memory allocated for the in-memory list is greater + ** than (page-size * 10) and sqlite3HeapNearlyFull() returns true. + */ + nReq = pVal->n + sizeof(SorterRecord); + nPMA = pVal->n + sqlite3VarintLen(pVal->n); + if( pSorter->mxPmaSize ){ + if( pSorter->list.aMemory ){ + bFlush = pSorter->iMemory && (pSorter->iMemory+nReq) > pSorter->mxPmaSize; + }else{ + bFlush = ( + (pSorter->list.szPMA > pSorter->mxPmaSize) + || (pSorter->list.szPMA > pSorter->mnPmaSize && sqlite3HeapNearlyFull()) + ); + } + if( bFlush ){ + rc = vdbeSorterFlushPMA(pSorter); + pSorter->list.szPMA = 0; + pSorter->iMemory = 0; + assert( rc!=SQLITE_OK || pSorter->list.pList==0 ); + } + } + + pSorter->list.szPMA += nPMA; + if( nPMA>pSorter->mxKeysize ){ + pSorter->mxKeysize = nPMA; + } + + if( pSorter->list.aMemory ){ + int nMin = pSorter->iMemory + nReq; + + if( nMin>pSorter->nMemory ){ + u8 *aNew; + sqlite3_int64 nNew = 2 * (sqlite3_int64)pSorter->nMemory; + int iListOff = -1; + if( pSorter->list.pList ){ + iListOff = (u8*)pSorter->list.pList - pSorter->list.aMemory; + } + while( nNew < nMin ) nNew = nNew*2; + if( nNew > pSorter->mxPmaSize ) nNew = pSorter->mxPmaSize; + if( nNew < nMin ) nNew = nMin; + aNew = sqlite3Realloc(pSorter->list.aMemory, nNew); + if( !aNew ) return SQLITE_NOMEM_BKPT; + if( iListOff>=0 ){ + pSorter->list.pList = (SorterRecord*)&aNew[iListOff]; + } + pSorter->list.aMemory = aNew; + pSorter->nMemory = nNew; + } + + pNew = (SorterRecord*)&pSorter->list.aMemory[pSorter->iMemory]; + pSorter->iMemory += ROUND8(nReq); + if( pSorter->list.pList ){ + pNew->u.iNext = (int)((u8*)(pSorter->list.pList) - pSorter->list.aMemory); + } + }else{ + pNew = (SorterRecord *)sqlite3Malloc(nReq); + if( pNew==0 ){ + return SQLITE_NOMEM_BKPT; + } + pNew->u.pNext = pSorter->list.pList; + } + + memcpy(SRVAL(pNew), pVal->z, pVal->n); + pNew->nVal = pVal->n; + pSorter->list.pList = pNew; + + return rc; +} + +/* +** Read keys from pIncr->pMerger and populate pIncr->aFile[1]. The format +** of the data stored in aFile[1] is the same as that used by regular PMAs, +** except that the number-of-bytes varint is omitted from the start. +*/ +static int vdbeIncrPopulate(IncrMerger *pIncr){ + int rc = SQLITE_OK; + int rc2; + i64 iStart = pIncr->iStartOff; + SorterFile *pOut = &pIncr->aFile[1]; + SortSubtask *pTask = pIncr->pTask; + MergeEngine *pMerger = pIncr->pMerger; + PmaWriter writer; + assert( pIncr->bEof==0 ); + + vdbeSorterPopulateDebug(pTask, "enter"); + + vdbePmaWriterInit(pOut->pFd, &writer, pTask->pSorter->pgsz, iStart); + while( rc==SQLITE_OK ){ + int dummy; + PmaReader *pReader = &pMerger->aReadr[ pMerger->aTree[1] ]; + int nKey = pReader->nKey; + i64 iEof = writer.iWriteOff + writer.iBufEnd; + + /* Check if the output file is full or if the input has been exhausted. + ** In either case exit the loop. */ + if( pReader->pFd==0 ) break; + if( (iEof + nKey + sqlite3VarintLen(nKey))>(iStart + pIncr->mxSz) ) break; + + /* Write the next key to the output. */ + vdbePmaWriteVarint(&writer, nKey); + vdbePmaWriteBlob(&writer, pReader->aKey, nKey); + assert( pIncr->pMerger->pTask==pTask ); + rc = vdbeMergeEngineStep(pIncr->pMerger, &dummy); + } + + rc2 = vdbePmaWriterFinish(&writer, &pOut->iEof); + if( rc==SQLITE_OK ) rc = rc2; + vdbeSorterPopulateDebug(pTask, "exit"); + return rc; +} + +#if SQLITE_MAX_WORKER_THREADS>0 +/* +** The main routine for background threads that populate aFile[1] of +** multi-threaded IncrMerger objects. +*/ +static void *vdbeIncrPopulateThread(void *pCtx){ + IncrMerger *pIncr = (IncrMerger*)pCtx; + void *pRet = SQLITE_INT_TO_PTR( vdbeIncrPopulate(pIncr) ); + pIncr->pTask->bDone = 1; + return pRet; +} + +/* +** Launch a background thread to populate aFile[1] of pIncr. +*/ +static int vdbeIncrBgPopulate(IncrMerger *pIncr){ + void *p = (void*)pIncr; + assert( pIncr->bUseThread ); + return vdbeSorterCreateThread(pIncr->pTask, vdbeIncrPopulateThread, p); +} +#endif + +/* +** This function is called when the PmaReader corresponding to pIncr has +** finished reading the contents of aFile[0]. Its purpose is to "refill" +** aFile[0] such that the PmaReader should start rereading it from the +** beginning. +** +** For single-threaded objects, this is accomplished by literally reading +** keys from pIncr->pMerger and repopulating aFile[0]. +** +** For multi-threaded objects, all that is required is to wait until the +** background thread is finished (if it is not already) and then swap +** aFile[0] and aFile[1] in place. If the contents of pMerger have not +** been exhausted, this function also launches a new background thread +** to populate the new aFile[1]. +** +** SQLITE_OK is returned on success, or an SQLite error code otherwise. +*/ +static int vdbeIncrSwap(IncrMerger *pIncr){ + int rc = SQLITE_OK; + +#if SQLITE_MAX_WORKER_THREADS>0 + if( pIncr->bUseThread ){ + rc = vdbeSorterJoinThread(pIncr->pTask); + + if( rc==SQLITE_OK ){ + SorterFile f0 = pIncr->aFile[0]; + pIncr->aFile[0] = pIncr->aFile[1]; + pIncr->aFile[1] = f0; + } + + if( rc==SQLITE_OK ){ + if( pIncr->aFile[0].iEof==pIncr->iStartOff ){ + pIncr->bEof = 1; + }else{ + rc = vdbeIncrBgPopulate(pIncr); + } + } + }else +#endif + { + rc = vdbeIncrPopulate(pIncr); + pIncr->aFile[0] = pIncr->aFile[1]; + if( pIncr->aFile[0].iEof==pIncr->iStartOff ){ + pIncr->bEof = 1; + } + } + + return rc; +} + +/* +** Allocate and return a new IncrMerger object to read data from pMerger. +** +** If an OOM condition is encountered, return NULL. In this case free the +** pMerger argument before returning. +*/ +static int vdbeIncrMergerNew( + SortSubtask *pTask, /* The thread that will be using the new IncrMerger */ + MergeEngine *pMerger, /* The MergeEngine that the IncrMerger will control */ + IncrMerger **ppOut /* Write the new IncrMerger here */ +){ + int rc = SQLITE_OK; + IncrMerger *pIncr = *ppOut = (IncrMerger*) + (sqlite3FaultSim(100) ? 0 : sqlite3MallocZero(sizeof(*pIncr))); + if( pIncr ){ + pIncr->pMerger = pMerger; + pIncr->pTask = pTask; + pIncr->mxSz = MAX(pTask->pSorter->mxKeysize+9,pTask->pSorter->mxPmaSize/2); + pTask->file2.iEof += pIncr->mxSz; + }else{ + vdbeMergeEngineFree(pMerger); + rc = SQLITE_NOMEM_BKPT; + } + return rc; +} + +#if SQLITE_MAX_WORKER_THREADS>0 +/* +** Set the "use-threads" flag on object pIncr. +*/ +static void vdbeIncrMergerSetThreads(IncrMerger *pIncr){ + pIncr->bUseThread = 1; + pIncr->pTask->file2.iEof -= pIncr->mxSz; +} +#endif /* SQLITE_MAX_WORKER_THREADS>0 */ + + + +/* +** Recompute pMerger->aTree[iOut] by comparing the next keys on the +** two PmaReaders that feed that entry. Neither of the PmaReaders +** are advanced. This routine merely does the comparison. +*/ +static void vdbeMergeEngineCompare( + MergeEngine *pMerger, /* Merge engine containing PmaReaders to compare */ + int iOut /* Store the result in pMerger->aTree[iOut] */ +){ + int i1; + int i2; + int iRes; + PmaReader *p1; + PmaReader *p2; + + assert( iOutnTree && iOut>0 ); + + if( iOut>=(pMerger->nTree/2) ){ + i1 = (iOut - pMerger->nTree/2) * 2; + i2 = i1 + 1; + }else{ + i1 = pMerger->aTree[iOut*2]; + i2 = pMerger->aTree[iOut*2+1]; + } + + p1 = &pMerger->aReadr[i1]; + p2 = &pMerger->aReadr[i2]; + + if( p1->pFd==0 ){ + iRes = i2; + }else if( p2->pFd==0 ){ + iRes = i1; + }else{ + SortSubtask *pTask = pMerger->pTask; + int bCached = 0; + int res; + assert( pTask->pUnpacked!=0 ); /* from vdbeSortSubtaskMain() */ + res = pTask->xCompare( + pTask, &bCached, p1->aKey, p1->nKey, p2->aKey, p2->nKey + ); + if( res<=0 ){ + iRes = i1; + }else{ + iRes = i2; + } + } + + pMerger->aTree[iOut] = iRes; +} + +/* +** Allowed values for the eMode parameter to vdbeMergeEngineInit() +** and vdbePmaReaderIncrMergeInit(). +** +** Only INCRINIT_NORMAL is valid in single-threaded builds (when +** SQLITE_MAX_WORKER_THREADS==0). The other values are only used +** when there exists one or more separate worker threads. +*/ +#define INCRINIT_NORMAL 0 +#define INCRINIT_TASK 1 +#define INCRINIT_ROOT 2 + +/* +** Forward reference required as the vdbeIncrMergeInit() and +** vdbePmaReaderIncrInit() routines are called mutually recursively when +** building a merge tree. +*/ +static int vdbePmaReaderIncrInit(PmaReader *pReadr, int eMode); + +/* +** Initialize the MergeEngine object passed as the second argument. Once this +** function returns, the first key of merged data may be read from the +** MergeEngine object in the usual fashion. +** +** If argument eMode is INCRINIT_ROOT, then it is assumed that any IncrMerge +** objects attached to the PmaReader objects that the merger reads from have +** already been populated, but that they have not yet populated aFile[0] and +** set the PmaReader objects up to read from it. In this case all that is +** required is to call vdbePmaReaderNext() on each PmaReader to point it at +** its first key. +** +** Otherwise, if eMode is any value other than INCRINIT_ROOT, then use +** vdbePmaReaderIncrMergeInit() to initialize each PmaReader that feeds data +** to pMerger. +** +** SQLITE_OK is returned if successful, or an SQLite error code otherwise. +*/ +static int vdbeMergeEngineInit( + SortSubtask *pTask, /* Thread that will run pMerger */ + MergeEngine *pMerger, /* MergeEngine to initialize */ + int eMode /* One of the INCRINIT_XXX constants */ +){ + int rc = SQLITE_OK; /* Return code */ + int i; /* For looping over PmaReader objects */ + int nTree; /* Number of subtrees to merge */ + + /* Failure to allocate the merge would have been detected prior to + ** invoking this routine */ + assert( pMerger!=0 ); + + /* eMode is always INCRINIT_NORMAL in single-threaded mode */ + assert( SQLITE_MAX_WORKER_THREADS>0 || eMode==INCRINIT_NORMAL ); + + /* Verify that the MergeEngine is assigned to a single thread */ + assert( pMerger->pTask==0 ); + pMerger->pTask = pTask; + + nTree = pMerger->nTree; + for(i=0; i0 && eMode==INCRINIT_ROOT ){ + /* PmaReaders should be normally initialized in order, as if they are + ** reading from the same temp file this makes for more linear file IO. + ** However, in the INCRINIT_ROOT case, if PmaReader aReadr[nTask-1] is + ** in use it will block the vdbePmaReaderNext() call while it uses + ** the main thread to fill its buffer. So calling PmaReaderNext() + ** on this PmaReader before any of the multi-threaded PmaReaders takes + ** better advantage of multi-processor hardware. */ + rc = vdbePmaReaderNext(&pMerger->aReadr[nTree-i-1]); + }else{ + rc = vdbePmaReaderIncrInit(&pMerger->aReadr[i], INCRINIT_NORMAL); + } + if( rc!=SQLITE_OK ) return rc; + } + + for(i=pMerger->nTree-1; i>0; i--){ + vdbeMergeEngineCompare(pMerger, i); + } + return pTask->pUnpacked->errCode; +} + +/* +** The PmaReader passed as the first argument is guaranteed to be an +** incremental-reader (pReadr->pIncr!=0). This function serves to open +** and/or initialize the temp file related fields of the IncrMerge +** object at (pReadr->pIncr). +** +** If argument eMode is set to INCRINIT_NORMAL, then all PmaReaders +** in the sub-tree headed by pReadr are also initialized. Data is then +** loaded into the buffers belonging to pReadr and it is set to point to +** the first key in its range. +** +** If argument eMode is set to INCRINIT_TASK, then pReadr is guaranteed +** to be a multi-threaded PmaReader and this function is being called in a +** background thread. In this case all PmaReaders in the sub-tree are +** initialized as for INCRINIT_NORMAL and the aFile[1] buffer belonging to +** pReadr is populated. However, pReadr itself is not set up to point +** to its first key. A call to vdbePmaReaderNext() is still required to do +** that. +** +** The reason this function does not call vdbePmaReaderNext() immediately +** in the INCRINIT_TASK case is that vdbePmaReaderNext() assumes that it has +** to block on thread (pTask->thread) before accessing aFile[1]. But, since +** this entire function is being run by thread (pTask->thread), that will +** lead to the current background thread attempting to join itself. +** +** Finally, if argument eMode is set to INCRINIT_ROOT, it may be assumed +** that pReadr->pIncr is a multi-threaded IncrMerge objects, and that all +** child-trees have already been initialized using IncrInit(INCRINIT_TASK). +** In this case vdbePmaReaderNext() is called on all child PmaReaders and +** the current PmaReader set to point to the first key in its range. +** +** SQLITE_OK is returned if successful, or an SQLite error code otherwise. +*/ +static int vdbePmaReaderIncrMergeInit(PmaReader *pReadr, int eMode){ + int rc = SQLITE_OK; + IncrMerger *pIncr = pReadr->pIncr; + SortSubtask *pTask = pIncr->pTask; + sqlite3 *db = pTask->pSorter->db; + + /* eMode is always INCRINIT_NORMAL in single-threaded mode */ + assert( SQLITE_MAX_WORKER_THREADS>0 || eMode==INCRINIT_NORMAL ); + + rc = vdbeMergeEngineInit(pTask, pIncr->pMerger, eMode); + + /* Set up the required files for pIncr. A multi-theaded IncrMerge object + ** requires two temp files to itself, whereas a single-threaded object + ** only requires a region of pTask->file2. */ + if( rc==SQLITE_OK ){ + int mxSz = pIncr->mxSz; +#if SQLITE_MAX_WORKER_THREADS>0 + if( pIncr->bUseThread ){ + rc = vdbeSorterOpenTempFile(db, mxSz, &pIncr->aFile[0].pFd); + if( rc==SQLITE_OK ){ + rc = vdbeSorterOpenTempFile(db, mxSz, &pIncr->aFile[1].pFd); + } + }else +#endif + /*if( !pIncr->bUseThread )*/{ + if( pTask->file2.pFd==0 ){ + assert( pTask->file2.iEof>0 ); + rc = vdbeSorterOpenTempFile(db, pTask->file2.iEof, &pTask->file2.pFd); + pTask->file2.iEof = 0; + } + if( rc==SQLITE_OK ){ + pIncr->aFile[1].pFd = pTask->file2.pFd; + pIncr->iStartOff = pTask->file2.iEof; + pTask->file2.iEof += mxSz; + } + } + } + +#if SQLITE_MAX_WORKER_THREADS>0 + if( rc==SQLITE_OK && pIncr->bUseThread ){ + /* Use the current thread to populate aFile[1], even though this + ** PmaReader is multi-threaded. If this is an INCRINIT_TASK object, + ** then this function is already running in background thread + ** pIncr->pTask->thread. + ** + ** If this is the INCRINIT_ROOT object, then it is running in the + ** main VDBE thread. But that is Ok, as that thread cannot return + ** control to the VDBE or proceed with anything useful until the + ** first results are ready from this merger object anyway. + */ + assert( eMode==INCRINIT_ROOT || eMode==INCRINIT_TASK ); + rc = vdbeIncrPopulate(pIncr); + } +#endif + + if( rc==SQLITE_OK && (SQLITE_MAX_WORKER_THREADS==0 || eMode!=INCRINIT_TASK) ){ + rc = vdbePmaReaderNext(pReadr); + } + + return rc; +} + +#if SQLITE_MAX_WORKER_THREADS>0 +/* +** The main routine for vdbePmaReaderIncrMergeInit() operations run in +** background threads. +*/ +static void *vdbePmaReaderBgIncrInit(void *pCtx){ + PmaReader *pReader = (PmaReader*)pCtx; + void *pRet = SQLITE_INT_TO_PTR( + vdbePmaReaderIncrMergeInit(pReader,INCRINIT_TASK) + ); + pReader->pIncr->pTask->bDone = 1; + return pRet; +} +#endif + +/* +** If the PmaReader passed as the first argument is not an incremental-reader +** (if pReadr->pIncr==0), then this function is a no-op. Otherwise, it invokes +** the vdbePmaReaderIncrMergeInit() function with the parameters passed to +** this routine to initialize the incremental merge. +** +** If the IncrMerger object is multi-threaded (IncrMerger.bUseThread==1), +** then a background thread is launched to call vdbePmaReaderIncrMergeInit(). +** Or, if the IncrMerger is single threaded, the same function is called +** using the current thread. +*/ +static int vdbePmaReaderIncrInit(PmaReader *pReadr, int eMode){ + IncrMerger *pIncr = pReadr->pIncr; /* Incremental merger */ + int rc = SQLITE_OK; /* Return code */ + if( pIncr ){ +#if SQLITE_MAX_WORKER_THREADS>0 + assert( pIncr->bUseThread==0 || eMode==INCRINIT_TASK ); + if( pIncr->bUseThread ){ + void *pCtx = (void*)pReadr; + rc = vdbeSorterCreateThread(pIncr->pTask, vdbePmaReaderBgIncrInit, pCtx); + }else +#endif + { + rc = vdbePmaReaderIncrMergeInit(pReadr, eMode); + } + } + return rc; +} + +/* +** Allocate a new MergeEngine object to merge the contents of nPMA level-0 +** PMAs from pTask->file. If no error occurs, set *ppOut to point to +** the new object and return SQLITE_OK. Or, if an error does occur, set *ppOut +** to NULL and return an SQLite error code. +** +** When this function is called, *piOffset is set to the offset of the +** first PMA to read from pTask->file. Assuming no error occurs, it is +** set to the offset immediately following the last byte of the last +** PMA before returning. If an error does occur, then the final value of +** *piOffset is undefined. +*/ +static int vdbeMergeEngineLevel0( + SortSubtask *pTask, /* Sorter task to read from */ + int nPMA, /* Number of PMAs to read */ + i64 *piOffset, /* IN/OUT: Readr offset in pTask->file */ + MergeEngine **ppOut /* OUT: New merge-engine */ +){ + MergeEngine *pNew; /* Merge engine to return */ + i64 iOff = *piOffset; + int i; + int rc = SQLITE_OK; + + *ppOut = pNew = vdbeMergeEngineNew(nPMA); + if( pNew==0 ) rc = SQLITE_NOMEM_BKPT; + + for(i=0; iaReadr[i]; + rc = vdbePmaReaderInit(pTask, &pTask->file, iOff, pReadr, &nDummy); + iOff = pReadr->iEof; + } + + if( rc!=SQLITE_OK ){ + vdbeMergeEngineFree(pNew); + *ppOut = 0; + } + *piOffset = iOff; + return rc; +} + +/* +** Return the depth of a tree comprising nPMA PMAs, assuming a fanout of +** SORTER_MAX_MERGE_COUNT. The returned value does not include leaf nodes. +** +** i.e. +** +** nPMA<=16 -> TreeDepth() == 0 +** nPMA<=256 -> TreeDepth() == 1 +** nPMA<=65536 -> TreeDepth() == 2 +*/ +static int vdbeSorterTreeDepth(int nPMA){ + int nDepth = 0; + i64 nDiv = SORTER_MAX_MERGE_COUNT; + while( nDiv < (i64)nPMA ){ + nDiv = nDiv * SORTER_MAX_MERGE_COUNT; + nDepth++; + } + return nDepth; +} + +/* +** pRoot is the root of an incremental merge-tree with depth nDepth (according +** to vdbeSorterTreeDepth()). pLeaf is the iSeq'th leaf to be added to the +** tree, counting from zero. This function adds pLeaf to the tree. +** +** If successful, SQLITE_OK is returned. If an error occurs, an SQLite error +** code is returned and pLeaf is freed. +*/ +static int vdbeSorterAddToTree( + SortSubtask *pTask, /* Task context */ + int nDepth, /* Depth of tree according to TreeDepth() */ + int iSeq, /* Sequence number of leaf within tree */ + MergeEngine *pRoot, /* Root of tree */ + MergeEngine *pLeaf /* Leaf to add to tree */ +){ + int rc = SQLITE_OK; + int nDiv = 1; + int i; + MergeEngine *p = pRoot; + IncrMerger *pIncr; + + rc = vdbeIncrMergerNew(pTask, pLeaf, &pIncr); + + for(i=1; iaReadr[iIter]; + + if( pReadr->pIncr==0 ){ + MergeEngine *pNew = vdbeMergeEngineNew(SORTER_MAX_MERGE_COUNT); + if( pNew==0 ){ + rc = SQLITE_NOMEM_BKPT; + }else{ + rc = vdbeIncrMergerNew(pTask, pNew, &pReadr->pIncr); + } + } + if( rc==SQLITE_OK ){ + p = pReadr->pIncr->pMerger; + nDiv = nDiv / SORTER_MAX_MERGE_COUNT; + } + } + + if( rc==SQLITE_OK ){ + p->aReadr[iSeq % SORTER_MAX_MERGE_COUNT].pIncr = pIncr; + }else{ + vdbeIncrFree(pIncr); + } + return rc; +} + +/* +** This function is called as part of a SorterRewind() operation on a sorter +** that has already written two or more level-0 PMAs to one or more temp +** files. It builds a tree of MergeEngine/IncrMerger/PmaReader objects that +** can be used to incrementally merge all PMAs on disk. +** +** If successful, SQLITE_OK is returned and *ppOut set to point to the +** MergeEngine object at the root of the tree before returning. Or, if an +** error occurs, an SQLite error code is returned and the final value +** of *ppOut is undefined. +*/ +static int vdbeSorterMergeTreeBuild( + VdbeSorter *pSorter, /* The VDBE cursor that implements the sort */ + MergeEngine **ppOut /* Write the MergeEngine here */ +){ + MergeEngine *pMain = 0; + int rc = SQLITE_OK; + int iTask; + +#if SQLITE_MAX_WORKER_THREADS>0 + /* If the sorter uses more than one task, then create the top-level + ** MergeEngine here. This MergeEngine will read data from exactly + ** one PmaReader per sub-task. */ + assert( pSorter->bUseThreads || pSorter->nTask==1 ); + if( pSorter->nTask>1 ){ + pMain = vdbeMergeEngineNew(pSorter->nTask); + if( pMain==0 ) rc = SQLITE_NOMEM_BKPT; + } +#endif + + for(iTask=0; rc==SQLITE_OK && iTasknTask; iTask++){ + SortSubtask *pTask = &pSorter->aTask[iTask]; + assert( pTask->nPMA>0 || SQLITE_MAX_WORKER_THREADS>0 ); + if( SQLITE_MAX_WORKER_THREADS==0 || pTask->nPMA ){ + MergeEngine *pRoot = 0; /* Root node of tree for this task */ + int nDepth = vdbeSorterTreeDepth(pTask->nPMA); + i64 iReadOff = 0; + + if( pTask->nPMA<=SORTER_MAX_MERGE_COUNT ){ + rc = vdbeMergeEngineLevel0(pTask, pTask->nPMA, &iReadOff, &pRoot); + }else{ + int i; + int iSeq = 0; + pRoot = vdbeMergeEngineNew(SORTER_MAX_MERGE_COUNT); + if( pRoot==0 ) rc = SQLITE_NOMEM_BKPT; + for(i=0; inPMA && rc==SQLITE_OK; i += SORTER_MAX_MERGE_COUNT){ + MergeEngine *pMerger = 0; /* New level-0 PMA merger */ + int nReader; /* Number of level-0 PMAs to merge */ + + nReader = MIN(pTask->nPMA - i, SORTER_MAX_MERGE_COUNT); + rc = vdbeMergeEngineLevel0(pTask, nReader, &iReadOff, &pMerger); + if( rc==SQLITE_OK ){ + rc = vdbeSorterAddToTree(pTask, nDepth, iSeq++, pRoot, pMerger); + } + } + } + + if( rc==SQLITE_OK ){ +#if SQLITE_MAX_WORKER_THREADS>0 + if( pMain!=0 ){ + rc = vdbeIncrMergerNew(pTask, pRoot, &pMain->aReadr[iTask].pIncr); + }else +#endif + { + assert( pMain==0 ); + pMain = pRoot; + } + }else{ + vdbeMergeEngineFree(pRoot); + } + } + } + + if( rc!=SQLITE_OK ){ + vdbeMergeEngineFree(pMain); + pMain = 0; + } + *ppOut = pMain; + return rc; +} + +/* +** This function is called as part of an sqlite3VdbeSorterRewind() operation +** on a sorter that has written two or more PMAs to temporary files. It sets +** up either VdbeSorter.pMerger (for single threaded sorters) or pReader +** (for multi-threaded sorters) so that it can be used to iterate through +** all records stored in the sorter. +** +** SQLITE_OK is returned if successful, or an SQLite error code otherwise. +*/ +static int vdbeSorterSetupMerge(VdbeSorter *pSorter){ + int rc; /* Return code */ + SortSubtask *pTask0 = &pSorter->aTask[0]; + MergeEngine *pMain = 0; +#if SQLITE_MAX_WORKER_THREADS + sqlite3 *db = pTask0->pSorter->db; + int i; + SorterCompare xCompare = vdbeSorterGetCompare(pSorter); + for(i=0; inTask; i++){ + pSorter->aTask[i].xCompare = xCompare; + } +#endif + + rc = vdbeSorterMergeTreeBuild(pSorter, &pMain); + if( rc==SQLITE_OK ){ +#if SQLITE_MAX_WORKER_THREADS + assert( pSorter->bUseThreads==0 || pSorter->nTask>1 ); + if( pSorter->bUseThreads ){ + int iTask; + PmaReader *pReadr = 0; + SortSubtask *pLast = &pSorter->aTask[pSorter->nTask-1]; + rc = vdbeSortAllocUnpacked(pLast); + if( rc==SQLITE_OK ){ + pReadr = (PmaReader*)sqlite3DbMallocZero(db, sizeof(PmaReader)); + pSorter->pReader = pReadr; + if( pReadr==0 ) rc = SQLITE_NOMEM_BKPT; + } + if( rc==SQLITE_OK ){ + rc = vdbeIncrMergerNew(pLast, pMain, &pReadr->pIncr); + if( rc==SQLITE_OK ){ + vdbeIncrMergerSetThreads(pReadr->pIncr); + for(iTask=0; iTask<(pSorter->nTask-1); iTask++){ + IncrMerger *pIncr; + if( (pIncr = pMain->aReadr[iTask].pIncr) ){ + vdbeIncrMergerSetThreads(pIncr); + assert( pIncr->pTask!=pLast ); + } + } + for(iTask=0; rc==SQLITE_OK && iTasknTask; iTask++){ + /* Check that: + ** + ** a) The incremental merge object is configured to use the + ** right task, and + ** b) If it is using task (nTask-1), it is configured to run + ** in single-threaded mode. This is important, as the + ** root merge (INCRINIT_ROOT) will be using the same task + ** object. + */ + PmaReader *p = &pMain->aReadr[iTask]; + assert( p->pIncr==0 || ( + (p->pIncr->pTask==&pSorter->aTask[iTask]) /* a */ + && (iTask!=pSorter->nTask-1 || p->pIncr->bUseThread==0) /* b */ + )); + rc = vdbePmaReaderIncrInit(p, INCRINIT_TASK); + } + } + pMain = 0; + } + if( rc==SQLITE_OK ){ + rc = vdbePmaReaderIncrMergeInit(pReadr, INCRINIT_ROOT); + } + }else +#endif + { + rc = vdbeMergeEngineInit(pTask0, pMain, INCRINIT_NORMAL); + pSorter->pMerger = pMain; + pMain = 0; + } + } + + if( rc!=SQLITE_OK ){ + vdbeMergeEngineFree(pMain); + } + return rc; +} + + +/* +** Once the sorter has been populated by calls to sqlite3VdbeSorterWrite, +** this function is called to prepare for iterating through the records +** in sorted order. +*/ +SQLITE_PRIVATE int sqlite3VdbeSorterRewind(const VdbeCursor *pCsr, int *pbEof){ + VdbeSorter *pSorter; + int rc = SQLITE_OK; /* Return code */ + + assert( pCsr->eCurType==CURTYPE_SORTER ); + pSorter = pCsr->uc.pSorter; + assert( pSorter ); + + /* If no data has been written to disk, then do not do so now. Instead, + ** sort the VdbeSorter.pRecord list. The vdbe layer will read data directly + ** from the in-memory list. */ + if( pSorter->bUsePMA==0 ){ + if( pSorter->list.pList ){ + *pbEof = 0; + rc = vdbeSorterSort(&pSorter->aTask[0], &pSorter->list); + }else{ + *pbEof = 1; + } + return rc; + } + + /* Write the current in-memory list to a PMA. When the VdbeSorterWrite() + ** function flushes the contents of memory to disk, it immediately always + ** creates a new list consisting of a single key immediately afterwards. + ** So the list is never empty at this point. */ + assert( pSorter->list.pList ); + rc = vdbeSorterFlushPMA(pSorter); + + /* Join all threads */ + rc = vdbeSorterJoinAll(pSorter, rc); + + vdbeSorterRewindDebug("rewind"); + + /* Assuming no errors have occurred, set up a merger structure to + ** incrementally read and merge all remaining PMAs. */ + assert( pSorter->pReader==0 ); + if( rc==SQLITE_OK ){ + rc = vdbeSorterSetupMerge(pSorter); + *pbEof = 0; + } + + vdbeSorterRewindDebug("rewinddone"); + return rc; +} + +/* +** Advance to the next element in the sorter. Return value: +** +** SQLITE_OK success +** SQLITE_DONE end of data +** otherwise some kind of error. +*/ +SQLITE_PRIVATE int sqlite3VdbeSorterNext(sqlite3 *db, const VdbeCursor *pCsr){ + VdbeSorter *pSorter; + int rc; /* Return code */ + + assert( pCsr->eCurType==CURTYPE_SORTER ); + pSorter = pCsr->uc.pSorter; + assert( pSorter->bUsePMA || (pSorter->pReader==0 && pSorter->pMerger==0) ); + if( pSorter->bUsePMA ){ + assert( pSorter->pReader==0 || pSorter->pMerger==0 ); + assert( pSorter->bUseThreads==0 || pSorter->pReader ); + assert( pSorter->bUseThreads==1 || pSorter->pMerger ); +#if SQLITE_MAX_WORKER_THREADS>0 + if( pSorter->bUseThreads ){ + rc = vdbePmaReaderNext(pSorter->pReader); + if( rc==SQLITE_OK && pSorter->pReader->pFd==0 ) rc = SQLITE_DONE; + }else +#endif + /*if( !pSorter->bUseThreads )*/ { + int res = 0; + assert( pSorter->pMerger!=0 ); + assert( pSorter->pMerger->pTask==(&pSorter->aTask[0]) ); + rc = vdbeMergeEngineStep(pSorter->pMerger, &res); + if( rc==SQLITE_OK && res ) rc = SQLITE_DONE; + } + }else{ + SorterRecord *pFree = pSorter->list.pList; + pSorter->list.pList = pFree->u.pNext; + pFree->u.pNext = 0; + if( pSorter->list.aMemory==0 ) vdbeSorterRecordFree(db, pFree); + rc = pSorter->list.pList ? SQLITE_OK : SQLITE_DONE; + } + return rc; +} + +/* +** Return a pointer to a buffer owned by the sorter that contains the +** current key. +*/ +static void *vdbeSorterRowkey( + const VdbeSorter *pSorter, /* Sorter object */ + int *pnKey /* OUT: Size of current key in bytes */ +){ + void *pKey; + if( pSorter->bUsePMA ){ + PmaReader *pReader; +#if SQLITE_MAX_WORKER_THREADS>0 + if( pSorter->bUseThreads ){ + pReader = pSorter->pReader; + }else +#endif + /*if( !pSorter->bUseThreads )*/{ + pReader = &pSorter->pMerger->aReadr[pSorter->pMerger->aTree[1]]; + } + *pnKey = pReader->nKey; + pKey = pReader->aKey; + }else{ + *pnKey = pSorter->list.pList->nVal; + pKey = SRVAL(pSorter->list.pList); + } + return pKey; +} + +/* +** Copy the current sorter key into the memory cell pOut. +*/ +SQLITE_PRIVATE int sqlite3VdbeSorterRowkey(const VdbeCursor *pCsr, Mem *pOut){ + VdbeSorter *pSorter; + void *pKey; int nKey; /* Sorter key to copy into pOut */ + + assert( pCsr->eCurType==CURTYPE_SORTER ); + pSorter = pCsr->uc.pSorter; + pKey = vdbeSorterRowkey(pSorter, &nKey); + if( sqlite3VdbeMemClearAndResize(pOut, nKey) ){ + return SQLITE_NOMEM_BKPT; + } + pOut->n = nKey; + MemSetTypeFlag(pOut, MEM_Blob); + memcpy(pOut->z, pKey, nKey); + + return SQLITE_OK; +} + +/* +** Compare the key in memory cell pVal with the key that the sorter cursor +** passed as the first argument currently points to. For the purposes of +** the comparison, ignore the rowid field at the end of each record. +** +** If the sorter cursor key contains any NULL values, consider it to be +** less than pVal. Even if pVal also contains NULL values. +** +** If an error occurs, return an SQLite error code (i.e. SQLITE_NOMEM). +** Otherwise, set *pRes to a negative, zero or positive value if the +** key in pVal is smaller than, equal to or larger than the current sorter +** key. +** +** This routine forms the core of the OP_SorterCompare opcode, which in +** turn is used to verify uniqueness when constructing a UNIQUE INDEX. +*/ +SQLITE_PRIVATE int sqlite3VdbeSorterCompare( + const VdbeCursor *pCsr, /* Sorter cursor */ + Mem *pVal, /* Value to compare to current sorter key */ + int nKeyCol, /* Compare this many columns */ + int *pRes /* OUT: Result of comparison */ +){ + VdbeSorter *pSorter; + UnpackedRecord *r2; + KeyInfo *pKeyInfo; + int i; + void *pKey; int nKey; /* Sorter key to compare pVal with */ + + assert( pCsr->eCurType==CURTYPE_SORTER ); + pSorter = pCsr->uc.pSorter; + r2 = pSorter->pUnpacked; + pKeyInfo = pCsr->pKeyInfo; + if( r2==0 ){ + r2 = pSorter->pUnpacked = sqlite3VdbeAllocUnpackedRecord(pKeyInfo); + if( r2==0 ) return SQLITE_NOMEM_BKPT; + r2->nField = nKeyCol; + } + assert( r2->nField==nKeyCol ); + + pKey = vdbeSorterRowkey(pSorter, &nKey); + sqlite3VdbeRecordUnpack(pKeyInfo, nKey, pKey, r2); + for(i=0; iaMem[i].flags & MEM_Null ){ + *pRes = -1; + return SQLITE_OK; + } + } + + *pRes = sqlite3VdbeRecordCompare(pVal->n, pVal->z, r2); + return SQLITE_OK; +} + +/************** End of vdbesort.c ********************************************/ +/************** Begin file memjournal.c **************************************/ +/* +** 2008 October 7 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains code use to implement an in-memory rollback journal. +** The in-memory rollback journal is used to journal transactions for +** ":memory:" databases and when the journal_mode=MEMORY pragma is used. +** +** Update: The in-memory journal is also used to temporarily cache +** smaller journals that are not critical for power-loss recovery. +** For example, statement journals that are not too big will be held +** entirely in memory, thus reducing the number of file I/O calls, and +** more importantly, reducing temporary file creation events. If these +** journals become too large for memory, they are spilled to disk. But +** in the common case, they are usually small and no file I/O needs to +** occur. +*/ +/* #include "sqliteInt.h" */ + +/* Forward references to internal structures */ +typedef struct MemJournal MemJournal; +typedef struct FilePoint FilePoint; +typedef struct FileChunk FileChunk; + +/* +** The rollback journal is composed of a linked list of these structures. +** +** The zChunk array is always at least 8 bytes in size - usually much more. +** Its actual size is stored in the MemJournal.nChunkSize variable. +*/ +struct FileChunk { + FileChunk *pNext; /* Next chunk in the journal */ + u8 zChunk[8]; /* Content of this chunk */ +}; + +/* +** By default, allocate this many bytes of memory for each FileChunk object. +*/ +#define MEMJOURNAL_DFLT_FILECHUNKSIZE 1024 + +/* +** For chunk size nChunkSize, return the number of bytes that should +** be allocated for each FileChunk structure. +*/ +#define fileChunkSize(nChunkSize) (sizeof(FileChunk) + ((nChunkSize)-8)) + +/* +** An instance of this object serves as a cursor into the rollback journal. +** The cursor can be either for reading or writing. +*/ +struct FilePoint { + sqlite3_int64 iOffset; /* Offset from the beginning of the file */ + FileChunk *pChunk; /* Specific chunk into which cursor points */ +}; + +/* +** This structure is a subclass of sqlite3_file. Each open memory-journal +** is an instance of this class. +*/ +struct MemJournal { + const sqlite3_io_methods *pMethod; /* Parent class. MUST BE FIRST */ + int nChunkSize; /* In-memory chunk-size */ + + int nSpill; /* Bytes of data before flushing */ + int nSize; /* Bytes of data currently in memory */ + FileChunk *pFirst; /* Head of in-memory chunk-list */ + FilePoint endpoint; /* Pointer to the end of the file */ + FilePoint readpoint; /* Pointer to the end of the last xRead() */ + + int flags; /* xOpen flags */ + sqlite3_vfs *pVfs; /* The "real" underlying VFS */ + const char *zJournal; /* Name of the journal file */ +}; + +/* +** Read data from the in-memory journal file. This is the implementation +** of the sqlite3_vfs.xRead method. +*/ +static int memjrnlRead( + sqlite3_file *pJfd, /* The journal file from which to read */ + void *zBuf, /* Put the results here */ + int iAmt, /* Number of bytes to read */ + sqlite_int64 iOfst /* Begin reading at this offset */ +){ + MemJournal *p = (MemJournal *)pJfd; + u8 *zOut = zBuf; + int nRead = iAmt; + int iChunkOffset; + FileChunk *pChunk; + + if( (iAmt+iOfst)>p->endpoint.iOffset ){ + return SQLITE_IOERR_SHORT_READ; + } + assert( p->readpoint.iOffset==0 || p->readpoint.pChunk!=0 ); + if( p->readpoint.iOffset!=iOfst || iOfst==0 ){ + sqlite3_int64 iOff = 0; + for(pChunk=p->pFirst; + ALWAYS(pChunk) && (iOff+p->nChunkSize)<=iOfst; + pChunk=pChunk->pNext + ){ + iOff += p->nChunkSize; + } + }else{ + pChunk = p->readpoint.pChunk; + assert( pChunk!=0 ); + } + + iChunkOffset = (int)(iOfst%p->nChunkSize); + do { + int iSpace = p->nChunkSize - iChunkOffset; + int nCopy = MIN(nRead, (p->nChunkSize - iChunkOffset)); + memcpy(zOut, (u8*)pChunk->zChunk + iChunkOffset, nCopy); + zOut += nCopy; + nRead -= iSpace; + iChunkOffset = 0; + } while( nRead>=0 && (pChunk=pChunk->pNext)!=0 && nRead>0 ); + p->readpoint.iOffset = pChunk ? iOfst+iAmt : 0; + p->readpoint.pChunk = pChunk; + + return SQLITE_OK; +} + +/* +** Free the list of FileChunk structures headed at MemJournal.pFirst. +*/ +static void memjrnlFreeChunks(MemJournal *p){ + FileChunk *pIter; + FileChunk *pNext; + for(pIter=p->pFirst; pIter; pIter=pNext){ + pNext = pIter->pNext; + sqlite3_free(pIter); + } + p->pFirst = 0; +} + +/* +** Flush the contents of memory to a real file on disk. +*/ +static int memjrnlCreateFile(MemJournal *p){ + int rc; + sqlite3_file *pReal = (sqlite3_file*)p; + MemJournal copy = *p; + + memset(p, 0, sizeof(MemJournal)); + rc = sqlite3OsOpen(copy.pVfs, copy.zJournal, pReal, copy.flags, 0); + if( rc==SQLITE_OK ){ + int nChunk = copy.nChunkSize; + i64 iOff = 0; + FileChunk *pIter; + for(pIter=copy.pFirst; pIter; pIter=pIter->pNext){ + if( iOff + nChunk > copy.endpoint.iOffset ){ + nChunk = copy.endpoint.iOffset - iOff; + } + rc = sqlite3OsWrite(pReal, (u8*)pIter->zChunk, nChunk, iOff); + if( rc ) break; + iOff += nChunk; + } + if( rc==SQLITE_OK ){ + /* No error has occurred. Free the in-memory buffers. */ + memjrnlFreeChunks(©); + } + } + if( rc!=SQLITE_OK ){ + /* If an error occurred while creating or writing to the file, restore + ** the original before returning. This way, SQLite uses the in-memory + ** journal data to roll back changes made to the internal page-cache + ** before this function was called. */ + sqlite3OsClose(pReal); + *p = copy; + } + return rc; +} + + +/* +** Write data to the file. +*/ +static int memjrnlWrite( + sqlite3_file *pJfd, /* The journal file into which to write */ + const void *zBuf, /* Take data to be written from here */ + int iAmt, /* Number of bytes to write */ + sqlite_int64 iOfst /* Begin writing at this offset into the file */ +){ + MemJournal *p = (MemJournal *)pJfd; + int nWrite = iAmt; + u8 *zWrite = (u8 *)zBuf; + + /* If the file should be created now, create it and write the new data + ** into the file on disk. */ + if( p->nSpill>0 && (iAmt+iOfst)>p->nSpill ){ + int rc = memjrnlCreateFile(p); + if( rc==SQLITE_OK ){ + rc = sqlite3OsWrite(pJfd, zBuf, iAmt, iOfst); + } + return rc; + } + + /* If the contents of this write should be stored in memory */ + else{ + /* An in-memory journal file should only ever be appended to. Random + ** access writes are not required. The only exception to this is when + ** the in-memory journal is being used by a connection using the + ** atomic-write optimization. In this case the first 28 bytes of the + ** journal file may be written as part of committing the transaction. */ + assert( iOfst==p->endpoint.iOffset || iOfst==0 ); +#if defined(SQLITE_ENABLE_ATOMIC_WRITE) \ + || defined(SQLITE_ENABLE_BATCH_ATOMIC_WRITE) + if( iOfst==0 && p->pFirst ){ + assert( p->nChunkSize>iAmt ); + memcpy((u8*)p->pFirst->zChunk, zBuf, iAmt); + }else +#else + assert( iOfst>0 || p->pFirst==0 ); +#endif + { + while( nWrite>0 ){ + FileChunk *pChunk = p->endpoint.pChunk; + int iChunkOffset = (int)(p->endpoint.iOffset%p->nChunkSize); + int iSpace = MIN(nWrite, p->nChunkSize - iChunkOffset); + + if( iChunkOffset==0 ){ + /* New chunk is required to extend the file. */ + FileChunk *pNew = sqlite3_malloc(fileChunkSize(p->nChunkSize)); + if( !pNew ){ + return SQLITE_IOERR_NOMEM_BKPT; + } + pNew->pNext = 0; + if( pChunk ){ + assert( p->pFirst ); + pChunk->pNext = pNew; + }else{ + assert( !p->pFirst ); + p->pFirst = pNew; + } + p->endpoint.pChunk = pNew; + } + + memcpy((u8*)p->endpoint.pChunk->zChunk + iChunkOffset, zWrite, iSpace); + zWrite += iSpace; + nWrite -= iSpace; + p->endpoint.iOffset += iSpace; + } + p->nSize = iAmt + iOfst; + } + } + + return SQLITE_OK; +} + +/* +** Truncate the file. +** +** If the journal file is already on disk, truncate it there. Or, if it +** is still in main memory but is being truncated to zero bytes in size, +** ignore +*/ +static int memjrnlTruncate(sqlite3_file *pJfd, sqlite_int64 size){ + MemJournal *p = (MemJournal *)pJfd; + if( ALWAYS(size==0) ){ + memjrnlFreeChunks(p); + p->nSize = 0; + p->endpoint.pChunk = 0; + p->endpoint.iOffset = 0; + p->readpoint.pChunk = 0; + p->readpoint.iOffset = 0; + } + return SQLITE_OK; +} + +/* +** Close the file. +*/ +static int memjrnlClose(sqlite3_file *pJfd){ + MemJournal *p = (MemJournal *)pJfd; + memjrnlFreeChunks(p); + return SQLITE_OK; +} + +/* +** Sync the file. +** +** If the real file has been created, call its xSync method. Otherwise, +** syncing an in-memory journal is a no-op. +*/ +static int memjrnlSync(sqlite3_file *pJfd, int flags){ + UNUSED_PARAMETER2(pJfd, flags); + return SQLITE_OK; +} + +/* +** Query the size of the file in bytes. +*/ +static int memjrnlFileSize(sqlite3_file *pJfd, sqlite_int64 *pSize){ + MemJournal *p = (MemJournal *)pJfd; + *pSize = (sqlite_int64) p->endpoint.iOffset; + return SQLITE_OK; +} + +/* +** Table of methods for MemJournal sqlite3_file object. +*/ +static const struct sqlite3_io_methods MemJournalMethods = { + 1, /* iVersion */ + memjrnlClose, /* xClose */ + memjrnlRead, /* xRead */ + memjrnlWrite, /* xWrite */ + memjrnlTruncate, /* xTruncate */ + memjrnlSync, /* xSync */ + memjrnlFileSize, /* xFileSize */ + 0, /* xLock */ + 0, /* xUnlock */ + 0, /* xCheckReservedLock */ + 0, /* xFileControl */ + 0, /* xSectorSize */ + 0, /* xDeviceCharacteristics */ + 0, /* xShmMap */ + 0, /* xShmLock */ + 0, /* xShmBarrier */ + 0, /* xShmUnmap */ + 0, /* xFetch */ + 0 /* xUnfetch */ +}; + +/* +** Open a journal file. +** +** The behaviour of the journal file depends on the value of parameter +** nSpill. If nSpill is 0, then the journal file is always create and +** accessed using the underlying VFS. If nSpill is less than zero, then +** all content is always stored in main-memory. Finally, if nSpill is a +** positive value, then the journal file is initially created in-memory +** but may be flushed to disk later on. In this case the journal file is +** flushed to disk either when it grows larger than nSpill bytes in size, +** or when sqlite3JournalCreate() is called. +*/ +SQLITE_PRIVATE int sqlite3JournalOpen( + sqlite3_vfs *pVfs, /* The VFS to use for actual file I/O */ + const char *zName, /* Name of the journal file */ + sqlite3_file *pJfd, /* Preallocated, blank file handle */ + int flags, /* Opening flags */ + int nSpill /* Bytes buffered before opening the file */ +){ + MemJournal *p = (MemJournal*)pJfd; + + /* Zero the file-handle object. If nSpill was passed zero, initialize + ** it using the sqlite3OsOpen() function of the underlying VFS. In this + ** case none of the code in this module is executed as a result of calls + ** made on the journal file-handle. */ + memset(p, 0, sizeof(MemJournal)); + if( nSpill==0 ){ + return sqlite3OsOpen(pVfs, zName, pJfd, flags, 0); + } + + if( nSpill>0 ){ + p->nChunkSize = nSpill; + }else{ + p->nChunkSize = 8 + MEMJOURNAL_DFLT_FILECHUNKSIZE - sizeof(FileChunk); + assert( MEMJOURNAL_DFLT_FILECHUNKSIZE==fileChunkSize(p->nChunkSize) ); + } + + p->pMethod = (const sqlite3_io_methods*)&MemJournalMethods; + p->nSpill = nSpill; + p->flags = flags; + p->zJournal = zName; + p->pVfs = pVfs; + return SQLITE_OK; +} + +/* +** Open an in-memory journal file. +*/ +SQLITE_PRIVATE void sqlite3MemJournalOpen(sqlite3_file *pJfd){ + sqlite3JournalOpen(0, 0, pJfd, 0, -1); +} + +#if defined(SQLITE_ENABLE_ATOMIC_WRITE) \ + || defined(SQLITE_ENABLE_BATCH_ATOMIC_WRITE) +/* +** If the argument p points to a MemJournal structure that is not an +** in-memory-only journal file (i.e. is one that was opened with a +ve +** nSpill parameter or as SQLITE_OPEN_MAIN_JOURNAL), and the underlying +** file has not yet been created, create it now. +*/ +SQLITE_PRIVATE int sqlite3JournalCreate(sqlite3_file *pJfd){ + int rc = SQLITE_OK; + MemJournal *p = (MemJournal*)pJfd; + if( p->pMethod==&MemJournalMethods && ( +#ifdef SQLITE_ENABLE_ATOMIC_WRITE + p->nSpill>0 +#else + /* While this appears to not be possible without ATOMIC_WRITE, the + ** paths are complex, so it seems prudent to leave the test in as + ** a NEVER(), in case our analysis is subtly flawed. */ + NEVER(p->nSpill>0) +#endif +#ifdef SQLITE_ENABLE_BATCH_ATOMIC_WRITE + || (p->flags & SQLITE_OPEN_MAIN_JOURNAL) +#endif + )){ + rc = memjrnlCreateFile(p); + } + return rc; +} +#endif + +/* +** The file-handle passed as the only argument is open on a journal file. +** Return true if this "journal file" is currently stored in heap memory, +** or false otherwise. +*/ +SQLITE_PRIVATE int sqlite3JournalIsInMemory(sqlite3_file *p){ + return p->pMethods==&MemJournalMethods; +} + +/* +** Return the number of bytes required to store a JournalFile that uses vfs +** pVfs to create the underlying on-disk files. +*/ +SQLITE_PRIVATE int sqlite3JournalSize(sqlite3_vfs *pVfs){ + return MAX(pVfs->szOsFile, (int)sizeof(MemJournal)); +} + +/************** End of memjournal.c ******************************************/ +/************** Begin file walker.c ******************************************/ +/* +** 2008 August 16 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains routines used for walking the parser tree for +** an SQL statement. +*/ +/* #include "sqliteInt.h" */ +/* #include */ +/* #include */ + + +#if !defined(SQLITE_OMIT_WINDOWFUNC) +/* +** Walk all expressions linked into the list of Window objects passed +** as the second argument. +*/ +static int walkWindowList(Walker *pWalker, Window *pList){ + Window *pWin; + for(pWin=pList; pWin; pWin=pWin->pNextWin){ + int rc; + rc = sqlite3WalkExprList(pWalker, pWin->pOrderBy); + if( rc ) return WRC_Abort; + rc = sqlite3WalkExprList(pWalker, pWin->pPartition); + if( rc ) return WRC_Abort; + rc = sqlite3WalkExpr(pWalker, pWin->pFilter); + if( rc ) return WRC_Abort; + + /* The next two are purely for calls to sqlite3RenameExprUnmap() + ** within sqlite3WindowOffsetExpr(). Because of constraints imposed + ** by sqlite3WindowOffsetExpr(), they can never fail. The results do + ** not matter anyhow. */ + rc = sqlite3WalkExpr(pWalker, pWin->pStart); + if( NEVER(rc) ) return WRC_Abort; + rc = sqlite3WalkExpr(pWalker, pWin->pEnd); + if( NEVER(rc) ) return WRC_Abort; + } + return WRC_Continue; +} +#endif + +/* +** Walk an expression tree. Invoke the callback once for each node +** of the expression, while descending. (In other words, the callback +** is invoked before visiting children.) +** +** The return value from the callback should be one of the WRC_* +** constants to specify how to proceed with the walk. +** +** WRC_Continue Continue descending down the tree. +** +** WRC_Prune Do not descend into child nodes, but allow +** the walk to continue with sibling nodes. +** +** WRC_Abort Do no more callbacks. Unwind the stack and +** return from the top-level walk call. +** +** The return value from this routine is WRC_Abort to abandon the tree walk +** and WRC_Continue to continue. +*/ +static SQLITE_NOINLINE int walkExpr(Walker *pWalker, Expr *pExpr){ + int rc; + testcase( ExprHasProperty(pExpr, EP_TokenOnly) ); + testcase( ExprHasProperty(pExpr, EP_Reduced) ); + while(1){ + rc = pWalker->xExprCallback(pWalker, pExpr); + if( rc ) return rc & WRC_Abort; + if( !ExprHasProperty(pExpr,(EP_TokenOnly|EP_Leaf)) ){ + if( pExpr->pLeft && walkExpr(pWalker, pExpr->pLeft) ) return WRC_Abort; + assert( pExpr->x.pList==0 || pExpr->pRight==0 ); + if( pExpr->pRight ){ + assert( !ExprHasProperty(pExpr, EP_WinFunc) ); + pExpr = pExpr->pRight; + continue; + }else if( ExprHasProperty(pExpr, EP_xIsSelect) ){ + assert( !ExprHasProperty(pExpr, EP_WinFunc) ); + if( sqlite3WalkSelect(pWalker, pExpr->x.pSelect) ) return WRC_Abort; + }else{ + if( pExpr->x.pList ){ + if( sqlite3WalkExprList(pWalker, pExpr->x.pList) ) return WRC_Abort; + } +#ifndef SQLITE_OMIT_WINDOWFUNC + if( ExprHasProperty(pExpr, EP_WinFunc) ){ + if( walkWindowList(pWalker, pExpr->y.pWin) ) return WRC_Abort; + } +#endif + } + } + break; + } + return WRC_Continue; +} +SQLITE_PRIVATE int sqlite3WalkExpr(Walker *pWalker, Expr *pExpr){ + return pExpr ? walkExpr(pWalker,pExpr) : WRC_Continue; +} + +/* +** Call sqlite3WalkExpr() for every expression in list p or until +** an abort request is seen. +*/ +SQLITE_PRIVATE int sqlite3WalkExprList(Walker *pWalker, ExprList *p){ + int i; + struct ExprList_item *pItem; + if( p ){ + for(i=p->nExpr, pItem=p->a; i>0; i--, pItem++){ + if( sqlite3WalkExpr(pWalker, pItem->pExpr) ) return WRC_Abort; + } + } + return WRC_Continue; +} + +/* +** Walk all expressions associated with SELECT statement p. Do +** not invoke the SELECT callback on p, but do (of course) invoke +** any expr callbacks and SELECT callbacks that come from subqueries. +** Return WRC_Abort or WRC_Continue. +*/ +SQLITE_PRIVATE int sqlite3WalkSelectExpr(Walker *pWalker, Select *p){ + if( sqlite3WalkExprList(pWalker, p->pEList) ) return WRC_Abort; + if( sqlite3WalkExpr(pWalker, p->pWhere) ) return WRC_Abort; + if( sqlite3WalkExprList(pWalker, p->pGroupBy) ) return WRC_Abort; + if( sqlite3WalkExpr(pWalker, p->pHaving) ) return WRC_Abort; + if( sqlite3WalkExprList(pWalker, p->pOrderBy) ) return WRC_Abort; + if( sqlite3WalkExpr(pWalker, p->pLimit) ) return WRC_Abort; +#if !defined(SQLITE_OMIT_WINDOWFUNC) && !defined(SQLITE_OMIT_ALTERTABLE) + { + Parse *pParse = pWalker->pParse; + if( pParse && IN_RENAME_OBJECT ){ + /* The following may return WRC_Abort if there are unresolvable + ** symbols (e.g. a table that does not exist) in a window definition. */ + int rc = walkWindowList(pWalker, p->pWinDefn); + return rc; + } + } +#endif + return WRC_Continue; +} + +/* +** Walk the parse trees associated with all subqueries in the +** FROM clause of SELECT statement p. Do not invoke the select +** callback on p, but do invoke it on each FROM clause subquery +** and on any subqueries further down in the tree. Return +** WRC_Abort or WRC_Continue; +*/ +SQLITE_PRIVATE int sqlite3WalkSelectFrom(Walker *pWalker, Select *p){ + SrcList *pSrc; + int i; + struct SrcList_item *pItem; + + pSrc = p->pSrc; + assert( pSrc!=0 ); + for(i=pSrc->nSrc, pItem=pSrc->a; i>0; i--, pItem++){ + if( pItem->pSelect && sqlite3WalkSelect(pWalker, pItem->pSelect) ){ + return WRC_Abort; + } + if( pItem->fg.isTabFunc + && sqlite3WalkExprList(pWalker, pItem->u1.pFuncArg) + ){ + return WRC_Abort; + } + } + return WRC_Continue; +} + +/* +** Call sqlite3WalkExpr() for every expression in Select statement p. +** Invoke sqlite3WalkSelect() for subqueries in the FROM clause and +** on the compound select chain, p->pPrior. +** +** If it is not NULL, the xSelectCallback() callback is invoked before +** the walk of the expressions and FROM clause. The xSelectCallback2() +** method is invoked following the walk of the expressions and FROM clause, +** but only if both xSelectCallback and xSelectCallback2 are both non-NULL +** and if the expressions and FROM clause both return WRC_Continue; +** +** Return WRC_Continue under normal conditions. Return WRC_Abort if +** there is an abort request. +** +** If the Walker does not have an xSelectCallback() then this routine +** is a no-op returning WRC_Continue. +*/ +SQLITE_PRIVATE int sqlite3WalkSelect(Walker *pWalker, Select *p){ + int rc; + if( p==0 ) return WRC_Continue; + if( pWalker->xSelectCallback==0 ) return WRC_Continue; + do{ + rc = pWalker->xSelectCallback(pWalker, p); + if( rc ) return rc & WRC_Abort; + if( sqlite3WalkSelectExpr(pWalker, p) + || sqlite3WalkSelectFrom(pWalker, p) + ){ + return WRC_Abort; + } + if( pWalker->xSelectCallback2 ){ + pWalker->xSelectCallback2(pWalker, p); + } + p = p->pPrior; + }while( p!=0 ); + return WRC_Continue; +} + +/************** End of walker.c **********************************************/ +/************** Begin file resolve.c *****************************************/ +/* +** 2008 August 18 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains routines used for walking the parser tree and +** resolve all identifiers by associating them with a particular +** table and column. +*/ +/* #include "sqliteInt.h" */ + +/* +** Walk the expression tree pExpr and increase the aggregate function +** depth (the Expr.op2 field) by N on every TK_AGG_FUNCTION node. +** This needs to occur when copying a TK_AGG_FUNCTION node from an +** outer query into an inner subquery. +** +** incrAggFunctionDepth(pExpr,n) is the main routine. incrAggDepth(..) +** is a helper function - a callback for the tree walker. +*/ +static int incrAggDepth(Walker *pWalker, Expr *pExpr){ + if( pExpr->op==TK_AGG_FUNCTION ) pExpr->op2 += pWalker->u.n; + return WRC_Continue; +} +static void incrAggFunctionDepth(Expr *pExpr, int N){ + if( N>0 ){ + Walker w; + memset(&w, 0, sizeof(w)); + w.xExprCallback = incrAggDepth; + w.u.n = N; + sqlite3WalkExpr(&w, pExpr); + } +} + +/* +** Turn the pExpr expression into an alias for the iCol-th column of the +** result set in pEList. +** +** If the reference is followed by a COLLATE operator, then make sure +** the COLLATE operator is preserved. For example: +** +** SELECT a+b, c+d FROM t1 ORDER BY 1 COLLATE nocase; +** +** Should be transformed into: +** +** SELECT a+b, c+d FROM t1 ORDER BY (a+b) COLLATE nocase; +** +** The nSubquery parameter specifies how many levels of subquery the +** alias is removed from the original expression. The usual value is +** zero but it might be more if the alias is contained within a subquery +** of the original expression. The Expr.op2 field of TK_AGG_FUNCTION +** structures must be increased by the nSubquery amount. +*/ +static void resolveAlias( + Parse *pParse, /* Parsing context */ + ExprList *pEList, /* A result set */ + int iCol, /* A column in the result set. 0..pEList->nExpr-1 */ + Expr *pExpr, /* Transform this into an alias to the result set */ + const char *zType, /* "GROUP" or "ORDER" or "" */ + int nSubquery /* Number of subqueries that the label is moving */ +){ + Expr *pOrig; /* The iCol-th column of the result set */ + Expr *pDup; /* Copy of pOrig */ + sqlite3 *db; /* The database connection */ + + assert( iCol>=0 && iColnExpr ); + pOrig = pEList->a[iCol].pExpr; + assert( pOrig!=0 ); + db = pParse->db; + pDup = sqlite3ExprDup(db, pOrig, 0); + if( pDup!=0 ){ + if( zType[0]!='G' ) incrAggFunctionDepth(pDup, nSubquery); + if( pExpr->op==TK_COLLATE ){ + pDup = sqlite3ExprAddCollateString(pParse, pDup, pExpr->u.zToken); + } + + /* Before calling sqlite3ExprDelete(), set the EP_Static flag. This + ** prevents ExprDelete() from deleting the Expr structure itself, + ** allowing it to be repopulated by the memcpy() on the following line. + ** The pExpr->u.zToken might point into memory that will be freed by the + ** sqlite3DbFree(db, pDup) on the last line of this block, so be sure to + ** make a copy of the token before doing the sqlite3DbFree(). + */ + ExprSetProperty(pExpr, EP_Static); + sqlite3ExprDelete(db, pExpr); + memcpy(pExpr, pDup, sizeof(*pExpr)); + if( !ExprHasProperty(pExpr, EP_IntValue) && pExpr->u.zToken!=0 ){ + assert( (pExpr->flags & (EP_Reduced|EP_TokenOnly))==0 ); + pExpr->u.zToken = sqlite3DbStrDup(db, pExpr->u.zToken); + pExpr->flags |= EP_MemToken; + } + if( ExprHasProperty(pExpr, EP_WinFunc) ){ + if( pExpr->y.pWin!=0 ){ + pExpr->y.pWin->pOwner = pExpr; + }else{ + assert( db->mallocFailed ); + } + } + sqlite3DbFree(db, pDup); + } + ExprSetProperty(pExpr, EP_Alias); +} + + +/* +** Return TRUE if the name zCol occurs anywhere in the USING clause. +** +** Return FALSE if the USING clause is NULL or if it does not contain +** zCol. +*/ +static int nameInUsingClause(IdList *pUsing, const char *zCol){ + if( pUsing ){ + int k; + for(k=0; knId; k++){ + if( sqlite3StrICmp(pUsing->a[k].zName, zCol)==0 ) return 1; + } + } + return 0; +} + +/* +** Subqueries stores the original database, table and column names for their +** result sets in ExprList.a[].zSpan, in the form "DATABASE.TABLE.COLUMN". +** Check to see if the zSpan given to this routine matches the zDb, zTab, +** and zCol. If any of zDb, zTab, and zCol are NULL then those fields will +** match anything. +*/ +SQLITE_PRIVATE int sqlite3MatchSpanName( + const char *zSpan, + const char *zCol, + const char *zTab, + const char *zDb +){ + int n; + for(n=0; ALWAYS(zSpan[n]) && zSpan[n]!='.'; n++){} + if( zDb && (sqlite3StrNICmp(zSpan, zDb, n)!=0 || zDb[n]!=0) ){ + return 0; + } + zSpan += n+1; + for(n=0; ALWAYS(zSpan[n]) && zSpan[n]!='.'; n++){} + if( zTab && (sqlite3StrNICmp(zSpan, zTab, n)!=0 || zTab[n]!=0) ){ + return 0; + } + zSpan += n+1; + if( zCol && sqlite3StrICmp(zSpan, zCol)!=0 ){ + return 0; + } + return 1; +} + +/* +** Return TRUE if the double-quoted string mis-feature should be supported. +*/ +static int areDoubleQuotedStringsEnabled(sqlite3 *db, NameContext *pTopNC){ + if( db->init.busy ) return 1; /* Always support for legacy schemas */ + if( pTopNC->ncFlags & NC_IsDDL ){ + /* Currently parsing a DDL statement */ + if( sqlite3WritableSchema(db) && (db->flags & SQLITE_DqsDML)!=0 ){ + return 1; + } + return (db->flags & SQLITE_DqsDDL)!=0; + }else{ + /* Currently parsing a DML statement */ + return (db->flags & SQLITE_DqsDML)!=0; + } +} + +/* +** Given the name of a column of the form X.Y.Z or Y.Z or just Z, look up +** that name in the set of source tables in pSrcList and make the pExpr +** expression node refer back to that source column. The following changes +** are made to pExpr: +** +** pExpr->iDb Set the index in db->aDb[] of the database X +** (even if X is implied). +** pExpr->iTable Set to the cursor number for the table obtained +** from pSrcList. +** pExpr->y.pTab Points to the Table structure of X.Y (even if +** X and/or Y are implied.) +** pExpr->iColumn Set to the column number within the table. +** pExpr->op Set to TK_COLUMN. +** pExpr->pLeft Any expression this points to is deleted +** pExpr->pRight Any expression this points to is deleted. +** +** The zDb variable is the name of the database (the "X"). This value may be +** NULL meaning that name is of the form Y.Z or Z. Any available database +** can be used. The zTable variable is the name of the table (the "Y"). This +** value can be NULL if zDb is also NULL. If zTable is NULL it +** means that the form of the name is Z and that columns from any table +** can be used. +** +** If the name cannot be resolved unambiguously, leave an error message +** in pParse and return WRC_Abort. Return WRC_Prune on success. +*/ +static int lookupName( + Parse *pParse, /* The parsing context */ + const char *zDb, /* Name of the database containing table, or NULL */ + const char *zTab, /* Name of table containing column, or NULL */ + const char *zCol, /* Name of the column. */ + NameContext *pNC, /* The name context used to resolve the name */ + Expr *pExpr /* Make this EXPR node point to the selected column */ +){ + int i, j; /* Loop counters */ + int cnt = 0; /* Number of matching column names */ + int cntTab = 0; /* Number of matching table names */ + int nSubquery = 0; /* How many levels of subquery */ + sqlite3 *db = pParse->db; /* The database connection */ + struct SrcList_item *pItem; /* Use for looping over pSrcList items */ + struct SrcList_item *pMatch = 0; /* The matching pSrcList item */ + NameContext *pTopNC = pNC; /* First namecontext in the list */ + Schema *pSchema = 0; /* Schema of the expression */ + int eNewExprOp = TK_COLUMN; /* New value for pExpr->op on success */ + Table *pTab = 0; /* Table hold the row */ + Column *pCol; /* A column of pTab */ + + assert( pNC ); /* the name context cannot be NULL. */ + assert( zCol ); /* The Z in X.Y.Z cannot be NULL */ + assert( !ExprHasProperty(pExpr, EP_TokenOnly|EP_Reduced) ); + + /* Initialize the node to no-match */ + pExpr->iTable = -1; + ExprSetVVAProperty(pExpr, EP_NoReduce); + + /* Translate the schema name in zDb into a pointer to the corresponding + ** schema. If not found, pSchema will remain NULL and nothing will match + ** resulting in an appropriate error message toward the end of this routine + */ + if( zDb ){ + testcase( pNC->ncFlags & NC_PartIdx ); + testcase( pNC->ncFlags & NC_IsCheck ); + if( (pNC->ncFlags & (NC_PartIdx|NC_IsCheck))!=0 ){ + /* Silently ignore database qualifiers inside CHECK constraints and + ** partial indices. Do not raise errors because that might break + ** legacy and because it does not hurt anything to just ignore the + ** database name. */ + zDb = 0; + }else{ + for(i=0; inDb; i++){ + assert( db->aDb[i].zDbSName ); + if( sqlite3StrICmp(db->aDb[i].zDbSName,zDb)==0 ){ + pSchema = db->aDb[i].pSchema; + break; + } + } + } + } + + /* Start at the inner-most context and move outward until a match is found */ + assert( pNC && cnt==0 ); + do{ + ExprList *pEList; + SrcList *pSrcList = pNC->pSrcList; + + if( pSrcList ){ + for(i=0, pItem=pSrcList->a; inSrc; i++, pItem++){ + pTab = pItem->pTab; + assert( pTab!=0 && pTab->zName!=0 ); + assert( pTab->nCol>0 ); + if( pItem->pSelect && (pItem->pSelect->selFlags & SF_NestedFrom)!=0 ){ + int hit = 0; + pEList = pItem->pSelect->pEList; + for(j=0; jnExpr; j++){ + if( sqlite3MatchSpanName(pEList->a[j].zSpan, zCol, zTab, zDb) ){ + cnt++; + cntTab = 2; + pMatch = pItem; + pExpr->iColumn = j; + hit = 1; + } + } + if( hit || zTab==0 ) continue; + } + if( zDb && pTab->pSchema!=pSchema ){ + continue; + } + if( zTab ){ + const char *zTabName = pItem->zAlias ? pItem->zAlias : pTab->zName; + assert( zTabName!=0 ); + if( sqlite3StrICmp(zTabName, zTab)!=0 ){ + continue; + } + if( IN_RENAME_OBJECT && pItem->zAlias ){ + sqlite3RenameTokenRemap(pParse, 0, (void*)&pExpr->y.pTab); + } + } + if( 0==(cntTab++) ){ + pMatch = pItem; + } + for(j=0, pCol=pTab->aCol; jnCol; j++, pCol++){ + if( sqlite3StrICmp(pCol->zName, zCol)==0 ){ + /* If there has been exactly one prior match and this match + ** is for the right-hand table of a NATURAL JOIN or is in a + ** USING clause, then skip this match. + */ + if( cnt==1 ){ + if( pItem->fg.jointype & JT_NATURAL ) continue; + if( nameInUsingClause(pItem->pUsing, zCol) ) continue; + } + cnt++; + pMatch = pItem; + /* Substitute the rowid (column -1) for the INTEGER PRIMARY KEY */ + pExpr->iColumn = j==pTab->iPKey ? -1 : (i16)j; + break; + } + } + } + if( pMatch ){ + pExpr->iTable = pMatch->iCursor; + pExpr->y.pTab = pMatch->pTab; + /* RIGHT JOIN not (yet) supported */ + assert( (pMatch->fg.jointype & JT_RIGHT)==0 ); + if( (pMatch->fg.jointype & JT_LEFT)!=0 ){ + ExprSetProperty(pExpr, EP_CanBeNull); + } + pSchema = pExpr->y.pTab->pSchema; + } + } /* if( pSrcList ) */ + +#if !defined(SQLITE_OMIT_TRIGGER) || !defined(SQLITE_OMIT_UPSERT) + /* If we have not already resolved the name, then maybe + ** it is a new.* or old.* trigger argument reference. Or + ** maybe it is an excluded.* from an upsert. + */ + if( zDb==0 && zTab!=0 && cntTab==0 ){ + pTab = 0; +#ifndef SQLITE_OMIT_TRIGGER + if( pParse->pTriggerTab!=0 ){ + int op = pParse->eTriggerOp; + assert( op==TK_DELETE || op==TK_UPDATE || op==TK_INSERT ); + if( op!=TK_DELETE && sqlite3StrICmp("new",zTab) == 0 ){ + pExpr->iTable = 1; + pTab = pParse->pTriggerTab; + }else if( op!=TK_INSERT && sqlite3StrICmp("old",zTab)==0 ){ + pExpr->iTable = 0; + pTab = pParse->pTriggerTab; + } + } +#endif /* SQLITE_OMIT_TRIGGER */ +#ifndef SQLITE_OMIT_UPSERT + if( (pNC->ncFlags & NC_UUpsert)!=0 ){ + Upsert *pUpsert = pNC->uNC.pUpsert; + if( pUpsert && sqlite3StrICmp("excluded",zTab)==0 ){ + pTab = pUpsert->pUpsertSrc->a[0].pTab; + pExpr->iTable = 2; + } + } +#endif /* SQLITE_OMIT_UPSERT */ + + if( pTab ){ + int iCol; + pSchema = pTab->pSchema; + cntTab++; + for(iCol=0, pCol=pTab->aCol; iColnCol; iCol++, pCol++){ + if( sqlite3StrICmp(pCol->zName, zCol)==0 ){ + if( iCol==pTab->iPKey ){ + iCol = -1; + } + break; + } + } + if( iCol>=pTab->nCol && sqlite3IsRowid(zCol) && VisibleRowid(pTab) ){ + /* IMP: R-51414-32910 */ + iCol = -1; + } + if( iColnCol ){ + cnt++; +#ifndef SQLITE_OMIT_UPSERT + if( pExpr->iTable==2 ){ + testcase( iCol==(-1) ); + if( IN_RENAME_OBJECT ){ + pExpr->iColumn = iCol; + pExpr->y.pTab = pTab; + eNewExprOp = TK_COLUMN; + }else{ + pExpr->iTable = pNC->uNC.pUpsert->regData + iCol; + eNewExprOp = TK_REGISTER; + ExprSetProperty(pExpr, EP_Alias); + } + }else +#endif /* SQLITE_OMIT_UPSERT */ + { +#ifndef SQLITE_OMIT_TRIGGER + if( iCol<0 ){ + pExpr->affExpr = SQLITE_AFF_INTEGER; + }else if( pExpr->iTable==0 ){ + testcase( iCol==31 ); + testcase( iCol==32 ); + pParse->oldmask |= (iCol>=32 ? 0xffffffff : (((u32)1)<newmask |= (iCol>=32 ? 0xffffffff : (((u32)1)<y.pTab = pTab; + pExpr->iColumn = (i16)iCol; + eNewExprOp = TK_TRIGGER; +#endif /* SQLITE_OMIT_TRIGGER */ + } + } + } + } +#endif /* !defined(SQLITE_OMIT_TRIGGER) || !defined(SQLITE_OMIT_UPSERT) */ + + /* + ** Perhaps the name is a reference to the ROWID + */ + if( cnt==0 + && cntTab==1 + && pMatch + && (pNC->ncFlags & NC_IdxExpr)==0 + && sqlite3IsRowid(zCol) + && VisibleRowid(pMatch->pTab) + ){ + cnt = 1; + pExpr->iColumn = -1; + pExpr->affExpr = SQLITE_AFF_INTEGER; + } + + /* + ** If the input is of the form Z (not Y.Z or X.Y.Z) then the name Z + ** might refer to an result-set alias. This happens, for example, when + ** we are resolving names in the WHERE clause of the following command: + ** + ** SELECT a+b AS x FROM table WHERE x<10; + ** + ** In cases like this, replace pExpr with a copy of the expression that + ** forms the result set entry ("a+b" in the example) and return immediately. + ** Note that the expression in the result set should have already been + ** resolved by the time the WHERE clause is resolved. + ** + ** The ability to use an output result-set column in the WHERE, GROUP BY, + ** or HAVING clauses, or as part of a larger expression in the ORDER BY + ** clause is not standard SQL. This is a (goofy) SQLite extension, that + ** is supported for backwards compatibility only. Hence, we issue a warning + ** on sqlite3_log() whenever the capability is used. + */ + if( (pNC->ncFlags & NC_UEList)!=0 + && cnt==0 + && zTab==0 + ){ + pEList = pNC->uNC.pEList; + assert( pEList!=0 ); + for(j=0; jnExpr; j++){ + char *zAs = pEList->a[j].zName; + if( zAs!=0 && sqlite3StrICmp(zAs, zCol)==0 ){ + Expr *pOrig; + assert( pExpr->pLeft==0 && pExpr->pRight==0 ); + assert( pExpr->x.pList==0 ); + assert( pExpr->x.pSelect==0 ); + pOrig = pEList->a[j].pExpr; + if( (pNC->ncFlags&NC_AllowAgg)==0 && ExprHasProperty(pOrig, EP_Agg) ){ + sqlite3ErrorMsg(pParse, "misuse of aliased aggregate %s", zAs); + return WRC_Abort; + } + if( (pNC->ncFlags&NC_AllowWin)==0 && ExprHasProperty(pOrig, EP_Win) ){ + sqlite3ErrorMsg(pParse, "misuse of aliased window function %s",zAs); + return WRC_Abort; + } + if( sqlite3ExprVectorSize(pOrig)!=1 ){ + sqlite3ErrorMsg(pParse, "row value misused"); + return WRC_Abort; + } + resolveAlias(pParse, pEList, j, pExpr, "", nSubquery); + cnt = 1; + pMatch = 0; + assert( zTab==0 && zDb==0 ); + if( IN_RENAME_OBJECT ){ + sqlite3RenameTokenRemap(pParse, 0, (void*)pExpr); + } + goto lookupname_end; + } + } + } + + /* Advance to the next name context. The loop will exit when either + ** we have a match (cnt>0) or when we run out of name contexts. + */ + if( cnt ) break; + pNC = pNC->pNext; + nSubquery++; + }while( pNC ); + + + /* + ** If X and Y are NULL (in other words if only the column name Z is + ** supplied) and the value of Z is enclosed in double-quotes, then + ** Z is a string literal if it doesn't match any column names. In that + ** case, we need to return right away and not make any changes to + ** pExpr. + ** + ** Because no reference was made to outer contexts, the pNC->nRef + ** fields are not changed in any context. + */ + if( cnt==0 && zTab==0 ){ + assert( pExpr->op==TK_ID ); + if( ExprHasProperty(pExpr,EP_DblQuoted) + && areDoubleQuotedStringsEnabled(db, pTopNC) + ){ + /* If a double-quoted identifier does not match any known column name, + ** then treat it as a string. + ** + ** This hack was added in the early days of SQLite in a misguided attempt + ** to be compatible with MySQL 3.x, which used double-quotes for strings. + ** I now sorely regret putting in this hack. The effect of this hack is + ** that misspelled identifier names are silently converted into strings + ** rather than causing an error, to the frustration of countless + ** programmers. To all those frustrated programmers, my apologies. + ** + ** Someday, I hope to get rid of this hack. Unfortunately there is + ** a huge amount of legacy SQL that uses it. So for now, we just + ** issue a warning. + */ + sqlite3_log(SQLITE_WARNING, + "double-quoted string literal: \"%w\"", zCol); +#ifdef SQLITE_ENABLE_NORMALIZE + sqlite3VdbeAddDblquoteStr(db, pParse->pVdbe, zCol); +#endif + pExpr->op = TK_STRING; + pExpr->y.pTab = 0; + return WRC_Prune; + } + if( sqlite3ExprIdToTrueFalse(pExpr) ){ + return WRC_Prune; + } + } + + /* + ** cnt==0 means there was not match. cnt>1 means there were two or + ** more matches. Either way, we have an error. + */ + if( cnt!=1 ){ + const char *zErr; + zErr = cnt==0 ? "no such column" : "ambiguous column name"; + if( zDb ){ + sqlite3ErrorMsg(pParse, "%s: %s.%s.%s", zErr, zDb, zTab, zCol); + }else if( zTab ){ + sqlite3ErrorMsg(pParse, "%s: %s.%s", zErr, zTab, zCol); + }else{ + sqlite3ErrorMsg(pParse, "%s: %s", zErr, zCol); + } + pParse->checkSchema = 1; + pTopNC->nErr++; + } + + /* If a column from a table in pSrcList is referenced, then record + ** this fact in the pSrcList.a[].colUsed bitmask. Column 0 causes + ** bit 0 to be set. Column 1 sets bit 1. And so forth. If the + ** column number is greater than the number of bits in the bitmask + ** then set the high-order bit of the bitmask. + */ + if( pExpr->iColumn>=0 && pMatch!=0 ){ + int n = pExpr->iColumn; + testcase( n==BMS-1 ); + if( n>=BMS ){ + n = BMS-1; + } + assert( pMatch->iCursor==pExpr->iTable ); + pMatch->colUsed |= ((Bitmask)1)<pLeft); + pExpr->pLeft = 0; + sqlite3ExprDelete(db, pExpr->pRight); + pExpr->pRight = 0; + pExpr->op = eNewExprOp; + ExprSetProperty(pExpr, EP_Leaf); +lookupname_end: + if( cnt==1 ){ + assert( pNC!=0 ); + if( !ExprHasProperty(pExpr, EP_Alias) ){ + sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList); + } + /* Increment the nRef value on all name contexts from TopNC up to + ** the point where the name matched. */ + for(;;){ + assert( pTopNC!=0 ); + pTopNC->nRef++; + if( pTopNC==pNC ) break; + pTopNC = pTopNC->pNext; + } + return WRC_Prune; + } else { + return WRC_Abort; + } +} + +/* +** Allocate and return a pointer to an expression to load the column iCol +** from datasource iSrc in SrcList pSrc. +*/ +SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *db, SrcList *pSrc, int iSrc, int iCol){ + Expr *p = sqlite3ExprAlloc(db, TK_COLUMN, 0, 0); + if( p ){ + struct SrcList_item *pItem = &pSrc->a[iSrc]; + p->y.pTab = pItem->pTab; + p->iTable = pItem->iCursor; + if( p->y.pTab->iPKey==iCol ){ + p->iColumn = -1; + }else{ + p->iColumn = (ynVar)iCol; + testcase( iCol==BMS ); + testcase( iCol==BMS-1 ); + pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol); + } + } + return p; +} + +/* +** Report an error that an expression is not valid for some set of +** pNC->ncFlags values determined by validMask. +*/ +static void notValid( + Parse *pParse, /* Leave error message here */ + NameContext *pNC, /* The name context */ + const char *zMsg, /* Type of error */ + int validMask /* Set of contexts for which prohibited */ +){ + assert( (validMask&~(NC_IsCheck|NC_PartIdx|NC_IdxExpr))==0 ); + if( (pNC->ncFlags & validMask)!=0 ){ + const char *zIn = "partial index WHERE clauses"; + if( pNC->ncFlags & NC_IdxExpr ) zIn = "index expressions"; +#ifndef SQLITE_OMIT_CHECK + else if( pNC->ncFlags & NC_IsCheck ) zIn = "CHECK constraints"; +#endif + sqlite3ErrorMsg(pParse, "%s prohibited in %s", zMsg, zIn); + } +} + +/* +** Expression p should encode a floating point value between 1.0 and 0.0. +** Return 1024 times this value. Or return -1 if p is not a floating point +** value between 1.0 and 0.0. +*/ +static int exprProbability(Expr *p){ + double r = -1.0; + if( p->op!=TK_FLOAT ) return -1; + sqlite3AtoF(p->u.zToken, &r, sqlite3Strlen30(p->u.zToken), SQLITE_UTF8); + assert( r>=0.0 ); + if( r>1.0 ) return -1; + return (int)(r*134217728.0); +} + +/* +** This routine is callback for sqlite3WalkExpr(). +** +** Resolve symbolic names into TK_COLUMN operators for the current +** node in the expression tree. Return 0 to continue the search down +** the tree or 2 to abort the tree walk. +** +** This routine also does error checking and name resolution for +** function names. The operator for aggregate functions is changed +** to TK_AGG_FUNCTION. +*/ +static int resolveExprStep(Walker *pWalker, Expr *pExpr){ + NameContext *pNC; + Parse *pParse; + + pNC = pWalker->u.pNC; + assert( pNC!=0 ); + pParse = pNC->pParse; + assert( pParse==pWalker->pParse ); + +#ifndef NDEBUG + if( pNC->pSrcList && pNC->pSrcList->nAlloc>0 ){ + SrcList *pSrcList = pNC->pSrcList; + int i; + for(i=0; ipSrcList->nSrc; i++){ + assert( pSrcList->a[i].iCursor>=0 && pSrcList->a[i].iCursornTab); + } + } +#endif + switch( pExpr->op ){ + +#if defined(SQLITE_ENABLE_UPDATE_DELETE_LIMIT) && !defined(SQLITE_OMIT_SUBQUERY) + /* The special operator TK_ROW means use the rowid for the first + ** column in the FROM clause. This is used by the LIMIT and ORDER BY + ** clause processing on UPDATE and DELETE statements. + */ + case TK_ROW: { + SrcList *pSrcList = pNC->pSrcList; + struct SrcList_item *pItem; + assert( pSrcList && pSrcList->nSrc==1 ); + pItem = pSrcList->a; + assert( HasRowid(pItem->pTab) && pItem->pTab->pSelect==0 ); + pExpr->op = TK_COLUMN; + pExpr->y.pTab = pItem->pTab; + pExpr->iTable = pItem->iCursor; + pExpr->iColumn = -1; + pExpr->affExpr = SQLITE_AFF_INTEGER; + break; + } +#endif /* defined(SQLITE_ENABLE_UPDATE_DELETE_LIMIT) + && !defined(SQLITE_OMIT_SUBQUERY) */ + + /* A column name: ID + ** Or table name and column name: ID.ID + ** Or a database, table and column: ID.ID.ID + ** + ** The TK_ID and TK_OUT cases are combined so that there will only + ** be one call to lookupName(). Then the compiler will in-line + ** lookupName() for a size reduction and performance increase. + */ + case TK_ID: + case TK_DOT: { + const char *zColumn; + const char *zTable; + const char *zDb; + Expr *pRight; + + if( pExpr->op==TK_ID ){ + zDb = 0; + zTable = 0; + zColumn = pExpr->u.zToken; + }else{ + Expr *pLeft = pExpr->pLeft; + notValid(pParse, pNC, "the \".\" operator", NC_IdxExpr); + pRight = pExpr->pRight; + if( pRight->op==TK_ID ){ + zDb = 0; + }else{ + assert( pRight->op==TK_DOT ); + zDb = pLeft->u.zToken; + pLeft = pRight->pLeft; + pRight = pRight->pRight; + } + zTable = pLeft->u.zToken; + zColumn = pRight->u.zToken; + if( IN_RENAME_OBJECT ){ + sqlite3RenameTokenRemap(pParse, (void*)pExpr, (void*)pRight); + sqlite3RenameTokenRemap(pParse, (void*)&pExpr->y.pTab, (void*)pLeft); + } + } + return lookupName(pParse, zDb, zTable, zColumn, pNC, pExpr); + } + + /* Resolve function names + */ + case TK_FUNCTION: { + ExprList *pList = pExpr->x.pList; /* The argument list */ + int n = pList ? pList->nExpr : 0; /* Number of arguments */ + int no_such_func = 0; /* True if no such function exists */ + int wrong_num_args = 0; /* True if wrong number of arguments */ + int is_agg = 0; /* True if is an aggregate function */ + int nId; /* Number of characters in function name */ + const char *zId; /* The function name. */ + FuncDef *pDef; /* Information about the function */ + u8 enc = ENC(pParse->db); /* The database encoding */ + int savedAllowFlags = (pNC->ncFlags & (NC_AllowAgg | NC_AllowWin)); +#ifndef SQLITE_OMIT_WINDOWFUNC + Window *pWin = (IsWindowFunc(pExpr) ? pExpr->y.pWin : 0); +#endif + assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); + zId = pExpr->u.zToken; + nId = sqlite3Strlen30(zId); + pDef = sqlite3FindFunction(pParse->db, zId, n, enc, 0); + if( pDef==0 ){ + pDef = sqlite3FindFunction(pParse->db, zId, -2, enc, 0); + if( pDef==0 ){ + no_such_func = 1; + }else{ + wrong_num_args = 1; + } + }else{ + is_agg = pDef->xFinalize!=0; + if( pDef->funcFlags & SQLITE_FUNC_UNLIKELY ){ + ExprSetProperty(pExpr, EP_Unlikely); + if( n==2 ){ + pExpr->iTable = exprProbability(pList->a[1].pExpr); + if( pExpr->iTable<0 ){ + sqlite3ErrorMsg(pParse, + "second argument to likelihood() must be a " + "constant between 0.0 and 1.0"); + pNC->nErr++; + } + }else{ + /* EVIDENCE-OF: R-61304-29449 The unlikely(X) function is + ** equivalent to likelihood(X, 0.0625). + ** EVIDENCE-OF: R-01283-11636 The unlikely(X) function is + ** short-hand for likelihood(X,0.0625). + ** EVIDENCE-OF: R-36850-34127 The likely(X) function is short-hand + ** for likelihood(X,0.9375). + ** EVIDENCE-OF: R-53436-40973 The likely(X) function is equivalent + ** to likelihood(X,0.9375). */ + /* TUNING: unlikely() probability is 0.0625. likely() is 0.9375 */ + pExpr->iTable = pDef->zName[0]=='u' ? 8388608 : 125829120; + } + } +#ifndef SQLITE_OMIT_AUTHORIZATION + { + int auth = sqlite3AuthCheck(pParse, SQLITE_FUNCTION, 0,pDef->zName,0); + if( auth!=SQLITE_OK ){ + if( auth==SQLITE_DENY ){ + sqlite3ErrorMsg(pParse, "not authorized to use function: %s", + pDef->zName); + pNC->nErr++; + } + pExpr->op = TK_NULL; + return WRC_Prune; + } + } +#endif + if( pDef->funcFlags & (SQLITE_FUNC_CONSTANT|SQLITE_FUNC_SLOCHNG) ){ + /* For the purposes of the EP_ConstFunc flag, date and time + ** functions and other functions that change slowly are considered + ** constant because they are constant for the duration of one query */ + ExprSetProperty(pExpr,EP_ConstFunc); + } + if( (pDef->funcFlags & SQLITE_FUNC_CONSTANT)==0 ){ + /* Date/time functions that use 'now', and other functions like + ** sqlite_version() that might change over time cannot be used + ** in an index. */ + notValid(pParse, pNC, "non-deterministic functions", + NC_IdxExpr|NC_PartIdx); + } + if( (pDef->funcFlags & SQLITE_FUNC_INTERNAL)!=0 + && pParse->nested==0 + && sqlite3Config.bInternalFunctions==0 + ){ + /* Internal-use-only functions are disallowed unless the + ** SQL is being compiled using sqlite3NestedParse() */ + no_such_func = 1; + pDef = 0; + }else + if( (pDef->funcFlags & SQLITE_FUNC_DIRECT)!=0 + && ExprHasProperty(pExpr, EP_Indirect) + && !IN_RENAME_OBJECT + ){ + /* Functions tagged with SQLITE_DIRECTONLY may not be used + ** inside of triggers and views */ + sqlite3ErrorMsg(pParse, "%s() prohibited in triggers and views", + pDef->zName); + } + } + + if( 0==IN_RENAME_OBJECT ){ +#ifndef SQLITE_OMIT_WINDOWFUNC + assert( is_agg==0 || (pDef->funcFlags & SQLITE_FUNC_MINMAX) + || (pDef->xValue==0 && pDef->xInverse==0) + || (pDef->xValue && pDef->xInverse && pDef->xSFunc && pDef->xFinalize) + ); + if( pDef && pDef->xValue==0 && pWin ){ + sqlite3ErrorMsg(pParse, + "%.*s() may not be used as a window function", nId, zId + ); + pNC->nErr++; + }else if( + (is_agg && (pNC->ncFlags & NC_AllowAgg)==0) + || (is_agg && (pDef->funcFlags&SQLITE_FUNC_WINDOW) && !pWin) + || (is_agg && pWin && (pNC->ncFlags & NC_AllowWin)==0) + ){ + const char *zType; + if( (pDef->funcFlags & SQLITE_FUNC_WINDOW) || pWin ){ + zType = "window"; + }else{ + zType = "aggregate"; + } + sqlite3ErrorMsg(pParse, "misuse of %s function %.*s()",zType,nId,zId); + pNC->nErr++; + is_agg = 0; + } +#else + if( (is_agg && (pNC->ncFlags & NC_AllowAgg)==0) ){ + sqlite3ErrorMsg(pParse,"misuse of aggregate function %.*s()",nId,zId); + pNC->nErr++; + is_agg = 0; + } +#endif + else if( no_such_func && pParse->db->init.busy==0 +#ifdef SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION + && pParse->explain==0 +#endif + ){ + sqlite3ErrorMsg(pParse, "no such function: %.*s", nId, zId); + pNC->nErr++; + }else if( wrong_num_args ){ + sqlite3ErrorMsg(pParse,"wrong number of arguments to function %.*s()", + nId, zId); + pNC->nErr++; + } +#ifndef SQLITE_OMIT_WINDOWFUNC + else if( is_agg==0 && ExprHasProperty(pExpr, EP_WinFunc) ){ + sqlite3ErrorMsg(pParse, + "FILTER may not be used with non-aggregate %.*s()", + nId, zId + ); + pNC->nErr++; + } +#endif + if( is_agg ){ + /* Window functions may not be arguments of aggregate functions. + ** Or arguments of other window functions. But aggregate functions + ** may be arguments for window functions. */ +#ifndef SQLITE_OMIT_WINDOWFUNC + pNC->ncFlags &= ~(NC_AllowWin | (!pWin ? NC_AllowAgg : 0)); +#else + pNC->ncFlags &= ~NC_AllowAgg; +#endif + } + } +#ifndef SQLITE_OMIT_WINDOWFUNC + else if( ExprHasProperty(pExpr, EP_WinFunc) ){ + is_agg = 1; + } +#endif + sqlite3WalkExprList(pWalker, pList); + if( is_agg ){ +#ifndef SQLITE_OMIT_WINDOWFUNC + if( pWin ){ + Select *pSel = pNC->pWinSelect; + assert( pWin==pExpr->y.pWin ); + if( IN_RENAME_OBJECT==0 ){ + sqlite3WindowUpdate(pParse, pSel->pWinDefn, pWin, pDef); + } + sqlite3WalkExprList(pWalker, pWin->pPartition); + sqlite3WalkExprList(pWalker, pWin->pOrderBy); + sqlite3WalkExpr(pWalker, pWin->pFilter); + sqlite3WindowLink(pSel, pWin); + pNC->ncFlags |= NC_HasWin; + }else +#endif /* SQLITE_OMIT_WINDOWFUNC */ + { + NameContext *pNC2 = pNC; + pExpr->op = TK_AGG_FUNCTION; + pExpr->op2 = 0; +#ifndef SQLITE_OMIT_WINDOWFUNC + if( ExprHasProperty(pExpr, EP_WinFunc) ){ + sqlite3WalkExpr(pWalker, pExpr->y.pWin->pFilter); + } +#endif + while( pNC2 && !sqlite3FunctionUsesThisSrc(pExpr, pNC2->pSrcList) ){ + pExpr->op2++; + pNC2 = pNC2->pNext; + } + assert( pDef!=0 || IN_RENAME_OBJECT ); + if( pNC2 && pDef ){ + assert( SQLITE_FUNC_MINMAX==NC_MinMaxAgg ); + testcase( (pDef->funcFlags & SQLITE_FUNC_MINMAX)!=0 ); + pNC2->ncFlags |= NC_HasAgg | (pDef->funcFlags & SQLITE_FUNC_MINMAX); + + } + } + pNC->ncFlags |= savedAllowFlags; + } + /* FIX ME: Compute pExpr->affinity based on the expected return + ** type of the function + */ + return WRC_Prune; + } +#ifndef SQLITE_OMIT_SUBQUERY + case TK_SELECT: + case TK_EXISTS: testcase( pExpr->op==TK_EXISTS ); +#endif + case TK_IN: { + testcase( pExpr->op==TK_IN ); + if( ExprHasProperty(pExpr, EP_xIsSelect) ){ + int nRef = pNC->nRef; + notValid(pParse, pNC, "subqueries", NC_IsCheck|NC_PartIdx|NC_IdxExpr); + sqlite3WalkSelect(pWalker, pExpr->x.pSelect); + assert( pNC->nRef>=nRef ); + if( nRef!=pNC->nRef ){ + ExprSetProperty(pExpr, EP_VarSelect); + pNC->ncFlags |= NC_VarSelect; + } + } + break; + } + case TK_VARIABLE: { + notValid(pParse, pNC, "parameters", NC_IsCheck|NC_PartIdx|NC_IdxExpr); + break; + } + case TK_IS: + case TK_ISNOT: { + Expr *pRight = sqlite3ExprSkipCollateAndLikely(pExpr->pRight); + assert( !ExprHasProperty(pExpr, EP_Reduced) ); + /* Handle special cases of "x IS TRUE", "x IS FALSE", "x IS NOT TRUE", + ** and "x IS NOT FALSE". */ + if( pRight->op==TK_ID ){ + int rc = resolveExprStep(pWalker, pRight); + if( rc==WRC_Abort ) return WRC_Abort; + if( pRight->op==TK_TRUEFALSE ){ + pExpr->op2 = pExpr->op; + pExpr->op = TK_TRUTH; + return WRC_Continue; + } + } + /* Fall thru */ + } + case TK_BETWEEN: + case TK_EQ: + case TK_NE: + case TK_LT: + case TK_LE: + case TK_GT: + case TK_GE: { + int nLeft, nRight; + if( pParse->db->mallocFailed ) break; + assert( pExpr->pLeft!=0 ); + nLeft = sqlite3ExprVectorSize(pExpr->pLeft); + if( pExpr->op==TK_BETWEEN ){ + nRight = sqlite3ExprVectorSize(pExpr->x.pList->a[0].pExpr); + if( nRight==nLeft ){ + nRight = sqlite3ExprVectorSize(pExpr->x.pList->a[1].pExpr); + } + }else{ + assert( pExpr->pRight!=0 ); + nRight = sqlite3ExprVectorSize(pExpr->pRight); + } + if( nLeft!=nRight ){ + testcase( pExpr->op==TK_EQ ); + testcase( pExpr->op==TK_NE ); + testcase( pExpr->op==TK_LT ); + testcase( pExpr->op==TK_LE ); + testcase( pExpr->op==TK_GT ); + testcase( pExpr->op==TK_GE ); + testcase( pExpr->op==TK_IS ); + testcase( pExpr->op==TK_ISNOT ); + testcase( pExpr->op==TK_BETWEEN ); + sqlite3ErrorMsg(pParse, "row value misused"); + } + break; + } + } + return (pParse->nErr || pParse->db->mallocFailed) ? WRC_Abort : WRC_Continue; +} + +/* +** pEList is a list of expressions which are really the result set of the +** a SELECT statement. pE is a term in an ORDER BY or GROUP BY clause. +** This routine checks to see if pE is a simple identifier which corresponds +** to the AS-name of one of the terms of the expression list. If it is, +** this routine return an integer between 1 and N where N is the number of +** elements in pEList, corresponding to the matching entry. If there is +** no match, or if pE is not a simple identifier, then this routine +** return 0. +** +** pEList has been resolved. pE has not. +*/ +static int resolveAsName( + Parse *pParse, /* Parsing context for error messages */ + ExprList *pEList, /* List of expressions to scan */ + Expr *pE /* Expression we are trying to match */ +){ + int i; /* Loop counter */ + + UNUSED_PARAMETER(pParse); + + if( pE->op==TK_ID ){ + char *zCol = pE->u.zToken; + for(i=0; inExpr; i++){ + char *zAs = pEList->a[i].zName; + if( zAs!=0 && sqlite3StrICmp(zAs, zCol)==0 ){ + return i+1; + } + } + } + return 0; +} + +/* +** pE is a pointer to an expression which is a single term in the +** ORDER BY of a compound SELECT. The expression has not been +** name resolved. +** +** At the point this routine is called, we already know that the +** ORDER BY term is not an integer index into the result set. That +** case is handled by the calling routine. +** +** Attempt to match pE against result set columns in the left-most +** SELECT statement. Return the index i of the matching column, +** as an indication to the caller that it should sort by the i-th column. +** The left-most column is 1. In other words, the value returned is the +** same integer value that would be used in the SQL statement to indicate +** the column. +** +** If there is no match, return 0. Return -1 if an error occurs. +*/ +static int resolveOrderByTermToExprList( + Parse *pParse, /* Parsing context for error messages */ + Select *pSelect, /* The SELECT statement with the ORDER BY clause */ + Expr *pE /* The specific ORDER BY term */ +){ + int i; /* Loop counter */ + ExprList *pEList; /* The columns of the result set */ + NameContext nc; /* Name context for resolving pE */ + sqlite3 *db; /* Database connection */ + int rc; /* Return code from subprocedures */ + u8 savedSuppErr; /* Saved value of db->suppressErr */ + + assert( sqlite3ExprIsInteger(pE, &i)==0 ); + pEList = pSelect->pEList; + + /* Resolve all names in the ORDER BY term expression + */ + memset(&nc, 0, sizeof(nc)); + nc.pParse = pParse; + nc.pSrcList = pSelect->pSrc; + nc.uNC.pEList = pEList; + nc.ncFlags = NC_AllowAgg|NC_UEList; + nc.nErr = 0; + db = pParse->db; + savedSuppErr = db->suppressErr; + db->suppressErr = 1; + rc = sqlite3ResolveExprNames(&nc, pE); + db->suppressErr = savedSuppErr; + if( rc ) return 0; + + /* Try to match the ORDER BY expression against an expression + ** in the result set. Return an 1-based index of the matching + ** result-set entry. + */ + for(i=0; inExpr; i++){ + if( sqlite3ExprCompare(0, pEList->a[i].pExpr, pE, -1)<2 ){ + return i+1; + } + } + + /* If no match, return 0. */ + return 0; +} + +/* +** Generate an ORDER BY or GROUP BY term out-of-range error. +*/ +static void resolveOutOfRangeError( + Parse *pParse, /* The error context into which to write the error */ + const char *zType, /* "ORDER" or "GROUP" */ + int i, /* The index (1-based) of the term out of range */ + int mx /* Largest permissible value of i */ +){ + sqlite3ErrorMsg(pParse, + "%r %s BY term out of range - should be " + "between 1 and %d", i, zType, mx); +} + +/* +** Analyze the ORDER BY clause in a compound SELECT statement. Modify +** each term of the ORDER BY clause is a constant integer between 1 +** and N where N is the number of columns in the compound SELECT. +** +** ORDER BY terms that are already an integer between 1 and N are +** unmodified. ORDER BY terms that are integers outside the range of +** 1 through N generate an error. ORDER BY terms that are expressions +** are matched against result set expressions of compound SELECT +** beginning with the left-most SELECT and working toward the right. +** At the first match, the ORDER BY expression is transformed into +** the integer column number. +** +** Return the number of errors seen. +*/ +static int resolveCompoundOrderBy( + Parse *pParse, /* Parsing context. Leave error messages here */ + Select *pSelect /* The SELECT statement containing the ORDER BY */ +){ + int i; + ExprList *pOrderBy; + ExprList *pEList; + sqlite3 *db; + int moreToDo = 1; + + pOrderBy = pSelect->pOrderBy; + if( pOrderBy==0 ) return 0; + db = pParse->db; + if( pOrderBy->nExpr>db->aLimit[SQLITE_LIMIT_COLUMN] ){ + sqlite3ErrorMsg(pParse, "too many terms in ORDER BY clause"); + return 1; + } + for(i=0; inExpr; i++){ + pOrderBy->a[i].done = 0; + } + pSelect->pNext = 0; + while( pSelect->pPrior ){ + pSelect->pPrior->pNext = pSelect; + pSelect = pSelect->pPrior; + } + while( pSelect && moreToDo ){ + struct ExprList_item *pItem; + moreToDo = 0; + pEList = pSelect->pEList; + assert( pEList!=0 ); + for(i=0, pItem=pOrderBy->a; inExpr; i++, pItem++){ + int iCol = -1; + Expr *pE, *pDup; + if( pItem->done ) continue; + pE = sqlite3ExprSkipCollateAndLikely(pItem->pExpr); + if( sqlite3ExprIsInteger(pE, &iCol) ){ + if( iCol<=0 || iCol>pEList->nExpr ){ + resolveOutOfRangeError(pParse, "ORDER", i+1, pEList->nExpr); + return 1; + } + }else{ + iCol = resolveAsName(pParse, pEList, pE); + if( iCol==0 ){ + /* Now test if expression pE matches one of the values returned + ** by pSelect. In the usual case this is done by duplicating the + ** expression, resolving any symbols in it, and then comparing + ** it against each expression returned by the SELECT statement. + ** Once the comparisons are finished, the duplicate expression + ** is deleted. + ** + ** Or, if this is running as part of an ALTER TABLE operation, + ** resolve the symbols in the actual expression, not a duplicate. + ** And, if one of the comparisons is successful, leave the expression + ** as is instead of transforming it to an integer as in the usual + ** case. This allows the code in alter.c to modify column + ** refererences within the ORDER BY expression as required. */ + if( IN_RENAME_OBJECT ){ + pDup = pE; + }else{ + pDup = sqlite3ExprDup(db, pE, 0); + } + if( !db->mallocFailed ){ + assert(pDup); + iCol = resolveOrderByTermToExprList(pParse, pSelect, pDup); + } + if( !IN_RENAME_OBJECT ){ + sqlite3ExprDelete(db, pDup); + } + } + } + if( iCol>0 ){ + /* Convert the ORDER BY term into an integer column number iCol, + ** taking care to preserve the COLLATE clause if it exists */ + if( !IN_RENAME_OBJECT ){ + Expr *pNew = sqlite3Expr(db, TK_INTEGER, 0); + if( pNew==0 ) return 1; + pNew->flags |= EP_IntValue; + pNew->u.iValue = iCol; + if( pItem->pExpr==pE ){ + pItem->pExpr = pNew; + }else{ + Expr *pParent = pItem->pExpr; + assert( pParent->op==TK_COLLATE ); + while( pParent->pLeft->op==TK_COLLATE ) pParent = pParent->pLeft; + assert( pParent->pLeft==pE ); + pParent->pLeft = pNew; + } + sqlite3ExprDelete(db, pE); + pItem->u.x.iOrderByCol = (u16)iCol; + } + pItem->done = 1; + }else{ + moreToDo = 1; + } + } + pSelect = pSelect->pNext; + } + for(i=0; inExpr; i++){ + if( pOrderBy->a[i].done==0 ){ + sqlite3ErrorMsg(pParse, "%r ORDER BY term does not match any " + "column in the result set", i+1); + return 1; + } + } + return 0; +} + +/* +** Check every term in the ORDER BY or GROUP BY clause pOrderBy of +** the SELECT statement pSelect. If any term is reference to a +** result set expression (as determined by the ExprList.a.u.x.iOrderByCol +** field) then convert that term into a copy of the corresponding result set +** column. +** +** If any errors are detected, add an error message to pParse and +** return non-zero. Return zero if no errors are seen. +*/ +SQLITE_PRIVATE int sqlite3ResolveOrderGroupBy( + Parse *pParse, /* Parsing context. Leave error messages here */ + Select *pSelect, /* The SELECT statement containing the clause */ + ExprList *pOrderBy, /* The ORDER BY or GROUP BY clause to be processed */ + const char *zType /* "ORDER" or "GROUP" */ +){ + int i; + sqlite3 *db = pParse->db; + ExprList *pEList; + struct ExprList_item *pItem; + + if( pOrderBy==0 || pParse->db->mallocFailed || IN_RENAME_OBJECT ) return 0; + if( pOrderBy->nExpr>db->aLimit[SQLITE_LIMIT_COLUMN] ){ + sqlite3ErrorMsg(pParse, "too many terms in %s BY clause", zType); + return 1; + } + pEList = pSelect->pEList; + assert( pEList!=0 ); /* sqlite3SelectNew() guarantees this */ + for(i=0, pItem=pOrderBy->a; inExpr; i++, pItem++){ + if( pItem->u.x.iOrderByCol ){ + if( pItem->u.x.iOrderByCol>pEList->nExpr ){ + resolveOutOfRangeError(pParse, zType, i+1, pEList->nExpr); + return 1; + } + resolveAlias(pParse, pEList, pItem->u.x.iOrderByCol-1, pItem->pExpr, + zType,0); + } + } + return 0; +} + +#ifndef SQLITE_OMIT_WINDOWFUNC +/* +** Walker callback for windowRemoveExprFromSelect(). +*/ +static int resolveRemoveWindowsCb(Walker *pWalker, Expr *pExpr){ + UNUSED_PARAMETER(pWalker); + if( ExprHasProperty(pExpr, EP_WinFunc) ){ + Window *pWin = pExpr->y.pWin; + sqlite3WindowUnlinkFromSelect(pWin); + } + return WRC_Continue; +} + +/* +** Remove any Window objects owned by the expression pExpr from the +** Select.pWin list of Select object pSelect. +*/ +static void windowRemoveExprFromSelect(Select *pSelect, Expr *pExpr){ + if( pSelect->pWin ){ + Walker sWalker; + memset(&sWalker, 0, sizeof(Walker)); + sWalker.xExprCallback = resolveRemoveWindowsCb; + sWalker.u.pSelect = pSelect; + sqlite3WalkExpr(&sWalker, pExpr); + } +} +#else +# define windowRemoveExprFromSelect(a, b) +#endif /* SQLITE_OMIT_WINDOWFUNC */ + +/* +** pOrderBy is an ORDER BY or GROUP BY clause in SELECT statement pSelect. +** The Name context of the SELECT statement is pNC. zType is either +** "ORDER" or "GROUP" depending on which type of clause pOrderBy is. +** +** This routine resolves each term of the clause into an expression. +** If the order-by term is an integer I between 1 and N (where N is the +** number of columns in the result set of the SELECT) then the expression +** in the resolution is a copy of the I-th result-set expression. If +** the order-by term is an identifier that corresponds to the AS-name of +** a result-set expression, then the term resolves to a copy of the +** result-set expression. Otherwise, the expression is resolved in +** the usual way - using sqlite3ResolveExprNames(). +** +** This routine returns the number of errors. If errors occur, then +** an appropriate error message might be left in pParse. (OOM errors +** excepted.) +*/ +static int resolveOrderGroupBy( + NameContext *pNC, /* The name context of the SELECT statement */ + Select *pSelect, /* The SELECT statement holding pOrderBy */ + ExprList *pOrderBy, /* An ORDER BY or GROUP BY clause to resolve */ + const char *zType /* Either "ORDER" or "GROUP", as appropriate */ +){ + int i, j; /* Loop counters */ + int iCol; /* Column number */ + struct ExprList_item *pItem; /* A term of the ORDER BY clause */ + Parse *pParse; /* Parsing context */ + int nResult; /* Number of terms in the result set */ + + if( pOrderBy==0 ) return 0; + nResult = pSelect->pEList->nExpr; + pParse = pNC->pParse; + for(i=0, pItem=pOrderBy->a; inExpr; i++, pItem++){ + Expr *pE = pItem->pExpr; + Expr *pE2 = sqlite3ExprSkipCollateAndLikely(pE); + if( zType[0]!='G' ){ + iCol = resolveAsName(pParse, pSelect->pEList, pE2); + if( iCol>0 ){ + /* If an AS-name match is found, mark this ORDER BY column as being + ** a copy of the iCol-th result-set column. The subsequent call to + ** sqlite3ResolveOrderGroupBy() will convert the expression to a + ** copy of the iCol-th result-set expression. */ + pItem->u.x.iOrderByCol = (u16)iCol; + continue; + } + } + if( sqlite3ExprIsInteger(pE2, &iCol) ){ + /* The ORDER BY term is an integer constant. Again, set the column + ** number so that sqlite3ResolveOrderGroupBy() will convert the + ** order-by term to a copy of the result-set expression */ + if( iCol<1 || iCol>0xffff ){ + resolveOutOfRangeError(pParse, zType, i+1, nResult); + return 1; + } + pItem->u.x.iOrderByCol = (u16)iCol; + continue; + } + + /* Otherwise, treat the ORDER BY term as an ordinary expression */ + pItem->u.x.iOrderByCol = 0; + if( sqlite3ResolveExprNames(pNC, pE) ){ + return 1; + } + for(j=0; jpEList->nExpr; j++){ + if( sqlite3ExprCompare(0, pE, pSelect->pEList->a[j].pExpr, -1)==0 ){ + /* Since this expresion is being changed into a reference + ** to an identical expression in the result set, remove all Window + ** objects belonging to the expression from the Select.pWin list. */ + windowRemoveExprFromSelect(pSelect, pE); + pItem->u.x.iOrderByCol = j+1; + } + } + } + return sqlite3ResolveOrderGroupBy(pParse, pSelect, pOrderBy, zType); +} + +/* +** Resolve names in the SELECT statement p and all of its descendants. +*/ +static int resolveSelectStep(Walker *pWalker, Select *p){ + NameContext *pOuterNC; /* Context that contains this SELECT */ + NameContext sNC; /* Name context of this SELECT */ + int isCompound; /* True if p is a compound select */ + int nCompound; /* Number of compound terms processed so far */ + Parse *pParse; /* Parsing context */ + int i; /* Loop counter */ + ExprList *pGroupBy; /* The GROUP BY clause */ + Select *pLeftmost; /* Left-most of SELECT of a compound */ + sqlite3 *db; /* Database connection */ + + + assert( p!=0 ); + if( p->selFlags & SF_Resolved ){ + return WRC_Prune; + } + pOuterNC = pWalker->u.pNC; + pParse = pWalker->pParse; + db = pParse->db; + + /* Normally sqlite3SelectExpand() will be called first and will have + ** already expanded this SELECT. However, if this is a subquery within + ** an expression, sqlite3ResolveExprNames() will be called without a + ** prior call to sqlite3SelectExpand(). When that happens, let + ** sqlite3SelectPrep() do all of the processing for this SELECT. + ** sqlite3SelectPrep() will invoke both sqlite3SelectExpand() and + ** this routine in the correct order. + */ + if( (p->selFlags & SF_Expanded)==0 ){ + sqlite3SelectPrep(pParse, p, pOuterNC); + return (pParse->nErr || db->mallocFailed) ? WRC_Abort : WRC_Prune; + } + + isCompound = p->pPrior!=0; + nCompound = 0; + pLeftmost = p; + while( p ){ + assert( (p->selFlags & SF_Expanded)!=0 ); + assert( (p->selFlags & SF_Resolved)==0 ); + p->selFlags |= SF_Resolved; + + /* Resolve the expressions in the LIMIT and OFFSET clauses. These + ** are not allowed to refer to any names, so pass an empty NameContext. + */ + memset(&sNC, 0, sizeof(sNC)); + sNC.pParse = pParse; + sNC.pWinSelect = p; + if( sqlite3ResolveExprNames(&sNC, p->pLimit) ){ + return WRC_Abort; + } + + /* If the SF_Converted flags is set, then this Select object was + ** was created by the convertCompoundSelectToSubquery() function. + ** In this case the ORDER BY clause (p->pOrderBy) should be resolved + ** as if it were part of the sub-query, not the parent. This block + ** moves the pOrderBy down to the sub-query. It will be moved back + ** after the names have been resolved. */ + if( p->selFlags & SF_Converted ){ + Select *pSub = p->pSrc->a[0].pSelect; + assert( p->pSrc->nSrc==1 && p->pOrderBy ); + assert( pSub->pPrior && pSub->pOrderBy==0 ); + pSub->pOrderBy = p->pOrderBy; + p->pOrderBy = 0; + } + + /* Recursively resolve names in all subqueries + */ + for(i=0; ipSrc->nSrc; i++){ + struct SrcList_item *pItem = &p->pSrc->a[i]; + if( pItem->pSelect && (pItem->pSelect->selFlags & SF_Resolved)==0 ){ + NameContext *pNC; /* Used to iterate name contexts */ + int nRef = 0; /* Refcount for pOuterNC and outer contexts */ + const char *zSavedContext = pParse->zAuthContext; + + /* Count the total number of references to pOuterNC and all of its + ** parent contexts. After resolving references to expressions in + ** pItem->pSelect, check if this value has changed. If so, then + ** SELECT statement pItem->pSelect must be correlated. Set the + ** pItem->fg.isCorrelated flag if this is the case. */ + for(pNC=pOuterNC; pNC; pNC=pNC->pNext) nRef += pNC->nRef; + + if( pItem->zName ) pParse->zAuthContext = pItem->zName; + sqlite3ResolveSelectNames(pParse, pItem->pSelect, pOuterNC); + pParse->zAuthContext = zSavedContext; + if( pParse->nErr || db->mallocFailed ) return WRC_Abort; + + for(pNC=pOuterNC; pNC; pNC=pNC->pNext) nRef -= pNC->nRef; + assert( pItem->fg.isCorrelated==0 && nRef<=0 ); + pItem->fg.isCorrelated = (nRef!=0); + } + } + + /* Set up the local name-context to pass to sqlite3ResolveExprNames() to + ** resolve the result-set expression list. + */ + sNC.ncFlags = NC_AllowAgg|NC_AllowWin; + sNC.pSrcList = p->pSrc; + sNC.pNext = pOuterNC; + + /* Resolve names in the result set. */ + if( sqlite3ResolveExprListNames(&sNC, p->pEList) ) return WRC_Abort; + sNC.ncFlags &= ~NC_AllowWin; + + /* If there are no aggregate functions in the result-set, and no GROUP BY + ** expression, do not allow aggregates in any of the other expressions. + */ + assert( (p->selFlags & SF_Aggregate)==0 ); + pGroupBy = p->pGroupBy; + if( pGroupBy || (sNC.ncFlags & NC_HasAgg)!=0 ){ + assert( NC_MinMaxAgg==SF_MinMaxAgg ); + p->selFlags |= SF_Aggregate | (sNC.ncFlags&NC_MinMaxAgg); + }else{ + sNC.ncFlags &= ~NC_AllowAgg; + } + + /* If a HAVING clause is present, then there must be a GROUP BY clause. + */ + if( p->pHaving && !pGroupBy ){ + sqlite3ErrorMsg(pParse, "a GROUP BY clause is required before HAVING"); + return WRC_Abort; + } + + /* Add the output column list to the name-context before parsing the + ** other expressions in the SELECT statement. This is so that + ** expressions in the WHERE clause (etc.) can refer to expressions by + ** aliases in the result set. + ** + ** Minor point: If this is the case, then the expression will be + ** re-evaluated for each reference to it. + */ + assert( (sNC.ncFlags & (NC_UAggInfo|NC_UUpsert))==0 ); + sNC.uNC.pEList = p->pEList; + sNC.ncFlags |= NC_UEList; + if( sqlite3ResolveExprNames(&sNC, p->pHaving) ) return WRC_Abort; + if( sqlite3ResolveExprNames(&sNC, p->pWhere) ) return WRC_Abort; + + /* Resolve names in table-valued-function arguments */ + for(i=0; ipSrc->nSrc; i++){ + struct SrcList_item *pItem = &p->pSrc->a[i]; + if( pItem->fg.isTabFunc + && sqlite3ResolveExprListNames(&sNC, pItem->u1.pFuncArg) + ){ + return WRC_Abort; + } + } + + /* The ORDER BY and GROUP BY clauses may not refer to terms in + ** outer queries + */ + sNC.pNext = 0; + sNC.ncFlags |= NC_AllowAgg|NC_AllowWin; + + /* If this is a converted compound query, move the ORDER BY clause from + ** the sub-query back to the parent query. At this point each term + ** within the ORDER BY clause has been transformed to an integer value. + ** These integers will be replaced by copies of the corresponding result + ** set expressions by the call to resolveOrderGroupBy() below. */ + if( p->selFlags & SF_Converted ){ + Select *pSub = p->pSrc->a[0].pSelect; + p->pOrderBy = pSub->pOrderBy; + pSub->pOrderBy = 0; + } + + /* Process the ORDER BY clause for singleton SELECT statements. + ** The ORDER BY clause for compounds SELECT statements is handled + ** below, after all of the result-sets for all of the elements of + ** the compound have been resolved. + ** + ** If there is an ORDER BY clause on a term of a compound-select other + ** than the right-most term, then that is a syntax error. But the error + ** is not detected until much later, and so we need to go ahead and + ** resolve those symbols on the incorrect ORDER BY for consistency. + */ + if( isCompound<=nCompound /* Defer right-most ORDER BY of a compound */ + && resolveOrderGroupBy(&sNC, p, p->pOrderBy, "ORDER") + ){ + return WRC_Abort; + } + if( db->mallocFailed ){ + return WRC_Abort; + } + sNC.ncFlags &= ~NC_AllowWin; + + /* Resolve the GROUP BY clause. At the same time, make sure + ** the GROUP BY clause does not contain aggregate functions. + */ + if( pGroupBy ){ + struct ExprList_item *pItem; + + if( resolveOrderGroupBy(&sNC, p, pGroupBy, "GROUP") || db->mallocFailed ){ + return WRC_Abort; + } + for(i=0, pItem=pGroupBy->a; inExpr; i++, pItem++){ + if( ExprHasProperty(pItem->pExpr, EP_Agg) ){ + sqlite3ErrorMsg(pParse, "aggregate functions are not allowed in " + "the GROUP BY clause"); + return WRC_Abort; + } + } + } + +#ifndef SQLITE_OMIT_WINDOWFUNC + if( IN_RENAME_OBJECT ){ + Window *pWin; + for(pWin=p->pWinDefn; pWin; pWin=pWin->pNextWin){ + if( sqlite3ResolveExprListNames(&sNC, pWin->pOrderBy) + || sqlite3ResolveExprListNames(&sNC, pWin->pPartition) + ){ + return WRC_Abort; + } + } + } +#endif + + /* If this is part of a compound SELECT, check that it has the right + ** number of expressions in the select list. */ + if( p->pNext && p->pEList->nExpr!=p->pNext->pEList->nExpr ){ + sqlite3SelectWrongNumTermsError(pParse, p->pNext); + return WRC_Abort; + } + + /* Advance to the next term of the compound + */ + p = p->pPrior; + nCompound++; + } + + /* Resolve the ORDER BY on a compound SELECT after all terms of + ** the compound have been resolved. + */ + if( isCompound && resolveCompoundOrderBy(pParse, pLeftmost) ){ + return WRC_Abort; + } + + return WRC_Prune; +} + +/* +** This routine walks an expression tree and resolves references to +** table columns and result-set columns. At the same time, do error +** checking on function usage and set a flag if any aggregate functions +** are seen. +** +** To resolve table columns references we look for nodes (or subtrees) of the +** form X.Y.Z or Y.Z or just Z where +** +** X: The name of a database. Ex: "main" or "temp" or +** the symbolic name assigned to an ATTACH-ed database. +** +** Y: The name of a table in a FROM clause. Or in a trigger +** one of the special names "old" or "new". +** +** Z: The name of a column in table Y. +** +** The node at the root of the subtree is modified as follows: +** +** Expr.op Changed to TK_COLUMN +** Expr.pTab Points to the Table object for X.Y +** Expr.iColumn The column index in X.Y. -1 for the rowid. +** Expr.iTable The VDBE cursor number for X.Y +** +** +** To resolve result-set references, look for expression nodes of the +** form Z (with no X and Y prefix) where the Z matches the right-hand +** size of an AS clause in the result-set of a SELECT. The Z expression +** is replaced by a copy of the left-hand side of the result-set expression. +** Table-name and function resolution occurs on the substituted expression +** tree. For example, in: +** +** SELECT a+b AS x, c+d AS y FROM t1 ORDER BY x; +** +** The "x" term of the order by is replaced by "a+b" to render: +** +** SELECT a+b AS x, c+d AS y FROM t1 ORDER BY a+b; +** +** Function calls are checked to make sure that the function is +** defined and that the correct number of arguments are specified. +** If the function is an aggregate function, then the NC_HasAgg flag is +** set and the opcode is changed from TK_FUNCTION to TK_AGG_FUNCTION. +** If an expression contains aggregate functions then the EP_Agg +** property on the expression is set. +** +** An error message is left in pParse if anything is amiss. The number +** if errors is returned. +*/ +SQLITE_PRIVATE int sqlite3ResolveExprNames( + NameContext *pNC, /* Namespace to resolve expressions in. */ + Expr *pExpr /* The expression to be analyzed. */ +){ + int savedHasAgg; + Walker w; + + if( pExpr==0 ) return SQLITE_OK; + savedHasAgg = pNC->ncFlags & (NC_HasAgg|NC_MinMaxAgg|NC_HasWin); + pNC->ncFlags &= ~(NC_HasAgg|NC_MinMaxAgg|NC_HasWin); + w.pParse = pNC->pParse; + w.xExprCallback = resolveExprStep; + w.xSelectCallback = resolveSelectStep; + w.xSelectCallback2 = 0; + w.u.pNC = pNC; +#if SQLITE_MAX_EXPR_DEPTH>0 + w.pParse->nHeight += pExpr->nHeight; + if( sqlite3ExprCheckHeight(w.pParse, w.pParse->nHeight) ){ + return SQLITE_ERROR; + } +#endif + sqlite3WalkExpr(&w, pExpr); +#if SQLITE_MAX_EXPR_DEPTH>0 + w.pParse->nHeight -= pExpr->nHeight; +#endif + assert( EP_Agg==NC_HasAgg ); + assert( EP_Win==NC_HasWin ); + testcase( pNC->ncFlags & NC_HasAgg ); + testcase( pNC->ncFlags & NC_HasWin ); + ExprSetProperty(pExpr, pNC->ncFlags & (NC_HasAgg|NC_HasWin) ); + pNC->ncFlags |= savedHasAgg; + return pNC->nErr>0 || w.pParse->nErr>0; +} + +/* +** Resolve all names for all expression in an expression list. This is +** just like sqlite3ResolveExprNames() except that it works for an expression +** list rather than a single expression. +*/ +SQLITE_PRIVATE int sqlite3ResolveExprListNames( + NameContext *pNC, /* Namespace to resolve expressions in. */ + ExprList *pList /* The expression list to be analyzed. */ +){ + int i; + if( pList ){ + for(i=0; inExpr; i++){ + if( sqlite3ResolveExprNames(pNC, pList->a[i].pExpr) ) return WRC_Abort; + } + } + return WRC_Continue; +} + +/* +** Resolve all names in all expressions of a SELECT and in all +** decendents of the SELECT, including compounds off of p->pPrior, +** subqueries in expressions, and subqueries used as FROM clause +** terms. +** +** See sqlite3ResolveExprNames() for a description of the kinds of +** transformations that occur. +** +** All SELECT statements should have been expanded using +** sqlite3SelectExpand() prior to invoking this routine. +*/ +SQLITE_PRIVATE void sqlite3ResolveSelectNames( + Parse *pParse, /* The parser context */ + Select *p, /* The SELECT statement being coded. */ + NameContext *pOuterNC /* Name context for parent SELECT statement */ +){ + Walker w; + + assert( p!=0 ); + w.xExprCallback = resolveExprStep; + w.xSelectCallback = resolveSelectStep; + w.xSelectCallback2 = 0; + w.pParse = pParse; + w.u.pNC = pOuterNC; + sqlite3WalkSelect(&w, p); +} + +/* +** Resolve names in expressions that can only reference a single table +** or which cannot reference any tables at all. Examples: +** +** (1) CHECK constraints +** (2) WHERE clauses on partial indices +** (3) Expressions in indexes on expressions +** (4) Expression arguments to VACUUM INTO. +** +** In all cases except (4), the Expr.iTable value for Expr.op==TK_COLUMN +** nodes of the expression is set to -1 and the Expr.iColumn value is +** set to the column number. In case (4), TK_COLUMN nodes cause an error. +** +** Any errors cause an error message to be set in pParse. +*/ +SQLITE_PRIVATE int sqlite3ResolveSelfReference( + Parse *pParse, /* Parsing context */ + Table *pTab, /* The table being referenced, or NULL */ + int type, /* NC_IsCheck or NC_PartIdx or NC_IdxExpr, or 0 */ + Expr *pExpr, /* Expression to resolve. May be NULL. */ + ExprList *pList /* Expression list to resolve. May be NULL. */ +){ + SrcList sSrc; /* Fake SrcList for pParse->pNewTable */ + NameContext sNC; /* Name context for pParse->pNewTable */ + int rc; + + assert( type==0 || pTab!=0 ); + assert( type==NC_IsCheck || type==NC_PartIdx || type==NC_IdxExpr || pTab==0 ); + memset(&sNC, 0, sizeof(sNC)); + memset(&sSrc, 0, sizeof(sSrc)); + if( pTab ){ + sSrc.nSrc = 1; + sSrc.a[0].zName = pTab->zName; + sSrc.a[0].pTab = pTab; + sSrc.a[0].iCursor = -1; + } + sNC.pParse = pParse; + sNC.pSrcList = &sSrc; + sNC.ncFlags = type | NC_IsDDL; + if( (rc = sqlite3ResolveExprNames(&sNC, pExpr))!=SQLITE_OK ) return rc; + if( pList ) rc = sqlite3ResolveExprListNames(&sNC, pList); + return rc; +} + +/************** End of resolve.c *********************************************/ +/************** Begin file expr.c ********************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains routines used for analyzing expressions and +** for generating VDBE code that evaluates expressions in SQLite. +*/ +/* #include "sqliteInt.h" */ + +/* Forward declarations */ +static void exprCodeBetween(Parse*,Expr*,int,void(*)(Parse*,Expr*,int,int),int); +static int exprCodeVector(Parse *pParse, Expr *p, int *piToFree); + +/* +** Return the affinity character for a single column of a table. +*/ +SQLITE_PRIVATE char sqlite3TableColumnAffinity(Table *pTab, int iCol){ + assert( iColnCol ); + return iCol>=0 ? pTab->aCol[iCol].affinity : SQLITE_AFF_INTEGER; +} + +/* +** Return the 'affinity' of the expression pExpr if any. +** +** If pExpr is a column, a reference to a column via an 'AS' alias, +** or a sub-select with a column as the return value, then the +** affinity of that column is returned. Otherwise, 0x00 is returned, +** indicating no affinity for the expression. +** +** i.e. the WHERE clause expressions in the following statements all +** have an affinity: +** +** CREATE TABLE t1(a); +** SELECT * FROM t1 WHERE a; +** SELECT a AS b FROM t1 WHERE b; +** SELECT * FROM t1 WHERE (select a from t1); +*/ +SQLITE_PRIVATE char sqlite3ExprAffinity(Expr *pExpr){ + int op; + while( ExprHasProperty(pExpr, EP_Skip) ){ + assert( pExpr->op==TK_COLLATE ); + pExpr = pExpr->pLeft; + assert( pExpr!=0 ); + } + op = pExpr->op; + if( op==TK_SELECT ){ + assert( pExpr->flags&EP_xIsSelect ); + return sqlite3ExprAffinity(pExpr->x.pSelect->pEList->a[0].pExpr); + } + if( op==TK_REGISTER ) op = pExpr->op2; +#ifndef SQLITE_OMIT_CAST + if( op==TK_CAST ){ + assert( !ExprHasProperty(pExpr, EP_IntValue) ); + return sqlite3AffinityType(pExpr->u.zToken, 0); + } +#endif + if( (op==TK_AGG_COLUMN || op==TK_COLUMN) && pExpr->y.pTab ){ + return sqlite3TableColumnAffinity(pExpr->y.pTab, pExpr->iColumn); + } + if( op==TK_SELECT_COLUMN ){ + assert( pExpr->pLeft->flags&EP_xIsSelect ); + return sqlite3ExprAffinity( + pExpr->pLeft->x.pSelect->pEList->a[pExpr->iColumn].pExpr + ); + } + return pExpr->affExpr; +} + +/* +** Set the collating sequence for expression pExpr to be the collating +** sequence named by pToken. Return a pointer to a new Expr node that +** implements the COLLATE operator. +** +** If a memory allocation error occurs, that fact is recorded in pParse->db +** and the pExpr parameter is returned unchanged. +*/ +SQLITE_PRIVATE Expr *sqlite3ExprAddCollateToken( + Parse *pParse, /* Parsing context */ + Expr *pExpr, /* Add the "COLLATE" clause to this expression */ + const Token *pCollName, /* Name of collating sequence */ + int dequote /* True to dequote pCollName */ +){ + if( pCollName->n>0 ){ + Expr *pNew = sqlite3ExprAlloc(pParse->db, TK_COLLATE, pCollName, dequote); + if( pNew ){ + pNew->pLeft = pExpr; + pNew->flags |= EP_Collate|EP_Skip; + pExpr = pNew; + } + } + return pExpr; +} +SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString(Parse *pParse, Expr *pExpr, const char *zC){ + Token s; + assert( zC!=0 ); + sqlite3TokenInit(&s, (char*)zC); + return sqlite3ExprAddCollateToken(pParse, pExpr, &s, 0); +} + +/* +** Skip over any TK_COLLATE operators. +*/ +SQLITE_PRIVATE Expr *sqlite3ExprSkipCollate(Expr *pExpr){ + while( pExpr && ExprHasProperty(pExpr, EP_Skip) ){ + assert( pExpr->op==TK_COLLATE ); + pExpr = pExpr->pLeft; + } + return pExpr; +} + +/* +** Skip over any TK_COLLATE operators and/or any unlikely() +** or likelihood() or likely() functions at the root of an +** expression. +*/ +SQLITE_PRIVATE Expr *sqlite3ExprSkipCollateAndLikely(Expr *pExpr){ + while( pExpr && ExprHasProperty(pExpr, EP_Skip|EP_Unlikely) ){ + if( ExprHasProperty(pExpr, EP_Unlikely) ){ + assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); + assert( pExpr->x.pList->nExpr>0 ); + assert( pExpr->op==TK_FUNCTION ); + pExpr = pExpr->x.pList->a[0].pExpr; + }else{ + assert( pExpr->op==TK_COLLATE ); + pExpr = pExpr->pLeft; + } + } + return pExpr; +} + +/* +** Return the collation sequence for the expression pExpr. If +** there is no defined collating sequence, return NULL. +** +** See also: sqlite3ExprNNCollSeq() +** +** The sqlite3ExprNNCollSeq() works the same exact that it returns the +** default collation if pExpr has no defined collation. +** +** The collating sequence might be determined by a COLLATE operator +** or by the presence of a column with a defined collating sequence. +** COLLATE operators take first precedence. Left operands take +** precedence over right operands. +*/ +SQLITE_PRIVATE CollSeq *sqlite3ExprCollSeq(Parse *pParse, Expr *pExpr){ + sqlite3 *db = pParse->db; + CollSeq *pColl = 0; + Expr *p = pExpr; + while( p ){ + int op = p->op; + if( op==TK_REGISTER ) op = p->op2; + if( (op==TK_AGG_COLUMN || op==TK_COLUMN || op==TK_TRIGGER) + && p->y.pTab!=0 + ){ + /* op==TK_REGISTER && p->y.pTab!=0 happens when pExpr was originally + ** a TK_COLUMN but was previously evaluated and cached in a register */ + int j = p->iColumn; + if( j>=0 ){ + const char *zColl = p->y.pTab->aCol[j].zColl; + pColl = sqlite3FindCollSeq(db, ENC(db), zColl, 0); + } + break; + } + if( op==TK_CAST || op==TK_UPLUS ){ + p = p->pLeft; + continue; + } + if( op==TK_COLLATE ){ + pColl = sqlite3GetCollSeq(pParse, ENC(db), 0, p->u.zToken); + break; + } + if( p->flags & EP_Collate ){ + if( p->pLeft && (p->pLeft->flags & EP_Collate)!=0 ){ + p = p->pLeft; + }else{ + Expr *pNext = p->pRight; + /* The Expr.x union is never used at the same time as Expr.pRight */ + assert( p->x.pList==0 || p->pRight==0 ); + /* p->flags holds EP_Collate and p->pLeft->flags does not. And + ** p->x.pSelect cannot. So if p->x.pLeft exists, it must hold at + ** least one EP_Collate. Thus the following two ALWAYS. */ + if( p->x.pList!=0 && ALWAYS(!ExprHasProperty(p, EP_xIsSelect)) ){ + int i; + for(i=0; ALWAYS(ix.pList->nExpr); i++){ + if( ExprHasProperty(p->x.pList->a[i].pExpr, EP_Collate) ){ + pNext = p->x.pList->a[i].pExpr; + break; + } + } + } + p = pNext; + } + }else{ + break; + } + } + if( sqlite3CheckCollSeq(pParse, pColl) ){ + pColl = 0; + } + return pColl; +} + +/* +** Return the collation sequence for the expression pExpr. If +** there is no defined collating sequence, return a pointer to the +** defautl collation sequence. +** +** See also: sqlite3ExprCollSeq() +** +** The sqlite3ExprCollSeq() routine works the same except that it +** returns NULL if there is no defined collation. +*/ +SQLITE_PRIVATE CollSeq *sqlite3ExprNNCollSeq(Parse *pParse, Expr *pExpr){ + CollSeq *p = sqlite3ExprCollSeq(pParse, pExpr); + if( p==0 ) p = pParse->db->pDfltColl; + assert( p!=0 ); + return p; +} + +/* +** Return TRUE if the two expressions have equivalent collating sequences. +*/ +SQLITE_PRIVATE int sqlite3ExprCollSeqMatch(Parse *pParse, Expr *pE1, Expr *pE2){ + CollSeq *pColl1 = sqlite3ExprNNCollSeq(pParse, pE1); + CollSeq *pColl2 = sqlite3ExprNNCollSeq(pParse, pE2); + return sqlite3StrICmp(pColl1->zName, pColl2->zName)==0; +} + +/* +** pExpr is an operand of a comparison operator. aff2 is the +** type affinity of the other operand. This routine returns the +** type affinity that should be used for the comparison operator. +*/ +SQLITE_PRIVATE char sqlite3CompareAffinity(Expr *pExpr, char aff2){ + char aff1 = sqlite3ExprAffinity(pExpr); + if( aff1>SQLITE_AFF_NONE && aff2>SQLITE_AFF_NONE ){ + /* Both sides of the comparison are columns. If one has numeric + ** affinity, use that. Otherwise use no affinity. + */ + if( sqlite3IsNumericAffinity(aff1) || sqlite3IsNumericAffinity(aff2) ){ + return SQLITE_AFF_NUMERIC; + }else{ + return SQLITE_AFF_BLOB; + } + }else{ + /* One side is a column, the other is not. Use the columns affinity. */ + assert( aff1<=SQLITE_AFF_NONE || aff2<=SQLITE_AFF_NONE ); + return (aff1<=SQLITE_AFF_NONE ? aff2 : aff1) | SQLITE_AFF_NONE; + } +} + +/* +** pExpr is a comparison operator. Return the type affinity that should +** be applied to both operands prior to doing the comparison. +*/ +static char comparisonAffinity(Expr *pExpr){ + char aff; + assert( pExpr->op==TK_EQ || pExpr->op==TK_IN || pExpr->op==TK_LT || + pExpr->op==TK_GT || pExpr->op==TK_GE || pExpr->op==TK_LE || + pExpr->op==TK_NE || pExpr->op==TK_IS || pExpr->op==TK_ISNOT ); + assert( pExpr->pLeft ); + aff = sqlite3ExprAffinity(pExpr->pLeft); + if( pExpr->pRight ){ + aff = sqlite3CompareAffinity(pExpr->pRight, aff); + }else if( ExprHasProperty(pExpr, EP_xIsSelect) ){ + aff = sqlite3CompareAffinity(pExpr->x.pSelect->pEList->a[0].pExpr, aff); + }else if( aff==0 ){ + aff = SQLITE_AFF_BLOB; + } + return aff; +} + +/* +** pExpr is a comparison expression, eg. '=', '<', IN(...) etc. +** idx_affinity is the affinity of an indexed column. Return true +** if the index with affinity idx_affinity may be used to implement +** the comparison in pExpr. +*/ +SQLITE_PRIVATE int sqlite3IndexAffinityOk(Expr *pExpr, char idx_affinity){ + char aff = comparisonAffinity(pExpr); + if( affflags & EP_Collate ){ + pColl = sqlite3ExprCollSeq(pParse, pLeft); + }else if( pRight && (pRight->flags & EP_Collate)!=0 ){ + pColl = sqlite3ExprCollSeq(pParse, pRight); + }else{ + pColl = sqlite3ExprCollSeq(pParse, pLeft); + if( !pColl ){ + pColl = sqlite3ExprCollSeq(pParse, pRight); + } + } + return pColl; +} + +/* +** Generate code for a comparison operator. +*/ +static int codeCompare( + Parse *pParse, /* The parsing (and code generating) context */ + Expr *pLeft, /* The left operand */ + Expr *pRight, /* The right operand */ + int opcode, /* The comparison opcode */ + int in1, int in2, /* Register holding operands */ + int dest, /* Jump here if true. */ + int jumpIfNull /* If true, jump if either operand is NULL */ +){ + int p5; + int addr; + CollSeq *p4; + + p4 = sqlite3BinaryCompareCollSeq(pParse, pLeft, pRight); + p5 = binaryCompareP5(pLeft, pRight, jumpIfNull); + addr = sqlite3VdbeAddOp4(pParse->pVdbe, opcode, in2, dest, in1, + (void*)p4, P4_COLLSEQ); + sqlite3VdbeChangeP5(pParse->pVdbe, (u8)p5); + return addr; +} + +/* +** Return true if expression pExpr is a vector, or false otherwise. +** +** A vector is defined as any expression that results in two or more +** columns of result. Every TK_VECTOR node is an vector because the +** parser will not generate a TK_VECTOR with fewer than two entries. +** But a TK_SELECT might be either a vector or a scalar. It is only +** considered a vector if it has two or more result columns. +*/ +SQLITE_PRIVATE int sqlite3ExprIsVector(Expr *pExpr){ + return sqlite3ExprVectorSize(pExpr)>1; +} + +/* +** If the expression passed as the only argument is of type TK_VECTOR +** return the number of expressions in the vector. Or, if the expression +** is a sub-select, return the number of columns in the sub-select. For +** any other type of expression, return 1. +*/ +SQLITE_PRIVATE int sqlite3ExprVectorSize(Expr *pExpr){ + u8 op = pExpr->op; + if( op==TK_REGISTER ) op = pExpr->op2; + if( op==TK_VECTOR ){ + return pExpr->x.pList->nExpr; + }else if( op==TK_SELECT ){ + return pExpr->x.pSelect->pEList->nExpr; + }else{ + return 1; + } +} + +/* +** Return a pointer to a subexpression of pVector that is the i-th +** column of the vector (numbered starting with 0). The caller must +** ensure that i is within range. +** +** If pVector is really a scalar (and "scalar" here includes subqueries +** that return a single column!) then return pVector unmodified. +** +** pVector retains ownership of the returned subexpression. +** +** If the vector is a (SELECT ...) then the expression returned is +** just the expression for the i-th term of the result set, and may +** not be ready for evaluation because the table cursor has not yet +** been positioned. +*/ +SQLITE_PRIVATE Expr *sqlite3VectorFieldSubexpr(Expr *pVector, int i){ + assert( iop2==0 || pVector->op==TK_REGISTER ); + if( pVector->op==TK_SELECT || pVector->op2==TK_SELECT ){ + return pVector->x.pSelect->pEList->a[i].pExpr; + }else{ + return pVector->x.pList->a[i].pExpr; + } + } + return pVector; +} + +/* +** Compute and return a new Expr object which when passed to +** sqlite3ExprCode() will generate all necessary code to compute +** the iField-th column of the vector expression pVector. +** +** It is ok for pVector to be a scalar (as long as iField==0). +** In that case, this routine works like sqlite3ExprDup(). +** +** The caller owns the returned Expr object and is responsible for +** ensuring that the returned value eventually gets freed. +** +** The caller retains ownership of pVector. If pVector is a TK_SELECT, +** then the returned object will reference pVector and so pVector must remain +** valid for the life of the returned object. If pVector is a TK_VECTOR +** or a scalar expression, then it can be deleted as soon as this routine +** returns. +** +** A trick to cause a TK_SELECT pVector to be deleted together with +** the returned Expr object is to attach the pVector to the pRight field +** of the returned TK_SELECT_COLUMN Expr object. +*/ +SQLITE_PRIVATE Expr *sqlite3ExprForVectorField( + Parse *pParse, /* Parsing context */ + Expr *pVector, /* The vector. List of expressions or a sub-SELECT */ + int iField /* Which column of the vector to return */ +){ + Expr *pRet; + if( pVector->op==TK_SELECT ){ + assert( pVector->flags & EP_xIsSelect ); + /* The TK_SELECT_COLUMN Expr node: + ** + ** pLeft: pVector containing TK_SELECT. Not deleted. + ** pRight: not used. But recursively deleted. + ** iColumn: Index of a column in pVector + ** iTable: 0 or the number of columns on the LHS of an assignment + ** pLeft->iTable: First in an array of register holding result, or 0 + ** if the result is not yet computed. + ** + ** sqlite3ExprDelete() specifically skips the recursive delete of + ** pLeft on TK_SELECT_COLUMN nodes. But pRight is followed, so pVector + ** can be attached to pRight to cause this node to take ownership of + ** pVector. Typically there will be multiple TK_SELECT_COLUMN nodes + ** with the same pLeft pointer to the pVector, but only one of them + ** will own the pVector. + */ + pRet = sqlite3PExpr(pParse, TK_SELECT_COLUMN, 0, 0); + if( pRet ){ + pRet->iColumn = iField; + pRet->pLeft = pVector; + } + assert( pRet==0 || pRet->iTable==0 ); + }else{ + if( pVector->op==TK_VECTOR ) pVector = pVector->x.pList->a[iField].pExpr; + pRet = sqlite3ExprDup(pParse->db, pVector, 0); + sqlite3RenameTokenRemap(pParse, pRet, pVector); + } + return pRet; +} + +/* +** If expression pExpr is of type TK_SELECT, generate code to evaluate +** it. Return the register in which the result is stored (or, if the +** sub-select returns more than one column, the first in an array +** of registers in which the result is stored). +** +** If pExpr is not a TK_SELECT expression, return 0. +*/ +static int exprCodeSubselect(Parse *pParse, Expr *pExpr){ + int reg = 0; +#ifndef SQLITE_OMIT_SUBQUERY + if( pExpr->op==TK_SELECT ){ + reg = sqlite3CodeSubselect(pParse, pExpr); + } +#endif + return reg; +} + +/* +** Argument pVector points to a vector expression - either a TK_VECTOR +** or TK_SELECT that returns more than one column. This function returns +** the register number of a register that contains the value of +** element iField of the vector. +** +** If pVector is a TK_SELECT expression, then code for it must have +** already been generated using the exprCodeSubselect() routine. In this +** case parameter regSelect should be the first in an array of registers +** containing the results of the sub-select. +** +** If pVector is of type TK_VECTOR, then code for the requested field +** is generated. In this case (*pRegFree) may be set to the number of +** a temporary register to be freed by the caller before returning. +** +** Before returning, output parameter (*ppExpr) is set to point to the +** Expr object corresponding to element iElem of the vector. +*/ +static int exprVectorRegister( + Parse *pParse, /* Parse context */ + Expr *pVector, /* Vector to extract element from */ + int iField, /* Field to extract from pVector */ + int regSelect, /* First in array of registers */ + Expr **ppExpr, /* OUT: Expression element */ + int *pRegFree /* OUT: Temp register to free */ +){ + u8 op = pVector->op; + assert( op==TK_VECTOR || op==TK_REGISTER || op==TK_SELECT ); + if( op==TK_REGISTER ){ + *ppExpr = sqlite3VectorFieldSubexpr(pVector, iField); + return pVector->iTable+iField; + } + if( op==TK_SELECT ){ + *ppExpr = pVector->x.pSelect->pEList->a[iField].pExpr; + return regSelect+iField; + } + *ppExpr = pVector->x.pList->a[iField].pExpr; + return sqlite3ExprCodeTemp(pParse, *ppExpr, pRegFree); +} + +/* +** Expression pExpr is a comparison between two vector values. Compute +** the result of the comparison (1, 0, or NULL) and write that +** result into register dest. +** +** The caller must satisfy the following preconditions: +** +** if pExpr->op==TK_IS: op==TK_EQ and p5==SQLITE_NULLEQ +** if pExpr->op==TK_ISNOT: op==TK_NE and p5==SQLITE_NULLEQ +** otherwise: op==pExpr->op and p5==0 +*/ +static void codeVectorCompare( + Parse *pParse, /* Code generator context */ + Expr *pExpr, /* The comparison operation */ + int dest, /* Write results into this register */ + u8 op, /* Comparison operator */ + u8 p5 /* SQLITE_NULLEQ or zero */ +){ + Vdbe *v = pParse->pVdbe; + Expr *pLeft = pExpr->pLeft; + Expr *pRight = pExpr->pRight; + int nLeft = sqlite3ExprVectorSize(pLeft); + int i; + int regLeft = 0; + int regRight = 0; + u8 opx = op; + int addrDone = sqlite3VdbeMakeLabel(pParse); + + if( nLeft!=sqlite3ExprVectorSize(pRight) ){ + sqlite3ErrorMsg(pParse, "row value misused"); + return; + } + assert( pExpr->op==TK_EQ || pExpr->op==TK_NE + || pExpr->op==TK_IS || pExpr->op==TK_ISNOT + || pExpr->op==TK_LT || pExpr->op==TK_GT + || pExpr->op==TK_LE || pExpr->op==TK_GE + ); + assert( pExpr->op==op || (pExpr->op==TK_IS && op==TK_EQ) + || (pExpr->op==TK_ISNOT && op==TK_NE) ); + assert( p5==0 || pExpr->op!=op ); + assert( p5==SQLITE_NULLEQ || pExpr->op==op ); + + p5 |= SQLITE_STOREP2; + if( opx==TK_LE ) opx = TK_LT; + if( opx==TK_GE ) opx = TK_GT; + + regLeft = exprCodeSubselect(pParse, pLeft); + regRight = exprCodeSubselect(pParse, pRight); + + for(i=0; 1 /*Loop exits by "break"*/; i++){ + int regFree1 = 0, regFree2 = 0; + Expr *pL, *pR; + int r1, r2; + assert( i>=0 && i0 +/* +** Check that argument nHeight is less than or equal to the maximum +** expression depth allowed. If it is not, leave an error message in +** pParse. +*/ +SQLITE_PRIVATE int sqlite3ExprCheckHeight(Parse *pParse, int nHeight){ + int rc = SQLITE_OK; + int mxHeight = pParse->db->aLimit[SQLITE_LIMIT_EXPR_DEPTH]; + if( nHeight>mxHeight ){ + sqlite3ErrorMsg(pParse, + "Expression tree is too large (maximum depth %d)", mxHeight + ); + rc = SQLITE_ERROR; + } + return rc; +} + +/* The following three functions, heightOfExpr(), heightOfExprList() +** and heightOfSelect(), are used to determine the maximum height +** of any expression tree referenced by the structure passed as the +** first argument. +** +** If this maximum height is greater than the current value pointed +** to by pnHeight, the second parameter, then set *pnHeight to that +** value. +*/ +static void heightOfExpr(Expr *p, int *pnHeight){ + if( p ){ + if( p->nHeight>*pnHeight ){ + *pnHeight = p->nHeight; + } + } +} +static void heightOfExprList(ExprList *p, int *pnHeight){ + if( p ){ + int i; + for(i=0; inExpr; i++){ + heightOfExpr(p->a[i].pExpr, pnHeight); + } + } +} +static void heightOfSelect(Select *pSelect, int *pnHeight){ + Select *p; + for(p=pSelect; p; p=p->pPrior){ + heightOfExpr(p->pWhere, pnHeight); + heightOfExpr(p->pHaving, pnHeight); + heightOfExpr(p->pLimit, pnHeight); + heightOfExprList(p->pEList, pnHeight); + heightOfExprList(p->pGroupBy, pnHeight); + heightOfExprList(p->pOrderBy, pnHeight); + } +} + +/* +** Set the Expr.nHeight variable in the structure passed as an +** argument. An expression with no children, Expr.pList or +** Expr.pSelect member has a height of 1. Any other expression +** has a height equal to the maximum height of any other +** referenced Expr plus one. +** +** Also propagate EP_Propagate flags up from Expr.x.pList to Expr.flags, +** if appropriate. +*/ +static void exprSetHeight(Expr *p){ + int nHeight = 0; + heightOfExpr(p->pLeft, &nHeight); + heightOfExpr(p->pRight, &nHeight); + if( ExprHasProperty(p, EP_xIsSelect) ){ + heightOfSelect(p->x.pSelect, &nHeight); + }else if( p->x.pList ){ + heightOfExprList(p->x.pList, &nHeight); + p->flags |= EP_Propagate & sqlite3ExprListFlags(p->x.pList); + } + p->nHeight = nHeight + 1; +} + +/* +** Set the Expr.nHeight variable using the exprSetHeight() function. If +** the height is greater than the maximum allowed expression depth, +** leave an error in pParse. +** +** Also propagate all EP_Propagate flags from the Expr.x.pList into +** Expr.flags. +*/ +SQLITE_PRIVATE void sqlite3ExprSetHeightAndFlags(Parse *pParse, Expr *p){ + if( pParse->nErr ) return; + exprSetHeight(p); + sqlite3ExprCheckHeight(pParse, p->nHeight); +} + +/* +** Return the maximum height of any expression tree referenced +** by the select statement passed as an argument. +*/ +SQLITE_PRIVATE int sqlite3SelectExprHeight(Select *p){ + int nHeight = 0; + heightOfSelect(p, &nHeight); + return nHeight; +} +#else /* ABOVE: Height enforcement enabled. BELOW: Height enforcement off */ +/* +** Propagate all EP_Propagate flags from the Expr.x.pList into +** Expr.flags. +*/ +SQLITE_PRIVATE void sqlite3ExprSetHeightAndFlags(Parse *pParse, Expr *p){ + if( p && p->x.pList && !ExprHasProperty(p, EP_xIsSelect) ){ + p->flags |= EP_Propagate & sqlite3ExprListFlags(p->x.pList); + } +} +#define exprSetHeight(y) +#endif /* SQLITE_MAX_EXPR_DEPTH>0 */ + +/* +** This routine is the core allocator for Expr nodes. +** +** Construct a new expression node and return a pointer to it. Memory +** for this node and for the pToken argument is a single allocation +** obtained from sqlite3DbMalloc(). The calling function +** is responsible for making sure the node eventually gets freed. +** +** If dequote is true, then the token (if it exists) is dequoted. +** If dequote is false, no dequoting is performed. The deQuote +** parameter is ignored if pToken is NULL or if the token does not +** appear to be quoted. If the quotes were of the form "..." (double-quotes) +** then the EP_DblQuoted flag is set on the expression node. +** +** Special case: If op==TK_INTEGER and pToken points to a string that +** can be translated into a 32-bit integer, then the token is not +** stored in u.zToken. Instead, the integer values is written +** into u.iValue and the EP_IntValue flag is set. No extra storage +** is allocated to hold the integer text and the dequote flag is ignored. +*/ +SQLITE_PRIVATE Expr *sqlite3ExprAlloc( + sqlite3 *db, /* Handle for sqlite3DbMallocRawNN() */ + int op, /* Expression opcode */ + const Token *pToken, /* Token argument. Might be NULL */ + int dequote /* True to dequote */ +){ + Expr *pNew; + int nExtra = 0; + int iValue = 0; + + assert( db!=0 ); + if( pToken ){ + if( op!=TK_INTEGER || pToken->z==0 + || sqlite3GetInt32(pToken->z, &iValue)==0 ){ + nExtra = pToken->n+1; + assert( iValue>=0 ); + } + } + pNew = sqlite3DbMallocRawNN(db, sizeof(Expr)+nExtra); + if( pNew ){ + memset(pNew, 0, sizeof(Expr)); + pNew->op = (u8)op; + pNew->iAgg = -1; + if( pToken ){ + if( nExtra==0 ){ + pNew->flags |= EP_IntValue|EP_Leaf|(iValue?EP_IsTrue:EP_IsFalse); + pNew->u.iValue = iValue; + }else{ + pNew->u.zToken = (char*)&pNew[1]; + assert( pToken->z!=0 || pToken->n==0 ); + if( pToken->n ) memcpy(pNew->u.zToken, pToken->z, pToken->n); + pNew->u.zToken[pToken->n] = 0; + if( dequote && sqlite3Isquote(pNew->u.zToken[0]) ){ + sqlite3DequoteExpr(pNew); + } + } + } +#if SQLITE_MAX_EXPR_DEPTH>0 + pNew->nHeight = 1; +#endif + } + return pNew; +} + +/* +** Allocate a new expression node from a zero-terminated token that has +** already been dequoted. +*/ +SQLITE_PRIVATE Expr *sqlite3Expr( + sqlite3 *db, /* Handle for sqlite3DbMallocZero() (may be null) */ + int op, /* Expression opcode */ + const char *zToken /* Token argument. Might be NULL */ +){ + Token x; + x.z = zToken; + x.n = sqlite3Strlen30(zToken); + return sqlite3ExprAlloc(db, op, &x, 0); +} + +/* +** Attach subtrees pLeft and pRight to the Expr node pRoot. +** +** If pRoot==NULL that means that a memory allocation error has occurred. +** In that case, delete the subtrees pLeft and pRight. +*/ +SQLITE_PRIVATE void sqlite3ExprAttachSubtrees( + sqlite3 *db, + Expr *pRoot, + Expr *pLeft, + Expr *pRight +){ + if( pRoot==0 ){ + assert( db->mallocFailed ); + sqlite3ExprDelete(db, pLeft); + sqlite3ExprDelete(db, pRight); + }else{ + if( pRight ){ + pRoot->pRight = pRight; + pRoot->flags |= EP_Propagate & pRight->flags; + } + if( pLeft ){ + pRoot->pLeft = pLeft; + pRoot->flags |= EP_Propagate & pLeft->flags; + } + exprSetHeight(pRoot); + } +} + +/* +** Allocate an Expr node which joins as many as two subtrees. +** +** One or both of the subtrees can be NULL. Return a pointer to the new +** Expr node. Or, if an OOM error occurs, set pParse->db->mallocFailed, +** free the subtrees and return NULL. +*/ +SQLITE_PRIVATE Expr *sqlite3PExpr( + Parse *pParse, /* Parsing context */ + int op, /* Expression opcode */ + Expr *pLeft, /* Left operand */ + Expr *pRight /* Right operand */ +){ + Expr *p; + p = sqlite3DbMallocRawNN(pParse->db, sizeof(Expr)); + if( p ){ + memset(p, 0, sizeof(Expr)); + p->op = op & 0xff; + p->iAgg = -1; + sqlite3ExprAttachSubtrees(pParse->db, p, pLeft, pRight); + sqlite3ExprCheckHeight(pParse, p->nHeight); + }else{ + sqlite3ExprDelete(pParse->db, pLeft); + sqlite3ExprDelete(pParse->db, pRight); + } + return p; +} + +/* +** Add pSelect to the Expr.x.pSelect field. Or, if pExpr is NULL (due +** do a memory allocation failure) then delete the pSelect object. +*/ +SQLITE_PRIVATE void sqlite3PExprAddSelect(Parse *pParse, Expr *pExpr, Select *pSelect){ + if( pExpr ){ + pExpr->x.pSelect = pSelect; + ExprSetProperty(pExpr, EP_xIsSelect|EP_Subquery); + sqlite3ExprSetHeightAndFlags(pParse, pExpr); + }else{ + assert( pParse->db->mallocFailed ); + sqlite3SelectDelete(pParse->db, pSelect); + } +} + + +/* +** Join two expressions using an AND operator. If either expression is +** NULL, then just return the other expression. +** +** If one side or the other of the AND is known to be false, then instead +** of returning an AND expression, just return a constant expression with +** a value of false. +*/ +SQLITE_PRIVATE Expr *sqlite3ExprAnd(Parse *pParse, Expr *pLeft, Expr *pRight){ + sqlite3 *db = pParse->db; + if( pLeft==0 ){ + return pRight; + }else if( pRight==0 ){ + return pLeft; + }else if( ExprAlwaysFalse(pLeft) || ExprAlwaysFalse(pRight) ){ + sqlite3ExprUnmapAndDelete(pParse, pLeft); + sqlite3ExprUnmapAndDelete(pParse, pRight); + return sqlite3Expr(db, TK_INTEGER, "0"); + }else{ + return sqlite3PExpr(pParse, TK_AND, pLeft, pRight); + } +} + +/* +** Construct a new expression node for a function with multiple +** arguments. +*/ +SQLITE_PRIVATE Expr *sqlite3ExprFunction( + Parse *pParse, /* Parsing context */ + ExprList *pList, /* Argument list */ + Token *pToken, /* Name of the function */ + int eDistinct /* SF_Distinct or SF_ALL or 0 */ +){ + Expr *pNew; + sqlite3 *db = pParse->db; + assert( pToken ); + pNew = sqlite3ExprAlloc(db, TK_FUNCTION, pToken, 1); + if( pNew==0 ){ + sqlite3ExprListDelete(db, pList); /* Avoid memory leak when malloc fails */ + return 0; + } + if( pList && pList->nExpr > pParse->db->aLimit[SQLITE_LIMIT_FUNCTION_ARG] ){ + sqlite3ErrorMsg(pParse, "too many arguments on function %T", pToken); + } + pNew->x.pList = pList; + ExprSetProperty(pNew, EP_HasFunc); + assert( !ExprHasProperty(pNew, EP_xIsSelect) ); + sqlite3ExprSetHeightAndFlags(pParse, pNew); + if( eDistinct==SF_Distinct ) ExprSetProperty(pNew, EP_Distinct); + return pNew; +} + +/* +** Assign a variable number to an expression that encodes a wildcard +** in the original SQL statement. +** +** Wildcards consisting of a single "?" are assigned the next sequential +** variable number. +** +** Wildcards of the form "?nnn" are assigned the number "nnn". We make +** sure "nnn" is not too big to avoid a denial of service attack when +** the SQL statement comes from an external source. +** +** Wildcards of the form ":aaa", "@aaa", or "$aaa" are assigned the same number +** as the previous instance of the same wildcard. Or if this is the first +** instance of the wildcard, the next sequential variable number is +** assigned. +*/ +SQLITE_PRIVATE void sqlite3ExprAssignVarNumber(Parse *pParse, Expr *pExpr, u32 n){ + sqlite3 *db = pParse->db; + const char *z; + ynVar x; + + if( pExpr==0 ) return; + assert( !ExprHasProperty(pExpr, EP_IntValue|EP_Reduced|EP_TokenOnly) ); + z = pExpr->u.zToken; + assert( z!=0 ); + assert( z[0]!=0 ); + assert( n==(u32)sqlite3Strlen30(z) ); + if( z[1]==0 ){ + /* Wildcard of the form "?". Assign the next variable number */ + assert( z[0]=='?' ); + x = (ynVar)(++pParse->nVar); + }else{ + int doAdd = 0; + if( z[0]=='?' ){ + /* Wildcard of the form "?nnn". Convert "nnn" to an integer and + ** use it as the variable number */ + i64 i; + int bOk; + if( n==2 ){ /*OPTIMIZATION-IF-TRUE*/ + i = z[1]-'0'; /* The common case of ?N for a single digit N */ + bOk = 1; + }else{ + bOk = 0==sqlite3Atoi64(&z[1], &i, n-1, SQLITE_UTF8); + } + testcase( i==0 ); + testcase( i==1 ); + testcase( i==db->aLimit[SQLITE_LIMIT_VARIABLE_NUMBER]-1 ); + testcase( i==db->aLimit[SQLITE_LIMIT_VARIABLE_NUMBER] ); + if( bOk==0 || i<1 || i>db->aLimit[SQLITE_LIMIT_VARIABLE_NUMBER] ){ + sqlite3ErrorMsg(pParse, "variable number must be between ?1 and ?%d", + db->aLimit[SQLITE_LIMIT_VARIABLE_NUMBER]); + return; + } + x = (ynVar)i; + if( x>pParse->nVar ){ + pParse->nVar = (int)x; + doAdd = 1; + }else if( sqlite3VListNumToName(pParse->pVList, x)==0 ){ + doAdd = 1; + } + }else{ + /* Wildcards like ":aaa", "$aaa" or "@aaa". Reuse the same variable + ** number as the prior appearance of the same name, or if the name + ** has never appeared before, reuse the same variable number + */ + x = (ynVar)sqlite3VListNameToNum(pParse->pVList, z, n); + if( x==0 ){ + x = (ynVar)(++pParse->nVar); + doAdd = 1; + } + } + if( doAdd ){ + pParse->pVList = sqlite3VListAdd(db, pParse->pVList, z, n, x); + } + } + pExpr->iColumn = x; + if( x>db->aLimit[SQLITE_LIMIT_VARIABLE_NUMBER] ){ + sqlite3ErrorMsg(pParse, "too many SQL variables"); + } +} + +/* +** Recursively delete an expression tree. +*/ +static SQLITE_NOINLINE void sqlite3ExprDeleteNN(sqlite3 *db, Expr *p){ + assert( p!=0 ); + /* Sanity check: Assert that the IntValue is non-negative if it exists */ + assert( !ExprHasProperty(p, EP_IntValue) || p->u.iValue>=0 ); + + assert( !ExprHasProperty(p, EP_WinFunc) || p->y.pWin!=0 || db->mallocFailed ); + assert( p->op!=TK_FUNCTION || ExprHasProperty(p, EP_TokenOnly|EP_Reduced) + || p->y.pWin==0 || ExprHasProperty(p, EP_WinFunc) ); +#ifdef SQLITE_DEBUG + if( ExprHasProperty(p, EP_Leaf) && !ExprHasProperty(p, EP_TokenOnly) ){ + assert( p->pLeft==0 ); + assert( p->pRight==0 ); + assert( p->x.pSelect==0 ); + } +#endif + if( !ExprHasProperty(p, (EP_TokenOnly|EP_Leaf)) ){ + /* The Expr.x union is never used at the same time as Expr.pRight */ + assert( p->x.pList==0 || p->pRight==0 ); + if( p->pLeft && p->op!=TK_SELECT_COLUMN ) sqlite3ExprDeleteNN(db, p->pLeft); + if( p->pRight ){ + assert( !ExprHasProperty(p, EP_WinFunc) ); + sqlite3ExprDeleteNN(db, p->pRight); + }else if( ExprHasProperty(p, EP_xIsSelect) ){ + assert( !ExprHasProperty(p, EP_WinFunc) ); + sqlite3SelectDelete(db, p->x.pSelect); + }else{ + sqlite3ExprListDelete(db, p->x.pList); +#ifndef SQLITE_OMIT_WINDOWFUNC + if( ExprHasProperty(p, EP_WinFunc) ){ + sqlite3WindowDelete(db, p->y.pWin); + } +#endif + } + } + if( ExprHasProperty(p, EP_MemToken) ) sqlite3DbFree(db, p->u.zToken); + if( !ExprHasProperty(p, EP_Static) ){ + sqlite3DbFreeNN(db, p); + } +} +SQLITE_PRIVATE void sqlite3ExprDelete(sqlite3 *db, Expr *p){ + if( p ) sqlite3ExprDeleteNN(db, p); +} + +/* Invoke sqlite3RenameExprUnmap() and sqlite3ExprDelete() on the +** expression. +*/ +SQLITE_PRIVATE void sqlite3ExprUnmapAndDelete(Parse *pParse, Expr *p){ + if( p ){ + if( IN_RENAME_OBJECT ){ + sqlite3RenameExprUnmap(pParse, p); + } + sqlite3ExprDeleteNN(pParse->db, p); + } +} + +/* +** Return the number of bytes allocated for the expression structure +** passed as the first argument. This is always one of EXPR_FULLSIZE, +** EXPR_REDUCEDSIZE or EXPR_TOKENONLYSIZE. +*/ +static int exprStructSize(Expr *p){ + if( ExprHasProperty(p, EP_TokenOnly) ) return EXPR_TOKENONLYSIZE; + if( ExprHasProperty(p, EP_Reduced) ) return EXPR_REDUCEDSIZE; + return EXPR_FULLSIZE; +} + +/* +** The dupedExpr*Size() routines each return the number of bytes required +** to store a copy of an expression or expression tree. They differ in +** how much of the tree is measured. +** +** dupedExprStructSize() Size of only the Expr structure +** dupedExprNodeSize() Size of Expr + space for token +** dupedExprSize() Expr + token + subtree components +** +*************************************************************************** +** +** The dupedExprStructSize() function returns two values OR-ed together: +** (1) the space required for a copy of the Expr structure only and +** (2) the EP_xxx flags that indicate what the structure size should be. +** The return values is always one of: +** +** EXPR_FULLSIZE +** EXPR_REDUCEDSIZE | EP_Reduced +** EXPR_TOKENONLYSIZE | EP_TokenOnly +** +** The size of the structure can be found by masking the return value +** of this routine with 0xfff. The flags can be found by masking the +** return value with EP_Reduced|EP_TokenOnly. +** +** Note that with flags==EXPRDUP_REDUCE, this routines works on full-size +** (unreduced) Expr objects as they or originally constructed by the parser. +** During expression analysis, extra information is computed and moved into +** later parts of the Expr object and that extra information might get chopped +** off if the expression is reduced. Note also that it does not work to +** make an EXPRDUP_REDUCE copy of a reduced expression. It is only legal +** to reduce a pristine expression tree from the parser. The implementation +** of dupedExprStructSize() contain multiple assert() statements that attempt +** to enforce this constraint. +*/ +static int dupedExprStructSize(Expr *p, int flags){ + int nSize; + assert( flags==EXPRDUP_REDUCE || flags==0 ); /* Only one flag value allowed */ + assert( EXPR_FULLSIZE<=0xfff ); + assert( (0xfff & (EP_Reduced|EP_TokenOnly))==0 ); + if( 0==flags || p->op==TK_SELECT_COLUMN +#ifndef SQLITE_OMIT_WINDOWFUNC + || ExprHasProperty(p, EP_WinFunc) +#endif + ){ + nSize = EXPR_FULLSIZE; + }else{ + assert( !ExprHasProperty(p, EP_TokenOnly|EP_Reduced) ); + assert( !ExprHasProperty(p, EP_FromJoin) ); + assert( !ExprHasProperty(p, EP_MemToken) ); + assert( !ExprHasProperty(p, EP_NoReduce) ); + if( p->pLeft || p->x.pList ){ + nSize = EXPR_REDUCEDSIZE | EP_Reduced; + }else{ + assert( p->pRight==0 ); + nSize = EXPR_TOKENONLYSIZE | EP_TokenOnly; + } + } + return nSize; +} + +/* +** This function returns the space in bytes required to store the copy +** of the Expr structure and a copy of the Expr.u.zToken string (if that +** string is defined.) +*/ +static int dupedExprNodeSize(Expr *p, int flags){ + int nByte = dupedExprStructSize(p, flags) & 0xfff; + if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){ + nByte += sqlite3Strlen30NN(p->u.zToken)+1; + } + return ROUND8(nByte); +} + +/* +** Return the number of bytes required to create a duplicate of the +** expression passed as the first argument. The second argument is a +** mask containing EXPRDUP_XXX flags. +** +** The value returned includes space to create a copy of the Expr struct +** itself and the buffer referred to by Expr.u.zToken, if any. +** +** If the EXPRDUP_REDUCE flag is set, then the return value includes +** space to duplicate all Expr nodes in the tree formed by Expr.pLeft +** and Expr.pRight variables (but not for any structures pointed to or +** descended from the Expr.x.pList or Expr.x.pSelect variables). +*/ +static int dupedExprSize(Expr *p, int flags){ + int nByte = 0; + if( p ){ + nByte = dupedExprNodeSize(p, flags); + if( flags&EXPRDUP_REDUCE ){ + nByte += dupedExprSize(p->pLeft, flags) + dupedExprSize(p->pRight, flags); + } + } + return nByte; +} + +/* +** This function is similar to sqlite3ExprDup(), except that if pzBuffer +** is not NULL then *pzBuffer is assumed to point to a buffer large enough +** to store the copy of expression p, the copies of p->u.zToken +** (if applicable), and the copies of the p->pLeft and p->pRight expressions, +** if any. Before returning, *pzBuffer is set to the first byte past the +** portion of the buffer copied into by this function. +*/ +static Expr *exprDup(sqlite3 *db, Expr *p, int dupFlags, u8 **pzBuffer){ + Expr *pNew; /* Value to return */ + u8 *zAlloc; /* Memory space from which to build Expr object */ + u32 staticFlag; /* EP_Static if space not obtained from malloc */ + + assert( db!=0 ); + assert( p ); + assert( dupFlags==0 || dupFlags==EXPRDUP_REDUCE ); + assert( pzBuffer==0 || dupFlags==EXPRDUP_REDUCE ); + + /* Figure out where to write the new Expr structure. */ + if( pzBuffer ){ + zAlloc = *pzBuffer; + staticFlag = EP_Static; + }else{ + zAlloc = sqlite3DbMallocRawNN(db, dupedExprSize(p, dupFlags)); + staticFlag = 0; + } + pNew = (Expr *)zAlloc; + + if( pNew ){ + /* Set nNewSize to the size allocated for the structure pointed to + ** by pNew. This is either EXPR_FULLSIZE, EXPR_REDUCEDSIZE or + ** EXPR_TOKENONLYSIZE. nToken is set to the number of bytes consumed + ** by the copy of the p->u.zToken string (if any). + */ + const unsigned nStructSize = dupedExprStructSize(p, dupFlags); + const int nNewSize = nStructSize & 0xfff; + int nToken; + if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){ + nToken = sqlite3Strlen30(p->u.zToken) + 1; + }else{ + nToken = 0; + } + if( dupFlags ){ + assert( ExprHasProperty(p, EP_Reduced)==0 ); + memcpy(zAlloc, p, nNewSize); + }else{ + u32 nSize = (u32)exprStructSize(p); + memcpy(zAlloc, p, nSize); + if( nSizeflags &= ~(EP_Reduced|EP_TokenOnly|EP_Static|EP_MemToken); + pNew->flags |= nStructSize & (EP_Reduced|EP_TokenOnly); + pNew->flags |= staticFlag; + + /* Copy the p->u.zToken string, if any. */ + if( nToken ){ + char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize]; + memcpy(zToken, p->u.zToken, nToken); + } + + if( 0==((p->flags|pNew->flags) & (EP_TokenOnly|EP_Leaf)) ){ + /* Fill in the pNew->x.pSelect or pNew->x.pList member. */ + if( ExprHasProperty(p, EP_xIsSelect) ){ + pNew->x.pSelect = sqlite3SelectDup(db, p->x.pSelect, dupFlags); + }else{ + pNew->x.pList = sqlite3ExprListDup(db, p->x.pList, dupFlags); + } + } + + /* Fill in pNew->pLeft and pNew->pRight. */ + if( ExprHasProperty(pNew, EP_Reduced|EP_TokenOnly|EP_WinFunc) ){ + zAlloc += dupedExprNodeSize(p, dupFlags); + if( !ExprHasProperty(pNew, EP_TokenOnly|EP_Leaf) ){ + pNew->pLeft = p->pLeft ? + exprDup(db, p->pLeft, EXPRDUP_REDUCE, &zAlloc) : 0; + pNew->pRight = p->pRight ? + exprDup(db, p->pRight, EXPRDUP_REDUCE, &zAlloc) : 0; + } +#ifndef SQLITE_OMIT_WINDOWFUNC + if( ExprHasProperty(p, EP_WinFunc) ){ + pNew->y.pWin = sqlite3WindowDup(db, pNew, p->y.pWin); + assert( ExprHasProperty(pNew, EP_WinFunc) ); + } +#endif /* SQLITE_OMIT_WINDOWFUNC */ + if( pzBuffer ){ + *pzBuffer = zAlloc; + } + }else{ + if( !ExprHasProperty(p, EP_TokenOnly|EP_Leaf) ){ + if( pNew->op==TK_SELECT_COLUMN ){ + pNew->pLeft = p->pLeft; + assert( p->iColumn==0 || p->pRight==0 ); + assert( p->pRight==0 || p->pRight==p->pLeft ); + }else{ + pNew->pLeft = sqlite3ExprDup(db, p->pLeft, 0); + } + pNew->pRight = sqlite3ExprDup(db, p->pRight, 0); + } + } + } + return pNew; +} + +/* +** Create and return a deep copy of the object passed as the second +** argument. If an OOM condition is encountered, NULL is returned +** and the db->mallocFailed flag set. +*/ +#ifndef SQLITE_OMIT_CTE +static With *withDup(sqlite3 *db, With *p){ + With *pRet = 0; + if( p ){ + sqlite3_int64 nByte = sizeof(*p) + sizeof(p->a[0]) * (p->nCte-1); + pRet = sqlite3DbMallocZero(db, nByte); + if( pRet ){ + int i; + pRet->nCte = p->nCte; + for(i=0; inCte; i++){ + pRet->a[i].pSelect = sqlite3SelectDup(db, p->a[i].pSelect, 0); + pRet->a[i].pCols = sqlite3ExprListDup(db, p->a[i].pCols, 0); + pRet->a[i].zName = sqlite3DbStrDup(db, p->a[i].zName); + } + } + } + return pRet; +} +#else +# define withDup(x,y) 0 +#endif + +#ifndef SQLITE_OMIT_WINDOWFUNC +/* +** The gatherSelectWindows() procedure and its helper routine +** gatherSelectWindowsCallback() are used to scan all the expressions +** an a newly duplicated SELECT statement and gather all of the Window +** objects found there, assembling them onto the linked list at Select->pWin. +*/ +static int gatherSelectWindowsCallback(Walker *pWalker, Expr *pExpr){ + if( pExpr->op==TK_FUNCTION && ExprHasProperty(pExpr, EP_WinFunc) ){ + Select *pSelect = pWalker->u.pSelect; + Window *pWin = pExpr->y.pWin; + assert( pWin ); + assert( IsWindowFunc(pExpr) ); + assert( pWin->ppThis==0 ); + sqlite3WindowLink(pSelect, pWin); + } + return WRC_Continue; +} +static int gatherSelectWindowsSelectCallback(Walker *pWalker, Select *p){ + return p==pWalker->u.pSelect ? WRC_Continue : WRC_Prune; +} +static void gatherSelectWindows(Select *p){ + Walker w; + w.xExprCallback = gatherSelectWindowsCallback; + w.xSelectCallback = gatherSelectWindowsSelectCallback; + w.xSelectCallback2 = 0; + w.pParse = 0; + w.u.pSelect = p; + sqlite3WalkSelect(&w, p); +} +#endif + + +/* +** The following group of routines make deep copies of expressions, +** expression lists, ID lists, and select statements. The copies can +** be deleted (by being passed to their respective ...Delete() routines) +** without effecting the originals. +** +** The expression list, ID, and source lists return by sqlite3ExprListDup(), +** sqlite3IdListDup(), and sqlite3SrcListDup() can not be further expanded +** by subsequent calls to sqlite*ListAppend() routines. +** +** Any tables that the SrcList might point to are not duplicated. +** +** The flags parameter contains a combination of the EXPRDUP_XXX flags. +** If the EXPRDUP_REDUCE flag is set, then the structure returned is a +** truncated version of the usual Expr structure that will be stored as +** part of the in-memory representation of the database schema. +*/ +SQLITE_PRIVATE Expr *sqlite3ExprDup(sqlite3 *db, Expr *p, int flags){ + assert( flags==0 || flags==EXPRDUP_REDUCE ); + return p ? exprDup(db, p, flags, 0) : 0; +} +SQLITE_PRIVATE ExprList *sqlite3ExprListDup(sqlite3 *db, ExprList *p, int flags){ + ExprList *pNew; + struct ExprList_item *pItem, *pOldItem; + int i; + Expr *pPriorSelectCol = 0; + assert( db!=0 ); + if( p==0 ) return 0; + pNew = sqlite3DbMallocRawNN(db, sqlite3DbMallocSize(db, p)); + if( pNew==0 ) return 0; + pNew->nExpr = p->nExpr; + pItem = pNew->a; + pOldItem = p->a; + for(i=0; inExpr; i++, pItem++, pOldItem++){ + Expr *pOldExpr = pOldItem->pExpr; + Expr *pNewExpr; + pItem->pExpr = sqlite3ExprDup(db, pOldExpr, flags); + if( pOldExpr + && pOldExpr->op==TK_SELECT_COLUMN + && (pNewExpr = pItem->pExpr)!=0 + ){ + assert( pNewExpr->iColumn==0 || i>0 ); + if( pNewExpr->iColumn==0 ){ + assert( pOldExpr->pLeft==pOldExpr->pRight ); + pPriorSelectCol = pNewExpr->pLeft = pNewExpr->pRight; + }else{ + assert( i>0 ); + assert( pItem[-1].pExpr!=0 ); + assert( pNewExpr->iColumn==pItem[-1].pExpr->iColumn+1 ); + assert( pPriorSelectCol==pItem[-1].pExpr->pLeft ); + pNewExpr->pLeft = pPriorSelectCol; + } + } + pItem->zName = sqlite3DbStrDup(db, pOldItem->zName); + pItem->zSpan = sqlite3DbStrDup(db, pOldItem->zSpan); + pItem->sortFlags = pOldItem->sortFlags; + pItem->done = 0; + pItem->bNulls = pOldItem->bNulls; + pItem->bSpanIsTab = pOldItem->bSpanIsTab; + pItem->bSorterRef = pOldItem->bSorterRef; + pItem->u = pOldItem->u; + } + return pNew; +} + +/* +** If cursors, triggers, views and subqueries are all omitted from +** the build, then none of the following routines, except for +** sqlite3SelectDup(), can be called. sqlite3SelectDup() is sometimes +** called with a NULL argument. +*/ +#if !defined(SQLITE_OMIT_VIEW) || !defined(SQLITE_OMIT_TRIGGER) \ + || !defined(SQLITE_OMIT_SUBQUERY) +SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3 *db, SrcList *p, int flags){ + SrcList *pNew; + int i; + int nByte; + assert( db!=0 ); + if( p==0 ) return 0; + nByte = sizeof(*p) + (p->nSrc>0 ? sizeof(p->a[0]) * (p->nSrc-1) : 0); + pNew = sqlite3DbMallocRawNN(db, nByte ); + if( pNew==0 ) return 0; + pNew->nSrc = pNew->nAlloc = p->nSrc; + for(i=0; inSrc; i++){ + struct SrcList_item *pNewItem = &pNew->a[i]; + struct SrcList_item *pOldItem = &p->a[i]; + Table *pTab; + pNewItem->pSchema = pOldItem->pSchema; + pNewItem->zDatabase = sqlite3DbStrDup(db, pOldItem->zDatabase); + pNewItem->zName = sqlite3DbStrDup(db, pOldItem->zName); + pNewItem->zAlias = sqlite3DbStrDup(db, pOldItem->zAlias); + pNewItem->fg = pOldItem->fg; + pNewItem->iCursor = pOldItem->iCursor; + pNewItem->addrFillSub = pOldItem->addrFillSub; + pNewItem->regReturn = pOldItem->regReturn; + if( pNewItem->fg.isIndexedBy ){ + pNewItem->u1.zIndexedBy = sqlite3DbStrDup(db, pOldItem->u1.zIndexedBy); + } + pNewItem->pIBIndex = pOldItem->pIBIndex; + if( pNewItem->fg.isTabFunc ){ + pNewItem->u1.pFuncArg = + sqlite3ExprListDup(db, pOldItem->u1.pFuncArg, flags); + } + pTab = pNewItem->pTab = pOldItem->pTab; + if( pTab ){ + pTab->nTabRef++; + } + pNewItem->pSelect = sqlite3SelectDup(db, pOldItem->pSelect, flags); + pNewItem->pOn = sqlite3ExprDup(db, pOldItem->pOn, flags); + pNewItem->pUsing = sqlite3IdListDup(db, pOldItem->pUsing); + pNewItem->colUsed = pOldItem->colUsed; + } + return pNew; +} +SQLITE_PRIVATE IdList *sqlite3IdListDup(sqlite3 *db, IdList *p){ + IdList *pNew; + int i; + assert( db!=0 ); + if( p==0 ) return 0; + pNew = sqlite3DbMallocRawNN(db, sizeof(*pNew) ); + if( pNew==0 ) return 0; + pNew->nId = p->nId; + pNew->a = sqlite3DbMallocRawNN(db, p->nId*sizeof(p->a[0]) ); + if( pNew->a==0 ){ + sqlite3DbFreeNN(db, pNew); + return 0; + } + /* Note that because the size of the allocation for p->a[] is not + ** necessarily a power of two, sqlite3IdListAppend() may not be called + ** on the duplicate created by this function. */ + for(i=0; inId; i++){ + struct IdList_item *pNewItem = &pNew->a[i]; + struct IdList_item *pOldItem = &p->a[i]; + pNewItem->zName = sqlite3DbStrDup(db, pOldItem->zName); + pNewItem->idx = pOldItem->idx; + } + return pNew; +} +SQLITE_PRIVATE Select *sqlite3SelectDup(sqlite3 *db, Select *pDup, int flags){ + Select *pRet = 0; + Select *pNext = 0; + Select **pp = &pRet; + Select *p; + + assert( db!=0 ); + for(p=pDup; p; p=p->pPrior){ + Select *pNew = sqlite3DbMallocRawNN(db, sizeof(*p) ); + if( pNew==0 ) break; + pNew->pEList = sqlite3ExprListDup(db, p->pEList, flags); + pNew->pSrc = sqlite3SrcListDup(db, p->pSrc, flags); + pNew->pWhere = sqlite3ExprDup(db, p->pWhere, flags); + pNew->pGroupBy = sqlite3ExprListDup(db, p->pGroupBy, flags); + pNew->pHaving = sqlite3ExprDup(db, p->pHaving, flags); + pNew->pOrderBy = sqlite3ExprListDup(db, p->pOrderBy, flags); + pNew->op = p->op; + pNew->pNext = pNext; + pNew->pPrior = 0; + pNew->pLimit = sqlite3ExprDup(db, p->pLimit, flags); + pNew->iLimit = 0; + pNew->iOffset = 0; + pNew->selFlags = p->selFlags & ~SF_UsesEphemeral; + pNew->addrOpenEphm[0] = -1; + pNew->addrOpenEphm[1] = -1; + pNew->nSelectRow = p->nSelectRow; + pNew->pWith = withDup(db, p->pWith); +#ifndef SQLITE_OMIT_WINDOWFUNC + pNew->pWin = 0; + pNew->pWinDefn = sqlite3WindowListDup(db, p->pWinDefn); + if( p->pWin && db->mallocFailed==0 ) gatherSelectWindows(pNew); +#endif + pNew->selId = p->selId; + *pp = pNew; + pp = &pNew->pPrior; + pNext = pNew; + } + + return pRet; +} +#else +SQLITE_PRIVATE Select *sqlite3SelectDup(sqlite3 *db, Select *p, int flags){ + assert( p==0 ); + return 0; +} +#endif + + +/* +** Add a new element to the end of an expression list. If pList is +** initially NULL, then create a new expression list. +** +** The pList argument must be either NULL or a pointer to an ExprList +** obtained from a prior call to sqlite3ExprListAppend(). This routine +** may not be used with an ExprList obtained from sqlite3ExprListDup(). +** Reason: This routine assumes that the number of slots in pList->a[] +** is a power of two. That is true for sqlite3ExprListAppend() returns +** but is not necessarily true from the return value of sqlite3ExprListDup(). +** +** If a memory allocation error occurs, the entire list is freed and +** NULL is returned. If non-NULL is returned, then it is guaranteed +** that the new entry was successfully appended. +*/ +SQLITE_PRIVATE ExprList *sqlite3ExprListAppend( + Parse *pParse, /* Parsing context */ + ExprList *pList, /* List to which to append. Might be NULL */ + Expr *pExpr /* Expression to be appended. Might be NULL */ +){ + struct ExprList_item *pItem; + sqlite3 *db = pParse->db; + assert( db!=0 ); + if( pList==0 ){ + pList = sqlite3DbMallocRawNN(db, sizeof(ExprList) ); + if( pList==0 ){ + goto no_mem; + } + pList->nExpr = 0; + }else if( (pList->nExpr & (pList->nExpr-1))==0 ){ + ExprList *pNew; + pNew = sqlite3DbRealloc(db, pList, + sizeof(*pList)+(2*(sqlite3_int64)pList->nExpr-1)*sizeof(pList->a[0])); + if( pNew==0 ){ + goto no_mem; + } + pList = pNew; + } + pItem = &pList->a[pList->nExpr++]; + assert( offsetof(struct ExprList_item,zName)==sizeof(pItem->pExpr) ); + assert( offsetof(struct ExprList_item,pExpr)==0 ); + memset(&pItem->zName,0,sizeof(*pItem)-offsetof(struct ExprList_item,zName)); + pItem->pExpr = pExpr; + return pList; + +no_mem: + /* Avoid leaking memory if malloc has failed. */ + sqlite3ExprDelete(db, pExpr); + sqlite3ExprListDelete(db, pList); + return 0; +} + +/* +** pColumns and pExpr form a vector assignment which is part of the SET +** clause of an UPDATE statement. Like this: +** +** (a,b,c) = (expr1,expr2,expr3) +** Or: (a,b,c) = (SELECT x,y,z FROM ....) +** +** For each term of the vector assignment, append new entries to the +** expression list pList. In the case of a subquery on the RHS, append +** TK_SELECT_COLUMN expressions. +*/ +SQLITE_PRIVATE ExprList *sqlite3ExprListAppendVector( + Parse *pParse, /* Parsing context */ + ExprList *pList, /* List to which to append. Might be NULL */ + IdList *pColumns, /* List of names of LHS of the assignment */ + Expr *pExpr /* Vector expression to be appended. Might be NULL */ +){ + sqlite3 *db = pParse->db; + int n; + int i; + int iFirst = pList ? pList->nExpr : 0; + /* pColumns can only be NULL due to an OOM but an OOM will cause an + ** exit prior to this routine being invoked */ + if( NEVER(pColumns==0) ) goto vector_append_error; + if( pExpr==0 ) goto vector_append_error; + + /* If the RHS is a vector, then we can immediately check to see that + ** the size of the RHS and LHS match. But if the RHS is a SELECT, + ** wildcards ("*") in the result set of the SELECT must be expanded before + ** we can do the size check, so defer the size check until code generation. + */ + if( pExpr->op!=TK_SELECT && pColumns->nId!=(n=sqlite3ExprVectorSize(pExpr)) ){ + sqlite3ErrorMsg(pParse, "%d columns assigned %d values", + pColumns->nId, n); + goto vector_append_error; + } + + for(i=0; inId; i++){ + Expr *pSubExpr = sqlite3ExprForVectorField(pParse, pExpr, i); + assert( pSubExpr!=0 || db->mallocFailed ); + assert( pSubExpr==0 || pSubExpr->iTable==0 ); + if( pSubExpr==0 ) continue; + pSubExpr->iTable = pColumns->nId; + pList = sqlite3ExprListAppend(pParse, pList, pSubExpr); + if( pList ){ + assert( pList->nExpr==iFirst+i+1 ); + pList->a[pList->nExpr-1].zName = pColumns->a[i].zName; + pColumns->a[i].zName = 0; + } + } + + if( !db->mallocFailed && pExpr->op==TK_SELECT && ALWAYS(pList!=0) ){ + Expr *pFirst = pList->a[iFirst].pExpr; + assert( pFirst!=0 ); + assert( pFirst->op==TK_SELECT_COLUMN ); + + /* Store the SELECT statement in pRight so it will be deleted when + ** sqlite3ExprListDelete() is called */ + pFirst->pRight = pExpr; + pExpr = 0; + + /* Remember the size of the LHS in iTable so that we can check that + ** the RHS and LHS sizes match during code generation. */ + pFirst->iTable = pColumns->nId; + } + +vector_append_error: + sqlite3ExprUnmapAndDelete(pParse, pExpr); + sqlite3IdListDelete(db, pColumns); + return pList; +} + +/* +** Set the sort order for the last element on the given ExprList. +*/ +SQLITE_PRIVATE void sqlite3ExprListSetSortOrder(ExprList *p, int iSortOrder, int eNulls){ + struct ExprList_item *pItem; + if( p==0 ) return; + assert( p->nExpr>0 ); + + assert( SQLITE_SO_UNDEFINED<0 && SQLITE_SO_ASC==0 && SQLITE_SO_DESC>0 ); + assert( iSortOrder==SQLITE_SO_UNDEFINED + || iSortOrder==SQLITE_SO_ASC + || iSortOrder==SQLITE_SO_DESC + ); + assert( eNulls==SQLITE_SO_UNDEFINED + || eNulls==SQLITE_SO_ASC + || eNulls==SQLITE_SO_DESC + ); + + pItem = &p->a[p->nExpr-1]; + assert( pItem->bNulls==0 ); + if( iSortOrder==SQLITE_SO_UNDEFINED ){ + iSortOrder = SQLITE_SO_ASC; + } + pItem->sortFlags = (u8)iSortOrder; + + if( eNulls!=SQLITE_SO_UNDEFINED ){ + pItem->bNulls = 1; + if( iSortOrder!=eNulls ){ + pItem->sortFlags |= KEYINFO_ORDER_BIGNULL; + } + } +} + +/* +** Set the ExprList.a[].zName element of the most recently added item +** on the expression list. +** +** pList might be NULL following an OOM error. But pName should never be +** NULL. If a memory allocation fails, the pParse->db->mallocFailed flag +** is set. +*/ +SQLITE_PRIVATE void sqlite3ExprListSetName( + Parse *pParse, /* Parsing context */ + ExprList *pList, /* List to which to add the span. */ + Token *pName, /* Name to be added */ + int dequote /* True to cause the name to be dequoted */ +){ + assert( pList!=0 || pParse->db->mallocFailed!=0 ); + if( pList ){ + struct ExprList_item *pItem; + assert( pList->nExpr>0 ); + pItem = &pList->a[pList->nExpr-1]; + assert( pItem->zName==0 ); + pItem->zName = sqlite3DbStrNDup(pParse->db, pName->z, pName->n); + if( dequote ) sqlite3Dequote(pItem->zName); + if( IN_RENAME_OBJECT ){ + sqlite3RenameTokenMap(pParse, (void*)pItem->zName, pName); + } + } +} + +/* +** Set the ExprList.a[].zSpan element of the most recently added item +** on the expression list. +** +** pList might be NULL following an OOM error. But pSpan should never be +** NULL. If a memory allocation fails, the pParse->db->mallocFailed flag +** is set. +*/ +SQLITE_PRIVATE void sqlite3ExprListSetSpan( + Parse *pParse, /* Parsing context */ + ExprList *pList, /* List to which to add the span. */ + const char *zStart, /* Start of the span */ + const char *zEnd /* End of the span */ +){ + sqlite3 *db = pParse->db; + assert( pList!=0 || db->mallocFailed!=0 ); + if( pList ){ + struct ExprList_item *pItem = &pList->a[pList->nExpr-1]; + assert( pList->nExpr>0 ); + sqlite3DbFree(db, pItem->zSpan); + pItem->zSpan = sqlite3DbSpanDup(db, zStart, zEnd); + } +} + +/* +** If the expression list pEList contains more than iLimit elements, +** leave an error message in pParse. +*/ +SQLITE_PRIVATE void sqlite3ExprListCheckLength( + Parse *pParse, + ExprList *pEList, + const char *zObject +){ + int mx = pParse->db->aLimit[SQLITE_LIMIT_COLUMN]; + testcase( pEList && pEList->nExpr==mx ); + testcase( pEList && pEList->nExpr==mx+1 ); + if( pEList && pEList->nExpr>mx ){ + sqlite3ErrorMsg(pParse, "too many columns in %s", zObject); + } +} + +/* +** Delete an entire expression list. +*/ +static SQLITE_NOINLINE void exprListDeleteNN(sqlite3 *db, ExprList *pList){ + int i = pList->nExpr; + struct ExprList_item *pItem = pList->a; + assert( pList->nExpr>0 ); + do{ + sqlite3ExprDelete(db, pItem->pExpr); + sqlite3DbFree(db, pItem->zName); + sqlite3DbFree(db, pItem->zSpan); + pItem++; + }while( --i>0 ); + sqlite3DbFreeNN(db, pList); +} +SQLITE_PRIVATE void sqlite3ExprListDelete(sqlite3 *db, ExprList *pList){ + if( pList ) exprListDeleteNN(db, pList); +} + +/* +** Return the bitwise-OR of all Expr.flags fields in the given +** ExprList. +*/ +SQLITE_PRIVATE u32 sqlite3ExprListFlags(const ExprList *pList){ + int i; + u32 m = 0; + assert( pList!=0 ); + for(i=0; inExpr; i++){ + Expr *pExpr = pList->a[i].pExpr; + assert( pExpr!=0 ); + m |= pExpr->flags; + } + return m; +} + +/* +** This is a SELECT-node callback for the expression walker that +** always "fails". By "fail" in this case, we mean set +** pWalker->eCode to zero and abort. +** +** This callback is used by multiple expression walkers. +*/ +SQLITE_PRIVATE int sqlite3SelectWalkFail(Walker *pWalker, Select *NotUsed){ + UNUSED_PARAMETER(NotUsed); + pWalker->eCode = 0; + return WRC_Abort; +} + +/* +** If the input expression is an ID with the name "true" or "false" +** then convert it into an TK_TRUEFALSE term. Return non-zero if +** the conversion happened, and zero if the expression is unaltered. +*/ +SQLITE_PRIVATE int sqlite3ExprIdToTrueFalse(Expr *pExpr){ + assert( pExpr->op==TK_ID || pExpr->op==TK_STRING ); + if( !ExprHasProperty(pExpr, EP_Quoted) + && (sqlite3StrICmp(pExpr->u.zToken, "true")==0 + || sqlite3StrICmp(pExpr->u.zToken, "false")==0) + ){ + pExpr->op = TK_TRUEFALSE; + ExprSetProperty(pExpr, pExpr->u.zToken[4]==0 ? EP_IsTrue : EP_IsFalse); + return 1; + } + return 0; +} + +/* +** The argument must be a TK_TRUEFALSE Expr node. Return 1 if it is TRUE +** and 0 if it is FALSE. +*/ +SQLITE_PRIVATE int sqlite3ExprTruthValue(const Expr *pExpr){ + pExpr = sqlite3ExprSkipCollate((Expr*)pExpr); + assert( pExpr->op==TK_TRUEFALSE ); + assert( sqlite3StrICmp(pExpr->u.zToken,"true")==0 + || sqlite3StrICmp(pExpr->u.zToken,"false")==0 ); + return pExpr->u.zToken[4]==0; +} + +/* +** If pExpr is an AND or OR expression, try to simplify it by eliminating +** terms that are always true or false. Return the simplified expression. +** Or return the original expression if no simplification is possible. +** +** Examples: +** +** (x<10) AND true => (x<10) +** (x<10) AND false => false +** (x<10) AND (y=22 OR false) => (x<10) AND (y=22) +** (x<10) AND (y=22 OR true) => (x<10) +** (y=22) OR true => true +*/ +SQLITE_PRIVATE Expr *sqlite3ExprSimplifiedAndOr(Expr *pExpr){ + assert( pExpr!=0 ); + if( pExpr->op==TK_AND || pExpr->op==TK_OR ){ + Expr *pRight = sqlite3ExprSimplifiedAndOr(pExpr->pRight); + Expr *pLeft = sqlite3ExprSimplifiedAndOr(pExpr->pLeft); + if( ExprAlwaysTrue(pLeft) || ExprAlwaysFalse(pRight) ){ + pExpr = pExpr->op==TK_AND ? pRight : pLeft; + }else if( ExprAlwaysTrue(pRight) || ExprAlwaysFalse(pLeft) ){ + pExpr = pExpr->op==TK_AND ? pLeft : pRight; + } + } + return pExpr; +} + + +/* +** These routines are Walker callbacks used to check expressions to +** see if they are "constant" for some definition of constant. The +** Walker.eCode value determines the type of "constant" we are looking +** for. +** +** These callback routines are used to implement the following: +** +** sqlite3ExprIsConstant() pWalker->eCode==1 +** sqlite3ExprIsConstantNotJoin() pWalker->eCode==2 +** sqlite3ExprIsTableConstant() pWalker->eCode==3 +** sqlite3ExprIsConstantOrFunction() pWalker->eCode==4 or 5 +** +** In all cases, the callbacks set Walker.eCode=0 and abort if the expression +** is found to not be a constant. +** +** The sqlite3ExprIsConstantOrFunction() is used for evaluating expressions +** in a CREATE TABLE statement. The Walker.eCode value is 5 when parsing +** an existing schema and 4 when processing a new statement. A bound +** parameter raises an error for new statements, but is silently converted +** to NULL for existing schemas. This allows sqlite_master tables that +** contain a bound parameter because they were generated by older versions +** of SQLite to be parsed by newer versions of SQLite without raising a +** malformed schema error. +*/ +static int exprNodeIsConstant(Walker *pWalker, Expr *pExpr){ + + /* If pWalker->eCode is 2 then any term of the expression that comes from + ** the ON or USING clauses of a left join disqualifies the expression + ** from being considered constant. */ + if( pWalker->eCode==2 && ExprHasProperty(pExpr, EP_FromJoin) ){ + pWalker->eCode = 0; + return WRC_Abort; + } + + switch( pExpr->op ){ + /* Consider functions to be constant if all their arguments are constant + ** and either pWalker->eCode==4 or 5 or the function has the + ** SQLITE_FUNC_CONST flag. */ + case TK_FUNCTION: + if( pWalker->eCode>=4 || ExprHasProperty(pExpr,EP_ConstFunc) ){ + return WRC_Continue; + }else{ + pWalker->eCode = 0; + return WRC_Abort; + } + case TK_ID: + /* Convert "true" or "false" in a DEFAULT clause into the + ** appropriate TK_TRUEFALSE operator */ + if( sqlite3ExprIdToTrueFalse(pExpr) ){ + return WRC_Prune; + } + /* Fall thru */ + case TK_COLUMN: + case TK_AGG_FUNCTION: + case TK_AGG_COLUMN: + testcase( pExpr->op==TK_ID ); + testcase( pExpr->op==TK_COLUMN ); + testcase( pExpr->op==TK_AGG_FUNCTION ); + testcase( pExpr->op==TK_AGG_COLUMN ); + if( ExprHasProperty(pExpr, EP_FixedCol) && pWalker->eCode!=2 ){ + return WRC_Continue; + } + if( pWalker->eCode==3 && pExpr->iTable==pWalker->u.iCur ){ + return WRC_Continue; + } + /* Fall through */ + case TK_IF_NULL_ROW: + case TK_REGISTER: + testcase( pExpr->op==TK_REGISTER ); + testcase( pExpr->op==TK_IF_NULL_ROW ); + pWalker->eCode = 0; + return WRC_Abort; + case TK_VARIABLE: + if( pWalker->eCode==5 ){ + /* Silently convert bound parameters that appear inside of CREATE + ** statements into a NULL when parsing the CREATE statement text out + ** of the sqlite_master table */ + pExpr->op = TK_NULL; + }else if( pWalker->eCode==4 ){ + /* A bound parameter in a CREATE statement that originates from + ** sqlite3_prepare() causes an error */ + pWalker->eCode = 0; + return WRC_Abort; + } + /* Fall through */ + default: + testcase( pExpr->op==TK_SELECT ); /* sqlite3SelectWalkFail() disallows */ + testcase( pExpr->op==TK_EXISTS ); /* sqlite3SelectWalkFail() disallows */ + return WRC_Continue; + } +} +static int exprIsConst(Expr *p, int initFlag, int iCur){ + Walker w; + w.eCode = initFlag; + w.xExprCallback = exprNodeIsConstant; + w.xSelectCallback = sqlite3SelectWalkFail; +#ifdef SQLITE_DEBUG + w.xSelectCallback2 = sqlite3SelectWalkAssert2; +#endif + w.u.iCur = iCur; + sqlite3WalkExpr(&w, p); + return w.eCode; +} + +/* +** Walk an expression tree. Return non-zero if the expression is constant +** and 0 if it involves variables or function calls. +** +** For the purposes of this function, a double-quoted string (ex: "abc") +** is considered a variable but a single-quoted string (ex: 'abc') is +** a constant. +*/ +SQLITE_PRIVATE int sqlite3ExprIsConstant(Expr *p){ + return exprIsConst(p, 1, 0); +} + +/* +** Walk an expression tree. Return non-zero if +** +** (1) the expression is constant, and +** (2) the expression does originate in the ON or USING clause +** of a LEFT JOIN, and +** (3) the expression does not contain any EP_FixedCol TK_COLUMN +** operands created by the constant propagation optimization. +** +** When this routine returns true, it indicates that the expression +** can be added to the pParse->pConstExpr list and evaluated once when +** the prepared statement starts up. See sqlite3ExprCodeAtInit(). +*/ +SQLITE_PRIVATE int sqlite3ExprIsConstantNotJoin(Expr *p){ + return exprIsConst(p, 2, 0); +} + +/* +** Walk an expression tree. Return non-zero if the expression is constant +** for any single row of the table with cursor iCur. In other words, the +** expression must not refer to any non-deterministic function nor any +** table other than iCur. +*/ +SQLITE_PRIVATE int sqlite3ExprIsTableConstant(Expr *p, int iCur){ + return exprIsConst(p, 3, iCur); +} + + +/* +** sqlite3WalkExpr() callback used by sqlite3ExprIsConstantOrGroupBy(). +*/ +static int exprNodeIsConstantOrGroupBy(Walker *pWalker, Expr *pExpr){ + ExprList *pGroupBy = pWalker->u.pGroupBy; + int i; + + /* Check if pExpr is identical to any GROUP BY term. If so, consider + ** it constant. */ + for(i=0; inExpr; i++){ + Expr *p = pGroupBy->a[i].pExpr; + if( sqlite3ExprCompare(0, pExpr, p, -1)<2 ){ + CollSeq *pColl = sqlite3ExprNNCollSeq(pWalker->pParse, p); + if( sqlite3IsBinary(pColl) ){ + return WRC_Prune; + } + } + } + + /* Check if pExpr is a sub-select. If so, consider it variable. */ + if( ExprHasProperty(pExpr, EP_xIsSelect) ){ + pWalker->eCode = 0; + return WRC_Abort; + } + + return exprNodeIsConstant(pWalker, pExpr); +} + +/* +** Walk the expression tree passed as the first argument. Return non-zero +** if the expression consists entirely of constants or copies of terms +** in pGroupBy that sort with the BINARY collation sequence. +** +** This routine is used to determine if a term of the HAVING clause can +** be promoted into the WHERE clause. In order for such a promotion to work, +** the value of the HAVING clause term must be the same for all members of +** a "group". The requirement that the GROUP BY term must be BINARY +** assumes that no other collating sequence will have a finer-grained +** grouping than binary. In other words (A=B COLLATE binary) implies +** A=B in every other collating sequence. The requirement that the +** GROUP BY be BINARY is stricter than necessary. It would also work +** to promote HAVING clauses that use the same alternative collating +** sequence as the GROUP BY term, but that is much harder to check, +** alternative collating sequences are uncommon, and this is only an +** optimization, so we take the easy way out and simply require the +** GROUP BY to use the BINARY collating sequence. +*/ +SQLITE_PRIVATE int sqlite3ExprIsConstantOrGroupBy(Parse *pParse, Expr *p, ExprList *pGroupBy){ + Walker w; + w.eCode = 1; + w.xExprCallback = exprNodeIsConstantOrGroupBy; + w.xSelectCallback = 0; + w.u.pGroupBy = pGroupBy; + w.pParse = pParse; + sqlite3WalkExpr(&w, p); + return w.eCode; +} + +/* +** Walk an expression tree. Return non-zero if the expression is constant +** or a function call with constant arguments. Return and 0 if there +** are any variables. +** +** For the purposes of this function, a double-quoted string (ex: "abc") +** is considered a variable but a single-quoted string (ex: 'abc') is +** a constant. +*/ +SQLITE_PRIVATE int sqlite3ExprIsConstantOrFunction(Expr *p, u8 isInit){ + assert( isInit==0 || isInit==1 ); + return exprIsConst(p, 4+isInit, 0); +} + +#ifdef SQLITE_ENABLE_CURSOR_HINTS +/* +** Walk an expression tree. Return 1 if the expression contains a +** subquery of some kind. Return 0 if there are no subqueries. +*/ +SQLITE_PRIVATE int sqlite3ExprContainsSubquery(Expr *p){ + Walker w; + w.eCode = 1; + w.xExprCallback = sqlite3ExprWalkNoop; + w.xSelectCallback = sqlite3SelectWalkFail; +#ifdef SQLITE_DEBUG + w.xSelectCallback2 = sqlite3SelectWalkAssert2; +#endif + sqlite3WalkExpr(&w, p); + return w.eCode==0; +} +#endif + +/* +** If the expression p codes a constant integer that is small enough +** to fit in a 32-bit integer, return 1 and put the value of the integer +** in *pValue. If the expression is not an integer or if it is too big +** to fit in a signed 32-bit integer, return 0 and leave *pValue unchanged. +*/ +SQLITE_PRIVATE int sqlite3ExprIsInteger(Expr *p, int *pValue){ + int rc = 0; + if( NEVER(p==0) ) return 0; /* Used to only happen following on OOM */ + + /* If an expression is an integer literal that fits in a signed 32-bit + ** integer, then the EP_IntValue flag will have already been set */ + assert( p->op!=TK_INTEGER || (p->flags & EP_IntValue)!=0 + || sqlite3GetInt32(p->u.zToken, &rc)==0 ); + + if( p->flags & EP_IntValue ){ + *pValue = p->u.iValue; + return 1; + } + switch( p->op ){ + case TK_UPLUS: { + rc = sqlite3ExprIsInteger(p->pLeft, pValue); + break; + } + case TK_UMINUS: { + int v; + if( sqlite3ExprIsInteger(p->pLeft, &v) ){ + assert( v!=(-2147483647-1) ); + *pValue = -v; + rc = 1; + } + break; + } + default: break; + } + return rc; +} + +/* +** Return FALSE if there is no chance that the expression can be NULL. +** +** If the expression might be NULL or if the expression is too complex +** to tell return TRUE. +** +** This routine is used as an optimization, to skip OP_IsNull opcodes +** when we know that a value cannot be NULL. Hence, a false positive +** (returning TRUE when in fact the expression can never be NULL) might +** be a small performance hit but is otherwise harmless. On the other +** hand, a false negative (returning FALSE when the result could be NULL) +** will likely result in an incorrect answer. So when in doubt, return +** TRUE. +*/ +SQLITE_PRIVATE int sqlite3ExprCanBeNull(const Expr *p){ + u8 op; + while( p->op==TK_UPLUS || p->op==TK_UMINUS ){ + p = p->pLeft; + } + op = p->op; + if( op==TK_REGISTER ) op = p->op2; + switch( op ){ + case TK_INTEGER: + case TK_STRING: + case TK_FLOAT: + case TK_BLOB: + return 0; + case TK_COLUMN: + return ExprHasProperty(p, EP_CanBeNull) || + p->y.pTab==0 || /* Reference to column of index on expression */ + (p->iColumn>=0 && p->y.pTab->aCol[p->iColumn].notNull==0); + default: + return 1; + } +} + +/* +** Return TRUE if the given expression is a constant which would be +** unchanged by OP_Affinity with the affinity given in the second +** argument. +** +** This routine is used to determine if the OP_Affinity operation +** can be omitted. When in doubt return FALSE. A false negative +** is harmless. A false positive, however, can result in the wrong +** answer. +*/ +SQLITE_PRIVATE int sqlite3ExprNeedsNoAffinityChange(const Expr *p, char aff){ + u8 op; + int unaryMinus = 0; + if( aff==SQLITE_AFF_BLOB ) return 1; + while( p->op==TK_UPLUS || p->op==TK_UMINUS ){ + if( p->op==TK_UMINUS ) unaryMinus = 1; + p = p->pLeft; + } + op = p->op; + if( op==TK_REGISTER ) op = p->op2; + switch( op ){ + case TK_INTEGER: { + return aff>=SQLITE_AFF_NUMERIC; + } + case TK_FLOAT: { + return aff>=SQLITE_AFF_NUMERIC; + } + case TK_STRING: { + return !unaryMinus && aff==SQLITE_AFF_TEXT; + } + case TK_BLOB: { + return !unaryMinus; + } + case TK_COLUMN: { + assert( p->iTable>=0 ); /* p cannot be part of a CHECK constraint */ + return aff>=SQLITE_AFF_NUMERIC && p->iColumn<0; + } + default: { + return 0; + } + } +} + +/* +** Return TRUE if the given string is a row-id column name. +*/ +SQLITE_PRIVATE int sqlite3IsRowid(const char *z){ + if( sqlite3StrICmp(z, "_ROWID_")==0 ) return 1; + if( sqlite3StrICmp(z, "ROWID")==0 ) return 1; + if( sqlite3StrICmp(z, "OID")==0 ) return 1; + return 0; +} + +/* +** pX is the RHS of an IN operator. If pX is a SELECT statement +** that can be simplified to a direct table access, then return +** a pointer to the SELECT statement. If pX is not a SELECT statement, +** or if the SELECT statement needs to be manifested into a transient +** table, then return NULL. +*/ +#ifndef SQLITE_OMIT_SUBQUERY +static Select *isCandidateForInOpt(Expr *pX){ + Select *p; + SrcList *pSrc; + ExprList *pEList; + Table *pTab; + int i; + if( !ExprHasProperty(pX, EP_xIsSelect) ) return 0; /* Not a subquery */ + if( ExprHasProperty(pX, EP_VarSelect) ) return 0; /* Correlated subq */ + p = pX->x.pSelect; + if( p->pPrior ) return 0; /* Not a compound SELECT */ + if( p->selFlags & (SF_Distinct|SF_Aggregate) ){ + testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct ); + testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate ); + return 0; /* No DISTINCT keyword and no aggregate functions */ + } + assert( p->pGroupBy==0 ); /* Has no GROUP BY clause */ + if( p->pLimit ) return 0; /* Has no LIMIT clause */ + if( p->pWhere ) return 0; /* Has no WHERE clause */ + pSrc = p->pSrc; + assert( pSrc!=0 ); + if( pSrc->nSrc!=1 ) return 0; /* Single term in FROM clause */ + if( pSrc->a[0].pSelect ) return 0; /* FROM is not a subquery or view */ + pTab = pSrc->a[0].pTab; + assert( pTab!=0 ); + assert( pTab->pSelect==0 ); /* FROM clause is not a view */ + if( IsVirtual(pTab) ) return 0; /* FROM clause not a virtual table */ + pEList = p->pEList; + assert( pEList!=0 ); + /* All SELECT results must be columns. */ + for(i=0; inExpr; i++){ + Expr *pRes = pEList->a[i].pExpr; + if( pRes->op!=TK_COLUMN ) return 0; + assert( pRes->iTable==pSrc->a[0].iCursor ); /* Not a correlated subquery */ + } + return p; +} +#endif /* SQLITE_OMIT_SUBQUERY */ + +#ifndef SQLITE_OMIT_SUBQUERY +/* +** Generate code that checks the left-most column of index table iCur to see if +** it contains any NULL entries. Cause the register at regHasNull to be set +** to a non-NULL value if iCur contains no NULLs. Cause register regHasNull +** to be set to NULL if iCur contains one or more NULL values. +*/ +static void sqlite3SetHasNullFlag(Vdbe *v, int iCur, int regHasNull){ + int addr1; + sqlite3VdbeAddOp2(v, OP_Integer, 0, regHasNull); + addr1 = sqlite3VdbeAddOp1(v, OP_Rewind, iCur); VdbeCoverage(v); + sqlite3VdbeAddOp3(v, OP_Column, iCur, 0, regHasNull); + sqlite3VdbeChangeP5(v, OPFLAG_TYPEOFARG); + VdbeComment((v, "first_entry_in(%d)", iCur)); + sqlite3VdbeJumpHere(v, addr1); +} +#endif + + +#ifndef SQLITE_OMIT_SUBQUERY +/* +** The argument is an IN operator with a list (not a subquery) on the +** right-hand side. Return TRUE if that list is constant. +*/ +static int sqlite3InRhsIsConstant(Expr *pIn){ + Expr *pLHS; + int res; + assert( !ExprHasProperty(pIn, EP_xIsSelect) ); + pLHS = pIn->pLeft; + pIn->pLeft = 0; + res = sqlite3ExprIsConstant(pIn); + pIn->pLeft = pLHS; + return res; +} +#endif + +/* +** This function is used by the implementation of the IN (...) operator. +** The pX parameter is the expression on the RHS of the IN operator, which +** might be either a list of expressions or a subquery. +** +** The job of this routine is to find or create a b-tree object that can +** be used either to test for membership in the RHS set or to iterate through +** all members of the RHS set, skipping duplicates. +** +** A cursor is opened on the b-tree object that is the RHS of the IN operator +** and pX->iTable is set to the index of that cursor. +** +** The returned value of this function indicates the b-tree type, as follows: +** +** IN_INDEX_ROWID - The cursor was opened on a database table. +** IN_INDEX_INDEX_ASC - The cursor was opened on an ascending index. +** IN_INDEX_INDEX_DESC - The cursor was opened on a descending index. +** IN_INDEX_EPH - The cursor was opened on a specially created and +** populated epheremal table. +** IN_INDEX_NOOP - No cursor was allocated. The IN operator must be +** implemented as a sequence of comparisons. +** +** An existing b-tree might be used if the RHS expression pX is a simple +** subquery such as: +** +** SELECT , ... FROM +** +** If the RHS of the IN operator is a list or a more complex subquery, then +** an ephemeral table might need to be generated from the RHS and then +** pX->iTable made to point to the ephemeral table instead of an +** existing table. +** +** The inFlags parameter must contain, at a minimum, one of the bits +** IN_INDEX_MEMBERSHIP or IN_INDEX_LOOP but not both. If inFlags contains +** IN_INDEX_MEMBERSHIP, then the generated table will be used for a fast +** membership test. When the IN_INDEX_LOOP bit is set, the IN index will +** be used to loop over all values of the RHS of the IN operator. +** +** When IN_INDEX_LOOP is used (and the b-tree will be used to iterate +** through the set members) then the b-tree must not contain duplicates. +** An epheremal table will be created unless the selected columns are guaranteed +** to be unique - either because it is an INTEGER PRIMARY KEY or due to +** a UNIQUE constraint or index. +** +** When IN_INDEX_MEMBERSHIP is used (and the b-tree will be used +** for fast set membership tests) then an epheremal table must +** be used unless is a single INTEGER PRIMARY KEY column or an +** index can be found with the specified as its left-most. +** +** If the IN_INDEX_NOOP_OK and IN_INDEX_MEMBERSHIP are both set and +** if the RHS of the IN operator is a list (not a subquery) then this +** routine might decide that creating an ephemeral b-tree for membership +** testing is too expensive and return IN_INDEX_NOOP. In that case, the +** calling routine should implement the IN operator using a sequence +** of Eq or Ne comparison operations. +** +** When the b-tree is being used for membership tests, the calling function +** might need to know whether or not the RHS side of the IN operator +** contains a NULL. If prRhsHasNull is not a NULL pointer and +** if there is any chance that the (...) might contain a NULL value at +** runtime, then a register is allocated and the register number written +** to *prRhsHasNull. If there is no chance that the (...) contains a +** NULL value, then *prRhsHasNull is left unchanged. +** +** If a register is allocated and its location stored in *prRhsHasNull, then +** the value in that register will be NULL if the b-tree contains one or more +** NULL values, and it will be some non-NULL value if the b-tree contains no +** NULL values. +** +** If the aiMap parameter is not NULL, it must point to an array containing +** one element for each column returned by the SELECT statement on the RHS +** of the IN(...) operator. The i'th entry of the array is populated with the +** offset of the index column that matches the i'th column returned by the +** SELECT. For example, if the expression and selected index are: +** +** (?,?,?) IN (SELECT a, b, c FROM t1) +** CREATE INDEX i1 ON t1(b, c, a); +** +** then aiMap[] is populated with {2, 0, 1}. +*/ +#ifndef SQLITE_OMIT_SUBQUERY +SQLITE_PRIVATE int sqlite3FindInIndex( + Parse *pParse, /* Parsing context */ + Expr *pX, /* The IN expression */ + u32 inFlags, /* IN_INDEX_LOOP, _MEMBERSHIP, and/or _NOOP_OK */ + int *prRhsHasNull, /* Register holding NULL status. See notes */ + int *aiMap, /* Mapping from Index fields to RHS fields */ + int *piTab /* OUT: index to use */ +){ + Select *p; /* SELECT to the right of IN operator */ + int eType = 0; /* Type of RHS table. IN_INDEX_* */ + int iTab = pParse->nTab++; /* Cursor of the RHS table */ + int mustBeUnique; /* True if RHS must be unique */ + Vdbe *v = sqlite3GetVdbe(pParse); /* Virtual machine being coded */ + + assert( pX->op==TK_IN ); + mustBeUnique = (inFlags & IN_INDEX_LOOP)!=0; + + /* If the RHS of this IN(...) operator is a SELECT, and if it matters + ** whether or not the SELECT result contains NULL values, check whether + ** or not NULL is actually possible (it may not be, for example, due + ** to NOT NULL constraints in the schema). If no NULL values are possible, + ** set prRhsHasNull to 0 before continuing. */ + if( prRhsHasNull && (pX->flags & EP_xIsSelect) ){ + int i; + ExprList *pEList = pX->x.pSelect->pEList; + for(i=0; inExpr; i++){ + if( sqlite3ExprCanBeNull(pEList->a[i].pExpr) ) break; + } + if( i==pEList->nExpr ){ + prRhsHasNull = 0; + } + } + + /* Check to see if an existing table or index can be used to + ** satisfy the query. This is preferable to generating a new + ** ephemeral table. */ + if( pParse->nErr==0 && (p = isCandidateForInOpt(pX))!=0 ){ + sqlite3 *db = pParse->db; /* Database connection */ + Table *pTab; /* Table
    . */ + i16 iDb; /* Database idx for pTab */ + ExprList *pEList = p->pEList; + int nExpr = pEList->nExpr; + + assert( p->pEList!=0 ); /* Because of isCandidateForInOpt(p) */ + assert( p->pEList->a[0].pExpr!=0 ); /* Because of isCandidateForInOpt(p) */ + assert( p->pSrc!=0 ); /* Because of isCandidateForInOpt(p) */ + pTab = p->pSrc->a[0].pTab; + + /* Code an OP_Transaction and OP_TableLock for
    . */ + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + sqlite3CodeVerifySchema(pParse, iDb); + sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName); + + assert(v); /* sqlite3GetVdbe() has always been previously called */ + if( nExpr==1 && pEList->a[0].pExpr->iColumn<0 ){ + /* The "x IN (SELECT rowid FROM table)" case */ + int iAddr = sqlite3VdbeAddOp0(v, OP_Once); + VdbeCoverage(v); + + sqlite3OpenTable(pParse, iTab, iDb, pTab, OP_OpenRead); + eType = IN_INDEX_ROWID; + ExplainQueryPlan((pParse, 0, + "USING ROWID SEARCH ON TABLE %s FOR IN-OPERATOR",pTab->zName)); + sqlite3VdbeJumpHere(v, iAddr); + }else{ + Index *pIdx; /* Iterator variable */ + int affinity_ok = 1; + int i; + + /* Check that the affinity that will be used to perform each + ** comparison is the same as the affinity of each column in table + ** on the RHS of the IN operator. If it not, it is not possible to + ** use any index of the RHS table. */ + for(i=0; ipLeft, i); + int iCol = pEList->a[i].pExpr->iColumn; + char idxaff = sqlite3TableColumnAffinity(pTab,iCol); /* RHS table */ + char cmpaff = sqlite3CompareAffinity(pLhs, idxaff); + testcase( cmpaff==SQLITE_AFF_BLOB ); + testcase( cmpaff==SQLITE_AFF_TEXT ); + switch( cmpaff ){ + case SQLITE_AFF_BLOB: + break; + case SQLITE_AFF_TEXT: + /* sqlite3CompareAffinity() only returns TEXT if one side or the + ** other has no affinity and the other side is TEXT. Hence, + ** the only way for cmpaff to be TEXT is for idxaff to be TEXT + ** and for the term on the LHS of the IN to have no affinity. */ + assert( idxaff==SQLITE_AFF_TEXT ); + break; + default: + affinity_ok = sqlite3IsNumericAffinity(idxaff); + } + } + + if( affinity_ok ){ + /* Search for an existing index that will work for this IN operator */ + for(pIdx=pTab->pIndex; pIdx && eType==0; pIdx=pIdx->pNext){ + Bitmask colUsed; /* Columns of the index used */ + Bitmask mCol; /* Mask for the current column */ + if( pIdx->nColumnpPartIdxWhere!=0 ) continue; + /* Maximum nColumn is BMS-2, not BMS-1, so that we can compute + ** BITMASK(nExpr) without overflowing */ + testcase( pIdx->nColumn==BMS-2 ); + testcase( pIdx->nColumn==BMS-1 ); + if( pIdx->nColumn>=BMS-1 ) continue; + if( mustBeUnique ){ + if( pIdx->nKeyCol>nExpr + ||(pIdx->nColumn>nExpr && !IsUniqueIndex(pIdx)) + ){ + continue; /* This index is not unique over the IN RHS columns */ + } + } + + colUsed = 0; /* Columns of index used so far */ + for(i=0; ipLeft, i); + Expr *pRhs = pEList->a[i].pExpr; + CollSeq *pReq = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs); + int j; + + assert( pReq!=0 || pRhs->iColumn==XN_ROWID || pParse->nErr ); + for(j=0; jaiColumn[j]!=pRhs->iColumn ) continue; + assert( pIdx->azColl[j] ); + if( pReq!=0 && sqlite3StrICmp(pReq->zName, pIdx->azColl[j])!=0 ){ + continue; + } + break; + } + if( j==nExpr ) break; + mCol = MASKBIT(j); + if( mCol & colUsed ) break; /* Each column used only once */ + colUsed |= mCol; + if( aiMap ) aiMap[i] = j; + } + + assert( i==nExpr || colUsed!=(MASKBIT(nExpr)-1) ); + if( colUsed==(MASKBIT(nExpr)-1) ){ + /* If we reach this point, that means the index pIdx is usable */ + int iAddr = sqlite3VdbeAddOp0(v, OP_Once); VdbeCoverage(v); + ExplainQueryPlan((pParse, 0, + "USING INDEX %s FOR IN-OPERATOR",pIdx->zName)); + sqlite3VdbeAddOp3(v, OP_OpenRead, iTab, pIdx->tnum, iDb); + sqlite3VdbeSetP4KeyInfo(pParse, pIdx); + VdbeComment((v, "%s", pIdx->zName)); + assert( IN_INDEX_INDEX_DESC == IN_INDEX_INDEX_ASC+1 ); + eType = IN_INDEX_INDEX_ASC + pIdx->aSortOrder[0]; + + if( prRhsHasNull ){ +#ifdef SQLITE_ENABLE_COLUMN_USED_MASK + i64 mask = (1<nMem; + if( nExpr==1 ){ + sqlite3SetHasNullFlag(v, iTab, *prRhsHasNull); + } + } + sqlite3VdbeJumpHere(v, iAddr); + } + } /* End loop over indexes */ + } /* End if( affinity_ok ) */ + } /* End if not an rowid index */ + } /* End attempt to optimize using an index */ + + /* If no preexisting index is available for the IN clause + ** and IN_INDEX_NOOP is an allowed reply + ** and the RHS of the IN operator is a list, not a subquery + ** and the RHS is not constant or has two or fewer terms, + ** then it is not worth creating an ephemeral table to evaluate + ** the IN operator so return IN_INDEX_NOOP. + */ + if( eType==0 + && (inFlags & IN_INDEX_NOOP_OK) + && !ExprHasProperty(pX, EP_xIsSelect) + && (!sqlite3InRhsIsConstant(pX) || pX->x.pList->nExpr<=2) + ){ + eType = IN_INDEX_NOOP; + } + + if( eType==0 ){ + /* Could not find an existing table or index to use as the RHS b-tree. + ** We will have to generate an ephemeral table to do the job. + */ + u32 savedNQueryLoop = pParse->nQueryLoop; + int rMayHaveNull = 0; + eType = IN_INDEX_EPH; + if( inFlags & IN_INDEX_LOOP ){ + pParse->nQueryLoop = 0; + }else if( prRhsHasNull ){ + *prRhsHasNull = rMayHaveNull = ++pParse->nMem; + } + assert( pX->op==TK_IN ); + sqlite3CodeRhsOfIN(pParse, pX, iTab); + if( rMayHaveNull ){ + sqlite3SetHasNullFlag(v, iTab, rMayHaveNull); + } + pParse->nQueryLoop = savedNQueryLoop; + } + + if( aiMap && eType!=IN_INDEX_INDEX_ASC && eType!=IN_INDEX_INDEX_DESC ){ + int i, n; + n = sqlite3ExprVectorSize(pX->pLeft); + for(i=0; ipLeft; + int nVal = sqlite3ExprVectorSize(pLeft); + Select *pSelect = (pExpr->flags & EP_xIsSelect) ? pExpr->x.pSelect : 0; + char *zRet; + + assert( pExpr->op==TK_IN ); + zRet = sqlite3DbMallocRaw(pParse->db, nVal+1); + if( zRet ){ + int i; + for(i=0; ipEList->a[i].pExpr, a); + }else{ + zRet[i] = a; + } + } + zRet[nVal] = '\0'; + } + return zRet; +} +#endif + +#ifndef SQLITE_OMIT_SUBQUERY +/* +** Load the Parse object passed as the first argument with an error +** message of the form: +** +** "sub-select returns N columns - expected M" +*/ +SQLITE_PRIVATE void sqlite3SubselectError(Parse *pParse, int nActual, int nExpect){ + const char *zFmt = "sub-select returns %d columns - expected %d"; + sqlite3ErrorMsg(pParse, zFmt, nActual, nExpect); +} +#endif + +/* +** Expression pExpr is a vector that has been used in a context where +** it is not permitted. If pExpr is a sub-select vector, this routine +** loads the Parse object with a message of the form: +** +** "sub-select returns N columns - expected 1" +** +** Or, if it is a regular scalar vector: +** +** "row value misused" +*/ +SQLITE_PRIVATE void sqlite3VectorErrorMsg(Parse *pParse, Expr *pExpr){ +#ifndef SQLITE_OMIT_SUBQUERY + if( pExpr->flags & EP_xIsSelect ){ + sqlite3SubselectError(pParse, pExpr->x.pSelect->pEList->nExpr, 1); + }else +#endif + { + sqlite3ErrorMsg(pParse, "row value misused"); + } +} + +#ifndef SQLITE_OMIT_SUBQUERY +/* +** Generate code that will construct an ephemeral table containing all terms +** in the RHS of an IN operator. The IN operator can be in either of two +** forms: +** +** x IN (4,5,11) -- IN operator with list on right-hand side +** x IN (SELECT a FROM b) -- IN operator with subquery on the right +** +** The pExpr parameter is the IN operator. The cursor number for the +** constructed ephermeral table is returned. The first time the ephemeral +** table is computed, the cursor number is also stored in pExpr->iTable, +** however the cursor number returned might not be the same, as it might +** have been duplicated using OP_OpenDup. +** +** If the LHS expression ("x" in the examples) is a column value, or +** the SELECT statement returns a column value, then the affinity of that +** column is used to build the index keys. If both 'x' and the +** SELECT... statement are columns, then numeric affinity is used +** if either column has NUMERIC or INTEGER affinity. If neither +** 'x' nor the SELECT... statement are columns, then numeric affinity +** is used. +*/ +SQLITE_PRIVATE void sqlite3CodeRhsOfIN( + Parse *pParse, /* Parsing context */ + Expr *pExpr, /* The IN operator */ + int iTab /* Use this cursor number */ +){ + int addrOnce = 0; /* Address of the OP_Once instruction at top */ + int addr; /* Address of OP_OpenEphemeral instruction */ + Expr *pLeft; /* the LHS of the IN operator */ + KeyInfo *pKeyInfo = 0; /* Key information */ + int nVal; /* Size of vector pLeft */ + Vdbe *v; /* The prepared statement under construction */ + + v = pParse->pVdbe; + assert( v!=0 ); + + /* The evaluation of the IN must be repeated every time it + ** is encountered if any of the following is true: + ** + ** * The right-hand side is a correlated subquery + ** * The right-hand side is an expression list containing variables + ** * We are inside a trigger + ** + ** If all of the above are false, then we can compute the RHS just once + ** and reuse it many names. + */ + if( !ExprHasProperty(pExpr, EP_VarSelect) && pParse->iSelfTab==0 ){ + /* Reuse of the RHS is allowed */ + /* If this routine has already been coded, but the previous code + ** might not have been invoked yet, so invoke it now as a subroutine. + */ + if( ExprHasProperty(pExpr, EP_Subrtn) ){ + addrOnce = sqlite3VdbeAddOp0(v, OP_Once); VdbeCoverage(v); + if( ExprHasProperty(pExpr, EP_xIsSelect) ){ + ExplainQueryPlan((pParse, 0, "REUSE LIST SUBQUERY %d", + pExpr->x.pSelect->selId)); + } + sqlite3VdbeAddOp2(v, OP_Gosub, pExpr->y.sub.regReturn, + pExpr->y.sub.iAddr); + sqlite3VdbeAddOp2(v, OP_OpenDup, iTab, pExpr->iTable); + sqlite3VdbeJumpHere(v, addrOnce); + return; + } + + /* Begin coding the subroutine */ + ExprSetProperty(pExpr, EP_Subrtn); + pExpr->y.sub.regReturn = ++pParse->nMem; + pExpr->y.sub.iAddr = + sqlite3VdbeAddOp2(v, OP_Integer, 0, pExpr->y.sub.regReturn) + 1; + VdbeComment((v, "return address")); + + addrOnce = sqlite3VdbeAddOp0(v, OP_Once); VdbeCoverage(v); + } + + /* Check to see if this is a vector IN operator */ + pLeft = pExpr->pLeft; + nVal = sqlite3ExprVectorSize(pLeft); + + /* Construct the ephemeral table that will contain the content of + ** RHS of the IN operator. + */ + pExpr->iTable = iTab; + addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, pExpr->iTable, nVal); +#ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS + if( ExprHasProperty(pExpr, EP_xIsSelect) ){ + VdbeComment((v, "Result of SELECT %u", pExpr->x.pSelect->selId)); + }else{ + VdbeComment((v, "RHS of IN operator")); + } +#endif + pKeyInfo = sqlite3KeyInfoAlloc(pParse->db, nVal, 1); + + if( ExprHasProperty(pExpr, EP_xIsSelect) ){ + /* Case 1: expr IN (SELECT ...) + ** + ** Generate code to write the results of the select into the temporary + ** table allocated and opened above. + */ + Select *pSelect = pExpr->x.pSelect; + ExprList *pEList = pSelect->pEList; + + ExplainQueryPlan((pParse, 1, "%sLIST SUBQUERY %d", + addrOnce?"":"CORRELATED ", pSelect->selId + )); + /* If the LHS and RHS of the IN operator do not match, that + ** error will have been caught long before we reach this point. */ + if( ALWAYS(pEList->nExpr==nVal) ){ + SelectDest dest; + int i; + sqlite3SelectDestInit(&dest, SRT_Set, iTab); + dest.zAffSdst = exprINAffinity(pParse, pExpr); + pSelect->iLimit = 0; + testcase( pSelect->selFlags & SF_Distinct ); + testcase( pKeyInfo==0 ); /* Caused by OOM in sqlite3KeyInfoAlloc() */ + if( sqlite3Select(pParse, pSelect, &dest) ){ + sqlite3DbFree(pParse->db, dest.zAffSdst); + sqlite3KeyInfoUnref(pKeyInfo); + return; + } + sqlite3DbFree(pParse->db, dest.zAffSdst); + assert( pKeyInfo!=0 ); /* OOM will cause exit after sqlite3Select() */ + assert( pEList!=0 ); + assert( pEList->nExpr>0 ); + assert( sqlite3KeyInfoIsWriteable(pKeyInfo) ); + for(i=0; iaColl[i] = sqlite3BinaryCompareCollSeq( + pParse, p, pEList->a[i].pExpr + ); + } + } + }else if( ALWAYS(pExpr->x.pList!=0) ){ + /* Case 2: expr IN (exprlist) + ** + ** For each expression, build an index key from the evaluation and + ** store it in the temporary table. If is a column, then use + ** that columns affinity when building index keys. If is not + ** a column, use numeric affinity. + */ + char affinity; /* Affinity of the LHS of the IN */ + int i; + ExprList *pList = pExpr->x.pList; + struct ExprList_item *pItem; + int r1, r2; + affinity = sqlite3ExprAffinity(pLeft); + if( affinity<=SQLITE_AFF_NONE ){ + affinity = SQLITE_AFF_BLOB; + } + if( pKeyInfo ){ + assert( sqlite3KeyInfoIsWriteable(pKeyInfo) ); + pKeyInfo->aColl[0] = sqlite3ExprCollSeq(pParse, pExpr->pLeft); + } + + /* Loop through each expression in . */ + r1 = sqlite3GetTempReg(pParse); + r2 = sqlite3GetTempReg(pParse); + for(i=pList->nExpr, pItem=pList->a; i>0; i--, pItem++){ + Expr *pE2 = pItem->pExpr; + + /* If the expression is not constant then we will need to + ** disable the test that was generated above that makes sure + ** this code only executes once. Because for a non-constant + ** expression we need to rerun this code each time. + */ + if( addrOnce && !sqlite3ExprIsConstant(pE2) ){ + sqlite3VdbeChangeToNoop(v, addrOnce); + ExprClearProperty(pExpr, EP_Subrtn); + addrOnce = 0; + } + + /* Evaluate the expression and insert it into the temp table */ + sqlite3ExprCode(pParse, pE2, r1); + sqlite3VdbeAddOp4(v, OP_MakeRecord, r1, 1, r2, &affinity, 1); + sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iTab, r2, r1, 1); + } + sqlite3ReleaseTempReg(pParse, r1); + sqlite3ReleaseTempReg(pParse, r2); + } + if( pKeyInfo ){ + sqlite3VdbeChangeP4(v, addr, (void *)pKeyInfo, P4_KEYINFO); + } + if( addrOnce ){ + sqlite3VdbeJumpHere(v, addrOnce); + /* Subroutine return */ + sqlite3VdbeAddOp1(v, OP_Return, pExpr->y.sub.regReturn); + sqlite3VdbeChangeP1(v, pExpr->y.sub.iAddr-1, sqlite3VdbeCurrentAddr(v)-1); + sqlite3ClearTempRegCache(pParse); + } +} +#endif /* SQLITE_OMIT_SUBQUERY */ + +/* +** Generate code for scalar subqueries used as a subquery expression +** or EXISTS operator: +** +** (SELECT a FROM b) -- subquery +** EXISTS (SELECT a FROM b) -- EXISTS subquery +** +** The pExpr parameter is the SELECT or EXISTS operator to be coded. +** +** Return the register that holds the result. For a multi-column SELECT, +** the result is stored in a contiguous array of registers and the +** return value is the register of the left-most result column. +** Return 0 if an error occurs. +*/ +#ifndef SQLITE_OMIT_SUBQUERY +SQLITE_PRIVATE int sqlite3CodeSubselect(Parse *pParse, Expr *pExpr){ + int addrOnce = 0; /* Address of OP_Once at top of subroutine */ + int rReg = 0; /* Register storing resulting */ + Select *pSel; /* SELECT statement to encode */ + SelectDest dest; /* How to deal with SELECT result */ + int nReg; /* Registers to allocate */ + Expr *pLimit; /* New limit expression */ + + Vdbe *v = pParse->pVdbe; + assert( v!=0 ); + testcase( pExpr->op==TK_EXISTS ); + testcase( pExpr->op==TK_SELECT ); + assert( pExpr->op==TK_EXISTS || pExpr->op==TK_SELECT ); + assert( ExprHasProperty(pExpr, EP_xIsSelect) ); + pSel = pExpr->x.pSelect; + + /* The evaluation of the EXISTS/SELECT must be repeated every time it + ** is encountered if any of the following is true: + ** + ** * The right-hand side is a correlated subquery + ** * The right-hand side is an expression list containing variables + ** * We are inside a trigger + ** + ** If all of the above are false, then we can run this code just once + ** save the results, and reuse the same result on subsequent invocations. + */ + if( !ExprHasProperty(pExpr, EP_VarSelect) ){ + /* If this routine has already been coded, then invoke it as a + ** subroutine. */ + if( ExprHasProperty(pExpr, EP_Subrtn) ){ + ExplainQueryPlan((pParse, 0, "REUSE SUBQUERY %d", pSel->selId)); + sqlite3VdbeAddOp2(v, OP_Gosub, pExpr->y.sub.regReturn, + pExpr->y.sub.iAddr); + return pExpr->iTable; + } + + /* Begin coding the subroutine */ + ExprSetProperty(pExpr, EP_Subrtn); + pExpr->y.sub.regReturn = ++pParse->nMem; + pExpr->y.sub.iAddr = + sqlite3VdbeAddOp2(v, OP_Integer, 0, pExpr->y.sub.regReturn) + 1; + VdbeComment((v, "return address")); + + addrOnce = sqlite3VdbeAddOp0(v, OP_Once); VdbeCoverage(v); + } + + /* For a SELECT, generate code to put the values for all columns of + ** the first row into an array of registers and return the index of + ** the first register. + ** + ** If this is an EXISTS, write an integer 0 (not exists) or 1 (exists) + ** into a register and return that register number. + ** + ** In both cases, the query is augmented with "LIMIT 1". Any + ** preexisting limit is discarded in place of the new LIMIT 1. + */ + ExplainQueryPlan((pParse, 1, "%sSCALAR SUBQUERY %d", + addrOnce?"":"CORRELATED ", pSel->selId)); + nReg = pExpr->op==TK_SELECT ? pSel->pEList->nExpr : 1; + sqlite3SelectDestInit(&dest, 0, pParse->nMem+1); + pParse->nMem += nReg; + if( pExpr->op==TK_SELECT ){ + dest.eDest = SRT_Mem; + dest.iSdst = dest.iSDParm; + dest.nSdst = nReg; + sqlite3VdbeAddOp3(v, OP_Null, 0, dest.iSDParm, dest.iSDParm+nReg-1); + VdbeComment((v, "Init subquery result")); + }else{ + dest.eDest = SRT_Exists; + sqlite3VdbeAddOp2(v, OP_Integer, 0, dest.iSDParm); + VdbeComment((v, "Init EXISTS result")); + } + if( pSel->pLimit ){ + /* The subquery already has a limit. If the pre-existing limit is X + ** then make the new limit X<>0 so that the new limit is either 1 or 0 */ + sqlite3 *db = pParse->db; + pLimit = sqlite3Expr(db, TK_INTEGER, "0"); + if( pLimit ){ + pLimit->affExpr = SQLITE_AFF_NUMERIC; + pLimit = sqlite3PExpr(pParse, TK_NE, + sqlite3ExprDup(db, pSel->pLimit->pLeft, 0), pLimit); + } + sqlite3ExprDelete(db, pSel->pLimit->pLeft); + pSel->pLimit->pLeft = pLimit; + }else{ + /* If there is no pre-existing limit add a limit of 1 */ + pLimit = sqlite3Expr(pParse->db, TK_INTEGER, "1"); + pSel->pLimit = sqlite3PExpr(pParse, TK_LIMIT, pLimit, 0); + } + pSel->iLimit = 0; + if( sqlite3Select(pParse, pSel, &dest) ){ + return 0; + } + pExpr->iTable = rReg = dest.iSDParm; + ExprSetVVAProperty(pExpr, EP_NoReduce); + if( addrOnce ){ + sqlite3VdbeJumpHere(v, addrOnce); + + /* Subroutine return */ + sqlite3VdbeAddOp1(v, OP_Return, pExpr->y.sub.regReturn); + sqlite3VdbeChangeP1(v, pExpr->y.sub.iAddr-1, sqlite3VdbeCurrentAddr(v)-1); + sqlite3ClearTempRegCache(pParse); + } + + return rReg; +} +#endif /* SQLITE_OMIT_SUBQUERY */ + +#ifndef SQLITE_OMIT_SUBQUERY +/* +** Expr pIn is an IN(...) expression. This function checks that the +** sub-select on the RHS of the IN() operator has the same number of +** columns as the vector on the LHS. Or, if the RHS of the IN() is not +** a sub-query, that the LHS is a vector of size 1. +*/ +SQLITE_PRIVATE int sqlite3ExprCheckIN(Parse *pParse, Expr *pIn){ + int nVector = sqlite3ExprVectorSize(pIn->pLeft); + if( (pIn->flags & EP_xIsSelect) ){ + if( nVector!=pIn->x.pSelect->pEList->nExpr ){ + sqlite3SubselectError(pParse, pIn->x.pSelect->pEList->nExpr, nVector); + return 1; + } + }else if( nVector!=1 ){ + sqlite3VectorErrorMsg(pParse, pIn->pLeft); + return 1; + } + return 0; +} +#endif + +#ifndef SQLITE_OMIT_SUBQUERY +/* +** Generate code for an IN expression. +** +** x IN (SELECT ...) +** x IN (value, value, ...) +** +** The left-hand side (LHS) is a scalar or vector expression. The +** right-hand side (RHS) is an array of zero or more scalar values, or a +** subquery. If the RHS is a subquery, the number of result columns must +** match the number of columns in the vector on the LHS. If the RHS is +** a list of values, the LHS must be a scalar. +** +** The IN operator is true if the LHS value is contained within the RHS. +** The result is false if the LHS is definitely not in the RHS. The +** result is NULL if the presence of the LHS in the RHS cannot be +** determined due to NULLs. +** +** This routine generates code that jumps to destIfFalse if the LHS is not +** contained within the RHS. If due to NULLs we cannot determine if the LHS +** is contained in the RHS then jump to destIfNull. If the LHS is contained +** within the RHS then fall through. +** +** See the separate in-operator.md documentation file in the canonical +** SQLite source tree for additional information. +*/ +static void sqlite3ExprCodeIN( + Parse *pParse, /* Parsing and code generating context */ + Expr *pExpr, /* The IN expression */ + int destIfFalse, /* Jump here if LHS is not contained in the RHS */ + int destIfNull /* Jump here if the results are unknown due to NULLs */ +){ + int rRhsHasNull = 0; /* Register that is true if RHS contains NULL values */ + int eType; /* Type of the RHS */ + int rLhs; /* Register(s) holding the LHS values */ + int rLhsOrig; /* LHS values prior to reordering by aiMap[] */ + Vdbe *v; /* Statement under construction */ + int *aiMap = 0; /* Map from vector field to index column */ + char *zAff = 0; /* Affinity string for comparisons */ + int nVector; /* Size of vectors for this IN operator */ + int iDummy; /* Dummy parameter to exprCodeVector() */ + Expr *pLeft; /* The LHS of the IN operator */ + int i; /* loop counter */ + int destStep2; /* Where to jump when NULLs seen in step 2 */ + int destStep6 = 0; /* Start of code for Step 6 */ + int addrTruthOp; /* Address of opcode that determines the IN is true */ + int destNotNull; /* Jump here if a comparison is not true in step 6 */ + int addrTop; /* Top of the step-6 loop */ + int iTab = 0; /* Index to use */ + + pLeft = pExpr->pLeft; + if( sqlite3ExprCheckIN(pParse, pExpr) ) return; + zAff = exprINAffinity(pParse, pExpr); + nVector = sqlite3ExprVectorSize(pExpr->pLeft); + aiMap = (int*)sqlite3DbMallocZero( + pParse->db, nVector*(sizeof(int) + sizeof(char)) + 1 + ); + if( pParse->db->mallocFailed ) goto sqlite3ExprCodeIN_oom_error; + + /* Attempt to compute the RHS. After this step, if anything other than + ** IN_INDEX_NOOP is returned, the table opened with cursor iTab + ** contains the values that make up the RHS. If IN_INDEX_NOOP is returned, + ** the RHS has not yet been coded. */ + v = pParse->pVdbe; + assert( v!=0 ); /* OOM detected prior to this routine */ + VdbeNoopComment((v, "begin IN expr")); + eType = sqlite3FindInIndex(pParse, pExpr, + IN_INDEX_MEMBERSHIP | IN_INDEX_NOOP_OK, + destIfFalse==destIfNull ? 0 : &rRhsHasNull, + aiMap, &iTab); + + assert( pParse->nErr || nVector==1 || eType==IN_INDEX_EPH + || eType==IN_INDEX_INDEX_ASC || eType==IN_INDEX_INDEX_DESC + ); +#ifdef SQLITE_DEBUG + /* Confirm that aiMap[] contains nVector integer values between 0 and + ** nVector-1. */ + for(i=0; i from " IN (...)". If the LHS is a + ** vector, then it is stored in an array of nVector registers starting + ** at r1. + ** + ** sqlite3FindInIndex() might have reordered the fields of the LHS vector + ** so that the fields are in the same order as an existing index. The + ** aiMap[] array contains a mapping from the original LHS field order to + ** the field order that matches the RHS index. + */ + rLhsOrig = exprCodeVector(pParse, pLeft, &iDummy); + for(i=0; ix.pList; + CollSeq *pColl = sqlite3ExprCollSeq(pParse, pExpr->pLeft); + int labelOk = sqlite3VdbeMakeLabel(pParse); + int r2, regToFree; + int regCkNull = 0; + int ii; + int bLhsReal; /* True if the LHS of the IN has REAL affinity */ + assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); + if( destIfNull!=destIfFalse ){ + regCkNull = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp3(v, OP_BitAnd, rLhs, rLhs, regCkNull); + } + bLhsReal = sqlite3ExprAffinity(pExpr->pLeft)==SQLITE_AFF_REAL; + for(ii=0; iinExpr; ii++){ + if( bLhsReal ){ + r2 = regToFree = sqlite3GetTempReg(pParse); + sqlite3ExprCode(pParse, pList->a[ii].pExpr, r2); + sqlite3VdbeAddOp4(v, OP_Affinity, r2, 1, 0, "E", P4_STATIC); + }else{ + r2 = sqlite3ExprCodeTemp(pParse, pList->a[ii].pExpr, ®ToFree); + } + if( regCkNull && sqlite3ExprCanBeNull(pList->a[ii].pExpr) ){ + sqlite3VdbeAddOp3(v, OP_BitAnd, regCkNull, r2, regCkNull); + } + if( iinExpr-1 || destIfNull!=destIfFalse ){ + sqlite3VdbeAddOp4(v, OP_Eq, rLhs, labelOk, r2, + (void*)pColl, P4_COLLSEQ); + VdbeCoverageIf(v, iinExpr-1); + VdbeCoverageIf(v, ii==pList->nExpr-1); + sqlite3VdbeChangeP5(v, zAff[0]); + }else{ + assert( destIfNull==destIfFalse ); + sqlite3VdbeAddOp4(v, OP_Ne, rLhs, destIfFalse, r2, + (void*)pColl, P4_COLLSEQ); VdbeCoverage(v); + sqlite3VdbeChangeP5(v, zAff[0] | SQLITE_JUMPIFNULL); + } + sqlite3ReleaseTempReg(pParse, regToFree); + } + if( regCkNull ){ + sqlite3VdbeAddOp2(v, OP_IsNull, regCkNull, destIfNull); VdbeCoverage(v); + sqlite3VdbeGoto(v, destIfFalse); + } + sqlite3VdbeResolveLabel(v, labelOk); + sqlite3ReleaseTempReg(pParse, regCkNull); + goto sqlite3ExprCodeIN_finished; + } + + /* Step 2: Check to see if the LHS contains any NULL columns. If the + ** LHS does contain NULLs then the result must be either FALSE or NULL. + ** We will then skip the binary search of the RHS. + */ + if( destIfNull==destIfFalse ){ + destStep2 = destIfFalse; + }else{ + destStep2 = destStep6 = sqlite3VdbeMakeLabel(pParse); + } + for(i=0; ipLeft, i); + if( sqlite3ExprCanBeNull(p) ){ + sqlite3VdbeAddOp2(v, OP_IsNull, rLhs+i, destStep2); + VdbeCoverage(v); + } + } + + /* Step 3. The LHS is now known to be non-NULL. Do the binary search + ** of the RHS using the LHS as a probe. If found, the result is + ** true. + */ + if( eType==IN_INDEX_ROWID ){ + /* In this case, the RHS is the ROWID of table b-tree and so we also + ** know that the RHS is non-NULL. Hence, we combine steps 3 and 4 + ** into a single opcode. */ + sqlite3VdbeAddOp3(v, OP_SeekRowid, iTab, destIfFalse, rLhs); + VdbeCoverage(v); + addrTruthOp = sqlite3VdbeAddOp0(v, OP_Goto); /* Return True */ + }else{ + sqlite3VdbeAddOp4(v, OP_Affinity, rLhs, nVector, 0, zAff, nVector); + if( destIfFalse==destIfNull ){ + /* Combine Step 3 and Step 5 into a single opcode */ + sqlite3VdbeAddOp4Int(v, OP_NotFound, iTab, destIfFalse, + rLhs, nVector); VdbeCoverage(v); + goto sqlite3ExprCodeIN_finished; + } + /* Ordinary Step 3, for the case where FALSE and NULL are distinct */ + addrTruthOp = sqlite3VdbeAddOp4Int(v, OP_Found, iTab, 0, + rLhs, nVector); VdbeCoverage(v); + } + + /* Step 4. If the RHS is known to be non-NULL and we did not find + ** an match on the search above, then the result must be FALSE. + */ + if( rRhsHasNull && nVector==1 ){ + sqlite3VdbeAddOp2(v, OP_NotNull, rRhsHasNull, destIfFalse); + VdbeCoverage(v); + } + + /* Step 5. If we do not care about the difference between NULL and + ** FALSE, then just return false. + */ + if( destIfFalse==destIfNull ) sqlite3VdbeGoto(v, destIfFalse); + + /* Step 6: Loop through rows of the RHS. Compare each row to the LHS. + ** If any comparison is NULL, then the result is NULL. If all + ** comparisons are FALSE then the final result is FALSE. + ** + ** For a scalar LHS, it is sufficient to check just the first row + ** of the RHS. + */ + if( destStep6 ) sqlite3VdbeResolveLabel(v, destStep6); + addrTop = sqlite3VdbeAddOp2(v, OP_Rewind, iTab, destIfFalse); + VdbeCoverage(v); + if( nVector>1 ){ + destNotNull = sqlite3VdbeMakeLabel(pParse); + }else{ + /* For nVector==1, combine steps 6 and 7 by immediately returning + ** FALSE if the first comparison is not NULL */ + destNotNull = destIfFalse; + } + for(i=0; i1 ){ + sqlite3VdbeResolveLabel(v, destNotNull); + sqlite3VdbeAddOp2(v, OP_Next, iTab, addrTop+1); + VdbeCoverage(v); + + /* Step 7: If we reach this point, we know that the result must + ** be false. */ + sqlite3VdbeAddOp2(v, OP_Goto, 0, destIfFalse); + } + + /* Jumps here in order to return true. */ + sqlite3VdbeJumpHere(v, addrTruthOp); + +sqlite3ExprCodeIN_finished: + if( rLhs!=rLhsOrig ) sqlite3ReleaseTempReg(pParse, rLhs); + VdbeComment((v, "end IN expr")); +sqlite3ExprCodeIN_oom_error: + sqlite3DbFree(pParse->db, aiMap); + sqlite3DbFree(pParse->db, zAff); +} +#endif /* SQLITE_OMIT_SUBQUERY */ + +#ifndef SQLITE_OMIT_FLOATING_POINT +/* +** Generate an instruction that will put the floating point +** value described by z[0..n-1] into register iMem. +** +** The z[] string will probably not be zero-terminated. But the +** z[n] character is guaranteed to be something that does not look +** like the continuation of the number. +*/ +static void codeReal(Vdbe *v, const char *z, int negateFlag, int iMem){ + if( ALWAYS(z!=0) ){ + double value; + sqlite3AtoF(z, &value, sqlite3Strlen30(z), SQLITE_UTF8); + assert( !sqlite3IsNaN(value) ); /* The new AtoF never returns NaN */ + if( negateFlag ) value = -value; + sqlite3VdbeAddOp4Dup8(v, OP_Real, 0, iMem, 0, (u8*)&value, P4_REAL); + } +} +#endif + + +/* +** Generate an instruction that will put the integer describe by +** text z[0..n-1] into register iMem. +** +** Expr.u.zToken is always UTF8 and zero-terminated. +*/ +static void codeInteger(Parse *pParse, Expr *pExpr, int negFlag, int iMem){ + Vdbe *v = pParse->pVdbe; + if( pExpr->flags & EP_IntValue ){ + int i = pExpr->u.iValue; + assert( i>=0 ); + if( negFlag ) i = -i; + sqlite3VdbeAddOp2(v, OP_Integer, i, iMem); + }else{ + int c; + i64 value; + const char *z = pExpr->u.zToken; + assert( z!=0 ); + c = sqlite3DecOrHexToI64(z, &value); + if( (c==3 && !negFlag) || (c==2) || (negFlag && value==SMALLEST_INT64)){ +#ifdef SQLITE_OMIT_FLOATING_POINT + sqlite3ErrorMsg(pParse, "oversized integer: %s%s", negFlag ? "-" : "", z); +#else +#ifndef SQLITE_OMIT_HEX_INTEGER + if( sqlite3_strnicmp(z,"0x",2)==0 ){ + sqlite3ErrorMsg(pParse, "hex literal too big: %s%s", negFlag?"-":"",z); + }else +#endif + { + codeReal(v, z, negFlag, iMem); + } +#endif + }else{ + if( negFlag ){ value = c==3 ? SMALLEST_INT64 : -value; } + sqlite3VdbeAddOp4Dup8(v, OP_Int64, 0, iMem, 0, (u8*)&value, P4_INT64); + } + } +} + + +/* Generate code that will load into register regOut a value that is +** appropriate for the iIdxCol-th column of index pIdx. +*/ +SQLITE_PRIVATE void sqlite3ExprCodeLoadIndexColumn( + Parse *pParse, /* The parsing context */ + Index *pIdx, /* The index whose column is to be loaded */ + int iTabCur, /* Cursor pointing to a table row */ + int iIdxCol, /* The column of the index to be loaded */ + int regOut /* Store the index column value in this register */ +){ + i16 iTabCol = pIdx->aiColumn[iIdxCol]; + if( iTabCol==XN_EXPR ){ + assert( pIdx->aColExpr ); + assert( pIdx->aColExpr->nExpr>iIdxCol ); + pParse->iSelfTab = iTabCur + 1; + sqlite3ExprCodeCopy(pParse, pIdx->aColExpr->a[iIdxCol].pExpr, regOut); + pParse->iSelfTab = 0; + }else{ + sqlite3ExprCodeGetColumnOfTable(pParse->pVdbe, pIdx->pTable, iTabCur, + iTabCol, regOut); + } +} + +/* +** Generate code to extract the value of the iCol-th column of a table. +*/ +SQLITE_PRIVATE void sqlite3ExprCodeGetColumnOfTable( + Vdbe *v, /* The VDBE under construction */ + Table *pTab, /* The table containing the value */ + int iTabCur, /* The table cursor. Or the PK cursor for WITHOUT ROWID */ + int iCol, /* Index of the column to extract */ + int regOut /* Extract the value into this register */ +){ + if( pTab==0 ){ + sqlite3VdbeAddOp3(v, OP_Column, iTabCur, iCol, regOut); + return; + } + if( iCol<0 || iCol==pTab->iPKey ){ + sqlite3VdbeAddOp2(v, OP_Rowid, iTabCur, regOut); + }else{ + int op = IsVirtual(pTab) ? OP_VColumn : OP_Column; + int x = iCol; + if( !HasRowid(pTab) && !IsVirtual(pTab) ){ + x = sqlite3ColumnOfIndex(sqlite3PrimaryKeyIndex(pTab), iCol); + } + sqlite3VdbeAddOp3(v, op, iTabCur, x, regOut); + } + if( iCol>=0 ){ + sqlite3ColumnDefault(v, pTab, iCol, regOut); + } +} + +/* +** Generate code that will extract the iColumn-th column from +** table pTab and store the column value in register iReg. +** +** There must be an open cursor to pTab in iTable when this routine +** is called. If iColumn<0 then code is generated that extracts the rowid. +*/ +SQLITE_PRIVATE int sqlite3ExprCodeGetColumn( + Parse *pParse, /* Parsing and code generating context */ + Table *pTab, /* Description of the table we are reading from */ + int iColumn, /* Index of the table column */ + int iTable, /* The cursor pointing to the table */ + int iReg, /* Store results here */ + u8 p5 /* P5 value for OP_Column + FLAGS */ +){ + Vdbe *v = pParse->pVdbe; + assert( v!=0 ); + sqlite3ExprCodeGetColumnOfTable(v, pTab, iTable, iColumn, iReg); + if( p5 ){ + sqlite3VdbeChangeP5(v, p5); + } + return iReg; +} + +/* +** Generate code to move content from registers iFrom...iFrom+nReg-1 +** over to iTo..iTo+nReg-1. +*/ +SQLITE_PRIVATE void sqlite3ExprCodeMove(Parse *pParse, int iFrom, int iTo, int nReg){ + assert( iFrom>=iTo+nReg || iFrom+nReg<=iTo ); + sqlite3VdbeAddOp3(pParse->pVdbe, OP_Move, iFrom, iTo, nReg); +} + +/* +** Convert a scalar expression node to a TK_REGISTER referencing +** register iReg. The caller must ensure that iReg already contains +** the correct value for the expression. +*/ +static void exprToRegister(Expr *pExpr, int iReg){ + Expr *p = sqlite3ExprSkipCollateAndLikely(pExpr); + p->op2 = p->op; + p->op = TK_REGISTER; + p->iTable = iReg; + ExprClearProperty(p, EP_Skip); +} + +/* +** Evaluate an expression (either a vector or a scalar expression) and store +** the result in continguous temporary registers. Return the index of +** the first register used to store the result. +** +** If the returned result register is a temporary scalar, then also write +** that register number into *piFreeable. If the returned result register +** is not a temporary or if the expression is a vector set *piFreeable +** to 0. +*/ +static int exprCodeVector(Parse *pParse, Expr *p, int *piFreeable){ + int iResult; + int nResult = sqlite3ExprVectorSize(p); + if( nResult==1 ){ + iResult = sqlite3ExprCodeTemp(pParse, p, piFreeable); + }else{ + *piFreeable = 0; + if( p->op==TK_SELECT ){ +#if SQLITE_OMIT_SUBQUERY + iResult = 0; +#else + iResult = sqlite3CodeSubselect(pParse, p); +#endif + }else{ + int i; + iResult = pParse->nMem+1; + pParse->nMem += nResult; + for(i=0; ix.pList->a[i].pExpr, i+iResult); + } + } + } + return iResult; +} + + +/* +** Generate code into the current Vdbe to evaluate the given +** expression. Attempt to store the results in register "target". +** Return the register where results are stored. +** +** With this routine, there is no guarantee that results will +** be stored in target. The result might be stored in some other +** register if it is convenient to do so. The calling function +** must check the return code and move the results to the desired +** register. +*/ +SQLITE_PRIVATE int sqlite3ExprCodeTarget(Parse *pParse, Expr *pExpr, int target){ + Vdbe *v = pParse->pVdbe; /* The VM under construction */ + int op; /* The opcode being coded */ + int inReg = target; /* Results stored in register inReg */ + int regFree1 = 0; /* If non-zero free this temporary register */ + int regFree2 = 0; /* If non-zero free this temporary register */ + int r1, r2; /* Various register numbers */ + Expr tempX; /* Temporary expression node */ + int p5 = 0; + + assert( target>0 && target<=pParse->nMem ); + if( v==0 ){ + assert( pParse->db->mallocFailed ); + return 0; + } + +expr_code_doover: + if( pExpr==0 ){ + op = TK_NULL; + }else{ + op = pExpr->op; + } + switch( op ){ + case TK_AGG_COLUMN: { + AggInfo *pAggInfo = pExpr->pAggInfo; + struct AggInfo_col *pCol = &pAggInfo->aCol[pExpr->iAgg]; + if( !pAggInfo->directMode ){ + assert( pCol->iMem>0 ); + return pCol->iMem; + }else if( pAggInfo->useSortingIdx ){ + sqlite3VdbeAddOp3(v, OP_Column, pAggInfo->sortingIdxPTab, + pCol->iSorterColumn, target); + return target; + } + /* Otherwise, fall thru into the TK_COLUMN case */ + } + case TK_COLUMN: { + int iTab = pExpr->iTable; + if( ExprHasProperty(pExpr, EP_FixedCol) ){ + /* This COLUMN expression is really a constant due to WHERE clause + ** constraints, and that constant is coded by the pExpr->pLeft + ** expresssion. However, make sure the constant has the correct + ** datatype by applying the Affinity of the table column to the + ** constant. + */ + int iReg = sqlite3ExprCodeTarget(pParse, pExpr->pLeft,target); + int aff = sqlite3TableColumnAffinity(pExpr->y.pTab, pExpr->iColumn); + if( aff>SQLITE_AFF_BLOB ){ + static const char zAff[] = "B\000C\000D\000E"; + assert( SQLITE_AFF_BLOB=='A' ); + assert( SQLITE_AFF_TEXT=='B' ); + if( iReg!=target ){ + sqlite3VdbeAddOp2(v, OP_SCopy, iReg, target); + iReg = target; + } + sqlite3VdbeAddOp4(v, OP_Affinity, iReg, 1, 0, + &zAff[(aff-'B')*2], P4_STATIC); + } + return iReg; + } + if( iTab<0 ){ + if( pParse->iSelfTab<0 ){ + /* Generating CHECK constraints or inserting into partial index */ + assert( pExpr->y.pTab!=0 ); + assert( pExpr->iColumn>=XN_ROWID ); + assert( pExpr->iColumny.pTab->nCol ); + if( pExpr->iColumn>=0 + && pExpr->y.pTab->aCol[pExpr->iColumn].affinity==SQLITE_AFF_REAL + ){ + sqlite3VdbeAddOp2(v, OP_SCopy, pExpr->iColumn - pParse->iSelfTab, + target); + sqlite3VdbeAddOp1(v, OP_RealAffinity, target); + return target; + }else{ + return pExpr->iColumn - pParse->iSelfTab; + } + }else{ + /* Coding an expression that is part of an index where column names + ** in the index refer to the table to which the index belongs */ + iTab = pParse->iSelfTab - 1; + } + } + return sqlite3ExprCodeGetColumn(pParse, pExpr->y.pTab, + pExpr->iColumn, iTab, target, + pExpr->op2); + } + case TK_INTEGER: { + codeInteger(pParse, pExpr, 0, target); + return target; + } + case TK_TRUEFALSE: { + sqlite3VdbeAddOp2(v, OP_Integer, sqlite3ExprTruthValue(pExpr), target); + return target; + } +#ifndef SQLITE_OMIT_FLOATING_POINT + case TK_FLOAT: { + assert( !ExprHasProperty(pExpr, EP_IntValue) ); + codeReal(v, pExpr->u.zToken, 0, target); + return target; + } +#endif + case TK_STRING: { + assert( !ExprHasProperty(pExpr, EP_IntValue) ); + sqlite3VdbeLoadString(v, target, pExpr->u.zToken); + return target; + } + case TK_NULL: { + sqlite3VdbeAddOp2(v, OP_Null, 0, target); + return target; + } +#ifndef SQLITE_OMIT_BLOB_LITERAL + case TK_BLOB: { + int n; + const char *z; + char *zBlob; + assert( !ExprHasProperty(pExpr, EP_IntValue) ); + assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' ); + assert( pExpr->u.zToken[1]=='\'' ); + z = &pExpr->u.zToken[2]; + n = sqlite3Strlen30(z) - 1; + assert( z[n]=='\'' ); + zBlob = sqlite3HexToBlob(sqlite3VdbeDb(v), z, n); + sqlite3VdbeAddOp4(v, OP_Blob, n/2, target, 0, zBlob, P4_DYNAMIC); + return target; + } +#endif + case TK_VARIABLE: { + assert( !ExprHasProperty(pExpr, EP_IntValue) ); + assert( pExpr->u.zToken!=0 ); + assert( pExpr->u.zToken[0]!=0 ); + sqlite3VdbeAddOp2(v, OP_Variable, pExpr->iColumn, target); + if( pExpr->u.zToken[1]!=0 ){ + const char *z = sqlite3VListNumToName(pParse->pVList, pExpr->iColumn); + assert( pExpr->u.zToken[0]=='?' || strcmp(pExpr->u.zToken, z)==0 ); + pParse->pVList[0] = 0; /* Indicate VList may no longer be enlarged */ + sqlite3VdbeAppendP4(v, (char*)z, P4_STATIC); + } + return target; + } + case TK_REGISTER: { + return pExpr->iTable; + } +#ifndef SQLITE_OMIT_CAST + case TK_CAST: { + /* Expressions of the form: CAST(pLeft AS token) */ + inReg = sqlite3ExprCodeTarget(pParse, pExpr->pLeft, target); + if( inReg!=target ){ + sqlite3VdbeAddOp2(v, OP_SCopy, inReg, target); + inReg = target; + } + sqlite3VdbeAddOp2(v, OP_Cast, target, + sqlite3AffinityType(pExpr->u.zToken, 0)); + return inReg; + } +#endif /* SQLITE_OMIT_CAST */ + case TK_IS: + case TK_ISNOT: + op = (op==TK_IS) ? TK_EQ : TK_NE; + p5 = SQLITE_NULLEQ; + /* fall-through */ + case TK_LT: + case TK_LE: + case TK_GT: + case TK_GE: + case TK_NE: + case TK_EQ: { + Expr *pLeft = pExpr->pLeft; + if( sqlite3ExprIsVector(pLeft) ){ + codeVectorCompare(pParse, pExpr, target, op, p5); + }else{ + r1 = sqlite3ExprCodeTemp(pParse, pLeft, ®Free1); + r2 = sqlite3ExprCodeTemp(pParse, pExpr->pRight, ®Free2); + codeCompare(pParse, pLeft, pExpr->pRight, op, + r1, r2, inReg, SQLITE_STOREP2 | p5); + assert(TK_LT==OP_Lt); testcase(op==OP_Lt); VdbeCoverageIf(v,op==OP_Lt); + assert(TK_LE==OP_Le); testcase(op==OP_Le); VdbeCoverageIf(v,op==OP_Le); + assert(TK_GT==OP_Gt); testcase(op==OP_Gt); VdbeCoverageIf(v,op==OP_Gt); + assert(TK_GE==OP_Ge); testcase(op==OP_Ge); VdbeCoverageIf(v,op==OP_Ge); + assert(TK_EQ==OP_Eq); testcase(op==OP_Eq); VdbeCoverageIf(v,op==OP_Eq); + assert(TK_NE==OP_Ne); testcase(op==OP_Ne); VdbeCoverageIf(v,op==OP_Ne); + testcase( regFree1==0 ); + testcase( regFree2==0 ); + } + break; + } + case TK_AND: + case TK_OR: + case TK_PLUS: + case TK_STAR: + case TK_MINUS: + case TK_REM: + case TK_BITAND: + case TK_BITOR: + case TK_SLASH: + case TK_LSHIFT: + case TK_RSHIFT: + case TK_CONCAT: { + assert( TK_AND==OP_And ); testcase( op==TK_AND ); + assert( TK_OR==OP_Or ); testcase( op==TK_OR ); + assert( TK_PLUS==OP_Add ); testcase( op==TK_PLUS ); + assert( TK_MINUS==OP_Subtract ); testcase( op==TK_MINUS ); + assert( TK_REM==OP_Remainder ); testcase( op==TK_REM ); + assert( TK_BITAND==OP_BitAnd ); testcase( op==TK_BITAND ); + assert( TK_BITOR==OP_BitOr ); testcase( op==TK_BITOR ); + assert( TK_SLASH==OP_Divide ); testcase( op==TK_SLASH ); + assert( TK_LSHIFT==OP_ShiftLeft ); testcase( op==TK_LSHIFT ); + assert( TK_RSHIFT==OP_ShiftRight ); testcase( op==TK_RSHIFT ); + assert( TK_CONCAT==OP_Concat ); testcase( op==TK_CONCAT ); + r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, ®Free1); + r2 = sqlite3ExprCodeTemp(pParse, pExpr->pRight, ®Free2); + sqlite3VdbeAddOp3(v, op, r2, r1, target); + testcase( regFree1==0 ); + testcase( regFree2==0 ); + break; + } + case TK_UMINUS: { + Expr *pLeft = pExpr->pLeft; + assert( pLeft ); + if( pLeft->op==TK_INTEGER ){ + codeInteger(pParse, pLeft, 1, target); + return target; +#ifndef SQLITE_OMIT_FLOATING_POINT + }else if( pLeft->op==TK_FLOAT ){ + assert( !ExprHasProperty(pExpr, EP_IntValue) ); + codeReal(v, pLeft->u.zToken, 1, target); + return target; +#endif + }else{ + tempX.op = TK_INTEGER; + tempX.flags = EP_IntValue|EP_TokenOnly; + tempX.u.iValue = 0; + r1 = sqlite3ExprCodeTemp(pParse, &tempX, ®Free1); + r2 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, ®Free2); + sqlite3VdbeAddOp3(v, OP_Subtract, r2, r1, target); + testcase( regFree2==0 ); + } + break; + } + case TK_BITNOT: + case TK_NOT: { + assert( TK_BITNOT==OP_BitNot ); testcase( op==TK_BITNOT ); + assert( TK_NOT==OP_Not ); testcase( op==TK_NOT ); + r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, ®Free1); + testcase( regFree1==0 ); + sqlite3VdbeAddOp2(v, op, r1, inReg); + break; + } + case TK_TRUTH: { + int isTrue; /* IS TRUE or IS NOT TRUE */ + int bNormal; /* IS TRUE or IS FALSE */ + r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, ®Free1); + testcase( regFree1==0 ); + isTrue = sqlite3ExprTruthValue(pExpr->pRight); + bNormal = pExpr->op2==TK_IS; + testcase( isTrue && bNormal); + testcase( !isTrue && bNormal); + sqlite3VdbeAddOp4Int(v, OP_IsTrue, r1, inReg, !isTrue, isTrue ^ bNormal); + break; + } + case TK_ISNULL: + case TK_NOTNULL: { + int addr; + assert( TK_ISNULL==OP_IsNull ); testcase( op==TK_ISNULL ); + assert( TK_NOTNULL==OP_NotNull ); testcase( op==TK_NOTNULL ); + sqlite3VdbeAddOp2(v, OP_Integer, 1, target); + r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, ®Free1); + testcase( regFree1==0 ); + addr = sqlite3VdbeAddOp1(v, op, r1); + VdbeCoverageIf(v, op==TK_ISNULL); + VdbeCoverageIf(v, op==TK_NOTNULL); + sqlite3VdbeAddOp2(v, OP_Integer, 0, target); + sqlite3VdbeJumpHere(v, addr); + break; + } + case TK_AGG_FUNCTION: { + AggInfo *pInfo = pExpr->pAggInfo; + if( pInfo==0 ){ + assert( !ExprHasProperty(pExpr, EP_IntValue) ); + sqlite3ErrorMsg(pParse, "misuse of aggregate: %s()", pExpr->u.zToken); + }else{ + return pInfo->aFunc[pExpr->iAgg].iMem; + } + break; + } + case TK_FUNCTION: { + ExprList *pFarg; /* List of function arguments */ + int nFarg; /* Number of function arguments */ + FuncDef *pDef; /* The function definition object */ + const char *zId; /* The function name */ + u32 constMask = 0; /* Mask of function arguments that are constant */ + int i; /* Loop counter */ + sqlite3 *db = pParse->db; /* The database connection */ + u8 enc = ENC(db); /* The text encoding used by this database */ + CollSeq *pColl = 0; /* A collating sequence */ + +#ifndef SQLITE_OMIT_WINDOWFUNC + if( ExprHasProperty(pExpr, EP_WinFunc) ){ + return pExpr->y.pWin->regResult; + } +#endif + + if( ConstFactorOk(pParse) && sqlite3ExprIsConstantNotJoin(pExpr) ){ + /* SQL functions can be expensive. So try to move constant functions + ** out of the inner loop, even if that means an extra OP_Copy. */ + return sqlite3ExprCodeAtInit(pParse, pExpr, -1); + } + assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); + if( ExprHasProperty(pExpr, EP_TokenOnly) ){ + pFarg = 0; + }else{ + pFarg = pExpr->x.pList; + } + nFarg = pFarg ? pFarg->nExpr : 0; + assert( !ExprHasProperty(pExpr, EP_IntValue) ); + zId = pExpr->u.zToken; + pDef = sqlite3FindFunction(db, zId, nFarg, enc, 0); +#ifdef SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION + if( pDef==0 && pParse->explain ){ + pDef = sqlite3FindFunction(db, "unknown", nFarg, enc, 0); + } +#endif + if( pDef==0 || pDef->xFinalize!=0 ){ + sqlite3ErrorMsg(pParse, "unknown function: %s()", zId); + break; + } + + /* Attempt a direct implementation of the built-in COALESCE() and + ** IFNULL() functions. This avoids unnecessary evaluation of + ** arguments past the first non-NULL argument. + */ + if( pDef->funcFlags & SQLITE_FUNC_COALESCE ){ + int endCoalesce = sqlite3VdbeMakeLabel(pParse); + assert( nFarg>=2 ); + sqlite3ExprCode(pParse, pFarg->a[0].pExpr, target); + for(i=1; ia[i].pExpr, target); + } + sqlite3VdbeResolveLabel(v, endCoalesce); + break; + } + + /* The UNLIKELY() function is a no-op. The result is the value + ** of the first argument. + */ + if( pDef->funcFlags & SQLITE_FUNC_UNLIKELY ){ + assert( nFarg>=1 ); + return sqlite3ExprCodeTarget(pParse, pFarg->a[0].pExpr, target); + } + +#ifdef SQLITE_DEBUG + /* The AFFINITY() function evaluates to a string that describes + ** the type affinity of the argument. This is used for testing of + ** the SQLite type logic. + */ + if( pDef->funcFlags & SQLITE_FUNC_AFFINITY ){ + const char *azAff[] = { "blob", "text", "numeric", "integer", "real" }; + char aff; + assert( nFarg==1 ); + aff = sqlite3ExprAffinity(pFarg->a[0].pExpr); + sqlite3VdbeLoadString(v, target, + (aff<=SQLITE_AFF_NONE) ? "none" : azAff[aff-SQLITE_AFF_BLOB]); + return target; + } +#endif + + for(i=0; ia[i].pExpr) ){ + testcase( i==31 ); + constMask |= MASKBIT32(i); + } + if( (pDef->funcFlags & SQLITE_FUNC_NEEDCOLL)!=0 && !pColl ){ + pColl = sqlite3ExprCollSeq(pParse, pFarg->a[i].pExpr); + } + } + if( pFarg ){ + if( constMask ){ + r1 = pParse->nMem+1; + pParse->nMem += nFarg; + }else{ + r1 = sqlite3GetTempRange(pParse, nFarg); + } + + /* For length() and typeof() functions with a column argument, + ** set the P5 parameter to the OP_Column opcode to OPFLAG_LENGTHARG + ** or OPFLAG_TYPEOFARG respectively, to avoid unnecessary data + ** loading. + */ + if( (pDef->funcFlags & (SQLITE_FUNC_LENGTH|SQLITE_FUNC_TYPEOF))!=0 ){ + u8 exprOp; + assert( nFarg==1 ); + assert( pFarg->a[0].pExpr!=0 ); + exprOp = pFarg->a[0].pExpr->op; + if( exprOp==TK_COLUMN || exprOp==TK_AGG_COLUMN ){ + assert( SQLITE_FUNC_LENGTH==OPFLAG_LENGTHARG ); + assert( SQLITE_FUNC_TYPEOF==OPFLAG_TYPEOFARG ); + testcase( pDef->funcFlags & OPFLAG_LENGTHARG ); + pFarg->a[0].pExpr->op2 = + pDef->funcFlags & (OPFLAG_LENGTHARG|OPFLAG_TYPEOFARG); + } + } + + sqlite3ExprCodeExprList(pParse, pFarg, r1, 0, + SQLITE_ECEL_DUP|SQLITE_ECEL_FACTOR); + }else{ + r1 = 0; + } +#ifndef SQLITE_OMIT_VIRTUALTABLE + /* Possibly overload the function if the first argument is + ** a virtual table column. + ** + ** For infix functions (LIKE, GLOB, REGEXP, and MATCH) use the + ** second argument, not the first, as the argument to test to + ** see if it is a column in a virtual table. This is done because + ** the left operand of infix functions (the operand we want to + ** control overloading) ends up as the second argument to the + ** function. The expression "A glob B" is equivalent to + ** "glob(B,A). We want to use the A in "A glob B" to test + ** for function overloading. But we use the B term in "glob(B,A)". + */ + if( nFarg>=2 && ExprHasProperty(pExpr, EP_InfixFunc) ){ + pDef = sqlite3VtabOverloadFunction(db, pDef, nFarg, pFarg->a[1].pExpr); + }else if( nFarg>0 ){ + pDef = sqlite3VtabOverloadFunction(db, pDef, nFarg, pFarg->a[0].pExpr); + } +#endif + if( pDef->funcFlags & SQLITE_FUNC_NEEDCOLL ){ + if( !pColl ) pColl = db->pDfltColl; + sqlite3VdbeAddOp4(v, OP_CollSeq, 0, 0, 0, (char *)pColl, P4_COLLSEQ); + } +#ifdef SQLITE_ENABLE_OFFSET_SQL_FUNC + if( pDef->funcFlags & SQLITE_FUNC_OFFSET ){ + Expr *pArg = pFarg->a[0].pExpr; + if( pArg->op==TK_COLUMN ){ + sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target); + }else{ + sqlite3VdbeAddOp2(v, OP_Null, 0, target); + } + }else +#endif + { + sqlite3VdbeAddOp4(v, pParse->iSelfTab ? OP_PureFunc0 : OP_Function0, + constMask, r1, target, (char*)pDef, P4_FUNCDEF); + sqlite3VdbeChangeP5(v, (u8)nFarg); + } + if( nFarg && constMask==0 ){ + sqlite3ReleaseTempRange(pParse, r1, nFarg); + } + return target; + } +#ifndef SQLITE_OMIT_SUBQUERY + case TK_EXISTS: + case TK_SELECT: { + int nCol; + testcase( op==TK_EXISTS ); + testcase( op==TK_SELECT ); + if( op==TK_SELECT && (nCol = pExpr->x.pSelect->pEList->nExpr)!=1 ){ + sqlite3SubselectError(pParse, nCol, 1); + }else{ + return sqlite3CodeSubselect(pParse, pExpr); + } + break; + } + case TK_SELECT_COLUMN: { + int n; + if( pExpr->pLeft->iTable==0 ){ + pExpr->pLeft->iTable = sqlite3CodeSubselect(pParse, pExpr->pLeft); + } + assert( pExpr->iTable==0 || pExpr->pLeft->op==TK_SELECT ); + if( pExpr->iTable!=0 + && pExpr->iTable!=(n = sqlite3ExprVectorSize(pExpr->pLeft)) + ){ + sqlite3ErrorMsg(pParse, "%d columns assigned %d values", + pExpr->iTable, n); + } + return pExpr->pLeft->iTable + pExpr->iColumn; + } + case TK_IN: { + int destIfFalse = sqlite3VdbeMakeLabel(pParse); + int destIfNull = sqlite3VdbeMakeLabel(pParse); + sqlite3VdbeAddOp2(v, OP_Null, 0, target); + sqlite3ExprCodeIN(pParse, pExpr, destIfFalse, destIfNull); + sqlite3VdbeAddOp2(v, OP_Integer, 1, target); + sqlite3VdbeResolveLabel(v, destIfFalse); + sqlite3VdbeAddOp2(v, OP_AddImm, target, 0); + sqlite3VdbeResolveLabel(v, destIfNull); + return target; + } +#endif /* SQLITE_OMIT_SUBQUERY */ + + + /* + ** x BETWEEN y AND z + ** + ** This is equivalent to + ** + ** x>=y AND x<=z + ** + ** X is stored in pExpr->pLeft. + ** Y is stored in pExpr->pList->a[0].pExpr. + ** Z is stored in pExpr->pList->a[1].pExpr. + */ + case TK_BETWEEN: { + exprCodeBetween(pParse, pExpr, target, 0, 0); + return target; + } + case TK_SPAN: + case TK_COLLATE: + case TK_UPLUS: { + pExpr = pExpr->pLeft; + goto expr_code_doover; /* 2018-04-28: Prevent deep recursion. OSSFuzz. */ + } + + case TK_TRIGGER: { + /* If the opcode is TK_TRIGGER, then the expression is a reference + ** to a column in the new.* or old.* pseudo-tables available to + ** trigger programs. In this case Expr.iTable is set to 1 for the + ** new.* pseudo-table, or 0 for the old.* pseudo-table. Expr.iColumn + ** is set to the column of the pseudo-table to read, or to -1 to + ** read the rowid field. + ** + ** The expression is implemented using an OP_Param opcode. The p1 + ** parameter is set to 0 for an old.rowid reference, or to (i+1) + ** to reference another column of the old.* pseudo-table, where + ** i is the index of the column. For a new.rowid reference, p1 is + ** set to (n+1), where n is the number of columns in each pseudo-table. + ** For a reference to any other column in the new.* pseudo-table, p1 + ** is set to (n+2+i), where n and i are as defined previously. For + ** example, if the table on which triggers are being fired is + ** declared as: + ** + ** CREATE TABLE t1(a, b); + ** + ** Then p1 is interpreted as follows: + ** + ** p1==0 -> old.rowid p1==3 -> new.rowid + ** p1==1 -> old.a p1==4 -> new.a + ** p1==2 -> old.b p1==5 -> new.b + */ + Table *pTab = pExpr->y.pTab; + int p1 = pExpr->iTable * (pTab->nCol+1) + 1 + pExpr->iColumn; + + assert( pExpr->iTable==0 || pExpr->iTable==1 ); + assert( pExpr->iColumn>=-1 && pExpr->iColumnnCol ); + assert( pTab->iPKey<0 || pExpr->iColumn!=pTab->iPKey ); + assert( p1>=0 && p1<(pTab->nCol*2+2) ); + + sqlite3VdbeAddOp2(v, OP_Param, p1, target); + VdbeComment((v, "r[%d]=%s.%s", target, + (pExpr->iTable ? "new" : "old"), + (pExpr->iColumn<0 ? "rowid" : pExpr->y.pTab->aCol[pExpr->iColumn].zName) + )); + +#ifndef SQLITE_OMIT_FLOATING_POINT + /* If the column has REAL affinity, it may currently be stored as an + ** integer. Use OP_RealAffinity to make sure it is really real. + ** + ** EVIDENCE-OF: R-60985-57662 SQLite will convert the value back to + ** floating point when extracting it from the record. */ + if( pExpr->iColumn>=0 + && pTab->aCol[pExpr->iColumn].affinity==SQLITE_AFF_REAL + ){ + sqlite3VdbeAddOp1(v, OP_RealAffinity, target); + } +#endif + break; + } + + case TK_VECTOR: { + sqlite3ErrorMsg(pParse, "row value misused"); + break; + } + + /* TK_IF_NULL_ROW Expr nodes are inserted ahead of expressions + ** that derive from the right-hand table of a LEFT JOIN. The + ** Expr.iTable value is the table number for the right-hand table. + ** The expression is only evaluated if that table is not currently + ** on a LEFT JOIN NULL row. + */ + case TK_IF_NULL_ROW: { + int addrINR; + u8 okConstFactor = pParse->okConstFactor; + addrINR = sqlite3VdbeAddOp1(v, OP_IfNullRow, pExpr->iTable); + /* Temporarily disable factoring of constant expressions, since + ** even though expressions may appear to be constant, they are not + ** really constant because they originate from the right-hand side + ** of a LEFT JOIN. */ + pParse->okConstFactor = 0; + inReg = sqlite3ExprCodeTarget(pParse, pExpr->pLeft, target); + pParse->okConstFactor = okConstFactor; + sqlite3VdbeJumpHere(v, addrINR); + sqlite3VdbeChangeP3(v, addrINR, inReg); + break; + } + + /* + ** Form A: + ** CASE x WHEN e1 THEN r1 WHEN e2 THEN r2 ... WHEN eN THEN rN ELSE y END + ** + ** Form B: + ** CASE WHEN e1 THEN r1 WHEN e2 THEN r2 ... WHEN eN THEN rN ELSE y END + ** + ** Form A is can be transformed into the equivalent form B as follows: + ** CASE WHEN x=e1 THEN r1 WHEN x=e2 THEN r2 ... + ** WHEN x=eN THEN rN ELSE y END + ** + ** X (if it exists) is in pExpr->pLeft. + ** Y is in the last element of pExpr->x.pList if pExpr->x.pList->nExpr is + ** odd. The Y is also optional. If the number of elements in x.pList + ** is even, then Y is omitted and the "otherwise" result is NULL. + ** Ei is in pExpr->pList->a[i*2] and Ri is pExpr->pList->a[i*2+1]. + ** + ** The result of the expression is the Ri for the first matching Ei, + ** or if there is no matching Ei, the ELSE term Y, or if there is + ** no ELSE term, NULL. + */ + default: assert( op==TK_CASE ); { + int endLabel; /* GOTO label for end of CASE stmt */ + int nextCase; /* GOTO label for next WHEN clause */ + int nExpr; /* 2x number of WHEN terms */ + int i; /* Loop counter */ + ExprList *pEList; /* List of WHEN terms */ + struct ExprList_item *aListelem; /* Array of WHEN terms */ + Expr opCompare; /* The X==Ei expression */ + Expr *pX; /* The X expression */ + Expr *pTest = 0; /* X==Ei (form A) or just Ei (form B) */ + Expr *pDel = 0; + sqlite3 *db = pParse->db; + + assert( !ExprHasProperty(pExpr, EP_xIsSelect) && pExpr->x.pList ); + assert(pExpr->x.pList->nExpr > 0); + pEList = pExpr->x.pList; + aListelem = pEList->a; + nExpr = pEList->nExpr; + endLabel = sqlite3VdbeMakeLabel(pParse); + if( (pX = pExpr->pLeft)!=0 ){ + pDel = sqlite3ExprDup(db, pX, 0); + if( db->mallocFailed ){ + sqlite3ExprDelete(db, pDel); + break; + } + testcase( pX->op==TK_COLUMN ); + exprToRegister(pDel, exprCodeVector(pParse, pDel, ®Free1)); + testcase( regFree1==0 ); + memset(&opCompare, 0, sizeof(opCompare)); + opCompare.op = TK_EQ; + opCompare.pLeft = pDel; + pTest = &opCompare; + /* Ticket b351d95f9cd5ef17e9d9dbae18f5ca8611190001: + ** The value in regFree1 might get SCopy-ed into the file result. + ** So make sure that the regFree1 register is not reused for other + ** purposes and possibly overwritten. */ + regFree1 = 0; + } + for(i=0; iop==TK_COLUMN ); + sqlite3ExprIfFalse(pParse, pTest, nextCase, SQLITE_JUMPIFNULL); + testcase( aListelem[i+1].pExpr->op==TK_COLUMN ); + sqlite3ExprCode(pParse, aListelem[i+1].pExpr, target); + sqlite3VdbeGoto(v, endLabel); + sqlite3VdbeResolveLabel(v, nextCase); + } + if( (nExpr&1)!=0 ){ + sqlite3ExprCode(pParse, pEList->a[nExpr-1].pExpr, target); + }else{ + sqlite3VdbeAddOp2(v, OP_Null, 0, target); + } + sqlite3ExprDelete(db, pDel); + sqlite3VdbeResolveLabel(v, endLabel); + break; + } +#ifndef SQLITE_OMIT_TRIGGER + case TK_RAISE: { + assert( pExpr->affExpr==OE_Rollback + || pExpr->affExpr==OE_Abort + || pExpr->affExpr==OE_Fail + || pExpr->affExpr==OE_Ignore + ); + if( !pParse->pTriggerTab ){ + sqlite3ErrorMsg(pParse, + "RAISE() may only be used within a trigger-program"); + return 0; + } + if( pExpr->affExpr==OE_Abort ){ + sqlite3MayAbort(pParse); + } + assert( !ExprHasProperty(pExpr, EP_IntValue) ); + if( pExpr->affExpr==OE_Ignore ){ + sqlite3VdbeAddOp4( + v, OP_Halt, SQLITE_OK, OE_Ignore, 0, pExpr->u.zToken,0); + VdbeCoverage(v); + }else{ + sqlite3HaltConstraint(pParse, SQLITE_CONSTRAINT_TRIGGER, + pExpr->affExpr, pExpr->u.zToken, 0, 0); + } + + break; + } +#endif + } + sqlite3ReleaseTempReg(pParse, regFree1); + sqlite3ReleaseTempReg(pParse, regFree2); + return inReg; +} + +/* +** Factor out the code of the given expression to initialization time. +** +** If regDest>=0 then the result is always stored in that register and the +** result is not reusable. If regDest<0 then this routine is free to +** store the value whereever it wants. The register where the expression +** is stored is returned. When regDest<0, two identical expressions will +** code to the same register. +*/ +SQLITE_PRIVATE int sqlite3ExprCodeAtInit( + Parse *pParse, /* Parsing context */ + Expr *pExpr, /* The expression to code when the VDBE initializes */ + int regDest /* Store the value in this register */ +){ + ExprList *p; + assert( ConstFactorOk(pParse) ); + p = pParse->pConstExpr; + if( regDest<0 && p ){ + struct ExprList_item *pItem; + int i; + for(pItem=p->a, i=p->nExpr; i>0; pItem++, i--){ + if( pItem->reusable && sqlite3ExprCompare(0,pItem->pExpr,pExpr,-1)==0 ){ + return pItem->u.iConstExprReg; + } + } + } + pExpr = sqlite3ExprDup(pParse->db, pExpr, 0); + p = sqlite3ExprListAppend(pParse, p, pExpr); + if( p ){ + struct ExprList_item *pItem = &p->a[p->nExpr-1]; + pItem->reusable = regDest<0; + if( regDest<0 ) regDest = ++pParse->nMem; + pItem->u.iConstExprReg = regDest; + } + pParse->pConstExpr = p; + return regDest; +} + +/* +** Generate code to evaluate an expression and store the results +** into a register. Return the register number where the results +** are stored. +** +** If the register is a temporary register that can be deallocated, +** then write its number into *pReg. If the result register is not +** a temporary, then set *pReg to zero. +** +** If pExpr is a constant, then this routine might generate this +** code to fill the register in the initialization section of the +** VDBE program, in order to factor it out of the evaluation loop. +*/ +SQLITE_PRIVATE int sqlite3ExprCodeTemp(Parse *pParse, Expr *pExpr, int *pReg){ + int r2; + pExpr = sqlite3ExprSkipCollateAndLikely(pExpr); + if( ConstFactorOk(pParse) + && pExpr->op!=TK_REGISTER + && sqlite3ExprIsConstantNotJoin(pExpr) + ){ + *pReg = 0; + r2 = sqlite3ExprCodeAtInit(pParse, pExpr, -1); + }else{ + int r1 = sqlite3GetTempReg(pParse); + r2 = sqlite3ExprCodeTarget(pParse, pExpr, r1); + if( r2==r1 ){ + *pReg = r1; + }else{ + sqlite3ReleaseTempReg(pParse, r1); + *pReg = 0; + } + } + return r2; +} + +/* +** Generate code that will evaluate expression pExpr and store the +** results in register target. The results are guaranteed to appear +** in register target. +*/ +SQLITE_PRIVATE void sqlite3ExprCode(Parse *pParse, Expr *pExpr, int target){ + int inReg; + + assert( target>0 && target<=pParse->nMem ); + if( pExpr && pExpr->op==TK_REGISTER ){ + sqlite3VdbeAddOp2(pParse->pVdbe, OP_Copy, pExpr->iTable, target); + }else{ + inReg = sqlite3ExprCodeTarget(pParse, pExpr, target); + assert( pParse->pVdbe!=0 || pParse->db->mallocFailed ); + if( inReg!=target && pParse->pVdbe ){ + sqlite3VdbeAddOp2(pParse->pVdbe, OP_SCopy, inReg, target); + } + } +} + +/* +** Make a transient copy of expression pExpr and then code it using +** sqlite3ExprCode(). This routine works just like sqlite3ExprCode() +** except that the input expression is guaranteed to be unchanged. +*/ +SQLITE_PRIVATE void sqlite3ExprCodeCopy(Parse *pParse, Expr *pExpr, int target){ + sqlite3 *db = pParse->db; + pExpr = sqlite3ExprDup(db, pExpr, 0); + if( !db->mallocFailed ) sqlite3ExprCode(pParse, pExpr, target); + sqlite3ExprDelete(db, pExpr); +} + +/* +** Generate code that will evaluate expression pExpr and store the +** results in register target. The results are guaranteed to appear +** in register target. If the expression is constant, then this routine +** might choose to code the expression at initialization time. +*/ +SQLITE_PRIVATE void sqlite3ExprCodeFactorable(Parse *pParse, Expr *pExpr, int target){ + if( pParse->okConstFactor && sqlite3ExprIsConstantNotJoin(pExpr) ){ + sqlite3ExprCodeAtInit(pParse, pExpr, target); + }else{ + sqlite3ExprCode(pParse, pExpr, target); + } +} + +/* +** Generate code that evaluates the given expression and puts the result +** in register target. +** +** Also make a copy of the expression results into another "cache" register +** and modify the expression so that the next time it is evaluated, +** the result is a copy of the cache register. +** +** This routine is used for expressions that are used multiple +** times. They are evaluated once and the results of the expression +** are reused. +*/ +SQLITE_PRIVATE void sqlite3ExprCodeAndCache(Parse *pParse, Expr *pExpr, int target){ + Vdbe *v = pParse->pVdbe; + int iMem; + + assert( target>0 ); + assert( pExpr->op!=TK_REGISTER ); + sqlite3ExprCode(pParse, pExpr, target); + iMem = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Copy, target, iMem); + exprToRegister(pExpr, iMem); +} + +/* +** Generate code that pushes the value of every element of the given +** expression list into a sequence of registers beginning at target. +** +** Return the number of elements evaluated. The number returned will +** usually be pList->nExpr but might be reduced if SQLITE_ECEL_OMITREF +** is defined. +** +** The SQLITE_ECEL_DUP flag prevents the arguments from being +** filled using OP_SCopy. OP_Copy must be used instead. +** +** The SQLITE_ECEL_FACTOR argument allows constant arguments to be +** factored out into initialization code. +** +** The SQLITE_ECEL_REF flag means that expressions in the list with +** ExprList.a[].u.x.iOrderByCol>0 have already been evaluated and stored +** in registers at srcReg, and so the value can be copied from there. +** If SQLITE_ECEL_OMITREF is also set, then the values with u.x.iOrderByCol>0 +** are simply omitted rather than being copied from srcReg. +*/ +SQLITE_PRIVATE int sqlite3ExprCodeExprList( + Parse *pParse, /* Parsing context */ + ExprList *pList, /* The expression list to be coded */ + int target, /* Where to write results */ + int srcReg, /* Source registers if SQLITE_ECEL_REF */ + u8 flags /* SQLITE_ECEL_* flags */ +){ + struct ExprList_item *pItem; + int i, j, n; + u8 copyOp = (flags & SQLITE_ECEL_DUP) ? OP_Copy : OP_SCopy; + Vdbe *v = pParse->pVdbe; + assert( pList!=0 ); + assert( target>0 ); + assert( pParse->pVdbe!=0 ); /* Never gets this far otherwise */ + n = pList->nExpr; + if( !ConstFactorOk(pParse) ) flags &= ~SQLITE_ECEL_FACTOR; + for(pItem=pList->a, i=0; ipExpr; +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + if( pItem->bSorterRef ){ + i--; + n--; + }else +#endif + if( (flags & SQLITE_ECEL_REF)!=0 && (j = pItem->u.x.iOrderByCol)>0 ){ + if( flags & SQLITE_ECEL_OMITREF ){ + i--; + n--; + }else{ + sqlite3VdbeAddOp2(v, copyOp, j+srcReg-1, target+i); + } + }else if( (flags & SQLITE_ECEL_FACTOR)!=0 + && sqlite3ExprIsConstantNotJoin(pExpr) + ){ + sqlite3ExprCodeAtInit(pParse, pExpr, target+i); + }else{ + int inReg = sqlite3ExprCodeTarget(pParse, pExpr, target+i); + if( inReg!=target+i ){ + VdbeOp *pOp; + if( copyOp==OP_Copy + && (pOp=sqlite3VdbeGetOp(v, -1))->opcode==OP_Copy + && pOp->p1+pOp->p3+1==inReg + && pOp->p2+pOp->p3+1==target+i + ){ + pOp->p3++; + }else{ + sqlite3VdbeAddOp2(v, copyOp, inReg, target+i); + } + } + } + } + return n; +} + +/* +** Generate code for a BETWEEN operator. +** +** x BETWEEN y AND z +** +** The above is equivalent to +** +** x>=y AND x<=z +** +** Code it as such, taking care to do the common subexpression +** elimination of x. +** +** The xJumpIf parameter determines details: +** +** NULL: Store the boolean result in reg[dest] +** sqlite3ExprIfTrue: Jump to dest if true +** sqlite3ExprIfFalse: Jump to dest if false +** +** The jumpIfNull parameter is ignored if xJumpIf is NULL. +*/ +static void exprCodeBetween( + Parse *pParse, /* Parsing and code generating context */ + Expr *pExpr, /* The BETWEEN expression */ + int dest, /* Jump destination or storage location */ + void (*xJump)(Parse*,Expr*,int,int), /* Action to take */ + int jumpIfNull /* Take the jump if the BETWEEN is NULL */ +){ + Expr exprAnd; /* The AND operator in x>=y AND x<=z */ + Expr compLeft; /* The x>=y term */ + Expr compRight; /* The x<=z term */ + int regFree1 = 0; /* Temporary use register */ + Expr *pDel = 0; + sqlite3 *db = pParse->db; + + memset(&compLeft, 0, sizeof(Expr)); + memset(&compRight, 0, sizeof(Expr)); + memset(&exprAnd, 0, sizeof(Expr)); + + assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); + pDel = sqlite3ExprDup(db, pExpr->pLeft, 0); + if( db->mallocFailed==0 ){ + exprAnd.op = TK_AND; + exprAnd.pLeft = &compLeft; + exprAnd.pRight = &compRight; + compLeft.op = TK_GE; + compLeft.pLeft = pDel; + compLeft.pRight = pExpr->x.pList->a[0].pExpr; + compRight.op = TK_LE; + compRight.pLeft = pDel; + compRight.pRight = pExpr->x.pList->a[1].pExpr; + exprToRegister(pDel, exprCodeVector(pParse, pDel, ®Free1)); + if( xJump ){ + xJump(pParse, &exprAnd, dest, jumpIfNull); + }else{ + /* Mark the expression is being from the ON or USING clause of a join + ** so that the sqlite3ExprCodeTarget() routine will not attempt to move + ** it into the Parse.pConstExpr list. We should use a new bit for this, + ** for clarity, but we are out of bits in the Expr.flags field so we + ** have to reuse the EP_FromJoin bit. Bummer. */ + pDel->flags |= EP_FromJoin; + sqlite3ExprCodeTarget(pParse, &exprAnd, dest); + } + sqlite3ReleaseTempReg(pParse, regFree1); + } + sqlite3ExprDelete(db, pDel); + + /* Ensure adequate test coverage */ + testcase( xJump==sqlite3ExprIfTrue && jumpIfNull==0 && regFree1==0 ); + testcase( xJump==sqlite3ExprIfTrue && jumpIfNull==0 && regFree1!=0 ); + testcase( xJump==sqlite3ExprIfTrue && jumpIfNull!=0 && regFree1==0 ); + testcase( xJump==sqlite3ExprIfTrue && jumpIfNull!=0 && regFree1!=0 ); + testcase( xJump==sqlite3ExprIfFalse && jumpIfNull==0 && regFree1==0 ); + testcase( xJump==sqlite3ExprIfFalse && jumpIfNull==0 && regFree1!=0 ); + testcase( xJump==sqlite3ExprIfFalse && jumpIfNull!=0 && regFree1==0 ); + testcase( xJump==sqlite3ExprIfFalse && jumpIfNull!=0 && regFree1!=0 ); + testcase( xJump==0 ); +} + +/* +** Generate code for a boolean expression such that a jump is made +** to the label "dest" if the expression is true but execution +** continues straight thru if the expression is false. +** +** If the expression evaluates to NULL (neither true nor false), then +** take the jump if the jumpIfNull flag is SQLITE_JUMPIFNULL. +** +** This code depends on the fact that certain token values (ex: TK_EQ) +** are the same as opcode values (ex: OP_Eq) that implement the corresponding +** operation. Special comments in vdbe.c and the mkopcodeh.awk script in +** the make process cause these values to align. Assert()s in the code +** below verify that the numbers are aligned correctly. +*/ +SQLITE_PRIVATE void sqlite3ExprIfTrue(Parse *pParse, Expr *pExpr, int dest, int jumpIfNull){ + Vdbe *v = pParse->pVdbe; + int op = 0; + int regFree1 = 0; + int regFree2 = 0; + int r1, r2; + + assert( jumpIfNull==SQLITE_JUMPIFNULL || jumpIfNull==0 ); + if( NEVER(v==0) ) return; /* Existence of VDBE checked by caller */ + if( NEVER(pExpr==0) ) return; /* No way this can happen */ + op = pExpr->op; + switch( op ){ + case TK_AND: + case TK_OR: { + Expr *pAlt = sqlite3ExprSimplifiedAndOr(pExpr); + if( pAlt!=pExpr ){ + sqlite3ExprIfTrue(pParse, pAlt, dest, jumpIfNull); + }else if( op==TK_AND ){ + int d2 = sqlite3VdbeMakeLabel(pParse); + testcase( jumpIfNull==0 ); + sqlite3ExprIfFalse(pParse, pExpr->pLeft, d2, + jumpIfNull^SQLITE_JUMPIFNULL); + sqlite3ExprIfTrue(pParse, pExpr->pRight, dest, jumpIfNull); + sqlite3VdbeResolveLabel(v, d2); + }else{ + testcase( jumpIfNull==0 ); + sqlite3ExprIfTrue(pParse, pExpr->pLeft, dest, jumpIfNull); + sqlite3ExprIfTrue(pParse, pExpr->pRight, dest, jumpIfNull); + } + break; + } + case TK_NOT: { + testcase( jumpIfNull==0 ); + sqlite3ExprIfFalse(pParse, pExpr->pLeft, dest, jumpIfNull); + break; + } + case TK_TRUTH: { + int isNot; /* IS NOT TRUE or IS NOT FALSE */ + int isTrue; /* IS TRUE or IS NOT TRUE */ + testcase( jumpIfNull==0 ); + isNot = pExpr->op2==TK_ISNOT; + isTrue = sqlite3ExprTruthValue(pExpr->pRight); + testcase( isTrue && isNot ); + testcase( !isTrue && isNot ); + if( isTrue ^ isNot ){ + sqlite3ExprIfTrue(pParse, pExpr->pLeft, dest, + isNot ? SQLITE_JUMPIFNULL : 0); + }else{ + sqlite3ExprIfFalse(pParse, pExpr->pLeft, dest, + isNot ? SQLITE_JUMPIFNULL : 0); + } + break; + } + case TK_IS: + case TK_ISNOT: + testcase( op==TK_IS ); + testcase( op==TK_ISNOT ); + op = (op==TK_IS) ? TK_EQ : TK_NE; + jumpIfNull = SQLITE_NULLEQ; + /* Fall thru */ + case TK_LT: + case TK_LE: + case TK_GT: + case TK_GE: + case TK_NE: + case TK_EQ: { + if( sqlite3ExprIsVector(pExpr->pLeft) ) goto default_expr; + testcase( jumpIfNull==0 ); + r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, ®Free1); + r2 = sqlite3ExprCodeTemp(pParse, pExpr->pRight, ®Free2); + codeCompare(pParse, pExpr->pLeft, pExpr->pRight, op, + r1, r2, dest, jumpIfNull); + assert(TK_LT==OP_Lt); testcase(op==OP_Lt); VdbeCoverageIf(v,op==OP_Lt); + assert(TK_LE==OP_Le); testcase(op==OP_Le); VdbeCoverageIf(v,op==OP_Le); + assert(TK_GT==OP_Gt); testcase(op==OP_Gt); VdbeCoverageIf(v,op==OP_Gt); + assert(TK_GE==OP_Ge); testcase(op==OP_Ge); VdbeCoverageIf(v,op==OP_Ge); + assert(TK_EQ==OP_Eq); testcase(op==OP_Eq); + VdbeCoverageIf(v, op==OP_Eq && jumpIfNull==SQLITE_NULLEQ); + VdbeCoverageIf(v, op==OP_Eq && jumpIfNull!=SQLITE_NULLEQ); + assert(TK_NE==OP_Ne); testcase(op==OP_Ne); + VdbeCoverageIf(v, op==OP_Ne && jumpIfNull==SQLITE_NULLEQ); + VdbeCoverageIf(v, op==OP_Ne && jumpIfNull!=SQLITE_NULLEQ); + testcase( regFree1==0 ); + testcase( regFree2==0 ); + break; + } + case TK_ISNULL: + case TK_NOTNULL: { + assert( TK_ISNULL==OP_IsNull ); testcase( op==TK_ISNULL ); + assert( TK_NOTNULL==OP_NotNull ); testcase( op==TK_NOTNULL ); + r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, ®Free1); + sqlite3VdbeAddOp2(v, op, r1, dest); + VdbeCoverageIf(v, op==TK_ISNULL); + VdbeCoverageIf(v, op==TK_NOTNULL); + testcase( regFree1==0 ); + break; + } + case TK_BETWEEN: { + testcase( jumpIfNull==0 ); + exprCodeBetween(pParse, pExpr, dest, sqlite3ExprIfTrue, jumpIfNull); + break; + } +#ifndef SQLITE_OMIT_SUBQUERY + case TK_IN: { + int destIfFalse = sqlite3VdbeMakeLabel(pParse); + int destIfNull = jumpIfNull ? dest : destIfFalse; + sqlite3ExprCodeIN(pParse, pExpr, destIfFalse, destIfNull); + sqlite3VdbeGoto(v, dest); + sqlite3VdbeResolveLabel(v, destIfFalse); + break; + } +#endif + default: { + default_expr: + if( ExprAlwaysTrue(pExpr) ){ + sqlite3VdbeGoto(v, dest); + }else if( ExprAlwaysFalse(pExpr) ){ + /* No-op */ + }else{ + r1 = sqlite3ExprCodeTemp(pParse, pExpr, ®Free1); + sqlite3VdbeAddOp3(v, OP_If, r1, dest, jumpIfNull!=0); + VdbeCoverage(v); + testcase( regFree1==0 ); + testcase( jumpIfNull==0 ); + } + break; + } + } + sqlite3ReleaseTempReg(pParse, regFree1); + sqlite3ReleaseTempReg(pParse, regFree2); +} + +/* +** Generate code for a boolean expression such that a jump is made +** to the label "dest" if the expression is false but execution +** continues straight thru if the expression is true. +** +** If the expression evaluates to NULL (neither true nor false) then +** jump if jumpIfNull is SQLITE_JUMPIFNULL or fall through if jumpIfNull +** is 0. +*/ +SQLITE_PRIVATE void sqlite3ExprIfFalse(Parse *pParse, Expr *pExpr, int dest, int jumpIfNull){ + Vdbe *v = pParse->pVdbe; + int op = 0; + int regFree1 = 0; + int regFree2 = 0; + int r1, r2; + + assert( jumpIfNull==SQLITE_JUMPIFNULL || jumpIfNull==0 ); + if( NEVER(v==0) ) return; /* Existence of VDBE checked by caller */ + if( pExpr==0 ) return; + + /* The value of pExpr->op and op are related as follows: + ** + ** pExpr->op op + ** --------- ---------- + ** TK_ISNULL OP_NotNull + ** TK_NOTNULL OP_IsNull + ** TK_NE OP_Eq + ** TK_EQ OP_Ne + ** TK_GT OP_Le + ** TK_LE OP_Gt + ** TK_GE OP_Lt + ** TK_LT OP_Ge + ** + ** For other values of pExpr->op, op is undefined and unused. + ** The value of TK_ and OP_ constants are arranged such that we + ** can compute the mapping above using the following expression. + ** Assert()s verify that the computation is correct. + */ + op = ((pExpr->op+(TK_ISNULL&1))^1)-(TK_ISNULL&1); + + /* Verify correct alignment of TK_ and OP_ constants + */ + assert( pExpr->op!=TK_ISNULL || op==OP_NotNull ); + assert( pExpr->op!=TK_NOTNULL || op==OP_IsNull ); + assert( pExpr->op!=TK_NE || op==OP_Eq ); + assert( pExpr->op!=TK_EQ || op==OP_Ne ); + assert( pExpr->op!=TK_LT || op==OP_Ge ); + assert( pExpr->op!=TK_LE || op==OP_Gt ); + assert( pExpr->op!=TK_GT || op==OP_Le ); + assert( pExpr->op!=TK_GE || op==OP_Lt ); + + switch( pExpr->op ){ + case TK_AND: + case TK_OR: { + Expr *pAlt = sqlite3ExprSimplifiedAndOr(pExpr); + if( pAlt!=pExpr ){ + sqlite3ExprIfFalse(pParse, pAlt, dest, jumpIfNull); + }else if( pExpr->op==TK_AND ){ + testcase( jumpIfNull==0 ); + sqlite3ExprIfFalse(pParse, pExpr->pLeft, dest, jumpIfNull); + sqlite3ExprIfFalse(pParse, pExpr->pRight, dest, jumpIfNull); + }else{ + int d2 = sqlite3VdbeMakeLabel(pParse); + testcase( jumpIfNull==0 ); + sqlite3ExprIfTrue(pParse, pExpr->pLeft, d2, + jumpIfNull^SQLITE_JUMPIFNULL); + sqlite3ExprIfFalse(pParse, pExpr->pRight, dest, jumpIfNull); + sqlite3VdbeResolveLabel(v, d2); + } + break; + } + case TK_NOT: { + testcase( jumpIfNull==0 ); + sqlite3ExprIfTrue(pParse, pExpr->pLeft, dest, jumpIfNull); + break; + } + case TK_TRUTH: { + int isNot; /* IS NOT TRUE or IS NOT FALSE */ + int isTrue; /* IS TRUE or IS NOT TRUE */ + testcase( jumpIfNull==0 ); + isNot = pExpr->op2==TK_ISNOT; + isTrue = sqlite3ExprTruthValue(pExpr->pRight); + testcase( isTrue && isNot ); + testcase( !isTrue && isNot ); + if( isTrue ^ isNot ){ + /* IS TRUE and IS NOT FALSE */ + sqlite3ExprIfFalse(pParse, pExpr->pLeft, dest, + isNot ? 0 : SQLITE_JUMPIFNULL); + + }else{ + /* IS FALSE and IS NOT TRUE */ + sqlite3ExprIfTrue(pParse, pExpr->pLeft, dest, + isNot ? 0 : SQLITE_JUMPIFNULL); + } + break; + } + case TK_IS: + case TK_ISNOT: + testcase( pExpr->op==TK_IS ); + testcase( pExpr->op==TK_ISNOT ); + op = (pExpr->op==TK_IS) ? TK_NE : TK_EQ; + jumpIfNull = SQLITE_NULLEQ; + /* Fall thru */ + case TK_LT: + case TK_LE: + case TK_GT: + case TK_GE: + case TK_NE: + case TK_EQ: { + if( sqlite3ExprIsVector(pExpr->pLeft) ) goto default_expr; + testcase( jumpIfNull==0 ); + r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, ®Free1); + r2 = sqlite3ExprCodeTemp(pParse, pExpr->pRight, ®Free2); + codeCompare(pParse, pExpr->pLeft, pExpr->pRight, op, + r1, r2, dest, jumpIfNull); + assert(TK_LT==OP_Lt); testcase(op==OP_Lt); VdbeCoverageIf(v,op==OP_Lt); + assert(TK_LE==OP_Le); testcase(op==OP_Le); VdbeCoverageIf(v,op==OP_Le); + assert(TK_GT==OP_Gt); testcase(op==OP_Gt); VdbeCoverageIf(v,op==OP_Gt); + assert(TK_GE==OP_Ge); testcase(op==OP_Ge); VdbeCoverageIf(v,op==OP_Ge); + assert(TK_EQ==OP_Eq); testcase(op==OP_Eq); + VdbeCoverageIf(v, op==OP_Eq && jumpIfNull!=SQLITE_NULLEQ); + VdbeCoverageIf(v, op==OP_Eq && jumpIfNull==SQLITE_NULLEQ); + assert(TK_NE==OP_Ne); testcase(op==OP_Ne); + VdbeCoverageIf(v, op==OP_Ne && jumpIfNull!=SQLITE_NULLEQ); + VdbeCoverageIf(v, op==OP_Ne && jumpIfNull==SQLITE_NULLEQ); + testcase( regFree1==0 ); + testcase( regFree2==0 ); + break; + } + case TK_ISNULL: + case TK_NOTNULL: { + r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, ®Free1); + sqlite3VdbeAddOp2(v, op, r1, dest); + testcase( op==TK_ISNULL ); VdbeCoverageIf(v, op==TK_ISNULL); + testcase( op==TK_NOTNULL ); VdbeCoverageIf(v, op==TK_NOTNULL); + testcase( regFree1==0 ); + break; + } + case TK_BETWEEN: { + testcase( jumpIfNull==0 ); + exprCodeBetween(pParse, pExpr, dest, sqlite3ExprIfFalse, jumpIfNull); + break; + } +#ifndef SQLITE_OMIT_SUBQUERY + case TK_IN: { + if( jumpIfNull ){ + sqlite3ExprCodeIN(pParse, pExpr, dest, dest); + }else{ + int destIfNull = sqlite3VdbeMakeLabel(pParse); + sqlite3ExprCodeIN(pParse, pExpr, dest, destIfNull); + sqlite3VdbeResolveLabel(v, destIfNull); + } + break; + } +#endif + default: { + default_expr: + if( ExprAlwaysFalse(pExpr) ){ + sqlite3VdbeGoto(v, dest); + }else if( ExprAlwaysTrue(pExpr) ){ + /* no-op */ + }else{ + r1 = sqlite3ExprCodeTemp(pParse, pExpr, ®Free1); + sqlite3VdbeAddOp3(v, OP_IfNot, r1, dest, jumpIfNull!=0); + VdbeCoverage(v); + testcase( regFree1==0 ); + testcase( jumpIfNull==0 ); + } + break; + } + } + sqlite3ReleaseTempReg(pParse, regFree1); + sqlite3ReleaseTempReg(pParse, regFree2); +} + +/* +** Like sqlite3ExprIfFalse() except that a copy is made of pExpr before +** code generation, and that copy is deleted after code generation. This +** ensures that the original pExpr is unchanged. +*/ +SQLITE_PRIVATE void sqlite3ExprIfFalseDup(Parse *pParse, Expr *pExpr, int dest,int jumpIfNull){ + sqlite3 *db = pParse->db; + Expr *pCopy = sqlite3ExprDup(db, pExpr, 0); + if( db->mallocFailed==0 ){ + sqlite3ExprIfFalse(pParse, pCopy, dest, jumpIfNull); + } + sqlite3ExprDelete(db, pCopy); +} + +/* +** Expression pVar is guaranteed to be an SQL variable. pExpr may be any +** type of expression. +** +** If pExpr is a simple SQL value - an integer, real, string, blob +** or NULL value - then the VDBE currently being prepared is configured +** to re-prepare each time a new value is bound to variable pVar. +** +** Additionally, if pExpr is a simple SQL value and the value is the +** same as that currently bound to variable pVar, non-zero is returned. +** Otherwise, if the values are not the same or if pExpr is not a simple +** SQL value, zero is returned. +*/ +static int exprCompareVariable(Parse *pParse, Expr *pVar, Expr *pExpr){ + int res = 0; + int iVar; + sqlite3_value *pL, *pR = 0; + + sqlite3ValueFromExpr(pParse->db, pExpr, SQLITE_UTF8, SQLITE_AFF_BLOB, &pR); + if( pR ){ + iVar = pVar->iColumn; + sqlite3VdbeSetVarmask(pParse->pVdbe, iVar); + pL = sqlite3VdbeGetBoundValue(pParse->pReprepare, iVar, SQLITE_AFF_BLOB); + if( pL ){ + if( sqlite3_value_type(pL)==SQLITE_TEXT ){ + sqlite3_value_text(pL); /* Make sure the encoding is UTF-8 */ + } + res = 0==sqlite3MemCompare(pL, pR, 0); + } + sqlite3ValueFree(pR); + sqlite3ValueFree(pL); + } + + return res; +} + +/* +** Do a deep comparison of two expression trees. Return 0 if the two +** expressions are completely identical. Return 1 if they differ only +** by a COLLATE operator at the top level. Return 2 if there are differences +** other than the top-level COLLATE operator. +** +** If any subelement of pB has Expr.iTable==(-1) then it is allowed +** to compare equal to an equivalent element in pA with Expr.iTable==iTab. +** +** The pA side might be using TK_REGISTER. If that is the case and pB is +** not using TK_REGISTER but is otherwise equivalent, then still return 0. +** +** Sometimes this routine will return 2 even if the two expressions +** really are equivalent. If we cannot prove that the expressions are +** identical, we return 2 just to be safe. So if this routine +** returns 2, then you do not really know for certain if the two +** expressions are the same. But if you get a 0 or 1 return, then you +** can be sure the expressions are the same. In the places where +** this routine is used, it does not hurt to get an extra 2 - that +** just might result in some slightly slower code. But returning +** an incorrect 0 or 1 could lead to a malfunction. +** +** If pParse is not NULL then TK_VARIABLE terms in pA with bindings in +** pParse->pReprepare can be matched against literals in pB. The +** pParse->pVdbe->expmask bitmask is updated for each variable referenced. +** If pParse is NULL (the normal case) then any TK_VARIABLE term in +** Argument pParse should normally be NULL. If it is not NULL and pA or +** pB causes a return value of 2. +*/ +SQLITE_PRIVATE int sqlite3ExprCompare(Parse *pParse, Expr *pA, Expr *pB, int iTab){ + u32 combinedFlags; + if( pA==0 || pB==0 ){ + return pB==pA ? 0 : 2; + } + if( pParse && pA->op==TK_VARIABLE && exprCompareVariable(pParse, pA, pB) ){ + return 0; + } + combinedFlags = pA->flags | pB->flags; + if( combinedFlags & EP_IntValue ){ + if( (pA->flags&pB->flags&EP_IntValue)!=0 && pA->u.iValue==pB->u.iValue ){ + return 0; + } + return 2; + } + if( pA->op!=pB->op || pA->op==TK_RAISE ){ + if( pA->op==TK_COLLATE && sqlite3ExprCompare(pParse, pA->pLeft,pB,iTab)<2 ){ + return 1; + } + if( pB->op==TK_COLLATE && sqlite3ExprCompare(pParse, pA,pB->pLeft,iTab)<2 ){ + return 1; + } + return 2; + } + if( pA->op!=TK_COLUMN && pA->op!=TK_AGG_COLUMN && pA->u.zToken ){ + if( pA->op==TK_FUNCTION || pA->op==TK_AGG_FUNCTION ){ + if( sqlite3StrICmp(pA->u.zToken,pB->u.zToken)!=0 ) return 2; +#ifndef SQLITE_OMIT_WINDOWFUNC + assert( pA->op==pB->op ); + if( ExprHasProperty(pA,EP_WinFunc)!=ExprHasProperty(pB,EP_WinFunc) ){ + return 2; + } + if( ExprHasProperty(pA,EP_WinFunc) ){ + if( sqlite3WindowCompare(pParse, pA->y.pWin, pB->y.pWin, 1)!=0 ){ + return 2; + } + } +#endif + }else if( pA->op==TK_NULL ){ + return 0; + }else if( pA->op==TK_COLLATE ){ + if( sqlite3_stricmp(pA->u.zToken,pB->u.zToken)!=0 ) return 2; + }else if( ALWAYS(pB->u.zToken!=0) && strcmp(pA->u.zToken,pB->u.zToken)!=0 ){ + return 2; + } + } + if( (pA->flags & EP_Distinct)!=(pB->flags & EP_Distinct) ) return 2; + if( (combinedFlags & EP_TokenOnly)==0 ){ + if( combinedFlags & EP_xIsSelect ) return 2; + if( (combinedFlags & EP_FixedCol)==0 + && sqlite3ExprCompare(pParse, pA->pLeft, pB->pLeft, iTab) ) return 2; + if( sqlite3ExprCompare(pParse, pA->pRight, pB->pRight, iTab) ) return 2; + if( sqlite3ExprListCompare(pA->x.pList, pB->x.pList, iTab) ) return 2; + if( pA->op!=TK_STRING + && pA->op!=TK_TRUEFALSE + && (combinedFlags & EP_Reduced)==0 + ){ + if( pA->iColumn!=pB->iColumn ) return 2; + if( pA->op2!=pB->op2 ) return 2; + if( pA->op!=TK_IN + && pA->iTable!=pB->iTable + && (pA->iTable!=iTab || NEVER(pB->iTable>=0)) ) return 2; + } + } + return 0; +} + +/* +** Compare two ExprList objects. Return 0 if they are identical and +** non-zero if they differ in any way. +** +** If any subelement of pB has Expr.iTable==(-1) then it is allowed +** to compare equal to an equivalent element in pA with Expr.iTable==iTab. +** +** This routine might return non-zero for equivalent ExprLists. The +** only consequence will be disabled optimizations. But this routine +** must never return 0 if the two ExprList objects are different, or +** a malfunction will result. +** +** Two NULL pointers are considered to be the same. But a NULL pointer +** always differs from a non-NULL pointer. +*/ +SQLITE_PRIVATE int sqlite3ExprListCompare(ExprList *pA, ExprList *pB, int iTab){ + int i; + if( pA==0 && pB==0 ) return 0; + if( pA==0 || pB==0 ) return 1; + if( pA->nExpr!=pB->nExpr ) return 1; + for(i=0; inExpr; i++){ + Expr *pExprA = pA->a[i].pExpr; + Expr *pExprB = pB->a[i].pExpr; + if( pA->a[i].sortFlags!=pB->a[i].sortFlags ) return 1; + if( sqlite3ExprCompare(0, pExprA, pExprB, iTab) ) return 1; + } + return 0; +} + +/* +** Like sqlite3ExprCompare() except COLLATE operators at the top-level +** are ignored. +*/ +SQLITE_PRIVATE int sqlite3ExprCompareSkip(Expr *pA, Expr *pB, int iTab){ + return sqlite3ExprCompare(0, + sqlite3ExprSkipCollateAndLikely(pA), + sqlite3ExprSkipCollateAndLikely(pB), + iTab); +} + +/* +** Return non-zero if Expr p can only be true if pNN is not NULL. +** +** Or if seenNot is true, return non-zero if Expr p can only be +** non-NULL if pNN is not NULL +*/ +static int exprImpliesNotNull( + Parse *pParse, /* Parsing context */ + Expr *p, /* The expression to be checked */ + Expr *pNN, /* The expression that is NOT NULL */ + int iTab, /* Table being evaluated */ + int seenNot /* Return true only if p can be any non-NULL value */ +){ + assert( p ); + assert( pNN ); + if( sqlite3ExprCompare(pParse, p, pNN, iTab)==0 ){ + return pNN->op!=TK_NULL; + } + switch( p->op ){ + case TK_IN: { + if( seenNot && ExprHasProperty(p, EP_xIsSelect) ) return 0; + assert( ExprHasProperty(p,EP_xIsSelect) + || (p->x.pList!=0 && p->x.pList->nExpr>0) ); + return exprImpliesNotNull(pParse, p->pLeft, pNN, iTab, 1); + } + case TK_BETWEEN: { + ExprList *pList = p->x.pList; + assert( pList!=0 ); + assert( pList->nExpr==2 ); + if( seenNot ) return 0; + if( exprImpliesNotNull(pParse, pList->a[0].pExpr, pNN, iTab, 1) + || exprImpliesNotNull(pParse, pList->a[1].pExpr, pNN, iTab, 1) + ){ + return 1; + } + return exprImpliesNotNull(pParse, p->pLeft, pNN, iTab, 1); + } + case TK_EQ: + case TK_NE: + case TK_LT: + case TK_LE: + case TK_GT: + case TK_GE: + case TK_PLUS: + case TK_MINUS: + case TK_BITOR: + case TK_LSHIFT: + case TK_RSHIFT: + case TK_CONCAT: + seenNot = 1; + /* Fall thru */ + case TK_STAR: + case TK_REM: + case TK_BITAND: + case TK_SLASH: { + if( exprImpliesNotNull(pParse, p->pRight, pNN, iTab, seenNot) ) return 1; + /* Fall thru into the next case */ + } + case TK_SPAN: + case TK_COLLATE: + case TK_UPLUS: + case TK_UMINUS: { + return exprImpliesNotNull(pParse, p->pLeft, pNN, iTab, seenNot); + } + case TK_TRUTH: { + if( seenNot ) return 0; + if( p->op2!=TK_IS ) return 0; + return exprImpliesNotNull(pParse, p->pLeft, pNN, iTab, 1); + } + case TK_BITNOT: + case TK_NOT: { + return exprImpliesNotNull(pParse, p->pLeft, pNN, iTab, 1); + } + } + return 0; +} + +/* +** Return true if we can prove the pE2 will always be true if pE1 is +** true. Return false if we cannot complete the proof or if pE2 might +** be false. Examples: +** +** pE1: x==5 pE2: x==5 Result: true +** pE1: x>0 pE2: x==5 Result: false +** pE1: x=21 pE2: x=21 OR y=43 Result: true +** pE1: x!=123 pE2: x IS NOT NULL Result: true +** pE1: x!=?1 pE2: x IS NOT NULL Result: true +** pE1: x IS NULL pE2: x IS NOT NULL Result: false +** pE1: x IS ?2 pE2: x IS NOT NULL Reuslt: false +** +** When comparing TK_COLUMN nodes between pE1 and pE2, if pE2 has +** Expr.iTable<0 then assume a table number given by iTab. +** +** If pParse is not NULL, then the values of bound variables in pE1 are +** compared against literal values in pE2 and pParse->pVdbe->expmask is +** modified to record which bound variables are referenced. If pParse +** is NULL, then false will be returned if pE1 contains any bound variables. +** +** When in doubt, return false. Returning true might give a performance +** improvement. Returning false might cause a performance reduction, but +** it will always give the correct answer and is hence always safe. +*/ +SQLITE_PRIVATE int sqlite3ExprImpliesExpr(Parse *pParse, Expr *pE1, Expr *pE2, int iTab){ + if( sqlite3ExprCompare(pParse, pE1, pE2, iTab)==0 ){ + return 1; + } + if( pE2->op==TK_OR + && (sqlite3ExprImpliesExpr(pParse, pE1, pE2->pLeft, iTab) + || sqlite3ExprImpliesExpr(pParse, pE1, pE2->pRight, iTab) ) + ){ + return 1; + } + if( pE2->op==TK_NOTNULL + && exprImpliesNotNull(pParse, pE1, pE2->pLeft, iTab, 0) + ){ + return 1; + } + return 0; +} + +/* +** This is the Expr node callback for sqlite3ExprImpliesNotNullRow(). +** If the expression node requires that the table at pWalker->iCur +** have one or more non-NULL column, then set pWalker->eCode to 1 and abort. +** +** This routine controls an optimization. False positives (setting +** pWalker->eCode to 1 when it should not be) are deadly, but false-negatives +** (never setting pWalker->eCode) is a harmless missed optimization. +*/ +static int impliesNotNullRow(Walker *pWalker, Expr *pExpr){ + testcase( pExpr->op==TK_AGG_COLUMN ); + testcase( pExpr->op==TK_AGG_FUNCTION ); + if( ExprHasProperty(pExpr, EP_FromJoin) ) return WRC_Prune; + switch( pExpr->op ){ + case TK_ISNOT: + case TK_ISNULL: + case TK_NOTNULL: + case TK_IS: + case TK_OR: + case TK_CASE: + case TK_IN: + case TK_FUNCTION: + case TK_TRUTH: + testcase( pExpr->op==TK_ISNOT ); + testcase( pExpr->op==TK_ISNULL ); + testcase( pExpr->op==TK_NOTNULL ); + testcase( pExpr->op==TK_IS ); + testcase( pExpr->op==TK_OR ); + testcase( pExpr->op==TK_CASE ); + testcase( pExpr->op==TK_IN ); + testcase( pExpr->op==TK_FUNCTION ); + testcase( pExpr->op==TK_TRUTH ); + return WRC_Prune; + case TK_COLUMN: + if( pWalker->u.iCur==pExpr->iTable ){ + pWalker->eCode = 1; + return WRC_Abort; + } + return WRC_Prune; + + case TK_AND: + if( sqlite3ExprImpliesNonNullRow(pExpr->pLeft, pWalker->u.iCur) + && sqlite3ExprImpliesNonNullRow(pExpr->pRight, pWalker->u.iCur) + ){ + pWalker->eCode = 1; + } + return WRC_Prune; + + case TK_BETWEEN: + sqlite3WalkExpr(pWalker, pExpr->pLeft); + return WRC_Prune; + + /* Virtual tables are allowed to use constraints like x=NULL. So + ** a term of the form x=y does not prove that y is not null if x + ** is the column of a virtual table */ + case TK_EQ: + case TK_NE: + case TK_LT: + case TK_LE: + case TK_GT: + case TK_GE: + testcase( pExpr->op==TK_EQ ); + testcase( pExpr->op==TK_NE ); + testcase( pExpr->op==TK_LT ); + testcase( pExpr->op==TK_LE ); + testcase( pExpr->op==TK_GT ); + testcase( pExpr->op==TK_GE ); + if( (pExpr->pLeft->op==TK_COLUMN && IsVirtual(pExpr->pLeft->y.pTab)) + || (pExpr->pRight->op==TK_COLUMN && IsVirtual(pExpr->pRight->y.pTab)) + ){ + return WRC_Prune; + } + + default: + return WRC_Continue; + } +} + +/* +** Return true (non-zero) if expression p can only be true if at least +** one column of table iTab is non-null. In other words, return true +** if expression p will always be NULL or false if every column of iTab +** is NULL. +** +** False negatives are acceptable. In other words, it is ok to return +** zero even if expression p will never be true of every column of iTab +** is NULL. A false negative is merely a missed optimization opportunity. +** +** False positives are not allowed, however. A false positive may result +** in an incorrect answer. +** +** Terms of p that are marked with EP_FromJoin (and hence that come from +** the ON or USING clauses of LEFT JOINS) are excluded from the analysis. +** +** This routine is used to check if a LEFT JOIN can be converted into +** an ordinary JOIN. The p argument is the WHERE clause. If the WHERE +** clause requires that some column of the right table of the LEFT JOIN +** be non-NULL, then the LEFT JOIN can be safely converted into an +** ordinary join. +*/ +SQLITE_PRIVATE int sqlite3ExprImpliesNonNullRow(Expr *p, int iTab){ + Walker w; + p = sqlite3ExprSkipCollateAndLikely(p); + while( p ){ + if( p->op==TK_NOTNULL ){ + p = p->pLeft; + }else if( p->op==TK_AND ){ + if( sqlite3ExprImpliesNonNullRow(p->pLeft, iTab) ) return 1; + p = p->pRight; + }else{ + break; + } + } + w.xExprCallback = impliesNotNullRow; + w.xSelectCallback = 0; + w.xSelectCallback2 = 0; + w.eCode = 0; + w.u.iCur = iTab; + sqlite3WalkExpr(&w, p); + return w.eCode; +} + +/* +** An instance of the following structure is used by the tree walker +** to determine if an expression can be evaluated by reference to the +** index only, without having to do a search for the corresponding +** table entry. The IdxCover.pIdx field is the index. IdxCover.iCur +** is the cursor for the table. +*/ +struct IdxCover { + Index *pIdx; /* The index to be tested for coverage */ + int iCur; /* Cursor number for the table corresponding to the index */ +}; + +/* +** Check to see if there are references to columns in table +** pWalker->u.pIdxCover->iCur can be satisfied using the index +** pWalker->u.pIdxCover->pIdx. +*/ +static int exprIdxCover(Walker *pWalker, Expr *pExpr){ + if( pExpr->op==TK_COLUMN + && pExpr->iTable==pWalker->u.pIdxCover->iCur + && sqlite3ColumnOfIndex(pWalker->u.pIdxCover->pIdx, pExpr->iColumn)<0 + ){ + pWalker->eCode = 1; + return WRC_Abort; + } + return WRC_Continue; +} + +/* +** Determine if an index pIdx on table with cursor iCur contains will +** the expression pExpr. Return true if the index does cover the +** expression and false if the pExpr expression references table columns +** that are not found in the index pIdx. +** +** An index covering an expression means that the expression can be +** evaluated using only the index and without having to lookup the +** corresponding table entry. +*/ +SQLITE_PRIVATE int sqlite3ExprCoveredByIndex( + Expr *pExpr, /* The index to be tested */ + int iCur, /* The cursor number for the corresponding table */ + Index *pIdx /* The index that might be used for coverage */ +){ + Walker w; + struct IdxCover xcov; + memset(&w, 0, sizeof(w)); + xcov.iCur = iCur; + xcov.pIdx = pIdx; + w.xExprCallback = exprIdxCover; + w.u.pIdxCover = &xcov; + sqlite3WalkExpr(&w, pExpr); + return !w.eCode; +} + + +/* +** An instance of the following structure is used by the tree walker +** to count references to table columns in the arguments of an +** aggregate function, in order to implement the +** sqlite3FunctionThisSrc() routine. +*/ +struct SrcCount { + SrcList *pSrc; /* One particular FROM clause in a nested query */ + int nThis; /* Number of references to columns in pSrcList */ + int nOther; /* Number of references to columns in other FROM clauses */ +}; + +/* +** Count the number of references to columns. +*/ +static int exprSrcCount(Walker *pWalker, Expr *pExpr){ + /* The NEVER() on the second term is because sqlite3FunctionUsesThisSrc() + ** is always called before sqlite3ExprAnalyzeAggregates() and so the + ** TK_COLUMNs have not yet been converted into TK_AGG_COLUMN. If + ** sqlite3FunctionUsesThisSrc() is used differently in the future, the + ** NEVER() will need to be removed. */ + if( pExpr->op==TK_COLUMN || NEVER(pExpr->op==TK_AGG_COLUMN) ){ + int i; + struct SrcCount *p = pWalker->u.pSrcCount; + SrcList *pSrc = p->pSrc; + int nSrc = pSrc ? pSrc->nSrc : 0; + for(i=0; iiTable==pSrc->a[i].iCursor ) break; + } + if( inThis++; + }else if( nSrc==0 || pExpr->iTablea[0].iCursor ){ + /* In a well-formed parse tree (no name resolution errors), + ** TK_COLUMN nodes with smaller Expr.iTable values are in an + ** outer context. Those are the only ones to count as "other" */ + p->nOther++; + } + } + return WRC_Continue; +} + +/* +** Determine if any of the arguments to the pExpr Function reference +** pSrcList. Return true if they do. Also return true if the function +** has no arguments or has only constant arguments. Return false if pExpr +** references columns but not columns of tables found in pSrcList. +*/ +SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc(Expr *pExpr, SrcList *pSrcList){ + Walker w; + struct SrcCount cnt; + assert( pExpr->op==TK_AGG_FUNCTION ); + memset(&w, 0, sizeof(w)); + w.xExprCallback = exprSrcCount; + w.xSelectCallback = sqlite3SelectWalkNoop; + w.u.pSrcCount = &cnt; + cnt.pSrc = pSrcList; + cnt.nThis = 0; + cnt.nOther = 0; + sqlite3WalkExprList(&w, pExpr->x.pList); + return cnt.nThis>0 || cnt.nOther==0; +} + +/* +** Add a new element to the pAggInfo->aCol[] array. Return the index of +** the new element. Return a negative number if malloc fails. +*/ +static int addAggInfoColumn(sqlite3 *db, AggInfo *pInfo){ + int i; + pInfo->aCol = sqlite3ArrayAllocate( + db, + pInfo->aCol, + sizeof(pInfo->aCol[0]), + &pInfo->nColumn, + &i + ); + return i; +} + +/* +** Add a new element to the pAggInfo->aFunc[] array. Return the index of +** the new element. Return a negative number if malloc fails. +*/ +static int addAggInfoFunc(sqlite3 *db, AggInfo *pInfo){ + int i; + pInfo->aFunc = sqlite3ArrayAllocate( + db, + pInfo->aFunc, + sizeof(pInfo->aFunc[0]), + &pInfo->nFunc, + &i + ); + return i; +} + +/* +** This is the xExprCallback for a tree walker. It is used to +** implement sqlite3ExprAnalyzeAggregates(). See sqlite3ExprAnalyzeAggregates +** for additional information. +*/ +static int analyzeAggregate(Walker *pWalker, Expr *pExpr){ + int i; + NameContext *pNC = pWalker->u.pNC; + Parse *pParse = pNC->pParse; + SrcList *pSrcList = pNC->pSrcList; + AggInfo *pAggInfo = pNC->uNC.pAggInfo; + + assert( pNC->ncFlags & NC_UAggInfo ); + switch( pExpr->op ){ + case TK_AGG_COLUMN: + case TK_COLUMN: { + testcase( pExpr->op==TK_AGG_COLUMN ); + testcase( pExpr->op==TK_COLUMN ); + /* Check to see if the column is in one of the tables in the FROM + ** clause of the aggregate query */ + if( ALWAYS(pSrcList!=0) ){ + struct SrcList_item *pItem = pSrcList->a; + for(i=0; inSrc; i++, pItem++){ + struct AggInfo_col *pCol; + assert( !ExprHasProperty(pExpr, EP_TokenOnly|EP_Reduced) ); + if( pExpr->iTable==pItem->iCursor ){ + /* If we reach this point, it means that pExpr refers to a table + ** that is in the FROM clause of the aggregate query. + ** + ** Make an entry for the column in pAggInfo->aCol[] if there + ** is not an entry there already. + */ + int k; + pCol = pAggInfo->aCol; + for(k=0; knColumn; k++, pCol++){ + if( pCol->iTable==pExpr->iTable && + pCol->iColumn==pExpr->iColumn ){ + break; + } + } + if( (k>=pAggInfo->nColumn) + && (k = addAggInfoColumn(pParse->db, pAggInfo))>=0 + ){ + pCol = &pAggInfo->aCol[k]; + pCol->pTab = pExpr->y.pTab; + pCol->iTable = pExpr->iTable; + pCol->iColumn = pExpr->iColumn; + pCol->iMem = ++pParse->nMem; + pCol->iSorterColumn = -1; + pCol->pExpr = pExpr; + if( pAggInfo->pGroupBy ){ + int j, n; + ExprList *pGB = pAggInfo->pGroupBy; + struct ExprList_item *pTerm = pGB->a; + n = pGB->nExpr; + for(j=0; jpExpr; + if( pE->op==TK_COLUMN && pE->iTable==pExpr->iTable && + pE->iColumn==pExpr->iColumn ){ + pCol->iSorterColumn = j; + break; + } + } + } + if( pCol->iSorterColumn<0 ){ + pCol->iSorterColumn = pAggInfo->nSortingColumn++; + } + } + /* There is now an entry for pExpr in pAggInfo->aCol[] (either + ** because it was there before or because we just created it). + ** Convert the pExpr to be a TK_AGG_COLUMN referring to that + ** pAggInfo->aCol[] entry. + */ + ExprSetVVAProperty(pExpr, EP_NoReduce); + pExpr->pAggInfo = pAggInfo; + pExpr->op = TK_AGG_COLUMN; + pExpr->iAgg = (i16)k; + break; + } /* endif pExpr->iTable==pItem->iCursor */ + } /* end loop over pSrcList */ + } + return WRC_Prune; + } + case TK_AGG_FUNCTION: { + if( (pNC->ncFlags & NC_InAggFunc)==0 + && pWalker->walkerDepth==pExpr->op2 + ){ + /* Check to see if pExpr is a duplicate of another aggregate + ** function that is already in the pAggInfo structure + */ + struct AggInfo_func *pItem = pAggInfo->aFunc; + for(i=0; inFunc; i++, pItem++){ + if( sqlite3ExprCompare(0, pItem->pExpr, pExpr, -1)==0 ){ + break; + } + } + if( i>=pAggInfo->nFunc ){ + /* pExpr is original. Make a new entry in pAggInfo->aFunc[] + */ + u8 enc = ENC(pParse->db); + i = addAggInfoFunc(pParse->db, pAggInfo); + if( i>=0 ){ + assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); + pItem = &pAggInfo->aFunc[i]; + pItem->pExpr = pExpr; + pItem->iMem = ++pParse->nMem; + assert( !ExprHasProperty(pExpr, EP_IntValue) ); + pItem->pFunc = sqlite3FindFunction(pParse->db, + pExpr->u.zToken, + pExpr->x.pList ? pExpr->x.pList->nExpr : 0, enc, 0); + if( pExpr->flags & EP_Distinct ){ + pItem->iDistinct = pParse->nTab++; + }else{ + pItem->iDistinct = -1; + } + } + } + /* Make pExpr point to the appropriate pAggInfo->aFunc[] entry + */ + assert( !ExprHasProperty(pExpr, EP_TokenOnly|EP_Reduced) ); + ExprSetVVAProperty(pExpr, EP_NoReduce); + pExpr->iAgg = (i16)i; + pExpr->pAggInfo = pAggInfo; + return WRC_Prune; + }else{ + return WRC_Continue; + } + } + } + return WRC_Continue; +} +static int analyzeAggregatesInSelect(Walker *pWalker, Select *pSelect){ + UNUSED_PARAMETER(pSelect); + pWalker->walkerDepth++; + return WRC_Continue; +} +static void analyzeAggregatesInSelectEnd(Walker *pWalker, Select *pSelect){ + UNUSED_PARAMETER(pSelect); + pWalker->walkerDepth--; +} + +/* +** Analyze the pExpr expression looking for aggregate functions and +** for variables that need to be added to AggInfo object that pNC->pAggInfo +** points to. Additional entries are made on the AggInfo object as +** necessary. +** +** This routine should only be called after the expression has been +** analyzed by sqlite3ResolveExprNames(). +*/ +SQLITE_PRIVATE void sqlite3ExprAnalyzeAggregates(NameContext *pNC, Expr *pExpr){ + Walker w; + w.xExprCallback = analyzeAggregate; + w.xSelectCallback = analyzeAggregatesInSelect; + w.xSelectCallback2 = analyzeAggregatesInSelectEnd; + w.walkerDepth = 0; + w.u.pNC = pNC; + w.pParse = 0; + assert( pNC->pSrcList!=0 ); + sqlite3WalkExpr(&w, pExpr); +} + +/* +** Call sqlite3ExprAnalyzeAggregates() for every expression in an +** expression list. Return the number of errors. +** +** If an error is found, the analysis is cut short. +*/ +SQLITE_PRIVATE void sqlite3ExprAnalyzeAggList(NameContext *pNC, ExprList *pList){ + struct ExprList_item *pItem; + int i; + if( pList ){ + for(pItem=pList->a, i=0; inExpr; i++, pItem++){ + sqlite3ExprAnalyzeAggregates(pNC, pItem->pExpr); + } + } +} + +/* +** Allocate a single new register for use to hold some intermediate result. +*/ +SQLITE_PRIVATE int sqlite3GetTempReg(Parse *pParse){ + if( pParse->nTempReg==0 ){ + return ++pParse->nMem; + } + return pParse->aTempReg[--pParse->nTempReg]; +} + +/* +** Deallocate a register, making available for reuse for some other +** purpose. +*/ +SQLITE_PRIVATE void sqlite3ReleaseTempReg(Parse *pParse, int iReg){ + if( iReg && pParse->nTempRegaTempReg) ){ + pParse->aTempReg[pParse->nTempReg++] = iReg; + } +} + +/* +** Allocate or deallocate a block of nReg consecutive registers. +*/ +SQLITE_PRIVATE int sqlite3GetTempRange(Parse *pParse, int nReg){ + int i, n; + if( nReg==1 ) return sqlite3GetTempReg(pParse); + i = pParse->iRangeReg; + n = pParse->nRangeReg; + if( nReg<=n ){ + pParse->iRangeReg += nReg; + pParse->nRangeReg -= nReg; + }else{ + i = pParse->nMem+1; + pParse->nMem += nReg; + } + return i; +} +SQLITE_PRIVATE void sqlite3ReleaseTempRange(Parse *pParse, int iReg, int nReg){ + if( nReg==1 ){ + sqlite3ReleaseTempReg(pParse, iReg); + return; + } + if( nReg>pParse->nRangeReg ){ + pParse->nRangeReg = nReg; + pParse->iRangeReg = iReg; + } +} + +/* +** Mark all temporary registers as being unavailable for reuse. +** +** Always invoke this procedure after coding a subroutine or co-routine +** that might be invoked from other parts of the code, to ensure that +** the sub/co-routine does not use registers in common with the code that +** invokes the sub/co-routine. +*/ +SQLITE_PRIVATE void sqlite3ClearTempRegCache(Parse *pParse){ + pParse->nTempReg = 0; + pParse->nRangeReg = 0; +} + +/* +** Validate that no temporary register falls within the range of +** iFirst..iLast, inclusive. This routine is only call from within assert() +** statements. +*/ +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE int sqlite3NoTempsInRange(Parse *pParse, int iFirst, int iLast){ + int i; + if( pParse->nRangeReg>0 + && pParse->iRangeReg+pParse->nRangeReg > iFirst + && pParse->iRangeReg <= iLast + ){ + return 0; + } + for(i=0; inTempReg; i++){ + if( pParse->aTempReg[i]>=iFirst && pParse->aTempReg[i]<=iLast ){ + return 0; + } + } + return 1; +} +#endif /* SQLITE_DEBUG */ + +/************** End of expr.c ************************************************/ +/************** Begin file alter.c *******************************************/ +/* +** 2005 February 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains C code routines that used to generate VDBE code +** that implements the ALTER TABLE command. +*/ +/* #include "sqliteInt.h" */ + +/* +** The code in this file only exists if we are not omitting the +** ALTER TABLE logic from the build. +*/ +#ifndef SQLITE_OMIT_ALTERTABLE + +/* +** Parameter zName is the name of a table that is about to be altered +** (either with ALTER TABLE ... RENAME TO or ALTER TABLE ... ADD COLUMN). +** If the table is a system table, this function leaves an error message +** in pParse->zErr (system tables may not be altered) and returns non-zero. +** +** Or, if zName is not a system table, zero is returned. +*/ +static int isAlterableTable(Parse *pParse, Table *pTab){ + if( 0==sqlite3StrNICmp(pTab->zName, "sqlite_", 7) +#ifndef SQLITE_OMIT_VIRTUALTABLE + || ( (pTab->tabFlags & TF_Shadow) + && (pParse->db->flags & SQLITE_Defensive) + && pParse->db->nVdbeExec==0 + ) +#endif + ){ + sqlite3ErrorMsg(pParse, "table %s may not be altered", pTab->zName); + return 1; + } + return 0; +} + +/* +** Generate code to verify that the schemas of database zDb and, if +** bTemp is not true, database "temp", can still be parsed. This is +** called at the end of the generation of an ALTER TABLE ... RENAME ... +** statement to ensure that the operation has not rendered any schema +** objects unusable. +*/ +static void renameTestSchema(Parse *pParse, const char *zDb, int bTemp){ + sqlite3NestedParse(pParse, + "SELECT 1 " + "FROM \"%w\".%s " + "WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X'" + " AND sql NOT LIKE 'create virtual%%'" + " AND sqlite_rename_test(%Q, sql, type, name, %d)=NULL ", + zDb, MASTER_NAME, + zDb, bTemp + ); + + if( bTemp==0 ){ + sqlite3NestedParse(pParse, + "SELECT 1 " + "FROM temp.%s " + "WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X'" + " AND sql NOT LIKE 'create virtual%%'" + " AND sqlite_rename_test(%Q, sql, type, name, 1)=NULL ", + MASTER_NAME, zDb + ); + } +} + +/* +** Generate code to reload the schema for database iDb. And, if iDb!=1, for +** the temp database as well. +*/ +static void renameReloadSchema(Parse *pParse, int iDb){ + Vdbe *v = pParse->pVdbe; + if( v ){ + sqlite3ChangeCookie(pParse, iDb); + sqlite3VdbeAddParseSchemaOp(pParse->pVdbe, iDb, 0); + if( iDb!=1 ) sqlite3VdbeAddParseSchemaOp(pParse->pVdbe, 1, 0); + } +} + +/* +** Generate code to implement the "ALTER TABLE xxx RENAME TO yyy" +** command. +*/ +SQLITE_PRIVATE void sqlite3AlterRenameTable( + Parse *pParse, /* Parser context. */ + SrcList *pSrc, /* The table to rename. */ + Token *pName /* The new table name. */ +){ + int iDb; /* Database that contains the table */ + char *zDb; /* Name of database iDb */ + Table *pTab; /* Table being renamed */ + char *zName = 0; /* NULL-terminated version of pName */ + sqlite3 *db = pParse->db; /* Database connection */ + int nTabName; /* Number of UTF-8 characters in zTabName */ + const char *zTabName; /* Original name of the table */ + Vdbe *v; + VTable *pVTab = 0; /* Non-zero if this is a v-tab with an xRename() */ + u32 savedDbFlags; /* Saved value of db->mDbFlags */ + + savedDbFlags = db->mDbFlags; + if( NEVER(db->mallocFailed) ) goto exit_rename_table; + assert( pSrc->nSrc==1 ); + assert( sqlite3BtreeHoldsAllMutexes(pParse->db) ); + + pTab = sqlite3LocateTableItem(pParse, 0, &pSrc->a[0]); + if( !pTab ) goto exit_rename_table; + iDb = sqlite3SchemaToIndex(pParse->db, pTab->pSchema); + zDb = db->aDb[iDb].zDbSName; + db->mDbFlags |= DBFLAG_PreferBuiltin; + + /* Get a NULL terminated version of the new table name. */ + zName = sqlite3NameFromToken(db, pName); + if( !zName ) goto exit_rename_table; + + /* Check that a table or index named 'zName' does not already exist + ** in database iDb. If so, this is an error. + */ + if( sqlite3FindTable(db, zName, zDb) || sqlite3FindIndex(db, zName, zDb) ){ + sqlite3ErrorMsg(pParse, + "there is already another table or index with this name: %s", zName); + goto exit_rename_table; + } + + /* Make sure it is not a system table being altered, or a reserved name + ** that the table is being renamed to. + */ + if( SQLITE_OK!=isAlterableTable(pParse, pTab) ){ + goto exit_rename_table; + } + if( SQLITE_OK!=sqlite3CheckObjectName(pParse,zName,"table",zName) ){ + goto exit_rename_table; + } + +#ifndef SQLITE_OMIT_VIEW + if( pTab->pSelect ){ + sqlite3ErrorMsg(pParse, "view %s may not be altered", pTab->zName); + goto exit_rename_table; + } +#endif + +#ifndef SQLITE_OMIT_AUTHORIZATION + /* Invoke the authorization callback. */ + if( sqlite3AuthCheck(pParse, SQLITE_ALTER_TABLE, zDb, pTab->zName, 0) ){ + goto exit_rename_table; + } +#endif + +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( sqlite3ViewGetColumnNames(pParse, pTab) ){ + goto exit_rename_table; + } + if( IsVirtual(pTab) ){ + pVTab = sqlite3GetVTable(db, pTab); + if( pVTab->pVtab->pModule->xRename==0 ){ + pVTab = 0; + } + } +#endif + + /* Begin a transaction for database iDb. Then modify the schema cookie + ** (since the ALTER TABLE modifies the schema). Call sqlite3MayAbort(), + ** as the scalar functions (e.g. sqlite_rename_table()) invoked by the + ** nested SQL may raise an exception. */ + v = sqlite3GetVdbe(pParse); + if( v==0 ){ + goto exit_rename_table; + } + sqlite3MayAbort(pParse); + + /* figure out how many UTF-8 characters are in zName */ + zTabName = pTab->zName; + nTabName = sqlite3Utf8CharLen(zTabName, -1); + + /* Rewrite all CREATE TABLE, INDEX, TRIGGER or VIEW statements in + ** the schema to use the new table name. */ + sqlite3NestedParse(pParse, + "UPDATE \"%w\".%s SET " + "sql = sqlite_rename_table(%Q, type, name, sql, %Q, %Q, %d) " + "WHERE (type!='index' OR tbl_name=%Q COLLATE nocase)" + "AND name NOT LIKE 'sqliteX_%%' ESCAPE 'X'" + , zDb, MASTER_NAME, zDb, zTabName, zName, (iDb==1), zTabName + ); + + /* Update the tbl_name and name columns of the sqlite_master table + ** as required. */ + sqlite3NestedParse(pParse, + "UPDATE %Q.%s SET " + "tbl_name = %Q, " + "name = CASE " + "WHEN type='table' THEN %Q " + "WHEN name LIKE 'sqliteX_autoindex%%' ESCAPE 'X' " + " AND type='index' THEN " + "'sqlite_autoindex_' || %Q || substr(name,%d+18) " + "ELSE name END " + "WHERE tbl_name=%Q COLLATE nocase AND " + "(type='table' OR type='index' OR type='trigger');", + zDb, MASTER_NAME, + zName, zName, zName, + nTabName, zTabName + ); + +#ifndef SQLITE_OMIT_AUTOINCREMENT + /* If the sqlite_sequence table exists in this database, then update + ** it with the new table name. + */ + if( sqlite3FindTable(db, "sqlite_sequence", zDb) ){ + sqlite3NestedParse(pParse, + "UPDATE \"%w\".sqlite_sequence set name = %Q WHERE name = %Q", + zDb, zName, pTab->zName); + } +#endif + + /* If the table being renamed is not itself part of the temp database, + ** edit view and trigger definitions within the temp database + ** as required. */ + if( iDb!=1 ){ + sqlite3NestedParse(pParse, + "UPDATE sqlite_temp_master SET " + "sql = sqlite_rename_table(%Q, type, name, sql, %Q, %Q, 1), " + "tbl_name = " + "CASE WHEN tbl_name=%Q COLLATE nocase AND " + " sqlite_rename_test(%Q, sql, type, name, 1) " + "THEN %Q ELSE tbl_name END " + "WHERE type IN ('view', 'trigger')" + , zDb, zTabName, zName, zTabName, zDb, zName); + } + + /* If this is a virtual table, invoke the xRename() function if + ** one is defined. The xRename() callback will modify the names + ** of any resources used by the v-table implementation (including other + ** SQLite tables) that are identified by the name of the virtual table. + */ +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( pVTab ){ + int i = ++pParse->nMem; + sqlite3VdbeLoadString(v, i, zName); + sqlite3VdbeAddOp4(v, OP_VRename, i, 0, 0,(const char*)pVTab, P4_VTAB); + } +#endif + + renameReloadSchema(pParse, iDb); + renameTestSchema(pParse, zDb, iDb==1); + +exit_rename_table: + sqlite3SrcListDelete(db, pSrc); + sqlite3DbFree(db, zName); + db->mDbFlags = savedDbFlags; +} + +/* +** This function is called after an "ALTER TABLE ... ADD" statement +** has been parsed. Argument pColDef contains the text of the new +** column definition. +** +** The Table structure pParse->pNewTable was extended to include +** the new column during parsing. +*/ +SQLITE_PRIVATE void sqlite3AlterFinishAddColumn(Parse *pParse, Token *pColDef){ + Table *pNew; /* Copy of pParse->pNewTable */ + Table *pTab; /* Table being altered */ + int iDb; /* Database number */ + const char *zDb; /* Database name */ + const char *zTab; /* Table name */ + char *zCol; /* Null-terminated column definition */ + Column *pCol; /* The new column */ + Expr *pDflt; /* Default value for the new column */ + sqlite3 *db; /* The database connection; */ + Vdbe *v; /* The prepared statement under construction */ + int r1; /* Temporary registers */ + + db = pParse->db; + if( pParse->nErr || db->mallocFailed ) return; + pNew = pParse->pNewTable; + assert( pNew ); + + assert( sqlite3BtreeHoldsAllMutexes(db) ); + iDb = sqlite3SchemaToIndex(db, pNew->pSchema); + zDb = db->aDb[iDb].zDbSName; + zTab = &pNew->zName[16]; /* Skip the "sqlite_altertab_" prefix on the name */ + pCol = &pNew->aCol[pNew->nCol-1]; + pDflt = pCol->pDflt; + pTab = sqlite3FindTable(db, zTab, zDb); + assert( pTab ); + +#ifndef SQLITE_OMIT_AUTHORIZATION + /* Invoke the authorization callback. */ + if( sqlite3AuthCheck(pParse, SQLITE_ALTER_TABLE, zDb, pTab->zName, 0) ){ + return; + } +#endif + + /* If the default value for the new column was specified with a + ** literal NULL, then set pDflt to 0. This simplifies checking + ** for an SQL NULL default below. + */ + assert( pDflt==0 || pDflt->op==TK_SPAN ); + if( pDflt && pDflt->pLeft->op==TK_NULL ){ + pDflt = 0; + } + + /* Check that the new column is not specified as PRIMARY KEY or UNIQUE. + ** If there is a NOT NULL constraint, then the default value for the + ** column must not be NULL. + */ + if( pCol->colFlags & COLFLAG_PRIMKEY ){ + sqlite3ErrorMsg(pParse, "Cannot add a PRIMARY KEY column"); + return; + } + if( pNew->pIndex ){ + sqlite3ErrorMsg(pParse, "Cannot add a UNIQUE column"); + return; + } + if( (db->flags&SQLITE_ForeignKeys) && pNew->pFKey && pDflt ){ + sqlite3ErrorMsg(pParse, + "Cannot add a REFERENCES column with non-NULL default value"); + return; + } + if( pCol->notNull && !pDflt ){ + sqlite3ErrorMsg(pParse, + "Cannot add a NOT NULL column with default value NULL"); + return; + } + + /* Ensure the default expression is something that sqlite3ValueFromExpr() + ** can handle (i.e. not CURRENT_TIME etc.) + */ + if( pDflt ){ + sqlite3_value *pVal = 0; + int rc; + rc = sqlite3ValueFromExpr(db, pDflt, SQLITE_UTF8, SQLITE_AFF_BLOB, &pVal); + assert( rc==SQLITE_OK || rc==SQLITE_NOMEM ); + if( rc!=SQLITE_OK ){ + assert( db->mallocFailed == 1 ); + return; + } + if( !pVal ){ + sqlite3ErrorMsg(pParse, "Cannot add a column with non-constant default"); + return; + } + sqlite3ValueFree(pVal); + } + + /* Modify the CREATE TABLE statement. */ + zCol = sqlite3DbStrNDup(db, (char*)pColDef->z, pColDef->n); + if( zCol ){ + char *zEnd = &zCol[pColDef->n-1]; + u32 savedDbFlags = db->mDbFlags; + while( zEnd>zCol && (*zEnd==';' || sqlite3Isspace(*zEnd)) ){ + *zEnd-- = '\0'; + } + db->mDbFlags |= DBFLAG_PreferBuiltin; + sqlite3NestedParse(pParse, + "UPDATE \"%w\".%s SET " + "sql = substr(sql,1,%d) || ', ' || %Q || substr(sql,%d) " + "WHERE type = 'table' AND name = %Q", + zDb, MASTER_NAME, pNew->addColOffset, zCol, pNew->addColOffset+1, + zTab + ); + sqlite3DbFree(db, zCol); + db->mDbFlags = savedDbFlags; + } + + /* Make sure the schema version is at least 3. But do not upgrade + ** from less than 3 to 4, as that will corrupt any preexisting DESC + ** index. + */ + v = sqlite3GetVdbe(pParse); + if( v ){ + r1 = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp3(v, OP_ReadCookie, iDb, r1, BTREE_FILE_FORMAT); + sqlite3VdbeUsesBtree(v, iDb); + sqlite3VdbeAddOp2(v, OP_AddImm, r1, -2); + sqlite3VdbeAddOp2(v, OP_IfPos, r1, sqlite3VdbeCurrentAddr(v)+2); + VdbeCoverage(v); + sqlite3VdbeAddOp3(v, OP_SetCookie, iDb, BTREE_FILE_FORMAT, 3); + sqlite3ReleaseTempReg(pParse, r1); + } + + /* Reload the table definition */ + renameReloadSchema(pParse, iDb); +} + +/* +** This function is called by the parser after the table-name in +** an "ALTER TABLE ADD" statement is parsed. Argument +** pSrc is the full-name of the table being altered. +** +** This routine makes a (partial) copy of the Table structure +** for the table being altered and sets Parse.pNewTable to point +** to it. Routines called by the parser as the column definition +** is parsed (i.e. sqlite3AddColumn()) add the new Column data to +** the copy. The copy of the Table structure is deleted by tokenize.c +** after parsing is finished. +** +** Routine sqlite3AlterFinishAddColumn() will be called to complete +** coding the "ALTER TABLE ... ADD" statement. +*/ +SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(Parse *pParse, SrcList *pSrc){ + Table *pNew; + Table *pTab; + int iDb; + int i; + int nAlloc; + sqlite3 *db = pParse->db; + + /* Look up the table being altered. */ + assert( pParse->pNewTable==0 ); + assert( sqlite3BtreeHoldsAllMutexes(db) ); + if( db->mallocFailed ) goto exit_begin_add_column; + pTab = sqlite3LocateTableItem(pParse, 0, &pSrc->a[0]); + if( !pTab ) goto exit_begin_add_column; + +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( IsVirtual(pTab) ){ + sqlite3ErrorMsg(pParse, "virtual tables may not be altered"); + goto exit_begin_add_column; + } +#endif + + /* Make sure this is not an attempt to ALTER a view. */ + if( pTab->pSelect ){ + sqlite3ErrorMsg(pParse, "Cannot add a column to a view"); + goto exit_begin_add_column; + } + if( SQLITE_OK!=isAlterableTable(pParse, pTab) ){ + goto exit_begin_add_column; + } + + sqlite3MayAbort(pParse); + assert( pTab->addColOffset>0 ); + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + + /* Put a copy of the Table struct in Parse.pNewTable for the + ** sqlite3AddColumn() function and friends to modify. But modify + ** the name by adding an "sqlite_altertab_" prefix. By adding this + ** prefix, we insure that the name will not collide with an existing + ** table because user table are not allowed to have the "sqlite_" + ** prefix on their name. + */ + pNew = (Table*)sqlite3DbMallocZero(db, sizeof(Table)); + if( !pNew ) goto exit_begin_add_column; + pParse->pNewTable = pNew; + pNew->nTabRef = 1; + pNew->nCol = pTab->nCol; + assert( pNew->nCol>0 ); + nAlloc = (((pNew->nCol-1)/8)*8)+8; + assert( nAlloc>=pNew->nCol && nAlloc%8==0 && nAlloc-pNew->nCol<8 ); + pNew->aCol = (Column*)sqlite3DbMallocZero(db, sizeof(Column)*nAlloc); + pNew->zName = sqlite3MPrintf(db, "sqlite_altertab_%s", pTab->zName); + if( !pNew->aCol || !pNew->zName ){ + assert( db->mallocFailed ); + goto exit_begin_add_column; + } + memcpy(pNew->aCol, pTab->aCol, sizeof(Column)*pNew->nCol); + for(i=0; inCol; i++){ + Column *pCol = &pNew->aCol[i]; + pCol->zName = sqlite3DbStrDup(db, pCol->zName); + pCol->zColl = 0; + pCol->pDflt = 0; + } + pNew->pSchema = db->aDb[iDb].pSchema; + pNew->addColOffset = pTab->addColOffset; + pNew->nTabRef = 1; + +exit_begin_add_column: + sqlite3SrcListDelete(db, pSrc); + return; +} + +/* +** Parameter pTab is the subject of an ALTER TABLE ... RENAME COLUMN +** command. This function checks if the table is a view or virtual +** table (columns of views or virtual tables may not be renamed). If so, +** it loads an error message into pParse and returns non-zero. +** +** Or, if pTab is not a view or virtual table, zero is returned. +*/ +#if !defined(SQLITE_OMIT_VIEW) || !defined(SQLITE_OMIT_VIRTUALTABLE) +static int isRealTable(Parse *pParse, Table *pTab){ + const char *zType = 0; +#ifndef SQLITE_OMIT_VIEW + if( pTab->pSelect ){ + zType = "view"; + } +#endif +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( IsVirtual(pTab) ){ + zType = "virtual table"; + } +#endif + if( zType ){ + sqlite3ErrorMsg( + pParse, "cannot rename columns of %s \"%s\"", zType, pTab->zName + ); + return 1; + } + return 0; +} +#else /* !defined(SQLITE_OMIT_VIEW) || !defined(SQLITE_OMIT_VIRTUALTABLE) */ +# define isRealTable(x,y) (0) +#endif + +/* +** Handles the following parser reduction: +** +** cmd ::= ALTER TABLE pSrc RENAME COLUMN pOld TO pNew +*/ +SQLITE_PRIVATE void sqlite3AlterRenameColumn( + Parse *pParse, /* Parsing context */ + SrcList *pSrc, /* Table being altered. pSrc->nSrc==1 */ + Token *pOld, /* Name of column being changed */ + Token *pNew /* New column name */ +){ + sqlite3 *db = pParse->db; /* Database connection */ + Table *pTab; /* Table being updated */ + int iCol; /* Index of column being renamed */ + char *zOld = 0; /* Old column name */ + char *zNew = 0; /* New column name */ + const char *zDb; /* Name of schema containing the table */ + int iSchema; /* Index of the schema */ + int bQuote; /* True to quote the new name */ + + /* Locate the table to be altered */ + pTab = sqlite3LocateTableItem(pParse, 0, &pSrc->a[0]); + if( !pTab ) goto exit_rename_column; + + /* Cannot alter a system table */ + if( SQLITE_OK!=isAlterableTable(pParse, pTab) ) goto exit_rename_column; + if( SQLITE_OK!=isRealTable(pParse, pTab) ) goto exit_rename_column; + + /* Which schema holds the table to be altered */ + iSchema = sqlite3SchemaToIndex(db, pTab->pSchema); + assert( iSchema>=0 ); + zDb = db->aDb[iSchema].zDbSName; + +#ifndef SQLITE_OMIT_AUTHORIZATION + /* Invoke the authorization callback. */ + if( sqlite3AuthCheck(pParse, SQLITE_ALTER_TABLE, zDb, pTab->zName, 0) ){ + goto exit_rename_column; + } +#endif + + /* Make sure the old name really is a column name in the table to be + ** altered. Set iCol to be the index of the column being renamed */ + zOld = sqlite3NameFromToken(db, pOld); + if( !zOld ) goto exit_rename_column; + for(iCol=0; iColnCol; iCol++){ + if( 0==sqlite3StrICmp(pTab->aCol[iCol].zName, zOld) ) break; + } + if( iCol==pTab->nCol ){ + sqlite3ErrorMsg(pParse, "no such column: \"%s\"", zOld); + goto exit_rename_column; + } + + /* Do the rename operation using a recursive UPDATE statement that + ** uses the sqlite_rename_column() SQL function to compute the new + ** CREATE statement text for the sqlite_master table. + */ + sqlite3MayAbort(pParse); + zNew = sqlite3NameFromToken(db, pNew); + if( !zNew ) goto exit_rename_column; + assert( pNew->n>0 ); + bQuote = sqlite3Isquote(pNew->z[0]); + sqlite3NestedParse(pParse, + "UPDATE \"%w\".%s SET " + "sql = sqlite_rename_column(sql, type, name, %Q, %Q, %d, %Q, %d, %d) " + "WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X' " + " AND (type != 'index' OR tbl_name = %Q)" + " AND sql NOT LIKE 'create virtual%%'", + zDb, MASTER_NAME, + zDb, pTab->zName, iCol, zNew, bQuote, iSchema==1, + pTab->zName + ); + + sqlite3NestedParse(pParse, + "UPDATE temp.%s SET " + "sql = sqlite_rename_column(sql, type, name, %Q, %Q, %d, %Q, %d, 1) " + "WHERE type IN ('trigger', 'view')", + MASTER_NAME, + zDb, pTab->zName, iCol, zNew, bQuote + ); + + /* Drop and reload the database schema. */ + renameReloadSchema(pParse, iSchema); + renameTestSchema(pParse, zDb, iSchema==1); + + exit_rename_column: + sqlite3SrcListDelete(db, pSrc); + sqlite3DbFree(db, zOld); + sqlite3DbFree(db, zNew); + return; +} + +/* +** Each RenameToken object maps an element of the parse tree into +** the token that generated that element. The parse tree element +** might be one of: +** +** * A pointer to an Expr that represents an ID +** * The name of a table column in Column.zName +** +** A list of RenameToken objects can be constructed during parsing. +** Each new object is created by sqlite3RenameTokenMap(). +** As the parse tree is transformed, the sqlite3RenameTokenRemap() +** routine is used to keep the mapping current. +** +** After the parse finishes, renameTokenFind() routine can be used +** to look up the actual token value that created some element in +** the parse tree. +*/ +struct RenameToken { + void *p; /* Parse tree element created by token t */ + Token t; /* The token that created parse tree element p */ + RenameToken *pNext; /* Next is a list of all RenameToken objects */ +}; + +/* +** The context of an ALTER TABLE RENAME COLUMN operation that gets passed +** down into the Walker. +*/ +typedef struct RenameCtx RenameCtx; +struct RenameCtx { + RenameToken *pList; /* List of tokens to overwrite */ + int nList; /* Number of tokens in pList */ + int iCol; /* Index of column being renamed */ + Table *pTab; /* Table being ALTERed */ + const char *zOld; /* Old column name */ +}; + +#ifdef SQLITE_DEBUG +/* +** This function is only for debugging. It performs two tasks: +** +** 1. Checks that pointer pPtr does not already appear in the +** rename-token list. +** +** 2. Dereferences each pointer in the rename-token list. +** +** The second is most effective when debugging under valgrind or +** address-sanitizer or similar. If any of these pointers no longer +** point to valid objects, an exception is raised by the memory-checking +** tool. +** +** The point of this is to prevent comparisons of invalid pointer values. +** Even though this always seems to work, it is undefined according to the +** C standard. Example of undefined comparison: +** +** sqlite3_free(x); +** if( x==y ) ... +** +** Technically, as x no longer points into a valid object or to the byte +** following a valid object, it may not be used in comparison operations. +*/ +static void renameTokenCheckAll(Parse *pParse, void *pPtr){ + if( pParse->nErr==0 && pParse->db->mallocFailed==0 ){ + RenameToken *p; + u8 i = 0; + for(p=pParse->pRename; p; p=p->pNext){ + if( p->p ){ + assert( p->p!=pPtr ); + i += *(u8*)(p->p); + } + } + } +} +#else +# define renameTokenCheckAll(x,y) +#endif + +/* +** Remember that the parser tree element pPtr was created using +** the token pToken. +** +** In other words, construct a new RenameToken object and add it +** to the list of RenameToken objects currently being built up +** in pParse->pRename. +** +** The pPtr argument is returned so that this routine can be used +** with tail recursion in tokenExpr() routine, for a small performance +** improvement. +*/ +SQLITE_PRIVATE void *sqlite3RenameTokenMap(Parse *pParse, void *pPtr, Token *pToken){ + RenameToken *pNew; + assert( pPtr || pParse->db->mallocFailed ); + renameTokenCheckAll(pParse, pPtr); + pNew = sqlite3DbMallocZero(pParse->db, sizeof(RenameToken)); + if( pNew ){ + pNew->p = pPtr; + pNew->t = *pToken; + pNew->pNext = pParse->pRename; + pParse->pRename = pNew; + } + + return pPtr; +} + +/* +** It is assumed that there is already a RenameToken object associated +** with parse tree element pFrom. This function remaps the associated token +** to parse tree element pTo. +*/ +SQLITE_PRIVATE void sqlite3RenameTokenRemap(Parse *pParse, void *pTo, void *pFrom){ + RenameToken *p; + renameTokenCheckAll(pParse, pTo); + for(p=pParse->pRename; p; p=p->pNext){ + if( p->p==pFrom ){ + p->p = pTo; + break; + } + } +} + +/* +** Walker callback used by sqlite3RenameExprUnmap(). +*/ +static int renameUnmapExprCb(Walker *pWalker, Expr *pExpr){ + Parse *pParse = pWalker->pParse; + sqlite3RenameTokenRemap(pParse, 0, (void*)pExpr); + return WRC_Continue; +} + +/* +** Walker callback used by sqlite3RenameExprUnmap(). +*/ +static int renameUnmapSelectCb(Walker *pWalker, Select *p){ + Parse *pParse = pWalker->pParse; + int i; + if( ALWAYS(p->pEList) ){ + ExprList *pList = p->pEList; + for(i=0; inExpr; i++){ + if( pList->a[i].zName ){ + sqlite3RenameTokenRemap(pParse, 0, (void*)pList->a[i].zName); + } + } + } + if( ALWAYS(p->pSrc) ){ /* Every Select as a SrcList, even if it is empty */ + SrcList *pSrc = p->pSrc; + for(i=0; inSrc; i++){ + sqlite3RenameTokenRemap(pParse, 0, (void*)pSrc->a[i].zName); + } + } + return WRC_Continue; +} + +/* +** Remove all nodes that are part of expression pExpr from the rename list. +*/ +SQLITE_PRIVATE void sqlite3RenameExprUnmap(Parse *pParse, Expr *pExpr){ + Walker sWalker; + memset(&sWalker, 0, sizeof(Walker)); + sWalker.pParse = pParse; + sWalker.xExprCallback = renameUnmapExprCb; + sWalker.xSelectCallback = renameUnmapSelectCb; + sqlite3WalkExpr(&sWalker, pExpr); +} + +/* +** Remove all nodes that are part of expression-list pEList from the +** rename list. +*/ +SQLITE_PRIVATE void sqlite3RenameExprlistUnmap(Parse *pParse, ExprList *pEList){ + if( pEList ){ + int i; + Walker sWalker; + memset(&sWalker, 0, sizeof(Walker)); + sWalker.pParse = pParse; + sWalker.xExprCallback = renameUnmapExprCb; + sqlite3WalkExprList(&sWalker, pEList); + for(i=0; inExpr; i++){ + sqlite3RenameTokenRemap(pParse, 0, (void*)pEList->a[i].zName); + } + } +} + +/* +** Free the list of RenameToken objects given in the second argument +*/ +static void renameTokenFree(sqlite3 *db, RenameToken *pToken){ + RenameToken *pNext; + RenameToken *p; + for(p=pToken; p; p=pNext){ + pNext = p->pNext; + sqlite3DbFree(db, p); + } +} + +/* +** Search the Parse object passed as the first argument for a RenameToken +** object associated with parse tree element pPtr. If found, remove it +** from the Parse object and add it to the list maintained by the +** RenameCtx object passed as the second argument. +*/ +static void renameTokenFind(Parse *pParse, struct RenameCtx *pCtx, void *pPtr){ + RenameToken **pp; + assert( pPtr!=0 ); + for(pp=&pParse->pRename; (*pp); pp=&(*pp)->pNext){ + if( (*pp)->p==pPtr ){ + RenameToken *pToken = *pp; + *pp = pToken->pNext; + pToken->pNext = pCtx->pList; + pCtx->pList = pToken; + pCtx->nList++; + break; + } + } +} + +/* +** Iterate through the Select objects that are part of WITH clauses attached +** to select statement pSelect. +*/ +static void renameWalkWith(Walker *pWalker, Select *pSelect){ + if( pSelect->pWith ){ + int i; + for(i=0; ipWith->nCte; i++){ + Select *p = pSelect->pWith->a[i].pSelect; + NameContext sNC; + memset(&sNC, 0, sizeof(sNC)); + sNC.pParse = pWalker->pParse; + sqlite3SelectPrep(sNC.pParse, p, &sNC); + sqlite3WalkSelect(pWalker, p); + } + } +} + +/* +** This is a Walker select callback. It does nothing. It is only required +** because without a dummy callback, sqlite3WalkExpr() and similar do not +** descend into sub-select statements. +*/ +static int renameColumnSelectCb(Walker *pWalker, Select *p){ + renameWalkWith(pWalker, p); + return WRC_Continue; +} + +/* +** This is a Walker expression callback. +** +** For every TK_COLUMN node in the expression tree, search to see +** if the column being references is the column being renamed by an +** ALTER TABLE statement. If it is, then attach its associated +** RenameToken object to the list of RenameToken objects being +** constructed in RenameCtx object at pWalker->u.pRename. +*/ +static int renameColumnExprCb(Walker *pWalker, Expr *pExpr){ + RenameCtx *p = pWalker->u.pRename; + if( pExpr->op==TK_TRIGGER + && pExpr->iColumn==p->iCol + && pWalker->pParse->pTriggerTab==p->pTab + ){ + renameTokenFind(pWalker->pParse, p, (void*)pExpr); + }else if( pExpr->op==TK_COLUMN + && pExpr->iColumn==p->iCol + && p->pTab==pExpr->y.pTab + ){ + renameTokenFind(pWalker->pParse, p, (void*)pExpr); + } + return WRC_Continue; +} + +/* +** The RenameCtx contains a list of tokens that reference a column that +** is being renamed by an ALTER TABLE statement. Return the "last" +** RenameToken in the RenameCtx and remove that RenameToken from the +** RenameContext. "Last" means the last RenameToken encountered when +** the input SQL is parsed from left to right. Repeated calls to this routine +** return all column name tokens in the order that they are encountered +** in the SQL statement. +*/ +static RenameToken *renameColumnTokenNext(RenameCtx *pCtx){ + RenameToken *pBest = pCtx->pList; + RenameToken *pToken; + RenameToken **pp; + + for(pToken=pBest->pNext; pToken; pToken=pToken->pNext){ + if( pToken->t.z>pBest->t.z ) pBest = pToken; + } + for(pp=&pCtx->pList; *pp!=pBest; pp=&(*pp)->pNext); + *pp = pBest->pNext; + + return pBest; +} + +/* +** An error occured while parsing or otherwise processing a database +** object (either pParse->pNewTable, pNewIndex or pNewTrigger) as part of an +** ALTER TABLE RENAME COLUMN program. The error message emitted by the +** sub-routine is currently stored in pParse->zErrMsg. This function +** adds context to the error message and then stores it in pCtx. +*/ +static void renameColumnParseError( + sqlite3_context *pCtx, + int bPost, + sqlite3_value *pType, + sqlite3_value *pObject, + Parse *pParse +){ + const char *zT = (const char*)sqlite3_value_text(pType); + const char *zN = (const char*)sqlite3_value_text(pObject); + char *zErr; + + zErr = sqlite3_mprintf("error in %s %s%s: %s", + zT, zN, (bPost ? " after rename" : ""), + pParse->zErrMsg + ); + sqlite3_result_error(pCtx, zErr, -1); + sqlite3_free(zErr); +} + +/* +** For each name in the the expression-list pEList (i.e. each +** pEList->a[i].zName) that matches the string in zOld, extract the +** corresponding rename-token from Parse object pParse and add it +** to the RenameCtx pCtx. +*/ +static void renameColumnElistNames( + Parse *pParse, + RenameCtx *pCtx, + ExprList *pEList, + const char *zOld +){ + if( pEList ){ + int i; + for(i=0; inExpr; i++){ + char *zName = pEList->a[i].zName; + if( 0==sqlite3_stricmp(zName, zOld) ){ + renameTokenFind(pParse, pCtx, (void*)zName); + } + } + } +} + +/* +** For each name in the the id-list pIdList (i.e. each pIdList->a[i].zName) +** that matches the string in zOld, extract the corresponding rename-token +** from Parse object pParse and add it to the RenameCtx pCtx. +*/ +static void renameColumnIdlistNames( + Parse *pParse, + RenameCtx *pCtx, + IdList *pIdList, + const char *zOld +){ + if( pIdList ){ + int i; + for(i=0; inId; i++){ + char *zName = pIdList->a[i].zName; + if( 0==sqlite3_stricmp(zName, zOld) ){ + renameTokenFind(pParse, pCtx, (void*)zName); + } + } + } +} + +/* +** Parse the SQL statement zSql using Parse object (*p). The Parse object +** is initialized by this function before it is used. +*/ +static int renameParseSql( + Parse *p, /* Memory to use for Parse object */ + const char *zDb, /* Name of schema SQL belongs to */ + int bTable, /* 1 -> RENAME TABLE, 0 -> RENAME COLUMN */ + sqlite3 *db, /* Database handle */ + const char *zSql, /* SQL to parse */ + int bTemp /* True if SQL is from temp schema */ +){ + int rc; + char *zErr = 0; + + db->init.iDb = bTemp ? 1 : sqlite3FindDbName(db, zDb); + + /* Parse the SQL statement passed as the first argument. If no error + ** occurs and the parse does not result in a new table, index or + ** trigger object, the database must be corrupt. */ + memset(p, 0, sizeof(Parse)); + p->eParseMode = (bTable ? PARSE_MODE_RENAME_TABLE : PARSE_MODE_RENAME_COLUMN); + p->db = db; + p->nQueryLoop = 1; + rc = sqlite3RunParser(p, zSql, &zErr); + assert( p->zErrMsg==0 ); + assert( rc!=SQLITE_OK || zErr==0 ); + p->zErrMsg = zErr; + if( db->mallocFailed ) rc = SQLITE_NOMEM; + if( rc==SQLITE_OK + && p->pNewTable==0 && p->pNewIndex==0 && p->pNewTrigger==0 + ){ + rc = SQLITE_CORRUPT_BKPT; + } + +#ifdef SQLITE_DEBUG + /* Ensure that all mappings in the Parse.pRename list really do map to + ** a part of the input string. */ + if( rc==SQLITE_OK ){ + int nSql = sqlite3Strlen30(zSql); + RenameToken *pToken; + for(pToken=p->pRename; pToken; pToken=pToken->pNext){ + assert( pToken->t.z>=zSql && &pToken->t.z[pToken->t.n]<=&zSql[nSql] ); + } + } +#endif + + db->init.iDb = 0; + return rc; +} + +/* +** This function edits SQL statement zSql, replacing each token identified +** by the linked list pRename with the text of zNew. If argument bQuote is +** true, then zNew is always quoted first. If no error occurs, the result +** is loaded into context object pCtx as the result. +** +** Or, if an error occurs (i.e. an OOM condition), an error is left in +** pCtx and an SQLite error code returned. +*/ +static int renameEditSql( + sqlite3_context *pCtx, /* Return result here */ + RenameCtx *pRename, /* Rename context */ + const char *zSql, /* SQL statement to edit */ + const char *zNew, /* New token text */ + int bQuote /* True to always quote token */ +){ + int nNew = sqlite3Strlen30(zNew); + int nSql = sqlite3Strlen30(zSql); + sqlite3 *db = sqlite3_context_db_handle(pCtx); + int rc = SQLITE_OK; + char *zQuot; + char *zOut; + int nQuot; + + /* Set zQuot to point to a buffer containing a quoted copy of the + ** identifier zNew. If the corresponding identifier in the original + ** ALTER TABLE statement was quoted (bQuote==1), then set zNew to + ** point to zQuot so that all substitutions are made using the + ** quoted version of the new column name. */ + zQuot = sqlite3MPrintf(db, "\"%w\"", zNew); + if( zQuot==0 ){ + return SQLITE_NOMEM; + }else{ + nQuot = sqlite3Strlen30(zQuot); + } + if( bQuote ){ + zNew = zQuot; + nNew = nQuot; + } + + /* At this point pRename->pList contains a list of RenameToken objects + ** corresponding to all tokens in the input SQL that must be replaced + ** with the new column name. All that remains is to construct and + ** return the edited SQL string. */ + assert( nQuot>=nNew ); + zOut = sqlite3DbMallocZero(db, nSql + pRename->nList*nQuot + 1); + if( zOut ){ + int nOut = nSql; + memcpy(zOut, zSql, nSql); + while( pRename->pList ){ + int iOff; /* Offset of token to replace in zOut */ + RenameToken *pBest = renameColumnTokenNext(pRename); + + u32 nReplace; + const char *zReplace; + if( sqlite3IsIdChar(*pBest->t.z) ){ + nReplace = nNew; + zReplace = zNew; + }else{ + nReplace = nQuot; + zReplace = zQuot; + } + + iOff = pBest->t.z - zSql; + if( pBest->t.n!=nReplace ){ + memmove(&zOut[iOff + nReplace], &zOut[iOff + pBest->t.n], + nOut - (iOff + pBest->t.n) + ); + nOut += nReplace - pBest->t.n; + zOut[nOut] = '\0'; + } + memcpy(&zOut[iOff], zReplace, nReplace); + sqlite3DbFree(db, pBest); + } + + sqlite3_result_text(pCtx, zOut, -1, SQLITE_TRANSIENT); + sqlite3DbFree(db, zOut); + }else{ + rc = SQLITE_NOMEM; + } + + sqlite3_free(zQuot); + return rc; +} + +/* +** Resolve all symbols in the trigger at pParse->pNewTrigger, assuming +** it was read from the schema of database zDb. Return SQLITE_OK if +** successful. Otherwise, return an SQLite error code and leave an error +** message in the Parse object. +*/ +static int renameResolveTrigger(Parse *pParse, const char *zDb){ + sqlite3 *db = pParse->db; + Trigger *pNew = pParse->pNewTrigger; + TriggerStep *pStep; + NameContext sNC; + int rc = SQLITE_OK; + + memset(&sNC, 0, sizeof(sNC)); + sNC.pParse = pParse; + assert( pNew->pTabSchema ); + pParse->pTriggerTab = sqlite3FindTable(db, pNew->table, + db->aDb[sqlite3SchemaToIndex(db, pNew->pTabSchema)].zDbSName + ); + pParse->eTriggerOp = pNew->op; + /* ALWAYS() because if the table of the trigger does not exist, the + ** error would have been hit before this point */ + if( ALWAYS(pParse->pTriggerTab) ){ + rc = sqlite3ViewGetColumnNames(pParse, pParse->pTriggerTab); + } + + /* Resolve symbols in WHEN clause */ + if( rc==SQLITE_OK && pNew->pWhen ){ + rc = sqlite3ResolveExprNames(&sNC, pNew->pWhen); + } + + for(pStep=pNew->step_list; rc==SQLITE_OK && pStep; pStep=pStep->pNext){ + if( pStep->pSelect ){ + sqlite3SelectPrep(pParse, pStep->pSelect, &sNC); + if( pParse->nErr ) rc = pParse->rc; + } + if( rc==SQLITE_OK && pStep->zTarget ){ + Table *pTarget = sqlite3LocateTable(pParse, 0, pStep->zTarget, zDb); + if( pTarget==0 ){ + rc = SQLITE_ERROR; + }else if( SQLITE_OK==(rc = sqlite3ViewGetColumnNames(pParse, pTarget)) ){ + SrcList sSrc; + memset(&sSrc, 0, sizeof(sSrc)); + sSrc.nSrc = 1; + sSrc.a[0].zName = pStep->zTarget; + sSrc.a[0].pTab = pTarget; + sNC.pSrcList = &sSrc; + if( pStep->pWhere ){ + rc = sqlite3ResolveExprNames(&sNC, pStep->pWhere); + } + if( rc==SQLITE_OK ){ + rc = sqlite3ResolveExprListNames(&sNC, pStep->pExprList); + } + assert( !pStep->pUpsert || (!pStep->pWhere && !pStep->pExprList) ); + if( pStep->pUpsert ){ + Upsert *pUpsert = pStep->pUpsert; + assert( rc==SQLITE_OK ); + pUpsert->pUpsertSrc = &sSrc; + sNC.uNC.pUpsert = pUpsert; + sNC.ncFlags = NC_UUpsert; + rc = sqlite3ResolveExprListNames(&sNC, pUpsert->pUpsertTarget); + if( rc==SQLITE_OK ){ + ExprList *pUpsertSet = pUpsert->pUpsertSet; + rc = sqlite3ResolveExprListNames(&sNC, pUpsertSet); + } + if( rc==SQLITE_OK ){ + rc = sqlite3ResolveExprNames(&sNC, pUpsert->pUpsertWhere); + } + if( rc==SQLITE_OK ){ + rc = sqlite3ResolveExprNames(&sNC, pUpsert->pUpsertTargetWhere); + } + sNC.ncFlags = 0; + } + sNC.pSrcList = 0; + } + } + } + return rc; +} + +/* +** Invoke sqlite3WalkExpr() or sqlite3WalkSelect() on all Select or Expr +** objects that are part of the trigger passed as the second argument. +*/ +static void renameWalkTrigger(Walker *pWalker, Trigger *pTrigger){ + TriggerStep *pStep; + + /* Find tokens to edit in WHEN clause */ + sqlite3WalkExpr(pWalker, pTrigger->pWhen); + + /* Find tokens to edit in trigger steps */ + for(pStep=pTrigger->step_list; pStep; pStep=pStep->pNext){ + sqlite3WalkSelect(pWalker, pStep->pSelect); + sqlite3WalkExpr(pWalker, pStep->pWhere); + sqlite3WalkExprList(pWalker, pStep->pExprList); + if( pStep->pUpsert ){ + Upsert *pUpsert = pStep->pUpsert; + sqlite3WalkExprList(pWalker, pUpsert->pUpsertTarget); + sqlite3WalkExprList(pWalker, pUpsert->pUpsertSet); + sqlite3WalkExpr(pWalker, pUpsert->pUpsertWhere); + sqlite3WalkExpr(pWalker, pUpsert->pUpsertTargetWhere); + } + } +} + +/* +** Free the contents of Parse object (*pParse). Do not free the memory +** occupied by the Parse object itself. +*/ +static void renameParseCleanup(Parse *pParse){ + sqlite3 *db = pParse->db; + Index *pIdx; + if( pParse->pVdbe ){ + sqlite3VdbeFinalize(pParse->pVdbe); + } + sqlite3DeleteTable(db, pParse->pNewTable); + while( (pIdx = pParse->pNewIndex)!=0 ){ + pParse->pNewIndex = pIdx->pNext; + sqlite3FreeIndex(db, pIdx); + } + sqlite3DeleteTrigger(db, pParse->pNewTrigger); + sqlite3DbFree(db, pParse->zErrMsg); + renameTokenFree(db, pParse->pRename); + sqlite3ParserReset(pParse); +} + +/* +** SQL function: +** +** sqlite_rename_column(zSql, iCol, bQuote, zNew, zTable, zOld) +** +** 0. zSql: SQL statement to rewrite +** 1. type: Type of object ("table", "view" etc.) +** 2. object: Name of object +** 3. Database: Database name (e.g. "main") +** 4. Table: Table name +** 5. iCol: Index of column to rename +** 6. zNew: New column name +** 7. bQuote: Non-zero if the new column name should be quoted. +** 8. bTemp: True if zSql comes from temp schema +** +** Do a column rename operation on the CREATE statement given in zSql. +** The iCol-th column (left-most is 0) of table zTable is renamed from zCol +** into zNew. The name should be quoted if bQuote is true. +** +** This function is used internally by the ALTER TABLE RENAME COLUMN command. +** It is only accessible to SQL created using sqlite3NestedParse(). It is +** not reachable from ordinary SQL passed into sqlite3_prepare(). +*/ +static void renameColumnFunc( + sqlite3_context *context, + int NotUsed, + sqlite3_value **argv +){ + sqlite3 *db = sqlite3_context_db_handle(context); + RenameCtx sCtx; + const char *zSql = (const char*)sqlite3_value_text(argv[0]); + const char *zDb = (const char*)sqlite3_value_text(argv[3]); + const char *zTable = (const char*)sqlite3_value_text(argv[4]); + int iCol = sqlite3_value_int(argv[5]); + const char *zNew = (const char*)sqlite3_value_text(argv[6]); + int bQuote = sqlite3_value_int(argv[7]); + int bTemp = sqlite3_value_int(argv[8]); + const char *zOld; + int rc; + Parse sParse; + Walker sWalker; + Index *pIdx; + int i; + Table *pTab; +#ifndef SQLITE_OMIT_AUTHORIZATION + sqlite3_xauth xAuth = db->xAuth; +#endif + + UNUSED_PARAMETER(NotUsed); + if( zSql==0 ) return; + if( zTable==0 ) return; + if( zNew==0 ) return; + if( iCol<0 ) return; + sqlite3BtreeEnterAll(db); + pTab = sqlite3FindTable(db, zTable, zDb); + if( pTab==0 || iCol>=pTab->nCol ){ + sqlite3BtreeLeaveAll(db); + return; + } + zOld = pTab->aCol[iCol].zName; + memset(&sCtx, 0, sizeof(sCtx)); + sCtx.iCol = ((iCol==pTab->iPKey) ? -1 : iCol); + +#ifndef SQLITE_OMIT_AUTHORIZATION + db->xAuth = 0; +#endif + rc = renameParseSql(&sParse, zDb, 0, db, zSql, bTemp); + + /* Find tokens that need to be replaced. */ + memset(&sWalker, 0, sizeof(Walker)); + sWalker.pParse = &sParse; + sWalker.xExprCallback = renameColumnExprCb; + sWalker.xSelectCallback = renameColumnSelectCb; + sWalker.u.pRename = &sCtx; + + sCtx.pTab = pTab; + if( rc!=SQLITE_OK ) goto renameColumnFunc_done; + if( sParse.pNewTable ){ + Select *pSelect = sParse.pNewTable->pSelect; + if( pSelect ){ + sParse.rc = SQLITE_OK; + sqlite3SelectPrep(&sParse, sParse.pNewTable->pSelect, 0); + rc = (db->mallocFailed ? SQLITE_NOMEM : sParse.rc); + if( rc==SQLITE_OK ){ + sqlite3WalkSelect(&sWalker, pSelect); + } + if( rc!=SQLITE_OK ) goto renameColumnFunc_done; + }else{ + /* A regular table */ + int bFKOnly = sqlite3_stricmp(zTable, sParse.pNewTable->zName); + FKey *pFKey; + assert( sParse.pNewTable->pSelect==0 ); + sCtx.pTab = sParse.pNewTable; + if( bFKOnly==0 ){ + renameTokenFind( + &sParse, &sCtx, (void*)sParse.pNewTable->aCol[iCol].zName + ); + if( sCtx.iCol<0 ){ + renameTokenFind(&sParse, &sCtx, (void*)&sParse.pNewTable->iPKey); + } + sqlite3WalkExprList(&sWalker, sParse.pNewTable->pCheck); + for(pIdx=sParse.pNewTable->pIndex; pIdx; pIdx=pIdx->pNext){ + sqlite3WalkExprList(&sWalker, pIdx->aColExpr); + } + for(pIdx=sParse.pNewIndex; pIdx; pIdx=pIdx->pNext){ + sqlite3WalkExprList(&sWalker, pIdx->aColExpr); + } + } + + for(pFKey=sParse.pNewTable->pFKey; pFKey; pFKey=pFKey->pNextFrom){ + for(i=0; inCol; i++){ + if( bFKOnly==0 && pFKey->aCol[i].iFrom==iCol ){ + renameTokenFind(&sParse, &sCtx, (void*)&pFKey->aCol[i]); + } + if( 0==sqlite3_stricmp(pFKey->zTo, zTable) + && 0==sqlite3_stricmp(pFKey->aCol[i].zCol, zOld) + ){ + renameTokenFind(&sParse, &sCtx, (void*)pFKey->aCol[i].zCol); + } + } + } + } + }else if( sParse.pNewIndex ){ + sqlite3WalkExprList(&sWalker, sParse.pNewIndex->aColExpr); + sqlite3WalkExpr(&sWalker, sParse.pNewIndex->pPartIdxWhere); + }else{ + /* A trigger */ + TriggerStep *pStep; + rc = renameResolveTrigger(&sParse, (bTemp ? 0 : zDb)); + if( rc!=SQLITE_OK ) goto renameColumnFunc_done; + + for(pStep=sParse.pNewTrigger->step_list; pStep; pStep=pStep->pNext){ + if( pStep->zTarget ){ + Table *pTarget = sqlite3LocateTable(&sParse, 0, pStep->zTarget, zDb); + if( pTarget==pTab ){ + if( pStep->pUpsert ){ + ExprList *pUpsertSet = pStep->pUpsert->pUpsertSet; + renameColumnElistNames(&sParse, &sCtx, pUpsertSet, zOld); + } + renameColumnIdlistNames(&sParse, &sCtx, pStep->pIdList, zOld); + renameColumnElistNames(&sParse, &sCtx, pStep->pExprList, zOld); + } + } + } + + + /* Find tokens to edit in UPDATE OF clause */ + if( sParse.pTriggerTab==pTab ){ + renameColumnIdlistNames(&sParse, &sCtx,sParse.pNewTrigger->pColumns,zOld); + } + + /* Find tokens to edit in various expressions and selects */ + renameWalkTrigger(&sWalker, sParse.pNewTrigger); + } + + assert( rc==SQLITE_OK ); + rc = renameEditSql(context, &sCtx, zSql, zNew, bQuote); + +renameColumnFunc_done: + if( rc!=SQLITE_OK ){ + if( sParse.zErrMsg ){ + renameColumnParseError(context, 0, argv[1], argv[2], &sParse); + }else{ + sqlite3_result_error_code(context, rc); + } + } + + renameParseCleanup(&sParse); + renameTokenFree(db, sCtx.pList); +#ifndef SQLITE_OMIT_AUTHORIZATION + db->xAuth = xAuth; +#endif + sqlite3BtreeLeaveAll(db); +} + +/* +** Walker expression callback used by "RENAME TABLE". +*/ +static int renameTableExprCb(Walker *pWalker, Expr *pExpr){ + RenameCtx *p = pWalker->u.pRename; + if( pExpr->op==TK_COLUMN && p->pTab==pExpr->y.pTab ){ + renameTokenFind(pWalker->pParse, p, (void*)&pExpr->y.pTab); + } + return WRC_Continue; +} + +/* +** Walker select callback used by "RENAME TABLE". +*/ +static int renameTableSelectCb(Walker *pWalker, Select *pSelect){ + int i; + RenameCtx *p = pWalker->u.pRename; + SrcList *pSrc = pSelect->pSrc; + if( pSrc==0 ){ + assert( pWalker->pParse->db->mallocFailed ); + return WRC_Abort; + } + for(i=0; inSrc; i++){ + struct SrcList_item *pItem = &pSrc->a[i]; + if( pItem->pTab==p->pTab ){ + renameTokenFind(pWalker->pParse, p, pItem->zName); + } + } + renameWalkWith(pWalker, pSelect); + + return WRC_Continue; +} + + +/* +** This C function implements an SQL user function that is used by SQL code +** generated by the ALTER TABLE ... RENAME command to modify the definition +** of any foreign key constraints that use the table being renamed as the +** parent table. It is passed three arguments: +** +** 0: The database containing the table being renamed. +** 1. type: Type of object ("table", "view" etc.) +** 2. object: Name of object +** 3: The complete text of the schema statement being modified, +** 4: The old name of the table being renamed, and +** 5: The new name of the table being renamed. +** 6: True if the schema statement comes from the temp db. +** +** It returns the new schema statement. For example: +** +** sqlite_rename_table('main', 'CREATE TABLE t1(a REFERENCES t2)','t2','t3',0) +** -> 'CREATE TABLE t1(a REFERENCES t3)' +*/ +static void renameTableFunc( + sqlite3_context *context, + int NotUsed, + sqlite3_value **argv +){ + sqlite3 *db = sqlite3_context_db_handle(context); + const char *zDb = (const char*)sqlite3_value_text(argv[0]); + const char *zInput = (const char*)sqlite3_value_text(argv[3]); + const char *zOld = (const char*)sqlite3_value_text(argv[4]); + const char *zNew = (const char*)sqlite3_value_text(argv[5]); + int bTemp = sqlite3_value_int(argv[6]); + UNUSED_PARAMETER(NotUsed); + + if( zInput && zOld && zNew ){ + Parse sParse; + int rc; + int bQuote = 1; + RenameCtx sCtx; + Walker sWalker; + +#ifndef SQLITE_OMIT_AUTHORIZATION + sqlite3_xauth xAuth = db->xAuth; + db->xAuth = 0; +#endif + + sqlite3BtreeEnterAll(db); + + memset(&sCtx, 0, sizeof(RenameCtx)); + sCtx.pTab = sqlite3FindTable(db, zOld, zDb); + memset(&sWalker, 0, sizeof(Walker)); + sWalker.pParse = &sParse; + sWalker.xExprCallback = renameTableExprCb; + sWalker.xSelectCallback = renameTableSelectCb; + sWalker.u.pRename = &sCtx; + + rc = renameParseSql(&sParse, zDb, 1, db, zInput, bTemp); + + if( rc==SQLITE_OK ){ + int isLegacy = (db->flags & SQLITE_LegacyAlter); + if( sParse.pNewTable ){ + Table *pTab = sParse.pNewTable; + + if( pTab->pSelect ){ + if( isLegacy==0 ){ + NameContext sNC; + memset(&sNC, 0, sizeof(sNC)); + sNC.pParse = &sParse; + + sqlite3SelectPrep(&sParse, pTab->pSelect, &sNC); + if( sParse.nErr ) rc = sParse.rc; + sqlite3WalkSelect(&sWalker, pTab->pSelect); + } + }else{ + /* Modify any FK definitions to point to the new table. */ +#ifndef SQLITE_OMIT_FOREIGN_KEY + if( isLegacy==0 || (db->flags & SQLITE_ForeignKeys) ){ + FKey *pFKey; + for(pFKey=pTab->pFKey; pFKey; pFKey=pFKey->pNextFrom){ + if( sqlite3_stricmp(pFKey->zTo, zOld)==0 ){ + renameTokenFind(&sParse, &sCtx, (void*)pFKey->zTo); + } + } + } +#endif + + /* If this is the table being altered, fix any table refs in CHECK + ** expressions. Also update the name that appears right after the + ** "CREATE [VIRTUAL] TABLE" bit. */ + if( sqlite3_stricmp(zOld, pTab->zName)==0 ){ + sCtx.pTab = pTab; + if( isLegacy==0 ){ + sqlite3WalkExprList(&sWalker, pTab->pCheck); + } + renameTokenFind(&sParse, &sCtx, pTab->zName); + } + } + } + + else if( sParse.pNewIndex ){ + renameTokenFind(&sParse, &sCtx, sParse.pNewIndex->zName); + if( isLegacy==0 ){ + sqlite3WalkExpr(&sWalker, sParse.pNewIndex->pPartIdxWhere); + } + } + +#ifndef SQLITE_OMIT_TRIGGER + else{ + Trigger *pTrigger = sParse.pNewTrigger; + TriggerStep *pStep; + if( 0==sqlite3_stricmp(sParse.pNewTrigger->table, zOld) + && sCtx.pTab->pSchema==pTrigger->pTabSchema + ){ + renameTokenFind(&sParse, &sCtx, sParse.pNewTrigger->table); + } + + if( isLegacy==0 ){ + rc = renameResolveTrigger(&sParse, bTemp ? 0 : zDb); + if( rc==SQLITE_OK ){ + renameWalkTrigger(&sWalker, pTrigger); + for(pStep=pTrigger->step_list; pStep; pStep=pStep->pNext){ + if( pStep->zTarget && 0==sqlite3_stricmp(pStep->zTarget, zOld) ){ + renameTokenFind(&sParse, &sCtx, pStep->zTarget); + } + } + } + } + } +#endif + } + + if( rc==SQLITE_OK ){ + rc = renameEditSql(context, &sCtx, zInput, zNew, bQuote); + } + if( rc!=SQLITE_OK ){ + if( sParse.zErrMsg ){ + renameColumnParseError(context, 0, argv[1], argv[2], &sParse); + }else{ + sqlite3_result_error_code(context, rc); + } + } + + renameParseCleanup(&sParse); + renameTokenFree(db, sCtx.pList); + sqlite3BtreeLeaveAll(db); +#ifndef SQLITE_OMIT_AUTHORIZATION + db->xAuth = xAuth; +#endif + } + + return; +} + +/* +** An SQL user function that checks that there are no parse or symbol +** resolution problems in a CREATE TRIGGER|TABLE|VIEW|INDEX statement. +** After an ALTER TABLE .. RENAME operation is performed and the schema +** reloaded, this function is called on each SQL statement in the schema +** to ensure that it is still usable. +** +** 0: Database name ("main", "temp" etc.). +** 1: SQL statement. +** 2: Object type ("view", "table", "trigger" or "index"). +** 3: Object name. +** 4: True if object is from temp schema. +** +** Unless it finds an error, this function normally returns NULL. However, it +** returns integer value 1 if: +** +** * the SQL argument creates a trigger, and +** * the table that the trigger is attached to is in database zDb. +*/ +static void renameTableTest( + sqlite3_context *context, + int NotUsed, + sqlite3_value **argv +){ + sqlite3 *db = sqlite3_context_db_handle(context); + char const *zDb = (const char*)sqlite3_value_text(argv[0]); + char const *zInput = (const char*)sqlite3_value_text(argv[1]); + int bTemp = sqlite3_value_int(argv[4]); + int isLegacy = (db->flags & SQLITE_LegacyAlter); + +#ifndef SQLITE_OMIT_AUTHORIZATION + sqlite3_xauth xAuth = db->xAuth; + db->xAuth = 0; +#endif + + UNUSED_PARAMETER(NotUsed); + if( zDb && zInput ){ + int rc; + Parse sParse; + rc = renameParseSql(&sParse, zDb, 1, db, zInput, bTemp); + if( rc==SQLITE_OK ){ + if( isLegacy==0 && sParse.pNewTable && sParse.pNewTable->pSelect ){ + NameContext sNC; + memset(&sNC, 0, sizeof(sNC)); + sNC.pParse = &sParse; + sqlite3SelectPrep(&sParse, sParse.pNewTable->pSelect, &sNC); + if( sParse.nErr ) rc = sParse.rc; + } + + else if( sParse.pNewTrigger ){ + if( isLegacy==0 ){ + rc = renameResolveTrigger(&sParse, bTemp ? 0 : zDb); + } + if( rc==SQLITE_OK ){ + int i1 = sqlite3SchemaToIndex(db, sParse.pNewTrigger->pTabSchema); + int i2 = sqlite3FindDbName(db, zDb); + if( i1==i2 ) sqlite3_result_int(context, 1); + } + } + } + + if( rc!=SQLITE_OK ){ + renameColumnParseError(context, 1, argv[2], argv[3], &sParse); + } + renameParseCleanup(&sParse); + } + +#ifndef SQLITE_OMIT_AUTHORIZATION + db->xAuth = xAuth; +#endif +} + +/* +** Register built-in functions used to help implement ALTER TABLE +*/ +SQLITE_PRIVATE void sqlite3AlterFunctions(void){ + static FuncDef aAlterTableFuncs[] = { + INTERNAL_FUNCTION(sqlite_rename_column, 9, renameColumnFunc), + INTERNAL_FUNCTION(sqlite_rename_table, 7, renameTableFunc), + INTERNAL_FUNCTION(sqlite_rename_test, 5, renameTableTest), + }; + sqlite3InsertBuiltinFuncs(aAlterTableFuncs, ArraySize(aAlterTableFuncs)); +} +#endif /* SQLITE_ALTER_TABLE */ + +/************** End of alter.c ***********************************************/ +/************** Begin file analyze.c *****************************************/ +/* +** 2005-07-08 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains code associated with the ANALYZE command. +** +** The ANALYZE command gather statistics about the content of tables +** and indices. These statistics are made available to the query planner +** to help it make better decisions about how to perform queries. +** +** The following system tables are or have been supported: +** +** CREATE TABLE sqlite_stat1(tbl, idx, stat); +** CREATE TABLE sqlite_stat2(tbl, idx, sampleno, sample); +** CREATE TABLE sqlite_stat3(tbl, idx, nEq, nLt, nDLt, sample); +** CREATE TABLE sqlite_stat4(tbl, idx, nEq, nLt, nDLt, sample); +** +** Additional tables might be added in future releases of SQLite. +** The sqlite_stat2 table is not created or used unless the SQLite version +** is between 3.6.18 and 3.7.8, inclusive, and unless SQLite is compiled +** with SQLITE_ENABLE_STAT2. The sqlite_stat2 table is deprecated. +** The sqlite_stat2 table is superseded by sqlite_stat3, which is only +** created and used by SQLite versions 3.7.9 through 3.29.0 when +** SQLITE_ENABLE_STAT3 defined. The functionality of sqlite_stat3 +** is a superset of sqlite_stat2 and is also now deprecated. The +** sqlite_stat4 is an enhanced version of sqlite_stat3 and is only +** available when compiled with SQLITE_ENABLE_STAT4 and in SQLite +** versions 3.8.1 and later. STAT4 is the only variant that is still +** supported. +** +** For most applications, sqlite_stat1 provides all the statistics required +** for the query planner to make good choices. +** +** Format of sqlite_stat1: +** +** There is normally one row per index, with the index identified by the +** name in the idx column. The tbl column is the name of the table to +** which the index belongs. In each such row, the stat column will be +** a string consisting of a list of integers. The first integer in this +** list is the number of rows in the index. (This is the same as the +** number of rows in the table, except for partial indices.) The second +** integer is the average number of rows in the index that have the same +** value in the first column of the index. The third integer is the average +** number of rows in the index that have the same value for the first two +** columns. The N-th integer (for N>1) is the average number of rows in +** the index which have the same value for the first N-1 columns. For +** a K-column index, there will be K+1 integers in the stat column. If +** the index is unique, then the last integer will be 1. +** +** The list of integers in the stat column can optionally be followed +** by the keyword "unordered". The "unordered" keyword, if it is present, +** must be separated from the last integer by a single space. If the +** "unordered" keyword is present, then the query planner assumes that +** the index is unordered and will not use the index for a range query. +** +** If the sqlite_stat1.idx column is NULL, then the sqlite_stat1.stat +** column contains a single integer which is the (estimated) number of +** rows in the table identified by sqlite_stat1.tbl. +** +** Format of sqlite_stat2: +** +** The sqlite_stat2 is only created and is only used if SQLite is compiled +** with SQLITE_ENABLE_STAT2 and if the SQLite version number is between +** 3.6.18 and 3.7.8. The "stat2" table contains additional information +** about the distribution of keys within an index. The index is identified by +** the "idx" column and the "tbl" column is the name of the table to which +** the index belongs. There are usually 10 rows in the sqlite_stat2 +** table for each index. +** +** The sqlite_stat2 entries for an index that have sampleno between 0 and 9 +** inclusive are samples of the left-most key value in the index taken at +** evenly spaced points along the index. Let the number of samples be S +** (10 in the standard build) and let C be the number of rows in the index. +** Then the sampled rows are given by: +** +** rownumber = (i*C*2 + C)/(S*2) +** +** For i between 0 and S-1. Conceptually, the index space is divided into +** S uniform buckets and the samples are the middle row from each bucket. +** +** The format for sqlite_stat2 is recorded here for legacy reference. This +** version of SQLite does not support sqlite_stat2. It neither reads nor +** writes the sqlite_stat2 table. This version of SQLite only supports +** sqlite_stat3. +** +** Format for sqlite_stat3: +** +** The sqlite_stat3 format is a subset of sqlite_stat4. Hence, the +** sqlite_stat4 format will be described first. Further information +** about sqlite_stat3 follows the sqlite_stat4 description. +** +** Format for sqlite_stat4: +** +** As with sqlite_stat2, the sqlite_stat4 table contains histogram data +** to aid the query planner in choosing good indices based on the values +** that indexed columns are compared against in the WHERE clauses of +** queries. +** +** The sqlite_stat4 table contains multiple entries for each index. +** The idx column names the index and the tbl column is the table of the +** index. If the idx and tbl columns are the same, then the sample is +** of the INTEGER PRIMARY KEY. The sample column is a blob which is the +** binary encoding of a key from the index. The nEq column is a +** list of integers. The first integer is the approximate number +** of entries in the index whose left-most column exactly matches +** the left-most column of the sample. The second integer in nEq +** is the approximate number of entries in the index where the +** first two columns match the first two columns of the sample. +** And so forth. nLt is another list of integers that show the approximate +** number of entries that are strictly less than the sample. The first +** integer in nLt contains the number of entries in the index where the +** left-most column is less than the left-most column of the sample. +** The K-th integer in the nLt entry is the number of index entries +** where the first K columns are less than the first K columns of the +** sample. The nDLt column is like nLt except that it contains the +** number of distinct entries in the index that are less than the +** sample. +** +** There can be an arbitrary number of sqlite_stat4 entries per index. +** The ANALYZE command will typically generate sqlite_stat4 tables +** that contain between 10 and 40 samples which are distributed across +** the key space, though not uniformly, and which include samples with +** large nEq values. +** +** Format for sqlite_stat3 redux: +** +** The sqlite_stat3 table is like sqlite_stat4 except that it only +** looks at the left-most column of the index. The sqlite_stat3.sample +** column contains the actual value of the left-most column instead +** of a blob encoding of the complete index key as is found in +** sqlite_stat4.sample. The nEq, nLt, and nDLt entries of sqlite_stat3 +** all contain just a single integer which is the same as the first +** integer in the equivalent columns in sqlite_stat4. +*/ +#ifndef SQLITE_OMIT_ANALYZE +/* #include "sqliteInt.h" */ + +#if defined(SQLITE_ENABLE_STAT4) +# define IsStat4 1 +#else +# define IsStat4 0 +# undef SQLITE_STAT4_SAMPLES +# define SQLITE_STAT4_SAMPLES 1 +#endif + +/* +** This routine generates code that opens the sqlite_statN tables. +** The sqlite_stat1 table is always relevant. sqlite_stat2 is now +** obsolete. sqlite_stat3 and sqlite_stat4 are only opened when +** appropriate compile-time options are provided. +** +** If the sqlite_statN tables do not previously exist, it is created. +** +** Argument zWhere may be a pointer to a buffer containing a table name, +** or it may be a NULL pointer. If it is not NULL, then all entries in +** the sqlite_statN tables associated with the named table are deleted. +** If zWhere==0, then code is generated to delete all stat table entries. +*/ +static void openStatTable( + Parse *pParse, /* Parsing context */ + int iDb, /* The database we are looking in */ + int iStatCur, /* Open the sqlite_stat1 table on this cursor */ + const char *zWhere, /* Delete entries for this table or index */ + const char *zWhereType /* Either "tbl" or "idx" */ +){ + static const struct { + const char *zName; + const char *zCols; + } aTable[] = { + { "sqlite_stat1", "tbl,idx,stat" }, +#if defined(SQLITE_ENABLE_STAT4) + { "sqlite_stat4", "tbl,idx,neq,nlt,ndlt,sample" }, +#else + { "sqlite_stat4", 0 }, +#endif + { "sqlite_stat3", 0 }, + }; + int i; + sqlite3 *db = pParse->db; + Db *pDb; + Vdbe *v = sqlite3GetVdbe(pParse); + int aRoot[ArraySize(aTable)]; + u8 aCreateTbl[ArraySize(aTable)]; + + if( v==0 ) return; + assert( sqlite3BtreeHoldsAllMutexes(db) ); + assert( sqlite3VdbeDb(v)==db ); + pDb = &db->aDb[iDb]; + + /* Create new statistic tables if they do not exist, or clear them + ** if they do already exist. + */ + for(i=0; izDbSName))==0 ){ + if( aTable[i].zCols ){ + /* The sqlite_statN table does not exist. Create it. Note that a + ** side-effect of the CREATE TABLE statement is to leave the rootpage + ** of the new table in register pParse->regRoot. This is important + ** because the OpenWrite opcode below will be needing it. */ + sqlite3NestedParse(pParse, + "CREATE TABLE %Q.%s(%s)", pDb->zDbSName, zTab, aTable[i].zCols + ); + aRoot[i] = pParse->regRoot; + aCreateTbl[i] = OPFLAG_P2ISREG; + } + }else{ + /* The table already exists. If zWhere is not NULL, delete all entries + ** associated with the table zWhere. If zWhere is NULL, delete the + ** entire contents of the table. */ + aRoot[i] = pStat->tnum; + aCreateTbl[i] = 0; + sqlite3TableLock(pParse, iDb, aRoot[i], 1, zTab); + if( zWhere ){ + sqlite3NestedParse(pParse, + "DELETE FROM %Q.%s WHERE %s=%Q", + pDb->zDbSName, zTab, zWhereType, zWhere + ); +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + }else if( db->xPreUpdateCallback ){ + sqlite3NestedParse(pParse, "DELETE FROM %Q.%s", pDb->zDbSName, zTab); +#endif + }else{ + /* The sqlite_stat[134] table already exists. Delete all rows. */ + sqlite3VdbeAddOp2(v, OP_Clear, aRoot[i], iDb); + } + } + } + + /* Open the sqlite_stat[134] tables for writing. */ + for(i=0; aTable[i].zCols; i++){ + assert( inRowid ){ + sqlite3DbFree(db, p->u.aRowid); + p->nRowid = 0; + } +} +#endif + +/* Initialize the BLOB value of a ROWID +*/ +#ifdef SQLITE_ENABLE_STAT4 +static void sampleSetRowid(sqlite3 *db, Stat4Sample *p, int n, const u8 *pData){ + assert( db!=0 ); + if( p->nRowid ) sqlite3DbFree(db, p->u.aRowid); + p->u.aRowid = sqlite3DbMallocRawNN(db, n); + if( p->u.aRowid ){ + p->nRowid = n; + memcpy(p->u.aRowid, pData, n); + }else{ + p->nRowid = 0; + } +} +#endif + +/* Initialize the INTEGER value of a ROWID. +*/ +#ifdef SQLITE_ENABLE_STAT4 +static void sampleSetRowidInt64(sqlite3 *db, Stat4Sample *p, i64 iRowid){ + assert( db!=0 ); + if( p->nRowid ) sqlite3DbFree(db, p->u.aRowid); + p->nRowid = 0; + p->u.iRowid = iRowid; +} +#endif + + +/* +** Copy the contents of object (*pFrom) into (*pTo). +*/ +#ifdef SQLITE_ENABLE_STAT4 +static void sampleCopy(Stat4Accum *p, Stat4Sample *pTo, Stat4Sample *pFrom){ + pTo->isPSample = pFrom->isPSample; + pTo->iCol = pFrom->iCol; + pTo->iHash = pFrom->iHash; + memcpy(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol); + memcpy(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol); + memcpy(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol); + if( pFrom->nRowid ){ + sampleSetRowid(p->db, pTo, pFrom->nRowid, pFrom->u.aRowid); + }else{ + sampleSetRowidInt64(p->db, pTo, pFrom->u.iRowid); + } +} +#endif + +/* +** Reclaim all memory of a Stat4Accum structure. +*/ +static void stat4Destructor(void *pOld){ + Stat4Accum *p = (Stat4Accum*)pOld; +#ifdef SQLITE_ENABLE_STAT4 + int i; + for(i=0; inCol; i++) sampleClear(p->db, p->aBest+i); + for(i=0; imxSample; i++) sampleClear(p->db, p->a+i); + sampleClear(p->db, &p->current); +#endif + sqlite3DbFree(p->db, p); +} + +/* +** Implementation of the stat_init(N,K,C) SQL function. The three parameters +** are: +** N: The number of columns in the index including the rowid/pk (note 1) +** K: The number of columns in the index excluding the rowid/pk. +** C: The number of rows in the index (note 2) +** +** Note 1: In the special case of the covering index that implements a +** WITHOUT ROWID table, N is the number of PRIMARY KEY columns, not the +** total number of columns in the table. +** +** Note 2: C is only used for STAT4. +** +** For indexes on ordinary rowid tables, N==K+1. But for indexes on +** WITHOUT ROWID tables, N=K+P where P is the number of columns in the +** PRIMARY KEY of the table. The covering index that implements the +** original WITHOUT ROWID table as N==K as a special case. +** +** This routine allocates the Stat4Accum object in heap memory. The return +** value is a pointer to the Stat4Accum object. The datatype of the +** return value is BLOB, but it is really just a pointer to the Stat4Accum +** object. +*/ +static void statInit( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + Stat4Accum *p; + int nCol; /* Number of columns in index being sampled */ + int nKeyCol; /* Number of key columns */ + int nColUp; /* nCol rounded up for alignment */ + int n; /* Bytes of space to allocate */ + sqlite3 *db; /* Database connection */ +#ifdef SQLITE_ENABLE_STAT4 + int mxSample = SQLITE_STAT4_SAMPLES; +#endif + + /* Decode the three function arguments */ + UNUSED_PARAMETER(argc); + nCol = sqlite3_value_int(argv[0]); + assert( nCol>0 ); + nColUp = sizeof(tRowcnt)<8 ? (nCol+1)&~1 : nCol; + nKeyCol = sqlite3_value_int(argv[1]); + assert( nKeyCol<=nCol ); + assert( nKeyCol>0 ); + + /* Allocate the space required for the Stat4Accum object */ + n = sizeof(*p) + + sizeof(tRowcnt)*nColUp /* Stat4Accum.anEq */ + + sizeof(tRowcnt)*nColUp /* Stat4Accum.anDLt */ +#ifdef SQLITE_ENABLE_STAT4 + + sizeof(tRowcnt)*nColUp /* Stat4Accum.anLt */ + + sizeof(Stat4Sample)*(nCol+mxSample) /* Stat4Accum.aBest[], a[] */ + + sizeof(tRowcnt)*3*nColUp*(nCol+mxSample) +#endif + ; + db = sqlite3_context_db_handle(context); + p = sqlite3DbMallocZero(db, n); + if( p==0 ){ + sqlite3_result_error_nomem(context); + return; + } + + p->db = db; + p->nRow = 0; + p->nCol = nCol; + p->nKeyCol = nKeyCol; + p->current.anDLt = (tRowcnt*)&p[1]; + p->current.anEq = &p->current.anDLt[nColUp]; + +#ifdef SQLITE_ENABLE_STAT4 + { + u8 *pSpace; /* Allocated space not yet assigned */ + int i; /* Used to iterate through p->aSample[] */ + + p->iGet = -1; + p->mxSample = mxSample; + p->nPSample = (tRowcnt)(sqlite3_value_int64(argv[2])/(mxSample/3+1) + 1); + p->current.anLt = &p->current.anEq[nColUp]; + p->iPrn = 0x689e962d*(u32)nCol ^ 0xd0944565*(u32)sqlite3_value_int(argv[2]); + + /* Set up the Stat4Accum.a[] and aBest[] arrays */ + p->a = (struct Stat4Sample*)&p->current.anLt[nColUp]; + p->aBest = &p->a[mxSample]; + pSpace = (u8*)(&p->a[mxSample+nCol]); + for(i=0; i<(mxSample+nCol); i++){ + p->a[i].anEq = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp); + p->a[i].anLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp); + p->a[i].anDLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp); + } + assert( (pSpace - (u8*)p)==n ); + + for(i=0; iaBest[i].iCol = i; + } + } +#endif + + /* Return a pointer to the allocated object to the caller. Note that + ** only the pointer (the 2nd parameter) matters. The size of the object + ** (given by the 3rd parameter) is never used and can be any positive + ** value. */ + sqlite3_result_blob(context, p, sizeof(*p), stat4Destructor); +} +static const FuncDef statInitFuncdef = { + 2+IsStat4, /* nArg */ + SQLITE_UTF8, /* funcFlags */ + 0, /* pUserData */ + 0, /* pNext */ + statInit, /* xSFunc */ + 0, /* xFinalize */ + 0, 0, /* xValue, xInverse */ + "stat_init", /* zName */ + {0} +}; + +#ifdef SQLITE_ENABLE_STAT4 +/* +** pNew and pOld are both candidate non-periodic samples selected for +** the same column (pNew->iCol==pOld->iCol). Ignoring this column and +** considering only any trailing columns and the sample hash value, this +** function returns true if sample pNew is to be preferred over pOld. +** In other words, if we assume that the cardinalities of the selected +** column for pNew and pOld are equal, is pNew to be preferred over pOld. +** +** This function assumes that for each argument sample, the contents of +** the anEq[] array from pSample->anEq[pSample->iCol+1] onwards are valid. +*/ +static int sampleIsBetterPost( + Stat4Accum *pAccum, + Stat4Sample *pNew, + Stat4Sample *pOld +){ + int nCol = pAccum->nCol; + int i; + assert( pNew->iCol==pOld->iCol ); + for(i=pNew->iCol+1; ianEq[i]>pOld->anEq[i] ) return 1; + if( pNew->anEq[i]anEq[i] ) return 0; + } + if( pNew->iHash>pOld->iHash ) return 1; + return 0; +} +#endif + +#ifdef SQLITE_ENABLE_STAT4 +/* +** Return true if pNew is to be preferred over pOld. +** +** This function assumes that for each argument sample, the contents of +** the anEq[] array from pSample->anEq[pSample->iCol] onwards are valid. +*/ +static int sampleIsBetter( + Stat4Accum *pAccum, + Stat4Sample *pNew, + Stat4Sample *pOld +){ + tRowcnt nEqNew = pNew->anEq[pNew->iCol]; + tRowcnt nEqOld = pOld->anEq[pOld->iCol]; + + assert( pOld->isPSample==0 && pNew->isPSample==0 ); + assert( IsStat4 || (pNew->iCol==0 && pOld->iCol==0) ); + + if( (nEqNew>nEqOld) ) return 1; + if( nEqNew==nEqOld ){ + if( pNew->iColiCol ) return 1; + return (pNew->iCol==pOld->iCol && sampleIsBetterPost(pAccum, pNew, pOld)); + } + return 0; +} + +/* +** Copy the contents of sample *pNew into the p->a[] array. If necessary, +** remove the least desirable sample from p->a[] to make room. +*/ +static void sampleInsert(Stat4Accum *p, Stat4Sample *pNew, int nEqZero){ + Stat4Sample *pSample = 0; + int i; + + assert( IsStat4 || nEqZero==0 ); + + /* Stat4Accum.nMaxEqZero is set to the maximum number of leading 0 + ** values in the anEq[] array of any sample in Stat4Accum.a[]. In + ** other words, if nMaxEqZero is n, then it is guaranteed that there + ** are no samples with Stat4Sample.anEq[m]==0 for (m>=n). */ + if( nEqZero>p->nMaxEqZero ){ + p->nMaxEqZero = nEqZero; + } + if( pNew->isPSample==0 ){ + Stat4Sample *pUpgrade = 0; + assert( pNew->anEq[pNew->iCol]>0 ); + + /* This sample is being added because the prefix that ends in column + ** iCol occurs many times in the table. However, if we have already + ** added a sample that shares this prefix, there is no need to add + ** this one. Instead, upgrade the priority of the highest priority + ** existing sample that shares this prefix. */ + for(i=p->nSample-1; i>=0; i--){ + Stat4Sample *pOld = &p->a[i]; + if( pOld->anEq[pNew->iCol]==0 ){ + if( pOld->isPSample ) return; + assert( pOld->iCol>pNew->iCol ); + assert( sampleIsBetter(p, pNew, pOld) ); + if( pUpgrade==0 || sampleIsBetter(p, pOld, pUpgrade) ){ + pUpgrade = pOld; + } + } + } + if( pUpgrade ){ + pUpgrade->iCol = pNew->iCol; + pUpgrade->anEq[pUpgrade->iCol] = pNew->anEq[pUpgrade->iCol]; + goto find_new_min; + } + } + + /* If necessary, remove sample iMin to make room for the new sample. */ + if( p->nSample>=p->mxSample ){ + Stat4Sample *pMin = &p->a[p->iMin]; + tRowcnt *anEq = pMin->anEq; + tRowcnt *anLt = pMin->anLt; + tRowcnt *anDLt = pMin->anDLt; + sampleClear(p->db, pMin); + memmove(pMin, &pMin[1], sizeof(p->a[0])*(p->nSample-p->iMin-1)); + pSample = &p->a[p->nSample-1]; + pSample->nRowid = 0; + pSample->anEq = anEq; + pSample->anDLt = anDLt; + pSample->anLt = anLt; + p->nSample = p->mxSample-1; + } + + /* The "rows less-than" for the rowid column must be greater than that + ** for the last sample in the p->a[] array. Otherwise, the samples would + ** be out of order. */ + assert( p->nSample==0 + || pNew->anLt[p->nCol-1] > p->a[p->nSample-1].anLt[p->nCol-1] ); + + /* Insert the new sample */ + pSample = &p->a[p->nSample]; + sampleCopy(p, pSample, pNew); + p->nSample++; + + /* Zero the first nEqZero entries in the anEq[] array. */ + memset(pSample->anEq, 0, sizeof(tRowcnt)*nEqZero); + +find_new_min: + if( p->nSample>=p->mxSample ){ + int iMin = -1; + for(i=0; imxSample; i++){ + if( p->a[i].isPSample ) continue; + if( iMin<0 || sampleIsBetter(p, &p->a[iMin], &p->a[i]) ){ + iMin = i; + } + } + assert( iMin>=0 ); + p->iMin = iMin; + } +} +#endif /* SQLITE_ENABLE_STAT4 */ + +/* +** Field iChng of the index being scanned has changed. So at this point +** p->current contains a sample that reflects the previous row of the +** index. The value of anEq[iChng] and subsequent anEq[] elements are +** correct at this point. +*/ +static void samplePushPrevious(Stat4Accum *p, int iChng){ +#ifdef SQLITE_ENABLE_STAT4 + int i; + + /* Check if any samples from the aBest[] array should be pushed + ** into IndexSample.a[] at this point. */ + for(i=(p->nCol-2); i>=iChng; i--){ + Stat4Sample *pBest = &p->aBest[i]; + pBest->anEq[i] = p->current.anEq[i]; + if( p->nSamplemxSample || sampleIsBetter(p, pBest, &p->a[p->iMin]) ){ + sampleInsert(p, pBest, i); + } + } + + /* Check that no sample contains an anEq[] entry with an index of + ** p->nMaxEqZero or greater set to zero. */ + for(i=p->nSample-1; i>=0; i--){ + int j; + for(j=p->nMaxEqZero; jnCol; j++) assert( p->a[i].anEq[j]>0 ); + } + + /* Update the anEq[] fields of any samples already collected. */ + if( iChngnMaxEqZero ){ + for(i=p->nSample-1; i>=0; i--){ + int j; + for(j=iChng; jnCol; j++){ + if( p->a[i].anEq[j]==0 ) p->a[i].anEq[j] = p->current.anEq[j]; + } + } + p->nMaxEqZero = iChng; + } +#endif + +#ifndef SQLITE_ENABLE_STAT4 + UNUSED_PARAMETER( p ); + UNUSED_PARAMETER( iChng ); +#endif +} + +/* +** Implementation of the stat_push SQL function: stat_push(P,C,R) +** Arguments: +** +** P Pointer to the Stat4Accum object created by stat_init() +** C Index of left-most column to differ from previous row +** R Rowid for the current row. Might be a key record for +** WITHOUT ROWID tables. +** +** This SQL function always returns NULL. It's purpose it to accumulate +** statistical data and/or samples in the Stat4Accum object about the +** index being analyzed. The stat_get() SQL function will later be used to +** extract relevant information for constructing the sqlite_statN tables. +** +** The R parameter is only used for STAT4 +*/ +static void statPush( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + int i; + + /* The three function arguments */ + Stat4Accum *p = (Stat4Accum*)sqlite3_value_blob(argv[0]); + int iChng = sqlite3_value_int(argv[1]); + + UNUSED_PARAMETER( argc ); + UNUSED_PARAMETER( context ); + assert( p->nCol>0 ); + assert( iChngnCol ); + + if( p->nRow==0 ){ + /* This is the first call to this function. Do initialization. */ + for(i=0; inCol; i++) p->current.anEq[i] = 1; + }else{ + /* Second and subsequent calls get processed here */ + samplePushPrevious(p, iChng); + + /* Update anDLt[], anLt[] and anEq[] to reflect the values that apply + ** to the current row of the index. */ + for(i=0; icurrent.anEq[i]++; + } + for(i=iChng; inCol; i++){ + p->current.anDLt[i]++; +#ifdef SQLITE_ENABLE_STAT4 + p->current.anLt[i] += p->current.anEq[i]; +#endif + p->current.anEq[i] = 1; + } + } + p->nRow++; +#ifdef SQLITE_ENABLE_STAT4 + if( sqlite3_value_type(argv[2])==SQLITE_INTEGER ){ + sampleSetRowidInt64(p->db, &p->current, sqlite3_value_int64(argv[2])); + }else{ + sampleSetRowid(p->db, &p->current, sqlite3_value_bytes(argv[2]), + sqlite3_value_blob(argv[2])); + } + p->current.iHash = p->iPrn = p->iPrn*1103515245 + 12345; +#endif + +#ifdef SQLITE_ENABLE_STAT4 + { + tRowcnt nLt = p->current.anLt[p->nCol-1]; + + /* Check if this is to be a periodic sample. If so, add it. */ + if( (nLt/p->nPSample)!=(nLt+1)/p->nPSample ){ + p->current.isPSample = 1; + p->current.iCol = 0; + sampleInsert(p, &p->current, p->nCol-1); + p->current.isPSample = 0; + } + + /* Update the aBest[] array. */ + for(i=0; i<(p->nCol-1); i++){ + p->current.iCol = i; + if( i>=iChng || sampleIsBetterPost(p, &p->current, &p->aBest[i]) ){ + sampleCopy(p, &p->aBest[i], &p->current); + } + } + } +#endif +} +static const FuncDef statPushFuncdef = { + 2+IsStat4, /* nArg */ + SQLITE_UTF8, /* funcFlags */ + 0, /* pUserData */ + 0, /* pNext */ + statPush, /* xSFunc */ + 0, /* xFinalize */ + 0, 0, /* xValue, xInverse */ + "stat_push", /* zName */ + {0} +}; + +#define STAT_GET_STAT1 0 /* "stat" column of stat1 table */ +#define STAT_GET_ROWID 1 /* "rowid" column of stat[34] entry */ +#define STAT_GET_NEQ 2 /* "neq" column of stat[34] entry */ +#define STAT_GET_NLT 3 /* "nlt" column of stat[34] entry */ +#define STAT_GET_NDLT 4 /* "ndlt" column of stat[34] entry */ + +/* +** Implementation of the stat_get(P,J) SQL function. This routine is +** used to query statistical information that has been gathered into +** the Stat4Accum object by prior calls to stat_push(). The P parameter +** has type BLOB but it is really just a pointer to the Stat4Accum object. +** The content to returned is determined by the parameter J +** which is one of the STAT_GET_xxxx values defined above. +** +** The stat_get(P,J) function is not available to generic SQL. It is +** inserted as part of a manually constructed bytecode program. (See +** the callStatGet() routine below.) It is guaranteed that the P +** parameter will always be a poiner to a Stat4Accum object, never a +** NULL. +** +** If STAT4 is not enabled, then J is always +** STAT_GET_STAT1 and is hence omitted and this routine becomes +** a one-parameter function, stat_get(P), that always returns the +** stat1 table entry information. +*/ +static void statGet( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + Stat4Accum *p = (Stat4Accum*)sqlite3_value_blob(argv[0]); +#ifdef SQLITE_ENABLE_STAT4 + /* STAT4 has a parameter on this routine. */ + int eCall = sqlite3_value_int(argv[1]); + assert( argc==2 ); + assert( eCall==STAT_GET_STAT1 || eCall==STAT_GET_NEQ + || eCall==STAT_GET_ROWID || eCall==STAT_GET_NLT + || eCall==STAT_GET_NDLT + ); + if( eCall==STAT_GET_STAT1 ) +#else + assert( argc==1 ); +#endif + { + /* Return the value to store in the "stat" column of the sqlite_stat1 + ** table for this index. + ** + ** The value is a string composed of a list of integers describing + ** the index. The first integer in the list is the total number of + ** entries in the index. There is one additional integer in the list + ** for each indexed column. This additional integer is an estimate of + ** the number of rows matched by a stabbing query on the index using + ** a key with the corresponding number of fields. In other words, + ** if the index is on columns (a,b) and the sqlite_stat1 value is + ** "100 10 2", then SQLite estimates that: + ** + ** * the index contains 100 rows, + ** * "WHERE a=?" matches 10 rows, and + ** * "WHERE a=? AND b=?" matches 2 rows. + ** + ** If D is the count of distinct values and K is the total number of + ** rows, then each estimate is computed as: + ** + ** I = (K+D-1)/D + */ + char *z; + int i; + + char *zRet = sqlite3MallocZero( (p->nKeyCol+1)*25 ); + if( zRet==0 ){ + sqlite3_result_error_nomem(context); + return; + } + + sqlite3_snprintf(24, zRet, "%llu", (u64)p->nRow); + z = zRet + sqlite3Strlen30(zRet); + for(i=0; inKeyCol; i++){ + u64 nDistinct = p->current.anDLt[i] + 1; + u64 iVal = (p->nRow + nDistinct - 1) / nDistinct; + sqlite3_snprintf(24, z, " %llu", iVal); + z += sqlite3Strlen30(z); + assert( p->current.anEq[i] ); + } + assert( z[0]=='\0' && z>zRet ); + + sqlite3_result_text(context, zRet, -1, sqlite3_free); + } +#ifdef SQLITE_ENABLE_STAT4 + else if( eCall==STAT_GET_ROWID ){ + if( p->iGet<0 ){ + samplePushPrevious(p, 0); + p->iGet = 0; + } + if( p->iGetnSample ){ + Stat4Sample *pS = p->a + p->iGet; + if( pS->nRowid==0 ){ + sqlite3_result_int64(context, pS->u.iRowid); + }else{ + sqlite3_result_blob(context, pS->u.aRowid, pS->nRowid, + SQLITE_TRANSIENT); + } + } + }else{ + tRowcnt *aCnt = 0; + + assert( p->iGetnSample ); + switch( eCall ){ + case STAT_GET_NEQ: aCnt = p->a[p->iGet].anEq; break; + case STAT_GET_NLT: aCnt = p->a[p->iGet].anLt; break; + default: { + aCnt = p->a[p->iGet].anDLt; + p->iGet++; + break; + } + } + + { + char *zRet = sqlite3MallocZero(p->nCol * 25); + if( zRet==0 ){ + sqlite3_result_error_nomem(context); + }else{ + int i; + char *z = zRet; + for(i=0; inCol; i++){ + sqlite3_snprintf(24, z, "%llu ", (u64)aCnt[i]); + z += sqlite3Strlen30(z); + } + assert( z[0]=='\0' && z>zRet ); + z[-1] = '\0'; + sqlite3_result_text(context, zRet, -1, sqlite3_free); + } + } + } +#endif /* SQLITE_ENABLE_STAT4 */ +#ifndef SQLITE_DEBUG + UNUSED_PARAMETER( argc ); +#endif +} +static const FuncDef statGetFuncdef = { + 1+IsStat4, /* nArg */ + SQLITE_UTF8, /* funcFlags */ + 0, /* pUserData */ + 0, /* pNext */ + statGet, /* xSFunc */ + 0, /* xFinalize */ + 0, 0, /* xValue, xInverse */ + "stat_get", /* zName */ + {0} +}; + +static void callStatGet(Vdbe *v, int regStat4, int iParam, int regOut){ + assert( regOut!=regStat4 && regOut!=regStat4+1 ); +#ifdef SQLITE_ENABLE_STAT4 + sqlite3VdbeAddOp2(v, OP_Integer, iParam, regStat4+1); +#elif SQLITE_DEBUG + assert( iParam==STAT_GET_STAT1 ); +#else + UNUSED_PARAMETER( iParam ); +#endif + sqlite3VdbeAddOp4(v, OP_Function0, 0, regStat4, regOut, + (char*)&statGetFuncdef, P4_FUNCDEF); + sqlite3VdbeChangeP5(v, 1 + IsStat4); +} + +/* +** Generate code to do an analysis of all indices associated with +** a single table. +*/ +static void analyzeOneTable( + Parse *pParse, /* Parser context */ + Table *pTab, /* Table whose indices are to be analyzed */ + Index *pOnlyIdx, /* If not NULL, only analyze this one index */ + int iStatCur, /* Index of VdbeCursor that writes the sqlite_stat1 table */ + int iMem, /* Available memory locations begin here */ + int iTab /* Next available cursor */ +){ + sqlite3 *db = pParse->db; /* Database handle */ + Index *pIdx; /* An index to being analyzed */ + int iIdxCur; /* Cursor open on index being analyzed */ + int iTabCur; /* Table cursor */ + Vdbe *v; /* The virtual machine being built up */ + int i; /* Loop counter */ + int jZeroRows = -1; /* Jump from here if number of rows is zero */ + int iDb; /* Index of database containing pTab */ + u8 needTableCnt = 1; /* True to count the table */ + int regNewRowid = iMem++; /* Rowid for the inserted record */ + int regStat4 = iMem++; /* Register to hold Stat4Accum object */ + int regChng = iMem++; /* Index of changed index field */ +#ifdef SQLITE_ENABLE_STAT4 + int regRowid = iMem++; /* Rowid argument passed to stat_push() */ +#endif + int regTemp = iMem++; /* Temporary use register */ + int regTabname = iMem++; /* Register containing table name */ + int regIdxname = iMem++; /* Register containing index name */ + int regStat1 = iMem++; /* Value for the stat column of sqlite_stat1 */ + int regPrev = iMem; /* MUST BE LAST (see below) */ +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + Table *pStat1 = 0; +#endif + + pParse->nMem = MAX(pParse->nMem, iMem); + v = sqlite3GetVdbe(pParse); + if( v==0 || NEVER(pTab==0) ){ + return; + } + if( pTab->tnum==0 ){ + /* Do not gather statistics on views or virtual tables */ + return; + } + if( sqlite3_strlike("sqlite\\_%", pTab->zName, '\\')==0 ){ + /* Do not gather statistics on system tables */ + return; + } + assert( sqlite3BtreeHoldsAllMutexes(db) ); + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + assert( iDb>=0 ); + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); +#ifndef SQLITE_OMIT_AUTHORIZATION + if( sqlite3AuthCheck(pParse, SQLITE_ANALYZE, pTab->zName, 0, + db->aDb[iDb].zDbSName ) ){ + return; + } +#endif + +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + if( db->xPreUpdateCallback ){ + pStat1 = (Table*)sqlite3DbMallocZero(db, sizeof(Table) + 13); + if( pStat1==0 ) return; + pStat1->zName = (char*)&pStat1[1]; + memcpy(pStat1->zName, "sqlite_stat1", 13); + pStat1->nCol = 3; + pStat1->iPKey = -1; + sqlite3VdbeAddOp4(pParse->pVdbe, OP_Noop, 0, 0, 0,(char*)pStat1,P4_DYNBLOB); + } +#endif + + /* Establish a read-lock on the table at the shared-cache level. + ** Open a read-only cursor on the table. Also allocate a cursor number + ** to use for scanning indexes (iIdxCur). No index cursor is opened at + ** this time though. */ + sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName); + iTabCur = iTab++; + iIdxCur = iTab++; + pParse->nTab = MAX(pParse->nTab, iTab); + sqlite3OpenTable(pParse, iTabCur, iDb, pTab, OP_OpenRead); + sqlite3VdbeLoadString(v, regTabname, pTab->zName); + + for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + int nCol; /* Number of columns in pIdx. "N" */ + int addrRewind; /* Address of "OP_Rewind iIdxCur" */ + int addrNextRow; /* Address of "next_row:" */ + const char *zIdxName; /* Name of the index */ + int nColTest; /* Number of columns to test for changes */ + + if( pOnlyIdx && pOnlyIdx!=pIdx ) continue; + if( pIdx->pPartIdxWhere==0 ) needTableCnt = 0; + if( !HasRowid(pTab) && IsPrimaryKeyIndex(pIdx) ){ + nCol = pIdx->nKeyCol; + zIdxName = pTab->zName; + nColTest = nCol - 1; + }else{ + nCol = pIdx->nColumn; + zIdxName = pIdx->zName; + nColTest = pIdx->uniqNotNull ? pIdx->nKeyCol-1 : nCol-1; + } + + /* Populate the register containing the index name. */ + sqlite3VdbeLoadString(v, regIdxname, zIdxName); + VdbeComment((v, "Analysis for %s.%s", pTab->zName, zIdxName)); + + /* + ** Pseudo-code for loop that calls stat_push(): + ** + ** Rewind csr + ** if eof(csr) goto end_of_scan; + ** regChng = 0 + ** goto chng_addr_0; + ** + ** next_row: + ** regChng = 0 + ** if( idx(0) != regPrev(0) ) goto chng_addr_0 + ** regChng = 1 + ** if( idx(1) != regPrev(1) ) goto chng_addr_1 + ** ... + ** regChng = N + ** goto chng_addr_N + ** + ** chng_addr_0: + ** regPrev(0) = idx(0) + ** chng_addr_1: + ** regPrev(1) = idx(1) + ** ... + ** + ** endDistinctTest: + ** regRowid = idx(rowid) + ** stat_push(P, regChng, regRowid) + ** Next csr + ** if !eof(csr) goto next_row; + ** + ** end_of_scan: + */ + + /* Make sure there are enough memory cells allocated to accommodate + ** the regPrev array and a trailing rowid (the rowid slot is required + ** when building a record to insert into the sample column of + ** the sqlite_stat4 table. */ + pParse->nMem = MAX(pParse->nMem, regPrev+nColTest); + + /* Open a read-only cursor on the index being analyzed. */ + assert( iDb==sqlite3SchemaToIndex(db, pIdx->pSchema) ); + sqlite3VdbeAddOp3(v, OP_OpenRead, iIdxCur, pIdx->tnum, iDb); + sqlite3VdbeSetP4KeyInfo(pParse, pIdx); + VdbeComment((v, "%s", pIdx->zName)); + + /* Invoke the stat_init() function. The arguments are: + ** + ** (1) the number of columns in the index including the rowid + ** (or for a WITHOUT ROWID table, the number of PK columns), + ** (2) the number of columns in the key without the rowid/pk + ** (3) the number of rows in the index, + ** + ** + ** The third argument is only used for STAT4 + */ +#ifdef SQLITE_ENABLE_STAT4 + sqlite3VdbeAddOp2(v, OP_Count, iIdxCur, regStat4+3); +#endif + sqlite3VdbeAddOp2(v, OP_Integer, nCol, regStat4+1); + sqlite3VdbeAddOp2(v, OP_Integer, pIdx->nKeyCol, regStat4+2); + sqlite3VdbeAddOp4(v, OP_Function0, 0, regStat4+1, regStat4, + (char*)&statInitFuncdef, P4_FUNCDEF); + sqlite3VdbeChangeP5(v, 2+IsStat4); + + /* Implementation of the following: + ** + ** Rewind csr + ** if eof(csr) goto end_of_scan; + ** regChng = 0 + ** goto next_push_0; + ** + */ + addrRewind = sqlite3VdbeAddOp1(v, OP_Rewind, iIdxCur); + VdbeCoverage(v); + sqlite3VdbeAddOp2(v, OP_Integer, 0, regChng); + addrNextRow = sqlite3VdbeCurrentAddr(v); + + if( nColTest>0 ){ + int endDistinctTest = sqlite3VdbeMakeLabel(pParse); + int *aGotoChng; /* Array of jump instruction addresses */ + aGotoChng = sqlite3DbMallocRawNN(db, sizeof(int)*nColTest); + if( aGotoChng==0 ) continue; + + /* + ** next_row: + ** regChng = 0 + ** if( idx(0) != regPrev(0) ) goto chng_addr_0 + ** regChng = 1 + ** if( idx(1) != regPrev(1) ) goto chng_addr_1 + ** ... + ** regChng = N + ** goto endDistinctTest + */ + sqlite3VdbeAddOp0(v, OP_Goto); + addrNextRow = sqlite3VdbeCurrentAddr(v); + if( nColTest==1 && pIdx->nKeyCol==1 && IsUniqueIndex(pIdx) ){ + /* For a single-column UNIQUE index, once we have found a non-NULL + ** row, we know that all the rest will be distinct, so skip + ** subsequent distinctness tests. */ + sqlite3VdbeAddOp2(v, OP_NotNull, regPrev, endDistinctTest); + VdbeCoverage(v); + } + for(i=0; iazColl[i]); + sqlite3VdbeAddOp2(v, OP_Integer, i, regChng); + sqlite3VdbeAddOp3(v, OP_Column, iIdxCur, i, regTemp); + aGotoChng[i] = + sqlite3VdbeAddOp4(v, OP_Ne, regTemp, 0, regPrev+i, pColl, P4_COLLSEQ); + sqlite3VdbeChangeP5(v, SQLITE_NULLEQ); + VdbeCoverage(v); + } + sqlite3VdbeAddOp2(v, OP_Integer, nColTest, regChng); + sqlite3VdbeGoto(v, endDistinctTest); + + + /* + ** chng_addr_0: + ** regPrev(0) = idx(0) + ** chng_addr_1: + ** regPrev(1) = idx(1) + ** ... + */ + sqlite3VdbeJumpHere(v, addrNextRow-1); + for(i=0; ipTable); + int j, k, regKey; + regKey = sqlite3GetTempRange(pParse, pPk->nKeyCol); + for(j=0; jnKeyCol; j++){ + k = sqlite3ColumnOfIndex(pIdx, pPk->aiColumn[j]); + assert( k>=0 && knColumn ); + sqlite3VdbeAddOp3(v, OP_Column, iIdxCur, k, regKey+j); + VdbeComment((v, "%s", pTab->aCol[pPk->aiColumn[j]].zName)); + } + sqlite3VdbeAddOp3(v, OP_MakeRecord, regKey, pPk->nKeyCol, regRowid); + sqlite3ReleaseTempRange(pParse, regKey, pPk->nKeyCol); + } +#endif + assert( regChng==(regStat4+1) ); + sqlite3VdbeAddOp4(v, OP_Function0, 1, regStat4, regTemp, + (char*)&statPushFuncdef, P4_FUNCDEF); + sqlite3VdbeChangeP5(v, 2+IsStat4); + sqlite3VdbeAddOp2(v, OP_Next, iIdxCur, addrNextRow); VdbeCoverage(v); + + /* Add the entry to the stat1 table. */ + callStatGet(v, regStat4, STAT_GET_STAT1, regStat1); + assert( "BBB"[0]==SQLITE_AFF_TEXT ); + sqlite3VdbeAddOp4(v, OP_MakeRecord, regTabname, 3, regTemp, "BBB", 0); + sqlite3VdbeAddOp2(v, OP_NewRowid, iStatCur, regNewRowid); + sqlite3VdbeAddOp3(v, OP_Insert, iStatCur, regTemp, regNewRowid); +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + sqlite3VdbeChangeP4(v, -1, (char*)pStat1, P4_TABLE); +#endif + sqlite3VdbeChangeP5(v, OPFLAG_APPEND); + + /* Add the entries to the stat4 table. */ +#ifdef SQLITE_ENABLE_STAT4 + { + int regEq = regStat1; + int regLt = regStat1+1; + int regDLt = regStat1+2; + int regSample = regStat1+3; + int regCol = regStat1+4; + int regSampleRowid = regCol + nCol; + int addrNext; + int addrIsNull; + u8 seekOp = HasRowid(pTab) ? OP_NotExists : OP_NotFound; + + pParse->nMem = MAX(pParse->nMem, regCol+nCol); + + addrNext = sqlite3VdbeCurrentAddr(v); + callStatGet(v, regStat4, STAT_GET_ROWID, regSampleRowid); + addrIsNull = sqlite3VdbeAddOp1(v, OP_IsNull, regSampleRowid); + VdbeCoverage(v); + callStatGet(v, regStat4, STAT_GET_NEQ, regEq); + callStatGet(v, regStat4, STAT_GET_NLT, regLt); + callStatGet(v, regStat4, STAT_GET_NDLT, regDLt); + sqlite3VdbeAddOp4Int(v, seekOp, iTabCur, addrNext, regSampleRowid, 0); + VdbeCoverage(v); + for(i=0; izName)); + sqlite3VdbeAddOp2(v, OP_Count, iTabCur, regStat1); + jZeroRows = sqlite3VdbeAddOp1(v, OP_IfNot, regStat1); VdbeCoverage(v); + sqlite3VdbeAddOp2(v, OP_Null, 0, regIdxname); + assert( "BBB"[0]==SQLITE_AFF_TEXT ); + sqlite3VdbeAddOp4(v, OP_MakeRecord, regTabname, 3, regTemp, "BBB", 0); + sqlite3VdbeAddOp2(v, OP_NewRowid, iStatCur, regNewRowid); + sqlite3VdbeAddOp3(v, OP_Insert, iStatCur, regTemp, regNewRowid); + sqlite3VdbeChangeP5(v, OPFLAG_APPEND); +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + sqlite3VdbeChangeP4(v, -1, (char*)pStat1, P4_TABLE); +#endif + sqlite3VdbeJumpHere(v, jZeroRows); + } +} + + +/* +** Generate code that will cause the most recent index analysis to +** be loaded into internal hash tables where is can be used. +*/ +static void loadAnalysis(Parse *pParse, int iDb){ + Vdbe *v = sqlite3GetVdbe(pParse); + if( v ){ + sqlite3VdbeAddOp1(v, OP_LoadAnalysis, iDb); + } +} + +/* +** Generate code that will do an analysis of an entire database +*/ +static void analyzeDatabase(Parse *pParse, int iDb){ + sqlite3 *db = pParse->db; + Schema *pSchema = db->aDb[iDb].pSchema; /* Schema of database iDb */ + HashElem *k; + int iStatCur; + int iMem; + int iTab; + + sqlite3BeginWriteOperation(pParse, 0, iDb); + iStatCur = pParse->nTab; + pParse->nTab += 3; + openStatTable(pParse, iDb, iStatCur, 0, 0); + iMem = pParse->nMem+1; + iTab = pParse->nTab; + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + for(k=sqliteHashFirst(&pSchema->tblHash); k; k=sqliteHashNext(k)){ + Table *pTab = (Table*)sqliteHashData(k); + analyzeOneTable(pParse, pTab, 0, iStatCur, iMem, iTab); + } + loadAnalysis(pParse, iDb); +} + +/* +** Generate code that will do an analysis of a single table in +** a database. If pOnlyIdx is not NULL then it is a single index +** in pTab that should be analyzed. +*/ +static void analyzeTable(Parse *pParse, Table *pTab, Index *pOnlyIdx){ + int iDb; + int iStatCur; + + assert( pTab!=0 ); + assert( sqlite3BtreeHoldsAllMutexes(pParse->db) ); + iDb = sqlite3SchemaToIndex(pParse->db, pTab->pSchema); + sqlite3BeginWriteOperation(pParse, 0, iDb); + iStatCur = pParse->nTab; + pParse->nTab += 3; + if( pOnlyIdx ){ + openStatTable(pParse, iDb, iStatCur, pOnlyIdx->zName, "idx"); + }else{ + openStatTable(pParse, iDb, iStatCur, pTab->zName, "tbl"); + } + analyzeOneTable(pParse, pTab, pOnlyIdx, iStatCur,pParse->nMem+1,pParse->nTab); + loadAnalysis(pParse, iDb); +} + +/* +** Generate code for the ANALYZE command. The parser calls this routine +** when it recognizes an ANALYZE command. +** +** ANALYZE -- 1 +** ANALYZE -- 2 +** ANALYZE ?.? -- 3 +** +** Form 1 causes all indices in all attached databases to be analyzed. +** Form 2 analyzes all indices the single database named. +** Form 3 analyzes all indices associated with the named table. +*/ +SQLITE_PRIVATE void sqlite3Analyze(Parse *pParse, Token *pName1, Token *pName2){ + sqlite3 *db = pParse->db; + int iDb; + int i; + char *z, *zDb; + Table *pTab; + Index *pIdx; + Token *pTableName; + Vdbe *v; + + /* Read the database schema. If an error occurs, leave an error message + ** and code in pParse and return NULL. */ + assert( sqlite3BtreeHoldsAllMutexes(pParse->db) ); + if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){ + return; + } + + assert( pName2!=0 || pName1==0 ); + if( pName1==0 ){ + /* Form 1: Analyze everything */ + for(i=0; inDb; i++){ + if( i==1 ) continue; /* Do not analyze the TEMP database */ + analyzeDatabase(pParse, i); + } + }else if( pName2->n==0 && (iDb = sqlite3FindDb(db, pName1))>=0 ){ + /* Analyze the schema named as the argument */ + analyzeDatabase(pParse, iDb); + }else{ + /* Form 3: Analyze the table or index named as an argument */ + iDb = sqlite3TwoPartName(pParse, pName1, pName2, &pTableName); + if( iDb>=0 ){ + zDb = pName2->n ? db->aDb[iDb].zDbSName : 0; + z = sqlite3NameFromToken(db, pTableName); + if( z ){ + if( (pIdx = sqlite3FindIndex(db, z, zDb))!=0 ){ + analyzeTable(pParse, pIdx->pTable, pIdx); + }else if( (pTab = sqlite3LocateTable(pParse, 0, z, zDb))!=0 ){ + analyzeTable(pParse, pTab, 0); + } + sqlite3DbFree(db, z); + } + } + } + if( db->nSqlExec==0 && (v = sqlite3GetVdbe(pParse))!=0 ){ + sqlite3VdbeAddOp0(v, OP_Expire); + } +} + +/* +** Used to pass information from the analyzer reader through to the +** callback routine. +*/ +typedef struct analysisInfo analysisInfo; +struct analysisInfo { + sqlite3 *db; + const char *zDatabase; +}; + +/* +** The first argument points to a nul-terminated string containing a +** list of space separated integers. Read the first nOut of these into +** the array aOut[]. +*/ +static void decodeIntArray( + char *zIntArray, /* String containing int array to decode */ + int nOut, /* Number of slots in aOut[] */ + tRowcnt *aOut, /* Store integers here */ + LogEst *aLog, /* Or, if aOut==0, here */ + Index *pIndex /* Handle extra flags for this index, if not NULL */ +){ + char *z = zIntArray; + int c; + int i; + tRowcnt v; + +#ifdef SQLITE_ENABLE_STAT4 + if( z==0 ) z = ""; +#else + assert( z!=0 ); +#endif + for(i=0; *z && i='0' && c<='9' ){ + v = v*10 + c - '0'; + z++; + } +#ifdef SQLITE_ENABLE_STAT4 + if( aOut ) aOut[i] = v; + if( aLog ) aLog[i] = sqlite3LogEst(v); +#else + assert( aOut==0 ); + UNUSED_PARAMETER(aOut); + assert( aLog!=0 ); + aLog[i] = sqlite3LogEst(v); +#endif + if( *z==' ' ) z++; + } +#ifndef SQLITE_ENABLE_STAT4 + assert( pIndex!=0 ); { +#else + if( pIndex ){ +#endif + pIndex->bUnordered = 0; + pIndex->noSkipScan = 0; + while( z[0] ){ + if( sqlite3_strglob("unordered*", z)==0 ){ + pIndex->bUnordered = 1; + }else if( sqlite3_strglob("sz=[0-9]*", z)==0 ){ + int sz = sqlite3Atoi(z+3); + if( sz<2 ) sz = 2; + pIndex->szIdxRow = sqlite3LogEst(sz); + }else if( sqlite3_strglob("noskipscan*", z)==0 ){ + pIndex->noSkipScan = 1; + } +#ifdef SQLITE_ENABLE_COSTMULT + else if( sqlite3_strglob("costmult=[0-9]*",z)==0 ){ + pIndex->pTable->costMult = sqlite3LogEst(sqlite3Atoi(z+9)); + } +#endif + while( z[0]!=0 && z[0]!=' ' ) z++; + while( z[0]==' ' ) z++; + } + } +} + +/* +** This callback is invoked once for each index when reading the +** sqlite_stat1 table. +** +** argv[0] = name of the table +** argv[1] = name of the index (might be NULL) +** argv[2] = results of analysis - on integer for each column +** +** Entries for which argv[1]==NULL simply record the number of rows in +** the table. +*/ +static int analysisLoader(void *pData, int argc, char **argv, char **NotUsed){ + analysisInfo *pInfo = (analysisInfo*)pData; + Index *pIndex; + Table *pTable; + const char *z; + + assert( argc==3 ); + UNUSED_PARAMETER2(NotUsed, argc); + + if( argv==0 || argv[0]==0 || argv[2]==0 ){ + return 0; + } + pTable = sqlite3FindTable(pInfo->db, argv[0], pInfo->zDatabase); + if( pTable==0 ){ + return 0; + } + if( argv[1]==0 ){ + pIndex = 0; + }else if( sqlite3_stricmp(argv[0],argv[1])==0 ){ + pIndex = sqlite3PrimaryKeyIndex(pTable); + }else{ + pIndex = sqlite3FindIndex(pInfo->db, argv[1], pInfo->zDatabase); + } + z = argv[2]; + + if( pIndex ){ + tRowcnt *aiRowEst = 0; + int nCol = pIndex->nKeyCol+1; +#ifdef SQLITE_ENABLE_STAT4 + /* Index.aiRowEst may already be set here if there are duplicate + ** sqlite_stat1 entries for this index. In that case just clobber + ** the old data with the new instead of allocating a new array. */ + if( pIndex->aiRowEst==0 ){ + pIndex->aiRowEst = (tRowcnt*)sqlite3MallocZero(sizeof(tRowcnt) * nCol); + if( pIndex->aiRowEst==0 ) sqlite3OomFault(pInfo->db); + } + aiRowEst = pIndex->aiRowEst; +#endif + pIndex->bUnordered = 0; + decodeIntArray((char*)z, nCol, aiRowEst, pIndex->aiRowLogEst, pIndex); + pIndex->hasStat1 = 1; + if( pIndex->pPartIdxWhere==0 ){ + pTable->nRowLogEst = pIndex->aiRowLogEst[0]; + pTable->tabFlags |= TF_HasStat1; + } + }else{ + Index fakeIdx; + fakeIdx.szIdxRow = pTable->szTabRow; +#ifdef SQLITE_ENABLE_COSTMULT + fakeIdx.pTable = pTable; +#endif + decodeIntArray((char*)z, 1, 0, &pTable->nRowLogEst, &fakeIdx); + pTable->szTabRow = fakeIdx.szIdxRow; + pTable->tabFlags |= TF_HasStat1; + } + + return 0; +} + +/* +** If the Index.aSample variable is not NULL, delete the aSample[] array +** and its contents. +*/ +SQLITE_PRIVATE void sqlite3DeleteIndexSamples(sqlite3 *db, Index *pIdx){ +#ifdef SQLITE_ENABLE_STAT4 + if( pIdx->aSample ){ + int j; + for(j=0; jnSample; j++){ + IndexSample *p = &pIdx->aSample[j]; + sqlite3DbFree(db, p->p); + } + sqlite3DbFree(db, pIdx->aSample); + } + if( db && db->pnBytesFreed==0 ){ + pIdx->nSample = 0; + pIdx->aSample = 0; + } +#else + UNUSED_PARAMETER(db); + UNUSED_PARAMETER(pIdx); +#endif /* SQLITE_ENABLE_STAT4 */ +} + +#ifdef SQLITE_ENABLE_STAT4 +/* +** Populate the pIdx->aAvgEq[] array based on the samples currently +** stored in pIdx->aSample[]. +*/ +static void initAvgEq(Index *pIdx){ + if( pIdx ){ + IndexSample *aSample = pIdx->aSample; + IndexSample *pFinal = &aSample[pIdx->nSample-1]; + int iCol; + int nCol = 1; + if( pIdx->nSampleCol>1 ){ + /* If this is stat4 data, then calculate aAvgEq[] values for all + ** sample columns except the last. The last is always set to 1, as + ** once the trailing PK fields are considered all index keys are + ** unique. */ + nCol = pIdx->nSampleCol-1; + pIdx->aAvgEq[nCol] = 1; + } + for(iCol=0; iColnSample; + int i; /* Used to iterate through samples */ + tRowcnt sumEq = 0; /* Sum of the nEq values */ + tRowcnt avgEq = 0; + tRowcnt nRow; /* Number of rows in index */ + i64 nSum100 = 0; /* Number of terms contributing to sumEq */ + i64 nDist100; /* Number of distinct values in index */ + + if( !pIdx->aiRowEst || iCol>=pIdx->nKeyCol || pIdx->aiRowEst[iCol+1]==0 ){ + nRow = pFinal->anLt[iCol]; + nDist100 = (i64)100 * pFinal->anDLt[iCol]; + nSample--; + }else{ + nRow = pIdx->aiRowEst[0]; + nDist100 = ((i64)100 * pIdx->aiRowEst[0]) / pIdx->aiRowEst[iCol+1]; + } + pIdx->nRowEst0 = nRow; + + /* Set nSum to the number of distinct (iCol+1) field prefixes that + ** occur in the stat4 table for this index. Set sumEq to the sum of + ** the nEq values for column iCol for the same set (adding the value + ** only once where there exist duplicate prefixes). */ + for(i=0; inSample-1) + || aSample[i].anDLt[iCol]!=aSample[i+1].anDLt[iCol] + ){ + sumEq += aSample[i].anEq[iCol]; + nSum100 += 100; + } + } + + if( nDist100>nSum100 && sumEqaAvgEq[iCol] = avgEq; + } + } +} + +/* +** Look up an index by name. Or, if the name of a WITHOUT ROWID table +** is supplied instead, find the PRIMARY KEY index for that table. +*/ +static Index *findIndexOrPrimaryKey( + sqlite3 *db, + const char *zName, + const char *zDb +){ + Index *pIdx = sqlite3FindIndex(db, zName, zDb); + if( pIdx==0 ){ + Table *pTab = sqlite3FindTable(db, zName, zDb); + if( pTab && !HasRowid(pTab) ) pIdx = sqlite3PrimaryKeyIndex(pTab); + } + return pIdx; +} + +/* +** Load the content from either the sqlite_stat4 +** into the relevant Index.aSample[] arrays. +** +** Arguments zSql1 and zSql2 must point to SQL statements that return +** data equivalent to the following: +** +** zSql1: SELECT idx,count(*) FROM %Q.sqlite_stat4 GROUP BY idx +** zSql2: SELECT idx,neq,nlt,ndlt,sample FROM %Q.sqlite_stat4 +** +** where %Q is replaced with the database name before the SQL is executed. +*/ +static int loadStatTbl( + sqlite3 *db, /* Database handle */ + const char *zSql1, /* SQL statement 1 (see above) */ + const char *zSql2, /* SQL statement 2 (see above) */ + const char *zDb /* Database name (e.g. "main") */ +){ + int rc; /* Result codes from subroutines */ + sqlite3_stmt *pStmt = 0; /* An SQL statement being run */ + char *zSql; /* Text of the SQL statement */ + Index *pPrevIdx = 0; /* Previous index in the loop */ + IndexSample *pSample; /* A slot in pIdx->aSample[] */ + + assert( db->lookaside.bDisable ); + zSql = sqlite3MPrintf(db, zSql1, zDb); + if( !zSql ){ + return SQLITE_NOMEM_BKPT; + } + rc = sqlite3_prepare(db, zSql, -1, &pStmt, 0); + sqlite3DbFree(db, zSql); + if( rc ) return rc; + + while( sqlite3_step(pStmt)==SQLITE_ROW ){ + int nIdxCol = 1; /* Number of columns in stat4 records */ + + char *zIndex; /* Index name */ + Index *pIdx; /* Pointer to the index object */ + int nSample; /* Number of samples */ + int nByte; /* Bytes of space required */ + int i; /* Bytes of space required */ + tRowcnt *pSpace; + + zIndex = (char *)sqlite3_column_text(pStmt, 0); + if( zIndex==0 ) continue; + nSample = sqlite3_column_int(pStmt, 1); + pIdx = findIndexOrPrimaryKey(db, zIndex, zDb); + assert( pIdx==0 || pIdx->nSample==0 ); + if( pIdx==0 ) continue; + assert( !HasRowid(pIdx->pTable) || pIdx->nColumn==pIdx->nKeyCol+1 ); + if( !HasRowid(pIdx->pTable) && IsPrimaryKeyIndex(pIdx) ){ + nIdxCol = pIdx->nKeyCol; + }else{ + nIdxCol = pIdx->nColumn; + } + pIdx->nSampleCol = nIdxCol; + nByte = sizeof(IndexSample) * nSample; + nByte += sizeof(tRowcnt) * nIdxCol * 3 * nSample; + nByte += nIdxCol * sizeof(tRowcnt); /* Space for Index.aAvgEq[] */ + + pIdx->aSample = sqlite3DbMallocZero(db, nByte); + if( pIdx->aSample==0 ){ + sqlite3_finalize(pStmt); + return SQLITE_NOMEM_BKPT; + } + pSpace = (tRowcnt*)&pIdx->aSample[nSample]; + pIdx->aAvgEq = pSpace; pSpace += nIdxCol; + for(i=0; iaSample[i].anEq = pSpace; pSpace += nIdxCol; + pIdx->aSample[i].anLt = pSpace; pSpace += nIdxCol; + pIdx->aSample[i].anDLt = pSpace; pSpace += nIdxCol; + } + assert( ((u8*)pSpace)-nByte==(u8*)(pIdx->aSample) ); + } + rc = sqlite3_finalize(pStmt); + if( rc ) return rc; + + zSql = sqlite3MPrintf(db, zSql2, zDb); + if( !zSql ){ + return SQLITE_NOMEM_BKPT; + } + rc = sqlite3_prepare(db, zSql, -1, &pStmt, 0); + sqlite3DbFree(db, zSql); + if( rc ) return rc; + + while( sqlite3_step(pStmt)==SQLITE_ROW ){ + char *zIndex; /* Index name */ + Index *pIdx; /* Pointer to the index object */ + int nCol = 1; /* Number of columns in index */ + + zIndex = (char *)sqlite3_column_text(pStmt, 0); + if( zIndex==0 ) continue; + pIdx = findIndexOrPrimaryKey(db, zIndex, zDb); + if( pIdx==0 ) continue; + /* This next condition is true if data has already been loaded from + ** the sqlite_stat4 table. */ + nCol = pIdx->nSampleCol; + if( pIdx!=pPrevIdx ){ + initAvgEq(pPrevIdx); + pPrevIdx = pIdx; + } + pSample = &pIdx->aSample[pIdx->nSample]; + decodeIntArray((char*)sqlite3_column_text(pStmt,1),nCol,pSample->anEq,0,0); + decodeIntArray((char*)sqlite3_column_text(pStmt,2),nCol,pSample->anLt,0,0); + decodeIntArray((char*)sqlite3_column_text(pStmt,3),nCol,pSample->anDLt,0,0); + + /* Take a copy of the sample. Add two 0x00 bytes the end of the buffer. + ** This is in case the sample record is corrupted. In that case, the + ** sqlite3VdbeRecordCompare() may read up to two varints past the + ** end of the allocated buffer before it realizes it is dealing with + ** a corrupt record. Adding the two 0x00 bytes prevents this from causing + ** a buffer overread. */ + pSample->n = sqlite3_column_bytes(pStmt, 4); + pSample->p = sqlite3DbMallocZero(db, pSample->n + 2); + if( pSample->p==0 ){ + sqlite3_finalize(pStmt); + return SQLITE_NOMEM_BKPT; + } + if( pSample->n ){ + memcpy(pSample->p, sqlite3_column_blob(pStmt, 4), pSample->n); + } + pIdx->nSample++; + } + rc = sqlite3_finalize(pStmt); + if( rc==SQLITE_OK ) initAvgEq(pPrevIdx); + return rc; +} + +/* +** Load content from the sqlite_stat4 table into +** the Index.aSample[] arrays of all indices. +*/ +static int loadStat4(sqlite3 *db, const char *zDb){ + int rc = SQLITE_OK; /* Result codes from subroutines */ + + assert( db->lookaside.bDisable ); + if( sqlite3FindTable(db, "sqlite_stat4", zDb) ){ + rc = loadStatTbl(db, + "SELECT idx,count(*) FROM %Q.sqlite_stat4 GROUP BY idx", + "SELECT idx,neq,nlt,ndlt,sample FROM %Q.sqlite_stat4", + zDb + ); + } + return rc; +} +#endif /* SQLITE_ENABLE_STAT4 */ + +/* +** Load the content of the sqlite_stat1 and sqlite_stat4 tables. The +** contents of sqlite_stat1 are used to populate the Index.aiRowEst[] +** arrays. The contents of sqlite_stat4 are used to populate the +** Index.aSample[] arrays. +** +** If the sqlite_stat1 table is not present in the database, SQLITE_ERROR +** is returned. In this case, even if SQLITE_ENABLE_STAT4 was defined +** during compilation and the sqlite_stat4 table is present, no data is +** read from it. +** +** If SQLITE_ENABLE_STAT4 was defined during compilation and the +** sqlite_stat4 table is not present in the database, SQLITE_ERROR is +** returned. However, in this case, data is read from the sqlite_stat1 +** table (if it is present) before returning. +** +** If an OOM error occurs, this function always sets db->mallocFailed. +** This means if the caller does not care about other errors, the return +** code may be ignored. +*/ +SQLITE_PRIVATE int sqlite3AnalysisLoad(sqlite3 *db, int iDb){ + analysisInfo sInfo; + HashElem *i; + char *zSql; + int rc = SQLITE_OK; + Schema *pSchema = db->aDb[iDb].pSchema; + + assert( iDb>=0 && iDbnDb ); + assert( db->aDb[iDb].pBt!=0 ); + + /* Clear any prior statistics */ + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + for(i=sqliteHashFirst(&pSchema->tblHash); i; i=sqliteHashNext(i)){ + Table *pTab = sqliteHashData(i); + pTab->tabFlags &= ~TF_HasStat1; + } + for(i=sqliteHashFirst(&pSchema->idxHash); i; i=sqliteHashNext(i)){ + Index *pIdx = sqliteHashData(i); + pIdx->hasStat1 = 0; +#ifdef SQLITE_ENABLE_STAT4 + sqlite3DeleteIndexSamples(db, pIdx); + pIdx->aSample = 0; +#endif + } + + /* Load new statistics out of the sqlite_stat1 table */ + sInfo.db = db; + sInfo.zDatabase = db->aDb[iDb].zDbSName; + if( sqlite3FindTable(db, "sqlite_stat1", sInfo.zDatabase)!=0 ){ + zSql = sqlite3MPrintf(db, + "SELECT tbl,idx,stat FROM %Q.sqlite_stat1", sInfo.zDatabase); + if( zSql==0 ){ + rc = SQLITE_NOMEM_BKPT; + }else{ + rc = sqlite3_exec(db, zSql, analysisLoader, &sInfo, 0); + sqlite3DbFree(db, zSql); + } + } + + /* Set appropriate defaults on all indexes not in the sqlite_stat1 table */ + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + for(i=sqliteHashFirst(&pSchema->idxHash); i; i=sqliteHashNext(i)){ + Index *pIdx = sqliteHashData(i); + if( !pIdx->hasStat1 ) sqlite3DefaultRowEst(pIdx); + } + + /* Load the statistics from the sqlite_stat4 table. */ +#ifdef SQLITE_ENABLE_STAT4 + if( rc==SQLITE_OK ){ + db->lookaside.bDisable++; + rc = loadStat4(db, sInfo.zDatabase); + db->lookaside.bDisable--; + } + for(i=sqliteHashFirst(&pSchema->idxHash); i; i=sqliteHashNext(i)){ + Index *pIdx = sqliteHashData(i); + sqlite3_free(pIdx->aiRowEst); + pIdx->aiRowEst = 0; + } +#endif + + if( rc==SQLITE_NOMEM ){ + sqlite3OomFault(db); + } + return rc; +} + + +#endif /* SQLITE_OMIT_ANALYZE */ + +/************** End of analyze.c *********************************************/ +/************** Begin file attach.c ******************************************/ +/* +** 2003 April 6 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains code used to implement the ATTACH and DETACH commands. +*/ +/* #include "sqliteInt.h" */ + +#ifndef SQLITE_OMIT_ATTACH +/* +** Resolve an expression that was part of an ATTACH or DETACH statement. This +** is slightly different from resolving a normal SQL expression, because simple +** identifiers are treated as strings, not possible column names or aliases. +** +** i.e. if the parser sees: +** +** ATTACH DATABASE abc AS def +** +** it treats the two expressions as literal strings 'abc' and 'def' instead of +** looking for columns of the same name. +** +** This only applies to the root node of pExpr, so the statement: +** +** ATTACH DATABASE abc||def AS 'db2' +** +** will fail because neither abc or def can be resolved. +*/ +static int resolveAttachExpr(NameContext *pName, Expr *pExpr) +{ + int rc = SQLITE_OK; + if( pExpr ){ + if( pExpr->op!=TK_ID ){ + rc = sqlite3ResolveExprNames(pName, pExpr); + }else{ + pExpr->op = TK_STRING; + } + } + return rc; +} + +/* +** An SQL user-function registered to do the work of an ATTACH statement. The +** three arguments to the function come directly from an attach statement: +** +** ATTACH DATABASE x AS y KEY z +** +** SELECT sqlite_attach(x, y, z) +** +** If the optional "KEY z" syntax is omitted, an SQL NULL is passed as the +** third argument. +** +** If the db->init.reopenMemdb flags is set, then instead of attaching a +** new database, close the database on db->init.iDb and reopen it as an +** empty MemDB. +*/ +static void attachFunc( + sqlite3_context *context, + int NotUsed, + sqlite3_value **argv +){ + int i; + int rc = 0; + sqlite3 *db = sqlite3_context_db_handle(context); + const char *zName; + const char *zFile; + char *zPath = 0; + char *zErr = 0; + unsigned int flags; + Db *aNew; /* New array of Db pointers */ + Db *pNew; /* Db object for the newly attached database */ + char *zErrDyn = 0; + sqlite3_vfs *pVfs; + + UNUSED_PARAMETER(NotUsed); + zFile = (const char *)sqlite3_value_text(argv[0]); + zName = (const char *)sqlite3_value_text(argv[1]); + if( zFile==0 ) zFile = ""; + if( zName==0 ) zName = ""; + +#ifdef SQLITE_ENABLE_DESERIALIZE +# define REOPEN_AS_MEMDB(db) (db->init.reopenMemdb) +#else +# define REOPEN_AS_MEMDB(db) (0) +#endif + + if( REOPEN_AS_MEMDB(db) ){ + /* This is not a real ATTACH. Instead, this routine is being called + ** from sqlite3_deserialize() to close database db->init.iDb and + ** reopen it as a MemDB */ + pVfs = sqlite3_vfs_find("memdb"); + if( pVfs==0 ) return; + pNew = &db->aDb[db->init.iDb]; + if( pNew->pBt ) sqlite3BtreeClose(pNew->pBt); + pNew->pBt = 0; + pNew->pSchema = 0; + rc = sqlite3BtreeOpen(pVfs, "x\0", db, &pNew->pBt, 0, SQLITE_OPEN_MAIN_DB); + }else{ + /* This is a real ATTACH + ** + ** Check for the following errors: + ** + ** * Too many attached databases, + ** * Transaction currently open + ** * Specified database name already being used. + */ + if( db->nDb>=db->aLimit[SQLITE_LIMIT_ATTACHED]+2 ){ + zErrDyn = sqlite3MPrintf(db, "too many attached databases - max %d", + db->aLimit[SQLITE_LIMIT_ATTACHED] + ); + goto attach_error; + } + for(i=0; inDb; i++){ + char *z = db->aDb[i].zDbSName; + assert( z && zName ); + if( sqlite3StrICmp(z, zName)==0 ){ + zErrDyn = sqlite3MPrintf(db, "database %s is already in use", zName); + goto attach_error; + } + } + + /* Allocate the new entry in the db->aDb[] array and initialize the schema + ** hash tables. + */ + if( db->aDb==db->aDbStatic ){ + aNew = sqlite3DbMallocRawNN(db, sizeof(db->aDb[0])*3 ); + if( aNew==0 ) return; + memcpy(aNew, db->aDb, sizeof(db->aDb[0])*2); + }else{ + aNew = sqlite3DbRealloc(db, db->aDb, sizeof(db->aDb[0])*(db->nDb+1) ); + if( aNew==0 ) return; + } + db->aDb = aNew; + pNew = &db->aDb[db->nDb]; + memset(pNew, 0, sizeof(*pNew)); + + /* Open the database file. If the btree is successfully opened, use + ** it to obtain the database schema. At this point the schema may + ** or may not be initialized. + */ + flags = db->openFlags; + rc = sqlite3ParseUri(db->pVfs->zName, zFile, &flags, &pVfs, &zPath, &zErr); + if( rc!=SQLITE_OK ){ + if( rc==SQLITE_NOMEM ) sqlite3OomFault(db); + sqlite3_result_error(context, zErr, -1); + sqlite3_free(zErr); + return; + } + assert( pVfs ); + flags |= SQLITE_OPEN_MAIN_DB; + rc = sqlite3BtreeOpen(pVfs, zPath, db, &pNew->pBt, 0, flags); + db->nDb++; + pNew->zDbSName = sqlite3DbStrDup(db, zName); + } + db->noSharedCache = 0; + if( rc==SQLITE_CONSTRAINT ){ + rc = SQLITE_ERROR; + zErrDyn = sqlite3MPrintf(db, "database is already attached"); + }else if( rc==SQLITE_OK ){ + Pager *pPager; + pNew->pSchema = sqlite3SchemaGet(db, pNew->pBt); + if( !pNew->pSchema ){ + rc = SQLITE_NOMEM_BKPT; + }else if( pNew->pSchema->file_format && pNew->pSchema->enc!=ENC(db) ){ + zErrDyn = sqlite3MPrintf(db, + "attached databases must use the same text encoding as main database"); + rc = SQLITE_ERROR; + } + sqlite3BtreeEnter(pNew->pBt); + pPager = sqlite3BtreePager(pNew->pBt); + sqlite3PagerLockingMode(pPager, db->dfltLockMode); + sqlite3BtreeSecureDelete(pNew->pBt, + sqlite3BtreeSecureDelete(db->aDb[0].pBt,-1) ); +#ifndef SQLITE_OMIT_PAGER_PRAGMAS + sqlite3BtreeSetPagerFlags(pNew->pBt, + PAGER_SYNCHRONOUS_FULL | (db->flags & PAGER_FLAGS_MASK)); +#endif + sqlite3BtreeLeave(pNew->pBt); + } + pNew->safety_level = SQLITE_DEFAULT_SYNCHRONOUS+1; + if( rc==SQLITE_OK && pNew->zDbSName==0 ){ + rc = SQLITE_NOMEM_BKPT; + } + + +#ifdef SQLITE_HAS_CODEC + if( rc==SQLITE_OK ){ + extern int sqlite3CodecAttach(sqlite3*, int, const void*, int); + extern void sqlite3CodecGetKey(sqlite3*, int, void**, int*); + int nKey; + char *zKey; + int t = sqlite3_value_type(argv[2]); + switch( t ){ + case SQLITE_INTEGER: + case SQLITE_FLOAT: + zErrDyn = sqlite3DbStrDup(db, "Invalid key value"); + rc = SQLITE_ERROR; + break; + + case SQLITE_TEXT: + case SQLITE_BLOB: + nKey = sqlite3_value_bytes(argv[2]); + zKey = (char *)sqlite3_value_blob(argv[2]); + rc = sqlite3CodecAttach(db, db->nDb-1, zKey, nKey); + break; + + case SQLITE_NULL: + /* No key specified. Use the key from URI filename, or if none, + ** use the key from the main database. */ + if( sqlite3CodecQueryParameters(db, zName, zPath)==0 ){ + sqlite3CodecGetKey(db, 0, (void**)&zKey, &nKey); + if( nKey || sqlite3BtreeGetOptimalReserve(db->aDb[0].pBt)>0 ){ + rc = sqlite3CodecAttach(db, db->nDb-1, zKey, nKey); + } + } + break; + } + } +#endif + sqlite3_free( zPath ); + + /* If the file was opened successfully, read the schema for the new database. + ** If this fails, or if opening the file failed, then close the file and + ** remove the entry from the db->aDb[] array. i.e. put everything back the + ** way we found it. + */ + if( rc==SQLITE_OK ){ + sqlite3BtreeEnterAll(db); + db->init.iDb = 0; + db->mDbFlags &= ~(DBFLAG_SchemaKnownOk); + if( !REOPEN_AS_MEMDB(db) ){ + rc = sqlite3Init(db, &zErrDyn); + } + sqlite3BtreeLeaveAll(db); + assert( zErrDyn==0 || rc!=SQLITE_OK ); + } +#ifdef SQLITE_USER_AUTHENTICATION + if( rc==SQLITE_OK && !REOPEN_AS_MEMDB(db) ){ + u8 newAuth = 0; + rc = sqlite3UserAuthCheckLogin(db, zName, &newAuth); + if( newAuthauth.authLevel ){ + rc = SQLITE_AUTH_USER; + } + } +#endif + if( rc ){ + if( !REOPEN_AS_MEMDB(db) ){ + int iDb = db->nDb - 1; + assert( iDb>=2 ); + if( db->aDb[iDb].pBt ){ + sqlite3BtreeClose(db->aDb[iDb].pBt); + db->aDb[iDb].pBt = 0; + db->aDb[iDb].pSchema = 0; + } + sqlite3ResetAllSchemasOfConnection(db); + db->nDb = iDb; + if( rc==SQLITE_NOMEM || rc==SQLITE_IOERR_NOMEM ){ + sqlite3OomFault(db); + sqlite3DbFree(db, zErrDyn); + zErrDyn = sqlite3MPrintf(db, "out of memory"); + }else if( zErrDyn==0 ){ + zErrDyn = sqlite3MPrintf(db, "unable to open database: %s", zFile); + } + } + goto attach_error; + } + + return; + +attach_error: + /* Return an error if we get here */ + if( zErrDyn ){ + sqlite3_result_error(context, zErrDyn, -1); + sqlite3DbFree(db, zErrDyn); + } + if( rc ) sqlite3_result_error_code(context, rc); +} + +/* +** An SQL user-function registered to do the work of an DETACH statement. The +** three arguments to the function come directly from a detach statement: +** +** DETACH DATABASE x +** +** SELECT sqlite_detach(x) +*/ +static void detachFunc( + sqlite3_context *context, + int NotUsed, + sqlite3_value **argv +){ + const char *zName = (const char *)sqlite3_value_text(argv[0]); + sqlite3 *db = sqlite3_context_db_handle(context); + int i; + Db *pDb = 0; + HashElem *pEntry; + char zErr[128]; + + UNUSED_PARAMETER(NotUsed); + + if( zName==0 ) zName = ""; + for(i=0; inDb; i++){ + pDb = &db->aDb[i]; + if( pDb->pBt==0 ) continue; + if( sqlite3StrICmp(pDb->zDbSName, zName)==0 ) break; + } + + if( i>=db->nDb ){ + sqlite3_snprintf(sizeof(zErr),zErr, "no such database: %s", zName); + goto detach_error; + } + if( i<2 ){ + sqlite3_snprintf(sizeof(zErr),zErr, "cannot detach database %s", zName); + goto detach_error; + } + if( sqlite3BtreeIsInReadTrans(pDb->pBt) || sqlite3BtreeIsInBackup(pDb->pBt) ){ + sqlite3_snprintf(sizeof(zErr),zErr, "database %s is locked", zName); + goto detach_error; + } + + /* If any TEMP triggers reference the schema being detached, move those + ** triggers to reference the TEMP schema itself. */ + assert( db->aDb[1].pSchema ); + pEntry = sqliteHashFirst(&db->aDb[1].pSchema->trigHash); + while( pEntry ){ + Trigger *pTrig = (Trigger*)sqliteHashData(pEntry); + if( pTrig->pTabSchema==pDb->pSchema ){ + pTrig->pTabSchema = pTrig->pSchema; + } + pEntry = sqliteHashNext(pEntry); + } + + sqlite3BtreeClose(pDb->pBt); + pDb->pBt = 0; + pDb->pSchema = 0; + sqlite3CollapseDatabaseArray(db); + return; + +detach_error: + sqlite3_result_error(context, zErr, -1); +} + +/* +** This procedure generates VDBE code for a single invocation of either the +** sqlite_detach() or sqlite_attach() SQL user functions. +*/ +static void codeAttach( + Parse *pParse, /* The parser context */ + int type, /* Either SQLITE_ATTACH or SQLITE_DETACH */ + FuncDef const *pFunc,/* FuncDef wrapper for detachFunc() or attachFunc() */ + Expr *pAuthArg, /* Expression to pass to authorization callback */ + Expr *pFilename, /* Name of database file */ + Expr *pDbname, /* Name of the database to use internally */ + Expr *pKey /* Database key for encryption extension */ +){ + int rc; + NameContext sName; + Vdbe *v; + sqlite3* db = pParse->db; + int regArgs; + + if( pParse->nErr ) goto attach_end; + memset(&sName, 0, sizeof(NameContext)); + sName.pParse = pParse; + + if( + SQLITE_OK!=(rc = resolveAttachExpr(&sName, pFilename)) || + SQLITE_OK!=(rc = resolveAttachExpr(&sName, pDbname)) || + SQLITE_OK!=(rc = resolveAttachExpr(&sName, pKey)) + ){ + goto attach_end; + } + +#ifndef SQLITE_OMIT_AUTHORIZATION + if( pAuthArg ){ + char *zAuthArg; + if( pAuthArg->op==TK_STRING ){ + zAuthArg = pAuthArg->u.zToken; + }else{ + zAuthArg = 0; + } + rc = sqlite3AuthCheck(pParse, type, zAuthArg, 0, 0); + if(rc!=SQLITE_OK ){ + goto attach_end; + } + } +#endif /* SQLITE_OMIT_AUTHORIZATION */ + + + v = sqlite3GetVdbe(pParse); + regArgs = sqlite3GetTempRange(pParse, 4); + sqlite3ExprCode(pParse, pFilename, regArgs); + sqlite3ExprCode(pParse, pDbname, regArgs+1); + sqlite3ExprCode(pParse, pKey, regArgs+2); + + assert( v || db->mallocFailed ); + if( v ){ + sqlite3VdbeAddOp4(v, OP_Function0, 0, regArgs+3-pFunc->nArg, regArgs+3, + (char *)pFunc, P4_FUNCDEF); + assert( pFunc->nArg==-1 || (pFunc->nArg&0xff)==pFunc->nArg ); + sqlite3VdbeChangeP5(v, (u8)(pFunc->nArg)); + + /* Code an OP_Expire. For an ATTACH statement, set P1 to true (expire this + ** statement only). For DETACH, set it to false (expire all existing + ** statements). + */ + sqlite3VdbeAddOp1(v, OP_Expire, (type==SQLITE_ATTACH)); + } + +attach_end: + sqlite3ExprDelete(db, pFilename); + sqlite3ExprDelete(db, pDbname); + sqlite3ExprDelete(db, pKey); +} + +/* +** Called by the parser to compile a DETACH statement. +** +** DETACH pDbname +*/ +SQLITE_PRIVATE void sqlite3Detach(Parse *pParse, Expr *pDbname){ + static const FuncDef detach_func = { + 1, /* nArg */ + SQLITE_UTF8, /* funcFlags */ + 0, /* pUserData */ + 0, /* pNext */ + detachFunc, /* xSFunc */ + 0, /* xFinalize */ + 0, 0, /* xValue, xInverse */ + "sqlite_detach", /* zName */ + {0} + }; + codeAttach(pParse, SQLITE_DETACH, &detach_func, pDbname, 0, 0, pDbname); +} + +/* +** Called by the parser to compile an ATTACH statement. +** +** ATTACH p AS pDbname KEY pKey +*/ +SQLITE_PRIVATE void sqlite3Attach(Parse *pParse, Expr *p, Expr *pDbname, Expr *pKey){ + static const FuncDef attach_func = { + 3, /* nArg */ + SQLITE_UTF8, /* funcFlags */ + 0, /* pUserData */ + 0, /* pNext */ + attachFunc, /* xSFunc */ + 0, /* xFinalize */ + 0, 0, /* xValue, xInverse */ + "sqlite_attach", /* zName */ + {0} + }; + codeAttach(pParse, SQLITE_ATTACH, &attach_func, p, p, pDbname, pKey); +} +#endif /* SQLITE_OMIT_ATTACH */ + +/* +** Initialize a DbFixer structure. This routine must be called prior +** to passing the structure to one of the sqliteFixAAAA() routines below. +*/ +SQLITE_PRIVATE void sqlite3FixInit( + DbFixer *pFix, /* The fixer to be initialized */ + Parse *pParse, /* Error messages will be written here */ + int iDb, /* This is the database that must be used */ + const char *zType, /* "view", "trigger", or "index" */ + const Token *pName /* Name of the view, trigger, or index */ +){ + sqlite3 *db; + + db = pParse->db; + assert( db->nDb>iDb ); + pFix->pParse = pParse; + pFix->zDb = db->aDb[iDb].zDbSName; + pFix->pSchema = db->aDb[iDb].pSchema; + pFix->zType = zType; + pFix->pName = pName; + pFix->bVarOnly = (iDb==1); +} + +/* +** The following set of routines walk through the parse tree and assign +** a specific database to all table references where the database name +** was left unspecified in the original SQL statement. The pFix structure +** must have been initialized by a prior call to sqlite3FixInit(). +** +** These routines are used to make sure that an index, trigger, or +** view in one database does not refer to objects in a different database. +** (Exception: indices, triggers, and views in the TEMP database are +** allowed to refer to anything.) If a reference is explicitly made +** to an object in a different database, an error message is added to +** pParse->zErrMsg and these routines return non-zero. If everything +** checks out, these routines return 0. +*/ +SQLITE_PRIVATE int sqlite3FixSrcList( + DbFixer *pFix, /* Context of the fixation */ + SrcList *pList /* The Source list to check and modify */ +){ + int i; + const char *zDb; + struct SrcList_item *pItem; + + if( NEVER(pList==0) ) return 0; + zDb = pFix->zDb; + for(i=0, pItem=pList->a; inSrc; i++, pItem++){ + if( pFix->bVarOnly==0 ){ + if( pItem->zDatabase && sqlite3StrICmp(pItem->zDatabase, zDb) ){ + sqlite3ErrorMsg(pFix->pParse, + "%s %T cannot reference objects in database %s", + pFix->zType, pFix->pName, pItem->zDatabase); + return 1; + } + sqlite3DbFree(pFix->pParse->db, pItem->zDatabase); + pItem->zDatabase = 0; + pItem->pSchema = pFix->pSchema; + } +#if !defined(SQLITE_OMIT_VIEW) || !defined(SQLITE_OMIT_TRIGGER) + if( sqlite3FixSelect(pFix, pItem->pSelect) ) return 1; + if( sqlite3FixExpr(pFix, pItem->pOn) ) return 1; +#endif + if( pItem->fg.isTabFunc && sqlite3FixExprList(pFix, pItem->u1.pFuncArg) ){ + return 1; + } + } + return 0; +} +#if !defined(SQLITE_OMIT_VIEW) || !defined(SQLITE_OMIT_TRIGGER) +SQLITE_PRIVATE int sqlite3FixSelect( + DbFixer *pFix, /* Context of the fixation */ + Select *pSelect /* The SELECT statement to be fixed to one database */ +){ + while( pSelect ){ + if( sqlite3FixExprList(pFix, pSelect->pEList) ){ + return 1; + } + if( sqlite3FixSrcList(pFix, pSelect->pSrc) ){ + return 1; + } + if( sqlite3FixExpr(pFix, pSelect->pWhere) ){ + return 1; + } + if( sqlite3FixExprList(pFix, pSelect->pGroupBy) ){ + return 1; + } + if( sqlite3FixExpr(pFix, pSelect->pHaving) ){ + return 1; + } + if( sqlite3FixExprList(pFix, pSelect->pOrderBy) ){ + return 1; + } + if( sqlite3FixExpr(pFix, pSelect->pLimit) ){ + return 1; + } + if( pSelect->pWith ){ + int i; + for(i=0; ipWith->nCte; i++){ + if( sqlite3FixSelect(pFix, pSelect->pWith->a[i].pSelect) ){ + return 1; + } + } + } + pSelect = pSelect->pPrior; + } + return 0; +} +SQLITE_PRIVATE int sqlite3FixExpr( + DbFixer *pFix, /* Context of the fixation */ + Expr *pExpr /* The expression to be fixed to one database */ +){ + while( pExpr ){ + ExprSetProperty(pExpr, EP_Indirect); + if( pExpr->op==TK_VARIABLE ){ + if( pFix->pParse->db->init.busy ){ + pExpr->op = TK_NULL; + }else{ + sqlite3ErrorMsg(pFix->pParse, "%s cannot use variables", pFix->zType); + return 1; + } + } + if( ExprHasProperty(pExpr, EP_TokenOnly|EP_Leaf) ) break; + if( ExprHasProperty(pExpr, EP_xIsSelect) ){ + if( sqlite3FixSelect(pFix, pExpr->x.pSelect) ) return 1; + }else{ + if( sqlite3FixExprList(pFix, pExpr->x.pList) ) return 1; + } + if( sqlite3FixExpr(pFix, pExpr->pRight) ){ + return 1; + } + pExpr = pExpr->pLeft; + } + return 0; +} +SQLITE_PRIVATE int sqlite3FixExprList( + DbFixer *pFix, /* Context of the fixation */ + ExprList *pList /* The expression to be fixed to one database */ +){ + int i; + struct ExprList_item *pItem; + if( pList==0 ) return 0; + for(i=0, pItem=pList->a; inExpr; i++, pItem++){ + if( sqlite3FixExpr(pFix, pItem->pExpr) ){ + return 1; + } + } + return 0; +} +#endif + +#ifndef SQLITE_OMIT_TRIGGER +SQLITE_PRIVATE int sqlite3FixTriggerStep( + DbFixer *pFix, /* Context of the fixation */ + TriggerStep *pStep /* The trigger step be fixed to one database */ +){ + while( pStep ){ + if( sqlite3FixSelect(pFix, pStep->pSelect) ){ + return 1; + } + if( sqlite3FixExpr(pFix, pStep->pWhere) ){ + return 1; + } + if( sqlite3FixExprList(pFix, pStep->pExprList) ){ + return 1; + } +#ifndef SQLITE_OMIT_UPSERT + if( pStep->pUpsert ){ + Upsert *pUp = pStep->pUpsert; + if( sqlite3FixExprList(pFix, pUp->pUpsertTarget) + || sqlite3FixExpr(pFix, pUp->pUpsertTargetWhere) + || sqlite3FixExprList(pFix, pUp->pUpsertSet) + || sqlite3FixExpr(pFix, pUp->pUpsertWhere) + ){ + return 1; + } + } +#endif + pStep = pStep->pNext; + } + return 0; +} +#endif + +/************** End of attach.c **********************************************/ +/************** Begin file auth.c ********************************************/ +/* +** 2003 January 11 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains code used to implement the sqlite3_set_authorizer() +** API. This facility is an optional feature of the library. Embedded +** systems that do not need this facility may omit it by recompiling +** the library with -DSQLITE_OMIT_AUTHORIZATION=1 +*/ +/* #include "sqliteInt.h" */ + +/* +** All of the code in this file may be omitted by defining a single +** macro. +*/ +#ifndef SQLITE_OMIT_AUTHORIZATION + +/* +** Set or clear the access authorization function. +** +** The access authorization function is be called during the compilation +** phase to verify that the user has read and/or write access permission on +** various fields of the database. The first argument to the auth function +** is a copy of the 3rd argument to this routine. The second argument +** to the auth function is one of these constants: +** +** SQLITE_CREATE_INDEX +** SQLITE_CREATE_TABLE +** SQLITE_CREATE_TEMP_INDEX +** SQLITE_CREATE_TEMP_TABLE +** SQLITE_CREATE_TEMP_TRIGGER +** SQLITE_CREATE_TEMP_VIEW +** SQLITE_CREATE_TRIGGER +** SQLITE_CREATE_VIEW +** SQLITE_DELETE +** SQLITE_DROP_INDEX +** SQLITE_DROP_TABLE +** SQLITE_DROP_TEMP_INDEX +** SQLITE_DROP_TEMP_TABLE +** SQLITE_DROP_TEMP_TRIGGER +** SQLITE_DROP_TEMP_VIEW +** SQLITE_DROP_TRIGGER +** SQLITE_DROP_VIEW +** SQLITE_INSERT +** SQLITE_PRAGMA +** SQLITE_READ +** SQLITE_SELECT +** SQLITE_TRANSACTION +** SQLITE_UPDATE +** +** The third and fourth arguments to the auth function are the name of +** the table and the column that are being accessed. The auth function +** should return either SQLITE_OK, SQLITE_DENY, or SQLITE_IGNORE. If +** SQLITE_OK is returned, it means that access is allowed. SQLITE_DENY +** means that the SQL statement will never-run - the sqlite3_exec() call +** will return with an error. SQLITE_IGNORE means that the SQL statement +** should run but attempts to read the specified column will return NULL +** and attempts to write the column will be ignored. +** +** Setting the auth function to NULL disables this hook. The default +** setting of the auth function is NULL. +*/ +SQLITE_API int sqlite3_set_authorizer( + sqlite3 *db, + int (*xAuth)(void*,int,const char*,const char*,const char*,const char*), + void *pArg +){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(db->mutex); + db->xAuth = (sqlite3_xauth)xAuth; + db->pAuthArg = pArg; + if( db->xAuth ) sqlite3ExpirePreparedStatements(db, 1); + sqlite3_mutex_leave(db->mutex); + return SQLITE_OK; +} + +/* +** Write an error message into pParse->zErrMsg that explains that the +** user-supplied authorization function returned an illegal value. +*/ +static void sqliteAuthBadReturnCode(Parse *pParse){ + sqlite3ErrorMsg(pParse, "authorizer malfunction"); + pParse->rc = SQLITE_ERROR; +} + +/* +** Invoke the authorization callback for permission to read column zCol from +** table zTab in database zDb. This function assumes that an authorization +** callback has been registered (i.e. that sqlite3.xAuth is not NULL). +** +** If SQLITE_IGNORE is returned and pExpr is not NULL, then pExpr is changed +** to an SQL NULL expression. Otherwise, if pExpr is NULL, then SQLITE_IGNORE +** is treated as SQLITE_DENY. In this case an error is left in pParse. +*/ +SQLITE_PRIVATE int sqlite3AuthReadCol( + Parse *pParse, /* The parser context */ + const char *zTab, /* Table name */ + const char *zCol, /* Column name */ + int iDb /* Index of containing database. */ +){ + sqlite3 *db = pParse->db; /* Database handle */ + char *zDb = db->aDb[iDb].zDbSName; /* Schema name of attached database */ + int rc; /* Auth callback return code */ + + if( db->init.busy ) return SQLITE_OK; + rc = db->xAuth(db->pAuthArg, SQLITE_READ, zTab,zCol,zDb,pParse->zAuthContext +#ifdef SQLITE_USER_AUTHENTICATION + ,db->auth.zAuthUser +#endif + ); + if( rc==SQLITE_DENY ){ + char *z = sqlite3_mprintf("%s.%s", zTab, zCol); + if( db->nDb>2 || iDb!=0 ) z = sqlite3_mprintf("%s.%z", zDb, z); + sqlite3ErrorMsg(pParse, "access to %z is prohibited", z); + pParse->rc = SQLITE_AUTH; + }else if( rc!=SQLITE_IGNORE && rc!=SQLITE_OK ){ + sqliteAuthBadReturnCode(pParse); + } + return rc; +} + +/* +** The pExpr should be a TK_COLUMN expression. The table referred to +** is in pTabList or else it is the NEW or OLD table of a trigger. +** Check to see if it is OK to read this particular column. +** +** If the auth function returns SQLITE_IGNORE, change the TK_COLUMN +** instruction into a TK_NULL. If the auth function returns SQLITE_DENY, +** then generate an error. +*/ +SQLITE_PRIVATE void sqlite3AuthRead( + Parse *pParse, /* The parser context */ + Expr *pExpr, /* The expression to check authorization on */ + Schema *pSchema, /* The schema of the expression */ + SrcList *pTabList /* All table that pExpr might refer to */ +){ + sqlite3 *db = pParse->db; + Table *pTab = 0; /* The table being read */ + const char *zCol; /* Name of the column of the table */ + int iSrc; /* Index in pTabList->a[] of table being read */ + int iDb; /* The index of the database the expression refers to */ + int iCol; /* Index of column in table */ + + assert( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ); + assert( !IN_RENAME_OBJECT || db->xAuth==0 ); + if( db->xAuth==0 ) return; + iDb = sqlite3SchemaToIndex(pParse->db, pSchema); + if( iDb<0 ){ + /* An attempt to read a column out of a subquery or other + ** temporary table. */ + return; + } + + if( pExpr->op==TK_TRIGGER ){ + pTab = pParse->pTriggerTab; + }else{ + assert( pTabList ); + for(iSrc=0; ALWAYS(iSrcnSrc); iSrc++){ + if( pExpr->iTable==pTabList->a[iSrc].iCursor ){ + pTab = pTabList->a[iSrc].pTab; + break; + } + } + } + iCol = pExpr->iColumn; + if( NEVER(pTab==0) ) return; + + if( iCol>=0 ){ + assert( iColnCol ); + zCol = pTab->aCol[iCol].zName; + }else if( pTab->iPKey>=0 ){ + assert( pTab->iPKeynCol ); + zCol = pTab->aCol[pTab->iPKey].zName; + }else{ + zCol = "ROWID"; + } + assert( iDb>=0 && iDbnDb ); + if( SQLITE_IGNORE==sqlite3AuthReadCol(pParse, pTab->zName, zCol, iDb) ){ + pExpr->op = TK_NULL; + } +} + +/* +** Do an authorization check using the code and arguments given. Return +** either SQLITE_OK (zero) or SQLITE_IGNORE or SQLITE_DENY. If SQLITE_DENY +** is returned, then the error count and error message in pParse are +** modified appropriately. +*/ +SQLITE_PRIVATE int sqlite3AuthCheck( + Parse *pParse, + int code, + const char *zArg1, + const char *zArg2, + const char *zArg3 +){ + sqlite3 *db = pParse->db; + int rc; + + /* Don't do any authorization checks if the database is initialising + ** or if the parser is being invoked from within sqlite3_declare_vtab. + */ + assert( !IN_RENAME_OBJECT || db->xAuth==0 ); + if( db->init.busy || IN_SPECIAL_PARSE ){ + return SQLITE_OK; + } + + if( db->xAuth==0 ){ + return SQLITE_OK; + } + + /* EVIDENCE-OF: R-43249-19882 The third through sixth parameters to the + ** callback are either NULL pointers or zero-terminated strings that + ** contain additional details about the action to be authorized. + ** + ** The following testcase() macros show that any of the 3rd through 6th + ** parameters can be either NULL or a string. */ + testcase( zArg1==0 ); + testcase( zArg2==0 ); + testcase( zArg3==0 ); + testcase( pParse->zAuthContext==0 ); + + rc = db->xAuth(db->pAuthArg, code, zArg1, zArg2, zArg3, pParse->zAuthContext +#ifdef SQLITE_USER_AUTHENTICATION + ,db->auth.zAuthUser +#endif + ); + if( rc==SQLITE_DENY ){ + sqlite3ErrorMsg(pParse, "not authorized"); + pParse->rc = SQLITE_AUTH; + }else if( rc!=SQLITE_OK && rc!=SQLITE_IGNORE ){ + rc = SQLITE_DENY; + sqliteAuthBadReturnCode(pParse); + } + return rc; +} + +/* +** Push an authorization context. After this routine is called, the +** zArg3 argument to authorization callbacks will be zContext until +** popped. Or if pParse==0, this routine is a no-op. +*/ +SQLITE_PRIVATE void sqlite3AuthContextPush( + Parse *pParse, + AuthContext *pContext, + const char *zContext +){ + assert( pParse ); + pContext->pParse = pParse; + pContext->zAuthContext = pParse->zAuthContext; + pParse->zAuthContext = zContext; +} + +/* +** Pop an authorization context that was previously pushed +** by sqlite3AuthContextPush +*/ +SQLITE_PRIVATE void sqlite3AuthContextPop(AuthContext *pContext){ + if( pContext->pParse ){ + pContext->pParse->zAuthContext = pContext->zAuthContext; + pContext->pParse = 0; + } +} + +#endif /* SQLITE_OMIT_AUTHORIZATION */ + +/************** End of auth.c ************************************************/ +/************** Begin file build.c *******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains C code routines that are called by the SQLite parser +** when syntax rules are reduced. The routines in this file handle the +** following kinds of SQL syntax: +** +** CREATE TABLE +** DROP TABLE +** CREATE INDEX +** DROP INDEX +** creating ID lists +** BEGIN TRANSACTION +** COMMIT +** ROLLBACK +*/ +/* #include "sqliteInt.h" */ + +#ifndef SQLITE_OMIT_SHARED_CACHE +/* +** The TableLock structure is only used by the sqlite3TableLock() and +** codeTableLocks() functions. +*/ +struct TableLock { + int iDb; /* The database containing the table to be locked */ + int iTab; /* The root page of the table to be locked */ + u8 isWriteLock; /* True for write lock. False for a read lock */ + const char *zLockName; /* Name of the table */ +}; + +/* +** Record the fact that we want to lock a table at run-time. +** +** The table to be locked has root page iTab and is found in database iDb. +** A read or a write lock can be taken depending on isWritelock. +** +** This routine just records the fact that the lock is desired. The +** code to make the lock occur is generated by a later call to +** codeTableLocks() which occurs during sqlite3FinishCoding(). +*/ +SQLITE_PRIVATE void sqlite3TableLock( + Parse *pParse, /* Parsing context */ + int iDb, /* Index of the database containing the table to lock */ + int iTab, /* Root page number of the table to be locked */ + u8 isWriteLock, /* True for a write lock */ + const char *zName /* Name of the table to be locked */ +){ + Parse *pToplevel = sqlite3ParseToplevel(pParse); + int i; + int nBytes; + TableLock *p; + assert( iDb>=0 ); + + if( iDb==1 ) return; + if( !sqlite3BtreeSharable(pParse->db->aDb[iDb].pBt) ) return; + for(i=0; inTableLock; i++){ + p = &pToplevel->aTableLock[i]; + if( p->iDb==iDb && p->iTab==iTab ){ + p->isWriteLock = (p->isWriteLock || isWriteLock); + return; + } + } + + nBytes = sizeof(TableLock) * (pToplevel->nTableLock+1); + pToplevel->aTableLock = + sqlite3DbReallocOrFree(pToplevel->db, pToplevel->aTableLock, nBytes); + if( pToplevel->aTableLock ){ + p = &pToplevel->aTableLock[pToplevel->nTableLock++]; + p->iDb = iDb; + p->iTab = iTab; + p->isWriteLock = isWriteLock; + p->zLockName = zName; + }else{ + pToplevel->nTableLock = 0; + sqlite3OomFault(pToplevel->db); + } +} + +/* +** Code an OP_TableLock instruction for each table locked by the +** statement (configured by calls to sqlite3TableLock()). +*/ +static void codeTableLocks(Parse *pParse){ + int i; + Vdbe *pVdbe; + + pVdbe = sqlite3GetVdbe(pParse); + assert( pVdbe!=0 ); /* sqlite3GetVdbe cannot fail: VDBE already allocated */ + + for(i=0; inTableLock; i++){ + TableLock *p = &pParse->aTableLock[i]; + int p1 = p->iDb; + sqlite3VdbeAddOp4(pVdbe, OP_TableLock, p1, p->iTab, p->isWriteLock, + p->zLockName, P4_STATIC); + } +} +#else + #define codeTableLocks(x) +#endif + +/* +** Return TRUE if the given yDbMask object is empty - if it contains no +** 1 bits. This routine is used by the DbMaskAllZero() and DbMaskNotZero() +** macros when SQLITE_MAX_ATTACHED is greater than 30. +*/ +#if SQLITE_MAX_ATTACHED>30 +SQLITE_PRIVATE int sqlite3DbMaskAllZero(yDbMask m){ + int i; + for(i=0; ipToplevel==0 ); + db = pParse->db; + if( pParse->nested ) return; + if( db->mallocFailed || pParse->nErr ){ + if( pParse->rc==SQLITE_OK ) pParse->rc = SQLITE_ERROR; + return; + } + + /* Begin by generating some termination code at the end of the + ** vdbe program + */ + v = sqlite3GetVdbe(pParse); + assert( !pParse->isMultiWrite + || sqlite3VdbeAssertMayAbort(v, pParse->mayAbort)); + if( v ){ + sqlite3VdbeAddOp0(v, OP_Halt); + +#if SQLITE_USER_AUTHENTICATION + if( pParse->nTableLock>0 && db->init.busy==0 ){ + sqlite3UserAuthInit(db); + if( db->auth.authLevelrc = SQLITE_AUTH_USER; + return; + } + } +#endif + + /* The cookie mask contains one bit for each database file open. + ** (Bit 0 is for main, bit 1 is for temp, and so forth.) Bits are + ** set for each database that is used. Generate code to start a + ** transaction on each used database and to verify the schema cookie + ** on each used database. + */ + if( db->mallocFailed==0 + && (DbMaskNonZero(pParse->cookieMask) || pParse->pConstExpr) + ){ + int iDb, i; + assert( sqlite3VdbeGetOp(v, 0)->opcode==OP_Init ); + sqlite3VdbeJumpHere(v, 0); + for(iDb=0; iDbnDb; iDb++){ + Schema *pSchema; + if( DbMaskTest(pParse->cookieMask, iDb)==0 ) continue; + sqlite3VdbeUsesBtree(v, iDb); + pSchema = db->aDb[iDb].pSchema; + sqlite3VdbeAddOp4Int(v, + OP_Transaction, /* Opcode */ + iDb, /* P1 */ + DbMaskTest(pParse->writeMask,iDb), /* P2 */ + pSchema->schema_cookie, /* P3 */ + pSchema->iGeneration /* P4 */ + ); + if( db->init.busy==0 ) sqlite3VdbeChangeP5(v, 1); + VdbeComment((v, + "usesStmtJournal=%d", pParse->mayAbort && pParse->isMultiWrite)); + } +#ifndef SQLITE_OMIT_VIRTUALTABLE + for(i=0; inVtabLock; i++){ + char *vtab = (char *)sqlite3GetVTable(db, pParse->apVtabLock[i]); + sqlite3VdbeAddOp4(v, OP_VBegin, 0, 0, 0, vtab, P4_VTAB); + } + pParse->nVtabLock = 0; +#endif + + /* Once all the cookies have been verified and transactions opened, + ** obtain the required table-locks. This is a no-op unless the + ** shared-cache feature is enabled. + */ + codeTableLocks(pParse); + + /* Initialize any AUTOINCREMENT data structures required. + */ + sqlite3AutoincrementBegin(pParse); + + /* Code constant expressions that where factored out of inner loops */ + if( pParse->pConstExpr ){ + ExprList *pEL = pParse->pConstExpr; + pParse->okConstFactor = 0; + for(i=0; inExpr; i++){ + sqlite3ExprCode(pParse, pEL->a[i].pExpr, pEL->a[i].u.iConstExprReg); + } + } + + /* Finally, jump back to the beginning of the executable code. */ + sqlite3VdbeGoto(v, 1); + } + } + + + /* Get the VDBE program ready for execution + */ + if( v && pParse->nErr==0 && !db->mallocFailed ){ + /* A minimum of one cursor is required if autoincrement is used + * See ticket [a696379c1f08866] */ + assert( pParse->pAinc==0 || pParse->nTab>0 ); + sqlite3VdbeMakeReady(v, pParse); + pParse->rc = SQLITE_DONE; + }else{ + pParse->rc = SQLITE_ERROR; + } +} + +/* +** Run the parser and code generator recursively in order to generate +** code for the SQL statement given onto the end of the pParse context +** currently under construction. When the parser is run recursively +** this way, the final OP_Halt is not appended and other initialization +** and finalization steps are omitted because those are handling by the +** outermost parser. +** +** Not everything is nestable. This facility is designed to permit +** INSERT, UPDATE, and DELETE operations against SQLITE_MASTER. Use +** care if you decide to try to use this routine for some other purposes. +*/ +SQLITE_PRIVATE void sqlite3NestedParse(Parse *pParse, const char *zFormat, ...){ + va_list ap; + char *zSql; + char *zErrMsg = 0; + sqlite3 *db = pParse->db; + char saveBuf[PARSE_TAIL_SZ]; + + if( pParse->nErr ) return; + assert( pParse->nested<10 ); /* Nesting should only be of limited depth */ + va_start(ap, zFormat); + zSql = sqlite3VMPrintf(db, zFormat, ap); + va_end(ap); + if( zSql==0 ){ + /* This can result either from an OOM or because the formatted string + ** exceeds SQLITE_LIMIT_LENGTH. In the latter case, we need to set + ** an error */ + if( !db->mallocFailed ) pParse->rc = SQLITE_TOOBIG; + pParse->nErr++; + return; + } + pParse->nested++; + memcpy(saveBuf, PARSE_TAIL(pParse), PARSE_TAIL_SZ); + memset(PARSE_TAIL(pParse), 0, PARSE_TAIL_SZ); + sqlite3RunParser(pParse, zSql, &zErrMsg); + sqlite3DbFree(db, zErrMsg); + sqlite3DbFree(db, zSql); + memcpy(PARSE_TAIL(pParse), saveBuf, PARSE_TAIL_SZ); + pParse->nested--; +} + +#if SQLITE_USER_AUTHENTICATION +/* +** Return TRUE if zTable is the name of the system table that stores the +** list of users and their access credentials. +*/ +SQLITE_PRIVATE int sqlite3UserAuthTable(const char *zTable){ + return sqlite3_stricmp(zTable, "sqlite_user")==0; +} +#endif + +/* +** Locate the in-memory structure that describes a particular database +** table given the name of that table and (optionally) the name of the +** database containing the table. Return NULL if not found. +** +** If zDatabase is 0, all databases are searched for the table and the +** first matching table is returned. (No checking for duplicate table +** names is done.) The search order is TEMP first, then MAIN, then any +** auxiliary databases added using the ATTACH command. +** +** See also sqlite3LocateTable(). +*/ +SQLITE_PRIVATE Table *sqlite3FindTable(sqlite3 *db, const char *zName, const char *zDatabase){ + Table *p = 0; + int i; + + /* All mutexes are required for schema access. Make sure we hold them. */ + assert( zDatabase!=0 || sqlite3BtreeHoldsAllMutexes(db) ); +#if SQLITE_USER_AUTHENTICATION + /* Only the admin user is allowed to know that the sqlite_user table + ** exists */ + if( db->auth.authLevelnDb; i++){ + int j = (i<2) ? i^1 : i; /* Search TEMP before MAIN */ + if( zDatabase==0 || sqlite3StrICmp(zDatabase, db->aDb[j].zDbSName)==0 ){ + assert( sqlite3SchemaMutexHeld(db, j, 0) ); + p = sqlite3HashFind(&db->aDb[j].pSchema->tblHash, zName); + if( p ) return p; + } + } + /* Not found. If the name we were looking for was temp.sqlite_master + ** then change the name to sqlite_temp_master and try again. */ + if( sqlite3StrICmp(zName, MASTER_NAME)!=0 ) break; + if( sqlite3_stricmp(zDatabase, db->aDb[1].zDbSName)!=0 ) break; + zName = TEMP_MASTER_NAME; + } + return 0; +} + +/* +** Locate the in-memory structure that describes a particular database +** table given the name of that table and (optionally) the name of the +** database containing the table. Return NULL if not found. Also leave an +** error message in pParse->zErrMsg. +** +** The difference between this routine and sqlite3FindTable() is that this +** routine leaves an error message in pParse->zErrMsg where +** sqlite3FindTable() does not. +*/ +SQLITE_PRIVATE Table *sqlite3LocateTable( + Parse *pParse, /* context in which to report errors */ + u32 flags, /* LOCATE_VIEW or LOCATE_NOERR */ + const char *zName, /* Name of the table we are looking for */ + const char *zDbase /* Name of the database. Might be NULL */ +){ + Table *p; + sqlite3 *db = pParse->db; + + /* Read the database schema. If an error occurs, leave an error message + ** and code in pParse and return NULL. */ + if( (db->mDbFlags & DBFLAG_SchemaKnownOk)==0 + && SQLITE_OK!=sqlite3ReadSchema(pParse) + ){ + return 0; + } + + p = sqlite3FindTable(db, zName, zDbase); + if( p==0 ){ +#ifndef SQLITE_OMIT_VIRTUALTABLE + /* If zName is the not the name of a table in the schema created using + ** CREATE, then check to see if it is the name of an virtual table that + ** can be an eponymous virtual table. */ + if( pParse->disableVtab==0 ){ + Module *pMod = (Module*)sqlite3HashFind(&db->aModule, zName); + if( pMod==0 && sqlite3_strnicmp(zName, "pragma_", 7)==0 ){ + pMod = sqlite3PragmaVtabRegister(db, zName); + } + if( pMod && sqlite3VtabEponymousTableInit(pParse, pMod) ){ + return pMod->pEpoTab; + } + } +#endif + if( flags & LOCATE_NOERR ) return 0; + pParse->checkSchema = 1; + }else if( IsVirtual(p) && pParse->disableVtab ){ + p = 0; + } + + if( p==0 ){ + const char *zMsg = flags & LOCATE_VIEW ? "no such view" : "no such table"; + if( zDbase ){ + sqlite3ErrorMsg(pParse, "%s: %s.%s", zMsg, zDbase, zName); + }else{ + sqlite3ErrorMsg(pParse, "%s: %s", zMsg, zName); + } + } + + return p; +} + +/* +** Locate the table identified by *p. +** +** This is a wrapper around sqlite3LocateTable(). The difference between +** sqlite3LocateTable() and this function is that this function restricts +** the search to schema (p->pSchema) if it is not NULL. p->pSchema may be +** non-NULL if it is part of a view or trigger program definition. See +** sqlite3FixSrcList() for details. +*/ +SQLITE_PRIVATE Table *sqlite3LocateTableItem( + Parse *pParse, + u32 flags, + struct SrcList_item *p +){ + const char *zDb; + assert( p->pSchema==0 || p->zDatabase==0 ); + if( p->pSchema ){ + int iDb = sqlite3SchemaToIndex(pParse->db, p->pSchema); + zDb = pParse->db->aDb[iDb].zDbSName; + }else{ + zDb = p->zDatabase; + } + return sqlite3LocateTable(pParse, flags, p->zName, zDb); +} + +/* +** Locate the in-memory structure that describes +** a particular index given the name of that index +** and the name of the database that contains the index. +** Return NULL if not found. +** +** If zDatabase is 0, all databases are searched for the +** table and the first matching index is returned. (No checking +** for duplicate index names is done.) The search order is +** TEMP first, then MAIN, then any auxiliary databases added +** using the ATTACH command. +*/ +SQLITE_PRIVATE Index *sqlite3FindIndex(sqlite3 *db, const char *zName, const char *zDb){ + Index *p = 0; + int i; + /* All mutexes are required for schema access. Make sure we hold them. */ + assert( zDb!=0 || sqlite3BtreeHoldsAllMutexes(db) ); + for(i=OMIT_TEMPDB; inDb; i++){ + int j = (i<2) ? i^1 : i; /* Search TEMP before MAIN */ + Schema *pSchema = db->aDb[j].pSchema; + assert( pSchema ); + if( zDb && sqlite3StrICmp(zDb, db->aDb[j].zDbSName) ) continue; + assert( sqlite3SchemaMutexHeld(db, j, 0) ); + p = sqlite3HashFind(&pSchema->idxHash, zName); + if( p ) break; + } + return p; +} + +/* +** Reclaim the memory used by an index +*/ +SQLITE_PRIVATE void sqlite3FreeIndex(sqlite3 *db, Index *p){ +#ifndef SQLITE_OMIT_ANALYZE + sqlite3DeleteIndexSamples(db, p); +#endif + sqlite3ExprDelete(db, p->pPartIdxWhere); + sqlite3ExprListDelete(db, p->aColExpr); + sqlite3DbFree(db, p->zColAff); + if( p->isResized ) sqlite3DbFree(db, (void *)p->azColl); +#ifdef SQLITE_ENABLE_STAT4 + sqlite3_free(p->aiRowEst); +#endif + sqlite3DbFree(db, p); +} + +/* +** For the index called zIdxName which is found in the database iDb, +** unlike that index from its Table then remove the index from +** the index hash table and free all memory structures associated +** with the index. +*/ +SQLITE_PRIVATE void sqlite3UnlinkAndDeleteIndex(sqlite3 *db, int iDb, const char *zIdxName){ + Index *pIndex; + Hash *pHash; + + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + pHash = &db->aDb[iDb].pSchema->idxHash; + pIndex = sqlite3HashInsert(pHash, zIdxName, 0); + if( ALWAYS(pIndex) ){ + if( pIndex->pTable->pIndex==pIndex ){ + pIndex->pTable->pIndex = pIndex->pNext; + }else{ + Index *p; + /* Justification of ALWAYS(); The index must be on the list of + ** indices. */ + p = pIndex->pTable->pIndex; + while( ALWAYS(p) && p->pNext!=pIndex ){ p = p->pNext; } + if( ALWAYS(p && p->pNext==pIndex) ){ + p->pNext = pIndex->pNext; + } + } + sqlite3FreeIndex(db, pIndex); + } + db->mDbFlags |= DBFLAG_SchemaChange; +} + +/* +** Look through the list of open database files in db->aDb[] and if +** any have been closed, remove them from the list. Reallocate the +** db->aDb[] structure to a smaller size, if possible. +** +** Entry 0 (the "main" database) and entry 1 (the "temp" database) +** are never candidates for being collapsed. +*/ +SQLITE_PRIVATE void sqlite3CollapseDatabaseArray(sqlite3 *db){ + int i, j; + for(i=j=2; inDb; i++){ + struct Db *pDb = &db->aDb[i]; + if( pDb->pBt==0 ){ + sqlite3DbFree(db, pDb->zDbSName); + pDb->zDbSName = 0; + continue; + } + if( jaDb[j] = db->aDb[i]; + } + j++; + } + db->nDb = j; + if( db->nDb<=2 && db->aDb!=db->aDbStatic ){ + memcpy(db->aDbStatic, db->aDb, 2*sizeof(db->aDb[0])); + sqlite3DbFree(db, db->aDb); + db->aDb = db->aDbStatic; + } +} + +/* +** Reset the schema for the database at index iDb. Also reset the +** TEMP schema. The reset is deferred if db->nSchemaLock is not zero. +** Deferred resets may be run by calling with iDb<0. +*/ +SQLITE_PRIVATE void sqlite3ResetOneSchema(sqlite3 *db, int iDb){ + int i; + assert( iDbnDb ); + + if( iDb>=0 ){ + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + DbSetProperty(db, iDb, DB_ResetWanted); + DbSetProperty(db, 1, DB_ResetWanted); + db->mDbFlags &= ~DBFLAG_SchemaKnownOk; + } + + if( db->nSchemaLock==0 ){ + for(i=0; inDb; i++){ + if( DbHasProperty(db, i, DB_ResetWanted) ){ + sqlite3SchemaClear(db->aDb[i].pSchema); + } + } + } +} + +/* +** Erase all schema information from all attached databases (including +** "main" and "temp") for a single database connection. +*/ +SQLITE_PRIVATE void sqlite3ResetAllSchemasOfConnection(sqlite3 *db){ + int i; + sqlite3BtreeEnterAll(db); + for(i=0; inDb; i++){ + Db *pDb = &db->aDb[i]; + if( pDb->pSchema ){ + if( db->nSchemaLock==0 ){ + sqlite3SchemaClear(pDb->pSchema); + }else{ + DbSetProperty(db, i, DB_ResetWanted); + } + } + } + db->mDbFlags &= ~(DBFLAG_SchemaChange|DBFLAG_SchemaKnownOk); + sqlite3VtabUnlockList(db); + sqlite3BtreeLeaveAll(db); + if( db->nSchemaLock==0 ){ + sqlite3CollapseDatabaseArray(db); + } +} + +/* +** This routine is called when a commit occurs. +*/ +SQLITE_PRIVATE void sqlite3CommitInternalChanges(sqlite3 *db){ + db->mDbFlags &= ~DBFLAG_SchemaChange; +} + +/* +** Delete memory allocated for the column names of a table or view (the +** Table.aCol[] array). +*/ +SQLITE_PRIVATE void sqlite3DeleteColumnNames(sqlite3 *db, Table *pTable){ + int i; + Column *pCol; + assert( pTable!=0 ); + if( (pCol = pTable->aCol)!=0 ){ + for(i=0; inCol; i++, pCol++){ + sqlite3DbFree(db, pCol->zName); + sqlite3ExprDelete(db, pCol->pDflt); + sqlite3DbFree(db, pCol->zColl); + } + sqlite3DbFree(db, pTable->aCol); + } +} + +/* +** Remove the memory data structures associated with the given +** Table. No changes are made to disk by this routine. +** +** This routine just deletes the data structure. It does not unlink +** the table data structure from the hash table. But it does destroy +** memory structures of the indices and foreign keys associated with +** the table. +** +** The db parameter is optional. It is needed if the Table object +** contains lookaside memory. (Table objects in the schema do not use +** lookaside memory, but some ephemeral Table objects do.) Or the +** db parameter can be used with db->pnBytesFreed to measure the memory +** used by the Table object. +*/ +static void SQLITE_NOINLINE deleteTable(sqlite3 *db, Table *pTable){ + Index *pIndex, *pNext; + +#ifdef SQLITE_DEBUG + /* Record the number of outstanding lookaside allocations in schema Tables + ** prior to doing any free() operations. Since schema Tables do not use + ** lookaside, this number should not change. + ** + ** If malloc has already failed, it may be that it failed while allocating + ** a Table object that was going to be marked ephemeral. So do not check + ** that no lookaside memory is used in this case either. */ + int nLookaside = 0; + if( db && !db->mallocFailed && (pTable->tabFlags & TF_Ephemeral)==0 ){ + nLookaside = sqlite3LookasideUsed(db, 0); + } +#endif + + /* Delete all indices associated with this table. */ + for(pIndex = pTable->pIndex; pIndex; pIndex=pNext){ + pNext = pIndex->pNext; + assert( pIndex->pSchema==pTable->pSchema + || (IsVirtual(pTable) && pIndex->idxType!=SQLITE_IDXTYPE_APPDEF) ); + if( (db==0 || db->pnBytesFreed==0) && !IsVirtual(pTable) ){ + char *zName = pIndex->zName; + TESTONLY ( Index *pOld = ) sqlite3HashInsert( + &pIndex->pSchema->idxHash, zName, 0 + ); + assert( db==0 || sqlite3SchemaMutexHeld(db, 0, pIndex->pSchema) ); + assert( pOld==pIndex || pOld==0 ); + } + sqlite3FreeIndex(db, pIndex); + } + + /* Delete any foreign keys attached to this table. */ + sqlite3FkDelete(db, pTable); + + /* Delete the Table structure itself. + */ + sqlite3DeleteColumnNames(db, pTable); + sqlite3DbFree(db, pTable->zName); + sqlite3DbFree(db, pTable->zColAff); + sqlite3SelectDelete(db, pTable->pSelect); + sqlite3ExprListDelete(db, pTable->pCheck); +#ifndef SQLITE_OMIT_VIRTUALTABLE + sqlite3VtabClear(db, pTable); +#endif + sqlite3DbFree(db, pTable); + + /* Verify that no lookaside memory was used by schema tables */ + assert( nLookaside==0 || nLookaside==sqlite3LookasideUsed(db,0) ); +} +SQLITE_PRIVATE void sqlite3DeleteTable(sqlite3 *db, Table *pTable){ + /* Do not delete the table until the reference count reaches zero. */ + if( !pTable ) return; + if( ((!db || db->pnBytesFreed==0) && (--pTable->nTabRef)>0) ) return; + deleteTable(db, pTable); +} + + +/* +** Unlink the given table from the hash tables and the delete the +** table structure with all its indices and foreign keys. +*/ +SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTable(sqlite3 *db, int iDb, const char *zTabName){ + Table *p; + Db *pDb; + + assert( db!=0 ); + assert( iDb>=0 && iDbnDb ); + assert( zTabName ); + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + testcase( zTabName[0]==0 ); /* Zero-length table names are allowed */ + pDb = &db->aDb[iDb]; + p = sqlite3HashInsert(&pDb->pSchema->tblHash, zTabName, 0); + sqlite3DeleteTable(db, p); + db->mDbFlags |= DBFLAG_SchemaChange; +} + +/* +** Given a token, return a string that consists of the text of that +** token. Space to hold the returned string +** is obtained from sqliteMalloc() and must be freed by the calling +** function. +** +** Any quotation marks (ex: "name", 'name', [name], or `name`) that +** surround the body of the token are removed. +** +** Tokens are often just pointers into the original SQL text and so +** are not \000 terminated and are not persistent. The returned string +** is \000 terminated and is persistent. +*/ +SQLITE_PRIVATE char *sqlite3NameFromToken(sqlite3 *db, Token *pName){ + char *zName; + if( pName ){ + zName = sqlite3DbStrNDup(db, (char*)pName->z, pName->n); + sqlite3Dequote(zName); + }else{ + zName = 0; + } + return zName; +} + +/* +** Open the sqlite_master table stored in database number iDb for +** writing. The table is opened using cursor 0. +*/ +SQLITE_PRIVATE void sqlite3OpenMasterTable(Parse *p, int iDb){ + Vdbe *v = sqlite3GetVdbe(p); + sqlite3TableLock(p, iDb, MASTER_ROOT, 1, MASTER_NAME); + sqlite3VdbeAddOp4Int(v, OP_OpenWrite, 0, MASTER_ROOT, iDb, 5); + if( p->nTab==0 ){ + p->nTab = 1; + } +} + +/* +** Parameter zName points to a nul-terminated buffer containing the name +** of a database ("main", "temp" or the name of an attached db). This +** function returns the index of the named database in db->aDb[], or +** -1 if the named db cannot be found. +*/ +SQLITE_PRIVATE int sqlite3FindDbName(sqlite3 *db, const char *zName){ + int i = -1; /* Database number */ + if( zName ){ + Db *pDb; + for(i=(db->nDb-1), pDb=&db->aDb[i]; i>=0; i--, pDb--){ + if( 0==sqlite3_stricmp(pDb->zDbSName, zName) ) break; + /* "main" is always an acceptable alias for the primary database + ** even if it has been renamed using SQLITE_DBCONFIG_MAINDBNAME. */ + if( i==0 && 0==sqlite3_stricmp("main", zName) ) break; + } + } + return i; +} + +/* +** The token *pName contains the name of a database (either "main" or +** "temp" or the name of an attached db). This routine returns the +** index of the named database in db->aDb[], or -1 if the named db +** does not exist. +*/ +SQLITE_PRIVATE int sqlite3FindDb(sqlite3 *db, Token *pName){ + int i; /* Database number */ + char *zName; /* Name we are searching for */ + zName = sqlite3NameFromToken(db, pName); + i = sqlite3FindDbName(db, zName); + sqlite3DbFree(db, zName); + return i; +} + +/* The table or view or trigger name is passed to this routine via tokens +** pName1 and pName2. If the table name was fully qualified, for example: +** +** CREATE TABLE xxx.yyy (...); +** +** Then pName1 is set to "xxx" and pName2 "yyy". On the other hand if +** the table name is not fully qualified, i.e.: +** +** CREATE TABLE yyy(...); +** +** Then pName1 is set to "yyy" and pName2 is "". +** +** This routine sets the *ppUnqual pointer to point at the token (pName1 or +** pName2) that stores the unqualified table name. The index of the +** database "xxx" is returned. +*/ +SQLITE_PRIVATE int sqlite3TwoPartName( + Parse *pParse, /* Parsing and code generating context */ + Token *pName1, /* The "xxx" in the name "xxx.yyy" or "xxx" */ + Token *pName2, /* The "yyy" in the name "xxx.yyy" */ + Token **pUnqual /* Write the unqualified object name here */ +){ + int iDb; /* Database holding the object */ + sqlite3 *db = pParse->db; + + assert( pName2!=0 ); + if( pName2->n>0 ){ + if( db->init.busy ) { + sqlite3ErrorMsg(pParse, "corrupt database"); + return -1; + } + *pUnqual = pName2; + iDb = sqlite3FindDb(db, pName1); + if( iDb<0 ){ + sqlite3ErrorMsg(pParse, "unknown database %T", pName1); + return -1; + } + }else{ + assert( db->init.iDb==0 || db->init.busy || IN_RENAME_OBJECT + || (db->mDbFlags & DBFLAG_Vacuum)!=0); + iDb = db->init.iDb; + *pUnqual = pName1; + } + return iDb; +} + +/* +** True if PRAGMA writable_schema is ON +*/ +SQLITE_PRIVATE int sqlite3WritableSchema(sqlite3 *db){ + testcase( (db->flags&(SQLITE_WriteSchema|SQLITE_Defensive))==0 ); + testcase( (db->flags&(SQLITE_WriteSchema|SQLITE_Defensive))== + SQLITE_WriteSchema ); + testcase( (db->flags&(SQLITE_WriteSchema|SQLITE_Defensive))== + SQLITE_Defensive ); + testcase( (db->flags&(SQLITE_WriteSchema|SQLITE_Defensive))== + (SQLITE_WriteSchema|SQLITE_Defensive) ); + return (db->flags&(SQLITE_WriteSchema|SQLITE_Defensive))==SQLITE_WriteSchema; +} + +/* +** This routine is used to check if the UTF-8 string zName is a legal +** unqualified name for a new schema object (table, index, view or +** trigger). All names are legal except those that begin with the string +** "sqlite_" (in upper, lower or mixed case). This portion of the namespace +** is reserved for internal use. +** +** When parsing the sqlite_master table, this routine also checks to +** make sure the "type", "name", and "tbl_name" columns are consistent +** with the SQL. +*/ +SQLITE_PRIVATE int sqlite3CheckObjectName( + Parse *pParse, /* Parsing context */ + const char *zName, /* Name of the object to check */ + const char *zType, /* Type of this object */ + const char *zTblName /* Parent table name for triggers and indexes */ +){ + sqlite3 *db = pParse->db; + if( sqlite3WritableSchema(db) || db->init.imposterTable ){ + /* Skip these error checks for writable_schema=ON */ + return SQLITE_OK; + } + if( db->init.busy ){ + if( sqlite3_stricmp(zType, db->init.azInit[0]) + || sqlite3_stricmp(zName, db->init.azInit[1]) + || sqlite3_stricmp(zTblName, db->init.azInit[2]) + ){ + if( sqlite3Config.bExtraSchemaChecks ){ + sqlite3ErrorMsg(pParse, ""); /* corruptSchema() will supply the error */ + return SQLITE_ERROR; + } + } + }else{ + if( pParse->nested==0 + && 0==sqlite3StrNICmp(zName, "sqlite_", 7) + ){ + sqlite3ErrorMsg(pParse, "object name reserved for internal use: %s", + zName); + return SQLITE_ERROR; + } + } + return SQLITE_OK; +} + +/* +** Return the PRIMARY KEY index of a table +*/ +SQLITE_PRIVATE Index *sqlite3PrimaryKeyIndex(Table *pTab){ + Index *p; + for(p=pTab->pIndex; p && !IsPrimaryKeyIndex(p); p=p->pNext){} + return p; +} + +/* +** Return the column of index pIdx that corresponds to table +** column iCol. Return -1 if not found. +*/ +SQLITE_PRIVATE i16 sqlite3ColumnOfIndex(Index *pIdx, i16 iCol){ + int i; + for(i=0; inColumn; i++){ + if( iCol==pIdx->aiColumn[i] ) return i; + } + return -1; +} + +/* +** Begin constructing a new table representation in memory. This is +** the first of several action routines that get called in response +** to a CREATE TABLE statement. In particular, this routine is called +** after seeing tokens "CREATE" and "TABLE" and the table name. The isTemp +** flag is true if the table should be stored in the auxiliary database +** file instead of in the main database file. This is normally the case +** when the "TEMP" or "TEMPORARY" keyword occurs in between +** CREATE and TABLE. +** +** The new table record is initialized and put in pParse->pNewTable. +** As more of the CREATE TABLE statement is parsed, additional action +** routines will be called to add more information to this record. +** At the end of the CREATE TABLE statement, the sqlite3EndTable() routine +** is called to complete the construction of the new table record. +*/ +SQLITE_PRIVATE void sqlite3StartTable( + Parse *pParse, /* Parser context */ + Token *pName1, /* First part of the name of the table or view */ + Token *pName2, /* Second part of the name of the table or view */ + int isTemp, /* True if this is a TEMP table */ + int isView, /* True if this is a VIEW */ + int isVirtual, /* True if this is a VIRTUAL table */ + int noErr /* Do nothing if table already exists */ +){ + Table *pTable; + char *zName = 0; /* The name of the new table */ + sqlite3 *db = pParse->db; + Vdbe *v; + int iDb; /* Database number to create the table in */ + Token *pName; /* Unqualified name of the table to create */ + + if( db->init.busy && db->init.newTnum==1 ){ + /* Special case: Parsing the sqlite_master or sqlite_temp_master schema */ + iDb = db->init.iDb; + zName = sqlite3DbStrDup(db, SCHEMA_TABLE(iDb)); + pName = pName1; + }else{ + /* The common case */ + iDb = sqlite3TwoPartName(pParse, pName1, pName2, &pName); + if( iDb<0 ) return; + if( !OMIT_TEMPDB && isTemp && pName2->n>0 && iDb!=1 ){ + /* If creating a temp table, the name may not be qualified. Unless + ** the database name is "temp" anyway. */ + sqlite3ErrorMsg(pParse, "temporary table name must be unqualified"); + return; + } + if( !OMIT_TEMPDB && isTemp ) iDb = 1; + zName = sqlite3NameFromToken(db, pName); + if( IN_RENAME_OBJECT ){ + sqlite3RenameTokenMap(pParse, (void*)zName, pName); + } + } + pParse->sNameToken = *pName; + if( zName==0 ) return; + if( sqlite3CheckObjectName(pParse, zName, isView?"view":"table", zName) ){ + goto begin_table_error; + } + if( db->init.iDb==1 ) isTemp = 1; +#ifndef SQLITE_OMIT_AUTHORIZATION + assert( isTemp==0 || isTemp==1 ); + assert( isView==0 || isView==1 ); + { + static const u8 aCode[] = { + SQLITE_CREATE_TABLE, + SQLITE_CREATE_TEMP_TABLE, + SQLITE_CREATE_VIEW, + SQLITE_CREATE_TEMP_VIEW + }; + char *zDb = db->aDb[iDb].zDbSName; + if( sqlite3AuthCheck(pParse, SQLITE_INSERT, SCHEMA_TABLE(isTemp), 0, zDb) ){ + goto begin_table_error; + } + if( !isVirtual && sqlite3AuthCheck(pParse, (int)aCode[isTemp+2*isView], + zName, 0, zDb) ){ + goto begin_table_error; + } + } +#endif + + /* Make sure the new table name does not collide with an existing + ** index or table name in the same database. Issue an error message if + ** it does. The exception is if the statement being parsed was passed + ** to an sqlite3_declare_vtab() call. In that case only the column names + ** and types will be used, so there is no need to test for namespace + ** collisions. + */ + if( !IN_SPECIAL_PARSE ){ + char *zDb = db->aDb[iDb].zDbSName; + if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){ + goto begin_table_error; + } + pTable = sqlite3FindTable(db, zName, zDb); + if( pTable ){ + if( !noErr ){ + sqlite3ErrorMsg(pParse, "table %T already exists", pName); + }else{ + assert( !db->init.busy || CORRUPT_DB ); + sqlite3CodeVerifySchema(pParse, iDb); + } + goto begin_table_error; + } + if( sqlite3FindIndex(db, zName, zDb)!=0 ){ + sqlite3ErrorMsg(pParse, "there is already an index named %s", zName); + goto begin_table_error; + } + } + + pTable = sqlite3DbMallocZero(db, sizeof(Table)); + if( pTable==0 ){ + assert( db->mallocFailed ); + pParse->rc = SQLITE_NOMEM_BKPT; + pParse->nErr++; + goto begin_table_error; + } + pTable->zName = zName; + pTable->iPKey = -1; + pTable->pSchema = db->aDb[iDb].pSchema; + pTable->nTabRef = 1; +#ifdef SQLITE_DEFAULT_ROWEST + pTable->nRowLogEst = sqlite3LogEst(SQLITE_DEFAULT_ROWEST); +#else + pTable->nRowLogEst = 200; assert( 200==sqlite3LogEst(1048576) ); +#endif + assert( pParse->pNewTable==0 ); + pParse->pNewTable = pTable; + + /* If this is the magic sqlite_sequence table used by autoincrement, + ** then record a pointer to this table in the main database structure + ** so that INSERT can find the table easily. + */ +#ifndef SQLITE_OMIT_AUTOINCREMENT + if( !pParse->nested && strcmp(zName, "sqlite_sequence")==0 ){ + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + pTable->pSchema->pSeqTab = pTable; + } +#endif + + /* Begin generating the code that will insert the table record into + ** the SQLITE_MASTER table. Note in particular that we must go ahead + ** and allocate the record number for the table entry now. Before any + ** PRIMARY KEY or UNIQUE keywords are parsed. Those keywords will cause + ** indices to be created and the table record must come before the + ** indices. Hence, the record number for the table must be allocated + ** now. + */ + if( !db->init.busy && (v = sqlite3GetVdbe(pParse))!=0 ){ + int addr1; + int fileFormat; + int reg1, reg2, reg3; + /* nullRow[] is an OP_Record encoding of a row containing 5 NULLs */ + static const char nullRow[] = { 6, 0, 0, 0, 0, 0 }; + sqlite3BeginWriteOperation(pParse, 1, iDb); + +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( isVirtual ){ + sqlite3VdbeAddOp0(v, OP_VBegin); + } +#endif + + /* If the file format and encoding in the database have not been set, + ** set them now. + */ + reg1 = pParse->regRowid = ++pParse->nMem; + reg2 = pParse->regRoot = ++pParse->nMem; + reg3 = ++pParse->nMem; + sqlite3VdbeAddOp3(v, OP_ReadCookie, iDb, reg3, BTREE_FILE_FORMAT); + sqlite3VdbeUsesBtree(v, iDb); + addr1 = sqlite3VdbeAddOp1(v, OP_If, reg3); VdbeCoverage(v); + fileFormat = (db->flags & SQLITE_LegacyFileFmt)!=0 ? + 1 : SQLITE_MAX_FILE_FORMAT; + sqlite3VdbeAddOp3(v, OP_SetCookie, iDb, BTREE_FILE_FORMAT, fileFormat); + sqlite3VdbeAddOp3(v, OP_SetCookie, iDb, BTREE_TEXT_ENCODING, ENC(db)); + sqlite3VdbeJumpHere(v, addr1); + + /* This just creates a place-holder record in the sqlite_master table. + ** The record created does not contain anything yet. It will be replaced + ** by the real entry in code generated at sqlite3EndTable(). + ** + ** The rowid for the new entry is left in register pParse->regRowid. + ** The root page number of the new table is left in reg pParse->regRoot. + ** The rowid and root page number values are needed by the code that + ** sqlite3EndTable will generate. + */ +#if !defined(SQLITE_OMIT_VIEW) || !defined(SQLITE_OMIT_VIRTUALTABLE) + if( isView || isVirtual ){ + sqlite3VdbeAddOp2(v, OP_Integer, 0, reg2); + }else +#endif + { + pParse->addrCrTab = + sqlite3VdbeAddOp3(v, OP_CreateBtree, iDb, reg2, BTREE_INTKEY); + } + sqlite3OpenMasterTable(pParse, iDb); + sqlite3VdbeAddOp2(v, OP_NewRowid, 0, reg1); + sqlite3VdbeAddOp4(v, OP_Blob, 6, reg3, 0, nullRow, P4_STATIC); + sqlite3VdbeAddOp3(v, OP_Insert, 0, reg3, reg1); + sqlite3VdbeChangeP5(v, OPFLAG_APPEND); + sqlite3VdbeAddOp0(v, OP_Close); + } + + /* Normal (non-error) return. */ + return; + + /* If an error occurs, we jump here */ +begin_table_error: + sqlite3DbFree(db, zName); + return; +} + +/* Set properties of a table column based on the (magical) +** name of the column. +*/ +#if SQLITE_ENABLE_HIDDEN_COLUMNS +SQLITE_PRIVATE void sqlite3ColumnPropertiesFromName(Table *pTab, Column *pCol){ + if( sqlite3_strnicmp(pCol->zName, "__hidden__", 10)==0 ){ + pCol->colFlags |= COLFLAG_HIDDEN; + }else if( pTab && pCol!=pTab->aCol && (pCol[-1].colFlags & COLFLAG_HIDDEN) ){ + pTab->tabFlags |= TF_OOOHidden; + } +} +#endif + + +/* +** Add a new column to the table currently being constructed. +** +** The parser calls this routine once for each column declaration +** in a CREATE TABLE statement. sqlite3StartTable() gets called +** first to get things going. Then this routine is called for each +** column. +*/ +SQLITE_PRIVATE void sqlite3AddColumn(Parse *pParse, Token *pName, Token *pType){ + Table *p; + int i; + char *z; + char *zType; + Column *pCol; + sqlite3 *db = pParse->db; + if( (p = pParse->pNewTable)==0 ) return; + if( p->nCol+1>db->aLimit[SQLITE_LIMIT_COLUMN] ){ + sqlite3ErrorMsg(pParse, "too many columns on %s", p->zName); + return; + } + z = sqlite3DbMallocRaw(db, pName->n + pType->n + 2); + if( z==0 ) return; + if( IN_RENAME_OBJECT ) sqlite3RenameTokenMap(pParse, (void*)z, pName); + memcpy(z, pName->z, pName->n); + z[pName->n] = 0; + sqlite3Dequote(z); + for(i=0; inCol; i++){ + if( sqlite3_stricmp(z, p->aCol[i].zName)==0 ){ + sqlite3ErrorMsg(pParse, "duplicate column name: %s", z); + sqlite3DbFree(db, z); + return; + } + } + if( (p->nCol & 0x7)==0 ){ + Column *aNew; + aNew = sqlite3DbRealloc(db,p->aCol,(p->nCol+8)*sizeof(p->aCol[0])); + if( aNew==0 ){ + sqlite3DbFree(db, z); + return; + } + p->aCol = aNew; + } + pCol = &p->aCol[p->nCol]; + memset(pCol, 0, sizeof(p->aCol[0])); + pCol->zName = z; + sqlite3ColumnPropertiesFromName(p, pCol); + + if( pType->n==0 ){ + /* If there is no type specified, columns have the default affinity + ** 'BLOB' with a default size of 4 bytes. */ + pCol->affinity = SQLITE_AFF_BLOB; + pCol->szEst = 1; +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + if( 4>=sqlite3GlobalConfig.szSorterRef ){ + pCol->colFlags |= COLFLAG_SORTERREF; + } +#endif + }else{ + zType = z + sqlite3Strlen30(z) + 1; + memcpy(zType, pType->z, pType->n); + zType[pType->n] = 0; + sqlite3Dequote(zType); + pCol->affinity = sqlite3AffinityType(zType, pCol); + pCol->colFlags |= COLFLAG_HASTYPE; + } + p->nCol++; + pParse->constraintName.n = 0; +} + +/* +** This routine is called by the parser while in the middle of +** parsing a CREATE TABLE statement. A "NOT NULL" constraint has +** been seen on a column. This routine sets the notNull flag on +** the column currently under construction. +*/ +SQLITE_PRIVATE void sqlite3AddNotNull(Parse *pParse, int onError){ + Table *p; + Column *pCol; + p = pParse->pNewTable; + if( p==0 || NEVER(p->nCol<1) ) return; + pCol = &p->aCol[p->nCol-1]; + pCol->notNull = (u8)onError; + p->tabFlags |= TF_HasNotNull; + + /* Set the uniqNotNull flag on any UNIQUE or PK indexes already created + ** on this column. */ + if( pCol->colFlags & COLFLAG_UNIQUE ){ + Index *pIdx; + for(pIdx=p->pIndex; pIdx; pIdx=pIdx->pNext){ + assert( pIdx->nKeyCol==1 && pIdx->onError!=OE_None ); + if( pIdx->aiColumn[0]==p->nCol-1 ){ + pIdx->uniqNotNull = 1; + } + } + } +} + +/* +** Scan the column type name zType (length nType) and return the +** associated affinity type. +** +** This routine does a case-independent search of zType for the +** substrings in the following table. If one of the substrings is +** found, the corresponding affinity is returned. If zType contains +** more than one of the substrings, entries toward the top of +** the table take priority. For example, if zType is 'BLOBINT', +** SQLITE_AFF_INTEGER is returned. +** +** Substring | Affinity +** -------------------------------- +** 'INT' | SQLITE_AFF_INTEGER +** 'CHAR' | SQLITE_AFF_TEXT +** 'CLOB' | SQLITE_AFF_TEXT +** 'TEXT' | SQLITE_AFF_TEXT +** 'BLOB' | SQLITE_AFF_BLOB +** 'REAL' | SQLITE_AFF_REAL +** 'FLOA' | SQLITE_AFF_REAL +** 'DOUB' | SQLITE_AFF_REAL +** +** If none of the substrings in the above table are found, +** SQLITE_AFF_NUMERIC is returned. +*/ +SQLITE_PRIVATE char sqlite3AffinityType(const char *zIn, Column *pCol){ + u32 h = 0; + char aff = SQLITE_AFF_NUMERIC; + const char *zChar = 0; + + assert( zIn!=0 ); + while( zIn[0] ){ + h = (h<<8) + sqlite3UpperToLower[(*zIn)&0xff]; + zIn++; + if( h==(('c'<<24)+('h'<<16)+('a'<<8)+'r') ){ /* CHAR */ + aff = SQLITE_AFF_TEXT; + zChar = zIn; + }else if( h==(('c'<<24)+('l'<<16)+('o'<<8)+'b') ){ /* CLOB */ + aff = SQLITE_AFF_TEXT; + }else if( h==(('t'<<24)+('e'<<16)+('x'<<8)+'t') ){ /* TEXT */ + aff = SQLITE_AFF_TEXT; + }else if( h==(('b'<<24)+('l'<<16)+('o'<<8)+'b') /* BLOB */ + && (aff==SQLITE_AFF_NUMERIC || aff==SQLITE_AFF_REAL) ){ + aff = SQLITE_AFF_BLOB; + if( zIn[0]=='(' ) zChar = zIn; +#ifndef SQLITE_OMIT_FLOATING_POINT + }else if( h==(('r'<<24)+('e'<<16)+('a'<<8)+'l') /* REAL */ + && aff==SQLITE_AFF_NUMERIC ){ + aff = SQLITE_AFF_REAL; + }else if( h==(('f'<<24)+('l'<<16)+('o'<<8)+'a') /* FLOA */ + && aff==SQLITE_AFF_NUMERIC ){ + aff = SQLITE_AFF_REAL; + }else if( h==(('d'<<24)+('o'<<16)+('u'<<8)+'b') /* DOUB */ + && aff==SQLITE_AFF_NUMERIC ){ + aff = SQLITE_AFF_REAL; +#endif + }else if( (h&0x00FFFFFF)==(('i'<<16)+('n'<<8)+'t') ){ /* INT */ + aff = SQLITE_AFF_INTEGER; + break; + } + } + + /* If pCol is not NULL, store an estimate of the field size. The + ** estimate is scaled so that the size of an integer is 1. */ + if( pCol ){ + int v = 0; /* default size is approx 4 bytes */ + if( aff r=(k/4+1) */ + sqlite3GetInt32(zChar, &v); + break; + } + zChar++; + } + }else{ + v = 16; /* BLOB, TEXT, CLOB -> r=5 (approx 20 bytes)*/ + } + } +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + if( v>=sqlite3GlobalConfig.szSorterRef ){ + pCol->colFlags |= COLFLAG_SORTERREF; + } +#endif + v = v/4 + 1; + if( v>255 ) v = 255; + pCol->szEst = v; + } + return aff; +} + +/* +** The expression is the default value for the most recently added column +** of the table currently under construction. +** +** Default value expressions must be constant. Raise an exception if this +** is not the case. +** +** This routine is called by the parser while in the middle of +** parsing a CREATE TABLE statement. +*/ +SQLITE_PRIVATE void sqlite3AddDefaultValue( + Parse *pParse, /* Parsing context */ + Expr *pExpr, /* The parsed expression of the default value */ + const char *zStart, /* Start of the default value text */ + const char *zEnd /* First character past end of defaut value text */ +){ + Table *p; + Column *pCol; + sqlite3 *db = pParse->db; + p = pParse->pNewTable; + if( p!=0 ){ + pCol = &(p->aCol[p->nCol-1]); + if( !sqlite3ExprIsConstantOrFunction(pExpr, db->init.busy) ){ + sqlite3ErrorMsg(pParse, "default value of column [%s] is not constant", + pCol->zName); + }else{ + /* A copy of pExpr is used instead of the original, as pExpr contains + ** tokens that point to volatile memory. + */ + Expr x; + sqlite3ExprDelete(db, pCol->pDflt); + memset(&x, 0, sizeof(x)); + x.op = TK_SPAN; + x.u.zToken = sqlite3DbSpanDup(db, zStart, zEnd); + x.pLeft = pExpr; + x.flags = EP_Skip; + pCol->pDflt = sqlite3ExprDup(db, &x, EXPRDUP_REDUCE); + sqlite3DbFree(db, x.u.zToken); + } + } + if( IN_RENAME_OBJECT ){ + sqlite3RenameExprUnmap(pParse, pExpr); + } + sqlite3ExprDelete(db, pExpr); +} + +/* +** Backwards Compatibility Hack: +** +** Historical versions of SQLite accepted strings as column names in +** indexes and PRIMARY KEY constraints and in UNIQUE constraints. Example: +** +** CREATE TABLE xyz(a,b,c,d,e,PRIMARY KEY('a'),UNIQUE('b','c' COLLATE trim) +** CREATE INDEX abc ON xyz('c','d' DESC,'e' COLLATE nocase DESC); +** +** This is goofy. But to preserve backwards compatibility we continue to +** accept it. This routine does the necessary conversion. It converts +** the expression given in its argument from a TK_STRING into a TK_ID +** if the expression is just a TK_STRING with an optional COLLATE clause. +** If the expression is anything other than TK_STRING, the expression is +** unchanged. +*/ +static void sqlite3StringToId(Expr *p){ + if( p->op==TK_STRING ){ + p->op = TK_ID; + }else if( p->op==TK_COLLATE && p->pLeft->op==TK_STRING ){ + p->pLeft->op = TK_ID; + } +} + +/* +** Designate the PRIMARY KEY for the table. pList is a list of names +** of columns that form the primary key. If pList is NULL, then the +** most recently added column of the table is the primary key. +** +** A table can have at most one primary key. If the table already has +** a primary key (and this is the second primary key) then create an +** error. +** +** If the PRIMARY KEY is on a single column whose datatype is INTEGER, +** then we will try to use that column as the rowid. Set the Table.iPKey +** field of the table under construction to be the index of the +** INTEGER PRIMARY KEY column. Table.iPKey is set to -1 if there is +** no INTEGER PRIMARY KEY. +** +** If the key is not an INTEGER PRIMARY KEY, then create a unique +** index for the key. No index is created for INTEGER PRIMARY KEYs. +*/ +SQLITE_PRIVATE void sqlite3AddPrimaryKey( + Parse *pParse, /* Parsing context */ + ExprList *pList, /* List of field names to be indexed */ + int onError, /* What to do with a uniqueness conflict */ + int autoInc, /* True if the AUTOINCREMENT keyword is present */ + int sortOrder /* SQLITE_SO_ASC or SQLITE_SO_DESC */ +){ + Table *pTab = pParse->pNewTable; + Column *pCol = 0; + int iCol = -1, i; + int nTerm; + if( pTab==0 ) goto primary_key_exit; + if( pTab->tabFlags & TF_HasPrimaryKey ){ + sqlite3ErrorMsg(pParse, + "table \"%s\" has more than one primary key", pTab->zName); + goto primary_key_exit; + } + pTab->tabFlags |= TF_HasPrimaryKey; + if( pList==0 ){ + iCol = pTab->nCol - 1; + pCol = &pTab->aCol[iCol]; + pCol->colFlags |= COLFLAG_PRIMKEY; + nTerm = 1; + }else{ + nTerm = pList->nExpr; + for(i=0; ia[i].pExpr); + assert( pCExpr!=0 ); + sqlite3StringToId(pCExpr); + if( pCExpr->op==TK_ID ){ + const char *zCName = pCExpr->u.zToken; + for(iCol=0; iColnCol; iCol++){ + if( sqlite3StrICmp(zCName, pTab->aCol[iCol].zName)==0 ){ + pCol = &pTab->aCol[iCol]; + pCol->colFlags |= COLFLAG_PRIMKEY; + break; + } + } + } + } + } + if( nTerm==1 + && pCol + && sqlite3StrICmp(sqlite3ColumnType(pCol,""), "INTEGER")==0 + && sortOrder!=SQLITE_SO_DESC + ){ + if( IN_RENAME_OBJECT && pList ){ + Expr *pCExpr = sqlite3ExprSkipCollate(pList->a[0].pExpr); + sqlite3RenameTokenRemap(pParse, &pTab->iPKey, pCExpr); + } + pTab->iPKey = iCol; + pTab->keyConf = (u8)onError; + assert( autoInc==0 || autoInc==1 ); + pTab->tabFlags |= autoInc*TF_Autoincrement; + if( pList ) pParse->iPkSortOrder = pList->a[0].sortFlags; + }else if( autoInc ){ +#ifndef SQLITE_OMIT_AUTOINCREMENT + sqlite3ErrorMsg(pParse, "AUTOINCREMENT is only allowed on an " + "INTEGER PRIMARY KEY"); +#endif + }else{ + sqlite3CreateIndex(pParse, 0, 0, 0, pList, onError, 0, + 0, sortOrder, 0, SQLITE_IDXTYPE_PRIMARYKEY); + pList = 0; + } + +primary_key_exit: + sqlite3ExprListDelete(pParse->db, pList); + return; +} + +/* +** Add a new CHECK constraint to the table currently under construction. +*/ +SQLITE_PRIVATE void sqlite3AddCheckConstraint( + Parse *pParse, /* Parsing context */ + Expr *pCheckExpr /* The check expression */ +){ +#ifndef SQLITE_OMIT_CHECK + Table *pTab = pParse->pNewTable; + sqlite3 *db = pParse->db; + if( pTab && !IN_DECLARE_VTAB + && !sqlite3BtreeIsReadonly(db->aDb[db->init.iDb].pBt) + ){ + pTab->pCheck = sqlite3ExprListAppend(pParse, pTab->pCheck, pCheckExpr); + if( pParse->constraintName.n ){ + sqlite3ExprListSetName(pParse, pTab->pCheck, &pParse->constraintName, 1); + } + }else +#endif + { + sqlite3ExprDelete(pParse->db, pCheckExpr); + } +} + +/* +** Set the collation function of the most recently parsed table column +** to the CollSeq given. +*/ +SQLITE_PRIVATE void sqlite3AddCollateType(Parse *pParse, Token *pToken){ + Table *p; + int i; + char *zColl; /* Dequoted name of collation sequence */ + sqlite3 *db; + + if( (p = pParse->pNewTable)==0 ) return; + i = p->nCol-1; + db = pParse->db; + zColl = sqlite3NameFromToken(db, pToken); + if( !zColl ) return; + + if( sqlite3LocateCollSeq(pParse, zColl) ){ + Index *pIdx; + sqlite3DbFree(db, p->aCol[i].zColl); + p->aCol[i].zColl = zColl; + + /* If the column is declared as " PRIMARY KEY COLLATE ", + ** then an index may have been created on this column before the + ** collation type was added. Correct this if it is the case. + */ + for(pIdx=p->pIndex; pIdx; pIdx=pIdx->pNext){ + assert( pIdx->nKeyCol==1 ); + if( pIdx->aiColumn[0]==i ){ + pIdx->azColl[0] = p->aCol[i].zColl; + } + } + }else{ + sqlite3DbFree(db, zColl); + } +} + +/* +** This function returns the collation sequence for database native text +** encoding identified by the string zName, length nName. +** +** If the requested collation sequence is not available, or not available +** in the database native encoding, the collation factory is invoked to +** request it. If the collation factory does not supply such a sequence, +** and the sequence is available in another text encoding, then that is +** returned instead. +** +** If no versions of the requested collations sequence are available, or +** another error occurs, NULL is returned and an error message written into +** pParse. +** +** This routine is a wrapper around sqlite3FindCollSeq(). This routine +** invokes the collation factory if the named collation cannot be found +** and generates an error message. +** +** See also: sqlite3FindCollSeq(), sqlite3GetCollSeq() +*/ +SQLITE_PRIVATE CollSeq *sqlite3LocateCollSeq(Parse *pParse, const char *zName){ + sqlite3 *db = pParse->db; + u8 enc = ENC(db); + u8 initbusy = db->init.busy; + CollSeq *pColl; + + pColl = sqlite3FindCollSeq(db, enc, zName, initbusy); + if( !initbusy && (!pColl || !pColl->xCmp) ){ + pColl = sqlite3GetCollSeq(pParse, enc, pColl, zName); + } + + return pColl; +} + + +/* +** Generate code that will increment the schema cookie. +** +** The schema cookie is used to determine when the schema for the +** database changes. After each schema change, the cookie value +** changes. When a process first reads the schema it records the +** cookie. Thereafter, whenever it goes to access the database, +** it checks the cookie to make sure the schema has not changed +** since it was last read. +** +** This plan is not completely bullet-proof. It is possible for +** the schema to change multiple times and for the cookie to be +** set back to prior value. But schema changes are infrequent +** and the probability of hitting the same cookie value is only +** 1 chance in 2^32. So we're safe enough. +** +** IMPLEMENTATION-OF: R-34230-56049 SQLite automatically increments +** the schema-version whenever the schema changes. +*/ +SQLITE_PRIVATE void sqlite3ChangeCookie(Parse *pParse, int iDb){ + sqlite3 *db = pParse->db; + Vdbe *v = pParse->pVdbe; + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + sqlite3VdbeAddOp3(v, OP_SetCookie, iDb, BTREE_SCHEMA_VERSION, + (int)(1+(unsigned)db->aDb[iDb].pSchema->schema_cookie)); +} + +/* +** Measure the number of characters needed to output the given +** identifier. The number returned includes any quotes used +** but does not include the null terminator. +** +** The estimate is conservative. It might be larger that what is +** really needed. +*/ +static int identLength(const char *z){ + int n; + for(n=0; *z; n++, z++){ + if( *z=='"' ){ n++; } + } + return n + 2; +} + +/* +** The first parameter is a pointer to an output buffer. The second +** parameter is a pointer to an integer that contains the offset at +** which to write into the output buffer. This function copies the +** nul-terminated string pointed to by the third parameter, zSignedIdent, +** to the specified offset in the buffer and updates *pIdx to refer +** to the first byte after the last byte written before returning. +** +** If the string zSignedIdent consists entirely of alpha-numeric +** characters, does not begin with a digit and is not an SQL keyword, +** then it is copied to the output buffer exactly as it is. Otherwise, +** it is quoted using double-quotes. +*/ +static void identPut(char *z, int *pIdx, char *zSignedIdent){ + unsigned char *zIdent = (unsigned char*)zSignedIdent; + int i, j, needQuote; + i = *pIdx; + + for(j=0; zIdent[j]; j++){ + if( !sqlite3Isalnum(zIdent[j]) && zIdent[j]!='_' ) break; + } + needQuote = sqlite3Isdigit(zIdent[0]) + || sqlite3KeywordCode(zIdent, j)!=TK_ID + || zIdent[j]!=0 + || j==0; + + if( needQuote ) z[i++] = '"'; + for(j=0; zIdent[j]; j++){ + z[i++] = zIdent[j]; + if( zIdent[j]=='"' ) z[i++] = '"'; + } + if( needQuote ) z[i++] = '"'; + z[i] = 0; + *pIdx = i; +} + +/* +** Generate a CREATE TABLE statement appropriate for the given +** table. Memory to hold the text of the statement is obtained +** from sqliteMalloc() and must be freed by the calling function. +*/ +static char *createTableStmt(sqlite3 *db, Table *p){ + int i, k, n; + char *zStmt; + char *zSep, *zSep2, *zEnd; + Column *pCol; + n = 0; + for(pCol = p->aCol, i=0; inCol; i++, pCol++){ + n += identLength(pCol->zName) + 5; + } + n += identLength(p->zName); + if( n<50 ){ + zSep = ""; + zSep2 = ","; + zEnd = ")"; + }else{ + zSep = "\n "; + zSep2 = ",\n "; + zEnd = "\n)"; + } + n += 35 + 6*p->nCol; + zStmt = sqlite3DbMallocRaw(0, n); + if( zStmt==0 ){ + sqlite3OomFault(db); + return 0; + } + sqlite3_snprintf(n, zStmt, "CREATE TABLE "); + k = sqlite3Strlen30(zStmt); + identPut(zStmt, &k, p->zName); + zStmt[k++] = '('; + for(pCol=p->aCol, i=0; inCol; i++, pCol++){ + static const char * const azType[] = { + /* SQLITE_AFF_BLOB */ "", + /* SQLITE_AFF_TEXT */ " TEXT", + /* SQLITE_AFF_NUMERIC */ " NUM", + /* SQLITE_AFF_INTEGER */ " INT", + /* SQLITE_AFF_REAL */ " REAL" + }; + int len; + const char *zType; + + sqlite3_snprintf(n-k, &zStmt[k], zSep); + k += sqlite3Strlen30(&zStmt[k]); + zSep = zSep2; + identPut(zStmt, &k, pCol->zName); + assert( pCol->affinity-SQLITE_AFF_BLOB >= 0 ); + assert( pCol->affinity-SQLITE_AFF_BLOB < ArraySize(azType) ); + testcase( pCol->affinity==SQLITE_AFF_BLOB ); + testcase( pCol->affinity==SQLITE_AFF_TEXT ); + testcase( pCol->affinity==SQLITE_AFF_NUMERIC ); + testcase( pCol->affinity==SQLITE_AFF_INTEGER ); + testcase( pCol->affinity==SQLITE_AFF_REAL ); + + zType = azType[pCol->affinity - SQLITE_AFF_BLOB]; + len = sqlite3Strlen30(zType); + assert( pCol->affinity==SQLITE_AFF_BLOB + || pCol->affinity==sqlite3AffinityType(zType, 0) ); + memcpy(&zStmt[k], zType, len); + k += len; + assert( k<=n ); + } + sqlite3_snprintf(n-k, &zStmt[k], "%s", zEnd); + return zStmt; +} + +/* +** Resize an Index object to hold N columns total. Return SQLITE_OK +** on success and SQLITE_NOMEM on an OOM error. +*/ +static int resizeIndexObject(sqlite3 *db, Index *pIdx, int N){ + char *zExtra; + int nByte; + if( pIdx->nColumn>=N ) return SQLITE_OK; + assert( pIdx->isResized==0 ); + nByte = (sizeof(char*) + sizeof(i16) + 1)*N; + zExtra = sqlite3DbMallocZero(db, nByte); + if( zExtra==0 ) return SQLITE_NOMEM_BKPT; + memcpy(zExtra, pIdx->azColl, sizeof(char*)*pIdx->nColumn); + pIdx->azColl = (const char**)zExtra; + zExtra += sizeof(char*)*N; + memcpy(zExtra, pIdx->aiColumn, sizeof(i16)*pIdx->nColumn); + pIdx->aiColumn = (i16*)zExtra; + zExtra += sizeof(i16)*N; + memcpy(zExtra, pIdx->aSortOrder, pIdx->nColumn); + pIdx->aSortOrder = (u8*)zExtra; + pIdx->nColumn = N; + pIdx->isResized = 1; + return SQLITE_OK; +} + +/* +** Estimate the total row width for a table. +*/ +static void estimateTableWidth(Table *pTab){ + unsigned wTable = 0; + const Column *pTabCol; + int i; + for(i=pTab->nCol, pTabCol=pTab->aCol; i>0; i--, pTabCol++){ + wTable += pTabCol->szEst; + } + if( pTab->iPKey<0 ) wTable++; + pTab->szTabRow = sqlite3LogEst(wTable*4); +} + +/* +** Estimate the average size of a row for an index. +*/ +static void estimateIndexWidth(Index *pIdx){ + unsigned wIndex = 0; + int i; + const Column *aCol = pIdx->pTable->aCol; + for(i=0; inColumn; i++){ + i16 x = pIdx->aiColumn[i]; + assert( xpTable->nCol ); + wIndex += x<0 ? 1 : aCol[pIdx->aiColumn[i]].szEst; + } + pIdx->szIdxRow = sqlite3LogEst(wIndex*4); +} + +/* Return true if column number x is any of the first nCol entries of aiCol[]. +** This is used to determine if the column number x appears in any of the +** first nCol entries of an index. +*/ +static int hasColumn(const i16 *aiCol, int nCol, int x){ + while( nCol-- > 0 ){ + assert( aiCol[0]>=0 ); + if( x==*(aiCol++) ){ + return 1; + } + } + return 0; +} + +/* +** Return true if any of the first nKey entries of index pIdx exactly +** match the iCol-th entry of pPk. pPk is always a WITHOUT ROWID +** PRIMARY KEY index. pIdx is an index on the same table. pIdx may +** or may not be the same index as pPk. +** +** The first nKey entries of pIdx are guaranteed to be ordinary columns, +** not a rowid or expression. +** +** This routine differs from hasColumn() in that both the column and the +** collating sequence must match for this routine, but for hasColumn() only +** the column name must match. +*/ +static int isDupColumn(Index *pIdx, int nKey, Index *pPk, int iCol){ + int i, j; + assert( nKey<=pIdx->nColumn ); + assert( iColnColumn,pPk->nKeyCol) ); + assert( pPk->idxType==SQLITE_IDXTYPE_PRIMARYKEY ); + assert( pPk->pTable->tabFlags & TF_WithoutRowid ); + assert( pPk->pTable==pIdx->pTable ); + testcase( pPk==pIdx ); + j = pPk->aiColumn[iCol]; + assert( j!=XN_ROWID && j!=XN_EXPR ); + for(i=0; iaiColumn[i]>=0 || j>=0 ); + if( pIdx->aiColumn[i]==j + && sqlite3StrICmp(pIdx->azColl[i], pPk->azColl[iCol])==0 + ){ + return 1; + } + } + return 0; +} + +/* Recompute the colNotIdxed field of the Index. +** +** colNotIdxed is a bitmask that has a 0 bit representing each indexed +** columns that are within the first 63 columns of the table. The +** high-order bit of colNotIdxed is always 1. All unindexed columns +** of the table have a 1. +** +** The colNotIdxed mask is AND-ed with the SrcList.a[].colUsed mask +** to determine if the index is covering index. +*/ +static void recomputeColumnsNotIndexed(Index *pIdx){ + Bitmask m = 0; + int j; + for(j=pIdx->nColumn-1; j>=0; j--){ + int x = pIdx->aiColumn[j]; + if( x>=0 ){ + testcase( x==BMS-1 ); + testcase( x==BMS-2 ); + if( xcolNotIdxed = ~m; + assert( (pIdx->colNotIdxed>>63)==1 ); +} + +/* +** This routine runs at the end of parsing a CREATE TABLE statement that +** has a WITHOUT ROWID clause. The job of this routine is to convert both +** internal schema data structures and the generated VDBE code so that they +** are appropriate for a WITHOUT ROWID table instead of a rowid table. +** Changes include: +** +** (1) Set all columns of the PRIMARY KEY schema object to be NOT NULL. +** (2) Convert P3 parameter of the OP_CreateBtree from BTREE_INTKEY +** into BTREE_BLOBKEY. +** (3) Bypass the creation of the sqlite_master table entry +** for the PRIMARY KEY as the primary key index is now +** identified by the sqlite_master table entry of the table itself. +** (4) Set the Index.tnum of the PRIMARY KEY Index object in the +** schema to the rootpage from the main table. +** (5) Add all table columns to the PRIMARY KEY Index object +** so that the PRIMARY KEY is a covering index. The surplus +** columns are part of KeyInfo.nAllField and are not used for +** sorting or lookup or uniqueness checks. +** (6) Replace the rowid tail on all automatically generated UNIQUE +** indices with the PRIMARY KEY columns. +** +** For virtual tables, only (1) is performed. +*/ +static void convertToWithoutRowidTable(Parse *pParse, Table *pTab){ + Index *pIdx; + Index *pPk; + int nPk; + int nExtra; + int i, j; + sqlite3 *db = pParse->db; + Vdbe *v = pParse->pVdbe; + + /* Mark every PRIMARY KEY column as NOT NULL (except for imposter tables) + */ + if( !db->init.imposterTable ){ + for(i=0; inCol; i++){ + if( (pTab->aCol[i].colFlags & COLFLAG_PRIMKEY)!=0 ){ + pTab->aCol[i].notNull = OE_Abort; + } + } + } + + /* Convert the P3 operand of the OP_CreateBtree opcode from BTREE_INTKEY + ** into BTREE_BLOBKEY. + */ + if( pParse->addrCrTab ){ + assert( v ); + sqlite3VdbeChangeP3(v, pParse->addrCrTab, BTREE_BLOBKEY); + } + + /* Locate the PRIMARY KEY index. Or, if this table was originally + ** an INTEGER PRIMARY KEY table, create a new PRIMARY KEY index. + */ + if( pTab->iPKey>=0 ){ + ExprList *pList; + Token ipkToken; + sqlite3TokenInit(&ipkToken, pTab->aCol[pTab->iPKey].zName); + pList = sqlite3ExprListAppend(pParse, 0, + sqlite3ExprAlloc(db, TK_ID, &ipkToken, 0)); + if( pList==0 ) return; + if( IN_RENAME_OBJECT ){ + sqlite3RenameTokenRemap(pParse, pList->a[0].pExpr, &pTab->iPKey); + } + pList->a[0].sortFlags = pParse->iPkSortOrder; + assert( pParse->pNewTable==pTab ); + pTab->iPKey = -1; + sqlite3CreateIndex(pParse, 0, 0, 0, pList, pTab->keyConf, 0, 0, 0, 0, + SQLITE_IDXTYPE_PRIMARYKEY); + if( db->mallocFailed || pParse->nErr ) return; + pPk = sqlite3PrimaryKeyIndex(pTab); + assert( pPk->nKeyCol==1 ); + }else{ + pPk = sqlite3PrimaryKeyIndex(pTab); + assert( pPk!=0 ); + + /* + ** Remove all redundant columns from the PRIMARY KEY. For example, change + ** "PRIMARY KEY(a,b,a,b,c,b,c,d)" into just "PRIMARY KEY(a,b,c,d)". Later + ** code assumes the PRIMARY KEY contains no repeated columns. + */ + for(i=j=1; inKeyCol; i++){ + if( isDupColumn(pPk, j, pPk, i) ){ + pPk->nColumn--; + }else{ + testcase( hasColumn(pPk->aiColumn, j, pPk->aiColumn[i]) ); + pPk->azColl[j] = pPk->azColl[i]; + pPk->aSortOrder[j] = pPk->aSortOrder[i]; + pPk->aiColumn[j++] = pPk->aiColumn[i]; + } + } + pPk->nKeyCol = j; + } + assert( pPk!=0 ); + pPk->isCovering = 1; + if( !db->init.imposterTable ) pPk->uniqNotNull = 1; + nPk = pPk->nColumn = pPk->nKeyCol; + + /* Bypass the creation of the PRIMARY KEY btree and the sqlite_master + ** table entry. This is only required if currently generating VDBE + ** code for a CREATE TABLE (not when parsing one as part of reading + ** a database schema). */ + if( v && pPk->tnum>0 ){ + assert( db->init.busy==0 ); + sqlite3VdbeChangeOpcode(v, pPk->tnum, OP_Goto); + } + + /* The root page of the PRIMARY KEY is the table root page */ + pPk->tnum = pTab->tnum; + + /* Update the in-memory representation of all UNIQUE indices by converting + ** the final rowid column into one or more columns of the PRIMARY KEY. + */ + for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + int n; + if( IsPrimaryKeyIndex(pIdx) ) continue; + for(i=n=0; inKeyCol, pPk, i) ){ + testcase( hasColumn(pIdx->aiColumn, pIdx->nKeyCol, pPk->aiColumn[i]) ); + n++; + } + } + if( n==0 ){ + /* This index is a superset of the primary key */ + pIdx->nColumn = pIdx->nKeyCol; + continue; + } + if( resizeIndexObject(db, pIdx, pIdx->nKeyCol+n) ) return; + for(i=0, j=pIdx->nKeyCol; inKeyCol, pPk, i) ){ + testcase( hasColumn(pIdx->aiColumn, pIdx->nKeyCol, pPk->aiColumn[i]) ); + pIdx->aiColumn[j] = pPk->aiColumn[i]; + pIdx->azColl[j] = pPk->azColl[i]; + if( pPk->aSortOrder[i] ){ + /* See ticket https://www.sqlite.org/src/info/bba7b69f9849b5bf */ + pIdx->bAscKeyBug = 1; + } + j++; + } + } + assert( pIdx->nColumn>=pIdx->nKeyCol+n ); + assert( pIdx->nColumn>=j ); + } + + /* Add all table columns to the PRIMARY KEY index + */ + nExtra = 0; + for(i=0; inCol; i++){ + if( !hasColumn(pPk->aiColumn, nPk, i) ) nExtra++; + } + if( resizeIndexObject(db, pPk, nPk+nExtra) ) return; + for(i=0, j=nPk; inCol; i++){ + if( !hasColumn(pPk->aiColumn, j, i) ){ + assert( jnColumn ); + pPk->aiColumn[j] = i; + pPk->azColl[j] = sqlite3StrBINARY; + j++; + } + } + assert( pPk->nColumn==j ); + assert( pTab->nCol<=j ); + recomputeColumnsNotIndexed(pPk); +} + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* +** Return true if zName is a shadow table name in the current database +** connection. +** +** zName is temporarily modified while this routine is running, but is +** restored to its original value prior to this routine returning. +*/ +static int isShadowTableName(sqlite3 *db, char *zName){ + char *zTail; /* Pointer to the last "_" in zName */ + Table *pTab; /* Table that zName is a shadow of */ + Module *pMod; /* Module for the virtual table */ + + zTail = strrchr(zName, '_'); + if( zTail==0 ) return 0; + *zTail = 0; + pTab = sqlite3FindTable(db, zName, 0); + *zTail = '_'; + if( pTab==0 ) return 0; + if( !IsVirtual(pTab) ) return 0; + pMod = (Module*)sqlite3HashFind(&db->aModule, pTab->azModuleArg[0]); + if( pMod==0 ) return 0; + if( pMod->pModule->iVersion<3 ) return 0; + if( pMod->pModule->xShadowName==0 ) return 0; + return pMod->pModule->xShadowName(zTail+1); +} +#else +# define isShadowTableName(x,y) 0 +#endif /* ifndef SQLITE_OMIT_VIRTUALTABLE */ + +/* +** This routine is called to report the final ")" that terminates +** a CREATE TABLE statement. +** +** The table structure that other action routines have been building +** is added to the internal hash tables, assuming no errors have +** occurred. +** +** An entry for the table is made in the master table on disk, unless +** this is a temporary table or db->init.busy==1. When db->init.busy==1 +** it means we are reading the sqlite_master table because we just +** connected to the database or because the sqlite_master table has +** recently changed, so the entry for this table already exists in +** the sqlite_master table. We do not want to create it again. +** +** If the pSelect argument is not NULL, it means that this routine +** was called to create a table generated from a +** "CREATE TABLE ... AS SELECT ..." statement. The column names of +** the new table will match the result set of the SELECT. +*/ +SQLITE_PRIVATE void sqlite3EndTable( + Parse *pParse, /* Parse context */ + Token *pCons, /* The ',' token after the last column defn. */ + Token *pEnd, /* The ')' before options in the CREATE TABLE */ + u8 tabOpts, /* Extra table options. Usually 0. */ + Select *pSelect /* Select from a "CREATE ... AS SELECT" */ +){ + Table *p; /* The new table */ + sqlite3 *db = pParse->db; /* The database connection */ + int iDb; /* Database in which the table lives */ + Index *pIdx; /* An implied index of the table */ + + if( pEnd==0 && pSelect==0 ){ + return; + } + assert( !db->mallocFailed ); + p = pParse->pNewTable; + if( p==0 ) return; + + if( pSelect==0 && isShadowTableName(db, p->zName) ){ + p->tabFlags |= TF_Shadow; + } + + /* If the db->init.busy is 1 it means we are reading the SQL off the + ** "sqlite_master" or "sqlite_temp_master" table on the disk. + ** So do not write to the disk again. Extract the root page number + ** for the table from the db->init.newTnum field. (The page number + ** should have been put there by the sqliteOpenCb routine.) + ** + ** If the root page number is 1, that means this is the sqlite_master + ** table itself. So mark it read-only. + */ + if( db->init.busy ){ + if( pSelect ){ + sqlite3ErrorMsg(pParse, ""); + return; + } + p->tnum = db->init.newTnum; + if( p->tnum==1 ) p->tabFlags |= TF_Readonly; + } + + assert( (p->tabFlags & TF_HasPrimaryKey)==0 + || p->iPKey>=0 || sqlite3PrimaryKeyIndex(p)!=0 ); + assert( (p->tabFlags & TF_HasPrimaryKey)!=0 + || (p->iPKey<0 && sqlite3PrimaryKeyIndex(p)==0) ); + + /* Special processing for WITHOUT ROWID Tables */ + if( tabOpts & TF_WithoutRowid ){ + if( (p->tabFlags & TF_Autoincrement) ){ + sqlite3ErrorMsg(pParse, + "AUTOINCREMENT not allowed on WITHOUT ROWID tables"); + return; + } + if( (p->tabFlags & TF_HasPrimaryKey)==0 ){ + sqlite3ErrorMsg(pParse, "PRIMARY KEY missing on table %s", p->zName); + }else{ + p->tabFlags |= TF_WithoutRowid | TF_NoVisibleRowid; + convertToWithoutRowidTable(pParse, p); + } + } + + iDb = sqlite3SchemaToIndex(db, p->pSchema); + +#ifndef SQLITE_OMIT_CHECK + /* Resolve names in all CHECK constraint expressions. + */ + if( p->pCheck ){ + sqlite3ResolveSelfReference(pParse, p, NC_IsCheck, 0, p->pCheck); + } +#endif /* !defined(SQLITE_OMIT_CHECK) */ + + /* Estimate the average row size for the table and for all implied indices */ + estimateTableWidth(p); + for(pIdx=p->pIndex; pIdx; pIdx=pIdx->pNext){ + estimateIndexWidth(pIdx); + } + + /* If not initializing, then create a record for the new table + ** in the SQLITE_MASTER table of the database. + ** + ** If this is a TEMPORARY table, write the entry into the auxiliary + ** file instead of into the main database file. + */ + if( !db->init.busy ){ + int n; + Vdbe *v; + char *zType; /* "view" or "table" */ + char *zType2; /* "VIEW" or "TABLE" */ + char *zStmt; /* Text of the CREATE TABLE or CREATE VIEW statement */ + + v = sqlite3GetVdbe(pParse); + if( NEVER(v==0) ) return; + + sqlite3VdbeAddOp1(v, OP_Close, 0); + + /* + ** Initialize zType for the new view or table. + */ + if( p->pSelect==0 ){ + /* A regular table */ + zType = "table"; + zType2 = "TABLE"; +#ifndef SQLITE_OMIT_VIEW + }else{ + /* A view */ + zType = "view"; + zType2 = "VIEW"; +#endif + } + + /* If this is a CREATE TABLE xx AS SELECT ..., execute the SELECT + ** statement to populate the new table. The root-page number for the + ** new table is in register pParse->regRoot. + ** + ** Once the SELECT has been coded by sqlite3Select(), it is in a + ** suitable state to query for the column names and types to be used + ** by the new table. + ** + ** A shared-cache write-lock is not required to write to the new table, + ** as a schema-lock must have already been obtained to create it. Since + ** a schema-lock excludes all other database users, the write-lock would + ** be redundant. + */ + if( pSelect ){ + SelectDest dest; /* Where the SELECT should store results */ + int regYield; /* Register holding co-routine entry-point */ + int addrTop; /* Top of the co-routine */ + int regRec; /* A record to be insert into the new table */ + int regRowid; /* Rowid of the next row to insert */ + int addrInsLoop; /* Top of the loop for inserting rows */ + Table *pSelTab; /* A table that describes the SELECT results */ + + regYield = ++pParse->nMem; + regRec = ++pParse->nMem; + regRowid = ++pParse->nMem; + assert(pParse->nTab==1); + sqlite3MayAbort(pParse); + sqlite3VdbeAddOp3(v, OP_OpenWrite, 1, pParse->regRoot, iDb); + sqlite3VdbeChangeP5(v, OPFLAG_P2ISREG); + pParse->nTab = 2; + addrTop = sqlite3VdbeCurrentAddr(v) + 1; + sqlite3VdbeAddOp3(v, OP_InitCoroutine, regYield, 0, addrTop); + if( pParse->nErr ) return; + pSelTab = sqlite3ResultSetOfSelect(pParse, pSelect, SQLITE_AFF_BLOB); + if( pSelTab==0 ) return; + assert( p->aCol==0 ); + p->nCol = pSelTab->nCol; + p->aCol = pSelTab->aCol; + pSelTab->nCol = 0; + pSelTab->aCol = 0; + sqlite3DeleteTable(db, pSelTab); + sqlite3SelectDestInit(&dest, SRT_Coroutine, regYield); + sqlite3Select(pParse, pSelect, &dest); + if( pParse->nErr ) return; + sqlite3VdbeEndCoroutine(v, regYield); + sqlite3VdbeJumpHere(v, addrTop - 1); + addrInsLoop = sqlite3VdbeAddOp1(v, OP_Yield, dest.iSDParm); + VdbeCoverage(v); + sqlite3VdbeAddOp3(v, OP_MakeRecord, dest.iSdst, dest.nSdst, regRec); + sqlite3TableAffinity(v, p, 0); + sqlite3VdbeAddOp2(v, OP_NewRowid, 1, regRowid); + sqlite3VdbeAddOp3(v, OP_Insert, 1, regRec, regRowid); + sqlite3VdbeGoto(v, addrInsLoop); + sqlite3VdbeJumpHere(v, addrInsLoop); + sqlite3VdbeAddOp1(v, OP_Close, 1); + } + + /* Compute the complete text of the CREATE statement */ + if( pSelect ){ + zStmt = createTableStmt(db, p); + }else{ + Token *pEnd2 = tabOpts ? &pParse->sLastToken : pEnd; + n = (int)(pEnd2->z - pParse->sNameToken.z); + if( pEnd2->z[0]!=';' ) n += pEnd2->n; + zStmt = sqlite3MPrintf(db, + "CREATE %s %.*s", zType2, n, pParse->sNameToken.z + ); + } + + /* A slot for the record has already been allocated in the + ** SQLITE_MASTER table. We just need to update that slot with all + ** the information we've collected. + */ + sqlite3NestedParse(pParse, + "UPDATE %Q.%s " + "SET type='%s', name=%Q, tbl_name=%Q, rootpage=#%d, sql=%Q " + "WHERE rowid=#%d", + db->aDb[iDb].zDbSName, MASTER_NAME, + zType, + p->zName, + p->zName, + pParse->regRoot, + zStmt, + pParse->regRowid + ); + sqlite3DbFree(db, zStmt); + sqlite3ChangeCookie(pParse, iDb); + +#ifndef SQLITE_OMIT_AUTOINCREMENT + /* Check to see if we need to create an sqlite_sequence table for + ** keeping track of autoincrement keys. + */ + if( (p->tabFlags & TF_Autoincrement)!=0 ){ + Db *pDb = &db->aDb[iDb]; + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + if( pDb->pSchema->pSeqTab==0 ){ + sqlite3NestedParse(pParse, + "CREATE TABLE %Q.sqlite_sequence(name,seq)", + pDb->zDbSName + ); + } + } +#endif + + /* Reparse everything to update our internal data structures */ + sqlite3VdbeAddParseSchemaOp(v, iDb, + sqlite3MPrintf(db, "tbl_name='%q' AND type!='trigger'", p->zName)); + } + + + /* Add the table to the in-memory representation of the database. + */ + if( db->init.busy ){ + Table *pOld; + Schema *pSchema = p->pSchema; + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + pOld = sqlite3HashInsert(&pSchema->tblHash, p->zName, p); + if( pOld ){ + assert( p==pOld ); /* Malloc must have failed inside HashInsert() */ + sqlite3OomFault(db); + return; + } + pParse->pNewTable = 0; + db->mDbFlags |= DBFLAG_SchemaChange; + +#ifndef SQLITE_OMIT_ALTERTABLE + if( !p->pSelect ){ + const char *zName = (const char *)pParse->sNameToken.z; + int nName; + assert( !pSelect && pCons && pEnd ); + if( pCons->z==0 ){ + pCons = pEnd; + } + nName = (int)((const char *)pCons->z - zName); + p->addColOffset = 13 + sqlite3Utf8CharLen(zName, nName); + } +#endif + } +} + +#ifndef SQLITE_OMIT_VIEW +/* +** The parser calls this routine in order to create a new VIEW +*/ +SQLITE_PRIVATE void sqlite3CreateView( + Parse *pParse, /* The parsing context */ + Token *pBegin, /* The CREATE token that begins the statement */ + Token *pName1, /* The token that holds the name of the view */ + Token *pName2, /* The token that holds the name of the view */ + ExprList *pCNames, /* Optional list of view column names */ + Select *pSelect, /* A SELECT statement that will become the new view */ + int isTemp, /* TRUE for a TEMPORARY view */ + int noErr /* Suppress error messages if VIEW already exists */ +){ + Table *p; + int n; + const char *z; + Token sEnd; + DbFixer sFix; + Token *pName = 0; + int iDb; + sqlite3 *db = pParse->db; + + if( pParse->nVar>0 ){ + sqlite3ErrorMsg(pParse, "parameters are not allowed in views"); + goto create_view_fail; + } + sqlite3StartTable(pParse, pName1, pName2, isTemp, 1, 0, noErr); + p = pParse->pNewTable; + if( p==0 || pParse->nErr ) goto create_view_fail; + sqlite3TwoPartName(pParse, pName1, pName2, &pName); + iDb = sqlite3SchemaToIndex(db, p->pSchema); + sqlite3FixInit(&sFix, pParse, iDb, "view", pName); + if( sqlite3FixSelect(&sFix, pSelect) ) goto create_view_fail; + + /* Make a copy of the entire SELECT statement that defines the view. + ** This will force all the Expr.token.z values to be dynamically + ** allocated rather than point to the input string - which means that + ** they will persist after the current sqlite3_exec() call returns. + */ + if( IN_RENAME_OBJECT ){ + p->pSelect = pSelect; + pSelect = 0; + }else{ + p->pSelect = sqlite3SelectDup(db, pSelect, EXPRDUP_REDUCE); + } + p->pCheck = sqlite3ExprListDup(db, pCNames, EXPRDUP_REDUCE); + if( db->mallocFailed ) goto create_view_fail; + + /* Locate the end of the CREATE VIEW statement. Make sEnd point to + ** the end. + */ + sEnd = pParse->sLastToken; + assert( sEnd.z[0]!=0 || sEnd.n==0 ); + if( sEnd.z[0]!=';' ){ + sEnd.z += sEnd.n; + } + sEnd.n = 0; + n = (int)(sEnd.z - pBegin->z); + assert( n>0 ); + z = pBegin->z; + while( sqlite3Isspace(z[n-1]) ){ n--; } + sEnd.z = &z[n-1]; + sEnd.n = 1; + + /* Use sqlite3EndTable() to add the view to the SQLITE_MASTER table */ + sqlite3EndTable(pParse, 0, &sEnd, 0, 0); + +create_view_fail: + sqlite3SelectDelete(db, pSelect); + if( IN_RENAME_OBJECT ){ + sqlite3RenameExprlistUnmap(pParse, pCNames); + } + sqlite3ExprListDelete(db, pCNames); + return; +} +#endif /* SQLITE_OMIT_VIEW */ + +#if !defined(SQLITE_OMIT_VIEW) || !defined(SQLITE_OMIT_VIRTUALTABLE) +/* +** The Table structure pTable is really a VIEW. Fill in the names of +** the columns of the view in the pTable structure. Return the number +** of errors. If an error is seen leave an error message in pParse->zErrMsg. +*/ +SQLITE_PRIVATE int sqlite3ViewGetColumnNames(Parse *pParse, Table *pTable){ + Table *pSelTab; /* A fake table from which we get the result set */ + Select *pSel; /* Copy of the SELECT that implements the view */ + int nErr = 0; /* Number of errors encountered */ + int n; /* Temporarily holds the number of cursors assigned */ + sqlite3 *db = pParse->db; /* Database connection for malloc errors */ +#ifndef SQLITE_OMIT_VIRTUALTABLE + int rc; +#endif +#ifndef SQLITE_OMIT_AUTHORIZATION + sqlite3_xauth xAuth; /* Saved xAuth pointer */ +#endif + + assert( pTable ); + +#ifndef SQLITE_OMIT_VIRTUALTABLE + db->nSchemaLock++; + rc = sqlite3VtabCallConnect(pParse, pTable); + db->nSchemaLock--; + if( rc ){ + return 1; + } + if( IsVirtual(pTable) ) return 0; +#endif + +#ifndef SQLITE_OMIT_VIEW + /* A positive nCol means the columns names for this view are + ** already known. + */ + if( pTable->nCol>0 ) return 0; + + /* A negative nCol is a special marker meaning that we are currently + ** trying to compute the column names. If we enter this routine with + ** a negative nCol, it means two or more views form a loop, like this: + ** + ** CREATE VIEW one AS SELECT * FROM two; + ** CREATE VIEW two AS SELECT * FROM one; + ** + ** Actually, the error above is now caught prior to reaching this point. + ** But the following test is still important as it does come up + ** in the following: + ** + ** CREATE TABLE main.ex1(a); + ** CREATE TEMP VIEW ex1 AS SELECT a FROM ex1; + ** SELECT * FROM temp.ex1; + */ + if( pTable->nCol<0 ){ + sqlite3ErrorMsg(pParse, "view %s is circularly defined", pTable->zName); + return 1; + } + assert( pTable->nCol>=0 ); + + /* If we get this far, it means we need to compute the table names. + ** Note that the call to sqlite3ResultSetOfSelect() will expand any + ** "*" elements in the results set of the view and will assign cursors + ** to the elements of the FROM clause. But we do not want these changes + ** to be permanent. So the computation is done on a copy of the SELECT + ** statement that defines the view. + */ + assert( pTable->pSelect ); + pSel = sqlite3SelectDup(db, pTable->pSelect, 0); + if( pSel ){ +#ifndef SQLITE_OMIT_ALTERTABLE + u8 eParseMode = pParse->eParseMode; + pParse->eParseMode = PARSE_MODE_NORMAL; +#endif + n = pParse->nTab; + sqlite3SrcListAssignCursors(pParse, pSel->pSrc); + pTable->nCol = -1; + db->lookaside.bDisable++; +#ifndef SQLITE_OMIT_AUTHORIZATION + xAuth = db->xAuth; + db->xAuth = 0; + pSelTab = sqlite3ResultSetOfSelect(pParse, pSel, SQLITE_AFF_NONE); + db->xAuth = xAuth; +#else + pSelTab = sqlite3ResultSetOfSelect(pParse, pSel, SQLITE_AFF_NONE); +#endif + pParse->nTab = n; + if( pTable->pCheck ){ + /* CREATE VIEW name(arglist) AS ... + ** The names of the columns in the table are taken from + ** arglist which is stored in pTable->pCheck. The pCheck field + ** normally holds CHECK constraints on an ordinary table, but for + ** a VIEW it holds the list of column names. + */ + sqlite3ColumnsFromExprList(pParse, pTable->pCheck, + &pTable->nCol, &pTable->aCol); + if( db->mallocFailed==0 + && pParse->nErr==0 + && pTable->nCol==pSel->pEList->nExpr + ){ + sqlite3SelectAddColumnTypeAndCollation(pParse, pTable, pSel, + SQLITE_AFF_NONE); + } + }else if( pSelTab ){ + /* CREATE VIEW name AS... without an argument list. Construct + ** the column names from the SELECT statement that defines the view. + */ + assert( pTable->aCol==0 ); + pTable->nCol = pSelTab->nCol; + pTable->aCol = pSelTab->aCol; + pSelTab->nCol = 0; + pSelTab->aCol = 0; + assert( sqlite3SchemaMutexHeld(db, 0, pTable->pSchema) ); + }else{ + pTable->nCol = 0; + nErr++; + } + sqlite3DeleteTable(db, pSelTab); + sqlite3SelectDelete(db, pSel); + db->lookaside.bDisable--; +#ifndef SQLITE_OMIT_ALTERTABLE + pParse->eParseMode = eParseMode; +#endif + } else { + nErr++; + } + pTable->pSchema->schemaFlags |= DB_UnresetViews; + if( db->mallocFailed ){ + sqlite3DeleteColumnNames(db, pTable); + pTable->aCol = 0; + pTable->nCol = 0; + } +#endif /* SQLITE_OMIT_VIEW */ + return nErr; +} +#endif /* !defined(SQLITE_OMIT_VIEW) || !defined(SQLITE_OMIT_VIRTUALTABLE) */ + +#ifndef SQLITE_OMIT_VIEW +/* +** Clear the column names from every VIEW in database idx. +*/ +static void sqliteViewResetAll(sqlite3 *db, int idx){ + HashElem *i; + assert( sqlite3SchemaMutexHeld(db, idx, 0) ); + if( !DbHasProperty(db, idx, DB_UnresetViews) ) return; + for(i=sqliteHashFirst(&db->aDb[idx].pSchema->tblHash); i;i=sqliteHashNext(i)){ + Table *pTab = sqliteHashData(i); + if( pTab->pSelect ){ + sqlite3DeleteColumnNames(db, pTab); + pTab->aCol = 0; + pTab->nCol = 0; + } + } + DbClearProperty(db, idx, DB_UnresetViews); +} +#else +# define sqliteViewResetAll(A,B) +#endif /* SQLITE_OMIT_VIEW */ + +/* +** This function is called by the VDBE to adjust the internal schema +** used by SQLite when the btree layer moves a table root page. The +** root-page of a table or index in database iDb has changed from iFrom +** to iTo. +** +** Ticket #1728: The symbol table might still contain information +** on tables and/or indices that are the process of being deleted. +** If you are unlucky, one of those deleted indices or tables might +** have the same rootpage number as the real table or index that is +** being moved. So we cannot stop searching after the first match +** because the first match might be for one of the deleted indices +** or tables and not the table/index that is actually being moved. +** We must continue looping until all tables and indices with +** rootpage==iFrom have been converted to have a rootpage of iTo +** in order to be certain that we got the right one. +*/ +#ifndef SQLITE_OMIT_AUTOVACUUM +SQLITE_PRIVATE void sqlite3RootPageMoved(sqlite3 *db, int iDb, int iFrom, int iTo){ + HashElem *pElem; + Hash *pHash; + Db *pDb; + + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + pDb = &db->aDb[iDb]; + pHash = &pDb->pSchema->tblHash; + for(pElem=sqliteHashFirst(pHash); pElem; pElem=sqliteHashNext(pElem)){ + Table *pTab = sqliteHashData(pElem); + if( pTab->tnum==iFrom ){ + pTab->tnum = iTo; + } + } + pHash = &pDb->pSchema->idxHash; + for(pElem=sqliteHashFirst(pHash); pElem; pElem=sqliteHashNext(pElem)){ + Index *pIdx = sqliteHashData(pElem); + if( pIdx->tnum==iFrom ){ + pIdx->tnum = iTo; + } + } +} +#endif + +/* +** Write code to erase the table with root-page iTable from database iDb. +** Also write code to modify the sqlite_master table and internal schema +** if a root-page of another table is moved by the btree-layer whilst +** erasing iTable (this can happen with an auto-vacuum database). +*/ +static void destroyRootPage(Parse *pParse, int iTable, int iDb){ + Vdbe *v = sqlite3GetVdbe(pParse); + int r1 = sqlite3GetTempReg(pParse); + if( iTable<2 ) sqlite3ErrorMsg(pParse, "corrupt schema"); + sqlite3VdbeAddOp3(v, OP_Destroy, iTable, r1, iDb); + sqlite3MayAbort(pParse); +#ifndef SQLITE_OMIT_AUTOVACUUM + /* OP_Destroy stores an in integer r1. If this integer + ** is non-zero, then it is the root page number of a table moved to + ** location iTable. The following code modifies the sqlite_master table to + ** reflect this. + ** + ** The "#NNN" in the SQL is a special constant that means whatever value + ** is in register NNN. See grammar rules associated with the TK_REGISTER + ** token for additional information. + */ + sqlite3NestedParse(pParse, + "UPDATE %Q.%s SET rootpage=%d WHERE #%d AND rootpage=#%d", + pParse->db->aDb[iDb].zDbSName, MASTER_NAME, iTable, r1, r1); +#endif + sqlite3ReleaseTempReg(pParse, r1); +} + +/* +** Write VDBE code to erase table pTab and all associated indices on disk. +** Code to update the sqlite_master tables and internal schema definitions +** in case a root-page belonging to another table is moved by the btree layer +** is also added (this can happen with an auto-vacuum database). +*/ +static void destroyTable(Parse *pParse, Table *pTab){ + /* If the database may be auto-vacuum capable (if SQLITE_OMIT_AUTOVACUUM + ** is not defined), then it is important to call OP_Destroy on the + ** table and index root-pages in order, starting with the numerically + ** largest root-page number. This guarantees that none of the root-pages + ** to be destroyed is relocated by an earlier OP_Destroy. i.e. if the + ** following were coded: + ** + ** OP_Destroy 4 0 + ** ... + ** OP_Destroy 5 0 + ** + ** and root page 5 happened to be the largest root-page number in the + ** database, then root page 5 would be moved to page 4 by the + ** "OP_Destroy 4 0" opcode. The subsequent "OP_Destroy 5 0" would hit + ** a free-list page. + */ + int iTab = pTab->tnum; + int iDestroyed = 0; + + while( 1 ){ + Index *pIdx; + int iLargest = 0; + + if( iDestroyed==0 || iTabpIndex; pIdx; pIdx=pIdx->pNext){ + int iIdx = pIdx->tnum; + assert( pIdx->pSchema==pTab->pSchema ); + if( (iDestroyed==0 || (iIdxiLargest ){ + iLargest = iIdx; + } + } + if( iLargest==0 ){ + return; + }else{ + int iDb = sqlite3SchemaToIndex(pParse->db, pTab->pSchema); + assert( iDb>=0 && iDbdb->nDb ); + destroyRootPage(pParse, iLargest, iDb); + iDestroyed = iLargest; + } + } +} + +/* +** Remove entries from the sqlite_statN tables (for N in (1,2,3)) +** after a DROP INDEX or DROP TABLE command. +*/ +static void sqlite3ClearStatTables( + Parse *pParse, /* The parsing context */ + int iDb, /* The database number */ + const char *zType, /* "idx" or "tbl" */ + const char *zName /* Name of index or table */ +){ + int i; + const char *zDbName = pParse->db->aDb[iDb].zDbSName; + for(i=1; i<=4; i++){ + char zTab[24]; + sqlite3_snprintf(sizeof(zTab),zTab,"sqlite_stat%d",i); + if( sqlite3FindTable(pParse->db, zTab, zDbName) ){ + sqlite3NestedParse(pParse, + "DELETE FROM %Q.%s WHERE %s=%Q", + zDbName, zTab, zType, zName + ); + } + } +} + +/* +** Generate code to drop a table. +*/ +SQLITE_PRIVATE void sqlite3CodeDropTable(Parse *pParse, Table *pTab, int iDb, int isView){ + Vdbe *v; + sqlite3 *db = pParse->db; + Trigger *pTrigger; + Db *pDb = &db->aDb[iDb]; + + v = sqlite3GetVdbe(pParse); + assert( v!=0 ); + sqlite3BeginWriteOperation(pParse, 1, iDb); + +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( IsVirtual(pTab) ){ + sqlite3VdbeAddOp0(v, OP_VBegin); + } +#endif + + /* Drop all triggers associated with the table being dropped. Code + ** is generated to remove entries from sqlite_master and/or + ** sqlite_temp_master if required. + */ + pTrigger = sqlite3TriggerList(pParse, pTab); + while( pTrigger ){ + assert( pTrigger->pSchema==pTab->pSchema || + pTrigger->pSchema==db->aDb[1].pSchema ); + sqlite3DropTriggerPtr(pParse, pTrigger); + pTrigger = pTrigger->pNext; + } + +#ifndef SQLITE_OMIT_AUTOINCREMENT + /* Remove any entries of the sqlite_sequence table associated with + ** the table being dropped. This is done before the table is dropped + ** at the btree level, in case the sqlite_sequence table needs to + ** move as a result of the drop (can happen in auto-vacuum mode). + */ + if( pTab->tabFlags & TF_Autoincrement ){ + sqlite3NestedParse(pParse, + "DELETE FROM %Q.sqlite_sequence WHERE name=%Q", + pDb->zDbSName, pTab->zName + ); + } +#endif + + /* Drop all SQLITE_MASTER table and index entries that refer to the + ** table. The program name loops through the master table and deletes + ** every row that refers to a table of the same name as the one being + ** dropped. Triggers are handled separately because a trigger can be + ** created in the temp database that refers to a table in another + ** database. + */ + sqlite3NestedParse(pParse, + "DELETE FROM %Q.%s WHERE tbl_name=%Q and type!='trigger'", + pDb->zDbSName, MASTER_NAME, pTab->zName); + if( !isView && !IsVirtual(pTab) ){ + destroyTable(pParse, pTab); + } + + /* Remove the table entry from SQLite's internal schema and modify + ** the schema cookie. + */ + if( IsVirtual(pTab) ){ + sqlite3VdbeAddOp4(v, OP_VDestroy, iDb, 0, 0, pTab->zName, 0); + sqlite3MayAbort(pParse); + } + sqlite3VdbeAddOp4(v, OP_DropTable, iDb, 0, 0, pTab->zName, 0); + sqlite3ChangeCookie(pParse, iDb); + sqliteViewResetAll(db, iDb); +} + +/* +** This routine is called to do the work of a DROP TABLE statement. +** pName is the name of the table to be dropped. +*/ +SQLITE_PRIVATE void sqlite3DropTable(Parse *pParse, SrcList *pName, int isView, int noErr){ + Table *pTab; + Vdbe *v; + sqlite3 *db = pParse->db; + int iDb; + + if( db->mallocFailed ){ + goto exit_drop_table; + } + assert( pParse->nErr==0 ); + assert( pName->nSrc==1 ); + if( sqlite3ReadSchema(pParse) ) goto exit_drop_table; + if( noErr ) db->suppressErr++; + assert( isView==0 || isView==LOCATE_VIEW ); + pTab = sqlite3LocateTableItem(pParse, isView, &pName->a[0]); + if( noErr ) db->suppressErr--; + + if( pTab==0 ){ + if( noErr ) sqlite3CodeVerifyNamedSchema(pParse, pName->a[0].zDatabase); + goto exit_drop_table; + } + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + assert( iDb>=0 && iDbnDb ); + + /* If pTab is a virtual table, call ViewGetColumnNames() to ensure + ** it is initialized. + */ + if( IsVirtual(pTab) && sqlite3ViewGetColumnNames(pParse, pTab) ){ + goto exit_drop_table; + } +#ifndef SQLITE_OMIT_AUTHORIZATION + { + int code; + const char *zTab = SCHEMA_TABLE(iDb); + const char *zDb = db->aDb[iDb].zDbSName; + const char *zArg2 = 0; + if( sqlite3AuthCheck(pParse, SQLITE_DELETE, zTab, 0, zDb)){ + goto exit_drop_table; + } + if( isView ){ + if( !OMIT_TEMPDB && iDb==1 ){ + code = SQLITE_DROP_TEMP_VIEW; + }else{ + code = SQLITE_DROP_VIEW; + } +#ifndef SQLITE_OMIT_VIRTUALTABLE + }else if( IsVirtual(pTab) ){ + code = SQLITE_DROP_VTABLE; + zArg2 = sqlite3GetVTable(db, pTab)->pMod->zName; +#endif + }else{ + if( !OMIT_TEMPDB && iDb==1 ){ + code = SQLITE_DROP_TEMP_TABLE; + }else{ + code = SQLITE_DROP_TABLE; + } + } + if( sqlite3AuthCheck(pParse, code, pTab->zName, zArg2, zDb) ){ + goto exit_drop_table; + } + if( sqlite3AuthCheck(pParse, SQLITE_DELETE, pTab->zName, 0, zDb) ){ + goto exit_drop_table; + } + } +#endif + if( sqlite3StrNICmp(pTab->zName, "sqlite_", 7)==0 + && sqlite3StrNICmp(pTab->zName+7, "stat", 4)!=0 + && sqlite3StrNICmp(pTab->zName+7, "parameters", 10)!=0 ){ + sqlite3ErrorMsg(pParse, "table %s may not be dropped", pTab->zName); + goto exit_drop_table; + } + +#ifndef SQLITE_OMIT_VIEW + /* Ensure DROP TABLE is not used on a view, and DROP VIEW is not used + ** on a table. + */ + if( isView && pTab->pSelect==0 ){ + sqlite3ErrorMsg(pParse, "use DROP TABLE to delete table %s", pTab->zName); + goto exit_drop_table; + } + if( !isView && pTab->pSelect ){ + sqlite3ErrorMsg(pParse, "use DROP VIEW to delete view %s", pTab->zName); + goto exit_drop_table; + } +#endif + + /* Generate code to remove the table from the master table + ** on disk. + */ + v = sqlite3GetVdbe(pParse); + if( v ){ + sqlite3BeginWriteOperation(pParse, 1, iDb); + if( !isView ){ + sqlite3ClearStatTables(pParse, iDb, "tbl", pTab->zName); + sqlite3FkDropTable(pParse, pName, pTab); + } + sqlite3CodeDropTable(pParse, pTab, iDb, isView); + } + +exit_drop_table: + sqlite3SrcListDelete(db, pName); +} + +/* +** This routine is called to create a new foreign key on the table +** currently under construction. pFromCol determines which columns +** in the current table point to the foreign key. If pFromCol==0 then +** connect the key to the last column inserted. pTo is the name of +** the table referred to (a.k.a the "parent" table). pToCol is a list +** of tables in the parent pTo table. flags contains all +** information about the conflict resolution algorithms specified +** in the ON DELETE, ON UPDATE and ON INSERT clauses. +** +** An FKey structure is created and added to the table currently +** under construction in the pParse->pNewTable field. +** +** The foreign key is set for IMMEDIATE processing. A subsequent call +** to sqlite3DeferForeignKey() might change this to DEFERRED. +*/ +SQLITE_PRIVATE void sqlite3CreateForeignKey( + Parse *pParse, /* Parsing context */ + ExprList *pFromCol, /* Columns in this table that point to other table */ + Token *pTo, /* Name of the other table */ + ExprList *pToCol, /* Columns in the other table */ + int flags /* Conflict resolution algorithms. */ +){ + sqlite3 *db = pParse->db; +#ifndef SQLITE_OMIT_FOREIGN_KEY + FKey *pFKey = 0; + FKey *pNextTo; + Table *p = pParse->pNewTable; + int nByte; + int i; + int nCol; + char *z; + + assert( pTo!=0 ); + if( p==0 || IN_DECLARE_VTAB ) goto fk_end; + if( pFromCol==0 ){ + int iCol = p->nCol-1; + if( NEVER(iCol<0) ) goto fk_end; + if( pToCol && pToCol->nExpr!=1 ){ + sqlite3ErrorMsg(pParse, "foreign key on %s" + " should reference only one column of table %T", + p->aCol[iCol].zName, pTo); + goto fk_end; + } + nCol = 1; + }else if( pToCol && pToCol->nExpr!=pFromCol->nExpr ){ + sqlite3ErrorMsg(pParse, + "number of columns in foreign key does not match the number of " + "columns in the referenced table"); + goto fk_end; + }else{ + nCol = pFromCol->nExpr; + } + nByte = sizeof(*pFKey) + (nCol-1)*sizeof(pFKey->aCol[0]) + pTo->n + 1; + if( pToCol ){ + for(i=0; inExpr; i++){ + nByte += sqlite3Strlen30(pToCol->a[i].zName) + 1; + } + } + pFKey = sqlite3DbMallocZero(db, nByte ); + if( pFKey==0 ){ + goto fk_end; + } + pFKey->pFrom = p; + pFKey->pNextFrom = p->pFKey; + z = (char*)&pFKey->aCol[nCol]; + pFKey->zTo = z; + if( IN_RENAME_OBJECT ){ + sqlite3RenameTokenMap(pParse, (void*)z, pTo); + } + memcpy(z, pTo->z, pTo->n); + z[pTo->n] = 0; + sqlite3Dequote(z); + z += pTo->n+1; + pFKey->nCol = nCol; + if( pFromCol==0 ){ + pFKey->aCol[0].iFrom = p->nCol-1; + }else{ + for(i=0; inCol; j++){ + if( sqlite3StrICmp(p->aCol[j].zName, pFromCol->a[i].zName)==0 ){ + pFKey->aCol[i].iFrom = j; + break; + } + } + if( j>=p->nCol ){ + sqlite3ErrorMsg(pParse, + "unknown column \"%s\" in foreign key definition", + pFromCol->a[i].zName); + goto fk_end; + } + if( IN_RENAME_OBJECT ){ + sqlite3RenameTokenRemap(pParse, &pFKey->aCol[i], pFromCol->a[i].zName); + } + } + } + if( pToCol ){ + for(i=0; ia[i].zName); + pFKey->aCol[i].zCol = z; + if( IN_RENAME_OBJECT ){ + sqlite3RenameTokenRemap(pParse, z, pToCol->a[i].zName); + } + memcpy(z, pToCol->a[i].zName, n); + z[n] = 0; + z += n+1; + } + } + pFKey->isDeferred = 0; + pFKey->aAction[0] = (u8)(flags & 0xff); /* ON DELETE action */ + pFKey->aAction[1] = (u8)((flags >> 8 ) & 0xff); /* ON UPDATE action */ + + assert( sqlite3SchemaMutexHeld(db, 0, p->pSchema) ); + pNextTo = (FKey *)sqlite3HashInsert(&p->pSchema->fkeyHash, + pFKey->zTo, (void *)pFKey + ); + if( pNextTo==pFKey ){ + sqlite3OomFault(db); + goto fk_end; + } + if( pNextTo ){ + assert( pNextTo->pPrevTo==0 ); + pFKey->pNextTo = pNextTo; + pNextTo->pPrevTo = pFKey; + } + + /* Link the foreign key to the table as the last step. + */ + p->pFKey = pFKey; + pFKey = 0; + +fk_end: + sqlite3DbFree(db, pFKey); +#endif /* !defined(SQLITE_OMIT_FOREIGN_KEY) */ + sqlite3ExprListDelete(db, pFromCol); + sqlite3ExprListDelete(db, pToCol); +} + +/* +** This routine is called when an INITIALLY IMMEDIATE or INITIALLY DEFERRED +** clause is seen as part of a foreign key definition. The isDeferred +** parameter is 1 for INITIALLY DEFERRED and 0 for INITIALLY IMMEDIATE. +** The behavior of the most recently created foreign key is adjusted +** accordingly. +*/ +SQLITE_PRIVATE void sqlite3DeferForeignKey(Parse *pParse, int isDeferred){ +#ifndef SQLITE_OMIT_FOREIGN_KEY + Table *pTab; + FKey *pFKey; + if( (pTab = pParse->pNewTable)==0 || (pFKey = pTab->pFKey)==0 ) return; + assert( isDeferred==0 || isDeferred==1 ); /* EV: R-30323-21917 */ + pFKey->isDeferred = (u8)isDeferred; +#endif +} + +/* +** Generate code that will erase and refill index *pIdx. This is +** used to initialize a newly created index or to recompute the +** content of an index in response to a REINDEX command. +** +** if memRootPage is not negative, it means that the index is newly +** created. The register specified by memRootPage contains the +** root page number of the index. If memRootPage is negative, then +** the index already exists and must be cleared before being refilled and +** the root page number of the index is taken from pIndex->tnum. +*/ +static void sqlite3RefillIndex(Parse *pParse, Index *pIndex, int memRootPage){ + Table *pTab = pIndex->pTable; /* The table that is indexed */ + int iTab = pParse->nTab++; /* Btree cursor used for pTab */ + int iIdx = pParse->nTab++; /* Btree cursor used for pIndex */ + int iSorter; /* Cursor opened by OpenSorter (if in use) */ + int addr1; /* Address of top of loop */ + int addr2; /* Address to jump to for next iteration */ + int tnum; /* Root page of index */ + int iPartIdxLabel; /* Jump to this label to skip a row */ + Vdbe *v; /* Generate code into this virtual machine */ + KeyInfo *pKey; /* KeyInfo for index */ + int regRecord; /* Register holding assembled index record */ + sqlite3 *db = pParse->db; /* The database connection */ + int iDb = sqlite3SchemaToIndex(db, pIndex->pSchema); + +#ifndef SQLITE_OMIT_AUTHORIZATION + if( sqlite3AuthCheck(pParse, SQLITE_REINDEX, pIndex->zName, 0, + db->aDb[iDb].zDbSName ) ){ + return; + } +#endif + + /* Require a write-lock on the table to perform this operation */ + sqlite3TableLock(pParse, iDb, pTab->tnum, 1, pTab->zName); + + v = sqlite3GetVdbe(pParse); + if( v==0 ) return; + if( memRootPage>=0 ){ + tnum = memRootPage; + }else{ + tnum = pIndex->tnum; + } + pKey = sqlite3KeyInfoOfIndex(pParse, pIndex); + assert( pKey!=0 || db->mallocFailed || pParse->nErr ); + + /* Open the sorter cursor if we are to use one. */ + iSorter = pParse->nTab++; + sqlite3VdbeAddOp4(v, OP_SorterOpen, iSorter, 0, pIndex->nKeyCol, (char*) + sqlite3KeyInfoRef(pKey), P4_KEYINFO); + + /* Open the table. Loop through all rows of the table, inserting index + ** records into the sorter. */ + sqlite3OpenTable(pParse, iTab, iDb, pTab, OP_OpenRead); + addr1 = sqlite3VdbeAddOp2(v, OP_Rewind, iTab, 0); VdbeCoverage(v); + regRecord = sqlite3GetTempReg(pParse); + sqlite3MultiWrite(pParse); + + sqlite3GenerateIndexKey(pParse,pIndex,iTab,regRecord,0,&iPartIdxLabel,0,0); + sqlite3VdbeAddOp2(v, OP_SorterInsert, iSorter, regRecord); + sqlite3ResolvePartIdxLabel(pParse, iPartIdxLabel); + sqlite3VdbeAddOp2(v, OP_Next, iTab, addr1+1); VdbeCoverage(v); + sqlite3VdbeJumpHere(v, addr1); + if( memRootPage<0 ) sqlite3VdbeAddOp2(v, OP_Clear, tnum, iDb); + sqlite3VdbeAddOp4(v, OP_OpenWrite, iIdx, tnum, iDb, + (char *)pKey, P4_KEYINFO); + sqlite3VdbeChangeP5(v, OPFLAG_BULKCSR|((memRootPage>=0)?OPFLAG_P2ISREG:0)); + + addr1 = sqlite3VdbeAddOp2(v, OP_SorterSort, iSorter, 0); VdbeCoverage(v); + if( IsUniqueIndex(pIndex) ){ + int j2 = sqlite3VdbeGoto(v, 1); + addr2 = sqlite3VdbeCurrentAddr(v); + sqlite3VdbeVerifyAbortable(v, OE_Abort); + sqlite3VdbeAddOp4Int(v, OP_SorterCompare, iSorter, j2, regRecord, + pIndex->nKeyCol); VdbeCoverage(v); + sqlite3UniqueConstraint(pParse, OE_Abort, pIndex); + sqlite3VdbeJumpHere(v, j2); + }else{ + /* Most CREATE INDEX and REINDEX statements that are not UNIQUE can not + ** abort. The exception is if one of the indexed expressions contains a + ** user function that throws an exception when it is evaluated. But the + ** overhead of adding a statement journal to a CREATE INDEX statement is + ** very small (since most of the pages written do not contain content that + ** needs to be restored if the statement aborts), so we call + ** sqlite3MayAbort() for all CREATE INDEX statements. */ + sqlite3MayAbort(pParse); + addr2 = sqlite3VdbeCurrentAddr(v); + } + sqlite3VdbeAddOp3(v, OP_SorterData, iSorter, regRecord, iIdx); + if( !pIndex->bAscKeyBug ){ + /* This OP_SeekEnd opcode makes index insert for a REINDEX go much + ** faster by avoiding unnecessary seeks. But the optimization does + ** not work for UNIQUE constraint indexes on WITHOUT ROWID tables + ** with DESC primary keys, since those indexes have there keys in + ** a different order from the main table. + ** See ticket: https://www.sqlite.org/src/info/bba7b69f9849b5bf + */ + sqlite3VdbeAddOp1(v, OP_SeekEnd, iIdx); + } + sqlite3VdbeAddOp2(v, OP_IdxInsert, iIdx, regRecord); + sqlite3VdbeChangeP5(v, OPFLAG_USESEEKRESULT); + sqlite3ReleaseTempReg(pParse, regRecord); + sqlite3VdbeAddOp2(v, OP_SorterNext, iSorter, addr2); VdbeCoverage(v); + sqlite3VdbeJumpHere(v, addr1); + + sqlite3VdbeAddOp1(v, OP_Close, iTab); + sqlite3VdbeAddOp1(v, OP_Close, iIdx); + sqlite3VdbeAddOp1(v, OP_Close, iSorter); +} + +/* +** Allocate heap space to hold an Index object with nCol columns. +** +** Increase the allocation size to provide an extra nExtra bytes +** of 8-byte aligned space after the Index object and return a +** pointer to this extra space in *ppExtra. +*/ +SQLITE_PRIVATE Index *sqlite3AllocateIndexObject( + sqlite3 *db, /* Database connection */ + i16 nCol, /* Total number of columns in the index */ + int nExtra, /* Number of bytes of extra space to alloc */ + char **ppExtra /* Pointer to the "extra" space */ +){ + Index *p; /* Allocated index object */ + int nByte; /* Bytes of space for Index object + arrays */ + + nByte = ROUND8(sizeof(Index)) + /* Index structure */ + ROUND8(sizeof(char*)*nCol) + /* Index.azColl */ + ROUND8(sizeof(LogEst)*(nCol+1) + /* Index.aiRowLogEst */ + sizeof(i16)*nCol + /* Index.aiColumn */ + sizeof(u8)*nCol); /* Index.aSortOrder */ + p = sqlite3DbMallocZero(db, nByte + nExtra); + if( p ){ + char *pExtra = ((char*)p)+ROUND8(sizeof(Index)); + p->azColl = (const char**)pExtra; pExtra += ROUND8(sizeof(char*)*nCol); + p->aiRowLogEst = (LogEst*)pExtra; pExtra += sizeof(LogEst)*(nCol+1); + p->aiColumn = (i16*)pExtra; pExtra += sizeof(i16)*nCol; + p->aSortOrder = (u8*)pExtra; + p->nColumn = nCol; + p->nKeyCol = nCol - 1; + *ppExtra = ((char*)p) + nByte; + } + return p; +} + +/* +** If expression list pList contains an expression that was parsed with +** an explicit "NULLS FIRST" or "NULLS LAST" clause, leave an error in +** pParse and return non-zero. Otherwise, return zero. +*/ +SQLITE_PRIVATE int sqlite3HasExplicitNulls(Parse *pParse, ExprList *pList){ + if( pList ){ + int i; + for(i=0; inExpr; i++){ + if( pList->a[i].bNulls ){ + u8 sf = pList->a[i].sortFlags; + sqlite3ErrorMsg(pParse, "unsupported use of NULLS %s", + (sf==0 || sf==3) ? "FIRST" : "LAST" + ); + return 1; + } + } + } + return 0; +} + +/* +** Create a new index for an SQL table. pName1.pName2 is the name of the index +** and pTblList is the name of the table that is to be indexed. Both will +** be NULL for a primary key or an index that is created to satisfy a +** UNIQUE constraint. If pTable and pIndex are NULL, use pParse->pNewTable +** as the table to be indexed. pParse->pNewTable is a table that is +** currently being constructed by a CREATE TABLE statement. +** +** pList is a list of columns to be indexed. pList will be NULL if this +** is a primary key or unique-constraint on the most recent column added +** to the table currently under construction. +*/ +SQLITE_PRIVATE void sqlite3CreateIndex( + Parse *pParse, /* All information about this parse */ + Token *pName1, /* First part of index name. May be NULL */ + Token *pName2, /* Second part of index name. May be NULL */ + SrcList *pTblName, /* Table to index. Use pParse->pNewTable if 0 */ + ExprList *pList, /* A list of columns to be indexed */ + int onError, /* OE_Abort, OE_Ignore, OE_Replace, or OE_None */ + Token *pStart, /* The CREATE token that begins this statement */ + Expr *pPIWhere, /* WHERE clause for partial indices */ + int sortOrder, /* Sort order of primary key when pList==NULL */ + int ifNotExist, /* Omit error if index already exists */ + u8 idxType /* The index type */ +){ + Table *pTab = 0; /* Table to be indexed */ + Index *pIndex = 0; /* The index to be created */ + char *zName = 0; /* Name of the index */ + int nName; /* Number of characters in zName */ + int i, j; + DbFixer sFix; /* For assigning database names to pTable */ + int sortOrderMask; /* 1 to honor DESC in index. 0 to ignore. */ + sqlite3 *db = pParse->db; + Db *pDb; /* The specific table containing the indexed database */ + int iDb; /* Index of the database that is being written */ + Token *pName = 0; /* Unqualified name of the index to create */ + struct ExprList_item *pListItem; /* For looping over pList */ + int nExtra = 0; /* Space allocated for zExtra[] */ + int nExtraCol; /* Number of extra columns needed */ + char *zExtra = 0; /* Extra space after the Index object */ + Index *pPk = 0; /* PRIMARY KEY index for WITHOUT ROWID tables */ + + if( db->mallocFailed || pParse->nErr>0 ){ + goto exit_create_index; + } + if( IN_DECLARE_VTAB && idxType!=SQLITE_IDXTYPE_PRIMARYKEY ){ + goto exit_create_index; + } + if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){ + goto exit_create_index; + } + if( sqlite3HasExplicitNulls(pParse, pList) ){ + goto exit_create_index; + } + + /* + ** Find the table that is to be indexed. Return early if not found. + */ + if( pTblName!=0 ){ + + /* Use the two-part index name to determine the database + ** to search for the table. 'Fix' the table name to this db + ** before looking up the table. + */ + assert( pName1 && pName2 ); + iDb = sqlite3TwoPartName(pParse, pName1, pName2, &pName); + if( iDb<0 ) goto exit_create_index; + assert( pName && pName->z ); + +#ifndef SQLITE_OMIT_TEMPDB + /* If the index name was unqualified, check if the table + ** is a temp table. If so, set the database to 1. Do not do this + ** if initialising a database schema. + */ + if( !db->init.busy ){ + pTab = sqlite3SrcListLookup(pParse, pTblName); + if( pName2->n==0 && pTab && pTab->pSchema==db->aDb[1].pSchema ){ + iDb = 1; + } + } +#endif + + sqlite3FixInit(&sFix, pParse, iDb, "index", pName); + if( sqlite3FixSrcList(&sFix, pTblName) ){ + /* Because the parser constructs pTblName from a single identifier, + ** sqlite3FixSrcList can never fail. */ + assert(0); + } + pTab = sqlite3LocateTableItem(pParse, 0, &pTblName->a[0]); + assert( db->mallocFailed==0 || pTab==0 ); + if( pTab==0 ) goto exit_create_index; + if( iDb==1 && db->aDb[iDb].pSchema!=pTab->pSchema ){ + sqlite3ErrorMsg(pParse, + "cannot create a TEMP index on non-TEMP table \"%s\"", + pTab->zName); + goto exit_create_index; + } + if( !HasRowid(pTab) ) pPk = sqlite3PrimaryKeyIndex(pTab); + }else{ + assert( pName==0 ); + assert( pStart==0 ); + pTab = pParse->pNewTable; + if( !pTab ) goto exit_create_index; + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + } + pDb = &db->aDb[iDb]; + + assert( pTab!=0 ); + assert( pParse->nErr==0 ); + if( sqlite3StrNICmp(pTab->zName, "sqlite_", 7)==0 + && db->init.busy==0 + && pTblName!=0 +#if SQLITE_USER_AUTHENTICATION + && sqlite3UserAuthTable(pTab->zName)==0 +#endif +#ifdef SQLITE_ALLOW_SQLITE_MASTER_INDEX + && sqlite3StrICmp(&pTab->zName[7],"master")!=0 +#endif + ){ + sqlite3ErrorMsg(pParse, "table %s may not be indexed", pTab->zName); + goto exit_create_index; + } +#ifndef SQLITE_OMIT_VIEW + if( pTab->pSelect ){ + sqlite3ErrorMsg(pParse, "views may not be indexed"); + goto exit_create_index; + } +#endif +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( IsVirtual(pTab) ){ + sqlite3ErrorMsg(pParse, "virtual tables may not be indexed"); + goto exit_create_index; + } +#endif + + /* + ** Find the name of the index. Make sure there is not already another + ** index or table with the same name. + ** + ** Exception: If we are reading the names of permanent indices from the + ** sqlite_master table (because some other process changed the schema) and + ** one of the index names collides with the name of a temporary table or + ** index, then we will continue to process this index. + ** + ** If pName==0 it means that we are + ** dealing with a primary key or UNIQUE constraint. We have to invent our + ** own name. + */ + if( pName ){ + zName = sqlite3NameFromToken(db, pName); + if( zName==0 ) goto exit_create_index; + assert( pName->z!=0 ); + if( SQLITE_OK!=sqlite3CheckObjectName(pParse, zName,"index",pTab->zName) ){ + goto exit_create_index; + } + if( !IN_RENAME_OBJECT ){ + if( !db->init.busy ){ + if( sqlite3FindTable(db, zName, 0)!=0 ){ + sqlite3ErrorMsg(pParse, "there is already a table named %s", zName); + goto exit_create_index; + } + } + if( sqlite3FindIndex(db, zName, pDb->zDbSName)!=0 ){ + if( !ifNotExist ){ + sqlite3ErrorMsg(pParse, "index %s already exists", zName); + }else{ + assert( !db->init.busy ); + sqlite3CodeVerifySchema(pParse, iDb); + } + goto exit_create_index; + } + } + }else{ + int n; + Index *pLoop; + for(pLoop=pTab->pIndex, n=1; pLoop; pLoop=pLoop->pNext, n++){} + zName = sqlite3MPrintf(db, "sqlite_autoindex_%s_%d", pTab->zName, n); + if( zName==0 ){ + goto exit_create_index; + } + + /* Automatic index names generated from within sqlite3_declare_vtab() + ** must have names that are distinct from normal automatic index names. + ** The following statement converts "sqlite3_autoindex..." into + ** "sqlite3_butoindex..." in order to make the names distinct. + ** The "vtab_err.test" test demonstrates the need of this statement. */ + if( IN_SPECIAL_PARSE ) zName[7]++; + } + + /* Check for authorization to create an index. + */ +#ifndef SQLITE_OMIT_AUTHORIZATION + if( !IN_RENAME_OBJECT ){ + const char *zDb = pDb->zDbSName; + if( sqlite3AuthCheck(pParse, SQLITE_INSERT, SCHEMA_TABLE(iDb), 0, zDb) ){ + goto exit_create_index; + } + i = SQLITE_CREATE_INDEX; + if( !OMIT_TEMPDB && iDb==1 ) i = SQLITE_CREATE_TEMP_INDEX; + if( sqlite3AuthCheck(pParse, i, zName, pTab->zName, zDb) ){ + goto exit_create_index; + } + } +#endif + + /* If pList==0, it means this routine was called to make a primary + ** key out of the last column added to the table under construction. + ** So create a fake list to simulate this. + */ + if( pList==0 ){ + Token prevCol; + Column *pCol = &pTab->aCol[pTab->nCol-1]; + pCol->colFlags |= COLFLAG_UNIQUE; + sqlite3TokenInit(&prevCol, pCol->zName); + pList = sqlite3ExprListAppend(pParse, 0, + sqlite3ExprAlloc(db, TK_ID, &prevCol, 0)); + if( pList==0 ) goto exit_create_index; + assert( pList->nExpr==1 ); + sqlite3ExprListSetSortOrder(pList, sortOrder, SQLITE_SO_UNDEFINED); + }else{ + sqlite3ExprListCheckLength(pParse, pList, "index"); + if( pParse->nErr ) goto exit_create_index; + } + + /* Figure out how many bytes of space are required to store explicitly + ** specified collation sequence names. + */ + for(i=0; inExpr; i++){ + Expr *pExpr = pList->a[i].pExpr; + assert( pExpr!=0 ); + if( pExpr->op==TK_COLLATE ){ + nExtra += (1 + sqlite3Strlen30(pExpr->u.zToken)); + } + } + + /* + ** Allocate the index structure. + */ + nName = sqlite3Strlen30(zName); + nExtraCol = pPk ? pPk->nKeyCol : 1; + assert( pList->nExpr + nExtraCol <= 32767 /* Fits in i16 */ ); + pIndex = sqlite3AllocateIndexObject(db, pList->nExpr + nExtraCol, + nName + nExtra + 1, &zExtra); + if( db->mallocFailed ){ + goto exit_create_index; + } + assert( EIGHT_BYTE_ALIGNMENT(pIndex->aiRowLogEst) ); + assert( EIGHT_BYTE_ALIGNMENT(pIndex->azColl) ); + pIndex->zName = zExtra; + zExtra += nName + 1; + memcpy(pIndex->zName, zName, nName+1); + pIndex->pTable = pTab; + pIndex->onError = (u8)onError; + pIndex->uniqNotNull = onError!=OE_None; + pIndex->idxType = idxType; + pIndex->pSchema = db->aDb[iDb].pSchema; + pIndex->nKeyCol = pList->nExpr; + if( pPIWhere ){ + sqlite3ResolveSelfReference(pParse, pTab, NC_PartIdx, pPIWhere, 0); + pIndex->pPartIdxWhere = pPIWhere; + pPIWhere = 0; + } + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + + /* Check to see if we should honor DESC requests on index columns + */ + if( pDb->pSchema->file_format>=4 ){ + sortOrderMask = -1; /* Honor DESC */ + }else{ + sortOrderMask = 0; /* Ignore DESC */ + } + + /* Analyze the list of expressions that form the terms of the index and + ** report any errors. In the common case where the expression is exactly + ** a table column, store that column in aiColumn[]. For general expressions, + ** populate pIndex->aColExpr and store XN_EXPR (-2) in aiColumn[]. + ** + ** TODO: Issue a warning if two or more columns of the index are identical. + ** TODO: Issue a warning if the table primary key is used as part of the + ** index key. + */ + pListItem = pList->a; + if( IN_RENAME_OBJECT ){ + pIndex->aColExpr = pList; + pList = 0; + } + for(i=0; inKeyCol; i++, pListItem++){ + Expr *pCExpr; /* The i-th index expression */ + int requestedSortOrder; /* ASC or DESC on the i-th expression */ + const char *zColl; /* Collation sequence name */ + + sqlite3StringToId(pListItem->pExpr); + sqlite3ResolveSelfReference(pParse, pTab, NC_IdxExpr, pListItem->pExpr, 0); + if( pParse->nErr ) goto exit_create_index; + pCExpr = sqlite3ExprSkipCollate(pListItem->pExpr); + if( pCExpr->op!=TK_COLUMN ){ + if( pTab==pParse->pNewTable ){ + sqlite3ErrorMsg(pParse, "expressions prohibited in PRIMARY KEY and " + "UNIQUE constraints"); + goto exit_create_index; + } + if( pIndex->aColExpr==0 ){ + pIndex->aColExpr = pList; + pList = 0; + } + j = XN_EXPR; + pIndex->aiColumn[i] = XN_EXPR; + pIndex->uniqNotNull = 0; + }else{ + j = pCExpr->iColumn; + assert( j<=0x7fff ); + if( j<0 ){ + j = pTab->iPKey; + }else if( pTab->aCol[j].notNull==0 ){ + pIndex->uniqNotNull = 0; + } + pIndex->aiColumn[i] = (i16)j; + } + zColl = 0; + if( pListItem->pExpr->op==TK_COLLATE ){ + int nColl; + zColl = pListItem->pExpr->u.zToken; + nColl = sqlite3Strlen30(zColl) + 1; + assert( nExtra>=nColl ); + memcpy(zExtra, zColl, nColl); + zColl = zExtra; + zExtra += nColl; + nExtra -= nColl; + }else if( j>=0 ){ + zColl = pTab->aCol[j].zColl; + } + if( !zColl ) zColl = sqlite3StrBINARY; + if( !db->init.busy && !sqlite3LocateCollSeq(pParse, zColl) ){ + goto exit_create_index; + } + pIndex->azColl[i] = zColl; + requestedSortOrder = pListItem->sortFlags & sortOrderMask; + pIndex->aSortOrder[i] = (u8)requestedSortOrder; + } + + /* Append the table key to the end of the index. For WITHOUT ROWID + ** tables (when pPk!=0) this will be the declared PRIMARY KEY. For + ** normal tables (when pPk==0) this will be the rowid. + */ + if( pPk ){ + for(j=0; jnKeyCol; j++){ + int x = pPk->aiColumn[j]; + assert( x>=0 ); + if( isDupColumn(pIndex, pIndex->nKeyCol, pPk, j) ){ + pIndex->nColumn--; + }else{ + testcase( hasColumn(pIndex->aiColumn,pIndex->nKeyCol,x) ); + pIndex->aiColumn[i] = x; + pIndex->azColl[i] = pPk->azColl[j]; + pIndex->aSortOrder[i] = pPk->aSortOrder[j]; + i++; + } + } + assert( i==pIndex->nColumn ); + }else{ + pIndex->aiColumn[i] = XN_ROWID; + pIndex->azColl[i] = sqlite3StrBINARY; + } + sqlite3DefaultRowEst(pIndex); + if( pParse->pNewTable==0 ) estimateIndexWidth(pIndex); + + /* If this index contains every column of its table, then mark + ** it as a covering index */ + assert( HasRowid(pTab) + || pTab->iPKey<0 || sqlite3ColumnOfIndex(pIndex, pTab->iPKey)>=0 ); + recomputeColumnsNotIndexed(pIndex); + if( pTblName!=0 && pIndex->nColumn>=pTab->nCol ){ + pIndex->isCovering = 1; + for(j=0; jnCol; j++){ + if( j==pTab->iPKey ) continue; + if( sqlite3ColumnOfIndex(pIndex,j)>=0 ) continue; + pIndex->isCovering = 0; + break; + } + } + + if( pTab==pParse->pNewTable ){ + /* This routine has been called to create an automatic index as a + ** result of a PRIMARY KEY or UNIQUE clause on a column definition, or + ** a PRIMARY KEY or UNIQUE clause following the column definitions. + ** i.e. one of: + ** + ** CREATE TABLE t(x PRIMARY KEY, y); + ** CREATE TABLE t(x, y, UNIQUE(x, y)); + ** + ** Either way, check to see if the table already has such an index. If + ** so, don't bother creating this one. This only applies to + ** automatically created indices. Users can do as they wish with + ** explicit indices. + ** + ** Two UNIQUE or PRIMARY KEY constraints are considered equivalent + ** (and thus suppressing the second one) even if they have different + ** sort orders. + ** + ** If there are different collating sequences or if the columns of + ** the constraint occur in different orders, then the constraints are + ** considered distinct and both result in separate indices. + */ + Index *pIdx; + for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + int k; + assert( IsUniqueIndex(pIdx) ); + assert( pIdx->idxType!=SQLITE_IDXTYPE_APPDEF ); + assert( IsUniqueIndex(pIndex) ); + + if( pIdx->nKeyCol!=pIndex->nKeyCol ) continue; + for(k=0; knKeyCol; k++){ + const char *z1; + const char *z2; + assert( pIdx->aiColumn[k]>=0 ); + if( pIdx->aiColumn[k]!=pIndex->aiColumn[k] ) break; + z1 = pIdx->azColl[k]; + z2 = pIndex->azColl[k]; + if( sqlite3StrICmp(z1, z2) ) break; + } + if( k==pIdx->nKeyCol ){ + if( pIdx->onError!=pIndex->onError ){ + /* This constraint creates the same index as a previous + ** constraint specified somewhere in the CREATE TABLE statement. + ** However the ON CONFLICT clauses are different. If both this + ** constraint and the previous equivalent constraint have explicit + ** ON CONFLICT clauses this is an error. Otherwise, use the + ** explicitly specified behavior for the index. + */ + if( !(pIdx->onError==OE_Default || pIndex->onError==OE_Default) ){ + sqlite3ErrorMsg(pParse, + "conflicting ON CONFLICT clauses specified", 0); + } + if( pIdx->onError==OE_Default ){ + pIdx->onError = pIndex->onError; + } + } + if( idxType==SQLITE_IDXTYPE_PRIMARYKEY ) pIdx->idxType = idxType; + if( IN_RENAME_OBJECT ){ + pIndex->pNext = pParse->pNewIndex; + pParse->pNewIndex = pIndex; + pIndex = 0; + } + goto exit_create_index; + } + } + } + + if( !IN_RENAME_OBJECT ){ + + /* Link the new Index structure to its table and to the other + ** in-memory database structures. + */ + assert( pParse->nErr==0 ); + if( db->init.busy ){ + Index *p; + assert( !IN_SPECIAL_PARSE ); + assert( sqlite3SchemaMutexHeld(db, 0, pIndex->pSchema) ); + if( pTblName!=0 ){ + pIndex->tnum = db->init.newTnum; + if( sqlite3IndexHasDuplicateRootPage(pIndex) ){ + sqlite3ErrorMsg(pParse, "invalid rootpage"); + pParse->rc = SQLITE_CORRUPT_BKPT; + goto exit_create_index; + } + } + p = sqlite3HashInsert(&pIndex->pSchema->idxHash, + pIndex->zName, pIndex); + if( p ){ + assert( p==pIndex ); /* Malloc must have failed */ + sqlite3OomFault(db); + goto exit_create_index; + } + db->mDbFlags |= DBFLAG_SchemaChange; + } + + /* If this is the initial CREATE INDEX statement (or CREATE TABLE if the + ** index is an implied index for a UNIQUE or PRIMARY KEY constraint) then + ** emit code to allocate the index rootpage on disk and make an entry for + ** the index in the sqlite_master table and populate the index with + ** content. But, do not do this if we are simply reading the sqlite_master + ** table to parse the schema, or if this index is the PRIMARY KEY index + ** of a WITHOUT ROWID table. + ** + ** If pTblName==0 it means this index is generated as an implied PRIMARY KEY + ** or UNIQUE index in a CREATE TABLE statement. Since the table + ** has just been created, it contains no data and the index initialization + ** step can be skipped. + */ + else if( HasRowid(pTab) || pTblName!=0 ){ + Vdbe *v; + char *zStmt; + int iMem = ++pParse->nMem; + + v = sqlite3GetVdbe(pParse); + if( v==0 ) goto exit_create_index; + + sqlite3BeginWriteOperation(pParse, 1, iDb); + + /* Create the rootpage for the index using CreateIndex. But before + ** doing so, code a Noop instruction and store its address in + ** Index.tnum. This is required in case this index is actually a + ** PRIMARY KEY and the table is actually a WITHOUT ROWID table. In + ** that case the convertToWithoutRowidTable() routine will replace + ** the Noop with a Goto to jump over the VDBE code generated below. */ + pIndex->tnum = sqlite3VdbeAddOp0(v, OP_Noop); + sqlite3VdbeAddOp3(v, OP_CreateBtree, iDb, iMem, BTREE_BLOBKEY); + + /* Gather the complete text of the CREATE INDEX statement into + ** the zStmt variable + */ + assert( pName!=0 || pStart==0 ); + if( pStart ){ + int n = (int)(pParse->sLastToken.z - pName->z) + pParse->sLastToken.n; + if( pName->z[n-1]==';' ) n--; + /* A named index with an explicit CREATE INDEX statement */ + zStmt = sqlite3MPrintf(db, "CREATE%s INDEX %.*s", + onError==OE_None ? "" : " UNIQUE", n, pName->z); + }else{ + /* An automatic index created by a PRIMARY KEY or UNIQUE constraint */ + /* zStmt = sqlite3MPrintf(""); */ + zStmt = 0; + } + + /* Add an entry in sqlite_master for this index + */ + sqlite3NestedParse(pParse, + "INSERT INTO %Q.%s VALUES('index',%Q,%Q,#%d,%Q);", + db->aDb[iDb].zDbSName, MASTER_NAME, + pIndex->zName, + pTab->zName, + iMem, + zStmt + ); + sqlite3DbFree(db, zStmt); + + /* Fill the index with data and reparse the schema. Code an OP_Expire + ** to invalidate all pre-compiled statements. + */ + if( pTblName ){ + sqlite3RefillIndex(pParse, pIndex, iMem); + sqlite3ChangeCookie(pParse, iDb); + sqlite3VdbeAddParseSchemaOp(v, iDb, + sqlite3MPrintf(db, "name='%q' AND type='index'", pIndex->zName)); + sqlite3VdbeAddOp2(v, OP_Expire, 0, 1); + } + + sqlite3VdbeJumpHere(v, pIndex->tnum); + } + } + + /* When adding an index to the list of indices for a table, make + ** sure all indices labeled OE_Replace come after all those labeled + ** OE_Ignore. This is necessary for the correct constraint check + ** processing (in sqlite3GenerateConstraintChecks()) as part of + ** UPDATE and INSERT statements. + */ + if( db->init.busy || pTblName==0 ){ + if( onError!=OE_Replace || pTab->pIndex==0 + || pTab->pIndex->onError==OE_Replace){ + pIndex->pNext = pTab->pIndex; + pTab->pIndex = pIndex; + }else{ + Index *pOther = pTab->pIndex; + while( pOther->pNext && pOther->pNext->onError!=OE_Replace ){ + pOther = pOther->pNext; + } + pIndex->pNext = pOther->pNext; + pOther->pNext = pIndex; + } + pIndex = 0; + } + else if( IN_RENAME_OBJECT ){ + assert( pParse->pNewIndex==0 ); + pParse->pNewIndex = pIndex; + pIndex = 0; + } + + /* Clean up before exiting */ +exit_create_index: + if( pIndex ) sqlite3FreeIndex(db, pIndex); + sqlite3ExprDelete(db, pPIWhere); + sqlite3ExprListDelete(db, pList); + sqlite3SrcListDelete(db, pTblName); + sqlite3DbFree(db, zName); +} + +/* +** Fill the Index.aiRowEst[] array with default information - information +** to be used when we have not run the ANALYZE command. +** +** aiRowEst[0] is supposed to contain the number of elements in the index. +** Since we do not know, guess 1 million. aiRowEst[1] is an estimate of the +** number of rows in the table that match any particular value of the +** first column of the index. aiRowEst[2] is an estimate of the number +** of rows that match any particular combination of the first 2 columns +** of the index. And so forth. It must always be the case that +* +** aiRowEst[N]<=aiRowEst[N-1] +** aiRowEst[N]>=1 +** +** Apart from that, we have little to go on besides intuition as to +** how aiRowEst[] should be initialized. The numbers generated here +** are based on typical values found in actual indices. +*/ +SQLITE_PRIVATE void sqlite3DefaultRowEst(Index *pIdx){ + /* 10, 9, 8, 7, 6 */ + LogEst aVal[] = { 33, 32, 30, 28, 26 }; + LogEst *a = pIdx->aiRowLogEst; + int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol); + int i; + + /* Indexes with default row estimates should not have stat1 data */ + assert( !pIdx->hasStat1 ); + + /* Set the first entry (number of rows in the index) to the estimated + ** number of rows in the table, or half the number of rows in the table + ** for a partial index. But do not let the estimate drop below 10. */ + a[0] = pIdx->pTable->nRowLogEst; + if( pIdx->pPartIdxWhere!=0 ) a[0] -= 10; assert( 10==sqlite3LogEst(2) ); + if( a[0]<33 ) a[0] = 33; assert( 33==sqlite3LogEst(10) ); + + /* Estimate that a[1] is 10, a[2] is 9, a[3] is 8, a[4] is 7, a[5] is + ** 6 and each subsequent value (if any) is 5. */ + memcpy(&a[1], aVal, nCopy*sizeof(LogEst)); + for(i=nCopy+1; i<=pIdx->nKeyCol; i++){ + a[i] = 23; assert( 23==sqlite3LogEst(5) ); + } + + assert( 0==sqlite3LogEst(1) ); + if( IsUniqueIndex(pIdx) ) a[pIdx->nKeyCol] = 0; +} + +/* +** This routine will drop an existing named index. This routine +** implements the DROP INDEX statement. +*/ +SQLITE_PRIVATE void sqlite3DropIndex(Parse *pParse, SrcList *pName, int ifExists){ + Index *pIndex; + Vdbe *v; + sqlite3 *db = pParse->db; + int iDb; + + assert( pParse->nErr==0 ); /* Never called with prior errors */ + if( db->mallocFailed ){ + goto exit_drop_index; + } + assert( pName->nSrc==1 ); + if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){ + goto exit_drop_index; + } + pIndex = sqlite3FindIndex(db, pName->a[0].zName, pName->a[0].zDatabase); + if( pIndex==0 ){ + if( !ifExists ){ + sqlite3ErrorMsg(pParse, "no such index: %S", pName, 0); + }else{ + sqlite3CodeVerifyNamedSchema(pParse, pName->a[0].zDatabase); + } + pParse->checkSchema = 1; + goto exit_drop_index; + } + if( pIndex->idxType!=SQLITE_IDXTYPE_APPDEF ){ + sqlite3ErrorMsg(pParse, "index associated with UNIQUE " + "or PRIMARY KEY constraint cannot be dropped", 0); + goto exit_drop_index; + } + iDb = sqlite3SchemaToIndex(db, pIndex->pSchema); +#ifndef SQLITE_OMIT_AUTHORIZATION + { + int code = SQLITE_DROP_INDEX; + Table *pTab = pIndex->pTable; + const char *zDb = db->aDb[iDb].zDbSName; + const char *zTab = SCHEMA_TABLE(iDb); + if( sqlite3AuthCheck(pParse, SQLITE_DELETE, zTab, 0, zDb) ){ + goto exit_drop_index; + } + if( !OMIT_TEMPDB && iDb ) code = SQLITE_DROP_TEMP_INDEX; + if( sqlite3AuthCheck(pParse, code, pIndex->zName, pTab->zName, zDb) ){ + goto exit_drop_index; + } + } +#endif + + /* Generate code to remove the index and from the master table */ + v = sqlite3GetVdbe(pParse); + if( v ){ + sqlite3BeginWriteOperation(pParse, 1, iDb); + sqlite3NestedParse(pParse, + "DELETE FROM %Q.%s WHERE name=%Q AND type='index'", + db->aDb[iDb].zDbSName, MASTER_NAME, pIndex->zName + ); + sqlite3ClearStatTables(pParse, iDb, "idx", pIndex->zName); + sqlite3ChangeCookie(pParse, iDb); + destroyRootPage(pParse, pIndex->tnum, iDb); + sqlite3VdbeAddOp4(v, OP_DropIndex, iDb, 0, 0, pIndex->zName, 0); + } + +exit_drop_index: + sqlite3SrcListDelete(db, pName); +} + +/* +** pArray is a pointer to an array of objects. Each object in the +** array is szEntry bytes in size. This routine uses sqlite3DbRealloc() +** to extend the array so that there is space for a new object at the end. +** +** When this function is called, *pnEntry contains the current size of +** the array (in entries - so the allocation is ((*pnEntry) * szEntry) bytes +** in total). +** +** If the realloc() is successful (i.e. if no OOM condition occurs), the +** space allocated for the new object is zeroed, *pnEntry updated to +** reflect the new size of the array and a pointer to the new allocation +** returned. *pIdx is set to the index of the new array entry in this case. +** +** Otherwise, if the realloc() fails, *pIdx is set to -1, *pnEntry remains +** unchanged and a copy of pArray returned. +*/ +SQLITE_PRIVATE void *sqlite3ArrayAllocate( + sqlite3 *db, /* Connection to notify of malloc failures */ + void *pArray, /* Array of objects. Might be reallocated */ + int szEntry, /* Size of each object in the array */ + int *pnEntry, /* Number of objects currently in use */ + int *pIdx /* Write the index of a new slot here */ +){ + char *z; + sqlite3_int64 n = *pIdx = *pnEntry; + if( (n & (n-1))==0 ){ + sqlite3_int64 sz = (n==0) ? 1 : 2*n; + void *pNew = sqlite3DbRealloc(db, pArray, sz*szEntry); + if( pNew==0 ){ + *pIdx = -1; + return pArray; + } + pArray = pNew; + } + z = (char*)pArray; + memset(&z[n * szEntry], 0, szEntry); + ++*pnEntry; + return pArray; +} + +/* +** Append a new element to the given IdList. Create a new IdList if +** need be. +** +** A new IdList is returned, or NULL if malloc() fails. +*/ +SQLITE_PRIVATE IdList *sqlite3IdListAppend(Parse *pParse, IdList *pList, Token *pToken){ + sqlite3 *db = pParse->db; + int i; + if( pList==0 ){ + pList = sqlite3DbMallocZero(db, sizeof(IdList) ); + if( pList==0 ) return 0; + } + pList->a = sqlite3ArrayAllocate( + db, + pList->a, + sizeof(pList->a[0]), + &pList->nId, + &i + ); + if( i<0 ){ + sqlite3IdListDelete(db, pList); + return 0; + } + pList->a[i].zName = sqlite3NameFromToken(db, pToken); + if( IN_RENAME_OBJECT && pList->a[i].zName ){ + sqlite3RenameTokenMap(pParse, (void*)pList->a[i].zName, pToken); + } + return pList; +} + +/* +** Delete an IdList. +*/ +SQLITE_PRIVATE void sqlite3IdListDelete(sqlite3 *db, IdList *pList){ + int i; + if( pList==0 ) return; + for(i=0; inId; i++){ + sqlite3DbFree(db, pList->a[i].zName); + } + sqlite3DbFree(db, pList->a); + sqlite3DbFreeNN(db, pList); +} + +/* +** Return the index in pList of the identifier named zId. Return -1 +** if not found. +*/ +SQLITE_PRIVATE int sqlite3IdListIndex(IdList *pList, const char *zName){ + int i; + if( pList==0 ) return -1; + for(i=0; inId; i++){ + if( sqlite3StrICmp(pList->a[i].zName, zName)==0 ) return i; + } + return -1; +} + +/* +** Maximum size of a SrcList object. +** The SrcList object is used to represent the FROM clause of a +** SELECT statement, and the query planner cannot deal with more +** than 64 tables in a join. So any value larger than 64 here +** is sufficient for most uses. Smaller values, like say 10, are +** appropriate for small and memory-limited applications. +*/ +#ifndef SQLITE_MAX_SRCLIST +# define SQLITE_MAX_SRCLIST 200 +#endif + +/* +** Expand the space allocated for the given SrcList object by +** creating nExtra new slots beginning at iStart. iStart is zero based. +** New slots are zeroed. +** +** For example, suppose a SrcList initially contains two entries: A,B. +** To append 3 new entries onto the end, do this: +** +** sqlite3SrcListEnlarge(db, pSrclist, 3, 2); +** +** After the call above it would contain: A, B, nil, nil, nil. +** If the iStart argument had been 1 instead of 2, then the result +** would have been: A, nil, nil, nil, B. To prepend the new slots, +** the iStart value would be 0. The result then would +** be: nil, nil, nil, A, B. +** +** If a memory allocation fails or the SrcList becomes too large, leave +** the original SrcList unchanged, return NULL, and leave an error message +** in pParse. +*/ +SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge( + Parse *pParse, /* Parsing context into which errors are reported */ + SrcList *pSrc, /* The SrcList to be enlarged */ + int nExtra, /* Number of new slots to add to pSrc->a[] */ + int iStart /* Index in pSrc->a[] of first new slot */ +){ + int i; + + /* Sanity checking on calling parameters */ + assert( iStart>=0 ); + assert( nExtra>=1 ); + assert( pSrc!=0 ); + assert( iStart<=pSrc->nSrc ); + + /* Allocate additional space if needed */ + if( (u32)pSrc->nSrc+nExtra>pSrc->nAlloc ){ + SrcList *pNew; + sqlite3_int64 nAlloc = 2*(sqlite3_int64)pSrc->nSrc+nExtra; + sqlite3 *db = pParse->db; + + if( pSrc->nSrc+nExtra>=SQLITE_MAX_SRCLIST ){ + sqlite3ErrorMsg(pParse, "too many FROM clause terms, max: %d", + SQLITE_MAX_SRCLIST); + return 0; + } + if( nAlloc>SQLITE_MAX_SRCLIST ) nAlloc = SQLITE_MAX_SRCLIST; + pNew = sqlite3DbRealloc(db, pSrc, + sizeof(*pSrc) + (nAlloc-1)*sizeof(pSrc->a[0]) ); + if( pNew==0 ){ + assert( db->mallocFailed ); + return 0; + } + pSrc = pNew; + pSrc->nAlloc = nAlloc; + } + + /* Move existing slots that come after the newly inserted slots + ** out of the way */ + for(i=pSrc->nSrc-1; i>=iStart; i--){ + pSrc->a[i+nExtra] = pSrc->a[i]; + } + pSrc->nSrc += nExtra; + + /* Zero the newly allocated slots */ + memset(&pSrc->a[iStart], 0, sizeof(pSrc->a[0])*nExtra); + for(i=iStart; ia[i].iCursor = -1; + } + + /* Return a pointer to the enlarged SrcList */ + return pSrc; +} + + +/* +** Append a new table name to the given SrcList. Create a new SrcList if +** need be. A new entry is created in the SrcList even if pTable is NULL. +** +** A SrcList is returned, or NULL if there is an OOM error or if the +** SrcList grows to large. The returned +** SrcList might be the same as the SrcList that was input or it might be +** a new one. If an OOM error does occurs, then the prior value of pList +** that is input to this routine is automatically freed. +** +** If pDatabase is not null, it means that the table has an optional +** database name prefix. Like this: "database.table". The pDatabase +** points to the table name and the pTable points to the database name. +** The SrcList.a[].zName field is filled with the table name which might +** come from pTable (if pDatabase is NULL) or from pDatabase. +** SrcList.a[].zDatabase is filled with the database name from pTable, +** or with NULL if no database is specified. +** +** In other words, if call like this: +** +** sqlite3SrcListAppend(D,A,B,0); +** +** Then B is a table name and the database name is unspecified. If called +** like this: +** +** sqlite3SrcListAppend(D,A,B,C); +** +** Then C is the table name and B is the database name. If C is defined +** then so is B. In other words, we never have a case where: +** +** sqlite3SrcListAppend(D,A,0,C); +** +** Both pTable and pDatabase are assumed to be quoted. They are dequoted +** before being added to the SrcList. +*/ +SQLITE_PRIVATE SrcList *sqlite3SrcListAppend( + Parse *pParse, /* Parsing context, in which errors are reported */ + SrcList *pList, /* Append to this SrcList. NULL creates a new SrcList */ + Token *pTable, /* Table to append */ + Token *pDatabase /* Database of the table */ +){ + struct SrcList_item *pItem; + sqlite3 *db; + assert( pDatabase==0 || pTable!=0 ); /* Cannot have C without B */ + assert( pParse!=0 ); + assert( pParse->db!=0 ); + db = pParse->db; + if( pList==0 ){ + pList = sqlite3DbMallocRawNN(pParse->db, sizeof(SrcList) ); + if( pList==0 ) return 0; + pList->nAlloc = 1; + pList->nSrc = 1; + memset(&pList->a[0], 0, sizeof(pList->a[0])); + pList->a[0].iCursor = -1; + }else{ + SrcList *pNew = sqlite3SrcListEnlarge(pParse, pList, 1, pList->nSrc); + if( pNew==0 ){ + sqlite3SrcListDelete(db, pList); + return 0; + }else{ + pList = pNew; + } + } + pItem = &pList->a[pList->nSrc-1]; + if( pDatabase && pDatabase->z==0 ){ + pDatabase = 0; + } + if( pDatabase ){ + pItem->zName = sqlite3NameFromToken(db, pDatabase); + pItem->zDatabase = sqlite3NameFromToken(db, pTable); + }else{ + pItem->zName = sqlite3NameFromToken(db, pTable); + pItem->zDatabase = 0; + } + return pList; +} + +/* +** Assign VdbeCursor index numbers to all tables in a SrcList +*/ +SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse *pParse, SrcList *pList){ + int i; + struct SrcList_item *pItem; + assert(pList || pParse->db->mallocFailed ); + if( pList ){ + for(i=0, pItem=pList->a; inSrc; i++, pItem++){ + if( pItem->iCursor>=0 ) break; + pItem->iCursor = pParse->nTab++; + if( pItem->pSelect ){ + sqlite3SrcListAssignCursors(pParse, pItem->pSelect->pSrc); + } + } + } +} + +/* +** Delete an entire SrcList including all its substructure. +*/ +SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3 *db, SrcList *pList){ + int i; + struct SrcList_item *pItem; + if( pList==0 ) return; + for(pItem=pList->a, i=0; inSrc; i++, pItem++){ + sqlite3DbFree(db, pItem->zDatabase); + sqlite3DbFree(db, pItem->zName); + sqlite3DbFree(db, pItem->zAlias); + if( pItem->fg.isIndexedBy ) sqlite3DbFree(db, pItem->u1.zIndexedBy); + if( pItem->fg.isTabFunc ) sqlite3ExprListDelete(db, pItem->u1.pFuncArg); + sqlite3DeleteTable(db, pItem->pTab); + sqlite3SelectDelete(db, pItem->pSelect); + sqlite3ExprDelete(db, pItem->pOn); + sqlite3IdListDelete(db, pItem->pUsing); + } + sqlite3DbFreeNN(db, pList); +} + +/* +** This routine is called by the parser to add a new term to the +** end of a growing FROM clause. The "p" parameter is the part of +** the FROM clause that has already been constructed. "p" is NULL +** if this is the first term of the FROM clause. pTable and pDatabase +** are the name of the table and database named in the FROM clause term. +** pDatabase is NULL if the database name qualifier is missing - the +** usual case. If the term has an alias, then pAlias points to the +** alias token. If the term is a subquery, then pSubquery is the +** SELECT statement that the subquery encodes. The pTable and +** pDatabase parameters are NULL for subqueries. The pOn and pUsing +** parameters are the content of the ON and USING clauses. +** +** Return a new SrcList which encodes is the FROM with the new +** term added. +*/ +SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm( + Parse *pParse, /* Parsing context */ + SrcList *p, /* The left part of the FROM clause already seen */ + Token *pTable, /* Name of the table to add to the FROM clause */ + Token *pDatabase, /* Name of the database containing pTable */ + Token *pAlias, /* The right-hand side of the AS subexpression */ + Select *pSubquery, /* A subquery used in place of a table name */ + Expr *pOn, /* The ON clause of a join */ + IdList *pUsing /* The USING clause of a join */ +){ + struct SrcList_item *pItem; + sqlite3 *db = pParse->db; + if( !p && (pOn || pUsing) ){ + sqlite3ErrorMsg(pParse, "a JOIN clause is required before %s", + (pOn ? "ON" : "USING") + ); + goto append_from_error; + } + p = sqlite3SrcListAppend(pParse, p, pTable, pDatabase); + if( p==0 ){ + goto append_from_error; + } + assert( p->nSrc>0 ); + pItem = &p->a[p->nSrc-1]; + assert( (pTable==0)==(pDatabase==0) ); + assert( pItem->zName==0 || pDatabase!=0 ); + if( IN_RENAME_OBJECT && pItem->zName ){ + Token *pToken = (ALWAYS(pDatabase) && pDatabase->z) ? pDatabase : pTable; + sqlite3RenameTokenMap(pParse, pItem->zName, pToken); + } + assert( pAlias!=0 ); + if( pAlias->n ){ + pItem->zAlias = sqlite3NameFromToken(db, pAlias); + } + pItem->pSelect = pSubquery; + pItem->pOn = pOn; + pItem->pUsing = pUsing; + return p; + + append_from_error: + assert( p==0 ); + sqlite3ExprDelete(db, pOn); + sqlite3IdListDelete(db, pUsing); + sqlite3SelectDelete(db, pSubquery); + return 0; +} + +/* +** Add an INDEXED BY or NOT INDEXED clause to the most recently added +** element of the source-list passed as the second argument. +*/ +SQLITE_PRIVATE void sqlite3SrcListIndexedBy(Parse *pParse, SrcList *p, Token *pIndexedBy){ + assert( pIndexedBy!=0 ); + if( p && pIndexedBy->n>0 ){ + struct SrcList_item *pItem; + assert( p->nSrc>0 ); + pItem = &p->a[p->nSrc-1]; + assert( pItem->fg.notIndexed==0 ); + assert( pItem->fg.isIndexedBy==0 ); + assert( pItem->fg.isTabFunc==0 ); + if( pIndexedBy->n==1 && !pIndexedBy->z ){ + /* A "NOT INDEXED" clause was supplied. See parse.y + ** construct "indexed_opt" for details. */ + pItem->fg.notIndexed = 1; + }else{ + pItem->u1.zIndexedBy = sqlite3NameFromToken(pParse->db, pIndexedBy); + pItem->fg.isIndexedBy = 1; + } + } +} + +/* +** Add the list of function arguments to the SrcList entry for a +** table-valued-function. +*/ +SQLITE_PRIVATE void sqlite3SrcListFuncArgs(Parse *pParse, SrcList *p, ExprList *pList){ + if( p ){ + struct SrcList_item *pItem = &p->a[p->nSrc-1]; + assert( pItem->fg.notIndexed==0 ); + assert( pItem->fg.isIndexedBy==0 ); + assert( pItem->fg.isTabFunc==0 ); + pItem->u1.pFuncArg = pList; + pItem->fg.isTabFunc = 1; + }else{ + sqlite3ExprListDelete(pParse->db, pList); + } +} + +/* +** When building up a FROM clause in the parser, the join operator +** is initially attached to the left operand. But the code generator +** expects the join operator to be on the right operand. This routine +** Shifts all join operators from left to right for an entire FROM +** clause. +** +** Example: Suppose the join is like this: +** +** A natural cross join B +** +** The operator is "natural cross join". The A and B operands are stored +** in p->a[0] and p->a[1], respectively. The parser initially stores the +** operator with A. This routine shifts that operator over to B. +*/ +SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(SrcList *p){ + if( p ){ + int i; + for(i=p->nSrc-1; i>0; i--){ + p->a[i].fg.jointype = p->a[i-1].fg.jointype; + } + p->a[0].fg.jointype = 0; + } +} + +/* +** Generate VDBE code for a BEGIN statement. +*/ +SQLITE_PRIVATE void sqlite3BeginTransaction(Parse *pParse, int type){ + sqlite3 *db; + Vdbe *v; + int i; + + assert( pParse!=0 ); + db = pParse->db; + assert( db!=0 ); + if( sqlite3AuthCheck(pParse, SQLITE_TRANSACTION, "BEGIN", 0, 0) ){ + return; + } + v = sqlite3GetVdbe(pParse); + if( !v ) return; + if( type!=TK_DEFERRED ){ + for(i=0; inDb; i++){ + sqlite3VdbeAddOp2(v, OP_Transaction, i, (type==TK_EXCLUSIVE)+1); + sqlite3VdbeUsesBtree(v, i); + } + } + sqlite3VdbeAddOp0(v, OP_AutoCommit); +} + +/* +** Generate VDBE code for a COMMIT or ROLLBACK statement. +** Code for ROLLBACK is generated if eType==TK_ROLLBACK. Otherwise +** code is generated for a COMMIT. +*/ +SQLITE_PRIVATE void sqlite3EndTransaction(Parse *pParse, int eType){ + Vdbe *v; + int isRollback; + + assert( pParse!=0 ); + assert( pParse->db!=0 ); + assert( eType==TK_COMMIT || eType==TK_END || eType==TK_ROLLBACK ); + isRollback = eType==TK_ROLLBACK; + if( sqlite3AuthCheck(pParse, SQLITE_TRANSACTION, + isRollback ? "ROLLBACK" : "COMMIT", 0, 0) ){ + return; + } + v = sqlite3GetVdbe(pParse); + if( v ){ + sqlite3VdbeAddOp2(v, OP_AutoCommit, 1, isRollback); + } +} + +/* +** This function is called by the parser when it parses a command to create, +** release or rollback an SQL savepoint. +*/ +SQLITE_PRIVATE void sqlite3Savepoint(Parse *pParse, int op, Token *pName){ + char *zName = sqlite3NameFromToken(pParse->db, pName); + if( zName ){ + Vdbe *v = sqlite3GetVdbe(pParse); +#ifndef SQLITE_OMIT_AUTHORIZATION + static const char * const az[] = { "BEGIN", "RELEASE", "ROLLBACK" }; + assert( !SAVEPOINT_BEGIN && SAVEPOINT_RELEASE==1 && SAVEPOINT_ROLLBACK==2 ); +#endif + if( !v || sqlite3AuthCheck(pParse, SQLITE_SAVEPOINT, az[op], zName, 0) ){ + sqlite3DbFree(pParse->db, zName); + return; + } + sqlite3VdbeAddOp4(v, OP_Savepoint, op, 0, 0, zName, P4_DYNAMIC); + } +} + +/* +** Make sure the TEMP database is open and available for use. Return +** the number of errors. Leave any error messages in the pParse structure. +*/ +SQLITE_PRIVATE int sqlite3OpenTempDatabase(Parse *pParse){ + sqlite3 *db = pParse->db; + if( db->aDb[1].pBt==0 && !pParse->explain ){ + int rc; + Btree *pBt; + static const int flags = + SQLITE_OPEN_READWRITE | + SQLITE_OPEN_CREATE | + SQLITE_OPEN_EXCLUSIVE | + SQLITE_OPEN_DELETEONCLOSE | + SQLITE_OPEN_TEMP_DB; + + rc = sqlite3BtreeOpen(db->pVfs, 0, db, &pBt, 0, flags); + if( rc!=SQLITE_OK ){ + sqlite3ErrorMsg(pParse, "unable to open a temporary database " + "file for storing temporary tables"); + pParse->rc = rc; + return 1; + } + db->aDb[1].pBt = pBt; + assert( db->aDb[1].pSchema ); + if( SQLITE_NOMEM==sqlite3BtreeSetPageSize(pBt, db->nextPagesize, -1, 0) ){ + sqlite3OomFault(db); + return 1; + } + } + return 0; +} + +/* +** Record the fact that the schema cookie will need to be verified +** for database iDb. The code to actually verify the schema cookie +** will occur at the end of the top-level VDBE and will be generated +** later, by sqlite3FinishCoding(). +*/ +SQLITE_PRIVATE void sqlite3CodeVerifySchema(Parse *pParse, int iDb){ + Parse *pToplevel = sqlite3ParseToplevel(pParse); + + assert( iDb>=0 && iDbdb->nDb ); + assert( pParse->db->aDb[iDb].pBt!=0 || iDb==1 ); + assert( iDbdb, iDb, 0) ); + if( DbMaskTest(pToplevel->cookieMask, iDb)==0 ){ + DbMaskSet(pToplevel->cookieMask, iDb); + if( !OMIT_TEMPDB && iDb==1 ){ + sqlite3OpenTempDatabase(pToplevel); + } + } +} + +/* +** If argument zDb is NULL, then call sqlite3CodeVerifySchema() for each +** attached database. Otherwise, invoke it for the database named zDb only. +*/ +SQLITE_PRIVATE void sqlite3CodeVerifyNamedSchema(Parse *pParse, const char *zDb){ + sqlite3 *db = pParse->db; + int i; + for(i=0; inDb; i++){ + Db *pDb = &db->aDb[i]; + if( pDb->pBt && (!zDb || 0==sqlite3StrICmp(zDb, pDb->zDbSName)) ){ + sqlite3CodeVerifySchema(pParse, i); + } + } +} + +/* +** Generate VDBE code that prepares for doing an operation that +** might change the database. +** +** This routine starts a new transaction if we are not already within +** a transaction. If we are already within a transaction, then a checkpoint +** is set if the setStatement parameter is true. A checkpoint should +** be set for operations that might fail (due to a constraint) part of +** the way through and which will need to undo some writes without having to +** rollback the whole transaction. For operations where all constraints +** can be checked before any changes are made to the database, it is never +** necessary to undo a write and the checkpoint should not be set. +*/ +SQLITE_PRIVATE void sqlite3BeginWriteOperation(Parse *pParse, int setStatement, int iDb){ + Parse *pToplevel = sqlite3ParseToplevel(pParse); + sqlite3CodeVerifySchema(pParse, iDb); + DbMaskSet(pToplevel->writeMask, iDb); + pToplevel->isMultiWrite |= setStatement; +} + +/* +** Indicate that the statement currently under construction might write +** more than one entry (example: deleting one row then inserting another, +** inserting multiple rows in a table, or inserting a row and index entries.) +** If an abort occurs after some of these writes have completed, then it will +** be necessary to undo the completed writes. +*/ +SQLITE_PRIVATE void sqlite3MultiWrite(Parse *pParse){ + Parse *pToplevel = sqlite3ParseToplevel(pParse); + pToplevel->isMultiWrite = 1; +} + +/* +** The code generator calls this routine if is discovers that it is +** possible to abort a statement prior to completion. In order to +** perform this abort without corrupting the database, we need to make +** sure that the statement is protected by a statement transaction. +** +** Technically, we only need to set the mayAbort flag if the +** isMultiWrite flag was previously set. There is a time dependency +** such that the abort must occur after the multiwrite. This makes +** some statements involving the REPLACE conflict resolution algorithm +** go a little faster. But taking advantage of this time dependency +** makes it more difficult to prove that the code is correct (in +** particular, it prevents us from writing an effective +** implementation of sqlite3AssertMayAbort()) and so we have chosen +** to take the safe route and skip the optimization. +*/ +SQLITE_PRIVATE void sqlite3MayAbort(Parse *pParse){ + Parse *pToplevel = sqlite3ParseToplevel(pParse); + pToplevel->mayAbort = 1; +} + +/* +** Code an OP_Halt that causes the vdbe to return an SQLITE_CONSTRAINT +** error. The onError parameter determines which (if any) of the statement +** and/or current transaction is rolled back. +*/ +SQLITE_PRIVATE void sqlite3HaltConstraint( + Parse *pParse, /* Parsing context */ + int errCode, /* extended error code */ + int onError, /* Constraint type */ + char *p4, /* Error message */ + i8 p4type, /* P4_STATIC or P4_TRANSIENT */ + u8 p5Errmsg /* P5_ErrMsg type */ +){ + Vdbe *v = sqlite3GetVdbe(pParse); + assert( (errCode&0xff)==SQLITE_CONSTRAINT ); + if( onError==OE_Abort ){ + sqlite3MayAbort(pParse); + } + sqlite3VdbeAddOp4(v, OP_Halt, errCode, onError, 0, p4, p4type); + sqlite3VdbeChangeP5(v, p5Errmsg); +} + +/* +** Code an OP_Halt due to UNIQUE or PRIMARY KEY constraint violation. +*/ +SQLITE_PRIVATE void sqlite3UniqueConstraint( + Parse *pParse, /* Parsing context */ + int onError, /* Constraint type */ + Index *pIdx /* The index that triggers the constraint */ +){ + char *zErr; + int j; + StrAccum errMsg; + Table *pTab = pIdx->pTable; + + sqlite3StrAccumInit(&errMsg, pParse->db, 0, 0, + pParse->db->aLimit[SQLITE_LIMIT_LENGTH]); + if( pIdx->aColExpr ){ + sqlite3_str_appendf(&errMsg, "index '%q'", pIdx->zName); + }else{ + for(j=0; jnKeyCol; j++){ + char *zCol; + assert( pIdx->aiColumn[j]>=0 ); + zCol = pTab->aCol[pIdx->aiColumn[j]].zName; + if( j ) sqlite3_str_append(&errMsg, ", ", 2); + sqlite3_str_appendall(&errMsg, pTab->zName); + sqlite3_str_append(&errMsg, ".", 1); + sqlite3_str_appendall(&errMsg, zCol); + } + } + zErr = sqlite3StrAccumFinish(&errMsg); + sqlite3HaltConstraint(pParse, + IsPrimaryKeyIndex(pIdx) ? SQLITE_CONSTRAINT_PRIMARYKEY + : SQLITE_CONSTRAINT_UNIQUE, + onError, zErr, P4_DYNAMIC, P5_ConstraintUnique); +} + + +/* +** Code an OP_Halt due to non-unique rowid. +*/ +SQLITE_PRIVATE void sqlite3RowidConstraint( + Parse *pParse, /* Parsing context */ + int onError, /* Conflict resolution algorithm */ + Table *pTab /* The table with the non-unique rowid */ +){ + char *zMsg; + int rc; + if( pTab->iPKey>=0 ){ + zMsg = sqlite3MPrintf(pParse->db, "%s.%s", pTab->zName, + pTab->aCol[pTab->iPKey].zName); + rc = SQLITE_CONSTRAINT_PRIMARYKEY; + }else{ + zMsg = sqlite3MPrintf(pParse->db, "%s.rowid", pTab->zName); + rc = SQLITE_CONSTRAINT_ROWID; + } + sqlite3HaltConstraint(pParse, rc, onError, zMsg, P4_DYNAMIC, + P5_ConstraintUnique); +} + +/* +** Check to see if pIndex uses the collating sequence pColl. Return +** true if it does and false if it does not. +*/ +#ifndef SQLITE_OMIT_REINDEX +static int collationMatch(const char *zColl, Index *pIndex){ + int i; + assert( zColl!=0 ); + for(i=0; inColumn; i++){ + const char *z = pIndex->azColl[i]; + assert( z!=0 || pIndex->aiColumn[i]<0 ); + if( pIndex->aiColumn[i]>=0 && 0==sqlite3StrICmp(z, zColl) ){ + return 1; + } + } + return 0; +} +#endif + +/* +** Recompute all indices of pTab that use the collating sequence pColl. +** If pColl==0 then recompute all indices of pTab. +*/ +#ifndef SQLITE_OMIT_REINDEX +static void reindexTable(Parse *pParse, Table *pTab, char const *zColl){ + if( !IsVirtual(pTab) ){ + Index *pIndex; /* An index associated with pTab */ + + for(pIndex=pTab->pIndex; pIndex; pIndex=pIndex->pNext){ + if( zColl==0 || collationMatch(zColl, pIndex) ){ + int iDb = sqlite3SchemaToIndex(pParse->db, pTab->pSchema); + sqlite3BeginWriteOperation(pParse, 0, iDb); + sqlite3RefillIndex(pParse, pIndex, -1); + } + } + } +} +#endif + +/* +** Recompute all indices of all tables in all databases where the +** indices use the collating sequence pColl. If pColl==0 then recompute +** all indices everywhere. +*/ +#ifndef SQLITE_OMIT_REINDEX +static void reindexDatabases(Parse *pParse, char const *zColl){ + Db *pDb; /* A single database */ + int iDb; /* The database index number */ + sqlite3 *db = pParse->db; /* The database connection */ + HashElem *k; /* For looping over tables in pDb */ + Table *pTab; /* A table in the database */ + + assert( sqlite3BtreeHoldsAllMutexes(db) ); /* Needed for schema access */ + for(iDb=0, pDb=db->aDb; iDbnDb; iDb++, pDb++){ + assert( pDb!=0 ); + for(k=sqliteHashFirst(&pDb->pSchema->tblHash); k; k=sqliteHashNext(k)){ + pTab = (Table*)sqliteHashData(k); + reindexTable(pParse, pTab, zColl); + } + } +} +#endif + +/* +** Generate code for the REINDEX command. +** +** REINDEX -- 1 +** REINDEX -- 2 +** REINDEX ?.? -- 3 +** REINDEX ?.? -- 4 +** +** Form 1 causes all indices in all attached databases to be rebuilt. +** Form 2 rebuilds all indices in all databases that use the named +** collating function. Forms 3 and 4 rebuild the named index or all +** indices associated with the named table. +*/ +#ifndef SQLITE_OMIT_REINDEX +SQLITE_PRIVATE void sqlite3Reindex(Parse *pParse, Token *pName1, Token *pName2){ + CollSeq *pColl; /* Collating sequence to be reindexed, or NULL */ + char *z; /* Name of a table or index */ + const char *zDb; /* Name of the database */ + Table *pTab; /* A table in the database */ + Index *pIndex; /* An index associated with pTab */ + int iDb; /* The database index number */ + sqlite3 *db = pParse->db; /* The database connection */ + Token *pObjName; /* Name of the table or index to be reindexed */ + + /* Read the database schema. If an error occurs, leave an error message + ** and code in pParse and return NULL. */ + if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){ + return; + } + + if( pName1==0 ){ + reindexDatabases(pParse, 0); + return; + }else if( NEVER(pName2==0) || pName2->z==0 ){ + char *zColl; + assert( pName1->z ); + zColl = sqlite3NameFromToken(pParse->db, pName1); + if( !zColl ) return; + pColl = sqlite3FindCollSeq(db, ENC(db), zColl, 0); + if( pColl ){ + reindexDatabases(pParse, zColl); + sqlite3DbFree(db, zColl); + return; + } + sqlite3DbFree(db, zColl); + } + iDb = sqlite3TwoPartName(pParse, pName1, pName2, &pObjName); + if( iDb<0 ) return; + z = sqlite3NameFromToken(db, pObjName); + if( z==0 ) return; + zDb = db->aDb[iDb].zDbSName; + pTab = sqlite3FindTable(db, z, zDb); + if( pTab ){ + reindexTable(pParse, pTab, 0); + sqlite3DbFree(db, z); + return; + } + pIndex = sqlite3FindIndex(db, z, zDb); + sqlite3DbFree(db, z); + if( pIndex ){ + sqlite3BeginWriteOperation(pParse, 0, iDb); + sqlite3RefillIndex(pParse, pIndex, -1); + return; + } + sqlite3ErrorMsg(pParse, "unable to identify the object to be reindexed"); +} +#endif + +/* +** Return a KeyInfo structure that is appropriate for the given Index. +** +** The caller should invoke sqlite3KeyInfoUnref() on the returned object +** when it has finished using it. +*/ +SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoOfIndex(Parse *pParse, Index *pIdx){ + int i; + int nCol = pIdx->nColumn; + int nKey = pIdx->nKeyCol; + KeyInfo *pKey; + if( pParse->nErr ) return 0; + if( pIdx->uniqNotNull ){ + pKey = sqlite3KeyInfoAlloc(pParse->db, nKey, nCol-nKey); + }else{ + pKey = sqlite3KeyInfoAlloc(pParse->db, nCol, 0); + } + if( pKey ){ + assert( sqlite3KeyInfoIsWriteable(pKey) ); + for(i=0; iazColl[i]; + pKey->aColl[i] = zColl==sqlite3StrBINARY ? 0 : + sqlite3LocateCollSeq(pParse, zColl); + pKey->aSortFlags[i] = pIdx->aSortOrder[i]; + assert( 0==(pKey->aSortFlags[i] & KEYINFO_ORDER_BIGNULL) ); + } + if( pParse->nErr ){ + assert( pParse->rc==SQLITE_ERROR_MISSING_COLLSEQ ); + if( pIdx->bNoQuery==0 ){ + /* Deactivate the index because it contains an unknown collating + ** sequence. The only way to reactive the index is to reload the + ** schema. Adding the missing collating sequence later does not + ** reactive the index. The application had the chance to register + ** the missing index using the collation-needed callback. For + ** simplicity, SQLite will not give the application a second chance. + */ + pIdx->bNoQuery = 1; + pParse->rc = SQLITE_ERROR_RETRY; + } + sqlite3KeyInfoUnref(pKey); + pKey = 0; + } + } + return pKey; +} + +#ifndef SQLITE_OMIT_CTE +/* +** This routine is invoked once per CTE by the parser while parsing a +** WITH clause. +*/ +SQLITE_PRIVATE With *sqlite3WithAdd( + Parse *pParse, /* Parsing context */ + With *pWith, /* Existing WITH clause, or NULL */ + Token *pName, /* Name of the common-table */ + ExprList *pArglist, /* Optional column name list for the table */ + Select *pQuery /* Query used to initialize the table */ +){ + sqlite3 *db = pParse->db; + With *pNew; + char *zName; + + /* Check that the CTE name is unique within this WITH clause. If + ** not, store an error in the Parse structure. */ + zName = sqlite3NameFromToken(pParse->db, pName); + if( zName && pWith ){ + int i; + for(i=0; inCte; i++){ + if( sqlite3StrICmp(zName, pWith->a[i].zName)==0 ){ + sqlite3ErrorMsg(pParse, "duplicate WITH table name: %s", zName); + } + } + } + + if( pWith ){ + sqlite3_int64 nByte = sizeof(*pWith) + (sizeof(pWith->a[1]) * pWith->nCte); + pNew = sqlite3DbRealloc(db, pWith, nByte); + }else{ + pNew = sqlite3DbMallocZero(db, sizeof(*pWith)); + } + assert( (pNew!=0 && zName!=0) || db->mallocFailed ); + + if( db->mallocFailed ){ + sqlite3ExprListDelete(db, pArglist); + sqlite3SelectDelete(db, pQuery); + sqlite3DbFree(db, zName); + pNew = pWith; + }else{ + pNew->a[pNew->nCte].pSelect = pQuery; + pNew->a[pNew->nCte].pCols = pArglist; + pNew->a[pNew->nCte].zName = zName; + pNew->a[pNew->nCte].zCteErr = 0; + pNew->nCte++; + } + + return pNew; +} + +/* +** Free the contents of the With object passed as the second argument. +*/ +SQLITE_PRIVATE void sqlite3WithDelete(sqlite3 *db, With *pWith){ + if( pWith ){ + int i; + for(i=0; inCte; i++){ + struct Cte *pCte = &pWith->a[i]; + sqlite3ExprListDelete(db, pCte->pCols); + sqlite3SelectDelete(db, pCte->pSelect); + sqlite3DbFree(db, pCte->zName); + } + sqlite3DbFree(db, pWith); + } +} +#endif /* !defined(SQLITE_OMIT_CTE) */ + +/************** End of build.c ***********************************************/ +/************** Begin file callback.c ****************************************/ +/* +** 2005 May 23 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains functions used to access the internal hash tables +** of user defined functions and collation sequences. +*/ + +/* #include "sqliteInt.h" */ + +/* +** Invoke the 'collation needed' callback to request a collation sequence +** in the encoding enc of name zName, length nName. +*/ +static void callCollNeeded(sqlite3 *db, int enc, const char *zName){ + assert( !db->xCollNeeded || !db->xCollNeeded16 ); + if( db->xCollNeeded ){ + char *zExternal = sqlite3DbStrDup(db, zName); + if( !zExternal ) return; + db->xCollNeeded(db->pCollNeededArg, db, enc, zExternal); + sqlite3DbFree(db, zExternal); + } +#ifndef SQLITE_OMIT_UTF16 + if( db->xCollNeeded16 ){ + char const *zExternal; + sqlite3_value *pTmp = sqlite3ValueNew(db); + sqlite3ValueSetStr(pTmp, -1, zName, SQLITE_UTF8, SQLITE_STATIC); + zExternal = sqlite3ValueText(pTmp, SQLITE_UTF16NATIVE); + if( zExternal ){ + db->xCollNeeded16(db->pCollNeededArg, db, (int)ENC(db), zExternal); + } + sqlite3ValueFree(pTmp); + } +#endif +} + +/* +** This routine is called if the collation factory fails to deliver a +** collation function in the best encoding but there may be other versions +** of this collation function (for other text encodings) available. Use one +** of these instead if they exist. Avoid a UTF-8 <-> UTF-16 conversion if +** possible. +*/ +static int synthCollSeq(sqlite3 *db, CollSeq *pColl){ + CollSeq *pColl2; + char *z = pColl->zName; + int i; + static const u8 aEnc[] = { SQLITE_UTF16BE, SQLITE_UTF16LE, SQLITE_UTF8 }; + for(i=0; i<3; i++){ + pColl2 = sqlite3FindCollSeq(db, aEnc[i], z, 0); + if( pColl2->xCmp!=0 ){ + memcpy(pColl, pColl2, sizeof(CollSeq)); + pColl->xDel = 0; /* Do not copy the destructor */ + return SQLITE_OK; + } + } + return SQLITE_ERROR; +} + +/* +** This function is responsible for invoking the collation factory callback +** or substituting a collation sequence of a different encoding when the +** requested collation sequence is not available in the desired encoding. +** +** If it is not NULL, then pColl must point to the database native encoding +** collation sequence with name zName, length nName. +** +** The return value is either the collation sequence to be used in database +** db for collation type name zName, length nName, or NULL, if no collation +** sequence can be found. If no collation is found, leave an error message. +** +** See also: sqlite3LocateCollSeq(), sqlite3FindCollSeq() +*/ +SQLITE_PRIVATE CollSeq *sqlite3GetCollSeq( + Parse *pParse, /* Parsing context */ + u8 enc, /* The desired encoding for the collating sequence */ + CollSeq *pColl, /* Collating sequence with native encoding, or NULL */ + const char *zName /* Collating sequence name */ +){ + CollSeq *p; + sqlite3 *db = pParse->db; + + p = pColl; + if( !p ){ + p = sqlite3FindCollSeq(db, enc, zName, 0); + } + if( !p || !p->xCmp ){ + /* No collation sequence of this type for this encoding is registered. + ** Call the collation factory to see if it can supply us with one. + */ + callCollNeeded(db, enc, zName); + p = sqlite3FindCollSeq(db, enc, zName, 0); + } + if( p && !p->xCmp && synthCollSeq(db, p) ){ + p = 0; + } + assert( !p || p->xCmp ); + if( p==0 ){ + sqlite3ErrorMsg(pParse, "no such collation sequence: %s", zName); + pParse->rc = SQLITE_ERROR_MISSING_COLLSEQ; + } + return p; +} + +/* +** This routine is called on a collation sequence before it is used to +** check that it is defined. An undefined collation sequence exists when +** a database is loaded that contains references to collation sequences +** that have not been defined by sqlite3_create_collation() etc. +** +** If required, this routine calls the 'collation needed' callback to +** request a definition of the collating sequence. If this doesn't work, +** an equivalent collating sequence that uses a text encoding different +** from the main database is substituted, if one is available. +*/ +SQLITE_PRIVATE int sqlite3CheckCollSeq(Parse *pParse, CollSeq *pColl){ + if( pColl && pColl->xCmp==0 ){ + const char *zName = pColl->zName; + sqlite3 *db = pParse->db; + CollSeq *p = sqlite3GetCollSeq(pParse, ENC(db), pColl, zName); + if( !p ){ + return SQLITE_ERROR; + } + assert( p==pColl ); + } + return SQLITE_OK; +} + + + +/* +** Locate and return an entry from the db.aCollSeq hash table. If the entry +** specified by zName and nName is not found and parameter 'create' is +** true, then create a new entry. Otherwise return NULL. +** +** Each pointer stored in the sqlite3.aCollSeq hash table contains an +** array of three CollSeq structures. The first is the collation sequence +** preferred for UTF-8, the second UTF-16le, and the third UTF-16be. +** +** Stored immediately after the three collation sequences is a copy of +** the collation sequence name. A pointer to this string is stored in +** each collation sequence structure. +*/ +static CollSeq *findCollSeqEntry( + sqlite3 *db, /* Database connection */ + const char *zName, /* Name of the collating sequence */ + int create /* Create a new entry if true */ +){ + CollSeq *pColl; + pColl = sqlite3HashFind(&db->aCollSeq, zName); + + if( 0==pColl && create ){ + int nName = sqlite3Strlen30(zName) + 1; + pColl = sqlite3DbMallocZero(db, 3*sizeof(*pColl) + nName); + if( pColl ){ + CollSeq *pDel = 0; + pColl[0].zName = (char*)&pColl[3]; + pColl[0].enc = SQLITE_UTF8; + pColl[1].zName = (char*)&pColl[3]; + pColl[1].enc = SQLITE_UTF16LE; + pColl[2].zName = (char*)&pColl[3]; + pColl[2].enc = SQLITE_UTF16BE; + memcpy(pColl[0].zName, zName, nName); + pDel = sqlite3HashInsert(&db->aCollSeq, pColl[0].zName, pColl); + + /* If a malloc() failure occurred in sqlite3HashInsert(), it will + ** return the pColl pointer to be deleted (because it wasn't added + ** to the hash table). + */ + assert( pDel==0 || pDel==pColl ); + if( pDel!=0 ){ + sqlite3OomFault(db); + sqlite3DbFree(db, pDel); + pColl = 0; + } + } + } + return pColl; +} + +/* +** Parameter zName points to a UTF-8 encoded string nName bytes long. +** Return the CollSeq* pointer for the collation sequence named zName +** for the encoding 'enc' from the database 'db'. +** +** If the entry specified is not found and 'create' is true, then create a +** new entry. Otherwise return NULL. +** +** A separate function sqlite3LocateCollSeq() is a wrapper around +** this routine. sqlite3LocateCollSeq() invokes the collation factory +** if necessary and generates an error message if the collating sequence +** cannot be found. +** +** See also: sqlite3LocateCollSeq(), sqlite3GetCollSeq() +*/ +SQLITE_PRIVATE CollSeq *sqlite3FindCollSeq( + sqlite3 *db, + u8 enc, + const char *zName, + int create +){ + CollSeq *pColl; + if( zName ){ + pColl = findCollSeqEntry(db, zName, create); + }else{ + pColl = db->pDfltColl; + } + assert( SQLITE_UTF8==1 && SQLITE_UTF16LE==2 && SQLITE_UTF16BE==3 ); + assert( enc>=SQLITE_UTF8 && enc<=SQLITE_UTF16BE ); + if( pColl ) pColl += enc-1; + return pColl; +} + +/* During the search for the best function definition, this procedure +** is called to test how well the function passed as the first argument +** matches the request for a function with nArg arguments in a system +** that uses encoding enc. The value returned indicates how well the +** request is matched. A higher value indicates a better match. +** +** If nArg is -1 that means to only return a match (non-zero) if p->nArg +** is also -1. In other words, we are searching for a function that +** takes a variable number of arguments. +** +** If nArg is -2 that means that we are searching for any function +** regardless of the number of arguments it uses, so return a positive +** match score for any +** +** The returned value is always between 0 and 6, as follows: +** +** 0: Not a match. +** 1: UTF8/16 conversion required and function takes any number of arguments. +** 2: UTF16 byte order change required and function takes any number of args. +** 3: encoding matches and function takes any number of arguments +** 4: UTF8/16 conversion required - argument count matches exactly +** 5: UTF16 byte order conversion required - argument count matches exactly +** 6: Perfect match: encoding and argument count match exactly. +** +** If nArg==(-2) then any function with a non-null xSFunc is +** a perfect match and any function with xSFunc NULL is +** a non-match. +*/ +#define FUNC_PERFECT_MATCH 6 /* The score for a perfect match */ +static int matchQuality( + FuncDef *p, /* The function we are evaluating for match quality */ + int nArg, /* Desired number of arguments. (-1)==any */ + u8 enc /* Desired text encoding */ +){ + int match; + + /* nArg of -2 is a special case */ + if( nArg==(-2) ) return (p->xSFunc==0) ? 0 : FUNC_PERFECT_MATCH; + + /* Wrong number of arguments means "no match" */ + if( p->nArg!=nArg && p->nArg>=0 ) return 0; + + /* Give a better score to a function with a specific number of arguments + ** than to function that accepts any number of arguments. */ + if( p->nArg==nArg ){ + match = 4; + }else{ + match = 1; + } + + /* Bonus points if the text encoding matches */ + if( enc==(p->funcFlags & SQLITE_FUNC_ENCMASK) ){ + match += 2; /* Exact encoding match */ + }else if( (enc & p->funcFlags & 2)!=0 ){ + match += 1; /* Both are UTF16, but with different byte orders */ + } + + return match; +} + +/* +** Search a FuncDefHash for a function with the given name. Return +** a pointer to the matching FuncDef if found, or 0 if there is no match. +*/ +SQLITE_PRIVATE FuncDef *sqlite3FunctionSearch( + int h, /* Hash of the name */ + const char *zFunc /* Name of function */ +){ + FuncDef *p; + for(p=sqlite3BuiltinFunctions.a[h]; p; p=p->u.pHash){ + if( sqlite3StrICmp(p->zName, zFunc)==0 ){ + return p; + } + } + return 0; +} + +/* +** Insert a new FuncDef into a FuncDefHash hash table. +*/ +SQLITE_PRIVATE void sqlite3InsertBuiltinFuncs( + FuncDef *aDef, /* List of global functions to be inserted */ + int nDef /* Length of the apDef[] list */ +){ + int i; + for(i=0; i='a' && zName[0]<='z' ); + pOther = sqlite3FunctionSearch(h, zName); + if( pOther ){ + assert( pOther!=&aDef[i] && pOther->pNext!=&aDef[i] ); + aDef[i].pNext = pOther->pNext; + pOther->pNext = &aDef[i]; + }else{ + aDef[i].pNext = 0; + aDef[i].u.pHash = sqlite3BuiltinFunctions.a[h]; + sqlite3BuiltinFunctions.a[h] = &aDef[i]; + } + } +} + + + +/* +** Locate a user function given a name, a number of arguments and a flag +** indicating whether the function prefers UTF-16 over UTF-8. Return a +** pointer to the FuncDef structure that defines that function, or return +** NULL if the function does not exist. +** +** If the createFlag argument is true, then a new (blank) FuncDef +** structure is created and liked into the "db" structure if a +** no matching function previously existed. +** +** If nArg is -2, then the first valid function found is returned. A +** function is valid if xSFunc is non-zero. The nArg==(-2) +** case is used to see if zName is a valid function name for some number +** of arguments. If nArg is -2, then createFlag must be 0. +** +** If createFlag is false, then a function with the required name and +** number of arguments may be returned even if the eTextRep flag does not +** match that requested. +*/ +SQLITE_PRIVATE FuncDef *sqlite3FindFunction( + sqlite3 *db, /* An open database */ + const char *zName, /* Name of the function. zero-terminated */ + int nArg, /* Number of arguments. -1 means any number */ + u8 enc, /* Preferred text encoding */ + u8 createFlag /* Create new entry if true and does not otherwise exist */ +){ + FuncDef *p; /* Iterator variable */ + FuncDef *pBest = 0; /* Best match found so far */ + int bestScore = 0; /* Score of best match */ + int h; /* Hash value */ + int nName; /* Length of the name */ + + assert( nArg>=(-2) ); + assert( nArg>=(-1) || createFlag==0 ); + nName = sqlite3Strlen30(zName); + + /* First search for a match amongst the application-defined functions. + */ + p = (FuncDef*)sqlite3HashFind(&db->aFunc, zName); + while( p ){ + int score = matchQuality(p, nArg, enc); + if( score>bestScore ){ + pBest = p; + bestScore = score; + } + p = p->pNext; + } + + /* If no match is found, search the built-in functions. + ** + ** If the DBFLAG_PreferBuiltin flag is set, then search the built-in + ** functions even if a prior app-defined function was found. And give + ** priority to built-in functions. + ** + ** Except, if createFlag is true, that means that we are trying to + ** install a new function. Whatever FuncDef structure is returned it will + ** have fields overwritten with new information appropriate for the + ** new function. But the FuncDefs for built-in functions are read-only. + ** So we must not search for built-ins when creating a new function. + */ + if( !createFlag && (pBest==0 || (db->mDbFlags & DBFLAG_PreferBuiltin)!=0) ){ + bestScore = 0; + h = SQLITE_FUNC_HASH(sqlite3UpperToLower[(u8)zName[0]], nName); + p = sqlite3FunctionSearch(h, zName); + while( p ){ + int score = matchQuality(p, nArg, enc); + if( score>bestScore ){ + pBest = p; + bestScore = score; + } + p = p->pNext; + } + } + + /* If the createFlag parameter is true and the search did not reveal an + ** exact match for the name, number of arguments and encoding, then add a + ** new entry to the hash table and return it. + */ + if( createFlag && bestScorezName = (const char*)&pBest[1]; + pBest->nArg = (u16)nArg; + pBest->funcFlags = enc; + memcpy((char*)&pBest[1], zName, nName+1); + for(z=(u8*)pBest->zName; *z; z++) *z = sqlite3UpperToLower[*z]; + pOther = (FuncDef*)sqlite3HashInsert(&db->aFunc, pBest->zName, pBest); + if( pOther==pBest ){ + sqlite3DbFree(db, pBest); + sqlite3OomFault(db); + return 0; + }else{ + pBest->pNext = pOther; + } + } + + if( pBest && (pBest->xSFunc || createFlag) ){ + return pBest; + } + return 0; +} + +/* +** Free all resources held by the schema structure. The void* argument points +** at a Schema struct. This function does not call sqlite3DbFree(db, ) on the +** pointer itself, it just cleans up subsidiary resources (i.e. the contents +** of the schema hash tables). +** +** The Schema.cache_size variable is not cleared. +*/ +SQLITE_PRIVATE void sqlite3SchemaClear(void *p){ + Hash temp1; + Hash temp2; + HashElem *pElem; + Schema *pSchema = (Schema *)p; + + temp1 = pSchema->tblHash; + temp2 = pSchema->trigHash; + sqlite3HashInit(&pSchema->trigHash); + sqlite3HashClear(&pSchema->idxHash); + for(pElem=sqliteHashFirst(&temp2); pElem; pElem=sqliteHashNext(pElem)){ + sqlite3DeleteTrigger(0, (Trigger*)sqliteHashData(pElem)); + } + sqlite3HashClear(&temp2); + sqlite3HashInit(&pSchema->tblHash); + for(pElem=sqliteHashFirst(&temp1); pElem; pElem=sqliteHashNext(pElem)){ + Table *pTab = sqliteHashData(pElem); + sqlite3DeleteTable(0, pTab); + } + sqlite3HashClear(&temp1); + sqlite3HashClear(&pSchema->fkeyHash); + pSchema->pSeqTab = 0; + if( pSchema->schemaFlags & DB_SchemaLoaded ){ + pSchema->iGeneration++; + } + pSchema->schemaFlags &= ~(DB_SchemaLoaded|DB_ResetWanted); +} + +/* +** Find and return the schema associated with a BTree. Create +** a new one if necessary. +*/ +SQLITE_PRIVATE Schema *sqlite3SchemaGet(sqlite3 *db, Btree *pBt){ + Schema * p; + if( pBt ){ + p = (Schema *)sqlite3BtreeSchema(pBt, sizeof(Schema), sqlite3SchemaClear); + }else{ + p = (Schema *)sqlite3DbMallocZero(0, sizeof(Schema)); + } + if( !p ){ + sqlite3OomFault(db); + }else if ( 0==p->file_format ){ + sqlite3HashInit(&p->tblHash); + sqlite3HashInit(&p->idxHash); + sqlite3HashInit(&p->trigHash); + sqlite3HashInit(&p->fkeyHash); + p->enc = SQLITE_UTF8; + } + return p; +} + +/************** End of callback.c ********************************************/ +/************** Begin file delete.c ******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains C code routines that are called by the parser +** in order to generate code for DELETE FROM statements. +*/ +/* #include "sqliteInt.h" */ + +/* +** While a SrcList can in general represent multiple tables and subqueries +** (as in the FROM clause of a SELECT statement) in this case it contains +** the name of a single table, as one might find in an INSERT, DELETE, +** or UPDATE statement. Look up that table in the symbol table and +** return a pointer. Set an error message and return NULL if the table +** name is not found or if any other error occurs. +** +** The following fields are initialized appropriate in pSrc: +** +** pSrc->a[0].pTab Pointer to the Table object +** pSrc->a[0].pIndex Pointer to the INDEXED BY index, if there is one +** +*/ +SQLITE_PRIVATE Table *sqlite3SrcListLookup(Parse *pParse, SrcList *pSrc){ + struct SrcList_item *pItem = pSrc->a; + Table *pTab; + assert( pItem && pSrc->nSrc==1 ); + pTab = sqlite3LocateTableItem(pParse, 0, pItem); + sqlite3DeleteTable(pParse->db, pItem->pTab); + pItem->pTab = pTab; + if( pTab ){ + pTab->nTabRef++; + } + if( sqlite3IndexedByLookup(pParse, pItem) ){ + pTab = 0; + } + return pTab; +} + +/* Return true if table pTab is read-only. +** +** A table is read-only if any of the following are true: +** +** 1) It is a virtual table and no implementation of the xUpdate method +** has been provided +** +** 2) It is a system table (i.e. sqlite_master), this call is not +** part of a nested parse and writable_schema pragma has not +** been specified +** +** 3) The table is a shadow table, the database connection is in +** defensive mode, and the current sqlite3_prepare() +** is for a top-level SQL statement. +*/ +static int tabIsReadOnly(Parse *pParse, Table *pTab){ + sqlite3 *db; + if( IsVirtual(pTab) ){ + return sqlite3GetVTable(pParse->db, pTab)->pMod->pModule->xUpdate==0; + } + if( (pTab->tabFlags & (TF_Readonly|TF_Shadow))==0 ) return 0; + db = pParse->db; + if( (pTab->tabFlags & TF_Readonly)!=0 ){ + return sqlite3WritableSchema(db)==0 && pParse->nested==0; + } + assert( pTab->tabFlags & TF_Shadow ); + return (db->flags & SQLITE_Defensive)!=0 +#ifndef SQLITE_OMIT_VIRTUALTABLE + && db->pVtabCtx==0 +#endif + && db->nVdbeExec==0; +} + +/* +** Check to make sure the given table is writable. If it is not +** writable, generate an error message and return 1. If it is +** writable return 0; +*/ +SQLITE_PRIVATE int sqlite3IsReadOnly(Parse *pParse, Table *pTab, int viewOk){ + if( tabIsReadOnly(pParse, pTab) ){ + sqlite3ErrorMsg(pParse, "table %s may not be modified", pTab->zName); + return 1; + } +#ifndef SQLITE_OMIT_VIEW + if( !viewOk && pTab->pSelect ){ + sqlite3ErrorMsg(pParse,"cannot modify %s because it is a view",pTab->zName); + return 1; + } +#endif + return 0; +} + + +#if !defined(SQLITE_OMIT_VIEW) && !defined(SQLITE_OMIT_TRIGGER) +/* +** Evaluate a view and store its result in an ephemeral table. The +** pWhere argument is an optional WHERE clause that restricts the +** set of rows in the view that are to be added to the ephemeral table. +*/ +SQLITE_PRIVATE void sqlite3MaterializeView( + Parse *pParse, /* Parsing context */ + Table *pView, /* View definition */ + Expr *pWhere, /* Optional WHERE clause to be added */ + ExprList *pOrderBy, /* Optional ORDER BY clause */ + Expr *pLimit, /* Optional LIMIT clause */ + int iCur /* Cursor number for ephemeral table */ +){ + SelectDest dest; + Select *pSel; + SrcList *pFrom; + sqlite3 *db = pParse->db; + int iDb = sqlite3SchemaToIndex(db, pView->pSchema); + pWhere = sqlite3ExprDup(db, pWhere, 0); + pFrom = sqlite3SrcListAppend(pParse, 0, 0, 0); + if( pFrom ){ + assert( pFrom->nSrc==1 ); + pFrom->a[0].zName = sqlite3DbStrDup(db, pView->zName); + pFrom->a[0].zDatabase = sqlite3DbStrDup(db, db->aDb[iDb].zDbSName); + assert( pFrom->a[0].pOn==0 ); + assert( pFrom->a[0].pUsing==0 ); + } + pSel = sqlite3SelectNew(pParse, 0, pFrom, pWhere, 0, 0, pOrderBy, + SF_IncludeHidden, pLimit); + sqlite3SelectDestInit(&dest, SRT_EphemTab, iCur); + sqlite3Select(pParse, pSel, &dest); + sqlite3SelectDelete(db, pSel); +} +#endif /* !defined(SQLITE_OMIT_VIEW) && !defined(SQLITE_OMIT_TRIGGER) */ + +#if defined(SQLITE_ENABLE_UPDATE_DELETE_LIMIT) && !defined(SQLITE_OMIT_SUBQUERY) +/* +** Generate an expression tree to implement the WHERE, ORDER BY, +** and LIMIT/OFFSET portion of DELETE and UPDATE statements. +** +** DELETE FROM table_wxyz WHERE a<5 ORDER BY a LIMIT 1; +** \__________________________/ +** pLimitWhere (pInClause) +*/ +SQLITE_PRIVATE Expr *sqlite3LimitWhere( + Parse *pParse, /* The parser context */ + SrcList *pSrc, /* the FROM clause -- which tables to scan */ + Expr *pWhere, /* The WHERE clause. May be null */ + ExprList *pOrderBy, /* The ORDER BY clause. May be null */ + Expr *pLimit, /* The LIMIT clause. May be null */ + char *zStmtType /* Either DELETE or UPDATE. For err msgs. */ +){ + sqlite3 *db = pParse->db; + Expr *pLhs = NULL; /* LHS of IN(SELECT...) operator */ + Expr *pInClause = NULL; /* WHERE rowid IN ( select ) */ + ExprList *pEList = NULL; /* Expression list contaning only pSelectRowid */ + SrcList *pSelectSrc = NULL; /* SELECT rowid FROM x ... (dup of pSrc) */ + Select *pSelect = NULL; /* Complete SELECT tree */ + Table *pTab; + + /* Check that there isn't an ORDER BY without a LIMIT clause. + */ + if( pOrderBy && pLimit==0 ) { + sqlite3ErrorMsg(pParse, "ORDER BY without LIMIT on %s", zStmtType); + sqlite3ExprDelete(pParse->db, pWhere); + sqlite3ExprListDelete(pParse->db, pOrderBy); + return 0; + } + + /* We only need to generate a select expression if there + ** is a limit/offset term to enforce. + */ + if( pLimit == 0 ) { + return pWhere; + } + + /* Generate a select expression tree to enforce the limit/offset + ** term for the DELETE or UPDATE statement. For example: + ** DELETE FROM table_a WHERE col1=1 ORDER BY col2 LIMIT 1 OFFSET 1 + ** becomes: + ** DELETE FROM table_a WHERE rowid IN ( + ** SELECT rowid FROM table_a WHERE col1=1 ORDER BY col2 LIMIT 1 OFFSET 1 + ** ); + */ + + pTab = pSrc->a[0].pTab; + if( HasRowid(pTab) ){ + pLhs = sqlite3PExpr(pParse, TK_ROW, 0, 0); + pEList = sqlite3ExprListAppend( + pParse, 0, sqlite3PExpr(pParse, TK_ROW, 0, 0) + ); + }else{ + Index *pPk = sqlite3PrimaryKeyIndex(pTab); + if( pPk->nKeyCol==1 ){ + const char *zName = pTab->aCol[pPk->aiColumn[0]].zName; + pLhs = sqlite3Expr(db, TK_ID, zName); + pEList = sqlite3ExprListAppend(pParse, 0, sqlite3Expr(db, TK_ID, zName)); + }else{ + int i; + for(i=0; inKeyCol; i++){ + Expr *p = sqlite3Expr(db, TK_ID, pTab->aCol[pPk->aiColumn[i]].zName); + pEList = sqlite3ExprListAppend(pParse, pEList, p); + } + pLhs = sqlite3PExpr(pParse, TK_VECTOR, 0, 0); + if( pLhs ){ + pLhs->x.pList = sqlite3ExprListDup(db, pEList, 0); + } + } + } + + /* duplicate the FROM clause as it is needed by both the DELETE/UPDATE tree + ** and the SELECT subtree. */ + pSrc->a[0].pTab = 0; + pSelectSrc = sqlite3SrcListDup(pParse->db, pSrc, 0); + pSrc->a[0].pTab = pTab; + pSrc->a[0].pIBIndex = 0; + + /* generate the SELECT expression tree. */ + pSelect = sqlite3SelectNew(pParse, pEList, pSelectSrc, pWhere, 0 ,0, + pOrderBy,0,pLimit + ); + + /* now generate the new WHERE rowid IN clause for the DELETE/UDPATE */ + pInClause = sqlite3PExpr(pParse, TK_IN, pLhs, 0); + sqlite3PExprAddSelect(pParse, pInClause, pSelect); + return pInClause; +} +#endif /* defined(SQLITE_ENABLE_UPDATE_DELETE_LIMIT) */ + /* && !defined(SQLITE_OMIT_SUBQUERY) */ + +/* +** Generate code for a DELETE FROM statement. +** +** DELETE FROM table_wxyz WHERE a<5 AND b NOT NULL; +** \________/ \________________/ +** pTabList pWhere +*/ +SQLITE_PRIVATE void sqlite3DeleteFrom( + Parse *pParse, /* The parser context */ + SrcList *pTabList, /* The table from which we should delete things */ + Expr *pWhere, /* The WHERE clause. May be null */ + ExprList *pOrderBy, /* ORDER BY clause. May be null */ + Expr *pLimit /* LIMIT clause. May be null */ +){ + Vdbe *v; /* The virtual database engine */ + Table *pTab; /* The table from which records will be deleted */ + int i; /* Loop counter */ + WhereInfo *pWInfo; /* Information about the WHERE clause */ + Index *pIdx; /* For looping over indices of the table */ + int iTabCur; /* Cursor number for the table */ + int iDataCur = 0; /* VDBE cursor for the canonical data source */ + int iIdxCur = 0; /* Cursor number of the first index */ + int nIdx; /* Number of indices */ + sqlite3 *db; /* Main database structure */ + AuthContext sContext; /* Authorization context */ + NameContext sNC; /* Name context to resolve expressions in */ + int iDb; /* Database number */ + int memCnt = 0; /* Memory cell used for change counting */ + int rcauth; /* Value returned by authorization callback */ + int eOnePass; /* ONEPASS_OFF or _SINGLE or _MULTI */ + int aiCurOnePass[2]; /* The write cursors opened by WHERE_ONEPASS */ + u8 *aToOpen = 0; /* Open cursor iTabCur+j if aToOpen[j] is true */ + Index *pPk; /* The PRIMARY KEY index on the table */ + int iPk = 0; /* First of nPk registers holding PRIMARY KEY value */ + i16 nPk = 1; /* Number of columns in the PRIMARY KEY */ + int iKey; /* Memory cell holding key of row to be deleted */ + i16 nKey; /* Number of memory cells in the row key */ + int iEphCur = 0; /* Ephemeral table holding all primary key values */ + int iRowSet = 0; /* Register for rowset of rows to delete */ + int addrBypass = 0; /* Address of jump over the delete logic */ + int addrLoop = 0; /* Top of the delete loop */ + int addrEphOpen = 0; /* Instruction to open the Ephemeral table */ + int bComplex; /* True if there are triggers or FKs or + ** subqueries in the WHERE clause */ + +#ifndef SQLITE_OMIT_TRIGGER + int isView; /* True if attempting to delete from a view */ + Trigger *pTrigger; /* List of table triggers, if required */ +#endif + + memset(&sContext, 0, sizeof(sContext)); + db = pParse->db; + if( pParse->nErr || db->mallocFailed ){ + goto delete_from_cleanup; + } + assert( pTabList->nSrc==1 ); + + + /* Locate the table which we want to delete. This table has to be + ** put in an SrcList structure because some of the subroutines we + ** will be calling are designed to work with multiple tables and expect + ** an SrcList* parameter instead of just a Table* parameter. + */ + pTab = sqlite3SrcListLookup(pParse, pTabList); + if( pTab==0 ) goto delete_from_cleanup; + + /* Figure out if we have any triggers and if the table being + ** deleted from is a view + */ +#ifndef SQLITE_OMIT_TRIGGER + pTrigger = sqlite3TriggersExist(pParse, pTab, TK_DELETE, 0, 0); + isView = pTab->pSelect!=0; +#else +# define pTrigger 0 +# define isView 0 +#endif + bComplex = pTrigger || sqlite3FkRequired(pParse, pTab, 0, 0); +#ifdef SQLITE_OMIT_VIEW +# undef isView +# define isView 0 +#endif + +#ifdef SQLITE_ENABLE_UPDATE_DELETE_LIMIT + if( !isView ){ + pWhere = sqlite3LimitWhere( + pParse, pTabList, pWhere, pOrderBy, pLimit, "DELETE" + ); + pOrderBy = 0; + pLimit = 0; + } +#endif + + /* If pTab is really a view, make sure it has been initialized. + */ + if( sqlite3ViewGetColumnNames(pParse, pTab) ){ + goto delete_from_cleanup; + } + + if( sqlite3IsReadOnly(pParse, pTab, (pTrigger?1:0)) ){ + goto delete_from_cleanup; + } + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + assert( iDbnDb ); + rcauth = sqlite3AuthCheck(pParse, SQLITE_DELETE, pTab->zName, 0, + db->aDb[iDb].zDbSName); + assert( rcauth==SQLITE_OK || rcauth==SQLITE_DENY || rcauth==SQLITE_IGNORE ); + if( rcauth==SQLITE_DENY ){ + goto delete_from_cleanup; + } + assert(!isView || pTrigger); + + /* Assign cursor numbers to the table and all its indices. + */ + assert( pTabList->nSrc==1 ); + iTabCur = pTabList->a[0].iCursor = pParse->nTab++; + for(nIdx=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, nIdx++){ + pParse->nTab++; + } + + /* Start the view context + */ + if( isView ){ + sqlite3AuthContextPush(pParse, &sContext, pTab->zName); + } + + /* Begin generating code. + */ + v = sqlite3GetVdbe(pParse); + if( v==0 ){ + goto delete_from_cleanup; + } + if( pParse->nested==0 ) sqlite3VdbeCountChanges(v); + sqlite3BeginWriteOperation(pParse, bComplex, iDb); + + /* If we are trying to delete from a view, realize that view into + ** an ephemeral table. + */ +#if !defined(SQLITE_OMIT_VIEW) && !defined(SQLITE_OMIT_TRIGGER) + if( isView ){ + sqlite3MaterializeView(pParse, pTab, + pWhere, pOrderBy, pLimit, iTabCur + ); + iDataCur = iIdxCur = iTabCur; + pOrderBy = 0; + pLimit = 0; + } +#endif + + /* Resolve the column names in the WHERE clause. + */ + memset(&sNC, 0, sizeof(sNC)); + sNC.pParse = pParse; + sNC.pSrcList = pTabList; + if( sqlite3ResolveExprNames(&sNC, pWhere) ){ + goto delete_from_cleanup; + } + + /* Initialize the counter of the number of rows deleted, if + ** we are counting rows. + */ + if( (db->flags & SQLITE_CountRows)!=0 + && !pParse->nested + && !pParse->pTriggerTab + ){ + memCnt = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Integer, 0, memCnt); + } + +#ifndef SQLITE_OMIT_TRUNCATE_OPTIMIZATION + /* Special case: A DELETE without a WHERE clause deletes everything. + ** It is easier just to erase the whole table. Prior to version 3.6.5, + ** this optimization caused the row change count (the value returned by + ** API function sqlite3_count_changes) to be set incorrectly. + ** + ** The "rcauth==SQLITE_OK" terms is the + ** IMPLEMENTATION-OF: R-17228-37124 If the action code is SQLITE_DELETE and + ** the callback returns SQLITE_IGNORE then the DELETE operation proceeds but + ** the truncate optimization is disabled and all rows are deleted + ** individually. + */ + if( rcauth==SQLITE_OK + && pWhere==0 + && !bComplex + && !IsVirtual(pTab) +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + && db->xPreUpdateCallback==0 +#endif + ){ + assert( !isView ); + sqlite3TableLock(pParse, iDb, pTab->tnum, 1, pTab->zName); + if( HasRowid(pTab) ){ + sqlite3VdbeAddOp4(v, OP_Clear, pTab->tnum, iDb, memCnt ? memCnt : -1, + pTab->zName, P4_STATIC); + } + for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + assert( pIdx->pSchema==pTab->pSchema ); + sqlite3VdbeAddOp2(v, OP_Clear, pIdx->tnum, iDb); + } + }else +#endif /* SQLITE_OMIT_TRUNCATE_OPTIMIZATION */ + { + u16 wcf = WHERE_ONEPASS_DESIRED|WHERE_DUPLICATES_OK|WHERE_SEEK_TABLE; + if( sNC.ncFlags & NC_VarSelect ) bComplex = 1; + wcf |= (bComplex ? 0 : WHERE_ONEPASS_MULTIROW); + if( HasRowid(pTab) ){ + /* For a rowid table, initialize the RowSet to an empty set */ + pPk = 0; + nPk = 1; + iRowSet = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Null, 0, iRowSet); + }else{ + /* For a WITHOUT ROWID table, create an ephemeral table used to + ** hold all primary keys for rows to be deleted. */ + pPk = sqlite3PrimaryKeyIndex(pTab); + assert( pPk!=0 ); + nPk = pPk->nKeyCol; + iPk = pParse->nMem+1; + pParse->nMem += nPk; + iEphCur = pParse->nTab++; + addrEphOpen = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, iEphCur, nPk); + sqlite3VdbeSetP4KeyInfo(pParse, pPk); + } + + /* Construct a query to find the rowid or primary key for every row + ** to be deleted, based on the WHERE clause. Set variable eOnePass + ** to indicate the strategy used to implement this delete: + ** + ** ONEPASS_OFF: Two-pass approach - use a FIFO for rowids/PK values. + ** ONEPASS_SINGLE: One-pass approach - at most one row deleted. + ** ONEPASS_MULTI: One-pass approach - any number of rows may be deleted. + */ + pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, 0, 0, wcf, iTabCur+1); + if( pWInfo==0 ) goto delete_from_cleanup; + eOnePass = sqlite3WhereOkOnePass(pWInfo, aiCurOnePass); + assert( IsVirtual(pTab)==0 || eOnePass!=ONEPASS_MULTI ); + assert( IsVirtual(pTab) || bComplex || eOnePass!=ONEPASS_OFF ); + if( eOnePass!=ONEPASS_SINGLE ) sqlite3MultiWrite(pParse); + + /* Keep track of the number of rows to be deleted */ + if( memCnt ){ + sqlite3VdbeAddOp2(v, OP_AddImm, memCnt, 1); + } + + /* Extract the rowid or primary key for the current row */ + if( pPk ){ + for(i=0; iaiColumn[i]>=0 ); + sqlite3ExprCodeGetColumnOfTable(v, pTab, iTabCur, + pPk->aiColumn[i], iPk+i); + } + iKey = iPk; + }else{ + iKey = ++pParse->nMem; + sqlite3ExprCodeGetColumnOfTable(v, pTab, iTabCur, -1, iKey); + } + + if( eOnePass!=ONEPASS_OFF ){ + /* For ONEPASS, no need to store the rowid/primary-key. There is only + ** one, so just keep it in its register(s) and fall through to the + ** delete code. */ + nKey = nPk; /* OP_Found will use an unpacked key */ + aToOpen = sqlite3DbMallocRawNN(db, nIdx+2); + if( aToOpen==0 ){ + sqlite3WhereEnd(pWInfo); + goto delete_from_cleanup; + } + memset(aToOpen, 1, nIdx+1); + aToOpen[nIdx+1] = 0; + if( aiCurOnePass[0]>=0 ) aToOpen[aiCurOnePass[0]-iTabCur] = 0; + if( aiCurOnePass[1]>=0 ) aToOpen[aiCurOnePass[1]-iTabCur] = 0; + if( addrEphOpen ) sqlite3VdbeChangeToNoop(v, addrEphOpen); + }else{ + if( pPk ){ + /* Add the PK key for this row to the temporary table */ + iKey = ++pParse->nMem; + nKey = 0; /* Zero tells OP_Found to use a composite key */ + sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, iKey, + sqlite3IndexAffinityStr(pParse->db, pPk), nPk); + sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iEphCur, iKey, iPk, nPk); + }else{ + /* Add the rowid of the row to be deleted to the RowSet */ + nKey = 1; /* OP_DeferredSeek always uses a single rowid */ + sqlite3VdbeAddOp2(v, OP_RowSetAdd, iRowSet, iKey); + } + } + + /* If this DELETE cannot use the ONEPASS strategy, this is the + ** end of the WHERE loop */ + if( eOnePass!=ONEPASS_OFF ){ + addrBypass = sqlite3VdbeMakeLabel(pParse); + }else{ + sqlite3WhereEnd(pWInfo); + } + + /* Unless this is a view, open cursors for the table we are + ** deleting from and all its indices. If this is a view, then the + ** only effect this statement has is to fire the INSTEAD OF + ** triggers. + */ + if( !isView ){ + int iAddrOnce = 0; + if( eOnePass==ONEPASS_MULTI ){ + iAddrOnce = sqlite3VdbeAddOp0(v, OP_Once); VdbeCoverage(v); + } + testcase( IsVirtual(pTab) ); + sqlite3OpenTableAndIndices(pParse, pTab, OP_OpenWrite, OPFLAG_FORDELETE, + iTabCur, aToOpen, &iDataCur, &iIdxCur); + assert( pPk || IsVirtual(pTab) || iDataCur==iTabCur ); + assert( pPk || IsVirtual(pTab) || iIdxCur==iDataCur+1 ); + if( eOnePass==ONEPASS_MULTI ) sqlite3VdbeJumpHere(v, iAddrOnce); + } + + /* Set up a loop over the rowids/primary-keys that were found in the + ** where-clause loop above. + */ + if( eOnePass!=ONEPASS_OFF ){ + assert( nKey==nPk ); /* OP_Found will use an unpacked key */ + if( !IsVirtual(pTab) && aToOpen[iDataCur-iTabCur] ){ + assert( pPk!=0 || pTab->pSelect!=0 ); + sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, addrBypass, iKey, nKey); + VdbeCoverage(v); + } + }else if( pPk ){ + addrLoop = sqlite3VdbeAddOp1(v, OP_Rewind, iEphCur); VdbeCoverage(v); + if( IsVirtual(pTab) ){ + sqlite3VdbeAddOp3(v, OP_Column, iEphCur, 0, iKey); + }else{ + sqlite3VdbeAddOp2(v, OP_RowData, iEphCur, iKey); + } + assert( nKey==0 ); /* OP_Found will use a composite key */ + }else{ + addrLoop = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, 0, iKey); + VdbeCoverage(v); + assert( nKey==1 ); + } + + /* Delete the row */ +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( IsVirtual(pTab) ){ + const char *pVTab = (const char *)sqlite3GetVTable(db, pTab); + sqlite3VtabMakeWritable(pParse, pTab); + assert( eOnePass==ONEPASS_OFF || eOnePass==ONEPASS_SINGLE ); + sqlite3MayAbort(pParse); + if( eOnePass==ONEPASS_SINGLE ){ + sqlite3VdbeAddOp1(v, OP_Close, iTabCur); + if( sqlite3IsToplevel(pParse) ){ + pParse->isMultiWrite = 0; + } + } + sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iKey, pVTab, P4_VTAB); + sqlite3VdbeChangeP5(v, OE_Abort); + }else +#endif + { + int count = (pParse->nested==0); /* True to count changes */ + sqlite3GenerateRowDelete(pParse, pTab, pTrigger, iDataCur, iIdxCur, + iKey, nKey, count, OE_Default, eOnePass, aiCurOnePass[1]); + } + + /* End of the loop over all rowids/primary-keys. */ + if( eOnePass!=ONEPASS_OFF ){ + sqlite3VdbeResolveLabel(v, addrBypass); + sqlite3WhereEnd(pWInfo); + }else if( pPk ){ + sqlite3VdbeAddOp2(v, OP_Next, iEphCur, addrLoop+1); VdbeCoverage(v); + sqlite3VdbeJumpHere(v, addrLoop); + }else{ + sqlite3VdbeGoto(v, addrLoop); + sqlite3VdbeJumpHere(v, addrLoop); + } + } /* End non-truncate path */ + + /* Update the sqlite_sequence table by storing the content of the + ** maximum rowid counter values recorded while inserting into + ** autoincrement tables. + */ + if( pParse->nested==0 && pParse->pTriggerTab==0 ){ + sqlite3AutoincrementEnd(pParse); + } + + /* Return the number of rows that were deleted. If this routine is + ** generating code because of a call to sqlite3NestedParse(), do not + ** invoke the callback function. + */ + if( memCnt ){ + sqlite3VdbeAddOp2(v, OP_ResultRow, memCnt, 1); + sqlite3VdbeSetNumCols(v, 1); + sqlite3VdbeSetColName(v, 0, COLNAME_NAME, "rows deleted", SQLITE_STATIC); + } + +delete_from_cleanup: + sqlite3AuthContextPop(&sContext); + sqlite3SrcListDelete(db, pTabList); + sqlite3ExprDelete(db, pWhere); +#if defined(SQLITE_ENABLE_UPDATE_DELETE_LIMIT) + sqlite3ExprListDelete(db, pOrderBy); + sqlite3ExprDelete(db, pLimit); +#endif + sqlite3DbFree(db, aToOpen); + return; +} +/* Make sure "isView" and other macros defined above are undefined. Otherwise +** they may interfere with compilation of other functions in this file +** (or in another file, if this file becomes part of the amalgamation). */ +#ifdef isView + #undef isView +#endif +#ifdef pTrigger + #undef pTrigger +#endif + +/* +** This routine generates VDBE code that causes a single row of a +** single table to be deleted. Both the original table entry and +** all indices are removed. +** +** Preconditions: +** +** 1. iDataCur is an open cursor on the btree that is the canonical data +** store for the table. (This will be either the table itself, +** in the case of a rowid table, or the PRIMARY KEY index in the case +** of a WITHOUT ROWID table.) +** +** 2. Read/write cursors for all indices of pTab must be open as +** cursor number iIdxCur+i for the i-th index. +** +** 3. The primary key for the row to be deleted must be stored in a +** sequence of nPk memory cells starting at iPk. If nPk==0 that means +** that a search record formed from OP_MakeRecord is contained in the +** single memory location iPk. +** +** eMode: +** Parameter eMode may be passed either ONEPASS_OFF (0), ONEPASS_SINGLE, or +** ONEPASS_MULTI. If eMode is not ONEPASS_OFF, then the cursor +** iDataCur already points to the row to delete. If eMode is ONEPASS_OFF +** then this function must seek iDataCur to the entry identified by iPk +** and nPk before reading from it. +** +** If eMode is ONEPASS_MULTI, then this call is being made as part +** of a ONEPASS delete that affects multiple rows. In this case, if +** iIdxNoSeek is a valid cursor number (>=0) and is not the same as +** iDataCur, then its position should be preserved following the delete +** operation. Or, if iIdxNoSeek is not a valid cursor number, the +** position of iDataCur should be preserved instead. +** +** iIdxNoSeek: +** If iIdxNoSeek is a valid cursor number (>=0) not equal to iDataCur, +** then it identifies an index cursor (from within array of cursors +** starting at iIdxCur) that already points to the index entry to be deleted. +** Except, this optimization is disabled if there are BEFORE triggers since +** the trigger body might have moved the cursor. +*/ +SQLITE_PRIVATE void sqlite3GenerateRowDelete( + Parse *pParse, /* Parsing context */ + Table *pTab, /* Table containing the row to be deleted */ + Trigger *pTrigger, /* List of triggers to (potentially) fire */ + int iDataCur, /* Cursor from which column data is extracted */ + int iIdxCur, /* First index cursor */ + int iPk, /* First memory cell containing the PRIMARY KEY */ + i16 nPk, /* Number of PRIMARY KEY memory cells */ + u8 count, /* If non-zero, increment the row change counter */ + u8 onconf, /* Default ON CONFLICT policy for triggers */ + u8 eMode, /* ONEPASS_OFF, _SINGLE, or _MULTI. See above */ + int iIdxNoSeek /* Cursor number of cursor that does not need seeking */ +){ + Vdbe *v = pParse->pVdbe; /* Vdbe */ + int iOld = 0; /* First register in OLD.* array */ + int iLabel; /* Label resolved to end of generated code */ + u8 opSeek; /* Seek opcode */ + + /* Vdbe is guaranteed to have been allocated by this stage. */ + assert( v ); + VdbeModuleComment((v, "BEGIN: GenRowDel(%d,%d,%d,%d)", + iDataCur, iIdxCur, iPk, (int)nPk)); + + /* Seek cursor iCur to the row to delete. If this row no longer exists + ** (this can happen if a trigger program has already deleted it), do + ** not attempt to delete it or fire any DELETE triggers. */ + iLabel = sqlite3VdbeMakeLabel(pParse); + opSeek = HasRowid(pTab) ? OP_NotExists : OP_NotFound; + if( eMode==ONEPASS_OFF ){ + sqlite3VdbeAddOp4Int(v, opSeek, iDataCur, iLabel, iPk, nPk); + VdbeCoverageIf(v, opSeek==OP_NotExists); + VdbeCoverageIf(v, opSeek==OP_NotFound); + } + + /* If there are any triggers to fire, allocate a range of registers to + ** use for the old.* references in the triggers. */ + if( sqlite3FkRequired(pParse, pTab, 0, 0) || pTrigger ){ + u32 mask; /* Mask of OLD.* columns in use */ + int iCol; /* Iterator used while populating OLD.* */ + int addrStart; /* Start of BEFORE trigger programs */ + + /* TODO: Could use temporary registers here. Also could attempt to + ** avoid copying the contents of the rowid register. */ + mask = sqlite3TriggerColmask( + pParse, pTrigger, 0, 0, TRIGGER_BEFORE|TRIGGER_AFTER, pTab, onconf + ); + mask |= sqlite3FkOldmask(pParse, pTab); + iOld = pParse->nMem+1; + pParse->nMem += (1 + pTab->nCol); + + /* Populate the OLD.* pseudo-table register array. These values will be + ** used by any BEFORE and AFTER triggers that exist. */ + sqlite3VdbeAddOp2(v, OP_Copy, iPk, iOld); + for(iCol=0; iColnCol; iCol++){ + testcase( mask!=0xffffffff && iCol==31 ); + testcase( mask!=0xffffffff && iCol==32 ); + if( mask==0xffffffff || (iCol<=31 && (mask & MASKBIT32(iCol))!=0) ){ + sqlite3ExprCodeGetColumnOfTable(v, pTab, iDataCur, iCol, iOld+iCol+1); + } + } + + /* Invoke BEFORE DELETE trigger programs. */ + addrStart = sqlite3VdbeCurrentAddr(v); + sqlite3CodeRowTrigger(pParse, pTrigger, + TK_DELETE, 0, TRIGGER_BEFORE, pTab, iOld, onconf, iLabel + ); + + /* If any BEFORE triggers were coded, then seek the cursor to the + ** row to be deleted again. It may be that the BEFORE triggers moved + ** the cursor or already deleted the row that the cursor was + ** pointing to. + ** + ** Also disable the iIdxNoSeek optimization since the BEFORE trigger + ** may have moved that cursor. + */ + if( addrStart=0 ); + iIdxNoSeek = -1; + } + + /* Do FK processing. This call checks that any FK constraints that + ** refer to this table (i.e. constraints attached to other tables) + ** are not violated by deleting this row. */ + sqlite3FkCheck(pParse, pTab, iOld, 0, 0, 0); + } + + /* Delete the index and table entries. Skip this step if pTab is really + ** a view (in which case the only effect of the DELETE statement is to + ** fire the INSTEAD OF triggers). + ** + ** If variable 'count' is non-zero, then this OP_Delete instruction should + ** invoke the update-hook. The pre-update-hook, on the other hand should + ** be invoked unless table pTab is a system table. The difference is that + ** the update-hook is not invoked for rows removed by REPLACE, but the + ** pre-update-hook is. + */ + if( pTab->pSelect==0 ){ + u8 p5 = 0; + sqlite3GenerateRowIndexDelete(pParse, pTab, iDataCur, iIdxCur,0,iIdxNoSeek); + sqlite3VdbeAddOp2(v, OP_Delete, iDataCur, (count?OPFLAG_NCHANGE:0)); + if( pParse->nested==0 || 0==sqlite3_stricmp(pTab->zName, "sqlite_stat1") ){ + sqlite3VdbeAppendP4(v, (char*)pTab, P4_TABLE); + } + if( eMode!=ONEPASS_OFF ){ + sqlite3VdbeChangeP5(v, OPFLAG_AUXDELETE); + } + if( iIdxNoSeek>=0 && iIdxNoSeek!=iDataCur ){ + sqlite3VdbeAddOp1(v, OP_Delete, iIdxNoSeek); + } + if( eMode==ONEPASS_MULTI ) p5 |= OPFLAG_SAVEPOSITION; + sqlite3VdbeChangeP5(v, p5); + } + + /* Do any ON CASCADE, SET NULL or SET DEFAULT operations required to + ** handle rows (possibly in other tables) that refer via a foreign key + ** to the row just deleted. */ + sqlite3FkActions(pParse, pTab, 0, iOld, 0, 0); + + /* Invoke AFTER DELETE trigger programs. */ + sqlite3CodeRowTrigger(pParse, pTrigger, + TK_DELETE, 0, TRIGGER_AFTER, pTab, iOld, onconf, iLabel + ); + + /* Jump here if the row had already been deleted before any BEFORE + ** trigger programs were invoked. Or if a trigger program throws a + ** RAISE(IGNORE) exception. */ + sqlite3VdbeResolveLabel(v, iLabel); + VdbeModuleComment((v, "END: GenRowDel()")); +} + +/* +** This routine generates VDBE code that causes the deletion of all +** index entries associated with a single row of a single table, pTab +** +** Preconditions: +** +** 1. A read/write cursor "iDataCur" must be open on the canonical storage +** btree for the table pTab. (This will be either the table itself +** for rowid tables or to the primary key index for WITHOUT ROWID +** tables.) +** +** 2. Read/write cursors for all indices of pTab must be open as +** cursor number iIdxCur+i for the i-th index. (The pTab->pIndex +** index is the 0-th index.) +** +** 3. The "iDataCur" cursor must be already be positioned on the row +** that is to be deleted. +*/ +SQLITE_PRIVATE void sqlite3GenerateRowIndexDelete( + Parse *pParse, /* Parsing and code generating context */ + Table *pTab, /* Table containing the row to be deleted */ + int iDataCur, /* Cursor of table holding data. */ + int iIdxCur, /* First index cursor */ + int *aRegIdx, /* Only delete if aRegIdx!=0 && aRegIdx[i]>0 */ + int iIdxNoSeek /* Do not delete from this cursor */ +){ + int i; /* Index loop counter */ + int r1 = -1; /* Register holding an index key */ + int iPartIdxLabel; /* Jump destination for skipping partial index entries */ + Index *pIdx; /* Current index */ + Index *pPrior = 0; /* Prior index */ + Vdbe *v; /* The prepared statement under construction */ + Index *pPk; /* PRIMARY KEY index, or NULL for rowid tables */ + + v = pParse->pVdbe; + pPk = HasRowid(pTab) ? 0 : sqlite3PrimaryKeyIndex(pTab); + for(i=0, pIdx=pTab->pIndex; pIdx; i++, pIdx=pIdx->pNext){ + assert( iIdxCur+i!=iDataCur || pPk==pIdx ); + if( aRegIdx!=0 && aRegIdx[i]==0 ) continue; + if( pIdx==pPk ) continue; + if( iIdxCur+i==iIdxNoSeek ) continue; + VdbeModuleComment((v, "GenRowIdxDel for %s", pIdx->zName)); + r1 = sqlite3GenerateIndexKey(pParse, pIdx, iDataCur, 0, 1, + &iPartIdxLabel, pPrior, r1); + sqlite3VdbeAddOp3(v, OP_IdxDelete, iIdxCur+i, r1, + pIdx->uniqNotNull ? pIdx->nKeyCol : pIdx->nColumn); + sqlite3ResolvePartIdxLabel(pParse, iPartIdxLabel); + pPrior = pIdx; + } +} + +/* +** Generate code that will assemble an index key and stores it in register +** regOut. The key with be for index pIdx which is an index on pTab. +** iCur is the index of a cursor open on the pTab table and pointing to +** the entry that needs indexing. If pTab is a WITHOUT ROWID table, then +** iCur must be the cursor of the PRIMARY KEY index. +** +** Return a register number which is the first in a block of +** registers that holds the elements of the index key. The +** block of registers has already been deallocated by the time +** this routine returns. +** +** If *piPartIdxLabel is not NULL, fill it in with a label and jump +** to that label if pIdx is a partial index that should be skipped. +** The label should be resolved using sqlite3ResolvePartIdxLabel(). +** A partial index should be skipped if its WHERE clause evaluates +** to false or null. If pIdx is not a partial index, *piPartIdxLabel +** will be set to zero which is an empty label that is ignored by +** sqlite3ResolvePartIdxLabel(). +** +** The pPrior and regPrior parameters are used to implement a cache to +** avoid unnecessary register loads. If pPrior is not NULL, then it is +** a pointer to a different index for which an index key has just been +** computed into register regPrior. If the current pIdx index is generating +** its key into the same sequence of registers and if pPrior and pIdx share +** a column in common, then the register corresponding to that column already +** holds the correct value and the loading of that register is skipped. +** This optimization is helpful when doing a DELETE or an INTEGRITY_CHECK +** on a table with multiple indices, and especially with the ROWID or +** PRIMARY KEY columns of the index. +*/ +SQLITE_PRIVATE int sqlite3GenerateIndexKey( + Parse *pParse, /* Parsing context */ + Index *pIdx, /* The index for which to generate a key */ + int iDataCur, /* Cursor number from which to take column data */ + int regOut, /* Put the new key into this register if not 0 */ + int prefixOnly, /* Compute only a unique prefix of the key */ + int *piPartIdxLabel, /* OUT: Jump to this label to skip partial index */ + Index *pPrior, /* Previously generated index key */ + int regPrior /* Register holding previous generated key */ +){ + Vdbe *v = pParse->pVdbe; + int j; + int regBase; + int nCol; + + if( piPartIdxLabel ){ + if( pIdx->pPartIdxWhere ){ + *piPartIdxLabel = sqlite3VdbeMakeLabel(pParse); + pParse->iSelfTab = iDataCur + 1; + sqlite3ExprIfFalseDup(pParse, pIdx->pPartIdxWhere, *piPartIdxLabel, + SQLITE_JUMPIFNULL); + pParse->iSelfTab = 0; + }else{ + *piPartIdxLabel = 0; + } + } + nCol = (prefixOnly && pIdx->uniqNotNull) ? pIdx->nKeyCol : pIdx->nColumn; + regBase = sqlite3GetTempRange(pParse, nCol); + if( pPrior && (regBase!=regPrior || pPrior->pPartIdxWhere) ) pPrior = 0; + for(j=0; jaiColumn[j]==pIdx->aiColumn[j] + && pPrior->aiColumn[j]!=XN_EXPR + ){ + /* This column was already computed by the previous index */ + continue; + } + sqlite3ExprCodeLoadIndexColumn(pParse, pIdx, iDataCur, j, regBase+j); + /* If the column affinity is REAL but the number is an integer, then it + ** might be stored in the table as an integer (using a compact + ** representation) then converted to REAL by an OP_RealAffinity opcode. + ** But we are getting ready to store this value back into an index, where + ** it should be converted by to INTEGER again. So omit the OP_RealAffinity + ** opcode if it is present */ + sqlite3VdbeDeletePriorOpcode(v, OP_RealAffinity); + } + if( regOut ){ + sqlite3VdbeAddOp3(v, OP_MakeRecord, regBase, nCol, regOut); + if( pIdx->pTable->pSelect ){ + const char *zAff = sqlite3IndexAffinityStr(pParse->db, pIdx); + sqlite3VdbeChangeP4(v, -1, zAff, P4_TRANSIENT); + } + } + sqlite3ReleaseTempRange(pParse, regBase, nCol); + return regBase; +} + +/* +** If a prior call to sqlite3GenerateIndexKey() generated a jump-over label +** because it was a partial index, then this routine should be called to +** resolve that label. +*/ +SQLITE_PRIVATE void sqlite3ResolvePartIdxLabel(Parse *pParse, int iLabel){ + if( iLabel ){ + sqlite3VdbeResolveLabel(pParse->pVdbe, iLabel); + } +} + +/************** End of delete.c **********************************************/ +/************** Begin file func.c ********************************************/ +/* +** 2002 February 23 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains the C-language implementations for many of the SQL +** functions of SQLite. (Some function, and in particular the date and +** time functions, are implemented separately.) +*/ +/* #include "sqliteInt.h" */ +/* #include */ +/* #include */ +/* #include */ +/* #include "vdbeInt.h" */ + +/* +** Return the collating function associated with a function. +*/ +static CollSeq *sqlite3GetFuncCollSeq(sqlite3_context *context){ + VdbeOp *pOp; + assert( context->pVdbe!=0 ); + pOp = &context->pVdbe->aOp[context->iOp-1]; + assert( pOp->opcode==OP_CollSeq ); + assert( pOp->p4type==P4_COLLSEQ ); + return pOp->p4.pColl; +} + +/* +** Indicate that the accumulator load should be skipped on this +** iteration of the aggregate loop. +*/ +static void sqlite3SkipAccumulatorLoad(sqlite3_context *context){ + assert( context->isError<=0 ); + context->isError = -1; + context->skipFlag = 1; +} + +/* +** Implementation of the non-aggregate min() and max() functions +*/ +static void minmaxFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + int i; + int mask; /* 0 for min() or 0xffffffff for max() */ + int iBest; + CollSeq *pColl; + + assert( argc>1 ); + mask = sqlite3_user_data(context)==0 ? 0 : -1; + pColl = sqlite3GetFuncCollSeq(context); + assert( pColl ); + assert( mask==-1 || mask==0 ); + iBest = 0; + if( sqlite3_value_type(argv[0])==SQLITE_NULL ) return; + for(i=1; i=0 ){ + testcase( mask==0 ); + iBest = i; + } + } + sqlite3_result_value(context, argv[iBest]); +} + +/* +** Return the type of the argument. +*/ +static void typeofFunc( + sqlite3_context *context, + int NotUsed, + sqlite3_value **argv +){ + static const char *azType[] = { "integer", "real", "text", "blob", "null" }; + int i = sqlite3_value_type(argv[0]) - 1; + UNUSED_PARAMETER(NotUsed); + assert( i>=0 && i=0xc0 ){ + while( (*z & 0xc0)==0x80 ){ z++; z0++; } + } + } + sqlite3_result_int(context, (int)(z-z0)); + break; + } + default: { + sqlite3_result_null(context); + break; + } + } +} + +/* +** Implementation of the abs() function. +** +** IMP: R-23979-26855 The abs(X) function returns the absolute value of +** the numeric argument X. +*/ +static void absFunc(sqlite3_context *context, int argc, sqlite3_value **argv){ + assert( argc==1 ); + UNUSED_PARAMETER(argc); + switch( sqlite3_value_type(argv[0]) ){ + case SQLITE_INTEGER: { + i64 iVal = sqlite3_value_int64(argv[0]); + if( iVal<0 ){ + if( iVal==SMALLEST_INT64 ){ + /* IMP: R-31676-45509 If X is the integer -9223372036854775808 + ** then abs(X) throws an integer overflow error since there is no + ** equivalent positive 64-bit two complement value. */ + sqlite3_result_error(context, "integer overflow", -1); + return; + } + iVal = -iVal; + } + sqlite3_result_int64(context, iVal); + break; + } + case SQLITE_NULL: { + /* IMP: R-37434-19929 Abs(X) returns NULL if X is NULL. */ + sqlite3_result_null(context); + break; + } + default: { + /* Because sqlite3_value_double() returns 0.0 if the argument is not + ** something that can be converted into a number, we have: + ** IMP: R-01992-00519 Abs(X) returns 0.0 if X is a string or blob + ** that cannot be converted to a numeric value. + */ + double rVal = sqlite3_value_double(argv[0]); + if( rVal<0 ) rVal = -rVal; + sqlite3_result_double(context, rVal); + break; + } + } +} + +/* +** Implementation of the instr() function. +** +** instr(haystack,needle) finds the first occurrence of needle +** in haystack and returns the number of previous characters plus 1, +** or 0 if needle does not occur within haystack. +** +** If both haystack and needle are BLOBs, then the result is one more than +** the number of bytes in haystack prior to the first occurrence of needle, +** or 0 if needle never occurs in haystack. +*/ +static void instrFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + const unsigned char *zHaystack; + const unsigned char *zNeedle; + int nHaystack; + int nNeedle; + int typeHaystack, typeNeedle; + int N = 1; + int isText; + unsigned char firstChar; + sqlite3_value *pC1 = 0; + sqlite3_value *pC2 = 0; + + UNUSED_PARAMETER(argc); + typeHaystack = sqlite3_value_type(argv[0]); + typeNeedle = sqlite3_value_type(argv[1]); + if( typeHaystack==SQLITE_NULL || typeNeedle==SQLITE_NULL ) return; + nHaystack = sqlite3_value_bytes(argv[0]); + nNeedle = sqlite3_value_bytes(argv[1]); + if( nNeedle>0 ){ + if( typeHaystack==SQLITE_BLOB && typeNeedle==SQLITE_BLOB ){ + zHaystack = sqlite3_value_blob(argv[0]); + zNeedle = sqlite3_value_blob(argv[1]); + isText = 0; + }else if( typeHaystack!=SQLITE_BLOB && typeNeedle!=SQLITE_BLOB ){ + zHaystack = sqlite3_value_text(argv[0]); + zNeedle = sqlite3_value_text(argv[1]); + isText = 1; + }else{ + pC1 = sqlite3_value_dup(argv[0]); + zHaystack = sqlite3_value_text(pC1); + if( zHaystack==0 ) goto endInstrOOM; + nHaystack = sqlite3_value_bytes(pC1); + pC2 = sqlite3_value_dup(argv[1]); + zNeedle = sqlite3_value_text(pC2); + if( zNeedle==0 ) goto endInstrOOM; + nNeedle = sqlite3_value_bytes(pC2); + isText = 1; + } + if( zNeedle==0 || (nHaystack && zHaystack==0) ) goto endInstrOOM; + firstChar = zNeedle[0]; + while( nNeedle<=nHaystack + && (zHaystack[0]!=firstChar || memcmp(zHaystack, zNeedle, nNeedle)!=0) + ){ + N++; + do{ + nHaystack--; + zHaystack++; + }while( isText && (zHaystack[0]&0xc0)==0x80 ); + } + if( nNeedle>nHaystack ) N = 0; + } + sqlite3_result_int(context, N); +endInstr: + sqlite3_value_free(pC1); + sqlite3_value_free(pC2); + return; +endInstrOOM: + sqlite3_result_error_nomem(context); + goto endInstr; +} + +/* +** Implementation of the printf() function. +*/ +static void printfFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + PrintfArguments x; + StrAccum str; + const char *zFormat; + int n; + sqlite3 *db = sqlite3_context_db_handle(context); + + if( argc>=1 && (zFormat = (const char*)sqlite3_value_text(argv[0]))!=0 ){ + x.nArg = argc-1; + x.nUsed = 0; + x.apArg = argv+1; + sqlite3StrAccumInit(&str, db, 0, 0, db->aLimit[SQLITE_LIMIT_LENGTH]); + str.printfFlags = SQLITE_PRINTF_SQLFUNC; + sqlite3_str_appendf(&str, zFormat, &x); + n = str.nChar; + sqlite3_result_text(context, sqlite3StrAccumFinish(&str), n, + SQLITE_DYNAMIC); + } +} + +/* +** Implementation of the substr() function. +** +** substr(x,p1,p2) returns p2 characters of x[] beginning with p1. +** p1 is 1-indexed. So substr(x,1,1) returns the first character +** of x. If x is text, then we actually count UTF-8 characters. +** If x is a blob, then we count bytes. +** +** If p1 is negative, then we begin abs(p1) from the end of x[]. +** +** If p2 is negative, return the p2 characters preceding p1. +*/ +static void substrFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + const unsigned char *z; + const unsigned char *z2; + int len; + int p0type; + i64 p1, p2; + int negP2 = 0; + + assert( argc==3 || argc==2 ); + if( sqlite3_value_type(argv[1])==SQLITE_NULL + || (argc==3 && sqlite3_value_type(argv[2])==SQLITE_NULL) + ){ + return; + } + p0type = sqlite3_value_type(argv[0]); + p1 = sqlite3_value_int(argv[1]); + if( p0type==SQLITE_BLOB ){ + len = sqlite3_value_bytes(argv[0]); + z = sqlite3_value_blob(argv[0]); + if( z==0 ) return; + assert( len==sqlite3_value_bytes(argv[0]) ); + }else{ + z = sqlite3_value_text(argv[0]); + if( z==0 ) return; + len = 0; + if( p1<0 ){ + for(z2=z; *z2; len++){ + SQLITE_SKIP_UTF8(z2); + } + } + } +#ifdef SQLITE_SUBSTR_COMPATIBILITY + /* If SUBSTR_COMPATIBILITY is defined then substr(X,0,N) work the same as + ** as substr(X,1,N) - it returns the first N characters of X. This + ** is essentially a back-out of the bug-fix in check-in [5fc125d362df4b8] + ** from 2009-02-02 for compatibility of applications that exploited the + ** old buggy behavior. */ + if( p1==0 ) p1 = 1; /* */ +#endif + if( argc==3 ){ + p2 = sqlite3_value_int(argv[2]); + if( p2<0 ){ + p2 = -p2; + negP2 = 1; + } + }else{ + p2 = sqlite3_context_db_handle(context)->aLimit[SQLITE_LIMIT_LENGTH]; + } + if( p1<0 ){ + p1 += len; + if( p1<0 ){ + p2 += p1; + if( p2<0 ) p2 = 0; + p1 = 0; + } + }else if( p1>0 ){ + p1--; + }else if( p2>0 ){ + p2--; + } + if( negP2 ){ + p1 -= p2; + if( p1<0 ){ + p2 += p1; + p1 = 0; + } + } + assert( p1>=0 && p2>=0 ); + if( p0type!=SQLITE_BLOB ){ + while( *z && p1 ){ + SQLITE_SKIP_UTF8(z); + p1--; + } + for(z2=z; *z2 && p2; p2--){ + SQLITE_SKIP_UTF8(z2); + } + sqlite3_result_text64(context, (char*)z, z2-z, SQLITE_TRANSIENT, + SQLITE_UTF8); + }else{ + if( p1+p2>len ){ + p2 = len-p1; + if( p2<0 ) p2 = 0; + } + sqlite3_result_blob64(context, (char*)&z[p1], (u64)p2, SQLITE_TRANSIENT); + } +} + +/* +** Implementation of the round() function +*/ +#ifndef SQLITE_OMIT_FLOATING_POINT +static void roundFunc(sqlite3_context *context, int argc, sqlite3_value **argv){ + int n = 0; + double r; + char *zBuf; + assert( argc==1 || argc==2 ); + if( argc==2 ){ + if( SQLITE_NULL==sqlite3_value_type(argv[1]) ) return; + n = sqlite3_value_int(argv[1]); + if( n>30 ) n = 30; + if( n<0 ) n = 0; + } + if( sqlite3_value_type(argv[0])==SQLITE_NULL ) return; + r = sqlite3_value_double(argv[0]); + /* If Y==0 and X will fit in a 64-bit int, + ** handle the rounding directly, + ** otherwise use printf. + */ + if( r<-4503599627370496.0 || r>+4503599627370496.0 ){ + /* The value has no fractional part so there is nothing to round */ + }else if( n==0 ){ + r = (double)((sqlite_int64)(r+(r<0?-0.5:+0.5))); + }else{ + zBuf = sqlite3_mprintf("%.*f",n,r); + if( zBuf==0 ){ + sqlite3_result_error_nomem(context); + return; + } + sqlite3AtoF(zBuf, &r, sqlite3Strlen30(zBuf), SQLITE_UTF8); + sqlite3_free(zBuf); + } + sqlite3_result_double(context, r); +} +#endif + +/* +** Allocate nByte bytes of space using sqlite3Malloc(). If the +** allocation fails, call sqlite3_result_error_nomem() to notify +** the database handle that malloc() has failed and return NULL. +** If nByte is larger than the maximum string or blob length, then +** raise an SQLITE_TOOBIG exception and return NULL. +*/ +static void *contextMalloc(sqlite3_context *context, i64 nByte){ + char *z; + sqlite3 *db = sqlite3_context_db_handle(context); + assert( nByte>0 ); + testcase( nByte==db->aLimit[SQLITE_LIMIT_LENGTH] ); + testcase( nByte==db->aLimit[SQLITE_LIMIT_LENGTH]+1 ); + if( nByte>db->aLimit[SQLITE_LIMIT_LENGTH] ){ + sqlite3_result_error_toobig(context); + z = 0; + }else{ + z = sqlite3Malloc(nByte); + if( !z ){ + sqlite3_result_error_nomem(context); + } + } + return z; +} + +/* +** Implementation of the upper() and lower() SQL functions. +*/ +static void upperFunc(sqlite3_context *context, int argc, sqlite3_value **argv){ + char *z1; + const char *z2; + int i, n; + UNUSED_PARAMETER(argc); + z2 = (char*)sqlite3_value_text(argv[0]); + n = sqlite3_value_bytes(argv[0]); + /* Verify that the call to _bytes() does not invalidate the _text() pointer */ + assert( z2==(char*)sqlite3_value_text(argv[0]) ); + if( z2 ){ + z1 = contextMalloc(context, ((i64)n)+1); + if( z1 ){ + for(i=0; imatchOne; /* "?" or "_" */ + u32 matchAll = pInfo->matchAll; /* "*" or "%" */ + u8 noCase = pInfo->noCase; /* True if uppercase==lowercase */ + const u8 *zEscaped = 0; /* One past the last escaped input char */ + + while( (c = Utf8Read(zPattern))!=0 ){ + if( c==matchAll ){ /* Match "*" */ + /* Skip over multiple "*" characters in the pattern. If there + ** are also "?" characters, skip those as well, but consume a + ** single character of the input string for each "?" skipped */ + while( (c=Utf8Read(zPattern)) == matchAll || c == matchOne ){ + if( c==matchOne && sqlite3Utf8Read(&zString)==0 ){ + return SQLITE_NOWILDCARDMATCH; + } + } + if( c==0 ){ + return SQLITE_MATCH; /* "*" at the end of the pattern matches */ + }else if( c==matchOther ){ + if( pInfo->matchSet==0 ){ + c = sqlite3Utf8Read(&zPattern); + if( c==0 ) return SQLITE_NOWILDCARDMATCH; + }else{ + /* "[...]" immediately follows the "*". We have to do a slow + ** recursive search in this case, but it is an unusual case. */ + assert( matchOther<0x80 ); /* '[' is a single-byte character */ + while( *zString ){ + int bMatch = patternCompare(&zPattern[-1],zString,pInfo,matchOther); + if( bMatch!=SQLITE_NOMATCH ) return bMatch; + SQLITE_SKIP_UTF8(zString); + } + return SQLITE_NOWILDCARDMATCH; + } + } + + /* At this point variable c contains the first character of the + ** pattern string past the "*". Search in the input string for the + ** first matching character and recursively continue the match from + ** that point. + ** + ** For a case-insensitive search, set variable cx to be the same as + ** c but in the other case and search the input string for either + ** c or cx. + */ + if( c<=0x80 ){ + char zStop[3]; + int bMatch; + if( noCase ){ + zStop[0] = sqlite3Toupper(c); + zStop[1] = sqlite3Tolower(c); + zStop[2] = 0; + }else{ + zStop[0] = c; + zStop[1] = 0; + } + while(1){ + zString += strcspn((const char*)zString, zStop); + if( zString[0]==0 ) break; + zString++; + bMatch = patternCompare(zPattern,zString,pInfo,matchOther); + if( bMatch!=SQLITE_NOMATCH ) return bMatch; + } + }else{ + int bMatch; + while( (c2 = Utf8Read(zString))!=0 ){ + if( c2!=c ) continue; + bMatch = patternCompare(zPattern,zString,pInfo,matchOther); + if( bMatch!=SQLITE_NOMATCH ) return bMatch; + } + } + return SQLITE_NOWILDCARDMATCH; + } + if( c==matchOther ){ + if( pInfo->matchSet==0 ){ + c = sqlite3Utf8Read(&zPattern); + if( c==0 ) return SQLITE_NOMATCH; + zEscaped = zPattern; + }else{ + u32 prior_c = 0; + int seen = 0; + int invert = 0; + c = sqlite3Utf8Read(&zString); + if( c==0 ) return SQLITE_NOMATCH; + c2 = sqlite3Utf8Read(&zPattern); + if( c2=='^' ){ + invert = 1; + c2 = sqlite3Utf8Read(&zPattern); + } + if( c2==']' ){ + if( c==']' ) seen = 1; + c2 = sqlite3Utf8Read(&zPattern); + } + while( c2 && c2!=']' ){ + if( c2=='-' && zPattern[0]!=']' && zPattern[0]!=0 && prior_c>0 ){ + c2 = sqlite3Utf8Read(&zPattern); + if( c>=prior_c && c<=c2 ) seen = 1; + prior_c = 0; + }else{ + if( c==c2 ){ + seen = 1; + } + prior_c = c2; + } + c2 = sqlite3Utf8Read(&zPattern); + } + if( c2==0 || (seen ^ invert)==0 ){ + return SQLITE_NOMATCH; + } + continue; + } + } + c2 = Utf8Read(zString); + if( c==c2 ) continue; + if( noCase && sqlite3Tolower(c)==sqlite3Tolower(c2) && c<0x80 && c2<0x80 ){ + continue; + } + if( c==matchOne && zPattern!=zEscaped && c2!=0 ) continue; + return SQLITE_NOMATCH; + } + return *zString==0 ? SQLITE_MATCH : SQLITE_NOMATCH; +} + +/* +** The sqlite3_strglob() interface. Return 0 on a match (like strcmp()) and +** non-zero if there is no match. +*/ +SQLITE_API int sqlite3_strglob(const char *zGlobPattern, const char *zString){ + return patternCompare((u8*)zGlobPattern, (u8*)zString, &globInfo, '['); +} + +/* +** The sqlite3_strlike() interface. Return 0 on a match and non-zero for +** a miss - like strcmp(). +*/ +SQLITE_API int sqlite3_strlike(const char *zPattern, const char *zStr, unsigned int esc){ + return patternCompare((u8*)zPattern, (u8*)zStr, &likeInfoNorm, esc); +} + +/* +** Count the number of times that the LIKE operator (or GLOB which is +** just a variation of LIKE) gets called. This is used for testing +** only. +*/ +#ifdef SQLITE_TEST +SQLITE_API int sqlite3_like_count = 0; +#endif + + +/* +** Implementation of the like() SQL function. This function implements +** the build-in LIKE operator. The first argument to the function is the +** pattern and the second argument is the string. So, the SQL statements: +** +** A LIKE B +** +** is implemented as like(B,A). +** +** This same function (with a different compareInfo structure) computes +** the GLOB operator. +*/ +static void likeFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + const unsigned char *zA, *zB; + u32 escape; + int nPat; + sqlite3 *db = sqlite3_context_db_handle(context); + struct compareInfo *pInfo = sqlite3_user_data(context); + +#ifdef SQLITE_LIKE_DOESNT_MATCH_BLOBS + if( sqlite3_value_type(argv[0])==SQLITE_BLOB + || sqlite3_value_type(argv[1])==SQLITE_BLOB + ){ +#ifdef SQLITE_TEST + sqlite3_like_count++; +#endif + sqlite3_result_int(context, 0); + return; + } +#endif + + /* Limit the length of the LIKE or GLOB pattern to avoid problems + ** of deep recursion and N*N behavior in patternCompare(). + */ + nPat = sqlite3_value_bytes(argv[0]); + testcase( nPat==db->aLimit[SQLITE_LIMIT_LIKE_PATTERN_LENGTH] ); + testcase( nPat==db->aLimit[SQLITE_LIMIT_LIKE_PATTERN_LENGTH]+1 ); + if( nPat > db->aLimit[SQLITE_LIMIT_LIKE_PATTERN_LENGTH] ){ + sqlite3_result_error(context, "LIKE or GLOB pattern too complex", -1); + return; + } + if( argc==3 ){ + /* The escape character string must consist of a single UTF-8 character. + ** Otherwise, return an error. + */ + const unsigned char *zEsc = sqlite3_value_text(argv[2]); + if( zEsc==0 ) return; + if( sqlite3Utf8CharLen((char*)zEsc, -1)!=1 ){ + sqlite3_result_error(context, + "ESCAPE expression must be a single character", -1); + return; + } + escape = sqlite3Utf8Read(&zEsc); + }else{ + escape = pInfo->matchSet; + } + zB = sqlite3_value_text(argv[0]); + zA = sqlite3_value_text(argv[1]); + if( zA && zB ){ +#ifdef SQLITE_TEST + sqlite3_like_count++; +#endif + sqlite3_result_int(context, + patternCompare(zB, zA, pInfo, escape)==SQLITE_MATCH); + } +} + +/* +** Implementation of the NULLIF(x,y) function. The result is the first +** argument if the arguments are different. The result is NULL if the +** arguments are equal to each other. +*/ +static void nullifFunc( + sqlite3_context *context, + int NotUsed, + sqlite3_value **argv +){ + CollSeq *pColl = sqlite3GetFuncCollSeq(context); + UNUSED_PARAMETER(NotUsed); + if( sqlite3MemCompare(argv[0], argv[1], pColl)!=0 ){ + sqlite3_result_value(context, argv[0]); + } +} + +/* +** Implementation of the sqlite_version() function. The result is the version +** of the SQLite library that is running. +*/ +static void versionFunc( + sqlite3_context *context, + int NotUsed, + sqlite3_value **NotUsed2 +){ + UNUSED_PARAMETER2(NotUsed, NotUsed2); + /* IMP: R-48699-48617 This function is an SQL wrapper around the + ** sqlite3_libversion() C-interface. */ + sqlite3_result_text(context, sqlite3_libversion(), -1, SQLITE_STATIC); +} + +/* +** Implementation of the sqlite_source_id() function. The result is a string +** that identifies the particular version of the source code used to build +** SQLite. +*/ +static void sourceidFunc( + sqlite3_context *context, + int NotUsed, + sqlite3_value **NotUsed2 +){ + UNUSED_PARAMETER2(NotUsed, NotUsed2); + /* IMP: R-24470-31136 This function is an SQL wrapper around the + ** sqlite3_sourceid() C interface. */ + sqlite3_result_text(context, sqlite3_sourceid(), -1, SQLITE_STATIC); +} + +/* +** Implementation of the sqlite_log() function. This is a wrapper around +** sqlite3_log(). The return value is NULL. The function exists purely for +** its side-effects. +*/ +static void errlogFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + UNUSED_PARAMETER(argc); + UNUSED_PARAMETER(context); + sqlite3_log(sqlite3_value_int(argv[0]), "%s", sqlite3_value_text(argv[1])); +} + +/* +** Implementation of the sqlite_compileoption_used() function. +** The result is an integer that identifies if the compiler option +** was used to build SQLite. +*/ +#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS +static void compileoptionusedFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + const char *zOptName; + assert( argc==1 ); + UNUSED_PARAMETER(argc); + /* IMP: R-39564-36305 The sqlite_compileoption_used() SQL + ** function is a wrapper around the sqlite3_compileoption_used() C/C++ + ** function. + */ + if( (zOptName = (const char*)sqlite3_value_text(argv[0]))!=0 ){ + sqlite3_result_int(context, sqlite3_compileoption_used(zOptName)); + } +} +#endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */ + +/* +** Implementation of the sqlite_compileoption_get() function. +** The result is a string that identifies the compiler options +** used to build SQLite. +*/ +#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS +static void compileoptiongetFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + int n; + assert( argc==1 ); + UNUSED_PARAMETER(argc); + /* IMP: R-04922-24076 The sqlite_compileoption_get() SQL function + ** is a wrapper around the sqlite3_compileoption_get() C/C++ function. + */ + n = sqlite3_value_int(argv[0]); + sqlite3_result_text(context, sqlite3_compileoption_get(n), -1, SQLITE_STATIC); +} +#endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */ + +/* Array for converting from half-bytes (nybbles) into ASCII hex +** digits. */ +static const char hexdigits[] = { + '0', '1', '2', '3', '4', '5', '6', '7', + '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' +}; + +/* +** Implementation of the QUOTE() function. This function takes a single +** argument. If the argument is numeric, the return value is the same as +** the argument. If the argument is NULL, the return value is the string +** "NULL". Otherwise, the argument is enclosed in single quotes with +** single-quote escapes. +*/ +static void quoteFunc(sqlite3_context *context, int argc, sqlite3_value **argv){ + assert( argc==1 ); + UNUSED_PARAMETER(argc); + switch( sqlite3_value_type(argv[0]) ){ + case SQLITE_FLOAT: { + double r1, r2; + char zBuf[50]; + r1 = sqlite3_value_double(argv[0]); + sqlite3_snprintf(sizeof(zBuf), zBuf, "%!.15g", r1); + sqlite3AtoF(zBuf, &r2, 20, SQLITE_UTF8); + if( r1!=r2 ){ + sqlite3_snprintf(sizeof(zBuf), zBuf, "%!.20e", r1); + } + sqlite3_result_text(context, zBuf, -1, SQLITE_TRANSIENT); + break; + } + case SQLITE_INTEGER: { + sqlite3_result_value(context, argv[0]); + break; + } + case SQLITE_BLOB: { + char *zText = 0; + char const *zBlob = sqlite3_value_blob(argv[0]); + int nBlob = sqlite3_value_bytes(argv[0]); + assert( zBlob==sqlite3_value_blob(argv[0]) ); /* No encoding change */ + zText = (char *)contextMalloc(context, (2*(i64)nBlob)+4); + if( zText ){ + int i; + for(i=0; i>4)&0x0F]; + zText[(i*2)+3] = hexdigits[(zBlob[i])&0x0F]; + } + zText[(nBlob*2)+2] = '\''; + zText[(nBlob*2)+3] = '\0'; + zText[0] = 'X'; + zText[1] = '\''; + sqlite3_result_text(context, zText, -1, SQLITE_TRANSIENT); + sqlite3_free(zText); + } + break; + } + case SQLITE_TEXT: { + int i,j; + u64 n; + const unsigned char *zArg = sqlite3_value_text(argv[0]); + char *z; + + if( zArg==0 ) return; + for(i=0, n=0; zArg[i]; i++){ if( zArg[i]=='\'' ) n++; } + z = contextMalloc(context, ((i64)i)+((i64)n)+3); + if( z ){ + z[0] = '\''; + for(i=0, j=1; zArg[i]; i++){ + z[j++] = zArg[i]; + if( zArg[i]=='\'' ){ + z[j++] = '\''; + } + } + z[j++] = '\''; + z[j] = 0; + sqlite3_result_text(context, z, j, sqlite3_free); + } + break; + } + default: { + assert( sqlite3_value_type(argv[0])==SQLITE_NULL ); + sqlite3_result_text(context, "NULL", 4, SQLITE_STATIC); + break; + } + } +} + +/* +** The unicode() function. Return the integer unicode code-point value +** for the first character of the input string. +*/ +static void unicodeFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + const unsigned char *z = sqlite3_value_text(argv[0]); + (void)argc; + if( z && z[0] ) sqlite3_result_int(context, sqlite3Utf8Read(&z)); +} + +/* +** The char() function takes zero or more arguments, each of which is +** an integer. It constructs a string where each character of the string +** is the unicode character for the corresponding integer argument. +*/ +static void charFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + unsigned char *z, *zOut; + int i; + zOut = z = sqlite3_malloc64( argc*4+1 ); + if( z==0 ){ + sqlite3_result_error_nomem(context); + return; + } + for(i=0; i0x10ffff ) x = 0xfffd; + c = (unsigned)(x & 0x1fffff); + if( c<0x00080 ){ + *zOut++ = (u8)(c&0xFF); + }else if( c<0x00800 ){ + *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); + *zOut++ = 0x80 + (u8)(c & 0x3F); + }else if( c<0x10000 ){ + *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); + *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); + *zOut++ = 0x80 + (u8)(c & 0x3F); + }else{ + *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); + *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); + *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); + *zOut++ = 0x80 + (u8)(c & 0x3F); + } \ + } + sqlite3_result_text64(context, (char*)z, zOut-z, sqlite3_free, SQLITE_UTF8); +} + +/* +** The hex() function. Interpret the argument as a blob. Return +** a hexadecimal rendering as text. +*/ +static void hexFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + int i, n; + const unsigned char *pBlob; + char *zHex, *z; + assert( argc==1 ); + UNUSED_PARAMETER(argc); + pBlob = sqlite3_value_blob(argv[0]); + n = sqlite3_value_bytes(argv[0]); + assert( pBlob==sqlite3_value_blob(argv[0]) ); /* No encoding change */ + z = zHex = contextMalloc(context, ((i64)n)*2 + 1); + if( zHex ){ + for(i=0; i>4)&0xf]; + *(z++) = hexdigits[c&0xf]; + } + *z = 0; + sqlite3_result_text(context, zHex, n*2, sqlite3_free); + } +} + +/* +** The zeroblob(N) function returns a zero-filled blob of size N bytes. +*/ +static void zeroblobFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + i64 n; + int rc; + assert( argc==1 ); + UNUSED_PARAMETER(argc); + n = sqlite3_value_int64(argv[0]); + if( n<0 ) n = 0; + rc = sqlite3_result_zeroblob64(context, n); /* IMP: R-00293-64994 */ + if( rc ){ + sqlite3_result_error_code(context, rc); + } +} + +/* +** The replace() function. Three arguments are all strings: call +** them A, B, and C. The result is also a string which is derived +** from A by replacing every occurrence of B with C. The match +** must be exact. Collating sequences are not used. +*/ +static void replaceFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + const unsigned char *zStr; /* The input string A */ + const unsigned char *zPattern; /* The pattern string B */ + const unsigned char *zRep; /* The replacement string C */ + unsigned char *zOut; /* The output */ + int nStr; /* Size of zStr */ + int nPattern; /* Size of zPattern */ + int nRep; /* Size of zRep */ + i64 nOut; /* Maximum size of zOut */ + int loopLimit; /* Last zStr[] that might match zPattern[] */ + int i, j; /* Loop counters */ + unsigned cntExpand; /* Number zOut expansions */ + sqlite3 *db = sqlite3_context_db_handle(context); + + assert( argc==3 ); + UNUSED_PARAMETER(argc); + zStr = sqlite3_value_text(argv[0]); + if( zStr==0 ) return; + nStr = sqlite3_value_bytes(argv[0]); + assert( zStr==sqlite3_value_text(argv[0]) ); /* No encoding change */ + zPattern = sqlite3_value_text(argv[1]); + if( zPattern==0 ){ + assert( sqlite3_value_type(argv[1])==SQLITE_NULL + || sqlite3_context_db_handle(context)->mallocFailed ); + return; + } + if( zPattern[0]==0 ){ + assert( sqlite3_value_type(argv[1])!=SQLITE_NULL ); + sqlite3_result_value(context, argv[0]); + return; + } + nPattern = sqlite3_value_bytes(argv[1]); + assert( zPattern==sqlite3_value_text(argv[1]) ); /* No encoding change */ + zRep = sqlite3_value_text(argv[2]); + if( zRep==0 ) return; + nRep = sqlite3_value_bytes(argv[2]); + assert( zRep==sqlite3_value_text(argv[2]) ); + nOut = nStr + 1; + assert( nOutnPattern ){ + nOut += nRep - nPattern; + testcase( nOut-1==db->aLimit[SQLITE_LIMIT_LENGTH] ); + testcase( nOut-2==db->aLimit[SQLITE_LIMIT_LENGTH] ); + if( nOut-1>db->aLimit[SQLITE_LIMIT_LENGTH] ){ + sqlite3_result_error_toobig(context); + sqlite3_free(zOut); + return; + } + cntExpand++; + if( (cntExpand&(cntExpand-1))==0 ){ + /* Grow the size of the output buffer only on substitutions + ** whose index is a power of two: 1, 2, 4, 8, 16, 32, ... */ + u8 *zOld; + zOld = zOut; + zOut = sqlite3_realloc64(zOut, (int)nOut + (nOut - nStr - 1)); + if( zOut==0 ){ + sqlite3_result_error_nomem(context); + sqlite3_free(zOld); + return; + } + } + } + memcpy(&zOut[j], zRep, nRep); + j += nRep; + i += nPattern-1; + } + } + assert( j+nStr-i+1<=nOut ); + memcpy(&zOut[j], &zStr[i], nStr-i); + j += nStr - i; + assert( j<=nOut ); + zOut[j] = 0; + sqlite3_result_text(context, (char*)zOut, j, sqlite3_free); +} + +/* +** Implementation of the TRIM(), LTRIM(), and RTRIM() functions. +** The userdata is 0x1 for left trim, 0x2 for right trim, 0x3 for both. +*/ +static void trimFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + const unsigned char *zIn; /* Input string */ + const unsigned char *zCharSet; /* Set of characters to trim */ + int nIn; /* Number of bytes in input */ + int flags; /* 1: trimleft 2: trimright 3: trim */ + int i; /* Loop counter */ + unsigned char *aLen = 0; /* Length of each character in zCharSet */ + unsigned char **azChar = 0; /* Individual characters in zCharSet */ + int nChar; /* Number of characters in zCharSet */ + + if( sqlite3_value_type(argv[0])==SQLITE_NULL ){ + return; + } + zIn = sqlite3_value_text(argv[0]); + if( zIn==0 ) return; + nIn = sqlite3_value_bytes(argv[0]); + assert( zIn==sqlite3_value_text(argv[0]) ); + if( argc==1 ){ + static const unsigned char lenOne[] = { 1 }; + static unsigned char * const azOne[] = { (u8*)" " }; + nChar = 1; + aLen = (u8*)lenOne; + azChar = (unsigned char **)azOne; + zCharSet = 0; + }else if( (zCharSet = sqlite3_value_text(argv[1]))==0 ){ + return; + }else{ + const unsigned char *z; + for(z=zCharSet, nChar=0; *z; nChar++){ + SQLITE_SKIP_UTF8(z); + } + if( nChar>0 ){ + azChar = contextMalloc(context, ((i64)nChar)*(sizeof(char*)+1)); + if( azChar==0 ){ + return; + } + aLen = (unsigned char*)&azChar[nChar]; + for(z=zCharSet, nChar=0; *z; nChar++){ + azChar[nChar] = (unsigned char *)z; + SQLITE_SKIP_UTF8(z); + aLen[nChar] = (u8)(z - azChar[nChar]); + } + } + } + if( nChar>0 ){ + flags = SQLITE_PTR_TO_INT(sqlite3_user_data(context)); + if( flags & 1 ){ + while( nIn>0 ){ + int len = 0; + for(i=0; i=nChar ) break; + zIn += len; + nIn -= len; + } + } + if( flags & 2 ){ + while( nIn>0 ){ + int len = 0; + for(i=0; i=nChar ) break; + nIn -= len; + } + } + if( zCharSet ){ + sqlite3_free(azChar); + } + } + sqlite3_result_text(context, (char*)zIn, nIn, SQLITE_TRANSIENT); +} + + +#ifdef SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION +/* +** The "unknown" function is automatically substituted in place of +** any unrecognized function name when doing an EXPLAIN or EXPLAIN QUERY PLAN +** when the SQLITE_ENABLE_UNKNOWN_FUNCTION compile-time option is used. +** When the "sqlite3" command-line shell is built using this functionality, +** that allows an EXPLAIN or EXPLAIN QUERY PLAN for complex queries +** involving application-defined functions to be examined in a generic +** sqlite3 shell. +*/ +static void unknownFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + /* no-op */ +} +#endif /*SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION*/ + + +/* IMP: R-25361-16150 This function is omitted from SQLite by default. It +** is only available if the SQLITE_SOUNDEX compile-time option is used +** when SQLite is built. +*/ +#ifdef SQLITE_SOUNDEX +/* +** Compute the soundex encoding of a word. +** +** IMP: R-59782-00072 The soundex(X) function returns a string that is the +** soundex encoding of the string X. +*/ +static void soundexFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + char zResult[8]; + const u8 *zIn; + int i, j; + static const unsigned char iCode[] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1, 2, 3, 0, 1, 2, 0, 0, 2, 2, 4, 5, 5, 0, + 1, 2, 6, 2, 3, 0, 1, 0, 2, 0, 2, 0, 0, 0, 0, 0, + 0, 0, 1, 2, 3, 0, 1, 2, 0, 0, 2, 2, 4, 5, 5, 0, + 1, 2, 6, 2, 3, 0, 1, 0, 2, 0, 2, 0, 0, 0, 0, 0, + }; + assert( argc==1 ); + zIn = (u8*)sqlite3_value_text(argv[0]); + if( zIn==0 ) zIn = (u8*)""; + for(i=0; zIn[i] && !sqlite3Isalpha(zIn[i]); i++){} + if( zIn[i] ){ + u8 prevcode = iCode[zIn[i]&0x7f]; + zResult[0] = sqlite3Toupper(zIn[i]); + for(j=1; j<4 && zIn[i]; i++){ + int code = iCode[zIn[i]&0x7f]; + if( code>0 ){ + if( code!=prevcode ){ + prevcode = code; + zResult[j++] = code + '0'; + } + }else{ + prevcode = 0; + } + } + while( j<4 ){ + zResult[j++] = '0'; + } + zResult[j] = 0; + sqlite3_result_text(context, zResult, 4, SQLITE_TRANSIENT); + }else{ + /* IMP: R-64894-50321 The string "?000" is returned if the argument + ** is NULL or contains no ASCII alphabetic characters. */ + sqlite3_result_text(context, "?000", 4, SQLITE_STATIC); + } +} +#endif /* SQLITE_SOUNDEX */ + +#ifndef SQLITE_OMIT_LOAD_EXTENSION +/* +** A function that loads a shared-library extension then returns NULL. +*/ +static void loadExt(sqlite3_context *context, int argc, sqlite3_value **argv){ + const char *zFile = (const char *)sqlite3_value_text(argv[0]); + const char *zProc; + sqlite3 *db = sqlite3_context_db_handle(context); + char *zErrMsg = 0; + + /* Disallow the load_extension() SQL function unless the SQLITE_LoadExtFunc + ** flag is set. See the sqlite3_enable_load_extension() API. + */ + if( (db->flags & SQLITE_LoadExtFunc)==0 ){ + sqlite3_result_error(context, "not authorized", -1); + return; + } + + if( argc==2 ){ + zProc = (const char *)sqlite3_value_text(argv[1]); + }else{ + zProc = 0; + } + if( zFile && sqlite3_load_extension(db, zFile, zProc, &zErrMsg) ){ + sqlite3_result_error(context, zErrMsg, -1); + sqlite3_free(zErrMsg); + } +} +#endif + + +/* +** An instance of the following structure holds the context of a +** sum() or avg() aggregate computation. +*/ +typedef struct SumCtx SumCtx; +struct SumCtx { + double rSum; /* Floating point sum */ + i64 iSum; /* Integer sum */ + i64 cnt; /* Number of elements summed */ + u8 overflow; /* True if integer overflow seen */ + u8 approx; /* True if non-integer value was input to the sum */ +}; + +/* +** Routines used to compute the sum, average, and total. +** +** The SUM() function follows the (broken) SQL standard which means +** that it returns NULL if it sums over no inputs. TOTAL returns +** 0.0 in that case. In addition, TOTAL always returns a float where +** SUM might return an integer if it never encounters a floating point +** value. TOTAL never fails, but SUM might through an exception if +** it overflows an integer. +*/ +static void sumStep(sqlite3_context *context, int argc, sqlite3_value **argv){ + SumCtx *p; + int type; + assert( argc==1 ); + UNUSED_PARAMETER(argc); + p = sqlite3_aggregate_context(context, sizeof(*p)); + type = sqlite3_value_numeric_type(argv[0]); + if( p && type!=SQLITE_NULL ){ + p->cnt++; + if( type==SQLITE_INTEGER ){ + i64 v = sqlite3_value_int64(argv[0]); + p->rSum += v; + if( (p->approx|p->overflow)==0 && sqlite3AddInt64(&p->iSum, v) ){ + p->approx = p->overflow = 1; + } + }else{ + p->rSum += sqlite3_value_double(argv[0]); + p->approx = 1; + } + } +} +#ifndef SQLITE_OMIT_WINDOWFUNC +static void sumInverse(sqlite3_context *context, int argc, sqlite3_value**argv){ + SumCtx *p; + int type; + assert( argc==1 ); + UNUSED_PARAMETER(argc); + p = sqlite3_aggregate_context(context, sizeof(*p)); + type = sqlite3_value_numeric_type(argv[0]); + /* p is always non-NULL because sumStep() will have been called first + ** to initialize it */ + if( ALWAYS(p) && type!=SQLITE_NULL ){ + assert( p->cnt>0 ); + p->cnt--; + assert( type==SQLITE_INTEGER || p->approx ); + if( type==SQLITE_INTEGER && p->approx==0 ){ + i64 v = sqlite3_value_int64(argv[0]); + p->rSum -= v; + p->iSum -= v; + }else{ + p->rSum -= sqlite3_value_double(argv[0]); + } + } +} +#else +# define sumInverse 0 +#endif /* SQLITE_OMIT_WINDOWFUNC */ +static void sumFinalize(sqlite3_context *context){ + SumCtx *p; + p = sqlite3_aggregate_context(context, 0); + if( p && p->cnt>0 ){ + if( p->overflow ){ + sqlite3_result_error(context,"integer overflow",-1); + }else if( p->approx ){ + sqlite3_result_double(context, p->rSum); + }else{ + sqlite3_result_int64(context, p->iSum); + } + } +} +static void avgFinalize(sqlite3_context *context){ + SumCtx *p; + p = sqlite3_aggregate_context(context, 0); + if( p && p->cnt>0 ){ + sqlite3_result_double(context, p->rSum/(double)p->cnt); + } +} +static void totalFinalize(sqlite3_context *context){ + SumCtx *p; + p = sqlite3_aggregate_context(context, 0); + /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */ + sqlite3_result_double(context, p ? p->rSum : (double)0); +} + +/* +** The following structure keeps track of state information for the +** count() aggregate function. +*/ +typedef struct CountCtx CountCtx; +struct CountCtx { + i64 n; +#ifdef SQLITE_DEBUG + int bInverse; /* True if xInverse() ever called */ +#endif +}; + +/* +** Routines to implement the count() aggregate function. +*/ +static void countStep(sqlite3_context *context, int argc, sqlite3_value **argv){ + CountCtx *p; + p = sqlite3_aggregate_context(context, sizeof(*p)); + if( (argc==0 || SQLITE_NULL!=sqlite3_value_type(argv[0])) && p ){ + p->n++; + } + +#ifndef SQLITE_OMIT_DEPRECATED + /* The sqlite3_aggregate_count() function is deprecated. But just to make + ** sure it still operates correctly, verify that its count agrees with our + ** internal count when using count(*) and when the total count can be + ** expressed as a 32-bit integer. */ + assert( argc==1 || p==0 || p->n>0x7fffffff || p->bInverse + || p->n==sqlite3_aggregate_count(context) ); +#endif +} +static void countFinalize(sqlite3_context *context){ + CountCtx *p; + p = sqlite3_aggregate_context(context, 0); + sqlite3_result_int64(context, p ? p->n : 0); +} +#ifndef SQLITE_OMIT_WINDOWFUNC +static void countInverse(sqlite3_context *ctx, int argc, sqlite3_value **argv){ + CountCtx *p; + p = sqlite3_aggregate_context(ctx, sizeof(*p)); + /* p is always non-NULL since countStep() will have been called first */ + if( (argc==0 || SQLITE_NULL!=sqlite3_value_type(argv[0])) && ALWAYS(p) ){ + p->n--; +#ifdef SQLITE_DEBUG + p->bInverse = 1; +#endif + } +} +#else +# define countInverse 0 +#endif /* SQLITE_OMIT_WINDOWFUNC */ + +/* +** Routines to implement min() and max() aggregate functions. +*/ +static void minmaxStep( + sqlite3_context *context, + int NotUsed, + sqlite3_value **argv +){ + Mem *pArg = (Mem *)argv[0]; + Mem *pBest; + UNUSED_PARAMETER(NotUsed); + + pBest = (Mem *)sqlite3_aggregate_context(context, sizeof(*pBest)); + if( !pBest ) return; + + if( sqlite3_value_type(pArg)==SQLITE_NULL ){ + if( pBest->flags ) sqlite3SkipAccumulatorLoad(context); + }else if( pBest->flags ){ + int max; + int cmp; + CollSeq *pColl = sqlite3GetFuncCollSeq(context); + /* This step function is used for both the min() and max() aggregates, + ** the only difference between the two being that the sense of the + ** comparison is inverted. For the max() aggregate, the + ** sqlite3_user_data() function returns (void *)-1. For min() it + ** returns (void *)db, where db is the sqlite3* database pointer. + ** Therefore the next statement sets variable 'max' to 1 for the max() + ** aggregate, or 0 for min(). + */ + max = sqlite3_user_data(context)!=0; + cmp = sqlite3MemCompare(pBest, pArg, pColl); + if( (max && cmp<0) || (!max && cmp>0) ){ + sqlite3VdbeMemCopy(pBest, pArg); + }else{ + sqlite3SkipAccumulatorLoad(context); + } + }else{ + pBest->db = sqlite3_context_db_handle(context); + sqlite3VdbeMemCopy(pBest, pArg); + } +} +static void minMaxValueFinalize(sqlite3_context *context, int bValue){ + sqlite3_value *pRes; + pRes = (sqlite3_value *)sqlite3_aggregate_context(context, 0); + if( pRes ){ + if( pRes->flags ){ + sqlite3_result_value(context, pRes); + } + if( bValue==0 ) sqlite3VdbeMemRelease(pRes); + } +} +#ifndef SQLITE_OMIT_WINDOWFUNC +static void minMaxValue(sqlite3_context *context){ + minMaxValueFinalize(context, 1); +} +#else +# define minMaxValue 0 +#endif /* SQLITE_OMIT_WINDOWFUNC */ +static void minMaxFinalize(sqlite3_context *context){ + minMaxValueFinalize(context, 0); +} + +/* +** group_concat(EXPR, ?SEPARATOR?) +*/ +static void groupConcatStep( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + const char *zVal; + StrAccum *pAccum; + const char *zSep; + int nVal, nSep; + assert( argc==1 || argc==2 ); + if( sqlite3_value_type(argv[0])==SQLITE_NULL ) return; + pAccum = (StrAccum*)sqlite3_aggregate_context(context, sizeof(*pAccum)); + + if( pAccum ){ + sqlite3 *db = sqlite3_context_db_handle(context); + int firstTerm = pAccum->mxAlloc==0; + pAccum->mxAlloc = db->aLimit[SQLITE_LIMIT_LENGTH]; + if( !firstTerm ){ + if( argc==2 ){ + zSep = (char*)sqlite3_value_text(argv[1]); + nSep = sqlite3_value_bytes(argv[1]); + }else{ + zSep = ","; + nSep = 1; + } + if( zSep ) sqlite3_str_append(pAccum, zSep, nSep); + } + zVal = (char*)sqlite3_value_text(argv[0]); + nVal = sqlite3_value_bytes(argv[0]); + if( zVal ) sqlite3_str_append(pAccum, zVal, nVal); + } +} +#ifndef SQLITE_OMIT_WINDOWFUNC +static void groupConcatInverse( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + int n; + StrAccum *pAccum; + assert( argc==1 || argc==2 ); + if( sqlite3_value_type(argv[0])==SQLITE_NULL ) return; + pAccum = (StrAccum*)sqlite3_aggregate_context(context, sizeof(*pAccum)); + /* pAccum is always non-NULL since groupConcatStep() will have always + ** run frist to initialize it */ + if( ALWAYS(pAccum) ){ + n = sqlite3_value_bytes(argv[0]); + if( argc==2 ){ + n += sqlite3_value_bytes(argv[1]); + }else{ + n++; + } + if( n>=(int)pAccum->nChar ){ + pAccum->nChar = 0; + }else{ + pAccum->nChar -= n; + memmove(pAccum->zText, &pAccum->zText[n], pAccum->nChar); + } + if( pAccum->nChar==0 ) pAccum->mxAlloc = 0; + } +} +#else +# define groupConcatInverse 0 +#endif /* SQLITE_OMIT_WINDOWFUNC */ +static void groupConcatFinalize(sqlite3_context *context){ + StrAccum *pAccum; + pAccum = sqlite3_aggregate_context(context, 0); + if( pAccum ){ + if( pAccum->accError==SQLITE_TOOBIG ){ + sqlite3_result_error_toobig(context); + }else if( pAccum->accError==SQLITE_NOMEM ){ + sqlite3_result_error_nomem(context); + }else{ + sqlite3_result_text(context, sqlite3StrAccumFinish(pAccum), -1, + sqlite3_free); + } + } +} +#ifndef SQLITE_OMIT_WINDOWFUNC +static void groupConcatValue(sqlite3_context *context){ + sqlite3_str *pAccum; + pAccum = (sqlite3_str*)sqlite3_aggregate_context(context, 0); + if( pAccum ){ + if( pAccum->accError==SQLITE_TOOBIG ){ + sqlite3_result_error_toobig(context); + }else if( pAccum->accError==SQLITE_NOMEM ){ + sqlite3_result_error_nomem(context); + }else{ + const char *zText = sqlite3_str_value(pAccum); + sqlite3_result_text(context, zText, -1, SQLITE_TRANSIENT); + } + } +} +#else +# define groupConcatValue 0 +#endif /* SQLITE_OMIT_WINDOWFUNC */ + +/* +** This routine does per-connection function registration. Most +** of the built-in functions above are part of the global function set. +** This routine only deals with those that are not global. +*/ +SQLITE_PRIVATE void sqlite3RegisterPerConnectionBuiltinFunctions(sqlite3 *db){ + int rc = sqlite3_overload_function(db, "MATCH", 2); + assert( rc==SQLITE_NOMEM || rc==SQLITE_OK ); + if( rc==SQLITE_NOMEM ){ + sqlite3OomFault(db); + } +} + +/* +** Re-register the built-in LIKE functions. The caseSensitive +** parameter determines whether or not the LIKE operator is case +** sensitive. +*/ +SQLITE_PRIVATE void sqlite3RegisterLikeFunctions(sqlite3 *db, int caseSensitive){ + struct compareInfo *pInfo; + int flags; + if( caseSensitive ){ + pInfo = (struct compareInfo*)&likeInfoAlt; + flags = SQLITE_FUNC_LIKE | SQLITE_FUNC_CASE; + }else{ + pInfo = (struct compareInfo*)&likeInfoNorm; + flags = SQLITE_FUNC_LIKE; + } + sqlite3CreateFunc(db, "like", 2, SQLITE_UTF8, pInfo, likeFunc, 0, 0, 0, 0, 0); + sqlite3CreateFunc(db, "like", 3, SQLITE_UTF8, pInfo, likeFunc, 0, 0, 0, 0, 0); + sqlite3FindFunction(db, "like", 2, SQLITE_UTF8, 0)->funcFlags |= flags; + sqlite3FindFunction(db, "like", 3, SQLITE_UTF8, 0)->funcFlags |= flags; +} + +/* +** pExpr points to an expression which implements a function. If +** it is appropriate to apply the LIKE optimization to that function +** then set aWc[0] through aWc[2] to the wildcard characters and the +** escape character and then return TRUE. If the function is not a +** LIKE-style function then return FALSE. +** +** The expression "a LIKE b ESCAPE c" is only considered a valid LIKE +** operator if c is a string literal that is exactly one byte in length. +** That one byte is stored in aWc[3]. aWc[3] is set to zero if there is +** no ESCAPE clause. +** +** *pIsNocase is set to true if uppercase and lowercase are equivalent for +** the function (default for LIKE). If the function makes the distinction +** between uppercase and lowercase (as does GLOB) then *pIsNocase is set to +** false. +*/ +SQLITE_PRIVATE int sqlite3IsLikeFunction(sqlite3 *db, Expr *pExpr, int *pIsNocase, char *aWc){ + FuncDef *pDef; + int nExpr; + if( pExpr->op!=TK_FUNCTION || !pExpr->x.pList ){ + return 0; + } + assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); + nExpr = pExpr->x.pList->nExpr; + pDef = sqlite3FindFunction(db, pExpr->u.zToken, nExpr, SQLITE_UTF8, 0); + if( NEVER(pDef==0) || (pDef->funcFlags & SQLITE_FUNC_LIKE)==0 ){ + return 0; + } + if( nExpr<3 ){ + aWc[3] = 0; + }else{ + Expr *pEscape = pExpr->x.pList->a[2].pExpr; + char *zEscape; + if( pEscape->op!=TK_STRING ) return 0; + zEscape = pEscape->u.zToken; + if( zEscape[0]==0 || zEscape[1]!=0 ) return 0; + aWc[3] = zEscape[0]; + } + + /* The memcpy() statement assumes that the wildcard characters are + ** the first three statements in the compareInfo structure. The + ** asserts() that follow verify that assumption + */ + memcpy(aWc, pDef->pUserData, 3); + assert( (char*)&likeInfoAlt == (char*)&likeInfoAlt.matchAll ); + assert( &((char*)&likeInfoAlt)[1] == (char*)&likeInfoAlt.matchOne ); + assert( &((char*)&likeInfoAlt)[2] == (char*)&likeInfoAlt.matchSet ); + *pIsNocase = (pDef->funcFlags & SQLITE_FUNC_CASE)==0; + return 1; +} + +/* +** All of the FuncDef structures in the aBuiltinFunc[] array above +** to the global function hash table. This occurs at start-time (as +** a consequence of calling sqlite3_initialize()). +** +** After this routine runs +*/ +SQLITE_PRIVATE void sqlite3RegisterBuiltinFunctions(void){ + /* + ** The following array holds FuncDef structures for all of the functions + ** defined in this file. + ** + ** The array cannot be constant since changes are made to the + ** FuncDef.pHash elements at start-time. The elements of this array + ** are read-only after initialization is complete. + ** + ** For peak efficiency, put the most frequently used function last. + */ + static FuncDef aBuiltinFunc[] = { +#ifdef SQLITE_SOUNDEX + FUNCTION(soundex, 1, 0, 0, soundexFunc ), +#endif +#ifndef SQLITE_OMIT_LOAD_EXTENSION + VFUNCTION(load_extension, 1, 0, 0, loadExt ), + VFUNCTION(load_extension, 2, 0, 0, loadExt ), +#endif +#if SQLITE_USER_AUTHENTICATION + FUNCTION(sqlite_crypt, 2, 0, 0, sqlite3CryptFunc ), +#endif +#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS + DFUNCTION(sqlite_compileoption_used,1, 0, 0, compileoptionusedFunc ), + DFUNCTION(sqlite_compileoption_get, 1, 0, 0, compileoptiongetFunc ), +#endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */ + FUNCTION2(unlikely, 1, 0, 0, noopFunc, SQLITE_FUNC_UNLIKELY), + FUNCTION2(likelihood, 2, 0, 0, noopFunc, SQLITE_FUNC_UNLIKELY), + FUNCTION2(likely, 1, 0, 0, noopFunc, SQLITE_FUNC_UNLIKELY), +#ifdef SQLITE_DEBUG + FUNCTION2(affinity, 1, 0, 0, noopFunc, SQLITE_FUNC_AFFINITY), +#endif +#ifdef SQLITE_ENABLE_OFFSET_SQL_FUNC + FUNCTION2(sqlite_offset, 1, 0, 0, noopFunc, SQLITE_FUNC_OFFSET| + SQLITE_FUNC_TYPEOF), +#endif + FUNCTION(ltrim, 1, 1, 0, trimFunc ), + FUNCTION(ltrim, 2, 1, 0, trimFunc ), + FUNCTION(rtrim, 1, 2, 0, trimFunc ), + FUNCTION(rtrim, 2, 2, 0, trimFunc ), + FUNCTION(trim, 1, 3, 0, trimFunc ), + FUNCTION(trim, 2, 3, 0, trimFunc ), + FUNCTION(min, -1, 0, 1, minmaxFunc ), + FUNCTION(min, 0, 0, 1, 0 ), + WAGGREGATE(min, 1, 0, 1, minmaxStep, minMaxFinalize, minMaxValue, 0, + SQLITE_FUNC_MINMAX ), + FUNCTION(max, -1, 1, 1, minmaxFunc ), + FUNCTION(max, 0, 1, 1, 0 ), + WAGGREGATE(max, 1, 1, 1, minmaxStep, minMaxFinalize, minMaxValue, 0, + SQLITE_FUNC_MINMAX ), + FUNCTION2(typeof, 1, 0, 0, typeofFunc, SQLITE_FUNC_TYPEOF), + FUNCTION2(length, 1, 0, 0, lengthFunc, SQLITE_FUNC_LENGTH), + FUNCTION(instr, 2, 0, 0, instrFunc ), + FUNCTION(printf, -1, 0, 0, printfFunc ), + FUNCTION(unicode, 1, 0, 0, unicodeFunc ), + FUNCTION(char, -1, 0, 0, charFunc ), + FUNCTION(abs, 1, 0, 0, absFunc ), +#ifndef SQLITE_OMIT_FLOATING_POINT + FUNCTION(round, 1, 0, 0, roundFunc ), + FUNCTION(round, 2, 0, 0, roundFunc ), +#endif + FUNCTION(upper, 1, 0, 0, upperFunc ), + FUNCTION(lower, 1, 0, 0, lowerFunc ), + FUNCTION(hex, 1, 0, 0, hexFunc ), + FUNCTION2(ifnull, 2, 0, 0, noopFunc, SQLITE_FUNC_COALESCE), + VFUNCTION(random, 0, 0, 0, randomFunc ), + VFUNCTION(randomblob, 1, 0, 0, randomBlob ), + FUNCTION(nullif, 2, 0, 1, nullifFunc ), + DFUNCTION(sqlite_version, 0, 0, 0, versionFunc ), + DFUNCTION(sqlite_source_id, 0, 0, 0, sourceidFunc ), + FUNCTION(sqlite_log, 2, 0, 0, errlogFunc ), + FUNCTION(quote, 1, 0, 0, quoteFunc ), + VFUNCTION(last_insert_rowid, 0, 0, 0, last_insert_rowid), + VFUNCTION(changes, 0, 0, 0, changes ), + VFUNCTION(total_changes, 0, 0, 0, total_changes ), + FUNCTION(replace, 3, 0, 0, replaceFunc ), + FUNCTION(zeroblob, 1, 0, 0, zeroblobFunc ), + FUNCTION(substr, 2, 0, 0, substrFunc ), + FUNCTION(substr, 3, 0, 0, substrFunc ), + WAGGREGATE(sum, 1,0,0, sumStep, sumFinalize, sumFinalize, sumInverse, 0), + WAGGREGATE(total, 1,0,0, sumStep,totalFinalize,totalFinalize,sumInverse, 0), + WAGGREGATE(avg, 1,0,0, sumStep, avgFinalize, avgFinalize, sumInverse, 0), + WAGGREGATE(count, 0,0,0, countStep, + countFinalize, countFinalize, countInverse, SQLITE_FUNC_COUNT ), + WAGGREGATE(count, 1,0,0, countStep, + countFinalize, countFinalize, countInverse, 0 ), + WAGGREGATE(group_concat, 1, 0, 0, groupConcatStep, + groupConcatFinalize, groupConcatValue, groupConcatInverse, 0), + WAGGREGATE(group_concat, 2, 0, 0, groupConcatStep, + groupConcatFinalize, groupConcatValue, groupConcatInverse, 0), + + LIKEFUNC(glob, 2, &globInfo, SQLITE_FUNC_LIKE|SQLITE_FUNC_CASE), +#ifdef SQLITE_CASE_SENSITIVE_LIKE + LIKEFUNC(like, 2, &likeInfoAlt, SQLITE_FUNC_LIKE|SQLITE_FUNC_CASE), + LIKEFUNC(like, 3, &likeInfoAlt, SQLITE_FUNC_LIKE|SQLITE_FUNC_CASE), +#else + LIKEFUNC(like, 2, &likeInfoNorm, SQLITE_FUNC_LIKE), + LIKEFUNC(like, 3, &likeInfoNorm, SQLITE_FUNC_LIKE), +#endif +#ifdef SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION + FUNCTION(unknown, -1, 0, 0, unknownFunc ), +#endif + FUNCTION(coalesce, 1, 0, 0, 0 ), + FUNCTION(coalesce, 0, 0, 0, 0 ), + FUNCTION2(coalesce, -1, 0, 0, noopFunc, SQLITE_FUNC_COALESCE), + }; +#ifndef SQLITE_OMIT_ALTERTABLE + sqlite3AlterFunctions(); +#endif + sqlite3WindowFunctions(); + sqlite3RegisterDateTimeFunctions(); + sqlite3InsertBuiltinFuncs(aBuiltinFunc, ArraySize(aBuiltinFunc)); + +#if 0 /* Enable to print out how the built-in functions are hashed */ + { + int i; + FuncDef *p; + for(i=0; iu.pHash){ + int n = sqlite3Strlen30(p->zName); + int h = p->zName[0] + n; + printf(" %s(%d)", p->zName, h); + } + printf("\n"); + } + } +#endif +} + +/************** End of func.c ************************************************/ +/************** Begin file fkey.c ********************************************/ +/* +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains code used by the compiler to add foreign key +** support to compiled SQL statements. +*/ +/* #include "sqliteInt.h" */ + +#ifndef SQLITE_OMIT_FOREIGN_KEY +#ifndef SQLITE_OMIT_TRIGGER + +/* +** Deferred and Immediate FKs +** -------------------------- +** +** Foreign keys in SQLite come in two flavours: deferred and immediate. +** If an immediate foreign key constraint is violated, +** SQLITE_CONSTRAINT_FOREIGNKEY is returned and the current +** statement transaction rolled back. If a +** deferred foreign key constraint is violated, no action is taken +** immediately. However if the application attempts to commit the +** transaction before fixing the constraint violation, the attempt fails. +** +** Deferred constraints are implemented using a simple counter associated +** with the database handle. The counter is set to zero each time a +** database transaction is opened. Each time a statement is executed +** that causes a foreign key violation, the counter is incremented. Each +** time a statement is executed that removes an existing violation from +** the database, the counter is decremented. When the transaction is +** committed, the commit fails if the current value of the counter is +** greater than zero. This scheme has two big drawbacks: +** +** * When a commit fails due to a deferred foreign key constraint, +** there is no way to tell which foreign constraint is not satisfied, +** or which row it is not satisfied for. +** +** * If the database contains foreign key violations when the +** transaction is opened, this may cause the mechanism to malfunction. +** +** Despite these problems, this approach is adopted as it seems simpler +** than the alternatives. +** +** INSERT operations: +** +** I.1) For each FK for which the table is the child table, search +** the parent table for a match. If none is found increment the +** constraint counter. +** +** I.2) For each FK for which the table is the parent table, +** search the child table for rows that correspond to the new +** row in the parent table. Decrement the counter for each row +** found (as the constraint is now satisfied). +** +** DELETE operations: +** +** D.1) For each FK for which the table is the child table, +** search the parent table for a row that corresponds to the +** deleted row in the child table. If such a row is not found, +** decrement the counter. +** +** D.2) For each FK for which the table is the parent table, search +** the child table for rows that correspond to the deleted row +** in the parent table. For each found increment the counter. +** +** UPDATE operations: +** +** An UPDATE command requires that all 4 steps above are taken, but only +** for FK constraints for which the affected columns are actually +** modified (values must be compared at runtime). +** +** Note that I.1 and D.1 are very similar operations, as are I.2 and D.2. +** This simplifies the implementation a bit. +** +** For the purposes of immediate FK constraints, the OR REPLACE conflict +** resolution is considered to delete rows before the new row is inserted. +** If a delete caused by OR REPLACE violates an FK constraint, an exception +** is thrown, even if the FK constraint would be satisfied after the new +** row is inserted. +** +** Immediate constraints are usually handled similarly. The only difference +** is that the counter used is stored as part of each individual statement +** object (struct Vdbe). If, after the statement has run, its immediate +** constraint counter is greater than zero, +** it returns SQLITE_CONSTRAINT_FOREIGNKEY +** and the statement transaction is rolled back. An exception is an INSERT +** statement that inserts a single row only (no triggers). In this case, +** instead of using a counter, an exception is thrown immediately if the +** INSERT violates a foreign key constraint. This is necessary as such +** an INSERT does not open a statement transaction. +** +** TODO: How should dropping a table be handled? How should renaming a +** table be handled? +** +** +** Query API Notes +** --------------- +** +** Before coding an UPDATE or DELETE row operation, the code-generator +** for those two operations needs to know whether or not the operation +** requires any FK processing and, if so, which columns of the original +** row are required by the FK processing VDBE code (i.e. if FKs were +** implemented using triggers, which of the old.* columns would be +** accessed). No information is required by the code-generator before +** coding an INSERT operation. The functions used by the UPDATE/DELETE +** generation code to query for this information are: +** +** sqlite3FkRequired() - Test to see if FK processing is required. +** sqlite3FkOldmask() - Query for the set of required old.* columns. +** +** +** Externally accessible module functions +** -------------------------------------- +** +** sqlite3FkCheck() - Check for foreign key violations. +** sqlite3FkActions() - Code triggers for ON UPDATE/ON DELETE actions. +** sqlite3FkDelete() - Delete an FKey structure. +*/ + +/* +** VDBE Calling Convention +** ----------------------- +** +** Example: +** +** For the following INSERT statement: +** +** CREATE TABLE t1(a, b INTEGER PRIMARY KEY, c); +** INSERT INTO t1 VALUES(1, 2, 3.1); +** +** Register (x): 2 (type integer) +** Register (x+1): 1 (type integer) +** Register (x+2): NULL (type NULL) +** Register (x+3): 3.1 (type real) +*/ + +/* +** A foreign key constraint requires that the key columns in the parent +** table are collectively subject to a UNIQUE or PRIMARY KEY constraint. +** Given that pParent is the parent table for foreign key constraint pFKey, +** search the schema for a unique index on the parent key columns. +** +** If successful, zero is returned. If the parent key is an INTEGER PRIMARY +** KEY column, then output variable *ppIdx is set to NULL. Otherwise, *ppIdx +** is set to point to the unique index. +** +** If the parent key consists of a single column (the foreign key constraint +** is not a composite foreign key), output variable *paiCol is set to NULL. +** Otherwise, it is set to point to an allocated array of size N, where +** N is the number of columns in the parent key. The first element of the +** array is the index of the child table column that is mapped by the FK +** constraint to the parent table column stored in the left-most column +** of index *ppIdx. The second element of the array is the index of the +** child table column that corresponds to the second left-most column of +** *ppIdx, and so on. +** +** If the required index cannot be found, either because: +** +** 1) The named parent key columns do not exist, or +** +** 2) The named parent key columns do exist, but are not subject to a +** UNIQUE or PRIMARY KEY constraint, or +** +** 3) No parent key columns were provided explicitly as part of the +** foreign key definition, and the parent table does not have a +** PRIMARY KEY, or +** +** 4) No parent key columns were provided explicitly as part of the +** foreign key definition, and the PRIMARY KEY of the parent table +** consists of a different number of columns to the child key in +** the child table. +** +** then non-zero is returned, and a "foreign key mismatch" error loaded +** into pParse. If an OOM error occurs, non-zero is returned and the +** pParse->db->mallocFailed flag is set. +*/ +SQLITE_PRIVATE int sqlite3FkLocateIndex( + Parse *pParse, /* Parse context to store any error in */ + Table *pParent, /* Parent table of FK constraint pFKey */ + FKey *pFKey, /* Foreign key to find index for */ + Index **ppIdx, /* OUT: Unique index on parent table */ + int **paiCol /* OUT: Map of index columns in pFKey */ +){ + Index *pIdx = 0; /* Value to return via *ppIdx */ + int *aiCol = 0; /* Value to return via *paiCol */ + int nCol = pFKey->nCol; /* Number of columns in parent key */ + char *zKey = pFKey->aCol[0].zCol; /* Name of left-most parent key column */ + + /* The caller is responsible for zeroing output parameters. */ + assert( ppIdx && *ppIdx==0 ); + assert( !paiCol || *paiCol==0 ); + assert( pParse ); + + /* If this is a non-composite (single column) foreign key, check if it + ** maps to the INTEGER PRIMARY KEY of table pParent. If so, leave *ppIdx + ** and *paiCol set to zero and return early. + ** + ** Otherwise, for a composite foreign key (more than one column), allocate + ** space for the aiCol array (returned via output parameter *paiCol). + ** Non-composite foreign keys do not require the aiCol array. + */ + if( nCol==1 ){ + /* The FK maps to the IPK if any of the following are true: + ** + ** 1) There is an INTEGER PRIMARY KEY column and the FK is implicitly + ** mapped to the primary key of table pParent, or + ** 2) The FK is explicitly mapped to a column declared as INTEGER + ** PRIMARY KEY. + */ + if( pParent->iPKey>=0 ){ + if( !zKey ) return 0; + if( !sqlite3StrICmp(pParent->aCol[pParent->iPKey].zName, zKey) ) return 0; + } + }else if( paiCol ){ + assert( nCol>1 ); + aiCol = (int *)sqlite3DbMallocRawNN(pParse->db, nCol*sizeof(int)); + if( !aiCol ) return 1; + *paiCol = aiCol; + } + + for(pIdx=pParent->pIndex; pIdx; pIdx=pIdx->pNext){ + if( pIdx->nKeyCol==nCol && IsUniqueIndex(pIdx) && pIdx->pPartIdxWhere==0 ){ + /* pIdx is a UNIQUE index (or a PRIMARY KEY) and has the right number + ** of columns. If each indexed column corresponds to a foreign key + ** column of pFKey, then this index is a winner. */ + + if( zKey==0 ){ + /* If zKey is NULL, then this foreign key is implicitly mapped to + ** the PRIMARY KEY of table pParent. The PRIMARY KEY index may be + ** identified by the test. */ + if( IsPrimaryKeyIndex(pIdx) ){ + if( aiCol ){ + int i; + for(i=0; iaCol[i].iFrom; + } + break; + } + }else{ + /* If zKey is non-NULL, then this foreign key was declared to + ** map to an explicit list of columns in table pParent. Check if this + ** index matches those columns. Also, check that the index uses + ** the default collation sequences for each column. */ + int i, j; + for(i=0; iaiColumn[i]; /* Index of column in parent tbl */ + const char *zDfltColl; /* Def. collation for column */ + char *zIdxCol; /* Name of indexed column */ + + if( iCol<0 ) break; /* No foreign keys against expression indexes */ + + /* If the index uses a collation sequence that is different from + ** the default collation sequence for the column, this index is + ** unusable. Bail out early in this case. */ + zDfltColl = pParent->aCol[iCol].zColl; + if( !zDfltColl ) zDfltColl = sqlite3StrBINARY; + if( sqlite3StrICmp(pIdx->azColl[i], zDfltColl) ) break; + + zIdxCol = pParent->aCol[iCol].zName; + for(j=0; jaCol[j].zCol, zIdxCol)==0 ){ + if( aiCol ) aiCol[i] = pFKey->aCol[j].iFrom; + break; + } + } + if( j==nCol ) break; + } + if( i==nCol ) break; /* pIdx is usable */ + } + } + } + + if( !pIdx ){ + if( !pParse->disableTriggers ){ + sqlite3ErrorMsg(pParse, + "foreign key mismatch - \"%w\" referencing \"%w\"", + pFKey->pFrom->zName, pFKey->zTo); + } + sqlite3DbFree(pParse->db, aiCol); + return 1; + } + + *ppIdx = pIdx; + return 0; +} + +/* +** This function is called when a row is inserted into or deleted from the +** child table of foreign key constraint pFKey. If an SQL UPDATE is executed +** on the child table of pFKey, this function is invoked twice for each row +** affected - once to "delete" the old row, and then again to "insert" the +** new row. +** +** Each time it is called, this function generates VDBE code to locate the +** row in the parent table that corresponds to the row being inserted into +** or deleted from the child table. If the parent row can be found, no +** special action is taken. Otherwise, if the parent row can *not* be +** found in the parent table: +** +** Operation | FK type | Action taken +** -------------------------------------------------------------------------- +** INSERT immediate Increment the "immediate constraint counter". +** +** DELETE immediate Decrement the "immediate constraint counter". +** +** INSERT deferred Increment the "deferred constraint counter". +** +** DELETE deferred Decrement the "deferred constraint counter". +** +** These operations are identified in the comment at the top of this file +** (fkey.c) as "I.1" and "D.1". +*/ +static void fkLookupParent( + Parse *pParse, /* Parse context */ + int iDb, /* Index of database housing pTab */ + Table *pTab, /* Parent table of FK pFKey */ + Index *pIdx, /* Unique index on parent key columns in pTab */ + FKey *pFKey, /* Foreign key constraint */ + int *aiCol, /* Map from parent key columns to child table columns */ + int regData, /* Address of array containing child table row */ + int nIncr, /* Increment constraint counter by this */ + int isIgnore /* If true, pretend pTab contains all NULL values */ +){ + int i; /* Iterator variable */ + Vdbe *v = sqlite3GetVdbe(pParse); /* Vdbe to add code to */ + int iCur = pParse->nTab - 1; /* Cursor number to use */ + int iOk = sqlite3VdbeMakeLabel(pParse); /* jump here if parent key found */ + + sqlite3VdbeVerifyAbortable(v, + (!pFKey->isDeferred + && !(pParse->db->flags & SQLITE_DeferFKs) + && !pParse->pToplevel + && !pParse->isMultiWrite) ? OE_Abort : OE_Ignore); + + /* If nIncr is less than zero, then check at runtime if there are any + ** outstanding constraints to resolve. If there are not, there is no need + ** to check if deleting this row resolves any outstanding violations. + ** + ** Check if any of the key columns in the child table row are NULL. If + ** any are, then the constraint is considered satisfied. No need to + ** search for a matching row in the parent table. */ + if( nIncr<0 ){ + sqlite3VdbeAddOp2(v, OP_FkIfZero, pFKey->isDeferred, iOk); + VdbeCoverage(v); + } + for(i=0; inCol; i++){ + int iReg = aiCol[i] + regData + 1; + sqlite3VdbeAddOp2(v, OP_IsNull, iReg, iOk); VdbeCoverage(v); + } + + if( isIgnore==0 ){ + if( pIdx==0 ){ + /* If pIdx is NULL, then the parent key is the INTEGER PRIMARY KEY + ** column of the parent table (table pTab). */ + int iMustBeInt; /* Address of MustBeInt instruction */ + int regTemp = sqlite3GetTempReg(pParse); + + /* Invoke MustBeInt to coerce the child key value to an integer (i.e. + ** apply the affinity of the parent key). If this fails, then there + ** is no matching parent key. Before using MustBeInt, make a copy of + ** the value. Otherwise, the value inserted into the child key column + ** will have INTEGER affinity applied to it, which may not be correct. */ + sqlite3VdbeAddOp2(v, OP_SCopy, aiCol[0]+1+regData, regTemp); + iMustBeInt = sqlite3VdbeAddOp2(v, OP_MustBeInt, regTemp, 0); + VdbeCoverage(v); + + /* If the parent table is the same as the child table, and we are about + ** to increment the constraint-counter (i.e. this is an INSERT operation), + ** then check if the row being inserted matches itself. If so, do not + ** increment the constraint-counter. */ + if( pTab==pFKey->pFrom && nIncr==1 ){ + sqlite3VdbeAddOp3(v, OP_Eq, regData, iOk, regTemp); VdbeCoverage(v); + sqlite3VdbeChangeP5(v, SQLITE_NOTNULL); + } + + sqlite3OpenTable(pParse, iCur, iDb, pTab, OP_OpenRead); + sqlite3VdbeAddOp3(v, OP_NotExists, iCur, 0, regTemp); VdbeCoverage(v); + sqlite3VdbeGoto(v, iOk); + sqlite3VdbeJumpHere(v, sqlite3VdbeCurrentAddr(v)-2); + sqlite3VdbeJumpHere(v, iMustBeInt); + sqlite3ReleaseTempReg(pParse, regTemp); + }else{ + int nCol = pFKey->nCol; + int regTemp = sqlite3GetTempRange(pParse, nCol); + int regRec = sqlite3GetTempReg(pParse); + + sqlite3VdbeAddOp3(v, OP_OpenRead, iCur, pIdx->tnum, iDb); + sqlite3VdbeSetP4KeyInfo(pParse, pIdx); + for(i=0; ipFrom && nIncr==1 ){ + int iJump = sqlite3VdbeCurrentAddr(v) + nCol + 1; + for(i=0; iaiColumn[i]+1+regData; + assert( pIdx->aiColumn[i]>=0 ); + assert( aiCol[i]!=pTab->iPKey ); + if( pIdx->aiColumn[i]==pTab->iPKey ){ + /* The parent key is a composite key that includes the IPK column */ + iParent = regData; + } + sqlite3VdbeAddOp3(v, OP_Ne, iChild, iJump, iParent); VdbeCoverage(v); + sqlite3VdbeChangeP5(v, SQLITE_JUMPIFNULL); + } + sqlite3VdbeGoto(v, iOk); + } + + sqlite3VdbeAddOp4(v, OP_MakeRecord, regTemp, nCol, regRec, + sqlite3IndexAffinityStr(pParse->db,pIdx), nCol); + sqlite3VdbeAddOp4Int(v, OP_Found, iCur, iOk, regRec, 0); VdbeCoverage(v); + + sqlite3ReleaseTempReg(pParse, regRec); + sqlite3ReleaseTempRange(pParse, regTemp, nCol); + } + } + + if( !pFKey->isDeferred && !(pParse->db->flags & SQLITE_DeferFKs) + && !pParse->pToplevel + && !pParse->isMultiWrite + ){ + /* Special case: If this is an INSERT statement that will insert exactly + ** one row into the table, raise a constraint immediately instead of + ** incrementing a counter. This is necessary as the VM code is being + ** generated for will not open a statement transaction. */ + assert( nIncr==1 ); + sqlite3HaltConstraint(pParse, SQLITE_CONSTRAINT_FOREIGNKEY, + OE_Abort, 0, P4_STATIC, P5_ConstraintFK); + }else{ + if( nIncr>0 && pFKey->isDeferred==0 ){ + sqlite3MayAbort(pParse); + } + sqlite3VdbeAddOp2(v, OP_FkCounter, pFKey->isDeferred, nIncr); + } + + sqlite3VdbeResolveLabel(v, iOk); + sqlite3VdbeAddOp1(v, OP_Close, iCur); +} + + +/* +** Return an Expr object that refers to a memory register corresponding +** to column iCol of table pTab. +** +** regBase is the first of an array of register that contains the data +** for pTab. regBase itself holds the rowid. regBase+1 holds the first +** column. regBase+2 holds the second column, and so forth. +*/ +static Expr *exprTableRegister( + Parse *pParse, /* Parsing and code generating context */ + Table *pTab, /* The table whose content is at r[regBase]... */ + int regBase, /* Contents of table pTab */ + i16 iCol /* Which column of pTab is desired */ +){ + Expr *pExpr; + Column *pCol; + const char *zColl; + sqlite3 *db = pParse->db; + + pExpr = sqlite3Expr(db, TK_REGISTER, 0); + if( pExpr ){ + if( iCol>=0 && iCol!=pTab->iPKey ){ + pCol = &pTab->aCol[iCol]; + pExpr->iTable = regBase + iCol + 1; + pExpr->affExpr = pCol->affinity; + zColl = pCol->zColl; + if( zColl==0 ) zColl = db->pDfltColl->zName; + pExpr = sqlite3ExprAddCollateString(pParse, pExpr, zColl); + }else{ + pExpr->iTable = regBase; + pExpr->affExpr = SQLITE_AFF_INTEGER; + } + } + return pExpr; +} + +/* +** Return an Expr object that refers to column iCol of table pTab which +** has cursor iCur. +*/ +static Expr *exprTableColumn( + sqlite3 *db, /* The database connection */ + Table *pTab, /* The table whose column is desired */ + int iCursor, /* The open cursor on the table */ + i16 iCol /* The column that is wanted */ +){ + Expr *pExpr = sqlite3Expr(db, TK_COLUMN, 0); + if( pExpr ){ + pExpr->y.pTab = pTab; + pExpr->iTable = iCursor; + pExpr->iColumn = iCol; + } + return pExpr; +} + +/* +** This function is called to generate code executed when a row is deleted +** from the parent table of foreign key constraint pFKey and, if pFKey is +** deferred, when a row is inserted into the same table. When generating +** code for an SQL UPDATE operation, this function may be called twice - +** once to "delete" the old row and once to "insert" the new row. +** +** Parameter nIncr is passed -1 when inserting a row (as this may decrease +** the number of FK violations in the db) or +1 when deleting one (as this +** may increase the number of FK constraint problems). +** +** The code generated by this function scans through the rows in the child +** table that correspond to the parent table row being deleted or inserted. +** For each child row found, one of the following actions is taken: +** +** Operation | FK type | Action taken +** -------------------------------------------------------------------------- +** DELETE immediate Increment the "immediate constraint counter". +** Or, if the ON (UPDATE|DELETE) action is RESTRICT, +** throw a "FOREIGN KEY constraint failed" exception. +** +** INSERT immediate Decrement the "immediate constraint counter". +** +** DELETE deferred Increment the "deferred constraint counter". +** Or, if the ON (UPDATE|DELETE) action is RESTRICT, +** throw a "FOREIGN KEY constraint failed" exception. +** +** INSERT deferred Decrement the "deferred constraint counter". +** +** These operations are identified in the comment at the top of this file +** (fkey.c) as "I.2" and "D.2". +*/ +static void fkScanChildren( + Parse *pParse, /* Parse context */ + SrcList *pSrc, /* The child table to be scanned */ + Table *pTab, /* The parent table */ + Index *pIdx, /* Index on parent covering the foreign key */ + FKey *pFKey, /* The foreign key linking pSrc to pTab */ + int *aiCol, /* Map from pIdx cols to child table cols */ + int regData, /* Parent row data starts here */ + int nIncr /* Amount to increment deferred counter by */ +){ + sqlite3 *db = pParse->db; /* Database handle */ + int i; /* Iterator variable */ + Expr *pWhere = 0; /* WHERE clause to scan with */ + NameContext sNameContext; /* Context used to resolve WHERE clause */ + WhereInfo *pWInfo; /* Context used by sqlite3WhereXXX() */ + int iFkIfZero = 0; /* Address of OP_FkIfZero */ + Vdbe *v = sqlite3GetVdbe(pParse); + + assert( pIdx==0 || pIdx->pTable==pTab ); + assert( pIdx==0 || pIdx->nKeyCol==pFKey->nCol ); + assert( pIdx!=0 || pFKey->nCol==1 ); + assert( pIdx!=0 || HasRowid(pTab) ); + + if( nIncr<0 ){ + iFkIfZero = sqlite3VdbeAddOp2(v, OP_FkIfZero, pFKey->isDeferred, 0); + VdbeCoverage(v); + } + + /* Create an Expr object representing an SQL expression like: + ** + ** = AND = ... + ** + ** The collation sequence used for the comparison should be that of + ** the parent key columns. The affinity of the parent key column should + ** be applied to each child key value before the comparison takes place. + */ + for(i=0; inCol; i++){ + Expr *pLeft; /* Value from parent table row */ + Expr *pRight; /* Column ref to child table */ + Expr *pEq; /* Expression (pLeft = pRight) */ + i16 iCol; /* Index of column in child table */ + const char *zCol; /* Name of column in child table */ + + iCol = pIdx ? pIdx->aiColumn[i] : -1; + pLeft = exprTableRegister(pParse, pTab, regData, iCol); + iCol = aiCol ? aiCol[i] : pFKey->aCol[0].iFrom; + assert( iCol>=0 ); + zCol = pFKey->pFrom->aCol[iCol].zName; + pRight = sqlite3Expr(db, TK_ID, zCol); + pEq = sqlite3PExpr(pParse, TK_EQ, pLeft, pRight); + pWhere = sqlite3ExprAnd(pParse, pWhere, pEq); + } + + /* If the child table is the same as the parent table, then add terms + ** to the WHERE clause that prevent this entry from being scanned. + ** The added WHERE clause terms are like this: + ** + ** $current_rowid!=rowid + ** NOT( $current_a==a AND $current_b==b AND ... ) + ** + ** The first form is used for rowid tables. The second form is used + ** for WITHOUT ROWID tables. In the second form, the *parent* key is + ** (a,b,...). Either the parent or primary key could be used to + ** uniquely identify the current row, but the parent key is more convenient + ** as the required values have already been loaded into registers + ** by the caller. + */ + if( pTab==pFKey->pFrom && nIncr>0 ){ + Expr *pNe; /* Expression (pLeft != pRight) */ + Expr *pLeft; /* Value from parent table row */ + Expr *pRight; /* Column ref to child table */ + if( HasRowid(pTab) ){ + pLeft = exprTableRegister(pParse, pTab, regData, -1); + pRight = exprTableColumn(db, pTab, pSrc->a[0].iCursor, -1); + pNe = sqlite3PExpr(pParse, TK_NE, pLeft, pRight); + }else{ + Expr *pEq, *pAll = 0; + assert( pIdx!=0 ); + for(i=0; inKeyCol; i++){ + i16 iCol = pIdx->aiColumn[i]; + assert( iCol>=0 ); + pLeft = exprTableRegister(pParse, pTab, regData, iCol); + pRight = sqlite3Expr(db, TK_ID, pTab->aCol[iCol].zName); + pEq = sqlite3PExpr(pParse, TK_IS, pLeft, pRight); + pAll = sqlite3ExprAnd(pParse, pAll, pEq); + } + pNe = sqlite3PExpr(pParse, TK_NOT, pAll, 0); + } + pWhere = sqlite3ExprAnd(pParse, pWhere, pNe); + } + + /* Resolve the references in the WHERE clause. */ + memset(&sNameContext, 0, sizeof(NameContext)); + sNameContext.pSrcList = pSrc; + sNameContext.pParse = pParse; + sqlite3ResolveExprNames(&sNameContext, pWhere); + + /* Create VDBE to loop through the entries in pSrc that match the WHERE + ** clause. For each row found, increment either the deferred or immediate + ** foreign key constraint counter. */ + if( pParse->nErr==0 ){ + pWInfo = sqlite3WhereBegin(pParse, pSrc, pWhere, 0, 0, 0, 0); + sqlite3VdbeAddOp2(v, OP_FkCounter, pFKey->isDeferred, nIncr); + if( pWInfo ){ + sqlite3WhereEnd(pWInfo); + } + } + + /* Clean up the WHERE clause constructed above. */ + sqlite3ExprDelete(db, pWhere); + if( iFkIfZero ){ + sqlite3VdbeJumpHere(v, iFkIfZero); + } +} + +/* +** This function returns a linked list of FKey objects (connected by +** FKey.pNextTo) holding all children of table pTab. For example, +** given the following schema: +** +** CREATE TABLE t1(a PRIMARY KEY); +** CREATE TABLE t2(b REFERENCES t1(a); +** +** Calling this function with table "t1" as an argument returns a pointer +** to the FKey structure representing the foreign key constraint on table +** "t2". Calling this function with "t2" as the argument would return a +** NULL pointer (as there are no FK constraints for which t2 is the parent +** table). +*/ +SQLITE_PRIVATE FKey *sqlite3FkReferences(Table *pTab){ + return (FKey *)sqlite3HashFind(&pTab->pSchema->fkeyHash, pTab->zName); +} + +/* +** The second argument is a Trigger structure allocated by the +** fkActionTrigger() routine. This function deletes the Trigger structure +** and all of its sub-components. +** +** The Trigger structure or any of its sub-components may be allocated from +** the lookaside buffer belonging to database handle dbMem. +*/ +static void fkTriggerDelete(sqlite3 *dbMem, Trigger *p){ + if( p ){ + TriggerStep *pStep = p->step_list; + sqlite3ExprDelete(dbMem, pStep->pWhere); + sqlite3ExprListDelete(dbMem, pStep->pExprList); + sqlite3SelectDelete(dbMem, pStep->pSelect); + sqlite3ExprDelete(dbMem, p->pWhen); + sqlite3DbFree(dbMem, p); + } +} + +/* +** This function is called to generate code that runs when table pTab is +** being dropped from the database. The SrcList passed as the second argument +** to this function contains a single entry guaranteed to resolve to +** table pTab. +** +** Normally, no code is required. However, if either +** +** (a) The table is the parent table of a FK constraint, or +** (b) The table is the child table of a deferred FK constraint and it is +** determined at runtime that there are outstanding deferred FK +** constraint violations in the database, +** +** then the equivalent of "DELETE FROM " is executed before dropping +** the table from the database. Triggers are disabled while running this +** DELETE, but foreign key actions are not. +*/ +SQLITE_PRIVATE void sqlite3FkDropTable(Parse *pParse, SrcList *pName, Table *pTab){ + sqlite3 *db = pParse->db; + if( (db->flags&SQLITE_ForeignKeys) && !IsVirtual(pTab) ){ + int iSkip = 0; + Vdbe *v = sqlite3GetVdbe(pParse); + + assert( v ); /* VDBE has already been allocated */ + assert( pTab->pSelect==0 ); /* Not a view */ + if( sqlite3FkReferences(pTab)==0 ){ + /* Search for a deferred foreign key constraint for which this table + ** is the child table. If one cannot be found, return without + ** generating any VDBE code. If one can be found, then jump over + ** the entire DELETE if there are no outstanding deferred constraints + ** when this statement is run. */ + FKey *p; + for(p=pTab->pFKey; p; p=p->pNextFrom){ + if( p->isDeferred || (db->flags & SQLITE_DeferFKs) ) break; + } + if( !p ) return; + iSkip = sqlite3VdbeMakeLabel(pParse); + sqlite3VdbeAddOp2(v, OP_FkIfZero, 1, iSkip); VdbeCoverage(v); + } + + pParse->disableTriggers = 1; + sqlite3DeleteFrom(pParse, sqlite3SrcListDup(db, pName, 0), 0, 0, 0); + pParse->disableTriggers = 0; + + /* If the DELETE has generated immediate foreign key constraint + ** violations, halt the VDBE and return an error at this point, before + ** any modifications to the schema are made. This is because statement + ** transactions are not able to rollback schema changes. + ** + ** If the SQLITE_DeferFKs flag is set, then this is not required, as + ** the statement transaction will not be rolled back even if FK + ** constraints are violated. + */ + if( (db->flags & SQLITE_DeferFKs)==0 ){ + sqlite3VdbeVerifyAbortable(v, OE_Abort); + sqlite3VdbeAddOp2(v, OP_FkIfZero, 0, sqlite3VdbeCurrentAddr(v)+2); + VdbeCoverage(v); + sqlite3HaltConstraint(pParse, SQLITE_CONSTRAINT_FOREIGNKEY, + OE_Abort, 0, P4_STATIC, P5_ConstraintFK); + } + + if( iSkip ){ + sqlite3VdbeResolveLabel(v, iSkip); + } + } +} + + +/* +** The second argument points to an FKey object representing a foreign key +** for which pTab is the child table. An UPDATE statement against pTab +** is currently being processed. For each column of the table that is +** actually updated, the corresponding element in the aChange[] array +** is zero or greater (if a column is unmodified the corresponding element +** is set to -1). If the rowid column is modified by the UPDATE statement +** the bChngRowid argument is non-zero. +** +** This function returns true if any of the columns that are part of the +** child key for FK constraint *p are modified. +*/ +static int fkChildIsModified( + Table *pTab, /* Table being updated */ + FKey *p, /* Foreign key for which pTab is the child */ + int *aChange, /* Array indicating modified columns */ + int bChngRowid /* True if rowid is modified by this update */ +){ + int i; + for(i=0; inCol; i++){ + int iChildKey = p->aCol[i].iFrom; + if( aChange[iChildKey]>=0 ) return 1; + if( iChildKey==pTab->iPKey && bChngRowid ) return 1; + } + return 0; +} + +/* +** The second argument points to an FKey object representing a foreign key +** for which pTab is the parent table. An UPDATE statement against pTab +** is currently being processed. For each column of the table that is +** actually updated, the corresponding element in the aChange[] array +** is zero or greater (if a column is unmodified the corresponding element +** is set to -1). If the rowid column is modified by the UPDATE statement +** the bChngRowid argument is non-zero. +** +** This function returns true if any of the columns that are part of the +** parent key for FK constraint *p are modified. +*/ +static int fkParentIsModified( + Table *pTab, + FKey *p, + int *aChange, + int bChngRowid +){ + int i; + for(i=0; inCol; i++){ + char *zKey = p->aCol[i].zCol; + int iKey; + for(iKey=0; iKeynCol; iKey++){ + if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){ + Column *pCol = &pTab->aCol[iKey]; + if( zKey ){ + if( 0==sqlite3StrICmp(pCol->zName, zKey) ) return 1; + }else if( pCol->colFlags & COLFLAG_PRIMKEY ){ + return 1; + } + } + } + } + return 0; +} + +/* +** Return true if the parser passed as the first argument is being +** used to code a trigger that is really a "SET NULL" action belonging +** to trigger pFKey. +*/ +static int isSetNullAction(Parse *pParse, FKey *pFKey){ + Parse *pTop = sqlite3ParseToplevel(pParse); + if( pTop->pTriggerPrg ){ + Trigger *p = pTop->pTriggerPrg->pTrigger; + if( (p==pFKey->apTrigger[0] && pFKey->aAction[0]==OE_SetNull) + || (p==pFKey->apTrigger[1] && pFKey->aAction[1]==OE_SetNull) + ){ + return 1; + } + } + return 0; +} + +/* +** This function is called when inserting, deleting or updating a row of +** table pTab to generate VDBE code to perform foreign key constraint +** processing for the operation. +** +** For a DELETE operation, parameter regOld is passed the index of the +** first register in an array of (pTab->nCol+1) registers containing the +** rowid of the row being deleted, followed by each of the column values +** of the row being deleted, from left to right. Parameter regNew is passed +** zero in this case. +** +** For an INSERT operation, regOld is passed zero and regNew is passed the +** first register of an array of (pTab->nCol+1) registers containing the new +** row data. +** +** For an UPDATE operation, this function is called twice. Once before +** the original record is deleted from the table using the calling convention +** described for DELETE. Then again after the original record is deleted +** but before the new record is inserted using the INSERT convention. +*/ +SQLITE_PRIVATE void sqlite3FkCheck( + Parse *pParse, /* Parse context */ + Table *pTab, /* Row is being deleted from this table */ + int regOld, /* Previous row data is stored here */ + int regNew, /* New row data is stored here */ + int *aChange, /* Array indicating UPDATEd columns (or 0) */ + int bChngRowid /* True if rowid is UPDATEd */ +){ + sqlite3 *db = pParse->db; /* Database handle */ + FKey *pFKey; /* Used to iterate through FKs */ + int iDb; /* Index of database containing pTab */ + const char *zDb; /* Name of database containing pTab */ + int isIgnoreErrors = pParse->disableTriggers; + + /* Exactly one of regOld and regNew should be non-zero. */ + assert( (regOld==0)!=(regNew==0) ); + + /* If foreign-keys are disabled, this function is a no-op. */ + if( (db->flags&SQLITE_ForeignKeys)==0 ) return; + + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + zDb = db->aDb[iDb].zDbSName; + + /* Loop through all the foreign key constraints for which pTab is the + ** child table (the table that the foreign key definition is part of). */ + for(pFKey=pTab->pFKey; pFKey; pFKey=pFKey->pNextFrom){ + Table *pTo; /* Parent table of foreign key pFKey */ + Index *pIdx = 0; /* Index on key columns in pTo */ + int *aiFree = 0; + int *aiCol; + int iCol; + int i; + int bIgnore = 0; + + if( aChange + && sqlite3_stricmp(pTab->zName, pFKey->zTo)!=0 + && fkChildIsModified(pTab, pFKey, aChange, bChngRowid)==0 + ){ + continue; + } + + /* Find the parent table of this foreign key. Also find a unique index + ** on the parent key columns in the parent table. If either of these + ** schema items cannot be located, set an error in pParse and return + ** early. */ + if( pParse->disableTriggers ){ + pTo = sqlite3FindTable(db, pFKey->zTo, zDb); + }else{ + pTo = sqlite3LocateTable(pParse, 0, pFKey->zTo, zDb); + } + if( !pTo || sqlite3FkLocateIndex(pParse, pTo, pFKey, &pIdx, &aiFree) ){ + assert( isIgnoreErrors==0 || (regOld!=0 && regNew==0) ); + if( !isIgnoreErrors || db->mallocFailed ) return; + if( pTo==0 ){ + /* If isIgnoreErrors is true, then a table is being dropped. In this + ** case SQLite runs a "DELETE FROM xxx" on the table being dropped + ** before actually dropping it in order to check FK constraints. + ** If the parent table of an FK constraint on the current table is + ** missing, behave as if it is empty. i.e. decrement the relevant + ** FK counter for each row of the current table with non-NULL keys. + */ + Vdbe *v = sqlite3GetVdbe(pParse); + int iJump = sqlite3VdbeCurrentAddr(v) + pFKey->nCol + 1; + for(i=0; inCol; i++){ + int iReg = pFKey->aCol[i].iFrom + regOld + 1; + sqlite3VdbeAddOp2(v, OP_IsNull, iReg, iJump); VdbeCoverage(v); + } + sqlite3VdbeAddOp2(v, OP_FkCounter, pFKey->isDeferred, -1); + } + continue; + } + assert( pFKey->nCol==1 || (aiFree && pIdx) ); + + if( aiFree ){ + aiCol = aiFree; + }else{ + iCol = pFKey->aCol[0].iFrom; + aiCol = &iCol; + } + for(i=0; inCol; i++){ + if( aiCol[i]==pTab->iPKey ){ + aiCol[i] = -1; + } + assert( pIdx==0 || pIdx->aiColumn[i]>=0 ); +#ifndef SQLITE_OMIT_AUTHORIZATION + /* Request permission to read the parent key columns. If the + ** authorization callback returns SQLITE_IGNORE, behave as if any + ** values read from the parent table are NULL. */ + if( db->xAuth ){ + int rcauth; + char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName; + rcauth = sqlite3AuthReadCol(pParse, pTo->zName, zCol, iDb); + bIgnore = (rcauth==SQLITE_IGNORE); + } +#endif + } + + /* Take a shared-cache advisory read-lock on the parent table. Allocate + ** a cursor to use to search the unique index on the parent key columns + ** in the parent table. */ + sqlite3TableLock(pParse, iDb, pTo->tnum, 0, pTo->zName); + pParse->nTab++; + + if( regOld!=0 ){ + /* A row is being removed from the child table. Search for the parent. + ** If the parent does not exist, removing the child row resolves an + ** outstanding foreign key constraint violation. */ + fkLookupParent(pParse, iDb, pTo, pIdx, pFKey, aiCol, regOld, -1, bIgnore); + } + if( regNew!=0 && !isSetNullAction(pParse, pFKey) ){ + /* A row is being added to the child table. If a parent row cannot + ** be found, adding the child row has violated the FK constraint. + ** + ** If this operation is being performed as part of a trigger program + ** that is actually a "SET NULL" action belonging to this very + ** foreign key, then omit this scan altogether. As all child key + ** values are guaranteed to be NULL, it is not possible for adding + ** this row to cause an FK violation. */ + fkLookupParent(pParse, iDb, pTo, pIdx, pFKey, aiCol, regNew, +1, bIgnore); + } + + sqlite3DbFree(db, aiFree); + } + + /* Loop through all the foreign key constraints that refer to this table. + ** (the "child" constraints) */ + for(pFKey = sqlite3FkReferences(pTab); pFKey; pFKey=pFKey->pNextTo){ + Index *pIdx = 0; /* Foreign key index for pFKey */ + SrcList *pSrc; + int *aiCol = 0; + + if( aChange && fkParentIsModified(pTab, pFKey, aChange, bChngRowid)==0 ){ + continue; + } + + if( !pFKey->isDeferred && !(db->flags & SQLITE_DeferFKs) + && !pParse->pToplevel && !pParse->isMultiWrite + ){ + assert( regOld==0 && regNew!=0 ); + /* Inserting a single row into a parent table cannot cause (or fix) + ** an immediate foreign key violation. So do nothing in this case. */ + continue; + } + + if( sqlite3FkLocateIndex(pParse, pTab, pFKey, &pIdx, &aiCol) ){ + if( !isIgnoreErrors || db->mallocFailed ) return; + continue; + } + assert( aiCol || pFKey->nCol==1 ); + + /* Create a SrcList structure containing the child table. We need the + ** child table as a SrcList for sqlite3WhereBegin() */ + pSrc = sqlite3SrcListAppend(pParse, 0, 0, 0); + if( pSrc ){ + struct SrcList_item *pItem = pSrc->a; + pItem->pTab = pFKey->pFrom; + pItem->zName = pFKey->pFrom->zName; + pItem->pTab->nTabRef++; + pItem->iCursor = pParse->nTab++; + + if( regNew!=0 ){ + fkScanChildren(pParse, pSrc, pTab, pIdx, pFKey, aiCol, regNew, -1); + } + if( regOld!=0 ){ + int eAction = pFKey->aAction[aChange!=0]; + fkScanChildren(pParse, pSrc, pTab, pIdx, pFKey, aiCol, regOld, 1); + /* If this is a deferred FK constraint, or a CASCADE or SET NULL + ** action applies, then any foreign key violations caused by + ** removing the parent key will be rectified by the action trigger. + ** So do not set the "may-abort" flag in this case. + ** + ** Note 1: If the FK is declared "ON UPDATE CASCADE", then the + ** may-abort flag will eventually be set on this statement anyway + ** (when this function is called as part of processing the UPDATE + ** within the action trigger). + ** + ** Note 2: At first glance it may seem like SQLite could simply omit + ** all OP_FkCounter related scans when either CASCADE or SET NULL + ** applies. The trouble starts if the CASCADE or SET NULL action + ** trigger causes other triggers or action rules attached to the + ** child table to fire. In these cases the fk constraint counters + ** might be set incorrectly if any OP_FkCounter related scans are + ** omitted. */ + if( !pFKey->isDeferred && eAction!=OE_Cascade && eAction!=OE_SetNull ){ + sqlite3MayAbort(pParse); + } + } + pItem->zName = 0; + sqlite3SrcListDelete(db, pSrc); + } + sqlite3DbFree(db, aiCol); + } +} + +#define COLUMN_MASK(x) (((x)>31) ? 0xffffffff : ((u32)1<<(x))) + +/* +** This function is called before generating code to update or delete a +** row contained in table pTab. +*/ +SQLITE_PRIVATE u32 sqlite3FkOldmask( + Parse *pParse, /* Parse context */ + Table *pTab /* Table being modified */ +){ + u32 mask = 0; + if( pParse->db->flags&SQLITE_ForeignKeys ){ + FKey *p; + int i; + for(p=pTab->pFKey; p; p=p->pNextFrom){ + for(i=0; inCol; i++) mask |= COLUMN_MASK(p->aCol[i].iFrom); + } + for(p=sqlite3FkReferences(pTab); p; p=p->pNextTo){ + Index *pIdx = 0; + sqlite3FkLocateIndex(pParse, pTab, p, &pIdx, 0); + if( pIdx ){ + for(i=0; inKeyCol; i++){ + assert( pIdx->aiColumn[i]>=0 ); + mask |= COLUMN_MASK(pIdx->aiColumn[i]); + } + } + } + } + return mask; +} + + +/* +** This function is called before generating code to update or delete a +** row contained in table pTab. If the operation is a DELETE, then +** parameter aChange is passed a NULL value. For an UPDATE, aChange points +** to an array of size N, where N is the number of columns in table pTab. +** If the i'th column is not modified by the UPDATE, then the corresponding +** entry in the aChange[] array is set to -1. If the column is modified, +** the value is 0 or greater. Parameter chngRowid is set to true if the +** UPDATE statement modifies the rowid fields of the table. +** +** If any foreign key processing will be required, this function returns +** non-zero. If there is no foreign key related processing, this function +** returns zero. +** +** For an UPDATE, this function returns 2 if: +** +** * There are any FKs for which pTab is the child and the parent table, or +** * the UPDATE modifies one or more parent keys for which the action is +** not "NO ACTION" (i.e. is CASCADE, SET DEFAULT or SET NULL). +** +** Or, assuming some other foreign key processing is required, 1. +*/ +SQLITE_PRIVATE int sqlite3FkRequired( + Parse *pParse, /* Parse context */ + Table *pTab, /* Table being modified */ + int *aChange, /* Non-NULL for UPDATE operations */ + int chngRowid /* True for UPDATE that affects rowid */ +){ + int eRet = 0; + if( pParse->db->flags&SQLITE_ForeignKeys ){ + if( !aChange ){ + /* A DELETE operation. Foreign key processing is required if the + ** table in question is either the child or parent table for any + ** foreign key constraint. */ + eRet = (sqlite3FkReferences(pTab) || pTab->pFKey); + }else{ + /* This is an UPDATE. Foreign key processing is only required if the + ** operation modifies one or more child or parent key columns. */ + FKey *p; + + /* Check if any child key columns are being modified. */ + for(p=pTab->pFKey; p; p=p->pNextFrom){ + if( 0==sqlite3_stricmp(pTab->zName, p->zTo) ) return 2; + if( fkChildIsModified(pTab, p, aChange, chngRowid) ){ + eRet = 1; + } + } + + /* Check if any parent key columns are being modified. */ + for(p=sqlite3FkReferences(pTab); p; p=p->pNextTo){ + if( fkParentIsModified(pTab, p, aChange, chngRowid) ){ + if( p->aAction[1]!=OE_None ) return 2; + eRet = 1; + } + } + } + } + return eRet; +} + +/* +** This function is called when an UPDATE or DELETE operation is being +** compiled on table pTab, which is the parent table of foreign-key pFKey. +** If the current operation is an UPDATE, then the pChanges parameter is +** passed a pointer to the list of columns being modified. If it is a +** DELETE, pChanges is passed a NULL pointer. +** +** It returns a pointer to a Trigger structure containing a trigger +** equivalent to the ON UPDATE or ON DELETE action specified by pFKey. +** If the action is "NO ACTION" or "RESTRICT", then a NULL pointer is +** returned (these actions require no special handling by the triggers +** sub-system, code for them is created by fkScanChildren()). +** +** For example, if pFKey is the foreign key and pTab is table "p" in +** the following schema: +** +** CREATE TABLE p(pk PRIMARY KEY); +** CREATE TABLE c(ck REFERENCES p ON DELETE CASCADE); +** +** then the returned trigger structure is equivalent to: +** +** CREATE TRIGGER ... DELETE ON p BEGIN +** DELETE FROM c WHERE ck = old.pk; +** END; +** +** The returned pointer is cached as part of the foreign key object. It +** is eventually freed along with the rest of the foreign key object by +** sqlite3FkDelete(). +*/ +static Trigger *fkActionTrigger( + Parse *pParse, /* Parse context */ + Table *pTab, /* Table being updated or deleted from */ + FKey *pFKey, /* Foreign key to get action for */ + ExprList *pChanges /* Change-list for UPDATE, NULL for DELETE */ +){ + sqlite3 *db = pParse->db; /* Database handle */ + int action; /* One of OE_None, OE_Cascade etc. */ + Trigger *pTrigger; /* Trigger definition to return */ + int iAction = (pChanges!=0); /* 1 for UPDATE, 0 for DELETE */ + + action = pFKey->aAction[iAction]; + if( action==OE_Restrict && (db->flags & SQLITE_DeferFKs) ){ + return 0; + } + pTrigger = pFKey->apTrigger[iAction]; + + if( action!=OE_None && !pTrigger ){ + char const *zFrom; /* Name of child table */ + int nFrom; /* Length in bytes of zFrom */ + Index *pIdx = 0; /* Parent key index for this FK */ + int *aiCol = 0; /* child table cols -> parent key cols */ + TriggerStep *pStep = 0; /* First (only) step of trigger program */ + Expr *pWhere = 0; /* WHERE clause of trigger step */ + ExprList *pList = 0; /* Changes list if ON UPDATE CASCADE */ + Select *pSelect = 0; /* If RESTRICT, "SELECT RAISE(...)" */ + int i; /* Iterator variable */ + Expr *pWhen = 0; /* WHEN clause for the trigger */ + + if( sqlite3FkLocateIndex(pParse, pTab, pFKey, &pIdx, &aiCol) ) return 0; + assert( aiCol || pFKey->nCol==1 ); + + for(i=0; inCol; i++){ + Token tOld = { "old", 3 }; /* Literal "old" token */ + Token tNew = { "new", 3 }; /* Literal "new" token */ + Token tFromCol; /* Name of column in child table */ + Token tToCol; /* Name of column in parent table */ + int iFromCol; /* Idx of column in child table */ + Expr *pEq; /* tFromCol = OLD.tToCol */ + + iFromCol = aiCol ? aiCol[i] : pFKey->aCol[0].iFrom; + assert( iFromCol>=0 ); + assert( pIdx!=0 || (pTab->iPKey>=0 && pTab->iPKeynCol) ); + assert( pIdx==0 || pIdx->aiColumn[i]>=0 ); + sqlite3TokenInit(&tToCol, + pTab->aCol[pIdx ? pIdx->aiColumn[i] : pTab->iPKey].zName); + sqlite3TokenInit(&tFromCol, pFKey->pFrom->aCol[iFromCol].zName); + + /* Create the expression "OLD.zToCol = zFromCol". It is important + ** that the "OLD.zToCol" term is on the LHS of the = operator, so + ** that the affinity and collation sequence associated with the + ** parent table are used for the comparison. */ + pEq = sqlite3PExpr(pParse, TK_EQ, + sqlite3PExpr(pParse, TK_DOT, + sqlite3ExprAlloc(db, TK_ID, &tOld, 0), + sqlite3ExprAlloc(db, TK_ID, &tToCol, 0)), + sqlite3ExprAlloc(db, TK_ID, &tFromCol, 0) + ); + pWhere = sqlite3ExprAnd(pParse, pWhere, pEq); + + /* For ON UPDATE, construct the next term of the WHEN clause. + ** The final WHEN clause will be like this: + ** + ** WHEN NOT(old.col1 IS new.col1 AND ... AND old.colN IS new.colN) + */ + if( pChanges ){ + pEq = sqlite3PExpr(pParse, TK_IS, + sqlite3PExpr(pParse, TK_DOT, + sqlite3ExprAlloc(db, TK_ID, &tOld, 0), + sqlite3ExprAlloc(db, TK_ID, &tToCol, 0)), + sqlite3PExpr(pParse, TK_DOT, + sqlite3ExprAlloc(db, TK_ID, &tNew, 0), + sqlite3ExprAlloc(db, TK_ID, &tToCol, 0)) + ); + pWhen = sqlite3ExprAnd(pParse, pWhen, pEq); + } + + if( action!=OE_Restrict && (action!=OE_Cascade || pChanges) ){ + Expr *pNew; + if( action==OE_Cascade ){ + pNew = sqlite3PExpr(pParse, TK_DOT, + sqlite3ExprAlloc(db, TK_ID, &tNew, 0), + sqlite3ExprAlloc(db, TK_ID, &tToCol, 0)); + }else if( action==OE_SetDflt ){ + Expr *pDflt = pFKey->pFrom->aCol[iFromCol].pDflt; + if( pDflt ){ + pNew = sqlite3ExprDup(db, pDflt, 0); + }else{ + pNew = sqlite3ExprAlloc(db, TK_NULL, 0, 0); + } + }else{ + pNew = sqlite3ExprAlloc(db, TK_NULL, 0, 0); + } + pList = sqlite3ExprListAppend(pParse, pList, pNew); + sqlite3ExprListSetName(pParse, pList, &tFromCol, 0); + } + } + sqlite3DbFree(db, aiCol); + + zFrom = pFKey->pFrom->zName; + nFrom = sqlite3Strlen30(zFrom); + + if( action==OE_Restrict ){ + Token tFrom; + Expr *pRaise; + + tFrom.z = zFrom; + tFrom.n = nFrom; + pRaise = sqlite3Expr(db, TK_RAISE, "FOREIGN KEY constraint failed"); + if( pRaise ){ + pRaise->affExpr = OE_Abort; + } + pSelect = sqlite3SelectNew(pParse, + sqlite3ExprListAppend(pParse, 0, pRaise), + sqlite3SrcListAppend(pParse, 0, &tFrom, 0), + pWhere, + 0, 0, 0, 0, 0 + ); + pWhere = 0; + } + + /* Disable lookaside memory allocation */ + db->lookaside.bDisable++; + + pTrigger = (Trigger *)sqlite3DbMallocZero(db, + sizeof(Trigger) + /* struct Trigger */ + sizeof(TriggerStep) + /* Single step in trigger program */ + nFrom + 1 /* Space for pStep->zTarget */ + ); + if( pTrigger ){ + pStep = pTrigger->step_list = (TriggerStep *)&pTrigger[1]; + pStep->zTarget = (char *)&pStep[1]; + memcpy((char *)pStep->zTarget, zFrom, nFrom); + + pStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE); + pStep->pExprList = sqlite3ExprListDup(db, pList, EXPRDUP_REDUCE); + pStep->pSelect = sqlite3SelectDup(db, pSelect, EXPRDUP_REDUCE); + if( pWhen ){ + pWhen = sqlite3PExpr(pParse, TK_NOT, pWhen, 0); + pTrigger->pWhen = sqlite3ExprDup(db, pWhen, EXPRDUP_REDUCE); + } + } + + /* Re-enable the lookaside buffer, if it was disabled earlier. */ + db->lookaside.bDisable--; + + sqlite3ExprDelete(db, pWhere); + sqlite3ExprDelete(db, pWhen); + sqlite3ExprListDelete(db, pList); + sqlite3SelectDelete(db, pSelect); + if( db->mallocFailed==1 ){ + fkTriggerDelete(db, pTrigger); + return 0; + } + assert( pStep!=0 ); + assert( pTrigger!=0 ); + + switch( action ){ + case OE_Restrict: + pStep->op = TK_SELECT; + break; + case OE_Cascade: + if( !pChanges ){ + pStep->op = TK_DELETE; + break; + } + default: + pStep->op = TK_UPDATE; + } + pStep->pTrig = pTrigger; + pTrigger->pSchema = pTab->pSchema; + pTrigger->pTabSchema = pTab->pSchema; + pFKey->apTrigger[iAction] = pTrigger; + pTrigger->op = (pChanges ? TK_UPDATE : TK_DELETE); + } + + return pTrigger; +} + +/* +** This function is called when deleting or updating a row to implement +** any required CASCADE, SET NULL or SET DEFAULT actions. +*/ +SQLITE_PRIVATE void sqlite3FkActions( + Parse *pParse, /* Parse context */ + Table *pTab, /* Table being updated or deleted from */ + ExprList *pChanges, /* Change-list for UPDATE, NULL for DELETE */ + int regOld, /* Address of array containing old row */ + int *aChange, /* Array indicating UPDATEd columns (or 0) */ + int bChngRowid /* True if rowid is UPDATEd */ +){ + /* If foreign-key support is enabled, iterate through all FKs that + ** refer to table pTab. If there is an action associated with the FK + ** for this operation (either update or delete), invoke the associated + ** trigger sub-program. */ + if( pParse->db->flags&SQLITE_ForeignKeys ){ + FKey *pFKey; /* Iterator variable */ + for(pFKey = sqlite3FkReferences(pTab); pFKey; pFKey=pFKey->pNextTo){ + if( aChange==0 || fkParentIsModified(pTab, pFKey, aChange, bChngRowid) ){ + Trigger *pAct = fkActionTrigger(pParse, pTab, pFKey, pChanges); + if( pAct ){ + sqlite3CodeRowTriggerDirect(pParse, pAct, pTab, regOld, OE_Abort, 0); + } + } + } + } +} + +#endif /* ifndef SQLITE_OMIT_TRIGGER */ + +/* +** Free all memory associated with foreign key definitions attached to +** table pTab. Remove the deleted foreign keys from the Schema.fkeyHash +** hash table. +*/ +SQLITE_PRIVATE void sqlite3FkDelete(sqlite3 *db, Table *pTab){ + FKey *pFKey; /* Iterator variable */ + FKey *pNext; /* Copy of pFKey->pNextFrom */ + + assert( db==0 || IsVirtual(pTab) + || sqlite3SchemaMutexHeld(db, 0, pTab->pSchema) ); + for(pFKey=pTab->pFKey; pFKey; pFKey=pNext){ + + /* Remove the FK from the fkeyHash hash table. */ + if( !db || db->pnBytesFreed==0 ){ + if( pFKey->pPrevTo ){ + pFKey->pPrevTo->pNextTo = pFKey->pNextTo; + }else{ + void *p = (void *)pFKey->pNextTo; + const char *z = (p ? pFKey->pNextTo->zTo : pFKey->zTo); + sqlite3HashInsert(&pTab->pSchema->fkeyHash, z, p); + } + if( pFKey->pNextTo ){ + pFKey->pNextTo->pPrevTo = pFKey->pPrevTo; + } + } + + /* EV: R-30323-21917 Each foreign key constraint in SQLite is + ** classified as either immediate or deferred. + */ + assert( pFKey->isDeferred==0 || pFKey->isDeferred==1 ); + + /* Delete any triggers created to implement actions for this FK. */ +#ifndef SQLITE_OMIT_TRIGGER + fkTriggerDelete(db, pFKey->apTrigger[0]); + fkTriggerDelete(db, pFKey->apTrigger[1]); +#endif + + pNext = pFKey->pNextFrom; + sqlite3DbFree(db, pFKey); + } +} +#endif /* ifndef SQLITE_OMIT_FOREIGN_KEY */ + +/************** End of fkey.c ************************************************/ +/************** Begin file insert.c ******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains C code routines that are called by the parser +** to handle INSERT statements in SQLite. +*/ +/* #include "sqliteInt.h" */ + +/* +** Generate code that will +** +** (1) acquire a lock for table pTab then +** (2) open pTab as cursor iCur. +** +** If pTab is a WITHOUT ROWID table, then it is the PRIMARY KEY index +** for that table that is actually opened. +*/ +SQLITE_PRIVATE void sqlite3OpenTable( + Parse *pParse, /* Generate code into this VDBE */ + int iCur, /* The cursor number of the table */ + int iDb, /* The database index in sqlite3.aDb[] */ + Table *pTab, /* The table to be opened */ + int opcode /* OP_OpenRead or OP_OpenWrite */ +){ + Vdbe *v; + assert( !IsVirtual(pTab) ); + v = sqlite3GetVdbe(pParse); + assert( opcode==OP_OpenWrite || opcode==OP_OpenRead ); + sqlite3TableLock(pParse, iDb, pTab->tnum, + (opcode==OP_OpenWrite)?1:0, pTab->zName); + if( HasRowid(pTab) ){ + sqlite3VdbeAddOp4Int(v, opcode, iCur, pTab->tnum, iDb, pTab->nCol); + VdbeComment((v, "%s", pTab->zName)); + }else{ + Index *pPk = sqlite3PrimaryKeyIndex(pTab); + assert( pPk!=0 ); + assert( pPk->tnum==pTab->tnum ); + sqlite3VdbeAddOp3(v, opcode, iCur, pPk->tnum, iDb); + sqlite3VdbeSetP4KeyInfo(pParse, pPk); + VdbeComment((v, "%s", pTab->zName)); + } +} + +/* +** Return a pointer to the column affinity string associated with index +** pIdx. A column affinity string has one character for each column in +** the table, according to the affinity of the column: +** +** Character Column affinity +** ------------------------------ +** 'A' BLOB +** 'B' TEXT +** 'C' NUMERIC +** 'D' INTEGER +** 'F' REAL +** +** An extra 'D' is appended to the end of the string to cover the +** rowid that appears as the last column in every index. +** +** Memory for the buffer containing the column index affinity string +** is managed along with the rest of the Index structure. It will be +** released when sqlite3DeleteIndex() is called. +*/ +SQLITE_PRIVATE const char *sqlite3IndexAffinityStr(sqlite3 *db, Index *pIdx){ + if( !pIdx->zColAff ){ + /* The first time a column affinity string for a particular index is + ** required, it is allocated and populated here. It is then stored as + ** a member of the Index structure for subsequent use. + ** + ** The column affinity string will eventually be deleted by + ** sqliteDeleteIndex() when the Index structure itself is cleaned + ** up. + */ + int n; + Table *pTab = pIdx->pTable; + pIdx->zColAff = (char *)sqlite3DbMallocRaw(0, pIdx->nColumn+1); + if( !pIdx->zColAff ){ + sqlite3OomFault(db); + return 0; + } + for(n=0; nnColumn; n++){ + i16 x = pIdx->aiColumn[n]; + char aff; + if( x>=0 ){ + aff = pTab->aCol[x].affinity; + }else if( x==XN_ROWID ){ + aff = SQLITE_AFF_INTEGER; + }else{ + assert( x==XN_EXPR ); + assert( pIdx->aColExpr!=0 ); + aff = sqlite3ExprAffinity(pIdx->aColExpr->a[n].pExpr); + } + if( affSQLITE_AFF_NUMERIC) aff = SQLITE_AFF_NUMERIC; + pIdx->zColAff[n] = aff; + } + pIdx->zColAff[n] = 0; + } + + return pIdx->zColAff; +} + +/* +** Compute the affinity string for table pTab, if it has not already been +** computed. As an optimization, omit trailing SQLITE_AFF_BLOB affinities. +** +** If the affinity exists (if it is no entirely SQLITE_AFF_BLOB values) and +** if iReg>0 then code an OP_Affinity opcode that will set the affinities +** for register iReg and following. Or if affinities exists and iReg==0, +** then just set the P4 operand of the previous opcode (which should be +** an OP_MakeRecord) to the affinity string. +** +** A column affinity string has one character per column: +** +** Character Column affinity +** ------------------------------ +** 'A' BLOB +** 'B' TEXT +** 'C' NUMERIC +** 'D' INTEGER +** 'E' REAL +*/ +SQLITE_PRIVATE void sqlite3TableAffinity(Vdbe *v, Table *pTab, int iReg){ + int i; + char *zColAff = pTab->zColAff; + if( zColAff==0 ){ + sqlite3 *db = sqlite3VdbeDb(v); + zColAff = (char *)sqlite3DbMallocRaw(0, pTab->nCol+1); + if( !zColAff ){ + sqlite3OomFault(db); + return; + } + + for(i=0; inCol; i++){ + assert( pTab->aCol[i].affinity!=0 ); + zColAff[i] = pTab->aCol[i].affinity; + } + do{ + zColAff[i--] = 0; + }while( i>=0 && zColAff[i]<=SQLITE_AFF_BLOB ); + pTab->zColAff = zColAff; + } + assert( zColAff!=0 ); + i = sqlite3Strlen30NN(zColAff); + if( i ){ + if( iReg ){ + sqlite3VdbeAddOp4(v, OP_Affinity, iReg, i, 0, zColAff, i); + }else{ + sqlite3VdbeChangeP4(v, -1, zColAff, i); + } + } +} + +/* +** Return non-zero if the table pTab in database iDb or any of its indices +** have been opened at any point in the VDBE program. This is used to see if +** a statement of the form "INSERT INTO SELECT ..." can +** run without using a temporary table for the results of the SELECT. +*/ +static int readsTable(Parse *p, int iDb, Table *pTab){ + Vdbe *v = sqlite3GetVdbe(p); + int i; + int iEnd = sqlite3VdbeCurrentAddr(v); +#ifndef SQLITE_OMIT_VIRTUALTABLE + VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0; +#endif + + for(i=1; iopcode==OP_OpenRead && pOp->p3==iDb ){ + Index *pIndex; + int tnum = pOp->p2; + if( tnum==pTab->tnum ){ + return 1; + } + for(pIndex=pTab->pIndex; pIndex; pIndex=pIndex->pNext){ + if( tnum==pIndex->tnum ){ + return 1; + } + } + } +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( pOp->opcode==OP_VOpen && pOp->p4.pVtab==pVTab ){ + assert( pOp->p4.pVtab!=0 ); + assert( pOp->p4type==P4_VTAB ); + return 1; + } +#endif + } + return 0; +} + +#ifndef SQLITE_OMIT_AUTOINCREMENT +/* +** Locate or create an AutoincInfo structure associated with table pTab +** which is in database iDb. Return the register number for the register +** that holds the maximum rowid. Return zero if pTab is not an AUTOINCREMENT +** table. (Also return zero when doing a VACUUM since we do not want to +** update the AUTOINCREMENT counters during a VACUUM.) +** +** There is at most one AutoincInfo structure per table even if the +** same table is autoincremented multiple times due to inserts within +** triggers. A new AutoincInfo structure is created if this is the +** first use of table pTab. On 2nd and subsequent uses, the original +** AutoincInfo structure is used. +** +** Four consecutive registers are allocated: +** +** (1) The name of the pTab table. +** (2) The maximum ROWID of pTab. +** (3) The rowid in sqlite_sequence of pTab +** (4) The original value of the max ROWID in pTab, or NULL if none +** +** The 2nd register is the one that is returned. That is all the +** insert routine needs to know about. +*/ +static int autoIncBegin( + Parse *pParse, /* Parsing context */ + int iDb, /* Index of the database holding pTab */ + Table *pTab /* The table we are writing to */ +){ + int memId = 0; /* Register holding maximum rowid */ + assert( pParse->db->aDb[iDb].pSchema!=0 ); + if( (pTab->tabFlags & TF_Autoincrement)!=0 + && (pParse->db->mDbFlags & DBFLAG_Vacuum)==0 + ){ + Parse *pToplevel = sqlite3ParseToplevel(pParse); + AutoincInfo *pInfo; + Table *pSeqTab = pParse->db->aDb[iDb].pSchema->pSeqTab; + + /* Verify that the sqlite_sequence table exists and is an ordinary + ** rowid table with exactly two columns. + ** Ticket d8dc2b3a58cd5dc2918a1d4acb 2018-05-23 */ + if( pSeqTab==0 + || !HasRowid(pSeqTab) + || IsVirtual(pSeqTab) + || pSeqTab->nCol!=2 + ){ + pParse->nErr++; + pParse->rc = SQLITE_CORRUPT_SEQUENCE; + return 0; + } + + pInfo = pToplevel->pAinc; + while( pInfo && pInfo->pTab!=pTab ){ pInfo = pInfo->pNext; } + if( pInfo==0 ){ + pInfo = sqlite3DbMallocRawNN(pParse->db, sizeof(*pInfo)); + if( pInfo==0 ) return 0; + pInfo->pNext = pToplevel->pAinc; + pToplevel->pAinc = pInfo; + pInfo->pTab = pTab; + pInfo->iDb = iDb; + pToplevel->nMem++; /* Register to hold name of table */ + pInfo->regCtr = ++pToplevel->nMem; /* Max rowid register */ + pToplevel->nMem +=2; /* Rowid in sqlite_sequence + orig max val */ + } + memId = pInfo->regCtr; + } + return memId; +} + +/* +** This routine generates code that will initialize all of the +** register used by the autoincrement tracker. +*/ +SQLITE_PRIVATE void sqlite3AutoincrementBegin(Parse *pParse){ + AutoincInfo *p; /* Information about an AUTOINCREMENT */ + sqlite3 *db = pParse->db; /* The database connection */ + Db *pDb; /* Database only autoinc table */ + int memId; /* Register holding max rowid */ + Vdbe *v = pParse->pVdbe; /* VDBE under construction */ + + /* This routine is never called during trigger-generation. It is + ** only called from the top-level */ + assert( pParse->pTriggerTab==0 ); + assert( sqlite3IsToplevel(pParse) ); + + assert( v ); /* We failed long ago if this is not so */ + for(p = pParse->pAinc; p; p = p->pNext){ + static const int iLn = VDBE_OFFSET_LINENO(2); + static const VdbeOpList autoInc[] = { + /* 0 */ {OP_Null, 0, 0, 0}, + /* 1 */ {OP_Rewind, 0, 10, 0}, + /* 2 */ {OP_Column, 0, 0, 0}, + /* 3 */ {OP_Ne, 0, 9, 0}, + /* 4 */ {OP_Rowid, 0, 0, 0}, + /* 5 */ {OP_Column, 0, 1, 0}, + /* 6 */ {OP_AddImm, 0, 0, 0}, + /* 7 */ {OP_Copy, 0, 0, 0}, + /* 8 */ {OP_Goto, 0, 11, 0}, + /* 9 */ {OP_Next, 0, 2, 0}, + /* 10 */ {OP_Integer, 0, 0, 0}, + /* 11 */ {OP_Close, 0, 0, 0} + }; + VdbeOp *aOp; + pDb = &db->aDb[p->iDb]; + memId = p->regCtr; + assert( sqlite3SchemaMutexHeld(db, 0, pDb->pSchema) ); + sqlite3OpenTable(pParse, 0, p->iDb, pDb->pSchema->pSeqTab, OP_OpenRead); + sqlite3VdbeLoadString(v, memId-1, p->pTab->zName); + aOp = sqlite3VdbeAddOpList(v, ArraySize(autoInc), autoInc, iLn); + if( aOp==0 ) break; + aOp[0].p2 = memId; + aOp[0].p3 = memId+2; + aOp[2].p3 = memId; + aOp[3].p1 = memId-1; + aOp[3].p3 = memId; + aOp[3].p5 = SQLITE_JUMPIFNULL; + aOp[4].p2 = memId+1; + aOp[5].p3 = memId; + aOp[6].p1 = memId; + aOp[7].p2 = memId+2; + aOp[7].p1 = memId; + aOp[10].p2 = memId; + if( pParse->nTab==0 ) pParse->nTab = 1; + } +} + +/* +** Update the maximum rowid for an autoincrement calculation. +** +** This routine should be called when the regRowid register holds a +** new rowid that is about to be inserted. If that new rowid is +** larger than the maximum rowid in the memId memory cell, then the +** memory cell is updated. +*/ +static void autoIncStep(Parse *pParse, int memId, int regRowid){ + if( memId>0 ){ + sqlite3VdbeAddOp2(pParse->pVdbe, OP_MemMax, memId, regRowid); + } +} + +/* +** This routine generates the code needed to write autoincrement +** maximum rowid values back into the sqlite_sequence register. +** Every statement that might do an INSERT into an autoincrement +** table (either directly or through triggers) needs to call this +** routine just before the "exit" code. +*/ +static SQLITE_NOINLINE void autoIncrementEnd(Parse *pParse){ + AutoincInfo *p; + Vdbe *v = pParse->pVdbe; + sqlite3 *db = pParse->db; + + assert( v ); + for(p = pParse->pAinc; p; p = p->pNext){ + static const int iLn = VDBE_OFFSET_LINENO(2); + static const VdbeOpList autoIncEnd[] = { + /* 0 */ {OP_NotNull, 0, 2, 0}, + /* 1 */ {OP_NewRowid, 0, 0, 0}, + /* 2 */ {OP_MakeRecord, 0, 2, 0}, + /* 3 */ {OP_Insert, 0, 0, 0}, + /* 4 */ {OP_Close, 0, 0, 0} + }; + VdbeOp *aOp; + Db *pDb = &db->aDb[p->iDb]; + int iRec; + int memId = p->regCtr; + + iRec = sqlite3GetTempReg(pParse); + assert( sqlite3SchemaMutexHeld(db, 0, pDb->pSchema) ); + sqlite3VdbeAddOp3(v, OP_Le, memId+2, sqlite3VdbeCurrentAddr(v)+7, memId); + VdbeCoverage(v); + sqlite3OpenTable(pParse, 0, p->iDb, pDb->pSchema->pSeqTab, OP_OpenWrite); + aOp = sqlite3VdbeAddOpList(v, ArraySize(autoIncEnd), autoIncEnd, iLn); + if( aOp==0 ) break; + aOp[0].p1 = memId+1; + aOp[1].p2 = memId+1; + aOp[2].p1 = memId-1; + aOp[2].p3 = iRec; + aOp[3].p2 = iRec; + aOp[3].p3 = memId+1; + aOp[3].p5 = OPFLAG_APPEND; + sqlite3ReleaseTempReg(pParse, iRec); + } +} +SQLITE_PRIVATE void sqlite3AutoincrementEnd(Parse *pParse){ + if( pParse->pAinc ) autoIncrementEnd(pParse); +} +#else +/* +** If SQLITE_OMIT_AUTOINCREMENT is defined, then the three routines +** above are all no-ops +*/ +# define autoIncBegin(A,B,C) (0) +# define autoIncStep(A,B,C) +#endif /* SQLITE_OMIT_AUTOINCREMENT */ + + +/* Forward declaration */ +static int xferOptimization( + Parse *pParse, /* Parser context */ + Table *pDest, /* The table we are inserting into */ + Select *pSelect, /* A SELECT statement to use as the data source */ + int onError, /* How to handle constraint errors */ + int iDbDest /* The database of pDest */ +); + +/* +** This routine is called to handle SQL of the following forms: +** +** insert into TABLE (IDLIST) values(EXPRLIST),(EXPRLIST),... +** insert into TABLE (IDLIST) select +** insert into TABLE (IDLIST) default values +** +** The IDLIST following the table name is always optional. If omitted, +** then a list of all (non-hidden) columns for the table is substituted. +** The IDLIST appears in the pColumn parameter. pColumn is NULL if IDLIST +** is omitted. +** +** For the pSelect parameter holds the values to be inserted for the +** first two forms shown above. A VALUES clause is really just short-hand +** for a SELECT statement that omits the FROM clause and everything else +** that follows. If the pSelect parameter is NULL, that means that the +** DEFAULT VALUES form of the INSERT statement is intended. +** +** The code generated follows one of four templates. For a simple +** insert with data coming from a single-row VALUES clause, the code executes +** once straight down through. Pseudo-code follows (we call this +** the "1st template"): +** +** open write cursor to
    and its indices +** put VALUES clause expressions into registers +** write the resulting record into
    +** cleanup +** +** The three remaining templates assume the statement is of the form +** +** INSERT INTO
    SELECT ... +** +** If the SELECT clause is of the restricted form "SELECT * FROM " - +** in other words if the SELECT pulls all columns from a single table +** and there is no WHERE or LIMIT or GROUP BY or ORDER BY clauses, and +** if and are distinct tables but have identical +** schemas, including all the same indices, then a special optimization +** is invoked that copies raw records from over to . +** See the xferOptimization() function for the implementation of this +** template. This is the 2nd template. +** +** open a write cursor to
    +** open read cursor on +** transfer all records in over to
    +** close cursors +** foreach index on
    +** open a write cursor on the
    index +** open a read cursor on the corresponding index +** transfer all records from the read to the write cursors +** close cursors +** end foreach +** +** The 3rd template is for when the second template does not apply +** and the SELECT clause does not read from
    at any time. +** The generated code follows this template: +** +** X <- A +** goto B +** A: setup for the SELECT +** loop over the rows in the SELECT +** load values into registers R..R+n +** yield X +** end loop +** cleanup after the SELECT +** end-coroutine X +** B: open write cursor to
    and its indices +** C: yield X, at EOF goto D +** insert the select result into
    from R..R+n +** goto C +** D: cleanup +** +** The 4th template is used if the insert statement takes its +** values from a SELECT but the data is being inserted into a table +** that is also read as part of the SELECT. In the third form, +** we have to use an intermediate table to store the results of +** the select. The template is like this: +** +** X <- A +** goto B +** A: setup for the SELECT +** loop over the tables in the SELECT +** load value into register R..R+n +** yield X +** end loop +** cleanup after the SELECT +** end co-routine R +** B: open temp table +** L: yield X, at EOF goto M +** insert row from R..R+n into temp table +** goto L +** M: open write cursor to
    and its indices +** rewind temp table +** C: loop over rows of intermediate table +** transfer values form intermediate table into
    +** end loop +** D: cleanup +*/ +SQLITE_PRIVATE void sqlite3Insert( + Parse *pParse, /* Parser context */ + SrcList *pTabList, /* Name of table into which we are inserting */ + Select *pSelect, /* A SELECT statement to use as the data source */ + IdList *pColumn, /* Column names corresponding to IDLIST. */ + int onError, /* How to handle constraint errors */ + Upsert *pUpsert /* ON CONFLICT clauses for upsert, or NULL */ +){ + sqlite3 *db; /* The main database structure */ + Table *pTab; /* The table to insert into. aka TABLE */ + int i, j; /* Loop counters */ + Vdbe *v; /* Generate code into this virtual machine */ + Index *pIdx; /* For looping over indices of the table */ + int nColumn; /* Number of columns in the data */ + int nHidden = 0; /* Number of hidden columns if TABLE is virtual */ + int iDataCur = 0; /* VDBE cursor that is the main data repository */ + int iIdxCur = 0; /* First index cursor */ + int ipkColumn = -1; /* Column that is the INTEGER PRIMARY KEY */ + int endOfLoop; /* Label for the end of the insertion loop */ + int srcTab = 0; /* Data comes from this temporary cursor if >=0 */ + int addrInsTop = 0; /* Jump to label "D" */ + int addrCont = 0; /* Top of insert loop. Label "C" in templates 3 and 4 */ + SelectDest dest; /* Destination for SELECT on rhs of INSERT */ + int iDb; /* Index of database holding TABLE */ + u8 useTempTable = 0; /* Store SELECT results in intermediate table */ + u8 appendFlag = 0; /* True if the insert is likely to be an append */ + u8 withoutRowid; /* 0 for normal table. 1 for WITHOUT ROWID table */ + u8 bIdListInOrder; /* True if IDLIST is in table order */ + ExprList *pList = 0; /* List of VALUES() to be inserted */ + + /* Register allocations */ + int regFromSelect = 0;/* Base register for data coming from SELECT */ + int regAutoinc = 0; /* Register holding the AUTOINCREMENT counter */ + int regRowCount = 0; /* Memory cell used for the row counter */ + int regIns; /* Block of regs holding rowid+data being inserted */ + int regRowid; /* registers holding insert rowid */ + int regData; /* register holding first column to insert */ + int *aRegIdx = 0; /* One register allocated to each index */ + +#ifndef SQLITE_OMIT_TRIGGER + int isView; /* True if attempting to insert into a view */ + Trigger *pTrigger; /* List of triggers on pTab, if required */ + int tmask; /* Mask of trigger times */ +#endif + + db = pParse->db; + if( pParse->nErr || db->mallocFailed ){ + goto insert_cleanup; + } + dest.iSDParm = 0; /* Suppress a harmless compiler warning */ + + /* If the Select object is really just a simple VALUES() list with a + ** single row (the common case) then keep that one row of values + ** and discard the other (unused) parts of the pSelect object + */ + if( pSelect && (pSelect->selFlags & SF_Values)!=0 && pSelect->pPrior==0 ){ + pList = pSelect->pEList; + pSelect->pEList = 0; + sqlite3SelectDelete(db, pSelect); + pSelect = 0; + } + + /* Locate the table into which we will be inserting new information. + */ + assert( pTabList->nSrc==1 ); + pTab = sqlite3SrcListLookup(pParse, pTabList); + if( pTab==0 ){ + goto insert_cleanup; + } + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + assert( iDbnDb ); + if( sqlite3AuthCheck(pParse, SQLITE_INSERT, pTab->zName, 0, + db->aDb[iDb].zDbSName) ){ + goto insert_cleanup; + } + withoutRowid = !HasRowid(pTab); + + /* Figure out if we have any triggers and if the table being + ** inserted into is a view + */ +#ifndef SQLITE_OMIT_TRIGGER + pTrigger = sqlite3TriggersExist(pParse, pTab, TK_INSERT, 0, &tmask); + isView = pTab->pSelect!=0; +#else +# define pTrigger 0 +# define tmask 0 +# define isView 0 +#endif +#ifdef SQLITE_OMIT_VIEW +# undef isView +# define isView 0 +#endif + assert( (pTrigger && tmask) || (pTrigger==0 && tmask==0) ); + + /* If pTab is really a view, make sure it has been initialized. + ** ViewGetColumnNames() is a no-op if pTab is not a view. + */ + if( sqlite3ViewGetColumnNames(pParse, pTab) ){ + goto insert_cleanup; + } + + /* Cannot insert into a read-only table. + */ + if( sqlite3IsReadOnly(pParse, pTab, tmask) ){ + goto insert_cleanup; + } + + /* Allocate a VDBE + */ + v = sqlite3GetVdbe(pParse); + if( v==0 ) goto insert_cleanup; + if( pParse->nested==0 ) sqlite3VdbeCountChanges(v); + sqlite3BeginWriteOperation(pParse, pSelect || pTrigger, iDb); + +#ifndef SQLITE_OMIT_XFER_OPT + /* If the statement is of the form + ** + ** INSERT INTO SELECT * FROM ; + ** + ** Then special optimizations can be applied that make the transfer + ** very fast and which reduce fragmentation of indices. + ** + ** This is the 2nd template. + */ + if( pColumn==0 && xferOptimization(pParse, pTab, pSelect, onError, iDb) ){ + assert( !pTrigger ); + assert( pList==0 ); + goto insert_end; + } +#endif /* SQLITE_OMIT_XFER_OPT */ + + /* If this is an AUTOINCREMENT table, look up the sequence number in the + ** sqlite_sequence table and store it in memory cell regAutoinc. + */ + regAutoinc = autoIncBegin(pParse, iDb, pTab); + + /* Allocate registers for holding the rowid of the new row, + ** the content of the new row, and the assembled row record. + */ + regRowid = regIns = pParse->nMem+1; + pParse->nMem += pTab->nCol + 1; + if( IsVirtual(pTab) ){ + regRowid++; + pParse->nMem++; + } + regData = regRowid+1; + + /* If the INSERT statement included an IDLIST term, then make sure + ** all elements of the IDLIST really are columns of the table and + ** remember the column indices. + ** + ** If the table has an INTEGER PRIMARY KEY column and that column + ** is named in the IDLIST, then record in the ipkColumn variable + ** the index into IDLIST of the primary key column. ipkColumn is + ** the index of the primary key as it appears in IDLIST, not as + ** is appears in the original table. (The index of the INTEGER + ** PRIMARY KEY in the original table is pTab->iPKey.) + */ + bIdListInOrder = (pTab->tabFlags & TF_OOOHidden)==0; + if( pColumn ){ + for(i=0; inId; i++){ + pColumn->a[i].idx = -1; + } + for(i=0; inId; i++){ + for(j=0; jnCol; j++){ + if( sqlite3StrICmp(pColumn->a[i].zName, pTab->aCol[j].zName)==0 ){ + pColumn->a[i].idx = j; + if( i!=j ) bIdListInOrder = 0; + if( j==pTab->iPKey ){ + ipkColumn = i; assert( !withoutRowid ); + } + break; + } + } + if( j>=pTab->nCol ){ + if( sqlite3IsRowid(pColumn->a[i].zName) && !withoutRowid ){ + ipkColumn = i; + bIdListInOrder = 0; + }else{ + sqlite3ErrorMsg(pParse, "table %S has no column named %s", + pTabList, 0, pColumn->a[i].zName); + pParse->checkSchema = 1; + goto insert_cleanup; + } + } + } + } + + /* Figure out how many columns of data are supplied. If the data + ** is coming from a SELECT statement, then generate a co-routine that + ** produces a single row of the SELECT on each invocation. The + ** co-routine is the common header to the 3rd and 4th templates. + */ + if( pSelect ){ + /* Data is coming from a SELECT or from a multi-row VALUES clause. + ** Generate a co-routine to run the SELECT. */ + int regYield; /* Register holding co-routine entry-point */ + int addrTop; /* Top of the co-routine */ + int rc; /* Result code */ + + regYield = ++pParse->nMem; + addrTop = sqlite3VdbeCurrentAddr(v) + 1; + sqlite3VdbeAddOp3(v, OP_InitCoroutine, regYield, 0, addrTop); + sqlite3SelectDestInit(&dest, SRT_Coroutine, regYield); + dest.iSdst = bIdListInOrder ? regData : 0; + dest.nSdst = pTab->nCol; + rc = sqlite3Select(pParse, pSelect, &dest); + regFromSelect = dest.iSdst; + if( rc || db->mallocFailed || pParse->nErr ) goto insert_cleanup; + sqlite3VdbeEndCoroutine(v, regYield); + sqlite3VdbeJumpHere(v, addrTop - 1); /* label B: */ + assert( pSelect->pEList ); + nColumn = pSelect->pEList->nExpr; + + /* Set useTempTable to TRUE if the result of the SELECT statement + ** should be written into a temporary table (template 4). Set to + ** FALSE if each output row of the SELECT can be written directly into + ** the destination table (template 3). + ** + ** A temp table must be used if the table being updated is also one + ** of the tables being read by the SELECT statement. Also use a + ** temp table in the case of row triggers. + */ + if( pTrigger || readsTable(pParse, iDb, pTab) ){ + useTempTable = 1; + } + + if( useTempTable ){ + /* Invoke the coroutine to extract information from the SELECT + ** and add it to a transient table srcTab. The code generated + ** here is from the 4th template: + ** + ** B: open temp table + ** L: yield X, goto M at EOF + ** insert row from R..R+n into temp table + ** goto L + ** M: ... + */ + int regRec; /* Register to hold packed record */ + int regTempRowid; /* Register to hold temp table ROWID */ + int addrL; /* Label "L" */ + + srcTab = pParse->nTab++; + regRec = sqlite3GetTempReg(pParse); + regTempRowid = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp2(v, OP_OpenEphemeral, srcTab, nColumn); + addrL = sqlite3VdbeAddOp1(v, OP_Yield, dest.iSDParm); VdbeCoverage(v); + sqlite3VdbeAddOp3(v, OP_MakeRecord, regFromSelect, nColumn, regRec); + sqlite3VdbeAddOp2(v, OP_NewRowid, srcTab, regTempRowid); + sqlite3VdbeAddOp3(v, OP_Insert, srcTab, regRec, regTempRowid); + sqlite3VdbeGoto(v, addrL); + sqlite3VdbeJumpHere(v, addrL); + sqlite3ReleaseTempReg(pParse, regRec); + sqlite3ReleaseTempReg(pParse, regTempRowid); + } + }else{ + /* This is the case if the data for the INSERT is coming from a + ** single-row VALUES clause + */ + NameContext sNC; + memset(&sNC, 0, sizeof(sNC)); + sNC.pParse = pParse; + srcTab = -1; + assert( useTempTable==0 ); + if( pList ){ + nColumn = pList->nExpr; + if( sqlite3ResolveExprListNames(&sNC, pList) ){ + goto insert_cleanup; + } + }else{ + nColumn = 0; + } + } + + /* If there is no IDLIST term but the table has an integer primary + ** key, the set the ipkColumn variable to the integer primary key + ** column index in the original table definition. + */ + if( pColumn==0 && nColumn>0 ){ + ipkColumn = pTab->iPKey; + } + + /* Make sure the number of columns in the source data matches the number + ** of columns to be inserted into the table. + */ + for(i=0; inCol; i++){ + nHidden += (IsHiddenColumn(&pTab->aCol[i]) ? 1 : 0); + } + if( pColumn==0 && nColumn && nColumn!=(pTab->nCol-nHidden) ){ + sqlite3ErrorMsg(pParse, + "table %S has %d columns but %d values were supplied", + pTabList, 0, pTab->nCol-nHidden, nColumn); + goto insert_cleanup; + } + if( pColumn!=0 && nColumn!=pColumn->nId ){ + sqlite3ErrorMsg(pParse, "%d values for %d columns", nColumn, pColumn->nId); + goto insert_cleanup; + } + + /* Initialize the count of rows to be inserted + */ + if( (db->flags & SQLITE_CountRows)!=0 + && !pParse->nested + && !pParse->pTriggerTab + ){ + regRowCount = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Integer, 0, regRowCount); + } + + /* If this is not a view, open the table and and all indices */ + if( !isView ){ + int nIdx; + nIdx = sqlite3OpenTableAndIndices(pParse, pTab, OP_OpenWrite, 0, -1, 0, + &iDataCur, &iIdxCur); + aRegIdx = sqlite3DbMallocRawNN(db, sizeof(int)*(nIdx+2)); + if( aRegIdx==0 ){ + goto insert_cleanup; + } + for(i=0, pIdx=pTab->pIndex; ipNext, i++){ + assert( pIdx ); + aRegIdx[i] = ++pParse->nMem; + pParse->nMem += pIdx->nColumn; + } + aRegIdx[i] = ++pParse->nMem; /* Register to store the table record */ + } +#ifndef SQLITE_OMIT_UPSERT + if( pUpsert ){ + if( IsVirtual(pTab) ){ + sqlite3ErrorMsg(pParse, "UPSERT not implemented for virtual table \"%s\"", + pTab->zName); + goto insert_cleanup; + } + if( sqlite3HasExplicitNulls(pParse, pUpsert->pUpsertTarget) ){ + goto insert_cleanup; + } + pTabList->a[0].iCursor = iDataCur; + pUpsert->pUpsertSrc = pTabList; + pUpsert->regData = regData; + pUpsert->iDataCur = iDataCur; + pUpsert->iIdxCur = iIdxCur; + if( pUpsert->pUpsertTarget ){ + sqlite3UpsertAnalyzeTarget(pParse, pTabList, pUpsert); + } + } +#endif + + + /* This is the top of the main insertion loop */ + if( useTempTable ){ + /* This block codes the top of loop only. The complete loop is the + ** following pseudocode (template 4): + ** + ** rewind temp table, if empty goto D + ** C: loop over rows of intermediate table + ** transfer values form intermediate table into
    + ** end loop + ** D: ... + */ + addrInsTop = sqlite3VdbeAddOp1(v, OP_Rewind, srcTab); VdbeCoverage(v); + addrCont = sqlite3VdbeCurrentAddr(v); + }else if( pSelect ){ + /* This block codes the top of loop only. The complete loop is the + ** following pseudocode (template 3): + ** + ** C: yield X, at EOF goto D + ** insert the select result into
    from R..R+n + ** goto C + ** D: ... + */ + addrInsTop = addrCont = sqlite3VdbeAddOp1(v, OP_Yield, dest.iSDParm); + VdbeCoverage(v); + } + + /* Run the BEFORE and INSTEAD OF triggers, if there are any + */ + endOfLoop = sqlite3VdbeMakeLabel(pParse); + if( tmask & TRIGGER_BEFORE ){ + int regCols = sqlite3GetTempRange(pParse, pTab->nCol+1); + + /* build the NEW.* reference row. Note that if there is an INTEGER + ** PRIMARY KEY into which a NULL is being inserted, that NULL will be + ** translated into a unique ID for the row. But on a BEFORE trigger, + ** we do not know what the unique ID will be (because the insert has + ** not happened yet) so we substitute a rowid of -1 + */ + if( ipkColumn<0 ){ + sqlite3VdbeAddOp2(v, OP_Integer, -1, regCols); + }else{ + int addr1; + assert( !withoutRowid ); + if( useTempTable ){ + sqlite3VdbeAddOp3(v, OP_Column, srcTab, ipkColumn, regCols); + }else{ + assert( pSelect==0 ); /* Otherwise useTempTable is true */ + sqlite3ExprCode(pParse, pList->a[ipkColumn].pExpr, regCols); + } + addr1 = sqlite3VdbeAddOp1(v, OP_NotNull, regCols); VdbeCoverage(v); + sqlite3VdbeAddOp2(v, OP_Integer, -1, regCols); + sqlite3VdbeJumpHere(v, addr1); + sqlite3VdbeAddOp1(v, OP_MustBeInt, regCols); VdbeCoverage(v); + } + + /* Cannot have triggers on a virtual table. If it were possible, + ** this block would have to account for hidden column. + */ + assert( !IsVirtual(pTab) ); + + /* Create the new column data + */ + for(i=j=0; inCol; i++){ + if( pColumn ){ + for(j=0; jnId; j++){ + if( pColumn->a[j].idx==i ) break; + } + } + if( (!useTempTable && !pList) || (pColumn && j>=pColumn->nId) + || (pColumn==0 && IsOrdinaryHiddenColumn(&pTab->aCol[i])) ){ + sqlite3ExprCode(pParse, pTab->aCol[i].pDflt, regCols+i+1); + }else if( useTempTable ){ + sqlite3VdbeAddOp3(v, OP_Column, srcTab, j, regCols+i+1); + }else{ + assert( pSelect==0 ); /* Otherwise useTempTable is true */ + sqlite3ExprCodeAndCache(pParse, pList->a[j].pExpr, regCols+i+1); + } + if( pColumn==0 && !IsOrdinaryHiddenColumn(&pTab->aCol[i]) ) j++; + } + + /* If this is an INSERT on a view with an INSTEAD OF INSERT trigger, + ** do not attempt any conversions before assembling the record. + ** If this is a real table, attempt conversions as required by the + ** table column affinities. + */ + if( !isView ){ + sqlite3TableAffinity(v, pTab, regCols+1); + } + + /* Fire BEFORE or INSTEAD OF triggers */ + sqlite3CodeRowTrigger(pParse, pTrigger, TK_INSERT, 0, TRIGGER_BEFORE, + pTab, regCols-pTab->nCol-1, onError, endOfLoop); + + sqlite3ReleaseTempRange(pParse, regCols, pTab->nCol+1); + } + + /* Compute the content of the next row to insert into a range of + ** registers beginning at regIns. + */ + if( !isView ){ + if( IsVirtual(pTab) ){ + /* The row that the VUpdate opcode will delete: none */ + sqlite3VdbeAddOp2(v, OP_Null, 0, regIns); + } + if( ipkColumn>=0 ){ + if( useTempTable ){ + sqlite3VdbeAddOp3(v, OP_Column, srcTab, ipkColumn, regRowid); + }else if( pSelect ){ + sqlite3VdbeAddOp2(v, OP_Copy, regFromSelect+ipkColumn, regRowid); + }else{ + Expr *pIpk = pList->a[ipkColumn].pExpr; + if( pIpk->op==TK_NULL && !IsVirtual(pTab) ){ + sqlite3VdbeAddOp3(v, OP_NewRowid, iDataCur, regRowid, regAutoinc); + appendFlag = 1; + }else{ + sqlite3ExprCode(pParse, pList->a[ipkColumn].pExpr, regRowid); + } + } + /* If the PRIMARY KEY expression is NULL, then use OP_NewRowid + ** to generate a unique primary key value. + */ + if( !appendFlag ){ + int addr1; + if( !IsVirtual(pTab) ){ + addr1 = sqlite3VdbeAddOp1(v, OP_NotNull, regRowid); VdbeCoverage(v); + sqlite3VdbeAddOp3(v, OP_NewRowid, iDataCur, regRowid, regAutoinc); + sqlite3VdbeJumpHere(v, addr1); + }else{ + addr1 = sqlite3VdbeCurrentAddr(v); + sqlite3VdbeAddOp2(v, OP_IsNull, regRowid, addr1+2); VdbeCoverage(v); + } + sqlite3VdbeAddOp1(v, OP_MustBeInt, regRowid); VdbeCoverage(v); + } + }else if( IsVirtual(pTab) || withoutRowid ){ + sqlite3VdbeAddOp2(v, OP_Null, 0, regRowid); + }else{ + sqlite3VdbeAddOp3(v, OP_NewRowid, iDataCur, regRowid, regAutoinc); + appendFlag = 1; + } + autoIncStep(pParse, regAutoinc, regRowid); + + /* Compute data for all columns of the new entry, beginning + ** with the first column. + */ + nHidden = 0; + for(i=0; inCol; i++){ + int iRegStore = regRowid+1+i; + if( i==pTab->iPKey ){ + /* The value of the INTEGER PRIMARY KEY column is always a NULL. + ** Whenever this column is read, the rowid will be substituted + ** in its place. Hence, fill this column with a NULL to avoid + ** taking up data space with information that will never be used. + ** As there may be shallow copies of this value, make it a soft-NULL */ + sqlite3VdbeAddOp1(v, OP_SoftNull, iRegStore); + continue; + } + if( pColumn==0 ){ + if( IsHiddenColumn(&pTab->aCol[i]) ){ + j = -1; + nHidden++; + }else{ + j = i - nHidden; + } + }else{ + for(j=0; jnId; j++){ + if( pColumn->a[j].idx==i ) break; + } + } + if( j<0 || nColumn==0 || (pColumn && j>=pColumn->nId) ){ + sqlite3ExprCodeFactorable(pParse, pTab->aCol[i].pDflt, iRegStore); + }else if( useTempTable ){ + sqlite3VdbeAddOp3(v, OP_Column, srcTab, j, iRegStore); + }else if( pSelect ){ + if( regFromSelect!=regData ){ + sqlite3VdbeAddOp2(v, OP_SCopy, regFromSelect+j, iRegStore); + } + }else{ + sqlite3ExprCode(pParse, pList->a[j].pExpr, iRegStore); + } + } + + /* Generate code to check constraints and generate index keys and + ** do the insertion. + */ +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( IsVirtual(pTab) ){ + const char *pVTab = (const char *)sqlite3GetVTable(db, pTab); + sqlite3VtabMakeWritable(pParse, pTab); + sqlite3VdbeAddOp4(v, OP_VUpdate, 1, pTab->nCol+2, regIns, pVTab, P4_VTAB); + sqlite3VdbeChangeP5(v, onError==OE_Default ? OE_Abort : onError); + sqlite3MayAbort(pParse); + }else +#endif + { + int isReplace; /* Set to true if constraints may cause a replace */ + int bUseSeek; /* True to use OPFLAG_SEEKRESULT */ + sqlite3GenerateConstraintChecks(pParse, pTab, aRegIdx, iDataCur, iIdxCur, + regIns, 0, ipkColumn>=0, onError, endOfLoop, &isReplace, 0, pUpsert + ); + sqlite3FkCheck(pParse, pTab, 0, regIns, 0, 0); + + /* Set the OPFLAG_USESEEKRESULT flag if either (a) there are no REPLACE + ** constraints or (b) there are no triggers and this table is not a + ** parent table in a foreign key constraint. It is safe to set the + ** flag in the second case as if any REPLACE constraint is hit, an + ** OP_Delete or OP_IdxDelete instruction will be executed on each + ** cursor that is disturbed. And these instructions both clear the + ** VdbeCursor.seekResult variable, disabling the OPFLAG_USESEEKRESULT + ** functionality. */ + bUseSeek = (isReplace==0 || (pTrigger==0 && + ((db->flags & SQLITE_ForeignKeys)==0 || sqlite3FkReferences(pTab)==0) + )); + sqlite3CompleteInsertion(pParse, pTab, iDataCur, iIdxCur, + regIns, aRegIdx, 0, appendFlag, bUseSeek + ); + } + } + + /* Update the count of rows that are inserted + */ + if( regRowCount ){ + sqlite3VdbeAddOp2(v, OP_AddImm, regRowCount, 1); + } + + if( pTrigger ){ + /* Code AFTER triggers */ + sqlite3CodeRowTrigger(pParse, pTrigger, TK_INSERT, 0, TRIGGER_AFTER, + pTab, regData-2-pTab->nCol, onError, endOfLoop); + } + + /* The bottom of the main insertion loop, if the data source + ** is a SELECT statement. + */ + sqlite3VdbeResolveLabel(v, endOfLoop); + if( useTempTable ){ + sqlite3VdbeAddOp2(v, OP_Next, srcTab, addrCont); VdbeCoverage(v); + sqlite3VdbeJumpHere(v, addrInsTop); + sqlite3VdbeAddOp1(v, OP_Close, srcTab); + }else if( pSelect ){ + sqlite3VdbeGoto(v, addrCont); + sqlite3VdbeJumpHere(v, addrInsTop); + } + +insert_end: + /* Update the sqlite_sequence table by storing the content of the + ** maximum rowid counter values recorded while inserting into + ** autoincrement tables. + */ + if( pParse->nested==0 && pParse->pTriggerTab==0 ){ + sqlite3AutoincrementEnd(pParse); + } + + /* + ** Return the number of rows inserted. If this routine is + ** generating code because of a call to sqlite3NestedParse(), do not + ** invoke the callback function. + */ + if( regRowCount ){ + sqlite3VdbeAddOp2(v, OP_ResultRow, regRowCount, 1); + sqlite3VdbeSetNumCols(v, 1); + sqlite3VdbeSetColName(v, 0, COLNAME_NAME, "rows inserted", SQLITE_STATIC); + } + +insert_cleanup: + sqlite3SrcListDelete(db, pTabList); + sqlite3ExprListDelete(db, pList); + sqlite3UpsertDelete(db, pUpsert); + sqlite3SelectDelete(db, pSelect); + sqlite3IdListDelete(db, pColumn); + sqlite3DbFree(db, aRegIdx); +} + +/* Make sure "isView" and other macros defined above are undefined. Otherwise +** they may interfere with compilation of other functions in this file +** (or in another file, if this file becomes part of the amalgamation). */ +#ifdef isView + #undef isView +#endif +#ifdef pTrigger + #undef pTrigger +#endif +#ifdef tmask + #undef tmask +#endif + +/* +** Meanings of bits in of pWalker->eCode for +** sqlite3ExprReferencesUpdatedColumn() +*/ +#define CKCNSTRNT_COLUMN 0x01 /* CHECK constraint uses a changing column */ +#define CKCNSTRNT_ROWID 0x02 /* CHECK constraint references the ROWID */ + +/* This is the Walker callback from sqlite3ExprReferencesUpdatedColumn(). +* Set bit 0x01 of pWalker->eCode if pWalker->eCode to 0 and if this +** expression node references any of the +** columns that are being modifed by an UPDATE statement. +*/ +static int checkConstraintExprNode(Walker *pWalker, Expr *pExpr){ + if( pExpr->op==TK_COLUMN ){ + assert( pExpr->iColumn>=0 || pExpr->iColumn==-1 ); + if( pExpr->iColumn>=0 ){ + if( pWalker->u.aiCol[pExpr->iColumn]>=0 ){ + pWalker->eCode |= CKCNSTRNT_COLUMN; + } + }else{ + pWalker->eCode |= CKCNSTRNT_ROWID; + } + } + return WRC_Continue; +} + +/* +** pExpr is a CHECK constraint on a row that is being UPDATE-ed. The +** only columns that are modified by the UPDATE are those for which +** aiChng[i]>=0, and also the ROWID is modified if chngRowid is true. +** +** Return true if CHECK constraint pExpr uses any of the +** changing columns (or the rowid if it is changing). In other words, +** return true if this CHECK constraint must be validated for +** the new row in the UPDATE statement. +** +** 2018-09-15: pExpr might also be an expression for an index-on-expressions. +** The operation of this routine is the same - return true if an only if +** the expression uses one or more of columns identified by the second and +** third arguments. +*/ +SQLITE_PRIVATE int sqlite3ExprReferencesUpdatedColumn( + Expr *pExpr, /* The expression to be checked */ + int *aiChng, /* aiChng[x]>=0 if column x changed by the UPDATE */ + int chngRowid /* True if UPDATE changes the rowid */ +){ + Walker w; + memset(&w, 0, sizeof(w)); + w.eCode = 0; + w.xExprCallback = checkConstraintExprNode; + w.u.aiCol = aiChng; + sqlite3WalkExpr(&w, pExpr); + if( !chngRowid ){ + testcase( (w.eCode & CKCNSTRNT_ROWID)!=0 ); + w.eCode &= ~CKCNSTRNT_ROWID; + } + testcase( w.eCode==0 ); + testcase( w.eCode==CKCNSTRNT_COLUMN ); + testcase( w.eCode==CKCNSTRNT_ROWID ); + testcase( w.eCode==(CKCNSTRNT_ROWID|CKCNSTRNT_COLUMN) ); + return w.eCode!=0; +} + +/* +** Generate code to do constraint checks prior to an INSERT or an UPDATE +** on table pTab. +** +** The regNewData parameter is the first register in a range that contains +** the data to be inserted or the data after the update. There will be +** pTab->nCol+1 registers in this range. The first register (the one +** that regNewData points to) will contain the new rowid, or NULL in the +** case of a WITHOUT ROWID table. The second register in the range will +** contain the content of the first table column. The third register will +** contain the content of the second table column. And so forth. +** +** The regOldData parameter is similar to regNewData except that it contains +** the data prior to an UPDATE rather than afterwards. regOldData is zero +** for an INSERT. This routine can distinguish between UPDATE and INSERT by +** checking regOldData for zero. +** +** For an UPDATE, the pkChng boolean is true if the true primary key (the +** rowid for a normal table or the PRIMARY KEY for a WITHOUT ROWID table) +** might be modified by the UPDATE. If pkChng is false, then the key of +** the iDataCur content table is guaranteed to be unchanged by the UPDATE. +** +** For an INSERT, the pkChng boolean indicates whether or not the rowid +** was explicitly specified as part of the INSERT statement. If pkChng +** is zero, it means that the either rowid is computed automatically or +** that the table is a WITHOUT ROWID table and has no rowid. On an INSERT, +** pkChng will only be true if the INSERT statement provides an integer +** value for either the rowid column or its INTEGER PRIMARY KEY alias. +** +** The code generated by this routine will store new index entries into +** registers identified by aRegIdx[]. No index entry is created for +** indices where aRegIdx[i]==0. The order of indices in aRegIdx[] is +** the same as the order of indices on the linked list of indices +** at pTab->pIndex. +** +** (2019-05-07) The generated code also creates a new record for the +** main table, if pTab is a rowid table, and stores that record in the +** register identified by aRegIdx[nIdx] - in other words in the first +** entry of aRegIdx[] past the last index. It is important that the +** record be generated during constraint checks to avoid affinity changes +** to the register content that occur after constraint checks but before +** the new record is inserted. +** +** The caller must have already opened writeable cursors on the main +** table and all applicable indices (that is to say, all indices for which +** aRegIdx[] is not zero). iDataCur is the cursor for the main table when +** inserting or updating a rowid table, or the cursor for the PRIMARY KEY +** index when operating on a WITHOUT ROWID table. iIdxCur is the cursor +** for the first index in the pTab->pIndex list. Cursors for other indices +** are at iIdxCur+N for the N-th element of the pTab->pIndex list. +** +** This routine also generates code to check constraints. NOT NULL, +** CHECK, and UNIQUE constraints are all checked. If a constraint fails, +** then the appropriate action is performed. There are five possible +** actions: ROLLBACK, ABORT, FAIL, REPLACE, and IGNORE. +** +** Constraint type Action What Happens +** --------------- ---------- ---------------------------------------- +** any ROLLBACK The current transaction is rolled back and +** sqlite3_step() returns immediately with a +** return code of SQLITE_CONSTRAINT. +** +** any ABORT Back out changes from the current command +** only (do not do a complete rollback) then +** cause sqlite3_step() to return immediately +** with SQLITE_CONSTRAINT. +** +** any FAIL Sqlite3_step() returns immediately with a +** return code of SQLITE_CONSTRAINT. The +** transaction is not rolled back and any +** changes to prior rows are retained. +** +** any IGNORE The attempt in insert or update the current +** row is skipped, without throwing an error. +** Processing continues with the next row. +** (There is an immediate jump to ignoreDest.) +** +** NOT NULL REPLACE The NULL value is replace by the default +** value for that column. If the default value +** is NULL, the action is the same as ABORT. +** +** UNIQUE REPLACE The other row that conflicts with the row +** being inserted is removed. +** +** CHECK REPLACE Illegal. The results in an exception. +** +** Which action to take is determined by the overrideError parameter. +** Or if overrideError==OE_Default, then the pParse->onError parameter +** is used. Or if pParse->onError==OE_Default then the onError value +** for the constraint is used. +*/ +SQLITE_PRIVATE void sqlite3GenerateConstraintChecks( + Parse *pParse, /* The parser context */ + Table *pTab, /* The table being inserted or updated */ + int *aRegIdx, /* Use register aRegIdx[i] for index i. 0 for unused */ + int iDataCur, /* Canonical data cursor (main table or PK index) */ + int iIdxCur, /* First index cursor */ + int regNewData, /* First register in a range holding values to insert */ + int regOldData, /* Previous content. 0 for INSERTs */ + u8 pkChng, /* Non-zero if the rowid or PRIMARY KEY changed */ + u8 overrideError, /* Override onError to this if not OE_Default */ + int ignoreDest, /* Jump to this label on an OE_Ignore resolution */ + int *pbMayReplace, /* OUT: Set to true if constraint may cause a replace */ + int *aiChng, /* column i is unchanged if aiChng[i]<0 */ + Upsert *pUpsert /* ON CONFLICT clauses, if any. NULL otherwise */ +){ + Vdbe *v; /* VDBE under constrution */ + Index *pIdx; /* Pointer to one of the indices */ + Index *pPk = 0; /* The PRIMARY KEY index */ + sqlite3 *db; /* Database connection */ + int i; /* loop counter */ + int ix; /* Index loop counter */ + int nCol; /* Number of columns */ + int onError; /* Conflict resolution strategy */ + int addr1; /* Address of jump instruction */ + int seenReplace = 0; /* True if REPLACE is used to resolve INT PK conflict */ + int nPkField; /* Number of fields in PRIMARY KEY. 1 for ROWID tables */ + Index *pUpIdx = 0; /* Index to which to apply the upsert */ + u8 isUpdate; /* True if this is an UPDATE operation */ + u8 bAffinityDone = 0; /* True if the OP_Affinity operation has been run */ + int upsertBypass = 0; /* Address of Goto to bypass upsert subroutine */ + int upsertJump = 0; /* Address of Goto that jumps into upsert subroutine */ + int ipkTop = 0; /* Top of the IPK uniqueness check */ + int ipkBottom = 0; /* OP_Goto at the end of the IPK uniqueness check */ + + isUpdate = regOldData!=0; + db = pParse->db; + v = sqlite3GetVdbe(pParse); + assert( v!=0 ); + assert( pTab->pSelect==0 ); /* This table is not a VIEW */ + nCol = pTab->nCol; + + /* pPk is the PRIMARY KEY index for WITHOUT ROWID tables and NULL for + ** normal rowid tables. nPkField is the number of key fields in the + ** pPk index or 1 for a rowid table. In other words, nPkField is the + ** number of fields in the true primary key of the table. */ + if( HasRowid(pTab) ){ + pPk = 0; + nPkField = 1; + }else{ + pPk = sqlite3PrimaryKeyIndex(pTab); + nPkField = pPk->nKeyCol; + } + + /* Record that this module has started */ + VdbeModuleComment((v, "BEGIN: GenCnstCks(%d,%d,%d,%d,%d)", + iDataCur, iIdxCur, regNewData, regOldData, pkChng)); + + /* Test all NOT NULL constraints. + */ + for(i=0; iiPKey ){ + continue; /* ROWID is never NULL */ + } + if( aiChng && aiChng[i]<0 ){ + /* Don't bother checking for NOT NULL on columns that do not change */ + continue; + } + onError = pTab->aCol[i].notNull; + if( onError==OE_None ) continue; /* This column is allowed to be NULL */ + if( overrideError!=OE_Default ){ + onError = overrideError; + }else if( onError==OE_Default ){ + onError = OE_Abort; + } + if( onError==OE_Replace && pTab->aCol[i].pDflt==0 ){ + onError = OE_Abort; + } + assert( onError==OE_Rollback || onError==OE_Abort || onError==OE_Fail + || onError==OE_Ignore || onError==OE_Replace ); + addr1 = 0; + switch( onError ){ + case OE_Replace: { + assert( onError==OE_Replace ); + addr1 = sqlite3VdbeMakeLabel(pParse); + sqlite3VdbeAddOp2(v, OP_NotNull, regNewData+1+i, addr1); + VdbeCoverage(v); + sqlite3ExprCode(pParse, pTab->aCol[i].pDflt, regNewData+1+i); + sqlite3VdbeAddOp2(v, OP_NotNull, regNewData+1+i, addr1); + VdbeCoverage(v); + onError = OE_Abort; + /* Fall through into the OE_Abort case to generate code that runs + ** if both the input and the default value are NULL */ + } + case OE_Abort: + sqlite3MayAbort(pParse); + /* Fall through */ + case OE_Rollback: + case OE_Fail: { + char *zMsg = sqlite3MPrintf(db, "%s.%s", pTab->zName, + pTab->aCol[i].zName); + sqlite3VdbeAddOp3(v, OP_HaltIfNull, SQLITE_CONSTRAINT_NOTNULL, onError, + regNewData+1+i); + sqlite3VdbeAppendP4(v, zMsg, P4_DYNAMIC); + sqlite3VdbeChangeP5(v, P5_ConstraintNotNull); + VdbeCoverage(v); + if( addr1 ) sqlite3VdbeResolveLabel(v, addr1); + break; + } + default: { + assert( onError==OE_Ignore ); + sqlite3VdbeAddOp2(v, OP_IsNull, regNewData+1+i, ignoreDest); + VdbeCoverage(v); + break; + } + } + } + + /* Test all CHECK constraints + */ +#ifndef SQLITE_OMIT_CHECK + if( pTab->pCheck && (db->flags & SQLITE_IgnoreChecks)==0 ){ + ExprList *pCheck = pTab->pCheck; + pParse->iSelfTab = -(regNewData+1); + onError = overrideError!=OE_Default ? overrideError : OE_Abort; + for(i=0; inExpr; i++){ + int allOk; + Expr *pExpr = pCheck->a[i].pExpr; + if( aiChng + && !sqlite3ExprReferencesUpdatedColumn(pExpr, aiChng, pkChng) + ){ + /* The check constraints do not reference any of the columns being + ** updated so there is no point it verifying the check constraint */ + continue; + } + allOk = sqlite3VdbeMakeLabel(pParse); + sqlite3VdbeVerifyAbortable(v, onError); + sqlite3ExprIfTrue(pParse, pExpr, allOk, SQLITE_JUMPIFNULL); + if( onError==OE_Ignore ){ + sqlite3VdbeGoto(v, ignoreDest); + }else{ + char *zName = pCheck->a[i].zName; + if( zName==0 ) zName = pTab->zName; + if( onError==OE_Replace ) onError = OE_Abort; /* IMP: R-26383-51744 */ + sqlite3HaltConstraint(pParse, SQLITE_CONSTRAINT_CHECK, + onError, zName, P4_TRANSIENT, + P5_ConstraintCheck); + } + sqlite3VdbeResolveLabel(v, allOk); + } + pParse->iSelfTab = 0; + } +#endif /* !defined(SQLITE_OMIT_CHECK) */ + + /* UNIQUE and PRIMARY KEY constraints should be handled in the following + ** order: + ** + ** (1) OE_Update + ** (2) OE_Abort, OE_Fail, OE_Rollback, OE_Ignore + ** (3) OE_Replace + ** + ** OE_Fail and OE_Ignore must happen before any changes are made. + ** OE_Update guarantees that only a single row will change, so it + ** must happen before OE_Replace. Technically, OE_Abort and OE_Rollback + ** could happen in any order, but they are grouped up front for + ** convenience. + ** + ** 2018-08-14: Ticket https://www.sqlite.org/src/info/908f001483982c43 + ** The order of constraints used to have OE_Update as (2) and OE_Abort + ** and so forth as (1). But apparently PostgreSQL checks the OE_Update + ** constraint before any others, so it had to be moved. + ** + ** Constraint checking code is generated in this order: + ** (A) The rowid constraint + ** (B) Unique index constraints that do not have OE_Replace as their + ** default conflict resolution strategy + ** (C) Unique index that do use OE_Replace by default. + ** + ** The ordering of (2) and (3) is accomplished by making sure the linked + ** list of indexes attached to a table puts all OE_Replace indexes last + ** in the list. See sqlite3CreateIndex() for where that happens. + */ + + if( pUpsert ){ + if( pUpsert->pUpsertTarget==0 ){ + /* An ON CONFLICT DO NOTHING clause, without a constraint-target. + ** Make all unique constraint resolution be OE_Ignore */ + assert( pUpsert->pUpsertSet==0 ); + overrideError = OE_Ignore; + pUpsert = 0; + }else if( (pUpIdx = pUpsert->pUpsertIdx)!=0 ){ + /* If the constraint-target uniqueness check must be run first. + ** Jump to that uniqueness check now */ + upsertJump = sqlite3VdbeAddOp0(v, OP_Goto); + VdbeComment((v, "UPSERT constraint goes first")); + } + } + + /* If rowid is changing, make sure the new rowid does not previously + ** exist in the table. + */ + if( pkChng && pPk==0 ){ + int addrRowidOk = sqlite3VdbeMakeLabel(pParse); + + /* Figure out what action to take in case of a rowid collision */ + onError = pTab->keyConf; + if( overrideError!=OE_Default ){ + onError = overrideError; + }else if( onError==OE_Default ){ + onError = OE_Abort; + } + + /* figure out whether or not upsert applies in this case */ + if( pUpsert && pUpsert->pUpsertIdx==0 ){ + if( pUpsert->pUpsertSet==0 ){ + onError = OE_Ignore; /* DO NOTHING is the same as INSERT OR IGNORE */ + }else{ + onError = OE_Update; /* DO UPDATE */ + } + } + + /* If the response to a rowid conflict is REPLACE but the response + ** to some other UNIQUE constraint is FAIL or IGNORE, then we need + ** to defer the running of the rowid conflict checking until after + ** the UNIQUE constraints have run. + */ + if( onError==OE_Replace /* IPK rule is REPLACE */ + && onError!=overrideError /* Rules for other contraints are different */ + && pTab->pIndex /* There exist other constraints */ + ){ + ipkTop = sqlite3VdbeAddOp0(v, OP_Goto)+1; + VdbeComment((v, "defer IPK REPLACE until last")); + } + + if( isUpdate ){ + /* pkChng!=0 does not mean that the rowid has changed, only that + ** it might have changed. Skip the conflict logic below if the rowid + ** is unchanged. */ + sqlite3VdbeAddOp3(v, OP_Eq, regNewData, addrRowidOk, regOldData); + sqlite3VdbeChangeP5(v, SQLITE_NOTNULL); + VdbeCoverage(v); + } + + /* Check to see if the new rowid already exists in the table. Skip + ** the following conflict logic if it does not. */ + VdbeNoopComment((v, "uniqueness check for ROWID")); + sqlite3VdbeVerifyAbortable(v, onError); + sqlite3VdbeAddOp3(v, OP_NotExists, iDataCur, addrRowidOk, regNewData); + VdbeCoverage(v); + + switch( onError ){ + default: { + onError = OE_Abort; + /* Fall thru into the next case */ + } + case OE_Rollback: + case OE_Abort: + case OE_Fail: { + testcase( onError==OE_Rollback ); + testcase( onError==OE_Abort ); + testcase( onError==OE_Fail ); + sqlite3RowidConstraint(pParse, onError, pTab); + break; + } + case OE_Replace: { + /* If there are DELETE triggers on this table and the + ** recursive-triggers flag is set, call GenerateRowDelete() to + ** remove the conflicting row from the table. This will fire + ** the triggers and remove both the table and index b-tree entries. + ** + ** Otherwise, if there are no triggers or the recursive-triggers + ** flag is not set, but the table has one or more indexes, call + ** GenerateRowIndexDelete(). This removes the index b-tree entries + ** only. The table b-tree entry will be replaced by the new entry + ** when it is inserted. + ** + ** If either GenerateRowDelete() or GenerateRowIndexDelete() is called, + ** also invoke MultiWrite() to indicate that this VDBE may require + ** statement rollback (if the statement is aborted after the delete + ** takes place). Earlier versions called sqlite3MultiWrite() regardless, + ** but being more selective here allows statements like: + ** + ** REPLACE INTO t(rowid) VALUES($newrowid) + ** + ** to run without a statement journal if there are no indexes on the + ** table. + */ + Trigger *pTrigger = 0; + if( db->flags&SQLITE_RecTriggers ){ + pTrigger = sqlite3TriggersExist(pParse, pTab, TK_DELETE, 0, 0); + } + if( pTrigger || sqlite3FkRequired(pParse, pTab, 0, 0) ){ + sqlite3MultiWrite(pParse); + sqlite3GenerateRowDelete(pParse, pTab, pTrigger, iDataCur, iIdxCur, + regNewData, 1, 0, OE_Replace, 1, -1); + }else{ +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + assert( HasRowid(pTab) ); + /* This OP_Delete opcode fires the pre-update-hook only. It does + ** not modify the b-tree. It is more efficient to let the coming + ** OP_Insert replace the existing entry than it is to delete the + ** existing entry and then insert a new one. */ + sqlite3VdbeAddOp2(v, OP_Delete, iDataCur, OPFLAG_ISNOOP); + sqlite3VdbeAppendP4(v, pTab, P4_TABLE); +#endif /* SQLITE_ENABLE_PREUPDATE_HOOK */ + if( pTab->pIndex ){ + sqlite3MultiWrite(pParse); + sqlite3GenerateRowIndexDelete(pParse, pTab, iDataCur, iIdxCur,0,-1); + } + } + seenReplace = 1; + break; + } +#ifndef SQLITE_OMIT_UPSERT + case OE_Update: { + sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, 0, iDataCur); + /* Fall through */ + } +#endif + case OE_Ignore: { + testcase( onError==OE_Ignore ); + sqlite3VdbeGoto(v, ignoreDest); + break; + } + } + sqlite3VdbeResolveLabel(v, addrRowidOk); + if( ipkTop ){ + ipkBottom = sqlite3VdbeAddOp0(v, OP_Goto); + sqlite3VdbeJumpHere(v, ipkTop-1); + } + } + + /* Test all UNIQUE constraints by creating entries for each UNIQUE + ** index and making sure that duplicate entries do not already exist. + ** Compute the revised record entries for indices as we go. + ** + ** This loop also handles the case of the PRIMARY KEY index for a + ** WITHOUT ROWID table. + */ + for(ix=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, ix++){ + int regIdx; /* Range of registers hold conent for pIdx */ + int regR; /* Range of registers holding conflicting PK */ + int iThisCur; /* Cursor for this UNIQUE index */ + int addrUniqueOk; /* Jump here if the UNIQUE constraint is satisfied */ + + if( aRegIdx[ix]==0 ) continue; /* Skip indices that do not change */ + if( pUpIdx==pIdx ){ + addrUniqueOk = upsertJump+1; + upsertBypass = sqlite3VdbeGoto(v, 0); + VdbeComment((v, "Skip upsert subroutine")); + sqlite3VdbeJumpHere(v, upsertJump); + }else{ + addrUniqueOk = sqlite3VdbeMakeLabel(pParse); + } + if( bAffinityDone==0 && (pUpIdx==0 || pUpIdx==pIdx) ){ + sqlite3TableAffinity(v, pTab, regNewData+1); + bAffinityDone = 1; + } + VdbeNoopComment((v, "uniqueness check for %s", pIdx->zName)); + iThisCur = iIdxCur+ix; + + + /* Skip partial indices for which the WHERE clause is not true */ + if( pIdx->pPartIdxWhere ){ + sqlite3VdbeAddOp2(v, OP_Null, 0, aRegIdx[ix]); + pParse->iSelfTab = -(regNewData+1); + sqlite3ExprIfFalseDup(pParse, pIdx->pPartIdxWhere, addrUniqueOk, + SQLITE_JUMPIFNULL); + pParse->iSelfTab = 0; + } + + /* Create a record for this index entry as it should appear after + ** the insert or update. Store that record in the aRegIdx[ix] register + */ + regIdx = aRegIdx[ix]+1; + for(i=0; inColumn; i++){ + int iField = pIdx->aiColumn[i]; + int x; + if( iField==XN_EXPR ){ + pParse->iSelfTab = -(regNewData+1); + sqlite3ExprCodeCopy(pParse, pIdx->aColExpr->a[i].pExpr, regIdx+i); + pParse->iSelfTab = 0; + VdbeComment((v, "%s column %d", pIdx->zName, i)); + }else{ + if( iField==XN_ROWID || iField==pTab->iPKey ){ + x = regNewData; + }else{ + x = iField + regNewData + 1; + } + sqlite3VdbeAddOp2(v, iField<0 ? OP_IntCopy : OP_SCopy, x, regIdx+i); + VdbeComment((v, "%s", iField<0 ? "rowid" : pTab->aCol[iField].zName)); + } + } + sqlite3VdbeAddOp3(v, OP_MakeRecord, regIdx, pIdx->nColumn, aRegIdx[ix]); + VdbeComment((v, "for %s", pIdx->zName)); +#ifdef SQLITE_ENABLE_NULL_TRIM + if( pIdx->idxType==SQLITE_IDXTYPE_PRIMARYKEY ){ + sqlite3SetMakeRecordP5(v, pIdx->pTable); + } +#endif + + /* In an UPDATE operation, if this index is the PRIMARY KEY index + ** of a WITHOUT ROWID table and there has been no change the + ** primary key, then no collision is possible. The collision detection + ** logic below can all be skipped. */ + if( isUpdate && pPk==pIdx && pkChng==0 ){ + sqlite3VdbeResolveLabel(v, addrUniqueOk); + continue; + } + + /* Find out what action to take in case there is a uniqueness conflict */ + onError = pIdx->onError; + if( onError==OE_None ){ + sqlite3VdbeResolveLabel(v, addrUniqueOk); + continue; /* pIdx is not a UNIQUE index */ + } + if( overrideError!=OE_Default ){ + onError = overrideError; + }else if( onError==OE_Default ){ + onError = OE_Abort; + } + + /* Figure out if the upsert clause applies to this index */ + if( pUpIdx==pIdx ){ + if( pUpsert->pUpsertSet==0 ){ + onError = OE_Ignore; /* DO NOTHING is the same as INSERT OR IGNORE */ + }else{ + onError = OE_Update; /* DO UPDATE */ + } + } + + /* Collision detection may be omitted if all of the following are true: + ** (1) The conflict resolution algorithm is REPLACE + ** (2) The table is a WITHOUT ROWID table + ** (3) There are no secondary indexes on the table + ** (4) No delete triggers need to be fired if there is a conflict + ** (5) No FK constraint counters need to be updated if a conflict occurs. + ** + ** This is not possible for ENABLE_PREUPDATE_HOOK builds, as the row + ** must be explicitly deleted in order to ensure any pre-update hook + ** is invoked. */ +#ifndef SQLITE_ENABLE_PREUPDATE_HOOK + if( (ix==0 && pIdx->pNext==0) /* Condition 3 */ + && pPk==pIdx /* Condition 2 */ + && onError==OE_Replace /* Condition 1 */ + && ( 0==(db->flags&SQLITE_RecTriggers) || /* Condition 4 */ + 0==sqlite3TriggersExist(pParse, pTab, TK_DELETE, 0, 0)) + && ( 0==(db->flags&SQLITE_ForeignKeys) || /* Condition 5 */ + (0==pTab->pFKey && 0==sqlite3FkReferences(pTab))) + ){ + sqlite3VdbeResolveLabel(v, addrUniqueOk); + continue; + } +#endif /* ifndef SQLITE_ENABLE_PREUPDATE_HOOK */ + + /* Check to see if the new index entry will be unique */ + sqlite3VdbeVerifyAbortable(v, onError); + sqlite3VdbeAddOp4Int(v, OP_NoConflict, iThisCur, addrUniqueOk, + regIdx, pIdx->nKeyCol); VdbeCoverage(v); + + /* Generate code to handle collisions */ + regR = (pIdx==pPk) ? regIdx : sqlite3GetTempRange(pParse, nPkField); + if( isUpdate || onError==OE_Replace ){ + if( HasRowid(pTab) ){ + sqlite3VdbeAddOp2(v, OP_IdxRowid, iThisCur, regR); + /* Conflict only if the rowid of the existing index entry + ** is different from old-rowid */ + if( isUpdate ){ + sqlite3VdbeAddOp3(v, OP_Eq, regR, addrUniqueOk, regOldData); + sqlite3VdbeChangeP5(v, SQLITE_NOTNULL); + VdbeCoverage(v); + } + }else{ + int x; + /* Extract the PRIMARY KEY from the end of the index entry and + ** store it in registers regR..regR+nPk-1 */ + if( pIdx!=pPk ){ + for(i=0; inKeyCol; i++){ + assert( pPk->aiColumn[i]>=0 ); + x = sqlite3ColumnOfIndex(pIdx, pPk->aiColumn[i]); + sqlite3VdbeAddOp3(v, OP_Column, iThisCur, x, regR+i); + VdbeComment((v, "%s.%s", pTab->zName, + pTab->aCol[pPk->aiColumn[i]].zName)); + } + } + if( isUpdate ){ + /* If currently processing the PRIMARY KEY of a WITHOUT ROWID + ** table, only conflict if the new PRIMARY KEY values are actually + ** different from the old. + ** + ** For a UNIQUE index, only conflict if the PRIMARY KEY values + ** of the matched index row are different from the original PRIMARY + ** KEY values of this row before the update. */ + int addrJump = sqlite3VdbeCurrentAddr(v)+pPk->nKeyCol; + int op = OP_Ne; + int regCmp = (IsPrimaryKeyIndex(pIdx) ? regIdx : regR); + + for(i=0; inKeyCol; i++){ + char *p4 = (char*)sqlite3LocateCollSeq(pParse, pPk->azColl[i]); + x = pPk->aiColumn[i]; + assert( x>=0 ); + if( i==(pPk->nKeyCol-1) ){ + addrJump = addrUniqueOk; + op = OP_Eq; + } + sqlite3VdbeAddOp4(v, op, + regOldData+1+x, addrJump, regCmp+i, p4, P4_COLLSEQ + ); + sqlite3VdbeChangeP5(v, SQLITE_NOTNULL); + VdbeCoverageIf(v, op==OP_Eq); + VdbeCoverageIf(v, op==OP_Ne); + } + } + } + } + + /* Generate code that executes if the new index entry is not unique */ + assert( onError==OE_Rollback || onError==OE_Abort || onError==OE_Fail + || onError==OE_Ignore || onError==OE_Replace || onError==OE_Update ); + switch( onError ){ + case OE_Rollback: + case OE_Abort: + case OE_Fail: { + testcase( onError==OE_Rollback ); + testcase( onError==OE_Abort ); + testcase( onError==OE_Fail ); + sqlite3UniqueConstraint(pParse, onError, pIdx); + break; + } +#ifndef SQLITE_OMIT_UPSERT + case OE_Update: { + sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, pIdx, iIdxCur+ix); + /* Fall through */ + } +#endif + case OE_Ignore: { + testcase( onError==OE_Ignore ); + sqlite3VdbeGoto(v, ignoreDest); + break; + } + default: { + Trigger *pTrigger = 0; + assert( onError==OE_Replace ); + if( db->flags&SQLITE_RecTriggers ){ + pTrigger = sqlite3TriggersExist(pParse, pTab, TK_DELETE, 0, 0); + } + if( pTrigger || sqlite3FkRequired(pParse, pTab, 0, 0) ){ + sqlite3MultiWrite(pParse); + } + sqlite3GenerateRowDelete(pParse, pTab, pTrigger, iDataCur, iIdxCur, + regR, nPkField, 0, OE_Replace, + (pIdx==pPk ? ONEPASS_SINGLE : ONEPASS_OFF), iThisCur); + seenReplace = 1; + break; + } + } + if( pUpIdx==pIdx ){ + sqlite3VdbeGoto(v, upsertJump+1); + sqlite3VdbeJumpHere(v, upsertBypass); + }else{ + sqlite3VdbeResolveLabel(v, addrUniqueOk); + } + if( regR!=regIdx ) sqlite3ReleaseTempRange(pParse, regR, nPkField); + } + + /* If the IPK constraint is a REPLACE, run it last */ + if( ipkTop ){ + sqlite3VdbeGoto(v, ipkTop); + VdbeComment((v, "Do IPK REPLACE")); + sqlite3VdbeJumpHere(v, ipkBottom); + } + + /* Generate the table record */ + if( HasRowid(pTab) ){ + int regRec = aRegIdx[ix]; + sqlite3VdbeAddOp3(v, OP_MakeRecord, regNewData+1, pTab->nCol, regRec); + sqlite3SetMakeRecordP5(v, pTab); + if( !bAffinityDone ){ + sqlite3TableAffinity(v, pTab, 0); + } + } + + *pbMayReplace = seenReplace; + VdbeModuleComment((v, "END: GenCnstCks(%d)", seenReplace)); +} + +#ifdef SQLITE_ENABLE_NULL_TRIM +/* +** Change the P5 operand on the last opcode (which should be an OP_MakeRecord) +** to be the number of columns in table pTab that must not be NULL-trimmed. +** +** Or if no columns of pTab may be NULL-trimmed, leave P5 at zero. +*/ +SQLITE_PRIVATE void sqlite3SetMakeRecordP5(Vdbe *v, Table *pTab){ + u16 i; + + /* Records with omitted columns are only allowed for schema format + ** version 2 and later (SQLite version 3.1.4, 2005-02-20). */ + if( pTab->pSchema->file_format<2 ) return; + + for(i=pTab->nCol-1; i>0; i--){ + if( pTab->aCol[i].pDflt!=0 ) break; + if( pTab->aCol[i].colFlags & COLFLAG_PRIMKEY ) break; + } + sqlite3VdbeChangeP5(v, i+1); +} +#endif + +/* +** This routine generates code to finish the INSERT or UPDATE operation +** that was started by a prior call to sqlite3GenerateConstraintChecks. +** A consecutive range of registers starting at regNewData contains the +** rowid and the content to be inserted. +** +** The arguments to this routine should be the same as the first six +** arguments to sqlite3GenerateConstraintChecks. +*/ +SQLITE_PRIVATE void sqlite3CompleteInsertion( + Parse *pParse, /* The parser context */ + Table *pTab, /* the table into which we are inserting */ + int iDataCur, /* Cursor of the canonical data source */ + int iIdxCur, /* First index cursor */ + int regNewData, /* Range of content */ + int *aRegIdx, /* Register used by each index. 0 for unused indices */ + int update_flags, /* True for UPDATE, False for INSERT */ + int appendBias, /* True if this is likely to be an append */ + int useSeekResult /* True to set the USESEEKRESULT flag on OP_[Idx]Insert */ +){ + Vdbe *v; /* Prepared statements under construction */ + Index *pIdx; /* An index being inserted or updated */ + u8 pik_flags; /* flag values passed to the btree insert */ + int i; /* Loop counter */ + + assert( update_flags==0 + || update_flags==OPFLAG_ISUPDATE + || update_flags==(OPFLAG_ISUPDATE|OPFLAG_SAVEPOSITION) + ); + + v = sqlite3GetVdbe(pParse); + assert( v!=0 ); + assert( pTab->pSelect==0 ); /* This table is not a VIEW */ + for(i=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ + if( aRegIdx[i]==0 ) continue; + if( pIdx->pPartIdxWhere ){ + sqlite3VdbeAddOp2(v, OP_IsNull, aRegIdx[i], sqlite3VdbeCurrentAddr(v)+2); + VdbeCoverage(v); + } + pik_flags = (useSeekResult ? OPFLAG_USESEEKRESULT : 0); + if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){ + assert( pParse->nested==0 ); + pik_flags |= OPFLAG_NCHANGE; + pik_flags |= (update_flags & OPFLAG_SAVEPOSITION); +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + if( update_flags==0 ){ + int r = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp2(v, OP_Integer, 0, r); + sqlite3VdbeAddOp4(v, OP_Insert, + iIdxCur+i, aRegIdx[i], r, (char*)pTab, P4_TABLE + ); + sqlite3VdbeChangeP5(v, OPFLAG_ISNOOP); + sqlite3ReleaseTempReg(pParse, r); + } +#endif + } + sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iIdxCur+i, aRegIdx[i], + aRegIdx[i]+1, + pIdx->uniqNotNull ? pIdx->nKeyCol: pIdx->nColumn); + sqlite3VdbeChangeP5(v, pik_flags); + } + if( !HasRowid(pTab) ) return; + if( pParse->nested ){ + pik_flags = 0; + }else{ + pik_flags = OPFLAG_NCHANGE; + pik_flags |= (update_flags?update_flags:OPFLAG_LASTROWID); + } + if( appendBias ){ + pik_flags |= OPFLAG_APPEND; + } + if( useSeekResult ){ + pik_flags |= OPFLAG_USESEEKRESULT; + } + sqlite3VdbeAddOp3(v, OP_Insert, iDataCur, aRegIdx[i], regNewData); + if( !pParse->nested ){ + sqlite3VdbeAppendP4(v, pTab, P4_TABLE); + } + sqlite3VdbeChangeP5(v, pik_flags); +} + +/* +** Allocate cursors for the pTab table and all its indices and generate +** code to open and initialized those cursors. +** +** The cursor for the object that contains the complete data (normally +** the table itself, but the PRIMARY KEY index in the case of a WITHOUT +** ROWID table) is returned in *piDataCur. The first index cursor is +** returned in *piIdxCur. The number of indices is returned. +** +** Use iBase as the first cursor (either the *piDataCur for rowid tables +** or the first index for WITHOUT ROWID tables) if it is non-negative. +** If iBase is negative, then allocate the next available cursor. +** +** For a rowid table, *piDataCur will be exactly one less than *piIdxCur. +** For a WITHOUT ROWID table, *piDataCur will be somewhere in the range +** of *piIdxCurs, depending on where the PRIMARY KEY index appears on the +** pTab->pIndex list. +** +** If pTab is a virtual table, then this routine is a no-op and the +** *piDataCur and *piIdxCur values are left uninitialized. +*/ +SQLITE_PRIVATE int sqlite3OpenTableAndIndices( + Parse *pParse, /* Parsing context */ + Table *pTab, /* Table to be opened */ + int op, /* OP_OpenRead or OP_OpenWrite */ + u8 p5, /* P5 value for OP_Open* opcodes (except on WITHOUT ROWID) */ + int iBase, /* Use this for the table cursor, if there is one */ + u8 *aToOpen, /* If not NULL: boolean for each table and index */ + int *piDataCur, /* Write the database source cursor number here */ + int *piIdxCur /* Write the first index cursor number here */ +){ + int i; + int iDb; + int iDataCur; + Index *pIdx; + Vdbe *v; + + assert( op==OP_OpenRead || op==OP_OpenWrite ); + assert( op==OP_OpenWrite || p5==0 ); + if( IsVirtual(pTab) ){ + /* This routine is a no-op for virtual tables. Leave the output + ** variables *piDataCur and *piIdxCur uninitialized so that valgrind + ** can detect if they are used by mistake in the caller. */ + return 0; + } + iDb = sqlite3SchemaToIndex(pParse->db, pTab->pSchema); + v = sqlite3GetVdbe(pParse); + assert( v!=0 ); + if( iBase<0 ) iBase = pParse->nTab; + iDataCur = iBase++; + if( piDataCur ) *piDataCur = iDataCur; + if( HasRowid(pTab) && (aToOpen==0 || aToOpen[0]) ){ + sqlite3OpenTable(pParse, iDataCur, iDb, pTab, op); + }else{ + sqlite3TableLock(pParse, iDb, pTab->tnum, op==OP_OpenWrite, pTab->zName); + } + if( piIdxCur ) *piIdxCur = iBase; + for(i=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ + int iIdxCur = iBase++; + assert( pIdx->pSchema==pTab->pSchema ); + if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){ + if( piDataCur ) *piDataCur = iIdxCur; + p5 = 0; + } + if( aToOpen==0 || aToOpen[i+1] ){ + sqlite3VdbeAddOp3(v, op, iIdxCur, pIdx->tnum, iDb); + sqlite3VdbeSetP4KeyInfo(pParse, pIdx); + sqlite3VdbeChangeP5(v, p5); + VdbeComment((v, "%s", pIdx->zName)); + } + } + if( iBase>pParse->nTab ) pParse->nTab = iBase; + return i; +} + + +#ifdef SQLITE_TEST +/* +** The following global variable is incremented whenever the +** transfer optimization is used. This is used for testing +** purposes only - to make sure the transfer optimization really +** is happening when it is supposed to. +*/ +SQLITE_API int sqlite3_xferopt_count; +#endif /* SQLITE_TEST */ + + +#ifndef SQLITE_OMIT_XFER_OPT +/* +** Check to see if index pSrc is compatible as a source of data +** for index pDest in an insert transfer optimization. The rules +** for a compatible index: +** +** * The index is over the same set of columns +** * The same DESC and ASC markings occurs on all columns +** * The same onError processing (OE_Abort, OE_Ignore, etc) +** * The same collating sequence on each column +** * The index has the exact same WHERE clause +*/ +static int xferCompatibleIndex(Index *pDest, Index *pSrc){ + int i; + assert( pDest && pSrc ); + assert( pDest->pTable!=pSrc->pTable ); + if( pDest->nKeyCol!=pSrc->nKeyCol ){ + return 0; /* Different number of columns */ + } + if( pDest->onError!=pSrc->onError ){ + return 0; /* Different conflict resolution strategies */ + } + for(i=0; inKeyCol; i++){ + if( pSrc->aiColumn[i]!=pDest->aiColumn[i] ){ + return 0; /* Different columns indexed */ + } + if( pSrc->aiColumn[i]==XN_EXPR ){ + assert( pSrc->aColExpr!=0 && pDest->aColExpr!=0 ); + if( sqlite3ExprCompare(0, pSrc->aColExpr->a[i].pExpr, + pDest->aColExpr->a[i].pExpr, -1)!=0 ){ + return 0; /* Different expressions in the index */ + } + } + if( pSrc->aSortOrder[i]!=pDest->aSortOrder[i] ){ + return 0; /* Different sort orders */ + } + if( sqlite3_stricmp(pSrc->azColl[i],pDest->azColl[i])!=0 ){ + return 0; /* Different collating sequences */ + } + } + if( sqlite3ExprCompare(0, pSrc->pPartIdxWhere, pDest->pPartIdxWhere, -1) ){ + return 0; /* Different WHERE clauses */ + } + + /* If no test above fails then the indices must be compatible */ + return 1; +} + +/* +** Attempt the transfer optimization on INSERTs of the form +** +** INSERT INTO tab1 SELECT * FROM tab2; +** +** The xfer optimization transfers raw records from tab2 over to tab1. +** Columns are not decoded and reassembled, which greatly improves +** performance. Raw index records are transferred in the same way. +** +** The xfer optimization is only attempted if tab1 and tab2 are compatible. +** There are lots of rules for determining compatibility - see comments +** embedded in the code for details. +** +** This routine returns TRUE if the optimization is guaranteed to be used. +** Sometimes the xfer optimization will only work if the destination table +** is empty - a factor that can only be determined at run-time. In that +** case, this routine generates code for the xfer optimization but also +** does a test to see if the destination table is empty and jumps over the +** xfer optimization code if the test fails. In that case, this routine +** returns FALSE so that the caller will know to go ahead and generate +** an unoptimized transfer. This routine also returns FALSE if there +** is no chance that the xfer optimization can be applied. +** +** This optimization is particularly useful at making VACUUM run faster. +*/ +static int xferOptimization( + Parse *pParse, /* Parser context */ + Table *pDest, /* The table we are inserting into */ + Select *pSelect, /* A SELECT statement to use as the data source */ + int onError, /* How to handle constraint errors */ + int iDbDest /* The database of pDest */ +){ + sqlite3 *db = pParse->db; + ExprList *pEList; /* The result set of the SELECT */ + Table *pSrc; /* The table in the FROM clause of SELECT */ + Index *pSrcIdx, *pDestIdx; /* Source and destination indices */ + struct SrcList_item *pItem; /* An element of pSelect->pSrc */ + int i; /* Loop counter */ + int iDbSrc; /* The database of pSrc */ + int iSrc, iDest; /* Cursors from source and destination */ + int addr1, addr2; /* Loop addresses */ + int emptyDestTest = 0; /* Address of test for empty pDest */ + int emptySrcTest = 0; /* Address of test for empty pSrc */ + Vdbe *v; /* The VDBE we are building */ + int regAutoinc; /* Memory register used by AUTOINC */ + int destHasUniqueIdx = 0; /* True if pDest has a UNIQUE index */ + int regData, regRowid; /* Registers holding data and rowid */ + + if( pSelect==0 ){ + return 0; /* Must be of the form INSERT INTO ... SELECT ... */ + } + if( pParse->pWith || pSelect->pWith ){ + /* Do not attempt to process this query if there are an WITH clauses + ** attached to it. Proceeding may generate a false "no such table: xxx" + ** error if pSelect reads from a CTE named "xxx". */ + return 0; + } + if( sqlite3TriggerList(pParse, pDest) ){ + return 0; /* tab1 must not have triggers */ + } +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( IsVirtual(pDest) ){ + return 0; /* tab1 must not be a virtual table */ + } +#endif + if( onError==OE_Default ){ + if( pDest->iPKey>=0 ) onError = pDest->keyConf; + if( onError==OE_Default ) onError = OE_Abort; + } + assert(pSelect->pSrc); /* allocated even if there is no FROM clause */ + if( pSelect->pSrc->nSrc!=1 ){ + return 0; /* FROM clause must have exactly one term */ + } + if( pSelect->pSrc->a[0].pSelect ){ + return 0; /* FROM clause cannot contain a subquery */ + } + if( pSelect->pWhere ){ + return 0; /* SELECT may not have a WHERE clause */ + } + if( pSelect->pOrderBy ){ + return 0; /* SELECT may not have an ORDER BY clause */ + } + /* Do not need to test for a HAVING clause. If HAVING is present but + ** there is no ORDER BY, we will get an error. */ + if( pSelect->pGroupBy ){ + return 0; /* SELECT may not have a GROUP BY clause */ + } + if( pSelect->pLimit ){ + return 0; /* SELECT may not have a LIMIT clause */ + } + if( pSelect->pPrior ){ + return 0; /* SELECT may not be a compound query */ + } + if( pSelect->selFlags & SF_Distinct ){ + return 0; /* SELECT may not be DISTINCT */ + } + pEList = pSelect->pEList; + assert( pEList!=0 ); + if( pEList->nExpr!=1 ){ + return 0; /* The result set must have exactly one column */ + } + assert( pEList->a[0].pExpr ); + if( pEList->a[0].pExpr->op!=TK_ASTERISK ){ + return 0; /* The result set must be the special operator "*" */ + } + + /* At this point we have established that the statement is of the + ** correct syntactic form to participate in this optimization. Now + ** we have to check the semantics. + */ + pItem = pSelect->pSrc->a; + pSrc = sqlite3LocateTableItem(pParse, 0, pItem); + if( pSrc==0 ){ + return 0; /* FROM clause does not contain a real table */ + } + if( pSrc->tnum==pDest->tnum && pSrc->pSchema==pDest->pSchema ){ + testcase( pSrc!=pDest ); /* Possible due to bad sqlite_master.rootpage */ + return 0; /* tab1 and tab2 may not be the same table */ + } + if( HasRowid(pDest)!=HasRowid(pSrc) ){ + return 0; /* source and destination must both be WITHOUT ROWID or not */ + } +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( IsVirtual(pSrc) ){ + return 0; /* tab2 must not be a virtual table */ + } +#endif + if( pSrc->pSelect ){ + return 0; /* tab2 may not be a view */ + } + if( pDest->nCol!=pSrc->nCol ){ + return 0; /* Number of columns must be the same in tab1 and tab2 */ + } + if( pDest->iPKey!=pSrc->iPKey ){ + return 0; /* Both tables must have the same INTEGER PRIMARY KEY */ + } + for(i=0; inCol; i++){ + Column *pDestCol = &pDest->aCol[i]; + Column *pSrcCol = &pSrc->aCol[i]; +#ifdef SQLITE_ENABLE_HIDDEN_COLUMNS + if( (db->mDbFlags & DBFLAG_Vacuum)==0 + && (pDestCol->colFlags | pSrcCol->colFlags) & COLFLAG_HIDDEN + ){ + return 0; /* Neither table may have __hidden__ columns */ + } +#endif + if( pDestCol->affinity!=pSrcCol->affinity ){ + return 0; /* Affinity must be the same on all columns */ + } + if( sqlite3_stricmp(pDestCol->zColl, pSrcCol->zColl)!=0 ){ + return 0; /* Collating sequence must be the same on all columns */ + } + if( pDestCol->notNull && !pSrcCol->notNull ){ + return 0; /* tab2 must be NOT NULL if tab1 is */ + } + /* Default values for second and subsequent columns need to match. */ + if( i>0 ){ + assert( pDestCol->pDflt==0 || pDestCol->pDflt->op==TK_SPAN ); + assert( pSrcCol->pDflt==0 || pSrcCol->pDflt->op==TK_SPAN ); + if( (pDestCol->pDflt==0)!=(pSrcCol->pDflt==0) + || (pDestCol->pDflt && strcmp(pDestCol->pDflt->u.zToken, + pSrcCol->pDflt->u.zToken)!=0) + ){ + return 0; /* Default values must be the same for all columns */ + } + } + } + for(pDestIdx=pDest->pIndex; pDestIdx; pDestIdx=pDestIdx->pNext){ + if( IsUniqueIndex(pDestIdx) ){ + destHasUniqueIdx = 1; + } + for(pSrcIdx=pSrc->pIndex; pSrcIdx; pSrcIdx=pSrcIdx->pNext){ + if( xferCompatibleIndex(pDestIdx, pSrcIdx) ) break; + } + if( pSrcIdx==0 ){ + return 0; /* pDestIdx has no corresponding index in pSrc */ + } + if( pSrcIdx->tnum==pDestIdx->tnum && pSrc->pSchema==pDest->pSchema + && sqlite3FaultSim(411)==SQLITE_OK ){ + /* The sqlite3FaultSim() call allows this corruption test to be + ** bypassed during testing, in order to exercise other corruption tests + ** further downstream. */ + return 0; /* Corrupt schema - two indexes on the same btree */ + } + } +#ifndef SQLITE_OMIT_CHECK + if( pDest->pCheck && sqlite3ExprListCompare(pSrc->pCheck,pDest->pCheck,-1) ){ + return 0; /* Tables have different CHECK constraints. Ticket #2252 */ + } +#endif +#ifndef SQLITE_OMIT_FOREIGN_KEY + /* Disallow the transfer optimization if the destination table constains + ** any foreign key constraints. This is more restrictive than necessary. + ** But the main beneficiary of the transfer optimization is the VACUUM + ** command, and the VACUUM command disables foreign key constraints. So + ** the extra complication to make this rule less restrictive is probably + ** not worth the effort. Ticket [6284df89debdfa61db8073e062908af0c9b6118e] + */ + if( (db->flags & SQLITE_ForeignKeys)!=0 && pDest->pFKey!=0 ){ + return 0; + } +#endif + if( (db->flags & SQLITE_CountRows)!=0 ){ + return 0; /* xfer opt does not play well with PRAGMA count_changes */ + } + + /* If we get this far, it means that the xfer optimization is at + ** least a possibility, though it might only work if the destination + ** table (tab1) is initially empty. + */ +#ifdef SQLITE_TEST + sqlite3_xferopt_count++; +#endif + iDbSrc = sqlite3SchemaToIndex(db, pSrc->pSchema); + v = sqlite3GetVdbe(pParse); + sqlite3CodeVerifySchema(pParse, iDbSrc); + iSrc = pParse->nTab++; + iDest = pParse->nTab++; + regAutoinc = autoIncBegin(pParse, iDbDest, pDest); + regData = sqlite3GetTempReg(pParse); + regRowid = sqlite3GetTempReg(pParse); + sqlite3OpenTable(pParse, iDest, iDbDest, pDest, OP_OpenWrite); + assert( HasRowid(pDest) || destHasUniqueIdx ); + if( (db->mDbFlags & DBFLAG_Vacuum)==0 && ( + (pDest->iPKey<0 && pDest->pIndex!=0) /* (1) */ + || destHasUniqueIdx /* (2) */ + || (onError!=OE_Abort && onError!=OE_Rollback) /* (3) */ + )){ + /* In some circumstances, we are able to run the xfer optimization + ** only if the destination table is initially empty. Unless the + ** DBFLAG_Vacuum flag is set, this block generates code to make + ** that determination. If DBFLAG_Vacuum is set, then the destination + ** table is always empty. + ** + ** Conditions under which the destination must be empty: + ** + ** (1) There is no INTEGER PRIMARY KEY but there are indices. + ** (If the destination is not initially empty, the rowid fields + ** of index entries might need to change.) + ** + ** (2) The destination has a unique index. (The xfer optimization + ** is unable to test uniqueness.) + ** + ** (3) onError is something other than OE_Abort and OE_Rollback. + */ + addr1 = sqlite3VdbeAddOp2(v, OP_Rewind, iDest, 0); VdbeCoverage(v); + emptyDestTest = sqlite3VdbeAddOp0(v, OP_Goto); + sqlite3VdbeJumpHere(v, addr1); + } + if( HasRowid(pSrc) ){ + u8 insFlags; + sqlite3OpenTable(pParse, iSrc, iDbSrc, pSrc, OP_OpenRead); + emptySrcTest = sqlite3VdbeAddOp2(v, OP_Rewind, iSrc, 0); VdbeCoverage(v); + if( pDest->iPKey>=0 ){ + addr1 = sqlite3VdbeAddOp2(v, OP_Rowid, iSrc, regRowid); + sqlite3VdbeVerifyAbortable(v, onError); + addr2 = sqlite3VdbeAddOp3(v, OP_NotExists, iDest, 0, regRowid); + VdbeCoverage(v); + sqlite3RowidConstraint(pParse, onError, pDest); + sqlite3VdbeJumpHere(v, addr2); + autoIncStep(pParse, regAutoinc, regRowid); + }else if( pDest->pIndex==0 && !(db->mDbFlags & DBFLAG_VacuumInto) ){ + addr1 = sqlite3VdbeAddOp2(v, OP_NewRowid, iDest, regRowid); + }else{ + addr1 = sqlite3VdbeAddOp2(v, OP_Rowid, iSrc, regRowid); + assert( (pDest->tabFlags & TF_Autoincrement)==0 ); + } + sqlite3VdbeAddOp3(v, OP_RowData, iSrc, regData, 1); + if( db->mDbFlags & DBFLAG_Vacuum ){ + sqlite3VdbeAddOp1(v, OP_SeekEnd, iDest); + insFlags = OPFLAG_NCHANGE|OPFLAG_LASTROWID| + OPFLAG_APPEND|OPFLAG_USESEEKRESULT; + }else{ + insFlags = OPFLAG_NCHANGE|OPFLAG_LASTROWID|OPFLAG_APPEND; + } + sqlite3VdbeAddOp4(v, OP_Insert, iDest, regData, regRowid, + (char*)pDest, P4_TABLE); + sqlite3VdbeChangeP5(v, insFlags); + sqlite3VdbeAddOp2(v, OP_Next, iSrc, addr1); VdbeCoverage(v); + sqlite3VdbeAddOp2(v, OP_Close, iSrc, 0); + sqlite3VdbeAddOp2(v, OP_Close, iDest, 0); + }else{ + sqlite3TableLock(pParse, iDbDest, pDest->tnum, 1, pDest->zName); + sqlite3TableLock(pParse, iDbSrc, pSrc->tnum, 0, pSrc->zName); + } + for(pDestIdx=pDest->pIndex; pDestIdx; pDestIdx=pDestIdx->pNext){ + u8 idxInsFlags = 0; + for(pSrcIdx=pSrc->pIndex; ALWAYS(pSrcIdx); pSrcIdx=pSrcIdx->pNext){ + if( xferCompatibleIndex(pDestIdx, pSrcIdx) ) break; + } + assert( pSrcIdx ); + sqlite3VdbeAddOp3(v, OP_OpenRead, iSrc, pSrcIdx->tnum, iDbSrc); + sqlite3VdbeSetP4KeyInfo(pParse, pSrcIdx); + VdbeComment((v, "%s", pSrcIdx->zName)); + sqlite3VdbeAddOp3(v, OP_OpenWrite, iDest, pDestIdx->tnum, iDbDest); + sqlite3VdbeSetP4KeyInfo(pParse, pDestIdx); + sqlite3VdbeChangeP5(v, OPFLAG_BULKCSR); + VdbeComment((v, "%s", pDestIdx->zName)); + addr1 = sqlite3VdbeAddOp2(v, OP_Rewind, iSrc, 0); VdbeCoverage(v); + sqlite3VdbeAddOp3(v, OP_RowData, iSrc, regData, 1); + if( db->mDbFlags & DBFLAG_Vacuum ){ + /* This INSERT command is part of a VACUUM operation, which guarantees + ** that the destination table is empty. If all indexed columns use + ** collation sequence BINARY, then it can also be assumed that the + ** index will be populated by inserting keys in strictly sorted + ** order. In this case, instead of seeking within the b-tree as part + ** of every OP_IdxInsert opcode, an OP_SeekEnd is added before the + ** OP_IdxInsert to seek to the point within the b-tree where each key + ** should be inserted. This is faster. + ** + ** If any of the indexed columns use a collation sequence other than + ** BINARY, this optimization is disabled. This is because the user + ** might change the definition of a collation sequence and then run + ** a VACUUM command. In that case keys may not be written in strictly + ** sorted order. */ + for(i=0; inColumn; i++){ + const char *zColl = pSrcIdx->azColl[i]; + if( sqlite3_stricmp(sqlite3StrBINARY, zColl) ) break; + } + if( i==pSrcIdx->nColumn ){ + idxInsFlags = OPFLAG_USESEEKRESULT; + sqlite3VdbeAddOp1(v, OP_SeekEnd, iDest); + } + } + if( !HasRowid(pSrc) && pDestIdx->idxType==SQLITE_IDXTYPE_PRIMARYKEY ){ + idxInsFlags |= OPFLAG_NCHANGE; + } + sqlite3VdbeAddOp2(v, OP_IdxInsert, iDest, regData); + sqlite3VdbeChangeP5(v, idxInsFlags|OPFLAG_APPEND); + sqlite3VdbeAddOp2(v, OP_Next, iSrc, addr1+1); VdbeCoverage(v); + sqlite3VdbeJumpHere(v, addr1); + sqlite3VdbeAddOp2(v, OP_Close, iSrc, 0); + sqlite3VdbeAddOp2(v, OP_Close, iDest, 0); + } + if( emptySrcTest ) sqlite3VdbeJumpHere(v, emptySrcTest); + sqlite3ReleaseTempReg(pParse, regRowid); + sqlite3ReleaseTempReg(pParse, regData); + if( emptyDestTest ){ + sqlite3AutoincrementEnd(pParse); + sqlite3VdbeAddOp2(v, OP_Halt, SQLITE_OK, 0); + sqlite3VdbeJumpHere(v, emptyDestTest); + sqlite3VdbeAddOp2(v, OP_Close, iDest, 0); + return 0; + }else{ + return 1; + } +} +#endif /* SQLITE_OMIT_XFER_OPT */ + +/************** End of insert.c **********************************************/ +/************** Begin file legacy.c ******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** Main file for the SQLite library. The routines in this file +** implement the programmer interface to the library. Routines in +** other files are for internal use by SQLite and should not be +** accessed by users of the library. +*/ + +/* #include "sqliteInt.h" */ + +/* +** Execute SQL code. Return one of the SQLITE_ success/failure +** codes. Also write an error message into memory obtained from +** malloc() and make *pzErrMsg point to that message. +** +** If the SQL is a query, then for each row in the query result +** the xCallback() function is called. pArg becomes the first +** argument to xCallback(). If xCallback=NULL then no callback +** is invoked, even for queries. +*/ +SQLITE_API int sqlite3_exec( + sqlite3 *db, /* The database on which the SQL executes */ + const char *zSql, /* The SQL to be executed */ + sqlite3_callback xCallback, /* Invoke this callback routine */ + void *pArg, /* First argument to xCallback() */ + char **pzErrMsg /* Write error messages here */ +){ + int rc = SQLITE_OK; /* Return code */ + const char *zLeftover; /* Tail of unprocessed SQL */ + sqlite3_stmt *pStmt = 0; /* The current SQL statement */ + char **azCols = 0; /* Names of result columns */ + int callbackIsInit; /* True if callback data is initialized */ + + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; + if( zSql==0 ) zSql = ""; + + sqlite3_mutex_enter(db->mutex); + sqlite3Error(db, SQLITE_OK); + while( rc==SQLITE_OK && zSql[0] ){ + int nCol = 0; + char **azVals = 0; + + pStmt = 0; + rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, &zLeftover); + assert( rc==SQLITE_OK || pStmt==0 ); + if( rc!=SQLITE_OK ){ + continue; + } + if( !pStmt ){ + /* this happens for a comment or white-space */ + zSql = zLeftover; + continue; + } + callbackIsInit = 0; + + while( 1 ){ + int i; + rc = sqlite3_step(pStmt); + + /* Invoke the callback function if required */ + if( xCallback && (SQLITE_ROW==rc || + (SQLITE_DONE==rc && !callbackIsInit + && db->flags&SQLITE_NullCallback)) ){ + if( !callbackIsInit ){ + nCol = sqlite3_column_count(pStmt); + azCols = sqlite3DbMallocRaw(db, (2*nCol+1)*sizeof(const char*)); + if( azCols==0 ){ + goto exec_out; + } + for(i=0; ierrMask)==rc ); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +/************** End of legacy.c **********************************************/ +/************** Begin file loadext.c *****************************************/ +/* +** 2006 June 7 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains code used to dynamically load extensions into +** the SQLite library. +*/ + +#ifndef SQLITE_CORE + #define SQLITE_CORE 1 /* Disable the API redefinition in sqlite3ext.h */ +#endif +/************** Include sqlite3ext.h in the middle of loadext.c **************/ +/************** Begin file sqlite3ext.h **************************************/ +/* +** 2006 June 7 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This header file defines the SQLite interface for use by +** shared libraries that want to be imported as extensions into +** an SQLite instance. Shared libraries that intend to be loaded +** as extensions by SQLite should #include this file instead of +** sqlite3.h. +*/ +#ifndef SQLITE3EXT_H +#define SQLITE3EXT_H +/* #include "sqlite3.h" */ + +/* +** The following structure holds pointers to all of the SQLite API +** routines. +** +** WARNING: In order to maintain backwards compatibility, add new +** interfaces to the end of this structure only. If you insert new +** interfaces in the middle of this structure, then older different +** versions of SQLite will not be able to load each other's shared +** libraries! +*/ +struct sqlite3_api_routines { + void * (*aggregate_context)(sqlite3_context*,int nBytes); + int (*aggregate_count)(sqlite3_context*); + int (*bind_blob)(sqlite3_stmt*,int,const void*,int n,void(*)(void*)); + int (*bind_double)(sqlite3_stmt*,int,double); + int (*bind_int)(sqlite3_stmt*,int,int); + int (*bind_int64)(sqlite3_stmt*,int,sqlite_int64); + int (*bind_null)(sqlite3_stmt*,int); + int (*bind_parameter_count)(sqlite3_stmt*); + int (*bind_parameter_index)(sqlite3_stmt*,const char*zName); + const char * (*bind_parameter_name)(sqlite3_stmt*,int); + int (*bind_text)(sqlite3_stmt*,int,const char*,int n,void(*)(void*)); + int (*bind_text16)(sqlite3_stmt*,int,const void*,int,void(*)(void*)); + int (*bind_value)(sqlite3_stmt*,int,const sqlite3_value*); + int (*busy_handler)(sqlite3*,int(*)(void*,int),void*); + int (*busy_timeout)(sqlite3*,int ms); + int (*changes)(sqlite3*); + int (*close)(sqlite3*); + int (*collation_needed)(sqlite3*,void*,void(*)(void*,sqlite3*, + int eTextRep,const char*)); + int (*collation_needed16)(sqlite3*,void*,void(*)(void*,sqlite3*, + int eTextRep,const void*)); + const void * (*column_blob)(sqlite3_stmt*,int iCol); + int (*column_bytes)(sqlite3_stmt*,int iCol); + int (*column_bytes16)(sqlite3_stmt*,int iCol); + int (*column_count)(sqlite3_stmt*pStmt); + const char * (*column_database_name)(sqlite3_stmt*,int); + const void * (*column_database_name16)(sqlite3_stmt*,int); + const char * (*column_decltype)(sqlite3_stmt*,int i); + const void * (*column_decltype16)(sqlite3_stmt*,int); + double (*column_double)(sqlite3_stmt*,int iCol); + int (*column_int)(sqlite3_stmt*,int iCol); + sqlite_int64 (*column_int64)(sqlite3_stmt*,int iCol); + const char * (*column_name)(sqlite3_stmt*,int); + const void * (*column_name16)(sqlite3_stmt*,int); + const char * (*column_origin_name)(sqlite3_stmt*,int); + const void * (*column_origin_name16)(sqlite3_stmt*,int); + const char * (*column_table_name)(sqlite3_stmt*,int); + const void * (*column_table_name16)(sqlite3_stmt*,int); + const unsigned char * (*column_text)(sqlite3_stmt*,int iCol); + const void * (*column_text16)(sqlite3_stmt*,int iCol); + int (*column_type)(sqlite3_stmt*,int iCol); + sqlite3_value* (*column_value)(sqlite3_stmt*,int iCol); + void * (*commit_hook)(sqlite3*,int(*)(void*),void*); + int (*complete)(const char*sql); + int (*complete16)(const void*sql); + int (*create_collation)(sqlite3*,const char*,int,void*, + int(*)(void*,int,const void*,int,const void*)); + int (*create_collation16)(sqlite3*,const void*,int,void*, + int(*)(void*,int,const void*,int,const void*)); + int (*create_function)(sqlite3*,const char*,int,int,void*, + void (*xFunc)(sqlite3_context*,int,sqlite3_value**), + void (*xStep)(sqlite3_context*,int,sqlite3_value**), + void (*xFinal)(sqlite3_context*)); + int (*create_function16)(sqlite3*,const void*,int,int,void*, + void (*xFunc)(sqlite3_context*,int,sqlite3_value**), + void (*xStep)(sqlite3_context*,int,sqlite3_value**), + void (*xFinal)(sqlite3_context*)); + int (*create_module)(sqlite3*,const char*,const sqlite3_module*,void*); + int (*data_count)(sqlite3_stmt*pStmt); + sqlite3 * (*db_handle)(sqlite3_stmt*); + int (*declare_vtab)(sqlite3*,const char*); + int (*enable_shared_cache)(int); + int (*errcode)(sqlite3*db); + const char * (*errmsg)(sqlite3*); + const void * (*errmsg16)(sqlite3*); + int (*exec)(sqlite3*,const char*,sqlite3_callback,void*,char**); + int (*expired)(sqlite3_stmt*); + int (*finalize)(sqlite3_stmt*pStmt); + void (*free)(void*); + void (*free_table)(char**result); + int (*get_autocommit)(sqlite3*); + void * (*get_auxdata)(sqlite3_context*,int); + int (*get_table)(sqlite3*,const char*,char***,int*,int*,char**); + int (*global_recover)(void); + void (*interruptx)(sqlite3*); + sqlite_int64 (*last_insert_rowid)(sqlite3*); + const char * (*libversion)(void); + int (*libversion_number)(void); + void *(*malloc)(int); + char * (*mprintf)(const char*,...); + int (*open)(const char*,sqlite3**); + int (*open16)(const void*,sqlite3**); + int (*prepare)(sqlite3*,const char*,int,sqlite3_stmt**,const char**); + int (*prepare16)(sqlite3*,const void*,int,sqlite3_stmt**,const void**); + void * (*profile)(sqlite3*,void(*)(void*,const char*,sqlite_uint64),void*); + void (*progress_handler)(sqlite3*,int,int(*)(void*),void*); + void *(*realloc)(void*,int); + int (*reset)(sqlite3_stmt*pStmt); + void (*result_blob)(sqlite3_context*,const void*,int,void(*)(void*)); + void (*result_double)(sqlite3_context*,double); + void (*result_error)(sqlite3_context*,const char*,int); + void (*result_error16)(sqlite3_context*,const void*,int); + void (*result_int)(sqlite3_context*,int); + void (*result_int64)(sqlite3_context*,sqlite_int64); + void (*result_null)(sqlite3_context*); + void (*result_text)(sqlite3_context*,const char*,int,void(*)(void*)); + void (*result_text16)(sqlite3_context*,const void*,int,void(*)(void*)); + void (*result_text16be)(sqlite3_context*,const void*,int,void(*)(void*)); + void (*result_text16le)(sqlite3_context*,const void*,int,void(*)(void*)); + void (*result_value)(sqlite3_context*,sqlite3_value*); + void * (*rollback_hook)(sqlite3*,void(*)(void*),void*); + int (*set_authorizer)(sqlite3*,int(*)(void*,int,const char*,const char*, + const char*,const char*),void*); + void (*set_auxdata)(sqlite3_context*,int,void*,void (*)(void*)); + char * (*xsnprintf)(int,char*,const char*,...); + int (*step)(sqlite3_stmt*); + int (*table_column_metadata)(sqlite3*,const char*,const char*,const char*, + char const**,char const**,int*,int*,int*); + void (*thread_cleanup)(void); + int (*total_changes)(sqlite3*); + void * (*trace)(sqlite3*,void(*xTrace)(void*,const char*),void*); + int (*transfer_bindings)(sqlite3_stmt*,sqlite3_stmt*); + void * (*update_hook)(sqlite3*,void(*)(void*,int ,char const*,char const*, + sqlite_int64),void*); + void * (*user_data)(sqlite3_context*); + const void * (*value_blob)(sqlite3_value*); + int (*value_bytes)(sqlite3_value*); + int (*value_bytes16)(sqlite3_value*); + double (*value_double)(sqlite3_value*); + int (*value_int)(sqlite3_value*); + sqlite_int64 (*value_int64)(sqlite3_value*); + int (*value_numeric_type)(sqlite3_value*); + const unsigned char * (*value_text)(sqlite3_value*); + const void * (*value_text16)(sqlite3_value*); + const void * (*value_text16be)(sqlite3_value*); + const void * (*value_text16le)(sqlite3_value*); + int (*value_type)(sqlite3_value*); + char *(*vmprintf)(const char*,va_list); + /* Added ??? */ + int (*overload_function)(sqlite3*, const char *zFuncName, int nArg); + /* Added by 3.3.13 */ + int (*prepare_v2)(sqlite3*,const char*,int,sqlite3_stmt**,const char**); + int (*prepare16_v2)(sqlite3*,const void*,int,sqlite3_stmt**,const void**); + int (*clear_bindings)(sqlite3_stmt*); + /* Added by 3.4.1 */ + int (*create_module_v2)(sqlite3*,const char*,const sqlite3_module*,void*, + void (*xDestroy)(void *)); + /* Added by 3.5.0 */ + int (*bind_zeroblob)(sqlite3_stmt*,int,int); + int (*blob_bytes)(sqlite3_blob*); + int (*blob_close)(sqlite3_blob*); + int (*blob_open)(sqlite3*,const char*,const char*,const char*,sqlite3_int64, + int,sqlite3_blob**); + int (*blob_read)(sqlite3_blob*,void*,int,int); + int (*blob_write)(sqlite3_blob*,const void*,int,int); + int (*create_collation_v2)(sqlite3*,const char*,int,void*, + int(*)(void*,int,const void*,int,const void*), + void(*)(void*)); + int (*file_control)(sqlite3*,const char*,int,void*); + sqlite3_int64 (*memory_highwater)(int); + sqlite3_int64 (*memory_used)(void); + sqlite3_mutex *(*mutex_alloc)(int); + void (*mutex_enter)(sqlite3_mutex*); + void (*mutex_free)(sqlite3_mutex*); + void (*mutex_leave)(sqlite3_mutex*); + int (*mutex_try)(sqlite3_mutex*); + int (*open_v2)(const char*,sqlite3**,int,const char*); + int (*release_memory)(int); + void (*result_error_nomem)(sqlite3_context*); + void (*result_error_toobig)(sqlite3_context*); + int (*sleep)(int); + void (*soft_heap_limit)(int); + sqlite3_vfs *(*vfs_find)(const char*); + int (*vfs_register)(sqlite3_vfs*,int); + int (*vfs_unregister)(sqlite3_vfs*); + int (*xthreadsafe)(void); + void (*result_zeroblob)(sqlite3_context*,int); + void (*result_error_code)(sqlite3_context*,int); + int (*test_control)(int, ...); + void (*randomness)(int,void*); + sqlite3 *(*context_db_handle)(sqlite3_context*); + int (*extended_result_codes)(sqlite3*,int); + int (*limit)(sqlite3*,int,int); + sqlite3_stmt *(*next_stmt)(sqlite3*,sqlite3_stmt*); + const char *(*sql)(sqlite3_stmt*); + int (*status)(int,int*,int*,int); + int (*backup_finish)(sqlite3_backup*); + sqlite3_backup *(*backup_init)(sqlite3*,const char*,sqlite3*,const char*); + int (*backup_pagecount)(sqlite3_backup*); + int (*backup_remaining)(sqlite3_backup*); + int (*backup_step)(sqlite3_backup*,int); + const char *(*compileoption_get)(int); + int (*compileoption_used)(const char*); + int (*create_function_v2)(sqlite3*,const char*,int,int,void*, + void (*xFunc)(sqlite3_context*,int,sqlite3_value**), + void (*xStep)(sqlite3_context*,int,sqlite3_value**), + void (*xFinal)(sqlite3_context*), + void(*xDestroy)(void*)); + int (*db_config)(sqlite3*,int,...); + sqlite3_mutex *(*db_mutex)(sqlite3*); + int (*db_status)(sqlite3*,int,int*,int*,int); + int (*extended_errcode)(sqlite3*); + void (*log)(int,const char*,...); + sqlite3_int64 (*soft_heap_limit64)(sqlite3_int64); + const char *(*sourceid)(void); + int (*stmt_status)(sqlite3_stmt*,int,int); + int (*strnicmp)(const char*,const char*,int); + int (*unlock_notify)(sqlite3*,void(*)(void**,int),void*); + int (*wal_autocheckpoint)(sqlite3*,int); + int (*wal_checkpoint)(sqlite3*,const char*); + void *(*wal_hook)(sqlite3*,int(*)(void*,sqlite3*,const char*,int),void*); + int (*blob_reopen)(sqlite3_blob*,sqlite3_int64); + int (*vtab_config)(sqlite3*,int op,...); + int (*vtab_on_conflict)(sqlite3*); + /* Version 3.7.16 and later */ + int (*close_v2)(sqlite3*); + const char *(*db_filename)(sqlite3*,const char*); + int (*db_readonly)(sqlite3*,const char*); + int (*db_release_memory)(sqlite3*); + const char *(*errstr)(int); + int (*stmt_busy)(sqlite3_stmt*); + int (*stmt_readonly)(sqlite3_stmt*); + int (*stricmp)(const char*,const char*); + int (*uri_boolean)(const char*,const char*,int); + sqlite3_int64 (*uri_int64)(const char*,const char*,sqlite3_int64); + const char *(*uri_parameter)(const char*,const char*); + char *(*xvsnprintf)(int,char*,const char*,va_list); + int (*wal_checkpoint_v2)(sqlite3*,const char*,int,int*,int*); + /* Version 3.8.7 and later */ + int (*auto_extension)(void(*)(void)); + int (*bind_blob64)(sqlite3_stmt*,int,const void*,sqlite3_uint64, + void(*)(void*)); + int (*bind_text64)(sqlite3_stmt*,int,const char*,sqlite3_uint64, + void(*)(void*),unsigned char); + int (*cancel_auto_extension)(void(*)(void)); + int (*load_extension)(sqlite3*,const char*,const char*,char**); + void *(*malloc64)(sqlite3_uint64); + sqlite3_uint64 (*msize)(void*); + void *(*realloc64)(void*,sqlite3_uint64); + void (*reset_auto_extension)(void); + void (*result_blob64)(sqlite3_context*,const void*,sqlite3_uint64, + void(*)(void*)); + void (*result_text64)(sqlite3_context*,const char*,sqlite3_uint64, + void(*)(void*), unsigned char); + int (*strglob)(const char*,const char*); + /* Version 3.8.11 and later */ + sqlite3_value *(*value_dup)(const sqlite3_value*); + void (*value_free)(sqlite3_value*); + int (*result_zeroblob64)(sqlite3_context*,sqlite3_uint64); + int (*bind_zeroblob64)(sqlite3_stmt*, int, sqlite3_uint64); + /* Version 3.9.0 and later */ + unsigned int (*value_subtype)(sqlite3_value*); + void (*result_subtype)(sqlite3_context*,unsigned int); + /* Version 3.10.0 and later */ + int (*status64)(int,sqlite3_int64*,sqlite3_int64*,int); + int (*strlike)(const char*,const char*,unsigned int); + int (*db_cacheflush)(sqlite3*); + /* Version 3.12.0 and later */ + int (*system_errno)(sqlite3*); + /* Version 3.14.0 and later */ + int (*trace_v2)(sqlite3*,unsigned,int(*)(unsigned,void*,void*,void*),void*); + char *(*expanded_sql)(sqlite3_stmt*); + /* Version 3.18.0 and later */ + void (*set_last_insert_rowid)(sqlite3*,sqlite3_int64); + /* Version 3.20.0 and later */ + int (*prepare_v3)(sqlite3*,const char*,int,unsigned int, + sqlite3_stmt**,const char**); + int (*prepare16_v3)(sqlite3*,const void*,int,unsigned int, + sqlite3_stmt**,const void**); + int (*bind_pointer)(sqlite3_stmt*,int,void*,const char*,void(*)(void*)); + void (*result_pointer)(sqlite3_context*,void*,const char*,void(*)(void*)); + void *(*value_pointer)(sqlite3_value*,const char*); + int (*vtab_nochange)(sqlite3_context*); + int (*value_nochange)(sqlite3_value*); + const char *(*vtab_collation)(sqlite3_index_info*,int); + /* Version 3.24.0 and later */ + int (*keyword_count)(void); + int (*keyword_name)(int,const char**,int*); + int (*keyword_check)(const char*,int); + sqlite3_str *(*str_new)(sqlite3*); + char *(*str_finish)(sqlite3_str*); + void (*str_appendf)(sqlite3_str*, const char *zFormat, ...); + void (*str_vappendf)(sqlite3_str*, const char *zFormat, va_list); + void (*str_append)(sqlite3_str*, const char *zIn, int N); + void (*str_appendall)(sqlite3_str*, const char *zIn); + void (*str_appendchar)(sqlite3_str*, int N, char C); + void (*str_reset)(sqlite3_str*); + int (*str_errcode)(sqlite3_str*); + int (*str_length)(sqlite3_str*); + char *(*str_value)(sqlite3_str*); + /* Version 3.25.0 and later */ + int (*create_window_function)(sqlite3*,const char*,int,int,void*, + void (*xStep)(sqlite3_context*,int,sqlite3_value**), + void (*xFinal)(sqlite3_context*), + void (*xValue)(sqlite3_context*), + void (*xInv)(sqlite3_context*,int,sqlite3_value**), + void(*xDestroy)(void*)); + /* Version 3.26.0 and later */ + const char *(*normalized_sql)(sqlite3_stmt*); + /* Version 3.28.0 and later */ + int (*stmt_isexplain)(sqlite3_stmt*); + int (*value_frombind)(sqlite3_value*); + /* Version 3.30.0 and later */ + int (*drop_modules)(sqlite3*,const char**); +}; + +/* +** This is the function signature used for all extension entry points. It +** is also defined in the file "loadext.c". +*/ +typedef int (*sqlite3_loadext_entry)( + sqlite3 *db, /* Handle to the database. */ + char **pzErrMsg, /* Used to set error string on failure. */ + const sqlite3_api_routines *pThunk /* Extension API function pointers. */ +); + +/* +** The following macros redefine the API routines so that they are +** redirected through the global sqlite3_api structure. +** +** This header file is also used by the loadext.c source file +** (part of the main SQLite library - not an extension) so that +** it can get access to the sqlite3_api_routines structure +** definition. But the main library does not want to redefine +** the API. So the redefinition macros are only valid if the +** SQLITE_CORE macros is undefined. +*/ +#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) +#define sqlite3_aggregate_context sqlite3_api->aggregate_context +#ifndef SQLITE_OMIT_DEPRECATED +#define sqlite3_aggregate_count sqlite3_api->aggregate_count +#endif +#define sqlite3_bind_blob sqlite3_api->bind_blob +#define sqlite3_bind_double sqlite3_api->bind_double +#define sqlite3_bind_int sqlite3_api->bind_int +#define sqlite3_bind_int64 sqlite3_api->bind_int64 +#define sqlite3_bind_null sqlite3_api->bind_null +#define sqlite3_bind_parameter_count sqlite3_api->bind_parameter_count +#define sqlite3_bind_parameter_index sqlite3_api->bind_parameter_index +#define sqlite3_bind_parameter_name sqlite3_api->bind_parameter_name +#define sqlite3_bind_text sqlite3_api->bind_text +#define sqlite3_bind_text16 sqlite3_api->bind_text16 +#define sqlite3_bind_value sqlite3_api->bind_value +#define sqlite3_busy_handler sqlite3_api->busy_handler +#define sqlite3_busy_timeout sqlite3_api->busy_timeout +#define sqlite3_changes sqlite3_api->changes +#define sqlite3_close sqlite3_api->close +#define sqlite3_collation_needed sqlite3_api->collation_needed +#define sqlite3_collation_needed16 sqlite3_api->collation_needed16 +#define sqlite3_column_blob sqlite3_api->column_blob +#define sqlite3_column_bytes sqlite3_api->column_bytes +#define sqlite3_column_bytes16 sqlite3_api->column_bytes16 +#define sqlite3_column_count sqlite3_api->column_count +#define sqlite3_column_database_name sqlite3_api->column_database_name +#define sqlite3_column_database_name16 sqlite3_api->column_database_name16 +#define sqlite3_column_decltype sqlite3_api->column_decltype +#define sqlite3_column_decltype16 sqlite3_api->column_decltype16 +#define sqlite3_column_double sqlite3_api->column_double +#define sqlite3_column_int sqlite3_api->column_int +#define sqlite3_column_int64 sqlite3_api->column_int64 +#define sqlite3_column_name sqlite3_api->column_name +#define sqlite3_column_name16 sqlite3_api->column_name16 +#define sqlite3_column_origin_name sqlite3_api->column_origin_name +#define sqlite3_column_origin_name16 sqlite3_api->column_origin_name16 +#define sqlite3_column_table_name sqlite3_api->column_table_name +#define sqlite3_column_table_name16 sqlite3_api->column_table_name16 +#define sqlite3_column_text sqlite3_api->column_text +#define sqlite3_column_text16 sqlite3_api->column_text16 +#define sqlite3_column_type sqlite3_api->column_type +#define sqlite3_column_value sqlite3_api->column_value +#define sqlite3_commit_hook sqlite3_api->commit_hook +#define sqlite3_complete sqlite3_api->complete +#define sqlite3_complete16 sqlite3_api->complete16 +#define sqlite3_create_collation sqlite3_api->create_collation +#define sqlite3_create_collation16 sqlite3_api->create_collation16 +#define sqlite3_create_function sqlite3_api->create_function +#define sqlite3_create_function16 sqlite3_api->create_function16 +#define sqlite3_create_module sqlite3_api->create_module +#define sqlite3_create_module_v2 sqlite3_api->create_module_v2 +#define sqlite3_data_count sqlite3_api->data_count +#define sqlite3_db_handle sqlite3_api->db_handle +#define sqlite3_declare_vtab sqlite3_api->declare_vtab +#define sqlite3_enable_shared_cache sqlite3_api->enable_shared_cache +#define sqlite3_errcode sqlite3_api->errcode +#define sqlite3_errmsg sqlite3_api->errmsg +#define sqlite3_errmsg16 sqlite3_api->errmsg16 +#define sqlite3_exec sqlite3_api->exec +#ifndef SQLITE_OMIT_DEPRECATED +#define sqlite3_expired sqlite3_api->expired +#endif +#define sqlite3_finalize sqlite3_api->finalize +#define sqlite3_free sqlite3_api->free +#define sqlite3_free_table sqlite3_api->free_table +#define sqlite3_get_autocommit sqlite3_api->get_autocommit +#define sqlite3_get_auxdata sqlite3_api->get_auxdata +#define sqlite3_get_table sqlite3_api->get_table +#ifndef SQLITE_OMIT_DEPRECATED +#define sqlite3_global_recover sqlite3_api->global_recover +#endif +#define sqlite3_interrupt sqlite3_api->interruptx +#define sqlite3_last_insert_rowid sqlite3_api->last_insert_rowid +#define sqlite3_libversion sqlite3_api->libversion +#define sqlite3_libversion_number sqlite3_api->libversion_number +#define sqlite3_malloc sqlite3_api->malloc +#define sqlite3_mprintf sqlite3_api->mprintf +#define sqlite3_open sqlite3_api->open +#define sqlite3_open16 sqlite3_api->open16 +#define sqlite3_prepare sqlite3_api->prepare +#define sqlite3_prepare16 sqlite3_api->prepare16 +#define sqlite3_prepare_v2 sqlite3_api->prepare_v2 +#define sqlite3_prepare16_v2 sqlite3_api->prepare16_v2 +#define sqlite3_profile sqlite3_api->profile +#define sqlite3_progress_handler sqlite3_api->progress_handler +#define sqlite3_realloc sqlite3_api->realloc +#define sqlite3_reset sqlite3_api->reset +#define sqlite3_result_blob sqlite3_api->result_blob +#define sqlite3_result_double sqlite3_api->result_double +#define sqlite3_result_error sqlite3_api->result_error +#define sqlite3_result_error16 sqlite3_api->result_error16 +#define sqlite3_result_int sqlite3_api->result_int +#define sqlite3_result_int64 sqlite3_api->result_int64 +#define sqlite3_result_null sqlite3_api->result_null +#define sqlite3_result_text sqlite3_api->result_text +#define sqlite3_result_text16 sqlite3_api->result_text16 +#define sqlite3_result_text16be sqlite3_api->result_text16be +#define sqlite3_result_text16le sqlite3_api->result_text16le +#define sqlite3_result_value sqlite3_api->result_value +#define sqlite3_rollback_hook sqlite3_api->rollback_hook +#define sqlite3_set_authorizer sqlite3_api->set_authorizer +#define sqlite3_set_auxdata sqlite3_api->set_auxdata +#define sqlite3_snprintf sqlite3_api->xsnprintf +#define sqlite3_step sqlite3_api->step +#define sqlite3_table_column_metadata sqlite3_api->table_column_metadata +#define sqlite3_thread_cleanup sqlite3_api->thread_cleanup +#define sqlite3_total_changes sqlite3_api->total_changes +#define sqlite3_trace sqlite3_api->trace +#ifndef SQLITE_OMIT_DEPRECATED +#define sqlite3_transfer_bindings sqlite3_api->transfer_bindings +#endif +#define sqlite3_update_hook sqlite3_api->update_hook +#define sqlite3_user_data sqlite3_api->user_data +#define sqlite3_value_blob sqlite3_api->value_blob +#define sqlite3_value_bytes sqlite3_api->value_bytes +#define sqlite3_value_bytes16 sqlite3_api->value_bytes16 +#define sqlite3_value_double sqlite3_api->value_double +#define sqlite3_value_int sqlite3_api->value_int +#define sqlite3_value_int64 sqlite3_api->value_int64 +#define sqlite3_value_numeric_type sqlite3_api->value_numeric_type +#define sqlite3_value_text sqlite3_api->value_text +#define sqlite3_value_text16 sqlite3_api->value_text16 +#define sqlite3_value_text16be sqlite3_api->value_text16be +#define sqlite3_value_text16le sqlite3_api->value_text16le +#define sqlite3_value_type sqlite3_api->value_type +#define sqlite3_vmprintf sqlite3_api->vmprintf +#define sqlite3_vsnprintf sqlite3_api->xvsnprintf +#define sqlite3_overload_function sqlite3_api->overload_function +#define sqlite3_prepare_v2 sqlite3_api->prepare_v2 +#define sqlite3_prepare16_v2 sqlite3_api->prepare16_v2 +#define sqlite3_clear_bindings sqlite3_api->clear_bindings +#define sqlite3_bind_zeroblob sqlite3_api->bind_zeroblob +#define sqlite3_blob_bytes sqlite3_api->blob_bytes +#define sqlite3_blob_close sqlite3_api->blob_close +#define sqlite3_blob_open sqlite3_api->blob_open +#define sqlite3_blob_read sqlite3_api->blob_read +#define sqlite3_blob_write sqlite3_api->blob_write +#define sqlite3_create_collation_v2 sqlite3_api->create_collation_v2 +#define sqlite3_file_control sqlite3_api->file_control +#define sqlite3_memory_highwater sqlite3_api->memory_highwater +#define sqlite3_memory_used sqlite3_api->memory_used +#define sqlite3_mutex_alloc sqlite3_api->mutex_alloc +#define sqlite3_mutex_enter sqlite3_api->mutex_enter +#define sqlite3_mutex_free sqlite3_api->mutex_free +#define sqlite3_mutex_leave sqlite3_api->mutex_leave +#define sqlite3_mutex_try sqlite3_api->mutex_try +#define sqlite3_open_v2 sqlite3_api->open_v2 +#define sqlite3_release_memory sqlite3_api->release_memory +#define sqlite3_result_error_nomem sqlite3_api->result_error_nomem +#define sqlite3_result_error_toobig sqlite3_api->result_error_toobig +#define sqlite3_sleep sqlite3_api->sleep +#define sqlite3_soft_heap_limit sqlite3_api->soft_heap_limit +#define sqlite3_vfs_find sqlite3_api->vfs_find +#define sqlite3_vfs_register sqlite3_api->vfs_register +#define sqlite3_vfs_unregister sqlite3_api->vfs_unregister +#define sqlite3_threadsafe sqlite3_api->xthreadsafe +#define sqlite3_result_zeroblob sqlite3_api->result_zeroblob +#define sqlite3_result_error_code sqlite3_api->result_error_code +#define sqlite3_test_control sqlite3_api->test_control +#define sqlite3_randomness sqlite3_api->randomness +#define sqlite3_context_db_handle sqlite3_api->context_db_handle +#define sqlite3_extended_result_codes sqlite3_api->extended_result_codes +#define sqlite3_limit sqlite3_api->limit +#define sqlite3_next_stmt sqlite3_api->next_stmt +#define sqlite3_sql sqlite3_api->sql +#define sqlite3_status sqlite3_api->status +#define sqlite3_backup_finish sqlite3_api->backup_finish +#define sqlite3_backup_init sqlite3_api->backup_init +#define sqlite3_backup_pagecount sqlite3_api->backup_pagecount +#define sqlite3_backup_remaining sqlite3_api->backup_remaining +#define sqlite3_backup_step sqlite3_api->backup_step +#define sqlite3_compileoption_get sqlite3_api->compileoption_get +#define sqlite3_compileoption_used sqlite3_api->compileoption_used +#define sqlite3_create_function_v2 sqlite3_api->create_function_v2 +#define sqlite3_db_config sqlite3_api->db_config +#define sqlite3_db_mutex sqlite3_api->db_mutex +#define sqlite3_db_status sqlite3_api->db_status +#define sqlite3_extended_errcode sqlite3_api->extended_errcode +#define sqlite3_log sqlite3_api->log +#define sqlite3_soft_heap_limit64 sqlite3_api->soft_heap_limit64 +#define sqlite3_sourceid sqlite3_api->sourceid +#define sqlite3_stmt_status sqlite3_api->stmt_status +#define sqlite3_strnicmp sqlite3_api->strnicmp +#define sqlite3_unlock_notify sqlite3_api->unlock_notify +#define sqlite3_wal_autocheckpoint sqlite3_api->wal_autocheckpoint +#define sqlite3_wal_checkpoint sqlite3_api->wal_checkpoint +#define sqlite3_wal_hook sqlite3_api->wal_hook +#define sqlite3_blob_reopen sqlite3_api->blob_reopen +#define sqlite3_vtab_config sqlite3_api->vtab_config +#define sqlite3_vtab_on_conflict sqlite3_api->vtab_on_conflict +/* Version 3.7.16 and later */ +#define sqlite3_close_v2 sqlite3_api->close_v2 +#define sqlite3_db_filename sqlite3_api->db_filename +#define sqlite3_db_readonly sqlite3_api->db_readonly +#define sqlite3_db_release_memory sqlite3_api->db_release_memory +#define sqlite3_errstr sqlite3_api->errstr +#define sqlite3_stmt_busy sqlite3_api->stmt_busy +#define sqlite3_stmt_readonly sqlite3_api->stmt_readonly +#define sqlite3_stricmp sqlite3_api->stricmp +#define sqlite3_uri_boolean sqlite3_api->uri_boolean +#define sqlite3_uri_int64 sqlite3_api->uri_int64 +#define sqlite3_uri_parameter sqlite3_api->uri_parameter +#define sqlite3_uri_vsnprintf sqlite3_api->xvsnprintf +#define sqlite3_wal_checkpoint_v2 sqlite3_api->wal_checkpoint_v2 +/* Version 3.8.7 and later */ +#define sqlite3_auto_extension sqlite3_api->auto_extension +#define sqlite3_bind_blob64 sqlite3_api->bind_blob64 +#define sqlite3_bind_text64 sqlite3_api->bind_text64 +#define sqlite3_cancel_auto_extension sqlite3_api->cancel_auto_extension +#define sqlite3_load_extension sqlite3_api->load_extension +#define sqlite3_malloc64 sqlite3_api->malloc64 +#define sqlite3_msize sqlite3_api->msize +#define sqlite3_realloc64 sqlite3_api->realloc64 +#define sqlite3_reset_auto_extension sqlite3_api->reset_auto_extension +#define sqlite3_result_blob64 sqlite3_api->result_blob64 +#define sqlite3_result_text64 sqlite3_api->result_text64 +#define sqlite3_strglob sqlite3_api->strglob +/* Version 3.8.11 and later */ +#define sqlite3_value_dup sqlite3_api->value_dup +#define sqlite3_value_free sqlite3_api->value_free +#define sqlite3_result_zeroblob64 sqlite3_api->result_zeroblob64 +#define sqlite3_bind_zeroblob64 sqlite3_api->bind_zeroblob64 +/* Version 3.9.0 and later */ +#define sqlite3_value_subtype sqlite3_api->value_subtype +#define sqlite3_result_subtype sqlite3_api->result_subtype +/* Version 3.10.0 and later */ +#define sqlite3_status64 sqlite3_api->status64 +#define sqlite3_strlike sqlite3_api->strlike +#define sqlite3_db_cacheflush sqlite3_api->db_cacheflush +/* Version 3.12.0 and later */ +#define sqlite3_system_errno sqlite3_api->system_errno +/* Version 3.14.0 and later */ +#define sqlite3_trace_v2 sqlite3_api->trace_v2 +#define sqlite3_expanded_sql sqlite3_api->expanded_sql +/* Version 3.18.0 and later */ +#define sqlite3_set_last_insert_rowid sqlite3_api->set_last_insert_rowid +/* Version 3.20.0 and later */ +#define sqlite3_prepare_v3 sqlite3_api->prepare_v3 +#define sqlite3_prepare16_v3 sqlite3_api->prepare16_v3 +#define sqlite3_bind_pointer sqlite3_api->bind_pointer +#define sqlite3_result_pointer sqlite3_api->result_pointer +#define sqlite3_value_pointer sqlite3_api->value_pointer +/* Version 3.22.0 and later */ +#define sqlite3_vtab_nochange sqlite3_api->vtab_nochange +#define sqlite3_value_nochange sqlite3_api->value_nochange +#define sqlite3_vtab_collation sqlite3_api->vtab_collation +/* Version 3.24.0 and later */ +#define sqlite3_keyword_count sqlite3_api->keyword_count +#define sqlite3_keyword_name sqlite3_api->keyword_name +#define sqlite3_keyword_check sqlite3_api->keyword_check +#define sqlite3_str_new sqlite3_api->str_new +#define sqlite3_str_finish sqlite3_api->str_finish +#define sqlite3_str_appendf sqlite3_api->str_appendf +#define sqlite3_str_vappendf sqlite3_api->str_vappendf +#define sqlite3_str_append sqlite3_api->str_append +#define sqlite3_str_appendall sqlite3_api->str_appendall +#define sqlite3_str_appendchar sqlite3_api->str_appendchar +#define sqlite3_str_reset sqlite3_api->str_reset +#define sqlite3_str_errcode sqlite3_api->str_errcode +#define sqlite3_str_length sqlite3_api->str_length +#define sqlite3_str_value sqlite3_api->str_value +/* Version 3.25.0 and later */ +#define sqlite3_create_window_function sqlite3_api->create_window_function +/* Version 3.26.0 and later */ +#define sqlite3_normalized_sql sqlite3_api->normalized_sql +/* Version 3.28.0 and later */ +#define sqlite3_stmt_isexplain sqlite3_api->isexplain +#define sqlite3_value_frombind sqlite3_api->frombind +/* Version 3.30.0 and later */ +#define sqlite3_drop_modules sqlite3_api->drop_modules +#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ + +#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) + /* This case when the file really is being compiled as a loadable + ** extension */ +# define SQLITE_EXTENSION_INIT1 const sqlite3_api_routines *sqlite3_api=0; +# define SQLITE_EXTENSION_INIT2(v) sqlite3_api=v; +# define SQLITE_EXTENSION_INIT3 \ + extern const sqlite3_api_routines *sqlite3_api; +#else + /* This case when the file is being statically linked into the + ** application */ +# define SQLITE_EXTENSION_INIT1 /*no-op*/ +# define SQLITE_EXTENSION_INIT2(v) (void)v; /* unused parameter */ +# define SQLITE_EXTENSION_INIT3 /*no-op*/ +#endif + +#endif /* SQLITE3EXT_H */ + +/************** End of sqlite3ext.h ******************************************/ +/************** Continuing where we left off in loadext.c ********************/ +/* #include "sqliteInt.h" */ + +#ifndef SQLITE_OMIT_LOAD_EXTENSION +/* +** Some API routines are omitted when various features are +** excluded from a build of SQLite. Substitute a NULL pointer +** for any missing APIs. +*/ +#ifndef SQLITE_ENABLE_COLUMN_METADATA +# define sqlite3_column_database_name 0 +# define sqlite3_column_database_name16 0 +# define sqlite3_column_table_name 0 +# define sqlite3_column_table_name16 0 +# define sqlite3_column_origin_name 0 +# define sqlite3_column_origin_name16 0 +#endif + +#ifdef SQLITE_OMIT_AUTHORIZATION +# define sqlite3_set_authorizer 0 +#endif + +#ifdef SQLITE_OMIT_UTF16 +# define sqlite3_bind_text16 0 +# define sqlite3_collation_needed16 0 +# define sqlite3_column_decltype16 0 +# define sqlite3_column_name16 0 +# define sqlite3_column_text16 0 +# define sqlite3_complete16 0 +# define sqlite3_create_collation16 0 +# define sqlite3_create_function16 0 +# define sqlite3_errmsg16 0 +# define sqlite3_open16 0 +# define sqlite3_prepare16 0 +# define sqlite3_prepare16_v2 0 +# define sqlite3_prepare16_v3 0 +# define sqlite3_result_error16 0 +# define sqlite3_result_text16 0 +# define sqlite3_result_text16be 0 +# define sqlite3_result_text16le 0 +# define sqlite3_value_text16 0 +# define sqlite3_value_text16be 0 +# define sqlite3_value_text16le 0 +# define sqlite3_column_database_name16 0 +# define sqlite3_column_table_name16 0 +# define sqlite3_column_origin_name16 0 +#endif + +#ifdef SQLITE_OMIT_COMPLETE +# define sqlite3_complete 0 +# define sqlite3_complete16 0 +#endif + +#ifdef SQLITE_OMIT_DECLTYPE +# define sqlite3_column_decltype16 0 +# define sqlite3_column_decltype 0 +#endif + +#ifdef SQLITE_OMIT_PROGRESS_CALLBACK +# define sqlite3_progress_handler 0 +#endif + +#ifdef SQLITE_OMIT_VIRTUALTABLE +# define sqlite3_create_module 0 +# define sqlite3_create_module_v2 0 +# define sqlite3_declare_vtab 0 +# define sqlite3_vtab_config 0 +# define sqlite3_vtab_on_conflict 0 +# define sqlite3_vtab_collation 0 +#endif + +#ifdef SQLITE_OMIT_SHARED_CACHE +# define sqlite3_enable_shared_cache 0 +#endif + +#if defined(SQLITE_OMIT_TRACE) || defined(SQLITE_OMIT_DEPRECATED) +# define sqlite3_profile 0 +# define sqlite3_trace 0 +#endif + +#ifdef SQLITE_OMIT_GET_TABLE +# define sqlite3_free_table 0 +# define sqlite3_get_table 0 +#endif + +#ifdef SQLITE_OMIT_INCRBLOB +#define sqlite3_bind_zeroblob 0 +#define sqlite3_blob_bytes 0 +#define sqlite3_blob_close 0 +#define sqlite3_blob_open 0 +#define sqlite3_blob_read 0 +#define sqlite3_blob_write 0 +#define sqlite3_blob_reopen 0 +#endif + +#if defined(SQLITE_OMIT_TRACE) +# define sqlite3_trace_v2 0 +#endif + +/* +** The following structure contains pointers to all SQLite API routines. +** A pointer to this structure is passed into extensions when they are +** loaded so that the extension can make calls back into the SQLite +** library. +** +** When adding new APIs, add them to the bottom of this structure +** in order to preserve backwards compatibility. +** +** Extensions that use newer APIs should first call the +** sqlite3_libversion_number() to make sure that the API they +** intend to use is supported by the library. Extensions should +** also check to make sure that the pointer to the function is +** not NULL before calling it. +*/ +static const sqlite3_api_routines sqlite3Apis = { + sqlite3_aggregate_context, +#ifndef SQLITE_OMIT_DEPRECATED + sqlite3_aggregate_count, +#else + 0, +#endif + sqlite3_bind_blob, + sqlite3_bind_double, + sqlite3_bind_int, + sqlite3_bind_int64, + sqlite3_bind_null, + sqlite3_bind_parameter_count, + sqlite3_bind_parameter_index, + sqlite3_bind_parameter_name, + sqlite3_bind_text, + sqlite3_bind_text16, + sqlite3_bind_value, + sqlite3_busy_handler, + sqlite3_busy_timeout, + sqlite3_changes, + sqlite3_close, + sqlite3_collation_needed, + sqlite3_collation_needed16, + sqlite3_column_blob, + sqlite3_column_bytes, + sqlite3_column_bytes16, + sqlite3_column_count, + sqlite3_column_database_name, + sqlite3_column_database_name16, + sqlite3_column_decltype, + sqlite3_column_decltype16, + sqlite3_column_double, + sqlite3_column_int, + sqlite3_column_int64, + sqlite3_column_name, + sqlite3_column_name16, + sqlite3_column_origin_name, + sqlite3_column_origin_name16, + sqlite3_column_table_name, + sqlite3_column_table_name16, + sqlite3_column_text, + sqlite3_column_text16, + sqlite3_column_type, + sqlite3_column_value, + sqlite3_commit_hook, + sqlite3_complete, + sqlite3_complete16, + sqlite3_create_collation, + sqlite3_create_collation16, + sqlite3_create_function, + sqlite3_create_function16, + sqlite3_create_module, + sqlite3_data_count, + sqlite3_db_handle, + sqlite3_declare_vtab, + sqlite3_enable_shared_cache, + sqlite3_errcode, + sqlite3_errmsg, + sqlite3_errmsg16, + sqlite3_exec, +#ifndef SQLITE_OMIT_DEPRECATED + sqlite3_expired, +#else + 0, +#endif + sqlite3_finalize, + sqlite3_free, + sqlite3_free_table, + sqlite3_get_autocommit, + sqlite3_get_auxdata, + sqlite3_get_table, + 0, /* Was sqlite3_global_recover(), but that function is deprecated */ + sqlite3_interrupt, + sqlite3_last_insert_rowid, + sqlite3_libversion, + sqlite3_libversion_number, + sqlite3_malloc, + sqlite3_mprintf, + sqlite3_open, + sqlite3_open16, + sqlite3_prepare, + sqlite3_prepare16, + sqlite3_profile, + sqlite3_progress_handler, + sqlite3_realloc, + sqlite3_reset, + sqlite3_result_blob, + sqlite3_result_double, + sqlite3_result_error, + sqlite3_result_error16, + sqlite3_result_int, + sqlite3_result_int64, + sqlite3_result_null, + sqlite3_result_text, + sqlite3_result_text16, + sqlite3_result_text16be, + sqlite3_result_text16le, + sqlite3_result_value, + sqlite3_rollback_hook, + sqlite3_set_authorizer, + sqlite3_set_auxdata, + sqlite3_snprintf, + sqlite3_step, + sqlite3_table_column_metadata, +#ifndef SQLITE_OMIT_DEPRECATED + sqlite3_thread_cleanup, +#else + 0, +#endif + sqlite3_total_changes, + sqlite3_trace, +#ifndef SQLITE_OMIT_DEPRECATED + sqlite3_transfer_bindings, +#else + 0, +#endif + sqlite3_update_hook, + sqlite3_user_data, + sqlite3_value_blob, + sqlite3_value_bytes, + sqlite3_value_bytes16, + sqlite3_value_double, + sqlite3_value_int, + sqlite3_value_int64, + sqlite3_value_numeric_type, + sqlite3_value_text, + sqlite3_value_text16, + sqlite3_value_text16be, + sqlite3_value_text16le, + sqlite3_value_type, + sqlite3_vmprintf, + /* + ** The original API set ends here. All extensions can call any + ** of the APIs above provided that the pointer is not NULL. But + ** before calling APIs that follow, extension should check the + ** sqlite3_libversion_number() to make sure they are dealing with + ** a library that is new enough to support that API. + ************************************************************************* + */ + sqlite3_overload_function, + + /* + ** Added after 3.3.13 + */ + sqlite3_prepare_v2, + sqlite3_prepare16_v2, + sqlite3_clear_bindings, + + /* + ** Added for 3.4.1 + */ + sqlite3_create_module_v2, + + /* + ** Added for 3.5.0 + */ + sqlite3_bind_zeroblob, + sqlite3_blob_bytes, + sqlite3_blob_close, + sqlite3_blob_open, + sqlite3_blob_read, + sqlite3_blob_write, + sqlite3_create_collation_v2, + sqlite3_file_control, + sqlite3_memory_highwater, + sqlite3_memory_used, +#ifdef SQLITE_MUTEX_OMIT + 0, + 0, + 0, + 0, + 0, +#else + sqlite3_mutex_alloc, + sqlite3_mutex_enter, + sqlite3_mutex_free, + sqlite3_mutex_leave, + sqlite3_mutex_try, +#endif + sqlite3_open_v2, + sqlite3_release_memory, + sqlite3_result_error_nomem, + sqlite3_result_error_toobig, + sqlite3_sleep, + sqlite3_soft_heap_limit, + sqlite3_vfs_find, + sqlite3_vfs_register, + sqlite3_vfs_unregister, + + /* + ** Added for 3.5.8 + */ + sqlite3_threadsafe, + sqlite3_result_zeroblob, + sqlite3_result_error_code, + sqlite3_test_control, + sqlite3_randomness, + sqlite3_context_db_handle, + + /* + ** Added for 3.6.0 + */ + sqlite3_extended_result_codes, + sqlite3_limit, + sqlite3_next_stmt, + sqlite3_sql, + sqlite3_status, + + /* + ** Added for 3.7.4 + */ + sqlite3_backup_finish, + sqlite3_backup_init, + sqlite3_backup_pagecount, + sqlite3_backup_remaining, + sqlite3_backup_step, +#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS + sqlite3_compileoption_get, + sqlite3_compileoption_used, +#else + 0, + 0, +#endif + sqlite3_create_function_v2, + sqlite3_db_config, + sqlite3_db_mutex, + sqlite3_db_status, + sqlite3_extended_errcode, + sqlite3_log, + sqlite3_soft_heap_limit64, + sqlite3_sourceid, + sqlite3_stmt_status, + sqlite3_strnicmp, +#ifdef SQLITE_ENABLE_UNLOCK_NOTIFY + sqlite3_unlock_notify, +#else + 0, +#endif +#ifndef SQLITE_OMIT_WAL + sqlite3_wal_autocheckpoint, + sqlite3_wal_checkpoint, + sqlite3_wal_hook, +#else + 0, + 0, + 0, +#endif + sqlite3_blob_reopen, + sqlite3_vtab_config, + sqlite3_vtab_on_conflict, + sqlite3_close_v2, + sqlite3_db_filename, + sqlite3_db_readonly, + sqlite3_db_release_memory, + sqlite3_errstr, + sqlite3_stmt_busy, + sqlite3_stmt_readonly, + sqlite3_stricmp, + sqlite3_uri_boolean, + sqlite3_uri_int64, + sqlite3_uri_parameter, + sqlite3_vsnprintf, + sqlite3_wal_checkpoint_v2, + /* Version 3.8.7 and later */ + sqlite3_auto_extension, + sqlite3_bind_blob64, + sqlite3_bind_text64, + sqlite3_cancel_auto_extension, + sqlite3_load_extension, + sqlite3_malloc64, + sqlite3_msize, + sqlite3_realloc64, + sqlite3_reset_auto_extension, + sqlite3_result_blob64, + sqlite3_result_text64, + sqlite3_strglob, + /* Version 3.8.11 and later */ + (sqlite3_value*(*)(const sqlite3_value*))sqlite3_value_dup, + sqlite3_value_free, + sqlite3_result_zeroblob64, + sqlite3_bind_zeroblob64, + /* Version 3.9.0 and later */ + sqlite3_value_subtype, + sqlite3_result_subtype, + /* Version 3.10.0 and later */ + sqlite3_status64, + sqlite3_strlike, + sqlite3_db_cacheflush, + /* Version 3.12.0 and later */ + sqlite3_system_errno, + /* Version 3.14.0 and later */ + sqlite3_trace_v2, + sqlite3_expanded_sql, + /* Version 3.18.0 and later */ + sqlite3_set_last_insert_rowid, + /* Version 3.20.0 and later */ + sqlite3_prepare_v3, + sqlite3_prepare16_v3, + sqlite3_bind_pointer, + sqlite3_result_pointer, + sqlite3_value_pointer, + /* Version 3.22.0 and later */ + sqlite3_vtab_nochange, + sqlite3_value_nochange, + sqlite3_vtab_collation, + /* Version 3.24.0 and later */ + sqlite3_keyword_count, + sqlite3_keyword_name, + sqlite3_keyword_check, + sqlite3_str_new, + sqlite3_str_finish, + sqlite3_str_appendf, + sqlite3_str_vappendf, + sqlite3_str_append, + sqlite3_str_appendall, + sqlite3_str_appendchar, + sqlite3_str_reset, + sqlite3_str_errcode, + sqlite3_str_length, + sqlite3_str_value, + /* Version 3.25.0 and later */ + sqlite3_create_window_function, + /* Version 3.26.0 and later */ +#ifdef SQLITE_ENABLE_NORMALIZE + sqlite3_normalized_sql, +#else + 0, +#endif + /* Version 3.28.0 and later */ + sqlite3_stmt_isexplain, + sqlite3_value_frombind, + /* Version 3.30.0 and later */ +#ifndef SQLITE_OMIT_VIRTUALTABLE + sqlite3_drop_modules, +#else + 0, +#endif +}; + +/* +** Attempt to load an SQLite extension library contained in the file +** zFile. The entry point is zProc. zProc may be 0 in which case a +** default entry point name (sqlite3_extension_init) is used. Use +** of the default name is recommended. +** +** Return SQLITE_OK on success and SQLITE_ERROR if something goes wrong. +** +** If an error occurs and pzErrMsg is not 0, then fill *pzErrMsg with +** error message text. The calling function should free this memory +** by calling sqlite3DbFree(db, ). +*/ +static int sqlite3LoadExtension( + sqlite3 *db, /* Load the extension into this database connection */ + const char *zFile, /* Name of the shared library containing extension */ + const char *zProc, /* Entry point. Use "sqlite3_extension_init" if 0 */ + char **pzErrMsg /* Put error message here if not 0 */ +){ + sqlite3_vfs *pVfs = db->pVfs; + void *handle; + sqlite3_loadext_entry xInit; + char *zErrmsg = 0; + const char *zEntry; + char *zAltEntry = 0; + void **aHandle; + u64 nMsg = 300 + sqlite3Strlen30(zFile); + int ii; + int rc; + + /* Shared library endings to try if zFile cannot be loaded as written */ + static const char *azEndings[] = { +#if SQLITE_OS_WIN + "dll" +#elif defined(__APPLE__) + "dylib" +#else + "so" +#endif + }; + + + if( pzErrMsg ) *pzErrMsg = 0; + + /* Ticket #1863. To avoid a creating security problems for older + ** applications that relink against newer versions of SQLite, the + ** ability to run load_extension is turned off by default. One + ** must call either sqlite3_enable_load_extension(db) or + ** sqlite3_db_config(db, SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION, 1, 0) + ** to turn on extension loading. + */ + if( (db->flags & SQLITE_LoadExtension)==0 ){ + if( pzErrMsg ){ + *pzErrMsg = sqlite3_mprintf("not authorized"); + } + return SQLITE_ERROR; + } + + zEntry = zProc ? zProc : "sqlite3_extension_init"; + + handle = sqlite3OsDlOpen(pVfs, zFile); +#if SQLITE_OS_UNIX || SQLITE_OS_WIN + for(ii=0; ii sqlite3_example_init + ** C:/lib/mathfuncs.dll ==> sqlite3_mathfuncs_init + */ + if( xInit==0 && zProc==0 ){ + int iFile, iEntry, c; + int ncFile = sqlite3Strlen30(zFile); + zAltEntry = sqlite3_malloc64(ncFile+30); + if( zAltEntry==0 ){ + sqlite3OsDlClose(pVfs, handle); + return SQLITE_NOMEM_BKPT; + } + memcpy(zAltEntry, "sqlite3_", 8); + for(iFile=ncFile-1; iFile>=0 && zFile[iFile]!='/'; iFile--){} + iFile++; + if( sqlite3_strnicmp(zFile+iFile, "lib", 3)==0 ) iFile += 3; + for(iEntry=8; (c = zFile[iFile])!=0 && c!='.'; iFile++){ + if( sqlite3Isalpha(c) ){ + zAltEntry[iEntry++] = (char)sqlite3UpperToLower[(unsigned)c]; + } + } + memcpy(zAltEntry+iEntry, "_init", 6); + zEntry = zAltEntry; + xInit = (sqlite3_loadext_entry)sqlite3OsDlSym(pVfs, handle, zEntry); + } + if( xInit==0 ){ + if( pzErrMsg ){ + nMsg += sqlite3Strlen30(zEntry); + *pzErrMsg = zErrmsg = sqlite3_malloc64(nMsg); + if( zErrmsg ){ + sqlite3_snprintf(nMsg, zErrmsg, + "no entry point [%s] in shared library [%s]", zEntry, zFile); + sqlite3OsDlError(pVfs, nMsg-1, zErrmsg); + } + } + sqlite3OsDlClose(pVfs, handle); + sqlite3_free(zAltEntry); + return SQLITE_ERROR; + } + sqlite3_free(zAltEntry); + rc = xInit(db, &zErrmsg, &sqlite3Apis); + if( rc ){ + if( rc==SQLITE_OK_LOAD_PERMANENTLY ) return SQLITE_OK; + if( pzErrMsg ){ + *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg); + } + sqlite3_free(zErrmsg); + sqlite3OsDlClose(pVfs, handle); + return SQLITE_ERROR; + } + + /* Append the new shared library handle to the db->aExtension array. */ + aHandle = sqlite3DbMallocZero(db, sizeof(handle)*(db->nExtension+1)); + if( aHandle==0 ){ + return SQLITE_NOMEM_BKPT; + } + if( db->nExtension>0 ){ + memcpy(aHandle, db->aExtension, sizeof(handle)*db->nExtension); + } + sqlite3DbFree(db, db->aExtension); + db->aExtension = aHandle; + + db->aExtension[db->nExtension++] = handle; + return SQLITE_OK; +} +SQLITE_API int sqlite3_load_extension( + sqlite3 *db, /* Load the extension into this database connection */ + const char *zFile, /* Name of the shared library containing extension */ + const char *zProc, /* Entry point. Use "sqlite3_extension_init" if 0 */ + char **pzErrMsg /* Put error message here if not 0 */ +){ + int rc; + sqlite3_mutex_enter(db->mutex); + rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg); + rc = sqlite3ApiExit(db, rc); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +/* +** Call this routine when the database connection is closing in order +** to clean up loaded extensions +*/ +SQLITE_PRIVATE void sqlite3CloseExtensions(sqlite3 *db){ + int i; + assert( sqlite3_mutex_held(db->mutex) ); + for(i=0; inExtension; i++){ + sqlite3OsDlClose(db->pVfs, db->aExtension[i]); + } + sqlite3DbFree(db, db->aExtension); +} + +/* +** Enable or disable extension loading. Extension loading is disabled by +** default so as not to open security holes in older applications. +*/ +SQLITE_API int sqlite3_enable_load_extension(sqlite3 *db, int onoff){ + sqlite3_mutex_enter(db->mutex); + if( onoff ){ + db->flags |= SQLITE_LoadExtension|SQLITE_LoadExtFunc; + }else{ + db->flags &= ~(u64)(SQLITE_LoadExtension|SQLITE_LoadExtFunc); + } + sqlite3_mutex_leave(db->mutex); + return SQLITE_OK; +} + +#endif /* !defined(SQLITE_OMIT_LOAD_EXTENSION) */ + +/* +** The following object holds the list of automatically loaded +** extensions. +** +** This list is shared across threads. The SQLITE_MUTEX_STATIC_MASTER +** mutex must be held while accessing this list. +*/ +typedef struct sqlite3AutoExtList sqlite3AutoExtList; +static SQLITE_WSD struct sqlite3AutoExtList { + u32 nExt; /* Number of entries in aExt[] */ + void (**aExt)(void); /* Pointers to the extension init functions */ +} sqlite3Autoext = { 0, 0 }; + +/* The "wsdAutoext" macro will resolve to the autoextension +** state vector. If writable static data is unsupported on the target, +** we have to locate the state vector at run-time. In the more common +** case where writable static data is supported, wsdStat can refer directly +** to the "sqlite3Autoext" state vector declared above. +*/ +#ifdef SQLITE_OMIT_WSD +# define wsdAutoextInit \ + sqlite3AutoExtList *x = &GLOBAL(sqlite3AutoExtList,sqlite3Autoext) +# define wsdAutoext x[0] +#else +# define wsdAutoextInit +# define wsdAutoext sqlite3Autoext +#endif + + +/* +** Register a statically linked extension that is automatically +** loaded by every new database connection. +*/ +SQLITE_API int sqlite3_auto_extension( + void (*xInit)(void) +){ + int rc = SQLITE_OK; +#ifndef SQLITE_OMIT_AUTOINIT + rc = sqlite3_initialize(); + if( rc ){ + return rc; + }else +#endif + { + u32 i; +#if SQLITE_THREADSAFE + sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER); +#endif + wsdAutoextInit; + sqlite3_mutex_enter(mutex); + for(i=0; i=0; i--){ + if( wsdAutoext.aExt[i]==xInit ){ + wsdAutoext.nExt--; + wsdAutoext.aExt[i] = wsdAutoext.aExt[wsdAutoext.nExt]; + n++; + break; + } + } + sqlite3_mutex_leave(mutex); + return n; +} + +/* +** Reset the automatic extension loading mechanism. +*/ +SQLITE_API void sqlite3_reset_auto_extension(void){ +#ifndef SQLITE_OMIT_AUTOINIT + if( sqlite3_initialize()==SQLITE_OK ) +#endif + { +#if SQLITE_THREADSAFE + sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER); +#endif + wsdAutoextInit; + sqlite3_mutex_enter(mutex); + sqlite3_free(wsdAutoext.aExt); + wsdAutoext.aExt = 0; + wsdAutoext.nExt = 0; + sqlite3_mutex_leave(mutex); + } +} + +/* +** Load all automatic extensions. +** +** If anything goes wrong, set an error in the database connection. +*/ +SQLITE_PRIVATE void sqlite3AutoLoadExtensions(sqlite3 *db){ + u32 i; + int go = 1; + int rc; + sqlite3_loadext_entry xInit; + + wsdAutoextInit; + if( wsdAutoext.nExt==0 ){ + /* Common case: early out without every having to acquire a mutex */ + return; + } + for(i=0; go; i++){ + char *zErrmsg; +#if SQLITE_THREADSAFE + sqlite3_mutex *mutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER); +#endif +#ifdef SQLITE_OMIT_LOAD_EXTENSION + const sqlite3_api_routines *pThunk = 0; +#else + const sqlite3_api_routines *pThunk = &sqlite3Apis; +#endif + sqlite3_mutex_enter(mutex); + if( i>=wsdAutoext.nExt ){ + xInit = 0; + go = 0; + }else{ + xInit = (sqlite3_loadext_entry)wsdAutoext.aExt[i]; + } + sqlite3_mutex_leave(mutex); + zErrmsg = 0; + if( xInit && (rc = xInit(db, &zErrmsg, pThunk))!=0 ){ + sqlite3ErrorWithMsg(db, rc, + "automatic extension loading failed: %s", zErrmsg); + go = 0; + } + sqlite3_free(zErrmsg); + } +} + +/************** End of loadext.c *********************************************/ +/************** Begin file pragma.c ******************************************/ +/* +** 2003 April 6 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains code used to implement the PRAGMA command. +*/ +/* #include "sqliteInt.h" */ + +#if !defined(SQLITE_ENABLE_LOCKING_STYLE) +# if defined(__APPLE__) +# define SQLITE_ENABLE_LOCKING_STYLE 1 +# else +# define SQLITE_ENABLE_LOCKING_STYLE 0 +# endif +#endif + +/*************************************************************************** +** The "pragma.h" include file is an automatically generated file that +** that includes the PragType_XXXX macro definitions and the aPragmaName[] +** object. This ensures that the aPragmaName[] table is arranged in +** lexicographical order to facility a binary search of the pragma name. +** Do not edit pragma.h directly. Edit and rerun the script in at +** ../tool/mkpragmatab.tcl. */ +/************** Include pragma.h in the middle of pragma.c *******************/ +/************** Begin file pragma.h ******************************************/ +/* DO NOT EDIT! +** This file is automatically generated by the script at +** ../tool/mkpragmatab.tcl. To update the set of pragmas, edit +** that script and rerun it. +*/ + +/* The various pragma types */ +#define PragTyp_HEADER_VALUE 0 +#define PragTyp_AUTO_VACUUM 1 +#define PragTyp_FLAG 2 +#define PragTyp_BUSY_TIMEOUT 3 +#define PragTyp_CACHE_SIZE 4 +#define PragTyp_CACHE_SPILL 5 +#define PragTyp_CASE_SENSITIVE_LIKE 6 +#define PragTyp_COLLATION_LIST 7 +#define PragTyp_COMPILE_OPTIONS 8 +#define PragTyp_DATA_STORE_DIRECTORY 9 +#define PragTyp_DATABASE_LIST 10 +#define PragTyp_DEFAULT_CACHE_SIZE 11 +#define PragTyp_ENCODING 12 +#define PragTyp_FOREIGN_KEY_CHECK 13 +#define PragTyp_FOREIGN_KEY_LIST 14 +#define PragTyp_FUNCTION_LIST 15 +#define PragTyp_INCREMENTAL_VACUUM 16 +#define PragTyp_INDEX_INFO 17 +#define PragTyp_INDEX_LIST 18 +#define PragTyp_INTEGRITY_CHECK 19 +#define PragTyp_JOURNAL_MODE 20 +#define PragTyp_JOURNAL_SIZE_LIMIT 21 +#define PragTyp_LOCK_PROXY_FILE 22 +#define PragTyp_LOCKING_MODE 23 +#define PragTyp_PAGE_COUNT 24 +#define PragTyp_MMAP_SIZE 25 +#define PragTyp_MODULE_LIST 26 +#define PragTyp_OPTIMIZE 27 +#define PragTyp_PAGE_SIZE 28 +#define PragTyp_PRAGMA_LIST 29 +#define PragTyp_SECURE_DELETE 30 +#define PragTyp_SHRINK_MEMORY 31 +#define PragTyp_SOFT_HEAP_LIMIT 32 +#define PragTyp_SYNCHRONOUS 33 +#define PragTyp_TABLE_INFO 34 +#define PragTyp_TEMP_STORE 35 +#define PragTyp_TEMP_STORE_DIRECTORY 36 +#define PragTyp_THREADS 37 +#define PragTyp_WAL_AUTOCHECKPOINT 38 +#define PragTyp_WAL_CHECKPOINT 39 +#define PragTyp_ACTIVATE_EXTENSIONS 40 +#define PragTyp_KEY 41 +#define PragTyp_LOCK_STATUS 42 +#define PragTyp_STATS 43 + +/* Property flags associated with various pragma. */ +#define PragFlg_NeedSchema 0x01 /* Force schema load before running */ +#define PragFlg_NoColumns 0x02 /* OP_ResultRow called with zero columns */ +#define PragFlg_NoColumns1 0x04 /* zero columns if RHS argument is present */ +#define PragFlg_ReadOnly 0x08 /* Read-only HEADER_VALUE */ +#define PragFlg_Result0 0x10 /* Acts as query when no argument */ +#define PragFlg_Result1 0x20 /* Acts as query when has one argument */ +#define PragFlg_SchemaOpt 0x40 /* Schema restricts name search if present */ +#define PragFlg_SchemaReq 0x80 /* Schema required - "main" is default */ + +/* Names of columns for pragmas that return multi-column result +** or that return single-column results where the name of the +** result column is different from the name of the pragma +*/ +static const char *const pragCName[] = { + /* 0 */ "id", /* Used by: foreign_key_list */ + /* 1 */ "seq", + /* 2 */ "table", + /* 3 */ "from", + /* 4 */ "to", + /* 5 */ "on_update", + /* 6 */ "on_delete", + /* 7 */ "match", + /* 8 */ "cid", /* Used by: table_xinfo */ + /* 9 */ "name", + /* 10 */ "type", + /* 11 */ "notnull", + /* 12 */ "dflt_value", + /* 13 */ "pk", + /* 14 */ "hidden", + /* table_info reuses 8 */ + /* 15 */ "seqno", /* Used by: index_xinfo */ + /* 16 */ "cid", + /* 17 */ "name", + /* 18 */ "desc", + /* 19 */ "coll", + /* 20 */ "key", + /* 21 */ "tbl", /* Used by: stats */ + /* 22 */ "idx", + /* 23 */ "wdth", + /* 24 */ "hght", + /* 25 */ "flgs", + /* 26 */ "seq", /* Used by: index_list */ + /* 27 */ "name", + /* 28 */ "unique", + /* 29 */ "origin", + /* 30 */ "partial", + /* 31 */ "table", /* Used by: foreign_key_check */ + /* 32 */ "rowid", + /* 33 */ "parent", + /* 34 */ "fkid", + /* index_info reuses 15 */ + /* 35 */ "seq", /* Used by: database_list */ + /* 36 */ "name", + /* 37 */ "file", + /* 38 */ "busy", /* Used by: wal_checkpoint */ + /* 39 */ "log", + /* 40 */ "checkpointed", + /* 41 */ "name", /* Used by: function_list */ + /* 42 */ "builtin", + /* collation_list reuses 26 */ + /* 43 */ "database", /* Used by: lock_status */ + /* 44 */ "status", + /* 45 */ "cache_size", /* Used by: default_cache_size */ + /* module_list pragma_list reuses 9 */ + /* 46 */ "timeout", /* Used by: busy_timeout */ +}; + +/* Definitions of all built-in pragmas */ +typedef struct PragmaName { + const char *const zName; /* Name of pragma */ + u8 ePragTyp; /* PragTyp_XXX value */ + u8 mPragFlg; /* Zero or more PragFlg_XXX values */ + u8 iPragCName; /* Start of column names in pragCName[] */ + u8 nPragCName; /* Num of col names. 0 means use pragma name */ + u64 iArg; /* Extra argument */ +} PragmaName; +static const PragmaName aPragmaName[] = { +#if defined(SQLITE_HAS_CODEC) || defined(SQLITE_ENABLE_CEROD) + {/* zName: */ "activate_extensions", + /* ePragTyp: */ PragTyp_ACTIVATE_EXTENSIONS, + /* ePragFlg: */ 0, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS) + {/* zName: */ "application_id", + /* ePragTyp: */ PragTyp_HEADER_VALUE, + /* ePragFlg: */ PragFlg_NoColumns1|PragFlg_Result0, + /* ColNames: */ 0, 0, + /* iArg: */ BTREE_APPLICATION_ID }, +#endif +#if !defined(SQLITE_OMIT_AUTOVACUUM) + {/* zName: */ "auto_vacuum", + /* ePragTyp: */ PragTyp_AUTO_VACUUM, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result0|PragFlg_SchemaReq|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) +#if !defined(SQLITE_OMIT_AUTOMATIC_INDEX) + {/* zName: */ "automatic_index", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_AutoIndex }, +#endif +#endif + {/* zName: */ "busy_timeout", + /* ePragTyp: */ PragTyp_BUSY_TIMEOUT, + /* ePragFlg: */ PragFlg_Result0, + /* ColNames: */ 46, 1, + /* iArg: */ 0 }, +#if !defined(SQLITE_OMIT_PAGER_PRAGMAS) + {/* zName: */ "cache_size", + /* ePragTyp: */ PragTyp_CACHE_SIZE, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result0|PragFlg_SchemaReq|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) + {/* zName: */ "cache_spill", + /* ePragTyp: */ PragTyp_CACHE_SPILL, + /* ePragFlg: */ PragFlg_Result0|PragFlg_SchemaReq|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_CASE_SENSITIVE_LIKE_PRAGMA) + {/* zName: */ "case_sensitive_like", + /* ePragTyp: */ PragTyp_CASE_SENSITIVE_LIKE, + /* ePragFlg: */ PragFlg_NoColumns, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif + {/* zName: */ "cell_size_check", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_CellSizeCk }, +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) + {/* zName: */ "checkpoint_fullfsync", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_CkptFullFSync }, +#endif +#if !defined(SQLITE_OMIT_SCHEMA_PRAGMAS) + {/* zName: */ "collation_list", + /* ePragTyp: */ PragTyp_COLLATION_LIST, + /* ePragFlg: */ PragFlg_Result0, + /* ColNames: */ 26, 2, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_COMPILEOPTION_DIAGS) + {/* zName: */ "compile_options", + /* ePragTyp: */ PragTyp_COMPILE_OPTIONS, + /* ePragFlg: */ PragFlg_Result0, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) + {/* zName: */ "count_changes", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_CountRows }, +#endif +#if !defined(SQLITE_OMIT_PAGER_PRAGMAS) && SQLITE_OS_WIN + {/* zName: */ "data_store_directory", + /* ePragTyp: */ PragTyp_DATA_STORE_DIRECTORY, + /* ePragFlg: */ PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS) + {/* zName: */ "data_version", + /* ePragTyp: */ PragTyp_HEADER_VALUE, + /* ePragFlg: */ PragFlg_ReadOnly|PragFlg_Result0, + /* ColNames: */ 0, 0, + /* iArg: */ BTREE_DATA_VERSION }, +#endif +#if !defined(SQLITE_OMIT_SCHEMA_PRAGMAS) + {/* zName: */ "database_list", + /* ePragTyp: */ PragTyp_DATABASE_LIST, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result0, + /* ColNames: */ 35, 3, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_PAGER_PRAGMAS) && !defined(SQLITE_OMIT_DEPRECATED) + {/* zName: */ "default_cache_size", + /* ePragTyp: */ PragTyp_DEFAULT_CACHE_SIZE, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result0|PragFlg_SchemaReq|PragFlg_NoColumns1, + /* ColNames: */ 45, 1, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) +#if !defined(SQLITE_OMIT_FOREIGN_KEY) && !defined(SQLITE_OMIT_TRIGGER) + {/* zName: */ "defer_foreign_keys", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_DeferFKs }, +#endif +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) + {/* zName: */ "empty_result_callbacks", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_NullCallback }, +#endif +#if !defined(SQLITE_OMIT_UTF16) + {/* zName: */ "encoding", + /* ePragTyp: */ PragTyp_ENCODING, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FOREIGN_KEY) && !defined(SQLITE_OMIT_TRIGGER) + {/* zName: */ "foreign_key_check", + /* ePragTyp: */ PragTyp_FOREIGN_KEY_CHECK, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result0, + /* ColNames: */ 31, 4, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FOREIGN_KEY) + {/* zName: */ "foreign_key_list", + /* ePragTyp: */ PragTyp_FOREIGN_KEY_LIST, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result1|PragFlg_SchemaOpt, + /* ColNames: */ 0, 8, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) +#if !defined(SQLITE_OMIT_FOREIGN_KEY) && !defined(SQLITE_OMIT_TRIGGER) + {/* zName: */ "foreign_keys", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_ForeignKeys }, +#endif +#endif +#if !defined(SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS) + {/* zName: */ "freelist_count", + /* ePragTyp: */ PragTyp_HEADER_VALUE, + /* ePragFlg: */ PragFlg_ReadOnly|PragFlg_Result0, + /* ColNames: */ 0, 0, + /* iArg: */ BTREE_FREE_PAGE_COUNT }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) + {/* zName: */ "full_column_names", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_FullColNames }, + {/* zName: */ "fullfsync", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_FullFSync }, +#endif +#if !defined(SQLITE_OMIT_SCHEMA_PRAGMAS) +#if !defined(SQLITE_OMIT_INTROSPECTION_PRAGMAS) + {/* zName: */ "function_list", + /* ePragTyp: */ PragTyp_FUNCTION_LIST, + /* ePragFlg: */ PragFlg_Result0, + /* ColNames: */ 41, 2, + /* iArg: */ 0 }, +#endif +#endif +#if defined(SQLITE_HAS_CODEC) + {/* zName: */ "hexkey", + /* ePragTyp: */ PragTyp_KEY, + /* ePragFlg: */ 0, + /* ColNames: */ 0, 0, + /* iArg: */ 2 }, + {/* zName: */ "hexrekey", + /* ePragTyp: */ PragTyp_KEY, + /* ePragFlg: */ 0, + /* ColNames: */ 0, 0, + /* iArg: */ 3 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) +#if !defined(SQLITE_OMIT_CHECK) + {/* zName: */ "ignore_check_constraints", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_IgnoreChecks }, +#endif +#endif +#if !defined(SQLITE_OMIT_AUTOVACUUM) + {/* zName: */ "incremental_vacuum", + /* ePragTyp: */ PragTyp_INCREMENTAL_VACUUM, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_NoColumns, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_SCHEMA_PRAGMAS) + {/* zName: */ "index_info", + /* ePragTyp: */ PragTyp_INDEX_INFO, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result1|PragFlg_SchemaOpt, + /* ColNames: */ 15, 3, + /* iArg: */ 0 }, + {/* zName: */ "index_list", + /* ePragTyp: */ PragTyp_INDEX_LIST, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result1|PragFlg_SchemaOpt, + /* ColNames: */ 26, 5, + /* iArg: */ 0 }, + {/* zName: */ "index_xinfo", + /* ePragTyp: */ PragTyp_INDEX_INFO, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result1|PragFlg_SchemaOpt, + /* ColNames: */ 15, 6, + /* iArg: */ 1 }, +#endif +#if !defined(SQLITE_OMIT_INTEGRITY_CHECK) + {/* zName: */ "integrity_check", + /* ePragTyp: */ PragTyp_INTEGRITY_CHECK, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result0|PragFlg_Result1, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_PAGER_PRAGMAS) + {/* zName: */ "journal_mode", + /* ePragTyp: */ PragTyp_JOURNAL_MODE, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result0|PragFlg_SchemaReq, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, + {/* zName: */ "journal_size_limit", + /* ePragTyp: */ PragTyp_JOURNAL_SIZE_LIMIT, + /* ePragFlg: */ PragFlg_Result0|PragFlg_SchemaReq, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if defined(SQLITE_HAS_CODEC) + {/* zName: */ "key", + /* ePragTyp: */ PragTyp_KEY, + /* ePragFlg: */ 0, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) + {/* zName: */ "legacy_alter_table", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_LegacyAlter }, + {/* zName: */ "legacy_file_format", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_LegacyFileFmt }, +#endif +#if !defined(SQLITE_OMIT_PAGER_PRAGMAS) && SQLITE_ENABLE_LOCKING_STYLE + {/* zName: */ "lock_proxy_file", + /* ePragTyp: */ PragTyp_LOCK_PROXY_FILE, + /* ePragFlg: */ PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) + {/* zName: */ "lock_status", + /* ePragTyp: */ PragTyp_LOCK_STATUS, + /* ePragFlg: */ PragFlg_Result0, + /* ColNames: */ 43, 2, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_PAGER_PRAGMAS) + {/* zName: */ "locking_mode", + /* ePragTyp: */ PragTyp_LOCKING_MODE, + /* ePragFlg: */ PragFlg_Result0|PragFlg_SchemaReq, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, + {/* zName: */ "max_page_count", + /* ePragTyp: */ PragTyp_PAGE_COUNT, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result0|PragFlg_SchemaReq, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, + {/* zName: */ "mmap_size", + /* ePragTyp: */ PragTyp_MMAP_SIZE, + /* ePragFlg: */ 0, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_SCHEMA_PRAGMAS) +#if !defined(SQLITE_OMIT_VIRTUALTABLE) +#if !defined(SQLITE_OMIT_INTROSPECTION_PRAGMAS) + {/* zName: */ "module_list", + /* ePragTyp: */ PragTyp_MODULE_LIST, + /* ePragFlg: */ PragFlg_Result0, + /* ColNames: */ 9, 1, + /* iArg: */ 0 }, +#endif +#endif +#endif + {/* zName: */ "optimize", + /* ePragTyp: */ PragTyp_OPTIMIZE, + /* ePragFlg: */ PragFlg_Result1|PragFlg_NeedSchema, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#if !defined(SQLITE_OMIT_PAGER_PRAGMAS) + {/* zName: */ "page_count", + /* ePragTyp: */ PragTyp_PAGE_COUNT, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result0|PragFlg_SchemaReq, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, + {/* zName: */ "page_size", + /* ePragTyp: */ PragTyp_PAGE_SIZE, + /* ePragFlg: */ PragFlg_Result0|PragFlg_SchemaReq|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) +#if defined(SQLITE_DEBUG) + {/* zName: */ "parser_trace", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_ParserTrace }, +#endif +#endif +#if !defined(SQLITE_OMIT_INTROSPECTION_PRAGMAS) + {/* zName: */ "pragma_list", + /* ePragTyp: */ PragTyp_PRAGMA_LIST, + /* ePragFlg: */ PragFlg_Result0, + /* ColNames: */ 9, 1, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) + {/* zName: */ "query_only", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_QueryOnly }, +#endif +#if !defined(SQLITE_OMIT_INTEGRITY_CHECK) + {/* zName: */ "quick_check", + /* ePragTyp: */ PragTyp_INTEGRITY_CHECK, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result0|PragFlg_Result1, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) + {/* zName: */ "read_uncommitted", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_ReadUncommit }, + {/* zName: */ "recursive_triggers", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_RecTriggers }, +#endif +#if defined(SQLITE_HAS_CODEC) + {/* zName: */ "rekey", + /* ePragTyp: */ PragTyp_KEY, + /* ePragFlg: */ 0, + /* ColNames: */ 0, 0, + /* iArg: */ 1 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) + {/* zName: */ "reverse_unordered_selects", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_ReverseOrder }, +#endif +#if !defined(SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS) + {/* zName: */ "schema_version", + /* ePragTyp: */ PragTyp_HEADER_VALUE, + /* ePragFlg: */ PragFlg_NoColumns1|PragFlg_Result0, + /* ColNames: */ 0, 0, + /* iArg: */ BTREE_SCHEMA_VERSION }, +#endif +#if !defined(SQLITE_OMIT_PAGER_PRAGMAS) + {/* zName: */ "secure_delete", + /* ePragTyp: */ PragTyp_SECURE_DELETE, + /* ePragFlg: */ PragFlg_Result0, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) + {/* zName: */ "short_column_names", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_ShortColNames }, +#endif + {/* zName: */ "shrink_memory", + /* ePragTyp: */ PragTyp_SHRINK_MEMORY, + /* ePragFlg: */ PragFlg_NoColumns, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, + {/* zName: */ "soft_heap_limit", + /* ePragTyp: */ PragTyp_SOFT_HEAP_LIMIT, + /* ePragFlg: */ PragFlg_Result0, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) +#if defined(SQLITE_DEBUG) + {/* zName: */ "sql_trace", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_SqlTrace }, +#endif +#endif +#if !defined(SQLITE_OMIT_SCHEMA_PRAGMAS) && defined(SQLITE_DEBUG) + {/* zName: */ "stats", + /* ePragTyp: */ PragTyp_STATS, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result0|PragFlg_SchemaReq, + /* ColNames: */ 21, 5, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_PAGER_PRAGMAS) + {/* zName: */ "synchronous", + /* ePragTyp: */ PragTyp_SYNCHRONOUS, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result0|PragFlg_SchemaReq|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_SCHEMA_PRAGMAS) + {/* zName: */ "table_info", + /* ePragTyp: */ PragTyp_TABLE_INFO, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result1|PragFlg_SchemaOpt, + /* ColNames: */ 8, 6, + /* iArg: */ 0 }, + {/* zName: */ "table_xinfo", + /* ePragTyp: */ PragTyp_TABLE_INFO, + /* ePragFlg: */ PragFlg_NeedSchema|PragFlg_Result1|PragFlg_SchemaOpt, + /* ColNames: */ 8, 7, + /* iArg: */ 1 }, +#endif +#if !defined(SQLITE_OMIT_PAGER_PRAGMAS) + {/* zName: */ "temp_store", + /* ePragTyp: */ PragTyp_TEMP_STORE, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, + {/* zName: */ "temp_store_directory", + /* ePragTyp: */ PragTyp_TEMP_STORE_DIRECTORY, + /* ePragFlg: */ PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#endif +#if defined(SQLITE_HAS_CODEC) + {/* zName: */ "textkey", + /* ePragTyp: */ PragTyp_KEY, + /* ePragFlg: */ 0, + /* ColNames: */ 0, 0, + /* iArg: */ 4 }, + {/* zName: */ "textrekey", + /* ePragTyp: */ PragTyp_KEY, + /* ePragFlg: */ 0, + /* ColNames: */ 0, 0, + /* iArg: */ 5 }, +#endif + {/* zName: */ "threads", + /* ePragTyp: */ PragTyp_THREADS, + /* ePragFlg: */ PragFlg_Result0, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, +#if !defined(SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS) + {/* zName: */ "user_version", + /* ePragTyp: */ PragTyp_HEADER_VALUE, + /* ePragFlg: */ PragFlg_NoColumns1|PragFlg_Result0, + /* ColNames: */ 0, 0, + /* iArg: */ BTREE_USER_VERSION }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) +#if defined(SQLITE_DEBUG) + {/* zName: */ "vdbe_addoptrace", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_VdbeAddopTrace }, + {/* zName: */ "vdbe_debug", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_SqlTrace|SQLITE_VdbeListing|SQLITE_VdbeTrace }, + {/* zName: */ "vdbe_eqp", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_VdbeEQP }, + {/* zName: */ "vdbe_listing", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_VdbeListing }, + {/* zName: */ "vdbe_trace", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_VdbeTrace }, +#endif +#endif +#if !defined(SQLITE_OMIT_WAL) + {/* zName: */ "wal_autocheckpoint", + /* ePragTyp: */ PragTyp_WAL_AUTOCHECKPOINT, + /* ePragFlg: */ 0, + /* ColNames: */ 0, 0, + /* iArg: */ 0 }, + {/* zName: */ "wal_checkpoint", + /* ePragTyp: */ PragTyp_WAL_CHECKPOINT, + /* ePragFlg: */ PragFlg_NeedSchema, + /* ColNames: */ 38, 3, + /* iArg: */ 0 }, +#endif +#if !defined(SQLITE_OMIT_FLAG_PRAGMAS) + {/* zName: */ "writable_schema", + /* ePragTyp: */ PragTyp_FLAG, + /* ePragFlg: */ PragFlg_Result0|PragFlg_NoColumns1, + /* ColNames: */ 0, 0, + /* iArg: */ SQLITE_WriteSchema|SQLITE_NoSchemaError }, +#endif +}; +/* Number of pragmas: 65 on by default, 81 total. */ + +/************** End of pragma.h **********************************************/ +/************** Continuing where we left off in pragma.c *********************/ + +/* +** Interpret the given string as a safety level. Return 0 for OFF, +** 1 for ON or NORMAL, 2 for FULL, and 3 for EXTRA. Return 1 for an empty or +** unrecognized string argument. The FULL and EXTRA option is disallowed +** if the omitFull parameter it 1. +** +** Note that the values returned are one less that the values that +** should be passed into sqlite3BtreeSetSafetyLevel(). The is done +** to support legacy SQL code. The safety level used to be boolean +** and older scripts may have used numbers 0 for OFF and 1 for ON. +*/ +static u8 getSafetyLevel(const char *z, int omitFull, u8 dflt){ + /* 123456789 123456789 123 */ + static const char zText[] = "onoffalseyestruextrafull"; + static const u8 iOffset[] = {0, 1, 2, 4, 9, 12, 15, 20}; + static const u8 iLength[] = {2, 2, 3, 5, 3, 4, 5, 4}; + static const u8 iValue[] = {1, 0, 0, 0, 1, 1, 3, 2}; + /* on no off false yes true extra full */ + int i, n; + if( sqlite3Isdigit(*z) ){ + return (u8)sqlite3Atoi(z); + } + n = sqlite3Strlen30(z); + for(i=0; i=0&&i<=2)?i:0); +} +#endif /* ifndef SQLITE_OMIT_AUTOVACUUM */ + +#ifndef SQLITE_OMIT_PAGER_PRAGMAS +/* +** Interpret the given string as a temp db location. Return 1 for file +** backed temporary databases, 2 for the Red-Black tree in memory database +** and 0 to use the compile-time default. +*/ +static int getTempStore(const char *z){ + if( z[0]>='0' && z[0]<='2' ){ + return z[0] - '0'; + }else if( sqlite3StrICmp(z, "file")==0 ){ + return 1; + }else if( sqlite3StrICmp(z, "memory")==0 ){ + return 2; + }else{ + return 0; + } +} +#endif /* SQLITE_PAGER_PRAGMAS */ + +#ifndef SQLITE_OMIT_PAGER_PRAGMAS +/* +** Invalidate temp storage, either when the temp storage is changed +** from default, or when 'file' and the temp_store_directory has changed +*/ +static int invalidateTempStorage(Parse *pParse){ + sqlite3 *db = pParse->db; + if( db->aDb[1].pBt!=0 ){ + if( !db->autoCommit || sqlite3BtreeIsInReadTrans(db->aDb[1].pBt) ){ + sqlite3ErrorMsg(pParse, "temporary storage cannot be changed " + "from within a transaction"); + return SQLITE_ERROR; + } + sqlite3BtreeClose(db->aDb[1].pBt); + db->aDb[1].pBt = 0; + sqlite3ResetAllSchemasOfConnection(db); + } + return SQLITE_OK; +} +#endif /* SQLITE_PAGER_PRAGMAS */ + +#ifndef SQLITE_OMIT_PAGER_PRAGMAS +/* +** If the TEMP database is open, close it and mark the database schema +** as needing reloading. This must be done when using the SQLITE_TEMP_STORE +** or DEFAULT_TEMP_STORE pragmas. +*/ +static int changeTempStorage(Parse *pParse, const char *zStorageType){ + int ts = getTempStore(zStorageType); + sqlite3 *db = pParse->db; + if( db->temp_store==ts ) return SQLITE_OK; + if( invalidateTempStorage( pParse ) != SQLITE_OK ){ + return SQLITE_ERROR; + } + db->temp_store = (u8)ts; + return SQLITE_OK; +} +#endif /* SQLITE_PAGER_PRAGMAS */ + +/* +** Set result column names for a pragma. +*/ +static void setPragmaResultColumnNames( + Vdbe *v, /* The query under construction */ + const PragmaName *pPragma /* The pragma */ +){ + u8 n = pPragma->nPragCName; + sqlite3VdbeSetNumCols(v, n==0 ? 1 : n); + if( n==0 ){ + sqlite3VdbeSetColName(v, 0, COLNAME_NAME, pPragma->zName, SQLITE_STATIC); + }else{ + int i, j; + for(i=0, j=pPragma->iPragCName; iautoCommit ){ + Db *pDb = db->aDb; + int n = db->nDb; + assert( SQLITE_FullFSync==PAGER_FULLFSYNC ); + assert( SQLITE_CkptFullFSync==PAGER_CKPT_FULLFSYNC ); + assert( SQLITE_CacheSpill==PAGER_CACHESPILL ); + assert( (PAGER_FULLFSYNC | PAGER_CKPT_FULLFSYNC | PAGER_CACHESPILL) + == PAGER_FLAGS_MASK ); + assert( (pDb->safety_level & PAGER_SYNCHRONOUS_MASK)==pDb->safety_level ); + while( (n--) > 0 ){ + if( pDb->pBt ){ + sqlite3BtreeSetPagerFlags(pDb->pBt, + pDb->safety_level | (db->flags & PAGER_FLAGS_MASK) ); + } + pDb++; + } + } +} +#else +# define setAllPagerFlags(X) /* no-op */ +#endif + + +/* +** Return a human-readable name for a constraint resolution action. +*/ +#ifndef SQLITE_OMIT_FOREIGN_KEY +static const char *actionName(u8 action){ + const char *zName; + switch( action ){ + case OE_SetNull: zName = "SET NULL"; break; + case OE_SetDflt: zName = "SET DEFAULT"; break; + case OE_Cascade: zName = "CASCADE"; break; + case OE_Restrict: zName = "RESTRICT"; break; + default: zName = "NO ACTION"; + assert( action==OE_None ); break; + } + return zName; +} +#endif + + +/* +** Parameter eMode must be one of the PAGER_JOURNALMODE_XXX constants +** defined in pager.h. This function returns the associated lowercase +** journal-mode name. +*/ +SQLITE_PRIVATE const char *sqlite3JournalModename(int eMode){ + static char * const azModeName[] = { + "delete", "persist", "off", "truncate", "memory" +#ifndef SQLITE_OMIT_WAL + , "wal" +#endif + }; + assert( PAGER_JOURNALMODE_DELETE==0 ); + assert( PAGER_JOURNALMODE_PERSIST==1 ); + assert( PAGER_JOURNALMODE_OFF==2 ); + assert( PAGER_JOURNALMODE_TRUNCATE==3 ); + assert( PAGER_JOURNALMODE_MEMORY==4 ); + assert( PAGER_JOURNALMODE_WAL==5 ); + assert( eMode>=0 && eMode<=ArraySize(azModeName) ); + + if( eMode==ArraySize(azModeName) ) return 0; + return azModeName[eMode]; +} + +/* +** Locate a pragma in the aPragmaName[] array. +*/ +static const PragmaName *pragmaLocate(const char *zName){ + int upr, lwr, mid = 0, rc; + lwr = 0; + upr = ArraySize(aPragmaName)-1; + while( lwr<=upr ){ + mid = (lwr+upr)/2; + rc = sqlite3_stricmp(zName, aPragmaName[mid].zName); + if( rc==0 ) break; + if( rc<0 ){ + upr = mid - 1; + }else{ + lwr = mid + 1; + } + } + return lwr>upr ? 0 : &aPragmaName[mid]; +} + +/* +** Helper subroutine for PRAGMA integrity_check: +** +** Generate code to output a single-column result row with a value of the +** string held in register 3. Decrement the result count in register 1 +** and halt if the maximum number of result rows have been issued. +*/ +static int integrityCheckResultRow(Vdbe *v){ + int addr; + sqlite3VdbeAddOp2(v, OP_ResultRow, 3, 1); + addr = sqlite3VdbeAddOp3(v, OP_IfPos, 1, sqlite3VdbeCurrentAddr(v)+2, 1); + VdbeCoverage(v); + sqlite3VdbeAddOp0(v, OP_Halt); + return addr; +} + +/* +** Process a pragma statement. +** +** Pragmas are of this form: +** +** PRAGMA [schema.]id [= value] +** +** The identifier might also be a string. The value is a string, and +** identifier, or a number. If minusFlag is true, then the value is +** a number that was preceded by a minus sign. +** +** If the left side is "database.id" then pId1 is the database name +** and pId2 is the id. If the left side is just "id" then pId1 is the +** id and pId2 is any empty string. +*/ +SQLITE_PRIVATE void sqlite3Pragma( + Parse *pParse, + Token *pId1, /* First part of [schema.]id field */ + Token *pId2, /* Second part of [schema.]id field, or NULL */ + Token *pValue, /* Token for , or NULL */ + int minusFlag /* True if a '-' sign preceded */ +){ + char *zLeft = 0; /* Nul-terminated UTF-8 string */ + char *zRight = 0; /* Nul-terminated UTF-8 string , or NULL */ + const char *zDb = 0; /* The database name */ + Token *pId; /* Pointer to token */ + char *aFcntl[4]; /* Argument to SQLITE_FCNTL_PRAGMA */ + int iDb; /* Database index for */ + int rc; /* return value form SQLITE_FCNTL_PRAGMA */ + sqlite3 *db = pParse->db; /* The database connection */ + Db *pDb; /* The specific database being pragmaed */ + Vdbe *v = sqlite3GetVdbe(pParse); /* Prepared statement */ + const PragmaName *pPragma; /* The pragma */ + + if( v==0 ) return; + sqlite3VdbeRunOnlyOnce(v); + pParse->nMem = 2; + + /* Interpret the [schema.] part of the pragma statement. iDb is the + ** index of the database this pragma is being applied to in db.aDb[]. */ + iDb = sqlite3TwoPartName(pParse, pId1, pId2, &pId); + if( iDb<0 ) return; + pDb = &db->aDb[iDb]; + + /* If the temp database has been explicitly named as part of the + ** pragma, make sure it is open. + */ + if( iDb==1 && sqlite3OpenTempDatabase(pParse) ){ + return; + } + + zLeft = sqlite3NameFromToken(db, pId); + if( !zLeft ) return; + if( minusFlag ){ + zRight = sqlite3MPrintf(db, "-%T", pValue); + }else{ + zRight = sqlite3NameFromToken(db, pValue); + } + + assert( pId2 ); + zDb = pId2->n>0 ? pDb->zDbSName : 0; + if( sqlite3AuthCheck(pParse, SQLITE_PRAGMA, zLeft, zRight, zDb) ){ + goto pragma_out; + } + + /* Send an SQLITE_FCNTL_PRAGMA file-control to the underlying VFS + ** connection. If it returns SQLITE_OK, then assume that the VFS + ** handled the pragma and generate a no-op prepared statement. + ** + ** IMPLEMENTATION-OF: R-12238-55120 Whenever a PRAGMA statement is parsed, + ** an SQLITE_FCNTL_PRAGMA file control is sent to the open sqlite3_file + ** object corresponding to the database file to which the pragma + ** statement refers. + ** + ** IMPLEMENTATION-OF: R-29875-31678 The argument to the SQLITE_FCNTL_PRAGMA + ** file control is an array of pointers to strings (char**) in which the + ** second element of the array is the name of the pragma and the third + ** element is the argument to the pragma or NULL if the pragma has no + ** argument. + */ + aFcntl[0] = 0; + aFcntl[1] = zLeft; + aFcntl[2] = zRight; + aFcntl[3] = 0; + db->busyHandler.nBusy = 0; + rc = sqlite3_file_control(db, zDb, SQLITE_FCNTL_PRAGMA, (void*)aFcntl); + if( rc==SQLITE_OK ){ + sqlite3VdbeSetNumCols(v, 1); + sqlite3VdbeSetColName(v, 0, COLNAME_NAME, aFcntl[0], SQLITE_TRANSIENT); + returnSingleText(v, aFcntl[0]); + sqlite3_free(aFcntl[0]); + goto pragma_out; + } + if( rc!=SQLITE_NOTFOUND ){ + if( aFcntl[0] ){ + sqlite3ErrorMsg(pParse, "%s", aFcntl[0]); + sqlite3_free(aFcntl[0]); + } + pParse->nErr++; + pParse->rc = rc; + goto pragma_out; + } + + /* Locate the pragma in the lookup table */ + pPragma = pragmaLocate(zLeft); + if( pPragma==0 ) goto pragma_out; + + /* Make sure the database schema is loaded if the pragma requires that */ + if( (pPragma->mPragFlg & PragFlg_NeedSchema)!=0 ){ + if( sqlite3ReadSchema(pParse) ) goto pragma_out; + } + + /* Register the result column names for pragmas that return results */ + if( (pPragma->mPragFlg & PragFlg_NoColumns)==0 + && ((pPragma->mPragFlg & PragFlg_NoColumns1)==0 || zRight==0) + ){ + setPragmaResultColumnNames(v, pPragma); + } + + /* Jump to the appropriate pragma handler */ + switch( pPragma->ePragTyp ){ + +#if !defined(SQLITE_OMIT_PAGER_PRAGMAS) && !defined(SQLITE_OMIT_DEPRECATED) + /* + ** PRAGMA [schema.]default_cache_size + ** PRAGMA [schema.]default_cache_size=N + ** + ** The first form reports the current persistent setting for the + ** page cache size. The value returned is the maximum number of + ** pages in the page cache. The second form sets both the current + ** page cache size value and the persistent page cache size value + ** stored in the database file. + ** + ** Older versions of SQLite would set the default cache size to a + ** negative number to indicate synchronous=OFF. These days, synchronous + ** is always on by default regardless of the sign of the default cache + ** size. But continue to take the absolute value of the default cache + ** size of historical compatibility. + */ + case PragTyp_DEFAULT_CACHE_SIZE: { + static const int iLn = VDBE_OFFSET_LINENO(2); + static const VdbeOpList getCacheSize[] = { + { OP_Transaction, 0, 0, 0}, /* 0 */ + { OP_ReadCookie, 0, 1, BTREE_DEFAULT_CACHE_SIZE}, /* 1 */ + { OP_IfPos, 1, 8, 0}, + { OP_Integer, 0, 2, 0}, + { OP_Subtract, 1, 2, 1}, + { OP_IfPos, 1, 8, 0}, + { OP_Integer, 0, 1, 0}, /* 6 */ + { OP_Noop, 0, 0, 0}, + { OP_ResultRow, 1, 1, 0}, + }; + VdbeOp *aOp; + sqlite3VdbeUsesBtree(v, iDb); + if( !zRight ){ + pParse->nMem += 2; + sqlite3VdbeVerifyNoMallocRequired(v, ArraySize(getCacheSize)); + aOp = sqlite3VdbeAddOpList(v, ArraySize(getCacheSize), getCacheSize, iLn); + if( ONLY_IF_REALLOC_STRESS(aOp==0) ) break; + aOp[0].p1 = iDb; + aOp[1].p1 = iDb; + aOp[6].p1 = SQLITE_DEFAULT_CACHE_SIZE; + }else{ + int size = sqlite3AbsInt32(sqlite3Atoi(zRight)); + sqlite3BeginWriteOperation(pParse, 0, iDb); + sqlite3VdbeAddOp3(v, OP_SetCookie, iDb, BTREE_DEFAULT_CACHE_SIZE, size); + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + pDb->pSchema->cache_size = size; + sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); + } + break; + } +#endif /* !SQLITE_OMIT_PAGER_PRAGMAS && !SQLITE_OMIT_DEPRECATED */ + +#if !defined(SQLITE_OMIT_PAGER_PRAGMAS) + /* + ** PRAGMA [schema.]page_size + ** PRAGMA [schema.]page_size=N + ** + ** The first form reports the current setting for the + ** database page size in bytes. The second form sets the + ** database page size value. The value can only be set if + ** the database has not yet been created. + */ + case PragTyp_PAGE_SIZE: { + Btree *pBt = pDb->pBt; + assert( pBt!=0 ); + if( !zRight ){ + int size = ALWAYS(pBt) ? sqlite3BtreeGetPageSize(pBt) : 0; + returnSingleInt(v, size); + }else{ + /* Malloc may fail when setting the page-size, as there is an internal + ** buffer that the pager module resizes using sqlite3_realloc(). + */ + db->nextPagesize = sqlite3Atoi(zRight); + if( SQLITE_NOMEM==sqlite3BtreeSetPageSize(pBt, db->nextPagesize,-1,0) ){ + sqlite3OomFault(db); + } + } + break; + } + + /* + ** PRAGMA [schema.]secure_delete + ** PRAGMA [schema.]secure_delete=ON/OFF/FAST + ** + ** The first form reports the current setting for the + ** secure_delete flag. The second form changes the secure_delete + ** flag setting and reports the new value. + */ + case PragTyp_SECURE_DELETE: { + Btree *pBt = pDb->pBt; + int b = -1; + assert( pBt!=0 ); + if( zRight ){ + if( sqlite3_stricmp(zRight, "fast")==0 ){ + b = 2; + }else{ + b = sqlite3GetBoolean(zRight, 0); + } + } + if( pId2->n==0 && b>=0 ){ + int ii; + for(ii=0; iinDb; ii++){ + sqlite3BtreeSecureDelete(db->aDb[ii].pBt, b); + } + } + b = sqlite3BtreeSecureDelete(pBt, b); + returnSingleInt(v, b); + break; + } + + /* + ** PRAGMA [schema.]max_page_count + ** PRAGMA [schema.]max_page_count=N + ** + ** The first form reports the current setting for the + ** maximum number of pages in the database file. The + ** second form attempts to change this setting. Both + ** forms return the current setting. + ** + ** The absolute value of N is used. This is undocumented and might + ** change. The only purpose is to provide an easy way to test + ** the sqlite3AbsInt32() function. + ** + ** PRAGMA [schema.]page_count + ** + ** Return the number of pages in the specified database. + */ + case PragTyp_PAGE_COUNT: { + int iReg; + sqlite3CodeVerifySchema(pParse, iDb); + iReg = ++pParse->nMem; + if( sqlite3Tolower(zLeft[0])=='p' ){ + sqlite3VdbeAddOp2(v, OP_Pagecount, iDb, iReg); + }else{ + sqlite3VdbeAddOp3(v, OP_MaxPgcnt, iDb, iReg, + sqlite3AbsInt32(sqlite3Atoi(zRight))); + } + sqlite3VdbeAddOp2(v, OP_ResultRow, iReg, 1); + break; + } + + /* + ** PRAGMA [schema.]locking_mode + ** PRAGMA [schema.]locking_mode = (normal|exclusive) + */ + case PragTyp_LOCKING_MODE: { + const char *zRet = "normal"; + int eMode = getLockingMode(zRight); + + if( pId2->n==0 && eMode==PAGER_LOCKINGMODE_QUERY ){ + /* Simple "PRAGMA locking_mode;" statement. This is a query for + ** the current default locking mode (which may be different to + ** the locking-mode of the main database). + */ + eMode = db->dfltLockMode; + }else{ + Pager *pPager; + if( pId2->n==0 ){ + /* This indicates that no database name was specified as part + ** of the PRAGMA command. In this case the locking-mode must be + ** set on all attached databases, as well as the main db file. + ** + ** Also, the sqlite3.dfltLockMode variable is set so that + ** any subsequently attached databases also use the specified + ** locking mode. + */ + int ii; + assert(pDb==&db->aDb[0]); + for(ii=2; iinDb; ii++){ + pPager = sqlite3BtreePager(db->aDb[ii].pBt); + sqlite3PagerLockingMode(pPager, eMode); + } + db->dfltLockMode = (u8)eMode; + } + pPager = sqlite3BtreePager(pDb->pBt); + eMode = sqlite3PagerLockingMode(pPager, eMode); + } + + assert( eMode==PAGER_LOCKINGMODE_NORMAL + || eMode==PAGER_LOCKINGMODE_EXCLUSIVE ); + if( eMode==PAGER_LOCKINGMODE_EXCLUSIVE ){ + zRet = "exclusive"; + } + returnSingleText(v, zRet); + break; + } + + /* + ** PRAGMA [schema.]journal_mode + ** PRAGMA [schema.]journal_mode = + ** (delete|persist|off|truncate|memory|wal|off) + */ + case PragTyp_JOURNAL_MODE: { + int eMode; /* One of the PAGER_JOURNALMODE_XXX symbols */ + int ii; /* Loop counter */ + + if( zRight==0 ){ + /* If there is no "=MODE" part of the pragma, do a query for the + ** current mode */ + eMode = PAGER_JOURNALMODE_QUERY; + }else{ + const char *zMode; + int n = sqlite3Strlen30(zRight); + for(eMode=0; (zMode = sqlite3JournalModename(eMode))!=0; eMode++){ + if( sqlite3StrNICmp(zRight, zMode, n)==0 ) break; + } + if( !zMode ){ + /* If the "=MODE" part does not match any known journal mode, + ** then do a query */ + eMode = PAGER_JOURNALMODE_QUERY; + } + if( eMode==PAGER_JOURNALMODE_OFF && (db->flags & SQLITE_Defensive)!=0 ){ + /* Do not allow journal-mode "OFF" in defensive since the database + ** can become corrupted using ordinary SQL when the journal is off */ + eMode = PAGER_JOURNALMODE_QUERY; + } + } + if( eMode==PAGER_JOURNALMODE_QUERY && pId2->n==0 ){ + /* Convert "PRAGMA journal_mode" into "PRAGMA main.journal_mode" */ + iDb = 0; + pId2->n = 1; + } + for(ii=db->nDb-1; ii>=0; ii--){ + if( db->aDb[ii].pBt && (ii==iDb || pId2->n==0) ){ + sqlite3VdbeUsesBtree(v, ii); + sqlite3VdbeAddOp3(v, OP_JournalMode, ii, 1, eMode); + } + } + sqlite3VdbeAddOp2(v, OP_ResultRow, 1, 1); + break; + } + + /* + ** PRAGMA [schema.]journal_size_limit + ** PRAGMA [schema.]journal_size_limit=N + ** + ** Get or set the size limit on rollback journal files. + */ + case PragTyp_JOURNAL_SIZE_LIMIT: { + Pager *pPager = sqlite3BtreePager(pDb->pBt); + i64 iLimit = -2; + if( zRight ){ + sqlite3DecOrHexToI64(zRight, &iLimit); + if( iLimit<-1 ) iLimit = -1; + } + iLimit = sqlite3PagerJournalSizeLimit(pPager, iLimit); + returnSingleInt(v, iLimit); + break; + } + +#endif /* SQLITE_OMIT_PAGER_PRAGMAS */ + + /* + ** PRAGMA [schema.]auto_vacuum + ** PRAGMA [schema.]auto_vacuum=N + ** + ** Get or set the value of the database 'auto-vacuum' parameter. + ** The value is one of: 0 NONE 1 FULL 2 INCREMENTAL + */ +#ifndef SQLITE_OMIT_AUTOVACUUM + case PragTyp_AUTO_VACUUM: { + Btree *pBt = pDb->pBt; + assert( pBt!=0 ); + if( !zRight ){ + returnSingleInt(v, sqlite3BtreeGetAutoVacuum(pBt)); + }else{ + int eAuto = getAutoVacuum(zRight); + assert( eAuto>=0 && eAuto<=2 ); + db->nextAutovac = (u8)eAuto; + /* Call SetAutoVacuum() to set initialize the internal auto and + ** incr-vacuum flags. This is required in case this connection + ** creates the database file. It is important that it is created + ** as an auto-vacuum capable db. + */ + rc = sqlite3BtreeSetAutoVacuum(pBt, eAuto); + if( rc==SQLITE_OK && (eAuto==1 || eAuto==2) ){ + /* When setting the auto_vacuum mode to either "full" or + ** "incremental", write the value of meta[6] in the database + ** file. Before writing to meta[6], check that meta[3] indicates + ** that this really is an auto-vacuum capable database. + */ + static const int iLn = VDBE_OFFSET_LINENO(2); + static const VdbeOpList setMeta6[] = { + { OP_Transaction, 0, 1, 0}, /* 0 */ + { OP_ReadCookie, 0, 1, BTREE_LARGEST_ROOT_PAGE}, + { OP_If, 1, 0, 0}, /* 2 */ + { OP_Halt, SQLITE_OK, OE_Abort, 0}, /* 3 */ + { OP_SetCookie, 0, BTREE_INCR_VACUUM, 0}, /* 4 */ + }; + VdbeOp *aOp; + int iAddr = sqlite3VdbeCurrentAddr(v); + sqlite3VdbeVerifyNoMallocRequired(v, ArraySize(setMeta6)); + aOp = sqlite3VdbeAddOpList(v, ArraySize(setMeta6), setMeta6, iLn); + if( ONLY_IF_REALLOC_STRESS(aOp==0) ) break; + aOp[0].p1 = iDb; + aOp[1].p1 = iDb; + aOp[2].p2 = iAddr+4; + aOp[4].p1 = iDb; + aOp[4].p3 = eAuto - 1; + sqlite3VdbeUsesBtree(v, iDb); + } + } + break; + } +#endif + + /* + ** PRAGMA [schema.]incremental_vacuum(N) + ** + ** Do N steps of incremental vacuuming on a database. + */ +#ifndef SQLITE_OMIT_AUTOVACUUM + case PragTyp_INCREMENTAL_VACUUM: { + int iLimit, addr; + if( zRight==0 || !sqlite3GetInt32(zRight, &iLimit) || iLimit<=0 ){ + iLimit = 0x7fffffff; + } + sqlite3BeginWriteOperation(pParse, 0, iDb); + sqlite3VdbeAddOp2(v, OP_Integer, iLimit, 1); + addr = sqlite3VdbeAddOp1(v, OP_IncrVacuum, iDb); VdbeCoverage(v); + sqlite3VdbeAddOp1(v, OP_ResultRow, 1); + sqlite3VdbeAddOp2(v, OP_AddImm, 1, -1); + sqlite3VdbeAddOp2(v, OP_IfPos, 1, addr); VdbeCoverage(v); + sqlite3VdbeJumpHere(v, addr); + break; + } +#endif + +#ifndef SQLITE_OMIT_PAGER_PRAGMAS + /* + ** PRAGMA [schema.]cache_size + ** PRAGMA [schema.]cache_size=N + ** + ** The first form reports the current local setting for the + ** page cache size. The second form sets the local + ** page cache size value. If N is positive then that is the + ** number of pages in the cache. If N is negative, then the + ** number of pages is adjusted so that the cache uses -N kibibytes + ** of memory. + */ + case PragTyp_CACHE_SIZE: { + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + if( !zRight ){ + returnSingleInt(v, pDb->pSchema->cache_size); + }else{ + int size = sqlite3Atoi(zRight); + pDb->pSchema->cache_size = size; + sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); + } + break; + } + + /* + ** PRAGMA [schema.]cache_spill + ** PRAGMA cache_spill=BOOLEAN + ** PRAGMA [schema.]cache_spill=N + ** + ** The first form reports the current local setting for the + ** page cache spill size. The second form turns cache spill on + ** or off. When turnning cache spill on, the size is set to the + ** current cache_size. The third form sets a spill size that + ** may be different form the cache size. + ** If N is positive then that is the + ** number of pages in the cache. If N is negative, then the + ** number of pages is adjusted so that the cache uses -N kibibytes + ** of memory. + ** + ** If the number of cache_spill pages is less then the number of + ** cache_size pages, no spilling occurs until the page count exceeds + ** the number of cache_size pages. + ** + ** The cache_spill=BOOLEAN setting applies to all attached schemas, + ** not just the schema specified. + */ + case PragTyp_CACHE_SPILL: { + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + if( !zRight ){ + returnSingleInt(v, + (db->flags & SQLITE_CacheSpill)==0 ? 0 : + sqlite3BtreeSetSpillSize(pDb->pBt,0)); + }else{ + int size = 1; + if( sqlite3GetInt32(zRight, &size) ){ + sqlite3BtreeSetSpillSize(pDb->pBt, size); + } + if( sqlite3GetBoolean(zRight, size!=0) ){ + db->flags |= SQLITE_CacheSpill; + }else{ + db->flags &= ~(u64)SQLITE_CacheSpill; + } + setAllPagerFlags(db); + } + break; + } + + /* + ** PRAGMA [schema.]mmap_size(N) + ** + ** Used to set mapping size limit. The mapping size limit is + ** used to limit the aggregate size of all memory mapped regions of the + ** database file. If this parameter is set to zero, then memory mapping + ** is not used at all. If N is negative, then the default memory map + ** limit determined by sqlite3_config(SQLITE_CONFIG_MMAP_SIZE) is set. + ** The parameter N is measured in bytes. + ** + ** This value is advisory. The underlying VFS is free to memory map + ** as little or as much as it wants. Except, if N is set to 0 then the + ** upper layers will never invoke the xFetch interfaces to the VFS. + */ + case PragTyp_MMAP_SIZE: { + sqlite3_int64 sz; +#if SQLITE_MAX_MMAP_SIZE>0 + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + if( zRight ){ + int ii; + sqlite3DecOrHexToI64(zRight, &sz); + if( sz<0 ) sz = sqlite3GlobalConfig.szMmap; + if( pId2->n==0 ) db->szMmap = sz; + for(ii=db->nDb-1; ii>=0; ii--){ + if( db->aDb[ii].pBt && (ii==iDb || pId2->n==0) ){ + sqlite3BtreeSetMmapLimit(db->aDb[ii].pBt, sz); + } + } + } + sz = -1; + rc = sqlite3_file_control(db, zDb, SQLITE_FCNTL_MMAP_SIZE, &sz); +#else + sz = 0; + rc = SQLITE_OK; +#endif + if( rc==SQLITE_OK ){ + returnSingleInt(v, sz); + }else if( rc!=SQLITE_NOTFOUND ){ + pParse->nErr++; + pParse->rc = rc; + } + break; + } + + /* + ** PRAGMA temp_store + ** PRAGMA temp_store = "default"|"memory"|"file" + ** + ** Return or set the local value of the temp_store flag. Changing + ** the local value does not make changes to the disk file and the default + ** value will be restored the next time the database is opened. + ** + ** Note that it is possible for the library compile-time options to + ** override this setting + */ + case PragTyp_TEMP_STORE: { + if( !zRight ){ + returnSingleInt(v, db->temp_store); + }else{ + changeTempStorage(pParse, zRight); + } + break; + } + + /* + ** PRAGMA temp_store_directory + ** PRAGMA temp_store_directory = ""|"directory_name" + ** + ** Return or set the local value of the temp_store_directory flag. Changing + ** the value sets a specific directory to be used for temporary files. + ** Setting to a null string reverts to the default temporary directory search. + ** If temporary directory is changed, then invalidateTempStorage. + ** + */ + case PragTyp_TEMP_STORE_DIRECTORY: { + if( !zRight ){ + returnSingleText(v, sqlite3_temp_directory); + }else{ +#ifndef SQLITE_OMIT_WSD + if( zRight[0] ){ + int res; + rc = sqlite3OsAccess(db->pVfs, zRight, SQLITE_ACCESS_READWRITE, &res); + if( rc!=SQLITE_OK || res==0 ){ + sqlite3ErrorMsg(pParse, "not a writable directory"); + goto pragma_out; + } + } + if( SQLITE_TEMP_STORE==0 + || (SQLITE_TEMP_STORE==1 && db->temp_store<=1) + || (SQLITE_TEMP_STORE==2 && db->temp_store==1) + ){ + invalidateTempStorage(pParse); + } + sqlite3_free(sqlite3_temp_directory); + if( zRight[0] ){ + sqlite3_temp_directory = sqlite3_mprintf("%s", zRight); + }else{ + sqlite3_temp_directory = 0; + } +#endif /* SQLITE_OMIT_WSD */ + } + break; + } + +#if SQLITE_OS_WIN + /* + ** PRAGMA data_store_directory + ** PRAGMA data_store_directory = ""|"directory_name" + ** + ** Return or set the local value of the data_store_directory flag. Changing + ** the value sets a specific directory to be used for database files that + ** were specified with a relative pathname. Setting to a null string reverts + ** to the default database directory, which for database files specified with + ** a relative path will probably be based on the current directory for the + ** process. Database file specified with an absolute path are not impacted + ** by this setting, regardless of its value. + ** + */ + case PragTyp_DATA_STORE_DIRECTORY: { + if( !zRight ){ + returnSingleText(v, sqlite3_data_directory); + }else{ +#ifndef SQLITE_OMIT_WSD + if( zRight[0] ){ + int res; + rc = sqlite3OsAccess(db->pVfs, zRight, SQLITE_ACCESS_READWRITE, &res); + if( rc!=SQLITE_OK || res==0 ){ + sqlite3ErrorMsg(pParse, "not a writable directory"); + goto pragma_out; + } + } + sqlite3_free(sqlite3_data_directory); + if( zRight[0] ){ + sqlite3_data_directory = sqlite3_mprintf("%s", zRight); + }else{ + sqlite3_data_directory = 0; + } +#endif /* SQLITE_OMIT_WSD */ + } + break; + } +#endif + +#if SQLITE_ENABLE_LOCKING_STYLE + /* + ** PRAGMA [schema.]lock_proxy_file + ** PRAGMA [schema.]lock_proxy_file = ":auto:"|"lock_file_path" + ** + ** Return or set the value of the lock_proxy_file flag. Changing + ** the value sets a specific file to be used for database access locks. + ** + */ + case PragTyp_LOCK_PROXY_FILE: { + if( !zRight ){ + Pager *pPager = sqlite3BtreePager(pDb->pBt); + char *proxy_file_path = NULL; + sqlite3_file *pFile = sqlite3PagerFile(pPager); + sqlite3OsFileControlHint(pFile, SQLITE_GET_LOCKPROXYFILE, + &proxy_file_path); + returnSingleText(v, proxy_file_path); + }else{ + Pager *pPager = sqlite3BtreePager(pDb->pBt); + sqlite3_file *pFile = sqlite3PagerFile(pPager); + int res; + if( zRight[0] ){ + res=sqlite3OsFileControl(pFile, SQLITE_SET_LOCKPROXYFILE, + zRight); + } else { + res=sqlite3OsFileControl(pFile, SQLITE_SET_LOCKPROXYFILE, + NULL); + } + if( res!=SQLITE_OK ){ + sqlite3ErrorMsg(pParse, "failed to set lock proxy file"); + goto pragma_out; + } + } + break; + } +#endif /* SQLITE_ENABLE_LOCKING_STYLE */ + + /* + ** PRAGMA [schema.]synchronous + ** PRAGMA [schema.]synchronous=OFF|ON|NORMAL|FULL|EXTRA + ** + ** Return or set the local value of the synchronous flag. Changing + ** the local value does not make changes to the disk file and the + ** default value will be restored the next time the database is + ** opened. + */ + case PragTyp_SYNCHRONOUS: { + if( !zRight ){ + returnSingleInt(v, pDb->safety_level-1); + }else{ + if( !db->autoCommit ){ + sqlite3ErrorMsg(pParse, + "Safety level may not be changed inside a transaction"); + }else if( iDb!=1 ){ + int iLevel = (getSafetyLevel(zRight,0,1)+1) & PAGER_SYNCHRONOUS_MASK; + if( iLevel==0 ) iLevel = 1; + pDb->safety_level = iLevel; + pDb->bSyncSet = 1; + setAllPagerFlags(db); + } + } + break; + } +#endif /* SQLITE_OMIT_PAGER_PRAGMAS */ + +#ifndef SQLITE_OMIT_FLAG_PRAGMAS + case PragTyp_FLAG: { + if( zRight==0 ){ + setPragmaResultColumnNames(v, pPragma); + returnSingleInt(v, (db->flags & pPragma->iArg)!=0 ); + }else{ + u64 mask = pPragma->iArg; /* Mask of bits to set or clear. */ + if( db->autoCommit==0 ){ + /* Foreign key support may not be enabled or disabled while not + ** in auto-commit mode. */ + mask &= ~(SQLITE_ForeignKeys); + } +#if SQLITE_USER_AUTHENTICATION + if( db->auth.authLevel==UAUTH_User ){ + /* Do not allow non-admin users to modify the schema arbitrarily */ + mask &= ~(SQLITE_WriteSchema); + } +#endif + + if( sqlite3GetBoolean(zRight, 0) ){ + db->flags |= mask; + }else{ + db->flags &= ~mask; + if( mask==SQLITE_DeferFKs ) db->nDeferredImmCons = 0; + } + + /* Many of the flag-pragmas modify the code generated by the SQL + ** compiler (eg. count_changes). So add an opcode to expire all + ** compiled SQL statements after modifying a pragma value. + */ + sqlite3VdbeAddOp0(v, OP_Expire); + setAllPagerFlags(db); + } + break; + } +#endif /* SQLITE_OMIT_FLAG_PRAGMAS */ + +#ifndef SQLITE_OMIT_SCHEMA_PRAGMAS + /* + ** PRAGMA table_info(
    ) + ** + ** Return a single row for each column of the named table. The columns of + ** the returned data set are: + ** + ** cid: Column id (numbered from left to right, starting at 0) + ** name: Column name + ** type: Column declaration type. + ** notnull: True if 'NOT NULL' is part of column declaration + ** dflt_value: The default value for the column, if any. + ** pk: Non-zero for PK fields. + */ + case PragTyp_TABLE_INFO: if( zRight ){ + Table *pTab; + pTab = sqlite3LocateTable(pParse, LOCATE_NOERR, zRight, zDb); + if( pTab ){ + int iTabDb = sqlite3SchemaToIndex(db, pTab->pSchema); + int i, k; + int nHidden = 0; + Column *pCol; + Index *pPk = sqlite3PrimaryKeyIndex(pTab); + pParse->nMem = 7; + sqlite3CodeVerifySchema(pParse, iTabDb); + sqlite3ViewGetColumnNames(pParse, pTab); + for(i=0, pCol=pTab->aCol; inCol; i++, pCol++){ + int isHidden = IsHiddenColumn(pCol); + if( isHidden && pPragma->iArg==0 ){ + nHidden++; + continue; + } + if( (pCol->colFlags & COLFLAG_PRIMKEY)==0 ){ + k = 0; + }else if( pPk==0 ){ + k = 1; + }else{ + for(k=1; k<=pTab->nCol && pPk->aiColumn[k-1]!=i; k++){} + } + assert( pCol->pDflt==0 || pCol->pDflt->op==TK_SPAN ); + sqlite3VdbeMultiLoad(v, 1, pPragma->iArg ? "issisii" : "issisi", + i-nHidden, + pCol->zName, + sqlite3ColumnType(pCol,""), + pCol->notNull ? 1 : 0, + pCol->pDflt ? pCol->pDflt->u.zToken : 0, + k, + isHidden); + } + } + } + break; + +#ifdef SQLITE_DEBUG + case PragTyp_STATS: { + Index *pIdx; + HashElem *i; + pParse->nMem = 5; + sqlite3CodeVerifySchema(pParse, iDb); + for(i=sqliteHashFirst(&pDb->pSchema->tblHash); i; i=sqliteHashNext(i)){ + Table *pTab = sqliteHashData(i); + sqlite3VdbeMultiLoad(v, 1, "ssiii", + pTab->zName, + 0, + pTab->szTabRow, + pTab->nRowLogEst, + pTab->tabFlags); + for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + sqlite3VdbeMultiLoad(v, 2, "siiiX", + pIdx->zName, + pIdx->szIdxRow, + pIdx->aiRowLogEst[0], + pIdx->hasStat1); + sqlite3VdbeAddOp2(v, OP_ResultRow, 1, 5); + } + } + } + break; +#endif + + case PragTyp_INDEX_INFO: if( zRight ){ + Index *pIdx; + Table *pTab; + pIdx = sqlite3FindIndex(db, zRight, zDb); + if( pIdx==0 ){ + /* If there is no index named zRight, check to see if there is a + ** WITHOUT ROWID table named zRight, and if there is, show the + ** structure of the PRIMARY KEY index for that table. */ + pTab = sqlite3LocateTable(pParse, LOCATE_NOERR, zRight, zDb); + if( pTab && !HasRowid(pTab) ){ + pIdx = sqlite3PrimaryKeyIndex(pTab); + } + } + if( pIdx ){ + int iIdxDb = sqlite3SchemaToIndex(db, pIdx->pSchema); + int i; + int mx; + if( pPragma->iArg ){ + /* PRAGMA index_xinfo (newer version with more rows and columns) */ + mx = pIdx->nColumn; + pParse->nMem = 6; + }else{ + /* PRAGMA index_info (legacy version) */ + mx = pIdx->nKeyCol; + pParse->nMem = 3; + } + pTab = pIdx->pTable; + sqlite3CodeVerifySchema(pParse, iIdxDb); + assert( pParse->nMem<=pPragma->nPragCName ); + for(i=0; iaiColumn[i]; + sqlite3VdbeMultiLoad(v, 1, "iisX", i, cnum, + cnum<0 ? 0 : pTab->aCol[cnum].zName); + if( pPragma->iArg ){ + sqlite3VdbeMultiLoad(v, 4, "isiX", + pIdx->aSortOrder[i], + pIdx->azColl[i], + inKeyCol); + } + sqlite3VdbeAddOp2(v, OP_ResultRow, 1, pParse->nMem); + } + } + } + break; + + case PragTyp_INDEX_LIST: if( zRight ){ + Index *pIdx; + Table *pTab; + int i; + pTab = sqlite3FindTable(db, zRight, zDb); + if( pTab ){ + int iTabDb = sqlite3SchemaToIndex(db, pTab->pSchema); + pParse->nMem = 5; + sqlite3CodeVerifySchema(pParse, iTabDb); + for(pIdx=pTab->pIndex, i=0; pIdx; pIdx=pIdx->pNext, i++){ + const char *azOrigin[] = { "c", "u", "pk" }; + sqlite3VdbeMultiLoad(v, 1, "isisi", + i, + pIdx->zName, + IsUniqueIndex(pIdx), + azOrigin[pIdx->idxType], + pIdx->pPartIdxWhere!=0); + } + } + } + break; + + case PragTyp_DATABASE_LIST: { + int i; + pParse->nMem = 3; + for(i=0; inDb; i++){ + if( db->aDb[i].pBt==0 ) continue; + assert( db->aDb[i].zDbSName!=0 ); + sqlite3VdbeMultiLoad(v, 1, "iss", + i, + db->aDb[i].zDbSName, + sqlite3BtreeGetFilename(db->aDb[i].pBt)); + } + } + break; + + case PragTyp_COLLATION_LIST: { + int i = 0; + HashElem *p; + pParse->nMem = 2; + for(p=sqliteHashFirst(&db->aCollSeq); p; p=sqliteHashNext(p)){ + CollSeq *pColl = (CollSeq *)sqliteHashData(p); + sqlite3VdbeMultiLoad(v, 1, "is", i++, pColl->zName); + } + } + break; + +#ifndef SQLITE_OMIT_INTROSPECTION_PRAGMAS + case PragTyp_FUNCTION_LIST: { + int i; + HashElem *j; + FuncDef *p; + pParse->nMem = 2; + for(i=0; iu.pHash ){ + if( p->funcFlags & SQLITE_FUNC_INTERNAL ) continue; + sqlite3VdbeMultiLoad(v, 1, "si", p->zName, 1); + } + } + for(j=sqliteHashFirst(&db->aFunc); j; j=sqliteHashNext(j)){ + p = (FuncDef*)sqliteHashData(j); + sqlite3VdbeMultiLoad(v, 1, "si", p->zName, 0); + } + } + break; + +#ifndef SQLITE_OMIT_VIRTUALTABLE + case PragTyp_MODULE_LIST: { + HashElem *j; + pParse->nMem = 1; + for(j=sqliteHashFirst(&db->aModule); j; j=sqliteHashNext(j)){ + Module *pMod = (Module*)sqliteHashData(j); + sqlite3VdbeMultiLoad(v, 1, "s", pMod->zName); + } + } + break; +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + + case PragTyp_PRAGMA_LIST: { + int i; + for(i=0; ipFKey; + if( pFK ){ + int iTabDb = sqlite3SchemaToIndex(db, pTab->pSchema); + int i = 0; + pParse->nMem = 8; + sqlite3CodeVerifySchema(pParse, iTabDb); + while(pFK){ + int j; + for(j=0; jnCol; j++){ + sqlite3VdbeMultiLoad(v, 1, "iissssss", + i, + j, + pFK->zTo, + pTab->aCol[pFK->aCol[j].iFrom].zName, + pFK->aCol[j].zCol, + actionName(pFK->aAction[1]), /* ON UPDATE */ + actionName(pFK->aAction[0]), /* ON DELETE */ + "NONE"); + } + ++i; + pFK = pFK->pNextFrom; + } + } + } + } + break; +#endif /* !defined(SQLITE_OMIT_FOREIGN_KEY) */ + +#ifndef SQLITE_OMIT_FOREIGN_KEY +#ifndef SQLITE_OMIT_TRIGGER + case PragTyp_FOREIGN_KEY_CHECK: { + FKey *pFK; /* A foreign key constraint */ + Table *pTab; /* Child table contain "REFERENCES" keyword */ + Table *pParent; /* Parent table that child points to */ + Index *pIdx; /* Index in the parent table */ + int i; /* Loop counter: Foreign key number for pTab */ + int j; /* Loop counter: Field of the foreign key */ + HashElem *k; /* Loop counter: Next table in schema */ + int x; /* result variable */ + int regResult; /* 3 registers to hold a result row */ + int regKey; /* Register to hold key for checking the FK */ + int regRow; /* Registers to hold a row from pTab */ + int addrTop; /* Top of a loop checking foreign keys */ + int addrOk; /* Jump here if the key is OK */ + int *aiCols; /* child to parent column mapping */ + + regResult = pParse->nMem+1; + pParse->nMem += 4; + regKey = ++pParse->nMem; + regRow = ++pParse->nMem; + k = sqliteHashFirst(&db->aDb[iDb].pSchema->tblHash); + while( k ){ + int iTabDb; + if( zRight ){ + pTab = sqlite3LocateTable(pParse, 0, zRight, zDb); + k = 0; + }else{ + pTab = (Table*)sqliteHashData(k); + k = sqliteHashNext(k); + } + if( pTab==0 || pTab->pFKey==0 ) continue; + iTabDb = sqlite3SchemaToIndex(db, pTab->pSchema); + sqlite3CodeVerifySchema(pParse, iTabDb); + sqlite3TableLock(pParse, iTabDb, pTab->tnum, 0, pTab->zName); + if( pTab->nCol+regRow>pParse->nMem ) pParse->nMem = pTab->nCol + regRow; + sqlite3OpenTable(pParse, 0, iTabDb, pTab, OP_OpenRead); + sqlite3VdbeLoadString(v, regResult, pTab->zName); + for(i=1, pFK=pTab->pFKey; pFK; i++, pFK=pFK->pNextFrom){ + pParent = sqlite3FindTable(db, pFK->zTo, zDb); + if( pParent==0 ) continue; + pIdx = 0; + sqlite3TableLock(pParse, iTabDb, pParent->tnum, 0, pParent->zName); + x = sqlite3FkLocateIndex(pParse, pParent, pFK, &pIdx, 0); + if( x==0 ){ + if( pIdx==0 ){ + sqlite3OpenTable(pParse, i, iTabDb, pParent, OP_OpenRead); + }else{ + sqlite3VdbeAddOp3(v, OP_OpenRead, i, pIdx->tnum, iTabDb); + sqlite3VdbeSetP4KeyInfo(pParse, pIdx); + } + }else{ + k = 0; + break; + } + } + assert( pParse->nErr>0 || pFK==0 ); + if( pFK ) break; + if( pParse->nTabnTab = i; + addrTop = sqlite3VdbeAddOp1(v, OP_Rewind, 0); VdbeCoverage(v); + for(i=1, pFK=pTab->pFKey; pFK; i++, pFK=pFK->pNextFrom){ + pParent = sqlite3FindTable(db, pFK->zTo, zDb); + pIdx = 0; + aiCols = 0; + if( pParent ){ + x = sqlite3FkLocateIndex(pParse, pParent, pFK, &pIdx, &aiCols); + assert( x==0 ); + } + addrOk = sqlite3VdbeMakeLabel(pParse); + + /* Generate code to read the child key values into registers + ** regRow..regRow+n. If any of the child key values are NULL, this + ** row cannot cause an FK violation. Jump directly to addrOk in + ** this case. */ + for(j=0; jnCol; j++){ + int iCol = aiCols ? aiCols[j] : pFK->aCol[j].iFrom; + sqlite3ExprCodeGetColumnOfTable(v, pTab, 0, iCol, regRow+j); + sqlite3VdbeAddOp2(v, OP_IsNull, regRow+j, addrOk); VdbeCoverage(v); + } + + /* Generate code to query the parent index for a matching parent + ** key. If a match is found, jump to addrOk. */ + if( pIdx ){ + sqlite3VdbeAddOp4(v, OP_MakeRecord, regRow, pFK->nCol, regKey, + sqlite3IndexAffinityStr(db,pIdx), pFK->nCol); + sqlite3VdbeAddOp4Int(v, OP_Found, i, addrOk, regKey, 0); + VdbeCoverage(v); + }else if( pParent ){ + int jmp = sqlite3VdbeCurrentAddr(v)+2; + sqlite3VdbeAddOp3(v, OP_SeekRowid, i, jmp, regRow); VdbeCoverage(v); + sqlite3VdbeGoto(v, addrOk); + assert( pFK->nCol==1 ); + } + + /* Generate code to report an FK violation to the caller. */ + if( HasRowid(pTab) ){ + sqlite3VdbeAddOp2(v, OP_Rowid, 0, regResult+1); + }else{ + sqlite3VdbeAddOp2(v, OP_Null, 0, regResult+1); + } + sqlite3VdbeMultiLoad(v, regResult+2, "siX", pFK->zTo, i-1); + sqlite3VdbeAddOp2(v, OP_ResultRow, regResult, 4); + sqlite3VdbeResolveLabel(v, addrOk); + sqlite3DbFree(db, aiCols); + } + sqlite3VdbeAddOp2(v, OP_Next, 0, addrTop+1); VdbeCoverage(v); + sqlite3VdbeJumpHere(v, addrTop); + } + } + break; +#endif /* !defined(SQLITE_OMIT_TRIGGER) */ +#endif /* !defined(SQLITE_OMIT_FOREIGN_KEY) */ + +#ifndef SQLITE_OMIT_CASE_SENSITIVE_LIKE_PRAGMA + /* Reinstall the LIKE and GLOB functions. The variant of LIKE + ** used will be case sensitive or not depending on the RHS. + */ + case PragTyp_CASE_SENSITIVE_LIKE: { + if( zRight ){ + sqlite3RegisterLikeFunctions(db, sqlite3GetBoolean(zRight, 0)); + } + } + break; +#endif /* SQLITE_OMIT_CASE_SENSITIVE_LIKE_PRAGMA */ + +#ifndef SQLITE_INTEGRITY_CHECK_ERROR_MAX +# define SQLITE_INTEGRITY_CHECK_ERROR_MAX 100 +#endif + +#ifndef SQLITE_OMIT_INTEGRITY_CHECK + /* PRAGMA integrity_check + ** PRAGMA integrity_check(N) + ** PRAGMA quick_check + ** PRAGMA quick_check(N) + ** + ** Verify the integrity of the database. + ** + ** The "quick_check" is reduced version of + ** integrity_check designed to detect most database corruption + ** without the overhead of cross-checking indexes. Quick_check + ** is linear time wherease integrity_check is O(NlogN). + */ + case PragTyp_INTEGRITY_CHECK: { + int i, j, addr, mxErr; + + int isQuick = (sqlite3Tolower(zLeft[0])=='q'); + + /* If the PRAGMA command was of the form "PRAGMA .integrity_check", + ** then iDb is set to the index of the database identified by . + ** In this case, the integrity of database iDb only is verified by + ** the VDBE created below. + ** + ** Otherwise, if the command was simply "PRAGMA integrity_check" (or + ** "PRAGMA quick_check"), then iDb is set to 0. In this case, set iDb + ** to -1 here, to indicate that the VDBE should verify the integrity + ** of all attached databases. */ + assert( iDb>=0 ); + assert( iDb==0 || pId2->z ); + if( pId2->z==0 ) iDb = -1; + + /* Initialize the VDBE program */ + pParse->nMem = 6; + + /* Set the maximum error count */ + mxErr = SQLITE_INTEGRITY_CHECK_ERROR_MAX; + if( zRight ){ + sqlite3GetInt32(zRight, &mxErr); + if( mxErr<=0 ){ + mxErr = SQLITE_INTEGRITY_CHECK_ERROR_MAX; + } + } + sqlite3VdbeAddOp2(v, OP_Integer, mxErr-1, 1); /* reg[1] holds errors left */ + + /* Do an integrity check on each database file */ + for(i=0; inDb; i++){ + HashElem *x; /* For looping over tables in the schema */ + Hash *pTbls; /* Set of all tables in the schema */ + int *aRoot; /* Array of root page numbers of all btrees */ + int cnt = 0; /* Number of entries in aRoot[] */ + int mxIdx = 0; /* Maximum number of indexes for any table */ + + if( OMIT_TEMPDB && i==1 ) continue; + if( iDb>=0 && i!=iDb ) continue; + + sqlite3CodeVerifySchema(pParse, i); + + /* Do an integrity check of the B-Tree + ** + ** Begin by finding the root pages numbers + ** for all tables and indices in the database. + */ + assert( sqlite3SchemaMutexHeld(db, i, 0) ); + pTbls = &db->aDb[i].pSchema->tblHash; + for(cnt=0, x=sqliteHashFirst(pTbls); x; x=sqliteHashNext(x)){ + Table *pTab = sqliteHashData(x); /* Current table */ + Index *pIdx; /* An index on pTab */ + int nIdx; /* Number of indexes on pTab */ + if( HasRowid(pTab) ) cnt++; + for(nIdx=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, nIdx++){ cnt++; } + if( nIdx>mxIdx ) mxIdx = nIdx; + } + aRoot = sqlite3DbMallocRawNN(db, sizeof(int)*(cnt+1)); + if( aRoot==0 ) break; + for(cnt=0, x=sqliteHashFirst(pTbls); x; x=sqliteHashNext(x)){ + Table *pTab = sqliteHashData(x); + Index *pIdx; + if( HasRowid(pTab) ) aRoot[++cnt] = pTab->tnum; + for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + aRoot[++cnt] = pIdx->tnum; + } + } + aRoot[0] = cnt; + + /* Make sure sufficient number of registers have been allocated */ + pParse->nMem = MAX( pParse->nMem, 8+mxIdx ); + sqlite3ClearTempRegCache(pParse); + + /* Do the b-tree integrity checks */ + sqlite3VdbeAddOp4(v, OP_IntegrityCk, 2, cnt, 1, (char*)aRoot,P4_INTARRAY); + sqlite3VdbeChangeP5(v, (u8)i); + addr = sqlite3VdbeAddOp1(v, OP_IsNull, 2); VdbeCoverage(v); + sqlite3VdbeAddOp4(v, OP_String8, 0, 3, 0, + sqlite3MPrintf(db, "*** in database %s ***\n", db->aDb[i].zDbSName), + P4_DYNAMIC); + sqlite3VdbeAddOp3(v, OP_Concat, 2, 3, 3); + integrityCheckResultRow(v); + sqlite3VdbeJumpHere(v, addr); + + /* Make sure all the indices are constructed correctly. + */ + for(x=sqliteHashFirst(pTbls); x; x=sqliteHashNext(x)){ + Table *pTab = sqliteHashData(x); + Index *pIdx, *pPk; + Index *pPrior = 0; + int loopTop; + int iDataCur, iIdxCur; + int r1 = -1; + + if( pTab->tnum<1 ) continue; /* Skip VIEWs or VIRTUAL TABLEs */ + pPk = HasRowid(pTab) ? 0 : sqlite3PrimaryKeyIndex(pTab); + sqlite3OpenTableAndIndices(pParse, pTab, OP_OpenRead, 0, + 1, 0, &iDataCur, &iIdxCur); + /* reg[7] counts the number of entries in the table. + ** reg[8+i] counts the number of entries in the i-th index + */ + sqlite3VdbeAddOp2(v, OP_Integer, 0, 7); + for(j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ + sqlite3VdbeAddOp2(v, OP_Integer, 0, 8+j); /* index entries counter */ + } + assert( pParse->nMem>=8+j ); + assert( sqlite3NoTempsInRange(pParse,1,7+j) ); + sqlite3VdbeAddOp2(v, OP_Rewind, iDataCur, 0); VdbeCoverage(v); + loopTop = sqlite3VdbeAddOp2(v, OP_AddImm, 7, 1); + if( !isQuick ){ + /* Sanity check on record header decoding */ + sqlite3VdbeAddOp3(v, OP_Column, iDataCur, pTab->nCol-1, 3); + sqlite3VdbeChangeP5(v, OPFLAG_TYPEOFARG); + } + /* Verify that all NOT NULL columns really are NOT NULL */ + for(j=0; jnCol; j++){ + char *zErr; + int jmp2; + if( j==pTab->iPKey ) continue; + if( pTab->aCol[j].notNull==0 ) continue; + sqlite3ExprCodeGetColumnOfTable(v, pTab, iDataCur, j, 3); + sqlite3VdbeChangeP5(v, OPFLAG_TYPEOFARG); + jmp2 = sqlite3VdbeAddOp1(v, OP_NotNull, 3); VdbeCoverage(v); + zErr = sqlite3MPrintf(db, "NULL value in %s.%s", pTab->zName, + pTab->aCol[j].zName); + sqlite3VdbeAddOp4(v, OP_String8, 0, 3, 0, zErr, P4_DYNAMIC); + integrityCheckResultRow(v); + sqlite3VdbeJumpHere(v, jmp2); + } + /* Verify CHECK constraints */ + if( pTab->pCheck && (db->flags & SQLITE_IgnoreChecks)==0 ){ + ExprList *pCheck = sqlite3ExprListDup(db, pTab->pCheck, 0); + if( db->mallocFailed==0 ){ + int addrCkFault = sqlite3VdbeMakeLabel(pParse); + int addrCkOk = sqlite3VdbeMakeLabel(pParse); + char *zErr; + int k; + pParse->iSelfTab = iDataCur + 1; + for(k=pCheck->nExpr-1; k>0; k--){ + sqlite3ExprIfFalse(pParse, pCheck->a[k].pExpr, addrCkFault, 0); + } + sqlite3ExprIfTrue(pParse, pCheck->a[0].pExpr, addrCkOk, + SQLITE_JUMPIFNULL); + sqlite3VdbeResolveLabel(v, addrCkFault); + pParse->iSelfTab = 0; + zErr = sqlite3MPrintf(db, "CHECK constraint failed in %s", + pTab->zName); + sqlite3VdbeAddOp4(v, OP_String8, 0, 3, 0, zErr, P4_DYNAMIC); + integrityCheckResultRow(v); + sqlite3VdbeResolveLabel(v, addrCkOk); + } + sqlite3ExprListDelete(db, pCheck); + } + if( !isQuick ){ /* Omit the remaining tests for quick_check */ + /* Validate index entries for the current row */ + for(j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ + int jmp2, jmp3, jmp4, jmp5; + int ckUniq = sqlite3VdbeMakeLabel(pParse); + if( pPk==pIdx ) continue; + r1 = sqlite3GenerateIndexKey(pParse, pIdx, iDataCur, 0, 0, &jmp3, + pPrior, r1); + pPrior = pIdx; + sqlite3VdbeAddOp2(v, OP_AddImm, 8+j, 1);/* increment entry count */ + /* Verify that an index entry exists for the current table row */ + jmp2 = sqlite3VdbeAddOp4Int(v, OP_Found, iIdxCur+j, ckUniq, r1, + pIdx->nColumn); VdbeCoverage(v); + sqlite3VdbeLoadString(v, 3, "row "); + sqlite3VdbeAddOp3(v, OP_Concat, 7, 3, 3); + sqlite3VdbeLoadString(v, 4, " missing from index "); + sqlite3VdbeAddOp3(v, OP_Concat, 4, 3, 3); + jmp5 = sqlite3VdbeLoadString(v, 4, pIdx->zName); + sqlite3VdbeAddOp3(v, OP_Concat, 4, 3, 3); + jmp4 = integrityCheckResultRow(v); + sqlite3VdbeJumpHere(v, jmp2); + /* For UNIQUE indexes, verify that only one entry exists with the + ** current key. The entry is unique if (1) any column is NULL + ** or (2) the next entry has a different key */ + if( IsUniqueIndex(pIdx) ){ + int uniqOk = sqlite3VdbeMakeLabel(pParse); + int jmp6; + int kk; + for(kk=0; kknKeyCol; kk++){ + int iCol = pIdx->aiColumn[kk]; + assert( iCol!=XN_ROWID && iColnCol ); + if( iCol>=0 && pTab->aCol[iCol].notNull ) continue; + sqlite3VdbeAddOp2(v, OP_IsNull, r1+kk, uniqOk); + VdbeCoverage(v); + } + jmp6 = sqlite3VdbeAddOp1(v, OP_Next, iIdxCur+j); VdbeCoverage(v); + sqlite3VdbeGoto(v, uniqOk); + sqlite3VdbeJumpHere(v, jmp6); + sqlite3VdbeAddOp4Int(v, OP_IdxGT, iIdxCur+j, uniqOk, r1, + pIdx->nKeyCol); VdbeCoverage(v); + sqlite3VdbeLoadString(v, 3, "non-unique entry in index "); + sqlite3VdbeGoto(v, jmp5); + sqlite3VdbeResolveLabel(v, uniqOk); + } + sqlite3VdbeJumpHere(v, jmp4); + sqlite3ResolvePartIdxLabel(pParse, jmp3); + } + } + sqlite3VdbeAddOp2(v, OP_Next, iDataCur, loopTop); VdbeCoverage(v); + sqlite3VdbeJumpHere(v, loopTop-1); +#ifndef SQLITE_OMIT_BTREECOUNT + if( !isQuick ){ + sqlite3VdbeLoadString(v, 2, "wrong # of entries in index "); + for(j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ + if( pPk==pIdx ) continue; + sqlite3VdbeAddOp2(v, OP_Count, iIdxCur+j, 3); + addr = sqlite3VdbeAddOp3(v, OP_Eq, 8+j, 0, 3); VdbeCoverage(v); + sqlite3VdbeChangeP5(v, SQLITE_NOTNULL); + sqlite3VdbeLoadString(v, 4, pIdx->zName); + sqlite3VdbeAddOp3(v, OP_Concat, 4, 2, 3); + integrityCheckResultRow(v); + sqlite3VdbeJumpHere(v, addr); + } + } +#endif /* SQLITE_OMIT_BTREECOUNT */ + } + } + { + static const int iLn = VDBE_OFFSET_LINENO(2); + static const VdbeOpList endCode[] = { + { OP_AddImm, 1, 0, 0}, /* 0 */ + { OP_IfNotZero, 1, 4, 0}, /* 1 */ + { OP_String8, 0, 3, 0}, /* 2 */ + { OP_ResultRow, 3, 1, 0}, /* 3 */ + { OP_Halt, 0, 0, 0}, /* 4 */ + { OP_String8, 0, 3, 0}, /* 5 */ + { OP_Goto, 0, 3, 0}, /* 6 */ + }; + VdbeOp *aOp; + + aOp = sqlite3VdbeAddOpList(v, ArraySize(endCode), endCode, iLn); + if( aOp ){ + aOp[0].p2 = 1-mxErr; + aOp[2].p4type = P4_STATIC; + aOp[2].p4.z = "ok"; + aOp[5].p4type = P4_STATIC; + aOp[5].p4.z = (char*)sqlite3ErrStr(SQLITE_CORRUPT); + } + sqlite3VdbeChangeP3(v, 0, sqlite3VdbeCurrentAddr(v)-2); + } + } + break; +#endif /* SQLITE_OMIT_INTEGRITY_CHECK */ + +#ifndef SQLITE_OMIT_UTF16 + /* + ** PRAGMA encoding + ** PRAGMA encoding = "utf-8"|"utf-16"|"utf-16le"|"utf-16be" + ** + ** In its first form, this pragma returns the encoding of the main + ** database. If the database is not initialized, it is initialized now. + ** + ** The second form of this pragma is a no-op if the main database file + ** has not already been initialized. In this case it sets the default + ** encoding that will be used for the main database file if a new file + ** is created. If an existing main database file is opened, then the + ** default text encoding for the existing database is used. + ** + ** In all cases new databases created using the ATTACH command are + ** created to use the same default text encoding as the main database. If + ** the main database has not been initialized and/or created when ATTACH + ** is executed, this is done before the ATTACH operation. + ** + ** In the second form this pragma sets the text encoding to be used in + ** new database files created using this database handle. It is only + ** useful if invoked immediately after the main database i + */ + case PragTyp_ENCODING: { + static const struct EncName { + char *zName; + u8 enc; + } encnames[] = { + { "UTF8", SQLITE_UTF8 }, + { "UTF-8", SQLITE_UTF8 }, /* Must be element [1] */ + { "UTF-16le", SQLITE_UTF16LE }, /* Must be element [2] */ + { "UTF-16be", SQLITE_UTF16BE }, /* Must be element [3] */ + { "UTF16le", SQLITE_UTF16LE }, + { "UTF16be", SQLITE_UTF16BE }, + { "UTF-16", 0 }, /* SQLITE_UTF16NATIVE */ + { "UTF16", 0 }, /* SQLITE_UTF16NATIVE */ + { 0, 0 } + }; + const struct EncName *pEnc; + if( !zRight ){ /* "PRAGMA encoding" */ + if( sqlite3ReadSchema(pParse) ) goto pragma_out; + assert( encnames[SQLITE_UTF8].enc==SQLITE_UTF8 ); + assert( encnames[SQLITE_UTF16LE].enc==SQLITE_UTF16LE ); + assert( encnames[SQLITE_UTF16BE].enc==SQLITE_UTF16BE ); + returnSingleText(v, encnames[ENC(pParse->db)].zName); + }else{ /* "PRAGMA encoding = XXX" */ + /* Only change the value of sqlite.enc if the database handle is not + ** initialized. If the main database exists, the new sqlite.enc value + ** will be overwritten when the schema is next loaded. If it does not + ** already exists, it will be created to use the new encoding value. + */ + if( + !(DbHasProperty(db, 0, DB_SchemaLoaded)) || + DbHasProperty(db, 0, DB_Empty) + ){ + for(pEnc=&encnames[0]; pEnc->zName; pEnc++){ + if( 0==sqlite3StrICmp(zRight, pEnc->zName) ){ + SCHEMA_ENC(db) = ENC(db) = + pEnc->enc ? pEnc->enc : SQLITE_UTF16NATIVE; + break; + } + } + if( !pEnc->zName ){ + sqlite3ErrorMsg(pParse, "unsupported encoding: %s", zRight); + } + } + } + } + break; +#endif /* SQLITE_OMIT_UTF16 */ + +#ifndef SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS + /* + ** PRAGMA [schema.]schema_version + ** PRAGMA [schema.]schema_version = + ** + ** PRAGMA [schema.]user_version + ** PRAGMA [schema.]user_version = + ** + ** PRAGMA [schema.]freelist_count + ** + ** PRAGMA [schema.]data_version + ** + ** PRAGMA [schema.]application_id + ** PRAGMA [schema.]application_id = + ** + ** The pragma's schema_version and user_version are used to set or get + ** the value of the schema-version and user-version, respectively. Both + ** the schema-version and the user-version are 32-bit signed integers + ** stored in the database header. + ** + ** The schema-cookie is usually only manipulated internally by SQLite. It + ** is incremented by SQLite whenever the database schema is modified (by + ** creating or dropping a table or index). The schema version is used by + ** SQLite each time a query is executed to ensure that the internal cache + ** of the schema used when compiling the SQL query matches the schema of + ** the database against which the compiled query is actually executed. + ** Subverting this mechanism by using "PRAGMA schema_version" to modify + ** the schema-version is potentially dangerous and may lead to program + ** crashes or database corruption. Use with caution! + ** + ** The user-version is not used internally by SQLite. It may be used by + ** applications for any purpose. + */ + case PragTyp_HEADER_VALUE: { + int iCookie = pPragma->iArg; /* Which cookie to read or write */ + sqlite3VdbeUsesBtree(v, iDb); + if( zRight && (pPragma->mPragFlg & PragFlg_ReadOnly)==0 ){ + /* Write the specified cookie value */ + static const VdbeOpList setCookie[] = { + { OP_Transaction, 0, 1, 0}, /* 0 */ + { OP_SetCookie, 0, 0, 0}, /* 1 */ + }; + VdbeOp *aOp; + sqlite3VdbeVerifyNoMallocRequired(v, ArraySize(setCookie)); + aOp = sqlite3VdbeAddOpList(v, ArraySize(setCookie), setCookie, 0); + if( ONLY_IF_REALLOC_STRESS(aOp==0) ) break; + aOp[0].p1 = iDb; + aOp[1].p1 = iDb; + aOp[1].p2 = iCookie; + aOp[1].p3 = sqlite3Atoi(zRight); + }else{ + /* Read the specified cookie value */ + static const VdbeOpList readCookie[] = { + { OP_Transaction, 0, 0, 0}, /* 0 */ + { OP_ReadCookie, 0, 1, 0}, /* 1 */ + { OP_ResultRow, 1, 1, 0} + }; + VdbeOp *aOp; + sqlite3VdbeVerifyNoMallocRequired(v, ArraySize(readCookie)); + aOp = sqlite3VdbeAddOpList(v, ArraySize(readCookie),readCookie,0); + if( ONLY_IF_REALLOC_STRESS(aOp==0) ) break; + aOp[0].p1 = iDb; + aOp[1].p1 = iDb; + aOp[1].p3 = iCookie; + sqlite3VdbeReusable(v); + } + } + break; +#endif /* SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS */ + +#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS + /* + ** PRAGMA compile_options + ** + ** Return the names of all compile-time options used in this build, + ** one option per row. + */ + case PragTyp_COMPILE_OPTIONS: { + int i = 0; + const char *zOpt; + pParse->nMem = 1; + while( (zOpt = sqlite3_compileoption_get(i++))!=0 ){ + sqlite3VdbeLoadString(v, 1, zOpt); + sqlite3VdbeAddOp2(v, OP_ResultRow, 1, 1); + } + sqlite3VdbeReusable(v); + } + break; +#endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */ + +#ifndef SQLITE_OMIT_WAL + /* + ** PRAGMA [schema.]wal_checkpoint = passive|full|restart|truncate + ** + ** Checkpoint the database. + */ + case PragTyp_WAL_CHECKPOINT: { + int iBt = (pId2->z?iDb:SQLITE_MAX_ATTACHED); + int eMode = SQLITE_CHECKPOINT_PASSIVE; + if( zRight ){ + if( sqlite3StrICmp(zRight, "full")==0 ){ + eMode = SQLITE_CHECKPOINT_FULL; + }else if( sqlite3StrICmp(zRight, "restart")==0 ){ + eMode = SQLITE_CHECKPOINT_RESTART; + }else if( sqlite3StrICmp(zRight, "truncate")==0 ){ + eMode = SQLITE_CHECKPOINT_TRUNCATE; + } + } + pParse->nMem = 3; + sqlite3VdbeAddOp3(v, OP_Checkpoint, iBt, eMode, 1); + sqlite3VdbeAddOp2(v, OP_ResultRow, 1, 3); + } + break; + + /* + ** PRAGMA wal_autocheckpoint + ** PRAGMA wal_autocheckpoint = N + ** + ** Configure a database connection to automatically checkpoint a database + ** after accumulating N frames in the log. Or query for the current value + ** of N. + */ + case PragTyp_WAL_AUTOCHECKPOINT: { + if( zRight ){ + sqlite3_wal_autocheckpoint(db, sqlite3Atoi(zRight)); + } + returnSingleInt(v, + db->xWalCallback==sqlite3WalDefaultHook ? + SQLITE_PTR_TO_INT(db->pWalArg) : 0); + } + break; +#endif + + /* + ** PRAGMA shrink_memory + ** + ** IMPLEMENTATION-OF: R-23445-46109 This pragma causes the database + ** connection on which it is invoked to free up as much memory as it + ** can, by calling sqlite3_db_release_memory(). + */ + case PragTyp_SHRINK_MEMORY: { + sqlite3_db_release_memory(db); + break; + } + + /* + ** PRAGMA optimize + ** PRAGMA optimize(MASK) + ** PRAGMA schema.optimize + ** PRAGMA schema.optimize(MASK) + ** + ** Attempt to optimize the database. All schemas are optimized in the first + ** two forms, and only the specified schema is optimized in the latter two. + ** + ** The details of optimizations performed by this pragma are expected + ** to change and improve over time. Applications should anticipate that + ** this pragma will perform new optimizations in future releases. + ** + ** The optional argument is a bitmask of optimizations to perform: + ** + ** 0x0001 Debugging mode. Do not actually perform any optimizations + ** but instead return one line of text for each optimization + ** that would have been done. Off by default. + ** + ** 0x0002 Run ANALYZE on tables that might benefit. On by default. + ** See below for additional information. + ** + ** 0x0004 (Not yet implemented) Record usage and performance + ** information from the current session in the + ** database file so that it will be available to "optimize" + ** pragmas run by future database connections. + ** + ** 0x0008 (Not yet implemented) Create indexes that might have + ** been helpful to recent queries + ** + ** The default MASK is and always shall be 0xfffe. 0xfffe means perform all + ** of the optimizations listed above except Debug Mode, including new + ** optimizations that have not yet been invented. If new optimizations are + ** ever added that should be off by default, those off-by-default + ** optimizations will have bitmasks of 0x10000 or larger. + ** + ** DETERMINATION OF WHEN TO RUN ANALYZE + ** + ** In the current implementation, a table is analyzed if only if all of + ** the following are true: + ** + ** (1) MASK bit 0x02 is set. + ** + ** (2) The query planner used sqlite_stat1-style statistics for one or + ** more indexes of the table at some point during the lifetime of + ** the current connection. + ** + ** (3) One or more indexes of the table are currently unanalyzed OR + ** the number of rows in the table has increased by 25 times or more + ** since the last time ANALYZE was run. + ** + ** The rules for when tables are analyzed are likely to change in + ** future releases. + */ + case PragTyp_OPTIMIZE: { + int iDbLast; /* Loop termination point for the schema loop */ + int iTabCur; /* Cursor for a table whose size needs checking */ + HashElem *k; /* Loop over tables of a schema */ + Schema *pSchema; /* The current schema */ + Table *pTab; /* A table in the schema */ + Index *pIdx; /* An index of the table */ + LogEst szThreshold; /* Size threshold above which reanalysis is needd */ + char *zSubSql; /* SQL statement for the OP_SqlExec opcode */ + u32 opMask; /* Mask of operations to perform */ + + if( zRight ){ + opMask = (u32)sqlite3Atoi(zRight); + if( (opMask & 0x02)==0 ) break; + }else{ + opMask = 0xfffe; + } + iTabCur = pParse->nTab++; + for(iDbLast = zDb?iDb:db->nDb-1; iDb<=iDbLast; iDb++){ + if( iDb==1 ) continue; + sqlite3CodeVerifySchema(pParse, iDb); + pSchema = db->aDb[iDb].pSchema; + for(k=sqliteHashFirst(&pSchema->tblHash); k; k=sqliteHashNext(k)){ + pTab = (Table*)sqliteHashData(k); + + /* If table pTab has not been used in a way that would benefit from + ** having analysis statistics during the current session, then skip it. + ** This also has the effect of skipping virtual tables and views */ + if( (pTab->tabFlags & TF_StatsUsed)==0 ) continue; + + /* Reanalyze if the table is 25 times larger than the last analysis */ + szThreshold = pTab->nRowLogEst + 46; assert( sqlite3LogEst(25)==46 ); + for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + if( !pIdx->hasStat1 ){ + szThreshold = 0; /* Always analyze if any index lacks statistics */ + break; + } + } + if( szThreshold ){ + sqlite3OpenTable(pParse, iTabCur, iDb, pTab, OP_OpenRead); + sqlite3VdbeAddOp3(v, OP_IfSmaller, iTabCur, + sqlite3VdbeCurrentAddr(v)+2+(opMask&1), szThreshold); + VdbeCoverage(v); + } + zSubSql = sqlite3MPrintf(db, "ANALYZE \"%w\".\"%w\"", + db->aDb[iDb].zDbSName, pTab->zName); + if( opMask & 0x01 ){ + int r1 = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp4(v, OP_String8, 0, r1, 0, zSubSql, P4_DYNAMIC); + sqlite3VdbeAddOp2(v, OP_ResultRow, r1, 1); + }else{ + sqlite3VdbeAddOp4(v, OP_SqlExec, 0, 0, 0, zSubSql, P4_DYNAMIC); + } + } + } + sqlite3VdbeAddOp0(v, OP_Expire); + break; + } + + /* + ** PRAGMA busy_timeout + ** PRAGMA busy_timeout = N + ** + ** Call sqlite3_busy_timeout(db, N). Return the current timeout value + ** if one is set. If no busy handler or a different busy handler is set + ** then 0 is returned. Setting the busy_timeout to 0 or negative + ** disables the timeout. + */ + /*case PragTyp_BUSY_TIMEOUT*/ default: { + assert( pPragma->ePragTyp==PragTyp_BUSY_TIMEOUT ); + if( zRight ){ + sqlite3_busy_timeout(db, sqlite3Atoi(zRight)); + } + returnSingleInt(v, db->busyTimeout); + break; + } + + /* + ** PRAGMA soft_heap_limit + ** PRAGMA soft_heap_limit = N + ** + ** IMPLEMENTATION-OF: R-26343-45930 This pragma invokes the + ** sqlite3_soft_heap_limit64() interface with the argument N, if N is + ** specified and is a non-negative integer. + ** IMPLEMENTATION-OF: R-64451-07163 The soft_heap_limit pragma always + ** returns the same integer that would be returned by the + ** sqlite3_soft_heap_limit64(-1) C-language function. + */ + case PragTyp_SOFT_HEAP_LIMIT: { + sqlite3_int64 N; + if( zRight && sqlite3DecOrHexToI64(zRight, &N)==SQLITE_OK ){ + sqlite3_soft_heap_limit64(N); + } + returnSingleInt(v, sqlite3_soft_heap_limit64(-1)); + break; + } + + /* + ** PRAGMA threads + ** PRAGMA threads = N + ** + ** Configure the maximum number of worker threads. Return the new + ** maximum, which might be less than requested. + */ + case PragTyp_THREADS: { + sqlite3_int64 N; + if( zRight + && sqlite3DecOrHexToI64(zRight, &N)==SQLITE_OK + && N>=0 + ){ + sqlite3_limit(db, SQLITE_LIMIT_WORKER_THREADS, (int)(N&0x7fffffff)); + } + returnSingleInt(v, sqlite3_limit(db, SQLITE_LIMIT_WORKER_THREADS, -1)); + break; + } + +#if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) + /* + ** Report the current state of file logs for all databases + */ + case PragTyp_LOCK_STATUS: { + static const char *const azLockName[] = { + "unlocked", "shared", "reserved", "pending", "exclusive" + }; + int i; + pParse->nMem = 2; + for(i=0; inDb; i++){ + Btree *pBt; + const char *zState = "unknown"; + int j; + if( db->aDb[i].zDbSName==0 ) continue; + pBt = db->aDb[i].pBt; + if( pBt==0 || sqlite3BtreePager(pBt)==0 ){ + zState = "closed"; + }else if( sqlite3_file_control(db, i ? db->aDb[i].zDbSName : 0, + SQLITE_FCNTL_LOCKSTATE, &j)==SQLITE_OK ){ + zState = azLockName[j]; + } + sqlite3VdbeMultiLoad(v, 1, "ss", db->aDb[i].zDbSName, zState); + } + break; + } +#endif + +#ifdef SQLITE_HAS_CODEC + /* Pragma iArg + ** ---------- ------ + ** key 0 + ** rekey 1 + ** hexkey 2 + ** hexrekey 3 + ** textkey 4 + ** textrekey 5 + */ + case PragTyp_KEY: { + if( zRight ){ + char zBuf[40]; + const char *zKey = zRight; + int n; + if( pPragma->iArg==2 || pPragma->iArg==3 ){ + u8 iByte; + int i; + for(i=0, iByte=0; iiArg<4 ? sqlite3Strlen30(zRight) : -1; + } + if( (pPragma->iArg & 1)==0 ){ + rc = sqlite3_key_v2(db, zDb, zKey, n); + }else{ + rc = sqlite3_rekey_v2(db, zDb, zKey, n); + } + if( rc==SQLITE_OK && n!=0 ){ + sqlite3VdbeSetNumCols(v, 1); + sqlite3VdbeSetColName(v, 0, COLNAME_NAME, "ok", SQLITE_STATIC); + returnSingleText(v, "ok"); + } + } + break; + } +#endif +#if defined(SQLITE_HAS_CODEC) || defined(SQLITE_ENABLE_CEROD) + case PragTyp_ACTIVATE_EXTENSIONS: if( zRight ){ +#ifdef SQLITE_HAS_CODEC + if( sqlite3StrNICmp(zRight, "see-", 4)==0 ){ + sqlite3_activate_see(&zRight[4]); + } +#endif +#ifdef SQLITE_ENABLE_CEROD + if( sqlite3StrNICmp(zRight, "cerod-", 6)==0 ){ + sqlite3_activate_cerod(&zRight[6]); + } +#endif + } + break; +#endif + + } /* End of the PRAGMA switch */ + + /* The following block is a no-op unless SQLITE_DEBUG is defined. Its only + ** purpose is to execute assert() statements to verify that if the + ** PragFlg_NoColumns1 flag is set and the caller specified an argument + ** to the PRAGMA, the implementation has not added any OP_ResultRow + ** instructions to the VM. */ + if( (pPragma->mPragFlg & PragFlg_NoColumns1) && zRight ){ + sqlite3VdbeVerifyNoResultRow(v); + } + +pragma_out: + sqlite3DbFree(db, zLeft); + sqlite3DbFree(db, zRight); +} +#ifndef SQLITE_OMIT_VIRTUALTABLE +/***************************************************************************** +** Implementation of an eponymous virtual table that runs a pragma. +** +*/ +typedef struct PragmaVtab PragmaVtab; +typedef struct PragmaVtabCursor PragmaVtabCursor; +struct PragmaVtab { + sqlite3_vtab base; /* Base class. Must be first */ + sqlite3 *db; /* The database connection to which it belongs */ + const PragmaName *pName; /* Name of the pragma */ + u8 nHidden; /* Number of hidden columns */ + u8 iHidden; /* Index of the first hidden column */ +}; +struct PragmaVtabCursor { + sqlite3_vtab_cursor base; /* Base class. Must be first */ + sqlite3_stmt *pPragma; /* The pragma statement to run */ + sqlite_int64 iRowid; /* Current rowid */ + char *azArg[2]; /* Value of the argument and schema */ +}; + +/* +** Pragma virtual table module xConnect method. +*/ +static int pragmaVtabConnect( + sqlite3 *db, + void *pAux, + int argc, const char *const*argv, + sqlite3_vtab **ppVtab, + char **pzErr +){ + const PragmaName *pPragma = (const PragmaName*)pAux; + PragmaVtab *pTab = 0; + int rc; + int i, j; + char cSep = '('; + StrAccum acc; + char zBuf[200]; + + UNUSED_PARAMETER(argc); + UNUSED_PARAMETER(argv); + sqlite3StrAccumInit(&acc, 0, zBuf, sizeof(zBuf), 0); + sqlite3_str_appendall(&acc, "CREATE TABLE x"); + for(i=0, j=pPragma->iPragCName; inPragCName; i++, j++){ + sqlite3_str_appendf(&acc, "%c\"%s\"", cSep, pragCName[j]); + cSep = ','; + } + if( i==0 ){ + sqlite3_str_appendf(&acc, "(\"%s\"", pPragma->zName); + i++; + } + j = 0; + if( pPragma->mPragFlg & PragFlg_Result1 ){ + sqlite3_str_appendall(&acc, ",arg HIDDEN"); + j++; + } + if( pPragma->mPragFlg & (PragFlg_SchemaOpt|PragFlg_SchemaReq) ){ + sqlite3_str_appendall(&acc, ",schema HIDDEN"); + j++; + } + sqlite3_str_append(&acc, ")", 1); + sqlite3StrAccumFinish(&acc); + assert( strlen(zBuf) < sizeof(zBuf)-1 ); + rc = sqlite3_declare_vtab(db, zBuf); + if( rc==SQLITE_OK ){ + pTab = (PragmaVtab*)sqlite3_malloc(sizeof(PragmaVtab)); + if( pTab==0 ){ + rc = SQLITE_NOMEM; + }else{ + memset(pTab, 0, sizeof(PragmaVtab)); + pTab->pName = pPragma; + pTab->db = db; + pTab->iHidden = i; + pTab->nHidden = j; + } + }else{ + *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db)); + } + + *ppVtab = (sqlite3_vtab*)pTab; + return rc; +} + +/* +** Pragma virtual table module xDisconnect method. +*/ +static int pragmaVtabDisconnect(sqlite3_vtab *pVtab){ + PragmaVtab *pTab = (PragmaVtab*)pVtab; + sqlite3_free(pTab); + return SQLITE_OK; +} + +/* Figure out the best index to use to search a pragma virtual table. +** +** There are not really any index choices. But we want to encourage the +** query planner to give == constraints on as many hidden parameters as +** possible, and especially on the first hidden parameter. So return a +** high cost if hidden parameters are unconstrained. +*/ +static int pragmaVtabBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ + PragmaVtab *pTab = (PragmaVtab*)tab; + const struct sqlite3_index_constraint *pConstraint; + int i, j; + int seen[2]; + + pIdxInfo->estimatedCost = (double)1; + if( pTab->nHidden==0 ){ return SQLITE_OK; } + pConstraint = pIdxInfo->aConstraint; + seen[0] = 0; + seen[1] = 0; + for(i=0; inConstraint; i++, pConstraint++){ + if( pConstraint->usable==0 ) continue; + if( pConstraint->op!=SQLITE_INDEX_CONSTRAINT_EQ ) continue; + if( pConstraint->iColumn < pTab->iHidden ) continue; + j = pConstraint->iColumn - pTab->iHidden; + assert( j < 2 ); + seen[j] = i+1; + } + if( seen[0]==0 ){ + pIdxInfo->estimatedCost = (double)2147483647; + pIdxInfo->estimatedRows = 2147483647; + return SQLITE_OK; + } + j = seen[0]-1; + pIdxInfo->aConstraintUsage[j].argvIndex = 1; + pIdxInfo->aConstraintUsage[j].omit = 1; + if( seen[1]==0 ) return SQLITE_OK; + pIdxInfo->estimatedCost = (double)20; + pIdxInfo->estimatedRows = 20; + j = seen[1]-1; + pIdxInfo->aConstraintUsage[j].argvIndex = 2; + pIdxInfo->aConstraintUsage[j].omit = 1; + return SQLITE_OK; +} + +/* Create a new cursor for the pragma virtual table */ +static int pragmaVtabOpen(sqlite3_vtab *pVtab, sqlite3_vtab_cursor **ppCursor){ + PragmaVtabCursor *pCsr; + pCsr = (PragmaVtabCursor*)sqlite3_malloc(sizeof(*pCsr)); + if( pCsr==0 ) return SQLITE_NOMEM; + memset(pCsr, 0, sizeof(PragmaVtabCursor)); + pCsr->base.pVtab = pVtab; + *ppCursor = &pCsr->base; + return SQLITE_OK; +} + +/* Clear all content from pragma virtual table cursor. */ +static void pragmaVtabCursorClear(PragmaVtabCursor *pCsr){ + int i; + sqlite3_finalize(pCsr->pPragma); + pCsr->pPragma = 0; + for(i=0; iazArg); i++){ + sqlite3_free(pCsr->azArg[i]); + pCsr->azArg[i] = 0; + } +} + +/* Close a pragma virtual table cursor */ +static int pragmaVtabClose(sqlite3_vtab_cursor *cur){ + PragmaVtabCursor *pCsr = (PragmaVtabCursor*)cur; + pragmaVtabCursorClear(pCsr); + sqlite3_free(pCsr); + return SQLITE_OK; +} + +/* Advance the pragma virtual table cursor to the next row */ +static int pragmaVtabNext(sqlite3_vtab_cursor *pVtabCursor){ + PragmaVtabCursor *pCsr = (PragmaVtabCursor*)pVtabCursor; + int rc = SQLITE_OK; + + /* Increment the xRowid value */ + pCsr->iRowid++; + assert( pCsr->pPragma ); + if( SQLITE_ROW!=sqlite3_step(pCsr->pPragma) ){ + rc = sqlite3_finalize(pCsr->pPragma); + pCsr->pPragma = 0; + pragmaVtabCursorClear(pCsr); + } + return rc; +} + +/* +** Pragma virtual table module xFilter method. +*/ +static int pragmaVtabFilter( + sqlite3_vtab_cursor *pVtabCursor, + int idxNum, const char *idxStr, + int argc, sqlite3_value **argv +){ + PragmaVtabCursor *pCsr = (PragmaVtabCursor*)pVtabCursor; + PragmaVtab *pTab = (PragmaVtab*)(pVtabCursor->pVtab); + int rc; + int i, j; + StrAccum acc; + char *zSql; + + UNUSED_PARAMETER(idxNum); + UNUSED_PARAMETER(idxStr); + pragmaVtabCursorClear(pCsr); + j = (pTab->pName->mPragFlg & PragFlg_Result1)!=0 ? 0 : 1; + for(i=0; iazArg) ); + assert( pCsr->azArg[j]==0 ); + if( zText ){ + pCsr->azArg[j] = sqlite3_mprintf("%s", zText); + if( pCsr->azArg[j]==0 ){ + return SQLITE_NOMEM; + } + } + } + sqlite3StrAccumInit(&acc, 0, 0, 0, pTab->db->aLimit[SQLITE_LIMIT_SQL_LENGTH]); + sqlite3_str_appendall(&acc, "PRAGMA "); + if( pCsr->azArg[1] ){ + sqlite3_str_appendf(&acc, "%Q.", pCsr->azArg[1]); + } + sqlite3_str_appendall(&acc, pTab->pName->zName); + if( pCsr->azArg[0] ){ + sqlite3_str_appendf(&acc, "=%Q", pCsr->azArg[0]); + } + zSql = sqlite3StrAccumFinish(&acc); + if( zSql==0 ) return SQLITE_NOMEM; + rc = sqlite3_prepare_v2(pTab->db, zSql, -1, &pCsr->pPragma, 0); + sqlite3_free(zSql); + if( rc!=SQLITE_OK ){ + pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db)); + return rc; + } + return pragmaVtabNext(pVtabCursor); +} + +/* +** Pragma virtual table module xEof method. +*/ +static int pragmaVtabEof(sqlite3_vtab_cursor *pVtabCursor){ + PragmaVtabCursor *pCsr = (PragmaVtabCursor*)pVtabCursor; + return (pCsr->pPragma==0); +} + +/* The xColumn method simply returns the corresponding column from +** the PRAGMA. +*/ +static int pragmaVtabColumn( + sqlite3_vtab_cursor *pVtabCursor, + sqlite3_context *ctx, + int i +){ + PragmaVtabCursor *pCsr = (PragmaVtabCursor*)pVtabCursor; + PragmaVtab *pTab = (PragmaVtab*)(pVtabCursor->pVtab); + if( iiHidden ){ + sqlite3_result_value(ctx, sqlite3_column_value(pCsr->pPragma, i)); + }else{ + sqlite3_result_text(ctx, pCsr->azArg[i-pTab->iHidden],-1,SQLITE_TRANSIENT); + } + return SQLITE_OK; +} + +/* +** Pragma virtual table module xRowid method. +*/ +static int pragmaVtabRowid(sqlite3_vtab_cursor *pVtabCursor, sqlite_int64 *p){ + PragmaVtabCursor *pCsr = (PragmaVtabCursor*)pVtabCursor; + *p = pCsr->iRowid; + return SQLITE_OK; +} + +/* The pragma virtual table object */ +static const sqlite3_module pragmaVtabModule = { + 0, /* iVersion */ + 0, /* xCreate - create a table */ + pragmaVtabConnect, /* xConnect - connect to an existing table */ + pragmaVtabBestIndex, /* xBestIndex - Determine search strategy */ + pragmaVtabDisconnect, /* xDisconnect - Disconnect from a table */ + 0, /* xDestroy - Drop a table */ + pragmaVtabOpen, /* xOpen - open a cursor */ + pragmaVtabClose, /* xClose - close a cursor */ + pragmaVtabFilter, /* xFilter - configure scan constraints */ + pragmaVtabNext, /* xNext - advance a cursor */ + pragmaVtabEof, /* xEof */ + pragmaVtabColumn, /* xColumn - read data */ + pragmaVtabRowid, /* xRowid - read data */ + 0, /* xUpdate - write data */ + 0, /* xBegin - begin transaction */ + 0, /* xSync - sync transaction */ + 0, /* xCommit - commit transaction */ + 0, /* xRollback - rollback transaction */ + 0, /* xFindFunction - function overloading */ + 0, /* xRename - rename the table */ + 0, /* xSavepoint */ + 0, /* xRelease */ + 0, /* xRollbackTo */ + 0 /* xShadowName */ +}; + +/* +** Check to see if zTabName is really the name of a pragma. If it is, +** then register an eponymous virtual table for that pragma and return +** a pointer to the Module object for the new virtual table. +*/ +SQLITE_PRIVATE Module *sqlite3PragmaVtabRegister(sqlite3 *db, const char *zName){ + const PragmaName *pName; + assert( sqlite3_strnicmp(zName, "pragma_", 7)==0 ); + pName = pragmaLocate(zName+7); + if( pName==0 ) return 0; + if( (pName->mPragFlg & (PragFlg_Result0|PragFlg_Result1))==0 ) return 0; + assert( sqlite3HashFind(&db->aModule, zName)==0 ); + return sqlite3VtabCreateModule(db, zName, &pragmaVtabModule, (void*)pName, 0); +} + +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +#endif /* SQLITE_OMIT_PRAGMA */ + +/************** End of pragma.c **********************************************/ +/************** Begin file prepare.c *****************************************/ +/* +** 2005 May 25 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains the implementation of the sqlite3_prepare() +** interface, and routines that contribute to loading the database schema +** from disk. +*/ +/* #include "sqliteInt.h" */ + +/* +** Fill the InitData structure with an error message that indicates +** that the database is corrupt. +*/ +static void corruptSchema( + InitData *pData, /* Initialization context */ + const char *zObj, /* Object being parsed at the point of error */ + const char *zExtra /* Error information */ +){ + sqlite3 *db = pData->db; + if( db->mallocFailed ){ + pData->rc = SQLITE_NOMEM_BKPT; + }else if( pData->pzErrMsg[0]!=0 ){ + /* A error message has already been generated. Do not overwrite it */ + }else if( pData->mInitFlags & INITFLAG_AlterTable ){ + *pData->pzErrMsg = sqlite3DbStrDup(db, zExtra); + pData->rc = SQLITE_ERROR; + }else if( db->flags & SQLITE_WriteSchema ){ + pData->rc = SQLITE_CORRUPT_BKPT; + }else{ + char *z; + if( zObj==0 ) zObj = "?"; + z = sqlite3MPrintf(db, "malformed database schema (%s)", zObj); + if( zExtra && zExtra[0] ) z = sqlite3MPrintf(db, "%z - %s", z, zExtra); + *pData->pzErrMsg = z; + pData->rc = SQLITE_CORRUPT_BKPT; + } +} + +/* +** Check to see if any sibling index (another index on the same table) +** of pIndex has the same root page number, and if it does, return true. +** This would indicate a corrupt schema. +*/ +SQLITE_PRIVATE int sqlite3IndexHasDuplicateRootPage(Index *pIndex){ + Index *p; + for(p=pIndex->pTable->pIndex; p; p=p->pNext){ + if( p->tnum==pIndex->tnum && p!=pIndex ) return 1; + } + return 0; +} + +/* +** This is the callback routine for the code that initializes the +** database. See sqlite3Init() below for additional information. +** This routine is also called from the OP_ParseSchema opcode of the VDBE. +** +** Each callback contains the following information: +** +** argv[0] = type of object: "table", "index", "trigger", or "view". +** argv[1] = name of thing being created +** argv[2] = associated table if an index or trigger +** argv[3] = root page number for table or index. 0 for trigger or view. +** argv[4] = SQL text for the CREATE statement. +** +*/ +SQLITE_PRIVATE int sqlite3InitCallback(void *pInit, int argc, char **argv, char **NotUsed){ + InitData *pData = (InitData*)pInit; + sqlite3 *db = pData->db; + int iDb = pData->iDb; + + assert( argc==5 ); + UNUSED_PARAMETER2(NotUsed, argc); + assert( sqlite3_mutex_held(db->mutex) ); + DbClearProperty(db, iDb, DB_Empty); + pData->nInitRow++; + if( db->mallocFailed ){ + corruptSchema(pData, argv[1], 0); + return 1; + } + + assert( iDb>=0 && iDbnDb ); + if( argv==0 ) return 0; /* Might happen if EMPTY_RESULT_CALLBACKS are on */ + if( argv[3]==0 ){ + corruptSchema(pData, argv[1], 0); + }else if( sqlite3_strnicmp(argv[4],"create ",7)==0 ){ + /* Call the parser to process a CREATE TABLE, INDEX or VIEW. + ** But because db->init.busy is set to 1, no VDBE code is generated + ** or executed. All the parser does is build the internal data + ** structures that describe the table, index, or view. + */ + int rc; + u8 saved_iDb = db->init.iDb; + sqlite3_stmt *pStmt; + TESTONLY(int rcp); /* Return code from sqlite3_prepare() */ + + assert( db->init.busy ); + db->init.iDb = iDb; + db->init.newTnum = sqlite3Atoi(argv[3]); + db->init.orphanTrigger = 0; + db->init.azInit = argv; + TESTONLY(rcp = ) sqlite3_prepare(db, argv[4], -1, &pStmt, 0); + rc = db->errCode; + assert( (rc&0xFF)==(rcp&0xFF) ); + db->init.iDb = saved_iDb; + /* assert( saved_iDb==0 || (db->mDbFlags & DBFLAG_Vacuum)!=0 ); */ + if( SQLITE_OK!=rc ){ + if( db->init.orphanTrigger ){ + assert( iDb==1 ); + }else{ + if( rc > pData->rc ) pData->rc = rc; + if( rc==SQLITE_NOMEM ){ + sqlite3OomFault(db); + }else if( rc!=SQLITE_INTERRUPT && (rc&0xFF)!=SQLITE_LOCKED ){ + corruptSchema(pData, argv[1], sqlite3_errmsg(db)); + } + } + } + sqlite3_finalize(pStmt); + }else if( argv[1]==0 || (argv[4]!=0 && argv[4][0]!=0) ){ + corruptSchema(pData, argv[1], 0); + }else{ + /* If the SQL column is blank it means this is an index that + ** was created to be the PRIMARY KEY or to fulfill a UNIQUE + ** constraint for a CREATE TABLE. The index should have already + ** been created when we processed the CREATE TABLE. All we have + ** to do here is record the root page number for that index. + */ + Index *pIndex; + pIndex = sqlite3FindIndex(db, argv[1], db->aDb[iDb].zDbSName); + if( pIndex==0 + || sqlite3GetInt32(argv[3],&pIndex->tnum)==0 + || pIndex->tnum<2 + || sqlite3IndexHasDuplicateRootPage(pIndex) + ){ + corruptSchema(pData, argv[1], pIndex?"invalid rootpage":"orphan index"); + } + } + return 0; +} + +/* +** Attempt to read the database schema and initialize internal +** data structures for a single database file. The index of the +** database file is given by iDb. iDb==0 is used for the main +** database. iDb==1 should never be used. iDb>=2 is used for +** auxiliary databases. Return one of the SQLITE_ error codes to +** indicate success or failure. +*/ +SQLITE_PRIVATE int sqlite3InitOne(sqlite3 *db, int iDb, char **pzErrMsg, u32 mFlags){ + int rc; + int i; +#ifndef SQLITE_OMIT_DEPRECATED + int size; +#endif + Db *pDb; + char const *azArg[6]; + int meta[5]; + InitData initData; + const char *zMasterName; + int openedTransaction = 0; + + assert( (db->mDbFlags & DBFLAG_SchemaKnownOk)==0 ); + assert( iDb>=0 && iDbnDb ); + assert( db->aDb[iDb].pSchema ); + assert( sqlite3_mutex_held(db->mutex) ); + assert( iDb==1 || sqlite3BtreeHoldsMutex(db->aDb[iDb].pBt) ); + + db->init.busy = 1; + + /* Construct the in-memory representation schema tables (sqlite_master or + ** sqlite_temp_master) by invoking the parser directly. The appropriate + ** table name will be inserted automatically by the parser so we can just + ** use the abbreviation "x" here. The parser will also automatically tag + ** the schema table as read-only. */ + azArg[0] = "table"; + azArg[1] = zMasterName = SCHEMA_TABLE(iDb); + azArg[2] = azArg[1]; + azArg[3] = "1"; + azArg[4] = "CREATE TABLE x(type text,name text,tbl_name text," + "rootpage int,sql text)"; + azArg[5] = 0; + initData.db = db; + initData.iDb = iDb; + initData.rc = SQLITE_OK; + initData.pzErrMsg = pzErrMsg; + initData.mInitFlags = mFlags; + initData.nInitRow = 0; + sqlite3InitCallback(&initData, 5, (char **)azArg, 0); + if( initData.rc ){ + rc = initData.rc; + goto error_out; + } + + /* Create a cursor to hold the database open + */ + pDb = &db->aDb[iDb]; + if( pDb->pBt==0 ){ + assert( iDb==1 ); + DbSetProperty(db, 1, DB_SchemaLoaded); + rc = SQLITE_OK; + goto error_out; + } + + /* If there is not already a read-only (or read-write) transaction opened + ** on the b-tree database, open one now. If a transaction is opened, it + ** will be closed before this function returns. */ + sqlite3BtreeEnter(pDb->pBt); + if( !sqlite3BtreeIsInReadTrans(pDb->pBt) ){ + rc = sqlite3BtreeBeginTrans(pDb->pBt, 0, 0); + if( rc!=SQLITE_OK ){ + sqlite3SetString(pzErrMsg, db, sqlite3ErrStr(rc)); + goto initone_error_out; + } + openedTransaction = 1; + } + + /* Get the database meta information. + ** + ** Meta values are as follows: + ** meta[0] Schema cookie. Changes with each schema change. + ** meta[1] File format of schema layer. + ** meta[2] Size of the page cache. + ** meta[3] Largest rootpage (auto/incr_vacuum mode) + ** meta[4] Db text encoding. 1:UTF-8 2:UTF-16LE 3:UTF-16BE + ** meta[5] User version + ** meta[6] Incremental vacuum mode + ** meta[7] unused + ** meta[8] unused + ** meta[9] unused + ** + ** Note: The #defined SQLITE_UTF* symbols in sqliteInt.h correspond to + ** the possible values of meta[4]. + */ + for(i=0; ipBt, i+1, (u32 *)&meta[i]); + } + if( (db->flags & SQLITE_ResetDatabase)!=0 ){ + memset(meta, 0, sizeof(meta)); + } + pDb->pSchema->schema_cookie = meta[BTREE_SCHEMA_VERSION-1]; + + /* If opening a non-empty database, check the text encoding. For the + ** main database, set sqlite3.enc to the encoding of the main database. + ** For an attached db, it is an error if the encoding is not the same + ** as sqlite3.enc. + */ + if( meta[BTREE_TEXT_ENCODING-1] ){ /* text encoding */ + if( iDb==0 ){ +#ifndef SQLITE_OMIT_UTF16 + u8 encoding; + /* If opening the main database, set ENC(db). */ + encoding = (u8)meta[BTREE_TEXT_ENCODING-1] & 3; + if( encoding==0 ) encoding = SQLITE_UTF8; + ENC(db) = encoding; +#else + ENC(db) = SQLITE_UTF8; +#endif + }else{ + /* If opening an attached database, the encoding much match ENC(db) */ + if( meta[BTREE_TEXT_ENCODING-1]!=ENC(db) ){ + sqlite3SetString(pzErrMsg, db, "attached databases must use the same" + " text encoding as main database"); + rc = SQLITE_ERROR; + goto initone_error_out; + } + } + }else{ + DbSetProperty(db, iDb, DB_Empty); + } + pDb->pSchema->enc = ENC(db); + + if( pDb->pSchema->cache_size==0 ){ +#ifndef SQLITE_OMIT_DEPRECATED + size = sqlite3AbsInt32(meta[BTREE_DEFAULT_CACHE_SIZE-1]); + if( size==0 ){ size = SQLITE_DEFAULT_CACHE_SIZE; } + pDb->pSchema->cache_size = size; +#else + pDb->pSchema->cache_size = SQLITE_DEFAULT_CACHE_SIZE; +#endif + sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); + } + + /* + ** file_format==1 Version 3.0.0. + ** file_format==2 Version 3.1.3. // ALTER TABLE ADD COLUMN + ** file_format==3 Version 3.1.4. // ditto but with non-NULL defaults + ** file_format==4 Version 3.3.0. // DESC indices. Boolean constants + */ + pDb->pSchema->file_format = (u8)meta[BTREE_FILE_FORMAT-1]; + if( pDb->pSchema->file_format==0 ){ + pDb->pSchema->file_format = 1; + } + if( pDb->pSchema->file_format>SQLITE_MAX_FILE_FORMAT ){ + sqlite3SetString(pzErrMsg, db, "unsupported file format"); + rc = SQLITE_ERROR; + goto initone_error_out; + } + + /* Ticket #2804: When we open a database in the newer file format, + ** clear the legacy_file_format pragma flag so that a VACUUM will + ** not downgrade the database and thus invalidate any descending + ** indices that the user might have created. + */ + if( iDb==0 && meta[BTREE_FILE_FORMAT-1]>=4 ){ + db->flags &= ~(u64)SQLITE_LegacyFileFmt; + } + + /* Read the schema information out of the schema tables + */ + assert( db->init.busy ); + { + char *zSql; + zSql = sqlite3MPrintf(db, + "SELECT*FROM\"%w\".%s ORDER BY rowid", + db->aDb[iDb].zDbSName, zMasterName); +#ifndef SQLITE_OMIT_AUTHORIZATION + { + sqlite3_xauth xAuth; + xAuth = db->xAuth; + db->xAuth = 0; +#endif + rc = sqlite3_exec(db, zSql, sqlite3InitCallback, &initData, 0); +#ifndef SQLITE_OMIT_AUTHORIZATION + db->xAuth = xAuth; + } +#endif + if( rc==SQLITE_OK ) rc = initData.rc; + sqlite3DbFree(db, zSql); +#ifndef SQLITE_OMIT_ANALYZE + if( rc==SQLITE_OK ){ + sqlite3AnalysisLoad(db, iDb); + } +#endif + } + if( db->mallocFailed ){ + rc = SQLITE_NOMEM_BKPT; + sqlite3ResetAllSchemasOfConnection(db); + } + if( rc==SQLITE_OK || (db->flags&SQLITE_NoSchemaError)){ + /* Black magic: If the SQLITE_NoSchemaError flag is set, then consider + ** the schema loaded, even if errors occurred. In this situation the + ** current sqlite3_prepare() operation will fail, but the following one + ** will attempt to compile the supplied statement against whatever subset + ** of the schema was loaded before the error occurred. The primary + ** purpose of this is to allow access to the sqlite_master table + ** even when its contents have been corrupted. + */ + DbSetProperty(db, iDb, DB_SchemaLoaded); + rc = SQLITE_OK; + } + + /* Jump here for an error that occurs after successfully allocating + ** curMain and calling sqlite3BtreeEnter(). For an error that occurs + ** before that point, jump to error_out. + */ +initone_error_out: + if( openedTransaction ){ + sqlite3BtreeCommit(pDb->pBt); + } + sqlite3BtreeLeave(pDb->pBt); + +error_out: + if( rc ){ + if( rc==SQLITE_NOMEM || rc==SQLITE_IOERR_NOMEM ){ + sqlite3OomFault(db); + } + sqlite3ResetOneSchema(db, iDb); + } + db->init.busy = 0; + return rc; +} + +/* +** Initialize all database files - the main database file, the file +** used to store temporary tables, and any additional database files +** created using ATTACH statements. Return a success code. If an +** error occurs, write an error message into *pzErrMsg. +** +** After a database is initialized, the DB_SchemaLoaded bit is set +** bit is set in the flags field of the Db structure. If the database +** file was of zero-length, then the DB_Empty flag is also set. +*/ +SQLITE_PRIVATE int sqlite3Init(sqlite3 *db, char **pzErrMsg){ + int i, rc; + int commit_internal = !(db->mDbFlags&DBFLAG_SchemaChange); + + assert( sqlite3_mutex_held(db->mutex) ); + assert( sqlite3BtreeHoldsMutex(db->aDb[0].pBt) ); + assert( db->init.busy==0 ); + ENC(db) = SCHEMA_ENC(db); + assert( db->nDb>0 ); + /* Do the main schema first */ + if( !DbHasProperty(db, 0, DB_SchemaLoaded) ){ + rc = sqlite3InitOne(db, 0, pzErrMsg, 0); + if( rc ) return rc; + } + /* All other schemas after the main schema. The "temp" schema must be last */ + for(i=db->nDb-1; i>0; i--){ + assert( i==1 || sqlite3BtreeHoldsMutex(db->aDb[i].pBt) ); + if( !DbHasProperty(db, i, DB_SchemaLoaded) ){ + rc = sqlite3InitOne(db, i, pzErrMsg, 0); + if( rc ) return rc; + } + } + if( commit_internal ){ + sqlite3CommitInternalChanges(db); + } + return SQLITE_OK; +} + +/* +** This routine is a no-op if the database schema is already initialized. +** Otherwise, the schema is loaded. An error code is returned. +*/ +SQLITE_PRIVATE int sqlite3ReadSchema(Parse *pParse){ + int rc = SQLITE_OK; + sqlite3 *db = pParse->db; + assert( sqlite3_mutex_held(db->mutex) ); + if( !db->init.busy ){ + rc = sqlite3Init(db, &pParse->zErrMsg); + if( rc!=SQLITE_OK ){ + pParse->rc = rc; + pParse->nErr++; + }else if( db->noSharedCache ){ + db->mDbFlags |= DBFLAG_SchemaKnownOk; + } + } + return rc; +} + + +/* +** Check schema cookies in all databases. If any cookie is out +** of date set pParse->rc to SQLITE_SCHEMA. If all schema cookies +** make no changes to pParse->rc. +*/ +static void schemaIsValid(Parse *pParse){ + sqlite3 *db = pParse->db; + int iDb; + int rc; + int cookie; + + assert( pParse->checkSchema ); + assert( sqlite3_mutex_held(db->mutex) ); + for(iDb=0; iDbnDb; iDb++){ + int openedTransaction = 0; /* True if a transaction is opened */ + Btree *pBt = db->aDb[iDb].pBt; /* Btree database to read cookie from */ + if( pBt==0 ) continue; + + /* If there is not already a read-only (or read-write) transaction opened + ** on the b-tree database, open one now. If a transaction is opened, it + ** will be closed immediately after reading the meta-value. */ + if( !sqlite3BtreeIsInReadTrans(pBt) ){ + rc = sqlite3BtreeBeginTrans(pBt, 0, 0); + if( rc==SQLITE_NOMEM || rc==SQLITE_IOERR_NOMEM ){ + sqlite3OomFault(db); + } + if( rc!=SQLITE_OK ) return; + openedTransaction = 1; + } + + /* Read the schema cookie from the database. If it does not match the + ** value stored as part of the in-memory schema representation, + ** set Parse.rc to SQLITE_SCHEMA. */ + sqlite3BtreeGetMeta(pBt, BTREE_SCHEMA_VERSION, (u32 *)&cookie); + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + if( cookie!=db->aDb[iDb].pSchema->schema_cookie ){ + sqlite3ResetOneSchema(db, iDb); + pParse->rc = SQLITE_SCHEMA; + } + + /* Close the transaction, if one was opened. */ + if( openedTransaction ){ + sqlite3BtreeCommit(pBt); + } + } +} + +/* +** Convert a schema pointer into the iDb index that indicates +** which database file in db->aDb[] the schema refers to. +** +** If the same database is attached more than once, the first +** attached database is returned. +*/ +SQLITE_PRIVATE int sqlite3SchemaToIndex(sqlite3 *db, Schema *pSchema){ + int i = -1000000; + + /* If pSchema is NULL, then return -1000000. This happens when code in + ** expr.c is trying to resolve a reference to a transient table (i.e. one + ** created by a sub-select). In this case the return value of this + ** function should never be used. + ** + ** We return -1000000 instead of the more usual -1 simply because using + ** -1000000 as the incorrect index into db->aDb[] is much + ** more likely to cause a segfault than -1 (of course there are assert() + ** statements too, but it never hurts to play the odds). + */ + assert( sqlite3_mutex_held(db->mutex) ); + if( pSchema ){ + for(i=0; 1; i++){ + assert( inDb ); + if( db->aDb[i].pSchema==pSchema ){ + break; + } + } + assert( i>=0 && inDb ); + } + return i; +} + +/* +** Free all memory allocations in the pParse object +*/ +SQLITE_PRIVATE void sqlite3ParserReset(Parse *pParse){ + sqlite3 *db = pParse->db; + sqlite3DbFree(db, pParse->aLabel); + sqlite3ExprListDelete(db, pParse->pConstExpr); + if( db ){ + assert( db->lookaside.bDisable >= pParse->disableLookaside ); + db->lookaside.bDisable -= pParse->disableLookaside; + } + pParse->disableLookaside = 0; +} + +/* +** Compile the UTF-8 encoded SQL statement zSql into a statement handle. +*/ +static int sqlite3Prepare( + sqlite3 *db, /* Database handle. */ + const char *zSql, /* UTF-8 encoded SQL statement. */ + int nBytes, /* Length of zSql in bytes. */ + u32 prepFlags, /* Zero or more SQLITE_PREPARE_* flags */ + Vdbe *pReprepare, /* VM being reprepared */ + sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */ + const char **pzTail /* OUT: End of parsed string */ +){ + char *zErrMsg = 0; /* Error message */ + int rc = SQLITE_OK; /* Result code */ + int i; /* Loop counter */ + Parse sParse; /* Parsing context */ + + memset(&sParse, 0, PARSE_HDR_SZ); + memset(PARSE_TAIL(&sParse), 0, PARSE_TAIL_SZ); + sParse.pReprepare = pReprepare; + assert( ppStmt && *ppStmt==0 ); + /* assert( !db->mallocFailed ); // not true with SQLITE_USE_ALLOCA */ + assert( sqlite3_mutex_held(db->mutex) ); + + /* For a long-term use prepared statement avoid the use of + ** lookaside memory. + */ + if( prepFlags & SQLITE_PREPARE_PERSISTENT ){ + sParse.disableLookaside++; + db->lookaside.bDisable++; + } + sParse.disableVtab = (prepFlags & SQLITE_PREPARE_NO_VTAB)!=0; + + /* Check to verify that it is possible to get a read lock on all + ** database schemas. The inability to get a read lock indicates that + ** some other database connection is holding a write-lock, which in + ** turn means that the other connection has made uncommitted changes + ** to the schema. + ** + ** Were we to proceed and prepare the statement against the uncommitted + ** schema changes and if those schema changes are subsequently rolled + ** back and different changes are made in their place, then when this + ** prepared statement goes to run the schema cookie would fail to detect + ** the schema change. Disaster would follow. + ** + ** This thread is currently holding mutexes on all Btrees (because + ** of the sqlite3BtreeEnterAll() in sqlite3LockAndPrepare()) so it + ** is not possible for another thread to start a new schema change + ** while this routine is running. Hence, we do not need to hold + ** locks on the schema, we just need to make sure nobody else is + ** holding them. + ** + ** Note that setting READ_UNCOMMITTED overrides most lock detection, + ** but it does *not* override schema lock detection, so this all still + ** works even if READ_UNCOMMITTED is set. + */ + for(i=0; inDb; i++) { + Btree *pBt = db->aDb[i].pBt; + if( pBt ){ + assert( sqlite3BtreeHoldsMutex(pBt) ); + rc = sqlite3BtreeSchemaLocked(pBt); + if( rc ){ + const char *zDb = db->aDb[i].zDbSName; + sqlite3ErrorWithMsg(db, rc, "database schema is locked: %s", zDb); + testcase( db->flags & SQLITE_ReadUncommit ); + goto end_prepare; + } + } + } + + sqlite3VtabUnlockList(db); + + sParse.db = db; + if( nBytes>=0 && (nBytes==0 || zSql[nBytes-1]!=0) ){ + char *zSqlCopy; + int mxLen = db->aLimit[SQLITE_LIMIT_SQL_LENGTH]; + testcase( nBytes==mxLen ); + testcase( nBytes==mxLen+1 ); + if( nBytes>mxLen ){ + sqlite3ErrorWithMsg(db, SQLITE_TOOBIG, "statement too long"); + rc = sqlite3ApiExit(db, SQLITE_TOOBIG); + goto end_prepare; + } + zSqlCopy = sqlite3DbStrNDup(db, zSql, nBytes); + if( zSqlCopy ){ + sqlite3RunParser(&sParse, zSqlCopy, &zErrMsg); + sParse.zTail = &zSql[sParse.zTail-zSqlCopy]; + sqlite3DbFree(db, zSqlCopy); + }else{ + sParse.zTail = &zSql[nBytes]; + } + }else{ + sqlite3RunParser(&sParse, zSql, &zErrMsg); + } + assert( 0==sParse.nQueryLoop ); + + if( sParse.rc==SQLITE_DONE ) sParse.rc = SQLITE_OK; + if( sParse.checkSchema ){ + schemaIsValid(&sParse); + } + if( db->mallocFailed ){ + sParse.rc = SQLITE_NOMEM_BKPT; + } + if( pzTail ){ + *pzTail = sParse.zTail; + } + rc = sParse.rc; + +#ifndef SQLITE_OMIT_EXPLAIN + /* Justification for the ALWAYS(): The only way for rc to be SQLITE_OK and + ** sParse.pVdbe to be NULL is if the input SQL is an empty string, but in + ** that case, sParse.explain will be false. */ + if( sParse.explain && rc==SQLITE_OK && ALWAYS(sParse.pVdbe) ){ + static const char * const azColName[] = { + "addr", "opcode", "p1", "p2", "p3", "p4", "p5", "comment", + "id", "parent", "notused", "detail" + }; + int iFirst, mx; + if( sParse.explain==2 ){ + sqlite3VdbeSetNumCols(sParse.pVdbe, 4); + iFirst = 8; + mx = 12; + }else{ + sqlite3VdbeSetNumCols(sParse.pVdbe, 8); + iFirst = 0; + mx = 8; + } + for(i=iFirst; iinit.busy==0 ){ + sqlite3VdbeSetSql(sParse.pVdbe, zSql, (int)(sParse.zTail-zSql), prepFlags); + } + if( rc!=SQLITE_OK || db->mallocFailed ){ + if( sParse.pVdbe ) sqlite3VdbeFinalize(sParse.pVdbe); + assert(!(*ppStmt)); + }else{ + *ppStmt = (sqlite3_stmt*)sParse.pVdbe; + } + + if( zErrMsg ){ + sqlite3ErrorWithMsg(db, rc, "%s", zErrMsg); + sqlite3DbFree(db, zErrMsg); + }else{ + sqlite3Error(db, rc); + } + + /* Delete any TriggerPrg structures allocated while parsing this statement. */ + while( sParse.pTriggerPrg ){ + TriggerPrg *pT = sParse.pTriggerPrg; + sParse.pTriggerPrg = pT->pNext; + sqlite3DbFree(db, pT); + } + +end_prepare: + + sqlite3ParserReset(&sParse); + return rc; +} +static int sqlite3LockAndPrepare( + sqlite3 *db, /* Database handle. */ + const char *zSql, /* UTF-8 encoded SQL statement. */ + int nBytes, /* Length of zSql in bytes. */ + u32 prepFlags, /* Zero or more SQLITE_PREPARE_* flags */ + Vdbe *pOld, /* VM being reprepared */ + sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */ + const char **pzTail /* OUT: End of parsed string */ +){ + int rc; + int cnt = 0; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( ppStmt==0 ) return SQLITE_MISUSE_BKPT; +#endif + *ppStmt = 0; + if( !sqlite3SafetyCheckOk(db)||zSql==0 ){ + return SQLITE_MISUSE_BKPT; + } + sqlite3_mutex_enter(db->mutex); + sqlite3BtreeEnterAll(db); + do{ + /* Make multiple attempts to compile the SQL, until it either succeeds + ** or encounters a permanent error. A schema problem after one schema + ** reset is considered a permanent error. */ + rc = sqlite3Prepare(db, zSql, nBytes, prepFlags, pOld, ppStmt, pzTail); + assert( rc==SQLITE_OK || *ppStmt==0 ); + }while( rc==SQLITE_ERROR_RETRY + || (rc==SQLITE_SCHEMA && (sqlite3ResetOneSchema(db,-1), cnt++)==0) ); + sqlite3BtreeLeaveAll(db); + rc = sqlite3ApiExit(db, rc); + assert( (rc&db->errMask)==rc ); + sqlite3_mutex_leave(db->mutex); + return rc; +} + + +/* +** Rerun the compilation of a statement after a schema change. +** +** If the statement is successfully recompiled, return SQLITE_OK. Otherwise, +** if the statement cannot be recompiled because another connection has +** locked the sqlite3_master table, return SQLITE_LOCKED. If any other error +** occurs, return SQLITE_SCHEMA. +*/ +SQLITE_PRIVATE int sqlite3Reprepare(Vdbe *p){ + int rc; + sqlite3_stmt *pNew; + const char *zSql; + sqlite3 *db; + u8 prepFlags; + + assert( sqlite3_mutex_held(sqlite3VdbeDb(p)->mutex) ); + zSql = sqlite3_sql((sqlite3_stmt *)p); + assert( zSql!=0 ); /* Reprepare only called for prepare_v2() statements */ + db = sqlite3VdbeDb(p); + assert( sqlite3_mutex_held(db->mutex) ); + prepFlags = sqlite3VdbePrepareFlags(p); + rc = sqlite3LockAndPrepare(db, zSql, -1, prepFlags, p, &pNew, 0); + if( rc ){ + if( rc==SQLITE_NOMEM ){ + sqlite3OomFault(db); + } + assert( pNew==0 ); + return rc; + }else{ + assert( pNew!=0 ); + } + sqlite3VdbeSwap((Vdbe*)pNew, p); + sqlite3TransferBindings(pNew, (sqlite3_stmt*)p); + sqlite3VdbeResetStepResult((Vdbe*)pNew); + sqlite3VdbeFinalize((Vdbe*)pNew); + return SQLITE_OK; +} + + +/* +** Two versions of the official API. Legacy and new use. In the legacy +** version, the original SQL text is not saved in the prepared statement +** and so if a schema change occurs, SQLITE_SCHEMA is returned by +** sqlite3_step(). In the new version, the original SQL text is retained +** and the statement is automatically recompiled if an schema change +** occurs. +*/ +SQLITE_API int sqlite3_prepare( + sqlite3 *db, /* Database handle. */ + const char *zSql, /* UTF-8 encoded SQL statement. */ + int nBytes, /* Length of zSql in bytes. */ + sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */ + const char **pzTail /* OUT: End of parsed string */ +){ + int rc; + rc = sqlite3LockAndPrepare(db,zSql,nBytes,0,0,ppStmt,pzTail); + assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */ + return rc; +} +SQLITE_API int sqlite3_prepare_v2( + sqlite3 *db, /* Database handle. */ + const char *zSql, /* UTF-8 encoded SQL statement. */ + int nBytes, /* Length of zSql in bytes. */ + sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */ + const char **pzTail /* OUT: End of parsed string */ +){ + int rc; + /* EVIDENCE-OF: R-37923-12173 The sqlite3_prepare_v2() interface works + ** exactly the same as sqlite3_prepare_v3() with a zero prepFlags + ** parameter. + ** + ** Proof in that the 5th parameter to sqlite3LockAndPrepare is 0 */ + rc = sqlite3LockAndPrepare(db,zSql,nBytes,SQLITE_PREPARE_SAVESQL,0, + ppStmt,pzTail); + assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); + return rc; +} +SQLITE_API int sqlite3_prepare_v3( + sqlite3 *db, /* Database handle. */ + const char *zSql, /* UTF-8 encoded SQL statement. */ + int nBytes, /* Length of zSql in bytes. */ + unsigned int prepFlags, /* Zero or more SQLITE_PREPARE_* flags */ + sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */ + const char **pzTail /* OUT: End of parsed string */ +){ + int rc; + /* EVIDENCE-OF: R-56861-42673 sqlite3_prepare_v3() differs from + ** sqlite3_prepare_v2() only in having the extra prepFlags parameter, + ** which is a bit array consisting of zero or more of the + ** SQLITE_PREPARE_* flags. + ** + ** Proof by comparison to the implementation of sqlite3_prepare_v2() + ** directly above. */ + rc = sqlite3LockAndPrepare(db,zSql,nBytes, + SQLITE_PREPARE_SAVESQL|(prepFlags&SQLITE_PREPARE_MASK), + 0,ppStmt,pzTail); + assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); + return rc; +} + + +#ifndef SQLITE_OMIT_UTF16 +/* +** Compile the UTF-16 encoded SQL statement zSql into a statement handle. +*/ +static int sqlite3Prepare16( + sqlite3 *db, /* Database handle. */ + const void *zSql, /* UTF-16 encoded SQL statement. */ + int nBytes, /* Length of zSql in bytes. */ + u32 prepFlags, /* Zero or more SQLITE_PREPARE_* flags */ + sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */ + const void **pzTail /* OUT: End of parsed string */ +){ + /* This function currently works by first transforming the UTF-16 + ** encoded string to UTF-8, then invoking sqlite3_prepare(). The + ** tricky bit is figuring out the pointer to return in *pzTail. + */ + char *zSql8; + const char *zTail8 = 0; + int rc = SQLITE_OK; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( ppStmt==0 ) return SQLITE_MISUSE_BKPT; +#endif + *ppStmt = 0; + if( !sqlite3SafetyCheckOk(db)||zSql==0 ){ + return SQLITE_MISUSE_BKPT; + } + if( nBytes>=0 ){ + int sz; + const char *z = (const char*)zSql; + for(sz=0; szmutex); + zSql8 = sqlite3Utf16to8(db, zSql, nBytes, SQLITE_UTF16NATIVE); + if( zSql8 ){ + rc = sqlite3LockAndPrepare(db, zSql8, -1, prepFlags, 0, ppStmt, &zTail8); + } + + if( zTail8 && pzTail ){ + /* If sqlite3_prepare returns a tail pointer, we calculate the + ** equivalent pointer into the UTF-16 string by counting the unicode + ** characters between zSql8 and zTail8, and then returning a pointer + ** the same number of characters into the UTF-16 string. + */ + int chars_parsed = sqlite3Utf8CharLen(zSql8, (int)(zTail8-zSql8)); + *pzTail = (u8 *)zSql + sqlite3Utf16ByteLen(zSql, chars_parsed); + } + sqlite3DbFree(db, zSql8); + rc = sqlite3ApiExit(db, rc); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +/* +** Two versions of the official API. Legacy and new use. In the legacy +** version, the original SQL text is not saved in the prepared statement +** and so if a schema change occurs, SQLITE_SCHEMA is returned by +** sqlite3_step(). In the new version, the original SQL text is retained +** and the statement is automatically recompiled if an schema change +** occurs. +*/ +SQLITE_API int sqlite3_prepare16( + sqlite3 *db, /* Database handle. */ + const void *zSql, /* UTF-16 encoded SQL statement. */ + int nBytes, /* Length of zSql in bytes. */ + sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */ + const void **pzTail /* OUT: End of parsed string */ +){ + int rc; + rc = sqlite3Prepare16(db,zSql,nBytes,0,ppStmt,pzTail); + assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */ + return rc; +} +SQLITE_API int sqlite3_prepare16_v2( + sqlite3 *db, /* Database handle. */ + const void *zSql, /* UTF-16 encoded SQL statement. */ + int nBytes, /* Length of zSql in bytes. */ + sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */ + const void **pzTail /* OUT: End of parsed string */ +){ + int rc; + rc = sqlite3Prepare16(db,zSql,nBytes,SQLITE_PREPARE_SAVESQL,ppStmt,pzTail); + assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */ + return rc; +} +SQLITE_API int sqlite3_prepare16_v3( + sqlite3 *db, /* Database handle. */ + const void *zSql, /* UTF-16 encoded SQL statement. */ + int nBytes, /* Length of zSql in bytes. */ + unsigned int prepFlags, /* Zero or more SQLITE_PREPARE_* flags */ + sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */ + const void **pzTail /* OUT: End of parsed string */ +){ + int rc; + rc = sqlite3Prepare16(db,zSql,nBytes, + SQLITE_PREPARE_SAVESQL|(prepFlags&SQLITE_PREPARE_MASK), + ppStmt,pzTail); + assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */ + return rc; +} + +#endif /* SQLITE_OMIT_UTF16 */ + +/************** End of prepare.c *********************************************/ +/************** Begin file select.c ******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains C code routines that are called by the parser +** to handle SELECT statements in SQLite. +*/ +/* #include "sqliteInt.h" */ + +/* +** Trace output macros +*/ +#if SELECTTRACE_ENABLED +/***/ int sqlite3SelectTrace = 0; +# define SELECTTRACE(K,P,S,X) \ + if(sqlite3SelectTrace&(K)) \ + sqlite3DebugPrintf("%u/%d/%p: ",(S)->selId,(P)->addrExplain,(S)),\ + sqlite3DebugPrintf X +#else +# define SELECTTRACE(K,P,S,X) +#endif + + +/* +** An instance of the following object is used to record information about +** how to process the DISTINCT keyword, to simplify passing that information +** into the selectInnerLoop() routine. +*/ +typedef struct DistinctCtx DistinctCtx; +struct DistinctCtx { + u8 isTnct; /* True if the DISTINCT keyword is present */ + u8 eTnctType; /* One of the WHERE_DISTINCT_* operators */ + int tabTnct; /* Ephemeral table used for DISTINCT processing */ + int addrTnct; /* Address of OP_OpenEphemeral opcode for tabTnct */ +}; + +/* +** An instance of the following object is used to record information about +** the ORDER BY (or GROUP BY) clause of query is being coded. +** +** The aDefer[] array is used by the sorter-references optimization. For +** example, assuming there is no index that can be used for the ORDER BY, +** for the query: +** +** SELECT a, bigblob FROM t1 ORDER BY a LIMIT 10; +** +** it may be more efficient to add just the "a" values to the sorter, and +** retrieve the associated "bigblob" values directly from table t1 as the +** 10 smallest "a" values are extracted from the sorter. +** +** When the sorter-reference optimization is used, there is one entry in the +** aDefer[] array for each database table that may be read as values are +** extracted from the sorter. +*/ +typedef struct SortCtx SortCtx; +struct SortCtx { + ExprList *pOrderBy; /* The ORDER BY (or GROUP BY clause) */ + int nOBSat; /* Number of ORDER BY terms satisfied by indices */ + int iECursor; /* Cursor number for the sorter */ + int regReturn; /* Register holding block-output return address */ + int labelBkOut; /* Start label for the block-output subroutine */ + int addrSortIndex; /* Address of the OP_SorterOpen or OP_OpenEphemeral */ + int labelDone; /* Jump here when done, ex: LIMIT reached */ + int labelOBLopt; /* Jump here when sorter is full */ + u8 sortFlags; /* Zero or more SORTFLAG_* bits */ +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + u8 nDefer; /* Number of valid entries in aDefer[] */ + struct DeferredCsr { + Table *pTab; /* Table definition */ + int iCsr; /* Cursor number for table */ + int nKey; /* Number of PK columns for table pTab (>=1) */ + } aDefer[4]; +#endif + struct RowLoadInfo *pDeferredRowLoad; /* Deferred row loading info or NULL */ +}; +#define SORTFLAG_UseSorter 0x01 /* Use SorterOpen instead of OpenEphemeral */ + +/* +** Delete all the content of a Select structure. Deallocate the structure +** itself only if bFree is true. +*/ +static void clearSelect(sqlite3 *db, Select *p, int bFree){ + while( p ){ + Select *pPrior = p->pPrior; + sqlite3ExprListDelete(db, p->pEList); + sqlite3SrcListDelete(db, p->pSrc); + sqlite3ExprDelete(db, p->pWhere); + sqlite3ExprListDelete(db, p->pGroupBy); + sqlite3ExprDelete(db, p->pHaving); + sqlite3ExprListDelete(db, p->pOrderBy); + sqlite3ExprDelete(db, p->pLimit); +#ifndef SQLITE_OMIT_WINDOWFUNC + if( OK_IF_ALWAYS_TRUE(p->pWinDefn) ){ + sqlite3WindowListDelete(db, p->pWinDefn); + } + assert( p->pWin==0 ); +#endif + if( OK_IF_ALWAYS_TRUE(p->pWith) ) sqlite3WithDelete(db, p->pWith); + if( bFree ) sqlite3DbFreeNN(db, p); + p = pPrior; + bFree = 1; + } +} + +/* +** Initialize a SelectDest structure. +*/ +SQLITE_PRIVATE void sqlite3SelectDestInit(SelectDest *pDest, int eDest, int iParm){ + pDest->eDest = (u8)eDest; + pDest->iSDParm = iParm; + pDest->zAffSdst = 0; + pDest->iSdst = 0; + pDest->nSdst = 0; +} + + +/* +** Allocate a new Select structure and return a pointer to that +** structure. +*/ +SQLITE_PRIVATE Select *sqlite3SelectNew( + Parse *pParse, /* Parsing context */ + ExprList *pEList, /* which columns to include in the result */ + SrcList *pSrc, /* the FROM clause -- which tables to scan */ + Expr *pWhere, /* the WHERE clause */ + ExprList *pGroupBy, /* the GROUP BY clause */ + Expr *pHaving, /* the HAVING clause */ + ExprList *pOrderBy, /* the ORDER BY clause */ + u32 selFlags, /* Flag parameters, such as SF_Distinct */ + Expr *pLimit /* LIMIT value. NULL means not used */ +){ + Select *pNew; + Select standin; + pNew = sqlite3DbMallocRawNN(pParse->db, sizeof(*pNew) ); + if( pNew==0 ){ + assert( pParse->db->mallocFailed ); + pNew = &standin; + } + if( pEList==0 ){ + pEList = sqlite3ExprListAppend(pParse, 0, + sqlite3Expr(pParse->db,TK_ASTERISK,0)); + } + pNew->pEList = pEList; + pNew->op = TK_SELECT; + pNew->selFlags = selFlags; + pNew->iLimit = 0; + pNew->iOffset = 0; + pNew->selId = ++pParse->nSelect; + pNew->addrOpenEphm[0] = -1; + pNew->addrOpenEphm[1] = -1; + pNew->nSelectRow = 0; + if( pSrc==0 ) pSrc = sqlite3DbMallocZero(pParse->db, sizeof(*pSrc)); + pNew->pSrc = pSrc; + pNew->pWhere = pWhere; + pNew->pGroupBy = pGroupBy; + pNew->pHaving = pHaving; + pNew->pOrderBy = pOrderBy; + pNew->pPrior = 0; + pNew->pNext = 0; + pNew->pLimit = pLimit; + pNew->pWith = 0; +#ifndef SQLITE_OMIT_WINDOWFUNC + pNew->pWin = 0; + pNew->pWinDefn = 0; +#endif + if( pParse->db->mallocFailed ) { + clearSelect(pParse->db, pNew, pNew!=&standin); + pNew = 0; + }else{ + assert( pNew->pSrc!=0 || pParse->nErr>0 ); + } + assert( pNew!=&standin ); + return pNew; +} + + +/* +** Delete the given Select structure and all of its substructures. +*/ +SQLITE_PRIVATE void sqlite3SelectDelete(sqlite3 *db, Select *p){ + if( OK_IF_ALWAYS_TRUE(p) ) clearSelect(db, p, 1); +} + +/* +** Return a pointer to the right-most SELECT statement in a compound. +*/ +static Select *findRightmost(Select *p){ + while( p->pNext ) p = p->pNext; + return p; +} + +/* +** Given 1 to 3 identifiers preceding the JOIN keyword, determine the +** type of join. Return an integer constant that expresses that type +** in terms of the following bit values: +** +** JT_INNER +** JT_CROSS +** JT_OUTER +** JT_NATURAL +** JT_LEFT +** JT_RIGHT +** +** A full outer join is the combination of JT_LEFT and JT_RIGHT. +** +** If an illegal or unsupported join type is seen, then still return +** a join type, but put an error in the pParse structure. +*/ +SQLITE_PRIVATE int sqlite3JoinType(Parse *pParse, Token *pA, Token *pB, Token *pC){ + int jointype = 0; + Token *apAll[3]; + Token *p; + /* 0123456789 123456789 123456789 123 */ + static const char zKeyText[] = "naturaleftouterightfullinnercross"; + static const struct { + u8 i; /* Beginning of keyword text in zKeyText[] */ + u8 nChar; /* Length of the keyword in characters */ + u8 code; /* Join type mask */ + } aKeyword[] = { + /* natural */ { 0, 7, JT_NATURAL }, + /* left */ { 6, 4, JT_LEFT|JT_OUTER }, + /* outer */ { 10, 5, JT_OUTER }, + /* right */ { 14, 5, JT_RIGHT|JT_OUTER }, + /* full */ { 19, 4, JT_LEFT|JT_RIGHT|JT_OUTER }, + /* inner */ { 23, 5, JT_INNER }, + /* cross */ { 28, 5, JT_INNER|JT_CROSS }, + }; + int i, j; + apAll[0] = pA; + apAll[1] = pB; + apAll[2] = pC; + for(i=0; i<3 && apAll[i]; i++){ + p = apAll[i]; + for(j=0; jn==aKeyword[j].nChar + && sqlite3StrNICmp((char*)p->z, &zKeyText[aKeyword[j].i], p->n)==0 ){ + jointype |= aKeyword[j].code; + break; + } + } + testcase( j==0 || j==1 || j==2 || j==3 || j==4 || j==5 || j==6 ); + if( j>=ArraySize(aKeyword) ){ + jointype |= JT_ERROR; + break; + } + } + if( + (jointype & (JT_INNER|JT_OUTER))==(JT_INNER|JT_OUTER) || + (jointype & JT_ERROR)!=0 + ){ + const char *zSp = " "; + assert( pB!=0 ); + if( pC==0 ){ zSp++; } + sqlite3ErrorMsg(pParse, "unknown or unsupported join type: " + "%T %T%s%T", pA, pB, zSp, pC); + jointype = JT_INNER; + }else if( (jointype & JT_OUTER)!=0 + && (jointype & (JT_LEFT|JT_RIGHT))!=JT_LEFT ){ + sqlite3ErrorMsg(pParse, + "RIGHT and FULL OUTER JOINs are not currently supported"); + jointype = JT_INNER; + } + return jointype; +} + +/* +** Return the index of a column in a table. Return -1 if the column +** is not contained in the table. +*/ +static int columnIndex(Table *pTab, const char *zCol){ + int i; + for(i=0; inCol; i++){ + if( sqlite3StrICmp(pTab->aCol[i].zName, zCol)==0 ) return i; + } + return -1; +} + +/* +** Search the first N tables in pSrc, from left to right, looking for a +** table that has a column named zCol. +** +** When found, set *piTab and *piCol to the table index and column index +** of the matching column and return TRUE. +** +** If not found, return FALSE. +*/ +static int tableAndColumnIndex( + SrcList *pSrc, /* Array of tables to search */ + int N, /* Number of tables in pSrc->a[] to search */ + const char *zCol, /* Name of the column we are looking for */ + int *piTab, /* Write index of pSrc->a[] here */ + int *piCol /* Write index of pSrc->a[*piTab].pTab->aCol[] here */ +){ + int i; /* For looping over tables in pSrc */ + int iCol; /* Index of column matching zCol */ + + assert( (piTab==0)==(piCol==0) ); /* Both or neither are NULL */ + for(i=0; ia[i].pTab, zCol); + if( iCol>=0 ){ + if( piTab ){ + *piTab = i; + *piCol = iCol; + } + return 1; + } + } + return 0; +} + +/* +** This function is used to add terms implied by JOIN syntax to the +** WHERE clause expression of a SELECT statement. The new term, which +** is ANDed with the existing WHERE clause, is of the form: +** +** (tab1.col1 = tab2.col2) +** +** where tab1 is the iSrc'th table in SrcList pSrc and tab2 is the +** (iSrc+1)'th. Column col1 is column iColLeft of tab1, and col2 is +** column iColRight of tab2. +*/ +static void addWhereTerm( + Parse *pParse, /* Parsing context */ + SrcList *pSrc, /* List of tables in FROM clause */ + int iLeft, /* Index of first table to join in pSrc */ + int iColLeft, /* Index of column in first table */ + int iRight, /* Index of second table in pSrc */ + int iColRight, /* Index of column in second table */ + int isOuterJoin, /* True if this is an OUTER join */ + Expr **ppWhere /* IN/OUT: The WHERE clause to add to */ +){ + sqlite3 *db = pParse->db; + Expr *pE1; + Expr *pE2; + Expr *pEq; + + assert( iLeftnSrc>iRight ); + assert( pSrc->a[iLeft].pTab ); + assert( pSrc->a[iRight].pTab ); + + pE1 = sqlite3CreateColumnExpr(db, pSrc, iLeft, iColLeft); + pE2 = sqlite3CreateColumnExpr(db, pSrc, iRight, iColRight); + + pEq = sqlite3PExpr(pParse, TK_EQ, pE1, pE2); + if( pEq && isOuterJoin ){ + ExprSetProperty(pEq, EP_FromJoin); + assert( !ExprHasProperty(pEq, EP_TokenOnly|EP_Reduced) ); + ExprSetVVAProperty(pEq, EP_NoReduce); + pEq->iRightJoinTable = (i16)pE2->iTable; + } + *ppWhere = sqlite3ExprAnd(pParse, *ppWhere, pEq); +} + +/* +** Set the EP_FromJoin property on all terms of the given expression. +** And set the Expr.iRightJoinTable to iTable for every term in the +** expression. +** +** The EP_FromJoin property is used on terms of an expression to tell +** the LEFT OUTER JOIN processing logic that this term is part of the +** join restriction specified in the ON or USING clause and not a part +** of the more general WHERE clause. These terms are moved over to the +** WHERE clause during join processing but we need to remember that they +** originated in the ON or USING clause. +** +** The Expr.iRightJoinTable tells the WHERE clause processing that the +** expression depends on table iRightJoinTable even if that table is not +** explicitly mentioned in the expression. That information is needed +** for cases like this: +** +** SELECT * FROM t1 LEFT JOIN t2 ON t1.a=t2.b AND t1.x=5 +** +** The where clause needs to defer the handling of the t1.x=5 +** term until after the t2 loop of the join. In that way, a +** NULL t2 row will be inserted whenever t1.x!=5. If we do not +** defer the handling of t1.x=5, it will be processed immediately +** after the t1 loop and rows with t1.x!=5 will never appear in +** the output, which is incorrect. +*/ +static void setJoinExpr(Expr *p, int iTable){ + while( p ){ + ExprSetProperty(p, EP_FromJoin); + assert( !ExprHasProperty(p, EP_TokenOnly|EP_Reduced) ); + ExprSetVVAProperty(p, EP_NoReduce); + p->iRightJoinTable = (i16)iTable; + if( p->op==TK_FUNCTION && p->x.pList ){ + int i; + for(i=0; ix.pList->nExpr; i++){ + setJoinExpr(p->x.pList->a[i].pExpr, iTable); + } + } + setJoinExpr(p->pLeft, iTable); + p = p->pRight; + } +} + +/* Undo the work of setJoinExpr(). In the expression tree p, convert every +** term that is marked with EP_FromJoin and iRightJoinTable==iTable into +** an ordinary term that omits the EP_FromJoin mark. +** +** This happens when a LEFT JOIN is simplified into an ordinary JOIN. +*/ +static void unsetJoinExpr(Expr *p, int iTable){ + while( p ){ + if( ExprHasProperty(p, EP_FromJoin) + && (iTable<0 || p->iRightJoinTable==iTable) ){ + ExprClearProperty(p, EP_FromJoin); + } + if( p->op==TK_FUNCTION && p->x.pList ){ + int i; + for(i=0; ix.pList->nExpr; i++){ + unsetJoinExpr(p->x.pList->a[i].pExpr, iTable); + } + } + unsetJoinExpr(p->pLeft, iTable); + p = p->pRight; + } +} + +/* +** This routine processes the join information for a SELECT statement. +** ON and USING clauses are converted into extra terms of the WHERE clause. +** NATURAL joins also create extra WHERE clause terms. +** +** The terms of a FROM clause are contained in the Select.pSrc structure. +** The left most table is the first entry in Select.pSrc. The right-most +** table is the last entry. The join operator is held in the entry to +** the left. Thus entry 0 contains the join operator for the join between +** entries 0 and 1. Any ON or USING clauses associated with the join are +** also attached to the left entry. +** +** This routine returns the number of errors encountered. +*/ +static int sqliteProcessJoin(Parse *pParse, Select *p){ + SrcList *pSrc; /* All tables in the FROM clause */ + int i, j; /* Loop counters */ + struct SrcList_item *pLeft; /* Left table being joined */ + struct SrcList_item *pRight; /* Right table being joined */ + + pSrc = p->pSrc; + pLeft = &pSrc->a[0]; + pRight = &pLeft[1]; + for(i=0; inSrc-1; i++, pRight++, pLeft++){ + Table *pRightTab = pRight->pTab; + int isOuter; + + if( NEVER(pLeft->pTab==0 || pRightTab==0) ) continue; + isOuter = (pRight->fg.jointype & JT_OUTER)!=0; + + /* When the NATURAL keyword is present, add WHERE clause terms for + ** every column that the two tables have in common. + */ + if( pRight->fg.jointype & JT_NATURAL ){ + if( pRight->pOn || pRight->pUsing ){ + sqlite3ErrorMsg(pParse, "a NATURAL join may not have " + "an ON or USING clause", 0); + return 1; + } + for(j=0; jnCol; j++){ + char *zName; /* Name of column in the right table */ + int iLeft; /* Matching left table */ + int iLeftCol; /* Matching column in the left table */ + + zName = pRightTab->aCol[j].zName; + if( tableAndColumnIndex(pSrc, i+1, zName, &iLeft, &iLeftCol) ){ + addWhereTerm(pParse, pSrc, iLeft, iLeftCol, i+1, j, + isOuter, &p->pWhere); + } + } + } + + /* Disallow both ON and USING clauses in the same join + */ + if( pRight->pOn && pRight->pUsing ){ + sqlite3ErrorMsg(pParse, "cannot have both ON and USING " + "clauses in the same join"); + return 1; + } + + /* Add the ON clause to the end of the WHERE clause, connected by + ** an AND operator. + */ + if( pRight->pOn ){ + if( isOuter ) setJoinExpr(pRight->pOn, pRight->iCursor); + p->pWhere = sqlite3ExprAnd(pParse, p->pWhere, pRight->pOn); + pRight->pOn = 0; + } + + /* Create extra terms on the WHERE clause for each column named + ** in the USING clause. Example: If the two tables to be joined are + ** A and B and the USING clause names X, Y, and Z, then add this + ** to the WHERE clause: A.X=B.X AND A.Y=B.Y AND A.Z=B.Z + ** Report an error if any column mentioned in the USING clause is + ** not contained in both tables to be joined. + */ + if( pRight->pUsing ){ + IdList *pList = pRight->pUsing; + for(j=0; jnId; j++){ + char *zName; /* Name of the term in the USING clause */ + int iLeft; /* Table on the left with matching column name */ + int iLeftCol; /* Column number of matching column on the left */ + int iRightCol; /* Column number of matching column on the right */ + + zName = pList->a[j].zName; + iRightCol = columnIndex(pRightTab, zName); + if( iRightCol<0 + || !tableAndColumnIndex(pSrc, i+1, zName, &iLeft, &iLeftCol) + ){ + sqlite3ErrorMsg(pParse, "cannot join using column %s - column " + "not present in both tables", zName); + return 1; + } + addWhereTerm(pParse, pSrc, iLeft, iLeftCol, i+1, iRightCol, + isOuter, &p->pWhere); + } + } + } + return 0; +} + +/* +** An instance of this object holds information (beyond pParse and pSelect) +** needed to load the next result row that is to be added to the sorter. +*/ +typedef struct RowLoadInfo RowLoadInfo; +struct RowLoadInfo { + int regResult; /* Store results in array of registers here */ + u8 ecelFlags; /* Flag argument to ExprCodeExprList() */ +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + ExprList *pExtra; /* Extra columns needed by sorter refs */ + int regExtraResult; /* Where to load the extra columns */ +#endif +}; + +/* +** This routine does the work of loading query data into an array of +** registers so that it can be added to the sorter. +*/ +static void innerLoopLoadRow( + Parse *pParse, /* Statement under construction */ + Select *pSelect, /* The query being coded */ + RowLoadInfo *pInfo /* Info needed to complete the row load */ +){ + sqlite3ExprCodeExprList(pParse, pSelect->pEList, pInfo->regResult, + 0, pInfo->ecelFlags); +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + if( pInfo->pExtra ){ + sqlite3ExprCodeExprList(pParse, pInfo->pExtra, pInfo->regExtraResult, 0, 0); + sqlite3ExprListDelete(pParse->db, pInfo->pExtra); + } +#endif +} + +/* +** Code the OP_MakeRecord instruction that generates the entry to be +** added into the sorter. +** +** Return the register in which the result is stored. +*/ +static int makeSorterRecord( + Parse *pParse, + SortCtx *pSort, + Select *pSelect, + int regBase, + int nBase +){ + int nOBSat = pSort->nOBSat; + Vdbe *v = pParse->pVdbe; + int regOut = ++pParse->nMem; + if( pSort->pDeferredRowLoad ){ + innerLoopLoadRow(pParse, pSelect, pSort->pDeferredRowLoad); + } + sqlite3VdbeAddOp3(v, OP_MakeRecord, regBase+nOBSat, nBase-nOBSat, regOut); + return regOut; +} + +/* +** Generate code that will push the record in registers regData +** through regData+nData-1 onto the sorter. +*/ +static void pushOntoSorter( + Parse *pParse, /* Parser context */ + SortCtx *pSort, /* Information about the ORDER BY clause */ + Select *pSelect, /* The whole SELECT statement */ + int regData, /* First register holding data to be sorted */ + int regOrigData, /* First register holding data before packing */ + int nData, /* Number of elements in the regData data array */ + int nPrefixReg /* No. of reg prior to regData available for use */ +){ + Vdbe *v = pParse->pVdbe; /* Stmt under construction */ + int bSeq = ((pSort->sortFlags & SORTFLAG_UseSorter)==0); + int nExpr = pSort->pOrderBy->nExpr; /* No. of ORDER BY terms */ + int nBase = nExpr + bSeq + nData; /* Fields in sorter record */ + int regBase; /* Regs for sorter record */ + int regRecord = 0; /* Assembled sorter record */ + int nOBSat = pSort->nOBSat; /* ORDER BY terms to skip */ + int op; /* Opcode to add sorter record to sorter */ + int iLimit; /* LIMIT counter */ + int iSkip = 0; /* End of the sorter insert loop */ + + assert( bSeq==0 || bSeq==1 ); + + /* Three cases: + ** (1) The data to be sorted has already been packed into a Record + ** by a prior OP_MakeRecord. In this case nData==1 and regData + ** will be completely unrelated to regOrigData. + ** (2) All output columns are included in the sort record. In that + ** case regData==regOrigData. + ** (3) Some output columns are omitted from the sort record due to + ** the SQLITE_ENABLE_SORTER_REFERENCE optimization, or due to the + ** SQLITE_ECEL_OMITREF optimization, or due to the + ** SortCtx.pDeferredRowLoad optimiation. In any of these cases + ** regOrigData is 0 to prevent this routine from trying to copy + ** values that might not yet exist. + */ + assert( nData==1 || regData==regOrigData || regOrigData==0 ); + + if( nPrefixReg ){ + assert( nPrefixReg==nExpr+bSeq ); + regBase = regData - nPrefixReg; + }else{ + regBase = pParse->nMem + 1; + pParse->nMem += nBase; + } + assert( pSelect->iOffset==0 || pSelect->iLimit!=0 ); + iLimit = pSelect->iOffset ? pSelect->iOffset+1 : pSelect->iLimit; + pSort->labelDone = sqlite3VdbeMakeLabel(pParse); + sqlite3ExprCodeExprList(pParse, pSort->pOrderBy, regBase, regOrigData, + SQLITE_ECEL_DUP | (regOrigData? SQLITE_ECEL_REF : 0)); + if( bSeq ){ + sqlite3VdbeAddOp2(v, OP_Sequence, pSort->iECursor, regBase+nExpr); + } + if( nPrefixReg==0 && nData>0 ){ + sqlite3ExprCodeMove(pParse, regData, regBase+nExpr+bSeq, nData); + } + if( nOBSat>0 ){ + int regPrevKey; /* The first nOBSat columns of the previous row */ + int addrFirst; /* Address of the OP_IfNot opcode */ + int addrJmp; /* Address of the OP_Jump opcode */ + VdbeOp *pOp; /* Opcode that opens the sorter */ + int nKey; /* Number of sorting key columns, including OP_Sequence */ + KeyInfo *pKI; /* Original KeyInfo on the sorter table */ + + regRecord = makeSorterRecord(pParse, pSort, pSelect, regBase, nBase); + regPrevKey = pParse->nMem+1; + pParse->nMem += pSort->nOBSat; + nKey = nExpr - pSort->nOBSat + bSeq; + if( bSeq ){ + addrFirst = sqlite3VdbeAddOp1(v, OP_IfNot, regBase+nExpr); + }else{ + addrFirst = sqlite3VdbeAddOp1(v, OP_SequenceTest, pSort->iECursor); + } + VdbeCoverage(v); + sqlite3VdbeAddOp3(v, OP_Compare, regPrevKey, regBase, pSort->nOBSat); + pOp = sqlite3VdbeGetOp(v, pSort->addrSortIndex); + if( pParse->db->mallocFailed ) return; + pOp->p2 = nKey + nData; + pKI = pOp->p4.pKeyInfo; + memset(pKI->aSortFlags, 0, pKI->nKeyField); /* Makes OP_Jump testable */ + sqlite3VdbeChangeP4(v, -1, (char*)pKI, P4_KEYINFO); + testcase( pKI->nAllField > pKI->nKeyField+2 ); + pOp->p4.pKeyInfo = sqlite3KeyInfoFromExprList(pParse,pSort->pOrderBy,nOBSat, + pKI->nAllField-pKI->nKeyField-1); + addrJmp = sqlite3VdbeCurrentAddr(v); + sqlite3VdbeAddOp3(v, OP_Jump, addrJmp+1, 0, addrJmp+1); VdbeCoverage(v); + pSort->labelBkOut = sqlite3VdbeMakeLabel(pParse); + pSort->regReturn = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Gosub, pSort->regReturn, pSort->labelBkOut); + sqlite3VdbeAddOp1(v, OP_ResetSorter, pSort->iECursor); + if( iLimit ){ + sqlite3VdbeAddOp2(v, OP_IfNot, iLimit, pSort->labelDone); + VdbeCoverage(v); + } + sqlite3VdbeJumpHere(v, addrFirst); + sqlite3ExprCodeMove(pParse, regBase, regPrevKey, pSort->nOBSat); + sqlite3VdbeJumpHere(v, addrJmp); + } + if( iLimit ){ + /* At this point the values for the new sorter entry are stored + ** in an array of registers. They need to be composed into a record + ** and inserted into the sorter if either (a) there are currently + ** less than LIMIT+OFFSET items or (b) the new record is smaller than + ** the largest record currently in the sorter. If (b) is true and there + ** are already LIMIT+OFFSET items in the sorter, delete the largest + ** entry before inserting the new one. This way there are never more + ** than LIMIT+OFFSET items in the sorter. + ** + ** If the new record does not need to be inserted into the sorter, + ** jump to the next iteration of the loop. If the pSort->labelOBLopt + ** value is not zero, then it is a label of where to jump. Otherwise, + ** just bypass the row insert logic. See the header comment on the + ** sqlite3WhereOrderByLimitOptLabel() function for additional info. + */ + int iCsr = pSort->iECursor; + sqlite3VdbeAddOp2(v, OP_IfNotZero, iLimit, sqlite3VdbeCurrentAddr(v)+4); + VdbeCoverage(v); + sqlite3VdbeAddOp2(v, OP_Last, iCsr, 0); + iSkip = sqlite3VdbeAddOp4Int(v, OP_IdxLE, + iCsr, 0, regBase+nOBSat, nExpr-nOBSat); + VdbeCoverage(v); + sqlite3VdbeAddOp1(v, OP_Delete, iCsr); + } + if( regRecord==0 ){ + regRecord = makeSorterRecord(pParse, pSort, pSelect, regBase, nBase); + } + if( pSort->sortFlags & SORTFLAG_UseSorter ){ + op = OP_SorterInsert; + }else{ + op = OP_IdxInsert; + } + sqlite3VdbeAddOp4Int(v, op, pSort->iECursor, regRecord, + regBase+nOBSat, nBase-nOBSat); + if( iSkip ){ + sqlite3VdbeChangeP2(v, iSkip, + pSort->labelOBLopt ? pSort->labelOBLopt : sqlite3VdbeCurrentAddr(v)); + } +} + +/* +** Add code to implement the OFFSET +*/ +static void codeOffset( + Vdbe *v, /* Generate code into this VM */ + int iOffset, /* Register holding the offset counter */ + int iContinue /* Jump here to skip the current record */ +){ + if( iOffset>0 ){ + sqlite3VdbeAddOp3(v, OP_IfPos, iOffset, iContinue, 1); VdbeCoverage(v); + VdbeComment((v, "OFFSET")); + } +} + +/* +** Add code that will check to make sure the N registers starting at iMem +** form a distinct entry. iTab is a sorting index that holds previously +** seen combinations of the N values. A new entry is made in iTab +** if the current N values are new. +** +** A jump to addrRepeat is made and the N+1 values are popped from the +** stack if the top N elements are not distinct. +*/ +static void codeDistinct( + Parse *pParse, /* Parsing and code generating context */ + int iTab, /* A sorting index used to test for distinctness */ + int addrRepeat, /* Jump to here if not distinct */ + int N, /* Number of elements */ + int iMem /* First element */ +){ + Vdbe *v; + int r1; + + v = pParse->pVdbe; + r1 = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp4Int(v, OP_Found, iTab, addrRepeat, iMem, N); VdbeCoverage(v); + sqlite3VdbeAddOp3(v, OP_MakeRecord, iMem, N, r1); + sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iTab, r1, iMem, N); + sqlite3VdbeChangeP5(v, OPFLAG_USESEEKRESULT); + sqlite3ReleaseTempReg(pParse, r1); +} + +#ifdef SQLITE_ENABLE_SORTER_REFERENCES +/* +** This function is called as part of inner-loop generation for a SELECT +** statement with an ORDER BY that is not optimized by an index. It +** determines the expressions, if any, that the sorter-reference +** optimization should be used for. The sorter-reference optimization +** is used for SELECT queries like: +** +** SELECT a, bigblob FROM t1 ORDER BY a LIMIT 10 +** +** If the optimization is used for expression "bigblob", then instead of +** storing values read from that column in the sorter records, the PK of +** the row from table t1 is stored instead. Then, as records are extracted from +** the sorter to return to the user, the required value of bigblob is +** retrieved directly from table t1. If the values are very large, this +** can be more efficient than storing them directly in the sorter records. +** +** The ExprList_item.bSorterRef flag is set for each expression in pEList +** for which the sorter-reference optimization should be enabled. +** Additionally, the pSort->aDefer[] array is populated with entries +** for all cursors required to evaluate all selected expressions. Finally. +** output variable (*ppExtra) is set to an expression list containing +** expressions for all extra PK values that should be stored in the +** sorter records. +*/ +static void selectExprDefer( + Parse *pParse, /* Leave any error here */ + SortCtx *pSort, /* Sorter context */ + ExprList *pEList, /* Expressions destined for sorter */ + ExprList **ppExtra /* Expressions to append to sorter record */ +){ + int i; + int nDefer = 0; + ExprList *pExtra = 0; + for(i=0; inExpr; i++){ + struct ExprList_item *pItem = &pEList->a[i]; + if( pItem->u.x.iOrderByCol==0 ){ + Expr *pExpr = pItem->pExpr; + Table *pTab = pExpr->y.pTab; + if( pExpr->op==TK_COLUMN && pExpr->iColumn>=0 && pTab && !IsVirtual(pTab) + && (pTab->aCol[pExpr->iColumn].colFlags & COLFLAG_SORTERREF) + ){ + int j; + for(j=0; jaDefer[j].iCsr==pExpr->iTable ) break; + } + if( j==nDefer ){ + if( nDefer==ArraySize(pSort->aDefer) ){ + continue; + }else{ + int nKey = 1; + int k; + Index *pPk = 0; + if( !HasRowid(pTab) ){ + pPk = sqlite3PrimaryKeyIndex(pTab); + nKey = pPk->nKeyCol; + } + for(k=0; kiTable = pExpr->iTable; + pNew->y.pTab = pExpr->y.pTab; + pNew->iColumn = pPk ? pPk->aiColumn[k] : -1; + pExtra = sqlite3ExprListAppend(pParse, pExtra, pNew); + } + } + pSort->aDefer[nDefer].pTab = pExpr->y.pTab; + pSort->aDefer[nDefer].iCsr = pExpr->iTable; + pSort->aDefer[nDefer].nKey = nKey; + nDefer++; + } + } + pItem->bSorterRef = 1; + } + } + } + pSort->nDefer = (u8)nDefer; + *ppExtra = pExtra; +} +#endif + +/* +** This routine generates the code for the inside of the inner loop +** of a SELECT. +** +** If srcTab is negative, then the p->pEList expressions +** are evaluated in order to get the data for this row. If srcTab is +** zero or more, then data is pulled from srcTab and p->pEList is used only +** to get the number of columns and the collation sequence for each column. +*/ +static void selectInnerLoop( + Parse *pParse, /* The parser context */ + Select *p, /* The complete select statement being coded */ + int srcTab, /* Pull data from this table if non-negative */ + SortCtx *pSort, /* If not NULL, info on how to process ORDER BY */ + DistinctCtx *pDistinct, /* If not NULL, info on how to process DISTINCT */ + SelectDest *pDest, /* How to dispose of the results */ + int iContinue, /* Jump here to continue with next row */ + int iBreak /* Jump here to break out of the inner loop */ +){ + Vdbe *v = pParse->pVdbe; + int i; + int hasDistinct; /* True if the DISTINCT keyword is present */ + int eDest = pDest->eDest; /* How to dispose of results */ + int iParm = pDest->iSDParm; /* First argument to disposal method */ + int nResultCol; /* Number of result columns */ + int nPrefixReg = 0; /* Number of extra registers before regResult */ + RowLoadInfo sRowLoadInfo; /* Info for deferred row loading */ + + /* Usually, regResult is the first cell in an array of memory cells + ** containing the current result row. In this case regOrig is set to the + ** same value. However, if the results are being sent to the sorter, the + ** values for any expressions that are also part of the sort-key are omitted + ** from this array. In this case regOrig is set to zero. */ + int regResult; /* Start of memory holding current results */ + int regOrig; /* Start of memory holding full result (or 0) */ + + assert( v ); + assert( p->pEList!=0 ); + hasDistinct = pDistinct ? pDistinct->eTnctType : WHERE_DISTINCT_NOOP; + if( pSort && pSort->pOrderBy==0 ) pSort = 0; + if( pSort==0 && !hasDistinct ){ + assert( iContinue!=0 ); + codeOffset(v, p->iOffset, iContinue); + } + + /* Pull the requested columns. + */ + nResultCol = p->pEList->nExpr; + + if( pDest->iSdst==0 ){ + if( pSort ){ + nPrefixReg = pSort->pOrderBy->nExpr; + if( !(pSort->sortFlags & SORTFLAG_UseSorter) ) nPrefixReg++; + pParse->nMem += nPrefixReg; + } + pDest->iSdst = pParse->nMem+1; + pParse->nMem += nResultCol; + }else if( pDest->iSdst+nResultCol > pParse->nMem ){ + /* This is an error condition that can result, for example, when a SELECT + ** on the right-hand side of an INSERT contains more result columns than + ** there are columns in the table on the left. The error will be caught + ** and reported later. But we need to make sure enough memory is allocated + ** to avoid other spurious errors in the meantime. */ + pParse->nMem += nResultCol; + } + pDest->nSdst = nResultCol; + regOrig = regResult = pDest->iSdst; + if( srcTab>=0 ){ + for(i=0; ipEList->a[i].zName)); + } + }else if( eDest!=SRT_Exists ){ +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + ExprList *pExtra = 0; +#endif + /* If the destination is an EXISTS(...) expression, the actual + ** values returned by the SELECT are not required. + */ + u8 ecelFlags; /* "ecel" is an abbreviation of "ExprCodeExprList" */ + ExprList *pEList; + if( eDest==SRT_Mem || eDest==SRT_Output || eDest==SRT_Coroutine ){ + ecelFlags = SQLITE_ECEL_DUP; + }else{ + ecelFlags = 0; + } + if( pSort && hasDistinct==0 && eDest!=SRT_EphemTab && eDest!=SRT_Table ){ + /* For each expression in p->pEList that is a copy of an expression in + ** the ORDER BY clause (pSort->pOrderBy), set the associated + ** iOrderByCol value to one more than the index of the ORDER BY + ** expression within the sort-key that pushOntoSorter() will generate. + ** This allows the p->pEList field to be omitted from the sorted record, + ** saving space and CPU cycles. */ + ecelFlags |= (SQLITE_ECEL_OMITREF|SQLITE_ECEL_REF); + + for(i=pSort->nOBSat; ipOrderBy->nExpr; i++){ + int j; + if( (j = pSort->pOrderBy->a[i].u.x.iOrderByCol)>0 ){ + p->pEList->a[j-1].u.x.iOrderByCol = i+1-pSort->nOBSat; + } + } +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + selectExprDefer(pParse, pSort, p->pEList, &pExtra); + if( pExtra && pParse->db->mallocFailed==0 ){ + /* If there are any extra PK columns to add to the sorter records, + ** allocate extra memory cells and adjust the OpenEphemeral + ** instruction to account for the larger records. This is only + ** required if there are one or more WITHOUT ROWID tables with + ** composite primary keys in the SortCtx.aDefer[] array. */ + VdbeOp *pOp = sqlite3VdbeGetOp(v, pSort->addrSortIndex); + pOp->p2 += (pExtra->nExpr - pSort->nDefer); + pOp->p4.pKeyInfo->nAllField += (pExtra->nExpr - pSort->nDefer); + pParse->nMem += pExtra->nExpr; + } +#endif + + /* Adjust nResultCol to account for columns that are omitted + ** from the sorter by the optimizations in this branch */ + pEList = p->pEList; + for(i=0; inExpr; i++){ + if( pEList->a[i].u.x.iOrderByCol>0 +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + || pEList->a[i].bSorterRef +#endif + ){ + nResultCol--; + regOrig = 0; + } + } + + testcase( regOrig ); + testcase( eDest==SRT_Set ); + testcase( eDest==SRT_Mem ); + testcase( eDest==SRT_Coroutine ); + testcase( eDest==SRT_Output ); + assert( eDest==SRT_Set || eDest==SRT_Mem + || eDest==SRT_Coroutine || eDest==SRT_Output ); + } + sRowLoadInfo.regResult = regResult; + sRowLoadInfo.ecelFlags = ecelFlags; +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + sRowLoadInfo.pExtra = pExtra; + sRowLoadInfo.regExtraResult = regResult + nResultCol; + if( pExtra ) nResultCol += pExtra->nExpr; +#endif + if( p->iLimit + && (ecelFlags & SQLITE_ECEL_OMITREF)!=0 + && nPrefixReg>0 + ){ + assert( pSort!=0 ); + assert( hasDistinct==0 ); + pSort->pDeferredRowLoad = &sRowLoadInfo; + regOrig = 0; + }else{ + innerLoopLoadRow(pParse, p, &sRowLoadInfo); + } + } + + /* If the DISTINCT keyword was present on the SELECT statement + ** and this row has been seen before, then do not make this row + ** part of the result. + */ + if( hasDistinct ){ + switch( pDistinct->eTnctType ){ + case WHERE_DISTINCT_ORDERED: { + VdbeOp *pOp; /* No longer required OpenEphemeral instr. */ + int iJump; /* Jump destination */ + int regPrev; /* Previous row content */ + + /* Allocate space for the previous row */ + regPrev = pParse->nMem+1; + pParse->nMem += nResultCol; + + /* Change the OP_OpenEphemeral coded earlier to an OP_Null + ** sets the MEM_Cleared bit on the first register of the + ** previous value. This will cause the OP_Ne below to always + ** fail on the first iteration of the loop even if the first + ** row is all NULLs. + */ + sqlite3VdbeChangeToNoop(v, pDistinct->addrTnct); + pOp = sqlite3VdbeGetOp(v, pDistinct->addrTnct); + pOp->opcode = OP_Null; + pOp->p1 = 1; + pOp->p2 = regPrev; + + iJump = sqlite3VdbeCurrentAddr(v) + nResultCol; + for(i=0; ipEList->a[i].pExpr); + if( idb->mallocFailed ); + sqlite3VdbeAddOp3(v, OP_Copy, regResult, regPrev, nResultCol-1); + break; + } + + case WHERE_DISTINCT_UNIQUE: { + sqlite3VdbeChangeToNoop(v, pDistinct->addrTnct); + break; + } + + default: { + assert( pDistinct->eTnctType==WHERE_DISTINCT_UNORDERED ); + codeDistinct(pParse, pDistinct->tabTnct, iContinue, nResultCol, + regResult); + break; + } + } + if( pSort==0 ){ + codeOffset(v, p->iOffset, iContinue); + } + } + + switch( eDest ){ + /* In this mode, write each query result to the key of the temporary + ** table iParm. + */ +#ifndef SQLITE_OMIT_COMPOUND_SELECT + case SRT_Union: { + int r1; + r1 = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp3(v, OP_MakeRecord, regResult, nResultCol, r1); + sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iParm, r1, regResult, nResultCol); + sqlite3ReleaseTempReg(pParse, r1); + break; + } + + /* Construct a record from the query result, but instead of + ** saving that record, use it as a key to delete elements from + ** the temporary table iParm. + */ + case SRT_Except: { + sqlite3VdbeAddOp3(v, OP_IdxDelete, iParm, regResult, nResultCol); + break; + } +#endif /* SQLITE_OMIT_COMPOUND_SELECT */ + + /* Store the result as data using a unique key. + */ + case SRT_Fifo: + case SRT_DistFifo: + case SRT_Table: + case SRT_EphemTab: { + int r1 = sqlite3GetTempRange(pParse, nPrefixReg+1); + testcase( eDest==SRT_Table ); + testcase( eDest==SRT_EphemTab ); + testcase( eDest==SRT_Fifo ); + testcase( eDest==SRT_DistFifo ); + sqlite3VdbeAddOp3(v, OP_MakeRecord, regResult, nResultCol, r1+nPrefixReg); +#ifndef SQLITE_OMIT_CTE + if( eDest==SRT_DistFifo ){ + /* If the destination is DistFifo, then cursor (iParm+1) is open + ** on an ephemeral index. If the current row is already present + ** in the index, do not write it to the output. If not, add the + ** current row to the index and proceed with writing it to the + ** output table as well. */ + int addr = sqlite3VdbeCurrentAddr(v) + 4; + sqlite3VdbeAddOp4Int(v, OP_Found, iParm+1, addr, r1, 0); + VdbeCoverage(v); + sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iParm+1, r1,regResult,nResultCol); + assert( pSort==0 ); + } +#endif + if( pSort ){ + assert( regResult==regOrig ); + pushOntoSorter(pParse, pSort, p, r1+nPrefixReg, regOrig, 1, nPrefixReg); + }else{ + int r2 = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp2(v, OP_NewRowid, iParm, r2); + sqlite3VdbeAddOp3(v, OP_Insert, iParm, r1, r2); + sqlite3VdbeChangeP5(v, OPFLAG_APPEND); + sqlite3ReleaseTempReg(pParse, r2); + } + sqlite3ReleaseTempRange(pParse, r1, nPrefixReg+1); + break; + } + +#ifndef SQLITE_OMIT_SUBQUERY + /* If we are creating a set for an "expr IN (SELECT ...)" construct, + ** then there should be a single item on the stack. Write this + ** item into the set table with bogus data. + */ + case SRT_Set: { + if( pSort ){ + /* At first glance you would think we could optimize out the + ** ORDER BY in this case since the order of entries in the set + ** does not matter. But there might be a LIMIT clause, in which + ** case the order does matter */ + pushOntoSorter( + pParse, pSort, p, regResult, regOrig, nResultCol, nPrefixReg); + }else{ + int r1 = sqlite3GetTempReg(pParse); + assert( sqlite3Strlen30(pDest->zAffSdst)==nResultCol ); + sqlite3VdbeAddOp4(v, OP_MakeRecord, regResult, nResultCol, + r1, pDest->zAffSdst, nResultCol); + sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iParm, r1, regResult, nResultCol); + sqlite3ReleaseTempReg(pParse, r1); + } + break; + } + + /* If any row exist in the result set, record that fact and abort. + */ + case SRT_Exists: { + sqlite3VdbeAddOp2(v, OP_Integer, 1, iParm); + /* The LIMIT clause will terminate the loop for us */ + break; + } + + /* If this is a scalar select that is part of an expression, then + ** store the results in the appropriate memory cell or array of + ** memory cells and break out of the scan loop. + */ + case SRT_Mem: { + if( pSort ){ + assert( nResultCol<=pDest->nSdst ); + pushOntoSorter( + pParse, pSort, p, regResult, regOrig, nResultCol, nPrefixReg); + }else{ + assert( nResultCol==pDest->nSdst ); + assert( regResult==iParm ); + /* The LIMIT clause will jump out of the loop for us */ + } + break; + } +#endif /* #ifndef SQLITE_OMIT_SUBQUERY */ + + case SRT_Coroutine: /* Send data to a co-routine */ + case SRT_Output: { /* Return the results */ + testcase( eDest==SRT_Coroutine ); + testcase( eDest==SRT_Output ); + if( pSort ){ + pushOntoSorter(pParse, pSort, p, regResult, regOrig, nResultCol, + nPrefixReg); + }else if( eDest==SRT_Coroutine ){ + sqlite3VdbeAddOp1(v, OP_Yield, pDest->iSDParm); + }else{ + sqlite3VdbeAddOp2(v, OP_ResultRow, regResult, nResultCol); + } + break; + } + +#ifndef SQLITE_OMIT_CTE + /* Write the results into a priority queue that is order according to + ** pDest->pOrderBy (in pSO). pDest->iSDParm (in iParm) is the cursor for an + ** index with pSO->nExpr+2 columns. Build a key using pSO for the first + ** pSO->nExpr columns, then make sure all keys are unique by adding a + ** final OP_Sequence column. The last column is the record as a blob. + */ + case SRT_DistQueue: + case SRT_Queue: { + int nKey; + int r1, r2, r3; + int addrTest = 0; + ExprList *pSO; + pSO = pDest->pOrderBy; + assert( pSO ); + nKey = pSO->nExpr; + r1 = sqlite3GetTempReg(pParse); + r2 = sqlite3GetTempRange(pParse, nKey+2); + r3 = r2+nKey+1; + if( eDest==SRT_DistQueue ){ + /* If the destination is DistQueue, then cursor (iParm+1) is open + ** on a second ephemeral index that holds all values every previously + ** added to the queue. */ + addrTest = sqlite3VdbeAddOp4Int(v, OP_Found, iParm+1, 0, + regResult, nResultCol); + VdbeCoverage(v); + } + sqlite3VdbeAddOp3(v, OP_MakeRecord, regResult, nResultCol, r3); + if( eDest==SRT_DistQueue ){ + sqlite3VdbeAddOp2(v, OP_IdxInsert, iParm+1, r3); + sqlite3VdbeChangeP5(v, OPFLAG_USESEEKRESULT); + } + for(i=0; ia[i].u.x.iOrderByCol - 1, + r2+i); + } + sqlite3VdbeAddOp2(v, OP_Sequence, iParm, r2+nKey); + sqlite3VdbeAddOp3(v, OP_MakeRecord, r2, nKey+2, r1); + sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iParm, r1, r2, nKey+2); + if( addrTest ) sqlite3VdbeJumpHere(v, addrTest); + sqlite3ReleaseTempReg(pParse, r1); + sqlite3ReleaseTempRange(pParse, r2, nKey+2); + break; + } +#endif /* SQLITE_OMIT_CTE */ + + + +#if !defined(SQLITE_OMIT_TRIGGER) + /* Discard the results. This is used for SELECT statements inside + ** the body of a TRIGGER. The purpose of such selects is to call + ** user-defined functions that have side effects. We do not care + ** about the actual results of the select. + */ + default: { + assert( eDest==SRT_Discard ); + break; + } +#endif + } + + /* Jump to the end of the loop if the LIMIT is reached. Except, if + ** there is a sorter, in which case the sorter has already limited + ** the output for us. + */ + if( pSort==0 && p->iLimit ){ + sqlite3VdbeAddOp2(v, OP_DecrJumpZero, p->iLimit, iBreak); VdbeCoverage(v); + } +} + +/* +** Allocate a KeyInfo object sufficient for an index of N key columns and +** X extra columns. +*/ +SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoAlloc(sqlite3 *db, int N, int X){ + int nExtra = (N+X)*(sizeof(CollSeq*)+1) - sizeof(CollSeq*); + KeyInfo *p = sqlite3DbMallocRawNN(db, sizeof(KeyInfo) + nExtra); + if( p ){ + p->aSortFlags = (u8*)&p->aColl[N+X]; + p->nKeyField = (u16)N; + p->nAllField = (u16)(N+X); + p->enc = ENC(db); + p->db = db; + p->nRef = 1; + memset(&p[1], 0, nExtra); + }else{ + sqlite3OomFault(db); + } + return p; +} + +/* +** Deallocate a KeyInfo object +*/ +SQLITE_PRIVATE void sqlite3KeyInfoUnref(KeyInfo *p){ + if( p ){ + assert( p->nRef>0 ); + p->nRef--; + if( p->nRef==0 ) sqlite3DbFreeNN(p->db, p); + } +} + +/* +** Make a new pointer to a KeyInfo object +*/ +SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoRef(KeyInfo *p){ + if( p ){ + assert( p->nRef>0 ); + p->nRef++; + } + return p; +} + +#ifdef SQLITE_DEBUG +/* +** Return TRUE if a KeyInfo object can be change. The KeyInfo object +** can only be changed if this is just a single reference to the object. +** +** This routine is used only inside of assert() statements. +*/ +SQLITE_PRIVATE int sqlite3KeyInfoIsWriteable(KeyInfo *p){ return p->nRef==1; } +#endif /* SQLITE_DEBUG */ + +/* +** Given an expression list, generate a KeyInfo structure that records +** the collating sequence for each expression in that expression list. +** +** If the ExprList is an ORDER BY or GROUP BY clause then the resulting +** KeyInfo structure is appropriate for initializing a virtual index to +** implement that clause. If the ExprList is the result set of a SELECT +** then the KeyInfo structure is appropriate for initializing a virtual +** index to implement a DISTINCT test. +** +** Space to hold the KeyInfo structure is obtained from malloc. The calling +** function is responsible for seeing that this structure is eventually +** freed. +*/ +SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoFromExprList( + Parse *pParse, /* Parsing context */ + ExprList *pList, /* Form the KeyInfo object from this ExprList */ + int iStart, /* Begin with this column of pList */ + int nExtra /* Add this many extra columns to the end */ +){ + int nExpr; + KeyInfo *pInfo; + struct ExprList_item *pItem; + sqlite3 *db = pParse->db; + int i; + + nExpr = pList->nExpr; + pInfo = sqlite3KeyInfoAlloc(db, nExpr-iStart, nExtra+1); + if( pInfo ){ + assert( sqlite3KeyInfoIsWriteable(pInfo) ); + for(i=iStart, pItem=pList->a+iStart; iaColl[i-iStart] = sqlite3ExprNNCollSeq(pParse, pItem->pExpr); + pInfo->aSortFlags[i-iStart] = pItem->sortFlags; + } + } + return pInfo; +} + +/* +** Name of the connection operator, used for error messages. +*/ +static const char *selectOpName(int id){ + char *z; + switch( id ){ + case TK_ALL: z = "UNION ALL"; break; + case TK_INTERSECT: z = "INTERSECT"; break; + case TK_EXCEPT: z = "EXCEPT"; break; + default: z = "UNION"; break; + } + return z; +} + +#ifndef SQLITE_OMIT_EXPLAIN +/* +** Unless an "EXPLAIN QUERY PLAN" command is being processed, this function +** is a no-op. Otherwise, it adds a single row of output to the EQP result, +** where the caption is of the form: +** +** "USE TEMP B-TREE FOR xxx" +** +** where xxx is one of "DISTINCT", "ORDER BY" or "GROUP BY". Exactly which +** is determined by the zUsage argument. +*/ +static void explainTempTable(Parse *pParse, const char *zUsage){ + ExplainQueryPlan((pParse, 0, "USE TEMP B-TREE FOR %s", zUsage)); +} + +/* +** Assign expression b to lvalue a. A second, no-op, version of this macro +** is provided when SQLITE_OMIT_EXPLAIN is defined. This allows the code +** in sqlite3Select() to assign values to structure member variables that +** only exist if SQLITE_OMIT_EXPLAIN is not defined without polluting the +** code with #ifndef directives. +*/ +# define explainSetInteger(a, b) a = b + +#else +/* No-op versions of the explainXXX() functions and macros. */ +# define explainTempTable(y,z) +# define explainSetInteger(y,z) +#endif + + +/* +** If the inner loop was generated using a non-null pOrderBy argument, +** then the results were placed in a sorter. After the loop is terminated +** we need to run the sorter and output the results. The following +** routine generates the code needed to do that. +*/ +static void generateSortTail( + Parse *pParse, /* Parsing context */ + Select *p, /* The SELECT statement */ + SortCtx *pSort, /* Information on the ORDER BY clause */ + int nColumn, /* Number of columns of data */ + SelectDest *pDest /* Write the sorted results here */ +){ + Vdbe *v = pParse->pVdbe; /* The prepared statement */ + int addrBreak = pSort->labelDone; /* Jump here to exit loop */ + int addrContinue = sqlite3VdbeMakeLabel(pParse);/* Jump here for next cycle */ + int addr; /* Top of output loop. Jump for Next. */ + int addrOnce = 0; + int iTab; + ExprList *pOrderBy = pSort->pOrderBy; + int eDest = pDest->eDest; + int iParm = pDest->iSDParm; + int regRow; + int regRowid; + int iCol; + int nKey; /* Number of key columns in sorter record */ + int iSortTab; /* Sorter cursor to read from */ + int i; + int bSeq; /* True if sorter record includes seq. no. */ + int nRefKey = 0; + struct ExprList_item *aOutEx = p->pEList->a; + + assert( addrBreak<0 ); + if( pSort->labelBkOut ){ + sqlite3VdbeAddOp2(v, OP_Gosub, pSort->regReturn, pSort->labelBkOut); + sqlite3VdbeGoto(v, addrBreak); + sqlite3VdbeResolveLabel(v, pSort->labelBkOut); + } + +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + /* Open any cursors needed for sorter-reference expressions */ + for(i=0; inDefer; i++){ + Table *pTab = pSort->aDefer[i].pTab; + int iDb = sqlite3SchemaToIndex(pParse->db, pTab->pSchema); + sqlite3OpenTable(pParse, pSort->aDefer[i].iCsr, iDb, pTab, OP_OpenRead); + nRefKey = MAX(nRefKey, pSort->aDefer[i].nKey); + } +#endif + + iTab = pSort->iECursor; + if( eDest==SRT_Output || eDest==SRT_Coroutine || eDest==SRT_Mem ){ + regRowid = 0; + regRow = pDest->iSdst; + }else{ + regRowid = sqlite3GetTempReg(pParse); + if( eDest==SRT_EphemTab || eDest==SRT_Table ){ + regRow = sqlite3GetTempReg(pParse); + nColumn = 0; + }else{ + regRow = sqlite3GetTempRange(pParse, nColumn); + } + } + nKey = pOrderBy->nExpr - pSort->nOBSat; + if( pSort->sortFlags & SORTFLAG_UseSorter ){ + int regSortOut = ++pParse->nMem; + iSortTab = pParse->nTab++; + if( pSort->labelBkOut ){ + addrOnce = sqlite3VdbeAddOp0(v, OP_Once); VdbeCoverage(v); + } + sqlite3VdbeAddOp3(v, OP_OpenPseudo, iSortTab, regSortOut, + nKey+1+nColumn+nRefKey); + if( addrOnce ) sqlite3VdbeJumpHere(v, addrOnce); + addr = 1 + sqlite3VdbeAddOp2(v, OP_SorterSort, iTab, addrBreak); + VdbeCoverage(v); + codeOffset(v, p->iOffset, addrContinue); + sqlite3VdbeAddOp3(v, OP_SorterData, iTab, regSortOut, iSortTab); + bSeq = 0; + }else{ + addr = 1 + sqlite3VdbeAddOp2(v, OP_Sort, iTab, addrBreak); VdbeCoverage(v); + codeOffset(v, p->iOffset, addrContinue); + iSortTab = iTab; + bSeq = 1; + } + for(i=0, iCol=nKey+bSeq-1; inDefer ){ + int iKey = iCol+1; + int regKey = sqlite3GetTempRange(pParse, nRefKey); + + for(i=0; inDefer; i++){ + int iCsr = pSort->aDefer[i].iCsr; + Table *pTab = pSort->aDefer[i].pTab; + int nKey = pSort->aDefer[i].nKey; + + sqlite3VdbeAddOp1(v, OP_NullRow, iCsr); + if( HasRowid(pTab) ){ + sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iKey++, regKey); + sqlite3VdbeAddOp3(v, OP_SeekRowid, iCsr, + sqlite3VdbeCurrentAddr(v)+1, regKey); + }else{ + int k; + int iJmp; + assert( sqlite3PrimaryKeyIndex(pTab)->nKeyCol==nKey ); + for(k=0; k=0; i--){ +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + if( aOutEx[i].bSorterRef ){ + sqlite3ExprCode(pParse, aOutEx[i].pExpr, regRow+i); + }else +#endif + { + int iRead; + if( aOutEx[i].u.x.iOrderByCol ){ + iRead = aOutEx[i].u.x.iOrderByCol-1; + }else{ + iRead = iCol--; + } + sqlite3VdbeAddOp3(v, OP_Column, iSortTab, iRead, regRow+i); + VdbeComment((v, "%s", aOutEx[i].zName?aOutEx[i].zName : aOutEx[i].zSpan)); + } + } + switch( eDest ){ + case SRT_Table: + case SRT_EphemTab: { + sqlite3VdbeAddOp3(v, OP_Column, iSortTab, nKey+bSeq, regRow); + sqlite3VdbeAddOp2(v, OP_NewRowid, iParm, regRowid); + sqlite3VdbeAddOp3(v, OP_Insert, iParm, regRow, regRowid); + sqlite3VdbeChangeP5(v, OPFLAG_APPEND); + break; + } +#ifndef SQLITE_OMIT_SUBQUERY + case SRT_Set: { + assert( nColumn==sqlite3Strlen30(pDest->zAffSdst) ); + sqlite3VdbeAddOp4(v, OP_MakeRecord, regRow, nColumn, regRowid, + pDest->zAffSdst, nColumn); + sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iParm, regRowid, regRow, nColumn); + break; + } + case SRT_Mem: { + /* The LIMIT clause will terminate the loop for us */ + break; + } +#endif + default: { + assert( eDest==SRT_Output || eDest==SRT_Coroutine ); + testcase( eDest==SRT_Output ); + testcase( eDest==SRT_Coroutine ); + if( eDest==SRT_Output ){ + sqlite3VdbeAddOp2(v, OP_ResultRow, pDest->iSdst, nColumn); + }else{ + sqlite3VdbeAddOp1(v, OP_Yield, pDest->iSDParm); + } + break; + } + } + if( regRowid ){ + if( eDest==SRT_Set ){ + sqlite3ReleaseTempRange(pParse, regRow, nColumn); + }else{ + sqlite3ReleaseTempReg(pParse, regRow); + } + sqlite3ReleaseTempReg(pParse, regRowid); + } + /* The bottom of the loop + */ + sqlite3VdbeResolveLabel(v, addrContinue); + if( pSort->sortFlags & SORTFLAG_UseSorter ){ + sqlite3VdbeAddOp2(v, OP_SorterNext, iTab, addr); VdbeCoverage(v); + }else{ + sqlite3VdbeAddOp2(v, OP_Next, iTab, addr); VdbeCoverage(v); + } + if( pSort->regReturn ) sqlite3VdbeAddOp1(v, OP_Return, pSort->regReturn); + sqlite3VdbeResolveLabel(v, addrBreak); +} + +/* +** Return a pointer to a string containing the 'declaration type' of the +** expression pExpr. The string may be treated as static by the caller. +** +** Also try to estimate the size of the returned value and return that +** result in *pEstWidth. +** +** The declaration type is the exact datatype definition extracted from the +** original CREATE TABLE statement if the expression is a column. The +** declaration type for a ROWID field is INTEGER. Exactly when an expression +** is considered a column can be complex in the presence of subqueries. The +** result-set expression in all of the following SELECT statements is +** considered a column by this function. +** +** SELECT col FROM tbl; +** SELECT (SELECT col FROM tbl; +** SELECT (SELECT col FROM tbl); +** SELECT abc FROM (SELECT col AS abc FROM tbl); +** +** The declaration type for any expression other than a column is NULL. +** +** This routine has either 3 or 6 parameters depending on whether or not +** the SQLITE_ENABLE_COLUMN_METADATA compile-time option is used. +*/ +#ifdef SQLITE_ENABLE_COLUMN_METADATA +# define columnType(A,B,C,D,E) columnTypeImpl(A,B,C,D,E) +#else /* if !defined(SQLITE_ENABLE_COLUMN_METADATA) */ +# define columnType(A,B,C,D,E) columnTypeImpl(A,B) +#endif +static const char *columnTypeImpl( + NameContext *pNC, +#ifndef SQLITE_ENABLE_COLUMN_METADATA + Expr *pExpr +#else + Expr *pExpr, + const char **pzOrigDb, + const char **pzOrigTab, + const char **pzOrigCol +#endif +){ + char const *zType = 0; + int j; +#ifdef SQLITE_ENABLE_COLUMN_METADATA + char const *zOrigDb = 0; + char const *zOrigTab = 0; + char const *zOrigCol = 0; +#endif + + assert( pExpr!=0 ); + assert( pNC->pSrcList!=0 ); + switch( pExpr->op ){ + case TK_COLUMN: { + /* The expression is a column. Locate the table the column is being + ** extracted from in NameContext.pSrcList. This table may be real + ** database table or a subquery. + */ + Table *pTab = 0; /* Table structure column is extracted from */ + Select *pS = 0; /* Select the column is extracted from */ + int iCol = pExpr->iColumn; /* Index of column in pTab */ + while( pNC && !pTab ){ + SrcList *pTabList = pNC->pSrcList; + for(j=0;jnSrc && pTabList->a[j].iCursor!=pExpr->iTable;j++); + if( jnSrc ){ + pTab = pTabList->a[j].pTab; + pS = pTabList->a[j].pSelect; + }else{ + pNC = pNC->pNext; + } + } + + if( pTab==0 ){ + /* At one time, code such as "SELECT new.x" within a trigger would + ** cause this condition to run. Since then, we have restructured how + ** trigger code is generated and so this condition is no longer + ** possible. However, it can still be true for statements like + ** the following: + ** + ** CREATE TABLE t1(col INTEGER); + ** SELECT (SELECT t1.col) FROM FROM t1; + ** + ** when columnType() is called on the expression "t1.col" in the + ** sub-select. In this case, set the column type to NULL, even + ** though it should really be "INTEGER". + ** + ** This is not a problem, as the column type of "t1.col" is never + ** used. When columnType() is called on the expression + ** "(SELECT t1.col)", the correct type is returned (see the TK_SELECT + ** branch below. */ + break; + } + + assert( pTab && pExpr->y.pTab==pTab ); + if( pS ){ + /* The "table" is actually a sub-select or a view in the FROM clause + ** of the SELECT statement. Return the declaration type and origin + ** data for the result-set column of the sub-select. + */ + if( iCol>=0 && iColpEList->nExpr ){ + /* If iCol is less than zero, then the expression requests the + ** rowid of the sub-select or view. This expression is legal (see + ** test case misc2.2.2) - it always evaluates to NULL. + */ + NameContext sNC; + Expr *p = pS->pEList->a[iCol].pExpr; + sNC.pSrcList = pS->pSrc; + sNC.pNext = pNC; + sNC.pParse = pNC->pParse; + zType = columnType(&sNC, p,&zOrigDb,&zOrigTab,&zOrigCol); + } + }else{ + /* A real table or a CTE table */ + assert( !pS ); +#ifdef SQLITE_ENABLE_COLUMN_METADATA + if( iCol<0 ) iCol = pTab->iPKey; + assert( iCol==XN_ROWID || (iCol>=0 && iColnCol) ); + if( iCol<0 ){ + zType = "INTEGER"; + zOrigCol = "rowid"; + }else{ + zOrigCol = pTab->aCol[iCol].zName; + zType = sqlite3ColumnType(&pTab->aCol[iCol],0); + } + zOrigTab = pTab->zName; + if( pNC->pParse && pTab->pSchema ){ + int iDb = sqlite3SchemaToIndex(pNC->pParse->db, pTab->pSchema); + zOrigDb = pNC->pParse->db->aDb[iDb].zDbSName; + } +#else + assert( iCol==XN_ROWID || (iCol>=0 && iColnCol) ); + if( iCol<0 ){ + zType = "INTEGER"; + }else{ + zType = sqlite3ColumnType(&pTab->aCol[iCol],0); + } +#endif + } + break; + } +#ifndef SQLITE_OMIT_SUBQUERY + case TK_SELECT: { + /* The expression is a sub-select. Return the declaration type and + ** origin info for the single column in the result set of the SELECT + ** statement. + */ + NameContext sNC; + Select *pS = pExpr->x.pSelect; + Expr *p = pS->pEList->a[0].pExpr; + assert( ExprHasProperty(pExpr, EP_xIsSelect) ); + sNC.pSrcList = pS->pSrc; + sNC.pNext = pNC; + sNC.pParse = pNC->pParse; + zType = columnType(&sNC, p, &zOrigDb, &zOrigTab, &zOrigCol); + break; + } +#endif + } + +#ifdef SQLITE_ENABLE_COLUMN_METADATA + if( pzOrigDb ){ + assert( pzOrigTab && pzOrigCol ); + *pzOrigDb = zOrigDb; + *pzOrigTab = zOrigTab; + *pzOrigCol = zOrigCol; + } +#endif + return zType; +} + +/* +** Generate code that will tell the VDBE the declaration types of columns +** in the result set. +*/ +static void generateColumnTypes( + Parse *pParse, /* Parser context */ + SrcList *pTabList, /* List of tables */ + ExprList *pEList /* Expressions defining the result set */ +){ +#ifndef SQLITE_OMIT_DECLTYPE + Vdbe *v = pParse->pVdbe; + int i; + NameContext sNC; + sNC.pSrcList = pTabList; + sNC.pParse = pParse; + sNC.pNext = 0; + for(i=0; inExpr; i++){ + Expr *p = pEList->a[i].pExpr; + const char *zType; +#ifdef SQLITE_ENABLE_COLUMN_METADATA + const char *zOrigDb = 0; + const char *zOrigTab = 0; + const char *zOrigCol = 0; + zType = columnType(&sNC, p, &zOrigDb, &zOrigTab, &zOrigCol); + + /* The vdbe must make its own copy of the column-type and other + ** column specific strings, in case the schema is reset before this + ** virtual machine is deleted. + */ + sqlite3VdbeSetColName(v, i, COLNAME_DATABASE, zOrigDb, SQLITE_TRANSIENT); + sqlite3VdbeSetColName(v, i, COLNAME_TABLE, zOrigTab, SQLITE_TRANSIENT); + sqlite3VdbeSetColName(v, i, COLNAME_COLUMN, zOrigCol, SQLITE_TRANSIENT); +#else + zType = columnType(&sNC, p, 0, 0, 0); +#endif + sqlite3VdbeSetColName(v, i, COLNAME_DECLTYPE, zType, SQLITE_TRANSIENT); + } +#endif /* !defined(SQLITE_OMIT_DECLTYPE) */ +} + + +/* +** Compute the column names for a SELECT statement. +** +** The only guarantee that SQLite makes about column names is that if the +** column has an AS clause assigning it a name, that will be the name used. +** That is the only documented guarantee. However, countless applications +** developed over the years have made baseless assumptions about column names +** and will break if those assumptions changes. Hence, use extreme caution +** when modifying this routine to avoid breaking legacy. +** +** See Also: sqlite3ColumnsFromExprList() +** +** The PRAGMA short_column_names and PRAGMA full_column_names settings are +** deprecated. The default setting is short=ON, full=OFF. 99.9% of all +** applications should operate this way. Nevertheless, we need to support the +** other modes for legacy: +** +** short=OFF, full=OFF: Column name is the text of the expression has it +** originally appears in the SELECT statement. In +** other words, the zSpan of the result expression. +** +** short=ON, full=OFF: (This is the default setting). If the result +** refers directly to a table column, then the +** result column name is just the table column +** name: COLUMN. Otherwise use zSpan. +** +** full=ON, short=ANY: If the result refers directly to a table column, +** then the result column name with the table name +** prefix, ex: TABLE.COLUMN. Otherwise use zSpan. +*/ +static void generateColumnNames( + Parse *pParse, /* Parser context */ + Select *pSelect /* Generate column names for this SELECT statement */ +){ + Vdbe *v = pParse->pVdbe; + int i; + Table *pTab; + SrcList *pTabList; + ExprList *pEList; + sqlite3 *db = pParse->db; + int fullName; /* TABLE.COLUMN if no AS clause and is a direct table ref */ + int srcName; /* COLUMN or TABLE.COLUMN if no AS clause and is direct */ + +#ifndef SQLITE_OMIT_EXPLAIN + /* If this is an EXPLAIN, skip this step */ + if( pParse->explain ){ + return; + } +#endif + + if( pParse->colNamesSet ) return; + /* Column names are determined by the left-most term of a compound select */ + while( pSelect->pPrior ) pSelect = pSelect->pPrior; + SELECTTRACE(1,pParse,pSelect,("generating column names\n")); + pTabList = pSelect->pSrc; + pEList = pSelect->pEList; + assert( v!=0 ); + assert( pTabList!=0 ); + pParse->colNamesSet = 1; + fullName = (db->flags & SQLITE_FullColNames)!=0; + srcName = (db->flags & SQLITE_ShortColNames)!=0 || fullName; + sqlite3VdbeSetNumCols(v, pEList->nExpr); + for(i=0; inExpr; i++){ + Expr *p = pEList->a[i].pExpr; + + assert( p!=0 ); + assert( p->op!=TK_AGG_COLUMN ); /* Agg processing has not run yet */ + assert( p->op!=TK_COLUMN || p->y.pTab!=0 ); /* Covering idx not yet coded */ + if( pEList->a[i].zName ){ + /* An AS clause always takes first priority */ + char *zName = pEList->a[i].zName; + sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_TRANSIENT); + }else if( srcName && p->op==TK_COLUMN ){ + char *zCol; + int iCol = p->iColumn; + pTab = p->y.pTab; + assert( pTab!=0 ); + if( iCol<0 ) iCol = pTab->iPKey; + assert( iCol==-1 || (iCol>=0 && iColnCol) ); + if( iCol<0 ){ + zCol = "rowid"; + }else{ + zCol = pTab->aCol[iCol].zName; + } + if( fullName ){ + char *zName = 0; + zName = sqlite3MPrintf(db, "%s.%s", pTab->zName, zCol); + sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC); + }else{ + sqlite3VdbeSetColName(v, i, COLNAME_NAME, zCol, SQLITE_TRANSIENT); + } + }else{ + const char *z = pEList->a[i].zSpan; + z = z==0 ? sqlite3MPrintf(db, "column%d", i+1) : sqlite3DbStrDup(db, z); + sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC); + } + } + generateColumnTypes(pParse, pTabList, pEList); +} + +/* +** Given an expression list (which is really the list of expressions +** that form the result set of a SELECT statement) compute appropriate +** column names for a table that would hold the expression list. +** +** All column names will be unique. +** +** Only the column names are computed. Column.zType, Column.zColl, +** and other fields of Column are zeroed. +** +** Return SQLITE_OK on success. If a memory allocation error occurs, +** store NULL in *paCol and 0 in *pnCol and return SQLITE_NOMEM. +** +** The only guarantee that SQLite makes about column names is that if the +** column has an AS clause assigning it a name, that will be the name used. +** That is the only documented guarantee. However, countless applications +** developed over the years have made baseless assumptions about column names +** and will break if those assumptions changes. Hence, use extreme caution +** when modifying this routine to avoid breaking legacy. +** +** See Also: generateColumnNames() +*/ +SQLITE_PRIVATE int sqlite3ColumnsFromExprList( + Parse *pParse, /* Parsing context */ + ExprList *pEList, /* Expr list from which to derive column names */ + i16 *pnCol, /* Write the number of columns here */ + Column **paCol /* Write the new column list here */ +){ + sqlite3 *db = pParse->db; /* Database connection */ + int i, j; /* Loop counters */ + u32 cnt; /* Index added to make the name unique */ + Column *aCol, *pCol; /* For looping over result columns */ + int nCol; /* Number of columns in the result set */ + char *zName; /* Column name */ + int nName; /* Size of name in zName[] */ + Hash ht; /* Hash table of column names */ + + sqlite3HashInit(&ht); + if( pEList ){ + nCol = pEList->nExpr; + aCol = sqlite3DbMallocZero(db, sizeof(aCol[0])*nCol); + testcase( aCol==0 ); + if( nCol>32767 ) nCol = 32767; + }else{ + nCol = 0; + aCol = 0; + } + assert( nCol==(i16)nCol ); + *pnCol = nCol; + *paCol = aCol; + + for(i=0, pCol=aCol; imallocFailed; i++, pCol++){ + /* Get an appropriate name for the column + */ + if( (zName = pEList->a[i].zName)!=0 ){ + /* If the column contains an "AS " phrase, use as the name */ + }else{ + Expr *pColExpr = sqlite3ExprSkipCollateAndLikely(pEList->a[i].pExpr); + while( pColExpr->op==TK_DOT ){ + pColExpr = pColExpr->pRight; + assert( pColExpr!=0 ); + } + if( pColExpr->op==TK_COLUMN ){ + /* For columns use the column name name */ + int iCol = pColExpr->iColumn; + Table *pTab = pColExpr->y.pTab; + assert( pTab!=0 ); + if( iCol<0 ) iCol = pTab->iPKey; + zName = iCol>=0 ? pTab->aCol[iCol].zName : "rowid"; + }else if( pColExpr->op==TK_ID ){ + assert( !ExprHasProperty(pColExpr, EP_IntValue) ); + zName = pColExpr->u.zToken; + }else{ + /* Use the original text of the column expression as its name */ + zName = pEList->a[i].zSpan; + } + } + if( zName ){ + zName = sqlite3DbStrDup(db, zName); + }else{ + zName = sqlite3MPrintf(db,"column%d",i+1); + } + + /* Make sure the column name is unique. If the name is not unique, + ** append an integer to the name so that it becomes unique. + */ + cnt = 0; + while( zName && sqlite3HashFind(&ht, zName)!=0 ){ + nName = sqlite3Strlen30(zName); + if( nName>0 ){ + for(j=nName-1; j>0 && sqlite3Isdigit(zName[j]); j--){} + if( zName[j]==':' ) nName = j; + } + zName = sqlite3MPrintf(db, "%.*z:%u", nName, zName, ++cnt); + if( cnt>3 ) sqlite3_randomness(sizeof(cnt), &cnt); + } + pCol->zName = zName; + sqlite3ColumnPropertiesFromName(0, pCol); + if( zName && sqlite3HashInsert(&ht, zName, pCol)==pCol ){ + sqlite3OomFault(db); + } + } + sqlite3HashClear(&ht); + if( db->mallocFailed ){ + for(j=0; jdb; + NameContext sNC; + Column *pCol; + CollSeq *pColl; + int i; + Expr *p; + struct ExprList_item *a; + + assert( pSelect!=0 ); + assert( (pSelect->selFlags & SF_Resolved)!=0 ); + assert( pTab->nCol==pSelect->pEList->nExpr || db->mallocFailed ); + if( db->mallocFailed ) return; + memset(&sNC, 0, sizeof(sNC)); + sNC.pSrcList = pSelect->pSrc; + a = pSelect->pEList->a; + for(i=0, pCol=pTab->aCol; inCol; i++, pCol++){ + const char *zType; + int n, m; + p = a[i].pExpr; + zType = columnType(&sNC, p, 0, 0, 0); + /* pCol->szEst = ... // Column size est for SELECT tables never used */ + pCol->affinity = sqlite3ExprAffinity(p); + if( zType ){ + m = sqlite3Strlen30(zType); + n = sqlite3Strlen30(pCol->zName); + pCol->zName = sqlite3DbReallocOrFree(db, pCol->zName, n+m+2); + if( pCol->zName ){ + memcpy(&pCol->zName[n+1], zType, m+1); + pCol->colFlags |= COLFLAG_HASTYPE; + } + } + if( pCol->affinity<=SQLITE_AFF_NONE ) pCol->affinity = aff; + pColl = sqlite3ExprCollSeq(pParse, p); + if( pColl && pCol->zColl==0 ){ + pCol->zColl = sqlite3DbStrDup(db, pColl->zName); + } + } + pTab->szTabRow = 1; /* Any non-zero value works */ +} + +/* +** Given a SELECT statement, generate a Table structure that describes +** the result set of that SELECT. +*/ +SQLITE_PRIVATE Table *sqlite3ResultSetOfSelect(Parse *pParse, Select *pSelect, char aff){ + Table *pTab; + sqlite3 *db = pParse->db; + u64 savedFlags; + + savedFlags = db->flags; + db->flags &= ~(u64)SQLITE_FullColNames; + db->flags |= SQLITE_ShortColNames; + sqlite3SelectPrep(pParse, pSelect, 0); + db->flags = savedFlags; + if( pParse->nErr ) return 0; + while( pSelect->pPrior ) pSelect = pSelect->pPrior; + pTab = sqlite3DbMallocZero(db, sizeof(Table) ); + if( pTab==0 ){ + return 0; + } + pTab->nTabRef = 1; + pTab->zName = 0; + pTab->nRowLogEst = 200; assert( 200==sqlite3LogEst(1048576) ); + sqlite3ColumnsFromExprList(pParse, pSelect->pEList, &pTab->nCol, &pTab->aCol); + sqlite3SelectAddColumnTypeAndCollation(pParse, pTab, pSelect, aff); + pTab->iPKey = -1; + if( db->mallocFailed ){ + sqlite3DeleteTable(db, pTab); + return 0; + } + return pTab; +} + +/* +** Get a VDBE for the given parser context. Create a new one if necessary. +** If an error occurs, return NULL and leave a message in pParse. +*/ +SQLITE_PRIVATE Vdbe *sqlite3GetVdbe(Parse *pParse){ + if( pParse->pVdbe ){ + return pParse->pVdbe; + } + if( pParse->pToplevel==0 + && OptimizationEnabled(pParse->db,SQLITE_FactorOutConst) + ){ + pParse->okConstFactor = 1; + } + return sqlite3VdbeCreate(pParse); +} + + +/* +** Compute the iLimit and iOffset fields of the SELECT based on the +** pLimit expressions. pLimit->pLeft and pLimit->pRight hold the expressions +** that appear in the original SQL statement after the LIMIT and OFFSET +** keywords. Or NULL if those keywords are omitted. iLimit and iOffset +** are the integer memory register numbers for counters used to compute +** the limit and offset. If there is no limit and/or offset, then +** iLimit and iOffset are negative. +** +** This routine changes the values of iLimit and iOffset only if +** a limit or offset is defined by pLimit->pLeft and pLimit->pRight. iLimit +** and iOffset should have been preset to appropriate default values (zero) +** prior to calling this routine. +** +** The iOffset register (if it exists) is initialized to the value +** of the OFFSET. The iLimit register is initialized to LIMIT. Register +** iOffset+1 is initialized to LIMIT+OFFSET. +** +** Only if pLimit->pLeft!=0 do the limit registers get +** redefined. The UNION ALL operator uses this property to force +** the reuse of the same limit and offset registers across multiple +** SELECT statements. +*/ +static void computeLimitRegisters(Parse *pParse, Select *p, int iBreak){ + Vdbe *v = 0; + int iLimit = 0; + int iOffset; + int n; + Expr *pLimit = p->pLimit; + + if( p->iLimit ) return; + + /* + ** "LIMIT -1" always shows all rows. There is some + ** controversy about what the correct behavior should be. + ** The current implementation interprets "LIMIT 0" to mean + ** no rows. + */ + if( pLimit ){ + assert( pLimit->op==TK_LIMIT ); + assert( pLimit->pLeft!=0 ); + p->iLimit = iLimit = ++pParse->nMem; + v = sqlite3GetVdbe(pParse); + assert( v!=0 ); + if( sqlite3ExprIsInteger(pLimit->pLeft, &n) ){ + sqlite3VdbeAddOp2(v, OP_Integer, n, iLimit); + VdbeComment((v, "LIMIT counter")); + if( n==0 ){ + sqlite3VdbeGoto(v, iBreak); + }else if( n>=0 && p->nSelectRow>sqlite3LogEst((u64)n) ){ + p->nSelectRow = sqlite3LogEst((u64)n); + p->selFlags |= SF_FixedLimit; + } + }else{ + sqlite3ExprCode(pParse, pLimit->pLeft, iLimit); + sqlite3VdbeAddOp1(v, OP_MustBeInt, iLimit); VdbeCoverage(v); + VdbeComment((v, "LIMIT counter")); + sqlite3VdbeAddOp2(v, OP_IfNot, iLimit, iBreak); VdbeCoverage(v); + } + if( pLimit->pRight ){ + p->iOffset = iOffset = ++pParse->nMem; + pParse->nMem++; /* Allocate an extra register for limit+offset */ + sqlite3ExprCode(pParse, pLimit->pRight, iOffset); + sqlite3VdbeAddOp1(v, OP_MustBeInt, iOffset); VdbeCoverage(v); + VdbeComment((v, "OFFSET counter")); + sqlite3VdbeAddOp3(v, OP_OffsetLimit, iLimit, iOffset+1, iOffset); + VdbeComment((v, "LIMIT+OFFSET")); + } + } +} + +#ifndef SQLITE_OMIT_COMPOUND_SELECT +/* +** Return the appropriate collating sequence for the iCol-th column of +** the result set for the compound-select statement "p". Return NULL if +** the column has no default collating sequence. +** +** The collating sequence for the compound select is taken from the +** left-most term of the select that has a collating sequence. +*/ +static CollSeq *multiSelectCollSeq(Parse *pParse, Select *p, int iCol){ + CollSeq *pRet; + if( p->pPrior ){ + pRet = multiSelectCollSeq(pParse, p->pPrior, iCol); + }else{ + pRet = 0; + } + assert( iCol>=0 ); + /* iCol must be less than p->pEList->nExpr. Otherwise an error would + ** have been thrown during name resolution and we would not have gotten + ** this far */ + if( pRet==0 && ALWAYS(iColpEList->nExpr) ){ + pRet = sqlite3ExprCollSeq(pParse, p->pEList->a[iCol].pExpr); + } + return pRet; +} + +/* +** The select statement passed as the second parameter is a compound SELECT +** with an ORDER BY clause. This function allocates and returns a KeyInfo +** structure suitable for implementing the ORDER BY. +** +** Space to hold the KeyInfo structure is obtained from malloc. The calling +** function is responsible for ensuring that this structure is eventually +** freed. +*/ +static KeyInfo *multiSelectOrderByKeyInfo(Parse *pParse, Select *p, int nExtra){ + ExprList *pOrderBy = p->pOrderBy; + int nOrderBy = p->pOrderBy->nExpr; + sqlite3 *db = pParse->db; + KeyInfo *pRet = sqlite3KeyInfoAlloc(db, nOrderBy+nExtra, 1); + if( pRet ){ + int i; + for(i=0; ia[i]; + Expr *pTerm = pItem->pExpr; + CollSeq *pColl; + + if( pTerm->flags & EP_Collate ){ + pColl = sqlite3ExprCollSeq(pParse, pTerm); + }else{ + pColl = multiSelectCollSeq(pParse, p, pItem->u.x.iOrderByCol-1); + if( pColl==0 ) pColl = db->pDfltColl; + pOrderBy->a[i].pExpr = + sqlite3ExprAddCollateString(pParse, pTerm, pColl->zName); + } + assert( sqlite3KeyInfoIsWriteable(pRet) ); + pRet->aColl[i] = pColl; + pRet->aSortFlags[i] = pOrderBy->a[i].sortFlags; + } + } + + return pRet; +} + +#ifndef SQLITE_OMIT_CTE +/* +** This routine generates VDBE code to compute the content of a WITH RECURSIVE +** query of the form: +** +** AS ( UNION [ALL] ) +** \___________/ \_______________/ +** p->pPrior p +** +** +** There is exactly one reference to the recursive-table in the FROM clause +** of recursive-query, marked with the SrcList->a[].fg.isRecursive flag. +** +** The setup-query runs once to generate an initial set of rows that go +** into a Queue table. Rows are extracted from the Queue table one by +** one. Each row extracted from Queue is output to pDest. Then the single +** extracted row (now in the iCurrent table) becomes the content of the +** recursive-table for a recursive-query run. The output of the recursive-query +** is added back into the Queue table. Then another row is extracted from Queue +** and the iteration continues until the Queue table is empty. +** +** If the compound query operator is UNION then no duplicate rows are ever +** inserted into the Queue table. The iDistinct table keeps a copy of all rows +** that have ever been inserted into Queue and causes duplicates to be +** discarded. If the operator is UNION ALL, then duplicates are allowed. +** +** If the query has an ORDER BY, then entries in the Queue table are kept in +** ORDER BY order and the first entry is extracted for each cycle. Without +** an ORDER BY, the Queue table is just a FIFO. +** +** If a LIMIT clause is provided, then the iteration stops after LIMIT rows +** have been output to pDest. A LIMIT of zero means to output no rows and a +** negative LIMIT means to output all rows. If there is also an OFFSET clause +** with a positive value, then the first OFFSET outputs are discarded rather +** than being sent to pDest. The LIMIT count does not begin until after OFFSET +** rows have been skipped. +*/ +static void generateWithRecursiveQuery( + Parse *pParse, /* Parsing context */ + Select *p, /* The recursive SELECT to be coded */ + SelectDest *pDest /* What to do with query results */ +){ + SrcList *pSrc = p->pSrc; /* The FROM clause of the recursive query */ + int nCol = p->pEList->nExpr; /* Number of columns in the recursive table */ + Vdbe *v = pParse->pVdbe; /* The prepared statement under construction */ + Select *pSetup = p->pPrior; /* The setup query */ + int addrTop; /* Top of the loop */ + int addrCont, addrBreak; /* CONTINUE and BREAK addresses */ + int iCurrent = 0; /* The Current table */ + int regCurrent; /* Register holding Current table */ + int iQueue; /* The Queue table */ + int iDistinct = 0; /* To ensure unique results if UNION */ + int eDest = SRT_Fifo; /* How to write to Queue */ + SelectDest destQueue; /* SelectDest targetting the Queue table */ + int i; /* Loop counter */ + int rc; /* Result code */ + ExprList *pOrderBy; /* The ORDER BY clause */ + Expr *pLimit; /* Saved LIMIT and OFFSET */ + int regLimit, regOffset; /* Registers used by LIMIT and OFFSET */ + +#ifndef SQLITE_OMIT_WINDOWFUNC + if( p->pWin ){ + sqlite3ErrorMsg(pParse, "cannot use window functions in recursive queries"); + return; + } +#endif + + /* Obtain authorization to do a recursive query */ + if( sqlite3AuthCheck(pParse, SQLITE_RECURSIVE, 0, 0, 0) ) return; + + /* Process the LIMIT and OFFSET clauses, if they exist */ + addrBreak = sqlite3VdbeMakeLabel(pParse); + p->nSelectRow = 320; /* 4 billion rows */ + computeLimitRegisters(pParse, p, addrBreak); + pLimit = p->pLimit; + regLimit = p->iLimit; + regOffset = p->iOffset; + p->pLimit = 0; + p->iLimit = p->iOffset = 0; + pOrderBy = p->pOrderBy; + + /* Locate the cursor number of the Current table */ + for(i=0; ALWAYS(inSrc); i++){ + if( pSrc->a[i].fg.isRecursive ){ + iCurrent = pSrc->a[i].iCursor; + break; + } + } + + /* Allocate cursors numbers for Queue and Distinct. The cursor number for + ** the Distinct table must be exactly one greater than Queue in order + ** for the SRT_DistFifo and SRT_DistQueue destinations to work. */ + iQueue = pParse->nTab++; + if( p->op==TK_UNION ){ + eDest = pOrderBy ? SRT_DistQueue : SRT_DistFifo; + iDistinct = pParse->nTab++; + }else{ + eDest = pOrderBy ? SRT_Queue : SRT_Fifo; + } + sqlite3SelectDestInit(&destQueue, eDest, iQueue); + + /* Allocate cursors for Current, Queue, and Distinct. */ + regCurrent = ++pParse->nMem; + sqlite3VdbeAddOp3(v, OP_OpenPseudo, iCurrent, regCurrent, nCol); + if( pOrderBy ){ + KeyInfo *pKeyInfo = multiSelectOrderByKeyInfo(pParse, p, 1); + sqlite3VdbeAddOp4(v, OP_OpenEphemeral, iQueue, pOrderBy->nExpr+2, 0, + (char*)pKeyInfo, P4_KEYINFO); + destQueue.pOrderBy = pOrderBy; + }else{ + sqlite3VdbeAddOp2(v, OP_OpenEphemeral, iQueue, nCol); + } + VdbeComment((v, "Queue table")); + if( iDistinct ){ + p->addrOpenEphm[0] = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, iDistinct, 0); + p->selFlags |= SF_UsesEphemeral; + } + + /* Detach the ORDER BY clause from the compound SELECT */ + p->pOrderBy = 0; + + /* Store the results of the setup-query in Queue. */ + pSetup->pNext = 0; + ExplainQueryPlan((pParse, 1, "SETUP")); + rc = sqlite3Select(pParse, pSetup, &destQueue); + pSetup->pNext = p; + if( rc ) goto end_of_recursive_query; + + /* Find the next row in the Queue and output that row */ + addrTop = sqlite3VdbeAddOp2(v, OP_Rewind, iQueue, addrBreak); VdbeCoverage(v); + + /* Transfer the next row in Queue over to Current */ + sqlite3VdbeAddOp1(v, OP_NullRow, iCurrent); /* To reset column cache */ + if( pOrderBy ){ + sqlite3VdbeAddOp3(v, OP_Column, iQueue, pOrderBy->nExpr+1, regCurrent); + }else{ + sqlite3VdbeAddOp2(v, OP_RowData, iQueue, regCurrent); + } + sqlite3VdbeAddOp1(v, OP_Delete, iQueue); + + /* Output the single row in Current */ + addrCont = sqlite3VdbeMakeLabel(pParse); + codeOffset(v, regOffset, addrCont); + selectInnerLoop(pParse, p, iCurrent, + 0, 0, pDest, addrCont, addrBreak); + if( regLimit ){ + sqlite3VdbeAddOp2(v, OP_DecrJumpZero, regLimit, addrBreak); + VdbeCoverage(v); + } + sqlite3VdbeResolveLabel(v, addrCont); + + /* Execute the recursive SELECT taking the single row in Current as + ** the value for the recursive-table. Store the results in the Queue. + */ + if( p->selFlags & SF_Aggregate ){ + sqlite3ErrorMsg(pParse, "recursive aggregate queries not supported"); + }else{ + p->pPrior = 0; + ExplainQueryPlan((pParse, 1, "RECURSIVE STEP")); + sqlite3Select(pParse, p, &destQueue); + assert( p->pPrior==0 ); + p->pPrior = pSetup; + } + + /* Keep running the loop until the Queue is empty */ + sqlite3VdbeGoto(v, addrTop); + sqlite3VdbeResolveLabel(v, addrBreak); + +end_of_recursive_query: + sqlite3ExprListDelete(pParse->db, p->pOrderBy); + p->pOrderBy = pOrderBy; + p->pLimit = pLimit; + return; +} +#endif /* SQLITE_OMIT_CTE */ + +/* Forward references */ +static int multiSelectOrderBy( + Parse *pParse, /* Parsing context */ + Select *p, /* The right-most of SELECTs to be coded */ + SelectDest *pDest /* What to do with query results */ +); + +/* +** Handle the special case of a compound-select that originates from a +** VALUES clause. By handling this as a special case, we avoid deep +** recursion, and thus do not need to enforce the SQLITE_LIMIT_COMPOUND_SELECT +** on a VALUES clause. +** +** Because the Select object originates from a VALUES clause: +** (1) There is no LIMIT or OFFSET or else there is a LIMIT of exactly 1 +** (2) All terms are UNION ALL +** (3) There is no ORDER BY clause +** +** The "LIMIT of exactly 1" case of condition (1) comes about when a VALUES +** clause occurs within scalar expression (ex: "SELECT (VALUES(1),(2),(3))"). +** The sqlite3CodeSubselect will have added the LIMIT 1 clause in tht case. +** Since the limit is exactly 1, we only need to evalutes the left-most VALUES. +*/ +static int multiSelectValues( + Parse *pParse, /* Parsing context */ + Select *p, /* The right-most of SELECTs to be coded */ + SelectDest *pDest /* What to do with query results */ +){ + int nRow = 1; + int rc = 0; + int bShowAll = p->pLimit==0; + assert( p->selFlags & SF_MultiValue ); + do{ + assert( p->selFlags & SF_Values ); + assert( p->op==TK_ALL || (p->op==TK_SELECT && p->pPrior==0) ); + assert( p->pNext==0 || p->pEList->nExpr==p->pNext->pEList->nExpr ); + if( p->pPrior==0 ) break; + assert( p->pPrior->pNext==p ); + p = p->pPrior; + nRow += bShowAll; + }while(1); + ExplainQueryPlan((pParse, 0, "SCAN %d CONSTANT ROW%s", nRow, + nRow==1 ? "" : "S")); + while( p ){ + selectInnerLoop(pParse, p, -1, 0, 0, pDest, 1, 1); + if( !bShowAll ) break; + p->nSelectRow = nRow; + p = p->pNext; + } + return rc; +} + +/* +** This routine is called to process a compound query form from +** two or more separate queries using UNION, UNION ALL, EXCEPT, or +** INTERSECT +** +** "p" points to the right-most of the two queries. the query on the +** left is p->pPrior. The left query could also be a compound query +** in which case this routine will be called recursively. +** +** The results of the total query are to be written into a destination +** of type eDest with parameter iParm. +** +** Example 1: Consider a three-way compound SQL statement. +** +** SELECT a FROM t1 UNION SELECT b FROM t2 UNION SELECT c FROM t3 +** +** This statement is parsed up as follows: +** +** SELECT c FROM t3 +** | +** `-----> SELECT b FROM t2 +** | +** `------> SELECT a FROM t1 +** +** The arrows in the diagram above represent the Select.pPrior pointer. +** So if this routine is called with p equal to the t3 query, then +** pPrior will be the t2 query. p->op will be TK_UNION in this case. +** +** Notice that because of the way SQLite parses compound SELECTs, the +** individual selects always group from left to right. +*/ +static int multiSelect( + Parse *pParse, /* Parsing context */ + Select *p, /* The right-most of SELECTs to be coded */ + SelectDest *pDest /* What to do with query results */ +){ + int rc = SQLITE_OK; /* Success code from a subroutine */ + Select *pPrior; /* Another SELECT immediately to our left */ + Vdbe *v; /* Generate code to this VDBE */ + SelectDest dest; /* Alternative data destination */ + Select *pDelete = 0; /* Chain of simple selects to delete */ + sqlite3 *db; /* Database connection */ + + /* Make sure there is no ORDER BY or LIMIT clause on prior SELECTs. Only + ** the last (right-most) SELECT in the series may have an ORDER BY or LIMIT. + */ + assert( p && p->pPrior ); /* Calling function guarantees this much */ + assert( (p->selFlags & SF_Recursive)==0 || p->op==TK_ALL || p->op==TK_UNION ); + assert( p->selFlags & SF_Compound ); + db = pParse->db; + pPrior = p->pPrior; + dest = *pDest; + if( pPrior->pOrderBy || pPrior->pLimit ){ + sqlite3ErrorMsg(pParse,"%s clause should come after %s not before", + pPrior->pOrderBy!=0 ? "ORDER BY" : "LIMIT", selectOpName(p->op)); + rc = 1; + goto multi_select_end; + } + + v = sqlite3GetVdbe(pParse); + assert( v!=0 ); /* The VDBE already created by calling function */ + + /* Create the destination temporary table if necessary + */ + if( dest.eDest==SRT_EphemTab ){ + assert( p->pEList ); + sqlite3VdbeAddOp2(v, OP_OpenEphemeral, dest.iSDParm, p->pEList->nExpr); + dest.eDest = SRT_Table; + } + + /* Special handling for a compound-select that originates as a VALUES clause. + */ + if( p->selFlags & SF_MultiValue ){ + rc = multiSelectValues(pParse, p, &dest); + goto multi_select_end; + } + + /* Make sure all SELECTs in the statement have the same number of elements + ** in their result sets. + */ + assert( p->pEList && pPrior->pEList ); + assert( p->pEList->nExpr==pPrior->pEList->nExpr ); + +#ifndef SQLITE_OMIT_CTE + if( p->selFlags & SF_Recursive ){ + generateWithRecursiveQuery(pParse, p, &dest); + }else +#endif + + /* Compound SELECTs that have an ORDER BY clause are handled separately. + */ + if( p->pOrderBy ){ + return multiSelectOrderBy(pParse, p, pDest); + }else{ + +#ifndef SQLITE_OMIT_EXPLAIN + if( pPrior->pPrior==0 ){ + ExplainQueryPlan((pParse, 1, "COMPOUND QUERY")); + ExplainQueryPlan((pParse, 1, "LEFT-MOST SUBQUERY")); + } +#endif + + /* Generate code for the left and right SELECT statements. + */ + switch( p->op ){ + case TK_ALL: { + int addr = 0; + int nLimit; + assert( !pPrior->pLimit ); + pPrior->iLimit = p->iLimit; + pPrior->iOffset = p->iOffset; + pPrior->pLimit = p->pLimit; + rc = sqlite3Select(pParse, pPrior, &dest); + p->pLimit = 0; + if( rc ){ + goto multi_select_end; + } + p->pPrior = 0; + p->iLimit = pPrior->iLimit; + p->iOffset = pPrior->iOffset; + if( p->iLimit ){ + addr = sqlite3VdbeAddOp1(v, OP_IfNot, p->iLimit); VdbeCoverage(v); + VdbeComment((v, "Jump ahead if LIMIT reached")); + if( p->iOffset ){ + sqlite3VdbeAddOp3(v, OP_OffsetLimit, + p->iLimit, p->iOffset+1, p->iOffset); + } + } + ExplainQueryPlan((pParse, 1, "UNION ALL")); + rc = sqlite3Select(pParse, p, &dest); + testcase( rc!=SQLITE_OK ); + pDelete = p->pPrior; + p->pPrior = pPrior; + p->nSelectRow = sqlite3LogEstAdd(p->nSelectRow, pPrior->nSelectRow); + if( pPrior->pLimit + && sqlite3ExprIsInteger(pPrior->pLimit->pLeft, &nLimit) + && nLimit>0 && p->nSelectRow > sqlite3LogEst((u64)nLimit) + ){ + p->nSelectRow = sqlite3LogEst((u64)nLimit); + } + if( addr ){ + sqlite3VdbeJumpHere(v, addr); + } + break; + } + case TK_EXCEPT: + case TK_UNION: { + int unionTab; /* Cursor number of the temp table holding result */ + u8 op = 0; /* One of the SRT_ operations to apply to self */ + int priorOp; /* The SRT_ operation to apply to prior selects */ + Expr *pLimit; /* Saved values of p->nLimit */ + int addr; + SelectDest uniondest; + + testcase( p->op==TK_EXCEPT ); + testcase( p->op==TK_UNION ); + priorOp = SRT_Union; + if( dest.eDest==priorOp ){ + /* We can reuse a temporary table generated by a SELECT to our + ** right. + */ + assert( p->pLimit==0 ); /* Not allowed on leftward elements */ + unionTab = dest.iSDParm; + }else{ + /* We will need to create our own temporary table to hold the + ** intermediate results. + */ + unionTab = pParse->nTab++; + assert( p->pOrderBy==0 ); + addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, unionTab, 0); + assert( p->addrOpenEphm[0] == -1 ); + p->addrOpenEphm[0] = addr; + findRightmost(p)->selFlags |= SF_UsesEphemeral; + assert( p->pEList ); + } + + /* Code the SELECT statements to our left + */ + assert( !pPrior->pOrderBy ); + sqlite3SelectDestInit(&uniondest, priorOp, unionTab); + rc = sqlite3Select(pParse, pPrior, &uniondest); + if( rc ){ + goto multi_select_end; + } + + /* Code the current SELECT statement + */ + if( p->op==TK_EXCEPT ){ + op = SRT_Except; + }else{ + assert( p->op==TK_UNION ); + op = SRT_Union; + } + p->pPrior = 0; + pLimit = p->pLimit; + p->pLimit = 0; + uniondest.eDest = op; + ExplainQueryPlan((pParse, 1, "%s USING TEMP B-TREE", + selectOpName(p->op))); + rc = sqlite3Select(pParse, p, &uniondest); + testcase( rc!=SQLITE_OK ); + /* Query flattening in sqlite3Select() might refill p->pOrderBy. + ** Be sure to delete p->pOrderBy, therefore, to avoid a memory leak. */ + sqlite3ExprListDelete(db, p->pOrderBy); + pDelete = p->pPrior; + p->pPrior = pPrior; + p->pOrderBy = 0; + if( p->op==TK_UNION ){ + p->nSelectRow = sqlite3LogEstAdd(p->nSelectRow, pPrior->nSelectRow); + } + sqlite3ExprDelete(db, p->pLimit); + p->pLimit = pLimit; + p->iLimit = 0; + p->iOffset = 0; + + /* Convert the data in the temporary table into whatever form + ** it is that we currently need. + */ + assert( unionTab==dest.iSDParm || dest.eDest!=priorOp ); + if( dest.eDest!=priorOp ){ + int iCont, iBreak, iStart; + assert( p->pEList ); + iBreak = sqlite3VdbeMakeLabel(pParse); + iCont = sqlite3VdbeMakeLabel(pParse); + computeLimitRegisters(pParse, p, iBreak); + sqlite3VdbeAddOp2(v, OP_Rewind, unionTab, iBreak); VdbeCoverage(v); + iStart = sqlite3VdbeCurrentAddr(v); + selectInnerLoop(pParse, p, unionTab, + 0, 0, &dest, iCont, iBreak); + sqlite3VdbeResolveLabel(v, iCont); + sqlite3VdbeAddOp2(v, OP_Next, unionTab, iStart); VdbeCoverage(v); + sqlite3VdbeResolveLabel(v, iBreak); + sqlite3VdbeAddOp2(v, OP_Close, unionTab, 0); + } + break; + } + default: assert( p->op==TK_INTERSECT ); { + int tab1, tab2; + int iCont, iBreak, iStart; + Expr *pLimit; + int addr; + SelectDest intersectdest; + int r1; + + /* INTERSECT is different from the others since it requires + ** two temporary tables. Hence it has its own case. Begin + ** by allocating the tables we will need. + */ + tab1 = pParse->nTab++; + tab2 = pParse->nTab++; + assert( p->pOrderBy==0 ); + + addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, tab1, 0); + assert( p->addrOpenEphm[0] == -1 ); + p->addrOpenEphm[0] = addr; + findRightmost(p)->selFlags |= SF_UsesEphemeral; + assert( p->pEList ); + + /* Code the SELECTs to our left into temporary table "tab1". + */ + sqlite3SelectDestInit(&intersectdest, SRT_Union, tab1); + rc = sqlite3Select(pParse, pPrior, &intersectdest); + if( rc ){ + goto multi_select_end; + } + + /* Code the current SELECT into temporary table "tab2" + */ + addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, tab2, 0); + assert( p->addrOpenEphm[1] == -1 ); + p->addrOpenEphm[1] = addr; + p->pPrior = 0; + pLimit = p->pLimit; + p->pLimit = 0; + intersectdest.iSDParm = tab2; + ExplainQueryPlan((pParse, 1, "%s USING TEMP B-TREE", + selectOpName(p->op))); + rc = sqlite3Select(pParse, p, &intersectdest); + testcase( rc!=SQLITE_OK ); + pDelete = p->pPrior; + p->pPrior = pPrior; + if( p->nSelectRow>pPrior->nSelectRow ){ + p->nSelectRow = pPrior->nSelectRow; + } + sqlite3ExprDelete(db, p->pLimit); + p->pLimit = pLimit; + + /* Generate code to take the intersection of the two temporary + ** tables. + */ + assert( p->pEList ); + iBreak = sqlite3VdbeMakeLabel(pParse); + iCont = sqlite3VdbeMakeLabel(pParse); + computeLimitRegisters(pParse, p, iBreak); + sqlite3VdbeAddOp2(v, OP_Rewind, tab1, iBreak); VdbeCoverage(v); + r1 = sqlite3GetTempReg(pParse); + iStart = sqlite3VdbeAddOp2(v, OP_RowData, tab1, r1); + sqlite3VdbeAddOp4Int(v, OP_NotFound, tab2, iCont, r1, 0); + VdbeCoverage(v); + sqlite3ReleaseTempReg(pParse, r1); + selectInnerLoop(pParse, p, tab1, + 0, 0, &dest, iCont, iBreak); + sqlite3VdbeResolveLabel(v, iCont); + sqlite3VdbeAddOp2(v, OP_Next, tab1, iStart); VdbeCoverage(v); + sqlite3VdbeResolveLabel(v, iBreak); + sqlite3VdbeAddOp2(v, OP_Close, tab2, 0); + sqlite3VdbeAddOp2(v, OP_Close, tab1, 0); + break; + } + } + + #ifndef SQLITE_OMIT_EXPLAIN + if( p->pNext==0 ){ + ExplainQueryPlanPop(pParse); + } + #endif + } + + /* Compute collating sequences used by + ** temporary tables needed to implement the compound select. + ** Attach the KeyInfo structure to all temporary tables. + ** + ** This section is run by the right-most SELECT statement only. + ** SELECT statements to the left always skip this part. The right-most + ** SELECT might also skip this part if it has no ORDER BY clause and + ** no temp tables are required. + */ + if( p->selFlags & SF_UsesEphemeral ){ + int i; /* Loop counter */ + KeyInfo *pKeyInfo; /* Collating sequence for the result set */ + Select *pLoop; /* For looping through SELECT statements */ + CollSeq **apColl; /* For looping through pKeyInfo->aColl[] */ + int nCol; /* Number of columns in result set */ + + assert( p->pNext==0 ); + nCol = p->pEList->nExpr; + pKeyInfo = sqlite3KeyInfoAlloc(db, nCol, 1); + if( !pKeyInfo ){ + rc = SQLITE_NOMEM_BKPT; + goto multi_select_end; + } + for(i=0, apColl=pKeyInfo->aColl; ipDfltColl; + } + } + + for(pLoop=p; pLoop; pLoop=pLoop->pPrior){ + for(i=0; i<2; i++){ + int addr = pLoop->addrOpenEphm[i]; + if( addr<0 ){ + /* If [0] is unused then [1] is also unused. So we can + ** always safely abort as soon as the first unused slot is found */ + assert( pLoop->addrOpenEphm[1]<0 ); + break; + } + sqlite3VdbeChangeP2(v, addr, nCol); + sqlite3VdbeChangeP4(v, addr, (char*)sqlite3KeyInfoRef(pKeyInfo), + P4_KEYINFO); + pLoop->addrOpenEphm[i] = -1; + } + } + sqlite3KeyInfoUnref(pKeyInfo); + } + +multi_select_end: + pDest->iSdst = dest.iSdst; + pDest->nSdst = dest.nSdst; + sqlite3SelectDelete(db, pDelete); + return rc; +} +#endif /* SQLITE_OMIT_COMPOUND_SELECT */ + +/* +** Error message for when two or more terms of a compound select have different +** size result sets. +*/ +SQLITE_PRIVATE void sqlite3SelectWrongNumTermsError(Parse *pParse, Select *p){ + if( p->selFlags & SF_Values ){ + sqlite3ErrorMsg(pParse, "all VALUES must have the same number of terms"); + }else{ + sqlite3ErrorMsg(pParse, "SELECTs to the left and right of %s" + " do not have the same number of result columns", selectOpName(p->op)); + } +} + +/* +** Code an output subroutine for a coroutine implementation of a +** SELECT statment. +** +** The data to be output is contained in pIn->iSdst. There are +** pIn->nSdst columns to be output. pDest is where the output should +** be sent. +** +** regReturn is the number of the register holding the subroutine +** return address. +** +** If regPrev>0 then it is the first register in a vector that +** records the previous output. mem[regPrev] is a flag that is false +** if there has been no previous output. If regPrev>0 then code is +** generated to suppress duplicates. pKeyInfo is used for comparing +** keys. +** +** If the LIMIT found in p->iLimit is reached, jump immediately to +** iBreak. +*/ +static int generateOutputSubroutine( + Parse *pParse, /* Parsing context */ + Select *p, /* The SELECT statement */ + SelectDest *pIn, /* Coroutine supplying data */ + SelectDest *pDest, /* Where to send the data */ + int regReturn, /* The return address register */ + int regPrev, /* Previous result register. No uniqueness if 0 */ + KeyInfo *pKeyInfo, /* For comparing with previous entry */ + int iBreak /* Jump here if we hit the LIMIT */ +){ + Vdbe *v = pParse->pVdbe; + int iContinue; + int addr; + + addr = sqlite3VdbeCurrentAddr(v); + iContinue = sqlite3VdbeMakeLabel(pParse); + + /* Suppress duplicates for UNION, EXCEPT, and INTERSECT + */ + if( regPrev ){ + int addr1, addr2; + addr1 = sqlite3VdbeAddOp1(v, OP_IfNot, regPrev); VdbeCoverage(v); + addr2 = sqlite3VdbeAddOp4(v, OP_Compare, pIn->iSdst, regPrev+1, pIn->nSdst, + (char*)sqlite3KeyInfoRef(pKeyInfo), P4_KEYINFO); + sqlite3VdbeAddOp3(v, OP_Jump, addr2+2, iContinue, addr2+2); VdbeCoverage(v); + sqlite3VdbeJumpHere(v, addr1); + sqlite3VdbeAddOp3(v, OP_Copy, pIn->iSdst, regPrev+1, pIn->nSdst-1); + sqlite3VdbeAddOp2(v, OP_Integer, 1, regPrev); + } + if( pParse->db->mallocFailed ) return 0; + + /* Suppress the first OFFSET entries if there is an OFFSET clause + */ + codeOffset(v, p->iOffset, iContinue); + + assert( pDest->eDest!=SRT_Exists ); + assert( pDest->eDest!=SRT_Table ); + switch( pDest->eDest ){ + /* Store the result as data using a unique key. + */ + case SRT_EphemTab: { + int r1 = sqlite3GetTempReg(pParse); + int r2 = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp3(v, OP_MakeRecord, pIn->iSdst, pIn->nSdst, r1); + sqlite3VdbeAddOp2(v, OP_NewRowid, pDest->iSDParm, r2); + sqlite3VdbeAddOp3(v, OP_Insert, pDest->iSDParm, r1, r2); + sqlite3VdbeChangeP5(v, OPFLAG_APPEND); + sqlite3ReleaseTempReg(pParse, r2); + sqlite3ReleaseTempReg(pParse, r1); + break; + } + +#ifndef SQLITE_OMIT_SUBQUERY + /* If we are creating a set for an "expr IN (SELECT ...)". + */ + case SRT_Set: { + int r1; + testcase( pIn->nSdst>1 ); + r1 = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp4(v, OP_MakeRecord, pIn->iSdst, pIn->nSdst, + r1, pDest->zAffSdst, pIn->nSdst); + sqlite3VdbeAddOp4Int(v, OP_IdxInsert, pDest->iSDParm, r1, + pIn->iSdst, pIn->nSdst); + sqlite3ReleaseTempReg(pParse, r1); + break; + } + + /* If this is a scalar select that is part of an expression, then + ** store the results in the appropriate memory cell and break out + ** of the scan loop. Note that the select might return multiple columns + ** if it is the RHS of a row-value IN operator. + */ + case SRT_Mem: { + if( pParse->nErr==0 ){ + testcase( pIn->nSdst>1 ); + sqlite3ExprCodeMove(pParse, pIn->iSdst, pDest->iSDParm, pIn->nSdst); + } + /* The LIMIT clause will jump out of the loop for us */ + break; + } +#endif /* #ifndef SQLITE_OMIT_SUBQUERY */ + + /* The results are stored in a sequence of registers + ** starting at pDest->iSdst. Then the co-routine yields. + */ + case SRT_Coroutine: { + if( pDest->iSdst==0 ){ + pDest->iSdst = sqlite3GetTempRange(pParse, pIn->nSdst); + pDest->nSdst = pIn->nSdst; + } + sqlite3ExprCodeMove(pParse, pIn->iSdst, pDest->iSdst, pIn->nSdst); + sqlite3VdbeAddOp1(v, OP_Yield, pDest->iSDParm); + break; + } + + /* If none of the above, then the result destination must be + ** SRT_Output. This routine is never called with any other + ** destination other than the ones handled above or SRT_Output. + ** + ** For SRT_Output, results are stored in a sequence of registers. + ** Then the OP_ResultRow opcode is used to cause sqlite3_step() to + ** return the next row of result. + */ + default: { + assert( pDest->eDest==SRT_Output ); + sqlite3VdbeAddOp2(v, OP_ResultRow, pIn->iSdst, pIn->nSdst); + break; + } + } + + /* Jump to the end of the loop if the LIMIT is reached. + */ + if( p->iLimit ){ + sqlite3VdbeAddOp2(v, OP_DecrJumpZero, p->iLimit, iBreak); VdbeCoverage(v); + } + + /* Generate the subroutine return + */ + sqlite3VdbeResolveLabel(v, iContinue); + sqlite3VdbeAddOp1(v, OP_Return, regReturn); + + return addr; +} + +/* +** Alternative compound select code generator for cases when there +** is an ORDER BY clause. +** +** We assume a query of the following form: +** +** ORDER BY +** +** is one of UNION ALL, UNION, EXCEPT, or INTERSECT. The idea +** is to code both and with the ORDER BY clause as +** co-routines. Then run the co-routines in parallel and merge the results +** into the output. In addition to the two coroutines (called selectA and +** selectB) there are 7 subroutines: +** +** outA: Move the output of the selectA coroutine into the output +** of the compound query. +** +** outB: Move the output of the selectB coroutine into the output +** of the compound query. (Only generated for UNION and +** UNION ALL. EXCEPT and INSERTSECT never output a row that +** appears only in B.) +** +** AltB: Called when there is data from both coroutines and AB. +** +** EofA: Called when data is exhausted from selectA. +** +** EofB: Called when data is exhausted from selectB. +** +** The implementation of the latter five subroutines depend on which +** is used: +** +** +** UNION ALL UNION EXCEPT INTERSECT +** ------------- ----------------- -------------- ----------------- +** AltB: outA, nextA outA, nextA outA, nextA nextA +** +** AeqB: outA, nextA nextA nextA outA, nextA +** +** AgtB: outB, nextB outB, nextB nextB nextB +** +** EofA: outB, nextB outB, nextB halt halt +** +** EofB: outA, nextA outA, nextA outA, nextA halt +** +** In the AltB, AeqB, and AgtB subroutines, an EOF on A following nextA +** causes an immediate jump to EofA and an EOF on B following nextB causes +** an immediate jump to EofB. Within EofA and EofB, and EOF on entry or +** following nextX causes a jump to the end of the select processing. +** +** Duplicate removal in the UNION, EXCEPT, and INTERSECT cases is handled +** within the output subroutine. The regPrev register set holds the previously +** output value. A comparison is made against this value and the output +** is skipped if the next results would be the same as the previous. +** +** The implementation plan is to implement the two coroutines and seven +** subroutines first, then put the control logic at the bottom. Like this: +** +** goto Init +** coA: coroutine for left query (A) +** coB: coroutine for right query (B) +** outA: output one row of A +** outB: output one row of B (UNION and UNION ALL only) +** EofA: ... +** EofB: ... +** AltB: ... +** AeqB: ... +** AgtB: ... +** Init: initialize coroutine registers +** yield coA +** if eof(A) goto EofA +** yield coB +** if eof(B) goto EofB +** Cmpr: Compare A, B +** Jump AltB, AeqB, AgtB +** End: ... +** +** We call AltB, AeqB, AgtB, EofA, and EofB "subroutines" but they are not +** actually called using Gosub and they do not Return. EofA and EofB loop +** until all data is exhausted then jump to the "end" labe. AltB, AeqB, +** and AgtB jump to either L2 or to one of EofA or EofB. +*/ +#ifndef SQLITE_OMIT_COMPOUND_SELECT +static int multiSelectOrderBy( + Parse *pParse, /* Parsing context */ + Select *p, /* The right-most of SELECTs to be coded */ + SelectDest *pDest /* What to do with query results */ +){ + int i, j; /* Loop counters */ + Select *pPrior; /* Another SELECT immediately to our left */ + Vdbe *v; /* Generate code to this VDBE */ + SelectDest destA; /* Destination for coroutine A */ + SelectDest destB; /* Destination for coroutine B */ + int regAddrA; /* Address register for select-A coroutine */ + int regAddrB; /* Address register for select-B coroutine */ + int addrSelectA; /* Address of the select-A coroutine */ + int addrSelectB; /* Address of the select-B coroutine */ + int regOutA; /* Address register for the output-A subroutine */ + int regOutB; /* Address register for the output-B subroutine */ + int addrOutA; /* Address of the output-A subroutine */ + int addrOutB = 0; /* Address of the output-B subroutine */ + int addrEofA; /* Address of the select-A-exhausted subroutine */ + int addrEofA_noB; /* Alternate addrEofA if B is uninitialized */ + int addrEofB; /* Address of the select-B-exhausted subroutine */ + int addrAltB; /* Address of the AB subroutine */ + int regLimitA; /* Limit register for select-A */ + int regLimitB; /* Limit register for select-A */ + int regPrev; /* A range of registers to hold previous output */ + int savedLimit; /* Saved value of p->iLimit */ + int savedOffset; /* Saved value of p->iOffset */ + int labelCmpr; /* Label for the start of the merge algorithm */ + int labelEnd; /* Label for the end of the overall SELECT stmt */ + int addr1; /* Jump instructions that get retargetted */ + int op; /* One of TK_ALL, TK_UNION, TK_EXCEPT, TK_INTERSECT */ + KeyInfo *pKeyDup = 0; /* Comparison information for duplicate removal */ + KeyInfo *pKeyMerge; /* Comparison information for merging rows */ + sqlite3 *db; /* Database connection */ + ExprList *pOrderBy; /* The ORDER BY clause */ + int nOrderBy; /* Number of terms in the ORDER BY clause */ + int *aPermute; /* Mapping from ORDER BY terms to result set columns */ + + assert( p->pOrderBy!=0 ); + assert( pKeyDup==0 ); /* "Managed" code needs this. Ticket #3382. */ + db = pParse->db; + v = pParse->pVdbe; + assert( v!=0 ); /* Already thrown the error if VDBE alloc failed */ + labelEnd = sqlite3VdbeMakeLabel(pParse); + labelCmpr = sqlite3VdbeMakeLabel(pParse); + + + /* Patch up the ORDER BY clause + */ + op = p->op; + pPrior = p->pPrior; + assert( pPrior->pOrderBy==0 ); + pOrderBy = p->pOrderBy; + assert( pOrderBy ); + nOrderBy = pOrderBy->nExpr; + + /* For operators other than UNION ALL we have to make sure that + ** the ORDER BY clause covers every term of the result set. Add + ** terms to the ORDER BY clause as necessary. + */ + if( op!=TK_ALL ){ + for(i=1; db->mallocFailed==0 && i<=p->pEList->nExpr; i++){ + struct ExprList_item *pItem; + for(j=0, pItem=pOrderBy->a; ju.x.iOrderByCol>0 ); + if( pItem->u.x.iOrderByCol==i ) break; + } + if( j==nOrderBy ){ + Expr *pNew = sqlite3Expr(db, TK_INTEGER, 0); + if( pNew==0 ) return SQLITE_NOMEM_BKPT; + pNew->flags |= EP_IntValue; + pNew->u.iValue = i; + p->pOrderBy = pOrderBy = sqlite3ExprListAppend(pParse, pOrderBy, pNew); + if( pOrderBy ) pOrderBy->a[nOrderBy++].u.x.iOrderByCol = (u16)i; + } + } + } + + /* Compute the comparison permutation and keyinfo that is used with + ** the permutation used to determine if the next + ** row of results comes from selectA or selectB. Also add explicit + ** collations to the ORDER BY clause terms so that when the subqueries + ** to the right and the left are evaluated, they use the correct + ** collation. + */ + aPermute = sqlite3DbMallocRawNN(db, sizeof(int)*(nOrderBy + 1)); + if( aPermute ){ + struct ExprList_item *pItem; + aPermute[0] = nOrderBy; + for(i=1, pItem=pOrderBy->a; i<=nOrderBy; i++, pItem++){ + assert( pItem->u.x.iOrderByCol>0 ); + assert( pItem->u.x.iOrderByCol<=p->pEList->nExpr ); + aPermute[i] = pItem->u.x.iOrderByCol - 1; + } + pKeyMerge = multiSelectOrderByKeyInfo(pParse, p, 1); + }else{ + pKeyMerge = 0; + } + + /* Reattach the ORDER BY clause to the query. + */ + p->pOrderBy = pOrderBy; + pPrior->pOrderBy = sqlite3ExprListDup(pParse->db, pOrderBy, 0); + + /* Allocate a range of temporary registers and the KeyInfo needed + ** for the logic that removes duplicate result rows when the + ** operator is UNION, EXCEPT, or INTERSECT (but not UNION ALL). + */ + if( op==TK_ALL ){ + regPrev = 0; + }else{ + int nExpr = p->pEList->nExpr; + assert( nOrderBy>=nExpr || db->mallocFailed ); + regPrev = pParse->nMem+1; + pParse->nMem += nExpr+1; + sqlite3VdbeAddOp2(v, OP_Integer, 0, regPrev); + pKeyDup = sqlite3KeyInfoAlloc(db, nExpr, 1); + if( pKeyDup ){ + assert( sqlite3KeyInfoIsWriteable(pKeyDup) ); + for(i=0; iaColl[i] = multiSelectCollSeq(pParse, p, i); + pKeyDup->aSortFlags[i] = 0; + } + } + } + + /* Separate the left and the right query from one another + */ + p->pPrior = 0; + pPrior->pNext = 0; + sqlite3ResolveOrderGroupBy(pParse, p, p->pOrderBy, "ORDER"); + if( pPrior->pPrior==0 ){ + sqlite3ResolveOrderGroupBy(pParse, pPrior, pPrior->pOrderBy, "ORDER"); + } + + /* Compute the limit registers */ + computeLimitRegisters(pParse, p, labelEnd); + if( p->iLimit && op==TK_ALL ){ + regLimitA = ++pParse->nMem; + regLimitB = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Copy, p->iOffset ? p->iOffset+1 : p->iLimit, + regLimitA); + sqlite3VdbeAddOp2(v, OP_Copy, regLimitA, regLimitB); + }else{ + regLimitA = regLimitB = 0; + } + sqlite3ExprDelete(db, p->pLimit); + p->pLimit = 0; + + regAddrA = ++pParse->nMem; + regAddrB = ++pParse->nMem; + regOutA = ++pParse->nMem; + regOutB = ++pParse->nMem; + sqlite3SelectDestInit(&destA, SRT_Coroutine, regAddrA); + sqlite3SelectDestInit(&destB, SRT_Coroutine, regAddrB); + + ExplainQueryPlan((pParse, 1, "MERGE (%s)", selectOpName(p->op))); + + /* Generate a coroutine to evaluate the SELECT statement to the + ** left of the compound operator - the "A" select. + */ + addrSelectA = sqlite3VdbeCurrentAddr(v) + 1; + addr1 = sqlite3VdbeAddOp3(v, OP_InitCoroutine, regAddrA, 0, addrSelectA); + VdbeComment((v, "left SELECT")); + pPrior->iLimit = regLimitA; + ExplainQueryPlan((pParse, 1, "LEFT")); + sqlite3Select(pParse, pPrior, &destA); + sqlite3VdbeEndCoroutine(v, regAddrA); + sqlite3VdbeJumpHere(v, addr1); + + /* Generate a coroutine to evaluate the SELECT statement on + ** the right - the "B" select + */ + addrSelectB = sqlite3VdbeCurrentAddr(v) + 1; + addr1 = sqlite3VdbeAddOp3(v, OP_InitCoroutine, regAddrB, 0, addrSelectB); + VdbeComment((v, "right SELECT")); + savedLimit = p->iLimit; + savedOffset = p->iOffset; + p->iLimit = regLimitB; + p->iOffset = 0; + ExplainQueryPlan((pParse, 1, "RIGHT")); + sqlite3Select(pParse, p, &destB); + p->iLimit = savedLimit; + p->iOffset = savedOffset; + sqlite3VdbeEndCoroutine(v, regAddrB); + + /* Generate a subroutine that outputs the current row of the A + ** select as the next output row of the compound select. + */ + VdbeNoopComment((v, "Output routine for A")); + addrOutA = generateOutputSubroutine(pParse, + p, &destA, pDest, regOutA, + regPrev, pKeyDup, labelEnd); + + /* Generate a subroutine that outputs the current row of the B + ** select as the next output row of the compound select. + */ + if( op==TK_ALL || op==TK_UNION ){ + VdbeNoopComment((v, "Output routine for B")); + addrOutB = generateOutputSubroutine(pParse, + p, &destB, pDest, regOutB, + regPrev, pKeyDup, labelEnd); + } + sqlite3KeyInfoUnref(pKeyDup); + + /* Generate a subroutine to run when the results from select A + ** are exhausted and only data in select B remains. + */ + if( op==TK_EXCEPT || op==TK_INTERSECT ){ + addrEofA_noB = addrEofA = labelEnd; + }else{ + VdbeNoopComment((v, "eof-A subroutine")); + addrEofA = sqlite3VdbeAddOp2(v, OP_Gosub, regOutB, addrOutB); + addrEofA_noB = sqlite3VdbeAddOp2(v, OP_Yield, regAddrB, labelEnd); + VdbeCoverage(v); + sqlite3VdbeGoto(v, addrEofA); + p->nSelectRow = sqlite3LogEstAdd(p->nSelectRow, pPrior->nSelectRow); + } + + /* Generate a subroutine to run when the results from select B + ** are exhausted and only data in select A remains. + */ + if( op==TK_INTERSECT ){ + addrEofB = addrEofA; + if( p->nSelectRow > pPrior->nSelectRow ) p->nSelectRow = pPrior->nSelectRow; + }else{ + VdbeNoopComment((v, "eof-B subroutine")); + addrEofB = sqlite3VdbeAddOp2(v, OP_Gosub, regOutA, addrOutA); + sqlite3VdbeAddOp2(v, OP_Yield, regAddrA, labelEnd); VdbeCoverage(v); + sqlite3VdbeGoto(v, addrEofB); + } + + /* Generate code to handle the case of AB + */ + VdbeNoopComment((v, "A-gt-B subroutine")); + addrAgtB = sqlite3VdbeCurrentAddr(v); + if( op==TK_ALL || op==TK_UNION ){ + sqlite3VdbeAddOp2(v, OP_Gosub, regOutB, addrOutB); + } + sqlite3VdbeAddOp2(v, OP_Yield, regAddrB, addrEofB); VdbeCoverage(v); + sqlite3VdbeGoto(v, labelCmpr); + + /* This code runs once to initialize everything. + */ + sqlite3VdbeJumpHere(v, addr1); + sqlite3VdbeAddOp2(v, OP_Yield, regAddrA, addrEofA_noB); VdbeCoverage(v); + sqlite3VdbeAddOp2(v, OP_Yield, regAddrB, addrEofB); VdbeCoverage(v); + + /* Implement the main merge loop + */ + sqlite3VdbeResolveLabel(v, labelCmpr); + sqlite3VdbeAddOp4(v, OP_Permutation, 0, 0, 0, (char*)aPermute, P4_INTARRAY); + sqlite3VdbeAddOp4(v, OP_Compare, destA.iSdst, destB.iSdst, nOrderBy, + (char*)pKeyMerge, P4_KEYINFO); + sqlite3VdbeChangeP5(v, OPFLAG_PERMUTE); + sqlite3VdbeAddOp3(v, OP_Jump, addrAltB, addrAeqB, addrAgtB); VdbeCoverage(v); + + /* Jump to the this point in order to terminate the query. + */ + sqlite3VdbeResolveLabel(v, labelEnd); + + /* Reassembly the compound query so that it will be freed correctly + ** by the calling function */ + if( p->pPrior ){ + sqlite3SelectDelete(db, p->pPrior); + } + p->pPrior = pPrior; + pPrior->pNext = p; + + /*** TBD: Insert subroutine calls to close cursors on incomplete + **** subqueries ****/ + ExplainQueryPlanPop(pParse); + return pParse->nErr!=0; +} +#endif + +#if !defined(SQLITE_OMIT_SUBQUERY) || !defined(SQLITE_OMIT_VIEW) + +/* An instance of the SubstContext object describes an substitution edit +** to be performed on a parse tree. +** +** All references to columns in table iTable are to be replaced by corresponding +** expressions in pEList. +*/ +typedef struct SubstContext { + Parse *pParse; /* The parsing context */ + int iTable; /* Replace references to this table */ + int iNewTable; /* New table number */ + int isLeftJoin; /* Add TK_IF_NULL_ROW opcodes on each replacement */ + ExprList *pEList; /* Replacement expressions */ +} SubstContext; + +/* Forward Declarations */ +static void substExprList(SubstContext*, ExprList*); +static void substSelect(SubstContext*, Select*, int); + +/* +** Scan through the expression pExpr. Replace every reference to +** a column in table number iTable with a copy of the iColumn-th +** entry in pEList. (But leave references to the ROWID column +** unchanged.) +** +** This routine is part of the flattening procedure. A subquery +** whose result set is defined by pEList appears as entry in the +** FROM clause of a SELECT such that the VDBE cursor assigned to that +** FORM clause entry is iTable. This routine makes the necessary +** changes to pExpr so that it refers directly to the source table +** of the subquery rather the result set of the subquery. +*/ +static Expr *substExpr( + SubstContext *pSubst, /* Description of the substitution */ + Expr *pExpr /* Expr in which substitution occurs */ +){ + if( pExpr==0 ) return 0; + if( ExprHasProperty(pExpr, EP_FromJoin) + && pExpr->iRightJoinTable==pSubst->iTable + ){ + pExpr->iRightJoinTable = pSubst->iNewTable; + } + if( pExpr->op==TK_COLUMN && pExpr->iTable==pSubst->iTable ){ + if( pExpr->iColumn<0 ){ + pExpr->op = TK_NULL; + }else{ + Expr *pNew; + Expr *pCopy = pSubst->pEList->a[pExpr->iColumn].pExpr; + Expr ifNullRow; + assert( pSubst->pEList!=0 && pExpr->iColumnpEList->nExpr ); + assert( pExpr->pRight==0 ); + if( sqlite3ExprIsVector(pCopy) ){ + sqlite3VectorErrorMsg(pSubst->pParse, pCopy); + }else{ + sqlite3 *db = pSubst->pParse->db; + if( pSubst->isLeftJoin && pCopy->op!=TK_COLUMN ){ + memset(&ifNullRow, 0, sizeof(ifNullRow)); + ifNullRow.op = TK_IF_NULL_ROW; + ifNullRow.pLeft = pCopy; + ifNullRow.iTable = pSubst->iNewTable; + pCopy = &ifNullRow; + } + testcase( ExprHasProperty(pCopy, EP_Subquery) ); + pNew = sqlite3ExprDup(db, pCopy, 0); + if( pNew && pSubst->isLeftJoin ){ + ExprSetProperty(pNew, EP_CanBeNull); + } + if( pNew && ExprHasProperty(pExpr,EP_FromJoin) ){ + pNew->iRightJoinTable = pExpr->iRightJoinTable; + ExprSetProperty(pNew, EP_FromJoin); + } + sqlite3ExprDelete(db, pExpr); + pExpr = pNew; + + /* Ensure that the expression now has an implicit collation sequence, + ** just as it did when it was a column of a view or sub-query. */ + if( pExpr ){ + if( pExpr->op!=TK_COLUMN && pExpr->op!=TK_COLLATE ){ + CollSeq *pColl = sqlite3ExprCollSeq(pSubst->pParse, pExpr); + pExpr = sqlite3ExprAddCollateString(pSubst->pParse, pExpr, + (pColl ? pColl->zName : "BINARY") + ); + } + ExprClearProperty(pExpr, EP_Collate); + } + } + } + }else{ + if( pExpr->op==TK_IF_NULL_ROW && pExpr->iTable==pSubst->iTable ){ + pExpr->iTable = pSubst->iNewTable; + } + pExpr->pLeft = substExpr(pSubst, pExpr->pLeft); + pExpr->pRight = substExpr(pSubst, pExpr->pRight); + if( ExprHasProperty(pExpr, EP_xIsSelect) ){ + substSelect(pSubst, pExpr->x.pSelect, 1); + }else{ + substExprList(pSubst, pExpr->x.pList); + } +#ifndef SQLITE_OMIT_WINDOWFUNC + if( ExprHasProperty(pExpr, EP_WinFunc) ){ + Window *pWin = pExpr->y.pWin; + pWin->pFilter = substExpr(pSubst, pWin->pFilter); + substExprList(pSubst, pWin->pPartition); + substExprList(pSubst, pWin->pOrderBy); + } +#endif + } + return pExpr; +} +static void substExprList( + SubstContext *pSubst, /* Description of the substitution */ + ExprList *pList /* List to scan and in which to make substitutes */ +){ + int i; + if( pList==0 ) return; + for(i=0; inExpr; i++){ + pList->a[i].pExpr = substExpr(pSubst, pList->a[i].pExpr); + } +} +static void substSelect( + SubstContext *pSubst, /* Description of the substitution */ + Select *p, /* SELECT statement in which to make substitutions */ + int doPrior /* Do substitutes on p->pPrior too */ +){ + SrcList *pSrc; + struct SrcList_item *pItem; + int i; + if( !p ) return; + do{ + substExprList(pSubst, p->pEList); + substExprList(pSubst, p->pGroupBy); + substExprList(pSubst, p->pOrderBy); + p->pHaving = substExpr(pSubst, p->pHaving); + p->pWhere = substExpr(pSubst, p->pWhere); + pSrc = p->pSrc; + assert( pSrc!=0 ); + for(i=pSrc->nSrc, pItem=pSrc->a; i>0; i--, pItem++){ + substSelect(pSubst, pItem->pSelect, 1); + if( pItem->fg.isTabFunc ){ + substExprList(pSubst, pItem->u1.pFuncArg); + } + } + }while( doPrior && (p = p->pPrior)!=0 ); +} +#endif /* !defined(SQLITE_OMIT_SUBQUERY) || !defined(SQLITE_OMIT_VIEW) */ + +#if !defined(SQLITE_OMIT_SUBQUERY) || !defined(SQLITE_OMIT_VIEW) +/* +** This routine attempts to flatten subqueries as a performance optimization. +** This routine returns 1 if it makes changes and 0 if no flattening occurs. +** +** To understand the concept of flattening, consider the following +** query: +** +** SELECT a FROM (SELECT x+y AS a FROM t1 WHERE z<100) WHERE a>5 +** +** The default way of implementing this query is to execute the +** subquery first and store the results in a temporary table, then +** run the outer query on that temporary table. This requires two +** passes over the data. Furthermore, because the temporary table +** has no indices, the WHERE clause on the outer query cannot be +** optimized. +** +** This routine attempts to rewrite queries such as the above into +** a single flat select, like this: +** +** SELECT x+y AS a FROM t1 WHERE z<100 AND a>5 +** +** The code generated for this simplification gives the same result +** but only has to scan the data once. And because indices might +** exist on the table t1, a complete scan of the data might be +** avoided. +** +** Flattening is subject to the following constraints: +** +** (**) We no longer attempt to flatten aggregate subqueries. Was: +** The subquery and the outer query cannot both be aggregates. +** +** (**) We no longer attempt to flatten aggregate subqueries. Was: +** (2) If the subquery is an aggregate then +** (2a) the outer query must not be a join and +** (2b) the outer query must not use subqueries +** other than the one FROM-clause subquery that is a candidate +** for flattening. (This is due to ticket [2f7170d73bf9abf80] +** from 2015-02-09.) +** +** (3) If the subquery is the right operand of a LEFT JOIN then +** (3a) the subquery may not be a join and +** (3b) the FROM clause of the subquery may not contain a virtual +** table and +** (3c) the outer query may not be an aggregate. +** +** (4) The subquery can not be DISTINCT. +** +** (**) At one point restrictions (4) and (5) defined a subset of DISTINCT +** sub-queries that were excluded from this optimization. Restriction +** (4) has since been expanded to exclude all DISTINCT subqueries. +** +** (**) We no longer attempt to flatten aggregate subqueries. Was: +** If the subquery is aggregate, the outer query may not be DISTINCT. +** +** (7) The subquery must have a FROM clause. TODO: For subqueries without +** A FROM clause, consider adding a FROM clause with the special +** table sqlite_once that consists of a single row containing a +** single NULL. +** +** (8) If the subquery uses LIMIT then the outer query may not be a join. +** +** (9) If the subquery uses LIMIT then the outer query may not be aggregate. +** +** (**) Restriction (10) was removed from the code on 2005-02-05 but we +** accidently carried the comment forward until 2014-09-15. Original +** constraint: "If the subquery is aggregate then the outer query +** may not use LIMIT." +** +** (11) The subquery and the outer query may not both have ORDER BY clauses. +** +** (**) Not implemented. Subsumed into restriction (3). Was previously +** a separate restriction deriving from ticket #350. +** +** (13) The subquery and outer query may not both use LIMIT. +** +** (14) The subquery may not use OFFSET. +** +** (15) If the outer query is part of a compound select, then the +** subquery may not use LIMIT. +** (See ticket #2339 and ticket [02a8e81d44]). +** +** (16) If the outer query is aggregate, then the subquery may not +** use ORDER BY. (Ticket #2942) This used to not matter +** until we introduced the group_concat() function. +** +** (17) If the subquery is a compound select, then +** (17a) all compound operators must be a UNION ALL, and +** (17b) no terms within the subquery compound may be aggregate +** or DISTINCT, and +** (17c) every term within the subquery compound must have a FROM clause +** (17d) the outer query may not be +** (17d1) aggregate, or +** (17d2) DISTINCT, or +** (17d3) a join. +** +** The parent and sub-query may contain WHERE clauses. Subject to +** rules (11), (13) and (14), they may also contain ORDER BY, +** LIMIT and OFFSET clauses. The subquery cannot use any compound +** operator other than UNION ALL because all the other compound +** operators have an implied DISTINCT which is disallowed by +** restriction (4). +** +** Also, each component of the sub-query must return the same number +** of result columns. This is actually a requirement for any compound +** SELECT statement, but all the code here does is make sure that no +** such (illegal) sub-query is flattened. The caller will detect the +** syntax error and return a detailed message. +** +** (18) If the sub-query is a compound select, then all terms of the +** ORDER BY clause of the parent must be simple references to +** columns of the sub-query. +** +** (19) If the subquery uses LIMIT then the outer query may not +** have a WHERE clause. +** +** (20) If the sub-query is a compound select, then it must not use +** an ORDER BY clause. Ticket #3773. We could relax this constraint +** somewhat by saying that the terms of the ORDER BY clause must +** appear as unmodified result columns in the outer query. But we +** have other optimizations in mind to deal with that case. +** +** (21) If the subquery uses LIMIT then the outer query may not be +** DISTINCT. (See ticket [752e1646fc]). +** +** (22) The subquery may not be a recursive CTE. +** +** (**) Subsumed into restriction (17d3). Was: If the outer query is +** a recursive CTE, then the sub-query may not be a compound query. +** This restriction is because transforming the +** parent to a compound query confuses the code that handles +** recursive queries in multiSelect(). +** +** (**) We no longer attempt to flatten aggregate subqueries. Was: +** The subquery may not be an aggregate that uses the built-in min() or +** or max() functions. (Without this restriction, a query like: +** "SELECT x FROM (SELECT max(y), x FROM t1)" would not necessarily +** return the value X for which Y was maximal.) +** +** (25) If either the subquery or the parent query contains a window +** function in the select list or ORDER BY clause, flattening +** is not attempted. +** +** +** In this routine, the "p" parameter is a pointer to the outer query. +** The subquery is p->pSrc->a[iFrom]. isAgg is true if the outer query +** uses aggregates. +** +** If flattening is not attempted, this routine is a no-op and returns 0. +** If flattening is attempted this routine returns 1. +** +** All of the expression analysis must occur on both the outer query and +** the subquery before this routine runs. +*/ +static int flattenSubquery( + Parse *pParse, /* Parsing context */ + Select *p, /* The parent or outer SELECT statement */ + int iFrom, /* Index in p->pSrc->a[] of the inner subquery */ + int isAgg /* True if outer SELECT uses aggregate functions */ +){ + const char *zSavedAuthContext = pParse->zAuthContext; + Select *pParent; /* Current UNION ALL term of the other query */ + Select *pSub; /* The inner query or "subquery" */ + Select *pSub1; /* Pointer to the rightmost select in sub-query */ + SrcList *pSrc; /* The FROM clause of the outer query */ + SrcList *pSubSrc; /* The FROM clause of the subquery */ + int iParent; /* VDBE cursor number of the pSub result set temp table */ + int iNewParent = -1;/* Replacement table for iParent */ + int isLeftJoin = 0; /* True if pSub is the right side of a LEFT JOIN */ + int i; /* Loop counter */ + Expr *pWhere; /* The WHERE clause */ + struct SrcList_item *pSubitem; /* The subquery */ + sqlite3 *db = pParse->db; + + /* Check to see if flattening is permitted. Return 0 if not. + */ + assert( p!=0 ); + assert( p->pPrior==0 ); + if( OptimizationDisabled(db, SQLITE_QueryFlattener) ) return 0; + pSrc = p->pSrc; + assert( pSrc && iFrom>=0 && iFromnSrc ); + pSubitem = &pSrc->a[iFrom]; + iParent = pSubitem->iCursor; + pSub = pSubitem->pSelect; + assert( pSub!=0 ); + +#ifndef SQLITE_OMIT_WINDOWFUNC + if( p->pWin || pSub->pWin ) return 0; /* Restriction (25) */ +#endif + + pSubSrc = pSub->pSrc; + assert( pSubSrc ); + /* Prior to version 3.1.2, when LIMIT and OFFSET had to be simple constants, + ** not arbitrary expressions, we allowed some combining of LIMIT and OFFSET + ** because they could be computed at compile-time. But when LIMIT and OFFSET + ** became arbitrary expressions, we were forced to add restrictions (13) + ** and (14). */ + if( pSub->pLimit && p->pLimit ) return 0; /* Restriction (13) */ + if( pSub->pLimit && pSub->pLimit->pRight ) return 0; /* Restriction (14) */ + if( (p->selFlags & SF_Compound)!=0 && pSub->pLimit ){ + return 0; /* Restriction (15) */ + } + if( pSubSrc->nSrc==0 ) return 0; /* Restriction (7) */ + if( pSub->selFlags & SF_Distinct ) return 0; /* Restriction (4) */ + if( pSub->pLimit && (pSrc->nSrc>1 || isAgg) ){ + return 0; /* Restrictions (8)(9) */ + } + if( p->pOrderBy && pSub->pOrderBy ){ + return 0; /* Restriction (11) */ + } + if( isAgg && pSub->pOrderBy ) return 0; /* Restriction (16) */ + if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */ + if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){ + return 0; /* Restriction (21) */ + } + if( pSub->selFlags & (SF_Recursive) ){ + return 0; /* Restrictions (22) */ + } + + /* + ** If the subquery is the right operand of a LEFT JOIN, then the + ** subquery may not be a join itself (3a). Example of why this is not + ** allowed: + ** + ** t1 LEFT OUTER JOIN (t2 JOIN t3) + ** + ** If we flatten the above, we would get + ** + ** (t1 LEFT OUTER JOIN t2) JOIN t3 + ** + ** which is not at all the same thing. + ** + ** If the subquery is the right operand of a LEFT JOIN, then the outer + ** query cannot be an aggregate. (3c) This is an artifact of the way + ** aggregates are processed - there is no mechanism to determine if + ** the LEFT JOIN table should be all-NULL. + ** + ** See also tickets #306, #350, and #3300. + */ + if( (pSubitem->fg.jointype & JT_OUTER)!=0 ){ + isLeftJoin = 1; + if( pSubSrc->nSrc>1 || isAgg || IsVirtual(pSubSrc->a[0].pTab) ){ + /* (3a) (3c) (3b) */ + return 0; + } + } +#ifdef SQLITE_EXTRA_IFNULLROW + else if( iFrom>0 && !isAgg ){ + /* Setting isLeftJoin to -1 causes OP_IfNullRow opcodes to be generated for + ** every reference to any result column from subquery in a join, even + ** though they are not necessary. This will stress-test the OP_IfNullRow + ** opcode. */ + isLeftJoin = -1; + } +#endif + + /* Restriction (17): If the sub-query is a compound SELECT, then it must + ** use only the UNION ALL operator. And none of the simple select queries + ** that make up the compound SELECT are allowed to be aggregate or distinct + ** queries. + */ + if( pSub->pPrior ){ + if( pSub->pOrderBy ){ + return 0; /* Restriction (20) */ + } + if( isAgg || (p->selFlags & SF_Distinct)!=0 || pSrc->nSrc!=1 ){ + return 0; /* (17d1), (17d2), or (17d3) */ + } + for(pSub1=pSub; pSub1; pSub1=pSub1->pPrior){ + testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct ); + testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate ); + assert( pSub->pSrc!=0 ); + assert( pSub->pEList->nExpr==pSub1->pEList->nExpr ); + if( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))!=0 /* (17b) */ + || (pSub1->pPrior && pSub1->op!=TK_ALL) /* (17a) */ + || pSub1->pSrc->nSrc<1 /* (17c) */ + ){ + return 0; + } + testcase( pSub1->pSrc->nSrc>1 ); + } + + /* Restriction (18). */ + if( p->pOrderBy ){ + int ii; + for(ii=0; iipOrderBy->nExpr; ii++){ + if( p->pOrderBy->a[ii].u.x.iOrderByCol==0 ) return 0; + } + } + } + + /* Ex-restriction (23): + ** The only way that the recursive part of a CTE can contain a compound + ** subquery is for the subquery to be one term of a join. But if the + ** subquery is a join, then the flattening has already been stopped by + ** restriction (17d3) + */ + assert( (p->selFlags & SF_Recursive)==0 || pSub->pPrior==0 ); + + /***** If we reach this point, flattening is permitted. *****/ + SELECTTRACE(1,pParse,p,("flatten %u.%p from term %d\n", + pSub->selId, pSub, iFrom)); + + /* Authorize the subquery */ + pParse->zAuthContext = pSubitem->zName; + TESTONLY(i =) sqlite3AuthCheck(pParse, SQLITE_SELECT, 0, 0, 0); + testcase( i==SQLITE_DENY ); + pParse->zAuthContext = zSavedAuthContext; + + /* If the sub-query is a compound SELECT statement, then (by restrictions + ** 17 and 18 above) it must be a UNION ALL and the parent query must + ** be of the form: + ** + ** SELECT FROM () + ** + ** followed by any ORDER BY, LIMIT and/or OFFSET clauses. This block + ** creates N-1 copies of the parent query without any ORDER BY, LIMIT or + ** OFFSET clauses and joins them to the left-hand-side of the original + ** using UNION ALL operators. In this case N is the number of simple + ** select statements in the compound sub-query. + ** + ** Example: + ** + ** SELECT a+1 FROM ( + ** SELECT x FROM tab + ** UNION ALL + ** SELECT y FROM tab + ** UNION ALL + ** SELECT abs(z*2) FROM tab2 + ** ) WHERE a!=5 ORDER BY 1 + ** + ** Transformed into: + ** + ** SELECT x+1 FROM tab WHERE x+1!=5 + ** UNION ALL + ** SELECT y+1 FROM tab WHERE y+1!=5 + ** UNION ALL + ** SELECT abs(z*2)+1 FROM tab2 WHERE abs(z*2)+1!=5 + ** ORDER BY 1 + ** + ** We call this the "compound-subquery flattening". + */ + for(pSub=pSub->pPrior; pSub; pSub=pSub->pPrior){ + Select *pNew; + ExprList *pOrderBy = p->pOrderBy; + Expr *pLimit = p->pLimit; + Select *pPrior = p->pPrior; + p->pOrderBy = 0; + p->pSrc = 0; + p->pPrior = 0; + p->pLimit = 0; + pNew = sqlite3SelectDup(db, p, 0); + p->pLimit = pLimit; + p->pOrderBy = pOrderBy; + p->pSrc = pSrc; + p->op = TK_ALL; + if( pNew==0 ){ + p->pPrior = pPrior; + }else{ + pNew->pPrior = pPrior; + if( pPrior ) pPrior->pNext = pNew; + pNew->pNext = p; + p->pPrior = pNew; + SELECTTRACE(2,pParse,p,("compound-subquery flattener" + " creates %u as peer\n",pNew->selId)); + } + if( db->mallocFailed ) return 1; + } + + /* Begin flattening the iFrom-th entry of the FROM clause + ** in the outer query. + */ + pSub = pSub1 = pSubitem->pSelect; + + /* Delete the transient table structure associated with the + ** subquery + */ + sqlite3DbFree(db, pSubitem->zDatabase); + sqlite3DbFree(db, pSubitem->zName); + sqlite3DbFree(db, pSubitem->zAlias); + pSubitem->zDatabase = 0; + pSubitem->zName = 0; + pSubitem->zAlias = 0; + pSubitem->pSelect = 0; + + /* Defer deleting the Table object associated with the + ** subquery until code generation is + ** complete, since there may still exist Expr.pTab entries that + ** refer to the subquery even after flattening. Ticket #3346. + ** + ** pSubitem->pTab is always non-NULL by test restrictions and tests above. + */ + if( ALWAYS(pSubitem->pTab!=0) ){ + Table *pTabToDel = pSubitem->pTab; + if( pTabToDel->nTabRef==1 ){ + Parse *pToplevel = sqlite3ParseToplevel(pParse); + pTabToDel->pNextZombie = pToplevel->pZombieTab; + pToplevel->pZombieTab = pTabToDel; + }else{ + pTabToDel->nTabRef--; + } + pSubitem->pTab = 0; + } + + /* The following loop runs once for each term in a compound-subquery + ** flattening (as described above). If we are doing a different kind + ** of flattening - a flattening other than a compound-subquery flattening - + ** then this loop only runs once. + ** + ** This loop moves all of the FROM elements of the subquery into the + ** the FROM clause of the outer query. Before doing this, remember + ** the cursor number for the original outer query FROM element in + ** iParent. The iParent cursor will never be used. Subsequent code + ** will scan expressions looking for iParent references and replace + ** those references with expressions that resolve to the subquery FROM + ** elements we are now copying in. + */ + for(pParent=p; pParent; pParent=pParent->pPrior, pSub=pSub->pPrior){ + int nSubSrc; + u8 jointype = 0; + assert( pSub!=0 ); + pSubSrc = pSub->pSrc; /* FROM clause of subquery */ + nSubSrc = pSubSrc->nSrc; /* Number of terms in subquery FROM clause */ + pSrc = pParent->pSrc; /* FROM clause of the outer query */ + + if( pSrc ){ + assert( pParent==p ); /* First time through the loop */ + jointype = pSubitem->fg.jointype; + }else{ + assert( pParent!=p ); /* 2nd and subsequent times through the loop */ + pSrc = sqlite3SrcListAppend(pParse, 0, 0, 0); + if( pSrc==0 ) break; + pParent->pSrc = pSrc; + } + + /* The subquery uses a single slot of the FROM clause of the outer + ** query. If the subquery has more than one element in its FROM clause, + ** then expand the outer query to make space for it to hold all elements + ** of the subquery. + ** + ** Example: + ** + ** SELECT * FROM tabA, (SELECT * FROM sub1, sub2), tabB; + ** + ** The outer query has 3 slots in its FROM clause. One slot of the + ** outer query (the middle slot) is used by the subquery. The next + ** block of code will expand the outer query FROM clause to 4 slots. + ** The middle slot is expanded to two slots in order to make space + ** for the two elements in the FROM clause of the subquery. + */ + if( nSubSrc>1 ){ + pSrc = sqlite3SrcListEnlarge(pParse, pSrc, nSubSrc-1,iFrom+1); + if( pSrc==0 ) break; + pParent->pSrc = pSrc; + } + + /* Transfer the FROM clause terms from the subquery into the + ** outer query. + */ + for(i=0; ia[i+iFrom].pUsing); + assert( pSrc->a[i+iFrom].fg.isTabFunc==0 ); + pSrc->a[i+iFrom] = pSubSrc->a[i]; + iNewParent = pSubSrc->a[i].iCursor; + memset(&pSubSrc->a[i], 0, sizeof(pSubSrc->a[i])); + } + pSrc->a[iFrom].fg.jointype = jointype; + + /* Now begin substituting subquery result set expressions for + ** references to the iParent in the outer query. + ** + ** Example: + ** + ** SELECT a+5, b*10 FROM (SELECT x*3 AS a, y+10 AS b FROM t1) WHERE a>b; + ** \ \_____________ subquery __________/ / + ** \_____________________ outer query ______________________________/ + ** + ** We look at every expression in the outer query and every place we see + ** "a" we substitute "x*3" and every place we see "b" we substitute "y+10". + */ + if( pSub->pOrderBy ){ + /* At this point, any non-zero iOrderByCol values indicate that the + ** ORDER BY column expression is identical to the iOrderByCol'th + ** expression returned by SELECT statement pSub. Since these values + ** do not necessarily correspond to columns in SELECT statement pParent, + ** zero them before transfering the ORDER BY clause. + ** + ** Not doing this may cause an error if a subsequent call to this + ** function attempts to flatten a compound sub-query into pParent + ** (the only way this can happen is if the compound sub-query is + ** currently part of pSub->pSrc). See ticket [d11a6e908f]. */ + ExprList *pOrderBy = pSub->pOrderBy; + for(i=0; inExpr; i++){ + pOrderBy->a[i].u.x.iOrderByCol = 0; + } + assert( pParent->pOrderBy==0 ); + pParent->pOrderBy = pOrderBy; + pSub->pOrderBy = 0; + } + pWhere = pSub->pWhere; + pSub->pWhere = 0; + if( isLeftJoin>0 ){ + setJoinExpr(pWhere, iNewParent); + } + pParent->pWhere = sqlite3ExprAnd(pParse, pWhere, pParent->pWhere); + if( db->mallocFailed==0 ){ + SubstContext x; + x.pParse = pParse; + x.iTable = iParent; + x.iNewTable = iNewParent; + x.isLeftJoin = isLeftJoin; + x.pEList = pSub->pEList; + substSelect(&x, pParent, 0); + } + + /* The flattened query is a compound if either the inner or the + ** outer query is a compound. */ + pParent->selFlags |= pSub->selFlags & SF_Compound; + assert( (pSub->selFlags & SF_Distinct)==0 ); /* restriction (17b) */ + + /* + ** SELECT ... FROM (SELECT ... LIMIT a OFFSET b) LIMIT x OFFSET y; + ** + ** One is tempted to try to add a and b to combine the limits. But this + ** does not work if either limit is negative. + */ + if( pSub->pLimit ){ + pParent->pLimit = pSub->pLimit; + pSub->pLimit = 0; + } + } + + /* Finially, delete what is left of the subquery and return + ** success. + */ + sqlite3SelectDelete(db, pSub1); + +#if SELECTTRACE_ENABLED + if( sqlite3SelectTrace & 0x100 ){ + SELECTTRACE(0x100,pParse,p,("After flattening:\n")); + sqlite3TreeViewSelect(0, p, 0); + } +#endif + + return 1; +} +#endif /* !defined(SQLITE_OMIT_SUBQUERY) || !defined(SQLITE_OMIT_VIEW) */ + +/* +** A structure to keep track of all of the column values that are fixed to +** a known value due to WHERE clause constraints of the form COLUMN=VALUE. +*/ +typedef struct WhereConst WhereConst; +struct WhereConst { + Parse *pParse; /* Parsing context */ + int nConst; /* Number for COLUMN=CONSTANT terms */ + int nChng; /* Number of times a constant is propagated */ + Expr **apExpr; /* [i*2] is COLUMN and [i*2+1] is VALUE */ +}; + +/* +** Add a new entry to the pConst object. Except, do not add duplicate +** pColumn entires. +*/ +static void constInsert( + WhereConst *pConst, /* The WhereConst into which we are inserting */ + Expr *pColumn, /* The COLUMN part of the constraint */ + Expr *pValue /* The VALUE part of the constraint */ +){ + int i; + assert( pColumn->op==TK_COLUMN ); + + /* 2018-10-25 ticket [cf5ed20f] + ** Make sure the same pColumn is not inserted more than once */ + for(i=0; inConst; i++){ + const Expr *pExpr = pConst->apExpr[i*2]; + assert( pExpr->op==TK_COLUMN ); + if( pExpr->iTable==pColumn->iTable + && pExpr->iColumn==pColumn->iColumn + ){ + return; /* Already present. Return without doing anything. */ + } + } + + pConst->nConst++; + pConst->apExpr = sqlite3DbReallocOrFree(pConst->pParse->db, pConst->apExpr, + pConst->nConst*2*sizeof(Expr*)); + if( pConst->apExpr==0 ){ + pConst->nConst = 0; + }else{ + if( ExprHasProperty(pValue, EP_FixedCol) ) pValue = pValue->pLeft; + pConst->apExpr[pConst->nConst*2-2] = pColumn; + pConst->apExpr[pConst->nConst*2-1] = pValue; + } +} + +/* +** Find all terms of COLUMN=VALUE or VALUE=COLUMN in pExpr where VALUE +** is a constant expression and where the term must be true because it +** is part of the AND-connected terms of the expression. For each term +** found, add it to the pConst structure. +*/ +static void findConstInWhere(WhereConst *pConst, Expr *pExpr){ + Expr *pRight, *pLeft; + if( pExpr==0 ) return; + if( ExprHasProperty(pExpr, EP_FromJoin) ) return; + if( pExpr->op==TK_AND ){ + findConstInWhere(pConst, pExpr->pRight); + findConstInWhere(pConst, pExpr->pLeft); + return; + } + if( pExpr->op!=TK_EQ ) return; + pRight = pExpr->pRight; + pLeft = pExpr->pLeft; + assert( pRight!=0 ); + assert( pLeft!=0 ); + if( pRight->op==TK_COLUMN + && !ExprHasProperty(pRight, EP_FixedCol) + && sqlite3ExprIsConstant(pLeft) + && sqlite3IsBinary(sqlite3BinaryCompareCollSeq(pConst->pParse,pLeft,pRight)) + ){ + constInsert(pConst, pRight, pLeft); + }else + if( pLeft->op==TK_COLUMN + && !ExprHasProperty(pLeft, EP_FixedCol) + && sqlite3ExprIsConstant(pRight) + && sqlite3IsBinary(sqlite3BinaryCompareCollSeq(pConst->pParse,pLeft,pRight)) + ){ + constInsert(pConst, pLeft, pRight); + } +} + +/* +** This is a Walker expression callback. pExpr is a candidate expression +** to be replaced by a value. If pExpr is equivalent to one of the +** columns named in pWalker->u.pConst, then overwrite it with its +** corresponding value. +*/ +static int propagateConstantExprRewrite(Walker *pWalker, Expr *pExpr){ + int i; + WhereConst *pConst; + if( pExpr->op!=TK_COLUMN ) return WRC_Continue; + if( ExprHasProperty(pExpr, EP_FixedCol) ) return WRC_Continue; + pConst = pWalker->u.pConst; + for(i=0; inConst; i++){ + Expr *pColumn = pConst->apExpr[i*2]; + if( pColumn==pExpr ) continue; + if( pColumn->iTable!=pExpr->iTable ) continue; + if( pColumn->iColumn!=pExpr->iColumn ) continue; + /* A match is found. Add the EP_FixedCol property */ + pConst->nChng++; + ExprClearProperty(pExpr, EP_Leaf); + ExprSetProperty(pExpr, EP_FixedCol); + assert( pExpr->pLeft==0 ); + pExpr->pLeft = sqlite3ExprDup(pConst->pParse->db, pConst->apExpr[i*2+1], 0); + break; + } + return WRC_Prune; +} + +/* +** The WHERE-clause constant propagation optimization. +** +** If the WHERE clause contains terms of the form COLUMN=CONSTANT or +** CONSTANT=COLUMN that must be tree (in other words, if the terms top-level +** AND-connected terms that are not part of a ON clause from a LEFT JOIN) +** then throughout the query replace all other occurrences of COLUMN +** with CONSTANT within the WHERE clause. +** +** For example, the query: +** +** SELECT * FROM t1, t2, t3 WHERE t1.a=39 AND t2.b=t1.a AND t3.c=t2.b +** +** Is transformed into +** +** SELECT * FROM t1, t2, t3 WHERE t1.a=39 AND t2.b=39 AND t3.c=39 +** +** Return true if any transformations where made and false if not. +** +** Implementation note: Constant propagation is tricky due to affinity +** and collating sequence interactions. Consider this example: +** +** CREATE TABLE t1(a INT,b TEXT); +** INSERT INTO t1 VALUES(123,'0123'); +** SELECT * FROM t1 WHERE a=123 AND b=a; +** SELECT * FROM t1 WHERE a=123 AND b=123; +** +** The two SELECT statements above should return different answers. b=a +** is alway true because the comparison uses numeric affinity, but b=123 +** is false because it uses text affinity and '0123' is not the same as '123'. +** To work around this, the expression tree is not actually changed from +** "b=a" to "b=123" but rather the "a" in "b=a" is tagged with EP_FixedCol +** and the "123" value is hung off of the pLeft pointer. Code generator +** routines know to generate the constant "123" instead of looking up the +** column value. Also, to avoid collation problems, this optimization is +** only attempted if the "a=123" term uses the default BINARY collation. +*/ +static int propagateConstants( + Parse *pParse, /* The parsing context */ + Select *p /* The query in which to propagate constants */ +){ + WhereConst x; + Walker w; + int nChng = 0; + x.pParse = pParse; + do{ + x.nConst = 0; + x.nChng = 0; + x.apExpr = 0; + findConstInWhere(&x, p->pWhere); + if( x.nConst ){ + memset(&w, 0, sizeof(w)); + w.pParse = pParse; + w.xExprCallback = propagateConstantExprRewrite; + w.xSelectCallback = sqlite3SelectWalkNoop; + w.xSelectCallback2 = 0; + w.walkerDepth = 0; + w.u.pConst = &x; + sqlite3WalkExpr(&w, p->pWhere); + sqlite3DbFree(x.pParse->db, x.apExpr); + nChng += x.nChng; + } + }while( x.nChng ); + return nChng; +} + +#if !defined(SQLITE_OMIT_SUBQUERY) || !defined(SQLITE_OMIT_VIEW) +/* +** Make copies of relevant WHERE clause terms of the outer query into +** the WHERE clause of subquery. Example: +** +** SELECT * FROM (SELECT a AS x, c-d AS y FROM t1) WHERE x=5 AND y=10; +** +** Transformed into: +** +** SELECT * FROM (SELECT a AS x, c-d AS y FROM t1 WHERE a=5 AND c-d=10) +** WHERE x=5 AND y=10; +** +** The hope is that the terms added to the inner query will make it more +** efficient. +** +** Do not attempt this optimization if: +** +** (1) (** This restriction was removed on 2017-09-29. We used to +** disallow this optimization for aggregate subqueries, but now +** it is allowed by putting the extra terms on the HAVING clause. +** The added HAVING clause is pointless if the subquery lacks +** a GROUP BY clause. But such a HAVING clause is also harmless +** so there does not appear to be any reason to add extra logic +** to suppress it. **) +** +** (2) The inner query is the recursive part of a common table expression. +** +** (3) The inner query has a LIMIT clause (since the changes to the WHERE +** clause would change the meaning of the LIMIT). +** +** (4) The inner query is the right operand of a LEFT JOIN and the +** expression to be pushed down does not come from the ON clause +** on that LEFT JOIN. +** +** (5) The WHERE clause expression originates in the ON or USING clause +** of a LEFT JOIN where iCursor is not the right-hand table of that +** left join. An example: +** +** SELECT * +** FROM (SELECT 1 AS a1 UNION ALL SELECT 2) AS aa +** JOIN (SELECT 1 AS b2 UNION ALL SELECT 2) AS bb ON (a1=b2) +** LEFT JOIN (SELECT 8 AS c3 UNION ALL SELECT 9) AS cc ON (b2=2); +** +** The correct answer is three rows: (1,1,NULL),(2,2,8),(2,2,9). +** But if the (b2=2) term were to be pushed down into the bb subquery, +** then the (1,1,NULL) row would be suppressed. +** +** (6) The inner query features one or more window-functions (since +** changes to the WHERE clause of the inner query could change the +** window over which window functions are calculated). +** +** Return 0 if no changes are made and non-zero if one or more WHERE clause +** terms are duplicated into the subquery. +*/ +static int pushDownWhereTerms( + Parse *pParse, /* Parse context (for malloc() and error reporting) */ + Select *pSubq, /* The subquery whose WHERE clause is to be augmented */ + Expr *pWhere, /* The WHERE clause of the outer query */ + int iCursor, /* Cursor number of the subquery */ + int isLeftJoin /* True if pSubq is the right term of a LEFT JOIN */ +){ + Expr *pNew; + int nChng = 0; + if( pWhere==0 ) return 0; + if( pSubq->selFlags & SF_Recursive ) return 0; /* restriction (2) */ + +#ifndef SQLITE_OMIT_WINDOWFUNC + if( pSubq->pWin ) return 0; /* restriction (6) */ +#endif + +#ifdef SQLITE_DEBUG + /* Only the first term of a compound can have a WITH clause. But make + ** sure no other terms are marked SF_Recursive in case something changes + ** in the future. + */ + { + Select *pX; + for(pX=pSubq; pX; pX=pX->pPrior){ + assert( (pX->selFlags & (SF_Recursive))==0 ); + } + } +#endif + + if( pSubq->pLimit!=0 ){ + return 0; /* restriction (3) */ + } + while( pWhere->op==TK_AND ){ + nChng += pushDownWhereTerms(pParse, pSubq, pWhere->pRight, + iCursor, isLeftJoin); + pWhere = pWhere->pLeft; + } + if( isLeftJoin + && (ExprHasProperty(pWhere,EP_FromJoin)==0 + || pWhere->iRightJoinTable!=iCursor) + ){ + return 0; /* restriction (4) */ + } + if( ExprHasProperty(pWhere,EP_FromJoin) && pWhere->iRightJoinTable!=iCursor ){ + return 0; /* restriction (5) */ + } + if( sqlite3ExprIsTableConstant(pWhere, iCursor) ){ + nChng++; + while( pSubq ){ + SubstContext x; + pNew = sqlite3ExprDup(pParse->db, pWhere, 0); + unsetJoinExpr(pNew, -1); + x.pParse = pParse; + x.iTable = iCursor; + x.iNewTable = iCursor; + x.isLeftJoin = 0; + x.pEList = pSubq->pEList; + pNew = substExpr(&x, pNew); + if( pSubq->selFlags & SF_Aggregate ){ + pSubq->pHaving = sqlite3ExprAnd(pParse, pSubq->pHaving, pNew); + }else{ + pSubq->pWhere = sqlite3ExprAnd(pParse, pSubq->pWhere, pNew); + } + pSubq = pSubq->pPrior; + } + } + return nChng; +} +#endif /* !defined(SQLITE_OMIT_SUBQUERY) || !defined(SQLITE_OMIT_VIEW) */ + +/* +** The pFunc is the only aggregate function in the query. Check to see +** if the query is a candidate for the min/max optimization. +** +** If the query is a candidate for the min/max optimization, then set +** *ppMinMax to be an ORDER BY clause to be used for the optimization +** and return either WHERE_ORDERBY_MIN or WHERE_ORDERBY_MAX depending on +** whether pFunc is a min() or max() function. +** +** If the query is not a candidate for the min/max optimization, return +** WHERE_ORDERBY_NORMAL (which must be zero). +** +** This routine must be called after aggregate functions have been +** located but before their arguments have been subjected to aggregate +** analysis. +*/ +static u8 minMaxQuery(sqlite3 *db, Expr *pFunc, ExprList **ppMinMax){ + int eRet = WHERE_ORDERBY_NORMAL; /* Return value */ + ExprList *pEList = pFunc->x.pList; /* Arguments to agg function */ + const char *zFunc; /* Name of aggregate function pFunc */ + ExprList *pOrderBy; + u8 sortFlags; + + assert( *ppMinMax==0 ); + assert( pFunc->op==TK_AGG_FUNCTION ); + assert( !IsWindowFunc(pFunc) ); + if( pEList==0 || pEList->nExpr!=1 || ExprHasProperty(pFunc, EP_WinFunc) ){ + return eRet; + } + zFunc = pFunc->u.zToken; + if( sqlite3StrICmp(zFunc, "min")==0 ){ + eRet = WHERE_ORDERBY_MIN; + sortFlags = KEYINFO_ORDER_BIGNULL; + }else if( sqlite3StrICmp(zFunc, "max")==0 ){ + eRet = WHERE_ORDERBY_MAX; + sortFlags = KEYINFO_ORDER_DESC; + }else{ + return eRet; + } + *ppMinMax = pOrderBy = sqlite3ExprListDup(db, pEList, 0); + assert( pOrderBy!=0 || db->mallocFailed ); + if( pOrderBy ) pOrderBy->a[0].sortFlags = sortFlags; + return eRet; +} + +/* +** The select statement passed as the first argument is an aggregate query. +** The second argument is the associated aggregate-info object. This +** function tests if the SELECT is of the form: +** +** SELECT count(*) FROM +** +** where table is a database table, not a sub-select or view. If the query +** does match this pattern, then a pointer to the Table object representing +** is returned. Otherwise, 0 is returned. +*/ +static Table *isSimpleCount(Select *p, AggInfo *pAggInfo){ + Table *pTab; + Expr *pExpr; + + assert( !p->pGroupBy ); + + if( p->pWhere || p->pEList->nExpr!=1 + || p->pSrc->nSrc!=1 || p->pSrc->a[0].pSelect + ){ + return 0; + } + pTab = p->pSrc->a[0].pTab; + pExpr = p->pEList->a[0].pExpr; + assert( pTab && !pTab->pSelect && pExpr ); + + if( IsVirtual(pTab) ) return 0; + if( pExpr->op!=TK_AGG_FUNCTION ) return 0; + if( NEVER(pAggInfo->nFunc==0) ) return 0; + if( (pAggInfo->aFunc[0].pFunc->funcFlags&SQLITE_FUNC_COUNT)==0 ) return 0; + if( ExprHasProperty(pExpr, EP_Distinct|EP_WinFunc) ) return 0; + + return pTab; +} + +/* +** If the source-list item passed as an argument was augmented with an +** INDEXED BY clause, then try to locate the specified index. If there +** was such a clause and the named index cannot be found, return +** SQLITE_ERROR and leave an error in pParse. Otherwise, populate +** pFrom->pIndex and return SQLITE_OK. +*/ +SQLITE_PRIVATE int sqlite3IndexedByLookup(Parse *pParse, struct SrcList_item *pFrom){ + if( pFrom->pTab && pFrom->fg.isIndexedBy ){ + Table *pTab = pFrom->pTab; + char *zIndexedBy = pFrom->u1.zIndexedBy; + Index *pIdx; + for(pIdx=pTab->pIndex; + pIdx && sqlite3StrICmp(pIdx->zName, zIndexedBy); + pIdx=pIdx->pNext + ); + if( !pIdx ){ + sqlite3ErrorMsg(pParse, "no such index: %s", zIndexedBy, 0); + pParse->checkSchema = 1; + return SQLITE_ERROR; + } + pFrom->pIBIndex = pIdx; + } + return SQLITE_OK; +} +/* +** Detect compound SELECT statements that use an ORDER BY clause with +** an alternative collating sequence. +** +** SELECT ... FROM t1 EXCEPT SELECT ... FROM t2 ORDER BY .. COLLATE ... +** +** These are rewritten as a subquery: +** +** SELECT * FROM (SELECT ... FROM t1 EXCEPT SELECT ... FROM t2) +** ORDER BY ... COLLATE ... +** +** This transformation is necessary because the multiSelectOrderBy() routine +** above that generates the code for a compound SELECT with an ORDER BY clause +** uses a merge algorithm that requires the same collating sequence on the +** result columns as on the ORDER BY clause. See ticket +** http://www.sqlite.org/src/info/6709574d2a +** +** This transformation is only needed for EXCEPT, INTERSECT, and UNION. +** The UNION ALL operator works fine with multiSelectOrderBy() even when +** there are COLLATE terms in the ORDER BY. +*/ +static int convertCompoundSelectToSubquery(Walker *pWalker, Select *p){ + int i; + Select *pNew; + Select *pX; + sqlite3 *db; + struct ExprList_item *a; + SrcList *pNewSrc; + Parse *pParse; + Token dummy; + + if( p->pPrior==0 ) return WRC_Continue; + if( p->pOrderBy==0 ) return WRC_Continue; + for(pX=p; pX && (pX->op==TK_ALL || pX->op==TK_SELECT); pX=pX->pPrior){} + if( pX==0 ) return WRC_Continue; + a = p->pOrderBy->a; + for(i=p->pOrderBy->nExpr-1; i>=0; i--){ + if( a[i].pExpr->flags & EP_Collate ) break; + } + if( i<0 ) return WRC_Continue; + + /* If we reach this point, that means the transformation is required. */ + + pParse = pWalker->pParse; + db = pParse->db; + pNew = sqlite3DbMallocZero(db, sizeof(*pNew) ); + if( pNew==0 ) return WRC_Abort; + memset(&dummy, 0, sizeof(dummy)); + pNewSrc = sqlite3SrcListAppendFromTerm(pParse,0,0,0,&dummy,pNew,0,0); + if( pNewSrc==0 ) return WRC_Abort; + *pNew = *p; + p->pSrc = pNewSrc; + p->pEList = sqlite3ExprListAppend(pParse, 0, sqlite3Expr(db, TK_ASTERISK, 0)); + p->op = TK_SELECT; + p->pWhere = 0; + pNew->pGroupBy = 0; + pNew->pHaving = 0; + pNew->pOrderBy = 0; + p->pPrior = 0; + p->pNext = 0; + p->pWith = 0; + p->selFlags &= ~SF_Compound; + assert( (p->selFlags & SF_Converted)==0 ); + p->selFlags |= SF_Converted; + assert( pNew->pPrior!=0 ); + pNew->pPrior->pNext = pNew; + pNew->pLimit = 0; + return WRC_Continue; +} + +/* +** Check to see if the FROM clause term pFrom has table-valued function +** arguments. If it does, leave an error message in pParse and return +** non-zero, since pFrom is not allowed to be a table-valued function. +*/ +static int cannotBeFunction(Parse *pParse, struct SrcList_item *pFrom){ + if( pFrom->fg.isTabFunc ){ + sqlite3ErrorMsg(pParse, "'%s' is not a function", pFrom->zName); + return 1; + } + return 0; +} + +#ifndef SQLITE_OMIT_CTE +/* +** Argument pWith (which may be NULL) points to a linked list of nested +** WITH contexts, from inner to outermost. If the table identified by +** FROM clause element pItem is really a common-table-expression (CTE) +** then return a pointer to the CTE definition for that table. Otherwise +** return NULL. +** +** If a non-NULL value is returned, set *ppContext to point to the With +** object that the returned CTE belongs to. +*/ +static struct Cte *searchWith( + With *pWith, /* Current innermost WITH clause */ + struct SrcList_item *pItem, /* FROM clause element to resolve */ + With **ppContext /* OUT: WITH clause return value belongs to */ +){ + const char *zName; + if( pItem->zDatabase==0 && (zName = pItem->zName)!=0 ){ + With *p; + for(p=pWith; p; p=p->pOuter){ + int i; + for(i=0; inCte; i++){ + if( sqlite3StrICmp(zName, p->a[i].zName)==0 ){ + *ppContext = p; + return &p->a[i]; + } + } + } + } + return 0; +} + +/* The code generator maintains a stack of active WITH clauses +** with the inner-most WITH clause being at the top of the stack. +** +** This routine pushes the WITH clause passed as the second argument +** onto the top of the stack. If argument bFree is true, then this +** WITH clause will never be popped from the stack. In this case it +** should be freed along with the Parse object. In other cases, when +** bFree==0, the With object will be freed along with the SELECT +** statement with which it is associated. +*/ +SQLITE_PRIVATE void sqlite3WithPush(Parse *pParse, With *pWith, u8 bFree){ + assert( bFree==0 || (pParse->pWith==0 && pParse->pWithToFree==0) ); + if( pWith ){ + assert( pParse->pWith!=pWith ); + pWith->pOuter = pParse->pWith; + pParse->pWith = pWith; + if( bFree ) pParse->pWithToFree = pWith; + } +} + +/* +** This function checks if argument pFrom refers to a CTE declared by +** a WITH clause on the stack currently maintained by the parser. And, +** if currently processing a CTE expression, if it is a recursive +** reference to the current CTE. +** +** If pFrom falls into either of the two categories above, pFrom->pTab +** and other fields are populated accordingly. The caller should check +** (pFrom->pTab!=0) to determine whether or not a successful match +** was found. +** +** Whether or not a match is found, SQLITE_OK is returned if no error +** occurs. If an error does occur, an error message is stored in the +** parser and some error code other than SQLITE_OK returned. +*/ +static int withExpand( + Walker *pWalker, + struct SrcList_item *pFrom +){ + Parse *pParse = pWalker->pParse; + sqlite3 *db = pParse->db; + struct Cte *pCte; /* Matched CTE (or NULL if no match) */ + With *pWith; /* WITH clause that pCte belongs to */ + + assert( pFrom->pTab==0 ); + + pCte = searchWith(pParse->pWith, pFrom, &pWith); + if( pCte ){ + Table *pTab; + ExprList *pEList; + Select *pSel; + Select *pLeft; /* Left-most SELECT statement */ + int bMayRecursive; /* True if compound joined by UNION [ALL] */ + With *pSavedWith; /* Initial value of pParse->pWith */ + + /* If pCte->zCteErr is non-NULL at this point, then this is an illegal + ** recursive reference to CTE pCte. Leave an error in pParse and return + ** early. If pCte->zCteErr is NULL, then this is not a recursive reference. + ** In this case, proceed. */ + if( pCte->zCteErr ){ + sqlite3ErrorMsg(pParse, pCte->zCteErr, pCte->zName); + return SQLITE_ERROR; + } + if( cannotBeFunction(pParse, pFrom) ) return SQLITE_ERROR; + + assert( pFrom->pTab==0 ); + pFrom->pTab = pTab = sqlite3DbMallocZero(db, sizeof(Table)); + if( pTab==0 ) return WRC_Abort; + pTab->nTabRef = 1; + pTab->zName = sqlite3DbStrDup(db, pCte->zName); + pTab->iPKey = -1; + pTab->nRowLogEst = 200; assert( 200==sqlite3LogEst(1048576) ); + pTab->tabFlags |= TF_Ephemeral | TF_NoVisibleRowid; + pFrom->pSelect = sqlite3SelectDup(db, pCte->pSelect, 0); + if( db->mallocFailed ) return SQLITE_NOMEM_BKPT; + assert( pFrom->pSelect ); + + /* Check if this is a recursive CTE. */ + pSel = pFrom->pSelect; + bMayRecursive = ( pSel->op==TK_ALL || pSel->op==TK_UNION ); + if( bMayRecursive ){ + int i; + SrcList *pSrc = pFrom->pSelect->pSrc; + for(i=0; inSrc; i++){ + struct SrcList_item *pItem = &pSrc->a[i]; + if( pItem->zDatabase==0 + && pItem->zName!=0 + && 0==sqlite3StrICmp(pItem->zName, pCte->zName) + ){ + pItem->pTab = pTab; + pItem->fg.isRecursive = 1; + pTab->nTabRef++; + pSel->selFlags |= SF_Recursive; + } + } + } + + /* Only one recursive reference is permitted. */ + if( pTab->nTabRef>2 ){ + sqlite3ErrorMsg( + pParse, "multiple references to recursive table: %s", pCte->zName + ); + return SQLITE_ERROR; + } + assert( pTab->nTabRef==1 || + ((pSel->selFlags&SF_Recursive) && pTab->nTabRef==2 )); + + pCte->zCteErr = "circular reference: %s"; + pSavedWith = pParse->pWith; + pParse->pWith = pWith; + if( bMayRecursive ){ + Select *pPrior = pSel->pPrior; + assert( pPrior->pWith==0 ); + pPrior->pWith = pSel->pWith; + sqlite3WalkSelect(pWalker, pPrior); + pPrior->pWith = 0; + }else{ + sqlite3WalkSelect(pWalker, pSel); + } + pParse->pWith = pWith; + + for(pLeft=pSel; pLeft->pPrior; pLeft=pLeft->pPrior); + pEList = pLeft->pEList; + if( pCte->pCols ){ + if( pEList && pEList->nExpr!=pCte->pCols->nExpr ){ + sqlite3ErrorMsg(pParse, "table %s has %d values for %d columns", + pCte->zName, pEList->nExpr, pCte->pCols->nExpr + ); + pParse->pWith = pSavedWith; + return SQLITE_ERROR; + } + pEList = pCte->pCols; + } + + sqlite3ColumnsFromExprList(pParse, pEList, &pTab->nCol, &pTab->aCol); + if( bMayRecursive ){ + if( pSel->selFlags & SF_Recursive ){ + pCte->zCteErr = "multiple recursive references: %s"; + }else{ + pCte->zCteErr = "recursive reference in a subquery: %s"; + } + sqlite3WalkSelect(pWalker, pSel); + } + pCte->zCteErr = 0; + pParse->pWith = pSavedWith; + } + + return SQLITE_OK; +} +#endif + +#ifndef SQLITE_OMIT_CTE +/* +** If the SELECT passed as the second argument has an associated WITH +** clause, pop it from the stack stored as part of the Parse object. +** +** This function is used as the xSelectCallback2() callback by +** sqlite3SelectExpand() when walking a SELECT tree to resolve table +** names and other FROM clause elements. +*/ +static void selectPopWith(Walker *pWalker, Select *p){ + Parse *pParse = pWalker->pParse; + if( OK_IF_ALWAYS_TRUE(pParse->pWith) && p->pPrior==0 ){ + With *pWith = findRightmost(p)->pWith; + if( pWith!=0 ){ + assert( pParse->pWith==pWith ); + pParse->pWith = pWith->pOuter; + } + } +} +#else +#define selectPopWith 0 +#endif + +/* +** The SrcList_item structure passed as the second argument represents a +** sub-query in the FROM clause of a SELECT statement. This function +** allocates and populates the SrcList_item.pTab object. If successful, +** SQLITE_OK is returned. Otherwise, if an OOM error is encountered, +** SQLITE_NOMEM. +*/ +SQLITE_PRIVATE int sqlite3ExpandSubquery(Parse *pParse, struct SrcList_item *pFrom){ + Select *pSel = pFrom->pSelect; + Table *pTab; + + assert( pSel ); + pFrom->pTab = pTab = sqlite3DbMallocZero(pParse->db, sizeof(Table)); + if( pTab==0 ) return SQLITE_NOMEM; + pTab->nTabRef = 1; + if( pFrom->zAlias ){ + pTab->zName = sqlite3DbStrDup(pParse->db, pFrom->zAlias); + }else{ + pTab->zName = sqlite3MPrintf(pParse->db, "subquery_%u", pSel->selId); + } + while( pSel->pPrior ){ pSel = pSel->pPrior; } + sqlite3ColumnsFromExprList(pParse, pSel->pEList,&pTab->nCol,&pTab->aCol); + pTab->iPKey = -1; + pTab->nRowLogEst = 200; assert( 200==sqlite3LogEst(1048576) ); + pTab->tabFlags |= TF_Ephemeral; + + return pParse->nErr ? SQLITE_ERROR : SQLITE_OK; +} + +/* +** This routine is a Walker callback for "expanding" a SELECT statement. +** "Expanding" means to do the following: +** +** (1) Make sure VDBE cursor numbers have been assigned to every +** element of the FROM clause. +** +** (2) Fill in the pTabList->a[].pTab fields in the SrcList that +** defines FROM clause. When views appear in the FROM clause, +** fill pTabList->a[].pSelect with a copy of the SELECT statement +** that implements the view. A copy is made of the view's SELECT +** statement so that we can freely modify or delete that statement +** without worrying about messing up the persistent representation +** of the view. +** +** (3) Add terms to the WHERE clause to accommodate the NATURAL keyword +** on joins and the ON and USING clause of joins. +** +** (4) Scan the list of columns in the result set (pEList) looking +** for instances of the "*" operator or the TABLE.* operator. +** If found, expand each "*" to be every column in every table +** and TABLE.* to be every column in TABLE. +** +*/ +static int selectExpander(Walker *pWalker, Select *p){ + Parse *pParse = pWalker->pParse; + int i, j, k; + SrcList *pTabList; + ExprList *pEList; + struct SrcList_item *pFrom; + sqlite3 *db = pParse->db; + Expr *pE, *pRight, *pExpr; + u16 selFlags = p->selFlags; + u32 elistFlags = 0; + + p->selFlags |= SF_Expanded; + if( db->mallocFailed ){ + return WRC_Abort; + } + assert( p->pSrc!=0 ); + if( (selFlags & SF_Expanded)!=0 ){ + return WRC_Prune; + } + if( pWalker->eCode ){ + /* Renumber selId because it has been copied from a view */ + p->selId = ++pParse->nSelect; + } + pTabList = p->pSrc; + pEList = p->pEList; + sqlite3WithPush(pParse, p->pWith, 0); + + /* Make sure cursor numbers have been assigned to all entries in + ** the FROM clause of the SELECT statement. + */ + sqlite3SrcListAssignCursors(pParse, pTabList); + + /* Look up every table named in the FROM clause of the select. If + ** an entry of the FROM clause is a subquery instead of a table or view, + ** then create a transient table structure to describe the subquery. + */ + for(i=0, pFrom=pTabList->a; inSrc; i++, pFrom++){ + Table *pTab; + assert( pFrom->fg.isRecursive==0 || pFrom->pTab!=0 ); + if( pFrom->fg.isRecursive ) continue; + assert( pFrom->pTab==0 ); +#ifndef SQLITE_OMIT_CTE + if( withExpand(pWalker, pFrom) ) return WRC_Abort; + if( pFrom->pTab ) {} else +#endif + if( pFrom->zName==0 ){ +#ifndef SQLITE_OMIT_SUBQUERY + Select *pSel = pFrom->pSelect; + /* A sub-query in the FROM clause of a SELECT */ + assert( pSel!=0 ); + assert( pFrom->pTab==0 ); + if( sqlite3WalkSelect(pWalker, pSel) ) return WRC_Abort; + if( sqlite3ExpandSubquery(pParse, pFrom) ) return WRC_Abort; +#endif + }else{ + /* An ordinary table or view name in the FROM clause */ + assert( pFrom->pTab==0 ); + pFrom->pTab = pTab = sqlite3LocateTableItem(pParse, 0, pFrom); + if( pTab==0 ) return WRC_Abort; + if( pTab->nTabRef>=0xffff ){ + sqlite3ErrorMsg(pParse, "too many references to \"%s\": max 65535", + pTab->zName); + pFrom->pTab = 0; + return WRC_Abort; + } + pTab->nTabRef++; + if( !IsVirtual(pTab) && cannotBeFunction(pParse, pFrom) ){ + return WRC_Abort; + } +#if !defined(SQLITE_OMIT_VIEW) || !defined (SQLITE_OMIT_VIRTUALTABLE) + if( IsVirtual(pTab) || pTab->pSelect ){ + i16 nCol; + u8 eCodeOrig = pWalker->eCode; + if( sqlite3ViewGetColumnNames(pParse, pTab) ) return WRC_Abort; + assert( pFrom->pSelect==0 ); + if( pTab->pSelect && (db->flags & SQLITE_EnableView)==0 ){ + sqlite3ErrorMsg(pParse, "access to view \"%s\" prohibited", + pTab->zName); + } + pFrom->pSelect = sqlite3SelectDup(db, pTab->pSelect, 0); + nCol = pTab->nCol; + pTab->nCol = -1; + pWalker->eCode = 1; /* Turn on Select.selId renumbering */ + sqlite3WalkSelect(pWalker, pFrom->pSelect); + pWalker->eCode = eCodeOrig; + pTab->nCol = nCol; + } +#endif + } + + /* Locate the index named by the INDEXED BY clause, if any. */ + if( sqlite3IndexedByLookup(pParse, pFrom) ){ + return WRC_Abort; + } + } + + /* Process NATURAL keywords, and ON and USING clauses of joins. + */ + if( db->mallocFailed || sqliteProcessJoin(pParse, p) ){ + return WRC_Abort; + } + + /* For every "*" that occurs in the column list, insert the names of + ** all columns in all tables. And for every TABLE.* insert the names + ** of all columns in TABLE. The parser inserted a special expression + ** with the TK_ASTERISK operator for each "*" that it found in the column + ** list. The following code just has to locate the TK_ASTERISK + ** expressions and expand each one to the list of all columns in + ** all tables. + ** + ** The first loop just checks to see if there are any "*" operators + ** that need expanding. + */ + for(k=0; knExpr; k++){ + pE = pEList->a[k].pExpr; + if( pE->op==TK_ASTERISK ) break; + assert( pE->op!=TK_DOT || pE->pRight!=0 ); + assert( pE->op!=TK_DOT || (pE->pLeft!=0 && pE->pLeft->op==TK_ID) ); + if( pE->op==TK_DOT && pE->pRight->op==TK_ASTERISK ) break; + elistFlags |= pE->flags; + } + if( knExpr ){ + /* + ** If we get here it means the result set contains one or more "*" + ** operators that need to be expanded. Loop through each expression + ** in the result set and expand them one by one. + */ + struct ExprList_item *a = pEList->a; + ExprList *pNew = 0; + int flags = pParse->db->flags; + int longNames = (flags & SQLITE_FullColNames)!=0 + && (flags & SQLITE_ShortColNames)==0; + + for(k=0; knExpr; k++){ + pE = a[k].pExpr; + elistFlags |= pE->flags; + pRight = pE->pRight; + assert( pE->op!=TK_DOT || pRight!=0 ); + if( pE->op!=TK_ASTERISK + && (pE->op!=TK_DOT || pRight->op!=TK_ASTERISK) + ){ + /* This particular expression does not need to be expanded. + */ + pNew = sqlite3ExprListAppend(pParse, pNew, a[k].pExpr); + if( pNew ){ + pNew->a[pNew->nExpr-1].zName = a[k].zName; + pNew->a[pNew->nExpr-1].zSpan = a[k].zSpan; + a[k].zName = 0; + a[k].zSpan = 0; + } + a[k].pExpr = 0; + }else{ + /* This expression is a "*" or a "TABLE.*" and needs to be + ** expanded. */ + int tableSeen = 0; /* Set to 1 when TABLE matches */ + char *zTName = 0; /* text of name of TABLE */ + if( pE->op==TK_DOT ){ + assert( pE->pLeft!=0 ); + assert( !ExprHasProperty(pE->pLeft, EP_IntValue) ); + zTName = pE->pLeft->u.zToken; + } + for(i=0, pFrom=pTabList->a; inSrc; i++, pFrom++){ + Table *pTab = pFrom->pTab; + Select *pSub = pFrom->pSelect; + char *zTabName = pFrom->zAlias; + const char *zSchemaName = 0; + int iDb; + if( zTabName==0 ){ + zTabName = pTab->zName; + } + if( db->mallocFailed ) break; + if( pSub==0 || (pSub->selFlags & SF_NestedFrom)==0 ){ + pSub = 0; + if( zTName && sqlite3StrICmp(zTName, zTabName)!=0 ){ + continue; + } + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + zSchemaName = iDb>=0 ? db->aDb[iDb].zDbSName : "*"; + } + for(j=0; jnCol; j++){ + char *zName = pTab->aCol[j].zName; + char *zColname; /* The computed column name */ + char *zToFree; /* Malloced string that needs to be freed */ + Token sColname; /* Computed column name as a token */ + + assert( zName ); + if( zTName && pSub + && sqlite3MatchSpanName(pSub->pEList->a[j].zSpan, 0, zTName, 0)==0 + ){ + continue; + } + + /* If a column is marked as 'hidden', omit it from the expanded + ** result-set list unless the SELECT has the SF_IncludeHidden + ** bit set. + */ + if( (p->selFlags & SF_IncludeHidden)==0 + && IsHiddenColumn(&pTab->aCol[j]) + ){ + continue; + } + tableSeen = 1; + + if( i>0 && zTName==0 ){ + if( (pFrom->fg.jointype & JT_NATURAL)!=0 + && tableAndColumnIndex(pTabList, i, zName, 0, 0) + ){ + /* In a NATURAL join, omit the join columns from the + ** table to the right of the join */ + continue; + } + if( sqlite3IdListIndex(pFrom->pUsing, zName)>=0 ){ + /* In a join with a USING clause, omit columns in the + ** using clause from the table on the right. */ + continue; + } + } + pRight = sqlite3Expr(db, TK_ID, zName); + zColname = zName; + zToFree = 0; + if( longNames || pTabList->nSrc>1 ){ + Expr *pLeft; + pLeft = sqlite3Expr(db, TK_ID, zTabName); + pExpr = sqlite3PExpr(pParse, TK_DOT, pLeft, pRight); + if( zSchemaName ){ + pLeft = sqlite3Expr(db, TK_ID, zSchemaName); + pExpr = sqlite3PExpr(pParse, TK_DOT, pLeft, pExpr); + } + if( longNames ){ + zColname = sqlite3MPrintf(db, "%s.%s", zTabName, zName); + zToFree = zColname; + } + }else{ + pExpr = pRight; + } + pNew = sqlite3ExprListAppend(pParse, pNew, pExpr); + sqlite3TokenInit(&sColname, zColname); + sqlite3ExprListSetName(pParse, pNew, &sColname, 0); + if( pNew && (p->selFlags & SF_NestedFrom)!=0 ){ + struct ExprList_item *pX = &pNew->a[pNew->nExpr-1]; + if( pSub ){ + pX->zSpan = sqlite3DbStrDup(db, pSub->pEList->a[j].zSpan); + testcase( pX->zSpan==0 ); + }else{ + pX->zSpan = sqlite3MPrintf(db, "%s.%s.%s", + zSchemaName, zTabName, zColname); + testcase( pX->zSpan==0 ); + } + pX->bSpanIsTab = 1; + } + sqlite3DbFree(db, zToFree); + } + } + if( !tableSeen ){ + if( zTName ){ + sqlite3ErrorMsg(pParse, "no such table: %s", zTName); + }else{ + sqlite3ErrorMsg(pParse, "no tables specified"); + } + } + } + } + sqlite3ExprListDelete(db, pEList); + p->pEList = pNew; + } + if( p->pEList ){ + if( p->pEList->nExpr>db->aLimit[SQLITE_LIMIT_COLUMN] ){ + sqlite3ErrorMsg(pParse, "too many columns in result set"); + return WRC_Abort; + } + if( (elistFlags & (EP_HasFunc|EP_Subquery))!=0 ){ + p->selFlags |= SF_ComplexResult; + } + } + return WRC_Continue; +} + +/* +** No-op routine for the parse-tree walker. +** +** When this routine is the Walker.xExprCallback then expression trees +** are walked without any actions being taken at each node. Presumably, +** when this routine is used for Walker.xExprCallback then +** Walker.xSelectCallback is set to do something useful for every +** subquery in the parser tree. +*/ +SQLITE_PRIVATE int sqlite3ExprWalkNoop(Walker *NotUsed, Expr *NotUsed2){ + UNUSED_PARAMETER2(NotUsed, NotUsed2); + return WRC_Continue; +} + +/* +** No-op routine for the parse-tree walker for SELECT statements. +** subquery in the parser tree. +*/ +SQLITE_PRIVATE int sqlite3SelectWalkNoop(Walker *NotUsed, Select *NotUsed2){ + UNUSED_PARAMETER2(NotUsed, NotUsed2); + return WRC_Continue; +} + +#if SQLITE_DEBUG +/* +** Always assert. This xSelectCallback2 implementation proves that the +** xSelectCallback2 is never invoked. +*/ +SQLITE_PRIVATE void sqlite3SelectWalkAssert2(Walker *NotUsed, Select *NotUsed2){ + UNUSED_PARAMETER2(NotUsed, NotUsed2); + assert( 0 ); +} +#endif +/* +** This routine "expands" a SELECT statement and all of its subqueries. +** For additional information on what it means to "expand" a SELECT +** statement, see the comment on the selectExpand worker callback above. +** +** Expanding a SELECT statement is the first step in processing a +** SELECT statement. The SELECT statement must be expanded before +** name resolution is performed. +** +** If anything goes wrong, an error message is written into pParse. +** The calling function can detect the problem by looking at pParse->nErr +** and/or pParse->db->mallocFailed. +*/ +static void sqlite3SelectExpand(Parse *pParse, Select *pSelect){ + Walker w; + w.xExprCallback = sqlite3ExprWalkNoop; + w.pParse = pParse; + if( OK_IF_ALWAYS_TRUE(pParse->hasCompound) ){ + w.xSelectCallback = convertCompoundSelectToSubquery; + w.xSelectCallback2 = 0; + sqlite3WalkSelect(&w, pSelect); + } + w.xSelectCallback = selectExpander; + w.xSelectCallback2 = selectPopWith; + w.eCode = 0; + sqlite3WalkSelect(&w, pSelect); +} + + +#ifndef SQLITE_OMIT_SUBQUERY +/* +** This is a Walker.xSelectCallback callback for the sqlite3SelectTypeInfo() +** interface. +** +** For each FROM-clause subquery, add Column.zType and Column.zColl +** information to the Table structure that represents the result set +** of that subquery. +** +** The Table structure that represents the result set was constructed +** by selectExpander() but the type and collation information was omitted +** at that point because identifiers had not yet been resolved. This +** routine is called after identifier resolution. +*/ +static void selectAddSubqueryTypeInfo(Walker *pWalker, Select *p){ + Parse *pParse; + int i; + SrcList *pTabList; + struct SrcList_item *pFrom; + + assert( p->selFlags & SF_Resolved ); + if( p->selFlags & SF_HasTypeInfo ) return; + p->selFlags |= SF_HasTypeInfo; + pParse = pWalker->pParse; + pTabList = p->pSrc; + for(i=0, pFrom=pTabList->a; inSrc; i++, pFrom++){ + Table *pTab = pFrom->pTab; + assert( pTab!=0 ); + if( (pTab->tabFlags & TF_Ephemeral)!=0 ){ + /* A sub-query in the FROM clause of a SELECT */ + Select *pSel = pFrom->pSelect; + if( pSel ){ + while( pSel->pPrior ) pSel = pSel->pPrior; + sqlite3SelectAddColumnTypeAndCollation(pParse, pTab, pSel, + SQLITE_AFF_NONE); + } + } + } +} +#endif + + +/* +** This routine adds datatype and collating sequence information to +** the Table structures of all FROM-clause subqueries in a +** SELECT statement. +** +** Use this routine after name resolution. +*/ +static void sqlite3SelectAddTypeInfo(Parse *pParse, Select *pSelect){ +#ifndef SQLITE_OMIT_SUBQUERY + Walker w; + w.xSelectCallback = sqlite3SelectWalkNoop; + w.xSelectCallback2 = selectAddSubqueryTypeInfo; + w.xExprCallback = sqlite3ExprWalkNoop; + w.pParse = pParse; + sqlite3WalkSelect(&w, pSelect); +#endif +} + + +/* +** This routine sets up a SELECT statement for processing. The +** following is accomplished: +** +** * VDBE Cursor numbers are assigned to all FROM-clause terms. +** * Ephemeral Table objects are created for all FROM-clause subqueries. +** * ON and USING clauses are shifted into WHERE statements +** * Wildcards "*" and "TABLE.*" in result sets are expanded. +** * Identifiers in expression are matched to tables. +** +** This routine acts recursively on all subqueries within the SELECT. +*/ +SQLITE_PRIVATE void sqlite3SelectPrep( + Parse *pParse, /* The parser context */ + Select *p, /* The SELECT statement being coded. */ + NameContext *pOuterNC /* Name context for container */ +){ + assert( p!=0 || pParse->db->mallocFailed ); + if( pParse->db->mallocFailed ) return; + if( p->selFlags & SF_HasTypeInfo ) return; + sqlite3SelectExpand(pParse, p); + if( pParse->nErr || pParse->db->mallocFailed ) return; + sqlite3ResolveSelectNames(pParse, p, pOuterNC); + if( pParse->nErr || pParse->db->mallocFailed ) return; + sqlite3SelectAddTypeInfo(pParse, p); +} + +/* +** Reset the aggregate accumulator. +** +** The aggregate accumulator is a set of memory cells that hold +** intermediate results while calculating an aggregate. This +** routine generates code that stores NULLs in all of those memory +** cells. +*/ +static void resetAccumulator(Parse *pParse, AggInfo *pAggInfo){ + Vdbe *v = pParse->pVdbe; + int i; + struct AggInfo_func *pFunc; + int nReg = pAggInfo->nFunc + pAggInfo->nColumn; + if( nReg==0 ) return; +#ifdef SQLITE_DEBUG + /* Verify that all AggInfo registers are within the range specified by + ** AggInfo.mnReg..AggInfo.mxReg */ + assert( nReg==pAggInfo->mxReg-pAggInfo->mnReg+1 ); + for(i=0; inColumn; i++){ + assert( pAggInfo->aCol[i].iMem>=pAggInfo->mnReg + && pAggInfo->aCol[i].iMem<=pAggInfo->mxReg ); + } + for(i=0; inFunc; i++){ + assert( pAggInfo->aFunc[i].iMem>=pAggInfo->mnReg + && pAggInfo->aFunc[i].iMem<=pAggInfo->mxReg ); + } +#endif + sqlite3VdbeAddOp3(v, OP_Null, 0, pAggInfo->mnReg, pAggInfo->mxReg); + for(pFunc=pAggInfo->aFunc, i=0; inFunc; i++, pFunc++){ + if( pFunc->iDistinct>=0 ){ + Expr *pE = pFunc->pExpr; + assert( !ExprHasProperty(pE, EP_xIsSelect) ); + if( pE->x.pList==0 || pE->x.pList->nExpr!=1 ){ + sqlite3ErrorMsg(pParse, "DISTINCT aggregates must have exactly one " + "argument"); + pFunc->iDistinct = -1; + }else{ + KeyInfo *pKeyInfo = sqlite3KeyInfoFromExprList(pParse, pE->x.pList,0,0); + sqlite3VdbeAddOp4(v, OP_OpenEphemeral, pFunc->iDistinct, 0, 0, + (char*)pKeyInfo, P4_KEYINFO); + } + } + } +} + +/* +** Invoke the OP_AggFinalize opcode for every aggregate function +** in the AggInfo structure. +*/ +static void finalizeAggFunctions(Parse *pParse, AggInfo *pAggInfo){ + Vdbe *v = pParse->pVdbe; + int i; + struct AggInfo_func *pF; + for(i=0, pF=pAggInfo->aFunc; inFunc; i++, pF++){ + ExprList *pList = pF->pExpr->x.pList; + assert( !ExprHasProperty(pF->pExpr, EP_xIsSelect) ); + sqlite3VdbeAddOp2(v, OP_AggFinal, pF->iMem, pList ? pList->nExpr : 0); + sqlite3VdbeAppendP4(v, pF->pFunc, P4_FUNCDEF); + } +} + + +/* +** Update the accumulator memory cells for an aggregate based on +** the current cursor position. +** +** If regAcc is non-zero and there are no min() or max() aggregates +** in pAggInfo, then only populate the pAggInfo->nAccumulator accumulator +** registers if register regAcc contains 0. The caller will take care +** of setting and clearing regAcc. +*/ +static void updateAccumulator(Parse *pParse, int regAcc, AggInfo *pAggInfo){ + Vdbe *v = pParse->pVdbe; + int i; + int regHit = 0; + int addrHitTest = 0; + struct AggInfo_func *pF; + struct AggInfo_col *pC; + + pAggInfo->directMode = 1; + for(i=0, pF=pAggInfo->aFunc; inFunc; i++, pF++){ + int nArg; + int addrNext = 0; + int regAgg; + ExprList *pList = pF->pExpr->x.pList; + assert( !ExprHasProperty(pF->pExpr, EP_xIsSelect) ); + assert( !IsWindowFunc(pF->pExpr) ); + if( ExprHasProperty(pF->pExpr, EP_WinFunc) ){ + Expr *pFilter = pF->pExpr->y.pWin->pFilter; + if( pAggInfo->nAccumulator + && (pF->pFunc->funcFlags & SQLITE_FUNC_NEEDCOLL) + ){ + if( regHit==0 ) regHit = ++pParse->nMem; + /* If this is the first row of the group (regAcc==0), clear the + ** "magnet" register regHit so that the accumulator registers + ** are populated if the FILTER clause jumps over the the + ** invocation of min() or max() altogether. Or, if this is not + ** the first row (regAcc==1), set the magnet register so that the + ** accumulators are not populated unless the min()/max() is invoked and + ** indicates that they should be. */ + sqlite3VdbeAddOp2(v, OP_Copy, regAcc, regHit); + } + addrNext = sqlite3VdbeMakeLabel(pParse); + sqlite3ExprIfFalse(pParse, pFilter, addrNext, SQLITE_JUMPIFNULL); + } + if( pList ){ + nArg = pList->nExpr; + regAgg = sqlite3GetTempRange(pParse, nArg); + sqlite3ExprCodeExprList(pParse, pList, regAgg, 0, SQLITE_ECEL_DUP); + }else{ + nArg = 0; + regAgg = 0; + } + if( pF->iDistinct>=0 ){ + if( addrNext==0 ){ + addrNext = sqlite3VdbeMakeLabel(pParse); + } + testcase( nArg==0 ); /* Error condition */ + testcase( nArg>1 ); /* Also an error */ + codeDistinct(pParse, pF->iDistinct, addrNext, 1, regAgg); + } + if( pF->pFunc->funcFlags & SQLITE_FUNC_NEEDCOLL ){ + CollSeq *pColl = 0; + struct ExprList_item *pItem; + int j; + assert( pList!=0 ); /* pList!=0 if pF->pFunc has NEEDCOLL */ + for(j=0, pItem=pList->a; !pColl && jpExpr); + } + if( !pColl ){ + pColl = pParse->db->pDfltColl; + } + if( regHit==0 && pAggInfo->nAccumulator ) regHit = ++pParse->nMem; + sqlite3VdbeAddOp4(v, OP_CollSeq, regHit, 0, 0, (char *)pColl, P4_COLLSEQ); + } + sqlite3VdbeAddOp3(v, OP_AggStep, 0, regAgg, pF->iMem); + sqlite3VdbeAppendP4(v, pF->pFunc, P4_FUNCDEF); + sqlite3VdbeChangeP5(v, (u8)nArg); + sqlite3ReleaseTempRange(pParse, regAgg, nArg); + if( addrNext ){ + sqlite3VdbeResolveLabel(v, addrNext); + } + } + if( regHit==0 && pAggInfo->nAccumulator ){ + regHit = regAcc; + } + if( regHit ){ + addrHitTest = sqlite3VdbeAddOp1(v, OP_If, regHit); VdbeCoverage(v); + } + for(i=0, pC=pAggInfo->aCol; inAccumulator; i++, pC++){ + sqlite3ExprCode(pParse, pC->pExpr, pC->iMem); + } + + pAggInfo->directMode = 0; + if( addrHitTest ){ + sqlite3VdbeJumpHere(v, addrHitTest); + } +} + +/* +** Add a single OP_Explain instruction to the VDBE to explain a simple +** count(*) query ("SELECT count(*) FROM pTab"). +*/ +#ifndef SQLITE_OMIT_EXPLAIN +static void explainSimpleCount( + Parse *pParse, /* Parse context */ + Table *pTab, /* Table being queried */ + Index *pIdx /* Index used to optimize scan, or NULL */ +){ + if( pParse->explain==2 ){ + int bCover = (pIdx!=0 && (HasRowid(pTab) || !IsPrimaryKeyIndex(pIdx))); + sqlite3VdbeExplain(pParse, 0, "SCAN TABLE %s%s%s", + pTab->zName, + bCover ? " USING COVERING INDEX " : "", + bCover ? pIdx->zName : "" + ); + } +} +#else +# define explainSimpleCount(a,b,c) +#endif + +/* +** sqlite3WalkExpr() callback used by havingToWhere(). +** +** If the node passed to the callback is a TK_AND node, return +** WRC_Continue to tell sqlite3WalkExpr() to iterate through child nodes. +** +** Otherwise, return WRC_Prune. In this case, also check if the +** sub-expression matches the criteria for being moved to the WHERE +** clause. If so, add it to the WHERE clause and replace the sub-expression +** within the HAVING expression with a constant "1". +*/ +static int havingToWhereExprCb(Walker *pWalker, Expr *pExpr){ + if( pExpr->op!=TK_AND ){ + Select *pS = pWalker->u.pSelect; + if( sqlite3ExprIsConstantOrGroupBy(pWalker->pParse, pExpr, pS->pGroupBy) ){ + sqlite3 *db = pWalker->pParse->db; + Expr *pNew = sqlite3Expr(db, TK_INTEGER, "1"); + if( pNew ){ + Expr *pWhere = pS->pWhere; + SWAP(Expr, *pNew, *pExpr); + pNew = sqlite3ExprAnd(pWalker->pParse, pWhere, pNew); + pS->pWhere = pNew; + pWalker->eCode = 1; + } + } + return WRC_Prune; + } + return WRC_Continue; +} + +/* +** Transfer eligible terms from the HAVING clause of a query, which is +** processed after grouping, to the WHERE clause, which is processed before +** grouping. For example, the query: +** +** SELECT * FROM WHERE a=? GROUP BY b HAVING b=? AND c=? +** +** can be rewritten as: +** +** SELECT * FROM WHERE a=? AND b=? GROUP BY b HAVING c=? +** +** A term of the HAVING expression is eligible for transfer if it consists +** entirely of constants and expressions that are also GROUP BY terms that +** use the "BINARY" collation sequence. +*/ +static void havingToWhere(Parse *pParse, Select *p){ + Walker sWalker; + memset(&sWalker, 0, sizeof(sWalker)); + sWalker.pParse = pParse; + sWalker.xExprCallback = havingToWhereExprCb; + sWalker.u.pSelect = p; + sqlite3WalkExpr(&sWalker, p->pHaving); +#if SELECTTRACE_ENABLED + if( sWalker.eCode && (sqlite3SelectTrace & 0x100)!=0 ){ + SELECTTRACE(0x100,pParse,p,("Move HAVING terms into WHERE:\n")); + sqlite3TreeViewSelect(0, p, 0); + } +#endif +} + +/* +** Check to see if the pThis entry of pTabList is a self-join of a prior view. +** If it is, then return the SrcList_item for the prior view. If it is not, +** then return 0. +*/ +static struct SrcList_item *isSelfJoinView( + SrcList *pTabList, /* Search for self-joins in this FROM clause */ + struct SrcList_item *pThis /* Search for prior reference to this subquery */ +){ + struct SrcList_item *pItem; + for(pItem = pTabList->a; pItempSelect==0 ) continue; + if( pItem->fg.viaCoroutine ) continue; + if( pItem->zName==0 ) continue; + assert( pItem->pTab!=0 ); + assert( pThis->pTab!=0 ); + if( pItem->pTab->pSchema!=pThis->pTab->pSchema ) continue; + if( sqlite3_stricmp(pItem->zName, pThis->zName)!=0 ) continue; + pS1 = pItem->pSelect; + if( pItem->pTab->pSchema==0 && pThis->pSelect->selId!=pS1->selId ){ + /* The query flattener left two different CTE tables with identical + ** names in the same FROM clause. */ + continue; + } + if( sqlite3ExprCompare(0, pThis->pSelect->pWhere, pS1->pWhere, -1) + || sqlite3ExprCompare(0, pThis->pSelect->pHaving, pS1->pHaving, -1) + ){ + /* The view was modified by some other optimization such as + ** pushDownWhereTerms() */ + continue; + } + return pItem; + } + return 0; +} + +#ifdef SQLITE_COUNTOFVIEW_OPTIMIZATION +/* +** Attempt to transform a query of the form +** +** SELECT count(*) FROM (SELECT x FROM t1 UNION ALL SELECT y FROM t2) +** +** Into this: +** +** SELECT (SELECT count(*) FROM t1)+(SELECT count(*) FROM t2) +** +** The transformation only works if all of the following are true: +** +** * The subquery is a UNION ALL of two or more terms +** * The subquery does not have a LIMIT clause +** * There is no WHERE or GROUP BY or HAVING clauses on the subqueries +** * The outer query is a simple count(*) with no WHERE clause or other +** extraneous syntax. +** +** Return TRUE if the optimization is undertaken. +*/ +static int countOfViewOptimization(Parse *pParse, Select *p){ + Select *pSub, *pPrior; + Expr *pExpr; + Expr *pCount; + sqlite3 *db; + if( (p->selFlags & SF_Aggregate)==0 ) return 0; /* This is an aggregate */ + if( p->pEList->nExpr!=1 ) return 0; /* Single result column */ + if( p->pWhere ) return 0; + if( p->pGroupBy ) return 0; + pExpr = p->pEList->a[0].pExpr; + if( pExpr->op!=TK_AGG_FUNCTION ) return 0; /* Result is an aggregate */ + if( sqlite3_stricmp(pExpr->u.zToken,"count") ) return 0; /* Is count() */ + if( pExpr->x.pList!=0 ) return 0; /* Must be count(*) */ + if( p->pSrc->nSrc!=1 ) return 0; /* One table in FROM */ + pSub = p->pSrc->a[0].pSelect; + if( pSub==0 ) return 0; /* The FROM is a subquery */ + if( pSub->pPrior==0 ) return 0; /* Must be a compound ry */ + do{ + if( pSub->op!=TK_ALL && pSub->pPrior ) return 0; /* Must be UNION ALL */ + if( pSub->pWhere ) return 0; /* No WHERE clause */ + if( pSub->pLimit ) return 0; /* No LIMIT clause */ + if( pSub->selFlags & SF_Aggregate ) return 0; /* Not an aggregate */ + pSub = pSub->pPrior; /* Repeat over compound */ + }while( pSub ); + + /* If we reach this point then it is OK to perform the transformation */ + + db = pParse->db; + pCount = pExpr; + pExpr = 0; + pSub = p->pSrc->a[0].pSelect; + p->pSrc->a[0].pSelect = 0; + sqlite3SrcListDelete(db, p->pSrc); + p->pSrc = sqlite3DbMallocZero(pParse->db, sizeof(*p->pSrc)); + while( pSub ){ + Expr *pTerm; + pPrior = pSub->pPrior; + pSub->pPrior = 0; + pSub->pNext = 0; + pSub->selFlags |= SF_Aggregate; + pSub->selFlags &= ~SF_Compound; + pSub->nSelectRow = 0; + sqlite3ExprListDelete(db, pSub->pEList); + pTerm = pPrior ? sqlite3ExprDup(db, pCount, 0) : pCount; + pSub->pEList = sqlite3ExprListAppend(pParse, 0, pTerm); + pTerm = sqlite3PExpr(pParse, TK_SELECT, 0, 0); + sqlite3PExprAddSelect(pParse, pTerm, pSub); + if( pExpr==0 ){ + pExpr = pTerm; + }else{ + pExpr = sqlite3PExpr(pParse, TK_PLUS, pTerm, pExpr); + } + pSub = pPrior; + } + p->pEList->a[0].pExpr = pExpr; + p->selFlags &= ~SF_Aggregate; + +#if SELECTTRACE_ENABLED + if( sqlite3SelectTrace & 0x400 ){ + SELECTTRACE(0x400,pParse,p,("After count-of-view optimization:\n")); + sqlite3TreeViewSelect(0, p, 0); + } +#endif + return 1; +} +#endif /* SQLITE_COUNTOFVIEW_OPTIMIZATION */ + +/* +** Generate code for the SELECT statement given in the p argument. +** +** The results are returned according to the SelectDest structure. +** See comments in sqliteInt.h for further information. +** +** This routine returns the number of errors. If any errors are +** encountered, then an appropriate error message is left in +** pParse->zErrMsg. +** +** This routine does NOT free the Select structure passed in. The +** calling function needs to do that. +*/ +SQLITE_PRIVATE int sqlite3Select( + Parse *pParse, /* The parser context */ + Select *p, /* The SELECT statement being coded. */ + SelectDest *pDest /* What to do with the query results */ +){ + int i, j; /* Loop counters */ + WhereInfo *pWInfo; /* Return from sqlite3WhereBegin() */ + Vdbe *v; /* The virtual machine under construction */ + int isAgg; /* True for select lists like "count(*)" */ + ExprList *pEList = 0; /* List of columns to extract. */ + SrcList *pTabList; /* List of tables to select from */ + Expr *pWhere; /* The WHERE clause. May be NULL */ + ExprList *pGroupBy; /* The GROUP BY clause. May be NULL */ + Expr *pHaving; /* The HAVING clause. May be NULL */ + int rc = 1; /* Value to return from this function */ + DistinctCtx sDistinct; /* Info on how to code the DISTINCT keyword */ + SortCtx sSort; /* Info on how to code the ORDER BY clause */ + AggInfo sAggInfo; /* Information used by aggregate queries */ + int iEnd; /* Address of the end of the query */ + sqlite3 *db; /* The database connection */ + ExprList *pMinMaxOrderBy = 0; /* Added ORDER BY for min/max queries */ + u8 minMaxFlag; /* Flag for min/max queries */ + + db = pParse->db; + v = sqlite3GetVdbe(pParse); + if( p==0 || db->mallocFailed || pParse->nErr ){ + return 1; + } + if( sqlite3AuthCheck(pParse, SQLITE_SELECT, 0, 0, 0) ) return 1; + memset(&sAggInfo, 0, sizeof(sAggInfo)); +#if SELECTTRACE_ENABLED + SELECTTRACE(1,pParse,p, ("begin processing:\n", pParse->addrExplain)); + if( sqlite3SelectTrace & 0x100 ){ + sqlite3TreeViewSelect(0, p, 0); + } +#endif + + assert( p->pOrderBy==0 || pDest->eDest!=SRT_DistFifo ); + assert( p->pOrderBy==0 || pDest->eDest!=SRT_Fifo ); + assert( p->pOrderBy==0 || pDest->eDest!=SRT_DistQueue ); + assert( p->pOrderBy==0 || pDest->eDest!=SRT_Queue ); + if( IgnorableOrderby(pDest) ){ + assert(pDest->eDest==SRT_Exists || pDest->eDest==SRT_Union || + pDest->eDest==SRT_Except || pDest->eDest==SRT_Discard || + pDest->eDest==SRT_Queue || pDest->eDest==SRT_DistFifo || + pDest->eDest==SRT_DistQueue || pDest->eDest==SRT_Fifo); + /* If ORDER BY makes no difference in the output then neither does + ** DISTINCT so it can be removed too. */ + sqlite3ExprListDelete(db, p->pOrderBy); + p->pOrderBy = 0; + p->selFlags &= ~SF_Distinct; + } + sqlite3SelectPrep(pParse, p, 0); + if( pParse->nErr || db->mallocFailed ){ + goto select_end; + } + assert( p->pEList!=0 ); +#if SELECTTRACE_ENABLED + if( sqlite3SelectTrace & 0x104 ){ + SELECTTRACE(0x104,pParse,p, ("after name resolution:\n")); + sqlite3TreeViewSelect(0, p, 0); + } +#endif + + if( pDest->eDest==SRT_Output ){ + generateColumnNames(pParse, p); + } + +#ifndef SQLITE_OMIT_WINDOWFUNC + if( sqlite3WindowRewrite(pParse, p) ){ + goto select_end; + } +#if SELECTTRACE_ENABLED + if( sqlite3SelectTrace & 0x108 ){ + SELECTTRACE(0x104,pParse,p, ("after window rewrite:\n")); + sqlite3TreeViewSelect(0, p, 0); + } +#endif +#endif /* SQLITE_OMIT_WINDOWFUNC */ + pTabList = p->pSrc; + isAgg = (p->selFlags & SF_Aggregate)!=0; + memset(&sSort, 0, sizeof(sSort)); + sSort.pOrderBy = p->pOrderBy; + + /* Try to various optimizations (flattening subqueries, and strength + ** reduction of join operators) in the FROM clause up into the main query + */ +#if !defined(SQLITE_OMIT_SUBQUERY) || !defined(SQLITE_OMIT_VIEW) + for(i=0; !p->pPrior && inSrc; i++){ + struct SrcList_item *pItem = &pTabList->a[i]; + Select *pSub = pItem->pSelect; + Table *pTab = pItem->pTab; + + /* Convert LEFT JOIN into JOIN if there are terms of the right table + ** of the LEFT JOIN used in the WHERE clause. + */ + if( (pItem->fg.jointype & JT_LEFT)!=0 + && sqlite3ExprImpliesNonNullRow(p->pWhere, pItem->iCursor) + && OptimizationEnabled(db, SQLITE_SimplifyJoin) + ){ + SELECTTRACE(0x100,pParse,p, + ("LEFT-JOIN simplifies to JOIN on term %d\n",i)); + pItem->fg.jointype &= ~(JT_LEFT|JT_OUTER); + unsetJoinExpr(p->pWhere, pItem->iCursor); + } + + /* No futher action if this term of the FROM clause is no a subquery */ + if( pSub==0 ) continue; + + /* Catch mismatch in the declared columns of a view and the number of + ** columns in the SELECT on the RHS */ + if( pTab->nCol!=pSub->pEList->nExpr ){ + sqlite3ErrorMsg(pParse, "expected %d columns for '%s' but got %d", + pTab->nCol, pTab->zName, pSub->pEList->nExpr); + goto select_end; + } + + /* Do not try to flatten an aggregate subquery. + ** + ** Flattening an aggregate subquery is only possible if the outer query + ** is not a join. But if the outer query is not a join, then the subquery + ** will be implemented as a co-routine and there is no advantage to + ** flattening in that case. + */ + if( (pSub->selFlags & SF_Aggregate)!=0 ) continue; + assert( pSub->pGroupBy==0 ); + + /* If the outer query contains a "complex" result set (that is, + ** if the result set of the outer query uses functions or subqueries) + ** and if the subquery contains an ORDER BY clause and if + ** it will be implemented as a co-routine, then do not flatten. This + ** restriction allows SQL constructs like this: + ** + ** SELECT expensive_function(x) + ** FROM (SELECT x FROM tab ORDER BY y LIMIT 10); + ** + ** The expensive_function() is only computed on the 10 rows that + ** are output, rather than every row of the table. + ** + ** The requirement that the outer query have a complex result set + ** means that flattening does occur on simpler SQL constraints without + ** the expensive_function() like: + ** + ** SELECT x FROM (SELECT x FROM tab ORDER BY y LIMIT 10); + */ + if( pSub->pOrderBy!=0 + && i==0 + && (p->selFlags & SF_ComplexResult)!=0 + && (pTabList->nSrc==1 + || (pTabList->a[1].fg.jointype&(JT_LEFT|JT_CROSS))!=0) + ){ + continue; + } + + if( flattenSubquery(pParse, p, i, isAgg) ){ + if( pParse->nErr ) goto select_end; + /* This subquery can be absorbed into its parent. */ + i = -1; + } + pTabList = p->pSrc; + if( db->mallocFailed ) goto select_end; + if( !IgnorableOrderby(pDest) ){ + sSort.pOrderBy = p->pOrderBy; + } + } +#endif + +#ifndef SQLITE_OMIT_COMPOUND_SELECT + /* Handle compound SELECT statements using the separate multiSelect() + ** procedure. + */ + if( p->pPrior ){ + rc = multiSelect(pParse, p, pDest); +#if SELECTTRACE_ENABLED + SELECTTRACE(0x1,pParse,p,("end compound-select processing\n")); + if( (sqlite3SelectTrace & 0x2000)!=0 && ExplainQueryPlanParent(pParse)==0 ){ + sqlite3TreeViewSelect(0, p, 0); + } +#endif + if( p->pNext==0 ) ExplainQueryPlanPop(pParse); + return rc; + } +#endif + + /* Do the WHERE-clause constant propagation optimization if this is + ** a join. No need to speed time on this operation for non-join queries + ** as the equivalent optimization will be handled by query planner in + ** sqlite3WhereBegin(). + */ + if( pTabList->nSrc>1 + && OptimizationEnabled(db, SQLITE_PropagateConst) + && propagateConstants(pParse, p) + ){ +#if SELECTTRACE_ENABLED + if( sqlite3SelectTrace & 0x100 ){ + SELECTTRACE(0x100,pParse,p,("After constant propagation:\n")); + sqlite3TreeViewSelect(0, p, 0); + } +#endif + }else{ + SELECTTRACE(0x100,pParse,p,("Constant propagation not helpful\n")); + } + +#ifdef SQLITE_COUNTOFVIEW_OPTIMIZATION + if( OptimizationEnabled(db, SQLITE_QueryFlattener|SQLITE_CountOfView) + && countOfViewOptimization(pParse, p) + ){ + if( db->mallocFailed ) goto select_end; + pEList = p->pEList; + pTabList = p->pSrc; + } +#endif + + /* For each term in the FROM clause, do two things: + ** (1) Authorized unreferenced tables + ** (2) Generate code for all sub-queries + */ + for(i=0; inSrc; i++){ + struct SrcList_item *pItem = &pTabList->a[i]; + SelectDest dest; + Select *pSub; +#if !defined(SQLITE_OMIT_SUBQUERY) || !defined(SQLITE_OMIT_VIEW) + const char *zSavedAuthContext; +#endif + + /* Issue SQLITE_READ authorizations with a fake column name for any + ** tables that are referenced but from which no values are extracted. + ** Examples of where these kinds of null SQLITE_READ authorizations + ** would occur: + ** + ** SELECT count(*) FROM t1; -- SQLITE_READ t1."" + ** SELECT t1.* FROM t1, t2; -- SQLITE_READ t2."" + ** + ** The fake column name is an empty string. It is possible for a table to + ** have a column named by the empty string, in which case there is no way to + ** distinguish between an unreferenced table and an actual reference to the + ** "" column. The original design was for the fake column name to be a NULL, + ** which would be unambiguous. But legacy authorization callbacks might + ** assume the column name is non-NULL and segfault. The use of an empty + ** string for the fake column name seems safer. + */ + if( pItem->colUsed==0 && pItem->zName!=0 ){ + sqlite3AuthCheck(pParse, SQLITE_READ, pItem->zName, "", pItem->zDatabase); + } + +#if !defined(SQLITE_OMIT_SUBQUERY) || !defined(SQLITE_OMIT_VIEW) + /* Generate code for all sub-queries in the FROM clause + */ + pSub = pItem->pSelect; + if( pSub==0 ) continue; + + /* The code for a subquery should only be generated once, though it is + ** technically harmless for it to be generated multiple times. The + ** following assert() will detect if something changes to cause + ** the same subquery to be coded multiple times, as a signal to the + ** developers to try to optimize the situation. + ** + ** Update 2019-07-24: + ** See ticket https://sqlite.org/src/tktview/c52b09c7f38903b1311cec40. + ** The dbsqlfuzz fuzzer found a case where the same subquery gets + ** coded twice. So this assert() now becomes a testcase(). It should + ** be very rare, though. + */ + testcase( pItem->addrFillSub!=0 ); + + /* Increment Parse.nHeight by the height of the largest expression + ** tree referred to by this, the parent select. The child select + ** may contain expression trees of at most + ** (SQLITE_MAX_EXPR_DEPTH-Parse.nHeight) height. This is a bit + ** more conservative than necessary, but much easier than enforcing + ** an exact limit. + */ + pParse->nHeight += sqlite3SelectExprHeight(p); + + /* Make copies of constant WHERE-clause terms in the outer query down + ** inside the subquery. This can help the subquery to run more efficiently. + */ + if( OptimizationEnabled(db, SQLITE_PushDown) + && pushDownWhereTerms(pParse, pSub, p->pWhere, pItem->iCursor, + (pItem->fg.jointype & JT_OUTER)!=0) + ){ +#if SELECTTRACE_ENABLED + if( sqlite3SelectTrace & 0x100 ){ + SELECTTRACE(0x100,pParse,p, + ("After WHERE-clause push-down into subquery %d:\n", pSub->selId)); + sqlite3TreeViewSelect(0, p, 0); + } +#endif + }else{ + SELECTTRACE(0x100,pParse,p,("Push-down not possible\n")); + } + + zSavedAuthContext = pParse->zAuthContext; + pParse->zAuthContext = pItem->zName; + + /* Generate code to implement the subquery + ** + ** The subquery is implemented as a co-routine if the subquery is + ** guaranteed to be the outer loop (so that it does not need to be + ** computed more than once) + ** + ** TODO: Are there other reasons beside (1) to use a co-routine + ** implementation? + */ + if( i==0 + && (pTabList->nSrc==1 + || (pTabList->a[1].fg.jointype&(JT_LEFT|JT_CROSS))!=0) /* (1) */ + ){ + /* Implement a co-routine that will return a single row of the result + ** set on each invocation. + */ + int addrTop = sqlite3VdbeCurrentAddr(v)+1; + + pItem->regReturn = ++pParse->nMem; + sqlite3VdbeAddOp3(v, OP_InitCoroutine, pItem->regReturn, 0, addrTop); + VdbeComment((v, "%s", pItem->pTab->zName)); + pItem->addrFillSub = addrTop; + sqlite3SelectDestInit(&dest, SRT_Coroutine, pItem->regReturn); + ExplainQueryPlan((pParse, 1, "CO-ROUTINE %u", pSub->selId)); + sqlite3Select(pParse, pSub, &dest); + pItem->pTab->nRowLogEst = pSub->nSelectRow; + pItem->fg.viaCoroutine = 1; + pItem->regResult = dest.iSdst; + sqlite3VdbeEndCoroutine(v, pItem->regReturn); + sqlite3VdbeJumpHere(v, addrTop-1); + sqlite3ClearTempRegCache(pParse); + }else{ + /* Generate a subroutine that will fill an ephemeral table with + ** the content of this subquery. pItem->addrFillSub will point + ** to the address of the generated subroutine. pItem->regReturn + ** is a register allocated to hold the subroutine return address + */ + int topAddr; + int onceAddr = 0; + int retAddr; + struct SrcList_item *pPrior; + + testcase( pItem->addrFillSub==0 ); /* Ticket c52b09c7f38903b1311 */ + pItem->regReturn = ++pParse->nMem; + topAddr = sqlite3VdbeAddOp2(v, OP_Integer, 0, pItem->regReturn); + pItem->addrFillSub = topAddr+1; + if( pItem->fg.isCorrelated==0 ){ + /* If the subquery is not correlated and if we are not inside of + ** a trigger, then we only need to compute the value of the subquery + ** once. */ + onceAddr = sqlite3VdbeAddOp0(v, OP_Once); VdbeCoverage(v); + VdbeComment((v, "materialize \"%s\"", pItem->pTab->zName)); + }else{ + VdbeNoopComment((v, "materialize \"%s\"", pItem->pTab->zName)); + } + pPrior = isSelfJoinView(pTabList, pItem); + if( pPrior ){ + sqlite3VdbeAddOp2(v, OP_OpenDup, pItem->iCursor, pPrior->iCursor); + assert( pPrior->pSelect!=0 ); + pSub->nSelectRow = pPrior->pSelect->nSelectRow; + }else{ + sqlite3SelectDestInit(&dest, SRT_EphemTab, pItem->iCursor); + ExplainQueryPlan((pParse, 1, "MATERIALIZE %u", pSub->selId)); + sqlite3Select(pParse, pSub, &dest); + } + pItem->pTab->nRowLogEst = pSub->nSelectRow; + if( onceAddr ) sqlite3VdbeJumpHere(v, onceAddr); + retAddr = sqlite3VdbeAddOp1(v, OP_Return, pItem->regReturn); + VdbeComment((v, "end %s", pItem->pTab->zName)); + sqlite3VdbeChangeP1(v, topAddr, retAddr); + sqlite3ClearTempRegCache(pParse); + } + if( db->mallocFailed ) goto select_end; + pParse->nHeight -= sqlite3SelectExprHeight(p); + pParse->zAuthContext = zSavedAuthContext; +#endif + } + + /* Various elements of the SELECT copied into local variables for + ** convenience */ + pEList = p->pEList; + pWhere = p->pWhere; + pGroupBy = p->pGroupBy; + pHaving = p->pHaving; + sDistinct.isTnct = (p->selFlags & SF_Distinct)!=0; + +#if SELECTTRACE_ENABLED + if( sqlite3SelectTrace & 0x400 ){ + SELECTTRACE(0x400,pParse,p,("After all FROM-clause analysis:\n")); + sqlite3TreeViewSelect(0, p, 0); + } +#endif + + /* If the query is DISTINCT with an ORDER BY but is not an aggregate, and + ** if the select-list is the same as the ORDER BY list, then this query + ** can be rewritten as a GROUP BY. In other words, this: + ** + ** SELECT DISTINCT xyz FROM ... ORDER BY xyz + ** + ** is transformed to: + ** + ** SELECT xyz FROM ... GROUP BY xyz ORDER BY xyz + ** + ** The second form is preferred as a single index (or temp-table) may be + ** used for both the ORDER BY and DISTINCT processing. As originally + ** written the query must use a temp-table for at least one of the ORDER + ** BY and DISTINCT, and an index or separate temp-table for the other. + */ + if( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct + && sqlite3ExprListCompare(sSort.pOrderBy, pEList, -1)==0 + ){ + p->selFlags &= ~SF_Distinct; + pGroupBy = p->pGroupBy = sqlite3ExprListDup(db, pEList, 0); + /* Notice that even thought SF_Distinct has been cleared from p->selFlags, + ** the sDistinct.isTnct is still set. Hence, isTnct represents the + ** original setting of the SF_Distinct flag, not the current setting */ + assert( sDistinct.isTnct ); + +#if SELECTTRACE_ENABLED + if( sqlite3SelectTrace & 0x400 ){ + SELECTTRACE(0x400,pParse,p,("Transform DISTINCT into GROUP BY:\n")); + sqlite3TreeViewSelect(0, p, 0); + } +#endif + } + + /* If there is an ORDER BY clause, then create an ephemeral index to + ** do the sorting. But this sorting ephemeral index might end up + ** being unused if the data can be extracted in pre-sorted order. + ** If that is the case, then the OP_OpenEphemeral instruction will be + ** changed to an OP_Noop once we figure out that the sorting index is + ** not needed. The sSort.addrSortIndex variable is used to facilitate + ** that change. + */ + if( sSort.pOrderBy ){ + KeyInfo *pKeyInfo; + pKeyInfo = sqlite3KeyInfoFromExprList( + pParse, sSort.pOrderBy, 0, pEList->nExpr); + sSort.iECursor = pParse->nTab++; + sSort.addrSortIndex = + sqlite3VdbeAddOp4(v, OP_OpenEphemeral, + sSort.iECursor, sSort.pOrderBy->nExpr+1+pEList->nExpr, 0, + (char*)pKeyInfo, P4_KEYINFO + ); + }else{ + sSort.addrSortIndex = -1; + } + + /* If the output is destined for a temporary table, open that table. + */ + if( pDest->eDest==SRT_EphemTab ){ + sqlite3VdbeAddOp2(v, OP_OpenEphemeral, pDest->iSDParm, pEList->nExpr); + } + + /* Set the limiter. + */ + iEnd = sqlite3VdbeMakeLabel(pParse); + if( (p->selFlags & SF_FixedLimit)==0 ){ + p->nSelectRow = 320; /* 4 billion rows */ + } + computeLimitRegisters(pParse, p, iEnd); + if( p->iLimit==0 && sSort.addrSortIndex>=0 ){ + sqlite3VdbeChangeOpcode(v, sSort.addrSortIndex, OP_SorterOpen); + sSort.sortFlags |= SORTFLAG_UseSorter; + } + + /* Open an ephemeral index to use for the distinct set. + */ + if( p->selFlags & SF_Distinct ){ + sDistinct.tabTnct = pParse->nTab++; + sDistinct.addrTnct = sqlite3VdbeAddOp4(v, OP_OpenEphemeral, + sDistinct.tabTnct, 0, 0, + (char*)sqlite3KeyInfoFromExprList(pParse, p->pEList,0,0), + P4_KEYINFO); + sqlite3VdbeChangeP5(v, BTREE_UNORDERED); + sDistinct.eTnctType = WHERE_DISTINCT_UNORDERED; + }else{ + sDistinct.eTnctType = WHERE_DISTINCT_NOOP; + } + + if( !isAgg && pGroupBy==0 ){ + /* No aggregate functions and no GROUP BY clause */ + u16 wctrlFlags = (sDistinct.isTnct ? WHERE_WANT_DISTINCT : 0) + | (p->selFlags & SF_FixedLimit); +#ifndef SQLITE_OMIT_WINDOWFUNC + Window *pWin = p->pWin; /* Master window object (or NULL) */ + if( pWin ){ + sqlite3WindowCodeInit(pParse, pWin); + } +#endif + assert( WHERE_USE_LIMIT==SF_FixedLimit ); + + + /* Begin the database scan. */ + SELECTTRACE(1,pParse,p,("WhereBegin\n")); + pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, sSort.pOrderBy, + p->pEList, wctrlFlags, p->nSelectRow); + if( pWInfo==0 ) goto select_end; + if( sqlite3WhereOutputRowCount(pWInfo) < p->nSelectRow ){ + p->nSelectRow = sqlite3WhereOutputRowCount(pWInfo); + } + if( sDistinct.isTnct && sqlite3WhereIsDistinct(pWInfo) ){ + sDistinct.eTnctType = sqlite3WhereIsDistinct(pWInfo); + } + if( sSort.pOrderBy ){ + sSort.nOBSat = sqlite3WhereIsOrdered(pWInfo); + sSort.labelOBLopt = sqlite3WhereOrderByLimitOptLabel(pWInfo); + if( sSort.nOBSat==sSort.pOrderBy->nExpr ){ + sSort.pOrderBy = 0; + } + } + + /* If sorting index that was created by a prior OP_OpenEphemeral + ** instruction ended up not being needed, then change the OP_OpenEphemeral + ** into an OP_Noop. + */ + if( sSort.addrSortIndex>=0 && sSort.pOrderBy==0 ){ + sqlite3VdbeChangeToNoop(v, sSort.addrSortIndex); + } + + assert( p->pEList==pEList ); +#ifndef SQLITE_OMIT_WINDOWFUNC + if( pWin ){ + int addrGosub = sqlite3VdbeMakeLabel(pParse); + int iCont = sqlite3VdbeMakeLabel(pParse); + int iBreak = sqlite3VdbeMakeLabel(pParse); + int regGosub = ++pParse->nMem; + + sqlite3WindowCodeStep(pParse, p, pWInfo, regGosub, addrGosub); + + sqlite3VdbeAddOp2(v, OP_Goto, 0, iBreak); + sqlite3VdbeResolveLabel(v, addrGosub); + VdbeNoopComment((v, "inner-loop subroutine")); + sSort.labelOBLopt = 0; + selectInnerLoop(pParse, p, -1, &sSort, &sDistinct, pDest, iCont, iBreak); + sqlite3VdbeResolveLabel(v, iCont); + sqlite3VdbeAddOp1(v, OP_Return, regGosub); + VdbeComment((v, "end inner-loop subroutine")); + sqlite3VdbeResolveLabel(v, iBreak); + }else +#endif /* SQLITE_OMIT_WINDOWFUNC */ + { + /* Use the standard inner loop. */ + selectInnerLoop(pParse, p, -1, &sSort, &sDistinct, pDest, + sqlite3WhereContinueLabel(pWInfo), + sqlite3WhereBreakLabel(pWInfo)); + + /* End the database scan loop. + */ + sqlite3WhereEnd(pWInfo); + } + }else{ + /* This case when there exist aggregate functions or a GROUP BY clause + ** or both */ + NameContext sNC; /* Name context for processing aggregate information */ + int iAMem; /* First Mem address for storing current GROUP BY */ + int iBMem; /* First Mem address for previous GROUP BY */ + int iUseFlag; /* Mem address holding flag indicating that at least + ** one row of the input to the aggregator has been + ** processed */ + int iAbortFlag; /* Mem address which causes query abort if positive */ + int groupBySort; /* Rows come from source in GROUP BY order */ + int addrEnd; /* End of processing for this SELECT */ + int sortPTab = 0; /* Pseudotable used to decode sorting results */ + int sortOut = 0; /* Output register from the sorter */ + int orderByGrp = 0; /* True if the GROUP BY and ORDER BY are the same */ + + /* Remove any and all aliases between the result set and the + ** GROUP BY clause. + */ + if( pGroupBy ){ + int k; /* Loop counter */ + struct ExprList_item *pItem; /* For looping over expression in a list */ + + for(k=p->pEList->nExpr, pItem=p->pEList->a; k>0; k--, pItem++){ + pItem->u.x.iAlias = 0; + } + for(k=pGroupBy->nExpr, pItem=pGroupBy->a; k>0; k--, pItem++){ + pItem->u.x.iAlias = 0; + } + assert( 66==sqlite3LogEst(100) ); + if( p->nSelectRow>66 ) p->nSelectRow = 66; + + /* If there is both a GROUP BY and an ORDER BY clause and they are + ** identical, then it may be possible to disable the ORDER BY clause + ** on the grounds that the GROUP BY will cause elements to come out + ** in the correct order. It also may not - the GROUP BY might use a + ** database index that causes rows to be grouped together as required + ** but not actually sorted. Either way, record the fact that the + ** ORDER BY and GROUP BY clauses are the same by setting the orderByGrp + ** variable. */ + if( sSort.pOrderBy && pGroupBy->nExpr==sSort.pOrderBy->nExpr ){ + int ii; + /* The GROUP BY processing doesn't care whether rows are delivered in + ** ASC or DESC order - only that each group is returned contiguously. + ** So set the ASC/DESC flags in the GROUP BY to match those in the + ** ORDER BY to maximize the chances of rows being delivered in an + ** order that makes the ORDER BY redundant. */ + for(ii=0; iinExpr; ii++){ + u8 sortFlags = sSort.pOrderBy->a[ii].sortFlags & KEYINFO_ORDER_DESC; + pGroupBy->a[ii].sortFlags = sortFlags; + } + if( sqlite3ExprListCompare(pGroupBy, sSort.pOrderBy, -1)==0 ){ + orderByGrp = 1; + } + } + }else{ + assert( 0==sqlite3LogEst(1) ); + p->nSelectRow = 0; + } + + /* Create a label to jump to when we want to abort the query */ + addrEnd = sqlite3VdbeMakeLabel(pParse); + + /* Convert TK_COLUMN nodes into TK_AGG_COLUMN and make entries in + ** sAggInfo for all TK_AGG_FUNCTION nodes in expressions of the + ** SELECT statement. + */ + memset(&sNC, 0, sizeof(sNC)); + sNC.pParse = pParse; + sNC.pSrcList = pTabList; + sNC.uNC.pAggInfo = &sAggInfo; + VVA_ONLY( sNC.ncFlags = NC_UAggInfo; ) + sAggInfo.mnReg = pParse->nMem+1; + sAggInfo.nSortingColumn = pGroupBy ? pGroupBy->nExpr : 0; + sAggInfo.pGroupBy = pGroupBy; + sqlite3ExprAnalyzeAggList(&sNC, pEList); + sqlite3ExprAnalyzeAggList(&sNC, sSort.pOrderBy); + if( pHaving ){ + if( pGroupBy ){ + assert( pWhere==p->pWhere ); + assert( pHaving==p->pHaving ); + assert( pGroupBy==p->pGroupBy ); + havingToWhere(pParse, p); + pWhere = p->pWhere; + } + sqlite3ExprAnalyzeAggregates(&sNC, pHaving); + } + sAggInfo.nAccumulator = sAggInfo.nColumn; + if( p->pGroupBy==0 && p->pHaving==0 && sAggInfo.nFunc==1 ){ + minMaxFlag = minMaxQuery(db, sAggInfo.aFunc[0].pExpr, &pMinMaxOrderBy); + }else{ + minMaxFlag = WHERE_ORDERBY_NORMAL; + } + for(i=0; ix.pList); +#ifndef SQLITE_OMIT_WINDOWFUNC + assert( !IsWindowFunc(pExpr) ); + if( ExprHasProperty(pExpr, EP_WinFunc) ){ + sqlite3ExprAnalyzeAggregates(&sNC, pExpr->y.pWin->pFilter); + } +#endif + sNC.ncFlags &= ~NC_InAggFunc; + } + sAggInfo.mxReg = pParse->nMem; + if( db->mallocFailed ) goto select_end; +#if SELECTTRACE_ENABLED + if( sqlite3SelectTrace & 0x400 ){ + int ii; + SELECTTRACE(0x400,pParse,p,("After aggregate analysis:\n")); + sqlite3TreeViewSelect(0, p, 0); + for(ii=0; iinTab++; + pKeyInfo = sqlite3KeyInfoFromExprList(pParse,pGroupBy,0,sAggInfo.nColumn); + addrSortingIdx = sqlite3VdbeAddOp4(v, OP_SorterOpen, + sAggInfo.sortingIdx, sAggInfo.nSortingColumn, + 0, (char*)pKeyInfo, P4_KEYINFO); + + /* Initialize memory locations used by GROUP BY aggregate processing + */ + iUseFlag = ++pParse->nMem; + iAbortFlag = ++pParse->nMem; + regOutputRow = ++pParse->nMem; + addrOutputRow = sqlite3VdbeMakeLabel(pParse); + regReset = ++pParse->nMem; + addrReset = sqlite3VdbeMakeLabel(pParse); + iAMem = pParse->nMem + 1; + pParse->nMem += pGroupBy->nExpr; + iBMem = pParse->nMem + 1; + pParse->nMem += pGroupBy->nExpr; + sqlite3VdbeAddOp2(v, OP_Integer, 0, iAbortFlag); + VdbeComment((v, "clear abort flag")); + sqlite3VdbeAddOp3(v, OP_Null, 0, iAMem, iAMem+pGroupBy->nExpr-1); + + /* Begin a loop that will extract all source rows in GROUP BY order. + ** This might involve two separate loops with an OP_Sort in between, or + ** it might be a single loop that uses an index to extract information + ** in the right order to begin with. + */ + sqlite3VdbeAddOp2(v, OP_Gosub, regReset, addrReset); + SELECTTRACE(1,pParse,p,("WhereBegin\n")); + pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, pGroupBy, 0, + WHERE_GROUPBY | (orderByGrp ? WHERE_SORTBYGROUP : 0), 0 + ); + if( pWInfo==0 ) goto select_end; + if( sqlite3WhereIsOrdered(pWInfo)==pGroupBy->nExpr ){ + /* The optimizer is able to deliver rows in group by order so + ** we do not have to sort. The OP_OpenEphemeral table will be + ** cancelled later because we still need to use the pKeyInfo + */ + groupBySort = 0; + }else{ + /* Rows are coming out in undetermined order. We have to push + ** each row into a sorting index, terminate the first loop, + ** then loop over the sorting index in order to get the output + ** in sorted order + */ + int regBase; + int regRecord; + int nCol; + int nGroupBy; + + explainTempTable(pParse, + (sDistinct.isTnct && (p->selFlags&SF_Distinct)==0) ? + "DISTINCT" : "GROUP BY"); + + groupBySort = 1; + nGroupBy = pGroupBy->nExpr; + nCol = nGroupBy; + j = nGroupBy; + for(i=0; i=j ){ + nCol++; + j++; + } + } + regBase = sqlite3GetTempRange(pParse, nCol); + sqlite3ExprCodeExprList(pParse, pGroupBy, regBase, 0, 0); + j = nGroupBy; + for(i=0; iiSorterColumn>=j ){ + int r1 = j + regBase; + sqlite3ExprCodeGetColumnOfTable(v, + pCol->pTab, pCol->iTable, pCol->iColumn, r1); + j++; + } + } + regRecord = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp3(v, OP_MakeRecord, regBase, nCol, regRecord); + sqlite3VdbeAddOp2(v, OP_SorterInsert, sAggInfo.sortingIdx, regRecord); + sqlite3ReleaseTempReg(pParse, regRecord); + sqlite3ReleaseTempRange(pParse, regBase, nCol); + sqlite3WhereEnd(pWInfo); + sAggInfo.sortingIdxPTab = sortPTab = pParse->nTab++; + sortOut = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp3(v, OP_OpenPseudo, sortPTab, sortOut, nCol); + sqlite3VdbeAddOp2(v, OP_SorterSort, sAggInfo.sortingIdx, addrEnd); + VdbeComment((v, "GROUP BY sort")); VdbeCoverage(v); + sAggInfo.useSortingIdx = 1; + } + + /* If the index or temporary table used by the GROUP BY sort + ** will naturally deliver rows in the order required by the ORDER BY + ** clause, cancel the ephemeral table open coded earlier. + ** + ** This is an optimization - the correct answer should result regardless. + ** Use the SQLITE_GroupByOrder flag with SQLITE_TESTCTRL_OPTIMIZER to + ** disable this optimization for testing purposes. */ + if( orderByGrp && OptimizationEnabled(db, SQLITE_GroupByOrder) + && (groupBySort || sqlite3WhereIsSorted(pWInfo)) + ){ + sSort.pOrderBy = 0; + sqlite3VdbeChangeToNoop(v, sSort.addrSortIndex); + } + + /* Evaluate the current GROUP BY terms and store in b0, b1, b2... + ** (b0 is memory location iBMem+0, b1 is iBMem+1, and so forth) + ** Then compare the current GROUP BY terms against the GROUP BY terms + ** from the previous row currently stored in a0, a1, a2... + */ + addrTopOfLoop = sqlite3VdbeCurrentAddr(v); + if( groupBySort ){ + sqlite3VdbeAddOp3(v, OP_SorterData, sAggInfo.sortingIdx, + sortOut, sortPTab); + } + for(j=0; jnExpr; j++){ + if( groupBySort ){ + sqlite3VdbeAddOp3(v, OP_Column, sortPTab, j, iBMem+j); + }else{ + sAggInfo.directMode = 1; + sqlite3ExprCode(pParse, pGroupBy->a[j].pExpr, iBMem+j); + } + } + sqlite3VdbeAddOp4(v, OP_Compare, iAMem, iBMem, pGroupBy->nExpr, + (char*)sqlite3KeyInfoRef(pKeyInfo), P4_KEYINFO); + addr1 = sqlite3VdbeCurrentAddr(v); + sqlite3VdbeAddOp3(v, OP_Jump, addr1+1, 0, addr1+1); VdbeCoverage(v); + + /* Generate code that runs whenever the GROUP BY changes. + ** Changes in the GROUP BY are detected by the previous code + ** block. If there were no changes, this block is skipped. + ** + ** This code copies current group by terms in b0,b1,b2,... + ** over to a0,a1,a2. It then calls the output subroutine + ** and resets the aggregate accumulator registers in preparation + ** for the next GROUP BY batch. + */ + sqlite3ExprCodeMove(pParse, iBMem, iAMem, pGroupBy->nExpr); + sqlite3VdbeAddOp2(v, OP_Gosub, regOutputRow, addrOutputRow); + VdbeComment((v, "output one row")); + sqlite3VdbeAddOp2(v, OP_IfPos, iAbortFlag, addrEnd); VdbeCoverage(v); + VdbeComment((v, "check abort flag")); + sqlite3VdbeAddOp2(v, OP_Gosub, regReset, addrReset); + VdbeComment((v, "reset accumulator")); + + /* Update the aggregate accumulators based on the content of + ** the current row + */ + sqlite3VdbeJumpHere(v, addr1); + updateAccumulator(pParse, iUseFlag, &sAggInfo); + sqlite3VdbeAddOp2(v, OP_Integer, 1, iUseFlag); + VdbeComment((v, "indicate data in accumulator")); + + /* End of the loop + */ + if( groupBySort ){ + sqlite3VdbeAddOp2(v, OP_SorterNext, sAggInfo.sortingIdx, addrTopOfLoop); + VdbeCoverage(v); + }else{ + sqlite3WhereEnd(pWInfo); + sqlite3VdbeChangeToNoop(v, addrSortingIdx); + } + + /* Output the final row of result + */ + sqlite3VdbeAddOp2(v, OP_Gosub, regOutputRow, addrOutputRow); + VdbeComment((v, "output final row")); + + /* Jump over the subroutines + */ + sqlite3VdbeGoto(v, addrEnd); + + /* Generate a subroutine that outputs a single row of the result + ** set. This subroutine first looks at the iUseFlag. If iUseFlag + ** is less than or equal to zero, the subroutine is a no-op. If + ** the processing calls for the query to abort, this subroutine + ** increments the iAbortFlag memory location before returning in + ** order to signal the caller to abort. + */ + addrSetAbort = sqlite3VdbeCurrentAddr(v); + sqlite3VdbeAddOp2(v, OP_Integer, 1, iAbortFlag); + VdbeComment((v, "set abort flag")); + sqlite3VdbeAddOp1(v, OP_Return, regOutputRow); + sqlite3VdbeResolveLabel(v, addrOutputRow); + addrOutputRow = sqlite3VdbeCurrentAddr(v); + sqlite3VdbeAddOp2(v, OP_IfPos, iUseFlag, addrOutputRow+2); + VdbeCoverage(v); + VdbeComment((v, "Groupby result generator entry point")); + sqlite3VdbeAddOp1(v, OP_Return, regOutputRow); + finalizeAggFunctions(pParse, &sAggInfo); + sqlite3ExprIfFalse(pParse, pHaving, addrOutputRow+1, SQLITE_JUMPIFNULL); + selectInnerLoop(pParse, p, -1, &sSort, + &sDistinct, pDest, + addrOutputRow+1, addrSetAbort); + sqlite3VdbeAddOp1(v, OP_Return, regOutputRow); + VdbeComment((v, "end groupby result generator")); + + /* Generate a subroutine that will reset the group-by accumulator + */ + sqlite3VdbeResolveLabel(v, addrReset); + resetAccumulator(pParse, &sAggInfo); + sqlite3VdbeAddOp2(v, OP_Integer, 0, iUseFlag); + VdbeComment((v, "indicate accumulator empty")); + sqlite3VdbeAddOp1(v, OP_Return, regReset); + + } /* endif pGroupBy. Begin aggregate queries without GROUP BY: */ + else { +#ifndef SQLITE_OMIT_BTREECOUNT + Table *pTab; + if( (pTab = isSimpleCount(p, &sAggInfo))!=0 ){ + /* If isSimpleCount() returns a pointer to a Table structure, then + ** the SQL statement is of the form: + ** + ** SELECT count(*) FROM + ** + ** where the Table structure returned represents table . + ** + ** This statement is so common that it is optimized specially. The + ** OP_Count instruction is executed either on the intkey table that + ** contains the data for table or on one of its indexes. It + ** is better to execute the op on an index, as indexes are almost + ** always spread across less pages than their corresponding tables. + */ + const int iDb = sqlite3SchemaToIndex(pParse->db, pTab->pSchema); + const int iCsr = pParse->nTab++; /* Cursor to scan b-tree */ + Index *pIdx; /* Iterator variable */ + KeyInfo *pKeyInfo = 0; /* Keyinfo for scanned index */ + Index *pBest = 0; /* Best index found so far */ + int iRoot = pTab->tnum; /* Root page of scanned b-tree */ + + sqlite3CodeVerifySchema(pParse, iDb); + sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName); + + /* Search for the index that has the lowest scan cost. + ** + ** (2011-04-15) Do not do a full scan of an unordered index. + ** + ** (2013-10-03) Do not count the entries in a partial index. + ** + ** In practice the KeyInfo structure will not be used. It is only + ** passed to keep OP_OpenRead happy. + */ + if( !HasRowid(pTab) ) pBest = sqlite3PrimaryKeyIndex(pTab); + for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + if( pIdx->bUnordered==0 + && pIdx->szIdxRowszTabRow + && pIdx->pPartIdxWhere==0 + && (!pBest || pIdx->szIdxRowszIdxRow) + ){ + pBest = pIdx; + } + } + if( pBest ){ + iRoot = pBest->tnum; + pKeyInfo = sqlite3KeyInfoOfIndex(pParse, pBest); + } + + /* Open a read-only cursor, execute the OP_Count, close the cursor. */ + sqlite3VdbeAddOp4Int(v, OP_OpenRead, iCsr, iRoot, iDb, 1); + if( pKeyInfo ){ + sqlite3VdbeChangeP4(v, -1, (char *)pKeyInfo, P4_KEYINFO); + } + sqlite3VdbeAddOp2(v, OP_Count, iCsr, sAggInfo.aFunc[0].iMem); + sqlite3VdbeAddOp1(v, OP_Close, iCsr); + explainSimpleCount(pParse, pTab, pBest); + }else +#endif /* SQLITE_OMIT_BTREECOUNT */ + { + int regAcc = 0; /* "populate accumulators" flag */ + + /* If there are accumulator registers but no min() or max() functions + ** without FILTER clauses, allocate register regAcc. Register regAcc + ** will contain 0 the first time the inner loop runs, and 1 thereafter. + ** The code generated by updateAccumulator() uses this to ensure + ** that the accumulator registers are (a) updated only once if + ** there are no min() or max functions or (b) always updated for the + ** first row visited by the aggregate, so that they are updated at + ** least once even if the FILTER clause means the min() or max() + ** function visits zero rows. */ + if( sAggInfo.nAccumulator ){ + for(i=0; ifuncFlags&SQLITE_FUNC_NEEDCOLL ) break; + } + if( i==sAggInfo.nFunc ){ + regAcc = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Integer, 0, regAcc); + } + } + + /* This case runs if the aggregate has no GROUP BY clause. The + ** processing is much simpler since there is only a single row + ** of output. + */ + assert( p->pGroupBy==0 ); + resetAccumulator(pParse, &sAggInfo); + + /* If this query is a candidate for the min/max optimization, then + ** minMaxFlag will have been previously set to either + ** WHERE_ORDERBY_MIN or WHERE_ORDERBY_MAX and pMinMaxOrderBy will + ** be an appropriate ORDER BY expression for the optimization. + */ + assert( minMaxFlag==WHERE_ORDERBY_NORMAL || pMinMaxOrderBy!=0 ); + assert( pMinMaxOrderBy==0 || pMinMaxOrderBy->nExpr==1 ); + + SELECTTRACE(1,pParse,p,("WhereBegin\n")); + pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, pMinMaxOrderBy, + 0, minMaxFlag, 0); + if( pWInfo==0 ){ + goto select_end; + } + updateAccumulator(pParse, regAcc, &sAggInfo); + if( regAcc ) sqlite3VdbeAddOp2(v, OP_Integer, 1, regAcc); + if( sqlite3WhereIsOrdered(pWInfo)>0 ){ + sqlite3VdbeGoto(v, sqlite3WhereBreakLabel(pWInfo)); + VdbeComment((v, "%s() by index", + (minMaxFlag==WHERE_ORDERBY_MIN?"min":"max"))); + } + sqlite3WhereEnd(pWInfo); + finalizeAggFunctions(pParse, &sAggInfo); + } + + sSort.pOrderBy = 0; + sqlite3ExprIfFalse(pParse, pHaving, addrEnd, SQLITE_JUMPIFNULL); + selectInnerLoop(pParse, p, -1, 0, 0, + pDest, addrEnd, addrEnd); + } + sqlite3VdbeResolveLabel(v, addrEnd); + + } /* endif aggregate query */ + + if( sDistinct.eTnctType==WHERE_DISTINCT_UNORDERED ){ + explainTempTable(pParse, "DISTINCT"); + } + + /* If there is an ORDER BY clause, then we need to sort the results + ** and send them to the callback one by one. + */ + if( sSort.pOrderBy ){ + explainTempTable(pParse, + sSort.nOBSat>0 ? "RIGHT PART OF ORDER BY":"ORDER BY"); + assert( p->pEList==pEList ); + generateSortTail(pParse, p, &sSort, pEList->nExpr, pDest); + } + + /* Jump here to skip this query + */ + sqlite3VdbeResolveLabel(v, iEnd); + + /* The SELECT has been coded. If there is an error in the Parse structure, + ** set the return code to 1. Otherwise 0. */ + rc = (pParse->nErr>0); + + /* Control jumps to here if an error is encountered above, or upon + ** successful coding of the SELECT. + */ +select_end: + sqlite3ExprListDelete(db, pMinMaxOrderBy); + sqlite3DbFree(db, sAggInfo.aCol); + sqlite3DbFree(db, sAggInfo.aFunc); +#if SELECTTRACE_ENABLED + SELECTTRACE(0x1,pParse,p,("end processing\n")); + if( (sqlite3SelectTrace & 0x2000)!=0 && ExplainQueryPlanParent(pParse)==0 ){ + sqlite3TreeViewSelect(0, p, 0); + } +#endif + ExplainQueryPlanPop(pParse); + return rc; +} + +/************** End of select.c **********************************************/ +/************** Begin file table.c *******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains the sqlite3_get_table() and sqlite3_free_table() +** interface routines. These are just wrappers around the main +** interface routine of sqlite3_exec(). +** +** These routines are in a separate files so that they will not be linked +** if they are not used. +*/ +/* #include "sqliteInt.h" */ + +#ifndef SQLITE_OMIT_GET_TABLE + +/* +** This structure is used to pass data from sqlite3_get_table() through +** to the callback function is uses to build the result. +*/ +typedef struct TabResult { + char **azResult; /* Accumulated output */ + char *zErrMsg; /* Error message text, if an error occurs */ + u32 nAlloc; /* Slots allocated for azResult[] */ + u32 nRow; /* Number of rows in the result */ + u32 nColumn; /* Number of columns in the result */ + u32 nData; /* Slots used in azResult[]. (nRow+1)*nColumn */ + int rc; /* Return code from sqlite3_exec() */ +} TabResult; + +/* +** This routine is called once for each row in the result table. Its job +** is to fill in the TabResult structure appropriately, allocating new +** memory as necessary. +*/ +static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){ + TabResult *p = (TabResult*)pArg; /* Result accumulator */ + int need; /* Slots needed in p->azResult[] */ + int i; /* Loop counter */ + char *z; /* A single column of result */ + + /* Make sure there is enough space in p->azResult to hold everything + ** we need to remember from this invocation of the callback. + */ + if( p->nRow==0 && argv!=0 ){ + need = nCol*2; + }else{ + need = nCol; + } + if( p->nData + need > p->nAlloc ){ + char **azNew; + p->nAlloc = p->nAlloc*2 + need; + azNew = sqlite3_realloc64( p->azResult, sizeof(char*)*p->nAlloc ); + if( azNew==0 ) goto malloc_failed; + p->azResult = azNew; + } + + /* If this is the first row, then generate an extra row containing + ** the names of all columns. + */ + if( p->nRow==0 ){ + p->nColumn = nCol; + for(i=0; iazResult[p->nData++] = z; + } + }else if( (int)p->nColumn!=nCol ){ + sqlite3_free(p->zErrMsg); + p->zErrMsg = sqlite3_mprintf( + "sqlite3_get_table() called with two or more incompatible queries" + ); + p->rc = SQLITE_ERROR; + return 1; + } + + /* Copy over the row data + */ + if( argv!=0 ){ + for(i=0; iazResult[p->nData++] = z; + } + p->nRow++; + } + return 0; + +malloc_failed: + p->rc = SQLITE_NOMEM_BKPT; + return 1; +} + +/* +** Query the database. But instead of invoking a callback for each row, +** malloc() for space to hold the result and return the entire results +** at the conclusion of the call. +** +** The result that is written to ***pazResult is held in memory obtained +** from malloc(). But the caller cannot free this memory directly. +** Instead, the entire table should be passed to sqlite3_free_table() when +** the calling procedure is finished using it. +*/ +SQLITE_API int sqlite3_get_table( + sqlite3 *db, /* The database on which the SQL executes */ + const char *zSql, /* The SQL to be executed */ + char ***pazResult, /* Write the result table here */ + int *pnRow, /* Write the number of rows in the result here */ + int *pnColumn, /* Write the number of columns of result here */ + char **pzErrMsg /* Write error messages here */ +){ + int rc; + TabResult res; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) || pazResult==0 ) return SQLITE_MISUSE_BKPT; +#endif + *pazResult = 0; + if( pnColumn ) *pnColumn = 0; + if( pnRow ) *pnRow = 0; + if( pzErrMsg ) *pzErrMsg = 0; + res.zErrMsg = 0; + res.nRow = 0; + res.nColumn = 0; + res.nData = 1; + res.nAlloc = 20; + res.rc = SQLITE_OK; + res.azResult = sqlite3_malloc64(sizeof(char*)*res.nAlloc ); + if( res.azResult==0 ){ + db->errCode = SQLITE_NOMEM; + return SQLITE_NOMEM_BKPT; + } + res.azResult[0] = 0; + rc = sqlite3_exec(db, zSql, sqlite3_get_table_cb, &res, pzErrMsg); + assert( sizeof(res.azResult[0])>= sizeof(res.nData) ); + res.azResult[0] = SQLITE_INT_TO_PTR(res.nData); + if( (rc&0xff)==SQLITE_ABORT ){ + sqlite3_free_table(&res.azResult[1]); + if( res.zErrMsg ){ + if( pzErrMsg ){ + sqlite3_free(*pzErrMsg); + *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg); + } + sqlite3_free(res.zErrMsg); + } + db->errCode = res.rc; /* Assume 32-bit assignment is atomic */ + return res.rc; + } + sqlite3_free(res.zErrMsg); + if( rc!=SQLITE_OK ){ + sqlite3_free_table(&res.azResult[1]); + return rc; + } + if( res.nAlloc>res.nData ){ + char **azNew; + azNew = sqlite3_realloc64( res.azResult, sizeof(char*)*res.nData ); + if( azNew==0 ){ + sqlite3_free_table(&res.azResult[1]); + db->errCode = SQLITE_NOMEM; + return SQLITE_NOMEM_BKPT; + } + res.azResult = azNew; + } + *pazResult = &res.azResult[1]; + if( pnColumn ) *pnColumn = res.nColumn; + if( pnRow ) *pnRow = res.nRow; + return rc; +} + +/* +** This routine frees the space the sqlite3_get_table() malloced. +*/ +SQLITE_API void sqlite3_free_table( + char **azResult /* Result returned from sqlite3_get_table() */ +){ + if( azResult ){ + int i, n; + azResult--; + assert( azResult!=0 ); + n = SQLITE_PTR_TO_INT(azResult[0]); + for(i=1; ipNext; + + sqlite3ExprDelete(db, pTmp->pWhere); + sqlite3ExprListDelete(db, pTmp->pExprList); + sqlite3SelectDelete(db, pTmp->pSelect); + sqlite3IdListDelete(db, pTmp->pIdList); + sqlite3UpsertDelete(db, pTmp->pUpsert); + sqlite3DbFree(db, pTmp->zSpan); + + sqlite3DbFree(db, pTmp); + } +} + +/* +** Given table pTab, return a list of all the triggers attached to +** the table. The list is connected by Trigger.pNext pointers. +** +** All of the triggers on pTab that are in the same database as pTab +** are already attached to pTab->pTrigger. But there might be additional +** triggers on pTab in the TEMP schema. This routine prepends all +** TEMP triggers on pTab to the beginning of the pTab->pTrigger list +** and returns the combined list. +** +** To state it another way: This routine returns a list of all triggers +** that fire off of pTab. The list will include any TEMP triggers on +** pTab as well as the triggers lised in pTab->pTrigger. +*/ +SQLITE_PRIVATE Trigger *sqlite3TriggerList(Parse *pParse, Table *pTab){ + Schema * const pTmpSchema = pParse->db->aDb[1].pSchema; + Trigger *pList = 0; /* List of triggers to return */ + + if( pParse->disableTriggers ){ + return 0; + } + + if( pTmpSchema!=pTab->pSchema ){ + HashElem *p; + assert( sqlite3SchemaMutexHeld(pParse->db, 0, pTmpSchema) ); + for(p=sqliteHashFirst(&pTmpSchema->trigHash); p; p=sqliteHashNext(p)){ + Trigger *pTrig = (Trigger *)sqliteHashData(p); + if( pTrig->pTabSchema==pTab->pSchema + && 0==sqlite3StrICmp(pTrig->table, pTab->zName) + ){ + pTrig->pNext = (pList ? pList : pTab->pTrigger); + pList = pTrig; + } + } + } + + return (pList ? pList : pTab->pTrigger); +} + +/* +** This is called by the parser when it sees a CREATE TRIGGER statement +** up to the point of the BEGIN before the trigger actions. A Trigger +** structure is generated based on the information available and stored +** in pParse->pNewTrigger. After the trigger actions have been parsed, the +** sqlite3FinishTrigger() function is called to complete the trigger +** construction process. +*/ +SQLITE_PRIVATE void sqlite3BeginTrigger( + Parse *pParse, /* The parse context of the CREATE TRIGGER statement */ + Token *pName1, /* The name of the trigger */ + Token *pName2, /* The name of the trigger */ + int tr_tm, /* One of TK_BEFORE, TK_AFTER, TK_INSTEAD */ + int op, /* One of TK_INSERT, TK_UPDATE, TK_DELETE */ + IdList *pColumns, /* column list if this is an UPDATE OF trigger */ + SrcList *pTableName,/* The name of the table/view the trigger applies to */ + Expr *pWhen, /* WHEN clause */ + int isTemp, /* True if the TEMPORARY keyword is present */ + int noErr /* Suppress errors if the trigger already exists */ +){ + Trigger *pTrigger = 0; /* The new trigger */ + Table *pTab; /* Table that the trigger fires off of */ + char *zName = 0; /* Name of the trigger */ + sqlite3 *db = pParse->db; /* The database connection */ + int iDb; /* The database to store the trigger in */ + Token *pName; /* The unqualified db name */ + DbFixer sFix; /* State vector for the DB fixer */ + + assert( pName1!=0 ); /* pName1->z might be NULL, but not pName1 itself */ + assert( pName2!=0 ); + assert( op==TK_INSERT || op==TK_UPDATE || op==TK_DELETE ); + assert( op>0 && op<0xff ); + if( isTemp ){ + /* If TEMP was specified, then the trigger name may not be qualified. */ + if( pName2->n>0 ){ + sqlite3ErrorMsg(pParse, "temporary trigger may not have qualified name"); + goto trigger_cleanup; + } + iDb = 1; + pName = pName1; + }else{ + /* Figure out the db that the trigger will be created in */ + iDb = sqlite3TwoPartName(pParse, pName1, pName2, &pName); + if( iDb<0 ){ + goto trigger_cleanup; + } + } + if( !pTableName || db->mallocFailed ){ + goto trigger_cleanup; + } + + /* A long-standing parser bug is that this syntax was allowed: + ** + ** CREATE TRIGGER attached.demo AFTER INSERT ON attached.tab .... + ** ^^^^^^^^ + ** + ** To maintain backwards compatibility, ignore the database + ** name on pTableName if we are reparsing out of SQLITE_MASTER. + */ + if( db->init.busy && iDb!=1 ){ + sqlite3DbFree(db, pTableName->a[0].zDatabase); + pTableName->a[0].zDatabase = 0; + } + + /* If the trigger name was unqualified, and the table is a temp table, + ** then set iDb to 1 to create the trigger in the temporary database. + ** If sqlite3SrcListLookup() returns 0, indicating the table does not + ** exist, the error is caught by the block below. + */ + pTab = sqlite3SrcListLookup(pParse, pTableName); + if( db->init.busy==0 && pName2->n==0 && pTab + && pTab->pSchema==db->aDb[1].pSchema ){ + iDb = 1; + } + + /* Ensure the table name matches database name and that the table exists */ + if( db->mallocFailed ) goto trigger_cleanup; + assert( pTableName->nSrc==1 ); + sqlite3FixInit(&sFix, pParse, iDb, "trigger", pName); + if( sqlite3FixSrcList(&sFix, pTableName) ){ + goto trigger_cleanup; + } + pTab = sqlite3SrcListLookup(pParse, pTableName); + if( !pTab ){ + /* The table does not exist. */ + if( db->init.iDb==1 ){ + /* Ticket #3810. + ** Normally, whenever a table is dropped, all associated triggers are + ** dropped too. But if a TEMP trigger is created on a non-TEMP table + ** and the table is dropped by a different database connection, the + ** trigger is not visible to the database connection that does the + ** drop so the trigger cannot be dropped. This results in an + ** "orphaned trigger" - a trigger whose associated table is missing. + */ + db->init.orphanTrigger = 1; + } + goto trigger_cleanup; + } + if( IsVirtual(pTab) ){ + sqlite3ErrorMsg(pParse, "cannot create triggers on virtual tables"); + goto trigger_cleanup; + } + + /* Check that the trigger name is not reserved and that no trigger of the + ** specified name exists */ + zName = sqlite3NameFromToken(db, pName); + if( zName==0 ){ + assert( db->mallocFailed ); + goto trigger_cleanup; + } + if( sqlite3CheckObjectName(pParse, zName, "trigger", pTab->zName) ){ + goto trigger_cleanup; + } + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + if( !IN_RENAME_OBJECT ){ + if( sqlite3HashFind(&(db->aDb[iDb].pSchema->trigHash),zName) ){ + if( !noErr ){ + sqlite3ErrorMsg(pParse, "trigger %T already exists", pName); + }else{ + assert( !db->init.busy ); + sqlite3CodeVerifySchema(pParse, iDb); + } + goto trigger_cleanup; + } + } + + /* Do not create a trigger on a system table */ + if( sqlite3StrNICmp(pTab->zName, "sqlite_", 7)==0 ){ + sqlite3ErrorMsg(pParse, "cannot create trigger on system table"); + goto trigger_cleanup; + } + + /* INSTEAD of triggers are only for views and views only support INSTEAD + ** of triggers. + */ + if( pTab->pSelect && tr_tm!=TK_INSTEAD ){ + sqlite3ErrorMsg(pParse, "cannot create %s trigger on view: %S", + (tr_tm == TK_BEFORE)?"BEFORE":"AFTER", pTableName, 0); + goto trigger_cleanup; + } + if( !pTab->pSelect && tr_tm==TK_INSTEAD ){ + sqlite3ErrorMsg(pParse, "cannot create INSTEAD OF" + " trigger on table: %S", pTableName, 0); + goto trigger_cleanup; + } + +#ifndef SQLITE_OMIT_AUTHORIZATION + if( !IN_RENAME_OBJECT ){ + int iTabDb = sqlite3SchemaToIndex(db, pTab->pSchema); + int code = SQLITE_CREATE_TRIGGER; + const char *zDb = db->aDb[iTabDb].zDbSName; + const char *zDbTrig = isTemp ? db->aDb[1].zDbSName : zDb; + if( iTabDb==1 || isTemp ) code = SQLITE_CREATE_TEMP_TRIGGER; + if( sqlite3AuthCheck(pParse, code, zName, pTab->zName, zDbTrig) ){ + goto trigger_cleanup; + } + if( sqlite3AuthCheck(pParse, SQLITE_INSERT, SCHEMA_TABLE(iTabDb),0,zDb)){ + goto trigger_cleanup; + } + } +#endif + + /* INSTEAD OF triggers can only appear on views and BEFORE triggers + ** cannot appear on views. So we might as well translate every + ** INSTEAD OF trigger into a BEFORE trigger. It simplifies code + ** elsewhere. + */ + if (tr_tm == TK_INSTEAD){ + tr_tm = TK_BEFORE; + } + + /* Build the Trigger object */ + pTrigger = (Trigger*)sqlite3DbMallocZero(db, sizeof(Trigger)); + if( pTrigger==0 ) goto trigger_cleanup; + pTrigger->zName = zName; + zName = 0; + pTrigger->table = sqlite3DbStrDup(db, pTableName->a[0].zName); + pTrigger->pSchema = db->aDb[iDb].pSchema; + pTrigger->pTabSchema = pTab->pSchema; + pTrigger->op = (u8)op; + pTrigger->tr_tm = tr_tm==TK_BEFORE ? TRIGGER_BEFORE : TRIGGER_AFTER; + if( IN_RENAME_OBJECT ){ + sqlite3RenameTokenRemap(pParse, pTrigger->table, pTableName->a[0].zName); + pTrigger->pWhen = pWhen; + pWhen = 0; + }else{ + pTrigger->pWhen = sqlite3ExprDup(db, pWhen, EXPRDUP_REDUCE); + } + pTrigger->pColumns = pColumns; + pColumns = 0; + assert( pParse->pNewTrigger==0 ); + pParse->pNewTrigger = pTrigger; + +trigger_cleanup: + sqlite3DbFree(db, zName); + sqlite3SrcListDelete(db, pTableName); + sqlite3IdListDelete(db, pColumns); + sqlite3ExprDelete(db, pWhen); + if( !pParse->pNewTrigger ){ + sqlite3DeleteTrigger(db, pTrigger); + }else{ + assert( pParse->pNewTrigger==pTrigger ); + } +} + +/* +** This routine is called after all of the trigger actions have been parsed +** in order to complete the process of building the trigger. +*/ +SQLITE_PRIVATE void sqlite3FinishTrigger( + Parse *pParse, /* Parser context */ + TriggerStep *pStepList, /* The triggered program */ + Token *pAll /* Token that describes the complete CREATE TRIGGER */ +){ + Trigger *pTrig = pParse->pNewTrigger; /* Trigger being finished */ + char *zName; /* Name of trigger */ + sqlite3 *db = pParse->db; /* The database */ + DbFixer sFix; /* Fixer object */ + int iDb; /* Database containing the trigger */ + Token nameToken; /* Trigger name for error reporting */ + + pParse->pNewTrigger = 0; + if( NEVER(pParse->nErr) || !pTrig ) goto triggerfinish_cleanup; + zName = pTrig->zName; + iDb = sqlite3SchemaToIndex(pParse->db, pTrig->pSchema); + pTrig->step_list = pStepList; + while( pStepList ){ + pStepList->pTrig = pTrig; + pStepList = pStepList->pNext; + } + sqlite3TokenInit(&nameToken, pTrig->zName); + sqlite3FixInit(&sFix, pParse, iDb, "trigger", &nameToken); + if( sqlite3FixTriggerStep(&sFix, pTrig->step_list) + || sqlite3FixExpr(&sFix, pTrig->pWhen) + ){ + goto triggerfinish_cleanup; + } + +#ifndef SQLITE_OMIT_ALTERTABLE + if( IN_RENAME_OBJECT ){ + assert( !db->init.busy ); + pParse->pNewTrigger = pTrig; + pTrig = 0; + }else +#endif + + /* if we are not initializing, + ** build the sqlite_master entry + */ + if( !db->init.busy ){ + Vdbe *v; + char *z; + + /* Make an entry in the sqlite_master table */ + v = sqlite3GetVdbe(pParse); + if( v==0 ) goto triggerfinish_cleanup; + sqlite3BeginWriteOperation(pParse, 0, iDb); + z = sqlite3DbStrNDup(db, (char*)pAll->z, pAll->n); + testcase( z==0 ); + sqlite3NestedParse(pParse, + "INSERT INTO %Q.%s VALUES('trigger',%Q,%Q,0,'CREATE TRIGGER %q')", + db->aDb[iDb].zDbSName, MASTER_NAME, zName, + pTrig->table, z); + sqlite3DbFree(db, z); + sqlite3ChangeCookie(pParse, iDb); + sqlite3VdbeAddParseSchemaOp(v, iDb, + sqlite3MPrintf(db, "type='trigger' AND name='%q'", zName)); + } + + if( db->init.busy ){ + Trigger *pLink = pTrig; + Hash *pHash = &db->aDb[iDb].pSchema->trigHash; + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + assert( pLink!=0 ); + pTrig = sqlite3HashInsert(pHash, zName, pTrig); + if( pTrig ){ + sqlite3OomFault(db); + }else if( pLink->pSchema==pLink->pTabSchema ){ + Table *pTab; + pTab = sqlite3HashFind(&pLink->pTabSchema->tblHash, pLink->table); + assert( pTab!=0 ); + pLink->pNext = pTab->pTrigger; + pTab->pTrigger = pLink; + } + } + +triggerfinish_cleanup: + sqlite3DeleteTrigger(db, pTrig); + assert( IN_RENAME_OBJECT || !pParse->pNewTrigger ); + sqlite3DeleteTriggerStep(db, pStepList); +} + +/* +** Duplicate a range of text from an SQL statement, then convert all +** whitespace characters into ordinary space characters. +*/ +static char *triggerSpanDup(sqlite3 *db, const char *zStart, const char *zEnd){ + char *z = sqlite3DbSpanDup(db, zStart, zEnd); + int i; + if( z ) for(i=0; z[i]; i++) if( sqlite3Isspace(z[i]) ) z[i] = ' '; + return z; +} + +/* +** Turn a SELECT statement (that the pSelect parameter points to) into +** a trigger step. Return a pointer to a TriggerStep structure. +** +** The parser calls this routine when it finds a SELECT statement in +** body of a TRIGGER. +*/ +SQLITE_PRIVATE TriggerStep *sqlite3TriggerSelectStep( + sqlite3 *db, /* Database connection */ + Select *pSelect, /* The SELECT statement */ + const char *zStart, /* Start of SQL text */ + const char *zEnd /* End of SQL text */ +){ + TriggerStep *pTriggerStep = sqlite3DbMallocZero(db, sizeof(TriggerStep)); + if( pTriggerStep==0 ) { + sqlite3SelectDelete(db, pSelect); + return 0; + } + pTriggerStep->op = TK_SELECT; + pTriggerStep->pSelect = pSelect; + pTriggerStep->orconf = OE_Default; + pTriggerStep->zSpan = triggerSpanDup(db, zStart, zEnd); + return pTriggerStep; +} + +/* +** Allocate space to hold a new trigger step. The allocated space +** holds both the TriggerStep object and the TriggerStep.target.z string. +** +** If an OOM error occurs, NULL is returned and db->mallocFailed is set. +*/ +static TriggerStep *triggerStepAllocate( + Parse *pParse, /* Parser context */ + u8 op, /* Trigger opcode */ + Token *pName, /* The target name */ + const char *zStart, /* Start of SQL text */ + const char *zEnd /* End of SQL text */ +){ + sqlite3 *db = pParse->db; + TriggerStep *pTriggerStep; + + pTriggerStep = sqlite3DbMallocZero(db, sizeof(TriggerStep) + pName->n + 1); + if( pTriggerStep ){ + char *z = (char*)&pTriggerStep[1]; + memcpy(z, pName->z, pName->n); + sqlite3Dequote(z); + pTriggerStep->zTarget = z; + pTriggerStep->op = op; + pTriggerStep->zSpan = triggerSpanDup(db, zStart, zEnd); + if( IN_RENAME_OBJECT ){ + sqlite3RenameTokenMap(pParse, pTriggerStep->zTarget, pName); + } + } + return pTriggerStep; +} + +/* +** Build a trigger step out of an INSERT statement. Return a pointer +** to the new trigger step. +** +** The parser calls this routine when it sees an INSERT inside the +** body of a trigger. +*/ +SQLITE_PRIVATE TriggerStep *sqlite3TriggerInsertStep( + Parse *pParse, /* Parser */ + Token *pTableName, /* Name of the table into which we insert */ + IdList *pColumn, /* List of columns in pTableName to insert into */ + Select *pSelect, /* A SELECT statement that supplies values */ + u8 orconf, /* The conflict algorithm (OE_Abort, OE_Replace, etc.) */ + Upsert *pUpsert, /* ON CONFLICT clauses for upsert */ + const char *zStart, /* Start of SQL text */ + const char *zEnd /* End of SQL text */ +){ + sqlite3 *db = pParse->db; + TriggerStep *pTriggerStep; + + assert(pSelect != 0 || db->mallocFailed); + + pTriggerStep = triggerStepAllocate(pParse, TK_INSERT, pTableName,zStart,zEnd); + if( pTriggerStep ){ + if( IN_RENAME_OBJECT ){ + pTriggerStep->pSelect = pSelect; + pSelect = 0; + }else{ + pTriggerStep->pSelect = sqlite3SelectDup(db, pSelect, EXPRDUP_REDUCE); + } + pTriggerStep->pIdList = pColumn; + pTriggerStep->pUpsert = pUpsert; + pTriggerStep->orconf = orconf; + if( pUpsert ){ + sqlite3HasExplicitNulls(pParse, pUpsert->pUpsertTarget); + } + }else{ + testcase( pColumn ); + sqlite3IdListDelete(db, pColumn); + testcase( pUpsert ); + sqlite3UpsertDelete(db, pUpsert); + } + sqlite3SelectDelete(db, pSelect); + + return pTriggerStep; +} + +/* +** Construct a trigger step that implements an UPDATE statement and return +** a pointer to that trigger step. The parser calls this routine when it +** sees an UPDATE statement inside the body of a CREATE TRIGGER. +*/ +SQLITE_PRIVATE TriggerStep *sqlite3TriggerUpdateStep( + Parse *pParse, /* Parser */ + Token *pTableName, /* Name of the table to be updated */ + ExprList *pEList, /* The SET clause: list of column and new values */ + Expr *pWhere, /* The WHERE clause */ + u8 orconf, /* The conflict algorithm. (OE_Abort, OE_Ignore, etc) */ + const char *zStart, /* Start of SQL text */ + const char *zEnd /* End of SQL text */ +){ + sqlite3 *db = pParse->db; + TriggerStep *pTriggerStep; + + pTriggerStep = triggerStepAllocate(pParse, TK_UPDATE, pTableName,zStart,zEnd); + if( pTriggerStep ){ + if( IN_RENAME_OBJECT ){ + pTriggerStep->pExprList = pEList; + pTriggerStep->pWhere = pWhere; + pEList = 0; + pWhere = 0; + }else{ + pTriggerStep->pExprList = sqlite3ExprListDup(db, pEList, EXPRDUP_REDUCE); + pTriggerStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE); + } + pTriggerStep->orconf = orconf; + } + sqlite3ExprListDelete(db, pEList); + sqlite3ExprDelete(db, pWhere); + return pTriggerStep; +} + +/* +** Construct a trigger step that implements a DELETE statement and return +** a pointer to that trigger step. The parser calls this routine when it +** sees a DELETE statement inside the body of a CREATE TRIGGER. +*/ +SQLITE_PRIVATE TriggerStep *sqlite3TriggerDeleteStep( + Parse *pParse, /* Parser */ + Token *pTableName, /* The table from which rows are deleted */ + Expr *pWhere, /* The WHERE clause */ + const char *zStart, /* Start of SQL text */ + const char *zEnd /* End of SQL text */ +){ + sqlite3 *db = pParse->db; + TriggerStep *pTriggerStep; + + pTriggerStep = triggerStepAllocate(pParse, TK_DELETE, pTableName,zStart,zEnd); + if( pTriggerStep ){ + if( IN_RENAME_OBJECT ){ + pTriggerStep->pWhere = pWhere; + pWhere = 0; + }else{ + pTriggerStep->pWhere = sqlite3ExprDup(db, pWhere, EXPRDUP_REDUCE); + } + pTriggerStep->orconf = OE_Default; + } + sqlite3ExprDelete(db, pWhere); + return pTriggerStep; +} + +/* +** Recursively delete a Trigger structure +*/ +SQLITE_PRIVATE void sqlite3DeleteTrigger(sqlite3 *db, Trigger *pTrigger){ + if( pTrigger==0 ) return; + sqlite3DeleteTriggerStep(db, pTrigger->step_list); + sqlite3DbFree(db, pTrigger->zName); + sqlite3DbFree(db, pTrigger->table); + sqlite3ExprDelete(db, pTrigger->pWhen); + sqlite3IdListDelete(db, pTrigger->pColumns); + sqlite3DbFree(db, pTrigger); +} + +/* +** This function is called to drop a trigger from the database schema. +** +** This may be called directly from the parser and therefore identifies +** the trigger by name. The sqlite3DropTriggerPtr() routine does the +** same job as this routine except it takes a pointer to the trigger +** instead of the trigger name. +**/ +SQLITE_PRIVATE void sqlite3DropTrigger(Parse *pParse, SrcList *pName, int noErr){ + Trigger *pTrigger = 0; + int i; + const char *zDb; + const char *zName; + sqlite3 *db = pParse->db; + + if( db->mallocFailed ) goto drop_trigger_cleanup; + if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){ + goto drop_trigger_cleanup; + } + + assert( pName->nSrc==1 ); + zDb = pName->a[0].zDatabase; + zName = pName->a[0].zName; + assert( zDb!=0 || sqlite3BtreeHoldsAllMutexes(db) ); + for(i=OMIT_TEMPDB; inDb; i++){ + int j = (i<2) ? i^1 : i; /* Search TEMP before MAIN */ + if( zDb && sqlite3StrICmp(db->aDb[j].zDbSName, zDb) ) continue; + assert( sqlite3SchemaMutexHeld(db, j, 0) ); + pTrigger = sqlite3HashFind(&(db->aDb[j].pSchema->trigHash), zName); + if( pTrigger ) break; + } + if( !pTrigger ){ + if( !noErr ){ + sqlite3ErrorMsg(pParse, "no such trigger: %S", pName, 0); + }else{ + sqlite3CodeVerifyNamedSchema(pParse, zDb); + } + pParse->checkSchema = 1; + goto drop_trigger_cleanup; + } + sqlite3DropTriggerPtr(pParse, pTrigger); + +drop_trigger_cleanup: + sqlite3SrcListDelete(db, pName); +} + +/* +** Return a pointer to the Table structure for the table that a trigger +** is set on. +*/ +static Table *tableOfTrigger(Trigger *pTrigger){ + return sqlite3HashFind(&pTrigger->pTabSchema->tblHash, pTrigger->table); +} + + +/* +** Drop a trigger given a pointer to that trigger. +*/ +SQLITE_PRIVATE void sqlite3DropTriggerPtr(Parse *pParse, Trigger *pTrigger){ + Table *pTable; + Vdbe *v; + sqlite3 *db = pParse->db; + int iDb; + + iDb = sqlite3SchemaToIndex(pParse->db, pTrigger->pSchema); + assert( iDb>=0 && iDbnDb ); + pTable = tableOfTrigger(pTrigger); + assert( (pTable && pTable->pSchema==pTrigger->pSchema) || iDb==1 ); +#ifndef SQLITE_OMIT_AUTHORIZATION + if( pTable ){ + int code = SQLITE_DROP_TRIGGER; + const char *zDb = db->aDb[iDb].zDbSName; + const char *zTab = SCHEMA_TABLE(iDb); + if( iDb==1 ) code = SQLITE_DROP_TEMP_TRIGGER; + if( sqlite3AuthCheck(pParse, code, pTrigger->zName, pTable->zName, zDb) || + sqlite3AuthCheck(pParse, SQLITE_DELETE, zTab, 0, zDb) ){ + return; + } + } +#endif + + /* Generate code to destroy the database record of the trigger. + */ + if( (v = sqlite3GetVdbe(pParse))!=0 ){ + sqlite3NestedParse(pParse, + "DELETE FROM %Q.%s WHERE name=%Q AND type='trigger'", + db->aDb[iDb].zDbSName, MASTER_NAME, pTrigger->zName + ); + sqlite3ChangeCookie(pParse, iDb); + sqlite3VdbeAddOp4(v, OP_DropTrigger, iDb, 0, 0, pTrigger->zName, 0); + } +} + +/* +** Remove a trigger from the hash tables of the sqlite* pointer. +*/ +SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTrigger(sqlite3 *db, int iDb, const char *zName){ + Trigger *pTrigger; + Hash *pHash; + + assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); + pHash = &(db->aDb[iDb].pSchema->trigHash); + pTrigger = sqlite3HashInsert(pHash, zName, 0); + if( ALWAYS(pTrigger) ){ + if( pTrigger->pSchema==pTrigger->pTabSchema ){ + Table *pTab = tableOfTrigger(pTrigger); + if( pTab ){ + Trigger **pp; + for(pp=&pTab->pTrigger; *pp!=pTrigger; pp=&((*pp)->pNext)); + *pp = (*pp)->pNext; + } + } + sqlite3DeleteTrigger(db, pTrigger); + db->mDbFlags |= DBFLAG_SchemaChange; + } +} + +/* +** pEList is the SET clause of an UPDATE statement. Each entry +** in pEList is of the format =. If any of the entries +** in pEList have an which matches an identifier in pIdList, +** then return TRUE. If pIdList==NULL, then it is considered a +** wildcard that matches anything. Likewise if pEList==NULL then +** it matches anything so always return true. Return false only +** if there is no match. +*/ +static int checkColumnOverlap(IdList *pIdList, ExprList *pEList){ + int e; + if( pIdList==0 || NEVER(pEList==0) ) return 1; + for(e=0; enExpr; e++){ + if( sqlite3IdListIndex(pIdList, pEList->a[e].zName)>=0 ) return 1; + } + return 0; +} + +/* +** Return a list of all triggers on table pTab if there exists at least +** one trigger that must be fired when an operation of type 'op' is +** performed on the table, and, if that operation is an UPDATE, if at +** least one of the columns in pChanges is being modified. +*/ +SQLITE_PRIVATE Trigger *sqlite3TriggersExist( + Parse *pParse, /* Parse context */ + Table *pTab, /* The table the contains the triggers */ + int op, /* one of TK_DELETE, TK_INSERT, TK_UPDATE */ + ExprList *pChanges, /* Columns that change in an UPDATE statement */ + int *pMask /* OUT: Mask of TRIGGER_BEFORE|TRIGGER_AFTER */ +){ + int mask = 0; + Trigger *pList = 0; + Trigger *p; + + if( (pParse->db->flags & SQLITE_EnableTrigger)!=0 ){ + pList = sqlite3TriggerList(pParse, pTab); + } + assert( pList==0 || IsVirtual(pTab)==0 ); + for(p=pList; p; p=p->pNext){ + if( p->op==op && checkColumnOverlap(p->pColumns, pChanges) ){ + mask |= p->tr_tm; + } + } + if( pMask ){ + *pMask = mask; + } + return (mask ? pList : 0); +} + +/* +** Convert the pStep->zTarget string into a SrcList and return a pointer +** to that SrcList. +** +** This routine adds a specific database name, if needed, to the target when +** forming the SrcList. This prevents a trigger in one database from +** referring to a target in another database. An exception is when the +** trigger is in TEMP in which case it can refer to any other database it +** wants. +*/ +static SrcList *targetSrcList( + Parse *pParse, /* The parsing context */ + TriggerStep *pStep /* The trigger containing the target token */ +){ + sqlite3 *db = pParse->db; + int iDb; /* Index of the database to use */ + SrcList *pSrc; /* SrcList to be returned */ + + pSrc = sqlite3SrcListAppend(pParse, 0, 0, 0); + if( pSrc ){ + assert( pSrc->nSrc>0 ); + pSrc->a[pSrc->nSrc-1].zName = sqlite3DbStrDup(db, pStep->zTarget); + iDb = sqlite3SchemaToIndex(db, pStep->pTrig->pSchema); + if( iDb==0 || iDb>=2 ){ + const char *zDb; + assert( iDbnDb ); + zDb = db->aDb[iDb].zDbSName; + pSrc->a[pSrc->nSrc-1].zDatabase = sqlite3DbStrDup(db, zDb); + } + } + return pSrc; +} + +/* +** Generate VDBE code for the statements inside the body of a single +** trigger. +*/ +static int codeTriggerProgram( + Parse *pParse, /* The parser context */ + TriggerStep *pStepList, /* List of statements inside the trigger body */ + int orconf /* Conflict algorithm. (OE_Abort, etc) */ +){ + TriggerStep *pStep; + Vdbe *v = pParse->pVdbe; + sqlite3 *db = pParse->db; + + assert( pParse->pTriggerTab && pParse->pToplevel ); + assert( pStepList ); + assert( v!=0 ); + for(pStep=pStepList; pStep; pStep=pStep->pNext){ + /* Figure out the ON CONFLICT policy that will be used for this step + ** of the trigger program. If the statement that caused this trigger + ** to fire had an explicit ON CONFLICT, then use it. Otherwise, use + ** the ON CONFLICT policy that was specified as part of the trigger + ** step statement. Example: + ** + ** CREATE TRIGGER AFTER INSERT ON t1 BEGIN; + ** INSERT OR REPLACE INTO t2 VALUES(new.a, new.b); + ** END; + ** + ** INSERT INTO t1 ... ; -- insert into t2 uses REPLACE policy + ** INSERT OR IGNORE INTO t1 ... ; -- insert into t2 uses IGNORE policy + */ + pParse->eOrconf = (orconf==OE_Default)?pStep->orconf:(u8)orconf; + assert( pParse->okConstFactor==0 ); + +#ifndef SQLITE_OMIT_TRACE + if( pStep->zSpan ){ + sqlite3VdbeAddOp4(v, OP_Trace, 0x7fffffff, 1, 0, + sqlite3MPrintf(db, "-- %s", pStep->zSpan), + P4_DYNAMIC); + } +#endif + + switch( pStep->op ){ + case TK_UPDATE: { + sqlite3Update(pParse, + targetSrcList(pParse, pStep), + sqlite3ExprListDup(db, pStep->pExprList, 0), + sqlite3ExprDup(db, pStep->pWhere, 0), + pParse->eOrconf, 0, 0, 0 + ); + break; + } + case TK_INSERT: { + sqlite3Insert(pParse, + targetSrcList(pParse, pStep), + sqlite3SelectDup(db, pStep->pSelect, 0), + sqlite3IdListDup(db, pStep->pIdList), + pParse->eOrconf, + sqlite3UpsertDup(db, pStep->pUpsert) + ); + break; + } + case TK_DELETE: { + sqlite3DeleteFrom(pParse, + targetSrcList(pParse, pStep), + sqlite3ExprDup(db, pStep->pWhere, 0), 0, 0 + ); + break; + } + default: assert( pStep->op==TK_SELECT ); { + SelectDest sDest; + Select *pSelect = sqlite3SelectDup(db, pStep->pSelect, 0); + sqlite3SelectDestInit(&sDest, SRT_Discard, 0); + sqlite3Select(pParse, pSelect, &sDest); + sqlite3SelectDelete(db, pSelect); + break; + } + } + if( pStep->op!=TK_SELECT ){ + sqlite3VdbeAddOp0(v, OP_ResetCount); + } + } + + return 0; +} + +#ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS +/* +** This function is used to add VdbeComment() annotations to a VDBE +** program. It is not used in production code, only for debugging. +*/ +static const char *onErrorText(int onError){ + switch( onError ){ + case OE_Abort: return "abort"; + case OE_Rollback: return "rollback"; + case OE_Fail: return "fail"; + case OE_Replace: return "replace"; + case OE_Ignore: return "ignore"; + case OE_Default: return "default"; + } + return "n/a"; +} +#endif + +/* +** Parse context structure pFrom has just been used to create a sub-vdbe +** (trigger program). If an error has occurred, transfer error information +** from pFrom to pTo. +*/ +static void transferParseError(Parse *pTo, Parse *pFrom){ + assert( pFrom->zErrMsg==0 || pFrom->nErr ); + assert( pTo->zErrMsg==0 || pTo->nErr ); + if( pTo->nErr==0 ){ + pTo->zErrMsg = pFrom->zErrMsg; + pTo->nErr = pFrom->nErr; + pTo->rc = pFrom->rc; + }else{ + sqlite3DbFree(pFrom->db, pFrom->zErrMsg); + } +} + +/* +** Create and populate a new TriggerPrg object with a sub-program +** implementing trigger pTrigger with ON CONFLICT policy orconf. +*/ +static TriggerPrg *codeRowTrigger( + Parse *pParse, /* Current parse context */ + Trigger *pTrigger, /* Trigger to code */ + Table *pTab, /* The table pTrigger is attached to */ + int orconf /* ON CONFLICT policy to code trigger program with */ +){ + Parse *pTop = sqlite3ParseToplevel(pParse); + sqlite3 *db = pParse->db; /* Database handle */ + TriggerPrg *pPrg; /* Value to return */ + Expr *pWhen = 0; /* Duplicate of trigger WHEN expression */ + Vdbe *v; /* Temporary VM */ + NameContext sNC; /* Name context for sub-vdbe */ + SubProgram *pProgram = 0; /* Sub-vdbe for trigger program */ + Parse *pSubParse; /* Parse context for sub-vdbe */ + int iEndTrigger = 0; /* Label to jump to if WHEN is false */ + + assert( pTrigger->zName==0 || pTab==tableOfTrigger(pTrigger) ); + assert( pTop->pVdbe ); + + /* Allocate the TriggerPrg and SubProgram objects. To ensure that they + ** are freed if an error occurs, link them into the Parse.pTriggerPrg + ** list of the top-level Parse object sooner rather than later. */ + pPrg = sqlite3DbMallocZero(db, sizeof(TriggerPrg)); + if( !pPrg ) return 0; + pPrg->pNext = pTop->pTriggerPrg; + pTop->pTriggerPrg = pPrg; + pPrg->pProgram = pProgram = sqlite3DbMallocZero(db, sizeof(SubProgram)); + if( !pProgram ) return 0; + sqlite3VdbeLinkSubProgram(pTop->pVdbe, pProgram); + pPrg->pTrigger = pTrigger; + pPrg->orconf = orconf; + pPrg->aColmask[0] = 0xffffffff; + pPrg->aColmask[1] = 0xffffffff; + + /* Allocate and populate a new Parse context to use for coding the + ** trigger sub-program. */ + pSubParse = sqlite3StackAllocZero(db, sizeof(Parse)); + if( !pSubParse ) return 0; + memset(&sNC, 0, sizeof(sNC)); + sNC.pParse = pSubParse; + pSubParse->db = db; + pSubParse->pTriggerTab = pTab; + pSubParse->pToplevel = pTop; + pSubParse->zAuthContext = pTrigger->zName; + pSubParse->eTriggerOp = pTrigger->op; + pSubParse->nQueryLoop = pParse->nQueryLoop; + pSubParse->disableVtab = pParse->disableVtab; + + v = sqlite3GetVdbe(pSubParse); + if( v ){ + VdbeComment((v, "Start: %s.%s (%s %s%s%s ON %s)", + pTrigger->zName, onErrorText(orconf), + (pTrigger->tr_tm==TRIGGER_BEFORE ? "BEFORE" : "AFTER"), + (pTrigger->op==TK_UPDATE ? "UPDATE" : ""), + (pTrigger->op==TK_INSERT ? "INSERT" : ""), + (pTrigger->op==TK_DELETE ? "DELETE" : ""), + pTab->zName + )); +#ifndef SQLITE_OMIT_TRACE + if( pTrigger->zName ){ + sqlite3VdbeChangeP4(v, -1, + sqlite3MPrintf(db, "-- TRIGGER %s", pTrigger->zName), P4_DYNAMIC + ); + } +#endif + + /* If one was specified, code the WHEN clause. If it evaluates to false + ** (or NULL) the sub-vdbe is immediately halted by jumping to the + ** OP_Halt inserted at the end of the program. */ + if( pTrigger->pWhen ){ + pWhen = sqlite3ExprDup(db, pTrigger->pWhen, 0); + if( SQLITE_OK==sqlite3ResolveExprNames(&sNC, pWhen) + && db->mallocFailed==0 + ){ + iEndTrigger = sqlite3VdbeMakeLabel(pSubParse); + sqlite3ExprIfFalse(pSubParse, pWhen, iEndTrigger, SQLITE_JUMPIFNULL); + } + sqlite3ExprDelete(db, pWhen); + } + + /* Code the trigger program into the sub-vdbe. */ + codeTriggerProgram(pSubParse, pTrigger->step_list, orconf); + + /* Insert an OP_Halt at the end of the sub-program. */ + if( iEndTrigger ){ + sqlite3VdbeResolveLabel(v, iEndTrigger); + } + sqlite3VdbeAddOp0(v, OP_Halt); + VdbeComment((v, "End: %s.%s", pTrigger->zName, onErrorText(orconf))); + + transferParseError(pParse, pSubParse); + if( db->mallocFailed==0 && pParse->nErr==0 ){ + pProgram->aOp = sqlite3VdbeTakeOpArray(v, &pProgram->nOp, &pTop->nMaxArg); + } + pProgram->nMem = pSubParse->nMem; + pProgram->nCsr = pSubParse->nTab; + pProgram->token = (void *)pTrigger; + pPrg->aColmask[0] = pSubParse->oldmask; + pPrg->aColmask[1] = pSubParse->newmask; + sqlite3VdbeDelete(v); + } + + assert( !pSubParse->pAinc && !pSubParse->pZombieTab ); + assert( !pSubParse->pTriggerPrg && !pSubParse->nMaxArg ); + sqlite3ParserReset(pSubParse); + sqlite3StackFree(db, pSubParse); + + return pPrg; +} + +/* +** Return a pointer to a TriggerPrg object containing the sub-program for +** trigger pTrigger with default ON CONFLICT algorithm orconf. If no such +** TriggerPrg object exists, a new object is allocated and populated before +** being returned. +*/ +static TriggerPrg *getRowTrigger( + Parse *pParse, /* Current parse context */ + Trigger *pTrigger, /* Trigger to code */ + Table *pTab, /* The table trigger pTrigger is attached to */ + int orconf /* ON CONFLICT algorithm. */ +){ + Parse *pRoot = sqlite3ParseToplevel(pParse); + TriggerPrg *pPrg; + + assert( pTrigger->zName==0 || pTab==tableOfTrigger(pTrigger) ); + + /* It may be that this trigger has already been coded (or is in the + ** process of being coded). If this is the case, then an entry with + ** a matching TriggerPrg.pTrigger field will be present somewhere + ** in the Parse.pTriggerPrg list. Search for such an entry. */ + for(pPrg=pRoot->pTriggerPrg; + pPrg && (pPrg->pTrigger!=pTrigger || pPrg->orconf!=orconf); + pPrg=pPrg->pNext + ); + + /* If an existing TriggerPrg could not be located, create a new one. */ + if( !pPrg ){ + pPrg = codeRowTrigger(pParse, pTrigger, pTab, orconf); + } + + return pPrg; +} + +/* +** Generate code for the trigger program associated with trigger p on +** table pTab. The reg, orconf and ignoreJump parameters passed to this +** function are the same as those described in the header function for +** sqlite3CodeRowTrigger() +*/ +SQLITE_PRIVATE void sqlite3CodeRowTriggerDirect( + Parse *pParse, /* Parse context */ + Trigger *p, /* Trigger to code */ + Table *pTab, /* The table to code triggers from */ + int reg, /* Reg array containing OLD.* and NEW.* values */ + int orconf, /* ON CONFLICT policy */ + int ignoreJump /* Instruction to jump to for RAISE(IGNORE) */ +){ + Vdbe *v = sqlite3GetVdbe(pParse); /* Main VM */ + TriggerPrg *pPrg; + pPrg = getRowTrigger(pParse, p, pTab, orconf); + assert( pPrg || pParse->nErr || pParse->db->mallocFailed ); + + /* Code the OP_Program opcode in the parent VDBE. P4 of the OP_Program + ** is a pointer to the sub-vdbe containing the trigger program. */ + if( pPrg ){ + int bRecursive = (p->zName && 0==(pParse->db->flags&SQLITE_RecTriggers)); + + sqlite3VdbeAddOp4(v, OP_Program, reg, ignoreJump, ++pParse->nMem, + (const char *)pPrg->pProgram, P4_SUBPROGRAM); + VdbeComment( + (v, "Call: %s.%s", (p->zName?p->zName:"fkey"), onErrorText(orconf))); + + /* Set the P5 operand of the OP_Program instruction to non-zero if + ** recursive invocation of this trigger program is disallowed. Recursive + ** invocation is disallowed if (a) the sub-program is really a trigger, + ** not a foreign key action, and (b) the flag to enable recursive triggers + ** is clear. */ + sqlite3VdbeChangeP5(v, (u8)bRecursive); + } +} + +/* +** This is called to code the required FOR EACH ROW triggers for an operation +** on table pTab. The operation to code triggers for (INSERT, UPDATE or DELETE) +** is given by the op parameter. The tr_tm parameter determines whether the +** BEFORE or AFTER triggers are coded. If the operation is an UPDATE, then +** parameter pChanges is passed the list of columns being modified. +** +** If there are no triggers that fire at the specified time for the specified +** operation on pTab, this function is a no-op. +** +** The reg argument is the address of the first in an array of registers +** that contain the values substituted for the new.* and old.* references +** in the trigger program. If N is the number of columns in table pTab +** (a copy of pTab->nCol), then registers are populated as follows: +** +** Register Contains +** ------------------------------------------------------ +** reg+0 OLD.rowid +** reg+1 OLD.* value of left-most column of pTab +** ... ... +** reg+N OLD.* value of right-most column of pTab +** reg+N+1 NEW.rowid +** reg+N+2 OLD.* value of left-most column of pTab +** ... ... +** reg+N+N+1 NEW.* value of right-most column of pTab +** +** For ON DELETE triggers, the registers containing the NEW.* values will +** never be accessed by the trigger program, so they are not allocated or +** populated by the caller (there is no data to populate them with anyway). +** Similarly, for ON INSERT triggers the values stored in the OLD.* registers +** are never accessed, and so are not allocated by the caller. So, for an +** ON INSERT trigger, the value passed to this function as parameter reg +** is not a readable register, although registers (reg+N) through +** (reg+N+N+1) are. +** +** Parameter orconf is the default conflict resolution algorithm for the +** trigger program to use (REPLACE, IGNORE etc.). Parameter ignoreJump +** is the instruction that control should jump to if a trigger program +** raises an IGNORE exception. +*/ +SQLITE_PRIVATE void sqlite3CodeRowTrigger( + Parse *pParse, /* Parse context */ + Trigger *pTrigger, /* List of triggers on table pTab */ + int op, /* One of TK_UPDATE, TK_INSERT, TK_DELETE */ + ExprList *pChanges, /* Changes list for any UPDATE OF triggers */ + int tr_tm, /* One of TRIGGER_BEFORE, TRIGGER_AFTER */ + Table *pTab, /* The table to code triggers from */ + int reg, /* The first in an array of registers (see above) */ + int orconf, /* ON CONFLICT policy */ + int ignoreJump /* Instruction to jump to for RAISE(IGNORE) */ +){ + Trigger *p; /* Used to iterate through pTrigger list */ + + assert( op==TK_UPDATE || op==TK_INSERT || op==TK_DELETE ); + assert( tr_tm==TRIGGER_BEFORE || tr_tm==TRIGGER_AFTER ); + assert( (op==TK_UPDATE)==(pChanges!=0) ); + + for(p=pTrigger; p; p=p->pNext){ + + /* Sanity checking: The schema for the trigger and for the table are + ** always defined. The trigger must be in the same schema as the table + ** or else it must be a TEMP trigger. */ + assert( p->pSchema!=0 ); + assert( p->pTabSchema!=0 ); + assert( p->pSchema==p->pTabSchema + || p->pSchema==pParse->db->aDb[1].pSchema ); + + /* Determine whether we should code this trigger */ + if( p->op==op + && p->tr_tm==tr_tm + && checkColumnOverlap(p->pColumns, pChanges) + ){ + sqlite3CodeRowTriggerDirect(pParse, p, pTab, reg, orconf, ignoreJump); + } + } +} + +/* +** Triggers may access values stored in the old.* or new.* pseudo-table. +** This function returns a 32-bit bitmask indicating which columns of the +** old.* or new.* tables actually are used by triggers. This information +** may be used by the caller, for example, to avoid having to load the entire +** old.* record into memory when executing an UPDATE or DELETE command. +** +** Bit 0 of the returned mask is set if the left-most column of the +** table may be accessed using an [old|new].reference. Bit 1 is set if +** the second leftmost column value is required, and so on. If there +** are more than 32 columns in the table, and at least one of the columns +** with an index greater than 32 may be accessed, 0xffffffff is returned. +** +** It is not possible to determine if the old.rowid or new.rowid column is +** accessed by triggers. The caller must always assume that it is. +** +** Parameter isNew must be either 1 or 0. If it is 0, then the mask returned +** applies to the old.* table. If 1, the new.* table. +** +** Parameter tr_tm must be a mask with one or both of the TRIGGER_BEFORE +** and TRIGGER_AFTER bits set. Values accessed by BEFORE triggers are only +** included in the returned mask if the TRIGGER_BEFORE bit is set in the +** tr_tm parameter. Similarly, values accessed by AFTER triggers are only +** included in the returned mask if the TRIGGER_AFTER bit is set in tr_tm. +*/ +SQLITE_PRIVATE u32 sqlite3TriggerColmask( + Parse *pParse, /* Parse context */ + Trigger *pTrigger, /* List of triggers on table pTab */ + ExprList *pChanges, /* Changes list for any UPDATE OF triggers */ + int isNew, /* 1 for new.* ref mask, 0 for old.* ref mask */ + int tr_tm, /* Mask of TRIGGER_BEFORE|TRIGGER_AFTER */ + Table *pTab, /* The table to code triggers from */ + int orconf /* Default ON CONFLICT policy for trigger steps */ +){ + const int op = pChanges ? TK_UPDATE : TK_DELETE; + u32 mask = 0; + Trigger *p; + + assert( isNew==1 || isNew==0 ); + for(p=pTrigger; p; p=p->pNext){ + if( p->op==op && (tr_tm&p->tr_tm) + && checkColumnOverlap(p->pColumns,pChanges) + ){ + TriggerPrg *pPrg; + pPrg = getRowTrigger(pParse, p, pTab, orconf); + if( pPrg ){ + mask |= pPrg->aColmask[isNew]; + } + } + } + + return mask; +} + +#endif /* !defined(SQLITE_OMIT_TRIGGER) */ + +/************** End of trigger.c *********************************************/ +/************** Begin file update.c ******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains C code routines that are called by the parser +** to handle UPDATE statements. +*/ +/* #include "sqliteInt.h" */ + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* Forward declaration */ +static void updateVirtualTable( + Parse *pParse, /* The parsing context */ + SrcList *pSrc, /* The virtual table to be modified */ + Table *pTab, /* The virtual table */ + ExprList *pChanges, /* The columns to change in the UPDATE statement */ + Expr *pRowidExpr, /* Expression used to recompute the rowid */ + int *aXRef, /* Mapping from columns of pTab to entries in pChanges */ + Expr *pWhere, /* WHERE clause of the UPDATE statement */ + int onError /* ON CONFLICT strategy */ +); +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +/* +** The most recently coded instruction was an OP_Column to retrieve the +** i-th column of table pTab. This routine sets the P4 parameter of the +** OP_Column to the default value, if any. +** +** The default value of a column is specified by a DEFAULT clause in the +** column definition. This was either supplied by the user when the table +** was created, or added later to the table definition by an ALTER TABLE +** command. If the latter, then the row-records in the table btree on disk +** may not contain a value for the column and the default value, taken +** from the P4 parameter of the OP_Column instruction, is returned instead. +** If the former, then all row-records are guaranteed to include a value +** for the column and the P4 value is not required. +** +** Column definitions created by an ALTER TABLE command may only have +** literal default values specified: a number, null or a string. (If a more +** complicated default expression value was provided, it is evaluated +** when the ALTER TABLE is executed and one of the literal values written +** into the sqlite_master table.) +** +** Therefore, the P4 parameter is only required if the default value for +** the column is a literal number, string or null. The sqlite3ValueFromExpr() +** function is capable of transforming these types of expressions into +** sqlite3_value objects. +** +** If parameter iReg is not negative, code an OP_RealAffinity instruction +** on register iReg. This is used when an equivalent integer value is +** stored in place of an 8-byte floating point value in order to save +** space. +*/ +SQLITE_PRIVATE void sqlite3ColumnDefault(Vdbe *v, Table *pTab, int i, int iReg){ + assert( pTab!=0 ); + if( !pTab->pSelect ){ + sqlite3_value *pValue = 0; + u8 enc = ENC(sqlite3VdbeDb(v)); + Column *pCol = &pTab->aCol[i]; + VdbeComment((v, "%s.%s", pTab->zName, pCol->zName)); + assert( inCol ); + sqlite3ValueFromExpr(sqlite3VdbeDb(v), pCol->pDflt, enc, + pCol->affinity, &pValue); + if( pValue ){ + sqlite3VdbeAppendP4(v, pValue, P4_MEM); + } + } +#ifndef SQLITE_OMIT_FLOATING_POINT + if( pTab->aCol[i].affinity==SQLITE_AFF_REAL ){ + sqlite3VdbeAddOp1(v, OP_RealAffinity, iReg); + } +#endif +} + +/* +** Check to see if column iCol of index pIdx references any of the +** columns defined by aXRef and chngRowid. Return true if it does +** and false if not. This is an optimization. False-positives are a +** performance degradation, but false-negatives can result in a corrupt +** index and incorrect answers. +** +** aXRef[j] will be non-negative if column j of the original table is +** being updated. chngRowid will be true if the rowid of the table is +** being updated. +*/ +static int indexColumnIsBeingUpdated( + Index *pIdx, /* The index to check */ + int iCol, /* Which column of the index to check */ + int *aXRef, /* aXRef[j]>=0 if column j is being updated */ + int chngRowid /* true if the rowid is being updated */ +){ + i16 iIdxCol = pIdx->aiColumn[iCol]; + assert( iIdxCol!=XN_ROWID ); /* Cannot index rowid */ + if( iIdxCol>=0 ){ + return aXRef[iIdxCol]>=0; + } + assert( iIdxCol==XN_EXPR ); + assert( pIdx->aColExpr!=0 ); + assert( pIdx->aColExpr->a[iCol].pExpr!=0 ); + return sqlite3ExprReferencesUpdatedColumn(pIdx->aColExpr->a[iCol].pExpr, + aXRef,chngRowid); +} + +/* +** Check to see if index pIdx is a partial index whose conditional +** expression might change values due to an UPDATE. Return true if +** the index is subject to change and false if the index is guaranteed +** to be unchanged. This is an optimization. False-positives are a +** performance degradation, but false-negatives can result in a corrupt +** index and incorrect answers. +** +** aXRef[j] will be non-negative if column j of the original table is +** being updated. chngRowid will be true if the rowid of the table is +** being updated. +*/ +static int indexWhereClauseMightChange( + Index *pIdx, /* The index to check */ + int *aXRef, /* aXRef[j]>=0 if column j is being updated */ + int chngRowid /* true if the rowid is being updated */ +){ + if( pIdx->pPartIdxWhere==0 ) return 0; + return sqlite3ExprReferencesUpdatedColumn(pIdx->pPartIdxWhere, + aXRef, chngRowid); +} + +/* +** Process an UPDATE statement. +** +** UPDATE OR IGNORE table_wxyz SET a=b, c=d WHERE e<5 AND f NOT NULL; +** \_______/ \________/ \______/ \________________/ +* onError pTabList pChanges pWhere +*/ +SQLITE_PRIVATE void sqlite3Update( + Parse *pParse, /* The parser context */ + SrcList *pTabList, /* The table in which we should change things */ + ExprList *pChanges, /* Things to be changed */ + Expr *pWhere, /* The WHERE clause. May be null */ + int onError, /* How to handle constraint errors */ + ExprList *pOrderBy, /* ORDER BY clause. May be null */ + Expr *pLimit, /* LIMIT clause. May be null */ + Upsert *pUpsert /* ON CONFLICT clause, or null */ +){ + int i, j; /* Loop counters */ + Table *pTab; /* The table to be updated */ + int addrTop = 0; /* VDBE instruction address of the start of the loop */ + WhereInfo *pWInfo; /* Information about the WHERE clause */ + Vdbe *v; /* The virtual database engine */ + Index *pIdx; /* For looping over indices */ + Index *pPk; /* The PRIMARY KEY index for WITHOUT ROWID tables */ + int nIdx; /* Number of indices that need updating */ + int nAllIdx; /* Total number of indexes */ + int iBaseCur; /* Base cursor number */ + int iDataCur; /* Cursor for the canonical data btree */ + int iIdxCur; /* Cursor for the first index */ + sqlite3 *db; /* The database structure */ + int *aRegIdx = 0; /* Registers for to each index and the main table */ + int *aXRef = 0; /* aXRef[i] is the index in pChanges->a[] of the + ** an expression for the i-th column of the table. + ** aXRef[i]==-1 if the i-th column is not changed. */ + u8 *aToOpen; /* 1 for tables and indices to be opened */ + u8 chngPk; /* PRIMARY KEY changed in a WITHOUT ROWID table */ + u8 chngRowid; /* Rowid changed in a normal table */ + u8 chngKey; /* Either chngPk or chngRowid */ + Expr *pRowidExpr = 0; /* Expression defining the new record number */ + AuthContext sContext; /* The authorization context */ + NameContext sNC; /* The name-context to resolve expressions in */ + int iDb; /* Database containing the table being updated */ + int eOnePass; /* ONEPASS_XXX value from where.c */ + int hasFK; /* True if foreign key processing is required */ + int labelBreak; /* Jump here to break out of UPDATE loop */ + int labelContinue; /* Jump here to continue next step of UPDATE loop */ + int flags; /* Flags for sqlite3WhereBegin() */ + +#ifndef SQLITE_OMIT_TRIGGER + int isView; /* True when updating a view (INSTEAD OF trigger) */ + Trigger *pTrigger; /* List of triggers on pTab, if required */ + int tmask; /* Mask of TRIGGER_BEFORE|TRIGGER_AFTER */ +#endif + int newmask; /* Mask of NEW.* columns accessed by BEFORE triggers */ + int iEph = 0; /* Ephemeral table holding all primary key values */ + int nKey = 0; /* Number of elements in regKey for WITHOUT ROWID */ + int aiCurOnePass[2]; /* The write cursors opened by WHERE_ONEPASS */ + int addrOpen = 0; /* Address of OP_OpenEphemeral */ + int iPk = 0; /* First of nPk cells holding PRIMARY KEY value */ + i16 nPk = 0; /* Number of components of the PRIMARY KEY */ + int bReplace = 0; /* True if REPLACE conflict resolution might happen */ + + /* Register Allocations */ + int regRowCount = 0; /* A count of rows changed */ + int regOldRowid = 0; /* The old rowid */ + int regNewRowid = 0; /* The new rowid */ + int regNew = 0; /* Content of the NEW.* table in triggers */ + int regOld = 0; /* Content of OLD.* table in triggers */ + int regRowSet = 0; /* Rowset of rows to be updated */ + int regKey = 0; /* composite PRIMARY KEY value */ + + memset(&sContext, 0, sizeof(sContext)); + db = pParse->db; + if( pParse->nErr || db->mallocFailed ){ + goto update_cleanup; + } + assert( pTabList->nSrc==1 ); + + /* Locate the table which we want to update. + */ + pTab = sqlite3SrcListLookup(pParse, pTabList); + if( pTab==0 ) goto update_cleanup; + iDb = sqlite3SchemaToIndex(pParse->db, pTab->pSchema); + + /* Figure out if we have any triggers and if the table being + ** updated is a view. + */ +#ifndef SQLITE_OMIT_TRIGGER + pTrigger = sqlite3TriggersExist(pParse, pTab, TK_UPDATE, pChanges, &tmask); + isView = pTab->pSelect!=0; + assert( pTrigger || tmask==0 ); +#else +# define pTrigger 0 +# define isView 0 +# define tmask 0 +#endif +#ifdef SQLITE_OMIT_VIEW +# undef isView +# define isView 0 +#endif + +#ifdef SQLITE_ENABLE_UPDATE_DELETE_LIMIT + if( !isView ){ + pWhere = sqlite3LimitWhere( + pParse, pTabList, pWhere, pOrderBy, pLimit, "UPDATE" + ); + pOrderBy = 0; + pLimit = 0; + } +#endif + + if( sqlite3ViewGetColumnNames(pParse, pTab) ){ + goto update_cleanup; + } + if( sqlite3IsReadOnly(pParse, pTab, tmask) ){ + goto update_cleanup; + } + + /* Allocate a cursors for the main database table and for all indices. + ** The index cursors might not be used, but if they are used they + ** need to occur right after the database cursor. So go ahead and + ** allocate enough space, just in case. + */ + iBaseCur = iDataCur = pParse->nTab++; + iIdxCur = iDataCur+1; + pPk = HasRowid(pTab) ? 0 : sqlite3PrimaryKeyIndex(pTab); + testcase( pPk!=0 && pPk!=pTab->pIndex ); + for(nIdx=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, nIdx++){ + if( pPk==pIdx ){ + iDataCur = pParse->nTab; + } + pParse->nTab++; + } + if( pUpsert ){ + /* On an UPSERT, reuse the same cursors already opened by INSERT */ + iDataCur = pUpsert->iDataCur; + iIdxCur = pUpsert->iIdxCur; + pParse->nTab = iBaseCur; + } + pTabList->a[0].iCursor = iDataCur; + + /* Allocate space for aXRef[], aRegIdx[], and aToOpen[]. + ** Initialize aXRef[] and aToOpen[] to their default values. + */ + aXRef = sqlite3DbMallocRawNN(db, sizeof(int) * (pTab->nCol+nIdx+1) + nIdx+2 ); + if( aXRef==0 ) goto update_cleanup; + aRegIdx = aXRef+pTab->nCol; + aToOpen = (u8*)(aRegIdx+nIdx+1); + memset(aToOpen, 1, nIdx+1); + aToOpen[nIdx+1] = 0; + for(i=0; inCol; i++) aXRef[i] = -1; + + /* Initialize the name-context */ + memset(&sNC, 0, sizeof(sNC)); + sNC.pParse = pParse; + sNC.pSrcList = pTabList; + sNC.uNC.pUpsert = pUpsert; + sNC.ncFlags = NC_UUpsert; + + /* Resolve the column names in all the expressions of the + ** of the UPDATE statement. Also find the column index + ** for each column to be updated in the pChanges array. For each + ** column to be updated, make sure we have authorization to change + ** that column. + */ + chngRowid = chngPk = 0; + for(i=0; inExpr; i++){ + if( sqlite3ResolveExprNames(&sNC, pChanges->a[i].pExpr) ){ + goto update_cleanup; + } + for(j=0; jnCol; j++){ + if( sqlite3StrICmp(pTab->aCol[j].zName, pChanges->a[i].zName)==0 ){ + if( j==pTab->iPKey ){ + chngRowid = 1; + pRowidExpr = pChanges->a[i].pExpr; + }else if( pPk && (pTab->aCol[j].colFlags & COLFLAG_PRIMKEY)!=0 ){ + chngPk = 1; + } + aXRef[j] = i; + break; + } + } + if( j>=pTab->nCol ){ + if( pPk==0 && sqlite3IsRowid(pChanges->a[i].zName) ){ + j = -1; + chngRowid = 1; + pRowidExpr = pChanges->a[i].pExpr; + }else{ + sqlite3ErrorMsg(pParse, "no such column: %s", pChanges->a[i].zName); + pParse->checkSchema = 1; + goto update_cleanup; + } + } +#ifndef SQLITE_OMIT_AUTHORIZATION + { + int rc; + rc = sqlite3AuthCheck(pParse, SQLITE_UPDATE, pTab->zName, + j<0 ? "ROWID" : pTab->aCol[j].zName, + db->aDb[iDb].zDbSName); + if( rc==SQLITE_DENY ){ + goto update_cleanup; + }else if( rc==SQLITE_IGNORE ){ + aXRef[j] = -1; + } + } +#endif + } + assert( (chngRowid & chngPk)==0 ); + assert( chngRowid==0 || chngRowid==1 ); + assert( chngPk==0 || chngPk==1 ); + chngKey = chngRowid + chngPk; + + /* The SET expressions are not actually used inside the WHERE loop. + ** So reset the colUsed mask. Unless this is a virtual table. In that + ** case, set all bits of the colUsed mask (to ensure that the virtual + ** table implementation makes all columns available). + */ + pTabList->a[0].colUsed = IsVirtual(pTab) ? ALLBITS : 0; + + hasFK = sqlite3FkRequired(pParse, pTab, aXRef, chngKey); + + /* There is one entry in the aRegIdx[] array for each index on the table + ** being updated. Fill in aRegIdx[] with a register number that will hold + ** the key for accessing each index. + */ + if( onError==OE_Replace ) bReplace = 1; + for(nAllIdx=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, nAllIdx++){ + int reg; + if( chngKey || hasFK>1 || pIdx==pPk + || indexWhereClauseMightChange(pIdx,aXRef,chngRowid) + ){ + reg = ++pParse->nMem; + pParse->nMem += pIdx->nColumn; + }else{ + reg = 0; + for(i=0; inKeyCol; i++){ + if( indexColumnIsBeingUpdated(pIdx, i, aXRef, chngRowid) ){ + reg = ++pParse->nMem; + pParse->nMem += pIdx->nColumn; + if( onError==OE_Default && pIdx->onError==OE_Replace ){ + bReplace = 1; + } + break; + } + } + } + if( reg==0 ) aToOpen[nAllIdx+1] = 0; + aRegIdx[nAllIdx] = reg; + } + aRegIdx[nAllIdx] = ++pParse->nMem; /* Register storing the table record */ + if( bReplace ){ + /* If REPLACE conflict resolution might be invoked, open cursors on all + ** indexes in case they are needed to delete records. */ + memset(aToOpen, 1, nIdx+1); + } + + /* Begin generating code. */ + v = sqlite3GetVdbe(pParse); + if( v==0 ) goto update_cleanup; + if( pParse->nested==0 ) sqlite3VdbeCountChanges(v); + sqlite3BeginWriteOperation(pParse, pTrigger || hasFK, iDb); + + /* Allocate required registers. */ + if( !IsVirtual(pTab) ){ + /* For now, regRowSet and aRegIdx[nAllIdx] share the same register. + ** If regRowSet turns out to be needed, then aRegIdx[nAllIdx] will be + ** reallocated. aRegIdx[nAllIdx] is the register in which the main + ** table record is written. regRowSet holds the RowSet for the + ** two-pass update algorithm. */ + assert( aRegIdx[nAllIdx]==pParse->nMem ); + regRowSet = aRegIdx[nAllIdx]; + regOldRowid = regNewRowid = ++pParse->nMem; + if( chngPk || pTrigger || hasFK ){ + regOld = pParse->nMem + 1; + pParse->nMem += pTab->nCol; + } + if( chngKey || pTrigger || hasFK ){ + regNewRowid = ++pParse->nMem; + } + regNew = pParse->nMem + 1; + pParse->nMem += pTab->nCol; + } + + /* Start the view context. */ + if( isView ){ + sqlite3AuthContextPush(pParse, &sContext, pTab->zName); + } + + /* If we are trying to update a view, realize that view into + ** an ephemeral table. + */ +#if !defined(SQLITE_OMIT_VIEW) && !defined(SQLITE_OMIT_TRIGGER) + if( isView ){ + sqlite3MaterializeView(pParse, pTab, + pWhere, pOrderBy, pLimit, iDataCur + ); + pOrderBy = 0; + pLimit = 0; + } +#endif + + /* Resolve the column names in all the expressions in the + ** WHERE clause. + */ + if( sqlite3ResolveExprNames(&sNC, pWhere) ){ + goto update_cleanup; + } + +#ifndef SQLITE_OMIT_VIRTUALTABLE + /* Virtual tables must be handled separately */ + if( IsVirtual(pTab) ){ + updateVirtualTable(pParse, pTabList, pTab, pChanges, pRowidExpr, aXRef, + pWhere, onError); + goto update_cleanup; + } +#endif + + /* Jump to labelBreak to abandon further processing of this UPDATE */ + labelContinue = labelBreak = sqlite3VdbeMakeLabel(pParse); + + /* Not an UPSERT. Normal processing. Begin by + ** initialize the count of updated rows */ + if( (db->flags&SQLITE_CountRows)!=0 + && !pParse->pTriggerTab + && !pParse->nested + && pUpsert==0 + ){ + regRowCount = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Integer, 0, regRowCount); + } + + if( HasRowid(pTab) ){ + sqlite3VdbeAddOp3(v, OP_Null, 0, regRowSet, regOldRowid); + }else{ + assert( pPk!=0 ); + nPk = pPk->nKeyCol; + iPk = pParse->nMem+1; + pParse->nMem += nPk; + regKey = ++pParse->nMem; + if( pUpsert==0 ){ + iEph = pParse->nTab++; + sqlite3VdbeAddOp3(v, OP_Null, 0, iPk, iPk+nPk-1); + addrOpen = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, iEph, nPk); + sqlite3VdbeSetP4KeyInfo(pParse, pPk); + } + } + + if( pUpsert ){ + /* If this is an UPSERT, then all cursors have already been opened by + ** the outer INSERT and the data cursor should be pointing at the row + ** that is to be updated. So bypass the code that searches for the + ** row(s) to be updated. + */ + pWInfo = 0; + eOnePass = ONEPASS_SINGLE; + sqlite3ExprIfFalse(pParse, pWhere, labelBreak, SQLITE_JUMPIFNULL); + }else{ + /* Begin the database scan. + ** + ** Do not consider a single-pass strategy for a multi-row update if + ** there are any triggers or foreign keys to process, or rows may + ** be deleted as a result of REPLACE conflict handling. Any of these + ** things might disturb a cursor being used to scan through the table + ** or index, causing a single-pass approach to malfunction. */ + flags = WHERE_ONEPASS_DESIRED|WHERE_SEEK_UNIQ_TABLE; + if( !pParse->nested && !pTrigger && !hasFK && !chngKey && !bReplace ){ + flags |= WHERE_ONEPASS_MULTIROW; + } + pWInfo = sqlite3WhereBegin(pParse, pTabList, pWhere, 0, 0, flags, iIdxCur); + if( pWInfo==0 ) goto update_cleanup; + + /* A one-pass strategy that might update more than one row may not + ** be used if any column of the index used for the scan is being + ** updated. Otherwise, if there is an index on "b", statements like + ** the following could create an infinite loop: + ** + ** UPDATE t1 SET b=b+1 WHERE b>? + ** + ** Fall back to ONEPASS_OFF if where.c has selected a ONEPASS_MULTI + ** strategy that uses an index for which one or more columns are being + ** updated. */ + eOnePass = sqlite3WhereOkOnePass(pWInfo, aiCurOnePass); + if( eOnePass!=ONEPASS_SINGLE ){ + sqlite3MultiWrite(pParse); + if( eOnePass==ONEPASS_MULTI ){ + int iCur = aiCurOnePass[1]; + if( iCur>=0 && iCur!=iDataCur && aToOpen[iCur-iBaseCur] ){ + eOnePass = ONEPASS_OFF; + } + assert( iCur!=iDataCur || !HasRowid(pTab) ); + } + } + } + + if( HasRowid(pTab) ){ + /* Read the rowid of the current row of the WHERE scan. In ONEPASS_OFF + ** mode, write the rowid into the FIFO. In either of the one-pass modes, + ** leave it in register regOldRowid. */ + sqlite3VdbeAddOp2(v, OP_Rowid, iDataCur, regOldRowid); + if( eOnePass==ONEPASS_OFF ){ + /* We need to use regRowSet, so reallocate aRegIdx[nAllIdx] */ + aRegIdx[nAllIdx] = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_RowSetAdd, regRowSet, regOldRowid); + } + }else{ + /* Read the PK of the current row into an array of registers. In + ** ONEPASS_OFF mode, serialize the array into a record and store it in + ** the ephemeral table. Or, in ONEPASS_SINGLE or MULTI mode, change + ** the OP_OpenEphemeral instruction to a Noop (the ephemeral table + ** is not required) and leave the PK fields in the array of registers. */ + for(i=0; iaiColumn[i]>=0 ); + sqlite3ExprCodeGetColumnOfTable(v, pTab, iDataCur,pPk->aiColumn[i],iPk+i); + } + if( eOnePass ){ + if( addrOpen ) sqlite3VdbeChangeToNoop(v, addrOpen); + nKey = nPk; + regKey = iPk; + }else{ + sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, regKey, + sqlite3IndexAffinityStr(db, pPk), nPk); + sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iEph, regKey, iPk, nPk); + } + } + + if( pUpsert==0 ){ + if( eOnePass!=ONEPASS_MULTI ){ + sqlite3WhereEnd(pWInfo); + } + + if( !isView ){ + int addrOnce = 0; + + /* Open every index that needs updating. */ + if( eOnePass!=ONEPASS_OFF ){ + if( aiCurOnePass[0]>=0 ) aToOpen[aiCurOnePass[0]-iBaseCur] = 0; + if( aiCurOnePass[1]>=0 ) aToOpen[aiCurOnePass[1]-iBaseCur] = 0; + } + + if( eOnePass==ONEPASS_MULTI && (nIdx-(aiCurOnePass[1]>=0))>0 ){ + addrOnce = sqlite3VdbeAddOp0(v, OP_Once); VdbeCoverage(v); + } + sqlite3OpenTableAndIndices(pParse, pTab, OP_OpenWrite, 0, iBaseCur, + aToOpen, 0, 0); + if( addrOnce ) sqlite3VdbeJumpHere(v, addrOnce); + } + + /* Top of the update loop */ + if( eOnePass!=ONEPASS_OFF ){ + if( !isView && aiCurOnePass[0]!=iDataCur && aiCurOnePass[1]!=iDataCur ){ + assert( pPk ); + sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, labelBreak, regKey,nKey); + VdbeCoverage(v); + } + if( eOnePass!=ONEPASS_SINGLE ){ + labelContinue = sqlite3VdbeMakeLabel(pParse); + } + sqlite3VdbeAddOp2(v, OP_IsNull, pPk ? regKey : regOldRowid, labelBreak); + VdbeCoverageIf(v, pPk==0); + VdbeCoverageIf(v, pPk!=0); + }else if( pPk ){ + labelContinue = sqlite3VdbeMakeLabel(pParse); + sqlite3VdbeAddOp2(v, OP_Rewind, iEph, labelBreak); VdbeCoverage(v); + addrTop = sqlite3VdbeAddOp2(v, OP_RowData, iEph, regKey); + sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, labelContinue, regKey, 0); + VdbeCoverage(v); + }else{ + labelContinue = sqlite3VdbeAddOp3(v, OP_RowSetRead, regRowSet,labelBreak, + regOldRowid); + VdbeCoverage(v); + sqlite3VdbeAddOp3(v, OP_NotExists, iDataCur, labelContinue, regOldRowid); + VdbeCoverage(v); + } + } + + /* If the rowid value will change, set register regNewRowid to + ** contain the new value. If the rowid is not being modified, + ** then regNewRowid is the same register as regOldRowid, which is + ** already populated. */ + assert( chngKey || pTrigger || hasFK || regOldRowid==regNewRowid ); + if( chngRowid ){ + sqlite3ExprCode(pParse, pRowidExpr, regNewRowid); + sqlite3VdbeAddOp1(v, OP_MustBeInt, regNewRowid); VdbeCoverage(v); + } + + /* Compute the old pre-UPDATE content of the row being changed, if that + ** information is needed */ + if( chngPk || hasFK || pTrigger ){ + u32 oldmask = (hasFK ? sqlite3FkOldmask(pParse, pTab) : 0); + oldmask |= sqlite3TriggerColmask(pParse, + pTrigger, pChanges, 0, TRIGGER_BEFORE|TRIGGER_AFTER, pTab, onError + ); + for(i=0; inCol; i++){ + if( oldmask==0xffffffff + || (i<32 && (oldmask & MASKBIT32(i))!=0) + || (pTab->aCol[i].colFlags & COLFLAG_PRIMKEY)!=0 + ){ + testcase( oldmask!=0xffffffff && i==31 ); + sqlite3ExprCodeGetColumnOfTable(v, pTab, iDataCur, i, regOld+i); + }else{ + sqlite3VdbeAddOp2(v, OP_Null, 0, regOld+i); + } + } + if( chngRowid==0 && pPk==0 ){ + sqlite3VdbeAddOp2(v, OP_Copy, regOldRowid, regNewRowid); + } + } + + /* Populate the array of registers beginning at regNew with the new + ** row data. This array is used to check constants, create the new + ** table and index records, and as the values for any new.* references + ** made by triggers. + ** + ** If there are one or more BEFORE triggers, then do not populate the + ** registers associated with columns that are (a) not modified by + ** this UPDATE statement and (b) not accessed by new.* references. The + ** values for registers not modified by the UPDATE must be reloaded from + ** the database after the BEFORE triggers are fired anyway (as the trigger + ** may have modified them). So not loading those that are not going to + ** be used eliminates some redundant opcodes. + */ + newmask = sqlite3TriggerColmask( + pParse, pTrigger, pChanges, 1, TRIGGER_BEFORE, pTab, onError + ); + for(i=0; inCol; i++){ + if( i==pTab->iPKey ){ + sqlite3VdbeAddOp2(v, OP_Null, 0, regNew+i); + }else{ + j = aXRef[i]; + if( j>=0 ){ + sqlite3ExprCode(pParse, pChanges->a[j].pExpr, regNew+i); + }else if( 0==(tmask&TRIGGER_BEFORE) || i>31 || (newmask & MASKBIT32(i)) ){ + /* This branch loads the value of a column that will not be changed + ** into a register. This is done if there are no BEFORE triggers, or + ** if there are one or more BEFORE triggers that use this value via + ** a new.* reference in a trigger program. + */ + testcase( i==31 ); + testcase( i==32 ); + sqlite3ExprCodeGetColumnOfTable(v, pTab, iDataCur, i, regNew+i); + }else{ + sqlite3VdbeAddOp2(v, OP_Null, 0, regNew+i); + } + } + } + + /* Fire any BEFORE UPDATE triggers. This happens before constraints are + ** verified. One could argue that this is wrong. + */ + if( tmask&TRIGGER_BEFORE ){ + sqlite3TableAffinity(v, pTab, regNew); + sqlite3CodeRowTrigger(pParse, pTrigger, TK_UPDATE, pChanges, + TRIGGER_BEFORE, pTab, regOldRowid, onError, labelContinue); + + /* The row-trigger may have deleted the row being updated. In this + ** case, jump to the next row. No updates or AFTER triggers are + ** required. This behavior - what happens when the row being updated + ** is deleted or renamed by a BEFORE trigger - is left undefined in the + ** documentation. + */ + if( pPk ){ + sqlite3VdbeAddOp4Int(v, OP_NotFound, iDataCur, labelContinue,regKey,nKey); + VdbeCoverage(v); + }else{ + sqlite3VdbeAddOp3(v, OP_NotExists, iDataCur, labelContinue, regOldRowid); + VdbeCoverage(v); + } + + /* After-BEFORE-trigger-reload-loop: + ** If it did not delete it, the BEFORE trigger may still have modified + ** some of the columns of the row being updated. Load the values for + ** all columns not modified by the update statement into their registers + ** in case this has happened. Only unmodified columns are reloaded. + ** The values computed for modified columns use the values before the + ** BEFORE trigger runs. See test case trigger1-18.0 (added 2018-04-26) + ** for an example. + */ + for(i=0; inCol; i++){ + if( aXRef[i]<0 && i!=pTab->iPKey ){ + sqlite3ExprCodeGetColumnOfTable(v, pTab, iDataCur, i, regNew+i); + } + } + } + + if( !isView ){ + /* Do constraint checks. */ + assert( regOldRowid>0 ); + sqlite3GenerateConstraintChecks(pParse, pTab, aRegIdx, iDataCur, iIdxCur, + regNewRowid, regOldRowid, chngKey, onError, labelContinue, &bReplace, + aXRef, 0); + + /* If REPLACE conflict handling may have been used, or if the PK of the + ** row is changing, then the GenerateConstraintChecks() above may have + ** moved cursor iDataCur. Reseek it. */ + if( bReplace || chngKey ){ + if( pPk ){ + sqlite3VdbeAddOp4Int(v, OP_NotFound,iDataCur,labelContinue,regKey,nKey); + }else{ + sqlite3VdbeAddOp3(v, OP_NotExists, iDataCur, labelContinue,regOldRowid); + } + VdbeCoverageNeverTaken(v); + } + + /* Do FK constraint checks. */ + if( hasFK ){ + sqlite3FkCheck(pParse, pTab, regOldRowid, 0, aXRef, chngKey); + } + + /* Delete the index entries associated with the current record. */ + sqlite3GenerateRowIndexDelete(pParse, pTab, iDataCur, iIdxCur, aRegIdx, -1); + + /* If changing the rowid value, or if there are foreign key constraints + ** to process, delete the old record. Otherwise, add a noop OP_Delete + ** to invoke the pre-update hook. + ** + ** That (regNew==regnewRowid+1) is true is also important for the + ** pre-update hook. If the caller invokes preupdate_new(), the returned + ** value is copied from memory cell (regNewRowid+1+iCol), where iCol + ** is the column index supplied by the user. + */ + assert( regNew==regNewRowid+1 ); +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK + sqlite3VdbeAddOp3(v, OP_Delete, iDataCur, + OPFLAG_ISUPDATE | ((hasFK>1 || chngKey) ? 0 : OPFLAG_ISNOOP), + regNewRowid + ); + if( eOnePass==ONEPASS_MULTI ){ + assert( hasFK==0 && chngKey==0 ); + sqlite3VdbeChangeP5(v, OPFLAG_SAVEPOSITION); + } + if( !pParse->nested ){ + sqlite3VdbeAppendP4(v, pTab, P4_TABLE); + } +#else + if( hasFK>1 || chngKey ){ + sqlite3VdbeAddOp2(v, OP_Delete, iDataCur, 0); + } +#endif + + if( hasFK ){ + sqlite3FkCheck(pParse, pTab, 0, regNewRowid, aXRef, chngKey); + } + + /* Insert the new index entries and the new record. */ + sqlite3CompleteInsertion( + pParse, pTab, iDataCur, iIdxCur, regNewRowid, aRegIdx, + OPFLAG_ISUPDATE | (eOnePass==ONEPASS_MULTI ? OPFLAG_SAVEPOSITION : 0), + 0, 0 + ); + + /* Do any ON CASCADE, SET NULL or SET DEFAULT operations required to + ** handle rows (possibly in other tables) that refer via a foreign key + ** to the row just updated. */ + if( hasFK ){ + sqlite3FkActions(pParse, pTab, pChanges, regOldRowid, aXRef, chngKey); + } + } + + /* Increment the row counter + */ + if( regRowCount ){ + sqlite3VdbeAddOp2(v, OP_AddImm, regRowCount, 1); + } + + sqlite3CodeRowTrigger(pParse, pTrigger, TK_UPDATE, pChanges, + TRIGGER_AFTER, pTab, regOldRowid, onError, labelContinue); + + /* Repeat the above with the next record to be updated, until + ** all record selected by the WHERE clause have been updated. + */ + if( eOnePass==ONEPASS_SINGLE ){ + /* Nothing to do at end-of-loop for a single-pass */ + }else if( eOnePass==ONEPASS_MULTI ){ + sqlite3VdbeResolveLabel(v, labelContinue); + sqlite3WhereEnd(pWInfo); + }else if( pPk ){ + sqlite3VdbeResolveLabel(v, labelContinue); + sqlite3VdbeAddOp2(v, OP_Next, iEph, addrTop); VdbeCoverage(v); + }else{ + sqlite3VdbeGoto(v, labelContinue); + } + sqlite3VdbeResolveLabel(v, labelBreak); + + /* Update the sqlite_sequence table by storing the content of the + ** maximum rowid counter values recorded while inserting into + ** autoincrement tables. + */ + if( pParse->nested==0 && pParse->pTriggerTab==0 && pUpsert==0 ){ + sqlite3AutoincrementEnd(pParse); + } + + /* + ** Return the number of rows that were changed, if we are tracking + ** that information. + */ + if( regRowCount ){ + sqlite3VdbeAddOp2(v, OP_ResultRow, regRowCount, 1); + sqlite3VdbeSetNumCols(v, 1); + sqlite3VdbeSetColName(v, 0, COLNAME_NAME, "rows updated", SQLITE_STATIC); + } + +update_cleanup: + sqlite3AuthContextPop(&sContext); + sqlite3DbFree(db, aXRef); /* Also frees aRegIdx[] and aToOpen[] */ + sqlite3SrcListDelete(db, pTabList); + sqlite3ExprListDelete(db, pChanges); + sqlite3ExprDelete(db, pWhere); +#if defined(SQLITE_ENABLE_UPDATE_DELETE_LIMIT) + sqlite3ExprListDelete(db, pOrderBy); + sqlite3ExprDelete(db, pLimit); +#endif + return; +} +/* Make sure "isView" and other macros defined above are undefined. Otherwise +** they may interfere with compilation of other functions in this file +** (or in another file, if this file becomes part of the amalgamation). */ +#ifdef isView + #undef isView +#endif +#ifdef pTrigger + #undef pTrigger +#endif + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* +** Generate code for an UPDATE of a virtual table. +** +** There are two possible strategies - the default and the special +** "onepass" strategy. Onepass is only used if the virtual table +** implementation indicates that pWhere may match at most one row. +** +** The default strategy is to create an ephemeral table that contains +** for each row to be changed: +** +** (A) The original rowid of that row. +** (B) The revised rowid for the row. +** (C) The content of every column in the row. +** +** Then loop through the contents of this ephemeral table executing a +** VUpdate for each row. When finished, drop the ephemeral table. +** +** The "onepass" strategy does not use an ephemeral table. Instead, it +** stores the same values (A, B and C above) in a register array and +** makes a single invocation of VUpdate. +*/ +static void updateVirtualTable( + Parse *pParse, /* The parsing context */ + SrcList *pSrc, /* The virtual table to be modified */ + Table *pTab, /* The virtual table */ + ExprList *pChanges, /* The columns to change in the UPDATE statement */ + Expr *pRowid, /* Expression used to recompute the rowid */ + int *aXRef, /* Mapping from columns of pTab to entries in pChanges */ + Expr *pWhere, /* WHERE clause of the UPDATE statement */ + int onError /* ON CONFLICT strategy */ +){ + Vdbe *v = pParse->pVdbe; /* Virtual machine under construction */ + int ephemTab; /* Table holding the result of the SELECT */ + int i; /* Loop counter */ + sqlite3 *db = pParse->db; /* Database connection */ + const char *pVTab = (const char*)sqlite3GetVTable(db, pTab); + WhereInfo *pWInfo; + int nArg = 2 + pTab->nCol; /* Number of arguments to VUpdate */ + int regArg; /* First register in VUpdate arg array */ + int regRec; /* Register in which to assemble record */ + int regRowid; /* Register for ephem table rowid */ + int iCsr = pSrc->a[0].iCursor; /* Cursor used for virtual table scan */ + int aDummy[2]; /* Unused arg for sqlite3WhereOkOnePass() */ + int eOnePass; /* True to use onepass strategy */ + int addr; /* Address of OP_OpenEphemeral */ + + /* Allocate nArg registers in which to gather the arguments for VUpdate. Then + ** create and open the ephemeral table in which the records created from + ** these arguments will be temporarily stored. */ + assert( v ); + ephemTab = pParse->nTab++; + addr= sqlite3VdbeAddOp2(v, OP_OpenEphemeral, ephemTab, nArg); + regArg = pParse->nMem + 1; + pParse->nMem += nArg; + regRec = ++pParse->nMem; + regRowid = ++pParse->nMem; + + /* Start scanning the virtual table */ + pWInfo = sqlite3WhereBegin(pParse, pSrc, pWhere, 0,0,WHERE_ONEPASS_DESIRED,0); + if( pWInfo==0 ) return; + + /* Populate the argument registers. */ + for(i=0; inCol; i++){ + if( aXRef[i]>=0 ){ + sqlite3ExprCode(pParse, pChanges->a[aXRef[i]].pExpr, regArg+2+i); + }else{ + sqlite3VdbeAddOp3(v, OP_VColumn, iCsr, i, regArg+2+i); + sqlite3VdbeChangeP5(v, OPFLAG_NOCHNG);/* Enable sqlite3_vtab_nochange() */ + } + } + if( HasRowid(pTab) ){ + sqlite3VdbeAddOp2(v, OP_Rowid, iCsr, regArg); + if( pRowid ){ + sqlite3ExprCode(pParse, pRowid, regArg+1); + }else{ + sqlite3VdbeAddOp2(v, OP_Rowid, iCsr, regArg+1); + } + }else{ + Index *pPk; /* PRIMARY KEY index */ + i16 iPk; /* PRIMARY KEY column */ + pPk = sqlite3PrimaryKeyIndex(pTab); + assert( pPk!=0 ); + assert( pPk->nKeyCol==1 ); + iPk = pPk->aiColumn[0]; + sqlite3VdbeAddOp3(v, OP_VColumn, iCsr, iPk, regArg); + sqlite3VdbeAddOp2(v, OP_SCopy, regArg+2+iPk, regArg+1); + } + + eOnePass = sqlite3WhereOkOnePass(pWInfo, aDummy); + + /* There is no ONEPASS_MULTI on virtual tables */ + assert( eOnePass==ONEPASS_OFF || eOnePass==ONEPASS_SINGLE ); + + if( eOnePass ){ + /* If using the onepass strategy, no-op out the OP_OpenEphemeral coded + ** above. */ + sqlite3VdbeChangeToNoop(v, addr); + sqlite3VdbeAddOp1(v, OP_Close, iCsr); + }else{ + /* Create a record from the argument register contents and insert it into + ** the ephemeral table. */ + sqlite3MultiWrite(pParse); + sqlite3VdbeAddOp3(v, OP_MakeRecord, regArg, nArg, regRec); +#ifdef SQLITE_DEBUG + /* Signal an assert() within OP_MakeRecord that it is allowed to + ** accept no-change records with serial_type 10 */ + sqlite3VdbeChangeP5(v, OPFLAG_NOCHNG_MAGIC); +#endif + sqlite3VdbeAddOp2(v, OP_NewRowid, ephemTab, regRowid); + sqlite3VdbeAddOp3(v, OP_Insert, ephemTab, regRec, regRowid); + } + + + if( eOnePass==ONEPASS_OFF ){ + /* End the virtual table scan */ + sqlite3WhereEnd(pWInfo); + + /* Begin scannning through the ephemeral table. */ + addr = sqlite3VdbeAddOp1(v, OP_Rewind, ephemTab); VdbeCoverage(v); + + /* Extract arguments from the current row of the ephemeral table and + ** invoke the VUpdate method. */ + for(i=0; ipUpsertTarget); + sqlite3ExprDelete(db, p->pUpsertTargetWhere); + sqlite3ExprListDelete(db, p->pUpsertSet); + sqlite3ExprDelete(db, p->pUpsertWhere); + sqlite3DbFree(db, p); + } +} + +/* +** Duplicate an Upsert object. +*/ +SQLITE_PRIVATE Upsert *sqlite3UpsertDup(sqlite3 *db, Upsert *p){ + if( p==0 ) return 0; + return sqlite3UpsertNew(db, + sqlite3ExprListDup(db, p->pUpsertTarget, 0), + sqlite3ExprDup(db, p->pUpsertTargetWhere, 0), + sqlite3ExprListDup(db, p->pUpsertSet, 0), + sqlite3ExprDup(db, p->pUpsertWhere, 0) + ); +} + +/* +** Create a new Upsert object. +*/ +SQLITE_PRIVATE Upsert *sqlite3UpsertNew( + sqlite3 *db, /* Determines which memory allocator to use */ + ExprList *pTarget, /* Target argument to ON CONFLICT, or NULL */ + Expr *pTargetWhere, /* Optional WHERE clause on the target */ + ExprList *pSet, /* UPDATE columns, or NULL for a DO NOTHING */ + Expr *pWhere /* WHERE clause for the ON CONFLICT UPDATE */ +){ + Upsert *pNew; + pNew = sqlite3DbMallocRaw(db, sizeof(Upsert)); + if( pNew==0 ){ + sqlite3ExprListDelete(db, pTarget); + sqlite3ExprDelete(db, pTargetWhere); + sqlite3ExprListDelete(db, pSet); + sqlite3ExprDelete(db, pWhere); + return 0; + }else{ + pNew->pUpsertTarget = pTarget; + pNew->pUpsertTargetWhere = pTargetWhere; + pNew->pUpsertSet = pSet; + pNew->pUpsertWhere = pWhere; + pNew->pUpsertIdx = 0; + } + return pNew; +} + +/* +** Analyze the ON CONFLICT clause described by pUpsert. Resolve all +** symbols in the conflict-target. +** +** Return SQLITE_OK if everything works, or an error code is something +** is wrong. +*/ +SQLITE_PRIVATE int sqlite3UpsertAnalyzeTarget( + Parse *pParse, /* The parsing context */ + SrcList *pTabList, /* Table into which we are inserting */ + Upsert *pUpsert /* The ON CONFLICT clauses */ +){ + Table *pTab; /* That table into which we are inserting */ + int rc; /* Result code */ + int iCursor; /* Cursor used by pTab */ + Index *pIdx; /* One of the indexes of pTab */ + ExprList *pTarget; /* The conflict-target clause */ + Expr *pTerm; /* One term of the conflict-target clause */ + NameContext sNC; /* Context for resolving symbolic names */ + Expr sCol[2]; /* Index column converted into an Expr */ + + assert( pTabList->nSrc==1 ); + assert( pTabList->a[0].pTab!=0 ); + assert( pUpsert!=0 ); + assert( pUpsert->pUpsertTarget!=0 ); + + /* Resolve all symbolic names in the conflict-target clause, which + ** includes both the list of columns and the optional partial-index + ** WHERE clause. + */ + memset(&sNC, 0, sizeof(sNC)); + sNC.pParse = pParse; + sNC.pSrcList = pTabList; + rc = sqlite3ResolveExprListNames(&sNC, pUpsert->pUpsertTarget); + if( rc ) return rc; + rc = sqlite3ResolveExprNames(&sNC, pUpsert->pUpsertTargetWhere); + if( rc ) return rc; + + /* Check to see if the conflict target matches the rowid. */ + pTab = pTabList->a[0].pTab; + pTarget = pUpsert->pUpsertTarget; + iCursor = pTabList->a[0].iCursor; + if( HasRowid(pTab) + && pTarget->nExpr==1 + && (pTerm = pTarget->a[0].pExpr)->op==TK_COLUMN + && pTerm->iColumn==XN_ROWID + ){ + /* The conflict-target is the rowid of the primary table */ + assert( pUpsert->pUpsertIdx==0 ); + return SQLITE_OK; + } + + /* Initialize sCol[0..1] to be an expression parse tree for a + ** single column of an index. The sCol[0] node will be the TK_COLLATE + ** operator and sCol[1] will be the TK_COLUMN operator. Code below + ** will populate the specific collation and column number values + ** prior to comparing against the conflict-target expression. + */ + memset(sCol, 0, sizeof(sCol)); + sCol[0].op = TK_COLLATE; + sCol[0].pLeft = &sCol[1]; + sCol[1].op = TK_COLUMN; + sCol[1].iTable = pTabList->a[0].iCursor; + + /* Check for matches against other indexes */ + for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + int ii, jj, nn; + if( !IsUniqueIndex(pIdx) ) continue; + if( pTarget->nExpr!=pIdx->nKeyCol ) continue; + if( pIdx->pPartIdxWhere ){ + if( pUpsert->pUpsertTargetWhere==0 ) continue; + if( sqlite3ExprCompare(pParse, pUpsert->pUpsertTargetWhere, + pIdx->pPartIdxWhere, iCursor)!=0 ){ + continue; + } + } + nn = pIdx->nKeyCol; + for(ii=0; iiazColl[ii]; + if( pIdx->aiColumn[ii]==XN_EXPR ){ + assert( pIdx->aColExpr!=0 ); + assert( pIdx->aColExpr->nExpr>ii ); + pExpr = pIdx->aColExpr->a[ii].pExpr; + if( pExpr->op!=TK_COLLATE ){ + sCol[0].pLeft = pExpr; + pExpr = &sCol[0]; + } + }else{ + sCol[0].pLeft = &sCol[1]; + sCol[1].iColumn = pIdx->aiColumn[ii]; + pExpr = &sCol[0]; + } + for(jj=0; jja[jj].pExpr, pExpr,iCursor)<2 ){ + break; /* Column ii of the index matches column jj of target */ + } + } + if( jj>=nn ){ + /* The target contains no match for column jj of the index */ + break; + } + } + if( iipUpsertIdx = pIdx; + return SQLITE_OK; + } + sqlite3ErrorMsg(pParse, "ON CONFLICT clause does not match any " + "PRIMARY KEY or UNIQUE constraint"); + return SQLITE_ERROR; +} + +/* +** Generate bytecode that does an UPDATE as part of an upsert. +** +** If pIdx is NULL, then the UNIQUE constraint that failed was the IPK. +** In this case parameter iCur is a cursor open on the table b-tree that +** currently points to the conflicting table row. Otherwise, if pIdx +** is not NULL, then pIdx is the constraint that failed and iCur is a +** cursor points to the conflicting row. +*/ +SQLITE_PRIVATE void sqlite3UpsertDoUpdate( + Parse *pParse, /* The parsing and code-generating context */ + Upsert *pUpsert, /* The ON CONFLICT clause for the upsert */ + Table *pTab, /* The table being updated */ + Index *pIdx, /* The UNIQUE constraint that failed */ + int iCur /* Cursor for pIdx (or pTab if pIdx==NULL) */ +){ + Vdbe *v = pParse->pVdbe; + sqlite3 *db = pParse->db; + SrcList *pSrc; /* FROM clause for the UPDATE */ + int iDataCur; + int i; + + assert( v!=0 ); + assert( pUpsert!=0 ); + VdbeNoopComment((v, "Begin DO UPDATE of UPSERT")); + iDataCur = pUpsert->iDataCur; + if( pIdx && iCur!=iDataCur ){ + if( HasRowid(pTab) ){ + int regRowid = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp2(v, OP_IdxRowid, iCur, regRowid); + sqlite3VdbeAddOp3(v, OP_SeekRowid, iDataCur, 0, regRowid); + VdbeCoverage(v); + sqlite3ReleaseTempReg(pParse, regRowid); + }else{ + Index *pPk = sqlite3PrimaryKeyIndex(pTab); + int nPk = pPk->nKeyCol; + int iPk = pParse->nMem+1; + pParse->nMem += nPk; + for(i=0; iaiColumn[i]>=0 ); + k = sqlite3ColumnOfIndex(pIdx, pPk->aiColumn[i]); + sqlite3VdbeAddOp3(v, OP_Column, iCur, k, iPk+i); + VdbeComment((v, "%s.%s", pIdx->zName, + pTab->aCol[pPk->aiColumn[i]].zName)); + } + sqlite3VdbeVerifyAbortable(v, OE_Abort); + i = sqlite3VdbeAddOp4Int(v, OP_Found, iDataCur, 0, iPk, nPk); + VdbeCoverage(v); + sqlite3VdbeAddOp4(v, OP_Halt, SQLITE_CORRUPT, OE_Abort, 0, + "corrupt database", P4_STATIC); + sqlite3VdbeJumpHere(v, i); + } + } + /* pUpsert does not own pUpsertSrc - the outer INSERT statement does. So + ** we have to make a copy before passing it down into sqlite3Update() */ + pSrc = sqlite3SrcListDup(db, pUpsert->pUpsertSrc, 0); + /* excluded.* columns of type REAL need to be converted to a hard real */ + for(i=0; inCol; i++){ + if( pTab->aCol[i].affinity==SQLITE_AFF_REAL ){ + sqlite3VdbeAddOp1(v, OP_RealAffinity, pUpsert->regData+i); + } + } + sqlite3Update(pParse, pSrc, pUpsert->pUpsertSet, + pUpsert->pUpsertWhere, OE_Abort, 0, 0, pUpsert); + pUpsert->pUpsertSet = 0; /* Will have been deleted by sqlite3Update() */ + pUpsert->pUpsertWhere = 0; /* Will have been deleted by sqlite3Update() */ + VdbeNoopComment((v, "End DO UPDATE of UPSERT")); +} + +#endif /* SQLITE_OMIT_UPSERT */ + +/************** End of upsert.c **********************************************/ +/************** Begin file vacuum.c ******************************************/ +/* +** 2003 April 6 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains code used to implement the VACUUM command. +** +** Most of the code in this file may be omitted by defining the +** SQLITE_OMIT_VACUUM macro. +*/ +/* #include "sqliteInt.h" */ +/* #include "vdbeInt.h" */ + +#if !defined(SQLITE_OMIT_VACUUM) && !defined(SQLITE_OMIT_ATTACH) + +/* +** Execute zSql on database db. +** +** If zSql returns rows, then each row will have exactly one +** column. (This will only happen if zSql begins with "SELECT".) +** Take each row of result and call execSql() again recursively. +** +** The execSqlF() routine does the same thing, except it accepts +** a format string as its third argument +*/ +static int execSql(sqlite3 *db, char **pzErrMsg, const char *zSql){ + sqlite3_stmt *pStmt; + int rc; + + /* printf("SQL: [%s]\n", zSql); fflush(stdout); */ + rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, 0); + if( rc!=SQLITE_OK ) return rc; + while( SQLITE_ROW==(rc = sqlite3_step(pStmt)) ){ + const char *zSubSql = (const char*)sqlite3_column_text(pStmt,0); + assert( sqlite3_strnicmp(zSql,"SELECT",6)==0 ); + /* The secondary SQL must be one of CREATE TABLE, CREATE INDEX, + ** or INSERT. Historically there have been attacks that first + ** corrupt the sqlite_master.sql field with other kinds of statements + ** then run VACUUM to get those statements to execute at inappropriate + ** times. */ + if( zSubSql + && (strncmp(zSubSql,"CRE",3)==0 || strncmp(zSubSql,"INS",3)==0) + ){ + rc = execSql(db, pzErrMsg, zSubSql); + if( rc!=SQLITE_OK ) break; + } + } + assert( rc!=SQLITE_ROW ); + if( rc==SQLITE_DONE ) rc = SQLITE_OK; + if( rc ){ + sqlite3SetString(pzErrMsg, db, sqlite3_errmsg(db)); + } + (void)sqlite3_finalize(pStmt); + return rc; +} +static int execSqlF(sqlite3 *db, char **pzErrMsg, const char *zSql, ...){ + char *z; + va_list ap; + int rc; + va_start(ap, zSql); + z = sqlite3VMPrintf(db, zSql, ap); + va_end(ap); + if( z==0 ) return SQLITE_NOMEM; + rc = execSql(db, pzErrMsg, z); + sqlite3DbFree(db, z); + return rc; +} + +/* +** The VACUUM command is used to clean up the database, +** collapse free space, etc. It is modelled after the VACUUM command +** in PostgreSQL. The VACUUM command works as follows: +** +** (1) Create a new transient database file +** (2) Copy all content from the database being vacuumed into +** the new transient database file +** (3) Copy content from the transient database back into the +** original database. +** +** The transient database requires temporary disk space approximately +** equal to the size of the original database. The copy operation of +** step (3) requires additional temporary disk space approximately equal +** to the size of the original database for the rollback journal. +** Hence, temporary disk space that is approximately 2x the size of the +** original database is required. Every page of the database is written +** approximately 3 times: Once for step (2) and twice for step (3). +** Two writes per page are required in step (3) because the original +** database content must be written into the rollback journal prior to +** overwriting the database with the vacuumed content. +** +** Only 1x temporary space and only 1x writes would be required if +** the copy of step (3) were replaced by deleting the original database +** and renaming the transient database as the original. But that will +** not work if other processes are attached to the original database. +** And a power loss in between deleting the original and renaming the +** transient would cause the database file to appear to be deleted +** following reboot. +*/ +SQLITE_PRIVATE void sqlite3Vacuum(Parse *pParse, Token *pNm, Expr *pInto){ + Vdbe *v = sqlite3GetVdbe(pParse); + int iDb = 0; + if( v==0 ) goto build_vacuum_end; + if( pParse->nErr ) goto build_vacuum_end; + if( pNm ){ +#ifndef SQLITE_BUG_COMPATIBLE_20160819 + /* Default behavior: Report an error if the argument to VACUUM is + ** not recognized */ + iDb = sqlite3TwoPartName(pParse, pNm, pNm, &pNm); + if( iDb<0 ) goto build_vacuum_end; +#else + /* When SQLITE_BUG_COMPATIBLE_20160819 is defined, unrecognized arguments + ** to VACUUM are silently ignored. This is a back-out of a bug fix that + ** occurred on 2016-08-19 (https://www.sqlite.org/src/info/083f9e6270). + ** The buggy behavior is required for binary compatibility with some + ** legacy applications. */ + iDb = sqlite3FindDb(pParse->db, pNm); + if( iDb<0 ) iDb = 0; +#endif + } + if( iDb!=1 ){ + int iIntoReg = 0; + if( pInto && sqlite3ResolveSelfReference(pParse,0,0,pInto,0)==0 ){ + iIntoReg = ++pParse->nMem; + sqlite3ExprCode(pParse, pInto, iIntoReg); + } + sqlite3VdbeAddOp2(v, OP_Vacuum, iDb, iIntoReg); + sqlite3VdbeUsesBtree(v, iDb); + } +build_vacuum_end: + sqlite3ExprDelete(pParse->db, pInto); + return; +} + +/* +** This routine implements the OP_Vacuum opcode of the VDBE. +*/ +SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3RunVacuum( + char **pzErrMsg, /* Write error message here */ + sqlite3 *db, /* Database connection */ + int iDb, /* Which attached DB to vacuum */ + sqlite3_value *pOut /* Write results here, if not NULL. VACUUM INTO */ +){ + int rc = SQLITE_OK; /* Return code from service routines */ + Btree *pMain; /* The database being vacuumed */ + Btree *pTemp; /* The temporary database we vacuum into */ + u32 saved_mDbFlags; /* Saved value of db->mDbFlags */ + u64 saved_flags; /* Saved value of db->flags */ + int saved_nChange; /* Saved value of db->nChange */ + int saved_nTotalChange; /* Saved value of db->nTotalChange */ + u32 saved_openFlags; /* Saved value of db->openFlags */ + u8 saved_mTrace; /* Saved trace settings */ + Db *pDb = 0; /* Database to detach at end of vacuum */ + int isMemDb; /* True if vacuuming a :memory: database */ + int nRes; /* Bytes of reserved space at the end of each page */ + int nDb; /* Number of attached databases */ + const char *zDbMain; /* Schema name of database to vacuum */ + const char *zOut; /* Name of output file */ + + if( !db->autoCommit ){ + sqlite3SetString(pzErrMsg, db, "cannot VACUUM from within a transaction"); + return SQLITE_ERROR; /* IMP: R-12218-18073 */ + } + if( db->nVdbeActive>1 ){ + sqlite3SetString(pzErrMsg, db,"cannot VACUUM - SQL statements in progress"); + return SQLITE_ERROR; /* IMP: R-15610-35227 */ + } + saved_openFlags = db->openFlags; + if( pOut ){ + if( sqlite3_value_type(pOut)!=SQLITE_TEXT ){ + sqlite3SetString(pzErrMsg, db, "non-text filename"); + return SQLITE_ERROR; + } + zOut = (const char*)sqlite3_value_text(pOut); + db->openFlags &= ~SQLITE_OPEN_READONLY; + db->openFlags |= SQLITE_OPEN_CREATE|SQLITE_OPEN_READWRITE; + }else{ + zOut = ""; + } + + /* Save the current value of the database flags so that it can be + ** restored before returning. Then set the writable-schema flag, and + ** disable CHECK and foreign key constraints. */ + saved_flags = db->flags; + saved_mDbFlags = db->mDbFlags; + saved_nChange = db->nChange; + saved_nTotalChange = db->nTotalChange; + saved_mTrace = db->mTrace; + db->flags |= SQLITE_WriteSchema | SQLITE_IgnoreChecks; + db->mDbFlags |= DBFLAG_PreferBuiltin | DBFLAG_Vacuum; + db->flags &= ~(u64)(SQLITE_ForeignKeys | SQLITE_ReverseOrder + | SQLITE_Defensive | SQLITE_CountRows); + db->mTrace = 0; + + zDbMain = db->aDb[iDb].zDbSName; + pMain = db->aDb[iDb].pBt; + isMemDb = sqlite3PagerIsMemdb(sqlite3BtreePager(pMain)); + + /* Attach the temporary database as 'vacuum_db'. The synchronous pragma + ** can be set to 'off' for this file, as it is not recovered if a crash + ** occurs anyway. The integrity of the database is maintained by a + ** (possibly synchronous) transaction opened on the main database before + ** sqlite3BtreeCopyFile() is called. + ** + ** An optimisation would be to use a non-journaled pager. + ** (Later:) I tried setting "PRAGMA vacuum_db.journal_mode=OFF" but + ** that actually made the VACUUM run slower. Very little journalling + ** actually occurs when doing a vacuum since the vacuum_db is initially + ** empty. Only the journal header is written. Apparently it takes more + ** time to parse and run the PRAGMA to turn journalling off than it does + ** to write the journal header file. + */ + nDb = db->nDb; + rc = execSqlF(db, pzErrMsg, "ATTACH %Q AS vacuum_db", zOut); + db->openFlags = saved_openFlags; + if( rc!=SQLITE_OK ) goto end_of_vacuum; + assert( (db->nDb-1)==nDb ); + pDb = &db->aDb[nDb]; + assert( strcmp(pDb->zDbSName,"vacuum_db")==0 ); + pTemp = pDb->pBt; + if( pOut ){ + sqlite3_file *id = sqlite3PagerFile(sqlite3BtreePager(pTemp)); + i64 sz = 0; + if( id->pMethods!=0 && (sqlite3OsFileSize(id, &sz)!=SQLITE_OK || sz>0) ){ + rc = SQLITE_ERROR; + sqlite3SetString(pzErrMsg, db, "output file already exists"); + goto end_of_vacuum; + } + db->mDbFlags |= DBFLAG_VacuumInto; + } + nRes = sqlite3BtreeGetOptimalReserve(pMain); + + /* A VACUUM cannot change the pagesize of an encrypted database. */ +#ifdef SQLITE_HAS_CODEC + if( db->nextPagesize ){ + extern void sqlite3CodecGetKey(sqlite3*, int, void**, int*); + int nKey; + char *zKey; + sqlite3CodecGetKey(db, iDb, (void**)&zKey, &nKey); + if( nKey ) db->nextPagesize = 0; + } +#endif + + sqlite3BtreeSetCacheSize(pTemp, db->aDb[iDb].pSchema->cache_size); + sqlite3BtreeSetSpillSize(pTemp, sqlite3BtreeSetSpillSize(pMain,0)); + sqlite3BtreeSetPagerFlags(pTemp, PAGER_SYNCHRONOUS_OFF|PAGER_CACHESPILL); + + /* Begin a transaction and take an exclusive lock on the main database + ** file. This is done before the sqlite3BtreeGetPageSize(pMain) call below, + ** to ensure that we do not try to change the page-size on a WAL database. + */ + rc = execSql(db, pzErrMsg, "BEGIN"); + if( rc!=SQLITE_OK ) goto end_of_vacuum; + rc = sqlite3BtreeBeginTrans(pMain, pOut==0 ? 2 : 0, 0); + if( rc!=SQLITE_OK ) goto end_of_vacuum; + + /* Do not attempt to change the page size for a WAL database */ + if( sqlite3PagerGetJournalMode(sqlite3BtreePager(pMain)) + ==PAGER_JOURNALMODE_WAL ){ + db->nextPagesize = 0; + } + + if( sqlite3BtreeSetPageSize(pTemp, sqlite3BtreeGetPageSize(pMain), nRes, 0) + || (!isMemDb && sqlite3BtreeSetPageSize(pTemp, db->nextPagesize, nRes, 0)) + || NEVER(db->mallocFailed) + ){ + rc = SQLITE_NOMEM_BKPT; + goto end_of_vacuum; + } + +#ifndef SQLITE_OMIT_AUTOVACUUM + sqlite3BtreeSetAutoVacuum(pTemp, db->nextAutovac>=0 ? db->nextAutovac : + sqlite3BtreeGetAutoVacuum(pMain)); +#endif + + /* Query the schema of the main database. Create a mirror schema + ** in the temporary database. + */ + db->init.iDb = nDb; /* force new CREATE statements into vacuum_db */ + rc = execSqlF(db, pzErrMsg, + "SELECT sql FROM \"%w\".sqlite_master" + " WHERE type='table'AND name<>'sqlite_sequence'" + " AND coalesce(rootpage,1)>0", + zDbMain + ); + if( rc!=SQLITE_OK ) goto end_of_vacuum; + rc = execSqlF(db, pzErrMsg, + "SELECT sql FROM \"%w\".sqlite_master" + " WHERE type='index'", + zDbMain + ); + if( rc!=SQLITE_OK ) goto end_of_vacuum; + db->init.iDb = 0; + + /* Loop through the tables in the main database. For each, do + ** an "INSERT INTO vacuum_db.xxx SELECT * FROM main.xxx;" to copy + ** the contents to the temporary database. + */ + rc = execSqlF(db, pzErrMsg, + "SELECT'INSERT INTO vacuum_db.'||quote(name)" + "||' SELECT*FROM\"%w\".'||quote(name)" + "FROM vacuum_db.sqlite_master " + "WHERE type='table'AND coalesce(rootpage,1)>0", + zDbMain + ); + assert( (db->mDbFlags & DBFLAG_Vacuum)!=0 ); + db->mDbFlags &= ~DBFLAG_Vacuum; + if( rc!=SQLITE_OK ) goto end_of_vacuum; + + /* Copy the triggers, views, and virtual tables from the main database + ** over to the temporary database. None of these objects has any + ** associated storage, so all we have to do is copy their entries + ** from the SQLITE_MASTER table. + */ + rc = execSqlF(db, pzErrMsg, + "INSERT INTO vacuum_db.sqlite_master" + " SELECT*FROM \"%w\".sqlite_master" + " WHERE type IN('view','trigger')" + " OR(type='table'AND rootpage=0)", + zDbMain + ); + if( rc ) goto end_of_vacuum; + + /* At this point, there is a write transaction open on both the + ** vacuum database and the main database. Assuming no error occurs, + ** both transactions are closed by this block - the main database + ** transaction by sqlite3BtreeCopyFile() and the other by an explicit + ** call to sqlite3BtreeCommit(). + */ + { + u32 meta; + int i; + + /* This array determines which meta meta values are preserved in the + ** vacuum. Even entries are the meta value number and odd entries + ** are an increment to apply to the meta value after the vacuum. + ** The increment is used to increase the schema cookie so that other + ** connections to the same database will know to reread the schema. + */ + static const unsigned char aCopy[] = { + BTREE_SCHEMA_VERSION, 1, /* Add one to the old schema cookie */ + BTREE_DEFAULT_CACHE_SIZE, 0, /* Preserve the default page cache size */ + BTREE_TEXT_ENCODING, 0, /* Preserve the text encoding */ + BTREE_USER_VERSION, 0, /* Preserve the user version */ + BTREE_APPLICATION_ID, 0, /* Preserve the application id */ + }; + + assert( 1==sqlite3BtreeIsInTrans(pTemp) ); + assert( pOut!=0 || 1==sqlite3BtreeIsInTrans(pMain) ); + + /* Copy Btree meta values */ + for(i=0; iflags */ + db->init.iDb = 0; + db->mDbFlags = saved_mDbFlags; + db->flags = saved_flags; + db->nChange = saved_nChange; + db->nTotalChange = saved_nTotalChange; + db->mTrace = saved_mTrace; + sqlite3BtreeSetPageSize(pMain, -1, -1, 1); + + /* Currently there is an SQL level transaction open on the vacuum + ** database. No locks are held on any other files (since the main file + ** was committed at the btree level). So it safe to end the transaction + ** by manually setting the autoCommit flag to true and detaching the + ** vacuum database. The vacuum_db journal file is deleted when the pager + ** is closed by the DETACH. + */ + db->autoCommit = 1; + + if( pDb ){ + sqlite3BtreeClose(pDb->pBt); + pDb->pBt = 0; + pDb->pSchema = 0; + } + + /* This both clears the schemas and reduces the size of the db->aDb[] + ** array. */ + sqlite3ResetAllSchemasOfConnection(db); + + return rc; +} + +#endif /* SQLITE_OMIT_VACUUM && SQLITE_OMIT_ATTACH */ + +/************** End of vacuum.c **********************************************/ +/************** Begin file vtab.c ********************************************/ +/* +** 2006 June 10 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file contains code used to help implement virtual tables. +*/ +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* #include "sqliteInt.h" */ + +/* +** Before a virtual table xCreate() or xConnect() method is invoked, the +** sqlite3.pVtabCtx member variable is set to point to an instance of +** this struct allocated on the stack. It is used by the implementation of +** the sqlite3_declare_vtab() and sqlite3_vtab_config() APIs, both of which +** are invoked only from within xCreate and xConnect methods. +*/ +struct VtabCtx { + VTable *pVTable; /* The virtual table being constructed */ + Table *pTab; /* The Table object to which the virtual table belongs */ + VtabCtx *pPrior; /* Parent context (if any) */ + int bDeclared; /* True after sqlite3_declare_vtab() is called */ +}; + +/* +** Construct and install a Module object for a virtual table. When this +** routine is called, it is guaranteed that all appropriate locks are held +** and the module is not already part of the connection. +** +** If there already exists a module with zName, replace it with the new one. +** If pModule==0, then delete the module zName if it exists. +*/ +SQLITE_PRIVATE Module *sqlite3VtabCreateModule( + sqlite3 *db, /* Database in which module is registered */ + const char *zName, /* Name assigned to this module */ + const sqlite3_module *pModule, /* The definition of the module */ + void *pAux, /* Context pointer for xCreate/xConnect */ + void (*xDestroy)(void *) /* Module destructor function */ +){ + Module *pMod; + Module *pDel; + char *zCopy; + if( pModule==0 ){ + zCopy = (char*)zName; + pMod = 0; + }else{ + int nName = sqlite3Strlen30(zName); + pMod = (Module *)sqlite3Malloc(sizeof(Module) + nName + 1); + if( pMod==0 ){ + sqlite3OomFault(db); + return 0; + } + zCopy = (char *)(&pMod[1]); + memcpy(zCopy, zName, nName+1); + pMod->zName = zCopy; + pMod->pModule = pModule; + pMod->pAux = pAux; + pMod->xDestroy = xDestroy; + pMod->pEpoTab = 0; + pMod->nRefModule = 1; + } + pDel = (Module *)sqlite3HashInsert(&db->aModule,zCopy,(void*)pMod); + if( pDel ){ + if( pDel==pMod ){ + sqlite3OomFault(db); + sqlite3DbFree(db, pDel); + pMod = 0; + }else{ + sqlite3VtabEponymousTableClear(db, pDel); + sqlite3VtabModuleUnref(db, pDel); + } + } + return pMod; +} + +/* +** The actual function that does the work of creating a new module. +** This function implements the sqlite3_create_module() and +** sqlite3_create_module_v2() interfaces. +*/ +static int createModule( + sqlite3 *db, /* Database in which module is registered */ + const char *zName, /* Name assigned to this module */ + const sqlite3_module *pModule, /* The definition of the module */ + void *pAux, /* Context pointer for xCreate/xConnect */ + void (*xDestroy)(void *) /* Module destructor function */ +){ + int rc = SQLITE_OK; + + sqlite3_mutex_enter(db->mutex); + (void)sqlite3VtabCreateModule(db, zName, pModule, pAux, xDestroy); + rc = sqlite3ApiExit(db, rc); + if( rc!=SQLITE_OK && xDestroy ) xDestroy(pAux); + sqlite3_mutex_leave(db->mutex); + return rc; +} + + +/* +** External API function used to create a new virtual-table module. +*/ +SQLITE_API int sqlite3_create_module( + sqlite3 *db, /* Database in which module is registered */ + const char *zName, /* Name assigned to this module */ + const sqlite3_module *pModule, /* The definition of the module */ + void *pAux /* Context pointer for xCreate/xConnect */ +){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) || zName==0 ) return SQLITE_MISUSE_BKPT; +#endif + return createModule(db, zName, pModule, pAux, 0); +} + +/* +** External API function used to create a new virtual-table module. +*/ +SQLITE_API int sqlite3_create_module_v2( + sqlite3 *db, /* Database in which module is registered */ + const char *zName, /* Name assigned to this module */ + const sqlite3_module *pModule, /* The definition of the module */ + void *pAux, /* Context pointer for xCreate/xConnect */ + void (*xDestroy)(void *) /* Module destructor function */ +){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) || zName==0 ) return SQLITE_MISUSE_BKPT; +#endif + return createModule(db, zName, pModule, pAux, xDestroy); +} + +/* +** External API to drop all virtual-table modules, except those named +** on the azNames list. +*/ +SQLITE_API int sqlite3_drop_modules(sqlite3 *db, const char** azNames){ + HashElem *pThis, *pNext; +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + for(pThis=sqliteHashFirst(&db->aModule); pThis; pThis=pNext){ + Module *pMod = (Module*)sqliteHashData(pThis); + pNext = sqliteHashNext(pThis); + if( azNames ){ + int ii; + for(ii=0; azNames[ii]!=0 && strcmp(azNames[ii],pMod->zName)!=0; ii++){} + if( azNames[ii]!=0 ) continue; + } + createModule(db, pMod->zName, 0, 0, 0); + } + return SQLITE_OK; +} + +/* +** Decrement the reference count on a Module object. Destroy the +** module when the reference count reaches zero. +*/ +SQLITE_PRIVATE void sqlite3VtabModuleUnref(sqlite3 *db, Module *pMod){ + assert( pMod->nRefModule>0 ); + pMod->nRefModule--; + if( pMod->nRefModule==0 ){ + if( pMod->xDestroy ){ + pMod->xDestroy(pMod->pAux); + } + assert( pMod->pEpoTab==0 ); + sqlite3DbFree(db, pMod); + } +} + +/* +** Lock the virtual table so that it cannot be disconnected. +** Locks nest. Every lock should have a corresponding unlock. +** If an unlock is omitted, resources leaks will occur. +** +** If a disconnect is attempted while a virtual table is locked, +** the disconnect is deferred until all locks have been removed. +*/ +SQLITE_PRIVATE void sqlite3VtabLock(VTable *pVTab){ + pVTab->nRef++; +} + + +/* +** pTab is a pointer to a Table structure representing a virtual-table. +** Return a pointer to the VTable object used by connection db to access +** this virtual-table, if one has been created, or NULL otherwise. +*/ +SQLITE_PRIVATE VTable *sqlite3GetVTable(sqlite3 *db, Table *pTab){ + VTable *pVtab; + assert( IsVirtual(pTab) ); + for(pVtab=pTab->pVTable; pVtab && pVtab->db!=db; pVtab=pVtab->pNext); + return pVtab; +} + +/* +** Decrement the ref-count on a virtual table object. When the ref-count +** reaches zero, call the xDisconnect() method to delete the object. +*/ +SQLITE_PRIVATE void sqlite3VtabUnlock(VTable *pVTab){ + sqlite3 *db = pVTab->db; + + assert( db ); + assert( pVTab->nRef>0 ); + assert( db->magic==SQLITE_MAGIC_OPEN || db->magic==SQLITE_MAGIC_ZOMBIE ); + + pVTab->nRef--; + if( pVTab->nRef==0 ){ + sqlite3_vtab *p = pVTab->pVtab; + sqlite3VtabModuleUnref(pVTab->db, pVTab->pMod); + if( p ){ + p->pModule->xDisconnect(p); + } + sqlite3DbFree(db, pVTab); + } +} + +/* +** Table p is a virtual table. This function moves all elements in the +** p->pVTable list to the sqlite3.pDisconnect lists of their associated +** database connections to be disconnected at the next opportunity. +** Except, if argument db is not NULL, then the entry associated with +** connection db is left in the p->pVTable list. +*/ +static VTable *vtabDisconnectAll(sqlite3 *db, Table *p){ + VTable *pRet = 0; + VTable *pVTable = p->pVTable; + p->pVTable = 0; + + /* Assert that the mutex (if any) associated with the BtShared database + ** that contains table p is held by the caller. See header comments + ** above function sqlite3VtabUnlockList() for an explanation of why + ** this makes it safe to access the sqlite3.pDisconnect list of any + ** database connection that may have an entry in the p->pVTable list. + */ + assert( db==0 || sqlite3SchemaMutexHeld(db, 0, p->pSchema) ); + + while( pVTable ){ + sqlite3 *db2 = pVTable->db; + VTable *pNext = pVTable->pNext; + assert( db2 ); + if( db2==db ){ + pRet = pVTable; + p->pVTable = pRet; + pRet->pNext = 0; + }else{ + pVTable->pNext = db2->pDisconnect; + db2->pDisconnect = pVTable; + } + pVTable = pNext; + } + + assert( !db || pRet ); + return pRet; +} + +/* +** Table *p is a virtual table. This function removes the VTable object +** for table *p associated with database connection db from the linked +** list in p->pVTab. It also decrements the VTable ref count. This is +** used when closing database connection db to free all of its VTable +** objects without disturbing the rest of the Schema object (which may +** be being used by other shared-cache connections). +*/ +SQLITE_PRIVATE void sqlite3VtabDisconnect(sqlite3 *db, Table *p){ + VTable **ppVTab; + + assert( IsVirtual(p) ); + assert( sqlite3BtreeHoldsAllMutexes(db) ); + assert( sqlite3_mutex_held(db->mutex) ); + + for(ppVTab=&p->pVTable; *ppVTab; ppVTab=&(*ppVTab)->pNext){ + if( (*ppVTab)->db==db ){ + VTable *pVTab = *ppVTab; + *ppVTab = pVTab->pNext; + sqlite3VtabUnlock(pVTab); + break; + } + } +} + + +/* +** Disconnect all the virtual table objects in the sqlite3.pDisconnect list. +** +** This function may only be called when the mutexes associated with all +** shared b-tree databases opened using connection db are held by the +** caller. This is done to protect the sqlite3.pDisconnect list. The +** sqlite3.pDisconnect list is accessed only as follows: +** +** 1) By this function. In this case, all BtShared mutexes and the mutex +** associated with the database handle itself must be held. +** +** 2) By function vtabDisconnectAll(), when it adds a VTable entry to +** the sqlite3.pDisconnect list. In this case either the BtShared mutex +** associated with the database the virtual table is stored in is held +** or, if the virtual table is stored in a non-sharable database, then +** the database handle mutex is held. +** +** As a result, a sqlite3.pDisconnect cannot be accessed simultaneously +** by multiple threads. It is thread-safe. +*/ +SQLITE_PRIVATE void sqlite3VtabUnlockList(sqlite3 *db){ + VTable *p = db->pDisconnect; + db->pDisconnect = 0; + + assert( sqlite3BtreeHoldsAllMutexes(db) ); + assert( sqlite3_mutex_held(db->mutex) ); + + if( p ){ + sqlite3ExpirePreparedStatements(db, 0); + do { + VTable *pNext = p->pNext; + sqlite3VtabUnlock(p); + p = pNext; + }while( p ); + } +} + +/* +** Clear any and all virtual-table information from the Table record. +** This routine is called, for example, just before deleting the Table +** record. +** +** Since it is a virtual-table, the Table structure contains a pointer +** to the head of a linked list of VTable structures. Each VTable +** structure is associated with a single sqlite3* user of the schema. +** The reference count of the VTable structure associated with database +** connection db is decremented immediately (which may lead to the +** structure being xDisconnected and free). Any other VTable structures +** in the list are moved to the sqlite3.pDisconnect list of the associated +** database connection. +*/ +SQLITE_PRIVATE void sqlite3VtabClear(sqlite3 *db, Table *p){ + if( !db || db->pnBytesFreed==0 ) vtabDisconnectAll(0, p); + if( p->azModuleArg ){ + int i; + for(i=0; inModuleArg; i++){ + if( i!=1 ) sqlite3DbFree(db, p->azModuleArg[i]); + } + sqlite3DbFree(db, p->azModuleArg); + } +} + +/* +** Add a new module argument to pTable->azModuleArg[]. +** The string is not copied - the pointer is stored. The +** string will be freed automatically when the table is +** deleted. +*/ +static void addModuleArgument(Parse *pParse, Table *pTable, char *zArg){ + sqlite3_int64 nBytes = sizeof(char *)*(2+pTable->nModuleArg); + char **azModuleArg; + sqlite3 *db = pParse->db; + if( pTable->nModuleArg+3>=db->aLimit[SQLITE_LIMIT_COLUMN] ){ + sqlite3ErrorMsg(pParse, "too many columns on %s", pTable->zName); + } + azModuleArg = sqlite3DbRealloc(db, pTable->azModuleArg, nBytes); + if( azModuleArg==0 ){ + sqlite3DbFree(db, zArg); + }else{ + int i = pTable->nModuleArg++; + azModuleArg[i] = zArg; + azModuleArg[i+1] = 0; + pTable->azModuleArg = azModuleArg; + } +} + +/* +** The parser calls this routine when it first sees a CREATE VIRTUAL TABLE +** statement. The module name has been parsed, but the optional list +** of parameters that follow the module name are still pending. +*/ +SQLITE_PRIVATE void sqlite3VtabBeginParse( + Parse *pParse, /* Parsing context */ + Token *pName1, /* Name of new table, or database name */ + Token *pName2, /* Name of new table or NULL */ + Token *pModuleName, /* Name of the module for the virtual table */ + int ifNotExists /* No error if the table already exists */ +){ + Table *pTable; /* The new virtual table */ + sqlite3 *db; /* Database connection */ + + sqlite3StartTable(pParse, pName1, pName2, 0, 0, 1, ifNotExists); + pTable = pParse->pNewTable; + if( pTable==0 ) return; + assert( 0==pTable->pIndex ); + + db = pParse->db; + + assert( pTable->nModuleArg==0 ); + addModuleArgument(pParse, pTable, sqlite3NameFromToken(db, pModuleName)); + addModuleArgument(pParse, pTable, 0); + addModuleArgument(pParse, pTable, sqlite3DbStrDup(db, pTable->zName)); + assert( (pParse->sNameToken.z==pName2->z && pName2->z!=0) + || (pParse->sNameToken.z==pName1->z && pName2->z==0) + ); + pParse->sNameToken.n = (int)( + &pModuleName->z[pModuleName->n] - pParse->sNameToken.z + ); + +#ifndef SQLITE_OMIT_AUTHORIZATION + /* Creating a virtual table invokes the authorization callback twice. + ** The first invocation, to obtain permission to INSERT a row into the + ** sqlite_master table, has already been made by sqlite3StartTable(). + ** The second call, to obtain permission to create the table, is made now. + */ + if( pTable->azModuleArg ){ + int iDb = sqlite3SchemaToIndex(db, pTable->pSchema); + assert( iDb>=0 ); /* The database the table is being created in */ + sqlite3AuthCheck(pParse, SQLITE_CREATE_VTABLE, pTable->zName, + pTable->azModuleArg[0], pParse->db->aDb[iDb].zDbSName); + } +#endif +} + +/* +** This routine takes the module argument that has been accumulating +** in pParse->zArg[] and appends it to the list of arguments on the +** virtual table currently under construction in pParse->pTable. +*/ +static void addArgumentToVtab(Parse *pParse){ + if( pParse->sArg.z && pParse->pNewTable ){ + const char *z = (const char*)pParse->sArg.z; + int n = pParse->sArg.n; + sqlite3 *db = pParse->db; + addModuleArgument(pParse, pParse->pNewTable, sqlite3DbStrNDup(db, z, n)); + } +} + +/* +** The parser calls this routine after the CREATE VIRTUAL TABLE statement +** has been completely parsed. +*/ +SQLITE_PRIVATE void sqlite3VtabFinishParse(Parse *pParse, Token *pEnd){ + Table *pTab = pParse->pNewTable; /* The table being constructed */ + sqlite3 *db = pParse->db; /* The database connection */ + + if( pTab==0 ) return; + addArgumentToVtab(pParse); + pParse->sArg.z = 0; + if( pTab->nModuleArg<1 ) return; + + /* If the CREATE VIRTUAL TABLE statement is being entered for the + ** first time (in other words if the virtual table is actually being + ** created now instead of just being read out of sqlite_master) then + ** do additional initialization work and store the statement text + ** in the sqlite_master table. + */ + if( !db->init.busy ){ + char *zStmt; + char *zWhere; + int iDb; + int iReg; + Vdbe *v; + + /* Compute the complete text of the CREATE VIRTUAL TABLE statement */ + if( pEnd ){ + pParse->sNameToken.n = (int)(pEnd->z - pParse->sNameToken.z) + pEnd->n; + } + zStmt = sqlite3MPrintf(db, "CREATE VIRTUAL TABLE %T", &pParse->sNameToken); + + /* A slot for the record has already been allocated in the + ** SQLITE_MASTER table. We just need to update that slot with all + ** the information we've collected. + ** + ** The VM register number pParse->regRowid holds the rowid of an + ** entry in the sqlite_master table tht was created for this vtab + ** by sqlite3StartTable(). + */ + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + sqlite3NestedParse(pParse, + "UPDATE %Q.%s " + "SET type='table', name=%Q, tbl_name=%Q, rootpage=0, sql=%Q " + "WHERE rowid=#%d", + db->aDb[iDb].zDbSName, MASTER_NAME, + pTab->zName, + pTab->zName, + zStmt, + pParse->regRowid + ); + sqlite3DbFree(db, zStmt); + v = sqlite3GetVdbe(pParse); + sqlite3ChangeCookie(pParse, iDb); + + sqlite3VdbeAddOp0(v, OP_Expire); + zWhere = sqlite3MPrintf(db, "name='%q' AND type='table'", pTab->zName); + sqlite3VdbeAddParseSchemaOp(v, iDb, zWhere); + + iReg = ++pParse->nMem; + sqlite3VdbeLoadString(v, iReg, pTab->zName); + sqlite3VdbeAddOp2(v, OP_VCreate, iDb, iReg); + } + + /* If we are rereading the sqlite_master table create the in-memory + ** record of the table. The xConnect() method is not called until + ** the first time the virtual table is used in an SQL statement. This + ** allows a schema that contains virtual tables to be loaded before + ** the required virtual table implementations are registered. */ + else { + Table *pOld; + Schema *pSchema = pTab->pSchema; + const char *zName = pTab->zName; + assert( sqlite3SchemaMutexHeld(db, 0, pSchema) ); + pOld = sqlite3HashInsert(&pSchema->tblHash, zName, pTab); + if( pOld ){ + sqlite3OomFault(db); + assert( pTab==pOld ); /* Malloc must have failed inside HashInsert() */ + return; + } + pParse->pNewTable = 0; + } +} + +/* +** The parser calls this routine when it sees the first token +** of an argument to the module name in a CREATE VIRTUAL TABLE statement. +*/ +SQLITE_PRIVATE void sqlite3VtabArgInit(Parse *pParse){ + addArgumentToVtab(pParse); + pParse->sArg.z = 0; + pParse->sArg.n = 0; +} + +/* +** The parser calls this routine for each token after the first token +** in an argument to the module name in a CREATE VIRTUAL TABLE statement. +*/ +SQLITE_PRIVATE void sqlite3VtabArgExtend(Parse *pParse, Token *p){ + Token *pArg = &pParse->sArg; + if( pArg->z==0 ){ + pArg->z = p->z; + pArg->n = p->n; + }else{ + assert(pArg->z <= p->z); + pArg->n = (int)(&p->z[p->n] - pArg->z); + } +} + +/* +** Invoke a virtual table constructor (either xCreate or xConnect). The +** pointer to the function to invoke is passed as the fourth parameter +** to this procedure. +*/ +static int vtabCallConstructor( + sqlite3 *db, + Table *pTab, + Module *pMod, + int (*xConstruct)(sqlite3*,void*,int,const char*const*,sqlite3_vtab**,char**), + char **pzErr +){ + VtabCtx sCtx; + VTable *pVTable; + int rc; + const char *const*azArg = (const char *const*)pTab->azModuleArg; + int nArg = pTab->nModuleArg; + char *zErr = 0; + char *zModuleName; + int iDb; + VtabCtx *pCtx; + + /* Check that the virtual-table is not already being initialized */ + for(pCtx=db->pVtabCtx; pCtx; pCtx=pCtx->pPrior){ + if( pCtx->pTab==pTab ){ + *pzErr = sqlite3MPrintf(db, + "vtable constructor called recursively: %s", pTab->zName + ); + return SQLITE_LOCKED; + } + } + + zModuleName = sqlite3DbStrDup(db, pTab->zName); + if( !zModuleName ){ + return SQLITE_NOMEM_BKPT; + } + + pVTable = sqlite3MallocZero(sizeof(VTable)); + if( !pVTable ){ + sqlite3OomFault(db); + sqlite3DbFree(db, zModuleName); + return SQLITE_NOMEM_BKPT; + } + pVTable->db = db; + pVTable->pMod = pMod; + + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + pTab->azModuleArg[1] = db->aDb[iDb].zDbSName; + + /* Invoke the virtual table constructor */ + assert( &db->pVtabCtx ); + assert( xConstruct ); + sCtx.pTab = pTab; + sCtx.pVTable = pVTable; + sCtx.pPrior = db->pVtabCtx; + sCtx.bDeclared = 0; + db->pVtabCtx = &sCtx; + rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr); + db->pVtabCtx = sCtx.pPrior; + if( rc==SQLITE_NOMEM ) sqlite3OomFault(db); + assert( sCtx.pTab==pTab ); + + if( SQLITE_OK!=rc ){ + if( zErr==0 ){ + *pzErr = sqlite3MPrintf(db, "vtable constructor failed: %s", zModuleName); + }else { + *pzErr = sqlite3MPrintf(db, "%s", zErr); + sqlite3_free(zErr); + } + sqlite3DbFree(db, pVTable); + }else if( ALWAYS(pVTable->pVtab) ){ + /* Justification of ALWAYS(): A correct vtab constructor must allocate + ** the sqlite3_vtab object if successful. */ + memset(pVTable->pVtab, 0, sizeof(pVTable->pVtab[0])); + pVTable->pVtab->pModule = pMod->pModule; + pMod->nRefModule++; + pVTable->nRef = 1; + if( sCtx.bDeclared==0 ){ + const char *zFormat = "vtable constructor did not declare schema: %s"; + *pzErr = sqlite3MPrintf(db, zFormat, pTab->zName); + sqlite3VtabUnlock(pVTable); + rc = SQLITE_ERROR; + }else{ + int iCol; + u8 oooHidden = 0; + /* If everything went according to plan, link the new VTable structure + ** into the linked list headed by pTab->pVTable. Then loop through the + ** columns of the table to see if any of them contain the token "hidden". + ** If so, set the Column COLFLAG_HIDDEN flag and remove the token from + ** the type string. */ + pVTable->pNext = pTab->pVTable; + pTab->pVTable = pVTable; + + for(iCol=0; iColnCol; iCol++){ + char *zType = sqlite3ColumnType(&pTab->aCol[iCol], ""); + int nType; + int i = 0; + nType = sqlite3Strlen30(zType); + for(i=0; i0 ){ + assert(zType[i-1]==' '); + zType[i-1] = '\0'; + } + pTab->aCol[iCol].colFlags |= COLFLAG_HIDDEN; + oooHidden = TF_OOOHidden; + }else{ + pTab->tabFlags |= oooHidden; + } + } + } + } + + sqlite3DbFree(db, zModuleName); + return rc; +} + +/* +** This function is invoked by the parser to call the xConnect() method +** of the virtual table pTab. If an error occurs, an error code is returned +** and an error left in pParse. +** +** This call is a no-op if table pTab is not a virtual table. +*/ +SQLITE_PRIVATE int sqlite3VtabCallConnect(Parse *pParse, Table *pTab){ + sqlite3 *db = pParse->db; + const char *zMod; + Module *pMod; + int rc; + + assert( pTab ); + if( !IsVirtual(pTab) || sqlite3GetVTable(db, pTab) ){ + return SQLITE_OK; + } + + /* Locate the required virtual table module */ + zMod = pTab->azModuleArg[0]; + pMod = (Module*)sqlite3HashFind(&db->aModule, zMod); + + if( !pMod ){ + const char *zModule = pTab->azModuleArg[0]; + sqlite3ErrorMsg(pParse, "no such module: %s", zModule); + rc = SQLITE_ERROR; + }else{ + char *zErr = 0; + rc = vtabCallConstructor(db, pTab, pMod, pMod->pModule->xConnect, &zErr); + if( rc!=SQLITE_OK ){ + sqlite3ErrorMsg(pParse, "%s", zErr); + pParse->rc = rc; + } + sqlite3DbFree(db, zErr); + } + + return rc; +} +/* +** Grow the db->aVTrans[] array so that there is room for at least one +** more v-table. Return SQLITE_NOMEM if a malloc fails, or SQLITE_OK otherwise. +*/ +static int growVTrans(sqlite3 *db){ + const int ARRAY_INCR = 5; + + /* Grow the sqlite3.aVTrans array if required */ + if( (db->nVTrans%ARRAY_INCR)==0 ){ + VTable **aVTrans; + sqlite3_int64 nBytes = sizeof(sqlite3_vtab*)* + ((sqlite3_int64)db->nVTrans + ARRAY_INCR); + aVTrans = sqlite3DbRealloc(db, (void *)db->aVTrans, nBytes); + if( !aVTrans ){ + return SQLITE_NOMEM_BKPT; + } + memset(&aVTrans[db->nVTrans], 0, sizeof(sqlite3_vtab *)*ARRAY_INCR); + db->aVTrans = aVTrans; + } + + return SQLITE_OK; +} + +/* +** Add the virtual table pVTab to the array sqlite3.aVTrans[]. Space should +** have already been reserved using growVTrans(). +*/ +static void addToVTrans(sqlite3 *db, VTable *pVTab){ + /* Add pVtab to the end of sqlite3.aVTrans */ + db->aVTrans[db->nVTrans++] = pVTab; + sqlite3VtabLock(pVTab); +} + +/* +** This function is invoked by the vdbe to call the xCreate method +** of the virtual table named zTab in database iDb. +** +** If an error occurs, *pzErr is set to point to an English language +** description of the error and an SQLITE_XXX error code is returned. +** In this case the caller must call sqlite3DbFree(db, ) on *pzErr. +*/ +SQLITE_PRIVATE int sqlite3VtabCallCreate(sqlite3 *db, int iDb, const char *zTab, char **pzErr){ + int rc = SQLITE_OK; + Table *pTab; + Module *pMod; + const char *zMod; + + pTab = sqlite3FindTable(db, zTab, db->aDb[iDb].zDbSName); + assert( pTab && IsVirtual(pTab) && !pTab->pVTable ); + + /* Locate the required virtual table module */ + zMod = pTab->azModuleArg[0]; + pMod = (Module*)sqlite3HashFind(&db->aModule, zMod); + + /* If the module has been registered and includes a Create method, + ** invoke it now. If the module has not been registered, return an + ** error. Otherwise, do nothing. + */ + if( pMod==0 || pMod->pModule->xCreate==0 || pMod->pModule->xDestroy==0 ){ + *pzErr = sqlite3MPrintf(db, "no such module: %s", zMod); + rc = SQLITE_ERROR; + }else{ + rc = vtabCallConstructor(db, pTab, pMod, pMod->pModule->xCreate, pzErr); + } + + /* Justification of ALWAYS(): The xConstructor method is required to + ** create a valid sqlite3_vtab if it returns SQLITE_OK. */ + if( rc==SQLITE_OK && ALWAYS(sqlite3GetVTable(db, pTab)) ){ + rc = growVTrans(db); + if( rc==SQLITE_OK ){ + addToVTrans(db, sqlite3GetVTable(db, pTab)); + } + } + + return rc; +} + +/* +** This function is used to set the schema of a virtual table. It is only +** valid to call this function from within the xCreate() or xConnect() of a +** virtual table module. +*/ +SQLITE_API int sqlite3_declare_vtab(sqlite3 *db, const char *zCreateTable){ + VtabCtx *pCtx; + int rc = SQLITE_OK; + Table *pTab; + char *zErr = 0; + Parse sParse; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) || zCreateTable==0 ){ + return SQLITE_MISUSE_BKPT; + } +#endif + sqlite3_mutex_enter(db->mutex); + pCtx = db->pVtabCtx; + if( !pCtx || pCtx->bDeclared ){ + sqlite3Error(db, SQLITE_MISUSE); + sqlite3_mutex_leave(db->mutex); + return SQLITE_MISUSE_BKPT; + } + pTab = pCtx->pTab; + assert( IsVirtual(pTab) ); + + memset(&sParse, 0, sizeof(sParse)); + sParse.eParseMode = PARSE_MODE_DECLARE_VTAB; + sParse.db = db; + sParse.nQueryLoop = 1; + if( SQLITE_OK==sqlite3RunParser(&sParse, zCreateTable, &zErr) + && sParse.pNewTable + && !db->mallocFailed + && !sParse.pNewTable->pSelect + && !IsVirtual(sParse.pNewTable) + ){ + if( !pTab->aCol ){ + Table *pNew = sParse.pNewTable; + Index *pIdx; + pTab->aCol = pNew->aCol; + pTab->nCol = pNew->nCol; + pTab->tabFlags |= pNew->tabFlags & (TF_WithoutRowid|TF_NoVisibleRowid); + pNew->nCol = 0; + pNew->aCol = 0; + assert( pTab->pIndex==0 ); + assert( HasRowid(pNew) || sqlite3PrimaryKeyIndex(pNew)!=0 ); + if( !HasRowid(pNew) + && pCtx->pVTable->pMod->pModule->xUpdate!=0 + && sqlite3PrimaryKeyIndex(pNew)->nKeyCol!=1 + ){ + /* WITHOUT ROWID virtual tables must either be read-only (xUpdate==0) + ** or else must have a single-column PRIMARY KEY */ + rc = SQLITE_ERROR; + } + pIdx = pNew->pIndex; + if( pIdx ){ + assert( pIdx->pNext==0 ); + pTab->pIndex = pIdx; + pNew->pIndex = 0; + pIdx->pTable = pTab; + } + } + pCtx->bDeclared = 1; + }else{ + sqlite3ErrorWithMsg(db, SQLITE_ERROR, (zErr ? "%s" : 0), zErr); + sqlite3DbFree(db, zErr); + rc = SQLITE_ERROR; + } + sParse.eParseMode = PARSE_MODE_NORMAL; + + if( sParse.pVdbe ){ + sqlite3VdbeFinalize(sParse.pVdbe); + } + sqlite3DeleteTable(db, sParse.pNewTable); + sqlite3ParserReset(&sParse); + + assert( (rc&0xff)==rc ); + rc = sqlite3ApiExit(db, rc); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +/* +** This function is invoked by the vdbe to call the xDestroy method +** of the virtual table named zTab in database iDb. This occurs +** when a DROP TABLE is mentioned. +** +** This call is a no-op if zTab is not a virtual table. +*/ +SQLITE_PRIVATE int sqlite3VtabCallDestroy(sqlite3 *db, int iDb, const char *zTab){ + int rc = SQLITE_OK; + Table *pTab; + + pTab = sqlite3FindTable(db, zTab, db->aDb[iDb].zDbSName); + if( pTab!=0 && ALWAYS(pTab->pVTable!=0) ){ + VTable *p; + int (*xDestroy)(sqlite3_vtab *); + for(p=pTab->pVTable; p; p=p->pNext){ + assert( p->pVtab ); + if( p->pVtab->nRef>0 ){ + return SQLITE_LOCKED; + } + } + p = vtabDisconnectAll(db, pTab); + xDestroy = p->pMod->pModule->xDestroy; + assert( xDestroy!=0 ); /* Checked before the virtual table is created */ + pTab->nTabRef++; + rc = xDestroy(p->pVtab); + /* Remove the sqlite3_vtab* from the aVTrans[] array, if applicable */ + if( rc==SQLITE_OK ){ + assert( pTab->pVTable==p && p->pNext==0 ); + p->pVtab = 0; + pTab->pVTable = 0; + sqlite3VtabUnlock(p); + } + sqlite3DeleteTable(db, pTab); + } + + return rc; +} + +/* +** This function invokes either the xRollback or xCommit method +** of each of the virtual tables in the sqlite3.aVTrans array. The method +** called is identified by the second argument, "offset", which is +** the offset of the method to call in the sqlite3_module structure. +** +** The array is cleared after invoking the callbacks. +*/ +static void callFinaliser(sqlite3 *db, int offset){ + int i; + if( db->aVTrans ){ + VTable **aVTrans = db->aVTrans; + db->aVTrans = 0; + for(i=0; inVTrans; i++){ + VTable *pVTab = aVTrans[i]; + sqlite3_vtab *p = pVTab->pVtab; + if( p ){ + int (*x)(sqlite3_vtab *); + x = *(int (**)(sqlite3_vtab *))((char *)p->pModule + offset); + if( x ) x(p); + } + pVTab->iSavepoint = 0; + sqlite3VtabUnlock(pVTab); + } + sqlite3DbFree(db, aVTrans); + db->nVTrans = 0; + } +} + +/* +** Invoke the xSync method of all virtual tables in the sqlite3.aVTrans +** array. Return the error code for the first error that occurs, or +** SQLITE_OK if all xSync operations are successful. +** +** If an error message is available, leave it in p->zErrMsg. +*/ +SQLITE_PRIVATE int sqlite3VtabSync(sqlite3 *db, Vdbe *p){ + int i; + int rc = SQLITE_OK; + VTable **aVTrans = db->aVTrans; + + db->aVTrans = 0; + for(i=0; rc==SQLITE_OK && inVTrans; i++){ + int (*x)(sqlite3_vtab *); + sqlite3_vtab *pVtab = aVTrans[i]->pVtab; + if( pVtab && (x = pVtab->pModule->xSync)!=0 ){ + rc = x(pVtab); + sqlite3VtabImportErrmsg(p, pVtab); + } + } + db->aVTrans = aVTrans; + return rc; +} + +/* +** Invoke the xRollback method of all virtual tables in the +** sqlite3.aVTrans array. Then clear the array itself. +*/ +SQLITE_PRIVATE int sqlite3VtabRollback(sqlite3 *db){ + callFinaliser(db, offsetof(sqlite3_module,xRollback)); + return SQLITE_OK; +} + +/* +** Invoke the xCommit method of all virtual tables in the +** sqlite3.aVTrans array. Then clear the array itself. +*/ +SQLITE_PRIVATE int sqlite3VtabCommit(sqlite3 *db){ + callFinaliser(db, offsetof(sqlite3_module,xCommit)); + return SQLITE_OK; +} + +/* +** If the virtual table pVtab supports the transaction interface +** (xBegin/xRollback/xCommit and optionally xSync) and a transaction is +** not currently open, invoke the xBegin method now. +** +** If the xBegin call is successful, place the sqlite3_vtab pointer +** in the sqlite3.aVTrans array. +*/ +SQLITE_PRIVATE int sqlite3VtabBegin(sqlite3 *db, VTable *pVTab){ + int rc = SQLITE_OK; + const sqlite3_module *pModule; + + /* Special case: If db->aVTrans is NULL and db->nVTrans is greater + ** than zero, then this function is being called from within a + ** virtual module xSync() callback. It is illegal to write to + ** virtual module tables in this case, so return SQLITE_LOCKED. + */ + if( sqlite3VtabInSync(db) ){ + return SQLITE_LOCKED; + } + if( !pVTab ){ + return SQLITE_OK; + } + pModule = pVTab->pVtab->pModule; + + if( pModule->xBegin ){ + int i; + + /* If pVtab is already in the aVTrans array, return early */ + for(i=0; inVTrans; i++){ + if( db->aVTrans[i]==pVTab ){ + return SQLITE_OK; + } + } + + /* Invoke the xBegin method. If successful, add the vtab to the + ** sqlite3.aVTrans[] array. */ + rc = growVTrans(db); + if( rc==SQLITE_OK ){ + rc = pModule->xBegin(pVTab->pVtab); + if( rc==SQLITE_OK ){ + int iSvpt = db->nStatement + db->nSavepoint; + addToVTrans(db, pVTab); + if( iSvpt && pModule->xSavepoint ){ + pVTab->iSavepoint = iSvpt; + rc = pModule->xSavepoint(pVTab->pVtab, iSvpt-1); + } + } + } + } + return rc; +} + +/* +** Invoke either the xSavepoint, xRollbackTo or xRelease method of all +** virtual tables that currently have an open transaction. Pass iSavepoint +** as the second argument to the virtual table method invoked. +** +** If op is SAVEPOINT_BEGIN, the xSavepoint method is invoked. If it is +** SAVEPOINT_ROLLBACK, the xRollbackTo method. Otherwise, if op is +** SAVEPOINT_RELEASE, then the xRelease method of each virtual table with +** an open transaction is invoked. +** +** If any virtual table method returns an error code other than SQLITE_OK, +** processing is abandoned and the error returned to the caller of this +** function immediately. If all calls to virtual table methods are successful, +** SQLITE_OK is returned. +*/ +SQLITE_PRIVATE int sqlite3VtabSavepoint(sqlite3 *db, int op, int iSavepoint){ + int rc = SQLITE_OK; + + assert( op==SAVEPOINT_RELEASE||op==SAVEPOINT_ROLLBACK||op==SAVEPOINT_BEGIN ); + assert( iSavepoint>=-1 ); + if( db->aVTrans ){ + int i; + for(i=0; rc==SQLITE_OK && inVTrans; i++){ + VTable *pVTab = db->aVTrans[i]; + const sqlite3_module *pMod = pVTab->pMod->pModule; + if( pVTab->pVtab && pMod->iVersion>=2 ){ + int (*xMethod)(sqlite3_vtab *, int); + sqlite3VtabLock(pVTab); + switch( op ){ + case SAVEPOINT_BEGIN: + xMethod = pMod->xSavepoint; + pVTab->iSavepoint = iSavepoint+1; + break; + case SAVEPOINT_ROLLBACK: + xMethod = pMod->xRollbackTo; + break; + default: + xMethod = pMod->xRelease; + break; + } + if( xMethod && pVTab->iSavepoint>iSavepoint ){ + rc = xMethod(pVTab->pVtab, iSavepoint); + } + sqlite3VtabUnlock(pVTab); + } + } + } + return rc; +} + +/* +** The first parameter (pDef) is a function implementation. The +** second parameter (pExpr) is the first argument to this function. +** If pExpr is a column in a virtual table, then let the virtual +** table implementation have an opportunity to overload the function. +** +** This routine is used to allow virtual table implementations to +** overload MATCH, LIKE, GLOB, and REGEXP operators. +** +** Return either the pDef argument (indicating no change) or a +** new FuncDef structure that is marked as ephemeral using the +** SQLITE_FUNC_EPHEM flag. +*/ +SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction( + sqlite3 *db, /* Database connection for reporting malloc problems */ + FuncDef *pDef, /* Function to possibly overload */ + int nArg, /* Number of arguments to the function */ + Expr *pExpr /* First argument to the function */ +){ + Table *pTab; + sqlite3_vtab *pVtab; + sqlite3_module *pMod; + void (*xSFunc)(sqlite3_context*,int,sqlite3_value**) = 0; + void *pArg = 0; + FuncDef *pNew; + int rc = 0; + + /* Check to see the left operand is a column in a virtual table */ + if( NEVER(pExpr==0) ) return pDef; + if( pExpr->op!=TK_COLUMN ) return pDef; + pTab = pExpr->y.pTab; + if( pTab==0 ) return pDef; + if( !IsVirtual(pTab) ) return pDef; + pVtab = sqlite3GetVTable(db, pTab)->pVtab; + assert( pVtab!=0 ); + assert( pVtab->pModule!=0 ); + pMod = (sqlite3_module *)pVtab->pModule; + if( pMod->xFindFunction==0 ) return pDef; + + /* Call the xFindFunction method on the virtual table implementation + ** to see if the implementation wants to overload this function. + ** + ** Though undocumented, we have historically always invoked xFindFunction + ** with an all lower-case function name. Continue in this tradition to + ** avoid any chance of an incompatibility. + */ +#ifdef SQLITE_DEBUG + { + int i; + for(i=0; pDef->zName[i]; i++){ + unsigned char x = (unsigned char)pDef->zName[i]; + assert( x==sqlite3UpperToLower[x] ); + } + } +#endif + rc = pMod->xFindFunction(pVtab, nArg, pDef->zName, &xSFunc, &pArg); + if( rc==0 ){ + return pDef; + } + + /* Create a new ephemeral function definition for the overloaded + ** function */ + pNew = sqlite3DbMallocZero(db, sizeof(*pNew) + + sqlite3Strlen30(pDef->zName) + 1); + if( pNew==0 ){ + return pDef; + } + *pNew = *pDef; + pNew->zName = (const char*)&pNew[1]; + memcpy((char*)&pNew[1], pDef->zName, sqlite3Strlen30(pDef->zName)+1); + pNew->xSFunc = xSFunc; + pNew->pUserData = pArg; + pNew->funcFlags |= SQLITE_FUNC_EPHEM; + return pNew; +} + +/* +** Make sure virtual table pTab is contained in the pParse->apVirtualLock[] +** array so that an OP_VBegin will get generated for it. Add pTab to the +** array if it is missing. If pTab is already in the array, this routine +** is a no-op. +*/ +SQLITE_PRIVATE void sqlite3VtabMakeWritable(Parse *pParse, Table *pTab){ + Parse *pToplevel = sqlite3ParseToplevel(pParse); + int i, n; + Table **apVtabLock; + + assert( IsVirtual(pTab) ); + for(i=0; inVtabLock; i++){ + if( pTab==pToplevel->apVtabLock[i] ) return; + } + n = (pToplevel->nVtabLock+1)*sizeof(pToplevel->apVtabLock[0]); + apVtabLock = sqlite3_realloc64(pToplevel->apVtabLock, n); + if( apVtabLock ){ + pToplevel->apVtabLock = apVtabLock; + pToplevel->apVtabLock[pToplevel->nVtabLock++] = pTab; + }else{ + sqlite3OomFault(pToplevel->db); + } +} + +/* +** Check to see if virtual table module pMod can be have an eponymous +** virtual table instance. If it can, create one if one does not already +** exist. Return non-zero if the eponymous virtual table instance exists +** when this routine returns, and return zero if it does not exist. +** +** An eponymous virtual table instance is one that is named after its +** module, and more importantly, does not require a CREATE VIRTUAL TABLE +** statement in order to come into existance. Eponymous virtual table +** instances always exist. They cannot be DROP-ed. +** +** Any virtual table module for which xConnect and xCreate are the same +** method can have an eponymous virtual table instance. +*/ +SQLITE_PRIVATE int sqlite3VtabEponymousTableInit(Parse *pParse, Module *pMod){ + const sqlite3_module *pModule = pMod->pModule; + Table *pTab; + char *zErr = 0; + int rc; + sqlite3 *db = pParse->db; + if( pMod->pEpoTab ) return 1; + if( pModule->xCreate!=0 && pModule->xCreate!=pModule->xConnect ) return 0; + pTab = sqlite3DbMallocZero(db, sizeof(Table)); + if( pTab==0 ) return 0; + pTab->zName = sqlite3DbStrDup(db, pMod->zName); + if( pTab->zName==0 ){ + sqlite3DbFree(db, pTab); + return 0; + } + pMod->pEpoTab = pTab; + pTab->nTabRef = 1; + pTab->pSchema = db->aDb[0].pSchema; + assert( pTab->nModuleArg==0 ); + pTab->iPKey = -1; + addModuleArgument(pParse, pTab, sqlite3DbStrDup(db, pTab->zName)); + addModuleArgument(pParse, pTab, 0); + addModuleArgument(pParse, pTab, sqlite3DbStrDup(db, pTab->zName)); + rc = vtabCallConstructor(db, pTab, pMod, pModule->xConnect, &zErr); + if( rc ){ + sqlite3ErrorMsg(pParse, "%s", zErr); + sqlite3DbFree(db, zErr); + sqlite3VtabEponymousTableClear(db, pMod); + return 0; + } + return 1; +} + +/* +** Erase the eponymous virtual table instance associated with +** virtual table module pMod, if it exists. +*/ +SQLITE_PRIVATE void sqlite3VtabEponymousTableClear(sqlite3 *db, Module *pMod){ + Table *pTab = pMod->pEpoTab; + if( pTab!=0 ){ + /* Mark the table as Ephemeral prior to deleting it, so that the + ** sqlite3DeleteTable() routine will know that it is not stored in + ** the schema. */ + pTab->tabFlags |= TF_Ephemeral; + sqlite3DeleteTable(db, pTab); + pMod->pEpoTab = 0; + } +} + +/* +** Return the ON CONFLICT resolution mode in effect for the virtual +** table update operation currently in progress. +** +** The results of this routine are undefined unless it is called from +** within an xUpdate method. +*/ +SQLITE_API int sqlite3_vtab_on_conflict(sqlite3 *db){ + static const unsigned char aMap[] = { + SQLITE_ROLLBACK, SQLITE_ABORT, SQLITE_FAIL, SQLITE_IGNORE, SQLITE_REPLACE + }; +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + assert( OE_Rollback==1 && OE_Abort==2 && OE_Fail==3 ); + assert( OE_Ignore==4 && OE_Replace==5 ); + assert( db->vtabOnConflict>=1 && db->vtabOnConflict<=5 ); + return (int)aMap[db->vtabOnConflict-1]; +} + +/* +** Call from within the xCreate() or xConnect() methods to provide +** the SQLite core with additional information about the behavior +** of the virtual table being implemented. +*/ +SQLITE_API int sqlite3_vtab_config(sqlite3 *db, int op, ...){ + va_list ap; + int rc = SQLITE_OK; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(db->mutex); + va_start(ap, op); + switch( op ){ + case SQLITE_VTAB_CONSTRAINT_SUPPORT: { + VtabCtx *p = db->pVtabCtx; + if( !p ){ + rc = SQLITE_MISUSE_BKPT; + }else{ + assert( p->pTab==0 || IsVirtual(p->pTab) ); + p->pVTable->bConstraint = (u8)va_arg(ap, int); + } + break; + } + default: + rc = SQLITE_MISUSE_BKPT; + break; + } + va_end(ap); + + if( rc!=SQLITE_OK ) sqlite3Error(db, rc); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +/************** End of vtab.c ************************************************/ +/************** Begin file wherecode.c ***************************************/ +/* +** 2015-06-06 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This module contains C code that generates VDBE code used to process +** the WHERE clause of SQL statements. +** +** This file was split off from where.c on 2015-06-06 in order to reduce the +** size of where.c and make it easier to edit. This file contains the routines +** that actually generate the bulk of the WHERE loop code. The original where.c +** file retains the code that does query planning and analysis. +*/ +/* #include "sqliteInt.h" */ +/************** Include whereInt.h in the middle of wherecode.c **************/ +/************** Begin file whereInt.h ****************************************/ +/* +** 2013-11-12 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains structure and macro definitions for the query +** planner logic in "where.c". These definitions are broken out into +** a separate source file for easier editing. +*/ +#ifndef SQLITE_WHEREINT_H +#define SQLITE_WHEREINT_H + +/* +** Trace output macros +*/ +#if defined(SQLITE_TEST) || defined(SQLITE_DEBUG) +/***/ extern int sqlite3WhereTrace; +#endif +#if defined(SQLITE_DEBUG) \ + && (defined(SQLITE_TEST) || defined(SQLITE_ENABLE_WHERETRACE)) +# define WHERETRACE(K,X) if(sqlite3WhereTrace&(K)) sqlite3DebugPrintf X +# define WHERETRACE_ENABLED 1 +#else +# define WHERETRACE(K,X) +#endif + +/* Forward references +*/ +typedef struct WhereClause WhereClause; +typedef struct WhereMaskSet WhereMaskSet; +typedef struct WhereOrInfo WhereOrInfo; +typedef struct WhereAndInfo WhereAndInfo; +typedef struct WhereLevel WhereLevel; +typedef struct WhereLoop WhereLoop; +typedef struct WherePath WherePath; +typedef struct WhereTerm WhereTerm; +typedef struct WhereLoopBuilder WhereLoopBuilder; +typedef struct WhereScan WhereScan; +typedef struct WhereOrCost WhereOrCost; +typedef struct WhereOrSet WhereOrSet; + +/* +** This object contains information needed to implement a single nested +** loop in WHERE clause. +** +** Contrast this object with WhereLoop. This object describes the +** implementation of the loop. WhereLoop describes the algorithm. +** This object contains a pointer to the WhereLoop algorithm as one of +** its elements. +** +** The WhereInfo object contains a single instance of this object for +** each term in the FROM clause (which is to say, for each of the +** nested loops as implemented). The order of WhereLevel objects determines +** the loop nested order, with WhereInfo.a[0] being the outer loop and +** WhereInfo.a[WhereInfo.nLevel-1] being the inner loop. +*/ +struct WhereLevel { + int iLeftJoin; /* Memory cell used to implement LEFT OUTER JOIN */ + int iTabCur; /* The VDBE cursor used to access the table */ + int iIdxCur; /* The VDBE cursor used to access pIdx */ + int addrBrk; /* Jump here to break out of the loop */ + int addrNxt; /* Jump here to start the next IN combination */ + int addrSkip; /* Jump here for next iteration of skip-scan */ + int addrCont; /* Jump here to continue with the next loop cycle */ + int addrFirst; /* First instruction of interior of the loop */ + int addrBody; /* Beginning of the body of this loop */ + int regBignull; /* big-null flag reg. True if a NULL-scan is needed */ + int addrBignull; /* Jump here for next part of big-null scan */ +#ifndef SQLITE_LIKE_DOESNT_MATCH_BLOBS + u32 iLikeRepCntr; /* LIKE range processing counter register (times 2) */ + int addrLikeRep; /* LIKE range processing address */ +#endif + u8 iFrom; /* Which entry in the FROM clause */ + u8 op, p3, p5; /* Opcode, P3 & P5 of the opcode that ends the loop */ + int p1, p2; /* Operands of the opcode used to end the loop */ + union { /* Information that depends on pWLoop->wsFlags */ + struct { + int nIn; /* Number of entries in aInLoop[] */ + struct InLoop { + int iCur; /* The VDBE cursor used by this IN operator */ + int addrInTop; /* Top of the IN loop */ + int iBase; /* Base register of multi-key index record */ + int nPrefix; /* Number of prior entires in the key */ + u8 eEndLoopOp; /* IN Loop terminator. OP_Next or OP_Prev */ + } *aInLoop; /* Information about each nested IN operator */ + } in; /* Used when pWLoop->wsFlags&WHERE_IN_ABLE */ + Index *pCovidx; /* Possible covering index for WHERE_MULTI_OR */ + } u; + struct WhereLoop *pWLoop; /* The selected WhereLoop object */ + Bitmask notReady; /* FROM entries not usable at this level */ +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS + int addrVisit; /* Address at which row is visited */ +#endif +}; + +/* +** Each instance of this object represents an algorithm for evaluating one +** term of a join. Every term of the FROM clause will have at least +** one corresponding WhereLoop object (unless INDEXED BY constraints +** prevent a query solution - which is an error) and many terms of the +** FROM clause will have multiple WhereLoop objects, each describing a +** potential way of implementing that FROM-clause term, together with +** dependencies and cost estimates for using the chosen algorithm. +** +** Query planning consists of building up a collection of these WhereLoop +** objects, then computing a particular sequence of WhereLoop objects, with +** one WhereLoop object per FROM clause term, that satisfy all dependencies +** and that minimize the overall cost. +*/ +struct WhereLoop { + Bitmask prereq; /* Bitmask of other loops that must run first */ + Bitmask maskSelf; /* Bitmask identifying table iTab */ +#ifdef SQLITE_DEBUG + char cId; /* Symbolic ID of this loop for debugging use */ +#endif + u8 iTab; /* Position in FROM clause of table for this loop */ + u8 iSortIdx; /* Sorting index number. 0==None */ + LogEst rSetup; /* One-time setup cost (ex: create transient index) */ + LogEst rRun; /* Cost of running each loop */ + LogEst nOut; /* Estimated number of output rows */ + union { + struct { /* Information for internal btree tables */ + u16 nEq; /* Number of equality constraints */ + u16 nBtm; /* Size of BTM vector */ + u16 nTop; /* Size of TOP vector */ + u16 nDistinctCol; /* Index columns used to sort for DISTINCT */ + Index *pIndex; /* Index used, or NULL */ + } btree; + struct { /* Information for virtual tables */ + int idxNum; /* Index number */ + u8 needFree; /* True if sqlite3_free(idxStr) is needed */ + i8 isOrdered; /* True if satisfies ORDER BY */ + u16 omitMask; /* Terms that may be omitted */ + char *idxStr; /* Index identifier string */ + } vtab; + } u; + u32 wsFlags; /* WHERE_* flags describing the plan */ + u16 nLTerm; /* Number of entries in aLTerm[] */ + u16 nSkip; /* Number of NULL aLTerm[] entries */ + /**** whereLoopXfer() copies fields above ***********************/ +# define WHERE_LOOP_XFER_SZ offsetof(WhereLoop,nLSlot) + u16 nLSlot; /* Number of slots allocated for aLTerm[] */ + WhereTerm **aLTerm; /* WhereTerms used */ + WhereLoop *pNextLoop; /* Next WhereLoop object in the WhereClause */ + WhereTerm *aLTermSpace[3]; /* Initial aLTerm[] space */ +}; + +/* This object holds the prerequisites and the cost of running a +** subquery on one operand of an OR operator in the WHERE clause. +** See WhereOrSet for additional information +*/ +struct WhereOrCost { + Bitmask prereq; /* Prerequisites */ + LogEst rRun; /* Cost of running this subquery */ + LogEst nOut; /* Number of outputs for this subquery */ +}; + +/* The WhereOrSet object holds a set of possible WhereOrCosts that +** correspond to the subquery(s) of OR-clause processing. Only the +** best N_OR_COST elements are retained. +*/ +#define N_OR_COST 3 +struct WhereOrSet { + u16 n; /* Number of valid a[] entries */ + WhereOrCost a[N_OR_COST]; /* Set of best costs */ +}; + +/* +** Each instance of this object holds a sequence of WhereLoop objects +** that implement some or all of a query plan. +** +** Think of each WhereLoop object as a node in a graph with arcs +** showing dependencies and costs for travelling between nodes. (That is +** not a completely accurate description because WhereLoop costs are a +** vector, not a scalar, and because dependencies are many-to-one, not +** one-to-one as are graph nodes. But it is a useful visualization aid.) +** Then a WherePath object is a path through the graph that visits some +** or all of the WhereLoop objects once. +** +** The "solver" works by creating the N best WherePath objects of length +** 1. Then using those as a basis to compute the N best WherePath objects +** of length 2. And so forth until the length of WherePaths equals the +** number of nodes in the FROM clause. The best (lowest cost) WherePath +** at the end is the chosen query plan. +*/ +struct WherePath { + Bitmask maskLoop; /* Bitmask of all WhereLoop objects in this path */ + Bitmask revLoop; /* aLoop[]s that should be reversed for ORDER BY */ + LogEst nRow; /* Estimated number of rows generated by this path */ + LogEst rCost; /* Total cost of this path */ + LogEst rUnsorted; /* Total cost of this path ignoring sorting costs */ + i8 isOrdered; /* No. of ORDER BY terms satisfied. -1 for unknown */ + WhereLoop **aLoop; /* Array of WhereLoop objects implementing this path */ +}; + +/* +** The query generator uses an array of instances of this structure to +** help it analyze the subexpressions of the WHERE clause. Each WHERE +** clause subexpression is separated from the others by AND operators, +** usually, or sometimes subexpressions separated by OR. +** +** All WhereTerms are collected into a single WhereClause structure. +** The following identity holds: +** +** WhereTerm.pWC->a[WhereTerm.idx] == WhereTerm +** +** When a term is of the form: +** +** X +** +** where X is a column name and is one of certain operators, +** then WhereTerm.leftCursor and WhereTerm.u.leftColumn record the +** cursor number and column number for X. WhereTerm.eOperator records +** the using a bitmask encoding defined by WO_xxx below. The +** use of a bitmask encoding for the operator allows us to search +** quickly for terms that match any of several different operators. +** +** A WhereTerm might also be two or more subterms connected by OR: +** +** (t1.X ) OR (t1.Y ) OR .... +** +** In this second case, wtFlag has the TERM_ORINFO bit set and eOperator==WO_OR +** and the WhereTerm.u.pOrInfo field points to auxiliary information that +** is collected about the OR clause. +** +** If a term in the WHERE clause does not match either of the two previous +** categories, then eOperator==0. The WhereTerm.pExpr field is still set +** to the original subexpression content and wtFlags is set up appropriately +** but no other fields in the WhereTerm object are meaningful. +** +** When eOperator!=0, prereqRight and prereqAll record sets of cursor numbers, +** but they do so indirectly. A single WhereMaskSet structure translates +** cursor number into bits and the translated bit is stored in the prereq +** fields. The translation is used in order to maximize the number of +** bits that will fit in a Bitmask. The VDBE cursor numbers might be +** spread out over the non-negative integers. For example, the cursor +** numbers might be 3, 8, 9, 10, 20, 23, 41, and 45. The WhereMaskSet +** translates these sparse cursor numbers into consecutive integers +** beginning with 0 in order to make the best possible use of the available +** bits in the Bitmask. So, in the example above, the cursor numbers +** would be mapped into integers 0 through 7. +** +** The number of terms in a join is limited by the number of bits +** in prereqRight and prereqAll. The default is 64 bits, hence SQLite +** is only able to process joins with 64 or fewer tables. +*/ +struct WhereTerm { + Expr *pExpr; /* Pointer to the subexpression that is this term */ + WhereClause *pWC; /* The clause this term is part of */ + LogEst truthProb; /* Probability of truth for this expression */ + u16 wtFlags; /* TERM_xxx bit flags. See below */ + u16 eOperator; /* A WO_xx value describing */ + u8 nChild; /* Number of children that must disable us */ + u8 eMatchOp; /* Op for vtab MATCH/LIKE/GLOB/REGEXP terms */ + int iParent; /* Disable pWC->a[iParent] when this term disabled */ + int leftCursor; /* Cursor number of X in "X " */ + int iField; /* Field in (?,?,?) IN (SELECT...) vector */ + union { + int leftColumn; /* Column number of X in "X " */ + WhereOrInfo *pOrInfo; /* Extra information if (eOperator & WO_OR)!=0 */ + WhereAndInfo *pAndInfo; /* Extra information if (eOperator& WO_AND)!=0 */ + } u; + Bitmask prereqRight; /* Bitmask of tables used by pExpr->pRight */ + Bitmask prereqAll; /* Bitmask of tables referenced by pExpr */ +}; + +/* +** Allowed values of WhereTerm.wtFlags +*/ +#define TERM_DYNAMIC 0x01 /* Need to call sqlite3ExprDelete(db, pExpr) */ +#define TERM_VIRTUAL 0x02 /* Added by the optimizer. Do not code */ +#define TERM_CODED 0x04 /* This term is already coded */ +#define TERM_COPIED 0x08 /* Has a child */ +#define TERM_ORINFO 0x10 /* Need to free the WhereTerm.u.pOrInfo object */ +#define TERM_ANDINFO 0x20 /* Need to free the WhereTerm.u.pAndInfo obj */ +#define TERM_OR_OK 0x40 /* Used during OR-clause processing */ +#ifdef SQLITE_ENABLE_STAT4 +# define TERM_VNULL 0x80 /* Manufactured x>NULL or x<=NULL term */ +#else +# define TERM_VNULL 0x00 /* Disabled if not using stat4 */ +#endif +#define TERM_LIKEOPT 0x100 /* Virtual terms from the LIKE optimization */ +#define TERM_LIKECOND 0x200 /* Conditionally this LIKE operator term */ +#define TERM_LIKE 0x400 /* The original LIKE operator */ +#define TERM_IS 0x800 /* Term.pExpr is an IS operator */ +#define TERM_VARSELECT 0x1000 /* Term.pExpr contains a correlated sub-query */ +#define TERM_NOPARTIDX 0x2000 /* Not for use to enable a partial index */ + +/* +** An instance of the WhereScan object is used as an iterator for locating +** terms in the WHERE clause that are useful to the query planner. +*/ +struct WhereScan { + WhereClause *pOrigWC; /* Original, innermost WhereClause */ + WhereClause *pWC; /* WhereClause currently being scanned */ + const char *zCollName; /* Required collating sequence, if not NULL */ + Expr *pIdxExpr; /* Search for this index expression */ + char idxaff; /* Must match this affinity, if zCollName!=NULL */ + unsigned char nEquiv; /* Number of entries in aEquiv[] */ + unsigned char iEquiv; /* Next unused slot in aEquiv[] */ + u32 opMask; /* Acceptable operators */ + int k; /* Resume scanning at this->pWC->a[this->k] */ + int aiCur[11]; /* Cursors in the equivalence class */ + i16 aiColumn[11]; /* Corresponding column number in the eq-class */ +}; + +/* +** An instance of the following structure holds all information about a +** WHERE clause. Mostly this is a container for one or more WhereTerms. +** +** Explanation of pOuter: For a WHERE clause of the form +** +** a AND ((b AND c) OR (d AND e)) AND f +** +** There are separate WhereClause objects for the whole clause and for +** the subclauses "(b AND c)" and "(d AND e)". The pOuter field of the +** subclauses points to the WhereClause object for the whole clause. +*/ +struct WhereClause { + WhereInfo *pWInfo; /* WHERE clause processing context */ + WhereClause *pOuter; /* Outer conjunction */ + u8 op; /* Split operator. TK_AND or TK_OR */ + u8 hasOr; /* True if any a[].eOperator is WO_OR */ + int nTerm; /* Number of terms */ + int nSlot; /* Number of entries in a[] */ + WhereTerm *a; /* Each a[] describes a term of the WHERE cluase */ +#if defined(SQLITE_SMALL_STACK) + WhereTerm aStatic[1]; /* Initial static space for a[] */ +#else + WhereTerm aStatic[8]; /* Initial static space for a[] */ +#endif +}; + +/* +** A WhereTerm with eOperator==WO_OR has its u.pOrInfo pointer set to +** a dynamically allocated instance of the following structure. +*/ +struct WhereOrInfo { + WhereClause wc; /* Decomposition into subterms */ + Bitmask indexable; /* Bitmask of all indexable tables in the clause */ +}; + +/* +** A WhereTerm with eOperator==WO_AND has its u.pAndInfo pointer set to +** a dynamically allocated instance of the following structure. +*/ +struct WhereAndInfo { + WhereClause wc; /* The subexpression broken out */ +}; + +/* +** An instance of the following structure keeps track of a mapping +** between VDBE cursor numbers and bits of the bitmasks in WhereTerm. +** +** The VDBE cursor numbers are small integers contained in +** SrcList_item.iCursor and Expr.iTable fields. For any given WHERE +** clause, the cursor numbers might not begin with 0 and they might +** contain gaps in the numbering sequence. But we want to make maximum +** use of the bits in our bitmasks. This structure provides a mapping +** from the sparse cursor numbers into consecutive integers beginning +** with 0. +** +** If WhereMaskSet.ix[A]==B it means that The A-th bit of a Bitmask +** corresponds VDBE cursor number B. The A-th bit of a bitmask is 1<3, 5->1, 8->2, 29->0, +** 57->5, 73->4. Or one of 719 other combinations might be used. It +** does not really matter. What is important is that sparse cursor +** numbers all get mapped into bit numbers that begin with 0 and contain +** no gaps. +*/ +struct WhereMaskSet { + int bVarSelect; /* Used by sqlite3WhereExprUsage() */ + int n; /* Number of assigned cursor values */ + int ix[BMS]; /* Cursor assigned to each bit */ +}; + +/* +** Initialize a WhereMaskSet object +*/ +#define initMaskSet(P) (P)->n=0 + +/* +** This object is a convenience wrapper holding all information needed +** to construct WhereLoop objects for a particular query. +*/ +struct WhereLoopBuilder { + WhereInfo *pWInfo; /* Information about this WHERE */ + WhereClause *pWC; /* WHERE clause terms */ + ExprList *pOrderBy; /* ORDER BY clause */ + WhereLoop *pNew; /* Template WhereLoop */ + WhereOrSet *pOrSet; /* Record best loops here, if not NULL */ +#ifdef SQLITE_ENABLE_STAT4 + UnpackedRecord *pRec; /* Probe for stat4 (if required) */ + int nRecValid; /* Number of valid fields currently in pRec */ +#endif + unsigned int bldFlags; /* SQLITE_BLDF_* flags */ + unsigned int iPlanLimit; /* Search limiter */ +}; + +/* Allowed values for WhereLoopBuider.bldFlags */ +#define SQLITE_BLDF_INDEXED 0x0001 /* An index is used */ +#define SQLITE_BLDF_UNIQUE 0x0002 /* All keys of a UNIQUE index used */ + +/* The WhereLoopBuilder.iPlanLimit is used to limit the number of +** index+constraint combinations the query planner will consider for a +** particular query. If this parameter is unlimited, then certain +** pathological queries can spend excess time in the sqlite3WhereBegin() +** routine. The limit is high enough that is should not impact real-world +** queries. +** +** SQLITE_QUERY_PLANNER_LIMIT is the baseline limit. The limit is +** increased by SQLITE_QUERY_PLANNER_LIMIT_INCR before each term of the FROM +** clause is processed, so that every table in a join is guaranteed to be +** able to propose a some index+constraint combinations even if the initial +** baseline limit was exhausted by prior tables of the join. +*/ +#ifndef SQLITE_QUERY_PLANNER_LIMIT +# define SQLITE_QUERY_PLANNER_LIMIT 20000 +#endif +#ifndef SQLITE_QUERY_PLANNER_LIMIT_INCR +# define SQLITE_QUERY_PLANNER_LIMIT_INCR 1000 +#endif + +/* +** The WHERE clause processing routine has two halves. The +** first part does the start of the WHERE loop and the second +** half does the tail of the WHERE loop. An instance of +** this structure is returned by the first half and passed +** into the second half to give some continuity. +** +** An instance of this object holds the complete state of the query +** planner. +*/ +struct WhereInfo { + Parse *pParse; /* Parsing and code generating context */ + SrcList *pTabList; /* List of tables in the join */ + ExprList *pOrderBy; /* The ORDER BY clause or NULL */ + ExprList *pResultSet; /* Result set of the query */ + Expr *pWhere; /* The complete WHERE clause */ + LogEst iLimit; /* LIMIT if wctrlFlags has WHERE_USE_LIMIT */ + int aiCurOnePass[2]; /* OP_OpenWrite cursors for the ONEPASS opt */ + int iContinue; /* Jump here to continue with next record */ + int iBreak; /* Jump here to break out of the loop */ + int savedNQueryLoop; /* pParse->nQueryLoop outside the WHERE loop */ + u16 wctrlFlags; /* Flags originally passed to sqlite3WhereBegin() */ + u8 nLevel; /* Number of nested loop */ + i8 nOBSat; /* Number of ORDER BY terms satisfied by indices */ + u8 sorted; /* True if really sorted (not just grouped) */ + u8 eOnePass; /* ONEPASS_OFF, or _SINGLE, or _MULTI */ + u8 untestedTerms; /* Not all WHERE terms resolved by outer loop */ + u8 eDistinct; /* One of the WHERE_DISTINCT_* values */ + u8 bOrderedInnerLoop; /* True if only the inner-most loop is ordered */ + int iTop; /* The very beginning of the WHERE loop */ + WhereLoop *pLoops; /* List of all WhereLoop objects */ + Bitmask revMask; /* Mask of ORDER BY terms that need reversing */ + LogEst nRowOut; /* Estimated number of output rows */ + WhereClause sWC; /* Decomposition of the WHERE clause */ + WhereMaskSet sMaskSet; /* Map cursor numbers to bitmasks */ + WhereLevel a[1]; /* Information about each nest loop in WHERE */ +}; + +/* +** Private interfaces - callable only by other where.c routines. +** +** where.c: +*/ +SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet*,int); +#ifdef WHERETRACE_ENABLED +SQLITE_PRIVATE void sqlite3WhereClausePrint(WhereClause *pWC); +#endif +SQLITE_PRIVATE WhereTerm *sqlite3WhereFindTerm( + WhereClause *pWC, /* The WHERE clause to be searched */ + int iCur, /* Cursor number of LHS */ + int iColumn, /* Column number of LHS */ + Bitmask notReady, /* RHS must not overlap with this mask */ + u32 op, /* Mask of WO_xx values describing operator */ + Index *pIdx /* Must be compatible with this index, if not NULL */ +); + +/* wherecode.c: */ +#ifndef SQLITE_OMIT_EXPLAIN +SQLITE_PRIVATE int sqlite3WhereExplainOneScan( + Parse *pParse, /* Parse context */ + SrcList *pTabList, /* Table list this loop refers to */ + WhereLevel *pLevel, /* Scan to write OP_Explain opcode for */ + u16 wctrlFlags /* Flags passed to sqlite3WhereBegin() */ +); +#else +# define sqlite3WhereExplainOneScan(u,v,w,x) 0 +#endif /* SQLITE_OMIT_EXPLAIN */ +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS +SQLITE_PRIVATE void sqlite3WhereAddScanStatus( + Vdbe *v, /* Vdbe to add scanstatus entry to */ + SrcList *pSrclist, /* FROM clause pLvl reads data from */ + WhereLevel *pLvl, /* Level to add scanstatus() entry for */ + int addrExplain /* Address of OP_Explain (or 0) */ +); +#else +# define sqlite3WhereAddScanStatus(a, b, c, d) ((void)d) +#endif +SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart( + Parse *pParse, /* Parsing context */ + Vdbe *v, /* Prepared statement under construction */ + WhereInfo *pWInfo, /* Complete information about the WHERE clause */ + int iLevel, /* Which level of pWInfo->a[] should be coded */ + WhereLevel *pLevel, /* The current level pointer */ + Bitmask notReady /* Which tables are currently available */ +); + +/* whereexpr.c: */ +SQLITE_PRIVATE void sqlite3WhereClauseInit(WhereClause*,WhereInfo*); +SQLITE_PRIVATE void sqlite3WhereClauseClear(WhereClause*); +SQLITE_PRIVATE void sqlite3WhereSplit(WhereClause*,Expr*,u8); +SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet*, Expr*); +SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(WhereMaskSet*, Expr*); +SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet*, ExprList*); +SQLITE_PRIVATE void sqlite3WhereExprAnalyze(SrcList*, WhereClause*); +SQLITE_PRIVATE void sqlite3WhereTabFuncArgs(Parse*, struct SrcList_item*, WhereClause*); + + + + + +/* +** Bitmasks for the operators on WhereTerm objects. These are all +** operators that are of interest to the query planner. An +** OR-ed combination of these values can be used when searching for +** particular WhereTerms within a WhereClause. +** +** Value constraints: +** WO_EQ == SQLITE_INDEX_CONSTRAINT_EQ +** WO_LT == SQLITE_INDEX_CONSTRAINT_LT +** WO_LE == SQLITE_INDEX_CONSTRAINT_LE +** WO_GT == SQLITE_INDEX_CONSTRAINT_GT +** WO_GE == SQLITE_INDEX_CONSTRAINT_GE +*/ +#define WO_IN 0x0001 +#define WO_EQ 0x0002 +#define WO_LT (WO_EQ<<(TK_LT-TK_EQ)) +#define WO_LE (WO_EQ<<(TK_LE-TK_EQ)) +#define WO_GT (WO_EQ<<(TK_GT-TK_EQ)) +#define WO_GE (WO_EQ<<(TK_GE-TK_EQ)) +#define WO_AUX 0x0040 /* Op useful to virtual tables only */ +#define WO_IS 0x0080 +#define WO_ISNULL 0x0100 +#define WO_OR 0x0200 /* Two or more OR-connected terms */ +#define WO_AND 0x0400 /* Two or more AND-connected terms */ +#define WO_EQUIV 0x0800 /* Of the form A==B, both columns */ +#define WO_NOOP 0x1000 /* This term does not restrict search space */ + +#define WO_ALL 0x1fff /* Mask of all possible WO_* values */ +#define WO_SINGLE 0x01ff /* Mask of all non-compound WO_* values */ + +/* +** These are definitions of bits in the WhereLoop.wsFlags field. +** The particular combination of bits in each WhereLoop help to +** determine the algorithm that WhereLoop represents. +*/ +#define WHERE_COLUMN_EQ 0x00000001 /* x=EXPR */ +#define WHERE_COLUMN_RANGE 0x00000002 /* xEXPR */ +#define WHERE_COLUMN_IN 0x00000004 /* x IN (...) */ +#define WHERE_COLUMN_NULL 0x00000008 /* x IS NULL */ +#define WHERE_CONSTRAINT 0x0000000f /* Any of the WHERE_COLUMN_xxx values */ +#define WHERE_TOP_LIMIT 0x00000010 /* xEXPR or x>=EXPR constraint */ +#define WHERE_BOTH_LIMIT 0x00000030 /* Both x>EXPR and xaiColumn[i]; + if( i==XN_EXPR ) return ""; + if( i==XN_ROWID ) return "rowid"; + return pIdx->pTable->aCol[i].zName; +} + +/* +** This routine is a helper for explainIndexRange() below +** +** pStr holds the text of an expression that we are building up one term +** at a time. This routine adds a new term to the end of the expression. +** Terms are separated by AND so add the "AND" text for second and subsequent +** terms only. +*/ +static void explainAppendTerm( + StrAccum *pStr, /* The text expression being built */ + Index *pIdx, /* Index to read column names from */ + int nTerm, /* Number of terms */ + int iTerm, /* Zero-based index of first term. */ + int bAnd, /* Non-zero to append " AND " */ + const char *zOp /* Name of the operator */ +){ + int i; + + assert( nTerm>=1 ); + if( bAnd ) sqlite3_str_append(pStr, " AND ", 5); + + if( nTerm>1 ) sqlite3_str_append(pStr, "(", 1); + for(i=0; i1 ) sqlite3_str_append(pStr, ")", 1); + + sqlite3_str_append(pStr, zOp, 1); + + if( nTerm>1 ) sqlite3_str_append(pStr, "(", 1); + for(i=0; i1 ) sqlite3_str_append(pStr, ")", 1); +} + +/* +** Argument pLevel describes a strategy for scanning table pTab. This +** function appends text to pStr that describes the subset of table +** rows scanned by the strategy in the form of an SQL expression. +** +** For example, if the query: +** +** SELECT * FROM t1 WHERE a=1 AND b>2; +** +** is run and there is an index on (a, b), then this function returns a +** string similar to: +** +** "a=? AND b>?" +*/ +static void explainIndexRange(StrAccum *pStr, WhereLoop *pLoop){ + Index *pIndex = pLoop->u.btree.pIndex; + u16 nEq = pLoop->u.btree.nEq; + u16 nSkip = pLoop->nSkip; + int i, j; + + if( nEq==0 && (pLoop->wsFlags&(WHERE_BTM_LIMIT|WHERE_TOP_LIMIT))==0 ) return; + sqlite3_str_append(pStr, " (", 2); + for(i=0; i=nSkip ? "%s=?" : "ANY(%s)", z); + } + + j = i; + if( pLoop->wsFlags&WHERE_BTM_LIMIT ){ + explainAppendTerm(pStr, pIndex, pLoop->u.btree.nBtm, j, i, ">"); + i = 1; + } + if( pLoop->wsFlags&WHERE_TOP_LIMIT ){ + explainAppendTerm(pStr, pIndex, pLoop->u.btree.nTop, j, i, "<"); + } + sqlite3_str_append(pStr, ")", 1); +} + +/* +** This function is a no-op unless currently processing an EXPLAIN QUERY PLAN +** command, or if either SQLITE_DEBUG or SQLITE_ENABLE_STMT_SCANSTATUS was +** defined at compile-time. If it is not a no-op, a single OP_Explain opcode +** is added to the output to describe the table scan strategy in pLevel. +** +** If an OP_Explain opcode is added to the VM, its address is returned. +** Otherwise, if no OP_Explain is coded, zero is returned. +*/ +SQLITE_PRIVATE int sqlite3WhereExplainOneScan( + Parse *pParse, /* Parse context */ + SrcList *pTabList, /* Table list this loop refers to */ + WhereLevel *pLevel, /* Scan to write OP_Explain opcode for */ + u16 wctrlFlags /* Flags passed to sqlite3WhereBegin() */ +){ + int ret = 0; +#if !defined(SQLITE_DEBUG) && !defined(SQLITE_ENABLE_STMT_SCANSTATUS) + if( sqlite3ParseToplevel(pParse)->explain==2 ) +#endif + { + struct SrcList_item *pItem = &pTabList->a[pLevel->iFrom]; + Vdbe *v = pParse->pVdbe; /* VM being constructed */ + sqlite3 *db = pParse->db; /* Database handle */ + int isSearch; /* True for a SEARCH. False for SCAN. */ + WhereLoop *pLoop; /* The controlling WhereLoop object */ + u32 flags; /* Flags that describe this loop */ + char *zMsg; /* Text to add to EQP output */ + StrAccum str; /* EQP output string */ + char zBuf[100]; /* Initial space for EQP output string */ + + pLoop = pLevel->pWLoop; + flags = pLoop->wsFlags; + if( (flags&WHERE_MULTI_OR) || (wctrlFlags&WHERE_OR_SUBCLAUSE) ) return 0; + + isSearch = (flags&(WHERE_BTM_LIMIT|WHERE_TOP_LIMIT))!=0 + || ((flags&WHERE_VIRTUALTABLE)==0 && (pLoop->u.btree.nEq>0)) + || (wctrlFlags&(WHERE_ORDERBY_MIN|WHERE_ORDERBY_MAX)); + + sqlite3StrAccumInit(&str, db, zBuf, sizeof(zBuf), SQLITE_MAX_LENGTH); + sqlite3_str_appendall(&str, isSearch ? "SEARCH" : "SCAN"); + if( pItem->pSelect ){ + sqlite3_str_appendf(&str, " SUBQUERY %u", pItem->pSelect->selId); + }else{ + sqlite3_str_appendf(&str, " TABLE %s", pItem->zName); + } + + if( pItem->zAlias ){ + sqlite3_str_appendf(&str, " AS %s", pItem->zAlias); + } + if( (flags & (WHERE_IPK|WHERE_VIRTUALTABLE))==0 ){ + const char *zFmt = 0; + Index *pIdx; + + assert( pLoop->u.btree.pIndex!=0 ); + pIdx = pLoop->u.btree.pIndex; + assert( !(flags&WHERE_AUTO_INDEX) || (flags&WHERE_IDX_ONLY) ); + if( !HasRowid(pItem->pTab) && IsPrimaryKeyIndex(pIdx) ){ + if( isSearch ){ + zFmt = "PRIMARY KEY"; + } + }else if( flags & WHERE_PARTIALIDX ){ + zFmt = "AUTOMATIC PARTIAL COVERING INDEX"; + }else if( flags & WHERE_AUTO_INDEX ){ + zFmt = "AUTOMATIC COVERING INDEX"; + }else if( flags & WHERE_IDX_ONLY ){ + zFmt = "COVERING INDEX %s"; + }else{ + zFmt = "INDEX %s"; + } + if( zFmt ){ + sqlite3_str_append(&str, " USING ", 7); + sqlite3_str_appendf(&str, zFmt, pIdx->zName); + explainIndexRange(&str, pLoop); + } + }else if( (flags & WHERE_IPK)!=0 && (flags & WHERE_CONSTRAINT)!=0 ){ + const char *zRangeOp; + if( flags&(WHERE_COLUMN_EQ|WHERE_COLUMN_IN) ){ + zRangeOp = "="; + }else if( (flags&WHERE_BOTH_LIMIT)==WHERE_BOTH_LIMIT ){ + zRangeOp = ">? AND rowid<"; + }else if( flags&WHERE_BTM_LIMIT ){ + zRangeOp = ">"; + }else{ + assert( flags&WHERE_TOP_LIMIT); + zRangeOp = "<"; + } + sqlite3_str_appendf(&str, + " USING INTEGER PRIMARY KEY (rowid%s?)",zRangeOp); + } +#ifndef SQLITE_OMIT_VIRTUALTABLE + else if( (flags & WHERE_VIRTUALTABLE)!=0 ){ + sqlite3_str_appendf(&str, " VIRTUAL TABLE INDEX %d:%s", + pLoop->u.vtab.idxNum, pLoop->u.vtab.idxStr); + } +#endif +#ifdef SQLITE_EXPLAIN_ESTIMATED_ROWS + if( pLoop->nOut>=10 ){ + sqlite3_str_appendf(&str, " (~%llu rows)", + sqlite3LogEstToInt(pLoop->nOut)); + }else{ + sqlite3_str_append(&str, " (~1 row)", 9); + } +#endif + zMsg = sqlite3StrAccumFinish(&str); + sqlite3ExplainBreakpoint("",zMsg); + ret = sqlite3VdbeAddOp4(v, OP_Explain, sqlite3VdbeCurrentAddr(v), + pParse->addrExplain, 0, zMsg,P4_DYNAMIC); + } + return ret; +} +#endif /* SQLITE_OMIT_EXPLAIN */ + +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS +/* +** Configure the VM passed as the first argument with an +** sqlite3_stmt_scanstatus() entry corresponding to the scan used to +** implement level pLvl. Argument pSrclist is a pointer to the FROM +** clause that the scan reads data from. +** +** If argument addrExplain is not 0, it must be the address of an +** OP_Explain instruction that describes the same loop. +*/ +SQLITE_PRIVATE void sqlite3WhereAddScanStatus( + Vdbe *v, /* Vdbe to add scanstatus entry to */ + SrcList *pSrclist, /* FROM clause pLvl reads data from */ + WhereLevel *pLvl, /* Level to add scanstatus() entry for */ + int addrExplain /* Address of OP_Explain (or 0) */ +){ + const char *zObj = 0; + WhereLoop *pLoop = pLvl->pWLoop; + if( (pLoop->wsFlags & WHERE_VIRTUALTABLE)==0 && pLoop->u.btree.pIndex!=0 ){ + zObj = pLoop->u.btree.pIndex->zName; + }else{ + zObj = pSrclist->a[pLvl->iFrom].zName; + } + sqlite3VdbeScanStatus( + v, addrExplain, pLvl->addrBody, pLvl->addrVisit, pLoop->nOut, zObj + ); +} +#endif + + +/* +** Disable a term in the WHERE clause. Except, do not disable the term +** if it controls a LEFT OUTER JOIN and it did not originate in the ON +** or USING clause of that join. +** +** Consider the term t2.z='ok' in the following queries: +** +** (1) SELECT * FROM t1 LEFT JOIN t2 ON t1.a=t2.x WHERE t2.z='ok' +** (2) SELECT * FROM t1 LEFT JOIN t2 ON t1.a=t2.x AND t2.z='ok' +** (3) SELECT * FROM t1, t2 WHERE t1.a=t2.x AND t2.z='ok' +** +** The t2.z='ok' is disabled in the in (2) because it originates +** in the ON clause. The term is disabled in (3) because it is not part +** of a LEFT OUTER JOIN. In (1), the term is not disabled. +** +** Disabling a term causes that term to not be tested in the inner loop +** of the join. Disabling is an optimization. When terms are satisfied +** by indices, we disable them to prevent redundant tests in the inner +** loop. We would get the correct results if nothing were ever disabled, +** but joins might run a little slower. The trick is to disable as much +** as we can without disabling too much. If we disabled in (1), we'd get +** the wrong answer. See ticket #813. +** +** If all the children of a term are disabled, then that term is also +** automatically disabled. In this way, terms get disabled if derived +** virtual terms are tested first. For example: +** +** x GLOB 'abc*' AND x>='abc' AND x<'acd' +** \___________/ \______/ \_____/ +** parent child1 child2 +** +** Only the parent term was in the original WHERE clause. The child1 +** and child2 terms were added by the LIKE optimization. If both of +** the virtual child terms are valid, then testing of the parent can be +** skipped. +** +** Usually the parent term is marked as TERM_CODED. But if the parent +** term was originally TERM_LIKE, then the parent gets TERM_LIKECOND instead. +** The TERM_LIKECOND marking indicates that the term should be coded inside +** a conditional such that is only evaluated on the second pass of a +** LIKE-optimization loop, when scanning BLOBs instead of strings. +*/ +static void disableTerm(WhereLevel *pLevel, WhereTerm *pTerm){ + int nLoop = 0; + assert( pTerm!=0 ); + while( (pTerm->wtFlags & TERM_CODED)==0 + && (pLevel->iLeftJoin==0 || ExprHasProperty(pTerm->pExpr, EP_FromJoin)) + && (pLevel->notReady & pTerm->prereqAll)==0 + ){ + if( nLoop && (pTerm->wtFlags & TERM_LIKE)!=0 ){ + pTerm->wtFlags |= TERM_LIKECOND; + }else{ + pTerm->wtFlags |= TERM_CODED; + } + if( pTerm->iParent<0 ) break; + pTerm = &pTerm->pWC->a[pTerm->iParent]; + assert( pTerm!=0 ); + pTerm->nChild--; + if( pTerm->nChild!=0 ) break; + nLoop++; + } +} + +/* +** Code an OP_Affinity opcode to apply the column affinity string zAff +** to the n registers starting at base. +** +** As an optimization, SQLITE_AFF_BLOB and SQLITE_AFF_NONE entries (which +** are no-ops) at the beginning and end of zAff are ignored. If all entries +** in zAff are SQLITE_AFF_BLOB or SQLITE_AFF_NONE, then no code gets generated. +** +** This routine makes its own copy of zAff so that the caller is free +** to modify zAff after this routine returns. +*/ +static void codeApplyAffinity(Parse *pParse, int base, int n, char *zAff){ + Vdbe *v = pParse->pVdbe; + if( zAff==0 ){ + assert( pParse->db->mallocFailed ); + return; + } + assert( v!=0 ); + + /* Adjust base and n to skip over SQLITE_AFF_BLOB and SQLITE_AFF_NONE + ** entries at the beginning and end of the affinity string. + */ + assert( SQLITE_AFF_NONE0 && zAff[0]<=SQLITE_AFF_BLOB ){ + n--; + base++; + zAff++; + } + while( n>1 && zAff[n-1]<=SQLITE_AFF_BLOB ){ + n--; + } + + /* Code the OP_Affinity opcode if there is anything left to do. */ + if( n>0 ){ + sqlite3VdbeAddOp4(v, OP_Affinity, base, n, 0, zAff, n); + } +} + +/* +** Expression pRight, which is the RHS of a comparison operation, is +** either a vector of n elements or, if n==1, a scalar expression. +** Before the comparison operation, affinity zAff is to be applied +** to the pRight values. This function modifies characters within the +** affinity string to SQLITE_AFF_BLOB if either: +** +** * the comparison will be performed with no affinity, or +** * the affinity change in zAff is guaranteed not to change the value. +*/ +static void updateRangeAffinityStr( + Expr *pRight, /* RHS of comparison */ + int n, /* Number of vector elements in comparison */ + char *zAff /* Affinity string to modify */ +){ + int i; + for(i=0; idb; + Expr *pNew = sqlite3ExprDup(db, pX, 0); + if( db->mallocFailed==0 ){ + ExprList *pOrigRhs = pNew->x.pSelect->pEList; /* Original unmodified RHS */ + ExprList *pOrigLhs = pNew->pLeft->x.pList; /* Original unmodified LHS */ + ExprList *pRhs = 0; /* New RHS after modifications */ + ExprList *pLhs = 0; /* New LHS after mods */ + int i; /* Loop counter */ + Select *pSelect; /* Pointer to the SELECT on the RHS */ + + for(i=iEq; inLTerm; i++){ + if( pLoop->aLTerm[i]->pExpr==pX ){ + int iField = pLoop->aLTerm[i]->iField - 1; + if( pOrigRhs->a[iField].pExpr==0 ) continue; /* Duplicate PK column */ + pRhs = sqlite3ExprListAppend(pParse, pRhs, pOrigRhs->a[iField].pExpr); + pOrigRhs->a[iField].pExpr = 0; + assert( pOrigLhs->a[iField].pExpr!=0 ); + pLhs = sqlite3ExprListAppend(pParse, pLhs, pOrigLhs->a[iField].pExpr); + pOrigLhs->a[iField].pExpr = 0; + } + } + sqlite3ExprListDelete(db, pOrigRhs); + sqlite3ExprListDelete(db, pOrigLhs); + pNew->pLeft->x.pList = pLhs; + pNew->x.pSelect->pEList = pRhs; + if( pLhs && pLhs->nExpr==1 ){ + /* Take care here not to generate a TK_VECTOR containing only a + ** single value. Since the parser never creates such a vector, some + ** of the subroutines do not handle this case. */ + Expr *p = pLhs->a[0].pExpr; + pLhs->a[0].pExpr = 0; + sqlite3ExprDelete(db, pNew->pLeft); + pNew->pLeft = p; + } + pSelect = pNew->x.pSelect; + if( pSelect->pOrderBy ){ + /* If the SELECT statement has an ORDER BY clause, zero the + ** iOrderByCol variables. These are set to non-zero when an + ** ORDER BY term exactly matches one of the terms of the + ** result-set. Since the result-set of the SELECT statement may + ** have been modified or reordered, these variables are no longer + ** set correctly. Since setting them is just an optimization, + ** it's easiest just to zero them here. */ + ExprList *pOrderBy = pSelect->pOrderBy; + for(i=0; inExpr; i++){ + pOrderBy->a[i].u.x.iOrderByCol = 0; + } + } + +#if 0 + printf("For indexing, change the IN expr:\n"); + sqlite3TreeViewExpr(0, pX, 0); + printf("Into:\n"); + sqlite3TreeViewExpr(0, pNew, 0); +#endif + } + return pNew; +} + + +/* +** Generate code for a single equality term of the WHERE clause. An equality +** term can be either X=expr or X IN (...). pTerm is the term to be +** coded. +** +** The current value for the constraint is left in a register, the index +** of which is returned. An attempt is made store the result in iTarget but +** this is only guaranteed for TK_ISNULL and TK_IN constraints. If the +** constraint is a TK_EQ or TK_IS, then the current value might be left in +** some other register and it is the caller's responsibility to compensate. +** +** For a constraint of the form X=expr, the expression is evaluated in +** straight-line code. For constraints of the form X IN (...) +** this routine sets up a loop that will iterate over all values of X. +*/ +static int codeEqualityTerm( + Parse *pParse, /* The parsing context */ + WhereTerm *pTerm, /* The term of the WHERE clause to be coded */ + WhereLevel *pLevel, /* The level of the FROM clause we are working on */ + int iEq, /* Index of the equality term within this level */ + int bRev, /* True for reverse-order IN operations */ + int iTarget /* Attempt to leave results in this register */ +){ + Expr *pX = pTerm->pExpr; + Vdbe *v = pParse->pVdbe; + int iReg; /* Register holding results */ + + assert( pLevel->pWLoop->aLTerm[iEq]==pTerm ); + assert( iTarget>0 ); + if( pX->op==TK_EQ || pX->op==TK_IS ){ + iReg = sqlite3ExprCodeTarget(pParse, pX->pRight, iTarget); + }else if( pX->op==TK_ISNULL ){ + iReg = iTarget; + sqlite3VdbeAddOp2(v, OP_Null, 0, iReg); +#ifndef SQLITE_OMIT_SUBQUERY + }else{ + int eType = IN_INDEX_NOOP; + int iTab; + struct InLoop *pIn; + WhereLoop *pLoop = pLevel->pWLoop; + int i; + int nEq = 0; + int *aiMap = 0; + + if( (pLoop->wsFlags & WHERE_VIRTUALTABLE)==0 + && pLoop->u.btree.pIndex!=0 + && pLoop->u.btree.pIndex->aSortOrder[iEq] + ){ + testcase( iEq==0 ); + testcase( bRev ); + bRev = !bRev; + } + assert( pX->op==TK_IN ); + iReg = iTarget; + + for(i=0; iaLTerm[i] && pLoop->aLTerm[i]->pExpr==pX ){ + disableTerm(pLevel, pTerm); + return iTarget; + } + } + for(i=iEq;inLTerm; i++){ + assert( pLoop->aLTerm[i]!=0 ); + if( pLoop->aLTerm[i]->pExpr==pX ) nEq++; + } + + iTab = 0; + if( (pX->flags & EP_xIsSelect)==0 || pX->x.pSelect->pEList->nExpr==1 ){ + eType = sqlite3FindInIndex(pParse, pX, IN_INDEX_LOOP, 0, 0, &iTab); + }else{ + sqlite3 *db = pParse->db; + pX = removeUnindexableInClauseTerms(pParse, iEq, pLoop, pX); + + if( !db->mallocFailed ){ + aiMap = (int*)sqlite3DbMallocZero(pParse->db, sizeof(int)*nEq); + eType = sqlite3FindInIndex(pParse, pX, IN_INDEX_LOOP, 0, aiMap, &iTab); + pTerm->pExpr->iTable = iTab; + } + sqlite3ExprDelete(db, pX); + pX = pTerm->pExpr; + } + + if( eType==IN_INDEX_INDEX_DESC ){ + testcase( bRev ); + bRev = !bRev; + } + sqlite3VdbeAddOp2(v, bRev ? OP_Last : OP_Rewind, iTab, 0); + VdbeCoverageIf(v, bRev); + VdbeCoverageIf(v, !bRev); + assert( (pLoop->wsFlags & WHERE_MULTI_OR)==0 ); + + pLoop->wsFlags |= WHERE_IN_ABLE; + if( pLevel->u.in.nIn==0 ){ + pLevel->addrNxt = sqlite3VdbeMakeLabel(pParse); + } + + i = pLevel->u.in.nIn; + pLevel->u.in.nIn += nEq; + pLevel->u.in.aInLoop = + sqlite3DbReallocOrFree(pParse->db, pLevel->u.in.aInLoop, + sizeof(pLevel->u.in.aInLoop[0])*pLevel->u.in.nIn); + pIn = pLevel->u.in.aInLoop; + if( pIn ){ + int iMap = 0; /* Index in aiMap[] */ + pIn += i; + for(i=iEq;inLTerm; i++){ + if( pLoop->aLTerm[i]->pExpr==pX ){ + int iOut = iReg + i - iEq; + if( eType==IN_INDEX_ROWID ){ + pIn->addrInTop = sqlite3VdbeAddOp2(v, OP_Rowid, iTab, iOut); + }else{ + int iCol = aiMap ? aiMap[iMap++] : 0; + pIn->addrInTop = sqlite3VdbeAddOp3(v,OP_Column,iTab, iCol, iOut); + } + sqlite3VdbeAddOp1(v, OP_IsNull, iOut); VdbeCoverage(v); + if( i==iEq ){ + pIn->iCur = iTab; + pIn->eEndLoopOp = bRev ? OP_Prev : OP_Next; + if( iEq>0 && (pLoop->wsFlags & WHERE_VIRTUALTABLE)==0 ){ + pIn->iBase = iReg - i; + pIn->nPrefix = i; + pLoop->wsFlags |= WHERE_IN_EARLYOUT; + }else{ + pIn->nPrefix = 0; + } + }else{ + pIn->eEndLoopOp = OP_Noop; + } + pIn++; + } + } + }else{ + pLevel->u.in.nIn = 0; + } + sqlite3DbFree(pParse->db, aiMap); +#endif + } + disableTerm(pLevel, pTerm); + return iReg; +} + +/* +** Generate code that will evaluate all == and IN constraints for an +** index scan. +** +** For example, consider table t1(a,b,c,d,e,f) with index i1(a,b,c). +** Suppose the WHERE clause is this: a==5 AND b IN (1,2,3) AND c>5 AND c<10 +** The index has as many as three equality constraints, but in this +** example, the third "c" value is an inequality. So only two +** constraints are coded. This routine will generate code to evaluate +** a==5 and b IN (1,2,3). The current values for a and b will be stored +** in consecutive registers and the index of the first register is returned. +** +** In the example above nEq==2. But this subroutine works for any value +** of nEq including 0. If nEq==0, this routine is nearly a no-op. +** The only thing it does is allocate the pLevel->iMem memory cell and +** compute the affinity string. +** +** The nExtraReg parameter is 0 or 1. It is 0 if all WHERE clause constraints +** are == or IN and are covered by the nEq. nExtraReg is 1 if there is +** an inequality constraint (such as the "c>=5 AND c<10" in the example) that +** occurs after the nEq quality constraints. +** +** This routine allocates a range of nEq+nExtraReg memory cells and returns +** the index of the first memory cell in that range. The code that +** calls this routine will use that memory range to store keys for +** start and termination conditions of the loop. +** key value of the loop. If one or more IN operators appear, then +** this routine allocates an additional nEq memory cells for internal +** use. +** +** Before returning, *pzAff is set to point to a buffer containing a +** copy of the column affinity string of the index allocated using +** sqlite3DbMalloc(). Except, entries in the copy of the string associated +** with equality constraints that use BLOB or NONE affinity are set to +** SQLITE_AFF_BLOB. This is to deal with SQL such as the following: +** +** CREATE TABLE t1(a TEXT PRIMARY KEY, b); +** SELECT ... FROM t1 AS t2, t1 WHERE t1.a = t2.b; +** +** In the example above, the index on t1(a) has TEXT affinity. But since +** the right hand side of the equality constraint (t2.b) has BLOB/NONE affinity, +** no conversion should be attempted before using a t2.b value as part of +** a key to search the index. Hence the first byte in the returned affinity +** string in this example would be set to SQLITE_AFF_BLOB. +*/ +static int codeAllEqualityTerms( + Parse *pParse, /* Parsing context */ + WhereLevel *pLevel, /* Which nested loop of the FROM we are coding */ + int bRev, /* Reverse the order of IN operators */ + int nExtraReg, /* Number of extra registers to allocate */ + char **pzAff /* OUT: Set to point to affinity string */ +){ + u16 nEq; /* The number of == or IN constraints to code */ + u16 nSkip; /* Number of left-most columns to skip */ + Vdbe *v = pParse->pVdbe; /* The vm under construction */ + Index *pIdx; /* The index being used for this loop */ + WhereTerm *pTerm; /* A single constraint term */ + WhereLoop *pLoop; /* The WhereLoop object */ + int j; /* Loop counter */ + int regBase; /* Base register */ + int nReg; /* Number of registers to allocate */ + char *zAff; /* Affinity string to return */ + + /* This module is only called on query plans that use an index. */ + pLoop = pLevel->pWLoop; + assert( (pLoop->wsFlags & WHERE_VIRTUALTABLE)==0 ); + nEq = pLoop->u.btree.nEq; + nSkip = pLoop->nSkip; + pIdx = pLoop->u.btree.pIndex; + assert( pIdx!=0 ); + + /* Figure out how many memory cells we will need then allocate them. + */ + regBase = pParse->nMem + 1; + nReg = pLoop->u.btree.nEq + nExtraReg; + pParse->nMem += nReg; + + zAff = sqlite3DbStrDup(pParse->db,sqlite3IndexAffinityStr(pParse->db,pIdx)); + assert( zAff!=0 || pParse->db->mallocFailed ); + + if( nSkip ){ + int iIdxCur = pLevel->iIdxCur; + sqlite3VdbeAddOp1(v, (bRev?OP_Last:OP_Rewind), iIdxCur); + VdbeCoverageIf(v, bRev==0); + VdbeCoverageIf(v, bRev!=0); + VdbeComment((v, "begin skip-scan on %s", pIdx->zName)); + j = sqlite3VdbeAddOp0(v, OP_Goto); + pLevel->addrSkip = sqlite3VdbeAddOp4Int(v, (bRev?OP_SeekLT:OP_SeekGT), + iIdxCur, 0, regBase, nSkip); + VdbeCoverageIf(v, bRev==0); + VdbeCoverageIf(v, bRev!=0); + sqlite3VdbeJumpHere(v, j); + for(j=0; jaiColumn[j]==XN_EXPR ); + VdbeComment((v, "%s", explainIndexColumnName(pIdx, j))); + } + } + + /* Evaluate the equality constraints + */ + assert( zAff==0 || (int)strlen(zAff)>=nEq ); + for(j=nSkip; jaLTerm[j]; + assert( pTerm!=0 ); + /* The following testcase is true for indices with redundant columns. + ** Ex: CREATE INDEX i1 ON t1(a,b,a); SELECT * FROM t1 WHERE a=0 AND b=0; */ + testcase( (pTerm->wtFlags & TERM_CODED)!=0 ); + testcase( pTerm->wtFlags & TERM_VIRTUAL ); + r1 = codeEqualityTerm(pParse, pTerm, pLevel, j, bRev, regBase+j); + if( r1!=regBase+j ){ + if( nReg==1 ){ + sqlite3ReleaseTempReg(pParse, regBase); + regBase = r1; + }else{ + sqlite3VdbeAddOp2(v, OP_SCopy, r1, regBase+j); + } + } + if( pTerm->eOperator & WO_IN ){ + if( pTerm->pExpr->flags & EP_xIsSelect ){ + /* No affinity ever needs to be (or should be) applied to a value + ** from the RHS of an "? IN (SELECT ...)" expression. The + ** sqlite3FindInIndex() routine has already ensured that the + ** affinity of the comparison has been applied to the value. */ + if( zAff ) zAff[j] = SQLITE_AFF_BLOB; + } + }else if( (pTerm->eOperator & WO_ISNULL)==0 ){ + Expr *pRight = pTerm->pExpr->pRight; + if( (pTerm->wtFlags & TERM_IS)==0 && sqlite3ExprCanBeNull(pRight) ){ + sqlite3VdbeAddOp2(v, OP_IsNull, regBase+j, pLevel->addrBrk); + VdbeCoverage(v); + } + if( zAff ){ + if( sqlite3CompareAffinity(pRight, zAff[j])==SQLITE_AFF_BLOB ){ + zAff[j] = SQLITE_AFF_BLOB; + } + if( sqlite3ExprNeedsNoAffinityChange(pRight, zAff[j]) ){ + zAff[j] = SQLITE_AFF_BLOB; + } + } + } + } + *pzAff = zAff; + return regBase; +} + +#ifndef SQLITE_LIKE_DOESNT_MATCH_BLOBS +/* +** If the most recently coded instruction is a constant range constraint +** (a string literal) that originated from the LIKE optimization, then +** set P3 and P5 on the OP_String opcode so that the string will be cast +** to a BLOB at appropriate times. +** +** The LIKE optimization trys to evaluate "x LIKE 'abc%'" as a range +** expression: "x>='ABC' AND x<'abd'". But this requires that the range +** scan loop run twice, once for strings and a second time for BLOBs. +** The OP_String opcodes on the second pass convert the upper and lower +** bound string constants to blobs. This routine makes the necessary changes +** to the OP_String opcodes for that to happen. +** +** Except, of course, if SQLITE_LIKE_DOESNT_MATCH_BLOBS is defined, then +** only the one pass through the string space is required, so this routine +** becomes a no-op. +*/ +static void whereLikeOptimizationStringFixup( + Vdbe *v, /* prepared statement under construction */ + WhereLevel *pLevel, /* The loop that contains the LIKE operator */ + WhereTerm *pTerm /* The upper or lower bound just coded */ +){ + if( pTerm->wtFlags & TERM_LIKEOPT ){ + VdbeOp *pOp; + assert( pLevel->iLikeRepCntr>0 ); + pOp = sqlite3VdbeGetOp(v, -1); + assert( pOp!=0 ); + assert( pOp->opcode==OP_String8 + || pTerm->pWC->pWInfo->pParse->db->mallocFailed ); + pOp->p3 = (int)(pLevel->iLikeRepCntr>>1); /* Register holding counter */ + pOp->p5 = (u8)(pLevel->iLikeRepCntr&1); /* ASC or DESC */ + } +} +#else +# define whereLikeOptimizationStringFixup(A,B,C) +#endif + +#ifdef SQLITE_ENABLE_CURSOR_HINTS +/* +** Information is passed from codeCursorHint() down to individual nodes of +** the expression tree (by sqlite3WalkExpr()) using an instance of this +** structure. +*/ +struct CCurHint { + int iTabCur; /* Cursor for the main table */ + int iIdxCur; /* Cursor for the index, if pIdx!=0. Unused otherwise */ + Index *pIdx; /* The index used to access the table */ +}; + +/* +** This function is called for every node of an expression that is a candidate +** for a cursor hint on an index cursor. For TK_COLUMN nodes that reference +** the table CCurHint.iTabCur, verify that the same column can be +** accessed through the index. If it cannot, then set pWalker->eCode to 1. +*/ +static int codeCursorHintCheckExpr(Walker *pWalker, Expr *pExpr){ + struct CCurHint *pHint = pWalker->u.pCCurHint; + assert( pHint->pIdx!=0 ); + if( pExpr->op==TK_COLUMN + && pExpr->iTable==pHint->iTabCur + && sqlite3ColumnOfIndex(pHint->pIdx, pExpr->iColumn)<0 + ){ + pWalker->eCode = 1; + } + return WRC_Continue; +} + +/* +** Test whether or not expression pExpr, which was part of a WHERE clause, +** should be included in the cursor-hint for a table that is on the rhs +** of a LEFT JOIN. Set Walker.eCode to non-zero before returning if the +** expression is not suitable. +** +** An expression is unsuitable if it might evaluate to non NULL even if +** a TK_COLUMN node that does affect the value of the expression is set +** to NULL. For example: +** +** col IS NULL +** col IS NOT NULL +** coalesce(col, 1) +** CASE WHEN col THEN 0 ELSE 1 END +*/ +static int codeCursorHintIsOrFunction(Walker *pWalker, Expr *pExpr){ + if( pExpr->op==TK_IS + || pExpr->op==TK_ISNULL || pExpr->op==TK_ISNOT + || pExpr->op==TK_NOTNULL || pExpr->op==TK_CASE + ){ + pWalker->eCode = 1; + }else if( pExpr->op==TK_FUNCTION ){ + int d1; + char d2[4]; + if( 0==sqlite3IsLikeFunction(pWalker->pParse->db, pExpr, &d1, d2) ){ + pWalker->eCode = 1; + } + } + + return WRC_Continue; +} + + +/* +** This function is called on every node of an expression tree used as an +** argument to the OP_CursorHint instruction. If the node is a TK_COLUMN +** that accesses any table other than the one identified by +** CCurHint.iTabCur, then do the following: +** +** 1) allocate a register and code an OP_Column instruction to read +** the specified column into the new register, and +** +** 2) transform the expression node to a TK_REGISTER node that reads +** from the newly populated register. +** +** Also, if the node is a TK_COLUMN that does access the table idenified +** by pCCurHint.iTabCur, and an index is being used (which we will +** know because CCurHint.pIdx!=0) then transform the TK_COLUMN into +** an access of the index rather than the original table. +*/ +static int codeCursorHintFixExpr(Walker *pWalker, Expr *pExpr){ + int rc = WRC_Continue; + struct CCurHint *pHint = pWalker->u.pCCurHint; + if( pExpr->op==TK_COLUMN ){ + if( pExpr->iTable!=pHint->iTabCur ){ + int reg = ++pWalker->pParse->nMem; /* Register for column value */ + sqlite3ExprCode(pWalker->pParse, pExpr, reg); + pExpr->op = TK_REGISTER; + pExpr->iTable = reg; + }else if( pHint->pIdx!=0 ){ + pExpr->iTable = pHint->iIdxCur; + pExpr->iColumn = sqlite3ColumnOfIndex(pHint->pIdx, pExpr->iColumn); + assert( pExpr->iColumn>=0 ); + } + }else if( pExpr->op==TK_AGG_FUNCTION ){ + /* An aggregate function in the WHERE clause of a query means this must + ** be a correlated sub-query, and expression pExpr is an aggregate from + ** the parent context. Do not walk the function arguments in this case. + ** + ** todo: It should be possible to replace this node with a TK_REGISTER + ** expression, as the result of the expression must be stored in a + ** register at this point. The same holds for TK_AGG_COLUMN nodes. */ + rc = WRC_Prune; + } + return rc; +} + +/* +** Insert an OP_CursorHint instruction if it is appropriate to do so. +*/ +static void codeCursorHint( + struct SrcList_item *pTabItem, /* FROM clause item */ + WhereInfo *pWInfo, /* The where clause */ + WhereLevel *pLevel, /* Which loop to provide hints for */ + WhereTerm *pEndRange /* Hint this end-of-scan boundary term if not NULL */ +){ + Parse *pParse = pWInfo->pParse; + sqlite3 *db = pParse->db; + Vdbe *v = pParse->pVdbe; + Expr *pExpr = 0; + WhereLoop *pLoop = pLevel->pWLoop; + int iCur; + WhereClause *pWC; + WhereTerm *pTerm; + int i, j; + struct CCurHint sHint; + Walker sWalker; + + if( OptimizationDisabled(db, SQLITE_CursorHints) ) return; + iCur = pLevel->iTabCur; + assert( iCur==pWInfo->pTabList->a[pLevel->iFrom].iCursor ); + sHint.iTabCur = iCur; + sHint.iIdxCur = pLevel->iIdxCur; + sHint.pIdx = pLoop->u.btree.pIndex; + memset(&sWalker, 0, sizeof(sWalker)); + sWalker.pParse = pParse; + sWalker.u.pCCurHint = &sHint; + pWC = &pWInfo->sWC; + for(i=0; inTerm; i++){ + pTerm = &pWC->a[i]; + if( pTerm->wtFlags & (TERM_VIRTUAL|TERM_CODED) ) continue; + if( pTerm->prereqAll & pLevel->notReady ) continue; + + /* Any terms specified as part of the ON(...) clause for any LEFT + ** JOIN for which the current table is not the rhs are omitted + ** from the cursor-hint. + ** + ** If this table is the rhs of a LEFT JOIN, "IS" or "IS NULL" terms + ** that were specified as part of the WHERE clause must be excluded. + ** This is to address the following: + ** + ** SELECT ... t1 LEFT JOIN t2 ON (t1.a=t2.b) WHERE t2.c IS NULL; + ** + ** Say there is a single row in t2 that matches (t1.a=t2.b), but its + ** t2.c values is not NULL. If the (t2.c IS NULL) constraint is + ** pushed down to the cursor, this row is filtered out, causing + ** SQLite to synthesize a row of NULL values. Which does match the + ** WHERE clause, and so the query returns a row. Which is incorrect. + ** + ** For the same reason, WHERE terms such as: + ** + ** WHERE 1 = (t2.c IS NULL) + ** + ** are also excluded. See codeCursorHintIsOrFunction() for details. + */ + if( pTabItem->fg.jointype & JT_LEFT ){ + Expr *pExpr = pTerm->pExpr; + if( !ExprHasProperty(pExpr, EP_FromJoin) + || pExpr->iRightJoinTable!=pTabItem->iCursor + ){ + sWalker.eCode = 0; + sWalker.xExprCallback = codeCursorHintIsOrFunction; + sqlite3WalkExpr(&sWalker, pTerm->pExpr); + if( sWalker.eCode ) continue; + } + }else{ + if( ExprHasProperty(pTerm->pExpr, EP_FromJoin) ) continue; + } + + /* All terms in pWLoop->aLTerm[] except pEndRange are used to initialize + ** the cursor. These terms are not needed as hints for a pure range + ** scan (that has no == terms) so omit them. */ + if( pLoop->u.btree.nEq==0 && pTerm!=pEndRange ){ + for(j=0; jnLTerm && pLoop->aLTerm[j]!=pTerm; j++){} + if( jnLTerm ) continue; + } + + /* No subqueries or non-deterministic functions allowed */ + if( sqlite3ExprContainsSubquery(pTerm->pExpr) ) continue; + + /* For an index scan, make sure referenced columns are actually in + ** the index. */ + if( sHint.pIdx!=0 ){ + sWalker.eCode = 0; + sWalker.xExprCallback = codeCursorHintCheckExpr; + sqlite3WalkExpr(&sWalker, pTerm->pExpr); + if( sWalker.eCode ) continue; + } + + /* If we survive all prior tests, that means this term is worth hinting */ + pExpr = sqlite3ExprAnd(pParse, pExpr, sqlite3ExprDup(db, pTerm->pExpr, 0)); + } + if( pExpr!=0 ){ + sWalker.xExprCallback = codeCursorHintFixExpr; + sqlite3WalkExpr(&sWalker, pExpr); + sqlite3VdbeAddOp4(v, OP_CursorHint, + (sHint.pIdx ? sHint.iIdxCur : sHint.iTabCur), 0, 0, + (const char*)pExpr, P4_EXPR); + } +} +#else +# define codeCursorHint(A,B,C,D) /* No-op */ +#endif /* SQLITE_ENABLE_CURSOR_HINTS */ + +/* +** Cursor iCur is open on an intkey b-tree (a table). Register iRowid contains +** a rowid value just read from cursor iIdxCur, open on index pIdx. This +** function generates code to do a deferred seek of cursor iCur to the +** rowid stored in register iRowid. +** +** Normally, this is just: +** +** OP_DeferredSeek $iCur $iRowid +** +** However, if the scan currently being coded is a branch of an OR-loop and +** the statement currently being coded is a SELECT, then P3 of OP_DeferredSeek +** is set to iIdxCur and P4 is set to point to an array of integers +** containing one entry for each column of the table cursor iCur is open +** on. For each table column, if the column is the i'th column of the +** index, then the corresponding array entry is set to (i+1). If the column +** does not appear in the index at all, the array entry is set to 0. +*/ +static void codeDeferredSeek( + WhereInfo *pWInfo, /* Where clause context */ + Index *pIdx, /* Index scan is using */ + int iCur, /* Cursor for IPK b-tree */ + int iIdxCur /* Index cursor */ +){ + Parse *pParse = pWInfo->pParse; /* Parse context */ + Vdbe *v = pParse->pVdbe; /* Vdbe to generate code within */ + + assert( iIdxCur>0 ); + assert( pIdx->aiColumn[pIdx->nColumn-1]==-1 ); + + sqlite3VdbeAddOp3(v, OP_DeferredSeek, iIdxCur, 0, iCur); + if( (pWInfo->wctrlFlags & WHERE_OR_SUBCLAUSE) + && DbMaskAllZero(sqlite3ParseToplevel(pParse)->writeMask) + ){ + int i; + Table *pTab = pIdx->pTable; + int *ai = (int*)sqlite3DbMallocZero(pParse->db, sizeof(int)*(pTab->nCol+1)); + if( ai ){ + ai[0] = pTab->nCol; + for(i=0; inColumn-1; i++){ + assert( pIdx->aiColumn[i]nCol ); + if( pIdx->aiColumn[i]>=0 ) ai[pIdx->aiColumn[i]+1] = i+1; + } + sqlite3VdbeChangeP4(v, -1, (char*)ai, P4_INTARRAY); + } + } +} + +/* +** If the expression passed as the second argument is a vector, generate +** code to write the first nReg elements of the vector into an array +** of registers starting with iReg. +** +** If the expression is not a vector, then nReg must be passed 1. In +** this case, generate code to evaluate the expression and leave the +** result in register iReg. +*/ +static void codeExprOrVector(Parse *pParse, Expr *p, int iReg, int nReg){ + assert( nReg>0 ); + if( p && sqlite3ExprIsVector(p) ){ +#ifndef SQLITE_OMIT_SUBQUERY + if( (p->flags & EP_xIsSelect) ){ + Vdbe *v = pParse->pVdbe; + int iSelect; + assert( p->op==TK_SELECT ); + iSelect = sqlite3CodeSubselect(pParse, p); + sqlite3VdbeAddOp3(v, OP_Copy, iSelect, iReg, nReg-1); + }else +#endif + { + int i; + ExprList *pList = p->x.pList; + assert( nReg<=pList->nExpr ); + for(i=0; ia[i].pExpr, iReg+i); + } + } + }else{ + assert( nReg==1 ); + sqlite3ExprCode(pParse, p, iReg); + } +} + +/* An instance of the IdxExprTrans object carries information about a +** mapping from an expression on table columns into a column in an index +** down through the Walker. +*/ +typedef struct IdxExprTrans { + Expr *pIdxExpr; /* The index expression */ + int iTabCur; /* The cursor of the corresponding table */ + int iIdxCur; /* The cursor for the index */ + int iIdxCol; /* The column for the index */ +} IdxExprTrans; + +/* The walker node callback used to transform matching expressions into +** a reference to an index column for an index on an expression. +** +** If pExpr matches, then transform it into a reference to the index column +** that contains the value of pExpr. +*/ +static int whereIndexExprTransNode(Walker *p, Expr *pExpr){ + IdxExprTrans *pX = p->u.pIdxTrans; + if( sqlite3ExprCompare(0, pExpr, pX->pIdxExpr, pX->iTabCur)==0 ){ + pExpr->affExpr = sqlite3ExprAffinity(pExpr); + pExpr->op = TK_COLUMN; + pExpr->iTable = pX->iIdxCur; + pExpr->iColumn = pX->iIdxCol; + pExpr->y.pTab = 0; + return WRC_Prune; + }else{ + return WRC_Continue; + } +} + +/* +** For an indexes on expression X, locate every instance of expression X +** in pExpr and change that subexpression into a reference to the appropriate +** column of the index. +*/ +static void whereIndexExprTrans( + Index *pIdx, /* The Index */ + int iTabCur, /* Cursor of the table that is being indexed */ + int iIdxCur, /* Cursor of the index itself */ + WhereInfo *pWInfo /* Transform expressions in this WHERE clause */ +){ + int iIdxCol; /* Column number of the index */ + ExprList *aColExpr; /* Expressions that are indexed */ + Walker w; + IdxExprTrans x; + aColExpr = pIdx->aColExpr; + if( aColExpr==0 ) return; /* Not an index on expressions */ + memset(&w, 0, sizeof(w)); + w.xExprCallback = whereIndexExprTransNode; + w.u.pIdxTrans = &x; + x.iTabCur = iTabCur; + x.iIdxCur = iIdxCur; + for(iIdxCol=0; iIdxColnExpr; iIdxCol++){ + if( pIdx->aiColumn[iIdxCol]!=XN_EXPR ) continue; + assert( aColExpr->a[iIdxCol].pExpr!=0 ); + x.iIdxCol = iIdxCol; + x.pIdxExpr = aColExpr->a[iIdxCol].pExpr; + sqlite3WalkExpr(&w, pWInfo->pWhere); + sqlite3WalkExprList(&w, pWInfo->pOrderBy); + sqlite3WalkExprList(&w, pWInfo->pResultSet); + } +} + +/* +** The pTruth expression is always true because it is the WHERE clause +** a partial index that is driving a query loop. Look through all of the +** WHERE clause terms on the query, and if any of those terms must be +** true because pTruth is true, then mark those WHERE clause terms as +** coded. +*/ +static void whereApplyPartialIndexConstraints( + Expr *pTruth, + int iTabCur, + WhereClause *pWC +){ + int i; + WhereTerm *pTerm; + while( pTruth->op==TK_AND ){ + whereApplyPartialIndexConstraints(pTruth->pLeft, iTabCur, pWC); + pTruth = pTruth->pRight; + } + for(i=0, pTerm=pWC->a; inTerm; i++, pTerm++){ + Expr *pExpr; + if( pTerm->wtFlags & TERM_CODED ) continue; + pExpr = pTerm->pExpr; + if( sqlite3ExprCompare(0, pExpr, pTruth, iTabCur)==0 ){ + pTerm->wtFlags |= TERM_CODED; + } + } +} + +/* +** Generate code for the start of the iLevel-th loop in the WHERE clause +** implementation described by pWInfo. +*/ +SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart( + Parse *pParse, /* Parsing context */ + Vdbe *v, /* Prepared statement under construction */ + WhereInfo *pWInfo, /* Complete information about the WHERE clause */ + int iLevel, /* Which level of pWInfo->a[] should be coded */ + WhereLevel *pLevel, /* The current level pointer */ + Bitmask notReady /* Which tables are currently available */ +){ + int j, k; /* Loop counters */ + int iCur; /* The VDBE cursor for the table */ + int addrNxt; /* Where to jump to continue with the next IN case */ + int bRev; /* True if we need to scan in reverse order */ + WhereLoop *pLoop; /* The WhereLoop object being coded */ + WhereClause *pWC; /* Decomposition of the entire WHERE clause */ + WhereTerm *pTerm; /* A WHERE clause term */ + sqlite3 *db; /* Database connection */ + struct SrcList_item *pTabItem; /* FROM clause term being coded */ + int addrBrk; /* Jump here to break out of the loop */ + int addrHalt; /* addrBrk for the outermost loop */ + int addrCont; /* Jump here to continue with next cycle */ + int iRowidReg = 0; /* Rowid is stored in this register, if not zero */ + int iReleaseReg = 0; /* Temp register to free before returning */ + Index *pIdx = 0; /* Index used by loop (if any) */ + int iLoop; /* Iteration of constraint generator loop */ + + pWC = &pWInfo->sWC; + db = pParse->db; + pLoop = pLevel->pWLoop; + pTabItem = &pWInfo->pTabList->a[pLevel->iFrom]; + iCur = pTabItem->iCursor; + pLevel->notReady = notReady & ~sqlite3WhereGetMask(&pWInfo->sMaskSet, iCur); + bRev = (pWInfo->revMask>>iLevel)&1; + VdbeModuleComment((v, "Begin WHERE-loop%d: %s",iLevel,pTabItem->pTab->zName)); + + /* Create labels for the "break" and "continue" instructions + ** for the current loop. Jump to addrBrk to break out of a loop. + ** Jump to cont to go immediately to the next iteration of the + ** loop. + ** + ** When there is an IN operator, we also have a "addrNxt" label that + ** means to continue with the next IN value combination. When + ** there are no IN operators in the constraints, the "addrNxt" label + ** is the same as "addrBrk". + */ + addrBrk = pLevel->addrBrk = pLevel->addrNxt = sqlite3VdbeMakeLabel(pParse); + addrCont = pLevel->addrCont = sqlite3VdbeMakeLabel(pParse); + + /* If this is the right table of a LEFT OUTER JOIN, allocate and + ** initialize a memory cell that records if this table matches any + ** row of the left table of the join. + */ + assert( (pWInfo->wctrlFlags & WHERE_OR_SUBCLAUSE) + || pLevel->iFrom>0 || (pTabItem[0].fg.jointype & JT_LEFT)==0 + ); + if( pLevel->iFrom>0 && (pTabItem[0].fg.jointype & JT_LEFT)!=0 ){ + pLevel->iLeftJoin = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Integer, 0, pLevel->iLeftJoin); + VdbeComment((v, "init LEFT JOIN no-match flag")); + } + + /* Compute a safe address to jump to if we discover that the table for + ** this loop is empty and can never contribute content. */ + for(j=iLevel; j>0 && pWInfo->a[j].iLeftJoin==0; j--){} + addrHalt = pWInfo->a[j].addrBrk; + + /* Special case of a FROM clause subquery implemented as a co-routine */ + if( pTabItem->fg.viaCoroutine ){ + int regYield = pTabItem->regReturn; + sqlite3VdbeAddOp3(v, OP_InitCoroutine, regYield, 0, pTabItem->addrFillSub); + pLevel->p2 = sqlite3VdbeAddOp2(v, OP_Yield, regYield, addrBrk); + VdbeCoverage(v); + VdbeComment((v, "next row of %s", pTabItem->pTab->zName)); + pLevel->op = OP_Goto; + }else + +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( (pLoop->wsFlags & WHERE_VIRTUALTABLE)!=0 ){ + /* Case 1: The table is a virtual-table. Use the VFilter and VNext + ** to access the data. + */ + int iReg; /* P3 Value for OP_VFilter */ + int addrNotFound; + int nConstraint = pLoop->nLTerm; + int iIn; /* Counter for IN constraints */ + + iReg = sqlite3GetTempRange(pParse, nConstraint+2); + addrNotFound = pLevel->addrBrk; + for(j=0; jaLTerm[j]; + if( NEVER(pTerm==0) ) continue; + if( pTerm->eOperator & WO_IN ){ + codeEqualityTerm(pParse, pTerm, pLevel, j, bRev, iTarget); + addrNotFound = pLevel->addrNxt; + }else{ + Expr *pRight = pTerm->pExpr->pRight; + codeExprOrVector(pParse, pRight, iTarget, 1); + } + } + sqlite3VdbeAddOp2(v, OP_Integer, pLoop->u.vtab.idxNum, iReg); + sqlite3VdbeAddOp2(v, OP_Integer, nConstraint, iReg+1); + sqlite3VdbeAddOp4(v, OP_VFilter, iCur, addrNotFound, iReg, + pLoop->u.vtab.idxStr, + pLoop->u.vtab.needFree ? P4_DYNAMIC : P4_STATIC); + VdbeCoverage(v); + pLoop->u.vtab.needFree = 0; + pLevel->p1 = iCur; + pLevel->op = pWInfo->eOnePass ? OP_Noop : OP_VNext; + pLevel->p2 = sqlite3VdbeCurrentAddr(v); + iIn = pLevel->u.in.nIn; + for(j=nConstraint-1; j>=0; j--){ + pTerm = pLoop->aLTerm[j]; + if( j<16 && (pLoop->u.vtab.omitMask>>j)&1 ){ + disableTerm(pLevel, pTerm); + }else if( (pTerm->eOperator & WO_IN)!=0 ){ + Expr *pCompare; /* The comparison operator */ + Expr *pRight; /* RHS of the comparison */ + VdbeOp *pOp; /* Opcode to access the value of the IN constraint */ + + /* Reload the constraint value into reg[iReg+j+2]. The same value + ** was loaded into the same register prior to the OP_VFilter, but + ** the xFilter implementation might have changed the datatype or + ** encoding of the value in the register, so it *must* be reloaded. */ + assert( pLevel->u.in.aInLoop!=0 || db->mallocFailed ); + if( !db->mallocFailed ){ + assert( iIn>0 ); + pOp = sqlite3VdbeGetOp(v, pLevel->u.in.aInLoop[--iIn].addrInTop); + assert( pOp->opcode==OP_Column || pOp->opcode==OP_Rowid ); + assert( pOp->opcode!=OP_Column || pOp->p3==iReg+j+2 ); + assert( pOp->opcode!=OP_Rowid || pOp->p2==iReg+j+2 ); + testcase( pOp->opcode==OP_Rowid ); + sqlite3VdbeAddOp3(v, pOp->opcode, pOp->p1, pOp->p2, pOp->p3); + } + + /* Generate code that will continue to the next row if + ** the IN constraint is not satisfied */ + pCompare = sqlite3PExpr(pParse, TK_EQ, 0, 0); + assert( pCompare!=0 || db->mallocFailed ); + if( pCompare ){ + pCompare->pLeft = pTerm->pExpr->pLeft; + pCompare->pRight = pRight = sqlite3Expr(db, TK_REGISTER, 0); + if( pRight ){ + pRight->iTable = iReg+j+2; + sqlite3ExprIfFalse(pParse, pCompare, pLevel->addrCont, 0); + } + pCompare->pLeft = 0; + sqlite3ExprDelete(db, pCompare); + } + } + } + /* These registers need to be preserved in case there is an IN operator + ** loop. So we could deallocate the registers here (and potentially + ** reuse them later) if (pLoop->wsFlags & WHERE_IN_ABLE)==0. But it seems + ** simpler and safer to simply not reuse the registers. + ** + ** sqlite3ReleaseTempRange(pParse, iReg, nConstraint+2); + */ + }else +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + + if( (pLoop->wsFlags & WHERE_IPK)!=0 + && (pLoop->wsFlags & (WHERE_COLUMN_IN|WHERE_COLUMN_EQ))!=0 + ){ + /* Case 2: We can directly reference a single row using an + ** equality comparison against the ROWID field. Or + ** we reference multiple rows using a "rowid IN (...)" + ** construct. + */ + assert( pLoop->u.btree.nEq==1 ); + pTerm = pLoop->aLTerm[0]; + assert( pTerm!=0 ); + assert( pTerm->pExpr!=0 ); + testcase( pTerm->wtFlags & TERM_VIRTUAL ); + iReleaseReg = ++pParse->nMem; + iRowidReg = codeEqualityTerm(pParse, pTerm, pLevel, 0, bRev, iReleaseReg); + if( iRowidReg!=iReleaseReg ) sqlite3ReleaseTempReg(pParse, iReleaseReg); + addrNxt = pLevel->addrNxt; + sqlite3VdbeAddOp3(v, OP_SeekRowid, iCur, addrNxt, iRowidReg); + VdbeCoverage(v); + pLevel->op = OP_Noop; + if( (pTerm->prereqAll & pLevel->notReady)==0 ){ + pTerm->wtFlags |= TERM_CODED; + } + }else if( (pLoop->wsFlags & WHERE_IPK)!=0 + && (pLoop->wsFlags & WHERE_COLUMN_RANGE)!=0 + ){ + /* Case 3: We have an inequality comparison against the ROWID field. + */ + int testOp = OP_Noop; + int start; + int memEndValue = 0; + WhereTerm *pStart, *pEnd; + + j = 0; + pStart = pEnd = 0; + if( pLoop->wsFlags & WHERE_BTM_LIMIT ) pStart = pLoop->aLTerm[j++]; + if( pLoop->wsFlags & WHERE_TOP_LIMIT ) pEnd = pLoop->aLTerm[j++]; + assert( pStart!=0 || pEnd!=0 ); + if( bRev ){ + pTerm = pStart; + pStart = pEnd; + pEnd = pTerm; + } + codeCursorHint(pTabItem, pWInfo, pLevel, pEnd); + if( pStart ){ + Expr *pX; /* The expression that defines the start bound */ + int r1, rTemp; /* Registers for holding the start boundary */ + int op; /* Cursor seek operation */ + + /* The following constant maps TK_xx codes into corresponding + ** seek opcodes. It depends on a particular ordering of TK_xx + */ + const u8 aMoveOp[] = { + /* TK_GT */ OP_SeekGT, + /* TK_LE */ OP_SeekLE, + /* TK_LT */ OP_SeekLT, + /* TK_GE */ OP_SeekGE + }; + assert( TK_LE==TK_GT+1 ); /* Make sure the ordering.. */ + assert( TK_LT==TK_GT+2 ); /* ... of the TK_xx values... */ + assert( TK_GE==TK_GT+3 ); /* ... is correcct. */ + + assert( (pStart->wtFlags & TERM_VNULL)==0 ); + testcase( pStart->wtFlags & TERM_VIRTUAL ); + pX = pStart->pExpr; + assert( pX!=0 ); + testcase( pStart->leftCursor!=iCur ); /* transitive constraints */ + if( sqlite3ExprIsVector(pX->pRight) ){ + r1 = rTemp = sqlite3GetTempReg(pParse); + codeExprOrVector(pParse, pX->pRight, r1, 1); + testcase( pX->op==TK_GT ); + testcase( pX->op==TK_GE ); + testcase( pX->op==TK_LT ); + testcase( pX->op==TK_LE ); + op = aMoveOp[((pX->op - TK_GT - 1) & 0x3) | 0x1]; + assert( pX->op!=TK_GT || op==OP_SeekGE ); + assert( pX->op!=TK_GE || op==OP_SeekGE ); + assert( pX->op!=TK_LT || op==OP_SeekLE ); + assert( pX->op!=TK_LE || op==OP_SeekLE ); + }else{ + r1 = sqlite3ExprCodeTemp(pParse, pX->pRight, &rTemp); + disableTerm(pLevel, pStart); + op = aMoveOp[(pX->op - TK_GT)]; + } + sqlite3VdbeAddOp3(v, op, iCur, addrBrk, r1); + VdbeComment((v, "pk")); + VdbeCoverageIf(v, pX->op==TK_GT); + VdbeCoverageIf(v, pX->op==TK_LE); + VdbeCoverageIf(v, pX->op==TK_LT); + VdbeCoverageIf(v, pX->op==TK_GE); + sqlite3ReleaseTempReg(pParse, rTemp); + }else{ + sqlite3VdbeAddOp2(v, bRev ? OP_Last : OP_Rewind, iCur, addrHalt); + VdbeCoverageIf(v, bRev==0); + VdbeCoverageIf(v, bRev!=0); + } + if( pEnd ){ + Expr *pX; + pX = pEnd->pExpr; + assert( pX!=0 ); + assert( (pEnd->wtFlags & TERM_VNULL)==0 ); + testcase( pEnd->leftCursor!=iCur ); /* Transitive constraints */ + testcase( pEnd->wtFlags & TERM_VIRTUAL ); + memEndValue = ++pParse->nMem; + codeExprOrVector(pParse, pX->pRight, memEndValue, 1); + if( 0==sqlite3ExprIsVector(pX->pRight) + && (pX->op==TK_LT || pX->op==TK_GT) + ){ + testOp = bRev ? OP_Le : OP_Ge; + }else{ + testOp = bRev ? OP_Lt : OP_Gt; + } + if( 0==sqlite3ExprIsVector(pX->pRight) ){ + disableTerm(pLevel, pEnd); + } + } + start = sqlite3VdbeCurrentAddr(v); + pLevel->op = bRev ? OP_Prev : OP_Next; + pLevel->p1 = iCur; + pLevel->p2 = start; + assert( pLevel->p5==0 ); + if( testOp!=OP_Noop ){ + iRowidReg = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Rowid, iCur, iRowidReg); + sqlite3VdbeAddOp3(v, testOp, memEndValue, addrBrk, iRowidReg); + VdbeCoverageIf(v, testOp==OP_Le); + VdbeCoverageIf(v, testOp==OP_Lt); + VdbeCoverageIf(v, testOp==OP_Ge); + VdbeCoverageIf(v, testOp==OP_Gt); + sqlite3VdbeChangeP5(v, SQLITE_AFF_NUMERIC | SQLITE_JUMPIFNULL); + } + }else if( pLoop->wsFlags & WHERE_INDEXED ){ + /* Case 4: A scan using an index. + ** + ** The WHERE clause may contain zero or more equality + ** terms ("==" or "IN" operators) that refer to the N + ** left-most columns of the index. It may also contain + ** inequality constraints (>, <, >= or <=) on the indexed + ** column that immediately follows the N equalities. Only + ** the right-most column can be an inequality - the rest must + ** use the "==" and "IN" operators. For example, if the + ** index is on (x,y,z), then the following clauses are all + ** optimized: + ** + ** x=5 + ** x=5 AND y=10 + ** x=5 AND y<10 + ** x=5 AND y>5 AND y<10 + ** x=5 AND y=5 AND z<=10 + ** + ** The z<10 term of the following cannot be used, only + ** the x=5 term: + ** + ** x=5 AND z<10 + ** + ** N may be zero if there are inequality constraints. + ** If there are no inequality constraints, then N is at + ** least one. + ** + ** This case is also used when there are no WHERE clause + ** constraints but an index is selected anyway, in order + ** to force the output order to conform to an ORDER BY. + */ + static const u8 aStartOp[] = { + 0, + 0, + OP_Rewind, /* 2: (!start_constraints && startEq && !bRev) */ + OP_Last, /* 3: (!start_constraints && startEq && bRev) */ + OP_SeekGT, /* 4: (start_constraints && !startEq && !bRev) */ + OP_SeekLT, /* 5: (start_constraints && !startEq && bRev) */ + OP_SeekGE, /* 6: (start_constraints && startEq && !bRev) */ + OP_SeekLE /* 7: (start_constraints && startEq && bRev) */ + }; + static const u8 aEndOp[] = { + OP_IdxGE, /* 0: (end_constraints && !bRev && !endEq) */ + OP_IdxGT, /* 1: (end_constraints && !bRev && endEq) */ + OP_IdxLE, /* 2: (end_constraints && bRev && !endEq) */ + OP_IdxLT, /* 3: (end_constraints && bRev && endEq) */ + }; + u16 nEq = pLoop->u.btree.nEq; /* Number of == or IN terms */ + u16 nBtm = pLoop->u.btree.nBtm; /* Length of BTM vector */ + u16 nTop = pLoop->u.btree.nTop; /* Length of TOP vector */ + int regBase; /* Base register holding constraint values */ + WhereTerm *pRangeStart = 0; /* Inequality constraint at range start */ + WhereTerm *pRangeEnd = 0; /* Inequality constraint at range end */ + int startEq; /* True if range start uses ==, >= or <= */ + int endEq; /* True if range end uses ==, >= or <= */ + int start_constraints; /* Start of range is constrained */ + int nConstraint; /* Number of constraint terms */ + int iIdxCur; /* The VDBE cursor for the index */ + int nExtraReg = 0; /* Number of extra registers needed */ + int op; /* Instruction opcode */ + char *zStartAff; /* Affinity for start of range constraint */ + char *zEndAff = 0; /* Affinity for end of range constraint */ + u8 bSeekPastNull = 0; /* True to seek past initial nulls */ + u8 bStopAtNull = 0; /* Add condition to terminate at NULLs */ + int omitTable; /* True if we use the index only */ + int regBignull = 0; /* big-null flag register */ + + pIdx = pLoop->u.btree.pIndex; + iIdxCur = pLevel->iIdxCur; + assert( nEq>=pLoop->nSkip ); + + /* Find any inequality constraint terms for the start and end + ** of the range. + */ + j = nEq; + if( pLoop->wsFlags & WHERE_BTM_LIMIT ){ + pRangeStart = pLoop->aLTerm[j++]; + nExtraReg = MAX(nExtraReg, pLoop->u.btree.nBtm); + /* Like optimization range constraints always occur in pairs */ + assert( (pRangeStart->wtFlags & TERM_LIKEOPT)==0 || + (pLoop->wsFlags & WHERE_TOP_LIMIT)!=0 ); + } + if( pLoop->wsFlags & WHERE_TOP_LIMIT ){ + pRangeEnd = pLoop->aLTerm[j++]; + nExtraReg = MAX(nExtraReg, pLoop->u.btree.nTop); +#ifndef SQLITE_LIKE_DOESNT_MATCH_BLOBS + if( (pRangeEnd->wtFlags & TERM_LIKEOPT)!=0 ){ + assert( pRangeStart!=0 ); /* LIKE opt constraints */ + assert( pRangeStart->wtFlags & TERM_LIKEOPT ); /* occur in pairs */ + pLevel->iLikeRepCntr = (u32)++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Integer, 1, (int)pLevel->iLikeRepCntr); + VdbeComment((v, "LIKE loop counter")); + pLevel->addrLikeRep = sqlite3VdbeCurrentAddr(v); + /* iLikeRepCntr actually stores 2x the counter register number. The + ** bottom bit indicates whether the search order is ASC or DESC. */ + testcase( bRev ); + testcase( pIdx->aSortOrder[nEq]==SQLITE_SO_DESC ); + assert( (bRev & ~1)==0 ); + pLevel->iLikeRepCntr <<=1; + pLevel->iLikeRepCntr |= bRev ^ (pIdx->aSortOrder[nEq]==SQLITE_SO_DESC); + } +#endif + if( pRangeStart==0 ){ + j = pIdx->aiColumn[nEq]; + if( (j>=0 && pIdx->pTable->aCol[j].notNull==0) || j==XN_EXPR ){ + bSeekPastNull = 1; + } + } + } + assert( pRangeEnd==0 || (pRangeEnd->wtFlags & TERM_VNULL)==0 ); + + /* If the WHERE_BIGNULL_SORT flag is set, then index column nEq uses + ** a non-default "big-null" sort (either ASC NULLS LAST or DESC NULLS + ** FIRST). In both cases separate ordered scans are made of those + ** index entries for which the column is null and for those for which + ** it is not. For an ASC sort, the non-NULL entries are scanned first. + ** For DESC, NULL entries are scanned first. + */ + if( (pLoop->wsFlags & (WHERE_TOP_LIMIT|WHERE_BTM_LIMIT))==0 + && (pLoop->wsFlags & WHERE_BIGNULL_SORT)!=0 + ){ + assert( bSeekPastNull==0 && nExtraReg==0 && nBtm==0 && nTop==0 ); + assert( pRangeEnd==0 && pRangeStart==0 ); + assert( pLoop->nSkip==0 ); + nExtraReg = 1; + bSeekPastNull = 1; + pLevel->regBignull = regBignull = ++pParse->nMem; + pLevel->addrBignull = sqlite3VdbeMakeLabel(pParse); + } + + /* If we are doing a reverse order scan on an ascending index, or + ** a forward order scan on a descending index, interchange the + ** start and end terms (pRangeStart and pRangeEnd). + */ + if( (nEqnKeyCol && bRev==(pIdx->aSortOrder[nEq]==SQLITE_SO_ASC)) + || (bRev && pIdx->nKeyCol==nEq) + ){ + SWAP(WhereTerm *, pRangeEnd, pRangeStart); + SWAP(u8, bSeekPastNull, bStopAtNull); + SWAP(u8, nBtm, nTop); + } + + /* Generate code to evaluate all constraint terms using == or IN + ** and store the values of those terms in an array of registers + ** starting at regBase. + */ + codeCursorHint(pTabItem, pWInfo, pLevel, pRangeEnd); + regBase = codeAllEqualityTerms(pParse,pLevel,bRev,nExtraReg,&zStartAff); + assert( zStartAff==0 || sqlite3Strlen30(zStartAff)>=nEq ); + if( zStartAff && nTop ){ + zEndAff = sqlite3DbStrDup(db, &zStartAff[nEq]); + } + addrNxt = (regBignull ? pLevel->addrBignull : pLevel->addrNxt); + + testcase( pRangeStart && (pRangeStart->eOperator & WO_LE)!=0 ); + testcase( pRangeStart && (pRangeStart->eOperator & WO_GE)!=0 ); + testcase( pRangeEnd && (pRangeEnd->eOperator & WO_LE)!=0 ); + testcase( pRangeEnd && (pRangeEnd->eOperator & WO_GE)!=0 ); + startEq = !pRangeStart || pRangeStart->eOperator & (WO_LE|WO_GE); + endEq = !pRangeEnd || pRangeEnd->eOperator & (WO_LE|WO_GE); + start_constraints = pRangeStart || nEq>0; + + /* Seek the index cursor to the start of the range. */ + nConstraint = nEq; + if( pRangeStart ){ + Expr *pRight = pRangeStart->pExpr->pRight; + codeExprOrVector(pParse, pRight, regBase+nEq, nBtm); + whereLikeOptimizationStringFixup(v, pLevel, pRangeStart); + if( (pRangeStart->wtFlags & TERM_VNULL)==0 + && sqlite3ExprCanBeNull(pRight) + ){ + sqlite3VdbeAddOp2(v, OP_IsNull, regBase+nEq, addrNxt); + VdbeCoverage(v); + } + if( zStartAff ){ + updateRangeAffinityStr(pRight, nBtm, &zStartAff[nEq]); + } + nConstraint += nBtm; + testcase( pRangeStart->wtFlags & TERM_VIRTUAL ); + if( sqlite3ExprIsVector(pRight)==0 ){ + disableTerm(pLevel, pRangeStart); + }else{ + startEq = 1; + } + bSeekPastNull = 0; + }else if( bSeekPastNull ){ + startEq = 0; + sqlite3VdbeAddOp2(v, OP_Null, 0, regBase+nEq); + start_constraints = 1; + nConstraint++; + }else if( regBignull ){ + sqlite3VdbeAddOp2(v, OP_Null, 0, regBase+nEq); + start_constraints = 1; + nConstraint++; + } + codeApplyAffinity(pParse, regBase, nConstraint - bSeekPastNull, zStartAff); + if( pLoop->nSkip>0 && nConstraint==pLoop->nSkip ){ + /* The skip-scan logic inside the call to codeAllEqualityConstraints() + ** above has already left the cursor sitting on the correct row, + ** so no further seeking is needed */ + }else{ + if( pLoop->wsFlags & WHERE_IN_EARLYOUT ){ + sqlite3VdbeAddOp1(v, OP_SeekHit, iIdxCur); + } + if( regBignull ){ + sqlite3VdbeAddOp2(v, OP_Integer, 1, regBignull); + VdbeComment((v, "NULL-scan pass ctr")); + } + + op = aStartOp[(start_constraints<<2) + (startEq<<1) + bRev]; + assert( op!=0 ); + sqlite3VdbeAddOp4Int(v, op, iIdxCur, addrNxt, regBase, nConstraint); + VdbeCoverage(v); + VdbeCoverageIf(v, op==OP_Rewind); testcase( op==OP_Rewind ); + VdbeCoverageIf(v, op==OP_Last); testcase( op==OP_Last ); + VdbeCoverageIf(v, op==OP_SeekGT); testcase( op==OP_SeekGT ); + VdbeCoverageIf(v, op==OP_SeekGE); testcase( op==OP_SeekGE ); + VdbeCoverageIf(v, op==OP_SeekLE); testcase( op==OP_SeekLE ); + VdbeCoverageIf(v, op==OP_SeekLT); testcase( op==OP_SeekLT ); + + assert( bSeekPastNull==0 || bStopAtNull==0 ); + if( regBignull ){ + assert( bSeekPastNull==1 || bStopAtNull==1 ); + assert( bSeekPastNull==!bStopAtNull ); + assert( bStopAtNull==startEq ); + sqlite3VdbeAddOp2(v, OP_Goto, 0, sqlite3VdbeCurrentAddr(v)+2); + op = aStartOp[(nConstraint>1)*4 + 2 + bRev]; + sqlite3VdbeAddOp4Int(v, op, iIdxCur, addrNxt, regBase, + nConstraint-startEq); + VdbeCoverage(v); + VdbeCoverageIf(v, op==OP_Rewind); testcase( op==OP_Rewind ); + VdbeCoverageIf(v, op==OP_Last); testcase( op==OP_Last ); + VdbeCoverageIf(v, op==OP_SeekGE); testcase( op==OP_SeekGE ); + VdbeCoverageIf(v, op==OP_SeekLE); testcase( op==OP_SeekLE ); + assert( op==OP_Rewind || op==OP_Last || op==OP_SeekGE || op==OP_SeekLE); + } + } + + /* Load the value for the inequality constraint at the end of the + ** range (if any). + */ + nConstraint = nEq; + if( pRangeEnd ){ + Expr *pRight = pRangeEnd->pExpr->pRight; + codeExprOrVector(pParse, pRight, regBase+nEq, nTop); + whereLikeOptimizationStringFixup(v, pLevel, pRangeEnd); + if( (pRangeEnd->wtFlags & TERM_VNULL)==0 + && sqlite3ExprCanBeNull(pRight) + ){ + sqlite3VdbeAddOp2(v, OP_IsNull, regBase+nEq, addrNxt); + VdbeCoverage(v); + } + if( zEndAff ){ + updateRangeAffinityStr(pRight, nTop, zEndAff); + codeApplyAffinity(pParse, regBase+nEq, nTop, zEndAff); + }else{ + assert( pParse->db->mallocFailed ); + } + nConstraint += nTop; + testcase( pRangeEnd->wtFlags & TERM_VIRTUAL ); + + if( sqlite3ExprIsVector(pRight)==0 ){ + disableTerm(pLevel, pRangeEnd); + }else{ + endEq = 1; + } + }else if( bStopAtNull ){ + if( regBignull==0 ){ + sqlite3VdbeAddOp2(v, OP_Null, 0, regBase+nEq); + endEq = 0; + } + nConstraint++; + } + sqlite3DbFree(db, zStartAff); + sqlite3DbFree(db, zEndAff); + + /* Top of the loop body */ + pLevel->p2 = sqlite3VdbeCurrentAddr(v); + + /* Check if the index cursor is past the end of the range. */ + if( nConstraint ){ + if( regBignull ){ + /* Except, skip the end-of-range check while doing the NULL-scan */ + sqlite3VdbeAddOp2(v, OP_IfNot, regBignull, sqlite3VdbeCurrentAddr(v)+3); + VdbeComment((v, "If NULL-scan 2nd pass")); + VdbeCoverage(v); + } + op = aEndOp[bRev*2 + endEq]; + sqlite3VdbeAddOp4Int(v, op, iIdxCur, addrNxt, regBase, nConstraint); + testcase( op==OP_IdxGT ); VdbeCoverageIf(v, op==OP_IdxGT ); + testcase( op==OP_IdxGE ); VdbeCoverageIf(v, op==OP_IdxGE ); + testcase( op==OP_IdxLT ); VdbeCoverageIf(v, op==OP_IdxLT ); + testcase( op==OP_IdxLE ); VdbeCoverageIf(v, op==OP_IdxLE ); + } + if( regBignull ){ + /* During a NULL-scan, check to see if we have reached the end of + ** the NULLs */ + assert( bSeekPastNull==!bStopAtNull ); + assert( bSeekPastNull+bStopAtNull==1 ); + assert( nConstraint+bSeekPastNull>0 ); + sqlite3VdbeAddOp2(v, OP_If, regBignull, sqlite3VdbeCurrentAddr(v)+2); + VdbeComment((v, "If NULL-scan 1st pass")); + VdbeCoverage(v); + op = aEndOp[bRev*2 + bSeekPastNull]; + sqlite3VdbeAddOp4Int(v, op, iIdxCur, addrNxt, regBase, + nConstraint+bSeekPastNull); + testcase( op==OP_IdxGT ); VdbeCoverageIf(v, op==OP_IdxGT ); + testcase( op==OP_IdxGE ); VdbeCoverageIf(v, op==OP_IdxGE ); + testcase( op==OP_IdxLT ); VdbeCoverageIf(v, op==OP_IdxLT ); + testcase( op==OP_IdxLE ); VdbeCoverageIf(v, op==OP_IdxLE ); + } + + if( pLoop->wsFlags & WHERE_IN_EARLYOUT ){ + sqlite3VdbeAddOp2(v, OP_SeekHit, iIdxCur, 1); + } + + /* Seek the table cursor, if required */ + omitTable = (pLoop->wsFlags & WHERE_IDX_ONLY)!=0 + && (pWInfo->wctrlFlags & WHERE_OR_SUBCLAUSE)==0; + if( omitTable ){ + /* pIdx is a covering index. No need to access the main table. */ + }else if( HasRowid(pIdx->pTable) ){ + if( (pWInfo->wctrlFlags & WHERE_SEEK_TABLE) || ( + (pWInfo->wctrlFlags & WHERE_SEEK_UNIQ_TABLE) + && (pWInfo->eOnePass==ONEPASS_SINGLE) + )){ + iRowidReg = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_IdxRowid, iIdxCur, iRowidReg); + sqlite3VdbeAddOp3(v, OP_NotExists, iCur, 0, iRowidReg); + VdbeCoverage(v); + }else{ + codeDeferredSeek(pWInfo, pIdx, iCur, iIdxCur); + } + }else if( iCur!=iIdxCur ){ + Index *pPk = sqlite3PrimaryKeyIndex(pIdx->pTable); + iRowidReg = sqlite3GetTempRange(pParse, pPk->nKeyCol); + for(j=0; jnKeyCol; j++){ + k = sqlite3ColumnOfIndex(pIdx, pPk->aiColumn[j]); + sqlite3VdbeAddOp3(v, OP_Column, iIdxCur, k, iRowidReg+j); + } + sqlite3VdbeAddOp4Int(v, OP_NotFound, iCur, addrCont, + iRowidReg, pPk->nKeyCol); VdbeCoverage(v); + } + + /* If pIdx is an index on one or more expressions, then look through + ** all the expressions in pWInfo and try to transform matching expressions + ** into reference to index columns. + ** + ** Do not do this for the RHS of a LEFT JOIN. This is because the + ** expression may be evaluated after OP_NullRow has been executed on + ** the cursor. In this case it is important to do the full evaluation, + ** as the result of the expression may not be NULL, even if all table + ** column values are. https://www.sqlite.org/src/info/7fa8049685b50b5a + ** + ** Also, do not do this when processing one index an a multi-index + ** OR clause, since the transformation will become invalid once we + ** move forward to the next index. + ** https://sqlite.org/src/info/4e8e4857d32d401f + */ + if( pLevel->iLeftJoin==0 && (pWInfo->wctrlFlags & WHERE_OR_SUBCLAUSE)==0 ){ + whereIndexExprTrans(pIdx, iCur, iIdxCur, pWInfo); + } + + /* If a partial index is driving the loop, try to eliminate WHERE clause + ** terms from the query that must be true due to the WHERE clause of + ** the partial index + */ + if( pIdx->pPartIdxWhere ){ + whereApplyPartialIndexConstraints(pIdx->pPartIdxWhere, iCur, pWC); + } + + /* Record the instruction used to terminate the loop. */ + if( pLoop->wsFlags & WHERE_ONEROW ){ + pLevel->op = OP_Noop; + }else if( bRev ){ + pLevel->op = OP_Prev; + }else{ + pLevel->op = OP_Next; + } + pLevel->p1 = iIdxCur; + pLevel->p3 = (pLoop->wsFlags&WHERE_UNQ_WANTED)!=0 ? 1:0; + if( (pLoop->wsFlags & WHERE_CONSTRAINT)==0 ){ + pLevel->p5 = SQLITE_STMTSTATUS_FULLSCAN_STEP; + }else{ + assert( pLevel->p5==0 ); + } + if( omitTable ) pIdx = 0; + }else + +#ifndef SQLITE_OMIT_OR_OPTIMIZATION + if( pLoop->wsFlags & WHERE_MULTI_OR ){ + /* Case 5: Two or more separately indexed terms connected by OR + ** + ** Example: + ** + ** CREATE TABLE t1(a,b,c,d); + ** CREATE INDEX i1 ON t1(a); + ** CREATE INDEX i2 ON t1(b); + ** CREATE INDEX i3 ON t1(c); + ** + ** SELECT * FROM t1 WHERE a=5 OR b=7 OR (c=11 AND d=13) + ** + ** In the example, there are three indexed terms connected by OR. + ** The top of the loop looks like this: + ** + ** Null 1 # Zero the rowset in reg 1 + ** + ** Then, for each indexed term, the following. The arguments to + ** RowSetTest are such that the rowid of the current row is inserted + ** into the RowSet. If it is already present, control skips the + ** Gosub opcode and jumps straight to the code generated by WhereEnd(). + ** + ** sqlite3WhereBegin() + ** RowSetTest # Insert rowid into rowset + ** Gosub 2 A + ** sqlite3WhereEnd() + ** + ** Following the above, code to terminate the loop. Label A, the target + ** of the Gosub above, jumps to the instruction right after the Goto. + ** + ** Null 1 # Zero the rowset in reg 1 + ** Goto B # The loop is finished. + ** + ** A: # Return data, whatever. + ** + ** Return 2 # Jump back to the Gosub + ** + ** B: + ** + ** Added 2014-05-26: If the table is a WITHOUT ROWID table, then + ** use an ephemeral index instead of a RowSet to record the primary + ** keys of the rows we have already seen. + ** + */ + WhereClause *pOrWc; /* The OR-clause broken out into subterms */ + SrcList *pOrTab; /* Shortened table list or OR-clause generation */ + Index *pCov = 0; /* Potential covering index (or NULL) */ + int iCovCur = pParse->nTab++; /* Cursor used for index scans (if any) */ + + int regReturn = ++pParse->nMem; /* Register used with OP_Gosub */ + int regRowset = 0; /* Register for RowSet object */ + int regRowid = 0; /* Register holding rowid */ + int iLoopBody = sqlite3VdbeMakeLabel(pParse);/* Start of loop body */ + int iRetInit; /* Address of regReturn init */ + int untestedTerms = 0; /* Some terms not completely tested */ + int ii; /* Loop counter */ + u16 wctrlFlags; /* Flags for sub-WHERE clause */ + Expr *pAndExpr = 0; /* An ".. AND (...)" expression */ + Table *pTab = pTabItem->pTab; + + pTerm = pLoop->aLTerm[0]; + assert( pTerm!=0 ); + assert( pTerm->eOperator & WO_OR ); + assert( (pTerm->wtFlags & TERM_ORINFO)!=0 ); + pOrWc = &pTerm->u.pOrInfo->wc; + pLevel->op = OP_Return; + pLevel->p1 = regReturn; + + /* Set up a new SrcList in pOrTab containing the table being scanned + ** by this loop in the a[0] slot and all notReady tables in a[1..] slots. + ** This becomes the SrcList in the recursive call to sqlite3WhereBegin(). + */ + if( pWInfo->nLevel>1 ){ + int nNotReady; /* The number of notReady tables */ + struct SrcList_item *origSrc; /* Original list of tables */ + nNotReady = pWInfo->nLevel - iLevel - 1; + pOrTab = sqlite3StackAllocRaw(db, + sizeof(*pOrTab)+ nNotReady*sizeof(pOrTab->a[0])); + if( pOrTab==0 ) return notReady; + pOrTab->nAlloc = (u8)(nNotReady + 1); + pOrTab->nSrc = pOrTab->nAlloc; + memcpy(pOrTab->a, pTabItem, sizeof(*pTabItem)); + origSrc = pWInfo->pTabList->a; + for(k=1; k<=nNotReady; k++){ + memcpy(&pOrTab->a[k], &origSrc[pLevel[k].iFrom], sizeof(pOrTab->a[k])); + } + }else{ + pOrTab = pWInfo->pTabList; + } + + /* Initialize the rowset register to contain NULL. An SQL NULL is + ** equivalent to an empty rowset. Or, create an ephemeral index + ** capable of holding primary keys in the case of a WITHOUT ROWID. + ** + ** Also initialize regReturn to contain the address of the instruction + ** immediately following the OP_Return at the bottom of the loop. This + ** is required in a few obscure LEFT JOIN cases where control jumps + ** over the top of the loop into the body of it. In this case the + ** correct response for the end-of-loop code (the OP_Return) is to + ** fall through to the next instruction, just as an OP_Next does if + ** called on an uninitialized cursor. + */ + if( (pWInfo->wctrlFlags & WHERE_DUPLICATES_OK)==0 ){ + if( HasRowid(pTab) ){ + regRowset = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Null, 0, regRowset); + }else{ + Index *pPk = sqlite3PrimaryKeyIndex(pTab); + regRowset = pParse->nTab++; + sqlite3VdbeAddOp2(v, OP_OpenEphemeral, regRowset, pPk->nKeyCol); + sqlite3VdbeSetP4KeyInfo(pParse, pPk); + } + regRowid = ++pParse->nMem; + } + iRetInit = sqlite3VdbeAddOp2(v, OP_Integer, 0, regReturn); + + /* If the original WHERE clause is z of the form: (x1 OR x2 OR ...) AND y + ** Then for every term xN, evaluate as the subexpression: xN AND z + ** That way, terms in y that are factored into the disjunction will + ** be picked up by the recursive calls to sqlite3WhereBegin() below. + ** + ** Actually, each subexpression is converted to "xN AND w" where w is + ** the "interesting" terms of z - terms that did not originate in the + ** ON or USING clause of a LEFT JOIN, and terms that are usable as + ** indices. + ** + ** This optimization also only applies if the (x1 OR x2 OR ...) term + ** is not contained in the ON clause of a LEFT JOIN. + ** See ticket http://www.sqlite.org/src/info/f2369304e4 + */ + if( pWC->nTerm>1 ){ + int iTerm; + for(iTerm=0; iTermnTerm; iTerm++){ + Expr *pExpr = pWC->a[iTerm].pExpr; + if( &pWC->a[iTerm] == pTerm ) continue; + testcase( pWC->a[iTerm].wtFlags & TERM_VIRTUAL ); + testcase( pWC->a[iTerm].wtFlags & TERM_CODED ); + if( (pWC->a[iTerm].wtFlags & (TERM_VIRTUAL|TERM_CODED))!=0 ) continue; + if( (pWC->a[iTerm].eOperator & WO_ALL)==0 ) continue; + testcase( pWC->a[iTerm].wtFlags & TERM_ORINFO ); + pExpr = sqlite3ExprDup(db, pExpr, 0); + pAndExpr = sqlite3ExprAnd(pParse, pAndExpr, pExpr); + } + if( pAndExpr ){ + /* The extra 0x10000 bit on the opcode is masked off and does not + ** become part of the new Expr.op. However, it does make the + ** op==TK_AND comparison inside of sqlite3PExpr() false, and this + ** prevents sqlite3PExpr() from implementing AND short-circuit + ** optimization, which we do not want here. */ + pAndExpr = sqlite3PExpr(pParse, TK_AND|0x10000, 0, pAndExpr); + } + } + + /* Run a separate WHERE clause for each term of the OR clause. After + ** eliminating duplicates from other WHERE clauses, the action for each + ** sub-WHERE clause is to to invoke the main loop body as a subroutine. + */ + wctrlFlags = WHERE_OR_SUBCLAUSE | (pWInfo->wctrlFlags & WHERE_SEEK_TABLE); + ExplainQueryPlan((pParse, 1, "MULTI-INDEX OR")); + for(ii=0; iinTerm; ii++){ + WhereTerm *pOrTerm = &pOrWc->a[ii]; + if( pOrTerm->leftCursor==iCur || (pOrTerm->eOperator & WO_AND)!=0 ){ + WhereInfo *pSubWInfo; /* Info for single OR-term scan */ + Expr *pOrExpr = pOrTerm->pExpr; /* Current OR clause term */ + int jmp1 = 0; /* Address of jump operation */ + assert( (pTabItem[0].fg.jointype & JT_LEFT)==0 + || ExprHasProperty(pOrExpr, EP_FromJoin) + ); + if( pAndExpr ){ + pAndExpr->pLeft = pOrExpr; + pOrExpr = pAndExpr; + } + /* Loop through table entries that match term pOrTerm. */ + ExplainQueryPlan((pParse, 1, "INDEX %d", ii+1)); + WHERETRACE(0xffff, ("Subplan for OR-clause:\n")); + pSubWInfo = sqlite3WhereBegin(pParse, pOrTab, pOrExpr, 0, 0, + wctrlFlags, iCovCur); + assert( pSubWInfo || pParse->nErr || db->mallocFailed ); + if( pSubWInfo ){ + WhereLoop *pSubLoop; + int addrExplain = sqlite3WhereExplainOneScan( + pParse, pOrTab, &pSubWInfo->a[0], 0 + ); + sqlite3WhereAddScanStatus(v, pOrTab, &pSubWInfo->a[0], addrExplain); + + /* This is the sub-WHERE clause body. First skip over + ** duplicate rows from prior sub-WHERE clauses, and record the + ** rowid (or PRIMARY KEY) for the current row so that the same + ** row will be skipped in subsequent sub-WHERE clauses. + */ + if( (pWInfo->wctrlFlags & WHERE_DUPLICATES_OK)==0 ){ + int iSet = ((ii==pOrWc->nTerm-1)?-1:ii); + if( HasRowid(pTab) ){ + sqlite3ExprCodeGetColumnOfTable(v, pTab, iCur, -1, regRowid); + jmp1 = sqlite3VdbeAddOp4Int(v, OP_RowSetTest, regRowset, 0, + regRowid, iSet); + VdbeCoverage(v); + }else{ + Index *pPk = sqlite3PrimaryKeyIndex(pTab); + int nPk = pPk->nKeyCol; + int iPk; + int r; + + /* Read the PK into an array of temp registers. */ + r = sqlite3GetTempRange(pParse, nPk); + for(iPk=0; iPkaiColumn[iPk]; + sqlite3ExprCodeGetColumnOfTable(v, pTab, iCur, iCol, r+iPk); + } + + /* Check if the temp table already contains this key. If so, + ** the row has already been included in the result set and + ** can be ignored (by jumping past the Gosub below). Otherwise, + ** insert the key into the temp table and proceed with processing + ** the row. + ** + ** Use some of the same optimizations as OP_RowSetTest: If iSet + ** is zero, assume that the key cannot already be present in + ** the temp table. And if iSet is -1, assume that there is no + ** need to insert the key into the temp table, as it will never + ** be tested for. */ + if( iSet ){ + jmp1 = sqlite3VdbeAddOp4Int(v, OP_Found, regRowset, 0, r, nPk); + VdbeCoverage(v); + } + if( iSet>=0 ){ + sqlite3VdbeAddOp3(v, OP_MakeRecord, r, nPk, regRowid); + sqlite3VdbeAddOp4Int(v, OP_IdxInsert, regRowset, regRowid, + r, nPk); + if( iSet ) sqlite3VdbeChangeP5(v, OPFLAG_USESEEKRESULT); + } + + /* Release the array of temp registers */ + sqlite3ReleaseTempRange(pParse, r, nPk); + } + } + + /* Invoke the main loop body as a subroutine */ + sqlite3VdbeAddOp2(v, OP_Gosub, regReturn, iLoopBody); + + /* Jump here (skipping the main loop body subroutine) if the + ** current sub-WHERE row is a duplicate from prior sub-WHEREs. */ + if( jmp1 ) sqlite3VdbeJumpHere(v, jmp1); + + /* The pSubWInfo->untestedTerms flag means that this OR term + ** contained one or more AND term from a notReady table. The + ** terms from the notReady table could not be tested and will + ** need to be tested later. + */ + if( pSubWInfo->untestedTerms ) untestedTerms = 1; + + /* If all of the OR-connected terms are optimized using the same + ** index, and the index is opened using the same cursor number + ** by each call to sqlite3WhereBegin() made by this loop, it may + ** be possible to use that index as a covering index. + ** + ** If the call to sqlite3WhereBegin() above resulted in a scan that + ** uses an index, and this is either the first OR-connected term + ** processed or the index is the same as that used by all previous + ** terms, set pCov to the candidate covering index. Otherwise, set + ** pCov to NULL to indicate that no candidate covering index will + ** be available. + */ + pSubLoop = pSubWInfo->a[0].pWLoop; + assert( (pSubLoop->wsFlags & WHERE_AUTO_INDEX)==0 ); + if( (pSubLoop->wsFlags & WHERE_INDEXED)!=0 + && (ii==0 || pSubLoop->u.btree.pIndex==pCov) + && (HasRowid(pTab) || !IsPrimaryKeyIndex(pSubLoop->u.btree.pIndex)) + ){ + assert( pSubWInfo->a[0].iIdxCur==iCovCur ); + pCov = pSubLoop->u.btree.pIndex; + }else{ + pCov = 0; + } + + /* Finish the loop through table entries that match term pOrTerm. */ + sqlite3WhereEnd(pSubWInfo); + ExplainQueryPlanPop(pParse); + } + } + } + ExplainQueryPlanPop(pParse); + pLevel->u.pCovidx = pCov; + if( pCov ) pLevel->iIdxCur = iCovCur; + if( pAndExpr ){ + pAndExpr->pLeft = 0; + sqlite3ExprDelete(db, pAndExpr); + } + sqlite3VdbeChangeP1(v, iRetInit, sqlite3VdbeCurrentAddr(v)); + sqlite3VdbeGoto(v, pLevel->addrBrk); + sqlite3VdbeResolveLabel(v, iLoopBody); + + if( pWInfo->nLevel>1 ){ sqlite3StackFree(db, pOrTab); } + if( !untestedTerms ) disableTerm(pLevel, pTerm); + }else +#endif /* SQLITE_OMIT_OR_OPTIMIZATION */ + + { + /* Case 6: There is no usable index. We must do a complete + ** scan of the entire table. + */ + static const u8 aStep[] = { OP_Next, OP_Prev }; + static const u8 aStart[] = { OP_Rewind, OP_Last }; + assert( bRev==0 || bRev==1 ); + if( pTabItem->fg.isRecursive ){ + /* Tables marked isRecursive have only a single row that is stored in + ** a pseudo-cursor. No need to Rewind or Next such cursors. */ + pLevel->op = OP_Noop; + }else{ + codeCursorHint(pTabItem, pWInfo, pLevel, 0); + pLevel->op = aStep[bRev]; + pLevel->p1 = iCur; + pLevel->p2 = 1 + sqlite3VdbeAddOp2(v, aStart[bRev], iCur, addrHalt); + VdbeCoverageIf(v, bRev==0); + VdbeCoverageIf(v, bRev!=0); + pLevel->p5 = SQLITE_STMTSTATUS_FULLSCAN_STEP; + } + } + +#ifdef SQLITE_ENABLE_STMT_SCANSTATUS + pLevel->addrVisit = sqlite3VdbeCurrentAddr(v); +#endif + + /* Insert code to test every subexpression that can be completely + ** computed using the current set of tables. + ** + ** This loop may run between one and three times, depending on the + ** constraints to be generated. The value of stack variable iLoop + ** determines the constraints coded by each iteration, as follows: + ** + ** iLoop==1: Code only expressions that are entirely covered by pIdx. + ** iLoop==2: Code remaining expressions that do not contain correlated + ** sub-queries. + ** iLoop==3: Code all remaining expressions. + ** + ** An effort is made to skip unnecessary iterations of the loop. + */ + iLoop = (pIdx ? 1 : 2); + do{ + int iNext = 0; /* Next value for iLoop */ + for(pTerm=pWC->a, j=pWC->nTerm; j>0; j--, pTerm++){ + Expr *pE; + int skipLikeAddr = 0; + testcase( pTerm->wtFlags & TERM_VIRTUAL ); + testcase( pTerm->wtFlags & TERM_CODED ); + if( pTerm->wtFlags & (TERM_VIRTUAL|TERM_CODED) ) continue; + if( (pTerm->prereqAll & pLevel->notReady)!=0 ){ + testcase( pWInfo->untestedTerms==0 + && (pWInfo->wctrlFlags & WHERE_OR_SUBCLAUSE)!=0 ); + pWInfo->untestedTerms = 1; + continue; + } + pE = pTerm->pExpr; + assert( pE!=0 ); + if( (pTabItem->fg.jointype&JT_LEFT) && !ExprHasProperty(pE,EP_FromJoin) ){ + continue; + } + + if( iLoop==1 && !sqlite3ExprCoveredByIndex(pE, pLevel->iTabCur, pIdx) ){ + iNext = 2; + continue; + } + if( iLoop<3 && (pTerm->wtFlags & TERM_VARSELECT) ){ + if( iNext==0 ) iNext = 3; + continue; + } + + if( (pTerm->wtFlags & TERM_LIKECOND)!=0 ){ + /* If the TERM_LIKECOND flag is set, that means that the range search + ** is sufficient to guarantee that the LIKE operator is true, so we + ** can skip the call to the like(A,B) function. But this only works + ** for strings. So do not skip the call to the function on the pass + ** that compares BLOBs. */ +#ifdef SQLITE_LIKE_DOESNT_MATCH_BLOBS + continue; +#else + u32 x = pLevel->iLikeRepCntr; + if( x>0 ){ + skipLikeAddr = sqlite3VdbeAddOp1(v, (x&1)?OP_IfNot:OP_If,(int)(x>>1)); + VdbeCoverageIf(v, (x&1)==1); + VdbeCoverageIf(v, (x&1)==0); + } +#endif + } +#ifdef WHERETRACE_ENABLED /* 0xffff */ + if( sqlite3WhereTrace ){ + VdbeNoopComment((v, "WhereTerm[%d] (%p) priority=%d", + pWC->nTerm-j, pTerm, iLoop)); + } +#endif + sqlite3ExprIfFalse(pParse, pE, addrCont, SQLITE_JUMPIFNULL); + if( skipLikeAddr ) sqlite3VdbeJumpHere(v, skipLikeAddr); + pTerm->wtFlags |= TERM_CODED; + } + iLoop = iNext; + }while( iLoop>0 ); + + /* Insert code to test for implied constraints based on transitivity + ** of the "==" operator. + ** + ** Example: If the WHERE clause contains "t1.a=t2.b" and "t2.b=123" + ** and we are coding the t1 loop and the t2 loop has not yet coded, + ** then we cannot use the "t1.a=t2.b" constraint, but we can code + ** the implied "t1.a=123" constraint. + */ + for(pTerm=pWC->a, j=pWC->nTerm; j>0; j--, pTerm++){ + Expr *pE, sEAlt; + WhereTerm *pAlt; + if( pTerm->wtFlags & (TERM_VIRTUAL|TERM_CODED) ) continue; + if( (pTerm->eOperator & (WO_EQ|WO_IS))==0 ) continue; + if( (pTerm->eOperator & WO_EQUIV)==0 ) continue; + if( pTerm->leftCursor!=iCur ) continue; + if( pLevel->iLeftJoin ) continue; + pE = pTerm->pExpr; + assert( !ExprHasProperty(pE, EP_FromJoin) ); + assert( (pTerm->prereqRight & pLevel->notReady)!=0 ); + pAlt = sqlite3WhereFindTerm(pWC, iCur, pTerm->u.leftColumn, notReady, + WO_EQ|WO_IN|WO_IS, 0); + if( pAlt==0 ) continue; + if( pAlt->wtFlags & (TERM_CODED) ) continue; + if( (pAlt->eOperator & WO_IN) + && (pAlt->pExpr->flags & EP_xIsSelect) + && (pAlt->pExpr->x.pSelect->pEList->nExpr>1) + ){ + continue; + } + testcase( pAlt->eOperator & WO_EQ ); + testcase( pAlt->eOperator & WO_IS ); + testcase( pAlt->eOperator & WO_IN ); + VdbeModuleComment((v, "begin transitive constraint")); + sEAlt = *pAlt->pExpr; + sEAlt.pLeft = pE->pLeft; + sqlite3ExprIfFalse(pParse, &sEAlt, addrCont, SQLITE_JUMPIFNULL); + } + + /* For a LEFT OUTER JOIN, generate code that will record the fact that + ** at least one row of the right table has matched the left table. + */ + if( pLevel->iLeftJoin ){ + pLevel->addrFirst = sqlite3VdbeCurrentAddr(v); + sqlite3VdbeAddOp2(v, OP_Integer, 1, pLevel->iLeftJoin); + VdbeComment((v, "record LEFT JOIN hit")); + for(pTerm=pWC->a, j=0; jnTerm; j++, pTerm++){ + testcase( pTerm->wtFlags & TERM_VIRTUAL ); + testcase( pTerm->wtFlags & TERM_CODED ); + if( pTerm->wtFlags & (TERM_VIRTUAL|TERM_CODED) ) continue; + if( (pTerm->prereqAll & pLevel->notReady)!=0 ){ + assert( pWInfo->untestedTerms ); + continue; + } + assert( pTerm->pExpr ); + sqlite3ExprIfFalse(pParse, pTerm->pExpr, addrCont, SQLITE_JUMPIFNULL); + pTerm->wtFlags |= TERM_CODED; + } + } + + return pLevel->notReady; +} + +/************** End of wherecode.c *******************************************/ +/************** Begin file whereexpr.c ***************************************/ +/* +** 2015-06-08 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This module contains C code that generates VDBE code used to process +** the WHERE clause of SQL statements. +** +** This file was originally part of where.c but was split out to improve +** readability and editabiliity. This file contains utility routines for +** analyzing Expr objects in the WHERE clause. +*/ +/* #include "sqliteInt.h" */ +/* #include "whereInt.h" */ + +/* Forward declarations */ +static void exprAnalyze(SrcList*, WhereClause*, int); + +/* +** Deallocate all memory associated with a WhereOrInfo object. +*/ +static void whereOrInfoDelete(sqlite3 *db, WhereOrInfo *p){ + sqlite3WhereClauseClear(&p->wc); + sqlite3DbFree(db, p); +} + +/* +** Deallocate all memory associated with a WhereAndInfo object. +*/ +static void whereAndInfoDelete(sqlite3 *db, WhereAndInfo *p){ + sqlite3WhereClauseClear(&p->wc); + sqlite3DbFree(db, p); +} + +/* +** Add a single new WhereTerm entry to the WhereClause object pWC. +** The new WhereTerm object is constructed from Expr p and with wtFlags. +** The index in pWC->a[] of the new WhereTerm is returned on success. +** 0 is returned if the new WhereTerm could not be added due to a memory +** allocation error. The memory allocation failure will be recorded in +** the db->mallocFailed flag so that higher-level functions can detect it. +** +** This routine will increase the size of the pWC->a[] array as necessary. +** +** If the wtFlags argument includes TERM_DYNAMIC, then responsibility +** for freeing the expression p is assumed by the WhereClause object pWC. +** This is true even if this routine fails to allocate a new WhereTerm. +** +** WARNING: This routine might reallocate the space used to store +** WhereTerms. All pointers to WhereTerms should be invalidated after +** calling this routine. Such pointers may be reinitialized by referencing +** the pWC->a[] array. +*/ +static int whereClauseInsert(WhereClause *pWC, Expr *p, u16 wtFlags){ + WhereTerm *pTerm; + int idx; + testcase( wtFlags & TERM_VIRTUAL ); + if( pWC->nTerm>=pWC->nSlot ){ + WhereTerm *pOld = pWC->a; + sqlite3 *db = pWC->pWInfo->pParse->db; + pWC->a = sqlite3DbMallocRawNN(db, sizeof(pWC->a[0])*pWC->nSlot*2 ); + if( pWC->a==0 ){ + if( wtFlags & TERM_DYNAMIC ){ + sqlite3ExprDelete(db, p); + } + pWC->a = pOld; + return 0; + } + memcpy(pWC->a, pOld, sizeof(pWC->a[0])*pWC->nTerm); + if( pOld!=pWC->aStatic ){ + sqlite3DbFree(db, pOld); + } + pWC->nSlot = sqlite3DbMallocSize(db, pWC->a)/sizeof(pWC->a[0]); + } + pTerm = &pWC->a[idx = pWC->nTerm++]; + if( p && ExprHasProperty(p, EP_Unlikely) ){ + pTerm->truthProb = sqlite3LogEst(p->iTable) - 270; + }else{ + pTerm->truthProb = 1; + } + pTerm->pExpr = sqlite3ExprSkipCollateAndLikely(p); + pTerm->wtFlags = wtFlags; + pTerm->pWC = pWC; + pTerm->iParent = -1; + memset(&pTerm->eOperator, 0, + sizeof(WhereTerm) - offsetof(WhereTerm,eOperator)); + return idx; +} + +/* +** Return TRUE if the given operator is one of the operators that is +** allowed for an indexable WHERE clause term. The allowed operators are +** "=", "<", ">", "<=", ">=", "IN", "IS", and "IS NULL" +*/ +static int allowedOp(int op){ + assert( TK_GT>TK_EQ && TK_GTTK_EQ && TK_LTTK_EQ && TK_LE=TK_EQ && op<=TK_GE) || op==TK_ISNULL || op==TK_IS; +} + +/* +** Commute a comparison operator. Expressions of the form "X op Y" +** are converted into "Y op X". +** +** If left/right precedence rules come into play when determining the +** collating sequence, then COLLATE operators are adjusted to ensure +** that the collating sequence does not change. For example: +** "Y collate NOCASE op X" becomes "X op Y" because any collation sequence on +** the left hand side of a comparison overrides any collation sequence +** attached to the right. For the same reason the EP_Collate flag +** is not commuted. +** +** The return value is extra flags that are added to the WhereTerm object +** after it is commuted. The only extra flag ever added is TERM_NOPARTIDX +** which prevents the term from being used to enable a partial index if +** COLLATE changes have been made. +*/ +static u16 exprCommute(Parse *pParse, Expr *pExpr){ + u16 expRight = (pExpr->pRight->flags & EP_Collate); + u16 expLeft = (pExpr->pLeft->flags & EP_Collate); + u16 wtFlags = 0; + assert( allowedOp(pExpr->op) && pExpr->op!=TK_IN ); + if( expRight==expLeft ){ + /* Either X and Y both have COLLATE operator or neither do */ + if( expRight ){ + /* Both X and Y have COLLATE operators. Make sure X is always + ** used by clearing the EP_Collate flag from Y. */ + pExpr->pRight->flags &= ~EP_Collate; + wtFlags |= TERM_NOPARTIDX; + }else if( sqlite3ExprCollSeq(pParse, pExpr->pLeft)!=0 ){ + /* Neither X nor Y have COLLATE operators, but X has a non-default + ** collating sequence. So add the EP_Collate marker on X to cause + ** it to be searched first. */ + pExpr->pLeft->flags |= EP_Collate; + wtFlags |= TERM_NOPARTIDX; + } + } + SWAP(Expr*,pExpr->pRight,pExpr->pLeft); + if( pExpr->op>=TK_GT ){ + assert( TK_LT==TK_GT+2 ); + assert( TK_GE==TK_LE+2 ); + assert( TK_GT>TK_EQ ); + assert( TK_GTop>=TK_GT && pExpr->op<=TK_GE ); + pExpr->op = ((pExpr->op-TK_GT)^2)+TK_GT; + } + return wtFlags; +} + +/* +** Translate from TK_xx operator to WO_xx bitmask. +*/ +static u16 operatorMask(int op){ + u16 c; + assert( allowedOp(op) ); + if( op==TK_IN ){ + c = WO_IN; + }else if( op==TK_ISNULL ){ + c = WO_ISNULL; + }else if( op==TK_IS ){ + c = WO_IS; + }else{ + assert( (WO_EQ<<(op-TK_EQ)) < 0x7fff ); + c = (u16)(WO_EQ<<(op-TK_EQ)); + } + assert( op!=TK_ISNULL || c==WO_ISNULL ); + assert( op!=TK_IN || c==WO_IN ); + assert( op!=TK_EQ || c==WO_EQ ); + assert( op!=TK_LT || c==WO_LT ); + assert( op!=TK_LE || c==WO_LE ); + assert( op!=TK_GT || c==WO_GT ); + assert( op!=TK_GE || c==WO_GE ); + assert( op!=TK_IS || c==WO_IS ); + return c; +} + + +#ifndef SQLITE_OMIT_LIKE_OPTIMIZATION +/* +** Check to see if the given expression is a LIKE or GLOB operator that +** can be optimized using inequality constraints. Return TRUE if it is +** so and false if not. +** +** In order for the operator to be optimizible, the RHS must be a string +** literal that does not begin with a wildcard. The LHS must be a column +** that may only be NULL, a string, or a BLOB, never a number. (This means +** that virtual tables cannot participate in the LIKE optimization.) The +** collating sequence for the column on the LHS must be appropriate for +** the operator. +*/ +static int isLikeOrGlob( + Parse *pParse, /* Parsing and code generating context */ + Expr *pExpr, /* Test this expression */ + Expr **ppPrefix, /* Pointer to TK_STRING expression with pattern prefix */ + int *pisComplete, /* True if the only wildcard is % in the last character */ + int *pnoCase /* True if uppercase is equivalent to lowercase */ +){ + const u8 *z = 0; /* String on RHS of LIKE operator */ + Expr *pRight, *pLeft; /* Right and left size of LIKE operator */ + ExprList *pList; /* List of operands to the LIKE operator */ + u8 c; /* One character in z[] */ + int cnt; /* Number of non-wildcard prefix characters */ + u8 wc[4]; /* Wildcard characters */ + sqlite3 *db = pParse->db; /* Database connection */ + sqlite3_value *pVal = 0; + int op; /* Opcode of pRight */ + int rc; /* Result code to return */ + + if( !sqlite3IsLikeFunction(db, pExpr, pnoCase, (char*)wc) ){ + return 0; + } +#ifdef SQLITE_EBCDIC + if( *pnoCase ) return 0; +#endif + pList = pExpr->x.pList; + pLeft = pList->a[1].pExpr; + + pRight = sqlite3ExprSkipCollate(pList->a[0].pExpr); + op = pRight->op; + if( op==TK_VARIABLE && (db->flags & SQLITE_EnableQPSG)==0 ){ + Vdbe *pReprepare = pParse->pReprepare; + int iCol = pRight->iColumn; + pVal = sqlite3VdbeGetBoundValue(pReprepare, iCol, SQLITE_AFF_BLOB); + if( pVal && sqlite3_value_type(pVal)==SQLITE_TEXT ){ + z = sqlite3_value_text(pVal); + } + sqlite3VdbeSetVarmask(pParse->pVdbe, iCol); + assert( pRight->op==TK_VARIABLE || pRight->op==TK_REGISTER ); + }else if( op==TK_STRING ){ + z = (u8*)pRight->u.zToken; + } + if( z ){ + + /* Count the number of prefix characters prior to the first wildcard */ + cnt = 0; + while( (c=z[cnt])!=0 && c!=wc[0] && c!=wc[1] && c!=wc[2] ){ + cnt++; + if( c==wc[3] && z[cnt]!=0 ) cnt++; + } + + /* The optimization is possible only if (1) the pattern does not begin + ** with a wildcard and if (2) the non-wildcard prefix does not end with + ** an (illegal 0xff) character, or (3) the pattern does not consist of + ** a single escape character. The second condition is necessary so + ** that we can increment the prefix key to find an upper bound for the + ** range search. The third is because the caller assumes that the pattern + ** consists of at least one character after all escapes have been + ** removed. */ + if( cnt!=0 && 255!=(u8)z[cnt-1] && (cnt>1 || z[0]!=wc[3]) ){ + Expr *pPrefix; + + /* A "complete" match if the pattern ends with "*" or "%" */ + *pisComplete = c==wc[0] && z[cnt+1]==0; + + /* Get the pattern prefix. Remove all escapes from the prefix. */ + pPrefix = sqlite3Expr(db, TK_STRING, (char*)z); + if( pPrefix ){ + int iFrom, iTo; + char *zNew = pPrefix->u.zToken; + zNew[cnt] = 0; + for(iFrom=iTo=0; iFrom0 ); + + /* If the LHS is not an ordinary column with TEXT affinity, then the + ** pattern prefix boundaries (both the start and end boundaries) must + ** not look like a number. Otherwise the pattern might be treated as + ** a number, which will invalidate the LIKE optimization. + ** + ** Getting this right has been a persistent source of bugs in the + ** LIKE optimization. See, for example: + ** 2018-09-10 https://sqlite.org/src/info/c94369cae9b561b1 + ** 2019-05-02 https://sqlite.org/src/info/b043a54c3de54b28 + ** 2019-06-10 https://sqlite.org/src/info/fd76310a5e843e07 + ** 2019-06-14 https://sqlite.org/src/info/ce8717f0885af975 + ** 2019-09-03 https://sqlite.org/src/info/0f0428096f17252a + */ + if( pLeft->op!=TK_COLUMN + || sqlite3ExprAffinity(pLeft)!=SQLITE_AFF_TEXT + || IsVirtual(pLeft->y.pTab) /* Value might be numeric */ + ){ + int isNum; + double rDummy; + isNum = sqlite3AtoF(zNew, &rDummy, iTo, SQLITE_UTF8); + if( isNum<=0 ){ + if( iTo==1 && zNew[0]=='-' ){ + isNum = +1; + }else{ + zNew[iTo-1]++; + isNum = sqlite3AtoF(zNew, &rDummy, iTo, SQLITE_UTF8); + zNew[iTo-1]--; + } + } + if( isNum>0 ){ + sqlite3ExprDelete(db, pPrefix); + sqlite3ValueFree(pVal); + return 0; + } + } + } + *ppPrefix = pPrefix; + + /* If the RHS pattern is a bound parameter, make arrangements to + ** reprepare the statement when that parameter is rebound */ + if( op==TK_VARIABLE ){ + Vdbe *v = pParse->pVdbe; + sqlite3VdbeSetVarmask(v, pRight->iColumn); + if( *pisComplete && pRight->u.zToken[1] ){ + /* If the rhs of the LIKE expression is a variable, and the current + ** value of the variable means there is no need to invoke the LIKE + ** function, then no OP_Variable will be added to the program. + ** This causes problems for the sqlite3_bind_parameter_name() + ** API. To work around them, add a dummy OP_Variable here. + */ + int r1 = sqlite3GetTempReg(pParse); + sqlite3ExprCodeTarget(pParse, pRight, r1); + sqlite3VdbeChangeP3(v, sqlite3VdbeCurrentAddr(v)-1, 0); + sqlite3ReleaseTempReg(pParse, r1); + } + } + }else{ + z = 0; + } + } + + rc = (z!=0); + sqlite3ValueFree(pVal); + return rc; +} +#endif /* SQLITE_OMIT_LIKE_OPTIMIZATION */ + + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* +** Check to see if the pExpr expression is a form that needs to be passed +** to the xBestIndex method of virtual tables. Forms of interest include: +** +** Expression Virtual Table Operator +** ----------------------- --------------------------------- +** 1. column MATCH expr SQLITE_INDEX_CONSTRAINT_MATCH +** 2. column GLOB expr SQLITE_INDEX_CONSTRAINT_GLOB +** 3. column LIKE expr SQLITE_INDEX_CONSTRAINT_LIKE +** 4. column REGEXP expr SQLITE_INDEX_CONSTRAINT_REGEXP +** 5. column != expr SQLITE_INDEX_CONSTRAINT_NE +** 6. expr != column SQLITE_INDEX_CONSTRAINT_NE +** 7. column IS NOT expr SQLITE_INDEX_CONSTRAINT_ISNOT +** 8. expr IS NOT column SQLITE_INDEX_CONSTRAINT_ISNOT +** 9. column IS NOT NULL SQLITE_INDEX_CONSTRAINT_ISNOTNULL +** +** In every case, "column" must be a column of a virtual table. If there +** is a match, set *ppLeft to the "column" expression, set *ppRight to the +** "expr" expression (even though in forms (6) and (8) the column is on the +** right and the expression is on the left). Also set *peOp2 to the +** appropriate virtual table operator. The return value is 1 or 2 if there +** is a match. The usual return is 1, but if the RHS is also a column +** of virtual table in forms (5) or (7) then return 2. +** +** If the expression matches none of the patterns above, return 0. +*/ +static int isAuxiliaryVtabOperator( + sqlite3 *db, /* Parsing context */ + Expr *pExpr, /* Test this expression */ + unsigned char *peOp2, /* OUT: 0 for MATCH, or else an op2 value */ + Expr **ppLeft, /* Column expression to left of MATCH/op2 */ + Expr **ppRight /* Expression to left of MATCH/op2 */ +){ + if( pExpr->op==TK_FUNCTION ){ + static const struct Op2 { + const char *zOp; + unsigned char eOp2; + } aOp[] = { + { "match", SQLITE_INDEX_CONSTRAINT_MATCH }, + { "glob", SQLITE_INDEX_CONSTRAINT_GLOB }, + { "like", SQLITE_INDEX_CONSTRAINT_LIKE }, + { "regexp", SQLITE_INDEX_CONSTRAINT_REGEXP } + }; + ExprList *pList; + Expr *pCol; /* Column reference */ + int i; + + pList = pExpr->x.pList; + if( pList==0 || pList->nExpr!=2 ){ + return 0; + } + + /* Built-in operators MATCH, GLOB, LIKE, and REGEXP attach to a + ** virtual table on their second argument, which is the same as + ** the left-hand side operand in their in-fix form. + ** + ** vtab_column MATCH expression + ** MATCH(expression,vtab_column) + */ + pCol = pList->a[1].pExpr; + if( pCol->op==TK_COLUMN && IsVirtual(pCol->y.pTab) ){ + for(i=0; iu.zToken, aOp[i].zOp)==0 ){ + *peOp2 = aOp[i].eOp2; + *ppRight = pList->a[0].pExpr; + *ppLeft = pCol; + return 1; + } + } + } + + /* We can also match against the first column of overloaded + ** functions where xFindFunction returns a value of at least + ** SQLITE_INDEX_CONSTRAINT_FUNCTION. + ** + ** OVERLOADED(vtab_column,expression) + ** + ** Historically, xFindFunction expected to see lower-case function + ** names. But for this use case, xFindFunction is expected to deal + ** with function names in an arbitrary case. + */ + pCol = pList->a[0].pExpr; + if( pCol->op==TK_COLUMN && IsVirtual(pCol->y.pTab) ){ + sqlite3_vtab *pVtab; + sqlite3_module *pMod; + void (*xNotUsed)(sqlite3_context*,int,sqlite3_value**); + void *pNotUsed; + pVtab = sqlite3GetVTable(db, pCol->y.pTab)->pVtab; + assert( pVtab!=0 ); + assert( pVtab->pModule!=0 ); + pMod = (sqlite3_module *)pVtab->pModule; + if( pMod->xFindFunction!=0 ){ + i = pMod->xFindFunction(pVtab,2, pExpr->u.zToken, &xNotUsed, &pNotUsed); + if( i>=SQLITE_INDEX_CONSTRAINT_FUNCTION ){ + *peOp2 = i; + *ppRight = pList->a[1].pExpr; + *ppLeft = pCol; + return 1; + } + } + } + }else if( pExpr->op==TK_NE || pExpr->op==TK_ISNOT || pExpr->op==TK_NOTNULL ){ + int res = 0; + Expr *pLeft = pExpr->pLeft; + Expr *pRight = pExpr->pRight; + if( pLeft->op==TK_COLUMN && IsVirtual(pLeft->y.pTab) ){ + res++; + } + if( pRight && pRight->op==TK_COLUMN && IsVirtual(pRight->y.pTab) ){ + res++; + SWAP(Expr*, pLeft, pRight); + } + *ppLeft = pLeft; + *ppRight = pRight; + if( pExpr->op==TK_NE ) *peOp2 = SQLITE_INDEX_CONSTRAINT_NE; + if( pExpr->op==TK_ISNOT ) *peOp2 = SQLITE_INDEX_CONSTRAINT_ISNOT; + if( pExpr->op==TK_NOTNULL ) *peOp2 = SQLITE_INDEX_CONSTRAINT_ISNOTNULL; + return res; + } + return 0; +} +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +/* +** If the pBase expression originated in the ON or USING clause of +** a join, then transfer the appropriate markings over to derived. +*/ +static void transferJoinMarkings(Expr *pDerived, Expr *pBase){ + if( pDerived ){ + pDerived->flags |= pBase->flags & EP_FromJoin; + pDerived->iRightJoinTable = pBase->iRightJoinTable; + } +} + +/* +** Mark term iChild as being a child of term iParent +*/ +static void markTermAsChild(WhereClause *pWC, int iChild, int iParent){ + pWC->a[iChild].iParent = iParent; + pWC->a[iChild].truthProb = pWC->a[iParent].truthProb; + pWC->a[iParent].nChild++; +} + +/* +** Return the N-th AND-connected subterm of pTerm. Or if pTerm is not +** a conjunction, then return just pTerm when N==0. If N is exceeds +** the number of available subterms, return NULL. +*/ +static WhereTerm *whereNthSubterm(WhereTerm *pTerm, int N){ + if( pTerm->eOperator!=WO_AND ){ + return N==0 ? pTerm : 0; + } + if( Nu.pAndInfo->wc.nTerm ){ + return &pTerm->u.pAndInfo->wc.a[N]; + } + return 0; +} + +/* +** Subterms pOne and pTwo are contained within WHERE clause pWC. The +** two subterms are in disjunction - they are OR-ed together. +** +** If these two terms are both of the form: "A op B" with the same +** A and B values but different operators and if the operators are +** compatible (if one is = and the other is <, for example) then +** add a new virtual AND term to pWC that is the combination of the +** two. +** +** Some examples: +** +** x x<=y +** x=y OR x=y --> x=y +** x<=y OR x x<=y +** +** The following is NOT generated: +** +** xy --> x!=y +*/ +static void whereCombineDisjuncts( + SrcList *pSrc, /* the FROM clause */ + WhereClause *pWC, /* The complete WHERE clause */ + WhereTerm *pOne, /* First disjunct */ + WhereTerm *pTwo /* Second disjunct */ +){ + u16 eOp = pOne->eOperator | pTwo->eOperator; + sqlite3 *db; /* Database connection (for malloc) */ + Expr *pNew; /* New virtual expression */ + int op; /* Operator for the combined expression */ + int idxNew; /* Index in pWC of the next virtual term */ + + if( (pOne->eOperator & (WO_EQ|WO_LT|WO_LE|WO_GT|WO_GE))==0 ) return; + if( (pTwo->eOperator & (WO_EQ|WO_LT|WO_LE|WO_GT|WO_GE))==0 ) return; + if( (eOp & (WO_EQ|WO_LT|WO_LE))!=eOp + && (eOp & (WO_EQ|WO_GT|WO_GE))!=eOp ) return; + assert( pOne->pExpr->pLeft!=0 && pOne->pExpr->pRight!=0 ); + assert( pTwo->pExpr->pLeft!=0 && pTwo->pExpr->pRight!=0 ); + if( sqlite3ExprCompare(0,pOne->pExpr->pLeft, pTwo->pExpr->pLeft, -1) ) return; + if( sqlite3ExprCompare(0,pOne->pExpr->pRight, pTwo->pExpr->pRight,-1) )return; + /* If we reach this point, it means the two subterms can be combined */ + if( (eOp & (eOp-1))!=0 ){ + if( eOp & (WO_LT|WO_LE) ){ + eOp = WO_LE; + }else{ + assert( eOp & (WO_GT|WO_GE) ); + eOp = WO_GE; + } + } + db = pWC->pWInfo->pParse->db; + pNew = sqlite3ExprDup(db, pOne->pExpr, 0); + if( pNew==0 ) return; + for(op=TK_EQ; eOp!=(WO_EQ<<(op-TK_EQ)); op++){ assert( opop = op; + idxNew = whereClauseInsert(pWC, pNew, TERM_VIRTUAL|TERM_DYNAMIC); + exprAnalyze(pSrc, pWC, idxNew); +} + +#if !defined(SQLITE_OMIT_OR_OPTIMIZATION) && !defined(SQLITE_OMIT_SUBQUERY) +/* +** Analyze a term that consists of two or more OR-connected +** subterms. So in: +** +** ... WHERE (a=5) AND (b=7 OR c=9 OR d=13) AND (d=13) +** ^^^^^^^^^^^^^^^^^^^^ +** +** This routine analyzes terms such as the middle term in the above example. +** A WhereOrTerm object is computed and attached to the term under +** analysis, regardless of the outcome of the analysis. Hence: +** +** WhereTerm.wtFlags |= TERM_ORINFO +** WhereTerm.u.pOrInfo = a dynamically allocated WhereOrTerm object +** +** The term being analyzed must have two or more of OR-connected subterms. +** A single subterm might be a set of AND-connected sub-subterms. +** Examples of terms under analysis: +** +** (A) t1.x=t2.y OR t1.x=t2.z OR t1.y=15 OR t1.z=t3.a+5 +** (B) x=expr1 OR expr2=x OR x=expr3 +** (C) t1.x=t2.y OR (t1.x=t2.z AND t1.y=15) +** (D) x=expr1 OR (y>11 AND y<22 AND z LIKE '*hello*') +** (E) (p.a=1 AND q.b=2 AND r.c=3) OR (p.x=4 AND q.y=5 AND r.z=6) +** (F) x>A OR (x=A AND y>=B) +** +** CASE 1: +** +** If all subterms are of the form T.C=expr for some single column of C and +** a single table T (as shown in example B above) then create a new virtual +** term that is an equivalent IN expression. In other words, if the term +** being analyzed is: +** +** x = expr1 OR expr2 = x OR x = expr3 +** +** then create a new virtual term like this: +** +** x IN (expr1,expr2,expr3) +** +** CASE 2: +** +** If there are exactly two disjuncts and one side has x>A and the other side +** has x=A (for the same x and A) then add a new virtual conjunct term to the +** WHERE clause of the form "x>=A". Example: +** +** x>A OR (x=A AND y>B) adds: x>=A +** +** The added conjunct can sometimes be helpful in query planning. +** +** CASE 3: +** +** If all subterms are indexable by a single table T, then set +** +** WhereTerm.eOperator = WO_OR +** WhereTerm.u.pOrInfo->indexable |= the cursor number for table T +** +** A subterm is "indexable" if it is of the form +** "T.C " where C is any column of table T and +** is one of "=", "<", "<=", ">", ">=", "IS NULL", or "IN". +** A subterm is also indexable if it is an AND of two or more +** subsubterms at least one of which is indexable. Indexable AND +** subterms have their eOperator set to WO_AND and they have +** u.pAndInfo set to a dynamically allocated WhereAndTerm object. +** +** From another point of view, "indexable" means that the subterm could +** potentially be used with an index if an appropriate index exists. +** This analysis does not consider whether or not the index exists; that +** is decided elsewhere. This analysis only looks at whether subterms +** appropriate for indexing exist. +** +** All examples A through E above satisfy case 3. But if a term +** also satisfies case 1 (such as B) we know that the optimizer will +** always prefer case 1, so in that case we pretend that case 3 is not +** satisfied. +** +** It might be the case that multiple tables are indexable. For example, +** (E) above is indexable on tables P, Q, and R. +** +** Terms that satisfy case 3 are candidates for lookup by using +** separate indices to find rowids for each subterm and composing +** the union of all rowids using a RowSet object. This is similar +** to "bitmap indices" in other database engines. +** +** OTHERWISE: +** +** If none of cases 1, 2, or 3 apply, then leave the eOperator set to +** zero. This term is not useful for search. +*/ +static void exprAnalyzeOrTerm( + SrcList *pSrc, /* the FROM clause */ + WhereClause *pWC, /* the complete WHERE clause */ + int idxTerm /* Index of the OR-term to be analyzed */ +){ + WhereInfo *pWInfo = pWC->pWInfo; /* WHERE clause processing context */ + Parse *pParse = pWInfo->pParse; /* Parser context */ + sqlite3 *db = pParse->db; /* Database connection */ + WhereTerm *pTerm = &pWC->a[idxTerm]; /* The term to be analyzed */ + Expr *pExpr = pTerm->pExpr; /* The expression of the term */ + int i; /* Loop counters */ + WhereClause *pOrWc; /* Breakup of pTerm into subterms */ + WhereTerm *pOrTerm; /* A Sub-term within the pOrWc */ + WhereOrInfo *pOrInfo; /* Additional information associated with pTerm */ + Bitmask chngToIN; /* Tables that might satisfy case 1 */ + Bitmask indexable; /* Tables that are indexable, satisfying case 2 */ + + /* + ** Break the OR clause into its separate subterms. The subterms are + ** stored in a WhereClause structure containing within the WhereOrInfo + ** object that is attached to the original OR clause term. + */ + assert( (pTerm->wtFlags & (TERM_DYNAMIC|TERM_ORINFO|TERM_ANDINFO))==0 ); + assert( pExpr->op==TK_OR ); + pTerm->u.pOrInfo = pOrInfo = sqlite3DbMallocZero(db, sizeof(*pOrInfo)); + if( pOrInfo==0 ) return; + pTerm->wtFlags |= TERM_ORINFO; + pOrWc = &pOrInfo->wc; + memset(pOrWc->aStatic, 0, sizeof(pOrWc->aStatic)); + sqlite3WhereClauseInit(pOrWc, pWInfo); + sqlite3WhereSplit(pOrWc, pExpr, TK_OR); + sqlite3WhereExprAnalyze(pSrc, pOrWc); + if( db->mallocFailed ) return; + assert( pOrWc->nTerm>=2 ); + + /* + ** Compute the set of tables that might satisfy cases 1 or 3. + */ + indexable = ~(Bitmask)0; + chngToIN = ~(Bitmask)0; + for(i=pOrWc->nTerm-1, pOrTerm=pOrWc->a; i>=0 && indexable; i--, pOrTerm++){ + if( (pOrTerm->eOperator & WO_SINGLE)==0 ){ + WhereAndInfo *pAndInfo; + assert( (pOrTerm->wtFlags & (TERM_ANDINFO|TERM_ORINFO))==0 ); + chngToIN = 0; + pAndInfo = sqlite3DbMallocRawNN(db, sizeof(*pAndInfo)); + if( pAndInfo ){ + WhereClause *pAndWC; + WhereTerm *pAndTerm; + int j; + Bitmask b = 0; + pOrTerm->u.pAndInfo = pAndInfo; + pOrTerm->wtFlags |= TERM_ANDINFO; + pOrTerm->eOperator = WO_AND; + pAndWC = &pAndInfo->wc; + memset(pAndWC->aStatic, 0, sizeof(pAndWC->aStatic)); + sqlite3WhereClauseInit(pAndWC, pWC->pWInfo); + sqlite3WhereSplit(pAndWC, pOrTerm->pExpr, TK_AND); + sqlite3WhereExprAnalyze(pSrc, pAndWC); + pAndWC->pOuter = pWC; + if( !db->mallocFailed ){ + for(j=0, pAndTerm=pAndWC->a; jnTerm; j++, pAndTerm++){ + assert( pAndTerm->pExpr ); + if( allowedOp(pAndTerm->pExpr->op) + || pAndTerm->eOperator==WO_AUX + ){ + b |= sqlite3WhereGetMask(&pWInfo->sMaskSet, pAndTerm->leftCursor); + } + } + } + indexable &= b; + } + }else if( pOrTerm->wtFlags & TERM_COPIED ){ + /* Skip this term for now. We revisit it when we process the + ** corresponding TERM_VIRTUAL term */ + }else{ + Bitmask b; + b = sqlite3WhereGetMask(&pWInfo->sMaskSet, pOrTerm->leftCursor); + if( pOrTerm->wtFlags & TERM_VIRTUAL ){ + WhereTerm *pOther = &pOrWc->a[pOrTerm->iParent]; + b |= sqlite3WhereGetMask(&pWInfo->sMaskSet, pOther->leftCursor); + } + indexable &= b; + if( (pOrTerm->eOperator & WO_EQ)==0 ){ + chngToIN = 0; + }else{ + chngToIN &= b; + } + } + } + + /* + ** Record the set of tables that satisfy case 3. The set might be + ** empty. + */ + pOrInfo->indexable = indexable; + if( indexable ){ + pTerm->eOperator = WO_OR; + pWC->hasOr = 1; + }else{ + pTerm->eOperator = WO_OR; + } + + /* For a two-way OR, attempt to implementation case 2. + */ + if( indexable && pOrWc->nTerm==2 ){ + int iOne = 0; + WhereTerm *pOne; + while( (pOne = whereNthSubterm(&pOrWc->a[0],iOne++))!=0 ){ + int iTwo = 0; + WhereTerm *pTwo; + while( (pTwo = whereNthSubterm(&pOrWc->a[1],iTwo++))!=0 ){ + whereCombineDisjuncts(pSrc, pWC, pOne, pTwo); + } + } + } + + /* + ** chngToIN holds a set of tables that *might* satisfy case 1. But + ** we have to do some additional checking to see if case 1 really + ** is satisfied. + ** + ** chngToIN will hold either 0, 1, or 2 bits. The 0-bit case means + ** that there is no possibility of transforming the OR clause into an + ** IN operator because one or more terms in the OR clause contain + ** something other than == on a column in the single table. The 1-bit + ** case means that every term of the OR clause is of the form + ** "table.column=expr" for some single table. The one bit that is set + ** will correspond to the common table. We still need to check to make + ** sure the same column is used on all terms. The 2-bit case is when + ** the all terms are of the form "table1.column=table2.column". It + ** might be possible to form an IN operator with either table1.column + ** or table2.column as the LHS if either is common to every term of + ** the OR clause. + ** + ** Note that terms of the form "table.column1=table.column2" (the + ** same table on both sizes of the ==) cannot be optimized. + */ + if( chngToIN ){ + int okToChngToIN = 0; /* True if the conversion to IN is valid */ + int iColumn = -1; /* Column index on lhs of IN operator */ + int iCursor = -1; /* Table cursor common to all terms */ + int j = 0; /* Loop counter */ + + /* Search for a table and column that appears on one side or the + ** other of the == operator in every subterm. That table and column + ** will be recorded in iCursor and iColumn. There might not be any + ** such table and column. Set okToChngToIN if an appropriate table + ** and column is found but leave okToChngToIN false if not found. + */ + for(j=0; j<2 && !okToChngToIN; j++){ + Expr *pLeft = 0; + pOrTerm = pOrWc->a; + for(i=pOrWc->nTerm-1; i>=0; i--, pOrTerm++){ + assert( pOrTerm->eOperator & WO_EQ ); + pOrTerm->wtFlags &= ~TERM_OR_OK; + if( pOrTerm->leftCursor==iCursor ){ + /* This is the 2-bit case and we are on the second iteration and + ** current term is from the first iteration. So skip this term. */ + assert( j==1 ); + continue; + } + if( (chngToIN & sqlite3WhereGetMask(&pWInfo->sMaskSet, + pOrTerm->leftCursor))==0 ){ + /* This term must be of the form t1.a==t2.b where t2 is in the + ** chngToIN set but t1 is not. This term will be either preceded + ** or follwed by an inverted copy (t2.b==t1.a). Skip this term + ** and use its inversion. */ + testcase( pOrTerm->wtFlags & TERM_COPIED ); + testcase( pOrTerm->wtFlags & TERM_VIRTUAL ); + assert( pOrTerm->wtFlags & (TERM_COPIED|TERM_VIRTUAL) ); + continue; + } + iColumn = pOrTerm->u.leftColumn; + iCursor = pOrTerm->leftCursor; + pLeft = pOrTerm->pExpr->pLeft; + break; + } + if( i<0 ){ + /* No candidate table+column was found. This can only occur + ** on the second iteration */ + assert( j==1 ); + assert( IsPowerOfTwo(chngToIN) ); + assert( chngToIN==sqlite3WhereGetMask(&pWInfo->sMaskSet, iCursor) ); + break; + } + testcase( j==1 ); + + /* We have found a candidate table and column. Check to see if that + ** table and column is common to every term in the OR clause */ + okToChngToIN = 1; + for(; i>=0 && okToChngToIN; i--, pOrTerm++){ + assert( pOrTerm->eOperator & WO_EQ ); + if( pOrTerm->leftCursor!=iCursor ){ + pOrTerm->wtFlags &= ~TERM_OR_OK; + }else if( pOrTerm->u.leftColumn!=iColumn || (iColumn==XN_EXPR + && sqlite3ExprCompare(pParse, pOrTerm->pExpr->pLeft, pLeft, -1) + )){ + okToChngToIN = 0; + }else{ + int affLeft, affRight; + /* If the right-hand side is also a column, then the affinities + ** of both right and left sides must be such that no type + ** conversions are required on the right. (Ticket #2249) + */ + affRight = sqlite3ExprAffinity(pOrTerm->pExpr->pRight); + affLeft = sqlite3ExprAffinity(pOrTerm->pExpr->pLeft); + if( affRight!=0 && affRight!=affLeft ){ + okToChngToIN = 0; + }else{ + pOrTerm->wtFlags |= TERM_OR_OK; + } + } + } + } + + /* At this point, okToChngToIN is true if original pTerm satisfies + ** case 1. In that case, construct a new virtual term that is + ** pTerm converted into an IN operator. + */ + if( okToChngToIN ){ + Expr *pDup; /* A transient duplicate expression */ + ExprList *pList = 0; /* The RHS of the IN operator */ + Expr *pLeft = 0; /* The LHS of the IN operator */ + Expr *pNew; /* The complete IN operator */ + + for(i=pOrWc->nTerm-1, pOrTerm=pOrWc->a; i>=0; i--, pOrTerm++){ + if( (pOrTerm->wtFlags & TERM_OR_OK)==0 ) continue; + assert( pOrTerm->eOperator & WO_EQ ); + assert( pOrTerm->leftCursor==iCursor ); + assert( pOrTerm->u.leftColumn==iColumn ); + pDup = sqlite3ExprDup(db, pOrTerm->pExpr->pRight, 0); + pList = sqlite3ExprListAppend(pWInfo->pParse, pList, pDup); + pLeft = pOrTerm->pExpr->pLeft; + } + assert( pLeft!=0 ); + pDup = sqlite3ExprDup(db, pLeft, 0); + pNew = sqlite3PExpr(pParse, TK_IN, pDup, 0); + if( pNew ){ + int idxNew; + transferJoinMarkings(pNew, pExpr); + assert( !ExprHasProperty(pNew, EP_xIsSelect) ); + pNew->x.pList = pList; + idxNew = whereClauseInsert(pWC, pNew, TERM_VIRTUAL|TERM_DYNAMIC); + testcase( idxNew==0 ); + exprAnalyze(pSrc, pWC, idxNew); + /* pTerm = &pWC->a[idxTerm]; // would be needed if pTerm where used again */ + markTermAsChild(pWC, idxNew, idxTerm); + }else{ + sqlite3ExprListDelete(db, pList); + } + } + } +} +#endif /* !SQLITE_OMIT_OR_OPTIMIZATION && !SQLITE_OMIT_SUBQUERY */ + +/* +** We already know that pExpr is a binary operator where both operands are +** column references. This routine checks to see if pExpr is an equivalence +** relation: +** 1. The SQLITE_Transitive optimization must be enabled +** 2. Must be either an == or an IS operator +** 3. Not originating in the ON clause of an OUTER JOIN +** 4. The affinities of A and B must be compatible +** 5a. Both operands use the same collating sequence OR +** 5b. The overall collating sequence is BINARY +** If this routine returns TRUE, that means that the RHS can be substituted +** for the LHS anyplace else in the WHERE clause where the LHS column occurs. +** This is an optimization. No harm comes from returning 0. But if 1 is +** returned when it should not be, then incorrect answers might result. +*/ +static int termIsEquivalence(Parse *pParse, Expr *pExpr){ + char aff1, aff2; + CollSeq *pColl; + if( !OptimizationEnabled(pParse->db, SQLITE_Transitive) ) return 0; + if( pExpr->op!=TK_EQ && pExpr->op!=TK_IS ) return 0; + if( ExprHasProperty(pExpr, EP_FromJoin) ) return 0; + aff1 = sqlite3ExprAffinity(pExpr->pLeft); + aff2 = sqlite3ExprAffinity(pExpr->pRight); + if( aff1!=aff2 + && (!sqlite3IsNumericAffinity(aff1) || !sqlite3IsNumericAffinity(aff2)) + ){ + return 0; + } + pColl = sqlite3BinaryCompareCollSeq(pParse, pExpr->pLeft, pExpr->pRight); + if( sqlite3IsBinary(pColl) ) return 1; + return sqlite3ExprCollSeqMatch(pParse, pExpr->pLeft, pExpr->pRight); +} + +/* +** Recursively walk the expressions of a SELECT statement and generate +** a bitmask indicating which tables are used in that expression +** tree. +*/ +static Bitmask exprSelectUsage(WhereMaskSet *pMaskSet, Select *pS){ + Bitmask mask = 0; + while( pS ){ + SrcList *pSrc = pS->pSrc; + mask |= sqlite3WhereExprListUsage(pMaskSet, pS->pEList); + mask |= sqlite3WhereExprListUsage(pMaskSet, pS->pGroupBy); + mask |= sqlite3WhereExprListUsage(pMaskSet, pS->pOrderBy); + mask |= sqlite3WhereExprUsage(pMaskSet, pS->pWhere); + mask |= sqlite3WhereExprUsage(pMaskSet, pS->pHaving); + if( ALWAYS(pSrc!=0) ){ + int i; + for(i=0; inSrc; i++){ + mask |= exprSelectUsage(pMaskSet, pSrc->a[i].pSelect); + mask |= sqlite3WhereExprUsage(pMaskSet, pSrc->a[i].pOn); + if( pSrc->a[i].fg.isTabFunc ){ + mask |= sqlite3WhereExprListUsage(pMaskSet, pSrc->a[i].u1.pFuncArg); + } + } + } + pS = pS->pPrior; + } + return mask; +} + +/* +** Expression pExpr is one operand of a comparison operator that might +** be useful for indexing. This routine checks to see if pExpr appears +** in any index. Return TRUE (1) if pExpr is an indexed term and return +** FALSE (0) if not. If TRUE is returned, also set aiCurCol[0] to the cursor +** number of the table that is indexed and aiCurCol[1] to the column number +** of the column that is indexed, or XN_EXPR (-2) if an expression is being +** indexed. +** +** If pExpr is a TK_COLUMN column reference, then this routine always returns +** true even if that particular column is not indexed, because the column +** might be added to an automatic index later. +*/ +static SQLITE_NOINLINE int exprMightBeIndexed2( + SrcList *pFrom, /* The FROM clause */ + Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */ + int *aiCurCol, /* Write the referenced table cursor and column here */ + Expr *pExpr /* An operand of a comparison operator */ +){ + Index *pIdx; + int i; + int iCur; + for(i=0; mPrereq>1; i++, mPrereq>>=1){} + iCur = pFrom->a[i].iCursor; + for(pIdx=pFrom->a[i].pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + if( pIdx->aColExpr==0 ) continue; + for(i=0; inKeyCol; i++){ + if( pIdx->aiColumn[i]!=XN_EXPR ) continue; + if( sqlite3ExprCompareSkip(pExpr, pIdx->aColExpr->a[i].pExpr, iCur)==0 ){ + aiCurCol[0] = iCur; + aiCurCol[1] = XN_EXPR; + return 1; + } + } + } + return 0; +} +static int exprMightBeIndexed( + SrcList *pFrom, /* The FROM clause */ + Bitmask mPrereq, /* Bitmask of FROM clause terms referenced by pExpr */ + int *aiCurCol, /* Write the referenced table cursor & column here */ + Expr *pExpr, /* An operand of a comparison operator */ + int op /* The specific comparison operator */ +){ + /* If this expression is a vector to the left or right of a + ** inequality constraint (>, <, >= or <=), perform the processing + ** on the first element of the vector. */ + assert( TK_GT+1==TK_LE && TK_GT+2==TK_LT && TK_GT+3==TK_GE ); + assert( TK_ISop==TK_VECTOR && (op>=TK_GT && ALWAYS(op<=TK_GE)) ){ + pExpr = pExpr->x.pList->a[0].pExpr; + } + + if( pExpr->op==TK_COLUMN ){ + aiCurCol[0] = pExpr->iTable; + aiCurCol[1] = pExpr->iColumn; + return 1; + } + if( mPrereq==0 ) return 0; /* No table references */ + if( (mPrereq&(mPrereq-1))!=0 ) return 0; /* Refs more than one table */ + return exprMightBeIndexed2(pFrom,mPrereq,aiCurCol,pExpr); +} + +/* +** The input to this routine is an WhereTerm structure with only the +** "pExpr" field filled in. The job of this routine is to analyze the +** subexpression and populate all the other fields of the WhereTerm +** structure. +** +** If the expression is of the form " X" it gets commuted +** to the standard form of "X ". +** +** If the expression is of the form "X Y" where both X and Y are +** columns, then the original expression is unchanged and a new virtual +** term of the form "Y X" is added to the WHERE clause and +** analyzed separately. The original term is marked with TERM_COPIED +** and the new term is marked with TERM_DYNAMIC (because it's pExpr +** needs to be freed with the WhereClause) and TERM_VIRTUAL (because it +** is a commuted copy of a prior term.) The original term has nChild=1 +** and the copy has idxParent set to the index of the original term. +*/ +static void exprAnalyze( + SrcList *pSrc, /* the FROM clause */ + WhereClause *pWC, /* the WHERE clause */ + int idxTerm /* Index of the term to be analyzed */ +){ + WhereInfo *pWInfo = pWC->pWInfo; /* WHERE clause processing context */ + WhereTerm *pTerm; /* The term to be analyzed */ + WhereMaskSet *pMaskSet; /* Set of table index masks */ + Expr *pExpr; /* The expression to be analyzed */ + Bitmask prereqLeft; /* Prerequesites of the pExpr->pLeft */ + Bitmask prereqAll; /* Prerequesites of pExpr */ + Bitmask extraRight = 0; /* Extra dependencies on LEFT JOIN */ + Expr *pStr1 = 0; /* RHS of LIKE/GLOB operator */ + int isComplete = 0; /* RHS of LIKE/GLOB ends with wildcard */ + int noCase = 0; /* uppercase equivalent to lowercase */ + int op; /* Top-level operator. pExpr->op */ + Parse *pParse = pWInfo->pParse; /* Parsing context */ + sqlite3 *db = pParse->db; /* Database connection */ + unsigned char eOp2 = 0; /* op2 value for LIKE/REGEXP/GLOB */ + int nLeft; /* Number of elements on left side vector */ + + if( db->mallocFailed ){ + return; + } + pTerm = &pWC->a[idxTerm]; + pMaskSet = &pWInfo->sMaskSet; + pExpr = pTerm->pExpr; + assert( pExpr->op!=TK_AS && pExpr->op!=TK_COLLATE ); + prereqLeft = sqlite3WhereExprUsage(pMaskSet, pExpr->pLeft); + op = pExpr->op; + if( op==TK_IN ){ + assert( pExpr->pRight==0 ); + if( sqlite3ExprCheckIN(pParse, pExpr) ) return; + if( ExprHasProperty(pExpr, EP_xIsSelect) ){ + pTerm->prereqRight = exprSelectUsage(pMaskSet, pExpr->x.pSelect); + }else{ + pTerm->prereqRight = sqlite3WhereExprListUsage(pMaskSet, pExpr->x.pList); + } + }else if( op==TK_ISNULL ){ + pTerm->prereqRight = 0; + }else{ + pTerm->prereqRight = sqlite3WhereExprUsage(pMaskSet, pExpr->pRight); + } + pMaskSet->bVarSelect = 0; + prereqAll = sqlite3WhereExprUsageNN(pMaskSet, pExpr); + if( pMaskSet->bVarSelect ) pTerm->wtFlags |= TERM_VARSELECT; + if( ExprHasProperty(pExpr, EP_FromJoin) ){ + Bitmask x = sqlite3WhereGetMask(pMaskSet, pExpr->iRightJoinTable); + prereqAll |= x; + extraRight = x-1; /* ON clause terms may not be used with an index + ** on left table of a LEFT JOIN. Ticket #3015 */ + if( (prereqAll>>1)>=x ){ + sqlite3ErrorMsg(pParse, "ON clause references tables to its right"); + return; + } + } + pTerm->prereqAll = prereqAll; + pTerm->leftCursor = -1; + pTerm->iParent = -1; + pTerm->eOperator = 0; + if( allowedOp(op) ){ + int aiCurCol[2]; + Expr *pLeft = sqlite3ExprSkipCollate(pExpr->pLeft); + Expr *pRight = sqlite3ExprSkipCollate(pExpr->pRight); + u16 opMask = (pTerm->prereqRight & prereqLeft)==0 ? WO_ALL : WO_EQUIV; + + if( pTerm->iField>0 ){ + assert( op==TK_IN ); + assert( pLeft->op==TK_VECTOR ); + pLeft = pLeft->x.pList->a[pTerm->iField-1].pExpr; + } + + if( exprMightBeIndexed(pSrc, prereqLeft, aiCurCol, pLeft, op) ){ + pTerm->leftCursor = aiCurCol[0]; + pTerm->u.leftColumn = aiCurCol[1]; + pTerm->eOperator = operatorMask(op) & opMask; + } + if( op==TK_IS ) pTerm->wtFlags |= TERM_IS; + if( pRight + && exprMightBeIndexed(pSrc, pTerm->prereqRight, aiCurCol, pRight, op) + ){ + WhereTerm *pNew; + Expr *pDup; + u16 eExtraOp = 0; /* Extra bits for pNew->eOperator */ + assert( pTerm->iField==0 ); + if( pTerm->leftCursor>=0 ){ + int idxNew; + pDup = sqlite3ExprDup(db, pExpr, 0); + if( db->mallocFailed ){ + sqlite3ExprDelete(db, pDup); + return; + } + idxNew = whereClauseInsert(pWC, pDup, TERM_VIRTUAL|TERM_DYNAMIC); + if( idxNew==0 ) return; + pNew = &pWC->a[idxNew]; + markTermAsChild(pWC, idxNew, idxTerm); + if( op==TK_IS ) pNew->wtFlags |= TERM_IS; + pTerm = &pWC->a[idxTerm]; + pTerm->wtFlags |= TERM_COPIED; + + if( termIsEquivalence(pParse, pDup) ){ + pTerm->eOperator |= WO_EQUIV; + eExtraOp = WO_EQUIV; + } + }else{ + pDup = pExpr; + pNew = pTerm; + } + pNew->wtFlags |= exprCommute(pParse, pDup); + pNew->leftCursor = aiCurCol[0]; + pNew->u.leftColumn = aiCurCol[1]; + testcase( (prereqLeft | extraRight) != prereqLeft ); + pNew->prereqRight = prereqLeft | extraRight; + pNew->prereqAll = prereqAll; + pNew->eOperator = (operatorMask(pDup->op) + eExtraOp) & opMask; + } + } + +#ifndef SQLITE_OMIT_BETWEEN_OPTIMIZATION + /* If a term is the BETWEEN operator, create two new virtual terms + ** that define the range that the BETWEEN implements. For example: + ** + ** a BETWEEN b AND c + ** + ** is converted into: + ** + ** (a BETWEEN b AND c) AND (a>=b) AND (a<=c) + ** + ** The two new terms are added onto the end of the WhereClause object. + ** The new terms are "dynamic" and are children of the original BETWEEN + ** term. That means that if the BETWEEN term is coded, the children are + ** skipped. Or, if the children are satisfied by an index, the original + ** BETWEEN term is skipped. + */ + else if( pExpr->op==TK_BETWEEN && pWC->op==TK_AND ){ + ExprList *pList = pExpr->x.pList; + int i; + static const u8 ops[] = {TK_GE, TK_LE}; + assert( pList!=0 ); + assert( pList->nExpr==2 ); + for(i=0; i<2; i++){ + Expr *pNewExpr; + int idxNew; + pNewExpr = sqlite3PExpr(pParse, ops[i], + sqlite3ExprDup(db, pExpr->pLeft, 0), + sqlite3ExprDup(db, pList->a[i].pExpr, 0)); + transferJoinMarkings(pNewExpr, pExpr); + idxNew = whereClauseInsert(pWC, pNewExpr, TERM_VIRTUAL|TERM_DYNAMIC); + testcase( idxNew==0 ); + exprAnalyze(pSrc, pWC, idxNew); + pTerm = &pWC->a[idxTerm]; + markTermAsChild(pWC, idxNew, idxTerm); + } + } +#endif /* SQLITE_OMIT_BETWEEN_OPTIMIZATION */ + +#if !defined(SQLITE_OMIT_OR_OPTIMIZATION) && !defined(SQLITE_OMIT_SUBQUERY) + /* Analyze a term that is composed of two or more subterms connected by + ** an OR operator. + */ + else if( pExpr->op==TK_OR ){ + assert( pWC->op==TK_AND ); + exprAnalyzeOrTerm(pSrc, pWC, idxTerm); + pTerm = &pWC->a[idxTerm]; + } +#endif /* SQLITE_OMIT_OR_OPTIMIZATION */ + +#ifndef SQLITE_OMIT_LIKE_OPTIMIZATION + /* Add constraints to reduce the search space on a LIKE or GLOB + ** operator. + ** + ** A like pattern of the form "x LIKE 'aBc%'" is changed into constraints + ** + ** x>='ABC' AND x<'abd' AND x LIKE 'aBc%' + ** + ** The last character of the prefix "abc" is incremented to form the + ** termination condition "abd". If case is not significant (the default + ** for LIKE) then the lower-bound is made all uppercase and the upper- + ** bound is made all lowercase so that the bounds also work when comparing + ** BLOBs. + */ + if( pWC->op==TK_AND + && isLikeOrGlob(pParse, pExpr, &pStr1, &isComplete, &noCase) + ){ + Expr *pLeft; /* LHS of LIKE/GLOB operator */ + Expr *pStr2; /* Copy of pStr1 - RHS of LIKE/GLOB operator */ + Expr *pNewExpr1; + Expr *pNewExpr2; + int idxNew1; + int idxNew2; + const char *zCollSeqName; /* Name of collating sequence */ + const u16 wtFlags = TERM_LIKEOPT | TERM_VIRTUAL | TERM_DYNAMIC; + + pLeft = pExpr->x.pList->a[1].pExpr; + pStr2 = sqlite3ExprDup(db, pStr1, 0); + + /* Convert the lower bound to upper-case and the upper bound to + ** lower-case (upper-case is less than lower-case in ASCII) so that + ** the range constraints also work for BLOBs + */ + if( noCase && !pParse->db->mallocFailed ){ + int i; + char c; + pTerm->wtFlags |= TERM_LIKE; + for(i=0; (c = pStr1->u.zToken[i])!=0; i++){ + pStr1->u.zToken[i] = sqlite3Toupper(c); + pStr2->u.zToken[i] = sqlite3Tolower(c); + } + } + + if( !db->mallocFailed ){ + u8 c, *pC; /* Last character before the first wildcard */ + pC = (u8*)&pStr2->u.zToken[sqlite3Strlen30(pStr2->u.zToken)-1]; + c = *pC; + if( noCase ){ + /* The point is to increment the last character before the first + ** wildcard. But if we increment '@', that will push it into the + ** alphabetic range where case conversions will mess up the + ** inequality. To avoid this, make sure to also run the full + ** LIKE on all candidate expressions by clearing the isComplete flag + */ + if( c=='A'-1 ) isComplete = 0; + c = sqlite3UpperToLower[c]; + } + *pC = c + 1; + } + zCollSeqName = noCase ? "NOCASE" : sqlite3StrBINARY; + pNewExpr1 = sqlite3ExprDup(db, pLeft, 0); + pNewExpr1 = sqlite3PExpr(pParse, TK_GE, + sqlite3ExprAddCollateString(pParse,pNewExpr1,zCollSeqName), + pStr1); + transferJoinMarkings(pNewExpr1, pExpr); + idxNew1 = whereClauseInsert(pWC, pNewExpr1, wtFlags); + testcase( idxNew1==0 ); + exprAnalyze(pSrc, pWC, idxNew1); + pNewExpr2 = sqlite3ExprDup(db, pLeft, 0); + pNewExpr2 = sqlite3PExpr(pParse, TK_LT, + sqlite3ExprAddCollateString(pParse,pNewExpr2,zCollSeqName), + pStr2); + transferJoinMarkings(pNewExpr2, pExpr); + idxNew2 = whereClauseInsert(pWC, pNewExpr2, wtFlags); + testcase( idxNew2==0 ); + exprAnalyze(pSrc, pWC, idxNew2); + pTerm = &pWC->a[idxTerm]; + if( isComplete ){ + markTermAsChild(pWC, idxNew1, idxTerm); + markTermAsChild(pWC, idxNew2, idxTerm); + } + } +#endif /* SQLITE_OMIT_LIKE_OPTIMIZATION */ + +#ifndef SQLITE_OMIT_VIRTUALTABLE + /* Add a WO_AUX auxiliary term to the constraint set if the + ** current expression is of the form "column OP expr" where OP + ** is an operator that gets passed into virtual tables but which is + ** not normally optimized for ordinary tables. In other words, OP + ** is one of MATCH, LIKE, GLOB, REGEXP, !=, IS, IS NOT, or NOT NULL. + ** This information is used by the xBestIndex methods of + ** virtual tables. The native query optimizer does not attempt + ** to do anything with MATCH functions. + */ + if( pWC->op==TK_AND ){ + Expr *pRight = 0, *pLeft = 0; + int res = isAuxiliaryVtabOperator(db, pExpr, &eOp2, &pLeft, &pRight); + while( res-- > 0 ){ + int idxNew; + WhereTerm *pNewTerm; + Bitmask prereqColumn, prereqExpr; + + prereqExpr = sqlite3WhereExprUsage(pMaskSet, pRight); + prereqColumn = sqlite3WhereExprUsage(pMaskSet, pLeft); + if( (prereqExpr & prereqColumn)==0 ){ + Expr *pNewExpr; + pNewExpr = sqlite3PExpr(pParse, TK_MATCH, + 0, sqlite3ExprDup(db, pRight, 0)); + if( ExprHasProperty(pExpr, EP_FromJoin) && pNewExpr ){ + ExprSetProperty(pNewExpr, EP_FromJoin); + } + idxNew = whereClauseInsert(pWC, pNewExpr, TERM_VIRTUAL|TERM_DYNAMIC); + testcase( idxNew==0 ); + pNewTerm = &pWC->a[idxNew]; + pNewTerm->prereqRight = prereqExpr; + pNewTerm->leftCursor = pLeft->iTable; + pNewTerm->u.leftColumn = pLeft->iColumn; + pNewTerm->eOperator = WO_AUX; + pNewTerm->eMatchOp = eOp2; + markTermAsChild(pWC, idxNew, idxTerm); + pTerm = &pWC->a[idxTerm]; + pTerm->wtFlags |= TERM_COPIED; + pNewTerm->prereqAll = pTerm->prereqAll; + } + SWAP(Expr*, pLeft, pRight); + } + } +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + + /* If there is a vector == or IS term - e.g. "(a, b) == (?, ?)" - create + ** new terms for each component comparison - "a = ?" and "b = ?". The + ** new terms completely replace the original vector comparison, which is + ** no longer used. + ** + ** This is only required if at least one side of the comparison operation + ** is not a sub-select. */ + if( pWC->op==TK_AND + && (pExpr->op==TK_EQ || pExpr->op==TK_IS) + && (nLeft = sqlite3ExprVectorSize(pExpr->pLeft))>1 + && sqlite3ExprVectorSize(pExpr->pRight)==nLeft + && ( (pExpr->pLeft->flags & EP_xIsSelect)==0 + || (pExpr->pRight->flags & EP_xIsSelect)==0) + ){ + int i; + for(i=0; ipLeft, i); + Expr *pRight = sqlite3ExprForVectorField(pParse, pExpr->pRight, i); + + pNew = sqlite3PExpr(pParse, pExpr->op, pLeft, pRight); + transferJoinMarkings(pNew, pExpr); + idxNew = whereClauseInsert(pWC, pNew, TERM_DYNAMIC); + exprAnalyze(pSrc, pWC, idxNew); + } + pTerm = &pWC->a[idxTerm]; + pTerm->wtFlags |= TERM_CODED|TERM_VIRTUAL; /* Disable the original */ + pTerm->eOperator = 0; + } + + /* If there is a vector IN term - e.g. "(a, b) IN (SELECT ...)" - create + ** a virtual term for each vector component. The expression object + ** used by each such virtual term is pExpr (the full vector IN(...) + ** expression). The WhereTerm.iField variable identifies the index within + ** the vector on the LHS that the virtual term represents. + ** + ** This only works if the RHS is a simple SELECT, not a compound + */ + if( pWC->op==TK_AND && pExpr->op==TK_IN && pTerm->iField==0 + && pExpr->pLeft->op==TK_VECTOR + && pExpr->x.pSelect->pPrior==0 + ){ + int i; + for(i=0; ipLeft); i++){ + int idxNew; + idxNew = whereClauseInsert(pWC, pExpr, TERM_VIRTUAL); + pWC->a[idxNew].iField = i+1; + exprAnalyze(pSrc, pWC, idxNew); + markTermAsChild(pWC, idxNew, idxTerm); + } + } + +#ifdef SQLITE_ENABLE_STAT4 + /* When sqlite_stat4 histogram data is available an operator of the + ** form "x IS NOT NULL" can sometimes be evaluated more efficiently + ** as "x>NULL" if x is not an INTEGER PRIMARY KEY. So construct a + ** virtual term of that form. + ** + ** Note that the virtual term must be tagged with TERM_VNULL. + */ + if( pExpr->op==TK_NOTNULL + && pExpr->pLeft->op==TK_COLUMN + && pExpr->pLeft->iColumn>=0 + && !ExprHasProperty(pExpr, EP_FromJoin) + && OptimizationEnabled(db, SQLITE_Stat4) + ){ + Expr *pNewExpr; + Expr *pLeft = pExpr->pLeft; + int idxNew; + WhereTerm *pNewTerm; + + pNewExpr = sqlite3PExpr(pParse, TK_GT, + sqlite3ExprDup(db, pLeft, 0), + sqlite3ExprAlloc(db, TK_NULL, 0, 0)); + + idxNew = whereClauseInsert(pWC, pNewExpr, + TERM_VIRTUAL|TERM_DYNAMIC|TERM_VNULL); + if( idxNew ){ + pNewTerm = &pWC->a[idxNew]; + pNewTerm->prereqRight = 0; + pNewTerm->leftCursor = pLeft->iTable; + pNewTerm->u.leftColumn = pLeft->iColumn; + pNewTerm->eOperator = WO_GT; + markTermAsChild(pWC, idxNew, idxTerm); + pTerm = &pWC->a[idxTerm]; + pTerm->wtFlags |= TERM_COPIED; + pNewTerm->prereqAll = pTerm->prereqAll; + } + } +#endif /* SQLITE_ENABLE_STAT4 */ + + /* Prevent ON clause terms of a LEFT JOIN from being used to drive + ** an index for tables to the left of the join. + */ + testcase( pTerm!=&pWC->a[idxTerm] ); + pTerm = &pWC->a[idxTerm]; + pTerm->prereqRight |= extraRight; +} + +/*************************************************************************** +** Routines with file scope above. Interface to the rest of the where.c +** subsystem follows. +***************************************************************************/ + +/* +** This routine identifies subexpressions in the WHERE clause where +** each subexpression is separated by the AND operator or some other +** operator specified in the op parameter. The WhereClause structure +** is filled with pointers to subexpressions. For example: +** +** WHERE a=='hello' AND coalesce(b,11)<10 AND (c+12!=d OR c==22) +** \________/ \_______________/ \________________/ +** slot[0] slot[1] slot[2] +** +** The original WHERE clause in pExpr is unaltered. All this routine +** does is make slot[] entries point to substructure within pExpr. +** +** In the previous sentence and in the diagram, "slot[]" refers to +** the WhereClause.a[] array. The slot[] array grows as needed to contain +** all terms of the WHERE clause. +*/ +SQLITE_PRIVATE void sqlite3WhereSplit(WhereClause *pWC, Expr *pExpr, u8 op){ + Expr *pE2 = sqlite3ExprSkipCollateAndLikely(pExpr); + pWC->op = op; + if( pE2==0 ) return; + if( pE2->op!=op ){ + whereClauseInsert(pWC, pExpr, 0); + }else{ + sqlite3WhereSplit(pWC, pE2->pLeft, op); + sqlite3WhereSplit(pWC, pE2->pRight, op); + } +} + +/* +** Initialize a preallocated WhereClause structure. +*/ +SQLITE_PRIVATE void sqlite3WhereClauseInit( + WhereClause *pWC, /* The WhereClause to be initialized */ + WhereInfo *pWInfo /* The WHERE processing context */ +){ + pWC->pWInfo = pWInfo; + pWC->hasOr = 0; + pWC->pOuter = 0; + pWC->nTerm = 0; + pWC->nSlot = ArraySize(pWC->aStatic); + pWC->a = pWC->aStatic; +} + +/* +** Deallocate a WhereClause structure. The WhereClause structure +** itself is not freed. This routine is the inverse of +** sqlite3WhereClauseInit(). +*/ +SQLITE_PRIVATE void sqlite3WhereClauseClear(WhereClause *pWC){ + int i; + WhereTerm *a; + sqlite3 *db = pWC->pWInfo->pParse->db; + for(i=pWC->nTerm-1, a=pWC->a; i>=0; i--, a++){ + if( a->wtFlags & TERM_DYNAMIC ){ + sqlite3ExprDelete(db, a->pExpr); + } + if( a->wtFlags & TERM_ORINFO ){ + whereOrInfoDelete(db, a->u.pOrInfo); + }else if( a->wtFlags & TERM_ANDINFO ){ + whereAndInfoDelete(db, a->u.pAndInfo); + } + } + if( pWC->a!=pWC->aStatic ){ + sqlite3DbFree(db, pWC->a); + } +} + + +/* +** These routines walk (recursively) an expression tree and generate +** a bitmask indicating which tables are used in that expression +** tree. +*/ +SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(WhereMaskSet *pMaskSet, Expr *p){ + Bitmask mask; + if( p->op==TK_COLUMN && !ExprHasProperty(p, EP_FixedCol) ){ + return sqlite3WhereGetMask(pMaskSet, p->iTable); + }else if( ExprHasProperty(p, EP_TokenOnly|EP_Leaf) ){ + assert( p->op!=TK_IF_NULL_ROW ); + return 0; + } + mask = (p->op==TK_IF_NULL_ROW) ? sqlite3WhereGetMask(pMaskSet, p->iTable) : 0; + if( p->pLeft ) mask |= sqlite3WhereExprUsageNN(pMaskSet, p->pLeft); + if( p->pRight ){ + mask |= sqlite3WhereExprUsageNN(pMaskSet, p->pRight); + assert( p->x.pList==0 ); + }else if( ExprHasProperty(p, EP_xIsSelect) ){ + if( ExprHasProperty(p, EP_VarSelect) ) pMaskSet->bVarSelect = 1; + mask |= exprSelectUsage(pMaskSet, p->x.pSelect); + }else if( p->x.pList ){ + mask |= sqlite3WhereExprListUsage(pMaskSet, p->x.pList); + } +#ifndef SQLITE_OMIT_WINDOWFUNC + if( p->op==TK_FUNCTION && p->y.pWin ){ + mask |= sqlite3WhereExprListUsage(pMaskSet, p->y.pWin->pPartition); + mask |= sqlite3WhereExprListUsage(pMaskSet, p->y.pWin->pOrderBy); + } +#endif + return mask; +} +SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(WhereMaskSet *pMaskSet, Expr *p){ + return p ? sqlite3WhereExprUsageNN(pMaskSet,p) : 0; +} +SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(WhereMaskSet *pMaskSet, ExprList *pList){ + int i; + Bitmask mask = 0; + if( pList ){ + for(i=0; inExpr; i++){ + mask |= sqlite3WhereExprUsage(pMaskSet, pList->a[i].pExpr); + } + } + return mask; +} + + +/* +** Call exprAnalyze on all terms in a WHERE clause. +** +** Note that exprAnalyze() might add new virtual terms onto the +** end of the WHERE clause. We do not want to analyze these new +** virtual terms, so start analyzing at the end and work forward +** so that the added virtual terms are never processed. +*/ +SQLITE_PRIVATE void sqlite3WhereExprAnalyze( + SrcList *pTabList, /* the FROM clause */ + WhereClause *pWC /* the WHERE clause to be analyzed */ +){ + int i; + for(i=pWC->nTerm-1; i>=0; i--){ + exprAnalyze(pTabList, pWC, i); + } +} + +/* +** For table-valued-functions, transform the function arguments into +** new WHERE clause terms. +** +** Each function argument translates into an equality constraint against +** a HIDDEN column in the table. +*/ +SQLITE_PRIVATE void sqlite3WhereTabFuncArgs( + Parse *pParse, /* Parsing context */ + struct SrcList_item *pItem, /* The FROM clause term to process */ + WhereClause *pWC /* Xfer function arguments to here */ +){ + Table *pTab; + int j, k; + ExprList *pArgs; + Expr *pColRef; + Expr *pTerm; + if( pItem->fg.isTabFunc==0 ) return; + pTab = pItem->pTab; + assert( pTab!=0 ); + pArgs = pItem->u1.pFuncArg; + if( pArgs==0 ) return; + for(j=k=0; jnExpr; j++){ + Expr *pRhs; + while( knCol && (pTab->aCol[k].colFlags & COLFLAG_HIDDEN)==0 ){k++;} + if( k>=pTab->nCol ){ + sqlite3ErrorMsg(pParse, "too many arguments on %s() - max %d", + pTab->zName, j); + return; + } + pColRef = sqlite3ExprAlloc(pParse->db, TK_COLUMN, 0, 0); + if( pColRef==0 ) return; + pColRef->iTable = pItem->iCursor; + pColRef->iColumn = k++; + pColRef->y.pTab = pTab; + pRhs = sqlite3PExpr(pParse, TK_UPLUS, + sqlite3ExprDup(pParse->db, pArgs->a[j].pExpr, 0), 0); + pTerm = sqlite3PExpr(pParse, TK_EQ, pColRef, pRhs); + whereClauseInsert(pWC, pTerm, TERM_DYNAMIC); + } +} + +/************** End of whereexpr.c *******************************************/ +/************** Begin file where.c *******************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This module contains C code that generates VDBE code used to process +** the WHERE clause of SQL statements. This module is responsible for +** generating the code that loops through a table looking for applicable +** rows. Indices are selected and used to speed the search when doing +** so is applicable. Because this module is responsible for selecting +** indices, you might also think of this module as the "query optimizer". +*/ +/* #include "sqliteInt.h" */ +/* #include "whereInt.h" */ + +/* +** Extra information appended to the end of sqlite3_index_info but not +** visible to the xBestIndex function, at least not directly. The +** sqlite3_vtab_collation() interface knows how to reach it, however. +** +** This object is not an API and can be changed from one release to the +** next. As long as allocateIndexInfo() and sqlite3_vtab_collation() +** agree on the structure, all will be well. +*/ +typedef struct HiddenIndexInfo HiddenIndexInfo; +struct HiddenIndexInfo { + WhereClause *pWC; /* The Where clause being analyzed */ + Parse *pParse; /* The parsing context */ +}; + +/* Forward declaration of methods */ +static int whereLoopResize(sqlite3*, WhereLoop*, int); + +/* Test variable that can be set to enable WHERE tracing */ +#if defined(SQLITE_TEST) || defined(SQLITE_DEBUG) +/***/ int sqlite3WhereTrace = 0; +#endif + + +/* +** Return the estimated number of output rows from a WHERE clause +*/ +SQLITE_PRIVATE LogEst sqlite3WhereOutputRowCount(WhereInfo *pWInfo){ + return pWInfo->nRowOut; +} + +/* +** Return one of the WHERE_DISTINCT_xxxxx values to indicate how this +** WHERE clause returns outputs for DISTINCT processing. +*/ +SQLITE_PRIVATE int sqlite3WhereIsDistinct(WhereInfo *pWInfo){ + return pWInfo->eDistinct; +} + +/* +** Return TRUE if the WHERE clause returns rows in ORDER BY order. +** Return FALSE if the output needs to be sorted. +*/ +SQLITE_PRIVATE int sqlite3WhereIsOrdered(WhereInfo *pWInfo){ + return pWInfo->nOBSat; +} + +/* +** In the ORDER BY LIMIT optimization, if the inner-most loop is known +** to emit rows in increasing order, and if the last row emitted by the +** inner-most loop did not fit within the sorter, then we can skip all +** subsequent rows for the current iteration of the inner loop (because they +** will not fit in the sorter either) and continue with the second inner +** loop - the loop immediately outside the inner-most. +** +** When a row does not fit in the sorter (because the sorter already +** holds LIMIT+OFFSET rows that are smaller), then a jump is made to the +** label returned by this function. +** +** If the ORDER BY LIMIT optimization applies, the jump destination should +** be the continuation for the second-inner-most loop. If the ORDER BY +** LIMIT optimization does not apply, then the jump destination should +** be the continuation for the inner-most loop. +** +** It is always safe for this routine to return the continuation of the +** inner-most loop, in the sense that a correct answer will result. +** Returning the continuation the second inner loop is an optimization +** that might make the code run a little faster, but should not change +** the final answer. +*/ +SQLITE_PRIVATE int sqlite3WhereOrderByLimitOptLabel(WhereInfo *pWInfo){ + WhereLevel *pInner; + if( !pWInfo->bOrderedInnerLoop ){ + /* The ORDER BY LIMIT optimization does not apply. Jump to the + ** continuation of the inner-most loop. */ + return pWInfo->iContinue; + } + pInner = &pWInfo->a[pWInfo->nLevel-1]; + assert( pInner->addrNxt!=0 ); + return pInner->addrNxt; +} + +/* +** Return the VDBE address or label to jump to in order to continue +** immediately with the next row of a WHERE clause. +*/ +SQLITE_PRIVATE int sqlite3WhereContinueLabel(WhereInfo *pWInfo){ + assert( pWInfo->iContinue!=0 ); + return pWInfo->iContinue; +} + +/* +** Return the VDBE address or label to jump to in order to break +** out of a WHERE loop. +*/ +SQLITE_PRIVATE int sqlite3WhereBreakLabel(WhereInfo *pWInfo){ + return pWInfo->iBreak; +} + +/* +** Return ONEPASS_OFF (0) if an UPDATE or DELETE statement is unable to +** operate directly on the rowis returned by a WHERE clause. Return +** ONEPASS_SINGLE (1) if the statement can operation directly because only +** a single row is to be changed. Return ONEPASS_MULTI (2) if the one-pass +** optimization can be used on multiple +** +** If the ONEPASS optimization is used (if this routine returns true) +** then also write the indices of open cursors used by ONEPASS +** into aiCur[0] and aiCur[1]. iaCur[0] gets the cursor of the data +** table and iaCur[1] gets the cursor used by an auxiliary index. +** Either value may be -1, indicating that cursor is not used. +** Any cursors returned will have been opened for writing. +** +** aiCur[0] and aiCur[1] both get -1 if the where-clause logic is +** unable to use the ONEPASS optimization. +*/ +SQLITE_PRIVATE int sqlite3WhereOkOnePass(WhereInfo *pWInfo, int *aiCur){ + memcpy(aiCur, pWInfo->aiCurOnePass, sizeof(int)*2); +#ifdef WHERETRACE_ENABLED + if( sqlite3WhereTrace && pWInfo->eOnePass!=ONEPASS_OFF ){ + sqlite3DebugPrintf("%s cursors: %d %d\n", + pWInfo->eOnePass==ONEPASS_SINGLE ? "ONEPASS_SINGLE" : "ONEPASS_MULTI", + aiCur[0], aiCur[1]); + } +#endif + return pWInfo->eOnePass; +} + +/* +** Move the content of pSrc into pDest +*/ +static void whereOrMove(WhereOrSet *pDest, WhereOrSet *pSrc){ + pDest->n = pSrc->n; + memcpy(pDest->a, pSrc->a, pDest->n*sizeof(pDest->a[0])); +} + +/* +** Try to insert a new prerequisite/cost entry into the WhereOrSet pSet. +** +** The new entry might overwrite an existing entry, or it might be +** appended, or it might be discarded. Do whatever is the right thing +** so that pSet keeps the N_OR_COST best entries seen so far. +*/ +static int whereOrInsert( + WhereOrSet *pSet, /* The WhereOrSet to be updated */ + Bitmask prereq, /* Prerequisites of the new entry */ + LogEst rRun, /* Run-cost of the new entry */ + LogEst nOut /* Number of outputs for the new entry */ +){ + u16 i; + WhereOrCost *p; + for(i=pSet->n, p=pSet->a; i>0; i--, p++){ + if( rRun<=p->rRun && (prereq & p->prereq)==prereq ){ + goto whereOrInsert_done; + } + if( p->rRun<=rRun && (p->prereq & prereq)==p->prereq ){ + return 0; + } + } + if( pSet->na[pSet->n++]; + p->nOut = nOut; + }else{ + p = pSet->a; + for(i=1; in; i++){ + if( p->rRun>pSet->a[i].rRun ) p = pSet->a + i; + } + if( p->rRun<=rRun ) return 0; + } +whereOrInsert_done: + p->prereq = prereq; + p->rRun = rRun; + if( p->nOut>nOut ) p->nOut = nOut; + return 1; +} + +/* +** Return the bitmask for the given cursor number. Return 0 if +** iCursor is not in the set. +*/ +SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(WhereMaskSet *pMaskSet, int iCursor){ + int i; + assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 ); + for(i=0; in; i++){ + if( pMaskSet->ix[i]==iCursor ){ + return MASKBIT(i); + } + } + return 0; +} + +/* +** Create a new mask for cursor iCursor. +** +** There is one cursor per table in the FROM clause. The number of +** tables in the FROM clause is limited by a test early in the +** sqlite3WhereBegin() routine. So we know that the pMaskSet->ix[] +** array will never overflow. +*/ +static void createMask(WhereMaskSet *pMaskSet, int iCursor){ + assert( pMaskSet->n < ArraySize(pMaskSet->ix) ); + pMaskSet->ix[pMaskSet->n++] = iCursor; +} + +/* +** Advance to the next WhereTerm that matches according to the criteria +** established when the pScan object was initialized by whereScanInit(). +** Return NULL if there are no more matching WhereTerms. +*/ +static WhereTerm *whereScanNext(WhereScan *pScan){ + int iCur; /* The cursor on the LHS of the term */ + i16 iColumn; /* The column on the LHS of the term. -1 for IPK */ + Expr *pX; /* An expression being tested */ + WhereClause *pWC; /* Shorthand for pScan->pWC */ + WhereTerm *pTerm; /* The term being tested */ + int k = pScan->k; /* Where to start scanning */ + + assert( pScan->iEquiv<=pScan->nEquiv ); + pWC = pScan->pWC; + while(1){ + iColumn = pScan->aiColumn[pScan->iEquiv-1]; + iCur = pScan->aiCur[pScan->iEquiv-1]; + assert( pWC!=0 ); + do{ + for(pTerm=pWC->a+k; knTerm; k++, pTerm++){ + if( pTerm->leftCursor==iCur + && pTerm->u.leftColumn==iColumn + && (iColumn!=XN_EXPR + || sqlite3ExprCompareSkip(pTerm->pExpr->pLeft, + pScan->pIdxExpr,iCur)==0) + && (pScan->iEquiv<=1 || !ExprHasProperty(pTerm->pExpr, EP_FromJoin)) + ){ + if( (pTerm->eOperator & WO_EQUIV)!=0 + && pScan->nEquivaiCur) + && (pX = sqlite3ExprSkipCollateAndLikely(pTerm->pExpr->pRight))->op + ==TK_COLUMN + ){ + int j; + for(j=0; jnEquiv; j++){ + if( pScan->aiCur[j]==pX->iTable + && pScan->aiColumn[j]==pX->iColumn ){ + break; + } + } + if( j==pScan->nEquiv ){ + pScan->aiCur[j] = pX->iTable; + pScan->aiColumn[j] = pX->iColumn; + pScan->nEquiv++; + } + } + if( (pTerm->eOperator & pScan->opMask)!=0 ){ + /* Verify the affinity and collating sequence match */ + if( pScan->zCollName && (pTerm->eOperator & WO_ISNULL)==0 ){ + CollSeq *pColl; + Parse *pParse = pWC->pWInfo->pParse; + pX = pTerm->pExpr; + if( !sqlite3IndexAffinityOk(pX, pScan->idxaff) ){ + continue; + } + assert(pX->pLeft); + pColl = sqlite3BinaryCompareCollSeq(pParse, + pX->pLeft, pX->pRight); + if( pColl==0 ) pColl = pParse->db->pDfltColl; + if( sqlite3StrICmp(pColl->zName, pScan->zCollName) ){ + continue; + } + } + if( (pTerm->eOperator & (WO_EQ|WO_IS))!=0 + && (pX = pTerm->pExpr->pRight)->op==TK_COLUMN + && pX->iTable==pScan->aiCur[0] + && pX->iColumn==pScan->aiColumn[0] + ){ + testcase( pTerm->eOperator & WO_IS ); + continue; + } + pScan->pWC = pWC; + pScan->k = k+1; + return pTerm; + } + } + } + pWC = pWC->pOuter; + k = 0; + }while( pWC!=0 ); + if( pScan->iEquiv>=pScan->nEquiv ) break; + pWC = pScan->pOrigWC; + k = 0; + pScan->iEquiv++; + } + return 0; +} + +/* +** This is whereScanInit() for the case of an index on an expression. +** It is factored out into a separate tail-recursion subroutine so that +** the normal whereScanInit() routine, which is a high-runner, does not +** need to push registers onto the stack as part of its prologue. +*/ +static SQLITE_NOINLINE WhereTerm *whereScanInitIndexExpr(WhereScan *pScan){ + pScan->idxaff = sqlite3ExprAffinity(pScan->pIdxExpr); + return whereScanNext(pScan); +} + +/* +** Initialize a WHERE clause scanner object. Return a pointer to the +** first match. Return NULL if there are no matches. +** +** The scanner will be searching the WHERE clause pWC. It will look +** for terms of the form "X " where X is column iColumn of table +** iCur. Or if pIdx!=0 then X is column iColumn of index pIdx. pIdx +** must be one of the indexes of table iCur. +** +** The must be one of the operators described by opMask. +** +** If the search is for X and the WHERE clause contains terms of the +** form X=Y then this routine might also return terms of the form +** "Y ". The number of levels of transitivity is limited, +** but is enough to handle most commonly occurring SQL statements. +** +** If X is not the INTEGER PRIMARY KEY then X must be compatible with +** index pIdx. +*/ +static WhereTerm *whereScanInit( + WhereScan *pScan, /* The WhereScan object being initialized */ + WhereClause *pWC, /* The WHERE clause to be scanned */ + int iCur, /* Cursor to scan for */ + int iColumn, /* Column to scan for */ + u32 opMask, /* Operator(s) to scan for */ + Index *pIdx /* Must be compatible with this index */ +){ + pScan->pOrigWC = pWC; + pScan->pWC = pWC; + pScan->pIdxExpr = 0; + pScan->idxaff = 0; + pScan->zCollName = 0; + pScan->opMask = opMask; + pScan->k = 0; + pScan->aiCur[0] = iCur; + pScan->nEquiv = 1; + pScan->iEquiv = 1; + if( pIdx ){ + int j = iColumn; + iColumn = pIdx->aiColumn[j]; + if( iColumn==XN_EXPR ){ + pScan->pIdxExpr = pIdx->aColExpr->a[j].pExpr; + pScan->zCollName = pIdx->azColl[j]; + pScan->aiColumn[0] = XN_EXPR; + return whereScanInitIndexExpr(pScan); + }else if( iColumn==pIdx->pTable->iPKey ){ + iColumn = XN_ROWID; + }else if( iColumn>=0 ){ + pScan->idxaff = pIdx->pTable->aCol[iColumn].affinity; + pScan->zCollName = pIdx->azColl[j]; + } + }else if( iColumn==XN_EXPR ){ + return 0; + } + pScan->aiColumn[0] = iColumn; + return whereScanNext(pScan); +} + +/* +** Search for a term in the WHERE clause that is of the form "X " +** where X is a reference to the iColumn of table iCur or of index pIdx +** if pIdx!=0 and is one of the WO_xx operator codes specified by +** the op parameter. Return a pointer to the term. Return 0 if not found. +** +** If pIdx!=0 then it must be one of the indexes of table iCur. +** Search for terms matching the iColumn-th column of pIdx +** rather than the iColumn-th column of table iCur. +** +** The term returned might by Y= if there is another constraint in +** the WHERE clause that specifies that X=Y. Any such constraints will be +** identified by the WO_EQUIV bit in the pTerm->eOperator field. The +** aiCur[]/iaColumn[] arrays hold X and all its equivalents. There are 11 +** slots in aiCur[]/aiColumn[] so that means we can look for X plus up to 10 +** other equivalent values. Hence a search for X will return if X=A1 +** and A1=A2 and A2=A3 and ... and A9=A10 and A10=. +** +** If there are multiple terms in the WHERE clause of the form "X " +** then try for the one with no dependencies on - in other words where +** is a constant expression of some kind. Only return entries of +** the form "X Y" where Y is a column in another table if no terms of +** the form "X " exist. If no terms with a constant RHS +** exist, try to return a term that does not use WO_EQUIV. +*/ +SQLITE_PRIVATE WhereTerm *sqlite3WhereFindTerm( + WhereClause *pWC, /* The WHERE clause to be searched */ + int iCur, /* Cursor number of LHS */ + int iColumn, /* Column number of LHS */ + Bitmask notReady, /* RHS must not overlap with this mask */ + u32 op, /* Mask of WO_xx values describing operator */ + Index *pIdx /* Must be compatible with this index, if not NULL */ +){ + WhereTerm *pResult = 0; + WhereTerm *p; + WhereScan scan; + + p = whereScanInit(&scan, pWC, iCur, iColumn, op, pIdx); + op &= WO_EQ|WO_IS; + while( p ){ + if( (p->prereqRight & notReady)==0 ){ + if( p->prereqRight==0 && (p->eOperator&op)!=0 ){ + testcase( p->eOperator & WO_IS ); + return p; + } + if( pResult==0 ) pResult = p; + } + p = whereScanNext(&scan); + } + return pResult; +} + +/* +** This function searches pList for an entry that matches the iCol-th column +** of index pIdx. +** +** If such an expression is found, its index in pList->a[] is returned. If +** no expression is found, -1 is returned. +*/ +static int findIndexCol( + Parse *pParse, /* Parse context */ + ExprList *pList, /* Expression list to search */ + int iBase, /* Cursor for table associated with pIdx */ + Index *pIdx, /* Index to match column of */ + int iCol /* Column of index to match */ +){ + int i; + const char *zColl = pIdx->azColl[iCol]; + + for(i=0; inExpr; i++){ + Expr *p = sqlite3ExprSkipCollateAndLikely(pList->a[i].pExpr); + if( p->op==TK_COLUMN + && p->iColumn==pIdx->aiColumn[iCol] + && p->iTable==iBase + ){ + CollSeq *pColl = sqlite3ExprNNCollSeq(pParse, pList->a[i].pExpr); + if( 0==sqlite3StrICmp(pColl->zName, zColl) ){ + return i; + } + } + } + + return -1; +} + +/* +** Return TRUE if the iCol-th column of index pIdx is NOT NULL +*/ +static int indexColumnNotNull(Index *pIdx, int iCol){ + int j; + assert( pIdx!=0 ); + assert( iCol>=0 && iColnColumn ); + j = pIdx->aiColumn[iCol]; + if( j>=0 ){ + return pIdx->pTable->aCol[j].notNull; + }else if( j==(-1) ){ + return 1; + }else{ + assert( j==(-2) ); + return 0; /* Assume an indexed expression can always yield a NULL */ + + } +} + +/* +** Return true if the DISTINCT expression-list passed as the third argument +** is redundant. +** +** A DISTINCT list is redundant if any subset of the columns in the +** DISTINCT list are collectively unique and individually non-null. +*/ +static int isDistinctRedundant( + Parse *pParse, /* Parsing context */ + SrcList *pTabList, /* The FROM clause */ + WhereClause *pWC, /* The WHERE clause */ + ExprList *pDistinct /* The result set that needs to be DISTINCT */ +){ + Table *pTab; + Index *pIdx; + int i; + int iBase; + + /* If there is more than one table or sub-select in the FROM clause of + ** this query, then it will not be possible to show that the DISTINCT + ** clause is redundant. */ + if( pTabList->nSrc!=1 ) return 0; + iBase = pTabList->a[0].iCursor; + pTab = pTabList->a[0].pTab; + + /* If any of the expressions is an IPK column on table iBase, then return + ** true. Note: The (p->iTable==iBase) part of this test may be false if the + ** current SELECT is a correlated sub-query. + */ + for(i=0; inExpr; i++){ + Expr *p = sqlite3ExprSkipCollateAndLikely(pDistinct->a[i].pExpr); + if( p->op==TK_COLUMN && p->iTable==iBase && p->iColumn<0 ) return 1; + } + + /* Loop through all indices on the table, checking each to see if it makes + ** the DISTINCT qualifier redundant. It does so if: + ** + ** 1. The index is itself UNIQUE, and + ** + ** 2. All of the columns in the index are either part of the pDistinct + ** list, or else the WHERE clause contains a term of the form "col=X", + ** where X is a constant value. The collation sequences of the + ** comparison and select-list expressions must match those of the index. + ** + ** 3. All of those index columns for which the WHERE clause does not + ** contain a "col=X" term are subject to a NOT NULL constraint. + */ + for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + if( !IsUniqueIndex(pIdx) ) continue; + for(i=0; inKeyCol; i++){ + if( 0==sqlite3WhereFindTerm(pWC, iBase, i, ~(Bitmask)0, WO_EQ, pIdx) ){ + if( findIndexCol(pParse, pDistinct, iBase, pIdx, i)<0 ) break; + if( indexColumnNotNull(pIdx, i)==0 ) break; + } + } + if( i==pIdx->nKeyCol ){ + /* This index implies that the DISTINCT qualifier is redundant. */ + return 1; + } + } + + return 0; +} + + +/* +** Estimate the logarithm of the input value to base 2. +*/ +static LogEst estLog(LogEst N){ + return N<=10 ? 0 : sqlite3LogEst(N) - 33; +} + +/* +** Convert OP_Column opcodes to OP_Copy in previously generated code. +** +** This routine runs over generated VDBE code and translates OP_Column +** opcodes into OP_Copy when the table is being accessed via co-routine +** instead of via table lookup. +** +** If the iAutoidxCur is not zero, then any OP_Rowid instructions on +** cursor iTabCur are transformed into OP_Sequence opcode for the +** iAutoidxCur cursor, in order to generate unique rowids for the +** automatic index being generated. +*/ +static void translateColumnToCopy( + Parse *pParse, /* Parsing context */ + int iStart, /* Translate from this opcode to the end */ + int iTabCur, /* OP_Column/OP_Rowid references to this table */ + int iRegister, /* The first column is in this register */ + int iAutoidxCur /* If non-zero, cursor of autoindex being generated */ +){ + Vdbe *v = pParse->pVdbe; + VdbeOp *pOp = sqlite3VdbeGetOp(v, iStart); + int iEnd = sqlite3VdbeCurrentAddr(v); + if( pParse->db->mallocFailed ) return; + for(; iStartp1!=iTabCur ) continue; + if( pOp->opcode==OP_Column ){ + pOp->opcode = OP_Copy; + pOp->p1 = pOp->p2 + iRegister; + pOp->p2 = pOp->p3; + pOp->p3 = 0; + }else if( pOp->opcode==OP_Rowid ){ + if( iAutoidxCur ){ + pOp->opcode = OP_Sequence; + pOp->p1 = iAutoidxCur; + }else{ + pOp->opcode = OP_Null; + pOp->p1 = 0; + pOp->p3 = 0; + } + } + } +} + +/* +** Two routines for printing the content of an sqlite3_index_info +** structure. Used for testing and debugging only. If neither +** SQLITE_TEST or SQLITE_DEBUG are defined, then these routines +** are no-ops. +*/ +#if !defined(SQLITE_OMIT_VIRTUALTABLE) && defined(WHERETRACE_ENABLED) +static void TRACE_IDX_INPUTS(sqlite3_index_info *p){ + int i; + if( !sqlite3WhereTrace ) return; + for(i=0; inConstraint; i++){ + sqlite3DebugPrintf(" constraint[%d]: col=%d termid=%d op=%d usabled=%d\n", + i, + p->aConstraint[i].iColumn, + p->aConstraint[i].iTermOffset, + p->aConstraint[i].op, + p->aConstraint[i].usable); + } + for(i=0; inOrderBy; i++){ + sqlite3DebugPrintf(" orderby[%d]: col=%d desc=%d\n", + i, + p->aOrderBy[i].iColumn, + p->aOrderBy[i].desc); + } +} +static void TRACE_IDX_OUTPUTS(sqlite3_index_info *p){ + int i; + if( !sqlite3WhereTrace ) return; + for(i=0; inConstraint; i++){ + sqlite3DebugPrintf(" usage[%d]: argvIdx=%d omit=%d\n", + i, + p->aConstraintUsage[i].argvIndex, + p->aConstraintUsage[i].omit); + } + sqlite3DebugPrintf(" idxNum=%d\n", p->idxNum); + sqlite3DebugPrintf(" idxStr=%s\n", p->idxStr); + sqlite3DebugPrintf(" orderByConsumed=%d\n", p->orderByConsumed); + sqlite3DebugPrintf(" estimatedCost=%g\n", p->estimatedCost); + sqlite3DebugPrintf(" estimatedRows=%lld\n", p->estimatedRows); +} +#else +#define TRACE_IDX_INPUTS(A) +#define TRACE_IDX_OUTPUTS(A) +#endif + +#ifndef SQLITE_OMIT_AUTOMATIC_INDEX +/* +** Return TRUE if the WHERE clause term pTerm is of a form where it +** could be used with an index to access pSrc, assuming an appropriate +** index existed. +*/ +static int termCanDriveIndex( + WhereTerm *pTerm, /* WHERE clause term to check */ + struct SrcList_item *pSrc, /* Table we are trying to access */ + Bitmask notReady /* Tables in outer loops of the join */ +){ + char aff; + if( pTerm->leftCursor!=pSrc->iCursor ) return 0; + if( (pTerm->eOperator & (WO_EQ|WO_IS))==0 ) return 0; + if( (pSrc->fg.jointype & JT_LEFT) + && !ExprHasProperty(pTerm->pExpr, EP_FromJoin) + && (pTerm->eOperator & WO_IS) + ){ + /* Cannot use an IS term from the WHERE clause as an index driver for + ** the RHS of a LEFT JOIN. Such a term can only be used if it is from + ** the ON clause. */ + return 0; + } + if( (pTerm->prereqRight & notReady)!=0 ) return 0; + if( pTerm->u.leftColumn<0 ) return 0; + aff = pSrc->pTab->aCol[pTerm->u.leftColumn].affinity; + if( !sqlite3IndexAffinityOk(pTerm->pExpr, aff) ) return 0; + testcase( pTerm->pExpr->op==TK_IS ); + return 1; +} +#endif + + +#ifndef SQLITE_OMIT_AUTOMATIC_INDEX +/* +** Generate code to construct the Index object for an automatic index +** and to set up the WhereLevel object pLevel so that the code generator +** makes use of the automatic index. +*/ +static void constructAutomaticIndex( + Parse *pParse, /* The parsing context */ + WhereClause *pWC, /* The WHERE clause */ + struct SrcList_item *pSrc, /* The FROM clause term to get the next index */ + Bitmask notReady, /* Mask of cursors that are not available */ + WhereLevel *pLevel /* Write new index here */ +){ + int nKeyCol; /* Number of columns in the constructed index */ + WhereTerm *pTerm; /* A single term of the WHERE clause */ + WhereTerm *pWCEnd; /* End of pWC->a[] */ + Index *pIdx; /* Object describing the transient index */ + Vdbe *v; /* Prepared statement under construction */ + int addrInit; /* Address of the initialization bypass jump */ + Table *pTable; /* The table being indexed */ + int addrTop; /* Top of the index fill loop */ + int regRecord; /* Register holding an index record */ + int n; /* Column counter */ + int i; /* Loop counter */ + int mxBitCol; /* Maximum column in pSrc->colUsed */ + CollSeq *pColl; /* Collating sequence to on a column */ + WhereLoop *pLoop; /* The Loop object */ + char *zNotUsed; /* Extra space on the end of pIdx */ + Bitmask idxCols; /* Bitmap of columns used for indexing */ + Bitmask extraCols; /* Bitmap of additional columns */ + u8 sentWarning = 0; /* True if a warnning has been issued */ + Expr *pPartial = 0; /* Partial Index Expression */ + int iContinue = 0; /* Jump here to skip excluded rows */ + struct SrcList_item *pTabItem; /* FROM clause term being indexed */ + int addrCounter = 0; /* Address where integer counter is initialized */ + int regBase; /* Array of registers where record is assembled */ + + /* Generate code to skip over the creation and initialization of the + ** transient index on 2nd and subsequent iterations of the loop. */ + v = pParse->pVdbe; + assert( v!=0 ); + addrInit = sqlite3VdbeAddOp0(v, OP_Once); VdbeCoverage(v); + + /* Count the number of columns that will be added to the index + ** and used to match WHERE clause constraints */ + nKeyCol = 0; + pTable = pSrc->pTab; + pWCEnd = &pWC->a[pWC->nTerm]; + pLoop = pLevel->pWLoop; + idxCols = 0; + for(pTerm=pWC->a; pTermpExpr; + assert( !ExprHasProperty(pExpr, EP_FromJoin) /* prereq always non-zero */ + || pExpr->iRightJoinTable!=pSrc->iCursor /* for the right-hand */ + || pLoop->prereq!=0 ); /* table of a LEFT JOIN */ + if( pLoop->prereq==0 + && (pTerm->wtFlags & TERM_VIRTUAL)==0 + && !ExprHasProperty(pExpr, EP_FromJoin) + && sqlite3ExprIsTableConstant(pExpr, pSrc->iCursor) ){ + pPartial = sqlite3ExprAnd(pParse, pPartial, + sqlite3ExprDup(pParse->db, pExpr, 0)); + } + if( termCanDriveIndex(pTerm, pSrc, notReady) ){ + int iCol = pTerm->u.leftColumn; + Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol); + testcase( iCol==BMS ); + testcase( iCol==BMS-1 ); + if( !sentWarning ){ + sqlite3_log(SQLITE_WARNING_AUTOINDEX, + "automatic index on %s(%s)", pTable->zName, + pTable->aCol[iCol].zName); + sentWarning = 1; + } + if( (idxCols & cMask)==0 ){ + if( whereLoopResize(pParse->db, pLoop, nKeyCol+1) ){ + goto end_auto_index_create; + } + pLoop->aLTerm[nKeyCol++] = pTerm; + idxCols |= cMask; + } + } + } + assert( nKeyCol>0 ); + pLoop->u.btree.nEq = pLoop->nLTerm = nKeyCol; + pLoop->wsFlags = WHERE_COLUMN_EQ | WHERE_IDX_ONLY | WHERE_INDEXED + | WHERE_AUTO_INDEX; + + /* Count the number of additional columns needed to create a + ** covering index. A "covering index" is an index that contains all + ** columns that are needed by the query. With a covering index, the + ** original table never needs to be accessed. Automatic indices must + ** be a covering index because the index will not be updated if the + ** original table changes and the index and table cannot both be used + ** if they go out of sync. + */ + extraCols = pSrc->colUsed & (~idxCols | MASKBIT(BMS-1)); + mxBitCol = MIN(BMS-1,pTable->nCol); + testcase( pTable->nCol==BMS-1 ); + testcase( pTable->nCol==BMS-2 ); + for(i=0; icolUsed & MASKBIT(BMS-1) ){ + nKeyCol += pTable->nCol - BMS + 1; + } + + /* Construct the Index object to describe this index */ + pIdx = sqlite3AllocateIndexObject(pParse->db, nKeyCol+1, 0, &zNotUsed); + if( pIdx==0 ) goto end_auto_index_create; + pLoop->u.btree.pIndex = pIdx; + pIdx->zName = "auto-index"; + pIdx->pTable = pTable; + n = 0; + idxCols = 0; + for(pTerm=pWC->a; pTermu.leftColumn; + Bitmask cMask = iCol>=BMS ? MASKBIT(BMS-1) : MASKBIT(iCol); + testcase( iCol==BMS-1 ); + testcase( iCol==BMS ); + if( (idxCols & cMask)==0 ){ + Expr *pX = pTerm->pExpr; + idxCols |= cMask; + pIdx->aiColumn[n] = pTerm->u.leftColumn; + pColl = sqlite3BinaryCompareCollSeq(pParse, pX->pLeft, pX->pRight); + pIdx->azColl[n] = pColl ? pColl->zName : sqlite3StrBINARY; + n++; + } + } + } + assert( (u32)n==pLoop->u.btree.nEq ); + + /* Add additional columns needed to make the automatic index into + ** a covering index */ + for(i=0; iaiColumn[n] = i; + pIdx->azColl[n] = sqlite3StrBINARY; + n++; + } + } + if( pSrc->colUsed & MASKBIT(BMS-1) ){ + for(i=BMS-1; inCol; i++){ + pIdx->aiColumn[n] = i; + pIdx->azColl[n] = sqlite3StrBINARY; + n++; + } + } + assert( n==nKeyCol ); + pIdx->aiColumn[n] = XN_ROWID; + pIdx->azColl[n] = sqlite3StrBINARY; + + /* Create the automatic index */ + assert( pLevel->iIdxCur>=0 ); + pLevel->iIdxCur = pParse->nTab++; + sqlite3VdbeAddOp2(v, OP_OpenAutoindex, pLevel->iIdxCur, nKeyCol+1); + sqlite3VdbeSetP4KeyInfo(pParse, pIdx); + VdbeComment((v, "for %s", pTable->zName)); + + /* Fill the automatic index with content */ + pTabItem = &pWC->pWInfo->pTabList->a[pLevel->iFrom]; + if( pTabItem->fg.viaCoroutine ){ + int regYield = pTabItem->regReturn; + addrCounter = sqlite3VdbeAddOp2(v, OP_Integer, 0, 0); + sqlite3VdbeAddOp3(v, OP_InitCoroutine, regYield, 0, pTabItem->addrFillSub); + addrTop = sqlite3VdbeAddOp1(v, OP_Yield, regYield); + VdbeCoverage(v); + VdbeComment((v, "next row of %s", pTabItem->pTab->zName)); + }else{ + addrTop = sqlite3VdbeAddOp1(v, OP_Rewind, pLevel->iTabCur); VdbeCoverage(v); + } + if( pPartial ){ + iContinue = sqlite3VdbeMakeLabel(pParse); + sqlite3ExprIfFalse(pParse, pPartial, iContinue, SQLITE_JUMPIFNULL); + pLoop->wsFlags |= WHERE_PARTIALIDX; + } + regRecord = sqlite3GetTempReg(pParse); + regBase = sqlite3GenerateIndexKey( + pParse, pIdx, pLevel->iTabCur, regRecord, 0, 0, 0, 0 + ); + sqlite3VdbeAddOp2(v, OP_IdxInsert, pLevel->iIdxCur, regRecord); + sqlite3VdbeChangeP5(v, OPFLAG_USESEEKRESULT); + if( pPartial ) sqlite3VdbeResolveLabel(v, iContinue); + if( pTabItem->fg.viaCoroutine ){ + sqlite3VdbeChangeP2(v, addrCounter, regBase+n); + testcase( pParse->db->mallocFailed ); + assert( pLevel->iIdxCur>0 ); + translateColumnToCopy(pParse, addrTop, pLevel->iTabCur, + pTabItem->regResult, pLevel->iIdxCur); + sqlite3VdbeGoto(v, addrTop); + pTabItem->fg.viaCoroutine = 0; + }else{ + sqlite3VdbeAddOp2(v, OP_Next, pLevel->iTabCur, addrTop+1); VdbeCoverage(v); + } + sqlite3VdbeChangeP5(v, SQLITE_STMTSTATUS_AUTOINDEX); + sqlite3VdbeJumpHere(v, addrTop); + sqlite3ReleaseTempReg(pParse, regRecord); + + /* Jump here when skipping the initialization */ + sqlite3VdbeJumpHere(v, addrInit); + +end_auto_index_create: + sqlite3ExprDelete(pParse->db, pPartial); +} +#endif /* SQLITE_OMIT_AUTOMATIC_INDEX */ + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/* +** Allocate and populate an sqlite3_index_info structure. It is the +** responsibility of the caller to eventually release the structure +** by passing the pointer returned by this function to sqlite3_free(). +*/ +static sqlite3_index_info *allocateIndexInfo( + Parse *pParse, /* The parsing context */ + WhereClause *pWC, /* The WHERE clause being analyzed */ + Bitmask mUnusable, /* Ignore terms with these prereqs */ + struct SrcList_item *pSrc, /* The FROM clause term that is the vtab */ + ExprList *pOrderBy, /* The ORDER BY clause */ + u16 *pmNoOmit /* Mask of terms not to omit */ +){ + int i, j; + int nTerm; + struct sqlite3_index_constraint *pIdxCons; + struct sqlite3_index_orderby *pIdxOrderBy; + struct sqlite3_index_constraint_usage *pUsage; + struct HiddenIndexInfo *pHidden; + WhereTerm *pTerm; + int nOrderBy; + sqlite3_index_info *pIdxInfo; + u16 mNoOmit = 0; + + /* Count the number of possible WHERE clause constraints referring + ** to this virtual table */ + for(i=nTerm=0, pTerm=pWC->a; inTerm; i++, pTerm++){ + if( pTerm->leftCursor != pSrc->iCursor ) continue; + if( pTerm->prereqRight & mUnusable ) continue; + assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) ); + testcase( pTerm->eOperator & WO_IN ); + testcase( pTerm->eOperator & WO_ISNULL ); + testcase( pTerm->eOperator & WO_IS ); + testcase( pTerm->eOperator & WO_ALL ); + if( (pTerm->eOperator & ~(WO_EQUIV))==0 ) continue; + if( pTerm->wtFlags & TERM_VNULL ) continue; + assert( pTerm->u.leftColumn>=(-1) ); + nTerm++; + } + + /* If the ORDER BY clause contains only columns in the current + ** virtual table then allocate space for the aOrderBy part of + ** the sqlite3_index_info structure. + */ + nOrderBy = 0; + if( pOrderBy ){ + int n = pOrderBy->nExpr; + for(i=0; ia[i].pExpr; + if( pExpr->op!=TK_COLUMN || pExpr->iTable!=pSrc->iCursor ) break; + if( pOrderBy->a[i].sortFlags & KEYINFO_ORDER_BIGNULL ) break; + } + if( i==n){ + nOrderBy = n; + } + } + + /* Allocate the sqlite3_index_info structure + */ + pIdxInfo = sqlite3DbMallocZero(pParse->db, sizeof(*pIdxInfo) + + (sizeof(*pIdxCons) + sizeof(*pUsage))*nTerm + + sizeof(*pIdxOrderBy)*nOrderBy + sizeof(*pHidden) ); + if( pIdxInfo==0 ){ + sqlite3ErrorMsg(pParse, "out of memory"); + return 0; + } + + /* Initialize the structure. The sqlite3_index_info structure contains + ** many fields that are declared "const" to prevent xBestIndex from + ** changing them. We have to do some funky casting in order to + ** initialize those fields. + */ + pHidden = (struct HiddenIndexInfo*)&pIdxInfo[1]; + pIdxCons = (struct sqlite3_index_constraint*)&pHidden[1]; + pIdxOrderBy = (struct sqlite3_index_orderby*)&pIdxCons[nTerm]; + pUsage = (struct sqlite3_index_constraint_usage*)&pIdxOrderBy[nOrderBy]; + *(int*)&pIdxInfo->nConstraint = nTerm; + *(int*)&pIdxInfo->nOrderBy = nOrderBy; + *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint = pIdxCons; + *(struct sqlite3_index_orderby**)&pIdxInfo->aOrderBy = pIdxOrderBy; + *(struct sqlite3_index_constraint_usage**)&pIdxInfo->aConstraintUsage = + pUsage; + + pHidden->pWC = pWC; + pHidden->pParse = pParse; + for(i=j=0, pTerm=pWC->a; inTerm; i++, pTerm++){ + u16 op; + if( pTerm->leftCursor != pSrc->iCursor ) continue; + if( pTerm->prereqRight & mUnusable ) continue; + assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) ); + testcase( pTerm->eOperator & WO_IN ); + testcase( pTerm->eOperator & WO_IS ); + testcase( pTerm->eOperator & WO_ISNULL ); + testcase( pTerm->eOperator & WO_ALL ); + if( (pTerm->eOperator & ~(WO_EQUIV))==0 ) continue; + if( pTerm->wtFlags & TERM_VNULL ) continue; + if( (pSrc->fg.jointype & JT_LEFT)!=0 + && !ExprHasProperty(pTerm->pExpr, EP_FromJoin) + && (pTerm->eOperator & (WO_IS|WO_ISNULL)) + ){ + /* An "IS" term in the WHERE clause where the virtual table is the rhs + ** of a LEFT JOIN. Do not pass this term to the virtual table + ** implementation, as this can lead to incorrect results from SQL such + ** as: + ** + ** "LEFT JOIN vtab WHERE vtab.col IS NULL" */ + testcase( pTerm->eOperator & WO_ISNULL ); + testcase( pTerm->eOperator & WO_IS ); + continue; + } + assert( pTerm->u.leftColumn>=(-1) ); + pIdxCons[j].iColumn = pTerm->u.leftColumn; + pIdxCons[j].iTermOffset = i; + op = pTerm->eOperator & WO_ALL; + if( op==WO_IN ) op = WO_EQ; + if( op==WO_AUX ){ + pIdxCons[j].op = pTerm->eMatchOp; + }else if( op & (WO_ISNULL|WO_IS) ){ + if( op==WO_ISNULL ){ + pIdxCons[j].op = SQLITE_INDEX_CONSTRAINT_ISNULL; + }else{ + pIdxCons[j].op = SQLITE_INDEX_CONSTRAINT_IS; + } + }else{ + pIdxCons[j].op = (u8)op; + /* The direct assignment in the previous line is possible only because + ** the WO_ and SQLITE_INDEX_CONSTRAINT_ codes are identical. The + ** following asserts verify this fact. */ + assert( WO_EQ==SQLITE_INDEX_CONSTRAINT_EQ ); + assert( WO_LT==SQLITE_INDEX_CONSTRAINT_LT ); + assert( WO_LE==SQLITE_INDEX_CONSTRAINT_LE ); + assert( WO_GT==SQLITE_INDEX_CONSTRAINT_GT ); + assert( WO_GE==SQLITE_INDEX_CONSTRAINT_GE ); + assert( pTerm->eOperator&(WO_IN|WO_EQ|WO_LT|WO_LE|WO_GT|WO_GE|WO_AUX) ); + + if( op & (WO_LT|WO_LE|WO_GT|WO_GE) + && sqlite3ExprIsVector(pTerm->pExpr->pRight) + ){ + if( i<16 ) mNoOmit |= (1 << i); + if( op==WO_LT ) pIdxCons[j].op = WO_LE; + if( op==WO_GT ) pIdxCons[j].op = WO_GE; + } + } + + j++; + } + for(i=0; ia[i].pExpr; + pIdxOrderBy[i].iColumn = pExpr->iColumn; + pIdxOrderBy[i].desc = pOrderBy->a[i].sortFlags & KEYINFO_ORDER_DESC; + } + + *pmNoOmit = mNoOmit; + return pIdxInfo; +} + +/* +** The table object reference passed as the second argument to this function +** must represent a virtual table. This function invokes the xBestIndex() +** method of the virtual table with the sqlite3_index_info object that +** comes in as the 3rd argument to this function. +** +** If an error occurs, pParse is populated with an error message and an +** appropriate error code is returned. A return of SQLITE_CONSTRAINT from +** xBestIndex is not considered an error. SQLITE_CONSTRAINT indicates that +** the current configuration of "unusable" flags in sqlite3_index_info can +** not result in a valid plan. +** +** Whether or not an error is returned, it is the responsibility of the +** caller to eventually free p->idxStr if p->needToFreeIdxStr indicates +** that this is required. +*/ +static int vtabBestIndex(Parse *pParse, Table *pTab, sqlite3_index_info *p){ + sqlite3_vtab *pVtab = sqlite3GetVTable(pParse->db, pTab)->pVtab; + int rc; + + TRACE_IDX_INPUTS(p); + rc = pVtab->pModule->xBestIndex(pVtab, p); + TRACE_IDX_OUTPUTS(p); + + if( rc!=SQLITE_OK && rc!=SQLITE_CONSTRAINT ){ + if( rc==SQLITE_NOMEM ){ + sqlite3OomFault(pParse->db); + }else if( !pVtab->zErrMsg ){ + sqlite3ErrorMsg(pParse, "%s", sqlite3ErrStr(rc)); + }else{ + sqlite3ErrorMsg(pParse, "%s", pVtab->zErrMsg); + } + } + sqlite3_free(pVtab->zErrMsg); + pVtab->zErrMsg = 0; + return rc; +} +#endif /* !defined(SQLITE_OMIT_VIRTUALTABLE) */ + +#ifdef SQLITE_ENABLE_STAT4 +/* +** Estimate the location of a particular key among all keys in an +** index. Store the results in aStat as follows: +** +** aStat[0] Est. number of rows less than pRec +** aStat[1] Est. number of rows equal to pRec +** +** Return the index of the sample that is the smallest sample that +** is greater than or equal to pRec. Note that this index is not an index +** into the aSample[] array - it is an index into a virtual set of samples +** based on the contents of aSample[] and the number of fields in record +** pRec. +*/ +static int whereKeyStats( + Parse *pParse, /* Database connection */ + Index *pIdx, /* Index to consider domain of */ + UnpackedRecord *pRec, /* Vector of values to consider */ + int roundUp, /* Round up if true. Round down if false */ + tRowcnt *aStat /* OUT: stats written here */ +){ + IndexSample *aSample = pIdx->aSample; + int iCol; /* Index of required stats in anEq[] etc. */ + int i; /* Index of first sample >= pRec */ + int iSample; /* Smallest sample larger than or equal to pRec */ + int iMin = 0; /* Smallest sample not yet tested */ + int iTest; /* Next sample to test */ + int res; /* Result of comparison operation */ + int nField; /* Number of fields in pRec */ + tRowcnt iLower = 0; /* anLt[] + anEq[] of largest sample pRec is > */ + +#ifndef SQLITE_DEBUG + UNUSED_PARAMETER( pParse ); +#endif + assert( pRec!=0 ); + assert( pIdx->nSample>0 ); + assert( pRec->nField>0 && pRec->nField<=pIdx->nSampleCol ); + + /* Do a binary search to find the first sample greater than or equal + ** to pRec. If pRec contains a single field, the set of samples to search + ** is simply the aSample[] array. If the samples in aSample[] contain more + ** than one fields, all fields following the first are ignored. + ** + ** If pRec contains N fields, where N is more than one, then as well as the + ** samples in aSample[] (truncated to N fields), the search also has to + ** consider prefixes of those samples. For example, if the set of samples + ** in aSample is: + ** + ** aSample[0] = (a, 5) + ** aSample[1] = (a, 10) + ** aSample[2] = (b, 5) + ** aSample[3] = (c, 100) + ** aSample[4] = (c, 105) + ** + ** Then the search space should ideally be the samples above and the + ** unique prefixes [a], [b] and [c]. But since that is hard to organize, + ** the code actually searches this set: + ** + ** 0: (a) + ** 1: (a, 5) + ** 2: (a, 10) + ** 3: (a, 10) + ** 4: (b) + ** 5: (b, 5) + ** 6: (c) + ** 7: (c, 100) + ** 8: (c, 105) + ** 9: (c, 105) + ** + ** For each sample in the aSample[] array, N samples are present in the + ** effective sample array. In the above, samples 0 and 1 are based on + ** sample aSample[0]. Samples 2 and 3 on aSample[1] etc. + ** + ** Often, sample i of each block of N effective samples has (i+1) fields. + ** Except, each sample may be extended to ensure that it is greater than or + ** equal to the previous sample in the array. For example, in the above, + ** sample 2 is the first sample of a block of N samples, so at first it + ** appears that it should be 1 field in size. However, that would make it + ** smaller than sample 1, so the binary search would not work. As a result, + ** it is extended to two fields. The duplicates that this creates do not + ** cause any problems. + */ + nField = pRec->nField; + iCol = 0; + iSample = pIdx->nSample * nField; + do{ + int iSamp; /* Index in aSample[] of test sample */ + int n; /* Number of fields in test sample */ + + iTest = (iMin+iSample)/2; + iSamp = iTest / nField; + if( iSamp>0 ){ + /* The proposed effective sample is a prefix of sample aSample[iSamp]. + ** Specifically, the shortest prefix of at least (1 + iTest%nField) + ** fields that is greater than the previous effective sample. */ + for(n=(iTest % nField) + 1; nnField = n; + res = sqlite3VdbeRecordCompare(aSample[iSamp].n, aSample[iSamp].p, pRec); + if( res<0 ){ + iLower = aSample[iSamp].anLt[n-1] + aSample[iSamp].anEq[n-1]; + iMin = iTest+1; + }else if( res==0 && ndb->mallocFailed==0 ){ + if( res==0 ){ + /* If (res==0) is true, then pRec must be equal to sample i. */ + assert( inSample ); + assert( iCol==nField-1 ); + pRec->nField = nField; + assert( 0==sqlite3VdbeRecordCompare(aSample[i].n, aSample[i].p, pRec) + || pParse->db->mallocFailed + ); + }else{ + /* Unless i==pIdx->nSample, indicating that pRec is larger than + ** all samples in the aSample[] array, pRec must be smaller than the + ** (iCol+1) field prefix of sample i. */ + assert( i<=pIdx->nSample && i>=0 ); + pRec->nField = iCol+1; + assert( i==pIdx->nSample + || sqlite3VdbeRecordCompare(aSample[i].n, aSample[i].p, pRec)>0 + || pParse->db->mallocFailed ); + + /* if i==0 and iCol==0, then record pRec is smaller than all samples + ** in the aSample[] array. Otherwise, if (iCol>0) then pRec must + ** be greater than or equal to the (iCol) field prefix of sample i. + ** If (i>0), then pRec must also be greater than sample (i-1). */ + if( iCol>0 ){ + pRec->nField = iCol; + assert( sqlite3VdbeRecordCompare(aSample[i].n, aSample[i].p, pRec)<=0 + || pParse->db->mallocFailed ); + } + if( i>0 ){ + pRec->nField = nField; + assert( sqlite3VdbeRecordCompare(aSample[i-1].n, aSample[i-1].p, pRec)<0 + || pParse->db->mallocFailed ); + } + } + } +#endif /* ifdef SQLITE_DEBUG */ + + if( res==0 ){ + /* Record pRec is equal to sample i */ + assert( iCol==nField-1 ); + aStat[0] = aSample[i].anLt[iCol]; + aStat[1] = aSample[i].anEq[iCol]; + }else{ + /* At this point, the (iCol+1) field prefix of aSample[i] is the first + ** sample that is greater than pRec. Or, if i==pIdx->nSample then pRec + ** is larger than all samples in the array. */ + tRowcnt iUpper, iGap; + if( i>=pIdx->nSample ){ + iUpper = sqlite3LogEstToInt(pIdx->aiRowLogEst[0]); + }else{ + iUpper = aSample[i].anLt[iCol]; + } + + if( iLower>=iUpper ){ + iGap = 0; + }else{ + iGap = iUpper - iLower; + } + if( roundUp ){ + iGap = (iGap*2)/3; + }else{ + iGap = iGap/3; + } + aStat[0] = iLower + iGap; + aStat[1] = pIdx->aAvgEq[nField-1]; + } + + /* Restore the pRec->nField value before returning. */ + pRec->nField = nField; + return i; +} +#endif /* SQLITE_ENABLE_STAT4 */ + +/* +** If it is not NULL, pTerm is a term that provides an upper or lower +** bound on a range scan. Without considering pTerm, it is estimated +** that the scan will visit nNew rows. This function returns the number +** estimated to be visited after taking pTerm into account. +** +** If the user explicitly specified a likelihood() value for this term, +** then the return value is the likelihood multiplied by the number of +** input rows. Otherwise, this function assumes that an "IS NOT NULL" term +** has a likelihood of 0.50, and any other term a likelihood of 0.25. +*/ +static LogEst whereRangeAdjust(WhereTerm *pTerm, LogEst nNew){ + LogEst nRet = nNew; + if( pTerm ){ + if( pTerm->truthProb<=0 ){ + nRet += pTerm->truthProb; + }else if( (pTerm->wtFlags & TERM_VNULL)==0 ){ + nRet -= 20; assert( 20==sqlite3LogEst(4) ); + } + } + return nRet; +} + + +#ifdef SQLITE_ENABLE_STAT4 +/* +** Return the affinity for a single column of an index. +*/ +SQLITE_PRIVATE char sqlite3IndexColumnAffinity(sqlite3 *db, Index *pIdx, int iCol){ + assert( iCol>=0 && iColnColumn ); + if( !pIdx->zColAff ){ + if( sqlite3IndexAffinityStr(db, pIdx)==0 ) return SQLITE_AFF_BLOB; + } + assert( pIdx->zColAff[iCol]!=0 ); + return pIdx->zColAff[iCol]; +} +#endif + + +#ifdef SQLITE_ENABLE_STAT4 +/* +** This function is called to estimate the number of rows visited by a +** range-scan on a skip-scan index. For example: +** +** CREATE INDEX i1 ON t1(a, b, c); +** SELECT * FROM t1 WHERE a=? AND c BETWEEN ? AND ?; +** +** Value pLoop->nOut is currently set to the estimated number of rows +** visited for scanning (a=? AND b=?). This function reduces that estimate +** by some factor to account for the (c BETWEEN ? AND ?) expression based +** on the stat4 data for the index. this scan will be peformed multiple +** times (once for each (a,b) combination that matches a=?) is dealt with +** by the caller. +** +** It does this by scanning through all stat4 samples, comparing values +** extracted from pLower and pUpper with the corresponding column in each +** sample. If L and U are the number of samples found to be less than or +** equal to the values extracted from pLower and pUpper respectively, and +** N is the total number of samples, the pLoop->nOut value is adjusted +** as follows: +** +** nOut = nOut * ( min(U - L, 1) / N ) +** +** If pLower is NULL, or a value cannot be extracted from the term, L is +** set to zero. If pUpper is NULL, or a value cannot be extracted from it, +** U is set to N. +** +** Normally, this function sets *pbDone to 1 before returning. However, +** if no value can be extracted from either pLower or pUpper (and so the +** estimate of the number of rows delivered remains unchanged), *pbDone +** is left as is. +** +** If an error occurs, an SQLite error code is returned. Otherwise, +** SQLITE_OK. +*/ +static int whereRangeSkipScanEst( + Parse *pParse, /* Parsing & code generating context */ + WhereTerm *pLower, /* Lower bound on the range. ex: "x>123" Might be NULL */ + WhereTerm *pUpper, /* Upper bound on the range. ex: "x<455" Might be NULL */ + WhereLoop *pLoop, /* Update the .nOut value of this loop */ + int *pbDone /* Set to true if at least one expr. value extracted */ +){ + Index *p = pLoop->u.btree.pIndex; + int nEq = pLoop->u.btree.nEq; + sqlite3 *db = pParse->db; + int nLower = -1; + int nUpper = p->nSample+1; + int rc = SQLITE_OK; + u8 aff = sqlite3IndexColumnAffinity(db, p, nEq); + CollSeq *pColl; + + sqlite3_value *p1 = 0; /* Value extracted from pLower */ + sqlite3_value *p2 = 0; /* Value extracted from pUpper */ + sqlite3_value *pVal = 0; /* Value extracted from record */ + + pColl = sqlite3LocateCollSeq(pParse, p->azColl[nEq]); + if( pLower ){ + rc = sqlite3Stat4ValueFromExpr(pParse, pLower->pExpr->pRight, aff, &p1); + nLower = 0; + } + if( pUpper && rc==SQLITE_OK ){ + rc = sqlite3Stat4ValueFromExpr(pParse, pUpper->pExpr->pRight, aff, &p2); + nUpper = p2 ? 0 : p->nSample; + } + + if( p1 || p2 ){ + int i; + int nDiff; + for(i=0; rc==SQLITE_OK && inSample; i++){ + rc = sqlite3Stat4Column(db, p->aSample[i].p, p->aSample[i].n, nEq, &pVal); + if( rc==SQLITE_OK && p1 ){ + int res = sqlite3MemCompare(p1, pVal, pColl); + if( res>=0 ) nLower++; + } + if( rc==SQLITE_OK && p2 ){ + int res = sqlite3MemCompare(p2, pVal, pColl); + if( res>=0 ) nUpper++; + } + } + nDiff = (nUpper - nLower); + if( nDiff<=0 ) nDiff = 1; + + /* If there is both an upper and lower bound specified, and the + ** comparisons indicate that they are close together, use the fallback + ** method (assume that the scan visits 1/64 of the rows) for estimating + ** the number of rows visited. Otherwise, estimate the number of rows + ** using the method described in the header comment for this function. */ + if( nDiff!=1 || pUpper==0 || pLower==0 ){ + int nAdjust = (sqlite3LogEst(p->nSample) - sqlite3LogEst(nDiff)); + pLoop->nOut -= nAdjust; + *pbDone = 1; + WHERETRACE(0x10, ("range skip-scan regions: %u..%u adjust=%d est=%d\n", + nLower, nUpper, nAdjust*-1, pLoop->nOut)); + } + + }else{ + assert( *pbDone==0 ); + } + + sqlite3ValueFree(p1); + sqlite3ValueFree(p2); + sqlite3ValueFree(pVal); + + return rc; +} +#endif /* SQLITE_ENABLE_STAT4 */ + +/* +** This function is used to estimate the number of rows that will be visited +** by scanning an index for a range of values. The range may have an upper +** bound, a lower bound, or both. The WHERE clause terms that set the upper +** and lower bounds are represented by pLower and pUpper respectively. For +** example, assuming that index p is on t1(a): +** +** ... FROM t1 WHERE a > ? AND a < ? ... +** |_____| |_____| +** | | +** pLower pUpper +** +** If either of the upper or lower bound is not present, then NULL is passed in +** place of the corresponding WhereTerm. +** +** The value in (pBuilder->pNew->u.btree.nEq) is the number of the index +** column subject to the range constraint. Or, equivalently, the number of +** equality constraints optimized by the proposed index scan. For example, +** assuming index p is on t1(a, b), and the SQL query is: +** +** ... FROM t1 WHERE a = ? AND b > ? AND b < ? ... +** +** then nEq is set to 1 (as the range restricted column, b, is the second +** left-most column of the index). Or, if the query is: +** +** ... FROM t1 WHERE a > ? AND a < ? ... +** +** then nEq is set to 0. +** +** When this function is called, *pnOut is set to the sqlite3LogEst() of the +** number of rows that the index scan is expected to visit without +** considering the range constraints. If nEq is 0, then *pnOut is the number of +** rows in the index. Assuming no error occurs, *pnOut is adjusted (reduced) +** to account for the range constraints pLower and pUpper. +** +** In the absence of sqlite_stat4 ANALYZE data, or if such data cannot be +** used, a single range inequality reduces the search space by a factor of 4. +** and a pair of constraints (x>? AND x123" Might be NULL */ + WhereTerm *pUpper, /* Upper bound on the range. ex: "x<455" Might be NULL */ + WhereLoop *pLoop /* Modify the .nOut and maybe .rRun fields */ +){ + int rc = SQLITE_OK; + int nOut = pLoop->nOut; + LogEst nNew; + +#ifdef SQLITE_ENABLE_STAT4 + Index *p = pLoop->u.btree.pIndex; + int nEq = pLoop->u.btree.nEq; + + if( p->nSample>0 && ALWAYS(nEqnSampleCol) + && OptimizationEnabled(pParse->db, SQLITE_Stat4) + ){ + if( nEq==pBuilder->nRecValid ){ + UnpackedRecord *pRec = pBuilder->pRec; + tRowcnt a[2]; + int nBtm = pLoop->u.btree.nBtm; + int nTop = pLoop->u.btree.nTop; + + /* Variable iLower will be set to the estimate of the number of rows in + ** the index that are less than the lower bound of the range query. The + ** lower bound being the concatenation of $P and $L, where $P is the + ** key-prefix formed by the nEq values matched against the nEq left-most + ** columns of the index, and $L is the value in pLower. + ** + ** Or, if pLower is NULL or $L cannot be extracted from it (because it + ** is not a simple variable or literal value), the lower bound of the + ** range is $P. Due to a quirk in the way whereKeyStats() works, even + ** if $L is available, whereKeyStats() is called for both ($P) and + ** ($P:$L) and the larger of the two returned values is used. + ** + ** Similarly, iUpper is to be set to the estimate of the number of rows + ** less than the upper bound of the range query. Where the upper bound + ** is either ($P) or ($P:$U). Again, even if $U is available, both values + ** of iUpper are requested of whereKeyStats() and the smaller used. + ** + ** The number of rows between the two bounds is then just iUpper-iLower. + */ + tRowcnt iLower; /* Rows less than the lower bound */ + tRowcnt iUpper; /* Rows less than the upper bound */ + int iLwrIdx = -2; /* aSample[] for the lower bound */ + int iUprIdx = -1; /* aSample[] for the upper bound */ + + if( pRec ){ + testcase( pRec->nField!=pBuilder->nRecValid ); + pRec->nField = pBuilder->nRecValid; + } + /* Determine iLower and iUpper using ($P) only. */ + if( nEq==0 ){ + iLower = 0; + iUpper = p->nRowEst0; + }else{ + /* Note: this call could be optimized away - since the same values must + ** have been requested when testing key $P in whereEqualScanEst(). */ + whereKeyStats(pParse, p, pRec, 0, a); + iLower = a[0]; + iUpper = a[0] + a[1]; + } + + assert( pLower==0 || (pLower->eOperator & (WO_GT|WO_GE))!=0 ); + assert( pUpper==0 || (pUpper->eOperator & (WO_LT|WO_LE))!=0 ); + assert( p->aSortOrder!=0 ); + if( p->aSortOrder[nEq] ){ + /* The roles of pLower and pUpper are swapped for a DESC index */ + SWAP(WhereTerm*, pLower, pUpper); + SWAP(int, nBtm, nTop); + } + + /* If possible, improve on the iLower estimate using ($P:$L). */ + if( pLower ){ + int n; /* Values extracted from pExpr */ + Expr *pExpr = pLower->pExpr->pRight; + rc = sqlite3Stat4ProbeSetValue(pParse, p, &pRec, pExpr, nBtm, nEq, &n); + if( rc==SQLITE_OK && n ){ + tRowcnt iNew; + u16 mask = WO_GT|WO_LE; + if( sqlite3ExprVectorSize(pExpr)>n ) mask = (WO_LE|WO_LT); + iLwrIdx = whereKeyStats(pParse, p, pRec, 0, a); + iNew = a[0] + ((pLower->eOperator & mask) ? a[1] : 0); + if( iNew>iLower ) iLower = iNew; + nOut--; + pLower = 0; + } + } + + /* If possible, improve on the iUpper estimate using ($P:$U). */ + if( pUpper ){ + int n; /* Values extracted from pExpr */ + Expr *pExpr = pUpper->pExpr->pRight; + rc = sqlite3Stat4ProbeSetValue(pParse, p, &pRec, pExpr, nTop, nEq, &n); + if( rc==SQLITE_OK && n ){ + tRowcnt iNew; + u16 mask = WO_GT|WO_LE; + if( sqlite3ExprVectorSize(pExpr)>n ) mask = (WO_LE|WO_LT); + iUprIdx = whereKeyStats(pParse, p, pRec, 1, a); + iNew = a[0] + ((pUpper->eOperator & mask) ? a[1] : 0); + if( iNewpRec = pRec; + if( rc==SQLITE_OK ){ + if( iUpper>iLower ){ + nNew = sqlite3LogEst(iUpper - iLower); + /* TUNING: If both iUpper and iLower are derived from the same + ** sample, then assume they are 4x more selective. This brings + ** the estimated selectivity more in line with what it would be + ** if estimated without the use of STAT4 tables. */ + if( iLwrIdx==iUprIdx ) nNew -= 20; assert( 20==sqlite3LogEst(4) ); + }else{ + nNew = 10; assert( 10==sqlite3LogEst(2) ); + } + if( nNewwtFlags & TERM_VNULL)==0 ); + nNew = whereRangeAdjust(pLower, nOut); + nNew = whereRangeAdjust(pUpper, nNew); + + /* TUNING: If there is both an upper and lower limit and neither limit + ** has an application-defined likelihood(), assume the range is + ** reduced by an additional 75%. This means that, by default, an open-ended + ** range query (e.g. col > ?) is assumed to match 1/4 of the rows in the + ** index. While a closed range (e.g. col BETWEEN ? AND ?) is estimated to + ** match 1/64 of the index. */ + if( pLower && pLower->truthProb>0 && pUpper && pUpper->truthProb>0 ){ + nNew -= 20; + } + + nOut -= (pLower!=0) + (pUpper!=0); + if( nNew<10 ) nNew = 10; + if( nNewnOut>nOut ){ + WHERETRACE(0x10,("Range scan lowers nOut from %d to %d\n", + pLoop->nOut, nOut)); + } +#endif + pLoop->nOut = (LogEst)nOut; + return rc; +} + +#ifdef SQLITE_ENABLE_STAT4 +/* +** Estimate the number of rows that will be returned based on +** an equality constraint x=VALUE and where that VALUE occurs in +** the histogram data. This only works when x is the left-most +** column of an index and sqlite_stat4 histogram data is available +** for that index. When pExpr==NULL that means the constraint is +** "x IS NULL" instead of "x=VALUE". +** +** Write the estimated row count into *pnRow and return SQLITE_OK. +** If unable to make an estimate, leave *pnRow unchanged and return +** non-zero. +** +** This routine can fail if it is unable to load a collating sequence +** required for string comparison, or if unable to allocate memory +** for a UTF conversion required for comparison. The error is stored +** in the pParse structure. +*/ +static int whereEqualScanEst( + Parse *pParse, /* Parsing & code generating context */ + WhereLoopBuilder *pBuilder, + Expr *pExpr, /* Expression for VALUE in the x=VALUE constraint */ + tRowcnt *pnRow /* Write the revised row estimate here */ +){ + Index *p = pBuilder->pNew->u.btree.pIndex; + int nEq = pBuilder->pNew->u.btree.nEq; + UnpackedRecord *pRec = pBuilder->pRec; + int rc; /* Subfunction return code */ + tRowcnt a[2]; /* Statistics */ + int bOk; + + assert( nEq>=1 ); + assert( nEq<=p->nColumn ); + assert( p->aSample!=0 ); + assert( p->nSample>0 ); + assert( pBuilder->nRecValidnRecValid<(nEq-1) ){ + return SQLITE_NOTFOUND; + } + + /* This is an optimization only. The call to sqlite3Stat4ProbeSetValue() + ** below would return the same value. */ + if( nEq>=p->nColumn ){ + *pnRow = 1; + return SQLITE_OK; + } + + rc = sqlite3Stat4ProbeSetValue(pParse, p, &pRec, pExpr, 1, nEq-1, &bOk); + pBuilder->pRec = pRec; + if( rc!=SQLITE_OK ) return rc; + if( bOk==0 ) return SQLITE_NOTFOUND; + pBuilder->nRecValid = nEq; + + whereKeyStats(pParse, p, pRec, 0, a); + WHERETRACE(0x10,("equality scan regions %s(%d): %d\n", + p->zName, nEq-1, (int)a[1])); + *pnRow = a[1]; + + return rc; +} +#endif /* SQLITE_ENABLE_STAT4 */ + +#ifdef SQLITE_ENABLE_STAT4 +/* +** Estimate the number of rows that will be returned based on +** an IN constraint where the right-hand side of the IN operator +** is a list of values. Example: +** +** WHERE x IN (1,2,3,4) +** +** Write the estimated row count into *pnRow and return SQLITE_OK. +** If unable to make an estimate, leave *pnRow unchanged and return +** non-zero. +** +** This routine can fail if it is unable to load a collating sequence +** required for string comparison, or if unable to allocate memory +** for a UTF conversion required for comparison. The error is stored +** in the pParse structure. +*/ +static int whereInScanEst( + Parse *pParse, /* Parsing & code generating context */ + WhereLoopBuilder *pBuilder, + ExprList *pList, /* The value list on the RHS of "x IN (v1,v2,v3,...)" */ + tRowcnt *pnRow /* Write the revised row estimate here */ +){ + Index *p = pBuilder->pNew->u.btree.pIndex; + i64 nRow0 = sqlite3LogEstToInt(p->aiRowLogEst[0]); + int nRecValid = pBuilder->nRecValid; + int rc = SQLITE_OK; /* Subfunction return code */ + tRowcnt nEst; /* Number of rows for a single term */ + tRowcnt nRowEst = 0; /* New estimate of the number of rows */ + int i; /* Loop counter */ + + assert( p->aSample!=0 ); + for(i=0; rc==SQLITE_OK && inExpr; i++){ + nEst = nRow0; + rc = whereEqualScanEst(pParse, pBuilder, pList->a[i].pExpr, &nEst); + nRowEst += nEst; + pBuilder->nRecValid = nRecValid; + } + + if( rc==SQLITE_OK ){ + if( nRowEst > nRow0 ) nRowEst = nRow0; + *pnRow = nRowEst; + WHERETRACE(0x10,("IN row estimate: est=%d\n", nRowEst)); + } + assert( pBuilder->nRecValid==nRecValid ); + return rc; +} +#endif /* SQLITE_ENABLE_STAT4 */ + + +#ifdef WHERETRACE_ENABLED +/* +** Print the content of a WhereTerm object +*/ +static void whereTermPrint(WhereTerm *pTerm, int iTerm){ + if( pTerm==0 ){ + sqlite3DebugPrintf("TERM-%-3d NULL\n", iTerm); + }else{ + char zType[4]; + char zLeft[50]; + memcpy(zType, "...", 4); + if( pTerm->wtFlags & TERM_VIRTUAL ) zType[0] = 'V'; + if( pTerm->eOperator & WO_EQUIV ) zType[1] = 'E'; + if( ExprHasProperty(pTerm->pExpr, EP_FromJoin) ) zType[2] = 'L'; + if( pTerm->eOperator & WO_SINGLE ){ + sqlite3_snprintf(sizeof(zLeft),zLeft,"left={%d:%d}", + pTerm->leftCursor, pTerm->u.leftColumn); + }else if( (pTerm->eOperator & WO_OR)!=0 && pTerm->u.pOrInfo!=0 ){ + sqlite3_snprintf(sizeof(zLeft),zLeft,"indexable=0x%lld", + pTerm->u.pOrInfo->indexable); + }else{ + sqlite3_snprintf(sizeof(zLeft),zLeft,"left=%d", pTerm->leftCursor); + } + sqlite3DebugPrintf( + "TERM-%-3d %p %s %-12s prob=%-3d op=0x%03x wtFlags=0x%04x", + iTerm, pTerm, zType, zLeft, pTerm->truthProb, + pTerm->eOperator, pTerm->wtFlags); + if( pTerm->iField ){ + sqlite3DebugPrintf(" iField=%d\n", pTerm->iField); + }else{ + sqlite3DebugPrintf("\n"); + } + sqlite3TreeViewExpr(0, pTerm->pExpr, 0); + } +} +#endif + +#ifdef WHERETRACE_ENABLED +/* +** Show the complete content of a WhereClause +*/ +SQLITE_PRIVATE void sqlite3WhereClausePrint(WhereClause *pWC){ + int i; + for(i=0; inTerm; i++){ + whereTermPrint(&pWC->a[i], i); + } +} +#endif + +#ifdef WHERETRACE_ENABLED +/* +** Print a WhereLoop object for debugging purposes +*/ +static void whereLoopPrint(WhereLoop *p, WhereClause *pWC){ + WhereInfo *pWInfo = pWC->pWInfo; + int nb = 1+(pWInfo->pTabList->nSrc+3)/4; + struct SrcList_item *pItem = pWInfo->pTabList->a + p->iTab; + Table *pTab = pItem->pTab; + Bitmask mAll = (((Bitmask)1)<<(nb*4)) - 1; + sqlite3DebugPrintf("%c%2d.%0*llx.%0*llx", p->cId, + p->iTab, nb, p->maskSelf, nb, p->prereq & mAll); + sqlite3DebugPrintf(" %12s", + pItem->zAlias ? pItem->zAlias : pTab->zName); + if( (p->wsFlags & WHERE_VIRTUALTABLE)==0 ){ + const char *zName; + if( p->u.btree.pIndex && (zName = p->u.btree.pIndex->zName)!=0 ){ + if( strncmp(zName, "sqlite_autoindex_", 17)==0 ){ + int i = sqlite3Strlen30(zName) - 1; + while( zName[i]!='_' ) i--; + zName += i; + } + sqlite3DebugPrintf(".%-16s %2d", zName, p->u.btree.nEq); + }else{ + sqlite3DebugPrintf("%20s",""); + } + }else{ + char *z; + if( p->u.vtab.idxStr ){ + z = sqlite3_mprintf("(%d,\"%s\",%x)", + p->u.vtab.idxNum, p->u.vtab.idxStr, p->u.vtab.omitMask); + }else{ + z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask); + } + sqlite3DebugPrintf(" %-19s", z); + sqlite3_free(z); + } + if( p->wsFlags & WHERE_SKIPSCAN ){ + sqlite3DebugPrintf(" f %05x %d-%d", p->wsFlags, p->nLTerm,p->nSkip); + }else{ + sqlite3DebugPrintf(" f %05x N %d", p->wsFlags, p->nLTerm); + } + sqlite3DebugPrintf(" cost %d,%d,%d\n", p->rSetup, p->rRun, p->nOut); + if( p->nLTerm && (sqlite3WhereTrace & 0x100)!=0 ){ + int i; + for(i=0; inLTerm; i++){ + whereTermPrint(p->aLTerm[i], i); + } + } +} +#endif + +/* +** Convert bulk memory into a valid WhereLoop that can be passed +** to whereLoopClear harmlessly. +*/ +static void whereLoopInit(WhereLoop *p){ + p->aLTerm = p->aLTermSpace; + p->nLTerm = 0; + p->nLSlot = ArraySize(p->aLTermSpace); + p->wsFlags = 0; +} + +/* +** Clear the WhereLoop.u union. Leave WhereLoop.pLTerm intact. +*/ +static void whereLoopClearUnion(sqlite3 *db, WhereLoop *p){ + if( p->wsFlags & (WHERE_VIRTUALTABLE|WHERE_AUTO_INDEX) ){ + if( (p->wsFlags & WHERE_VIRTUALTABLE)!=0 && p->u.vtab.needFree ){ + sqlite3_free(p->u.vtab.idxStr); + p->u.vtab.needFree = 0; + p->u.vtab.idxStr = 0; + }else if( (p->wsFlags & WHERE_AUTO_INDEX)!=0 && p->u.btree.pIndex!=0 ){ + sqlite3DbFree(db, p->u.btree.pIndex->zColAff); + sqlite3DbFreeNN(db, p->u.btree.pIndex); + p->u.btree.pIndex = 0; + } + } +} + +/* +** Deallocate internal memory used by a WhereLoop object +*/ +static void whereLoopClear(sqlite3 *db, WhereLoop *p){ + if( p->aLTerm!=p->aLTermSpace ) sqlite3DbFreeNN(db, p->aLTerm); + whereLoopClearUnion(db, p); + whereLoopInit(p); +} + +/* +** Increase the memory allocation for pLoop->aLTerm[] to be at least n. +*/ +static int whereLoopResize(sqlite3 *db, WhereLoop *p, int n){ + WhereTerm **paNew; + if( p->nLSlot>=n ) return SQLITE_OK; + n = (n+7)&~7; + paNew = sqlite3DbMallocRawNN(db, sizeof(p->aLTerm[0])*n); + if( paNew==0 ) return SQLITE_NOMEM_BKPT; + memcpy(paNew, p->aLTerm, sizeof(p->aLTerm[0])*p->nLSlot); + if( p->aLTerm!=p->aLTermSpace ) sqlite3DbFreeNN(db, p->aLTerm); + p->aLTerm = paNew; + p->nLSlot = n; + return SQLITE_OK; +} + +/* +** Transfer content from the second pLoop into the first. +*/ +static int whereLoopXfer(sqlite3 *db, WhereLoop *pTo, WhereLoop *pFrom){ + whereLoopClearUnion(db, pTo); + if( whereLoopResize(db, pTo, pFrom->nLTerm) ){ + memset(&pTo->u, 0, sizeof(pTo->u)); + return SQLITE_NOMEM_BKPT; + } + memcpy(pTo, pFrom, WHERE_LOOP_XFER_SZ); + memcpy(pTo->aLTerm, pFrom->aLTerm, pTo->nLTerm*sizeof(pTo->aLTerm[0])); + if( pFrom->wsFlags & WHERE_VIRTUALTABLE ){ + pFrom->u.vtab.needFree = 0; + }else if( (pFrom->wsFlags & WHERE_AUTO_INDEX)!=0 ){ + pFrom->u.btree.pIndex = 0; + } + return SQLITE_OK; +} + +/* +** Delete a WhereLoop object +*/ +static void whereLoopDelete(sqlite3 *db, WhereLoop *p){ + whereLoopClear(db, p); + sqlite3DbFreeNN(db, p); +} + +/* +** Free a WhereInfo structure +*/ +static void whereInfoFree(sqlite3 *db, WhereInfo *pWInfo){ + int i; + assert( pWInfo!=0 ); + for(i=0; inLevel; i++){ + WhereLevel *pLevel = &pWInfo->a[i]; + if( pLevel->pWLoop && (pLevel->pWLoop->wsFlags & WHERE_IN_ABLE) ){ + sqlite3DbFree(db, pLevel->u.in.aInLoop); + } + } + sqlite3WhereClauseClear(&pWInfo->sWC); + while( pWInfo->pLoops ){ + WhereLoop *p = pWInfo->pLoops; + pWInfo->pLoops = p->pNextLoop; + whereLoopDelete(db, p); + } + sqlite3DbFreeNN(db, pWInfo); +} + +/* +** Return TRUE if all of the following are true: +** +** (1) X has the same or lower cost that Y +** (2) X uses fewer WHERE clause terms than Y +** (3) Every WHERE clause term used by X is also used by Y +** (4) X skips at least as many columns as Y +** (5) If X is a covering index, than Y is too +** +** Conditions (2) and (3) mean that X is a "proper subset" of Y. +** If X is a proper subset of Y then Y is a better choice and ought +** to have a lower cost. This routine returns TRUE when that cost +** relationship is inverted and needs to be adjusted. Constraint (4) +** was added because if X uses skip-scan less than Y it still might +** deserve a lower cost even if it is a proper subset of Y. Constraint (5) +** was added because a covering index probably deserves to have a lower cost +** than a non-covering index even if it is a proper subset. +*/ +static int whereLoopCheaperProperSubset( + const WhereLoop *pX, /* First WhereLoop to compare */ + const WhereLoop *pY /* Compare against this WhereLoop */ +){ + int i, j; + if( pX->nLTerm-pX->nSkip >= pY->nLTerm-pY->nSkip ){ + return 0; /* X is not a subset of Y */ + } + if( pY->nSkip > pX->nSkip ) return 0; + if( pX->rRun >= pY->rRun ){ + if( pX->rRun > pY->rRun ) return 0; /* X costs more than Y */ + if( pX->nOut > pY->nOut ) return 0; /* X costs more than Y */ + } + for(i=pX->nLTerm-1; i>=0; i--){ + if( pX->aLTerm[i]==0 ) continue; + for(j=pY->nLTerm-1; j>=0; j--){ + if( pY->aLTerm[j]==pX->aLTerm[i] ) break; + } + if( j<0 ) return 0; /* X not a subset of Y since term X[i] not used by Y */ + } + if( (pX->wsFlags&WHERE_IDX_ONLY)!=0 + && (pY->wsFlags&WHERE_IDX_ONLY)==0 ){ + return 0; /* Constraint (5) */ + } + return 1; /* All conditions meet */ +} + +/* +** Try to adjust the cost of WhereLoop pTemplate upwards or downwards so +** that: +** +** (1) pTemplate costs less than any other WhereLoops that are a proper +** subset of pTemplate +** +** (2) pTemplate costs more than any other WhereLoops for which pTemplate +** is a proper subset. +** +** To say "WhereLoop X is a proper subset of Y" means that X uses fewer +** WHERE clause terms than Y and that every WHERE clause term used by X is +** also used by Y. +*/ +static void whereLoopAdjustCost(const WhereLoop *p, WhereLoop *pTemplate){ + if( (pTemplate->wsFlags & WHERE_INDEXED)==0 ) return; + for(; p; p=p->pNextLoop){ + if( p->iTab!=pTemplate->iTab ) continue; + if( (p->wsFlags & WHERE_INDEXED)==0 ) continue; + if( whereLoopCheaperProperSubset(p, pTemplate) ){ + /* Adjust pTemplate cost downward so that it is cheaper than its + ** subset p. */ + WHERETRACE(0x80,("subset cost adjustment %d,%d to %d,%d\n", + pTemplate->rRun, pTemplate->nOut, p->rRun, p->nOut-1)); + pTemplate->rRun = p->rRun; + pTemplate->nOut = p->nOut - 1; + }else if( whereLoopCheaperProperSubset(pTemplate, p) ){ + /* Adjust pTemplate cost upward so that it is costlier than p since + ** pTemplate is a proper subset of p */ + WHERETRACE(0x80,("subset cost adjustment %d,%d to %d,%d\n", + pTemplate->rRun, pTemplate->nOut, p->rRun, p->nOut+1)); + pTemplate->rRun = p->rRun; + pTemplate->nOut = p->nOut + 1; + } + } +} + +/* +** Search the list of WhereLoops in *ppPrev looking for one that can be +** replaced by pTemplate. +** +** Return NULL if pTemplate does not belong on the WhereLoop list. +** In other words if pTemplate ought to be dropped from further consideration. +** +** If pX is a WhereLoop that pTemplate can replace, then return the +** link that points to pX. +** +** If pTemplate cannot replace any existing element of the list but needs +** to be added to the list as a new entry, then return a pointer to the +** tail of the list. +*/ +static WhereLoop **whereLoopFindLesser( + WhereLoop **ppPrev, + const WhereLoop *pTemplate +){ + WhereLoop *p; + for(p=(*ppPrev); p; ppPrev=&p->pNextLoop, p=*ppPrev){ + if( p->iTab!=pTemplate->iTab || p->iSortIdx!=pTemplate->iSortIdx ){ + /* If either the iTab or iSortIdx values for two WhereLoop are different + ** then those WhereLoops need to be considered separately. Neither is + ** a candidate to replace the other. */ + continue; + } + /* In the current implementation, the rSetup value is either zero + ** or the cost of building an automatic index (NlogN) and the NlogN + ** is the same for compatible WhereLoops. */ + assert( p->rSetup==0 || pTemplate->rSetup==0 + || p->rSetup==pTemplate->rSetup ); + + /* whereLoopAddBtree() always generates and inserts the automatic index + ** case first. Hence compatible candidate WhereLoops never have a larger + ** rSetup. Call this SETUP-INVARIANT */ + assert( p->rSetup>=pTemplate->rSetup ); + + /* Any loop using an appliation-defined index (or PRIMARY KEY or + ** UNIQUE constraint) with one or more == constraints is better + ** than an automatic index. Unless it is a skip-scan. */ + if( (p->wsFlags & WHERE_AUTO_INDEX)!=0 + && (pTemplate->nSkip)==0 + && (pTemplate->wsFlags & WHERE_INDEXED)!=0 + && (pTemplate->wsFlags & WHERE_COLUMN_EQ)!=0 + && (p->prereq & pTemplate->prereq)==pTemplate->prereq + ){ + break; + } + + /* If existing WhereLoop p is better than pTemplate, pTemplate can be + ** discarded. WhereLoop p is better if: + ** (1) p has no more dependencies than pTemplate, and + ** (2) p has an equal or lower cost than pTemplate + */ + if( (p->prereq & pTemplate->prereq)==p->prereq /* (1) */ + && p->rSetup<=pTemplate->rSetup /* (2a) */ + && p->rRun<=pTemplate->rRun /* (2b) */ + && p->nOut<=pTemplate->nOut /* (2c) */ + ){ + return 0; /* Discard pTemplate */ + } + + /* If pTemplate is always better than p, then cause p to be overwritten + ** with pTemplate. pTemplate is better than p if: + ** (1) pTemplate has no more dependences than p, and + ** (2) pTemplate has an equal or lower cost than p. + */ + if( (p->prereq & pTemplate->prereq)==pTemplate->prereq /* (1) */ + && p->rRun>=pTemplate->rRun /* (2a) */ + && p->nOut>=pTemplate->nOut /* (2b) */ + ){ + assert( p->rSetup>=pTemplate->rSetup ); /* SETUP-INVARIANT above */ + break; /* Cause p to be overwritten by pTemplate */ + } + } + return ppPrev; +} + +/* +** Insert or replace a WhereLoop entry using the template supplied. +** +** An existing WhereLoop entry might be overwritten if the new template +** is better and has fewer dependencies. Or the template will be ignored +** and no insert will occur if an existing WhereLoop is faster and has +** fewer dependencies than the template. Otherwise a new WhereLoop is +** added based on the template. +** +** If pBuilder->pOrSet is not NULL then we care about only the +** prerequisites and rRun and nOut costs of the N best loops. That +** information is gathered in the pBuilder->pOrSet object. This special +** processing mode is used only for OR clause processing. +** +** When accumulating multiple loops (when pBuilder->pOrSet is NULL) we +** still might overwrite similar loops with the new template if the +** new template is better. Loops may be overwritten if the following +** conditions are met: +** +** (1) They have the same iTab. +** (2) They have the same iSortIdx. +** (3) The template has same or fewer dependencies than the current loop +** (4) The template has the same or lower cost than the current loop +*/ +static int whereLoopInsert(WhereLoopBuilder *pBuilder, WhereLoop *pTemplate){ + WhereLoop **ppPrev, *p; + WhereInfo *pWInfo = pBuilder->pWInfo; + sqlite3 *db = pWInfo->pParse->db; + int rc; + + /* Stop the search once we hit the query planner search limit */ + if( pBuilder->iPlanLimit==0 ){ + WHERETRACE(0xffffffff,("=== query planner search limit reached ===\n")); + if( pBuilder->pOrSet ) pBuilder->pOrSet->n = 0; + return SQLITE_DONE; + } + pBuilder->iPlanLimit--; + + /* If pBuilder->pOrSet is defined, then only keep track of the costs + ** and prereqs. + */ + if( pBuilder->pOrSet!=0 ){ + if( pTemplate->nLTerm ){ +#if WHERETRACE_ENABLED + u16 n = pBuilder->pOrSet->n; + int x = +#endif + whereOrInsert(pBuilder->pOrSet, pTemplate->prereq, pTemplate->rRun, + pTemplate->nOut); +#if WHERETRACE_ENABLED /* 0x8 */ + if( sqlite3WhereTrace & 0x8 ){ + sqlite3DebugPrintf(x?" or-%d: ":" or-X: ", n); + whereLoopPrint(pTemplate, pBuilder->pWC); + } +#endif + } + return SQLITE_OK; + } + + /* Look for an existing WhereLoop to replace with pTemplate + */ + whereLoopAdjustCost(pWInfo->pLoops, pTemplate); + ppPrev = whereLoopFindLesser(&pWInfo->pLoops, pTemplate); + + if( ppPrev==0 ){ + /* There already exists a WhereLoop on the list that is better + ** than pTemplate, so just ignore pTemplate */ +#if WHERETRACE_ENABLED /* 0x8 */ + if( sqlite3WhereTrace & 0x8 ){ + sqlite3DebugPrintf(" skip: "); + whereLoopPrint(pTemplate, pBuilder->pWC); + } +#endif + return SQLITE_OK; + }else{ + p = *ppPrev; + } + + /* If we reach this point it means that either p[] should be overwritten + ** with pTemplate[] if p[] exists, or if p==NULL then allocate a new + ** WhereLoop and insert it. + */ +#if WHERETRACE_ENABLED /* 0x8 */ + if( sqlite3WhereTrace & 0x8 ){ + if( p!=0 ){ + sqlite3DebugPrintf("replace: "); + whereLoopPrint(p, pBuilder->pWC); + sqlite3DebugPrintf(" with: "); + }else{ + sqlite3DebugPrintf(" add: "); + } + whereLoopPrint(pTemplate, pBuilder->pWC); + } +#endif + if( p==0 ){ + /* Allocate a new WhereLoop to add to the end of the list */ + *ppPrev = p = sqlite3DbMallocRawNN(db, sizeof(WhereLoop)); + if( p==0 ) return SQLITE_NOMEM_BKPT; + whereLoopInit(p); + p->pNextLoop = 0; + }else{ + /* We will be overwriting WhereLoop p[]. But before we do, first + ** go through the rest of the list and delete any other entries besides + ** p[] that are also supplated by pTemplate */ + WhereLoop **ppTail = &p->pNextLoop; + WhereLoop *pToDel; + while( *ppTail ){ + ppTail = whereLoopFindLesser(ppTail, pTemplate); + if( ppTail==0 ) break; + pToDel = *ppTail; + if( pToDel==0 ) break; + *ppTail = pToDel->pNextLoop; +#if WHERETRACE_ENABLED /* 0x8 */ + if( sqlite3WhereTrace & 0x8 ){ + sqlite3DebugPrintf(" delete: "); + whereLoopPrint(pToDel, pBuilder->pWC); + } +#endif + whereLoopDelete(db, pToDel); + } + } + rc = whereLoopXfer(db, p, pTemplate); + if( (p->wsFlags & WHERE_VIRTUALTABLE)==0 ){ + Index *pIndex = p->u.btree.pIndex; + if( pIndex && pIndex->idxType==SQLITE_IDXTYPE_IPK ){ + p->u.btree.pIndex = 0; + } + } + return rc; +} + +/* +** Adjust the WhereLoop.nOut value downward to account for terms of the +** WHERE clause that reference the loop but which are not used by an +** index. +* +** For every WHERE clause term that is not used by the index +** and which has a truth probability assigned by one of the likelihood(), +** likely(), or unlikely() SQL functions, reduce the estimated number +** of output rows by the probability specified. +** +** TUNING: For every WHERE clause term that is not used by the index +** and which does not have an assigned truth probability, heuristics +** described below are used to try to estimate the truth probability. +** TODO --> Perhaps this is something that could be improved by better +** table statistics. +** +** Heuristic 1: Estimate the truth probability as 93.75%. The 93.75% +** value corresponds to -1 in LogEst notation, so this means decrement +** the WhereLoop.nOut field for every such WHERE clause term. +** +** Heuristic 2: If there exists one or more WHERE clause terms of the +** form "x==EXPR" and EXPR is not a constant 0 or 1, then make sure the +** final output row estimate is no greater than 1/4 of the total number +** of rows in the table. In other words, assume that x==EXPR will filter +** out at least 3 out of 4 rows. If EXPR is -1 or 0 or 1, then maybe the +** "x" column is boolean or else -1 or 0 or 1 is a common default value +** on the "x" column and so in that case only cap the output row estimate +** at 1/2 instead of 1/4. +*/ +static void whereLoopOutputAdjust( + WhereClause *pWC, /* The WHERE clause */ + WhereLoop *pLoop, /* The loop to adjust downward */ + LogEst nRow /* Number of rows in the entire table */ +){ + WhereTerm *pTerm, *pX; + Bitmask notAllowed = ~(pLoop->prereq|pLoop->maskSelf); + int i, j; + LogEst iReduce = 0; /* pLoop->nOut should not exceed nRow-iReduce */ + + assert( (pLoop->wsFlags & WHERE_AUTO_INDEX)==0 ); + for(i=pWC->nTerm, pTerm=pWC->a; i>0; i--, pTerm++){ + assert( pTerm!=0 ); + if( (pTerm->wtFlags & TERM_VIRTUAL)!=0 ) break; + if( (pTerm->prereqAll & pLoop->maskSelf)==0 ) continue; + if( (pTerm->prereqAll & notAllowed)!=0 ) continue; + for(j=pLoop->nLTerm-1; j>=0; j--){ + pX = pLoop->aLTerm[j]; + if( pX==0 ) continue; + if( pX==pTerm ) break; + if( pX->iParent>=0 && (&pWC->a[pX->iParent])==pTerm ) break; + } + if( j<0 ){ + if( pTerm->truthProb<=0 ){ + /* If a truth probability is specified using the likelihood() hints, + ** then use the probability provided by the application. */ + pLoop->nOut += pTerm->truthProb; + }else{ + /* In the absence of explicit truth probabilities, use heuristics to + ** guess a reasonable truth probability. */ + pLoop->nOut--; + if( pTerm->eOperator&(WO_EQ|WO_IS) ){ + Expr *pRight = pTerm->pExpr->pRight; + int k = 0; + testcase( pTerm->pExpr->op==TK_IS ); + if( sqlite3ExprIsInteger(pRight, &k) && k>=(-1) && k<=1 ){ + k = 10; + }else{ + k = 20; + } + if( iReducenOut > nRow-iReduce ) pLoop->nOut = nRow - iReduce; +} + +/* +** Term pTerm is a vector range comparison operation. The first comparison +** in the vector can be optimized using column nEq of the index. This +** function returns the total number of vector elements that can be used +** as part of the range comparison. +** +** For example, if the query is: +** +** WHERE a = ? AND (b, c, d) > (?, ?, ?) +** +** and the index: +** +** CREATE INDEX ... ON (a, b, c, d, e) +** +** then this function would be invoked with nEq=1. The value returned in +** this case is 3. +*/ +static int whereRangeVectorLen( + Parse *pParse, /* Parsing context */ + int iCur, /* Cursor open on pIdx */ + Index *pIdx, /* The index to be used for a inequality constraint */ + int nEq, /* Number of prior equality constraints on same index */ + WhereTerm *pTerm /* The vector inequality constraint */ +){ + int nCmp = sqlite3ExprVectorSize(pTerm->pExpr->pLeft); + int i; + + nCmp = MIN(nCmp, (pIdx->nColumn - nEq)); + for(i=1; ipExpr->pLeft->x.pList->a[i].pExpr; + Expr *pRhs = pTerm->pExpr->pRight; + if( pRhs->flags & EP_xIsSelect ){ + pRhs = pRhs->x.pSelect->pEList->a[i].pExpr; + }else{ + pRhs = pRhs->x.pList->a[i].pExpr; + } + + /* Check that the LHS of the comparison is a column reference to + ** the right column of the right source table. And that the sort + ** order of the index column is the same as the sort order of the + ** leftmost index column. */ + if( pLhs->op!=TK_COLUMN + || pLhs->iTable!=iCur + || pLhs->iColumn!=pIdx->aiColumn[i+nEq] + || pIdx->aSortOrder[i+nEq]!=pIdx->aSortOrder[nEq] + ){ + break; + } + + testcase( pLhs->iColumn==XN_ROWID ); + aff = sqlite3CompareAffinity(pRhs, sqlite3ExprAffinity(pLhs)); + idxaff = sqlite3TableColumnAffinity(pIdx->pTable, pLhs->iColumn); + if( aff!=idxaff ) break; + + pColl = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs); + if( pColl==0 ) break; + if( sqlite3StrICmp(pColl->zName, pIdx->azColl[i+nEq]) ) break; + } + return i; +} + +/* +** Adjust the cost C by the costMult facter T. This only occurs if +** compiled with -DSQLITE_ENABLE_COSTMULT +*/ +#ifdef SQLITE_ENABLE_COSTMULT +# define ApplyCostMultiplier(C,T) C += T +#else +# define ApplyCostMultiplier(C,T) +#endif + +/* +** We have so far matched pBuilder->pNew->u.btree.nEq terms of the +** index pIndex. Try to match one more. +** +** When this function is called, pBuilder->pNew->nOut contains the +** number of rows expected to be visited by filtering using the nEq +** terms only. If it is modified, this value is restored before this +** function returns. +** +** If pProbe->idxType==SQLITE_IDXTYPE_IPK, that means pIndex is +** a fake index used for the INTEGER PRIMARY KEY. +*/ +static int whereLoopAddBtreeIndex( + WhereLoopBuilder *pBuilder, /* The WhereLoop factory */ + struct SrcList_item *pSrc, /* FROM clause term being analyzed */ + Index *pProbe, /* An index on pSrc */ + LogEst nInMul /* log(Number of iterations due to IN) */ +){ + WhereInfo *pWInfo = pBuilder->pWInfo; /* WHERE analyse context */ + Parse *pParse = pWInfo->pParse; /* Parsing context */ + sqlite3 *db = pParse->db; /* Database connection malloc context */ + WhereLoop *pNew; /* Template WhereLoop under construction */ + WhereTerm *pTerm; /* A WhereTerm under consideration */ + int opMask; /* Valid operators for constraints */ + WhereScan scan; /* Iterator for WHERE terms */ + Bitmask saved_prereq; /* Original value of pNew->prereq */ + u16 saved_nLTerm; /* Original value of pNew->nLTerm */ + u16 saved_nEq; /* Original value of pNew->u.btree.nEq */ + u16 saved_nBtm; /* Original value of pNew->u.btree.nBtm */ + u16 saved_nTop; /* Original value of pNew->u.btree.nTop */ + u16 saved_nSkip; /* Original value of pNew->nSkip */ + u32 saved_wsFlags; /* Original value of pNew->wsFlags */ + LogEst saved_nOut; /* Original value of pNew->nOut */ + int rc = SQLITE_OK; /* Return code */ + LogEst rSize; /* Number of rows in the table */ + LogEst rLogSize; /* Logarithm of table size */ + WhereTerm *pTop = 0, *pBtm = 0; /* Top and bottom range constraints */ + + pNew = pBuilder->pNew; + if( db->mallocFailed ) return SQLITE_NOMEM_BKPT; + WHERETRACE(0x800, ("BEGIN %s.addBtreeIdx(%s), nEq=%d\n", + pProbe->pTable->zName,pProbe->zName, pNew->u.btree.nEq)); + + assert( (pNew->wsFlags & WHERE_VIRTUALTABLE)==0 ); + assert( (pNew->wsFlags & WHERE_TOP_LIMIT)==0 ); + if( pNew->wsFlags & WHERE_BTM_LIMIT ){ + opMask = WO_LT|WO_LE; + }else{ + assert( pNew->u.btree.nBtm==0 ); + opMask = WO_EQ|WO_IN|WO_GT|WO_GE|WO_LT|WO_LE|WO_ISNULL|WO_IS; + } + if( pProbe->bUnordered ) opMask &= ~(WO_GT|WO_GE|WO_LT|WO_LE); + + assert( pNew->u.btree.nEqnColumn ); + + saved_nEq = pNew->u.btree.nEq; + saved_nBtm = pNew->u.btree.nBtm; + saved_nTop = pNew->u.btree.nTop; + saved_nSkip = pNew->nSkip; + saved_nLTerm = pNew->nLTerm; + saved_wsFlags = pNew->wsFlags; + saved_prereq = pNew->prereq; + saved_nOut = pNew->nOut; + pTerm = whereScanInit(&scan, pBuilder->pWC, pSrc->iCursor, saved_nEq, + opMask, pProbe); + pNew->rSetup = 0; + rSize = pProbe->aiRowLogEst[0]; + rLogSize = estLog(rSize); + for(; rc==SQLITE_OK && pTerm!=0; pTerm = whereScanNext(&scan)){ + u16 eOp = pTerm->eOperator; /* Shorthand for pTerm->eOperator */ + LogEst rCostIdx; + LogEst nOutUnadjusted; /* nOut before IN() and WHERE adjustments */ + int nIn = 0; +#ifdef SQLITE_ENABLE_STAT4 + int nRecValid = pBuilder->nRecValid; +#endif + if( (eOp==WO_ISNULL || (pTerm->wtFlags&TERM_VNULL)!=0) + && indexColumnNotNull(pProbe, saved_nEq) + ){ + continue; /* ignore IS [NOT] NULL constraints on NOT NULL columns */ + } + if( pTerm->prereqRight & pNew->maskSelf ) continue; + + /* Do not allow the upper bound of a LIKE optimization range constraint + ** to mix with a lower range bound from some other source */ + if( pTerm->wtFlags & TERM_LIKEOPT && pTerm->eOperator==WO_LT ) continue; + + /* Do not allow constraints from the WHERE clause to be used by the + ** right table of a LEFT JOIN. Only constraints in the ON clause are + ** allowed */ + if( (pSrc->fg.jointype & JT_LEFT)!=0 + && !ExprHasProperty(pTerm->pExpr, EP_FromJoin) + ){ + continue; + } + + if( IsUniqueIndex(pProbe) && saved_nEq==pProbe->nKeyCol-1 ){ + pBuilder->bldFlags |= SQLITE_BLDF_UNIQUE; + }else{ + pBuilder->bldFlags |= SQLITE_BLDF_INDEXED; + } + pNew->wsFlags = saved_wsFlags; + pNew->u.btree.nEq = saved_nEq; + pNew->u.btree.nBtm = saved_nBtm; + pNew->u.btree.nTop = saved_nTop; + pNew->nLTerm = saved_nLTerm; + if( whereLoopResize(db, pNew, pNew->nLTerm+1) ) break; /* OOM */ + pNew->aLTerm[pNew->nLTerm++] = pTerm; + pNew->prereq = (saved_prereq | pTerm->prereqRight) & ~pNew->maskSelf; + + assert( nInMul==0 + || (pNew->wsFlags & WHERE_COLUMN_NULL)!=0 + || (pNew->wsFlags & WHERE_COLUMN_IN)!=0 + || (pNew->wsFlags & WHERE_SKIPSCAN)!=0 + ); + + if( eOp & WO_IN ){ + Expr *pExpr = pTerm->pExpr; + if( ExprHasProperty(pExpr, EP_xIsSelect) ){ + /* "x IN (SELECT ...)": TUNING: the SELECT returns 25 rows */ + int i; + nIn = 46; assert( 46==sqlite3LogEst(25) ); + + /* The expression may actually be of the form (x, y) IN (SELECT...). + ** In this case there is a separate term for each of (x) and (y). + ** However, the nIn multiplier should only be applied once, not once + ** for each such term. The following loop checks that pTerm is the + ** first such term in use, and sets nIn back to 0 if it is not. */ + for(i=0; inLTerm-1; i++){ + if( pNew->aLTerm[i] && pNew->aLTerm[i]->pExpr==pExpr ) nIn = 0; + } + }else if( ALWAYS(pExpr->x.pList && pExpr->x.pList->nExpr) ){ + /* "x IN (value, value, ...)" */ + nIn = sqlite3LogEst(pExpr->x.pList->nExpr); + } + if( pProbe->hasStat1 ){ + LogEst M, logK, safetyMargin; + /* Let: + ** N = the total number of rows in the table + ** K = the number of entries on the RHS of the IN operator + ** M = the number of rows in the table that match terms to the + ** to the left in the same index. If the IN operator is on + ** the left-most index column, M==N. + ** + ** Given the definitions above, it is better to omit the IN operator + ** from the index lookup and instead do a scan of the M elements, + ** testing each scanned row against the IN operator separately, if: + ** + ** M*log(K) < K*log(N) + ** + ** Our estimates for M, K, and N might be inaccurate, so we build in + ** a safety margin of 2 (LogEst: 10) that favors using the IN operator + ** with the index, as using an index has better worst-case behavior. + ** If we do not have real sqlite_stat1 data, always prefer to use + ** the index. + */ + M = pProbe->aiRowLogEst[saved_nEq]; + logK = estLog(nIn); + safetyMargin = 10; /* TUNING: extra weight for indexed IN */ + if( M + logK + safetyMargin < nIn + rLogSize ){ + WHERETRACE(0x40, + ("Scan preferred over IN operator on column %d of \"%s\" (%d<%d)\n", + saved_nEq, pProbe->zName, M+logK+10, nIn+rLogSize)); + continue; + }else{ + WHERETRACE(0x40, + ("IN operator preferred on column %d of \"%s\" (%d>=%d)\n", + saved_nEq, pProbe->zName, M+logK+10, nIn+rLogSize)); + } + } + pNew->wsFlags |= WHERE_COLUMN_IN; + }else if( eOp & (WO_EQ|WO_IS) ){ + int iCol = pProbe->aiColumn[saved_nEq]; + pNew->wsFlags |= WHERE_COLUMN_EQ; + assert( saved_nEq==pNew->u.btree.nEq ); + if( iCol==XN_ROWID + || (iCol>=0 && nInMul==0 && saved_nEq==pProbe->nKeyCol-1) + ){ + if( iCol==XN_ROWID || pProbe->uniqNotNull + || (pProbe->nKeyCol==1 && pProbe->onError && eOp==WO_EQ) + ){ + pNew->wsFlags |= WHERE_ONEROW; + }else{ + pNew->wsFlags |= WHERE_UNQ_WANTED; + } + } + }else if( eOp & WO_ISNULL ){ + pNew->wsFlags |= WHERE_COLUMN_NULL; + }else if( eOp & (WO_GT|WO_GE) ){ + testcase( eOp & WO_GT ); + testcase( eOp & WO_GE ); + pNew->wsFlags |= WHERE_COLUMN_RANGE|WHERE_BTM_LIMIT; + pNew->u.btree.nBtm = whereRangeVectorLen( + pParse, pSrc->iCursor, pProbe, saved_nEq, pTerm + ); + pBtm = pTerm; + pTop = 0; + if( pTerm->wtFlags & TERM_LIKEOPT ){ + /* Range contraints that come from the LIKE optimization are + ** always used in pairs. */ + pTop = &pTerm[1]; + assert( (pTop-(pTerm->pWC->a))pWC->nTerm ); + assert( pTop->wtFlags & TERM_LIKEOPT ); + assert( pTop->eOperator==WO_LT ); + if( whereLoopResize(db, pNew, pNew->nLTerm+1) ) break; /* OOM */ + pNew->aLTerm[pNew->nLTerm++] = pTop; + pNew->wsFlags |= WHERE_TOP_LIMIT; + pNew->u.btree.nTop = 1; + } + }else{ + assert( eOp & (WO_LT|WO_LE) ); + testcase( eOp & WO_LT ); + testcase( eOp & WO_LE ); + pNew->wsFlags |= WHERE_COLUMN_RANGE|WHERE_TOP_LIMIT; + pNew->u.btree.nTop = whereRangeVectorLen( + pParse, pSrc->iCursor, pProbe, saved_nEq, pTerm + ); + pTop = pTerm; + pBtm = (pNew->wsFlags & WHERE_BTM_LIMIT)!=0 ? + pNew->aLTerm[pNew->nLTerm-2] : 0; + } + + /* At this point pNew->nOut is set to the number of rows expected to + ** be visited by the index scan before considering term pTerm, or the + ** values of nIn and nInMul. In other words, assuming that all + ** "x IN(...)" terms are replaced with "x = ?". This block updates + ** the value of pNew->nOut to account for pTerm (but not nIn/nInMul). */ + assert( pNew->nOut==saved_nOut ); + if( pNew->wsFlags & WHERE_COLUMN_RANGE ){ + /* Adjust nOut using stat4 data. Or, if there is no stat4 + ** data, using some other estimate. */ + whereRangeScanEst(pParse, pBuilder, pBtm, pTop, pNew); + }else{ + int nEq = ++pNew->u.btree.nEq; + assert( eOp & (WO_ISNULL|WO_EQ|WO_IN|WO_IS) ); + + assert( pNew->nOut==saved_nOut ); + if( pTerm->truthProb<=0 && pProbe->aiColumn[saved_nEq]>=0 ){ + assert( (eOp & WO_IN) || nIn==0 ); + testcase( eOp & WO_IN ); + pNew->nOut += pTerm->truthProb; + pNew->nOut -= nIn; + }else{ +#ifdef SQLITE_ENABLE_STAT4 + tRowcnt nOut = 0; + if( nInMul==0 + && pProbe->nSample + && pNew->u.btree.nEq<=pProbe->nSampleCol + && ((eOp & WO_IN)==0 || !ExprHasProperty(pTerm->pExpr, EP_xIsSelect)) + && OptimizationEnabled(db, SQLITE_Stat4) + ){ + Expr *pExpr = pTerm->pExpr; + if( (eOp & (WO_EQ|WO_ISNULL|WO_IS))!=0 ){ + testcase( eOp & WO_EQ ); + testcase( eOp & WO_IS ); + testcase( eOp & WO_ISNULL ); + rc = whereEqualScanEst(pParse, pBuilder, pExpr->pRight, &nOut); + }else{ + rc = whereInScanEst(pParse, pBuilder, pExpr->x.pList, &nOut); + } + if( rc==SQLITE_NOTFOUND ) rc = SQLITE_OK; + if( rc!=SQLITE_OK ) break; /* Jump out of the pTerm loop */ + if( nOut ){ + pNew->nOut = sqlite3LogEst(nOut); + if( pNew->nOut>saved_nOut ) pNew->nOut = saved_nOut; + pNew->nOut -= nIn; + } + } + if( nOut==0 ) +#endif + { + pNew->nOut += (pProbe->aiRowLogEst[nEq] - pProbe->aiRowLogEst[nEq-1]); + if( eOp & WO_ISNULL ){ + /* TUNING: If there is no likelihood() value, assume that a + ** "col IS NULL" expression matches twice as many rows + ** as (col=?). */ + pNew->nOut += 10; + } + } + } + } + + /* Set rCostIdx to the cost of visiting selected rows in index. Add + ** it to pNew->rRun, which is currently set to the cost of the index + ** seek only. Then, if this is a non-covering index, add the cost of + ** visiting the rows in the main table. */ + assert( pSrc->pTab->szTabRow>0 ); + rCostIdx = pNew->nOut + 1 + (15*pProbe->szIdxRow)/pSrc->pTab->szTabRow; + pNew->rRun = sqlite3LogEstAdd(rLogSize, rCostIdx); + if( (pNew->wsFlags & (WHERE_IDX_ONLY|WHERE_IPK))==0 ){ + pNew->rRun = sqlite3LogEstAdd(pNew->rRun, pNew->nOut + 16); + } + ApplyCostMultiplier(pNew->rRun, pProbe->pTable->costMult); + + nOutUnadjusted = pNew->nOut; + pNew->rRun += nInMul + nIn; + pNew->nOut += nInMul + nIn; + whereLoopOutputAdjust(pBuilder->pWC, pNew, rSize); + rc = whereLoopInsert(pBuilder, pNew); + + if( pNew->wsFlags & WHERE_COLUMN_RANGE ){ + pNew->nOut = saved_nOut; + }else{ + pNew->nOut = nOutUnadjusted; + } + + if( (pNew->wsFlags & WHERE_TOP_LIMIT)==0 + && pNew->u.btree.nEqnColumn + ){ + whereLoopAddBtreeIndex(pBuilder, pSrc, pProbe, nInMul+nIn); + } + pNew->nOut = saved_nOut; +#ifdef SQLITE_ENABLE_STAT4 + pBuilder->nRecValid = nRecValid; +#endif + } + pNew->prereq = saved_prereq; + pNew->u.btree.nEq = saved_nEq; + pNew->u.btree.nBtm = saved_nBtm; + pNew->u.btree.nTop = saved_nTop; + pNew->nSkip = saved_nSkip; + pNew->wsFlags = saved_wsFlags; + pNew->nOut = saved_nOut; + pNew->nLTerm = saved_nLTerm; + + /* Consider using a skip-scan if there are no WHERE clause constraints + ** available for the left-most terms of the index, and if the average + ** number of repeats in the left-most terms is at least 18. + ** + ** The magic number 18 is selected on the basis that scanning 17 rows + ** is almost always quicker than an index seek (even though if the index + ** contains fewer than 2^17 rows we assume otherwise in other parts of + ** the code). And, even if it is not, it should not be too much slower. + ** On the other hand, the extra seeks could end up being significantly + ** more expensive. */ + assert( 42==sqlite3LogEst(18) ); + if( saved_nEq==saved_nSkip + && saved_nEq+1nKeyCol + && pProbe->noSkipScan==0 + && OptimizationEnabled(db, SQLITE_SkipScan) + && pProbe->aiRowLogEst[saved_nEq+1]>=42 /* TUNING: Minimum for skip-scan */ + && (rc = whereLoopResize(db, pNew, pNew->nLTerm+1))==SQLITE_OK + ){ + LogEst nIter; + pNew->u.btree.nEq++; + pNew->nSkip++; + pNew->aLTerm[pNew->nLTerm++] = 0; + pNew->wsFlags |= WHERE_SKIPSCAN; + nIter = pProbe->aiRowLogEst[saved_nEq] - pProbe->aiRowLogEst[saved_nEq+1]; + pNew->nOut -= nIter; + /* TUNING: Because uncertainties in the estimates for skip-scan queries, + ** add a 1.375 fudge factor to make skip-scan slightly less likely. */ + nIter += 5; + whereLoopAddBtreeIndex(pBuilder, pSrc, pProbe, nIter + nInMul); + pNew->nOut = saved_nOut; + pNew->u.btree.nEq = saved_nEq; + pNew->nSkip = saved_nSkip; + pNew->wsFlags = saved_wsFlags; + } + + WHERETRACE(0x800, ("END %s.addBtreeIdx(%s), nEq=%d, rc=%d\n", + pProbe->pTable->zName, pProbe->zName, saved_nEq, rc)); + return rc; +} + +/* +** Return True if it is possible that pIndex might be useful in +** implementing the ORDER BY clause in pBuilder. +** +** Return False if pBuilder does not contain an ORDER BY clause or +** if there is no way for pIndex to be useful in implementing that +** ORDER BY clause. +*/ +static int indexMightHelpWithOrderBy( + WhereLoopBuilder *pBuilder, + Index *pIndex, + int iCursor +){ + ExprList *pOB; + ExprList *aColExpr; + int ii, jj; + + if( pIndex->bUnordered ) return 0; + if( (pOB = pBuilder->pWInfo->pOrderBy)==0 ) return 0; + for(ii=0; iinExpr; ii++){ + Expr *pExpr = sqlite3ExprSkipCollateAndLikely(pOB->a[ii].pExpr); + if( pExpr->op==TK_COLUMN && pExpr->iTable==iCursor ){ + if( pExpr->iColumn<0 ) return 1; + for(jj=0; jjnKeyCol; jj++){ + if( pExpr->iColumn==pIndex->aiColumn[jj] ) return 1; + } + }else if( (aColExpr = pIndex->aColExpr)!=0 ){ + for(jj=0; jjnKeyCol; jj++){ + if( pIndex->aiColumn[jj]!=XN_EXPR ) continue; + if( sqlite3ExprCompareSkip(pExpr,aColExpr->a[jj].pExpr,iCursor)==0 ){ + return 1; + } + } + } + } + return 0; +} + +/* Check to see if a partial index with pPartIndexWhere can be used +** in the current query. Return true if it can be and false if not. +*/ +static int whereUsablePartialIndex(int iTab, WhereClause *pWC, Expr *pWhere){ + int i; + WhereTerm *pTerm; + Parse *pParse = pWC->pWInfo->pParse; + while( pWhere->op==TK_AND ){ + if( !whereUsablePartialIndex(iTab,pWC,pWhere->pLeft) ) return 0; + pWhere = pWhere->pRight; + } + if( pParse->db->flags & SQLITE_EnableQPSG ) pParse = 0; + for(i=0, pTerm=pWC->a; inTerm; i++, pTerm++){ + Expr *pExpr; + if( pTerm->wtFlags & TERM_NOPARTIDX ) continue; + pExpr = pTerm->pExpr; + if( (!ExprHasProperty(pExpr, EP_FromJoin) || pExpr->iRightJoinTable==iTab) + && sqlite3ExprImpliesExpr(pParse, pExpr, pWhere, iTab) + ){ + return 1; + } + } + return 0; +} + +/* +** Add all WhereLoop objects for a single table of the join where the table +** is identified by pBuilder->pNew->iTab. That table is guaranteed to be +** a b-tree table, not a virtual table. +** +** The costs (WhereLoop.rRun) of the b-tree loops added by this function +** are calculated as follows: +** +** For a full scan, assuming the table (or index) contains nRow rows: +** +** cost = nRow * 3.0 // full-table scan +** cost = nRow * K // scan of covering index +** cost = nRow * (K+3.0) // scan of non-covering index +** +** where K is a value between 1.1 and 3.0 set based on the relative +** estimated average size of the index and table records. +** +** For an index scan, where nVisit is the number of index rows visited +** by the scan, and nSeek is the number of seek operations required on +** the index b-tree: +** +** cost = nSeek * (log(nRow) + K * nVisit) // covering index +** cost = nSeek * (log(nRow) + (K+3.0) * nVisit) // non-covering index +** +** Normally, nSeek is 1. nSeek values greater than 1 come about if the +** WHERE clause includes "x IN (....)" terms used in place of "x=?". Or when +** implicit "x IN (SELECT x FROM tbl)" terms are added for skip-scans. +** +** The estimated values (nRow, nVisit, nSeek) often contain a large amount +** of uncertainty. For this reason, scoring is designed to pick plans that +** "do the least harm" if the estimates are inaccurate. For example, a +** log(nRow) factor is omitted from a non-covering index scan in order to +** bias the scoring in favor of using an index, since the worst-case +** performance of using an index is far better than the worst-case performance +** of a full table scan. +*/ +static int whereLoopAddBtree( + WhereLoopBuilder *pBuilder, /* WHERE clause information */ + Bitmask mPrereq /* Extra prerequesites for using this table */ +){ + WhereInfo *pWInfo; /* WHERE analysis context */ + Index *pProbe; /* An index we are evaluating */ + Index sPk; /* A fake index object for the primary key */ + LogEst aiRowEstPk[2]; /* The aiRowLogEst[] value for the sPk index */ + i16 aiColumnPk = -1; /* The aColumn[] value for the sPk index */ + SrcList *pTabList; /* The FROM clause */ + struct SrcList_item *pSrc; /* The FROM clause btree term to add */ + WhereLoop *pNew; /* Template WhereLoop object */ + int rc = SQLITE_OK; /* Return code */ + int iSortIdx = 1; /* Index number */ + int b; /* A boolean value */ + LogEst rSize; /* number of rows in the table */ + LogEst rLogSize; /* Logarithm of the number of rows in the table */ + WhereClause *pWC; /* The parsed WHERE clause */ + Table *pTab; /* Table being queried */ + + pNew = pBuilder->pNew; + pWInfo = pBuilder->pWInfo; + pTabList = pWInfo->pTabList; + pSrc = pTabList->a + pNew->iTab; + pTab = pSrc->pTab; + pWC = pBuilder->pWC; + assert( !IsVirtual(pSrc->pTab) ); + + if( pSrc->pIBIndex ){ + /* An INDEXED BY clause specifies a particular index to use */ + pProbe = pSrc->pIBIndex; + }else if( !HasRowid(pTab) ){ + pProbe = pTab->pIndex; + }else{ + /* There is no INDEXED BY clause. Create a fake Index object in local + ** variable sPk to represent the rowid primary key index. Make this + ** fake index the first in a chain of Index objects with all of the real + ** indices to follow */ + Index *pFirst; /* First of real indices on the table */ + memset(&sPk, 0, sizeof(Index)); + sPk.nKeyCol = 1; + sPk.nColumn = 1; + sPk.aiColumn = &aiColumnPk; + sPk.aiRowLogEst = aiRowEstPk; + sPk.onError = OE_Replace; + sPk.pTable = pTab; + sPk.szIdxRow = pTab->szTabRow; + sPk.idxType = SQLITE_IDXTYPE_IPK; + aiRowEstPk[0] = pTab->nRowLogEst; + aiRowEstPk[1] = 0; + pFirst = pSrc->pTab->pIndex; + if( pSrc->fg.notIndexed==0 ){ + /* The real indices of the table are only considered if the + ** NOT INDEXED qualifier is omitted from the FROM clause */ + sPk.pNext = pFirst; + } + pProbe = &sPk; + } + rSize = pTab->nRowLogEst; + rLogSize = estLog(rSize); + +#ifndef SQLITE_OMIT_AUTOMATIC_INDEX + /* Automatic indexes */ + if( !pBuilder->pOrSet /* Not part of an OR optimization */ + && (pWInfo->wctrlFlags & WHERE_OR_SUBCLAUSE)==0 + && (pWInfo->pParse->db->flags & SQLITE_AutoIndex)!=0 + && pSrc->pIBIndex==0 /* Has no INDEXED BY clause */ + && !pSrc->fg.notIndexed /* Has no NOT INDEXED clause */ + && HasRowid(pTab) /* Not WITHOUT ROWID table. (FIXME: Why not?) */ + && !pSrc->fg.isCorrelated /* Not a correlated subquery */ + && !pSrc->fg.isRecursive /* Not a recursive common table expression. */ + ){ + /* Generate auto-index WhereLoops */ + WhereTerm *pTerm; + WhereTerm *pWCEnd = pWC->a + pWC->nTerm; + for(pTerm=pWC->a; rc==SQLITE_OK && pTermprereqRight & pNew->maskSelf ) continue; + if( termCanDriveIndex(pTerm, pSrc, 0) ){ + pNew->u.btree.nEq = 1; + pNew->nSkip = 0; + pNew->u.btree.pIndex = 0; + pNew->nLTerm = 1; + pNew->aLTerm[0] = pTerm; + /* TUNING: One-time cost for computing the automatic index is + ** estimated to be X*N*log2(N) where N is the number of rows in + ** the table being indexed and where X is 7 (LogEst=28) for normal + ** tables or 0.5 (LogEst=-10) for views and subqueries. The value + ** of X is smaller for views and subqueries so that the query planner + ** will be more aggressive about generating automatic indexes for + ** those objects, since there is no opportunity to add schema + ** indexes on subqueries and views. */ + pNew->rSetup = rLogSize + rSize; + if( pTab->pSelect==0 && (pTab->tabFlags & TF_Ephemeral)==0 ){ + pNew->rSetup += 28; + }else{ + pNew->rSetup -= 10; + } + ApplyCostMultiplier(pNew->rSetup, pTab->costMult); + if( pNew->rSetup<0 ) pNew->rSetup = 0; + /* TUNING: Each index lookup yields 20 rows in the table. This + ** is more than the usual guess of 10 rows, since we have no way + ** of knowing how selective the index will ultimately be. It would + ** not be unreasonable to make this value much larger. */ + pNew->nOut = 43; assert( 43==sqlite3LogEst(20) ); + pNew->rRun = sqlite3LogEstAdd(rLogSize,pNew->nOut); + pNew->wsFlags = WHERE_AUTO_INDEX; + pNew->prereq = mPrereq | pTerm->prereqRight; + rc = whereLoopInsert(pBuilder, pNew); + } + } + } +#endif /* SQLITE_OMIT_AUTOMATIC_INDEX */ + + /* Loop over all indices. If there was an INDEXED BY clause, then only + ** consider index pProbe. */ + for(; rc==SQLITE_OK && pProbe; + pProbe=(pSrc->pIBIndex ? 0 : pProbe->pNext), iSortIdx++ + ){ + if( pProbe->pPartIdxWhere!=0 + && !whereUsablePartialIndex(pSrc->iCursor, pWC, pProbe->pPartIdxWhere) ){ + testcase( pNew->iTab!=pSrc->iCursor ); /* See ticket [98d973b8f5] */ + continue; /* Partial index inappropriate for this query */ + } + if( pProbe->bNoQuery ) continue; + rSize = pProbe->aiRowLogEst[0]; + pNew->u.btree.nEq = 0; + pNew->u.btree.nBtm = 0; + pNew->u.btree.nTop = 0; + pNew->nSkip = 0; + pNew->nLTerm = 0; + pNew->iSortIdx = 0; + pNew->rSetup = 0; + pNew->prereq = mPrereq; + pNew->nOut = rSize; + pNew->u.btree.pIndex = pProbe; + b = indexMightHelpWithOrderBy(pBuilder, pProbe, pSrc->iCursor); + /* The ONEPASS_DESIRED flags never occurs together with ORDER BY */ + assert( (pWInfo->wctrlFlags & WHERE_ONEPASS_DESIRED)==0 || b==0 ); + if( pProbe->idxType==SQLITE_IDXTYPE_IPK ){ + /* Integer primary key index */ + pNew->wsFlags = WHERE_IPK; + + /* Full table scan */ + pNew->iSortIdx = b ? iSortIdx : 0; + /* TUNING: Cost of full table scan is (N*3.0). */ + pNew->rRun = rSize + 16; + ApplyCostMultiplier(pNew->rRun, pTab->costMult); + whereLoopOutputAdjust(pWC, pNew, rSize); + rc = whereLoopInsert(pBuilder, pNew); + pNew->nOut = rSize; + if( rc ) break; + }else{ + Bitmask m; + if( pProbe->isCovering ){ + pNew->wsFlags = WHERE_IDX_ONLY | WHERE_INDEXED; + m = 0; + }else{ + m = pSrc->colUsed & pProbe->colNotIdxed; + pNew->wsFlags = (m==0) ? (WHERE_IDX_ONLY|WHERE_INDEXED) : WHERE_INDEXED; + } + + /* Full scan via index */ + if( b + || !HasRowid(pTab) + || pProbe->pPartIdxWhere!=0 + || ( m==0 + && pProbe->bUnordered==0 + && (pProbe->szIdxRowszTabRow) + && (pWInfo->wctrlFlags & WHERE_ONEPASS_DESIRED)==0 + && sqlite3GlobalConfig.bUseCis + && OptimizationEnabled(pWInfo->pParse->db, SQLITE_CoverIdxScan) + ) + ){ + pNew->iSortIdx = b ? iSortIdx : 0; + + /* The cost of visiting the index rows is N*K, where K is + ** between 1.1 and 3.0, depending on the relative sizes of the + ** index and table rows. */ + pNew->rRun = rSize + 1 + (15*pProbe->szIdxRow)/pTab->szTabRow; + if( m!=0 ){ + /* If this is a non-covering index scan, add in the cost of + ** doing table lookups. The cost will be 3x the number of + ** lookups. Take into account WHERE clause terms that can be + ** satisfied using just the index, and that do not require a + ** table lookup. */ + LogEst nLookup = rSize + 16; /* Base cost: N*3 */ + int ii; + int iCur = pSrc->iCursor; + WhereClause *pWC2 = &pWInfo->sWC; + for(ii=0; iinTerm; ii++){ + WhereTerm *pTerm = &pWC2->a[ii]; + if( !sqlite3ExprCoveredByIndex(pTerm->pExpr, iCur, pProbe) ){ + break; + } + /* pTerm can be evaluated using just the index. So reduce + ** the expected number of table lookups accordingly */ + if( pTerm->truthProb<=0 ){ + nLookup += pTerm->truthProb; + }else{ + nLookup--; + if( pTerm->eOperator & (WO_EQ|WO_IS) ) nLookup -= 19; + } + } + + pNew->rRun = sqlite3LogEstAdd(pNew->rRun, nLookup); + } + ApplyCostMultiplier(pNew->rRun, pTab->costMult); + whereLoopOutputAdjust(pWC, pNew, rSize); + rc = whereLoopInsert(pBuilder, pNew); + pNew->nOut = rSize; + if( rc ) break; + } + } + + pBuilder->bldFlags = 0; + rc = whereLoopAddBtreeIndex(pBuilder, pSrc, pProbe, 0); + if( pBuilder->bldFlags==SQLITE_BLDF_INDEXED ){ + /* If a non-unique index is used, or if a prefix of the key for + ** unique index is used (making the index functionally non-unique) + ** then the sqlite_stat1 data becomes important for scoring the + ** plan */ + pTab->tabFlags |= TF_StatsUsed; + } +#ifdef SQLITE_ENABLE_STAT4 + sqlite3Stat4ProbeFree(pBuilder->pRec); + pBuilder->nRecValid = 0; + pBuilder->pRec = 0; +#endif + } + return rc; +} + +#ifndef SQLITE_OMIT_VIRTUALTABLE + +/* +** Argument pIdxInfo is already populated with all constraints that may +** be used by the virtual table identified by pBuilder->pNew->iTab. This +** function marks a subset of those constraints usable, invokes the +** xBestIndex method and adds the returned plan to pBuilder. +** +** A constraint is marked usable if: +** +** * Argument mUsable indicates that its prerequisites are available, and +** +** * It is not one of the operators specified in the mExclude mask passed +** as the fourth argument (which in practice is either WO_IN or 0). +** +** Argument mPrereq is a mask of tables that must be scanned before the +** virtual table in question. These are added to the plans prerequisites +** before it is added to pBuilder. +** +** Output parameter *pbIn is set to true if the plan added to pBuilder +** uses one or more WO_IN terms, or false otherwise. +*/ +static int whereLoopAddVirtualOne( + WhereLoopBuilder *pBuilder, + Bitmask mPrereq, /* Mask of tables that must be used. */ + Bitmask mUsable, /* Mask of usable tables */ + u16 mExclude, /* Exclude terms using these operators */ + sqlite3_index_info *pIdxInfo, /* Populated object for xBestIndex */ + u16 mNoOmit, /* Do not omit these constraints */ + int *pbIn /* OUT: True if plan uses an IN(...) op */ +){ + WhereClause *pWC = pBuilder->pWC; + struct sqlite3_index_constraint *pIdxCons; + struct sqlite3_index_constraint_usage *pUsage = pIdxInfo->aConstraintUsage; + int i; + int mxTerm; + int rc = SQLITE_OK; + WhereLoop *pNew = pBuilder->pNew; + Parse *pParse = pBuilder->pWInfo->pParse; + struct SrcList_item *pSrc = &pBuilder->pWInfo->pTabList->a[pNew->iTab]; + int nConstraint = pIdxInfo->nConstraint; + + assert( (mUsable & mPrereq)==mPrereq ); + *pbIn = 0; + pNew->prereq = mPrereq; + + /* Set the usable flag on the subset of constraints identified by + ** arguments mUsable and mExclude. */ + pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint; + for(i=0; ia[pIdxCons->iTermOffset]; + pIdxCons->usable = 0; + if( (pTerm->prereqRight & mUsable)==pTerm->prereqRight + && (pTerm->eOperator & mExclude)==0 + ){ + pIdxCons->usable = 1; + } + } + + /* Initialize the output fields of the sqlite3_index_info structure */ + memset(pUsage, 0, sizeof(pUsage[0])*nConstraint); + assert( pIdxInfo->needToFreeIdxStr==0 ); + pIdxInfo->idxStr = 0; + pIdxInfo->idxNum = 0; + pIdxInfo->orderByConsumed = 0; + pIdxInfo->estimatedCost = SQLITE_BIG_DBL / (double)2; + pIdxInfo->estimatedRows = 25; + pIdxInfo->idxFlags = 0; + pIdxInfo->colUsed = (sqlite3_int64)pSrc->colUsed; + + /* Invoke the virtual table xBestIndex() method */ + rc = vtabBestIndex(pParse, pSrc->pTab, pIdxInfo); + if( rc ){ + if( rc==SQLITE_CONSTRAINT ){ + /* If the xBestIndex method returns SQLITE_CONSTRAINT, that means + ** that the particular combination of parameters provided is unusable. + ** Make no entries in the loop table. + */ + WHERETRACE(0xffff, (" ^^^^--- non-viable plan rejected!\n")); + return SQLITE_OK; + } + return rc; + } + + mxTerm = -1; + assert( pNew->nLSlot>=nConstraint ); + for(i=0; iaLTerm[i] = 0; + pNew->u.vtab.omitMask = 0; + pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint; + for(i=0; i=0 ){ + WhereTerm *pTerm; + int j = pIdxCons->iTermOffset; + if( iTerm>=nConstraint + || j<0 + || j>=pWC->nTerm + || pNew->aLTerm[iTerm]!=0 + || pIdxCons->usable==0 + ){ + sqlite3ErrorMsg(pParse,"%s.xBestIndex malfunction",pSrc->pTab->zName); + testcase( pIdxInfo->needToFreeIdxStr ); + return SQLITE_ERROR; + } + testcase( iTerm==nConstraint-1 ); + testcase( j==0 ); + testcase( j==pWC->nTerm-1 ); + pTerm = &pWC->a[j]; + pNew->prereq |= pTerm->prereqRight; + assert( iTermnLSlot ); + pNew->aLTerm[iTerm] = pTerm; + if( iTerm>mxTerm ) mxTerm = iTerm; + testcase( iTerm==15 ); + testcase( iTerm==16 ); + if( iTerm<16 && pUsage[i].omit ) pNew->u.vtab.omitMask |= 1<eOperator & WO_IN)!=0 ){ + /* A virtual table that is constrained by an IN clause may not + ** consume the ORDER BY clause because (1) the order of IN terms + ** is not necessarily related to the order of output terms and + ** (2) Multiple outputs from a single IN value will not merge + ** together. */ + pIdxInfo->orderByConsumed = 0; + pIdxInfo->idxFlags &= ~SQLITE_INDEX_SCAN_UNIQUE; + *pbIn = 1; assert( (mExclude & WO_IN)==0 ); + } + } + } + pNew->u.vtab.omitMask &= ~mNoOmit; + + pNew->nLTerm = mxTerm+1; + for(i=0; i<=mxTerm; i++){ + if( pNew->aLTerm[i]==0 ){ + /* The non-zero argvIdx values must be contiguous. Raise an + ** error if they are not */ + sqlite3ErrorMsg(pParse,"%s.xBestIndex malfunction",pSrc->pTab->zName); + testcase( pIdxInfo->needToFreeIdxStr ); + return SQLITE_ERROR; + } + } + assert( pNew->nLTerm<=pNew->nLSlot ); + pNew->u.vtab.idxNum = pIdxInfo->idxNum; + pNew->u.vtab.needFree = pIdxInfo->needToFreeIdxStr; + pIdxInfo->needToFreeIdxStr = 0; + pNew->u.vtab.idxStr = pIdxInfo->idxStr; + pNew->u.vtab.isOrdered = (i8)(pIdxInfo->orderByConsumed ? + pIdxInfo->nOrderBy : 0); + pNew->rSetup = 0; + pNew->rRun = sqlite3LogEstFromDouble(pIdxInfo->estimatedCost); + pNew->nOut = sqlite3LogEst(pIdxInfo->estimatedRows); + + /* Set the WHERE_ONEROW flag if the xBestIndex() method indicated + ** that the scan will visit at most one row. Clear it otherwise. */ + if( pIdxInfo->idxFlags & SQLITE_INDEX_SCAN_UNIQUE ){ + pNew->wsFlags |= WHERE_ONEROW; + }else{ + pNew->wsFlags &= ~WHERE_ONEROW; + } + rc = whereLoopInsert(pBuilder, pNew); + if( pNew->u.vtab.needFree ){ + sqlite3_free(pNew->u.vtab.idxStr); + pNew->u.vtab.needFree = 0; + } + WHERETRACE(0xffff, (" bIn=%d prereqIn=%04llx prereqOut=%04llx\n", + *pbIn, (sqlite3_uint64)mPrereq, + (sqlite3_uint64)(pNew->prereq & ~mPrereq))); + + return rc; +} + +/* +** If this function is invoked from within an xBestIndex() callback, it +** returns a pointer to a buffer containing the name of the collation +** sequence associated with element iCons of the sqlite3_index_info.aConstraint +** array. Or, if iCons is out of range or there is no active xBestIndex +** call, return NULL. +*/ +SQLITE_API const char *sqlite3_vtab_collation(sqlite3_index_info *pIdxInfo, int iCons){ + HiddenIndexInfo *pHidden = (HiddenIndexInfo*)&pIdxInfo[1]; + const char *zRet = 0; + if( iCons>=0 && iConsnConstraint ){ + CollSeq *pC = 0; + int iTerm = pIdxInfo->aConstraint[iCons].iTermOffset; + Expr *pX = pHidden->pWC->a[iTerm].pExpr; + if( pX->pLeft ){ + pC = sqlite3BinaryCompareCollSeq(pHidden->pParse, pX->pLeft, pX->pRight); + } + zRet = (pC ? pC->zName : sqlite3StrBINARY); + } + return zRet; +} + +/* +** Add all WhereLoop objects for a table of the join identified by +** pBuilder->pNew->iTab. That table is guaranteed to be a virtual table. +** +** If there are no LEFT or CROSS JOIN joins in the query, both mPrereq and +** mUnusable are set to 0. Otherwise, mPrereq is a mask of all FROM clause +** entries that occur before the virtual table in the FROM clause and are +** separated from it by at least one LEFT or CROSS JOIN. Similarly, the +** mUnusable mask contains all FROM clause entries that occur after the +** virtual table and are separated from it by at least one LEFT or +** CROSS JOIN. +** +** For example, if the query were: +** +** ... FROM t1, t2 LEFT JOIN t3, t4, vt CROSS JOIN t5, t6; +** +** then mPrereq corresponds to (t1, t2) and mUnusable to (t5, t6). +** +** All the tables in mPrereq must be scanned before the current virtual +** table. So any terms for which all prerequisites are satisfied by +** mPrereq may be specified as "usable" in all calls to xBestIndex. +** Conversely, all tables in mUnusable must be scanned after the current +** virtual table, so any terms for which the prerequisites overlap with +** mUnusable should always be configured as "not-usable" for xBestIndex. +*/ +static int whereLoopAddVirtual( + WhereLoopBuilder *pBuilder, /* WHERE clause information */ + Bitmask mPrereq, /* Tables that must be scanned before this one */ + Bitmask mUnusable /* Tables that must be scanned after this one */ +){ + int rc = SQLITE_OK; /* Return code */ + WhereInfo *pWInfo; /* WHERE analysis context */ + Parse *pParse; /* The parsing context */ + WhereClause *pWC; /* The WHERE clause */ + struct SrcList_item *pSrc; /* The FROM clause term to search */ + sqlite3_index_info *p; /* Object to pass to xBestIndex() */ + int nConstraint; /* Number of constraints in p */ + int bIn; /* True if plan uses IN(...) operator */ + WhereLoop *pNew; + Bitmask mBest; /* Tables used by best possible plan */ + u16 mNoOmit; + + assert( (mPrereq & mUnusable)==0 ); + pWInfo = pBuilder->pWInfo; + pParse = pWInfo->pParse; + pWC = pBuilder->pWC; + pNew = pBuilder->pNew; + pSrc = &pWInfo->pTabList->a[pNew->iTab]; + assert( IsVirtual(pSrc->pTab) ); + p = allocateIndexInfo(pParse, pWC, mUnusable, pSrc, pBuilder->pOrderBy, + &mNoOmit); + if( p==0 ) return SQLITE_NOMEM_BKPT; + pNew->rSetup = 0; + pNew->wsFlags = WHERE_VIRTUALTABLE; + pNew->nLTerm = 0; + pNew->u.vtab.needFree = 0; + nConstraint = p->nConstraint; + if( whereLoopResize(pParse->db, pNew, nConstraint) ){ + sqlite3DbFree(pParse->db, p); + return SQLITE_NOMEM_BKPT; + } + + /* First call xBestIndex() with all constraints usable. */ + WHERETRACE(0x800, ("BEGIN %s.addVirtual()\n", pSrc->pTab->zName)); + WHERETRACE(0x40, (" VirtualOne: all usable\n")); + rc = whereLoopAddVirtualOne(pBuilder, mPrereq, ALLBITS, 0, p, mNoOmit, &bIn); + + /* If the call to xBestIndex() with all terms enabled produced a plan + ** that does not require any source tables (IOW: a plan with mBest==0) + ** and does not use an IN(...) operator, then there is no point in making + ** any further calls to xBestIndex() since they will all return the same + ** result (if the xBestIndex() implementation is sane). */ + if( rc==SQLITE_OK && ((mBest = (pNew->prereq & ~mPrereq))!=0 || bIn) ){ + int seenZero = 0; /* True if a plan with no prereqs seen */ + int seenZeroNoIN = 0; /* Plan with no prereqs and no IN(...) seen */ + Bitmask mPrev = 0; + Bitmask mBestNoIn = 0; + + /* If the plan produced by the earlier call uses an IN(...) term, call + ** xBestIndex again, this time with IN(...) terms disabled. */ + if( bIn ){ + WHERETRACE(0x40, (" VirtualOne: all usable w/o IN\n")); + rc = whereLoopAddVirtualOne( + pBuilder, mPrereq, ALLBITS, WO_IN, p, mNoOmit, &bIn); + assert( bIn==0 ); + mBestNoIn = pNew->prereq & ~mPrereq; + if( mBestNoIn==0 ){ + seenZero = 1; + seenZeroNoIN = 1; + } + } + + /* Call xBestIndex once for each distinct value of (prereqRight & ~mPrereq) + ** in the set of terms that apply to the current virtual table. */ + while( rc==SQLITE_OK ){ + int i; + Bitmask mNext = ALLBITS; + assert( mNext>0 ); + for(i=0; ia[p->aConstraint[i].iTermOffset].prereqRight & ~mPrereq + ); + if( mThis>mPrev && mThisprereq==mPrereq ){ + seenZero = 1; + if( bIn==0 ) seenZeroNoIN = 1; + } + } + + /* If the calls to xBestIndex() in the above loop did not find a plan + ** that requires no source tables at all (i.e. one guaranteed to be + ** usable), make a call here with all source tables disabled */ + if( rc==SQLITE_OK && seenZero==0 ){ + WHERETRACE(0x40, (" VirtualOne: all disabled\n")); + rc = whereLoopAddVirtualOne( + pBuilder, mPrereq, mPrereq, 0, p, mNoOmit, &bIn); + if( bIn==0 ) seenZeroNoIN = 1; + } + + /* If the calls to xBestIndex() have so far failed to find a plan + ** that requires no source tables at all and does not use an IN(...) + ** operator, make a final call to obtain one here. */ + if( rc==SQLITE_OK && seenZeroNoIN==0 ){ + WHERETRACE(0x40, (" VirtualOne: all disabled and w/o IN\n")); + rc = whereLoopAddVirtualOne( + pBuilder, mPrereq, mPrereq, WO_IN, p, mNoOmit, &bIn); + } + } + + if( p->needToFreeIdxStr ) sqlite3_free(p->idxStr); + sqlite3DbFreeNN(pParse->db, p); + WHERETRACE(0x800, ("END %s.addVirtual(), rc=%d\n", pSrc->pTab->zName, rc)); + return rc; +} +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +/* +** Add WhereLoop entries to handle OR terms. This works for either +** btrees or virtual tables. +*/ +static int whereLoopAddOr( + WhereLoopBuilder *pBuilder, + Bitmask mPrereq, + Bitmask mUnusable +){ + WhereInfo *pWInfo = pBuilder->pWInfo; + WhereClause *pWC; + WhereLoop *pNew; + WhereTerm *pTerm, *pWCEnd; + int rc = SQLITE_OK; + int iCur; + WhereClause tempWC; + WhereLoopBuilder sSubBuild; + WhereOrSet sSum, sCur; + struct SrcList_item *pItem; + + pWC = pBuilder->pWC; + pWCEnd = pWC->a + pWC->nTerm; + pNew = pBuilder->pNew; + memset(&sSum, 0, sizeof(sSum)); + pItem = pWInfo->pTabList->a + pNew->iTab; + iCur = pItem->iCursor; + + for(pTerm=pWC->a; pTermeOperator & WO_OR)!=0 + && (pTerm->u.pOrInfo->indexable & pNew->maskSelf)!=0 + ){ + WhereClause * const pOrWC = &pTerm->u.pOrInfo->wc; + WhereTerm * const pOrWCEnd = &pOrWC->a[pOrWC->nTerm]; + WhereTerm *pOrTerm; + int once = 1; + int i, j; + + sSubBuild = *pBuilder; + sSubBuild.pOrderBy = 0; + sSubBuild.pOrSet = &sCur; + + WHERETRACE(0x200, ("Begin processing OR-clause %p\n", pTerm)); + for(pOrTerm=pOrWC->a; pOrTermeOperator & WO_AND)!=0 ){ + sSubBuild.pWC = &pOrTerm->u.pAndInfo->wc; + }else if( pOrTerm->leftCursor==iCur ){ + tempWC.pWInfo = pWC->pWInfo; + tempWC.pOuter = pWC; + tempWC.op = TK_AND; + tempWC.nTerm = 1; + tempWC.a = pOrTerm; + sSubBuild.pWC = &tempWC; + }else{ + continue; + } + sCur.n = 0; +#ifdef WHERETRACE_ENABLED + WHERETRACE(0x200, ("OR-term %d of %p has %d subterms:\n", + (int)(pOrTerm-pOrWC->a), pTerm, sSubBuild.pWC->nTerm)); + if( sqlite3WhereTrace & 0x400 ){ + sqlite3WhereClausePrint(sSubBuild.pWC); + } +#endif +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( IsVirtual(pItem->pTab) ){ + rc = whereLoopAddVirtual(&sSubBuild, mPrereq, mUnusable); + }else +#endif + { + rc = whereLoopAddBtree(&sSubBuild, mPrereq); + } + if( rc==SQLITE_OK ){ + rc = whereLoopAddOr(&sSubBuild, mPrereq, mUnusable); + } + assert( rc==SQLITE_OK || sCur.n==0 ); + if( sCur.n==0 ){ + sSum.n = 0; + break; + }else if( once ){ + whereOrMove(&sSum, &sCur); + once = 0; + }else{ + WhereOrSet sPrev; + whereOrMove(&sPrev, &sSum); + sSum.n = 0; + for(i=0; inLTerm = 1; + pNew->aLTerm[0] = pTerm; + pNew->wsFlags = WHERE_MULTI_OR; + pNew->rSetup = 0; + pNew->iSortIdx = 0; + memset(&pNew->u, 0, sizeof(pNew->u)); + for(i=0; rc==SQLITE_OK && irRun = sSum.a[i].rRun + 1; + pNew->nOut = sSum.a[i].nOut; + pNew->prereq = sSum.a[i].prereq; + rc = whereLoopInsert(pBuilder, pNew); + } + WHERETRACE(0x200, ("End processing OR-clause %p\n", pTerm)); + } + } + return rc; +} + +/* +** Add all WhereLoop objects for all tables +*/ +static int whereLoopAddAll(WhereLoopBuilder *pBuilder){ + WhereInfo *pWInfo = pBuilder->pWInfo; + Bitmask mPrereq = 0; + Bitmask mPrior = 0; + int iTab; + SrcList *pTabList = pWInfo->pTabList; + struct SrcList_item *pItem; + struct SrcList_item *pEnd = &pTabList->a[pWInfo->nLevel]; + sqlite3 *db = pWInfo->pParse->db; + int rc = SQLITE_OK; + WhereLoop *pNew; + u8 priorJointype = 0; + + /* Loop over the tables in the join, from left to right */ + pNew = pBuilder->pNew; + whereLoopInit(pNew); + pBuilder->iPlanLimit = SQLITE_QUERY_PLANNER_LIMIT; + for(iTab=0, pItem=pTabList->a; pItemiTab = iTab; + pBuilder->iPlanLimit += SQLITE_QUERY_PLANNER_LIMIT_INCR; + pNew->maskSelf = sqlite3WhereGetMask(&pWInfo->sMaskSet, pItem->iCursor); + if( ((pItem->fg.jointype|priorJointype) & (JT_LEFT|JT_CROSS))!=0 ){ + /* This condition is true when pItem is the FROM clause term on the + ** right-hand-side of a LEFT or CROSS JOIN. */ + mPrereq = mPrior; + } + priorJointype = pItem->fg.jointype; +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( IsVirtual(pItem->pTab) ){ + struct SrcList_item *p; + for(p=&pItem[1]; pfg.jointype & (JT_LEFT|JT_CROSS)) ){ + mUnusable |= sqlite3WhereGetMask(&pWInfo->sMaskSet, p->iCursor); + } + } + rc = whereLoopAddVirtual(pBuilder, mPrereq, mUnusable); + }else +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + { + rc = whereLoopAddBtree(pBuilder, mPrereq); + } + if( rc==SQLITE_OK && pBuilder->pWC->hasOr ){ + rc = whereLoopAddOr(pBuilder, mPrereq, mUnusable); + } + mPrior |= pNew->maskSelf; + if( rc || db->mallocFailed ){ + if( rc==SQLITE_DONE ){ + /* We hit the query planner search limit set by iPlanLimit */ + sqlite3_log(SQLITE_WARNING, "abbreviated query algorithm search"); + rc = SQLITE_OK; + }else{ + break; + } + } + } + + whereLoopClear(db, pNew); + return rc; +} + +/* +** Examine a WherePath (with the addition of the extra WhereLoop of the 6th +** parameters) to see if it outputs rows in the requested ORDER BY +** (or GROUP BY) without requiring a separate sort operation. Return N: +** +** N>0: N terms of the ORDER BY clause are satisfied +** N==0: No terms of the ORDER BY clause are satisfied +** N<0: Unknown yet how many terms of ORDER BY might be satisfied. +** +** Note that processing for WHERE_GROUPBY and WHERE_DISTINCTBY is not as +** strict. With GROUP BY and DISTINCT the only requirement is that +** equivalent rows appear immediately adjacent to one another. GROUP BY +** and DISTINCT do not require rows to appear in any particular order as long +** as equivalent rows are grouped together. Thus for GROUP BY and DISTINCT +** the pOrderBy terms can be matched in any order. With ORDER BY, the +** pOrderBy terms must be matched in strict left-to-right order. +*/ +static i8 wherePathSatisfiesOrderBy( + WhereInfo *pWInfo, /* The WHERE clause */ + ExprList *pOrderBy, /* ORDER BY or GROUP BY or DISTINCT clause to check */ + WherePath *pPath, /* The WherePath to check */ + u16 wctrlFlags, /* WHERE_GROUPBY or _DISTINCTBY or _ORDERBY_LIMIT */ + u16 nLoop, /* Number of entries in pPath->aLoop[] */ + WhereLoop *pLast, /* Add this WhereLoop to the end of pPath->aLoop[] */ + Bitmask *pRevMask /* OUT: Mask of WhereLoops to run in reverse order */ +){ + u8 revSet; /* True if rev is known */ + u8 rev; /* Composite sort order */ + u8 revIdx; /* Index sort order */ + u8 isOrderDistinct; /* All prior WhereLoops are order-distinct */ + u8 distinctColumns; /* True if the loop has UNIQUE NOT NULL columns */ + u8 isMatch; /* iColumn matches a term of the ORDER BY clause */ + u16 eqOpMask; /* Allowed equality operators */ + u16 nKeyCol; /* Number of key columns in pIndex */ + u16 nColumn; /* Total number of ordered columns in the index */ + u16 nOrderBy; /* Number terms in the ORDER BY clause */ + int iLoop; /* Index of WhereLoop in pPath being processed */ + int i, j; /* Loop counters */ + int iCur; /* Cursor number for current WhereLoop */ + int iColumn; /* A column number within table iCur */ + WhereLoop *pLoop = 0; /* Current WhereLoop being processed. */ + WhereTerm *pTerm; /* A single term of the WHERE clause */ + Expr *pOBExpr; /* An expression from the ORDER BY clause */ + CollSeq *pColl; /* COLLATE function from an ORDER BY clause term */ + Index *pIndex; /* The index associated with pLoop */ + sqlite3 *db = pWInfo->pParse->db; /* Database connection */ + Bitmask obSat = 0; /* Mask of ORDER BY terms satisfied so far */ + Bitmask obDone; /* Mask of all ORDER BY terms */ + Bitmask orderDistinctMask; /* Mask of all well-ordered loops */ + Bitmask ready; /* Mask of inner loops */ + + /* + ** We say the WhereLoop is "one-row" if it generates no more than one + ** row of output. A WhereLoop is one-row if all of the following are true: + ** (a) All index columns match with WHERE_COLUMN_EQ. + ** (b) The index is unique + ** Any WhereLoop with an WHERE_COLUMN_EQ constraint on the rowid is one-row. + ** Every one-row WhereLoop will have the WHERE_ONEROW bit set in wsFlags. + ** + ** We say the WhereLoop is "order-distinct" if the set of columns from + ** that WhereLoop that are in the ORDER BY clause are different for every + ** row of the WhereLoop. Every one-row WhereLoop is automatically + ** order-distinct. A WhereLoop that has no columns in the ORDER BY clause + ** is not order-distinct. To be order-distinct is not quite the same as being + ** UNIQUE since a UNIQUE column or index can have multiple rows that + ** are NULL and NULL values are equivalent for the purpose of order-distinct. + ** To be order-distinct, the columns must be UNIQUE and NOT NULL. + ** + ** The rowid for a table is always UNIQUE and NOT NULL so whenever the + ** rowid appears in the ORDER BY clause, the corresponding WhereLoop is + ** automatically order-distinct. + */ + + assert( pOrderBy!=0 ); + if( nLoop && OptimizationDisabled(db, SQLITE_OrderByIdxJoin) ) return 0; + + nOrderBy = pOrderBy->nExpr; + testcase( nOrderBy==BMS-1 ); + if( nOrderBy>BMS-1 ) return 0; /* Cannot optimize overly large ORDER BYs */ + isOrderDistinct = 1; + obDone = MASKBIT(nOrderBy)-1; + orderDistinctMask = 0; + ready = 0; + eqOpMask = WO_EQ | WO_IS | WO_ISNULL; + if( wctrlFlags & WHERE_ORDERBY_LIMIT ) eqOpMask |= WO_IN; + for(iLoop=0; isOrderDistinct && obSat0 ) ready |= pLoop->maskSelf; + if( iLoopaLoop[iLoop]; + if( wctrlFlags & WHERE_ORDERBY_LIMIT ) continue; + }else{ + pLoop = pLast; + } + if( pLoop->wsFlags & WHERE_VIRTUALTABLE ){ + if( pLoop->u.vtab.isOrdered ) obSat = obDone; + break; + }else if( wctrlFlags & WHERE_DISTINCTBY ){ + pLoop->u.btree.nDistinctCol = 0; + } + iCur = pWInfo->pTabList->a[pLoop->iTab].iCursor; + + /* Mark off any ORDER BY term X that is a column in the table of + ** the current loop for which there is term in the WHERE + ** clause of the form X IS NULL or X=? that reference only outer + ** loops. + */ + for(i=0; ia[i].pExpr); + if( pOBExpr->op!=TK_COLUMN ) continue; + if( pOBExpr->iTable!=iCur ) continue; + pTerm = sqlite3WhereFindTerm(&pWInfo->sWC, iCur, pOBExpr->iColumn, + ~ready, eqOpMask, 0); + if( pTerm==0 ) continue; + if( pTerm->eOperator==WO_IN ){ + /* IN terms are only valid for sorting in the ORDER BY LIMIT + ** optimization, and then only if they are actually used + ** by the query plan */ + assert( wctrlFlags & WHERE_ORDERBY_LIMIT ); + for(j=0; jnLTerm && pTerm!=pLoop->aLTerm[j]; j++){} + if( j>=pLoop->nLTerm ) continue; + } + if( (pTerm->eOperator&(WO_EQ|WO_IS))!=0 && pOBExpr->iColumn>=0 ){ + if( sqlite3ExprCollSeqMatch(pWInfo->pParse, + pOrderBy->a[i].pExpr, pTerm->pExpr)==0 ){ + continue; + } + testcase( pTerm->pExpr->op==TK_IS ); + } + obSat |= MASKBIT(i); + } + + if( (pLoop->wsFlags & WHERE_ONEROW)==0 ){ + if( pLoop->wsFlags & WHERE_IPK ){ + pIndex = 0; + nKeyCol = 0; + nColumn = 1; + }else if( (pIndex = pLoop->u.btree.pIndex)==0 || pIndex->bUnordered ){ + return 0; + }else{ + nKeyCol = pIndex->nKeyCol; + nColumn = pIndex->nColumn; + assert( nColumn==nKeyCol+1 || !HasRowid(pIndex->pTable) ); + assert( pIndex->aiColumn[nColumn-1]==XN_ROWID + || !HasRowid(pIndex->pTable)); + isOrderDistinct = IsUniqueIndex(pIndex) + && (pLoop->wsFlags & WHERE_SKIPSCAN)==0; + } + + /* Loop through all columns of the index and deal with the ones + ** that are not constrained by == or IN. + */ + rev = revSet = 0; + distinctColumns = 0; + for(j=0; j=pLoop->u.btree.nEq + || (pLoop->aLTerm[j]==0)==(jnSkip) + ); + if( ju.btree.nEq && j>=pLoop->nSkip ){ + u16 eOp = pLoop->aLTerm[j]->eOperator; + + /* Skip over == and IS and ISNULL terms. (Also skip IN terms when + ** doing WHERE_ORDERBY_LIMIT processing). Except, IS and ISNULL + ** terms imply that the index is not UNIQUE NOT NULL in which case + ** the loop need to be marked as not order-distinct because it can + ** have repeated NULL rows. + ** + ** If the current term is a column of an ((?,?) IN (SELECT...)) + ** expression for which the SELECT returns more than one column, + ** check that it is the only column used by this loop. Otherwise, + ** if it is one of two or more, none of the columns can be + ** considered to match an ORDER BY term. + */ + if( (eOp & eqOpMask)!=0 ){ + if( eOp & (WO_ISNULL|WO_IS) ){ + testcase( eOp & WO_ISNULL ); + testcase( eOp & WO_IS ); + testcase( isOrderDistinct ); + isOrderDistinct = 0; + } + continue; + }else if( ALWAYS(eOp & WO_IN) ){ + /* ALWAYS() justification: eOp is an equality operator due to the + ** ju.btree.nEq constraint above. Any equality other + ** than WO_IN is captured by the previous "if". So this one + ** always has to be WO_IN. */ + Expr *pX = pLoop->aLTerm[j]->pExpr; + for(i=j+1; iu.btree.nEq; i++){ + if( pLoop->aLTerm[i]->pExpr==pX ){ + assert( (pLoop->aLTerm[i]->eOperator & WO_IN) ); + bOnce = 0; + break; + } + } + } + } + + /* Get the column number in the table (iColumn) and sort order + ** (revIdx) for the j-th column of the index. + */ + if( pIndex ){ + iColumn = pIndex->aiColumn[j]; + revIdx = pIndex->aSortOrder[j] & KEYINFO_ORDER_DESC; + if( iColumn==pIndex->pTable->iPKey ) iColumn = XN_ROWID; + }else{ + iColumn = XN_ROWID; + revIdx = 0; + } + + /* An unconstrained column that might be NULL means that this + ** WhereLoop is not well-ordered + */ + if( isOrderDistinct + && iColumn>=0 + && j>=pLoop->u.btree.nEq + && pIndex->pTable->aCol[iColumn].notNull==0 + ){ + isOrderDistinct = 0; + } + + /* Find the ORDER BY term that corresponds to the j-th column + ** of the index and mark that ORDER BY term off + */ + isMatch = 0; + for(i=0; bOnce && ia[i].pExpr); + testcase( wctrlFlags & WHERE_GROUPBY ); + testcase( wctrlFlags & WHERE_DISTINCTBY ); + if( (wctrlFlags & (WHERE_GROUPBY|WHERE_DISTINCTBY))==0 ) bOnce = 0; + if( iColumn>=XN_ROWID ){ + if( pOBExpr->op!=TK_COLUMN ) continue; + if( pOBExpr->iTable!=iCur ) continue; + if( pOBExpr->iColumn!=iColumn ) continue; + }else{ + Expr *pIdxExpr = pIndex->aColExpr->a[j].pExpr; + if( sqlite3ExprCompareSkip(pOBExpr, pIdxExpr, iCur) ){ + continue; + } + } + if( iColumn!=XN_ROWID ){ + pColl = sqlite3ExprNNCollSeq(pWInfo->pParse, pOrderBy->a[i].pExpr); + if( sqlite3StrICmp(pColl->zName, pIndex->azColl[j])!=0 ) continue; + } + if( wctrlFlags & WHERE_DISTINCTBY ){ + pLoop->u.btree.nDistinctCol = j+1; + } + isMatch = 1; + break; + } + if( isMatch && (wctrlFlags & WHERE_GROUPBY)==0 ){ + /* Make sure the sort order is compatible in an ORDER BY clause. + ** Sort order is irrelevant for a GROUP BY clause. */ + if( revSet ){ + if( (rev ^ revIdx)!=(pOrderBy->a[i].sortFlags&KEYINFO_ORDER_DESC) ){ + isMatch = 0; + } + }else{ + rev = revIdx ^ (pOrderBy->a[i].sortFlags & KEYINFO_ORDER_DESC); + if( rev ) *pRevMask |= MASKBIT(iLoop); + revSet = 1; + } + } + if( isMatch && (pOrderBy->a[i].sortFlags & KEYINFO_ORDER_BIGNULL) ){ + if( j==pLoop->u.btree.nEq ){ + pLoop->wsFlags |= WHERE_BIGNULL_SORT; + }else{ + isMatch = 0; + } + } + if( isMatch ){ + if( iColumn==XN_ROWID ){ + testcase( distinctColumns==0 ); + distinctColumns = 1; + } + obSat |= MASKBIT(i); + }else{ + /* No match found */ + if( j==0 || jmaskSelf; + for(i=0; ia[i].pExpr; + mTerm = sqlite3WhereExprUsage(&pWInfo->sMaskSet,p); + if( mTerm==0 && !sqlite3ExprIsConstant(p) ) continue; + if( (mTerm&~orderDistinctMask)==0 ){ + obSat |= MASKBIT(i); + } + } + } + } /* End the loop over all WhereLoops from outer-most down to inner-most */ + if( obSat==obDone ) return (i8)nOrderBy; + if( !isOrderDistinct ){ + for(i=nOrderBy-1; i>0; i--){ + Bitmask m = MASKBIT(i) - 1; + if( (obSat&m)==m ) return i; + } + return 0; + } + return -1; +} + + +/* +** If the WHERE_GROUPBY flag is set in the mask passed to sqlite3WhereBegin(), +** the planner assumes that the specified pOrderBy list is actually a GROUP +** BY clause - and so any order that groups rows as required satisfies the +** request. +** +** Normally, in this case it is not possible for the caller to determine +** whether or not the rows are really being delivered in sorted order, or +** just in some other order that provides the required grouping. However, +** if the WHERE_SORTBYGROUP flag is also passed to sqlite3WhereBegin(), then +** this function may be called on the returned WhereInfo object. It returns +** true if the rows really will be sorted in the specified order, or false +** otherwise. +** +** For example, assuming: +** +** CREATE INDEX i1 ON t1(x, Y); +** +** then +** +** SELECT * FROM t1 GROUP BY x,y ORDER BY x,y; -- IsSorted()==1 +** SELECT * FROM t1 GROUP BY y,x ORDER BY y,x; -- IsSorted()==0 +*/ +SQLITE_PRIVATE int sqlite3WhereIsSorted(WhereInfo *pWInfo){ + assert( pWInfo->wctrlFlags & WHERE_GROUPBY ); + assert( pWInfo->wctrlFlags & WHERE_SORTBYGROUP ); + return pWInfo->sorted; +} + +#ifdef WHERETRACE_ENABLED +/* For debugging use only: */ +static const char *wherePathName(WherePath *pPath, int nLoop, WhereLoop *pLast){ + static char zName[65]; + int i; + for(i=0; iaLoop[i]->cId; } + if( pLast ) zName[i++] = pLast->cId; + zName[i] = 0; + return zName; +} +#endif + +/* +** Return the cost of sorting nRow rows, assuming that the keys have +** nOrderby columns and that the first nSorted columns are already in +** order. +*/ +static LogEst whereSortingCost( + WhereInfo *pWInfo, + LogEst nRow, + int nOrderBy, + int nSorted +){ + /* TUNING: Estimated cost of a full external sort, where N is + ** the number of rows to sort is: + ** + ** cost = (3.0 * N * log(N)). + ** + ** Or, if the order-by clause has X terms but only the last Y + ** terms are out of order, then block-sorting will reduce the + ** sorting cost to: + ** + ** cost = (3.0 * N * log(N)) * (Y/X) + ** + ** The (Y/X) term is implemented using stack variable rScale + ** below. */ + LogEst rScale, rSortCost; + assert( nOrderBy>0 && 66==sqlite3LogEst(100) ); + rScale = sqlite3LogEst((nOrderBy-nSorted)*100/nOrderBy) - 66; + rSortCost = nRow + rScale + 16; + + /* Multiple by log(M) where M is the number of output rows. + ** Use the LIMIT for M if it is smaller */ + if( (pWInfo->wctrlFlags & WHERE_USE_LIMIT)!=0 && pWInfo->iLimitiLimit; + } + rSortCost += estLog(nRow); + return rSortCost; +} + +/* +** Given the list of WhereLoop objects at pWInfo->pLoops, this routine +** attempts to find the lowest cost path that visits each WhereLoop +** once. This path is then loaded into the pWInfo->a[].pWLoop fields. +** +** Assume that the total number of output rows that will need to be sorted +** will be nRowEst (in the 10*log2 representation). Or, ignore sorting +** costs if nRowEst==0. +** +** Return SQLITE_OK on success or SQLITE_NOMEM of a memory allocation +** error occurs. +*/ +static int wherePathSolver(WhereInfo *pWInfo, LogEst nRowEst){ + int mxChoice; /* Maximum number of simultaneous paths tracked */ + int nLoop; /* Number of terms in the join */ + Parse *pParse; /* Parsing context */ + sqlite3 *db; /* The database connection */ + int iLoop; /* Loop counter over the terms of the join */ + int ii, jj; /* Loop counters */ + int mxI = 0; /* Index of next entry to replace */ + int nOrderBy; /* Number of ORDER BY clause terms */ + LogEst mxCost = 0; /* Maximum cost of a set of paths */ + LogEst mxUnsorted = 0; /* Maximum unsorted cost of a set of path */ + int nTo, nFrom; /* Number of valid entries in aTo[] and aFrom[] */ + WherePath *aFrom; /* All nFrom paths at the previous level */ + WherePath *aTo; /* The nTo best paths at the current level */ + WherePath *pFrom; /* An element of aFrom[] that we are working on */ + WherePath *pTo; /* An element of aTo[] that we are working on */ + WhereLoop *pWLoop; /* One of the WhereLoop objects */ + WhereLoop **pX; /* Used to divy up the pSpace memory */ + LogEst *aSortCost = 0; /* Sorting and partial sorting costs */ + char *pSpace; /* Temporary memory used by this routine */ + int nSpace; /* Bytes of space allocated at pSpace */ + + pParse = pWInfo->pParse; + db = pParse->db; + nLoop = pWInfo->nLevel; + /* TUNING: For simple queries, only the best path is tracked. + ** For 2-way joins, the 5 best paths are followed. + ** For joins of 3 or more tables, track the 10 best paths */ + mxChoice = (nLoop<=1) ? 1 : (nLoop==2 ? 5 : 10); + assert( nLoop<=pWInfo->pTabList->nSrc ); + WHERETRACE(0x002, ("---- begin solver. (nRowEst=%d)\n", nRowEst)); + + /* If nRowEst is zero and there is an ORDER BY clause, ignore it. In this + ** case the purpose of this call is to estimate the number of rows returned + ** by the overall query. Once this estimate has been obtained, the caller + ** will invoke this function a second time, passing the estimate as the + ** nRowEst parameter. */ + if( pWInfo->pOrderBy==0 || nRowEst==0 ){ + nOrderBy = 0; + }else{ + nOrderBy = pWInfo->pOrderBy->nExpr; + } + + /* Allocate and initialize space for aTo, aFrom and aSortCost[] */ + nSpace = (sizeof(WherePath)+sizeof(WhereLoop*)*nLoop)*mxChoice*2; + nSpace += sizeof(LogEst) * nOrderBy; + pSpace = sqlite3DbMallocRawNN(db, nSpace); + if( pSpace==0 ) return SQLITE_NOMEM_BKPT; + aTo = (WherePath*)pSpace; + aFrom = aTo+mxChoice; + memset(aFrom, 0, sizeof(aFrom[0])); + pX = (WhereLoop**)(aFrom+mxChoice); + for(ii=mxChoice*2, pFrom=aTo; ii>0; ii--, pFrom++, pX += nLoop){ + pFrom->aLoop = pX; + } + if( nOrderBy ){ + /* If there is an ORDER BY clause and it is not being ignored, set up + ** space for the aSortCost[] array. Each element of the aSortCost array + ** is either zero - meaning it has not yet been initialized - or the + ** cost of sorting nRowEst rows of data where the first X terms of + ** the ORDER BY clause are already in order, where X is the array + ** index. */ + aSortCost = (LogEst*)pX; + memset(aSortCost, 0, sizeof(LogEst) * nOrderBy); + } + assert( aSortCost==0 || &pSpace[nSpace]==(char*)&aSortCost[nOrderBy] ); + assert( aSortCost!=0 || &pSpace[nSpace]==(char*)pX ); + + /* Seed the search with a single WherePath containing zero WhereLoops. + ** + ** TUNING: Do not let the number of iterations go above 28. If the cost + ** of computing an automatic index is not paid back within the first 28 + ** rows, then do not use the automatic index. */ + aFrom[0].nRow = MIN(pParse->nQueryLoop, 48); assert( 48==sqlite3LogEst(28) ); + nFrom = 1; + assert( aFrom[0].isOrdered==0 ); + if( nOrderBy ){ + /* If nLoop is zero, then there are no FROM terms in the query. Since + ** in this case the query may return a maximum of one row, the results + ** are already in the requested order. Set isOrdered to nOrderBy to + ** indicate this. Or, if nLoop is greater than zero, set isOrdered to + ** -1, indicating that the result set may or may not be ordered, + ** depending on the loops added to the current plan. */ + aFrom[0].isOrdered = nLoop>0 ? -1 : nOrderBy; + } + + /* Compute successively longer WherePaths using the previous generation + ** of WherePaths as the basis for the next. Keep track of the mxChoice + ** best paths at each generation */ + for(iLoop=0; iLooppLoops; pWLoop; pWLoop=pWLoop->pNextLoop){ + LogEst nOut; /* Rows visited by (pFrom+pWLoop) */ + LogEst rCost; /* Cost of path (pFrom+pWLoop) */ + LogEst rUnsorted; /* Unsorted cost of (pFrom+pWLoop) */ + i8 isOrdered = pFrom->isOrdered; /* isOrdered for (pFrom+pWLoop) */ + Bitmask maskNew; /* Mask of src visited by (..) */ + Bitmask revMask = 0; /* Mask of rev-order loops for (..) */ + + if( (pWLoop->prereq & ~pFrom->maskLoop)!=0 ) continue; + if( (pWLoop->maskSelf & pFrom->maskLoop)!=0 ) continue; + if( (pWLoop->wsFlags & WHERE_AUTO_INDEX)!=0 && pFrom->nRow<3 ){ + /* Do not use an automatic index if the this loop is expected + ** to run less than 1.25 times. It is tempting to also exclude + ** automatic index usage on an outer loop, but sometimes an automatic + ** index is useful in the outer loop of a correlated subquery. */ + assert( 10==sqlite3LogEst(2) ); + continue; + } + + /* At this point, pWLoop is a candidate to be the next loop. + ** Compute its cost */ + rUnsorted = sqlite3LogEstAdd(pWLoop->rSetup,pWLoop->rRun + pFrom->nRow); + rUnsorted = sqlite3LogEstAdd(rUnsorted, pFrom->rUnsorted); + nOut = pFrom->nRow + pWLoop->nOut; + maskNew = pFrom->maskLoop | pWLoop->maskSelf; + if( isOrdered<0 ){ + isOrdered = wherePathSatisfiesOrderBy(pWInfo, + pWInfo->pOrderBy, pFrom, pWInfo->wctrlFlags, + iLoop, pWLoop, &revMask); + }else{ + revMask = pFrom->revLoop; + } + if( isOrdered>=0 && isOrderedisOrdered^isOrdered)&0x80)==0" is equivalent + ** to (pTo->isOrdered==(-1))==(isOrdered==(-1))" for the range + ** of legal values for isOrdered, -1..64. + */ + for(jj=0, pTo=aTo; jjmaskLoop==maskNew + && ((pTo->isOrdered^isOrdered)&0x80)==0 + ){ + testcase( jj==nTo-1 ); + break; + } + } + if( jj>=nTo ){ + /* None of the existing best-so-far paths match the candidate. */ + if( nTo>=mxChoice + && (rCost>mxCost || (rCost==mxCost && rUnsorted>=mxUnsorted)) + ){ + /* The current candidate is no better than any of the mxChoice + ** paths currently in the best-so-far buffer. So discard + ** this candidate as not viable. */ +#ifdef WHERETRACE_ENABLED /* 0x4 */ + if( sqlite3WhereTrace&0x4 ){ + sqlite3DebugPrintf("Skip %s cost=%-3d,%3d,%3d order=%c\n", + wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted, + isOrdered>=0 ? isOrdered+'0' : '?'); + } +#endif + continue; + } + /* If we reach this points it means that the new candidate path + ** needs to be added to the set of best-so-far paths. */ + if( nTo=0 ? isOrdered+'0' : '?'); + } +#endif + }else{ + /* Control reaches here if best-so-far path pTo=aTo[jj] covers the + ** same set of loops and has the same isOrdered setting as the + ** candidate path. Check to see if the candidate should replace + ** pTo or if the candidate should be skipped. + ** + ** The conditional is an expanded vector comparison equivalent to: + ** (pTo->rCost,pTo->nRow,pTo->rUnsorted) <= (rCost,nOut,rUnsorted) + */ + if( pTo->rCostrCost==rCost + && (pTo->nRownRow==nOut && pTo->rUnsorted<=rUnsorted) + ) + ) + ){ +#ifdef WHERETRACE_ENABLED /* 0x4 */ + if( sqlite3WhereTrace&0x4 ){ + sqlite3DebugPrintf( + "Skip %s cost=%-3d,%3d,%3d order=%c", + wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted, + isOrdered>=0 ? isOrdered+'0' : '?'); + sqlite3DebugPrintf(" vs %s cost=%-3d,%3d,%3d order=%c\n", + wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow, + pTo->rUnsorted, pTo->isOrdered>=0 ? pTo->isOrdered+'0' : '?'); + } +#endif + /* Discard the candidate path from further consideration */ + testcase( pTo->rCost==rCost ); + continue; + } + testcase( pTo->rCost==rCost+1 ); + /* Control reaches here if the candidate path is better than the + ** pTo path. Replace pTo with the candidate. */ +#ifdef WHERETRACE_ENABLED /* 0x4 */ + if( sqlite3WhereTrace&0x4 ){ + sqlite3DebugPrintf( + "Update %s cost=%-3d,%3d,%3d order=%c", + wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted, + isOrdered>=0 ? isOrdered+'0' : '?'); + sqlite3DebugPrintf(" was %s cost=%-3d,%3d,%3d order=%c\n", + wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow, + pTo->rUnsorted, pTo->isOrdered>=0 ? pTo->isOrdered+'0' : '?'); + } +#endif + } + /* pWLoop is a winner. Add it to the set of best so far */ + pTo->maskLoop = pFrom->maskLoop | pWLoop->maskSelf; + pTo->revLoop = revMask; + pTo->nRow = nOut; + pTo->rCost = rCost; + pTo->rUnsorted = rUnsorted; + pTo->isOrdered = isOrdered; + memcpy(pTo->aLoop, pFrom->aLoop, sizeof(WhereLoop*)*iLoop); + pTo->aLoop[iLoop] = pWLoop; + if( nTo>=mxChoice ){ + mxI = 0; + mxCost = aTo[0].rCost; + mxUnsorted = aTo[0].nRow; + for(jj=1, pTo=&aTo[1]; jjrCost>mxCost + || (pTo->rCost==mxCost && pTo->rUnsorted>mxUnsorted) + ){ + mxCost = pTo->rCost; + mxUnsorted = pTo->rUnsorted; + mxI = jj; + } + } + } + } + } + +#ifdef WHERETRACE_ENABLED /* >=2 */ + if( sqlite3WhereTrace & 0x02 ){ + sqlite3DebugPrintf("---- after round %d ----\n", iLoop); + for(ii=0, pTo=aTo; iirCost, pTo->nRow, + pTo->isOrdered>=0 ? (pTo->isOrdered+'0') : '?'); + if( pTo->isOrdered>0 ){ + sqlite3DebugPrintf(" rev=0x%llx\n", pTo->revLoop); + }else{ + sqlite3DebugPrintf("\n"); + } + } + } +#endif + + /* Swap the roles of aFrom and aTo for the next generation */ + pFrom = aTo; + aTo = aFrom; + aFrom = pFrom; + nFrom = nTo; + } + + if( nFrom==0 ){ + sqlite3ErrorMsg(pParse, "no query solution"); + sqlite3DbFreeNN(db, pSpace); + return SQLITE_ERROR; + } + + /* Find the lowest cost path. pFrom will be left pointing to that path */ + pFrom = aFrom; + for(ii=1; iirCost>aFrom[ii].rCost ) pFrom = &aFrom[ii]; + } + assert( pWInfo->nLevel==nLoop ); + /* Load the lowest cost path into pWInfo */ + for(iLoop=0; iLoopa + iLoop; + pLevel->pWLoop = pWLoop = pFrom->aLoop[iLoop]; + pLevel->iFrom = pWLoop->iTab; + pLevel->iTabCur = pWInfo->pTabList->a[pLevel->iFrom].iCursor; + } + if( (pWInfo->wctrlFlags & WHERE_WANT_DISTINCT)!=0 + && (pWInfo->wctrlFlags & WHERE_DISTINCTBY)==0 + && pWInfo->eDistinct==WHERE_DISTINCT_NOOP + && nRowEst + ){ + Bitmask notUsed; + int rc = wherePathSatisfiesOrderBy(pWInfo, pWInfo->pResultSet, pFrom, + WHERE_DISTINCTBY, nLoop-1, pFrom->aLoop[nLoop-1], ¬Used); + if( rc==pWInfo->pResultSet->nExpr ){ + pWInfo->eDistinct = WHERE_DISTINCT_ORDERED; + } + } + pWInfo->bOrderedInnerLoop = 0; + if( pWInfo->pOrderBy ){ + if( pWInfo->wctrlFlags & WHERE_DISTINCTBY ){ + if( pFrom->isOrdered==pWInfo->pOrderBy->nExpr ){ + pWInfo->eDistinct = WHERE_DISTINCT_ORDERED; + } + }else{ + pWInfo->nOBSat = pFrom->isOrdered; + pWInfo->revMask = pFrom->revLoop; + if( pWInfo->nOBSat<=0 ){ + pWInfo->nOBSat = 0; + if( nLoop>0 ){ + u32 wsFlags = pFrom->aLoop[nLoop-1]->wsFlags; + if( (wsFlags & WHERE_ONEROW)==0 + && (wsFlags&(WHERE_IPK|WHERE_COLUMN_IN))!=(WHERE_IPK|WHERE_COLUMN_IN) + ){ + Bitmask m = 0; + int rc = wherePathSatisfiesOrderBy(pWInfo, pWInfo->pOrderBy, pFrom, + WHERE_ORDERBY_LIMIT, nLoop-1, pFrom->aLoop[nLoop-1], &m); + testcase( wsFlags & WHERE_IPK ); + testcase( wsFlags & WHERE_COLUMN_IN ); + if( rc==pWInfo->pOrderBy->nExpr ){ + pWInfo->bOrderedInnerLoop = 1; + pWInfo->revMask = m; + } + } + } + } + } + if( (pWInfo->wctrlFlags & WHERE_SORTBYGROUP) + && pWInfo->nOBSat==pWInfo->pOrderBy->nExpr && nLoop>0 + ){ + Bitmask revMask = 0; + int nOrder = wherePathSatisfiesOrderBy(pWInfo, pWInfo->pOrderBy, + pFrom, 0, nLoop-1, pFrom->aLoop[nLoop-1], &revMask + ); + assert( pWInfo->sorted==0 ); + if( nOrder==pWInfo->pOrderBy->nExpr ){ + pWInfo->sorted = 1; + pWInfo->revMask = revMask; + } + } + } + + + pWInfo->nRowOut = pFrom->nRow; + + /* Free temporary memory and return success */ + sqlite3DbFreeNN(db, pSpace); + return SQLITE_OK; +} + +/* +** Most queries use only a single table (they are not joins) and have +** simple == constraints against indexed fields. This routine attempts +** to plan those simple cases using much less ceremony than the +** general-purpose query planner, and thereby yield faster sqlite3_prepare() +** times for the common case. +** +** Return non-zero on success, if this query can be handled by this +** no-frills query planner. Return zero if this query needs the +** general-purpose query planner. +*/ +static int whereShortCut(WhereLoopBuilder *pBuilder){ + WhereInfo *pWInfo; + struct SrcList_item *pItem; + WhereClause *pWC; + WhereTerm *pTerm; + WhereLoop *pLoop; + int iCur; + int j; + Table *pTab; + Index *pIdx; + + pWInfo = pBuilder->pWInfo; + if( pWInfo->wctrlFlags & WHERE_OR_SUBCLAUSE ) return 0; + assert( pWInfo->pTabList->nSrc>=1 ); + pItem = pWInfo->pTabList->a; + pTab = pItem->pTab; + if( IsVirtual(pTab) ) return 0; + if( pItem->fg.isIndexedBy ) return 0; + iCur = pItem->iCursor; + pWC = &pWInfo->sWC; + pLoop = pBuilder->pNew; + pLoop->wsFlags = 0; + pLoop->nSkip = 0; + pTerm = sqlite3WhereFindTerm(pWC, iCur, -1, 0, WO_EQ|WO_IS, 0); + if( pTerm ){ + testcase( pTerm->eOperator & WO_IS ); + pLoop->wsFlags = WHERE_COLUMN_EQ|WHERE_IPK|WHERE_ONEROW; + pLoop->aLTerm[0] = pTerm; + pLoop->nLTerm = 1; + pLoop->u.btree.nEq = 1; + /* TUNING: Cost of a rowid lookup is 10 */ + pLoop->rRun = 33; /* 33==sqlite3LogEst(10) */ + }else{ + for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ + int opMask; + assert( pLoop->aLTermSpace==pLoop->aLTerm ); + if( !IsUniqueIndex(pIdx) + || pIdx->pPartIdxWhere!=0 + || pIdx->nKeyCol>ArraySize(pLoop->aLTermSpace) + ) continue; + opMask = pIdx->uniqNotNull ? (WO_EQ|WO_IS) : WO_EQ; + for(j=0; jnKeyCol; j++){ + pTerm = sqlite3WhereFindTerm(pWC, iCur, j, 0, opMask, pIdx); + if( pTerm==0 ) break; + testcase( pTerm->eOperator & WO_IS ); + pLoop->aLTerm[j] = pTerm; + } + if( j!=pIdx->nKeyCol ) continue; + pLoop->wsFlags = WHERE_COLUMN_EQ|WHERE_ONEROW|WHERE_INDEXED; + if( pIdx->isCovering || (pItem->colUsed & pIdx->colNotIdxed)==0 ){ + pLoop->wsFlags |= WHERE_IDX_ONLY; + } + pLoop->nLTerm = j; + pLoop->u.btree.nEq = j; + pLoop->u.btree.pIndex = pIdx; + /* TUNING: Cost of a unique index lookup is 15 */ + pLoop->rRun = 39; /* 39==sqlite3LogEst(15) */ + break; + } + } + if( pLoop->wsFlags ){ + pLoop->nOut = (LogEst)1; + pWInfo->a[0].pWLoop = pLoop; + assert( pWInfo->sMaskSet.n==1 && iCur==pWInfo->sMaskSet.ix[0] ); + pLoop->maskSelf = 1; /* sqlite3WhereGetMask(&pWInfo->sMaskSet, iCur); */ + pWInfo->a[0].iTabCur = iCur; + pWInfo->nRowOut = 1; + if( pWInfo->pOrderBy ) pWInfo->nOBSat = pWInfo->pOrderBy->nExpr; + if( pWInfo->wctrlFlags & WHERE_WANT_DISTINCT ){ + pWInfo->eDistinct = WHERE_DISTINCT_UNIQUE; + } +#ifdef SQLITE_DEBUG + pLoop->cId = '0'; +#endif + return 1; + } + return 0; +} + +/* +** Helper function for exprIsDeterministic(). +*/ +static int exprNodeIsDeterministic(Walker *pWalker, Expr *pExpr){ + if( pExpr->op==TK_FUNCTION && ExprHasProperty(pExpr, EP_ConstFunc)==0 ){ + pWalker->eCode = 0; + return WRC_Abort; + } + return WRC_Continue; +} + +/* +** Return true if the expression contains no non-deterministic SQL +** functions. Do not consider non-deterministic SQL functions that are +** part of sub-select statements. +*/ +static int exprIsDeterministic(Expr *p){ + Walker w; + memset(&w, 0, sizeof(w)); + w.eCode = 1; + w.xExprCallback = exprNodeIsDeterministic; + w.xSelectCallback = sqlite3SelectWalkFail; + sqlite3WalkExpr(&w, p); + return w.eCode; +} + +/* +** Generate the beginning of the loop used for WHERE clause processing. +** The return value is a pointer to an opaque structure that contains +** information needed to terminate the loop. Later, the calling routine +** should invoke sqlite3WhereEnd() with the return value of this function +** in order to complete the WHERE clause processing. +** +** If an error occurs, this routine returns NULL. +** +** The basic idea is to do a nested loop, one loop for each table in +** the FROM clause of a select. (INSERT and UPDATE statements are the +** same as a SELECT with only a single table in the FROM clause.) For +** example, if the SQL is this: +** +** SELECT * FROM t1, t2, t3 WHERE ...; +** +** Then the code generated is conceptually like the following: +** +** foreach row1 in t1 do \ Code generated +** foreach row2 in t2 do |-- by sqlite3WhereBegin() +** foreach row3 in t3 do / +** ... +** end \ Code generated +** end |-- by sqlite3WhereEnd() +** end / +** +** Note that the loops might not be nested in the order in which they +** appear in the FROM clause if a different order is better able to make +** use of indices. Note also that when the IN operator appears in +** the WHERE clause, it might result in additional nested loops for +** scanning through all values on the right-hand side of the IN. +** +** There are Btree cursors associated with each table. t1 uses cursor +** number pTabList->a[0].iCursor. t2 uses the cursor pTabList->a[1].iCursor. +** And so forth. This routine generates code to open those VDBE cursors +** and sqlite3WhereEnd() generates the code to close them. +** +** The code that sqlite3WhereBegin() generates leaves the cursors named +** in pTabList pointing at their appropriate entries. The [...] code +** can use OP_Column and OP_Rowid opcodes on these cursors to extract +** data from the various tables of the loop. +** +** If the WHERE clause is empty, the foreach loops must each scan their +** entire tables. Thus a three-way join is an O(N^3) operation. But if +** the tables have indices and there are terms in the WHERE clause that +** refer to those indices, a complete table scan can be avoided and the +** code will run much faster. Most of the work of this routine is checking +** to see if there are indices that can be used to speed up the loop. +** +** Terms of the WHERE clause are also used to limit which rows actually +** make it to the "..." in the middle of the loop. After each "foreach", +** terms of the WHERE clause that use only terms in that loop and outer +** loops are evaluated and if false a jump is made around all subsequent +** inner loops (or around the "..." if the test occurs within the inner- +** most loop) +** +** OUTER JOINS +** +** An outer join of tables t1 and t2 is conceptally coded as follows: +** +** foreach row1 in t1 do +** flag = 0 +** foreach row2 in t2 do +** start: +** ... +** flag = 1 +** end +** if flag==0 then +** move the row2 cursor to a null row +** goto start +** fi +** end +** +** ORDER BY CLAUSE PROCESSING +** +** pOrderBy is a pointer to the ORDER BY clause (or the GROUP BY clause +** if the WHERE_GROUPBY flag is set in wctrlFlags) of a SELECT statement +** if there is one. If there is no ORDER BY clause or if this routine +** is called from an UPDATE or DELETE statement, then pOrderBy is NULL. +** +** The iIdxCur parameter is the cursor number of an index. If +** WHERE_OR_SUBCLAUSE is set, iIdxCur is the cursor number of an index +** to use for OR clause processing. The WHERE clause should use this +** specific cursor. If WHERE_ONEPASS_DESIRED is set, then iIdxCur is +** the first cursor in an array of cursors for all indices. iIdxCur should +** be used to compute the appropriate cursor depending on which index is +** used. +*/ +SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin( + Parse *pParse, /* The parser context */ + SrcList *pTabList, /* FROM clause: A list of all tables to be scanned */ + Expr *pWhere, /* The WHERE clause */ + ExprList *pOrderBy, /* An ORDER BY (or GROUP BY) clause, or NULL */ + ExprList *pResultSet, /* Query result set. Req'd for DISTINCT */ + u16 wctrlFlags, /* The WHERE_* flags defined in sqliteInt.h */ + int iAuxArg /* If WHERE_OR_SUBCLAUSE is set, index cursor number + ** If WHERE_USE_LIMIT, then the limit amount */ +){ + int nByteWInfo; /* Num. bytes allocated for WhereInfo struct */ + int nTabList; /* Number of elements in pTabList */ + WhereInfo *pWInfo; /* Will become the return value of this function */ + Vdbe *v = pParse->pVdbe; /* The virtual database engine */ + Bitmask notReady; /* Cursors that are not yet positioned */ + WhereLoopBuilder sWLB; /* The WhereLoop builder */ + WhereMaskSet *pMaskSet; /* The expression mask set */ + WhereLevel *pLevel; /* A single level in pWInfo->a[] */ + WhereLoop *pLoop; /* Pointer to a single WhereLoop object */ + int ii; /* Loop counter */ + sqlite3 *db; /* Database connection */ + int rc; /* Return code */ + u8 bFordelete = 0; /* OPFLAG_FORDELETE or zero, as appropriate */ + + assert( (wctrlFlags & WHERE_ONEPASS_MULTIROW)==0 || ( + (wctrlFlags & WHERE_ONEPASS_DESIRED)!=0 + && (wctrlFlags & WHERE_OR_SUBCLAUSE)==0 + )); + + /* Only one of WHERE_OR_SUBCLAUSE or WHERE_USE_LIMIT */ + assert( (wctrlFlags & WHERE_OR_SUBCLAUSE)==0 + || (wctrlFlags & WHERE_USE_LIMIT)==0 ); + + /* Variable initialization */ + db = pParse->db; + memset(&sWLB, 0, sizeof(sWLB)); + + /* An ORDER/GROUP BY clause of more than 63 terms cannot be optimized */ + testcase( pOrderBy && pOrderBy->nExpr==BMS-1 ); + if( pOrderBy && pOrderBy->nExpr>=BMS ) pOrderBy = 0; + sWLB.pOrderBy = pOrderBy; + + /* Disable the DISTINCT optimization if SQLITE_DistinctOpt is set via + ** sqlite3_test_ctrl(SQLITE_TESTCTRL_OPTIMIZATIONS,...) */ + if( OptimizationDisabled(db, SQLITE_DistinctOpt) ){ + wctrlFlags &= ~WHERE_WANT_DISTINCT; + } + + /* The number of tables in the FROM clause is limited by the number of + ** bits in a Bitmask + */ + testcase( pTabList->nSrc==BMS ); + if( pTabList->nSrc>BMS ){ + sqlite3ErrorMsg(pParse, "at most %d tables in a join", BMS); + return 0; + } + + /* This function normally generates a nested loop for all tables in + ** pTabList. But if the WHERE_OR_SUBCLAUSE flag is set, then we should + ** only generate code for the first table in pTabList and assume that + ** any cursors associated with subsequent tables are uninitialized. + */ + nTabList = (wctrlFlags & WHERE_OR_SUBCLAUSE) ? 1 : pTabList->nSrc; + + /* Allocate and initialize the WhereInfo structure that will become the + ** return value. A single allocation is used to store the WhereInfo + ** struct, the contents of WhereInfo.a[], the WhereClause structure + ** and the WhereMaskSet structure. Since WhereClause contains an 8-byte + ** field (type Bitmask) it must be aligned on an 8-byte boundary on + ** some architectures. Hence the ROUND8() below. + */ + nByteWInfo = ROUND8(sizeof(WhereInfo)+(nTabList-1)*sizeof(WhereLevel)); + pWInfo = sqlite3DbMallocRawNN(db, nByteWInfo + sizeof(WhereLoop)); + if( db->mallocFailed ){ + sqlite3DbFree(db, pWInfo); + pWInfo = 0; + goto whereBeginError; + } + pWInfo->pParse = pParse; + pWInfo->pTabList = pTabList; + pWInfo->pOrderBy = pOrderBy; + pWInfo->pWhere = pWhere; + pWInfo->pResultSet = pResultSet; + pWInfo->aiCurOnePass[0] = pWInfo->aiCurOnePass[1] = -1; + pWInfo->nLevel = nTabList; + pWInfo->iBreak = pWInfo->iContinue = sqlite3VdbeMakeLabel(pParse); + pWInfo->wctrlFlags = wctrlFlags; + pWInfo->iLimit = iAuxArg; + pWInfo->savedNQueryLoop = pParse->nQueryLoop; + memset(&pWInfo->nOBSat, 0, + offsetof(WhereInfo,sWC) - offsetof(WhereInfo,nOBSat)); + memset(&pWInfo->a[0], 0, sizeof(WhereLoop)+nTabList*sizeof(WhereLevel)); + assert( pWInfo->eOnePass==ONEPASS_OFF ); /* ONEPASS defaults to OFF */ + pMaskSet = &pWInfo->sMaskSet; + sWLB.pWInfo = pWInfo; + sWLB.pWC = &pWInfo->sWC; + sWLB.pNew = (WhereLoop*)(((char*)pWInfo)+nByteWInfo); + assert( EIGHT_BYTE_ALIGNMENT(sWLB.pNew) ); + whereLoopInit(sWLB.pNew); +#ifdef SQLITE_DEBUG + sWLB.pNew->cId = '*'; +#endif + + /* Split the WHERE clause into separate subexpressions where each + ** subexpression is separated by an AND operator. + */ + initMaskSet(pMaskSet); + sqlite3WhereClauseInit(&pWInfo->sWC, pWInfo); + sqlite3WhereSplit(&pWInfo->sWC, pWhere, TK_AND); + + /* Special case: No FROM clause + */ + if( nTabList==0 ){ + if( pOrderBy ) pWInfo->nOBSat = pOrderBy->nExpr; + if( wctrlFlags & WHERE_WANT_DISTINCT ){ + pWInfo->eDistinct = WHERE_DISTINCT_UNIQUE; + } + ExplainQueryPlan((pParse, 0, "SCAN CONSTANT ROW")); + }else{ + /* Assign a bit from the bitmask to every term in the FROM clause. + ** + ** The N-th term of the FROM clause is assigned a bitmask of 1<nSrc tables in + ** pTabList, not just the first nTabList tables. nTabList is normally + ** equal to pTabList->nSrc but might be shortened to 1 if the + ** WHERE_OR_SUBCLAUSE flag is set. + */ + ii = 0; + do{ + createMask(pMaskSet, pTabList->a[ii].iCursor); + sqlite3WhereTabFuncArgs(pParse, &pTabList->a[ii], &pWInfo->sWC); + }while( (++ii)nSrc ); + #ifdef SQLITE_DEBUG + { + Bitmask mx = 0; + for(ii=0; iinSrc; ii++){ + Bitmask m = sqlite3WhereGetMask(pMaskSet, pTabList->a[ii].iCursor); + assert( m>=mx ); + mx = m; + } + } + #endif + } + + /* Analyze all of the subexpressions. */ + sqlite3WhereExprAnalyze(pTabList, &pWInfo->sWC); + if( db->mallocFailed ) goto whereBeginError; + + /* Special case: WHERE terms that do not refer to any tables in the join + ** (constant expressions). Evaluate each such term, and jump over all the + ** generated code if the result is not true. + ** + ** Do not do this if the expression contains non-deterministic functions + ** that are not within a sub-select. This is not strictly required, but + ** preserves SQLite's legacy behaviour in the following two cases: + ** + ** FROM ... WHERE random()>0; -- eval random() once per row + ** FROM ... WHERE (SELECT random())>0; -- eval random() once overall + */ + for(ii=0; iinTerm; ii++){ + WhereTerm *pT = &sWLB.pWC->a[ii]; + if( pT->wtFlags & TERM_VIRTUAL ) continue; + if( pT->prereqAll==0 && (nTabList==0 || exprIsDeterministic(pT->pExpr)) ){ + sqlite3ExprIfFalse(pParse, pT->pExpr, pWInfo->iBreak, SQLITE_JUMPIFNULL); + pT->wtFlags |= TERM_CODED; + } + } + + if( wctrlFlags & WHERE_WANT_DISTINCT ){ + if( isDistinctRedundant(pParse, pTabList, &pWInfo->sWC, pResultSet) ){ + /* The DISTINCT marking is pointless. Ignore it. */ + pWInfo->eDistinct = WHERE_DISTINCT_UNIQUE; + }else if( pOrderBy==0 ){ + /* Try to ORDER BY the result set to make distinct processing easier */ + pWInfo->wctrlFlags |= WHERE_DISTINCTBY; + pWInfo->pOrderBy = pResultSet; + } + } + + /* Construct the WhereLoop objects */ +#if defined(WHERETRACE_ENABLED) + if( sqlite3WhereTrace & 0xffff ){ + sqlite3DebugPrintf("*** Optimizer Start *** (wctrlFlags: 0x%x",wctrlFlags); + if( wctrlFlags & WHERE_USE_LIMIT ){ + sqlite3DebugPrintf(", limit: %d", iAuxArg); + } + sqlite3DebugPrintf(")\n"); + if( sqlite3WhereTrace & 0x100 ){ + Select sSelect; + memset(&sSelect, 0, sizeof(sSelect)); + sSelect.selFlags = SF_WhereBegin; + sSelect.pSrc = pTabList; + sSelect.pWhere = pWhere; + sSelect.pOrderBy = pOrderBy; + sSelect.pEList = pResultSet; + sqlite3TreeViewSelect(0, &sSelect, 0); + } + } + if( sqlite3WhereTrace & 0x100 ){ /* Display all terms of the WHERE clause */ + sqlite3WhereClausePrint(sWLB.pWC); + } +#endif + + if( nTabList!=1 || whereShortCut(&sWLB)==0 ){ + rc = whereLoopAddAll(&sWLB); + if( rc ) goto whereBeginError; + +#ifdef WHERETRACE_ENABLED + if( sqlite3WhereTrace ){ /* Display all of the WhereLoop objects */ + WhereLoop *p; + int i; + static const char zLabel[] = "0123456789abcdefghijklmnopqrstuvwyxz" + "ABCDEFGHIJKLMNOPQRSTUVWYXZ"; + for(p=pWInfo->pLoops, i=0; p; p=p->pNextLoop, i++){ + p->cId = zLabel[i%(sizeof(zLabel)-1)]; + whereLoopPrint(p, sWLB.pWC); + } + } +#endif + + wherePathSolver(pWInfo, 0); + if( db->mallocFailed ) goto whereBeginError; + if( pWInfo->pOrderBy ){ + wherePathSolver(pWInfo, pWInfo->nRowOut+1); + if( db->mallocFailed ) goto whereBeginError; + } + } + if( pWInfo->pOrderBy==0 && (db->flags & SQLITE_ReverseOrder)!=0 ){ + pWInfo->revMask = ALLBITS; + } + if( pParse->nErr || NEVER(db->mallocFailed) ){ + goto whereBeginError; + } +#ifdef WHERETRACE_ENABLED + if( sqlite3WhereTrace ){ + sqlite3DebugPrintf("---- Solution nRow=%d", pWInfo->nRowOut); + if( pWInfo->nOBSat>0 ){ + sqlite3DebugPrintf(" ORDERBY=%d,0x%llx", pWInfo->nOBSat, pWInfo->revMask); + } + switch( pWInfo->eDistinct ){ + case WHERE_DISTINCT_UNIQUE: { + sqlite3DebugPrintf(" DISTINCT=unique"); + break; + } + case WHERE_DISTINCT_ORDERED: { + sqlite3DebugPrintf(" DISTINCT=ordered"); + break; + } + case WHERE_DISTINCT_UNORDERED: { + sqlite3DebugPrintf(" DISTINCT=unordered"); + break; + } + } + sqlite3DebugPrintf("\n"); + for(ii=0; iinLevel; ii++){ + whereLoopPrint(pWInfo->a[ii].pWLoop, sWLB.pWC); + } + } +#endif + + /* Attempt to omit tables from the join that do not affect the result. + ** For a table to not affect the result, the following must be true: + ** + ** 1) The query must not be an aggregate. + ** 2) The table must be the RHS of a LEFT JOIN. + ** 3) Either the query must be DISTINCT, or else the ON or USING clause + ** must contain a constraint that limits the scan of the table to + ** at most a single row. + ** 4) The table must not be referenced by any part of the query apart + ** from its own USING or ON clause. + ** + ** For example, given: + ** + ** CREATE TABLE t1(ipk INTEGER PRIMARY KEY, v1); + ** CREATE TABLE t2(ipk INTEGER PRIMARY KEY, v2); + ** CREATE TABLE t3(ipk INTEGER PRIMARY KEY, v3); + ** + ** then table t2 can be omitted from the following: + ** + ** SELECT v1, v3 FROM t1 + ** LEFT JOIN t2 USING (t1.ipk=t2.ipk) + ** LEFT JOIN t3 USING (t1.ipk=t3.ipk) + ** + ** or from: + ** + ** SELECT DISTINCT v1, v3 FROM t1 + ** LEFT JOIN t2 + ** LEFT JOIN t3 USING (t1.ipk=t3.ipk) + */ + notReady = ~(Bitmask)0; + if( pWInfo->nLevel>=2 + && pResultSet!=0 /* guarantees condition (1) above */ + && OptimizationEnabled(db, SQLITE_OmitNoopJoin) + ){ + int i; + Bitmask tabUsed = sqlite3WhereExprListUsage(pMaskSet, pResultSet); + if( sWLB.pOrderBy ){ + tabUsed |= sqlite3WhereExprListUsage(pMaskSet, sWLB.pOrderBy); + } + for(i=pWInfo->nLevel-1; i>=1; i--){ + WhereTerm *pTerm, *pEnd; + struct SrcList_item *pItem; + pLoop = pWInfo->a[i].pWLoop; + pItem = &pWInfo->pTabList->a[pLoop->iTab]; + if( (pItem->fg.jointype & JT_LEFT)==0 ) continue; + if( (wctrlFlags & WHERE_WANT_DISTINCT)==0 + && (pLoop->wsFlags & WHERE_ONEROW)==0 + ){ + continue; + } + if( (tabUsed & pLoop->maskSelf)!=0 ) continue; + pEnd = sWLB.pWC->a + sWLB.pWC->nTerm; + for(pTerm=sWLB.pWC->a; pTermprereqAll & pLoop->maskSelf)!=0 ){ + if( !ExprHasProperty(pTerm->pExpr, EP_FromJoin) + || pTerm->pExpr->iRightJoinTable!=pItem->iCursor + ){ + break; + } + } + } + if( pTerm drop loop %c not used\n", pLoop->cId)); + notReady &= ~pLoop->maskSelf; + for(pTerm=sWLB.pWC->a; pTermprereqAll & pLoop->maskSelf)!=0 ){ + pTerm->wtFlags |= TERM_CODED; + } + } + if( i!=pWInfo->nLevel-1 ){ + int nByte = (pWInfo->nLevel-1-i) * sizeof(WhereLevel); + memmove(&pWInfo->a[i], &pWInfo->a[i+1], nByte); + } + pWInfo->nLevel--; + nTabList--; + } + } + WHERETRACE(0xffff,("*** Optimizer Finished ***\n")); + pWInfo->pParse->nQueryLoop += pWInfo->nRowOut; + + /* If the caller is an UPDATE or DELETE statement that is requesting + ** to use a one-pass algorithm, determine if this is appropriate. + ** + ** A one-pass approach can be used if the caller has requested one + ** and either (a) the scan visits at most one row or (b) each + ** of the following are true: + ** + ** * the caller has indicated that a one-pass approach can be used + ** with multiple rows (by setting WHERE_ONEPASS_MULTIROW), and + ** * the table is not a virtual table, and + ** * either the scan does not use the OR optimization or the caller + ** is a DELETE operation (WHERE_DUPLICATES_OK is only specified + ** for DELETE). + ** + ** The last qualification is because an UPDATE statement uses + ** WhereInfo.aiCurOnePass[1] to determine whether or not it really can + ** use a one-pass approach, and this is not set accurately for scans + ** that use the OR optimization. + */ + assert( (wctrlFlags & WHERE_ONEPASS_DESIRED)==0 || pWInfo->nLevel==1 ); + if( (wctrlFlags & WHERE_ONEPASS_DESIRED)!=0 ){ + int wsFlags = pWInfo->a[0].pWLoop->wsFlags; + int bOnerow = (wsFlags & WHERE_ONEROW)!=0; + assert( !(wsFlags & WHERE_VIRTUALTABLE) || IsVirtual(pTabList->a[0].pTab) ); + if( bOnerow || ( + 0!=(wctrlFlags & WHERE_ONEPASS_MULTIROW) + && !IsVirtual(pTabList->a[0].pTab) + && (0==(wsFlags & WHERE_MULTI_OR) || (wctrlFlags & WHERE_DUPLICATES_OK)) + )){ + pWInfo->eOnePass = bOnerow ? ONEPASS_SINGLE : ONEPASS_MULTI; + if( HasRowid(pTabList->a[0].pTab) && (wsFlags & WHERE_IDX_ONLY) ){ + if( wctrlFlags & WHERE_ONEPASS_MULTIROW ){ + bFordelete = OPFLAG_FORDELETE; + } + pWInfo->a[0].pWLoop->wsFlags = (wsFlags & ~WHERE_IDX_ONLY); + } + } + } + + /* Open all tables in the pTabList and any indices selected for + ** searching those tables. + */ + for(ii=0, pLevel=pWInfo->a; iia[pLevel->iFrom]; + pTab = pTabItem->pTab; + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + pLoop = pLevel->pWLoop; + if( (pTab->tabFlags & TF_Ephemeral)!=0 || pTab->pSelect ){ + /* Do nothing */ + }else +#ifndef SQLITE_OMIT_VIRTUALTABLE + if( (pLoop->wsFlags & WHERE_VIRTUALTABLE)!=0 ){ + const char *pVTab = (const char *)sqlite3GetVTable(db, pTab); + int iCur = pTabItem->iCursor; + sqlite3VdbeAddOp4(v, OP_VOpen, iCur, 0, 0, pVTab, P4_VTAB); + }else if( IsVirtual(pTab) ){ + /* noop */ + }else +#endif + if( (pLoop->wsFlags & WHERE_IDX_ONLY)==0 + && (wctrlFlags & WHERE_OR_SUBCLAUSE)==0 ){ + int op = OP_OpenRead; + if( pWInfo->eOnePass!=ONEPASS_OFF ){ + op = OP_OpenWrite; + pWInfo->aiCurOnePass[0] = pTabItem->iCursor; + }; + sqlite3OpenTable(pParse, pTabItem->iCursor, iDb, pTab, op); + assert( pTabItem->iCursor==pLevel->iTabCur ); + testcase( pWInfo->eOnePass==ONEPASS_OFF && pTab->nCol==BMS-1 ); + testcase( pWInfo->eOnePass==ONEPASS_OFF && pTab->nCol==BMS ); + if( pWInfo->eOnePass==ONEPASS_OFF && pTab->nColcolUsed; + int n = 0; + for(; b; b=b>>1, n++){} + sqlite3VdbeChangeP4(v, -1, SQLITE_INT_TO_PTR(n), P4_INT32); + assert( n<=pTab->nCol ); + } +#ifdef SQLITE_ENABLE_CURSOR_HINTS + if( pLoop->u.btree.pIndex!=0 ){ + sqlite3VdbeChangeP5(v, OPFLAG_SEEKEQ|bFordelete); + }else +#endif + { + sqlite3VdbeChangeP5(v, bFordelete); + } +#ifdef SQLITE_ENABLE_COLUMN_USED_MASK + sqlite3VdbeAddOp4Dup8(v, OP_ColumnsUsed, pTabItem->iCursor, 0, 0, + (const u8*)&pTabItem->colUsed, P4_INT64); +#endif + }else{ + sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName); + } + if( pLoop->wsFlags & WHERE_INDEXED ){ + Index *pIx = pLoop->u.btree.pIndex; + int iIndexCur; + int op = OP_OpenRead; + /* iAuxArg is always set to a positive value if ONEPASS is possible */ + assert( iAuxArg!=0 || (pWInfo->wctrlFlags & WHERE_ONEPASS_DESIRED)==0 ); + if( !HasRowid(pTab) && IsPrimaryKeyIndex(pIx) + && (wctrlFlags & WHERE_OR_SUBCLAUSE)!=0 + ){ + /* This is one term of an OR-optimization using the PRIMARY KEY of a + ** WITHOUT ROWID table. No need for a separate index */ + iIndexCur = pLevel->iTabCur; + op = 0; + }else if( pWInfo->eOnePass!=ONEPASS_OFF ){ + Index *pJ = pTabItem->pTab->pIndex; + iIndexCur = iAuxArg; + assert( wctrlFlags & WHERE_ONEPASS_DESIRED ); + while( ALWAYS(pJ) && pJ!=pIx ){ + iIndexCur++; + pJ = pJ->pNext; + } + op = OP_OpenWrite; + pWInfo->aiCurOnePass[1] = iIndexCur; + }else if( iAuxArg && (wctrlFlags & WHERE_OR_SUBCLAUSE)!=0 ){ + iIndexCur = iAuxArg; + op = OP_ReopenIdx; + }else{ + iIndexCur = pParse->nTab++; + } + pLevel->iIdxCur = iIndexCur; + assert( pIx->pSchema==pTab->pSchema ); + assert( iIndexCur>=0 ); + if( op ){ + sqlite3VdbeAddOp3(v, op, iIndexCur, pIx->tnum, iDb); + sqlite3VdbeSetP4KeyInfo(pParse, pIx); + if( (pLoop->wsFlags & WHERE_CONSTRAINT)!=0 + && (pLoop->wsFlags & (WHERE_COLUMN_RANGE|WHERE_SKIPSCAN))==0 + && (pLoop->wsFlags & WHERE_BIGNULL_SORT)==0 + && (pWInfo->wctrlFlags&WHERE_ORDERBY_MIN)==0 + && pWInfo->eDistinct!=WHERE_DISTINCT_ORDERED + ){ + sqlite3VdbeChangeP5(v, OPFLAG_SEEKEQ); /* Hint to COMDB2 */ + } + VdbeComment((v, "%s", pIx->zName)); +#ifdef SQLITE_ENABLE_COLUMN_USED_MASK + { + u64 colUsed = 0; + int ii, jj; + for(ii=0; iinColumn; ii++){ + jj = pIx->aiColumn[ii]; + if( jj<0 ) continue; + if( jj>63 ) jj = 63; + if( (pTabItem->colUsed & MASKBIT(jj))==0 ) continue; + colUsed |= ((u64)1)<<(ii<63 ? ii : 63); + } + sqlite3VdbeAddOp4Dup8(v, OP_ColumnsUsed, iIndexCur, 0, 0, + (u8*)&colUsed, P4_INT64); + } +#endif /* SQLITE_ENABLE_COLUMN_USED_MASK */ + } + } + if( iDb>=0 ) sqlite3CodeVerifySchema(pParse, iDb); + } + pWInfo->iTop = sqlite3VdbeCurrentAddr(v); + if( db->mallocFailed ) goto whereBeginError; + + /* Generate the code to do the search. Each iteration of the for + ** loop below generates code for a single nested loop of the VM + ** program. + */ + for(ii=0; iia[ii]; + wsFlags = pLevel->pWLoop->wsFlags; +#ifndef SQLITE_OMIT_AUTOMATIC_INDEX + if( (pLevel->pWLoop->wsFlags & WHERE_AUTO_INDEX)!=0 ){ + constructAutomaticIndex(pParse, &pWInfo->sWC, + &pTabList->a[pLevel->iFrom], notReady, pLevel); + if( db->mallocFailed ) goto whereBeginError; + } +#endif + addrExplain = sqlite3WhereExplainOneScan( + pParse, pTabList, pLevel, wctrlFlags + ); + pLevel->addrBody = sqlite3VdbeCurrentAddr(v); + notReady = sqlite3WhereCodeOneLoopStart(pParse,v,pWInfo,ii,pLevel,notReady); + pWInfo->iContinue = pLevel->addrCont; + if( (wsFlags&WHERE_MULTI_OR)==0 && (wctrlFlags&WHERE_OR_SUBCLAUSE)==0 ){ + sqlite3WhereAddScanStatus(v, pTabList, pLevel, addrExplain); + } + } + + /* Done. */ + VdbeModuleComment((v, "Begin WHERE-core")); + return pWInfo; + + /* Jump here if malloc fails */ +whereBeginError: + if( pWInfo ){ + pParse->nQueryLoop = pWInfo->savedNQueryLoop; + whereInfoFree(db, pWInfo); + } + return 0; +} + +/* +** Part of sqlite3WhereEnd() will rewrite opcodes to reference the +** index rather than the main table. In SQLITE_DEBUG mode, we want +** to trace those changes if PRAGMA vdbe_addoptrace=on. This routine +** does that. +*/ +#ifndef SQLITE_DEBUG +# define OpcodeRewriteTrace(D,K,P) /* no-op */ +#else +# define OpcodeRewriteTrace(D,K,P) sqlite3WhereOpcodeRewriteTrace(D,K,P) + static void sqlite3WhereOpcodeRewriteTrace( + sqlite3 *db, + int pc, + VdbeOp *pOp + ){ + if( (db->flags & SQLITE_VdbeAddopTrace)==0 ) return; + sqlite3VdbePrintOp(0, pc, pOp); + } +#endif + +/* +** Generate the end of the WHERE loop. See comments on +** sqlite3WhereBegin() for additional information. +*/ +SQLITE_PRIVATE void sqlite3WhereEnd(WhereInfo *pWInfo){ + Parse *pParse = pWInfo->pParse; + Vdbe *v = pParse->pVdbe; + int i; + WhereLevel *pLevel; + WhereLoop *pLoop; + SrcList *pTabList = pWInfo->pTabList; + sqlite3 *db = pParse->db; + + /* Generate loop termination code. + */ + VdbeModuleComment((v, "End WHERE-core")); + for(i=pWInfo->nLevel-1; i>=0; i--){ + int addr; + pLevel = &pWInfo->a[i]; + pLoop = pLevel->pWLoop; + if( pLevel->op!=OP_Noop ){ +#ifndef SQLITE_DISABLE_SKIPAHEAD_DISTINCT + int addrSeek = 0; + Index *pIdx; + int n; + if( pWInfo->eDistinct==WHERE_DISTINCT_ORDERED + && i==pWInfo->nLevel-1 /* Ticket [ef9318757b152e3] 2017-10-21 */ + && (pLoop->wsFlags & WHERE_INDEXED)!=0 + && (pIdx = pLoop->u.btree.pIndex)->hasStat1 + && (n = pLoop->u.btree.nDistinctCol)>0 + && pIdx->aiRowLogEst[n]>=36 + ){ + int r1 = pParse->nMem+1; + int j, op; + for(j=0; jiIdxCur, j, r1+j); + } + pParse->nMem += n+1; + op = pLevel->op==OP_Prev ? OP_SeekLT : OP_SeekGT; + addrSeek = sqlite3VdbeAddOp4Int(v, op, pLevel->iIdxCur, 0, r1, n); + VdbeCoverageIf(v, op==OP_SeekLT); + VdbeCoverageIf(v, op==OP_SeekGT); + sqlite3VdbeAddOp2(v, OP_Goto, 1, pLevel->p2); + } +#endif /* SQLITE_DISABLE_SKIPAHEAD_DISTINCT */ + /* The common case: Advance to the next row */ + sqlite3VdbeResolveLabel(v, pLevel->addrCont); + sqlite3VdbeAddOp3(v, pLevel->op, pLevel->p1, pLevel->p2, pLevel->p3); + sqlite3VdbeChangeP5(v, pLevel->p5); + VdbeCoverage(v); + VdbeCoverageIf(v, pLevel->op==OP_Next); + VdbeCoverageIf(v, pLevel->op==OP_Prev); + VdbeCoverageIf(v, pLevel->op==OP_VNext); + if( pLevel->regBignull ){ + sqlite3VdbeResolveLabel(v, pLevel->addrBignull); + sqlite3VdbeAddOp2(v, OP_DecrJumpZero, pLevel->regBignull, pLevel->p2-1); + VdbeCoverage(v); + } +#ifndef SQLITE_DISABLE_SKIPAHEAD_DISTINCT + if( addrSeek ) sqlite3VdbeJumpHere(v, addrSeek); +#endif + }else{ + sqlite3VdbeResolveLabel(v, pLevel->addrCont); + } + if( pLoop->wsFlags & WHERE_IN_ABLE && pLevel->u.in.nIn>0 ){ + struct InLoop *pIn; + int j; + sqlite3VdbeResolveLabel(v, pLevel->addrNxt); + for(j=pLevel->u.in.nIn, pIn=&pLevel->u.in.aInLoop[j-1]; j>0; j--, pIn--){ + sqlite3VdbeJumpHere(v, pIn->addrInTop+1); + if( pIn->eEndLoopOp!=OP_Noop ){ + if( pIn->nPrefix ){ + assert( pLoop->wsFlags & WHERE_IN_EARLYOUT ); + sqlite3VdbeAddOp4Int(v, OP_IfNoHope, pLevel->iIdxCur, + sqlite3VdbeCurrentAddr(v)+2, + pIn->iBase, pIn->nPrefix); + VdbeCoverage(v); + } + sqlite3VdbeAddOp2(v, pIn->eEndLoopOp, pIn->iCur, pIn->addrInTop); + VdbeCoverage(v); + VdbeCoverageIf(v, pIn->eEndLoopOp==OP_Prev); + VdbeCoverageIf(v, pIn->eEndLoopOp==OP_Next); + } + sqlite3VdbeJumpHere(v, pIn->addrInTop-1); + } + } + sqlite3VdbeResolveLabel(v, pLevel->addrBrk); + if( pLevel->addrSkip ){ + sqlite3VdbeGoto(v, pLevel->addrSkip); + VdbeComment((v, "next skip-scan on %s", pLoop->u.btree.pIndex->zName)); + sqlite3VdbeJumpHere(v, pLevel->addrSkip); + sqlite3VdbeJumpHere(v, pLevel->addrSkip-2); + } +#ifndef SQLITE_LIKE_DOESNT_MATCH_BLOBS + if( pLevel->addrLikeRep ){ + sqlite3VdbeAddOp2(v, OP_DecrJumpZero, (int)(pLevel->iLikeRepCntr>>1), + pLevel->addrLikeRep); + VdbeCoverage(v); + } +#endif + if( pLevel->iLeftJoin ){ + int ws = pLoop->wsFlags; + addr = sqlite3VdbeAddOp1(v, OP_IfPos, pLevel->iLeftJoin); VdbeCoverage(v); + assert( (ws & WHERE_IDX_ONLY)==0 || (ws & WHERE_INDEXED)!=0 ); + if( (ws & WHERE_IDX_ONLY)==0 ){ + assert( pLevel->iTabCur==pTabList->a[pLevel->iFrom].iCursor ); + sqlite3VdbeAddOp1(v, OP_NullRow, pLevel->iTabCur); + } + if( (ws & WHERE_INDEXED) + || ((ws & WHERE_MULTI_OR) && pLevel->u.pCovidx) + ){ + sqlite3VdbeAddOp1(v, OP_NullRow, pLevel->iIdxCur); + } + if( pLevel->op==OP_Return ){ + sqlite3VdbeAddOp2(v, OP_Gosub, pLevel->p1, pLevel->addrFirst); + }else{ + sqlite3VdbeGoto(v, pLevel->addrFirst); + } + sqlite3VdbeJumpHere(v, addr); + } + VdbeModuleComment((v, "End WHERE-loop%d: %s", i, + pWInfo->pTabList->a[pLevel->iFrom].pTab->zName)); + } + + /* The "break" point is here, just past the end of the outer loop. + ** Set it. + */ + sqlite3VdbeResolveLabel(v, pWInfo->iBreak); + + assert( pWInfo->nLevel<=pTabList->nSrc ); + for(i=0, pLevel=pWInfo->a; inLevel; i++, pLevel++){ + int k, last; + VdbeOp *pOp; + Index *pIdx = 0; + struct SrcList_item *pTabItem = &pTabList->a[pLevel->iFrom]; + Table *pTab = pTabItem->pTab; + assert( pTab!=0 ); + pLoop = pLevel->pWLoop; + + /* For a co-routine, change all OP_Column references to the table of + ** the co-routine into OP_Copy of result contained in a register. + ** OP_Rowid becomes OP_Null. + */ + if( pTabItem->fg.viaCoroutine ){ + testcase( pParse->db->mallocFailed ); + translateColumnToCopy(pParse, pLevel->addrBody, pLevel->iTabCur, + pTabItem->regResult, 0); + continue; + } + +#ifdef SQLITE_ENABLE_EARLY_CURSOR_CLOSE + /* Close all of the cursors that were opened by sqlite3WhereBegin. + ** Except, do not close cursors that will be reused by the OR optimization + ** (WHERE_OR_SUBCLAUSE). And do not close the OP_OpenWrite cursors + ** created for the ONEPASS optimization. + */ + if( (pTab->tabFlags & TF_Ephemeral)==0 + && pTab->pSelect==0 + && (pWInfo->wctrlFlags & WHERE_OR_SUBCLAUSE)==0 + ){ + int ws = pLoop->wsFlags; + if( pWInfo->eOnePass==ONEPASS_OFF && (ws & WHERE_IDX_ONLY)==0 ){ + sqlite3VdbeAddOp1(v, OP_Close, pTabItem->iCursor); + } + if( (ws & WHERE_INDEXED)!=0 + && (ws & (WHERE_IPK|WHERE_AUTO_INDEX))==0 + && pLevel->iIdxCur!=pWInfo->aiCurOnePass[1] + ){ + sqlite3VdbeAddOp1(v, OP_Close, pLevel->iIdxCur); + } + } +#endif + + /* If this scan uses an index, make VDBE code substitutions to read data + ** from the index instead of from the table where possible. In some cases + ** this optimization prevents the table from ever being read, which can + ** yield a significant performance boost. + ** + ** Calls to the code generator in between sqlite3WhereBegin and + ** sqlite3WhereEnd will have created code that references the table + ** directly. This loop scans all that code looking for opcodes + ** that reference the table and converts them into opcodes that + ** reference the index. + */ + if( pLoop->wsFlags & (WHERE_INDEXED|WHERE_IDX_ONLY) ){ + pIdx = pLoop->u.btree.pIndex; + }else if( pLoop->wsFlags & WHERE_MULTI_OR ){ + pIdx = pLevel->u.pCovidx; + } + if( pIdx + && (pWInfo->eOnePass==ONEPASS_OFF || !HasRowid(pIdx->pTable)) + && !db->mallocFailed + ){ + last = sqlite3VdbeCurrentAddr(v); + k = pLevel->addrBody; +#ifdef SQLITE_DEBUG + if( db->flags & SQLITE_VdbeAddopTrace ){ + printf("TRANSLATE opcodes in range %d..%d\n", k, last-1); + } +#endif + pOp = sqlite3VdbeGetOp(v, k); + for(; kp1!=pLevel->iTabCur ) continue; + if( pOp->opcode==OP_Column +#ifdef SQLITE_ENABLE_OFFSET_SQL_FUNC + || pOp->opcode==OP_Offset +#endif + ){ + int x = pOp->p2; + assert( pIdx->pTable==pTab ); + if( !HasRowid(pTab) ){ + Index *pPk = sqlite3PrimaryKeyIndex(pTab); + x = pPk->aiColumn[x]; + assert( x>=0 ); + } + x = sqlite3ColumnOfIndex(pIdx, x); + if( x>=0 ){ + pOp->p2 = x; + pOp->p1 = pLevel->iIdxCur; + OpcodeRewriteTrace(db, k, pOp); + } + assert( (pLoop->wsFlags & WHERE_IDX_ONLY)==0 || x>=0 + || pWInfo->eOnePass ); + }else if( pOp->opcode==OP_Rowid ){ + pOp->p1 = pLevel->iIdxCur; + pOp->opcode = OP_IdxRowid; + OpcodeRewriteTrace(db, k, pOp); + }else if( pOp->opcode==OP_IfNullRow ){ + pOp->p1 = pLevel->iIdxCur; + OpcodeRewriteTrace(db, k, pOp); + } + } +#ifdef SQLITE_DEBUG + if( db->flags & SQLITE_VdbeAddopTrace ) printf("TRANSLATE complete\n"); +#endif + } + } + + /* Final cleanup + */ + pParse->nQueryLoop = pWInfo->savedNQueryLoop; + whereInfoFree(db, pWInfo); + return; +} + +/************** End of where.c ***********************************************/ +/************** Begin file window.c ******************************************/ +/* +** 2018 May 08 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +*/ +/* #include "sqliteInt.h" */ + +#ifndef SQLITE_OMIT_WINDOWFUNC + +/* +** SELECT REWRITING +** +** Any SELECT statement that contains one or more window functions in +** either the select list or ORDER BY clause (the only two places window +** functions may be used) is transformed by function sqlite3WindowRewrite() +** in order to support window function processing. For example, with the +** schema: +** +** CREATE TABLE t1(a, b, c, d, e, f, g); +** +** the statement: +** +** SELECT a+1, max(b) OVER (PARTITION BY c ORDER BY d) FROM t1 ORDER BY e; +** +** is transformed to: +** +** SELECT a+1, max(b) OVER (PARTITION BY c ORDER BY d) FROM ( +** SELECT a, e, c, d, b FROM t1 ORDER BY c, d +** ) ORDER BY e; +** +** The flattening optimization is disabled when processing this transformed +** SELECT statement. This allows the implementation of the window function +** (in this case max()) to process rows sorted in order of (c, d), which +** makes things easier for obvious reasons. More generally: +** +** * FROM, WHERE, GROUP BY and HAVING clauses are all moved to +** the sub-query. +** +** * ORDER BY, LIMIT and OFFSET remain part of the parent query. +** +** * Terminals from each of the expression trees that make up the +** select-list and ORDER BY expressions in the parent query are +** selected by the sub-query. For the purposes of the transformation, +** terminals are column references and aggregate functions. +** +** If there is more than one window function in the SELECT that uses +** the same window declaration (the OVER bit), then a single scan may +** be used to process more than one window function. For example: +** +** SELECT max(b) OVER (PARTITION BY c ORDER BY d), +** min(e) OVER (PARTITION BY c ORDER BY d) +** FROM t1; +** +** is transformed in the same way as the example above. However: +** +** SELECT max(b) OVER (PARTITION BY c ORDER BY d), +** min(e) OVER (PARTITION BY a ORDER BY b) +** FROM t1; +** +** Must be transformed to: +** +** SELECT max(b) OVER (PARTITION BY c ORDER BY d) FROM ( +** SELECT e, min(e) OVER (PARTITION BY a ORDER BY b), c, d, b FROM +** SELECT a, e, c, d, b FROM t1 ORDER BY a, b +** ) ORDER BY c, d +** ) ORDER BY e; +** +** so that both min() and max() may process rows in the order defined by +** their respective window declarations. +** +** INTERFACE WITH SELECT.C +** +** When processing the rewritten SELECT statement, code in select.c calls +** sqlite3WhereBegin() to begin iterating through the results of the +** sub-query, which is always implemented as a co-routine. It then calls +** sqlite3WindowCodeStep() to process rows and finish the scan by calling +** sqlite3WhereEnd(). +** +** sqlite3WindowCodeStep() generates VM code so that, for each row returned +** by the sub-query a sub-routine (OP_Gosub) coded by select.c is invoked. +** When the sub-routine is invoked: +** +** * The results of all window-functions for the row are stored +** in the associated Window.regResult registers. +** +** * The required terminal values are stored in the current row of +** temp table Window.iEphCsr. +** +** In some cases, depending on the window frame and the specific window +** functions invoked, sqlite3WindowCodeStep() caches each entire partition +** in a temp table before returning any rows. In other cases it does not. +** This detail is encapsulated within this file, the code generated by +** select.c is the same in either case. +** +** BUILT-IN WINDOW FUNCTIONS +** +** This implementation features the following built-in window functions: +** +** row_number() +** rank() +** dense_rank() +** percent_rank() +** cume_dist() +** ntile(N) +** lead(expr [, offset [, default]]) +** lag(expr [, offset [, default]]) +** first_value(expr) +** last_value(expr) +** nth_value(expr, N) +** +** These are the same built-in window functions supported by Postgres. +** Although the behaviour of aggregate window functions (functions that +** can be used as either aggregates or window funtions) allows them to +** be implemented using an API, built-in window functions are much more +** esoteric. Additionally, some window functions (e.g. nth_value()) +** may only be implemented by caching the entire partition in memory. +** As such, some built-in window functions use the same API as aggregate +** window functions and some are implemented directly using VDBE +** instructions. Additionally, for those functions that use the API, the +** window frame is sometimes modified before the SELECT statement is +** rewritten. For example, regardless of the specified window frame, the +** row_number() function always uses: +** +** ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW +** +** See sqlite3WindowUpdate() for details. +** +** As well as some of the built-in window functions, aggregate window +** functions min() and max() are implemented using VDBE instructions if +** the start of the window frame is declared as anything other than +** UNBOUNDED PRECEDING. +*/ + +/* +** Implementation of built-in window function row_number(). Assumes that the +** window frame has been coerced to: +** +** ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW +*/ +static void row_numberStepFunc( + sqlite3_context *pCtx, + int nArg, + sqlite3_value **apArg +){ + i64 *p = (i64*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p ) (*p)++; + UNUSED_PARAMETER(nArg); + UNUSED_PARAMETER(apArg); +} +static void row_numberValueFunc(sqlite3_context *pCtx){ + i64 *p = (i64*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + sqlite3_result_int64(pCtx, (p ? *p : 0)); +} + +/* +** Context object type used by rank(), dense_rank(), percent_rank() and +** cume_dist(). +*/ +struct CallCount { + i64 nValue; + i64 nStep; + i64 nTotal; +}; + +/* +** Implementation of built-in window function dense_rank(). Assumes that +** the window frame has been set to: +** +** RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW +*/ +static void dense_rankStepFunc( + sqlite3_context *pCtx, + int nArg, + sqlite3_value **apArg +){ + struct CallCount *p; + p = (struct CallCount*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p ) p->nStep = 1; + UNUSED_PARAMETER(nArg); + UNUSED_PARAMETER(apArg); +} +static void dense_rankValueFunc(sqlite3_context *pCtx){ + struct CallCount *p; + p = (struct CallCount*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p ){ + if( p->nStep ){ + p->nValue++; + p->nStep = 0; + } + sqlite3_result_int64(pCtx, p->nValue); + } +} + +/* +** Implementation of built-in window function nth_value(). This +** implementation is used in "slow mode" only - when the EXCLUDE clause +** is not set to the default value "NO OTHERS". +*/ +struct NthValueCtx { + i64 nStep; + sqlite3_value *pValue; +}; +static void nth_valueStepFunc( + sqlite3_context *pCtx, + int nArg, + sqlite3_value **apArg +){ + struct NthValueCtx *p; + p = (struct NthValueCtx*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p ){ + i64 iVal; + switch( sqlite3_value_numeric_type(apArg[1]) ){ + case SQLITE_INTEGER: + iVal = sqlite3_value_int64(apArg[1]); + break; + case SQLITE_FLOAT: { + double fVal = sqlite3_value_double(apArg[1]); + if( ((i64)fVal)!=fVal ) goto error_out; + iVal = (i64)fVal; + break; + } + default: + goto error_out; + } + if( iVal<=0 ) goto error_out; + + p->nStep++; + if( iVal==p->nStep ){ + p->pValue = sqlite3_value_dup(apArg[0]); + if( !p->pValue ){ + sqlite3_result_error_nomem(pCtx); + } + } + } + UNUSED_PARAMETER(nArg); + UNUSED_PARAMETER(apArg); + return; + + error_out: + sqlite3_result_error( + pCtx, "second argument to nth_value must be a positive integer", -1 + ); +} +static void nth_valueFinalizeFunc(sqlite3_context *pCtx){ + struct NthValueCtx *p; + p = (struct NthValueCtx*)sqlite3_aggregate_context(pCtx, 0); + if( p && p->pValue ){ + sqlite3_result_value(pCtx, p->pValue); + sqlite3_value_free(p->pValue); + p->pValue = 0; + } +} +#define nth_valueInvFunc noopStepFunc +#define nth_valueValueFunc noopValueFunc + +static void first_valueStepFunc( + sqlite3_context *pCtx, + int nArg, + sqlite3_value **apArg +){ + struct NthValueCtx *p; + p = (struct NthValueCtx*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p && p->pValue==0 ){ + p->pValue = sqlite3_value_dup(apArg[0]); + if( !p->pValue ){ + sqlite3_result_error_nomem(pCtx); + } + } + UNUSED_PARAMETER(nArg); + UNUSED_PARAMETER(apArg); +} +static void first_valueFinalizeFunc(sqlite3_context *pCtx){ + struct NthValueCtx *p; + p = (struct NthValueCtx*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p && p->pValue ){ + sqlite3_result_value(pCtx, p->pValue); + sqlite3_value_free(p->pValue); + p->pValue = 0; + } +} +#define first_valueInvFunc noopStepFunc +#define first_valueValueFunc noopValueFunc + +/* +** Implementation of built-in window function rank(). Assumes that +** the window frame has been set to: +** +** RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW +*/ +static void rankStepFunc( + sqlite3_context *pCtx, + int nArg, + sqlite3_value **apArg +){ + struct CallCount *p; + p = (struct CallCount*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p ){ + p->nStep++; + if( p->nValue==0 ){ + p->nValue = p->nStep; + } + } + UNUSED_PARAMETER(nArg); + UNUSED_PARAMETER(apArg); +} +static void rankValueFunc(sqlite3_context *pCtx){ + struct CallCount *p; + p = (struct CallCount*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p ){ + sqlite3_result_int64(pCtx, p->nValue); + p->nValue = 0; + } +} + +/* +** Implementation of built-in window function percent_rank(). Assumes that +** the window frame has been set to: +** +** GROUPS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING +*/ +static void percent_rankStepFunc( + sqlite3_context *pCtx, + int nArg, + sqlite3_value **apArg +){ + struct CallCount *p; + UNUSED_PARAMETER(nArg); assert( nArg==0 ); + UNUSED_PARAMETER(apArg); + p = (struct CallCount*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p ){ + p->nTotal++; + } +} +static void percent_rankInvFunc( + sqlite3_context *pCtx, + int nArg, + sqlite3_value **apArg +){ + struct CallCount *p; + UNUSED_PARAMETER(nArg); assert( nArg==0 ); + UNUSED_PARAMETER(apArg); + p = (struct CallCount*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + p->nStep++; +} +static void percent_rankValueFunc(sqlite3_context *pCtx){ + struct CallCount *p; + p = (struct CallCount*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p ){ + p->nValue = p->nStep; + if( p->nTotal>1 ){ + double r = (double)p->nValue / (double)(p->nTotal-1); + sqlite3_result_double(pCtx, r); + }else{ + sqlite3_result_double(pCtx, 0.0); + } + } +} +#define percent_rankFinalizeFunc percent_rankValueFunc + +/* +** Implementation of built-in window function cume_dist(). Assumes that +** the window frame has been set to: +** +** GROUPS BETWEEN 1 FOLLOWING AND UNBOUNDED FOLLOWING +*/ +static void cume_distStepFunc( + sqlite3_context *pCtx, + int nArg, + sqlite3_value **apArg +){ + struct CallCount *p; + UNUSED_PARAMETER(nArg); assert( nArg==0 ); + UNUSED_PARAMETER(apArg); + p = (struct CallCount*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p ){ + p->nTotal++; + } +} +static void cume_distInvFunc( + sqlite3_context *pCtx, + int nArg, + sqlite3_value **apArg +){ + struct CallCount *p; + UNUSED_PARAMETER(nArg); assert( nArg==0 ); + UNUSED_PARAMETER(apArg); + p = (struct CallCount*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + p->nStep++; +} +static void cume_distValueFunc(sqlite3_context *pCtx){ + struct CallCount *p; + p = (struct CallCount*)sqlite3_aggregate_context(pCtx, 0); + if( p ){ + double r = (double)(p->nStep) / (double)(p->nTotal); + sqlite3_result_double(pCtx, r); + } +} +#define cume_distFinalizeFunc cume_distValueFunc + +/* +** Context object for ntile() window function. +*/ +struct NtileCtx { + i64 nTotal; /* Total rows in partition */ + i64 nParam; /* Parameter passed to ntile(N) */ + i64 iRow; /* Current row */ +}; + +/* +** Implementation of ntile(). This assumes that the window frame has +** been coerced to: +** +** ROWS CURRENT ROW AND UNBOUNDED FOLLOWING +*/ +static void ntileStepFunc( + sqlite3_context *pCtx, + int nArg, + sqlite3_value **apArg +){ + struct NtileCtx *p; + assert( nArg==1 ); UNUSED_PARAMETER(nArg); + p = (struct NtileCtx*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p ){ + if( p->nTotal==0 ){ + p->nParam = sqlite3_value_int64(apArg[0]); + if( p->nParam<=0 ){ + sqlite3_result_error( + pCtx, "argument of ntile must be a positive integer", -1 + ); + } + } + p->nTotal++; + } +} +static void ntileInvFunc( + sqlite3_context *pCtx, + int nArg, + sqlite3_value **apArg +){ + struct NtileCtx *p; + assert( nArg==1 ); UNUSED_PARAMETER(nArg); + UNUSED_PARAMETER(apArg); + p = (struct NtileCtx*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + p->iRow++; +} +static void ntileValueFunc(sqlite3_context *pCtx){ + struct NtileCtx *p; + p = (struct NtileCtx*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p && p->nParam>0 ){ + int nSize = (p->nTotal / p->nParam); + if( nSize==0 ){ + sqlite3_result_int64(pCtx, p->iRow+1); + }else{ + i64 nLarge = p->nTotal - p->nParam*nSize; + i64 iSmall = nLarge*(nSize+1); + i64 iRow = p->iRow; + + assert( (nLarge*(nSize+1) + (p->nParam-nLarge)*nSize)==p->nTotal ); + + if( iRowpVal); + p->pVal = sqlite3_value_dup(apArg[0]); + if( p->pVal==0 ){ + sqlite3_result_error_nomem(pCtx); + }else{ + p->nVal++; + } + } +} +static void last_valueInvFunc( + sqlite3_context *pCtx, + int nArg, + sqlite3_value **apArg +){ + struct LastValueCtx *p; + UNUSED_PARAMETER(nArg); + UNUSED_PARAMETER(apArg); + p = (struct LastValueCtx*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( ALWAYS(p) ){ + p->nVal--; + if( p->nVal==0 ){ + sqlite3_value_free(p->pVal); + p->pVal = 0; + } + } +} +static void last_valueValueFunc(sqlite3_context *pCtx){ + struct LastValueCtx *p; + p = (struct LastValueCtx*)sqlite3_aggregate_context(pCtx, 0); + if( p && p->pVal ){ + sqlite3_result_value(pCtx, p->pVal); + } +} +static void last_valueFinalizeFunc(sqlite3_context *pCtx){ + struct LastValueCtx *p; + p = (struct LastValueCtx*)sqlite3_aggregate_context(pCtx, sizeof(*p)); + if( p && p->pVal ){ + sqlite3_result_value(pCtx, p->pVal); + sqlite3_value_free(p->pVal); + p->pVal = 0; + } +} + +/* +** Static names for the built-in window function names. These static +** names are used, rather than string literals, so that FuncDef objects +** can be associated with a particular window function by direct +** comparison of the zName pointer. Example: +** +** if( pFuncDef->zName==row_valueName ){ ... } +*/ +static const char row_numberName[] = "row_number"; +static const char dense_rankName[] = "dense_rank"; +static const char rankName[] = "rank"; +static const char percent_rankName[] = "percent_rank"; +static const char cume_distName[] = "cume_dist"; +static const char ntileName[] = "ntile"; +static const char last_valueName[] = "last_value"; +static const char nth_valueName[] = "nth_value"; +static const char first_valueName[] = "first_value"; +static const char leadName[] = "lead"; +static const char lagName[] = "lag"; + +/* +** No-op implementations of xStep() and xFinalize(). Used as place-holders +** for built-in window functions that never call those interfaces. +** +** The noopValueFunc() is called but is expected to do nothing. The +** noopStepFunc() is never called, and so it is marked with NO_TEST to +** let the test coverage routine know not to expect this function to be +** invoked. +*/ +static void noopStepFunc( /*NO_TEST*/ + sqlite3_context *p, /*NO_TEST*/ + int n, /*NO_TEST*/ + sqlite3_value **a /*NO_TEST*/ +){ /*NO_TEST*/ + UNUSED_PARAMETER(p); /*NO_TEST*/ + UNUSED_PARAMETER(n); /*NO_TEST*/ + UNUSED_PARAMETER(a); /*NO_TEST*/ + assert(0); /*NO_TEST*/ +} /*NO_TEST*/ +static void noopValueFunc(sqlite3_context *p){ UNUSED_PARAMETER(p); /*no-op*/ } + +/* Window functions that use all window interfaces: xStep, xFinal, +** xValue, and xInverse */ +#define WINDOWFUNCALL(name,nArg,extra) { \ + nArg, (SQLITE_UTF8|SQLITE_FUNC_WINDOW|extra), 0, 0, \ + name ## StepFunc, name ## FinalizeFunc, name ## ValueFunc, \ + name ## InvFunc, name ## Name, {0} \ +} + +/* Window functions that are implemented using bytecode and thus have +** no-op routines for their methods */ +#define WINDOWFUNCNOOP(name,nArg,extra) { \ + nArg, (SQLITE_UTF8|SQLITE_FUNC_WINDOW|extra), 0, 0, \ + noopStepFunc, noopValueFunc, noopValueFunc, \ + noopStepFunc, name ## Name, {0} \ +} + +/* Window functions that use all window interfaces: xStep, the +** same routine for xFinalize and xValue and which never call +** xInverse. */ +#define WINDOWFUNCX(name,nArg,extra) { \ + nArg, (SQLITE_UTF8|SQLITE_FUNC_WINDOW|extra), 0, 0, \ + name ## StepFunc, name ## ValueFunc, name ## ValueFunc, \ + noopStepFunc, name ## Name, {0} \ +} + + +/* +** Register those built-in window functions that are not also aggregates. +*/ +SQLITE_PRIVATE void sqlite3WindowFunctions(void){ + static FuncDef aWindowFuncs[] = { + WINDOWFUNCX(row_number, 0, 0), + WINDOWFUNCX(dense_rank, 0, 0), + WINDOWFUNCX(rank, 0, 0), + WINDOWFUNCALL(percent_rank, 0, 0), + WINDOWFUNCALL(cume_dist, 0, 0), + WINDOWFUNCALL(ntile, 1, 0), + WINDOWFUNCALL(last_value, 1, 0), + WINDOWFUNCALL(nth_value, 2, 0), + WINDOWFUNCALL(first_value, 1, 0), + WINDOWFUNCNOOP(lead, 1, 0), + WINDOWFUNCNOOP(lead, 2, 0), + WINDOWFUNCNOOP(lead, 3, 0), + WINDOWFUNCNOOP(lag, 1, 0), + WINDOWFUNCNOOP(lag, 2, 0), + WINDOWFUNCNOOP(lag, 3, 0), + }; + sqlite3InsertBuiltinFuncs(aWindowFuncs, ArraySize(aWindowFuncs)); +} + +static Window *windowFind(Parse *pParse, Window *pList, const char *zName){ + Window *p; + for(p=pList; p; p=p->pNextWin){ + if( sqlite3StrICmp(p->zName, zName)==0 ) break; + } + if( p==0 ){ + sqlite3ErrorMsg(pParse, "no such window: %s", zName); + } + return p; +} + +/* +** This function is called immediately after resolving the function name +** for a window function within a SELECT statement. Argument pList is a +** linked list of WINDOW definitions for the current SELECT statement. +** Argument pFunc is the function definition just resolved and pWin +** is the Window object representing the associated OVER clause. This +** function updates the contents of pWin as follows: +** +** * If the OVER clause refered to a named window (as in "max(x) OVER win"), +** search list pList for a matching WINDOW definition, and update pWin +** accordingly. If no such WINDOW clause can be found, leave an error +** in pParse. +** +** * If the function is a built-in window function that requires the +** window to be coerced (see "BUILT-IN WINDOW FUNCTIONS" at the top +** of this file), pWin is updated here. +*/ +SQLITE_PRIVATE void sqlite3WindowUpdate( + Parse *pParse, + Window *pList, /* List of named windows for this SELECT */ + Window *pWin, /* Window frame to update */ + FuncDef *pFunc /* Window function definition */ +){ + if( pWin->zName && pWin->eFrmType==0 ){ + Window *p = windowFind(pParse, pList, pWin->zName); + if( p==0 ) return; + pWin->pPartition = sqlite3ExprListDup(pParse->db, p->pPartition, 0); + pWin->pOrderBy = sqlite3ExprListDup(pParse->db, p->pOrderBy, 0); + pWin->pStart = sqlite3ExprDup(pParse->db, p->pStart, 0); + pWin->pEnd = sqlite3ExprDup(pParse->db, p->pEnd, 0); + pWin->eStart = p->eStart; + pWin->eEnd = p->eEnd; + pWin->eFrmType = p->eFrmType; + pWin->eExclude = p->eExclude; + }else{ + sqlite3WindowChain(pParse, pWin, pList); + } + if( (pWin->eFrmType==TK_RANGE) + && (pWin->pStart || pWin->pEnd) + && (pWin->pOrderBy==0 || pWin->pOrderBy->nExpr!=1) + ){ + sqlite3ErrorMsg(pParse, + "RANGE with offset PRECEDING/FOLLOWING requires one ORDER BY expression" + ); + }else + if( pFunc->funcFlags & SQLITE_FUNC_WINDOW ){ + sqlite3 *db = pParse->db; + if( pWin->pFilter ){ + sqlite3ErrorMsg(pParse, + "FILTER clause may only be used with aggregate window functions" + ); + }else{ + struct WindowUpdate { + const char *zFunc; + int eFrmType; + int eStart; + int eEnd; + } aUp[] = { + { row_numberName, TK_ROWS, TK_UNBOUNDED, TK_CURRENT }, + { dense_rankName, TK_RANGE, TK_UNBOUNDED, TK_CURRENT }, + { rankName, TK_RANGE, TK_UNBOUNDED, TK_CURRENT }, + { percent_rankName, TK_GROUPS, TK_CURRENT, TK_UNBOUNDED }, + { cume_distName, TK_GROUPS, TK_FOLLOWING, TK_UNBOUNDED }, + { ntileName, TK_ROWS, TK_CURRENT, TK_UNBOUNDED }, + { leadName, TK_ROWS, TK_UNBOUNDED, TK_UNBOUNDED }, + { lagName, TK_ROWS, TK_UNBOUNDED, TK_CURRENT }, + }; + int i; + for(i=0; izName==aUp[i].zFunc ){ + sqlite3ExprDelete(db, pWin->pStart); + sqlite3ExprDelete(db, pWin->pEnd); + pWin->pEnd = pWin->pStart = 0; + pWin->eFrmType = aUp[i].eFrmType; + pWin->eStart = aUp[i].eStart; + pWin->eEnd = aUp[i].eEnd; + pWin->eExclude = 0; + if( pWin->eStart==TK_FOLLOWING ){ + pWin->pStart = sqlite3Expr(db, TK_INTEGER, "1"); + } + break; + } + } + } + } + pWin->pFunc = pFunc; +} + +/* +** Context object passed through sqlite3WalkExprList() to +** selectWindowRewriteExprCb() by selectWindowRewriteEList(). +*/ +typedef struct WindowRewrite WindowRewrite; +struct WindowRewrite { + Window *pWin; + SrcList *pSrc; + ExprList *pSub; + Table *pTab; + Select *pSubSelect; /* Current sub-select, if any */ +}; + +/* +** Callback function used by selectWindowRewriteEList(). If necessary, +** this function appends to the output expression-list and updates +** expression (*ppExpr) in place. +*/ +static int selectWindowRewriteExprCb(Walker *pWalker, Expr *pExpr){ + struct WindowRewrite *p = pWalker->u.pRewrite; + Parse *pParse = pWalker->pParse; + assert( p!=0 ); + assert( p->pWin!=0 ); + + /* If this function is being called from within a scalar sub-select + ** that used by the SELECT statement being processed, only process + ** TK_COLUMN expressions that refer to it (the outer SELECT). Do + ** not process aggregates or window functions at all, as they belong + ** to the scalar sub-select. */ + if( p->pSubSelect ){ + if( pExpr->op!=TK_COLUMN ){ + return WRC_Continue; + }else{ + int nSrc = p->pSrc->nSrc; + int i; + for(i=0; iiTable==p->pSrc->a[i].iCursor ) break; + } + if( i==nSrc ) return WRC_Continue; + } + } + + switch( pExpr->op ){ + + case TK_FUNCTION: + if( !ExprHasProperty(pExpr, EP_WinFunc) ){ + break; + }else{ + Window *pWin; + for(pWin=p->pWin; pWin; pWin=pWin->pNextWin){ + if( pExpr->y.pWin==pWin ){ + assert( pWin->pOwner==pExpr ); + return WRC_Prune; + } + } + } + /* Fall through. */ + + case TK_AGG_FUNCTION: + case TK_COLUMN: { + Expr *pDup = sqlite3ExprDup(pParse->db, pExpr, 0); + p->pSub = sqlite3ExprListAppend(pParse, p->pSub, pDup); + if( p->pSub ){ + assert( ExprHasProperty(pExpr, EP_Static)==0 ); + ExprSetProperty(pExpr, EP_Static); + sqlite3ExprDelete(pParse->db, pExpr); + ExprClearProperty(pExpr, EP_Static); + memset(pExpr, 0, sizeof(Expr)); + + pExpr->op = TK_COLUMN; + pExpr->iColumn = p->pSub->nExpr-1; + pExpr->iTable = p->pWin->iEphCsr; + pExpr->y.pTab = p->pTab; + } + + break; + } + + default: /* no-op */ + break; + } + + return WRC_Continue; +} +static int selectWindowRewriteSelectCb(Walker *pWalker, Select *pSelect){ + struct WindowRewrite *p = pWalker->u.pRewrite; + Select *pSave = p->pSubSelect; + if( pSave==pSelect ){ + return WRC_Continue; + }else{ + p->pSubSelect = pSelect; + sqlite3WalkSelect(pWalker, pSelect); + p->pSubSelect = pSave; + } + return WRC_Prune; +} + + +/* +** Iterate through each expression in expression-list pEList. For each: +** +** * TK_COLUMN, +** * aggregate function, or +** * window function with a Window object that is not a member of the +** Window list passed as the second argument (pWin). +** +** Append the node to output expression-list (*ppSub). And replace it +** with a TK_COLUMN that reads the (N-1)th element of table +** pWin->iEphCsr, where N is the number of elements in (*ppSub) after +** appending the new one. +*/ +static void selectWindowRewriteEList( + Parse *pParse, + Window *pWin, + SrcList *pSrc, + ExprList *pEList, /* Rewrite expressions in this list */ + Table *pTab, + ExprList **ppSub /* IN/OUT: Sub-select expression-list */ +){ + Walker sWalker; + WindowRewrite sRewrite; + + assert( pWin!=0 ); + memset(&sWalker, 0, sizeof(Walker)); + memset(&sRewrite, 0, sizeof(WindowRewrite)); + + sRewrite.pSub = *ppSub; + sRewrite.pWin = pWin; + sRewrite.pSrc = pSrc; + sRewrite.pTab = pTab; + + sWalker.pParse = pParse; + sWalker.xExprCallback = selectWindowRewriteExprCb; + sWalker.xSelectCallback = selectWindowRewriteSelectCb; + sWalker.u.pRewrite = &sRewrite; + + (void)sqlite3WalkExprList(&sWalker, pEList); + + *ppSub = sRewrite.pSub; +} + +/* +** Append a copy of each expression in expression-list pAppend to +** expression list pList. Return a pointer to the result list. +*/ +static ExprList *exprListAppendList( + Parse *pParse, /* Parsing context */ + ExprList *pList, /* List to which to append. Might be NULL */ + ExprList *pAppend, /* List of values to append. Might be NULL */ + int bIntToNull +){ + if( pAppend ){ + int i; + int nInit = pList ? pList->nExpr : 0; + for(i=0; inExpr; i++){ + Expr *pDup = sqlite3ExprDup(pParse->db, pAppend->a[i].pExpr, 0); + if( bIntToNull && pDup && pDup->op==TK_INTEGER ){ + pDup->op = TK_NULL; + pDup->flags &= ~(EP_IntValue|EP_IsTrue|EP_IsFalse); + } + pList = sqlite3ExprListAppend(pParse, pList, pDup); + if( pList ) pList->a[nInit+i].sortFlags = pAppend->a[i].sortFlags; + } + } + return pList; +} + +/* +** If the SELECT statement passed as the second argument does not invoke +** any SQL window functions, this function is a no-op. Otherwise, it +** rewrites the SELECT statement so that window function xStep functions +** are invoked in the correct order as described under "SELECT REWRITING" +** at the top of this file. +*/ +SQLITE_PRIVATE int sqlite3WindowRewrite(Parse *pParse, Select *p){ + int rc = SQLITE_OK; + if( p->pWin && p->pPrior==0 ){ + Vdbe *v = sqlite3GetVdbe(pParse); + sqlite3 *db = pParse->db; + Select *pSub = 0; /* The subquery */ + SrcList *pSrc = p->pSrc; + Expr *pWhere = p->pWhere; + ExprList *pGroupBy = p->pGroupBy; + Expr *pHaving = p->pHaving; + ExprList *pSort = 0; + + ExprList *pSublist = 0; /* Expression list for sub-query */ + Window *pMWin = p->pWin; /* Master window object */ + Window *pWin; /* Window object iterator */ + Table *pTab; + + pTab = sqlite3DbMallocZero(db, sizeof(Table)); + if( pTab==0 ){ + return SQLITE_NOMEM; + } + + p->pSrc = 0; + p->pWhere = 0; + p->pGroupBy = 0; + p->pHaving = 0; + p->selFlags &= ~SF_Aggregate; + + /* Create the ORDER BY clause for the sub-select. This is the concatenation + ** of the window PARTITION and ORDER BY clauses. Then, if this makes it + ** redundant, remove the ORDER BY from the parent SELECT. */ + pSort = sqlite3ExprListDup(db, pMWin->pPartition, 0); + pSort = exprListAppendList(pParse, pSort, pMWin->pOrderBy, 1); + if( pSort && p->pOrderBy && p->pOrderBy->nExpr<=pSort->nExpr ){ + int nSave = pSort->nExpr; + pSort->nExpr = p->pOrderBy->nExpr; + if( sqlite3ExprListCompare(pSort, p->pOrderBy, -1)==0 ){ + sqlite3ExprListDelete(db, p->pOrderBy); + p->pOrderBy = 0; + } + pSort->nExpr = nSave; + } + + /* Assign a cursor number for the ephemeral table used to buffer rows. + ** The OpenEphemeral instruction is coded later, after it is known how + ** many columns the table will have. */ + pMWin->iEphCsr = pParse->nTab++; + pParse->nTab += 3; + + selectWindowRewriteEList(pParse, pMWin, pSrc, p->pEList, pTab, &pSublist); + selectWindowRewriteEList(pParse, pMWin, pSrc, p->pOrderBy, pTab, &pSublist); + pMWin->nBufferCol = (pSublist ? pSublist->nExpr : 0); + + /* Append the PARTITION BY and ORDER BY expressions to the to the + ** sub-select expression list. They are required to figure out where + ** boundaries for partitions and sets of peer rows lie. */ + pSublist = exprListAppendList(pParse, pSublist, pMWin->pPartition, 0); + pSublist = exprListAppendList(pParse, pSublist, pMWin->pOrderBy, 0); + + /* Append the arguments passed to each window function to the + ** sub-select expression list. Also allocate two registers for each + ** window function - one for the accumulator, another for interim + ** results. */ + for(pWin=pMWin; pWin; pWin=pWin->pNextWin){ + ExprList *pArgs = pWin->pOwner->x.pList; + if( pWin->pFunc->funcFlags & SQLITE_FUNC_SUBTYPE ){ + selectWindowRewriteEList(pParse, pMWin, pSrc, pArgs, pTab, &pSublist); + pWin->iArgCol = (pSublist ? pSublist->nExpr : 0); + pWin->bExprArgs = 1; + }else{ + pWin->iArgCol = (pSublist ? pSublist->nExpr : 0); + pSublist = exprListAppendList(pParse, pSublist, pArgs, 0); + } + if( pWin->pFilter ){ + Expr *pFilter = sqlite3ExprDup(db, pWin->pFilter, 0); + pSublist = sqlite3ExprListAppend(pParse, pSublist, pFilter); + } + pWin->regAccum = ++pParse->nMem; + pWin->regResult = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Null, 0, pWin->regAccum); + } + + /* If there is no ORDER BY or PARTITION BY clause, and the window + ** function accepts zero arguments, and there are no other columns + ** selected (e.g. "SELECT row_number() OVER () FROM t1"), it is possible + ** that pSublist is still NULL here. Add a constant expression here to + ** keep everything legal in this case. + */ + if( pSublist==0 ){ + pSublist = sqlite3ExprListAppend(pParse, 0, + sqlite3Expr(db, TK_INTEGER, "0") + ); + } + + pSub = sqlite3SelectNew( + pParse, pSublist, pSrc, pWhere, pGroupBy, pHaving, pSort, 0, 0 + ); + p->pSrc = sqlite3SrcListAppend(pParse, 0, 0, 0); + if( p->pSrc ){ + Table *pTab2; + p->pSrc->a[0].pSelect = pSub; + sqlite3SrcListAssignCursors(pParse, p->pSrc); + pSub->selFlags |= SF_Expanded; + pTab2 = sqlite3ResultSetOfSelect(pParse, pSub, SQLITE_AFF_NONE); + if( pTab2==0 ){ + rc = SQLITE_NOMEM; + }else{ + memcpy(pTab, pTab2, sizeof(Table)); + pTab->tabFlags |= TF_Ephemeral; + p->pSrc->a[0].pTab = pTab; + pTab = pTab2; + } + sqlite3VdbeAddOp2(v, OP_OpenEphemeral, pMWin->iEphCsr, pSublist->nExpr); + sqlite3VdbeAddOp2(v, OP_OpenDup, pMWin->iEphCsr+1, pMWin->iEphCsr); + sqlite3VdbeAddOp2(v, OP_OpenDup, pMWin->iEphCsr+2, pMWin->iEphCsr); + sqlite3VdbeAddOp2(v, OP_OpenDup, pMWin->iEphCsr+3, pMWin->iEphCsr); + }else{ + sqlite3SelectDelete(db, pSub); + } + if( db->mallocFailed ) rc = SQLITE_NOMEM; + sqlite3DbFree(db, pTab); + } + + return rc; +} + +/* +** Unlink the Window object from the Select to which it is attached, +** if it is attached. +*/ +SQLITE_PRIVATE void sqlite3WindowUnlinkFromSelect(Window *p){ + if( p->ppThis ){ + *p->ppThis = p->pNextWin; + if( p->pNextWin ) p->pNextWin->ppThis = p->ppThis; + p->ppThis = 0; + } +} + +/* +** Free the Window object passed as the second argument. +*/ +SQLITE_PRIVATE void sqlite3WindowDelete(sqlite3 *db, Window *p){ + if( p ){ + sqlite3WindowUnlinkFromSelect(p); + sqlite3ExprDelete(db, p->pFilter); + sqlite3ExprListDelete(db, p->pPartition); + sqlite3ExprListDelete(db, p->pOrderBy); + sqlite3ExprDelete(db, p->pEnd); + sqlite3ExprDelete(db, p->pStart); + sqlite3DbFree(db, p->zName); + sqlite3DbFree(db, p->zBase); + sqlite3DbFree(db, p); + } +} + +/* +** Free the linked list of Window objects starting at the second argument. +*/ +SQLITE_PRIVATE void sqlite3WindowListDelete(sqlite3 *db, Window *p){ + while( p ){ + Window *pNext = p->pNextWin; + sqlite3WindowDelete(db, p); + p = pNext; + } +} + +/* +** The argument expression is an PRECEDING or FOLLOWING offset. The +** value should be a non-negative integer. If the value is not a +** constant, change it to NULL. The fact that it is then a non-negative +** integer will be caught later. But it is important not to leave +** variable values in the expression tree. +*/ +static Expr *sqlite3WindowOffsetExpr(Parse *pParse, Expr *pExpr){ + if( 0==sqlite3ExprIsConstant(pExpr) ){ + if( IN_RENAME_OBJECT ) sqlite3RenameExprUnmap(pParse, pExpr); + sqlite3ExprDelete(pParse->db, pExpr); + pExpr = sqlite3ExprAlloc(pParse->db, TK_NULL, 0, 0); + } + return pExpr; +} + +/* +** Allocate and return a new Window object describing a Window Definition. +*/ +SQLITE_PRIVATE Window *sqlite3WindowAlloc( + Parse *pParse, /* Parsing context */ + int eType, /* Frame type. TK_RANGE, TK_ROWS, TK_GROUPS, or 0 */ + int eStart, /* Start type: CURRENT, PRECEDING, FOLLOWING, UNBOUNDED */ + Expr *pStart, /* Start window size if TK_PRECEDING or FOLLOWING */ + int eEnd, /* End type: CURRENT, FOLLOWING, TK_UNBOUNDED, PRECEDING */ + Expr *pEnd, /* End window size if TK_FOLLOWING or PRECEDING */ + u8 eExclude /* EXCLUDE clause */ +){ + Window *pWin = 0; + int bImplicitFrame = 0; + + /* Parser assures the following: */ + assert( eType==0 || eType==TK_RANGE || eType==TK_ROWS || eType==TK_GROUPS ); + assert( eStart==TK_CURRENT || eStart==TK_PRECEDING + || eStart==TK_UNBOUNDED || eStart==TK_FOLLOWING ); + assert( eEnd==TK_CURRENT || eEnd==TK_FOLLOWING + || eEnd==TK_UNBOUNDED || eEnd==TK_PRECEDING ); + assert( (eStart==TK_PRECEDING || eStart==TK_FOLLOWING)==(pStart!=0) ); + assert( (eEnd==TK_FOLLOWING || eEnd==TK_PRECEDING)==(pEnd!=0) ); + + if( eType==0 ){ + bImplicitFrame = 1; + eType = TK_RANGE; + } + + /* Additionally, the + ** starting boundary type may not occur earlier in the following list than + ** the ending boundary type: + ** + ** UNBOUNDED PRECEDING + ** PRECEDING + ** CURRENT ROW + ** FOLLOWING + ** UNBOUNDED FOLLOWING + ** + ** The parser ensures that "UNBOUNDED PRECEDING" cannot be used as an ending + ** boundary, and than "UNBOUNDED FOLLOWING" cannot be used as a starting + ** frame boundary. + */ + if( (eStart==TK_CURRENT && eEnd==TK_PRECEDING) + || (eStart==TK_FOLLOWING && (eEnd==TK_PRECEDING || eEnd==TK_CURRENT)) + ){ + sqlite3ErrorMsg(pParse, "unsupported frame specification"); + goto windowAllocErr; + } + + pWin = (Window*)sqlite3DbMallocZero(pParse->db, sizeof(Window)); + if( pWin==0 ) goto windowAllocErr; + pWin->eFrmType = eType; + pWin->eStart = eStart; + pWin->eEnd = eEnd; + if( eExclude==0 && OptimizationDisabled(pParse->db, SQLITE_WindowFunc) ){ + eExclude = TK_NO; + } + pWin->eExclude = eExclude; + pWin->bImplicitFrame = bImplicitFrame; + pWin->pEnd = sqlite3WindowOffsetExpr(pParse, pEnd); + pWin->pStart = sqlite3WindowOffsetExpr(pParse, pStart); + return pWin; + +windowAllocErr: + sqlite3ExprDelete(pParse->db, pEnd); + sqlite3ExprDelete(pParse->db, pStart); + return 0; +} + +/* +** Attach PARTITION and ORDER BY clauses pPartition and pOrderBy to window +** pWin. Also, if parameter pBase is not NULL, set pWin->zBase to the +** equivalent nul-terminated string. +*/ +SQLITE_PRIVATE Window *sqlite3WindowAssemble( + Parse *pParse, + Window *pWin, + ExprList *pPartition, + ExprList *pOrderBy, + Token *pBase +){ + if( pWin ){ + pWin->pPartition = pPartition; + pWin->pOrderBy = pOrderBy; + if( pBase ){ + pWin->zBase = sqlite3DbStrNDup(pParse->db, pBase->z, pBase->n); + } + }else{ + sqlite3ExprListDelete(pParse->db, pPartition); + sqlite3ExprListDelete(pParse->db, pOrderBy); + } + return pWin; +} + +/* +** Window *pWin has just been created from a WINDOW clause. Tokne pBase +** is the base window. Earlier windows from the same WINDOW clause are +** stored in the linked list starting at pWin->pNextWin. This function +** either updates *pWin according to the base specification, or else +** leaves an error in pParse. +*/ +SQLITE_PRIVATE void sqlite3WindowChain(Parse *pParse, Window *pWin, Window *pList){ + if( pWin->zBase ){ + sqlite3 *db = pParse->db; + Window *pExist = windowFind(pParse, pList, pWin->zBase); + if( pExist ){ + const char *zErr = 0; + /* Check for errors */ + if( pWin->pPartition ){ + zErr = "PARTITION clause"; + }else if( pExist->pOrderBy && pWin->pOrderBy ){ + zErr = "ORDER BY clause"; + }else if( pExist->bImplicitFrame==0 ){ + zErr = "frame specification"; + } + if( zErr ){ + sqlite3ErrorMsg(pParse, + "cannot override %s of window: %s", zErr, pWin->zBase + ); + }else{ + pWin->pPartition = sqlite3ExprListDup(db, pExist->pPartition, 0); + if( pExist->pOrderBy ){ + assert( pWin->pOrderBy==0 ); + pWin->pOrderBy = sqlite3ExprListDup(db, pExist->pOrderBy, 0); + } + sqlite3DbFree(db, pWin->zBase); + pWin->zBase = 0; + } + } + } +} + +/* +** Attach window object pWin to expression p. +*/ +SQLITE_PRIVATE void sqlite3WindowAttach(Parse *pParse, Expr *p, Window *pWin){ + if( p ){ + assert( p->op==TK_FUNCTION ); + assert( pWin ); + p->y.pWin = pWin; + ExprSetProperty(p, EP_WinFunc); + pWin->pOwner = p; + if( (p->flags & EP_Distinct) && pWin->eFrmType!=TK_FILTER ){ + sqlite3ErrorMsg(pParse, + "DISTINCT is not supported for window functions" + ); + } + }else{ + sqlite3WindowDelete(pParse->db, pWin); + } +} + +/* +** Possibly link window pWin into the list at pSel->pWin (window functions +** to be processed as part of SELECT statement pSel). The window is linked +** in if either (a) there are no other windows already linked to this +** SELECT, or (b) the windows already linked use a compatible window frame. +*/ +SQLITE_PRIVATE void sqlite3WindowLink(Select *pSel, Window *pWin){ + if( 0==pSel->pWin + || 0==sqlite3WindowCompare(0, pSel->pWin, pWin, 0) + ){ + pWin->pNextWin = pSel->pWin; + if( pSel->pWin ){ + pSel->pWin->ppThis = &pWin->pNextWin; + } + pSel->pWin = pWin; + pWin->ppThis = &pSel->pWin; + } +} + +/* +** Return 0 if the two window objects are identical, or non-zero otherwise. +** Identical window objects can be processed in a single scan. +*/ +SQLITE_PRIVATE int sqlite3WindowCompare(Parse *pParse, Window *p1, Window *p2, int bFilter){ + if( p1->eFrmType!=p2->eFrmType ) return 1; + if( p1->eStart!=p2->eStart ) return 1; + if( p1->eEnd!=p2->eEnd ) return 1; + if( p1->eExclude!=p2->eExclude ) return 1; + if( sqlite3ExprCompare(pParse, p1->pStart, p2->pStart, -1) ) return 1; + if( sqlite3ExprCompare(pParse, p1->pEnd, p2->pEnd, -1) ) return 1; + if( sqlite3ExprListCompare(p1->pPartition, p2->pPartition, -1) ) return 1; + if( sqlite3ExprListCompare(p1->pOrderBy, p2->pOrderBy, -1) ) return 1; + if( bFilter ){ + if( sqlite3ExprCompare(pParse, p1->pFilter, p2->pFilter, -1) ) return 1; + } + return 0; +} + + +/* +** This is called by code in select.c before it calls sqlite3WhereBegin() +** to begin iterating through the sub-query results. It is used to allocate +** and initialize registers and cursors used by sqlite3WindowCodeStep(). +*/ +SQLITE_PRIVATE void sqlite3WindowCodeInit(Parse *pParse, Window *pMWin){ + Window *pWin; + Vdbe *v = sqlite3GetVdbe(pParse); + + /* Allocate registers to use for PARTITION BY values, if any. Initialize + ** said registers to NULL. */ + if( pMWin->pPartition ){ + int nExpr = pMWin->pPartition->nExpr; + pMWin->regPart = pParse->nMem+1; + pParse->nMem += nExpr; + sqlite3VdbeAddOp3(v, OP_Null, 0, pMWin->regPart, pMWin->regPart+nExpr-1); + } + + pMWin->regOne = ++pParse->nMem; + sqlite3VdbeAddOp2(v, OP_Integer, 1, pMWin->regOne); + + if( pMWin->eExclude ){ + pMWin->regStartRowid = ++pParse->nMem; + pMWin->regEndRowid = ++pParse->nMem; + pMWin->csrApp = pParse->nTab++; + sqlite3VdbeAddOp2(v, OP_Integer, 1, pMWin->regStartRowid); + sqlite3VdbeAddOp2(v, OP_Integer, 0, pMWin->regEndRowid); + sqlite3VdbeAddOp2(v, OP_OpenDup, pMWin->csrApp, pMWin->iEphCsr); + return; + } + + for(pWin=pMWin; pWin; pWin=pWin->pNextWin){ + FuncDef *p = pWin->pFunc; + if( (p->funcFlags & SQLITE_FUNC_MINMAX) && pWin->eStart!=TK_UNBOUNDED ){ + /* The inline versions of min() and max() require a single ephemeral + ** table and 3 registers. The registers are used as follows: + ** + ** regApp+0: slot to copy min()/max() argument to for MakeRecord + ** regApp+1: integer value used to ensure keys are unique + ** regApp+2: output of MakeRecord + */ + ExprList *pList = pWin->pOwner->x.pList; + KeyInfo *pKeyInfo = sqlite3KeyInfoFromExprList(pParse, pList, 0, 0); + pWin->csrApp = pParse->nTab++; + pWin->regApp = pParse->nMem+1; + pParse->nMem += 3; + if( pKeyInfo && pWin->pFunc->zName[1]=='i' ){ + assert( pKeyInfo->aSortFlags[0]==0 ); + pKeyInfo->aSortFlags[0] = KEYINFO_ORDER_DESC; + } + sqlite3VdbeAddOp2(v, OP_OpenEphemeral, pWin->csrApp, 2); + sqlite3VdbeAppendP4(v, pKeyInfo, P4_KEYINFO); + sqlite3VdbeAddOp2(v, OP_Integer, 0, pWin->regApp+1); + } + else if( p->zName==nth_valueName || p->zName==first_valueName ){ + /* Allocate two registers at pWin->regApp. These will be used to + ** store the start and end index of the current frame. */ + pWin->regApp = pParse->nMem+1; + pWin->csrApp = pParse->nTab++; + pParse->nMem += 2; + sqlite3VdbeAddOp2(v, OP_OpenDup, pWin->csrApp, pMWin->iEphCsr); + } + else if( p->zName==leadName || p->zName==lagName ){ + pWin->csrApp = pParse->nTab++; + sqlite3VdbeAddOp2(v, OP_OpenDup, pWin->csrApp, pMWin->iEphCsr); + } + } +} + +#define WINDOW_STARTING_INT 0 +#define WINDOW_ENDING_INT 1 +#define WINDOW_NTH_VALUE_INT 2 +#define WINDOW_STARTING_NUM 3 +#define WINDOW_ENDING_NUM 4 + +/* +** A "PRECEDING " (eCond==0) or "FOLLOWING " (eCond==1) or the +** value of the second argument to nth_value() (eCond==2) has just been +** evaluated and the result left in register reg. This function generates VM +** code to check that the value is a non-negative integer and throws an +** exception if it is not. +*/ +static void windowCheckValue(Parse *pParse, int reg, int eCond){ + static const char *azErr[] = { + "frame starting offset must be a non-negative integer", + "frame ending offset must be a non-negative integer", + "second argument to nth_value must be a positive integer", + "frame starting offset must be a non-negative number", + "frame ending offset must be a non-negative number", + }; + static int aOp[] = { OP_Ge, OP_Ge, OP_Gt, OP_Ge, OP_Ge }; + Vdbe *v = sqlite3GetVdbe(pParse); + int regZero = sqlite3GetTempReg(pParse); + assert( eCond>=0 && eCond=WINDOW_STARTING_NUM ){ + int regString = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp4(v, OP_String8, 0, regString, 0, "", P4_STATIC); + sqlite3VdbeAddOp3(v, OP_Ge, regString, sqlite3VdbeCurrentAddr(v)+2, reg); + sqlite3VdbeChangeP5(v, SQLITE_AFF_NUMERIC|SQLITE_JUMPIFNULL); + VdbeCoverage(v); + assert( eCond==3 || eCond==4 ); + VdbeCoverageIf(v, eCond==3); + VdbeCoverageIf(v, eCond==4); + }else{ + sqlite3VdbeAddOp2(v, OP_MustBeInt, reg, sqlite3VdbeCurrentAddr(v)+2); + VdbeCoverage(v); + assert( eCond==0 || eCond==1 || eCond==2 ); + VdbeCoverageIf(v, eCond==0); + VdbeCoverageIf(v, eCond==1); + VdbeCoverageIf(v, eCond==2); + } + sqlite3VdbeAddOp3(v, aOp[eCond], regZero, sqlite3VdbeCurrentAddr(v)+2, reg); + VdbeCoverageNeverNullIf(v, eCond==0); /* NULL case captured by */ + VdbeCoverageNeverNullIf(v, eCond==1); /* the OP_MustBeInt */ + VdbeCoverageNeverNullIf(v, eCond==2); + VdbeCoverageNeverNullIf(v, eCond==3); /* NULL case caught by */ + VdbeCoverageNeverNullIf(v, eCond==4); /* the OP_Ge */ + sqlite3MayAbort(pParse); + sqlite3VdbeAddOp2(v, OP_Halt, SQLITE_ERROR, OE_Abort); + sqlite3VdbeAppendP4(v, (void*)azErr[eCond], P4_STATIC); + sqlite3ReleaseTempReg(pParse, regZero); +} + +/* +** Return the number of arguments passed to the window-function associated +** with the object passed as the only argument to this function. +*/ +static int windowArgCount(Window *pWin){ + ExprList *pList = pWin->pOwner->x.pList; + return (pList ? pList->nExpr : 0); +} + +typedef struct WindowCodeArg WindowCodeArg; +typedef struct WindowCsrAndReg WindowCsrAndReg; + +/* +** See comments above struct WindowCodeArg. +*/ +struct WindowCsrAndReg { + int csr; /* Cursor number */ + int reg; /* First in array of peer values */ +}; + +/* +** A single instance of this structure is allocated on the stack by +** sqlite3WindowCodeStep() and a pointer to it passed to the various helper +** routines. This is to reduce the number of arguments required by each +** helper function. +** +** regArg: +** Each window function requires an accumulator register (just as an +** ordinary aggregate function does). This variable is set to the first +** in an array of accumulator registers - one for each window function +** in the WindowCodeArg.pMWin list. +** +** eDelete: +** The window functions implementation sometimes caches the input rows +** that it processes in a temporary table. If it is not zero, this +** variable indicates when rows may be removed from the temp table (in +** order to reduce memory requirements - it would always be safe just +** to leave them there). Possible values for eDelete are: +** +** WINDOW_RETURN_ROW: +** An input row can be discarded after it is returned to the caller. +** +** WINDOW_AGGINVERSE: +** An input row can be discarded after the window functions xInverse() +** callbacks have been invoked in it. +** +** WINDOW_AGGSTEP: +** An input row can be discarded after the window functions xStep() +** callbacks have been invoked in it. +** +** start,current,end +** Consider a window-frame similar to the following: +** +** (ORDER BY a, b GROUPS BETWEEN 2 PRECEDING AND 2 FOLLOWING) +** +** The windows functions implmentation caches the input rows in a temp +** table, sorted by "a, b" (it actually populates the cache lazily, and +** aggressively removes rows once they are no longer required, but that's +** a mere detail). It keeps three cursors open on the temp table. One +** (current) that points to the next row to return to the query engine +** once its window function values have been calculated. Another (end) +** points to the next row to call the xStep() method of each window function +** on (so that it is 2 groups ahead of current). And a third (start) that +** points to the next row to call the xInverse() method of each window +** function on. +** +** Each cursor (start, current and end) consists of a VDBE cursor +** (WindowCsrAndReg.csr) and an array of registers (starting at +** WindowCodeArg.reg) that always contains a copy of the peer values +** read from the corresponding cursor. +** +** Depending on the window-frame in question, all three cursors may not +** be required. In this case both WindowCodeArg.csr and reg are set to +** 0. +*/ +struct WindowCodeArg { + Parse *pParse; /* Parse context */ + Window *pMWin; /* First in list of functions being processed */ + Vdbe *pVdbe; /* VDBE object */ + int addrGosub; /* OP_Gosub to this address to return one row */ + int regGosub; /* Register used with OP_Gosub(addrGosub) */ + int regArg; /* First in array of accumulator registers */ + int eDelete; /* See above */ + + WindowCsrAndReg start; + WindowCsrAndReg current; + WindowCsrAndReg end; +}; + +/* +** Generate VM code to read the window frames peer values from cursor csr into +** an array of registers starting at reg. +*/ +static void windowReadPeerValues( + WindowCodeArg *p, + int csr, + int reg +){ + Window *pMWin = p->pMWin; + ExprList *pOrderBy = pMWin->pOrderBy; + if( pOrderBy ){ + Vdbe *v = sqlite3GetVdbe(p->pParse); + ExprList *pPart = pMWin->pPartition; + int iColOff = pMWin->nBufferCol + (pPart ? pPart->nExpr : 0); + int i; + for(i=0; inExpr; i++){ + sqlite3VdbeAddOp3(v, OP_Column, csr, iColOff+i, reg+i); + } + } +} + +/* +** Generate VM code to invoke either xStep() (if bInverse is 0) or +** xInverse (if bInverse is non-zero) for each window function in the +** linked list starting at pMWin. Or, for built-in window functions +** that do not use the standard function API, generate the required +** inline VM code. +** +** If argument csr is greater than or equal to 0, then argument reg is +** the first register in an array of registers guaranteed to be large +** enough to hold the array of arguments for each function. In this case +** the arguments are extracted from the current row of csr into the +** array of registers before invoking OP_AggStep or OP_AggInverse +** +** Or, if csr is less than zero, then the array of registers at reg is +** already populated with all columns from the current row of the sub-query. +** +** If argument regPartSize is non-zero, then it is a register containing the +** number of rows in the current partition. +*/ +static void windowAggStep( + WindowCodeArg *p, + Window *pMWin, /* Linked list of window functions */ + int csr, /* Read arguments from this cursor */ + int bInverse, /* True to invoke xInverse instead of xStep */ + int reg /* Array of registers */ +){ + Parse *pParse = p->pParse; + Vdbe *v = sqlite3GetVdbe(pParse); + Window *pWin; + for(pWin=pMWin; pWin; pWin=pWin->pNextWin){ + FuncDef *pFunc = pWin->pFunc; + int regArg; + int nArg = pWin->bExprArgs ? 0 : windowArgCount(pWin); + int i; + + assert( bInverse==0 || pWin->eStart!=TK_UNBOUNDED ); + + /* All OVER clauses in the same window function aggregate step must + ** be the same. */ + assert( pWin==pMWin || sqlite3WindowCompare(pParse,pWin,pMWin,0)==0 ); + + for(i=0; izName!=nth_valueName ){ + sqlite3VdbeAddOp3(v, OP_Column, csr, pWin->iArgCol+i, reg+i); + }else{ + sqlite3VdbeAddOp3(v, OP_Column, pMWin->iEphCsr, pWin->iArgCol+i, reg+i); + } + } + regArg = reg; + + if( pMWin->regStartRowid==0 + && (pFunc->funcFlags & SQLITE_FUNC_MINMAX) + && (pWin->eStart!=TK_UNBOUNDED) + ){ + int addrIsNull = sqlite3VdbeAddOp1(v, OP_IsNull, regArg); + VdbeCoverage(v); + if( bInverse==0 ){ + sqlite3VdbeAddOp2(v, OP_AddImm, pWin->regApp+1, 1); + sqlite3VdbeAddOp2(v, OP_SCopy, regArg, pWin->regApp); + sqlite3VdbeAddOp3(v, OP_MakeRecord, pWin->regApp, 2, pWin->regApp+2); + sqlite3VdbeAddOp2(v, OP_IdxInsert, pWin->csrApp, pWin->regApp+2); + }else{ + sqlite3VdbeAddOp4Int(v, OP_SeekGE, pWin->csrApp, 0, regArg, 1); + VdbeCoverageNeverTaken(v); + sqlite3VdbeAddOp1(v, OP_Delete, pWin->csrApp); + sqlite3VdbeJumpHere(v, sqlite3VdbeCurrentAddr(v)-2); + } + sqlite3VdbeJumpHere(v, addrIsNull); + }else if( pWin->regApp ){ + assert( pFunc->zName==nth_valueName + || pFunc->zName==first_valueName + ); + assert( bInverse==0 || bInverse==1 ); + sqlite3VdbeAddOp2(v, OP_AddImm, pWin->regApp+1-bInverse, 1); + }else if( pFunc->xSFunc!=noopStepFunc ){ + int addrIf = 0; + if( pWin->pFilter ){ + int regTmp; + assert( pWin->bExprArgs || !nArg ||nArg==pWin->pOwner->x.pList->nExpr ); + assert( pWin->bExprArgs || nArg ||pWin->pOwner->x.pList==0 ); + regTmp = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp3(v, OP_Column, csr, pWin->iArgCol+nArg,regTmp); + addrIf = sqlite3VdbeAddOp3(v, OP_IfNot, regTmp, 0, 1); + VdbeCoverage(v); + sqlite3ReleaseTempReg(pParse, regTmp); + } + + if( pWin->bExprArgs ){ + int iStart = sqlite3VdbeCurrentAddr(v); + VdbeOp *pOp, *pEnd; + + nArg = pWin->pOwner->x.pList->nExpr; + regArg = sqlite3GetTempRange(pParse, nArg); + sqlite3ExprCodeExprList(pParse, pWin->pOwner->x.pList, regArg, 0, 0); + + pEnd = sqlite3VdbeGetOp(v, -1); + for(pOp=sqlite3VdbeGetOp(v, iStart); pOp<=pEnd; pOp++){ + if( pOp->opcode==OP_Column && pOp->p1==pWin->iEphCsr ){ + pOp->p1 = csr; + } + } + } + if( pFunc->funcFlags & SQLITE_FUNC_NEEDCOLL ){ + CollSeq *pColl; + assert( nArg>0 ); + pColl = sqlite3ExprNNCollSeq(pParse, pWin->pOwner->x.pList->a[0].pExpr); + sqlite3VdbeAddOp4(v, OP_CollSeq, 0,0,0, (const char*)pColl, P4_COLLSEQ); + } + sqlite3VdbeAddOp3(v, bInverse? OP_AggInverse : OP_AggStep, + bInverse, regArg, pWin->regAccum); + sqlite3VdbeAppendP4(v, pFunc, P4_FUNCDEF); + sqlite3VdbeChangeP5(v, (u8)nArg); + if( pWin->bExprArgs ){ + sqlite3ReleaseTempRange(pParse, regArg, nArg); + } + if( addrIf ) sqlite3VdbeJumpHere(v, addrIf); + } + } +} + +/* +** Values that may be passed as the second argument to windowCodeOp(). +*/ +#define WINDOW_RETURN_ROW 1 +#define WINDOW_AGGINVERSE 2 +#define WINDOW_AGGSTEP 3 + +/* +** Generate VM code to invoke either xValue() (bFin==0) or xFinalize() +** (bFin==1) for each window function in the linked list starting at +** pMWin. Or, for built-in window-functions that do not use the standard +** API, generate the equivalent VM code. +*/ +static void windowAggFinal(WindowCodeArg *p, int bFin){ + Parse *pParse = p->pParse; + Window *pMWin = p->pMWin; + Vdbe *v = sqlite3GetVdbe(pParse); + Window *pWin; + + for(pWin=pMWin; pWin; pWin=pWin->pNextWin){ + if( pMWin->regStartRowid==0 + && (pWin->pFunc->funcFlags & SQLITE_FUNC_MINMAX) + && (pWin->eStart!=TK_UNBOUNDED) + ){ + sqlite3VdbeAddOp2(v, OP_Null, 0, pWin->regResult); + sqlite3VdbeAddOp1(v, OP_Last, pWin->csrApp); + VdbeCoverage(v); + sqlite3VdbeAddOp3(v, OP_Column, pWin->csrApp, 0, pWin->regResult); + sqlite3VdbeJumpHere(v, sqlite3VdbeCurrentAddr(v)-2); + }else if( pWin->regApp ){ + assert( pMWin->regStartRowid==0 ); + }else{ + int nArg = windowArgCount(pWin); + if( bFin ){ + sqlite3VdbeAddOp2(v, OP_AggFinal, pWin->regAccum, nArg); + sqlite3VdbeAppendP4(v, pWin->pFunc, P4_FUNCDEF); + sqlite3VdbeAddOp2(v, OP_Copy, pWin->regAccum, pWin->regResult); + sqlite3VdbeAddOp2(v, OP_Null, 0, pWin->regAccum); + }else{ + sqlite3VdbeAddOp3(v, OP_AggValue,pWin->regAccum,nArg,pWin->regResult); + sqlite3VdbeAppendP4(v, pWin->pFunc, P4_FUNCDEF); + } + } + } +} + +/* +** Generate code to calculate the current values of all window functions in the +** p->pMWin list by doing a full scan of the current window frame. Store the +** results in the Window.regResult registers, ready to return the upper +** layer. +*/ +static void windowFullScan(WindowCodeArg *p){ + Window *pWin; + Parse *pParse = p->pParse; + Window *pMWin = p->pMWin; + Vdbe *v = p->pVdbe; + + int regCRowid = 0; /* Current rowid value */ + int regCPeer = 0; /* Current peer values */ + int regRowid = 0; /* AggStep rowid value */ + int regPeer = 0; /* AggStep peer values */ + + int nPeer; + int lblNext; + int lblBrk; + int addrNext; + int csr; + + VdbeModuleComment((v, "windowFullScan begin")); + + assert( pMWin!=0 ); + csr = pMWin->csrApp; + nPeer = (pMWin->pOrderBy ? pMWin->pOrderBy->nExpr : 0); + + lblNext = sqlite3VdbeMakeLabel(pParse); + lblBrk = sqlite3VdbeMakeLabel(pParse); + + regCRowid = sqlite3GetTempReg(pParse); + regRowid = sqlite3GetTempReg(pParse); + if( nPeer ){ + regCPeer = sqlite3GetTempRange(pParse, nPeer); + regPeer = sqlite3GetTempRange(pParse, nPeer); + } + + sqlite3VdbeAddOp2(v, OP_Rowid, pMWin->iEphCsr, regCRowid); + windowReadPeerValues(p, pMWin->iEphCsr, regCPeer); + + for(pWin=pMWin; pWin; pWin=pWin->pNextWin){ + sqlite3VdbeAddOp2(v, OP_Null, 0, pWin->regAccum); + } + + sqlite3VdbeAddOp3(v, OP_SeekGE, csr, lblBrk, pMWin->regStartRowid); + VdbeCoverage(v); + addrNext = sqlite3VdbeCurrentAddr(v); + sqlite3VdbeAddOp2(v, OP_Rowid, csr, regRowid); + sqlite3VdbeAddOp3(v, OP_Gt, pMWin->regEndRowid, lblBrk, regRowid); + VdbeCoverageNeverNull(v); + + if( pMWin->eExclude==TK_CURRENT ){ + sqlite3VdbeAddOp3(v, OP_Eq, regCRowid, lblNext, regRowid); + VdbeCoverageNeverNull(v); + }else if( pMWin->eExclude!=TK_NO ){ + int addr; + int addrEq = 0; + KeyInfo *pKeyInfo = 0; + + if( pMWin->pOrderBy ){ + pKeyInfo = sqlite3KeyInfoFromExprList(pParse, pMWin->pOrderBy, 0, 0); + } + if( pMWin->eExclude==TK_TIES ){ + addrEq = sqlite3VdbeAddOp3(v, OP_Eq, regCRowid, 0, regRowid); + VdbeCoverageNeverNull(v); + } + if( pKeyInfo ){ + windowReadPeerValues(p, csr, regPeer); + sqlite3VdbeAddOp3(v, OP_Compare, regPeer, regCPeer, nPeer); + sqlite3VdbeAppendP4(v, (void*)pKeyInfo, P4_KEYINFO); + addr = sqlite3VdbeCurrentAddr(v)+1; + sqlite3VdbeAddOp3(v, OP_Jump, addr, lblNext, addr); + VdbeCoverageEqNe(v); + }else{ + sqlite3VdbeAddOp2(v, OP_Goto, 0, lblNext); + } + if( addrEq ) sqlite3VdbeJumpHere(v, addrEq); + } + + windowAggStep(p, pMWin, csr, 0, p->regArg); + + sqlite3VdbeResolveLabel(v, lblNext); + sqlite3VdbeAddOp2(v, OP_Next, csr, addrNext); + VdbeCoverage(v); + sqlite3VdbeJumpHere(v, addrNext-1); + sqlite3VdbeJumpHere(v, addrNext+1); + sqlite3ReleaseTempReg(pParse, regRowid); + sqlite3ReleaseTempReg(pParse, regCRowid); + if( nPeer ){ + sqlite3ReleaseTempRange(pParse, regPeer, nPeer); + sqlite3ReleaseTempRange(pParse, regCPeer, nPeer); + } + + windowAggFinal(p, 1); + VdbeModuleComment((v, "windowFullScan end")); +} + +/* +** Invoke the sub-routine at regGosub (generated by code in select.c) to +** return the current row of Window.iEphCsr. If all window functions are +** aggregate window functions that use the standard API, a single +** OP_Gosub instruction is all that this routine generates. Extra VM code +** for per-row processing is only generated for the following built-in window +** functions: +** +** nth_value() +** first_value() +** lag() +** lead() +*/ +static void windowReturnOneRow(WindowCodeArg *p){ + Window *pMWin = p->pMWin; + Vdbe *v = p->pVdbe; + + if( pMWin->regStartRowid ){ + windowFullScan(p); + }else{ + Parse *pParse = p->pParse; + Window *pWin; + + for(pWin=pMWin; pWin; pWin=pWin->pNextWin){ + FuncDef *pFunc = pWin->pFunc; + if( pFunc->zName==nth_valueName + || pFunc->zName==first_valueName + ){ + int csr = pWin->csrApp; + int lbl = sqlite3VdbeMakeLabel(pParse); + int tmpReg = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp2(v, OP_Null, 0, pWin->regResult); + + if( pFunc->zName==nth_valueName ){ + sqlite3VdbeAddOp3(v, OP_Column,pMWin->iEphCsr,pWin->iArgCol+1,tmpReg); + windowCheckValue(pParse, tmpReg, 2); + }else{ + sqlite3VdbeAddOp2(v, OP_Integer, 1, tmpReg); + } + sqlite3VdbeAddOp3(v, OP_Add, tmpReg, pWin->regApp, tmpReg); + sqlite3VdbeAddOp3(v, OP_Gt, pWin->regApp+1, lbl, tmpReg); + VdbeCoverageNeverNull(v); + sqlite3VdbeAddOp3(v, OP_SeekRowid, csr, 0, tmpReg); + VdbeCoverageNeverTaken(v); + sqlite3VdbeAddOp3(v, OP_Column, csr, pWin->iArgCol, pWin->regResult); + sqlite3VdbeResolveLabel(v, lbl); + sqlite3ReleaseTempReg(pParse, tmpReg); + } + else if( pFunc->zName==leadName || pFunc->zName==lagName ){ + int nArg = pWin->pOwner->x.pList->nExpr; + int csr = pWin->csrApp; + int lbl = sqlite3VdbeMakeLabel(pParse); + int tmpReg = sqlite3GetTempReg(pParse); + int iEph = pMWin->iEphCsr; + + if( nArg<3 ){ + sqlite3VdbeAddOp2(v, OP_Null, 0, pWin->regResult); + }else{ + sqlite3VdbeAddOp3(v, OP_Column, iEph,pWin->iArgCol+2,pWin->regResult); + } + sqlite3VdbeAddOp2(v, OP_Rowid, iEph, tmpReg); + if( nArg<2 ){ + int val = (pFunc->zName==leadName ? 1 : -1); + sqlite3VdbeAddOp2(v, OP_AddImm, tmpReg, val); + }else{ + int op = (pFunc->zName==leadName ? OP_Add : OP_Subtract); + int tmpReg2 = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp3(v, OP_Column, iEph, pWin->iArgCol+1, tmpReg2); + sqlite3VdbeAddOp3(v, op, tmpReg2, tmpReg, tmpReg); + sqlite3ReleaseTempReg(pParse, tmpReg2); + } + + sqlite3VdbeAddOp3(v, OP_SeekRowid, csr, lbl, tmpReg); + VdbeCoverage(v); + sqlite3VdbeAddOp3(v, OP_Column, csr, pWin->iArgCol, pWin->regResult); + sqlite3VdbeResolveLabel(v, lbl); + sqlite3ReleaseTempReg(pParse, tmpReg); + } + } + } + sqlite3VdbeAddOp2(v, OP_Gosub, p->regGosub, p->addrGosub); +} + +/* +** Generate code to set the accumulator register for each window function +** in the linked list passed as the second argument to NULL. And perform +** any equivalent initialization required by any built-in window functions +** in the list. +*/ +static int windowInitAccum(Parse *pParse, Window *pMWin){ + Vdbe *v = sqlite3GetVdbe(pParse); + int regArg; + int nArg = 0; + Window *pWin; + for(pWin=pMWin; pWin; pWin=pWin->pNextWin){ + FuncDef *pFunc = pWin->pFunc; + sqlite3VdbeAddOp2(v, OP_Null, 0, pWin->regAccum); + nArg = MAX(nArg, windowArgCount(pWin)); + if( pMWin->regStartRowid==0 ){ + if( pFunc->zName==nth_valueName || pFunc->zName==first_valueName ){ + sqlite3VdbeAddOp2(v, OP_Integer, 0, pWin->regApp); + sqlite3VdbeAddOp2(v, OP_Integer, 0, pWin->regApp+1); + } + + if( (pFunc->funcFlags & SQLITE_FUNC_MINMAX) && pWin->csrApp ){ + assert( pWin->eStart!=TK_UNBOUNDED ); + sqlite3VdbeAddOp1(v, OP_ResetSorter, pWin->csrApp); + sqlite3VdbeAddOp2(v, OP_Integer, 0, pWin->regApp+1); + } + } + } + regArg = pParse->nMem+1; + pParse->nMem += nArg; + return regArg; +} + +/* +** Return true if the current frame should be cached in the ephemeral table, +** even if there are no xInverse() calls required. +*/ +static int windowCacheFrame(Window *pMWin){ + Window *pWin; + if( pMWin->regStartRowid ) return 1; + for(pWin=pMWin; pWin; pWin=pWin->pNextWin){ + FuncDef *pFunc = pWin->pFunc; + if( (pFunc->zName==nth_valueName) + || (pFunc->zName==first_valueName) + || (pFunc->zName==leadName) + || (pFunc->zName==lagName) + ){ + return 1; + } + } + return 0; +} + +/* +** regOld and regNew are each the first register in an array of size +** pOrderBy->nExpr. This function generates code to compare the two +** arrays of registers using the collation sequences and other comparison +** parameters specified by pOrderBy. +** +** If the two arrays are not equal, the contents of regNew is copied to +** regOld and control falls through. Otherwise, if the contents of the arrays +** are equal, an OP_Goto is executed. The address of the OP_Goto is returned. +*/ +static void windowIfNewPeer( + Parse *pParse, + ExprList *pOrderBy, + int regNew, /* First in array of new values */ + int regOld, /* First in array of old values */ + int addr /* Jump here */ +){ + Vdbe *v = sqlite3GetVdbe(pParse); + if( pOrderBy ){ + int nVal = pOrderBy->nExpr; + KeyInfo *pKeyInfo = sqlite3KeyInfoFromExprList(pParse, pOrderBy, 0, 0); + sqlite3VdbeAddOp3(v, OP_Compare, regOld, regNew, nVal); + sqlite3VdbeAppendP4(v, (void*)pKeyInfo, P4_KEYINFO); + sqlite3VdbeAddOp3(v, OP_Jump, + sqlite3VdbeCurrentAddr(v)+1, addr, sqlite3VdbeCurrentAddr(v)+1 + ); + VdbeCoverageEqNe(v); + sqlite3VdbeAddOp3(v, OP_Copy, regNew, regOld, nVal-1); + }else{ + sqlite3VdbeAddOp2(v, OP_Goto, 0, addr); + } +} + +/* +** This function is called as part of generating VM programs for RANGE +** offset PRECEDING/FOLLOWING frame boundaries. Assuming "ASC" order for +** the ORDER BY term in the window, and that argument op is OP_Ge, it generates +** code equivalent to: +** +** if( csr1.peerVal + regVal >= csr2.peerVal ) goto lbl; +** +** The value of parameter op may also be OP_Gt or OP_Le. In these cases the +** operator in the above pseudo-code is replaced with ">" or "<=", respectively. +** +** If the sort-order for the ORDER BY term in the window is DESC, then the +** comparison is reversed. Instead of adding regVal to csr1.peerVal, it is +** subtracted. And the comparison operator is inverted to - ">=" becomes "<=", +** ">" becomes "<", and so on. So, with DESC sort order, if the argument op +** is OP_Ge, the generated code is equivalent to: +** +** if( csr1.peerVal - regVal <= csr2.peerVal ) goto lbl; +** +** A special type of arithmetic is used such that if csr1.peerVal is not +** a numeric type (real or integer), then the result of the addition addition +** or subtraction is a a copy of csr1.peerVal. +*/ +static void windowCodeRangeTest( + WindowCodeArg *p, + int op, /* OP_Ge, OP_Gt, or OP_Le */ + int csr1, /* Cursor number for cursor 1 */ + int regVal, /* Register containing non-negative number */ + int csr2, /* Cursor number for cursor 2 */ + int lbl /* Jump destination if condition is true */ +){ + Parse *pParse = p->pParse; + Vdbe *v = sqlite3GetVdbe(pParse); + ExprList *pOrderBy = p->pMWin->pOrderBy; /* ORDER BY clause for window */ + int reg1 = sqlite3GetTempReg(pParse); /* Reg. for csr1.peerVal+regVal */ + int reg2 = sqlite3GetTempReg(pParse); /* Reg. for csr2.peerVal */ + int regString = ++pParse->nMem; /* Reg. for constant value '' */ + int arith = OP_Add; /* OP_Add or OP_Subtract */ + int addrGe; /* Jump destination */ + + assert( op==OP_Ge || op==OP_Gt || op==OP_Le ); + assert( pOrderBy && pOrderBy->nExpr==1 ); + if( pOrderBy->a[0].sortFlags & KEYINFO_ORDER_DESC ){ + switch( op ){ + case OP_Ge: op = OP_Le; break; + case OP_Gt: op = OP_Lt; break; + default: assert( op==OP_Le ); op = OP_Ge; break; + } + arith = OP_Subtract; + } + + /* Read the peer-value from each cursor into a register */ + windowReadPeerValues(p, csr1, reg1); + windowReadPeerValues(p, csr2, reg2); + + VdbeModuleComment((v, "CodeRangeTest: if( R%d %s R%d %s R%d ) goto lbl", + reg1, (arith==OP_Add ? "+" : "-"), regVal, + ((op==OP_Ge) ? ">=" : (op==OP_Le) ? "<=" : (op==OP_Gt) ? ">" : "<"), reg2 + )); + + /* Register reg1 currently contains csr1.peerVal (the peer-value from csr1). + ** This block adds (or subtracts for DESC) the numeric value in regVal + ** from it. Or, if reg1 is not numeric (it is a NULL, a text value or a blob), + ** then leave reg1 as it is. In pseudo-code, this is implemented as: + ** + ** if( reg1>='' ) goto addrGe; + ** reg1 = reg1 +/- regVal + ** addrGe: + ** + ** Since all strings and blobs are greater-than-or-equal-to an empty string, + ** the add/subtract is skipped for these, as required. If reg1 is a NULL, + ** then the arithmetic is performed, but since adding or subtracting from + ** NULL is always NULL anyway, this case is handled as required too. */ + sqlite3VdbeAddOp4(v, OP_String8, 0, regString, 0, "", P4_STATIC); + addrGe = sqlite3VdbeAddOp3(v, OP_Ge, regString, 0, reg1); + VdbeCoverage(v); + sqlite3VdbeAddOp3(v, arith, regVal, reg1, reg1); + sqlite3VdbeJumpHere(v, addrGe); + + /* If the BIGNULL flag is set for the ORDER BY, then it is required to + ** consider NULL values to be larger than all other values, instead of + ** the usual smaller. The VDBE opcodes OP_Ge and so on do not handle this + ** (and adding that capability causes a performance regression), so + ** instead if the BIGNULL flag is set then cases where either reg1 or + ** reg2 are NULL are handled separately in the following block. The code + ** generated is equivalent to: + ** + ** if( reg1 IS NULL ){ + ** if( op==OP_Ge ) goto lbl; + ** if( op==OP_Gt && reg2 IS NOT NULL ) goto lbl; + ** if( op==OP_Le && reg2 IS NULL ) goto lbl; + ** }else if( reg2 IS NULL ){ + ** if( op==OP_Le ) goto lbl; + ** } + ** + ** Additionally, if either reg1 or reg2 are NULL but the jump to lbl is + ** not taken, control jumps over the comparison operator coded below this + ** block. */ + if( pOrderBy->a[0].sortFlags & KEYINFO_ORDER_BIGNULL ){ + /* This block runs if reg1 contains a NULL. */ + int addr = sqlite3VdbeAddOp1(v, OP_NotNull, reg1); VdbeCoverage(v); + switch( op ){ + case OP_Ge: + sqlite3VdbeAddOp2(v, OP_Goto, 0, lbl); + break; + case OP_Gt: + sqlite3VdbeAddOp2(v, OP_NotNull, reg2, lbl); + VdbeCoverage(v); + break; + case OP_Le: + sqlite3VdbeAddOp2(v, OP_IsNull, reg2, lbl); + VdbeCoverage(v); + break; + default: assert( op==OP_Lt ); /* no-op */ break; + } + sqlite3VdbeAddOp2(v, OP_Goto, 0, sqlite3VdbeCurrentAddr(v)+3); + + /* This block runs if reg1 is not NULL, but reg2 is. */ + sqlite3VdbeJumpHere(v, addr); + sqlite3VdbeAddOp2(v, OP_IsNull, reg2, lbl); VdbeCoverage(v); + if( op==OP_Gt || op==OP_Ge ){ + sqlite3VdbeChangeP2(v, -1, sqlite3VdbeCurrentAddr(v)+1); + } + } + + /* Compare registers reg2 and reg1, taking the jump if required. Note that + ** control skips over this test if the BIGNULL flag is set and either + ** reg1 or reg2 contain a NULL value. */ + sqlite3VdbeAddOp3(v, op, reg2, lbl, reg1); VdbeCoverage(v); + sqlite3VdbeChangeP5(v, SQLITE_NULLEQ); + + assert( op==OP_Ge || op==OP_Gt || op==OP_Lt || op==OP_Le ); + testcase(op==OP_Ge); VdbeCoverageIf(v, op==OP_Ge); + testcase(op==OP_Lt); VdbeCoverageIf(v, op==OP_Lt); + testcase(op==OP_Le); VdbeCoverageIf(v, op==OP_Le); + testcase(op==OP_Gt); VdbeCoverageIf(v, op==OP_Gt); + sqlite3ReleaseTempReg(pParse, reg1); + sqlite3ReleaseTempReg(pParse, reg2); + + VdbeModuleComment((v, "CodeRangeTest: end")); +} + +/* +** Helper function for sqlite3WindowCodeStep(). Each call to this function +** generates VM code for a single RETURN_ROW, AGGSTEP or AGGINVERSE +** operation. Refer to the header comment for sqlite3WindowCodeStep() for +** details. +*/ +static int windowCodeOp( + WindowCodeArg *p, /* Context object */ + int op, /* WINDOW_RETURN_ROW, AGGSTEP or AGGINVERSE */ + int regCountdown, /* Register for OP_IfPos countdown */ + int jumpOnEof /* Jump here if stepped cursor reaches EOF */ +){ + int csr, reg; + Parse *pParse = p->pParse; + Window *pMWin = p->pMWin; + int ret = 0; + Vdbe *v = p->pVdbe; + int addrContinue = 0; + int bPeer = (pMWin->eFrmType!=TK_ROWS); + + int lblDone = sqlite3VdbeMakeLabel(pParse); + int addrNextRange = 0; + + /* Special case - WINDOW_AGGINVERSE is always a no-op if the frame + ** starts with UNBOUNDED PRECEDING. */ + if( op==WINDOW_AGGINVERSE && pMWin->eStart==TK_UNBOUNDED ){ + assert( regCountdown==0 && jumpOnEof==0 ); + return 0; + } + + if( regCountdown>0 ){ + if( pMWin->eFrmType==TK_RANGE ){ + addrNextRange = sqlite3VdbeCurrentAddr(v); + assert( op==WINDOW_AGGINVERSE || op==WINDOW_AGGSTEP ); + if( op==WINDOW_AGGINVERSE ){ + if( pMWin->eStart==TK_FOLLOWING ){ + windowCodeRangeTest( + p, OP_Le, p->current.csr, regCountdown, p->start.csr, lblDone + ); + }else{ + windowCodeRangeTest( + p, OP_Ge, p->start.csr, regCountdown, p->current.csr, lblDone + ); + } + }else{ + windowCodeRangeTest( + p, OP_Gt, p->end.csr, regCountdown, p->current.csr, lblDone + ); + } + }else{ + sqlite3VdbeAddOp3(v, OP_IfPos, regCountdown, lblDone, 1); + VdbeCoverage(v); + } + } + + if( op==WINDOW_RETURN_ROW && pMWin->regStartRowid==0 ){ + windowAggFinal(p, 0); + } + addrContinue = sqlite3VdbeCurrentAddr(v); + + /* If this is a (RANGE BETWEEN a FOLLOWING AND b FOLLOWING) or + ** (RANGE BETWEEN b PRECEDING AND a PRECEDING) frame, ensure the + ** start cursor does not advance past the end cursor within the + ** temporary table. It otherwise might, if (a>b). */ + if( pMWin->eStart==pMWin->eEnd && regCountdown + && pMWin->eFrmType==TK_RANGE && op==WINDOW_AGGINVERSE + ){ + int regRowid1 = sqlite3GetTempReg(pParse); + int regRowid2 = sqlite3GetTempReg(pParse); + sqlite3VdbeAddOp2(v, OP_Rowid, p->start.csr, regRowid1); + sqlite3VdbeAddOp2(v, OP_Rowid, p->end.csr, regRowid2); + sqlite3VdbeAddOp3(v, OP_Ge, regRowid2, lblDone, regRowid1); + VdbeCoverage(v); + sqlite3ReleaseTempReg(pParse, regRowid1); + sqlite3ReleaseTempReg(pParse, regRowid2); + assert( pMWin->eStart==TK_PRECEDING || pMWin->eStart==TK_FOLLOWING ); + } + + switch( op ){ + case WINDOW_RETURN_ROW: + csr = p->current.csr; + reg = p->current.reg; + windowReturnOneRow(p); + break; + + case WINDOW_AGGINVERSE: + csr = p->start.csr; + reg = p->start.reg; + if( pMWin->regStartRowid ){ + assert( pMWin->regEndRowid ); + sqlite3VdbeAddOp2(v, OP_AddImm, pMWin->regStartRowid, 1); + }else{ + windowAggStep(p, pMWin, csr, 1, p->regArg); + } + break; + + default: + assert( op==WINDOW_AGGSTEP ); + csr = p->end.csr; + reg = p->end.reg; + if( pMWin->regStartRowid ){ + assert( pMWin->regEndRowid ); + sqlite3VdbeAddOp2(v, OP_AddImm, pMWin->regEndRowid, 1); + }else{ + windowAggStep(p, pMWin, csr, 0, p->regArg); + } + break; + } + + if( op==p->eDelete ){ + sqlite3VdbeAddOp1(v, OP_Delete, csr); + sqlite3VdbeChangeP5(v, OPFLAG_SAVEPOSITION); + } + + if( jumpOnEof ){ + sqlite3VdbeAddOp2(v, OP_Next, csr, sqlite3VdbeCurrentAddr(v)+2); + VdbeCoverage(v); + ret = sqlite3VdbeAddOp0(v, OP_Goto); + }else{ + sqlite3VdbeAddOp2(v, OP_Next, csr, sqlite3VdbeCurrentAddr(v)+1+bPeer); + VdbeCoverage(v); + if( bPeer ){ + sqlite3VdbeAddOp2(v, OP_Goto, 0, lblDone); + } + } + + if( bPeer ){ + int nReg = (pMWin->pOrderBy ? pMWin->pOrderBy->nExpr : 0); + int regTmp = (nReg ? sqlite3GetTempRange(pParse, nReg) : 0); + windowReadPeerValues(p, csr, regTmp); + windowIfNewPeer(pParse, pMWin->pOrderBy, regTmp, reg, addrContinue); + sqlite3ReleaseTempRange(pParse, regTmp, nReg); + } + + if( addrNextRange ){ + sqlite3VdbeAddOp2(v, OP_Goto, 0, addrNextRange); + } + sqlite3VdbeResolveLabel(v, lblDone); + return ret; +} + + +/* +** Allocate and return a duplicate of the Window object indicated by the +** third argument. Set the Window.pOwner field of the new object to +** pOwner. +*/ +SQLITE_PRIVATE Window *sqlite3WindowDup(sqlite3 *db, Expr *pOwner, Window *p){ + Window *pNew = 0; + if( ALWAYS(p) ){ + pNew = sqlite3DbMallocZero(db, sizeof(Window)); + if( pNew ){ + pNew->zName = sqlite3DbStrDup(db, p->zName); + pNew->zBase = sqlite3DbStrDup(db, p->zBase); + pNew->pFilter = sqlite3ExprDup(db, p->pFilter, 0); + pNew->pFunc = p->pFunc; + pNew->pPartition = sqlite3ExprListDup(db, p->pPartition, 0); + pNew->pOrderBy = sqlite3ExprListDup(db, p->pOrderBy, 0); + pNew->eFrmType = p->eFrmType; + pNew->eEnd = p->eEnd; + pNew->eStart = p->eStart; + pNew->eExclude = p->eExclude; + pNew->regResult = p->regResult; + pNew->pStart = sqlite3ExprDup(db, p->pStart, 0); + pNew->pEnd = sqlite3ExprDup(db, p->pEnd, 0); + pNew->pOwner = pOwner; + pNew->bImplicitFrame = p->bImplicitFrame; + } + } + return pNew; +} + +/* +** Return a copy of the linked list of Window objects passed as the +** second argument. +*/ +SQLITE_PRIVATE Window *sqlite3WindowListDup(sqlite3 *db, Window *p){ + Window *pWin; + Window *pRet = 0; + Window **pp = &pRet; + + for(pWin=p; pWin; pWin=pWin->pNextWin){ + *pp = sqlite3WindowDup(db, 0, pWin); + if( *pp==0 ) break; + pp = &((*pp)->pNextWin); + } + + return pRet; +} + +/* +** Return true if it can be determined at compile time that expression +** pExpr evaluates to a value that, when cast to an integer, is greater +** than zero. False otherwise. +** +** If an OOM error occurs, this function sets the Parse.db.mallocFailed +** flag and returns zero. +*/ +static int windowExprGtZero(Parse *pParse, Expr *pExpr){ + int ret = 0; + sqlite3 *db = pParse->db; + sqlite3_value *pVal = 0; + sqlite3ValueFromExpr(db, pExpr, db->enc, SQLITE_AFF_NUMERIC, &pVal); + if( pVal && sqlite3_value_int(pVal)>0 ){ + ret = 1; + } + sqlite3ValueFree(pVal); + return ret; +} + +/* +** sqlite3WhereBegin() has already been called for the SELECT statement +** passed as the second argument when this function is invoked. It generates +** code to populate the Window.regResult register for each window function +** and invoke the sub-routine at instruction addrGosub once for each row. +** sqlite3WhereEnd() is always called before returning. +** +** This function handles several different types of window frames, which +** require slightly different processing. The following pseudo code is +** used to implement window frames of the form: +** +** ROWS BETWEEN PRECEDING AND FOLLOWING +** +** Other window frame types use variants of the following: +** +** ... loop started by sqlite3WhereBegin() ... +** if( new partition ){ +** Gosub flush +** } +** Insert new row into eph table. +** +** if( first row of partition ){ +** // Rewind three cursors, all open on the eph table. +** Rewind(csrEnd); +** Rewind(csrStart); +** Rewind(csrCurrent); +** +** regEnd = // FOLLOWING expression +** regStart = // PRECEDING expression +** }else{ +** // First time this branch is taken, the eph table contains two +** // rows. The first row in the partition, which all three cursors +** // currently point to, and the following row. +** AGGSTEP +** if( (regEnd--)<=0 ){ +** RETURN_ROW +** if( (regStart--)<=0 ){ +** AGGINVERSE +** } +** } +** } +** } +** flush: +** AGGSTEP +** while( 1 ){ +** RETURN ROW +** if( csrCurrent is EOF ) break; +** if( (regStart--)<=0 ){ +** AggInverse(csrStart) +** Next(csrStart) +** } +** } +** +** The pseudo-code above uses the following shorthand: +** +** AGGSTEP: invoke the aggregate xStep() function for each window function +** with arguments read from the current row of cursor csrEnd, then +** step cursor csrEnd forward one row (i.e. sqlite3BtreeNext()). +** +** RETURN_ROW: return a row to the caller based on the contents of the +** current row of csrCurrent and the current state of all +** aggregates. Then step cursor csrCurrent forward one row. +** +** AGGINVERSE: invoke the aggregate xInverse() function for each window +** functions with arguments read from the current row of cursor +** csrStart. Then step csrStart forward one row. +** +** There are two other ROWS window frames that are handled significantly +** differently from the above - "BETWEEN PRECEDING AND PRECEDING" +** and "BETWEEN FOLLOWING AND FOLLOWING". These are special +** cases because they change the order in which the three cursors (csrStart, +** csrCurrent and csrEnd) iterate through the ephemeral table. Cases that +** use UNBOUNDED or CURRENT ROW are much simpler variations on one of these +** three. +** +** ROWS BETWEEN PRECEDING AND PRECEDING +** +** ... loop started by sqlite3WhereBegin() ... +** if( new partition ){ +** Gosub flush +** } +** Insert new row into eph table. +** if( first row of partition ){ +** Rewind(csrEnd) ; Rewind(csrStart) ; Rewind(csrCurrent) +** regEnd = +** regStart = +** }else{ +** if( (regEnd--)<=0 ){ +** AGGSTEP +** } +** RETURN_ROW +** if( (regStart--)<=0 ){ +** AGGINVERSE +** } +** } +** } +** flush: +** if( (regEnd--)<=0 ){ +** AGGSTEP +** } +** RETURN_ROW +** +** +** ROWS BETWEEN FOLLOWING AND FOLLOWING +** +** ... loop started by sqlite3WhereBegin() ... +** if( new partition ){ +** Gosub flush +** } +** Insert new row into eph table. +** if( first row of partition ){ +** Rewind(csrEnd) ; Rewind(csrStart) ; Rewind(csrCurrent) +** regEnd = +** regStart = regEnd - +** }else{ +** AGGSTEP +** if( (regEnd--)<=0 ){ +** RETURN_ROW +** } +** if( (regStart--)<=0 ){ +** AGGINVERSE +** } +** } +** } +** flush: +** AGGSTEP +** while( 1 ){ +** if( (regEnd--)<=0 ){ +** RETURN_ROW +** if( eof ) break; +** } +** if( (regStart--)<=0 ){ +** AGGINVERSE +** if( eof ) break +** } +** } +** while( !eof csrCurrent ){ +** RETURN_ROW +** } +** +** For the most part, the patterns above are adapted to support UNBOUNDED by +** assuming that it is equivalent to "infinity PRECEDING/FOLLOWING" and +** CURRENT ROW by assuming that it is equivilent to "0 PRECEDING/FOLLOWING". +** This is optimized of course - branches that will never be taken and +** conditions that are always true are omitted from the VM code. The only +** exceptional case is: +** +** ROWS BETWEEN FOLLOWING AND UNBOUNDED FOLLOWING +** +** ... loop started by sqlite3WhereBegin() ... +** if( new partition ){ +** Gosub flush +** } +** Insert new row into eph table. +** if( first row of partition ){ +** Rewind(csrEnd) ; Rewind(csrStart) ; Rewind(csrCurrent) +** regStart = +** }else{ +** AGGSTEP +** } +** } +** flush: +** AGGSTEP +** while( 1 ){ +** if( (regStart--)<=0 ){ +** AGGINVERSE +** if( eof ) break +** } +** RETURN_ROW +** } +** while( !eof csrCurrent ){ +** RETURN_ROW +** } +** +** Also requiring special handling are the cases: +** +** ROWS BETWEEN PRECEDING AND PRECEDING +** ROWS BETWEEN FOLLOWING AND FOLLOWING +** +** when (expr1 < expr2). This is detected at runtime, not by this function. +** To handle this case, the pseudo-code programs depicted above are modified +** slightly to be: +** +** ... loop started by sqlite3WhereBegin() ... +** if( new partition ){ +** Gosub flush +** } +** Insert new row into eph table. +** if( first row of partition ){ +** Rewind(csrEnd) ; Rewind(csrStart) ; Rewind(csrCurrent) +** regEnd = +** regStart = +** if( regEnd < regStart ){ +** RETURN_ROW +** delete eph table contents +** continue +** } +** ... +** +** The new "continue" statement in the above jumps to the next iteration +** of the outer loop - the one started by sqlite3WhereBegin(). +** +** The various GROUPS cases are implemented using the same patterns as +** ROWS. The VM code is modified slightly so that: +** +** 1. The else branch in the main loop is only taken if the row just +** added to the ephemeral table is the start of a new group. In +** other words, it becomes: +** +** ... loop started by sqlite3WhereBegin() ... +** if( new partition ){ +** Gosub flush +** } +** Insert new row into eph table. +** if( first row of partition ){ +** Rewind(csrEnd) ; Rewind(csrStart) ; Rewind(csrCurrent) +** regEnd = +** regStart = +** }else if( new group ){ +** ... +** } +** } +** +** 2. Instead of processing a single row, each RETURN_ROW, AGGSTEP or +** AGGINVERSE step processes the current row of the relevant cursor and +** all subsequent rows belonging to the same group. +** +** RANGE window frames are a little different again. As for GROUPS, the +** main loop runs once per group only. And RETURN_ROW, AGGSTEP and AGGINVERSE +** deal in groups instead of rows. As for ROWS and GROUPS, there are three +** basic cases: +** +** RANGE BETWEEN PRECEDING AND FOLLOWING +** +** ... loop started by sqlite3WhereBegin() ... +** if( new partition ){ +** Gosub flush +** } +** Insert new row into eph table. +** if( first row of partition ){ +** Rewind(csrEnd) ; Rewind(csrStart) ; Rewind(csrCurrent) +** regEnd = +** regStart = +** }else{ +** AGGSTEP +** while( (csrCurrent.key + regEnd) < csrEnd.key ){ +** RETURN_ROW +** while( csrStart.key + regStart) < csrCurrent.key ){ +** AGGINVERSE +** } +** } +** } +** } +** flush: +** AGGSTEP +** while( 1 ){ +** RETURN ROW +** if( csrCurrent is EOF ) break; +** while( csrStart.key + regStart) < csrCurrent.key ){ +** AGGINVERSE +** } +** } +** } +** +** In the above notation, "csr.key" means the current value of the ORDER BY +** expression (there is only ever 1 for a RANGE that uses an FOLLOWING +** or PRECEDING AND PRECEDING +** +** ... loop started by sqlite3WhereBegin() ... +** if( new partition ){ +** Gosub flush +** } +** Insert new row into eph table. +** if( first row of partition ){ +** Rewind(csrEnd) ; Rewind(csrStart) ; Rewind(csrCurrent) +** regEnd = +** regStart = +** }else{ +** while( (csrEnd.key + regEnd) <= csrCurrent.key ){ +** AGGSTEP +** } +** while( (csrStart.key + regStart) < csrCurrent.key ){ +** AGGINVERSE +** } +** RETURN_ROW +** } +** } +** flush: +** while( (csrEnd.key + regEnd) <= csrCurrent.key ){ +** AGGSTEP +** } +** while( (csrStart.key + regStart) < csrCurrent.key ){ +** AGGINVERSE +** } +** RETURN_ROW +** +** RANGE BETWEEN FOLLOWING AND FOLLOWING +** +** ... loop started by sqlite3WhereBegin() ... +** if( new partition ){ +** Gosub flush +** } +** Insert new row into eph table. +** if( first row of partition ){ +** Rewind(csrEnd) ; Rewind(csrStart) ; Rewind(csrCurrent) +** regEnd = +** regStart = +** }else{ +** AGGSTEP +** while( (csrCurrent.key + regEnd) < csrEnd.key ){ +** while( (csrCurrent.key + regStart) > csrStart.key ){ +** AGGINVERSE +** } +** RETURN_ROW +** } +** } +** } +** flush: +** AGGSTEP +** while( 1 ){ +** while( (csrCurrent.key + regStart) > csrStart.key ){ +** AGGINVERSE +** if( eof ) break "while( 1 )" loop. +** } +** RETURN_ROW +** } +** while( !eof csrCurrent ){ +** RETURN_ROW +** } +** +** The text above leaves out many details. Refer to the code and comments +** below for a more complete picture. +*/ +SQLITE_PRIVATE void sqlite3WindowCodeStep( + Parse *pParse, /* Parse context */ + Select *p, /* Rewritten SELECT statement */ + WhereInfo *pWInfo, /* Context returned by sqlite3WhereBegin() */ + int regGosub, /* Register for OP_Gosub */ + int addrGosub /* OP_Gosub here to return each row */ +){ + Window *pMWin = p->pWin; + ExprList *pOrderBy = pMWin->pOrderBy; + Vdbe *v = sqlite3GetVdbe(pParse); + int csrWrite; /* Cursor used to write to eph. table */ + int csrInput = p->pSrc->a[0].iCursor; /* Cursor of sub-select */ + int nInput = p->pSrc->a[0].pTab->nCol; /* Number of cols returned by sub */ + int iInput; /* To iterate through sub cols */ + int addrNe; /* Address of OP_Ne */ + int addrGosubFlush = 0; /* Address of OP_Gosub to flush: */ + int addrInteger = 0; /* Address of OP_Integer */ + int addrEmpty; /* Address of OP_Rewind in flush: */ + int regNew; /* Array of registers holding new input row */ + int regRecord; /* regNew array in record form */ + int regRowid; /* Rowid for regRecord in eph table */ + int regNewPeer = 0; /* Peer values for new row (part of regNew) */ + int regPeer = 0; /* Peer values for current row */ + int regFlushPart = 0; /* Register for "Gosub flush_partition" */ + WindowCodeArg s; /* Context object for sub-routines */ + int lblWhereEnd; /* Label just before sqlite3WhereEnd() code */ + int regStart = 0; /* Value of PRECEDING */ + int regEnd = 0; /* Value of FOLLOWING */ + + assert( pMWin->eStart==TK_PRECEDING || pMWin->eStart==TK_CURRENT + || pMWin->eStart==TK_FOLLOWING || pMWin->eStart==TK_UNBOUNDED + ); + assert( pMWin->eEnd==TK_FOLLOWING || pMWin->eEnd==TK_CURRENT + || pMWin->eEnd==TK_UNBOUNDED || pMWin->eEnd==TK_PRECEDING + ); + assert( pMWin->eExclude==0 || pMWin->eExclude==TK_CURRENT + || pMWin->eExclude==TK_GROUP || pMWin->eExclude==TK_TIES + || pMWin->eExclude==TK_NO + ); + + lblWhereEnd = sqlite3VdbeMakeLabel(pParse); + + /* Fill in the context object */ + memset(&s, 0, sizeof(WindowCodeArg)); + s.pParse = pParse; + s.pMWin = pMWin; + s.pVdbe = v; + s.regGosub = regGosub; + s.addrGosub = addrGosub; + s.current.csr = pMWin->iEphCsr; + csrWrite = s.current.csr+1; + s.start.csr = s.current.csr+2; + s.end.csr = s.current.csr+3; + + /* Figure out when rows may be deleted from the ephemeral table. There + ** are four options - they may never be deleted (eDelete==0), they may + ** be deleted as soon as they are no longer part of the window frame + ** (eDelete==WINDOW_AGGINVERSE), they may be deleted as after the row + ** has been returned to the caller (WINDOW_RETURN_ROW), or they may + ** be deleted after they enter the frame (WINDOW_AGGSTEP). */ + switch( pMWin->eStart ){ + case TK_FOLLOWING: + if( pMWin->eFrmType!=TK_RANGE + && windowExprGtZero(pParse, pMWin->pStart) + ){ + s.eDelete = WINDOW_RETURN_ROW; + } + break; + case TK_UNBOUNDED: + if( windowCacheFrame(pMWin)==0 ){ + if( pMWin->eEnd==TK_PRECEDING ){ + if( pMWin->eFrmType!=TK_RANGE + && windowExprGtZero(pParse, pMWin->pEnd) + ){ + s.eDelete = WINDOW_AGGSTEP; + } + }else{ + s.eDelete = WINDOW_RETURN_ROW; + } + } + break; + default: + s.eDelete = WINDOW_AGGINVERSE; + break; + } + + /* Allocate registers for the array of values from the sub-query, the + ** samve values in record form, and the rowid used to insert said record + ** into the ephemeral table. */ + regNew = pParse->nMem+1; + pParse->nMem += nInput; + regRecord = ++pParse->nMem; + regRowid = ++pParse->nMem; + + /* If the window frame contains an " PRECEDING" or " FOLLOWING" + ** clause, allocate registers to store the results of evaluating each + ** . */ + if( pMWin->eStart==TK_PRECEDING || pMWin->eStart==TK_FOLLOWING ){ + regStart = ++pParse->nMem; + } + if( pMWin->eEnd==TK_PRECEDING || pMWin->eEnd==TK_FOLLOWING ){ + regEnd = ++pParse->nMem; + } + + /* If this is not a "ROWS BETWEEN ..." frame, then allocate arrays of + ** registers to store copies of the ORDER BY expressions (peer values) + ** for the main loop, and for each cursor (start, current and end). */ + if( pMWin->eFrmType!=TK_ROWS ){ + int nPeer = (pOrderBy ? pOrderBy->nExpr : 0); + regNewPeer = regNew + pMWin->nBufferCol; + if( pMWin->pPartition ) regNewPeer += pMWin->pPartition->nExpr; + regPeer = pParse->nMem+1; pParse->nMem += nPeer; + s.start.reg = pParse->nMem+1; pParse->nMem += nPeer; + s.current.reg = pParse->nMem+1; pParse->nMem += nPeer; + s.end.reg = pParse->nMem+1; pParse->nMem += nPeer; + } + + /* Load the column values for the row returned by the sub-select + ** into an array of registers starting at regNew. Assemble them into + ** a record in register regRecord. */ + for(iInput=0; iInputpPartition ){ + int addr; + ExprList *pPart = pMWin->pPartition; + int nPart = pPart->nExpr; + int regNewPart = regNew + pMWin->nBufferCol; + KeyInfo *pKeyInfo = sqlite3KeyInfoFromExprList(pParse, pPart, 0, 0); + + regFlushPart = ++pParse->nMem; + addr = sqlite3VdbeAddOp3(v, OP_Compare, regNewPart, pMWin->regPart, nPart); + sqlite3VdbeAppendP4(v, (void*)pKeyInfo, P4_KEYINFO); + sqlite3VdbeAddOp3(v, OP_Jump, addr+2, addr+4, addr+2); + VdbeCoverageEqNe(v); + addrGosubFlush = sqlite3VdbeAddOp1(v, OP_Gosub, regFlushPart); + VdbeComment((v, "call flush_partition")); + sqlite3VdbeAddOp3(v, OP_Copy, regNewPart, pMWin->regPart, nPart-1); + } + + /* Insert the new row into the ephemeral table */ + sqlite3VdbeAddOp2(v, OP_NewRowid, csrWrite, regRowid); + sqlite3VdbeAddOp3(v, OP_Insert, csrWrite, regRecord, regRowid); + addrNe = sqlite3VdbeAddOp3(v, OP_Ne, pMWin->regOne, 0, regRowid); + VdbeCoverageNeverNull(v); + + /* This block is run for the first row of each partition */ + s.regArg = windowInitAccum(pParse, pMWin); + + if( regStart ){ + sqlite3ExprCode(pParse, pMWin->pStart, regStart); + windowCheckValue(pParse, regStart, 0 + (pMWin->eFrmType==TK_RANGE?3:0)); + } + if( regEnd ){ + sqlite3ExprCode(pParse, pMWin->pEnd, regEnd); + windowCheckValue(pParse, regEnd, 1 + (pMWin->eFrmType==TK_RANGE?3:0)); + } + + if( pMWin->eFrmType!=TK_RANGE && pMWin->eStart==pMWin->eEnd && regStart ){ + int op = ((pMWin->eStart==TK_FOLLOWING) ? OP_Ge : OP_Le); + int addrGe = sqlite3VdbeAddOp3(v, op, regStart, 0, regEnd); + VdbeCoverageNeverNullIf(v, op==OP_Ge); /* NeverNull because bound */ + VdbeCoverageNeverNullIf(v, op==OP_Le); /* values previously checked */ + windowAggFinal(&s, 0); + sqlite3VdbeAddOp2(v, OP_Rewind, s.current.csr, 1); + VdbeCoverageNeverTaken(v); + windowReturnOneRow(&s); + sqlite3VdbeAddOp1(v, OP_ResetSorter, s.current.csr); + sqlite3VdbeAddOp2(v, OP_Goto, 0, lblWhereEnd); + sqlite3VdbeJumpHere(v, addrGe); + } + if( pMWin->eStart==TK_FOLLOWING && pMWin->eFrmType!=TK_RANGE && regEnd ){ + assert( pMWin->eEnd==TK_FOLLOWING ); + sqlite3VdbeAddOp3(v, OP_Subtract, regStart, regEnd, regStart); + } + + if( pMWin->eStart!=TK_UNBOUNDED ){ + sqlite3VdbeAddOp2(v, OP_Rewind, s.start.csr, 1); + VdbeCoverageNeverTaken(v); + } + sqlite3VdbeAddOp2(v, OP_Rewind, s.current.csr, 1); + VdbeCoverageNeverTaken(v); + sqlite3VdbeAddOp2(v, OP_Rewind, s.end.csr, 1); + VdbeCoverageNeverTaken(v); + if( regPeer && pOrderBy ){ + sqlite3VdbeAddOp3(v, OP_Copy, regNewPeer, regPeer, pOrderBy->nExpr-1); + sqlite3VdbeAddOp3(v, OP_Copy, regPeer, s.start.reg, pOrderBy->nExpr-1); + sqlite3VdbeAddOp3(v, OP_Copy, regPeer, s.current.reg, pOrderBy->nExpr-1); + sqlite3VdbeAddOp3(v, OP_Copy, regPeer, s.end.reg, pOrderBy->nExpr-1); + } + + sqlite3VdbeAddOp2(v, OP_Goto, 0, lblWhereEnd); + + sqlite3VdbeJumpHere(v, addrNe); + + /* Beginning of the block executed for the second and subsequent rows. */ + if( regPeer ){ + windowIfNewPeer(pParse, pOrderBy, regNewPeer, regPeer, lblWhereEnd); + } + if( pMWin->eStart==TK_FOLLOWING ){ + windowCodeOp(&s, WINDOW_AGGSTEP, 0, 0); + if( pMWin->eEnd!=TK_UNBOUNDED ){ + if( pMWin->eFrmType==TK_RANGE ){ + int lbl = sqlite3VdbeMakeLabel(pParse); + int addrNext = sqlite3VdbeCurrentAddr(v); + windowCodeRangeTest(&s, OP_Ge, s.current.csr, regEnd, s.end.csr, lbl); + windowCodeOp(&s, WINDOW_AGGINVERSE, regStart, 0); + windowCodeOp(&s, WINDOW_RETURN_ROW, 0, 0); + sqlite3VdbeAddOp2(v, OP_Goto, 0, addrNext); + sqlite3VdbeResolveLabel(v, lbl); + }else{ + windowCodeOp(&s, WINDOW_RETURN_ROW, regEnd, 0); + windowCodeOp(&s, WINDOW_AGGINVERSE, regStart, 0); + } + } + }else + if( pMWin->eEnd==TK_PRECEDING ){ + int bRPS = (pMWin->eStart==TK_PRECEDING && pMWin->eFrmType==TK_RANGE); + windowCodeOp(&s, WINDOW_AGGSTEP, regEnd, 0); + if( bRPS ) windowCodeOp(&s, WINDOW_AGGINVERSE, regStart, 0); + windowCodeOp(&s, WINDOW_RETURN_ROW, 0, 0); + if( !bRPS ) windowCodeOp(&s, WINDOW_AGGINVERSE, regStart, 0); + }else{ + int addr = 0; + windowCodeOp(&s, WINDOW_AGGSTEP, 0, 0); + if( pMWin->eEnd!=TK_UNBOUNDED ){ + if( pMWin->eFrmType==TK_RANGE ){ + int lbl = 0; + addr = sqlite3VdbeCurrentAddr(v); + if( regEnd ){ + lbl = sqlite3VdbeMakeLabel(pParse); + windowCodeRangeTest(&s, OP_Ge, s.current.csr, regEnd, s.end.csr, lbl); + } + windowCodeOp(&s, WINDOW_RETURN_ROW, 0, 0); + windowCodeOp(&s, WINDOW_AGGINVERSE, regStart, 0); + if( regEnd ){ + sqlite3VdbeAddOp2(v, OP_Goto, 0, addr); + sqlite3VdbeResolveLabel(v, lbl); + } + }else{ + if( regEnd ){ + addr = sqlite3VdbeAddOp3(v, OP_IfPos, regEnd, 0, 1); + VdbeCoverage(v); + } + windowCodeOp(&s, WINDOW_RETURN_ROW, 0, 0); + windowCodeOp(&s, WINDOW_AGGINVERSE, regStart, 0); + if( regEnd ) sqlite3VdbeJumpHere(v, addr); + } + } + } + + /* End of the main input loop */ + sqlite3VdbeResolveLabel(v, lblWhereEnd); + sqlite3WhereEnd(pWInfo); + + /* Fall through */ + if( pMWin->pPartition ){ + addrInteger = sqlite3VdbeAddOp2(v, OP_Integer, 0, regFlushPart); + sqlite3VdbeJumpHere(v, addrGosubFlush); + } + + addrEmpty = sqlite3VdbeAddOp1(v, OP_Rewind, csrWrite); + VdbeCoverage(v); + if( pMWin->eEnd==TK_PRECEDING ){ + int bRPS = (pMWin->eStart==TK_PRECEDING && pMWin->eFrmType==TK_RANGE); + windowCodeOp(&s, WINDOW_AGGSTEP, regEnd, 0); + if( bRPS ) windowCodeOp(&s, WINDOW_AGGINVERSE, regStart, 0); + windowCodeOp(&s, WINDOW_RETURN_ROW, 0, 0); + }else if( pMWin->eStart==TK_FOLLOWING ){ + int addrStart; + int addrBreak1; + int addrBreak2; + int addrBreak3; + windowCodeOp(&s, WINDOW_AGGSTEP, 0, 0); + if( pMWin->eFrmType==TK_RANGE ){ + addrStart = sqlite3VdbeCurrentAddr(v); + addrBreak2 = windowCodeOp(&s, WINDOW_AGGINVERSE, regStart, 1); + addrBreak1 = windowCodeOp(&s, WINDOW_RETURN_ROW, 0, 1); + }else + if( pMWin->eEnd==TK_UNBOUNDED ){ + addrStart = sqlite3VdbeCurrentAddr(v); + addrBreak1 = windowCodeOp(&s, WINDOW_RETURN_ROW, regStart, 1); + addrBreak2 = windowCodeOp(&s, WINDOW_AGGINVERSE, 0, 1); + }else{ + assert( pMWin->eEnd==TK_FOLLOWING ); + addrStart = sqlite3VdbeCurrentAddr(v); + addrBreak1 = windowCodeOp(&s, WINDOW_RETURN_ROW, regEnd, 1); + addrBreak2 = windowCodeOp(&s, WINDOW_AGGINVERSE, regStart, 1); + } + sqlite3VdbeAddOp2(v, OP_Goto, 0, addrStart); + sqlite3VdbeJumpHere(v, addrBreak2); + addrStart = sqlite3VdbeCurrentAddr(v); + addrBreak3 = windowCodeOp(&s, WINDOW_RETURN_ROW, 0, 1); + sqlite3VdbeAddOp2(v, OP_Goto, 0, addrStart); + sqlite3VdbeJumpHere(v, addrBreak1); + sqlite3VdbeJumpHere(v, addrBreak3); + }else{ + int addrBreak; + int addrStart; + windowCodeOp(&s, WINDOW_AGGSTEP, 0, 0); + addrStart = sqlite3VdbeCurrentAddr(v); + addrBreak = windowCodeOp(&s, WINDOW_RETURN_ROW, 0, 1); + windowCodeOp(&s, WINDOW_AGGINVERSE, regStart, 0); + sqlite3VdbeAddOp2(v, OP_Goto, 0, addrStart); + sqlite3VdbeJumpHere(v, addrBreak); + } + sqlite3VdbeJumpHere(v, addrEmpty); + + sqlite3VdbeAddOp1(v, OP_ResetSorter, s.current.csr); + if( pMWin->pPartition ){ + if( pMWin->regStartRowid ){ + sqlite3VdbeAddOp2(v, OP_Integer, 1, pMWin->regStartRowid); + sqlite3VdbeAddOp2(v, OP_Integer, 0, pMWin->regEndRowid); + } + sqlite3VdbeChangeP1(v, addrInteger, sqlite3VdbeCurrentAddr(v)); + sqlite3VdbeAddOp1(v, OP_Return, regFlushPart); + } +} + +#endif /* SQLITE_OMIT_WINDOWFUNC */ + +/************** End of window.c **********************************************/ +/************** Begin file parse.c *******************************************/ +/* +** 2000-05-29 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** Driver template for the LEMON parser generator. +** +** The "lemon" program processes an LALR(1) input grammar file, then uses +** this template to construct a parser. The "lemon" program inserts text +** at each "%%" line. Also, any "P-a-r-s-e" identifer prefix (without the +** interstitial "-" characters) contained in this template is changed into +** the value of the %name directive from the grammar. Otherwise, the content +** of this template is copied straight through into the generate parser +** source file. +** +** The following is the concatenation of all %include directives from the +** input grammar file: +*/ +/* #include */ +/* #include */ +/************ Begin %include sections from the grammar ************************/ + +/* #include "sqliteInt.h" */ + +/* +** Disable all error recovery processing in the parser push-down +** automaton. +*/ +#define YYNOERRORRECOVERY 1 + +/* +** Make yytestcase() the same as testcase() +*/ +#define yytestcase(X) testcase(X) + +/* +** Indicate that sqlite3ParserFree() will never be called with a null +** pointer. +*/ +#define YYPARSEFREENEVERNULL 1 + +/* +** In the amalgamation, the parse.c file generated by lemon and the +** tokenize.c file are concatenated. In that case, sqlite3RunParser() +** has access to the the size of the yyParser object and so the parser +** engine can be allocated from stack. In that case, only the +** sqlite3ParserInit() and sqlite3ParserFinalize() routines are invoked +** and the sqlite3ParserAlloc() and sqlite3ParserFree() routines can be +** omitted. +*/ +#ifdef SQLITE_AMALGAMATION +# define sqlite3Parser_ENGINEALWAYSONSTACK 1 +#endif + +/* +** Alternative datatype for the argument to the malloc() routine passed +** into sqlite3ParserAlloc(). The default is size_t. +*/ +#define YYMALLOCARGTYPE u64 + +/* +** An instance of the following structure describes the event of a +** TRIGGER. "a" is the event type, one of TK_UPDATE, TK_INSERT, +** TK_DELETE, or TK_INSTEAD. If the event is of the form +** +** UPDATE ON (a,b,c) +** +** Then the "b" IdList records the list "a,b,c". +*/ +struct TrigEvent { int a; IdList * b; }; + +struct FrameBound { int eType; Expr *pExpr; }; + +/* +** Disable lookaside memory allocation for objects that might be +** shared across database connections. +*/ +static void disableLookaside(Parse *pParse){ + pParse->disableLookaside++; + pParse->db->lookaside.bDisable++; +} + + + /* + ** For a compound SELECT statement, make sure p->pPrior->pNext==p for + ** all elements in the list. And make sure list length does not exceed + ** SQLITE_LIMIT_COMPOUND_SELECT. + */ + static void parserDoubleLinkSelect(Parse *pParse, Select *p){ + assert( p!=0 ); + if( p->pPrior ){ + Select *pNext = 0, *pLoop; + int mxSelect, cnt = 0; + for(pLoop=p; pLoop; pNext=pLoop, pLoop=pLoop->pPrior, cnt++){ + pLoop->pNext = pNext; + pLoop->selFlags |= SF_Compound; + } + if( (p->selFlags & SF_MultiValue)==0 && + (mxSelect = pParse->db->aLimit[SQLITE_LIMIT_COMPOUND_SELECT])>0 && + cnt>mxSelect + ){ + sqlite3ErrorMsg(pParse, "too many terms in compound SELECT"); + } + } + } + + + /* Construct a new Expr object from a single identifier. Use the + ** new Expr to populate pOut. Set the span of pOut to be the identifier + ** that created the expression. + */ + static Expr *tokenExpr(Parse *pParse, int op, Token t){ + Expr *p = sqlite3DbMallocRawNN(pParse->db, sizeof(Expr)+t.n+1); + if( p ){ + /* memset(p, 0, sizeof(Expr)); */ + p->op = (u8)op; + p->affExpr = 0; + p->flags = EP_Leaf; + p->iAgg = -1; + p->pLeft = p->pRight = 0; + p->x.pList = 0; + p->pAggInfo = 0; + p->y.pTab = 0; + p->op2 = 0; + p->iTable = 0; + p->iColumn = 0; + p->u.zToken = (char*)&p[1]; + memcpy(p->u.zToken, t.z, t.n); + p->u.zToken[t.n] = 0; + if( sqlite3Isquote(p->u.zToken[0]) ){ + sqlite3DequoteExpr(p); + } +#if SQLITE_MAX_EXPR_DEPTH>0 + p->nHeight = 1; +#endif + if( IN_RENAME_OBJECT ){ + return (Expr*)sqlite3RenameTokenMap(pParse, (void*)p, &t); + } + } + return p; + } + + + /* A routine to convert a binary TK_IS or TK_ISNOT expression into a + ** unary TK_ISNULL or TK_NOTNULL expression. */ + static void binaryToUnaryIfNull(Parse *pParse, Expr *pY, Expr *pA, int op){ + sqlite3 *db = pParse->db; + if( pA && pY && pY->op==TK_NULL && !IN_RENAME_OBJECT ){ + pA->op = (u8)op; + sqlite3ExprDelete(db, pA->pRight); + pA->pRight = 0; + } + } + + /* Add a single new term to an ExprList that is used to store a + ** list of identifiers. Report an error if the ID list contains + ** a COLLATE clause or an ASC or DESC keyword, except ignore the + ** error while parsing a legacy schema. + */ + static ExprList *parserAddExprIdListTerm( + Parse *pParse, + ExprList *pPrior, + Token *pIdToken, + int hasCollate, + int sortOrder + ){ + ExprList *p = sqlite3ExprListAppend(pParse, pPrior, 0); + if( (hasCollate || sortOrder!=SQLITE_SO_UNDEFINED) + && pParse->db->init.busy==0 + ){ + sqlite3ErrorMsg(pParse, "syntax error after column name \"%.*s\"", + pIdToken->n, pIdToken->z); + } + sqlite3ExprListSetName(pParse, p, pIdToken, 1); + return p; + } + +#if TK_SPAN>255 +# error too many tokens in the grammar +#endif +/**************** End of %include directives **********************************/ +/* These constants specify the various numeric values for terminal symbols +** in a format understandable to "makeheaders". This section is blank unless +** "lemon" is run with the "-m" command-line option. +***************** Begin makeheaders token definitions *************************/ +/**************** End makeheaders token definitions ***************************/ + +/* The next sections is a series of control #defines. +** various aspects of the generated parser. +** YYCODETYPE is the data type used to store the integer codes +** that represent terminal and non-terminal symbols. +** "unsigned char" is used if there are fewer than +** 256 symbols. Larger types otherwise. +** YYNOCODE is a number of type YYCODETYPE that is not used for +** any terminal or nonterminal symbol. +** YYFALLBACK If defined, this indicates that one or more tokens +** (also known as: "terminal symbols") have fall-back +** values which should be used if the original symbol +** would not parse. This permits keywords to sometimes +** be used as identifiers, for example. +** YYACTIONTYPE is the data type used for "action codes" - numbers +** that indicate what to do in response to the next +** token. +** sqlite3ParserTOKENTYPE is the data type used for minor type for terminal +** symbols. Background: A "minor type" is a semantic +** value associated with a terminal or non-terminal +** symbols. For example, for an "ID" terminal symbol, +** the minor type might be the name of the identifier. +** Each non-terminal can have a different minor type. +** Terminal symbols all have the same minor type, though. +** This macros defines the minor type for terminal +** symbols. +** YYMINORTYPE is the data type used for all minor types. +** This is typically a union of many types, one of +** which is sqlite3ParserTOKENTYPE. The entry in the union +** for terminal symbols is called "yy0". +** YYSTACKDEPTH is the maximum depth of the parser's stack. If +** zero the stack is dynamically sized using realloc() +** sqlite3ParserARG_SDECL A static variable declaration for the %extra_argument +** sqlite3ParserARG_PDECL A parameter declaration for the %extra_argument +** sqlite3ParserARG_PARAM Code to pass %extra_argument as a subroutine parameter +** sqlite3ParserARG_STORE Code to store %extra_argument into yypParser +** sqlite3ParserARG_FETCH Code to extract %extra_argument from yypParser +** sqlite3ParserCTX_* As sqlite3ParserARG_ except for %extra_context +** YYERRORSYMBOL is the code number of the error symbol. If not +** defined, then do no error processing. +** YYNSTATE the combined number of states. +** YYNRULE the number of rules in the grammar +** YYNTOKEN Number of terminal symbols +** YY_MAX_SHIFT Maximum value for shift actions +** YY_MIN_SHIFTREDUCE Minimum value for shift-reduce actions +** YY_MAX_SHIFTREDUCE Maximum value for shift-reduce actions +** YY_ERROR_ACTION The yy_action[] code for syntax error +** YY_ACCEPT_ACTION The yy_action[] code for accept +** YY_NO_ACTION The yy_action[] code for no-op +** YY_MIN_REDUCE Minimum value for reduce actions +** YY_MAX_REDUCE Maximum value for reduce actions +*/ +#ifndef INTERFACE +# define INTERFACE 1 +#endif +/************* Begin control #defines *****************************************/ +#define YYCODETYPE unsigned short int +#define YYNOCODE 307 +#define YYACTIONTYPE unsigned short int +#define YYWILDCARD 98 +#define sqlite3ParserTOKENTYPE Token +typedef union { + int yyinit; + sqlite3ParserTOKENTYPE yy0; + const char* yy8; + Select* yy25; + int yy32; + Expr* yy46; + struct FrameBound yy57; + u8 yy118; + ExprList* yy138; + Upsert* yy288; + With* yy297; + IdList* yy406; + Window* yy455; + struct {int value; int mask;} yy495; + TriggerStep* yy527; + struct TrigEvent yy572; + SrcList* yy609; +} YYMINORTYPE; +#ifndef YYSTACKDEPTH +#define YYSTACKDEPTH 100 +#endif +#define sqlite3ParserARG_SDECL +#define sqlite3ParserARG_PDECL +#define sqlite3ParserARG_PARAM +#define sqlite3ParserARG_FETCH +#define sqlite3ParserARG_STORE +#define sqlite3ParserCTX_SDECL Parse *pParse; +#define sqlite3ParserCTX_PDECL ,Parse *pParse +#define sqlite3ParserCTX_PARAM ,pParse +#define sqlite3ParserCTX_FETCH Parse *pParse=yypParser->pParse; +#define sqlite3ParserCTX_STORE yypParser->pParse=pParse; +#define YYFALLBACK 1 +#define YYNSTATE 543 +#define YYNRULE 381 +#define YYNTOKEN 179 +#define YY_MAX_SHIFT 542 +#define YY_MIN_SHIFTREDUCE 790 +#define YY_MAX_SHIFTREDUCE 1170 +#define YY_ERROR_ACTION 1171 +#define YY_ACCEPT_ACTION 1172 +#define YY_NO_ACTION 1173 +#define YY_MIN_REDUCE 1174 +#define YY_MAX_REDUCE 1554 +/************* End control #defines *******************************************/ +#define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) + +/* Define the yytestcase() macro to be a no-op if is not already defined +** otherwise. +** +** Applications can choose to define yytestcase() in the %include section +** to a macro that can assist in verifying code coverage. For production +** code the yytestcase() macro should be turned off. But it is useful +** for testing. +*/ +#ifndef yytestcase +# define yytestcase(X) +#endif + + +/* Next are the tables used to determine what action to take based on the +** current state and lookahead token. These tables are used to implement +** functions that take a state number and lookahead value and return an +** action integer. +** +** Suppose the action integer is N. Then the action is determined as +** follows +** +** 0 <= N <= YY_MAX_SHIFT Shift N. That is, push the lookahead +** token onto the stack and goto state N. +** +** N between YY_MIN_SHIFTREDUCE Shift to an arbitrary state then +** and YY_MAX_SHIFTREDUCE reduce by rule N-YY_MIN_SHIFTREDUCE. +** +** N == YY_ERROR_ACTION A syntax error has occurred. +** +** N == YY_ACCEPT_ACTION The parser accepts its input. +** +** N == YY_NO_ACTION No such action. Denotes unused +** slots in the yy_action[] table. +** +** N between YY_MIN_REDUCE Reduce by rule N-YY_MIN_REDUCE +** and YY_MAX_REDUCE +** +** The action table is constructed as a single large table named yy_action[]. +** Given state S and lookahead X, the action is computed as either: +** +** (A) N = yy_action[ yy_shift_ofst[S] + X ] +** (B) N = yy_default[S] +** +** The (A) formula is preferred. The B formula is used instead if +** yy_lookahead[yy_shift_ofst[S]+X] is not equal to X. +** +** The formulas above are for computing the action when the lookahead is +** a terminal symbol. If the lookahead is a non-terminal (as occurs after +** a reduce action) then the yy_reduce_ofst[] array is used in place of +** the yy_shift_ofst[] array. +** +** The following are the tables generated in this section: +** +** yy_action[] A single table containing all actions. +** yy_lookahead[] A table containing the lookahead for each entry in +** yy_action. Used to detect hash collisions. +** yy_shift_ofst[] For each state, the offset into yy_action for +** shifting terminals. +** yy_reduce_ofst[] For each state, the offset into yy_action for +** shifting non-terminals after a reduce. +** yy_default[] Default action for each state. +** +*********** Begin parsing tables **********************************************/ +#define YY_ACTTAB_COUNT (1913) +static const YYACTIONTYPE yy_action[] = { + /* 0 */ 537, 339, 537, 1241, 1220, 537, 12, 537, 112, 109, + /* 10 */ 209, 537, 1241, 537, 1205, 462, 112, 109, 209, 386, + /* 20 */ 338, 462, 42, 42, 42, 42, 445, 42, 42, 70, + /* 30 */ 70, 922, 1208, 70, 70, 70, 70, 1443, 403, 923, + /* 40 */ 531, 531, 531, 119, 120, 110, 1148, 1148, 991, 994, + /* 50 */ 984, 984, 117, 117, 118, 118, 118, 118, 425, 386, + /* 60 */ 1498, 542, 2, 1176, 1442, 519, 141, 1518, 289, 519, + /* 70 */ 134, 519, 95, 259, 495, 1215, 189, 1254, 518, 494, + /* 80 */ 484, 437, 296, 119, 120, 110, 1148, 1148, 991, 994, + /* 90 */ 984, 984, 117, 117, 118, 118, 118, 118, 270, 116, + /* 100 */ 116, 116, 116, 115, 115, 114, 114, 114, 113, 418, + /* 110 */ 264, 264, 264, 264, 423, 1479, 352, 1481, 123, 351, + /* 120 */ 1479, 508, 1094, 534, 1034, 534, 1099, 386, 1099, 239, + /* 130 */ 206, 112, 109, 209, 96, 1094, 376, 219, 1094, 116, + /* 140 */ 116, 116, 116, 115, 115, 114, 114, 114, 113, 418, + /* 150 */ 480, 119, 120, 110, 1148, 1148, 991, 994, 984, 984, + /* 160 */ 117, 117, 118, 118, 118, 118, 353, 422, 1407, 264, + /* 170 */ 264, 114, 114, 114, 113, 418, 883, 121, 416, 416, + /* 180 */ 416, 882, 534, 116, 116, 116, 116, 115, 115, 114, + /* 190 */ 114, 114, 113, 418, 212, 415, 414, 386, 443, 383, + /* 200 */ 382, 118, 118, 118, 118, 111, 177, 116, 116, 116, + /* 210 */ 116, 115, 115, 114, 114, 114, 113, 418, 112, 109, + /* 220 */ 209, 119, 120, 110, 1148, 1148, 991, 994, 984, 984, + /* 230 */ 117, 117, 118, 118, 118, 118, 386, 438, 312, 1163, + /* 240 */ 1155, 80, 1155, 1127, 514, 79, 116, 116, 116, 116, + /* 250 */ 115, 115, 114, 114, 114, 113, 418, 514, 428, 418, + /* 260 */ 119, 120, 110, 1148, 1148, 991, 994, 984, 984, 117, + /* 270 */ 117, 118, 118, 118, 118, 428, 427, 116, 116, 116, + /* 280 */ 116, 115, 115, 114, 114, 114, 113, 418, 115, 115, + /* 290 */ 114, 114, 114, 113, 418, 1127, 1127, 1128, 1129, 1094, + /* 300 */ 258, 258, 192, 386, 408, 371, 1168, 326, 118, 118, + /* 310 */ 118, 118, 1094, 534, 374, 1094, 116, 116, 116, 116, + /* 320 */ 115, 115, 114, 114, 114, 113, 418, 119, 120, 110, + /* 330 */ 1148, 1148, 991, 994, 984, 984, 117, 117, 118, 118, + /* 340 */ 118, 118, 386, 354, 445, 428, 829, 238, 1127, 1128, + /* 350 */ 1129, 515, 1466, 116, 116, 116, 116, 115, 115, 114, + /* 360 */ 114, 114, 113, 418, 1127, 1467, 119, 120, 110, 1148, + /* 370 */ 1148, 991, 994, 984, 984, 117, 117, 118, 118, 118, + /* 380 */ 118, 1169, 82, 116, 116, 116, 116, 115, 115, 114, + /* 390 */ 114, 114, 113, 418, 405, 112, 109, 209, 161, 445, + /* 400 */ 250, 267, 336, 478, 331, 477, 236, 951, 1127, 386, + /* 410 */ 888, 1521, 329, 822, 852, 162, 274, 1127, 1128, 1129, + /* 420 */ 338, 169, 116, 116, 116, 116, 115, 115, 114, 114, + /* 430 */ 114, 113, 418, 119, 120, 110, 1148, 1148, 991, 994, + /* 440 */ 984, 984, 117, 117, 118, 118, 118, 118, 386, 438, + /* 450 */ 312, 1502, 1112, 1176, 161, 288, 528, 311, 289, 883, + /* 460 */ 134, 1127, 1128, 1129, 882, 537, 143, 1254, 288, 528, + /* 470 */ 297, 275, 119, 120, 110, 1148, 1148, 991, 994, 984, + /* 480 */ 984, 117, 117, 118, 118, 118, 118, 70, 70, 116, + /* 490 */ 116, 116, 116, 115, 115, 114, 114, 114, 113, 418, + /* 500 */ 264, 264, 12, 264, 264, 395, 1127, 483, 1473, 1094, + /* 510 */ 204, 482, 6, 534, 1258, 386, 534, 1474, 825, 972, + /* 520 */ 504, 6, 1094, 500, 95, 1094, 534, 219, 116, 116, + /* 530 */ 116, 116, 115, 115, 114, 114, 114, 113, 418, 119, + /* 540 */ 120, 110, 1148, 1148, 991, 994, 984, 984, 117, 117, + /* 550 */ 118, 118, 118, 118, 386, 1339, 971, 422, 956, 1127, + /* 560 */ 1128, 1129, 231, 512, 1473, 475, 472, 471, 6, 113, + /* 570 */ 418, 825, 962, 298, 503, 470, 961, 452, 119, 120, + /* 580 */ 110, 1148, 1148, 991, 994, 984, 984, 117, 117, 118, + /* 590 */ 118, 118, 118, 395, 537, 116, 116, 116, 116, 115, + /* 600 */ 115, 114, 114, 114, 113, 418, 202, 961, 961, 963, + /* 610 */ 231, 971, 1127, 475, 472, 471, 13, 13, 951, 1127, + /* 620 */ 834, 386, 1207, 470, 399, 183, 447, 962, 462, 162, + /* 630 */ 397, 961, 1246, 1246, 116, 116, 116, 116, 115, 115, + /* 640 */ 114, 114, 114, 113, 418, 119, 120, 110, 1148, 1148, + /* 650 */ 991, 994, 984, 984, 117, 117, 118, 118, 118, 118, + /* 660 */ 386, 271, 961, 961, 963, 1127, 1128, 1129, 311, 433, + /* 670 */ 299, 1406, 1127, 1128, 1129, 178, 1471, 138, 162, 32, + /* 680 */ 6, 1127, 288, 528, 119, 120, 110, 1148, 1148, 991, + /* 690 */ 994, 984, 984, 117, 117, 118, 118, 118, 118, 909, + /* 700 */ 390, 116, 116, 116, 116, 115, 115, 114, 114, 114, + /* 710 */ 113, 418, 1127, 429, 817, 537, 1127, 265, 265, 981, + /* 720 */ 981, 992, 995, 324, 1055, 93, 520, 5, 338, 537, + /* 730 */ 534, 288, 528, 1522, 1127, 1128, 1129, 70, 70, 1056, + /* 740 */ 116, 116, 116, 116, 115, 115, 114, 114, 114, 113, + /* 750 */ 418, 70, 70, 1495, 1057, 537, 98, 1244, 1244, 264, + /* 760 */ 264, 908, 371, 1076, 1127, 1127, 1128, 1129, 817, 1127, + /* 770 */ 1128, 1129, 534, 519, 140, 863, 386, 13, 13, 456, + /* 780 */ 192, 193, 521, 453, 319, 864, 322, 284, 365, 430, + /* 790 */ 985, 402, 379, 1077, 1548, 101, 386, 1548, 3, 395, + /* 800 */ 119, 120, 110, 1148, 1148, 991, 994, 984, 984, 117, + /* 810 */ 117, 118, 118, 118, 118, 386, 451, 1127, 1128, 1129, + /* 820 */ 119, 120, 110, 1148, 1148, 991, 994, 984, 984, 117, + /* 830 */ 117, 118, 118, 118, 118, 1127, 1354, 1412, 1169, 119, + /* 840 */ 108, 110, 1148, 1148, 991, 994, 984, 984, 117, 117, + /* 850 */ 118, 118, 118, 118, 1412, 1414, 116, 116, 116, 116, + /* 860 */ 115, 115, 114, 114, 114, 113, 418, 272, 535, 1075, + /* 870 */ 877, 877, 337, 1492, 309, 462, 116, 116, 116, 116, + /* 880 */ 115, 115, 114, 114, 114, 113, 418, 537, 1127, 1128, + /* 890 */ 1129, 537, 360, 537, 356, 116, 116, 116, 116, 115, + /* 900 */ 115, 114, 114, 114, 113, 418, 386, 264, 264, 13, + /* 910 */ 13, 273, 1127, 13, 13, 13, 13, 304, 1253, 386, + /* 920 */ 534, 1077, 1549, 404, 1412, 1549, 496, 277, 451, 186, + /* 930 */ 1252, 120, 110, 1148, 1148, 991, 994, 984, 984, 117, + /* 940 */ 117, 118, 118, 118, 118, 110, 1148, 1148, 991, 994, + /* 950 */ 984, 984, 117, 117, 118, 118, 118, 118, 105, 529, + /* 960 */ 537, 4, 1339, 264, 264, 1127, 1128, 1129, 1039, 1039, + /* 970 */ 459, 795, 796, 797, 536, 532, 534, 242, 301, 807, + /* 980 */ 303, 462, 69, 69, 451, 1353, 116, 116, 116, 116, + /* 990 */ 115, 115, 114, 114, 114, 113, 418, 1075, 419, 116, + /* 1000 */ 116, 116, 116, 115, 115, 114, 114, 114, 113, 418, + /* 1010 */ 526, 537, 1146, 192, 350, 105, 529, 537, 4, 497, + /* 1020 */ 162, 337, 1492, 310, 1249, 385, 1550, 372, 9, 462, + /* 1030 */ 242, 400, 532, 13, 13, 499, 971, 843, 436, 70, + /* 1040 */ 70, 359, 103, 103, 8, 339, 278, 187, 278, 104, + /* 1050 */ 1127, 419, 539, 538, 1339, 419, 961, 302, 1339, 1172, + /* 1060 */ 1, 1, 542, 2, 1176, 1146, 1146, 526, 476, 289, + /* 1070 */ 30, 134, 317, 288, 528, 285, 844, 1014, 1254, 276, + /* 1080 */ 1472, 506, 410, 1194, 6, 207, 505, 961, 961, 963, + /* 1090 */ 964, 27, 449, 971, 415, 414, 234, 233, 232, 103, + /* 1100 */ 103, 31, 1152, 1127, 1128, 1129, 104, 1154, 419, 539, + /* 1110 */ 538, 264, 264, 961, 1399, 1153, 264, 264, 1470, 1146, + /* 1120 */ 537, 216, 6, 401, 534, 1197, 392, 458, 406, 534, + /* 1130 */ 537, 485, 358, 537, 261, 537, 1339, 907, 219, 1155, + /* 1140 */ 467, 1155, 50, 50, 961, 961, 963, 964, 27, 1497, + /* 1150 */ 1116, 421, 70, 70, 268, 70, 70, 13, 13, 369, + /* 1160 */ 369, 368, 253, 366, 264, 264, 804, 235, 422, 105, + /* 1170 */ 529, 516, 4, 287, 487, 510, 493, 534, 486, 213, + /* 1180 */ 1055, 294, 490, 384, 1127, 450, 532, 338, 413, 293, + /* 1190 */ 522, 417, 335, 1036, 509, 1056, 107, 1036, 16, 16, + /* 1200 */ 1469, 1094, 334, 1105, 6, 411, 1145, 264, 264, 419, + /* 1210 */ 1057, 102, 511, 100, 1094, 264, 264, 1094, 922, 215, + /* 1220 */ 534, 526, 907, 264, 264, 208, 923, 154, 534, 457, + /* 1230 */ 156, 525, 391, 142, 218, 506, 534, 1127, 1128, 1129, + /* 1240 */ 507, 139, 1131, 38, 214, 530, 392, 971, 329, 1454, + /* 1250 */ 907, 1105, 537, 103, 103, 105, 529, 537, 4, 537, + /* 1260 */ 104, 424, 419, 539, 538, 537, 502, 961, 517, 537, + /* 1270 */ 1072, 537, 532, 373, 54, 54, 288, 528, 387, 55, + /* 1280 */ 55, 15, 15, 288, 528, 17, 136, 44, 44, 1451, + /* 1290 */ 537, 56, 56, 57, 57, 419, 1131, 291, 961, 961, + /* 1300 */ 963, 964, 27, 393, 163, 537, 426, 526, 263, 206, + /* 1310 */ 208, 517, 58, 58, 235, 440, 842, 841, 197, 105, + /* 1320 */ 529, 506, 4, 1033, 439, 1033, 505, 59, 59, 308, + /* 1330 */ 849, 850, 95, 971, 537, 907, 532, 948, 832, 103, + /* 1340 */ 103, 105, 529, 537, 4, 1021, 104, 537, 419, 539, + /* 1350 */ 538, 1116, 421, 961, 537, 268, 60, 60, 532, 419, + /* 1360 */ 369, 369, 368, 253, 366, 61, 61, 804, 965, 45, + /* 1370 */ 45, 526, 537, 1032, 1277, 1032, 46, 46, 537, 391, + /* 1380 */ 213, 419, 294, 266, 961, 961, 963, 964, 27, 292, + /* 1390 */ 293, 295, 832, 526, 48, 48, 1290, 971, 1289, 1021, + /* 1400 */ 49, 49, 432, 103, 103, 887, 953, 537, 1457, 241, + /* 1410 */ 104, 305, 419, 539, 538, 925, 926, 961, 444, 971, + /* 1420 */ 215, 241, 965, 1224, 537, 103, 103, 1431, 154, 62, + /* 1430 */ 62, 156, 104, 1430, 419, 539, 538, 97, 529, 961, + /* 1440 */ 4, 537, 454, 537, 314, 214, 63, 63, 961, 961, + /* 1450 */ 963, 964, 27, 537, 532, 446, 1286, 318, 241, 537, + /* 1460 */ 321, 323, 325, 64, 64, 14, 14, 1237, 537, 1223, + /* 1470 */ 961, 961, 963, 964, 27, 65, 65, 419, 537, 387, + /* 1480 */ 537, 125, 125, 537, 288, 528, 537, 1486, 537, 526, + /* 1490 */ 66, 66, 313, 524, 537, 95, 468, 1221, 1511, 237, + /* 1500 */ 51, 51, 67, 67, 330, 68, 68, 426, 52, 52, + /* 1510 */ 149, 149, 1222, 340, 341, 971, 150, 150, 1298, 463, + /* 1520 */ 327, 103, 103, 95, 537, 1338, 1273, 537, 104, 537, + /* 1530 */ 419, 539, 538, 1284, 537, 961, 268, 283, 523, 1344, + /* 1540 */ 1204, 369, 369, 368, 253, 366, 75, 75, 804, 53, + /* 1550 */ 53, 71, 71, 537, 1196, 537, 126, 126, 537, 1017, + /* 1560 */ 537, 213, 237, 294, 537, 1185, 961, 961, 963, 964, + /* 1570 */ 27, 293, 537, 1184, 537, 72, 72, 127, 127, 1186, + /* 1580 */ 128, 128, 124, 124, 1505, 537, 148, 148, 537, 256, + /* 1590 */ 195, 537, 1270, 537, 147, 147, 132, 132, 537, 11, + /* 1600 */ 537, 215, 537, 199, 343, 345, 347, 131, 131, 154, + /* 1610 */ 129, 129, 156, 130, 130, 74, 74, 537, 370, 1323, + /* 1620 */ 76, 76, 73, 73, 43, 43, 214, 431, 211, 1331, + /* 1630 */ 300, 916, 880, 815, 241, 107, 137, 307, 881, 47, + /* 1640 */ 47, 107, 473, 378, 203, 448, 333, 1403, 1220, 1402, + /* 1650 */ 349, 190, 527, 191, 363, 198, 1508, 1163, 245, 165, + /* 1660 */ 387, 1450, 1448, 1160, 78, 288, 528, 1408, 81, 394, + /* 1670 */ 82, 442, 175, 159, 167, 93, 1328, 35, 1320, 434, + /* 1680 */ 170, 171, 172, 173, 435, 466, 221, 375, 426, 377, + /* 1690 */ 1334, 179, 455, 441, 1397, 225, 87, 36, 461, 1419, + /* 1700 */ 316, 257, 227, 184, 320, 464, 228, 479, 1187, 229, + /* 1710 */ 380, 1240, 1239, 407, 1238, 1212, 834, 332, 1231, 381, + /* 1720 */ 409, 1211, 204, 1210, 1491, 498, 1520, 1281, 92, 281, + /* 1730 */ 1230, 489, 282, 492, 342, 243, 1282, 344, 244, 1280, + /* 1740 */ 346, 412, 1279, 1477, 348, 122, 1476, 517, 10, 357, + /* 1750 */ 286, 1305, 1304, 99, 1383, 94, 501, 251, 1193, 34, + /* 1760 */ 1263, 355, 540, 194, 1262, 361, 362, 1122, 252, 254, + /* 1770 */ 255, 388, 541, 1182, 1177, 151, 1435, 389, 1436, 1434, + /* 1780 */ 1433, 791, 152, 135, 279, 200, 201, 420, 196, 77, + /* 1790 */ 153, 290, 269, 210, 1031, 133, 1029, 945, 166, 155, + /* 1800 */ 217, 168, 866, 306, 220, 1045, 174, 949, 157, 396, + /* 1810 */ 83, 398, 176, 84, 85, 164, 86, 158, 1048, 222, + /* 1820 */ 223, 1044, 144, 18, 224, 315, 1037, 180, 241, 460, + /* 1830 */ 1157, 226, 181, 37, 806, 465, 334, 230, 328, 469, + /* 1840 */ 182, 88, 474, 19, 20, 160, 89, 280, 145, 90, + /* 1850 */ 481, 845, 1110, 146, 997, 205, 1080, 39, 91, 40, + /* 1860 */ 488, 1081, 915, 491, 260, 262, 185, 910, 240, 107, + /* 1870 */ 1100, 1096, 1098, 1104, 21, 1084, 33, 513, 247, 22, + /* 1880 */ 23, 24, 1103, 25, 188, 95, 1012, 998, 996, 26, + /* 1890 */ 1000, 1054, 7, 1053, 1001, 246, 28, 41, 533, 966, + /* 1900 */ 816, 106, 29, 367, 248, 249, 1513, 1512, 364, 1117, + /* 1910 */ 1173, 1173, 876, +}; +static const YYCODETYPE yy_lookahead[] = { + /* 0 */ 187, 187, 187, 216, 217, 187, 206, 187, 264, 265, + /* 10 */ 266, 187, 225, 187, 209, 187, 264, 265, 266, 19, + /* 20 */ 187, 187, 209, 210, 209, 210, 187, 209, 210, 209, + /* 30 */ 210, 31, 209, 209, 210, 209, 210, 285, 224, 39, + /* 40 */ 203, 204, 205, 43, 44, 45, 46, 47, 48, 49, + /* 50 */ 50, 51, 52, 53, 54, 55, 56, 57, 230, 19, + /* 60 */ 181, 182, 183, 184, 230, 245, 233, 208, 189, 245, + /* 70 */ 191, 245, 26, 206, 254, 216, 276, 198, 254, 198, + /* 80 */ 254, 281, 187, 43, 44, 45, 46, 47, 48, 49, + /* 90 */ 50, 51, 52, 53, 54, 55, 56, 57, 259, 99, + /* 100 */ 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + /* 110 */ 231, 232, 231, 232, 286, 302, 303, 302, 22, 304, + /* 120 */ 302, 303, 76, 244, 11, 244, 86, 19, 88, 248, + /* 130 */ 249, 264, 265, 266, 26, 89, 198, 258, 92, 99, + /* 140 */ 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + /* 150 */ 105, 43, 44, 45, 46, 47, 48, 49, 50, 51, + /* 160 */ 52, 53, 54, 55, 56, 57, 212, 288, 273, 231, + /* 170 */ 232, 105, 106, 107, 108, 109, 131, 69, 203, 204, + /* 180 */ 205, 136, 244, 99, 100, 101, 102, 103, 104, 105, + /* 190 */ 106, 107, 108, 109, 15, 103, 104, 19, 260, 103, + /* 200 */ 104, 54, 55, 56, 57, 58, 22, 99, 100, 101, + /* 210 */ 102, 103, 104, 105, 106, 107, 108, 109, 264, 265, + /* 220 */ 266, 43, 44, 45, 46, 47, 48, 49, 50, 51, + /* 230 */ 52, 53, 54, 55, 56, 57, 19, 124, 125, 60, + /* 240 */ 148, 24, 150, 59, 187, 67, 99, 100, 101, 102, + /* 250 */ 103, 104, 105, 106, 107, 108, 109, 187, 187, 109, + /* 260 */ 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + /* 270 */ 53, 54, 55, 56, 57, 204, 205, 99, 100, 101, + /* 280 */ 102, 103, 104, 105, 106, 107, 108, 109, 103, 104, + /* 290 */ 105, 106, 107, 108, 109, 59, 112, 113, 114, 76, + /* 300 */ 231, 232, 187, 19, 19, 22, 23, 23, 54, 55, + /* 310 */ 56, 57, 89, 244, 199, 92, 99, 100, 101, 102, + /* 320 */ 103, 104, 105, 106, 107, 108, 109, 43, 44, 45, + /* 330 */ 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + /* 340 */ 56, 57, 19, 212, 187, 274, 23, 26, 112, 113, + /* 350 */ 114, 294, 295, 99, 100, 101, 102, 103, 104, 105, + /* 360 */ 106, 107, 108, 109, 59, 295, 43, 44, 45, 46, + /* 370 */ 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, + /* 380 */ 57, 98, 146, 99, 100, 101, 102, 103, 104, 105, + /* 390 */ 106, 107, 108, 109, 109, 264, 265, 266, 187, 187, + /* 400 */ 115, 116, 117, 118, 119, 120, 121, 73, 59, 19, + /* 410 */ 105, 23, 127, 23, 26, 81, 259, 112, 113, 114, + /* 420 */ 187, 72, 99, 100, 101, 102, 103, 104, 105, 106, + /* 430 */ 107, 108, 109, 43, 44, 45, 46, 47, 48, 49, + /* 440 */ 50, 51, 52, 53, 54, 55, 56, 57, 19, 124, + /* 450 */ 125, 182, 23, 184, 187, 134, 135, 123, 189, 131, + /* 460 */ 191, 112, 113, 114, 136, 187, 233, 198, 134, 135, + /* 470 */ 198, 259, 43, 44, 45, 46, 47, 48, 49, 50, + /* 480 */ 51, 52, 53, 54, 55, 56, 57, 209, 210, 99, + /* 490 */ 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + /* 500 */ 231, 232, 206, 231, 232, 187, 59, 296, 297, 76, + /* 510 */ 160, 161, 301, 244, 232, 19, 244, 297, 59, 23, + /* 520 */ 87, 301, 89, 245, 26, 92, 244, 258, 99, 100, + /* 530 */ 101, 102, 103, 104, 105, 106, 107, 108, 109, 43, + /* 540 */ 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, + /* 550 */ 54, 55, 56, 57, 19, 187, 97, 288, 23, 112, + /* 560 */ 113, 114, 115, 296, 297, 118, 119, 120, 301, 108, + /* 570 */ 109, 112, 113, 255, 141, 128, 117, 281, 43, 44, + /* 580 */ 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, + /* 590 */ 55, 56, 57, 187, 187, 99, 100, 101, 102, 103, + /* 600 */ 104, 105, 106, 107, 108, 109, 26, 148, 149, 150, + /* 610 */ 115, 97, 59, 118, 119, 120, 209, 210, 73, 59, + /* 620 */ 122, 19, 209, 128, 256, 72, 187, 113, 187, 81, + /* 630 */ 223, 117, 227, 228, 99, 100, 101, 102, 103, 104, + /* 640 */ 105, 106, 107, 108, 109, 43, 44, 45, 46, 47, + /* 650 */ 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + /* 660 */ 19, 255, 148, 149, 150, 112, 113, 114, 123, 124, + /* 670 */ 125, 230, 112, 113, 114, 22, 297, 22, 81, 22, + /* 680 */ 301, 59, 134, 135, 43, 44, 45, 46, 47, 48, + /* 690 */ 49, 50, 51, 52, 53, 54, 55, 56, 57, 139, + /* 700 */ 192, 99, 100, 101, 102, 103, 104, 105, 106, 107, + /* 710 */ 108, 109, 59, 116, 59, 187, 59, 231, 232, 46, + /* 720 */ 47, 48, 49, 16, 12, 145, 198, 22, 187, 187, + /* 730 */ 244, 134, 135, 222, 112, 113, 114, 209, 210, 27, + /* 740 */ 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, + /* 750 */ 109, 209, 210, 187, 42, 187, 154, 227, 228, 231, + /* 760 */ 232, 139, 22, 23, 59, 112, 113, 114, 113, 112, + /* 770 */ 113, 114, 244, 245, 233, 63, 19, 209, 210, 271, + /* 780 */ 187, 24, 254, 275, 77, 73, 79, 245, 195, 260, + /* 790 */ 117, 223, 199, 22, 23, 154, 19, 26, 22, 187, + /* 800 */ 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + /* 810 */ 53, 54, 55, 56, 57, 19, 187, 112, 113, 114, + /* 820 */ 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + /* 830 */ 53, 54, 55, 56, 57, 59, 263, 187, 98, 43, + /* 840 */ 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, + /* 850 */ 54, 55, 56, 57, 204, 205, 99, 100, 101, 102, + /* 860 */ 103, 104, 105, 106, 107, 108, 109, 255, 130, 98, + /* 870 */ 132, 133, 299, 300, 198, 187, 99, 100, 101, 102, + /* 880 */ 103, 104, 105, 106, 107, 108, 109, 187, 112, 113, + /* 890 */ 114, 187, 241, 187, 243, 99, 100, 101, 102, 103, + /* 900 */ 104, 105, 106, 107, 108, 109, 19, 231, 232, 209, + /* 910 */ 210, 282, 59, 209, 210, 209, 210, 16, 230, 19, + /* 920 */ 244, 22, 23, 223, 274, 26, 19, 223, 187, 223, + /* 930 */ 198, 44, 45, 46, 47, 48, 49, 50, 51, 52, + /* 940 */ 53, 54, 55, 56, 57, 45, 46, 47, 48, 49, + /* 950 */ 50, 51, 52, 53, 54, 55, 56, 57, 19, 20, + /* 960 */ 187, 22, 187, 231, 232, 112, 113, 114, 123, 124, + /* 970 */ 125, 7, 8, 9, 187, 36, 244, 24, 77, 21, + /* 980 */ 79, 187, 209, 210, 187, 263, 99, 100, 101, 102, + /* 990 */ 103, 104, 105, 106, 107, 108, 109, 98, 59, 99, + /* 1000 */ 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + /* 1010 */ 71, 187, 59, 187, 187, 19, 20, 187, 22, 112, + /* 1020 */ 81, 299, 300, 282, 230, 199, 291, 292, 22, 187, + /* 1030 */ 24, 256, 36, 209, 210, 187, 97, 35, 80, 209, + /* 1040 */ 210, 268, 103, 104, 48, 187, 220, 223, 222, 110, + /* 1050 */ 59, 112, 113, 114, 187, 59, 117, 156, 187, 179, + /* 1060 */ 180, 181, 182, 183, 184, 59, 113, 71, 66, 189, + /* 1070 */ 22, 191, 230, 134, 135, 245, 74, 119, 198, 282, + /* 1080 */ 297, 85, 224, 198, 301, 187, 90, 148, 149, 150, + /* 1090 */ 151, 152, 19, 97, 103, 104, 123, 124, 125, 103, + /* 1100 */ 104, 53, 111, 112, 113, 114, 110, 116, 112, 113, + /* 1110 */ 114, 231, 232, 117, 156, 124, 231, 232, 297, 113, + /* 1120 */ 187, 24, 301, 256, 244, 201, 202, 256, 126, 244, + /* 1130 */ 187, 198, 187, 187, 23, 187, 187, 26, 258, 148, + /* 1140 */ 19, 150, 209, 210, 148, 149, 150, 151, 152, 0, + /* 1150 */ 1, 2, 209, 210, 5, 209, 210, 209, 210, 10, + /* 1160 */ 11, 12, 13, 14, 231, 232, 17, 46, 288, 19, + /* 1170 */ 20, 223, 22, 236, 198, 66, 187, 244, 245, 30, + /* 1180 */ 12, 32, 198, 246, 59, 112, 36, 187, 245, 40, + /* 1190 */ 198, 245, 117, 29, 85, 27, 26, 33, 209, 210, + /* 1200 */ 297, 76, 127, 94, 301, 256, 26, 231, 232, 59, + /* 1210 */ 42, 153, 87, 155, 89, 231, 232, 92, 31, 70, + /* 1220 */ 244, 71, 26, 231, 232, 114, 39, 78, 244, 65, + /* 1230 */ 81, 63, 111, 233, 137, 85, 244, 112, 113, 114, + /* 1240 */ 90, 22, 59, 24, 95, 201, 202, 97, 127, 187, + /* 1250 */ 139, 142, 187, 103, 104, 19, 20, 187, 22, 187, + /* 1260 */ 110, 187, 112, 113, 114, 187, 141, 117, 141, 187, + /* 1270 */ 23, 187, 36, 26, 209, 210, 134, 135, 129, 209, + /* 1280 */ 210, 209, 210, 134, 135, 22, 159, 209, 210, 187, + /* 1290 */ 187, 209, 210, 209, 210, 59, 113, 187, 148, 149, + /* 1300 */ 150, 151, 152, 289, 290, 187, 157, 71, 248, 249, + /* 1310 */ 114, 141, 209, 210, 46, 125, 116, 117, 138, 19, + /* 1320 */ 20, 85, 22, 148, 61, 150, 90, 209, 210, 23, + /* 1330 */ 7, 8, 26, 97, 187, 139, 36, 147, 59, 103, + /* 1340 */ 104, 19, 20, 187, 22, 59, 110, 187, 112, 113, + /* 1350 */ 114, 1, 2, 117, 187, 5, 209, 210, 36, 59, + /* 1360 */ 10, 11, 12, 13, 14, 209, 210, 17, 59, 209, + /* 1370 */ 210, 71, 187, 148, 250, 150, 209, 210, 187, 111, + /* 1380 */ 30, 59, 32, 22, 148, 149, 150, 151, 152, 187, + /* 1390 */ 40, 187, 113, 71, 209, 210, 187, 97, 187, 113, + /* 1400 */ 209, 210, 187, 103, 104, 105, 23, 187, 187, 26, + /* 1410 */ 110, 187, 112, 113, 114, 83, 84, 117, 23, 97, + /* 1420 */ 70, 26, 113, 218, 187, 103, 104, 187, 78, 209, + /* 1430 */ 210, 81, 110, 187, 112, 113, 114, 19, 20, 117, + /* 1440 */ 22, 187, 187, 187, 187, 95, 209, 210, 148, 149, + /* 1450 */ 150, 151, 152, 187, 36, 23, 187, 187, 26, 187, + /* 1460 */ 187, 187, 187, 209, 210, 209, 210, 187, 187, 218, + /* 1470 */ 148, 149, 150, 151, 152, 209, 210, 59, 187, 129, + /* 1480 */ 187, 209, 210, 187, 134, 135, 187, 306, 187, 71, + /* 1490 */ 209, 210, 23, 228, 187, 26, 23, 187, 137, 26, + /* 1500 */ 209, 210, 209, 210, 187, 209, 210, 157, 209, 210, + /* 1510 */ 209, 210, 218, 187, 187, 97, 209, 210, 187, 278, + /* 1520 */ 23, 103, 104, 26, 187, 187, 187, 187, 110, 187, + /* 1530 */ 112, 113, 114, 187, 187, 117, 5, 247, 187, 187, + /* 1540 */ 187, 10, 11, 12, 13, 14, 209, 210, 17, 209, + /* 1550 */ 210, 209, 210, 187, 187, 187, 209, 210, 187, 23, + /* 1560 */ 187, 30, 26, 32, 187, 187, 148, 149, 150, 151, + /* 1570 */ 152, 40, 187, 187, 187, 209, 210, 209, 210, 187, + /* 1580 */ 209, 210, 209, 210, 187, 187, 209, 210, 187, 277, + /* 1590 */ 234, 187, 247, 187, 209, 210, 209, 210, 187, 235, + /* 1600 */ 187, 70, 187, 207, 247, 247, 247, 209, 210, 78, + /* 1610 */ 209, 210, 81, 209, 210, 209, 210, 187, 185, 238, + /* 1620 */ 209, 210, 209, 210, 209, 210, 95, 251, 287, 238, + /* 1630 */ 251, 23, 23, 23, 26, 26, 26, 283, 23, 209, + /* 1640 */ 210, 26, 213, 238, 221, 283, 212, 212, 217, 212, + /* 1650 */ 251, 241, 270, 241, 237, 235, 190, 60, 137, 287, + /* 1660 */ 129, 194, 194, 38, 284, 134, 135, 273, 284, 194, + /* 1670 */ 146, 111, 22, 43, 226, 145, 262, 261, 238, 18, + /* 1680 */ 229, 229, 229, 229, 194, 18, 193, 238, 157, 262, + /* 1690 */ 226, 226, 194, 238, 238, 193, 153, 261, 62, 280, + /* 1700 */ 279, 194, 193, 22, 194, 214, 193, 111, 194, 193, + /* 1710 */ 214, 211, 211, 64, 211, 211, 122, 211, 219, 214, + /* 1720 */ 109, 213, 160, 211, 300, 140, 211, 253, 111, 272, + /* 1730 */ 219, 214, 272, 214, 252, 194, 253, 252, 91, 253, + /* 1740 */ 252, 82, 253, 305, 252, 144, 305, 141, 22, 194, + /* 1750 */ 269, 257, 257, 153, 267, 143, 142, 25, 197, 26, + /* 1760 */ 242, 241, 196, 240, 242, 239, 238, 13, 188, 188, + /* 1770 */ 6, 293, 186, 186, 186, 200, 206, 293, 206, 206, + /* 1780 */ 206, 4, 200, 215, 215, 207, 207, 3, 22, 206, + /* 1790 */ 200, 158, 96, 15, 23, 16, 23, 135, 146, 126, + /* 1800 */ 24, 138, 20, 16, 140, 1, 138, 147, 126, 61, + /* 1810 */ 53, 37, 146, 53, 53, 290, 53, 126, 112, 34, + /* 1820 */ 137, 1, 5, 22, 111, 156, 68, 68, 26, 41, + /* 1830 */ 75, 137, 111, 24, 20, 19, 127, 121, 23, 67, + /* 1840 */ 22, 22, 67, 22, 22, 37, 22, 67, 23, 145, + /* 1850 */ 22, 28, 23, 23, 23, 137, 23, 22, 26, 22, + /* 1860 */ 24, 23, 112, 24, 23, 23, 22, 139, 34, 26, + /* 1870 */ 75, 88, 86, 75, 34, 23, 22, 24, 22, 34, + /* 1880 */ 34, 34, 93, 34, 26, 26, 23, 23, 23, 34, + /* 1890 */ 23, 23, 44, 23, 11, 26, 22, 22, 26, 23, + /* 1900 */ 23, 22, 22, 15, 137, 137, 137, 137, 23, 1, + /* 1910 */ 307, 307, 131, 307, 307, 307, 307, 307, 307, 307, + /* 1920 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 1930 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 1940 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 1950 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 1960 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 1970 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 1980 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 1990 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 2000 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 2010 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 2020 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 2030 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 2040 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 2050 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 2060 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 2070 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 2080 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, + /* 2090 */ 307, 307, +}; +#define YY_SHIFT_COUNT (542) +#define YY_SHIFT_MIN (0) +#define YY_SHIFT_MAX (1908) +static const unsigned short int yy_shift_ofst[] = { + /* 0 */ 1350, 1149, 1531, 939, 939, 548, 996, 1150, 1236, 1322, + /* 10 */ 1322, 1322, 334, 0, 0, 178, 777, 1322, 1322, 1322, + /* 20 */ 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, + /* 30 */ 991, 991, 1125, 1125, 447, 597, 548, 548, 548, 548, + /* 40 */ 548, 548, 40, 108, 217, 284, 323, 390, 429, 496, + /* 50 */ 535, 602, 641, 757, 777, 777, 777, 777, 777, 777, + /* 60 */ 777, 777, 777, 777, 777, 777, 777, 777, 777, 777, + /* 70 */ 777, 777, 796, 777, 887, 900, 900, 1300, 1322, 1322, + /* 80 */ 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, + /* 90 */ 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, + /* 100 */ 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, + /* 110 */ 1418, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, 1322, + /* 120 */ 1322, 1322, 1322, 1322, 147, 254, 254, 254, 254, 254, + /* 130 */ 84, 185, 66, 853, 958, 1121, 853, 92, 92, 853, + /* 140 */ 321, 321, 321, 321, 325, 350, 350, 461, 150, 1913, + /* 150 */ 1913, 285, 285, 285, 236, 184, 349, 184, 184, 712, + /* 160 */ 712, 433, 553, 771, 899, 853, 853, 853, 853, 853, + /* 170 */ 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, + /* 180 */ 853, 853, 853, 853, 853, 853, 46, 46, 853, 113, + /* 190 */ 223, 223, 1183, 1183, 1127, 1142, 1913, 1913, 1913, 459, + /* 200 */ 514, 514, 653, 495, 657, 305, 705, 560, 622, 776, + /* 210 */ 853, 853, 853, 853, 853, 853, 853, 853, 853, 545, + /* 220 */ 853, 853, 853, 853, 853, 853, 853, 853, 853, 853, + /* 230 */ 853, 853, 1002, 1002, 1002, 853, 853, 853, 853, 1111, + /* 240 */ 853, 853, 853, 1006, 1109, 853, 853, 1168, 853, 853, + /* 250 */ 853, 853, 853, 853, 853, 853, 845, 1164, 738, 953, + /* 260 */ 953, 953, 953, 1196, 738, 738, 45, 96, 964, 179, + /* 270 */ 580, 907, 907, 1073, 580, 580, 1073, 498, 388, 1268, + /* 280 */ 1187, 1187, 1187, 907, 1170, 1170, 1058, 1180, 328, 1219, + /* 290 */ 1597, 1521, 1521, 1625, 1625, 1521, 1524, 1560, 1650, 1630, + /* 300 */ 1530, 1661, 1661, 1661, 1661, 1521, 1667, 1530, 1530, 1560, + /* 310 */ 1650, 1630, 1630, 1530, 1521, 1667, 1543, 1636, 1521, 1667, + /* 320 */ 1681, 1521, 1667, 1521, 1667, 1681, 1596, 1596, 1596, 1649, + /* 330 */ 1681, 1596, 1594, 1596, 1649, 1596, 1596, 1562, 1681, 1611, + /* 340 */ 1611, 1681, 1585, 1617, 1585, 1617, 1585, 1617, 1585, 1617, + /* 350 */ 1521, 1647, 1647, 1659, 1659, 1601, 1606, 1726, 1521, 1600, + /* 360 */ 1601, 1612, 1614, 1530, 1732, 1733, 1754, 1754, 1764, 1764, + /* 370 */ 1764, 1913, 1913, 1913, 1913, 1913, 1913, 1913, 1913, 1913, + /* 380 */ 1913, 1913, 1913, 1913, 1913, 1913, 673, 901, 283, 740, + /* 390 */ 707, 973, 655, 1247, 1048, 1097, 1190, 1306, 1263, 1383, + /* 400 */ 1395, 1432, 1469, 1473, 1497, 1279, 1200, 1323, 1075, 1286, + /* 410 */ 1536, 1608, 1332, 1609, 1175, 1225, 1610, 1615, 1309, 1361, + /* 420 */ 1777, 1784, 1766, 1633, 1778, 1696, 1779, 1771, 1773, 1662, + /* 430 */ 1652, 1673, 1776, 1663, 1782, 1664, 1787, 1804, 1668, 1660, + /* 440 */ 1682, 1748, 1774, 1666, 1757, 1760, 1761, 1763, 1691, 1706, + /* 450 */ 1785, 1683, 1820, 1817, 1801, 1713, 1669, 1758, 1802, 1759, + /* 460 */ 1755, 1788, 1694, 1721, 1809, 1814, 1816, 1709, 1716, 1818, + /* 470 */ 1772, 1819, 1821, 1815, 1822, 1775, 1823, 1824, 1780, 1808, + /* 480 */ 1825, 1704, 1828, 1829, 1830, 1831, 1832, 1833, 1835, 1836, + /* 490 */ 1838, 1837, 1839, 1718, 1841, 1842, 1750, 1834, 1844, 1728, + /* 500 */ 1843, 1840, 1845, 1846, 1847, 1783, 1795, 1786, 1848, 1798, + /* 510 */ 1789, 1849, 1852, 1854, 1853, 1858, 1859, 1855, 1863, 1843, + /* 520 */ 1864, 1865, 1867, 1868, 1869, 1870, 1856, 1883, 1874, 1875, + /* 530 */ 1876, 1877, 1879, 1880, 1872, 1781, 1767, 1768, 1769, 1770, + /* 540 */ 1885, 1888, 1908, +}; +#define YY_REDUCE_COUNT (385) +#define YY_REDUCE_MIN (-256) +#define YY_REDUCE_MAX (1590) +static const short yy_reduce_ofst[] = { + /* 0 */ 880, -121, 269, 528, 933, -119, -187, -185, -182, -180, + /* 10 */ -176, -174, -62, -46, 131, -248, -133, 407, 568, 700, + /* 20 */ 704, 278, 706, 824, 542, 830, 948, 773, 943, 946, + /* 30 */ 71, 650, 211, 267, 826, 272, 676, 732, 885, 976, + /* 40 */ 984, 992, -256, -256, -256, -256, -256, -256, -256, -256, + /* 50 */ -256, -256, -256, -256, -256, -256, -256, -256, -256, -256, + /* 60 */ -256, -256, -256, -256, -256, -256, -256, -256, -256, -256, + /* 70 */ -256, -256, -256, -256, -256, -256, -256, 989, 1065, 1070, + /* 80 */ 1072, 1078, 1082, 1084, 1103, 1118, 1147, 1156, 1160, 1167, + /* 90 */ 1185, 1191, 1220, 1237, 1254, 1256, 1266, 1272, 1281, 1291, + /* 100 */ 1293, 1296, 1299, 1301, 1307, 1337, 1340, 1342, 1347, 1366, + /* 110 */ 1368, 1371, 1373, 1377, 1385, 1387, 1398, 1401, 1404, 1406, + /* 120 */ 1411, 1413, 1415, 1430, -256, -256, -256, -256, -256, -256, + /* 130 */ -256, -256, -256, -172, 508, -213, 57, -163, -25, 593, + /* 140 */ 69, 486, 69, 486, -200, 573, 722, -256, -256, -256, + /* 150 */ -256, -141, -141, -141, -105, -161, -167, 157, 212, 405, + /* 160 */ 530, 220, 233, 735, 735, 115, 318, 406, 612, 541, + /* 170 */ -166, 441, 688, 794, 629, 368, 741, 775, 867, 797, + /* 180 */ 871, 842, -186, 1000, 858, 949, 379, 783, 70, 296, + /* 190 */ 821, 903, 924, 1044, 651, 282, 1014, 1060, 937, -195, + /* 200 */ -177, 413, 439, 511, 566, 787, 827, 848, 898, 945, + /* 210 */ 1062, 1074, 1102, 1110, 1202, 1204, 1209, 1211, 1215, 529, + /* 220 */ 1221, 1224, 1240, 1246, 1255, 1257, 1269, 1270, 1273, 1274, + /* 230 */ 1275, 1280, 1205, 1251, 1294, 1310, 1317, 1326, 1327, 1124, + /* 240 */ 1331, 1338, 1339, 1290, 1181, 1346, 1351, 1265, 1352, 787, + /* 250 */ 1353, 1367, 1378, 1386, 1392, 1397, 1241, 1312, 1356, 1345, + /* 260 */ 1357, 1358, 1359, 1124, 1356, 1356, 1364, 1396, 1433, 1341, + /* 270 */ 1381, 1376, 1379, 1354, 1391, 1405, 1362, 1429, 1423, 1431, + /* 280 */ 1434, 1435, 1437, 1399, 1410, 1412, 1382, 1417, 1420, 1466, + /* 290 */ 1372, 1467, 1468, 1380, 1384, 1475, 1394, 1414, 1416, 1448, + /* 300 */ 1440, 1451, 1452, 1453, 1454, 1490, 1493, 1449, 1455, 1427, + /* 310 */ 1436, 1464, 1465, 1456, 1498, 1502, 1419, 1421, 1507, 1509, + /* 320 */ 1491, 1510, 1513, 1514, 1516, 1496, 1500, 1501, 1503, 1499, + /* 330 */ 1505, 1504, 1508, 1506, 1511, 1512, 1515, 1424, 1517, 1457, + /* 340 */ 1460, 1519, 1474, 1482, 1483, 1485, 1486, 1488, 1489, 1492, + /* 350 */ 1541, 1438, 1441, 1494, 1495, 1518, 1520, 1487, 1555, 1481, + /* 360 */ 1522, 1523, 1526, 1528, 1561, 1566, 1580, 1581, 1586, 1587, + /* 370 */ 1588, 1478, 1484, 1525, 1575, 1570, 1572, 1573, 1574, 1582, + /* 380 */ 1568, 1569, 1578, 1579, 1583, 1590, +}; +static const YYACTIONTYPE yy_default[] = { + /* 0 */ 1554, 1554, 1554, 1392, 1171, 1278, 1171, 1171, 1171, 1392, + /* 10 */ 1392, 1392, 1171, 1308, 1308, 1445, 1202, 1171, 1171, 1171, + /* 20 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1391, 1171, 1171, + /* 30 */ 1171, 1171, 1475, 1475, 1171, 1171, 1171, 1171, 1171, 1171, + /* 40 */ 1171, 1171, 1171, 1317, 1171, 1171, 1171, 1171, 1171, 1393, + /* 50 */ 1394, 1171, 1171, 1171, 1444, 1446, 1409, 1327, 1326, 1325, + /* 60 */ 1324, 1427, 1295, 1322, 1315, 1319, 1387, 1388, 1386, 1390, + /* 70 */ 1394, 1393, 1171, 1318, 1358, 1372, 1357, 1171, 1171, 1171, + /* 80 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 90 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 100 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 110 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 120 */ 1171, 1171, 1171, 1171, 1366, 1371, 1377, 1370, 1367, 1360, + /* 130 */ 1359, 1361, 1362, 1171, 1192, 1242, 1171, 1171, 1171, 1171, + /* 140 */ 1463, 1462, 1171, 1171, 1202, 1352, 1351, 1363, 1364, 1374, + /* 150 */ 1373, 1452, 1510, 1509, 1410, 1171, 1171, 1171, 1171, 1171, + /* 160 */ 1171, 1475, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 170 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 180 */ 1171, 1171, 1171, 1171, 1171, 1171, 1475, 1475, 1171, 1202, + /* 190 */ 1475, 1475, 1198, 1198, 1302, 1171, 1458, 1278, 1269, 1171, + /* 200 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 210 */ 1171, 1171, 1171, 1449, 1447, 1171, 1171, 1171, 1171, 1171, + /* 220 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 230 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 240 */ 1171, 1171, 1171, 1274, 1171, 1171, 1171, 1171, 1171, 1171, + /* 250 */ 1171, 1171, 1171, 1171, 1171, 1504, 1171, 1422, 1256, 1274, + /* 260 */ 1274, 1274, 1274, 1276, 1257, 1255, 1268, 1203, 1178, 1546, + /* 270 */ 1321, 1297, 1297, 1543, 1321, 1321, 1543, 1217, 1524, 1214, + /* 280 */ 1308, 1308, 1308, 1297, 1302, 1302, 1389, 1275, 1268, 1171, + /* 290 */ 1546, 1283, 1283, 1545, 1545, 1283, 1410, 1330, 1336, 1245, + /* 300 */ 1321, 1251, 1251, 1251, 1251, 1283, 1189, 1321, 1321, 1330, + /* 310 */ 1336, 1245, 1245, 1321, 1283, 1189, 1426, 1540, 1283, 1189, + /* 320 */ 1400, 1283, 1189, 1283, 1189, 1400, 1243, 1243, 1243, 1232, + /* 330 */ 1400, 1243, 1217, 1243, 1232, 1243, 1243, 1493, 1400, 1404, + /* 340 */ 1404, 1400, 1301, 1296, 1301, 1296, 1301, 1296, 1301, 1296, + /* 350 */ 1283, 1485, 1485, 1311, 1311, 1316, 1302, 1395, 1283, 1171, + /* 360 */ 1316, 1314, 1312, 1321, 1195, 1235, 1507, 1507, 1503, 1503, + /* 370 */ 1503, 1551, 1551, 1458, 1519, 1202, 1202, 1202, 1202, 1519, + /* 380 */ 1219, 1219, 1203, 1203, 1202, 1519, 1171, 1171, 1171, 1171, + /* 390 */ 1171, 1171, 1514, 1171, 1411, 1287, 1171, 1171, 1171, 1171, + /* 400 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 410 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1341, + /* 420 */ 1171, 1174, 1455, 1171, 1171, 1453, 1171, 1171, 1171, 1171, + /* 430 */ 1171, 1171, 1288, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 440 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 450 */ 1171, 1542, 1171, 1171, 1171, 1171, 1171, 1171, 1425, 1424, + /* 460 */ 1171, 1171, 1285, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 470 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 480 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 490 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 500 */ 1313, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 510 */ 1171, 1171, 1171, 1171, 1171, 1490, 1303, 1171, 1171, 1533, + /* 520 */ 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, 1171, + /* 530 */ 1171, 1171, 1171, 1171, 1528, 1259, 1343, 1171, 1342, 1346, + /* 540 */ 1171, 1183, 1171, +}; +/********** End of lemon-generated parsing tables *****************************/ + +/* The next table maps tokens (terminal symbols) into fallback tokens. +** If a construct like the following: +** +** %fallback ID X Y Z. +** +** appears in the grammar, then ID becomes a fallback token for X, Y, +** and Z. Whenever one of the tokens X, Y, or Z is input to the parser +** but it does not parse, the type of the token is changed to ID and +** the parse is retried before an error is thrown. +** +** This feature can be used, for example, to cause some keywords in a language +** to revert to identifiers if they keyword does not apply in the context where +** it appears. +*/ +#ifdef YYFALLBACK +static const YYCODETYPE yyFallback[] = { + 0, /* $ => nothing */ + 0, /* SEMI => nothing */ + 59, /* EXPLAIN => ID */ + 59, /* QUERY => ID */ + 59, /* PLAN => ID */ + 59, /* BEGIN => ID */ + 0, /* TRANSACTION => nothing */ + 59, /* DEFERRED => ID */ + 59, /* IMMEDIATE => ID */ + 59, /* EXCLUSIVE => ID */ + 0, /* COMMIT => nothing */ + 59, /* END => ID */ + 59, /* ROLLBACK => ID */ + 59, /* SAVEPOINT => ID */ + 59, /* RELEASE => ID */ + 0, /* TO => nothing */ + 0, /* TABLE => nothing */ + 0, /* CREATE => nothing */ + 59, /* IF => ID */ + 0, /* NOT => nothing */ + 0, /* EXISTS => nothing */ + 59, /* TEMP => ID */ + 0, /* LP => nothing */ + 0, /* RP => nothing */ + 0, /* AS => nothing */ + 59, /* WITHOUT => ID */ + 0, /* COMMA => nothing */ + 59, /* ABORT => ID */ + 59, /* ACTION => ID */ + 59, /* AFTER => ID */ + 59, /* ANALYZE => ID */ + 59, /* ASC => ID */ + 59, /* ATTACH => ID */ + 59, /* BEFORE => ID */ + 59, /* BY => ID */ + 59, /* CASCADE => ID */ + 59, /* CAST => ID */ + 59, /* CONFLICT => ID */ + 59, /* DATABASE => ID */ + 59, /* DESC => ID */ + 59, /* DETACH => ID */ + 59, /* EACH => ID */ + 59, /* FAIL => ID */ + 0, /* OR => nothing */ + 0, /* AND => nothing */ + 0, /* IS => nothing */ + 59, /* MATCH => ID */ + 59, /* LIKE_KW => ID */ + 0, /* BETWEEN => nothing */ + 0, /* IN => nothing */ + 0, /* ISNULL => nothing */ + 0, /* NOTNULL => nothing */ + 0, /* NE => nothing */ + 0, /* EQ => nothing */ + 0, /* GT => nothing */ + 0, /* LE => nothing */ + 0, /* LT => nothing */ + 0, /* GE => nothing */ + 0, /* ESCAPE => nothing */ + 0, /* ID => nothing */ + 59, /* COLUMNKW => ID */ + 59, /* DO => ID */ + 59, /* FOR => ID */ + 59, /* IGNORE => ID */ + 59, /* INITIALLY => ID */ + 59, /* INSTEAD => ID */ + 59, /* NO => ID */ + 59, /* KEY => ID */ + 59, /* OF => ID */ + 59, /* OFFSET => ID */ + 59, /* PRAGMA => ID */ + 59, /* RAISE => ID */ + 59, /* RECURSIVE => ID */ + 59, /* REPLACE => ID */ + 59, /* RESTRICT => ID */ + 59, /* ROW => ID */ + 59, /* ROWS => ID */ + 59, /* TRIGGER => ID */ + 59, /* VACUUM => ID */ + 59, /* VIEW => ID */ + 59, /* VIRTUAL => ID */ + 59, /* WITH => ID */ + 59, /* NULLS => ID */ + 59, /* FIRST => ID */ + 59, /* LAST => ID */ + 59, /* CURRENT => ID */ + 59, /* FOLLOWING => ID */ + 59, /* PARTITION => ID */ + 59, /* PRECEDING => ID */ + 59, /* RANGE => ID */ + 59, /* UNBOUNDED => ID */ + 59, /* EXCLUDE => ID */ + 59, /* GROUPS => ID */ + 59, /* OTHERS => ID */ + 59, /* TIES => ID */ + 59, /* REINDEX => ID */ + 59, /* RENAME => ID */ + 59, /* CTIME_KW => ID */ + 0, /* ANY => nothing */ + 0, /* BITAND => nothing */ + 0, /* BITOR => nothing */ + 0, /* LSHIFT => nothing */ + 0, /* RSHIFT => nothing */ + 0, /* PLUS => nothing */ + 0, /* MINUS => nothing */ + 0, /* STAR => nothing */ + 0, /* SLASH => nothing */ + 0, /* REM => nothing */ + 0, /* CONCAT => nothing */ + 0, /* COLLATE => nothing */ + 0, /* BITNOT => nothing */ + 0, /* ON => nothing */ + 0, /* INDEXED => nothing */ + 0, /* STRING => nothing */ + 0, /* JOIN_KW => nothing */ + 0, /* CONSTRAINT => nothing */ + 0, /* DEFAULT => nothing */ + 0, /* NULL => nothing */ + 0, /* PRIMARY => nothing */ + 0, /* UNIQUE => nothing */ + 0, /* CHECK => nothing */ + 0, /* REFERENCES => nothing */ + 0, /* AUTOINCR => nothing */ + 0, /* INSERT => nothing */ + 0, /* DELETE => nothing */ + 0, /* UPDATE => nothing */ + 0, /* SET => nothing */ + 0, /* DEFERRABLE => nothing */ + 0, /* FOREIGN => nothing */ + 0, /* DROP => nothing */ + 0, /* UNION => nothing */ + 0, /* ALL => nothing */ + 0, /* EXCEPT => nothing */ + 0, /* INTERSECT => nothing */ + 0, /* SELECT => nothing */ + 0, /* VALUES => nothing */ + 0, /* DISTINCT => nothing */ + 0, /* DOT => nothing */ + 0, /* FROM => nothing */ + 0, /* JOIN => nothing */ + 0, /* USING => nothing */ + 0, /* ORDER => nothing */ + 0, /* GROUP => nothing */ + 0, /* HAVING => nothing */ + 0, /* LIMIT => nothing */ + 0, /* WHERE => nothing */ + 0, /* INTO => nothing */ + 0, /* NOTHING => nothing */ + 0, /* FLOAT => nothing */ + 0, /* BLOB => nothing */ + 0, /* INTEGER => nothing */ + 0, /* VARIABLE => nothing */ + 0, /* CASE => nothing */ + 0, /* WHEN => nothing */ + 0, /* THEN => nothing */ + 0, /* ELSE => nothing */ + 0, /* INDEX => nothing */ + 0, /* ALTER => nothing */ + 0, /* ADD => nothing */ + 0, /* WINDOW => nothing */ + 0, /* OVER => nothing */ + 0, /* FILTER => nothing */ + 0, /* COLUMN => nothing */ + 0, /* AGG_FUNCTION => nothing */ + 0, /* AGG_COLUMN => nothing */ + 0, /* TRUEFALSE => nothing */ + 0, /* ISNOT => nothing */ + 0, /* FUNCTION => nothing */ + 0, /* UMINUS => nothing */ + 0, /* UPLUS => nothing */ + 0, /* TRUTH => nothing */ + 0, /* REGISTER => nothing */ + 0, /* VECTOR => nothing */ + 0, /* SELECT_COLUMN => nothing */ + 0, /* IF_NULL_ROW => nothing */ + 0, /* ASTERISK => nothing */ + 0, /* SPAN => nothing */ + 0, /* SPACE => nothing */ + 0, /* ILLEGAL => nothing */ +}; +#endif /* YYFALLBACK */ + +/* The following structure represents a single element of the +** parser's stack. Information stored includes: +** +** + The state number for the parser at this level of the stack. +** +** + The value of the token stored at this level of the stack. +** (In other words, the "major" token.) +** +** + The semantic value stored at this level of the stack. This is +** the information used by the action routines in the grammar. +** It is sometimes called the "minor" token. +** +** After the "shift" half of a SHIFTREDUCE action, the stateno field +** actually contains the reduce action for the second half of the +** SHIFTREDUCE. +*/ +struct yyStackEntry { + YYACTIONTYPE stateno; /* The state-number, or reduce action in SHIFTREDUCE */ + YYCODETYPE major; /* The major token value. This is the code + ** number for the token at this stack level */ + YYMINORTYPE minor; /* The user-supplied minor token value. This + ** is the value of the token */ +}; +typedef struct yyStackEntry yyStackEntry; + +/* The state of the parser is completely contained in an instance of +** the following structure */ +struct yyParser { + yyStackEntry *yytos; /* Pointer to top element of the stack */ +#ifdef YYTRACKMAXSTACKDEPTH + int yyhwm; /* High-water mark of the stack */ +#endif +#ifndef YYNOERRORRECOVERY + int yyerrcnt; /* Shifts left before out of the error */ +#endif + sqlite3ParserARG_SDECL /* A place to hold %extra_argument */ + sqlite3ParserCTX_SDECL /* A place to hold %extra_context */ +#if YYSTACKDEPTH<=0 + int yystksz; /* Current side of the stack */ + yyStackEntry *yystack; /* The parser's stack */ + yyStackEntry yystk0; /* First stack entry */ +#else + yyStackEntry yystack[YYSTACKDEPTH]; /* The parser's stack */ + yyStackEntry *yystackEnd; /* Last entry in the stack */ +#endif +}; +typedef struct yyParser yyParser; + +#ifndef NDEBUG +/* #include */ +static FILE *yyTraceFILE = 0; +static char *yyTracePrompt = 0; +#endif /* NDEBUG */ + +#ifndef NDEBUG +/* +** Turn parser tracing on by giving a stream to which to write the trace +** and a prompt to preface each trace message. Tracing is turned off +** by making either argument NULL +** +** Inputs: +**
      +**
    • A FILE* to which trace output should be written. +** If NULL, then tracing is turned off. +**
    • A prefix string written at the beginning of every +** line of trace output. If NULL, then tracing is +** turned off. +**
    +** +** Outputs: +** None. +*/ +SQLITE_PRIVATE void sqlite3ParserTrace(FILE *TraceFILE, char *zTracePrompt){ + yyTraceFILE = TraceFILE; + yyTracePrompt = zTracePrompt; + if( yyTraceFILE==0 ) yyTracePrompt = 0; + else if( yyTracePrompt==0 ) yyTraceFILE = 0; +} +#endif /* NDEBUG */ + +#if defined(YYCOVERAGE) || !defined(NDEBUG) +/* For tracing shifts, the names of all terminals and nonterminals +** are required. The following table supplies these names */ +static const char *const yyTokenName[] = { + /* 0 */ "$", + /* 1 */ "SEMI", + /* 2 */ "EXPLAIN", + /* 3 */ "QUERY", + /* 4 */ "PLAN", + /* 5 */ "BEGIN", + /* 6 */ "TRANSACTION", + /* 7 */ "DEFERRED", + /* 8 */ "IMMEDIATE", + /* 9 */ "EXCLUSIVE", + /* 10 */ "COMMIT", + /* 11 */ "END", + /* 12 */ "ROLLBACK", + /* 13 */ "SAVEPOINT", + /* 14 */ "RELEASE", + /* 15 */ "TO", + /* 16 */ "TABLE", + /* 17 */ "CREATE", + /* 18 */ "IF", + /* 19 */ "NOT", + /* 20 */ "EXISTS", + /* 21 */ "TEMP", + /* 22 */ "LP", + /* 23 */ "RP", + /* 24 */ "AS", + /* 25 */ "WITHOUT", + /* 26 */ "COMMA", + /* 27 */ "ABORT", + /* 28 */ "ACTION", + /* 29 */ "AFTER", + /* 30 */ "ANALYZE", + /* 31 */ "ASC", + /* 32 */ "ATTACH", + /* 33 */ "BEFORE", + /* 34 */ "BY", + /* 35 */ "CASCADE", + /* 36 */ "CAST", + /* 37 */ "CONFLICT", + /* 38 */ "DATABASE", + /* 39 */ "DESC", + /* 40 */ "DETACH", + /* 41 */ "EACH", + /* 42 */ "FAIL", + /* 43 */ "OR", + /* 44 */ "AND", + /* 45 */ "IS", + /* 46 */ "MATCH", + /* 47 */ "LIKE_KW", + /* 48 */ "BETWEEN", + /* 49 */ "IN", + /* 50 */ "ISNULL", + /* 51 */ "NOTNULL", + /* 52 */ "NE", + /* 53 */ "EQ", + /* 54 */ "GT", + /* 55 */ "LE", + /* 56 */ "LT", + /* 57 */ "GE", + /* 58 */ "ESCAPE", + /* 59 */ "ID", + /* 60 */ "COLUMNKW", + /* 61 */ "DO", + /* 62 */ "FOR", + /* 63 */ "IGNORE", + /* 64 */ "INITIALLY", + /* 65 */ "INSTEAD", + /* 66 */ "NO", + /* 67 */ "KEY", + /* 68 */ "OF", + /* 69 */ "OFFSET", + /* 70 */ "PRAGMA", + /* 71 */ "RAISE", + /* 72 */ "RECURSIVE", + /* 73 */ "REPLACE", + /* 74 */ "RESTRICT", + /* 75 */ "ROW", + /* 76 */ "ROWS", + /* 77 */ "TRIGGER", + /* 78 */ "VACUUM", + /* 79 */ "VIEW", + /* 80 */ "VIRTUAL", + /* 81 */ "WITH", + /* 82 */ "NULLS", + /* 83 */ "FIRST", + /* 84 */ "LAST", + /* 85 */ "CURRENT", + /* 86 */ "FOLLOWING", + /* 87 */ "PARTITION", + /* 88 */ "PRECEDING", + /* 89 */ "RANGE", + /* 90 */ "UNBOUNDED", + /* 91 */ "EXCLUDE", + /* 92 */ "GROUPS", + /* 93 */ "OTHERS", + /* 94 */ "TIES", + /* 95 */ "REINDEX", + /* 96 */ "RENAME", + /* 97 */ "CTIME_KW", + /* 98 */ "ANY", + /* 99 */ "BITAND", + /* 100 */ "BITOR", + /* 101 */ "LSHIFT", + /* 102 */ "RSHIFT", + /* 103 */ "PLUS", + /* 104 */ "MINUS", + /* 105 */ "STAR", + /* 106 */ "SLASH", + /* 107 */ "REM", + /* 108 */ "CONCAT", + /* 109 */ "COLLATE", + /* 110 */ "BITNOT", + /* 111 */ "ON", + /* 112 */ "INDEXED", + /* 113 */ "STRING", + /* 114 */ "JOIN_KW", + /* 115 */ "CONSTRAINT", + /* 116 */ "DEFAULT", + /* 117 */ "NULL", + /* 118 */ "PRIMARY", + /* 119 */ "UNIQUE", + /* 120 */ "CHECK", + /* 121 */ "REFERENCES", + /* 122 */ "AUTOINCR", + /* 123 */ "INSERT", + /* 124 */ "DELETE", + /* 125 */ "UPDATE", + /* 126 */ "SET", + /* 127 */ "DEFERRABLE", + /* 128 */ "FOREIGN", + /* 129 */ "DROP", + /* 130 */ "UNION", + /* 131 */ "ALL", + /* 132 */ "EXCEPT", + /* 133 */ "INTERSECT", + /* 134 */ "SELECT", + /* 135 */ "VALUES", + /* 136 */ "DISTINCT", + /* 137 */ "DOT", + /* 138 */ "FROM", + /* 139 */ "JOIN", + /* 140 */ "USING", + /* 141 */ "ORDER", + /* 142 */ "GROUP", + /* 143 */ "HAVING", + /* 144 */ "LIMIT", + /* 145 */ "WHERE", + /* 146 */ "INTO", + /* 147 */ "NOTHING", + /* 148 */ "FLOAT", + /* 149 */ "BLOB", + /* 150 */ "INTEGER", + /* 151 */ "VARIABLE", + /* 152 */ "CASE", + /* 153 */ "WHEN", + /* 154 */ "THEN", + /* 155 */ "ELSE", + /* 156 */ "INDEX", + /* 157 */ "ALTER", + /* 158 */ "ADD", + /* 159 */ "WINDOW", + /* 160 */ "OVER", + /* 161 */ "FILTER", + /* 162 */ "COLUMN", + /* 163 */ "AGG_FUNCTION", + /* 164 */ "AGG_COLUMN", + /* 165 */ "TRUEFALSE", + /* 166 */ "ISNOT", + /* 167 */ "FUNCTION", + /* 168 */ "UMINUS", + /* 169 */ "UPLUS", + /* 170 */ "TRUTH", + /* 171 */ "REGISTER", + /* 172 */ "VECTOR", + /* 173 */ "SELECT_COLUMN", + /* 174 */ "IF_NULL_ROW", + /* 175 */ "ASTERISK", + /* 176 */ "SPAN", + /* 177 */ "SPACE", + /* 178 */ "ILLEGAL", + /* 179 */ "input", + /* 180 */ "cmdlist", + /* 181 */ "ecmd", + /* 182 */ "cmdx", + /* 183 */ "explain", + /* 184 */ "cmd", + /* 185 */ "transtype", + /* 186 */ "trans_opt", + /* 187 */ "nm", + /* 188 */ "savepoint_opt", + /* 189 */ "create_table", + /* 190 */ "create_table_args", + /* 191 */ "createkw", + /* 192 */ "temp", + /* 193 */ "ifnotexists", + /* 194 */ "dbnm", + /* 195 */ "columnlist", + /* 196 */ "conslist_opt", + /* 197 */ "table_options", + /* 198 */ "select", + /* 199 */ "columnname", + /* 200 */ "carglist", + /* 201 */ "typetoken", + /* 202 */ "typename", + /* 203 */ "signed", + /* 204 */ "plus_num", + /* 205 */ "minus_num", + /* 206 */ "scanpt", + /* 207 */ "scantok", + /* 208 */ "ccons", + /* 209 */ "term", + /* 210 */ "expr", + /* 211 */ "onconf", + /* 212 */ "sortorder", + /* 213 */ "autoinc", + /* 214 */ "eidlist_opt", + /* 215 */ "refargs", + /* 216 */ "defer_subclause", + /* 217 */ "refarg", + /* 218 */ "refact", + /* 219 */ "init_deferred_pred_opt", + /* 220 */ "conslist", + /* 221 */ "tconscomma", + /* 222 */ "tcons", + /* 223 */ "sortlist", + /* 224 */ "eidlist", + /* 225 */ "defer_subclause_opt", + /* 226 */ "orconf", + /* 227 */ "resolvetype", + /* 228 */ "raisetype", + /* 229 */ "ifexists", + /* 230 */ "fullname", + /* 231 */ "selectnowith", + /* 232 */ "oneselect", + /* 233 */ "wqlist", + /* 234 */ "multiselect_op", + /* 235 */ "distinct", + /* 236 */ "selcollist", + /* 237 */ "from", + /* 238 */ "where_opt", + /* 239 */ "groupby_opt", + /* 240 */ "having_opt", + /* 241 */ "orderby_opt", + /* 242 */ "limit_opt", + /* 243 */ "window_clause", + /* 244 */ "values", + /* 245 */ "nexprlist", + /* 246 */ "sclp", + /* 247 */ "as", + /* 248 */ "seltablist", + /* 249 */ "stl_prefix", + /* 250 */ "joinop", + /* 251 */ "indexed_opt", + /* 252 */ "on_opt", + /* 253 */ "using_opt", + /* 254 */ "exprlist", + /* 255 */ "xfullname", + /* 256 */ "idlist", + /* 257 */ "nulls", + /* 258 */ "with", + /* 259 */ "setlist", + /* 260 */ "insert_cmd", + /* 261 */ "idlist_opt", + /* 262 */ "upsert", + /* 263 */ "filter_over", + /* 264 */ "likeop", + /* 265 */ "between_op", + /* 266 */ "in_op", + /* 267 */ "paren_exprlist", + /* 268 */ "case_operand", + /* 269 */ "case_exprlist", + /* 270 */ "case_else", + /* 271 */ "uniqueflag", + /* 272 */ "collate", + /* 273 */ "vinto", + /* 274 */ "nmnum", + /* 275 */ "trigger_decl", + /* 276 */ "trigger_cmd_list", + /* 277 */ "trigger_time", + /* 278 */ "trigger_event", + /* 279 */ "foreach_clause", + /* 280 */ "when_clause", + /* 281 */ "trigger_cmd", + /* 282 */ "trnm", + /* 283 */ "tridxby", + /* 284 */ "database_kw_opt", + /* 285 */ "key_opt", + /* 286 */ "add_column_fullname", + /* 287 */ "kwcolumn_opt", + /* 288 */ "create_vtab", + /* 289 */ "vtabarglist", + /* 290 */ "vtabarg", + /* 291 */ "vtabargtoken", + /* 292 */ "lp", + /* 293 */ "anylist", + /* 294 */ "windowdefn_list", + /* 295 */ "windowdefn", + /* 296 */ "window", + /* 297 */ "frame_opt", + /* 298 */ "part_opt", + /* 299 */ "filter_clause", + /* 300 */ "over_clause", + /* 301 */ "range_or_rows", + /* 302 */ "frame_bound", + /* 303 */ "frame_bound_s", + /* 304 */ "frame_bound_e", + /* 305 */ "frame_exclude_opt", + /* 306 */ "frame_exclude", +}; +#endif /* defined(YYCOVERAGE) || !defined(NDEBUG) */ + +#ifndef NDEBUG +/* For tracing reduce actions, the names of all rules are required. +*/ +static const char *const yyRuleName[] = { + /* 0 */ "explain ::= EXPLAIN", + /* 1 */ "explain ::= EXPLAIN QUERY PLAN", + /* 2 */ "cmdx ::= cmd", + /* 3 */ "cmd ::= BEGIN transtype trans_opt", + /* 4 */ "transtype ::=", + /* 5 */ "transtype ::= DEFERRED", + /* 6 */ "transtype ::= IMMEDIATE", + /* 7 */ "transtype ::= EXCLUSIVE", + /* 8 */ "cmd ::= COMMIT|END trans_opt", + /* 9 */ "cmd ::= ROLLBACK trans_opt", + /* 10 */ "cmd ::= SAVEPOINT nm", + /* 11 */ "cmd ::= RELEASE savepoint_opt nm", + /* 12 */ "cmd ::= ROLLBACK trans_opt TO savepoint_opt nm", + /* 13 */ "create_table ::= createkw temp TABLE ifnotexists nm dbnm", + /* 14 */ "createkw ::= CREATE", + /* 15 */ "ifnotexists ::=", + /* 16 */ "ifnotexists ::= IF NOT EXISTS", + /* 17 */ "temp ::= TEMP", + /* 18 */ "temp ::=", + /* 19 */ "create_table_args ::= LP columnlist conslist_opt RP table_options", + /* 20 */ "create_table_args ::= AS select", + /* 21 */ "table_options ::=", + /* 22 */ "table_options ::= WITHOUT nm", + /* 23 */ "columnname ::= nm typetoken", + /* 24 */ "typetoken ::=", + /* 25 */ "typetoken ::= typename LP signed RP", + /* 26 */ "typetoken ::= typename LP signed COMMA signed RP", + /* 27 */ "typename ::= typename ID|STRING", + /* 28 */ "scanpt ::=", + /* 29 */ "scantok ::=", + /* 30 */ "ccons ::= CONSTRAINT nm", + /* 31 */ "ccons ::= DEFAULT scantok term", + /* 32 */ "ccons ::= DEFAULT LP expr RP", + /* 33 */ "ccons ::= DEFAULT PLUS scantok term", + /* 34 */ "ccons ::= DEFAULT MINUS scantok term", + /* 35 */ "ccons ::= DEFAULT scantok ID|INDEXED", + /* 36 */ "ccons ::= NOT NULL onconf", + /* 37 */ "ccons ::= PRIMARY KEY sortorder onconf autoinc", + /* 38 */ "ccons ::= UNIQUE onconf", + /* 39 */ "ccons ::= CHECK LP expr RP", + /* 40 */ "ccons ::= REFERENCES nm eidlist_opt refargs", + /* 41 */ "ccons ::= defer_subclause", + /* 42 */ "ccons ::= COLLATE ID|STRING", + /* 43 */ "autoinc ::=", + /* 44 */ "autoinc ::= AUTOINCR", + /* 45 */ "refargs ::=", + /* 46 */ "refargs ::= refargs refarg", + /* 47 */ "refarg ::= MATCH nm", + /* 48 */ "refarg ::= ON INSERT refact", + /* 49 */ "refarg ::= ON DELETE refact", + /* 50 */ "refarg ::= ON UPDATE refact", + /* 51 */ "refact ::= SET NULL", + /* 52 */ "refact ::= SET DEFAULT", + /* 53 */ "refact ::= CASCADE", + /* 54 */ "refact ::= RESTRICT", + /* 55 */ "refact ::= NO ACTION", + /* 56 */ "defer_subclause ::= NOT DEFERRABLE init_deferred_pred_opt", + /* 57 */ "defer_subclause ::= DEFERRABLE init_deferred_pred_opt", + /* 58 */ "init_deferred_pred_opt ::=", + /* 59 */ "init_deferred_pred_opt ::= INITIALLY DEFERRED", + /* 60 */ "init_deferred_pred_opt ::= INITIALLY IMMEDIATE", + /* 61 */ "conslist_opt ::=", + /* 62 */ "tconscomma ::= COMMA", + /* 63 */ "tcons ::= CONSTRAINT nm", + /* 64 */ "tcons ::= PRIMARY KEY LP sortlist autoinc RP onconf", + /* 65 */ "tcons ::= UNIQUE LP sortlist RP onconf", + /* 66 */ "tcons ::= CHECK LP expr RP onconf", + /* 67 */ "tcons ::= FOREIGN KEY LP eidlist RP REFERENCES nm eidlist_opt refargs defer_subclause_opt", + /* 68 */ "defer_subclause_opt ::=", + /* 69 */ "onconf ::=", + /* 70 */ "onconf ::= ON CONFLICT resolvetype", + /* 71 */ "orconf ::=", + /* 72 */ "orconf ::= OR resolvetype", + /* 73 */ "resolvetype ::= IGNORE", + /* 74 */ "resolvetype ::= REPLACE", + /* 75 */ "cmd ::= DROP TABLE ifexists fullname", + /* 76 */ "ifexists ::= IF EXISTS", + /* 77 */ "ifexists ::=", + /* 78 */ "cmd ::= createkw temp VIEW ifnotexists nm dbnm eidlist_opt AS select", + /* 79 */ "cmd ::= DROP VIEW ifexists fullname", + /* 80 */ "cmd ::= select", + /* 81 */ "select ::= WITH wqlist selectnowith", + /* 82 */ "select ::= WITH RECURSIVE wqlist selectnowith", + /* 83 */ "select ::= selectnowith", + /* 84 */ "selectnowith ::= selectnowith multiselect_op oneselect", + /* 85 */ "multiselect_op ::= UNION", + /* 86 */ "multiselect_op ::= UNION ALL", + /* 87 */ "multiselect_op ::= EXCEPT|INTERSECT", + /* 88 */ "oneselect ::= SELECT distinct selcollist from where_opt groupby_opt having_opt orderby_opt limit_opt", + /* 89 */ "oneselect ::= SELECT distinct selcollist from where_opt groupby_opt having_opt window_clause orderby_opt limit_opt", + /* 90 */ "values ::= VALUES LP nexprlist RP", + /* 91 */ "values ::= values COMMA LP nexprlist RP", + /* 92 */ "distinct ::= DISTINCT", + /* 93 */ "distinct ::= ALL", + /* 94 */ "distinct ::=", + /* 95 */ "sclp ::=", + /* 96 */ "selcollist ::= sclp scanpt expr scanpt as", + /* 97 */ "selcollist ::= sclp scanpt STAR", + /* 98 */ "selcollist ::= sclp scanpt nm DOT STAR", + /* 99 */ "as ::= AS nm", + /* 100 */ "as ::=", + /* 101 */ "from ::=", + /* 102 */ "from ::= FROM seltablist", + /* 103 */ "stl_prefix ::= seltablist joinop", + /* 104 */ "stl_prefix ::=", + /* 105 */ "seltablist ::= stl_prefix nm dbnm as indexed_opt on_opt using_opt", + /* 106 */ "seltablist ::= stl_prefix nm dbnm LP exprlist RP as on_opt using_opt", + /* 107 */ "seltablist ::= stl_prefix LP select RP as on_opt using_opt", + /* 108 */ "seltablist ::= stl_prefix LP seltablist RP as on_opt using_opt", + /* 109 */ "dbnm ::=", + /* 110 */ "dbnm ::= DOT nm", + /* 111 */ "fullname ::= nm", + /* 112 */ "fullname ::= nm DOT nm", + /* 113 */ "xfullname ::= nm", + /* 114 */ "xfullname ::= nm DOT nm", + /* 115 */ "xfullname ::= nm DOT nm AS nm", + /* 116 */ "xfullname ::= nm AS nm", + /* 117 */ "joinop ::= COMMA|JOIN", + /* 118 */ "joinop ::= JOIN_KW JOIN", + /* 119 */ "joinop ::= JOIN_KW nm JOIN", + /* 120 */ "joinop ::= JOIN_KW nm nm JOIN", + /* 121 */ "on_opt ::= ON expr", + /* 122 */ "on_opt ::=", + /* 123 */ "indexed_opt ::=", + /* 124 */ "indexed_opt ::= INDEXED BY nm", + /* 125 */ "indexed_opt ::= NOT INDEXED", + /* 126 */ "using_opt ::= USING LP idlist RP", + /* 127 */ "using_opt ::=", + /* 128 */ "orderby_opt ::=", + /* 129 */ "orderby_opt ::= ORDER BY sortlist", + /* 130 */ "sortlist ::= sortlist COMMA expr sortorder nulls", + /* 131 */ "sortlist ::= expr sortorder nulls", + /* 132 */ "sortorder ::= ASC", + /* 133 */ "sortorder ::= DESC", + /* 134 */ "sortorder ::=", + /* 135 */ "nulls ::= NULLS FIRST", + /* 136 */ "nulls ::= NULLS LAST", + /* 137 */ "nulls ::=", + /* 138 */ "groupby_opt ::=", + /* 139 */ "groupby_opt ::= GROUP BY nexprlist", + /* 140 */ "having_opt ::=", + /* 141 */ "having_opt ::= HAVING expr", + /* 142 */ "limit_opt ::=", + /* 143 */ "limit_opt ::= LIMIT expr", + /* 144 */ "limit_opt ::= LIMIT expr OFFSET expr", + /* 145 */ "limit_opt ::= LIMIT expr COMMA expr", + /* 146 */ "cmd ::= with DELETE FROM xfullname indexed_opt where_opt", + /* 147 */ "where_opt ::=", + /* 148 */ "where_opt ::= WHERE expr", + /* 149 */ "cmd ::= with UPDATE orconf xfullname indexed_opt SET setlist where_opt", + /* 150 */ "setlist ::= setlist COMMA nm EQ expr", + /* 151 */ "setlist ::= setlist COMMA LP idlist RP EQ expr", + /* 152 */ "setlist ::= nm EQ expr", + /* 153 */ "setlist ::= LP idlist RP EQ expr", + /* 154 */ "cmd ::= with insert_cmd INTO xfullname idlist_opt select upsert", + /* 155 */ "cmd ::= with insert_cmd INTO xfullname idlist_opt DEFAULT VALUES", + /* 156 */ "upsert ::=", + /* 157 */ "upsert ::= ON CONFLICT LP sortlist RP where_opt DO UPDATE SET setlist where_opt", + /* 158 */ "upsert ::= ON CONFLICT LP sortlist RP where_opt DO NOTHING", + /* 159 */ "upsert ::= ON CONFLICT DO NOTHING", + /* 160 */ "insert_cmd ::= INSERT orconf", + /* 161 */ "insert_cmd ::= REPLACE", + /* 162 */ "idlist_opt ::=", + /* 163 */ "idlist_opt ::= LP idlist RP", + /* 164 */ "idlist ::= idlist COMMA nm", + /* 165 */ "idlist ::= nm", + /* 166 */ "expr ::= LP expr RP", + /* 167 */ "expr ::= ID|INDEXED", + /* 168 */ "expr ::= JOIN_KW", + /* 169 */ "expr ::= nm DOT nm", + /* 170 */ "expr ::= nm DOT nm DOT nm", + /* 171 */ "term ::= NULL|FLOAT|BLOB", + /* 172 */ "term ::= STRING", + /* 173 */ "term ::= INTEGER", + /* 174 */ "expr ::= VARIABLE", + /* 175 */ "expr ::= expr COLLATE ID|STRING", + /* 176 */ "expr ::= CAST LP expr AS typetoken RP", + /* 177 */ "expr ::= ID|INDEXED LP distinct exprlist RP", + /* 178 */ "expr ::= ID|INDEXED LP STAR RP", + /* 179 */ "expr ::= ID|INDEXED LP distinct exprlist RP filter_over", + /* 180 */ "expr ::= ID|INDEXED LP STAR RP filter_over", + /* 181 */ "term ::= CTIME_KW", + /* 182 */ "expr ::= LP nexprlist COMMA expr RP", + /* 183 */ "expr ::= expr AND expr", + /* 184 */ "expr ::= expr OR expr", + /* 185 */ "expr ::= expr LT|GT|GE|LE expr", + /* 186 */ "expr ::= expr EQ|NE expr", + /* 187 */ "expr ::= expr BITAND|BITOR|LSHIFT|RSHIFT expr", + /* 188 */ "expr ::= expr PLUS|MINUS expr", + /* 189 */ "expr ::= expr STAR|SLASH|REM expr", + /* 190 */ "expr ::= expr CONCAT expr", + /* 191 */ "likeop ::= NOT LIKE_KW|MATCH", + /* 192 */ "expr ::= expr likeop expr", + /* 193 */ "expr ::= expr likeop expr ESCAPE expr", + /* 194 */ "expr ::= expr ISNULL|NOTNULL", + /* 195 */ "expr ::= expr NOT NULL", + /* 196 */ "expr ::= expr IS expr", + /* 197 */ "expr ::= expr IS NOT expr", + /* 198 */ "expr ::= NOT expr", + /* 199 */ "expr ::= BITNOT expr", + /* 200 */ "expr ::= PLUS|MINUS expr", + /* 201 */ "between_op ::= BETWEEN", + /* 202 */ "between_op ::= NOT BETWEEN", + /* 203 */ "expr ::= expr between_op expr AND expr", + /* 204 */ "in_op ::= IN", + /* 205 */ "in_op ::= NOT IN", + /* 206 */ "expr ::= expr in_op LP exprlist RP", + /* 207 */ "expr ::= LP select RP", + /* 208 */ "expr ::= expr in_op LP select RP", + /* 209 */ "expr ::= expr in_op nm dbnm paren_exprlist", + /* 210 */ "expr ::= EXISTS LP select RP", + /* 211 */ "expr ::= CASE case_operand case_exprlist case_else END", + /* 212 */ "case_exprlist ::= case_exprlist WHEN expr THEN expr", + /* 213 */ "case_exprlist ::= WHEN expr THEN expr", + /* 214 */ "case_else ::= ELSE expr", + /* 215 */ "case_else ::=", + /* 216 */ "case_operand ::= expr", + /* 217 */ "case_operand ::=", + /* 218 */ "exprlist ::=", + /* 219 */ "nexprlist ::= nexprlist COMMA expr", + /* 220 */ "nexprlist ::= expr", + /* 221 */ "paren_exprlist ::=", + /* 222 */ "paren_exprlist ::= LP exprlist RP", + /* 223 */ "cmd ::= createkw uniqueflag INDEX ifnotexists nm dbnm ON nm LP sortlist RP where_opt", + /* 224 */ "uniqueflag ::= UNIQUE", + /* 225 */ "uniqueflag ::=", + /* 226 */ "eidlist_opt ::=", + /* 227 */ "eidlist_opt ::= LP eidlist RP", + /* 228 */ "eidlist ::= eidlist COMMA nm collate sortorder", + /* 229 */ "eidlist ::= nm collate sortorder", + /* 230 */ "collate ::=", + /* 231 */ "collate ::= COLLATE ID|STRING", + /* 232 */ "cmd ::= DROP INDEX ifexists fullname", + /* 233 */ "cmd ::= VACUUM vinto", + /* 234 */ "cmd ::= VACUUM nm vinto", + /* 235 */ "vinto ::= INTO expr", + /* 236 */ "vinto ::=", + /* 237 */ "cmd ::= PRAGMA nm dbnm", + /* 238 */ "cmd ::= PRAGMA nm dbnm EQ nmnum", + /* 239 */ "cmd ::= PRAGMA nm dbnm LP nmnum RP", + /* 240 */ "cmd ::= PRAGMA nm dbnm EQ minus_num", + /* 241 */ "cmd ::= PRAGMA nm dbnm LP minus_num RP", + /* 242 */ "plus_num ::= PLUS INTEGER|FLOAT", + /* 243 */ "minus_num ::= MINUS INTEGER|FLOAT", + /* 244 */ "cmd ::= createkw trigger_decl BEGIN trigger_cmd_list END", + /* 245 */ "trigger_decl ::= temp TRIGGER ifnotexists nm dbnm trigger_time trigger_event ON fullname foreach_clause when_clause", + /* 246 */ "trigger_time ::= BEFORE|AFTER", + /* 247 */ "trigger_time ::= INSTEAD OF", + /* 248 */ "trigger_time ::=", + /* 249 */ "trigger_event ::= DELETE|INSERT", + /* 250 */ "trigger_event ::= UPDATE", + /* 251 */ "trigger_event ::= UPDATE OF idlist", + /* 252 */ "when_clause ::=", + /* 253 */ "when_clause ::= WHEN expr", + /* 254 */ "trigger_cmd_list ::= trigger_cmd_list trigger_cmd SEMI", + /* 255 */ "trigger_cmd_list ::= trigger_cmd SEMI", + /* 256 */ "trnm ::= nm DOT nm", + /* 257 */ "tridxby ::= INDEXED BY nm", + /* 258 */ "tridxby ::= NOT INDEXED", + /* 259 */ "trigger_cmd ::= UPDATE orconf trnm tridxby SET setlist where_opt scanpt", + /* 260 */ "trigger_cmd ::= scanpt insert_cmd INTO trnm idlist_opt select upsert scanpt", + /* 261 */ "trigger_cmd ::= DELETE FROM trnm tridxby where_opt scanpt", + /* 262 */ "trigger_cmd ::= scanpt select scanpt", + /* 263 */ "expr ::= RAISE LP IGNORE RP", + /* 264 */ "expr ::= RAISE LP raisetype COMMA nm RP", + /* 265 */ "raisetype ::= ROLLBACK", + /* 266 */ "raisetype ::= ABORT", + /* 267 */ "raisetype ::= FAIL", + /* 268 */ "cmd ::= DROP TRIGGER ifexists fullname", + /* 269 */ "cmd ::= ATTACH database_kw_opt expr AS expr key_opt", + /* 270 */ "cmd ::= DETACH database_kw_opt expr", + /* 271 */ "key_opt ::=", + /* 272 */ "key_opt ::= KEY expr", + /* 273 */ "cmd ::= REINDEX", + /* 274 */ "cmd ::= REINDEX nm dbnm", + /* 275 */ "cmd ::= ANALYZE", + /* 276 */ "cmd ::= ANALYZE nm dbnm", + /* 277 */ "cmd ::= ALTER TABLE fullname RENAME TO nm", + /* 278 */ "cmd ::= ALTER TABLE add_column_fullname ADD kwcolumn_opt columnname carglist", + /* 279 */ "add_column_fullname ::= fullname", + /* 280 */ "cmd ::= ALTER TABLE fullname RENAME kwcolumn_opt nm TO nm", + /* 281 */ "cmd ::= create_vtab", + /* 282 */ "cmd ::= create_vtab LP vtabarglist RP", + /* 283 */ "create_vtab ::= createkw VIRTUAL TABLE ifnotexists nm dbnm USING nm", + /* 284 */ "vtabarg ::=", + /* 285 */ "vtabargtoken ::= ANY", + /* 286 */ "vtabargtoken ::= lp anylist RP", + /* 287 */ "lp ::= LP", + /* 288 */ "with ::= WITH wqlist", + /* 289 */ "with ::= WITH RECURSIVE wqlist", + /* 290 */ "wqlist ::= nm eidlist_opt AS LP select RP", + /* 291 */ "wqlist ::= wqlist COMMA nm eidlist_opt AS LP select RP", + /* 292 */ "windowdefn_list ::= windowdefn", + /* 293 */ "windowdefn_list ::= windowdefn_list COMMA windowdefn", + /* 294 */ "windowdefn ::= nm AS LP window RP", + /* 295 */ "window ::= PARTITION BY nexprlist orderby_opt frame_opt", + /* 296 */ "window ::= nm PARTITION BY nexprlist orderby_opt frame_opt", + /* 297 */ "window ::= ORDER BY sortlist frame_opt", + /* 298 */ "window ::= nm ORDER BY sortlist frame_opt", + /* 299 */ "window ::= frame_opt", + /* 300 */ "window ::= nm frame_opt", + /* 301 */ "frame_opt ::=", + /* 302 */ "frame_opt ::= range_or_rows frame_bound_s frame_exclude_opt", + /* 303 */ "frame_opt ::= range_or_rows BETWEEN frame_bound_s AND frame_bound_e frame_exclude_opt", + /* 304 */ "range_or_rows ::= RANGE|ROWS|GROUPS", + /* 305 */ "frame_bound_s ::= frame_bound", + /* 306 */ "frame_bound_s ::= UNBOUNDED PRECEDING", + /* 307 */ "frame_bound_e ::= frame_bound", + /* 308 */ "frame_bound_e ::= UNBOUNDED FOLLOWING", + /* 309 */ "frame_bound ::= expr PRECEDING|FOLLOWING", + /* 310 */ "frame_bound ::= CURRENT ROW", + /* 311 */ "frame_exclude_opt ::=", + /* 312 */ "frame_exclude_opt ::= EXCLUDE frame_exclude", + /* 313 */ "frame_exclude ::= NO OTHERS", + /* 314 */ "frame_exclude ::= CURRENT ROW", + /* 315 */ "frame_exclude ::= GROUP|TIES", + /* 316 */ "window_clause ::= WINDOW windowdefn_list", + /* 317 */ "filter_over ::= filter_clause over_clause", + /* 318 */ "filter_over ::= over_clause", + /* 319 */ "filter_over ::= filter_clause", + /* 320 */ "over_clause ::= OVER LP window RP", + /* 321 */ "over_clause ::= OVER nm", + /* 322 */ "filter_clause ::= FILTER LP WHERE expr RP", + /* 323 */ "input ::= cmdlist", + /* 324 */ "cmdlist ::= cmdlist ecmd", + /* 325 */ "cmdlist ::= ecmd", + /* 326 */ "ecmd ::= SEMI", + /* 327 */ "ecmd ::= cmdx SEMI", + /* 328 */ "ecmd ::= explain cmdx", + /* 329 */ "trans_opt ::=", + /* 330 */ "trans_opt ::= TRANSACTION", + /* 331 */ "trans_opt ::= TRANSACTION nm", + /* 332 */ "savepoint_opt ::= SAVEPOINT", + /* 333 */ "savepoint_opt ::=", + /* 334 */ "cmd ::= create_table create_table_args", + /* 335 */ "columnlist ::= columnlist COMMA columnname carglist", + /* 336 */ "columnlist ::= columnname carglist", + /* 337 */ "nm ::= ID|INDEXED", + /* 338 */ "nm ::= STRING", + /* 339 */ "nm ::= JOIN_KW", + /* 340 */ "typetoken ::= typename", + /* 341 */ "typename ::= ID|STRING", + /* 342 */ "signed ::= plus_num", + /* 343 */ "signed ::= minus_num", + /* 344 */ "carglist ::= carglist ccons", + /* 345 */ "carglist ::=", + /* 346 */ "ccons ::= NULL onconf", + /* 347 */ "conslist_opt ::= COMMA conslist", + /* 348 */ "conslist ::= conslist tconscomma tcons", + /* 349 */ "conslist ::= tcons", + /* 350 */ "tconscomma ::=", + /* 351 */ "defer_subclause_opt ::= defer_subclause", + /* 352 */ "resolvetype ::= raisetype", + /* 353 */ "selectnowith ::= oneselect", + /* 354 */ "oneselect ::= values", + /* 355 */ "sclp ::= selcollist COMMA", + /* 356 */ "as ::= ID|STRING", + /* 357 */ "expr ::= term", + /* 358 */ "likeop ::= LIKE_KW|MATCH", + /* 359 */ "exprlist ::= nexprlist", + /* 360 */ "nmnum ::= plus_num", + /* 361 */ "nmnum ::= nm", + /* 362 */ "nmnum ::= ON", + /* 363 */ "nmnum ::= DELETE", + /* 364 */ "nmnum ::= DEFAULT", + /* 365 */ "plus_num ::= INTEGER|FLOAT", + /* 366 */ "foreach_clause ::=", + /* 367 */ "foreach_clause ::= FOR EACH ROW", + /* 368 */ "trnm ::= nm", + /* 369 */ "tridxby ::=", + /* 370 */ "database_kw_opt ::= DATABASE", + /* 371 */ "database_kw_opt ::=", + /* 372 */ "kwcolumn_opt ::=", + /* 373 */ "kwcolumn_opt ::= COLUMNKW", + /* 374 */ "vtabarglist ::= vtabarg", + /* 375 */ "vtabarglist ::= vtabarglist COMMA vtabarg", + /* 376 */ "vtabarg ::= vtabarg vtabargtoken", + /* 377 */ "anylist ::=", + /* 378 */ "anylist ::= anylist LP anylist RP", + /* 379 */ "anylist ::= anylist ANY", + /* 380 */ "with ::=", +}; +#endif /* NDEBUG */ + + +#if YYSTACKDEPTH<=0 +/* +** Try to increase the size of the parser stack. Return the number +** of errors. Return 0 on success. +*/ +static int yyGrowStack(yyParser *p){ + int newSize; + int idx; + yyStackEntry *pNew; + + newSize = p->yystksz*2 + 100; + idx = p->yytos ? (int)(p->yytos - p->yystack) : 0; + if( p->yystack==&p->yystk0 ){ + pNew = malloc(newSize*sizeof(pNew[0])); + if( pNew ) pNew[0] = p->yystk0; + }else{ + pNew = realloc(p->yystack, newSize*sizeof(pNew[0])); + } + if( pNew ){ + p->yystack = pNew; + p->yytos = &p->yystack[idx]; +#ifndef NDEBUG + if( yyTraceFILE ){ + fprintf(yyTraceFILE,"%sStack grows from %d to %d entries.\n", + yyTracePrompt, p->yystksz, newSize); + } +#endif + p->yystksz = newSize; + } + return pNew==0; +} +#endif + +/* Datatype of the argument to the memory allocated passed as the +** second argument to sqlite3ParserAlloc() below. This can be changed by +** putting an appropriate #define in the %include section of the input +** grammar. +*/ +#ifndef YYMALLOCARGTYPE +# define YYMALLOCARGTYPE size_t +#endif + +/* Initialize a new parser that has already been allocated. +*/ +SQLITE_PRIVATE void sqlite3ParserInit(void *yypRawParser sqlite3ParserCTX_PDECL){ + yyParser *yypParser = (yyParser*)yypRawParser; + sqlite3ParserCTX_STORE +#ifdef YYTRACKMAXSTACKDEPTH + yypParser->yyhwm = 0; +#endif +#if YYSTACKDEPTH<=0 + yypParser->yytos = NULL; + yypParser->yystack = NULL; + yypParser->yystksz = 0; + if( yyGrowStack(yypParser) ){ + yypParser->yystack = &yypParser->yystk0; + yypParser->yystksz = 1; + } +#endif +#ifndef YYNOERRORRECOVERY + yypParser->yyerrcnt = -1; +#endif + yypParser->yytos = yypParser->yystack; + yypParser->yystack[0].stateno = 0; + yypParser->yystack[0].major = 0; +#if YYSTACKDEPTH>0 + yypParser->yystackEnd = &yypParser->yystack[YYSTACKDEPTH-1]; +#endif +} + +#ifndef sqlite3Parser_ENGINEALWAYSONSTACK +/* +** This function allocates a new parser. +** The only argument is a pointer to a function which works like +** malloc. +** +** Inputs: +** A pointer to the function used to allocate memory. +** +** Outputs: +** A pointer to a parser. This pointer is used in subsequent calls +** to sqlite3Parser and sqlite3ParserFree. +*/ +SQLITE_PRIVATE void *sqlite3ParserAlloc(void *(*mallocProc)(YYMALLOCARGTYPE) sqlite3ParserCTX_PDECL){ + yyParser *yypParser; + yypParser = (yyParser*)(*mallocProc)( (YYMALLOCARGTYPE)sizeof(yyParser) ); + if( yypParser ){ + sqlite3ParserCTX_STORE + sqlite3ParserInit(yypParser sqlite3ParserCTX_PARAM); + } + return (void*)yypParser; +} +#endif /* sqlite3Parser_ENGINEALWAYSONSTACK */ + + +/* The following function deletes the "minor type" or semantic value +** associated with a symbol. The symbol can be either a terminal +** or nonterminal. "yymajor" is the symbol code, and "yypminor" is +** a pointer to the value to be deleted. The code used to do the +** deletions is derived from the %destructor and/or %token_destructor +** directives of the input grammar. +*/ +static void yy_destructor( + yyParser *yypParser, /* The parser */ + YYCODETYPE yymajor, /* Type code for object to destroy */ + YYMINORTYPE *yypminor /* The object to be destroyed */ +){ + sqlite3ParserARG_FETCH + sqlite3ParserCTX_FETCH + switch( yymajor ){ + /* Here is inserted the actions which take place when a + ** terminal or non-terminal is destroyed. This can happen + ** when the symbol is popped from the stack during a + ** reduce or during error processing or when a parser is + ** being destroyed before it is finished parsing. + ** + ** Note: during a reduce, the only symbols destroyed are those + ** which appear on the RHS of the rule, but which are *not* used + ** inside the C code. + */ +/********* Begin destructor definitions ***************************************/ + case 198: /* select */ + case 231: /* selectnowith */ + case 232: /* oneselect */ + case 244: /* values */ +{ +sqlite3SelectDelete(pParse->db, (yypminor->yy25)); +} + break; + case 209: /* term */ + case 210: /* expr */ + case 238: /* where_opt */ + case 240: /* having_opt */ + case 252: /* on_opt */ + case 268: /* case_operand */ + case 270: /* case_else */ + case 273: /* vinto */ + case 280: /* when_clause */ + case 285: /* key_opt */ + case 299: /* filter_clause */ +{ +sqlite3ExprDelete(pParse->db, (yypminor->yy46)); +} + break; + case 214: /* eidlist_opt */ + case 223: /* sortlist */ + case 224: /* eidlist */ + case 236: /* selcollist */ + case 239: /* groupby_opt */ + case 241: /* orderby_opt */ + case 245: /* nexprlist */ + case 246: /* sclp */ + case 254: /* exprlist */ + case 259: /* setlist */ + case 267: /* paren_exprlist */ + case 269: /* case_exprlist */ + case 298: /* part_opt */ +{ +sqlite3ExprListDelete(pParse->db, (yypminor->yy138)); +} + break; + case 230: /* fullname */ + case 237: /* from */ + case 248: /* seltablist */ + case 249: /* stl_prefix */ + case 255: /* xfullname */ +{ +sqlite3SrcListDelete(pParse->db, (yypminor->yy609)); +} + break; + case 233: /* wqlist */ +{ +sqlite3WithDelete(pParse->db, (yypminor->yy297)); +} + break; + case 243: /* window_clause */ + case 294: /* windowdefn_list */ +{ +sqlite3WindowListDelete(pParse->db, (yypminor->yy455)); +} + break; + case 253: /* using_opt */ + case 256: /* idlist */ + case 261: /* idlist_opt */ +{ +sqlite3IdListDelete(pParse->db, (yypminor->yy406)); +} + break; + case 263: /* filter_over */ + case 295: /* windowdefn */ + case 296: /* window */ + case 297: /* frame_opt */ + case 300: /* over_clause */ +{ +sqlite3WindowDelete(pParse->db, (yypminor->yy455)); +} + break; + case 276: /* trigger_cmd_list */ + case 281: /* trigger_cmd */ +{ +sqlite3DeleteTriggerStep(pParse->db, (yypminor->yy527)); +} + break; + case 278: /* trigger_event */ +{ +sqlite3IdListDelete(pParse->db, (yypminor->yy572).b); +} + break; + case 302: /* frame_bound */ + case 303: /* frame_bound_s */ + case 304: /* frame_bound_e */ +{ +sqlite3ExprDelete(pParse->db, (yypminor->yy57).pExpr); +} + break; +/********* End destructor definitions *****************************************/ + default: break; /* If no destructor action specified: do nothing */ + } +} + +/* +** Pop the parser's stack once. +** +** If there is a destructor routine associated with the token which +** is popped from the stack, then call it. +*/ +static void yy_pop_parser_stack(yyParser *pParser){ + yyStackEntry *yytos; + assert( pParser->yytos!=0 ); + assert( pParser->yytos > pParser->yystack ); + yytos = pParser->yytos--; +#ifndef NDEBUG + if( yyTraceFILE ){ + fprintf(yyTraceFILE,"%sPopping %s\n", + yyTracePrompt, + yyTokenName[yytos->major]); + } +#endif + yy_destructor(pParser, yytos->major, &yytos->minor); +} + +/* +** Clear all secondary memory allocations from the parser +*/ +SQLITE_PRIVATE void sqlite3ParserFinalize(void *p){ + yyParser *pParser = (yyParser*)p; + while( pParser->yytos>pParser->yystack ) yy_pop_parser_stack(pParser); +#if YYSTACKDEPTH<=0 + if( pParser->yystack!=&pParser->yystk0 ) free(pParser->yystack); +#endif +} + +#ifndef sqlite3Parser_ENGINEALWAYSONSTACK +/* +** Deallocate and destroy a parser. Destructors are called for +** all stack elements before shutting the parser down. +** +** If the YYPARSEFREENEVERNULL macro exists (for example because it +** is defined in a %include section of the input grammar) then it is +** assumed that the input pointer is never NULL. +*/ +SQLITE_PRIVATE void sqlite3ParserFree( + void *p, /* The parser to be deleted */ + void (*freeProc)(void*) /* Function used to reclaim memory */ +){ +#ifndef YYPARSEFREENEVERNULL + if( p==0 ) return; +#endif + sqlite3ParserFinalize(p); + (*freeProc)(p); +} +#endif /* sqlite3Parser_ENGINEALWAYSONSTACK */ + +/* +** Return the peak depth of the stack for a parser. +*/ +#ifdef YYTRACKMAXSTACKDEPTH +SQLITE_PRIVATE int sqlite3ParserStackPeak(void *p){ + yyParser *pParser = (yyParser*)p; + return pParser->yyhwm; +} +#endif + +/* This array of booleans keeps track of the parser statement +** coverage. The element yycoverage[X][Y] is set when the parser +** is in state X and has a lookahead token Y. In a well-tested +** systems, every element of this matrix should end up being set. +*/ +#if defined(YYCOVERAGE) +static unsigned char yycoverage[YYNSTATE][YYNTOKEN]; +#endif + +/* +** Write into out a description of every state/lookahead combination that +** +** (1) has not been used by the parser, and +** (2) is not a syntax error. +** +** Return the number of missed state/lookahead combinations. +*/ +#if defined(YYCOVERAGE) +SQLITE_PRIVATE int sqlite3ParserCoverage(FILE *out){ + int stateno, iLookAhead, i; + int nMissed = 0; + for(stateno=0; statenoYY_MAX_SHIFT ) return stateno; + assert( stateno <= YY_SHIFT_COUNT ); +#if defined(YYCOVERAGE) + yycoverage[stateno][iLookAhead] = 1; +#endif + do{ + i = yy_shift_ofst[stateno]; + assert( i>=0 ); + assert( i<=YY_ACTTAB_COUNT ); + assert( i+YYNTOKEN<=(int)YY_NLOOKAHEAD ); + assert( iLookAhead!=YYNOCODE ); + assert( iLookAhead < YYNTOKEN ); + i += iLookAhead; + assert( i<(int)YY_NLOOKAHEAD ); + if( yy_lookahead[i]!=iLookAhead ){ +#ifdef YYFALLBACK + YYCODETYPE iFallback; /* Fallback token */ + assert( iLookAhead %s\n", + yyTracePrompt, yyTokenName[iLookAhead], yyTokenName[iFallback]); + } +#endif + assert( yyFallback[iFallback]==0 ); /* Fallback loop must terminate */ + iLookAhead = iFallback; + continue; + } +#endif +#ifdef YYWILDCARD + { + int j = i - iLookAhead + YYWILDCARD; + assert( j<(int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0])) ); + if( yy_lookahead[j]==YYWILDCARD && iLookAhead>0 ){ +#ifndef NDEBUG + if( yyTraceFILE ){ + fprintf(yyTraceFILE, "%sWILDCARD %s => %s\n", + yyTracePrompt, yyTokenName[iLookAhead], + yyTokenName[YYWILDCARD]); + } +#endif /* NDEBUG */ + return yy_action[j]; + } + } +#endif /* YYWILDCARD */ + return yy_default[stateno]; + }else{ + assert( i>=0 && iYY_REDUCE_COUNT ){ + return yy_default[stateno]; + } +#else + assert( stateno<=YY_REDUCE_COUNT ); +#endif + i = yy_reduce_ofst[stateno]; + assert( iLookAhead!=YYNOCODE ); + i += iLookAhead; +#ifdef YYERRORSYMBOL + if( i<0 || i>=YY_ACTTAB_COUNT || yy_lookahead[i]!=iLookAhead ){ + return yy_default[stateno]; + } +#else + assert( i>=0 && iyytos>yypParser->yystack ) yy_pop_parser_stack(yypParser); + /* Here code is inserted which will execute if the parser + ** stack every overflows */ +/******** Begin %stack_overflow code ******************************************/ + + sqlite3ErrorMsg(pParse, "parser stack overflow"); +/******** End %stack_overflow code ********************************************/ + sqlite3ParserARG_STORE /* Suppress warning about unused %extra_argument var */ + sqlite3ParserCTX_STORE +} + +/* +** Print tracing information for a SHIFT action +*/ +#ifndef NDEBUG +static void yyTraceShift(yyParser *yypParser, int yyNewState, const char *zTag){ + if( yyTraceFILE ){ + if( yyNewStateyytos->major], + yyNewState); + }else{ + fprintf(yyTraceFILE,"%s%s '%s', pending reduce %d\n", + yyTracePrompt, zTag, yyTokenName[yypParser->yytos->major], + yyNewState - YY_MIN_REDUCE); + } + } +} +#else +# define yyTraceShift(X,Y,Z) +#endif + +/* +** Perform a shift action. +*/ +static void yy_shift( + yyParser *yypParser, /* The parser to be shifted */ + YYACTIONTYPE yyNewState, /* The new state to shift in */ + YYCODETYPE yyMajor, /* The major token to shift in */ + sqlite3ParserTOKENTYPE yyMinor /* The minor token to shift in */ +){ + yyStackEntry *yytos; + yypParser->yytos++; +#ifdef YYTRACKMAXSTACKDEPTH + if( (int)(yypParser->yytos - yypParser->yystack)>yypParser->yyhwm ){ + yypParser->yyhwm++; + assert( yypParser->yyhwm == (int)(yypParser->yytos - yypParser->yystack) ); + } +#endif +#if YYSTACKDEPTH>0 + if( yypParser->yytos>yypParser->yystackEnd ){ + yypParser->yytos--; + yyStackOverflow(yypParser); + return; + } +#else + if( yypParser->yytos>=&yypParser->yystack[yypParser->yystksz] ){ + if( yyGrowStack(yypParser) ){ + yypParser->yytos--; + yyStackOverflow(yypParser); + return; + } + } +#endif + if( yyNewState > YY_MAX_SHIFT ){ + yyNewState += YY_MIN_REDUCE - YY_MIN_SHIFTREDUCE; + } + yytos = yypParser->yytos; + yytos->stateno = yyNewState; + yytos->major = yyMajor; + yytos->minor.yy0 = yyMinor; + yyTraceShift(yypParser, yyNewState, "Shift"); +} + +/* For rule J, yyRuleInfoLhs[J] contains the symbol on the left-hand side +** of that rule */ +static const YYCODETYPE yyRuleInfoLhs[] = { + 183, /* (0) explain ::= EXPLAIN */ + 183, /* (1) explain ::= EXPLAIN QUERY PLAN */ + 182, /* (2) cmdx ::= cmd */ + 184, /* (3) cmd ::= BEGIN transtype trans_opt */ + 185, /* (4) transtype ::= */ + 185, /* (5) transtype ::= DEFERRED */ + 185, /* (6) transtype ::= IMMEDIATE */ + 185, /* (7) transtype ::= EXCLUSIVE */ + 184, /* (8) cmd ::= COMMIT|END trans_opt */ + 184, /* (9) cmd ::= ROLLBACK trans_opt */ + 184, /* (10) cmd ::= SAVEPOINT nm */ + 184, /* (11) cmd ::= RELEASE savepoint_opt nm */ + 184, /* (12) cmd ::= ROLLBACK trans_opt TO savepoint_opt nm */ + 189, /* (13) create_table ::= createkw temp TABLE ifnotexists nm dbnm */ + 191, /* (14) createkw ::= CREATE */ + 193, /* (15) ifnotexists ::= */ + 193, /* (16) ifnotexists ::= IF NOT EXISTS */ + 192, /* (17) temp ::= TEMP */ + 192, /* (18) temp ::= */ + 190, /* (19) create_table_args ::= LP columnlist conslist_opt RP table_options */ + 190, /* (20) create_table_args ::= AS select */ + 197, /* (21) table_options ::= */ + 197, /* (22) table_options ::= WITHOUT nm */ + 199, /* (23) columnname ::= nm typetoken */ + 201, /* (24) typetoken ::= */ + 201, /* (25) typetoken ::= typename LP signed RP */ + 201, /* (26) typetoken ::= typename LP signed COMMA signed RP */ + 202, /* (27) typename ::= typename ID|STRING */ + 206, /* (28) scanpt ::= */ + 207, /* (29) scantok ::= */ + 208, /* (30) ccons ::= CONSTRAINT nm */ + 208, /* (31) ccons ::= DEFAULT scantok term */ + 208, /* (32) ccons ::= DEFAULT LP expr RP */ + 208, /* (33) ccons ::= DEFAULT PLUS scantok term */ + 208, /* (34) ccons ::= DEFAULT MINUS scantok term */ + 208, /* (35) ccons ::= DEFAULT scantok ID|INDEXED */ + 208, /* (36) ccons ::= NOT NULL onconf */ + 208, /* (37) ccons ::= PRIMARY KEY sortorder onconf autoinc */ + 208, /* (38) ccons ::= UNIQUE onconf */ + 208, /* (39) ccons ::= CHECK LP expr RP */ + 208, /* (40) ccons ::= REFERENCES nm eidlist_opt refargs */ + 208, /* (41) ccons ::= defer_subclause */ + 208, /* (42) ccons ::= COLLATE ID|STRING */ + 213, /* (43) autoinc ::= */ + 213, /* (44) autoinc ::= AUTOINCR */ + 215, /* (45) refargs ::= */ + 215, /* (46) refargs ::= refargs refarg */ + 217, /* (47) refarg ::= MATCH nm */ + 217, /* (48) refarg ::= ON INSERT refact */ + 217, /* (49) refarg ::= ON DELETE refact */ + 217, /* (50) refarg ::= ON UPDATE refact */ + 218, /* (51) refact ::= SET NULL */ + 218, /* (52) refact ::= SET DEFAULT */ + 218, /* (53) refact ::= CASCADE */ + 218, /* (54) refact ::= RESTRICT */ + 218, /* (55) refact ::= NO ACTION */ + 216, /* (56) defer_subclause ::= NOT DEFERRABLE init_deferred_pred_opt */ + 216, /* (57) defer_subclause ::= DEFERRABLE init_deferred_pred_opt */ + 219, /* (58) init_deferred_pred_opt ::= */ + 219, /* (59) init_deferred_pred_opt ::= INITIALLY DEFERRED */ + 219, /* (60) init_deferred_pred_opt ::= INITIALLY IMMEDIATE */ + 196, /* (61) conslist_opt ::= */ + 221, /* (62) tconscomma ::= COMMA */ + 222, /* (63) tcons ::= CONSTRAINT nm */ + 222, /* (64) tcons ::= PRIMARY KEY LP sortlist autoinc RP onconf */ + 222, /* (65) tcons ::= UNIQUE LP sortlist RP onconf */ + 222, /* (66) tcons ::= CHECK LP expr RP onconf */ + 222, /* (67) tcons ::= FOREIGN KEY LP eidlist RP REFERENCES nm eidlist_opt refargs defer_subclause_opt */ + 225, /* (68) defer_subclause_opt ::= */ + 211, /* (69) onconf ::= */ + 211, /* (70) onconf ::= ON CONFLICT resolvetype */ + 226, /* (71) orconf ::= */ + 226, /* (72) orconf ::= OR resolvetype */ + 227, /* (73) resolvetype ::= IGNORE */ + 227, /* (74) resolvetype ::= REPLACE */ + 184, /* (75) cmd ::= DROP TABLE ifexists fullname */ + 229, /* (76) ifexists ::= IF EXISTS */ + 229, /* (77) ifexists ::= */ + 184, /* (78) cmd ::= createkw temp VIEW ifnotexists nm dbnm eidlist_opt AS select */ + 184, /* (79) cmd ::= DROP VIEW ifexists fullname */ + 184, /* (80) cmd ::= select */ + 198, /* (81) select ::= WITH wqlist selectnowith */ + 198, /* (82) select ::= WITH RECURSIVE wqlist selectnowith */ + 198, /* (83) select ::= selectnowith */ + 231, /* (84) selectnowith ::= selectnowith multiselect_op oneselect */ + 234, /* (85) multiselect_op ::= UNION */ + 234, /* (86) multiselect_op ::= UNION ALL */ + 234, /* (87) multiselect_op ::= EXCEPT|INTERSECT */ + 232, /* (88) oneselect ::= SELECT distinct selcollist from where_opt groupby_opt having_opt orderby_opt limit_opt */ + 232, /* (89) oneselect ::= SELECT distinct selcollist from where_opt groupby_opt having_opt window_clause orderby_opt limit_opt */ + 244, /* (90) values ::= VALUES LP nexprlist RP */ + 244, /* (91) values ::= values COMMA LP nexprlist RP */ + 235, /* (92) distinct ::= DISTINCT */ + 235, /* (93) distinct ::= ALL */ + 235, /* (94) distinct ::= */ + 246, /* (95) sclp ::= */ + 236, /* (96) selcollist ::= sclp scanpt expr scanpt as */ + 236, /* (97) selcollist ::= sclp scanpt STAR */ + 236, /* (98) selcollist ::= sclp scanpt nm DOT STAR */ + 247, /* (99) as ::= AS nm */ + 247, /* (100) as ::= */ + 237, /* (101) from ::= */ + 237, /* (102) from ::= FROM seltablist */ + 249, /* (103) stl_prefix ::= seltablist joinop */ + 249, /* (104) stl_prefix ::= */ + 248, /* (105) seltablist ::= stl_prefix nm dbnm as indexed_opt on_opt using_opt */ + 248, /* (106) seltablist ::= stl_prefix nm dbnm LP exprlist RP as on_opt using_opt */ + 248, /* (107) seltablist ::= stl_prefix LP select RP as on_opt using_opt */ + 248, /* (108) seltablist ::= stl_prefix LP seltablist RP as on_opt using_opt */ + 194, /* (109) dbnm ::= */ + 194, /* (110) dbnm ::= DOT nm */ + 230, /* (111) fullname ::= nm */ + 230, /* (112) fullname ::= nm DOT nm */ + 255, /* (113) xfullname ::= nm */ + 255, /* (114) xfullname ::= nm DOT nm */ + 255, /* (115) xfullname ::= nm DOT nm AS nm */ + 255, /* (116) xfullname ::= nm AS nm */ + 250, /* (117) joinop ::= COMMA|JOIN */ + 250, /* (118) joinop ::= JOIN_KW JOIN */ + 250, /* (119) joinop ::= JOIN_KW nm JOIN */ + 250, /* (120) joinop ::= JOIN_KW nm nm JOIN */ + 252, /* (121) on_opt ::= ON expr */ + 252, /* (122) on_opt ::= */ + 251, /* (123) indexed_opt ::= */ + 251, /* (124) indexed_opt ::= INDEXED BY nm */ + 251, /* (125) indexed_opt ::= NOT INDEXED */ + 253, /* (126) using_opt ::= USING LP idlist RP */ + 253, /* (127) using_opt ::= */ + 241, /* (128) orderby_opt ::= */ + 241, /* (129) orderby_opt ::= ORDER BY sortlist */ + 223, /* (130) sortlist ::= sortlist COMMA expr sortorder nulls */ + 223, /* (131) sortlist ::= expr sortorder nulls */ + 212, /* (132) sortorder ::= ASC */ + 212, /* (133) sortorder ::= DESC */ + 212, /* (134) sortorder ::= */ + 257, /* (135) nulls ::= NULLS FIRST */ + 257, /* (136) nulls ::= NULLS LAST */ + 257, /* (137) nulls ::= */ + 239, /* (138) groupby_opt ::= */ + 239, /* (139) groupby_opt ::= GROUP BY nexprlist */ + 240, /* (140) having_opt ::= */ + 240, /* (141) having_opt ::= HAVING expr */ + 242, /* (142) limit_opt ::= */ + 242, /* (143) limit_opt ::= LIMIT expr */ + 242, /* (144) limit_opt ::= LIMIT expr OFFSET expr */ + 242, /* (145) limit_opt ::= LIMIT expr COMMA expr */ + 184, /* (146) cmd ::= with DELETE FROM xfullname indexed_opt where_opt */ + 238, /* (147) where_opt ::= */ + 238, /* (148) where_opt ::= WHERE expr */ + 184, /* (149) cmd ::= with UPDATE orconf xfullname indexed_opt SET setlist where_opt */ + 259, /* (150) setlist ::= setlist COMMA nm EQ expr */ + 259, /* (151) setlist ::= setlist COMMA LP idlist RP EQ expr */ + 259, /* (152) setlist ::= nm EQ expr */ + 259, /* (153) setlist ::= LP idlist RP EQ expr */ + 184, /* (154) cmd ::= with insert_cmd INTO xfullname idlist_opt select upsert */ + 184, /* (155) cmd ::= with insert_cmd INTO xfullname idlist_opt DEFAULT VALUES */ + 262, /* (156) upsert ::= */ + 262, /* (157) upsert ::= ON CONFLICT LP sortlist RP where_opt DO UPDATE SET setlist where_opt */ + 262, /* (158) upsert ::= ON CONFLICT LP sortlist RP where_opt DO NOTHING */ + 262, /* (159) upsert ::= ON CONFLICT DO NOTHING */ + 260, /* (160) insert_cmd ::= INSERT orconf */ + 260, /* (161) insert_cmd ::= REPLACE */ + 261, /* (162) idlist_opt ::= */ + 261, /* (163) idlist_opt ::= LP idlist RP */ + 256, /* (164) idlist ::= idlist COMMA nm */ + 256, /* (165) idlist ::= nm */ + 210, /* (166) expr ::= LP expr RP */ + 210, /* (167) expr ::= ID|INDEXED */ + 210, /* (168) expr ::= JOIN_KW */ + 210, /* (169) expr ::= nm DOT nm */ + 210, /* (170) expr ::= nm DOT nm DOT nm */ + 209, /* (171) term ::= NULL|FLOAT|BLOB */ + 209, /* (172) term ::= STRING */ + 209, /* (173) term ::= INTEGER */ + 210, /* (174) expr ::= VARIABLE */ + 210, /* (175) expr ::= expr COLLATE ID|STRING */ + 210, /* (176) expr ::= CAST LP expr AS typetoken RP */ + 210, /* (177) expr ::= ID|INDEXED LP distinct exprlist RP */ + 210, /* (178) expr ::= ID|INDEXED LP STAR RP */ + 210, /* (179) expr ::= ID|INDEXED LP distinct exprlist RP filter_over */ + 210, /* (180) expr ::= ID|INDEXED LP STAR RP filter_over */ + 209, /* (181) term ::= CTIME_KW */ + 210, /* (182) expr ::= LP nexprlist COMMA expr RP */ + 210, /* (183) expr ::= expr AND expr */ + 210, /* (184) expr ::= expr OR expr */ + 210, /* (185) expr ::= expr LT|GT|GE|LE expr */ + 210, /* (186) expr ::= expr EQ|NE expr */ + 210, /* (187) expr ::= expr BITAND|BITOR|LSHIFT|RSHIFT expr */ + 210, /* (188) expr ::= expr PLUS|MINUS expr */ + 210, /* (189) expr ::= expr STAR|SLASH|REM expr */ + 210, /* (190) expr ::= expr CONCAT expr */ + 264, /* (191) likeop ::= NOT LIKE_KW|MATCH */ + 210, /* (192) expr ::= expr likeop expr */ + 210, /* (193) expr ::= expr likeop expr ESCAPE expr */ + 210, /* (194) expr ::= expr ISNULL|NOTNULL */ + 210, /* (195) expr ::= expr NOT NULL */ + 210, /* (196) expr ::= expr IS expr */ + 210, /* (197) expr ::= expr IS NOT expr */ + 210, /* (198) expr ::= NOT expr */ + 210, /* (199) expr ::= BITNOT expr */ + 210, /* (200) expr ::= PLUS|MINUS expr */ + 265, /* (201) between_op ::= BETWEEN */ + 265, /* (202) between_op ::= NOT BETWEEN */ + 210, /* (203) expr ::= expr between_op expr AND expr */ + 266, /* (204) in_op ::= IN */ + 266, /* (205) in_op ::= NOT IN */ + 210, /* (206) expr ::= expr in_op LP exprlist RP */ + 210, /* (207) expr ::= LP select RP */ + 210, /* (208) expr ::= expr in_op LP select RP */ + 210, /* (209) expr ::= expr in_op nm dbnm paren_exprlist */ + 210, /* (210) expr ::= EXISTS LP select RP */ + 210, /* (211) expr ::= CASE case_operand case_exprlist case_else END */ + 269, /* (212) case_exprlist ::= case_exprlist WHEN expr THEN expr */ + 269, /* (213) case_exprlist ::= WHEN expr THEN expr */ + 270, /* (214) case_else ::= ELSE expr */ + 270, /* (215) case_else ::= */ + 268, /* (216) case_operand ::= expr */ + 268, /* (217) case_operand ::= */ + 254, /* (218) exprlist ::= */ + 245, /* (219) nexprlist ::= nexprlist COMMA expr */ + 245, /* (220) nexprlist ::= expr */ + 267, /* (221) paren_exprlist ::= */ + 267, /* (222) paren_exprlist ::= LP exprlist RP */ + 184, /* (223) cmd ::= createkw uniqueflag INDEX ifnotexists nm dbnm ON nm LP sortlist RP where_opt */ + 271, /* (224) uniqueflag ::= UNIQUE */ + 271, /* (225) uniqueflag ::= */ + 214, /* (226) eidlist_opt ::= */ + 214, /* (227) eidlist_opt ::= LP eidlist RP */ + 224, /* (228) eidlist ::= eidlist COMMA nm collate sortorder */ + 224, /* (229) eidlist ::= nm collate sortorder */ + 272, /* (230) collate ::= */ + 272, /* (231) collate ::= COLLATE ID|STRING */ + 184, /* (232) cmd ::= DROP INDEX ifexists fullname */ + 184, /* (233) cmd ::= VACUUM vinto */ + 184, /* (234) cmd ::= VACUUM nm vinto */ + 273, /* (235) vinto ::= INTO expr */ + 273, /* (236) vinto ::= */ + 184, /* (237) cmd ::= PRAGMA nm dbnm */ + 184, /* (238) cmd ::= PRAGMA nm dbnm EQ nmnum */ + 184, /* (239) cmd ::= PRAGMA nm dbnm LP nmnum RP */ + 184, /* (240) cmd ::= PRAGMA nm dbnm EQ minus_num */ + 184, /* (241) cmd ::= PRAGMA nm dbnm LP minus_num RP */ + 204, /* (242) plus_num ::= PLUS INTEGER|FLOAT */ + 205, /* (243) minus_num ::= MINUS INTEGER|FLOAT */ + 184, /* (244) cmd ::= createkw trigger_decl BEGIN trigger_cmd_list END */ + 275, /* (245) trigger_decl ::= temp TRIGGER ifnotexists nm dbnm trigger_time trigger_event ON fullname foreach_clause when_clause */ + 277, /* (246) trigger_time ::= BEFORE|AFTER */ + 277, /* (247) trigger_time ::= INSTEAD OF */ + 277, /* (248) trigger_time ::= */ + 278, /* (249) trigger_event ::= DELETE|INSERT */ + 278, /* (250) trigger_event ::= UPDATE */ + 278, /* (251) trigger_event ::= UPDATE OF idlist */ + 280, /* (252) when_clause ::= */ + 280, /* (253) when_clause ::= WHEN expr */ + 276, /* (254) trigger_cmd_list ::= trigger_cmd_list trigger_cmd SEMI */ + 276, /* (255) trigger_cmd_list ::= trigger_cmd SEMI */ + 282, /* (256) trnm ::= nm DOT nm */ + 283, /* (257) tridxby ::= INDEXED BY nm */ + 283, /* (258) tridxby ::= NOT INDEXED */ + 281, /* (259) trigger_cmd ::= UPDATE orconf trnm tridxby SET setlist where_opt scanpt */ + 281, /* (260) trigger_cmd ::= scanpt insert_cmd INTO trnm idlist_opt select upsert scanpt */ + 281, /* (261) trigger_cmd ::= DELETE FROM trnm tridxby where_opt scanpt */ + 281, /* (262) trigger_cmd ::= scanpt select scanpt */ + 210, /* (263) expr ::= RAISE LP IGNORE RP */ + 210, /* (264) expr ::= RAISE LP raisetype COMMA nm RP */ + 228, /* (265) raisetype ::= ROLLBACK */ + 228, /* (266) raisetype ::= ABORT */ + 228, /* (267) raisetype ::= FAIL */ + 184, /* (268) cmd ::= DROP TRIGGER ifexists fullname */ + 184, /* (269) cmd ::= ATTACH database_kw_opt expr AS expr key_opt */ + 184, /* (270) cmd ::= DETACH database_kw_opt expr */ + 285, /* (271) key_opt ::= */ + 285, /* (272) key_opt ::= KEY expr */ + 184, /* (273) cmd ::= REINDEX */ + 184, /* (274) cmd ::= REINDEX nm dbnm */ + 184, /* (275) cmd ::= ANALYZE */ + 184, /* (276) cmd ::= ANALYZE nm dbnm */ + 184, /* (277) cmd ::= ALTER TABLE fullname RENAME TO nm */ + 184, /* (278) cmd ::= ALTER TABLE add_column_fullname ADD kwcolumn_opt columnname carglist */ + 286, /* (279) add_column_fullname ::= fullname */ + 184, /* (280) cmd ::= ALTER TABLE fullname RENAME kwcolumn_opt nm TO nm */ + 184, /* (281) cmd ::= create_vtab */ + 184, /* (282) cmd ::= create_vtab LP vtabarglist RP */ + 288, /* (283) create_vtab ::= createkw VIRTUAL TABLE ifnotexists nm dbnm USING nm */ + 290, /* (284) vtabarg ::= */ + 291, /* (285) vtabargtoken ::= ANY */ + 291, /* (286) vtabargtoken ::= lp anylist RP */ + 292, /* (287) lp ::= LP */ + 258, /* (288) with ::= WITH wqlist */ + 258, /* (289) with ::= WITH RECURSIVE wqlist */ + 233, /* (290) wqlist ::= nm eidlist_opt AS LP select RP */ + 233, /* (291) wqlist ::= wqlist COMMA nm eidlist_opt AS LP select RP */ + 294, /* (292) windowdefn_list ::= windowdefn */ + 294, /* (293) windowdefn_list ::= windowdefn_list COMMA windowdefn */ + 295, /* (294) windowdefn ::= nm AS LP window RP */ + 296, /* (295) window ::= PARTITION BY nexprlist orderby_opt frame_opt */ + 296, /* (296) window ::= nm PARTITION BY nexprlist orderby_opt frame_opt */ + 296, /* (297) window ::= ORDER BY sortlist frame_opt */ + 296, /* (298) window ::= nm ORDER BY sortlist frame_opt */ + 296, /* (299) window ::= frame_opt */ + 296, /* (300) window ::= nm frame_opt */ + 297, /* (301) frame_opt ::= */ + 297, /* (302) frame_opt ::= range_or_rows frame_bound_s frame_exclude_opt */ + 297, /* (303) frame_opt ::= range_or_rows BETWEEN frame_bound_s AND frame_bound_e frame_exclude_opt */ + 301, /* (304) range_or_rows ::= RANGE|ROWS|GROUPS */ + 303, /* (305) frame_bound_s ::= frame_bound */ + 303, /* (306) frame_bound_s ::= UNBOUNDED PRECEDING */ + 304, /* (307) frame_bound_e ::= frame_bound */ + 304, /* (308) frame_bound_e ::= UNBOUNDED FOLLOWING */ + 302, /* (309) frame_bound ::= expr PRECEDING|FOLLOWING */ + 302, /* (310) frame_bound ::= CURRENT ROW */ + 305, /* (311) frame_exclude_opt ::= */ + 305, /* (312) frame_exclude_opt ::= EXCLUDE frame_exclude */ + 306, /* (313) frame_exclude ::= NO OTHERS */ + 306, /* (314) frame_exclude ::= CURRENT ROW */ + 306, /* (315) frame_exclude ::= GROUP|TIES */ + 243, /* (316) window_clause ::= WINDOW windowdefn_list */ + 263, /* (317) filter_over ::= filter_clause over_clause */ + 263, /* (318) filter_over ::= over_clause */ + 263, /* (319) filter_over ::= filter_clause */ + 300, /* (320) over_clause ::= OVER LP window RP */ + 300, /* (321) over_clause ::= OVER nm */ + 299, /* (322) filter_clause ::= FILTER LP WHERE expr RP */ + 179, /* (323) input ::= cmdlist */ + 180, /* (324) cmdlist ::= cmdlist ecmd */ + 180, /* (325) cmdlist ::= ecmd */ + 181, /* (326) ecmd ::= SEMI */ + 181, /* (327) ecmd ::= cmdx SEMI */ + 181, /* (328) ecmd ::= explain cmdx */ + 186, /* (329) trans_opt ::= */ + 186, /* (330) trans_opt ::= TRANSACTION */ + 186, /* (331) trans_opt ::= TRANSACTION nm */ + 188, /* (332) savepoint_opt ::= SAVEPOINT */ + 188, /* (333) savepoint_opt ::= */ + 184, /* (334) cmd ::= create_table create_table_args */ + 195, /* (335) columnlist ::= columnlist COMMA columnname carglist */ + 195, /* (336) columnlist ::= columnname carglist */ + 187, /* (337) nm ::= ID|INDEXED */ + 187, /* (338) nm ::= STRING */ + 187, /* (339) nm ::= JOIN_KW */ + 201, /* (340) typetoken ::= typename */ + 202, /* (341) typename ::= ID|STRING */ + 203, /* (342) signed ::= plus_num */ + 203, /* (343) signed ::= minus_num */ + 200, /* (344) carglist ::= carglist ccons */ + 200, /* (345) carglist ::= */ + 208, /* (346) ccons ::= NULL onconf */ + 196, /* (347) conslist_opt ::= COMMA conslist */ + 220, /* (348) conslist ::= conslist tconscomma tcons */ + 220, /* (349) conslist ::= tcons */ + 221, /* (350) tconscomma ::= */ + 225, /* (351) defer_subclause_opt ::= defer_subclause */ + 227, /* (352) resolvetype ::= raisetype */ + 231, /* (353) selectnowith ::= oneselect */ + 232, /* (354) oneselect ::= values */ + 246, /* (355) sclp ::= selcollist COMMA */ + 247, /* (356) as ::= ID|STRING */ + 210, /* (357) expr ::= term */ + 264, /* (358) likeop ::= LIKE_KW|MATCH */ + 254, /* (359) exprlist ::= nexprlist */ + 274, /* (360) nmnum ::= plus_num */ + 274, /* (361) nmnum ::= nm */ + 274, /* (362) nmnum ::= ON */ + 274, /* (363) nmnum ::= DELETE */ + 274, /* (364) nmnum ::= DEFAULT */ + 204, /* (365) plus_num ::= INTEGER|FLOAT */ + 279, /* (366) foreach_clause ::= */ + 279, /* (367) foreach_clause ::= FOR EACH ROW */ + 282, /* (368) trnm ::= nm */ + 283, /* (369) tridxby ::= */ + 284, /* (370) database_kw_opt ::= DATABASE */ + 284, /* (371) database_kw_opt ::= */ + 287, /* (372) kwcolumn_opt ::= */ + 287, /* (373) kwcolumn_opt ::= COLUMNKW */ + 289, /* (374) vtabarglist ::= vtabarg */ + 289, /* (375) vtabarglist ::= vtabarglist COMMA vtabarg */ + 290, /* (376) vtabarg ::= vtabarg vtabargtoken */ + 293, /* (377) anylist ::= */ + 293, /* (378) anylist ::= anylist LP anylist RP */ + 293, /* (379) anylist ::= anylist ANY */ + 258, /* (380) with ::= */ +}; + +/* For rule J, yyRuleInfoNRhs[J] contains the negative of the number +** of symbols on the right-hand side of that rule. */ +static const signed char yyRuleInfoNRhs[] = { + -1, /* (0) explain ::= EXPLAIN */ + -3, /* (1) explain ::= EXPLAIN QUERY PLAN */ + -1, /* (2) cmdx ::= cmd */ + -3, /* (3) cmd ::= BEGIN transtype trans_opt */ + 0, /* (4) transtype ::= */ + -1, /* (5) transtype ::= DEFERRED */ + -1, /* (6) transtype ::= IMMEDIATE */ + -1, /* (7) transtype ::= EXCLUSIVE */ + -2, /* (8) cmd ::= COMMIT|END trans_opt */ + -2, /* (9) cmd ::= ROLLBACK trans_opt */ + -2, /* (10) cmd ::= SAVEPOINT nm */ + -3, /* (11) cmd ::= RELEASE savepoint_opt nm */ + -5, /* (12) cmd ::= ROLLBACK trans_opt TO savepoint_opt nm */ + -6, /* (13) create_table ::= createkw temp TABLE ifnotexists nm dbnm */ + -1, /* (14) createkw ::= CREATE */ + 0, /* (15) ifnotexists ::= */ + -3, /* (16) ifnotexists ::= IF NOT EXISTS */ + -1, /* (17) temp ::= TEMP */ + 0, /* (18) temp ::= */ + -5, /* (19) create_table_args ::= LP columnlist conslist_opt RP table_options */ + -2, /* (20) create_table_args ::= AS select */ + 0, /* (21) table_options ::= */ + -2, /* (22) table_options ::= WITHOUT nm */ + -2, /* (23) columnname ::= nm typetoken */ + 0, /* (24) typetoken ::= */ + -4, /* (25) typetoken ::= typename LP signed RP */ + -6, /* (26) typetoken ::= typename LP signed COMMA signed RP */ + -2, /* (27) typename ::= typename ID|STRING */ + 0, /* (28) scanpt ::= */ + 0, /* (29) scantok ::= */ + -2, /* (30) ccons ::= CONSTRAINT nm */ + -3, /* (31) ccons ::= DEFAULT scantok term */ + -4, /* (32) ccons ::= DEFAULT LP expr RP */ + -4, /* (33) ccons ::= DEFAULT PLUS scantok term */ + -4, /* (34) ccons ::= DEFAULT MINUS scantok term */ + -3, /* (35) ccons ::= DEFAULT scantok ID|INDEXED */ + -3, /* (36) ccons ::= NOT NULL onconf */ + -5, /* (37) ccons ::= PRIMARY KEY sortorder onconf autoinc */ + -2, /* (38) ccons ::= UNIQUE onconf */ + -4, /* (39) ccons ::= CHECK LP expr RP */ + -4, /* (40) ccons ::= REFERENCES nm eidlist_opt refargs */ + -1, /* (41) ccons ::= defer_subclause */ + -2, /* (42) ccons ::= COLLATE ID|STRING */ + 0, /* (43) autoinc ::= */ + -1, /* (44) autoinc ::= AUTOINCR */ + 0, /* (45) refargs ::= */ + -2, /* (46) refargs ::= refargs refarg */ + -2, /* (47) refarg ::= MATCH nm */ + -3, /* (48) refarg ::= ON INSERT refact */ + -3, /* (49) refarg ::= ON DELETE refact */ + -3, /* (50) refarg ::= ON UPDATE refact */ + -2, /* (51) refact ::= SET NULL */ + -2, /* (52) refact ::= SET DEFAULT */ + -1, /* (53) refact ::= CASCADE */ + -1, /* (54) refact ::= RESTRICT */ + -2, /* (55) refact ::= NO ACTION */ + -3, /* (56) defer_subclause ::= NOT DEFERRABLE init_deferred_pred_opt */ + -2, /* (57) defer_subclause ::= DEFERRABLE init_deferred_pred_opt */ + 0, /* (58) init_deferred_pred_opt ::= */ + -2, /* (59) init_deferred_pred_opt ::= INITIALLY DEFERRED */ + -2, /* (60) init_deferred_pred_opt ::= INITIALLY IMMEDIATE */ + 0, /* (61) conslist_opt ::= */ + -1, /* (62) tconscomma ::= COMMA */ + -2, /* (63) tcons ::= CONSTRAINT nm */ + -7, /* (64) tcons ::= PRIMARY KEY LP sortlist autoinc RP onconf */ + -5, /* (65) tcons ::= UNIQUE LP sortlist RP onconf */ + -5, /* (66) tcons ::= CHECK LP expr RP onconf */ + -10, /* (67) tcons ::= FOREIGN KEY LP eidlist RP REFERENCES nm eidlist_opt refargs defer_subclause_opt */ + 0, /* (68) defer_subclause_opt ::= */ + 0, /* (69) onconf ::= */ + -3, /* (70) onconf ::= ON CONFLICT resolvetype */ + 0, /* (71) orconf ::= */ + -2, /* (72) orconf ::= OR resolvetype */ + -1, /* (73) resolvetype ::= IGNORE */ + -1, /* (74) resolvetype ::= REPLACE */ + -4, /* (75) cmd ::= DROP TABLE ifexists fullname */ + -2, /* (76) ifexists ::= IF EXISTS */ + 0, /* (77) ifexists ::= */ + -9, /* (78) cmd ::= createkw temp VIEW ifnotexists nm dbnm eidlist_opt AS select */ + -4, /* (79) cmd ::= DROP VIEW ifexists fullname */ + -1, /* (80) cmd ::= select */ + -3, /* (81) select ::= WITH wqlist selectnowith */ + -4, /* (82) select ::= WITH RECURSIVE wqlist selectnowith */ + -1, /* (83) select ::= selectnowith */ + -3, /* (84) selectnowith ::= selectnowith multiselect_op oneselect */ + -1, /* (85) multiselect_op ::= UNION */ + -2, /* (86) multiselect_op ::= UNION ALL */ + -1, /* (87) multiselect_op ::= EXCEPT|INTERSECT */ + -9, /* (88) oneselect ::= SELECT distinct selcollist from where_opt groupby_opt having_opt orderby_opt limit_opt */ + -10, /* (89) oneselect ::= SELECT distinct selcollist from where_opt groupby_opt having_opt window_clause orderby_opt limit_opt */ + -4, /* (90) values ::= VALUES LP nexprlist RP */ + -5, /* (91) values ::= values COMMA LP nexprlist RP */ + -1, /* (92) distinct ::= DISTINCT */ + -1, /* (93) distinct ::= ALL */ + 0, /* (94) distinct ::= */ + 0, /* (95) sclp ::= */ + -5, /* (96) selcollist ::= sclp scanpt expr scanpt as */ + -3, /* (97) selcollist ::= sclp scanpt STAR */ + -5, /* (98) selcollist ::= sclp scanpt nm DOT STAR */ + -2, /* (99) as ::= AS nm */ + 0, /* (100) as ::= */ + 0, /* (101) from ::= */ + -2, /* (102) from ::= FROM seltablist */ + -2, /* (103) stl_prefix ::= seltablist joinop */ + 0, /* (104) stl_prefix ::= */ + -7, /* (105) seltablist ::= stl_prefix nm dbnm as indexed_opt on_opt using_opt */ + -9, /* (106) seltablist ::= stl_prefix nm dbnm LP exprlist RP as on_opt using_opt */ + -7, /* (107) seltablist ::= stl_prefix LP select RP as on_opt using_opt */ + -7, /* (108) seltablist ::= stl_prefix LP seltablist RP as on_opt using_opt */ + 0, /* (109) dbnm ::= */ + -2, /* (110) dbnm ::= DOT nm */ + -1, /* (111) fullname ::= nm */ + -3, /* (112) fullname ::= nm DOT nm */ + -1, /* (113) xfullname ::= nm */ + -3, /* (114) xfullname ::= nm DOT nm */ + -5, /* (115) xfullname ::= nm DOT nm AS nm */ + -3, /* (116) xfullname ::= nm AS nm */ + -1, /* (117) joinop ::= COMMA|JOIN */ + -2, /* (118) joinop ::= JOIN_KW JOIN */ + -3, /* (119) joinop ::= JOIN_KW nm JOIN */ + -4, /* (120) joinop ::= JOIN_KW nm nm JOIN */ + -2, /* (121) on_opt ::= ON expr */ + 0, /* (122) on_opt ::= */ + 0, /* (123) indexed_opt ::= */ + -3, /* (124) indexed_opt ::= INDEXED BY nm */ + -2, /* (125) indexed_opt ::= NOT INDEXED */ + -4, /* (126) using_opt ::= USING LP idlist RP */ + 0, /* (127) using_opt ::= */ + 0, /* (128) orderby_opt ::= */ + -3, /* (129) orderby_opt ::= ORDER BY sortlist */ + -5, /* (130) sortlist ::= sortlist COMMA expr sortorder nulls */ + -3, /* (131) sortlist ::= expr sortorder nulls */ + -1, /* (132) sortorder ::= ASC */ + -1, /* (133) sortorder ::= DESC */ + 0, /* (134) sortorder ::= */ + -2, /* (135) nulls ::= NULLS FIRST */ + -2, /* (136) nulls ::= NULLS LAST */ + 0, /* (137) nulls ::= */ + 0, /* (138) groupby_opt ::= */ + -3, /* (139) groupby_opt ::= GROUP BY nexprlist */ + 0, /* (140) having_opt ::= */ + -2, /* (141) having_opt ::= HAVING expr */ + 0, /* (142) limit_opt ::= */ + -2, /* (143) limit_opt ::= LIMIT expr */ + -4, /* (144) limit_opt ::= LIMIT expr OFFSET expr */ + -4, /* (145) limit_opt ::= LIMIT expr COMMA expr */ + -6, /* (146) cmd ::= with DELETE FROM xfullname indexed_opt where_opt */ + 0, /* (147) where_opt ::= */ + -2, /* (148) where_opt ::= WHERE expr */ + -8, /* (149) cmd ::= with UPDATE orconf xfullname indexed_opt SET setlist where_opt */ + -5, /* (150) setlist ::= setlist COMMA nm EQ expr */ + -7, /* (151) setlist ::= setlist COMMA LP idlist RP EQ expr */ + -3, /* (152) setlist ::= nm EQ expr */ + -5, /* (153) setlist ::= LP idlist RP EQ expr */ + -7, /* (154) cmd ::= with insert_cmd INTO xfullname idlist_opt select upsert */ + -7, /* (155) cmd ::= with insert_cmd INTO xfullname idlist_opt DEFAULT VALUES */ + 0, /* (156) upsert ::= */ + -11, /* (157) upsert ::= ON CONFLICT LP sortlist RP where_opt DO UPDATE SET setlist where_opt */ + -8, /* (158) upsert ::= ON CONFLICT LP sortlist RP where_opt DO NOTHING */ + -4, /* (159) upsert ::= ON CONFLICT DO NOTHING */ + -2, /* (160) insert_cmd ::= INSERT orconf */ + -1, /* (161) insert_cmd ::= REPLACE */ + 0, /* (162) idlist_opt ::= */ + -3, /* (163) idlist_opt ::= LP idlist RP */ + -3, /* (164) idlist ::= idlist COMMA nm */ + -1, /* (165) idlist ::= nm */ + -3, /* (166) expr ::= LP expr RP */ + -1, /* (167) expr ::= ID|INDEXED */ + -1, /* (168) expr ::= JOIN_KW */ + -3, /* (169) expr ::= nm DOT nm */ + -5, /* (170) expr ::= nm DOT nm DOT nm */ + -1, /* (171) term ::= NULL|FLOAT|BLOB */ + -1, /* (172) term ::= STRING */ + -1, /* (173) term ::= INTEGER */ + -1, /* (174) expr ::= VARIABLE */ + -3, /* (175) expr ::= expr COLLATE ID|STRING */ + -6, /* (176) expr ::= CAST LP expr AS typetoken RP */ + -5, /* (177) expr ::= ID|INDEXED LP distinct exprlist RP */ + -4, /* (178) expr ::= ID|INDEXED LP STAR RP */ + -6, /* (179) expr ::= ID|INDEXED LP distinct exprlist RP filter_over */ + -5, /* (180) expr ::= ID|INDEXED LP STAR RP filter_over */ + -1, /* (181) term ::= CTIME_KW */ + -5, /* (182) expr ::= LP nexprlist COMMA expr RP */ + -3, /* (183) expr ::= expr AND expr */ + -3, /* (184) expr ::= expr OR expr */ + -3, /* (185) expr ::= expr LT|GT|GE|LE expr */ + -3, /* (186) expr ::= expr EQ|NE expr */ + -3, /* (187) expr ::= expr BITAND|BITOR|LSHIFT|RSHIFT expr */ + -3, /* (188) expr ::= expr PLUS|MINUS expr */ + -3, /* (189) expr ::= expr STAR|SLASH|REM expr */ + -3, /* (190) expr ::= expr CONCAT expr */ + -2, /* (191) likeop ::= NOT LIKE_KW|MATCH */ + -3, /* (192) expr ::= expr likeop expr */ + -5, /* (193) expr ::= expr likeop expr ESCAPE expr */ + -2, /* (194) expr ::= expr ISNULL|NOTNULL */ + -3, /* (195) expr ::= expr NOT NULL */ + -3, /* (196) expr ::= expr IS expr */ + -4, /* (197) expr ::= expr IS NOT expr */ + -2, /* (198) expr ::= NOT expr */ + -2, /* (199) expr ::= BITNOT expr */ + -2, /* (200) expr ::= PLUS|MINUS expr */ + -1, /* (201) between_op ::= BETWEEN */ + -2, /* (202) between_op ::= NOT BETWEEN */ + -5, /* (203) expr ::= expr between_op expr AND expr */ + -1, /* (204) in_op ::= IN */ + -2, /* (205) in_op ::= NOT IN */ + -5, /* (206) expr ::= expr in_op LP exprlist RP */ + -3, /* (207) expr ::= LP select RP */ + -5, /* (208) expr ::= expr in_op LP select RP */ + -5, /* (209) expr ::= expr in_op nm dbnm paren_exprlist */ + -4, /* (210) expr ::= EXISTS LP select RP */ + -5, /* (211) expr ::= CASE case_operand case_exprlist case_else END */ + -5, /* (212) case_exprlist ::= case_exprlist WHEN expr THEN expr */ + -4, /* (213) case_exprlist ::= WHEN expr THEN expr */ + -2, /* (214) case_else ::= ELSE expr */ + 0, /* (215) case_else ::= */ + -1, /* (216) case_operand ::= expr */ + 0, /* (217) case_operand ::= */ + 0, /* (218) exprlist ::= */ + -3, /* (219) nexprlist ::= nexprlist COMMA expr */ + -1, /* (220) nexprlist ::= expr */ + 0, /* (221) paren_exprlist ::= */ + -3, /* (222) paren_exprlist ::= LP exprlist RP */ + -12, /* (223) cmd ::= createkw uniqueflag INDEX ifnotexists nm dbnm ON nm LP sortlist RP where_opt */ + -1, /* (224) uniqueflag ::= UNIQUE */ + 0, /* (225) uniqueflag ::= */ + 0, /* (226) eidlist_opt ::= */ + -3, /* (227) eidlist_opt ::= LP eidlist RP */ + -5, /* (228) eidlist ::= eidlist COMMA nm collate sortorder */ + -3, /* (229) eidlist ::= nm collate sortorder */ + 0, /* (230) collate ::= */ + -2, /* (231) collate ::= COLLATE ID|STRING */ + -4, /* (232) cmd ::= DROP INDEX ifexists fullname */ + -2, /* (233) cmd ::= VACUUM vinto */ + -3, /* (234) cmd ::= VACUUM nm vinto */ + -2, /* (235) vinto ::= INTO expr */ + 0, /* (236) vinto ::= */ + -3, /* (237) cmd ::= PRAGMA nm dbnm */ + -5, /* (238) cmd ::= PRAGMA nm dbnm EQ nmnum */ + -6, /* (239) cmd ::= PRAGMA nm dbnm LP nmnum RP */ + -5, /* (240) cmd ::= PRAGMA nm dbnm EQ minus_num */ + -6, /* (241) cmd ::= PRAGMA nm dbnm LP minus_num RP */ + -2, /* (242) plus_num ::= PLUS INTEGER|FLOAT */ + -2, /* (243) minus_num ::= MINUS INTEGER|FLOAT */ + -5, /* (244) cmd ::= createkw trigger_decl BEGIN trigger_cmd_list END */ + -11, /* (245) trigger_decl ::= temp TRIGGER ifnotexists nm dbnm trigger_time trigger_event ON fullname foreach_clause when_clause */ + -1, /* (246) trigger_time ::= BEFORE|AFTER */ + -2, /* (247) trigger_time ::= INSTEAD OF */ + 0, /* (248) trigger_time ::= */ + -1, /* (249) trigger_event ::= DELETE|INSERT */ + -1, /* (250) trigger_event ::= UPDATE */ + -3, /* (251) trigger_event ::= UPDATE OF idlist */ + 0, /* (252) when_clause ::= */ + -2, /* (253) when_clause ::= WHEN expr */ + -3, /* (254) trigger_cmd_list ::= trigger_cmd_list trigger_cmd SEMI */ + -2, /* (255) trigger_cmd_list ::= trigger_cmd SEMI */ + -3, /* (256) trnm ::= nm DOT nm */ + -3, /* (257) tridxby ::= INDEXED BY nm */ + -2, /* (258) tridxby ::= NOT INDEXED */ + -8, /* (259) trigger_cmd ::= UPDATE orconf trnm tridxby SET setlist where_opt scanpt */ + -8, /* (260) trigger_cmd ::= scanpt insert_cmd INTO trnm idlist_opt select upsert scanpt */ + -6, /* (261) trigger_cmd ::= DELETE FROM trnm tridxby where_opt scanpt */ + -3, /* (262) trigger_cmd ::= scanpt select scanpt */ + -4, /* (263) expr ::= RAISE LP IGNORE RP */ + -6, /* (264) expr ::= RAISE LP raisetype COMMA nm RP */ + -1, /* (265) raisetype ::= ROLLBACK */ + -1, /* (266) raisetype ::= ABORT */ + -1, /* (267) raisetype ::= FAIL */ + -4, /* (268) cmd ::= DROP TRIGGER ifexists fullname */ + -6, /* (269) cmd ::= ATTACH database_kw_opt expr AS expr key_opt */ + -3, /* (270) cmd ::= DETACH database_kw_opt expr */ + 0, /* (271) key_opt ::= */ + -2, /* (272) key_opt ::= KEY expr */ + -1, /* (273) cmd ::= REINDEX */ + -3, /* (274) cmd ::= REINDEX nm dbnm */ + -1, /* (275) cmd ::= ANALYZE */ + -3, /* (276) cmd ::= ANALYZE nm dbnm */ + -6, /* (277) cmd ::= ALTER TABLE fullname RENAME TO nm */ + -7, /* (278) cmd ::= ALTER TABLE add_column_fullname ADD kwcolumn_opt columnname carglist */ + -1, /* (279) add_column_fullname ::= fullname */ + -8, /* (280) cmd ::= ALTER TABLE fullname RENAME kwcolumn_opt nm TO nm */ + -1, /* (281) cmd ::= create_vtab */ + -4, /* (282) cmd ::= create_vtab LP vtabarglist RP */ + -8, /* (283) create_vtab ::= createkw VIRTUAL TABLE ifnotexists nm dbnm USING nm */ + 0, /* (284) vtabarg ::= */ + -1, /* (285) vtabargtoken ::= ANY */ + -3, /* (286) vtabargtoken ::= lp anylist RP */ + -1, /* (287) lp ::= LP */ + -2, /* (288) with ::= WITH wqlist */ + -3, /* (289) with ::= WITH RECURSIVE wqlist */ + -6, /* (290) wqlist ::= nm eidlist_opt AS LP select RP */ + -8, /* (291) wqlist ::= wqlist COMMA nm eidlist_opt AS LP select RP */ + -1, /* (292) windowdefn_list ::= windowdefn */ + -3, /* (293) windowdefn_list ::= windowdefn_list COMMA windowdefn */ + -5, /* (294) windowdefn ::= nm AS LP window RP */ + -5, /* (295) window ::= PARTITION BY nexprlist orderby_opt frame_opt */ + -6, /* (296) window ::= nm PARTITION BY nexprlist orderby_opt frame_opt */ + -4, /* (297) window ::= ORDER BY sortlist frame_opt */ + -5, /* (298) window ::= nm ORDER BY sortlist frame_opt */ + -1, /* (299) window ::= frame_opt */ + -2, /* (300) window ::= nm frame_opt */ + 0, /* (301) frame_opt ::= */ + -3, /* (302) frame_opt ::= range_or_rows frame_bound_s frame_exclude_opt */ + -6, /* (303) frame_opt ::= range_or_rows BETWEEN frame_bound_s AND frame_bound_e frame_exclude_opt */ + -1, /* (304) range_or_rows ::= RANGE|ROWS|GROUPS */ + -1, /* (305) frame_bound_s ::= frame_bound */ + -2, /* (306) frame_bound_s ::= UNBOUNDED PRECEDING */ + -1, /* (307) frame_bound_e ::= frame_bound */ + -2, /* (308) frame_bound_e ::= UNBOUNDED FOLLOWING */ + -2, /* (309) frame_bound ::= expr PRECEDING|FOLLOWING */ + -2, /* (310) frame_bound ::= CURRENT ROW */ + 0, /* (311) frame_exclude_opt ::= */ + -2, /* (312) frame_exclude_opt ::= EXCLUDE frame_exclude */ + -2, /* (313) frame_exclude ::= NO OTHERS */ + -2, /* (314) frame_exclude ::= CURRENT ROW */ + -1, /* (315) frame_exclude ::= GROUP|TIES */ + -2, /* (316) window_clause ::= WINDOW windowdefn_list */ + -2, /* (317) filter_over ::= filter_clause over_clause */ + -1, /* (318) filter_over ::= over_clause */ + -1, /* (319) filter_over ::= filter_clause */ + -4, /* (320) over_clause ::= OVER LP window RP */ + -2, /* (321) over_clause ::= OVER nm */ + -5, /* (322) filter_clause ::= FILTER LP WHERE expr RP */ + -1, /* (323) input ::= cmdlist */ + -2, /* (324) cmdlist ::= cmdlist ecmd */ + -1, /* (325) cmdlist ::= ecmd */ + -1, /* (326) ecmd ::= SEMI */ + -2, /* (327) ecmd ::= cmdx SEMI */ + -2, /* (328) ecmd ::= explain cmdx */ + 0, /* (329) trans_opt ::= */ + -1, /* (330) trans_opt ::= TRANSACTION */ + -2, /* (331) trans_opt ::= TRANSACTION nm */ + -1, /* (332) savepoint_opt ::= SAVEPOINT */ + 0, /* (333) savepoint_opt ::= */ + -2, /* (334) cmd ::= create_table create_table_args */ + -4, /* (335) columnlist ::= columnlist COMMA columnname carglist */ + -2, /* (336) columnlist ::= columnname carglist */ + -1, /* (337) nm ::= ID|INDEXED */ + -1, /* (338) nm ::= STRING */ + -1, /* (339) nm ::= JOIN_KW */ + -1, /* (340) typetoken ::= typename */ + -1, /* (341) typename ::= ID|STRING */ + -1, /* (342) signed ::= plus_num */ + -1, /* (343) signed ::= minus_num */ + -2, /* (344) carglist ::= carglist ccons */ + 0, /* (345) carglist ::= */ + -2, /* (346) ccons ::= NULL onconf */ + -2, /* (347) conslist_opt ::= COMMA conslist */ + -3, /* (348) conslist ::= conslist tconscomma tcons */ + -1, /* (349) conslist ::= tcons */ + 0, /* (350) tconscomma ::= */ + -1, /* (351) defer_subclause_opt ::= defer_subclause */ + -1, /* (352) resolvetype ::= raisetype */ + -1, /* (353) selectnowith ::= oneselect */ + -1, /* (354) oneselect ::= values */ + -2, /* (355) sclp ::= selcollist COMMA */ + -1, /* (356) as ::= ID|STRING */ + -1, /* (357) expr ::= term */ + -1, /* (358) likeop ::= LIKE_KW|MATCH */ + -1, /* (359) exprlist ::= nexprlist */ + -1, /* (360) nmnum ::= plus_num */ + -1, /* (361) nmnum ::= nm */ + -1, /* (362) nmnum ::= ON */ + -1, /* (363) nmnum ::= DELETE */ + -1, /* (364) nmnum ::= DEFAULT */ + -1, /* (365) plus_num ::= INTEGER|FLOAT */ + 0, /* (366) foreach_clause ::= */ + -3, /* (367) foreach_clause ::= FOR EACH ROW */ + -1, /* (368) trnm ::= nm */ + 0, /* (369) tridxby ::= */ + -1, /* (370) database_kw_opt ::= DATABASE */ + 0, /* (371) database_kw_opt ::= */ + 0, /* (372) kwcolumn_opt ::= */ + -1, /* (373) kwcolumn_opt ::= COLUMNKW */ + -1, /* (374) vtabarglist ::= vtabarg */ + -3, /* (375) vtabarglist ::= vtabarglist COMMA vtabarg */ + -2, /* (376) vtabarg ::= vtabarg vtabargtoken */ + 0, /* (377) anylist ::= */ + -4, /* (378) anylist ::= anylist LP anylist RP */ + -2, /* (379) anylist ::= anylist ANY */ + 0, /* (380) with ::= */ +}; + +static void yy_accept(yyParser*); /* Forward Declaration */ + +/* +** Perform a reduce action and the shift that must immediately +** follow the reduce. +** +** The yyLookahead and yyLookaheadToken parameters provide reduce actions +** access to the lookahead token (if any). The yyLookahead will be YYNOCODE +** if the lookahead token has already been consumed. As this procedure is +** only called from one place, optimizing compilers will in-line it, which +** means that the extra parameters have no performance impact. +*/ +static YYACTIONTYPE yy_reduce( + yyParser *yypParser, /* The parser */ + unsigned int yyruleno, /* Number of the rule by which to reduce */ + int yyLookahead, /* Lookahead token, or YYNOCODE if none */ + sqlite3ParserTOKENTYPE yyLookaheadToken /* Value of the lookahead token */ + sqlite3ParserCTX_PDECL /* %extra_context */ +){ + int yygoto; /* The next state */ + YYACTIONTYPE yyact; /* The next action */ + yyStackEntry *yymsp; /* The top of the parser's stack */ + int yysize; /* Amount to pop the stack */ + sqlite3ParserARG_FETCH + (void)yyLookahead; + (void)yyLookaheadToken; + yymsp = yypParser->yytos; +#ifndef NDEBUG + if( yyTraceFILE && yyruleno<(int)(sizeof(yyRuleName)/sizeof(yyRuleName[0])) ){ + yysize = yyRuleInfoNRhs[yyruleno]; + if( yysize ){ + fprintf(yyTraceFILE, "%sReduce %d [%s], go to state %d.\n", + yyTracePrompt, + yyruleno, yyRuleName[yyruleno], yymsp[yysize].stateno); + }else{ + fprintf(yyTraceFILE, "%sReduce %d [%s].\n", + yyTracePrompt, yyruleno, yyRuleName[yyruleno]); + } + } +#endif /* NDEBUG */ + + /* Check that the stack is large enough to grow by a single entry + ** if the RHS of the rule is empty. This ensures that there is room + ** enough on the stack to push the LHS value */ + if( yyRuleInfoNRhs[yyruleno]==0 ){ +#ifdef YYTRACKMAXSTACKDEPTH + if( (int)(yypParser->yytos - yypParser->yystack)>yypParser->yyhwm ){ + yypParser->yyhwm++; + assert( yypParser->yyhwm == (int)(yypParser->yytos - yypParser->yystack)); + } +#endif +#if YYSTACKDEPTH>0 + if( yypParser->yytos>=yypParser->yystackEnd ){ + yyStackOverflow(yypParser); + /* The call to yyStackOverflow() above pops the stack until it is + ** empty, causing the main parser loop to exit. So the return value + ** is never used and does not matter. */ + return 0; + } +#else + if( yypParser->yytos>=&yypParser->yystack[yypParser->yystksz-1] ){ + if( yyGrowStack(yypParser) ){ + yyStackOverflow(yypParser); + /* The call to yyStackOverflow() above pops the stack until it is + ** empty, causing the main parser loop to exit. So the return value + ** is never used and does not matter. */ + return 0; + } + yymsp = yypParser->yytos; + } +#endif + } + + switch( yyruleno ){ + /* Beginning here are the reduction cases. A typical example + ** follows: + ** case 0: + ** #line + ** { ... } // User supplied code + ** #line + ** break; + */ +/********** Begin reduce actions **********************************************/ + YYMINORTYPE yylhsminor; + case 0: /* explain ::= EXPLAIN */ +{ pParse->explain = 1; } + break; + case 1: /* explain ::= EXPLAIN QUERY PLAN */ +{ pParse->explain = 2; } + break; + case 2: /* cmdx ::= cmd */ +{ sqlite3FinishCoding(pParse); } + break; + case 3: /* cmd ::= BEGIN transtype trans_opt */ +{sqlite3BeginTransaction(pParse, yymsp[-1].minor.yy32);} + break; + case 4: /* transtype ::= */ +{yymsp[1].minor.yy32 = TK_DEFERRED;} + break; + case 5: /* transtype ::= DEFERRED */ + case 6: /* transtype ::= IMMEDIATE */ yytestcase(yyruleno==6); + case 7: /* transtype ::= EXCLUSIVE */ yytestcase(yyruleno==7); + case 304: /* range_or_rows ::= RANGE|ROWS|GROUPS */ yytestcase(yyruleno==304); +{yymsp[0].minor.yy32 = yymsp[0].major; /*A-overwrites-X*/} + break; + case 8: /* cmd ::= COMMIT|END trans_opt */ + case 9: /* cmd ::= ROLLBACK trans_opt */ yytestcase(yyruleno==9); +{sqlite3EndTransaction(pParse,yymsp[-1].major);} + break; + case 10: /* cmd ::= SAVEPOINT nm */ +{ + sqlite3Savepoint(pParse, SAVEPOINT_BEGIN, &yymsp[0].minor.yy0); +} + break; + case 11: /* cmd ::= RELEASE savepoint_opt nm */ +{ + sqlite3Savepoint(pParse, SAVEPOINT_RELEASE, &yymsp[0].minor.yy0); +} + break; + case 12: /* cmd ::= ROLLBACK trans_opt TO savepoint_opt nm */ +{ + sqlite3Savepoint(pParse, SAVEPOINT_ROLLBACK, &yymsp[0].minor.yy0); +} + break; + case 13: /* create_table ::= createkw temp TABLE ifnotexists nm dbnm */ +{ + sqlite3StartTable(pParse,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy0,yymsp[-4].minor.yy32,0,0,yymsp[-2].minor.yy32); +} + break; + case 14: /* createkw ::= CREATE */ +{disableLookaside(pParse);} + break; + case 15: /* ifnotexists ::= */ + case 18: /* temp ::= */ yytestcase(yyruleno==18); + case 21: /* table_options ::= */ yytestcase(yyruleno==21); + case 43: /* autoinc ::= */ yytestcase(yyruleno==43); + case 58: /* init_deferred_pred_opt ::= */ yytestcase(yyruleno==58); + case 68: /* defer_subclause_opt ::= */ yytestcase(yyruleno==68); + case 77: /* ifexists ::= */ yytestcase(yyruleno==77); + case 94: /* distinct ::= */ yytestcase(yyruleno==94); + case 230: /* collate ::= */ yytestcase(yyruleno==230); +{yymsp[1].minor.yy32 = 0;} + break; + case 16: /* ifnotexists ::= IF NOT EXISTS */ +{yymsp[-2].minor.yy32 = 1;} + break; + case 17: /* temp ::= TEMP */ + case 44: /* autoinc ::= AUTOINCR */ yytestcase(yyruleno==44); +{yymsp[0].minor.yy32 = 1;} + break; + case 19: /* create_table_args ::= LP columnlist conslist_opt RP table_options */ +{ + sqlite3EndTable(pParse,&yymsp[-2].minor.yy0,&yymsp[-1].minor.yy0,yymsp[0].minor.yy32,0); +} + break; + case 20: /* create_table_args ::= AS select */ +{ + sqlite3EndTable(pParse,0,0,0,yymsp[0].minor.yy25); + sqlite3SelectDelete(pParse->db, yymsp[0].minor.yy25); +} + break; + case 22: /* table_options ::= WITHOUT nm */ +{ + if( yymsp[0].minor.yy0.n==5 && sqlite3_strnicmp(yymsp[0].minor.yy0.z,"rowid",5)==0 ){ + yymsp[-1].minor.yy32 = TF_WithoutRowid | TF_NoVisibleRowid; + }else{ + yymsp[-1].minor.yy32 = 0; + sqlite3ErrorMsg(pParse, "unknown table option: %.*s", yymsp[0].minor.yy0.n, yymsp[0].minor.yy0.z); + } +} + break; + case 23: /* columnname ::= nm typetoken */ +{sqlite3AddColumn(pParse,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy0);} + break; + case 24: /* typetoken ::= */ + case 61: /* conslist_opt ::= */ yytestcase(yyruleno==61); + case 100: /* as ::= */ yytestcase(yyruleno==100); +{yymsp[1].minor.yy0.n = 0; yymsp[1].minor.yy0.z = 0;} + break; + case 25: /* typetoken ::= typename LP signed RP */ +{ + yymsp[-3].minor.yy0.n = (int)(&yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n] - yymsp[-3].minor.yy0.z); +} + break; + case 26: /* typetoken ::= typename LP signed COMMA signed RP */ +{ + yymsp[-5].minor.yy0.n = (int)(&yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n] - yymsp[-5].minor.yy0.z); +} + break; + case 27: /* typename ::= typename ID|STRING */ +{yymsp[-1].minor.yy0.n=yymsp[0].minor.yy0.n+(int)(yymsp[0].minor.yy0.z-yymsp[-1].minor.yy0.z);} + break; + case 28: /* scanpt ::= */ +{ + assert( yyLookahead!=YYNOCODE ); + yymsp[1].minor.yy8 = yyLookaheadToken.z; +} + break; + case 29: /* scantok ::= */ +{ + assert( yyLookahead!=YYNOCODE ); + yymsp[1].minor.yy0 = yyLookaheadToken; +} + break; + case 30: /* ccons ::= CONSTRAINT nm */ + case 63: /* tcons ::= CONSTRAINT nm */ yytestcase(yyruleno==63); +{pParse->constraintName = yymsp[0].minor.yy0;} + break; + case 31: /* ccons ::= DEFAULT scantok term */ +{sqlite3AddDefaultValue(pParse,yymsp[0].minor.yy46,yymsp[-1].minor.yy0.z,&yymsp[-1].minor.yy0.z[yymsp[-1].minor.yy0.n]);} + break; + case 32: /* ccons ::= DEFAULT LP expr RP */ +{sqlite3AddDefaultValue(pParse,yymsp[-1].minor.yy46,yymsp[-2].minor.yy0.z+1,yymsp[0].minor.yy0.z);} + break; + case 33: /* ccons ::= DEFAULT PLUS scantok term */ +{sqlite3AddDefaultValue(pParse,yymsp[0].minor.yy46,yymsp[-2].minor.yy0.z,&yymsp[-1].minor.yy0.z[yymsp[-1].minor.yy0.n]);} + break; + case 34: /* ccons ::= DEFAULT MINUS scantok term */ +{ + Expr *p = sqlite3PExpr(pParse, TK_UMINUS, yymsp[0].minor.yy46, 0); + sqlite3AddDefaultValue(pParse,p,yymsp[-2].minor.yy0.z,&yymsp[-1].minor.yy0.z[yymsp[-1].minor.yy0.n]); +} + break; + case 35: /* ccons ::= DEFAULT scantok ID|INDEXED */ +{ + Expr *p = tokenExpr(pParse, TK_STRING, yymsp[0].minor.yy0); + if( p ){ + sqlite3ExprIdToTrueFalse(p); + testcase( p->op==TK_TRUEFALSE && sqlite3ExprTruthValue(p) ); + } + sqlite3AddDefaultValue(pParse,p,yymsp[0].minor.yy0.z,yymsp[0].minor.yy0.z+yymsp[0].minor.yy0.n); +} + break; + case 36: /* ccons ::= NOT NULL onconf */ +{sqlite3AddNotNull(pParse, yymsp[0].minor.yy32);} + break; + case 37: /* ccons ::= PRIMARY KEY sortorder onconf autoinc */ +{sqlite3AddPrimaryKey(pParse,0,yymsp[-1].minor.yy32,yymsp[0].minor.yy32,yymsp[-2].minor.yy32);} + break; + case 38: /* ccons ::= UNIQUE onconf */ +{sqlite3CreateIndex(pParse,0,0,0,0,yymsp[0].minor.yy32,0,0,0,0, + SQLITE_IDXTYPE_UNIQUE);} + break; + case 39: /* ccons ::= CHECK LP expr RP */ +{sqlite3AddCheckConstraint(pParse,yymsp[-1].minor.yy46);} + break; + case 40: /* ccons ::= REFERENCES nm eidlist_opt refargs */ +{sqlite3CreateForeignKey(pParse,0,&yymsp[-2].minor.yy0,yymsp[-1].minor.yy138,yymsp[0].minor.yy32);} + break; + case 41: /* ccons ::= defer_subclause */ +{sqlite3DeferForeignKey(pParse,yymsp[0].minor.yy32);} + break; + case 42: /* ccons ::= COLLATE ID|STRING */ +{sqlite3AddCollateType(pParse, &yymsp[0].minor.yy0);} + break; + case 45: /* refargs ::= */ +{ yymsp[1].minor.yy32 = OE_None*0x0101; /* EV: R-19803-45884 */} + break; + case 46: /* refargs ::= refargs refarg */ +{ yymsp[-1].minor.yy32 = (yymsp[-1].minor.yy32 & ~yymsp[0].minor.yy495.mask) | yymsp[0].minor.yy495.value; } + break; + case 47: /* refarg ::= MATCH nm */ +{ yymsp[-1].minor.yy495.value = 0; yymsp[-1].minor.yy495.mask = 0x000000; } + break; + case 48: /* refarg ::= ON INSERT refact */ +{ yymsp[-2].minor.yy495.value = 0; yymsp[-2].minor.yy495.mask = 0x000000; } + break; + case 49: /* refarg ::= ON DELETE refact */ +{ yymsp[-2].minor.yy495.value = yymsp[0].minor.yy32; yymsp[-2].minor.yy495.mask = 0x0000ff; } + break; + case 50: /* refarg ::= ON UPDATE refact */ +{ yymsp[-2].minor.yy495.value = yymsp[0].minor.yy32<<8; yymsp[-2].minor.yy495.mask = 0x00ff00; } + break; + case 51: /* refact ::= SET NULL */ +{ yymsp[-1].minor.yy32 = OE_SetNull; /* EV: R-33326-45252 */} + break; + case 52: /* refact ::= SET DEFAULT */ +{ yymsp[-1].minor.yy32 = OE_SetDflt; /* EV: R-33326-45252 */} + break; + case 53: /* refact ::= CASCADE */ +{ yymsp[0].minor.yy32 = OE_Cascade; /* EV: R-33326-45252 */} + break; + case 54: /* refact ::= RESTRICT */ +{ yymsp[0].minor.yy32 = OE_Restrict; /* EV: R-33326-45252 */} + break; + case 55: /* refact ::= NO ACTION */ +{ yymsp[-1].minor.yy32 = OE_None; /* EV: R-33326-45252 */} + break; + case 56: /* defer_subclause ::= NOT DEFERRABLE init_deferred_pred_opt */ +{yymsp[-2].minor.yy32 = 0;} + break; + case 57: /* defer_subclause ::= DEFERRABLE init_deferred_pred_opt */ + case 72: /* orconf ::= OR resolvetype */ yytestcase(yyruleno==72); + case 160: /* insert_cmd ::= INSERT orconf */ yytestcase(yyruleno==160); +{yymsp[-1].minor.yy32 = yymsp[0].minor.yy32;} + break; + case 59: /* init_deferred_pred_opt ::= INITIALLY DEFERRED */ + case 76: /* ifexists ::= IF EXISTS */ yytestcase(yyruleno==76); + case 202: /* between_op ::= NOT BETWEEN */ yytestcase(yyruleno==202); + case 205: /* in_op ::= NOT IN */ yytestcase(yyruleno==205); + case 231: /* collate ::= COLLATE ID|STRING */ yytestcase(yyruleno==231); +{yymsp[-1].minor.yy32 = 1;} + break; + case 60: /* init_deferred_pred_opt ::= INITIALLY IMMEDIATE */ +{yymsp[-1].minor.yy32 = 0;} + break; + case 62: /* tconscomma ::= COMMA */ +{pParse->constraintName.n = 0;} + break; + case 64: /* tcons ::= PRIMARY KEY LP sortlist autoinc RP onconf */ +{sqlite3AddPrimaryKey(pParse,yymsp[-3].minor.yy138,yymsp[0].minor.yy32,yymsp[-2].minor.yy32,0);} + break; + case 65: /* tcons ::= UNIQUE LP sortlist RP onconf */ +{sqlite3CreateIndex(pParse,0,0,0,yymsp[-2].minor.yy138,yymsp[0].minor.yy32,0,0,0,0, + SQLITE_IDXTYPE_UNIQUE);} + break; + case 66: /* tcons ::= CHECK LP expr RP onconf */ +{sqlite3AddCheckConstraint(pParse,yymsp[-2].minor.yy46);} + break; + case 67: /* tcons ::= FOREIGN KEY LP eidlist RP REFERENCES nm eidlist_opt refargs defer_subclause_opt */ +{ + sqlite3CreateForeignKey(pParse, yymsp[-6].minor.yy138, &yymsp[-3].minor.yy0, yymsp[-2].minor.yy138, yymsp[-1].minor.yy32); + sqlite3DeferForeignKey(pParse, yymsp[0].minor.yy32); +} + break; + case 69: /* onconf ::= */ + case 71: /* orconf ::= */ yytestcase(yyruleno==71); +{yymsp[1].minor.yy32 = OE_Default;} + break; + case 70: /* onconf ::= ON CONFLICT resolvetype */ +{yymsp[-2].minor.yy32 = yymsp[0].minor.yy32;} + break; + case 73: /* resolvetype ::= IGNORE */ +{yymsp[0].minor.yy32 = OE_Ignore;} + break; + case 74: /* resolvetype ::= REPLACE */ + case 161: /* insert_cmd ::= REPLACE */ yytestcase(yyruleno==161); +{yymsp[0].minor.yy32 = OE_Replace;} + break; + case 75: /* cmd ::= DROP TABLE ifexists fullname */ +{ + sqlite3DropTable(pParse, yymsp[0].minor.yy609, 0, yymsp[-1].minor.yy32); +} + break; + case 78: /* cmd ::= createkw temp VIEW ifnotexists nm dbnm eidlist_opt AS select */ +{ + sqlite3CreateView(pParse, &yymsp[-8].minor.yy0, &yymsp[-4].minor.yy0, &yymsp[-3].minor.yy0, yymsp[-2].minor.yy138, yymsp[0].minor.yy25, yymsp[-7].minor.yy32, yymsp[-5].minor.yy32); +} + break; + case 79: /* cmd ::= DROP VIEW ifexists fullname */ +{ + sqlite3DropTable(pParse, yymsp[0].minor.yy609, 1, yymsp[-1].minor.yy32); +} + break; + case 80: /* cmd ::= select */ +{ + SelectDest dest = {SRT_Output, 0, 0, 0, 0, 0}; + sqlite3Select(pParse, yymsp[0].minor.yy25, &dest); + sqlite3SelectDelete(pParse->db, yymsp[0].minor.yy25); +} + break; + case 81: /* select ::= WITH wqlist selectnowith */ +{ + Select *p = yymsp[0].minor.yy25; + if( p ){ + p->pWith = yymsp[-1].minor.yy297; + parserDoubleLinkSelect(pParse, p); + }else{ + sqlite3WithDelete(pParse->db, yymsp[-1].minor.yy297); + } + yymsp[-2].minor.yy25 = p; +} + break; + case 82: /* select ::= WITH RECURSIVE wqlist selectnowith */ +{ + Select *p = yymsp[0].minor.yy25; + if( p ){ + p->pWith = yymsp[-1].minor.yy297; + parserDoubleLinkSelect(pParse, p); + }else{ + sqlite3WithDelete(pParse->db, yymsp[-1].minor.yy297); + } + yymsp[-3].minor.yy25 = p; +} + break; + case 83: /* select ::= selectnowith */ +{ + Select *p = yymsp[0].minor.yy25; + if( p ){ + parserDoubleLinkSelect(pParse, p); + } + yymsp[0].minor.yy25 = p; /*A-overwrites-X*/ +} + break; + case 84: /* selectnowith ::= selectnowith multiselect_op oneselect */ +{ + Select *pRhs = yymsp[0].minor.yy25; + Select *pLhs = yymsp[-2].minor.yy25; + if( pRhs && pRhs->pPrior ){ + SrcList *pFrom; + Token x; + x.n = 0; + parserDoubleLinkSelect(pParse, pRhs); + pFrom = sqlite3SrcListAppendFromTerm(pParse,0,0,0,&x,pRhs,0,0); + pRhs = sqlite3SelectNew(pParse,0,pFrom,0,0,0,0,0,0); + } + if( pRhs ){ + pRhs->op = (u8)yymsp[-1].minor.yy32; + pRhs->pPrior = pLhs; + if( ALWAYS(pLhs) ) pLhs->selFlags &= ~SF_MultiValue; + pRhs->selFlags &= ~SF_MultiValue; + if( yymsp[-1].minor.yy32!=TK_ALL ) pParse->hasCompound = 1; + }else{ + sqlite3SelectDelete(pParse->db, pLhs); + } + yymsp[-2].minor.yy25 = pRhs; +} + break; + case 85: /* multiselect_op ::= UNION */ + case 87: /* multiselect_op ::= EXCEPT|INTERSECT */ yytestcase(yyruleno==87); +{yymsp[0].minor.yy32 = yymsp[0].major; /*A-overwrites-OP*/} + break; + case 86: /* multiselect_op ::= UNION ALL */ +{yymsp[-1].minor.yy32 = TK_ALL;} + break; + case 88: /* oneselect ::= SELECT distinct selcollist from where_opt groupby_opt having_opt orderby_opt limit_opt */ +{ + yymsp[-8].minor.yy25 = sqlite3SelectNew(pParse,yymsp[-6].minor.yy138,yymsp[-5].minor.yy609,yymsp[-4].minor.yy46,yymsp[-3].minor.yy138,yymsp[-2].minor.yy46,yymsp[-1].minor.yy138,yymsp[-7].minor.yy32,yymsp[0].minor.yy46); +} + break; + case 89: /* oneselect ::= SELECT distinct selcollist from where_opt groupby_opt having_opt window_clause orderby_opt limit_opt */ +{ + yymsp[-9].minor.yy25 = sqlite3SelectNew(pParse,yymsp[-7].minor.yy138,yymsp[-6].minor.yy609,yymsp[-5].minor.yy46,yymsp[-4].minor.yy138,yymsp[-3].minor.yy46,yymsp[-1].minor.yy138,yymsp[-8].minor.yy32,yymsp[0].minor.yy46); + if( yymsp[-9].minor.yy25 ){ + yymsp[-9].minor.yy25->pWinDefn = yymsp[-2].minor.yy455; + }else{ + sqlite3WindowListDelete(pParse->db, yymsp[-2].minor.yy455); + } +} + break; + case 90: /* values ::= VALUES LP nexprlist RP */ +{ + yymsp[-3].minor.yy25 = sqlite3SelectNew(pParse,yymsp[-1].minor.yy138,0,0,0,0,0,SF_Values,0); +} + break; + case 91: /* values ::= values COMMA LP nexprlist RP */ +{ + Select *pRight, *pLeft = yymsp[-4].minor.yy25; + pRight = sqlite3SelectNew(pParse,yymsp[-1].minor.yy138,0,0,0,0,0,SF_Values|SF_MultiValue,0); + if( ALWAYS(pLeft) ) pLeft->selFlags &= ~SF_MultiValue; + if( pRight ){ + pRight->op = TK_ALL; + pRight->pPrior = pLeft; + yymsp[-4].minor.yy25 = pRight; + }else{ + yymsp[-4].minor.yy25 = pLeft; + } +} + break; + case 92: /* distinct ::= DISTINCT */ +{yymsp[0].minor.yy32 = SF_Distinct;} + break; + case 93: /* distinct ::= ALL */ +{yymsp[0].minor.yy32 = SF_All;} + break; + case 95: /* sclp ::= */ + case 128: /* orderby_opt ::= */ yytestcase(yyruleno==128); + case 138: /* groupby_opt ::= */ yytestcase(yyruleno==138); + case 218: /* exprlist ::= */ yytestcase(yyruleno==218); + case 221: /* paren_exprlist ::= */ yytestcase(yyruleno==221); + case 226: /* eidlist_opt ::= */ yytestcase(yyruleno==226); +{yymsp[1].minor.yy138 = 0;} + break; + case 96: /* selcollist ::= sclp scanpt expr scanpt as */ +{ + yymsp[-4].minor.yy138 = sqlite3ExprListAppend(pParse, yymsp[-4].minor.yy138, yymsp[-2].minor.yy46); + if( yymsp[0].minor.yy0.n>0 ) sqlite3ExprListSetName(pParse, yymsp[-4].minor.yy138, &yymsp[0].minor.yy0, 1); + sqlite3ExprListSetSpan(pParse,yymsp[-4].minor.yy138,yymsp[-3].minor.yy8,yymsp[-1].minor.yy8); +} + break; + case 97: /* selcollist ::= sclp scanpt STAR */ +{ + Expr *p = sqlite3Expr(pParse->db, TK_ASTERISK, 0); + yymsp[-2].minor.yy138 = sqlite3ExprListAppend(pParse, yymsp[-2].minor.yy138, p); +} + break; + case 98: /* selcollist ::= sclp scanpt nm DOT STAR */ +{ + Expr *pRight = sqlite3PExpr(pParse, TK_ASTERISK, 0, 0); + Expr *pLeft = sqlite3ExprAlloc(pParse->db, TK_ID, &yymsp[-2].minor.yy0, 1); + Expr *pDot = sqlite3PExpr(pParse, TK_DOT, pLeft, pRight); + yymsp[-4].minor.yy138 = sqlite3ExprListAppend(pParse,yymsp[-4].minor.yy138, pDot); +} + break; + case 99: /* as ::= AS nm */ + case 110: /* dbnm ::= DOT nm */ yytestcase(yyruleno==110); + case 242: /* plus_num ::= PLUS INTEGER|FLOAT */ yytestcase(yyruleno==242); + case 243: /* minus_num ::= MINUS INTEGER|FLOAT */ yytestcase(yyruleno==243); +{yymsp[-1].minor.yy0 = yymsp[0].minor.yy0;} + break; + case 101: /* from ::= */ +{yymsp[1].minor.yy609 = sqlite3DbMallocZero(pParse->db, sizeof(*yymsp[1].minor.yy609));} + break; + case 102: /* from ::= FROM seltablist */ +{ + yymsp[-1].minor.yy609 = yymsp[0].minor.yy609; + sqlite3SrcListShiftJoinType(yymsp[-1].minor.yy609); +} + break; + case 103: /* stl_prefix ::= seltablist joinop */ +{ + if( ALWAYS(yymsp[-1].minor.yy609 && yymsp[-1].minor.yy609->nSrc>0) ) yymsp[-1].minor.yy609->a[yymsp[-1].minor.yy609->nSrc-1].fg.jointype = (u8)yymsp[0].minor.yy32; +} + break; + case 104: /* stl_prefix ::= */ +{yymsp[1].minor.yy609 = 0;} + break; + case 105: /* seltablist ::= stl_prefix nm dbnm as indexed_opt on_opt using_opt */ +{ + yymsp[-6].minor.yy609 = sqlite3SrcListAppendFromTerm(pParse,yymsp[-6].minor.yy609,&yymsp[-5].minor.yy0,&yymsp[-4].minor.yy0,&yymsp[-3].minor.yy0,0,yymsp[-1].minor.yy46,yymsp[0].minor.yy406); + sqlite3SrcListIndexedBy(pParse, yymsp[-6].minor.yy609, &yymsp[-2].minor.yy0); +} + break; + case 106: /* seltablist ::= stl_prefix nm dbnm LP exprlist RP as on_opt using_opt */ +{ + yymsp[-8].minor.yy609 = sqlite3SrcListAppendFromTerm(pParse,yymsp[-8].minor.yy609,&yymsp[-7].minor.yy0,&yymsp[-6].minor.yy0,&yymsp[-2].minor.yy0,0,yymsp[-1].minor.yy46,yymsp[0].minor.yy406); + sqlite3SrcListFuncArgs(pParse, yymsp[-8].minor.yy609, yymsp[-4].minor.yy138); +} + break; + case 107: /* seltablist ::= stl_prefix LP select RP as on_opt using_opt */ +{ + yymsp[-6].minor.yy609 = sqlite3SrcListAppendFromTerm(pParse,yymsp[-6].minor.yy609,0,0,&yymsp[-2].minor.yy0,yymsp[-4].minor.yy25,yymsp[-1].minor.yy46,yymsp[0].minor.yy406); + } + break; + case 108: /* seltablist ::= stl_prefix LP seltablist RP as on_opt using_opt */ +{ + if( yymsp[-6].minor.yy609==0 && yymsp[-2].minor.yy0.n==0 && yymsp[-1].minor.yy46==0 && yymsp[0].minor.yy406==0 ){ + yymsp[-6].minor.yy609 = yymsp[-4].minor.yy609; + }else if( yymsp[-4].minor.yy609->nSrc==1 ){ + yymsp[-6].minor.yy609 = sqlite3SrcListAppendFromTerm(pParse,yymsp[-6].minor.yy609,0,0,&yymsp[-2].minor.yy0,0,yymsp[-1].minor.yy46,yymsp[0].minor.yy406); + if( yymsp[-6].minor.yy609 ){ + struct SrcList_item *pNew = &yymsp[-6].minor.yy609->a[yymsp[-6].minor.yy609->nSrc-1]; + struct SrcList_item *pOld = yymsp[-4].minor.yy609->a; + pNew->zName = pOld->zName; + pNew->zDatabase = pOld->zDatabase; + pNew->pSelect = pOld->pSelect; + if( pOld->fg.isTabFunc ){ + pNew->u1.pFuncArg = pOld->u1.pFuncArg; + pOld->u1.pFuncArg = 0; + pOld->fg.isTabFunc = 0; + pNew->fg.isTabFunc = 1; + } + pOld->zName = pOld->zDatabase = 0; + pOld->pSelect = 0; + } + sqlite3SrcListDelete(pParse->db, yymsp[-4].minor.yy609); + }else{ + Select *pSubquery; + sqlite3SrcListShiftJoinType(yymsp[-4].minor.yy609); + pSubquery = sqlite3SelectNew(pParse,0,yymsp[-4].minor.yy609,0,0,0,0,SF_NestedFrom,0); + yymsp[-6].minor.yy609 = sqlite3SrcListAppendFromTerm(pParse,yymsp[-6].minor.yy609,0,0,&yymsp[-2].minor.yy0,pSubquery,yymsp[-1].minor.yy46,yymsp[0].minor.yy406); + } + } + break; + case 109: /* dbnm ::= */ + case 123: /* indexed_opt ::= */ yytestcase(yyruleno==123); +{yymsp[1].minor.yy0.z=0; yymsp[1].minor.yy0.n=0;} + break; + case 111: /* fullname ::= nm */ +{ + yylhsminor.yy609 = sqlite3SrcListAppend(pParse,0,&yymsp[0].minor.yy0,0); + if( IN_RENAME_OBJECT && yylhsminor.yy609 ) sqlite3RenameTokenMap(pParse, yylhsminor.yy609->a[0].zName, &yymsp[0].minor.yy0); +} + yymsp[0].minor.yy609 = yylhsminor.yy609; + break; + case 112: /* fullname ::= nm DOT nm */ +{ + yylhsminor.yy609 = sqlite3SrcListAppend(pParse,0,&yymsp[-2].minor.yy0,&yymsp[0].minor.yy0); + if( IN_RENAME_OBJECT && yylhsminor.yy609 ) sqlite3RenameTokenMap(pParse, yylhsminor.yy609->a[0].zName, &yymsp[0].minor.yy0); +} + yymsp[-2].minor.yy609 = yylhsminor.yy609; + break; + case 113: /* xfullname ::= nm */ +{yymsp[0].minor.yy609 = sqlite3SrcListAppend(pParse,0,&yymsp[0].minor.yy0,0); /*A-overwrites-X*/} + break; + case 114: /* xfullname ::= nm DOT nm */ +{yymsp[-2].minor.yy609 = sqlite3SrcListAppend(pParse,0,&yymsp[-2].minor.yy0,&yymsp[0].minor.yy0); /*A-overwrites-X*/} + break; + case 115: /* xfullname ::= nm DOT nm AS nm */ +{ + yymsp[-4].minor.yy609 = sqlite3SrcListAppend(pParse,0,&yymsp[-4].minor.yy0,&yymsp[-2].minor.yy0); /*A-overwrites-X*/ + if( yymsp[-4].minor.yy609 ) yymsp[-4].minor.yy609->a[0].zAlias = sqlite3NameFromToken(pParse->db, &yymsp[0].minor.yy0); +} + break; + case 116: /* xfullname ::= nm AS nm */ +{ + yymsp[-2].minor.yy609 = sqlite3SrcListAppend(pParse,0,&yymsp[-2].minor.yy0,0); /*A-overwrites-X*/ + if( yymsp[-2].minor.yy609 ) yymsp[-2].minor.yy609->a[0].zAlias = sqlite3NameFromToken(pParse->db, &yymsp[0].minor.yy0); +} + break; + case 117: /* joinop ::= COMMA|JOIN */ +{ yymsp[0].minor.yy32 = JT_INNER; } + break; + case 118: /* joinop ::= JOIN_KW JOIN */ +{yymsp[-1].minor.yy32 = sqlite3JoinType(pParse,&yymsp[-1].minor.yy0,0,0); /*X-overwrites-A*/} + break; + case 119: /* joinop ::= JOIN_KW nm JOIN */ +{yymsp[-2].minor.yy32 = sqlite3JoinType(pParse,&yymsp[-2].minor.yy0,&yymsp[-1].minor.yy0,0); /*X-overwrites-A*/} + break; + case 120: /* joinop ::= JOIN_KW nm nm JOIN */ +{yymsp[-3].minor.yy32 = sqlite3JoinType(pParse,&yymsp[-3].minor.yy0,&yymsp[-2].minor.yy0,&yymsp[-1].minor.yy0);/*X-overwrites-A*/} + break; + case 121: /* on_opt ::= ON expr */ + case 141: /* having_opt ::= HAVING expr */ yytestcase(yyruleno==141); + case 148: /* where_opt ::= WHERE expr */ yytestcase(yyruleno==148); + case 214: /* case_else ::= ELSE expr */ yytestcase(yyruleno==214); + case 235: /* vinto ::= INTO expr */ yytestcase(yyruleno==235); +{yymsp[-1].minor.yy46 = yymsp[0].minor.yy46;} + break; + case 122: /* on_opt ::= */ + case 140: /* having_opt ::= */ yytestcase(yyruleno==140); + case 142: /* limit_opt ::= */ yytestcase(yyruleno==142); + case 147: /* where_opt ::= */ yytestcase(yyruleno==147); + case 215: /* case_else ::= */ yytestcase(yyruleno==215); + case 217: /* case_operand ::= */ yytestcase(yyruleno==217); + case 236: /* vinto ::= */ yytestcase(yyruleno==236); +{yymsp[1].minor.yy46 = 0;} + break; + case 124: /* indexed_opt ::= INDEXED BY nm */ +{yymsp[-2].minor.yy0 = yymsp[0].minor.yy0;} + break; + case 125: /* indexed_opt ::= NOT INDEXED */ +{yymsp[-1].minor.yy0.z=0; yymsp[-1].minor.yy0.n=1;} + break; + case 126: /* using_opt ::= USING LP idlist RP */ +{yymsp[-3].minor.yy406 = yymsp[-1].minor.yy406;} + break; + case 127: /* using_opt ::= */ + case 162: /* idlist_opt ::= */ yytestcase(yyruleno==162); +{yymsp[1].minor.yy406 = 0;} + break; + case 129: /* orderby_opt ::= ORDER BY sortlist */ + case 139: /* groupby_opt ::= GROUP BY nexprlist */ yytestcase(yyruleno==139); +{yymsp[-2].minor.yy138 = yymsp[0].minor.yy138;} + break; + case 130: /* sortlist ::= sortlist COMMA expr sortorder nulls */ +{ + yymsp[-4].minor.yy138 = sqlite3ExprListAppend(pParse,yymsp[-4].minor.yy138,yymsp[-2].minor.yy46); + sqlite3ExprListSetSortOrder(yymsp[-4].minor.yy138,yymsp[-1].minor.yy32,yymsp[0].minor.yy32); +} + break; + case 131: /* sortlist ::= expr sortorder nulls */ +{ + yymsp[-2].minor.yy138 = sqlite3ExprListAppend(pParse,0,yymsp[-2].minor.yy46); /*A-overwrites-Y*/ + sqlite3ExprListSetSortOrder(yymsp[-2].minor.yy138,yymsp[-1].minor.yy32,yymsp[0].minor.yy32); +} + break; + case 132: /* sortorder ::= ASC */ +{yymsp[0].minor.yy32 = SQLITE_SO_ASC;} + break; + case 133: /* sortorder ::= DESC */ +{yymsp[0].minor.yy32 = SQLITE_SO_DESC;} + break; + case 134: /* sortorder ::= */ + case 137: /* nulls ::= */ yytestcase(yyruleno==137); +{yymsp[1].minor.yy32 = SQLITE_SO_UNDEFINED;} + break; + case 135: /* nulls ::= NULLS FIRST */ +{yymsp[-1].minor.yy32 = SQLITE_SO_ASC;} + break; + case 136: /* nulls ::= NULLS LAST */ +{yymsp[-1].minor.yy32 = SQLITE_SO_DESC;} + break; + case 143: /* limit_opt ::= LIMIT expr */ +{yymsp[-1].minor.yy46 = sqlite3PExpr(pParse,TK_LIMIT,yymsp[0].minor.yy46,0);} + break; + case 144: /* limit_opt ::= LIMIT expr OFFSET expr */ +{yymsp[-3].minor.yy46 = sqlite3PExpr(pParse,TK_LIMIT,yymsp[-2].minor.yy46,yymsp[0].minor.yy46);} + break; + case 145: /* limit_opt ::= LIMIT expr COMMA expr */ +{yymsp[-3].minor.yy46 = sqlite3PExpr(pParse,TK_LIMIT,yymsp[0].minor.yy46,yymsp[-2].minor.yy46);} + break; + case 146: /* cmd ::= with DELETE FROM xfullname indexed_opt where_opt */ +{ + sqlite3SrcListIndexedBy(pParse, yymsp[-2].minor.yy609, &yymsp[-1].minor.yy0); + sqlite3DeleteFrom(pParse,yymsp[-2].minor.yy609,yymsp[0].minor.yy46,0,0); +} + break; + case 149: /* cmd ::= with UPDATE orconf xfullname indexed_opt SET setlist where_opt */ +{ + sqlite3SrcListIndexedBy(pParse, yymsp[-4].minor.yy609, &yymsp[-3].minor.yy0); + sqlite3ExprListCheckLength(pParse,yymsp[-1].minor.yy138,"set list"); + sqlite3Update(pParse,yymsp[-4].minor.yy609,yymsp[-1].minor.yy138,yymsp[0].minor.yy46,yymsp[-5].minor.yy32,0,0,0); +} + break; + case 150: /* setlist ::= setlist COMMA nm EQ expr */ +{ + yymsp[-4].minor.yy138 = sqlite3ExprListAppend(pParse, yymsp[-4].minor.yy138, yymsp[0].minor.yy46); + sqlite3ExprListSetName(pParse, yymsp[-4].minor.yy138, &yymsp[-2].minor.yy0, 1); +} + break; + case 151: /* setlist ::= setlist COMMA LP idlist RP EQ expr */ +{ + yymsp[-6].minor.yy138 = sqlite3ExprListAppendVector(pParse, yymsp[-6].minor.yy138, yymsp[-3].minor.yy406, yymsp[0].minor.yy46); +} + break; + case 152: /* setlist ::= nm EQ expr */ +{ + yylhsminor.yy138 = sqlite3ExprListAppend(pParse, 0, yymsp[0].minor.yy46); + sqlite3ExprListSetName(pParse, yylhsminor.yy138, &yymsp[-2].minor.yy0, 1); +} + yymsp[-2].minor.yy138 = yylhsminor.yy138; + break; + case 153: /* setlist ::= LP idlist RP EQ expr */ +{ + yymsp[-4].minor.yy138 = sqlite3ExprListAppendVector(pParse, 0, yymsp[-3].minor.yy406, yymsp[0].minor.yy46); +} + break; + case 154: /* cmd ::= with insert_cmd INTO xfullname idlist_opt select upsert */ +{ + sqlite3Insert(pParse, yymsp[-3].minor.yy609, yymsp[-1].minor.yy25, yymsp[-2].minor.yy406, yymsp[-5].minor.yy32, yymsp[0].minor.yy288); +} + break; + case 155: /* cmd ::= with insert_cmd INTO xfullname idlist_opt DEFAULT VALUES */ +{ + sqlite3Insert(pParse, yymsp[-3].minor.yy609, 0, yymsp[-2].minor.yy406, yymsp[-5].minor.yy32, 0); +} + break; + case 156: /* upsert ::= */ +{ yymsp[1].minor.yy288 = 0; } + break; + case 157: /* upsert ::= ON CONFLICT LP sortlist RP where_opt DO UPDATE SET setlist where_opt */ +{ yymsp[-10].minor.yy288 = sqlite3UpsertNew(pParse->db,yymsp[-7].minor.yy138,yymsp[-5].minor.yy46,yymsp[-1].minor.yy138,yymsp[0].minor.yy46);} + break; + case 158: /* upsert ::= ON CONFLICT LP sortlist RP where_opt DO NOTHING */ +{ yymsp[-7].minor.yy288 = sqlite3UpsertNew(pParse->db,yymsp[-4].minor.yy138,yymsp[-2].minor.yy46,0,0); } + break; + case 159: /* upsert ::= ON CONFLICT DO NOTHING */ +{ yymsp[-3].minor.yy288 = sqlite3UpsertNew(pParse->db,0,0,0,0); } + break; + case 163: /* idlist_opt ::= LP idlist RP */ +{yymsp[-2].minor.yy406 = yymsp[-1].minor.yy406;} + break; + case 164: /* idlist ::= idlist COMMA nm */ +{yymsp[-2].minor.yy406 = sqlite3IdListAppend(pParse,yymsp[-2].minor.yy406,&yymsp[0].minor.yy0);} + break; + case 165: /* idlist ::= nm */ +{yymsp[0].minor.yy406 = sqlite3IdListAppend(pParse,0,&yymsp[0].minor.yy0); /*A-overwrites-Y*/} + break; + case 166: /* expr ::= LP expr RP */ +{yymsp[-2].minor.yy46 = yymsp[-1].minor.yy46;} + break; + case 167: /* expr ::= ID|INDEXED */ + case 168: /* expr ::= JOIN_KW */ yytestcase(yyruleno==168); +{yymsp[0].minor.yy46=tokenExpr(pParse,TK_ID,yymsp[0].minor.yy0); /*A-overwrites-X*/} + break; + case 169: /* expr ::= nm DOT nm */ +{ + Expr *temp1 = sqlite3ExprAlloc(pParse->db, TK_ID, &yymsp[-2].minor.yy0, 1); + Expr *temp2 = sqlite3ExprAlloc(pParse->db, TK_ID, &yymsp[0].minor.yy0, 1); + if( IN_RENAME_OBJECT ){ + sqlite3RenameTokenMap(pParse, (void*)temp2, &yymsp[0].minor.yy0); + sqlite3RenameTokenMap(pParse, (void*)temp1, &yymsp[-2].minor.yy0); + } + yylhsminor.yy46 = sqlite3PExpr(pParse, TK_DOT, temp1, temp2); +} + yymsp[-2].minor.yy46 = yylhsminor.yy46; + break; + case 170: /* expr ::= nm DOT nm DOT nm */ +{ + Expr *temp1 = sqlite3ExprAlloc(pParse->db, TK_ID, &yymsp[-4].minor.yy0, 1); + Expr *temp2 = sqlite3ExprAlloc(pParse->db, TK_ID, &yymsp[-2].minor.yy0, 1); + Expr *temp3 = sqlite3ExprAlloc(pParse->db, TK_ID, &yymsp[0].minor.yy0, 1); + Expr *temp4 = sqlite3PExpr(pParse, TK_DOT, temp2, temp3); + if( IN_RENAME_OBJECT ){ + sqlite3RenameTokenMap(pParse, (void*)temp3, &yymsp[0].minor.yy0); + sqlite3RenameTokenMap(pParse, (void*)temp2, &yymsp[-2].minor.yy0); + } + yylhsminor.yy46 = sqlite3PExpr(pParse, TK_DOT, temp1, temp4); +} + yymsp[-4].minor.yy46 = yylhsminor.yy46; + break; + case 171: /* term ::= NULL|FLOAT|BLOB */ + case 172: /* term ::= STRING */ yytestcase(yyruleno==172); +{yymsp[0].minor.yy46=tokenExpr(pParse,yymsp[0].major,yymsp[0].minor.yy0); /*A-overwrites-X*/} + break; + case 173: /* term ::= INTEGER */ +{ + yylhsminor.yy46 = sqlite3ExprAlloc(pParse->db, TK_INTEGER, &yymsp[0].minor.yy0, 1); +} + yymsp[0].minor.yy46 = yylhsminor.yy46; + break; + case 174: /* expr ::= VARIABLE */ +{ + if( !(yymsp[0].minor.yy0.z[0]=='#' && sqlite3Isdigit(yymsp[0].minor.yy0.z[1])) ){ + u32 n = yymsp[0].minor.yy0.n; + yymsp[0].minor.yy46 = tokenExpr(pParse, TK_VARIABLE, yymsp[0].minor.yy0); + sqlite3ExprAssignVarNumber(pParse, yymsp[0].minor.yy46, n); + }else{ + /* When doing a nested parse, one can include terms in an expression + ** that look like this: #1 #2 ... These terms refer to registers + ** in the virtual machine. #N is the N-th register. */ + Token t = yymsp[0].minor.yy0; /*A-overwrites-X*/ + assert( t.n>=2 ); + if( pParse->nested==0 ){ + sqlite3ErrorMsg(pParse, "near \"%T\": syntax error", &t); + yymsp[0].minor.yy46 = 0; + }else{ + yymsp[0].minor.yy46 = sqlite3PExpr(pParse, TK_REGISTER, 0, 0); + if( yymsp[0].minor.yy46 ) sqlite3GetInt32(&t.z[1], &yymsp[0].minor.yy46->iTable); + } + } +} + break; + case 175: /* expr ::= expr COLLATE ID|STRING */ +{ + yymsp[-2].minor.yy46 = sqlite3ExprAddCollateToken(pParse, yymsp[-2].minor.yy46, &yymsp[0].minor.yy0, 1); +} + break; + case 176: /* expr ::= CAST LP expr AS typetoken RP */ +{ + yymsp[-5].minor.yy46 = sqlite3ExprAlloc(pParse->db, TK_CAST, &yymsp[-1].minor.yy0, 1); + sqlite3ExprAttachSubtrees(pParse->db, yymsp[-5].minor.yy46, yymsp[-3].minor.yy46, 0); +} + break; + case 177: /* expr ::= ID|INDEXED LP distinct exprlist RP */ +{ + yylhsminor.yy46 = sqlite3ExprFunction(pParse, yymsp[-1].minor.yy138, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy32); +} + yymsp[-4].minor.yy46 = yylhsminor.yy46; + break; + case 178: /* expr ::= ID|INDEXED LP STAR RP */ +{ + yylhsminor.yy46 = sqlite3ExprFunction(pParse, 0, &yymsp[-3].minor.yy0, 0); +} + yymsp[-3].minor.yy46 = yylhsminor.yy46; + break; + case 179: /* expr ::= ID|INDEXED LP distinct exprlist RP filter_over */ +{ + yylhsminor.yy46 = sqlite3ExprFunction(pParse, yymsp[-2].minor.yy138, &yymsp[-5].minor.yy0, yymsp[-3].minor.yy32); + sqlite3WindowAttach(pParse, yylhsminor.yy46, yymsp[0].minor.yy455); +} + yymsp[-5].minor.yy46 = yylhsminor.yy46; + break; + case 180: /* expr ::= ID|INDEXED LP STAR RP filter_over */ +{ + yylhsminor.yy46 = sqlite3ExprFunction(pParse, 0, &yymsp[-4].minor.yy0, 0); + sqlite3WindowAttach(pParse, yylhsminor.yy46, yymsp[0].minor.yy455); +} + yymsp[-4].minor.yy46 = yylhsminor.yy46; + break; + case 181: /* term ::= CTIME_KW */ +{ + yylhsminor.yy46 = sqlite3ExprFunction(pParse, 0, &yymsp[0].minor.yy0, 0); +} + yymsp[0].minor.yy46 = yylhsminor.yy46; + break; + case 182: /* expr ::= LP nexprlist COMMA expr RP */ +{ + ExprList *pList = sqlite3ExprListAppend(pParse, yymsp[-3].minor.yy138, yymsp[-1].minor.yy46); + yymsp[-4].minor.yy46 = sqlite3PExpr(pParse, TK_VECTOR, 0, 0); + if( yymsp[-4].minor.yy46 ){ + yymsp[-4].minor.yy46->x.pList = pList; + }else{ + sqlite3ExprListDelete(pParse->db, pList); + } +} + break; + case 183: /* expr ::= expr AND expr */ +{yymsp[-2].minor.yy46=sqlite3ExprAnd(pParse,yymsp[-2].minor.yy46,yymsp[0].minor.yy46);} + break; + case 184: /* expr ::= expr OR expr */ + case 185: /* expr ::= expr LT|GT|GE|LE expr */ yytestcase(yyruleno==185); + case 186: /* expr ::= expr EQ|NE expr */ yytestcase(yyruleno==186); + case 187: /* expr ::= expr BITAND|BITOR|LSHIFT|RSHIFT expr */ yytestcase(yyruleno==187); + case 188: /* expr ::= expr PLUS|MINUS expr */ yytestcase(yyruleno==188); + case 189: /* expr ::= expr STAR|SLASH|REM expr */ yytestcase(yyruleno==189); + case 190: /* expr ::= expr CONCAT expr */ yytestcase(yyruleno==190); +{yymsp[-2].minor.yy46=sqlite3PExpr(pParse,yymsp[-1].major,yymsp[-2].minor.yy46,yymsp[0].minor.yy46);} + break; + case 191: /* likeop ::= NOT LIKE_KW|MATCH */ +{yymsp[-1].minor.yy0=yymsp[0].minor.yy0; yymsp[-1].minor.yy0.n|=0x80000000; /*yymsp[-1].minor.yy0-overwrite-yymsp[0].minor.yy0*/} + break; + case 192: /* expr ::= expr likeop expr */ +{ + ExprList *pList; + int bNot = yymsp[-1].minor.yy0.n & 0x80000000; + yymsp[-1].minor.yy0.n &= 0x7fffffff; + pList = sqlite3ExprListAppend(pParse,0, yymsp[0].minor.yy46); + pList = sqlite3ExprListAppend(pParse,pList, yymsp[-2].minor.yy46); + yymsp[-2].minor.yy46 = sqlite3ExprFunction(pParse, pList, &yymsp[-1].minor.yy0, 0); + if( bNot ) yymsp[-2].minor.yy46 = sqlite3PExpr(pParse, TK_NOT, yymsp[-2].minor.yy46, 0); + if( yymsp[-2].minor.yy46 ) yymsp[-2].minor.yy46->flags |= EP_InfixFunc; +} + break; + case 193: /* expr ::= expr likeop expr ESCAPE expr */ +{ + ExprList *pList; + int bNot = yymsp[-3].minor.yy0.n & 0x80000000; + yymsp[-3].minor.yy0.n &= 0x7fffffff; + pList = sqlite3ExprListAppend(pParse,0, yymsp[-2].minor.yy46); + pList = sqlite3ExprListAppend(pParse,pList, yymsp[-4].minor.yy46); + pList = sqlite3ExprListAppend(pParse,pList, yymsp[0].minor.yy46); + yymsp[-4].minor.yy46 = sqlite3ExprFunction(pParse, pList, &yymsp[-3].minor.yy0, 0); + if( bNot ) yymsp[-4].minor.yy46 = sqlite3PExpr(pParse, TK_NOT, yymsp[-4].minor.yy46, 0); + if( yymsp[-4].minor.yy46 ) yymsp[-4].minor.yy46->flags |= EP_InfixFunc; +} + break; + case 194: /* expr ::= expr ISNULL|NOTNULL */ +{yymsp[-1].minor.yy46 = sqlite3PExpr(pParse,yymsp[0].major,yymsp[-1].minor.yy46,0);} + break; + case 195: /* expr ::= expr NOT NULL */ +{yymsp[-2].minor.yy46 = sqlite3PExpr(pParse,TK_NOTNULL,yymsp[-2].minor.yy46,0);} + break; + case 196: /* expr ::= expr IS expr */ +{ + yymsp[-2].minor.yy46 = sqlite3PExpr(pParse,TK_IS,yymsp[-2].minor.yy46,yymsp[0].minor.yy46); + binaryToUnaryIfNull(pParse, yymsp[0].minor.yy46, yymsp[-2].minor.yy46, TK_ISNULL); +} + break; + case 197: /* expr ::= expr IS NOT expr */ +{ + yymsp[-3].minor.yy46 = sqlite3PExpr(pParse,TK_ISNOT,yymsp[-3].minor.yy46,yymsp[0].minor.yy46); + binaryToUnaryIfNull(pParse, yymsp[0].minor.yy46, yymsp[-3].minor.yy46, TK_NOTNULL); +} + break; + case 198: /* expr ::= NOT expr */ + case 199: /* expr ::= BITNOT expr */ yytestcase(yyruleno==199); +{yymsp[-1].minor.yy46 = sqlite3PExpr(pParse, yymsp[-1].major, yymsp[0].minor.yy46, 0);/*A-overwrites-B*/} + break; + case 200: /* expr ::= PLUS|MINUS expr */ +{ + yymsp[-1].minor.yy46 = sqlite3PExpr(pParse, yymsp[-1].major==TK_PLUS ? TK_UPLUS : TK_UMINUS, yymsp[0].minor.yy46, 0); + /*A-overwrites-B*/ +} + break; + case 201: /* between_op ::= BETWEEN */ + case 204: /* in_op ::= IN */ yytestcase(yyruleno==204); +{yymsp[0].minor.yy32 = 0;} + break; + case 203: /* expr ::= expr between_op expr AND expr */ +{ + ExprList *pList = sqlite3ExprListAppend(pParse,0, yymsp[-2].minor.yy46); + pList = sqlite3ExprListAppend(pParse,pList, yymsp[0].minor.yy46); + yymsp[-4].minor.yy46 = sqlite3PExpr(pParse, TK_BETWEEN, yymsp[-4].minor.yy46, 0); + if( yymsp[-4].minor.yy46 ){ + yymsp[-4].minor.yy46->x.pList = pList; + }else{ + sqlite3ExprListDelete(pParse->db, pList); + } + if( yymsp[-3].minor.yy32 ) yymsp[-4].minor.yy46 = sqlite3PExpr(pParse, TK_NOT, yymsp[-4].minor.yy46, 0); +} + break; + case 206: /* expr ::= expr in_op LP exprlist RP */ +{ + if( yymsp[-1].minor.yy138==0 ){ + /* Expressions of the form + ** + ** expr1 IN () + ** expr1 NOT IN () + ** + ** simplify to constants 0 (false) and 1 (true), respectively, + ** regardless of the value of expr1. + */ + sqlite3ExprUnmapAndDelete(pParse, yymsp[-4].minor.yy46); + yymsp[-4].minor.yy46 = sqlite3Expr(pParse->db, TK_INTEGER, yymsp[-3].minor.yy32 ? "1" : "0"); + }else{ + yymsp[-4].minor.yy46 = sqlite3PExpr(pParse, TK_IN, yymsp[-4].minor.yy46, 0); + if( yymsp[-4].minor.yy46 ){ + yymsp[-4].minor.yy46->x.pList = yymsp[-1].minor.yy138; + sqlite3ExprSetHeightAndFlags(pParse, yymsp[-4].minor.yy46); + }else{ + sqlite3ExprListDelete(pParse->db, yymsp[-1].minor.yy138); + } + if( yymsp[-3].minor.yy32 ) yymsp[-4].minor.yy46 = sqlite3PExpr(pParse, TK_NOT, yymsp[-4].minor.yy46, 0); + } + } + break; + case 207: /* expr ::= LP select RP */ +{ + yymsp[-2].minor.yy46 = sqlite3PExpr(pParse, TK_SELECT, 0, 0); + sqlite3PExprAddSelect(pParse, yymsp[-2].minor.yy46, yymsp[-1].minor.yy25); + } + break; + case 208: /* expr ::= expr in_op LP select RP */ +{ + yymsp[-4].minor.yy46 = sqlite3PExpr(pParse, TK_IN, yymsp[-4].minor.yy46, 0); + sqlite3PExprAddSelect(pParse, yymsp[-4].minor.yy46, yymsp[-1].minor.yy25); + if( yymsp[-3].minor.yy32 ) yymsp[-4].minor.yy46 = sqlite3PExpr(pParse, TK_NOT, yymsp[-4].minor.yy46, 0); + } + break; + case 209: /* expr ::= expr in_op nm dbnm paren_exprlist */ +{ + SrcList *pSrc = sqlite3SrcListAppend(pParse, 0,&yymsp[-2].minor.yy0,&yymsp[-1].minor.yy0); + Select *pSelect = sqlite3SelectNew(pParse, 0,pSrc,0,0,0,0,0,0); + if( yymsp[0].minor.yy138 ) sqlite3SrcListFuncArgs(pParse, pSelect ? pSrc : 0, yymsp[0].minor.yy138); + yymsp[-4].minor.yy46 = sqlite3PExpr(pParse, TK_IN, yymsp[-4].minor.yy46, 0); + sqlite3PExprAddSelect(pParse, yymsp[-4].minor.yy46, pSelect); + if( yymsp[-3].minor.yy32 ) yymsp[-4].minor.yy46 = sqlite3PExpr(pParse, TK_NOT, yymsp[-4].minor.yy46, 0); + } + break; + case 210: /* expr ::= EXISTS LP select RP */ +{ + Expr *p; + p = yymsp[-3].minor.yy46 = sqlite3PExpr(pParse, TK_EXISTS, 0, 0); + sqlite3PExprAddSelect(pParse, p, yymsp[-1].minor.yy25); + } + break; + case 211: /* expr ::= CASE case_operand case_exprlist case_else END */ +{ + yymsp[-4].minor.yy46 = sqlite3PExpr(pParse, TK_CASE, yymsp[-3].minor.yy46, 0); + if( yymsp[-4].minor.yy46 ){ + yymsp[-4].minor.yy46->x.pList = yymsp[-1].minor.yy46 ? sqlite3ExprListAppend(pParse,yymsp[-2].minor.yy138,yymsp[-1].minor.yy46) : yymsp[-2].minor.yy138; + sqlite3ExprSetHeightAndFlags(pParse, yymsp[-4].minor.yy46); + }else{ + sqlite3ExprListDelete(pParse->db, yymsp[-2].minor.yy138); + sqlite3ExprDelete(pParse->db, yymsp[-1].minor.yy46); + } +} + break; + case 212: /* case_exprlist ::= case_exprlist WHEN expr THEN expr */ +{ + yymsp[-4].minor.yy138 = sqlite3ExprListAppend(pParse,yymsp[-4].minor.yy138, yymsp[-2].minor.yy46); + yymsp[-4].minor.yy138 = sqlite3ExprListAppend(pParse,yymsp[-4].minor.yy138, yymsp[0].minor.yy46); +} + break; + case 213: /* case_exprlist ::= WHEN expr THEN expr */ +{ + yymsp[-3].minor.yy138 = sqlite3ExprListAppend(pParse,0, yymsp[-2].minor.yy46); + yymsp[-3].minor.yy138 = sqlite3ExprListAppend(pParse,yymsp[-3].minor.yy138, yymsp[0].minor.yy46); +} + break; + case 216: /* case_operand ::= expr */ +{yymsp[0].minor.yy46 = yymsp[0].minor.yy46; /*A-overwrites-X*/} + break; + case 219: /* nexprlist ::= nexprlist COMMA expr */ +{yymsp[-2].minor.yy138 = sqlite3ExprListAppend(pParse,yymsp[-2].minor.yy138,yymsp[0].minor.yy46);} + break; + case 220: /* nexprlist ::= expr */ +{yymsp[0].minor.yy138 = sqlite3ExprListAppend(pParse,0,yymsp[0].minor.yy46); /*A-overwrites-Y*/} + break; + case 222: /* paren_exprlist ::= LP exprlist RP */ + case 227: /* eidlist_opt ::= LP eidlist RP */ yytestcase(yyruleno==227); +{yymsp[-2].minor.yy138 = yymsp[-1].minor.yy138;} + break; + case 223: /* cmd ::= createkw uniqueflag INDEX ifnotexists nm dbnm ON nm LP sortlist RP where_opt */ +{ + sqlite3CreateIndex(pParse, &yymsp[-7].minor.yy0, &yymsp[-6].minor.yy0, + sqlite3SrcListAppend(pParse,0,&yymsp[-4].minor.yy0,0), yymsp[-2].minor.yy138, yymsp[-10].minor.yy32, + &yymsp[-11].minor.yy0, yymsp[0].minor.yy46, SQLITE_SO_ASC, yymsp[-8].minor.yy32, SQLITE_IDXTYPE_APPDEF); + if( IN_RENAME_OBJECT && pParse->pNewIndex ){ + sqlite3RenameTokenMap(pParse, pParse->pNewIndex->zName, &yymsp[-4].minor.yy0); + } +} + break; + case 224: /* uniqueflag ::= UNIQUE */ + case 266: /* raisetype ::= ABORT */ yytestcase(yyruleno==266); +{yymsp[0].minor.yy32 = OE_Abort;} + break; + case 225: /* uniqueflag ::= */ +{yymsp[1].minor.yy32 = OE_None;} + break; + case 228: /* eidlist ::= eidlist COMMA nm collate sortorder */ +{ + yymsp[-4].minor.yy138 = parserAddExprIdListTerm(pParse, yymsp[-4].minor.yy138, &yymsp[-2].minor.yy0, yymsp[-1].minor.yy32, yymsp[0].minor.yy32); +} + break; + case 229: /* eidlist ::= nm collate sortorder */ +{ + yymsp[-2].minor.yy138 = parserAddExprIdListTerm(pParse, 0, &yymsp[-2].minor.yy0, yymsp[-1].minor.yy32, yymsp[0].minor.yy32); /*A-overwrites-Y*/ +} + break; + case 232: /* cmd ::= DROP INDEX ifexists fullname */ +{sqlite3DropIndex(pParse, yymsp[0].minor.yy609, yymsp[-1].minor.yy32);} + break; + case 233: /* cmd ::= VACUUM vinto */ +{sqlite3Vacuum(pParse,0,yymsp[0].minor.yy46);} + break; + case 234: /* cmd ::= VACUUM nm vinto */ +{sqlite3Vacuum(pParse,&yymsp[-1].minor.yy0,yymsp[0].minor.yy46);} + break; + case 237: /* cmd ::= PRAGMA nm dbnm */ +{sqlite3Pragma(pParse,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy0,0,0);} + break; + case 238: /* cmd ::= PRAGMA nm dbnm EQ nmnum */ +{sqlite3Pragma(pParse,&yymsp[-3].minor.yy0,&yymsp[-2].minor.yy0,&yymsp[0].minor.yy0,0);} + break; + case 239: /* cmd ::= PRAGMA nm dbnm LP nmnum RP */ +{sqlite3Pragma(pParse,&yymsp[-4].minor.yy0,&yymsp[-3].minor.yy0,&yymsp[-1].minor.yy0,0);} + break; + case 240: /* cmd ::= PRAGMA nm dbnm EQ minus_num */ +{sqlite3Pragma(pParse,&yymsp[-3].minor.yy0,&yymsp[-2].minor.yy0,&yymsp[0].minor.yy0,1);} + break; + case 241: /* cmd ::= PRAGMA nm dbnm LP minus_num RP */ +{sqlite3Pragma(pParse,&yymsp[-4].minor.yy0,&yymsp[-3].minor.yy0,&yymsp[-1].minor.yy0,1);} + break; + case 244: /* cmd ::= createkw trigger_decl BEGIN trigger_cmd_list END */ +{ + Token all; + all.z = yymsp[-3].minor.yy0.z; + all.n = (int)(yymsp[0].minor.yy0.z - yymsp[-3].minor.yy0.z) + yymsp[0].minor.yy0.n; + sqlite3FinishTrigger(pParse, yymsp[-1].minor.yy527, &all); +} + break; + case 245: /* trigger_decl ::= temp TRIGGER ifnotexists nm dbnm trigger_time trigger_event ON fullname foreach_clause when_clause */ +{ + sqlite3BeginTrigger(pParse, &yymsp[-7].minor.yy0, &yymsp[-6].minor.yy0, yymsp[-5].minor.yy32, yymsp[-4].minor.yy572.a, yymsp[-4].minor.yy572.b, yymsp[-2].minor.yy609, yymsp[0].minor.yy46, yymsp[-10].minor.yy32, yymsp[-8].minor.yy32); + yymsp[-10].minor.yy0 = (yymsp[-6].minor.yy0.n==0?yymsp[-7].minor.yy0:yymsp[-6].minor.yy0); /*A-overwrites-T*/ +} + break; + case 246: /* trigger_time ::= BEFORE|AFTER */ +{ yymsp[0].minor.yy32 = yymsp[0].major; /*A-overwrites-X*/ } + break; + case 247: /* trigger_time ::= INSTEAD OF */ +{ yymsp[-1].minor.yy32 = TK_INSTEAD;} + break; + case 248: /* trigger_time ::= */ +{ yymsp[1].minor.yy32 = TK_BEFORE; } + break; + case 249: /* trigger_event ::= DELETE|INSERT */ + case 250: /* trigger_event ::= UPDATE */ yytestcase(yyruleno==250); +{yymsp[0].minor.yy572.a = yymsp[0].major; /*A-overwrites-X*/ yymsp[0].minor.yy572.b = 0;} + break; + case 251: /* trigger_event ::= UPDATE OF idlist */ +{yymsp[-2].minor.yy572.a = TK_UPDATE; yymsp[-2].minor.yy572.b = yymsp[0].minor.yy406;} + break; + case 252: /* when_clause ::= */ + case 271: /* key_opt ::= */ yytestcase(yyruleno==271); +{ yymsp[1].minor.yy46 = 0; } + break; + case 253: /* when_clause ::= WHEN expr */ + case 272: /* key_opt ::= KEY expr */ yytestcase(yyruleno==272); +{ yymsp[-1].minor.yy46 = yymsp[0].minor.yy46; } + break; + case 254: /* trigger_cmd_list ::= trigger_cmd_list trigger_cmd SEMI */ +{ + assert( yymsp[-2].minor.yy527!=0 ); + yymsp[-2].minor.yy527->pLast->pNext = yymsp[-1].minor.yy527; + yymsp[-2].minor.yy527->pLast = yymsp[-1].minor.yy527; +} + break; + case 255: /* trigger_cmd_list ::= trigger_cmd SEMI */ +{ + assert( yymsp[-1].minor.yy527!=0 ); + yymsp[-1].minor.yy527->pLast = yymsp[-1].minor.yy527; +} + break; + case 256: /* trnm ::= nm DOT nm */ +{ + yymsp[-2].minor.yy0 = yymsp[0].minor.yy0; + sqlite3ErrorMsg(pParse, + "qualified table names are not allowed on INSERT, UPDATE, and DELETE " + "statements within triggers"); +} + break; + case 257: /* tridxby ::= INDEXED BY nm */ +{ + sqlite3ErrorMsg(pParse, + "the INDEXED BY clause is not allowed on UPDATE or DELETE statements " + "within triggers"); +} + break; + case 258: /* tridxby ::= NOT INDEXED */ +{ + sqlite3ErrorMsg(pParse, + "the NOT INDEXED clause is not allowed on UPDATE or DELETE statements " + "within triggers"); +} + break; + case 259: /* trigger_cmd ::= UPDATE orconf trnm tridxby SET setlist where_opt scanpt */ +{yylhsminor.yy527 = sqlite3TriggerUpdateStep(pParse, &yymsp[-5].minor.yy0, yymsp[-2].minor.yy138, yymsp[-1].minor.yy46, yymsp[-6].minor.yy32, yymsp[-7].minor.yy0.z, yymsp[0].minor.yy8);} + yymsp[-7].minor.yy527 = yylhsminor.yy527; + break; + case 260: /* trigger_cmd ::= scanpt insert_cmd INTO trnm idlist_opt select upsert scanpt */ +{ + yylhsminor.yy527 = sqlite3TriggerInsertStep(pParse,&yymsp[-4].minor.yy0,yymsp[-3].minor.yy406,yymsp[-2].minor.yy25,yymsp[-6].minor.yy32,yymsp[-1].minor.yy288,yymsp[-7].minor.yy8,yymsp[0].minor.yy8);/*yylhsminor.yy527-overwrites-yymsp[-6].minor.yy32*/ +} + yymsp[-7].minor.yy527 = yylhsminor.yy527; + break; + case 261: /* trigger_cmd ::= DELETE FROM trnm tridxby where_opt scanpt */ +{yylhsminor.yy527 = sqlite3TriggerDeleteStep(pParse, &yymsp[-3].minor.yy0, yymsp[-1].minor.yy46, yymsp[-5].minor.yy0.z, yymsp[0].minor.yy8);} + yymsp[-5].minor.yy527 = yylhsminor.yy527; + break; + case 262: /* trigger_cmd ::= scanpt select scanpt */ +{yylhsminor.yy527 = sqlite3TriggerSelectStep(pParse->db, yymsp[-1].minor.yy25, yymsp[-2].minor.yy8, yymsp[0].minor.yy8); /*yylhsminor.yy527-overwrites-yymsp[-1].minor.yy25*/} + yymsp[-2].minor.yy527 = yylhsminor.yy527; + break; + case 263: /* expr ::= RAISE LP IGNORE RP */ +{ + yymsp[-3].minor.yy46 = sqlite3PExpr(pParse, TK_RAISE, 0, 0); + if( yymsp[-3].minor.yy46 ){ + yymsp[-3].minor.yy46->affExpr = OE_Ignore; + } +} + break; + case 264: /* expr ::= RAISE LP raisetype COMMA nm RP */ +{ + yymsp[-5].minor.yy46 = sqlite3ExprAlloc(pParse->db, TK_RAISE, &yymsp[-1].minor.yy0, 1); + if( yymsp[-5].minor.yy46 ) { + yymsp[-5].minor.yy46->affExpr = (char)yymsp[-3].minor.yy32; + } +} + break; + case 265: /* raisetype ::= ROLLBACK */ +{yymsp[0].minor.yy32 = OE_Rollback;} + break; + case 267: /* raisetype ::= FAIL */ +{yymsp[0].minor.yy32 = OE_Fail;} + break; + case 268: /* cmd ::= DROP TRIGGER ifexists fullname */ +{ + sqlite3DropTrigger(pParse,yymsp[0].minor.yy609,yymsp[-1].minor.yy32); +} + break; + case 269: /* cmd ::= ATTACH database_kw_opt expr AS expr key_opt */ +{ + sqlite3Attach(pParse, yymsp[-3].minor.yy46, yymsp[-1].minor.yy46, yymsp[0].minor.yy46); +} + break; + case 270: /* cmd ::= DETACH database_kw_opt expr */ +{ + sqlite3Detach(pParse, yymsp[0].minor.yy46); +} + break; + case 273: /* cmd ::= REINDEX */ +{sqlite3Reindex(pParse, 0, 0);} + break; + case 274: /* cmd ::= REINDEX nm dbnm */ +{sqlite3Reindex(pParse, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0);} + break; + case 275: /* cmd ::= ANALYZE */ +{sqlite3Analyze(pParse, 0, 0);} + break; + case 276: /* cmd ::= ANALYZE nm dbnm */ +{sqlite3Analyze(pParse, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0);} + break; + case 277: /* cmd ::= ALTER TABLE fullname RENAME TO nm */ +{ + sqlite3AlterRenameTable(pParse,yymsp[-3].minor.yy609,&yymsp[0].minor.yy0); +} + break; + case 278: /* cmd ::= ALTER TABLE add_column_fullname ADD kwcolumn_opt columnname carglist */ +{ + yymsp[-1].minor.yy0.n = (int)(pParse->sLastToken.z-yymsp[-1].minor.yy0.z) + pParse->sLastToken.n; + sqlite3AlterFinishAddColumn(pParse, &yymsp[-1].minor.yy0); +} + break; + case 279: /* add_column_fullname ::= fullname */ +{ + disableLookaside(pParse); + sqlite3AlterBeginAddColumn(pParse, yymsp[0].minor.yy609); +} + break; + case 280: /* cmd ::= ALTER TABLE fullname RENAME kwcolumn_opt nm TO nm */ +{ + sqlite3AlterRenameColumn(pParse, yymsp[-5].minor.yy609, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); +} + break; + case 281: /* cmd ::= create_vtab */ +{sqlite3VtabFinishParse(pParse,0);} + break; + case 282: /* cmd ::= create_vtab LP vtabarglist RP */ +{sqlite3VtabFinishParse(pParse,&yymsp[0].minor.yy0);} + break; + case 283: /* create_vtab ::= createkw VIRTUAL TABLE ifnotexists nm dbnm USING nm */ +{ + sqlite3VtabBeginParse(pParse, &yymsp[-3].minor.yy0, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-4].minor.yy32); +} + break; + case 284: /* vtabarg ::= */ +{sqlite3VtabArgInit(pParse);} + break; + case 285: /* vtabargtoken ::= ANY */ + case 286: /* vtabargtoken ::= lp anylist RP */ yytestcase(yyruleno==286); + case 287: /* lp ::= LP */ yytestcase(yyruleno==287); +{sqlite3VtabArgExtend(pParse,&yymsp[0].minor.yy0);} + break; + case 288: /* with ::= WITH wqlist */ + case 289: /* with ::= WITH RECURSIVE wqlist */ yytestcase(yyruleno==289); +{ sqlite3WithPush(pParse, yymsp[0].minor.yy297, 1); } + break; + case 290: /* wqlist ::= nm eidlist_opt AS LP select RP */ +{ + yymsp[-5].minor.yy297 = sqlite3WithAdd(pParse, 0, &yymsp[-5].minor.yy0, yymsp[-4].minor.yy138, yymsp[-1].minor.yy25); /*A-overwrites-X*/ +} + break; + case 291: /* wqlist ::= wqlist COMMA nm eidlist_opt AS LP select RP */ +{ + yymsp[-7].minor.yy297 = sqlite3WithAdd(pParse, yymsp[-7].minor.yy297, &yymsp[-5].minor.yy0, yymsp[-4].minor.yy138, yymsp[-1].minor.yy25); +} + break; + case 292: /* windowdefn_list ::= windowdefn */ +{ yylhsminor.yy455 = yymsp[0].minor.yy455; } + yymsp[0].minor.yy455 = yylhsminor.yy455; + break; + case 293: /* windowdefn_list ::= windowdefn_list COMMA windowdefn */ +{ + assert( yymsp[0].minor.yy455!=0 ); + sqlite3WindowChain(pParse, yymsp[0].minor.yy455, yymsp[-2].minor.yy455); + yymsp[0].minor.yy455->pNextWin = yymsp[-2].minor.yy455; + yylhsminor.yy455 = yymsp[0].minor.yy455; +} + yymsp[-2].minor.yy455 = yylhsminor.yy455; + break; + case 294: /* windowdefn ::= nm AS LP window RP */ +{ + if( ALWAYS(yymsp[-1].minor.yy455) ){ + yymsp[-1].minor.yy455->zName = sqlite3DbStrNDup(pParse->db, yymsp[-4].minor.yy0.z, yymsp[-4].minor.yy0.n); + } + yylhsminor.yy455 = yymsp[-1].minor.yy455; +} + yymsp[-4].minor.yy455 = yylhsminor.yy455; + break; + case 295: /* window ::= PARTITION BY nexprlist orderby_opt frame_opt */ +{ + yymsp[-4].minor.yy455 = sqlite3WindowAssemble(pParse, yymsp[0].minor.yy455, yymsp[-2].minor.yy138, yymsp[-1].minor.yy138, 0); +} + break; + case 296: /* window ::= nm PARTITION BY nexprlist orderby_opt frame_opt */ +{ + yylhsminor.yy455 = sqlite3WindowAssemble(pParse, yymsp[0].minor.yy455, yymsp[-2].minor.yy138, yymsp[-1].minor.yy138, &yymsp[-5].minor.yy0); +} + yymsp[-5].minor.yy455 = yylhsminor.yy455; + break; + case 297: /* window ::= ORDER BY sortlist frame_opt */ +{ + yymsp[-3].minor.yy455 = sqlite3WindowAssemble(pParse, yymsp[0].minor.yy455, 0, yymsp[-1].minor.yy138, 0); +} + break; + case 298: /* window ::= nm ORDER BY sortlist frame_opt */ +{ + yylhsminor.yy455 = sqlite3WindowAssemble(pParse, yymsp[0].minor.yy455, 0, yymsp[-1].minor.yy138, &yymsp[-4].minor.yy0); +} + yymsp[-4].minor.yy455 = yylhsminor.yy455; + break; + case 299: /* window ::= frame_opt */ + case 318: /* filter_over ::= over_clause */ yytestcase(yyruleno==318); +{ + yylhsminor.yy455 = yymsp[0].minor.yy455; +} + yymsp[0].minor.yy455 = yylhsminor.yy455; + break; + case 300: /* window ::= nm frame_opt */ +{ + yylhsminor.yy455 = sqlite3WindowAssemble(pParse, yymsp[0].minor.yy455, 0, 0, &yymsp[-1].minor.yy0); +} + yymsp[-1].minor.yy455 = yylhsminor.yy455; + break; + case 301: /* frame_opt ::= */ +{ + yymsp[1].minor.yy455 = sqlite3WindowAlloc(pParse, 0, TK_UNBOUNDED, 0, TK_CURRENT, 0, 0); +} + break; + case 302: /* frame_opt ::= range_or_rows frame_bound_s frame_exclude_opt */ +{ + yylhsminor.yy455 = sqlite3WindowAlloc(pParse, yymsp[-2].minor.yy32, yymsp[-1].minor.yy57.eType, yymsp[-1].minor.yy57.pExpr, TK_CURRENT, 0, yymsp[0].minor.yy118); +} + yymsp[-2].minor.yy455 = yylhsminor.yy455; + break; + case 303: /* frame_opt ::= range_or_rows BETWEEN frame_bound_s AND frame_bound_e frame_exclude_opt */ +{ + yylhsminor.yy455 = sqlite3WindowAlloc(pParse, yymsp[-5].minor.yy32, yymsp[-3].minor.yy57.eType, yymsp[-3].minor.yy57.pExpr, yymsp[-1].minor.yy57.eType, yymsp[-1].minor.yy57.pExpr, yymsp[0].minor.yy118); +} + yymsp[-5].minor.yy455 = yylhsminor.yy455; + break; + case 305: /* frame_bound_s ::= frame_bound */ + case 307: /* frame_bound_e ::= frame_bound */ yytestcase(yyruleno==307); +{yylhsminor.yy57 = yymsp[0].minor.yy57;} + yymsp[0].minor.yy57 = yylhsminor.yy57; + break; + case 306: /* frame_bound_s ::= UNBOUNDED PRECEDING */ + case 308: /* frame_bound_e ::= UNBOUNDED FOLLOWING */ yytestcase(yyruleno==308); + case 310: /* frame_bound ::= CURRENT ROW */ yytestcase(yyruleno==310); +{yylhsminor.yy57.eType = yymsp[-1].major; yylhsminor.yy57.pExpr = 0;} + yymsp[-1].minor.yy57 = yylhsminor.yy57; + break; + case 309: /* frame_bound ::= expr PRECEDING|FOLLOWING */ +{yylhsminor.yy57.eType = yymsp[0].major; yylhsminor.yy57.pExpr = yymsp[-1].minor.yy46;} + yymsp[-1].minor.yy57 = yylhsminor.yy57; + break; + case 311: /* frame_exclude_opt ::= */ +{yymsp[1].minor.yy118 = 0;} + break; + case 312: /* frame_exclude_opt ::= EXCLUDE frame_exclude */ +{yymsp[-1].minor.yy118 = yymsp[0].minor.yy118;} + break; + case 313: /* frame_exclude ::= NO OTHERS */ + case 314: /* frame_exclude ::= CURRENT ROW */ yytestcase(yyruleno==314); +{yymsp[-1].minor.yy118 = yymsp[-1].major; /*A-overwrites-X*/} + break; + case 315: /* frame_exclude ::= GROUP|TIES */ +{yymsp[0].minor.yy118 = yymsp[0].major; /*A-overwrites-X*/} + break; + case 316: /* window_clause ::= WINDOW windowdefn_list */ +{ yymsp[-1].minor.yy455 = yymsp[0].minor.yy455; } + break; + case 317: /* filter_over ::= filter_clause over_clause */ +{ + yymsp[0].minor.yy455->pFilter = yymsp[-1].minor.yy46; + yylhsminor.yy455 = yymsp[0].minor.yy455; +} + yymsp[-1].minor.yy455 = yylhsminor.yy455; + break; + case 319: /* filter_over ::= filter_clause */ +{ + yylhsminor.yy455 = (Window*)sqlite3DbMallocZero(pParse->db, sizeof(Window)); + if( yylhsminor.yy455 ){ + yylhsminor.yy455->eFrmType = TK_FILTER; + yylhsminor.yy455->pFilter = yymsp[0].minor.yy46; + }else{ + sqlite3ExprDelete(pParse->db, yymsp[0].minor.yy46); + } +} + yymsp[0].minor.yy455 = yylhsminor.yy455; + break; + case 320: /* over_clause ::= OVER LP window RP */ +{ + yymsp[-3].minor.yy455 = yymsp[-1].minor.yy455; + assert( yymsp[-3].minor.yy455!=0 ); +} + break; + case 321: /* over_clause ::= OVER nm */ +{ + yymsp[-1].minor.yy455 = (Window*)sqlite3DbMallocZero(pParse->db, sizeof(Window)); + if( yymsp[-1].minor.yy455 ){ + yymsp[-1].minor.yy455->zName = sqlite3DbStrNDup(pParse->db, yymsp[0].minor.yy0.z, yymsp[0].minor.yy0.n); + } +} + break; + case 322: /* filter_clause ::= FILTER LP WHERE expr RP */ +{ yymsp[-4].minor.yy46 = yymsp[-1].minor.yy46; } + break; + default: + /* (323) input ::= cmdlist */ yytestcase(yyruleno==323); + /* (324) cmdlist ::= cmdlist ecmd */ yytestcase(yyruleno==324); + /* (325) cmdlist ::= ecmd (OPTIMIZED OUT) */ assert(yyruleno!=325); + /* (326) ecmd ::= SEMI */ yytestcase(yyruleno==326); + /* (327) ecmd ::= cmdx SEMI */ yytestcase(yyruleno==327); + /* (328) ecmd ::= explain cmdx */ yytestcase(yyruleno==328); + /* (329) trans_opt ::= */ yytestcase(yyruleno==329); + /* (330) trans_opt ::= TRANSACTION */ yytestcase(yyruleno==330); + /* (331) trans_opt ::= TRANSACTION nm */ yytestcase(yyruleno==331); + /* (332) savepoint_opt ::= SAVEPOINT */ yytestcase(yyruleno==332); + /* (333) savepoint_opt ::= */ yytestcase(yyruleno==333); + /* (334) cmd ::= create_table create_table_args */ yytestcase(yyruleno==334); + /* (335) columnlist ::= columnlist COMMA columnname carglist */ yytestcase(yyruleno==335); + /* (336) columnlist ::= columnname carglist */ yytestcase(yyruleno==336); + /* (337) nm ::= ID|INDEXED */ yytestcase(yyruleno==337); + /* (338) nm ::= STRING */ yytestcase(yyruleno==338); + /* (339) nm ::= JOIN_KW */ yytestcase(yyruleno==339); + /* (340) typetoken ::= typename */ yytestcase(yyruleno==340); + /* (341) typename ::= ID|STRING */ yytestcase(yyruleno==341); + /* (342) signed ::= plus_num (OPTIMIZED OUT) */ assert(yyruleno!=342); + /* (343) signed ::= minus_num (OPTIMIZED OUT) */ assert(yyruleno!=343); + /* (344) carglist ::= carglist ccons */ yytestcase(yyruleno==344); + /* (345) carglist ::= */ yytestcase(yyruleno==345); + /* (346) ccons ::= NULL onconf */ yytestcase(yyruleno==346); + /* (347) conslist_opt ::= COMMA conslist */ yytestcase(yyruleno==347); + /* (348) conslist ::= conslist tconscomma tcons */ yytestcase(yyruleno==348); + /* (349) conslist ::= tcons (OPTIMIZED OUT) */ assert(yyruleno!=349); + /* (350) tconscomma ::= */ yytestcase(yyruleno==350); + /* (351) defer_subclause_opt ::= defer_subclause (OPTIMIZED OUT) */ assert(yyruleno!=351); + /* (352) resolvetype ::= raisetype (OPTIMIZED OUT) */ assert(yyruleno!=352); + /* (353) selectnowith ::= oneselect (OPTIMIZED OUT) */ assert(yyruleno!=353); + /* (354) oneselect ::= values */ yytestcase(yyruleno==354); + /* (355) sclp ::= selcollist COMMA */ yytestcase(yyruleno==355); + /* (356) as ::= ID|STRING */ yytestcase(yyruleno==356); + /* (357) expr ::= term (OPTIMIZED OUT) */ assert(yyruleno!=357); + /* (358) likeop ::= LIKE_KW|MATCH */ yytestcase(yyruleno==358); + /* (359) exprlist ::= nexprlist */ yytestcase(yyruleno==359); + /* (360) nmnum ::= plus_num (OPTIMIZED OUT) */ assert(yyruleno!=360); + /* (361) nmnum ::= nm (OPTIMIZED OUT) */ assert(yyruleno!=361); + /* (362) nmnum ::= ON */ yytestcase(yyruleno==362); + /* (363) nmnum ::= DELETE */ yytestcase(yyruleno==363); + /* (364) nmnum ::= DEFAULT */ yytestcase(yyruleno==364); + /* (365) plus_num ::= INTEGER|FLOAT */ yytestcase(yyruleno==365); + /* (366) foreach_clause ::= */ yytestcase(yyruleno==366); + /* (367) foreach_clause ::= FOR EACH ROW */ yytestcase(yyruleno==367); + /* (368) trnm ::= nm */ yytestcase(yyruleno==368); + /* (369) tridxby ::= */ yytestcase(yyruleno==369); + /* (370) database_kw_opt ::= DATABASE */ yytestcase(yyruleno==370); + /* (371) database_kw_opt ::= */ yytestcase(yyruleno==371); + /* (372) kwcolumn_opt ::= */ yytestcase(yyruleno==372); + /* (373) kwcolumn_opt ::= COLUMNKW */ yytestcase(yyruleno==373); + /* (374) vtabarglist ::= vtabarg */ yytestcase(yyruleno==374); + /* (375) vtabarglist ::= vtabarglist COMMA vtabarg */ yytestcase(yyruleno==375); + /* (376) vtabarg ::= vtabarg vtabargtoken */ yytestcase(yyruleno==376); + /* (377) anylist ::= */ yytestcase(yyruleno==377); + /* (378) anylist ::= anylist LP anylist RP */ yytestcase(yyruleno==378); + /* (379) anylist ::= anylist ANY */ yytestcase(yyruleno==379); + /* (380) with ::= */ yytestcase(yyruleno==380); + break; +/********** End reduce actions ************************************************/ + }; + assert( yyrulenoYY_MAX_SHIFT && yyact<=YY_MAX_SHIFTREDUCE) ); + + /* It is not possible for a REDUCE to be followed by an error */ + assert( yyact!=YY_ERROR_ACTION ); + + yymsp += yysize+1; + yypParser->yytos = yymsp; + yymsp->stateno = (YYACTIONTYPE)yyact; + yymsp->major = (YYCODETYPE)yygoto; + yyTraceShift(yypParser, yyact, "... then shift"); + return yyact; +} + +/* +** The following code executes when the parse fails +*/ +#ifndef YYNOERRORRECOVERY +static void yy_parse_failed( + yyParser *yypParser /* The parser */ +){ + sqlite3ParserARG_FETCH + sqlite3ParserCTX_FETCH +#ifndef NDEBUG + if( yyTraceFILE ){ + fprintf(yyTraceFILE,"%sFail!\n",yyTracePrompt); + } +#endif + while( yypParser->yytos>yypParser->yystack ) yy_pop_parser_stack(yypParser); + /* Here code is inserted which will be executed whenever the + ** parser fails */ +/************ Begin %parse_failure code ***************************************/ +/************ End %parse_failure code *****************************************/ + sqlite3ParserARG_STORE /* Suppress warning about unused %extra_argument variable */ + sqlite3ParserCTX_STORE +} +#endif /* YYNOERRORRECOVERY */ + +/* +** The following code executes when a syntax error first occurs. +*/ +static void yy_syntax_error( + yyParser *yypParser, /* The parser */ + int yymajor, /* The major type of the error token */ + sqlite3ParserTOKENTYPE yyminor /* The minor type of the error token */ +){ + sqlite3ParserARG_FETCH + sqlite3ParserCTX_FETCH +#define TOKEN yyminor +/************ Begin %syntax_error code ****************************************/ + + UNUSED_PARAMETER(yymajor); /* Silence some compiler warnings */ + if( TOKEN.z[0] ){ + sqlite3ErrorMsg(pParse, "near \"%T\": syntax error", &TOKEN); + }else{ + sqlite3ErrorMsg(pParse, "incomplete input"); + } +/************ End %syntax_error code ******************************************/ + sqlite3ParserARG_STORE /* Suppress warning about unused %extra_argument variable */ + sqlite3ParserCTX_STORE +} + +/* +** The following is executed when the parser accepts +*/ +static void yy_accept( + yyParser *yypParser /* The parser */ +){ + sqlite3ParserARG_FETCH + sqlite3ParserCTX_FETCH +#ifndef NDEBUG + if( yyTraceFILE ){ + fprintf(yyTraceFILE,"%sAccept!\n",yyTracePrompt); + } +#endif +#ifndef YYNOERRORRECOVERY + yypParser->yyerrcnt = -1; +#endif + assert( yypParser->yytos==yypParser->yystack ); + /* Here code is inserted which will be executed whenever the + ** parser accepts */ +/*********** Begin %parse_accept code *****************************************/ +/*********** End %parse_accept code *******************************************/ + sqlite3ParserARG_STORE /* Suppress warning about unused %extra_argument variable */ + sqlite3ParserCTX_STORE +} + +/* The main parser program. +** The first argument is a pointer to a structure obtained from +** "sqlite3ParserAlloc" which describes the current state of the parser. +** The second argument is the major token number. The third is +** the minor token. The fourth optional argument is whatever the +** user wants (and specified in the grammar) and is available for +** use by the action routines. +** +** Inputs: +**
      +**
    • A pointer to the parser (an opaque structure.) +**
    • The major token number. +**
    • The minor token number. +**
    • An option argument of a grammar-specified type. +**
    +** +** Outputs: +** None. +*/ +SQLITE_PRIVATE void sqlite3Parser( + void *yyp, /* The parser */ + int yymajor, /* The major token code number */ + sqlite3ParserTOKENTYPE yyminor /* The value for the token */ + sqlite3ParserARG_PDECL /* Optional %extra_argument parameter */ +){ + YYMINORTYPE yyminorunion; + YYACTIONTYPE yyact; /* The parser action. */ +#if !defined(YYERRORSYMBOL) && !defined(YYNOERRORRECOVERY) + int yyendofinput; /* True if we are at the end of input */ +#endif +#ifdef YYERRORSYMBOL + int yyerrorhit = 0; /* True if yymajor has invoked an error */ +#endif + yyParser *yypParser = (yyParser*)yyp; /* The parser */ + sqlite3ParserCTX_FETCH + sqlite3ParserARG_STORE + + assert( yypParser->yytos!=0 ); +#if !defined(YYERRORSYMBOL) && !defined(YYNOERRORRECOVERY) + yyendofinput = (yymajor==0); +#endif + + yyact = yypParser->yytos->stateno; +#ifndef NDEBUG + if( yyTraceFILE ){ + if( yyact < YY_MIN_REDUCE ){ + fprintf(yyTraceFILE,"%sInput '%s' in state %d\n", + yyTracePrompt,yyTokenName[yymajor],yyact); + }else{ + fprintf(yyTraceFILE,"%sInput '%s' with pending reduce %d\n", + yyTracePrompt,yyTokenName[yymajor],yyact-YY_MIN_REDUCE); + } + } +#endif + + do{ + assert( yyact==yypParser->yytos->stateno ); + yyact = yy_find_shift_action((YYCODETYPE)yymajor,yyact); + if( yyact >= YY_MIN_REDUCE ){ + yyact = yy_reduce(yypParser,yyact-YY_MIN_REDUCE,yymajor, + yyminor sqlite3ParserCTX_PARAM); + }else if( yyact <= YY_MAX_SHIFTREDUCE ){ + yy_shift(yypParser,yyact,(YYCODETYPE)yymajor,yyminor); +#ifndef YYNOERRORRECOVERY + yypParser->yyerrcnt--; +#endif + break; + }else if( yyact==YY_ACCEPT_ACTION ){ + yypParser->yytos--; + yy_accept(yypParser); + return; + }else{ + assert( yyact == YY_ERROR_ACTION ); + yyminorunion.yy0 = yyminor; +#ifdef YYERRORSYMBOL + int yymx; +#endif +#ifndef NDEBUG + if( yyTraceFILE ){ + fprintf(yyTraceFILE,"%sSyntax Error!\n",yyTracePrompt); + } +#endif +#ifdef YYERRORSYMBOL + /* A syntax error has occurred. + ** The response to an error depends upon whether or not the + ** grammar defines an error token "ERROR". + ** + ** This is what we do if the grammar does define ERROR: + ** + ** * Call the %syntax_error function. + ** + ** * Begin popping the stack until we enter a state where + ** it is legal to shift the error symbol, then shift + ** the error symbol. + ** + ** * Set the error count to three. + ** + ** * Begin accepting and shifting new tokens. No new error + ** processing will occur until three tokens have been + ** shifted successfully. + ** + */ + if( yypParser->yyerrcnt<0 ){ + yy_syntax_error(yypParser,yymajor,yyminor); + } + yymx = yypParser->yytos->major; + if( yymx==YYERRORSYMBOL || yyerrorhit ){ +#ifndef NDEBUG + if( yyTraceFILE ){ + fprintf(yyTraceFILE,"%sDiscard input token %s\n", + yyTracePrompt,yyTokenName[yymajor]); + } +#endif + yy_destructor(yypParser, (YYCODETYPE)yymajor, &yyminorunion); + yymajor = YYNOCODE; + }else{ + while( yypParser->yytos >= yypParser->yystack + && (yyact = yy_find_reduce_action( + yypParser->yytos->stateno, + YYERRORSYMBOL)) > YY_MAX_SHIFTREDUCE + ){ + yy_pop_parser_stack(yypParser); + } + if( yypParser->yytos < yypParser->yystack || yymajor==0 ){ + yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion); + yy_parse_failed(yypParser); +#ifndef YYNOERRORRECOVERY + yypParser->yyerrcnt = -1; +#endif + yymajor = YYNOCODE; + }else if( yymx!=YYERRORSYMBOL ){ + yy_shift(yypParser,yyact,YYERRORSYMBOL,yyminor); + } + } + yypParser->yyerrcnt = 3; + yyerrorhit = 1; + if( yymajor==YYNOCODE ) break; + yyact = yypParser->yytos->stateno; +#elif defined(YYNOERRORRECOVERY) + /* If the YYNOERRORRECOVERY macro is defined, then do not attempt to + ** do any kind of error recovery. Instead, simply invoke the syntax + ** error routine and continue going as if nothing had happened. + ** + ** Applications can set this macro (for example inside %include) if + ** they intend to abandon the parse upon the first syntax error seen. + */ + yy_syntax_error(yypParser,yymajor, yyminor); + yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion); + break; +#else /* YYERRORSYMBOL is not defined */ + /* This is what we do if the grammar does not define ERROR: + ** + ** * Report an error message, and throw away the input token. + ** + ** * If the input token is $, then fail the parse. + ** + ** As before, subsequent error messages are suppressed until + ** three input tokens have been successfully shifted. + */ + if( yypParser->yyerrcnt<=0 ){ + yy_syntax_error(yypParser,yymajor, yyminor); + } + yypParser->yyerrcnt = 3; + yy_destructor(yypParser,(YYCODETYPE)yymajor,&yyminorunion); + if( yyendofinput ){ + yy_parse_failed(yypParser); +#ifndef YYNOERRORRECOVERY + yypParser->yyerrcnt = -1; +#endif + } + break; +#endif + } + }while( yypParser->yytos>yypParser->yystack ); +#ifndef NDEBUG + if( yyTraceFILE ){ + yyStackEntry *i; + char cDiv = '['; + fprintf(yyTraceFILE,"%sReturn. Stack=",yyTracePrompt); + for(i=&yypParser->yystack[1]; i<=yypParser->yytos; i++){ + fprintf(yyTraceFILE,"%c%s", cDiv, yyTokenName[i->major]); + cDiv = ' '; + } + fprintf(yyTraceFILE,"]\n"); + } +#endif + return; +} + +/* +** Return the fallback token corresponding to canonical token iToken, or +** 0 if iToken has no fallback. +*/ +SQLITE_PRIVATE int sqlite3ParserFallback(int iToken){ +#ifdef YYFALLBACK + assert( iToken<(int)(sizeof(yyFallback)/sizeof(yyFallback[0])) ); + return yyFallback[iToken]; +#else + (void)iToken; +#endif + return 0; +} + +/************** End of parse.c ***********************************************/ +/************** Begin file tokenize.c ****************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** An tokenizer for SQL +** +** This file contains C code that splits an SQL input string up into +** individual tokens and sends those tokens one-by-one over to the +** parser for analysis. +*/ +/* #include "sqliteInt.h" */ +/* #include */ + +/* Character classes for tokenizing +** +** In the sqlite3GetToken() function, a switch() on aiClass[c] is implemented +** using a lookup table, whereas a switch() directly on c uses a binary search. +** The lookup table is much faster. To maximize speed, and to ensure that +** a lookup table is used, all of the classes need to be small integers and +** all of them need to be used within the switch. +*/ +#define CC_X 0 /* The letter 'x', or start of BLOB literal */ +#define CC_KYWD 1 /* Alphabetics or '_'. Usable in a keyword */ +#define CC_ID 2 /* unicode characters usable in IDs */ +#define CC_DIGIT 3 /* Digits */ +#define CC_DOLLAR 4 /* '$' */ +#define CC_VARALPHA 5 /* '@', '#', ':'. Alphabetic SQL variables */ +#define CC_VARNUM 6 /* '?'. Numeric SQL variables */ +#define CC_SPACE 7 /* Space characters */ +#define CC_QUOTE 8 /* '"', '\'', or '`'. String literals, quoted ids */ +#define CC_QUOTE2 9 /* '['. [...] style quoted ids */ +#define CC_PIPE 10 /* '|'. Bitwise OR or concatenate */ +#define CC_MINUS 11 /* '-'. Minus or SQL-style comment */ +#define CC_LT 12 /* '<'. Part of < or <= or <> */ +#define CC_GT 13 /* '>'. Part of > or >= */ +#define CC_EQ 14 /* '='. Part of = or == */ +#define CC_BANG 15 /* '!'. Part of != */ +#define CC_SLASH 16 /* '/'. / or c-style comment */ +#define CC_LP 17 /* '(' */ +#define CC_RP 18 /* ')' */ +#define CC_SEMI 19 /* ';' */ +#define CC_PLUS 20 /* '+' */ +#define CC_STAR 21 /* '*' */ +#define CC_PERCENT 22 /* '%' */ +#define CC_COMMA 23 /* ',' */ +#define CC_AND 24 /* '&' */ +#define CC_TILDA 25 /* '~' */ +#define CC_DOT 26 /* '.' */ +#define CC_ILLEGAL 27 /* Illegal character */ +#define CC_NUL 28 /* 0x00 */ + +static const unsigned char aiClass[] = { +#ifdef SQLITE_ASCII +/* x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xa xb xc xd xe xf */ +/* 0x */ 28, 27, 27, 27, 27, 27, 27, 27, 27, 7, 7, 27, 7, 7, 27, 27, +/* 1x */ 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, +/* 2x */ 7, 15, 8, 5, 4, 22, 24, 8, 17, 18, 21, 20, 23, 11, 26, 16, +/* 3x */ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 19, 12, 14, 13, 6, +/* 4x */ 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +/* 5x */ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 9, 27, 27, 27, 1, +/* 6x */ 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +/* 7x */ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 27, 10, 27, 25, 27, +/* 8x */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, +/* 9x */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, +/* Ax */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, +/* Bx */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, +/* Cx */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, +/* Dx */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, +/* Ex */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, +/* Fx */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 +#endif +#ifdef SQLITE_EBCDIC +/* x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xa xb xc xd xe xf */ +/* 0x */ 27, 27, 27, 27, 27, 7, 27, 27, 27, 27, 27, 27, 7, 7, 27, 27, +/* 1x */ 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, +/* 2x */ 27, 27, 27, 27, 27, 7, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, +/* 3x */ 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, +/* 4x */ 7, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 26, 12, 17, 20, 10, +/* 5x */ 24, 27, 27, 27, 27, 27, 27, 27, 27, 27, 15, 4, 21, 18, 19, 27, +/* 6x */ 11, 16, 27, 27, 27, 27, 27, 27, 27, 27, 27, 23, 22, 1, 13, 6, +/* 7x */ 27, 27, 27, 27, 27, 27, 27, 27, 27, 8, 5, 5, 5, 8, 14, 8, +/* 8x */ 27, 1, 1, 1, 1, 1, 1, 1, 1, 1, 27, 27, 27, 27, 27, 27, +/* 9x */ 27, 1, 1, 1, 1, 1, 1, 1, 1, 1, 27, 27, 27, 27, 27, 27, +/* Ax */ 27, 25, 1, 1, 1, 1, 1, 0, 1, 1, 27, 27, 27, 27, 27, 27, +/* Bx */ 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 9, 27, 27, 27, 27, 27, +/* Cx */ 27, 1, 1, 1, 1, 1, 1, 1, 1, 1, 27, 27, 27, 27, 27, 27, +/* Dx */ 27, 1, 1, 1, 1, 1, 1, 1, 1, 1, 27, 27, 27, 27, 27, 27, +/* Ex */ 27, 27, 1, 1, 1, 1, 1, 0, 1, 1, 27, 27, 27, 27, 27, 27, +/* Fx */ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 27, 27, 27, 27, 27, 27, +#endif +}; + +/* +** The charMap() macro maps alphabetic characters (only) into their +** lower-case ASCII equivalent. On ASCII machines, this is just +** an upper-to-lower case map. On EBCDIC machines we also need +** to adjust the encoding. The mapping is only valid for alphabetics +** which are the only characters for which this feature is used. +** +** Used by keywordhash.h +*/ +#ifdef SQLITE_ASCII +# define charMap(X) sqlite3UpperToLower[(unsigned char)X] +#endif +#ifdef SQLITE_EBCDIC +# define charMap(X) ebcdicToAscii[(unsigned char)X] +const unsigned char ebcdicToAscii[] = { +/* 0 1 2 3 4 5 6 7 8 9 A B C D E F */ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x */ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 1x */ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 2x */ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 3x */ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 4x */ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 5x */ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 0, 0, /* 6x */ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 7x */ + 0, 97, 98, 99,100,101,102,103,104,105, 0, 0, 0, 0, 0, 0, /* 8x */ + 0,106,107,108,109,110,111,112,113,114, 0, 0, 0, 0, 0, 0, /* 9x */ + 0, 0,115,116,117,118,119,120,121,122, 0, 0, 0, 0, 0, 0, /* Ax */ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* Bx */ + 0, 97, 98, 99,100,101,102,103,104,105, 0, 0, 0, 0, 0, 0, /* Cx */ + 0,106,107,108,109,110,111,112,113,114, 0, 0, 0, 0, 0, 0, /* Dx */ + 0, 0,115,116,117,118,119,120,121,122, 0, 0, 0, 0, 0, 0, /* Ex */ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* Fx */ +}; +#endif + +/* +** The sqlite3KeywordCode function looks up an identifier to determine if +** it is a keyword. If it is a keyword, the token code of that keyword is +** returned. If the input is not a keyword, TK_ID is returned. +** +** The implementation of this routine was generated by a program, +** mkkeywordhash.c, located in the tool subdirectory of the distribution. +** The output of the mkkeywordhash.c program is written into a file +** named keywordhash.h and then included into this source file by +** the #include below. +*/ +/************** Include keywordhash.h in the middle of tokenize.c ************/ +/************** Begin file keywordhash.h *************************************/ +/***** This file contains automatically generated code ****** +** +** The code in this file has been automatically generated by +** +** sqlite/tool/mkkeywordhash.c +** +** The code in this file implements a function that determines whether +** or not a given identifier is really an SQL keyword. The same thing +** might be implemented more directly using a hand-written hash table. +** But by using this automatically generated code, the size of the code +** is substantially reduced. This is important for embedded applications +** on platforms with limited memory. +*/ +/* Hash score: 221 */ +/* zKWText[] encodes 967 bytes of keyword text in 638 bytes */ +/* REINDEXEDESCAPEACHECKEYBEFOREIGNOREGEXPLAINSTEADDATABASELECT */ +/* ABLEFTHENDEFERRABLELSEXCLUDELETEMPORARYISNULLSAVEPOINTERSECT */ +/* IESNOTNULLIKEXCEPTRANSACTIONATURALTERAISEXCLUSIVEXISTS */ +/* CONSTRAINTOFFSETRIGGEREFERENCESUNIQUERYWITHOUTERELEASEATTACH */ +/* AVINGLOBEGINNERANGEBETWEENOTHINGROUPSCASCADETACHCASECOLLATE */ +/* CREATECURRENT_DATEIMMEDIATEJOINSERTMATCHPLANALYZEPRAGMABORT */ +/* UPDATEVALUESVIRTUALASTWHENWHERECURSIVEAFTERENAMEANDEFAULT */ +/* AUTOINCREMENTCASTCOLUMNCOMMITCONFLICTCROSSCURRENT_TIMESTAMP */ +/* ARTITIONDEFERREDISTINCTDROPRECEDINGFAILIMITFILTEREPLACEFIRST */ +/* FOLLOWINGFROMFULLIFORDERESTRICTOTHERSOVERIGHTROLLBACKROWS */ +/* UNBOUNDEDUNIONUSINGVACUUMVIEWINDOWBYINITIALLYPRIMARY */ +static const char zKWText[637] = { + 'R','E','I','N','D','E','X','E','D','E','S','C','A','P','E','A','C','H', + 'E','C','K','E','Y','B','E','F','O','R','E','I','G','N','O','R','E','G', + 'E','X','P','L','A','I','N','S','T','E','A','D','D','A','T','A','B','A', + 'S','E','L','E','C','T','A','B','L','E','F','T','H','E','N','D','E','F', + 'E','R','R','A','B','L','E','L','S','E','X','C','L','U','D','E','L','E', + 'T','E','M','P','O','R','A','R','Y','I','S','N','U','L','L','S','A','V', + 'E','P','O','I','N','T','E','R','S','E','C','T','I','E','S','N','O','T', + 'N','U','L','L','I','K','E','X','C','E','P','T','R','A','N','S','A','C', + 'T','I','O','N','A','T','U','R','A','L','T','E','R','A','I','S','E','X', + 'C','L','U','S','I','V','E','X','I','S','T','S','C','O','N','S','T','R', + 'A','I','N','T','O','F','F','S','E','T','R','I','G','G','E','R','E','F', + 'E','R','E','N','C','E','S','U','N','I','Q','U','E','R','Y','W','I','T', + 'H','O','U','T','E','R','E','L','E','A','S','E','A','T','T','A','C','H', + 'A','V','I','N','G','L','O','B','E','G','I','N','N','E','R','A','N','G', + 'E','B','E','T','W','E','E','N','O','T','H','I','N','G','R','O','U','P', + 'S','C','A','S','C','A','D','E','T','A','C','H','C','A','S','E','C','O', + 'L','L','A','T','E','C','R','E','A','T','E','C','U','R','R','E','N','T', + '_','D','A','T','E','I','M','M','E','D','I','A','T','E','J','O','I','N', + 'S','E','R','T','M','A','T','C','H','P','L','A','N','A','L','Y','Z','E', + 'P','R','A','G','M','A','B','O','R','T','U','P','D','A','T','E','V','A', + 'L','U','E','S','V','I','R','T','U','A','L','A','S','T','W','H','E','N', + 'W','H','E','R','E','C','U','R','S','I','V','E','A','F','T','E','R','E', + 'N','A','M','E','A','N','D','E','F','A','U','L','T','A','U','T','O','I', + 'N','C','R','E','M','E','N','T','C','A','S','T','C','O','L','U','M','N', + 'C','O','M','M','I','T','C','O','N','F','L','I','C','T','C','R','O','S', + 'S','C','U','R','R','E','N','T','_','T','I','M','E','S','T','A','M','P', + 'A','R','T','I','T','I','O','N','D','E','F','E','R','R','E','D','I','S', + 'T','I','N','C','T','D','R','O','P','R','E','C','E','D','I','N','G','F', + 'A','I','L','I','M','I','T','F','I','L','T','E','R','E','P','L','A','C', + 'E','F','I','R','S','T','F','O','L','L','O','W','I','N','G','F','R','O', + 'M','F','U','L','L','I','F','O','R','D','E','R','E','S','T','R','I','C', + 'T','O','T','H','E','R','S','O','V','E','R','I','G','H','T','R','O','L', + 'L','B','A','C','K','R','O','W','S','U','N','B','O','U','N','D','E','D', + 'U','N','I','O','N','U','S','I','N','G','V','A','C','U','U','M','V','I', + 'E','W','I','N','D','O','W','B','Y','I','N','I','T','I','A','L','L','Y', + 'P','R','I','M','A','R','Y', +}; +/* aKWHash[i] is the hash value for the i-th keyword */ +static const unsigned char aKWHash[127] = { + 82, 113, 130, 80, 110, 29, 0, 0, 89, 0, 83, 70, 0, + 53, 35, 84, 15, 0, 129, 92, 64, 124, 131, 19, 0, 0, + 136, 0, 134, 126, 0, 22, 100, 0, 9, 0, 0, 121, 78, + 0, 76, 6, 0, 58, 97, 143, 0, 132, 108, 0, 0, 48, + 0, 111, 24, 0, 17, 0, 137, 63, 23, 26, 5, 65, 138, + 103, 120, 0, 142, 114, 69, 141, 66, 118, 72, 0, 98, 0, + 107, 41, 0, 106, 0, 0, 0, 102, 99, 104, 109, 123, 14, + 50, 122, 0, 87, 0, 139, 119, 140, 68, 127, 135, 86, 81, + 37, 91, 117, 0, 0, 101, 51, 128, 125, 0, 133, 0, 0, + 44, 0, 93, 67, 39, 0, 20, 45, 115, 88, +}; +/* aKWNext[] forms the hash collision chain. If aKWHash[i]==0 +** then the i-th keyword has no more hash collisions. Otherwise, +** the next keyword with the same hash is aKWHash[i]-1. */ +static const unsigned char aKWNext[143] = { + 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, + 0, 0, 0, 21, 0, 0, 0, 0, 12, 0, 0, 0, 0, + 0, 0, 0, 7, 0, 36, 0, 0, 28, 0, 0, 0, 31, + 0, 0, 0, 40, 0, 0, 0, 0, 0, 60, 0, 54, 0, + 0, 38, 47, 0, 0, 0, 3, 0, 0, 74, 1, 73, 0, + 0, 0, 52, 0, 0, 0, 0, 0, 0, 57, 59, 56, 30, + 0, 0, 0, 46, 0, 16, 49, 10, 0, 0, 0, 0, 0, + 0, 0, 11, 79, 95, 0, 0, 8, 0, 112, 0, 105, 0, + 43, 62, 0, 77, 0, 116, 0, 61, 0, 0, 94, 42, 55, + 0, 75, 34, 90, 32, 33, 27, 25, 18, 96, 0, 71, 85, +}; +/* aKWLen[i] is the length (in bytes) of the i-th keyword */ +static const unsigned char aKWLen[143] = { + 7, 7, 5, 4, 6, 4, 5, 3, 6, 7, 3, 6, 6, + 7, 7, 3, 8, 2, 6, 5, 4, 4, 3, 10, 4, 7, + 6, 9, 4, 2, 6, 5, 9, 9, 4, 7, 3, 2, 4, + 4, 6, 11, 6, 2, 7, 5, 5, 9, 6, 10, 4, 6, + 2, 3, 7, 10, 6, 5, 7, 4, 5, 7, 6, 6, 4, + 5, 5, 5, 7, 7, 6, 5, 7, 3, 6, 4, 7, 6, + 12, 9, 4, 6, 5, 4, 7, 6, 5, 6, 6, 7, 4, + 4, 5, 9, 5, 6, 3, 7, 13, 2, 2, 4, 6, 6, + 8, 5, 17, 12, 7, 9, 8, 8, 2, 4, 9, 4, 5, + 6, 7, 5, 9, 4, 4, 2, 5, 8, 6, 4, 5, 8, + 4, 3, 9, 5, 5, 6, 4, 6, 2, 2, 9, 3, 7, +}; +/* aKWOffset[i] is the index into zKWText[] of the start of +** the text for the i-th keyword. */ +static const unsigned short int aKWOffset[143] = { + 0, 2, 2, 8, 9, 14, 16, 20, 23, 25, 25, 29, 33, + 36, 41, 46, 48, 53, 54, 59, 62, 65, 67, 69, 78, 81, + 86, 90, 90, 94, 99, 101, 105, 111, 119, 123, 123, 123, 126, + 129, 132, 137, 142, 146, 147, 152, 156, 160, 168, 174, 181, 184, + 184, 187, 189, 195, 205, 208, 213, 213, 217, 221, 228, 233, 238, + 241, 244, 248, 253, 259, 265, 265, 271, 272, 276, 282, 286, 293, + 299, 311, 320, 322, 328, 333, 335, 342, 347, 352, 358, 364, 370, + 374, 378, 381, 390, 394, 400, 402, 409, 411, 413, 422, 426, 432, + 438, 446, 451, 451, 451, 467, 476, 483, 484, 491, 494, 503, 506, + 511, 516, 523, 528, 537, 541, 545, 547, 551, 559, 565, 568, 573, + 581, 581, 585, 594, 599, 604, 610, 613, 616, 619, 621, 626, 630, +}; +/* aKWCode[i] is the parser symbol code for the i-th keyword */ +static const unsigned char aKWCode[143] = { + TK_REINDEX, TK_INDEXED, TK_INDEX, TK_DESC, TK_ESCAPE, + TK_EACH, TK_CHECK, TK_KEY, TK_BEFORE, TK_FOREIGN, + TK_FOR, TK_IGNORE, TK_LIKE_KW, TK_EXPLAIN, TK_INSTEAD, + TK_ADD, TK_DATABASE, TK_AS, TK_SELECT, TK_TABLE, + TK_JOIN_KW, TK_THEN, TK_END, TK_DEFERRABLE, TK_ELSE, + TK_EXCLUDE, TK_DELETE, TK_TEMP, TK_TEMP, TK_OR, + TK_ISNULL, TK_NULLS, TK_SAVEPOINT, TK_INTERSECT, TK_TIES, + TK_NOTNULL, TK_NOT, TK_NO, TK_NULL, TK_LIKE_KW, + TK_EXCEPT, TK_TRANSACTION,TK_ACTION, TK_ON, TK_JOIN_KW, + TK_ALTER, TK_RAISE, TK_EXCLUSIVE, TK_EXISTS, TK_CONSTRAINT, + TK_INTO, TK_OFFSET, TK_OF, TK_SET, TK_TRIGGER, + TK_REFERENCES, TK_UNIQUE, TK_QUERY, TK_WITHOUT, TK_WITH, + TK_JOIN_KW, TK_RELEASE, TK_ATTACH, TK_HAVING, TK_LIKE_KW, + TK_BEGIN, TK_JOIN_KW, TK_RANGE, TK_BETWEEN, TK_NOTHING, + TK_GROUPS, TK_GROUP, TK_CASCADE, TK_ASC, TK_DETACH, + TK_CASE, TK_COLLATE, TK_CREATE, TK_CTIME_KW, TK_IMMEDIATE, + TK_JOIN, TK_INSERT, TK_MATCH, TK_PLAN, TK_ANALYZE, + TK_PRAGMA, TK_ABORT, TK_UPDATE, TK_VALUES, TK_VIRTUAL, + TK_LAST, TK_WHEN, TK_WHERE, TK_RECURSIVE, TK_AFTER, + TK_RENAME, TK_AND, TK_DEFAULT, TK_AUTOINCR, TK_TO, + TK_IN, TK_CAST, TK_COLUMNKW, TK_COMMIT, TK_CONFLICT, + TK_JOIN_KW, TK_CTIME_KW, TK_CTIME_KW, TK_CURRENT, TK_PARTITION, + TK_DEFERRED, TK_DISTINCT, TK_IS, TK_DROP, TK_PRECEDING, + TK_FAIL, TK_LIMIT, TK_FILTER, TK_REPLACE, TK_FIRST, + TK_FOLLOWING, TK_FROM, TK_JOIN_KW, TK_IF, TK_ORDER, + TK_RESTRICT, TK_OTHERS, TK_OVER, TK_JOIN_KW, TK_ROLLBACK, + TK_ROWS, TK_ROW, TK_UNBOUNDED, TK_UNION, TK_USING, + TK_VACUUM, TK_VIEW, TK_WINDOW, TK_DO, TK_BY, + TK_INITIALLY, TK_ALL, TK_PRIMARY, +}; +/* Check to see if z[0..n-1] is a keyword. If it is, write the +** parser symbol code for that keyword into *pType. Always +** return the integer n (the length of the token). */ +static int keywordCode(const char *z, int n, int *pType){ + int i, j; + const char *zKW; + if( n>=2 ){ + i = ((charMap(z[0])*4) ^ (charMap(z[n-1])*3) ^ n) % 127; + for(i=((int)aKWHash[i])-1; i>=0; i=((int)aKWNext[i])-1){ + if( aKWLen[i]!=n ) continue; + j = 0; + zKW = &zKWText[aKWOffset[i]]; +#ifdef SQLITE_ASCII + while( j=SQLITE_N_KEYWORD ) return SQLITE_ERROR; + *pzName = zKWText + aKWOffset[i]; + *pnName = aKWLen[i]; + return SQLITE_OK; +} +SQLITE_API int sqlite3_keyword_count(void){ return SQLITE_N_KEYWORD; } +SQLITE_API int sqlite3_keyword_check(const char *zName, int nName){ + return TK_ID!=sqlite3KeywordCode((const u8*)zName, nName); +} + +/************** End of keywordhash.h *****************************************/ +/************** Continuing where we left off in tokenize.c *******************/ + + +/* +** If X is a character that can be used in an identifier then +** IdChar(X) will be true. Otherwise it is false. +** +** For ASCII, any character with the high-order bit set is +** allowed in an identifier. For 7-bit characters, +** sqlite3IsIdChar[X] must be 1. +** +** For EBCDIC, the rules are more complex but have the same +** end result. +** +** Ticket #1066. the SQL standard does not allow '$' in the +** middle of identifiers. But many SQL implementations do. +** SQLite will allow '$' in identifiers for compatibility. +** But the feature is undocumented. +*/ +#ifdef SQLITE_ASCII +#define IdChar(C) ((sqlite3CtypeMap[(unsigned char)C]&0x46)!=0) +#endif +#ifdef SQLITE_EBCDIC +SQLITE_PRIVATE const char sqlite3IsEbcdicIdChar[] = { +/* x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF */ + 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, /* 4x */ + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, /* 5x */ + 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, /* 6x */ + 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, /* 7x */ + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, /* 8x */ + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, /* 9x */ + 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, /* Ax */ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* Bx */ + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, /* Cx */ + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, /* Dx */ + 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, /* Ex */ + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, /* Fx */ +}; +#define IdChar(C) (((c=C)>=0x42 && sqlite3IsEbcdicIdChar[c-0x40])) +#endif + +/* Make the IdChar function accessible from ctime.c and alter.c */ +SQLITE_PRIVATE int sqlite3IsIdChar(u8 c){ return IdChar(c); } + +#ifndef SQLITE_OMIT_WINDOWFUNC +/* +** Return the id of the next token in string (*pz). Before returning, set +** (*pz) to point to the byte following the parsed token. +*/ +static int getToken(const unsigned char **pz){ + const unsigned char *z = *pz; + int t; /* Token type to return */ + do { + z += sqlite3GetToken(z, &t); + }while( t==TK_SPACE ); + if( t==TK_ID + || t==TK_STRING + || t==TK_JOIN_KW + || t==TK_WINDOW + || t==TK_OVER + || sqlite3ParserFallback(t)==TK_ID + ){ + t = TK_ID; + } + *pz = z; + return t; +} + +/* +** The following three functions are called immediately after the tokenizer +** reads the keywords WINDOW, OVER and FILTER, respectively, to determine +** whether the token should be treated as a keyword or an SQL identifier. +** This cannot be handled by the usual lemon %fallback method, due to +** the ambiguity in some constructions. e.g. +** +** SELECT sum(x) OVER ... +** +** In the above, "OVER" might be a keyword, or it might be an alias for the +** sum(x) expression. If a "%fallback ID OVER" directive were added to +** grammar, then SQLite would always treat "OVER" as an alias, making it +** impossible to call a window-function without a FILTER clause. +** +** WINDOW is treated as a keyword if: +** +** * the following token is an identifier, or a keyword that can fallback +** to being an identifier, and +** * the token after than one is TK_AS. +** +** OVER is a keyword if: +** +** * the previous token was TK_RP, and +** * the next token is either TK_LP or an identifier. +** +** FILTER is a keyword if: +** +** * the previous token was TK_RP, and +** * the next token is TK_LP. +*/ +static int analyzeWindowKeyword(const unsigned char *z){ + int t; + t = getToken(&z); + if( t!=TK_ID ) return TK_ID; + t = getToken(&z); + if( t!=TK_AS ) return TK_ID; + return TK_WINDOW; +} +static int analyzeOverKeyword(const unsigned char *z, int lastToken){ + if( lastToken==TK_RP ){ + int t = getToken(&z); + if( t==TK_LP || t==TK_ID ) return TK_OVER; + } + return TK_ID; +} +static int analyzeFilterKeyword(const unsigned char *z, int lastToken){ + if( lastToken==TK_RP && getToken(&z)==TK_LP ){ + return TK_FILTER; + } + return TK_ID; +} +#endif /* SQLITE_OMIT_WINDOWFUNC */ + +/* +** Return the length (in bytes) of the token that begins at z[0]. +** Store the token type in *tokenType before returning. +*/ +SQLITE_PRIVATE int sqlite3GetToken(const unsigned char *z, int *tokenType){ + int i, c; + switch( aiClass[*z] ){ /* Switch on the character-class of the first byte + ** of the token. See the comment on the CC_ defines + ** above. */ + case CC_SPACE: { + testcase( z[0]==' ' ); + testcase( z[0]=='\t' ); + testcase( z[0]=='\n' ); + testcase( z[0]=='\f' ); + testcase( z[0]=='\r' ); + for(i=1; sqlite3Isspace(z[i]); i++){} + *tokenType = TK_SPACE; + return i; + } + case CC_MINUS: { + if( z[1]=='-' ){ + for(i=2; (c=z[i])!=0 && c!='\n'; i++){} + *tokenType = TK_SPACE; /* IMP: R-22934-25134 */ + return i; + } + *tokenType = TK_MINUS; + return 1; + } + case CC_LP: { + *tokenType = TK_LP; + return 1; + } + case CC_RP: { + *tokenType = TK_RP; + return 1; + } + case CC_SEMI: { + *tokenType = TK_SEMI; + return 1; + } + case CC_PLUS: { + *tokenType = TK_PLUS; + return 1; + } + case CC_STAR: { + *tokenType = TK_STAR; + return 1; + } + case CC_SLASH: { + if( z[1]!='*' || z[2]==0 ){ + *tokenType = TK_SLASH; + return 1; + } + for(i=3, c=z[2]; (c!='*' || z[i]!='/') && (c=z[i])!=0; i++){} + if( c ) i++; + *tokenType = TK_SPACE; /* IMP: R-22934-25134 */ + return i; + } + case CC_PERCENT: { + *tokenType = TK_REM; + return 1; + } + case CC_EQ: { + *tokenType = TK_EQ; + return 1 + (z[1]=='='); + } + case CC_LT: { + if( (c=z[1])=='=' ){ + *tokenType = TK_LE; + return 2; + }else if( c=='>' ){ + *tokenType = TK_NE; + return 2; + }else if( c=='<' ){ + *tokenType = TK_LSHIFT; + return 2; + }else{ + *tokenType = TK_LT; + return 1; + } + } + case CC_GT: { + if( (c=z[1])=='=' ){ + *tokenType = TK_GE; + return 2; + }else if( c=='>' ){ + *tokenType = TK_RSHIFT; + return 2; + }else{ + *tokenType = TK_GT; + return 1; + } + } + case CC_BANG: { + if( z[1]!='=' ){ + *tokenType = TK_ILLEGAL; + return 1; + }else{ + *tokenType = TK_NE; + return 2; + } + } + case CC_PIPE: { + if( z[1]!='|' ){ + *tokenType = TK_BITOR; + return 1; + }else{ + *tokenType = TK_CONCAT; + return 2; + } + } + case CC_COMMA: { + *tokenType = TK_COMMA; + return 1; + } + case CC_AND: { + *tokenType = TK_BITAND; + return 1; + } + case CC_TILDA: { + *tokenType = TK_BITNOT; + return 1; + } + case CC_QUOTE: { + int delim = z[0]; + testcase( delim=='`' ); + testcase( delim=='\'' ); + testcase( delim=='"' ); + for(i=1; (c=z[i])!=0; i++){ + if( c==delim ){ + if( z[i+1]==delim ){ + i++; + }else{ + break; + } + } + } + if( c=='\'' ){ + *tokenType = TK_STRING; + return i+1; + }else if( c!=0 ){ + *tokenType = TK_ID; + return i+1; + }else{ + *tokenType = TK_ILLEGAL; + return i; + } + } + case CC_DOT: { +#ifndef SQLITE_OMIT_FLOATING_POINT + if( !sqlite3Isdigit(z[1]) ) +#endif + { + *tokenType = TK_DOT; + return 1; + } + /* If the next character is a digit, this is a floating point + ** number that begins with ".". Fall thru into the next case */ + } + case CC_DIGIT: { + testcase( z[0]=='0' ); testcase( z[0]=='1' ); testcase( z[0]=='2' ); + testcase( z[0]=='3' ); testcase( z[0]=='4' ); testcase( z[0]=='5' ); + testcase( z[0]=='6' ); testcase( z[0]=='7' ); testcase( z[0]=='8' ); + testcase( z[0]=='9' ); + *tokenType = TK_INTEGER; +#ifndef SQLITE_OMIT_HEX_INTEGER + if( z[0]=='0' && (z[1]=='x' || z[1]=='X') && sqlite3Isxdigit(z[2]) ){ + for(i=3; sqlite3Isxdigit(z[i]); i++){} + return i; + } +#endif + for(i=0; sqlite3Isdigit(z[i]); i++){} +#ifndef SQLITE_OMIT_FLOATING_POINT + if( z[i]=='.' ){ + i++; + while( sqlite3Isdigit(z[i]) ){ i++; } + *tokenType = TK_FLOAT; + } + if( (z[i]=='e' || z[i]=='E') && + ( sqlite3Isdigit(z[i+1]) + || ((z[i+1]=='+' || z[i+1]=='-') && sqlite3Isdigit(z[i+2])) + ) + ){ + i += 2; + while( sqlite3Isdigit(z[i]) ){ i++; } + *tokenType = TK_FLOAT; + } +#endif + while( IdChar(z[i]) ){ + *tokenType = TK_ILLEGAL; + i++; + } + return i; + } + case CC_QUOTE2: { + for(i=1, c=z[0]; c!=']' && (c=z[i])!=0; i++){} + *tokenType = c==']' ? TK_ID : TK_ILLEGAL; + return i; + } + case CC_VARNUM: { + *tokenType = TK_VARIABLE; + for(i=1; sqlite3Isdigit(z[i]); i++){} + return i; + } + case CC_DOLLAR: + case CC_VARALPHA: { + int n = 0; + testcase( z[0]=='$' ); testcase( z[0]=='@' ); + testcase( z[0]==':' ); testcase( z[0]=='#' ); + *tokenType = TK_VARIABLE; + for(i=1; (c=z[i])!=0; i++){ + if( IdChar(c) ){ + n++; +#ifndef SQLITE_OMIT_TCL_VARIABLE + }else if( c=='(' && n>0 ){ + do{ + i++; + }while( (c=z[i])!=0 && !sqlite3Isspace(c) && c!=')' ); + if( c==')' ){ + i++; + }else{ + *tokenType = TK_ILLEGAL; + } + break; + }else if( c==':' && z[i+1]==':' ){ + i++; +#endif + }else{ + break; + } + } + if( n==0 ) *tokenType = TK_ILLEGAL; + return i; + } + case CC_KYWD: { + for(i=1; aiClass[z[i]]<=CC_KYWD; i++){} + if( IdChar(z[i]) ){ + /* This token started out using characters that can appear in keywords, + ** but z[i] is a character not allowed within keywords, so this must + ** be an identifier instead */ + i++; + break; + } + *tokenType = TK_ID; + return keywordCode((char*)z, i, tokenType); + } + case CC_X: { +#ifndef SQLITE_OMIT_BLOB_LITERAL + testcase( z[0]=='x' ); testcase( z[0]=='X' ); + if( z[1]=='\'' ){ + *tokenType = TK_BLOB; + for(i=2; sqlite3Isxdigit(z[i]); i++){} + if( z[i]!='\'' || i%2 ){ + *tokenType = TK_ILLEGAL; + while( z[i] && z[i]!='\'' ){ i++; } + } + if( z[i] ) i++; + return i; + } +#endif + /* If it is not a BLOB literal, then it must be an ID, since no + ** SQL keywords start with the letter 'x'. Fall through */ + } + case CC_ID: { + i = 1; + break; + } + case CC_NUL: { + *tokenType = TK_ILLEGAL; + return 0; + } + default: { + *tokenType = TK_ILLEGAL; + return 1; + } + } + while( IdChar(z[i]) ){ i++; } + *tokenType = TK_ID; + return i; +} + +/* +** Run the parser on the given SQL string. The parser structure is +** passed in. An SQLITE_ status code is returned. If an error occurs +** then an and attempt is made to write an error message into +** memory obtained from sqlite3_malloc() and to make *pzErrMsg point to that +** error message. +*/ +SQLITE_PRIVATE int sqlite3RunParser(Parse *pParse, const char *zSql, char **pzErrMsg){ + int nErr = 0; /* Number of errors encountered */ + void *pEngine; /* The LEMON-generated LALR(1) parser */ + int n = 0; /* Length of the next token token */ + int tokenType; /* type of the next token */ + int lastTokenParsed = -1; /* type of the previous token */ + sqlite3 *db = pParse->db; /* The database connection */ + int mxSqlLen; /* Max length of an SQL string */ +#ifdef sqlite3Parser_ENGINEALWAYSONSTACK + yyParser sEngine; /* Space to hold the Lemon-generated Parser object */ +#endif + VVA_ONLY( u8 startedWithOom = db->mallocFailed ); + + assert( zSql!=0 ); + mxSqlLen = db->aLimit[SQLITE_LIMIT_SQL_LENGTH]; + if( db->nVdbeActive==0 ){ + db->u1.isInterrupted = 0; + } + pParse->rc = SQLITE_OK; + pParse->zTail = zSql; + assert( pzErrMsg!=0 ); +#ifdef SQLITE_DEBUG + if( db->flags & SQLITE_ParserTrace ){ + printf("parser: [[[%s]]]\n", zSql); + sqlite3ParserTrace(stdout, "parser: "); + }else{ + sqlite3ParserTrace(0, 0); + } +#endif +#ifdef sqlite3Parser_ENGINEALWAYSONSTACK + pEngine = &sEngine; + sqlite3ParserInit(pEngine, pParse); +#else + pEngine = sqlite3ParserAlloc(sqlite3Malloc, pParse); + if( pEngine==0 ){ + sqlite3OomFault(db); + return SQLITE_NOMEM_BKPT; + } +#endif + assert( pParse->pNewTable==0 ); + assert( pParse->pNewTrigger==0 ); + assert( pParse->nVar==0 ); + assert( pParse->pVList==0 ); + pParse->pParentParse = db->pParse; + db->pParse = pParse; + while( 1 ){ + n = sqlite3GetToken((u8*)zSql, &tokenType); + mxSqlLen -= n; + if( mxSqlLen<0 ){ + pParse->rc = SQLITE_TOOBIG; + break; + } +#ifndef SQLITE_OMIT_WINDOWFUNC + if( tokenType>=TK_WINDOW ){ + assert( tokenType==TK_SPACE || tokenType==TK_OVER || tokenType==TK_FILTER + || tokenType==TK_ILLEGAL || tokenType==TK_WINDOW + ); +#else + if( tokenType>=TK_SPACE ){ + assert( tokenType==TK_SPACE || tokenType==TK_ILLEGAL ); +#endif /* SQLITE_OMIT_WINDOWFUNC */ + if( db->u1.isInterrupted ){ + pParse->rc = SQLITE_INTERRUPT; + break; + } + if( tokenType==TK_SPACE ){ + zSql += n; + continue; + } + if( zSql[0]==0 ){ + /* Upon reaching the end of input, call the parser two more times + ** with tokens TK_SEMI and 0, in that order. */ + if( lastTokenParsed==TK_SEMI ){ + tokenType = 0; + }else if( lastTokenParsed==0 ){ + break; + }else{ + tokenType = TK_SEMI; + } + n = 0; +#ifndef SQLITE_OMIT_WINDOWFUNC + }else if( tokenType==TK_WINDOW ){ + assert( n==6 ); + tokenType = analyzeWindowKeyword((const u8*)&zSql[6]); + }else if( tokenType==TK_OVER ){ + assert( n==4 ); + tokenType = analyzeOverKeyword((const u8*)&zSql[4], lastTokenParsed); + }else if( tokenType==TK_FILTER ){ + assert( n==6 ); + tokenType = analyzeFilterKeyword((const u8*)&zSql[6], lastTokenParsed); +#endif /* SQLITE_OMIT_WINDOWFUNC */ + }else{ + sqlite3ErrorMsg(pParse, "unrecognized token: \"%.*s\"", n, zSql); + break; + } + } + pParse->sLastToken.z = zSql; + pParse->sLastToken.n = n; + sqlite3Parser(pEngine, tokenType, pParse->sLastToken); + lastTokenParsed = tokenType; + zSql += n; + assert( db->mallocFailed==0 || pParse->rc!=SQLITE_OK || startedWithOom ); + if( pParse->rc!=SQLITE_OK ) break; + } + assert( nErr==0 ); +#ifdef YYTRACKMAXSTACKDEPTH + sqlite3_mutex_enter(sqlite3MallocMutex()); + sqlite3StatusHighwater(SQLITE_STATUS_PARSER_STACK, + sqlite3ParserStackPeak(pEngine) + ); + sqlite3_mutex_leave(sqlite3MallocMutex()); +#endif /* YYDEBUG */ +#ifdef sqlite3Parser_ENGINEALWAYSONSTACK + sqlite3ParserFinalize(pEngine); +#else + sqlite3ParserFree(pEngine, sqlite3_free); +#endif + if( db->mallocFailed ){ + pParse->rc = SQLITE_NOMEM_BKPT; + } + if( pParse->rc!=SQLITE_OK && pParse->rc!=SQLITE_DONE && pParse->zErrMsg==0 ){ + pParse->zErrMsg = sqlite3MPrintf(db, "%s", sqlite3ErrStr(pParse->rc)); + } + assert( pzErrMsg!=0 ); + if( pParse->zErrMsg ){ + *pzErrMsg = pParse->zErrMsg; + sqlite3_log(pParse->rc, "%s in \"%s\"", + *pzErrMsg, pParse->zTail); + pParse->zErrMsg = 0; + nErr++; + } + pParse->zTail = zSql; + if( pParse->pVdbe && pParse->nErr>0 && pParse->nested==0 ){ + sqlite3VdbeDelete(pParse->pVdbe); + pParse->pVdbe = 0; + } +#ifndef SQLITE_OMIT_SHARED_CACHE + if( pParse->nested==0 ){ + sqlite3DbFree(db, pParse->aTableLock); + pParse->aTableLock = 0; + pParse->nTableLock = 0; + } +#endif +#ifndef SQLITE_OMIT_VIRTUALTABLE + sqlite3_free(pParse->apVtabLock); +#endif + + if( !IN_SPECIAL_PARSE ){ + /* If the pParse->declareVtab flag is set, do not delete any table + ** structure built up in pParse->pNewTable. The calling code (see vtab.c) + ** will take responsibility for freeing the Table structure. + */ + sqlite3DeleteTable(db, pParse->pNewTable); + } + if( !IN_RENAME_OBJECT ){ + sqlite3DeleteTrigger(db, pParse->pNewTrigger); + } + + if( pParse->pWithToFree ) sqlite3WithDelete(db, pParse->pWithToFree); + sqlite3DbFree(db, pParse->pVList); + while( pParse->pAinc ){ + AutoincInfo *p = pParse->pAinc; + pParse->pAinc = p->pNext; + sqlite3DbFreeNN(db, p); + } + while( pParse->pZombieTab ){ + Table *p = pParse->pZombieTab; + pParse->pZombieTab = p->pNextZombie; + sqlite3DeleteTable(db, p); + } + db->pParse = pParse->pParentParse; + pParse->pParentParse = 0; + assert( nErr==0 || pParse->rc!=SQLITE_OK ); + return nErr; +} + + +#ifdef SQLITE_ENABLE_NORMALIZE +/* +** Insert a single space character into pStr if the current string +** ends with an identifier +*/ +static void addSpaceSeparator(sqlite3_str *pStr){ + if( pStr->nChar && sqlite3IsIdChar(pStr->zText[pStr->nChar-1]) ){ + sqlite3_str_append(pStr, " ", 1); + } +} + +/* +** Compute a normalization of the SQL given by zSql[0..nSql-1]. Return +** the normalization in space obtained from sqlite3DbMalloc(). Or return +** NULL if anything goes wrong or if zSql is NULL. +*/ +SQLITE_PRIVATE char *sqlite3Normalize( + Vdbe *pVdbe, /* VM being reprepared */ + const char *zSql /* The original SQL string */ +){ + sqlite3 *db; /* The database connection */ + int i; /* Next unread byte of zSql[] */ + int n; /* length of current token */ + int tokenType; /* type of current token */ + int prevType = 0; /* Previous non-whitespace token */ + int nParen; /* Number of nested levels of parentheses */ + int iStartIN; /* Start of RHS of IN operator in z[] */ + int nParenAtIN; /* Value of nParent at start of RHS of IN operator */ + int j; /* Bytes of normalized SQL generated so far */ + sqlite3_str *pStr; /* The normalized SQL string under construction */ + + db = sqlite3VdbeDb(pVdbe); + tokenType = -1; + nParen = iStartIN = nParenAtIN = 0; + pStr = sqlite3_str_new(db); + assert( pStr!=0 ); /* sqlite3_str_new() never returns NULL */ + for(i=0; zSql[i] && pStr->accError==0; i+=n){ + if( tokenType!=TK_SPACE ){ + prevType = tokenType; + } + n = sqlite3GetToken((unsigned char*)zSql+i, &tokenType); + if( NEVER(n<=0) ) break; + switch( tokenType ){ + case TK_SPACE: { + break; + } + case TK_NULL: { + if( prevType==TK_IS || prevType==TK_NOT ){ + sqlite3_str_append(pStr, " NULL", 5); + break; + } + /* Fall through */ + } + case TK_STRING: + case TK_INTEGER: + case TK_FLOAT: + case TK_VARIABLE: + case TK_BLOB: { + sqlite3_str_append(pStr, "?", 1); + break; + } + case TK_LP: { + nParen++; + if( prevType==TK_IN ){ + iStartIN = pStr->nChar; + nParenAtIN = nParen; + } + sqlite3_str_append(pStr, "(", 1); + break; + } + case TK_RP: { + if( iStartIN>0 && nParen==nParenAtIN ){ + assert( pStr->nChar>=iStartIN ); + pStr->nChar = iStartIN+1; + sqlite3_str_append(pStr, "?,?,?", 5); + iStartIN = 0; + } + nParen--; + sqlite3_str_append(pStr, ")", 1); + break; + } + case TK_ID: { + iStartIN = 0; + j = pStr->nChar; + if( sqlite3Isquote(zSql[i]) ){ + char *zId = sqlite3DbStrNDup(db, zSql+i, n); + int nId; + int eType = 0; + if( zId==0 ) break; + sqlite3Dequote(zId); + if( zSql[i]=='"' && sqlite3VdbeUsesDoubleQuotedString(pVdbe, zId) ){ + sqlite3_str_append(pStr, "?", 1); + sqlite3DbFree(db, zId); + break; + } + nId = sqlite3Strlen30(zId); + if( sqlite3GetToken((u8*)zId, &eType)==nId && eType==TK_ID ){ + addSpaceSeparator(pStr); + sqlite3_str_append(pStr, zId, nId); + }else{ + sqlite3_str_appendf(pStr, "\"%w\"", zId); + } + sqlite3DbFree(db, zId); + }else{ + addSpaceSeparator(pStr); + sqlite3_str_append(pStr, zSql+i, n); + } + while( jnChar ){ + pStr->zText[j] = sqlite3Tolower(pStr->zText[j]); + j++; + } + break; + } + case TK_SELECT: { + iStartIN = 0; + /* fall through */ + } + default: { + if( sqlite3IsIdChar(zSql[i]) ) addSpaceSeparator(pStr); + j = pStr->nChar; + sqlite3_str_append(pStr, zSql+i, n); + while( jnChar ){ + pStr->zText[j] = sqlite3Toupper(pStr->zText[j]); + j++; + } + break; + } + } + } + if( tokenType!=TK_SEMI ) sqlite3_str_append(pStr, ";", 1); + return sqlite3_str_finish(pStr); +} +#endif /* SQLITE_ENABLE_NORMALIZE */ + +/************** End of tokenize.c ********************************************/ +/************** Begin file complete.c ****************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** An tokenizer for SQL +** +** This file contains C code that implements the sqlite3_complete() API. +** This code used to be part of the tokenizer.c source file. But by +** separating it out, the code will be automatically omitted from +** static links that do not use it. +*/ +/* #include "sqliteInt.h" */ +#ifndef SQLITE_OMIT_COMPLETE + +/* +** This is defined in tokenize.c. We just have to import the definition. +*/ +#ifndef SQLITE_AMALGAMATION +#ifdef SQLITE_ASCII +#define IdChar(C) ((sqlite3CtypeMap[(unsigned char)C]&0x46)!=0) +#endif +#ifdef SQLITE_EBCDIC +SQLITE_PRIVATE const char sqlite3IsEbcdicIdChar[]; +#define IdChar(C) (((c=C)>=0x42 && sqlite3IsEbcdicIdChar[c-0x40])) +#endif +#endif /* SQLITE_AMALGAMATION */ + + +/* +** Token types used by the sqlite3_complete() routine. See the header +** comments on that procedure for additional information. +*/ +#define tkSEMI 0 +#define tkWS 1 +#define tkOTHER 2 +#ifndef SQLITE_OMIT_TRIGGER +#define tkEXPLAIN 3 +#define tkCREATE 4 +#define tkTEMP 5 +#define tkTRIGGER 6 +#define tkEND 7 +#endif + +/* +** Return TRUE if the given SQL string ends in a semicolon. +** +** Special handling is require for CREATE TRIGGER statements. +** Whenever the CREATE TRIGGER keywords are seen, the statement +** must end with ";END;". +** +** This implementation uses a state machine with 8 states: +** +** (0) INVALID We have not yet seen a non-whitespace character. +** +** (1) START At the beginning or end of an SQL statement. This routine +** returns 1 if it ends in the START state and 0 if it ends +** in any other state. +** +** (2) NORMAL We are in the middle of statement which ends with a single +** semicolon. +** +** (3) EXPLAIN The keyword EXPLAIN has been seen at the beginning of +** a statement. +** +** (4) CREATE The keyword CREATE has been seen at the beginning of a +** statement, possibly preceded by EXPLAIN and/or followed by +** TEMP or TEMPORARY +** +** (5) TRIGGER We are in the middle of a trigger definition that must be +** ended by a semicolon, the keyword END, and another semicolon. +** +** (6) SEMI We've seen the first semicolon in the ";END;" that occurs at +** the end of a trigger definition. +** +** (7) END We've seen the ";END" of the ";END;" that occurs at the end +** of a trigger definition. +** +** Transitions between states above are determined by tokens extracted +** from the input. The following tokens are significant: +** +** (0) tkSEMI A semicolon. +** (1) tkWS Whitespace. +** (2) tkOTHER Any other SQL token. +** (3) tkEXPLAIN The "explain" keyword. +** (4) tkCREATE The "create" keyword. +** (5) tkTEMP The "temp" or "temporary" keyword. +** (6) tkTRIGGER The "trigger" keyword. +** (7) tkEND The "end" keyword. +** +** Whitespace never causes a state transition and is always ignored. +** This means that a SQL string of all whitespace is invalid. +** +** If we compile with SQLITE_OMIT_TRIGGER, all of the computation needed +** to recognize the end of a trigger can be omitted. All we have to do +** is look for a semicolon that is not part of an string or comment. +*/ +SQLITE_API int sqlite3_complete(const char *zSql){ + u8 state = 0; /* Current state, using numbers defined in header comment */ + u8 token; /* Value of the next token */ + +#ifndef SQLITE_OMIT_TRIGGER + /* A complex statement machine used to detect the end of a CREATE TRIGGER + ** statement. This is the normal case. + */ + static const u8 trans[8][8] = { + /* Token: */ + /* State: ** SEMI WS OTHER EXPLAIN CREATE TEMP TRIGGER END */ + /* 0 INVALID: */ { 1, 0, 2, 3, 4, 2, 2, 2, }, + /* 1 START: */ { 1, 1, 2, 3, 4, 2, 2, 2, }, + /* 2 NORMAL: */ { 1, 2, 2, 2, 2, 2, 2, 2, }, + /* 3 EXPLAIN: */ { 1, 3, 3, 2, 4, 2, 2, 2, }, + /* 4 CREATE: */ { 1, 4, 2, 2, 2, 4, 5, 2, }, + /* 5 TRIGGER: */ { 6, 5, 5, 5, 5, 5, 5, 5, }, + /* 6 SEMI: */ { 6, 6, 5, 5, 5, 5, 5, 7, }, + /* 7 END: */ { 1, 7, 5, 5, 5, 5, 5, 5, }, + }; +#else + /* If triggers are not supported by this compile then the statement machine + ** used to detect the end of a statement is much simpler + */ + static const u8 trans[3][3] = { + /* Token: */ + /* State: ** SEMI WS OTHER */ + /* 0 INVALID: */ { 1, 0, 2, }, + /* 1 START: */ { 1, 1, 2, }, + /* 2 NORMAL: */ { 1, 2, 2, }, + }; +#endif /* SQLITE_OMIT_TRIGGER */ + +#ifdef SQLITE_ENABLE_API_ARMOR + if( zSql==0 ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + + while( *zSql ){ + switch( *zSql ){ + case ';': { /* A semicolon */ + token = tkSEMI; + break; + } + case ' ': + case '\r': + case '\t': + case '\n': + case '\f': { /* White space is ignored */ + token = tkWS; + break; + } + case '/': { /* C-style comments */ + if( zSql[1]!='*' ){ + token = tkOTHER; + break; + } + zSql += 2; + while( zSql[0] && (zSql[0]!='*' || zSql[1]!='/') ){ zSql++; } + if( zSql[0]==0 ) return 0; + zSql++; + token = tkWS; + break; + } + case '-': { /* SQL-style comments from "--" to end of line */ + if( zSql[1]!='-' ){ + token = tkOTHER; + break; + } + while( *zSql && *zSql!='\n' ){ zSql++; } + if( *zSql==0 ) return state==1; + token = tkWS; + break; + } + case '[': { /* Microsoft-style identifiers in [...] */ + zSql++; + while( *zSql && *zSql!=']' ){ zSql++; } + if( *zSql==0 ) return 0; + token = tkOTHER; + break; + } + case '`': /* Grave-accent quoted symbols used by MySQL */ + case '"': /* single- and double-quoted strings */ + case '\'': { + int c = *zSql; + zSql++; + while( *zSql && *zSql!=c ){ zSql++; } + if( *zSql==0 ) return 0; + token = tkOTHER; + break; + } + default: { +#ifdef SQLITE_EBCDIC + unsigned char c; +#endif + if( IdChar((u8)*zSql) ){ + /* Keywords and unquoted identifiers */ + int nId; + for(nId=1; IdChar(zSql[nId]); nId++){} +#ifdef SQLITE_OMIT_TRIGGER + token = tkOTHER; +#else + switch( *zSql ){ + case 'c': case 'C': { + if( nId==6 && sqlite3StrNICmp(zSql, "create", 6)==0 ){ + token = tkCREATE; + }else{ + token = tkOTHER; + } + break; + } + case 't': case 'T': { + if( nId==7 && sqlite3StrNICmp(zSql, "trigger", 7)==0 ){ + token = tkTRIGGER; + }else if( nId==4 && sqlite3StrNICmp(zSql, "temp", 4)==0 ){ + token = tkTEMP; + }else if( nId==9 && sqlite3StrNICmp(zSql, "temporary", 9)==0 ){ + token = tkTEMP; + }else{ + token = tkOTHER; + } + break; + } + case 'e': case 'E': { + if( nId==3 && sqlite3StrNICmp(zSql, "end", 3)==0 ){ + token = tkEND; + }else +#ifndef SQLITE_OMIT_EXPLAIN + if( nId==7 && sqlite3StrNICmp(zSql, "explain", 7)==0 ){ + token = tkEXPLAIN; + }else +#endif + { + token = tkOTHER; + } + break; + } + default: { + token = tkOTHER; + break; + } + } +#endif /* SQLITE_OMIT_TRIGGER */ + zSql += nId-1; + }else{ + /* Operators and special symbols */ + token = tkOTHER; + } + break; + } + } + state = trans[state][token]; + zSql++; + } + return state==1; +} + +#ifndef SQLITE_OMIT_UTF16 +/* +** This routine is the same as the sqlite3_complete() routine described +** above, except that the parameter is required to be UTF-16 encoded, not +** UTF-8. +*/ +SQLITE_API int sqlite3_complete16(const void *zSql){ + sqlite3_value *pVal; + char const *zSql8; + int rc; + +#ifndef SQLITE_OMIT_AUTOINIT + rc = sqlite3_initialize(); + if( rc ) return rc; +#endif + pVal = sqlite3ValueNew(0); + sqlite3ValueSetStr(pVal, -1, zSql, SQLITE_UTF16NATIVE, SQLITE_STATIC); + zSql8 = sqlite3ValueText(pVal, SQLITE_UTF8); + if( zSql8 ){ + rc = sqlite3_complete(zSql8); + }else{ + rc = SQLITE_NOMEM_BKPT; + } + sqlite3ValueFree(pVal); + return rc & 0xff; +} +#endif /* SQLITE_OMIT_UTF16 */ +#endif /* SQLITE_OMIT_COMPLETE */ + +/************** End of complete.c ********************************************/ +/************** Begin file main.c ********************************************/ +/* +** 2001 September 15 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** Main file for the SQLite library. The routines in this file +** implement the programmer interface to the library. Routines in +** other files are for internal use by SQLite and should not be +** accessed by users of the library. +*/ +/* #include "sqliteInt.h" */ + +#ifdef SQLITE_ENABLE_FTS3 +/************** Include fts3.h in the middle of main.c ***********************/ +/************** Begin file fts3.h ********************************************/ +/* +** 2006 Oct 10 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This header file is used by programs that want to link against the +** FTS3 library. All it does is declare the sqlite3Fts3Init() interface. +*/ +/* #include "sqlite3.h" */ + +#if 0 +extern "C" { +#endif /* __cplusplus */ + +SQLITE_PRIVATE int sqlite3Fts3Init(sqlite3 *db); + +#if 0 +} /* extern "C" */ +#endif /* __cplusplus */ + +/************** End of fts3.h ************************************************/ +/************** Continuing where we left off in main.c ***********************/ +#endif +#ifdef SQLITE_ENABLE_RTREE +/************** Include rtree.h in the middle of main.c **********************/ +/************** Begin file rtree.h *******************************************/ +/* +** 2008 May 26 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This header file is used by programs that want to link against the +** RTREE library. All it does is declare the sqlite3RtreeInit() interface. +*/ +/* #include "sqlite3.h" */ + +#ifdef SQLITE_OMIT_VIRTUALTABLE +# undef SQLITE_ENABLE_RTREE +#endif + +#if 0 +extern "C" { +#endif /* __cplusplus */ + +SQLITE_PRIVATE int sqlite3RtreeInit(sqlite3 *db); + +#if 0 +} /* extern "C" */ +#endif /* __cplusplus */ + +/************** End of rtree.h ***********************************************/ +/************** Continuing where we left off in main.c ***********************/ +#endif +#if defined(SQLITE_ENABLE_ICU) || defined(SQLITE_ENABLE_ICU_COLLATIONS) +/************** Include sqliteicu.h in the middle of main.c ******************/ +/************** Begin file sqliteicu.h ***************************************/ +/* +** 2008 May 26 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This header file is used by programs that want to link against the +** ICU extension. All it does is declare the sqlite3IcuInit() interface. +*/ +/* #include "sqlite3.h" */ + +#if 0 +extern "C" { +#endif /* __cplusplus */ + +SQLITE_PRIVATE int sqlite3IcuInit(sqlite3 *db); + +#if 0 +} /* extern "C" */ +#endif /* __cplusplus */ + + +/************** End of sqliteicu.h *******************************************/ +/************** Continuing where we left off in main.c ***********************/ +#endif +#ifdef SQLITE_ENABLE_JSON1 +SQLITE_PRIVATE int sqlite3Json1Init(sqlite3*); +#endif +#ifdef SQLITE_ENABLE_STMTVTAB +SQLITE_PRIVATE int sqlite3StmtVtabInit(sqlite3*); +#endif +#ifdef SQLITE_ENABLE_FTS5 +SQLITE_PRIVATE int sqlite3Fts5Init(sqlite3*); +#endif + +#ifndef SQLITE_AMALGAMATION +/* IMPLEMENTATION-OF: R-46656-45156 The sqlite3_version[] string constant +** contains the text of SQLITE_VERSION macro. +*/ +SQLITE_API const char sqlite3_version[] = SQLITE_VERSION; +#endif + +/* IMPLEMENTATION-OF: R-53536-42575 The sqlite3_libversion() function returns +** a pointer to the to the sqlite3_version[] string constant. +*/ +SQLITE_API const char *sqlite3_libversion(void){ return sqlite3_version; } + +/* IMPLEMENTATION-OF: R-25063-23286 The sqlite3_sourceid() function returns a +** pointer to a string constant whose value is the same as the +** SQLITE_SOURCE_ID C preprocessor macro. Except if SQLite is built using +** an edited copy of the amalgamation, then the last four characters of +** the hash might be different from SQLITE_SOURCE_ID. +*/ +/* SQLITE_API const char *sqlite3_sourceid(void){ return SQLITE_SOURCE_ID; } */ + +/* IMPLEMENTATION-OF: R-35210-63508 The sqlite3_libversion_number() function +** returns an integer equal to SQLITE_VERSION_NUMBER. +*/ +SQLITE_API int sqlite3_libversion_number(void){ return SQLITE_VERSION_NUMBER; } + +/* IMPLEMENTATION-OF: R-20790-14025 The sqlite3_threadsafe() function returns +** zero if and only if SQLite was compiled with mutexing code omitted due to +** the SQLITE_THREADSAFE compile-time option being set to 0. +*/ +SQLITE_API int sqlite3_threadsafe(void){ return SQLITE_THREADSAFE; } + +/* +** When compiling the test fixture or with debugging enabled (on Win32), +** this variable being set to non-zero will cause OSTRACE macros to emit +** extra diagnostic information. +*/ +#ifdef SQLITE_HAVE_OS_TRACE +# ifndef SQLITE_DEBUG_OS_TRACE +# define SQLITE_DEBUG_OS_TRACE 0 +# endif + int sqlite3OSTrace = SQLITE_DEBUG_OS_TRACE; +#endif + +#if !defined(SQLITE_OMIT_TRACE) && defined(SQLITE_ENABLE_IOTRACE) +/* +** If the following function pointer is not NULL and if +** SQLITE_ENABLE_IOTRACE is enabled, then messages describing +** I/O active are written using this function. These messages +** are intended for debugging activity only. +*/ +SQLITE_API void (SQLITE_CDECL *sqlite3IoTrace)(const char*, ...) = 0; +#endif + +/* +** If the following global variable points to a string which is the +** name of a directory, then that directory will be used to store +** temporary files. +** +** See also the "PRAGMA temp_store_directory" SQL command. +*/ +SQLITE_API char *sqlite3_temp_directory = 0; + +/* +** If the following global variable points to a string which is the +** name of a directory, then that directory will be used to store +** all database files specified with a relative pathname. +** +** See also the "PRAGMA data_store_directory" SQL command. +*/ +SQLITE_API char *sqlite3_data_directory = 0; + +/* +** Initialize SQLite. +** +** This routine must be called to initialize the memory allocation, +** VFS, and mutex subsystems prior to doing any serious work with +** SQLite. But as long as you do not compile with SQLITE_OMIT_AUTOINIT +** this routine will be called automatically by key routines such as +** sqlite3_open(). +** +** This routine is a no-op except on its very first call for the process, +** or for the first call after a call to sqlite3_shutdown. +** +** The first thread to call this routine runs the initialization to +** completion. If subsequent threads call this routine before the first +** thread has finished the initialization process, then the subsequent +** threads must block until the first thread finishes with the initialization. +** +** The first thread might call this routine recursively. Recursive +** calls to this routine should not block, of course. Otherwise the +** initialization process would never complete. +** +** Let X be the first thread to enter this routine. Let Y be some other +** thread. Then while the initial invocation of this routine by X is +** incomplete, it is required that: +** +** * Calls to this routine from Y must block until the outer-most +** call by X completes. +** +** * Recursive calls to this routine from thread X return immediately +** without blocking. +*/ +SQLITE_API int sqlite3_initialize(void){ + MUTEX_LOGIC( sqlite3_mutex *pMaster; ) /* The main static mutex */ + int rc; /* Result code */ +#ifdef SQLITE_EXTRA_INIT + int bRunExtraInit = 0; /* Extra initialization needed */ +#endif + +#ifdef SQLITE_OMIT_WSD + rc = sqlite3_wsd_init(4096, 24); + if( rc!=SQLITE_OK ){ + return rc; + } +#endif + + /* If the following assert() fails on some obscure processor/compiler + ** combination, the work-around is to set the correct pointer + ** size at compile-time using -DSQLITE_PTRSIZE=n compile-time option */ + assert( SQLITE_PTRSIZE==sizeof(char*) ); + + /* If SQLite is already completely initialized, then this call + ** to sqlite3_initialize() should be a no-op. But the initialization + ** must be complete. So isInit must not be set until the very end + ** of this routine. + */ + if( sqlite3GlobalConfig.isInit ) return SQLITE_OK; + + /* Make sure the mutex subsystem is initialized. If unable to + ** initialize the mutex subsystem, return early with the error. + ** If the system is so sick that we are unable to allocate a mutex, + ** there is not much SQLite is going to be able to do. + ** + ** The mutex subsystem must take care of serializing its own + ** initialization. + */ + rc = sqlite3MutexInit(); + if( rc ) return rc; + + /* Initialize the malloc() system and the recursive pInitMutex mutex. + ** This operation is protected by the STATIC_MASTER mutex. Note that + ** MutexAlloc() is called for a static mutex prior to initializing the + ** malloc subsystem - this implies that the allocation of a static + ** mutex must not require support from the malloc subsystem. + */ + MUTEX_LOGIC( pMaster = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER); ) + sqlite3_mutex_enter(pMaster); + sqlite3GlobalConfig.isMutexInit = 1; + if( !sqlite3GlobalConfig.isMallocInit ){ + rc = sqlite3MallocInit(); + } + if( rc==SQLITE_OK ){ + sqlite3GlobalConfig.isMallocInit = 1; + if( !sqlite3GlobalConfig.pInitMutex ){ + sqlite3GlobalConfig.pInitMutex = + sqlite3MutexAlloc(SQLITE_MUTEX_RECURSIVE); + if( sqlite3GlobalConfig.bCoreMutex && !sqlite3GlobalConfig.pInitMutex ){ + rc = SQLITE_NOMEM_BKPT; + } + } + } + if( rc==SQLITE_OK ){ + sqlite3GlobalConfig.nRefInitMutex++; + } + sqlite3_mutex_leave(pMaster); + + /* If rc is not SQLITE_OK at this point, then either the malloc + ** subsystem could not be initialized or the system failed to allocate + ** the pInitMutex mutex. Return an error in either case. */ + if( rc!=SQLITE_OK ){ + return rc; + } + + /* Do the rest of the initialization under the recursive mutex so + ** that we will be able to handle recursive calls into + ** sqlite3_initialize(). The recursive calls normally come through + ** sqlite3_os_init() when it invokes sqlite3_vfs_register(), but other + ** recursive calls might also be possible. + ** + ** IMPLEMENTATION-OF: R-00140-37445 SQLite automatically serializes calls + ** to the xInit method, so the xInit method need not be threadsafe. + ** + ** The following mutex is what serializes access to the appdef pcache xInit + ** methods. The sqlite3_pcache_methods.xInit() all is embedded in the + ** call to sqlite3PcacheInitialize(). + */ + sqlite3_mutex_enter(sqlite3GlobalConfig.pInitMutex); + if( sqlite3GlobalConfig.isInit==0 && sqlite3GlobalConfig.inProgress==0 ){ + sqlite3GlobalConfig.inProgress = 1; +#ifdef SQLITE_ENABLE_SQLLOG + { + extern void sqlite3_init_sqllog(void); + sqlite3_init_sqllog(); + } +#endif + memset(&sqlite3BuiltinFunctions, 0, sizeof(sqlite3BuiltinFunctions)); + sqlite3RegisterBuiltinFunctions(); + if( sqlite3GlobalConfig.isPCacheInit==0 ){ + rc = sqlite3PcacheInitialize(); + } + if( rc==SQLITE_OK ){ + sqlite3GlobalConfig.isPCacheInit = 1; + rc = sqlite3OsInit(); + } +#ifdef SQLITE_ENABLE_DESERIALIZE + if( rc==SQLITE_OK ){ + rc = sqlite3MemdbInit(); + } +#endif + if( rc==SQLITE_OK ){ + sqlite3PCacheBufferSetup( sqlite3GlobalConfig.pPage, + sqlite3GlobalConfig.szPage, sqlite3GlobalConfig.nPage); + sqlite3GlobalConfig.isInit = 1; +#ifdef SQLITE_EXTRA_INIT + bRunExtraInit = 1; +#endif + } + sqlite3GlobalConfig.inProgress = 0; + } + sqlite3_mutex_leave(sqlite3GlobalConfig.pInitMutex); + + /* Go back under the static mutex and clean up the recursive + ** mutex to prevent a resource leak. + */ + sqlite3_mutex_enter(pMaster); + sqlite3GlobalConfig.nRefInitMutex--; + if( sqlite3GlobalConfig.nRefInitMutex<=0 ){ + assert( sqlite3GlobalConfig.nRefInitMutex==0 ); + sqlite3_mutex_free(sqlite3GlobalConfig.pInitMutex); + sqlite3GlobalConfig.pInitMutex = 0; + } + sqlite3_mutex_leave(pMaster); + + /* The following is just a sanity check to make sure SQLite has + ** been compiled correctly. It is important to run this code, but + ** we don't want to run it too often and soak up CPU cycles for no + ** reason. So we run it once during initialization. + */ +#ifndef NDEBUG +#ifndef SQLITE_OMIT_FLOATING_POINT + /* This section of code's only "output" is via assert() statements. */ + if( rc==SQLITE_OK ){ + u64 x = (((u64)1)<<63)-1; + double y; + assert(sizeof(x)==8); + assert(sizeof(x)==sizeof(y)); + memcpy(&y, &x, 8); + assert( sqlite3IsNaN(y) ); + } +#endif +#endif + + /* Do extra initialization steps requested by the SQLITE_EXTRA_INIT + ** compile-time option. + */ +#ifdef SQLITE_EXTRA_INIT + if( bRunExtraInit ){ + int SQLITE_EXTRA_INIT(const char*); + rc = SQLITE_EXTRA_INIT(0); + } +#endif + + return rc; +} + +/* +** Undo the effects of sqlite3_initialize(). Must not be called while +** there are outstanding database connections or memory allocations or +** while any part of SQLite is otherwise in use in any thread. This +** routine is not threadsafe. But it is safe to invoke this routine +** on when SQLite is already shut down. If SQLite is already shut down +** when this routine is invoked, then this routine is a harmless no-op. +*/ +SQLITE_API int sqlite3_shutdown(void){ +#ifdef SQLITE_OMIT_WSD + int rc = sqlite3_wsd_init(4096, 24); + if( rc!=SQLITE_OK ){ + return rc; + } +#endif + + if( sqlite3GlobalConfig.isInit ){ +#ifdef SQLITE_EXTRA_SHUTDOWN + void SQLITE_EXTRA_SHUTDOWN(void); + SQLITE_EXTRA_SHUTDOWN(); +#endif + sqlite3_os_end(); + sqlite3_reset_auto_extension(); + sqlite3GlobalConfig.isInit = 0; + } + if( sqlite3GlobalConfig.isPCacheInit ){ + sqlite3PcacheShutdown(); + sqlite3GlobalConfig.isPCacheInit = 0; + } + if( sqlite3GlobalConfig.isMallocInit ){ + sqlite3MallocEnd(); + sqlite3GlobalConfig.isMallocInit = 0; + +#ifndef SQLITE_OMIT_SHUTDOWN_DIRECTORIES + /* The heap subsystem has now been shutdown and these values are supposed + ** to be NULL or point to memory that was obtained from sqlite3_malloc(), + ** which would rely on that heap subsystem; therefore, make sure these + ** values cannot refer to heap memory that was just invalidated when the + ** heap subsystem was shutdown. This is only done if the current call to + ** this function resulted in the heap subsystem actually being shutdown. + */ + sqlite3_data_directory = 0; + sqlite3_temp_directory = 0; +#endif + } + if( sqlite3GlobalConfig.isMutexInit ){ + sqlite3MutexEnd(); + sqlite3GlobalConfig.isMutexInit = 0; + } + + return SQLITE_OK; +} + +/* +** This API allows applications to modify the global configuration of +** the SQLite library at run-time. +** +** This routine should only be called when there are no outstanding +** database connections or memory allocations. This routine is not +** threadsafe. Failure to heed these warnings can lead to unpredictable +** behavior. +*/ +SQLITE_API int sqlite3_config(int op, ...){ + va_list ap; + int rc = SQLITE_OK; + + /* sqlite3_config() shall return SQLITE_MISUSE if it is invoked while + ** the SQLite library is in use. */ + if( sqlite3GlobalConfig.isInit ) return SQLITE_MISUSE_BKPT; + + va_start(ap, op); + switch( op ){ + + /* Mutex configuration options are only available in a threadsafe + ** compile. + */ +#if defined(SQLITE_THREADSAFE) && SQLITE_THREADSAFE>0 /* IMP: R-54466-46756 */ + case SQLITE_CONFIG_SINGLETHREAD: { + /* EVIDENCE-OF: R-02748-19096 This option sets the threading mode to + ** Single-thread. */ + sqlite3GlobalConfig.bCoreMutex = 0; /* Disable mutex on core */ + sqlite3GlobalConfig.bFullMutex = 0; /* Disable mutex on connections */ + break; + } +#endif +#if defined(SQLITE_THREADSAFE) && SQLITE_THREADSAFE>0 /* IMP: R-20520-54086 */ + case SQLITE_CONFIG_MULTITHREAD: { + /* EVIDENCE-OF: R-14374-42468 This option sets the threading mode to + ** Multi-thread. */ + sqlite3GlobalConfig.bCoreMutex = 1; /* Enable mutex on core */ + sqlite3GlobalConfig.bFullMutex = 0; /* Disable mutex on connections */ + break; + } +#endif +#if defined(SQLITE_THREADSAFE) && SQLITE_THREADSAFE>0 /* IMP: R-59593-21810 */ + case SQLITE_CONFIG_SERIALIZED: { + /* EVIDENCE-OF: R-41220-51800 This option sets the threading mode to + ** Serialized. */ + sqlite3GlobalConfig.bCoreMutex = 1; /* Enable mutex on core */ + sqlite3GlobalConfig.bFullMutex = 1; /* Enable mutex on connections */ + break; + } +#endif +#if defined(SQLITE_THREADSAFE) && SQLITE_THREADSAFE>0 /* IMP: R-63666-48755 */ + case SQLITE_CONFIG_MUTEX: { + /* Specify an alternative mutex implementation */ + sqlite3GlobalConfig.mutex = *va_arg(ap, sqlite3_mutex_methods*); + break; + } +#endif +#if defined(SQLITE_THREADSAFE) && SQLITE_THREADSAFE>0 /* IMP: R-14450-37597 */ + case SQLITE_CONFIG_GETMUTEX: { + /* Retrieve the current mutex implementation */ + *va_arg(ap, sqlite3_mutex_methods*) = sqlite3GlobalConfig.mutex; + break; + } +#endif + + case SQLITE_CONFIG_MALLOC: { + /* EVIDENCE-OF: R-55594-21030 The SQLITE_CONFIG_MALLOC option takes a + ** single argument which is a pointer to an instance of the + ** sqlite3_mem_methods structure. The argument specifies alternative + ** low-level memory allocation routines to be used in place of the memory + ** allocation routines built into SQLite. */ + sqlite3GlobalConfig.m = *va_arg(ap, sqlite3_mem_methods*); + break; + } + case SQLITE_CONFIG_GETMALLOC: { + /* EVIDENCE-OF: R-51213-46414 The SQLITE_CONFIG_GETMALLOC option takes a + ** single argument which is a pointer to an instance of the + ** sqlite3_mem_methods structure. The sqlite3_mem_methods structure is + ** filled with the currently defined memory allocation routines. */ + if( sqlite3GlobalConfig.m.xMalloc==0 ) sqlite3MemSetDefault(); + *va_arg(ap, sqlite3_mem_methods*) = sqlite3GlobalConfig.m; + break; + } + case SQLITE_CONFIG_MEMSTATUS: { + /* EVIDENCE-OF: R-61275-35157 The SQLITE_CONFIG_MEMSTATUS option takes + ** single argument of type int, interpreted as a boolean, which enables + ** or disables the collection of memory allocation statistics. */ + sqlite3GlobalConfig.bMemstat = va_arg(ap, int); + break; + } + case SQLITE_CONFIG_SMALL_MALLOC: { + sqlite3GlobalConfig.bSmallMalloc = va_arg(ap, int); + break; + } + case SQLITE_CONFIG_PAGECACHE: { + /* EVIDENCE-OF: R-18761-36601 There are three arguments to + ** SQLITE_CONFIG_PAGECACHE: A pointer to 8-byte aligned memory (pMem), + ** the size of each page cache line (sz), and the number of cache lines + ** (N). */ + sqlite3GlobalConfig.pPage = va_arg(ap, void*); + sqlite3GlobalConfig.szPage = va_arg(ap, int); + sqlite3GlobalConfig.nPage = va_arg(ap, int); + break; + } + case SQLITE_CONFIG_PCACHE_HDRSZ: { + /* EVIDENCE-OF: R-39100-27317 The SQLITE_CONFIG_PCACHE_HDRSZ option takes + ** a single parameter which is a pointer to an integer and writes into + ** that integer the number of extra bytes per page required for each page + ** in SQLITE_CONFIG_PAGECACHE. */ + *va_arg(ap, int*) = + sqlite3HeaderSizeBtree() + + sqlite3HeaderSizePcache() + + sqlite3HeaderSizePcache1(); + break; + } + + case SQLITE_CONFIG_PCACHE: { + /* no-op */ + break; + } + case SQLITE_CONFIG_GETPCACHE: { + /* now an error */ + rc = SQLITE_ERROR; + break; + } + + case SQLITE_CONFIG_PCACHE2: { + /* EVIDENCE-OF: R-63325-48378 The SQLITE_CONFIG_PCACHE2 option takes a + ** single argument which is a pointer to an sqlite3_pcache_methods2 + ** object. This object specifies the interface to a custom page cache + ** implementation. */ + sqlite3GlobalConfig.pcache2 = *va_arg(ap, sqlite3_pcache_methods2*); + break; + } + case SQLITE_CONFIG_GETPCACHE2: { + /* EVIDENCE-OF: R-22035-46182 The SQLITE_CONFIG_GETPCACHE2 option takes a + ** single argument which is a pointer to an sqlite3_pcache_methods2 + ** object. SQLite copies of the current page cache implementation into + ** that object. */ + if( sqlite3GlobalConfig.pcache2.xInit==0 ){ + sqlite3PCacheSetDefault(); + } + *va_arg(ap, sqlite3_pcache_methods2*) = sqlite3GlobalConfig.pcache2; + break; + } + +/* EVIDENCE-OF: R-06626-12911 The SQLITE_CONFIG_HEAP option is only +** available if SQLite is compiled with either SQLITE_ENABLE_MEMSYS3 or +** SQLITE_ENABLE_MEMSYS5 and returns SQLITE_ERROR if invoked otherwise. */ +#if defined(SQLITE_ENABLE_MEMSYS3) || defined(SQLITE_ENABLE_MEMSYS5) + case SQLITE_CONFIG_HEAP: { + /* EVIDENCE-OF: R-19854-42126 There are three arguments to + ** SQLITE_CONFIG_HEAP: An 8-byte aligned pointer to the memory, the + ** number of bytes in the memory buffer, and the minimum allocation size. + */ + sqlite3GlobalConfig.pHeap = va_arg(ap, void*); + sqlite3GlobalConfig.nHeap = va_arg(ap, int); + sqlite3GlobalConfig.mnReq = va_arg(ap, int); + + if( sqlite3GlobalConfig.mnReq<1 ){ + sqlite3GlobalConfig.mnReq = 1; + }else if( sqlite3GlobalConfig.mnReq>(1<<12) ){ + /* cap min request size at 2^12 */ + sqlite3GlobalConfig.mnReq = (1<<12); + } + + if( sqlite3GlobalConfig.pHeap==0 ){ + /* EVIDENCE-OF: R-49920-60189 If the first pointer (the memory pointer) + ** is NULL, then SQLite reverts to using its default memory allocator + ** (the system malloc() implementation), undoing any prior invocation of + ** SQLITE_CONFIG_MALLOC. + ** + ** Setting sqlite3GlobalConfig.m to all zeros will cause malloc to + ** revert to its default implementation when sqlite3_initialize() is run + */ + memset(&sqlite3GlobalConfig.m, 0, sizeof(sqlite3GlobalConfig.m)); + }else{ + /* EVIDENCE-OF: R-61006-08918 If the memory pointer is not NULL then the + ** alternative memory allocator is engaged to handle all of SQLites + ** memory allocation needs. */ +#ifdef SQLITE_ENABLE_MEMSYS3 + sqlite3GlobalConfig.m = *sqlite3MemGetMemsys3(); +#endif +#ifdef SQLITE_ENABLE_MEMSYS5 + sqlite3GlobalConfig.m = *sqlite3MemGetMemsys5(); +#endif + } + break; + } +#endif + + case SQLITE_CONFIG_LOOKASIDE: { + sqlite3GlobalConfig.szLookaside = va_arg(ap, int); + sqlite3GlobalConfig.nLookaside = va_arg(ap, int); + break; + } + + /* Record a pointer to the logger function and its first argument. + ** The default is NULL. Logging is disabled if the function pointer is + ** NULL. + */ + case SQLITE_CONFIG_LOG: { + /* MSVC is picky about pulling func ptrs from va lists. + ** http://support.microsoft.com/kb/47961 + ** sqlite3GlobalConfig.xLog = va_arg(ap, void(*)(void*,int,const char*)); + */ + typedef void(*LOGFUNC_t)(void*,int,const char*); + sqlite3GlobalConfig.xLog = va_arg(ap, LOGFUNC_t); + sqlite3GlobalConfig.pLogArg = va_arg(ap, void*); + break; + } + + /* EVIDENCE-OF: R-55548-33817 The compile-time setting for URI filenames + ** can be changed at start-time using the + ** sqlite3_config(SQLITE_CONFIG_URI,1) or + ** sqlite3_config(SQLITE_CONFIG_URI,0) configuration calls. + */ + case SQLITE_CONFIG_URI: { + /* EVIDENCE-OF: R-25451-61125 The SQLITE_CONFIG_URI option takes a single + ** argument of type int. If non-zero, then URI handling is globally + ** enabled. If the parameter is zero, then URI handling is globally + ** disabled. */ + sqlite3GlobalConfig.bOpenUri = va_arg(ap, int); + break; + } + + case SQLITE_CONFIG_COVERING_INDEX_SCAN: { + /* EVIDENCE-OF: R-36592-02772 The SQLITE_CONFIG_COVERING_INDEX_SCAN + ** option takes a single integer argument which is interpreted as a + ** boolean in order to enable or disable the use of covering indices for + ** full table scans in the query optimizer. */ + sqlite3GlobalConfig.bUseCis = va_arg(ap, int); + break; + } + +#ifdef SQLITE_ENABLE_SQLLOG + case SQLITE_CONFIG_SQLLOG: { + typedef void(*SQLLOGFUNC_t)(void*, sqlite3*, const char*, int); + sqlite3GlobalConfig.xSqllog = va_arg(ap, SQLLOGFUNC_t); + sqlite3GlobalConfig.pSqllogArg = va_arg(ap, void *); + break; + } +#endif + + case SQLITE_CONFIG_MMAP_SIZE: { + /* EVIDENCE-OF: R-58063-38258 SQLITE_CONFIG_MMAP_SIZE takes two 64-bit + ** integer (sqlite3_int64) values that are the default mmap size limit + ** (the default setting for PRAGMA mmap_size) and the maximum allowed + ** mmap size limit. */ + sqlite3_int64 szMmap = va_arg(ap, sqlite3_int64); + sqlite3_int64 mxMmap = va_arg(ap, sqlite3_int64); + /* EVIDENCE-OF: R-53367-43190 If either argument to this option is + ** negative, then that argument is changed to its compile-time default. + ** + ** EVIDENCE-OF: R-34993-45031 The maximum allowed mmap size will be + ** silently truncated if necessary so that it does not exceed the + ** compile-time maximum mmap size set by the SQLITE_MAX_MMAP_SIZE + ** compile-time option. + */ + if( mxMmap<0 || mxMmap>SQLITE_MAX_MMAP_SIZE ){ + mxMmap = SQLITE_MAX_MMAP_SIZE; + } + if( szMmap<0 ) szMmap = SQLITE_DEFAULT_MMAP_SIZE; + if( szMmap>mxMmap) szMmap = mxMmap; + sqlite3GlobalConfig.mxMmap = mxMmap; + sqlite3GlobalConfig.szMmap = szMmap; + break; + } + +#if SQLITE_OS_WIN && defined(SQLITE_WIN32_MALLOC) /* IMP: R-04780-55815 */ + case SQLITE_CONFIG_WIN32_HEAPSIZE: { + /* EVIDENCE-OF: R-34926-03360 SQLITE_CONFIG_WIN32_HEAPSIZE takes a 32-bit + ** unsigned integer value that specifies the maximum size of the created + ** heap. */ + sqlite3GlobalConfig.nHeap = va_arg(ap, int); + break; + } +#endif + + case SQLITE_CONFIG_PMASZ: { + sqlite3GlobalConfig.szPma = va_arg(ap, unsigned int); + break; + } + + case SQLITE_CONFIG_STMTJRNL_SPILL: { + sqlite3GlobalConfig.nStmtSpill = va_arg(ap, int); + break; + } + +#ifdef SQLITE_ENABLE_SORTER_REFERENCES + case SQLITE_CONFIG_SORTERREF_SIZE: { + int iVal = va_arg(ap, int); + if( iVal<0 ){ + iVal = SQLITE_DEFAULT_SORTERREF_SIZE; + } + sqlite3GlobalConfig.szSorterRef = (u32)iVal; + break; + } +#endif /* SQLITE_ENABLE_SORTER_REFERENCES */ + +#ifdef SQLITE_ENABLE_DESERIALIZE + case SQLITE_CONFIG_MEMDB_MAXSIZE: { + sqlite3GlobalConfig.mxMemdbSize = va_arg(ap, sqlite3_int64); + break; + } +#endif /* SQLITE_ENABLE_DESERIALIZE */ + + default: { + rc = SQLITE_ERROR; + break; + } + } + va_end(ap); + return rc; +} + +/* +** Set up the lookaside buffers for a database connection. +** Return SQLITE_OK on success. +** If lookaside is already active, return SQLITE_BUSY. +** +** The sz parameter is the number of bytes in each lookaside slot. +** The cnt parameter is the number of slots. If pStart is NULL the +** space for the lookaside memory is obtained from sqlite3_malloc(). +** If pStart is not NULL then it is sz*cnt bytes of memory to use for +** the lookaside memory. +*/ +static int setupLookaside(sqlite3 *db, void *pBuf, int sz, int cnt){ +#ifndef SQLITE_OMIT_LOOKASIDE + void *pStart; + + if( sqlite3LookasideUsed(db,0)>0 ){ + return SQLITE_BUSY; + } + /* Free any existing lookaside buffer for this handle before + ** allocating a new one so we don't have to have space for + ** both at the same time. + */ + if( db->lookaside.bMalloced ){ + sqlite3_free(db->lookaside.pStart); + } + /* The size of a lookaside slot after ROUNDDOWN8 needs to be larger + ** than a pointer to be useful. + */ + sz = ROUNDDOWN8(sz); /* IMP: R-33038-09382 */ + if( sz<=(int)sizeof(LookasideSlot*) ) sz = 0; + if( cnt<0 ) cnt = 0; + if( sz==0 || cnt==0 ){ + sz = 0; + pStart = 0; + }else if( pBuf==0 ){ + sqlite3BeginBenignMalloc(); + pStart = sqlite3Malloc( sz*(sqlite3_int64)cnt ); /* IMP: R-61949-35727 */ + sqlite3EndBenignMalloc(); + if( pStart ) cnt = sqlite3MallocSize(pStart)/sz; + }else{ + pStart = pBuf; + } + db->lookaside.pStart = pStart; + db->lookaside.pInit = 0; + db->lookaside.pFree = 0; + db->lookaside.sz = (u16)sz; + if( pStart ){ + int i; + LookasideSlot *p; + assert( sz > (int)sizeof(LookasideSlot*) ); + db->lookaside.nSlot = cnt; + p = (LookasideSlot*)pStart; + for(i=cnt-1; i>=0; i--){ + p->pNext = db->lookaside.pInit; + db->lookaside.pInit = p; + p = (LookasideSlot*)&((u8*)p)[sz]; + } + db->lookaside.pEnd = p; + db->lookaside.bDisable = 0; + db->lookaside.bMalloced = pBuf==0 ?1:0; + }else{ + db->lookaside.pStart = db; + db->lookaside.pEnd = db; + db->lookaside.bDisable = 1; + db->lookaside.bMalloced = 0; + db->lookaside.nSlot = 0; + } +#endif /* SQLITE_OMIT_LOOKASIDE */ + return SQLITE_OK; +} + +/* +** Return the mutex associated with a database connection. +*/ +SQLITE_API sqlite3_mutex *sqlite3_db_mutex(sqlite3 *db){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + return db->mutex; +} + +/* +** Free up as much memory as we can from the given database +** connection. +*/ +SQLITE_API int sqlite3_db_release_memory(sqlite3 *db){ + int i; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(db->mutex); + sqlite3BtreeEnterAll(db); + for(i=0; inDb; i++){ + Btree *pBt = db->aDb[i].pBt; + if( pBt ){ + Pager *pPager = sqlite3BtreePager(pBt); + sqlite3PagerShrink(pPager); + } + } + sqlite3BtreeLeaveAll(db); + sqlite3_mutex_leave(db->mutex); + return SQLITE_OK; +} + +/* +** Flush any dirty pages in the pager-cache for any attached database +** to disk. +*/ +SQLITE_API int sqlite3_db_cacheflush(sqlite3 *db){ + int i; + int rc = SQLITE_OK; + int bSeenBusy = 0; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(db->mutex); + sqlite3BtreeEnterAll(db); + for(i=0; rc==SQLITE_OK && inDb; i++){ + Btree *pBt = db->aDb[i].pBt; + if( pBt && sqlite3BtreeIsInTrans(pBt) ){ + Pager *pPager = sqlite3BtreePager(pBt); + rc = sqlite3PagerFlush(pPager); + if( rc==SQLITE_BUSY ){ + bSeenBusy = 1; + rc = SQLITE_OK; + } + } + } + sqlite3BtreeLeaveAll(db); + sqlite3_mutex_leave(db->mutex); + return ((rc==SQLITE_OK && bSeenBusy) ? SQLITE_BUSY : rc); +} + +/* +** Configuration settings for an individual database connection +*/ +SQLITE_API int sqlite3_db_config(sqlite3 *db, int op, ...){ + va_list ap; + int rc; + va_start(ap, op); + switch( op ){ + case SQLITE_DBCONFIG_MAINDBNAME: { + /* IMP: R-06824-28531 */ + /* IMP: R-36257-52125 */ + db->aDb[0].zDbSName = va_arg(ap,char*); + rc = SQLITE_OK; + break; + } + case SQLITE_DBCONFIG_LOOKASIDE: { + void *pBuf = va_arg(ap, void*); /* IMP: R-26835-10964 */ + int sz = va_arg(ap, int); /* IMP: R-47871-25994 */ + int cnt = va_arg(ap, int); /* IMP: R-04460-53386 */ + rc = setupLookaside(db, pBuf, sz, cnt); + break; + } + default: { + static const struct { + int op; /* The opcode */ + u32 mask; /* Mask of the bit in sqlite3.flags to set/clear */ + } aFlagOp[] = { + { SQLITE_DBCONFIG_ENABLE_FKEY, SQLITE_ForeignKeys }, + { SQLITE_DBCONFIG_ENABLE_TRIGGER, SQLITE_EnableTrigger }, + { SQLITE_DBCONFIG_ENABLE_VIEW, SQLITE_EnableView }, + { SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER, SQLITE_Fts3Tokenizer }, + { SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION, SQLITE_LoadExtension }, + { SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE, SQLITE_NoCkptOnClose }, + { SQLITE_DBCONFIG_ENABLE_QPSG, SQLITE_EnableQPSG }, + { SQLITE_DBCONFIG_TRIGGER_EQP, SQLITE_TriggerEQP }, + { SQLITE_DBCONFIG_RESET_DATABASE, SQLITE_ResetDatabase }, + { SQLITE_DBCONFIG_DEFENSIVE, SQLITE_Defensive }, + { SQLITE_DBCONFIG_WRITABLE_SCHEMA, SQLITE_WriteSchema| + SQLITE_NoSchemaError }, + { SQLITE_DBCONFIG_LEGACY_ALTER_TABLE, SQLITE_LegacyAlter }, + { SQLITE_DBCONFIG_DQS_DDL, SQLITE_DqsDDL }, + { SQLITE_DBCONFIG_DQS_DML, SQLITE_DqsDML }, + }; + unsigned int i; + rc = SQLITE_ERROR; /* IMP: R-42790-23372 */ + for(i=0; iflags; + if( onoff>0 ){ + db->flags |= aFlagOp[i].mask; + }else if( onoff==0 ){ + db->flags &= ~(u64)aFlagOp[i].mask; + } + if( oldFlags!=db->flags ){ + sqlite3ExpirePreparedStatements(db, 0); + } + if( pRes ){ + *pRes = (db->flags & aFlagOp[i].mask)!=0; + } + rc = SQLITE_OK; + break; + } + } + break; + } + } + va_end(ap); + return rc; +} + +/* +** This is the default collating function named "BINARY" which is always +** available. +*/ +static int binCollFunc( + void *NotUsed, + int nKey1, const void *pKey1, + int nKey2, const void *pKey2 +){ + int rc, n; + UNUSED_PARAMETER(NotUsed); + n = nKey1xCmp!=binCollFunc || strcmp(p->zName,"BINARY")==0 ); + return p==0 || p->xCmp==binCollFunc; +} + +/* +** Another built-in collating sequence: NOCASE. +** +** This collating sequence is intended to be used for "case independent +** comparison". SQLite's knowledge of upper and lower case equivalents +** extends only to the 26 characters used in the English language. +** +** At the moment there is only a UTF-8 implementation. +*/ +static int nocaseCollatingFunc( + void *NotUsed, + int nKey1, const void *pKey1, + int nKey2, const void *pKey2 +){ + int r = sqlite3StrNICmp( + (const char *)pKey1, (const char *)pKey2, (nKey1lastRowid; +} + +/* +** Set the value returned by the sqlite3_last_insert_rowid() API function. +*/ +SQLITE_API void sqlite3_set_last_insert_rowid(sqlite3 *db, sqlite3_int64 iRowid){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return; + } +#endif + sqlite3_mutex_enter(db->mutex); + db->lastRowid = iRowid; + sqlite3_mutex_leave(db->mutex); +} + +/* +** Return the number of changes in the most recent call to sqlite3_exec(). +*/ +SQLITE_API int sqlite3_changes(sqlite3 *db){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + return db->nChange; +} + +/* +** Return the number of changes since the database handle was opened. +*/ +SQLITE_API int sqlite3_total_changes(sqlite3 *db){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + return db->nTotalChange; +} + +/* +** Close all open savepoints. This function only manipulates fields of the +** database handle object, it does not close any savepoints that may be open +** at the b-tree/pager level. +*/ +SQLITE_PRIVATE void sqlite3CloseSavepoints(sqlite3 *db){ + while( db->pSavepoint ){ + Savepoint *pTmp = db->pSavepoint; + db->pSavepoint = pTmp->pNext; + sqlite3DbFree(db, pTmp); + } + db->nSavepoint = 0; + db->nStatement = 0; + db->isTransactionSavepoint = 0; +} + +/* +** Invoke the destructor function associated with FuncDef p, if any. Except, +** if this is not the last copy of the function, do not invoke it. Multiple +** copies of a single function are created when create_function() is called +** with SQLITE_ANY as the encoding. +*/ +static void functionDestroy(sqlite3 *db, FuncDef *p){ + FuncDestructor *pDestructor = p->u.pDestructor; + if( pDestructor ){ + pDestructor->nRef--; + if( pDestructor->nRef==0 ){ + pDestructor->xDestroy(pDestructor->pUserData); + sqlite3DbFree(db, pDestructor); + } + } +} + +/* +** Disconnect all sqlite3_vtab objects that belong to database connection +** db. This is called when db is being closed. +*/ +static void disconnectAllVtab(sqlite3 *db){ +#ifndef SQLITE_OMIT_VIRTUALTABLE + int i; + HashElem *p; + sqlite3BtreeEnterAll(db); + for(i=0; inDb; i++){ + Schema *pSchema = db->aDb[i].pSchema; + if( pSchema ){ + for(p=sqliteHashFirst(&pSchema->tblHash); p; p=sqliteHashNext(p)){ + Table *pTab = (Table *)sqliteHashData(p); + if( IsVirtual(pTab) ) sqlite3VtabDisconnect(db, pTab); + } + } + } + for(p=sqliteHashFirst(&db->aModule); p; p=sqliteHashNext(p)){ + Module *pMod = (Module *)sqliteHashData(p); + if( pMod->pEpoTab ){ + sqlite3VtabDisconnect(db, pMod->pEpoTab); + } + } + sqlite3VtabUnlockList(db); + sqlite3BtreeLeaveAll(db); +#else + UNUSED_PARAMETER(db); +#endif +} + +/* +** Return TRUE if database connection db has unfinalized prepared +** statements or unfinished sqlite3_backup objects. +*/ +static int connectionIsBusy(sqlite3 *db){ + int j; + assert( sqlite3_mutex_held(db->mutex) ); + if( db->pVdbe ) return 1; + for(j=0; jnDb; j++){ + Btree *pBt = db->aDb[j].pBt; + if( pBt && sqlite3BtreeIsInBackup(pBt) ) return 1; + } + return 0; +} + +/* +** Close an existing SQLite database +*/ +static int sqlite3Close(sqlite3 *db, int forceZombie){ + if( !db ){ + /* EVIDENCE-OF: R-63257-11740 Calling sqlite3_close() or + ** sqlite3_close_v2() with a NULL pointer argument is a harmless no-op. */ + return SQLITE_OK; + } + if( !sqlite3SafetyCheckSickOrOk(db) ){ + return SQLITE_MISUSE_BKPT; + } + sqlite3_mutex_enter(db->mutex); + if( db->mTrace & SQLITE_TRACE_CLOSE ){ + db->xTrace(SQLITE_TRACE_CLOSE, db->pTraceArg, db, 0); + } + + /* Force xDisconnect calls on all virtual tables */ + disconnectAllVtab(db); + + /* If a transaction is open, the disconnectAllVtab() call above + ** will not have called the xDisconnect() method on any virtual + ** tables in the db->aVTrans[] array. The following sqlite3VtabRollback() + ** call will do so. We need to do this before the check for active + ** SQL statements below, as the v-table implementation may be storing + ** some prepared statements internally. + */ + sqlite3VtabRollback(db); + + /* Legacy behavior (sqlite3_close() behavior) is to return + ** SQLITE_BUSY if the connection can not be closed immediately. + */ + if( !forceZombie && connectionIsBusy(db) ){ + sqlite3ErrorWithMsg(db, SQLITE_BUSY, "unable to close due to unfinalized " + "statements or unfinished backups"); + sqlite3_mutex_leave(db->mutex); + return SQLITE_BUSY; + } + +#ifdef SQLITE_ENABLE_SQLLOG + if( sqlite3GlobalConfig.xSqllog ){ + /* Closing the handle. Fourth parameter is passed the value 2. */ + sqlite3GlobalConfig.xSqllog(sqlite3GlobalConfig.pSqllogArg, db, 0, 2); + } +#endif + + /* Convert the connection into a zombie and then close it. + */ + db->magic = SQLITE_MAGIC_ZOMBIE; + sqlite3LeaveMutexAndCloseZombie(db); + return SQLITE_OK; +} + +/* +** Two variations on the public interface for closing a database +** connection. The sqlite3_close() version returns SQLITE_BUSY and +** leaves the connection option if there are unfinalized prepared +** statements or unfinished sqlite3_backups. The sqlite3_close_v2() +** version forces the connection to become a zombie if there are +** unclosed resources, and arranges for deallocation when the last +** prepare statement or sqlite3_backup closes. +*/ +SQLITE_API int sqlite3_close(sqlite3 *db){ return sqlite3Close(db,0); } +SQLITE_API int sqlite3_close_v2(sqlite3 *db){ return sqlite3Close(db,1); } + + +/* +** Close the mutex on database connection db. +** +** Furthermore, if database connection db is a zombie (meaning that there +** has been a prior call to sqlite3_close(db) or sqlite3_close_v2(db)) and +** every sqlite3_stmt has now been finalized and every sqlite3_backup has +** finished, then free all resources. +*/ +SQLITE_PRIVATE void sqlite3LeaveMutexAndCloseZombie(sqlite3 *db){ + HashElem *i; /* Hash table iterator */ + int j; + + /* If there are outstanding sqlite3_stmt or sqlite3_backup objects + ** or if the connection has not yet been closed by sqlite3_close_v2(), + ** then just leave the mutex and return. + */ + if( db->magic!=SQLITE_MAGIC_ZOMBIE || connectionIsBusy(db) ){ + sqlite3_mutex_leave(db->mutex); + return; + } + + /* If we reach this point, it means that the database connection has + ** closed all sqlite3_stmt and sqlite3_backup objects and has been + ** passed to sqlite3_close (meaning that it is a zombie). Therefore, + ** go ahead and free all resources. + */ + + /* If a transaction is open, roll it back. This also ensures that if + ** any database schemas have been modified by an uncommitted transaction + ** they are reset. And that the required b-tree mutex is held to make + ** the pager rollback and schema reset an atomic operation. */ + sqlite3RollbackAll(db, SQLITE_OK); + + /* Free any outstanding Savepoint structures. */ + sqlite3CloseSavepoints(db); + + /* Close all database connections */ + for(j=0; jnDb; j++){ + struct Db *pDb = &db->aDb[j]; + if( pDb->pBt ){ + sqlite3BtreeClose(pDb->pBt); + pDb->pBt = 0; + if( j!=1 ){ + pDb->pSchema = 0; + } + } + } + /* Clear the TEMP schema separately and last */ + if( db->aDb[1].pSchema ){ + sqlite3SchemaClear(db->aDb[1].pSchema); + } + sqlite3VtabUnlockList(db); + + /* Free up the array of auxiliary databases */ + sqlite3CollapseDatabaseArray(db); + assert( db->nDb<=2 ); + assert( db->aDb==db->aDbStatic ); + + /* Tell the code in notify.c that the connection no longer holds any + ** locks and does not require any further unlock-notify callbacks. + */ + sqlite3ConnectionClosed(db); + + for(i=sqliteHashFirst(&db->aFunc); i; i=sqliteHashNext(i)){ + FuncDef *pNext, *p; + p = sqliteHashData(i); + do{ + functionDestroy(db, p); + pNext = p->pNext; + sqlite3DbFree(db, p); + p = pNext; + }while( p ); + } + sqlite3HashClear(&db->aFunc); + for(i=sqliteHashFirst(&db->aCollSeq); i; i=sqliteHashNext(i)){ + CollSeq *pColl = (CollSeq *)sqliteHashData(i); + /* Invoke any destructors registered for collation sequence user data. */ + for(j=0; j<3; j++){ + if( pColl[j].xDel ){ + pColl[j].xDel(pColl[j].pUser); + } + } + sqlite3DbFree(db, pColl); + } + sqlite3HashClear(&db->aCollSeq); +#ifndef SQLITE_OMIT_VIRTUALTABLE + for(i=sqliteHashFirst(&db->aModule); i; i=sqliteHashNext(i)){ + Module *pMod = (Module *)sqliteHashData(i); + sqlite3VtabEponymousTableClear(db, pMod); + sqlite3VtabModuleUnref(db, pMod); + } + sqlite3HashClear(&db->aModule); +#endif + + sqlite3Error(db, SQLITE_OK); /* Deallocates any cached error strings. */ + sqlite3ValueFree(db->pErr); + sqlite3CloseExtensions(db); +#if SQLITE_USER_AUTHENTICATION + sqlite3_free(db->auth.zAuthUser); + sqlite3_free(db->auth.zAuthPW); +#endif + + db->magic = SQLITE_MAGIC_ERROR; + + /* The temp-database schema is allocated differently from the other schema + ** objects (using sqliteMalloc() directly, instead of sqlite3BtreeSchema()). + ** So it needs to be freed here. Todo: Why not roll the temp schema into + ** the same sqliteMalloc() as the one that allocates the database + ** structure? + */ + sqlite3DbFree(db, db->aDb[1].pSchema); + sqlite3_mutex_leave(db->mutex); + db->magic = SQLITE_MAGIC_CLOSED; + sqlite3_mutex_free(db->mutex); + assert( sqlite3LookasideUsed(db,0)==0 ); + if( db->lookaside.bMalloced ){ + sqlite3_free(db->lookaside.pStart); + } + sqlite3_free(db); +} + +/* +** Rollback all database files. If tripCode is not SQLITE_OK, then +** any write cursors are invalidated ("tripped" - as in "tripping a circuit +** breaker") and made to return tripCode if there are any further +** attempts to use that cursor. Read cursors remain open and valid +** but are "saved" in case the table pages are moved around. +*/ +SQLITE_PRIVATE void sqlite3RollbackAll(sqlite3 *db, int tripCode){ + int i; + int inTrans = 0; + int schemaChange; + assert( sqlite3_mutex_held(db->mutex) ); + sqlite3BeginBenignMalloc(); + + /* Obtain all b-tree mutexes before making any calls to BtreeRollback(). + ** This is important in case the transaction being rolled back has + ** modified the database schema. If the b-tree mutexes are not taken + ** here, then another shared-cache connection might sneak in between + ** the database rollback and schema reset, which can cause false + ** corruption reports in some cases. */ + sqlite3BtreeEnterAll(db); + schemaChange = (db->mDbFlags & DBFLAG_SchemaChange)!=0 && db->init.busy==0; + + for(i=0; inDb; i++){ + Btree *p = db->aDb[i].pBt; + if( p ){ + if( sqlite3BtreeIsInTrans(p) ){ + inTrans = 1; + } + sqlite3BtreeRollback(p, tripCode, !schemaChange); + } + } + sqlite3VtabRollback(db); + sqlite3EndBenignMalloc(); + + if( schemaChange ){ + sqlite3ExpirePreparedStatements(db, 0); + sqlite3ResetAllSchemasOfConnection(db); + } + sqlite3BtreeLeaveAll(db); + + /* Any deferred constraint violations have now been resolved. */ + db->nDeferredCons = 0; + db->nDeferredImmCons = 0; + db->flags &= ~(u64)SQLITE_DeferFKs; + + /* If one has been configured, invoke the rollback-hook callback */ + if( db->xRollbackCallback && (inTrans || !db->autoCommit) ){ + db->xRollbackCallback(db->pRollbackArg); + } +} + +/* +** Return a static string containing the name corresponding to the error code +** specified in the argument. +*/ +#if defined(SQLITE_NEED_ERR_NAME) +SQLITE_PRIVATE const char *sqlite3ErrName(int rc){ + const char *zName = 0; + int i, origRc = rc; + for(i=0; i<2 && zName==0; i++, rc &= 0xff){ + switch( rc ){ + case SQLITE_OK: zName = "SQLITE_OK"; break; + case SQLITE_ERROR: zName = "SQLITE_ERROR"; break; + case SQLITE_ERROR_SNAPSHOT: zName = "SQLITE_ERROR_SNAPSHOT"; break; + case SQLITE_INTERNAL: zName = "SQLITE_INTERNAL"; break; + case SQLITE_PERM: zName = "SQLITE_PERM"; break; + case SQLITE_ABORT: zName = "SQLITE_ABORT"; break; + case SQLITE_ABORT_ROLLBACK: zName = "SQLITE_ABORT_ROLLBACK"; break; + case SQLITE_BUSY: zName = "SQLITE_BUSY"; break; + case SQLITE_BUSY_RECOVERY: zName = "SQLITE_BUSY_RECOVERY"; break; + case SQLITE_BUSY_SNAPSHOT: zName = "SQLITE_BUSY_SNAPSHOT"; break; + case SQLITE_LOCKED: zName = "SQLITE_LOCKED"; break; + case SQLITE_LOCKED_SHAREDCACHE: zName = "SQLITE_LOCKED_SHAREDCACHE";break; + case SQLITE_NOMEM: zName = "SQLITE_NOMEM"; break; + case SQLITE_READONLY: zName = "SQLITE_READONLY"; break; + case SQLITE_READONLY_RECOVERY: zName = "SQLITE_READONLY_RECOVERY"; break; + case SQLITE_READONLY_CANTINIT: zName = "SQLITE_READONLY_CANTINIT"; break; + case SQLITE_READONLY_ROLLBACK: zName = "SQLITE_READONLY_ROLLBACK"; break; + case SQLITE_READONLY_DBMOVED: zName = "SQLITE_READONLY_DBMOVED"; break; + case SQLITE_READONLY_DIRECTORY: zName = "SQLITE_READONLY_DIRECTORY";break; + case SQLITE_INTERRUPT: zName = "SQLITE_INTERRUPT"; break; + case SQLITE_IOERR: zName = "SQLITE_IOERR"; break; + case SQLITE_IOERR_READ: zName = "SQLITE_IOERR_READ"; break; + case SQLITE_IOERR_SHORT_READ: zName = "SQLITE_IOERR_SHORT_READ"; break; + case SQLITE_IOERR_WRITE: zName = "SQLITE_IOERR_WRITE"; break; + case SQLITE_IOERR_FSYNC: zName = "SQLITE_IOERR_FSYNC"; break; + case SQLITE_IOERR_DIR_FSYNC: zName = "SQLITE_IOERR_DIR_FSYNC"; break; + case SQLITE_IOERR_TRUNCATE: zName = "SQLITE_IOERR_TRUNCATE"; break; + case SQLITE_IOERR_FSTAT: zName = "SQLITE_IOERR_FSTAT"; break; + case SQLITE_IOERR_UNLOCK: zName = "SQLITE_IOERR_UNLOCK"; break; + case SQLITE_IOERR_RDLOCK: zName = "SQLITE_IOERR_RDLOCK"; break; + case SQLITE_IOERR_DELETE: zName = "SQLITE_IOERR_DELETE"; break; + case SQLITE_IOERR_NOMEM: zName = "SQLITE_IOERR_NOMEM"; break; + case SQLITE_IOERR_ACCESS: zName = "SQLITE_IOERR_ACCESS"; break; + case SQLITE_IOERR_CHECKRESERVEDLOCK: + zName = "SQLITE_IOERR_CHECKRESERVEDLOCK"; break; + case SQLITE_IOERR_LOCK: zName = "SQLITE_IOERR_LOCK"; break; + case SQLITE_IOERR_CLOSE: zName = "SQLITE_IOERR_CLOSE"; break; + case SQLITE_IOERR_DIR_CLOSE: zName = "SQLITE_IOERR_DIR_CLOSE"; break; + case SQLITE_IOERR_SHMOPEN: zName = "SQLITE_IOERR_SHMOPEN"; break; + case SQLITE_IOERR_SHMSIZE: zName = "SQLITE_IOERR_SHMSIZE"; break; + case SQLITE_IOERR_SHMLOCK: zName = "SQLITE_IOERR_SHMLOCK"; break; + case SQLITE_IOERR_SHMMAP: zName = "SQLITE_IOERR_SHMMAP"; break; + case SQLITE_IOERR_SEEK: zName = "SQLITE_IOERR_SEEK"; break; + case SQLITE_IOERR_DELETE_NOENT: zName = "SQLITE_IOERR_DELETE_NOENT";break; + case SQLITE_IOERR_MMAP: zName = "SQLITE_IOERR_MMAP"; break; + case SQLITE_IOERR_GETTEMPPATH: zName = "SQLITE_IOERR_GETTEMPPATH"; break; + case SQLITE_IOERR_CONVPATH: zName = "SQLITE_IOERR_CONVPATH"; break; + case SQLITE_CORRUPT: zName = "SQLITE_CORRUPT"; break; + case SQLITE_CORRUPT_VTAB: zName = "SQLITE_CORRUPT_VTAB"; break; + case SQLITE_NOTFOUND: zName = "SQLITE_NOTFOUND"; break; + case SQLITE_FULL: zName = "SQLITE_FULL"; break; + case SQLITE_CANTOPEN: zName = "SQLITE_CANTOPEN"; break; + case SQLITE_CANTOPEN_NOTEMPDIR: zName = "SQLITE_CANTOPEN_NOTEMPDIR";break; + case SQLITE_CANTOPEN_ISDIR: zName = "SQLITE_CANTOPEN_ISDIR"; break; + case SQLITE_CANTOPEN_FULLPATH: zName = "SQLITE_CANTOPEN_FULLPATH"; break; + case SQLITE_CANTOPEN_CONVPATH: zName = "SQLITE_CANTOPEN_CONVPATH"; break; + case SQLITE_PROTOCOL: zName = "SQLITE_PROTOCOL"; break; + case SQLITE_EMPTY: zName = "SQLITE_EMPTY"; break; + case SQLITE_SCHEMA: zName = "SQLITE_SCHEMA"; break; + case SQLITE_TOOBIG: zName = "SQLITE_TOOBIG"; break; + case SQLITE_CONSTRAINT: zName = "SQLITE_CONSTRAINT"; break; + case SQLITE_CONSTRAINT_UNIQUE: zName = "SQLITE_CONSTRAINT_UNIQUE"; break; + case SQLITE_CONSTRAINT_TRIGGER: zName = "SQLITE_CONSTRAINT_TRIGGER";break; + case SQLITE_CONSTRAINT_FOREIGNKEY: + zName = "SQLITE_CONSTRAINT_FOREIGNKEY"; break; + case SQLITE_CONSTRAINT_CHECK: zName = "SQLITE_CONSTRAINT_CHECK"; break; + case SQLITE_CONSTRAINT_PRIMARYKEY: + zName = "SQLITE_CONSTRAINT_PRIMARYKEY"; break; + case SQLITE_CONSTRAINT_NOTNULL: zName = "SQLITE_CONSTRAINT_NOTNULL";break; + case SQLITE_CONSTRAINT_COMMITHOOK: + zName = "SQLITE_CONSTRAINT_COMMITHOOK"; break; + case SQLITE_CONSTRAINT_VTAB: zName = "SQLITE_CONSTRAINT_VTAB"; break; + case SQLITE_CONSTRAINT_FUNCTION: + zName = "SQLITE_CONSTRAINT_FUNCTION"; break; + case SQLITE_CONSTRAINT_ROWID: zName = "SQLITE_CONSTRAINT_ROWID"; break; + case SQLITE_MISMATCH: zName = "SQLITE_MISMATCH"; break; + case SQLITE_MISUSE: zName = "SQLITE_MISUSE"; break; + case SQLITE_NOLFS: zName = "SQLITE_NOLFS"; break; + case SQLITE_AUTH: zName = "SQLITE_AUTH"; break; + case SQLITE_FORMAT: zName = "SQLITE_FORMAT"; break; + case SQLITE_RANGE: zName = "SQLITE_RANGE"; break; + case SQLITE_NOTADB: zName = "SQLITE_NOTADB"; break; + case SQLITE_ROW: zName = "SQLITE_ROW"; break; + case SQLITE_NOTICE: zName = "SQLITE_NOTICE"; break; + case SQLITE_NOTICE_RECOVER_WAL: zName = "SQLITE_NOTICE_RECOVER_WAL";break; + case SQLITE_NOTICE_RECOVER_ROLLBACK: + zName = "SQLITE_NOTICE_RECOVER_ROLLBACK"; break; + case SQLITE_WARNING: zName = "SQLITE_WARNING"; break; + case SQLITE_WARNING_AUTOINDEX: zName = "SQLITE_WARNING_AUTOINDEX"; break; + case SQLITE_DONE: zName = "SQLITE_DONE"; break; + } + } + if( zName==0 ){ + static char zBuf[50]; + sqlite3_snprintf(sizeof(zBuf), zBuf, "SQLITE_UNKNOWN(%d)", origRc); + zName = zBuf; + } + return zName; +} +#endif + +/* +** Return a static string that describes the kind of error specified in the +** argument. +*/ +SQLITE_PRIVATE const char *sqlite3ErrStr(int rc){ + static const char* const aMsg[] = { + /* SQLITE_OK */ "not an error", + /* SQLITE_ERROR */ "SQL logic error", + /* SQLITE_INTERNAL */ 0, + /* SQLITE_PERM */ "access permission denied", + /* SQLITE_ABORT */ "query aborted", + /* SQLITE_BUSY */ "database is locked", + /* SQLITE_LOCKED */ "database table is locked", + /* SQLITE_NOMEM */ "out of memory", + /* SQLITE_READONLY */ "attempt to write a readonly database", + /* SQLITE_INTERRUPT */ "interrupted", + /* SQLITE_IOERR */ "disk I/O error", + /* SQLITE_CORRUPT */ "database disk image is malformed", + /* SQLITE_NOTFOUND */ "unknown operation", + /* SQLITE_FULL */ "database or disk is full", + /* SQLITE_CANTOPEN */ "unable to open database file", + /* SQLITE_PROTOCOL */ "locking protocol", + /* SQLITE_EMPTY */ 0, + /* SQLITE_SCHEMA */ "database schema has changed", + /* SQLITE_TOOBIG */ "string or blob too big", + /* SQLITE_CONSTRAINT */ "constraint failed", + /* SQLITE_MISMATCH */ "datatype mismatch", + /* SQLITE_MISUSE */ "bad parameter or other API misuse", +#ifdef SQLITE_DISABLE_LFS + /* SQLITE_NOLFS */ "large file support is disabled", +#else + /* SQLITE_NOLFS */ 0, +#endif + /* SQLITE_AUTH */ "authorization denied", + /* SQLITE_FORMAT */ 0, + /* SQLITE_RANGE */ "column index out of range", + /* SQLITE_NOTADB */ "file is not a database", + /* SQLITE_NOTICE */ "notification message", + /* SQLITE_WARNING */ "warning message", + }; + const char *zErr = "unknown error"; + switch( rc ){ + case SQLITE_ABORT_ROLLBACK: { + zErr = "abort due to ROLLBACK"; + break; + } + case SQLITE_ROW: { + zErr = "another row available"; + break; + } + case SQLITE_DONE: { + zErr = "no more rows available"; + break; + } + default: { + rc &= 0xff; + if( ALWAYS(rc>=0) && rcbusyTimeout; + int delay, prior; + +#ifdef SQLITE_ENABLE_SETLK_TIMEOUT + if( sqlite3OsFileControl(pFile,SQLITE_FCNTL_LOCK_TIMEOUT,&tmout)==SQLITE_OK ){ + if( count ){ + tmout = 0; + sqlite3OsFileControl(pFile, SQLITE_FCNTL_LOCK_TIMEOUT, &tmout); + return 0; + }else{ + return 1; + } + } +#else + UNUSED_PARAMETER(pFile); +#endif + assert( count>=0 ); + if( count < NDELAY ){ + delay = delays[count]; + prior = totals[count]; + }else{ + delay = delays[NDELAY-1]; + prior = totals[NDELAY-1] + delay*(count-(NDELAY-1)); + } + if( prior + delay > tmout ){ + delay = tmout - prior; + if( delay<=0 ) return 0; + } + sqlite3OsSleep(db->pVfs, delay*1000); + return 1; +#else + /* This case for unix systems that lack usleep() support. Sleeping + ** must be done in increments of whole seconds */ + sqlite3 *db = (sqlite3 *)ptr; + int tmout = ((sqlite3 *)ptr)->busyTimeout; + UNUSED_PARAMETER(pFile); + if( (count+1)*1000 > tmout ){ + return 0; + } + sqlite3OsSleep(db->pVfs, 1000000); + return 1; +#endif +} + +/* +** Invoke the given busy handler. +** +** This routine is called when an operation failed to acquire a +** lock on VFS file pFile. +** +** If this routine returns non-zero, the lock is retried. If it +** returns 0, the operation aborts with an SQLITE_BUSY error. +*/ +SQLITE_PRIVATE int sqlite3InvokeBusyHandler(BusyHandler *p, sqlite3_file *pFile){ + int rc; + if( p->xBusyHandler==0 || p->nBusy<0 ) return 0; + if( p->bExtraFileArg ){ + /* Add an extra parameter with the pFile pointer to the end of the + ** callback argument list */ + int (*xTra)(void*,int,sqlite3_file*); + xTra = (int(*)(void*,int,sqlite3_file*))p->xBusyHandler; + rc = xTra(p->pBusyArg, p->nBusy, pFile); + }else{ + /* Legacy style busy handler callback */ + rc = p->xBusyHandler(p->pBusyArg, p->nBusy); + } + if( rc==0 ){ + p->nBusy = -1; + }else{ + p->nBusy++; + } + return rc; +} + +/* +** This routine sets the busy callback for an Sqlite database to the +** given callback function with the given argument. +*/ +SQLITE_API int sqlite3_busy_handler( + sqlite3 *db, + int (*xBusy)(void*,int), + void *pArg +){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(db->mutex); + db->busyHandler.xBusyHandler = xBusy; + db->busyHandler.pBusyArg = pArg; + db->busyHandler.nBusy = 0; + db->busyHandler.bExtraFileArg = 0; + db->busyTimeout = 0; + sqlite3_mutex_leave(db->mutex); + return SQLITE_OK; +} + +#ifndef SQLITE_OMIT_PROGRESS_CALLBACK +/* +** This routine sets the progress callback for an Sqlite database to the +** given callback function with the given argument. The progress callback will +** be invoked every nOps opcodes. +*/ +SQLITE_API void sqlite3_progress_handler( + sqlite3 *db, + int nOps, + int (*xProgress)(void*), + void *pArg +){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return; + } +#endif + sqlite3_mutex_enter(db->mutex); + if( nOps>0 ){ + db->xProgress = xProgress; + db->nProgressOps = (unsigned)nOps; + db->pProgressArg = pArg; + }else{ + db->xProgress = 0; + db->nProgressOps = 0; + db->pProgressArg = 0; + } + sqlite3_mutex_leave(db->mutex); +} +#endif + + +/* +** This routine installs a default busy handler that waits for the +** specified number of milliseconds before returning 0. +*/ +SQLITE_API int sqlite3_busy_timeout(sqlite3 *db, int ms){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + if( ms>0 ){ + sqlite3_busy_handler(db, (int(*)(void*,int))sqliteDefaultBusyCallback, + (void*)db); + db->busyTimeout = ms; + db->busyHandler.bExtraFileArg = 1; + }else{ + sqlite3_busy_handler(db, 0, 0); + } + return SQLITE_OK; +} + +/* +** Cause any pending operation to stop at its earliest opportunity. +*/ +SQLITE_API void sqlite3_interrupt(sqlite3 *db){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) && (db==0 || db->magic!=SQLITE_MAGIC_ZOMBIE) ){ + (void)SQLITE_MISUSE_BKPT; + return; + } +#endif + db->u1.isInterrupted = 1; +} + + +/* +** This function is exactly the same as sqlite3_create_function(), except +** that it is designed to be called by internal code. The difference is +** that if a malloc() fails in sqlite3_create_function(), an error code +** is returned and the mallocFailed flag cleared. +*/ +SQLITE_PRIVATE int sqlite3CreateFunc( + sqlite3 *db, + const char *zFunctionName, + int nArg, + int enc, + void *pUserData, + void (*xSFunc)(sqlite3_context*,int,sqlite3_value **), + void (*xStep)(sqlite3_context*,int,sqlite3_value **), + void (*xFinal)(sqlite3_context*), + void (*xValue)(sqlite3_context*), + void (*xInverse)(sqlite3_context*,int,sqlite3_value **), + FuncDestructor *pDestructor +){ + FuncDef *p; + int nName; + int extraFlags; + + assert( sqlite3_mutex_held(db->mutex) ); + assert( xValue==0 || xSFunc==0 ); + if( zFunctionName==0 /* Must have a valid name */ + || (xSFunc!=0 && xFinal!=0) /* Not both xSFunc and xFinal */ + || ((xFinal==0)!=(xStep==0)) /* Both or neither of xFinal and xStep */ + || ((xValue==0)!=(xInverse==0)) /* Both or neither of xValue, xInverse */ + || (nArg<-1 || nArg>SQLITE_MAX_FUNCTION_ARG) + || (255<(nName = sqlite3Strlen30( zFunctionName))) + ){ + return SQLITE_MISUSE_BKPT; + } + + assert( SQLITE_FUNC_CONSTANT==SQLITE_DETERMINISTIC ); + assert( SQLITE_FUNC_DIRECT==SQLITE_DIRECTONLY ); + extraFlags = enc & (SQLITE_DETERMINISTIC|SQLITE_DIRECTONLY|SQLITE_SUBTYPE); + enc &= (SQLITE_FUNC_ENCMASK|SQLITE_ANY); + +#ifndef SQLITE_OMIT_UTF16 + /* If SQLITE_UTF16 is specified as the encoding type, transform this + ** to one of SQLITE_UTF16LE or SQLITE_UTF16BE using the + ** SQLITE_UTF16NATIVE macro. SQLITE_UTF16 is not used internally. + ** + ** If SQLITE_ANY is specified, add three versions of the function + ** to the hash table. + */ + if( enc==SQLITE_UTF16 ){ + enc = SQLITE_UTF16NATIVE; + }else if( enc==SQLITE_ANY ){ + int rc; + rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8|extraFlags, + pUserData, xSFunc, xStep, xFinal, xValue, xInverse, pDestructor); + if( rc==SQLITE_OK ){ + rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF16LE|extraFlags, + pUserData, xSFunc, xStep, xFinal, xValue, xInverse, pDestructor); + } + if( rc!=SQLITE_OK ){ + return rc; + } + enc = SQLITE_UTF16BE; + } +#else + enc = SQLITE_UTF8; +#endif + + /* Check if an existing function is being overridden or deleted. If so, + ** and there are active VMs, then return SQLITE_BUSY. If a function + ** is being overridden/deleted but there are no active VMs, allow the + ** operation to continue but invalidate all precompiled statements. + */ + p = sqlite3FindFunction(db, zFunctionName, nArg, (u8)enc, 0); + if( p && (p->funcFlags & SQLITE_FUNC_ENCMASK)==(u32)enc && p->nArg==nArg ){ + if( db->nVdbeActive ){ + sqlite3ErrorWithMsg(db, SQLITE_BUSY, + "unable to delete/modify user-function due to active statements"); + assert( !db->mallocFailed ); + return SQLITE_BUSY; + }else{ + sqlite3ExpirePreparedStatements(db, 0); + } + } + + p = sqlite3FindFunction(db, zFunctionName, nArg, (u8)enc, 1); + assert(p || db->mallocFailed); + if( !p ){ + return SQLITE_NOMEM_BKPT; + } + + /* If an older version of the function with a configured destructor is + ** being replaced invoke the destructor function here. */ + functionDestroy(db, p); + + if( pDestructor ){ + pDestructor->nRef++; + } + p->u.pDestructor = pDestructor; + p->funcFlags = (p->funcFlags & SQLITE_FUNC_ENCMASK) | extraFlags; + testcase( p->funcFlags & SQLITE_DETERMINISTIC ); + testcase( p->funcFlags & SQLITE_DIRECTONLY ); + p->xSFunc = xSFunc ? xSFunc : xStep; + p->xFinalize = xFinal; + p->xValue = xValue; + p->xInverse = xInverse; + p->pUserData = pUserData; + p->nArg = (u16)nArg; + return SQLITE_OK; +} + +/* +** Worker function used by utf-8 APIs that create new functions: +** +** sqlite3_create_function() +** sqlite3_create_function_v2() +** sqlite3_create_window_function() +*/ +static int createFunctionApi( + sqlite3 *db, + const char *zFunc, + int nArg, + int enc, + void *p, + void (*xSFunc)(sqlite3_context*,int,sqlite3_value**), + void (*xStep)(sqlite3_context*,int,sqlite3_value**), + void (*xFinal)(sqlite3_context*), + void (*xValue)(sqlite3_context*), + void (*xInverse)(sqlite3_context*,int,sqlite3_value**), + void(*xDestroy)(void*) +){ + int rc = SQLITE_ERROR; + FuncDestructor *pArg = 0; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + return SQLITE_MISUSE_BKPT; + } +#endif + sqlite3_mutex_enter(db->mutex); + if( xDestroy ){ + pArg = (FuncDestructor *)sqlite3Malloc(sizeof(FuncDestructor)); + if( !pArg ){ + sqlite3OomFault(db); + xDestroy(p); + goto out; + } + pArg->nRef = 0; + pArg->xDestroy = xDestroy; + pArg->pUserData = p; + } + rc = sqlite3CreateFunc(db, zFunc, nArg, enc, p, + xSFunc, xStep, xFinal, xValue, xInverse, pArg + ); + if( pArg && pArg->nRef==0 ){ + assert( rc!=SQLITE_OK ); + xDestroy(p); + sqlite3_free(pArg); + } + + out: + rc = sqlite3ApiExit(db, rc); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +/* +** Create new user functions. +*/ +SQLITE_API int sqlite3_create_function( + sqlite3 *db, + const char *zFunc, + int nArg, + int enc, + void *p, + void (*xSFunc)(sqlite3_context*,int,sqlite3_value **), + void (*xStep)(sqlite3_context*,int,sqlite3_value **), + void (*xFinal)(sqlite3_context*) +){ + return createFunctionApi(db, zFunc, nArg, enc, p, xSFunc, xStep, + xFinal, 0, 0, 0); +} +SQLITE_API int sqlite3_create_function_v2( + sqlite3 *db, + const char *zFunc, + int nArg, + int enc, + void *p, + void (*xSFunc)(sqlite3_context*,int,sqlite3_value **), + void (*xStep)(sqlite3_context*,int,sqlite3_value **), + void (*xFinal)(sqlite3_context*), + void (*xDestroy)(void *) +){ + return createFunctionApi(db, zFunc, nArg, enc, p, xSFunc, xStep, + xFinal, 0, 0, xDestroy); +} +SQLITE_API int sqlite3_create_window_function( + sqlite3 *db, + const char *zFunc, + int nArg, + int enc, + void *p, + void (*xStep)(sqlite3_context*,int,sqlite3_value **), + void (*xFinal)(sqlite3_context*), + void (*xValue)(sqlite3_context*), + void (*xInverse)(sqlite3_context*,int,sqlite3_value **), + void (*xDestroy)(void *) +){ + return createFunctionApi(db, zFunc, nArg, enc, p, 0, xStep, + xFinal, xValue, xInverse, xDestroy); +} + +#ifndef SQLITE_OMIT_UTF16 +SQLITE_API int sqlite3_create_function16( + sqlite3 *db, + const void *zFunctionName, + int nArg, + int eTextRep, + void *p, + void (*xSFunc)(sqlite3_context*,int,sqlite3_value**), + void (*xStep)(sqlite3_context*,int,sqlite3_value**), + void (*xFinal)(sqlite3_context*) +){ + int rc; + char *zFunc8; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) || zFunctionName==0 ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(db->mutex); + assert( !db->mallocFailed ); + zFunc8 = sqlite3Utf16to8(db, zFunctionName, -1, SQLITE_UTF16NATIVE); + rc = sqlite3CreateFunc(db, zFunc8, nArg, eTextRep, p, xSFunc,xStep,xFinal,0,0,0); + sqlite3DbFree(db, zFunc8); + rc = sqlite3ApiExit(db, rc); + sqlite3_mutex_leave(db->mutex); + return rc; +} +#endif + + +/* +** The following is the implementation of an SQL function that always +** fails with an error message stating that the function is used in the +** wrong context. The sqlite3_overload_function() API might construct +** SQL function that use this routine so that the functions will exist +** for name resolution but are actually overloaded by the xFindFunction +** method of virtual tables. +*/ +static void sqlite3InvalidFunction( + sqlite3_context *context, /* The function calling context */ + int NotUsed, /* Number of arguments to the function */ + sqlite3_value **NotUsed2 /* Value of each argument */ +){ + const char *zName = (const char*)sqlite3_user_data(context); + char *zErr; + UNUSED_PARAMETER2(NotUsed, NotUsed2); + zErr = sqlite3_mprintf( + "unable to use function %s in the requested context", zName); + sqlite3_result_error(context, zErr, -1); + sqlite3_free(zErr); +} + +/* +** Declare that a function has been overloaded by a virtual table. +** +** If the function already exists as a regular global function, then +** this routine is a no-op. If the function does not exist, then create +** a new one that always throws a run-time error. +** +** When virtual tables intend to provide an overloaded function, they +** should call this routine to make sure the global function exists. +** A global function must exist in order for name resolution to work +** properly. +*/ +SQLITE_API int sqlite3_overload_function( + sqlite3 *db, + const char *zName, + int nArg +){ + int rc; + char *zCopy; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) || zName==0 || nArg<-2 ){ + return SQLITE_MISUSE_BKPT; + } +#endif + sqlite3_mutex_enter(db->mutex); + rc = sqlite3FindFunction(db, zName, nArg, SQLITE_UTF8, 0)!=0; + sqlite3_mutex_leave(db->mutex); + if( rc ) return SQLITE_OK; + zCopy = sqlite3_mprintf(zName); + if( zCopy==0 ) return SQLITE_NOMEM; + return sqlite3_create_function_v2(db, zName, nArg, SQLITE_UTF8, + zCopy, sqlite3InvalidFunction, 0, 0, sqlite3_free); +} + +#ifndef SQLITE_OMIT_TRACE +/* +** Register a trace function. The pArg from the previously registered trace +** is returned. +** +** A NULL trace function means that no tracing is executes. A non-NULL +** trace is a pointer to a function that is invoked at the start of each +** SQL statement. +*/ +#ifndef SQLITE_OMIT_DEPRECATED +SQLITE_API void *sqlite3_trace(sqlite3 *db, void(*xTrace)(void*,const char*), void *pArg){ + void *pOld; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + sqlite3_mutex_enter(db->mutex); + pOld = db->pTraceArg; + db->mTrace = xTrace ? SQLITE_TRACE_LEGACY : 0; + db->xTrace = (int(*)(u32,void*,void*,void*))xTrace; + db->pTraceArg = pArg; + sqlite3_mutex_leave(db->mutex); + return pOld; +} +#endif /* SQLITE_OMIT_DEPRECATED */ + +/* Register a trace callback using the version-2 interface. +*/ +SQLITE_API int sqlite3_trace_v2( + sqlite3 *db, /* Trace this connection */ + unsigned mTrace, /* Mask of events to be traced */ + int(*xTrace)(unsigned,void*,void*,void*), /* Callback to invoke */ + void *pArg /* Context */ +){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + return SQLITE_MISUSE_BKPT; + } +#endif + sqlite3_mutex_enter(db->mutex); + if( mTrace==0 ) xTrace = 0; + if( xTrace==0 ) mTrace = 0; + db->mTrace = mTrace; + db->xTrace = xTrace; + db->pTraceArg = pArg; + sqlite3_mutex_leave(db->mutex); + return SQLITE_OK; +} + +#ifndef SQLITE_OMIT_DEPRECATED +/* +** Register a profile function. The pArg from the previously registered +** profile function is returned. +** +** A NULL profile function means that no profiling is executes. A non-NULL +** profile is a pointer to a function that is invoked at the conclusion of +** each SQL statement that is run. +*/ +SQLITE_API void *sqlite3_profile( + sqlite3 *db, + void (*xProfile)(void*,const char*,sqlite_uint64), + void *pArg +){ + void *pOld; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + sqlite3_mutex_enter(db->mutex); + pOld = db->pProfileArg; + db->xProfile = xProfile; + db->pProfileArg = pArg; + db->mTrace &= SQLITE_TRACE_NONLEGACY_MASK; + if( db->xProfile ) db->mTrace |= SQLITE_TRACE_XPROFILE; + sqlite3_mutex_leave(db->mutex); + return pOld; +} +#endif /* SQLITE_OMIT_DEPRECATED */ +#endif /* SQLITE_OMIT_TRACE */ + +/* +** Register a function to be invoked when a transaction commits. +** If the invoked function returns non-zero, then the commit becomes a +** rollback. +*/ +SQLITE_API void *sqlite3_commit_hook( + sqlite3 *db, /* Attach the hook to this database */ + int (*xCallback)(void*), /* Function to invoke on each commit */ + void *pArg /* Argument to the function */ +){ + void *pOld; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + sqlite3_mutex_enter(db->mutex); + pOld = db->pCommitArg; + db->xCommitCallback = xCallback; + db->pCommitArg = pArg; + sqlite3_mutex_leave(db->mutex); + return pOld; +} + +/* +** Register a callback to be invoked each time a row is updated, +** inserted or deleted using this database connection. +*/ +SQLITE_API void *sqlite3_update_hook( + sqlite3 *db, /* Attach the hook to this database */ + void (*xCallback)(void*,int,char const *,char const *,sqlite_int64), + void *pArg /* Argument to the function */ +){ + void *pRet; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + sqlite3_mutex_enter(db->mutex); + pRet = db->pUpdateArg; + db->xUpdateCallback = xCallback; + db->pUpdateArg = pArg; + sqlite3_mutex_leave(db->mutex); + return pRet; +} + +/* +** Register a callback to be invoked each time a transaction is rolled +** back by this database connection. +*/ +SQLITE_API void *sqlite3_rollback_hook( + sqlite3 *db, /* Attach the hook to this database */ + void (*xCallback)(void*), /* Callback function */ + void *pArg /* Argument to the function */ +){ + void *pRet; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + sqlite3_mutex_enter(db->mutex); + pRet = db->pRollbackArg; + db->xRollbackCallback = xCallback; + db->pRollbackArg = pArg; + sqlite3_mutex_leave(db->mutex); + return pRet; +} + +#ifdef SQLITE_ENABLE_PREUPDATE_HOOK +/* +** Register a callback to be invoked each time a row is updated, +** inserted or deleted using this database connection. +*/ +SQLITE_API void *sqlite3_preupdate_hook( + sqlite3 *db, /* Attach the hook to this database */ + void(*xCallback)( /* Callback function */ + void*,sqlite3*,int,char const*,char const*,sqlite3_int64,sqlite3_int64), + void *pArg /* First callback argument */ +){ + void *pRet; + sqlite3_mutex_enter(db->mutex); + pRet = db->pPreUpdateArg; + db->xPreUpdateCallback = xCallback; + db->pPreUpdateArg = pArg; + sqlite3_mutex_leave(db->mutex); + return pRet; +} +#endif /* SQLITE_ENABLE_PREUPDATE_HOOK */ + +#ifndef SQLITE_OMIT_WAL +/* +** The sqlite3_wal_hook() callback registered by sqlite3_wal_autocheckpoint(). +** Invoke sqlite3_wal_checkpoint if the number of frames in the log file +** is greater than sqlite3.pWalArg cast to an integer (the value configured by +** wal_autocheckpoint()). +*/ +SQLITE_PRIVATE int sqlite3WalDefaultHook( + void *pClientData, /* Argument */ + sqlite3 *db, /* Connection */ + const char *zDb, /* Database */ + int nFrame /* Size of WAL */ +){ + if( nFrame>=SQLITE_PTR_TO_INT(pClientData) ){ + sqlite3BeginBenignMalloc(); + sqlite3_wal_checkpoint(db, zDb); + sqlite3EndBenignMalloc(); + } + return SQLITE_OK; +} +#endif /* SQLITE_OMIT_WAL */ + +/* +** Configure an sqlite3_wal_hook() callback to automatically checkpoint +** a database after committing a transaction if there are nFrame or +** more frames in the log file. Passing zero or a negative value as the +** nFrame parameter disables automatic checkpoints entirely. +** +** The callback registered by this function replaces any existing callback +** registered using sqlite3_wal_hook(). Likewise, registering a callback +** using sqlite3_wal_hook() disables the automatic checkpoint mechanism +** configured by this function. +*/ +SQLITE_API int sqlite3_wal_autocheckpoint(sqlite3 *db, int nFrame){ +#ifdef SQLITE_OMIT_WAL + UNUSED_PARAMETER(db); + UNUSED_PARAMETER(nFrame); +#else +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + if( nFrame>0 ){ + sqlite3_wal_hook(db, sqlite3WalDefaultHook, SQLITE_INT_TO_PTR(nFrame)); + }else{ + sqlite3_wal_hook(db, 0, 0); + } +#endif + return SQLITE_OK; +} + +/* +** Register a callback to be invoked each time a transaction is written +** into the write-ahead-log by this database connection. +*/ +SQLITE_API void *sqlite3_wal_hook( + sqlite3 *db, /* Attach the hook to this db handle */ + int(*xCallback)(void *, sqlite3*, const char*, int), + void *pArg /* First argument passed to xCallback() */ +){ +#ifndef SQLITE_OMIT_WAL + void *pRet; +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + sqlite3_mutex_enter(db->mutex); + pRet = db->pWalArg; + db->xWalCallback = xCallback; + db->pWalArg = pArg; + sqlite3_mutex_leave(db->mutex); + return pRet; +#else + return 0; +#endif +} + +/* +** Checkpoint database zDb. +*/ +SQLITE_API int sqlite3_wal_checkpoint_v2( + sqlite3 *db, /* Database handle */ + const char *zDb, /* Name of attached database (or NULL) */ + int eMode, /* SQLITE_CHECKPOINT_* value */ + int *pnLog, /* OUT: Size of WAL log in frames */ + int *pnCkpt /* OUT: Total number of frames checkpointed */ +){ +#ifdef SQLITE_OMIT_WAL + return SQLITE_OK; +#else + int rc; /* Return code */ + int iDb = SQLITE_MAX_ATTACHED; /* sqlite3.aDb[] index of db to checkpoint */ + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + + /* Initialize the output variables to -1 in case an error occurs. */ + if( pnLog ) *pnLog = -1; + if( pnCkpt ) *pnCkpt = -1; + + assert( SQLITE_CHECKPOINT_PASSIVE==0 ); + assert( SQLITE_CHECKPOINT_FULL==1 ); + assert( SQLITE_CHECKPOINT_RESTART==2 ); + assert( SQLITE_CHECKPOINT_TRUNCATE==3 ); + if( eModeSQLITE_CHECKPOINT_TRUNCATE ){ + /* EVIDENCE-OF: R-03996-12088 The M parameter must be a valid checkpoint + ** mode: */ + return SQLITE_MISUSE; + } + + sqlite3_mutex_enter(db->mutex); + if( zDb && zDb[0] ){ + iDb = sqlite3FindDbName(db, zDb); + } + if( iDb<0 ){ + rc = SQLITE_ERROR; + sqlite3ErrorWithMsg(db, SQLITE_ERROR, "unknown database: %s", zDb); + }else{ + db->busyHandler.nBusy = 0; + rc = sqlite3Checkpoint(db, iDb, eMode, pnLog, pnCkpt); + sqlite3Error(db, rc); + } + rc = sqlite3ApiExit(db, rc); + + /* If there are no active statements, clear the interrupt flag at this + ** point. */ + if( db->nVdbeActive==0 ){ + db->u1.isInterrupted = 0; + } + + sqlite3_mutex_leave(db->mutex); + return rc; +#endif +} + + +/* +** Checkpoint database zDb. If zDb is NULL, or if the buffer zDb points +** to contains a zero-length string, all attached databases are +** checkpointed. +*/ +SQLITE_API int sqlite3_wal_checkpoint(sqlite3 *db, const char *zDb){ + /* EVIDENCE-OF: R-41613-20553 The sqlite3_wal_checkpoint(D,X) is equivalent to + ** sqlite3_wal_checkpoint_v2(D,X,SQLITE_CHECKPOINT_PASSIVE,0,0). */ + return sqlite3_wal_checkpoint_v2(db,zDb,SQLITE_CHECKPOINT_PASSIVE,0,0); +} + +#ifndef SQLITE_OMIT_WAL +/* +** Run a checkpoint on database iDb. This is a no-op if database iDb is +** not currently open in WAL mode. +** +** If a transaction is open on the database being checkpointed, this +** function returns SQLITE_LOCKED and a checkpoint is not attempted. If +** an error occurs while running the checkpoint, an SQLite error code is +** returned (i.e. SQLITE_IOERR). Otherwise, SQLITE_OK. +** +** The mutex on database handle db should be held by the caller. The mutex +** associated with the specific b-tree being checkpointed is taken by +** this function while the checkpoint is running. +** +** If iDb is passed SQLITE_MAX_ATTACHED, then all attached databases are +** checkpointed. If an error is encountered it is returned immediately - +** no attempt is made to checkpoint any remaining databases. +** +** Parameter eMode is one of SQLITE_CHECKPOINT_PASSIVE, FULL, RESTART +** or TRUNCATE. +*/ +SQLITE_PRIVATE int sqlite3Checkpoint(sqlite3 *db, int iDb, int eMode, int *pnLog, int *pnCkpt){ + int rc = SQLITE_OK; /* Return code */ + int i; /* Used to iterate through attached dbs */ + int bBusy = 0; /* True if SQLITE_BUSY has been encountered */ + + assert( sqlite3_mutex_held(db->mutex) ); + assert( !pnLog || *pnLog==-1 ); + assert( !pnCkpt || *pnCkpt==-1 ); + + for(i=0; inDb && rc==SQLITE_OK; i++){ + if( i==iDb || iDb==SQLITE_MAX_ATTACHED ){ + rc = sqlite3BtreeCheckpoint(db->aDb[i].pBt, eMode, pnLog, pnCkpt); + pnLog = 0; + pnCkpt = 0; + if( rc==SQLITE_BUSY ){ + bBusy = 1; + rc = SQLITE_OK; + } + } + } + + return (rc==SQLITE_OK && bBusy) ? SQLITE_BUSY : rc; +} +#endif /* SQLITE_OMIT_WAL */ + +/* +** This function returns true if main-memory should be used instead of +** a temporary file for transient pager files and statement journals. +** The value returned depends on the value of db->temp_store (runtime +** parameter) and the compile time value of SQLITE_TEMP_STORE. The +** following table describes the relationship between these two values +** and this functions return value. +** +** SQLITE_TEMP_STORE db->temp_store Location of temporary database +** ----------------- -------------- ------------------------------ +** 0 any file (return 0) +** 1 1 file (return 0) +** 1 2 memory (return 1) +** 1 0 file (return 0) +** 2 1 file (return 0) +** 2 2 memory (return 1) +** 2 0 memory (return 1) +** 3 any memory (return 1) +*/ +SQLITE_PRIVATE int sqlite3TempInMemory(const sqlite3 *db){ +#if SQLITE_TEMP_STORE==1 + return ( db->temp_store==2 ); +#endif +#if SQLITE_TEMP_STORE==2 + return ( db->temp_store!=1 ); +#endif +#if SQLITE_TEMP_STORE==3 + UNUSED_PARAMETER(db); + return 1; +#endif +#if SQLITE_TEMP_STORE<1 || SQLITE_TEMP_STORE>3 + UNUSED_PARAMETER(db); + return 0; +#endif +} + +/* +** Return UTF-8 encoded English language explanation of the most recent +** error. +*/ +SQLITE_API const char *sqlite3_errmsg(sqlite3 *db){ + const char *z; + if( !db ){ + return sqlite3ErrStr(SQLITE_NOMEM_BKPT); + } + if( !sqlite3SafetyCheckSickOrOk(db) ){ + return sqlite3ErrStr(SQLITE_MISUSE_BKPT); + } + sqlite3_mutex_enter(db->mutex); + if( db->mallocFailed ){ + z = sqlite3ErrStr(SQLITE_NOMEM_BKPT); + }else{ + testcase( db->pErr==0 ); + z = db->errCode ? (char*)sqlite3_value_text(db->pErr) : 0; + assert( !db->mallocFailed ); + if( z==0 ){ + z = sqlite3ErrStr(db->errCode); + } + } + sqlite3_mutex_leave(db->mutex); + return z; +} + +#ifndef SQLITE_OMIT_UTF16 +/* +** Return UTF-16 encoded English language explanation of the most recent +** error. +*/ +SQLITE_API const void *sqlite3_errmsg16(sqlite3 *db){ + static const u16 outOfMem[] = { + 'o', 'u', 't', ' ', 'o', 'f', ' ', 'm', 'e', 'm', 'o', 'r', 'y', 0 + }; + static const u16 misuse[] = { + 'b', 'a', 'd', ' ', 'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', ' ', + 'o', 'r', ' ', 'o', 't', 'h', 'e', 'r', ' ', 'A', 'P', 'I', ' ', + 'm', 'i', 's', 'u', 's', 'e', 0 + }; + + const void *z; + if( !db ){ + return (void *)outOfMem; + } + if( !sqlite3SafetyCheckSickOrOk(db) ){ + return (void *)misuse; + } + sqlite3_mutex_enter(db->mutex); + if( db->mallocFailed ){ + z = (void *)outOfMem; + }else{ + z = sqlite3_value_text16(db->pErr); + if( z==0 ){ + sqlite3ErrorWithMsg(db, db->errCode, sqlite3ErrStr(db->errCode)); + z = sqlite3_value_text16(db->pErr); + } + /* A malloc() may have failed within the call to sqlite3_value_text16() + ** above. If this is the case, then the db->mallocFailed flag needs to + ** be cleared before returning. Do this directly, instead of via + ** sqlite3ApiExit(), to avoid setting the database handle error message. + */ + sqlite3OomClear(db); + } + sqlite3_mutex_leave(db->mutex); + return z; +} +#endif /* SQLITE_OMIT_UTF16 */ + +/* +** Return the most recent error code generated by an SQLite routine. If NULL is +** passed to this function, we assume a malloc() failed during sqlite3_open(). +*/ +SQLITE_API int sqlite3_errcode(sqlite3 *db){ + if( db && !sqlite3SafetyCheckSickOrOk(db) ){ + return SQLITE_MISUSE_BKPT; + } + if( !db || db->mallocFailed ){ + return SQLITE_NOMEM_BKPT; + } + return db->errCode & db->errMask; +} +SQLITE_API int sqlite3_extended_errcode(sqlite3 *db){ + if( db && !sqlite3SafetyCheckSickOrOk(db) ){ + return SQLITE_MISUSE_BKPT; + } + if( !db || db->mallocFailed ){ + return SQLITE_NOMEM_BKPT; + } + return db->errCode; +} +SQLITE_API int sqlite3_system_errno(sqlite3 *db){ + return db ? db->iSysErrno : 0; +} + +/* +** Return a string that describes the kind of error specified in the +** argument. For now, this simply calls the internal sqlite3ErrStr() +** function. +*/ +SQLITE_API const char *sqlite3_errstr(int rc){ + return sqlite3ErrStr(rc); +} + +/* +** Create a new collating function for database "db". The name is zName +** and the encoding is enc. +*/ +static int createCollation( + sqlite3* db, + const char *zName, + u8 enc, + void* pCtx, + int(*xCompare)(void*,int,const void*,int,const void*), + void(*xDel)(void*) +){ + CollSeq *pColl; + int enc2; + + assert( sqlite3_mutex_held(db->mutex) ); + + /* If SQLITE_UTF16 is specified as the encoding type, transform this + ** to one of SQLITE_UTF16LE or SQLITE_UTF16BE using the + ** SQLITE_UTF16NATIVE macro. SQLITE_UTF16 is not used internally. + */ + enc2 = enc; + testcase( enc2==SQLITE_UTF16 ); + testcase( enc2==SQLITE_UTF16_ALIGNED ); + if( enc2==SQLITE_UTF16 || enc2==SQLITE_UTF16_ALIGNED ){ + enc2 = SQLITE_UTF16NATIVE; + } + if( enc2SQLITE_UTF16BE ){ + return SQLITE_MISUSE_BKPT; + } + + /* Check if this call is removing or replacing an existing collation + ** sequence. If so, and there are active VMs, return busy. If there + ** are no active VMs, invalidate any pre-compiled statements. + */ + pColl = sqlite3FindCollSeq(db, (u8)enc2, zName, 0); + if( pColl && pColl->xCmp ){ + if( db->nVdbeActive ){ + sqlite3ErrorWithMsg(db, SQLITE_BUSY, + "unable to delete/modify collation sequence due to active statements"); + return SQLITE_BUSY; + } + sqlite3ExpirePreparedStatements(db, 0); + + /* If collation sequence pColl was created directly by a call to + ** sqlite3_create_collation, and not generated by synthCollSeq(), + ** then any copies made by synthCollSeq() need to be invalidated. + ** Also, collation destructor - CollSeq.xDel() - function may need + ** to be called. + */ + if( (pColl->enc & ~SQLITE_UTF16_ALIGNED)==enc2 ){ + CollSeq *aColl = sqlite3HashFind(&db->aCollSeq, zName); + int j; + for(j=0; j<3; j++){ + CollSeq *p = &aColl[j]; + if( p->enc==pColl->enc ){ + if( p->xDel ){ + p->xDel(p->pUser); + } + p->xCmp = 0; + } + } + } + } + + pColl = sqlite3FindCollSeq(db, (u8)enc2, zName, 1); + if( pColl==0 ) return SQLITE_NOMEM_BKPT; + pColl->xCmp = xCompare; + pColl->pUser = pCtx; + pColl->xDel = xDel; + pColl->enc = (u8)(enc2 | (enc & SQLITE_UTF16_ALIGNED)); + sqlite3Error(db, SQLITE_OK); + return SQLITE_OK; +} + + +/* +** This array defines hard upper bounds on limit values. The +** initializer must be kept in sync with the SQLITE_LIMIT_* +** #defines in sqlite3.h. +*/ +static const int aHardLimit[] = { + SQLITE_MAX_LENGTH, + SQLITE_MAX_SQL_LENGTH, + SQLITE_MAX_COLUMN, + SQLITE_MAX_EXPR_DEPTH, + SQLITE_MAX_COMPOUND_SELECT, + SQLITE_MAX_VDBE_OP, + SQLITE_MAX_FUNCTION_ARG, + SQLITE_MAX_ATTACHED, + SQLITE_MAX_LIKE_PATTERN_LENGTH, + SQLITE_MAX_VARIABLE_NUMBER, /* IMP: R-38091-32352 */ + SQLITE_MAX_TRIGGER_DEPTH, + SQLITE_MAX_WORKER_THREADS, +}; + +/* +** Make sure the hard limits are set to reasonable values +*/ +#if SQLITE_MAX_LENGTH<100 +# error SQLITE_MAX_LENGTH must be at least 100 +#endif +#if SQLITE_MAX_SQL_LENGTH<100 +# error SQLITE_MAX_SQL_LENGTH must be at least 100 +#endif +#if SQLITE_MAX_SQL_LENGTH>SQLITE_MAX_LENGTH +# error SQLITE_MAX_SQL_LENGTH must not be greater than SQLITE_MAX_LENGTH +#endif +#if SQLITE_MAX_COMPOUND_SELECT<2 +# error SQLITE_MAX_COMPOUND_SELECT must be at least 2 +#endif +#if SQLITE_MAX_VDBE_OP<40 +# error SQLITE_MAX_VDBE_OP must be at least 40 +#endif +#if SQLITE_MAX_FUNCTION_ARG<0 || SQLITE_MAX_FUNCTION_ARG>127 +# error SQLITE_MAX_FUNCTION_ARG must be between 0 and 127 +#endif +#if SQLITE_MAX_ATTACHED<0 || SQLITE_MAX_ATTACHED>125 +# error SQLITE_MAX_ATTACHED must be between 0 and 125 +#endif +#if SQLITE_MAX_LIKE_PATTERN_LENGTH<1 +# error SQLITE_MAX_LIKE_PATTERN_LENGTH must be at least 1 +#endif +#if SQLITE_MAX_COLUMN>32767 +# error SQLITE_MAX_COLUMN must not exceed 32767 +#endif +#if SQLITE_MAX_TRIGGER_DEPTH<1 +# error SQLITE_MAX_TRIGGER_DEPTH must be at least 1 +#endif +#if SQLITE_MAX_WORKER_THREADS<0 || SQLITE_MAX_WORKER_THREADS>50 +# error SQLITE_MAX_WORKER_THREADS must be between 0 and 50 +#endif + + +/* +** Change the value of a limit. Report the old value. +** If an invalid limit index is supplied, report -1. +** Make no changes but still report the old value if the +** new limit is negative. +** +** A new lower limit does not shrink existing constructs. +** It merely prevents new constructs that exceed the limit +** from forming. +*/ +SQLITE_API int sqlite3_limit(sqlite3 *db, int limitId, int newLimit){ + int oldLimit; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return -1; + } +#endif + + /* EVIDENCE-OF: R-30189-54097 For each limit category SQLITE_LIMIT_NAME + ** there is a hard upper bound set at compile-time by a C preprocessor + ** macro called SQLITE_MAX_NAME. (The "_LIMIT_" in the name is changed to + ** "_MAX_".) + */ + assert( aHardLimit[SQLITE_LIMIT_LENGTH]==SQLITE_MAX_LENGTH ); + assert( aHardLimit[SQLITE_LIMIT_SQL_LENGTH]==SQLITE_MAX_SQL_LENGTH ); + assert( aHardLimit[SQLITE_LIMIT_COLUMN]==SQLITE_MAX_COLUMN ); + assert( aHardLimit[SQLITE_LIMIT_EXPR_DEPTH]==SQLITE_MAX_EXPR_DEPTH ); + assert( aHardLimit[SQLITE_LIMIT_COMPOUND_SELECT]==SQLITE_MAX_COMPOUND_SELECT); + assert( aHardLimit[SQLITE_LIMIT_VDBE_OP]==SQLITE_MAX_VDBE_OP ); + assert( aHardLimit[SQLITE_LIMIT_FUNCTION_ARG]==SQLITE_MAX_FUNCTION_ARG ); + assert( aHardLimit[SQLITE_LIMIT_ATTACHED]==SQLITE_MAX_ATTACHED ); + assert( aHardLimit[SQLITE_LIMIT_LIKE_PATTERN_LENGTH]== + SQLITE_MAX_LIKE_PATTERN_LENGTH ); + assert( aHardLimit[SQLITE_LIMIT_VARIABLE_NUMBER]==SQLITE_MAX_VARIABLE_NUMBER); + assert( aHardLimit[SQLITE_LIMIT_TRIGGER_DEPTH]==SQLITE_MAX_TRIGGER_DEPTH ); + assert( aHardLimit[SQLITE_LIMIT_WORKER_THREADS]==SQLITE_MAX_WORKER_THREADS ); + assert( SQLITE_LIMIT_WORKER_THREADS==(SQLITE_N_LIMIT-1) ); + + + if( limitId<0 || limitId>=SQLITE_N_LIMIT ){ + return -1; + } + oldLimit = db->aLimit[limitId]; + if( newLimit>=0 ){ /* IMP: R-52476-28732 */ + if( newLimit>aHardLimit[limitId] ){ + newLimit = aHardLimit[limitId]; /* IMP: R-51463-25634 */ + } + db->aLimit[limitId] = newLimit; + } + return oldLimit; /* IMP: R-53341-35419 */ +} + +/* +** This function is used to parse both URIs and non-URI filenames passed by the +** user to API functions sqlite3_open() or sqlite3_open_v2(), and for database +** URIs specified as part of ATTACH statements. +** +** The first argument to this function is the name of the VFS to use (or +** a NULL to signify the default VFS) if the URI does not contain a "vfs=xxx" +** query parameter. The second argument contains the URI (or non-URI filename) +** itself. When this function is called the *pFlags variable should contain +** the default flags to open the database handle with. The value stored in +** *pFlags may be updated before returning if the URI filename contains +** "cache=xxx" or "mode=xxx" query parameters. +** +** If successful, SQLITE_OK is returned. In this case *ppVfs is set to point to +** the VFS that should be used to open the database file. *pzFile is set to +** point to a buffer containing the name of the file to open. It is the +** responsibility of the caller to eventually call sqlite3_free() to release +** this buffer. +** +** If an error occurs, then an SQLite error code is returned and *pzErrMsg +** may be set to point to a buffer containing an English language error +** message. It is the responsibility of the caller to eventually release +** this buffer by calling sqlite3_free(). +*/ +SQLITE_PRIVATE int sqlite3ParseUri( + const char *zDefaultVfs, /* VFS to use if no "vfs=xxx" query option */ + const char *zUri, /* Nul-terminated URI to parse */ + unsigned int *pFlags, /* IN/OUT: SQLITE_OPEN_XXX flags */ + sqlite3_vfs **ppVfs, /* OUT: VFS to use */ + char **pzFile, /* OUT: Filename component of URI */ + char **pzErrMsg /* OUT: Error message (if rc!=SQLITE_OK) */ +){ + int rc = SQLITE_OK; + unsigned int flags = *pFlags; + const char *zVfs = zDefaultVfs; + char *zFile; + char c; + int nUri = sqlite3Strlen30(zUri); + + assert( *pzErrMsg==0 ); + + if( ((flags & SQLITE_OPEN_URI) /* IMP: R-48725-32206 */ + || sqlite3GlobalConfig.bOpenUri) /* IMP: R-51689-46548 */ + && nUri>=5 && memcmp(zUri, "file:", 5)==0 /* IMP: R-57884-37496 */ + ){ + char *zOpt; + int eState; /* Parser state when parsing URI */ + int iIn; /* Input character index */ + int iOut = 0; /* Output character index */ + u64 nByte = nUri+2; /* Bytes of space to allocate */ + + /* Make sure the SQLITE_OPEN_URI flag is set to indicate to the VFS xOpen + ** method that there may be extra parameters following the file-name. */ + flags |= SQLITE_OPEN_URI; + + for(iIn=0; iIn=0 && octet<256 ); + if( octet==0 ){ +#ifndef SQLITE_ENABLE_URI_00_ERROR + /* This branch is taken when "%00" appears within the URI. In this + ** case we ignore all text in the remainder of the path, name or + ** value currently being parsed. So ignore the current character + ** and skip to the next "?", "=" or "&", as appropriate. */ + while( (c = zUri[iIn])!=0 && c!='#' + && (eState!=0 || c!='?') + && (eState!=1 || (c!='=' && c!='&')) + && (eState!=2 || c!='&') + ){ + iIn++; + } + continue; +#else + /* If ENABLE_URI_00_ERROR is defined, "%00" in a URI is an error. */ + *pzErrMsg = sqlite3_mprintf("unexpected %%00 in uri"); + rc = SQLITE_ERROR; + goto parse_uri_out; +#endif + } + c = octet; + }else if( eState==1 && (c=='&' || c=='=') ){ + if( zFile[iOut-1]==0 ){ + /* An empty option name. Ignore this option altogether. */ + while( zUri[iIn] && zUri[iIn]!='#' && zUri[iIn-1]!='&' ) iIn++; + continue; + } + if( c=='&' ){ + zFile[iOut++] = '\0'; + }else{ + eState = 2; + } + c = 0; + }else if( (eState==0 && c=='?') || (eState==2 && c=='&') ){ + c = 0; + eState = 1; + } + zFile[iOut++] = c; + } + if( eState==1 ) zFile[iOut++] = '\0'; + zFile[iOut++] = '\0'; + zFile[iOut++] = '\0'; + + /* Check if there were any options specified that should be interpreted + ** here. Options that are interpreted here include "vfs" and those that + ** correspond to flags that may be passed to the sqlite3_open_v2() + ** method. */ + zOpt = &zFile[sqlite3Strlen30(zFile)+1]; + while( zOpt[0] ){ + int nOpt = sqlite3Strlen30(zOpt); + char *zVal = &zOpt[nOpt+1]; + int nVal = sqlite3Strlen30(zVal); + + if( nOpt==3 && memcmp("vfs", zOpt, 3)==0 ){ + zVfs = zVal; + }else{ + struct OpenMode { + const char *z; + int mode; + } *aMode = 0; + char *zModeType = 0; + int mask = 0; + int limit = 0; + + if( nOpt==5 && memcmp("cache", zOpt, 5)==0 ){ + static struct OpenMode aCacheMode[] = { + { "shared", SQLITE_OPEN_SHAREDCACHE }, + { "private", SQLITE_OPEN_PRIVATECACHE }, + { 0, 0 } + }; + + mask = SQLITE_OPEN_SHAREDCACHE|SQLITE_OPEN_PRIVATECACHE; + aMode = aCacheMode; + limit = mask; + zModeType = "cache"; + } + if( nOpt==4 && memcmp("mode", zOpt, 4)==0 ){ + static struct OpenMode aOpenMode[] = { + { "ro", SQLITE_OPEN_READONLY }, + { "rw", SQLITE_OPEN_READWRITE }, + { "rwc", SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE }, + { "memory", SQLITE_OPEN_MEMORY }, + { 0, 0 } + }; + + mask = SQLITE_OPEN_READONLY | SQLITE_OPEN_READWRITE + | SQLITE_OPEN_CREATE | SQLITE_OPEN_MEMORY; + aMode = aOpenMode; + limit = mask & flags; + zModeType = "access"; + } + + if( aMode ){ + int i; + int mode = 0; + for(i=0; aMode[i].z; i++){ + const char *z = aMode[i].z; + if( nVal==sqlite3Strlen30(z) && 0==memcmp(zVal, z, nVal) ){ + mode = aMode[i].mode; + break; + } + } + if( mode==0 ){ + *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal); + rc = SQLITE_ERROR; + goto parse_uri_out; + } + if( (mode & ~SQLITE_OPEN_MEMORY)>limit ){ + *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s", + zModeType, zVal); + rc = SQLITE_PERM; + goto parse_uri_out; + } + flags = (flags & ~mask) | mode; + } + } + + zOpt = &zVal[nVal+1]; + } + + }else{ + zFile = sqlite3_malloc64(nUri+2); + if( !zFile ) return SQLITE_NOMEM_BKPT; + if( nUri ){ + memcpy(zFile, zUri, nUri); + } + zFile[nUri] = '\0'; + zFile[nUri+1] = '\0'; + flags &= ~SQLITE_OPEN_URI; + } + + *ppVfs = sqlite3_vfs_find(zVfs); + if( *ppVfs==0 ){ + *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs); + rc = SQLITE_ERROR; + } + parse_uri_out: + if( rc!=SQLITE_OK ){ + sqlite3_free(zFile); + zFile = 0; + } + *pFlags = flags; + *pzFile = zFile; + return rc; +} + +#if defined(SQLITE_HAS_CODEC) +/* +** Process URI filename query parameters relevant to the SQLite Encryption +** Extension. Return true if any of the relevant query parameters are +** seen and return false if not. +*/ +SQLITE_PRIVATE int sqlite3CodecQueryParameters( + sqlite3 *db, /* Database connection */ + const char *zDb, /* Which schema is being created/attached */ + const char *zUri /* URI filename */ +){ + const char *zKey; + if( (zKey = sqlite3_uri_parameter(zUri, "hexkey"))!=0 && zKey[0] ){ + u8 iByte; + int i; + char zDecoded[40]; + for(i=0, iByte=0; imutex = sqlite3MutexAlloc(SQLITE_MUTEX_RECURSIVE); + if( db->mutex==0 ){ + sqlite3_free(db); + db = 0; + goto opendb_out; + } + if( isThreadsafe==0 ){ + sqlite3MutexWarnOnContention(db->mutex); + } + } + sqlite3_mutex_enter(db->mutex); + db->errMask = 0xff; + db->nDb = 2; + db->magic = SQLITE_MAGIC_BUSY; + db->aDb = db->aDbStatic; + db->lookaside.bDisable = 1; + + assert( sizeof(db->aLimit)==sizeof(aHardLimit) ); + memcpy(db->aLimit, aHardLimit, sizeof(db->aLimit)); + db->aLimit[SQLITE_LIMIT_WORKER_THREADS] = SQLITE_DEFAULT_WORKER_THREADS; + db->autoCommit = 1; + db->nextAutovac = -1; + db->szMmap = sqlite3GlobalConfig.szMmap; + db->nextPagesize = 0; + db->nMaxSorterMmap = 0x7FFFFFFF; + db->flags |= SQLITE_ShortColNames + | SQLITE_EnableTrigger + | SQLITE_EnableView + | SQLITE_CacheSpill + +/* The SQLITE_DQS compile-time option determines the default settings +** for SQLITE_DBCONFIG_DQS_DDL and SQLITE_DBCONFIG_DQS_DML. +** +** SQLITE_DQS SQLITE_DBCONFIG_DQS_DDL SQLITE_DBCONFIG_DQS_DML +** ---------- ----------------------- ----------------------- +** undefined on on +** 3 on on +** 2 on off +** 1 off on +** 0 off off +** +** Legacy behavior is 3 (double-quoted string literals are allowed anywhere) +** and so that is the default. But developers are encouranged to use +** -DSQLITE_DQS=0 (best) or -DSQLITE_DQS=1 (second choice) if possible. +*/ +#if !defined(SQLITE_DQS) +# define SQLITE_DQS 3 +#endif +#if (SQLITE_DQS&1)==1 + | SQLITE_DqsDML +#endif +#if (SQLITE_DQS&2)==2 + | SQLITE_DqsDDL +#endif + +#if !defined(SQLITE_DEFAULT_AUTOMATIC_INDEX) || SQLITE_DEFAULT_AUTOMATIC_INDEX + | SQLITE_AutoIndex +#endif +#if SQLITE_DEFAULT_CKPTFULLFSYNC + | SQLITE_CkptFullFSync +#endif +#if SQLITE_DEFAULT_FILE_FORMAT<4 + | SQLITE_LegacyFileFmt +#endif +#ifdef SQLITE_ENABLE_LOAD_EXTENSION + | SQLITE_LoadExtension +#endif +#if SQLITE_DEFAULT_RECURSIVE_TRIGGERS + | SQLITE_RecTriggers +#endif +#if defined(SQLITE_DEFAULT_FOREIGN_KEYS) && SQLITE_DEFAULT_FOREIGN_KEYS + | SQLITE_ForeignKeys +#endif +#if defined(SQLITE_REVERSE_UNORDERED_SELECTS) + | SQLITE_ReverseOrder +#endif +#if defined(SQLITE_ENABLE_OVERSIZE_CELL_CHECK) + | SQLITE_CellSizeCk +#endif +#if defined(SQLITE_ENABLE_FTS3_TOKENIZER) + | SQLITE_Fts3Tokenizer +#endif +#if defined(SQLITE_ENABLE_QPSG) + | SQLITE_EnableQPSG +#endif +#if defined(SQLITE_DEFAULT_DEFENSIVE) + | SQLITE_Defensive +#endif + ; + sqlite3HashInit(&db->aCollSeq); +#ifndef SQLITE_OMIT_VIRTUALTABLE + sqlite3HashInit(&db->aModule); +#endif + + /* Add the default collation sequence BINARY. BINARY works for both UTF-8 + ** and UTF-16, so add a version for each to avoid any unnecessary + ** conversions. The only error that can occur here is a malloc() failure. + ** + ** EVIDENCE-OF: R-52786-44878 SQLite defines three built-in collating + ** functions: + */ + createCollation(db, sqlite3StrBINARY, SQLITE_UTF8, 0, binCollFunc, 0); + createCollation(db, sqlite3StrBINARY, SQLITE_UTF16BE, 0, binCollFunc, 0); + createCollation(db, sqlite3StrBINARY, SQLITE_UTF16LE, 0, binCollFunc, 0); + createCollation(db, "NOCASE", SQLITE_UTF8, 0, nocaseCollatingFunc, 0); + createCollation(db, "RTRIM", SQLITE_UTF8, 0, rtrimCollFunc, 0); + if( db->mallocFailed ){ + goto opendb_out; + } + /* EVIDENCE-OF: R-08308-17224 The default collating function for all + ** strings is BINARY. + */ + db->pDfltColl = sqlite3FindCollSeq(db, SQLITE_UTF8, sqlite3StrBINARY, 0); + assert( db->pDfltColl!=0 ); + + /* Parse the filename/URI argument + ** + ** Only allow sensible combinations of bits in the flags argument. + ** Throw an error if any non-sense combination is used. If we + ** do not block illegal combinations here, it could trigger + ** assert() statements in deeper layers. Sensible combinations + ** are: + ** + ** 1: SQLITE_OPEN_READONLY + ** 2: SQLITE_OPEN_READWRITE + ** 6: SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE + */ + db->openFlags = flags; + assert( SQLITE_OPEN_READONLY == 0x01 ); + assert( SQLITE_OPEN_READWRITE == 0x02 ); + assert( SQLITE_OPEN_CREATE == 0x04 ); + testcase( (1<<(flags&7))==0x02 ); /* READONLY */ + testcase( (1<<(flags&7))==0x04 ); /* READWRITE */ + testcase( (1<<(flags&7))==0x40 ); /* READWRITE | CREATE */ + if( ((1<<(flags&7)) & 0x46)==0 ){ + rc = SQLITE_MISUSE_BKPT; /* IMP: R-65497-44594 */ + }else{ + rc = sqlite3ParseUri(zVfs, zFilename, &flags, &db->pVfs, &zOpen, &zErrMsg); + } + if( rc!=SQLITE_OK ){ + if( rc==SQLITE_NOMEM ) sqlite3OomFault(db); + sqlite3ErrorWithMsg(db, rc, zErrMsg ? "%s" : 0, zErrMsg); + sqlite3_free(zErrMsg); + goto opendb_out; + } + + /* Open the backend database driver */ + rc = sqlite3BtreeOpen(db->pVfs, zOpen, db, &db->aDb[0].pBt, 0, + flags | SQLITE_OPEN_MAIN_DB); + if( rc!=SQLITE_OK ){ + if( rc==SQLITE_IOERR_NOMEM ){ + rc = SQLITE_NOMEM_BKPT; + } + sqlite3Error(db, rc); + goto opendb_out; + } + sqlite3BtreeEnter(db->aDb[0].pBt); + db->aDb[0].pSchema = sqlite3SchemaGet(db, db->aDb[0].pBt); + if( !db->mallocFailed ) ENC(db) = SCHEMA_ENC(db); + sqlite3BtreeLeave(db->aDb[0].pBt); + db->aDb[1].pSchema = sqlite3SchemaGet(db, 0); + + /* The default safety_level for the main database is FULL; for the temp + ** database it is OFF. This matches the pager layer defaults. + */ + db->aDb[0].zDbSName = "main"; + db->aDb[0].safety_level = SQLITE_DEFAULT_SYNCHRONOUS+1; + db->aDb[1].zDbSName = "temp"; + db->aDb[1].safety_level = PAGER_SYNCHRONOUS_OFF; + + db->magic = SQLITE_MAGIC_OPEN; + if( db->mallocFailed ){ + goto opendb_out; + } + + /* Register all built-in functions, but do not attempt to read the + ** database schema yet. This is delayed until the first time the database + ** is accessed. + */ + sqlite3Error(db, SQLITE_OK); + sqlite3RegisterPerConnectionBuiltinFunctions(db); + rc = sqlite3_errcode(db); + +#ifdef SQLITE_ENABLE_FTS5 + /* Register any built-in FTS5 module before loading the automatic + ** extensions. This allows automatic extensions to register FTS5 + ** tokenizers and auxiliary functions. */ + if( !db->mallocFailed && rc==SQLITE_OK ){ + rc = sqlite3Fts5Init(db); + } +#endif + + /* Load automatic extensions - extensions that have been registered + ** using the sqlite3_automatic_extension() API. + */ + if( rc==SQLITE_OK ){ + sqlite3AutoLoadExtensions(db); + rc = sqlite3_errcode(db); + if( rc!=SQLITE_OK ){ + goto opendb_out; + } + } + +#ifdef SQLITE_ENABLE_FTS1 + if( !db->mallocFailed ){ + extern int sqlite3Fts1Init(sqlite3*); + rc = sqlite3Fts1Init(db); + } +#endif + +#ifdef SQLITE_ENABLE_FTS2 + if( !db->mallocFailed && rc==SQLITE_OK ){ + extern int sqlite3Fts2Init(sqlite3*); + rc = sqlite3Fts2Init(db); + } +#endif + +#ifdef SQLITE_ENABLE_FTS3 /* automatically defined by SQLITE_ENABLE_FTS4 */ + if( !db->mallocFailed && rc==SQLITE_OK ){ + rc = sqlite3Fts3Init(db); + } +#endif + +#if defined(SQLITE_ENABLE_ICU) || defined(SQLITE_ENABLE_ICU_COLLATIONS) + if( !db->mallocFailed && rc==SQLITE_OK ){ + rc = sqlite3IcuInit(db); + } +#endif + +#ifdef SQLITE_ENABLE_RTREE + if( !db->mallocFailed && rc==SQLITE_OK){ + rc = sqlite3RtreeInit(db); + } +#endif + +#ifdef SQLITE_ENABLE_DBPAGE_VTAB + if( !db->mallocFailed && rc==SQLITE_OK){ + rc = sqlite3DbpageRegister(db); + } +#endif + +#ifdef SQLITE_ENABLE_DBSTAT_VTAB + if( !db->mallocFailed && rc==SQLITE_OK){ + rc = sqlite3DbstatRegister(db); + } +#endif + +#ifdef SQLITE_ENABLE_JSON1 + if( !db->mallocFailed && rc==SQLITE_OK){ + rc = sqlite3Json1Init(db); + } +#endif + +#ifdef SQLITE_ENABLE_STMTVTAB + if( !db->mallocFailed && rc==SQLITE_OK){ + rc = sqlite3StmtVtabInit(db); + } +#endif + + /* -DSQLITE_DEFAULT_LOCKING_MODE=1 makes EXCLUSIVE the default locking + ** mode. -DSQLITE_DEFAULT_LOCKING_MODE=0 make NORMAL the default locking + ** mode. Doing nothing at all also makes NORMAL the default. + */ +#ifdef SQLITE_DEFAULT_LOCKING_MODE + db->dfltLockMode = SQLITE_DEFAULT_LOCKING_MODE; + sqlite3PagerLockingMode(sqlite3BtreePager(db->aDb[0].pBt), + SQLITE_DEFAULT_LOCKING_MODE); +#endif + + if( rc ) sqlite3Error(db, rc); + + /* Enable the lookaside-malloc subsystem */ + setupLookaside(db, 0, sqlite3GlobalConfig.szLookaside, + sqlite3GlobalConfig.nLookaside); + + sqlite3_wal_autocheckpoint(db, SQLITE_DEFAULT_WAL_AUTOCHECKPOINT); + +opendb_out: + if( db ){ + assert( db->mutex!=0 || isThreadsafe==0 + || sqlite3GlobalConfig.bFullMutex==0 ); + sqlite3_mutex_leave(db->mutex); + } + rc = sqlite3_errcode(db); + assert( db!=0 || rc==SQLITE_NOMEM ); + if( rc==SQLITE_NOMEM ){ + sqlite3_close(db); + db = 0; + }else if( rc!=SQLITE_OK ){ + db->magic = SQLITE_MAGIC_SICK; + } + *ppDb = db; +#ifdef SQLITE_ENABLE_SQLLOG + if( sqlite3GlobalConfig.xSqllog ){ + /* Opening a db handle. Fourth parameter is passed 0. */ + void *pArg = sqlite3GlobalConfig.pSqllogArg; + sqlite3GlobalConfig.xSqllog(pArg, db, zFilename, 0); + } +#endif +#if defined(SQLITE_HAS_CODEC) + if( rc==SQLITE_OK ) sqlite3CodecQueryParameters(db, 0, zOpen); +#endif + sqlite3_free(zOpen); + return rc & 0xff; +} + + +/* +** Open a new database handle. +*/ +SQLITE_API int sqlite3_open( + const char *zFilename, + sqlite3 **ppDb +){ + return openDatabase(zFilename, ppDb, + SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, 0); +} +SQLITE_API int sqlite3_open_v2( + const char *filename, /* Database filename (UTF-8) */ + sqlite3 **ppDb, /* OUT: SQLite db handle */ + int flags, /* Flags */ + const char *zVfs /* Name of VFS module to use */ +){ + return openDatabase(filename, ppDb, (unsigned int)flags, zVfs); +} + +#ifndef SQLITE_OMIT_UTF16 +/* +** Open a new database handle. +*/ +SQLITE_API int sqlite3_open16( + const void *zFilename, + sqlite3 **ppDb +){ + char const *zFilename8; /* zFilename encoded in UTF-8 instead of UTF-16 */ + sqlite3_value *pVal; + int rc; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( ppDb==0 ) return SQLITE_MISUSE_BKPT; +#endif + *ppDb = 0; +#ifndef SQLITE_OMIT_AUTOINIT + rc = sqlite3_initialize(); + if( rc ) return rc; +#endif + if( zFilename==0 ) zFilename = "\000\000"; + pVal = sqlite3ValueNew(0); + sqlite3ValueSetStr(pVal, -1, zFilename, SQLITE_UTF16NATIVE, SQLITE_STATIC); + zFilename8 = sqlite3ValueText(pVal, SQLITE_UTF8); + if( zFilename8 ){ + rc = openDatabase(zFilename8, ppDb, + SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, 0); + assert( *ppDb || rc==SQLITE_NOMEM ); + if( rc==SQLITE_OK && !DbHasProperty(*ppDb, 0, DB_SchemaLoaded) ){ + SCHEMA_ENC(*ppDb) = ENC(*ppDb) = SQLITE_UTF16NATIVE; + } + }else{ + rc = SQLITE_NOMEM_BKPT; + } + sqlite3ValueFree(pVal); + + return rc & 0xff; +} +#endif /* SQLITE_OMIT_UTF16 */ + +/* +** Register a new collation sequence with the database handle db. +*/ +SQLITE_API int sqlite3_create_collation( + sqlite3* db, + const char *zName, + int enc, + void* pCtx, + int(*xCompare)(void*,int,const void*,int,const void*) +){ + return sqlite3_create_collation_v2(db, zName, enc, pCtx, xCompare, 0); +} + +/* +** Register a new collation sequence with the database handle db. +*/ +SQLITE_API int sqlite3_create_collation_v2( + sqlite3* db, + const char *zName, + int enc, + void* pCtx, + int(*xCompare)(void*,int,const void*,int,const void*), + void(*xDel)(void*) +){ + int rc; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) || zName==0 ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(db->mutex); + assert( !db->mallocFailed ); + rc = createCollation(db, zName, (u8)enc, pCtx, xCompare, xDel); + rc = sqlite3ApiExit(db, rc); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +#ifndef SQLITE_OMIT_UTF16 +/* +** Register a new collation sequence with the database handle db. +*/ +SQLITE_API int sqlite3_create_collation16( + sqlite3* db, + const void *zName, + int enc, + void* pCtx, + int(*xCompare)(void*,int,const void*,int,const void*) +){ + int rc = SQLITE_OK; + char *zName8; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) || zName==0 ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(db->mutex); + assert( !db->mallocFailed ); + zName8 = sqlite3Utf16to8(db, zName, -1, SQLITE_UTF16NATIVE); + if( zName8 ){ + rc = createCollation(db, zName8, (u8)enc, pCtx, xCompare, 0); + sqlite3DbFree(db, zName8); + } + rc = sqlite3ApiExit(db, rc); + sqlite3_mutex_leave(db->mutex); + return rc; +} +#endif /* SQLITE_OMIT_UTF16 */ + +/* +** Register a collation sequence factory callback with the database handle +** db. Replace any previously installed collation sequence factory. +*/ +SQLITE_API int sqlite3_collation_needed( + sqlite3 *db, + void *pCollNeededArg, + void(*xCollNeeded)(void*,sqlite3*,int eTextRep,const char*) +){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(db->mutex); + db->xCollNeeded = xCollNeeded; + db->xCollNeeded16 = 0; + db->pCollNeededArg = pCollNeededArg; + sqlite3_mutex_leave(db->mutex); + return SQLITE_OK; +} + +#ifndef SQLITE_OMIT_UTF16 +/* +** Register a collation sequence factory callback with the database handle +** db. Replace any previously installed collation sequence factory. +*/ +SQLITE_API int sqlite3_collation_needed16( + sqlite3 *db, + void *pCollNeededArg, + void(*xCollNeeded16)(void*,sqlite3*,int eTextRep,const void*) +){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(db->mutex); + db->xCollNeeded = 0; + db->xCollNeeded16 = xCollNeeded16; + db->pCollNeededArg = pCollNeededArg; + sqlite3_mutex_leave(db->mutex); + return SQLITE_OK; +} +#endif /* SQLITE_OMIT_UTF16 */ + +#ifndef SQLITE_OMIT_DEPRECATED +/* +** This function is now an anachronism. It used to be used to recover from a +** malloc() failure, but SQLite now does this automatically. +*/ +SQLITE_API int sqlite3_global_recover(void){ + return SQLITE_OK; +} +#endif + +/* +** Test to see whether or not the database connection is in autocommit +** mode. Return TRUE if it is and FALSE if not. Autocommit mode is on +** by default. Autocommit is disabled by a BEGIN statement and reenabled +** by the next COMMIT or ROLLBACK. +*/ +SQLITE_API int sqlite3_get_autocommit(sqlite3 *db){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + return db->autoCommit; +} + +/* +** The following routines are substitutes for constants SQLITE_CORRUPT, +** SQLITE_MISUSE, SQLITE_CANTOPEN, SQLITE_NOMEM and possibly other error +** constants. They serve two purposes: +** +** 1. Serve as a convenient place to set a breakpoint in a debugger +** to detect when version error conditions occurs. +** +** 2. Invoke sqlite3_log() to provide the source code location where +** a low-level error is first detected. +*/ +SQLITE_PRIVATE int sqlite3ReportError(int iErr, int lineno, const char *zType){ + sqlite3_log(iErr, "%s at line %d of [%.10s]", + zType, lineno, 20+sqlite3_sourceid()); + return iErr; +} +SQLITE_PRIVATE int sqlite3CorruptError(int lineno){ + testcase( sqlite3GlobalConfig.xLog!=0 ); + return sqlite3ReportError(SQLITE_CORRUPT, lineno, "database corruption"); +} +SQLITE_PRIVATE int sqlite3MisuseError(int lineno){ + testcase( sqlite3GlobalConfig.xLog!=0 ); + return sqlite3ReportError(SQLITE_MISUSE, lineno, "misuse"); +} +SQLITE_PRIVATE int sqlite3CantopenError(int lineno){ + testcase( sqlite3GlobalConfig.xLog!=0 ); + return sqlite3ReportError(SQLITE_CANTOPEN, lineno, "cannot open file"); +} +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE int sqlite3CorruptPgnoError(int lineno, Pgno pgno){ + char zMsg[100]; + sqlite3_snprintf(sizeof(zMsg), zMsg, "database corruption page %d", pgno); + testcase( sqlite3GlobalConfig.xLog!=0 ); + return sqlite3ReportError(SQLITE_CORRUPT, lineno, zMsg); +} +SQLITE_PRIVATE int sqlite3NomemError(int lineno){ + testcase( sqlite3GlobalConfig.xLog!=0 ); + return sqlite3ReportError(SQLITE_NOMEM, lineno, "OOM"); +} +SQLITE_PRIVATE int sqlite3IoerrnomemError(int lineno){ + testcase( sqlite3GlobalConfig.xLog!=0 ); + return sqlite3ReportError(SQLITE_IOERR_NOMEM, lineno, "I/O OOM error"); +} +#endif + +#ifndef SQLITE_OMIT_DEPRECATED +/* +** This is a convenience routine that makes sure that all thread-specific +** data for this thread has been deallocated. +** +** SQLite no longer uses thread-specific data so this routine is now a +** no-op. It is retained for historical compatibility. +*/ +SQLITE_API void sqlite3_thread_cleanup(void){ +} +#endif + +/* +** Return meta information about a specific column of a database table. +** See comment in sqlite3.h (sqlite.h.in) for details. +*/ +SQLITE_API int sqlite3_table_column_metadata( + sqlite3 *db, /* Connection handle */ + const char *zDbName, /* Database name or NULL */ + const char *zTableName, /* Table name */ + const char *zColumnName, /* Column name */ + char const **pzDataType, /* OUTPUT: Declared data type */ + char const **pzCollSeq, /* OUTPUT: Collation sequence name */ + int *pNotNull, /* OUTPUT: True if NOT NULL constraint exists */ + int *pPrimaryKey, /* OUTPUT: True if column part of PK */ + int *pAutoinc /* OUTPUT: True if column is auto-increment */ +){ + int rc; + char *zErrMsg = 0; + Table *pTab = 0; + Column *pCol = 0; + int iCol = 0; + char const *zDataType = 0; + char const *zCollSeq = 0; + int notnull = 0; + int primarykey = 0; + int autoinc = 0; + + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) || zTableName==0 ){ + return SQLITE_MISUSE_BKPT; + } +#endif + + /* Ensure the database schema has been loaded */ + sqlite3_mutex_enter(db->mutex); + sqlite3BtreeEnterAll(db); + rc = sqlite3Init(db, &zErrMsg); + if( SQLITE_OK!=rc ){ + goto error_out; + } + + /* Locate the table in question */ + pTab = sqlite3FindTable(db, zTableName, zDbName); + if( !pTab || pTab->pSelect ){ + pTab = 0; + goto error_out; + } + + /* Find the column for which info is requested */ + if( zColumnName==0 ){ + /* Query for existance of table only */ + }else{ + for(iCol=0; iColnCol; iCol++){ + pCol = &pTab->aCol[iCol]; + if( 0==sqlite3StrICmp(pCol->zName, zColumnName) ){ + break; + } + } + if( iCol==pTab->nCol ){ + if( HasRowid(pTab) && sqlite3IsRowid(zColumnName) ){ + iCol = pTab->iPKey; + pCol = iCol>=0 ? &pTab->aCol[iCol] : 0; + }else{ + pTab = 0; + goto error_out; + } + } + } + + /* The following block stores the meta information that will be returned + ** to the caller in local variables zDataType, zCollSeq, notnull, primarykey + ** and autoinc. At this point there are two possibilities: + ** + ** 1. The specified column name was rowid", "oid" or "_rowid_" + ** and there is no explicitly declared IPK column. + ** + ** 2. The table is not a view and the column name identified an + ** explicitly declared column. Copy meta information from *pCol. + */ + if( pCol ){ + zDataType = sqlite3ColumnType(pCol,0); + zCollSeq = pCol->zColl; + notnull = pCol->notNull!=0; + primarykey = (pCol->colFlags & COLFLAG_PRIMKEY)!=0; + autoinc = pTab->iPKey==iCol && (pTab->tabFlags & TF_Autoincrement)!=0; + }else{ + zDataType = "INTEGER"; + primarykey = 1; + } + if( !zCollSeq ){ + zCollSeq = sqlite3StrBINARY; + } + +error_out: + sqlite3BtreeLeaveAll(db); + + /* Whether the function call succeeded or failed, set the output parameters + ** to whatever their local counterparts contain. If an error did occur, + ** this has the effect of zeroing all output parameters. + */ + if( pzDataType ) *pzDataType = zDataType; + if( pzCollSeq ) *pzCollSeq = zCollSeq; + if( pNotNull ) *pNotNull = notnull; + if( pPrimaryKey ) *pPrimaryKey = primarykey; + if( pAutoinc ) *pAutoinc = autoinc; + + if( SQLITE_OK==rc && !pTab ){ + sqlite3DbFree(db, zErrMsg); + zErrMsg = sqlite3MPrintf(db, "no such table column: %s.%s", zTableName, + zColumnName); + rc = SQLITE_ERROR; + } + sqlite3ErrorWithMsg(db, rc, (zErrMsg?"%s":0), zErrMsg); + sqlite3DbFree(db, zErrMsg); + rc = sqlite3ApiExit(db, rc); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +/* +** Sleep for a little while. Return the amount of time slept. +*/ +SQLITE_API int sqlite3_sleep(int ms){ + sqlite3_vfs *pVfs; + int rc; + pVfs = sqlite3_vfs_find(0); + if( pVfs==0 ) return 0; + + /* This function works in milliseconds, but the underlying OsSleep() + ** API uses microseconds. Hence the 1000's. + */ + rc = (sqlite3OsSleep(pVfs, 1000*ms)/1000); + return rc; +} + +/* +** Enable or disable the extended result codes. +*/ +SQLITE_API int sqlite3_extended_result_codes(sqlite3 *db, int onoff){ +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(db->mutex); + db->errMask = onoff ? 0xffffffff : 0xff; + sqlite3_mutex_leave(db->mutex); + return SQLITE_OK; +} + +/* +** Invoke the xFileControl method on a particular database. +*/ +SQLITE_API int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){ + int rc = SQLITE_ERROR; + Btree *pBtree; + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT; +#endif + sqlite3_mutex_enter(db->mutex); + pBtree = sqlite3DbNameToBtree(db, zDbName); + if( pBtree ){ + Pager *pPager; + sqlite3_file *fd; + sqlite3BtreeEnter(pBtree); + pPager = sqlite3BtreePager(pBtree); + assert( pPager!=0 ); + fd = sqlite3PagerFile(pPager); + assert( fd!=0 ); + if( op==SQLITE_FCNTL_FILE_POINTER ){ + *(sqlite3_file**)pArg = fd; + rc = SQLITE_OK; + }else if( op==SQLITE_FCNTL_VFS_POINTER ){ + *(sqlite3_vfs**)pArg = sqlite3PagerVfs(pPager); + rc = SQLITE_OK; + }else if( op==SQLITE_FCNTL_JOURNAL_POINTER ){ + *(sqlite3_file**)pArg = sqlite3PagerJrnlFile(pPager); + rc = SQLITE_OK; + }else if( op==SQLITE_FCNTL_DATA_VERSION ){ + *(unsigned int*)pArg = sqlite3PagerDataVersion(pPager); + rc = SQLITE_OK; + }else{ + rc = sqlite3OsFileControl(fd, op, pArg); + } + sqlite3BtreeLeave(pBtree); + } + sqlite3_mutex_leave(db->mutex); + return rc; +} + +/* +** Interface to the testing logic. +*/ +SQLITE_API int sqlite3_test_control(int op, ...){ + int rc = 0; +#ifdef SQLITE_UNTESTABLE + UNUSED_PARAMETER(op); +#else + va_list ap; + va_start(ap, op); + switch( op ){ + + /* + ** Save the current state of the PRNG. + */ + case SQLITE_TESTCTRL_PRNG_SAVE: { + sqlite3PrngSaveState(); + break; + } + + /* + ** Restore the state of the PRNG to the last state saved using + ** PRNG_SAVE. If PRNG_SAVE has never before been called, then + ** this verb acts like PRNG_RESET. + */ + case SQLITE_TESTCTRL_PRNG_RESTORE: { + sqlite3PrngRestoreState(); + break; + } + + /* sqlite3_test_control(SQLITE_TESTCTRL_PRNG_SEED, int x, sqlite3 *db); + ** + ** Control the seed for the pseudo-random number generator (PRNG) that + ** is built into SQLite. Cases: + ** + ** x!=0 && db!=0 Seed the PRNG to the current value of the + ** schema cookie in the main database for db, or + ** x if the schema cookie is zero. This case + ** is convenient to use with database fuzzers + ** as it allows the fuzzer some control over the + ** the PRNG seed. + ** + ** x!=0 && db==0 Seed the PRNG to the value of x. + ** + ** x==0 && db==0 Revert to default behavior of using the + ** xRandomness method on the primary VFS. + ** + ** This test-control also resets the PRNG so that the new seed will + ** be used for the next call to sqlite3_randomness(). + */ + case SQLITE_TESTCTRL_PRNG_SEED: { + int x = va_arg(ap, int); + int y; + sqlite3 *db = va_arg(ap, sqlite3*); + assert( db==0 || db->aDb[0].pSchema!=0 ); + if( db && (y = db->aDb[0].pSchema->schema_cookie)!=0 ){ x = y; } + sqlite3Config.iPrngSeed = x; + sqlite3_randomness(0,0); + break; + } + + /* + ** sqlite3_test_control(BITVEC_TEST, size, program) + ** + ** Run a test against a Bitvec object of size. The program argument + ** is an array of integers that defines the test. Return -1 on a + ** memory allocation error, 0 on success, or non-zero for an error. + ** See the sqlite3BitvecBuiltinTest() for additional information. + */ + case SQLITE_TESTCTRL_BITVEC_TEST: { + int sz = va_arg(ap, int); + int *aProg = va_arg(ap, int*); + rc = sqlite3BitvecBuiltinTest(sz, aProg); + break; + } + + /* + ** sqlite3_test_control(FAULT_INSTALL, xCallback) + ** + ** Arrange to invoke xCallback() whenever sqlite3FaultSim() is called, + ** if xCallback is not NULL. + ** + ** As a test of the fault simulator mechanism itself, sqlite3FaultSim(0) + ** is called immediately after installing the new callback and the return + ** value from sqlite3FaultSim(0) becomes the return from + ** sqlite3_test_control(). + */ + case SQLITE_TESTCTRL_FAULT_INSTALL: { + /* MSVC is picky about pulling func ptrs from va lists. + ** http://support.microsoft.com/kb/47961 + ** sqlite3GlobalConfig.xTestCallback = va_arg(ap, int(*)(int)); + */ + typedef int(*TESTCALLBACKFUNC_t)(int); + sqlite3GlobalConfig.xTestCallback = va_arg(ap, TESTCALLBACKFUNC_t); + rc = sqlite3FaultSim(0); + break; + } + + /* + ** sqlite3_test_control(BENIGN_MALLOC_HOOKS, xBegin, xEnd) + ** + ** Register hooks to call to indicate which malloc() failures + ** are benign. + */ + case SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS: { + typedef void (*void_function)(void); + void_function xBenignBegin; + void_function xBenignEnd; + xBenignBegin = va_arg(ap, void_function); + xBenignEnd = va_arg(ap, void_function); + sqlite3BenignMallocHooks(xBenignBegin, xBenignEnd); + break; + } + + /* + ** sqlite3_test_control(SQLITE_TESTCTRL_PENDING_BYTE, unsigned int X) + ** + ** Set the PENDING byte to the value in the argument, if X>0. + ** Make no changes if X==0. Return the value of the pending byte + ** as it existing before this routine was called. + ** + ** IMPORTANT: Changing the PENDING byte from 0x40000000 results in + ** an incompatible database file format. Changing the PENDING byte + ** while any database connection is open results in undefined and + ** deleterious behavior. + */ + case SQLITE_TESTCTRL_PENDING_BYTE: { + rc = PENDING_BYTE; +#ifndef SQLITE_OMIT_WSD + { + unsigned int newVal = va_arg(ap, unsigned int); + if( newVal ) sqlite3PendingByte = newVal; + } +#endif + break; + } + + /* + ** sqlite3_test_control(SQLITE_TESTCTRL_ASSERT, int X) + ** + ** This action provides a run-time test to see whether or not + ** assert() was enabled at compile-time. If X is true and assert() + ** is enabled, then the return value is true. If X is true and + ** assert() is disabled, then the return value is zero. If X is + ** false and assert() is enabled, then the assertion fires and the + ** process aborts. If X is false and assert() is disabled, then the + ** return value is zero. + */ + case SQLITE_TESTCTRL_ASSERT: { + volatile int x = 0; + assert( /*side-effects-ok*/ (x = va_arg(ap,int))!=0 ); + rc = x; + break; + } + + + /* + ** sqlite3_test_control(SQLITE_TESTCTRL_ALWAYS, int X) + ** + ** This action provides a run-time test to see how the ALWAYS and + ** NEVER macros were defined at compile-time. + ** + ** The return value is ALWAYS(X) if X is true, or 0 if X is false. + ** + ** The recommended test is X==2. If the return value is 2, that means + ** ALWAYS() and NEVER() are both no-op pass-through macros, which is the + ** default setting. If the return value is 1, then ALWAYS() is either + ** hard-coded to true or else it asserts if its argument is false. + ** The first behavior (hard-coded to true) is the case if + ** SQLITE_TESTCTRL_ASSERT shows that assert() is disabled and the second + ** behavior (assert if the argument to ALWAYS() is false) is the case if + ** SQLITE_TESTCTRL_ASSERT shows that assert() is enabled. + ** + ** The run-time test procedure might look something like this: + ** + ** if( sqlite3_test_control(SQLITE_TESTCTRL_ALWAYS, 2)==2 ){ + ** // ALWAYS() and NEVER() are no-op pass-through macros + ** }else if( sqlite3_test_control(SQLITE_TESTCTRL_ASSERT, 1) ){ + ** // ALWAYS(x) asserts that x is true. NEVER(x) asserts x is false. + ** }else{ + ** // ALWAYS(x) is a constant 1. NEVER(x) is a constant 0. + ** } + */ + case SQLITE_TESTCTRL_ALWAYS: { + int x = va_arg(ap,int); + rc = x ? ALWAYS(x) : 0; + break; + } + + /* + ** sqlite3_test_control(SQLITE_TESTCTRL_BYTEORDER); + ** + ** The integer returned reveals the byte-order of the computer on which + ** SQLite is running: + ** + ** 1 big-endian, determined at run-time + ** 10 little-endian, determined at run-time + ** 432101 big-endian, determined at compile-time + ** 123410 little-endian, determined at compile-time + */ + case SQLITE_TESTCTRL_BYTEORDER: { + rc = SQLITE_BYTEORDER*100 + SQLITE_LITTLEENDIAN*10 + SQLITE_BIGENDIAN; + break; + } + + /* sqlite3_test_control(SQLITE_TESTCTRL_RESERVE, sqlite3 *db, int N) + ** + ** Set the nReserve size to N for the main database on the database + ** connection db. + */ + case SQLITE_TESTCTRL_RESERVE: { + sqlite3 *db = va_arg(ap, sqlite3*); + int x = va_arg(ap,int); + sqlite3_mutex_enter(db->mutex); + sqlite3BtreeSetPageSize(db->aDb[0].pBt, 0, x, 0); + sqlite3_mutex_leave(db->mutex); + break; + } + + /* sqlite3_test_control(SQLITE_TESTCTRL_OPTIMIZATIONS, sqlite3 *db, int N) + ** + ** Enable or disable various optimizations for testing purposes. The + ** argument N is a bitmask of optimizations to be disabled. For normal + ** operation N should be 0. The idea is that a test program (like the + ** SQL Logic Test or SLT test module) can run the same SQL multiple times + ** with various optimizations disabled to verify that the same answer + ** is obtained in every case. + */ + case SQLITE_TESTCTRL_OPTIMIZATIONS: { + sqlite3 *db = va_arg(ap, sqlite3*); + db->dbOptFlags = (u16)(va_arg(ap, int) & 0xffff); + break; + } + + /* sqlite3_test_control(SQLITE_TESTCTRL_LOCALTIME_FAULT, int onoff); + ** + ** If parameter onoff is non-zero, subsequent calls to localtime() + ** and its variants fail. If onoff is zero, undo this setting. + */ + case SQLITE_TESTCTRL_LOCALTIME_FAULT: { + sqlite3GlobalConfig.bLocaltimeFault = va_arg(ap, int); + break; + } + + /* sqlite3_test_control(SQLITE_TESTCTRL_INTERNAL_FUNCS, int onoff); + ** + ** If parameter onoff is non-zero, internal-use-only SQL functions + ** are visible to ordinary SQL. This is useful for testing but is + ** unsafe because invalid parameters to those internal-use-only functions + ** can result in crashes or segfaults. + */ + case SQLITE_TESTCTRL_INTERNAL_FUNCTIONS: { + sqlite3GlobalConfig.bInternalFunctions = va_arg(ap, int); + break; + } + + /* sqlite3_test_control(SQLITE_TESTCTRL_NEVER_CORRUPT, int); + ** + ** Set or clear a flag that indicates that the database file is always well- + ** formed and never corrupt. This flag is clear by default, indicating that + ** database files might have arbitrary corruption. Setting the flag during + ** testing causes certain assert() statements in the code to be activated + ** that demonstrat invariants on well-formed database files. + */ + case SQLITE_TESTCTRL_NEVER_CORRUPT: { + sqlite3GlobalConfig.neverCorrupt = va_arg(ap, int); + break; + } + + /* sqlite3_test_control(SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS, int); + ** + ** Set or clear a flag that causes SQLite to verify that type, name, + ** and tbl_name fields of the sqlite_master table. This is normally + ** on, but it is sometimes useful to turn it off for testing. + */ + case SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS: { + sqlite3GlobalConfig.bExtraSchemaChecks = va_arg(ap, int); + break; + } + + /* Set the threshold at which OP_Once counters reset back to zero. + ** By default this is 0x7ffffffe (over 2 billion), but that value is + ** too big to test in a reasonable amount of time, so this control is + ** provided to set a small and easily reachable reset value. + */ + case SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD: { + sqlite3GlobalConfig.iOnceResetThreshold = va_arg(ap, int); + break; + } + + /* sqlite3_test_control(SQLITE_TESTCTRL_VDBE_COVERAGE, xCallback, ptr); + ** + ** Set the VDBE coverage callback function to xCallback with context + ** pointer ptr. + */ + case SQLITE_TESTCTRL_VDBE_COVERAGE: { +#ifdef SQLITE_VDBE_COVERAGE + typedef void (*branch_callback)(void*,unsigned int, + unsigned char,unsigned char); + sqlite3GlobalConfig.xVdbeBranch = va_arg(ap,branch_callback); + sqlite3GlobalConfig.pVdbeBranchArg = va_arg(ap,void*); +#endif + break; + } + + /* sqlite3_test_control(SQLITE_TESTCTRL_SORTER_MMAP, db, nMax); */ + case SQLITE_TESTCTRL_SORTER_MMAP: { + sqlite3 *db = va_arg(ap, sqlite3*); + db->nMaxSorterMmap = va_arg(ap, int); + break; + } + + /* sqlite3_test_control(SQLITE_TESTCTRL_ISINIT); + ** + ** Return SQLITE_OK if SQLite has been initialized and SQLITE_ERROR if + ** not. + */ + case SQLITE_TESTCTRL_ISINIT: { + if( sqlite3GlobalConfig.isInit==0 ) rc = SQLITE_ERROR; + break; + } + + /* sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, db, dbName, onOff, tnum); + ** + ** This test control is used to create imposter tables. "db" is a pointer + ** to the database connection. dbName is the database name (ex: "main" or + ** "temp") which will receive the imposter. "onOff" turns imposter mode on + ** or off. "tnum" is the root page of the b-tree to which the imposter + ** table should connect. + ** + ** Enable imposter mode only when the schema has already been parsed. Then + ** run a single CREATE TABLE statement to construct the imposter table in + ** the parsed schema. Then turn imposter mode back off again. + ** + ** If onOff==0 and tnum>0 then reset the schema for all databases, causing + ** the schema to be reparsed the next time it is needed. This has the + ** effect of erasing all imposter tables. + */ + case SQLITE_TESTCTRL_IMPOSTER: { + sqlite3 *db = va_arg(ap, sqlite3*); + sqlite3_mutex_enter(db->mutex); + db->init.iDb = sqlite3FindDbName(db, va_arg(ap,const char*)); + db->init.busy = db->init.imposterTable = va_arg(ap,int); + db->init.newTnum = va_arg(ap,int); + if( db->init.busy==0 && db->init.newTnum>0 ){ + sqlite3ResetAllSchemasOfConnection(db); + } + sqlite3_mutex_leave(db->mutex); + break; + } + +#if defined(YYCOVERAGE) + /* sqlite3_test_control(SQLITE_TESTCTRL_PARSER_COVERAGE, FILE *out) + ** + ** This test control (only available when SQLite is compiled with + ** -DYYCOVERAGE) writes a report onto "out" that shows all + ** state/lookahead combinations in the parser state machine + ** which are never exercised. If any state is missed, make the + ** return code SQLITE_ERROR. + */ + case SQLITE_TESTCTRL_PARSER_COVERAGE: { + FILE *out = va_arg(ap, FILE*); + if( sqlite3ParserCoverage(out) ) rc = SQLITE_ERROR; + break; + } +#endif /* defined(YYCOVERAGE) */ + + /* sqlite3_test_control(SQLITE_TESTCTRL_RESULT_INTREAL, sqlite3_context*); + ** + ** This test-control causes the most recent sqlite3_result_int64() value + ** to be interpreted as a MEM_IntReal instead of as an MEM_Int. Normally, + ** MEM_IntReal values only arise during an INSERT operation of integer + ** values into a REAL column, so they can be challenging to test. This + ** test-control enables us to write an intreal() SQL function that can + ** inject an intreal() value at arbitrary places in an SQL statement, + ** for testing purposes. + */ + case SQLITE_TESTCTRL_RESULT_INTREAL: { + sqlite3_context *pCtx = va_arg(ap, sqlite3_context*); + sqlite3ResultIntReal(pCtx); + break; + } + } + va_end(ap); +#endif /* SQLITE_UNTESTABLE */ + return rc; +} + +/* +** This is a utility routine, useful to VFS implementations, that checks +** to see if a database file was a URI that contained a specific query +** parameter, and if so obtains the value of the query parameter. +** +** The zFilename argument is the filename pointer passed into the xOpen() +** method of a VFS implementation. The zParam argument is the name of the +** query parameter we seek. This routine returns the value of the zParam +** parameter if it exists. If the parameter does not exist, this routine +** returns a NULL pointer. +*/ +SQLITE_API const char *sqlite3_uri_parameter(const char *zFilename, const char *zParam){ + if( zFilename==0 || zParam==0 ) return 0; + zFilename += sqlite3Strlen30(zFilename) + 1; + while( zFilename[0] ){ + int x = strcmp(zFilename, zParam); + zFilename += sqlite3Strlen30(zFilename) + 1; + if( x==0 ) return zFilename; + zFilename += sqlite3Strlen30(zFilename) + 1; + } + return 0; +} + +/* +** Return a boolean value for a query parameter. +*/ +SQLITE_API int sqlite3_uri_boolean(const char *zFilename, const char *zParam, int bDflt){ + const char *z = sqlite3_uri_parameter(zFilename, zParam); + bDflt = bDflt!=0; + return z ? sqlite3GetBoolean(z, bDflt) : bDflt; +} + +/* +** Return a 64-bit integer value for a query parameter. +*/ +SQLITE_API sqlite3_int64 sqlite3_uri_int64( + const char *zFilename, /* Filename as passed to xOpen */ + const char *zParam, /* URI parameter sought */ + sqlite3_int64 bDflt /* return if parameter is missing */ +){ + const char *z = sqlite3_uri_parameter(zFilename, zParam); + sqlite3_int64 v; + if( z && sqlite3DecOrHexToI64(z, &v)==0 ){ + bDflt = v; + } + return bDflt; +} + +/* +** Return the Btree pointer identified by zDbName. Return NULL if not found. +*/ +SQLITE_PRIVATE Btree *sqlite3DbNameToBtree(sqlite3 *db, const char *zDbName){ + int iDb = zDbName ? sqlite3FindDbName(db, zDbName) : 0; + return iDb<0 ? 0 : db->aDb[iDb].pBt; +} + +/* +** Return the filename of the database associated with a database +** connection. +*/ +SQLITE_API const char *sqlite3_db_filename(sqlite3 *db, const char *zDbName){ + Btree *pBt; +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + pBt = sqlite3DbNameToBtree(db, zDbName); + return pBt ? sqlite3BtreeGetFilename(pBt) : 0; +} + +/* +** Return 1 if database is read-only or 0 if read/write. Return -1 if +** no such database exists. +*/ +SQLITE_API int sqlite3_db_readonly(sqlite3 *db, const char *zDbName){ + Btree *pBt; +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + (void)SQLITE_MISUSE_BKPT; + return -1; + } +#endif + pBt = sqlite3DbNameToBtree(db, zDbName); + return pBt ? sqlite3BtreeIsReadonly(pBt) : -1; +} + +#ifdef SQLITE_ENABLE_SNAPSHOT +/* +** Obtain a snapshot handle for the snapshot of database zDb currently +** being read by handle db. +*/ +SQLITE_API int sqlite3_snapshot_get( + sqlite3 *db, + const char *zDb, + sqlite3_snapshot **ppSnapshot +){ + int rc = SQLITE_ERROR; +#ifndef SQLITE_OMIT_WAL + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + return SQLITE_MISUSE_BKPT; + } +#endif + sqlite3_mutex_enter(db->mutex); + + if( db->autoCommit==0 ){ + int iDb = sqlite3FindDbName(db, zDb); + if( iDb==0 || iDb>1 ){ + Btree *pBt = db->aDb[iDb].pBt; + if( 0==sqlite3BtreeIsInTrans(pBt) ){ + rc = sqlite3BtreeBeginTrans(pBt, 0, 0); + if( rc==SQLITE_OK ){ + rc = sqlite3PagerSnapshotGet(sqlite3BtreePager(pBt), ppSnapshot); + } + } + } + } + + sqlite3_mutex_leave(db->mutex); +#endif /* SQLITE_OMIT_WAL */ + return rc; +} + +/* +** Open a read-transaction on the snapshot idendified by pSnapshot. +*/ +SQLITE_API int sqlite3_snapshot_open( + sqlite3 *db, + const char *zDb, + sqlite3_snapshot *pSnapshot +){ + int rc = SQLITE_ERROR; +#ifndef SQLITE_OMIT_WAL + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + return SQLITE_MISUSE_BKPT; + } +#endif + sqlite3_mutex_enter(db->mutex); + if( db->autoCommit==0 ){ + int iDb; + iDb = sqlite3FindDbName(db, zDb); + if( iDb==0 || iDb>1 ){ + Btree *pBt = db->aDb[iDb].pBt; + if( sqlite3BtreeIsInTrans(pBt)==0 ){ + Pager *pPager = sqlite3BtreePager(pBt); + int bUnlock = 0; + if( sqlite3BtreeIsInReadTrans(pBt) ){ + if( db->nVdbeActive==0 ){ + rc = sqlite3PagerSnapshotCheck(pPager, pSnapshot); + if( rc==SQLITE_OK ){ + bUnlock = 1; + rc = sqlite3BtreeCommit(pBt); + } + } + }else{ + rc = SQLITE_OK; + } + if( rc==SQLITE_OK ){ + rc = sqlite3PagerSnapshotOpen(pPager, pSnapshot); + } + if( rc==SQLITE_OK ){ + rc = sqlite3BtreeBeginTrans(pBt, 0, 0); + sqlite3PagerSnapshotOpen(pPager, 0); + } + if( bUnlock ){ + sqlite3PagerSnapshotUnlock(pPager); + } + } + } + } + + sqlite3_mutex_leave(db->mutex); +#endif /* SQLITE_OMIT_WAL */ + return rc; +} + +/* +** Recover as many snapshots as possible from the wal file associated with +** schema zDb of database db. +*/ +SQLITE_API int sqlite3_snapshot_recover(sqlite3 *db, const char *zDb){ + int rc = SQLITE_ERROR; + int iDb; +#ifndef SQLITE_OMIT_WAL + +#ifdef SQLITE_ENABLE_API_ARMOR + if( !sqlite3SafetyCheckOk(db) ){ + return SQLITE_MISUSE_BKPT; + } +#endif + + sqlite3_mutex_enter(db->mutex); + iDb = sqlite3FindDbName(db, zDb); + if( iDb==0 || iDb>1 ){ + Btree *pBt = db->aDb[iDb].pBt; + if( 0==sqlite3BtreeIsInReadTrans(pBt) ){ + rc = sqlite3BtreeBeginTrans(pBt, 0, 0); + if( rc==SQLITE_OK ){ + rc = sqlite3PagerSnapshotRecover(sqlite3BtreePager(pBt)); + sqlite3BtreeCommit(pBt); + } + } + } + sqlite3_mutex_leave(db->mutex); +#endif /* SQLITE_OMIT_WAL */ + return rc; +} + +/* +** Free a snapshot handle obtained from sqlite3_snapshot_get(). +*/ +SQLITE_API void sqlite3_snapshot_free(sqlite3_snapshot *pSnapshot){ + sqlite3_free(pSnapshot); +} +#endif /* SQLITE_ENABLE_SNAPSHOT */ + +#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS +/* +** Given the name of a compile-time option, return true if that option +** was used and false if not. +** +** The name can optionally begin with "SQLITE_" but the "SQLITE_" prefix +** is not required for a match. +*/ +SQLITE_API int sqlite3_compileoption_used(const char *zOptName){ + int i, n; + int nOpt; + const char **azCompileOpt; + +#if SQLITE_ENABLE_API_ARMOR + if( zOptName==0 ){ + (void)SQLITE_MISUSE_BKPT; + return 0; + } +#endif + + azCompileOpt = sqlite3CompileOptions(&nOpt); + + if( sqlite3StrNICmp(zOptName, "SQLITE_", 7)==0 ) zOptName += 7; + n = sqlite3Strlen30(zOptName); + + /* Since nOpt is normally in single digits, a linear search is + ** adequate. No need for a binary search. */ + for(i=0; i=0 && NpNextBlocked){ + int seen = 0; + sqlite3 *p2; + + /* Verify property (1) */ + assert( p->pUnlockConnection || p->pBlockingConnection ); + + /* Verify property (2) */ + for(p2=sqlite3BlockedList; p2!=p; p2=p2->pNextBlocked){ + if( p2->xUnlockNotify==p->xUnlockNotify ) seen = 1; + assert( p2->xUnlockNotify==p->xUnlockNotify || !seen ); + assert( db==0 || p->pUnlockConnection!=db ); + assert( db==0 || p->pBlockingConnection!=db ); + } + } +} +#else +# define checkListProperties(x) +#endif + +/* +** Remove connection db from the blocked connections list. If connection +** db is not currently a part of the list, this function is a no-op. +*/ +static void removeFromBlockedList(sqlite3 *db){ + sqlite3 **pp; + assertMutexHeld(); + for(pp=&sqlite3BlockedList; *pp; pp = &(*pp)->pNextBlocked){ + if( *pp==db ){ + *pp = (*pp)->pNextBlocked; + break; + } + } +} + +/* +** Add connection db to the blocked connections list. It is assumed +** that it is not already a part of the list. +*/ +static void addToBlockedList(sqlite3 *db){ + sqlite3 **pp; + assertMutexHeld(); + for( + pp=&sqlite3BlockedList; + *pp && (*pp)->xUnlockNotify!=db->xUnlockNotify; + pp=&(*pp)->pNextBlocked + ); + db->pNextBlocked = *pp; + *pp = db; +} + +/* +** Obtain the STATIC_MASTER mutex. +*/ +static void enterMutex(void){ + sqlite3_mutex_enter(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER)); + checkListProperties(0); +} + +/* +** Release the STATIC_MASTER mutex. +*/ +static void leaveMutex(void){ + assertMutexHeld(); + checkListProperties(0); + sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER)); +} + +/* +** Register an unlock-notify callback. +** +** This is called after connection "db" has attempted some operation +** but has received an SQLITE_LOCKED error because another connection +** (call it pOther) in the same process was busy using the same shared +** cache. pOther is found by looking at db->pBlockingConnection. +** +** If there is no blocking connection, the callback is invoked immediately, +** before this routine returns. +** +** If pOther is already blocked on db, then report SQLITE_LOCKED, to indicate +** a deadlock. +** +** Otherwise, make arrangements to invoke xNotify when pOther drops +** its locks. +** +** Each call to this routine overrides any prior callbacks registered +** on the same "db". If xNotify==0 then any prior callbacks are immediately +** cancelled. +*/ +SQLITE_API int sqlite3_unlock_notify( + sqlite3 *db, + void (*xNotify)(void **, int), + void *pArg +){ + int rc = SQLITE_OK; + + sqlite3_mutex_enter(db->mutex); + enterMutex(); + + if( xNotify==0 ){ + removeFromBlockedList(db); + db->pBlockingConnection = 0; + db->pUnlockConnection = 0; + db->xUnlockNotify = 0; + db->pUnlockArg = 0; + }else if( 0==db->pBlockingConnection ){ + /* The blocking transaction has been concluded. Or there never was a + ** blocking transaction. In either case, invoke the notify callback + ** immediately. + */ + xNotify(&pArg, 1); + }else{ + sqlite3 *p; + + for(p=db->pBlockingConnection; p && p!=db; p=p->pUnlockConnection){} + if( p ){ + rc = SQLITE_LOCKED; /* Deadlock detected. */ + }else{ + db->pUnlockConnection = db->pBlockingConnection; + db->xUnlockNotify = xNotify; + db->pUnlockArg = pArg; + removeFromBlockedList(db); + addToBlockedList(db); + } + } + + leaveMutex(); + assert( !db->mallocFailed ); + sqlite3ErrorWithMsg(db, rc, (rc?"database is deadlocked":0)); + sqlite3_mutex_leave(db->mutex); + return rc; +} + +/* +** This function is called while stepping or preparing a statement +** associated with connection db. The operation will return SQLITE_LOCKED +** to the user because it requires a lock that will not be available +** until connection pBlocker concludes its current transaction. +*/ +SQLITE_PRIVATE void sqlite3ConnectionBlocked(sqlite3 *db, sqlite3 *pBlocker){ + enterMutex(); + if( db->pBlockingConnection==0 && db->pUnlockConnection==0 ){ + addToBlockedList(db); + } + db->pBlockingConnection = pBlocker; + leaveMutex(); +} + +/* +** This function is called when +** the transaction opened by database db has just finished. Locks held +** by database connection db have been released. +** +** This function loops through each entry in the blocked connections +** list and does the following: +** +** 1) If the sqlite3.pBlockingConnection member of a list entry is +** set to db, then set pBlockingConnection=0. +** +** 2) If the sqlite3.pUnlockConnection member of a list entry is +** set to db, then invoke the configured unlock-notify callback and +** set pUnlockConnection=0. +** +** 3) If the two steps above mean that pBlockingConnection==0 and +** pUnlockConnection==0, remove the entry from the blocked connections +** list. +*/ +SQLITE_PRIVATE void sqlite3ConnectionUnlocked(sqlite3 *db){ + void (*xUnlockNotify)(void **, int) = 0; /* Unlock-notify cb to invoke */ + int nArg = 0; /* Number of entries in aArg[] */ + sqlite3 **pp; /* Iterator variable */ + void **aArg; /* Arguments to the unlock callback */ + void **aDyn = 0; /* Dynamically allocated space for aArg[] */ + void *aStatic[16]; /* Starter space for aArg[]. No malloc required */ + + aArg = aStatic; + enterMutex(); /* Enter STATIC_MASTER mutex */ + + /* This loop runs once for each entry in the blocked-connections list. */ + for(pp=&sqlite3BlockedList; *pp; /* no-op */ ){ + sqlite3 *p = *pp; + + /* Step 1. */ + if( p->pBlockingConnection==db ){ + p->pBlockingConnection = 0; + } + + /* Step 2. */ + if( p->pUnlockConnection==db ){ + assert( p->xUnlockNotify ); + if( p->xUnlockNotify!=xUnlockNotify && nArg!=0 ){ + xUnlockNotify(aArg, nArg); + nArg = 0; + } + + sqlite3BeginBenignMalloc(); + assert( aArg==aDyn || (aDyn==0 && aArg==aStatic) ); + assert( nArg<=(int)ArraySize(aStatic) || aArg==aDyn ); + if( (!aDyn && nArg==(int)ArraySize(aStatic)) + || (aDyn && nArg==(int)(sqlite3MallocSize(aDyn)/sizeof(void*))) + ){ + /* The aArg[] array needs to grow. */ + void **pNew = (void **)sqlite3Malloc(nArg*sizeof(void *)*2); + if( pNew ){ + memcpy(pNew, aArg, nArg*sizeof(void *)); + sqlite3_free(aDyn); + aDyn = aArg = pNew; + }else{ + /* This occurs when the array of context pointers that need to + ** be passed to the unlock-notify callback is larger than the + ** aStatic[] array allocated on the stack and the attempt to + ** allocate a larger array from the heap has failed. + ** + ** This is a difficult situation to handle. Returning an error + ** code to the caller is insufficient, as even if an error code + ** is returned the transaction on connection db will still be + ** closed and the unlock-notify callbacks on blocked connections + ** will go unissued. This might cause the application to wait + ** indefinitely for an unlock-notify callback that will never + ** arrive. + ** + ** Instead, invoke the unlock-notify callback with the context + ** array already accumulated. We can then clear the array and + ** begin accumulating any further context pointers without + ** requiring any dynamic allocation. This is sub-optimal because + ** it means that instead of one callback with a large array of + ** context pointers the application will receive two or more + ** callbacks with smaller arrays of context pointers, which will + ** reduce the applications ability to prioritize multiple + ** connections. But it is the best that can be done under the + ** circumstances. + */ + xUnlockNotify(aArg, nArg); + nArg = 0; + } + } + sqlite3EndBenignMalloc(); + + aArg[nArg++] = p->pUnlockArg; + xUnlockNotify = p->xUnlockNotify; + p->pUnlockConnection = 0; + p->xUnlockNotify = 0; + p->pUnlockArg = 0; + } + + /* Step 3. */ + if( p->pBlockingConnection==0 && p->pUnlockConnection==0 ){ + /* Remove connection p from the blocked connections list. */ + *pp = p->pNextBlocked; + p->pNextBlocked = 0; + }else{ + pp = &p->pNextBlocked; + } + } + + if( nArg!=0 ){ + xUnlockNotify(aArg, nArg); + } + sqlite3_free(aDyn); + leaveMutex(); /* Leave STATIC_MASTER mutex */ +} + +/* +** This is called when the database connection passed as an argument is +** being closed. The connection is removed from the blocked list. +*/ +SQLITE_PRIVATE void sqlite3ConnectionClosed(sqlite3 *db){ + sqlite3ConnectionUnlocked(db); + enterMutex(); + removeFromBlockedList(db); + checkListProperties(db); + leaveMutex(); +} +#endif + +/************** End of notify.c **********************************************/ +/************** Begin file fts3.c ********************************************/ +/* +** 2006 Oct 10 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This is an SQLite module implementing full-text search. +*/ + +/* +** The code in this file is only compiled if: +** +** * The FTS3 module is being built as an extension +** (in which case SQLITE_CORE is not defined), or +** +** * The FTS3 module is being built into the core of +** SQLite (in which case SQLITE_ENABLE_FTS3 is defined). +*/ + +/* The full-text index is stored in a series of b+tree (-like) +** structures called segments which map terms to doclists. The +** structures are like b+trees in layout, but are constructed from the +** bottom up in optimal fashion and are not updatable. Since trees +** are built from the bottom up, things will be described from the +** bottom up. +** +** +**** Varints **** +** The basic unit of encoding is a variable-length integer called a +** varint. We encode variable-length integers in little-endian order +** using seven bits * per byte as follows: +** +** KEY: +** A = 0xxxxxxx 7 bits of data and one flag bit +** B = 1xxxxxxx 7 bits of data and one flag bit +** +** 7 bits - A +** 14 bits - BA +** 21 bits - BBA +** and so on. +** +** This is similar in concept to how sqlite encodes "varints" but +** the encoding is not the same. SQLite varints are big-endian +** are are limited to 9 bytes in length whereas FTS3 varints are +** little-endian and can be up to 10 bytes in length (in theory). +** +** Example encodings: +** +** 1: 0x01 +** 127: 0x7f +** 128: 0x81 0x00 +** +** +**** Document lists **** +** A doclist (document list) holds a docid-sorted list of hits for a +** given term. Doclists hold docids and associated token positions. +** A docid is the unique integer identifier for a single document. +** A position is the index of a word within the document. The first +** word of the document has a position of 0. +** +** FTS3 used to optionally store character offsets using a compile-time +** option. But that functionality is no longer supported. +** +** A doclist is stored like this: +** +** array { +** varint docid; (delta from previous doclist) +** array { (position list for column 0) +** varint position; (2 more than the delta from previous position) +** } +** array { +** varint POS_COLUMN; (marks start of position list for new column) +** varint column; (index of new column) +** array { +** varint position; (2 more than the delta from previous position) +** } +** } +** varint POS_END; (marks end of positions for this document. +** } +** +** Here, array { X } means zero or more occurrences of X, adjacent in +** memory. A "position" is an index of a token in the token stream +** generated by the tokenizer. Note that POS_END and POS_COLUMN occur +** in the same logical place as the position element, and act as sentinals +** ending a position list array. POS_END is 0. POS_COLUMN is 1. +** The positions numbers are not stored literally but rather as two more +** than the difference from the prior position, or the just the position plus +** 2 for the first position. Example: +** +** label: A B C D E F G H I J K +** value: 123 5 9 1 1 14 35 0 234 72 0 +** +** The 123 value is the first docid. For column zero in this document +** there are two matches at positions 3 and 10 (5-2 and 9-2+3). The 1 +** at D signals the start of a new column; the 1 at E indicates that the +** new column is column number 1. There are two positions at 12 and 45 +** (14-2 and 35-2+12). The 0 at H indicate the end-of-document. The +** 234 at I is the delta to next docid (357). It has one position 70 +** (72-2) and then terminates with the 0 at K. +** +** A "position-list" is the list of positions for multiple columns for +** a single docid. A "column-list" is the set of positions for a single +** column. Hence, a position-list consists of one or more column-lists, +** a document record consists of a docid followed by a position-list and +** a doclist consists of one or more document records. +** +** A bare doclist omits the position information, becoming an +** array of varint-encoded docids. +** +**** Segment leaf nodes **** +** Segment leaf nodes store terms and doclists, ordered by term. Leaf +** nodes are written using LeafWriter, and read using LeafReader (to +** iterate through a single leaf node's data) and LeavesReader (to +** iterate through a segment's entire leaf layer). Leaf nodes have +** the format: +** +** varint iHeight; (height from leaf level, always 0) +** varint nTerm; (length of first term) +** char pTerm[nTerm]; (content of first term) +** varint nDoclist; (length of term's associated doclist) +** char pDoclist[nDoclist]; (content of doclist) +** array { +** (further terms are delta-encoded) +** varint nPrefix; (length of prefix shared with previous term) +** varint nSuffix; (length of unshared suffix) +** char pTermSuffix[nSuffix];(unshared suffix of next term) +** varint nDoclist; (length of term's associated doclist) +** char pDoclist[nDoclist]; (content of doclist) +** } +** +** Here, array { X } means zero or more occurrences of X, adjacent in +** memory. +** +** Leaf nodes are broken into blocks which are stored contiguously in +** the %_segments table in sorted order. This means that when the end +** of a node is reached, the next term is in the node with the next +** greater node id. +** +** New data is spilled to a new leaf node when the current node +** exceeds LEAF_MAX bytes (default 2048). New data which itself is +** larger than STANDALONE_MIN (default 1024) is placed in a standalone +** node (a leaf node with a single term and doclist). The goal of +** these settings is to pack together groups of small doclists while +** making it efficient to directly access large doclists. The +** assumption is that large doclists represent terms which are more +** likely to be query targets. +** +** TODO(shess) It may be useful for blocking decisions to be more +** dynamic. For instance, it may make more sense to have a 2.5k leaf +** node rather than splitting into 2k and .5k nodes. My intuition is +** that this might extend through 2x or 4x the pagesize. +** +** +**** Segment interior nodes **** +** Segment interior nodes store blockids for subtree nodes and terms +** to describe what data is stored by the each subtree. Interior +** nodes are written using InteriorWriter, and read using +** InteriorReader. InteriorWriters are created as needed when +** SegmentWriter creates new leaf nodes, or when an interior node +** itself grows too big and must be split. The format of interior +** nodes: +** +** varint iHeight; (height from leaf level, always >0) +** varint iBlockid; (block id of node's leftmost subtree) +** optional { +** varint nTerm; (length of first term) +** char pTerm[nTerm]; (content of first term) +** array { +** (further terms are delta-encoded) +** varint nPrefix; (length of shared prefix with previous term) +** varint nSuffix; (length of unshared suffix) +** char pTermSuffix[nSuffix]; (unshared suffix of next term) +** } +** } +** +** Here, optional { X } means an optional element, while array { X } +** means zero or more occurrences of X, adjacent in memory. +** +** An interior node encodes n terms separating n+1 subtrees. The +** subtree blocks are contiguous, so only the first subtree's blockid +** is encoded. The subtree at iBlockid will contain all terms less +** than the first term encoded (or all terms if no term is encoded). +** Otherwise, for terms greater than or equal to pTerm[i] but less +** than pTerm[i+1], the subtree for that term will be rooted at +** iBlockid+i. Interior nodes only store enough term data to +** distinguish adjacent children (if the rightmost term of the left +** child is "something", and the leftmost term of the right child is +** "wicked", only "w" is stored). +** +** New data is spilled to a new interior node at the same height when +** the current node exceeds INTERIOR_MAX bytes (default 2048). +** INTERIOR_MIN_TERMS (default 7) keeps large terms from monopolizing +** interior nodes and making the tree too skinny. The interior nodes +** at a given height are naturally tracked by interior nodes at +** height+1, and so on. +** +** +**** Segment directory **** +** The segment directory in table %_segdir stores meta-information for +** merging and deleting segments, and also the root node of the +** segment's tree. +** +** The root node is the top node of the segment's tree after encoding +** the entire segment, restricted to ROOT_MAX bytes (default 1024). +** This could be either a leaf node or an interior node. If the top +** node requires more than ROOT_MAX bytes, it is flushed to %_segments +** and a new root interior node is generated (which should always fit +** within ROOT_MAX because it only needs space for 2 varints, the +** height and the blockid of the previous root). +** +** The meta-information in the segment directory is: +** level - segment level (see below) +** idx - index within level +** - (level,idx uniquely identify a segment) +** start_block - first leaf node +** leaves_end_block - last leaf node +** end_block - last block (including interior nodes) +** root - contents of root node +** +** If the root node is a leaf node, then start_block, +** leaves_end_block, and end_block are all 0. +** +** +**** Segment merging **** +** To amortize update costs, segments are grouped into levels and +** merged in batches. Each increase in level represents exponentially +** more documents. +** +** New documents (actually, document updates) are tokenized and +** written individually (using LeafWriter) to a level 0 segment, with +** incrementing idx. When idx reaches MERGE_COUNT (default 16), all +** level 0 segments are merged into a single level 1 segment. Level 1 +** is populated like level 0, and eventually MERGE_COUNT level 1 +** segments are merged to a single level 2 segment (representing +** MERGE_COUNT^2 updates), and so on. +** +** A segment merge traverses all segments at a given level in +** parallel, performing a straightforward sorted merge. Since segment +** leaf nodes are written in to the %_segments table in order, this +** merge traverses the underlying sqlite disk structures efficiently. +** After the merge, all segment blocks from the merged level are +** deleted. +** +** MERGE_COUNT controls how often we merge segments. 16 seems to be +** somewhat of a sweet spot for insertion performance. 32 and 64 show +** very similar performance numbers to 16 on insertion, though they're +** a tiny bit slower (perhaps due to more overhead in merge-time +** sorting). 8 is about 20% slower than 16, 4 about 50% slower than +** 16, 2 about 66% slower than 16. +** +** At query time, high MERGE_COUNT increases the number of segments +** which need to be scanned and merged. For instance, with 100k docs +** inserted: +** +** MERGE_COUNT segments +** 16 25 +** 8 12 +** 4 10 +** 2 6 +** +** This appears to have only a moderate impact on queries for very +** frequent terms (which are somewhat dominated by segment merge +** costs), and infrequent and non-existent terms still seem to be fast +** even with many segments. +** +** TODO(shess) That said, it would be nice to have a better query-side +** argument for MERGE_COUNT of 16. Also, it is possible/likely that +** optimizations to things like doclist merging will swing the sweet +** spot around. +** +** +** +**** Handling of deletions and updates **** +** Since we're using a segmented structure, with no docid-oriented +** index into the term index, we clearly cannot simply update the term +** index when a document is deleted or updated. For deletions, we +** write an empty doclist (varint(docid) varint(POS_END)), for updates +** we simply write the new doclist. Segment merges overwrite older +** data for a particular docid with newer data, so deletes or updates +** will eventually overtake the earlier data and knock it out. The +** query logic likewise merges doclists so that newer data knocks out +** older data. +*/ + +/************** Include fts3Int.h in the middle of fts3.c ********************/ +/************** Begin file fts3Int.h *****************************************/ +/* +** 2009 Nov 12 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +*/ +#ifndef _FTSINT_H +#define _FTSINT_H + +#if !defined(NDEBUG) && !defined(SQLITE_DEBUG) +# define NDEBUG 1 +#endif + +/* FTS3/FTS4 require virtual tables */ +#ifdef SQLITE_OMIT_VIRTUALTABLE +# undef SQLITE_ENABLE_FTS3 +# undef SQLITE_ENABLE_FTS4 +#endif + +/* +** FTS4 is really an extension for FTS3. It is enabled using the +** SQLITE_ENABLE_FTS3 macro. But to avoid confusion we also all +** the SQLITE_ENABLE_FTS4 macro to serve as an alisse for SQLITE_ENABLE_FTS3. +*/ +#if defined(SQLITE_ENABLE_FTS4) && !defined(SQLITE_ENABLE_FTS3) +# define SQLITE_ENABLE_FTS3 +#endif + +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) + +/* If not building as part of the core, include sqlite3ext.h. */ +#ifndef SQLITE_CORE +/* # include "sqlite3ext.h" */ +SQLITE_EXTENSION_INIT3 +#endif + +/* #include "sqlite3.h" */ +/************** Include fts3_tokenizer.h in the middle of fts3Int.h **********/ +/************** Begin file fts3_tokenizer.h **********************************/ +/* +** 2006 July 10 +** +** The author disclaims copyright to this source code. +** +************************************************************************* +** Defines the interface to tokenizers used by fulltext-search. There +** are three basic components: +** +** sqlite3_tokenizer_module is a singleton defining the tokenizer +** interface functions. This is essentially the class structure for +** tokenizers. +** +** sqlite3_tokenizer is used to define a particular tokenizer, perhaps +** including customization information defined at creation time. +** +** sqlite3_tokenizer_cursor is generated by a tokenizer to generate +** tokens from a particular input. +*/ +#ifndef _FTS3_TOKENIZER_H_ +#define _FTS3_TOKENIZER_H_ + +/* TODO(shess) Only used for SQLITE_OK and SQLITE_DONE at this time. +** If tokenizers are to be allowed to call sqlite3_*() functions, then +** we will need a way to register the API consistently. +*/ +/* #include "sqlite3.h" */ + +/* +** Structures used by the tokenizer interface. When a new tokenizer +** implementation is registered, the caller provides a pointer to +** an sqlite3_tokenizer_module containing pointers to the callback +** functions that make up an implementation. +** +** When an fts3 table is created, it passes any arguments passed to +** the tokenizer clause of the CREATE VIRTUAL TABLE statement to the +** sqlite3_tokenizer_module.xCreate() function of the requested tokenizer +** implementation. The xCreate() function in turn returns an +** sqlite3_tokenizer structure representing the specific tokenizer to +** be used for the fts3 table (customized by the tokenizer clause arguments). +** +** To tokenize an input buffer, the sqlite3_tokenizer_module.xOpen() +** method is called. It returns an sqlite3_tokenizer_cursor object +** that may be used to tokenize a specific input buffer based on +** the tokenization rules supplied by a specific sqlite3_tokenizer +** object. +*/ +typedef struct sqlite3_tokenizer_module sqlite3_tokenizer_module; +typedef struct sqlite3_tokenizer sqlite3_tokenizer; +typedef struct sqlite3_tokenizer_cursor sqlite3_tokenizer_cursor; + +struct sqlite3_tokenizer_module { + + /* + ** Structure version. Should always be set to 0 or 1. + */ + int iVersion; + + /* + ** Create a new tokenizer. The values in the argv[] array are the + ** arguments passed to the "tokenizer" clause of the CREATE VIRTUAL + ** TABLE statement that created the fts3 table. For example, if + ** the following SQL is executed: + ** + ** CREATE .. USING fts3( ... , tokenizer arg1 arg2) + ** + ** then argc is set to 2, and the argv[] array contains pointers + ** to the strings "arg1" and "arg2". + ** + ** This method should return either SQLITE_OK (0), or an SQLite error + ** code. If SQLITE_OK is returned, then *ppTokenizer should be set + ** to point at the newly created tokenizer structure. The generic + ** sqlite3_tokenizer.pModule variable should not be initialized by + ** this callback. The caller will do so. + */ + int (*xCreate)( + int argc, /* Size of argv array */ + const char *const*argv, /* Tokenizer argument strings */ + sqlite3_tokenizer **ppTokenizer /* OUT: Created tokenizer */ + ); + + /* + ** Destroy an existing tokenizer. The fts3 module calls this method + ** exactly once for each successful call to xCreate(). + */ + int (*xDestroy)(sqlite3_tokenizer *pTokenizer); + + /* + ** Create a tokenizer cursor to tokenize an input buffer. The caller + ** is responsible for ensuring that the input buffer remains valid + ** until the cursor is closed (using the xClose() method). + */ + int (*xOpen)( + sqlite3_tokenizer *pTokenizer, /* Tokenizer object */ + const char *pInput, int nBytes, /* Input buffer */ + sqlite3_tokenizer_cursor **ppCursor /* OUT: Created tokenizer cursor */ + ); + + /* + ** Destroy an existing tokenizer cursor. The fts3 module calls this + ** method exactly once for each successful call to xOpen(). + */ + int (*xClose)(sqlite3_tokenizer_cursor *pCursor); + + /* + ** Retrieve the next token from the tokenizer cursor pCursor. This + ** method should either return SQLITE_OK and set the values of the + ** "OUT" variables identified below, or SQLITE_DONE to indicate that + ** the end of the buffer has been reached, or an SQLite error code. + ** + ** *ppToken should be set to point at a buffer containing the + ** normalized version of the token (i.e. after any case-folding and/or + ** stemming has been performed). *pnBytes should be set to the length + ** of this buffer in bytes. The input text that generated the token is + ** identified by the byte offsets returned in *piStartOffset and + ** *piEndOffset. *piStartOffset should be set to the index of the first + ** byte of the token in the input buffer. *piEndOffset should be set + ** to the index of the first byte just past the end of the token in + ** the input buffer. + ** + ** The buffer *ppToken is set to point at is managed by the tokenizer + ** implementation. It is only required to be valid until the next call + ** to xNext() or xClose(). + */ + /* TODO(shess) current implementation requires pInput to be + ** nul-terminated. This should either be fixed, or pInput/nBytes + ** should be converted to zInput. + */ + int (*xNext)( + sqlite3_tokenizer_cursor *pCursor, /* Tokenizer cursor */ + const char **ppToken, int *pnBytes, /* OUT: Normalized text for token */ + int *piStartOffset, /* OUT: Byte offset of token in input buffer */ + int *piEndOffset, /* OUT: Byte offset of end of token in input buffer */ + int *piPosition /* OUT: Number of tokens returned before this one */ + ); + + /*********************************************************************** + ** Methods below this point are only available if iVersion>=1. + */ + + /* + ** Configure the language id of a tokenizer cursor. + */ + int (*xLanguageid)(sqlite3_tokenizer_cursor *pCsr, int iLangid); +}; + +struct sqlite3_tokenizer { + const sqlite3_tokenizer_module *pModule; /* The module for this tokenizer */ + /* Tokenizer implementations will typically add additional fields */ +}; + +struct sqlite3_tokenizer_cursor { + sqlite3_tokenizer *pTokenizer; /* Tokenizer for this cursor. */ + /* Tokenizer implementations will typically add additional fields */ +}; + +int fts3_global_term_cnt(int iTerm, int iCol); +int fts3_term_cnt(int iTerm, int iCol); + + +#endif /* _FTS3_TOKENIZER_H_ */ + +/************** End of fts3_tokenizer.h **************************************/ +/************** Continuing where we left off in fts3Int.h ********************/ +/************** Include fts3_hash.h in the middle of fts3Int.h ***************/ +/************** Begin file fts3_hash.h ***************************************/ +/* +** 2001 September 22 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This is the header file for the generic hash-table implementation +** used in SQLite. We've modified it slightly to serve as a standalone +** hash table implementation for the full-text indexing module. +** +*/ +#ifndef _FTS3_HASH_H_ +#define _FTS3_HASH_H_ + +/* Forward declarations of structures. */ +typedef struct Fts3Hash Fts3Hash; +typedef struct Fts3HashElem Fts3HashElem; + +/* A complete hash table is an instance of the following structure. +** The internals of this structure are intended to be opaque -- client +** code should not attempt to access or modify the fields of this structure +** directly. Change this structure only by using the routines below. +** However, many of the "procedures" and "functions" for modifying and +** accessing this structure are really macros, so we can't really make +** this structure opaque. +*/ +struct Fts3Hash { + char keyClass; /* HASH_INT, _POINTER, _STRING, _BINARY */ + char copyKey; /* True if copy of key made on insert */ + int count; /* Number of entries in this table */ + Fts3HashElem *first; /* The first element of the array */ + int htsize; /* Number of buckets in the hash table */ + struct _fts3ht { /* the hash table */ + int count; /* Number of entries with this hash */ + Fts3HashElem *chain; /* Pointer to first entry with this hash */ + } *ht; +}; + +/* Each element in the hash table is an instance of the following +** structure. All elements are stored on a single doubly-linked list. +** +** Again, this structure is intended to be opaque, but it can't really +** be opaque because it is used by macros. +*/ +struct Fts3HashElem { + Fts3HashElem *next, *prev; /* Next and previous elements in the table */ + void *data; /* Data associated with this element */ + void *pKey; int nKey; /* Key associated with this element */ +}; + +/* +** There are 2 different modes of operation for a hash table: +** +** FTS3_HASH_STRING pKey points to a string that is nKey bytes long +** (including the null-terminator, if any). Case +** is respected in comparisons. +** +** FTS3_HASH_BINARY pKey points to binary data nKey bytes long. +** memcmp() is used to compare keys. +** +** A copy of the key is made if the copyKey parameter to fts3HashInit is 1. +*/ +#define FTS3_HASH_STRING 1 +#define FTS3_HASH_BINARY 2 + +/* +** Access routines. To delete, insert a NULL pointer. +*/ +SQLITE_PRIVATE void sqlite3Fts3HashInit(Fts3Hash *pNew, char keyClass, char copyKey); +SQLITE_PRIVATE void *sqlite3Fts3HashInsert(Fts3Hash*, const void *pKey, int nKey, void *pData); +SQLITE_PRIVATE void *sqlite3Fts3HashFind(const Fts3Hash*, const void *pKey, int nKey); +SQLITE_PRIVATE void sqlite3Fts3HashClear(Fts3Hash*); +SQLITE_PRIVATE Fts3HashElem *sqlite3Fts3HashFindElem(const Fts3Hash *, const void *, int); + +/* +** Shorthand for the functions above +*/ +#define fts3HashInit sqlite3Fts3HashInit +#define fts3HashInsert sqlite3Fts3HashInsert +#define fts3HashFind sqlite3Fts3HashFind +#define fts3HashClear sqlite3Fts3HashClear +#define fts3HashFindElem sqlite3Fts3HashFindElem + +/* +** Macros for looping over all elements of a hash table. The idiom is +** like this: +** +** Fts3Hash h; +** Fts3HashElem *p; +** ... +** for(p=fts3HashFirst(&h); p; p=fts3HashNext(p)){ +** SomeStructure *pData = fts3HashData(p); +** // do something with pData +** } +*/ +#define fts3HashFirst(H) ((H)->first) +#define fts3HashNext(E) ((E)->next) +#define fts3HashData(E) ((E)->data) +#define fts3HashKey(E) ((E)->pKey) +#define fts3HashKeysize(E) ((E)->nKey) + +/* +** Number of entries in a hash table +*/ +#define fts3HashCount(H) ((H)->count) + +#endif /* _FTS3_HASH_H_ */ + +/************** End of fts3_hash.h *******************************************/ +/************** Continuing where we left off in fts3Int.h ********************/ + +/* +** This constant determines the maximum depth of an FTS expression tree +** that the library will create and use. FTS uses recursion to perform +** various operations on the query tree, so the disadvantage of a large +** limit is that it may allow very large queries to use large amounts +** of stack space (perhaps causing a stack overflow). +*/ +#ifndef SQLITE_FTS3_MAX_EXPR_DEPTH +# define SQLITE_FTS3_MAX_EXPR_DEPTH 12 +#endif + + +/* +** This constant controls how often segments are merged. Once there are +** FTS3_MERGE_COUNT segments of level N, they are merged into a single +** segment of level N+1. +*/ +#define FTS3_MERGE_COUNT 16 + +/* +** This is the maximum amount of data (in bytes) to store in the +** Fts3Table.pendingTerms hash table. Normally, the hash table is +** populated as documents are inserted/updated/deleted in a transaction +** and used to create a new segment when the transaction is committed. +** However if this limit is reached midway through a transaction, a new +** segment is created and the hash table cleared immediately. +*/ +#define FTS3_MAX_PENDING_DATA (1*1024*1024) + +/* +** Macro to return the number of elements in an array. SQLite has a +** similar macro called ArraySize(). Use a different name to avoid +** a collision when building an amalgamation with built-in FTS3. +*/ +#define SizeofArray(X) ((int)(sizeof(X)/sizeof(X[0]))) + + +#ifndef MIN +# define MIN(x,y) ((x)<(y)?(x):(y)) +#endif +#ifndef MAX +# define MAX(x,y) ((x)>(y)?(x):(y)) +#endif + +/* +** Maximum length of a varint encoded integer. The varint format is different +** from that used by SQLite, so the maximum length is 10, not 9. +*/ +#define FTS3_VARINT_MAX 10 + +#define FTS3_BUFFER_PADDING 8 + +/* +** FTS4 virtual tables may maintain multiple indexes - one index of all terms +** in the document set and zero or more prefix indexes. All indexes are stored +** as one or more b+-trees in the %_segments and %_segdir tables. +** +** It is possible to determine which index a b+-tree belongs to based on the +** value stored in the "%_segdir.level" column. Given this value L, the index +** that the b+-tree belongs to is (L<<10). In other words, all b+-trees with +** level values between 0 and 1023 (inclusive) belong to index 0, all levels +** between 1024 and 2047 to index 1, and so on. +** +** It is considered impossible for an index to use more than 1024 levels. In +** theory though this may happen, but only after at least +** (FTS3_MERGE_COUNT^1024) separate flushes of the pending-terms tables. +*/ +#define FTS3_SEGDIR_MAXLEVEL 1024 +#define FTS3_SEGDIR_MAXLEVEL_STR "1024" + +/* +** The testcase() macro is only used by the amalgamation. If undefined, +** make it a no-op. +*/ +#ifndef testcase +# define testcase(X) +#endif + +/* +** Terminator values for position-lists and column-lists. +*/ +#define POS_COLUMN (1) /* Column-list terminator */ +#define POS_END (0) /* Position-list terminator */ + +/* +** The assert_fts3_nc() macro is similar to the assert() macro, except that it +** is used for assert() conditions that are true only if it can be +** guranteed that the database is not corrupt. +*/ +#if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) +SQLITE_API extern int sqlite3_fts3_may_be_corrupt; +# define assert_fts3_nc(x) assert(sqlite3_fts3_may_be_corrupt || (x)) +#else +# define assert_fts3_nc(x) assert(x) +#endif + +/* +** This section provides definitions to allow the +** FTS3 extension to be compiled outside of the +** amalgamation. +*/ +#ifndef SQLITE_AMALGAMATION +/* +** Macros indicating that conditional expressions are always true or +** false. +*/ +#ifdef SQLITE_COVERAGE_TEST +# define ALWAYS(x) (1) +# define NEVER(X) (0) +#elif defined(SQLITE_DEBUG) +# define ALWAYS(x) sqlite3Fts3Always((x)!=0) +# define NEVER(x) sqlite3Fts3Never((x)!=0) +SQLITE_PRIVATE int sqlite3Fts3Always(int b); +SQLITE_PRIVATE int sqlite3Fts3Never(int b); +#else +# define ALWAYS(x) (x) +# define NEVER(x) (x) +#endif + +/* +** Internal types used by SQLite. +*/ +typedef unsigned char u8; /* 1-byte (or larger) unsigned integer */ +typedef short int i16; /* 2-byte (or larger) signed integer */ +typedef unsigned int u32; /* 4-byte unsigned integer */ +typedef sqlite3_uint64 u64; /* 8-byte unsigned integer */ +typedef sqlite3_int64 i64; /* 8-byte signed integer */ + +/* +** Macro used to suppress compiler warnings for unused parameters. +*/ +#define UNUSED_PARAMETER(x) (void)(x) + +/* +** Activate assert() only if SQLITE_TEST is enabled. +*/ +#if !defined(NDEBUG) && !defined(SQLITE_DEBUG) +# define NDEBUG 1 +#endif + +/* +** The TESTONLY macro is used to enclose variable declarations or +** other bits of code that are needed to support the arguments +** within testcase() and assert() macros. +*/ +#if defined(SQLITE_DEBUG) || defined(SQLITE_COVERAGE_TEST) +# define TESTONLY(X) X +#else +# define TESTONLY(X) +#endif + +#endif /* SQLITE_AMALGAMATION */ + +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE int sqlite3Fts3Corrupt(void); +# define FTS_CORRUPT_VTAB sqlite3Fts3Corrupt() +#else +# define FTS_CORRUPT_VTAB SQLITE_CORRUPT_VTAB +#endif + +typedef struct Fts3Table Fts3Table; +typedef struct Fts3Cursor Fts3Cursor; +typedef struct Fts3Expr Fts3Expr; +typedef struct Fts3Phrase Fts3Phrase; +typedef struct Fts3PhraseToken Fts3PhraseToken; + +typedef struct Fts3Doclist Fts3Doclist; +typedef struct Fts3SegFilter Fts3SegFilter; +typedef struct Fts3DeferredToken Fts3DeferredToken; +typedef struct Fts3SegReader Fts3SegReader; +typedef struct Fts3MultiSegReader Fts3MultiSegReader; + +typedef struct MatchinfoBuffer MatchinfoBuffer; + +/* +** A connection to a fulltext index is an instance of the following +** structure. The xCreate and xConnect methods create an instance +** of this structure and xDestroy and xDisconnect free that instance. +** All other methods receive a pointer to the structure as one of their +** arguments. +*/ +struct Fts3Table { + sqlite3_vtab base; /* Base class used by SQLite core */ + sqlite3 *db; /* The database connection */ + const char *zDb; /* logical database name */ + const char *zName; /* virtual table name */ + int nColumn; /* number of named columns in virtual table */ + char **azColumn; /* column names. malloced */ + u8 *abNotindexed; /* True for 'notindexed' columns */ + sqlite3_tokenizer *pTokenizer; /* tokenizer for inserts and queries */ + char *zContentTbl; /* content=xxx option, or NULL */ + char *zLanguageid; /* languageid=xxx option, or NULL */ + int nAutoincrmerge; /* Value configured by 'automerge' */ + u32 nLeafAdd; /* Number of leaf blocks added this trans */ + + /* Precompiled statements used by the implementation. Each of these + ** statements is run and reset within a single virtual table API call. + */ + sqlite3_stmt *aStmt[40]; + sqlite3_stmt *pSeekStmt; /* Cache for fts3CursorSeekStmt() */ + + char *zReadExprlist; + char *zWriteExprlist; + + int nNodeSize; /* Soft limit for node size */ + u8 bFts4; /* True for FTS4, false for FTS3 */ + u8 bHasStat; /* True if %_stat table exists (2==unknown) */ + u8 bHasDocsize; /* True if %_docsize table exists */ + u8 bDescIdx; /* True if doclists are in reverse order */ + u8 bIgnoreSavepoint; /* True to ignore xSavepoint invocations */ + int nPgsz; /* Page size for host database */ + char *zSegmentsTbl; /* Name of %_segments table */ + sqlite3_blob *pSegments; /* Blob handle open on %_segments table */ + + /* + ** The following array of hash tables is used to buffer pending index + ** updates during transactions. All pending updates buffered at any one + ** time must share a common language-id (see the FTS4 langid= feature). + ** The current language id is stored in variable iPrevLangid. + ** + ** A single FTS4 table may have multiple full-text indexes. For each index + ** there is an entry in the aIndex[] array. Index 0 is an index of all the + ** terms that appear in the document set. Each subsequent index in aIndex[] + ** is an index of prefixes of a specific length. + ** + ** Variable nPendingData contains an estimate the memory consumed by the + ** pending data structures, including hash table overhead, but not including + ** malloc overhead. When nPendingData exceeds nMaxPendingData, all hash + ** tables are flushed to disk. Variable iPrevDocid is the docid of the most + ** recently inserted record. + */ + int nIndex; /* Size of aIndex[] */ + struct Fts3Index { + int nPrefix; /* Prefix length (0 for main terms index) */ + Fts3Hash hPending; /* Pending terms table for this index */ + } *aIndex; + int nMaxPendingData; /* Max pending data before flush to disk */ + int nPendingData; /* Current bytes of pending data */ + sqlite_int64 iPrevDocid; /* Docid of most recently inserted document */ + int iPrevLangid; /* Langid of recently inserted document */ + int bPrevDelete; /* True if last operation was a delete */ + +#if defined(SQLITE_DEBUG) || defined(SQLITE_COVERAGE_TEST) + /* State variables used for validating that the transaction control + ** methods of the virtual table are called at appropriate times. These + ** values do not contribute to FTS functionality; they are used for + ** verifying the operation of the SQLite core. + */ + int inTransaction; /* True after xBegin but before xCommit/xRollback */ + int mxSavepoint; /* Largest valid xSavepoint integer */ +#endif + +#ifdef SQLITE_TEST + /* True to disable the incremental doclist optimization. This is controled + ** by special insert command 'test-no-incr-doclist'. */ + int bNoIncrDoclist; +#endif +}; + +/* +** When the core wants to read from the virtual table, it creates a +** virtual table cursor (an instance of the following structure) using +** the xOpen method. Cursors are destroyed using the xClose method. +*/ +struct Fts3Cursor { + sqlite3_vtab_cursor base; /* Base class used by SQLite core */ + i16 eSearch; /* Search strategy (see below) */ + u8 isEof; /* True if at End Of Results */ + u8 isRequireSeek; /* True if must seek pStmt to %_content row */ + u8 bSeekStmt; /* True if pStmt is a seek */ + sqlite3_stmt *pStmt; /* Prepared statement in use by the cursor */ + Fts3Expr *pExpr; /* Parsed MATCH query string */ + int iLangid; /* Language being queried for */ + int nPhrase; /* Number of matchable phrases in query */ + Fts3DeferredToken *pDeferred; /* Deferred search tokens, if any */ + sqlite3_int64 iPrevId; /* Previous id read from aDoclist */ + char *pNextId; /* Pointer into the body of aDoclist */ + char *aDoclist; /* List of docids for full-text queries */ + int nDoclist; /* Size of buffer at aDoclist */ + u8 bDesc; /* True to sort in descending order */ + int eEvalmode; /* An FTS3_EVAL_XX constant */ + int nRowAvg; /* Average size of database rows, in pages */ + sqlite3_int64 nDoc; /* Documents in table */ + i64 iMinDocid; /* Minimum docid to return */ + i64 iMaxDocid; /* Maximum docid to return */ + int isMatchinfoNeeded; /* True when aMatchinfo[] needs filling in */ + MatchinfoBuffer *pMIBuffer; /* Buffer for matchinfo data */ +}; + +#define FTS3_EVAL_FILTER 0 +#define FTS3_EVAL_NEXT 1 +#define FTS3_EVAL_MATCHINFO 2 + +/* +** The Fts3Cursor.eSearch member is always set to one of the following. +** Actualy, Fts3Cursor.eSearch can be greater than or equal to +** FTS3_FULLTEXT_SEARCH. If so, then Fts3Cursor.eSearch - 2 is the index +** of the column to be searched. For example, in +** +** CREATE VIRTUAL TABLE ex1 USING fts3(a,b,c,d); +** SELECT docid FROM ex1 WHERE b MATCH 'one two three'; +** +** Because the LHS of the MATCH operator is 2nd column "b", +** Fts3Cursor.eSearch will be set to FTS3_FULLTEXT_SEARCH+1. (+0 for a, +** +1 for b, +2 for c, +3 for d.) If the LHS of MATCH were "ex1" +** indicating that all columns should be searched, +** then eSearch would be set to FTS3_FULLTEXT_SEARCH+4. +*/ +#define FTS3_FULLSCAN_SEARCH 0 /* Linear scan of %_content table */ +#define FTS3_DOCID_SEARCH 1 /* Lookup by rowid on %_content table */ +#define FTS3_FULLTEXT_SEARCH 2 /* Full-text index search */ + +/* +** The lower 16-bits of the sqlite3_index_info.idxNum value set by +** the xBestIndex() method contains the Fts3Cursor.eSearch value described +** above. The upper 16-bits contain a combination of the following +** bits, used to describe extra constraints on full-text searches. +*/ +#define FTS3_HAVE_LANGID 0x00010000 /* languageid=? */ +#define FTS3_HAVE_DOCID_GE 0x00020000 /* docid>=? */ +#define FTS3_HAVE_DOCID_LE 0x00040000 /* docid<=? */ + +struct Fts3Doclist { + char *aAll; /* Array containing doclist (or NULL) */ + int nAll; /* Size of a[] in bytes */ + char *pNextDocid; /* Pointer to next docid */ + + sqlite3_int64 iDocid; /* Current docid (if pList!=0) */ + int bFreeList; /* True if pList should be sqlite3_free()d */ + char *pList; /* Pointer to position list following iDocid */ + int nList; /* Length of position list */ +}; + +/* +** A "phrase" is a sequence of one or more tokens that must match in +** sequence. A single token is the base case and the most common case. +** For a sequence of tokens contained in double-quotes (i.e. "one two three") +** nToken will be the number of tokens in the string. +*/ +struct Fts3PhraseToken { + char *z; /* Text of the token */ + int n; /* Number of bytes in buffer z */ + int isPrefix; /* True if token ends with a "*" character */ + int bFirst; /* True if token must appear at position 0 */ + + /* Variables above this point are populated when the expression is + ** parsed (by code in fts3_expr.c). Below this point the variables are + ** used when evaluating the expression. */ + Fts3DeferredToken *pDeferred; /* Deferred token object for this token */ + Fts3MultiSegReader *pSegcsr; /* Segment-reader for this token */ +}; + +struct Fts3Phrase { + /* Cache of doclist for this phrase. */ + Fts3Doclist doclist; + int bIncr; /* True if doclist is loaded incrementally */ + int iDoclistToken; + + /* Used by sqlite3Fts3EvalPhrasePoslist() if this is a descendent of an + ** OR condition. */ + char *pOrPoslist; + i64 iOrDocid; + + /* Variables below this point are populated by fts3_expr.c when parsing + ** a MATCH expression. Everything above is part of the evaluation phase. + */ + int nToken; /* Number of tokens in the phrase */ + int iColumn; /* Index of column this phrase must match */ + Fts3PhraseToken aToken[1]; /* One entry for each token in the phrase */ +}; + +/* +** A tree of these objects forms the RHS of a MATCH operator. +** +** If Fts3Expr.eType is FTSQUERY_PHRASE and isLoaded is true, then aDoclist +** points to a malloced buffer, size nDoclist bytes, containing the results +** of this phrase query in FTS3 doclist format. As usual, the initial +** "Length" field found in doclists stored on disk is omitted from this +** buffer. +** +** Variable aMI is used only for FTSQUERY_NEAR nodes to store the global +** matchinfo data. If it is not NULL, it points to an array of size nCol*3, +** where nCol is the number of columns in the queried FTS table. The array +** is populated as follows: +** +** aMI[iCol*3 + 0] = Undefined +** aMI[iCol*3 + 1] = Number of occurrences +** aMI[iCol*3 + 2] = Number of rows containing at least one instance +** +** The aMI array is allocated using sqlite3_malloc(). It should be freed +** when the expression node is. +*/ +struct Fts3Expr { + int eType; /* One of the FTSQUERY_XXX values defined below */ + int nNear; /* Valid if eType==FTSQUERY_NEAR */ + Fts3Expr *pParent; /* pParent->pLeft==this or pParent->pRight==this */ + Fts3Expr *pLeft; /* Left operand */ + Fts3Expr *pRight; /* Right operand */ + Fts3Phrase *pPhrase; /* Valid if eType==FTSQUERY_PHRASE */ + + /* The following are used by the fts3_eval.c module. */ + sqlite3_int64 iDocid; /* Current docid */ + u8 bEof; /* True this expression is at EOF already */ + u8 bStart; /* True if iDocid is valid */ + u8 bDeferred; /* True if this expression is entirely deferred */ + + /* The following are used by the fts3_snippet.c module. */ + int iPhrase; /* Index of this phrase in matchinfo() results */ + u32 *aMI; /* See above */ +}; + +/* +** Candidate values for Fts3Query.eType. Note that the order of the first +** four values is in order of precedence when parsing expressions. For +** example, the following: +** +** "a OR b AND c NOT d NEAR e" +** +** is equivalent to: +** +** "a OR (b AND (c NOT (d NEAR e)))" +*/ +#define FTSQUERY_NEAR 1 +#define FTSQUERY_NOT 2 +#define FTSQUERY_AND 3 +#define FTSQUERY_OR 4 +#define FTSQUERY_PHRASE 5 + + +/* fts3_write.c */ +SQLITE_PRIVATE int sqlite3Fts3UpdateMethod(sqlite3_vtab*,int,sqlite3_value**,sqlite3_int64*); +SQLITE_PRIVATE int sqlite3Fts3PendingTermsFlush(Fts3Table *); +SQLITE_PRIVATE void sqlite3Fts3PendingTermsClear(Fts3Table *); +SQLITE_PRIVATE int sqlite3Fts3Optimize(Fts3Table *); +SQLITE_PRIVATE int sqlite3Fts3SegReaderNew(int, int, sqlite3_int64, + sqlite3_int64, sqlite3_int64, const char *, int, Fts3SegReader**); +SQLITE_PRIVATE int sqlite3Fts3SegReaderPending( + Fts3Table*,int,const char*,int,int,Fts3SegReader**); +SQLITE_PRIVATE void sqlite3Fts3SegReaderFree(Fts3SegReader *); +SQLITE_PRIVATE int sqlite3Fts3AllSegdirs(Fts3Table*, int, int, int, sqlite3_stmt **); +SQLITE_PRIVATE int sqlite3Fts3ReadBlock(Fts3Table*, sqlite3_int64, char **, int*, int*); + +SQLITE_PRIVATE int sqlite3Fts3SelectDoctotal(Fts3Table *, sqlite3_stmt **); +SQLITE_PRIVATE int sqlite3Fts3SelectDocsize(Fts3Table *, sqlite3_int64, sqlite3_stmt **); + +#ifndef SQLITE_DISABLE_FTS4_DEFERRED +SQLITE_PRIVATE void sqlite3Fts3FreeDeferredTokens(Fts3Cursor *); +SQLITE_PRIVATE int sqlite3Fts3DeferToken(Fts3Cursor *, Fts3PhraseToken *, int); +SQLITE_PRIVATE int sqlite3Fts3CacheDeferredDoclists(Fts3Cursor *); +SQLITE_PRIVATE void sqlite3Fts3FreeDeferredDoclists(Fts3Cursor *); +SQLITE_PRIVATE int sqlite3Fts3DeferredTokenList(Fts3DeferredToken *, char **, int *); +#else +# define sqlite3Fts3FreeDeferredTokens(x) +# define sqlite3Fts3DeferToken(x,y,z) SQLITE_OK +# define sqlite3Fts3CacheDeferredDoclists(x) SQLITE_OK +# define sqlite3Fts3FreeDeferredDoclists(x) +# define sqlite3Fts3DeferredTokenList(x,y,z) SQLITE_OK +#endif + +SQLITE_PRIVATE void sqlite3Fts3SegmentsClose(Fts3Table *); +SQLITE_PRIVATE int sqlite3Fts3MaxLevel(Fts3Table *, int *); + +/* Special values interpreted by sqlite3SegReaderCursor() */ +#define FTS3_SEGCURSOR_PENDING -1 +#define FTS3_SEGCURSOR_ALL -2 + +SQLITE_PRIVATE int sqlite3Fts3SegReaderStart(Fts3Table*, Fts3MultiSegReader*, Fts3SegFilter*); +SQLITE_PRIVATE int sqlite3Fts3SegReaderStep(Fts3Table *, Fts3MultiSegReader *); +SQLITE_PRIVATE void sqlite3Fts3SegReaderFinish(Fts3MultiSegReader *); + +SQLITE_PRIVATE int sqlite3Fts3SegReaderCursor(Fts3Table *, + int, int, int, const char *, int, int, int, Fts3MultiSegReader *); + +/* Flags allowed as part of the 4th argument to SegmentReaderIterate() */ +#define FTS3_SEGMENT_REQUIRE_POS 0x00000001 +#define FTS3_SEGMENT_IGNORE_EMPTY 0x00000002 +#define FTS3_SEGMENT_COLUMN_FILTER 0x00000004 +#define FTS3_SEGMENT_PREFIX 0x00000008 +#define FTS3_SEGMENT_SCAN 0x00000010 +#define FTS3_SEGMENT_FIRST 0x00000020 + +/* Type passed as 4th argument to SegmentReaderIterate() */ +struct Fts3SegFilter { + const char *zTerm; + int nTerm; + int iCol; + int flags; +}; + +struct Fts3MultiSegReader { + /* Used internally by sqlite3Fts3SegReaderXXX() calls */ + Fts3SegReader **apSegment; /* Array of Fts3SegReader objects */ + int nSegment; /* Size of apSegment array */ + int nAdvance; /* How many seg-readers to advance */ + Fts3SegFilter *pFilter; /* Pointer to filter object */ + char *aBuffer; /* Buffer to merge doclists in */ + int nBuffer; /* Allocated size of aBuffer[] in bytes */ + + int iColFilter; /* If >=0, filter for this column */ + int bRestart; + + /* Used by fts3.c only. */ + int nCost; /* Cost of running iterator */ + int bLookup; /* True if a lookup of a single entry. */ + + /* Output values. Valid only after Fts3SegReaderStep() returns SQLITE_ROW. */ + char *zTerm; /* Pointer to term buffer */ + int nTerm; /* Size of zTerm in bytes */ + char *aDoclist; /* Pointer to doclist buffer */ + int nDoclist; /* Size of aDoclist[] in bytes */ +}; + +SQLITE_PRIVATE int sqlite3Fts3Incrmerge(Fts3Table*,int,int); + +#define fts3GetVarint32(p, piVal) ( \ + (*(u8*)(p)&0x80) ? sqlite3Fts3GetVarint32(p, piVal) : (*piVal=*(u8*)(p), 1) \ +) + +/* fts3.c */ +SQLITE_PRIVATE void sqlite3Fts3ErrMsg(char**,const char*,...); +SQLITE_PRIVATE int sqlite3Fts3PutVarint(char *, sqlite3_int64); +SQLITE_PRIVATE int sqlite3Fts3GetVarint(const char *, sqlite_int64 *); +SQLITE_PRIVATE int sqlite3Fts3GetVarint32(const char *, int *); +SQLITE_PRIVATE int sqlite3Fts3VarintLen(sqlite3_uint64); +SQLITE_PRIVATE void sqlite3Fts3Dequote(char *); +SQLITE_PRIVATE void sqlite3Fts3DoclistPrev(int,char*,int,char**,sqlite3_int64*,int*,u8*); +SQLITE_PRIVATE int sqlite3Fts3EvalPhraseStats(Fts3Cursor *, Fts3Expr *, u32 *); +SQLITE_PRIVATE int sqlite3Fts3FirstFilter(sqlite3_int64, char *, int, char *); +SQLITE_PRIVATE void sqlite3Fts3CreateStatTable(int*, Fts3Table*); +SQLITE_PRIVATE int sqlite3Fts3EvalTestDeferred(Fts3Cursor *pCsr, int *pRc); + +/* fts3_tokenizer.c */ +SQLITE_PRIVATE const char *sqlite3Fts3NextToken(const char *, int *); +SQLITE_PRIVATE int sqlite3Fts3InitHashTable(sqlite3 *, Fts3Hash *, const char *); +SQLITE_PRIVATE int sqlite3Fts3InitTokenizer(Fts3Hash *pHash, const char *, + sqlite3_tokenizer **, char ** +); +SQLITE_PRIVATE int sqlite3Fts3IsIdChar(char); + +/* fts3_snippet.c */ +SQLITE_PRIVATE void sqlite3Fts3Offsets(sqlite3_context*, Fts3Cursor*); +SQLITE_PRIVATE void sqlite3Fts3Snippet(sqlite3_context *, Fts3Cursor *, const char *, + const char *, const char *, int, int +); +SQLITE_PRIVATE void sqlite3Fts3Matchinfo(sqlite3_context *, Fts3Cursor *, const char *); +SQLITE_PRIVATE void sqlite3Fts3MIBufferFree(MatchinfoBuffer *p); + +/* fts3_expr.c */ +SQLITE_PRIVATE int sqlite3Fts3ExprParse(sqlite3_tokenizer *, int, + char **, int, int, int, const char *, int, Fts3Expr **, char ** +); +SQLITE_PRIVATE void sqlite3Fts3ExprFree(Fts3Expr *); +#ifdef SQLITE_TEST +SQLITE_PRIVATE int sqlite3Fts3ExprInitTestInterface(sqlite3 *db, Fts3Hash*); +SQLITE_PRIVATE int sqlite3Fts3InitTerm(sqlite3 *db); +#endif + +SQLITE_PRIVATE int sqlite3Fts3OpenTokenizer(sqlite3_tokenizer *, int, const char *, int, + sqlite3_tokenizer_cursor ** +); + +/* fts3_aux.c */ +SQLITE_PRIVATE int sqlite3Fts3InitAux(sqlite3 *db); + +SQLITE_PRIVATE void sqlite3Fts3EvalPhraseCleanup(Fts3Phrase *); + +SQLITE_PRIVATE int sqlite3Fts3MsrIncrStart( + Fts3Table*, Fts3MultiSegReader*, int, const char*, int); +SQLITE_PRIVATE int sqlite3Fts3MsrIncrNext( + Fts3Table *, Fts3MultiSegReader *, sqlite3_int64 *, char **, int *); +SQLITE_PRIVATE int sqlite3Fts3EvalPhrasePoslist(Fts3Cursor *, Fts3Expr *, int iCol, char **); +SQLITE_PRIVATE int sqlite3Fts3MsrOvfl(Fts3Cursor *, Fts3MultiSegReader *, int *); +SQLITE_PRIVATE int sqlite3Fts3MsrIncrRestart(Fts3MultiSegReader *pCsr); + +/* fts3_tokenize_vtab.c */ +SQLITE_PRIVATE int sqlite3Fts3InitTok(sqlite3*, Fts3Hash *); + +/* fts3_unicode2.c (functions generated by parsing unicode text files) */ +#ifndef SQLITE_DISABLE_FTS3_UNICODE +SQLITE_PRIVATE int sqlite3FtsUnicodeFold(int, int); +SQLITE_PRIVATE int sqlite3FtsUnicodeIsalnum(int); +SQLITE_PRIVATE int sqlite3FtsUnicodeIsdiacritic(int); +#endif + +#endif /* !SQLITE_CORE || SQLITE_ENABLE_FTS3 */ +#endif /* _FTSINT_H */ + +/************** End of fts3Int.h *********************************************/ +/************** Continuing where we left off in fts3.c ***********************/ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) + +#if defined(SQLITE_ENABLE_FTS3) && !defined(SQLITE_CORE) +# define SQLITE_CORE 1 +#endif + +/* #include */ +/* #include */ +/* #include */ +/* #include */ +/* #include */ +/* #include */ + +/* #include "fts3.h" */ +#ifndef SQLITE_CORE +/* # include "sqlite3ext.h" */ + SQLITE_EXTENSION_INIT1 +#endif + +/* +** The following are copied from sqliteInt.h. +** +** Constants for the largest and smallest possible 64-bit signed integers. +** These macros are designed to work correctly on both 32-bit and 64-bit +** compilers. +*/ +#ifndef SQLITE_AMALGAMATION +# define LARGEST_INT64 (0xffffffff|(((sqlite3_int64)0x7fffffff)<<32)) +# define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64) +#endif + +static int fts3EvalNext(Fts3Cursor *pCsr); +static int fts3EvalStart(Fts3Cursor *pCsr); +static int fts3TermSegReaderCursor( + Fts3Cursor *, const char *, int, int, Fts3MultiSegReader **); + +#ifndef SQLITE_AMALGAMATION +# if defined(SQLITE_DEBUG) +SQLITE_PRIVATE int sqlite3Fts3Always(int b) { assert( b ); return b; } +SQLITE_PRIVATE int sqlite3Fts3Never(int b) { assert( !b ); return b; } +# endif +#endif + +/* +** This variable is set to false when running tests for which the on disk +** structures should not be corrupt. Otherwise, true. If it is false, extra +** assert() conditions in the fts3 code are activated - conditions that are +** only true if it is guaranteed that the fts3 database is not corrupt. +*/ +SQLITE_API int sqlite3_fts3_may_be_corrupt = 1; + +/* +** Write a 64-bit variable-length integer to memory starting at p[0]. +** The length of data written will be between 1 and FTS3_VARINT_MAX bytes. +** The number of bytes written is returned. +*/ +SQLITE_PRIVATE int sqlite3Fts3PutVarint(char *p, sqlite_int64 v){ + unsigned char *q = (unsigned char *) p; + sqlite_uint64 vu = v; + do{ + *q++ = (unsigned char) ((vu & 0x7f) | 0x80); + vu >>= 7; + }while( vu!=0 ); + q[-1] &= 0x7f; /* turn off high bit in final byte */ + assert( q - (unsigned char *)p <= FTS3_VARINT_MAX ); + return (int) (q - (unsigned char *)p); +} + +#define GETVARINT_STEP(v, ptr, shift, mask1, mask2, var, ret) \ + v = (v & mask1) | ( (*(const unsigned char*)(ptr++)) << shift ); \ + if( (v & mask2)==0 ){ var = v; return ret; } +#define GETVARINT_INIT(v, ptr, shift, mask1, mask2, var, ret) \ + v = (*ptr++); \ + if( (v & mask2)==0 ){ var = v; return ret; } + +/* +** Read a 64-bit variable-length integer from memory starting at p[0]. +** Return the number of bytes read, or 0 on error. +** The value is stored in *v. +*/ +SQLITE_PRIVATE int sqlite3Fts3GetVarint(const char *pBuf, sqlite_int64 *v){ + const unsigned char *p = (const unsigned char*)pBuf; + const unsigned char *pStart = p; + u32 a; + u64 b; + int shift; + + GETVARINT_INIT(a, p, 0, 0x00, 0x80, *v, 1); + GETVARINT_STEP(a, p, 7, 0x7F, 0x4000, *v, 2); + GETVARINT_STEP(a, p, 14, 0x3FFF, 0x200000, *v, 3); + GETVARINT_STEP(a, p, 21, 0x1FFFFF, 0x10000000, *v, 4); + b = (a & 0x0FFFFFFF ); + + for(shift=28; shift<=63; shift+=7){ + u64 c = *p++; + b += (c&0x7F) << shift; + if( (c & 0x80)==0 ) break; + } + *v = b; + return (int)(p - pStart); +} + +/* +** Similar to sqlite3Fts3GetVarint(), except that the output is truncated to +** a non-negative 32-bit integer before it is returned. +*/ +SQLITE_PRIVATE int sqlite3Fts3GetVarint32(const char *p, int *pi){ + const unsigned char *ptr = (const unsigned char*)p; + u32 a; + +#ifndef fts3GetVarint32 + GETVARINT_INIT(a, ptr, 0, 0x00, 0x80, *pi, 1); +#else + a = (*ptr++); + assert( a & 0x80 ); +#endif + + GETVARINT_STEP(a, ptr, 7, 0x7F, 0x4000, *pi, 2); + GETVARINT_STEP(a, ptr, 14, 0x3FFF, 0x200000, *pi, 3); + GETVARINT_STEP(a, ptr, 21, 0x1FFFFF, 0x10000000, *pi, 4); + a = (a & 0x0FFFFFFF ); + *pi = (int)(a | ((u32)(*ptr & 0x07) << 28)); + assert( 0==(a & 0x80000000) ); + assert( *pi>=0 ); + return 5; +} + +/* +** Return the number of bytes required to encode v as a varint +*/ +SQLITE_PRIVATE int sqlite3Fts3VarintLen(sqlite3_uint64 v){ + int i = 0; + do{ + i++; + v >>= 7; + }while( v!=0 ); + return i; +} + +/* +** Convert an SQL-style quoted string into a normal string by removing +** the quote characters. The conversion is done in-place. If the +** input does not begin with a quote character, then this routine +** is a no-op. +** +** Examples: +** +** "abc" becomes abc +** 'xyz' becomes xyz +** [pqr] becomes pqr +** `mno` becomes mno +** +*/ +SQLITE_PRIVATE void sqlite3Fts3Dequote(char *z){ + char quote; /* Quote character (if any ) */ + + quote = z[0]; + if( quote=='[' || quote=='\'' || quote=='"' || quote=='`' ){ + int iIn = 1; /* Index of next byte to read from input */ + int iOut = 0; /* Index of next byte to write to output */ + + /* If the first byte was a '[', then the close-quote character is a ']' */ + if( quote=='[' ) quote = ']'; + + while( z[iIn] ){ + if( z[iIn]==quote ){ + if( z[iIn+1]!=quote ) break; + z[iOut++] = quote; + iIn += 2; + }else{ + z[iOut++] = z[iIn++]; + } + } + z[iOut] = '\0'; + } +} + +/* +** Read a single varint from the doclist at *pp and advance *pp to point +** to the first byte past the end of the varint. Add the value of the varint +** to *pVal. +*/ +static void fts3GetDeltaVarint(char **pp, sqlite3_int64 *pVal){ + sqlite3_int64 iVal; + *pp += sqlite3Fts3GetVarint(*pp, &iVal); + *pVal += iVal; +} + +/* +** When this function is called, *pp points to the first byte following a +** varint that is part of a doclist (or position-list, or any other list +** of varints). This function moves *pp to point to the start of that varint, +** and sets *pVal by the varint value. +** +** Argument pStart points to the first byte of the doclist that the +** varint is part of. +*/ +static void fts3GetReverseVarint( + char **pp, + char *pStart, + sqlite3_int64 *pVal +){ + sqlite3_int64 iVal; + char *p; + + /* Pointer p now points at the first byte past the varint we are + ** interested in. So, unless the doclist is corrupt, the 0x80 bit is + ** clear on character p[-1]. */ + for(p = (*pp)-2; p>=pStart && *p&0x80; p--); + p++; + *pp = p; + + sqlite3Fts3GetVarint(p, &iVal); + *pVal = iVal; +} + +/* +** The xDisconnect() virtual table method. +*/ +static int fts3DisconnectMethod(sqlite3_vtab *pVtab){ + Fts3Table *p = (Fts3Table *)pVtab; + int i; + + assert( p->nPendingData==0 ); + assert( p->pSegments==0 ); + + /* Free any prepared statements held */ + sqlite3_finalize(p->pSeekStmt); + for(i=0; iaStmt); i++){ + sqlite3_finalize(p->aStmt[i]); + } + sqlite3_free(p->zSegmentsTbl); + sqlite3_free(p->zReadExprlist); + sqlite3_free(p->zWriteExprlist); + sqlite3_free(p->zContentTbl); + sqlite3_free(p->zLanguageid); + + /* Invoke the tokenizer destructor to free the tokenizer. */ + p->pTokenizer->pModule->xDestroy(p->pTokenizer); + + sqlite3_free(p); + return SQLITE_OK; +} + +/* +** Write an error message into *pzErr +*/ +SQLITE_PRIVATE void sqlite3Fts3ErrMsg(char **pzErr, const char *zFormat, ...){ + va_list ap; + sqlite3_free(*pzErr); + va_start(ap, zFormat); + *pzErr = sqlite3_vmprintf(zFormat, ap); + va_end(ap); +} + +/* +** Construct one or more SQL statements from the format string given +** and then evaluate those statements. The success code is written +** into *pRc. +** +** If *pRc is initially non-zero then this routine is a no-op. +*/ +static void fts3DbExec( + int *pRc, /* Success code */ + sqlite3 *db, /* Database in which to run SQL */ + const char *zFormat, /* Format string for SQL */ + ... /* Arguments to the format string */ +){ + va_list ap; + char *zSql; + if( *pRc ) return; + va_start(ap, zFormat); + zSql = sqlite3_vmprintf(zFormat, ap); + va_end(ap); + if( zSql==0 ){ + *pRc = SQLITE_NOMEM; + }else{ + *pRc = sqlite3_exec(db, zSql, 0, 0, 0); + sqlite3_free(zSql); + } +} + +/* +** The xDestroy() virtual table method. +*/ +static int fts3DestroyMethod(sqlite3_vtab *pVtab){ + Fts3Table *p = (Fts3Table *)pVtab; + int rc = SQLITE_OK; /* Return code */ + const char *zDb = p->zDb; /* Name of database (e.g. "main", "temp") */ + sqlite3 *db = p->db; /* Database handle */ + + /* Drop the shadow tables */ + fts3DbExec(&rc, db, + "DROP TABLE IF EXISTS %Q.'%q_segments';" + "DROP TABLE IF EXISTS %Q.'%q_segdir';" + "DROP TABLE IF EXISTS %Q.'%q_docsize';" + "DROP TABLE IF EXISTS %Q.'%q_stat';" + "%s DROP TABLE IF EXISTS %Q.'%q_content';", + zDb, p->zName, + zDb, p->zName, + zDb, p->zName, + zDb, p->zName, + (p->zContentTbl ? "--" : ""), zDb,p->zName + ); + + /* If everything has worked, invoke fts3DisconnectMethod() to free the + ** memory associated with the Fts3Table structure and return SQLITE_OK. + ** Otherwise, return an SQLite error code. + */ + return (rc==SQLITE_OK ? fts3DisconnectMethod(pVtab) : rc); +} + + +/* +** Invoke sqlite3_declare_vtab() to declare the schema for the FTS3 table +** passed as the first argument. This is done as part of the xConnect() +** and xCreate() methods. +** +** If *pRc is non-zero when this function is called, it is a no-op. +** Otherwise, if an error occurs, an SQLite error code is stored in *pRc +** before returning. +*/ +static void fts3DeclareVtab(int *pRc, Fts3Table *p){ + if( *pRc==SQLITE_OK ){ + int i; /* Iterator variable */ + int rc; /* Return code */ + char *zSql; /* SQL statement passed to declare_vtab() */ + char *zCols; /* List of user defined columns */ + const char *zLanguageid; + + zLanguageid = (p->zLanguageid ? p->zLanguageid : "__langid"); + sqlite3_vtab_config(p->db, SQLITE_VTAB_CONSTRAINT_SUPPORT, 1); + + /* Create a list of user columns for the virtual table */ + zCols = sqlite3_mprintf("%Q, ", p->azColumn[0]); + for(i=1; zCols && inColumn; i++){ + zCols = sqlite3_mprintf("%z%Q, ", zCols, p->azColumn[i]); + } + + /* Create the whole "CREATE TABLE" statement to pass to SQLite */ + zSql = sqlite3_mprintf( + "CREATE TABLE x(%s %Q HIDDEN, docid HIDDEN, %Q HIDDEN)", + zCols, p->zName, zLanguageid + ); + if( !zCols || !zSql ){ + rc = SQLITE_NOMEM; + }else{ + rc = sqlite3_declare_vtab(p->db, zSql); + } + + sqlite3_free(zSql); + sqlite3_free(zCols); + *pRc = rc; + } +} + +/* +** Create the %_stat table if it does not already exist. +*/ +SQLITE_PRIVATE void sqlite3Fts3CreateStatTable(int *pRc, Fts3Table *p){ + fts3DbExec(pRc, p->db, + "CREATE TABLE IF NOT EXISTS %Q.'%q_stat'" + "(id INTEGER PRIMARY KEY, value BLOB);", + p->zDb, p->zName + ); + if( (*pRc)==SQLITE_OK ) p->bHasStat = 1; +} + +/* +** Create the backing store tables (%_content, %_segments and %_segdir) +** required by the FTS3 table passed as the only argument. This is done +** as part of the vtab xCreate() method. +** +** If the p->bHasDocsize boolean is true (indicating that this is an +** FTS4 table, not an FTS3 table) then also create the %_docsize and +** %_stat tables required by FTS4. +*/ +static int fts3CreateTables(Fts3Table *p){ + int rc = SQLITE_OK; /* Return code */ + int i; /* Iterator variable */ + sqlite3 *db = p->db; /* The database connection */ + + if( p->zContentTbl==0 ){ + const char *zLanguageid = p->zLanguageid; + char *zContentCols; /* Columns of %_content table */ + + /* Create a list of user columns for the content table */ + zContentCols = sqlite3_mprintf("docid INTEGER PRIMARY KEY"); + for(i=0; zContentCols && inColumn; i++){ + char *z = p->azColumn[i]; + zContentCols = sqlite3_mprintf("%z, 'c%d%q'", zContentCols, i, z); + } + if( zLanguageid && zContentCols ){ + zContentCols = sqlite3_mprintf("%z, langid", zContentCols, zLanguageid); + } + if( zContentCols==0 ) rc = SQLITE_NOMEM; + + /* Create the content table */ + fts3DbExec(&rc, db, + "CREATE TABLE %Q.'%q_content'(%s)", + p->zDb, p->zName, zContentCols + ); + sqlite3_free(zContentCols); + } + + /* Create other tables */ + fts3DbExec(&rc, db, + "CREATE TABLE %Q.'%q_segments'(blockid INTEGER PRIMARY KEY, block BLOB);", + p->zDb, p->zName + ); + fts3DbExec(&rc, db, + "CREATE TABLE %Q.'%q_segdir'(" + "level INTEGER," + "idx INTEGER," + "start_block INTEGER," + "leaves_end_block INTEGER," + "end_block INTEGER," + "root BLOB," + "PRIMARY KEY(level, idx)" + ");", + p->zDb, p->zName + ); + if( p->bHasDocsize ){ + fts3DbExec(&rc, db, + "CREATE TABLE %Q.'%q_docsize'(docid INTEGER PRIMARY KEY, size BLOB);", + p->zDb, p->zName + ); + } + assert( p->bHasStat==p->bFts4 ); + if( p->bHasStat ){ + sqlite3Fts3CreateStatTable(&rc, p); + } + return rc; +} + +/* +** Store the current database page-size in bytes in p->nPgsz. +** +** If *pRc is non-zero when this function is called, it is a no-op. +** Otherwise, if an error occurs, an SQLite error code is stored in *pRc +** before returning. +*/ +static void fts3DatabasePageSize(int *pRc, Fts3Table *p){ + if( *pRc==SQLITE_OK ){ + int rc; /* Return code */ + char *zSql; /* SQL text "PRAGMA %Q.page_size" */ + sqlite3_stmt *pStmt; /* Compiled "PRAGMA %Q.page_size" statement */ + + zSql = sqlite3_mprintf("PRAGMA %Q.page_size", p->zDb); + if( !zSql ){ + rc = SQLITE_NOMEM; + }else{ + rc = sqlite3_prepare(p->db, zSql, -1, &pStmt, 0); + if( rc==SQLITE_OK ){ + sqlite3_step(pStmt); + p->nPgsz = sqlite3_column_int(pStmt, 0); + rc = sqlite3_finalize(pStmt); + }else if( rc==SQLITE_AUTH ){ + p->nPgsz = 1024; + rc = SQLITE_OK; + } + } + assert( p->nPgsz>0 || rc!=SQLITE_OK ); + sqlite3_free(zSql); + *pRc = rc; + } +} + +/* +** "Special" FTS4 arguments are column specifications of the following form: +** +** = +** +** There may not be whitespace surrounding the "=" character. The +** term may be quoted, but the may not. +*/ +static int fts3IsSpecialColumn( + const char *z, + int *pnKey, + char **pzValue +){ + char *zValue; + const char *zCsr = z; + + while( *zCsr!='=' ){ + if( *zCsr=='\0' ) return 0; + zCsr++; + } + + *pnKey = (int)(zCsr-z); + zValue = sqlite3_mprintf("%s", &zCsr[1]); + if( zValue ){ + sqlite3Fts3Dequote(zValue); + } + *pzValue = zValue; + return 1; +} + +/* +** Append the output of a printf() style formatting to an existing string. +*/ +static void fts3Appendf( + int *pRc, /* IN/OUT: Error code */ + char **pz, /* IN/OUT: Pointer to string buffer */ + const char *zFormat, /* Printf format string to append */ + ... /* Arguments for printf format string */ +){ + if( *pRc==SQLITE_OK ){ + va_list ap; + char *z; + va_start(ap, zFormat); + z = sqlite3_vmprintf(zFormat, ap); + va_end(ap); + if( z && *pz ){ + char *z2 = sqlite3_mprintf("%s%s", *pz, z); + sqlite3_free(z); + z = z2; + } + if( z==0 ) *pRc = SQLITE_NOMEM; + sqlite3_free(*pz); + *pz = z; + } +} + +/* +** Return a copy of input string zInput enclosed in double-quotes (") and +** with all double quote characters escaped. For example: +** +** fts3QuoteId("un \"zip\"") -> "un \"\"zip\"\"" +** +** The pointer returned points to memory obtained from sqlite3_malloc(). It +** is the callers responsibility to call sqlite3_free() to release this +** memory. +*/ +static char *fts3QuoteId(char const *zInput){ + sqlite3_int64 nRet; + char *zRet; + nRet = 2 + (int)strlen(zInput)*2 + 1; + zRet = sqlite3_malloc64(nRet); + if( zRet ){ + int i; + char *z = zRet; + *(z++) = '"'; + for(i=0; zInput[i]; i++){ + if( zInput[i]=='"' ) *(z++) = '"'; + *(z++) = zInput[i]; + } + *(z++) = '"'; + *(z++) = '\0'; + } + return zRet; +} + +/* +** Return a list of comma separated SQL expressions and a FROM clause that +** could be used in a SELECT statement such as the following: +** +** SELECT FROM %_content AS x ... +** +** to return the docid, followed by each column of text data in order +** from left to write. If parameter zFunc is not NULL, then instead of +** being returned directly each column of text data is passed to an SQL +** function named zFunc first. For example, if zFunc is "unzip" and the +** table has the three user-defined columns "a", "b", and "c", the following +** string is returned: +** +** "docid, unzip(x.'a'), unzip(x.'b'), unzip(x.'c') FROM %_content AS x" +** +** The pointer returned points to a buffer allocated by sqlite3_malloc(). It +** is the responsibility of the caller to eventually free it. +** +** If *pRc is not SQLITE_OK when this function is called, it is a no-op (and +** a NULL pointer is returned). Otherwise, if an OOM error is encountered +** by this function, NULL is returned and *pRc is set to SQLITE_NOMEM. If +** no error occurs, *pRc is left unmodified. +*/ +static char *fts3ReadExprList(Fts3Table *p, const char *zFunc, int *pRc){ + char *zRet = 0; + char *zFree = 0; + char *zFunction; + int i; + + if( p->zContentTbl==0 ){ + if( !zFunc ){ + zFunction = ""; + }else{ + zFree = zFunction = fts3QuoteId(zFunc); + } + fts3Appendf(pRc, &zRet, "docid"); + for(i=0; inColumn; i++){ + fts3Appendf(pRc, &zRet, ",%s(x.'c%d%q')", zFunction, i, p->azColumn[i]); + } + if( p->zLanguageid ){ + fts3Appendf(pRc, &zRet, ", x.%Q", "langid"); + } + sqlite3_free(zFree); + }else{ + fts3Appendf(pRc, &zRet, "rowid"); + for(i=0; inColumn; i++){ + fts3Appendf(pRc, &zRet, ", x.'%q'", p->azColumn[i]); + } + if( p->zLanguageid ){ + fts3Appendf(pRc, &zRet, ", x.%Q", p->zLanguageid); + } + } + fts3Appendf(pRc, &zRet, " FROM '%q'.'%q%s' AS x", + p->zDb, + (p->zContentTbl ? p->zContentTbl : p->zName), + (p->zContentTbl ? "" : "_content") + ); + return zRet; +} + +/* +** Return a list of N comma separated question marks, where N is the number +** of columns in the %_content table (one for the docid plus one for each +** user-defined text column). +** +** If argument zFunc is not NULL, then all but the first question mark +** is preceded by zFunc and an open bracket, and followed by a closed +** bracket. For example, if zFunc is "zip" and the FTS3 table has three +** user-defined text columns, the following string is returned: +** +** "?, zip(?), zip(?), zip(?)" +** +** The pointer returned points to a buffer allocated by sqlite3_malloc(). It +** is the responsibility of the caller to eventually free it. +** +** If *pRc is not SQLITE_OK when this function is called, it is a no-op (and +** a NULL pointer is returned). Otherwise, if an OOM error is encountered +** by this function, NULL is returned and *pRc is set to SQLITE_NOMEM. If +** no error occurs, *pRc is left unmodified. +*/ +static char *fts3WriteExprList(Fts3Table *p, const char *zFunc, int *pRc){ + char *zRet = 0; + char *zFree = 0; + char *zFunction; + int i; + + if( !zFunc ){ + zFunction = ""; + }else{ + zFree = zFunction = fts3QuoteId(zFunc); + } + fts3Appendf(pRc, &zRet, "?"); + for(i=0; inColumn; i++){ + fts3Appendf(pRc, &zRet, ",%s(?)", zFunction); + } + if( p->zLanguageid ){ + fts3Appendf(pRc, &zRet, ", ?"); + } + sqlite3_free(zFree); + return zRet; +} + +/* +** This function interprets the string at (*pp) as a non-negative integer +** value. It reads the integer and sets *pnOut to the value read, then +** sets *pp to point to the byte immediately following the last byte of +** the integer value. +** +** Only decimal digits ('0'..'9') may be part of an integer value. +** +** If *pp does not being with a decimal digit SQLITE_ERROR is returned and +** the output value undefined. Otherwise SQLITE_OK is returned. +** +** This function is used when parsing the "prefix=" FTS4 parameter. +*/ +static int fts3GobbleInt(const char **pp, int *pnOut){ + const int MAX_NPREFIX = 10000000; + const char *p; /* Iterator pointer */ + int nInt = 0; /* Output value */ + + for(p=*pp; p[0]>='0' && p[0]<='9'; p++){ + nInt = nInt * 10 + (p[0] - '0'); + if( nInt>MAX_NPREFIX ){ + nInt = 0; + break; + } + } + if( p==*pp ) return SQLITE_ERROR; + *pnOut = nInt; + *pp = p; + return SQLITE_OK; +} + +/* +** This function is called to allocate an array of Fts3Index structures +** representing the indexes maintained by the current FTS table. FTS tables +** always maintain the main "terms" index, but may also maintain one or +** more "prefix" indexes, depending on the value of the "prefix=" parameter +** (if any) specified as part of the CREATE VIRTUAL TABLE statement. +** +** Argument zParam is passed the value of the "prefix=" option if one was +** specified, or NULL otherwise. +** +** If no error occurs, SQLITE_OK is returned and *apIndex set to point to +** the allocated array. *pnIndex is set to the number of elements in the +** array. If an error does occur, an SQLite error code is returned. +** +** Regardless of whether or not an error is returned, it is the responsibility +** of the caller to call sqlite3_free() on the output array to free it. +*/ +static int fts3PrefixParameter( + const char *zParam, /* ABC in prefix=ABC parameter to parse */ + int *pnIndex, /* OUT: size of *apIndex[] array */ + struct Fts3Index **apIndex /* OUT: Array of indexes for this table */ +){ + struct Fts3Index *aIndex; /* Allocated array */ + int nIndex = 1; /* Number of entries in array */ + + if( zParam && zParam[0] ){ + const char *p; + nIndex++; + for(p=zParam; *p; p++){ + if( *p==',' ) nIndex++; + } + } + + aIndex = sqlite3_malloc64(sizeof(struct Fts3Index) * nIndex); + *apIndex = aIndex; + if( !aIndex ){ + return SQLITE_NOMEM; + } + + memset(aIndex, 0, sizeof(struct Fts3Index) * nIndex); + if( zParam ){ + const char *p = zParam; + int i; + for(i=1; i=0 ); + if( nPrefix==0 ){ + nIndex--; + i--; + }else{ + aIndex[i].nPrefix = nPrefix; + } + p++; + } + } + + *pnIndex = nIndex; + return SQLITE_OK; +} + +/* +** This function is called when initializing an FTS4 table that uses the +** content=xxx option. It determines the number of and names of the columns +** of the new FTS4 table. +** +** The third argument passed to this function is the value passed to the +** config=xxx option (i.e. "xxx"). This function queries the database for +** a table of that name. If found, the output variables are populated +** as follows: +** +** *pnCol: Set to the number of columns table xxx has, +** +** *pnStr: Set to the total amount of space required to store a copy +** of each columns name, including the nul-terminator. +** +** *pazCol: Set to point to an array of *pnCol strings. Each string is +** the name of the corresponding column in table xxx. The array +** and its contents are allocated using a single allocation. It +** is the responsibility of the caller to free this allocation +** by eventually passing the *pazCol value to sqlite3_free(). +** +** If the table cannot be found, an error code is returned and the output +** variables are undefined. Or, if an OOM is encountered, SQLITE_NOMEM is +** returned (and the output variables are undefined). +*/ +static int fts3ContentColumns( + sqlite3 *db, /* Database handle */ + const char *zDb, /* Name of db (i.e. "main", "temp" etc.) */ + const char *zTbl, /* Name of content table */ + const char ***pazCol, /* OUT: Malloc'd array of column names */ + int *pnCol, /* OUT: Size of array *pazCol */ + int *pnStr, /* OUT: Bytes of string content */ + char **pzErr /* OUT: error message */ +){ + int rc = SQLITE_OK; /* Return code */ + char *zSql; /* "SELECT *" statement on zTbl */ + sqlite3_stmt *pStmt = 0; /* Compiled version of zSql */ + + zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", zDb, zTbl); + if( !zSql ){ + rc = SQLITE_NOMEM; + }else{ + rc = sqlite3_prepare(db, zSql, -1, &pStmt, 0); + if( rc!=SQLITE_OK ){ + sqlite3Fts3ErrMsg(pzErr, "%s", sqlite3_errmsg(db)); + } + } + sqlite3_free(zSql); + + if( rc==SQLITE_OK ){ + const char **azCol; /* Output array */ + sqlite3_int64 nStr = 0; /* Size of all column names (incl. 0x00) */ + int nCol; /* Number of table columns */ + int i; /* Used to iterate through columns */ + + /* Loop through the returned columns. Set nStr to the number of bytes of + ** space required to store a copy of each column name, including the + ** nul-terminator byte. */ + nCol = sqlite3_column_count(pStmt); + for(i=0; i module name ("fts3" or "fts4") +** argv[1] -> database name +** argv[2] -> table name +** argv[...] -> "column name" and other module argument fields. +*/ +static int fts3InitVtab( + int isCreate, /* True for xCreate, false for xConnect */ + sqlite3 *db, /* The SQLite database connection */ + void *pAux, /* Hash table containing tokenizers */ + int argc, /* Number of elements in argv array */ + const char * const *argv, /* xCreate/xConnect argument array */ + sqlite3_vtab **ppVTab, /* Write the resulting vtab structure here */ + char **pzErr /* Write any error message here */ +){ + Fts3Hash *pHash = (Fts3Hash *)pAux; + Fts3Table *p = 0; /* Pointer to allocated vtab */ + int rc = SQLITE_OK; /* Return code */ + int i; /* Iterator variable */ + sqlite3_int64 nByte; /* Size of allocation used for *p */ + int iCol; /* Column index */ + int nString = 0; /* Bytes required to hold all column names */ + int nCol = 0; /* Number of columns in the FTS table */ + char *zCsr; /* Space for holding column names */ + int nDb; /* Bytes required to hold database name */ + int nName; /* Bytes required to hold table name */ + int isFts4 = (argv[0][3]=='4'); /* True for FTS4, false for FTS3 */ + const char **aCol; /* Array of column names */ + sqlite3_tokenizer *pTokenizer = 0; /* Tokenizer for this table */ + + int nIndex = 0; /* Size of aIndex[] array */ + struct Fts3Index *aIndex = 0; /* Array of indexes for this table */ + + /* The results of parsing supported FTS4 key=value options: */ + int bNoDocsize = 0; /* True to omit %_docsize table */ + int bDescIdx = 0; /* True to store descending indexes */ + char *zPrefix = 0; /* Prefix parameter value (or NULL) */ + char *zCompress = 0; /* compress=? parameter (or NULL) */ + char *zUncompress = 0; /* uncompress=? parameter (or NULL) */ + char *zContent = 0; /* content=? parameter (or NULL) */ + char *zLanguageid = 0; /* languageid=? parameter (or NULL) */ + char **azNotindexed = 0; /* The set of notindexed= columns */ + int nNotindexed = 0; /* Size of azNotindexed[] array */ + + assert( strlen(argv[0])==4 ); + assert( (sqlite3_strnicmp(argv[0], "fts4", 4)==0 && isFts4) + || (sqlite3_strnicmp(argv[0], "fts3", 4)==0 && !isFts4) + ); + + nDb = (int)strlen(argv[1]) + 1; + nName = (int)strlen(argv[2]) + 1; + + nByte = sizeof(const char *) * (argc-2); + aCol = (const char **)sqlite3_malloc64(nByte); + if( aCol ){ + memset((void*)aCol, 0, nByte); + azNotindexed = (char **)sqlite3_malloc64(nByte); + } + if( azNotindexed ){ + memset(azNotindexed, 0, nByte); + } + if( !aCol || !azNotindexed ){ + rc = SQLITE_NOMEM; + goto fts3_init_out; + } + + /* Loop through all of the arguments passed by the user to the FTS3/4 + ** module (i.e. all the column names and special arguments). This loop + ** does the following: + ** + ** + Figures out the number of columns the FTSX table will have, and + ** the number of bytes of space that must be allocated to store copies + ** of the column names. + ** + ** + If there is a tokenizer specification included in the arguments, + ** initializes the tokenizer pTokenizer. + */ + for(i=3; rc==SQLITE_OK && i8 + && 0==sqlite3_strnicmp(z, "tokenize", 8) + && 0==sqlite3Fts3IsIdChar(z[8]) + ){ + rc = sqlite3Fts3InitTokenizer(pHash, &z[9], &pTokenizer, pzErr); + } + + /* Check if it is an FTS4 special argument. */ + else if( isFts4 && fts3IsSpecialColumn(z, &nKey, &zVal) ){ + struct Fts4Option { + const char *zOpt; + int nOpt; + } aFts4Opt[] = { + { "matchinfo", 9 }, /* 0 -> MATCHINFO */ + { "prefix", 6 }, /* 1 -> PREFIX */ + { "compress", 8 }, /* 2 -> COMPRESS */ + { "uncompress", 10 }, /* 3 -> UNCOMPRESS */ + { "order", 5 }, /* 4 -> ORDER */ + { "content", 7 }, /* 5 -> CONTENT */ + { "languageid", 10 }, /* 6 -> LANGUAGEID */ + { "notindexed", 10 } /* 7 -> NOTINDEXED */ + }; + + int iOpt; + if( !zVal ){ + rc = SQLITE_NOMEM; + }else{ + for(iOpt=0; iOptnOpt && !sqlite3_strnicmp(z, pOp->zOpt, pOp->nOpt) ){ + break; + } + } + switch( iOpt ){ + case 0: /* MATCHINFO */ + if( strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "fts3", 4) ){ + sqlite3Fts3ErrMsg(pzErr, "unrecognized matchinfo: %s", zVal); + rc = SQLITE_ERROR; + } + bNoDocsize = 1; + break; + + case 1: /* PREFIX */ + sqlite3_free(zPrefix); + zPrefix = zVal; + zVal = 0; + break; + + case 2: /* COMPRESS */ + sqlite3_free(zCompress); + zCompress = zVal; + zVal = 0; + break; + + case 3: /* UNCOMPRESS */ + sqlite3_free(zUncompress); + zUncompress = zVal; + zVal = 0; + break; + + case 4: /* ORDER */ + if( (strlen(zVal)!=3 || sqlite3_strnicmp(zVal, "asc", 3)) + && (strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "desc", 4)) + ){ + sqlite3Fts3ErrMsg(pzErr, "unrecognized order: %s", zVal); + rc = SQLITE_ERROR; + } + bDescIdx = (zVal[0]=='d' || zVal[0]=='D'); + break; + + case 5: /* CONTENT */ + sqlite3_free(zContent); + zContent = zVal; + zVal = 0; + break; + + case 6: /* LANGUAGEID */ + assert( iOpt==6 ); + sqlite3_free(zLanguageid); + zLanguageid = zVal; + zVal = 0; + break; + + case 7: /* NOTINDEXED */ + azNotindexed[nNotindexed++] = zVal; + zVal = 0; + break; + + default: + assert( iOpt==SizeofArray(aFts4Opt) ); + sqlite3Fts3ErrMsg(pzErr, "unrecognized parameter: %s", z); + rc = SQLITE_ERROR; + break; + } + sqlite3_free(zVal); + } + } + + /* Otherwise, the argument is a column name. */ + else { + nString += (int)(strlen(z) + 1); + aCol[nCol++] = z; + } + } + + /* If a content=xxx option was specified, the following: + ** + ** 1. Ignore any compress= and uncompress= options. + ** + ** 2. If no column names were specified as part of the CREATE VIRTUAL + ** TABLE statement, use all columns from the content table. + */ + if( rc==SQLITE_OK && zContent ){ + sqlite3_free(zCompress); + sqlite3_free(zUncompress); + zCompress = 0; + zUncompress = 0; + if( nCol==0 ){ + sqlite3_free((void*)aCol); + aCol = 0; + rc = fts3ContentColumns(db, argv[1], zContent,&aCol,&nCol,&nString,pzErr); + + /* If a languageid= option was specified, remove the language id + ** column from the aCol[] array. */ + if( rc==SQLITE_OK && zLanguageid ){ + int j; + for(j=0; jdb = db; + p->nColumn = nCol; + p->nPendingData = 0; + p->azColumn = (char **)&p[1]; + p->pTokenizer = pTokenizer; + p->nMaxPendingData = FTS3_MAX_PENDING_DATA; + p->bHasDocsize = (isFts4 && bNoDocsize==0); + p->bHasStat = (u8)isFts4; + p->bFts4 = (u8)isFts4; + p->bDescIdx = (u8)bDescIdx; + p->nAutoincrmerge = 0xff; /* 0xff means setting unknown */ + p->zContentTbl = zContent; + p->zLanguageid = zLanguageid; + zContent = 0; + zLanguageid = 0; + TESTONLY( p->inTransaction = -1 ); + TESTONLY( p->mxSavepoint = -1 ); + + p->aIndex = (struct Fts3Index *)&p->azColumn[nCol]; + memcpy(p->aIndex, aIndex, sizeof(struct Fts3Index) * nIndex); + p->nIndex = nIndex; + for(i=0; iaIndex[i].hPending, FTS3_HASH_STRING, 1); + } + p->abNotindexed = (u8 *)&p->aIndex[nIndex]; + + /* Fill in the zName and zDb fields of the vtab structure. */ + zCsr = (char *)&p->abNotindexed[nCol]; + p->zName = zCsr; + memcpy(zCsr, argv[2], nName); + zCsr += nName; + p->zDb = zCsr; + memcpy(zCsr, argv[1], nDb); + zCsr += nDb; + + /* Fill in the azColumn array */ + for(iCol=0; iCol0 ){ + memcpy(zCsr, z, n); + } + zCsr[n] = '\0'; + sqlite3Fts3Dequote(zCsr); + p->azColumn[iCol] = zCsr; + zCsr += n+1; + assert( zCsr <= &((char *)p)[nByte] ); + } + + /* Fill in the abNotindexed array */ + for(iCol=0; iColazColumn[iCol]); + for(i=0; iazColumn[iCol], zNot, n) + ){ + p->abNotindexed[iCol] = 1; + sqlite3_free(zNot); + azNotindexed[i] = 0; + } + } + } + for(i=0; izReadExprlist = fts3ReadExprList(p, zUncompress, &rc); + p->zWriteExprlist = fts3WriteExprList(p, zCompress, &rc); + if( rc!=SQLITE_OK ) goto fts3_init_out; + + /* If this is an xCreate call, create the underlying tables in the + ** database. TODO: For xConnect(), it could verify that said tables exist. + */ + if( isCreate ){ + rc = fts3CreateTables(p); + } + + /* Check to see if a legacy fts3 table has been "upgraded" by the + ** addition of a %_stat table so that it can use incremental merge. + */ + if( !isFts4 && !isCreate ){ + p->bHasStat = 2; + } + + /* Figure out the page-size for the database. This is required in order to + ** estimate the cost of loading large doclists from the database. */ + fts3DatabasePageSize(&rc, p); + p->nNodeSize = p->nPgsz-35; + + /* Declare the table schema to SQLite. */ + fts3DeclareVtab(&rc, p); + +fts3_init_out: + sqlite3_free(zPrefix); + sqlite3_free(aIndex); + sqlite3_free(zCompress); + sqlite3_free(zUncompress); + sqlite3_free(zContent); + sqlite3_free(zLanguageid); + for(i=0; ipModule->xDestroy(pTokenizer); + } + }else{ + assert( p->pSegments==0 ); + *ppVTab = &p->base; + } + return rc; +} + +/* +** The xConnect() and xCreate() methods for the virtual table. All the +** work is done in function fts3InitVtab(). +*/ +static int fts3ConnectMethod( + sqlite3 *db, /* Database connection */ + void *pAux, /* Pointer to tokenizer hash table */ + int argc, /* Number of elements in argv array */ + const char * const *argv, /* xCreate/xConnect argument array */ + sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */ + char **pzErr /* OUT: sqlite3_malloc'd error message */ +){ + return fts3InitVtab(0, db, pAux, argc, argv, ppVtab, pzErr); +} +static int fts3CreateMethod( + sqlite3 *db, /* Database connection */ + void *pAux, /* Pointer to tokenizer hash table */ + int argc, /* Number of elements in argv array */ + const char * const *argv, /* xCreate/xConnect argument array */ + sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */ + char **pzErr /* OUT: sqlite3_malloc'd error message */ +){ + return fts3InitVtab(1, db, pAux, argc, argv, ppVtab, pzErr); +} + +/* +** Set the pIdxInfo->estimatedRows variable to nRow. Unless this +** extension is currently being used by a version of SQLite too old to +** support estimatedRows. In that case this function is a no-op. +*/ +static void fts3SetEstimatedRows(sqlite3_index_info *pIdxInfo, i64 nRow){ +#if SQLITE_VERSION_NUMBER>=3008002 + if( sqlite3_libversion_number()>=3008002 ){ + pIdxInfo->estimatedRows = nRow; + } +#endif +} + +/* +** Set the SQLITE_INDEX_SCAN_UNIQUE flag in pIdxInfo->flags. Unless this +** extension is currently being used by a version of SQLite too old to +** support index-info flags. In that case this function is a no-op. +*/ +static void fts3SetUniqueFlag(sqlite3_index_info *pIdxInfo){ +#if SQLITE_VERSION_NUMBER>=3008012 + if( sqlite3_libversion_number()>=3008012 ){ + pIdxInfo->idxFlags |= SQLITE_INDEX_SCAN_UNIQUE; + } +#endif +} + +/* +** Implementation of the xBestIndex method for FTS3 tables. There +** are three possible strategies, in order of preference: +** +** 1. Direct lookup by rowid or docid. +** 2. Full-text search using a MATCH operator on a non-docid column. +** 3. Linear scan of %_content table. +*/ +static int fts3BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){ + Fts3Table *p = (Fts3Table *)pVTab; + int i; /* Iterator variable */ + int iCons = -1; /* Index of constraint to use */ + + int iLangidCons = -1; /* Index of langid=x constraint, if present */ + int iDocidGe = -1; /* Index of docid>=x constraint, if present */ + int iDocidLe = -1; /* Index of docid<=x constraint, if present */ + int iIdx; + + /* By default use a full table scan. This is an expensive option, + ** so search through the constraints to see if a more efficient + ** strategy is possible. + */ + pInfo->idxNum = FTS3_FULLSCAN_SEARCH; + pInfo->estimatedCost = 5000000; + for(i=0; inConstraint; i++){ + int bDocid; /* True if this constraint is on docid */ + struct sqlite3_index_constraint *pCons = &pInfo->aConstraint[i]; + if( pCons->usable==0 ){ + if( pCons->op==SQLITE_INDEX_CONSTRAINT_MATCH ){ + /* There exists an unusable MATCH constraint. This means that if + ** the planner does elect to use the results of this call as part + ** of the overall query plan the user will see an "unable to use + ** function MATCH in the requested context" error. To discourage + ** this, return a very high cost here. */ + pInfo->idxNum = FTS3_FULLSCAN_SEARCH; + pInfo->estimatedCost = 1e50; + fts3SetEstimatedRows(pInfo, ((sqlite3_int64)1) << 50); + return SQLITE_OK; + } + continue; + } + + bDocid = (pCons->iColumn<0 || pCons->iColumn==p->nColumn+1); + + /* A direct lookup on the rowid or docid column. Assign a cost of 1.0. */ + if( iCons<0 && pCons->op==SQLITE_INDEX_CONSTRAINT_EQ && bDocid ){ + pInfo->idxNum = FTS3_DOCID_SEARCH; + pInfo->estimatedCost = 1.0; + iCons = i; + } + + /* A MATCH constraint. Use a full-text search. + ** + ** If there is more than one MATCH constraint available, use the first + ** one encountered. If there is both a MATCH constraint and a direct + ** rowid/docid lookup, prefer the MATCH strategy. This is done even + ** though the rowid/docid lookup is faster than a MATCH query, selecting + ** it would lead to an "unable to use function MATCH in the requested + ** context" error. + */ + if( pCons->op==SQLITE_INDEX_CONSTRAINT_MATCH + && pCons->iColumn>=0 && pCons->iColumn<=p->nColumn + ){ + pInfo->idxNum = FTS3_FULLTEXT_SEARCH + pCons->iColumn; + pInfo->estimatedCost = 2.0; + iCons = i; + } + + /* Equality constraint on the langid column */ + if( pCons->op==SQLITE_INDEX_CONSTRAINT_EQ + && pCons->iColumn==p->nColumn + 2 + ){ + iLangidCons = i; + } + + if( bDocid ){ + switch( pCons->op ){ + case SQLITE_INDEX_CONSTRAINT_GE: + case SQLITE_INDEX_CONSTRAINT_GT: + iDocidGe = i; + break; + + case SQLITE_INDEX_CONSTRAINT_LE: + case SQLITE_INDEX_CONSTRAINT_LT: + iDocidLe = i; + break; + } + } + } + + /* If using a docid=? or rowid=? strategy, set the UNIQUE flag. */ + if( pInfo->idxNum==FTS3_DOCID_SEARCH ) fts3SetUniqueFlag(pInfo); + + iIdx = 1; + if( iCons>=0 ){ + pInfo->aConstraintUsage[iCons].argvIndex = iIdx++; + pInfo->aConstraintUsage[iCons].omit = 1; + } + if( iLangidCons>=0 ){ + pInfo->idxNum |= FTS3_HAVE_LANGID; + pInfo->aConstraintUsage[iLangidCons].argvIndex = iIdx++; + } + if( iDocidGe>=0 ){ + pInfo->idxNum |= FTS3_HAVE_DOCID_GE; + pInfo->aConstraintUsage[iDocidGe].argvIndex = iIdx++; + } + if( iDocidLe>=0 ){ + pInfo->idxNum |= FTS3_HAVE_DOCID_LE; + pInfo->aConstraintUsage[iDocidLe].argvIndex = iIdx++; + } + + /* Regardless of the strategy selected, FTS can deliver rows in rowid (or + ** docid) order. Both ascending and descending are possible. + */ + if( pInfo->nOrderBy==1 ){ + struct sqlite3_index_orderby *pOrder = &pInfo->aOrderBy[0]; + if( pOrder->iColumn<0 || pOrder->iColumn==p->nColumn+1 ){ + if( pOrder->desc ){ + pInfo->idxStr = "DESC"; + }else{ + pInfo->idxStr = "ASC"; + } + pInfo->orderByConsumed = 1; + } + } + + assert( p->pSegments==0 ); + return SQLITE_OK; +} + +/* +** Implementation of xOpen method. +*/ +static int fts3OpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){ + sqlite3_vtab_cursor *pCsr; /* Allocated cursor */ + + UNUSED_PARAMETER(pVTab); + + /* Allocate a buffer large enough for an Fts3Cursor structure. If the + ** allocation succeeds, zero it and return SQLITE_OK. Otherwise, + ** if the allocation fails, return SQLITE_NOMEM. + */ + *ppCsr = pCsr = (sqlite3_vtab_cursor *)sqlite3_malloc(sizeof(Fts3Cursor)); + if( !pCsr ){ + return SQLITE_NOMEM; + } + memset(pCsr, 0, sizeof(Fts3Cursor)); + return SQLITE_OK; +} + +/* +** Finalize the statement handle at pCsr->pStmt. +** +** Or, if that statement handle is one created by fts3CursorSeekStmt(), +** and the Fts3Table.pSeekStmt slot is currently NULL, save the statement +** pointer there instead of finalizing it. +*/ +static void fts3CursorFinalizeStmt(Fts3Cursor *pCsr){ + if( pCsr->bSeekStmt ){ + Fts3Table *p = (Fts3Table *)pCsr->base.pVtab; + if( p->pSeekStmt==0 ){ + p->pSeekStmt = pCsr->pStmt; + sqlite3_reset(pCsr->pStmt); + pCsr->pStmt = 0; + } + pCsr->bSeekStmt = 0; + } + sqlite3_finalize(pCsr->pStmt); +} + +/* +** Free all resources currently held by the cursor passed as the only +** argument. +*/ +static void fts3ClearCursor(Fts3Cursor *pCsr){ + fts3CursorFinalizeStmt(pCsr); + sqlite3Fts3FreeDeferredTokens(pCsr); + sqlite3_free(pCsr->aDoclist); + sqlite3Fts3MIBufferFree(pCsr->pMIBuffer); + sqlite3Fts3ExprFree(pCsr->pExpr); + memset(&(&pCsr->base)[1], 0, sizeof(Fts3Cursor)-sizeof(sqlite3_vtab_cursor)); +} + +/* +** Close the cursor. For additional information see the documentation +** on the xClose method of the virtual table interface. +*/ +static int fts3CloseMethod(sqlite3_vtab_cursor *pCursor){ + Fts3Cursor *pCsr = (Fts3Cursor *)pCursor; + assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 ); + fts3ClearCursor(pCsr); + assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 ); + sqlite3_free(pCsr); + return SQLITE_OK; +} + +/* +** If pCsr->pStmt has not been prepared (i.e. if pCsr->pStmt==0), then +** compose and prepare an SQL statement of the form: +** +** "SELECT FROM %_content WHERE rowid = ?" +** +** (or the equivalent for a content=xxx table) and set pCsr->pStmt to +** it. If an error occurs, return an SQLite error code. +*/ +static int fts3CursorSeekStmt(Fts3Cursor *pCsr){ + int rc = SQLITE_OK; + if( pCsr->pStmt==0 ){ + Fts3Table *p = (Fts3Table *)pCsr->base.pVtab; + char *zSql; + if( p->pSeekStmt ){ + pCsr->pStmt = p->pSeekStmt; + p->pSeekStmt = 0; + }else{ + zSql = sqlite3_mprintf("SELECT %s WHERE rowid = ?", p->zReadExprlist); + if( !zSql ) return SQLITE_NOMEM; + rc = sqlite3_prepare_v3(p->db, zSql,-1,SQLITE_PREPARE_PERSISTENT,&pCsr->pStmt,0); + sqlite3_free(zSql); + } + if( rc==SQLITE_OK ) pCsr->bSeekStmt = 1; + } + return rc; +} + +/* +** Position the pCsr->pStmt statement so that it is on the row +** of the %_content table that contains the last match. Return +** SQLITE_OK on success. +*/ +static int fts3CursorSeek(sqlite3_context *pContext, Fts3Cursor *pCsr){ + int rc = SQLITE_OK; + if( pCsr->isRequireSeek ){ + rc = fts3CursorSeekStmt(pCsr); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pCsr->pStmt, 1, pCsr->iPrevId); + pCsr->isRequireSeek = 0; + if( SQLITE_ROW==sqlite3_step(pCsr->pStmt) ){ + return SQLITE_OK; + }else{ + rc = sqlite3_reset(pCsr->pStmt); + if( rc==SQLITE_OK && ((Fts3Table *)pCsr->base.pVtab)->zContentTbl==0 ){ + /* If no row was found and no error has occurred, then the %_content + ** table is missing a row that is present in the full-text index. + ** The data structures are corrupt. */ + rc = FTS_CORRUPT_VTAB; + pCsr->isEof = 1; + } + } + } + } + + if( rc!=SQLITE_OK && pContext ){ + sqlite3_result_error_code(pContext, rc); + } + return rc; +} + +/* +** This function is used to process a single interior node when searching +** a b-tree for a term or term prefix. The node data is passed to this +** function via the zNode/nNode parameters. The term to search for is +** passed in zTerm/nTerm. +** +** If piFirst is not NULL, then this function sets *piFirst to the blockid +** of the child node that heads the sub-tree that may contain the term. +** +** If piLast is not NULL, then *piLast is set to the right-most child node +** that heads a sub-tree that may contain a term for which zTerm/nTerm is +** a prefix. +** +** If an OOM error occurs, SQLITE_NOMEM is returned. Otherwise, SQLITE_OK. +*/ +static int fts3ScanInteriorNode( + const char *zTerm, /* Term to select leaves for */ + int nTerm, /* Size of term zTerm in bytes */ + const char *zNode, /* Buffer containing segment interior node */ + int nNode, /* Size of buffer at zNode */ + sqlite3_int64 *piFirst, /* OUT: Selected child node */ + sqlite3_int64 *piLast /* OUT: Selected child node */ +){ + int rc = SQLITE_OK; /* Return code */ + const char *zCsr = zNode; /* Cursor to iterate through node */ + const char *zEnd = &zCsr[nNode];/* End of interior node buffer */ + char *zBuffer = 0; /* Buffer to load terms into */ + i64 nAlloc = 0; /* Size of allocated buffer */ + int isFirstTerm = 1; /* True when processing first term on page */ + sqlite3_int64 iChild; /* Block id of child node to descend to */ + + /* Skip over the 'height' varint that occurs at the start of every + ** interior node. Then load the blockid of the left-child of the b-tree + ** node into variable iChild. + ** + ** Even if the data structure on disk is corrupted, this (reading two + ** varints from the buffer) does not risk an overread. If zNode is a + ** root node, then the buffer comes from a SELECT statement. SQLite does + ** not make this guarantee explicitly, but in practice there are always + ** either more than 20 bytes of allocated space following the nNode bytes of + ** contents, or two zero bytes. Or, if the node is read from the %_segments + ** table, then there are always 20 bytes of zeroed padding following the + ** nNode bytes of content (see sqlite3Fts3ReadBlock() for details). + */ + zCsr += sqlite3Fts3GetVarint(zCsr, &iChild); + zCsr += sqlite3Fts3GetVarint(zCsr, &iChild); + if( zCsr>zEnd ){ + return FTS_CORRUPT_VTAB; + } + + while( zCsr=0 && nSuffix>=0 ); + if( nPrefix>zCsr-zNode || nSuffix>zEnd-zCsr || nSuffix==0 ){ + rc = FTS_CORRUPT_VTAB; + goto finish_scan; + } + if( (i64)nPrefix+nSuffix>nAlloc ){ + char *zNew; + nAlloc = ((i64)nPrefix+nSuffix) * 2; + zNew = (char *)sqlite3_realloc64(zBuffer, nAlloc); + if( !zNew ){ + rc = SQLITE_NOMEM; + goto finish_scan; + } + zBuffer = zNew; + } + assert( zBuffer ); + memcpy(&zBuffer[nPrefix], zCsr, nSuffix); + nBuffer = nPrefix + nSuffix; + zCsr += nSuffix; + + /* Compare the term we are searching for with the term just loaded from + ** the interior node. If the specified term is greater than or equal + ** to the term from the interior node, then all terms on the sub-tree + ** headed by node iChild are smaller than zTerm. No need to search + ** iChild. + ** + ** If the interior node term is larger than the specified term, then + ** the tree headed by iChild may contain the specified term. + */ + cmp = memcmp(zTerm, zBuffer, (nBuffer>nTerm ? nTerm : nBuffer)); + if( piFirst && (cmp<0 || (cmp==0 && nBuffer>nTerm)) ){ + *piFirst = iChild; + piFirst = 0; + } + + if( piLast && cmp<0 ){ + *piLast = iChild; + piLast = 0; + } + + iChild++; + }; + + if( piFirst ) *piFirst = iChild; + if( piLast ) *piLast = iChild; + + finish_scan: + sqlite3_free(zBuffer); + return rc; +} + + +/* +** The buffer pointed to by argument zNode (size nNode bytes) contains an +** interior node of a b-tree segment. The zTerm buffer (size nTerm bytes) +** contains a term. This function searches the sub-tree headed by the zNode +** node for the range of leaf nodes that may contain the specified term +** or terms for which the specified term is a prefix. +** +** If piLeaf is not NULL, then *piLeaf is set to the blockid of the +** left-most leaf node in the tree that may contain the specified term. +** If piLeaf2 is not NULL, then *piLeaf2 is set to the blockid of the +** right-most leaf node that may contain a term for which the specified +** term is a prefix. +** +** It is possible that the range of returned leaf nodes does not contain +** the specified term or any terms for which it is a prefix. However, if the +** segment does contain any such terms, they are stored within the identified +** range. Because this function only inspects interior segment nodes (and +** never loads leaf nodes into memory), it is not possible to be sure. +** +** If an error occurs, an error code other than SQLITE_OK is returned. +*/ +static int fts3SelectLeaf( + Fts3Table *p, /* Virtual table handle */ + const char *zTerm, /* Term to select leaves for */ + int nTerm, /* Size of term zTerm in bytes */ + const char *zNode, /* Buffer containing segment interior node */ + int nNode, /* Size of buffer at zNode */ + sqlite3_int64 *piLeaf, /* Selected leaf node */ + sqlite3_int64 *piLeaf2 /* Selected leaf node */ +){ + int rc = SQLITE_OK; /* Return code */ + int iHeight; /* Height of this node in tree */ + + assert( piLeaf || piLeaf2 ); + + fts3GetVarint32(zNode, &iHeight); + rc = fts3ScanInteriorNode(zTerm, nTerm, zNode, nNode, piLeaf, piLeaf2); + assert( !piLeaf2 || !piLeaf || rc!=SQLITE_OK || (*piLeaf<=*piLeaf2) ); + + if( rc==SQLITE_OK && iHeight>1 ){ + char *zBlob = 0; /* Blob read from %_segments table */ + int nBlob = 0; /* Size of zBlob in bytes */ + + if( piLeaf && piLeaf2 && (*piLeaf!=*piLeaf2) ){ + rc = sqlite3Fts3ReadBlock(p, *piLeaf, &zBlob, &nBlob, 0); + if( rc==SQLITE_OK ){ + rc = fts3SelectLeaf(p, zTerm, nTerm, zBlob, nBlob, piLeaf, 0); + } + sqlite3_free(zBlob); + piLeaf = 0; + zBlob = 0; + } + + if( rc==SQLITE_OK ){ + rc = sqlite3Fts3ReadBlock(p, piLeaf?*piLeaf:*piLeaf2, &zBlob, &nBlob, 0); + } + if( rc==SQLITE_OK ){ + rc = fts3SelectLeaf(p, zTerm, nTerm, zBlob, nBlob, piLeaf, piLeaf2); + } + sqlite3_free(zBlob); + } + + return rc; +} + +/* +** This function is used to create delta-encoded serialized lists of FTS3 +** varints. Each call to this function appends a single varint to a list. +*/ +static void fts3PutDeltaVarint( + char **pp, /* IN/OUT: Output pointer */ + sqlite3_int64 *piPrev, /* IN/OUT: Previous value written to list */ + sqlite3_int64 iVal /* Write this value to the list */ +){ + assert( iVal-*piPrev > 0 || (*piPrev==0 && iVal==0) ); + *pp += sqlite3Fts3PutVarint(*pp, iVal-*piPrev); + *piPrev = iVal; +} + +/* +** When this function is called, *ppPoslist is assumed to point to the +** start of a position-list. After it returns, *ppPoslist points to the +** first byte after the position-list. +** +** A position list is list of positions (delta encoded) and columns for +** a single document record of a doclist. So, in other words, this +** routine advances *ppPoslist so that it points to the next docid in +** the doclist, or to the first byte past the end of the doclist. +** +** If pp is not NULL, then the contents of the position list are copied +** to *pp. *pp is set to point to the first byte past the last byte copied +** before this function returns. +*/ +static void fts3PoslistCopy(char **pp, char **ppPoslist){ + char *pEnd = *ppPoslist; + char c = 0; + + /* The end of a position list is marked by a zero encoded as an FTS3 + ** varint. A single POS_END (0) byte. Except, if the 0 byte is preceded by + ** a byte with the 0x80 bit set, then it is not a varint 0, but the tail + ** of some other, multi-byte, value. + ** + ** The following while-loop moves pEnd to point to the first byte that is not + ** immediately preceded by a byte with the 0x80 bit set. Then increments + ** pEnd once more so that it points to the byte immediately following the + ** last byte in the position-list. + */ + while( *pEnd | c ){ + c = *pEnd++ & 0x80; + testcase( c!=0 && (*pEnd)==0 ); + } + pEnd++; /* Advance past the POS_END terminator byte */ + + if( pp ){ + int n = (int)(pEnd - *ppPoslist); + char *p = *pp; + memcpy(p, *ppPoslist, n); + p += n; + *pp = p; + } + *ppPoslist = pEnd; +} + +/* +** When this function is called, *ppPoslist is assumed to point to the +** start of a column-list. After it returns, *ppPoslist points to the +** to the terminator (POS_COLUMN or POS_END) byte of the column-list. +** +** A column-list is list of delta-encoded positions for a single column +** within a single document within a doclist. +** +** The column-list is terminated either by a POS_COLUMN varint (1) or +** a POS_END varint (0). This routine leaves *ppPoslist pointing to +** the POS_COLUMN or POS_END that terminates the column-list. +** +** If pp is not NULL, then the contents of the column-list are copied +** to *pp. *pp is set to point to the first byte past the last byte copied +** before this function returns. The POS_COLUMN or POS_END terminator +** is not copied into *pp. +*/ +static void fts3ColumnlistCopy(char **pp, char **ppPoslist){ + char *pEnd = *ppPoslist; + char c = 0; + + /* A column-list is terminated by either a 0x01 or 0x00 byte that is + ** not part of a multi-byte varint. + */ + while( 0xFE & (*pEnd | c) ){ + c = *pEnd++ & 0x80; + testcase( c!=0 && ((*pEnd)&0xfe)==0 ); + } + if( pp ){ + int n = (int)(pEnd - *ppPoslist); + char *p = *pp; + memcpy(p, *ppPoslist, n); + p += n; + *pp = p; + } + *ppPoslist = pEnd; +} + +/* +** Value used to signify the end of an position-list. This must be +** as large or larger than any value that might appear on the +** position-list, even a position list that has been corrupted. +*/ +#define POSITION_LIST_END LARGEST_INT64 + +/* +** This function is used to help parse position-lists. When this function is +** called, *pp may point to the start of the next varint in the position-list +** being parsed, or it may point to 1 byte past the end of the position-list +** (in which case **pp will be a terminator bytes POS_END (0) or +** (1)). +** +** If *pp points past the end of the current position-list, set *pi to +** POSITION_LIST_END and return. Otherwise, read the next varint from *pp, +** increment the current value of *pi by the value read, and set *pp to +** point to the next value before returning. +** +** Before calling this routine *pi must be initialized to the value of +** the previous position, or zero if we are reading the first position +** in the position-list. Because positions are delta-encoded, the value +** of the previous position is needed in order to compute the value of +** the next position. +*/ +static void fts3ReadNextPos( + char **pp, /* IN/OUT: Pointer into position-list buffer */ + sqlite3_int64 *pi /* IN/OUT: Value read from position-list */ +){ + if( (**pp)&0xFE ){ + fts3GetDeltaVarint(pp, pi); + *pi -= 2; + }else{ + *pi = POSITION_LIST_END; + } +} + +/* +** If parameter iCol is not 0, write an POS_COLUMN (1) byte followed by +** the value of iCol encoded as a varint to *pp. This will start a new +** column list. +** +** Set *pp to point to the byte just after the last byte written before +** returning (do not modify it if iCol==0). Return the total number of bytes +** written (0 if iCol==0). +*/ +static int fts3PutColNumber(char **pp, int iCol){ + int n = 0; /* Number of bytes written */ + if( iCol ){ + char *p = *pp; /* Output pointer */ + n = 1 + sqlite3Fts3PutVarint(&p[1], iCol); + *p = 0x01; + *pp = &p[n]; + } + return n; +} + +/* +** Compute the union of two position lists. The output written +** into *pp contains all positions of both *pp1 and *pp2 in sorted +** order and with any duplicates removed. All pointers are +** updated appropriately. The caller is responsible for insuring +** that there is enough space in *pp to hold the complete output. +*/ +static int fts3PoslistMerge( + char **pp, /* Output buffer */ + char **pp1, /* Left input list */ + char **pp2 /* Right input list */ +){ + char *p = *pp; + char *p1 = *pp1; + char *p2 = *pp2; + + while( *p1 || *p2 ){ + int iCol1; /* The current column index in pp1 */ + int iCol2; /* The current column index in pp2 */ + + if( *p1==POS_COLUMN ){ + fts3GetVarint32(&p1[1], &iCol1); + if( iCol1==0 ) return FTS_CORRUPT_VTAB; + } + else if( *p1==POS_END ) iCol1 = 0x7fffffff; + else iCol1 = 0; + + if( *p2==POS_COLUMN ){ + fts3GetVarint32(&p2[1], &iCol2); + if( iCol2==0 ) return FTS_CORRUPT_VTAB; + } + else if( *p2==POS_END ) iCol2 = 0x7fffffff; + else iCol2 = 0; + + if( iCol1==iCol2 ){ + sqlite3_int64 i1 = 0; /* Last position from pp1 */ + sqlite3_int64 i2 = 0; /* Last position from pp2 */ + sqlite3_int64 iPrev = 0; + int n = fts3PutColNumber(&p, iCol1); + p1 += n; + p2 += n; + + /* At this point, both p1 and p2 point to the start of column-lists + ** for the same column (the column with index iCol1 and iCol2). + ** A column-list is a list of non-negative delta-encoded varints, each + ** incremented by 2 before being stored. Each list is terminated by a + ** POS_END (0) or POS_COLUMN (1). The following block merges the two lists + ** and writes the results to buffer p. p is left pointing to the byte + ** after the list written. No terminator (POS_END or POS_COLUMN) is + ** written to the output. + */ + fts3GetDeltaVarint(&p1, &i1); + fts3GetDeltaVarint(&p2, &i2); + do { + fts3PutDeltaVarint(&p, &iPrev, (i1pos(*pp1) && pos(*pp2)-pos(*pp1)<=nToken). i.e. +** when the *pp1 token appears before the *pp2 token, but not more than nToken +** slots before it. +** +** e.g. nToken==1 searches for adjacent positions. +*/ +static int fts3PoslistPhraseMerge( + char **pp, /* IN/OUT: Preallocated output buffer */ + int nToken, /* Maximum difference in token positions */ + int isSaveLeft, /* Save the left position */ + int isExact, /* If *pp1 is exactly nTokens before *pp2 */ + char **pp1, /* IN/OUT: Left input list */ + char **pp2 /* IN/OUT: Right input list */ +){ + char *p = *pp; + char *p1 = *pp1; + char *p2 = *pp2; + int iCol1 = 0; + int iCol2 = 0; + + /* Never set both isSaveLeft and isExact for the same invocation. */ + assert( isSaveLeft==0 || isExact==0 ); + + assert( p!=0 && *p1!=0 && *p2!=0 ); + if( *p1==POS_COLUMN ){ + p1++; + p1 += fts3GetVarint32(p1, &iCol1); + } + if( *p2==POS_COLUMN ){ + p2++; + p2 += fts3GetVarint32(p2, &iCol2); + } + + while( 1 ){ + if( iCol1==iCol2 ){ + char *pSave = p; + sqlite3_int64 iPrev = 0; + sqlite3_int64 iPos1 = 0; + sqlite3_int64 iPos2 = 0; + + if( iCol1 ){ + *p++ = POS_COLUMN; + p += sqlite3Fts3PutVarint(p, iCol1); + } + + fts3GetDeltaVarint(&p1, &iPos1); iPos1 -= 2; + fts3GetDeltaVarint(&p2, &iPos2); iPos2 -= 2; + if( iPos1<0 || iPos2<0 ) break; + + while( 1 ){ + if( iPos2==iPos1+nToken + || (isExact==0 && iPos2>iPos1 && iPos2<=iPos1+nToken) + ){ + sqlite3_int64 iSave; + iSave = isSaveLeft ? iPos1 : iPos2; + fts3PutDeltaVarint(&p, &iPrev, iSave+2); iPrev -= 2; + pSave = 0; + assert( p ); + } + if( (!isSaveLeft && iPos2<=(iPos1+nToken)) || iPos2<=iPos1 ){ + if( (*p2&0xFE)==0 ) break; + fts3GetDeltaVarint(&p2, &iPos2); iPos2 -= 2; + }else{ + if( (*p1&0xFE)==0 ) break; + fts3GetDeltaVarint(&p1, &iPos1); iPos1 -= 2; + } + } + + if( pSave ){ + assert( pp && p ); + p = pSave; + } + + fts3ColumnlistCopy(0, &p1); + fts3ColumnlistCopy(0, &p2); + assert( (*p1&0xFE)==0 && (*p2&0xFE)==0 ); + if( 0==*p1 || 0==*p2 ) break; + + p1++; + p1 += fts3GetVarint32(p1, &iCol1); + p2++; + p2 += fts3GetVarint32(p2, &iCol2); + } + + /* Advance pointer p1 or p2 (whichever corresponds to the smaller of + ** iCol1 and iCol2) so that it points to either the 0x00 that marks the + ** end of the position list, or the 0x01 that precedes the next + ** column-number in the position list. + */ + else if( iCol1=pEnd ){ + *pp = 0; + }else{ + sqlite3_int64 iVal; + *pp += sqlite3Fts3GetVarint(*pp, &iVal); + if( bDescIdx ){ + *pVal -= iVal; + }else{ + *pVal += iVal; + } + } +} + +/* +** This function is used to write a single varint to a buffer. The varint +** is written to *pp. Before returning, *pp is set to point 1 byte past the +** end of the value written. +** +** If *pbFirst is zero when this function is called, the value written to +** the buffer is that of parameter iVal. +** +** If *pbFirst is non-zero when this function is called, then the value +** written is either (iVal-*piPrev) (if bDescIdx is zero) or (*piPrev-iVal) +** (if bDescIdx is non-zero). +** +** Before returning, this function always sets *pbFirst to 1 and *piPrev +** to the value of parameter iVal. +*/ +static void fts3PutDeltaVarint3( + char **pp, /* IN/OUT: Output pointer */ + int bDescIdx, /* True for descending docids */ + sqlite3_int64 *piPrev, /* IN/OUT: Previous value written to list */ + int *pbFirst, /* IN/OUT: True after first int written */ + sqlite3_int64 iVal /* Write this value to the list */ +){ + sqlite3_int64 iWrite; + if( bDescIdx==0 || *pbFirst==0 ){ + iWrite = iVal - *piPrev; + }else{ + iWrite = *piPrev - iVal; + } + assert( *pbFirst || *piPrev==0 ); + assert_fts3_nc( *pbFirst==0 || iWrite>0 ); + assert( *pbFirst==0 || iWrite>=0 ); + *pp += sqlite3Fts3PutVarint(*pp, iWrite); + *piPrev = iVal; + *pbFirst = 1; +} + + +/* +** This macro is used by various functions that merge doclists. The two +** arguments are 64-bit docid values. If the value of the stack variable +** bDescDoclist is 0 when this macro is invoked, then it returns (i1-i2). +** Otherwise, (i2-i1). +** +** Using this makes it easier to write code that can merge doclists that are +** sorted in either ascending or descending order. +*/ +#define DOCID_CMP(i1, i2) ((bDescDoclist?-1:1) * (i1-i2)) + +/* +** This function does an "OR" merge of two doclists (output contains all +** positions contained in either argument doclist). If the docids in the +** input doclists are sorted in ascending order, parameter bDescDoclist +** should be false. If they are sorted in ascending order, it should be +** passed a non-zero value. +** +** If no error occurs, *paOut is set to point at an sqlite3_malloc'd buffer +** containing the output doclist and SQLITE_OK is returned. In this case +** *pnOut is set to the number of bytes in the output doclist. +** +** If an error occurs, an SQLite error code is returned. The output values +** are undefined in this case. +*/ +static int fts3DoclistOrMerge( + int bDescDoclist, /* True if arguments are desc */ + char *a1, int n1, /* First doclist */ + char *a2, int n2, /* Second doclist */ + char **paOut, int *pnOut /* OUT: Malloc'd doclist */ +){ + int rc = SQLITE_OK; + sqlite3_int64 i1 = 0; + sqlite3_int64 i2 = 0; + sqlite3_int64 iPrev = 0; + char *pEnd1 = &a1[n1]; + char *pEnd2 = &a2[n2]; + char *p1 = a1; + char *p2 = a2; + char *p; + char *aOut; + int bFirstOut = 0; + + *paOut = 0; + *pnOut = 0; + + /* Allocate space for the output. Both the input and output doclists + ** are delta encoded. If they are in ascending order (bDescDoclist==0), + ** then the first docid in each list is simply encoded as a varint. For + ** each subsequent docid, the varint stored is the difference between the + ** current and previous docid (a positive number - since the list is in + ** ascending order). + ** + ** The first docid written to the output is therefore encoded using the + ** same number of bytes as it is in whichever of the input lists it is + ** read from. And each subsequent docid read from the same input list + ** consumes either the same or less bytes as it did in the input (since + ** the difference between it and the previous value in the output must + ** be a positive value less than or equal to the delta value read from + ** the input list). The same argument applies to all but the first docid + ** read from the 'other' list. And to the contents of all position lists + ** that will be copied and merged from the input to the output. + ** + ** However, if the first docid copied to the output is a negative number, + ** then the encoding of the first docid from the 'other' input list may + ** be larger in the output than it was in the input (since the delta value + ** may be a larger positive integer than the actual docid). + ** + ** The space required to store the output is therefore the sum of the + ** sizes of the two inputs, plus enough space for exactly one of the input + ** docids to grow. + ** + ** A symetric argument may be made if the doclists are in descending + ** order. + */ + aOut = sqlite3_malloc64((i64)n1+n2+FTS3_VARINT_MAX-1+FTS3_BUFFER_PADDING); + if( !aOut ) return SQLITE_NOMEM; + + p = aOut; + fts3GetDeltaVarint3(&p1, pEnd1, 0, &i1); + fts3GetDeltaVarint3(&p2, pEnd2, 0, &i2); + while( p1 || p2 ){ + sqlite3_int64 iDiff = DOCID_CMP(i1, i2); + + if( p2 && p1 && iDiff==0 ){ + fts3PutDeltaVarint3(&p, bDescDoclist, &iPrev, &bFirstOut, i1); + rc = fts3PoslistMerge(&p, &p1, &p2); + if( rc ) break; + fts3GetDeltaVarint3(&p1, pEnd1, bDescDoclist, &i1); + fts3GetDeltaVarint3(&p2, pEnd2, bDescDoclist, &i2); + }else if( !p2 || (p1 && iDiff<0) ){ + fts3PutDeltaVarint3(&p, bDescDoclist, &iPrev, &bFirstOut, i1); + fts3PoslistCopy(&p, &p1); + fts3GetDeltaVarint3(&p1, pEnd1, bDescDoclist, &i1); + }else{ + fts3PutDeltaVarint3(&p, bDescDoclist, &iPrev, &bFirstOut, i2); + fts3PoslistCopy(&p, &p2); + fts3GetDeltaVarint3(&p2, pEnd2, bDescDoclist, &i2); + } + + assert( (p-aOut)<=((p1?(p1-a1):n1)+(p2?(p2-a2):n2)+FTS3_VARINT_MAX-1) ); + } + + if( rc!=SQLITE_OK ){ + sqlite3_free(aOut); + p = aOut = 0; + }else{ + assert( (p-aOut)<=n1+n2+FTS3_VARINT_MAX-1 ); + memset(&aOut[(p-aOut)], 0, FTS3_BUFFER_PADDING); + } + *paOut = aOut; + *pnOut = (int)(p-aOut); + return rc; +} + +/* +** This function does a "phrase" merge of two doclists. In a phrase merge, +** the output contains a copy of each position from the right-hand input +** doclist for which there is a position in the left-hand input doclist +** exactly nDist tokens before it. +** +** If the docids in the input doclists are sorted in ascending order, +** parameter bDescDoclist should be false. If they are sorted in ascending +** order, it should be passed a non-zero value. +** +** The right-hand input doclist is overwritten by this function. +*/ +static int fts3DoclistPhraseMerge( + int bDescDoclist, /* True if arguments are desc */ + int nDist, /* Distance from left to right (1=adjacent) */ + char *aLeft, int nLeft, /* Left doclist */ + char **paRight, int *pnRight /* IN/OUT: Right/output doclist */ +){ + sqlite3_int64 i1 = 0; + sqlite3_int64 i2 = 0; + sqlite3_int64 iPrev = 0; + char *aRight = *paRight; + char *pEnd1 = &aLeft[nLeft]; + char *pEnd2 = &aRight[*pnRight]; + char *p1 = aLeft; + char *p2 = aRight; + char *p; + int bFirstOut = 0; + char *aOut; + + assert( nDist>0 ); + if( bDescDoclist ){ + aOut = sqlite3_malloc64((sqlite3_int64)*pnRight + FTS3_VARINT_MAX); + if( aOut==0 ) return SQLITE_NOMEM; + }else{ + aOut = aRight; + } + p = aOut; + + fts3GetDeltaVarint3(&p1, pEnd1, 0, &i1); + fts3GetDeltaVarint3(&p2, pEnd2, 0, &i2); + + while( p1 && p2 ){ + sqlite3_int64 iDiff = DOCID_CMP(i1, i2); + if( iDiff==0 ){ + char *pSave = p; + sqlite3_int64 iPrevSave = iPrev; + int bFirstOutSave = bFirstOut; + + fts3PutDeltaVarint3(&p, bDescDoclist, &iPrev, &bFirstOut, i1); + if( 0==fts3PoslistPhraseMerge(&p, nDist, 0, 1, &p1, &p2) ){ + p = pSave; + iPrev = iPrevSave; + bFirstOut = bFirstOutSave; + } + fts3GetDeltaVarint3(&p1, pEnd1, bDescDoclist, &i1); + fts3GetDeltaVarint3(&p2, pEnd2, bDescDoclist, &i2); + }else if( iDiff<0 ){ + fts3PoslistCopy(0, &p1); + fts3GetDeltaVarint3(&p1, pEnd1, bDescDoclist, &i1); + }else{ + fts3PoslistCopy(0, &p2); + fts3GetDeltaVarint3(&p2, pEnd2, bDescDoclist, &i2); + } + } + + *pnRight = (int)(p - aOut); + if( bDescDoclist ){ + sqlite3_free(aRight); + *paRight = aOut; + } + + return SQLITE_OK; +} + +/* +** Argument pList points to a position list nList bytes in size. This +** function checks to see if the position list contains any entries for +** a token in position 0 (of any column). If so, it writes argument iDelta +** to the output buffer pOut, followed by a position list consisting only +** of the entries from pList at position 0, and terminated by an 0x00 byte. +** The value returned is the number of bytes written to pOut (if any). +*/ +SQLITE_PRIVATE int sqlite3Fts3FirstFilter( + sqlite3_int64 iDelta, /* Varint that may be written to pOut */ + char *pList, /* Position list (no 0x00 term) */ + int nList, /* Size of pList in bytes */ + char *pOut /* Write output here */ +){ + int nOut = 0; + int bWritten = 0; /* True once iDelta has been written */ + char *p = pList; + char *pEnd = &pList[nList]; + + if( *p!=0x01 ){ + if( *p==0x02 ){ + nOut += sqlite3Fts3PutVarint(&pOut[nOut], iDelta); + pOut[nOut++] = 0x02; + bWritten = 1; + } + fts3ColumnlistCopy(0, &p); + } + + while( paaOutput); i++){ + if( pTS->aaOutput[i] ){ + if( !aOut ){ + aOut = pTS->aaOutput[i]; + nOut = pTS->anOutput[i]; + pTS->aaOutput[i] = 0; + }else{ + int nNew; + char *aNew; + + int rc = fts3DoclistOrMerge(p->bDescIdx, + pTS->aaOutput[i], pTS->anOutput[i], aOut, nOut, &aNew, &nNew + ); + if( rc!=SQLITE_OK ){ + sqlite3_free(aOut); + return rc; + } + + sqlite3_free(pTS->aaOutput[i]); + sqlite3_free(aOut); + pTS->aaOutput[i] = 0; + aOut = aNew; + nOut = nNew; + } + } + } + + pTS->aaOutput[0] = aOut; + pTS->anOutput[0] = nOut; + return SQLITE_OK; +} + +/* +** Merge the doclist aDoclist/nDoclist into the TermSelect object passed +** as the first argument. The merge is an "OR" merge (see function +** fts3DoclistOrMerge() for details). +** +** This function is called with the doclist for each term that matches +** a queried prefix. It merges all these doclists into one, the doclist +** for the specified prefix. Since there can be a very large number of +** doclists to merge, the merging is done pair-wise using the TermSelect +** object. +** +** This function returns SQLITE_OK if the merge is successful, or an +** SQLite error code (SQLITE_NOMEM) if an error occurs. +*/ +static int fts3TermSelectMerge( + Fts3Table *p, /* FTS table handle */ + TermSelect *pTS, /* TermSelect object to merge into */ + char *aDoclist, /* Pointer to doclist */ + int nDoclist /* Size of aDoclist in bytes */ +){ + if( pTS->aaOutput[0]==0 ){ + /* If this is the first term selected, copy the doclist to the output + ** buffer using memcpy(). + ** + ** Add FTS3_VARINT_MAX bytes of unused space to the end of the + ** allocation. This is so as to ensure that the buffer is big enough + ** to hold the current doclist AND'd with any other doclist. If the + ** doclists are stored in order=ASC order, this padding would not be + ** required (since the size of [doclistA AND doclistB] is always less + ** than or equal to the size of [doclistA] in that case). But this is + ** not true for order=DESC. For example, a doclist containing (1, -1) + ** may be smaller than (-1), as in the first example the -1 may be stored + ** as a single-byte delta, whereas in the second it must be stored as a + ** FTS3_VARINT_MAX byte varint. + ** + ** Similar padding is added in the fts3DoclistOrMerge() function. + */ + pTS->aaOutput[0] = sqlite3_malloc(nDoclist + FTS3_VARINT_MAX + 1); + pTS->anOutput[0] = nDoclist; + if( pTS->aaOutput[0] ){ + memcpy(pTS->aaOutput[0], aDoclist, nDoclist); + memset(&pTS->aaOutput[0][nDoclist], 0, FTS3_VARINT_MAX); + }else{ + return SQLITE_NOMEM; + } + }else{ + char *aMerge = aDoclist; + int nMerge = nDoclist; + int iOut; + + for(iOut=0; iOutaaOutput); iOut++){ + if( pTS->aaOutput[iOut]==0 ){ + assert( iOut>0 ); + pTS->aaOutput[iOut] = aMerge; + pTS->anOutput[iOut] = nMerge; + break; + }else{ + char *aNew; + int nNew; + + int rc = fts3DoclistOrMerge(p->bDescIdx, aMerge, nMerge, + pTS->aaOutput[iOut], pTS->anOutput[iOut], &aNew, &nNew + ); + if( rc!=SQLITE_OK ){ + if( aMerge!=aDoclist ) sqlite3_free(aMerge); + return rc; + } + + if( aMerge!=aDoclist ) sqlite3_free(aMerge); + sqlite3_free(pTS->aaOutput[iOut]); + pTS->aaOutput[iOut] = 0; + + aMerge = aNew; + nMerge = nNew; + if( (iOut+1)==SizeofArray(pTS->aaOutput) ){ + pTS->aaOutput[iOut] = aMerge; + pTS->anOutput[iOut] = nMerge; + } + } + } + } + return SQLITE_OK; +} + +/* +** Append SegReader object pNew to the end of the pCsr->apSegment[] array. +*/ +static int fts3SegReaderCursorAppend( + Fts3MultiSegReader *pCsr, + Fts3SegReader *pNew +){ + if( (pCsr->nSegment%16)==0 ){ + Fts3SegReader **apNew; + sqlite3_int64 nByte = (pCsr->nSegment + 16)*sizeof(Fts3SegReader*); + apNew = (Fts3SegReader **)sqlite3_realloc64(pCsr->apSegment, nByte); + if( !apNew ){ + sqlite3Fts3SegReaderFree(pNew); + return SQLITE_NOMEM; + } + pCsr->apSegment = apNew; + } + pCsr->apSegment[pCsr->nSegment++] = pNew; + return SQLITE_OK; +} + +/* +** Add seg-reader objects to the Fts3MultiSegReader object passed as the +** 8th argument. +** +** This function returns SQLITE_OK if successful, or an SQLite error code +** otherwise. +*/ +static int fts3SegReaderCursor( + Fts3Table *p, /* FTS3 table handle */ + int iLangid, /* Language id */ + int iIndex, /* Index to search (from 0 to p->nIndex-1) */ + int iLevel, /* Level of segments to scan */ + const char *zTerm, /* Term to query for */ + int nTerm, /* Size of zTerm in bytes */ + int isPrefix, /* True for a prefix search */ + int isScan, /* True to scan from zTerm to EOF */ + Fts3MultiSegReader *pCsr /* Cursor object to populate */ +){ + int rc = SQLITE_OK; /* Error code */ + sqlite3_stmt *pStmt = 0; /* Statement to iterate through segments */ + int rc2; /* Result of sqlite3_reset() */ + + /* If iLevel is less than 0 and this is not a scan, include a seg-reader + ** for the pending-terms. If this is a scan, then this call must be being + ** made by an fts4aux module, not an FTS table. In this case calling + ** Fts3SegReaderPending might segfault, as the data structures used by + ** fts4aux are not completely populated. So it's easiest to filter these + ** calls out here. */ + if( iLevel<0 && p->aIndex ){ + Fts3SegReader *pSeg = 0; + rc = sqlite3Fts3SegReaderPending(p, iIndex, zTerm, nTerm, isPrefix||isScan, &pSeg); + if( rc==SQLITE_OK && pSeg ){ + rc = fts3SegReaderCursorAppend(pCsr, pSeg); + } + } + + if( iLevel!=FTS3_SEGCURSOR_PENDING ){ + if( rc==SQLITE_OK ){ + rc = sqlite3Fts3AllSegdirs(p, iLangid, iIndex, iLevel, &pStmt); + } + + while( rc==SQLITE_OK && SQLITE_ROW==(rc = sqlite3_step(pStmt)) ){ + Fts3SegReader *pSeg = 0; + + /* Read the values returned by the SELECT into local variables. */ + sqlite3_int64 iStartBlock = sqlite3_column_int64(pStmt, 1); + sqlite3_int64 iLeavesEndBlock = sqlite3_column_int64(pStmt, 2); + sqlite3_int64 iEndBlock = sqlite3_column_int64(pStmt, 3); + int nRoot = sqlite3_column_bytes(pStmt, 4); + char const *zRoot = sqlite3_column_blob(pStmt, 4); + + /* If zTerm is not NULL, and this segment is not stored entirely on its + ** root node, the range of leaves scanned can be reduced. Do this. */ + if( iStartBlock && zTerm && zRoot ){ + sqlite3_int64 *pi = (isPrefix ? &iLeavesEndBlock : 0); + rc = fts3SelectLeaf(p, zTerm, nTerm, zRoot, nRoot, &iStartBlock, pi); + if( rc!=SQLITE_OK ) goto finished; + if( isPrefix==0 && isScan==0 ) iLeavesEndBlock = iStartBlock; + } + + rc = sqlite3Fts3SegReaderNew(pCsr->nSegment+1, + (isPrefix==0 && isScan==0), + iStartBlock, iLeavesEndBlock, + iEndBlock, zRoot, nRoot, &pSeg + ); + if( rc!=SQLITE_OK ) goto finished; + rc = fts3SegReaderCursorAppend(pCsr, pSeg); + } + } + + finished: + rc2 = sqlite3_reset(pStmt); + if( rc==SQLITE_DONE ) rc = rc2; + + return rc; +} + +/* +** Set up a cursor object for iterating through a full-text index or a +** single level therein. +*/ +SQLITE_PRIVATE int sqlite3Fts3SegReaderCursor( + Fts3Table *p, /* FTS3 table handle */ + int iLangid, /* Language-id to search */ + int iIndex, /* Index to search (from 0 to p->nIndex-1) */ + int iLevel, /* Level of segments to scan */ + const char *zTerm, /* Term to query for */ + int nTerm, /* Size of zTerm in bytes */ + int isPrefix, /* True for a prefix search */ + int isScan, /* True to scan from zTerm to EOF */ + Fts3MultiSegReader *pCsr /* Cursor object to populate */ +){ + assert( iIndex>=0 && iIndexnIndex ); + assert( iLevel==FTS3_SEGCURSOR_ALL + || iLevel==FTS3_SEGCURSOR_PENDING + || iLevel>=0 + ); + assert( iLevelbase.pVtab; + + if( isPrefix ){ + for(i=1; bFound==0 && inIndex; i++){ + if( p->aIndex[i].nPrefix==nTerm ){ + bFound = 1; + rc = sqlite3Fts3SegReaderCursor(p, pCsr->iLangid, + i, FTS3_SEGCURSOR_ALL, zTerm, nTerm, 0, 0, pSegcsr + ); + pSegcsr->bLookup = 1; + } + } + + for(i=1; bFound==0 && inIndex; i++){ + if( p->aIndex[i].nPrefix==nTerm+1 ){ + bFound = 1; + rc = sqlite3Fts3SegReaderCursor(p, pCsr->iLangid, + i, FTS3_SEGCURSOR_ALL, zTerm, nTerm, 1, 0, pSegcsr + ); + if( rc==SQLITE_OK ){ + rc = fts3SegReaderCursorAddZero( + p, pCsr->iLangid, zTerm, nTerm, pSegcsr + ); + } + } + } + } + + if( bFound==0 ){ + rc = sqlite3Fts3SegReaderCursor(p, pCsr->iLangid, + 0, FTS3_SEGCURSOR_ALL, zTerm, nTerm, isPrefix, 0, pSegcsr + ); + pSegcsr->bLookup = !isPrefix; + } + } + + *ppSegcsr = pSegcsr; + return rc; +} + +/* +** Free an Fts3MultiSegReader allocated by fts3TermSegReaderCursor(). +*/ +static void fts3SegReaderCursorFree(Fts3MultiSegReader *pSegcsr){ + sqlite3Fts3SegReaderFinish(pSegcsr); + sqlite3_free(pSegcsr); +} + +/* +** This function retrieves the doclist for the specified term (or term +** prefix) from the database. +*/ +static int fts3TermSelect( + Fts3Table *p, /* Virtual table handle */ + Fts3PhraseToken *pTok, /* Token to query for */ + int iColumn, /* Column to query (or -ve for all columns) */ + int *pnOut, /* OUT: Size of buffer at *ppOut */ + char **ppOut /* OUT: Malloced result buffer */ +){ + int rc; /* Return code */ + Fts3MultiSegReader *pSegcsr; /* Seg-reader cursor for this term */ + TermSelect tsc; /* Object for pair-wise doclist merging */ + Fts3SegFilter filter; /* Segment term filter configuration */ + + pSegcsr = pTok->pSegcsr; + memset(&tsc, 0, sizeof(TermSelect)); + + filter.flags = FTS3_SEGMENT_IGNORE_EMPTY | FTS3_SEGMENT_REQUIRE_POS + | (pTok->isPrefix ? FTS3_SEGMENT_PREFIX : 0) + | (pTok->bFirst ? FTS3_SEGMENT_FIRST : 0) + | (iColumnnColumn ? FTS3_SEGMENT_COLUMN_FILTER : 0); + filter.iCol = iColumn; + filter.zTerm = pTok->z; + filter.nTerm = pTok->n; + + rc = sqlite3Fts3SegReaderStart(p, pSegcsr, &filter); + while( SQLITE_OK==rc + && SQLITE_ROW==(rc = sqlite3Fts3SegReaderStep(p, pSegcsr)) + ){ + rc = fts3TermSelectMerge(p, &tsc, pSegcsr->aDoclist, pSegcsr->nDoclist); + } + + if( rc==SQLITE_OK ){ + rc = fts3TermSelectFinishMerge(p, &tsc); + } + if( rc==SQLITE_OK ){ + *ppOut = tsc.aaOutput[0]; + *pnOut = tsc.anOutput[0]; + }else{ + int i; + for(i=0; ipSegcsr = 0; + return rc; +} + +/* +** This function counts the total number of docids in the doclist stored +** in buffer aList[], size nList bytes. +** +** If the isPoslist argument is true, then it is assumed that the doclist +** contains a position-list following each docid. Otherwise, it is assumed +** that the doclist is simply a list of docids stored as delta encoded +** varints. +*/ +static int fts3DoclistCountDocids(char *aList, int nList){ + int nDoc = 0; /* Return value */ + if( aList ){ + char *aEnd = &aList[nList]; /* Pointer to one byte after EOF */ + char *p = aList; /* Cursor */ + while( peSearch==FTS3_DOCID_SEARCH || pCsr->eSearch==FTS3_FULLSCAN_SEARCH ){ + if( SQLITE_ROW!=sqlite3_step(pCsr->pStmt) ){ + pCsr->isEof = 1; + rc = sqlite3_reset(pCsr->pStmt); + }else{ + pCsr->iPrevId = sqlite3_column_int64(pCsr->pStmt, 0); + rc = SQLITE_OK; + } + }else{ + rc = fts3EvalNext((Fts3Cursor *)pCursor); + } + assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 ); + return rc; +} + +/* +** If the numeric type of argument pVal is "integer", then return it +** converted to a 64-bit signed integer. Otherwise, return a copy of +** the second parameter, iDefault. +*/ +static sqlite3_int64 fts3DocidRange(sqlite3_value *pVal, i64 iDefault){ + if( pVal ){ + int eType = sqlite3_value_numeric_type(pVal); + if( eType==SQLITE_INTEGER ){ + return sqlite3_value_int64(pVal); + } + } + return iDefault; +} + +/* +** This is the xFilter interface for the virtual table. See +** the virtual table xFilter method documentation for additional +** information. +** +** If idxNum==FTS3_FULLSCAN_SEARCH then do a full table scan against +** the %_content table. +** +** If idxNum==FTS3_DOCID_SEARCH then do a docid lookup for a single entry +** in the %_content table. +** +** If idxNum>=FTS3_FULLTEXT_SEARCH then use the full text index. The +** column on the left-hand side of the MATCH operator is column +** number idxNum-FTS3_FULLTEXT_SEARCH, 0 indexed. argv[0] is the right-hand +** side of the MATCH operator. +*/ +static int fts3FilterMethod( + sqlite3_vtab_cursor *pCursor, /* The cursor used for this query */ + int idxNum, /* Strategy index */ + const char *idxStr, /* Unused */ + int nVal, /* Number of elements in apVal */ + sqlite3_value **apVal /* Arguments for the indexing scheme */ +){ + int rc = SQLITE_OK; + char *zSql; /* SQL statement used to access %_content */ + int eSearch; + Fts3Table *p = (Fts3Table *)pCursor->pVtab; + Fts3Cursor *pCsr = (Fts3Cursor *)pCursor; + + sqlite3_value *pCons = 0; /* The MATCH or rowid constraint, if any */ + sqlite3_value *pLangid = 0; /* The "langid = ?" constraint, if any */ + sqlite3_value *pDocidGe = 0; /* The "docid >= ?" constraint, if any */ + sqlite3_value *pDocidLe = 0; /* The "docid <= ?" constraint, if any */ + int iIdx; + + UNUSED_PARAMETER(idxStr); + UNUSED_PARAMETER(nVal); + + eSearch = (idxNum & 0x0000FFFF); + assert( eSearch>=0 && eSearch<=(FTS3_FULLTEXT_SEARCH+p->nColumn) ); + assert( p->pSegments==0 ); + + /* Collect arguments into local variables */ + iIdx = 0; + if( eSearch!=FTS3_FULLSCAN_SEARCH ) pCons = apVal[iIdx++]; + if( idxNum & FTS3_HAVE_LANGID ) pLangid = apVal[iIdx++]; + if( idxNum & FTS3_HAVE_DOCID_GE ) pDocidGe = apVal[iIdx++]; + if( idxNum & FTS3_HAVE_DOCID_LE ) pDocidLe = apVal[iIdx++]; + assert( iIdx==nVal ); + + /* In case the cursor has been used before, clear it now. */ + fts3ClearCursor(pCsr); + + /* Set the lower and upper bounds on docids to return */ + pCsr->iMinDocid = fts3DocidRange(pDocidGe, SMALLEST_INT64); + pCsr->iMaxDocid = fts3DocidRange(pDocidLe, LARGEST_INT64); + + if( idxStr ){ + pCsr->bDesc = (idxStr[0]=='D'); + }else{ + pCsr->bDesc = p->bDescIdx; + } + pCsr->eSearch = (i16)eSearch; + + if( eSearch!=FTS3_DOCID_SEARCH && eSearch!=FTS3_FULLSCAN_SEARCH ){ + int iCol = eSearch-FTS3_FULLTEXT_SEARCH; + const char *zQuery = (const char *)sqlite3_value_text(pCons); + + if( zQuery==0 && sqlite3_value_type(pCons)!=SQLITE_NULL ){ + return SQLITE_NOMEM; + } + + pCsr->iLangid = 0; + if( pLangid ) pCsr->iLangid = sqlite3_value_int(pLangid); + + assert( p->base.zErrMsg==0 ); + rc = sqlite3Fts3ExprParse(p->pTokenizer, pCsr->iLangid, + p->azColumn, p->bFts4, p->nColumn, iCol, zQuery, -1, &pCsr->pExpr, + &p->base.zErrMsg + ); + if( rc!=SQLITE_OK ){ + return rc; + } + + rc = fts3EvalStart(pCsr); + sqlite3Fts3SegmentsClose(p); + if( rc!=SQLITE_OK ) return rc; + pCsr->pNextId = pCsr->aDoclist; + pCsr->iPrevId = 0; + } + + /* Compile a SELECT statement for this cursor. For a full-table-scan, the + ** statement loops through all rows of the %_content table. For a + ** full-text query or docid lookup, the statement retrieves a single + ** row by docid. + */ + if( eSearch==FTS3_FULLSCAN_SEARCH ){ + if( pDocidGe || pDocidLe ){ + zSql = sqlite3_mprintf( + "SELECT %s WHERE rowid BETWEEN %lld AND %lld ORDER BY rowid %s", + p->zReadExprlist, pCsr->iMinDocid, pCsr->iMaxDocid, + (pCsr->bDesc ? "DESC" : "ASC") + ); + }else{ + zSql = sqlite3_mprintf("SELECT %s ORDER BY rowid %s", + p->zReadExprlist, (pCsr->bDesc ? "DESC" : "ASC") + ); + } + if( zSql ){ + rc = sqlite3_prepare_v3(p->db,zSql,-1,SQLITE_PREPARE_PERSISTENT,&pCsr->pStmt,0); + sqlite3_free(zSql); + }else{ + rc = SQLITE_NOMEM; + } + }else if( eSearch==FTS3_DOCID_SEARCH ){ + rc = fts3CursorSeekStmt(pCsr); + if( rc==SQLITE_OK ){ + rc = sqlite3_bind_value(pCsr->pStmt, 1, pCons); + } + } + if( rc!=SQLITE_OK ) return rc; + + return fts3NextMethod(pCursor); +} + +/* +** This is the xEof method of the virtual table. SQLite calls this +** routine to find out if it has reached the end of a result set. +*/ +static int fts3EofMethod(sqlite3_vtab_cursor *pCursor){ + Fts3Cursor *pCsr = (Fts3Cursor*)pCursor; + if( pCsr->isEof ){ + fts3ClearCursor(pCsr); + pCsr->isEof = 1; + } + return pCsr->isEof; +} + +/* +** This is the xRowid method. The SQLite core calls this routine to +** retrieve the rowid for the current row of the result set. fts3 +** exposes %_content.docid as the rowid for the virtual table. The +** rowid should be written to *pRowid. +*/ +static int fts3RowidMethod(sqlite3_vtab_cursor *pCursor, sqlite_int64 *pRowid){ + Fts3Cursor *pCsr = (Fts3Cursor *) pCursor; + *pRowid = pCsr->iPrevId; + return SQLITE_OK; +} + +/* +** This is the xColumn method, called by SQLite to request a value from +** the row that the supplied cursor currently points to. +** +** If: +** +** (iCol < p->nColumn) -> The value of the iCol'th user column. +** (iCol == p->nColumn) -> Magic column with the same name as the table. +** (iCol == p->nColumn+1) -> Docid column +** (iCol == p->nColumn+2) -> Langid column +*/ +static int fts3ColumnMethod( + sqlite3_vtab_cursor *pCursor, /* Cursor to retrieve value from */ + sqlite3_context *pCtx, /* Context for sqlite3_result_xxx() calls */ + int iCol /* Index of column to read value from */ +){ + int rc = SQLITE_OK; /* Return Code */ + Fts3Cursor *pCsr = (Fts3Cursor *) pCursor; + Fts3Table *p = (Fts3Table *)pCursor->pVtab; + + /* The column value supplied by SQLite must be in range. */ + assert( iCol>=0 && iCol<=p->nColumn+2 ); + + switch( iCol-p->nColumn ){ + case 0: + /* The special 'table-name' column */ + sqlite3_result_pointer(pCtx, pCsr, "fts3cursor", 0); + break; + + case 1: + /* The docid column */ + sqlite3_result_int64(pCtx, pCsr->iPrevId); + break; + + case 2: + if( pCsr->pExpr ){ + sqlite3_result_int64(pCtx, pCsr->iLangid); + break; + }else if( p->zLanguageid==0 ){ + sqlite3_result_int(pCtx, 0); + break; + }else{ + iCol = p->nColumn; + /* fall-through */ + } + + default: + /* A user column. Or, if this is a full-table scan, possibly the + ** language-id column. Seek the cursor. */ + rc = fts3CursorSeek(0, pCsr); + if( rc==SQLITE_OK && sqlite3_data_count(pCsr->pStmt)-1>iCol ){ + sqlite3_result_value(pCtx, sqlite3_column_value(pCsr->pStmt, iCol+1)); + } + break; + } + + assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 ); + return rc; +} + +/* +** This function is the implementation of the xUpdate callback used by +** FTS3 virtual tables. It is invoked by SQLite each time a row is to be +** inserted, updated or deleted. +*/ +static int fts3UpdateMethod( + sqlite3_vtab *pVtab, /* Virtual table handle */ + int nArg, /* Size of argument array */ + sqlite3_value **apVal, /* Array of arguments */ + sqlite_int64 *pRowid /* OUT: The affected (or effected) rowid */ +){ + return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid); +} + +/* +** Implementation of xSync() method. Flush the contents of the pending-terms +** hash-table to the database. +*/ +static int fts3SyncMethod(sqlite3_vtab *pVtab){ + + /* Following an incremental-merge operation, assuming that the input + ** segments are not completely consumed (the usual case), they are updated + ** in place to remove the entries that have already been merged. This + ** involves updating the leaf block that contains the smallest unmerged + ** entry and each block (if any) between the leaf and the root node. So + ** if the height of the input segment b-trees is N, and input segments + ** are merged eight at a time, updating the input segments at the end + ** of an incremental-merge requires writing (8*(1+N)) blocks. N is usually + ** small - often between 0 and 2. So the overhead of the incremental + ** merge is somewhere between 8 and 24 blocks. To avoid this overhead + ** dwarfing the actual productive work accomplished, the incremental merge + ** is only attempted if it will write at least 64 leaf blocks. Hence + ** nMinMerge. + ** + ** Of course, updating the input segments also involves deleting a bunch + ** of blocks from the segments table. But this is not considered overhead + ** as it would also be required by a crisis-merge that used the same input + ** segments. + */ + const u32 nMinMerge = 64; /* Minimum amount of incr-merge work to do */ + + Fts3Table *p = (Fts3Table*)pVtab; + int rc; + i64 iLastRowid = sqlite3_last_insert_rowid(p->db); + + rc = sqlite3Fts3PendingTermsFlush(p); + if( rc==SQLITE_OK + && p->nLeafAdd>(nMinMerge/16) + && p->nAutoincrmerge && p->nAutoincrmerge!=0xff + ){ + int mxLevel = 0; /* Maximum relative level value in db */ + int A; /* Incr-merge parameter A */ + + rc = sqlite3Fts3MaxLevel(p, &mxLevel); + assert( rc==SQLITE_OK || mxLevel==0 ); + A = p->nLeafAdd * mxLevel; + A += (A/2); + if( A>(int)nMinMerge ) rc = sqlite3Fts3Incrmerge(p, A, p->nAutoincrmerge); + } + sqlite3Fts3SegmentsClose(p); + sqlite3_set_last_insert_rowid(p->db, iLastRowid); + return rc; +} + +/* +** If it is currently unknown whether or not the FTS table has an %_stat +** table (if p->bHasStat==2), attempt to determine this (set p->bHasStat +** to 0 or 1). Return SQLITE_OK if successful, or an SQLite error code +** if an error occurs. +*/ +static int fts3SetHasStat(Fts3Table *p){ + int rc = SQLITE_OK; + if( p->bHasStat==2 ){ + char *zTbl = sqlite3_mprintf("%s_stat", p->zName); + if( zTbl ){ + int res = sqlite3_table_column_metadata(p->db, p->zDb, zTbl, 0,0,0,0,0,0); + sqlite3_free(zTbl); + p->bHasStat = (res==SQLITE_OK); + }else{ + rc = SQLITE_NOMEM; + } + } + return rc; +} + +/* +** Implementation of xBegin() method. +*/ +static int fts3BeginMethod(sqlite3_vtab *pVtab){ + Fts3Table *p = (Fts3Table*)pVtab; + UNUSED_PARAMETER(pVtab); + assert( p->pSegments==0 ); + assert( p->nPendingData==0 ); + assert( p->inTransaction!=1 ); + TESTONLY( p->inTransaction = 1 ); + TESTONLY( p->mxSavepoint = -1; ); + p->nLeafAdd = 0; + return fts3SetHasStat(p); +} + +/* +** Implementation of xCommit() method. This is a no-op. The contents of +** the pending-terms hash-table have already been flushed into the database +** by fts3SyncMethod(). +*/ +static int fts3CommitMethod(sqlite3_vtab *pVtab){ + TESTONLY( Fts3Table *p = (Fts3Table*)pVtab ); + UNUSED_PARAMETER(pVtab); + assert( p->nPendingData==0 ); + assert( p->inTransaction!=0 ); + assert( p->pSegments==0 ); + TESTONLY( p->inTransaction = 0 ); + TESTONLY( p->mxSavepoint = -1; ); + return SQLITE_OK; +} + +/* +** Implementation of xRollback(). Discard the contents of the pending-terms +** hash-table. Any changes made to the database are reverted by SQLite. +*/ +static int fts3RollbackMethod(sqlite3_vtab *pVtab){ + Fts3Table *p = (Fts3Table*)pVtab; + sqlite3Fts3PendingTermsClear(p); + assert( p->inTransaction!=0 ); + TESTONLY( p->inTransaction = 0 ); + TESTONLY( p->mxSavepoint = -1; ); + return SQLITE_OK; +} + +/* +** When called, *ppPoslist must point to the byte immediately following the +** end of a position-list. i.e. ( (*ppPoslist)[-1]==POS_END ). This function +** moves *ppPoslist so that it instead points to the first byte of the +** same position list. +*/ +static void fts3ReversePoslist(char *pStart, char **ppPoslist){ + char *p = &(*ppPoslist)[-2]; + char c = 0; + + /* Skip backwards passed any trailing 0x00 bytes added by NearTrim() */ + while( p>pStart && (c=*p--)==0 ); + + /* Search backwards for a varint with value zero (the end of the previous + ** poslist). This is an 0x00 byte preceded by some byte that does not + ** have the 0x80 bit set. */ + while( p>pStart && (*p & 0x80) | c ){ + c = *p--; + } + assert( p==pStart || c==0 ); + + /* At this point p points to that preceding byte without the 0x80 bit + ** set. So to find the start of the poslist, skip forward 2 bytes then + ** over a varint. + ** + ** Normally. The other case is that p==pStart and the poslist to return + ** is the first in the doclist. In this case do not skip forward 2 bytes. + ** The second part of the if condition (c==0 && *ppPoslist>&p[2]) + ** is required for cases where the first byte of a doclist and the + ** doclist is empty. For example, if the first docid is 10, a doclist + ** that begins with: + ** + ** 0x0A 0x00 + */ + if( p>pStart || (c==0 && *ppPoslist>&p[2]) ){ p = &p[2]; } + while( *p++&0x80 ); + *ppPoslist = p; +} + +/* +** Helper function used by the implementation of the overloaded snippet(), +** offsets() and optimize() SQL functions. +** +** If the value passed as the third argument is a blob of size +** sizeof(Fts3Cursor*), then the blob contents are copied to the +** output variable *ppCsr and SQLITE_OK is returned. Otherwise, an error +** message is written to context pContext and SQLITE_ERROR returned. The +** string passed via zFunc is used as part of the error message. +*/ +static int fts3FunctionArg( + sqlite3_context *pContext, /* SQL function call context */ + const char *zFunc, /* Function name */ + sqlite3_value *pVal, /* argv[0] passed to function */ + Fts3Cursor **ppCsr /* OUT: Store cursor handle here */ +){ + int rc; + *ppCsr = (Fts3Cursor*)sqlite3_value_pointer(pVal, "fts3cursor"); + if( (*ppCsr)!=0 ){ + rc = SQLITE_OK; + }else{ + char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc); + sqlite3_result_error(pContext, zErr, -1); + sqlite3_free(zErr); + rc = SQLITE_ERROR; + } + return rc; +} + +/* +** Implementation of the snippet() function for FTS3 +*/ +static void fts3SnippetFunc( + sqlite3_context *pContext, /* SQLite function call context */ + int nVal, /* Size of apVal[] array */ + sqlite3_value **apVal /* Array of arguments */ +){ + Fts3Cursor *pCsr; /* Cursor handle passed through apVal[0] */ + const char *zStart = ""; + const char *zEnd = ""; + const char *zEllipsis = "..."; + int iCol = -1; + int nToken = 15; /* Default number of tokens in snippet */ + + /* There must be at least one argument passed to this function (otherwise + ** the non-overloaded version would have been called instead of this one). + */ + assert( nVal>=1 ); + + if( nVal>6 ){ + sqlite3_result_error(pContext, + "wrong number of arguments to function snippet()", -1); + return; + } + if( fts3FunctionArg(pContext, "snippet", apVal[0], &pCsr) ) return; + + switch( nVal ){ + case 6: nToken = sqlite3_value_int(apVal[5]); + case 5: iCol = sqlite3_value_int(apVal[4]); + case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]); + case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]); + case 2: zStart = (const char*)sqlite3_value_text(apVal[1]); + } + if( !zEllipsis || !zEnd || !zStart ){ + sqlite3_result_error_nomem(pContext); + }else if( nToken==0 ){ + sqlite3_result_text(pContext, "", -1, SQLITE_STATIC); + }else if( SQLITE_OK==fts3CursorSeek(pContext, pCsr) ){ + sqlite3Fts3Snippet(pContext, pCsr, zStart, zEnd, zEllipsis, iCol, nToken); + } +} + +/* +** Implementation of the offsets() function for FTS3 +*/ +static void fts3OffsetsFunc( + sqlite3_context *pContext, /* SQLite function call context */ + int nVal, /* Size of argument array */ + sqlite3_value **apVal /* Array of arguments */ +){ + Fts3Cursor *pCsr; /* Cursor handle passed through apVal[0] */ + + UNUSED_PARAMETER(nVal); + + assert( nVal==1 ); + if( fts3FunctionArg(pContext, "offsets", apVal[0], &pCsr) ) return; + assert( pCsr ); + if( SQLITE_OK==fts3CursorSeek(pContext, pCsr) ){ + sqlite3Fts3Offsets(pContext, pCsr); + } +} + +/* +** Implementation of the special optimize() function for FTS3. This +** function merges all segments in the database to a single segment. +** Example usage is: +** +** SELECT optimize(t) FROM t LIMIT 1; +** +** where 't' is the name of an FTS3 table. +*/ +static void fts3OptimizeFunc( + sqlite3_context *pContext, /* SQLite function call context */ + int nVal, /* Size of argument array */ + sqlite3_value **apVal /* Array of arguments */ +){ + int rc; /* Return code */ + Fts3Table *p; /* Virtual table handle */ + Fts3Cursor *pCursor; /* Cursor handle passed through apVal[0] */ + + UNUSED_PARAMETER(nVal); + + assert( nVal==1 ); + if( fts3FunctionArg(pContext, "optimize", apVal[0], &pCursor) ) return; + p = (Fts3Table *)pCursor->base.pVtab; + assert( p ); + + rc = sqlite3Fts3Optimize(p); + + switch( rc ){ + case SQLITE_OK: + sqlite3_result_text(pContext, "Index optimized", -1, SQLITE_STATIC); + break; + case SQLITE_DONE: + sqlite3_result_text(pContext, "Index already optimal", -1, SQLITE_STATIC); + break; + default: + sqlite3_result_error_code(pContext, rc); + break; + } +} + +/* +** Implementation of the matchinfo() function for FTS3 +*/ +static void fts3MatchinfoFunc( + sqlite3_context *pContext, /* SQLite function call context */ + int nVal, /* Size of argument array */ + sqlite3_value **apVal /* Array of arguments */ +){ + Fts3Cursor *pCsr; /* Cursor handle passed through apVal[0] */ + assert( nVal==1 || nVal==2 ); + if( SQLITE_OK==fts3FunctionArg(pContext, "matchinfo", apVal[0], &pCsr) ){ + const char *zArg = 0; + if( nVal>1 ){ + zArg = (const char *)sqlite3_value_text(apVal[1]); + } + sqlite3Fts3Matchinfo(pContext, pCsr, zArg); + } +} + +/* +** This routine implements the xFindFunction method for the FTS3 +** virtual table. +*/ +static int fts3FindFunctionMethod( + sqlite3_vtab *pVtab, /* Virtual table handle */ + int nArg, /* Number of SQL function arguments */ + const char *zName, /* Name of SQL function */ + void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), /* OUT: Result */ + void **ppArg /* Unused */ +){ + struct Overloaded { + const char *zName; + void (*xFunc)(sqlite3_context*,int,sqlite3_value**); + } aOverload[] = { + { "snippet", fts3SnippetFunc }, + { "offsets", fts3OffsetsFunc }, + { "optimize", fts3OptimizeFunc }, + { "matchinfo", fts3MatchinfoFunc }, + }; + int i; /* Iterator variable */ + + UNUSED_PARAMETER(pVtab); + UNUSED_PARAMETER(nArg); + UNUSED_PARAMETER(ppArg); + + for(i=0; idb; /* Database connection */ + int rc; /* Return Code */ + + /* At this point it must be known if the %_stat table exists or not. + ** So bHasStat may not be 2. */ + rc = fts3SetHasStat(p); + + /* As it happens, the pending terms table is always empty here. This is + ** because an "ALTER TABLE RENAME TABLE" statement inside a transaction + ** always opens a savepoint transaction. And the xSavepoint() method + ** flushes the pending terms table. But leave the (no-op) call to + ** PendingTermsFlush() in in case that changes. + */ + assert( p->nPendingData==0 ); + if( rc==SQLITE_OK ){ + rc = sqlite3Fts3PendingTermsFlush(p); + } + + if( p->zContentTbl==0 ){ + fts3DbExec(&rc, db, + "ALTER TABLE %Q.'%q_content' RENAME TO '%q_content';", + p->zDb, p->zName, zName + ); + } + + if( p->bHasDocsize ){ + fts3DbExec(&rc, db, + "ALTER TABLE %Q.'%q_docsize' RENAME TO '%q_docsize';", + p->zDb, p->zName, zName + ); + } + if( p->bHasStat ){ + fts3DbExec(&rc, db, + "ALTER TABLE %Q.'%q_stat' RENAME TO '%q_stat';", + p->zDb, p->zName, zName + ); + } + fts3DbExec(&rc, db, + "ALTER TABLE %Q.'%q_segments' RENAME TO '%q_segments';", + p->zDb, p->zName, zName + ); + fts3DbExec(&rc, db, + "ALTER TABLE %Q.'%q_segdir' RENAME TO '%q_segdir';", + p->zDb, p->zName, zName + ); + return rc; +} + +/* +** The xSavepoint() method. +** +** Flush the contents of the pending-terms table to disk. +*/ +static int fts3SavepointMethod(sqlite3_vtab *pVtab, int iSavepoint){ + int rc = SQLITE_OK; + UNUSED_PARAMETER(iSavepoint); + assert( ((Fts3Table *)pVtab)->inTransaction ); + assert( ((Fts3Table *)pVtab)->mxSavepoint <= iSavepoint ); + TESTONLY( ((Fts3Table *)pVtab)->mxSavepoint = iSavepoint ); + if( ((Fts3Table *)pVtab)->bIgnoreSavepoint==0 ){ + rc = fts3SyncMethod(pVtab); + } + return rc; +} + +/* +** The xRelease() method. +** +** This is a no-op. +*/ +static int fts3ReleaseMethod(sqlite3_vtab *pVtab, int iSavepoint){ + TESTONLY( Fts3Table *p = (Fts3Table*)pVtab ); + UNUSED_PARAMETER(iSavepoint); + UNUSED_PARAMETER(pVtab); + assert( p->inTransaction ); + assert( p->mxSavepoint >= iSavepoint ); + TESTONLY( p->mxSavepoint = iSavepoint-1 ); + return SQLITE_OK; +} + +/* +** The xRollbackTo() method. +** +** Discard the contents of the pending terms table. +*/ +static int fts3RollbackToMethod(sqlite3_vtab *pVtab, int iSavepoint){ + Fts3Table *p = (Fts3Table*)pVtab; + UNUSED_PARAMETER(iSavepoint); + assert( p->inTransaction ); + TESTONLY( p->mxSavepoint = iSavepoint ); + sqlite3Fts3PendingTermsClear(p); + return SQLITE_OK; +} + +/* +** Return true if zName is the extension on one of the shadow tables used +** by this module. +*/ +static int fts3ShadowName(const char *zName){ + static const char *azName[] = { + "content", "docsize", "segdir", "segments", "stat", + }; + unsigned int i; + for(i=0; ieType==FTSQUERY_PHRASE ){ + int i; + int nToken = pExpr->pPhrase->nToken; + *pnToken += nToken; + for(i=0; ipPhrase->aToken[i]; + int rc = fts3TermSegReaderCursor(pCsr, + pToken->z, pToken->n, pToken->isPrefix, &pToken->pSegcsr + ); + if( rc!=SQLITE_OK ){ + *pRc = rc; + return; + } + } + assert( pExpr->pPhrase->iDoclistToken==0 ); + pExpr->pPhrase->iDoclistToken = -1; + }else{ + *pnOr += (pExpr->eType==FTSQUERY_OR); + fts3EvalAllocateReaders(pCsr, pExpr->pLeft, pnToken, pnOr, pRc); + fts3EvalAllocateReaders(pCsr, pExpr->pRight, pnToken, pnOr, pRc); + } + } +} + +/* +** Arguments pList/nList contain the doclist for token iToken of phrase p. +** It is merged into the main doclist stored in p->doclist.aAll/nAll. +** +** This function assumes that pList points to a buffer allocated using +** sqlite3_malloc(). This function takes responsibility for eventually +** freeing the buffer. +** +** SQLITE_OK is returned if successful, or SQLITE_NOMEM if an error occurs. +*/ +static int fts3EvalPhraseMergeToken( + Fts3Table *pTab, /* FTS Table pointer */ + Fts3Phrase *p, /* Phrase to merge pList/nList into */ + int iToken, /* Token pList/nList corresponds to */ + char *pList, /* Pointer to doclist */ + int nList /* Number of bytes in pList */ +){ + int rc = SQLITE_OK; + assert( iToken!=p->iDoclistToken ); + + if( pList==0 ){ + sqlite3_free(p->doclist.aAll); + p->doclist.aAll = 0; + p->doclist.nAll = 0; + } + + else if( p->iDoclistToken<0 ){ + p->doclist.aAll = pList; + p->doclist.nAll = nList; + } + + else if( p->doclist.aAll==0 ){ + sqlite3_free(pList); + } + + else { + char *pLeft; + char *pRight; + int nLeft; + int nRight; + int nDiff; + + if( p->iDoclistTokendoclist.aAll; + nLeft = p->doclist.nAll; + pRight = pList; + nRight = nList; + nDiff = iToken - p->iDoclistToken; + }else{ + pRight = p->doclist.aAll; + nRight = p->doclist.nAll; + pLeft = pList; + nLeft = nList; + nDiff = p->iDoclistToken - iToken; + } + + rc = fts3DoclistPhraseMerge( + pTab->bDescIdx, nDiff, pLeft, nLeft, &pRight, &nRight + ); + sqlite3_free(pLeft); + p->doclist.aAll = pRight; + p->doclist.nAll = nRight; + } + + if( iToken>p->iDoclistToken ) p->iDoclistToken = iToken; + return rc; +} + +/* +** Load the doclist for phrase p into p->doclist.aAll/nAll. The loaded doclist +** does not take deferred tokens into account. +** +** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code. +*/ +static int fts3EvalPhraseLoad( + Fts3Cursor *pCsr, /* FTS Cursor handle */ + Fts3Phrase *p /* Phrase object */ +){ + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + int iToken; + int rc = SQLITE_OK; + + for(iToken=0; rc==SQLITE_OK && iTokennToken; iToken++){ + Fts3PhraseToken *pToken = &p->aToken[iToken]; + assert( pToken->pDeferred==0 || pToken->pSegcsr==0 ); + + if( pToken->pSegcsr ){ + int nThis = 0; + char *pThis = 0; + rc = fts3TermSelect(pTab, pToken, p->iColumn, &nThis, &pThis); + if( rc==SQLITE_OK ){ + rc = fts3EvalPhraseMergeToken(pTab, p, iToken, pThis, nThis); + } + } + assert( pToken->pSegcsr==0 ); + } + + return rc; +} + +#ifndef SQLITE_DISABLE_FTS4_DEFERRED +/* +** This function is called on each phrase after the position lists for +** any deferred tokens have been loaded into memory. It updates the phrases +** current position list to include only those positions that are really +** instances of the phrase (after considering deferred tokens). If this +** means that the phrase does not appear in the current row, doclist.pList +** and doclist.nList are both zeroed. +** +** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code. +*/ +static int fts3EvalDeferredPhrase(Fts3Cursor *pCsr, Fts3Phrase *pPhrase){ + int iToken; /* Used to iterate through phrase tokens */ + char *aPoslist = 0; /* Position list for deferred tokens */ + int nPoslist = 0; /* Number of bytes in aPoslist */ + int iPrev = -1; /* Token number of previous deferred token */ + + assert( pPhrase->doclist.bFreeList==0 ); + + for(iToken=0; iTokennToken; iToken++){ + Fts3PhraseToken *pToken = &pPhrase->aToken[iToken]; + Fts3DeferredToken *pDeferred = pToken->pDeferred; + + if( pDeferred ){ + char *pList; + int nList; + int rc = sqlite3Fts3DeferredTokenList(pDeferred, &pList, &nList); + if( rc!=SQLITE_OK ) return rc; + + if( pList==0 ){ + sqlite3_free(aPoslist); + pPhrase->doclist.pList = 0; + pPhrase->doclist.nList = 0; + return SQLITE_OK; + + }else if( aPoslist==0 ){ + aPoslist = pList; + nPoslist = nList; + + }else{ + char *aOut = pList; + char *p1 = aPoslist; + char *p2 = aOut; + + assert( iPrev>=0 ); + fts3PoslistPhraseMerge(&aOut, iToken-iPrev, 0, 1, &p1, &p2); + sqlite3_free(aPoslist); + aPoslist = pList; + nPoslist = (int)(aOut - aPoslist); + if( nPoslist==0 ){ + sqlite3_free(aPoslist); + pPhrase->doclist.pList = 0; + pPhrase->doclist.nList = 0; + return SQLITE_OK; + } + } + iPrev = iToken; + } + } + + if( iPrev>=0 ){ + int nMaxUndeferred = pPhrase->iDoclistToken; + if( nMaxUndeferred<0 ){ + pPhrase->doclist.pList = aPoslist; + pPhrase->doclist.nList = nPoslist; + pPhrase->doclist.iDocid = pCsr->iPrevId; + pPhrase->doclist.bFreeList = 1; + }else{ + int nDistance; + char *p1; + char *p2; + char *aOut; + + if( nMaxUndeferred>iPrev ){ + p1 = aPoslist; + p2 = pPhrase->doclist.pList; + nDistance = nMaxUndeferred - iPrev; + }else{ + p1 = pPhrase->doclist.pList; + p2 = aPoslist; + nDistance = iPrev - nMaxUndeferred; + } + + aOut = (char *)sqlite3_malloc(nPoslist+8); + if( !aOut ){ + sqlite3_free(aPoslist); + return SQLITE_NOMEM; + } + + pPhrase->doclist.pList = aOut; + if( fts3PoslistPhraseMerge(&aOut, nDistance, 0, 1, &p1, &p2) ){ + pPhrase->doclist.bFreeList = 1; + pPhrase->doclist.nList = (int)(aOut - pPhrase->doclist.pList); + }else{ + sqlite3_free(aOut); + pPhrase->doclist.pList = 0; + pPhrase->doclist.nList = 0; + } + sqlite3_free(aPoslist); + } + } + + return SQLITE_OK; +} +#endif /* SQLITE_DISABLE_FTS4_DEFERRED */ + +/* +** Maximum number of tokens a phrase may have to be considered for the +** incremental doclists strategy. +*/ +#define MAX_INCR_PHRASE_TOKENS 4 + +/* +** This function is called for each Fts3Phrase in a full-text query +** expression to initialize the mechanism for returning rows. Once this +** function has been called successfully on an Fts3Phrase, it may be +** used with fts3EvalPhraseNext() to iterate through the matching docids. +** +** If parameter bOptOk is true, then the phrase may (or may not) use the +** incremental loading strategy. Otherwise, the entire doclist is loaded into +** memory within this call. +** +** SQLITE_OK is returned if no error occurs, otherwise an SQLite error code. +*/ +static int fts3EvalPhraseStart(Fts3Cursor *pCsr, int bOptOk, Fts3Phrase *p){ + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + int rc = SQLITE_OK; /* Error code */ + int i; + + /* Determine if doclists may be loaded from disk incrementally. This is + ** possible if the bOptOk argument is true, the FTS doclists will be + ** scanned in forward order, and the phrase consists of + ** MAX_INCR_PHRASE_TOKENS or fewer tokens, none of which are are "^first" + ** tokens or prefix tokens that cannot use a prefix-index. */ + int bHaveIncr = 0; + int bIncrOk = (bOptOk + && pCsr->bDesc==pTab->bDescIdx + && p->nToken<=MAX_INCR_PHRASE_TOKENS && p->nToken>0 +#ifdef SQLITE_TEST + && pTab->bNoIncrDoclist==0 +#endif + ); + for(i=0; bIncrOk==1 && inToken; i++){ + Fts3PhraseToken *pToken = &p->aToken[i]; + if( pToken->bFirst || (pToken->pSegcsr!=0 && !pToken->pSegcsr->bLookup) ){ + bIncrOk = 0; + } + if( pToken->pSegcsr ) bHaveIncr = 1; + } + + if( bIncrOk && bHaveIncr ){ + /* Use the incremental approach. */ + int iCol = (p->iColumn >= pTab->nColumn ? -1 : p->iColumn); + for(i=0; rc==SQLITE_OK && inToken; i++){ + Fts3PhraseToken *pToken = &p->aToken[i]; + Fts3MultiSegReader *pSegcsr = pToken->pSegcsr; + if( pSegcsr ){ + rc = sqlite3Fts3MsrIncrStart(pTab, pSegcsr, iCol, pToken->z, pToken->n); + } + } + p->bIncr = 1; + }else{ + /* Load the full doclist for the phrase into memory. */ + rc = fts3EvalPhraseLoad(pCsr, p); + p->bIncr = 0; + } + + assert( rc!=SQLITE_OK || p->nToken<1 || p->aToken[0].pSegcsr==0 || p->bIncr ); + return rc; +} + +/* +** This function is used to iterate backwards (from the end to start) +** through doclists. It is used by this module to iterate through phrase +** doclists in reverse and by the fts3_write.c module to iterate through +** pending-terms lists when writing to databases with "order=desc". +** +** The doclist may be sorted in ascending (parameter bDescIdx==0) or +** descending (parameter bDescIdx==1) order of docid. Regardless, this +** function iterates from the end of the doclist to the beginning. +*/ +SQLITE_PRIVATE void sqlite3Fts3DoclistPrev( + int bDescIdx, /* True if the doclist is desc */ + char *aDoclist, /* Pointer to entire doclist */ + int nDoclist, /* Length of aDoclist in bytes */ + char **ppIter, /* IN/OUT: Iterator pointer */ + sqlite3_int64 *piDocid, /* IN/OUT: Docid pointer */ + int *pnList, /* OUT: List length pointer */ + u8 *pbEof /* OUT: End-of-file flag */ +){ + char *p = *ppIter; + + assert( nDoclist>0 ); + assert( *pbEof==0 ); + assert( p || *piDocid==0 ); + assert( !p || (p>aDoclist && p<&aDoclist[nDoclist]) ); + + if( p==0 ){ + sqlite3_int64 iDocid = 0; + char *pNext = 0; + char *pDocid = aDoclist; + char *pEnd = &aDoclist[nDoclist]; + int iMul = 1; + + while( pDocid0 ); + assert( *pbEof==0 ); + assert( p || *piDocid==0 ); + assert( !p || (p>=aDoclist && p<=&aDoclist[nDoclist]) ); + + if( p==0 ){ + p = aDoclist; + p += sqlite3Fts3GetVarint(p, piDocid); + }else{ + fts3PoslistCopy(0, &p); + while( p<&aDoclist[nDoclist] && *p==0 ) p++; + if( p>=&aDoclist[nDoclist] ){ + *pbEof = 1; + }else{ + sqlite3_int64 iVar; + p += sqlite3Fts3GetVarint(p, &iVar); + *piDocid += ((bDescIdx ? -1 : 1) * iVar); + } + } + + *ppIter = p; +} + +/* +** Advance the iterator pDL to the next entry in pDL->aAll/nAll. Set *pbEof +** to true if EOF is reached. +*/ +static void fts3EvalDlPhraseNext( + Fts3Table *pTab, + Fts3Doclist *pDL, + u8 *pbEof +){ + char *pIter; /* Used to iterate through aAll */ + char *pEnd = &pDL->aAll[pDL->nAll]; /* 1 byte past end of aAll */ + + if( pDL->pNextDocid ){ + pIter = pDL->pNextDocid; + }else{ + pIter = pDL->aAll; + } + + if( pIter>=pEnd ){ + /* We have already reached the end of this doclist. EOF. */ + *pbEof = 1; + }else{ + sqlite3_int64 iDelta; + pIter += sqlite3Fts3GetVarint(pIter, &iDelta); + if( pTab->bDescIdx==0 || pDL->pNextDocid==0 ){ + pDL->iDocid += iDelta; + }else{ + pDL->iDocid -= iDelta; + } + pDL->pList = pIter; + fts3PoslistCopy(0, &pIter); + pDL->nList = (int)(pIter - pDL->pList); + + /* pIter now points just past the 0x00 that terminates the position- + ** list for document pDL->iDocid. However, if this position-list was + ** edited in place by fts3EvalNearTrim(), then pIter may not actually + ** point to the start of the next docid value. The following line deals + ** with this case by advancing pIter past the zero-padding added by + ** fts3EvalNearTrim(). */ + while( pIterpNextDocid = pIter; + assert( pIter>=&pDL->aAll[pDL->nAll] || *pIter ); + *pbEof = 0; + } +} + +/* +** Helper type used by fts3EvalIncrPhraseNext() and incrPhraseTokenNext(). +*/ +typedef struct TokenDoclist TokenDoclist; +struct TokenDoclist { + int bIgnore; + sqlite3_int64 iDocid; + char *pList; + int nList; +}; + +/* +** Token pToken is an incrementally loaded token that is part of a +** multi-token phrase. Advance it to the next matching document in the +** database and populate output variable *p with the details of the new +** entry. Or, if the iterator has reached EOF, set *pbEof to true. +** +** If an error occurs, return an SQLite error code. Otherwise, return +** SQLITE_OK. +*/ +static int incrPhraseTokenNext( + Fts3Table *pTab, /* Virtual table handle */ + Fts3Phrase *pPhrase, /* Phrase to advance token of */ + int iToken, /* Specific token to advance */ + TokenDoclist *p, /* OUT: Docid and doclist for new entry */ + u8 *pbEof /* OUT: True if iterator is at EOF */ +){ + int rc = SQLITE_OK; + + if( pPhrase->iDoclistToken==iToken ){ + assert( p->bIgnore==0 ); + assert( pPhrase->aToken[iToken].pSegcsr==0 ); + fts3EvalDlPhraseNext(pTab, &pPhrase->doclist, pbEof); + p->pList = pPhrase->doclist.pList; + p->nList = pPhrase->doclist.nList; + p->iDocid = pPhrase->doclist.iDocid; + }else{ + Fts3PhraseToken *pToken = &pPhrase->aToken[iToken]; + assert( pToken->pDeferred==0 ); + assert( pToken->pSegcsr || pPhrase->iDoclistToken>=0 ); + if( pToken->pSegcsr ){ + assert( p->bIgnore==0 ); + rc = sqlite3Fts3MsrIncrNext( + pTab, pToken->pSegcsr, &p->iDocid, &p->pList, &p->nList + ); + if( p->pList==0 ) *pbEof = 1; + }else{ + p->bIgnore = 1; + } + } + + return rc; +} + + +/* +** The phrase iterator passed as the second argument: +** +** * features at least one token that uses an incremental doclist, and +** +** * does not contain any deferred tokens. +** +** Advance it to the next matching documnent in the database and populate +** the Fts3Doclist.pList and nList fields. +** +** If there is no "next" entry and no error occurs, then *pbEof is set to +** 1 before returning. Otherwise, if no error occurs and the iterator is +** successfully advanced, *pbEof is set to 0. +** +** If an error occurs, return an SQLite error code. Otherwise, return +** SQLITE_OK. +*/ +static int fts3EvalIncrPhraseNext( + Fts3Cursor *pCsr, /* FTS Cursor handle */ + Fts3Phrase *p, /* Phrase object to advance to next docid */ + u8 *pbEof /* OUT: Set to 1 if EOF */ +){ + int rc = SQLITE_OK; + Fts3Doclist *pDL = &p->doclist; + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + u8 bEof = 0; + + /* This is only called if it is guaranteed that the phrase has at least + ** one incremental token. In which case the bIncr flag is set. */ + assert( p->bIncr==1 ); + + if( p->nToken==1 ){ + rc = sqlite3Fts3MsrIncrNext(pTab, p->aToken[0].pSegcsr, + &pDL->iDocid, &pDL->pList, &pDL->nList + ); + if( pDL->pList==0 ) bEof = 1; + }else{ + int bDescDoclist = pCsr->bDesc; + struct TokenDoclist a[MAX_INCR_PHRASE_TOKENS]; + + memset(a, 0, sizeof(a)); + assert( p->nToken<=MAX_INCR_PHRASE_TOKENS ); + assert( p->iDoclistTokennToken && bEof==0; i++){ + rc = incrPhraseTokenNext(pTab, p, i, &a[i], &bEof); + if( a[i].bIgnore==0 && (bMaxSet==0 || DOCID_CMP(iMax, a[i].iDocid)<0) ){ + iMax = a[i].iDocid; + bMaxSet = 1; + } + } + assert( rc!=SQLITE_OK || (p->nToken>=1 && a[p->nToken-1].bIgnore==0) ); + assert( rc!=SQLITE_OK || bMaxSet ); + + /* Keep advancing iterators until they all point to the same document */ + for(i=0; inToken; i++){ + while( rc==SQLITE_OK && bEof==0 + && a[i].bIgnore==0 && DOCID_CMP(a[i].iDocid, iMax)<0 + ){ + rc = incrPhraseTokenNext(pTab, p, i, &a[i], &bEof); + if( DOCID_CMP(a[i].iDocid, iMax)>0 ){ + iMax = a[i].iDocid; + i = 0; + } + } + } + + /* Check if the current entries really are a phrase match */ + if( bEof==0 ){ + int nList = 0; + int nByte = a[p->nToken-1].nList; + char *aDoclist = sqlite3_malloc(nByte+FTS3_BUFFER_PADDING); + if( !aDoclist ) return SQLITE_NOMEM; + memcpy(aDoclist, a[p->nToken-1].pList, nByte+1); + memset(&aDoclist[nByte], 0, FTS3_BUFFER_PADDING); + + for(i=0; i<(p->nToken-1); i++){ + if( a[i].bIgnore==0 ){ + char *pL = a[i].pList; + char *pR = aDoclist; + char *pOut = aDoclist; + int nDist = p->nToken-1-i; + int res = fts3PoslistPhraseMerge(&pOut, nDist, 0, 1, &pL, &pR); + if( res==0 ) break; + nList = (int)(pOut - aDoclist); + } + } + if( i==(p->nToken-1) ){ + pDL->iDocid = iMax; + pDL->pList = aDoclist; + pDL->nList = nList; + pDL->bFreeList = 1; + break; + } + sqlite3_free(aDoclist); + } + } + } + + *pbEof = bEof; + return rc; +} + +/* +** Attempt to move the phrase iterator to point to the next matching docid. +** If an error occurs, return an SQLite error code. Otherwise, return +** SQLITE_OK. +** +** If there is no "next" entry and no error occurs, then *pbEof is set to +** 1 before returning. Otherwise, if no error occurs and the iterator is +** successfully advanced, *pbEof is set to 0. +*/ +static int fts3EvalPhraseNext( + Fts3Cursor *pCsr, /* FTS Cursor handle */ + Fts3Phrase *p, /* Phrase object to advance to next docid */ + u8 *pbEof /* OUT: Set to 1 if EOF */ +){ + int rc = SQLITE_OK; + Fts3Doclist *pDL = &p->doclist; + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + + if( p->bIncr ){ + rc = fts3EvalIncrPhraseNext(pCsr, p, pbEof); + }else if( pCsr->bDesc!=pTab->bDescIdx && pDL->nAll ){ + sqlite3Fts3DoclistPrev(pTab->bDescIdx, pDL->aAll, pDL->nAll, + &pDL->pNextDocid, &pDL->iDocid, &pDL->nList, pbEof + ); + pDL->pList = pDL->pNextDocid; + }else{ + fts3EvalDlPhraseNext(pTab, pDL, pbEof); + } + + return rc; +} + +/* +** +** If *pRc is not SQLITE_OK when this function is called, it is a no-op. +** Otherwise, fts3EvalPhraseStart() is called on all phrases within the +** expression. Also the Fts3Expr.bDeferred variable is set to true for any +** expressions for which all descendent tokens are deferred. +** +** If parameter bOptOk is zero, then it is guaranteed that the +** Fts3Phrase.doclist.aAll/nAll variables contain the entire doclist for +** each phrase in the expression (subject to deferred token processing). +** Or, if bOptOk is non-zero, then one or more tokens within the expression +** may be loaded incrementally, meaning doclist.aAll/nAll is not available. +** +** If an error occurs within this function, *pRc is set to an SQLite error +** code before returning. +*/ +static void fts3EvalStartReaders( + Fts3Cursor *pCsr, /* FTS Cursor handle */ + Fts3Expr *pExpr, /* Expression to initialize phrases in */ + int *pRc /* IN/OUT: Error code */ +){ + if( pExpr && SQLITE_OK==*pRc ){ + if( pExpr->eType==FTSQUERY_PHRASE ){ + int nToken = pExpr->pPhrase->nToken; + if( nToken ){ + int i; + for(i=0; ipPhrase->aToken[i].pDeferred==0 ) break; + } + pExpr->bDeferred = (i==nToken); + } + *pRc = fts3EvalPhraseStart(pCsr, 1, pExpr->pPhrase); + }else{ + fts3EvalStartReaders(pCsr, pExpr->pLeft, pRc); + fts3EvalStartReaders(pCsr, pExpr->pRight, pRc); + pExpr->bDeferred = (pExpr->pLeft->bDeferred && pExpr->pRight->bDeferred); + } + } +} + +/* +** An array of the following structures is assembled as part of the process +** of selecting tokens to defer before the query starts executing (as part +** of the xFilter() method). There is one element in the array for each +** token in the FTS expression. +** +** Tokens are divided into AND/NEAR clusters. All tokens in a cluster belong +** to phrases that are connected only by AND and NEAR operators (not OR or +** NOT). When determining tokens to defer, each AND/NEAR cluster is considered +** separately. The root of a tokens AND/NEAR cluster is stored in +** Fts3TokenAndCost.pRoot. +*/ +typedef struct Fts3TokenAndCost Fts3TokenAndCost; +struct Fts3TokenAndCost { + Fts3Phrase *pPhrase; /* The phrase the token belongs to */ + int iToken; /* Position of token in phrase */ + Fts3PhraseToken *pToken; /* The token itself */ + Fts3Expr *pRoot; /* Root of NEAR/AND cluster */ + int nOvfl; /* Number of overflow pages to load doclist */ + int iCol; /* The column the token must match */ +}; + +/* +** This function is used to populate an allocated Fts3TokenAndCost array. +** +** If *pRc is not SQLITE_OK when this function is called, it is a no-op. +** Otherwise, if an error occurs during execution, *pRc is set to an +** SQLite error code. +*/ +static void fts3EvalTokenCosts( + Fts3Cursor *pCsr, /* FTS Cursor handle */ + Fts3Expr *pRoot, /* Root of current AND/NEAR cluster */ + Fts3Expr *pExpr, /* Expression to consider */ + Fts3TokenAndCost **ppTC, /* Write new entries to *(*ppTC)++ */ + Fts3Expr ***ppOr, /* Write new OR root to *(*ppOr)++ */ + int *pRc /* IN/OUT: Error code */ +){ + if( *pRc==SQLITE_OK ){ + if( pExpr->eType==FTSQUERY_PHRASE ){ + Fts3Phrase *pPhrase = pExpr->pPhrase; + int i; + for(i=0; *pRc==SQLITE_OK && inToken; i++){ + Fts3TokenAndCost *pTC = (*ppTC)++; + pTC->pPhrase = pPhrase; + pTC->iToken = i; + pTC->pRoot = pRoot; + pTC->pToken = &pPhrase->aToken[i]; + pTC->iCol = pPhrase->iColumn; + *pRc = sqlite3Fts3MsrOvfl(pCsr, pTC->pToken->pSegcsr, &pTC->nOvfl); + } + }else if( pExpr->eType!=FTSQUERY_NOT ){ + assert( pExpr->eType==FTSQUERY_OR + || pExpr->eType==FTSQUERY_AND + || pExpr->eType==FTSQUERY_NEAR + ); + assert( pExpr->pLeft && pExpr->pRight ); + if( pExpr->eType==FTSQUERY_OR ){ + pRoot = pExpr->pLeft; + **ppOr = pRoot; + (*ppOr)++; + } + fts3EvalTokenCosts(pCsr, pRoot, pExpr->pLeft, ppTC, ppOr, pRc); + if( pExpr->eType==FTSQUERY_OR ){ + pRoot = pExpr->pRight; + **ppOr = pRoot; + (*ppOr)++; + } + fts3EvalTokenCosts(pCsr, pRoot, pExpr->pRight, ppTC, ppOr, pRc); + } + } +} + +/* +** Determine the average document (row) size in pages. If successful, +** write this value to *pnPage and return SQLITE_OK. Otherwise, return +** an SQLite error code. +** +** The average document size in pages is calculated by first calculating +** determining the average size in bytes, B. If B is less than the amount +** of data that will fit on a single leaf page of an intkey table in +** this database, then the average docsize is 1. Otherwise, it is 1 plus +** the number of overflow pages consumed by a record B bytes in size. +*/ +static int fts3EvalAverageDocsize(Fts3Cursor *pCsr, int *pnPage){ + int rc = SQLITE_OK; + if( pCsr->nRowAvg==0 ){ + /* The average document size, which is required to calculate the cost + ** of each doclist, has not yet been determined. Read the required + ** data from the %_stat table to calculate it. + ** + ** Entry 0 of the %_stat table is a blob containing (nCol+1) FTS3 + ** varints, where nCol is the number of columns in the FTS3 table. + ** The first varint is the number of documents currently stored in + ** the table. The following nCol varints contain the total amount of + ** data stored in all rows of each column of the table, from left + ** to right. + */ + Fts3Table *p = (Fts3Table*)pCsr->base.pVtab; + sqlite3_stmt *pStmt; + sqlite3_int64 nDoc = 0; + sqlite3_int64 nByte = 0; + const char *pEnd; + const char *a; + + rc = sqlite3Fts3SelectDoctotal(p, &pStmt); + if( rc!=SQLITE_OK ) return rc; + a = sqlite3_column_blob(pStmt, 0); + assert( a ); + + pEnd = &a[sqlite3_column_bytes(pStmt, 0)]; + a += sqlite3Fts3GetVarint(a, &nDoc); + while( anDoc = nDoc; + pCsr->nRowAvg = (int)(((nByte / nDoc) + p->nPgsz) / p->nPgsz); + assert( pCsr->nRowAvg>0 ); + rc = sqlite3_reset(pStmt); + } + + *pnPage = pCsr->nRowAvg; + return rc; +} + +/* +** This function is called to select the tokens (if any) that will be +** deferred. The array aTC[] has already been populated when this is +** called. +** +** This function is called once for each AND/NEAR cluster in the +** expression. Each invocation determines which tokens to defer within +** the cluster with root node pRoot. See comments above the definition +** of struct Fts3TokenAndCost for more details. +** +** If no error occurs, SQLITE_OK is returned and sqlite3Fts3DeferToken() +** called on each token to defer. Otherwise, an SQLite error code is +** returned. +*/ +static int fts3EvalSelectDeferred( + Fts3Cursor *pCsr, /* FTS Cursor handle */ + Fts3Expr *pRoot, /* Consider tokens with this root node */ + Fts3TokenAndCost *aTC, /* Array of expression tokens and costs */ + int nTC /* Number of entries in aTC[] */ +){ + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + int nDocSize = 0; /* Number of pages per doc loaded */ + int rc = SQLITE_OK; /* Return code */ + int ii; /* Iterator variable for various purposes */ + int nOvfl = 0; /* Total overflow pages used by doclists */ + int nToken = 0; /* Total number of tokens in cluster */ + + int nMinEst = 0; /* The minimum count for any phrase so far. */ + int nLoad4 = 1; /* (Phrases that will be loaded)^4. */ + + /* Tokens are never deferred for FTS tables created using the content=xxx + ** option. The reason being that it is not guaranteed that the content + ** table actually contains the same data as the index. To prevent this from + ** causing any problems, the deferred token optimization is completely + ** disabled for content=xxx tables. */ + if( pTab->zContentTbl ){ + return SQLITE_OK; + } + + /* Count the tokens in this AND/NEAR cluster. If none of the doclists + ** associated with the tokens spill onto overflow pages, or if there is + ** only 1 token, exit early. No tokens to defer in this case. */ + for(ii=0; ii0 ); + + + /* Iterate through all tokens in this AND/NEAR cluster, in ascending order + ** of the number of overflow pages that will be loaded by the pager layer + ** to retrieve the entire doclist for the token from the full-text index. + ** Load the doclists for tokens that are either: + ** + ** a. The cheapest token in the entire query (i.e. the one visited by the + ** first iteration of this loop), or + ** + ** b. Part of a multi-token phrase. + ** + ** After each token doclist is loaded, merge it with the others from the + ** same phrase and count the number of documents that the merged doclist + ** contains. Set variable "nMinEst" to the smallest number of documents in + ** any phrase doclist for which 1 or more token doclists have been loaded. + ** Let nOther be the number of other phrases for which it is certain that + ** one or more tokens will not be deferred. + ** + ** Then, for each token, defer it if loading the doclist would result in + ** loading N or more overflow pages into memory, where N is computed as: + ** + ** (nMinEst + 4^nOther - 1) / (4^nOther) + */ + for(ii=0; iinOvfl) + ){ + pTC = &aTC[iTC]; + } + } + assert( pTC ); + + if( ii && pTC->nOvfl>=((nMinEst+(nLoad4/4)-1)/(nLoad4/4))*nDocSize ){ + /* The number of overflow pages to load for this (and therefore all + ** subsequent) tokens is greater than the estimated number of pages + ** that will be loaded if all subsequent tokens are deferred. + */ + Fts3PhraseToken *pToken = pTC->pToken; + rc = sqlite3Fts3DeferToken(pCsr, pToken, pTC->iCol); + fts3SegReaderCursorFree(pToken->pSegcsr); + pToken->pSegcsr = 0; + }else{ + /* Set nLoad4 to the value of (4^nOther) for the next iteration of the + ** for-loop. Except, limit the value to 2^24 to prevent it from + ** overflowing the 32-bit integer it is stored in. */ + if( ii<12 ) nLoad4 = nLoad4*4; + + if( ii==0 || (pTC->pPhrase->nToken>1 && ii!=nToken-1) ){ + /* Either this is the cheapest token in the entire query, or it is + ** part of a multi-token phrase. Either way, the entire doclist will + ** (eventually) be loaded into memory. It may as well be now. */ + Fts3PhraseToken *pToken = pTC->pToken; + int nList = 0; + char *pList = 0; + rc = fts3TermSelect(pTab, pToken, pTC->iCol, &nList, &pList); + assert( rc==SQLITE_OK || pList==0 ); + if( rc==SQLITE_OK ){ + rc = fts3EvalPhraseMergeToken( + pTab, pTC->pPhrase, pTC->iToken,pList,nList + ); + } + if( rc==SQLITE_OK ){ + int nCount; + nCount = fts3DoclistCountDocids( + pTC->pPhrase->doclist.aAll, pTC->pPhrase->doclist.nAll + ); + if( ii==0 || nCountpToken = 0; + } + + return rc; +} + +/* +** This function is called from within the xFilter method. It initializes +** the full-text query currently stored in pCsr->pExpr. To iterate through +** the results of a query, the caller does: +** +** fts3EvalStart(pCsr); +** while( 1 ){ +** fts3EvalNext(pCsr); +** if( pCsr->bEof ) break; +** ... return row pCsr->iPrevId to the caller ... +** } +*/ +static int fts3EvalStart(Fts3Cursor *pCsr){ + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + int rc = SQLITE_OK; + int nToken = 0; + int nOr = 0; + + /* Allocate a MultiSegReader for each token in the expression. */ + fts3EvalAllocateReaders(pCsr, pCsr->pExpr, &nToken, &nOr, &rc); + + /* Determine which, if any, tokens in the expression should be deferred. */ +#ifndef SQLITE_DISABLE_FTS4_DEFERRED + if( rc==SQLITE_OK && nToken>1 && pTab->bFts4 ){ + Fts3TokenAndCost *aTC; + Fts3Expr **apOr; + aTC = (Fts3TokenAndCost *)sqlite3_malloc64( + sizeof(Fts3TokenAndCost) * nToken + + sizeof(Fts3Expr *) * nOr * 2 + ); + apOr = (Fts3Expr **)&aTC[nToken]; + + if( !aTC ){ + rc = SQLITE_NOMEM; + }else{ + int ii; + Fts3TokenAndCost *pTC = aTC; + Fts3Expr **ppOr = apOr; + + fts3EvalTokenCosts(pCsr, 0, pCsr->pExpr, &pTC, &ppOr, &rc); + nToken = (int)(pTC-aTC); + nOr = (int)(ppOr-apOr); + + if( rc==SQLITE_OK ){ + rc = fts3EvalSelectDeferred(pCsr, 0, aTC, nToken); + for(ii=0; rc==SQLITE_OK && iipExpr, &rc); + return rc; +} + +/* +** Invalidate the current position list for phrase pPhrase. +*/ +static void fts3EvalInvalidatePoslist(Fts3Phrase *pPhrase){ + if( pPhrase->doclist.bFreeList ){ + sqlite3_free(pPhrase->doclist.pList); + } + pPhrase->doclist.pList = 0; + pPhrase->doclist.nList = 0; + pPhrase->doclist.bFreeList = 0; +} + +/* +** This function is called to edit the position list associated with +** the phrase object passed as the fifth argument according to a NEAR +** condition. For example: +** +** abc NEAR/5 "def ghi" +** +** Parameter nNear is passed the NEAR distance of the expression (5 in +** the example above). When this function is called, *paPoslist points to +** the position list, and *pnToken is the number of phrase tokens in, the +** phrase on the other side of the NEAR operator to pPhrase. For example, +** if pPhrase refers to the "def ghi" phrase, then *paPoslist points to +** the position list associated with phrase "abc". +** +** All positions in the pPhrase position list that are not sufficiently +** close to a position in the *paPoslist position list are removed. If this +** leaves 0 positions, zero is returned. Otherwise, non-zero. +** +** Before returning, *paPoslist is set to point to the position lsit +** associated with pPhrase. And *pnToken is set to the number of tokens in +** pPhrase. +*/ +static int fts3EvalNearTrim( + int nNear, /* NEAR distance. As in "NEAR/nNear". */ + char *aTmp, /* Temporary space to use */ + char **paPoslist, /* IN/OUT: Position list */ + int *pnToken, /* IN/OUT: Tokens in phrase of *paPoslist */ + Fts3Phrase *pPhrase /* The phrase object to trim the doclist of */ +){ + int nParam1 = nNear + pPhrase->nToken; + int nParam2 = nNear + *pnToken; + int nNew; + char *p2; + char *pOut; + int res; + + assert( pPhrase->doclist.pList ); + + p2 = pOut = pPhrase->doclist.pList; + res = fts3PoslistNearMerge( + &pOut, aTmp, nParam1, nParam2, paPoslist, &p2 + ); + if( res ){ + nNew = (int)(pOut - pPhrase->doclist.pList) - 1; + assert( pPhrase->doclist.pList[nNew]=='\0' ); + assert( nNew<=pPhrase->doclist.nList && nNew>0 ); + memset(&pPhrase->doclist.pList[nNew], 0, pPhrase->doclist.nList - nNew); + pPhrase->doclist.nList = nNew; + *paPoslist = pPhrase->doclist.pList; + *pnToken = pPhrase->nToken; + } + + return res; +} + +/* +** This function is a no-op if *pRc is other than SQLITE_OK when it is called. +** Otherwise, it advances the expression passed as the second argument to +** point to the next matching row in the database. Expressions iterate through +** matching rows in docid order. Ascending order if Fts3Cursor.bDesc is zero, +** or descending if it is non-zero. +** +** If an error occurs, *pRc is set to an SQLite error code. Otherwise, if +** successful, the following variables in pExpr are set: +** +** Fts3Expr.bEof (non-zero if EOF - there is no next row) +** Fts3Expr.iDocid (valid if bEof==0. The docid of the next row) +** +** If the expression is of type FTSQUERY_PHRASE, and the expression is not +** at EOF, then the following variables are populated with the position list +** for the phrase for the visited row: +** +** FTs3Expr.pPhrase->doclist.nList (length of pList in bytes) +** FTs3Expr.pPhrase->doclist.pList (pointer to position list) +** +** It says above that this function advances the expression to the next +** matching row. This is usually true, but there are the following exceptions: +** +** 1. Deferred tokens are not taken into account. If a phrase consists +** entirely of deferred tokens, it is assumed to match every row in +** the db. In this case the position-list is not populated at all. +** +** Or, if a phrase contains one or more deferred tokens and one or +** more non-deferred tokens, then the expression is advanced to the +** next possible match, considering only non-deferred tokens. In other +** words, if the phrase is "A B C", and "B" is deferred, the expression +** is advanced to the next row that contains an instance of "A * C", +** where "*" may match any single token. The position list in this case +** is populated as for "A * C" before returning. +** +** 2. NEAR is treated as AND. If the expression is "x NEAR y", it is +** advanced to point to the next row that matches "x AND y". +** +** See sqlite3Fts3EvalTestDeferred() for details on testing if a row is +** really a match, taking into account deferred tokens and NEAR operators. +*/ +static void fts3EvalNextRow( + Fts3Cursor *pCsr, /* FTS Cursor handle */ + Fts3Expr *pExpr, /* Expr. to advance to next matching row */ + int *pRc /* IN/OUT: Error code */ +){ + if( *pRc==SQLITE_OK ){ + int bDescDoclist = pCsr->bDesc; /* Used by DOCID_CMP() macro */ + assert( pExpr->bEof==0 ); + pExpr->bStart = 1; + + switch( pExpr->eType ){ + case FTSQUERY_NEAR: + case FTSQUERY_AND: { + Fts3Expr *pLeft = pExpr->pLeft; + Fts3Expr *pRight = pExpr->pRight; + assert( !pLeft->bDeferred || !pRight->bDeferred ); + + if( pLeft->bDeferred ){ + /* LHS is entirely deferred. So we assume it matches every row. + ** Advance the RHS iterator to find the next row visited. */ + fts3EvalNextRow(pCsr, pRight, pRc); + pExpr->iDocid = pRight->iDocid; + pExpr->bEof = pRight->bEof; + }else if( pRight->bDeferred ){ + /* RHS is entirely deferred. So we assume it matches every row. + ** Advance the LHS iterator to find the next row visited. */ + fts3EvalNextRow(pCsr, pLeft, pRc); + pExpr->iDocid = pLeft->iDocid; + pExpr->bEof = pLeft->bEof; + }else{ + /* Neither the RHS or LHS are deferred. */ + fts3EvalNextRow(pCsr, pLeft, pRc); + fts3EvalNextRow(pCsr, pRight, pRc); + while( !pLeft->bEof && !pRight->bEof && *pRc==SQLITE_OK ){ + sqlite3_int64 iDiff = DOCID_CMP(pLeft->iDocid, pRight->iDocid); + if( iDiff==0 ) break; + if( iDiff<0 ){ + fts3EvalNextRow(pCsr, pLeft, pRc); + }else{ + fts3EvalNextRow(pCsr, pRight, pRc); + } + } + pExpr->iDocid = pLeft->iDocid; + pExpr->bEof = (pLeft->bEof || pRight->bEof); + if( pExpr->eType==FTSQUERY_NEAR && pExpr->bEof ){ + assert( pRight->eType==FTSQUERY_PHRASE ); + if( pRight->pPhrase->doclist.aAll ){ + Fts3Doclist *pDl = &pRight->pPhrase->doclist; + while( *pRc==SQLITE_OK && pRight->bEof==0 ){ + memset(pDl->pList, 0, pDl->nList); + fts3EvalNextRow(pCsr, pRight, pRc); + } + } + if( pLeft->pPhrase && pLeft->pPhrase->doclist.aAll ){ + Fts3Doclist *pDl = &pLeft->pPhrase->doclist; + while( *pRc==SQLITE_OK && pLeft->bEof==0 ){ + memset(pDl->pList, 0, pDl->nList); + fts3EvalNextRow(pCsr, pLeft, pRc); + } + } + } + } + break; + } + + case FTSQUERY_OR: { + Fts3Expr *pLeft = pExpr->pLeft; + Fts3Expr *pRight = pExpr->pRight; + sqlite3_int64 iCmp = DOCID_CMP(pLeft->iDocid, pRight->iDocid); + + assert( pLeft->bStart || pLeft->iDocid==pRight->iDocid ); + assert( pRight->bStart || pLeft->iDocid==pRight->iDocid ); + + if( pRight->bEof || (pLeft->bEof==0 && iCmp<0) ){ + fts3EvalNextRow(pCsr, pLeft, pRc); + }else if( pLeft->bEof || iCmp>0 ){ + fts3EvalNextRow(pCsr, pRight, pRc); + }else{ + fts3EvalNextRow(pCsr, pLeft, pRc); + fts3EvalNextRow(pCsr, pRight, pRc); + } + + pExpr->bEof = (pLeft->bEof && pRight->bEof); + iCmp = DOCID_CMP(pLeft->iDocid, pRight->iDocid); + if( pRight->bEof || (pLeft->bEof==0 && iCmp<0) ){ + pExpr->iDocid = pLeft->iDocid; + }else{ + pExpr->iDocid = pRight->iDocid; + } + + break; + } + + case FTSQUERY_NOT: { + Fts3Expr *pLeft = pExpr->pLeft; + Fts3Expr *pRight = pExpr->pRight; + + if( pRight->bStart==0 ){ + fts3EvalNextRow(pCsr, pRight, pRc); + assert( *pRc!=SQLITE_OK || pRight->bStart ); + } + + fts3EvalNextRow(pCsr, pLeft, pRc); + if( pLeft->bEof==0 ){ + while( !*pRc + && !pRight->bEof + && DOCID_CMP(pLeft->iDocid, pRight->iDocid)>0 + ){ + fts3EvalNextRow(pCsr, pRight, pRc); + } + } + pExpr->iDocid = pLeft->iDocid; + pExpr->bEof = pLeft->bEof; + break; + } + + default: { + Fts3Phrase *pPhrase = pExpr->pPhrase; + fts3EvalInvalidatePoslist(pPhrase); + *pRc = fts3EvalPhraseNext(pCsr, pPhrase, &pExpr->bEof); + pExpr->iDocid = pPhrase->doclist.iDocid; + break; + } + } + } +} + +/* +** If *pRc is not SQLITE_OK, or if pExpr is not the root node of a NEAR +** cluster, then this function returns 1 immediately. +** +** Otherwise, it checks if the current row really does match the NEAR +** expression, using the data currently stored in the position lists +** (Fts3Expr->pPhrase.doclist.pList/nList) for each phrase in the expression. +** +** If the current row is a match, the position list associated with each +** phrase in the NEAR expression is edited in place to contain only those +** phrase instances sufficiently close to their peers to satisfy all NEAR +** constraints. In this case it returns 1. If the NEAR expression does not +** match the current row, 0 is returned. The position lists may or may not +** be edited if 0 is returned. +*/ +static int fts3EvalNearTest(Fts3Expr *pExpr, int *pRc){ + int res = 1; + + /* The following block runs if pExpr is the root of a NEAR query. + ** For example, the query: + ** + ** "w" NEAR "x" NEAR "y" NEAR "z" + ** + ** which is represented in tree form as: + ** + ** | + ** +--NEAR--+ <-- root of NEAR query + ** | | + ** +--NEAR--+ "z" + ** | | + ** +--NEAR--+ "y" + ** | | + ** "w" "x" + ** + ** The right-hand child of a NEAR node is always a phrase. The + ** left-hand child may be either a phrase or a NEAR node. There are + ** no exceptions to this - it's the way the parser in fts3_expr.c works. + */ + if( *pRc==SQLITE_OK + && pExpr->eType==FTSQUERY_NEAR + && (pExpr->pParent==0 || pExpr->pParent->eType!=FTSQUERY_NEAR) + ){ + Fts3Expr *p; + sqlite3_int64 nTmp = 0; /* Bytes of temp space */ + char *aTmp; /* Temp space for PoslistNearMerge() */ + + /* Allocate temporary working space. */ + for(p=pExpr; p->pLeft; p=p->pLeft){ + assert( p->pRight->pPhrase->doclist.nList>0 ); + nTmp += p->pRight->pPhrase->doclist.nList; + } + nTmp += p->pPhrase->doclist.nList; + aTmp = sqlite3_malloc64(nTmp*2); + if( !aTmp ){ + *pRc = SQLITE_NOMEM; + res = 0; + }else{ + char *aPoslist = p->pPhrase->doclist.pList; + int nToken = p->pPhrase->nToken; + + for(p=p->pParent;res && p && p->eType==FTSQUERY_NEAR; p=p->pParent){ + Fts3Phrase *pPhrase = p->pRight->pPhrase; + int nNear = p->nNear; + res = fts3EvalNearTrim(nNear, aTmp, &aPoslist, &nToken, pPhrase); + } + + aPoslist = pExpr->pRight->pPhrase->doclist.pList; + nToken = pExpr->pRight->pPhrase->nToken; + for(p=pExpr->pLeft; p && res; p=p->pLeft){ + int nNear; + Fts3Phrase *pPhrase; + assert( p->pParent && p->pParent->pLeft==p ); + nNear = p->pParent->nNear; + pPhrase = ( + p->eType==FTSQUERY_NEAR ? p->pRight->pPhrase : p->pPhrase + ); + res = fts3EvalNearTrim(nNear, aTmp, &aPoslist, &nToken, pPhrase); + } + } + + sqlite3_free(aTmp); + } + + return res; +} + +/* +** This function is a helper function for sqlite3Fts3EvalTestDeferred(). +** Assuming no error occurs or has occurred, It returns non-zero if the +** expression passed as the second argument matches the row that pCsr +** currently points to, or zero if it does not. +** +** If *pRc is not SQLITE_OK when this function is called, it is a no-op. +** If an error occurs during execution of this function, *pRc is set to +** the appropriate SQLite error code. In this case the returned value is +** undefined. +*/ +static int fts3EvalTestExpr( + Fts3Cursor *pCsr, /* FTS cursor handle */ + Fts3Expr *pExpr, /* Expr to test. May or may not be root. */ + int *pRc /* IN/OUT: Error code */ +){ + int bHit = 1; /* Return value */ + if( *pRc==SQLITE_OK ){ + switch( pExpr->eType ){ + case FTSQUERY_NEAR: + case FTSQUERY_AND: + bHit = ( + fts3EvalTestExpr(pCsr, pExpr->pLeft, pRc) + && fts3EvalTestExpr(pCsr, pExpr->pRight, pRc) + && fts3EvalNearTest(pExpr, pRc) + ); + + /* If the NEAR expression does not match any rows, zero the doclist for + ** all phrases involved in the NEAR. This is because the snippet(), + ** offsets() and matchinfo() functions are not supposed to recognize + ** any instances of phrases that are part of unmatched NEAR queries. + ** For example if this expression: + ** + ** ... MATCH 'a OR (b NEAR c)' + ** + ** is matched against a row containing: + ** + ** 'a b d e' + ** + ** then any snippet() should ony highlight the "a" term, not the "b" + ** (as "b" is part of a non-matching NEAR clause). + */ + if( bHit==0 + && pExpr->eType==FTSQUERY_NEAR + && (pExpr->pParent==0 || pExpr->pParent->eType!=FTSQUERY_NEAR) + ){ + Fts3Expr *p; + for(p=pExpr; p->pPhrase==0; p=p->pLeft){ + if( p->pRight->iDocid==pCsr->iPrevId ){ + fts3EvalInvalidatePoslist(p->pRight->pPhrase); + } + } + if( p->iDocid==pCsr->iPrevId ){ + fts3EvalInvalidatePoslist(p->pPhrase); + } + } + + break; + + case FTSQUERY_OR: { + int bHit1 = fts3EvalTestExpr(pCsr, pExpr->pLeft, pRc); + int bHit2 = fts3EvalTestExpr(pCsr, pExpr->pRight, pRc); + bHit = bHit1 || bHit2; + break; + } + + case FTSQUERY_NOT: + bHit = ( + fts3EvalTestExpr(pCsr, pExpr->pLeft, pRc) + && !fts3EvalTestExpr(pCsr, pExpr->pRight, pRc) + ); + break; + + default: { +#ifndef SQLITE_DISABLE_FTS4_DEFERRED + if( pCsr->pDeferred + && (pExpr->iDocid==pCsr->iPrevId || pExpr->bDeferred) + ){ + Fts3Phrase *pPhrase = pExpr->pPhrase; + assert( pExpr->bDeferred || pPhrase->doclist.bFreeList==0 ); + if( pExpr->bDeferred ){ + fts3EvalInvalidatePoslist(pPhrase); + } + *pRc = fts3EvalDeferredPhrase(pCsr, pPhrase); + bHit = (pPhrase->doclist.pList!=0); + pExpr->iDocid = pCsr->iPrevId; + }else +#endif + { + bHit = (pExpr->bEof==0 && pExpr->iDocid==pCsr->iPrevId); + } + break; + } + } + } + return bHit; +} + +/* +** This function is called as the second part of each xNext operation when +** iterating through the results of a full-text query. At this point the +** cursor points to a row that matches the query expression, with the +** following caveats: +** +** * Up until this point, "NEAR" operators in the expression have been +** treated as "AND". +** +** * Deferred tokens have not yet been considered. +** +** If *pRc is not SQLITE_OK when this function is called, it immediately +** returns 0. Otherwise, it tests whether or not after considering NEAR +** operators and deferred tokens the current row is still a match for the +** expression. It returns 1 if both of the following are true: +** +** 1. *pRc is SQLITE_OK when this function returns, and +** +** 2. After scanning the current FTS table row for the deferred tokens, +** it is determined that the row does *not* match the query. +** +** Or, if no error occurs and it seems the current row does match the FTS +** query, return 0. +*/ +SQLITE_PRIVATE int sqlite3Fts3EvalTestDeferred(Fts3Cursor *pCsr, int *pRc){ + int rc = *pRc; + int bMiss = 0; + if( rc==SQLITE_OK ){ + + /* If there are one or more deferred tokens, load the current row into + ** memory and scan it to determine the position list for each deferred + ** token. Then, see if this row is really a match, considering deferred + ** tokens and NEAR operators (neither of which were taken into account + ** earlier, by fts3EvalNextRow()). + */ + if( pCsr->pDeferred ){ + rc = fts3CursorSeek(0, pCsr); + if( rc==SQLITE_OK ){ + rc = sqlite3Fts3CacheDeferredDoclists(pCsr); + } + } + bMiss = (0==fts3EvalTestExpr(pCsr, pCsr->pExpr, &rc)); + + /* Free the position-lists accumulated for each deferred token above. */ + sqlite3Fts3FreeDeferredDoclists(pCsr); + *pRc = rc; + } + return (rc==SQLITE_OK && bMiss); +} + +/* +** Advance to the next document that matches the FTS expression in +** Fts3Cursor.pExpr. +*/ +static int fts3EvalNext(Fts3Cursor *pCsr){ + int rc = SQLITE_OK; /* Return Code */ + Fts3Expr *pExpr = pCsr->pExpr; + assert( pCsr->isEof==0 ); + if( pExpr==0 ){ + pCsr->isEof = 1; + }else{ + do { + if( pCsr->isRequireSeek==0 ){ + sqlite3_reset(pCsr->pStmt); + } + assert( sqlite3_data_count(pCsr->pStmt)==0 ); + fts3EvalNextRow(pCsr, pExpr, &rc); + pCsr->isEof = pExpr->bEof; + pCsr->isRequireSeek = 1; + pCsr->isMatchinfoNeeded = 1; + pCsr->iPrevId = pExpr->iDocid; + }while( pCsr->isEof==0 && sqlite3Fts3EvalTestDeferred(pCsr, &rc) ); + } + + /* Check if the cursor is past the end of the docid range specified + ** by Fts3Cursor.iMinDocid/iMaxDocid. If so, set the EOF flag. */ + if( rc==SQLITE_OK && ( + (pCsr->bDesc==0 && pCsr->iPrevId>pCsr->iMaxDocid) + || (pCsr->bDesc!=0 && pCsr->iPrevIdiMinDocid) + )){ + pCsr->isEof = 1; + } + + return rc; +} + +/* +** Restart interation for expression pExpr so that the next call to +** fts3EvalNext() visits the first row. Do not allow incremental +** loading or merging of phrase doclists for this iteration. +** +** If *pRc is other than SQLITE_OK when this function is called, it is +** a no-op. If an error occurs within this function, *pRc is set to an +** SQLite error code before returning. +*/ +static void fts3EvalRestart( + Fts3Cursor *pCsr, + Fts3Expr *pExpr, + int *pRc +){ + if( pExpr && *pRc==SQLITE_OK ){ + Fts3Phrase *pPhrase = pExpr->pPhrase; + + if( pPhrase ){ + fts3EvalInvalidatePoslist(pPhrase); + if( pPhrase->bIncr ){ + int i; + for(i=0; inToken; i++){ + Fts3PhraseToken *pToken = &pPhrase->aToken[i]; + assert( pToken->pDeferred==0 ); + if( pToken->pSegcsr ){ + sqlite3Fts3MsrIncrRestart(pToken->pSegcsr); + } + } + *pRc = fts3EvalPhraseStart(pCsr, 0, pPhrase); + } + pPhrase->doclist.pNextDocid = 0; + pPhrase->doclist.iDocid = 0; + pPhrase->pOrPoslist = 0; + } + + pExpr->iDocid = 0; + pExpr->bEof = 0; + pExpr->bStart = 0; + + fts3EvalRestart(pCsr, pExpr->pLeft, pRc); + fts3EvalRestart(pCsr, pExpr->pRight, pRc); + } +} + +/* +** After allocating the Fts3Expr.aMI[] array for each phrase in the +** expression rooted at pExpr, the cursor iterates through all rows matched +** by pExpr, calling this function for each row. This function increments +** the values in Fts3Expr.aMI[] according to the position-list currently +** found in Fts3Expr.pPhrase->doclist.pList for each of the phrase +** expression nodes. +*/ +static void fts3EvalUpdateCounts(Fts3Expr *pExpr, int nCol){ + if( pExpr ){ + Fts3Phrase *pPhrase = pExpr->pPhrase; + if( pPhrase && pPhrase->doclist.pList ){ + int iCol = 0; + char *p = pPhrase->doclist.pList; + + do{ + u8 c = 0; + int iCnt = 0; + while( 0xFE & (*p | c) ){ + if( (c&0x80)==0 ) iCnt++; + c = *p++ & 0x80; + } + + /* aMI[iCol*3 + 1] = Number of occurrences + ** aMI[iCol*3 + 2] = Number of rows containing at least one instance + */ + pExpr->aMI[iCol*3 + 1] += iCnt; + pExpr->aMI[iCol*3 + 2] += (iCnt>0); + if( *p==0x00 ) break; + p++; + p += fts3GetVarint32(p, &iCol); + }while( iColpLeft, nCol); + fts3EvalUpdateCounts(pExpr->pRight, nCol); + } +} + +/* +** Expression pExpr must be of type FTSQUERY_PHRASE. +** +** If it is not already allocated and populated, this function allocates and +** populates the Fts3Expr.aMI[] array for expression pExpr. If pExpr is part +** of a NEAR expression, then it also allocates and populates the same array +** for all other phrases that are part of the NEAR expression. +** +** SQLITE_OK is returned if the aMI[] array is successfully allocated and +** populated. Otherwise, if an error occurs, an SQLite error code is returned. +*/ +static int fts3EvalGatherStats( + Fts3Cursor *pCsr, /* Cursor object */ + Fts3Expr *pExpr /* FTSQUERY_PHRASE expression */ +){ + int rc = SQLITE_OK; /* Return code */ + + assert( pExpr->eType==FTSQUERY_PHRASE ); + if( pExpr->aMI==0 ){ + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + Fts3Expr *pRoot; /* Root of NEAR expression */ + Fts3Expr *p; /* Iterator used for several purposes */ + + sqlite3_int64 iPrevId = pCsr->iPrevId; + sqlite3_int64 iDocid; + u8 bEof; + + /* Find the root of the NEAR expression */ + pRoot = pExpr; + while( pRoot->pParent && pRoot->pParent->eType==FTSQUERY_NEAR ){ + pRoot = pRoot->pParent; + } + iDocid = pRoot->iDocid; + bEof = pRoot->bEof; + assert( pRoot->bStart ); + + /* Allocate space for the aMSI[] array of each FTSQUERY_PHRASE node */ + for(p=pRoot; p; p=p->pLeft){ + Fts3Expr *pE = (p->eType==FTSQUERY_PHRASE?p:p->pRight); + assert( pE->aMI==0 ); + pE->aMI = (u32 *)sqlite3_malloc64(pTab->nColumn * 3 * sizeof(u32)); + if( !pE->aMI ) return SQLITE_NOMEM; + memset(pE->aMI, 0, pTab->nColumn * 3 * sizeof(u32)); + } + + fts3EvalRestart(pCsr, pRoot, &rc); + + while( pCsr->isEof==0 && rc==SQLITE_OK ){ + + do { + /* Ensure the %_content statement is reset. */ + if( pCsr->isRequireSeek==0 ) sqlite3_reset(pCsr->pStmt); + assert( sqlite3_data_count(pCsr->pStmt)==0 ); + + /* Advance to the next document */ + fts3EvalNextRow(pCsr, pRoot, &rc); + pCsr->isEof = pRoot->bEof; + pCsr->isRequireSeek = 1; + pCsr->isMatchinfoNeeded = 1; + pCsr->iPrevId = pRoot->iDocid; + }while( pCsr->isEof==0 + && pRoot->eType==FTSQUERY_NEAR + && sqlite3Fts3EvalTestDeferred(pCsr, &rc) + ); + + if( rc==SQLITE_OK && pCsr->isEof==0 ){ + fts3EvalUpdateCounts(pRoot, pTab->nColumn); + } + } + + pCsr->isEof = 0; + pCsr->iPrevId = iPrevId; + + if( bEof ){ + pRoot->bEof = bEof; + }else{ + /* Caution: pRoot may iterate through docids in ascending or descending + ** order. For this reason, even though it seems more defensive, the + ** do loop can not be written: + ** + ** do {...} while( pRoot->iDocidbEof==0 ); + }while( pRoot->iDocid!=iDocid && rc==SQLITE_OK ); + } + } + return rc; +} + +/* +** This function is used by the matchinfo() module to query a phrase +** expression node for the following information: +** +** 1. The total number of occurrences of the phrase in each column of +** the FTS table (considering all rows), and +** +** 2. For each column, the number of rows in the table for which the +** column contains at least one instance of the phrase. +** +** If no error occurs, SQLITE_OK is returned and the values for each column +** written into the array aiOut as follows: +** +** aiOut[iCol*3 + 1] = Number of occurrences +** aiOut[iCol*3 + 2] = Number of rows containing at least one instance +** +** Caveats: +** +** * If a phrase consists entirely of deferred tokens, then all output +** values are set to the number of documents in the table. In other +** words we assume that very common tokens occur exactly once in each +** column of each row of the table. +** +** * If a phrase contains some deferred tokens (and some non-deferred +** tokens), count the potential occurrence identified by considering +** the non-deferred tokens instead of actual phrase occurrences. +** +** * If the phrase is part of a NEAR expression, then only phrase instances +** that meet the NEAR constraint are included in the counts. +*/ +SQLITE_PRIVATE int sqlite3Fts3EvalPhraseStats( + Fts3Cursor *pCsr, /* FTS cursor handle */ + Fts3Expr *pExpr, /* Phrase expression */ + u32 *aiOut /* Array to write results into (see above) */ +){ + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + int rc = SQLITE_OK; + int iCol; + + if( pExpr->bDeferred && pExpr->pParent->eType!=FTSQUERY_NEAR ){ + assert( pCsr->nDoc>0 ); + for(iCol=0; iColnColumn; iCol++){ + aiOut[iCol*3 + 1] = (u32)pCsr->nDoc; + aiOut[iCol*3 + 2] = (u32)pCsr->nDoc; + } + }else{ + rc = fts3EvalGatherStats(pCsr, pExpr); + if( rc==SQLITE_OK ){ + assert( pExpr->aMI ); + for(iCol=0; iColnColumn; iCol++){ + aiOut[iCol*3 + 1] = pExpr->aMI[iCol*3 + 1]; + aiOut[iCol*3 + 2] = pExpr->aMI[iCol*3 + 2]; + } + } + } + + return rc; +} + +/* +** The expression pExpr passed as the second argument to this function +** must be of type FTSQUERY_PHRASE. +** +** The returned value is either NULL or a pointer to a buffer containing +** a position-list indicating the occurrences of the phrase in column iCol +** of the current row. +** +** More specifically, the returned buffer contains 1 varint for each +** occurrence of the phrase in the column, stored using the normal (delta+2) +** compression and is terminated by either an 0x01 or 0x00 byte. For example, +** if the requested column contains "a b X c d X X" and the position-list +** for 'X' is requested, the buffer returned may contain: +** +** 0x04 0x05 0x03 0x01 or 0x04 0x05 0x03 0x00 +** +** This function works regardless of whether or not the phrase is deferred, +** incremental, or neither. +*/ +SQLITE_PRIVATE int sqlite3Fts3EvalPhrasePoslist( + Fts3Cursor *pCsr, /* FTS3 cursor object */ + Fts3Expr *pExpr, /* Phrase to return doclist for */ + int iCol, /* Column to return position list for */ + char **ppOut /* OUT: Pointer to position list */ +){ + Fts3Phrase *pPhrase = pExpr->pPhrase; + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + char *pIter; + int iThis; + sqlite3_int64 iDocid; + + /* If this phrase is applies specifically to some column other than + ** column iCol, return a NULL pointer. */ + *ppOut = 0; + assert( iCol>=0 && iColnColumn ); + if( (pPhrase->iColumnnColumn && pPhrase->iColumn!=iCol) ){ + return SQLITE_OK; + } + + iDocid = pExpr->iDocid; + pIter = pPhrase->doclist.pList; + if( iDocid!=pCsr->iPrevId || pExpr->bEof ){ + int rc = SQLITE_OK; + int bDescDoclist = pTab->bDescIdx; /* For DOCID_CMP macro */ + int bOr = 0; + u8 bTreeEof = 0; + Fts3Expr *p; /* Used to iterate from pExpr to root */ + Fts3Expr *pNear; /* Most senior NEAR ancestor (or pExpr) */ + int bMatch; + + /* Check if this phrase descends from an OR expression node. If not, + ** return NULL. Otherwise, the entry that corresponds to docid + ** pCsr->iPrevId may lie earlier in the doclist buffer. Or, if the + ** tree that the node is part of has been marked as EOF, but the node + ** itself is not EOF, then it may point to an earlier entry. */ + pNear = pExpr; + for(p=pExpr->pParent; p; p=p->pParent){ + if( p->eType==FTSQUERY_OR ) bOr = 1; + if( p->eType==FTSQUERY_NEAR ) pNear = p; + if( p->bEof ) bTreeEof = 1; + } + if( bOr==0 ) return SQLITE_OK; + + /* This is the descendent of an OR node. In this case we cannot use + ** an incremental phrase. Load the entire doclist for the phrase + ** into memory in this case. */ + if( pPhrase->bIncr ){ + int bEofSave = pNear->bEof; + fts3EvalRestart(pCsr, pNear, &rc); + while( rc==SQLITE_OK && !pNear->bEof ){ + fts3EvalNextRow(pCsr, pNear, &rc); + if( bEofSave==0 && pNear->iDocid==iDocid ) break; + } + assert( rc!=SQLITE_OK || pPhrase->bIncr==0 ); + } + if( bTreeEof ){ + while( rc==SQLITE_OK && !pNear->bEof ){ + fts3EvalNextRow(pCsr, pNear, &rc); + } + } + if( rc!=SQLITE_OK ) return rc; + + bMatch = 1; + for(p=pNear; p; p=p->pLeft){ + u8 bEof = 0; + Fts3Expr *pTest = p; + Fts3Phrase *pPh; + assert( pTest->eType==FTSQUERY_NEAR || pTest->eType==FTSQUERY_PHRASE ); + if( pTest->eType==FTSQUERY_NEAR ) pTest = pTest->pRight; + assert( pTest->eType==FTSQUERY_PHRASE ); + pPh = pTest->pPhrase; + + pIter = pPh->pOrPoslist; + iDocid = pPh->iOrDocid; + if( pCsr->bDesc==bDescDoclist ){ + bEof = !pPh->doclist.nAll || + (pIter >= (pPh->doclist.aAll + pPh->doclist.nAll)); + while( (pIter==0 || DOCID_CMP(iDocid, pCsr->iPrevId)<0 ) && bEof==0 ){ + sqlite3Fts3DoclistNext( + bDescDoclist, pPh->doclist.aAll, pPh->doclist.nAll, + &pIter, &iDocid, &bEof + ); + } + }else{ + bEof = !pPh->doclist.nAll || (pIter && pIter<=pPh->doclist.aAll); + while( (pIter==0 || DOCID_CMP(iDocid, pCsr->iPrevId)>0 ) && bEof==0 ){ + int dummy; + sqlite3Fts3DoclistPrev( + bDescDoclist, pPh->doclist.aAll, pPh->doclist.nAll, + &pIter, &iDocid, &dummy, &bEof + ); + } + } + pPh->pOrPoslist = pIter; + pPh->iOrDocid = iDocid; + if( bEof || iDocid!=pCsr->iPrevId ) bMatch = 0; + } + + if( bMatch ){ + pIter = pPhrase->pOrPoslist; + }else{ + pIter = 0; + } + } + if( pIter==0 ) return SQLITE_OK; + + if( *pIter==0x01 ){ + pIter++; + pIter += fts3GetVarint32(pIter, &iThis); + }else{ + iThis = 0; + } + while( iThisdoclist, and +** * any Fts3MultiSegReader objects held by phrase tokens. +*/ +SQLITE_PRIVATE void sqlite3Fts3EvalPhraseCleanup(Fts3Phrase *pPhrase){ + if( pPhrase ){ + int i; + sqlite3_free(pPhrase->doclist.aAll); + fts3EvalInvalidatePoslist(pPhrase); + memset(&pPhrase->doclist, 0, sizeof(Fts3Doclist)); + for(i=0; inToken; i++){ + fts3SegReaderCursorFree(pPhrase->aToken[i].pSegcsr); + pPhrase->aToken[i].pSegcsr = 0; + } + } +} + + +/* +** Return SQLITE_CORRUPT_VTAB. +*/ +#ifdef SQLITE_DEBUG +SQLITE_PRIVATE int sqlite3Fts3Corrupt(){ + return SQLITE_CORRUPT_VTAB; +} +#endif + +#if !SQLITE_CORE +/* +** Initialize API pointer table, if required. +*/ +#ifdef _WIN32 +__declspec(dllexport) +#endif +SQLITE_API int sqlite3_fts3_init( + sqlite3 *db, + char **pzErrMsg, + const sqlite3_api_routines *pApi +){ + SQLITE_EXTENSION_INIT2(pApi) + return sqlite3Fts3Init(db); +} +#endif + +#endif + +/************** End of fts3.c ************************************************/ +/************** Begin file fts3_aux.c ****************************************/ +/* +** 2011 Jan 27 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +*/ +/* #include "fts3Int.h" */ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) + +/* #include */ +/* #include */ + +typedef struct Fts3auxTable Fts3auxTable; +typedef struct Fts3auxCursor Fts3auxCursor; + +struct Fts3auxTable { + sqlite3_vtab base; /* Base class used by SQLite core */ + Fts3Table *pFts3Tab; +}; + +struct Fts3auxCursor { + sqlite3_vtab_cursor base; /* Base class used by SQLite core */ + Fts3MultiSegReader csr; /* Must be right after "base" */ + Fts3SegFilter filter; + char *zStop; + int nStop; /* Byte-length of string zStop */ + int iLangid; /* Language id to query */ + int isEof; /* True if cursor is at EOF */ + sqlite3_int64 iRowid; /* Current rowid */ + + int iCol; /* Current value of 'col' column */ + int nStat; /* Size of aStat[] array */ + struct Fts3auxColstats { + sqlite3_int64 nDoc; /* 'documents' values for current csr row */ + sqlite3_int64 nOcc; /* 'occurrences' values for current csr row */ + } *aStat; +}; + +/* +** Schema of the terms table. +*/ +#define FTS3_AUX_SCHEMA \ + "CREATE TABLE x(term, col, documents, occurrences, languageid HIDDEN)" + +/* +** This function does all the work for both the xConnect and xCreate methods. +** These tables have no persistent representation of their own, so xConnect +** and xCreate are identical operations. +*/ +static int fts3auxConnectMethod( + sqlite3 *db, /* Database connection */ + void *pUnused, /* Unused */ + int argc, /* Number of elements in argv array */ + const char * const *argv, /* xCreate/xConnect argument array */ + sqlite3_vtab **ppVtab, /* OUT: New sqlite3_vtab object */ + char **pzErr /* OUT: sqlite3_malloc'd error message */ +){ + char const *zDb; /* Name of database (e.g. "main") */ + char const *zFts3; /* Name of fts3 table */ + int nDb; /* Result of strlen(zDb) */ + int nFts3; /* Result of strlen(zFts3) */ + sqlite3_int64 nByte; /* Bytes of space to allocate here */ + int rc; /* value returned by declare_vtab() */ + Fts3auxTable *p; /* Virtual table object to return */ + + UNUSED_PARAMETER(pUnused); + + /* The user should invoke this in one of two forms: + ** + ** CREATE VIRTUAL TABLE xxx USING fts4aux(fts4-table); + ** CREATE VIRTUAL TABLE xxx USING fts4aux(fts4-table-db, fts4-table); + */ + if( argc!=4 && argc!=5 ) goto bad_args; + + zDb = argv[1]; + nDb = (int)strlen(zDb); + if( argc==5 ){ + if( nDb==4 && 0==sqlite3_strnicmp("temp", zDb, 4) ){ + zDb = argv[3]; + nDb = (int)strlen(zDb); + zFts3 = argv[4]; + }else{ + goto bad_args; + } + }else{ + zFts3 = argv[3]; + } + nFts3 = (int)strlen(zFts3); + + rc = sqlite3_declare_vtab(db, FTS3_AUX_SCHEMA); + if( rc!=SQLITE_OK ) return rc; + + nByte = sizeof(Fts3auxTable) + sizeof(Fts3Table) + nDb + nFts3 + 2; + p = (Fts3auxTable *)sqlite3_malloc64(nByte); + if( !p ) return SQLITE_NOMEM; + memset(p, 0, nByte); + + p->pFts3Tab = (Fts3Table *)&p[1]; + p->pFts3Tab->zDb = (char *)&p->pFts3Tab[1]; + p->pFts3Tab->zName = &p->pFts3Tab->zDb[nDb+1]; + p->pFts3Tab->db = db; + p->pFts3Tab->nIndex = 1; + + memcpy((char *)p->pFts3Tab->zDb, zDb, nDb); + memcpy((char *)p->pFts3Tab->zName, zFts3, nFts3); + sqlite3Fts3Dequote((char *)p->pFts3Tab->zName); + + *ppVtab = (sqlite3_vtab *)p; + return SQLITE_OK; + + bad_args: + sqlite3Fts3ErrMsg(pzErr, "invalid arguments to fts4aux constructor"); + return SQLITE_ERROR; +} + +/* +** This function does the work for both the xDisconnect and xDestroy methods. +** These tables have no persistent representation of their own, so xDisconnect +** and xDestroy are identical operations. +*/ +static int fts3auxDisconnectMethod(sqlite3_vtab *pVtab){ + Fts3auxTable *p = (Fts3auxTable *)pVtab; + Fts3Table *pFts3 = p->pFts3Tab; + int i; + + /* Free any prepared statements held */ + for(i=0; iaStmt); i++){ + sqlite3_finalize(pFts3->aStmt[i]); + } + sqlite3_free(pFts3->zSegmentsTbl); + sqlite3_free(p); + return SQLITE_OK; +} + +#define FTS4AUX_EQ_CONSTRAINT 1 +#define FTS4AUX_GE_CONSTRAINT 2 +#define FTS4AUX_LE_CONSTRAINT 4 + +/* +** xBestIndex - Analyze a WHERE and ORDER BY clause. +*/ +static int fts3auxBestIndexMethod( + sqlite3_vtab *pVTab, + sqlite3_index_info *pInfo +){ + int i; + int iEq = -1; + int iGe = -1; + int iLe = -1; + int iLangid = -1; + int iNext = 1; /* Next free argvIndex value */ + + UNUSED_PARAMETER(pVTab); + + /* This vtab delivers always results in "ORDER BY term ASC" order. */ + if( pInfo->nOrderBy==1 + && pInfo->aOrderBy[0].iColumn==0 + && pInfo->aOrderBy[0].desc==0 + ){ + pInfo->orderByConsumed = 1; + } + + /* Search for equality and range constraints on the "term" column. + ** And equality constraints on the hidden "languageid" column. */ + for(i=0; inConstraint; i++){ + if( pInfo->aConstraint[i].usable ){ + int op = pInfo->aConstraint[i].op; + int iCol = pInfo->aConstraint[i].iColumn; + + if( iCol==0 ){ + if( op==SQLITE_INDEX_CONSTRAINT_EQ ) iEq = i; + if( op==SQLITE_INDEX_CONSTRAINT_LT ) iLe = i; + if( op==SQLITE_INDEX_CONSTRAINT_LE ) iLe = i; + if( op==SQLITE_INDEX_CONSTRAINT_GT ) iGe = i; + if( op==SQLITE_INDEX_CONSTRAINT_GE ) iGe = i; + } + if( iCol==4 ){ + if( op==SQLITE_INDEX_CONSTRAINT_EQ ) iLangid = i; + } + } + } + + if( iEq>=0 ){ + pInfo->idxNum = FTS4AUX_EQ_CONSTRAINT; + pInfo->aConstraintUsage[iEq].argvIndex = iNext++; + pInfo->estimatedCost = 5; + }else{ + pInfo->idxNum = 0; + pInfo->estimatedCost = 20000; + if( iGe>=0 ){ + pInfo->idxNum += FTS4AUX_GE_CONSTRAINT; + pInfo->aConstraintUsage[iGe].argvIndex = iNext++; + pInfo->estimatedCost /= 2; + } + if( iLe>=0 ){ + pInfo->idxNum += FTS4AUX_LE_CONSTRAINT; + pInfo->aConstraintUsage[iLe].argvIndex = iNext++; + pInfo->estimatedCost /= 2; + } + } + if( iLangid>=0 ){ + pInfo->aConstraintUsage[iLangid].argvIndex = iNext++; + pInfo->estimatedCost--; + } + + return SQLITE_OK; +} + +/* +** xOpen - Open a cursor. +*/ +static int fts3auxOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){ + Fts3auxCursor *pCsr; /* Pointer to cursor object to return */ + + UNUSED_PARAMETER(pVTab); + + pCsr = (Fts3auxCursor *)sqlite3_malloc(sizeof(Fts3auxCursor)); + if( !pCsr ) return SQLITE_NOMEM; + memset(pCsr, 0, sizeof(Fts3auxCursor)); + + *ppCsr = (sqlite3_vtab_cursor *)pCsr; + return SQLITE_OK; +} + +/* +** xClose - Close a cursor. +*/ +static int fts3auxCloseMethod(sqlite3_vtab_cursor *pCursor){ + Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab; + Fts3auxCursor *pCsr = (Fts3auxCursor *)pCursor; + + sqlite3Fts3SegmentsClose(pFts3); + sqlite3Fts3SegReaderFinish(&pCsr->csr); + sqlite3_free((void *)pCsr->filter.zTerm); + sqlite3_free(pCsr->zStop); + sqlite3_free(pCsr->aStat); + sqlite3_free(pCsr); + return SQLITE_OK; +} + +static int fts3auxGrowStatArray(Fts3auxCursor *pCsr, int nSize){ + if( nSize>pCsr->nStat ){ + struct Fts3auxColstats *aNew; + aNew = (struct Fts3auxColstats *)sqlite3_realloc64(pCsr->aStat, + sizeof(struct Fts3auxColstats) * nSize + ); + if( aNew==0 ) return SQLITE_NOMEM; + memset(&aNew[pCsr->nStat], 0, + sizeof(struct Fts3auxColstats) * (nSize - pCsr->nStat) + ); + pCsr->aStat = aNew; + pCsr->nStat = nSize; + } + return SQLITE_OK; +} + +/* +** xNext - Advance the cursor to the next row, if any. +*/ +static int fts3auxNextMethod(sqlite3_vtab_cursor *pCursor){ + Fts3auxCursor *pCsr = (Fts3auxCursor *)pCursor; + Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab; + int rc; + + /* Increment our pretend rowid value. */ + pCsr->iRowid++; + + for(pCsr->iCol++; pCsr->iColnStat; pCsr->iCol++){ + if( pCsr->aStat[pCsr->iCol].nDoc>0 ) return SQLITE_OK; + } + + rc = sqlite3Fts3SegReaderStep(pFts3, &pCsr->csr); + if( rc==SQLITE_ROW ){ + int i = 0; + int nDoclist = pCsr->csr.nDoclist; + char *aDoclist = pCsr->csr.aDoclist; + int iCol; + + int eState = 0; + + if( pCsr->zStop ){ + int n = (pCsr->nStopcsr.nTerm) ? pCsr->nStop : pCsr->csr.nTerm; + int mc = memcmp(pCsr->zStop, pCsr->csr.zTerm, n); + if( mc<0 || (mc==0 && pCsr->csr.nTerm>pCsr->nStop) ){ + pCsr->isEof = 1; + return SQLITE_OK; + } + } + + if( fts3auxGrowStatArray(pCsr, 2) ) return SQLITE_NOMEM; + memset(pCsr->aStat, 0, sizeof(struct Fts3auxColstats) * pCsr->nStat); + iCol = 0; + + while( iaStat[0].nDoc++; + eState = 1; + iCol = 0; + break; + + /* State 1. In this state we are expecting either a 1, indicating + ** that the following integer will be a column number, or the + ** start of a position list for column 0. + ** + ** The only difference between state 1 and state 2 is that if the + ** integer encountered in state 1 is not 0 or 1, then we need to + ** increment the column 0 "nDoc" count for this term. + */ + case 1: + assert( iCol==0 ); + if( v>1 ){ + pCsr->aStat[1].nDoc++; + } + eState = 2; + /* fall through */ + + case 2: + if( v==0 ){ /* 0x00. Next integer will be a docid. */ + eState = 0; + }else if( v==1 ){ /* 0x01. Next integer will be a column number. */ + eState = 3; + }else{ /* 2 or greater. A position. */ + pCsr->aStat[iCol+1].nOcc++; + pCsr->aStat[0].nOcc++; + } + break; + + /* State 3. The integer just read is a column number. */ + default: assert( eState==3 ); + iCol = (int)v; + if( fts3auxGrowStatArray(pCsr, iCol+2) ) return SQLITE_NOMEM; + pCsr->aStat[iCol+1].nDoc++; + eState = 2; + break; + } + } + + pCsr->iCol = 0; + rc = SQLITE_OK; + }else{ + pCsr->isEof = 1; + } + return rc; +} + +/* +** xFilter - Initialize a cursor to point at the start of its data. +*/ +static int fts3auxFilterMethod( + sqlite3_vtab_cursor *pCursor, /* The cursor used for this query */ + int idxNum, /* Strategy index */ + const char *idxStr, /* Unused */ + int nVal, /* Number of elements in apVal */ + sqlite3_value **apVal /* Arguments for the indexing scheme */ +){ + Fts3auxCursor *pCsr = (Fts3auxCursor *)pCursor; + Fts3Table *pFts3 = ((Fts3auxTable *)pCursor->pVtab)->pFts3Tab; + int rc; + int isScan = 0; + int iLangVal = 0; /* Language id to query */ + + int iEq = -1; /* Index of term=? value in apVal */ + int iGe = -1; /* Index of term>=? value in apVal */ + int iLe = -1; /* Index of term<=? value in apVal */ + int iLangid = -1; /* Index of languageid=? value in apVal */ + int iNext = 0; + + UNUSED_PARAMETER(nVal); + UNUSED_PARAMETER(idxStr); + + assert( idxStr==0 ); + assert( idxNum==FTS4AUX_EQ_CONSTRAINT || idxNum==0 + || idxNum==FTS4AUX_LE_CONSTRAINT || idxNum==FTS4AUX_GE_CONSTRAINT + || idxNum==(FTS4AUX_LE_CONSTRAINT|FTS4AUX_GE_CONSTRAINT) + ); + + if( idxNum==FTS4AUX_EQ_CONSTRAINT ){ + iEq = iNext++; + }else{ + isScan = 1; + if( idxNum & FTS4AUX_GE_CONSTRAINT ){ + iGe = iNext++; + } + if( idxNum & FTS4AUX_LE_CONSTRAINT ){ + iLe = iNext++; + } + } + if( iNextfilter.zTerm); + sqlite3Fts3SegReaderFinish(&pCsr->csr); + sqlite3_free((void *)pCsr->filter.zTerm); + sqlite3_free(pCsr->aStat); + memset(&pCsr->csr, 0, ((u8*)&pCsr[1]) - (u8*)&pCsr->csr); + + pCsr->filter.flags = FTS3_SEGMENT_REQUIRE_POS|FTS3_SEGMENT_IGNORE_EMPTY; + if( isScan ) pCsr->filter.flags |= FTS3_SEGMENT_SCAN; + + if( iEq>=0 || iGe>=0 ){ + const unsigned char *zStr = sqlite3_value_text(apVal[0]); + assert( (iEq==0 && iGe==-1) || (iEq==-1 && iGe==0) ); + if( zStr ){ + pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr); + if( pCsr->filter.zTerm==0 ) return SQLITE_NOMEM; + pCsr->filter.nTerm = (int)strlen(pCsr->filter.zTerm); + } + } + + if( iLe>=0 ){ + pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe])); + if( pCsr->zStop==0 ) return SQLITE_NOMEM; + pCsr->nStop = (int)strlen(pCsr->zStop); + } + + if( iLangid>=0 ){ + iLangVal = sqlite3_value_int(apVal[iLangid]); + + /* If the user specified a negative value for the languageid, use zero + ** instead. This works, as the "languageid=?" constraint will also + ** be tested by the VDBE layer. The test will always be false (since + ** this module will not return a row with a negative languageid), and + ** so the overall query will return zero rows. */ + if( iLangVal<0 ) iLangVal = 0; + } + pCsr->iLangid = iLangVal; + + rc = sqlite3Fts3SegReaderCursor(pFts3, iLangVal, 0, FTS3_SEGCURSOR_ALL, + pCsr->filter.zTerm, pCsr->filter.nTerm, 0, isScan, &pCsr->csr + ); + if( rc==SQLITE_OK ){ + rc = sqlite3Fts3SegReaderStart(pFts3, &pCsr->csr, &pCsr->filter); + } + + if( rc==SQLITE_OK ) rc = fts3auxNextMethod(pCursor); + return rc; +} + +/* +** xEof - Return true if the cursor is at EOF, or false otherwise. +*/ +static int fts3auxEofMethod(sqlite3_vtab_cursor *pCursor){ + Fts3auxCursor *pCsr = (Fts3auxCursor *)pCursor; + return pCsr->isEof; +} + +/* +** xColumn - Return a column value. +*/ +static int fts3auxColumnMethod( + sqlite3_vtab_cursor *pCursor, /* Cursor to retrieve value from */ + sqlite3_context *pCtx, /* Context for sqlite3_result_xxx() calls */ + int iCol /* Index of column to read value from */ +){ + Fts3auxCursor *p = (Fts3auxCursor *)pCursor; + + assert( p->isEof==0 ); + switch( iCol ){ + case 0: /* term */ + sqlite3_result_text(pCtx, p->csr.zTerm, p->csr.nTerm, SQLITE_TRANSIENT); + break; + + case 1: /* col */ + if( p->iCol ){ + sqlite3_result_int(pCtx, p->iCol-1); + }else{ + sqlite3_result_text(pCtx, "*", -1, SQLITE_STATIC); + } + break; + + case 2: /* documents */ + sqlite3_result_int64(pCtx, p->aStat[p->iCol].nDoc); + break; + + case 3: /* occurrences */ + sqlite3_result_int64(pCtx, p->aStat[p->iCol].nOcc); + break; + + default: /* languageid */ + assert( iCol==4 ); + sqlite3_result_int(pCtx, p->iLangid); + break; + } + + return SQLITE_OK; +} + +/* +** xRowid - Return the current rowid for the cursor. +*/ +static int fts3auxRowidMethod( + sqlite3_vtab_cursor *pCursor, /* Cursor to retrieve value from */ + sqlite_int64 *pRowid /* OUT: Rowid value */ +){ + Fts3auxCursor *pCsr = (Fts3auxCursor *)pCursor; + *pRowid = pCsr->iRowid; + return SQLITE_OK; +} + +/* +** Register the fts3aux module with database connection db. Return SQLITE_OK +** if successful or an error code if sqlite3_create_module() fails. +*/ +SQLITE_PRIVATE int sqlite3Fts3InitAux(sqlite3 *db){ + static const sqlite3_module fts3aux_module = { + 0, /* iVersion */ + fts3auxConnectMethod, /* xCreate */ + fts3auxConnectMethod, /* xConnect */ + fts3auxBestIndexMethod, /* xBestIndex */ + fts3auxDisconnectMethod, /* xDisconnect */ + fts3auxDisconnectMethod, /* xDestroy */ + fts3auxOpenMethod, /* xOpen */ + fts3auxCloseMethod, /* xClose */ + fts3auxFilterMethod, /* xFilter */ + fts3auxNextMethod, /* xNext */ + fts3auxEofMethod, /* xEof */ + fts3auxColumnMethod, /* xColumn */ + fts3auxRowidMethod, /* xRowid */ + 0, /* xUpdate */ + 0, /* xBegin */ + 0, /* xSync */ + 0, /* xCommit */ + 0, /* xRollback */ + 0, /* xFindFunction */ + 0, /* xRename */ + 0, /* xSavepoint */ + 0, /* xRelease */ + 0, /* xRollbackTo */ + 0 /* xShadowName */ + }; + int rc; /* Return code */ + + rc = sqlite3_create_module(db, "fts4aux", &fts3aux_module, 0); + return rc; +} + +#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ + +/************** End of fts3_aux.c ********************************************/ +/************** Begin file fts3_expr.c ***************************************/ +/* +** 2008 Nov 28 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This module contains code that implements a parser for fts3 query strings +** (the right-hand argument to the MATCH operator). Because the supported +** syntax is relatively simple, the whole tokenizer/parser system is +** hand-coded. +*/ +/* #include "fts3Int.h" */ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) + +/* +** By default, this module parses the legacy syntax that has been +** traditionally used by fts3. Or, if SQLITE_ENABLE_FTS3_PARENTHESIS +** is defined, then it uses the new syntax. The differences between +** the new and the old syntaxes are: +** +** a) The new syntax supports parenthesis. The old does not. +** +** b) The new syntax supports the AND and NOT operators. The old does not. +** +** c) The old syntax supports the "-" token qualifier. This is not +** supported by the new syntax (it is replaced by the NOT operator). +** +** d) When using the old syntax, the OR operator has a greater precedence +** than an implicit AND. When using the new, both implicity and explicit +** AND operators have a higher precedence than OR. +** +** If compiled with SQLITE_TEST defined, then this module exports the +** symbol "int sqlite3_fts3_enable_parentheses". Setting this variable +** to zero causes the module to use the old syntax. If it is set to +** non-zero the new syntax is activated. This is so both syntaxes can +** be tested using a single build of testfixture. +** +** The following describes the syntax supported by the fts3 MATCH +** operator in a similar format to that used by the lemon parser +** generator. This module does not use actually lemon, it uses a +** custom parser. +** +** query ::= andexpr (OR andexpr)*. +** +** andexpr ::= notexpr (AND? notexpr)*. +** +** notexpr ::= nearexpr (NOT nearexpr|-TOKEN)*. +** notexpr ::= LP query RP. +** +** nearexpr ::= phrase (NEAR distance_opt nearexpr)*. +** +** distance_opt ::= . +** distance_opt ::= / INTEGER. +** +** phrase ::= TOKEN. +** phrase ::= COLUMN:TOKEN. +** phrase ::= "TOKEN TOKEN TOKEN...". +*/ + +#ifdef SQLITE_TEST +SQLITE_API int sqlite3_fts3_enable_parentheses = 0; +#else +# ifdef SQLITE_ENABLE_FTS3_PARENTHESIS +# define sqlite3_fts3_enable_parentheses 1 +# else +# define sqlite3_fts3_enable_parentheses 0 +# endif +#endif + +/* +** Default span for NEAR operators. +*/ +#define SQLITE_FTS3_DEFAULT_NEAR_PARAM 10 + +/* #include */ +/* #include */ + +/* +** isNot: +** This variable is used by function getNextNode(). When getNextNode() is +** called, it sets ParseContext.isNot to true if the 'next node' is a +** FTSQUERY_PHRASE with a unary "-" attached to it. i.e. "mysql" in the +** FTS3 query "sqlite -mysql". Otherwise, ParseContext.isNot is set to +** zero. +*/ +typedef struct ParseContext ParseContext; +struct ParseContext { + sqlite3_tokenizer *pTokenizer; /* Tokenizer module */ + int iLangid; /* Language id used with tokenizer */ + const char **azCol; /* Array of column names for fts3 table */ + int bFts4; /* True to allow FTS4-only syntax */ + int nCol; /* Number of entries in azCol[] */ + int iDefaultCol; /* Default column to query */ + int isNot; /* True if getNextNode() sees a unary - */ + sqlite3_context *pCtx; /* Write error message here */ + int nNest; /* Number of nested brackets */ +}; + +/* +** This function is equivalent to the standard isspace() function. +** +** The standard isspace() can be awkward to use safely, because although it +** is defined to accept an argument of type int, its behavior when passed +** an integer that falls outside of the range of the unsigned char type +** is undefined (and sometimes, "undefined" means segfault). This wrapper +** is defined to accept an argument of type char, and always returns 0 for +** any values that fall outside of the range of the unsigned char type (i.e. +** negative values). +*/ +static int fts3isspace(char c){ + return c==' ' || c=='\t' || c=='\n' || c=='\r' || c=='\v' || c=='\f'; +} + +/* +** Allocate nByte bytes of memory using sqlite3_malloc(). If successful, +** zero the memory before returning a pointer to it. If unsuccessful, +** return NULL. +*/ +static void *fts3MallocZero(sqlite3_int64 nByte){ + void *pRet = sqlite3_malloc64(nByte); + if( pRet ) memset(pRet, 0, nByte); + return pRet; +} + +SQLITE_PRIVATE int sqlite3Fts3OpenTokenizer( + sqlite3_tokenizer *pTokenizer, + int iLangid, + const char *z, + int n, + sqlite3_tokenizer_cursor **ppCsr +){ + sqlite3_tokenizer_module const *pModule = pTokenizer->pModule; + sqlite3_tokenizer_cursor *pCsr = 0; + int rc; + + rc = pModule->xOpen(pTokenizer, z, n, &pCsr); + assert( rc==SQLITE_OK || pCsr==0 ); + if( rc==SQLITE_OK ){ + pCsr->pTokenizer = pTokenizer; + if( pModule->iVersion>=1 ){ + rc = pModule->xLanguageid(pCsr, iLangid); + if( rc!=SQLITE_OK ){ + pModule->xClose(pCsr); + pCsr = 0; + } + } + } + *ppCsr = pCsr; + return rc; +} + +/* +** Function getNextNode(), which is called by fts3ExprParse(), may itself +** call fts3ExprParse(). So this forward declaration is required. +*/ +static int fts3ExprParse(ParseContext *, const char *, int, Fts3Expr **, int *); + +/* +** Extract the next token from buffer z (length n) using the tokenizer +** and other information (column names etc.) in pParse. Create an Fts3Expr +** structure of type FTSQUERY_PHRASE containing a phrase consisting of this +** single token and set *ppExpr to point to it. If the end of the buffer is +** reached before a token is found, set *ppExpr to zero. It is the +** responsibility of the caller to eventually deallocate the allocated +** Fts3Expr structure (if any) by passing it to sqlite3_free(). +** +** Return SQLITE_OK if successful, or SQLITE_NOMEM if a memory allocation +** fails. +*/ +static int getNextToken( + ParseContext *pParse, /* fts3 query parse context */ + int iCol, /* Value for Fts3Phrase.iColumn */ + const char *z, int n, /* Input string */ + Fts3Expr **ppExpr, /* OUT: expression */ + int *pnConsumed /* OUT: Number of bytes consumed */ +){ + sqlite3_tokenizer *pTokenizer = pParse->pTokenizer; + sqlite3_tokenizer_module const *pModule = pTokenizer->pModule; + int rc; + sqlite3_tokenizer_cursor *pCursor; + Fts3Expr *pRet = 0; + int i = 0; + + /* Set variable i to the maximum number of bytes of input to tokenize. */ + for(i=0; iiLangid, z, i, &pCursor); + if( rc==SQLITE_OK ){ + const char *zToken; + int nToken = 0, iStart = 0, iEnd = 0, iPosition = 0; + sqlite3_int64 nByte; /* total space to allocate */ + + rc = pModule->xNext(pCursor, &zToken, &nToken, &iStart, &iEnd, &iPosition); + if( rc==SQLITE_OK ){ + nByte = sizeof(Fts3Expr) + sizeof(Fts3Phrase) + nToken; + pRet = (Fts3Expr *)fts3MallocZero(nByte); + if( !pRet ){ + rc = SQLITE_NOMEM; + }else{ + pRet->eType = FTSQUERY_PHRASE; + pRet->pPhrase = (Fts3Phrase *)&pRet[1]; + pRet->pPhrase->nToken = 1; + pRet->pPhrase->iColumn = iCol; + pRet->pPhrase->aToken[0].n = nToken; + pRet->pPhrase->aToken[0].z = (char *)&pRet->pPhrase[1]; + memcpy(pRet->pPhrase->aToken[0].z, zToken, nToken); + + if( iEndpPhrase->aToken[0].isPrefix = 1; + iEnd++; + } + + while( 1 ){ + if( !sqlite3_fts3_enable_parentheses + && iStart>0 && z[iStart-1]=='-' + ){ + pParse->isNot = 1; + iStart--; + }else if( pParse->bFts4 && iStart>0 && z[iStart-1]=='^' ){ + pRet->pPhrase->aToken[0].bFirst = 1; + iStart--; + }else{ + break; + } + } + + } + *pnConsumed = iEnd; + }else if( i && rc==SQLITE_DONE ){ + rc = SQLITE_OK; + } + + pModule->xClose(pCursor); + } + + *ppExpr = pRet; + return rc; +} + + +/* +** Enlarge a memory allocation. If an out-of-memory allocation occurs, +** then free the old allocation. +*/ +static void *fts3ReallocOrFree(void *pOrig, sqlite3_int64 nNew){ + void *pRet = sqlite3_realloc64(pOrig, nNew); + if( !pRet ){ + sqlite3_free(pOrig); + } + return pRet; +} + +/* +** Buffer zInput, length nInput, contains the contents of a quoted string +** that appeared as part of an fts3 query expression. Neither quote character +** is included in the buffer. This function attempts to tokenize the entire +** input buffer and create an Fts3Expr structure of type FTSQUERY_PHRASE +** containing the results. +** +** If successful, SQLITE_OK is returned and *ppExpr set to point at the +** allocated Fts3Expr structure. Otherwise, either SQLITE_NOMEM (out of memory +** error) or SQLITE_ERROR (tokenization error) is returned and *ppExpr set +** to 0. +*/ +static int getNextString( + ParseContext *pParse, /* fts3 query parse context */ + const char *zInput, int nInput, /* Input string */ + Fts3Expr **ppExpr /* OUT: expression */ +){ + sqlite3_tokenizer *pTokenizer = pParse->pTokenizer; + sqlite3_tokenizer_module const *pModule = pTokenizer->pModule; + int rc; + Fts3Expr *p = 0; + sqlite3_tokenizer_cursor *pCursor = 0; + char *zTemp = 0; + int nTemp = 0; + + const int nSpace = sizeof(Fts3Expr) + sizeof(Fts3Phrase); + int nToken = 0; + + /* The final Fts3Expr data structure, including the Fts3Phrase, + ** Fts3PhraseToken structures token buffers are all stored as a single + ** allocation so that the expression can be freed with a single call to + ** sqlite3_free(). Setting this up requires a two pass approach. + ** + ** The first pass, in the block below, uses a tokenizer cursor to iterate + ** through the tokens in the expression. This pass uses fts3ReallocOrFree() + ** to assemble data in two dynamic buffers: + ** + ** Buffer p: Points to the Fts3Expr structure, followed by the Fts3Phrase + ** structure, followed by the array of Fts3PhraseToken + ** structures. This pass only populates the Fts3PhraseToken array. + ** + ** Buffer zTemp: Contains copies of all tokens. + ** + ** The second pass, in the block that begins "if( rc==SQLITE_DONE )" below, + ** appends buffer zTemp to buffer p, and fills in the Fts3Expr and Fts3Phrase + ** structures. + */ + rc = sqlite3Fts3OpenTokenizer( + pTokenizer, pParse->iLangid, zInput, nInput, &pCursor); + if( rc==SQLITE_OK ){ + int ii; + for(ii=0; rc==SQLITE_OK; ii++){ + const char *zByte; + int nByte = 0, iBegin = 0, iEnd = 0, iPos = 0; + rc = pModule->xNext(pCursor, &zByte, &nByte, &iBegin, &iEnd, &iPos); + if( rc==SQLITE_OK ){ + Fts3PhraseToken *pToken; + + p = fts3ReallocOrFree(p, nSpace + ii*sizeof(Fts3PhraseToken)); + if( !p ) goto no_mem; + + zTemp = fts3ReallocOrFree(zTemp, nTemp + nByte); + if( !zTemp ) goto no_mem; + + assert( nToken==ii ); + pToken = &((Fts3Phrase *)(&p[1]))->aToken[ii]; + memset(pToken, 0, sizeof(Fts3PhraseToken)); + + memcpy(&zTemp[nTemp], zByte, nByte); + nTemp += nByte; + + pToken->n = nByte; + pToken->isPrefix = (iEndbFirst = (iBegin>0 && zInput[iBegin-1]=='^'); + nToken = ii+1; + } + } + + pModule->xClose(pCursor); + pCursor = 0; + } + + if( rc==SQLITE_DONE ){ + int jj; + char *zBuf = 0; + + p = fts3ReallocOrFree(p, nSpace + nToken*sizeof(Fts3PhraseToken) + nTemp); + if( !p ) goto no_mem; + memset(p, 0, (char *)&(((Fts3Phrase *)&p[1])->aToken[0])-(char *)p); + p->eType = FTSQUERY_PHRASE; + p->pPhrase = (Fts3Phrase *)&p[1]; + p->pPhrase->iColumn = pParse->iDefaultCol; + p->pPhrase->nToken = nToken; + + zBuf = (char *)&p->pPhrase->aToken[nToken]; + if( zTemp ){ + memcpy(zBuf, zTemp, nTemp); + sqlite3_free(zTemp); + }else{ + assert( nTemp==0 ); + } + + for(jj=0; jjpPhrase->nToken; jj++){ + p->pPhrase->aToken[jj].z = zBuf; + zBuf += p->pPhrase->aToken[jj].n; + } + rc = SQLITE_OK; + } + + *ppExpr = p; + return rc; +no_mem: + + if( pCursor ){ + pModule->xClose(pCursor); + } + sqlite3_free(zTemp); + sqlite3_free(p); + *ppExpr = 0; + return SQLITE_NOMEM; +} + +/* +** The output variable *ppExpr is populated with an allocated Fts3Expr +** structure, or set to 0 if the end of the input buffer is reached. +** +** Returns an SQLite error code. SQLITE_OK if everything works, SQLITE_NOMEM +** if a malloc failure occurs, or SQLITE_ERROR if a parse error is encountered. +** If SQLITE_ERROR is returned, pContext is populated with an error message. +*/ +static int getNextNode( + ParseContext *pParse, /* fts3 query parse context */ + const char *z, int n, /* Input string */ + Fts3Expr **ppExpr, /* OUT: expression */ + int *pnConsumed /* OUT: Number of bytes consumed */ +){ + static const struct Fts3Keyword { + char *z; /* Keyword text */ + unsigned char n; /* Length of the keyword */ + unsigned char parenOnly; /* Only valid in paren mode */ + unsigned char eType; /* Keyword code */ + } aKeyword[] = { + { "OR" , 2, 0, FTSQUERY_OR }, + { "AND", 3, 1, FTSQUERY_AND }, + { "NOT", 3, 1, FTSQUERY_NOT }, + { "NEAR", 4, 0, FTSQUERY_NEAR } + }; + int ii; + int iCol; + int iColLen; + int rc; + Fts3Expr *pRet = 0; + + const char *zInput = z; + int nInput = n; + + pParse->isNot = 0; + + /* Skip over any whitespace before checking for a keyword, an open or + ** close bracket, or a quoted string. + */ + while( nInput>0 && fts3isspace(*zInput) ){ + nInput--; + zInput++; + } + if( nInput==0 ){ + return SQLITE_DONE; + } + + /* See if we are dealing with a keyword. */ + for(ii=0; ii<(int)(sizeof(aKeyword)/sizeof(struct Fts3Keyword)); ii++){ + const struct Fts3Keyword *pKey = &aKeyword[ii]; + + if( (pKey->parenOnly & ~sqlite3_fts3_enable_parentheses)!=0 ){ + continue; + } + + if( nInput>=pKey->n && 0==memcmp(zInput, pKey->z, pKey->n) ){ + int nNear = SQLITE_FTS3_DEFAULT_NEAR_PARAM; + int nKey = pKey->n; + char cNext; + + /* If this is a "NEAR" keyword, check for an explicit nearness. */ + if( pKey->eType==FTSQUERY_NEAR ){ + assert( nKey==4 ); + if( zInput[4]=='/' && zInput[5]>='0' && zInput[5]<='9' ){ + nNear = 0; + for(nKey=5; zInput[nKey]>='0' && zInput[nKey]<='9'; nKey++){ + nNear = nNear * 10 + (zInput[nKey] - '0'); + } + } + } + + /* At this point this is probably a keyword. But for that to be true, + ** the next byte must contain either whitespace, an open or close + ** parenthesis, a quote character, or EOF. + */ + cNext = zInput[nKey]; + if( fts3isspace(cNext) + || cNext=='"' || cNext=='(' || cNext==')' || cNext==0 + ){ + pRet = (Fts3Expr *)fts3MallocZero(sizeof(Fts3Expr)); + if( !pRet ){ + return SQLITE_NOMEM; + } + pRet->eType = pKey->eType; + pRet->nNear = nNear; + *ppExpr = pRet; + *pnConsumed = (int)((zInput - z) + nKey); + return SQLITE_OK; + } + + /* Turns out that wasn't a keyword after all. This happens if the + ** user has supplied a token such as "ORacle". Continue. + */ + } + } + + /* See if we are dealing with a quoted phrase. If this is the case, then + ** search for the closing quote and pass the whole string to getNextString() + ** for processing. This is easy to do, as fts3 has no syntax for escaping + ** a quote character embedded in a string. + */ + if( *zInput=='"' ){ + for(ii=1; iinNest++; + rc = fts3ExprParse(pParse, zInput+1, nInput-1, ppExpr, &nConsumed); + *pnConsumed = (int)(zInput - z) + 1 + nConsumed; + return rc; + }else if( *zInput==')' ){ + pParse->nNest--; + *pnConsumed = (int)((zInput - z) + 1); + *ppExpr = 0; + return SQLITE_DONE; + } + } + + /* If control flows to this point, this must be a regular token, or + ** the end of the input. Read a regular token using the sqlite3_tokenizer + ** interface. Before doing so, figure out if there is an explicit + ** column specifier for the token. + ** + ** TODO: Strangely, it is not possible to associate a column specifier + ** with a quoted phrase, only with a single token. Not sure if this was + ** an implementation artifact or an intentional decision when fts3 was + ** first implemented. Whichever it was, this module duplicates the + ** limitation. + */ + iCol = pParse->iDefaultCol; + iColLen = 0; + for(ii=0; iinCol; ii++){ + const char *zStr = pParse->azCol[ii]; + int nStr = (int)strlen(zStr); + if( nInput>nStr && zInput[nStr]==':' + && sqlite3_strnicmp(zStr, zInput, nStr)==0 + ){ + iCol = ii; + iColLen = (int)((zInput - z) + nStr + 1); + break; + } + } + rc = getNextToken(pParse, iCol, &z[iColLen], n-iColLen, ppExpr, pnConsumed); + *pnConsumed += iColLen; + return rc; +} + +/* +** The argument is an Fts3Expr structure for a binary operator (any type +** except an FTSQUERY_PHRASE). Return an integer value representing the +** precedence of the operator. Lower values have a higher precedence (i.e. +** group more tightly). For example, in the C language, the == operator +** groups more tightly than ||, and would therefore have a higher precedence. +** +** When using the new fts3 query syntax (when SQLITE_ENABLE_FTS3_PARENTHESIS +** is defined), the order of the operators in precedence from highest to +** lowest is: +** +** NEAR +** NOT +** AND (including implicit ANDs) +** OR +** +** Note that when using the old query syntax, the OR operator has a higher +** precedence than the AND operator. +*/ +static int opPrecedence(Fts3Expr *p){ + assert( p->eType!=FTSQUERY_PHRASE ); + if( sqlite3_fts3_enable_parentheses ){ + return p->eType; + }else if( p->eType==FTSQUERY_NEAR ){ + return 1; + }else if( p->eType==FTSQUERY_OR ){ + return 2; + } + assert( p->eType==FTSQUERY_AND ); + return 3; +} + +/* +** Argument ppHead contains a pointer to the current head of a query +** expression tree being parsed. pPrev is the expression node most recently +** inserted into the tree. This function adds pNew, which is always a binary +** operator node, into the expression tree based on the relative precedence +** of pNew and the existing nodes of the tree. This may result in the head +** of the tree changing, in which case *ppHead is set to the new root node. +*/ +static void insertBinaryOperator( + Fts3Expr **ppHead, /* Pointer to the root node of a tree */ + Fts3Expr *pPrev, /* Node most recently inserted into the tree */ + Fts3Expr *pNew /* New binary node to insert into expression tree */ +){ + Fts3Expr *pSplit = pPrev; + while( pSplit->pParent && opPrecedence(pSplit->pParent)<=opPrecedence(pNew) ){ + pSplit = pSplit->pParent; + } + + if( pSplit->pParent ){ + assert( pSplit->pParent->pRight==pSplit ); + pSplit->pParent->pRight = pNew; + pNew->pParent = pSplit->pParent; + }else{ + *ppHead = pNew; + } + pNew->pLeft = pSplit; + pSplit->pParent = pNew; +} + +/* +** Parse the fts3 query expression found in buffer z, length n. This function +** returns either when the end of the buffer is reached or an unmatched +** closing bracket - ')' - is encountered. +** +** If successful, SQLITE_OK is returned, *ppExpr is set to point to the +** parsed form of the expression and *pnConsumed is set to the number of +** bytes read from buffer z. Otherwise, *ppExpr is set to 0 and SQLITE_NOMEM +** (out of memory error) or SQLITE_ERROR (parse error) is returned. +*/ +static int fts3ExprParse( + ParseContext *pParse, /* fts3 query parse context */ + const char *z, int n, /* Text of MATCH query */ + Fts3Expr **ppExpr, /* OUT: Parsed query structure */ + int *pnConsumed /* OUT: Number of bytes consumed */ +){ + Fts3Expr *pRet = 0; + Fts3Expr *pPrev = 0; + Fts3Expr *pNotBranch = 0; /* Only used in legacy parse mode */ + int nIn = n; + const char *zIn = z; + int rc = SQLITE_OK; + int isRequirePhrase = 1; + + while( rc==SQLITE_OK ){ + Fts3Expr *p = 0; + int nByte = 0; + + rc = getNextNode(pParse, zIn, nIn, &p, &nByte); + assert( nByte>0 || (rc!=SQLITE_OK && p==0) ); + if( rc==SQLITE_OK ){ + if( p ){ + int isPhrase; + + if( !sqlite3_fts3_enable_parentheses + && p->eType==FTSQUERY_PHRASE && pParse->isNot + ){ + /* Create an implicit NOT operator. */ + Fts3Expr *pNot = fts3MallocZero(sizeof(Fts3Expr)); + if( !pNot ){ + sqlite3Fts3ExprFree(p); + rc = SQLITE_NOMEM; + goto exprparse_out; + } + pNot->eType = FTSQUERY_NOT; + pNot->pRight = p; + p->pParent = pNot; + if( pNotBranch ){ + pNot->pLeft = pNotBranch; + pNotBranch->pParent = pNot; + } + pNotBranch = pNot; + p = pPrev; + }else{ + int eType = p->eType; + isPhrase = (eType==FTSQUERY_PHRASE || p->pLeft); + + /* The isRequirePhrase variable is set to true if a phrase or + ** an expression contained in parenthesis is required. If a + ** binary operator (AND, OR, NOT or NEAR) is encounted when + ** isRequirePhrase is set, this is a syntax error. + */ + if( !isPhrase && isRequirePhrase ){ + sqlite3Fts3ExprFree(p); + rc = SQLITE_ERROR; + goto exprparse_out; + } + + if( isPhrase && !isRequirePhrase ){ + /* Insert an implicit AND operator. */ + Fts3Expr *pAnd; + assert( pRet && pPrev ); + pAnd = fts3MallocZero(sizeof(Fts3Expr)); + if( !pAnd ){ + sqlite3Fts3ExprFree(p); + rc = SQLITE_NOMEM; + goto exprparse_out; + } + pAnd->eType = FTSQUERY_AND; + insertBinaryOperator(&pRet, pPrev, pAnd); + pPrev = pAnd; + } + + /* This test catches attempts to make either operand of a NEAR + ** operator something other than a phrase. For example, either of + ** the following: + ** + ** (bracketed expression) NEAR phrase + ** phrase NEAR (bracketed expression) + ** + ** Return an error in either case. + */ + if( pPrev && ( + (eType==FTSQUERY_NEAR && !isPhrase && pPrev->eType!=FTSQUERY_PHRASE) + || (eType!=FTSQUERY_PHRASE && isPhrase && pPrev->eType==FTSQUERY_NEAR) + )){ + sqlite3Fts3ExprFree(p); + rc = SQLITE_ERROR; + goto exprparse_out; + } + + if( isPhrase ){ + if( pRet ){ + assert( pPrev && pPrev->pLeft && pPrev->pRight==0 ); + pPrev->pRight = p; + p->pParent = pPrev; + }else{ + pRet = p; + } + }else{ + insertBinaryOperator(&pRet, pPrev, p); + } + isRequirePhrase = !isPhrase; + } + pPrev = p; + } + assert( nByte>0 ); + } + assert( rc!=SQLITE_OK || (nByte>0 && nByte<=nIn) ); + nIn -= nByte; + zIn += nByte; + } + + if( rc==SQLITE_DONE && pRet && isRequirePhrase ){ + rc = SQLITE_ERROR; + } + + if( rc==SQLITE_DONE ){ + rc = SQLITE_OK; + if( !sqlite3_fts3_enable_parentheses && pNotBranch ){ + if( !pRet ){ + rc = SQLITE_ERROR; + }else{ + Fts3Expr *pIter = pNotBranch; + while( pIter->pLeft ){ + pIter = pIter->pLeft; + } + pIter->pLeft = pRet; + pRet->pParent = pIter; + pRet = pNotBranch; + } + } + } + *pnConsumed = n - nIn; + +exprparse_out: + if( rc!=SQLITE_OK ){ + sqlite3Fts3ExprFree(pRet); + sqlite3Fts3ExprFree(pNotBranch); + pRet = 0; + } + *ppExpr = pRet; + return rc; +} + +/* +** Return SQLITE_ERROR if the maximum depth of the expression tree passed +** as the only argument is more than nMaxDepth. +*/ +static int fts3ExprCheckDepth(Fts3Expr *p, int nMaxDepth){ + int rc = SQLITE_OK; + if( p ){ + if( nMaxDepth<0 ){ + rc = SQLITE_TOOBIG; + }else{ + rc = fts3ExprCheckDepth(p->pLeft, nMaxDepth-1); + if( rc==SQLITE_OK ){ + rc = fts3ExprCheckDepth(p->pRight, nMaxDepth-1); + } + } + } + return rc; +} + +/* +** This function attempts to transform the expression tree at (*pp) to +** an equivalent but more balanced form. The tree is modified in place. +** If successful, SQLITE_OK is returned and (*pp) set to point to the +** new root expression node. +** +** nMaxDepth is the maximum allowable depth of the balanced sub-tree. +** +** Otherwise, if an error occurs, an SQLite error code is returned and +** expression (*pp) freed. +*/ +static int fts3ExprBalance(Fts3Expr **pp, int nMaxDepth){ + int rc = SQLITE_OK; /* Return code */ + Fts3Expr *pRoot = *pp; /* Initial root node */ + Fts3Expr *pFree = 0; /* List of free nodes. Linked by pParent. */ + int eType = pRoot->eType; /* Type of node in this tree */ + + if( nMaxDepth==0 ){ + rc = SQLITE_ERROR; + } + + if( rc==SQLITE_OK ){ + if( (eType==FTSQUERY_AND || eType==FTSQUERY_OR) ){ + Fts3Expr **apLeaf; + apLeaf = (Fts3Expr **)sqlite3_malloc64(sizeof(Fts3Expr *) * nMaxDepth); + if( 0==apLeaf ){ + rc = SQLITE_NOMEM; + }else{ + memset(apLeaf, 0, sizeof(Fts3Expr *) * nMaxDepth); + } + + if( rc==SQLITE_OK ){ + int i; + Fts3Expr *p; + + /* Set $p to point to the left-most leaf in the tree of eType nodes. */ + for(p=pRoot; p->eType==eType; p=p->pLeft){ + assert( p->pParent==0 || p->pParent->pLeft==p ); + assert( p->pLeft && p->pRight ); + } + + /* This loop runs once for each leaf in the tree of eType nodes. */ + while( 1 ){ + int iLvl; + Fts3Expr *pParent = p->pParent; /* Current parent of p */ + + assert( pParent==0 || pParent->pLeft==p ); + p->pParent = 0; + if( pParent ){ + pParent->pLeft = 0; + }else{ + pRoot = 0; + } + rc = fts3ExprBalance(&p, nMaxDepth-1); + if( rc!=SQLITE_OK ) break; + + for(iLvl=0; p && iLvlpLeft = apLeaf[iLvl]; + pFree->pRight = p; + pFree->pLeft->pParent = pFree; + pFree->pRight->pParent = pFree; + + p = pFree; + pFree = pFree->pParent; + p->pParent = 0; + apLeaf[iLvl] = 0; + } + } + if( p ){ + sqlite3Fts3ExprFree(p); + rc = SQLITE_TOOBIG; + break; + } + + /* If that was the last leaf node, break out of the loop */ + if( pParent==0 ) break; + + /* Set $p to point to the next leaf in the tree of eType nodes */ + for(p=pParent->pRight; p->eType==eType; p=p->pLeft); + + /* Remove pParent from the original tree. */ + assert( pParent->pParent==0 || pParent->pParent->pLeft==pParent ); + pParent->pRight->pParent = pParent->pParent; + if( pParent->pParent ){ + pParent->pParent->pLeft = pParent->pRight; + }else{ + assert( pParent==pRoot ); + pRoot = pParent->pRight; + } + + /* Link pParent into the free node list. It will be used as an + ** internal node of the new tree. */ + pParent->pParent = pFree; + pFree = pParent; + } + + if( rc==SQLITE_OK ){ + p = 0; + for(i=0; ipParent = 0; + }else{ + assert( pFree!=0 ); + pFree->pRight = p; + pFree->pLeft = apLeaf[i]; + pFree->pLeft->pParent = pFree; + pFree->pRight->pParent = pFree; + + p = pFree; + pFree = pFree->pParent; + p->pParent = 0; + } + } + } + pRoot = p; + }else{ + /* An error occurred. Delete the contents of the apLeaf[] array + ** and pFree list. Everything else is cleaned up by the call to + ** sqlite3Fts3ExprFree(pRoot) below. */ + Fts3Expr *pDel; + for(i=0; ipParent; + sqlite3_free(pDel); + } + } + + assert( pFree==0 ); + sqlite3_free( apLeaf ); + } + }else if( eType==FTSQUERY_NOT ){ + Fts3Expr *pLeft = pRoot->pLeft; + Fts3Expr *pRight = pRoot->pRight; + + pRoot->pLeft = 0; + pRoot->pRight = 0; + pLeft->pParent = 0; + pRight->pParent = 0; + + rc = fts3ExprBalance(&pLeft, nMaxDepth-1); + if( rc==SQLITE_OK ){ + rc = fts3ExprBalance(&pRight, nMaxDepth-1); + } + + if( rc!=SQLITE_OK ){ + sqlite3Fts3ExprFree(pRight); + sqlite3Fts3ExprFree(pLeft); + }else{ + assert( pLeft && pRight ); + pRoot->pLeft = pLeft; + pLeft->pParent = pRoot; + pRoot->pRight = pRight; + pRight->pParent = pRoot; + } + } + } + + if( rc!=SQLITE_OK ){ + sqlite3Fts3ExprFree(pRoot); + pRoot = 0; + } + *pp = pRoot; + return rc; +} + +/* +** This function is similar to sqlite3Fts3ExprParse(), with the following +** differences: +** +** 1. It does not do expression rebalancing. +** 2. It does not check that the expression does not exceed the +** maximum allowable depth. +** 3. Even if it fails, *ppExpr may still be set to point to an +** expression tree. It should be deleted using sqlite3Fts3ExprFree() +** in this case. +*/ +static int fts3ExprParseUnbalanced( + sqlite3_tokenizer *pTokenizer, /* Tokenizer module */ + int iLangid, /* Language id for tokenizer */ + char **azCol, /* Array of column names for fts3 table */ + int bFts4, /* True to allow FTS4-only syntax */ + int nCol, /* Number of entries in azCol[] */ + int iDefaultCol, /* Default column to query */ + const char *z, int n, /* Text of MATCH query */ + Fts3Expr **ppExpr /* OUT: Parsed query structure */ +){ + int nParsed; + int rc; + ParseContext sParse; + + memset(&sParse, 0, sizeof(ParseContext)); + sParse.pTokenizer = pTokenizer; + sParse.iLangid = iLangid; + sParse.azCol = (const char **)azCol; + sParse.nCol = nCol; + sParse.iDefaultCol = iDefaultCol; + sParse.bFts4 = bFts4; + if( z==0 ){ + *ppExpr = 0; + return SQLITE_OK; + } + if( n<0 ){ + n = (int)strlen(z); + } + rc = fts3ExprParse(&sParse, z, n, ppExpr, &nParsed); + assert( rc==SQLITE_OK || *ppExpr==0 ); + + /* Check for mismatched parenthesis */ + if( rc==SQLITE_OK && sParse.nNest ){ + rc = SQLITE_ERROR; + } + + return rc; +} + +/* +** Parameters z and n contain a pointer to and length of a buffer containing +** an fts3 query expression, respectively. This function attempts to parse the +** query expression and create a tree of Fts3Expr structures representing the +** parsed expression. If successful, *ppExpr is set to point to the head +** of the parsed expression tree and SQLITE_OK is returned. If an error +** occurs, either SQLITE_NOMEM (out-of-memory error) or SQLITE_ERROR (parse +** error) is returned and *ppExpr is set to 0. +** +** If parameter n is a negative number, then z is assumed to point to a +** nul-terminated string and the length is determined using strlen(). +** +** The first parameter, pTokenizer, is passed the fts3 tokenizer module to +** use to normalize query tokens while parsing the expression. The azCol[] +** array, which is assumed to contain nCol entries, should contain the names +** of each column in the target fts3 table, in order from left to right. +** Column names must be nul-terminated strings. +** +** The iDefaultCol parameter should be passed the index of the table column +** that appears on the left-hand-side of the MATCH operator (the default +** column to match against for tokens for which a column name is not explicitly +** specified as part of the query string), or -1 if tokens may by default +** match any table column. +*/ +SQLITE_PRIVATE int sqlite3Fts3ExprParse( + sqlite3_tokenizer *pTokenizer, /* Tokenizer module */ + int iLangid, /* Language id for tokenizer */ + char **azCol, /* Array of column names for fts3 table */ + int bFts4, /* True to allow FTS4-only syntax */ + int nCol, /* Number of entries in azCol[] */ + int iDefaultCol, /* Default column to query */ + const char *z, int n, /* Text of MATCH query */ + Fts3Expr **ppExpr, /* OUT: Parsed query structure */ + char **pzErr /* OUT: Error message (sqlite3_malloc) */ +){ + int rc = fts3ExprParseUnbalanced( + pTokenizer, iLangid, azCol, bFts4, nCol, iDefaultCol, z, n, ppExpr + ); + + /* Rebalance the expression. And check that its depth does not exceed + ** SQLITE_FTS3_MAX_EXPR_DEPTH. */ + if( rc==SQLITE_OK && *ppExpr ){ + rc = fts3ExprBalance(ppExpr, SQLITE_FTS3_MAX_EXPR_DEPTH); + if( rc==SQLITE_OK ){ + rc = fts3ExprCheckDepth(*ppExpr, SQLITE_FTS3_MAX_EXPR_DEPTH); + } + } + + if( rc!=SQLITE_OK ){ + sqlite3Fts3ExprFree(*ppExpr); + *ppExpr = 0; + if( rc==SQLITE_TOOBIG ){ + sqlite3Fts3ErrMsg(pzErr, + "FTS expression tree is too large (maximum depth %d)", + SQLITE_FTS3_MAX_EXPR_DEPTH + ); + rc = SQLITE_ERROR; + }else if( rc==SQLITE_ERROR ){ + sqlite3Fts3ErrMsg(pzErr, "malformed MATCH expression: [%s]", z); + } + } + + return rc; +} + +/* +** Free a single node of an expression tree. +*/ +static void fts3FreeExprNode(Fts3Expr *p){ + assert( p->eType==FTSQUERY_PHRASE || p->pPhrase==0 ); + sqlite3Fts3EvalPhraseCleanup(p->pPhrase); + sqlite3_free(p->aMI); + sqlite3_free(p); +} + +/* +** Free a parsed fts3 query expression allocated by sqlite3Fts3ExprParse(). +** +** This function would be simpler if it recursively called itself. But +** that would mean passing a sufficiently large expression to ExprParse() +** could cause a stack overflow. +*/ +SQLITE_PRIVATE void sqlite3Fts3ExprFree(Fts3Expr *pDel){ + Fts3Expr *p; + assert( pDel==0 || pDel->pParent==0 ); + for(p=pDel; p && (p->pLeft||p->pRight); p=(p->pLeft ? p->pLeft : p->pRight)){ + assert( p->pParent==0 || p==p->pParent->pRight || p==p->pParent->pLeft ); + } + while( p ){ + Fts3Expr *pParent = p->pParent; + fts3FreeExprNode(p); + if( pParent && p==pParent->pLeft && pParent->pRight ){ + p = pParent->pRight; + while( p && (p->pLeft || p->pRight) ){ + assert( p==p->pParent->pRight || p==p->pParent->pLeft ); + p = (p->pLeft ? p->pLeft : p->pRight); + } + }else{ + p = pParent; + } + } +} + +/**************************************************************************** +***************************************************************************** +** Everything after this point is just test code. +*/ + +#ifdef SQLITE_TEST + +/* #include */ + +/* +** Return a pointer to a buffer containing a text representation of the +** expression passed as the first argument. The buffer is obtained from +** sqlite3_malloc(). It is the responsibility of the caller to use +** sqlite3_free() to release the memory. If an OOM condition is encountered, +** NULL is returned. +** +** If the second argument is not NULL, then its contents are prepended to +** the returned expression text and then freed using sqlite3_free(). +*/ +static char *exprToString(Fts3Expr *pExpr, char *zBuf){ + if( pExpr==0 ){ + return sqlite3_mprintf(""); + } + switch( pExpr->eType ){ + case FTSQUERY_PHRASE: { + Fts3Phrase *pPhrase = pExpr->pPhrase; + int i; + zBuf = sqlite3_mprintf( + "%zPHRASE %d 0", zBuf, pPhrase->iColumn); + for(i=0; zBuf && inToken; i++){ + zBuf = sqlite3_mprintf("%z %.*s%s", zBuf, + pPhrase->aToken[i].n, pPhrase->aToken[i].z, + (pPhrase->aToken[i].isPrefix?"+":"") + ); + } + return zBuf; + } + + case FTSQUERY_NEAR: + zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear); + break; + case FTSQUERY_NOT: + zBuf = sqlite3_mprintf("%zNOT ", zBuf); + break; + case FTSQUERY_AND: + zBuf = sqlite3_mprintf("%zAND ", zBuf); + break; + case FTSQUERY_OR: + zBuf = sqlite3_mprintf("%zOR ", zBuf); + break; + } + + if( zBuf ) zBuf = sqlite3_mprintf("%z{", zBuf); + if( zBuf ) zBuf = exprToString(pExpr->pLeft, zBuf); + if( zBuf ) zBuf = sqlite3_mprintf("%z} {", zBuf); + + if( zBuf ) zBuf = exprToString(pExpr->pRight, zBuf); + if( zBuf ) zBuf = sqlite3_mprintf("%z}", zBuf); + + return zBuf; +} + +/* +** This is the implementation of a scalar SQL function used to test the +** expression parser. It should be called as follows: +** +** fts3_exprtest(, , , ...); +** +** The first argument, , is the name of the fts3 tokenizer used +** to parse the query expression (see README.tokenizers). The second argument +** is the query expression to parse. Each subsequent argument is the name +** of a column of the fts3 table that the query expression may refer to. +** For example: +** +** SELECT fts3_exprtest('simple', 'Bill col2:Bloggs', 'col1', 'col2'); +*/ +static void fts3ExprTestCommon( + int bRebalance, + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + sqlite3_tokenizer *pTokenizer = 0; + int rc; + char **azCol = 0; + const char *zExpr; + int nExpr; + int nCol; + int ii; + Fts3Expr *pExpr; + char *zBuf = 0; + Fts3Hash *pHash = (Fts3Hash*)sqlite3_user_data(context); + const char *zTokenizer = 0; + char *zErr = 0; + + if( argc<3 ){ + sqlite3_result_error(context, + "Usage: fts3_exprtest(tokenizer, expr, col1, ...", -1 + ); + return; + } + + zTokenizer = (const char*)sqlite3_value_text(argv[0]); + rc = sqlite3Fts3InitTokenizer(pHash, zTokenizer, &pTokenizer, &zErr); + if( rc!=SQLITE_OK ){ + if( rc==SQLITE_NOMEM ){ + sqlite3_result_error_nomem(context); + }else{ + sqlite3_result_error(context, zErr, -1); + } + sqlite3_free(zErr); + return; + } + + zExpr = (const char *)sqlite3_value_text(argv[1]); + nExpr = sqlite3_value_bytes(argv[1]); + nCol = argc-2; + azCol = (char **)sqlite3_malloc64(nCol*sizeof(char *)); + if( !azCol ){ + sqlite3_result_error_nomem(context); + goto exprtest_out; + } + for(ii=0; iipModule->xDestroy(pTokenizer); + } + sqlite3_free(azCol); +} + +static void fts3ExprTest( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + fts3ExprTestCommon(0, context, argc, argv); +} +static void fts3ExprTestRebalance( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + fts3ExprTestCommon(1, context, argc, argv); +} + +/* +** Register the query expression parser test function fts3_exprtest() +** with database connection db. +*/ +SQLITE_PRIVATE int sqlite3Fts3ExprInitTestInterface(sqlite3 *db, Fts3Hash *pHash){ + int rc = sqlite3_create_function( + db, "fts3_exprtest", -1, SQLITE_UTF8, (void*)pHash, fts3ExprTest, 0, 0 + ); + if( rc==SQLITE_OK ){ + rc = sqlite3_create_function(db, "fts3_exprtest_rebalance", + -1, SQLITE_UTF8, (void*)pHash, fts3ExprTestRebalance, 0, 0 + ); + } + return rc; +} + +#endif +#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ + +/************** End of fts3_expr.c *******************************************/ +/************** Begin file fts3_hash.c ***************************************/ +/* +** 2001 September 22 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This is the implementation of generic hash-tables used in SQLite. +** We've modified it slightly to serve as a standalone hash table +** implementation for the full-text indexing module. +*/ + +/* +** The code in this file is only compiled if: +** +** * The FTS3 module is being built as an extension +** (in which case SQLITE_CORE is not defined), or +** +** * The FTS3 module is being built into the core of +** SQLite (in which case SQLITE_ENABLE_FTS3 is defined). +*/ +/* #include "fts3Int.h" */ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) + +/* #include */ +/* #include */ +/* #include */ + +/* #include "fts3_hash.h" */ + +/* +** Malloc and Free functions +*/ +static void *fts3HashMalloc(sqlite3_int64 n){ + void *p = sqlite3_malloc64(n); + if( p ){ + memset(p, 0, n); + } + return p; +} +static void fts3HashFree(void *p){ + sqlite3_free(p); +} + +/* Turn bulk memory into a hash table object by initializing the +** fields of the Hash structure. +** +** "pNew" is a pointer to the hash table that is to be initialized. +** keyClass is one of the constants +** FTS3_HASH_BINARY or FTS3_HASH_STRING. The value of keyClass +** determines what kind of key the hash table will use. "copyKey" is +** true if the hash table should make its own private copy of keys and +** false if it should just use the supplied pointer. +*/ +SQLITE_PRIVATE void sqlite3Fts3HashInit(Fts3Hash *pNew, char keyClass, char copyKey){ + assert( pNew!=0 ); + assert( keyClass>=FTS3_HASH_STRING && keyClass<=FTS3_HASH_BINARY ); + pNew->keyClass = keyClass; + pNew->copyKey = copyKey; + pNew->first = 0; + pNew->count = 0; + pNew->htsize = 0; + pNew->ht = 0; +} + +/* Remove all entries from a hash table. Reclaim all memory. +** Call this routine to delete a hash table or to reset a hash table +** to the empty state. +*/ +SQLITE_PRIVATE void sqlite3Fts3HashClear(Fts3Hash *pH){ + Fts3HashElem *elem; /* For looping over all elements of the table */ + + assert( pH!=0 ); + elem = pH->first; + pH->first = 0; + fts3HashFree(pH->ht); + pH->ht = 0; + pH->htsize = 0; + while( elem ){ + Fts3HashElem *next_elem = elem->next; + if( pH->copyKey && elem->pKey ){ + fts3HashFree(elem->pKey); + } + fts3HashFree(elem); + elem = next_elem; + } + pH->count = 0; +} + +/* +** Hash and comparison functions when the mode is FTS3_HASH_STRING +*/ +static int fts3StrHash(const void *pKey, int nKey){ + const char *z = (const char *)pKey; + unsigned h = 0; + if( nKey<=0 ) nKey = (int) strlen(z); + while( nKey > 0 ){ + h = (h<<3) ^ h ^ *z++; + nKey--; + } + return (int)(h & 0x7fffffff); +} +static int fts3StrCompare(const void *pKey1, int n1, const void *pKey2, int n2){ + if( n1!=n2 ) return 1; + return strncmp((const char*)pKey1,(const char*)pKey2,n1); +} + +/* +** Hash and comparison functions when the mode is FTS3_HASH_BINARY +*/ +static int fts3BinHash(const void *pKey, int nKey){ + int h = 0; + const char *z = (const char *)pKey; + while( nKey-- > 0 ){ + h = (h<<3) ^ h ^ *(z++); + } + return h & 0x7fffffff; +} +static int fts3BinCompare(const void *pKey1, int n1, const void *pKey2, int n2){ + if( n1!=n2 ) return 1; + return memcmp(pKey1,pKey2,n1); +} + +/* +** Return a pointer to the appropriate hash function given the key class. +** +** The C syntax in this function definition may be unfamilar to some +** programmers, so we provide the following additional explanation: +** +** The name of the function is "ftsHashFunction". The function takes a +** single parameter "keyClass". The return value of ftsHashFunction() +** is a pointer to another function. Specifically, the return value +** of ftsHashFunction() is a pointer to a function that takes two parameters +** with types "const void*" and "int" and returns an "int". +*/ +static int (*ftsHashFunction(int keyClass))(const void*,int){ + if( keyClass==FTS3_HASH_STRING ){ + return &fts3StrHash; + }else{ + assert( keyClass==FTS3_HASH_BINARY ); + return &fts3BinHash; + } +} + +/* +** Return a pointer to the appropriate hash function given the key class. +** +** For help in interpreted the obscure C code in the function definition, +** see the header comment on the previous function. +*/ +static int (*ftsCompareFunction(int keyClass))(const void*,int,const void*,int){ + if( keyClass==FTS3_HASH_STRING ){ + return &fts3StrCompare; + }else{ + assert( keyClass==FTS3_HASH_BINARY ); + return &fts3BinCompare; + } +} + +/* Link an element into the hash table +*/ +static void fts3HashInsertElement( + Fts3Hash *pH, /* The complete hash table */ + struct _fts3ht *pEntry, /* The entry into which pNew is inserted */ + Fts3HashElem *pNew /* The element to be inserted */ +){ + Fts3HashElem *pHead; /* First element already in pEntry */ + pHead = pEntry->chain; + if( pHead ){ + pNew->next = pHead; + pNew->prev = pHead->prev; + if( pHead->prev ){ pHead->prev->next = pNew; } + else { pH->first = pNew; } + pHead->prev = pNew; + }else{ + pNew->next = pH->first; + if( pH->first ){ pH->first->prev = pNew; } + pNew->prev = 0; + pH->first = pNew; + } + pEntry->count++; + pEntry->chain = pNew; +} + + +/* Resize the hash table so that it cantains "new_size" buckets. +** "new_size" must be a power of 2. The hash table might fail +** to resize if sqliteMalloc() fails. +** +** Return non-zero if a memory allocation error occurs. +*/ +static int fts3Rehash(Fts3Hash *pH, int new_size){ + struct _fts3ht *new_ht; /* The new hash table */ + Fts3HashElem *elem, *next_elem; /* For looping over existing elements */ + int (*xHash)(const void*,int); /* The hash function */ + + assert( (new_size & (new_size-1))==0 ); + new_ht = (struct _fts3ht *)fts3HashMalloc( new_size*sizeof(struct _fts3ht) ); + if( new_ht==0 ) return 1; + fts3HashFree(pH->ht); + pH->ht = new_ht; + pH->htsize = new_size; + xHash = ftsHashFunction(pH->keyClass); + for(elem=pH->first, pH->first=0; elem; elem = next_elem){ + int h = (*xHash)(elem->pKey, elem->nKey) & (new_size-1); + next_elem = elem->next; + fts3HashInsertElement(pH, &new_ht[h], elem); + } + return 0; +} + +/* This function (for internal use only) locates an element in an +** hash table that matches the given key. The hash for this key has +** already been computed and is passed as the 4th parameter. +*/ +static Fts3HashElem *fts3FindElementByHash( + const Fts3Hash *pH, /* The pH to be searched */ + const void *pKey, /* The key we are searching for */ + int nKey, + int h /* The hash for this key. */ +){ + Fts3HashElem *elem; /* Used to loop thru the element list */ + int count; /* Number of elements left to test */ + int (*xCompare)(const void*,int,const void*,int); /* comparison function */ + + if( pH->ht ){ + struct _fts3ht *pEntry = &pH->ht[h]; + elem = pEntry->chain; + count = pEntry->count; + xCompare = ftsCompareFunction(pH->keyClass); + while( count-- && elem ){ + if( (*xCompare)(elem->pKey,elem->nKey,pKey,nKey)==0 ){ + return elem; + } + elem = elem->next; + } + } + return 0; +} + +/* Remove a single entry from the hash table given a pointer to that +** element and a hash on the element's key. +*/ +static void fts3RemoveElementByHash( + Fts3Hash *pH, /* The pH containing "elem" */ + Fts3HashElem* elem, /* The element to be removed from the pH */ + int h /* Hash value for the element */ +){ + struct _fts3ht *pEntry; + if( elem->prev ){ + elem->prev->next = elem->next; + }else{ + pH->first = elem->next; + } + if( elem->next ){ + elem->next->prev = elem->prev; + } + pEntry = &pH->ht[h]; + if( pEntry->chain==elem ){ + pEntry->chain = elem->next; + } + pEntry->count--; + if( pEntry->count<=0 ){ + pEntry->chain = 0; + } + if( pH->copyKey && elem->pKey ){ + fts3HashFree(elem->pKey); + } + fts3HashFree( elem ); + pH->count--; + if( pH->count<=0 ){ + assert( pH->first==0 ); + assert( pH->count==0 ); + fts3HashClear(pH); + } +} + +SQLITE_PRIVATE Fts3HashElem *sqlite3Fts3HashFindElem( + const Fts3Hash *pH, + const void *pKey, + int nKey +){ + int h; /* A hash on key */ + int (*xHash)(const void*,int); /* The hash function */ + + if( pH==0 || pH->ht==0 ) return 0; + xHash = ftsHashFunction(pH->keyClass); + assert( xHash!=0 ); + h = (*xHash)(pKey,nKey); + assert( (pH->htsize & (pH->htsize-1))==0 ); + return fts3FindElementByHash(pH,pKey,nKey, h & (pH->htsize-1)); +} + +/* +** Attempt to locate an element of the hash table pH with a key +** that matches pKey,nKey. Return the data for this element if it is +** found, or NULL if there is no match. +*/ +SQLITE_PRIVATE void *sqlite3Fts3HashFind(const Fts3Hash *pH, const void *pKey, int nKey){ + Fts3HashElem *pElem; /* The element that matches key (if any) */ + + pElem = sqlite3Fts3HashFindElem(pH, pKey, nKey); + return pElem ? pElem->data : 0; +} + +/* Insert an element into the hash table pH. The key is pKey,nKey +** and the data is "data". +** +** If no element exists with a matching key, then a new +** element is created. A copy of the key is made if the copyKey +** flag is set. NULL is returned. +** +** If another element already exists with the same key, then the +** new data replaces the old data and the old data is returned. +** The key is not copied in this instance. If a malloc fails, then +** the new data is returned and the hash table is unchanged. +** +** If the "data" parameter to this function is NULL, then the +** element corresponding to "key" is removed from the hash table. +*/ +SQLITE_PRIVATE void *sqlite3Fts3HashInsert( + Fts3Hash *pH, /* The hash table to insert into */ + const void *pKey, /* The key */ + int nKey, /* Number of bytes in the key */ + void *data /* The data */ +){ + int hraw; /* Raw hash value of the key */ + int h; /* the hash of the key modulo hash table size */ + Fts3HashElem *elem; /* Used to loop thru the element list */ + Fts3HashElem *new_elem; /* New element added to the pH */ + int (*xHash)(const void*,int); /* The hash function */ + + assert( pH!=0 ); + xHash = ftsHashFunction(pH->keyClass); + assert( xHash!=0 ); + hraw = (*xHash)(pKey, nKey); + assert( (pH->htsize & (pH->htsize-1))==0 ); + h = hraw & (pH->htsize-1); + elem = fts3FindElementByHash(pH,pKey,nKey,h); + if( elem ){ + void *old_data = elem->data; + if( data==0 ){ + fts3RemoveElementByHash(pH,elem,h); + }else{ + elem->data = data; + } + return old_data; + } + if( data==0 ) return 0; + if( (pH->htsize==0 && fts3Rehash(pH,8)) + || (pH->count>=pH->htsize && fts3Rehash(pH, pH->htsize*2)) + ){ + pH->count = 0; + return data; + } + assert( pH->htsize>0 ); + new_elem = (Fts3HashElem*)fts3HashMalloc( sizeof(Fts3HashElem) ); + if( new_elem==0 ) return data; + if( pH->copyKey && pKey!=0 ){ + new_elem->pKey = fts3HashMalloc( nKey ); + if( new_elem->pKey==0 ){ + fts3HashFree(new_elem); + return data; + } + memcpy((void*)new_elem->pKey, pKey, nKey); + }else{ + new_elem->pKey = (void*)pKey; + } + new_elem->nKey = nKey; + pH->count++; + assert( pH->htsize>0 ); + assert( (pH->htsize & (pH->htsize-1))==0 ); + h = hraw & (pH->htsize-1); + fts3HashInsertElement(pH, &pH->ht[h], new_elem); + new_elem->data = data; + return 0; +} + +#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ + +/************** End of fts3_hash.c *******************************************/ +/************** Begin file fts3_porter.c *************************************/ +/* +** 2006 September 30 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** Implementation of the full-text-search tokenizer that implements +** a Porter stemmer. +*/ + +/* +** The code in this file is only compiled if: +** +** * The FTS3 module is being built as an extension +** (in which case SQLITE_CORE is not defined), or +** +** * The FTS3 module is being built into the core of +** SQLite (in which case SQLITE_ENABLE_FTS3 is defined). +*/ +/* #include "fts3Int.h" */ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) + +/* #include */ +/* #include */ +/* #include */ +/* #include */ + +/* #include "fts3_tokenizer.h" */ + +/* +** Class derived from sqlite3_tokenizer +*/ +typedef struct porter_tokenizer { + sqlite3_tokenizer base; /* Base class */ +} porter_tokenizer; + +/* +** Class derived from sqlite3_tokenizer_cursor +*/ +typedef struct porter_tokenizer_cursor { + sqlite3_tokenizer_cursor base; + const char *zInput; /* input we are tokenizing */ + int nInput; /* size of the input */ + int iOffset; /* current position in zInput */ + int iToken; /* index of next token to be returned */ + char *zToken; /* storage for current token */ + int nAllocated; /* space allocated to zToken buffer */ +} porter_tokenizer_cursor; + + +/* +** Create a new tokenizer instance. +*/ +static int porterCreate( + int argc, const char * const *argv, + sqlite3_tokenizer **ppTokenizer +){ + porter_tokenizer *t; + + UNUSED_PARAMETER(argc); + UNUSED_PARAMETER(argv); + + t = (porter_tokenizer *) sqlite3_malloc(sizeof(*t)); + if( t==NULL ) return SQLITE_NOMEM; + memset(t, 0, sizeof(*t)); + *ppTokenizer = &t->base; + return SQLITE_OK; +} + +/* +** Destroy a tokenizer +*/ +static int porterDestroy(sqlite3_tokenizer *pTokenizer){ + sqlite3_free(pTokenizer); + return SQLITE_OK; +} + +/* +** Prepare to begin tokenizing a particular string. The input +** string to be tokenized is zInput[0..nInput-1]. A cursor +** used to incrementally tokenize this string is returned in +** *ppCursor. +*/ +static int porterOpen( + sqlite3_tokenizer *pTokenizer, /* The tokenizer */ + const char *zInput, int nInput, /* String to be tokenized */ + sqlite3_tokenizer_cursor **ppCursor /* OUT: Tokenization cursor */ +){ + porter_tokenizer_cursor *c; + + UNUSED_PARAMETER(pTokenizer); + + c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c)); + if( c==NULL ) return SQLITE_NOMEM; + + c->zInput = zInput; + if( zInput==0 ){ + c->nInput = 0; + }else if( nInput<0 ){ + c->nInput = (int)strlen(zInput); + }else{ + c->nInput = nInput; + } + c->iOffset = 0; /* start tokenizing at the beginning */ + c->iToken = 0; + c->zToken = NULL; /* no space allocated, yet. */ + c->nAllocated = 0; + + *ppCursor = &c->base; + return SQLITE_OK; +} + +/* +** Close a tokenization cursor previously opened by a call to +** porterOpen() above. +*/ +static int porterClose(sqlite3_tokenizer_cursor *pCursor){ + porter_tokenizer_cursor *c = (porter_tokenizer_cursor *) pCursor; + sqlite3_free(c->zToken); + sqlite3_free(c); + return SQLITE_OK; +} +/* +** Vowel or consonant +*/ +static const char cType[] = { + 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, + 1, 1, 1, 2, 1 +}; + +/* +** isConsonant() and isVowel() determine if their first character in +** the string they point to is a consonant or a vowel, according +** to Porter ruls. +** +** A consonate is any letter other than 'a', 'e', 'i', 'o', or 'u'. +** 'Y' is a consonant unless it follows another consonant, +** in which case it is a vowel. +** +** In these routine, the letters are in reverse order. So the 'y' rule +** is that 'y' is a consonant unless it is followed by another +** consonent. +*/ +static int isVowel(const char*); +static int isConsonant(const char *z){ + int j; + char x = *z; + if( x==0 ) return 0; + assert( x>='a' && x<='z' ); + j = cType[x-'a']; + if( j<2 ) return j; + return z[1]==0 || isVowel(z + 1); +} +static int isVowel(const char *z){ + int j; + char x = *z; + if( x==0 ) return 0; + assert( x>='a' && x<='z' ); + j = cType[x-'a']; + if( j<2 ) return 1-j; + return isConsonant(z + 1); +} + +/* +** Let any sequence of one or more vowels be represented by V and let +** C be sequence of one or more consonants. Then every word can be +** represented as: +** +** [C] (VC){m} [V] +** +** In prose: A word is an optional consonant followed by zero or +** vowel-consonant pairs followed by an optional vowel. "m" is the +** number of vowel consonant pairs. This routine computes the value +** of m for the first i bytes of a word. +** +** Return true if the m-value for z is 1 or more. In other words, +** return true if z contains at least one vowel that is followed +** by a consonant. +** +** In this routine z[] is in reverse order. So we are really looking +** for an instance of a consonant followed by a vowel. +*/ +static int m_gt_0(const char *z){ + while( isVowel(z) ){ z++; } + if( *z==0 ) return 0; + while( isConsonant(z) ){ z++; } + return *z!=0; +} + +/* Like mgt0 above except we are looking for a value of m which is +** exactly 1 +*/ +static int m_eq_1(const char *z){ + while( isVowel(z) ){ z++; } + if( *z==0 ) return 0; + while( isConsonant(z) ){ z++; } + if( *z==0 ) return 0; + while( isVowel(z) ){ z++; } + if( *z==0 ) return 1; + while( isConsonant(z) ){ z++; } + return *z==0; +} + +/* Like mgt0 above except we are looking for a value of m>1 instead +** or m>0 +*/ +static int m_gt_1(const char *z){ + while( isVowel(z) ){ z++; } + if( *z==0 ) return 0; + while( isConsonant(z) ){ z++; } + if( *z==0 ) return 0; + while( isVowel(z) ){ z++; } + if( *z==0 ) return 0; + while( isConsonant(z) ){ z++; } + return *z!=0; +} + +/* +** Return TRUE if there is a vowel anywhere within z[0..n-1] +*/ +static int hasVowel(const char *z){ + while( isConsonant(z) ){ z++; } + return *z!=0; +} + +/* +** Return TRUE if the word ends in a double consonant. +** +** The text is reversed here. So we are really looking at +** the first two characters of z[]. +*/ +static int doubleConsonant(const char *z){ + return isConsonant(z) && z[0]==z[1]; +} + +/* +** Return TRUE if the word ends with three letters which +** are consonant-vowel-consonent and where the final consonant +** is not 'w', 'x', or 'y'. +** +** The word is reversed here. So we are really checking the +** first three letters and the first one cannot be in [wxy]. +*/ +static int star_oh(const char *z){ + return + isConsonant(z) && + z[0]!='w' && z[0]!='x' && z[0]!='y' && + isVowel(z+1) && + isConsonant(z+2); +} + +/* +** If the word ends with zFrom and xCond() is true for the stem +** of the word that preceeds the zFrom ending, then change the +** ending to zTo. +** +** The input word *pz and zFrom are both in reverse order. zTo +** is in normal order. +** +** Return TRUE if zFrom matches. Return FALSE if zFrom does not +** match. Not that TRUE is returned even if xCond() fails and +** no substitution occurs. +*/ +static int stem( + char **pz, /* The word being stemmed (Reversed) */ + const char *zFrom, /* If the ending matches this... (Reversed) */ + const char *zTo, /* ... change the ending to this (not reversed) */ + int (*xCond)(const char*) /* Condition that must be true */ +){ + char *z = *pz; + while( *zFrom && *zFrom==*z ){ z++; zFrom++; } + if( *zFrom!=0 ) return 0; + if( xCond && !xCond(z) ) return 1; + while( *zTo ){ + *(--z) = *(zTo++); + } + *pz = z; + return 1; +} + +/* +** This is the fallback stemmer used when the porter stemmer is +** inappropriate. The input word is copied into the output with +** US-ASCII case folding. If the input word is too long (more +** than 20 bytes if it contains no digits or more than 6 bytes if +** it contains digits) then word is truncated to 20 or 6 bytes +** by taking 10 or 3 bytes from the beginning and end. +*/ +static void copy_stemmer(const char *zIn, int nIn, char *zOut, int *pnOut){ + int i, mx, j; + int hasDigit = 0; + for(i=0; i='A' && c<='Z' ){ + zOut[i] = c - 'A' + 'a'; + }else{ + if( c>='0' && c<='9' ) hasDigit = 1; + zOut[i] = c; + } + } + mx = hasDigit ? 3 : 10; + if( nIn>mx*2 ){ + for(j=mx, i=nIn-mx; i=(int)sizeof(zReverse)-7 ){ + /* The word is too big or too small for the porter stemmer. + ** Fallback to the copy stemmer */ + copy_stemmer(zIn, nIn, zOut, pnOut); + return; + } + for(i=0, j=sizeof(zReverse)-6; i='A' && c<='Z' ){ + zReverse[j] = c + 'a' - 'A'; + }else if( c>='a' && c<='z' ){ + zReverse[j] = c; + }else{ + /* The use of a character not in [a-zA-Z] means that we fallback + ** to the copy stemmer */ + copy_stemmer(zIn, nIn, zOut, pnOut); + return; + } + } + memset(&zReverse[sizeof(zReverse)-5], 0, 5); + z = &zReverse[j+1]; + + + /* Step 1a */ + if( z[0]=='s' ){ + if( + !stem(&z, "sess", "ss", 0) && + !stem(&z, "sei", "i", 0) && + !stem(&z, "ss", "ss", 0) + ){ + z++; + } + } + + /* Step 1b */ + z2 = z; + if( stem(&z, "dee", "ee", m_gt_0) ){ + /* Do nothing. The work was all in the test */ + }else if( + (stem(&z, "gni", "", hasVowel) || stem(&z, "de", "", hasVowel)) + && z!=z2 + ){ + if( stem(&z, "ta", "ate", 0) || + stem(&z, "lb", "ble", 0) || + stem(&z, "zi", "ize", 0) ){ + /* Do nothing. The work was all in the test */ + }else if( doubleConsonant(z) && (*z!='l' && *z!='s' && *z!='z') ){ + z++; + }else if( m_eq_1(z) && star_oh(z) ){ + *(--z) = 'e'; + } + } + + /* Step 1c */ + if( z[0]=='y' && hasVowel(z+1) ){ + z[0] = 'i'; + } + + /* Step 2 */ + switch( z[1] ){ + case 'a': + if( !stem(&z, "lanoita", "ate", m_gt_0) ){ + stem(&z, "lanoit", "tion", m_gt_0); + } + break; + case 'c': + if( !stem(&z, "icne", "ence", m_gt_0) ){ + stem(&z, "icna", "ance", m_gt_0); + } + break; + case 'e': + stem(&z, "rezi", "ize", m_gt_0); + break; + case 'g': + stem(&z, "igol", "log", m_gt_0); + break; + case 'l': + if( !stem(&z, "ilb", "ble", m_gt_0) + && !stem(&z, "illa", "al", m_gt_0) + && !stem(&z, "iltne", "ent", m_gt_0) + && !stem(&z, "ile", "e", m_gt_0) + ){ + stem(&z, "ilsuo", "ous", m_gt_0); + } + break; + case 'o': + if( !stem(&z, "noitazi", "ize", m_gt_0) + && !stem(&z, "noita", "ate", m_gt_0) + ){ + stem(&z, "rota", "ate", m_gt_0); + } + break; + case 's': + if( !stem(&z, "msila", "al", m_gt_0) + && !stem(&z, "ssenevi", "ive", m_gt_0) + && !stem(&z, "ssenluf", "ful", m_gt_0) + ){ + stem(&z, "ssensuo", "ous", m_gt_0); + } + break; + case 't': + if( !stem(&z, "itila", "al", m_gt_0) + && !stem(&z, "itivi", "ive", m_gt_0) + ){ + stem(&z, "itilib", "ble", m_gt_0); + } + break; + } + + /* Step 3 */ + switch( z[0] ){ + case 'e': + if( !stem(&z, "etaci", "ic", m_gt_0) + && !stem(&z, "evita", "", m_gt_0) + ){ + stem(&z, "ezila", "al", m_gt_0); + } + break; + case 'i': + stem(&z, "itici", "ic", m_gt_0); + break; + case 'l': + if( !stem(&z, "laci", "ic", m_gt_0) ){ + stem(&z, "luf", "", m_gt_0); + } + break; + case 's': + stem(&z, "ssen", "", m_gt_0); + break; + } + + /* Step 4 */ + switch( z[1] ){ + case 'a': + if( z[0]=='l' && m_gt_1(z+2) ){ + z += 2; + } + break; + case 'c': + if( z[0]=='e' && z[2]=='n' && (z[3]=='a' || z[3]=='e') && m_gt_1(z+4) ){ + z += 4; + } + break; + case 'e': + if( z[0]=='r' && m_gt_1(z+2) ){ + z += 2; + } + break; + case 'i': + if( z[0]=='c' && m_gt_1(z+2) ){ + z += 2; + } + break; + case 'l': + if( z[0]=='e' && z[2]=='b' && (z[3]=='a' || z[3]=='i') && m_gt_1(z+4) ){ + z += 4; + } + break; + case 'n': + if( z[0]=='t' ){ + if( z[2]=='a' ){ + if( m_gt_1(z+3) ){ + z += 3; + } + }else if( z[2]=='e' ){ + if( !stem(&z, "tneme", "", m_gt_1) + && !stem(&z, "tnem", "", m_gt_1) + ){ + stem(&z, "tne", "", m_gt_1); + } + } + } + break; + case 'o': + if( z[0]=='u' ){ + if( m_gt_1(z+2) ){ + z += 2; + } + }else if( z[3]=='s' || z[3]=='t' ){ + stem(&z, "noi", "", m_gt_1); + } + break; + case 's': + if( z[0]=='m' && z[2]=='i' && m_gt_1(z+3) ){ + z += 3; + } + break; + case 't': + if( !stem(&z, "eta", "", m_gt_1) ){ + stem(&z, "iti", "", m_gt_1); + } + break; + case 'u': + if( z[0]=='s' && z[2]=='o' && m_gt_1(z+3) ){ + z += 3; + } + break; + case 'v': + case 'z': + if( z[0]=='e' && z[2]=='i' && m_gt_1(z+3) ){ + z += 3; + } + break; + } + + /* Step 5a */ + if( z[0]=='e' ){ + if( m_gt_1(z+1) ){ + z++; + }else if( m_eq_1(z+1) && !star_oh(z+1) ){ + z++; + } + } + + /* Step 5b */ + if( m_gt_1(z) && z[0]=='l' && z[1]=='l' ){ + z++; + } + + /* z[] is now the stemmed word in reverse order. Flip it back + ** around into forward order and return. + */ + *pnOut = i = (int)strlen(z); + zOut[i] = 0; + while( *z ){ + zOut[--i] = *(z++); + } +} + +/* +** Characters that can be part of a token. We assume any character +** whose value is greater than 0x80 (any UTF character) can be +** part of a token. In other words, delimiters all must have +** values of 0x7f or lower. +*/ +static const char porterIdChar[] = { +/* x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF */ + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, /* 3x */ + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 4x */ + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, /* 5x */ + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 6x */ + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, /* 7x */ +}; +#define isDelim(C) (((ch=C)&0x80)==0 && (ch<0x30 || !porterIdChar[ch-0x30])) + +/* +** Extract the next token from a tokenization cursor. The cursor must +** have been opened by a prior call to porterOpen(). +*/ +static int porterNext( + sqlite3_tokenizer_cursor *pCursor, /* Cursor returned by porterOpen */ + const char **pzToken, /* OUT: *pzToken is the token text */ + int *pnBytes, /* OUT: Number of bytes in token */ + int *piStartOffset, /* OUT: Starting offset of token */ + int *piEndOffset, /* OUT: Ending offset of token */ + int *piPosition /* OUT: Position integer of token */ +){ + porter_tokenizer_cursor *c = (porter_tokenizer_cursor *) pCursor; + const char *z = c->zInput; + + while( c->iOffsetnInput ){ + int iStartOffset, ch; + + /* Scan past delimiter characters */ + while( c->iOffsetnInput && isDelim(z[c->iOffset]) ){ + c->iOffset++; + } + + /* Count non-delimiter characters. */ + iStartOffset = c->iOffset; + while( c->iOffsetnInput && !isDelim(z[c->iOffset]) ){ + c->iOffset++; + } + + if( c->iOffset>iStartOffset ){ + int n = c->iOffset-iStartOffset; + if( n>c->nAllocated ){ + char *pNew; + c->nAllocated = n+20; + pNew = sqlite3_realloc(c->zToken, c->nAllocated); + if( !pNew ) return SQLITE_NOMEM; + c->zToken = pNew; + } + porter_stemmer(&z[iStartOffset], n, c->zToken, pnBytes); + *pzToken = c->zToken; + *piStartOffset = iStartOffset; + *piEndOffset = c->iOffset; + *piPosition = c->iToken++; + return SQLITE_OK; + } + } + return SQLITE_DONE; +} + +/* +** The set of routines that implement the porter-stemmer tokenizer +*/ +static const sqlite3_tokenizer_module porterTokenizerModule = { + 0, + porterCreate, + porterDestroy, + porterOpen, + porterClose, + porterNext, + 0 +}; + +/* +** Allocate a new porter tokenizer. Return a pointer to the new +** tokenizer in *ppModule +*/ +SQLITE_PRIVATE void sqlite3Fts3PorterTokenizerModule( + sqlite3_tokenizer_module const**ppModule +){ + *ppModule = &porterTokenizerModule; +} + +#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ + +/************** End of fts3_porter.c *****************************************/ +/************** Begin file fts3_tokenizer.c **********************************/ +/* +** 2007 June 22 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This is part of an SQLite module implementing full-text search. +** This particular file implements the generic tokenizer interface. +*/ + +/* +** The code in this file is only compiled if: +** +** * The FTS3 module is being built as an extension +** (in which case SQLITE_CORE is not defined), or +** +** * The FTS3 module is being built into the core of +** SQLite (in which case SQLITE_ENABLE_FTS3 is defined). +*/ +/* #include "fts3Int.h" */ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) + +/* #include */ +/* #include */ + +/* +** Return true if the two-argument version of fts3_tokenizer() +** has been activated via a prior call to sqlite3_db_config(db, +** SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER, 1, 0); +*/ +static int fts3TokenizerEnabled(sqlite3_context *context){ + sqlite3 *db = sqlite3_context_db_handle(context); + int isEnabled = 0; + sqlite3_db_config(db,SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER,-1,&isEnabled); + return isEnabled; +} + +/* +** Implementation of the SQL scalar function for accessing the underlying +** hash table. This function may be called as follows: +** +** SELECT (); +** SELECT (, ); +** +** where is the name passed as the second argument +** to the sqlite3Fts3InitHashTable() function (e.g. 'fts3_tokenizer'). +** +** If the argument is specified, it must be a blob value +** containing a pointer to be stored as the hash data corresponding +** to the string . If is not specified, then +** the string must already exist in the has table. Otherwise, +** an error is returned. +** +** Whether or not the argument is specified, the value returned +** is a blob containing the pointer stored as the hash data corresponding +** to string (after the hash-table is updated, if applicable). +*/ +static void fts3TokenizerFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + Fts3Hash *pHash; + void *pPtr = 0; + const unsigned char *zName; + int nName; + + assert( argc==1 || argc==2 ); + + pHash = (Fts3Hash *)sqlite3_user_data(context); + + zName = sqlite3_value_text(argv[0]); + nName = sqlite3_value_bytes(argv[0])+1; + + if( argc==2 ){ + if( fts3TokenizerEnabled(context) || sqlite3_value_frombind(argv[1]) ){ + void *pOld; + int n = sqlite3_value_bytes(argv[1]); + if( zName==0 || n!=sizeof(pPtr) ){ + sqlite3_result_error(context, "argument type mismatch", -1); + return; + } + pPtr = *(void **)sqlite3_value_blob(argv[1]); + pOld = sqlite3Fts3HashInsert(pHash, (void *)zName, nName, pPtr); + if( pOld==pPtr ){ + sqlite3_result_error(context, "out of memory", -1); + } + }else{ + sqlite3_result_error(context, "fts3tokenize disabled", -1); + return; + } + }else{ + if( zName ){ + pPtr = sqlite3Fts3HashFind(pHash, zName, nName); + } + if( !pPtr ){ + char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName); + sqlite3_result_error(context, zErr, -1); + sqlite3_free(zErr); + return; + } + } + if( fts3TokenizerEnabled(context) || sqlite3_value_frombind(argv[0]) ){ + sqlite3_result_blob(context, (void *)&pPtr, sizeof(pPtr), SQLITE_TRANSIENT); + } +} + +SQLITE_PRIVATE int sqlite3Fts3IsIdChar(char c){ + static const char isFtsIdChar[] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x */ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 1x */ + 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 2x */ + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, /* 3x */ + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 4x */ + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, /* 5x */ + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 6x */ + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, /* 7x */ + }; + return (c&0x80 || isFtsIdChar[(int)(c)]); +} + +SQLITE_PRIVATE const char *sqlite3Fts3NextToken(const char *zStr, int *pn){ + const char *z1; + const char *z2 = 0; + + /* Find the start of the next token. */ + z1 = zStr; + while( z2==0 ){ + char c = *z1; + switch( c ){ + case '\0': return 0; /* No more tokens here */ + case '\'': + case '"': + case '`': { + z2 = z1; + while( *++z2 && (*z2!=c || *++z2==c) ); + break; + } + case '[': + z2 = &z1[1]; + while( *z2 && z2[0]!=']' ) z2++; + if( *z2 ) z2++; + break; + + default: + if( sqlite3Fts3IsIdChar(*z1) ){ + z2 = &z1[1]; + while( sqlite3Fts3IsIdChar(*z2) ) z2++; + }else{ + z1++; + } + } + } + + *pn = (int)(z2-z1); + return z1; +} + +SQLITE_PRIVATE int sqlite3Fts3InitTokenizer( + Fts3Hash *pHash, /* Tokenizer hash table */ + const char *zArg, /* Tokenizer name */ + sqlite3_tokenizer **ppTok, /* OUT: Tokenizer (if applicable) */ + char **pzErr /* OUT: Set to malloced error message */ +){ + int rc; + char *z = (char *)zArg; + int n = 0; + char *zCopy; + char *zEnd; /* Pointer to nul-term of zCopy */ + sqlite3_tokenizer_module *m; + + zCopy = sqlite3_mprintf("%s", zArg); + if( !zCopy ) return SQLITE_NOMEM; + zEnd = &zCopy[strlen(zCopy)]; + + z = (char *)sqlite3Fts3NextToken(zCopy, &n); + if( z==0 ){ + assert( n==0 ); + z = zCopy; + } + z[n] = '\0'; + sqlite3Fts3Dequote(z); + + m = (sqlite3_tokenizer_module *)sqlite3Fts3HashFind(pHash,z,(int)strlen(z)+1); + if( !m ){ + sqlite3Fts3ErrMsg(pzErr, "unknown tokenizer: %s", z); + rc = SQLITE_ERROR; + }else{ + char const **aArg = 0; + int iArg = 0; + z = &z[n+1]; + while( zxCreate(iArg, aArg, ppTok); + assert( rc!=SQLITE_OK || *ppTok ); + if( rc!=SQLITE_OK ){ + sqlite3Fts3ErrMsg(pzErr, "unknown tokenizer"); + }else{ + (*ppTok)->pModule = m; + } + sqlite3_free((void *)aArg); + } + + sqlite3_free(zCopy); + return rc; +} + + +#ifdef SQLITE_TEST + +#if defined(INCLUDE_SQLITE_TCL_H) +# include "sqlite_tcl.h" +#else +# include "tcl.h" +#endif +/* #include */ + +/* +** Implementation of a special SQL scalar function for testing tokenizers +** designed to be used in concert with the Tcl testing framework. This +** function must be called with two or more arguments: +** +** SELECT (, ..., ); +** +** where is the name passed as the second argument +** to the sqlite3Fts3InitHashTable() function (e.g. 'fts3_tokenizer') +** concatenated with the string '_test' (e.g. 'fts3_tokenizer_test'). +** +** The return value is a string that may be interpreted as a Tcl +** list. For each token in the , three elements are +** added to the returned list. The first is the token position, the +** second is the token text (folded, stemmed, etc.) and the third is the +** substring of associated with the token. For example, +** using the built-in "simple" tokenizer: +** +** SELECT fts_tokenizer_test('simple', 'I don't see how'); +** +** will return the string: +** +** "{0 i I 1 dont don't 2 see see 3 how how}" +** +*/ +static void testFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + Fts3Hash *pHash; + sqlite3_tokenizer_module *p; + sqlite3_tokenizer *pTokenizer = 0; + sqlite3_tokenizer_cursor *pCsr = 0; + + const char *zErr = 0; + + const char *zName; + int nName; + const char *zInput; + int nInput; + + const char *azArg[64]; + + const char *zToken; + int nToken = 0; + int iStart = 0; + int iEnd = 0; + int iPos = 0; + int i; + + Tcl_Obj *pRet; + + if( argc<2 ){ + sqlite3_result_error(context, "insufficient arguments", -1); + return; + } + + nName = sqlite3_value_bytes(argv[0]); + zName = (const char *)sqlite3_value_text(argv[0]); + nInput = sqlite3_value_bytes(argv[argc-1]); + zInput = (const char *)sqlite3_value_text(argv[argc-1]); + + pHash = (Fts3Hash *)sqlite3_user_data(context); + p = (sqlite3_tokenizer_module *)sqlite3Fts3HashFind(pHash, zName, nName+1); + + if( !p ){ + char *zErr2 = sqlite3_mprintf("unknown tokenizer: %s", zName); + sqlite3_result_error(context, zErr2, -1); + sqlite3_free(zErr2); + return; + } + + pRet = Tcl_NewObj(); + Tcl_IncrRefCount(pRet); + + for(i=1; ixCreate(argc-2, azArg, &pTokenizer) ){ + zErr = "error in xCreate()"; + goto finish; + } + pTokenizer->pModule = p; + if( sqlite3Fts3OpenTokenizer(pTokenizer, 0, zInput, nInput, &pCsr) ){ + zErr = "error in xOpen()"; + goto finish; + } + + while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){ + Tcl_ListObjAppendElement(0, pRet, Tcl_NewIntObj(iPos)); + Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken)); + zToken = &zInput[iStart]; + nToken = iEnd-iStart; + Tcl_ListObjAppendElement(0, pRet, Tcl_NewStringObj(zToken, nToken)); + } + + if( SQLITE_OK!=p->xClose(pCsr) ){ + zErr = "error in xClose()"; + goto finish; + } + if( SQLITE_OK!=p->xDestroy(pTokenizer) ){ + zErr = "error in xDestroy()"; + goto finish; + } + +finish: + if( zErr ){ + sqlite3_result_error(context, zErr, -1); + }else{ + sqlite3_result_text(context, Tcl_GetString(pRet), -1, SQLITE_TRANSIENT); + } + Tcl_DecrRefCount(pRet); +} + +static +int registerTokenizer( + sqlite3 *db, + char *zName, + const sqlite3_tokenizer_module *p +){ + int rc; + sqlite3_stmt *pStmt; + const char zSql[] = "SELECT fts3_tokenizer(?, ?)"; + + rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, 0); + if( rc!=SQLITE_OK ){ + return rc; + } + + sqlite3_bind_text(pStmt, 1, zName, -1, SQLITE_STATIC); + sqlite3_bind_blob(pStmt, 2, &p, sizeof(p), SQLITE_STATIC); + sqlite3_step(pStmt); + + return sqlite3_finalize(pStmt); +} + + +static +int queryTokenizer( + sqlite3 *db, + char *zName, + const sqlite3_tokenizer_module **pp +){ + int rc; + sqlite3_stmt *pStmt; + const char zSql[] = "SELECT fts3_tokenizer(?)"; + + *pp = 0; + rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, 0); + if( rc!=SQLITE_OK ){ + return rc; + } + + sqlite3_bind_text(pStmt, 1, zName, -1, SQLITE_STATIC); + if( SQLITE_ROW==sqlite3_step(pStmt) ){ + if( sqlite3_column_type(pStmt, 0)==SQLITE_BLOB ){ + memcpy((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp)); + } + } + + return sqlite3_finalize(pStmt); +} + +SQLITE_PRIVATE void sqlite3Fts3SimpleTokenizerModule(sqlite3_tokenizer_module const**ppModule); + +/* +** Implementation of the scalar function fts3_tokenizer_internal_test(). +** This function is used for testing only, it is not included in the +** build unless SQLITE_TEST is defined. +** +** The purpose of this is to test that the fts3_tokenizer() function +** can be used as designed by the C-code in the queryTokenizer and +** registerTokenizer() functions above. These two functions are repeated +** in the README.tokenizer file as an example, so it is important to +** test them. +** +** To run the tests, evaluate the fts3_tokenizer_internal_test() scalar +** function with no arguments. An assert() will fail if a problem is +** detected. i.e.: +** +** SELECT fts3_tokenizer_internal_test(); +** +*/ +static void intTestFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + int rc; + const sqlite3_tokenizer_module *p1; + const sqlite3_tokenizer_module *p2; + sqlite3 *db = (sqlite3 *)sqlite3_user_data(context); + + UNUSED_PARAMETER(argc); + UNUSED_PARAMETER(argv); + + /* Test the query function */ + sqlite3Fts3SimpleTokenizerModule(&p1); + rc = queryTokenizer(db, "simple", &p2); + assert( rc==SQLITE_OK ); + assert( p1==p2 ); + rc = queryTokenizer(db, "nosuchtokenizer", &p2); + assert( rc==SQLITE_ERROR ); + assert( p2==0 ); + assert( 0==strcmp(sqlite3_errmsg(db), "unknown tokenizer: nosuchtokenizer") ); + + /* Test the storage function */ + if( fts3TokenizerEnabled(context) ){ + rc = registerTokenizer(db, "nosuchtokenizer", p1); + assert( rc==SQLITE_OK ); + rc = queryTokenizer(db, "nosuchtokenizer", &p2); + assert( rc==SQLITE_OK ); + assert( p2==p1 ); + } + + sqlite3_result_text(context, "ok", -1, SQLITE_STATIC); +} + +#endif + +/* +** Set up SQL objects in database db used to access the contents of +** the hash table pointed to by argument pHash. The hash table must +** been initialized to use string keys, and to take a private copy +** of the key when a value is inserted. i.e. by a call similar to: +** +** sqlite3Fts3HashInit(pHash, FTS3_HASH_STRING, 1); +** +** This function adds a scalar function (see header comment above +** fts3TokenizerFunc() in this file for details) and, if ENABLE_TABLE is +** defined at compilation time, a temporary virtual table (see header +** comment above struct HashTableVtab) to the database schema. Both +** provide read/write access to the contents of *pHash. +** +** The third argument to this function, zName, is used as the name +** of both the scalar and, if created, the virtual table. +*/ +SQLITE_PRIVATE int sqlite3Fts3InitHashTable( + sqlite3 *db, + Fts3Hash *pHash, + const char *zName +){ + int rc = SQLITE_OK; + void *p = (void *)pHash; + const int any = SQLITE_ANY; + +#ifdef SQLITE_TEST + char *zTest = 0; + char *zTest2 = 0; + void *pdb = (void *)db; + zTest = sqlite3_mprintf("%s_test", zName); + zTest2 = sqlite3_mprintf("%s_internal_test", zName); + if( !zTest || !zTest2 ){ + rc = SQLITE_NOMEM; + } +#endif + + if( SQLITE_OK==rc ){ + rc = sqlite3_create_function(db, zName, 1, any, p, fts3TokenizerFunc, 0, 0); + } + if( SQLITE_OK==rc ){ + rc = sqlite3_create_function(db, zName, 2, any, p, fts3TokenizerFunc, 0, 0); + } +#ifdef SQLITE_TEST + if( SQLITE_OK==rc ){ + rc = sqlite3_create_function(db, zTest, -1, any, p, testFunc, 0, 0); + } + if( SQLITE_OK==rc ){ + rc = sqlite3_create_function(db, zTest2, 0, any, pdb, intTestFunc, 0, 0); + } +#endif + +#ifdef SQLITE_TEST + sqlite3_free(zTest); + sqlite3_free(zTest2); +#endif + + return rc; +} + +#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ + +/************** End of fts3_tokenizer.c **************************************/ +/************** Begin file fts3_tokenizer1.c *********************************/ +/* +** 2006 Oct 10 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** Implementation of the "simple" full-text-search tokenizer. +*/ + +/* +** The code in this file is only compiled if: +** +** * The FTS3 module is being built as an extension +** (in which case SQLITE_CORE is not defined), or +** +** * The FTS3 module is being built into the core of +** SQLite (in which case SQLITE_ENABLE_FTS3 is defined). +*/ +/* #include "fts3Int.h" */ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) + +/* #include */ +/* #include */ +/* #include */ +/* #include */ + +/* #include "fts3_tokenizer.h" */ + +typedef struct simple_tokenizer { + sqlite3_tokenizer base; + char delim[128]; /* flag ASCII delimiters */ +} simple_tokenizer; + +typedef struct simple_tokenizer_cursor { + sqlite3_tokenizer_cursor base; + const char *pInput; /* input we are tokenizing */ + int nBytes; /* size of the input */ + int iOffset; /* current position in pInput */ + int iToken; /* index of next token to be returned */ + char *pToken; /* storage for current token */ + int nTokenAllocated; /* space allocated to zToken buffer */ +} simple_tokenizer_cursor; + + +static int simpleDelim(simple_tokenizer *t, unsigned char c){ + return c<0x80 && t->delim[c]; +} +static int fts3_isalnum(int x){ + return (x>='0' && x<='9') || (x>='A' && x<='Z') || (x>='a' && x<='z'); +} + +/* +** Create a new tokenizer instance. +*/ +static int simpleCreate( + int argc, const char * const *argv, + sqlite3_tokenizer **ppTokenizer +){ + simple_tokenizer *t; + + t = (simple_tokenizer *) sqlite3_malloc(sizeof(*t)); + if( t==NULL ) return SQLITE_NOMEM; + memset(t, 0, sizeof(*t)); + + /* TODO(shess) Delimiters need to remain the same from run to run, + ** else we need to reindex. One solution would be a meta-table to + ** track such information in the database, then we'd only want this + ** information on the initial create. + */ + if( argc>1 ){ + int i, n = (int)strlen(argv[1]); + for(i=0; i=0x80 ){ + sqlite3_free(t); + return SQLITE_ERROR; + } + t->delim[ch] = 1; + } + } else { + /* Mark non-alphanumeric ASCII characters as delimiters */ + int i; + for(i=1; i<0x80; i++){ + t->delim[i] = !fts3_isalnum(i) ? -1 : 0; + } + } + + *ppTokenizer = &t->base; + return SQLITE_OK; +} + +/* +** Destroy a tokenizer +*/ +static int simpleDestroy(sqlite3_tokenizer *pTokenizer){ + sqlite3_free(pTokenizer); + return SQLITE_OK; +} + +/* +** Prepare to begin tokenizing a particular string. The input +** string to be tokenized is pInput[0..nBytes-1]. A cursor +** used to incrementally tokenize this string is returned in +** *ppCursor. +*/ +static int simpleOpen( + sqlite3_tokenizer *pTokenizer, /* The tokenizer */ + const char *pInput, int nBytes, /* String to be tokenized */ + sqlite3_tokenizer_cursor **ppCursor /* OUT: Tokenization cursor */ +){ + simple_tokenizer_cursor *c; + + UNUSED_PARAMETER(pTokenizer); + + c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c)); + if( c==NULL ) return SQLITE_NOMEM; + + c->pInput = pInput; + if( pInput==0 ){ + c->nBytes = 0; + }else if( nBytes<0 ){ + c->nBytes = (int)strlen(pInput); + }else{ + c->nBytes = nBytes; + } + c->iOffset = 0; /* start tokenizing at the beginning */ + c->iToken = 0; + c->pToken = NULL; /* no space allocated, yet. */ + c->nTokenAllocated = 0; + + *ppCursor = &c->base; + return SQLITE_OK; +} + +/* +** Close a tokenization cursor previously opened by a call to +** simpleOpen() above. +*/ +static int simpleClose(sqlite3_tokenizer_cursor *pCursor){ + simple_tokenizer_cursor *c = (simple_tokenizer_cursor *) pCursor; + sqlite3_free(c->pToken); + sqlite3_free(c); + return SQLITE_OK; +} + +/* +** Extract the next token from a tokenization cursor. The cursor must +** have been opened by a prior call to simpleOpen(). +*/ +static int simpleNext( + sqlite3_tokenizer_cursor *pCursor, /* Cursor returned by simpleOpen */ + const char **ppToken, /* OUT: *ppToken is the token text */ + int *pnBytes, /* OUT: Number of bytes in token */ + int *piStartOffset, /* OUT: Starting offset of token */ + int *piEndOffset, /* OUT: Ending offset of token */ + int *piPosition /* OUT: Position integer of token */ +){ + simple_tokenizer_cursor *c = (simple_tokenizer_cursor *) pCursor; + simple_tokenizer *t = (simple_tokenizer *) pCursor->pTokenizer; + unsigned char *p = (unsigned char *)c->pInput; + + while( c->iOffsetnBytes ){ + int iStartOffset; + + /* Scan past delimiter characters */ + while( c->iOffsetnBytes && simpleDelim(t, p[c->iOffset]) ){ + c->iOffset++; + } + + /* Count non-delimiter characters. */ + iStartOffset = c->iOffset; + while( c->iOffsetnBytes && !simpleDelim(t, p[c->iOffset]) ){ + c->iOffset++; + } + + if( c->iOffset>iStartOffset ){ + int i, n = c->iOffset-iStartOffset; + if( n>c->nTokenAllocated ){ + char *pNew; + c->nTokenAllocated = n+20; + pNew = sqlite3_realloc(c->pToken, c->nTokenAllocated); + if( !pNew ) return SQLITE_NOMEM; + c->pToken = pNew; + } + for(i=0; ipToken[i] = (char)((ch>='A' && ch<='Z') ? ch-'A'+'a' : ch); + } + *ppToken = c->pToken; + *pnBytes = n; + *piStartOffset = iStartOffset; + *piEndOffset = c->iOffset; + *piPosition = c->iToken++; + + return SQLITE_OK; + } + } + return SQLITE_DONE; +} + +/* +** The set of routines that implement the simple tokenizer +*/ +static const sqlite3_tokenizer_module simpleTokenizerModule = { + 0, + simpleCreate, + simpleDestroy, + simpleOpen, + simpleClose, + simpleNext, + 0, +}; + +/* +** Allocate a new simple tokenizer. Return a pointer to the new +** tokenizer in *ppModule +*/ +SQLITE_PRIVATE void sqlite3Fts3SimpleTokenizerModule( + sqlite3_tokenizer_module const**ppModule +){ + *ppModule = &simpleTokenizerModule; +} + +#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ + +/************** End of fts3_tokenizer1.c *************************************/ +/************** Begin file fts3_tokenize_vtab.c ******************************/ +/* +** 2013 Apr 22 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file contains code for the "fts3tokenize" virtual table module. +** An fts3tokenize virtual table is created as follows: +** +** CREATE VIRTUAL TABLE USING fts3tokenize( +** , , ... +** ); +** +** The table created has the following schema: +** +** CREATE TABLE (input, token, start, end, position) +** +** When queried, the query must include a WHERE clause of type: +** +** input = +** +** The virtual table module tokenizes this , using the FTS3 +** tokenizer specified by the arguments to the CREATE VIRTUAL TABLE +** statement and returns one row for each token in the result. With +** fields set as follows: +** +** input: Always set to a copy of +** token: A token from the input. +** start: Byte offset of the token within the input . +** end: Byte offset of the byte immediately following the end of the +** token within the input string. +** pos: Token offset of token within input. +** +*/ +/* #include "fts3Int.h" */ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) + +/* #include */ +/* #include */ + +typedef struct Fts3tokTable Fts3tokTable; +typedef struct Fts3tokCursor Fts3tokCursor; + +/* +** Virtual table structure. +*/ +struct Fts3tokTable { + sqlite3_vtab base; /* Base class used by SQLite core */ + const sqlite3_tokenizer_module *pMod; + sqlite3_tokenizer *pTok; +}; + +/* +** Virtual table cursor structure. +*/ +struct Fts3tokCursor { + sqlite3_vtab_cursor base; /* Base class used by SQLite core */ + char *zInput; /* Input string */ + sqlite3_tokenizer_cursor *pCsr; /* Cursor to iterate through zInput */ + int iRowid; /* Current 'rowid' value */ + const char *zToken; /* Current 'token' value */ + int nToken; /* Size of zToken in bytes */ + int iStart; /* Current 'start' value */ + int iEnd; /* Current 'end' value */ + int iPos; /* Current 'pos' value */ +}; + +/* +** Query FTS for the tokenizer implementation named zName. +*/ +static int fts3tokQueryTokenizer( + Fts3Hash *pHash, + const char *zName, + const sqlite3_tokenizer_module **pp, + char **pzErr +){ + sqlite3_tokenizer_module *p; + int nName = (int)strlen(zName); + + p = (sqlite3_tokenizer_module *)sqlite3Fts3HashFind(pHash, zName, nName+1); + if( !p ){ + sqlite3Fts3ErrMsg(pzErr, "unknown tokenizer: %s", zName); + return SQLITE_ERROR; + } + + *pp = p; + return SQLITE_OK; +} + +/* +** The second argument, argv[], is an array of pointers to nul-terminated +** strings. This function makes a copy of the array and strings into a +** single block of memory. It then dequotes any of the strings that appear +** to be quoted. +** +** If successful, output parameter *pazDequote is set to point at the +** array of dequoted strings and SQLITE_OK is returned. The caller is +** responsible for eventually calling sqlite3_free() to free the array +** in this case. Or, if an error occurs, an SQLite error code is returned. +** The final value of *pazDequote is undefined in this case. +*/ +static int fts3tokDequoteArray( + int argc, /* Number of elements in argv[] */ + const char * const *argv, /* Input array */ + char ***pazDequote /* Output array */ +){ + int rc = SQLITE_OK; /* Return code */ + if( argc==0 ){ + *pazDequote = 0; + }else{ + int i; + int nByte = 0; + char **azDequote; + + for(i=0; ixCreate((nDequote>1 ? nDequote-1 : 0), azArg, &pTok); + } + + if( rc==SQLITE_OK ){ + pTab = (Fts3tokTable *)sqlite3_malloc(sizeof(Fts3tokTable)); + if( pTab==0 ){ + rc = SQLITE_NOMEM; + } + } + + if( rc==SQLITE_OK ){ + memset(pTab, 0, sizeof(Fts3tokTable)); + pTab->pMod = pMod; + pTab->pTok = pTok; + *ppVtab = &pTab->base; + }else{ + if( pTok ){ + pMod->xDestroy(pTok); + } + } + + sqlite3_free(azDequote); + return rc; +} + +/* +** This function does the work for both the xDisconnect and xDestroy methods. +** These tables have no persistent representation of their own, so xDisconnect +** and xDestroy are identical operations. +*/ +static int fts3tokDisconnectMethod(sqlite3_vtab *pVtab){ + Fts3tokTable *pTab = (Fts3tokTable *)pVtab; + + pTab->pMod->xDestroy(pTab->pTok); + sqlite3_free(pTab); + return SQLITE_OK; +} + +/* +** xBestIndex - Analyze a WHERE and ORDER BY clause. +*/ +static int fts3tokBestIndexMethod( + sqlite3_vtab *pVTab, + sqlite3_index_info *pInfo +){ + int i; + UNUSED_PARAMETER(pVTab); + + for(i=0; inConstraint; i++){ + if( pInfo->aConstraint[i].usable + && pInfo->aConstraint[i].iColumn==0 + && pInfo->aConstraint[i].op==SQLITE_INDEX_CONSTRAINT_EQ + ){ + pInfo->idxNum = 1; + pInfo->aConstraintUsage[i].argvIndex = 1; + pInfo->aConstraintUsage[i].omit = 1; + pInfo->estimatedCost = 1; + return SQLITE_OK; + } + } + + pInfo->idxNum = 0; + assert( pInfo->estimatedCost>1000000.0 ); + + return SQLITE_OK; +} + +/* +** xOpen - Open a cursor. +*/ +static int fts3tokOpenMethod(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCsr){ + Fts3tokCursor *pCsr; + UNUSED_PARAMETER(pVTab); + + pCsr = (Fts3tokCursor *)sqlite3_malloc(sizeof(Fts3tokCursor)); + if( pCsr==0 ){ + return SQLITE_NOMEM; + } + memset(pCsr, 0, sizeof(Fts3tokCursor)); + + *ppCsr = (sqlite3_vtab_cursor *)pCsr; + return SQLITE_OK; +} + +/* +** Reset the tokenizer cursor passed as the only argument. As if it had +** just been returned by fts3tokOpenMethod(). +*/ +static void fts3tokResetCursor(Fts3tokCursor *pCsr){ + if( pCsr->pCsr ){ + Fts3tokTable *pTab = (Fts3tokTable *)(pCsr->base.pVtab); + pTab->pMod->xClose(pCsr->pCsr); + pCsr->pCsr = 0; + } + sqlite3_free(pCsr->zInput); + pCsr->zInput = 0; + pCsr->zToken = 0; + pCsr->nToken = 0; + pCsr->iStart = 0; + pCsr->iEnd = 0; + pCsr->iPos = 0; + pCsr->iRowid = 0; +} + +/* +** xClose - Close a cursor. +*/ +static int fts3tokCloseMethod(sqlite3_vtab_cursor *pCursor){ + Fts3tokCursor *pCsr = (Fts3tokCursor *)pCursor; + + fts3tokResetCursor(pCsr); + sqlite3_free(pCsr); + return SQLITE_OK; +} + +/* +** xNext - Advance the cursor to the next row, if any. +*/ +static int fts3tokNextMethod(sqlite3_vtab_cursor *pCursor){ + Fts3tokCursor *pCsr = (Fts3tokCursor *)pCursor; + Fts3tokTable *pTab = (Fts3tokTable *)(pCursor->pVtab); + int rc; /* Return code */ + + pCsr->iRowid++; + rc = pTab->pMod->xNext(pCsr->pCsr, + &pCsr->zToken, &pCsr->nToken, + &pCsr->iStart, &pCsr->iEnd, &pCsr->iPos + ); + + if( rc!=SQLITE_OK ){ + fts3tokResetCursor(pCsr); + if( rc==SQLITE_DONE ) rc = SQLITE_OK; + } + + return rc; +} + +/* +** xFilter - Initialize a cursor to point at the start of its data. +*/ +static int fts3tokFilterMethod( + sqlite3_vtab_cursor *pCursor, /* The cursor used for this query */ + int idxNum, /* Strategy index */ + const char *idxStr, /* Unused */ + int nVal, /* Number of elements in apVal */ + sqlite3_value **apVal /* Arguments for the indexing scheme */ +){ + int rc = SQLITE_ERROR; + Fts3tokCursor *pCsr = (Fts3tokCursor *)pCursor; + Fts3tokTable *pTab = (Fts3tokTable *)(pCursor->pVtab); + UNUSED_PARAMETER(idxStr); + UNUSED_PARAMETER(nVal); + + fts3tokResetCursor(pCsr); + if( idxNum==1 ){ + const char *zByte = (const char *)sqlite3_value_text(apVal[0]); + int nByte = sqlite3_value_bytes(apVal[0]); + pCsr->zInput = sqlite3_malloc64(nByte+1); + if( pCsr->zInput==0 ){ + rc = SQLITE_NOMEM; + }else{ + memcpy(pCsr->zInput, zByte, nByte); + pCsr->zInput[nByte] = 0; + rc = pTab->pMod->xOpen(pTab->pTok, pCsr->zInput, nByte, &pCsr->pCsr); + if( rc==SQLITE_OK ){ + pCsr->pCsr->pTokenizer = pTab->pTok; + } + } + } + + if( rc!=SQLITE_OK ) return rc; + return fts3tokNextMethod(pCursor); +} + +/* +** xEof - Return true if the cursor is at EOF, or false otherwise. +*/ +static int fts3tokEofMethod(sqlite3_vtab_cursor *pCursor){ + Fts3tokCursor *pCsr = (Fts3tokCursor *)pCursor; + return (pCsr->zToken==0); +} + +/* +** xColumn - Return a column value. +*/ +static int fts3tokColumnMethod( + sqlite3_vtab_cursor *pCursor, /* Cursor to retrieve value from */ + sqlite3_context *pCtx, /* Context for sqlite3_result_xxx() calls */ + int iCol /* Index of column to read value from */ +){ + Fts3tokCursor *pCsr = (Fts3tokCursor *)pCursor; + + /* CREATE TABLE x(input, token, start, end, position) */ + switch( iCol ){ + case 0: + sqlite3_result_text(pCtx, pCsr->zInput, -1, SQLITE_TRANSIENT); + break; + case 1: + sqlite3_result_text(pCtx, pCsr->zToken, pCsr->nToken, SQLITE_TRANSIENT); + break; + case 2: + sqlite3_result_int(pCtx, pCsr->iStart); + break; + case 3: + sqlite3_result_int(pCtx, pCsr->iEnd); + break; + default: + assert( iCol==4 ); + sqlite3_result_int(pCtx, pCsr->iPos); + break; + } + return SQLITE_OK; +} + +/* +** xRowid - Return the current rowid for the cursor. +*/ +static int fts3tokRowidMethod( + sqlite3_vtab_cursor *pCursor, /* Cursor to retrieve value from */ + sqlite_int64 *pRowid /* OUT: Rowid value */ +){ + Fts3tokCursor *pCsr = (Fts3tokCursor *)pCursor; + *pRowid = (sqlite3_int64)pCsr->iRowid; + return SQLITE_OK; +} + +/* +** Register the fts3tok module with database connection db. Return SQLITE_OK +** if successful or an error code if sqlite3_create_module() fails. +*/ +SQLITE_PRIVATE int sqlite3Fts3InitTok(sqlite3 *db, Fts3Hash *pHash){ + static const sqlite3_module fts3tok_module = { + 0, /* iVersion */ + fts3tokConnectMethod, /* xCreate */ + fts3tokConnectMethod, /* xConnect */ + fts3tokBestIndexMethod, /* xBestIndex */ + fts3tokDisconnectMethod, /* xDisconnect */ + fts3tokDisconnectMethod, /* xDestroy */ + fts3tokOpenMethod, /* xOpen */ + fts3tokCloseMethod, /* xClose */ + fts3tokFilterMethod, /* xFilter */ + fts3tokNextMethod, /* xNext */ + fts3tokEofMethod, /* xEof */ + fts3tokColumnMethod, /* xColumn */ + fts3tokRowidMethod, /* xRowid */ + 0, /* xUpdate */ + 0, /* xBegin */ + 0, /* xSync */ + 0, /* xCommit */ + 0, /* xRollback */ + 0, /* xFindFunction */ + 0, /* xRename */ + 0, /* xSavepoint */ + 0, /* xRelease */ + 0, /* xRollbackTo */ + 0 /* xShadowName */ + }; + int rc; /* Return code */ + + rc = sqlite3_create_module(db, "fts3tokenize", &fts3tok_module, (void*)pHash); + return rc; +} + +#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ + +/************** End of fts3_tokenize_vtab.c **********************************/ +/************** Begin file fts3_write.c **************************************/ +/* +** 2009 Oct 23 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file is part of the SQLite FTS3 extension module. Specifically, +** this file contains code to insert, update and delete rows from FTS3 +** tables. It also contains code to merge FTS3 b-tree segments. Some +** of the sub-routines used to merge segments are also used by the query +** code in fts3.c. +*/ + +/* #include "fts3Int.h" */ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) + +/* #include */ +/* #include */ +/* #include */ + + +#define FTS_MAX_APPENDABLE_HEIGHT 16 + +/* +** When full-text index nodes are loaded from disk, the buffer that they +** are loaded into has the following number of bytes of padding at the end +** of it. i.e. if a full-text index node is 900 bytes in size, then a buffer +** of 920 bytes is allocated for it. +** +** This means that if we have a pointer into a buffer containing node data, +** it is always safe to read up to two varints from it without risking an +** overread, even if the node data is corrupted. +*/ +#define FTS3_NODE_PADDING (FTS3_VARINT_MAX*2) + +/* +** Under certain circumstances, b-tree nodes (doclists) can be loaded into +** memory incrementally instead of all at once. This can be a big performance +** win (reduced IO and CPU) if SQLite stops calling the virtual table xNext() +** method before retrieving all query results (as may happen, for example, +** if a query has a LIMIT clause). +** +** Incremental loading is used for b-tree nodes FTS3_NODE_CHUNK_THRESHOLD +** bytes and larger. Nodes are loaded in chunks of FTS3_NODE_CHUNKSIZE bytes. +** The code is written so that the hard lower-limit for each of these values +** is 1. Clearly such small values would be inefficient, but can be useful +** for testing purposes. +** +** If this module is built with SQLITE_TEST defined, these constants may +** be overridden at runtime for testing purposes. File fts3_test.c contains +** a Tcl interface to read and write the values. +*/ +#ifdef SQLITE_TEST +int test_fts3_node_chunksize = (4*1024); +int test_fts3_node_chunk_threshold = (4*1024)*4; +# define FTS3_NODE_CHUNKSIZE test_fts3_node_chunksize +# define FTS3_NODE_CHUNK_THRESHOLD test_fts3_node_chunk_threshold +#else +# define FTS3_NODE_CHUNKSIZE (4*1024) +# define FTS3_NODE_CHUNK_THRESHOLD (FTS3_NODE_CHUNKSIZE*4) +#endif + +/* +** The two values that may be meaningfully bound to the :1 parameter in +** statements SQL_REPLACE_STAT and SQL_SELECT_STAT. +*/ +#define FTS_STAT_DOCTOTAL 0 +#define FTS_STAT_INCRMERGEHINT 1 +#define FTS_STAT_AUTOINCRMERGE 2 + +/* +** If FTS_LOG_MERGES is defined, call sqlite3_log() to report each automatic +** and incremental merge operation that takes place. This is used for +** debugging FTS only, it should not usually be turned on in production +** systems. +*/ +#ifdef FTS3_LOG_MERGES +static void fts3LogMerge(int nMerge, sqlite3_int64 iAbsLevel){ + sqlite3_log(SQLITE_OK, "%d-way merge from level %d", nMerge, (int)iAbsLevel); +} +#else +#define fts3LogMerge(x, y) +#endif + + +typedef struct PendingList PendingList; +typedef struct SegmentNode SegmentNode; +typedef struct SegmentWriter SegmentWriter; + +/* +** An instance of the following data structure is used to build doclists +** incrementally. See function fts3PendingListAppend() for details. +*/ +struct PendingList { + int nData; + char *aData; + int nSpace; + sqlite3_int64 iLastDocid; + sqlite3_int64 iLastCol; + sqlite3_int64 iLastPos; +}; + + +/* +** Each cursor has a (possibly empty) linked list of the following objects. +*/ +struct Fts3DeferredToken { + Fts3PhraseToken *pToken; /* Pointer to corresponding expr token */ + int iCol; /* Column token must occur in */ + Fts3DeferredToken *pNext; /* Next in list of deferred tokens */ + PendingList *pList; /* Doclist is assembled here */ +}; + +/* +** An instance of this structure is used to iterate through the terms on +** a contiguous set of segment b-tree leaf nodes. Although the details of +** this structure are only manipulated by code in this file, opaque handles +** of type Fts3SegReader* are also used by code in fts3.c to iterate through +** terms when querying the full-text index. See functions: +** +** sqlite3Fts3SegReaderNew() +** sqlite3Fts3SegReaderFree() +** sqlite3Fts3SegReaderIterate() +** +** Methods used to manipulate Fts3SegReader structures: +** +** fts3SegReaderNext() +** fts3SegReaderFirstDocid() +** fts3SegReaderNextDocid() +*/ +struct Fts3SegReader { + int iIdx; /* Index within level, or 0x7FFFFFFF for PT */ + u8 bLookup; /* True for a lookup only */ + u8 rootOnly; /* True for a root-only reader */ + + sqlite3_int64 iStartBlock; /* Rowid of first leaf block to traverse */ + sqlite3_int64 iLeafEndBlock; /* Rowid of final leaf block to traverse */ + sqlite3_int64 iEndBlock; /* Rowid of final block in segment (or 0) */ + sqlite3_int64 iCurrentBlock; /* Current leaf block (or 0) */ + + char *aNode; /* Pointer to node data (or NULL) */ + int nNode; /* Size of buffer at aNode (or 0) */ + int nPopulate; /* If >0, bytes of buffer aNode[] loaded */ + sqlite3_blob *pBlob; /* If not NULL, blob handle to read node */ + + Fts3HashElem **ppNextElem; + + /* Variables set by fts3SegReaderNext(). These may be read directly + ** by the caller. They are valid from the time SegmentReaderNew() returns + ** until SegmentReaderNext() returns something other than SQLITE_OK + ** (i.e. SQLITE_DONE). + */ + int nTerm; /* Number of bytes in current term */ + char *zTerm; /* Pointer to current term */ + int nTermAlloc; /* Allocated size of zTerm buffer */ + char *aDoclist; /* Pointer to doclist of current entry */ + int nDoclist; /* Size of doclist in current entry */ + + /* The following variables are used by fts3SegReaderNextDocid() to iterate + ** through the current doclist (aDoclist/nDoclist). + */ + char *pOffsetList; + int nOffsetList; /* For descending pending seg-readers only */ + sqlite3_int64 iDocid; +}; + +#define fts3SegReaderIsPending(p) ((p)->ppNextElem!=0) +#define fts3SegReaderIsRootOnly(p) ((p)->rootOnly!=0) + +/* +** An instance of this structure is used to create a segment b-tree in the +** database. The internal details of this type are only accessed by the +** following functions: +** +** fts3SegWriterAdd() +** fts3SegWriterFlush() +** fts3SegWriterFree() +*/ +struct SegmentWriter { + SegmentNode *pTree; /* Pointer to interior tree structure */ + sqlite3_int64 iFirst; /* First slot in %_segments written */ + sqlite3_int64 iFree; /* Next free slot in %_segments */ + char *zTerm; /* Pointer to previous term buffer */ + int nTerm; /* Number of bytes in zTerm */ + int nMalloc; /* Size of malloc'd buffer at zMalloc */ + char *zMalloc; /* Malloc'd space (possibly) used for zTerm */ + int nSize; /* Size of allocation at aData */ + int nData; /* Bytes of data in aData */ + char *aData; /* Pointer to block from malloc() */ + i64 nLeafData; /* Number of bytes of leaf data written */ +}; + +/* +** Type SegmentNode is used by the following three functions to create +** the interior part of the segment b+-tree structures (everything except +** the leaf nodes). These functions and type are only ever used by code +** within the fts3SegWriterXXX() family of functions described above. +** +** fts3NodeAddTerm() +** fts3NodeWrite() +** fts3NodeFree() +** +** When a b+tree is written to the database (either as a result of a merge +** or the pending-terms table being flushed), leaves are written into the +** database file as soon as they are completely populated. The interior of +** the tree is assembled in memory and written out only once all leaves have +** been populated and stored. This is Ok, as the b+-tree fanout is usually +** very large, meaning that the interior of the tree consumes relatively +** little memory. +*/ +struct SegmentNode { + SegmentNode *pParent; /* Parent node (or NULL for root node) */ + SegmentNode *pRight; /* Pointer to right-sibling */ + SegmentNode *pLeftmost; /* Pointer to left-most node of this depth */ + int nEntry; /* Number of terms written to node so far */ + char *zTerm; /* Pointer to previous term buffer */ + int nTerm; /* Number of bytes in zTerm */ + int nMalloc; /* Size of malloc'd buffer at zMalloc */ + char *zMalloc; /* Malloc'd space (possibly) used for zTerm */ + int nData; /* Bytes of valid data so far */ + char *aData; /* Node data */ +}; + +/* +** Valid values for the second argument to fts3SqlStmt(). +*/ +#define SQL_DELETE_CONTENT 0 +#define SQL_IS_EMPTY 1 +#define SQL_DELETE_ALL_CONTENT 2 +#define SQL_DELETE_ALL_SEGMENTS 3 +#define SQL_DELETE_ALL_SEGDIR 4 +#define SQL_DELETE_ALL_DOCSIZE 5 +#define SQL_DELETE_ALL_STAT 6 +#define SQL_SELECT_CONTENT_BY_ROWID 7 +#define SQL_NEXT_SEGMENT_INDEX 8 +#define SQL_INSERT_SEGMENTS 9 +#define SQL_NEXT_SEGMENTS_ID 10 +#define SQL_INSERT_SEGDIR 11 +#define SQL_SELECT_LEVEL 12 +#define SQL_SELECT_LEVEL_RANGE 13 +#define SQL_SELECT_LEVEL_COUNT 14 +#define SQL_SELECT_SEGDIR_MAX_LEVEL 15 +#define SQL_DELETE_SEGDIR_LEVEL 16 +#define SQL_DELETE_SEGMENTS_RANGE 17 +#define SQL_CONTENT_INSERT 18 +#define SQL_DELETE_DOCSIZE 19 +#define SQL_REPLACE_DOCSIZE 20 +#define SQL_SELECT_DOCSIZE 21 +#define SQL_SELECT_STAT 22 +#define SQL_REPLACE_STAT 23 + +#define SQL_SELECT_ALL_PREFIX_LEVEL 24 +#define SQL_DELETE_ALL_TERMS_SEGDIR 25 +#define SQL_DELETE_SEGDIR_RANGE 26 +#define SQL_SELECT_ALL_LANGID 27 +#define SQL_FIND_MERGE_LEVEL 28 +#define SQL_MAX_LEAF_NODE_ESTIMATE 29 +#define SQL_DELETE_SEGDIR_ENTRY 30 +#define SQL_SHIFT_SEGDIR_ENTRY 31 +#define SQL_SELECT_SEGDIR 32 +#define SQL_CHOMP_SEGDIR 33 +#define SQL_SEGMENT_IS_APPENDABLE 34 +#define SQL_SELECT_INDEXES 35 +#define SQL_SELECT_MXLEVEL 36 + +#define SQL_SELECT_LEVEL_RANGE2 37 +#define SQL_UPDATE_LEVEL_IDX 38 +#define SQL_UPDATE_LEVEL 39 + +/* +** This function is used to obtain an SQLite prepared statement handle +** for the statement identified by the second argument. If successful, +** *pp is set to the requested statement handle and SQLITE_OK returned. +** Otherwise, an SQLite error code is returned and *pp is set to 0. +** +** If argument apVal is not NULL, then it must point to an array with +** at least as many entries as the requested statement has bound +** parameters. The values are bound to the statements parameters before +** returning. +*/ +static int fts3SqlStmt( + Fts3Table *p, /* Virtual table handle */ + int eStmt, /* One of the SQL_XXX constants above */ + sqlite3_stmt **pp, /* OUT: Statement handle */ + sqlite3_value **apVal /* Values to bind to statement */ +){ + const char *azSql[] = { +/* 0 */ "DELETE FROM %Q.'%q_content' WHERE rowid = ?", +/* 1 */ "SELECT NOT EXISTS(SELECT docid FROM %Q.'%q_content' WHERE rowid!=?)", +/* 2 */ "DELETE FROM %Q.'%q_content'", +/* 3 */ "DELETE FROM %Q.'%q_segments'", +/* 4 */ "DELETE FROM %Q.'%q_segdir'", +/* 5 */ "DELETE FROM %Q.'%q_docsize'", +/* 6 */ "DELETE FROM %Q.'%q_stat'", +/* 7 */ "SELECT %s WHERE rowid=?", +/* 8 */ "SELECT (SELECT max(idx) FROM %Q.'%q_segdir' WHERE level = ?) + 1", +/* 9 */ "REPLACE INTO %Q.'%q_segments'(blockid, block) VALUES(?, ?)", +/* 10 */ "SELECT coalesce((SELECT max(blockid) FROM %Q.'%q_segments') + 1, 1)", +/* 11 */ "REPLACE INTO %Q.'%q_segdir' VALUES(?,?,?,?,?,?)", + + /* Return segments in order from oldest to newest.*/ +/* 12 */ "SELECT idx, start_block, leaves_end_block, end_block, root " + "FROM %Q.'%q_segdir' WHERE level = ? ORDER BY idx ASC", +/* 13 */ "SELECT idx, start_block, leaves_end_block, end_block, root " + "FROM %Q.'%q_segdir' WHERE level BETWEEN ? AND ?" + "ORDER BY level DESC, idx ASC", + +/* 14 */ "SELECT count(*) FROM %Q.'%q_segdir' WHERE level = ?", +/* 15 */ "SELECT max(level) FROM %Q.'%q_segdir' WHERE level BETWEEN ? AND ?", + +/* 16 */ "DELETE FROM %Q.'%q_segdir' WHERE level = ?", +/* 17 */ "DELETE FROM %Q.'%q_segments' WHERE blockid BETWEEN ? AND ?", +/* 18 */ "INSERT INTO %Q.'%q_content' VALUES(%s)", +/* 19 */ "DELETE FROM %Q.'%q_docsize' WHERE docid = ?", +/* 20 */ "REPLACE INTO %Q.'%q_docsize' VALUES(?,?)", +/* 21 */ "SELECT size FROM %Q.'%q_docsize' WHERE docid=?", +/* 22 */ "SELECT value FROM %Q.'%q_stat' WHERE id=?", +/* 23 */ "REPLACE INTO %Q.'%q_stat' VALUES(?,?)", +/* 24 */ "", +/* 25 */ "", + +/* 26 */ "DELETE FROM %Q.'%q_segdir' WHERE level BETWEEN ? AND ?", +/* 27 */ "SELECT ? UNION SELECT level / (1024 * ?) FROM %Q.'%q_segdir'", + +/* This statement is used to determine which level to read the input from +** when performing an incremental merge. It returns the absolute level number +** of the oldest level in the db that contains at least ? segments. Or, +** if no level in the FTS index contains more than ? segments, the statement +** returns zero rows. */ +/* 28 */ "SELECT level, count(*) AS cnt FROM %Q.'%q_segdir' " + " GROUP BY level HAVING cnt>=?" + " ORDER BY (level %% 1024) ASC LIMIT 1", + +/* Estimate the upper limit on the number of leaf nodes in a new segment +** created by merging the oldest :2 segments from absolute level :1. See +** function sqlite3Fts3Incrmerge() for details. */ +/* 29 */ "SELECT 2 * total(1 + leaves_end_block - start_block) " + " FROM %Q.'%q_segdir' WHERE level = ? AND idx < ?", + +/* SQL_DELETE_SEGDIR_ENTRY +** Delete the %_segdir entry on absolute level :1 with index :2. */ +/* 30 */ "DELETE FROM %Q.'%q_segdir' WHERE level = ? AND idx = ?", + +/* SQL_SHIFT_SEGDIR_ENTRY +** Modify the idx value for the segment with idx=:3 on absolute level :2 +** to :1. */ +/* 31 */ "UPDATE %Q.'%q_segdir' SET idx = ? WHERE level=? AND idx=?", + +/* SQL_SELECT_SEGDIR +** Read a single entry from the %_segdir table. The entry from absolute +** level :1 with index value :2. */ +/* 32 */ "SELECT idx, start_block, leaves_end_block, end_block, root " + "FROM %Q.'%q_segdir' WHERE level = ? AND idx = ?", + +/* SQL_CHOMP_SEGDIR +** Update the start_block (:1) and root (:2) fields of the %_segdir +** entry located on absolute level :3 with index :4. */ +/* 33 */ "UPDATE %Q.'%q_segdir' SET start_block = ?, root = ?" + "WHERE level = ? AND idx = ?", + +/* SQL_SEGMENT_IS_APPENDABLE +** Return a single row if the segment with end_block=? is appendable. Or +** no rows otherwise. */ +/* 34 */ "SELECT 1 FROM %Q.'%q_segments' WHERE blockid=? AND block IS NULL", + +/* SQL_SELECT_INDEXES +** Return the list of valid segment indexes for absolute level ? */ +/* 35 */ "SELECT idx FROM %Q.'%q_segdir' WHERE level=? ORDER BY 1 ASC", + +/* SQL_SELECT_MXLEVEL +** Return the largest relative level in the FTS index or indexes. */ +/* 36 */ "SELECT max( level %% 1024 ) FROM %Q.'%q_segdir'", + + /* Return segments in order from oldest to newest.*/ +/* 37 */ "SELECT level, idx, end_block " + "FROM %Q.'%q_segdir' WHERE level BETWEEN ? AND ? " + "ORDER BY level DESC, idx ASC", + + /* Update statements used while promoting segments */ +/* 38 */ "UPDATE OR FAIL %Q.'%q_segdir' SET level=-1,idx=? " + "WHERE level=? AND idx=?", +/* 39 */ "UPDATE OR FAIL %Q.'%q_segdir' SET level=? WHERE level=-1" + + }; + int rc = SQLITE_OK; + sqlite3_stmt *pStmt; + + assert( SizeofArray(azSql)==SizeofArray(p->aStmt) ); + assert( eStmt=0 ); + + pStmt = p->aStmt[eStmt]; + if( !pStmt ){ + int f = SQLITE_PREPARE_PERSISTENT|SQLITE_PREPARE_NO_VTAB; + char *zSql; + if( eStmt==SQL_CONTENT_INSERT ){ + zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName, p->zWriteExprlist); + }else if( eStmt==SQL_SELECT_CONTENT_BY_ROWID ){ + f &= ~SQLITE_PREPARE_NO_VTAB; + zSql = sqlite3_mprintf(azSql[eStmt], p->zReadExprlist); + }else{ + zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName); + } + if( !zSql ){ + rc = SQLITE_NOMEM; + }else{ + rc = sqlite3_prepare_v3(p->db, zSql, -1, f, &pStmt, NULL); + sqlite3_free(zSql); + assert( rc==SQLITE_OK || pStmt==0 ); + p->aStmt[eStmt] = pStmt; + } + } + if( apVal ){ + int i; + int nParam = sqlite3_bind_parameter_count(pStmt); + for(i=0; rc==SQLITE_OK && inPendingData==0 ){ + sqlite3_stmt *pStmt; + rc = fts3SqlStmt(p, SQL_DELETE_SEGDIR_LEVEL, &pStmt, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_null(pStmt, 1); + sqlite3_step(pStmt); + rc = sqlite3_reset(pStmt); + } + } + + return rc; +} + +/* +** FTS maintains a separate indexes for each language-id (a 32-bit integer). +** Within each language id, a separate index is maintained to store the +** document terms, and each configured prefix size (configured the FTS +** "prefix=" option). And each index consists of multiple levels ("relative +** levels"). +** +** All three of these values (the language id, the specific index and the +** level within the index) are encoded in 64-bit integer values stored +** in the %_segdir table on disk. This function is used to convert three +** separate component values into the single 64-bit integer value that +** can be used to query the %_segdir table. +** +** Specifically, each language-id/index combination is allocated 1024 +** 64-bit integer level values ("absolute levels"). The main terms index +** for language-id 0 is allocate values 0-1023. The first prefix index +** (if any) for language-id 0 is allocated values 1024-2047. And so on. +** Language 1 indexes are allocated immediately following language 0. +** +** So, for a system with nPrefix prefix indexes configured, the block of +** absolute levels that corresponds to language-id iLangid and index +** iIndex starts at absolute level ((iLangid * (nPrefix+1) + iIndex) * 1024). +*/ +static sqlite3_int64 getAbsoluteLevel( + Fts3Table *p, /* FTS3 table handle */ + int iLangid, /* Language id */ + int iIndex, /* Index in p->aIndex[] */ + int iLevel /* Level of segments */ +){ + sqlite3_int64 iBase; /* First absolute level for iLangid/iIndex */ + assert_fts3_nc( iLangid>=0 ); + assert( p->nIndex>0 ); + assert( iIndex>=0 && iIndexnIndex ); + + iBase = ((sqlite3_int64)iLangid * p->nIndex + iIndex) * FTS3_SEGDIR_MAXLEVEL; + return iBase + iLevel; +} + +/* +** Set *ppStmt to a statement handle that may be used to iterate through +** all rows in the %_segdir table, from oldest to newest. If successful, +** return SQLITE_OK. If an error occurs while preparing the statement, +** return an SQLite error code. +** +** There is only ever one instance of this SQL statement compiled for +** each FTS3 table. +** +** The statement returns the following columns from the %_segdir table: +** +** 0: idx +** 1: start_block +** 2: leaves_end_block +** 3: end_block +** 4: root +*/ +SQLITE_PRIVATE int sqlite3Fts3AllSegdirs( + Fts3Table *p, /* FTS3 table */ + int iLangid, /* Language being queried */ + int iIndex, /* Index for p->aIndex[] */ + int iLevel, /* Level to select (relative level) */ + sqlite3_stmt **ppStmt /* OUT: Compiled statement */ +){ + int rc; + sqlite3_stmt *pStmt = 0; + + assert( iLevel==FTS3_SEGCURSOR_ALL || iLevel>=0 ); + assert( iLevel=0 && iIndexnIndex ); + + if( iLevel<0 ){ + /* "SELECT * FROM %_segdir WHERE level BETWEEN ? AND ? ORDER BY ..." */ + rc = fts3SqlStmt(p, SQL_SELECT_LEVEL_RANGE, &pStmt, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pStmt, 1, getAbsoluteLevel(p, iLangid, iIndex, 0)); + sqlite3_bind_int64(pStmt, 2, + getAbsoluteLevel(p, iLangid, iIndex, FTS3_SEGDIR_MAXLEVEL-1) + ); + } + }else{ + /* "SELECT * FROM %_segdir WHERE level = ? ORDER BY ..." */ + rc = fts3SqlStmt(p, SQL_SELECT_LEVEL, &pStmt, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pStmt, 1, getAbsoluteLevel(p, iLangid, iIndex,iLevel)); + } + } + *ppStmt = pStmt; + return rc; +} + + +/* +** Append a single varint to a PendingList buffer. SQLITE_OK is returned +** if successful, or an SQLite error code otherwise. +** +** This function also serves to allocate the PendingList structure itself. +** For example, to create a new PendingList structure containing two +** varints: +** +** PendingList *p = 0; +** fts3PendingListAppendVarint(&p, 1); +** fts3PendingListAppendVarint(&p, 2); +*/ +static int fts3PendingListAppendVarint( + PendingList **pp, /* IN/OUT: Pointer to PendingList struct */ + sqlite3_int64 i /* Value to append to data */ +){ + PendingList *p = *pp; + + /* Allocate or grow the PendingList as required. */ + if( !p ){ + p = sqlite3_malloc(sizeof(*p) + 100); + if( !p ){ + return SQLITE_NOMEM; + } + p->nSpace = 100; + p->aData = (char *)&p[1]; + p->nData = 0; + } + else if( p->nData+FTS3_VARINT_MAX+1>p->nSpace ){ + int nNew = p->nSpace * 2; + p = sqlite3_realloc(p, sizeof(*p) + nNew); + if( !p ){ + sqlite3_free(*pp); + *pp = 0; + return SQLITE_NOMEM; + } + p->nSpace = nNew; + p->aData = (char *)&p[1]; + } + + /* Append the new serialized varint to the end of the list. */ + p->nData += sqlite3Fts3PutVarint(&p->aData[p->nData], i); + p->aData[p->nData] = '\0'; + *pp = p; + return SQLITE_OK; +} + +/* +** Add a docid/column/position entry to a PendingList structure. Non-zero +** is returned if the structure is sqlite3_realloced as part of adding +** the entry. Otherwise, zero. +** +** If an OOM error occurs, *pRc is set to SQLITE_NOMEM before returning. +** Zero is always returned in this case. Otherwise, if no OOM error occurs, +** it is set to SQLITE_OK. +*/ +static int fts3PendingListAppend( + PendingList **pp, /* IN/OUT: PendingList structure */ + sqlite3_int64 iDocid, /* Docid for entry to add */ + sqlite3_int64 iCol, /* Column for entry to add */ + sqlite3_int64 iPos, /* Position of term for entry to add */ + int *pRc /* OUT: Return code */ +){ + PendingList *p = *pp; + int rc = SQLITE_OK; + + assert( !p || p->iLastDocid<=iDocid ); + + if( !p || p->iLastDocid!=iDocid ){ + sqlite3_int64 iDelta = iDocid - (p ? p->iLastDocid : 0); + if( p ){ + assert( p->nDatanSpace ); + assert( p->aData[p->nData]==0 ); + p->nData++; + } + if( SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, iDelta)) ){ + goto pendinglistappend_out; + } + p->iLastCol = -1; + p->iLastPos = 0; + p->iLastDocid = iDocid; + } + if( iCol>0 && p->iLastCol!=iCol ){ + if( SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, 1)) + || SQLITE_OK!=(rc = fts3PendingListAppendVarint(&p, iCol)) + ){ + goto pendinglistappend_out; + } + p->iLastCol = iCol; + p->iLastPos = 0; + } + if( iCol>=0 ){ + assert( iPos>p->iLastPos || (iPos==0 && p->iLastPos==0) ); + rc = fts3PendingListAppendVarint(&p, 2+iPos-p->iLastPos); + if( rc==SQLITE_OK ){ + p->iLastPos = iPos; + } + } + + pendinglistappend_out: + *pRc = rc; + if( p!=*pp ){ + *pp = p; + return 1; + } + return 0; +} + +/* +** Free a PendingList object allocated by fts3PendingListAppend(). +*/ +static void fts3PendingListDelete(PendingList *pList){ + sqlite3_free(pList); +} + +/* +** Add an entry to one of the pending-terms hash tables. +*/ +static int fts3PendingTermsAddOne( + Fts3Table *p, + int iCol, + int iPos, + Fts3Hash *pHash, /* Pending terms hash table to add entry to */ + const char *zToken, + int nToken +){ + PendingList *pList; + int rc = SQLITE_OK; + + pList = (PendingList *)fts3HashFind(pHash, zToken, nToken); + if( pList ){ + p->nPendingData -= (pList->nData + nToken + sizeof(Fts3HashElem)); + } + if( fts3PendingListAppend(&pList, p->iPrevDocid, iCol, iPos, &rc) ){ + if( pList==fts3HashInsert(pHash, zToken, nToken, pList) ){ + /* Malloc failed while inserting the new entry. This can only + ** happen if there was no previous entry for this token. + */ + assert( 0==fts3HashFind(pHash, zToken, nToken) ); + sqlite3_free(pList); + rc = SQLITE_NOMEM; + } + } + if( rc==SQLITE_OK ){ + p->nPendingData += (pList->nData + nToken + sizeof(Fts3HashElem)); + } + return rc; +} + +/* +** Tokenize the nul-terminated string zText and add all tokens to the +** pending-terms hash-table. The docid used is that currently stored in +** p->iPrevDocid, and the column is specified by argument iCol. +** +** If successful, SQLITE_OK is returned. Otherwise, an SQLite error code. +*/ +static int fts3PendingTermsAdd( + Fts3Table *p, /* Table into which text will be inserted */ + int iLangid, /* Language id to use */ + const char *zText, /* Text of document to be inserted */ + int iCol, /* Column into which text is being inserted */ + u32 *pnWord /* IN/OUT: Incr. by number tokens inserted */ +){ + int rc; + int iStart = 0; + int iEnd = 0; + int iPos = 0; + int nWord = 0; + + char const *zToken; + int nToken = 0; + + sqlite3_tokenizer *pTokenizer = p->pTokenizer; + sqlite3_tokenizer_module const *pModule = pTokenizer->pModule; + sqlite3_tokenizer_cursor *pCsr; + int (*xNext)(sqlite3_tokenizer_cursor *pCursor, + const char**,int*,int*,int*,int*); + + assert( pTokenizer && pModule ); + + /* If the user has inserted a NULL value, this function may be called with + ** zText==0. In this case, add zero token entries to the hash table and + ** return early. */ + if( zText==0 ){ + *pnWord = 0; + return SQLITE_OK; + } + + rc = sqlite3Fts3OpenTokenizer(pTokenizer, iLangid, zText, -1, &pCsr); + if( rc!=SQLITE_OK ){ + return rc; + } + + xNext = pModule->xNext; + while( SQLITE_OK==rc + && SQLITE_OK==(rc = xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos)) + ){ + int i; + if( iPos>=nWord ) nWord = iPos+1; + + /* Positions cannot be negative; we use -1 as a terminator internally. + ** Tokens must have a non-zero length. + */ + if( iPos<0 || !zToken || nToken<=0 ){ + rc = SQLITE_ERROR; + break; + } + + /* Add the term to the terms index */ + rc = fts3PendingTermsAddOne( + p, iCol, iPos, &p->aIndex[0].hPending, zToken, nToken + ); + + /* Add the term to each of the prefix indexes that it is not too + ** short for. */ + for(i=1; rc==SQLITE_OK && inIndex; i++){ + struct Fts3Index *pIndex = &p->aIndex[i]; + if( nTokennPrefix ) continue; + rc = fts3PendingTermsAddOne( + p, iCol, iPos, &pIndex->hPending, zToken, pIndex->nPrefix + ); + } + } + + pModule->xClose(pCsr); + *pnWord += nWord; + return (rc==SQLITE_DONE ? SQLITE_OK : rc); +} + +/* +** Calling this function indicates that subsequent calls to +** fts3PendingTermsAdd() are to add term/position-list pairs for the +** contents of the document with docid iDocid. +*/ +static int fts3PendingTermsDocid( + Fts3Table *p, /* Full-text table handle */ + int bDelete, /* True if this op is a delete */ + int iLangid, /* Language id of row being written */ + sqlite_int64 iDocid /* Docid of row being written */ +){ + assert( iLangid>=0 ); + assert( bDelete==1 || bDelete==0 ); + + /* TODO(shess) Explore whether partially flushing the buffer on + ** forced-flush would provide better performance. I suspect that if + ** we ordered the doclists by size and flushed the largest until the + ** buffer was half empty, that would let the less frequent terms + ** generate longer doclists. + */ + if( iDocidiPrevDocid + || (iDocid==p->iPrevDocid && p->bPrevDelete==0) + || p->iPrevLangid!=iLangid + || p->nPendingData>p->nMaxPendingData + ){ + int rc = sqlite3Fts3PendingTermsFlush(p); + if( rc!=SQLITE_OK ) return rc; + } + p->iPrevDocid = iDocid; + p->iPrevLangid = iLangid; + p->bPrevDelete = bDelete; + return SQLITE_OK; +} + +/* +** Discard the contents of the pending-terms hash tables. +*/ +SQLITE_PRIVATE void sqlite3Fts3PendingTermsClear(Fts3Table *p){ + int i; + for(i=0; inIndex; i++){ + Fts3HashElem *pElem; + Fts3Hash *pHash = &p->aIndex[i].hPending; + for(pElem=fts3HashFirst(pHash); pElem; pElem=fts3HashNext(pElem)){ + PendingList *pList = (PendingList *)fts3HashData(pElem); + fts3PendingListDelete(pList); + } + fts3HashClear(pHash); + } + p->nPendingData = 0; +} + +/* +** This function is called by the xUpdate() method as part of an INSERT +** operation. It adds entries for each term in the new record to the +** pendingTerms hash table. +** +** Argument apVal is the same as the similarly named argument passed to +** fts3InsertData(). Parameter iDocid is the docid of the new row. +*/ +static int fts3InsertTerms( + Fts3Table *p, + int iLangid, + sqlite3_value **apVal, + u32 *aSz +){ + int i; /* Iterator variable */ + for(i=2; inColumn+2; i++){ + int iCol = i-2; + if( p->abNotindexed[iCol]==0 ){ + const char *zText = (const char *)sqlite3_value_text(apVal[i]); + int rc = fts3PendingTermsAdd(p, iLangid, zText, iCol, &aSz[iCol]); + if( rc!=SQLITE_OK ){ + return rc; + } + aSz[p->nColumn] += sqlite3_value_bytes(apVal[i]); + } + } + return SQLITE_OK; +} + +/* +** This function is called by the xUpdate() method for an INSERT operation. +** The apVal parameter is passed a copy of the apVal argument passed by +** SQLite to the xUpdate() method. i.e: +** +** apVal[0] Not used for INSERT. +** apVal[1] rowid +** apVal[2] Left-most user-defined column +** ... +** apVal[p->nColumn+1] Right-most user-defined column +** apVal[p->nColumn+2] Hidden column with same name as table +** apVal[p->nColumn+3] Hidden "docid" column (alias for rowid) +** apVal[p->nColumn+4] Hidden languageid column +*/ +static int fts3InsertData( + Fts3Table *p, /* Full-text table */ + sqlite3_value **apVal, /* Array of values to insert */ + sqlite3_int64 *piDocid /* OUT: Docid for row just inserted */ +){ + int rc; /* Return code */ + sqlite3_stmt *pContentInsert; /* INSERT INTO %_content VALUES(...) */ + + if( p->zContentTbl ){ + sqlite3_value *pRowid = apVal[p->nColumn+3]; + if( sqlite3_value_type(pRowid)==SQLITE_NULL ){ + pRowid = apVal[1]; + } + if( sqlite3_value_type(pRowid)!=SQLITE_INTEGER ){ + return SQLITE_CONSTRAINT; + } + *piDocid = sqlite3_value_int64(pRowid); + return SQLITE_OK; + } + + /* Locate the statement handle used to insert data into the %_content + ** table. The SQL for this statement is: + ** + ** INSERT INTO %_content VALUES(?, ?, ?, ...) + ** + ** The statement features N '?' variables, where N is the number of user + ** defined columns in the FTS3 table, plus one for the docid field. + */ + rc = fts3SqlStmt(p, SQL_CONTENT_INSERT, &pContentInsert, &apVal[1]); + if( rc==SQLITE_OK && p->zLanguageid ){ + rc = sqlite3_bind_int( + pContentInsert, p->nColumn+2, + sqlite3_value_int(apVal[p->nColumn+4]) + ); + } + if( rc!=SQLITE_OK ) return rc; + + /* There is a quirk here. The users INSERT statement may have specified + ** a value for the "rowid" field, for the "docid" field, or for both. + ** Which is a problem, since "rowid" and "docid" are aliases for the + ** same value. For example: + ** + ** INSERT INTO fts3tbl(rowid, docid) VALUES(1, 2); + ** + ** In FTS3, this is an error. It is an error to specify non-NULL values + ** for both docid and some other rowid alias. + */ + if( SQLITE_NULL!=sqlite3_value_type(apVal[3+p->nColumn]) ){ + if( SQLITE_NULL==sqlite3_value_type(apVal[0]) + && SQLITE_NULL!=sqlite3_value_type(apVal[1]) + ){ + /* A rowid/docid conflict. */ + return SQLITE_ERROR; + } + rc = sqlite3_bind_value(pContentInsert, 1, apVal[3+p->nColumn]); + if( rc!=SQLITE_OK ) return rc; + } + + /* Execute the statement to insert the record. Set *piDocid to the + ** new docid value. + */ + sqlite3_step(pContentInsert); + rc = sqlite3_reset(pContentInsert); + + *piDocid = sqlite3_last_insert_rowid(p->db); + return rc; +} + + + +/* +** Remove all data from the FTS3 table. Clear the hash table containing +** pending terms. +*/ +static int fts3DeleteAll(Fts3Table *p, int bContent){ + int rc = SQLITE_OK; /* Return code */ + + /* Discard the contents of the pending-terms hash table. */ + sqlite3Fts3PendingTermsClear(p); + + /* Delete everything from the shadow tables. Except, leave %_content as + ** is if bContent is false. */ + assert( p->zContentTbl==0 || bContent==0 ); + if( bContent ) fts3SqlExec(&rc, p, SQL_DELETE_ALL_CONTENT, 0); + fts3SqlExec(&rc, p, SQL_DELETE_ALL_SEGMENTS, 0); + fts3SqlExec(&rc, p, SQL_DELETE_ALL_SEGDIR, 0); + if( p->bHasDocsize ){ + fts3SqlExec(&rc, p, SQL_DELETE_ALL_DOCSIZE, 0); + } + if( p->bHasStat ){ + fts3SqlExec(&rc, p, SQL_DELETE_ALL_STAT, 0); + } + return rc; +} + +/* +** +*/ +static int langidFromSelect(Fts3Table *p, sqlite3_stmt *pSelect){ + int iLangid = 0; + if( p->zLanguageid ) iLangid = sqlite3_column_int(pSelect, p->nColumn+1); + return iLangid; +} + +/* +** The first element in the apVal[] array is assumed to contain the docid +** (an integer) of a row about to be deleted. Remove all terms from the +** full-text index. +*/ +static void fts3DeleteTerms( + int *pRC, /* Result code */ + Fts3Table *p, /* The FTS table to delete from */ + sqlite3_value *pRowid, /* The docid to be deleted */ + u32 *aSz, /* Sizes of deleted document written here */ + int *pbFound /* OUT: Set to true if row really does exist */ +){ + int rc; + sqlite3_stmt *pSelect; + + assert( *pbFound==0 ); + if( *pRC ) return; + rc = fts3SqlStmt(p, SQL_SELECT_CONTENT_BY_ROWID, &pSelect, &pRowid); + if( rc==SQLITE_OK ){ + if( SQLITE_ROW==sqlite3_step(pSelect) ){ + int i; + int iLangid = langidFromSelect(p, pSelect); + i64 iDocid = sqlite3_column_int64(pSelect, 0); + rc = fts3PendingTermsDocid(p, 1, iLangid, iDocid); + for(i=1; rc==SQLITE_OK && i<=p->nColumn; i++){ + int iCol = i-1; + if( p->abNotindexed[iCol]==0 ){ + const char *zText = (const char *)sqlite3_column_text(pSelect, i); + rc = fts3PendingTermsAdd(p, iLangid, zText, -1, &aSz[iCol]); + aSz[p->nColumn] += sqlite3_column_bytes(pSelect, i); + } + } + if( rc!=SQLITE_OK ){ + sqlite3_reset(pSelect); + *pRC = rc; + return; + } + *pbFound = 1; + } + rc = sqlite3_reset(pSelect); + }else{ + sqlite3_reset(pSelect); + } + *pRC = rc; +} + +/* +** Forward declaration to account for the circular dependency between +** functions fts3SegmentMerge() and fts3AllocateSegdirIdx(). +*/ +static int fts3SegmentMerge(Fts3Table *, int, int, int); + +/* +** This function allocates a new level iLevel index in the segdir table. +** Usually, indexes are allocated within a level sequentially starting +** with 0, so the allocated index is one greater than the value returned +** by: +** +** SELECT max(idx) FROM %_segdir WHERE level = :iLevel +** +** However, if there are already FTS3_MERGE_COUNT indexes at the requested +** level, they are merged into a single level (iLevel+1) segment and the +** allocated index is 0. +** +** If successful, *piIdx is set to the allocated index slot and SQLITE_OK +** returned. Otherwise, an SQLite error code is returned. +*/ +static int fts3AllocateSegdirIdx( + Fts3Table *p, + int iLangid, /* Language id */ + int iIndex, /* Index for p->aIndex */ + int iLevel, + int *piIdx +){ + int rc; /* Return Code */ + sqlite3_stmt *pNextIdx; /* Query for next idx at level iLevel */ + int iNext = 0; /* Result of query pNextIdx */ + + assert( iLangid>=0 ); + assert( p->nIndex>=1 ); + + /* Set variable iNext to the next available segdir index at level iLevel. */ + rc = fts3SqlStmt(p, SQL_NEXT_SEGMENT_INDEX, &pNextIdx, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64( + pNextIdx, 1, getAbsoluteLevel(p, iLangid, iIndex, iLevel) + ); + if( SQLITE_ROW==sqlite3_step(pNextIdx) ){ + iNext = sqlite3_column_int(pNextIdx, 0); + } + rc = sqlite3_reset(pNextIdx); + } + + if( rc==SQLITE_OK ){ + /* If iNext is FTS3_MERGE_COUNT, indicating that level iLevel is already + ** full, merge all segments in level iLevel into a single iLevel+1 + ** segment and allocate (newly freed) index 0 at level iLevel. Otherwise, + ** if iNext is less than FTS3_MERGE_COUNT, allocate index iNext. + */ + if( iNext>=FTS3_MERGE_COUNT ){ + fts3LogMerge(16, getAbsoluteLevel(p, iLangid, iIndex, iLevel)); + rc = fts3SegmentMerge(p, iLangid, iIndex, iLevel); + *piIdx = 0; + }else{ + *piIdx = iNext; + } + } + + return rc; +} + +/* +** The %_segments table is declared as follows: +** +** CREATE TABLE %_segments(blockid INTEGER PRIMARY KEY, block BLOB) +** +** This function reads data from a single row of the %_segments table. The +** specific row is identified by the iBlockid parameter. If paBlob is not +** NULL, then a buffer is allocated using sqlite3_malloc() and populated +** with the contents of the blob stored in the "block" column of the +** identified table row is. Whether or not paBlob is NULL, *pnBlob is set +** to the size of the blob in bytes before returning. +** +** If an error occurs, or the table does not contain the specified row, +** an SQLite error code is returned. Otherwise, SQLITE_OK is returned. If +** paBlob is non-NULL, then it is the responsibility of the caller to +** eventually free the returned buffer. +** +** This function may leave an open sqlite3_blob* handle in the +** Fts3Table.pSegments variable. This handle is reused by subsequent calls +** to this function. The handle may be closed by calling the +** sqlite3Fts3SegmentsClose() function. Reusing a blob handle is a handy +** performance improvement, but the blob handle should always be closed +** before control is returned to the user (to prevent a lock being held +** on the database file for longer than necessary). Thus, any virtual table +** method (xFilter etc.) that may directly or indirectly call this function +** must call sqlite3Fts3SegmentsClose() before returning. +*/ +SQLITE_PRIVATE int sqlite3Fts3ReadBlock( + Fts3Table *p, /* FTS3 table handle */ + sqlite3_int64 iBlockid, /* Access the row with blockid=$iBlockid */ + char **paBlob, /* OUT: Blob data in malloc'd buffer */ + int *pnBlob, /* OUT: Size of blob data */ + int *pnLoad /* OUT: Bytes actually loaded */ +){ + int rc; /* Return code */ + + /* pnBlob must be non-NULL. paBlob may be NULL or non-NULL. */ + assert( pnBlob ); + + if( p->pSegments ){ + rc = sqlite3_blob_reopen(p->pSegments, iBlockid); + }else{ + if( 0==p->zSegmentsTbl ){ + p->zSegmentsTbl = sqlite3_mprintf("%s_segments", p->zName); + if( 0==p->zSegmentsTbl ) return SQLITE_NOMEM; + } + rc = sqlite3_blob_open( + p->db, p->zDb, p->zSegmentsTbl, "block", iBlockid, 0, &p->pSegments + ); + } + + if( rc==SQLITE_OK ){ + int nByte = sqlite3_blob_bytes(p->pSegments); + *pnBlob = nByte; + if( paBlob ){ + char *aByte = sqlite3_malloc(nByte + FTS3_NODE_PADDING); + if( !aByte ){ + rc = SQLITE_NOMEM; + }else{ + if( pnLoad && nByte>(FTS3_NODE_CHUNK_THRESHOLD) ){ + nByte = FTS3_NODE_CHUNKSIZE; + *pnLoad = nByte; + } + rc = sqlite3_blob_read(p->pSegments, aByte, nByte, 0); + memset(&aByte[nByte], 0, FTS3_NODE_PADDING); + if( rc!=SQLITE_OK ){ + sqlite3_free(aByte); + aByte = 0; + } + } + *paBlob = aByte; + } + } + + return rc; +} + +/* +** Close the blob handle at p->pSegments, if it is open. See comments above +** the sqlite3Fts3ReadBlock() function for details. +*/ +SQLITE_PRIVATE void sqlite3Fts3SegmentsClose(Fts3Table *p){ + sqlite3_blob_close(p->pSegments); + p->pSegments = 0; +} + +static int fts3SegReaderIncrRead(Fts3SegReader *pReader){ + int nRead; /* Number of bytes to read */ + int rc; /* Return code */ + + nRead = MIN(pReader->nNode - pReader->nPopulate, FTS3_NODE_CHUNKSIZE); + rc = sqlite3_blob_read( + pReader->pBlob, + &pReader->aNode[pReader->nPopulate], + nRead, + pReader->nPopulate + ); + + if( rc==SQLITE_OK ){ + pReader->nPopulate += nRead; + memset(&pReader->aNode[pReader->nPopulate], 0, FTS3_NODE_PADDING); + if( pReader->nPopulate==pReader->nNode ){ + sqlite3_blob_close(pReader->pBlob); + pReader->pBlob = 0; + pReader->nPopulate = 0; + } + } + return rc; +} + +static int fts3SegReaderRequire(Fts3SegReader *pReader, char *pFrom, int nByte){ + int rc = SQLITE_OK; + assert( !pReader->pBlob + || (pFrom>=pReader->aNode && pFrom<&pReader->aNode[pReader->nNode]) + ); + while( pReader->pBlob && rc==SQLITE_OK + && (pFrom - pReader->aNode + nByte)>pReader->nPopulate + ){ + rc = fts3SegReaderIncrRead(pReader); + } + return rc; +} + +/* +** Set an Fts3SegReader cursor to point at EOF. +*/ +static void fts3SegReaderSetEof(Fts3SegReader *pSeg){ + if( !fts3SegReaderIsRootOnly(pSeg) ){ + sqlite3_free(pSeg->aNode); + sqlite3_blob_close(pSeg->pBlob); + pSeg->pBlob = 0; + } + pSeg->aNode = 0; +} + +/* +** Move the iterator passed as the first argument to the next term in the +** segment. If successful, SQLITE_OK is returned. If there is no next term, +** SQLITE_DONE. Otherwise, an SQLite error code. +*/ +static int fts3SegReaderNext( + Fts3Table *p, + Fts3SegReader *pReader, + int bIncr +){ + int rc; /* Return code of various sub-routines */ + char *pNext; /* Cursor variable */ + int nPrefix; /* Number of bytes in term prefix */ + int nSuffix; /* Number of bytes in term suffix */ + + if( !pReader->aDoclist ){ + pNext = pReader->aNode; + }else{ + pNext = &pReader->aDoclist[pReader->nDoclist]; + } + + if( !pNext || pNext>=&pReader->aNode[pReader->nNode] ){ + + if( fts3SegReaderIsPending(pReader) ){ + Fts3HashElem *pElem = *(pReader->ppNextElem); + sqlite3_free(pReader->aNode); + pReader->aNode = 0; + if( pElem ){ + char *aCopy; + PendingList *pList = (PendingList *)fts3HashData(pElem); + int nCopy = pList->nData+1; + pReader->zTerm = (char *)fts3HashKey(pElem); + pReader->nTerm = fts3HashKeysize(pElem); + aCopy = (char*)sqlite3_malloc(nCopy); + if( !aCopy ) return SQLITE_NOMEM; + memcpy(aCopy, pList->aData, nCopy); + pReader->nNode = pReader->nDoclist = nCopy; + pReader->aNode = pReader->aDoclist = aCopy; + pReader->ppNextElem++; + assert( pReader->aNode ); + } + return SQLITE_OK; + } + + fts3SegReaderSetEof(pReader); + + /* If iCurrentBlock>=iLeafEndBlock, this is an EOF condition. All leaf + ** blocks have already been traversed. */ +#ifdef CORRUPT_DB + assert( pReader->iCurrentBlock<=pReader->iLeafEndBlock || CORRUPT_DB ); +#endif + if( pReader->iCurrentBlock>=pReader->iLeafEndBlock ){ + return SQLITE_OK; + } + + rc = sqlite3Fts3ReadBlock( + p, ++pReader->iCurrentBlock, &pReader->aNode, &pReader->nNode, + (bIncr ? &pReader->nPopulate : 0) + ); + if( rc!=SQLITE_OK ) return rc; + assert( pReader->pBlob==0 ); + if( bIncr && pReader->nPopulatenNode ){ + pReader->pBlob = p->pSegments; + p->pSegments = 0; + } + pNext = pReader->aNode; + } + + assert( !fts3SegReaderIsPending(pReader) ); + + rc = fts3SegReaderRequire(pReader, pNext, FTS3_VARINT_MAX*2); + if( rc!=SQLITE_OK ) return rc; + + /* Because of the FTS3_NODE_PADDING bytes of padding, the following is + ** safe (no risk of overread) even if the node data is corrupted. */ + pNext += fts3GetVarint32(pNext, &nPrefix); + pNext += fts3GetVarint32(pNext, &nSuffix); + if( nSuffix<=0 + || (&pReader->aNode[pReader->nNode] - pNext)pReader->nTermAlloc + ){ + return FTS_CORRUPT_VTAB; + } + + /* Both nPrefix and nSuffix were read by fts3GetVarint32() and so are + ** between 0 and 0x7FFFFFFF. But the sum of the two may cause integer + ** overflow - hence the (i64) casts. */ + if( (i64)nPrefix+nSuffix>(i64)pReader->nTermAlloc ){ + i64 nNew = ((i64)nPrefix+nSuffix)*2; + char *zNew = sqlite3_realloc64(pReader->zTerm, nNew); + if( !zNew ){ + return SQLITE_NOMEM; + } + pReader->zTerm = zNew; + pReader->nTermAlloc = nNew; + } + + rc = fts3SegReaderRequire(pReader, pNext, nSuffix+FTS3_VARINT_MAX); + if( rc!=SQLITE_OK ) return rc; + + memcpy(&pReader->zTerm[nPrefix], pNext, nSuffix); + pReader->nTerm = nPrefix+nSuffix; + pNext += nSuffix; + pNext += fts3GetVarint32(pNext, &pReader->nDoclist); + pReader->aDoclist = pNext; + pReader->pOffsetList = 0; + + /* Check that the doclist does not appear to extend past the end of the + ** b-tree node. And that the final byte of the doclist is 0x00. If either + ** of these statements is untrue, then the data structure is corrupt. + */ + if( pReader->nDoclist > pReader->nNode-(pReader->aDoclist-pReader->aNode) + || (pReader->nPopulate==0 && pReader->aDoclist[pReader->nDoclist-1]) + ){ + return FTS_CORRUPT_VTAB; + } + return SQLITE_OK; +} + +/* +** Set the SegReader to point to the first docid in the doclist associated +** with the current term. +*/ +static int fts3SegReaderFirstDocid(Fts3Table *pTab, Fts3SegReader *pReader){ + int rc = SQLITE_OK; + assert( pReader->aDoclist ); + assert( !pReader->pOffsetList ); + if( pTab->bDescIdx && fts3SegReaderIsPending(pReader) ){ + u8 bEof = 0; + pReader->iDocid = 0; + pReader->nOffsetList = 0; + sqlite3Fts3DoclistPrev(0, + pReader->aDoclist, pReader->nDoclist, &pReader->pOffsetList, + &pReader->iDocid, &pReader->nOffsetList, &bEof + ); + }else{ + rc = fts3SegReaderRequire(pReader, pReader->aDoclist, FTS3_VARINT_MAX); + if( rc==SQLITE_OK ){ + int n = sqlite3Fts3GetVarint(pReader->aDoclist, &pReader->iDocid); + pReader->pOffsetList = &pReader->aDoclist[n]; + } + } + return rc; +} + +/* +** Advance the SegReader to point to the next docid in the doclist +** associated with the current term. +** +** If arguments ppOffsetList and pnOffsetList are not NULL, then +** *ppOffsetList is set to point to the first column-offset list +** in the doclist entry (i.e. immediately past the docid varint). +** *pnOffsetList is set to the length of the set of column-offset +** lists, not including the nul-terminator byte. For example: +*/ +static int fts3SegReaderNextDocid( + Fts3Table *pTab, + Fts3SegReader *pReader, /* Reader to advance to next docid */ + char **ppOffsetList, /* OUT: Pointer to current position-list */ + int *pnOffsetList /* OUT: Length of *ppOffsetList in bytes */ +){ + int rc = SQLITE_OK; + char *p = pReader->pOffsetList; + char c = 0; + + assert( p ); + + if( pTab->bDescIdx && fts3SegReaderIsPending(pReader) ){ + /* A pending-terms seg-reader for an FTS4 table that uses order=desc. + ** Pending-terms doclists are always built up in ascending order, so + ** we have to iterate through them backwards here. */ + u8 bEof = 0; + if( ppOffsetList ){ + *ppOffsetList = pReader->pOffsetList; + *pnOffsetList = pReader->nOffsetList - 1; + } + sqlite3Fts3DoclistPrev(0, + pReader->aDoclist, pReader->nDoclist, &p, &pReader->iDocid, + &pReader->nOffsetList, &bEof + ); + if( bEof ){ + pReader->pOffsetList = 0; + }else{ + pReader->pOffsetList = p; + } + }else{ + char *pEnd = &pReader->aDoclist[pReader->nDoclist]; + + /* Pointer p currently points at the first byte of an offset list. The + ** following block advances it to point one byte past the end of + ** the same offset list. */ + while( 1 ){ + + /* The following line of code (and the "p++" below the while() loop) is + ** normally all that is required to move pointer p to the desired + ** position. The exception is if this node is being loaded from disk + ** incrementally and pointer "p" now points to the first byte past + ** the populated part of pReader->aNode[]. + */ + while( *p | c ) c = *p++ & 0x80; + assert( *p==0 ); + + if( pReader->pBlob==0 || p<&pReader->aNode[pReader->nPopulate] ) break; + rc = fts3SegReaderIncrRead(pReader); + if( rc!=SQLITE_OK ) return rc; + } + p++; + + /* If required, populate the output variables with a pointer to and the + ** size of the previous offset-list. + */ + if( ppOffsetList ){ + *ppOffsetList = pReader->pOffsetList; + *pnOffsetList = (int)(p - pReader->pOffsetList - 1); + } + + /* List may have been edited in place by fts3EvalNearTrim() */ + while( p=pEnd ){ + pReader->pOffsetList = 0; + }else{ + rc = fts3SegReaderRequire(pReader, p, FTS3_VARINT_MAX); + if( rc==SQLITE_OK ){ + sqlite3_int64 iDelta; + pReader->pOffsetList = p + sqlite3Fts3GetVarint(p, &iDelta); + if( pTab->bDescIdx ){ + pReader->iDocid -= iDelta; + }else{ + pReader->iDocid += iDelta; + } + } + } + } + + return SQLITE_OK; +} + + +SQLITE_PRIVATE int sqlite3Fts3MsrOvfl( + Fts3Cursor *pCsr, + Fts3MultiSegReader *pMsr, + int *pnOvfl +){ + Fts3Table *p = (Fts3Table*)pCsr->base.pVtab; + int nOvfl = 0; + int ii; + int rc = SQLITE_OK; + int pgsz = p->nPgsz; + + assert( p->bFts4 ); + assert( pgsz>0 ); + + for(ii=0; rc==SQLITE_OK && iinSegment; ii++){ + Fts3SegReader *pReader = pMsr->apSegment[ii]; + if( !fts3SegReaderIsPending(pReader) + && !fts3SegReaderIsRootOnly(pReader) + ){ + sqlite3_int64 jj; + for(jj=pReader->iStartBlock; jj<=pReader->iLeafEndBlock; jj++){ + int nBlob; + rc = sqlite3Fts3ReadBlock(p, jj, 0, &nBlob, 0); + if( rc!=SQLITE_OK ) break; + if( (nBlob+35)>pgsz ){ + nOvfl += (nBlob + 34)/pgsz; + } + } + } + } + *pnOvfl = nOvfl; + return rc; +} + +/* +** Free all allocations associated with the iterator passed as the +** second argument. +*/ +SQLITE_PRIVATE void sqlite3Fts3SegReaderFree(Fts3SegReader *pReader){ + if( pReader ){ + if( !fts3SegReaderIsPending(pReader) ){ + sqlite3_free(pReader->zTerm); + } + if( !fts3SegReaderIsRootOnly(pReader) ){ + sqlite3_free(pReader->aNode); + } + sqlite3_blob_close(pReader->pBlob); + } + sqlite3_free(pReader); +} + +/* +** Allocate a new SegReader object. +*/ +SQLITE_PRIVATE int sqlite3Fts3SegReaderNew( + int iAge, /* Segment "age". */ + int bLookup, /* True for a lookup only */ + sqlite3_int64 iStartLeaf, /* First leaf to traverse */ + sqlite3_int64 iEndLeaf, /* Final leaf to traverse */ + sqlite3_int64 iEndBlock, /* Final block of segment */ + const char *zRoot, /* Buffer containing root node */ + int nRoot, /* Size of buffer containing root node */ + Fts3SegReader **ppReader /* OUT: Allocated Fts3SegReader */ +){ + Fts3SegReader *pReader; /* Newly allocated SegReader object */ + int nExtra = 0; /* Bytes to allocate segment root node */ + + assert( zRoot!=0 || nRoot==0 ); +#ifdef CORRUPT_DB + assert( zRoot!=0 || CORRUPT_DB ); +#endif + + if( iStartLeaf==0 ){ + if( iEndLeaf!=0 ) return FTS_CORRUPT_VTAB; + nExtra = nRoot + FTS3_NODE_PADDING; + } + + pReader = (Fts3SegReader *)sqlite3_malloc(sizeof(Fts3SegReader) + nExtra); + if( !pReader ){ + return SQLITE_NOMEM; + } + memset(pReader, 0, sizeof(Fts3SegReader)); + pReader->iIdx = iAge; + pReader->bLookup = bLookup!=0; + pReader->iStartBlock = iStartLeaf; + pReader->iLeafEndBlock = iEndLeaf; + pReader->iEndBlock = iEndBlock; + + if( nExtra ){ + /* The entire segment is stored in the root node. */ + pReader->aNode = (char *)&pReader[1]; + pReader->rootOnly = 1; + pReader->nNode = nRoot; + if( nRoot ) memcpy(pReader->aNode, zRoot, nRoot); + memset(&pReader->aNode[nRoot], 0, FTS3_NODE_PADDING); + }else{ + pReader->iCurrentBlock = iStartLeaf-1; + } + *ppReader = pReader; + return SQLITE_OK; +} + +/* +** This is a comparison function used as a qsort() callback when sorting +** an array of pending terms by term. This occurs as part of flushing +** the contents of the pending-terms hash table to the database. +*/ +static int SQLITE_CDECL fts3CompareElemByTerm( + const void *lhs, + const void *rhs +){ + char *z1 = fts3HashKey(*(Fts3HashElem **)lhs); + char *z2 = fts3HashKey(*(Fts3HashElem **)rhs); + int n1 = fts3HashKeysize(*(Fts3HashElem **)lhs); + int n2 = fts3HashKeysize(*(Fts3HashElem **)rhs); + + int n = (n1aIndex */ + const char *zTerm, /* Term to search for */ + int nTerm, /* Size of buffer zTerm */ + int bPrefix, /* True for a prefix iterator */ + Fts3SegReader **ppReader /* OUT: SegReader for pending-terms */ +){ + Fts3SegReader *pReader = 0; /* Fts3SegReader object to return */ + Fts3HashElem *pE; /* Iterator variable */ + Fts3HashElem **aElem = 0; /* Array of term hash entries to scan */ + int nElem = 0; /* Size of array at aElem */ + int rc = SQLITE_OK; /* Return Code */ + Fts3Hash *pHash; + + pHash = &p->aIndex[iIndex].hPending; + if( bPrefix ){ + int nAlloc = 0; /* Size of allocated array at aElem */ + + for(pE=fts3HashFirst(pHash); pE; pE=fts3HashNext(pE)){ + char *zKey = (char *)fts3HashKey(pE); + int nKey = fts3HashKeysize(pE); + if( nTerm==0 || (nKey>=nTerm && 0==memcmp(zKey, zTerm, nTerm)) ){ + if( nElem==nAlloc ){ + Fts3HashElem **aElem2; + nAlloc += 16; + aElem2 = (Fts3HashElem **)sqlite3_realloc( + aElem, nAlloc*sizeof(Fts3HashElem *) + ); + if( !aElem2 ){ + rc = SQLITE_NOMEM; + nElem = 0; + break; + } + aElem = aElem2; + } + + aElem[nElem++] = pE; + } + } + + /* If more than one term matches the prefix, sort the Fts3HashElem + ** objects in term order using qsort(). This uses the same comparison + ** callback as is used when flushing terms to disk. + */ + if( nElem>1 ){ + qsort(aElem, nElem, sizeof(Fts3HashElem *), fts3CompareElemByTerm); + } + + }else{ + /* The query is a simple term lookup that matches at most one term in + ** the index. All that is required is a straight hash-lookup. + ** + ** Because the stack address of pE may be accessed via the aElem pointer + ** below, the "Fts3HashElem *pE" must be declared so that it is valid + ** within this entire function, not just this "else{...}" block. + */ + pE = fts3HashFindElem(pHash, zTerm, nTerm); + if( pE ){ + aElem = &pE; + nElem = 1; + } + } + + if( nElem>0 ){ + sqlite3_int64 nByte; + nByte = sizeof(Fts3SegReader) + (nElem+1)*sizeof(Fts3HashElem *); + pReader = (Fts3SegReader *)sqlite3_malloc64(nByte); + if( !pReader ){ + rc = SQLITE_NOMEM; + }else{ + memset(pReader, 0, nByte); + pReader->iIdx = 0x7FFFFFFF; + pReader->ppNextElem = (Fts3HashElem **)&pReader[1]; + memcpy(pReader->ppNextElem, aElem, nElem*sizeof(Fts3HashElem *)); + } + } + + if( bPrefix ){ + sqlite3_free(aElem); + } + *ppReader = pReader; + return rc; +} + +/* +** Compare the entries pointed to by two Fts3SegReader structures. +** Comparison is as follows: +** +** 1) EOF is greater than not EOF. +** +** 2) The current terms (if any) are compared using memcmp(). If one +** term is a prefix of another, the longer term is considered the +** larger. +** +** 3) By segment age. An older segment is considered larger. +*/ +static int fts3SegReaderCmp(Fts3SegReader *pLhs, Fts3SegReader *pRhs){ + int rc; + if( pLhs->aNode && pRhs->aNode ){ + int rc2 = pLhs->nTerm - pRhs->nTerm; + if( rc2<0 ){ + rc = memcmp(pLhs->zTerm, pRhs->zTerm, pLhs->nTerm); + }else{ + rc = memcmp(pLhs->zTerm, pRhs->zTerm, pRhs->nTerm); + } + if( rc==0 ){ + rc = rc2; + } + }else{ + rc = (pLhs->aNode==0) - (pRhs->aNode==0); + } + if( rc==0 ){ + rc = pRhs->iIdx - pLhs->iIdx; + } + assert( rc!=0 ); + return rc; +} + +/* +** A different comparison function for SegReader structures. In this +** version, it is assumed that each SegReader points to an entry in +** a doclist for identical terms. Comparison is made as follows: +** +** 1) EOF (end of doclist in this case) is greater than not EOF. +** +** 2) By current docid. +** +** 3) By segment age. An older segment is considered larger. +*/ +static int fts3SegReaderDoclistCmp(Fts3SegReader *pLhs, Fts3SegReader *pRhs){ + int rc = (pLhs->pOffsetList==0)-(pRhs->pOffsetList==0); + if( rc==0 ){ + if( pLhs->iDocid==pRhs->iDocid ){ + rc = pRhs->iIdx - pLhs->iIdx; + }else{ + rc = (pLhs->iDocid > pRhs->iDocid) ? 1 : -1; + } + } + assert( pLhs->aNode && pRhs->aNode ); + return rc; +} +static int fts3SegReaderDoclistCmpRev(Fts3SegReader *pLhs, Fts3SegReader *pRhs){ + int rc = (pLhs->pOffsetList==0)-(pRhs->pOffsetList==0); + if( rc==0 ){ + if( pLhs->iDocid==pRhs->iDocid ){ + rc = pRhs->iIdx - pLhs->iIdx; + }else{ + rc = (pLhs->iDocid < pRhs->iDocid) ? 1 : -1; + } + } + assert( pLhs->aNode && pRhs->aNode ); + return rc; +} + +/* +** Compare the term that the Fts3SegReader object passed as the first argument +** points to with the term specified by arguments zTerm and nTerm. +** +** If the pSeg iterator is already at EOF, return 0. Otherwise, return +** -ve if the pSeg term is less than zTerm/nTerm, 0 if the two terms are +** equal, or +ve if the pSeg term is greater than zTerm/nTerm. +*/ +static int fts3SegReaderTermCmp( + Fts3SegReader *pSeg, /* Segment reader object */ + const char *zTerm, /* Term to compare to */ + int nTerm /* Size of term zTerm in bytes */ +){ + int res = 0; + if( pSeg->aNode ){ + if( pSeg->nTerm>nTerm ){ + res = memcmp(pSeg->zTerm, zTerm, nTerm); + }else{ + res = memcmp(pSeg->zTerm, zTerm, pSeg->nTerm); + } + if( res==0 ){ + res = pSeg->nTerm-nTerm; + } + } + return res; +} + +/* +** Argument apSegment is an array of nSegment elements. It is known that +** the final (nSegment-nSuspect) members are already in sorted order +** (according to the comparison function provided). This function shuffles +** the array around until all entries are in sorted order. +*/ +static void fts3SegReaderSort( + Fts3SegReader **apSegment, /* Array to sort entries of */ + int nSegment, /* Size of apSegment array */ + int nSuspect, /* Unsorted entry count */ + int (*xCmp)(Fts3SegReader *, Fts3SegReader *) /* Comparison function */ +){ + int i; /* Iterator variable */ + + assert( nSuspect<=nSegment ); + + if( nSuspect==nSegment ) nSuspect--; + for(i=nSuspect-1; i>=0; i--){ + int j; + for(j=i; j<(nSegment-1); j++){ + Fts3SegReader *pTmp; + if( xCmp(apSegment[j], apSegment[j+1])<0 ) break; + pTmp = apSegment[j+1]; + apSegment[j+1] = apSegment[j]; + apSegment[j] = pTmp; + } + } + +#ifndef NDEBUG + /* Check that the list really is sorted now. */ + for(i=0; i<(nSuspect-1); i++){ + assert( xCmp(apSegment[i], apSegment[i+1])<0 ); + } +#endif +} + +/* +** Insert a record into the %_segments table. +*/ +static int fts3WriteSegment( + Fts3Table *p, /* Virtual table handle */ + sqlite3_int64 iBlock, /* Block id for new block */ + char *z, /* Pointer to buffer containing block data */ + int n /* Size of buffer z in bytes */ +){ + sqlite3_stmt *pStmt; + int rc = fts3SqlStmt(p, SQL_INSERT_SEGMENTS, &pStmt, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pStmt, 1, iBlock); + sqlite3_bind_blob(pStmt, 2, z, n, SQLITE_STATIC); + sqlite3_step(pStmt); + rc = sqlite3_reset(pStmt); + sqlite3_bind_null(pStmt, 2); + } + return rc; +} + +/* +** Find the largest relative level number in the table. If successful, set +** *pnMax to this value and return SQLITE_OK. Otherwise, if an error occurs, +** set *pnMax to zero and return an SQLite error code. +*/ +SQLITE_PRIVATE int sqlite3Fts3MaxLevel(Fts3Table *p, int *pnMax){ + int rc; + int mxLevel = 0; + sqlite3_stmt *pStmt = 0; + + rc = fts3SqlStmt(p, SQL_SELECT_MXLEVEL, &pStmt, 0); + if( rc==SQLITE_OK ){ + if( SQLITE_ROW==sqlite3_step(pStmt) ){ + mxLevel = sqlite3_column_int(pStmt, 0); + } + rc = sqlite3_reset(pStmt); + } + *pnMax = mxLevel; + return rc; +} + +/* +** Insert a record into the %_segdir table. +*/ +static int fts3WriteSegdir( + Fts3Table *p, /* Virtual table handle */ + sqlite3_int64 iLevel, /* Value for "level" field (absolute level) */ + int iIdx, /* Value for "idx" field */ + sqlite3_int64 iStartBlock, /* Value for "start_block" field */ + sqlite3_int64 iLeafEndBlock, /* Value for "leaves_end_block" field */ + sqlite3_int64 iEndBlock, /* Value for "end_block" field */ + sqlite3_int64 nLeafData, /* Bytes of leaf data in segment */ + char *zRoot, /* Blob value for "root" field */ + int nRoot /* Number of bytes in buffer zRoot */ +){ + sqlite3_stmt *pStmt; + int rc = fts3SqlStmt(p, SQL_INSERT_SEGDIR, &pStmt, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pStmt, 1, iLevel); + sqlite3_bind_int(pStmt, 2, iIdx); + sqlite3_bind_int64(pStmt, 3, iStartBlock); + sqlite3_bind_int64(pStmt, 4, iLeafEndBlock); + if( nLeafData==0 ){ + sqlite3_bind_int64(pStmt, 5, iEndBlock); + }else{ + char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData); + if( !zEnd ) return SQLITE_NOMEM; + sqlite3_bind_text(pStmt, 5, zEnd, -1, sqlite3_free); + } + sqlite3_bind_blob(pStmt, 6, zRoot, nRoot, SQLITE_STATIC); + sqlite3_step(pStmt); + rc = sqlite3_reset(pStmt); + sqlite3_bind_null(pStmt, 6); + } + return rc; +} + +/* +** Return the size of the common prefix (if any) shared by zPrev and +** zNext, in bytes. For example, +** +** fts3PrefixCompress("abc", 3, "abcdef", 6) // returns 3 +** fts3PrefixCompress("abX", 3, "abcdef", 6) // returns 2 +** fts3PrefixCompress("abX", 3, "Xbcdef", 6) // returns 0 +*/ +static int fts3PrefixCompress( + const char *zPrev, /* Buffer containing previous term */ + int nPrev, /* Size of buffer zPrev in bytes */ + const char *zNext, /* Buffer containing next term */ + int nNext /* Size of buffer zNext in bytes */ +){ + int n; + UNUSED_PARAMETER(nNext); + for(n=0; nnData; /* Current size of node in bytes */ + int nReq = nData; /* Required space after adding zTerm */ + int nPrefix; /* Number of bytes of prefix compression */ + int nSuffix; /* Suffix length */ + + nPrefix = fts3PrefixCompress(pTree->zTerm, pTree->nTerm, zTerm, nTerm); + nSuffix = nTerm-nPrefix; + + nReq += sqlite3Fts3VarintLen(nPrefix)+sqlite3Fts3VarintLen(nSuffix)+nSuffix; + if( nReq<=p->nNodeSize || !pTree->zTerm ){ + + if( nReq>p->nNodeSize ){ + /* An unusual case: this is the first term to be added to the node + ** and the static node buffer (p->nNodeSize bytes) is not large + ** enough. Use a separately malloced buffer instead This wastes + ** p->nNodeSize bytes, but since this scenario only comes about when + ** the database contain two terms that share a prefix of almost 2KB, + ** this is not expected to be a serious problem. + */ + assert( pTree->aData==(char *)&pTree[1] ); + pTree->aData = (char *)sqlite3_malloc(nReq); + if( !pTree->aData ){ + return SQLITE_NOMEM; + } + } + + if( pTree->zTerm ){ + /* There is no prefix-length field for first term in a node */ + nData += sqlite3Fts3PutVarint(&pTree->aData[nData], nPrefix); + } + + nData += sqlite3Fts3PutVarint(&pTree->aData[nData], nSuffix); + memcpy(&pTree->aData[nData], &zTerm[nPrefix], nSuffix); + pTree->nData = nData + nSuffix; + pTree->nEntry++; + + if( isCopyTerm ){ + if( pTree->nMalloczMalloc, nTerm*2); + if( !zNew ){ + return SQLITE_NOMEM; + } + pTree->nMalloc = nTerm*2; + pTree->zMalloc = zNew; + } + pTree->zTerm = pTree->zMalloc; + memcpy(pTree->zTerm, zTerm, nTerm); + pTree->nTerm = nTerm; + }else{ + pTree->zTerm = (char *)zTerm; + pTree->nTerm = nTerm; + } + return SQLITE_OK; + } + } + + /* If control flows to here, it was not possible to append zTerm to the + ** current node. Create a new node (a right-sibling of the current node). + ** If this is the first node in the tree, the term is added to it. + ** + ** Otherwise, the term is not added to the new node, it is left empty for + ** now. Instead, the term is inserted into the parent of pTree. If pTree + ** has no parent, one is created here. + */ + pNew = (SegmentNode *)sqlite3_malloc(sizeof(SegmentNode) + p->nNodeSize); + if( !pNew ){ + return SQLITE_NOMEM; + } + memset(pNew, 0, sizeof(SegmentNode)); + pNew->nData = 1 + FTS3_VARINT_MAX; + pNew->aData = (char *)&pNew[1]; + + if( pTree ){ + SegmentNode *pParent = pTree->pParent; + rc = fts3NodeAddTerm(p, &pParent, isCopyTerm, zTerm, nTerm); + if( pTree->pParent==0 ){ + pTree->pParent = pParent; + } + pTree->pRight = pNew; + pNew->pLeftmost = pTree->pLeftmost; + pNew->pParent = pParent; + pNew->zMalloc = pTree->zMalloc; + pNew->nMalloc = pTree->nMalloc; + pTree->zMalloc = 0; + }else{ + pNew->pLeftmost = pNew; + rc = fts3NodeAddTerm(p, &pNew, isCopyTerm, zTerm, nTerm); + } + + *ppTree = pNew; + return rc; +} + +/* +** Helper function for fts3NodeWrite(). +*/ +static int fts3TreeFinishNode( + SegmentNode *pTree, + int iHeight, + sqlite3_int64 iLeftChild +){ + int nStart; + assert( iHeight>=1 && iHeight<128 ); + nStart = FTS3_VARINT_MAX - sqlite3Fts3VarintLen(iLeftChild); + pTree->aData[nStart] = (char)iHeight; + sqlite3Fts3PutVarint(&pTree->aData[nStart+1], iLeftChild); + return nStart; +} + +/* +** Write the buffer for the segment node pTree and all of its peers to the +** database. Then call this function recursively to write the parent of +** pTree and its peers to the database. +** +** Except, if pTree is a root node, do not write it to the database. Instead, +** set output variables *paRoot and *pnRoot to contain the root node. +** +** If successful, SQLITE_OK is returned and output variable *piLast is +** set to the largest blockid written to the database (or zero if no +** blocks were written to the db). Otherwise, an SQLite error code is +** returned. +*/ +static int fts3NodeWrite( + Fts3Table *p, /* Virtual table handle */ + SegmentNode *pTree, /* SegmentNode handle */ + int iHeight, /* Height of this node in tree */ + sqlite3_int64 iLeaf, /* Block id of first leaf node */ + sqlite3_int64 iFree, /* Block id of next free slot in %_segments */ + sqlite3_int64 *piLast, /* OUT: Block id of last entry written */ + char **paRoot, /* OUT: Data for root node */ + int *pnRoot /* OUT: Size of root node in bytes */ +){ + int rc = SQLITE_OK; + + if( !pTree->pParent ){ + /* Root node of the tree. */ + int nStart = fts3TreeFinishNode(pTree, iHeight, iLeaf); + *piLast = iFree-1; + *pnRoot = pTree->nData - nStart; + *paRoot = &pTree->aData[nStart]; + }else{ + SegmentNode *pIter; + sqlite3_int64 iNextFree = iFree; + sqlite3_int64 iNextLeaf = iLeaf; + for(pIter=pTree->pLeftmost; pIter && rc==SQLITE_OK; pIter=pIter->pRight){ + int nStart = fts3TreeFinishNode(pIter, iHeight, iNextLeaf); + int nWrite = pIter->nData - nStart; + + rc = fts3WriteSegment(p, iNextFree, &pIter->aData[nStart], nWrite); + iNextFree++; + iNextLeaf += (pIter->nEntry+1); + } + if( rc==SQLITE_OK ){ + assert( iNextLeaf==iFree ); + rc = fts3NodeWrite( + p, pTree->pParent, iHeight+1, iFree, iNextFree, piLast, paRoot, pnRoot + ); + } + } + + return rc; +} + +/* +** Free all memory allocations associated with the tree pTree. +*/ +static void fts3NodeFree(SegmentNode *pTree){ + if( pTree ){ + SegmentNode *p = pTree->pLeftmost; + fts3NodeFree(p->pParent); + while( p ){ + SegmentNode *pRight = p->pRight; + if( p->aData!=(char *)&p[1] ){ + sqlite3_free(p->aData); + } + assert( pRight==0 || p->zMalloc==0 ); + sqlite3_free(p->zMalloc); + sqlite3_free(p); + p = pRight; + } + } +} + +/* +** Add a term to the segment being constructed by the SegmentWriter object +** *ppWriter. When adding the first term to a segment, *ppWriter should +** be passed NULL. This function will allocate a new SegmentWriter object +** and return it via the input/output variable *ppWriter in this case. +** +** If successful, SQLITE_OK is returned. Otherwise, an SQLite error code. +*/ +static int fts3SegWriterAdd( + Fts3Table *p, /* Virtual table handle */ + SegmentWriter **ppWriter, /* IN/OUT: SegmentWriter handle */ + int isCopyTerm, /* True if buffer zTerm must be copied */ + const char *zTerm, /* Pointer to buffer containing term */ + int nTerm, /* Size of term in bytes */ + const char *aDoclist, /* Pointer to buffer containing doclist */ + int nDoclist /* Size of doclist in bytes */ +){ + int nPrefix; /* Size of term prefix in bytes */ + int nSuffix; /* Size of term suffix in bytes */ + int nReq; /* Number of bytes required on leaf page */ + int nData; + SegmentWriter *pWriter = *ppWriter; + + if( !pWriter ){ + int rc; + sqlite3_stmt *pStmt; + + /* Allocate the SegmentWriter structure */ + pWriter = (SegmentWriter *)sqlite3_malloc(sizeof(SegmentWriter)); + if( !pWriter ) return SQLITE_NOMEM; + memset(pWriter, 0, sizeof(SegmentWriter)); + *ppWriter = pWriter; + + /* Allocate a buffer in which to accumulate data */ + pWriter->aData = (char *)sqlite3_malloc(p->nNodeSize); + if( !pWriter->aData ) return SQLITE_NOMEM; + pWriter->nSize = p->nNodeSize; + + /* Find the next free blockid in the %_segments table */ + rc = fts3SqlStmt(p, SQL_NEXT_SEGMENTS_ID, &pStmt, 0); + if( rc!=SQLITE_OK ) return rc; + if( SQLITE_ROW==sqlite3_step(pStmt) ){ + pWriter->iFree = sqlite3_column_int64(pStmt, 0); + pWriter->iFirst = pWriter->iFree; + } + rc = sqlite3_reset(pStmt); + if( rc!=SQLITE_OK ) return rc; + } + nData = pWriter->nData; + + nPrefix = fts3PrefixCompress(pWriter->zTerm, pWriter->nTerm, zTerm, nTerm); + nSuffix = nTerm-nPrefix; + + /* If nSuffix is zero or less, then zTerm/nTerm must be a prefix of + ** pWriter->zTerm/pWriter->nTerm. i.e. must be equal to or less than when + ** compared with BINARY collation. This indicates corruption. */ + if( nSuffix<=0 ) return FTS_CORRUPT_VTAB; + + /* Figure out how many bytes are required by this new entry */ + nReq = sqlite3Fts3VarintLen(nPrefix) + /* varint containing prefix size */ + sqlite3Fts3VarintLen(nSuffix) + /* varint containing suffix size */ + nSuffix + /* Term suffix */ + sqlite3Fts3VarintLen(nDoclist) + /* Size of doclist */ + nDoclist; /* Doclist data */ + + if( nData>0 && nData+nReq>p->nNodeSize ){ + int rc; + + /* The current leaf node is full. Write it out to the database. */ + rc = fts3WriteSegment(p, pWriter->iFree++, pWriter->aData, nData); + if( rc!=SQLITE_OK ) return rc; + p->nLeafAdd++; + + /* Add the current term to the interior node tree. The term added to + ** the interior tree must: + ** + ** a) be greater than the largest term on the leaf node just written + ** to the database (still available in pWriter->zTerm), and + ** + ** b) be less than or equal to the term about to be added to the new + ** leaf node (zTerm/nTerm). + ** + ** In other words, it must be the prefix of zTerm 1 byte longer than + ** the common prefix (if any) of zTerm and pWriter->zTerm. + */ + assert( nPrefixpTree, isCopyTerm, zTerm, nPrefix+1); + if( rc!=SQLITE_OK ) return rc; + + nData = 0; + pWriter->nTerm = 0; + + nPrefix = 0; + nSuffix = nTerm; + nReq = 1 + /* varint containing prefix size */ + sqlite3Fts3VarintLen(nTerm) + /* varint containing suffix size */ + nTerm + /* Term suffix */ + sqlite3Fts3VarintLen(nDoclist) + /* Size of doclist */ + nDoclist; /* Doclist data */ + } + + /* Increase the total number of bytes written to account for the new entry. */ + pWriter->nLeafData += nReq; + + /* If the buffer currently allocated is too small for this entry, realloc + ** the buffer to make it large enough. + */ + if( nReq>pWriter->nSize ){ + char *aNew = sqlite3_realloc(pWriter->aData, nReq); + if( !aNew ) return SQLITE_NOMEM; + pWriter->aData = aNew; + pWriter->nSize = nReq; + } + assert( nData+nReq<=pWriter->nSize ); + + /* Append the prefix-compressed term and doclist to the buffer. */ + nData += sqlite3Fts3PutVarint(&pWriter->aData[nData], nPrefix); + nData += sqlite3Fts3PutVarint(&pWriter->aData[nData], nSuffix); + memcpy(&pWriter->aData[nData], &zTerm[nPrefix], nSuffix); + nData += nSuffix; + nData += sqlite3Fts3PutVarint(&pWriter->aData[nData], nDoclist); + memcpy(&pWriter->aData[nData], aDoclist, nDoclist); + pWriter->nData = nData + nDoclist; + + /* Save the current term so that it can be used to prefix-compress the next. + ** If the isCopyTerm parameter is true, then the buffer pointed to by + ** zTerm is transient, so take a copy of the term data. Otherwise, just + ** store a copy of the pointer. + */ + if( isCopyTerm ){ + if( nTerm>pWriter->nMalloc ){ + char *zNew = sqlite3_realloc(pWriter->zMalloc, nTerm*2); + if( !zNew ){ + return SQLITE_NOMEM; + } + pWriter->nMalloc = nTerm*2; + pWriter->zMalloc = zNew; + pWriter->zTerm = zNew; + } + assert( pWriter->zTerm==pWriter->zMalloc ); + memcpy(pWriter->zTerm, zTerm, nTerm); + }else{ + pWriter->zTerm = (char *)zTerm; + } + pWriter->nTerm = nTerm; + + return SQLITE_OK; +} + +/* +** Flush all data associated with the SegmentWriter object pWriter to the +** database. This function must be called after all terms have been added +** to the segment using fts3SegWriterAdd(). If successful, SQLITE_OK is +** returned. Otherwise, an SQLite error code. +*/ +static int fts3SegWriterFlush( + Fts3Table *p, /* Virtual table handle */ + SegmentWriter *pWriter, /* SegmentWriter to flush to the db */ + sqlite3_int64 iLevel, /* Value for 'level' column of %_segdir */ + int iIdx /* Value for 'idx' column of %_segdir */ +){ + int rc; /* Return code */ + if( pWriter->pTree ){ + sqlite3_int64 iLast = 0; /* Largest block id written to database */ + sqlite3_int64 iLastLeaf; /* Largest leaf block id written to db */ + char *zRoot = NULL; /* Pointer to buffer containing root node */ + int nRoot = 0; /* Size of buffer zRoot */ + + iLastLeaf = pWriter->iFree; + rc = fts3WriteSegment(p, pWriter->iFree++, pWriter->aData, pWriter->nData); + if( rc==SQLITE_OK ){ + rc = fts3NodeWrite(p, pWriter->pTree, 1, + pWriter->iFirst, pWriter->iFree, &iLast, &zRoot, &nRoot); + } + if( rc==SQLITE_OK ){ + rc = fts3WriteSegdir(p, iLevel, iIdx, + pWriter->iFirst, iLastLeaf, iLast, pWriter->nLeafData, zRoot, nRoot); + } + }else{ + /* The entire tree fits on the root node. Write it to the segdir table. */ + rc = fts3WriteSegdir(p, iLevel, iIdx, + 0, 0, 0, pWriter->nLeafData, pWriter->aData, pWriter->nData); + } + p->nLeafAdd++; + return rc; +} + +/* +** Release all memory held by the SegmentWriter object passed as the +** first argument. +*/ +static void fts3SegWriterFree(SegmentWriter *pWriter){ + if( pWriter ){ + sqlite3_free(pWriter->aData); + sqlite3_free(pWriter->zMalloc); + fts3NodeFree(pWriter->pTree); + sqlite3_free(pWriter); + } +} + +/* +** The first value in the apVal[] array is assumed to contain an integer. +** This function tests if there exist any documents with docid values that +** are different from that integer. i.e. if deleting the document with docid +** pRowid would mean the FTS3 table were empty. +** +** If successful, *pisEmpty is set to true if the table is empty except for +** document pRowid, or false otherwise, and SQLITE_OK is returned. If an +** error occurs, an SQLite error code is returned. +*/ +static int fts3IsEmpty(Fts3Table *p, sqlite3_value *pRowid, int *pisEmpty){ + sqlite3_stmt *pStmt; + int rc; + if( p->zContentTbl ){ + /* If using the content=xxx option, assume the table is never empty */ + *pisEmpty = 0; + rc = SQLITE_OK; + }else{ + rc = fts3SqlStmt(p, SQL_IS_EMPTY, &pStmt, &pRowid); + if( rc==SQLITE_OK ){ + if( SQLITE_ROW==sqlite3_step(pStmt) ){ + *pisEmpty = sqlite3_column_int(pStmt, 0); + } + rc = sqlite3_reset(pStmt); + } + } + return rc; +} + +/* +** Set *pnMax to the largest segment level in the database for the index +** iIndex. +** +** Segment levels are stored in the 'level' column of the %_segdir table. +** +** Return SQLITE_OK if successful, or an SQLite error code if not. +*/ +static int fts3SegmentMaxLevel( + Fts3Table *p, + int iLangid, + int iIndex, + sqlite3_int64 *pnMax +){ + sqlite3_stmt *pStmt; + int rc; + assert( iIndex>=0 && iIndexnIndex ); + + /* Set pStmt to the compiled version of: + ** + ** SELECT max(level) FROM %Q.'%q_segdir' WHERE level BETWEEN ? AND ? + ** + ** (1024 is actually the value of macro FTS3_SEGDIR_PREFIXLEVEL_STR). + */ + rc = fts3SqlStmt(p, SQL_SELECT_SEGDIR_MAX_LEVEL, &pStmt, 0); + if( rc!=SQLITE_OK ) return rc; + sqlite3_bind_int64(pStmt, 1, getAbsoluteLevel(p, iLangid, iIndex, 0)); + sqlite3_bind_int64(pStmt, 2, + getAbsoluteLevel(p, iLangid, iIndex, FTS3_SEGDIR_MAXLEVEL-1) + ); + if( SQLITE_ROW==sqlite3_step(pStmt) ){ + *pnMax = sqlite3_column_int64(pStmt, 0); + } + return sqlite3_reset(pStmt); +} + +/* +** iAbsLevel is an absolute level that may be assumed to exist within +** the database. This function checks if it is the largest level number +** within its index. Assuming no error occurs, *pbMax is set to 1 if +** iAbsLevel is indeed the largest level, or 0 otherwise, and SQLITE_OK +** is returned. If an error occurs, an error code is returned and the +** final value of *pbMax is undefined. +*/ +static int fts3SegmentIsMaxLevel(Fts3Table *p, i64 iAbsLevel, int *pbMax){ + + /* Set pStmt to the compiled version of: + ** + ** SELECT max(level) FROM %Q.'%q_segdir' WHERE level BETWEEN ? AND ? + ** + ** (1024 is actually the value of macro FTS3_SEGDIR_PREFIXLEVEL_STR). + */ + sqlite3_stmt *pStmt; + int rc = fts3SqlStmt(p, SQL_SELECT_SEGDIR_MAX_LEVEL, &pStmt, 0); + if( rc!=SQLITE_OK ) return rc; + sqlite3_bind_int64(pStmt, 1, iAbsLevel+1); + sqlite3_bind_int64(pStmt, 2, + ((iAbsLevel/FTS3_SEGDIR_MAXLEVEL)+1) * FTS3_SEGDIR_MAXLEVEL + ); + + *pbMax = 0; + if( SQLITE_ROW==sqlite3_step(pStmt) ){ + *pbMax = sqlite3_column_type(pStmt, 0)==SQLITE_NULL; + } + return sqlite3_reset(pStmt); +} + +/* +** Delete all entries in the %_segments table associated with the segment +** opened with seg-reader pSeg. This function does not affect the contents +** of the %_segdir table. +*/ +static int fts3DeleteSegment( + Fts3Table *p, /* FTS table handle */ + Fts3SegReader *pSeg /* Segment to delete */ +){ + int rc = SQLITE_OK; /* Return code */ + if( pSeg->iStartBlock ){ + sqlite3_stmt *pDelete; /* SQL statement to delete rows */ + rc = fts3SqlStmt(p, SQL_DELETE_SEGMENTS_RANGE, &pDelete, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pDelete, 1, pSeg->iStartBlock); + sqlite3_bind_int64(pDelete, 2, pSeg->iEndBlock); + sqlite3_step(pDelete); + rc = sqlite3_reset(pDelete); + } + } + return rc; +} + +/* +** This function is used after merging multiple segments into a single large +** segment to delete the old, now redundant, segment b-trees. Specifically, +** it: +** +** 1) Deletes all %_segments entries for the segments associated with +** each of the SegReader objects in the array passed as the third +** argument, and +** +** 2) deletes all %_segdir entries with level iLevel, or all %_segdir +** entries regardless of level if (iLevel<0). +** +** SQLITE_OK is returned if successful, otherwise an SQLite error code. +*/ +static int fts3DeleteSegdir( + Fts3Table *p, /* Virtual table handle */ + int iLangid, /* Language id */ + int iIndex, /* Index for p->aIndex */ + int iLevel, /* Level of %_segdir entries to delete */ + Fts3SegReader **apSegment, /* Array of SegReader objects */ + int nReader /* Size of array apSegment */ +){ + int rc = SQLITE_OK; /* Return Code */ + int i; /* Iterator variable */ + sqlite3_stmt *pDelete = 0; /* SQL statement to delete rows */ + + for(i=0; rc==SQLITE_OK && i=0 || iLevel==FTS3_SEGCURSOR_ALL ); + if( iLevel==FTS3_SEGCURSOR_ALL ){ + rc = fts3SqlStmt(p, SQL_DELETE_SEGDIR_RANGE, &pDelete, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pDelete, 1, getAbsoluteLevel(p, iLangid, iIndex, 0)); + sqlite3_bind_int64(pDelete, 2, + getAbsoluteLevel(p, iLangid, iIndex, FTS3_SEGDIR_MAXLEVEL-1) + ); + } + }else{ + rc = fts3SqlStmt(p, SQL_DELETE_SEGDIR_LEVEL, &pDelete, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64( + pDelete, 1, getAbsoluteLevel(p, iLangid, iIndex, iLevel) + ); + } + } + + if( rc==SQLITE_OK ){ + sqlite3_step(pDelete); + rc = sqlite3_reset(pDelete); + } + + return rc; +} + +/* +** When this function is called, buffer *ppList (size *pnList bytes) contains +** a position list that may (or may not) feature multiple columns. This +** function adjusts the pointer *ppList and the length *pnList so that they +** identify the subset of the position list that corresponds to column iCol. +** +** If there are no entries in the input position list for column iCol, then +** *pnList is set to zero before returning. +** +** If parameter bZero is non-zero, then any part of the input list following +** the end of the output list is zeroed before returning. +*/ +static void fts3ColumnFilter( + int iCol, /* Column to filter on */ + int bZero, /* Zero out anything following *ppList */ + char **ppList, /* IN/OUT: Pointer to position list */ + int *pnList /* IN/OUT: Size of buffer *ppList in bytes */ +){ + char *pList = *ppList; + int nList = *pnList; + char *pEnd = &pList[nList]; + int iCurrent = 0; + char *p = pList; + + assert( iCol>=0 ); + while( 1 ){ + char c = 0; + while( p0){ + memset(&pList[nList], 0, pEnd - &pList[nList]); + } + *ppList = pList; + *pnList = nList; +} + +/* +** Cache data in the Fts3MultiSegReader.aBuffer[] buffer (overwriting any +** existing data). Grow the buffer if required. +** +** If successful, return SQLITE_OK. Otherwise, if an OOM error is encountered +** trying to resize the buffer, return SQLITE_NOMEM. +*/ +static int fts3MsrBufferData( + Fts3MultiSegReader *pMsr, /* Multi-segment-reader handle */ + char *pList, + int nList +){ + if( nList>pMsr->nBuffer ){ + char *pNew; + pMsr->nBuffer = nList*2; + pNew = (char *)sqlite3_realloc(pMsr->aBuffer, pMsr->nBuffer); + if( !pNew ) return SQLITE_NOMEM; + pMsr->aBuffer = pNew; + } + + memcpy(pMsr->aBuffer, pList, nList); + return SQLITE_OK; +} + +SQLITE_PRIVATE int sqlite3Fts3MsrIncrNext( + Fts3Table *p, /* Virtual table handle */ + Fts3MultiSegReader *pMsr, /* Multi-segment-reader handle */ + sqlite3_int64 *piDocid, /* OUT: Docid value */ + char **paPoslist, /* OUT: Pointer to position list */ + int *pnPoslist /* OUT: Size of position list in bytes */ +){ + int nMerge = pMsr->nAdvance; + Fts3SegReader **apSegment = pMsr->apSegment; + int (*xCmp)(Fts3SegReader *, Fts3SegReader *) = ( + p->bDescIdx ? fts3SegReaderDoclistCmpRev : fts3SegReaderDoclistCmp + ); + + if( nMerge==0 ){ + *paPoslist = 0; + return SQLITE_OK; + } + + while( 1 ){ + Fts3SegReader *pSeg; + pSeg = pMsr->apSegment[0]; + + if( pSeg->pOffsetList==0 ){ + *paPoslist = 0; + break; + }else{ + int rc; + char *pList; + int nList; + int j; + sqlite3_int64 iDocid = apSegment[0]->iDocid; + + rc = fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList); + j = 1; + while( rc==SQLITE_OK + && jpOffsetList + && apSegment[j]->iDocid==iDocid + ){ + rc = fts3SegReaderNextDocid(p, apSegment[j], 0, 0); + j++; + } + if( rc!=SQLITE_OK ) return rc; + fts3SegReaderSort(pMsr->apSegment, nMerge, j, xCmp); + + if( nList>0 && fts3SegReaderIsPending(apSegment[0]) ){ + rc = fts3MsrBufferData(pMsr, pList, nList+1); + if( rc!=SQLITE_OK ) return rc; + assert( (pMsr->aBuffer[nList] & 0xFE)==0x00 ); + pList = pMsr->aBuffer; + } + + if( pMsr->iColFilter>=0 ){ + fts3ColumnFilter(pMsr->iColFilter, 1, &pList, &nList); + } + + if( nList>0 ){ + *paPoslist = pList; + *piDocid = iDocid; + *pnPoslist = nList; + break; + } + } + } + + return SQLITE_OK; +} + +static int fts3SegReaderStart( + Fts3Table *p, /* Virtual table handle */ + Fts3MultiSegReader *pCsr, /* Cursor object */ + const char *zTerm, /* Term searched for (or NULL) */ + int nTerm /* Length of zTerm in bytes */ +){ + int i; + int nSeg = pCsr->nSegment; + + /* If the Fts3SegFilter defines a specific term (or term prefix) to search + ** for, then advance each segment iterator until it points to a term of + ** equal or greater value than the specified term. This prevents many + ** unnecessary merge/sort operations for the case where single segment + ** b-tree leaf nodes contain more than one term. + */ + for(i=0; pCsr->bRestart==0 && inSegment; i++){ + int res = 0; + Fts3SegReader *pSeg = pCsr->apSegment[i]; + do { + int rc = fts3SegReaderNext(p, pSeg, 0); + if( rc!=SQLITE_OK ) return rc; + }while( zTerm && (res = fts3SegReaderTermCmp(pSeg, zTerm, nTerm))<0 ); + + if( pSeg->bLookup && res!=0 ){ + fts3SegReaderSetEof(pSeg); + } + } + fts3SegReaderSort(pCsr->apSegment, nSeg, nSeg, fts3SegReaderCmp); + + return SQLITE_OK; +} + +SQLITE_PRIVATE int sqlite3Fts3SegReaderStart( + Fts3Table *p, /* Virtual table handle */ + Fts3MultiSegReader *pCsr, /* Cursor object */ + Fts3SegFilter *pFilter /* Restrictions on range of iteration */ +){ + pCsr->pFilter = pFilter; + return fts3SegReaderStart(p, pCsr, pFilter->zTerm, pFilter->nTerm); +} + +SQLITE_PRIVATE int sqlite3Fts3MsrIncrStart( + Fts3Table *p, /* Virtual table handle */ + Fts3MultiSegReader *pCsr, /* Cursor object */ + int iCol, /* Column to match on. */ + const char *zTerm, /* Term to iterate through a doclist for */ + int nTerm /* Number of bytes in zTerm */ +){ + int i; + int rc; + int nSegment = pCsr->nSegment; + int (*xCmp)(Fts3SegReader *, Fts3SegReader *) = ( + p->bDescIdx ? fts3SegReaderDoclistCmpRev : fts3SegReaderDoclistCmp + ); + + assert( pCsr->pFilter==0 ); + assert( zTerm && nTerm>0 ); + + /* Advance each segment iterator until it points to the term zTerm/nTerm. */ + rc = fts3SegReaderStart(p, pCsr, zTerm, nTerm); + if( rc!=SQLITE_OK ) return rc; + + /* Determine how many of the segments actually point to zTerm/nTerm. */ + for(i=0; iapSegment[i]; + if( !pSeg->aNode || fts3SegReaderTermCmp(pSeg, zTerm, nTerm) ){ + break; + } + } + pCsr->nAdvance = i; + + /* Advance each of the segments to point to the first docid. */ + for(i=0; inAdvance; i++){ + rc = fts3SegReaderFirstDocid(p, pCsr->apSegment[i]); + if( rc!=SQLITE_OK ) return rc; + } + fts3SegReaderSort(pCsr->apSegment, i, i, xCmp); + + assert( iCol<0 || iColnColumn ); + pCsr->iColFilter = iCol; + + return SQLITE_OK; +} + +/* +** This function is called on a MultiSegReader that has been started using +** sqlite3Fts3MsrIncrStart(). One or more calls to MsrIncrNext() may also +** have been made. Calling this function puts the MultiSegReader in such +** a state that if the next two calls are: +** +** sqlite3Fts3SegReaderStart() +** sqlite3Fts3SegReaderStep() +** +** then the entire doclist for the term is available in +** MultiSegReader.aDoclist/nDoclist. +*/ +SQLITE_PRIVATE int sqlite3Fts3MsrIncrRestart(Fts3MultiSegReader *pCsr){ + int i; /* Used to iterate through segment-readers */ + + assert( pCsr->zTerm==0 ); + assert( pCsr->nTerm==0 ); + assert( pCsr->aDoclist==0 ); + assert( pCsr->nDoclist==0 ); + + pCsr->nAdvance = 0; + pCsr->bRestart = 1; + for(i=0; inSegment; i++){ + pCsr->apSegment[i]->pOffsetList = 0; + pCsr->apSegment[i]->nOffsetList = 0; + pCsr->apSegment[i]->iDocid = 0; + } + + return SQLITE_OK; +} + + +SQLITE_PRIVATE int sqlite3Fts3SegReaderStep( + Fts3Table *p, /* Virtual table handle */ + Fts3MultiSegReader *pCsr /* Cursor object */ +){ + int rc = SQLITE_OK; + + int isIgnoreEmpty = (pCsr->pFilter->flags & FTS3_SEGMENT_IGNORE_EMPTY); + int isRequirePos = (pCsr->pFilter->flags & FTS3_SEGMENT_REQUIRE_POS); + int isColFilter = (pCsr->pFilter->flags & FTS3_SEGMENT_COLUMN_FILTER); + int isPrefix = (pCsr->pFilter->flags & FTS3_SEGMENT_PREFIX); + int isScan = (pCsr->pFilter->flags & FTS3_SEGMENT_SCAN); + int isFirst = (pCsr->pFilter->flags & FTS3_SEGMENT_FIRST); + + Fts3SegReader **apSegment = pCsr->apSegment; + int nSegment = pCsr->nSegment; + Fts3SegFilter *pFilter = pCsr->pFilter; + int (*xCmp)(Fts3SegReader *, Fts3SegReader *) = ( + p->bDescIdx ? fts3SegReaderDoclistCmpRev : fts3SegReaderDoclistCmp + ); + + if( pCsr->nSegment==0 ) return SQLITE_OK; + + do { + int nMerge; + int i; + + /* Advance the first pCsr->nAdvance entries in the apSegment[] array + ** forward. Then sort the list in order of current term again. + */ + for(i=0; inAdvance; i++){ + Fts3SegReader *pSeg = apSegment[i]; + if( pSeg->bLookup ){ + fts3SegReaderSetEof(pSeg); + }else{ + rc = fts3SegReaderNext(p, pSeg, 0); + } + if( rc!=SQLITE_OK ) return rc; + } + fts3SegReaderSort(apSegment, nSegment, pCsr->nAdvance, fts3SegReaderCmp); + pCsr->nAdvance = 0; + + /* If all the seg-readers are at EOF, we're finished. return SQLITE_OK. */ + assert( rc==SQLITE_OK ); + if( apSegment[0]->aNode==0 ) break; + + pCsr->nTerm = apSegment[0]->nTerm; + pCsr->zTerm = apSegment[0]->zTerm; + + /* If this is a prefix-search, and if the term that apSegment[0] points + ** to does not share a suffix with pFilter->zTerm/nTerm, then all + ** required callbacks have been made. In this case exit early. + ** + ** Similarly, if this is a search for an exact match, and the first term + ** of segment apSegment[0] is not a match, exit early. + */ + if( pFilter->zTerm && !isScan ){ + if( pCsr->nTermnTerm + || (!isPrefix && pCsr->nTerm>pFilter->nTerm) + || memcmp(pCsr->zTerm, pFilter->zTerm, pFilter->nTerm) + ){ + break; + } + } + + nMerge = 1; + while( nMergeaNode + && apSegment[nMerge]->nTerm==pCsr->nTerm + && 0==memcmp(pCsr->zTerm, apSegment[nMerge]->zTerm, pCsr->nTerm) + ){ + nMerge++; + } + + assert( isIgnoreEmpty || (isRequirePos && !isColFilter) ); + if( nMerge==1 + && !isIgnoreEmpty + && !isFirst + && (p->bDescIdx==0 || fts3SegReaderIsPending(apSegment[0])==0) + ){ + pCsr->nDoclist = apSegment[0]->nDoclist; + if( fts3SegReaderIsPending(apSegment[0]) ){ + rc = fts3MsrBufferData(pCsr, apSegment[0]->aDoclist, pCsr->nDoclist); + pCsr->aDoclist = pCsr->aBuffer; + }else{ + pCsr->aDoclist = apSegment[0]->aDoclist; + } + if( rc==SQLITE_OK ) rc = SQLITE_ROW; + }else{ + int nDoclist = 0; /* Size of doclist */ + sqlite3_int64 iPrev = 0; /* Previous docid stored in doclist */ + + /* The current term of the first nMerge entries in the array + ** of Fts3SegReader objects is the same. The doclists must be merged + ** and a single term returned with the merged doclist. + */ + for(i=0; ipOffsetList ){ + int j; /* Number of segments that share a docid */ + char *pList = 0; + int nList = 0; + int nByte; + sqlite3_int64 iDocid = apSegment[0]->iDocid; + fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList); + j = 1; + while( jpOffsetList + && apSegment[j]->iDocid==iDocid + ){ + fts3SegReaderNextDocid(p, apSegment[j], 0, 0); + j++; + } + + if( isColFilter ){ + fts3ColumnFilter(pFilter->iCol, 0, &pList, &nList); + } + + if( !isIgnoreEmpty || nList>0 ){ + + /* Calculate the 'docid' delta value to write into the merged + ** doclist. */ + sqlite3_int64 iDelta; + if( p->bDescIdx && nDoclist>0 ){ + iDelta = iPrev - iDocid; + }else{ + iDelta = iDocid - iPrev; + } + if( iDelta<=0 && (nDoclist>0 || iDelta!=iDocid) ){ + return FTS_CORRUPT_VTAB; + } + assert( nDoclist>0 || iDelta==iDocid ); + + nByte = sqlite3Fts3VarintLen(iDelta) + (isRequirePos?nList+1:0); + if( nDoclist+nByte>pCsr->nBuffer ){ + char *aNew; + pCsr->nBuffer = (nDoclist+nByte)*2; + aNew = sqlite3_realloc(pCsr->aBuffer, pCsr->nBuffer); + if( !aNew ){ + return SQLITE_NOMEM; + } + pCsr->aBuffer = aNew; + } + + if( isFirst ){ + char *a = &pCsr->aBuffer[nDoclist]; + int nWrite; + + nWrite = sqlite3Fts3FirstFilter(iDelta, pList, nList, a); + if( nWrite ){ + iPrev = iDocid; + nDoclist += nWrite; + } + }else{ + nDoclist += sqlite3Fts3PutVarint(&pCsr->aBuffer[nDoclist], iDelta); + iPrev = iDocid; + if( isRequirePos ){ + memcpy(&pCsr->aBuffer[nDoclist], pList, nList); + nDoclist += nList; + pCsr->aBuffer[nDoclist++] = '\0'; + } + } + } + + fts3SegReaderSort(apSegment, nMerge, j, xCmp); + } + if( nDoclist>0 ){ + pCsr->aDoclist = pCsr->aBuffer; + pCsr->nDoclist = nDoclist; + rc = SQLITE_ROW; + } + } + pCsr->nAdvance = nMerge; + }while( rc==SQLITE_OK ); + + return rc; +} + + +SQLITE_PRIVATE void sqlite3Fts3SegReaderFinish( + Fts3MultiSegReader *pCsr /* Cursor object */ +){ + if( pCsr ){ + int i; + for(i=0; inSegment; i++){ + sqlite3Fts3SegReaderFree(pCsr->apSegment[i]); + } + sqlite3_free(pCsr->apSegment); + sqlite3_free(pCsr->aBuffer); + + pCsr->nSegment = 0; + pCsr->apSegment = 0; + pCsr->aBuffer = 0; + } +} + +/* +** Decode the "end_block" field, selected by column iCol of the SELECT +** statement passed as the first argument. +** +** The "end_block" field may contain either an integer, or a text field +** containing the text representation of two non-negative integers separated +** by one or more space (0x20) characters. In the first case, set *piEndBlock +** to the integer value and *pnByte to zero before returning. In the second, +** set *piEndBlock to the first value and *pnByte to the second. +*/ +static void fts3ReadEndBlockField( + sqlite3_stmt *pStmt, + int iCol, + i64 *piEndBlock, + i64 *pnByte +){ + const unsigned char *zText = sqlite3_column_text(pStmt, iCol); + if( zText ){ + int i; + int iMul = 1; + i64 iVal = 0; + for(i=0; zText[i]>='0' && zText[i]<='9'; i++){ + iVal = iVal*10 + (zText[i] - '0'); + } + *piEndBlock = iVal; + while( zText[i]==' ' ) i++; + iVal = 0; + if( zText[i]=='-' ){ + i++; + iMul = -1; + } + for(/* no-op */; zText[i]>='0' && zText[i]<='9'; i++){ + iVal = iVal*10 + (zText[i] - '0'); + } + *pnByte = (iVal * (i64)iMul); + } +} + + +/* +** A segment of size nByte bytes has just been written to absolute level +** iAbsLevel. Promote any segments that should be promoted as a result. +*/ +static int fts3PromoteSegments( + Fts3Table *p, /* FTS table handle */ + sqlite3_int64 iAbsLevel, /* Absolute level just updated */ + sqlite3_int64 nByte /* Size of new segment at iAbsLevel */ +){ + int rc = SQLITE_OK; + sqlite3_stmt *pRange; + + rc = fts3SqlStmt(p, SQL_SELECT_LEVEL_RANGE2, &pRange, 0); + + if( rc==SQLITE_OK ){ + int bOk = 0; + i64 iLast = (iAbsLevel/FTS3_SEGDIR_MAXLEVEL + 1) * FTS3_SEGDIR_MAXLEVEL - 1; + i64 nLimit = (nByte*3)/2; + + /* Loop through all entries in the %_segdir table corresponding to + ** segments in this index on levels greater than iAbsLevel. If there is + ** at least one such segment, and it is possible to determine that all + ** such segments are smaller than nLimit bytes in size, they will be + ** promoted to level iAbsLevel. */ + sqlite3_bind_int64(pRange, 1, iAbsLevel+1); + sqlite3_bind_int64(pRange, 2, iLast); + while( SQLITE_ROW==sqlite3_step(pRange) ){ + i64 nSize = 0, dummy; + fts3ReadEndBlockField(pRange, 2, &dummy, &nSize); + if( nSize<=0 || nSize>nLimit ){ + /* If nSize==0, then the %_segdir.end_block field does not not + ** contain a size value. This happens if it was written by an + ** old version of FTS. In this case it is not possible to determine + ** the size of the segment, and so segment promotion does not + ** take place. */ + bOk = 0; + break; + } + bOk = 1; + } + rc = sqlite3_reset(pRange); + + if( bOk ){ + int iIdx = 0; + sqlite3_stmt *pUpdate1 = 0; + sqlite3_stmt *pUpdate2 = 0; + + if( rc==SQLITE_OK ){ + rc = fts3SqlStmt(p, SQL_UPDATE_LEVEL_IDX, &pUpdate1, 0); + } + if( rc==SQLITE_OK ){ + rc = fts3SqlStmt(p, SQL_UPDATE_LEVEL, &pUpdate2, 0); + } + + if( rc==SQLITE_OK ){ + + /* Loop through all %_segdir entries for segments in this index with + ** levels equal to or greater than iAbsLevel. As each entry is visited, + ** updated it to set (level = -1) and (idx = N), where N is 0 for the + ** oldest segment in the range, 1 for the next oldest, and so on. + ** + ** In other words, move all segments being promoted to level -1, + ** setting the "idx" fields as appropriate to keep them in the same + ** order. The contents of level -1 (which is never used, except + ** transiently here), will be moved back to level iAbsLevel below. */ + sqlite3_bind_int64(pRange, 1, iAbsLevel); + while( SQLITE_ROW==sqlite3_step(pRange) ){ + sqlite3_bind_int(pUpdate1, 1, iIdx++); + sqlite3_bind_int(pUpdate1, 2, sqlite3_column_int(pRange, 0)); + sqlite3_bind_int(pUpdate1, 3, sqlite3_column_int(pRange, 1)); + sqlite3_step(pUpdate1); + rc = sqlite3_reset(pUpdate1); + if( rc!=SQLITE_OK ){ + sqlite3_reset(pRange); + break; + } + } + } + if( rc==SQLITE_OK ){ + rc = sqlite3_reset(pRange); + } + + /* Move level -1 to level iAbsLevel */ + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pUpdate2, 1, iAbsLevel); + sqlite3_step(pUpdate2); + rc = sqlite3_reset(pUpdate2); + } + } + } + + + return rc; +} + +/* +** Merge all level iLevel segments in the database into a single +** iLevel+1 segment. Or, if iLevel<0, merge all segments into a +** single segment with a level equal to the numerically largest level +** currently present in the database. +** +** If this function is called with iLevel<0, but there is only one +** segment in the database, SQLITE_DONE is returned immediately. +** Otherwise, if successful, SQLITE_OK is returned. If an error occurs, +** an SQLite error code is returned. +*/ +static int fts3SegmentMerge( + Fts3Table *p, + int iLangid, /* Language id to merge */ + int iIndex, /* Index in p->aIndex[] to merge */ + int iLevel /* Level to merge */ +){ + int rc; /* Return code */ + int iIdx = 0; /* Index of new segment */ + sqlite3_int64 iNewLevel = 0; /* Level/index to create new segment at */ + SegmentWriter *pWriter = 0; /* Used to write the new, merged, segment */ + Fts3SegFilter filter; /* Segment term filter condition */ + Fts3MultiSegReader csr; /* Cursor to iterate through level(s) */ + int bIgnoreEmpty = 0; /* True to ignore empty segments */ + i64 iMaxLevel = 0; /* Max level number for this index/langid */ + + assert( iLevel==FTS3_SEGCURSOR_ALL + || iLevel==FTS3_SEGCURSOR_PENDING + || iLevel>=0 + ); + assert( iLevel=0 && iIndexnIndex ); + + rc = sqlite3Fts3SegReaderCursor(p, iLangid, iIndex, iLevel, 0, 0, 1, 0, &csr); + if( rc!=SQLITE_OK || csr.nSegment==0 ) goto finished; + + if( iLevel!=FTS3_SEGCURSOR_PENDING ){ + rc = fts3SegmentMaxLevel(p, iLangid, iIndex, &iMaxLevel); + if( rc!=SQLITE_OK ) goto finished; + } + + if( iLevel==FTS3_SEGCURSOR_ALL ){ + /* This call is to merge all segments in the database to a single + ** segment. The level of the new segment is equal to the numerically + ** greatest segment level currently present in the database for this + ** index. The idx of the new segment is always 0. */ + if( csr.nSegment==1 && 0==fts3SegReaderIsPending(csr.apSegment[0]) ){ + rc = SQLITE_DONE; + goto finished; + } + iNewLevel = iMaxLevel; + bIgnoreEmpty = 1; + + }else{ + /* This call is to merge all segments at level iLevel. find the next + ** available segment index at level iLevel+1. The call to + ** fts3AllocateSegdirIdx() will merge the segments at level iLevel+1 to + ** a single iLevel+2 segment if necessary. */ + assert( FTS3_SEGCURSOR_PENDING==-1 ); + iNewLevel = getAbsoluteLevel(p, iLangid, iIndex, iLevel+1); + rc = fts3AllocateSegdirIdx(p, iLangid, iIndex, iLevel+1, &iIdx); + bIgnoreEmpty = (iLevel!=FTS3_SEGCURSOR_PENDING) && (iNewLevel>iMaxLevel); + } + if( rc!=SQLITE_OK ) goto finished; + + assert( csr.nSegment>0 ); + assert_fts3_nc( iNewLevel>=getAbsoluteLevel(p, iLangid, iIndex, 0) ); + assert_fts3_nc( + iNewLevelnLeafData); + } + } + } + + finished: + fts3SegWriterFree(pWriter); + sqlite3Fts3SegReaderFinish(&csr); + return rc; +} + + +/* +** Flush the contents of pendingTerms to level 0 segments. +*/ +SQLITE_PRIVATE int sqlite3Fts3PendingTermsFlush(Fts3Table *p){ + int rc = SQLITE_OK; + int i; + + for(i=0; rc==SQLITE_OK && inIndex; i++){ + rc = fts3SegmentMerge(p, p->iPrevLangid, i, FTS3_SEGCURSOR_PENDING); + if( rc==SQLITE_DONE ) rc = SQLITE_OK; + } + sqlite3Fts3PendingTermsClear(p); + + /* Determine the auto-incr-merge setting if unknown. If enabled, + ** estimate the number of leaf blocks of content to be written + */ + if( rc==SQLITE_OK && p->bHasStat + && p->nAutoincrmerge==0xff && p->nLeafAdd>0 + ){ + sqlite3_stmt *pStmt = 0; + rc = fts3SqlStmt(p, SQL_SELECT_STAT, &pStmt, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int(pStmt, 1, FTS_STAT_AUTOINCRMERGE); + rc = sqlite3_step(pStmt); + if( rc==SQLITE_ROW ){ + p->nAutoincrmerge = sqlite3_column_int(pStmt, 0); + if( p->nAutoincrmerge==1 ) p->nAutoincrmerge = 8; + }else if( rc==SQLITE_DONE ){ + p->nAutoincrmerge = 0; + } + rc = sqlite3_reset(pStmt); + } + } + return rc; +} + +/* +** Encode N integers as varints into a blob. +*/ +static void fts3EncodeIntArray( + int N, /* The number of integers to encode */ + u32 *a, /* The integer values */ + char *zBuf, /* Write the BLOB here */ + int *pNBuf /* Write number of bytes if zBuf[] used here */ +){ + int i, j; + for(i=j=0; iiPrevDocid. The sizes are encoded as +** a blob of varints. +*/ +static void fts3InsertDocsize( + int *pRC, /* Result code */ + Fts3Table *p, /* Table into which to insert */ + u32 *aSz /* Sizes of each column, in tokens */ +){ + char *pBlob; /* The BLOB encoding of the document size */ + int nBlob; /* Number of bytes in the BLOB */ + sqlite3_stmt *pStmt; /* Statement used to insert the encoding */ + int rc; /* Result code from subfunctions */ + + if( *pRC ) return; + pBlob = sqlite3_malloc64( 10*(sqlite3_int64)p->nColumn ); + if( pBlob==0 ){ + *pRC = SQLITE_NOMEM; + return; + } + fts3EncodeIntArray(p->nColumn, aSz, pBlob, &nBlob); + rc = fts3SqlStmt(p, SQL_REPLACE_DOCSIZE, &pStmt, 0); + if( rc ){ + sqlite3_free(pBlob); + *pRC = rc; + return; + } + sqlite3_bind_int64(pStmt, 1, p->iPrevDocid); + sqlite3_bind_blob(pStmt, 2, pBlob, nBlob, sqlite3_free); + sqlite3_step(pStmt); + *pRC = sqlite3_reset(pStmt); +} + +/* +** Record 0 of the %_stat table contains a blob consisting of N varints, +** where N is the number of user defined columns in the fts3 table plus +** two. If nCol is the number of user defined columns, then values of the +** varints are set as follows: +** +** Varint 0: Total number of rows in the table. +** +** Varint 1..nCol: For each column, the total number of tokens stored in +** the column for all rows of the table. +** +** Varint 1+nCol: The total size, in bytes, of all text values in all +** columns of all rows of the table. +** +*/ +static void fts3UpdateDocTotals( + int *pRC, /* The result code */ + Fts3Table *p, /* Table being updated */ + u32 *aSzIns, /* Size increases */ + u32 *aSzDel, /* Size decreases */ + int nChng /* Change in the number of documents */ +){ + char *pBlob; /* Storage for BLOB written into %_stat */ + int nBlob; /* Size of BLOB written into %_stat */ + u32 *a; /* Array of integers that becomes the BLOB */ + sqlite3_stmt *pStmt; /* Statement for reading and writing */ + int i; /* Loop counter */ + int rc; /* Result code from subfunctions */ + + const int nStat = p->nColumn+2; + + if( *pRC ) return; + a = sqlite3_malloc64( (sizeof(u32)+10)*(sqlite3_int64)nStat ); + if( a==0 ){ + *pRC = SQLITE_NOMEM; + return; + } + pBlob = (char*)&a[nStat]; + rc = fts3SqlStmt(p, SQL_SELECT_STAT, &pStmt, 0); + if( rc ){ + sqlite3_free(a); + *pRC = rc; + return; + } + sqlite3_bind_int(pStmt, 1, FTS_STAT_DOCTOTAL); + if( sqlite3_step(pStmt)==SQLITE_ROW ){ + fts3DecodeIntArray(nStat, a, + sqlite3_column_blob(pStmt, 0), + sqlite3_column_bytes(pStmt, 0)); + }else{ + memset(a, 0, sizeof(u32)*(nStat) ); + } + rc = sqlite3_reset(pStmt); + if( rc!=SQLITE_OK ){ + sqlite3_free(a); + *pRC = rc; + return; + } + if( nChng<0 && a[0]<(u32)(-nChng) ){ + a[0] = 0; + }else{ + a[0] += nChng; + } + for(i=0; inColumn+1; i++){ + u32 x = a[i+1]; + if( x+aSzIns[i] < aSzDel[i] ){ + x = 0; + }else{ + x = x + aSzIns[i] - aSzDel[i]; + } + a[i+1] = x; + } + fts3EncodeIntArray(nStat, a, pBlob, &nBlob); + rc = fts3SqlStmt(p, SQL_REPLACE_STAT, &pStmt, 0); + if( rc ){ + sqlite3_free(a); + *pRC = rc; + return; + } + sqlite3_bind_int(pStmt, 1, FTS_STAT_DOCTOTAL); + sqlite3_bind_blob(pStmt, 2, pBlob, nBlob, SQLITE_STATIC); + sqlite3_step(pStmt); + *pRC = sqlite3_reset(pStmt); + sqlite3_bind_null(pStmt, 2); + sqlite3_free(a); +} + +/* +** Merge the entire database so that there is one segment for each +** iIndex/iLangid combination. +*/ +static int fts3DoOptimize(Fts3Table *p, int bReturnDone){ + int bSeenDone = 0; + int rc; + sqlite3_stmt *pAllLangid = 0; + + rc = fts3SqlStmt(p, SQL_SELECT_ALL_LANGID, &pAllLangid, 0); + if( rc==SQLITE_OK ){ + int rc2; + sqlite3_bind_int(pAllLangid, 1, p->iPrevLangid); + sqlite3_bind_int(pAllLangid, 2, p->nIndex); + while( sqlite3_step(pAllLangid)==SQLITE_ROW ){ + int i; + int iLangid = sqlite3_column_int(pAllLangid, 0); + for(i=0; rc==SQLITE_OK && inIndex; i++){ + rc = fts3SegmentMerge(p, iLangid, i, FTS3_SEGCURSOR_ALL); + if( rc==SQLITE_DONE ){ + bSeenDone = 1; + rc = SQLITE_OK; + } + } + } + rc2 = sqlite3_reset(pAllLangid); + if( rc==SQLITE_OK ) rc = rc2; + } + + sqlite3Fts3SegmentsClose(p); + sqlite3Fts3PendingTermsClear(p); + + return (rc==SQLITE_OK && bReturnDone && bSeenDone) ? SQLITE_DONE : rc; +} + +/* +** This function is called when the user executes the following statement: +** +** INSERT INTO () VALUES('rebuild'); +** +** The entire FTS index is discarded and rebuilt. If the table is one +** created using the content=xxx option, then the new index is based on +** the current contents of the xxx table. Otherwise, it is rebuilt based +** on the contents of the %_content table. +*/ +static int fts3DoRebuild(Fts3Table *p){ + int rc; /* Return Code */ + + rc = fts3DeleteAll(p, 0); + if( rc==SQLITE_OK ){ + u32 *aSz = 0; + u32 *aSzIns = 0; + u32 *aSzDel = 0; + sqlite3_stmt *pStmt = 0; + int nEntry = 0; + + /* Compose and prepare an SQL statement to loop through the content table */ + char *zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist); + if( !zSql ){ + rc = SQLITE_NOMEM; + }else{ + rc = sqlite3_prepare_v2(p->db, zSql, -1, &pStmt, 0); + sqlite3_free(zSql); + } + + if( rc==SQLITE_OK ){ + sqlite3_int64 nByte = sizeof(u32) * ((sqlite3_int64)p->nColumn+1)*3; + aSz = (u32 *)sqlite3_malloc64(nByte); + if( aSz==0 ){ + rc = SQLITE_NOMEM; + }else{ + memset(aSz, 0, nByte); + aSzIns = &aSz[p->nColumn+1]; + aSzDel = &aSzIns[p->nColumn+1]; + } + } + + while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){ + int iCol; + int iLangid = langidFromSelect(p, pStmt); + rc = fts3PendingTermsDocid(p, 0, iLangid, sqlite3_column_int64(pStmt, 0)); + memset(aSz, 0, sizeof(aSz[0]) * (p->nColumn+1)); + for(iCol=0; rc==SQLITE_OK && iColnColumn; iCol++){ + if( p->abNotindexed[iCol]==0 ){ + const char *z = (const char *) sqlite3_column_text(pStmt, iCol+1); + rc = fts3PendingTermsAdd(p, iLangid, z, iCol, &aSz[iCol]); + aSz[p->nColumn] += sqlite3_column_bytes(pStmt, iCol+1); + } + } + if( p->bHasDocsize ){ + fts3InsertDocsize(&rc, p, aSz); + } + if( rc!=SQLITE_OK ){ + sqlite3_finalize(pStmt); + pStmt = 0; + }else{ + nEntry++; + for(iCol=0; iCol<=p->nColumn; iCol++){ + aSzIns[iCol] += aSz[iCol]; + } + } + } + if( p->bFts4 ){ + fts3UpdateDocTotals(&rc, p, aSzIns, aSzDel, nEntry); + } + sqlite3_free(aSz); + + if( pStmt ){ + int rc2 = sqlite3_finalize(pStmt); + if( rc==SQLITE_OK ){ + rc = rc2; + } + } + } + + return rc; +} + + +/* +** This function opens a cursor used to read the input data for an +** incremental merge operation. Specifically, it opens a cursor to scan +** the oldest nSeg segments (idx=0 through idx=(nSeg-1)) in absolute +** level iAbsLevel. +*/ +static int fts3IncrmergeCsr( + Fts3Table *p, /* FTS3 table handle */ + sqlite3_int64 iAbsLevel, /* Absolute level to open */ + int nSeg, /* Number of segments to merge */ + Fts3MultiSegReader *pCsr /* Cursor object to populate */ +){ + int rc; /* Return Code */ + sqlite3_stmt *pStmt = 0; /* Statement used to read %_segdir entry */ + sqlite3_int64 nByte; /* Bytes allocated at pCsr->apSegment[] */ + + /* Allocate space for the Fts3MultiSegReader.aCsr[] array */ + memset(pCsr, 0, sizeof(*pCsr)); + nByte = sizeof(Fts3SegReader *) * nSeg; + pCsr->apSegment = (Fts3SegReader **)sqlite3_malloc64(nByte); + + if( pCsr->apSegment==0 ){ + rc = SQLITE_NOMEM; + }else{ + memset(pCsr->apSegment, 0, nByte); + rc = fts3SqlStmt(p, SQL_SELECT_LEVEL, &pStmt, 0); + } + if( rc==SQLITE_OK ){ + int i; + int rc2; + sqlite3_bind_int64(pStmt, 1, iAbsLevel); + assert( pCsr->nSegment==0 ); + for(i=0; rc==SQLITE_OK && sqlite3_step(pStmt)==SQLITE_ROW && iapSegment[i] + ); + pCsr->nSegment++; + } + rc2 = sqlite3_reset(pStmt); + if( rc==SQLITE_OK ) rc = rc2; + } + + return rc; +} + +typedef struct IncrmergeWriter IncrmergeWriter; +typedef struct NodeWriter NodeWriter; +typedef struct Blob Blob; +typedef struct NodeReader NodeReader; + +/* +** An instance of the following structure is used as a dynamic buffer +** to build up nodes or other blobs of data in. +** +** The function blobGrowBuffer() is used to extend the allocation. +*/ +struct Blob { + char *a; /* Pointer to allocation */ + int n; /* Number of valid bytes of data in a[] */ + int nAlloc; /* Allocated size of a[] (nAlloc>=n) */ +}; + +/* +** This structure is used to build up buffers containing segment b-tree +** nodes (blocks). +*/ +struct NodeWriter { + sqlite3_int64 iBlock; /* Current block id */ + Blob key; /* Last key written to the current block */ + Blob block; /* Current block image */ +}; + +/* +** An object of this type contains the state required to create or append +** to an appendable b-tree segment. +*/ +struct IncrmergeWriter { + int nLeafEst; /* Space allocated for leaf blocks */ + int nWork; /* Number of leaf pages flushed */ + sqlite3_int64 iAbsLevel; /* Absolute level of input segments */ + int iIdx; /* Index of *output* segment in iAbsLevel+1 */ + sqlite3_int64 iStart; /* Block number of first allocated block */ + sqlite3_int64 iEnd; /* Block number of last allocated block */ + sqlite3_int64 nLeafData; /* Bytes of leaf page data so far */ + u8 bNoLeafData; /* If true, store 0 for segment size */ + NodeWriter aNodeWriter[FTS_MAX_APPENDABLE_HEIGHT]; +}; + +/* +** An object of the following type is used to read data from a single +** FTS segment node. See the following functions: +** +** nodeReaderInit() +** nodeReaderNext() +** nodeReaderRelease() +*/ +struct NodeReader { + const char *aNode; + int nNode; + int iOff; /* Current offset within aNode[] */ + + /* Output variables. Containing the current node entry. */ + sqlite3_int64 iChild; /* Pointer to child node */ + Blob term; /* Current term */ + const char *aDoclist; /* Pointer to doclist */ + int nDoclist; /* Size of doclist in bytes */ +}; + +/* +** If *pRc is not SQLITE_OK when this function is called, it is a no-op. +** Otherwise, if the allocation at pBlob->a is not already at least nMin +** bytes in size, extend (realloc) it to be so. +** +** If an OOM error occurs, set *pRc to SQLITE_NOMEM and leave pBlob->a +** unmodified. Otherwise, if the allocation succeeds, update pBlob->nAlloc +** to reflect the new size of the pBlob->a[] buffer. +*/ +static void blobGrowBuffer(Blob *pBlob, int nMin, int *pRc){ + if( *pRc==SQLITE_OK && nMin>pBlob->nAlloc ){ + int nAlloc = nMin; + char *a = (char *)sqlite3_realloc(pBlob->a, nAlloc); + if( a ){ + pBlob->nAlloc = nAlloc; + pBlob->a = a; + }else{ + *pRc = SQLITE_NOMEM; + } + } +} + +/* +** Attempt to advance the node-reader object passed as the first argument to +** the next entry on the node. +** +** Return an error code if an error occurs (SQLITE_NOMEM is possible). +** Otherwise return SQLITE_OK. If there is no next entry on the node +** (e.g. because the current entry is the last) set NodeReader->aNode to +** NULL to indicate EOF. Otherwise, populate the NodeReader structure output +** variables for the new entry. +*/ +static int nodeReaderNext(NodeReader *p){ + int bFirst = (p->term.n==0); /* True for first term on the node */ + int nPrefix = 0; /* Bytes to copy from previous term */ + int nSuffix = 0; /* Bytes to append to the prefix */ + int rc = SQLITE_OK; /* Return code */ + + assert( p->aNode ); + if( p->iChild && bFirst==0 ) p->iChild++; + if( p->iOff>=p->nNode ){ + /* EOF */ + p->aNode = 0; + }else{ + if( bFirst==0 ){ + p->iOff += fts3GetVarint32(&p->aNode[p->iOff], &nPrefix); + } + p->iOff += fts3GetVarint32(&p->aNode[p->iOff], &nSuffix); + + if( nPrefix>p->term.n || nSuffix>p->nNode-p->iOff || nSuffix==0 ){ + return FTS_CORRUPT_VTAB; + } + blobGrowBuffer(&p->term, nPrefix+nSuffix, &rc); + if( rc==SQLITE_OK ){ + memcpy(&p->term.a[nPrefix], &p->aNode[p->iOff], nSuffix); + p->term.n = nPrefix+nSuffix; + p->iOff += nSuffix; + if( p->iChild==0 ){ + p->iOff += fts3GetVarint32(&p->aNode[p->iOff], &p->nDoclist); + if( (p->nNode-p->iOff)nDoclist ){ + return FTS_CORRUPT_VTAB; + } + p->aDoclist = &p->aNode[p->iOff]; + p->iOff += p->nDoclist; + } + } + } + + assert_fts3_nc( p->iOff<=p->nNode ); + return rc; +} + +/* +** Release all dynamic resources held by node-reader object *p. +*/ +static void nodeReaderRelease(NodeReader *p){ + sqlite3_free(p->term.a); +} + +/* +** Initialize a node-reader object to read the node in buffer aNode/nNode. +** +** If successful, SQLITE_OK is returned and the NodeReader object set to +** point to the first entry on the node (if any). Otherwise, an SQLite +** error code is returned. +*/ +static int nodeReaderInit(NodeReader *p, const char *aNode, int nNode){ + memset(p, 0, sizeof(NodeReader)); + p->aNode = aNode; + p->nNode = nNode; + + /* Figure out if this is a leaf or an internal node. */ + if( aNode && aNode[0] ){ + /* An internal node. */ + p->iOff = 1 + sqlite3Fts3GetVarint(&p->aNode[1], &p->iChild); + }else{ + p->iOff = 1; + } + + return aNode ? nodeReaderNext(p) : SQLITE_OK; +} + +/* +** This function is called while writing an FTS segment each time a leaf o +** node is finished and written to disk. The key (zTerm/nTerm) is guaranteed +** to be greater than the largest key on the node just written, but smaller +** than or equal to the first key that will be written to the next leaf +** node. +** +** The block id of the leaf node just written to disk may be found in +** (pWriter->aNodeWriter[0].iBlock) when this function is called. +*/ +static int fts3IncrmergePush( + Fts3Table *p, /* Fts3 table handle */ + IncrmergeWriter *pWriter, /* Writer object */ + const char *zTerm, /* Term to write to internal node */ + int nTerm /* Bytes at zTerm */ +){ + sqlite3_int64 iPtr = pWriter->aNodeWriter[0].iBlock; + int iLayer; + + assert( nTerm>0 ); + for(iLayer=1; ALWAYS(iLayeraNodeWriter[iLayer]; + int rc = SQLITE_OK; + int nPrefix; + int nSuffix; + int nSpace; + + /* Figure out how much space the key will consume if it is written to + ** the current node of layer iLayer. Due to the prefix compression, + ** the space required changes depending on which node the key is to + ** be added to. */ + nPrefix = fts3PrefixCompress(pNode->key.a, pNode->key.n, zTerm, nTerm); + nSuffix = nTerm - nPrefix; + nSpace = sqlite3Fts3VarintLen(nPrefix); + nSpace += sqlite3Fts3VarintLen(nSuffix) + nSuffix; + + if( pNode->key.n==0 || (pNode->block.n + nSpace)<=p->nNodeSize ){ + /* If the current node of layer iLayer contains zero keys, or if adding + ** the key to it will not cause it to grow to larger than nNodeSize + ** bytes in size, write the key here. */ + + Blob *pBlk = &pNode->block; + if( pBlk->n==0 ){ + blobGrowBuffer(pBlk, p->nNodeSize, &rc); + if( rc==SQLITE_OK ){ + pBlk->a[0] = (char)iLayer; + pBlk->n = 1 + sqlite3Fts3PutVarint(&pBlk->a[1], iPtr); + } + } + blobGrowBuffer(pBlk, pBlk->n + nSpace, &rc); + blobGrowBuffer(&pNode->key, nTerm, &rc); + + if( rc==SQLITE_OK ){ + if( pNode->key.n ){ + pBlk->n += sqlite3Fts3PutVarint(&pBlk->a[pBlk->n], nPrefix); + } + pBlk->n += sqlite3Fts3PutVarint(&pBlk->a[pBlk->n], nSuffix); + memcpy(&pBlk->a[pBlk->n], &zTerm[nPrefix], nSuffix); + pBlk->n += nSuffix; + + memcpy(pNode->key.a, zTerm, nTerm); + pNode->key.n = nTerm; + } + }else{ + /* Otherwise, flush the current node of layer iLayer to disk. + ** Then allocate a new, empty sibling node. The key will be written + ** into the parent of this node. */ + rc = fts3WriteSegment(p, pNode->iBlock, pNode->block.a, pNode->block.n); + + assert( pNode->block.nAlloc>=p->nNodeSize ); + pNode->block.a[0] = (char)iLayer; + pNode->block.n = 1 + sqlite3Fts3PutVarint(&pNode->block.a[1], iPtr+1); + + iNextPtr = pNode->iBlock; + pNode->iBlock++; + pNode->key.n = 0; + } + + if( rc!=SQLITE_OK || iNextPtr==0 ) return rc; + iPtr = iNextPtr; + } + + assert( 0 ); + return 0; +} + +/* +** Append a term and (optionally) doclist to the FTS segment node currently +** stored in blob *pNode. The node need not contain any terms, but the +** header must be written before this function is called. +** +** A node header is a single 0x00 byte for a leaf node, or a height varint +** followed by the left-hand-child varint for an internal node. +** +** The term to be appended is passed via arguments zTerm/nTerm. For a +** leaf node, the doclist is passed as aDoclist/nDoclist. For an internal +** node, both aDoclist and nDoclist must be passed 0. +** +** If the size of the value in blob pPrev is zero, then this is the first +** term written to the node. Otherwise, pPrev contains a copy of the +** previous term. Before this function returns, it is updated to contain a +** copy of zTerm/nTerm. +** +** It is assumed that the buffer associated with pNode is already large +** enough to accommodate the new entry. The buffer associated with pPrev +** is extended by this function if requrired. +** +** If an error (i.e. OOM condition) occurs, an SQLite error code is +** returned. Otherwise, SQLITE_OK. +*/ +static int fts3AppendToNode( + Blob *pNode, /* Current node image to append to */ + Blob *pPrev, /* Buffer containing previous term written */ + const char *zTerm, /* New term to write */ + int nTerm, /* Size of zTerm in bytes */ + const char *aDoclist, /* Doclist (or NULL) to write */ + int nDoclist /* Size of aDoclist in bytes */ +){ + int rc = SQLITE_OK; /* Return code */ + int bFirst = (pPrev->n==0); /* True if this is the first term written */ + int nPrefix; /* Size of term prefix in bytes */ + int nSuffix; /* Size of term suffix in bytes */ + + /* Node must have already been started. There must be a doclist for a + ** leaf node, and there must not be a doclist for an internal node. */ + assert( pNode->n>0 ); + assert_fts3_nc( (pNode->a[0]=='\0')==(aDoclist!=0) ); + + blobGrowBuffer(pPrev, nTerm, &rc); + if( rc!=SQLITE_OK ) return rc; + + nPrefix = fts3PrefixCompress(pPrev->a, pPrev->n, zTerm, nTerm); + nSuffix = nTerm - nPrefix; + if( nSuffix<=0 ) return FTS_CORRUPT_VTAB; + memcpy(pPrev->a, zTerm, nTerm); + pPrev->n = nTerm; + + if( bFirst==0 ){ + pNode->n += sqlite3Fts3PutVarint(&pNode->a[pNode->n], nPrefix); + } + pNode->n += sqlite3Fts3PutVarint(&pNode->a[pNode->n], nSuffix); + memcpy(&pNode->a[pNode->n], &zTerm[nPrefix], nSuffix); + pNode->n += nSuffix; + + if( aDoclist ){ + pNode->n += sqlite3Fts3PutVarint(&pNode->a[pNode->n], nDoclist); + memcpy(&pNode->a[pNode->n], aDoclist, nDoclist); + pNode->n += nDoclist; + } + + assert( pNode->n<=pNode->nAlloc ); + + return SQLITE_OK; +} + +/* +** Append the current term and doclist pointed to by cursor pCsr to the +** appendable b-tree segment opened for writing by pWriter. +** +** Return SQLITE_OK if successful, or an SQLite error code otherwise. +*/ +static int fts3IncrmergeAppend( + Fts3Table *p, /* Fts3 table handle */ + IncrmergeWriter *pWriter, /* Writer object */ + Fts3MultiSegReader *pCsr /* Cursor containing term and doclist */ +){ + const char *zTerm = pCsr->zTerm; + int nTerm = pCsr->nTerm; + const char *aDoclist = pCsr->aDoclist; + int nDoclist = pCsr->nDoclist; + int rc = SQLITE_OK; /* Return code */ + int nSpace; /* Total space in bytes required on leaf */ + int nPrefix; /* Size of prefix shared with previous term */ + int nSuffix; /* Size of suffix (nTerm - nPrefix) */ + NodeWriter *pLeaf; /* Object used to write leaf nodes */ + + pLeaf = &pWriter->aNodeWriter[0]; + nPrefix = fts3PrefixCompress(pLeaf->key.a, pLeaf->key.n, zTerm, nTerm); + nSuffix = nTerm - nPrefix; + + nSpace = sqlite3Fts3VarintLen(nPrefix); + nSpace += sqlite3Fts3VarintLen(nSuffix) + nSuffix; + nSpace += sqlite3Fts3VarintLen(nDoclist) + nDoclist; + + /* If the current block is not empty, and if adding this term/doclist + ** to the current block would make it larger than Fts3Table.nNodeSize + ** bytes, write this block out to the database. */ + if( pLeaf->block.n>0 && (pLeaf->block.n + nSpace)>p->nNodeSize ){ + rc = fts3WriteSegment(p, pLeaf->iBlock, pLeaf->block.a, pLeaf->block.n); + pWriter->nWork++; + + /* Add the current term to the parent node. The term added to the + ** parent must: + ** + ** a) be greater than the largest term on the leaf node just written + ** to the database (still available in pLeaf->key), and + ** + ** b) be less than or equal to the term about to be added to the new + ** leaf node (zTerm/nTerm). + ** + ** In other words, it must be the prefix of zTerm 1 byte longer than + ** the common prefix (if any) of zTerm and pWriter->zTerm. + */ + if( rc==SQLITE_OK ){ + rc = fts3IncrmergePush(p, pWriter, zTerm, nPrefix+1); + } + + /* Advance to the next output block */ + pLeaf->iBlock++; + pLeaf->key.n = 0; + pLeaf->block.n = 0; + + nSuffix = nTerm; + nSpace = 1; + nSpace += sqlite3Fts3VarintLen(nSuffix) + nSuffix; + nSpace += sqlite3Fts3VarintLen(nDoclist) + nDoclist; + } + + pWriter->nLeafData += nSpace; + blobGrowBuffer(&pLeaf->block, pLeaf->block.n + nSpace, &rc); + if( rc==SQLITE_OK ){ + if( pLeaf->block.n==0 ){ + pLeaf->block.n = 1; + pLeaf->block.a[0] = '\0'; + } + rc = fts3AppendToNode( + &pLeaf->block, &pLeaf->key, zTerm, nTerm, aDoclist, nDoclist + ); + } + + return rc; +} + +/* +** This function is called to release all dynamic resources held by the +** merge-writer object pWriter, and if no error has occurred, to flush +** all outstanding node buffers held by pWriter to disk. +** +** If *pRc is not SQLITE_OK when this function is called, then no attempt +** is made to write any data to disk. Instead, this function serves only +** to release outstanding resources. +** +** Otherwise, if *pRc is initially SQLITE_OK and an error occurs while +** flushing buffers to disk, *pRc is set to an SQLite error code before +** returning. +*/ +static void fts3IncrmergeRelease( + Fts3Table *p, /* FTS3 table handle */ + IncrmergeWriter *pWriter, /* Merge-writer object */ + int *pRc /* IN/OUT: Error code */ +){ + int i; /* Used to iterate through non-root layers */ + int iRoot; /* Index of root in pWriter->aNodeWriter */ + NodeWriter *pRoot; /* NodeWriter for root node */ + int rc = *pRc; /* Error code */ + + /* Set iRoot to the index in pWriter->aNodeWriter[] of the output segment + ** root node. If the segment fits entirely on a single leaf node, iRoot + ** will be set to 0. If the root node is the parent of the leaves, iRoot + ** will be 1. And so on. */ + for(iRoot=FTS_MAX_APPENDABLE_HEIGHT-1; iRoot>=0; iRoot--){ + NodeWriter *pNode = &pWriter->aNodeWriter[iRoot]; + if( pNode->block.n>0 ) break; + assert( *pRc || pNode->block.nAlloc==0 ); + assert( *pRc || pNode->key.nAlloc==0 ); + sqlite3_free(pNode->block.a); + sqlite3_free(pNode->key.a); + } + + /* Empty output segment. This is a no-op. */ + if( iRoot<0 ) return; + + /* The entire output segment fits on a single node. Normally, this means + ** the node would be stored as a blob in the "root" column of the %_segdir + ** table. However, this is not permitted in this case. The problem is that + ** space has already been reserved in the %_segments table, and so the + ** start_block and end_block fields of the %_segdir table must be populated. + ** And, by design or by accident, released versions of FTS cannot handle + ** segments that fit entirely on the root node with start_block!=0. + ** + ** Instead, create a synthetic root node that contains nothing but a + ** pointer to the single content node. So that the segment consists of a + ** single leaf and a single interior (root) node. + ** + ** Todo: Better might be to defer allocating space in the %_segments + ** table until we are sure it is needed. + */ + if( iRoot==0 ){ + Blob *pBlock = &pWriter->aNodeWriter[1].block; + blobGrowBuffer(pBlock, 1 + FTS3_VARINT_MAX, &rc); + if( rc==SQLITE_OK ){ + pBlock->a[0] = 0x01; + pBlock->n = 1 + sqlite3Fts3PutVarint( + &pBlock->a[1], pWriter->aNodeWriter[0].iBlock + ); + } + iRoot = 1; + } + pRoot = &pWriter->aNodeWriter[iRoot]; + + /* Flush all currently outstanding nodes to disk. */ + for(i=0; iaNodeWriter[i]; + if( pNode->block.n>0 && rc==SQLITE_OK ){ + rc = fts3WriteSegment(p, pNode->iBlock, pNode->block.a, pNode->block.n); + } + sqlite3_free(pNode->block.a); + sqlite3_free(pNode->key.a); + } + + /* Write the %_segdir record. */ + if( rc==SQLITE_OK ){ + rc = fts3WriteSegdir(p, + pWriter->iAbsLevel+1, /* level */ + pWriter->iIdx, /* idx */ + pWriter->iStart, /* start_block */ + pWriter->aNodeWriter[0].iBlock, /* leaves_end_block */ + pWriter->iEnd, /* end_block */ + (pWriter->bNoLeafData==0 ? pWriter->nLeafData : 0), /* end_block */ + pRoot->block.a, pRoot->block.n /* root */ + ); + } + sqlite3_free(pRoot->block.a); + sqlite3_free(pRoot->key.a); + + *pRc = rc; +} + +/* +** Compare the term in buffer zLhs (size in bytes nLhs) with that in +** zRhs (size in bytes nRhs) using memcmp. If one term is a prefix of +** the other, it is considered to be smaller than the other. +** +** Return -ve if zLhs is smaller than zRhs, 0 if it is equal, or +ve +** if it is greater. +*/ +static int fts3TermCmp( + const char *zLhs, int nLhs, /* LHS of comparison */ + const char *zRhs, int nRhs /* RHS of comparison */ +){ + int nCmp = MIN(nLhs, nRhs); + int res; + + res = (nCmp ? memcmp(zLhs, zRhs, nCmp) : 0); + if( res==0 ) res = nLhs - nRhs; + + return res; +} + + +/* +** Query to see if the entry in the %_segments table with blockid iEnd is +** NULL. If no error occurs and the entry is NULL, set *pbRes 1 before +** returning. Otherwise, set *pbRes to 0. +** +** Or, if an error occurs while querying the database, return an SQLite +** error code. The final value of *pbRes is undefined in this case. +** +** This is used to test if a segment is an "appendable" segment. If it +** is, then a NULL entry has been inserted into the %_segments table +** with blockid %_segdir.end_block. +*/ +static int fts3IsAppendable(Fts3Table *p, sqlite3_int64 iEnd, int *pbRes){ + int bRes = 0; /* Result to set *pbRes to */ + sqlite3_stmt *pCheck = 0; /* Statement to query database with */ + int rc; /* Return code */ + + rc = fts3SqlStmt(p, SQL_SEGMENT_IS_APPENDABLE, &pCheck, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pCheck, 1, iEnd); + if( SQLITE_ROW==sqlite3_step(pCheck) ) bRes = 1; + rc = sqlite3_reset(pCheck); + } + + *pbRes = bRes; + return rc; +} + +/* +** This function is called when initializing an incremental-merge operation. +** It checks if the existing segment with index value iIdx at absolute level +** (iAbsLevel+1) can be appended to by the incremental merge. If it can, the +** merge-writer object *pWriter is initialized to write to it. +** +** An existing segment can be appended to by an incremental merge if: +** +** * It was initially created as an appendable segment (with all required +** space pre-allocated), and +** +** * The first key read from the input (arguments zKey and nKey) is +** greater than the largest key currently stored in the potential +** output segment. +*/ +static int fts3IncrmergeLoad( + Fts3Table *p, /* Fts3 table handle */ + sqlite3_int64 iAbsLevel, /* Absolute level of input segments */ + int iIdx, /* Index of candidate output segment */ + const char *zKey, /* First key to write */ + int nKey, /* Number of bytes in nKey */ + IncrmergeWriter *pWriter /* Populate this object */ +){ + int rc; /* Return code */ + sqlite3_stmt *pSelect = 0; /* SELECT to read %_segdir entry */ + + rc = fts3SqlStmt(p, SQL_SELECT_SEGDIR, &pSelect, 0); + if( rc==SQLITE_OK ){ + sqlite3_int64 iStart = 0; /* Value of %_segdir.start_block */ + sqlite3_int64 iLeafEnd = 0; /* Value of %_segdir.leaves_end_block */ + sqlite3_int64 iEnd = 0; /* Value of %_segdir.end_block */ + const char *aRoot = 0; /* Pointer to %_segdir.root buffer */ + int nRoot = 0; /* Size of aRoot[] in bytes */ + int rc2; /* Return code from sqlite3_reset() */ + int bAppendable = 0; /* Set to true if segment is appendable */ + + /* Read the %_segdir entry for index iIdx absolute level (iAbsLevel+1) */ + sqlite3_bind_int64(pSelect, 1, iAbsLevel+1); + sqlite3_bind_int(pSelect, 2, iIdx); + if( sqlite3_step(pSelect)==SQLITE_ROW ){ + iStart = sqlite3_column_int64(pSelect, 1); + iLeafEnd = sqlite3_column_int64(pSelect, 2); + fts3ReadEndBlockField(pSelect, 3, &iEnd, &pWriter->nLeafData); + if( pWriter->nLeafData<0 ){ + pWriter->nLeafData = pWriter->nLeafData * -1; + } + pWriter->bNoLeafData = (pWriter->nLeafData==0); + nRoot = sqlite3_column_bytes(pSelect, 4); + aRoot = sqlite3_column_blob(pSelect, 4); + }else{ + return sqlite3_reset(pSelect); + } + + /* Check for the zero-length marker in the %_segments table */ + rc = fts3IsAppendable(p, iEnd, &bAppendable); + + /* Check that zKey/nKey is larger than the largest key the candidate */ + if( rc==SQLITE_OK && bAppendable ){ + char *aLeaf = 0; + int nLeaf = 0; + + rc = sqlite3Fts3ReadBlock(p, iLeafEnd, &aLeaf, &nLeaf, 0); + if( rc==SQLITE_OK ){ + NodeReader reader; + for(rc = nodeReaderInit(&reader, aLeaf, nLeaf); + rc==SQLITE_OK && reader.aNode; + rc = nodeReaderNext(&reader) + ){ + assert( reader.aNode ); + } + if( fts3TermCmp(zKey, nKey, reader.term.a, reader.term.n)<=0 ){ + bAppendable = 0; + } + nodeReaderRelease(&reader); + } + sqlite3_free(aLeaf); + } + + if( rc==SQLITE_OK && bAppendable ){ + /* It is possible to append to this segment. Set up the IncrmergeWriter + ** object to do so. */ + int i; + int nHeight = (int)aRoot[0]; + NodeWriter *pNode; + + pWriter->nLeafEst = (int)((iEnd - iStart) + 1)/FTS_MAX_APPENDABLE_HEIGHT; + pWriter->iStart = iStart; + pWriter->iEnd = iEnd; + pWriter->iAbsLevel = iAbsLevel; + pWriter->iIdx = iIdx; + + for(i=nHeight+1; iaNodeWriter[i].iBlock = pWriter->iStart + i*pWriter->nLeafEst; + } + + pNode = &pWriter->aNodeWriter[nHeight]; + pNode->iBlock = pWriter->iStart + pWriter->nLeafEst*nHeight; + blobGrowBuffer(&pNode->block, + MAX(nRoot, p->nNodeSize)+FTS3_NODE_PADDING, &rc + ); + if( rc==SQLITE_OK ){ + memcpy(pNode->block.a, aRoot, nRoot); + pNode->block.n = nRoot; + memset(&pNode->block.a[nRoot], 0, FTS3_NODE_PADDING); + } + + for(i=nHeight; i>=0 && rc==SQLITE_OK; i--){ + NodeReader reader; + pNode = &pWriter->aNodeWriter[i]; + + if( pNode->block.a){ + rc = nodeReaderInit(&reader, pNode->block.a, pNode->block.n); + while( reader.aNode && rc==SQLITE_OK ) rc = nodeReaderNext(&reader); + blobGrowBuffer(&pNode->key, reader.term.n, &rc); + if( rc==SQLITE_OK ){ + memcpy(pNode->key.a, reader.term.a, reader.term.n); + pNode->key.n = reader.term.n; + if( i>0 ){ + char *aBlock = 0; + int nBlock = 0; + pNode = &pWriter->aNodeWriter[i-1]; + pNode->iBlock = reader.iChild; + rc = sqlite3Fts3ReadBlock(p, reader.iChild, &aBlock, &nBlock, 0); + blobGrowBuffer(&pNode->block, + MAX(nBlock, p->nNodeSize)+FTS3_NODE_PADDING, &rc + ); + if( rc==SQLITE_OK ){ + memcpy(pNode->block.a, aBlock, nBlock); + pNode->block.n = nBlock; + memset(&pNode->block.a[nBlock], 0, FTS3_NODE_PADDING); + } + sqlite3_free(aBlock); + } + } + } + nodeReaderRelease(&reader); + } + } + + rc2 = sqlite3_reset(pSelect); + if( rc==SQLITE_OK ) rc = rc2; + } + + return rc; +} + +/* +** Determine the largest segment index value that exists within absolute +** level iAbsLevel+1. If no error occurs, set *piIdx to this value plus +** one before returning SQLITE_OK. Or, if there are no segments at all +** within level iAbsLevel, set *piIdx to zero. +** +** If an error occurs, return an SQLite error code. The final value of +** *piIdx is undefined in this case. +*/ +static int fts3IncrmergeOutputIdx( + Fts3Table *p, /* FTS Table handle */ + sqlite3_int64 iAbsLevel, /* Absolute index of input segments */ + int *piIdx /* OUT: Next free index at iAbsLevel+1 */ +){ + int rc; + sqlite3_stmt *pOutputIdx = 0; /* SQL used to find output index */ + + rc = fts3SqlStmt(p, SQL_NEXT_SEGMENT_INDEX, &pOutputIdx, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pOutputIdx, 1, iAbsLevel+1); + sqlite3_step(pOutputIdx); + *piIdx = sqlite3_column_int(pOutputIdx, 0); + rc = sqlite3_reset(pOutputIdx); + } + + return rc; +} + +/* +** Allocate an appendable output segment on absolute level iAbsLevel+1 +** with idx value iIdx. +** +** In the %_segdir table, a segment is defined by the values in three +** columns: +** +** start_block +** leaves_end_block +** end_block +** +** When an appendable segment is allocated, it is estimated that the +** maximum number of leaf blocks that may be required is the sum of the +** number of leaf blocks consumed by the input segments, plus the number +** of input segments, multiplied by two. This value is stored in stack +** variable nLeafEst. +** +** A total of 16*nLeafEst blocks are allocated when an appendable segment +** is created ((1 + end_block - start_block)==16*nLeafEst). The contiguous +** array of leaf nodes starts at the first block allocated. The array +** of interior nodes that are parents of the leaf nodes start at block +** (start_block + (1 + end_block - start_block) / 16). And so on. +** +** In the actual code below, the value "16" is replaced with the +** pre-processor macro FTS_MAX_APPENDABLE_HEIGHT. +*/ +static int fts3IncrmergeWriter( + Fts3Table *p, /* Fts3 table handle */ + sqlite3_int64 iAbsLevel, /* Absolute level of input segments */ + int iIdx, /* Index of new output segment */ + Fts3MultiSegReader *pCsr, /* Cursor that data will be read from */ + IncrmergeWriter *pWriter /* Populate this object */ +){ + int rc; /* Return Code */ + int i; /* Iterator variable */ + int nLeafEst = 0; /* Blocks allocated for leaf nodes */ + sqlite3_stmt *pLeafEst = 0; /* SQL used to determine nLeafEst */ + sqlite3_stmt *pFirstBlock = 0; /* SQL used to determine first block */ + + /* Calculate nLeafEst. */ + rc = fts3SqlStmt(p, SQL_MAX_LEAF_NODE_ESTIMATE, &pLeafEst, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pLeafEst, 1, iAbsLevel); + sqlite3_bind_int64(pLeafEst, 2, pCsr->nSegment); + if( SQLITE_ROW==sqlite3_step(pLeafEst) ){ + nLeafEst = sqlite3_column_int(pLeafEst, 0); + } + rc = sqlite3_reset(pLeafEst); + } + if( rc!=SQLITE_OK ) return rc; + + /* Calculate the first block to use in the output segment */ + rc = fts3SqlStmt(p, SQL_NEXT_SEGMENTS_ID, &pFirstBlock, 0); + if( rc==SQLITE_OK ){ + if( SQLITE_ROW==sqlite3_step(pFirstBlock) ){ + pWriter->iStart = sqlite3_column_int64(pFirstBlock, 0); + pWriter->iEnd = pWriter->iStart - 1; + pWriter->iEnd += nLeafEst * FTS_MAX_APPENDABLE_HEIGHT; + } + rc = sqlite3_reset(pFirstBlock); + } + if( rc!=SQLITE_OK ) return rc; + + /* Insert the marker in the %_segments table to make sure nobody tries + ** to steal the space just allocated. This is also used to identify + ** appendable segments. */ + rc = fts3WriteSegment(p, pWriter->iEnd, 0, 0); + if( rc!=SQLITE_OK ) return rc; + + pWriter->iAbsLevel = iAbsLevel; + pWriter->nLeafEst = nLeafEst; + pWriter->iIdx = iIdx; + + /* Set up the array of NodeWriter objects */ + for(i=0; iaNodeWriter[i].iBlock = pWriter->iStart + i*pWriter->nLeafEst; + } + return SQLITE_OK; +} + +/* +** Remove an entry from the %_segdir table. This involves running the +** following two statements: +** +** DELETE FROM %_segdir WHERE level = :iAbsLevel AND idx = :iIdx +** UPDATE %_segdir SET idx = idx - 1 WHERE level = :iAbsLevel AND idx > :iIdx +** +** The DELETE statement removes the specific %_segdir level. The UPDATE +** statement ensures that the remaining segments have contiguously allocated +** idx values. +*/ +static int fts3RemoveSegdirEntry( + Fts3Table *p, /* FTS3 table handle */ + sqlite3_int64 iAbsLevel, /* Absolute level to delete from */ + int iIdx /* Index of %_segdir entry to delete */ +){ + int rc; /* Return code */ + sqlite3_stmt *pDelete = 0; /* DELETE statement */ + + rc = fts3SqlStmt(p, SQL_DELETE_SEGDIR_ENTRY, &pDelete, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pDelete, 1, iAbsLevel); + sqlite3_bind_int(pDelete, 2, iIdx); + sqlite3_step(pDelete); + rc = sqlite3_reset(pDelete); + } + + return rc; +} + +/* +** One or more segments have just been removed from absolute level iAbsLevel. +** Update the 'idx' values of the remaining segments in the level so that +** the idx values are a contiguous sequence starting from 0. +*/ +static int fts3RepackSegdirLevel( + Fts3Table *p, /* FTS3 table handle */ + sqlite3_int64 iAbsLevel /* Absolute level to repack */ +){ + int rc; /* Return code */ + int *aIdx = 0; /* Array of remaining idx values */ + int nIdx = 0; /* Valid entries in aIdx[] */ + int nAlloc = 0; /* Allocated size of aIdx[] */ + int i; /* Iterator variable */ + sqlite3_stmt *pSelect = 0; /* Select statement to read idx values */ + sqlite3_stmt *pUpdate = 0; /* Update statement to modify idx values */ + + rc = fts3SqlStmt(p, SQL_SELECT_INDEXES, &pSelect, 0); + if( rc==SQLITE_OK ){ + int rc2; + sqlite3_bind_int64(pSelect, 1, iAbsLevel); + while( SQLITE_ROW==sqlite3_step(pSelect) ){ + if( nIdx>=nAlloc ){ + int *aNew; + nAlloc += 16; + aNew = sqlite3_realloc(aIdx, nAlloc*sizeof(int)); + if( !aNew ){ + rc = SQLITE_NOMEM; + break; + } + aIdx = aNew; + } + aIdx[nIdx++] = sqlite3_column_int(pSelect, 0); + } + rc2 = sqlite3_reset(pSelect); + if( rc==SQLITE_OK ) rc = rc2; + } + + if( rc==SQLITE_OK ){ + rc = fts3SqlStmt(p, SQL_SHIFT_SEGDIR_ENTRY, &pUpdate, 0); + } + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pUpdate, 2, iAbsLevel); + } + + assert( p->bIgnoreSavepoint==0 ); + p->bIgnoreSavepoint = 1; + for(i=0; rc==SQLITE_OK && ibIgnoreSavepoint = 0; + + sqlite3_free(aIdx); + return rc; +} + +static void fts3StartNode(Blob *pNode, int iHeight, sqlite3_int64 iChild){ + pNode->a[0] = (char)iHeight; + if( iChild ){ + assert( pNode->nAlloc>=1+sqlite3Fts3VarintLen(iChild) ); + pNode->n = 1 + sqlite3Fts3PutVarint(&pNode->a[1], iChild); + }else{ + assert( pNode->nAlloc>=1 ); + pNode->n = 1; + } +} + +/* +** The first two arguments are a pointer to and the size of a segment b-tree +** node. The node may be a leaf or an internal node. +** +** This function creates a new node image in blob object *pNew by copying +** all terms that are greater than or equal to zTerm/nTerm (for leaf nodes) +** or greater than zTerm/nTerm (for internal nodes) from aNode/nNode. +*/ +static int fts3TruncateNode( + const char *aNode, /* Current node image */ + int nNode, /* Size of aNode in bytes */ + Blob *pNew, /* OUT: Write new node image here */ + const char *zTerm, /* Omit all terms smaller than this */ + int nTerm, /* Size of zTerm in bytes */ + sqlite3_int64 *piBlock /* OUT: Block number in next layer down */ +){ + NodeReader reader; /* Reader object */ + Blob prev = {0, 0, 0}; /* Previous term written to new node */ + int rc = SQLITE_OK; /* Return code */ + int bLeaf; /* True for a leaf node */ + + if( nNode<1 ) return FTS_CORRUPT_VTAB; + bLeaf = aNode[0]=='\0'; + + /* Allocate required output space */ + blobGrowBuffer(pNew, nNode, &rc); + if( rc!=SQLITE_OK ) return rc; + pNew->n = 0; + + /* Populate new node buffer */ + for(rc = nodeReaderInit(&reader, aNode, nNode); + rc==SQLITE_OK && reader.aNode; + rc = nodeReaderNext(&reader) + ){ + if( pNew->n==0 ){ + int res = fts3TermCmp(reader.term.a, reader.term.n, zTerm, nTerm); + if( res<0 || (bLeaf==0 && res==0) ) continue; + fts3StartNode(pNew, (int)aNode[0], reader.iChild); + *piBlock = reader.iChild; + } + rc = fts3AppendToNode( + pNew, &prev, reader.term.a, reader.term.n, + reader.aDoclist, reader.nDoclist + ); + if( rc!=SQLITE_OK ) break; + } + if( pNew->n==0 ){ + fts3StartNode(pNew, (int)aNode[0], reader.iChild); + *piBlock = reader.iChild; + } + assert( pNew->n<=pNew->nAlloc ); + + nodeReaderRelease(&reader); + sqlite3_free(prev.a); + return rc; +} + +/* +** Remove all terms smaller than zTerm/nTerm from segment iIdx in absolute +** level iAbsLevel. This may involve deleting entries from the %_segments +** table, and modifying existing entries in both the %_segments and %_segdir +** tables. +** +** SQLITE_OK is returned if the segment is updated successfully. Or an +** SQLite error code otherwise. +*/ +static int fts3TruncateSegment( + Fts3Table *p, /* FTS3 table handle */ + sqlite3_int64 iAbsLevel, /* Absolute level of segment to modify */ + int iIdx, /* Index within level of segment to modify */ + const char *zTerm, /* Remove terms smaller than this */ + int nTerm /* Number of bytes in buffer zTerm */ +){ + int rc = SQLITE_OK; /* Return code */ + Blob root = {0,0,0}; /* New root page image */ + Blob block = {0,0,0}; /* Buffer used for any other block */ + sqlite3_int64 iBlock = 0; /* Block id */ + sqlite3_int64 iNewStart = 0; /* New value for iStartBlock */ + sqlite3_int64 iOldStart = 0; /* Old value for iStartBlock */ + sqlite3_stmt *pFetch = 0; /* Statement used to fetch segdir */ + + rc = fts3SqlStmt(p, SQL_SELECT_SEGDIR, &pFetch, 0); + if( rc==SQLITE_OK ){ + int rc2; /* sqlite3_reset() return code */ + sqlite3_bind_int64(pFetch, 1, iAbsLevel); + sqlite3_bind_int(pFetch, 2, iIdx); + if( SQLITE_ROW==sqlite3_step(pFetch) ){ + const char *aRoot = sqlite3_column_blob(pFetch, 4); + int nRoot = sqlite3_column_bytes(pFetch, 4); + iOldStart = sqlite3_column_int64(pFetch, 1); + rc = fts3TruncateNode(aRoot, nRoot, &root, zTerm, nTerm, &iBlock); + } + rc2 = sqlite3_reset(pFetch); + if( rc==SQLITE_OK ) rc = rc2; + } + + while( rc==SQLITE_OK && iBlock ){ + char *aBlock = 0; + int nBlock = 0; + iNewStart = iBlock; + + rc = sqlite3Fts3ReadBlock(p, iBlock, &aBlock, &nBlock, 0); + if( rc==SQLITE_OK ){ + rc = fts3TruncateNode(aBlock, nBlock, &block, zTerm, nTerm, &iBlock); + } + if( rc==SQLITE_OK ){ + rc = fts3WriteSegment(p, iNewStart, block.a, block.n); + } + sqlite3_free(aBlock); + } + + /* Variable iNewStart now contains the first valid leaf node. */ + if( rc==SQLITE_OK && iNewStart ){ + sqlite3_stmt *pDel = 0; + rc = fts3SqlStmt(p, SQL_DELETE_SEGMENTS_RANGE, &pDel, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pDel, 1, iOldStart); + sqlite3_bind_int64(pDel, 2, iNewStart-1); + sqlite3_step(pDel); + rc = sqlite3_reset(pDel); + } + } + + if( rc==SQLITE_OK ){ + sqlite3_stmt *pChomp = 0; + rc = fts3SqlStmt(p, SQL_CHOMP_SEGDIR, &pChomp, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pChomp, 1, iNewStart); + sqlite3_bind_blob(pChomp, 2, root.a, root.n, SQLITE_STATIC); + sqlite3_bind_int64(pChomp, 3, iAbsLevel); + sqlite3_bind_int(pChomp, 4, iIdx); + sqlite3_step(pChomp); + rc = sqlite3_reset(pChomp); + sqlite3_bind_null(pChomp, 2); + } + } + + sqlite3_free(root.a); + sqlite3_free(block.a); + return rc; +} + +/* +** This function is called after an incrmental-merge operation has run to +** merge (or partially merge) two or more segments from absolute level +** iAbsLevel. +** +** Each input segment is either removed from the db completely (if all of +** its data was copied to the output segment by the incrmerge operation) +** or modified in place so that it no longer contains those entries that +** have been duplicated in the output segment. +*/ +static int fts3IncrmergeChomp( + Fts3Table *p, /* FTS table handle */ + sqlite3_int64 iAbsLevel, /* Absolute level containing segments */ + Fts3MultiSegReader *pCsr, /* Chomp all segments opened by this cursor */ + int *pnRem /* Number of segments not deleted */ +){ + int i; + int nRem = 0; + int rc = SQLITE_OK; + + for(i=pCsr->nSegment-1; i>=0 && rc==SQLITE_OK; i--){ + Fts3SegReader *pSeg = 0; + int j; + + /* Find the Fts3SegReader object with Fts3SegReader.iIdx==i. It is hiding + ** somewhere in the pCsr->apSegment[] array. */ + for(j=0; ALWAYS(jnSegment); j++){ + pSeg = pCsr->apSegment[j]; + if( pSeg->iIdx==i ) break; + } + assert( jnSegment && pSeg->iIdx==i ); + + if( pSeg->aNode==0 ){ + /* Seg-reader is at EOF. Remove the entire input segment. */ + rc = fts3DeleteSegment(p, pSeg); + if( rc==SQLITE_OK ){ + rc = fts3RemoveSegdirEntry(p, iAbsLevel, pSeg->iIdx); + } + *pnRem = 0; + }else{ + /* The incremental merge did not copy all the data from this + ** segment to the upper level. The segment is modified in place + ** so that it contains no keys smaller than zTerm/nTerm. */ + const char *zTerm = pSeg->zTerm; + int nTerm = pSeg->nTerm; + rc = fts3TruncateSegment(p, iAbsLevel, pSeg->iIdx, zTerm, nTerm); + nRem++; + } + } + + if( rc==SQLITE_OK && nRem!=pCsr->nSegment ){ + rc = fts3RepackSegdirLevel(p, iAbsLevel); + } + + *pnRem = nRem; + return rc; +} + +/* +** Store an incr-merge hint in the database. +*/ +static int fts3IncrmergeHintStore(Fts3Table *p, Blob *pHint){ + sqlite3_stmt *pReplace = 0; + int rc; /* Return code */ + + rc = fts3SqlStmt(p, SQL_REPLACE_STAT, &pReplace, 0); + if( rc==SQLITE_OK ){ + sqlite3_bind_int(pReplace, 1, FTS_STAT_INCRMERGEHINT); + sqlite3_bind_blob(pReplace, 2, pHint->a, pHint->n, SQLITE_STATIC); + sqlite3_step(pReplace); + rc = sqlite3_reset(pReplace); + sqlite3_bind_null(pReplace, 2); + } + + return rc; +} + +/* +** Load an incr-merge hint from the database. The incr-merge hint, if one +** exists, is stored in the rowid==1 row of the %_stat table. +** +** If successful, populate blob *pHint with the value read from the %_stat +** table and return SQLITE_OK. Otherwise, if an error occurs, return an +** SQLite error code. +*/ +static int fts3IncrmergeHintLoad(Fts3Table *p, Blob *pHint){ + sqlite3_stmt *pSelect = 0; + int rc; + + pHint->n = 0; + rc = fts3SqlStmt(p, SQL_SELECT_STAT, &pSelect, 0); + if( rc==SQLITE_OK ){ + int rc2; + sqlite3_bind_int(pSelect, 1, FTS_STAT_INCRMERGEHINT); + if( SQLITE_ROW==sqlite3_step(pSelect) ){ + const char *aHint = sqlite3_column_blob(pSelect, 0); + int nHint = sqlite3_column_bytes(pSelect, 0); + if( aHint ){ + blobGrowBuffer(pHint, nHint, &rc); + if( rc==SQLITE_OK ){ + memcpy(pHint->a, aHint, nHint); + pHint->n = nHint; + } + } + } + rc2 = sqlite3_reset(pSelect); + if( rc==SQLITE_OK ) rc = rc2; + } + + return rc; +} + +/* +** If *pRc is not SQLITE_OK when this function is called, it is a no-op. +** Otherwise, append an entry to the hint stored in blob *pHint. Each entry +** consists of two varints, the absolute level number of the input segments +** and the number of input segments. +** +** If successful, leave *pRc set to SQLITE_OK and return. If an error occurs, +** set *pRc to an SQLite error code before returning. +*/ +static void fts3IncrmergeHintPush( + Blob *pHint, /* Hint blob to append to */ + i64 iAbsLevel, /* First varint to store in hint */ + int nInput, /* Second varint to store in hint */ + int *pRc /* IN/OUT: Error code */ +){ + blobGrowBuffer(pHint, pHint->n + 2*FTS3_VARINT_MAX, pRc); + if( *pRc==SQLITE_OK ){ + pHint->n += sqlite3Fts3PutVarint(&pHint->a[pHint->n], iAbsLevel); + pHint->n += sqlite3Fts3PutVarint(&pHint->a[pHint->n], (i64)nInput); + } +} + +/* +** Read the last entry (most recently pushed) from the hint blob *pHint +** and then remove the entry. Write the two values read to *piAbsLevel and +** *pnInput before returning. +** +** If no error occurs, return SQLITE_OK. If the hint blob in *pHint does +** not contain at least two valid varints, return SQLITE_CORRUPT_VTAB. +*/ +static int fts3IncrmergeHintPop(Blob *pHint, i64 *piAbsLevel, int *pnInput){ + const int nHint = pHint->n; + int i; + + i = pHint->n-2; + while( i>0 && (pHint->a[i-1] & 0x80) ) i--; + while( i>0 && (pHint->a[i-1] & 0x80) ) i--; + + pHint->n = i; + i += sqlite3Fts3GetVarint(&pHint->a[i], piAbsLevel); + i += fts3GetVarint32(&pHint->a[i], pnInput); + if( i!=nHint ) return FTS_CORRUPT_VTAB; + + return SQLITE_OK; +} + + +/* +** Attempt an incremental merge that writes nMerge leaf blocks. +** +** Incremental merges happen nMin segments at a time. The segments +** to be merged are the nMin oldest segments (the ones with the smallest +** values for the _segdir.idx field) in the highest level that contains +** at least nMin segments. Multiple merges might occur in an attempt to +** write the quota of nMerge leaf blocks. +*/ +SQLITE_PRIVATE int sqlite3Fts3Incrmerge(Fts3Table *p, int nMerge, int nMin){ + int rc; /* Return code */ + int nRem = nMerge; /* Number of leaf pages yet to be written */ + Fts3MultiSegReader *pCsr; /* Cursor used to read input data */ + Fts3SegFilter *pFilter; /* Filter used with cursor pCsr */ + IncrmergeWriter *pWriter; /* Writer object */ + int nSeg = 0; /* Number of input segments */ + sqlite3_int64 iAbsLevel = 0; /* Absolute level number to work on */ + Blob hint = {0, 0, 0}; /* Hint read from %_stat table */ + int bDirtyHint = 0; /* True if blob 'hint' has been modified */ + + /* Allocate space for the cursor, filter and writer objects */ + const int nAlloc = sizeof(*pCsr) + sizeof(*pFilter) + sizeof(*pWriter); + pWriter = (IncrmergeWriter *)sqlite3_malloc(nAlloc); + if( !pWriter ) return SQLITE_NOMEM; + pFilter = (Fts3SegFilter *)&pWriter[1]; + pCsr = (Fts3MultiSegReader *)&pFilter[1]; + + rc = fts3IncrmergeHintLoad(p, &hint); + while( rc==SQLITE_OK && nRem>0 ){ + const i64 nMod = FTS3_SEGDIR_MAXLEVEL * p->nIndex; + sqlite3_stmt *pFindLevel = 0; /* SQL used to determine iAbsLevel */ + int bUseHint = 0; /* True if attempting to append */ + int iIdx = 0; /* Largest idx in level (iAbsLevel+1) */ + + /* Search the %_segdir table for the absolute level with the smallest + ** relative level number that contains at least nMin segments, if any. + ** If one is found, set iAbsLevel to the absolute level number and + ** nSeg to nMin. If no level with at least nMin segments can be found, + ** set nSeg to -1. + */ + rc = fts3SqlStmt(p, SQL_FIND_MERGE_LEVEL, &pFindLevel, 0); + sqlite3_bind_int(pFindLevel, 1, MAX(2, nMin)); + if( sqlite3_step(pFindLevel)==SQLITE_ROW ){ + iAbsLevel = sqlite3_column_int64(pFindLevel, 0); + nSeg = sqlite3_column_int(pFindLevel, 1); + assert( nSeg>=2 ); + }else{ + nSeg = -1; + } + rc = sqlite3_reset(pFindLevel); + + /* If the hint read from the %_stat table is not empty, check if the + ** last entry in it specifies a relative level smaller than or equal + ** to the level identified by the block above (if any). If so, this + ** iteration of the loop will work on merging at the hinted level. + */ + if( rc==SQLITE_OK && hint.n ){ + int nHint = hint.n; + sqlite3_int64 iHintAbsLevel = 0; /* Hint level */ + int nHintSeg = 0; /* Hint number of segments */ + + rc = fts3IncrmergeHintPop(&hint, &iHintAbsLevel, &nHintSeg); + if( nSeg<0 || (iAbsLevel % nMod) >= (iHintAbsLevel % nMod) ){ + iAbsLevel = iHintAbsLevel; + nSeg = nHintSeg; + bUseHint = 1; + bDirtyHint = 1; + }else{ + /* This undoes the effect of the HintPop() above - so that no entry + ** is removed from the hint blob. */ + hint.n = nHint; + } + } + + /* If nSeg is less that zero, then there is no level with at least + ** nMin segments and no hint in the %_stat table. No work to do. + ** Exit early in this case. */ + if( nSeg<0 ) break; + + /* Open a cursor to iterate through the contents of the oldest nSeg + ** indexes of absolute level iAbsLevel. If this cursor is opened using + ** the 'hint' parameters, it is possible that there are less than nSeg + ** segments available in level iAbsLevel. In this case, no work is + ** done on iAbsLevel - fall through to the next iteration of the loop + ** to start work on some other level. */ + memset(pWriter, 0, nAlloc); + pFilter->flags = FTS3_SEGMENT_REQUIRE_POS; + + if( rc==SQLITE_OK ){ + rc = fts3IncrmergeOutputIdx(p, iAbsLevel, &iIdx); + assert( bUseHint==1 || bUseHint==0 ); + if( iIdx==0 || (bUseHint && iIdx==1) ){ + int bIgnore = 0; + rc = fts3SegmentIsMaxLevel(p, iAbsLevel+1, &bIgnore); + if( bIgnore ){ + pFilter->flags |= FTS3_SEGMENT_IGNORE_EMPTY; + } + } + } + + if( rc==SQLITE_OK ){ + rc = fts3IncrmergeCsr(p, iAbsLevel, nSeg, pCsr); + } + if( SQLITE_OK==rc && pCsr->nSegment==nSeg + && SQLITE_OK==(rc = sqlite3Fts3SegReaderStart(p, pCsr, pFilter)) + && SQLITE_ROW==(rc = sqlite3Fts3SegReaderStep(p, pCsr)) + ){ + if( bUseHint && iIdx>0 ){ + const char *zKey = pCsr->zTerm; + int nKey = pCsr->nTerm; + rc = fts3IncrmergeLoad(p, iAbsLevel, iIdx-1, zKey, nKey, pWriter); + }else{ + rc = fts3IncrmergeWriter(p, iAbsLevel, iIdx, pCsr, pWriter); + } + + if( rc==SQLITE_OK && pWriter->nLeafEst ){ + fts3LogMerge(nSeg, iAbsLevel); + do { + rc = fts3IncrmergeAppend(p, pWriter, pCsr); + if( rc==SQLITE_OK ) rc = sqlite3Fts3SegReaderStep(p, pCsr); + if( pWriter->nWork>=nRem && rc==SQLITE_ROW ) rc = SQLITE_OK; + }while( rc==SQLITE_ROW ); + + /* Update or delete the input segments */ + if( rc==SQLITE_OK ){ + nRem -= (1 + pWriter->nWork); + rc = fts3IncrmergeChomp(p, iAbsLevel, pCsr, &nSeg); + if( nSeg!=0 ){ + bDirtyHint = 1; + fts3IncrmergeHintPush(&hint, iAbsLevel, nSeg, &rc); + } + } + } + + if( nSeg!=0 ){ + pWriter->nLeafData = pWriter->nLeafData * -1; + } + fts3IncrmergeRelease(p, pWriter, &rc); + if( nSeg==0 && pWriter->bNoLeafData==0 ){ + fts3PromoteSegments(p, iAbsLevel+1, pWriter->nLeafData); + } + } + + sqlite3Fts3SegReaderFinish(pCsr); + } + + /* Write the hint values into the %_stat table for the next incr-merger */ + if( bDirtyHint && rc==SQLITE_OK ){ + rc = fts3IncrmergeHintStore(p, &hint); + } + + sqlite3_free(pWriter); + sqlite3_free(hint.a); + return rc; +} + +/* +** Convert the text beginning at *pz into an integer and return +** its value. Advance *pz to point to the first character past +** the integer. +** +** This function used for parameters to merge= and incrmerge= +** commands. +*/ +static int fts3Getint(const char **pz){ + const char *z = *pz; + int i = 0; + while( (*z)>='0' && (*z)<='9' && i<214748363 ) i = 10*i + *(z++) - '0'; + *pz = z; + return i; +} + +/* +** Process statements of the form: +** +** INSERT INTO table(table) VALUES('merge=A,B'); +** +** A and B are integers that decode to be the number of leaf pages +** written for the merge, and the minimum number of segments on a level +** before it will be selected for a merge, respectively. +*/ +static int fts3DoIncrmerge( + Fts3Table *p, /* FTS3 table handle */ + const char *zParam /* Nul-terminated string containing "A,B" */ +){ + int rc; + int nMin = (FTS3_MERGE_COUNT / 2); + int nMerge = 0; + const char *z = zParam; + + /* Read the first integer value */ + nMerge = fts3Getint(&z); + + /* If the first integer value is followed by a ',', read the second + ** integer value. */ + if( z[0]==',' && z[1]!='\0' ){ + z++; + nMin = fts3Getint(&z); + } + + if( z[0]!='\0' || nMin<2 ){ + rc = SQLITE_ERROR; + }else{ + rc = SQLITE_OK; + if( !p->bHasStat ){ + assert( p->bFts4==0 ); + sqlite3Fts3CreateStatTable(&rc, p); + } + if( rc==SQLITE_OK ){ + rc = sqlite3Fts3Incrmerge(p, nMerge, nMin); + } + sqlite3Fts3SegmentsClose(p); + } + return rc; +} + +/* +** Process statements of the form: +** +** INSERT INTO table(table) VALUES('automerge=X'); +** +** where X is an integer. X==0 means to turn automerge off. X!=0 means +** turn it on. The setting is persistent. +*/ +static int fts3DoAutoincrmerge( + Fts3Table *p, /* FTS3 table handle */ + const char *zParam /* Nul-terminated string containing boolean */ +){ + int rc = SQLITE_OK; + sqlite3_stmt *pStmt = 0; + p->nAutoincrmerge = fts3Getint(&zParam); + if( p->nAutoincrmerge==1 || p->nAutoincrmerge>FTS3_MERGE_COUNT ){ + p->nAutoincrmerge = 8; + } + if( !p->bHasStat ){ + assert( p->bFts4==0 ); + sqlite3Fts3CreateStatTable(&rc, p); + if( rc ) return rc; + } + rc = fts3SqlStmt(p, SQL_REPLACE_STAT, &pStmt, 0); + if( rc ) return rc; + sqlite3_bind_int(pStmt, 1, FTS_STAT_AUTOINCRMERGE); + sqlite3_bind_int(pStmt, 2, p->nAutoincrmerge); + sqlite3_step(pStmt); + rc = sqlite3_reset(pStmt); + return rc; +} + +/* +** Return a 64-bit checksum for the FTS index entry specified by the +** arguments to this function. +*/ +static u64 fts3ChecksumEntry( + const char *zTerm, /* Pointer to buffer containing term */ + int nTerm, /* Size of zTerm in bytes */ + int iLangid, /* Language id for current row */ + int iIndex, /* Index (0..Fts3Table.nIndex-1) */ + i64 iDocid, /* Docid for current row. */ + int iCol, /* Column number */ + int iPos /* Position */ +){ + int i; + u64 ret = (u64)iDocid; + + ret += (ret<<3) + iLangid; + ret += (ret<<3) + iIndex; + ret += (ret<<3) + iCol; + ret += (ret<<3) + iPos; + for(i=0; inIndex-1) */ + int *pRc /* OUT: Return code */ +){ + Fts3SegFilter filter; + Fts3MultiSegReader csr; + int rc; + u64 cksum = 0; + + assert( *pRc==SQLITE_OK ); + + memset(&filter, 0, sizeof(filter)); + memset(&csr, 0, sizeof(csr)); + filter.flags = FTS3_SEGMENT_REQUIRE_POS|FTS3_SEGMENT_IGNORE_EMPTY; + filter.flags |= FTS3_SEGMENT_SCAN; + + rc = sqlite3Fts3SegReaderCursor( + p, iLangid, iIndex, FTS3_SEGCURSOR_ALL, 0, 0, 0, 1,&csr + ); + if( rc==SQLITE_OK ){ + rc = sqlite3Fts3SegReaderStart(p, &csr, &filter); + } + + if( rc==SQLITE_OK ){ + while( SQLITE_ROW==(rc = sqlite3Fts3SegReaderStep(p, &csr)) ){ + char *pCsr = csr.aDoclist; + char *pEnd = &pCsr[csr.nDoclist]; + + i64 iDocid = 0; + i64 iCol = 0; + i64 iPos = 0; + + pCsr += sqlite3Fts3GetVarint(pCsr, &iDocid); + while( pCsriPrevLangid); + sqlite3_bind_int(pAllLangid, 2, p->nIndex); + while( rc==SQLITE_OK && sqlite3_step(pAllLangid)==SQLITE_ROW ){ + int iLangid = sqlite3_column_int(pAllLangid, 0); + int i; + for(i=0; inIndex; i++){ + cksum1 = cksum1 ^ fts3ChecksumIndex(p, iLangid, i, &rc); + } + } + rc2 = sqlite3_reset(pAllLangid); + if( rc==SQLITE_OK ) rc = rc2; + } + + /* This block calculates the checksum according to the %_content table */ + if( rc==SQLITE_OK ){ + sqlite3_tokenizer_module const *pModule = p->pTokenizer->pModule; + sqlite3_stmt *pStmt = 0; + char *zSql; + + zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist); + if( !zSql ){ + rc = SQLITE_NOMEM; + }else{ + rc = sqlite3_prepare_v2(p->db, zSql, -1, &pStmt, 0); + sqlite3_free(zSql); + } + + while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){ + i64 iDocid = sqlite3_column_int64(pStmt, 0); + int iLang = langidFromSelect(p, pStmt); + int iCol; + + for(iCol=0; rc==SQLITE_OK && iColnColumn; iCol++){ + if( p->abNotindexed[iCol]==0 ){ + const char *zText = (const char *)sqlite3_column_text(pStmt, iCol+1); + int nText = sqlite3_column_bytes(pStmt, iCol+1); + sqlite3_tokenizer_cursor *pT = 0; + + rc = sqlite3Fts3OpenTokenizer(p->pTokenizer, iLang, zText, nText,&pT); + while( rc==SQLITE_OK ){ + char const *zToken; /* Buffer containing token */ + int nToken = 0; /* Number of bytes in token */ + int iDum1 = 0, iDum2 = 0; /* Dummy variables */ + int iPos = 0; /* Position of token in zText */ + + rc = pModule->xNext(pT, &zToken, &nToken, &iDum1, &iDum2, &iPos); + if( rc==SQLITE_OK ){ + int i; + cksum2 = cksum2 ^ fts3ChecksumEntry( + zToken, nToken, iLang, 0, iDocid, iCol, iPos + ); + for(i=1; inIndex; i++){ + if( p->aIndex[i].nPrefix<=nToken ){ + cksum2 = cksum2 ^ fts3ChecksumEntry( + zToken, p->aIndex[i].nPrefix, iLang, i, iDocid, iCol, iPos + ); + } + } + } + } + if( pT ) pModule->xClose(pT); + if( rc==SQLITE_DONE ) rc = SQLITE_OK; + } + } + } + + sqlite3_finalize(pStmt); + } + + *pbOk = (cksum1==cksum2); + return rc; +} + +/* +** Run the integrity-check. If no error occurs and the current contents of +** the FTS index are correct, return SQLITE_OK. Or, if the contents of the +** FTS index are incorrect, return SQLITE_CORRUPT_VTAB. +** +** Or, if an error (e.g. an OOM or IO error) occurs, return an SQLite +** error code. +** +** The integrity-check works as follows. For each token and indexed token +** prefix in the document set, a 64-bit checksum is calculated (by code +** in fts3ChecksumEntry()) based on the following: +** +** + The index number (0 for the main index, 1 for the first prefix +** index etc.), +** + The token (or token prefix) text itself, +** + The language-id of the row it appears in, +** + The docid of the row it appears in, +** + The column it appears in, and +** + The tokens position within that column. +** +** The checksums for all entries in the index are XORed together to create +** a single checksum for the entire index. +** +** The integrity-check code calculates the same checksum in two ways: +** +** 1. By scanning the contents of the FTS index, and +** 2. By scanning and tokenizing the content table. +** +** If the two checksums are identical, the integrity-check is deemed to have +** passed. +*/ +static int fts3DoIntegrityCheck( + Fts3Table *p /* FTS3 table handle */ +){ + int rc; + int bOk = 0; + rc = fts3IntegrityCheck(p, &bOk); + if( rc==SQLITE_OK && bOk==0 ) rc = FTS_CORRUPT_VTAB; + return rc; +} + +/* +** Handle a 'special' INSERT of the form: +** +** "INSERT INTO tbl(tbl) VALUES()" +** +** Argument pVal contains the result of . Currently the only +** meaningful value to insert is the text 'optimize'. +*/ +static int fts3SpecialInsert(Fts3Table *p, sqlite3_value *pVal){ + int rc; /* Return Code */ + const char *zVal = (const char *)sqlite3_value_text(pVal); + int nVal = sqlite3_value_bytes(pVal); + + if( !zVal ){ + return SQLITE_NOMEM; + }else if( nVal==8 && 0==sqlite3_strnicmp(zVal, "optimize", 8) ){ + rc = fts3DoOptimize(p, 0); + }else if( nVal==7 && 0==sqlite3_strnicmp(zVal, "rebuild", 7) ){ + rc = fts3DoRebuild(p); + }else if( nVal==15 && 0==sqlite3_strnicmp(zVal, "integrity-check", 15) ){ + rc = fts3DoIntegrityCheck(p); + }else if( nVal>6 && 0==sqlite3_strnicmp(zVal, "merge=", 6) ){ + rc = fts3DoIncrmerge(p, &zVal[6]); + }else if( nVal>10 && 0==sqlite3_strnicmp(zVal, "automerge=", 10) ){ + rc = fts3DoAutoincrmerge(p, &zVal[10]); +#ifdef SQLITE_TEST + }else if( nVal>9 && 0==sqlite3_strnicmp(zVal, "nodesize=", 9) ){ + p->nNodeSize = atoi(&zVal[9]); + rc = SQLITE_OK; + }else if( nVal>11 && 0==sqlite3_strnicmp(zVal, "maxpending=", 9) ){ + p->nMaxPendingData = atoi(&zVal[11]); + rc = SQLITE_OK; + }else if( nVal>21 && 0==sqlite3_strnicmp(zVal, "test-no-incr-doclist=", 21) ){ + p->bNoIncrDoclist = atoi(&zVal[21]); + rc = SQLITE_OK; +#endif + }else{ + rc = SQLITE_ERROR; + } + + return rc; +} + +#ifndef SQLITE_DISABLE_FTS4_DEFERRED +/* +** Delete all cached deferred doclists. Deferred doclists are cached +** (allocated) by the sqlite3Fts3CacheDeferredDoclists() function. +*/ +SQLITE_PRIVATE void sqlite3Fts3FreeDeferredDoclists(Fts3Cursor *pCsr){ + Fts3DeferredToken *pDef; + for(pDef=pCsr->pDeferred; pDef; pDef=pDef->pNext){ + fts3PendingListDelete(pDef->pList); + pDef->pList = 0; + } +} + +/* +** Free all entries in the pCsr->pDeffered list. Entries are added to +** this list using sqlite3Fts3DeferToken(). +*/ +SQLITE_PRIVATE void sqlite3Fts3FreeDeferredTokens(Fts3Cursor *pCsr){ + Fts3DeferredToken *pDef; + Fts3DeferredToken *pNext; + for(pDef=pCsr->pDeferred; pDef; pDef=pNext){ + pNext = pDef->pNext; + fts3PendingListDelete(pDef->pList); + sqlite3_free(pDef); + } + pCsr->pDeferred = 0; +} + +/* +** Generate deferred-doclists for all tokens in the pCsr->pDeferred list +** based on the row that pCsr currently points to. +** +** A deferred-doclist is like any other doclist with position information +** included, except that it only contains entries for a single row of the +** table, not for all rows. +*/ +SQLITE_PRIVATE int sqlite3Fts3CacheDeferredDoclists(Fts3Cursor *pCsr){ + int rc = SQLITE_OK; /* Return code */ + if( pCsr->pDeferred ){ + int i; /* Used to iterate through table columns */ + sqlite3_int64 iDocid; /* Docid of the row pCsr points to */ + Fts3DeferredToken *pDef; /* Used to iterate through deferred tokens */ + + Fts3Table *p = (Fts3Table *)pCsr->base.pVtab; + sqlite3_tokenizer *pT = p->pTokenizer; + sqlite3_tokenizer_module const *pModule = pT->pModule; + + assert( pCsr->isRequireSeek==0 ); + iDocid = sqlite3_column_int64(pCsr->pStmt, 0); + + for(i=0; inColumn && rc==SQLITE_OK; i++){ + if( p->abNotindexed[i]==0 ){ + const char *zText = (const char *)sqlite3_column_text(pCsr->pStmt, i+1); + sqlite3_tokenizer_cursor *pTC = 0; + + rc = sqlite3Fts3OpenTokenizer(pT, pCsr->iLangid, zText, -1, &pTC); + while( rc==SQLITE_OK ){ + char const *zToken; /* Buffer containing token */ + int nToken = 0; /* Number of bytes in token */ + int iDum1 = 0, iDum2 = 0; /* Dummy variables */ + int iPos = 0; /* Position of token in zText */ + + rc = pModule->xNext(pTC, &zToken, &nToken, &iDum1, &iDum2, &iPos); + for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){ + Fts3PhraseToken *pPT = pDef->pToken; + if( (pDef->iCol>=p->nColumn || pDef->iCol==i) + && (pPT->bFirst==0 || iPos==0) + && (pPT->n==nToken || (pPT->isPrefix && pPT->nz, pPT->n)) + ){ + fts3PendingListAppend(&pDef->pList, iDocid, i, iPos, &rc); + } + } + } + if( pTC ) pModule->xClose(pTC); + if( rc==SQLITE_DONE ) rc = SQLITE_OK; + } + } + + for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){ + if( pDef->pList ){ + rc = fts3PendingListAppendVarint(&pDef->pList, 0); + } + } + } + + return rc; +} + +SQLITE_PRIVATE int sqlite3Fts3DeferredTokenList( + Fts3DeferredToken *p, + char **ppData, + int *pnData +){ + char *pRet; + int nSkip; + sqlite3_int64 dummy; + + *ppData = 0; + *pnData = 0; + + if( p->pList==0 ){ + return SQLITE_OK; + } + + pRet = (char *)sqlite3_malloc(p->pList->nData); + if( !pRet ) return SQLITE_NOMEM; + + nSkip = sqlite3Fts3GetVarint(p->pList->aData, &dummy); + *pnData = p->pList->nData - nSkip; + *ppData = pRet; + + memcpy(pRet, &p->pList->aData[nSkip], *pnData); + return SQLITE_OK; +} + +/* +** Add an entry for token pToken to the pCsr->pDeferred list. +*/ +SQLITE_PRIVATE int sqlite3Fts3DeferToken( + Fts3Cursor *pCsr, /* Fts3 table cursor */ + Fts3PhraseToken *pToken, /* Token to defer */ + int iCol /* Column that token must appear in (or -1) */ +){ + Fts3DeferredToken *pDeferred; + pDeferred = sqlite3_malloc(sizeof(*pDeferred)); + if( !pDeferred ){ + return SQLITE_NOMEM; + } + memset(pDeferred, 0, sizeof(*pDeferred)); + pDeferred->pToken = pToken; + pDeferred->pNext = pCsr->pDeferred; + pDeferred->iCol = iCol; + pCsr->pDeferred = pDeferred; + + assert( pToken->pDeferred==0 ); + pToken->pDeferred = pDeferred; + + return SQLITE_OK; +} +#endif + +/* +** SQLite value pRowid contains the rowid of a row that may or may not be +** present in the FTS3 table. If it is, delete it and adjust the contents +** of subsiduary data structures accordingly. +*/ +static int fts3DeleteByRowid( + Fts3Table *p, + sqlite3_value *pRowid, + int *pnChng, /* IN/OUT: Decrement if row is deleted */ + u32 *aSzDel +){ + int rc = SQLITE_OK; /* Return code */ + int bFound = 0; /* True if *pRowid really is in the table */ + + fts3DeleteTerms(&rc, p, pRowid, aSzDel, &bFound); + if( bFound && rc==SQLITE_OK ){ + int isEmpty = 0; /* Deleting *pRowid leaves the table empty */ + rc = fts3IsEmpty(p, pRowid, &isEmpty); + if( rc==SQLITE_OK ){ + if( isEmpty ){ + /* Deleting this row means the whole table is empty. In this case + ** delete the contents of all three tables and throw away any + ** data in the pendingTerms hash table. */ + rc = fts3DeleteAll(p, 1); + *pnChng = 0; + memset(aSzDel, 0, sizeof(u32) * (p->nColumn+1) * 2); + }else{ + *pnChng = *pnChng - 1; + if( p->zContentTbl==0 ){ + fts3SqlExec(&rc, p, SQL_DELETE_CONTENT, &pRowid); + } + if( p->bHasDocsize ){ + fts3SqlExec(&rc, p, SQL_DELETE_DOCSIZE, &pRowid); + } + } + } + } + + return rc; +} + +/* +** This function does the work for the xUpdate method of FTS3 virtual +** tables. The schema of the virtual table being: +** +** CREATE TABLE
    ( +** , +**
    HIDDEN, +** docid HIDDEN, +** HIDDEN +** ); +** +** +*/ +SQLITE_PRIVATE int sqlite3Fts3UpdateMethod( + sqlite3_vtab *pVtab, /* FTS3 vtab object */ + int nArg, /* Size of argument array */ + sqlite3_value **apVal, /* Array of arguments */ + sqlite_int64 *pRowid /* OUT: The affected (or effected) rowid */ +){ + Fts3Table *p = (Fts3Table *)pVtab; + int rc = SQLITE_OK; /* Return Code */ + u32 *aSzIns = 0; /* Sizes of inserted documents */ + u32 *aSzDel = 0; /* Sizes of deleted documents */ + int nChng = 0; /* Net change in number of documents */ + int bInsertDone = 0; + + /* At this point it must be known if the %_stat table exists or not. + ** So bHasStat may not be 2. */ + assert( p->bHasStat==0 || p->bHasStat==1 ); + + assert( p->pSegments==0 ); + assert( + nArg==1 /* DELETE operations */ + || nArg==(2 + p->nColumn + 3) /* INSERT or UPDATE operations */ + ); + + /* Check for a "special" INSERT operation. One of the form: + ** + ** INSERT INTO xyz(xyz) VALUES('command'); + */ + if( nArg>1 + && sqlite3_value_type(apVal[0])==SQLITE_NULL + && sqlite3_value_type(apVal[p->nColumn+2])!=SQLITE_NULL + ){ + rc = fts3SpecialInsert(p, apVal[p->nColumn+2]); + goto update_out; + } + + if( nArg>1 && sqlite3_value_int(apVal[2 + p->nColumn + 2])<0 ){ + rc = SQLITE_CONSTRAINT; + goto update_out; + } + + /* Allocate space to hold the change in document sizes */ + aSzDel = sqlite3_malloc64(sizeof(aSzDel[0])*((sqlite3_int64)p->nColumn+1)*2); + if( aSzDel==0 ){ + rc = SQLITE_NOMEM; + goto update_out; + } + aSzIns = &aSzDel[p->nColumn+1]; + memset(aSzDel, 0, sizeof(aSzDel[0])*(p->nColumn+1)*2); + + rc = fts3Writelock(p); + if( rc!=SQLITE_OK ) goto update_out; + + /* If this is an INSERT operation, or an UPDATE that modifies the rowid + ** value, then this operation requires constraint handling. + ** + ** If the on-conflict mode is REPLACE, this means that the existing row + ** should be deleted from the database before inserting the new row. Or, + ** if the on-conflict mode is other than REPLACE, then this method must + ** detect the conflict and return SQLITE_CONSTRAINT before beginning to + ** modify the database file. + */ + if( nArg>1 && p->zContentTbl==0 ){ + /* Find the value object that holds the new rowid value. */ + sqlite3_value *pNewRowid = apVal[3+p->nColumn]; + if( sqlite3_value_type(pNewRowid)==SQLITE_NULL ){ + pNewRowid = apVal[1]; + } + + if( sqlite3_value_type(pNewRowid)!=SQLITE_NULL && ( + sqlite3_value_type(apVal[0])==SQLITE_NULL + || sqlite3_value_int64(apVal[0])!=sqlite3_value_int64(pNewRowid) + )){ + /* The new rowid is not NULL (in this case the rowid will be + ** automatically assigned and there is no chance of a conflict), and + ** the statement is either an INSERT or an UPDATE that modifies the + ** rowid column. So if the conflict mode is REPLACE, then delete any + ** existing row with rowid=pNewRowid. + ** + ** Or, if the conflict mode is not REPLACE, insert the new record into + ** the %_content table. If we hit the duplicate rowid constraint (or any + ** other error) while doing so, return immediately. + ** + ** This branch may also run if pNewRowid contains a value that cannot + ** be losslessly converted to an integer. In this case, the eventual + ** call to fts3InsertData() (either just below or further on in this + ** function) will return SQLITE_MISMATCH. If fts3DeleteByRowid is + ** invoked, it will delete zero rows (since no row will have + ** docid=$pNewRowid if $pNewRowid is not an integer value). + */ + if( sqlite3_vtab_on_conflict(p->db)==SQLITE_REPLACE ){ + rc = fts3DeleteByRowid(p, pNewRowid, &nChng, aSzDel); + }else{ + rc = fts3InsertData(p, apVal, pRowid); + bInsertDone = 1; + } + } + } + if( rc!=SQLITE_OK ){ + goto update_out; + } + + /* If this is a DELETE or UPDATE operation, remove the old record. */ + if( sqlite3_value_type(apVal[0])!=SQLITE_NULL ){ + assert( sqlite3_value_type(apVal[0])==SQLITE_INTEGER ); + rc = fts3DeleteByRowid(p, apVal[0], &nChng, aSzDel); + } + + /* If this is an INSERT or UPDATE operation, insert the new record. */ + if( nArg>1 && rc==SQLITE_OK ){ + int iLangid = sqlite3_value_int(apVal[2 + p->nColumn + 2]); + if( bInsertDone==0 ){ + rc = fts3InsertData(p, apVal, pRowid); + if( rc==SQLITE_CONSTRAINT && p->zContentTbl==0 ){ + rc = FTS_CORRUPT_VTAB; + } + } + if( rc==SQLITE_OK ){ + rc = fts3PendingTermsDocid(p, 0, iLangid, *pRowid); + } + if( rc==SQLITE_OK ){ + assert( p->iPrevDocid==*pRowid ); + rc = fts3InsertTerms(p, iLangid, apVal, aSzIns); + } + if( p->bHasDocsize ){ + fts3InsertDocsize(&rc, p, aSzIns); + } + nChng++; + } + + if( p->bFts4 ){ + fts3UpdateDocTotals(&rc, p, aSzIns, aSzDel, nChng); + } + + update_out: + sqlite3_free(aSzDel); + sqlite3Fts3SegmentsClose(p); + return rc; +} + +/* +** Flush any data in the pending-terms hash table to disk. If successful, +** merge all segments in the database (including the new segment, if +** there was any data to flush) into a single segment. +*/ +SQLITE_PRIVATE int sqlite3Fts3Optimize(Fts3Table *p){ + int rc; + rc = sqlite3_exec(p->db, "SAVEPOINT fts3", 0, 0, 0); + if( rc==SQLITE_OK ){ + rc = fts3DoOptimize(p, 1); + if( rc==SQLITE_OK || rc==SQLITE_DONE ){ + int rc2 = sqlite3_exec(p->db, "RELEASE fts3", 0, 0, 0); + if( rc2!=SQLITE_OK ) rc = rc2; + }else{ + sqlite3_exec(p->db, "ROLLBACK TO fts3", 0, 0, 0); + sqlite3_exec(p->db, "RELEASE fts3", 0, 0, 0); + } + } + sqlite3Fts3SegmentsClose(p); + return rc; +} + +#endif + +/************** End of fts3_write.c ******************************************/ +/************** Begin file fts3_snippet.c ************************************/ +/* +** 2009 Oct 23 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +*/ + +/* #include "fts3Int.h" */ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) + +/* #include */ +/* #include */ + +/* +** Characters that may appear in the second argument to matchinfo(). +*/ +#define FTS3_MATCHINFO_NPHRASE 'p' /* 1 value */ +#define FTS3_MATCHINFO_NCOL 'c' /* 1 value */ +#define FTS3_MATCHINFO_NDOC 'n' /* 1 value */ +#define FTS3_MATCHINFO_AVGLENGTH 'a' /* nCol values */ +#define FTS3_MATCHINFO_LENGTH 'l' /* nCol values */ +#define FTS3_MATCHINFO_LCS 's' /* nCol values */ +#define FTS3_MATCHINFO_HITS 'x' /* 3*nCol*nPhrase values */ +#define FTS3_MATCHINFO_LHITS 'y' /* nCol*nPhrase values */ +#define FTS3_MATCHINFO_LHITS_BM 'b' /* nCol*nPhrase values */ + +/* +** The default value for the second argument to matchinfo(). +*/ +#define FTS3_MATCHINFO_DEFAULT "pcx" + + +/* +** Used as an fts3ExprIterate() context when loading phrase doclists to +** Fts3Expr.aDoclist[]/nDoclist. +*/ +typedef struct LoadDoclistCtx LoadDoclistCtx; +struct LoadDoclistCtx { + Fts3Cursor *pCsr; /* FTS3 Cursor */ + int nPhrase; /* Number of phrases seen so far */ + int nToken; /* Number of tokens seen so far */ +}; + +/* +** The following types are used as part of the implementation of the +** fts3BestSnippet() routine. +*/ +typedef struct SnippetIter SnippetIter; +typedef struct SnippetPhrase SnippetPhrase; +typedef struct SnippetFragment SnippetFragment; + +struct SnippetIter { + Fts3Cursor *pCsr; /* Cursor snippet is being generated from */ + int iCol; /* Extract snippet from this column */ + int nSnippet; /* Requested snippet length (in tokens) */ + int nPhrase; /* Number of phrases in query */ + SnippetPhrase *aPhrase; /* Array of size nPhrase */ + int iCurrent; /* First token of current snippet */ +}; + +struct SnippetPhrase { + int nToken; /* Number of tokens in phrase */ + char *pList; /* Pointer to start of phrase position list */ + int iHead; /* Next value in position list */ + char *pHead; /* Position list data following iHead */ + int iTail; /* Next value in trailing position list */ + char *pTail; /* Position list data following iTail */ +}; + +struct SnippetFragment { + int iCol; /* Column snippet is extracted from */ + int iPos; /* Index of first token in snippet */ + u64 covered; /* Mask of query phrases covered */ + u64 hlmask; /* Mask of snippet terms to highlight */ +}; + +/* +** This type is used as an fts3ExprIterate() context object while +** accumulating the data returned by the matchinfo() function. +*/ +typedef struct MatchInfo MatchInfo; +struct MatchInfo { + Fts3Cursor *pCursor; /* FTS3 Cursor */ + int nCol; /* Number of columns in table */ + int nPhrase; /* Number of matchable phrases in query */ + sqlite3_int64 nDoc; /* Number of docs in database */ + char flag; + u32 *aMatchinfo; /* Pre-allocated buffer */ +}; + +/* +** An instance of this structure is used to manage a pair of buffers, each +** (nElem * sizeof(u32)) bytes in size. See the MatchinfoBuffer code below +** for details. +*/ +struct MatchinfoBuffer { + u8 aRef[3]; + int nElem; + int bGlobal; /* Set if global data is loaded */ + char *zMatchinfo; + u32 aMatchinfo[1]; +}; + + +/* +** The snippet() and offsets() functions both return text values. An instance +** of the following structure is used to accumulate those values while the +** functions are running. See fts3StringAppend() for details. +*/ +typedef struct StrBuffer StrBuffer; +struct StrBuffer { + char *z; /* Pointer to buffer containing string */ + int n; /* Length of z in bytes (excl. nul-term) */ + int nAlloc; /* Allocated size of buffer z in bytes */ +}; + + +/************************************************************************* +** Start of MatchinfoBuffer code. +*/ + +/* +** Allocate a two-slot MatchinfoBuffer object. +*/ +static MatchinfoBuffer *fts3MIBufferNew(size_t nElem, const char *zMatchinfo){ + MatchinfoBuffer *pRet; + sqlite3_int64 nByte = sizeof(u32) * (2*(sqlite3_int64)nElem + 1) + + sizeof(MatchinfoBuffer); + sqlite3_int64 nStr = strlen(zMatchinfo); + + pRet = sqlite3_malloc64(nByte + nStr+1); + if( pRet ){ + memset(pRet, 0, nByte); + pRet->aMatchinfo[0] = (u8*)(&pRet->aMatchinfo[1]) - (u8*)pRet; + pRet->aMatchinfo[1+nElem] = pRet->aMatchinfo[0] + + sizeof(u32)*((int)nElem+1); + pRet->nElem = (int)nElem; + pRet->zMatchinfo = ((char*)pRet) + nByte; + memcpy(pRet->zMatchinfo, zMatchinfo, nStr+1); + pRet->aRef[0] = 1; + } + + return pRet; +} + +static void fts3MIBufferFree(void *p){ + MatchinfoBuffer *pBuf = (MatchinfoBuffer*)((u8*)p - ((u32*)p)[-1]); + + assert( (u32*)p==&pBuf->aMatchinfo[1] + || (u32*)p==&pBuf->aMatchinfo[pBuf->nElem+2] + ); + if( (u32*)p==&pBuf->aMatchinfo[1] ){ + pBuf->aRef[1] = 0; + }else{ + pBuf->aRef[2] = 0; + } + + if( pBuf->aRef[0]==0 && pBuf->aRef[1]==0 && pBuf->aRef[2]==0 ){ + sqlite3_free(pBuf); + } +} + +static void (*fts3MIBufferAlloc(MatchinfoBuffer *p, u32 **paOut))(void*){ + void (*xRet)(void*) = 0; + u32 *aOut = 0; + + if( p->aRef[1]==0 ){ + p->aRef[1] = 1; + aOut = &p->aMatchinfo[1]; + xRet = fts3MIBufferFree; + } + else if( p->aRef[2]==0 ){ + p->aRef[2] = 1; + aOut = &p->aMatchinfo[p->nElem+2]; + xRet = fts3MIBufferFree; + }else{ + aOut = (u32*)sqlite3_malloc64(p->nElem * sizeof(u32)); + if( aOut ){ + xRet = sqlite3_free; + if( p->bGlobal ) memcpy(aOut, &p->aMatchinfo[1], p->nElem*sizeof(u32)); + } + } + + *paOut = aOut; + return xRet; +} + +static void fts3MIBufferSetGlobal(MatchinfoBuffer *p){ + p->bGlobal = 1; + memcpy(&p->aMatchinfo[2+p->nElem], &p->aMatchinfo[1], p->nElem*sizeof(u32)); +} + +/* +** Free a MatchinfoBuffer object allocated using fts3MIBufferNew() +*/ +SQLITE_PRIVATE void sqlite3Fts3MIBufferFree(MatchinfoBuffer *p){ + if( p ){ + assert( p->aRef[0]==1 ); + p->aRef[0] = 0; + if( p->aRef[0]==0 && p->aRef[1]==0 && p->aRef[2]==0 ){ + sqlite3_free(p); + } + } +} + +/* +** End of MatchinfoBuffer code. +*************************************************************************/ + + +/* +** This function is used to help iterate through a position-list. A position +** list is a list of unique integers, sorted from smallest to largest. Each +** element of the list is represented by an FTS3 varint that takes the value +** of the difference between the current element and the previous one plus +** two. For example, to store the position-list: +** +** 4 9 113 +** +** the three varints: +** +** 6 7 106 +** +** are encoded. +** +** When this function is called, *pp points to the start of an element of +** the list. *piPos contains the value of the previous entry in the list. +** After it returns, *piPos contains the value of the next element of the +** list and *pp is advanced to the following varint. +*/ +static void fts3GetDeltaPosition(char **pp, int *piPos){ + int iVal; + *pp += fts3GetVarint32(*pp, &iVal); + *piPos += (iVal-2); +} + +/* +** Helper function for fts3ExprIterate() (see below). +*/ +static int fts3ExprIterate2( + Fts3Expr *pExpr, /* Expression to iterate phrases of */ + int *piPhrase, /* Pointer to phrase counter */ + int (*x)(Fts3Expr*,int,void*), /* Callback function to invoke for phrases */ + void *pCtx /* Second argument to pass to callback */ +){ + int rc; /* Return code */ + int eType = pExpr->eType; /* Type of expression node pExpr */ + + if( eType!=FTSQUERY_PHRASE ){ + assert( pExpr->pLeft && pExpr->pRight ); + rc = fts3ExprIterate2(pExpr->pLeft, piPhrase, x, pCtx); + if( rc==SQLITE_OK && eType!=FTSQUERY_NOT ){ + rc = fts3ExprIterate2(pExpr->pRight, piPhrase, x, pCtx); + } + }else{ + rc = x(pExpr, *piPhrase, pCtx); + (*piPhrase)++; + } + return rc; +} + +/* +** Iterate through all phrase nodes in an FTS3 query, except those that +** are part of a sub-tree that is the right-hand-side of a NOT operator. +** For each phrase node found, the supplied callback function is invoked. +** +** If the callback function returns anything other than SQLITE_OK, +** the iteration is abandoned and the error code returned immediately. +** Otherwise, SQLITE_OK is returned after a callback has been made for +** all eligible phrase nodes. +*/ +static int fts3ExprIterate( + Fts3Expr *pExpr, /* Expression to iterate phrases of */ + int (*x)(Fts3Expr*,int,void*), /* Callback function to invoke for phrases */ + void *pCtx /* Second argument to pass to callback */ +){ + int iPhrase = 0; /* Variable used as the phrase counter */ + return fts3ExprIterate2(pExpr, &iPhrase, x, pCtx); +} + + +/* +** This is an fts3ExprIterate() callback used while loading the doclists +** for each phrase into Fts3Expr.aDoclist[]/nDoclist. See also +** fts3ExprLoadDoclists(). +*/ +static int fts3ExprLoadDoclistsCb(Fts3Expr *pExpr, int iPhrase, void *ctx){ + int rc = SQLITE_OK; + Fts3Phrase *pPhrase = pExpr->pPhrase; + LoadDoclistCtx *p = (LoadDoclistCtx *)ctx; + + UNUSED_PARAMETER(iPhrase); + + p->nPhrase++; + p->nToken += pPhrase->nToken; + + return rc; +} + +/* +** Load the doclists for each phrase in the query associated with FTS3 cursor +** pCsr. +** +** If pnPhrase is not NULL, then *pnPhrase is set to the number of matchable +** phrases in the expression (all phrases except those directly or +** indirectly descended from the right-hand-side of a NOT operator). If +** pnToken is not NULL, then it is set to the number of tokens in all +** matchable phrases of the expression. +*/ +static int fts3ExprLoadDoclists( + Fts3Cursor *pCsr, /* Fts3 cursor for current query */ + int *pnPhrase, /* OUT: Number of phrases in query */ + int *pnToken /* OUT: Number of tokens in query */ +){ + int rc; /* Return Code */ + LoadDoclistCtx sCtx = {0,0,0}; /* Context for fts3ExprIterate() */ + sCtx.pCsr = pCsr; + rc = fts3ExprIterate(pCsr->pExpr, fts3ExprLoadDoclistsCb, (void *)&sCtx); + if( pnPhrase ) *pnPhrase = sCtx.nPhrase; + if( pnToken ) *pnToken = sCtx.nToken; + return rc; +} + +static int fts3ExprPhraseCountCb(Fts3Expr *pExpr, int iPhrase, void *ctx){ + (*(int *)ctx)++; + pExpr->iPhrase = iPhrase; + return SQLITE_OK; +} +static int fts3ExprPhraseCount(Fts3Expr *pExpr){ + int nPhrase = 0; + (void)fts3ExprIterate(pExpr, fts3ExprPhraseCountCb, (void *)&nPhrase); + return nPhrase; +} + +/* +** Advance the position list iterator specified by the first two +** arguments so that it points to the first element with a value greater +** than or equal to parameter iNext. +*/ +static void fts3SnippetAdvance(char **ppIter, int *piIter, int iNext){ + char *pIter = *ppIter; + if( pIter ){ + int iIter = *piIter; + + while( iIteriCurrent<0 ){ + /* The SnippetIter object has just been initialized. The first snippet + ** candidate always starts at offset 0 (even if this candidate has a + ** score of 0.0). + */ + pIter->iCurrent = 0; + + /* Advance the 'head' iterator of each phrase to the first offset that + ** is greater than or equal to (iNext+nSnippet). + */ + for(i=0; inPhrase; i++){ + SnippetPhrase *pPhrase = &pIter->aPhrase[i]; + fts3SnippetAdvance(&pPhrase->pHead, &pPhrase->iHead, pIter->nSnippet); + } + }else{ + int iStart; + int iEnd = 0x7FFFFFFF; + + for(i=0; inPhrase; i++){ + SnippetPhrase *pPhrase = &pIter->aPhrase[i]; + if( pPhrase->pHead && pPhrase->iHeadiHead; + } + } + if( iEnd==0x7FFFFFFF ){ + return 1; + } + + pIter->iCurrent = iStart = iEnd - pIter->nSnippet + 1; + for(i=0; inPhrase; i++){ + SnippetPhrase *pPhrase = &pIter->aPhrase[i]; + fts3SnippetAdvance(&pPhrase->pHead, &pPhrase->iHead, iEnd+1); + fts3SnippetAdvance(&pPhrase->pTail, &pPhrase->iTail, iStart); + } + } + + return 0; +} + +/* +** Retrieve information about the current candidate snippet of snippet +** iterator pIter. +*/ +static void fts3SnippetDetails( + SnippetIter *pIter, /* Snippet iterator */ + u64 mCovered, /* Bitmask of phrases already covered */ + int *piToken, /* OUT: First token of proposed snippet */ + int *piScore, /* OUT: "Score" for this snippet */ + u64 *pmCover, /* OUT: Bitmask of phrases covered */ + u64 *pmHighlight /* OUT: Bitmask of terms to highlight */ +){ + int iStart = pIter->iCurrent; /* First token of snippet */ + int iScore = 0; /* Score of this snippet */ + int i; /* Loop counter */ + u64 mCover = 0; /* Mask of phrases covered by this snippet */ + u64 mHighlight = 0; /* Mask of tokens to highlight in snippet */ + + for(i=0; inPhrase; i++){ + SnippetPhrase *pPhrase = &pIter->aPhrase[i]; + if( pPhrase->pTail ){ + char *pCsr = pPhrase->pTail; + int iCsr = pPhrase->iTail; + + while( iCsr<(iStart+pIter->nSnippet) && iCsr>=iStart ){ + int j; + u64 mPhrase = (u64)1 << (i%64); + u64 mPos = (u64)1 << (iCsr - iStart); + assert( iCsr>=iStart && (iCsr - iStart)<=64 ); + assert( i>=0 ); + if( (mCover|mCovered)&mPhrase ){ + iScore++; + }else{ + iScore += 1000; + } + mCover |= mPhrase; + + for(j=0; jnToken; j++){ + mHighlight |= (mPos>>j); + } + + if( 0==(*pCsr & 0x0FE) ) break; + fts3GetDeltaPosition(&pCsr, &iCsr); + } + } + } + + /* Set the output variables before returning. */ + *piToken = iStart; + *piScore = iScore; + *pmCover = mCover; + *pmHighlight = mHighlight; +} + +/* +** This function is an fts3ExprIterate() callback used by fts3BestSnippet(). +** Each invocation populates an element of the SnippetIter.aPhrase[] array. +*/ +static int fts3SnippetFindPositions(Fts3Expr *pExpr, int iPhrase, void *ctx){ + SnippetIter *p = (SnippetIter *)ctx; + SnippetPhrase *pPhrase = &p->aPhrase[iPhrase]; + char *pCsr; + int rc; + + pPhrase->nToken = pExpr->pPhrase->nToken; + rc = sqlite3Fts3EvalPhrasePoslist(p->pCsr, pExpr, p->iCol, &pCsr); + assert( rc==SQLITE_OK || pCsr==0 ); + if( pCsr ){ + int iFirst = 0; + pPhrase->pList = pCsr; + fts3GetDeltaPosition(&pCsr, &iFirst); + if( iFirst<0 ){ + rc = FTS_CORRUPT_VTAB; + }else{ + pPhrase->pHead = pCsr; + pPhrase->pTail = pCsr; + pPhrase->iHead = iFirst; + pPhrase->iTail = iFirst; + } + }else{ + assert( rc!=SQLITE_OK || ( + pPhrase->pList==0 && pPhrase->pHead==0 && pPhrase->pTail==0 + )); + } + + return rc; +} + +/* +** Select the fragment of text consisting of nFragment contiguous tokens +** from column iCol that represent the "best" snippet. The best snippet +** is the snippet with the highest score, where scores are calculated +** by adding: +** +** (a) +1 point for each occurrence of a matchable phrase in the snippet. +** +** (b) +1000 points for the first occurrence of each matchable phrase in +** the snippet for which the corresponding mCovered bit is not set. +** +** The selected snippet parameters are stored in structure *pFragment before +** returning. The score of the selected snippet is stored in *piScore +** before returning. +*/ +static int fts3BestSnippet( + int nSnippet, /* Desired snippet length */ + Fts3Cursor *pCsr, /* Cursor to create snippet for */ + int iCol, /* Index of column to create snippet from */ + u64 mCovered, /* Mask of phrases already covered */ + u64 *pmSeen, /* IN/OUT: Mask of phrases seen */ + SnippetFragment *pFragment, /* OUT: Best snippet found */ + int *piScore /* OUT: Score of snippet pFragment */ +){ + int rc; /* Return Code */ + int nList; /* Number of phrases in expression */ + SnippetIter sIter; /* Iterates through snippet candidates */ + sqlite3_int64 nByte; /* Number of bytes of space to allocate */ + int iBestScore = -1; /* Best snippet score found so far */ + int i; /* Loop counter */ + + memset(&sIter, 0, sizeof(sIter)); + + /* Iterate through the phrases in the expression to count them. The same + ** callback makes sure the doclists are loaded for each phrase. + */ + rc = fts3ExprLoadDoclists(pCsr, &nList, 0); + if( rc!=SQLITE_OK ){ + return rc; + } + + /* Now that it is known how many phrases there are, allocate and zero + ** the required space using malloc(). + */ + nByte = sizeof(SnippetPhrase) * nList; + sIter.aPhrase = (SnippetPhrase *)sqlite3_malloc64(nByte); + if( !sIter.aPhrase ){ + return SQLITE_NOMEM; + } + memset(sIter.aPhrase, 0, nByte); + + /* Initialize the contents of the SnippetIter object. Then iterate through + ** the set of phrases in the expression to populate the aPhrase[] array. + */ + sIter.pCsr = pCsr; + sIter.iCol = iCol; + sIter.nSnippet = nSnippet; + sIter.nPhrase = nList; + sIter.iCurrent = -1; + rc = fts3ExprIterate(pCsr->pExpr, fts3SnippetFindPositions, (void*)&sIter); + if( rc==SQLITE_OK ){ + + /* Set the *pmSeen output variable. */ + for(i=0; iiCol = iCol; + while( !fts3SnippetNextCandidate(&sIter) ){ + int iPos; + int iScore; + u64 mCover; + u64 mHighlite; + fts3SnippetDetails(&sIter, mCovered, &iPos, &iScore, &mCover,&mHighlite); + assert( iScore>=0 ); + if( iScore>iBestScore ){ + pFragment->iPos = iPos; + pFragment->hlmask = mHighlite; + pFragment->covered = mCover; + iBestScore = iScore; + } + } + + *piScore = iBestScore; + } + sqlite3_free(sIter.aPhrase); + return rc; +} + + +/* +** Append a string to the string-buffer passed as the first argument. +** +** If nAppend is negative, then the length of the string zAppend is +** determined using strlen(). +*/ +static int fts3StringAppend( + StrBuffer *pStr, /* Buffer to append to */ + const char *zAppend, /* Pointer to data to append to buffer */ + int nAppend /* Size of zAppend in bytes (or -1) */ +){ + if( nAppend<0 ){ + nAppend = (int)strlen(zAppend); + } + + /* If there is insufficient space allocated at StrBuffer.z, use realloc() + ** to grow the buffer until so that it is big enough to accomadate the + ** appended data. + */ + if( pStr->n+nAppend+1>=pStr->nAlloc ){ + sqlite3_int64 nAlloc = pStr->nAlloc+(sqlite3_int64)nAppend+100; + char *zNew = sqlite3_realloc64(pStr->z, nAlloc); + if( !zNew ){ + return SQLITE_NOMEM; + } + pStr->z = zNew; + pStr->nAlloc = nAlloc; + } + assert( pStr->z!=0 && (pStr->nAlloc >= pStr->n+nAppend+1) ); + + /* Append the data to the string buffer. */ + memcpy(&pStr->z[pStr->n], zAppend, nAppend); + pStr->n += nAppend; + pStr->z[pStr->n] = '\0'; + + return SQLITE_OK; +} + +/* +** The fts3BestSnippet() function often selects snippets that end with a +** query term. That is, the final term of the snippet is always a term +** that requires highlighting. For example, if 'X' is a highlighted term +** and '.' is a non-highlighted term, BestSnippet() may select: +** +** ........X.....X +** +** This function "shifts" the beginning of the snippet forward in the +** document so that there are approximately the same number of +** non-highlighted terms to the right of the final highlighted term as there +** are to the left of the first highlighted term. For example, to this: +** +** ....X.....X.... +** +** This is done as part of extracting the snippet text, not when selecting +** the snippet. Snippet selection is done based on doclists only, so there +** is no way for fts3BestSnippet() to know whether or not the document +** actually contains terms that follow the final highlighted term. +*/ +static int fts3SnippetShift( + Fts3Table *pTab, /* FTS3 table snippet comes from */ + int iLangid, /* Language id to use in tokenizing */ + int nSnippet, /* Number of tokens desired for snippet */ + const char *zDoc, /* Document text to extract snippet from */ + int nDoc, /* Size of buffer zDoc in bytes */ + int *piPos, /* IN/OUT: First token of snippet */ + u64 *pHlmask /* IN/OUT: Mask of tokens to highlight */ +){ + u64 hlmask = *pHlmask; /* Local copy of initial highlight-mask */ + + if( hlmask ){ + int nLeft; /* Tokens to the left of first highlight */ + int nRight; /* Tokens to the right of last highlight */ + int nDesired; /* Ideal number of tokens to shift forward */ + + for(nLeft=0; !(hlmask & ((u64)1 << nLeft)); nLeft++); + for(nRight=0; !(hlmask & ((u64)1 << (nSnippet-1-nRight))); nRight++); + assert( (nSnippet-1-nRight)<=63 && (nSnippet-1-nRight)>=0 ); + nDesired = (nLeft-nRight)/2; + + /* Ideally, the start of the snippet should be pushed forward in the + ** document nDesired tokens. This block checks if there are actually + ** nDesired tokens to the right of the snippet. If so, *piPos and + ** *pHlMask are updated to shift the snippet nDesired tokens to the + ** right. Otherwise, the snippet is shifted by the number of tokens + ** available. + */ + if( nDesired>0 ){ + int nShift; /* Number of tokens to shift snippet by */ + int iCurrent = 0; /* Token counter */ + int rc; /* Return Code */ + sqlite3_tokenizer_module *pMod; + sqlite3_tokenizer_cursor *pC; + pMod = (sqlite3_tokenizer_module *)pTab->pTokenizer->pModule; + + /* Open a cursor on zDoc/nDoc. Check if there are (nSnippet+nDesired) + ** or more tokens in zDoc/nDoc. + */ + rc = sqlite3Fts3OpenTokenizer(pTab->pTokenizer, iLangid, zDoc, nDoc, &pC); + if( rc!=SQLITE_OK ){ + return rc; + } + while( rc==SQLITE_OK && iCurrent<(nSnippet+nDesired) ){ + const char *ZDUMMY; int DUMMY1 = 0, DUMMY2 = 0, DUMMY3 = 0; + rc = pMod->xNext(pC, &ZDUMMY, &DUMMY1, &DUMMY2, &DUMMY3, &iCurrent); + } + pMod->xClose(pC); + if( rc!=SQLITE_OK && rc!=SQLITE_DONE ){ return rc; } + + nShift = (rc==SQLITE_DONE)+iCurrent-nSnippet; + assert( nShift<=nDesired ); + if( nShift>0 ){ + *piPos += nShift; + *pHlmask = hlmask >> nShift; + } + } + } + return SQLITE_OK; +} + +/* +** Extract the snippet text for fragment pFragment from cursor pCsr and +** append it to string buffer pOut. +*/ +static int fts3SnippetText( + Fts3Cursor *pCsr, /* FTS3 Cursor */ + SnippetFragment *pFragment, /* Snippet to extract */ + int iFragment, /* Fragment number */ + int isLast, /* True for final fragment in snippet */ + int nSnippet, /* Number of tokens in extracted snippet */ + const char *zOpen, /* String inserted before highlighted term */ + const char *zClose, /* String inserted after highlighted term */ + const char *zEllipsis, /* String inserted between snippets */ + StrBuffer *pOut /* Write output here */ +){ + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + int rc; /* Return code */ + const char *zDoc; /* Document text to extract snippet from */ + int nDoc; /* Size of zDoc in bytes */ + int iCurrent = 0; /* Current token number of document */ + int iEnd = 0; /* Byte offset of end of current token */ + int isShiftDone = 0; /* True after snippet is shifted */ + int iPos = pFragment->iPos; /* First token of snippet */ + u64 hlmask = pFragment->hlmask; /* Highlight-mask for snippet */ + int iCol = pFragment->iCol+1; /* Query column to extract text from */ + sqlite3_tokenizer_module *pMod; /* Tokenizer module methods object */ + sqlite3_tokenizer_cursor *pC; /* Tokenizer cursor open on zDoc/nDoc */ + + zDoc = (const char *)sqlite3_column_text(pCsr->pStmt, iCol); + if( zDoc==0 ){ + if( sqlite3_column_type(pCsr->pStmt, iCol)!=SQLITE_NULL ){ + return SQLITE_NOMEM; + } + return SQLITE_OK; + } + nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol); + + /* Open a token cursor on the document. */ + pMod = (sqlite3_tokenizer_module *)pTab->pTokenizer->pModule; + rc = sqlite3Fts3OpenTokenizer(pTab->pTokenizer, pCsr->iLangid, zDoc,nDoc,&pC); + if( rc!=SQLITE_OK ){ + return rc; + } + + while( rc==SQLITE_OK ){ + const char *ZDUMMY; /* Dummy argument used with tokenizer */ + int DUMMY1 = -1; /* Dummy argument used with tokenizer */ + int iBegin = 0; /* Offset in zDoc of start of token */ + int iFin = 0; /* Offset in zDoc of end of token */ + int isHighlight = 0; /* True for highlighted terms */ + + /* Variable DUMMY1 is initialized to a negative value above. Elsewhere + ** in the FTS code the variable that the third argument to xNext points to + ** is initialized to zero before the first (*but not necessarily + ** subsequent*) call to xNext(). This is done for a particular application + ** that needs to know whether or not the tokenizer is being used for + ** snippet generation or for some other purpose. + ** + ** Extreme care is required when writing code to depend on this + ** initialization. It is not a documented part of the tokenizer interface. + ** If a tokenizer is used directly by any code outside of FTS, this + ** convention might not be respected. */ + rc = pMod->xNext(pC, &ZDUMMY, &DUMMY1, &iBegin, &iFin, &iCurrent); + if( rc!=SQLITE_OK ){ + if( rc==SQLITE_DONE ){ + /* Special case - the last token of the snippet is also the last token + ** of the column. Append any punctuation that occurred between the end + ** of the previous token and the end of the document to the output. + ** Then break out of the loop. */ + rc = fts3StringAppend(pOut, &zDoc[iEnd], -1); + } + break; + } + if( iCurrentiLangid, nSnippet, &zDoc[iBegin], n, &iPos, &hlmask + ); + isShiftDone = 1; + + /* Now that the shift has been done, check if the initial "..." are + ** required. They are required if (a) this is not the first fragment, + ** or (b) this fragment does not begin at position 0 of its column. + */ + if( rc==SQLITE_OK ){ + if( iPos>0 || iFragment>0 ){ + rc = fts3StringAppend(pOut, zEllipsis, -1); + }else if( iBegin ){ + rc = fts3StringAppend(pOut, zDoc, iBegin); + } + } + if( rc!=SQLITE_OK || iCurrent=(iPos+nSnippet) ){ + if( isLast ){ + rc = fts3StringAppend(pOut, zEllipsis, -1); + } + break; + } + + /* Set isHighlight to true if this term should be highlighted. */ + isHighlight = (hlmask & ((u64)1 << (iCurrent-iPos)))!=0; + + if( iCurrent>iPos ) rc = fts3StringAppend(pOut, &zDoc[iEnd], iBegin-iEnd); + if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zOpen, -1); + if( rc==SQLITE_OK ) rc = fts3StringAppend(pOut, &zDoc[iBegin], iFin-iBegin); + if( rc==SQLITE_OK && isHighlight ) rc = fts3StringAppend(pOut, zClose, -1); + + iEnd = iFin; + } + + pMod->xClose(pC); + return rc; +} + + +/* +** This function is used to count the entries in a column-list (a +** delta-encoded list of term offsets within a single column of a single +** row). When this function is called, *ppCollist should point to the +** beginning of the first varint in the column-list (the varint that +** contains the position of the first matching term in the column data). +** Before returning, *ppCollist is set to point to the first byte after +** the last varint in the column-list (either the 0x00 signifying the end +** of the position-list, or the 0x01 that precedes the column number of +** the next column in the position-list). +** +** The number of elements in the column-list is returned. +*/ +static int fts3ColumnlistCount(char **ppCollist){ + char *pEnd = *ppCollist; + char c = 0; + int nEntry = 0; + + /* A column-list is terminated by either a 0x01 or 0x00. */ + while( 0xFE & (*pEnd | c) ){ + c = *pEnd++ & 0x80; + if( !c ) nEntry++; + } + + *ppCollist = pEnd; + return nEntry; +} + +/* +** This function gathers 'y' or 'b' data for a single phrase. +*/ +static int fts3ExprLHits( + Fts3Expr *pExpr, /* Phrase expression node */ + MatchInfo *p /* Matchinfo context */ +){ + Fts3Table *pTab = (Fts3Table *)p->pCursor->base.pVtab; + int iStart; + Fts3Phrase *pPhrase = pExpr->pPhrase; + char *pIter = pPhrase->doclist.pList; + int iCol = 0; + + assert( p->flag==FTS3_MATCHINFO_LHITS_BM || p->flag==FTS3_MATCHINFO_LHITS ); + if( p->flag==FTS3_MATCHINFO_LHITS ){ + iStart = pExpr->iPhrase * p->nCol; + }else{ + iStart = pExpr->iPhrase * ((p->nCol + 31) / 32); + } + + while( 1 ){ + int nHit = fts3ColumnlistCount(&pIter); + if( (pPhrase->iColumn>=pTab->nColumn || pPhrase->iColumn==iCol) ){ + if( p->flag==FTS3_MATCHINFO_LHITS ){ + p->aMatchinfo[iStart + iCol] = (u32)nHit; + }else if( nHit ){ + p->aMatchinfo[iStart + (iCol+1)/32] |= (1 << (iCol&0x1F)); + } + } + assert( *pIter==0x00 || *pIter==0x01 ); + if( *pIter!=0x01 ) break; + pIter++; + pIter += fts3GetVarint32(pIter, &iCol); + if( iCol>=p->nCol ) return FTS_CORRUPT_VTAB; + } + return SQLITE_OK; +} + +/* +** Gather the results for matchinfo directives 'y' and 'b'. +*/ +static int fts3ExprLHitGather( + Fts3Expr *pExpr, + MatchInfo *p +){ + int rc = SQLITE_OK; + assert( (pExpr->pLeft==0)==(pExpr->pRight==0) ); + if( pExpr->bEof==0 && pExpr->iDocid==p->pCursor->iPrevId ){ + if( pExpr->pLeft ){ + rc = fts3ExprLHitGather(pExpr->pLeft, p); + if( rc==SQLITE_OK ) rc = fts3ExprLHitGather(pExpr->pRight, p); + }else{ + rc = fts3ExprLHits(pExpr, p); + } + } + return rc; +} + +/* +** fts3ExprIterate() callback used to collect the "global" matchinfo stats +** for a single query. +** +** fts3ExprIterate() callback to load the 'global' elements of a +** FTS3_MATCHINFO_HITS matchinfo array. The global stats are those elements +** of the matchinfo array that are constant for all rows returned by the +** current query. +** +** Argument pCtx is actually a pointer to a struct of type MatchInfo. This +** function populates Matchinfo.aMatchinfo[] as follows: +** +** for(iCol=0; iColpCursor, pExpr, &p->aMatchinfo[3*iPhrase*p->nCol] + ); +} + +/* +** fts3ExprIterate() callback used to collect the "local" part of the +** FTS3_MATCHINFO_HITS array. The local stats are those elements of the +** array that are different for each row returned by the query. +*/ +static int fts3ExprLocalHitsCb( + Fts3Expr *pExpr, /* Phrase expression node */ + int iPhrase, /* Phrase number */ + void *pCtx /* Pointer to MatchInfo structure */ +){ + int rc = SQLITE_OK; + MatchInfo *p = (MatchInfo *)pCtx; + int iStart = iPhrase * p->nCol * 3; + int i; + + for(i=0; inCol && rc==SQLITE_OK; i++){ + char *pCsr; + rc = sqlite3Fts3EvalPhrasePoslist(p->pCursor, pExpr, i, &pCsr); + if( pCsr ){ + p->aMatchinfo[iStart+i*3] = fts3ColumnlistCount(&pCsr); + }else{ + p->aMatchinfo[iStart+i*3] = 0; + } + } + + return rc; +} + +static int fts3MatchinfoCheck( + Fts3Table *pTab, + char cArg, + char **pzErr +){ + if( (cArg==FTS3_MATCHINFO_NPHRASE) + || (cArg==FTS3_MATCHINFO_NCOL) + || (cArg==FTS3_MATCHINFO_NDOC && pTab->bFts4) + || (cArg==FTS3_MATCHINFO_AVGLENGTH && pTab->bFts4) + || (cArg==FTS3_MATCHINFO_LENGTH && pTab->bHasDocsize) + || (cArg==FTS3_MATCHINFO_LCS) + || (cArg==FTS3_MATCHINFO_HITS) + || (cArg==FTS3_MATCHINFO_LHITS) + || (cArg==FTS3_MATCHINFO_LHITS_BM) + ){ + return SQLITE_OK; + } + sqlite3Fts3ErrMsg(pzErr, "unrecognized matchinfo request: %c", cArg); + return SQLITE_ERROR; +} + +static size_t fts3MatchinfoSize(MatchInfo *pInfo, char cArg){ + size_t nVal; /* Number of integers output by cArg */ + + switch( cArg ){ + case FTS3_MATCHINFO_NDOC: + case FTS3_MATCHINFO_NPHRASE: + case FTS3_MATCHINFO_NCOL: + nVal = 1; + break; + + case FTS3_MATCHINFO_AVGLENGTH: + case FTS3_MATCHINFO_LENGTH: + case FTS3_MATCHINFO_LCS: + nVal = pInfo->nCol; + break; + + case FTS3_MATCHINFO_LHITS: + nVal = pInfo->nCol * pInfo->nPhrase; + break; + + case FTS3_MATCHINFO_LHITS_BM: + nVal = pInfo->nPhrase * ((pInfo->nCol + 31) / 32); + break; + + default: + assert( cArg==FTS3_MATCHINFO_HITS ); + nVal = pInfo->nCol * pInfo->nPhrase * 3; + break; + } + + return nVal; +} + +static int fts3MatchinfoSelectDoctotal( + Fts3Table *pTab, + sqlite3_stmt **ppStmt, + sqlite3_int64 *pnDoc, + const char **paLen +){ + sqlite3_stmt *pStmt; + const char *a; + sqlite3_int64 nDoc; + + if( !*ppStmt ){ + int rc = sqlite3Fts3SelectDoctotal(pTab, ppStmt); + if( rc!=SQLITE_OK ) return rc; + } + pStmt = *ppStmt; + assert( sqlite3_data_count(pStmt)==1 ); + + a = sqlite3_column_blob(pStmt, 0); + a += sqlite3Fts3GetVarint(a, &nDoc); + if( nDoc==0 ) return FTS_CORRUPT_VTAB; + *pnDoc = (u32)nDoc; + + if( paLen ) *paLen = a; + return SQLITE_OK; +} + +/* +** An instance of the following structure is used to store state while +** iterating through a multi-column position-list corresponding to the +** hits for a single phrase on a single row in order to calculate the +** values for a matchinfo() FTS3_MATCHINFO_LCS request. +*/ +typedef struct LcsIterator LcsIterator; +struct LcsIterator { + Fts3Expr *pExpr; /* Pointer to phrase expression */ + int iPosOffset; /* Tokens count up to end of this phrase */ + char *pRead; /* Cursor used to iterate through aDoclist */ + int iPos; /* Current position */ +}; + +/* +** If LcsIterator.iCol is set to the following value, the iterator has +** finished iterating through all offsets for all columns. +*/ +#define LCS_ITERATOR_FINISHED 0x7FFFFFFF; + +static int fts3MatchinfoLcsCb( + Fts3Expr *pExpr, /* Phrase expression node */ + int iPhrase, /* Phrase number (numbered from zero) */ + void *pCtx /* Pointer to MatchInfo structure */ +){ + LcsIterator *aIter = (LcsIterator *)pCtx; + aIter[iPhrase].pExpr = pExpr; + return SQLITE_OK; +} + +/* +** Advance the iterator passed as an argument to the next position. Return +** 1 if the iterator is at EOF or if it now points to the start of the +** position list for the next column. +*/ +static int fts3LcsIteratorAdvance(LcsIterator *pIter){ + char *pRead = pIter->pRead; + sqlite3_int64 iRead; + int rc = 0; + + pRead += sqlite3Fts3GetVarint(pRead, &iRead); + if( iRead==0 || iRead==1 ){ + pRead = 0; + rc = 1; + }else{ + pIter->iPos += (int)(iRead-2); + } + + pIter->pRead = pRead; + return rc; +} + +/* +** This function implements the FTS3_MATCHINFO_LCS matchinfo() flag. +** +** If the call is successful, the longest-common-substring lengths for each +** column are written into the first nCol elements of the pInfo->aMatchinfo[] +** array before returning. SQLITE_OK is returned in this case. +** +** Otherwise, if an error occurs, an SQLite error code is returned and the +** data written to the first nCol elements of pInfo->aMatchinfo[] is +** undefined. +*/ +static int fts3MatchinfoLcs(Fts3Cursor *pCsr, MatchInfo *pInfo){ + LcsIterator *aIter; + int i; + int iCol; + int nToken = 0; + int rc = SQLITE_OK; + + /* Allocate and populate the array of LcsIterator objects. The array + ** contains one element for each matchable phrase in the query. + **/ + aIter = sqlite3_malloc64(sizeof(LcsIterator) * pCsr->nPhrase); + if( !aIter ) return SQLITE_NOMEM; + memset(aIter, 0, sizeof(LcsIterator) * pCsr->nPhrase); + (void)fts3ExprIterate(pCsr->pExpr, fts3MatchinfoLcsCb, (void*)aIter); + + for(i=0; inPhrase; i++){ + LcsIterator *pIter = &aIter[i]; + nToken -= pIter->pExpr->pPhrase->nToken; + pIter->iPosOffset = nToken; + } + + for(iCol=0; iColnCol; iCol++){ + int nLcs = 0; /* LCS value for this column */ + int nLive = 0; /* Number of iterators in aIter not at EOF */ + + for(i=0; inPhrase; i++){ + LcsIterator *pIt = &aIter[i]; + rc = sqlite3Fts3EvalPhrasePoslist(pCsr, pIt->pExpr, iCol, &pIt->pRead); + if( rc!=SQLITE_OK ) goto matchinfo_lcs_out; + if( pIt->pRead ){ + pIt->iPos = pIt->iPosOffset; + fts3LcsIteratorAdvance(pIt); + if( pIt->pRead==0 ){ + rc = FTS_CORRUPT_VTAB; + goto matchinfo_lcs_out; + } + nLive++; + } + } + + while( nLive>0 ){ + LcsIterator *pAdv = 0; /* The iterator to advance by one position */ + int nThisLcs = 0; /* LCS for the current iterator positions */ + + for(i=0; inPhrase; i++){ + LcsIterator *pIter = &aIter[i]; + if( pIter->pRead==0 ){ + /* This iterator is already at EOF for this column. */ + nThisLcs = 0; + }else{ + if( pAdv==0 || pIter->iPosiPos ){ + pAdv = pIter; + } + if( nThisLcs==0 || pIter->iPos==pIter[-1].iPos ){ + nThisLcs++; + }else{ + nThisLcs = 1; + } + if( nThisLcs>nLcs ) nLcs = nThisLcs; + } + } + if( fts3LcsIteratorAdvance(pAdv) ) nLive--; + } + + pInfo->aMatchinfo[iCol] = nLcs; + } + + matchinfo_lcs_out: + sqlite3_free(aIter); + return rc; +} + +/* +** Populate the buffer pInfo->aMatchinfo[] with an array of integers to +** be returned by the matchinfo() function. Argument zArg contains the +** format string passed as the second argument to matchinfo (or the +** default value "pcx" if no second argument was specified). The format +** string has already been validated and the pInfo->aMatchinfo[] array +** is guaranteed to be large enough for the output. +** +** If bGlobal is true, then populate all fields of the matchinfo() output. +** If it is false, then assume that those fields that do not change between +** rows (i.e. FTS3_MATCHINFO_NPHRASE, NCOL, NDOC, AVGLENGTH and part of HITS) +** have already been populated. +** +** Return SQLITE_OK if successful, or an SQLite error code if an error +** occurs. If a value other than SQLITE_OK is returned, the state the +** pInfo->aMatchinfo[] buffer is left in is undefined. +*/ +static int fts3MatchinfoValues( + Fts3Cursor *pCsr, /* FTS3 cursor object */ + int bGlobal, /* True to grab the global stats */ + MatchInfo *pInfo, /* Matchinfo context object */ + const char *zArg /* Matchinfo format string */ +){ + int rc = SQLITE_OK; + int i; + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + sqlite3_stmt *pSelect = 0; + + for(i=0; rc==SQLITE_OK && zArg[i]; i++){ + pInfo->flag = zArg[i]; + switch( zArg[i] ){ + case FTS3_MATCHINFO_NPHRASE: + if( bGlobal ) pInfo->aMatchinfo[0] = pInfo->nPhrase; + break; + + case FTS3_MATCHINFO_NCOL: + if( bGlobal ) pInfo->aMatchinfo[0] = pInfo->nCol; + break; + + case FTS3_MATCHINFO_NDOC: + if( bGlobal ){ + sqlite3_int64 nDoc = 0; + rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &nDoc, 0); + pInfo->aMatchinfo[0] = (u32)nDoc; + } + break; + + case FTS3_MATCHINFO_AVGLENGTH: + if( bGlobal ){ + sqlite3_int64 nDoc; /* Number of rows in table */ + const char *a; /* Aggregate column length array */ + + rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &nDoc, &a); + if( rc==SQLITE_OK ){ + int iCol; + for(iCol=0; iColnCol; iCol++){ + u32 iVal; + sqlite3_int64 nToken; + a += sqlite3Fts3GetVarint(a, &nToken); + iVal = (u32)(((u32)(nToken&0xffffffff)+nDoc/2)/nDoc); + pInfo->aMatchinfo[iCol] = iVal; + } + } + } + break; + + case FTS3_MATCHINFO_LENGTH: { + sqlite3_stmt *pSelectDocsize = 0; + rc = sqlite3Fts3SelectDocsize(pTab, pCsr->iPrevId, &pSelectDocsize); + if( rc==SQLITE_OK ){ + int iCol; + const char *a = sqlite3_column_blob(pSelectDocsize, 0); + for(iCol=0; iColnCol; iCol++){ + sqlite3_int64 nToken; + a += sqlite3Fts3GetVarint(a, &nToken); + pInfo->aMatchinfo[iCol] = (u32)nToken; + } + } + sqlite3_reset(pSelectDocsize); + break; + } + + case FTS3_MATCHINFO_LCS: + rc = fts3ExprLoadDoclists(pCsr, 0, 0); + if( rc==SQLITE_OK ){ + rc = fts3MatchinfoLcs(pCsr, pInfo); + } + break; + + case FTS3_MATCHINFO_LHITS_BM: + case FTS3_MATCHINFO_LHITS: { + size_t nZero = fts3MatchinfoSize(pInfo, zArg[i]) * sizeof(u32); + memset(pInfo->aMatchinfo, 0, nZero); + rc = fts3ExprLHitGather(pCsr->pExpr, pInfo); + break; + } + + default: { + Fts3Expr *pExpr; + assert( zArg[i]==FTS3_MATCHINFO_HITS ); + pExpr = pCsr->pExpr; + rc = fts3ExprLoadDoclists(pCsr, 0, 0); + if( rc!=SQLITE_OK ) break; + if( bGlobal ){ + if( pCsr->pDeferred ){ + rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &pInfo->nDoc, 0); + if( rc!=SQLITE_OK ) break; + } + rc = fts3ExprIterate(pExpr, fts3ExprGlobalHitsCb,(void*)pInfo); + sqlite3Fts3EvalTestDeferred(pCsr, &rc); + if( rc!=SQLITE_OK ) break; + } + (void)fts3ExprIterate(pExpr, fts3ExprLocalHitsCb,(void*)pInfo); + break; + } + } + + pInfo->aMatchinfo += fts3MatchinfoSize(pInfo, zArg[i]); + } + + sqlite3_reset(pSelect); + return rc; +} + + +/* +** Populate pCsr->aMatchinfo[] with data for the current row. The +** 'matchinfo' data is an array of 32-bit unsigned integers (C type u32). +*/ +static void fts3GetMatchinfo( + sqlite3_context *pCtx, /* Return results here */ + Fts3Cursor *pCsr, /* FTS3 Cursor object */ + const char *zArg /* Second argument to matchinfo() function */ +){ + MatchInfo sInfo; + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + int rc = SQLITE_OK; + int bGlobal = 0; /* Collect 'global' stats as well as local */ + + u32 *aOut = 0; + void (*xDestroyOut)(void*) = 0; + + memset(&sInfo, 0, sizeof(MatchInfo)); + sInfo.pCursor = pCsr; + sInfo.nCol = pTab->nColumn; + + /* If there is cached matchinfo() data, but the format string for the + ** cache does not match the format string for this request, discard + ** the cached data. */ + if( pCsr->pMIBuffer && strcmp(pCsr->pMIBuffer->zMatchinfo, zArg) ){ + sqlite3Fts3MIBufferFree(pCsr->pMIBuffer); + pCsr->pMIBuffer = 0; + } + + /* If Fts3Cursor.pMIBuffer is NULL, then this is the first time the + ** matchinfo function has been called for this query. In this case + ** allocate the array used to accumulate the matchinfo data and + ** initialize those elements that are constant for every row. + */ + if( pCsr->pMIBuffer==0 ){ + size_t nMatchinfo = 0; /* Number of u32 elements in match-info */ + int i; /* Used to iterate through zArg */ + + /* Determine the number of phrases in the query */ + pCsr->nPhrase = fts3ExprPhraseCount(pCsr->pExpr); + sInfo.nPhrase = pCsr->nPhrase; + + /* Determine the number of integers in the buffer returned by this call. */ + for(i=0; zArg[i]; i++){ + char *zErr = 0; + if( fts3MatchinfoCheck(pTab, zArg[i], &zErr) ){ + sqlite3_result_error(pCtx, zErr, -1); + sqlite3_free(zErr); + return; + } + nMatchinfo += fts3MatchinfoSize(&sInfo, zArg[i]); + } + + /* Allocate space for Fts3Cursor.aMatchinfo[] and Fts3Cursor.zMatchinfo. */ + pCsr->pMIBuffer = fts3MIBufferNew(nMatchinfo, zArg); + if( !pCsr->pMIBuffer ) rc = SQLITE_NOMEM; + + pCsr->isMatchinfoNeeded = 1; + bGlobal = 1; + } + + if( rc==SQLITE_OK ){ + xDestroyOut = fts3MIBufferAlloc(pCsr->pMIBuffer, &aOut); + if( xDestroyOut==0 ){ + rc = SQLITE_NOMEM; + } + } + + if( rc==SQLITE_OK ){ + sInfo.aMatchinfo = aOut; + sInfo.nPhrase = pCsr->nPhrase; + rc = fts3MatchinfoValues(pCsr, bGlobal, &sInfo, zArg); + if( bGlobal ){ + fts3MIBufferSetGlobal(pCsr->pMIBuffer); + } + } + + if( rc!=SQLITE_OK ){ + sqlite3_result_error_code(pCtx, rc); + if( xDestroyOut ) xDestroyOut(aOut); + }else{ + int n = pCsr->pMIBuffer->nElem * sizeof(u32); + sqlite3_result_blob(pCtx, aOut, n, xDestroyOut); + } +} + +/* +** Implementation of snippet() function. +*/ +SQLITE_PRIVATE void sqlite3Fts3Snippet( + sqlite3_context *pCtx, /* SQLite function call context */ + Fts3Cursor *pCsr, /* Cursor object */ + const char *zStart, /* Snippet start text - "" */ + const char *zEnd, /* Snippet end text - "" */ + const char *zEllipsis, /* Snippet ellipsis text - "..." */ + int iCol, /* Extract snippet from this column */ + int nToken /* Approximate number of tokens in snippet */ +){ + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + int rc = SQLITE_OK; + int i; + StrBuffer res = {0, 0, 0}; + + /* The returned text includes up to four fragments of text extracted from + ** the data in the current row. The first iteration of the for(...) loop + ** below attempts to locate a single fragment of text nToken tokens in + ** size that contains at least one instance of all phrases in the query + ** expression that appear in the current row. If such a fragment of text + ** cannot be found, the second iteration of the loop attempts to locate + ** a pair of fragments, and so on. + */ + int nSnippet = 0; /* Number of fragments in this snippet */ + SnippetFragment aSnippet[4]; /* Maximum of 4 fragments per snippet */ + int nFToken = -1; /* Number of tokens in each fragment */ + + if( !pCsr->pExpr ){ + sqlite3_result_text(pCtx, "", 0, SQLITE_STATIC); + return; + } + + /* Limit the snippet length to 64 tokens. */ + if( nToken<-64 ) nToken = -64; + if( nToken>+64 ) nToken = +64; + + for(nSnippet=1; 1; nSnippet++){ + + int iSnip; /* Loop counter 0..nSnippet-1 */ + u64 mCovered = 0; /* Bitmask of phrases covered by snippet */ + u64 mSeen = 0; /* Bitmask of phrases seen by BestSnippet() */ + + if( nToken>=0 ){ + nFToken = (nToken+nSnippet-1) / nSnippet; + }else{ + nFToken = -1 * nToken; + } + + for(iSnip=0; iSnipnColumn; iRead++){ + SnippetFragment sF = {0, 0, 0, 0}; + int iS = 0; + if( iCol>=0 && iRead!=iCol ) continue; + + /* Find the best snippet of nFToken tokens in column iRead. */ + rc = fts3BestSnippet(nFToken, pCsr, iRead, mCovered, &mSeen, &sF, &iS); + if( rc!=SQLITE_OK ){ + goto snippet_out; + } + if( iS>iBestScore ){ + *pFragment = sF; + iBestScore = iS; + } + } + + mCovered |= pFragment->covered; + } + + /* If all query phrases seen by fts3BestSnippet() are present in at least + ** one of the nSnippet snippet fragments, break out of the loop. + */ + assert( (mCovered&mSeen)==mCovered ); + if( mSeen==mCovered || nSnippet==SizeofArray(aSnippet) ) break; + } + + assert( nFToken>0 ); + + for(i=0; ipCsr, pExpr, p->iCol, &pList); + nTerm = pExpr->pPhrase->nToken; + if( pList ){ + fts3GetDeltaPosition(&pList, &iPos); + assert_fts3_nc( iPos>=0 ); + } + + for(iTerm=0; iTermaTerm[p->iTerm++]; + pT->iOff = nTerm-iTerm-1; + pT->pList = pList; + pT->iPos = iPos; + } + + return rc; +} + +/* +** Implementation of offsets() function. +*/ +SQLITE_PRIVATE void sqlite3Fts3Offsets( + sqlite3_context *pCtx, /* SQLite function call context */ + Fts3Cursor *pCsr /* Cursor object */ +){ + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + sqlite3_tokenizer_module const *pMod = pTab->pTokenizer->pModule; + int rc; /* Return Code */ + int nToken; /* Number of tokens in query */ + int iCol; /* Column currently being processed */ + StrBuffer res = {0, 0, 0}; /* Result string */ + TermOffsetCtx sCtx; /* Context for fts3ExprTermOffsetInit() */ + + if( !pCsr->pExpr ){ + sqlite3_result_text(pCtx, "", 0, SQLITE_STATIC); + return; + } + + memset(&sCtx, 0, sizeof(sCtx)); + assert( pCsr->isRequireSeek==0 ); + + /* Count the number of terms in the query */ + rc = fts3ExprLoadDoclists(pCsr, 0, &nToken); + if( rc!=SQLITE_OK ) goto offsets_out; + + /* Allocate the array of TermOffset iterators. */ + sCtx.aTerm = (TermOffset *)sqlite3_malloc64(sizeof(TermOffset)*nToken); + if( 0==sCtx.aTerm ){ + rc = SQLITE_NOMEM; + goto offsets_out; + } + sCtx.iDocid = pCsr->iPrevId; + sCtx.pCsr = pCsr; + + /* Loop through the table columns, appending offset information to + ** string-buffer res for each column. + */ + for(iCol=0; iColnColumn; iCol++){ + sqlite3_tokenizer_cursor *pC; /* Tokenizer cursor */ + const char *ZDUMMY; /* Dummy argument used with xNext() */ + int NDUMMY = 0; /* Dummy argument used with xNext() */ + int iStart = 0; + int iEnd = 0; + int iCurrent = 0; + const char *zDoc; + int nDoc; + + /* Initialize the contents of sCtx.aTerm[] for column iCol. There is + ** no way that this operation can fail, so the return code from + ** fts3ExprIterate() can be discarded. + */ + sCtx.iCol = iCol; + sCtx.iTerm = 0; + (void)fts3ExprIterate(pCsr->pExpr, fts3ExprTermOffsetInit, (void*)&sCtx); + + /* Retreive the text stored in column iCol. If an SQL NULL is stored + ** in column iCol, jump immediately to the next iteration of the loop. + ** If an OOM occurs while retrieving the data (this can happen if SQLite + ** needs to transform the data from utf-16 to utf-8), return SQLITE_NOMEM + ** to the caller. + */ + zDoc = (const char *)sqlite3_column_text(pCsr->pStmt, iCol+1); + nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol+1); + if( zDoc==0 ){ + if( sqlite3_column_type(pCsr->pStmt, iCol+1)==SQLITE_NULL ){ + continue; + } + rc = SQLITE_NOMEM; + goto offsets_out; + } + + /* Initialize a tokenizer iterator to iterate through column iCol. */ + rc = sqlite3Fts3OpenTokenizer(pTab->pTokenizer, pCsr->iLangid, + zDoc, nDoc, &pC + ); + if( rc!=SQLITE_OK ) goto offsets_out; + + rc = pMod->xNext(pC, &ZDUMMY, &NDUMMY, &iStart, &iEnd, &iCurrent); + while( rc==SQLITE_OK ){ + int i; /* Used to loop through terms */ + int iMinPos = 0x7FFFFFFF; /* Position of next token */ + TermOffset *pTerm = 0; /* TermOffset associated with next token */ + + for(i=0; ipList && (pT->iPos-pT->iOff)iPos-pT->iOff; + pTerm = pT; + } + } + + if( !pTerm ){ + /* All offsets for this column have been gathered. */ + rc = SQLITE_DONE; + }else{ + assert_fts3_nc( iCurrent<=iMinPos ); + if( 0==(0xFE&*pTerm->pList) ){ + pTerm->pList = 0; + }else{ + fts3GetDeltaPosition(&pTerm->pList, &pTerm->iPos); + } + while( rc==SQLITE_OK && iCurrentxNext(pC, &ZDUMMY, &NDUMMY, &iStart, &iEnd, &iCurrent); + } + if( rc==SQLITE_OK ){ + char aBuffer[64]; + sqlite3_snprintf(sizeof(aBuffer), aBuffer, + "%d %d %d %d ", iCol, pTerm-sCtx.aTerm, iStart, iEnd-iStart + ); + rc = fts3StringAppend(&res, aBuffer, -1); + }else if( rc==SQLITE_DONE && pTab->zContentTbl==0 ){ + rc = FTS_CORRUPT_VTAB; + } + } + } + if( rc==SQLITE_DONE ){ + rc = SQLITE_OK; + } + + pMod->xClose(pC); + if( rc!=SQLITE_OK ) goto offsets_out; + } + + offsets_out: + sqlite3_free(sCtx.aTerm); + assert( rc!=SQLITE_DONE ); + sqlite3Fts3SegmentsClose(pTab); + if( rc!=SQLITE_OK ){ + sqlite3_result_error_code(pCtx, rc); + sqlite3_free(res.z); + }else{ + sqlite3_result_text(pCtx, res.z, res.n-1, sqlite3_free); + } + return; +} + +/* +** Implementation of matchinfo() function. +*/ +SQLITE_PRIVATE void sqlite3Fts3Matchinfo( + sqlite3_context *pContext, /* Function call context */ + Fts3Cursor *pCsr, /* FTS3 table cursor */ + const char *zArg /* Second arg to matchinfo() function */ +){ + Fts3Table *pTab = (Fts3Table *)pCsr->base.pVtab; + const char *zFormat; + + if( zArg ){ + zFormat = zArg; + }else{ + zFormat = FTS3_MATCHINFO_DEFAULT; + } + + if( !pCsr->pExpr ){ + sqlite3_result_blob(pContext, "", 0, SQLITE_STATIC); + return; + }else{ + /* Retrieve matchinfo() data. */ + fts3GetMatchinfo(pContext, pCsr, zFormat); + sqlite3Fts3SegmentsClose(pTab); + } +} + +#endif + +/************** End of fts3_snippet.c ****************************************/ +/************** Begin file fts3_unicode.c ************************************/ +/* +** 2012 May 24 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** Implementation of the "unicode" full-text-search tokenizer. +*/ + +#ifndef SQLITE_DISABLE_FTS3_UNICODE + +/* #include "fts3Int.h" */ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) + +/* #include */ +/* #include */ +/* #include */ +/* #include */ + +/* #include "fts3_tokenizer.h" */ + +/* +** The following two macros - READ_UTF8 and WRITE_UTF8 - have been copied +** from the sqlite3 source file utf.c. If this file is compiled as part +** of the amalgamation, they are not required. +*/ +#ifndef SQLITE_AMALGAMATION + +static const unsigned char sqlite3Utf8Trans1[] = { + 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, + 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, + 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, + 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, + 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, + 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, + 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, + 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x00, 0x00, +}; + +#define READ_UTF8(zIn, zTerm, c) \ + c = *(zIn++); \ + if( c>=0xc0 ){ \ + c = sqlite3Utf8Trans1[c-0xc0]; \ + while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){ \ + c = (c<<6) + (0x3f & *(zIn++)); \ + } \ + if( c<0x80 \ + || (c&0xFFFFF800)==0xD800 \ + || (c&0xFFFFFFFE)==0xFFFE ){ c = 0xFFFD; } \ + } + +#define WRITE_UTF8(zOut, c) { \ + if( c<0x00080 ){ \ + *zOut++ = (u8)(c&0xFF); \ + } \ + else if( c<0x00800 ){ \ + *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \ + *zOut++ = 0x80 + (u8)(c & 0x3F); \ + } \ + else if( c<0x10000 ){ \ + *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \ + *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \ + *zOut++ = 0x80 + (u8)(c & 0x3F); \ + }else{ \ + *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \ + *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \ + *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \ + *zOut++ = 0x80 + (u8)(c & 0x3F); \ + } \ +} + +#endif /* ifndef SQLITE_AMALGAMATION */ + +typedef struct unicode_tokenizer unicode_tokenizer; +typedef struct unicode_cursor unicode_cursor; + +struct unicode_tokenizer { + sqlite3_tokenizer base; + int eRemoveDiacritic; + int nException; + int *aiException; +}; + +struct unicode_cursor { + sqlite3_tokenizer_cursor base; + const unsigned char *aInput; /* Input text being tokenized */ + int nInput; /* Size of aInput[] in bytes */ + int iOff; /* Current offset within aInput[] */ + int iToken; /* Index of next token to be returned */ + char *zToken; /* storage for current token */ + int nAlloc; /* space allocated at zToken */ +}; + + +/* +** Destroy a tokenizer allocated by unicodeCreate(). +*/ +static int unicodeDestroy(sqlite3_tokenizer *pTokenizer){ + if( pTokenizer ){ + unicode_tokenizer *p = (unicode_tokenizer *)pTokenizer; + sqlite3_free(p->aiException); + sqlite3_free(p); + } + return SQLITE_OK; +} + +/* +** As part of a tokenchars= or separators= option, the CREATE VIRTUAL TABLE +** statement has specified that the tokenizer for this table shall consider +** all characters in string zIn/nIn to be separators (if bAlnum==0) or +** token characters (if bAlnum==1). +** +** For each codepoint in the zIn/nIn string, this function checks if the +** sqlite3FtsUnicodeIsalnum() function already returns the desired result. +** If so, no action is taken. Otherwise, the codepoint is added to the +** unicode_tokenizer.aiException[] array. For the purposes of tokenization, +** the return value of sqlite3FtsUnicodeIsalnum() is inverted for all +** codepoints in the aiException[] array. +** +** If a standalone diacritic mark (one that sqlite3FtsUnicodeIsdiacritic() +** identifies as a diacritic) occurs in the zIn/nIn string it is ignored. +** It is not possible to change the behavior of the tokenizer with respect +** to these codepoints. +*/ +static int unicodeAddExceptions( + unicode_tokenizer *p, /* Tokenizer to add exceptions to */ + int bAlnum, /* Replace Isalnum() return value with this */ + const char *zIn, /* Array of characters to make exceptions */ + int nIn /* Length of z in bytes */ +){ + const unsigned char *z = (const unsigned char *)zIn; + const unsigned char *zTerm = &z[nIn]; + unsigned int iCode; + int nEntry = 0; + + assert( bAlnum==0 || bAlnum==1 ); + + while( zaiException,(p->nException+nEntry)*sizeof(int)); + if( aNew==0 ) return SQLITE_NOMEM; + nNew = p->nException; + + z = (const unsigned char *)zIn; + while( zi; j--) aNew[j] = aNew[j-1]; + aNew[i] = (int)iCode; + nNew++; + } + } + p->aiException = aNew; + p->nException = nNew; + } + + return SQLITE_OK; +} + +/* +** Return true if the p->aiException[] array contains the value iCode. +*/ +static int unicodeIsException(unicode_tokenizer *p, int iCode){ + if( p->nException>0 ){ + int *a = p->aiException; + int iLo = 0; + int iHi = p->nException-1; + + while( iHi>=iLo ){ + int iTest = (iHi + iLo) / 2; + if( iCode==a[iTest] ){ + return 1; + }else if( iCode>a[iTest] ){ + iLo = iTest+1; + }else{ + iHi = iTest-1; + } + } + } + + return 0; +} + +/* +** Return true if, for the purposes of tokenization, codepoint iCode is +** considered a token character (not a separator). +*/ +static int unicodeIsAlnum(unicode_tokenizer *p, int iCode){ + assert( (sqlite3FtsUnicodeIsalnum(iCode) & 0xFFFFFFFE)==0 ); + return sqlite3FtsUnicodeIsalnum(iCode) ^ unicodeIsException(p, iCode); +} + +/* +** Create a new tokenizer instance. +*/ +static int unicodeCreate( + int nArg, /* Size of array argv[] */ + const char * const *azArg, /* Tokenizer creation arguments */ + sqlite3_tokenizer **pp /* OUT: New tokenizer handle */ +){ + unicode_tokenizer *pNew; /* New tokenizer object */ + int i; + int rc = SQLITE_OK; + + pNew = (unicode_tokenizer *) sqlite3_malloc(sizeof(unicode_tokenizer)); + if( pNew==NULL ) return SQLITE_NOMEM; + memset(pNew, 0, sizeof(unicode_tokenizer)); + pNew->eRemoveDiacritic = 1; + + for(i=0; rc==SQLITE_OK && ieRemoveDiacritic = 1; + } + else if( n==19 && memcmp("remove_diacritics=0", z, 19)==0 ){ + pNew->eRemoveDiacritic = 0; + } + else if( n==19 && memcmp("remove_diacritics=2", z, 19)==0 ){ + pNew->eRemoveDiacritic = 2; + } + else if( n>=11 && memcmp("tokenchars=", z, 11)==0 ){ + rc = unicodeAddExceptions(pNew, 1, &z[11], n-11); + } + else if( n>=11 && memcmp("separators=", z, 11)==0 ){ + rc = unicodeAddExceptions(pNew, 0, &z[11], n-11); + } + else{ + /* Unrecognized argument */ + rc = SQLITE_ERROR; + } + } + + if( rc!=SQLITE_OK ){ + unicodeDestroy((sqlite3_tokenizer *)pNew); + pNew = 0; + } + *pp = (sqlite3_tokenizer *)pNew; + return rc; +} + +/* +** Prepare to begin tokenizing a particular string. The input +** string to be tokenized is pInput[0..nBytes-1]. A cursor +** used to incrementally tokenize this string is returned in +** *ppCursor. +*/ +static int unicodeOpen( + sqlite3_tokenizer *p, /* The tokenizer */ + const char *aInput, /* Input string */ + int nInput, /* Size of string aInput in bytes */ + sqlite3_tokenizer_cursor **pp /* OUT: New cursor object */ +){ + unicode_cursor *pCsr; + + pCsr = (unicode_cursor *)sqlite3_malloc(sizeof(unicode_cursor)); + if( pCsr==0 ){ + return SQLITE_NOMEM; + } + memset(pCsr, 0, sizeof(unicode_cursor)); + + pCsr->aInput = (const unsigned char *)aInput; + if( aInput==0 ){ + pCsr->nInput = 0; + }else if( nInput<0 ){ + pCsr->nInput = (int)strlen(aInput); + }else{ + pCsr->nInput = nInput; + } + + *pp = &pCsr->base; + UNUSED_PARAMETER(p); + return SQLITE_OK; +} + +/* +** Close a tokenization cursor previously opened by a call to +** simpleOpen() above. +*/ +static int unicodeClose(sqlite3_tokenizer_cursor *pCursor){ + unicode_cursor *pCsr = (unicode_cursor *) pCursor; + sqlite3_free(pCsr->zToken); + sqlite3_free(pCsr); + return SQLITE_OK; +} + +/* +** Extract the next token from a tokenization cursor. The cursor must +** have been opened by a prior call to simpleOpen(). +*/ +static int unicodeNext( + sqlite3_tokenizer_cursor *pC, /* Cursor returned by simpleOpen */ + const char **paToken, /* OUT: Token text */ + int *pnToken, /* OUT: Number of bytes at *paToken */ + int *piStart, /* OUT: Starting offset of token */ + int *piEnd, /* OUT: Ending offset of token */ + int *piPos /* OUT: Position integer of token */ +){ + unicode_cursor *pCsr = (unicode_cursor *)pC; + unicode_tokenizer *p = ((unicode_tokenizer *)pCsr->base.pTokenizer); + unsigned int iCode = 0; + char *zOut; + const unsigned char *z = &pCsr->aInput[pCsr->iOff]; + const unsigned char *zStart = z; + const unsigned char *zEnd; + const unsigned char *zTerm = &pCsr->aInput[pCsr->nInput]; + + /* Scan past any delimiter characters before the start of the next token. + ** Return SQLITE_DONE early if this takes us all the way to the end of + ** the input. */ + while( z=zTerm ) return SQLITE_DONE; + + zOut = pCsr->zToken; + do { + int iOut; + + /* Grow the output buffer if required. */ + if( (zOut-pCsr->zToken)>=(pCsr->nAlloc-4) ){ + char *zNew = sqlite3_realloc64(pCsr->zToken, pCsr->nAlloc+64); + if( !zNew ) return SQLITE_NOMEM; + zOut = &zNew[zOut - pCsr->zToken]; + pCsr->zToken = zNew; + pCsr->nAlloc += 64; + } + + /* Write the folded case of the last character read to the output */ + zEnd = z; + iOut = sqlite3FtsUnicodeFold((int)iCode, p->eRemoveDiacritic); + if( iOut ){ + WRITE_UTF8(zOut, iOut); + } + + /* If the cursor is not at EOF, read the next character */ + if( z>=zTerm ) break; + READ_UTF8(z, zTerm, iCode); + }while( unicodeIsAlnum(p, (int)iCode) + || sqlite3FtsUnicodeIsdiacritic((int)iCode) + ); + + /* Set the output variables and return. */ + pCsr->iOff = (int)(z - pCsr->aInput); + *paToken = pCsr->zToken; + *pnToken = (int)(zOut - pCsr->zToken); + *piStart = (int)(zStart - pCsr->aInput); + *piEnd = (int)(zEnd - pCsr->aInput); + *piPos = pCsr->iToken++; + return SQLITE_OK; +} + +/* +** Set *ppModule to a pointer to the sqlite3_tokenizer_module +** structure for the unicode tokenizer. +*/ +SQLITE_PRIVATE void sqlite3Fts3UnicodeTokenizer(sqlite3_tokenizer_module const **ppModule){ + static const sqlite3_tokenizer_module module = { + 0, + unicodeCreate, + unicodeDestroy, + unicodeOpen, + unicodeClose, + unicodeNext, + 0, + }; + *ppModule = &module; +} + +#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ +#endif /* ifndef SQLITE_DISABLE_FTS3_UNICODE */ + +/************** End of fts3_unicode.c ****************************************/ +/************** Begin file fts3_unicode2.c ***********************************/ +/* +** 2012-05-25 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +*/ + +/* +** DO NOT EDIT THIS MACHINE GENERATED FILE. +*/ + +#ifndef SQLITE_DISABLE_FTS3_UNICODE +#if defined(SQLITE_ENABLE_FTS3) || defined(SQLITE_ENABLE_FTS4) + +/* #include */ + +/* +** Return true if the argument corresponds to a unicode codepoint +** classified as either a letter or a number. Otherwise false. +** +** The results are undefined if the value passed to this function +** is less than zero. +*/ +SQLITE_PRIVATE int sqlite3FtsUnicodeIsalnum(int c){ + /* Each unsigned integer in the following array corresponds to a contiguous + ** range of unicode codepoints that are not either letters or numbers (i.e. + ** codepoints for which this function should return 0). + ** + ** The most significant 22 bits in each 32-bit value contain the first + ** codepoint in the range. The least significant 10 bits are used to store + ** the size of the range (always at least 1). In other words, the value + ** ((C<<22) + N) represents a range of N codepoints starting with codepoint + ** C. It is not possible to represent a range larger than 1023 codepoints + ** using this format. + */ + static const unsigned int aEntry[] = { + 0x00000030, 0x0000E807, 0x00016C06, 0x0001EC2F, 0x0002AC07, + 0x0002D001, 0x0002D803, 0x0002EC01, 0x0002FC01, 0x00035C01, + 0x0003DC01, 0x000B0804, 0x000B480E, 0x000B9407, 0x000BB401, + 0x000BBC81, 0x000DD401, 0x000DF801, 0x000E1002, 0x000E1C01, + 0x000FD801, 0x00120808, 0x00156806, 0x00162402, 0x00163C01, + 0x00164437, 0x0017CC02, 0x00180005, 0x00181816, 0x00187802, + 0x00192C15, 0x0019A804, 0x0019C001, 0x001B5001, 0x001B580F, + 0x001B9C07, 0x001BF402, 0x001C000E, 0x001C3C01, 0x001C4401, + 0x001CC01B, 0x001E980B, 0x001FAC09, 0x001FD804, 0x00205804, + 0x00206C09, 0x00209403, 0x0020A405, 0x0020C00F, 0x00216403, + 0x00217801, 0x0023901B, 0x00240004, 0x0024E803, 0x0024F812, + 0x00254407, 0x00258804, 0x0025C001, 0x00260403, 0x0026F001, + 0x0026F807, 0x00271C02, 0x00272C03, 0x00275C01, 0x00278802, + 0x0027C802, 0x0027E802, 0x00280403, 0x0028F001, 0x0028F805, + 0x00291C02, 0x00292C03, 0x00294401, 0x0029C002, 0x0029D401, + 0x002A0403, 0x002AF001, 0x002AF808, 0x002B1C03, 0x002B2C03, + 0x002B8802, 0x002BC002, 0x002C0403, 0x002CF001, 0x002CF807, + 0x002D1C02, 0x002D2C03, 0x002D5802, 0x002D8802, 0x002DC001, + 0x002E0801, 0x002EF805, 0x002F1803, 0x002F2804, 0x002F5C01, + 0x002FCC08, 0x00300403, 0x0030F807, 0x00311803, 0x00312804, + 0x00315402, 0x00318802, 0x0031FC01, 0x00320802, 0x0032F001, + 0x0032F807, 0x00331803, 0x00332804, 0x00335402, 0x00338802, + 0x00340802, 0x0034F807, 0x00351803, 0x00352804, 0x00355C01, + 0x00358802, 0x0035E401, 0x00360802, 0x00372801, 0x00373C06, + 0x00375801, 0x00376008, 0x0037C803, 0x0038C401, 0x0038D007, + 0x0038FC01, 0x00391C09, 0x00396802, 0x003AC401, 0x003AD006, + 0x003AEC02, 0x003B2006, 0x003C041F, 0x003CD00C, 0x003DC417, + 0x003E340B, 0x003E6424, 0x003EF80F, 0x003F380D, 0x0040AC14, + 0x00412806, 0x00415804, 0x00417803, 0x00418803, 0x00419C07, + 0x0041C404, 0x0042080C, 0x00423C01, 0x00426806, 0x0043EC01, + 0x004D740C, 0x004E400A, 0x00500001, 0x0059B402, 0x005A0001, + 0x005A6C02, 0x005BAC03, 0x005C4803, 0x005CC805, 0x005D4802, + 0x005DC802, 0x005ED023, 0x005F6004, 0x005F7401, 0x0060000F, + 0x0062A401, 0x0064800C, 0x0064C00C, 0x00650001, 0x00651002, + 0x0066C011, 0x00672002, 0x00677822, 0x00685C05, 0x00687802, + 0x0069540A, 0x0069801D, 0x0069FC01, 0x006A8007, 0x006AA006, + 0x006C0005, 0x006CD011, 0x006D6823, 0x006E0003, 0x006E840D, + 0x006F980E, 0x006FF004, 0x00709014, 0x0070EC05, 0x0071F802, + 0x00730008, 0x00734019, 0x0073B401, 0x0073C803, 0x00770027, + 0x0077F004, 0x007EF401, 0x007EFC03, 0x007F3403, 0x007F7403, + 0x007FB403, 0x007FF402, 0x00800065, 0x0081A806, 0x0081E805, + 0x00822805, 0x0082801A, 0x00834021, 0x00840002, 0x00840C04, + 0x00842002, 0x00845001, 0x00845803, 0x00847806, 0x00849401, + 0x00849C01, 0x0084A401, 0x0084B801, 0x0084E802, 0x00850005, + 0x00852804, 0x00853C01, 0x00864264, 0x00900027, 0x0091000B, + 0x0092704E, 0x00940200, 0x009C0475, 0x009E53B9, 0x00AD400A, + 0x00B39406, 0x00B3BC03, 0x00B3E404, 0x00B3F802, 0x00B5C001, + 0x00B5FC01, 0x00B7804F, 0x00B8C00C, 0x00BA001A, 0x00BA6C59, + 0x00BC00D6, 0x00BFC00C, 0x00C00005, 0x00C02019, 0x00C0A807, + 0x00C0D802, 0x00C0F403, 0x00C26404, 0x00C28001, 0x00C3EC01, + 0x00C64002, 0x00C6580A, 0x00C70024, 0x00C8001F, 0x00C8A81E, + 0x00C94001, 0x00C98020, 0x00CA2827, 0x00CB003F, 0x00CC0100, + 0x01370040, 0x02924037, 0x0293F802, 0x02983403, 0x0299BC10, + 0x029A7C01, 0x029BC008, 0x029C0017, 0x029C8002, 0x029E2402, + 0x02A00801, 0x02A01801, 0x02A02C01, 0x02A08C09, 0x02A0D804, + 0x02A1D004, 0x02A20002, 0x02A2D011, 0x02A33802, 0x02A38012, + 0x02A3E003, 0x02A4980A, 0x02A51C0D, 0x02A57C01, 0x02A60004, + 0x02A6CC1B, 0x02A77802, 0x02A8A40E, 0x02A90C01, 0x02A93002, + 0x02A97004, 0x02A9DC03, 0x02A9EC01, 0x02AAC001, 0x02AAC803, + 0x02AADC02, 0x02AAF802, 0x02AB0401, 0x02AB7802, 0x02ABAC07, + 0x02ABD402, 0x02AF8C0B, 0x03600001, 0x036DFC02, 0x036FFC02, + 0x037FFC01, 0x03EC7801, 0x03ECA401, 0x03EEC810, 0x03F4F802, + 0x03F7F002, 0x03F8001A, 0x03F88007, 0x03F8C023, 0x03F95013, + 0x03F9A004, 0x03FBFC01, 0x03FC040F, 0x03FC6807, 0x03FCEC06, + 0x03FD6C0B, 0x03FF8007, 0x03FFA007, 0x03FFE405, 0x04040003, + 0x0404DC09, 0x0405E411, 0x0406400C, 0x0407402E, 0x040E7C01, + 0x040F4001, 0x04215C01, 0x04247C01, 0x0424FC01, 0x04280403, + 0x04281402, 0x04283004, 0x0428E003, 0x0428FC01, 0x04294009, + 0x0429FC01, 0x042CE407, 0x04400003, 0x0440E016, 0x04420003, + 0x0442C012, 0x04440003, 0x04449C0E, 0x04450004, 0x04460003, + 0x0446CC0E, 0x04471404, 0x045AAC0D, 0x0491C004, 0x05BD442E, + 0x05BE3C04, 0x074000F6, 0x07440027, 0x0744A4B5, 0x07480046, + 0x074C0057, 0x075B0401, 0x075B6C01, 0x075BEC01, 0x075C5401, + 0x075CD401, 0x075D3C01, 0x075DBC01, 0x075E2401, 0x075EA401, + 0x075F0C01, 0x07BBC002, 0x07C0002C, 0x07C0C064, 0x07C2800F, + 0x07C2C40E, 0x07C3040F, 0x07C3440F, 0x07C4401F, 0x07C4C03C, + 0x07C5C02B, 0x07C7981D, 0x07C8402B, 0x07C90009, 0x07C94002, + 0x07CC0021, 0x07CCC006, 0x07CCDC46, 0x07CE0014, 0x07CE8025, + 0x07CF1805, 0x07CF8011, 0x07D0003F, 0x07D10001, 0x07D108B6, + 0x07D3E404, 0x07D4003E, 0x07D50004, 0x07D54018, 0x07D7EC46, + 0x07D9140B, 0x07DA0046, 0x07DC0074, 0x38000401, 0x38008060, + 0x380400F0, + }; + static const unsigned int aAscii[4] = { + 0xFFFFFFFF, 0xFC00FFFF, 0xF8000001, 0xF8000001, + }; + + if( (unsigned int)c<128 ){ + return ( (aAscii[c >> 5] & ((unsigned int)1 << (c & 0x001F)))==0 ); + }else if( (unsigned int)c<(1<<22) ){ + unsigned int key = (((unsigned int)c)<<10) | 0x000003FF; + int iRes = 0; + int iHi = sizeof(aEntry)/sizeof(aEntry[0]) - 1; + int iLo = 0; + while( iHi>=iLo ){ + int iTest = (iHi + iLo) / 2; + if( key >= aEntry[iTest] ){ + iRes = iTest; + iLo = iTest+1; + }else{ + iHi = iTest-1; + } + } + assert( aEntry[0]=aEntry[iRes] ); + return (((unsigned int)c) >= ((aEntry[iRes]>>10) + (aEntry[iRes]&0x3FF))); + } + return 1; +} + + +/* +** If the argument is a codepoint corresponding to a lowercase letter +** in the ASCII range with a diacritic added, return the codepoint +** of the ASCII letter only. For example, if passed 235 - "LATIN +** SMALL LETTER E WITH DIAERESIS" - return 65 ("LATIN SMALL LETTER +** E"). The resuls of passing a codepoint that corresponds to an +** uppercase letter are undefined. +*/ +static int remove_diacritic(int c, int bComplex){ + unsigned short aDia[] = { + 0, 1797, 1848, 1859, 1891, 1928, 1940, 1995, + 2024, 2040, 2060, 2110, 2168, 2206, 2264, 2286, + 2344, 2383, 2472, 2488, 2516, 2596, 2668, 2732, + 2782, 2842, 2894, 2954, 2984, 3000, 3028, 3336, + 3456, 3696, 3712, 3728, 3744, 3766, 3832, 3896, + 3912, 3928, 3944, 3968, 4008, 4040, 4056, 4106, + 4138, 4170, 4202, 4234, 4266, 4296, 4312, 4344, + 4408, 4424, 4442, 4472, 4488, 4504, 6148, 6198, + 6264, 6280, 6360, 6429, 6505, 6529, 61448, 61468, + 61512, 61534, 61592, 61610, 61642, 61672, 61688, 61704, + 61726, 61784, 61800, 61816, 61836, 61880, 61896, 61914, + 61948, 61998, 62062, 62122, 62154, 62184, 62200, 62218, + 62252, 62302, 62364, 62410, 62442, 62478, 62536, 62554, + 62584, 62604, 62640, 62648, 62656, 62664, 62730, 62766, + 62830, 62890, 62924, 62974, 63032, 63050, 63082, 63118, + 63182, 63242, 63274, 63310, 63368, 63390, + }; +#define HIBIT ((unsigned char)0x80) + unsigned char aChar[] = { + '\0', 'a', 'c', 'e', 'i', 'n', + 'o', 'u', 'y', 'y', 'a', 'c', + 'd', 'e', 'e', 'g', 'h', 'i', + 'j', 'k', 'l', 'n', 'o', 'r', + 's', 't', 'u', 'u', 'w', 'y', + 'z', 'o', 'u', 'a', 'i', 'o', + 'u', 'u'|HIBIT, 'a'|HIBIT, 'g', 'k', 'o', + 'o'|HIBIT, 'j', 'g', 'n', 'a'|HIBIT, 'a', + 'e', 'i', 'o', 'r', 'u', 's', + 't', 'h', 'a', 'e', 'o'|HIBIT, 'o', + 'o'|HIBIT, 'y', '\0', '\0', '\0', '\0', + '\0', '\0', '\0', '\0', 'a', 'b', + 'c'|HIBIT, 'd', 'd', 'e'|HIBIT, 'e', 'e'|HIBIT, + 'f', 'g', 'h', 'h', 'i', 'i'|HIBIT, + 'k', 'l', 'l'|HIBIT, 'l', 'm', 'n', + 'o'|HIBIT, 'p', 'r', 'r'|HIBIT, 'r', 's', + 's'|HIBIT, 't', 'u', 'u'|HIBIT, 'v', 'w', + 'w', 'x', 'y', 'z', 'h', 't', + 'w', 'y', 'a', 'a'|HIBIT, 'a'|HIBIT, 'a'|HIBIT, + 'e', 'e'|HIBIT, 'e'|HIBIT, 'i', 'o', 'o'|HIBIT, + 'o'|HIBIT, 'o'|HIBIT, 'u', 'u'|HIBIT, 'u'|HIBIT, 'y', + }; + + unsigned int key = (((unsigned int)c)<<3) | 0x00000007; + int iRes = 0; + int iHi = sizeof(aDia)/sizeof(aDia[0]) - 1; + int iLo = 0; + while( iHi>=iLo ){ + int iTest = (iHi + iLo) / 2; + if( key >= aDia[iTest] ){ + iRes = iTest; + iLo = iTest+1; + }else{ + iHi = iTest-1; + } + } + assert( key>=aDia[iRes] ); + if( bComplex==0 && (aChar[iRes] & 0x80) ) return c; + return (c > (aDia[iRes]>>3) + (aDia[iRes]&0x07)) ? c : ((int)aChar[iRes] & 0x7F); +} + + +/* +** Return true if the argument interpreted as a unicode codepoint +** is a diacritical modifier character. +*/ +SQLITE_PRIVATE int sqlite3FtsUnicodeIsdiacritic(int c){ + unsigned int mask0 = 0x08029FDF; + unsigned int mask1 = 0x000361F8; + if( c<768 || c>817 ) return 0; + return (c < 768+32) ? + (mask0 & ((unsigned int)1 << (c-768))) : + (mask1 & ((unsigned int)1 << (c-768-32))); +} + + +/* +** Interpret the argument as a unicode codepoint. If the codepoint +** is an upper case character that has a lower case equivalent, +** return the codepoint corresponding to the lower case version. +** Otherwise, return a copy of the argument. +** +** The results are undefined if the value passed to this function +** is less than zero. +*/ +SQLITE_PRIVATE int sqlite3FtsUnicodeFold(int c, int eRemoveDiacritic){ + /* Each entry in the following array defines a rule for folding a range + ** of codepoints to lower case. The rule applies to a range of nRange + ** codepoints starting at codepoint iCode. + ** + ** If the least significant bit in flags is clear, then the rule applies + ** to all nRange codepoints (i.e. all nRange codepoints are upper case and + ** need to be folded). Or, if it is set, then the rule only applies to + ** every second codepoint in the range, starting with codepoint C. + ** + ** The 7 most significant bits in flags are an index into the aiOff[] + ** array. If a specific codepoint C does require folding, then its lower + ** case equivalent is ((C + aiOff[flags>>1]) & 0xFFFF). + ** + ** The contents of this array are generated by parsing the CaseFolding.txt + ** file distributed as part of the "Unicode Character Database". See + ** http://www.unicode.org for details. + */ + static const struct TableEntry { + unsigned short iCode; + unsigned char flags; + unsigned char nRange; + } aEntry[] = { + {65, 14, 26}, {181, 64, 1}, {192, 14, 23}, + {216, 14, 7}, {256, 1, 48}, {306, 1, 6}, + {313, 1, 16}, {330, 1, 46}, {376, 116, 1}, + {377, 1, 6}, {383, 104, 1}, {385, 50, 1}, + {386, 1, 4}, {390, 44, 1}, {391, 0, 1}, + {393, 42, 2}, {395, 0, 1}, {398, 32, 1}, + {399, 38, 1}, {400, 40, 1}, {401, 0, 1}, + {403, 42, 1}, {404, 46, 1}, {406, 52, 1}, + {407, 48, 1}, {408, 0, 1}, {412, 52, 1}, + {413, 54, 1}, {415, 56, 1}, {416, 1, 6}, + {422, 60, 1}, {423, 0, 1}, {425, 60, 1}, + {428, 0, 1}, {430, 60, 1}, {431, 0, 1}, + {433, 58, 2}, {435, 1, 4}, {439, 62, 1}, + {440, 0, 1}, {444, 0, 1}, {452, 2, 1}, + {453, 0, 1}, {455, 2, 1}, {456, 0, 1}, + {458, 2, 1}, {459, 1, 18}, {478, 1, 18}, + {497, 2, 1}, {498, 1, 4}, {502, 122, 1}, + {503, 134, 1}, {504, 1, 40}, {544, 110, 1}, + {546, 1, 18}, {570, 70, 1}, {571, 0, 1}, + {573, 108, 1}, {574, 68, 1}, {577, 0, 1}, + {579, 106, 1}, {580, 28, 1}, {581, 30, 1}, + {582, 1, 10}, {837, 36, 1}, {880, 1, 4}, + {886, 0, 1}, {902, 18, 1}, {904, 16, 3}, + {908, 26, 1}, {910, 24, 2}, {913, 14, 17}, + {931, 14, 9}, {962, 0, 1}, {975, 4, 1}, + {976, 140, 1}, {977, 142, 1}, {981, 146, 1}, + {982, 144, 1}, {984, 1, 24}, {1008, 136, 1}, + {1009, 138, 1}, {1012, 130, 1}, {1013, 128, 1}, + {1015, 0, 1}, {1017, 152, 1}, {1018, 0, 1}, + {1021, 110, 3}, {1024, 34, 16}, {1040, 14, 32}, + {1120, 1, 34}, {1162, 1, 54}, {1216, 6, 1}, + {1217, 1, 14}, {1232, 1, 88}, {1329, 22, 38}, + {4256, 66, 38}, {4295, 66, 1}, {4301, 66, 1}, + {7680, 1, 150}, {7835, 132, 1}, {7838, 96, 1}, + {7840, 1, 96}, {7944, 150, 8}, {7960, 150, 6}, + {7976, 150, 8}, {7992, 150, 8}, {8008, 150, 6}, + {8025, 151, 8}, {8040, 150, 8}, {8072, 150, 8}, + {8088, 150, 8}, {8104, 150, 8}, {8120, 150, 2}, + {8122, 126, 2}, {8124, 148, 1}, {8126, 100, 1}, + {8136, 124, 4}, {8140, 148, 1}, {8152, 150, 2}, + {8154, 120, 2}, {8168, 150, 2}, {8170, 118, 2}, + {8172, 152, 1}, {8184, 112, 2}, {8186, 114, 2}, + {8188, 148, 1}, {8486, 98, 1}, {8490, 92, 1}, + {8491, 94, 1}, {8498, 12, 1}, {8544, 8, 16}, + {8579, 0, 1}, {9398, 10, 26}, {11264, 22, 47}, + {11360, 0, 1}, {11362, 88, 1}, {11363, 102, 1}, + {11364, 90, 1}, {11367, 1, 6}, {11373, 84, 1}, + {11374, 86, 1}, {11375, 80, 1}, {11376, 82, 1}, + {11378, 0, 1}, {11381, 0, 1}, {11390, 78, 2}, + {11392, 1, 100}, {11499, 1, 4}, {11506, 0, 1}, + {42560, 1, 46}, {42624, 1, 24}, {42786, 1, 14}, + {42802, 1, 62}, {42873, 1, 4}, {42877, 76, 1}, + {42878, 1, 10}, {42891, 0, 1}, {42893, 74, 1}, + {42896, 1, 4}, {42912, 1, 10}, {42922, 72, 1}, + {65313, 14, 26}, + }; + static const unsigned short aiOff[] = { + 1, 2, 8, 15, 16, 26, 28, 32, + 37, 38, 40, 48, 63, 64, 69, 71, + 79, 80, 116, 202, 203, 205, 206, 207, + 209, 210, 211, 213, 214, 217, 218, 219, + 775, 7264, 10792, 10795, 23228, 23256, 30204, 54721, + 54753, 54754, 54756, 54787, 54793, 54809, 57153, 57274, + 57921, 58019, 58363, 61722, 65268, 65341, 65373, 65406, + 65408, 65410, 65415, 65424, 65436, 65439, 65450, 65462, + 65472, 65476, 65478, 65480, 65482, 65488, 65506, 65511, + 65514, 65521, 65527, 65528, 65529, + }; + + int ret = c; + + assert( sizeof(unsigned short)==2 && sizeof(unsigned char)==1 ); + + if( c<128 ){ + if( c>='A' && c<='Z' ) ret = c + ('a' - 'A'); + }else if( c<65536 ){ + const struct TableEntry *p; + int iHi = sizeof(aEntry)/sizeof(aEntry[0]) - 1; + int iLo = 0; + int iRes = -1; + + assert( c>aEntry[0].iCode ); + while( iHi>=iLo ){ + int iTest = (iHi + iLo) / 2; + int cmp = (c - aEntry[iTest].iCode); + if( cmp>=0 ){ + iRes = iTest; + iLo = iTest+1; + }else{ + iHi = iTest-1; + } + } + + assert( iRes>=0 && c>=aEntry[iRes].iCode ); + p = &aEntry[iRes]; + if( c<(p->iCode + p->nRange) && 0==(0x01 & p->flags & (p->iCode ^ c)) ){ + ret = (c + (aiOff[p->flags>>1])) & 0x0000FFFF; + assert( ret>0 ); + } + + if( eRemoveDiacritic ){ + ret = remove_diacritic(ret, eRemoveDiacritic==2); + } + } + + else if( c>=66560 && c<66600 ){ + ret = c + 40; + } + + return ret; +} +#endif /* defined(SQLITE_ENABLE_FTS3) || defined(SQLITE_ENABLE_FTS4) */ +#endif /* !defined(SQLITE_DISABLE_FTS3_UNICODE) */ + +/************** End of fts3_unicode2.c ***************************************/ +/************** Begin file json1.c *******************************************/ +/* +** 2015-08-12 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This SQLite extension implements JSON functions. The interface is +** modeled after MySQL JSON functions: +** +** https://dev.mysql.com/doc/refman/5.7/en/json.html +** +** For the time being, all JSON is stored as pure text. (We might add +** a JSONB type in the future which stores a binary encoding of JSON in +** a BLOB, but there is no support for JSONB in the current implementation. +** This implementation parses JSON text at 250 MB/s, so it is hard to see +** how JSONB might improve on that.) +*/ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_JSON1) +#if !defined(SQLITEINT_H) +/* #include "sqlite3ext.h" */ +#endif +SQLITE_EXTENSION_INIT1 +/* #include */ +/* #include */ +/* #include */ +/* #include */ + +/* Mark a function parameter as unused, to suppress nuisance compiler +** warnings. */ +#ifndef UNUSED_PARAM +# define UNUSED_PARAM(X) (void)(X) +#endif + +#ifndef LARGEST_INT64 +# define LARGEST_INT64 (0xffffffff|(((sqlite3_int64)0x7fffffff)<<32)) +# define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64) +#endif + +/* +** Versions of isspace(), isalnum() and isdigit() to which it is safe +** to pass signed char values. +*/ +#ifdef sqlite3Isdigit + /* Use the SQLite core versions if this routine is part of the + ** SQLite amalgamation */ +# define safe_isdigit(x) sqlite3Isdigit(x) +# define safe_isalnum(x) sqlite3Isalnum(x) +# define safe_isxdigit(x) sqlite3Isxdigit(x) +#else + /* Use the standard library for separate compilation */ +#include /* amalgamator: keep */ +# define safe_isdigit(x) isdigit((unsigned char)(x)) +# define safe_isalnum(x) isalnum((unsigned char)(x)) +# define safe_isxdigit(x) isxdigit((unsigned char)(x)) +#endif + +/* +** Growing our own isspace() routine this way is twice as fast as +** the library isspace() function, resulting in a 7% overall performance +** increase for the parser. (Ubuntu14.10 gcc 4.8.4 x64 with -Os). +*/ +static const char jsonIsSpace[] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, +}; +#define safe_isspace(x) (jsonIsSpace[(unsigned char)x]) + +#ifndef SQLITE_AMALGAMATION + /* Unsigned integer types. These are already defined in the sqliteInt.h, + ** but the definitions need to be repeated for separate compilation. */ + typedef sqlite3_uint64 u64; + typedef unsigned int u32; + typedef unsigned short int u16; + typedef unsigned char u8; +#endif + +/* Objects */ +typedef struct JsonString JsonString; +typedef struct JsonNode JsonNode; +typedef struct JsonParse JsonParse; + +/* An instance of this object represents a JSON string +** under construction. Really, this is a generic string accumulator +** that can be and is used to create strings other than JSON. +*/ +struct JsonString { + sqlite3_context *pCtx; /* Function context - put error messages here */ + char *zBuf; /* Append JSON content here */ + u64 nAlloc; /* Bytes of storage available in zBuf[] */ + u64 nUsed; /* Bytes of zBuf[] currently used */ + u8 bStatic; /* True if zBuf is static space */ + u8 bErr; /* True if an error has been encountered */ + char zSpace[100]; /* Initial static space */ +}; + +/* JSON type values +*/ +#define JSON_NULL 0 +#define JSON_TRUE 1 +#define JSON_FALSE 2 +#define JSON_INT 3 +#define JSON_REAL 4 +#define JSON_STRING 5 +#define JSON_ARRAY 6 +#define JSON_OBJECT 7 + +/* The "subtype" set for JSON values */ +#define JSON_SUBTYPE 74 /* Ascii for "J" */ + +/* +** Names of the various JSON types: +*/ +static const char * const jsonType[] = { + "null", "true", "false", "integer", "real", "text", "array", "object" +}; + +/* Bit values for the JsonNode.jnFlag field +*/ +#define JNODE_RAW 0x01 /* Content is raw, not JSON encoded */ +#define JNODE_ESCAPE 0x02 /* Content is text with \ escapes */ +#define JNODE_REMOVE 0x04 /* Do not output */ +#define JNODE_REPLACE 0x08 /* Replace with JsonNode.u.iReplace */ +#define JNODE_PATCH 0x10 /* Patch with JsonNode.u.pPatch */ +#define JNODE_APPEND 0x20 /* More ARRAY/OBJECT entries at u.iAppend */ +#define JNODE_LABEL 0x40 /* Is a label of an object */ + + +/* A single node of parsed JSON +*/ +struct JsonNode { + u8 eType; /* One of the JSON_ type values */ + u8 jnFlags; /* JNODE flags */ + u32 n; /* Bytes of content, or number of sub-nodes */ + union { + const char *zJContent; /* Content for INT, REAL, and STRING */ + u32 iAppend; /* More terms for ARRAY and OBJECT */ + u32 iKey; /* Key for ARRAY objects in json_tree() */ + u32 iReplace; /* Replacement content for JNODE_REPLACE */ + JsonNode *pPatch; /* Node chain of patch for JNODE_PATCH */ + } u; +}; + +/* A completely parsed JSON string +*/ +struct JsonParse { + u32 nNode; /* Number of slots of aNode[] used */ + u32 nAlloc; /* Number of slots of aNode[] allocated */ + JsonNode *aNode; /* Array of nodes containing the parse */ + const char *zJson; /* Original JSON string */ + u32 *aUp; /* Index of parent of each node */ + u8 oom; /* Set to true if out of memory */ + u8 nErr; /* Number of errors seen */ + u16 iDepth; /* Nesting depth */ + int nJson; /* Length of the zJson string in bytes */ + u32 iHold; /* Replace cache line with the lowest iHold value */ +}; + +/* +** Maximum nesting depth of JSON for this implementation. +** +** This limit is needed to avoid a stack overflow in the recursive +** descent parser. A depth of 2000 is far deeper than any sane JSON +** should go. +*/ +#define JSON_MAX_DEPTH 2000 + +/************************************************************************** +** Utility routines for dealing with JsonString objects +**************************************************************************/ + +/* Set the JsonString object to an empty string +*/ +static void jsonZero(JsonString *p){ + p->zBuf = p->zSpace; + p->nAlloc = sizeof(p->zSpace); + p->nUsed = 0; + p->bStatic = 1; +} + +/* Initialize the JsonString object +*/ +static void jsonInit(JsonString *p, sqlite3_context *pCtx){ + p->pCtx = pCtx; + p->bErr = 0; + jsonZero(p); +} + + +/* Free all allocated memory and reset the JsonString object back to its +** initial state. +*/ +static void jsonReset(JsonString *p){ + if( !p->bStatic ) sqlite3_free(p->zBuf); + jsonZero(p); +} + + +/* Report an out-of-memory (OOM) condition +*/ +static void jsonOom(JsonString *p){ + p->bErr = 1; + sqlite3_result_error_nomem(p->pCtx); + jsonReset(p); +} + +/* Enlarge pJson->zBuf so that it can hold at least N more bytes. +** Return zero on success. Return non-zero on an OOM error +*/ +static int jsonGrow(JsonString *p, u32 N){ + u64 nTotal = NnAlloc ? p->nAlloc*2 : p->nAlloc+N+10; + char *zNew; + if( p->bStatic ){ + if( p->bErr ) return 1; + zNew = sqlite3_malloc64(nTotal); + if( zNew==0 ){ + jsonOom(p); + return SQLITE_NOMEM; + } + memcpy(zNew, p->zBuf, (size_t)p->nUsed); + p->zBuf = zNew; + p->bStatic = 0; + }else{ + zNew = sqlite3_realloc64(p->zBuf, nTotal); + if( zNew==0 ){ + jsonOom(p); + return SQLITE_NOMEM; + } + p->zBuf = zNew; + } + p->nAlloc = nTotal; + return SQLITE_OK; +} + +/* Append N bytes from zIn onto the end of the JsonString string. +*/ +static void jsonAppendRaw(JsonString *p, const char *zIn, u32 N){ + if( (N+p->nUsed >= p->nAlloc) && jsonGrow(p,N)!=0 ) return; + memcpy(p->zBuf+p->nUsed, zIn, N); + p->nUsed += N; +} + +/* Append formatted text (not to exceed N bytes) to the JsonString. +*/ +static void jsonPrintf(int N, JsonString *p, const char *zFormat, ...){ + va_list ap; + if( (p->nUsed + N >= p->nAlloc) && jsonGrow(p, N) ) return; + va_start(ap, zFormat); + sqlite3_vsnprintf(N, p->zBuf+p->nUsed, zFormat, ap); + va_end(ap); + p->nUsed += (int)strlen(p->zBuf+p->nUsed); +} + +/* Append a single character +*/ +static void jsonAppendChar(JsonString *p, char c){ + if( p->nUsed>=p->nAlloc && jsonGrow(p,1)!=0 ) return; + p->zBuf[p->nUsed++] = c; +} + +/* Append a comma separator to the output buffer, if the previous +** character is not '[' or '{'. +*/ +static void jsonAppendSeparator(JsonString *p){ + char c; + if( p->nUsed==0 ) return; + c = p->zBuf[p->nUsed-1]; + if( c!='[' && c!='{' ) jsonAppendChar(p, ','); +} + +/* Append the N-byte string in zIn to the end of the JsonString string +** under construction. Enclose the string in "..." and escape +** any double-quotes or backslash characters contained within the +** string. +*/ +static void jsonAppendString(JsonString *p, const char *zIn, u32 N){ + u32 i; + if( (N+p->nUsed+2 >= p->nAlloc) && jsonGrow(p,N+2)!=0 ) return; + p->zBuf[p->nUsed++] = '"'; + for(i=0; inUsed+N+3-i > p->nAlloc) && jsonGrow(p,N+3-i)!=0 ) return; + p->zBuf[p->nUsed++] = '\\'; + }else if( c<=0x1f ){ + static const char aSpecial[] = { + 0, 0, 0, 0, 0, 0, 0, 0, 'b', 't', 'n', 0, 'f', 'r', 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + }; + assert( sizeof(aSpecial)==32 ); + assert( aSpecial['\b']=='b' ); + assert( aSpecial['\f']=='f' ); + assert( aSpecial['\n']=='n' ); + assert( aSpecial['\r']=='r' ); + assert( aSpecial['\t']=='t' ); + if( aSpecial[c] ){ + c = aSpecial[c]; + goto json_simple_escape; + } + if( (p->nUsed+N+7+i > p->nAlloc) && jsonGrow(p,N+7-i)!=0 ) return; + p->zBuf[p->nUsed++] = '\\'; + p->zBuf[p->nUsed++] = 'u'; + p->zBuf[p->nUsed++] = '0'; + p->zBuf[p->nUsed++] = '0'; + p->zBuf[p->nUsed++] = '0' + (c>>4); + c = "0123456789abcdef"[c&0xf]; + } + p->zBuf[p->nUsed++] = c; + } + p->zBuf[p->nUsed++] = '"'; + assert( p->nUsednAlloc ); +} + +/* +** Append a function parameter value to the JSON string under +** construction. +*/ +static void jsonAppendValue( + JsonString *p, /* Append to this JSON string */ + sqlite3_value *pValue /* Value to append */ +){ + switch( sqlite3_value_type(pValue) ){ + case SQLITE_NULL: { + jsonAppendRaw(p, "null", 4); + break; + } + case SQLITE_INTEGER: + case SQLITE_FLOAT: { + const char *z = (const char*)sqlite3_value_text(pValue); + u32 n = (u32)sqlite3_value_bytes(pValue); + jsonAppendRaw(p, z, n); + break; + } + case SQLITE_TEXT: { + const char *z = (const char*)sqlite3_value_text(pValue); + u32 n = (u32)sqlite3_value_bytes(pValue); + if( sqlite3_value_subtype(pValue)==JSON_SUBTYPE ){ + jsonAppendRaw(p, z, n); + }else{ + jsonAppendString(p, z, n); + } + break; + } + default: { + if( p->bErr==0 ){ + sqlite3_result_error(p->pCtx, "JSON cannot hold BLOB values", -1); + p->bErr = 2; + jsonReset(p); + } + break; + } + } +} + + +/* Make the JSON in p the result of the SQL function. +*/ +static void jsonResult(JsonString *p){ + if( p->bErr==0 ){ + sqlite3_result_text64(p->pCtx, p->zBuf, p->nUsed, + p->bStatic ? SQLITE_TRANSIENT : sqlite3_free, + SQLITE_UTF8); + jsonZero(p); + } + assert( p->bStatic ); +} + +/************************************************************************** +** Utility routines for dealing with JsonNode and JsonParse objects +**************************************************************************/ + +/* +** Return the number of consecutive JsonNode slots need to represent +** the parsed JSON at pNode. The minimum answer is 1. For ARRAY and +** OBJECT types, the number might be larger. +** +** Appended elements are not counted. The value returned is the number +** by which the JsonNode counter should increment in order to go to the +** next peer value. +*/ +static u32 jsonNodeSize(JsonNode *pNode){ + return pNode->eType>=JSON_ARRAY ? pNode->n+1 : 1; +} + +/* +** Reclaim all memory allocated by a JsonParse object. But do not +** delete the JsonParse object itself. +*/ +static void jsonParseReset(JsonParse *pParse){ + sqlite3_free(pParse->aNode); + pParse->aNode = 0; + pParse->nNode = 0; + pParse->nAlloc = 0; + sqlite3_free(pParse->aUp); + pParse->aUp = 0; +} + +/* +** Free a JsonParse object that was obtained from sqlite3_malloc(). +*/ +static void jsonParseFree(JsonParse *pParse){ + jsonParseReset(pParse); + sqlite3_free(pParse); +} + +/* +** Convert the JsonNode pNode into a pure JSON string and +** append to pOut. Subsubstructure is also included. Return +** the number of JsonNode objects that are encoded. +*/ +static void jsonRenderNode( + JsonNode *pNode, /* The node to render */ + JsonString *pOut, /* Write JSON here */ + sqlite3_value **aReplace /* Replacement values */ +){ + if( pNode->jnFlags & (JNODE_REPLACE|JNODE_PATCH) ){ + if( pNode->jnFlags & JNODE_REPLACE ){ + jsonAppendValue(pOut, aReplace[pNode->u.iReplace]); + return; + } + pNode = pNode->u.pPatch; + } + switch( pNode->eType ){ + default: { + assert( pNode->eType==JSON_NULL ); + jsonAppendRaw(pOut, "null", 4); + break; + } + case JSON_TRUE: { + jsonAppendRaw(pOut, "true", 4); + break; + } + case JSON_FALSE: { + jsonAppendRaw(pOut, "false", 5); + break; + } + case JSON_STRING: { + if( pNode->jnFlags & JNODE_RAW ){ + jsonAppendString(pOut, pNode->u.zJContent, pNode->n); + break; + } + /* Fall through into the next case */ + } + case JSON_REAL: + case JSON_INT: { + jsonAppendRaw(pOut, pNode->u.zJContent, pNode->n); + break; + } + case JSON_ARRAY: { + u32 j = 1; + jsonAppendChar(pOut, '['); + for(;;){ + while( j<=pNode->n ){ + if( (pNode[j].jnFlags & JNODE_REMOVE)==0 ){ + jsonAppendSeparator(pOut); + jsonRenderNode(&pNode[j], pOut, aReplace); + } + j += jsonNodeSize(&pNode[j]); + } + if( (pNode->jnFlags & JNODE_APPEND)==0 ) break; + pNode = &pNode[pNode->u.iAppend]; + j = 1; + } + jsonAppendChar(pOut, ']'); + break; + } + case JSON_OBJECT: { + u32 j = 1; + jsonAppendChar(pOut, '{'); + for(;;){ + while( j<=pNode->n ){ + if( (pNode[j+1].jnFlags & JNODE_REMOVE)==0 ){ + jsonAppendSeparator(pOut); + jsonRenderNode(&pNode[j], pOut, aReplace); + jsonAppendChar(pOut, ':'); + jsonRenderNode(&pNode[j+1], pOut, aReplace); + } + j += 1 + jsonNodeSize(&pNode[j+1]); + } + if( (pNode->jnFlags & JNODE_APPEND)==0 ) break; + pNode = &pNode[pNode->u.iAppend]; + j = 1; + } + jsonAppendChar(pOut, '}'); + break; + } + } +} + +/* +** Return a JsonNode and all its descendents as a JSON string. +*/ +static void jsonReturnJson( + JsonNode *pNode, /* Node to return */ + sqlite3_context *pCtx, /* Return value for this function */ + sqlite3_value **aReplace /* Array of replacement values */ +){ + JsonString s; + jsonInit(&s, pCtx); + jsonRenderNode(pNode, &s, aReplace); + jsonResult(&s); + sqlite3_result_subtype(pCtx, JSON_SUBTYPE); +} + +/* +** Make the JsonNode the return value of the function. +*/ +static void jsonReturn( + JsonNode *pNode, /* Node to return */ + sqlite3_context *pCtx, /* Return value for this function */ + sqlite3_value **aReplace /* Array of replacement values */ +){ + switch( pNode->eType ){ + default: { + assert( pNode->eType==JSON_NULL ); + sqlite3_result_null(pCtx); + break; + } + case JSON_TRUE: { + sqlite3_result_int(pCtx, 1); + break; + } + case JSON_FALSE: { + sqlite3_result_int(pCtx, 0); + break; + } + case JSON_INT: { + sqlite3_int64 i = 0; + const char *z = pNode->u.zJContent; + if( z[0]=='-' ){ z++; } + while( z[0]>='0' && z[0]<='9' ){ + unsigned v = *(z++) - '0'; + if( i>=LARGEST_INT64/10 ){ + if( i>LARGEST_INT64/10 ) goto int_as_real; + if( z[0]>='0' && z[0]<='9' ) goto int_as_real; + if( v==9 ) goto int_as_real; + if( v==8 ){ + if( pNode->u.zJContent[0]=='-' ){ + sqlite3_result_int64(pCtx, SMALLEST_INT64); + goto int_done; + }else{ + goto int_as_real; + } + } + } + i = i*10 + v; + } + if( pNode->u.zJContent[0]=='-' ){ i = -i; } + sqlite3_result_int64(pCtx, i); + int_done: + break; + int_as_real: /* fall through to real */; + } + case JSON_REAL: { + double r; +#ifdef SQLITE_AMALGAMATION + const char *z = pNode->u.zJContent; + sqlite3AtoF(z, &r, sqlite3Strlen30(z), SQLITE_UTF8); +#else + r = strtod(pNode->u.zJContent, 0); +#endif + sqlite3_result_double(pCtx, r); + break; + } + case JSON_STRING: { +#if 0 /* Never happens because JNODE_RAW is only set by json_set(), + ** json_insert() and json_replace() and those routines do not + ** call jsonReturn() */ + if( pNode->jnFlags & JNODE_RAW ){ + sqlite3_result_text(pCtx, pNode->u.zJContent, pNode->n, + SQLITE_TRANSIENT); + }else +#endif + assert( (pNode->jnFlags & JNODE_RAW)==0 ); + if( (pNode->jnFlags & JNODE_ESCAPE)==0 ){ + /* JSON formatted without any backslash-escapes */ + sqlite3_result_text(pCtx, pNode->u.zJContent+1, pNode->n-2, + SQLITE_TRANSIENT); + }else{ + /* Translate JSON formatted string into raw text */ + u32 i; + u32 n = pNode->n; + const char *z = pNode->u.zJContent; + char *zOut; + u32 j; + zOut = sqlite3_malloc( n+1 ); + if( zOut==0 ){ + sqlite3_result_error_nomem(pCtx); + break; + } + for(i=1, j=0; i>6)); + zOut[j++] = 0x80 | (v&0x3f); + }else{ + zOut[j++] = (char)(0xe0 | (v>>12)); + zOut[j++] = 0x80 | ((v>>6)&0x3f); + zOut[j++] = 0x80 | (v&0x3f); + } + }else{ + if( c=='b' ){ + c = '\b'; + }else if( c=='f' ){ + c = '\f'; + }else if( c=='n' ){ + c = '\n'; + }else if( c=='r' ){ + c = '\r'; + }else if( c=='t' ){ + c = '\t'; + } + zOut[j++] = c; + } + } + } + zOut[j] = 0; + sqlite3_result_text(pCtx, zOut, j, sqlite3_free); + } + break; + } + case JSON_ARRAY: + case JSON_OBJECT: { + jsonReturnJson(pNode, pCtx, aReplace); + break; + } + } +} + +/* Forward reference */ +static int jsonParseAddNode(JsonParse*,u32,u32,const char*); + +/* +** A macro to hint to the compiler that a function should not be +** inlined. +*/ +#if defined(__GNUC__) +# define JSON_NOINLINE __attribute__((noinline)) +#elif defined(_MSC_VER) && _MSC_VER>=1310 +# define JSON_NOINLINE __declspec(noinline) +#else +# define JSON_NOINLINE +#endif + + +static JSON_NOINLINE int jsonParseAddNodeExpand( + JsonParse *pParse, /* Append the node to this object */ + u32 eType, /* Node type */ + u32 n, /* Content size or sub-node count */ + const char *zContent /* Content */ +){ + u32 nNew; + JsonNode *pNew; + assert( pParse->nNode>=pParse->nAlloc ); + if( pParse->oom ) return -1; + nNew = pParse->nAlloc*2 + 10; + pNew = sqlite3_realloc64(pParse->aNode, sizeof(JsonNode)*nNew); + if( pNew==0 ){ + pParse->oom = 1; + return -1; + } + pParse->nAlloc = nNew; + pParse->aNode = pNew; + assert( pParse->nNodenAlloc ); + return jsonParseAddNode(pParse, eType, n, zContent); +} + +/* +** Create a new JsonNode instance based on the arguments and append that +** instance to the JsonParse. Return the index in pParse->aNode[] of the +** new node, or -1 if a memory allocation fails. +*/ +static int jsonParseAddNode( + JsonParse *pParse, /* Append the node to this object */ + u32 eType, /* Node type */ + u32 n, /* Content size or sub-node count */ + const char *zContent /* Content */ +){ + JsonNode *p; + if( pParse->nNode>=pParse->nAlloc ){ + return jsonParseAddNodeExpand(pParse, eType, n, zContent); + } + p = &pParse->aNode[pParse->nNode]; + p->eType = (u8)eType; + p->jnFlags = 0; + p->n = n; + p->u.zJContent = zContent; + return pParse->nNode++; +} + +/* +** Return true if z[] begins with 4 (or more) hexadecimal digits +*/ +static int jsonIs4Hex(const char *z){ + int i; + for(i=0; i<4; i++) if( !safe_isxdigit(z[i]) ) return 0; + return 1; +} + +/* +** Parse a single JSON value which begins at pParse->zJson[i]. Return the +** index of the first character past the end of the value parsed. +** +** Return negative for a syntax error. Special cases: return -2 if the +** first non-whitespace character is '}' and return -3 if the first +** non-whitespace character is ']'. +*/ +static int jsonParseValue(JsonParse *pParse, u32 i){ + char c; + u32 j; + int iThis; + int x; + JsonNode *pNode; + const char *z = pParse->zJson; + while( safe_isspace(z[i]) ){ i++; } + if( (c = z[i])=='{' ){ + /* Parse object */ + iThis = jsonParseAddNode(pParse, JSON_OBJECT, 0, 0); + if( iThis<0 ) return -1; + for(j=i+1;;j++){ + while( safe_isspace(z[j]) ){ j++; } + if( ++pParse->iDepth > JSON_MAX_DEPTH ) return -1; + x = jsonParseValue(pParse, j); + if( x<0 ){ + pParse->iDepth--; + if( x==(-2) && pParse->nNode==(u32)iThis+1 ) return j+1; + return -1; + } + if( pParse->oom ) return -1; + pNode = &pParse->aNode[pParse->nNode-1]; + if( pNode->eType!=JSON_STRING ) return -1; + pNode->jnFlags |= JNODE_LABEL; + j = x; + while( safe_isspace(z[j]) ){ j++; } + if( z[j]!=':' ) return -1; + j++; + x = jsonParseValue(pParse, j); + pParse->iDepth--; + if( x<0 ) return -1; + j = x; + while( safe_isspace(z[j]) ){ j++; } + c = z[j]; + if( c==',' ) continue; + if( c!='}' ) return -1; + break; + } + pParse->aNode[iThis].n = pParse->nNode - (u32)iThis - 1; + return j+1; + }else if( c=='[' ){ + /* Parse array */ + iThis = jsonParseAddNode(pParse, JSON_ARRAY, 0, 0); + if( iThis<0 ) return -1; + for(j=i+1;;j++){ + while( safe_isspace(z[j]) ){ j++; } + if( ++pParse->iDepth > JSON_MAX_DEPTH ) return -1; + x = jsonParseValue(pParse, j); + pParse->iDepth--; + if( x<0 ){ + if( x==(-3) && pParse->nNode==(u32)iThis+1 ) return j+1; + return -1; + } + j = x; + while( safe_isspace(z[j]) ){ j++; } + c = z[j]; + if( c==',' ) continue; + if( c!=']' ) return -1; + break; + } + pParse->aNode[iThis].n = pParse->nNode - (u32)iThis - 1; + return j+1; + }else if( c=='"' ){ + /* Parse string */ + u8 jnFlags = 0; + j = i+1; + for(;;){ + c = z[j]; + if( (c & ~0x1f)==0 ){ + /* Control characters are not allowed in strings */ + return -1; + } + if( c=='\\' ){ + c = z[++j]; + if( c=='"' || c=='\\' || c=='/' || c=='b' || c=='f' + || c=='n' || c=='r' || c=='t' + || (c=='u' && jsonIs4Hex(z+j+1)) ){ + jnFlags = JNODE_ESCAPE; + }else{ + return -1; + } + }else if( c=='"' ){ + break; + } + j++; + } + jsonParseAddNode(pParse, JSON_STRING, j+1-i, &z[i]); + if( !pParse->oom ) pParse->aNode[pParse->nNode-1].jnFlags = jnFlags; + return j+1; + }else if( c=='n' + && strncmp(z+i,"null",4)==0 + && !safe_isalnum(z[i+4]) ){ + jsonParseAddNode(pParse, JSON_NULL, 0, 0); + return i+4; + }else if( c=='t' + && strncmp(z+i,"true",4)==0 + && !safe_isalnum(z[i+4]) ){ + jsonParseAddNode(pParse, JSON_TRUE, 0, 0); + return i+4; + }else if( c=='f' + && strncmp(z+i,"false",5)==0 + && !safe_isalnum(z[i+5]) ){ + jsonParseAddNode(pParse, JSON_FALSE, 0, 0); + return i+5; + }else if( c=='-' || (c>='0' && c<='9') ){ + /* Parse number */ + u8 seenDP = 0; + u8 seenE = 0; + assert( '-' < '0' ); + if( c<='0' ){ + j = c=='-' ? i+1 : i; + if( z[j]=='0' && z[j+1]>='0' && z[j+1]<='9' ) return -1; + } + j = i+1; + for(;; j++){ + c = z[j]; + if( c>='0' && c<='9' ) continue; + if( c=='.' ){ + if( z[j-1]=='-' ) return -1; + if( seenDP ) return -1; + seenDP = 1; + continue; + } + if( c=='e' || c=='E' ){ + if( z[j-1]<'0' ) return -1; + if( seenE ) return -1; + seenDP = seenE = 1; + c = z[j+1]; + if( c=='+' || c=='-' ){ + j++; + c = z[j+1]; + } + if( c<'0' || c>'9' ) return -1; + continue; + } + break; + } + if( z[j-1]<'0' ) return -1; + jsonParseAddNode(pParse, seenDP ? JSON_REAL : JSON_INT, + j - i, &z[i]); + return j; + }else if( c=='}' ){ + return -2; /* End of {...} */ + }else if( c==']' ){ + return -3; /* End of [...] */ + }else if( c==0 ){ + return 0; /* End of file */ + }else{ + return -1; /* Syntax error */ + } +} + +/* +** Parse a complete JSON string. Return 0 on success or non-zero if there +** are any errors. If an error occurs, free all memory associated with +** pParse. +** +** pParse is uninitialized when this routine is called. +*/ +static int jsonParse( + JsonParse *pParse, /* Initialize and fill this JsonParse object */ + sqlite3_context *pCtx, /* Report errors here */ + const char *zJson /* Input JSON text to be parsed */ +){ + int i; + memset(pParse, 0, sizeof(*pParse)); + if( zJson==0 ) return 1; + pParse->zJson = zJson; + i = jsonParseValue(pParse, 0); + if( pParse->oom ) i = -1; + if( i>0 ){ + assert( pParse->iDepth==0 ); + while( safe_isspace(zJson[i]) ) i++; + if( zJson[i] ) i = -1; + } + if( i<=0 ){ + if( pCtx!=0 ){ + if( pParse->oom ){ + sqlite3_result_error_nomem(pCtx); + }else{ + sqlite3_result_error(pCtx, "malformed JSON", -1); + } + } + jsonParseReset(pParse); + return 1; + } + return 0; +} + +/* Mark node i of pParse as being a child of iParent. Call recursively +** to fill in all the descendants of node i. +*/ +static void jsonParseFillInParentage(JsonParse *pParse, u32 i, u32 iParent){ + JsonNode *pNode = &pParse->aNode[i]; + u32 j; + pParse->aUp[i] = iParent; + switch( pNode->eType ){ + case JSON_ARRAY: { + for(j=1; j<=pNode->n; j += jsonNodeSize(pNode+j)){ + jsonParseFillInParentage(pParse, i+j, i); + } + break; + } + case JSON_OBJECT: { + for(j=1; j<=pNode->n; j += jsonNodeSize(pNode+j+1)+1){ + pParse->aUp[i+j] = i; + jsonParseFillInParentage(pParse, i+j+1, i); + } + break; + } + default: { + break; + } + } +} + +/* +** Compute the parentage of all nodes in a completed parse. +*/ +static int jsonParseFindParents(JsonParse *pParse){ + u32 *aUp; + assert( pParse->aUp==0 ); + aUp = pParse->aUp = sqlite3_malloc64( sizeof(u32)*pParse->nNode ); + if( aUp==0 ){ + pParse->oom = 1; + return SQLITE_NOMEM; + } + jsonParseFillInParentage(pParse, 0, 0); + return SQLITE_OK; +} + +/* +** Magic number used for the JSON parse cache in sqlite3_get_auxdata() +*/ +#define JSON_CACHE_ID (-429938) /* First cache entry */ +#define JSON_CACHE_SZ 4 /* Max number of cache entries */ + +/* +** Obtain a complete parse of the JSON found in the first argument +** of the argv array. Use the sqlite3_get_auxdata() cache for this +** parse if it is available. If the cache is not available or if it +** is no longer valid, parse the JSON again and return the new parse, +** and also register the new parse so that it will be available for +** future sqlite3_get_auxdata() calls. +*/ +static JsonParse *jsonParseCached( + sqlite3_context *pCtx, + sqlite3_value **argv, + sqlite3_context *pErrCtx +){ + const char *zJson = (const char*)sqlite3_value_text(argv[0]); + int nJson = sqlite3_value_bytes(argv[0]); + JsonParse *p; + JsonParse *pMatch = 0; + int iKey; + int iMinKey = 0; + u32 iMinHold = 0xffffffff; + u32 iMaxHold = 0; + if( zJson==0 ) return 0; + for(iKey=0; iKeynJson==nJson + && memcmp(p->zJson,zJson,nJson)==0 + ){ + p->nErr = 0; + pMatch = p; + }else if( p->iHoldiHold; + iMinKey = iKey; + } + if( p->iHold>iMaxHold ){ + iMaxHold = p->iHold; + } + } + if( pMatch ){ + pMatch->nErr = 0; + pMatch->iHold = iMaxHold+1; + return pMatch; + } + p = sqlite3_malloc64( sizeof(*p) + nJson + 1 ); + if( p==0 ){ + sqlite3_result_error_nomem(pCtx); + return 0; + } + memset(p, 0, sizeof(*p)); + p->zJson = (char*)&p[1]; + memcpy((char*)p->zJson, zJson, nJson+1); + if( jsonParse(p, pErrCtx, p->zJson) ){ + sqlite3_free(p); + return 0; + } + p->nJson = nJson; + p->iHold = iMaxHold+1; + sqlite3_set_auxdata(pCtx, JSON_CACHE_ID+iMinKey, p, + (void(*)(void*))jsonParseFree); + return (JsonParse*)sqlite3_get_auxdata(pCtx, JSON_CACHE_ID+iMinKey); +} + +/* +** Compare the OBJECT label at pNode against zKey,nKey. Return true on +** a match. +*/ +static int jsonLabelCompare(JsonNode *pNode, const char *zKey, u32 nKey){ + if( pNode->jnFlags & JNODE_RAW ){ + if( pNode->n!=nKey ) return 0; + return strncmp(pNode->u.zJContent, zKey, nKey)==0; + }else{ + if( pNode->n!=nKey+2 ) return 0; + return strncmp(pNode->u.zJContent+1, zKey, nKey)==0; + } +} + +/* forward declaration */ +static JsonNode *jsonLookupAppend(JsonParse*,const char*,int*,const char**); + +/* +** Search along zPath to find the node specified. Return a pointer +** to that node, or NULL if zPath is malformed or if there is no such +** node. +** +** If pApnd!=0, then try to append new nodes to complete zPath if it is +** possible to do so and if no existing node corresponds to zPath. If +** new nodes are appended *pApnd is set to 1. +*/ +static JsonNode *jsonLookupStep( + JsonParse *pParse, /* The JSON to search */ + u32 iRoot, /* Begin the search at this node */ + const char *zPath, /* The path to search */ + int *pApnd, /* Append nodes to complete path if not NULL */ + const char **pzErr /* Make *pzErr point to any syntax error in zPath */ +){ + u32 i, j, nKey; + const char *zKey; + JsonNode *pRoot = &pParse->aNode[iRoot]; + if( zPath[0]==0 ) return pRoot; + if( pRoot->jnFlags & JNODE_REPLACE ) return 0; + if( zPath[0]=='.' ){ + if( pRoot->eType!=JSON_OBJECT ) return 0; + zPath++; + if( zPath[0]=='"' ){ + zKey = zPath + 1; + for(i=1; zPath[i] && zPath[i]!='"'; i++){} + nKey = i-1; + if( zPath[i] ){ + i++; + }else{ + *pzErr = zPath; + return 0; + } + }else{ + zKey = zPath; + for(i=0; zPath[i] && zPath[i]!='.' && zPath[i]!='['; i++){} + nKey = i; + } + if( nKey==0 ){ + *pzErr = zPath; + return 0; + } + j = 1; + for(;;){ + while( j<=pRoot->n ){ + if( jsonLabelCompare(pRoot+j, zKey, nKey) ){ + return jsonLookupStep(pParse, iRoot+j+1, &zPath[i], pApnd, pzErr); + } + j++; + j += jsonNodeSize(&pRoot[j]); + } + if( (pRoot->jnFlags & JNODE_APPEND)==0 ) break; + iRoot += pRoot->u.iAppend; + pRoot = &pParse->aNode[iRoot]; + j = 1; + } + if( pApnd ){ + u32 iStart, iLabel; + JsonNode *pNode; + iStart = jsonParseAddNode(pParse, JSON_OBJECT, 2, 0); + iLabel = jsonParseAddNode(pParse, JSON_STRING, nKey, zKey); + zPath += i; + pNode = jsonLookupAppend(pParse, zPath, pApnd, pzErr); + if( pParse->oom ) return 0; + if( pNode ){ + pRoot = &pParse->aNode[iRoot]; + pRoot->u.iAppend = iStart - iRoot; + pRoot->jnFlags |= JNODE_APPEND; + pParse->aNode[iLabel].jnFlags |= JNODE_RAW; + } + return pNode; + } + }else if( zPath[0]=='[' && safe_isdigit(zPath[1]) ){ + if( pRoot->eType!=JSON_ARRAY ) return 0; + i = 0; + j = 1; + while( safe_isdigit(zPath[j]) ){ + i = i*10 + zPath[j] - '0'; + j++; + } + if( zPath[j]!=']' ){ + *pzErr = zPath; + return 0; + } + zPath += j + 1; + j = 1; + for(;;){ + while( j<=pRoot->n && (i>0 || (pRoot[j].jnFlags & JNODE_REMOVE)!=0) ){ + if( (pRoot[j].jnFlags & JNODE_REMOVE)==0 ) i--; + j += jsonNodeSize(&pRoot[j]); + } + if( (pRoot->jnFlags & JNODE_APPEND)==0 ) break; + iRoot += pRoot->u.iAppend; + pRoot = &pParse->aNode[iRoot]; + j = 1; + } + if( j<=pRoot->n ){ + return jsonLookupStep(pParse, iRoot+j, zPath, pApnd, pzErr); + } + if( i==0 && pApnd ){ + u32 iStart; + JsonNode *pNode; + iStart = jsonParseAddNode(pParse, JSON_ARRAY, 1, 0); + pNode = jsonLookupAppend(pParse, zPath, pApnd, pzErr); + if( pParse->oom ) return 0; + if( pNode ){ + pRoot = &pParse->aNode[iRoot]; + pRoot->u.iAppend = iStart - iRoot; + pRoot->jnFlags |= JNODE_APPEND; + } + return pNode; + } + }else{ + *pzErr = zPath; + } + return 0; +} + +/* +** Append content to pParse that will complete zPath. Return a pointer +** to the inserted node, or return NULL if the append fails. +*/ +static JsonNode *jsonLookupAppend( + JsonParse *pParse, /* Append content to the JSON parse */ + const char *zPath, /* Description of content to append */ + int *pApnd, /* Set this flag to 1 */ + const char **pzErr /* Make this point to any syntax error */ +){ + *pApnd = 1; + if( zPath[0]==0 ){ + jsonParseAddNode(pParse, JSON_NULL, 0, 0); + return pParse->oom ? 0 : &pParse->aNode[pParse->nNode-1]; + } + if( zPath[0]=='.' ){ + jsonParseAddNode(pParse, JSON_OBJECT, 0, 0); + }else if( strncmp(zPath,"[0]",3)==0 ){ + jsonParseAddNode(pParse, JSON_ARRAY, 0, 0); + }else{ + return 0; + } + if( pParse->oom ) return 0; + return jsonLookupStep(pParse, pParse->nNode-1, zPath, pApnd, pzErr); +} + +/* +** Return the text of a syntax error message on a JSON path. Space is +** obtained from sqlite3_malloc(). +*/ +static char *jsonPathSyntaxError(const char *zErr){ + return sqlite3_mprintf("JSON path error near '%q'", zErr); +} + +/* +** Do a node lookup using zPath. Return a pointer to the node on success. +** Return NULL if not found or if there is an error. +** +** On an error, write an error message into pCtx and increment the +** pParse->nErr counter. +** +** If pApnd!=NULL then try to append missing nodes and set *pApnd = 1 if +** nodes are appended. +*/ +static JsonNode *jsonLookup( + JsonParse *pParse, /* The JSON to search */ + const char *zPath, /* The path to search */ + int *pApnd, /* Append nodes to complete path if not NULL */ + sqlite3_context *pCtx /* Report errors here, if not NULL */ +){ + const char *zErr = 0; + JsonNode *pNode = 0; + char *zMsg; + + if( zPath==0 ) return 0; + if( zPath[0]!='$' ){ + zErr = zPath; + goto lookup_err; + } + zPath++; + pNode = jsonLookupStep(pParse, 0, zPath, pApnd, &zErr); + if( zErr==0 ) return pNode; + +lookup_err: + pParse->nErr++; + assert( zErr!=0 && pCtx!=0 ); + zMsg = jsonPathSyntaxError(zErr); + if( zMsg ){ + sqlite3_result_error(pCtx, zMsg, -1); + sqlite3_free(zMsg); + }else{ + sqlite3_result_error_nomem(pCtx); + } + return 0; +} + + +/* +** Report the wrong number of arguments for json_insert(), json_replace() +** or json_set(). +*/ +static void jsonWrongNumArgs( + sqlite3_context *pCtx, + const char *zFuncName +){ + char *zMsg = sqlite3_mprintf("json_%s() needs an odd number of arguments", + zFuncName); + sqlite3_result_error(pCtx, zMsg, -1); + sqlite3_free(zMsg); +} + +/* +** Mark all NULL entries in the Object passed in as JNODE_REMOVE. +*/ +static void jsonRemoveAllNulls(JsonNode *pNode){ + int i, n; + assert( pNode->eType==JSON_OBJECT ); + n = pNode->n; + for(i=2; i<=n; i += jsonNodeSize(&pNode[i])+1){ + switch( pNode[i].eType ){ + case JSON_NULL: + pNode[i].jnFlags |= JNODE_REMOVE; + break; + case JSON_OBJECT: + jsonRemoveAllNulls(&pNode[i]); + break; + } + } +} + + +/**************************************************************************** +** SQL functions used for testing and debugging +****************************************************************************/ + +#ifdef SQLITE_DEBUG +/* +** The json_parse(JSON) function returns a string which describes +** a parse of the JSON provided. Or it returns NULL if JSON is not +** well-formed. +*/ +static void jsonParseFunc( + sqlite3_context *ctx, + int argc, + sqlite3_value **argv +){ + JsonString s; /* Output string - not real JSON */ + JsonParse x; /* The parse */ + u32 i; + + assert( argc==1 ); + if( jsonParse(&x, ctx, (const char*)sqlite3_value_text(argv[0])) ) return; + jsonParseFindParents(&x); + jsonInit(&s, ctx); + for(i=0; inNode ); + if( argc==2 ){ + const char *zPath = (const char*)sqlite3_value_text(argv[1]); + pNode = jsonLookup(p, zPath, 0, ctx); + }else{ + pNode = p->aNode; + } + if( pNode==0 ){ + return; + } + if( pNode->eType==JSON_ARRAY ){ + assert( (pNode->jnFlags & JNODE_APPEND)==0 ); + for(i=1; i<=pNode->n; n++){ + i += jsonNodeSize(&pNode[i]); + } + } + sqlite3_result_int64(ctx, n); +} + +/* +** json_extract(JSON, PATH, ...) +** +** Return the element described by PATH. Return NULL if there is no +** PATH element. If there are multiple PATHs, then return a JSON array +** with the result from each path. Throw an error if the JSON or any PATH +** is malformed. +*/ +static void jsonExtractFunc( + sqlite3_context *ctx, + int argc, + sqlite3_value **argv +){ + JsonParse *p; /* The parse */ + JsonNode *pNode; + const char *zPath; + JsonString jx; + int i; + + if( argc<2 ) return; + p = jsonParseCached(ctx, argv, ctx); + if( p==0 ) return; + jsonInit(&jx, ctx); + jsonAppendChar(&jx, '['); + for(i=1; inErr ) break; + if( argc>2 ){ + jsonAppendSeparator(&jx); + if( pNode ){ + jsonRenderNode(pNode, &jx, 0); + }else{ + jsonAppendRaw(&jx, "null", 4); + } + }else if( pNode ){ + jsonReturn(pNode, ctx, 0); + } + } + if( argc>2 && i==argc ){ + jsonAppendChar(&jx, ']'); + jsonResult(&jx); + sqlite3_result_subtype(ctx, JSON_SUBTYPE); + } + jsonReset(&jx); +} + +/* This is the RFC 7396 MergePatch algorithm. +*/ +static JsonNode *jsonMergePatch( + JsonParse *pParse, /* The JSON parser that contains the TARGET */ + u32 iTarget, /* Node of the TARGET in pParse */ + JsonNode *pPatch /* The PATCH */ +){ + u32 i, j; + u32 iRoot; + JsonNode *pTarget; + if( pPatch->eType!=JSON_OBJECT ){ + return pPatch; + } + assert( iTarget>=0 && iTargetnNode ); + pTarget = &pParse->aNode[iTarget]; + assert( (pPatch->jnFlags & JNODE_APPEND)==0 ); + if( pTarget->eType!=JSON_OBJECT ){ + jsonRemoveAllNulls(pPatch); + return pPatch; + } + iRoot = iTarget; + for(i=1; in; i += jsonNodeSize(&pPatch[i+1])+1){ + u32 nKey; + const char *zKey; + assert( pPatch[i].eType==JSON_STRING ); + assert( pPatch[i].jnFlags & JNODE_LABEL ); + nKey = pPatch[i].n; + zKey = pPatch[i].u.zJContent; + assert( (pPatch[i].jnFlags & JNODE_RAW)==0 ); + for(j=1; jn; j += jsonNodeSize(&pTarget[j+1])+1 ){ + assert( pTarget[j].eType==JSON_STRING ); + assert( pTarget[j].jnFlags & JNODE_LABEL ); + assert( (pPatch[i].jnFlags & JNODE_RAW)==0 ); + if( pTarget[j].n==nKey && strncmp(pTarget[j].u.zJContent,zKey,nKey)==0 ){ + if( pTarget[j+1].jnFlags & (JNODE_REMOVE|JNODE_PATCH) ) break; + if( pPatch[i+1].eType==JSON_NULL ){ + pTarget[j+1].jnFlags |= JNODE_REMOVE; + }else{ + JsonNode *pNew = jsonMergePatch(pParse, iTarget+j+1, &pPatch[i+1]); + if( pNew==0 ) return 0; + pTarget = &pParse->aNode[iTarget]; + if( pNew!=&pTarget[j+1] ){ + pTarget[j+1].u.pPatch = pNew; + pTarget[j+1].jnFlags |= JNODE_PATCH; + } + } + break; + } + } + if( j>=pTarget->n && pPatch[i+1].eType!=JSON_NULL ){ + int iStart, iPatch; + iStart = jsonParseAddNode(pParse, JSON_OBJECT, 2, 0); + jsonParseAddNode(pParse, JSON_STRING, nKey, zKey); + iPatch = jsonParseAddNode(pParse, JSON_TRUE, 0, 0); + if( pParse->oom ) return 0; + jsonRemoveAllNulls(pPatch); + pTarget = &pParse->aNode[iTarget]; + pParse->aNode[iRoot].jnFlags |= JNODE_APPEND; + pParse->aNode[iRoot].u.iAppend = iStart - iRoot; + iRoot = iStart; + pParse->aNode[iPatch].jnFlags |= JNODE_PATCH; + pParse->aNode[iPatch].u.pPatch = &pPatch[i+1]; + } + } + return pTarget; +} + +/* +** Implementation of the json_mergepatch(JSON1,JSON2) function. Return a JSON +** object that is the result of running the RFC 7396 MergePatch() algorithm +** on the two arguments. +*/ +static void jsonPatchFunc( + sqlite3_context *ctx, + int argc, + sqlite3_value **argv +){ + JsonParse x; /* The JSON that is being patched */ + JsonParse y; /* The patch */ + JsonNode *pResult; /* The result of the merge */ + + UNUSED_PARAM(argc); + if( jsonParse(&x, ctx, (const char*)sqlite3_value_text(argv[0])) ) return; + if( jsonParse(&y, ctx, (const char*)sqlite3_value_text(argv[1])) ){ + jsonParseReset(&x); + return; + } + pResult = jsonMergePatch(&x, 0, y.aNode); + assert( pResult!=0 || x.oom ); + if( pResult ){ + jsonReturnJson(pResult, ctx, 0); + }else{ + sqlite3_result_error_nomem(ctx); + } + jsonParseReset(&x); + jsonParseReset(&y); +} + + +/* +** Implementation of the json_object(NAME,VALUE,...) function. Return a JSON +** object that contains all name/value given in arguments. Or if any name +** is not a string or if any value is a BLOB, throw an error. +*/ +static void jsonObjectFunc( + sqlite3_context *ctx, + int argc, + sqlite3_value **argv +){ + int i; + JsonString jx; + const char *z; + u32 n; + + if( argc&1 ){ + sqlite3_result_error(ctx, "json_object() requires an even number " + "of arguments", -1); + return; + } + jsonInit(&jx, ctx); + jsonAppendChar(&jx, '{'); + for(i=0; ijnFlags |= JNODE_REMOVE; + } + if( (x.aNode[0].jnFlags & JNODE_REMOVE)==0 ){ + jsonReturnJson(x.aNode, ctx, 0); + } +remove_done: + jsonParseReset(&x); +} + +/* +** json_replace(JSON, PATH, VALUE, ...) +** +** Replace the value at PATH with VALUE. If PATH does not already exist, +** this routine is a no-op. If JSON or PATH is malformed, throw an error. +*/ +static void jsonReplaceFunc( + sqlite3_context *ctx, + int argc, + sqlite3_value **argv +){ + JsonParse x; /* The parse */ + JsonNode *pNode; + const char *zPath; + u32 i; + + if( argc<1 ) return; + if( (argc&1)==0 ) { + jsonWrongNumArgs(ctx, "replace"); + return; + } + if( jsonParse(&x, ctx, (const char*)sqlite3_value_text(argv[0])) ) return; + assert( x.nNode ); + for(i=1; i<(u32)argc; i+=2){ + zPath = (const char*)sqlite3_value_text(argv[i]); + pNode = jsonLookup(&x, zPath, 0, ctx); + if( x.nErr ) goto replace_err; + if( pNode ){ + pNode->jnFlags |= (u8)JNODE_REPLACE; + pNode->u.iReplace = i + 1; + } + } + if( x.aNode[0].jnFlags & JNODE_REPLACE ){ + sqlite3_result_value(ctx, argv[x.aNode[0].u.iReplace]); + }else{ + jsonReturnJson(x.aNode, ctx, argv); + } +replace_err: + jsonParseReset(&x); +} + +/* +** json_set(JSON, PATH, VALUE, ...) +** +** Set the value at PATH to VALUE. Create the PATH if it does not already +** exist. Overwrite existing values that do exist. +** If JSON or PATH is malformed, throw an error. +** +** json_insert(JSON, PATH, VALUE, ...) +** +** Create PATH and initialize it to VALUE. If PATH already exists, this +** routine is a no-op. If JSON or PATH is malformed, throw an error. +*/ +static void jsonSetFunc( + sqlite3_context *ctx, + int argc, + sqlite3_value **argv +){ + JsonParse x; /* The parse */ + JsonNode *pNode; + const char *zPath; + u32 i; + int bApnd; + int bIsSet = *(int*)sqlite3_user_data(ctx); + + if( argc<1 ) return; + if( (argc&1)==0 ) { + jsonWrongNumArgs(ctx, bIsSet ? "set" : "insert"); + return; + } + if( jsonParse(&x, ctx, (const char*)sqlite3_value_text(argv[0])) ) return; + assert( x.nNode ); + for(i=1; i<(u32)argc; i+=2){ + zPath = (const char*)sqlite3_value_text(argv[i]); + bApnd = 0; + pNode = jsonLookup(&x, zPath, &bApnd, ctx); + if( x.oom ){ + sqlite3_result_error_nomem(ctx); + goto jsonSetDone; + }else if( x.nErr ){ + goto jsonSetDone; + }else if( pNode && (bApnd || bIsSet) ){ + pNode->jnFlags |= (u8)JNODE_REPLACE; + pNode->u.iReplace = i + 1; + } + } + if( x.aNode[0].jnFlags & JNODE_REPLACE ){ + sqlite3_result_value(ctx, argv[x.aNode[0].u.iReplace]); + }else{ + jsonReturnJson(x.aNode, ctx, argv); + } +jsonSetDone: + jsonParseReset(&x); +} + +/* +** json_type(JSON) +** json_type(JSON, PATH) +** +** Return the top-level "type" of a JSON string. Throw an error if +** either the JSON or PATH inputs are not well-formed. +*/ +static void jsonTypeFunc( + sqlite3_context *ctx, + int argc, + sqlite3_value **argv +){ + JsonParse *p; /* The parse */ + const char *zPath; + JsonNode *pNode; + + p = jsonParseCached(ctx, argv, ctx); + if( p==0 ) return; + if( argc==2 ){ + zPath = (const char*)sqlite3_value_text(argv[1]); + pNode = jsonLookup(p, zPath, 0, ctx); + }else{ + pNode = p->aNode; + } + if( pNode ){ + sqlite3_result_text(ctx, jsonType[pNode->eType], -1, SQLITE_STATIC); + } +} + +/* +** json_valid(JSON) +** +** Return 1 if JSON is a well-formed JSON string according to RFC-7159. +** Return 0 otherwise. +*/ +static void jsonValidFunc( + sqlite3_context *ctx, + int argc, + sqlite3_value **argv +){ + JsonParse *p; /* The parse */ + UNUSED_PARAM(argc); + p = jsonParseCached(ctx, argv, 0); + sqlite3_result_int(ctx, p!=0); +} + + +/**************************************************************************** +** Aggregate SQL function implementations +****************************************************************************/ +/* +** json_group_array(VALUE) +** +** Return a JSON array composed of all values in the aggregate. +*/ +static void jsonArrayStep( + sqlite3_context *ctx, + int argc, + sqlite3_value **argv +){ + JsonString *pStr; + UNUSED_PARAM(argc); + pStr = (JsonString*)sqlite3_aggregate_context(ctx, sizeof(*pStr)); + if( pStr ){ + if( pStr->zBuf==0 ){ + jsonInit(pStr, ctx); + jsonAppendChar(pStr, '['); + }else if( pStr->nUsed>1 ){ + jsonAppendChar(pStr, ','); + pStr->pCtx = ctx; + } + jsonAppendValue(pStr, argv[0]); + } +} +static void jsonArrayCompute(sqlite3_context *ctx, int isFinal){ + JsonString *pStr; + pStr = (JsonString*)sqlite3_aggregate_context(ctx, 0); + if( pStr ){ + pStr->pCtx = ctx; + jsonAppendChar(pStr, ']'); + if( pStr->bErr ){ + if( pStr->bErr==1 ) sqlite3_result_error_nomem(ctx); + assert( pStr->bStatic ); + }else if( isFinal ){ + sqlite3_result_text(ctx, pStr->zBuf, (int)pStr->nUsed, + pStr->bStatic ? SQLITE_TRANSIENT : sqlite3_free); + pStr->bStatic = 1; + }else{ + sqlite3_result_text(ctx, pStr->zBuf, (int)pStr->nUsed, SQLITE_TRANSIENT); + pStr->nUsed--; + } + }else{ + sqlite3_result_text(ctx, "[]", 2, SQLITE_STATIC); + } + sqlite3_result_subtype(ctx, JSON_SUBTYPE); +} +static void jsonArrayValue(sqlite3_context *ctx){ + jsonArrayCompute(ctx, 0); +} +static void jsonArrayFinal(sqlite3_context *ctx){ + jsonArrayCompute(ctx, 1); +} + +#ifndef SQLITE_OMIT_WINDOWFUNC +/* +** This method works for both json_group_array() and json_group_object(). +** It works by removing the first element of the group by searching forward +** to the first comma (",") that is not within a string and deleting all +** text through that comma. +*/ +static void jsonGroupInverse( + sqlite3_context *ctx, + int argc, + sqlite3_value **argv +){ + unsigned int i; + int inStr = 0; + int nNest = 0; + char *z; + char c; + JsonString *pStr; + UNUSED_PARAM(argc); + UNUSED_PARAM(argv); + pStr = (JsonString*)sqlite3_aggregate_context(ctx, 0); +#ifdef NEVER + /* pStr is always non-NULL since jsonArrayStep() or jsonObjectStep() will + ** always have been called to initalize it */ + if( NEVER(!pStr) ) return; +#endif + z = pStr->zBuf; + for(i=1; (c = z[i])!=',' || inStr || nNest; i++){ + if( i>=pStr->nUsed ){ + pStr->nUsed = 1; + return; + } + if( c=='"' ){ + inStr = !inStr; + }else if( c=='\\' ){ + i++; + }else if( !inStr ){ + if( c=='{' || c=='[' ) nNest++; + if( c=='}' || c==']' ) nNest--; + } + } + pStr->nUsed -= i; + memmove(&z[1], &z[i+1], (size_t)pStr->nUsed-1); +} +#else +# define jsonGroupInverse 0 +#endif + + +/* +** json_group_obj(NAME,VALUE) +** +** Return a JSON object composed of all names and values in the aggregate. +*/ +static void jsonObjectStep( + sqlite3_context *ctx, + int argc, + sqlite3_value **argv +){ + JsonString *pStr; + const char *z; + u32 n; + UNUSED_PARAM(argc); + pStr = (JsonString*)sqlite3_aggregate_context(ctx, sizeof(*pStr)); + if( pStr ){ + if( pStr->zBuf==0 ){ + jsonInit(pStr, ctx); + jsonAppendChar(pStr, '{'); + }else if( pStr->nUsed>1 ){ + jsonAppendChar(pStr, ','); + pStr->pCtx = ctx; + } + z = (const char*)sqlite3_value_text(argv[0]); + n = (u32)sqlite3_value_bytes(argv[0]); + jsonAppendString(pStr, z, n); + jsonAppendChar(pStr, ':'); + jsonAppendValue(pStr, argv[1]); + } +} +static void jsonObjectCompute(sqlite3_context *ctx, int isFinal){ + JsonString *pStr; + pStr = (JsonString*)sqlite3_aggregate_context(ctx, 0); + if( pStr ){ + jsonAppendChar(pStr, '}'); + if( pStr->bErr ){ + if( pStr->bErr==1 ) sqlite3_result_error_nomem(ctx); + assert( pStr->bStatic ); + }else if( isFinal ){ + sqlite3_result_text(ctx, pStr->zBuf, (int)pStr->nUsed, + pStr->bStatic ? SQLITE_TRANSIENT : sqlite3_free); + pStr->bStatic = 1; + }else{ + sqlite3_result_text(ctx, pStr->zBuf, (int)pStr->nUsed, SQLITE_TRANSIENT); + pStr->nUsed--; + } + }else{ + sqlite3_result_text(ctx, "{}", 2, SQLITE_STATIC); + } + sqlite3_result_subtype(ctx, JSON_SUBTYPE); +} +static void jsonObjectValue(sqlite3_context *ctx){ + jsonObjectCompute(ctx, 0); +} +static void jsonObjectFinal(sqlite3_context *ctx){ + jsonObjectCompute(ctx, 1); +} + + + +#ifndef SQLITE_OMIT_VIRTUALTABLE +/**************************************************************************** +** The json_each virtual table +****************************************************************************/ +typedef struct JsonEachCursor JsonEachCursor; +struct JsonEachCursor { + sqlite3_vtab_cursor base; /* Base class - must be first */ + u32 iRowid; /* The rowid */ + u32 iBegin; /* The first node of the scan */ + u32 i; /* Index in sParse.aNode[] of current row */ + u32 iEnd; /* EOF when i equals or exceeds this value */ + u8 eType; /* Type of top-level element */ + u8 bRecursive; /* True for json_tree(). False for json_each() */ + char *zJson; /* Input JSON */ + char *zRoot; /* Path by which to filter zJson */ + JsonParse sParse; /* Parse of the input JSON */ +}; + +/* Constructor for the json_each virtual table */ +static int jsonEachConnect( + sqlite3 *db, + void *pAux, + int argc, const char *const*argv, + sqlite3_vtab **ppVtab, + char **pzErr +){ + sqlite3_vtab *pNew; + int rc; + +/* Column numbers */ +#define JEACH_KEY 0 +#define JEACH_VALUE 1 +#define JEACH_TYPE 2 +#define JEACH_ATOM 3 +#define JEACH_ID 4 +#define JEACH_PARENT 5 +#define JEACH_FULLKEY 6 +#define JEACH_PATH 7 +/* The xBestIndex method assumes that the JSON and ROOT columns are +** the last two columns in the table. Should this ever changes, be +** sure to update the xBestIndex method. */ +#define JEACH_JSON 8 +#define JEACH_ROOT 9 + + UNUSED_PARAM(pzErr); + UNUSED_PARAM(argv); + UNUSED_PARAM(argc); + UNUSED_PARAM(pAux); + rc = sqlite3_declare_vtab(db, + "CREATE TABLE x(key,value,type,atom,id,parent,fullkey,path," + "json HIDDEN,root HIDDEN)"); + if( rc==SQLITE_OK ){ + pNew = *ppVtab = sqlite3_malloc( sizeof(*pNew) ); + if( pNew==0 ) return SQLITE_NOMEM; + memset(pNew, 0, sizeof(*pNew)); + } + return rc; +} + +/* destructor for json_each virtual table */ +static int jsonEachDisconnect(sqlite3_vtab *pVtab){ + sqlite3_free(pVtab); + return SQLITE_OK; +} + +/* constructor for a JsonEachCursor object for json_each(). */ +static int jsonEachOpenEach(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor){ + JsonEachCursor *pCur; + + UNUSED_PARAM(p); + pCur = sqlite3_malloc( sizeof(*pCur) ); + if( pCur==0 ) return SQLITE_NOMEM; + memset(pCur, 0, sizeof(*pCur)); + *ppCursor = &pCur->base; + return SQLITE_OK; +} + +/* constructor for a JsonEachCursor object for json_tree(). */ +static int jsonEachOpenTree(sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor){ + int rc = jsonEachOpenEach(p, ppCursor); + if( rc==SQLITE_OK ){ + JsonEachCursor *pCur = (JsonEachCursor*)*ppCursor; + pCur->bRecursive = 1; + } + return rc; +} + +/* Reset a JsonEachCursor back to its original state. Free any memory +** held. */ +static void jsonEachCursorReset(JsonEachCursor *p){ + sqlite3_free(p->zJson); + sqlite3_free(p->zRoot); + jsonParseReset(&p->sParse); + p->iRowid = 0; + p->i = 0; + p->iEnd = 0; + p->eType = 0; + p->zJson = 0; + p->zRoot = 0; +} + +/* Destructor for a jsonEachCursor object */ +static int jsonEachClose(sqlite3_vtab_cursor *cur){ + JsonEachCursor *p = (JsonEachCursor*)cur; + jsonEachCursorReset(p); + sqlite3_free(cur); + return SQLITE_OK; +} + +/* Return TRUE if the jsonEachCursor object has been advanced off the end +** of the JSON object */ +static int jsonEachEof(sqlite3_vtab_cursor *cur){ + JsonEachCursor *p = (JsonEachCursor*)cur; + return p->i >= p->iEnd; +} + +/* Advance the cursor to the next element for json_tree() */ +static int jsonEachNext(sqlite3_vtab_cursor *cur){ + JsonEachCursor *p = (JsonEachCursor*)cur; + if( p->bRecursive ){ + if( p->sParse.aNode[p->i].jnFlags & JNODE_LABEL ) p->i++; + p->i++; + p->iRowid++; + if( p->iiEnd ){ + u32 iUp = p->sParse.aUp[p->i]; + JsonNode *pUp = &p->sParse.aNode[iUp]; + p->eType = pUp->eType; + if( pUp->eType==JSON_ARRAY ){ + if( iUp==p->i-1 ){ + pUp->u.iKey = 0; + }else{ + pUp->u.iKey++; + } + } + } + }else{ + switch( p->eType ){ + case JSON_ARRAY: { + p->i += jsonNodeSize(&p->sParse.aNode[p->i]); + p->iRowid++; + break; + } + case JSON_OBJECT: { + p->i += 1 + jsonNodeSize(&p->sParse.aNode[p->i+1]); + p->iRowid++; + break; + } + default: { + p->i = p->iEnd; + break; + } + } + } + return SQLITE_OK; +} + +/* Append the name of the path for element i to pStr +*/ +static void jsonEachComputePath( + JsonEachCursor *p, /* The cursor */ + JsonString *pStr, /* Write the path here */ + u32 i /* Path to this element */ +){ + JsonNode *pNode, *pUp; + u32 iUp; + if( i==0 ){ + jsonAppendChar(pStr, '$'); + return; + } + iUp = p->sParse.aUp[i]; + jsonEachComputePath(p, pStr, iUp); + pNode = &p->sParse.aNode[i]; + pUp = &p->sParse.aNode[iUp]; + if( pUp->eType==JSON_ARRAY ){ + jsonPrintf(30, pStr, "[%d]", pUp->u.iKey); + }else{ + assert( pUp->eType==JSON_OBJECT ); + if( (pNode->jnFlags & JNODE_LABEL)==0 ) pNode--; + assert( pNode->eType==JSON_STRING ); + assert( pNode->jnFlags & JNODE_LABEL ); + jsonPrintf(pNode->n+1, pStr, ".%.*s", pNode->n-2, pNode->u.zJContent+1); + } +} + +/* Return the value of a column */ +static int jsonEachColumn( + sqlite3_vtab_cursor *cur, /* The cursor */ + sqlite3_context *ctx, /* First argument to sqlite3_result_...() */ + int i /* Which column to return */ +){ + JsonEachCursor *p = (JsonEachCursor*)cur; + JsonNode *pThis = &p->sParse.aNode[p->i]; + switch( i ){ + case JEACH_KEY: { + if( p->i==0 ) break; + if( p->eType==JSON_OBJECT ){ + jsonReturn(pThis, ctx, 0); + }else if( p->eType==JSON_ARRAY ){ + u32 iKey; + if( p->bRecursive ){ + if( p->iRowid==0 ) break; + iKey = p->sParse.aNode[p->sParse.aUp[p->i]].u.iKey; + }else{ + iKey = p->iRowid; + } + sqlite3_result_int64(ctx, (sqlite3_int64)iKey); + } + break; + } + case JEACH_VALUE: { + if( pThis->jnFlags & JNODE_LABEL ) pThis++; + jsonReturn(pThis, ctx, 0); + break; + } + case JEACH_TYPE: { + if( pThis->jnFlags & JNODE_LABEL ) pThis++; + sqlite3_result_text(ctx, jsonType[pThis->eType], -1, SQLITE_STATIC); + break; + } + case JEACH_ATOM: { + if( pThis->jnFlags & JNODE_LABEL ) pThis++; + if( pThis->eType>=JSON_ARRAY ) break; + jsonReturn(pThis, ctx, 0); + break; + } + case JEACH_ID: { + sqlite3_result_int64(ctx, + (sqlite3_int64)p->i + ((pThis->jnFlags & JNODE_LABEL)!=0)); + break; + } + case JEACH_PARENT: { + if( p->i>p->iBegin && p->bRecursive ){ + sqlite3_result_int64(ctx, (sqlite3_int64)p->sParse.aUp[p->i]); + } + break; + } + case JEACH_FULLKEY: { + JsonString x; + jsonInit(&x, ctx); + if( p->bRecursive ){ + jsonEachComputePath(p, &x, p->i); + }else{ + if( p->zRoot ){ + jsonAppendRaw(&x, p->zRoot, (int)strlen(p->zRoot)); + }else{ + jsonAppendChar(&x, '$'); + } + if( p->eType==JSON_ARRAY ){ + jsonPrintf(30, &x, "[%d]", p->iRowid); + }else if( p->eType==JSON_OBJECT ){ + jsonPrintf(pThis->n, &x, ".%.*s", pThis->n-2, pThis->u.zJContent+1); + } + } + jsonResult(&x); + break; + } + case JEACH_PATH: { + if( p->bRecursive ){ + JsonString x; + jsonInit(&x, ctx); + jsonEachComputePath(p, &x, p->sParse.aUp[p->i]); + jsonResult(&x); + break; + } + /* For json_each() path and root are the same so fall through + ** into the root case */ + } + default: { + const char *zRoot = p->zRoot; + if( zRoot==0 ) zRoot = "$"; + sqlite3_result_text(ctx, zRoot, -1, SQLITE_STATIC); + break; + } + case JEACH_JSON: { + assert( i==JEACH_JSON ); + sqlite3_result_text(ctx, p->sParse.zJson, -1, SQLITE_STATIC); + break; + } + } + return SQLITE_OK; +} + +/* Return the current rowid value */ +static int jsonEachRowid(sqlite3_vtab_cursor *cur, sqlite_int64 *pRowid){ + JsonEachCursor *p = (JsonEachCursor*)cur; + *pRowid = p->iRowid; + return SQLITE_OK; +} + +/* The query strategy is to look for an equality constraint on the json +** column. Without such a constraint, the table cannot operate. idxNum is +** 1 if the constraint is found, 3 if the constraint and zRoot are found, +** and 0 otherwise. +*/ +static int jsonEachBestIndex( + sqlite3_vtab *tab, + sqlite3_index_info *pIdxInfo +){ + int i; /* Loop counter or computed array index */ + int aIdx[2]; /* Index of constraints for JSON and ROOT */ + int unusableMask = 0; /* Mask of unusable JSON and ROOT constraints */ + int idxMask = 0; /* Mask of usable == constraints JSON and ROOT */ + const struct sqlite3_index_constraint *pConstraint; + + /* This implementation assumes that JSON and ROOT are the last two + ** columns in the table */ + assert( JEACH_ROOT == JEACH_JSON+1 ); + UNUSED_PARAM(tab); + aIdx[0] = aIdx[1] = -1; + pConstraint = pIdxInfo->aConstraint; + for(i=0; inConstraint; i++, pConstraint++){ + int iCol; + int iMask; + if( pConstraint->iColumn < JEACH_JSON ) continue; + iCol = pConstraint->iColumn - JEACH_JSON; + assert( iCol==0 || iCol==1 ); + iMask = 1 << iCol; + if( pConstraint->usable==0 ){ + unusableMask |= iMask; + }else if( pConstraint->op==SQLITE_INDEX_CONSTRAINT_EQ ){ + aIdx[iCol] = i; + idxMask |= iMask; + } + } + if( (unusableMask & ~idxMask)!=0 ){ + /* If there are any unusable constraints on JSON or ROOT, then reject + ** this entire plan */ + return SQLITE_CONSTRAINT; + } + if( aIdx[0]<0 ){ + /* No JSON input. Leave estimatedCost at the huge value that it was + ** initialized to to discourage the query planner from selecting this + ** plan. */ + pIdxInfo->idxNum = 0; + }else{ + pIdxInfo->estimatedCost = 1.0; + i = aIdx[0]; + pIdxInfo->aConstraintUsage[i].argvIndex = 1; + pIdxInfo->aConstraintUsage[i].omit = 1; + if( aIdx[1]<0 ){ + pIdxInfo->idxNum = 1; /* Only JSON supplied. Plan 1 */ + }else{ + i = aIdx[1]; + pIdxInfo->aConstraintUsage[i].argvIndex = 2; + pIdxInfo->aConstraintUsage[i].omit = 1; + pIdxInfo->idxNum = 3; /* Both JSON and ROOT are supplied. Plan 3 */ + } + } + return SQLITE_OK; +} + +/* Start a search on a new JSON string */ +static int jsonEachFilter( + sqlite3_vtab_cursor *cur, + int idxNum, const char *idxStr, + int argc, sqlite3_value **argv +){ + JsonEachCursor *p = (JsonEachCursor*)cur; + const char *z; + const char *zRoot = 0; + sqlite3_int64 n; + + UNUSED_PARAM(idxStr); + UNUSED_PARAM(argc); + jsonEachCursorReset(p); + if( idxNum==0 ) return SQLITE_OK; + z = (const char*)sqlite3_value_text(argv[0]); + if( z==0 ) return SQLITE_OK; + n = sqlite3_value_bytes(argv[0]); + p->zJson = sqlite3_malloc64( n+1 ); + if( p->zJson==0 ) return SQLITE_NOMEM; + memcpy(p->zJson, z, (size_t)n+1); + if( jsonParse(&p->sParse, 0, p->zJson) ){ + int rc = SQLITE_NOMEM; + if( p->sParse.oom==0 ){ + sqlite3_free(cur->pVtab->zErrMsg); + cur->pVtab->zErrMsg = sqlite3_mprintf("malformed JSON"); + if( cur->pVtab->zErrMsg ) rc = SQLITE_ERROR; + } + jsonEachCursorReset(p); + return rc; + }else if( p->bRecursive && jsonParseFindParents(&p->sParse) ){ + jsonEachCursorReset(p); + return SQLITE_NOMEM; + }else{ + JsonNode *pNode = 0; + if( idxNum==3 ){ + const char *zErr = 0; + zRoot = (const char*)sqlite3_value_text(argv[1]); + if( zRoot==0 ) return SQLITE_OK; + n = sqlite3_value_bytes(argv[1]); + p->zRoot = sqlite3_malloc64( n+1 ); + if( p->zRoot==0 ) return SQLITE_NOMEM; + memcpy(p->zRoot, zRoot, (size_t)n+1); + if( zRoot[0]!='$' ){ + zErr = zRoot; + }else{ + pNode = jsonLookupStep(&p->sParse, 0, p->zRoot+1, 0, &zErr); + } + if( zErr ){ + sqlite3_free(cur->pVtab->zErrMsg); + cur->pVtab->zErrMsg = jsonPathSyntaxError(zErr); + jsonEachCursorReset(p); + return cur->pVtab->zErrMsg ? SQLITE_ERROR : SQLITE_NOMEM; + }else if( pNode==0 ){ + return SQLITE_OK; + } + }else{ + pNode = p->sParse.aNode; + } + p->iBegin = p->i = (int)(pNode - p->sParse.aNode); + p->eType = pNode->eType; + if( p->eType>=JSON_ARRAY ){ + pNode->u.iKey = 0; + p->iEnd = p->i + pNode->n + 1; + if( p->bRecursive ){ + p->eType = p->sParse.aNode[p->sParse.aUp[p->i]].eType; + if( p->i>0 && (p->sParse.aNode[p->i-1].jnFlags & JNODE_LABEL)!=0 ){ + p->i--; + } + }else{ + p->i++; + } + }else{ + p->iEnd = p->i+1; + } + } + return SQLITE_OK; +} + +/* The methods of the json_each virtual table */ +static sqlite3_module jsonEachModule = { + 0, /* iVersion */ + 0, /* xCreate */ + jsonEachConnect, /* xConnect */ + jsonEachBestIndex, /* xBestIndex */ + jsonEachDisconnect, /* xDisconnect */ + 0, /* xDestroy */ + jsonEachOpenEach, /* xOpen - open a cursor */ + jsonEachClose, /* xClose - close a cursor */ + jsonEachFilter, /* xFilter - configure scan constraints */ + jsonEachNext, /* xNext - advance a cursor */ + jsonEachEof, /* xEof - check for end of scan */ + jsonEachColumn, /* xColumn - read data */ + jsonEachRowid, /* xRowid - read data */ + 0, /* xUpdate */ + 0, /* xBegin */ + 0, /* xSync */ + 0, /* xCommit */ + 0, /* xRollback */ + 0, /* xFindMethod */ + 0, /* xRename */ + 0, /* xSavepoint */ + 0, /* xRelease */ + 0, /* xRollbackTo */ + 0 /* xShadowName */ +}; + +/* The methods of the json_tree virtual table. */ +static sqlite3_module jsonTreeModule = { + 0, /* iVersion */ + 0, /* xCreate */ + jsonEachConnect, /* xConnect */ + jsonEachBestIndex, /* xBestIndex */ + jsonEachDisconnect, /* xDisconnect */ + 0, /* xDestroy */ + jsonEachOpenTree, /* xOpen - open a cursor */ + jsonEachClose, /* xClose - close a cursor */ + jsonEachFilter, /* xFilter - configure scan constraints */ + jsonEachNext, /* xNext - advance a cursor */ + jsonEachEof, /* xEof - check for end of scan */ + jsonEachColumn, /* xColumn - read data */ + jsonEachRowid, /* xRowid - read data */ + 0, /* xUpdate */ + 0, /* xBegin */ + 0, /* xSync */ + 0, /* xCommit */ + 0, /* xRollback */ + 0, /* xFindMethod */ + 0, /* xRename */ + 0, /* xSavepoint */ + 0, /* xRelease */ + 0, /* xRollbackTo */ + 0 /* xShadowName */ +}; +#endif /* SQLITE_OMIT_VIRTUALTABLE */ + +/**************************************************************************** +** The following routines are the only publically visible identifiers in this +** file. Call the following routines in order to register the various SQL +** functions and the virtual table implemented by this file. +****************************************************************************/ + +SQLITE_PRIVATE int sqlite3Json1Init(sqlite3 *db){ + int rc = SQLITE_OK; + unsigned int i; + static const struct { + const char *zName; + int nArg; + int flag; + void (*xFunc)(sqlite3_context*,int,sqlite3_value**); + } aFunc[] = { + { "json", 1, 0, jsonRemoveFunc }, + { "json_array", -1, 0, jsonArrayFunc }, + { "json_array_length", 1, 0, jsonArrayLengthFunc }, + { "json_array_length", 2, 0, jsonArrayLengthFunc }, + { "json_extract", -1, 0, jsonExtractFunc }, + { "json_insert", -1, 0, jsonSetFunc }, + { "json_object", -1, 0, jsonObjectFunc }, + { "json_patch", 2, 0, jsonPatchFunc }, + { "json_quote", 1, 0, jsonQuoteFunc }, + { "json_remove", -1, 0, jsonRemoveFunc }, + { "json_replace", -1, 0, jsonReplaceFunc }, + { "json_set", -1, 1, jsonSetFunc }, + { "json_type", 1, 0, jsonTypeFunc }, + { "json_type", 2, 0, jsonTypeFunc }, + { "json_valid", 1, 0, jsonValidFunc }, + +#if SQLITE_DEBUG + /* DEBUG and TESTING functions */ + { "json_parse", 1, 0, jsonParseFunc }, + { "json_test1", 1, 0, jsonTest1Func }, +#endif + }; + static const struct { + const char *zName; + int nArg; + void (*xStep)(sqlite3_context*,int,sqlite3_value**); + void (*xFinal)(sqlite3_context*); + void (*xValue)(sqlite3_context*); + } aAgg[] = { + { "json_group_array", 1, + jsonArrayStep, jsonArrayFinal, jsonArrayValue }, + { "json_group_object", 2, + jsonObjectStep, jsonObjectFinal, jsonObjectValue }, + }; +#ifndef SQLITE_OMIT_VIRTUALTABLE + static const struct { + const char *zName; + sqlite3_module *pModule; + } aMod[] = { + { "json_each", &jsonEachModule }, + { "json_tree", &jsonTreeModule }, + }; +#endif + for(i=0; i */ +/* #include */ +/* #include */ + +/* The following macro is used to suppress compiler warnings. +*/ +#ifndef UNUSED_PARAMETER +# define UNUSED_PARAMETER(x) (void)(x) +#endif + +typedef struct Rtree Rtree; +typedef struct RtreeCursor RtreeCursor; +typedef struct RtreeNode RtreeNode; +typedef struct RtreeCell RtreeCell; +typedef struct RtreeConstraint RtreeConstraint; +typedef struct RtreeMatchArg RtreeMatchArg; +typedef struct RtreeGeomCallback RtreeGeomCallback; +typedef union RtreeCoord RtreeCoord; +typedef struct RtreeSearchPoint RtreeSearchPoint; + +/* The rtree may have between 1 and RTREE_MAX_DIMENSIONS dimensions. */ +#define RTREE_MAX_DIMENSIONS 5 + +/* Maximum number of auxiliary columns */ +#define RTREE_MAX_AUX_COLUMN 100 + +/* Size of hash table Rtree.aHash. This hash table is not expected to +** ever contain very many entries, so a fixed number of buckets is +** used. +*/ +#define HASHSIZE 97 + +/* The xBestIndex method of this virtual table requires an estimate of +** the number of rows in the virtual table to calculate the costs of +** various strategies. If possible, this estimate is loaded from the +** sqlite_stat1 table (with RTREE_MIN_ROWEST as a hard-coded minimum). +** Otherwise, if no sqlite_stat1 entry is available, use +** RTREE_DEFAULT_ROWEST. +*/ +#define RTREE_DEFAULT_ROWEST 1048576 +#define RTREE_MIN_ROWEST 100 + +/* +** An rtree virtual-table object. +*/ +struct Rtree { + sqlite3_vtab base; /* Base class. Must be first */ + sqlite3 *db; /* Host database connection */ + int iNodeSize; /* Size in bytes of each node in the node table */ + u8 nDim; /* Number of dimensions */ + u8 nDim2; /* Twice the number of dimensions */ + u8 eCoordType; /* RTREE_COORD_REAL32 or RTREE_COORD_INT32 */ + u8 nBytesPerCell; /* Bytes consumed per cell */ + u8 inWrTrans; /* True if inside write transaction */ + u8 nAux; /* # of auxiliary columns in %_rowid */ + u8 nAuxNotNull; /* Number of initial not-null aux columns */ +#ifdef SQLITE_DEBUG + u8 bCorrupt; /* Shadow table corruption detected */ +#endif + int iDepth; /* Current depth of the r-tree structure */ + char *zDb; /* Name of database containing r-tree table */ + char *zName; /* Name of r-tree table */ + u32 nBusy; /* Current number of users of this structure */ + i64 nRowEst; /* Estimated number of rows in this table */ + u32 nCursor; /* Number of open cursors */ + u32 nNodeRef; /* Number RtreeNodes with positive nRef */ + char *zReadAuxSql; /* SQL for statement to read aux data */ + + /* List of nodes removed during a CondenseTree operation. List is + ** linked together via the pointer normally used for hash chains - + ** RtreeNode.pNext. RtreeNode.iNode stores the depth of the sub-tree + ** headed by the node (leaf nodes have RtreeNode.iNode==0). + */ + RtreeNode *pDeleted; + int iReinsertHeight; /* Height of sub-trees Reinsert() has run on */ + + /* Blob I/O on xxx_node */ + sqlite3_blob *pNodeBlob; + + /* Statements to read/write/delete a record from xxx_node */ + sqlite3_stmt *pWriteNode; + sqlite3_stmt *pDeleteNode; + + /* Statements to read/write/delete a record from xxx_rowid */ + sqlite3_stmt *pReadRowid; + sqlite3_stmt *pWriteRowid; + sqlite3_stmt *pDeleteRowid; + + /* Statements to read/write/delete a record from xxx_parent */ + sqlite3_stmt *pReadParent; + sqlite3_stmt *pWriteParent; + sqlite3_stmt *pDeleteParent; + + /* Statement for writing to the "aux:" fields, if there are any */ + sqlite3_stmt *pWriteAux; + + RtreeNode *aHash[HASHSIZE]; /* Hash table of in-memory nodes. */ +}; + +/* Possible values for Rtree.eCoordType: */ +#define RTREE_COORD_REAL32 0 +#define RTREE_COORD_INT32 1 + +/* +** If SQLITE_RTREE_INT_ONLY is defined, then this virtual table will +** only deal with integer coordinates. No floating point operations +** will be done. +*/ +#ifdef SQLITE_RTREE_INT_ONLY + typedef sqlite3_int64 RtreeDValue; /* High accuracy coordinate */ + typedef int RtreeValue; /* Low accuracy coordinate */ +# define RTREE_ZERO 0 +#else + typedef double RtreeDValue; /* High accuracy coordinate */ + typedef float RtreeValue; /* Low accuracy coordinate */ +# define RTREE_ZERO 0.0 +#endif + +/* +** Set the Rtree.bCorrupt flag +*/ +#ifdef SQLITE_DEBUG +# define RTREE_IS_CORRUPT(X) ((X)->bCorrupt = 1) +#else +# define RTREE_IS_CORRUPT(X) +#endif + +/* +** When doing a search of an r-tree, instances of the following structure +** record intermediate results from the tree walk. +** +** The id is always a node-id. For iLevel>=1 the id is the node-id of +** the node that the RtreeSearchPoint represents. When iLevel==0, however, +** the id is of the parent node and the cell that RtreeSearchPoint +** represents is the iCell-th entry in the parent node. +*/ +struct RtreeSearchPoint { + RtreeDValue rScore; /* The score for this node. Smallest goes first. */ + sqlite3_int64 id; /* Node ID */ + u8 iLevel; /* 0=entries. 1=leaf node. 2+ for higher */ + u8 eWithin; /* PARTLY_WITHIN or FULLY_WITHIN */ + u8 iCell; /* Cell index within the node */ +}; + +/* +** The minimum number of cells allowed for a node is a third of the +** maximum. In Gutman's notation: +** +** m = M/3 +** +** If an R*-tree "Reinsert" operation is required, the same number of +** cells are removed from the overfull node and reinserted into the tree. +*/ +#define RTREE_MINCELLS(p) ((((p)->iNodeSize-4)/(p)->nBytesPerCell)/3) +#define RTREE_REINSERT(p) RTREE_MINCELLS(p) +#define RTREE_MAXCELLS 51 + +/* +** The smallest possible node-size is (512-64)==448 bytes. And the largest +** supported cell size is 48 bytes (8 byte rowid + ten 4 byte coordinates). +** Therefore all non-root nodes must contain at least 3 entries. Since +** 3^40 is greater than 2^64, an r-tree structure always has a depth of +** 40 or less. +*/ +#define RTREE_MAX_DEPTH 40 + + +/* +** Number of entries in the cursor RtreeNode cache. The first entry is +** used to cache the RtreeNode for RtreeCursor.sPoint. The remaining +** entries cache the RtreeNode for the first elements of the priority queue. +*/ +#define RTREE_CACHE_SZ 5 + +/* +** An rtree cursor object. +*/ +struct RtreeCursor { + sqlite3_vtab_cursor base; /* Base class. Must be first */ + u8 atEOF; /* True if at end of search */ + u8 bPoint; /* True if sPoint is valid */ + u8 bAuxValid; /* True if pReadAux is valid */ + int iStrategy; /* Copy of idxNum search parameter */ + int nConstraint; /* Number of entries in aConstraint */ + RtreeConstraint *aConstraint; /* Search constraints. */ + int nPointAlloc; /* Number of slots allocated for aPoint[] */ + int nPoint; /* Number of slots used in aPoint[] */ + int mxLevel; /* iLevel value for root of the tree */ + RtreeSearchPoint *aPoint; /* Priority queue for search points */ + sqlite3_stmt *pReadAux; /* Statement to read aux-data */ + RtreeSearchPoint sPoint; /* Cached next search point */ + RtreeNode *aNode[RTREE_CACHE_SZ]; /* Rtree node cache */ + u32 anQueue[RTREE_MAX_DEPTH+1]; /* Number of queued entries by iLevel */ +}; + +/* Return the Rtree of a RtreeCursor */ +#define RTREE_OF_CURSOR(X) ((Rtree*)((X)->base.pVtab)) + +/* +** A coordinate can be either a floating point number or a integer. All +** coordinates within a single R-Tree are always of the same time. +*/ +union RtreeCoord { + RtreeValue f; /* Floating point value */ + int i; /* Integer value */ + u32 u; /* Unsigned for byte-order conversions */ +}; + +/* +** The argument is an RtreeCoord. Return the value stored within the RtreeCoord +** formatted as a RtreeDValue (double or int64). This macro assumes that local +** variable pRtree points to the Rtree structure associated with the +** RtreeCoord. +*/ +#ifdef SQLITE_RTREE_INT_ONLY +# define DCOORD(coord) ((RtreeDValue)coord.i) +#else +# define DCOORD(coord) ( \ + (pRtree->eCoordType==RTREE_COORD_REAL32) ? \ + ((double)coord.f) : \ + ((double)coord.i) \ + ) +#endif + +/* +** A search constraint. +*/ +struct RtreeConstraint { + int iCoord; /* Index of constrained coordinate */ + int op; /* Constraining operation */ + union { + RtreeDValue rValue; /* Constraint value. */ + int (*xGeom)(sqlite3_rtree_geometry*,int,RtreeDValue*,int*); + int (*xQueryFunc)(sqlite3_rtree_query_info*); + } u; + sqlite3_rtree_query_info *pInfo; /* xGeom and xQueryFunc argument */ +}; + +/* Possible values for RtreeConstraint.op */ +#define RTREE_EQ 0x41 /* A */ +#define RTREE_LE 0x42 /* B */ +#define RTREE_LT 0x43 /* C */ +#define RTREE_GE 0x44 /* D */ +#define RTREE_GT 0x45 /* E */ +#define RTREE_MATCH 0x46 /* F: Old-style sqlite3_rtree_geometry_callback() */ +#define RTREE_QUERY 0x47 /* G: New-style sqlite3_rtree_query_callback() */ + + +/* +** An rtree structure node. +*/ +struct RtreeNode { + RtreeNode *pParent; /* Parent node */ + i64 iNode; /* The node number */ + int nRef; /* Number of references to this node */ + int isDirty; /* True if the node needs to be written to disk */ + u8 *zData; /* Content of the node, as should be on disk */ + RtreeNode *pNext; /* Next node in this hash collision chain */ +}; + +/* Return the number of cells in a node */ +#define NCELL(pNode) readInt16(&(pNode)->zData[2]) + +/* +** A single cell from a node, deserialized +*/ +struct RtreeCell { + i64 iRowid; /* Node or entry ID */ + RtreeCoord aCoord[RTREE_MAX_DIMENSIONS*2]; /* Bounding box coordinates */ +}; + + +/* +** This object becomes the sqlite3_user_data() for the SQL functions +** that are created by sqlite3_rtree_geometry_callback() and +** sqlite3_rtree_query_callback() and which appear on the right of MATCH +** operators in order to constrain a search. +** +** xGeom and xQueryFunc are the callback functions. Exactly one of +** xGeom and xQueryFunc fields is non-NULL, depending on whether the +** SQL function was created using sqlite3_rtree_geometry_callback() or +** sqlite3_rtree_query_callback(). +** +** This object is deleted automatically by the destructor mechanism in +** sqlite3_create_function_v2(). +*/ +struct RtreeGeomCallback { + int (*xGeom)(sqlite3_rtree_geometry*, int, RtreeDValue*, int*); + int (*xQueryFunc)(sqlite3_rtree_query_info*); + void (*xDestructor)(void*); + void *pContext; +}; + +/* +** An instance of this structure (in the form of a BLOB) is returned by +** the SQL functions that sqlite3_rtree_geometry_callback() and +** sqlite3_rtree_query_callback() create, and is read as the right-hand +** operand to the MATCH operator of an R-Tree. +*/ +struct RtreeMatchArg { + u32 iSize; /* Size of this object */ + RtreeGeomCallback cb; /* Info about the callback functions */ + int nParam; /* Number of parameters to the SQL function */ + sqlite3_value **apSqlParam; /* Original SQL parameter values */ + RtreeDValue aParam[1]; /* Values for parameters to the SQL function */ +}; + +#ifndef MAX +# define MAX(x,y) ((x) < (y) ? (y) : (x)) +#endif +#ifndef MIN +# define MIN(x,y) ((x) > (y) ? (y) : (x)) +#endif + +/* What version of GCC is being used. 0 means GCC is not being used . +** Note that the GCC_VERSION macro will also be set correctly when using +** clang, since clang works hard to be gcc compatible. So the gcc +** optimizations will also work when compiling with clang. +*/ +#ifndef GCC_VERSION +#if defined(__GNUC__) && !defined(SQLITE_DISABLE_INTRINSIC) +# define GCC_VERSION (__GNUC__*1000000+__GNUC_MINOR__*1000+__GNUC_PATCHLEVEL__) +#else +# define GCC_VERSION 0 +#endif +#endif + +/* The testcase() macro should already be defined in the amalgamation. If +** it is not, make it a no-op. +*/ +#ifndef SQLITE_AMALGAMATION +# define testcase(X) +#endif + +/* +** Macros to determine whether the machine is big or little endian, +** and whether or not that determination is run-time or compile-time. +** +** For best performance, an attempt is made to guess at the byte-order +** using C-preprocessor macros. If that is unsuccessful, or if +** -DSQLITE_RUNTIME_BYTEORDER=1 is set, then byte-order is determined +** at run-time. +*/ +#ifndef SQLITE_BYTEORDER +#if defined(i386) || defined(__i386__) || defined(_M_IX86) || \ + defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) || \ + defined(_M_AMD64) || defined(_M_ARM) || defined(__x86) || \ + defined(__arm__) +# define SQLITE_BYTEORDER 1234 +#elif defined(sparc) || defined(__ppc__) +# define SQLITE_BYTEORDER 4321 +#else +# define SQLITE_BYTEORDER 0 /* 0 means "unknown at compile-time" */ +#endif +#endif + + +/* What version of MSVC is being used. 0 means MSVC is not being used */ +#ifndef MSVC_VERSION +#if defined(_MSC_VER) && !defined(SQLITE_DISABLE_INTRINSIC) +# define MSVC_VERSION _MSC_VER +#else +# define MSVC_VERSION 0 +#endif +#endif + +/* +** Functions to deserialize a 16 bit integer, 32 bit real number and +** 64 bit integer. The deserialized value is returned. +*/ +static int readInt16(u8 *p){ + return (p[0]<<8) + p[1]; +} +static void readCoord(u8 *p, RtreeCoord *pCoord){ + assert( ((((char*)p) - (char*)0)&3)==0 ); /* p is always 4-byte aligned */ +#if SQLITE_BYTEORDER==1234 && MSVC_VERSION>=1300 + pCoord->u = _byteswap_ulong(*(u32*)p); +#elif SQLITE_BYTEORDER==1234 && GCC_VERSION>=4003000 + pCoord->u = __builtin_bswap32(*(u32*)p); +#elif SQLITE_BYTEORDER==4321 + pCoord->u = *(u32*)p; +#else + pCoord->u = ( + (((u32)p[0]) << 24) + + (((u32)p[1]) << 16) + + (((u32)p[2]) << 8) + + (((u32)p[3]) << 0) + ); +#endif +} +static i64 readInt64(u8 *p){ +#if SQLITE_BYTEORDER==1234 && MSVC_VERSION>=1300 + u64 x; + memcpy(&x, p, 8); + return (i64)_byteswap_uint64(x); +#elif SQLITE_BYTEORDER==1234 && GCC_VERSION>=4003000 + u64 x; + memcpy(&x, p, 8); + return (i64)__builtin_bswap64(x); +#elif SQLITE_BYTEORDER==4321 + i64 x; + memcpy(&x, p, 8); + return x; +#else + return (i64)( + (((u64)p[0]) << 56) + + (((u64)p[1]) << 48) + + (((u64)p[2]) << 40) + + (((u64)p[3]) << 32) + + (((u64)p[4]) << 24) + + (((u64)p[5]) << 16) + + (((u64)p[6]) << 8) + + (((u64)p[7]) << 0) + ); +#endif +} + +/* +** Functions to serialize a 16 bit integer, 32 bit real number and +** 64 bit integer. The value returned is the number of bytes written +** to the argument buffer (always 2, 4 and 8 respectively). +*/ +static void writeInt16(u8 *p, int i){ + p[0] = (i>> 8)&0xFF; + p[1] = (i>> 0)&0xFF; +} +static int writeCoord(u8 *p, RtreeCoord *pCoord){ + u32 i; + assert( ((((char*)p) - (char*)0)&3)==0 ); /* p is always 4-byte aligned */ + assert( sizeof(RtreeCoord)==4 ); + assert( sizeof(u32)==4 ); +#if SQLITE_BYTEORDER==1234 && GCC_VERSION>=4003000 + i = __builtin_bswap32(pCoord->u); + memcpy(p, &i, 4); +#elif SQLITE_BYTEORDER==1234 && MSVC_VERSION>=1300 + i = _byteswap_ulong(pCoord->u); + memcpy(p, &i, 4); +#elif SQLITE_BYTEORDER==4321 + i = pCoord->u; + memcpy(p, &i, 4); +#else + i = pCoord->u; + p[0] = (i>>24)&0xFF; + p[1] = (i>>16)&0xFF; + p[2] = (i>> 8)&0xFF; + p[3] = (i>> 0)&0xFF; +#endif + return 4; +} +static int writeInt64(u8 *p, i64 i){ +#if SQLITE_BYTEORDER==1234 && GCC_VERSION>=4003000 + i = (i64)__builtin_bswap64((u64)i); + memcpy(p, &i, 8); +#elif SQLITE_BYTEORDER==1234 && MSVC_VERSION>=1300 + i = (i64)_byteswap_uint64((u64)i); + memcpy(p, &i, 8); +#elif SQLITE_BYTEORDER==4321 + memcpy(p, &i, 8); +#else + p[0] = (i>>56)&0xFF; + p[1] = (i>>48)&0xFF; + p[2] = (i>>40)&0xFF; + p[3] = (i>>32)&0xFF; + p[4] = (i>>24)&0xFF; + p[5] = (i>>16)&0xFF; + p[6] = (i>> 8)&0xFF; + p[7] = (i>> 0)&0xFF; +#endif + return 8; +} + +/* +** Increment the reference count of node p. +*/ +static void nodeReference(RtreeNode *p){ + if( p ){ + assert( p->nRef>0 ); + p->nRef++; + } +} + +/* +** Clear the content of node p (set all bytes to 0x00). +*/ +static void nodeZero(Rtree *pRtree, RtreeNode *p){ + memset(&p->zData[2], 0, pRtree->iNodeSize-2); + p->isDirty = 1; +} + +/* +** Given a node number iNode, return the corresponding key to use +** in the Rtree.aHash table. +*/ +static unsigned int nodeHash(i64 iNode){ + return ((unsigned)iNode) % HASHSIZE; +} + +/* +** Search the node hash table for node iNode. If found, return a pointer +** to it. Otherwise, return 0. +*/ +static RtreeNode *nodeHashLookup(Rtree *pRtree, i64 iNode){ + RtreeNode *p; + for(p=pRtree->aHash[nodeHash(iNode)]; p && p->iNode!=iNode; p=p->pNext); + return p; +} + +/* +** Add node pNode to the node hash table. +*/ +static void nodeHashInsert(Rtree *pRtree, RtreeNode *pNode){ + int iHash; + assert( pNode->pNext==0 ); + iHash = nodeHash(pNode->iNode); + pNode->pNext = pRtree->aHash[iHash]; + pRtree->aHash[iHash] = pNode; +} + +/* +** Remove node pNode from the node hash table. +*/ +static void nodeHashDelete(Rtree *pRtree, RtreeNode *pNode){ + RtreeNode **pp; + if( pNode->iNode!=0 ){ + pp = &pRtree->aHash[nodeHash(pNode->iNode)]; + for( ; (*pp)!=pNode; pp = &(*pp)->pNext){ assert(*pp); } + *pp = pNode->pNext; + pNode->pNext = 0; + } +} + +/* +** Allocate and return new r-tree node. Initially, (RtreeNode.iNode==0), +** indicating that node has not yet been assigned a node number. It is +** assigned a node number when nodeWrite() is called to write the +** node contents out to the database. +*/ +static RtreeNode *nodeNew(Rtree *pRtree, RtreeNode *pParent){ + RtreeNode *pNode; + pNode = (RtreeNode *)sqlite3_malloc64(sizeof(RtreeNode) + pRtree->iNodeSize); + if( pNode ){ + memset(pNode, 0, sizeof(RtreeNode) + pRtree->iNodeSize); + pNode->zData = (u8 *)&pNode[1]; + pNode->nRef = 1; + pRtree->nNodeRef++; + pNode->pParent = pParent; + pNode->isDirty = 1; + nodeReference(pParent); + } + return pNode; +} + +/* +** Clear the Rtree.pNodeBlob object +*/ +static void nodeBlobReset(Rtree *pRtree){ + if( pRtree->pNodeBlob && pRtree->inWrTrans==0 && pRtree->nCursor==0 ){ + sqlite3_blob *pBlob = pRtree->pNodeBlob; + pRtree->pNodeBlob = 0; + sqlite3_blob_close(pBlob); + } +} + +/* +** Check to see if pNode is the same as pParent or any of the parents +** of pParent. +*/ +static int nodeInParentChain(const RtreeNode *pNode, const RtreeNode *pParent){ + do{ + if( pNode==pParent ) return 1; + pParent = pParent->pParent; + }while( pParent ); + return 0; +} + +/* +** Obtain a reference to an r-tree node. +*/ +static int nodeAcquire( + Rtree *pRtree, /* R-tree structure */ + i64 iNode, /* Node number to load */ + RtreeNode *pParent, /* Either the parent node or NULL */ + RtreeNode **ppNode /* OUT: Acquired node */ +){ + int rc = SQLITE_OK; + RtreeNode *pNode = 0; + + /* Check if the requested node is already in the hash table. If so, + ** increase its reference count and return it. + */ + if( (pNode = nodeHashLookup(pRtree, iNode))!=0 ){ + if( pParent && !pNode->pParent ){ + if( nodeInParentChain(pNode, pParent) ){ + RTREE_IS_CORRUPT(pRtree); + return SQLITE_CORRUPT_VTAB; + } + pParent->nRef++; + pNode->pParent = pParent; + }else if( pParent && pNode->pParent && pParent!=pNode->pParent ){ + RTREE_IS_CORRUPT(pRtree); + return SQLITE_CORRUPT_VTAB; + } + pNode->nRef++; + *ppNode = pNode; + return SQLITE_OK; + } + + if( pRtree->pNodeBlob ){ + sqlite3_blob *pBlob = pRtree->pNodeBlob; + pRtree->pNodeBlob = 0; + rc = sqlite3_blob_reopen(pBlob, iNode); + pRtree->pNodeBlob = pBlob; + if( rc ){ + nodeBlobReset(pRtree); + if( rc==SQLITE_NOMEM ) return SQLITE_NOMEM; + } + } + if( pRtree->pNodeBlob==0 ){ + char *zTab = sqlite3_mprintf("%s_node", pRtree->zName); + if( zTab==0 ) return SQLITE_NOMEM; + rc = sqlite3_blob_open(pRtree->db, pRtree->zDb, zTab, "data", iNode, 0, + &pRtree->pNodeBlob); + sqlite3_free(zTab); + } + if( rc ){ + nodeBlobReset(pRtree); + *ppNode = 0; + /* If unable to open an sqlite3_blob on the desired row, that can only + ** be because the shadow tables hold erroneous data. */ + if( rc==SQLITE_ERROR ){ + rc = SQLITE_CORRUPT_VTAB; + RTREE_IS_CORRUPT(pRtree); + } + }else if( pRtree->iNodeSize==sqlite3_blob_bytes(pRtree->pNodeBlob) ){ + pNode = (RtreeNode *)sqlite3_malloc64(sizeof(RtreeNode)+pRtree->iNodeSize); + if( !pNode ){ + rc = SQLITE_NOMEM; + }else{ + pNode->pParent = pParent; + pNode->zData = (u8 *)&pNode[1]; + pNode->nRef = 1; + pRtree->nNodeRef++; + pNode->iNode = iNode; + pNode->isDirty = 0; + pNode->pNext = 0; + rc = sqlite3_blob_read(pRtree->pNodeBlob, pNode->zData, + pRtree->iNodeSize, 0); + } + } + + /* If the root node was just loaded, set pRtree->iDepth to the height + ** of the r-tree structure. A height of zero means all data is stored on + ** the root node. A height of one means the children of the root node + ** are the leaves, and so on. If the depth as specified on the root node + ** is greater than RTREE_MAX_DEPTH, the r-tree structure must be corrupt. + */ + if( pNode && iNode==1 ){ + pRtree->iDepth = readInt16(pNode->zData); + if( pRtree->iDepth>RTREE_MAX_DEPTH ){ + rc = SQLITE_CORRUPT_VTAB; + RTREE_IS_CORRUPT(pRtree); + } + } + + /* If no error has occurred so far, check if the "number of entries" + ** field on the node is too large. If so, set the return code to + ** SQLITE_CORRUPT_VTAB. + */ + if( pNode && rc==SQLITE_OK ){ + if( NCELL(pNode)>((pRtree->iNodeSize-4)/pRtree->nBytesPerCell) ){ + rc = SQLITE_CORRUPT_VTAB; + RTREE_IS_CORRUPT(pRtree); + } + } + + if( rc==SQLITE_OK ){ + if( pNode!=0 ){ + nodeReference(pParent); + nodeHashInsert(pRtree, pNode); + }else{ + rc = SQLITE_CORRUPT_VTAB; + RTREE_IS_CORRUPT(pRtree); + } + *ppNode = pNode; + }else{ + if( pNode ){ + pRtree->nNodeRef--; + sqlite3_free(pNode); + } + *ppNode = 0; + } + + return rc; +} + +/* +** Overwrite cell iCell of node pNode with the contents of pCell. +*/ +static void nodeOverwriteCell( + Rtree *pRtree, /* The overall R-Tree */ + RtreeNode *pNode, /* The node into which the cell is to be written */ + RtreeCell *pCell, /* The cell to write */ + int iCell /* Index into pNode into which pCell is written */ +){ + int ii; + u8 *p = &pNode->zData[4 + pRtree->nBytesPerCell*iCell]; + p += writeInt64(p, pCell->iRowid); + for(ii=0; iinDim2; ii++){ + p += writeCoord(p, &pCell->aCoord[ii]); + } + pNode->isDirty = 1; +} + +/* +** Remove the cell with index iCell from node pNode. +*/ +static void nodeDeleteCell(Rtree *pRtree, RtreeNode *pNode, int iCell){ + u8 *pDst = &pNode->zData[4 + pRtree->nBytesPerCell*iCell]; + u8 *pSrc = &pDst[pRtree->nBytesPerCell]; + int nByte = (NCELL(pNode) - iCell - 1) * pRtree->nBytesPerCell; + memmove(pDst, pSrc, nByte); + writeInt16(&pNode->zData[2], NCELL(pNode)-1); + pNode->isDirty = 1; +} + +/* +** Insert the contents of cell pCell into node pNode. If the insert +** is successful, return SQLITE_OK. +** +** If there is not enough free space in pNode, return SQLITE_FULL. +*/ +static int nodeInsertCell( + Rtree *pRtree, /* The overall R-Tree */ + RtreeNode *pNode, /* Write new cell into this node */ + RtreeCell *pCell /* The cell to be inserted */ +){ + int nCell; /* Current number of cells in pNode */ + int nMaxCell; /* Maximum number of cells for pNode */ + + nMaxCell = (pRtree->iNodeSize-4)/pRtree->nBytesPerCell; + nCell = NCELL(pNode); + + assert( nCell<=nMaxCell ); + if( nCellzData[2], nCell+1); + pNode->isDirty = 1; + } + + return (nCell==nMaxCell); +} + +/* +** If the node is dirty, write it out to the database. +*/ +static int nodeWrite(Rtree *pRtree, RtreeNode *pNode){ + int rc = SQLITE_OK; + if( pNode->isDirty ){ + sqlite3_stmt *p = pRtree->pWriteNode; + if( pNode->iNode ){ + sqlite3_bind_int64(p, 1, pNode->iNode); + }else{ + sqlite3_bind_null(p, 1); + } + sqlite3_bind_blob(p, 2, pNode->zData, pRtree->iNodeSize, SQLITE_STATIC); + sqlite3_step(p); + pNode->isDirty = 0; + rc = sqlite3_reset(p); + sqlite3_bind_null(p, 2); + if( pNode->iNode==0 && rc==SQLITE_OK ){ + pNode->iNode = sqlite3_last_insert_rowid(pRtree->db); + nodeHashInsert(pRtree, pNode); + } + } + return rc; +} + +/* +** Release a reference to a node. If the node is dirty and the reference +** count drops to zero, the node data is written to the database. +*/ +static int nodeRelease(Rtree *pRtree, RtreeNode *pNode){ + int rc = SQLITE_OK; + if( pNode ){ + assert( pNode->nRef>0 ); + assert( pRtree->nNodeRef>0 ); + pNode->nRef--; + if( pNode->nRef==0 ){ + pRtree->nNodeRef--; + if( pNode->iNode==1 ){ + pRtree->iDepth = -1; + } + if( pNode->pParent ){ + rc = nodeRelease(pRtree, pNode->pParent); + } + if( rc==SQLITE_OK ){ + rc = nodeWrite(pRtree, pNode); + } + nodeHashDelete(pRtree, pNode); + sqlite3_free(pNode); + } + } + return rc; +} + +/* +** Return the 64-bit integer value associated with cell iCell of +** node pNode. If pNode is a leaf node, this is a rowid. If it is +** an internal node, then the 64-bit integer is a child page number. +*/ +static i64 nodeGetRowid( + Rtree *pRtree, /* The overall R-Tree */ + RtreeNode *pNode, /* The node from which to extract the ID */ + int iCell /* The cell index from which to extract the ID */ +){ + assert( iCellzData[4 + pRtree->nBytesPerCell*iCell]); +} + +/* +** Return coordinate iCoord from cell iCell in node pNode. +*/ +static void nodeGetCoord( + Rtree *pRtree, /* The overall R-Tree */ + RtreeNode *pNode, /* The node from which to extract a coordinate */ + int iCell, /* The index of the cell within the node */ + int iCoord, /* Which coordinate to extract */ + RtreeCoord *pCoord /* OUT: Space to write result to */ +){ + readCoord(&pNode->zData[12 + pRtree->nBytesPerCell*iCell + 4*iCoord], pCoord); +} + +/* +** Deserialize cell iCell of node pNode. Populate the structure pointed +** to by pCell with the results. +*/ +static void nodeGetCell( + Rtree *pRtree, /* The overall R-Tree */ + RtreeNode *pNode, /* The node containing the cell to be read */ + int iCell, /* Index of the cell within the node */ + RtreeCell *pCell /* OUT: Write the cell contents here */ +){ + u8 *pData; + RtreeCoord *pCoord; + int ii = 0; + pCell->iRowid = nodeGetRowid(pRtree, pNode, iCell); + pData = pNode->zData + (12 + pRtree->nBytesPerCell*iCell); + pCoord = pCell->aCoord; + do{ + readCoord(pData, &pCoord[ii]); + readCoord(pData+4, &pCoord[ii+1]); + pData += 8; + ii += 2; + }while( iinDim2 ); +} + + +/* Forward declaration for the function that does the work of +** the virtual table module xCreate() and xConnect() methods. +*/ +static int rtreeInit( + sqlite3 *, void *, int, const char *const*, sqlite3_vtab **, char **, int +); + +/* +** Rtree virtual table module xCreate method. +*/ +static int rtreeCreate( + sqlite3 *db, + void *pAux, + int argc, const char *const*argv, + sqlite3_vtab **ppVtab, + char **pzErr +){ + return rtreeInit(db, pAux, argc, argv, ppVtab, pzErr, 1); +} + +/* +** Rtree virtual table module xConnect method. +*/ +static int rtreeConnect( + sqlite3 *db, + void *pAux, + int argc, const char *const*argv, + sqlite3_vtab **ppVtab, + char **pzErr +){ + return rtreeInit(db, pAux, argc, argv, ppVtab, pzErr, 0); +} + +/* +** Increment the r-tree reference count. +*/ +static void rtreeReference(Rtree *pRtree){ + pRtree->nBusy++; +} + +/* +** Decrement the r-tree reference count. When the reference count reaches +** zero the structure is deleted. +*/ +static void rtreeRelease(Rtree *pRtree){ + pRtree->nBusy--; + if( pRtree->nBusy==0 ){ + pRtree->inWrTrans = 0; + assert( pRtree->nCursor==0 ); + nodeBlobReset(pRtree); + assert( pRtree->nNodeRef==0 || pRtree->bCorrupt ); + sqlite3_finalize(pRtree->pWriteNode); + sqlite3_finalize(pRtree->pDeleteNode); + sqlite3_finalize(pRtree->pReadRowid); + sqlite3_finalize(pRtree->pWriteRowid); + sqlite3_finalize(pRtree->pDeleteRowid); + sqlite3_finalize(pRtree->pReadParent); + sqlite3_finalize(pRtree->pWriteParent); + sqlite3_finalize(pRtree->pDeleteParent); + sqlite3_finalize(pRtree->pWriteAux); + sqlite3_free(pRtree->zReadAuxSql); + sqlite3_free(pRtree); + } +} + +/* +** Rtree virtual table module xDisconnect method. +*/ +static int rtreeDisconnect(sqlite3_vtab *pVtab){ + rtreeRelease((Rtree *)pVtab); + return SQLITE_OK; +} + +/* +** Rtree virtual table module xDestroy method. +*/ +static int rtreeDestroy(sqlite3_vtab *pVtab){ + Rtree *pRtree = (Rtree *)pVtab; + int rc; + char *zCreate = sqlite3_mprintf( + "DROP TABLE '%q'.'%q_node';" + "DROP TABLE '%q'.'%q_rowid';" + "DROP TABLE '%q'.'%q_parent';", + pRtree->zDb, pRtree->zName, + pRtree->zDb, pRtree->zName, + pRtree->zDb, pRtree->zName + ); + if( !zCreate ){ + rc = SQLITE_NOMEM; + }else{ + nodeBlobReset(pRtree); + rc = sqlite3_exec(pRtree->db, zCreate, 0, 0, 0); + sqlite3_free(zCreate); + } + if( rc==SQLITE_OK ){ + rtreeRelease(pRtree); + } + + return rc; +} + +/* +** Rtree virtual table module xOpen method. +*/ +static int rtreeOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){ + int rc = SQLITE_NOMEM; + Rtree *pRtree = (Rtree *)pVTab; + RtreeCursor *pCsr; + + pCsr = (RtreeCursor *)sqlite3_malloc64(sizeof(RtreeCursor)); + if( pCsr ){ + memset(pCsr, 0, sizeof(RtreeCursor)); + pCsr->base.pVtab = pVTab; + rc = SQLITE_OK; + pRtree->nCursor++; + } + *ppCursor = (sqlite3_vtab_cursor *)pCsr; + + return rc; +} + + +/* +** Free the RtreeCursor.aConstraint[] array and its contents. +*/ +static void freeCursorConstraints(RtreeCursor *pCsr){ + if( pCsr->aConstraint ){ + int i; /* Used to iterate through constraint array */ + for(i=0; inConstraint; i++){ + sqlite3_rtree_query_info *pInfo = pCsr->aConstraint[i].pInfo; + if( pInfo ){ + if( pInfo->xDelUser ) pInfo->xDelUser(pInfo->pUser); + sqlite3_free(pInfo); + } + } + sqlite3_free(pCsr->aConstraint); + pCsr->aConstraint = 0; + } +} + +/* +** Rtree virtual table module xClose method. +*/ +static int rtreeClose(sqlite3_vtab_cursor *cur){ + Rtree *pRtree = (Rtree *)(cur->pVtab); + int ii; + RtreeCursor *pCsr = (RtreeCursor *)cur; + assert( pRtree->nCursor>0 ); + freeCursorConstraints(pCsr); + sqlite3_finalize(pCsr->pReadAux); + sqlite3_free(pCsr->aPoint); + for(ii=0; iiaNode[ii]); + sqlite3_free(pCsr); + pRtree->nCursor--; + nodeBlobReset(pRtree); + return SQLITE_OK; +} + +/* +** Rtree virtual table module xEof method. +** +** Return non-zero if the cursor does not currently point to a valid +** record (i.e if the scan has finished), or zero otherwise. +*/ +static int rtreeEof(sqlite3_vtab_cursor *cur){ + RtreeCursor *pCsr = (RtreeCursor *)cur; + return pCsr->atEOF; +} + +/* +** Convert raw bits from the on-disk RTree record into a coordinate value. +** The on-disk format is big-endian and needs to be converted for little- +** endian platforms. The on-disk record stores integer coordinates if +** eInt is true and it stores 32-bit floating point records if eInt is +** false. a[] is the four bytes of the on-disk record to be decoded. +** Store the results in "r". +** +** There are five versions of this macro. The last one is generic. The +** other four are various architectures-specific optimizations. +*/ +#if SQLITE_BYTEORDER==1234 && MSVC_VERSION>=1300 +#define RTREE_DECODE_COORD(eInt, a, r) { \ + RtreeCoord c; /* Coordinate decoded */ \ + c.u = _byteswap_ulong(*(u32*)a); \ + r = eInt ? (sqlite3_rtree_dbl)c.i : (sqlite3_rtree_dbl)c.f; \ +} +#elif SQLITE_BYTEORDER==1234 && GCC_VERSION>=4003000 +#define RTREE_DECODE_COORD(eInt, a, r) { \ + RtreeCoord c; /* Coordinate decoded */ \ + c.u = __builtin_bswap32(*(u32*)a); \ + r = eInt ? (sqlite3_rtree_dbl)c.i : (sqlite3_rtree_dbl)c.f; \ +} +#elif SQLITE_BYTEORDER==1234 +#define RTREE_DECODE_COORD(eInt, a, r) { \ + RtreeCoord c; /* Coordinate decoded */ \ + memcpy(&c.u,a,4); \ + c.u = ((c.u>>24)&0xff)|((c.u>>8)&0xff00)| \ + ((c.u&0xff)<<24)|((c.u&0xff00)<<8); \ + r = eInt ? (sqlite3_rtree_dbl)c.i : (sqlite3_rtree_dbl)c.f; \ +} +#elif SQLITE_BYTEORDER==4321 +#define RTREE_DECODE_COORD(eInt, a, r) { \ + RtreeCoord c; /* Coordinate decoded */ \ + memcpy(&c.u,a,4); \ + r = eInt ? (sqlite3_rtree_dbl)c.i : (sqlite3_rtree_dbl)c.f; \ +} +#else +#define RTREE_DECODE_COORD(eInt, a, r) { \ + RtreeCoord c; /* Coordinate decoded */ \ + c.u = ((u32)a[0]<<24) + ((u32)a[1]<<16) \ + +((u32)a[2]<<8) + a[3]; \ + r = eInt ? (sqlite3_rtree_dbl)c.i : (sqlite3_rtree_dbl)c.f; \ +} +#endif + +/* +** Check the RTree node or entry given by pCellData and p against the MATCH +** constraint pConstraint. +*/ +static int rtreeCallbackConstraint( + RtreeConstraint *pConstraint, /* The constraint to test */ + int eInt, /* True if RTree holding integer coordinates */ + u8 *pCellData, /* Raw cell content */ + RtreeSearchPoint *pSearch, /* Container of this cell */ + sqlite3_rtree_dbl *prScore, /* OUT: score for the cell */ + int *peWithin /* OUT: visibility of the cell */ +){ + sqlite3_rtree_query_info *pInfo = pConstraint->pInfo; /* Callback info */ + int nCoord = pInfo->nCoord; /* No. of coordinates */ + int rc; /* Callback return code */ + RtreeCoord c; /* Translator union */ + sqlite3_rtree_dbl aCoord[RTREE_MAX_DIMENSIONS*2]; /* Decoded coordinates */ + + assert( pConstraint->op==RTREE_MATCH || pConstraint->op==RTREE_QUERY ); + assert( nCoord==2 || nCoord==4 || nCoord==6 || nCoord==8 || nCoord==10 ); + + if( pConstraint->op==RTREE_QUERY && pSearch->iLevel==1 ){ + pInfo->iRowid = readInt64(pCellData); + } + pCellData += 8; +#ifndef SQLITE_RTREE_INT_ONLY + if( eInt==0 ){ + switch( nCoord ){ + case 10: readCoord(pCellData+36, &c); aCoord[9] = c.f; + readCoord(pCellData+32, &c); aCoord[8] = c.f; + case 8: readCoord(pCellData+28, &c); aCoord[7] = c.f; + readCoord(pCellData+24, &c); aCoord[6] = c.f; + case 6: readCoord(pCellData+20, &c); aCoord[5] = c.f; + readCoord(pCellData+16, &c); aCoord[4] = c.f; + case 4: readCoord(pCellData+12, &c); aCoord[3] = c.f; + readCoord(pCellData+8, &c); aCoord[2] = c.f; + default: readCoord(pCellData+4, &c); aCoord[1] = c.f; + readCoord(pCellData, &c); aCoord[0] = c.f; + } + }else +#endif + { + switch( nCoord ){ + case 10: readCoord(pCellData+36, &c); aCoord[9] = c.i; + readCoord(pCellData+32, &c); aCoord[8] = c.i; + case 8: readCoord(pCellData+28, &c); aCoord[7] = c.i; + readCoord(pCellData+24, &c); aCoord[6] = c.i; + case 6: readCoord(pCellData+20, &c); aCoord[5] = c.i; + readCoord(pCellData+16, &c); aCoord[4] = c.i; + case 4: readCoord(pCellData+12, &c); aCoord[3] = c.i; + readCoord(pCellData+8, &c); aCoord[2] = c.i; + default: readCoord(pCellData+4, &c); aCoord[1] = c.i; + readCoord(pCellData, &c); aCoord[0] = c.i; + } + } + if( pConstraint->op==RTREE_MATCH ){ + int eWithin = 0; + rc = pConstraint->u.xGeom((sqlite3_rtree_geometry*)pInfo, + nCoord, aCoord, &eWithin); + if( eWithin==0 ) *peWithin = NOT_WITHIN; + *prScore = RTREE_ZERO; + }else{ + pInfo->aCoord = aCoord; + pInfo->iLevel = pSearch->iLevel - 1; + pInfo->rScore = pInfo->rParentScore = pSearch->rScore; + pInfo->eWithin = pInfo->eParentWithin = pSearch->eWithin; + rc = pConstraint->u.xQueryFunc(pInfo); + if( pInfo->eWithin<*peWithin ) *peWithin = pInfo->eWithin; + if( pInfo->rScore<*prScore || *prScorerScore; + } + } + return rc; +} + +/* +** Check the internal RTree node given by pCellData against constraint p. +** If this constraint cannot be satisfied by any child within the node, +** set *peWithin to NOT_WITHIN. +*/ +static void rtreeNonleafConstraint( + RtreeConstraint *p, /* The constraint to test */ + int eInt, /* True if RTree holds integer coordinates */ + u8 *pCellData, /* Raw cell content as appears on disk */ + int *peWithin /* Adjust downward, as appropriate */ +){ + sqlite3_rtree_dbl val; /* Coordinate value convert to a double */ + + /* p->iCoord might point to either a lower or upper bound coordinate + ** in a coordinate pair. But make pCellData point to the lower bound. + */ + pCellData += 8 + 4*(p->iCoord&0xfe); + + assert(p->op==RTREE_LE || p->op==RTREE_LT || p->op==RTREE_GE + || p->op==RTREE_GT || p->op==RTREE_EQ ); + assert( ((((char*)pCellData) - (char*)0)&3)==0 ); /* 4-byte aligned */ + switch( p->op ){ + case RTREE_LE: + case RTREE_LT: + case RTREE_EQ: + RTREE_DECODE_COORD(eInt, pCellData, val); + /* val now holds the lower bound of the coordinate pair */ + if( p->u.rValue>=val ) return; + if( p->op!=RTREE_EQ ) break; /* RTREE_LE and RTREE_LT end here */ + /* Fall through for the RTREE_EQ case */ + + default: /* RTREE_GT or RTREE_GE, or fallthrough of RTREE_EQ */ + pCellData += 4; + RTREE_DECODE_COORD(eInt, pCellData, val); + /* val now holds the upper bound of the coordinate pair */ + if( p->u.rValue<=val ) return; + } + *peWithin = NOT_WITHIN; +} + +/* +** Check the leaf RTree cell given by pCellData against constraint p. +** If this constraint is not satisfied, set *peWithin to NOT_WITHIN. +** If the constraint is satisfied, leave *peWithin unchanged. +** +** The constraint is of the form: xN op $val +** +** The op is given by p->op. The xN is p->iCoord-th coordinate in +** pCellData. $val is given by p->u.rValue. +*/ +static void rtreeLeafConstraint( + RtreeConstraint *p, /* The constraint to test */ + int eInt, /* True if RTree holds integer coordinates */ + u8 *pCellData, /* Raw cell content as appears on disk */ + int *peWithin /* Adjust downward, as appropriate */ +){ + RtreeDValue xN; /* Coordinate value converted to a double */ + + assert(p->op==RTREE_LE || p->op==RTREE_LT || p->op==RTREE_GE + || p->op==RTREE_GT || p->op==RTREE_EQ ); + pCellData += 8 + p->iCoord*4; + assert( ((((char*)pCellData) - (char*)0)&3)==0 ); /* 4-byte aligned */ + RTREE_DECODE_COORD(eInt, pCellData, xN); + switch( p->op ){ + case RTREE_LE: if( xN <= p->u.rValue ) return; break; + case RTREE_LT: if( xN < p->u.rValue ) return; break; + case RTREE_GE: if( xN >= p->u.rValue ) return; break; + case RTREE_GT: if( xN > p->u.rValue ) return; break; + default: if( xN == p->u.rValue ) return; break; + } + *peWithin = NOT_WITHIN; +} + +/* +** One of the cells in node pNode is guaranteed to have a 64-bit +** integer value equal to iRowid. Return the index of this cell. +*/ +static int nodeRowidIndex( + Rtree *pRtree, + RtreeNode *pNode, + i64 iRowid, + int *piIndex +){ + int ii; + int nCell = NCELL(pNode); + assert( nCell<200 ); + for(ii=0; iipParent; + if( pParent ){ + return nodeRowidIndex(pRtree, pParent, pNode->iNode, piIndex); + } + *piIndex = -1; + return SQLITE_OK; +} + +/* +** Compare two search points. Return negative, zero, or positive if the first +** is less than, equal to, or greater than the second. +** +** The rScore is the primary key. Smaller rScore values come first. +** If the rScore is a tie, then use iLevel as the tie breaker with smaller +** iLevel values coming first. In this way, if rScore is the same for all +** SearchPoints, then iLevel becomes the deciding factor and the result +** is a depth-first search, which is the desired default behavior. +*/ +static int rtreeSearchPointCompare( + const RtreeSearchPoint *pA, + const RtreeSearchPoint *pB +){ + if( pA->rScorerScore ) return -1; + if( pA->rScore>pB->rScore ) return +1; + if( pA->iLeveliLevel ) return -1; + if( pA->iLevel>pB->iLevel ) return +1; + return 0; +} + +/* +** Interchange two search points in a cursor. +*/ +static void rtreeSearchPointSwap(RtreeCursor *p, int i, int j){ + RtreeSearchPoint t = p->aPoint[i]; + assert( iaPoint[i] = p->aPoint[j]; + p->aPoint[j] = t; + i++; j++; + if( i=RTREE_CACHE_SZ ){ + nodeRelease(RTREE_OF_CURSOR(p), p->aNode[i]); + p->aNode[i] = 0; + }else{ + RtreeNode *pTemp = p->aNode[i]; + p->aNode[i] = p->aNode[j]; + p->aNode[j] = pTemp; + } + } +} + +/* +** Return the search point with the lowest current score. +*/ +static RtreeSearchPoint *rtreeSearchPointFirst(RtreeCursor *pCur){ + return pCur->bPoint ? &pCur->sPoint : pCur->nPoint ? pCur->aPoint : 0; +} + +/* +** Get the RtreeNode for the search point with the lowest score. +*/ +static RtreeNode *rtreeNodeOfFirstSearchPoint(RtreeCursor *pCur, int *pRC){ + sqlite3_int64 id; + int ii = 1 - pCur->bPoint; + assert( ii==0 || ii==1 ); + assert( pCur->bPoint || pCur->nPoint ); + if( pCur->aNode[ii]==0 ){ + assert( pRC!=0 ); + id = ii ? pCur->aPoint[0].id : pCur->sPoint.id; + *pRC = nodeAcquire(RTREE_OF_CURSOR(pCur), id, 0, &pCur->aNode[ii]); + } + return pCur->aNode[ii]; +} + +/* +** Push a new element onto the priority queue +*/ +static RtreeSearchPoint *rtreeEnqueue( + RtreeCursor *pCur, /* The cursor */ + RtreeDValue rScore, /* Score for the new search point */ + u8 iLevel /* Level for the new search point */ +){ + int i, j; + RtreeSearchPoint *pNew; + if( pCur->nPoint>=pCur->nPointAlloc ){ + int nNew = pCur->nPointAlloc*2 + 8; + pNew = sqlite3_realloc64(pCur->aPoint, nNew*sizeof(pCur->aPoint[0])); + if( pNew==0 ) return 0; + pCur->aPoint = pNew; + pCur->nPointAlloc = nNew; + } + i = pCur->nPoint++; + pNew = pCur->aPoint + i; + pNew->rScore = rScore; + pNew->iLevel = iLevel; + assert( iLevel<=RTREE_MAX_DEPTH ); + while( i>0 ){ + RtreeSearchPoint *pParent; + j = (i-1)/2; + pParent = pCur->aPoint + j; + if( rtreeSearchPointCompare(pNew, pParent)>=0 ) break; + rtreeSearchPointSwap(pCur, j, i); + i = j; + pNew = pParent; + } + return pNew; +} + +/* +** Allocate a new RtreeSearchPoint and return a pointer to it. Return +** NULL if malloc fails. +*/ +static RtreeSearchPoint *rtreeSearchPointNew( + RtreeCursor *pCur, /* The cursor */ + RtreeDValue rScore, /* Score for the new search point */ + u8 iLevel /* Level for the new search point */ +){ + RtreeSearchPoint *pNew, *pFirst; + pFirst = rtreeSearchPointFirst(pCur); + pCur->anQueue[iLevel]++; + if( pFirst==0 + || pFirst->rScore>rScore + || (pFirst->rScore==rScore && pFirst->iLevel>iLevel) + ){ + if( pCur->bPoint ){ + int ii; + pNew = rtreeEnqueue(pCur, rScore, iLevel); + if( pNew==0 ) return 0; + ii = (int)(pNew - pCur->aPoint) + 1; + if( iiaNode[ii]==0 ); + pCur->aNode[ii] = pCur->aNode[0]; + }else{ + nodeRelease(RTREE_OF_CURSOR(pCur), pCur->aNode[0]); + } + pCur->aNode[0] = 0; + *pNew = pCur->sPoint; + } + pCur->sPoint.rScore = rScore; + pCur->sPoint.iLevel = iLevel; + pCur->bPoint = 1; + return &pCur->sPoint; + }else{ + return rtreeEnqueue(pCur, rScore, iLevel); + } +} + +#if 0 +/* Tracing routines for the RtreeSearchPoint queue */ +static void tracePoint(RtreeSearchPoint *p, int idx, RtreeCursor *pCur){ + if( idx<0 ){ printf(" s"); }else{ printf("%2d", idx); } + printf(" %d.%05lld.%02d %g %d", + p->iLevel, p->id, p->iCell, p->rScore, p->eWithin + ); + idx++; + if( idxaNode[idx]); + }else{ + printf("\n"); + } +} +static void traceQueue(RtreeCursor *pCur, const char *zPrefix){ + int ii; + printf("=== %9s ", zPrefix); + if( pCur->bPoint ){ + tracePoint(&pCur->sPoint, -1, pCur); + } + for(ii=0; iinPoint; ii++){ + if( ii>0 || pCur->bPoint ) printf(" "); + tracePoint(&pCur->aPoint[ii], ii, pCur); + } +} +# define RTREE_QUEUE_TRACE(A,B) traceQueue(A,B) +#else +# define RTREE_QUEUE_TRACE(A,B) /* no-op */ +#endif + +/* Remove the search point with the lowest current score. +*/ +static void rtreeSearchPointPop(RtreeCursor *p){ + int i, j, k, n; + i = 1 - p->bPoint; + assert( i==0 || i==1 ); + if( p->aNode[i] ){ + nodeRelease(RTREE_OF_CURSOR(p), p->aNode[i]); + p->aNode[i] = 0; + } + if( p->bPoint ){ + p->anQueue[p->sPoint.iLevel]--; + p->bPoint = 0; + }else if( p->nPoint ){ + p->anQueue[p->aPoint[0].iLevel]--; + n = --p->nPoint; + p->aPoint[0] = p->aPoint[n]; + if( naNode[1] = p->aNode[n+1]; + p->aNode[n+1] = 0; + } + i = 0; + while( (j = i*2+1)aPoint[k], &p->aPoint[j])<0 ){ + if( rtreeSearchPointCompare(&p->aPoint[k], &p->aPoint[i])<0 ){ + rtreeSearchPointSwap(p, i, k); + i = k; + }else{ + break; + } + }else{ + if( rtreeSearchPointCompare(&p->aPoint[j], &p->aPoint[i])<0 ){ + rtreeSearchPointSwap(p, i, j); + i = j; + }else{ + break; + } + } + } + } +} + + +/* +** Continue the search on cursor pCur until the front of the queue +** contains an entry suitable for returning as a result-set row, +** or until the RtreeSearchPoint queue is empty, indicating that the +** query has completed. +*/ +static int rtreeStepToLeaf(RtreeCursor *pCur){ + RtreeSearchPoint *p; + Rtree *pRtree = RTREE_OF_CURSOR(pCur); + RtreeNode *pNode; + int eWithin; + int rc = SQLITE_OK; + int nCell; + int nConstraint = pCur->nConstraint; + int ii; + int eInt; + RtreeSearchPoint x; + + eInt = pRtree->eCoordType==RTREE_COORD_INT32; + while( (p = rtreeSearchPointFirst(pCur))!=0 && p->iLevel>0 ){ + u8 *pCellData; + pNode = rtreeNodeOfFirstSearchPoint(pCur, &rc); + if( rc ) return rc; + nCell = NCELL(pNode); + assert( nCell<200 ); + pCellData = pNode->zData + (4+pRtree->nBytesPerCell*p->iCell); + while( p->iCellaConstraint + ii; + if( pConstraint->op>=RTREE_MATCH ){ + rc = rtreeCallbackConstraint(pConstraint, eInt, pCellData, p, + &rScore, &eWithin); + if( rc ) return rc; + }else if( p->iLevel==1 ){ + rtreeLeafConstraint(pConstraint, eInt, pCellData, &eWithin); + }else{ + rtreeNonleafConstraint(pConstraint, eInt, pCellData, &eWithin); + } + if( eWithin==NOT_WITHIN ){ + p->iCell++; + pCellData += pRtree->nBytesPerCell; + break; + } + } + if( eWithin==NOT_WITHIN ) continue; + p->iCell++; + x.iLevel = p->iLevel - 1; + if( x.iLevel ){ + x.id = readInt64(pCellData); + for(ii=0; iinPoint; ii++){ + if( pCur->aPoint[ii].id==x.id ){ + RTREE_IS_CORRUPT(pRtree); + return SQLITE_CORRUPT_VTAB; + } + } + x.iCell = 0; + }else{ + x.id = p->id; + x.iCell = p->iCell - 1; + } + if( p->iCell>=nCell ){ + RTREE_QUEUE_TRACE(pCur, "POP-S:"); + rtreeSearchPointPop(pCur); + } + if( rScoreeWithin = (u8)eWithin; + p->id = x.id; + p->iCell = x.iCell; + RTREE_QUEUE_TRACE(pCur, "PUSH-S:"); + break; + } + if( p->iCell>=nCell ){ + RTREE_QUEUE_TRACE(pCur, "POP-Se:"); + rtreeSearchPointPop(pCur); + } + } + pCur->atEOF = p==0; + return SQLITE_OK; +} + +/* +** Rtree virtual table module xNext method. +*/ +static int rtreeNext(sqlite3_vtab_cursor *pVtabCursor){ + RtreeCursor *pCsr = (RtreeCursor *)pVtabCursor; + int rc = SQLITE_OK; + + /* Move to the next entry that matches the configured constraints. */ + RTREE_QUEUE_TRACE(pCsr, "POP-Nx:"); + if( pCsr->bAuxValid ){ + pCsr->bAuxValid = 0; + sqlite3_reset(pCsr->pReadAux); + } + rtreeSearchPointPop(pCsr); + rc = rtreeStepToLeaf(pCsr); + return rc; +} + +/* +** Rtree virtual table module xRowid method. +*/ +static int rtreeRowid(sqlite3_vtab_cursor *pVtabCursor, sqlite_int64 *pRowid){ + RtreeCursor *pCsr = (RtreeCursor *)pVtabCursor; + RtreeSearchPoint *p = rtreeSearchPointFirst(pCsr); + int rc = SQLITE_OK; + RtreeNode *pNode = rtreeNodeOfFirstSearchPoint(pCsr, &rc); + if( rc==SQLITE_OK && p ){ + *pRowid = nodeGetRowid(RTREE_OF_CURSOR(pCsr), pNode, p->iCell); + } + return rc; +} + +/* +** Rtree virtual table module xColumn method. +*/ +static int rtreeColumn(sqlite3_vtab_cursor *cur, sqlite3_context *ctx, int i){ + Rtree *pRtree = (Rtree *)cur->pVtab; + RtreeCursor *pCsr = (RtreeCursor *)cur; + RtreeSearchPoint *p = rtreeSearchPointFirst(pCsr); + RtreeCoord c; + int rc = SQLITE_OK; + RtreeNode *pNode = rtreeNodeOfFirstSearchPoint(pCsr, &rc); + + if( rc ) return rc; + if( p==0 ) return SQLITE_OK; + if( i==0 ){ + sqlite3_result_int64(ctx, nodeGetRowid(pRtree, pNode, p->iCell)); + }else if( i<=pRtree->nDim2 ){ + nodeGetCoord(pRtree, pNode, p->iCell, i-1, &c); +#ifndef SQLITE_RTREE_INT_ONLY + if( pRtree->eCoordType==RTREE_COORD_REAL32 ){ + sqlite3_result_double(ctx, c.f); + }else +#endif + { + assert( pRtree->eCoordType==RTREE_COORD_INT32 ); + sqlite3_result_int(ctx, c.i); + } + }else{ + if( !pCsr->bAuxValid ){ + if( pCsr->pReadAux==0 ){ + rc = sqlite3_prepare_v3(pRtree->db, pRtree->zReadAuxSql, -1, 0, + &pCsr->pReadAux, 0); + if( rc ) return rc; + } + sqlite3_bind_int64(pCsr->pReadAux, 1, + nodeGetRowid(pRtree, pNode, p->iCell)); + rc = sqlite3_step(pCsr->pReadAux); + if( rc==SQLITE_ROW ){ + pCsr->bAuxValid = 1; + }else{ + sqlite3_reset(pCsr->pReadAux); + if( rc==SQLITE_DONE ) rc = SQLITE_OK; + return rc; + } + } + sqlite3_result_value(ctx, + sqlite3_column_value(pCsr->pReadAux, i - pRtree->nDim2 + 1)); + } + return SQLITE_OK; +} + +/* +** Use nodeAcquire() to obtain the leaf node containing the record with +** rowid iRowid. If successful, set *ppLeaf to point to the node and +** return SQLITE_OK. If there is no such record in the table, set +** *ppLeaf to 0 and return SQLITE_OK. If an error occurs, set *ppLeaf +** to zero and return an SQLite error code. +*/ +static int findLeafNode( + Rtree *pRtree, /* RTree to search */ + i64 iRowid, /* The rowid searching for */ + RtreeNode **ppLeaf, /* Write the node here */ + sqlite3_int64 *piNode /* Write the node-id here */ +){ + int rc; + *ppLeaf = 0; + sqlite3_bind_int64(pRtree->pReadRowid, 1, iRowid); + if( sqlite3_step(pRtree->pReadRowid)==SQLITE_ROW ){ + i64 iNode = sqlite3_column_int64(pRtree->pReadRowid, 0); + if( piNode ) *piNode = iNode; + rc = nodeAcquire(pRtree, iNode, 0, ppLeaf); + sqlite3_reset(pRtree->pReadRowid); + }else{ + rc = sqlite3_reset(pRtree->pReadRowid); + } + return rc; +} + +/* +** This function is called to configure the RtreeConstraint object passed +** as the second argument for a MATCH constraint. The value passed as the +** first argument to this function is the right-hand operand to the MATCH +** operator. +*/ +static int deserializeGeometry(sqlite3_value *pValue, RtreeConstraint *pCons){ + RtreeMatchArg *pBlob, *pSrc; /* BLOB returned by geometry function */ + sqlite3_rtree_query_info *pInfo; /* Callback information */ + + pSrc = sqlite3_value_pointer(pValue, "RtreeMatchArg"); + if( pSrc==0 ) return SQLITE_ERROR; + pInfo = (sqlite3_rtree_query_info*) + sqlite3_malloc64( sizeof(*pInfo)+pSrc->iSize ); + if( !pInfo ) return SQLITE_NOMEM; + memset(pInfo, 0, sizeof(*pInfo)); + pBlob = (RtreeMatchArg*)&pInfo[1]; + memcpy(pBlob, pSrc, pSrc->iSize); + pInfo->pContext = pBlob->cb.pContext; + pInfo->nParam = pBlob->nParam; + pInfo->aParam = pBlob->aParam; + pInfo->apSqlParam = pBlob->apSqlParam; + + if( pBlob->cb.xGeom ){ + pCons->u.xGeom = pBlob->cb.xGeom; + }else{ + pCons->op = RTREE_QUERY; + pCons->u.xQueryFunc = pBlob->cb.xQueryFunc; + } + pCons->pInfo = pInfo; + return SQLITE_OK; +} + +/* +** Rtree virtual table module xFilter method. +*/ +static int rtreeFilter( + sqlite3_vtab_cursor *pVtabCursor, + int idxNum, const char *idxStr, + int argc, sqlite3_value **argv +){ + Rtree *pRtree = (Rtree *)pVtabCursor->pVtab; + RtreeCursor *pCsr = (RtreeCursor *)pVtabCursor; + RtreeNode *pRoot = 0; + int ii; + int rc = SQLITE_OK; + int iCell = 0; + sqlite3_stmt *pStmt; + + rtreeReference(pRtree); + + /* Reset the cursor to the same state as rtreeOpen() leaves it in. */ + freeCursorConstraints(pCsr); + sqlite3_free(pCsr->aPoint); + pStmt = pCsr->pReadAux; + memset(pCsr, 0, sizeof(RtreeCursor)); + pCsr->base.pVtab = (sqlite3_vtab*)pRtree; + pCsr->pReadAux = pStmt; + + pCsr->iStrategy = idxNum; + if( idxNum==1 ){ + /* Special case - lookup by rowid. */ + RtreeNode *pLeaf; /* Leaf on which the required cell resides */ + RtreeSearchPoint *p; /* Search point for the leaf */ + i64 iRowid = sqlite3_value_int64(argv[0]); + i64 iNode = 0; + rc = findLeafNode(pRtree, iRowid, &pLeaf, &iNode); + if( rc==SQLITE_OK && pLeaf!=0 ){ + p = rtreeSearchPointNew(pCsr, RTREE_ZERO, 0); + assert( p!=0 ); /* Always returns pCsr->sPoint */ + pCsr->aNode[0] = pLeaf; + p->id = iNode; + p->eWithin = PARTLY_WITHIN; + rc = nodeRowidIndex(pRtree, pLeaf, iRowid, &iCell); + p->iCell = (u8)iCell; + RTREE_QUEUE_TRACE(pCsr, "PUSH-F1:"); + }else{ + pCsr->atEOF = 1; + } + }else{ + /* Normal case - r-tree scan. Set up the RtreeCursor.aConstraint array + ** with the configured constraints. + */ + rc = nodeAcquire(pRtree, 1, 0, &pRoot); + if( rc==SQLITE_OK && argc>0 ){ + pCsr->aConstraint = sqlite3_malloc64(sizeof(RtreeConstraint)*argc); + pCsr->nConstraint = argc; + if( !pCsr->aConstraint ){ + rc = SQLITE_NOMEM; + }else{ + memset(pCsr->aConstraint, 0, sizeof(RtreeConstraint)*argc); + memset(pCsr->anQueue, 0, sizeof(u32)*(pRtree->iDepth + 1)); + assert( (idxStr==0 && argc==0) + || (idxStr && (int)strlen(idxStr)==argc*2) ); + for(ii=0; iiaConstraint[ii]; + p->op = idxStr[ii*2]; + p->iCoord = idxStr[ii*2+1]-'0'; + if( p->op>=RTREE_MATCH ){ + /* A MATCH operator. The right-hand-side must be a blob that + ** can be cast into an RtreeMatchArg object. One created using + ** an sqlite3_rtree_geometry_callback() SQL user function. + */ + rc = deserializeGeometry(argv[ii], p); + if( rc!=SQLITE_OK ){ + break; + } + p->pInfo->nCoord = pRtree->nDim2; + p->pInfo->anQueue = pCsr->anQueue; + p->pInfo->mxLevel = pRtree->iDepth + 1; + }else{ +#ifdef SQLITE_RTREE_INT_ONLY + p->u.rValue = sqlite3_value_int64(argv[ii]); +#else + p->u.rValue = sqlite3_value_double(argv[ii]); +#endif + } + } + } + } + if( rc==SQLITE_OK ){ + RtreeSearchPoint *pNew; + pNew = rtreeSearchPointNew(pCsr, RTREE_ZERO, (u8)(pRtree->iDepth+1)); + if( pNew==0 ) return SQLITE_NOMEM; + pNew->id = 1; + pNew->iCell = 0; + pNew->eWithin = PARTLY_WITHIN; + assert( pCsr->bPoint==1 ); + pCsr->aNode[0] = pRoot; + pRoot = 0; + RTREE_QUEUE_TRACE(pCsr, "PUSH-Fm:"); + rc = rtreeStepToLeaf(pCsr); + } + } + + nodeRelease(pRtree, pRoot); + rtreeRelease(pRtree); + return rc; +} + +/* +** Rtree virtual table module xBestIndex method. There are three +** table scan strategies to choose from (in order from most to +** least desirable): +** +** idxNum idxStr Strategy +** ------------------------------------------------ +** 1 Unused Direct lookup by rowid. +** 2 See below R-tree query or full-table scan. +** ------------------------------------------------ +** +** If strategy 1 is used, then idxStr is not meaningful. If strategy +** 2 is used, idxStr is formatted to contain 2 bytes for each +** constraint used. The first two bytes of idxStr correspond to +** the constraint in sqlite3_index_info.aConstraintUsage[] with +** (argvIndex==1) etc. +** +** The first of each pair of bytes in idxStr identifies the constraint +** operator as follows: +** +** Operator Byte Value +** ---------------------- +** = 0x41 ('A') +** <= 0x42 ('B') +** < 0x43 ('C') +** >= 0x44 ('D') +** > 0x45 ('E') +** MATCH 0x46 ('F') +** ---------------------- +** +** The second of each pair of bytes identifies the coordinate column +** to which the constraint applies. The leftmost coordinate column +** is 'a', the second from the left 'b' etc. +*/ +static int rtreeBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ + Rtree *pRtree = (Rtree*)tab; + int rc = SQLITE_OK; + int ii; + int bMatch = 0; /* True if there exists a MATCH constraint */ + i64 nRow; /* Estimated rows returned by this scan */ + + int iIdx = 0; + char zIdxStr[RTREE_MAX_DIMENSIONS*8+1]; + memset(zIdxStr, 0, sizeof(zIdxStr)); + + /* Check if there exists a MATCH constraint - even an unusable one. If there + ** is, do not consider the lookup-by-rowid plan as using such a plan would + ** require the VDBE to evaluate the MATCH constraint, which is not currently + ** possible. */ + for(ii=0; iinConstraint; ii++){ + if( pIdxInfo->aConstraint[ii].op==SQLITE_INDEX_CONSTRAINT_MATCH ){ + bMatch = 1; + } + } + + assert( pIdxInfo->idxStr==0 ); + for(ii=0; iinConstraint && iIdx<(int)(sizeof(zIdxStr)-1); ii++){ + struct sqlite3_index_constraint *p = &pIdxInfo->aConstraint[ii]; + + if( bMatch==0 && p->usable + && p->iColumn==0 && p->op==SQLITE_INDEX_CONSTRAINT_EQ + ){ + /* We have an equality constraint on the rowid. Use strategy 1. */ + int jj; + for(jj=0; jjaConstraintUsage[jj].argvIndex = 0; + pIdxInfo->aConstraintUsage[jj].omit = 0; + } + pIdxInfo->idxNum = 1; + pIdxInfo->aConstraintUsage[ii].argvIndex = 1; + pIdxInfo->aConstraintUsage[jj].omit = 1; + + /* This strategy involves a two rowid lookups on an B-Tree structures + ** and then a linear search of an R-Tree node. This should be + ** considered almost as quick as a direct rowid lookup (for which + ** sqlite uses an internal cost of 0.0). It is expected to return + ** a single row. + */ + pIdxInfo->estimatedCost = 30.0; + pIdxInfo->estimatedRows = 1; + pIdxInfo->idxFlags = SQLITE_INDEX_SCAN_UNIQUE; + return SQLITE_OK; + } + + if( p->usable + && ((p->iColumn>0 && p->iColumn<=pRtree->nDim2) + || p->op==SQLITE_INDEX_CONSTRAINT_MATCH) + ){ + u8 op; + switch( p->op ){ + case SQLITE_INDEX_CONSTRAINT_EQ: op = RTREE_EQ; break; + case SQLITE_INDEX_CONSTRAINT_GT: op = RTREE_GT; break; + case SQLITE_INDEX_CONSTRAINT_LE: op = RTREE_LE; break; + case SQLITE_INDEX_CONSTRAINT_LT: op = RTREE_LT; break; + case SQLITE_INDEX_CONSTRAINT_GE: op = RTREE_GE; break; + case SQLITE_INDEX_CONSTRAINT_MATCH: op = RTREE_MATCH; break; + default: op = 0; break; + } + if( op ){ + zIdxStr[iIdx++] = op; + zIdxStr[iIdx++] = (char)(p->iColumn - 1 + '0'); + pIdxInfo->aConstraintUsage[ii].argvIndex = (iIdx/2); + pIdxInfo->aConstraintUsage[ii].omit = 1; + } + } + } + + pIdxInfo->idxNum = 2; + pIdxInfo->needToFreeIdxStr = 1; + if( iIdx>0 && 0==(pIdxInfo->idxStr = sqlite3_mprintf("%s", zIdxStr)) ){ + return SQLITE_NOMEM; + } + + nRow = pRtree->nRowEst >> (iIdx/2); + pIdxInfo->estimatedCost = (double)6.0 * (double)nRow; + pIdxInfo->estimatedRows = nRow; + + return rc; +} + +/* +** Return the N-dimensional volumn of the cell stored in *p. +*/ +static RtreeDValue cellArea(Rtree *pRtree, RtreeCell *p){ + RtreeDValue area = (RtreeDValue)1; + assert( pRtree->nDim>=1 && pRtree->nDim<=5 ); +#ifndef SQLITE_RTREE_INT_ONLY + if( pRtree->eCoordType==RTREE_COORD_REAL32 ){ + switch( pRtree->nDim ){ + case 5: area = p->aCoord[9].f - p->aCoord[8].f; + case 4: area *= p->aCoord[7].f - p->aCoord[6].f; + case 3: area *= p->aCoord[5].f - p->aCoord[4].f; + case 2: area *= p->aCoord[3].f - p->aCoord[2].f; + default: area *= p->aCoord[1].f - p->aCoord[0].f; + } + }else +#endif + { + switch( pRtree->nDim ){ + case 5: area = (i64)p->aCoord[9].i - (i64)p->aCoord[8].i; + case 4: area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i; + case 3: area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i; + case 2: area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i; + default: area *= (i64)p->aCoord[1].i - (i64)p->aCoord[0].i; + } + } + return area; +} + +/* +** Return the margin length of cell p. The margin length is the sum +** of the objects size in each dimension. +*/ +static RtreeDValue cellMargin(Rtree *pRtree, RtreeCell *p){ + RtreeDValue margin = 0; + int ii = pRtree->nDim2 - 2; + do{ + margin += (DCOORD(p->aCoord[ii+1]) - DCOORD(p->aCoord[ii])); + ii -= 2; + }while( ii>=0 ); + return margin; +} + +/* +** Store the union of cells p1 and p2 in p1. +*/ +static void cellUnion(Rtree *pRtree, RtreeCell *p1, RtreeCell *p2){ + int ii = 0; + if( pRtree->eCoordType==RTREE_COORD_REAL32 ){ + do{ + p1->aCoord[ii].f = MIN(p1->aCoord[ii].f, p2->aCoord[ii].f); + p1->aCoord[ii+1].f = MAX(p1->aCoord[ii+1].f, p2->aCoord[ii+1].f); + ii += 2; + }while( iinDim2 ); + }else{ + do{ + p1->aCoord[ii].i = MIN(p1->aCoord[ii].i, p2->aCoord[ii].i); + p1->aCoord[ii+1].i = MAX(p1->aCoord[ii+1].i, p2->aCoord[ii+1].i); + ii += 2; + }while( iinDim2 ); + } +} + +/* +** Return true if the area covered by p2 is a subset of the area covered +** by p1. False otherwise. +*/ +static int cellContains(Rtree *pRtree, RtreeCell *p1, RtreeCell *p2){ + int ii; + int isInt = (pRtree->eCoordType==RTREE_COORD_INT32); + for(ii=0; iinDim2; ii+=2){ + RtreeCoord *a1 = &p1->aCoord[ii]; + RtreeCoord *a2 = &p2->aCoord[ii]; + if( (!isInt && (a2[0].fa1[1].f)) + || ( isInt && (a2[0].ia1[1].i)) + ){ + return 0; + } + } + return 1; +} + +/* +** Return the amount cell p would grow by if it were unioned with pCell. +*/ +static RtreeDValue cellGrowth(Rtree *pRtree, RtreeCell *p, RtreeCell *pCell){ + RtreeDValue area; + RtreeCell cell; + memcpy(&cell, p, sizeof(RtreeCell)); + area = cellArea(pRtree, &cell); + cellUnion(pRtree, &cell, pCell); + return (cellArea(pRtree, &cell)-area); +} + +static RtreeDValue cellOverlap( + Rtree *pRtree, + RtreeCell *p, + RtreeCell *aCell, + int nCell +){ + int ii; + RtreeDValue overlap = RTREE_ZERO; + for(ii=0; iinDim2; jj+=2){ + RtreeDValue x1, x2; + x1 = MAX(DCOORD(p->aCoord[jj]), DCOORD(aCell[ii].aCoord[jj])); + x2 = MIN(DCOORD(p->aCoord[jj+1]), DCOORD(aCell[ii].aCoord[jj+1])); + if( x2iDepth-iHeight); ii++){ + int iCell; + sqlite3_int64 iBest = 0; + + RtreeDValue fMinGrowth = RTREE_ZERO; + RtreeDValue fMinArea = RTREE_ZERO; + + int nCell = NCELL(pNode); + RtreeCell cell; + RtreeNode *pChild; + + RtreeCell *aCell = 0; + + /* Select the child node which will be enlarged the least if pCell + ** is inserted into it. Resolve ties by choosing the entry with + ** the smallest area. + */ + for(iCell=0; iCellpParent ){ + RtreeNode *pParent = p->pParent; + RtreeCell cell; + int iCell; + + if( (++cnt)>1000 || nodeParentIndex(pRtree, p, &iCell) ){ + RTREE_IS_CORRUPT(pRtree); + return SQLITE_CORRUPT_VTAB; + } + + nodeGetCell(pRtree, pParent, iCell, &cell); + if( !cellContains(pRtree, &cell, pCell) ){ + cellUnion(pRtree, &cell, pCell); + nodeOverwriteCell(pRtree, pParent, &cell, iCell); + } + + p = pParent; + } + return SQLITE_OK; +} + +/* +** Write mapping (iRowid->iNode) to the _rowid table. +*/ +static int rowidWrite(Rtree *pRtree, sqlite3_int64 iRowid, sqlite3_int64 iNode){ + sqlite3_bind_int64(pRtree->pWriteRowid, 1, iRowid); + sqlite3_bind_int64(pRtree->pWriteRowid, 2, iNode); + sqlite3_step(pRtree->pWriteRowid); + return sqlite3_reset(pRtree->pWriteRowid); +} + +/* +** Write mapping (iNode->iPar) to the _parent table. +*/ +static int parentWrite(Rtree *pRtree, sqlite3_int64 iNode, sqlite3_int64 iPar){ + sqlite3_bind_int64(pRtree->pWriteParent, 1, iNode); + sqlite3_bind_int64(pRtree->pWriteParent, 2, iPar); + sqlite3_step(pRtree->pWriteParent); + return sqlite3_reset(pRtree->pWriteParent); +} + +static int rtreeInsertCell(Rtree *, RtreeNode *, RtreeCell *, int); + + +/* +** Arguments aIdx, aDistance and aSpare all point to arrays of size +** nIdx. The aIdx array contains the set of integers from 0 to +** (nIdx-1) in no particular order. This function sorts the values +** in aIdx according to the indexed values in aDistance. For +** example, assuming the inputs: +** +** aIdx = { 0, 1, 2, 3 } +** aDistance = { 5.0, 2.0, 7.0, 6.0 } +** +** this function sets the aIdx array to contain: +** +** aIdx = { 0, 1, 2, 3 } +** +** The aSpare array is used as temporary working space by the +** sorting algorithm. +*/ +static void SortByDistance( + int *aIdx, + int nIdx, + RtreeDValue *aDistance, + int *aSpare +){ + if( nIdx>1 ){ + int iLeft = 0; + int iRight = 0; + + int nLeft = nIdx/2; + int nRight = nIdx-nLeft; + int *aLeft = aIdx; + int *aRight = &aIdx[nLeft]; + + SortByDistance(aLeft, nLeft, aDistance, aSpare); + SortByDistance(aRight, nRight, aDistance, aSpare); + + memcpy(aSpare, aLeft, sizeof(int)*nLeft); + aLeft = aSpare; + + while( iLeft1 ){ + + int iLeft = 0; + int iRight = 0; + + int nLeft = nIdx/2; + int nRight = nIdx-nLeft; + int *aLeft = aIdx; + int *aRight = &aIdx[nLeft]; + + SortByDimension(pRtree, aLeft, nLeft, iDim, aCell, aSpare); + SortByDimension(pRtree, aRight, nRight, iDim, aCell, aSpare); + + memcpy(aSpare, aLeft, sizeof(int)*nLeft); + aLeft = aSpare; + while( iLeftnDim+1)*(sizeof(int*)+nCell*sizeof(int)); + + aaSorted = (int **)sqlite3_malloc64(nByte); + if( !aaSorted ){ + return SQLITE_NOMEM; + } + + aSpare = &((int *)&aaSorted[pRtree->nDim])[pRtree->nDim*nCell]; + memset(aaSorted, 0, nByte); + for(ii=0; iinDim; ii++){ + int jj; + aaSorted[ii] = &((int *)&aaSorted[pRtree->nDim])[ii*nCell]; + for(jj=0; jjnDim; ii++){ + RtreeDValue margin = RTREE_ZERO; + RtreeDValue fBestOverlap = RTREE_ZERO; + RtreeDValue fBestArea = RTREE_ZERO; + int iBestLeft = 0; + int nLeft; + + for( + nLeft=RTREE_MINCELLS(pRtree); + nLeft<=(nCell-RTREE_MINCELLS(pRtree)); + nLeft++ + ){ + RtreeCell left; + RtreeCell right; + int kk; + RtreeDValue overlap; + RtreeDValue area; + + memcpy(&left, &aCell[aaSorted[ii][0]], sizeof(RtreeCell)); + memcpy(&right, &aCell[aaSorted[ii][nCell-1]], sizeof(RtreeCell)); + for(kk=1; kk<(nCell-1); kk++){ + if( kk0 ){ + RtreeNode *pChild = nodeHashLookup(pRtree, iRowid); + if( pChild ){ + nodeRelease(pRtree, pChild->pParent); + nodeReference(pNode); + pChild->pParent = pNode; + } + } + return xSetMapping(pRtree, iRowid, pNode->iNode); +} + +static int SplitNode( + Rtree *pRtree, + RtreeNode *pNode, + RtreeCell *pCell, + int iHeight +){ + int i; + int newCellIsRight = 0; + + int rc = SQLITE_OK; + int nCell = NCELL(pNode); + RtreeCell *aCell; + int *aiUsed; + + RtreeNode *pLeft = 0; + RtreeNode *pRight = 0; + + RtreeCell leftbbox; + RtreeCell rightbbox; + + /* Allocate an array and populate it with a copy of pCell and + ** all cells from node pLeft. Then zero the original node. + */ + aCell = sqlite3_malloc64((sizeof(RtreeCell)+sizeof(int))*(nCell+1)); + if( !aCell ){ + rc = SQLITE_NOMEM; + goto splitnode_out; + } + aiUsed = (int *)&aCell[nCell+1]; + memset(aiUsed, 0, sizeof(int)*(nCell+1)); + for(i=0; iiNode==1 ){ + pRight = nodeNew(pRtree, pNode); + pLeft = nodeNew(pRtree, pNode); + pRtree->iDepth++; + pNode->isDirty = 1; + writeInt16(pNode->zData, pRtree->iDepth); + }else{ + pLeft = pNode; + pRight = nodeNew(pRtree, pLeft->pParent); + pLeft->nRef++; + } + + if( !pLeft || !pRight ){ + rc = SQLITE_NOMEM; + goto splitnode_out; + } + + memset(pLeft->zData, 0, pRtree->iNodeSize); + memset(pRight->zData, 0, pRtree->iNodeSize); + + rc = splitNodeStartree(pRtree, aCell, nCell, pLeft, pRight, + &leftbbox, &rightbbox); + if( rc!=SQLITE_OK ){ + goto splitnode_out; + } + + /* Ensure both child nodes have node numbers assigned to them by calling + ** nodeWrite(). Node pRight always needs a node number, as it was created + ** by nodeNew() above. But node pLeft sometimes already has a node number. + ** In this case avoid the all to nodeWrite(). + */ + if( SQLITE_OK!=(rc = nodeWrite(pRtree, pRight)) + || (0==pLeft->iNode && SQLITE_OK!=(rc = nodeWrite(pRtree, pLeft))) + ){ + goto splitnode_out; + } + + rightbbox.iRowid = pRight->iNode; + leftbbox.iRowid = pLeft->iNode; + + if( pNode->iNode==1 ){ + rc = rtreeInsertCell(pRtree, pLeft->pParent, &leftbbox, iHeight+1); + if( rc!=SQLITE_OK ){ + goto splitnode_out; + } + }else{ + RtreeNode *pParent = pLeft->pParent; + int iCell; + rc = nodeParentIndex(pRtree, pLeft, &iCell); + if( rc==SQLITE_OK ){ + nodeOverwriteCell(pRtree, pParent, &leftbbox, iCell); + rc = AdjustTree(pRtree, pParent, &leftbbox); + } + if( rc!=SQLITE_OK ){ + goto splitnode_out; + } + } + if( (rc = rtreeInsertCell(pRtree, pRight->pParent, &rightbbox, iHeight+1)) ){ + goto splitnode_out; + } + + for(i=0; iiRowid ){ + newCellIsRight = 1; + } + if( rc!=SQLITE_OK ){ + goto splitnode_out; + } + } + if( pNode->iNode==1 ){ + for(i=0; iiRowid, pLeft, iHeight); + } + + if( rc==SQLITE_OK ){ + rc = nodeRelease(pRtree, pRight); + pRight = 0; + } + if( rc==SQLITE_OK ){ + rc = nodeRelease(pRtree, pLeft); + pLeft = 0; + } + +splitnode_out: + nodeRelease(pRtree, pRight); + nodeRelease(pRtree, pLeft); + sqlite3_free(aCell); + return rc; +} + +/* +** If node pLeaf is not the root of the r-tree and its pParent pointer is +** still NULL, load all ancestor nodes of pLeaf into memory and populate +** the pLeaf->pParent chain all the way up to the root node. +** +** This operation is required when a row is deleted (or updated - an update +** is implemented as a delete followed by an insert). SQLite provides the +** rowid of the row to delete, which can be used to find the leaf on which +** the entry resides (argument pLeaf). Once the leaf is located, this +** function is called to determine its ancestry. +*/ +static int fixLeafParent(Rtree *pRtree, RtreeNode *pLeaf){ + int rc = SQLITE_OK; + RtreeNode *pChild = pLeaf; + while( rc==SQLITE_OK && pChild->iNode!=1 && pChild->pParent==0 ){ + int rc2 = SQLITE_OK; /* sqlite3_reset() return code */ + sqlite3_bind_int64(pRtree->pReadParent, 1, pChild->iNode); + rc = sqlite3_step(pRtree->pReadParent); + if( rc==SQLITE_ROW ){ + RtreeNode *pTest; /* Used to test for reference loops */ + i64 iNode; /* Node number of parent node */ + + /* Before setting pChild->pParent, test that we are not creating a + ** loop of references (as we would if, say, pChild==pParent). We don't + ** want to do this as it leads to a memory leak when trying to delete + ** the referenced counted node structures. + */ + iNode = sqlite3_column_int64(pRtree->pReadParent, 0); + for(pTest=pLeaf; pTest && pTest->iNode!=iNode; pTest=pTest->pParent); + if( !pTest ){ + rc2 = nodeAcquire(pRtree, iNode, 0, &pChild->pParent); + } + } + rc = sqlite3_reset(pRtree->pReadParent); + if( rc==SQLITE_OK ) rc = rc2; + if( rc==SQLITE_OK && !pChild->pParent ){ + RTREE_IS_CORRUPT(pRtree); + rc = SQLITE_CORRUPT_VTAB; + } + pChild = pChild->pParent; + } + return rc; +} + +static int deleteCell(Rtree *, RtreeNode *, int, int); + +static int removeNode(Rtree *pRtree, RtreeNode *pNode, int iHeight){ + int rc; + int rc2; + RtreeNode *pParent = 0; + int iCell; + + assert( pNode->nRef==1 ); + + /* Remove the entry in the parent cell. */ + rc = nodeParentIndex(pRtree, pNode, &iCell); + if( rc==SQLITE_OK ){ + pParent = pNode->pParent; + pNode->pParent = 0; + rc = deleteCell(pRtree, pParent, iCell, iHeight+1); + } + rc2 = nodeRelease(pRtree, pParent); + if( rc==SQLITE_OK ){ + rc = rc2; + } + if( rc!=SQLITE_OK ){ + return rc; + } + + /* Remove the xxx_node entry. */ + sqlite3_bind_int64(pRtree->pDeleteNode, 1, pNode->iNode); + sqlite3_step(pRtree->pDeleteNode); + if( SQLITE_OK!=(rc = sqlite3_reset(pRtree->pDeleteNode)) ){ + return rc; + } + + /* Remove the xxx_parent entry. */ + sqlite3_bind_int64(pRtree->pDeleteParent, 1, pNode->iNode); + sqlite3_step(pRtree->pDeleteParent); + if( SQLITE_OK!=(rc = sqlite3_reset(pRtree->pDeleteParent)) ){ + return rc; + } + + /* Remove the node from the in-memory hash table and link it into + ** the Rtree.pDeleted list. Its contents will be re-inserted later on. + */ + nodeHashDelete(pRtree, pNode); + pNode->iNode = iHeight; + pNode->pNext = pRtree->pDeleted; + pNode->nRef++; + pRtree->pDeleted = pNode; + + return SQLITE_OK; +} + +static int fixBoundingBox(Rtree *pRtree, RtreeNode *pNode){ + RtreeNode *pParent = pNode->pParent; + int rc = SQLITE_OK; + if( pParent ){ + int ii; + int nCell = NCELL(pNode); + RtreeCell box; /* Bounding box for pNode */ + nodeGetCell(pRtree, pNode, 0, &box); + for(ii=1; iiiNode; + rc = nodeParentIndex(pRtree, pNode, &ii); + if( rc==SQLITE_OK ){ + nodeOverwriteCell(pRtree, pParent, &box, ii); + rc = fixBoundingBox(pRtree, pParent); + } + } + return rc; +} + +/* +** Delete the cell at index iCell of node pNode. After removing the +** cell, adjust the r-tree data structure if required. +*/ +static int deleteCell(Rtree *pRtree, RtreeNode *pNode, int iCell, int iHeight){ + RtreeNode *pParent; + int rc; + + if( SQLITE_OK!=(rc = fixLeafParent(pRtree, pNode)) ){ + return rc; + } + + /* Remove the cell from the node. This call just moves bytes around + ** the in-memory node image, so it cannot fail. + */ + nodeDeleteCell(pRtree, pNode, iCell); + + /* If the node is not the tree root and now has less than the minimum + ** number of cells, remove it from the tree. Otherwise, update the + ** cell in the parent node so that it tightly contains the updated + ** node. + */ + pParent = pNode->pParent; + assert( pParent || pNode->iNode==1 ); + if( pParent ){ + if( NCELL(pNode)nDim; iDim++){ + aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2]); + aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2+1]); + } + } + for(iDim=0; iDimnDim; iDim++){ + aCenterCoord[iDim] = (aCenterCoord[iDim]/(nCell*(RtreeDValue)2)); + } + + for(ii=0; iinDim; iDim++){ + RtreeDValue coord = (DCOORD(aCell[ii].aCoord[iDim*2+1]) - + DCOORD(aCell[ii].aCoord[iDim*2])); + aDistance[ii] += (coord-aCenterCoord[iDim])*(coord-aCenterCoord[iDim]); + } + } + + SortByDistance(aOrder, nCell, aDistance, aSpare); + nodeZero(pRtree, pNode); + + for(ii=0; rc==SQLITE_OK && ii<(nCell-(RTREE_MINCELLS(pRtree)+1)); ii++){ + RtreeCell *p = &aCell[aOrder[ii]]; + nodeInsertCell(pRtree, pNode, p); + if( p->iRowid==pCell->iRowid ){ + if( iHeight==0 ){ + rc = rowidWrite(pRtree, p->iRowid, pNode->iNode); + }else{ + rc = parentWrite(pRtree, p->iRowid, pNode->iNode); + } + } + } + if( rc==SQLITE_OK ){ + rc = fixBoundingBox(pRtree, pNode); + } + for(; rc==SQLITE_OK && iiiNode currently contains + ** the height of the sub-tree headed by the cell. + */ + RtreeNode *pInsert; + RtreeCell *p = &aCell[aOrder[ii]]; + rc = ChooseLeaf(pRtree, p, iHeight, &pInsert); + if( rc==SQLITE_OK ){ + int rc2; + rc = rtreeInsertCell(pRtree, pInsert, p, iHeight); + rc2 = nodeRelease(pRtree, pInsert); + if( rc==SQLITE_OK ){ + rc = rc2; + } + } + } + + sqlite3_free(aCell); + return rc; +} + +/* +** Insert cell pCell into node pNode. Node pNode is the head of a +** subtree iHeight high (leaf nodes have iHeight==0). +*/ +static int rtreeInsertCell( + Rtree *pRtree, + RtreeNode *pNode, + RtreeCell *pCell, + int iHeight +){ + int rc = SQLITE_OK; + if( iHeight>0 ){ + RtreeNode *pChild = nodeHashLookup(pRtree, pCell->iRowid); + if( pChild ){ + nodeRelease(pRtree, pChild->pParent); + nodeReference(pNode); + pChild->pParent = pNode; + } + } + if( nodeInsertCell(pRtree, pNode, pCell) ){ + if( iHeight<=pRtree->iReinsertHeight || pNode->iNode==1){ + rc = SplitNode(pRtree, pNode, pCell, iHeight); + }else{ + pRtree->iReinsertHeight = iHeight; + rc = Reinsert(pRtree, pNode, pCell, iHeight); + } + }else{ + rc = AdjustTree(pRtree, pNode, pCell); + if( rc==SQLITE_OK ){ + if( iHeight==0 ){ + rc = rowidWrite(pRtree, pCell->iRowid, pNode->iNode); + }else{ + rc = parentWrite(pRtree, pCell->iRowid, pNode->iNode); + } + } + } + return rc; +} + +static int reinsertNodeContent(Rtree *pRtree, RtreeNode *pNode){ + int ii; + int rc = SQLITE_OK; + int nCell = NCELL(pNode); + + for(ii=0; rc==SQLITE_OK && iiiNode currently contains + ** the height of the sub-tree headed by the cell. + */ + rc = ChooseLeaf(pRtree, &cell, (int)pNode->iNode, &pInsert); + if( rc==SQLITE_OK ){ + int rc2; + rc = rtreeInsertCell(pRtree, pInsert, &cell, (int)pNode->iNode); + rc2 = nodeRelease(pRtree, pInsert); + if( rc==SQLITE_OK ){ + rc = rc2; + } + } + } + return rc; +} + +/* +** Select a currently unused rowid for a new r-tree record. +*/ +static int rtreeNewRowid(Rtree *pRtree, i64 *piRowid){ + int rc; + sqlite3_bind_null(pRtree->pWriteRowid, 1); + sqlite3_bind_null(pRtree->pWriteRowid, 2); + sqlite3_step(pRtree->pWriteRowid); + rc = sqlite3_reset(pRtree->pWriteRowid); + *piRowid = sqlite3_last_insert_rowid(pRtree->db); + return rc; +} + +/* +** Remove the entry with rowid=iDelete from the r-tree structure. +*/ +static int rtreeDeleteRowid(Rtree *pRtree, sqlite3_int64 iDelete){ + int rc; /* Return code */ + RtreeNode *pLeaf = 0; /* Leaf node containing record iDelete */ + int iCell; /* Index of iDelete cell in pLeaf */ + RtreeNode *pRoot = 0; /* Root node of rtree structure */ + + + /* Obtain a reference to the root node to initialize Rtree.iDepth */ + rc = nodeAcquire(pRtree, 1, 0, &pRoot); + + /* Obtain a reference to the leaf node that contains the entry + ** about to be deleted. + */ + if( rc==SQLITE_OK ){ + rc = findLeafNode(pRtree, iDelete, &pLeaf, 0); + } + +#ifdef CORRUPT_DB + assert( pLeaf!=0 || rc!=SQLITE_OK || CORRUPT_DB ); +#endif + + /* Delete the cell in question from the leaf node. */ + if( rc==SQLITE_OK && pLeaf ){ + int rc2; + rc = nodeRowidIndex(pRtree, pLeaf, iDelete, &iCell); + if( rc==SQLITE_OK ){ + rc = deleteCell(pRtree, pLeaf, iCell, 0); + } + rc2 = nodeRelease(pRtree, pLeaf); + if( rc==SQLITE_OK ){ + rc = rc2; + } + } + + /* Delete the corresponding entry in the _rowid table. */ + if( rc==SQLITE_OK ){ + sqlite3_bind_int64(pRtree->pDeleteRowid, 1, iDelete); + sqlite3_step(pRtree->pDeleteRowid); + rc = sqlite3_reset(pRtree->pDeleteRowid); + } + + /* Check if the root node now has exactly one child. If so, remove + ** it, schedule the contents of the child for reinsertion and + ** reduce the tree height by one. + ** + ** This is equivalent to copying the contents of the child into + ** the root node (the operation that Gutman's paper says to perform + ** in this scenario). + */ + if( rc==SQLITE_OK && pRtree->iDepth>0 && NCELL(pRoot)==1 ){ + int rc2; + RtreeNode *pChild = 0; + i64 iChild = nodeGetRowid(pRtree, pRoot, 0); + rc = nodeAcquire(pRtree, iChild, pRoot, &pChild); + if( rc==SQLITE_OK ){ + rc = removeNode(pRtree, pChild, pRtree->iDepth-1); + } + rc2 = nodeRelease(pRtree, pChild); + if( rc==SQLITE_OK ) rc = rc2; + if( rc==SQLITE_OK ){ + pRtree->iDepth--; + writeInt16(pRoot->zData, pRtree->iDepth); + pRoot->isDirty = 1; + } + } + + /* Re-insert the contents of any underfull nodes removed from the tree. */ + for(pLeaf=pRtree->pDeleted; pLeaf; pLeaf=pRtree->pDeleted){ + if( rc==SQLITE_OK ){ + rc = reinsertNodeContent(pRtree, pLeaf); + } + pRtree->pDeleted = pLeaf->pNext; + pRtree->nNodeRef--; + sqlite3_free(pLeaf); + } + + /* Release the reference to the root node. */ + if( rc==SQLITE_OK ){ + rc = nodeRelease(pRtree, pRoot); + }else{ + nodeRelease(pRtree, pRoot); + } + + return rc; +} + +/* +** Rounding constants for float->double conversion. +*/ +#define RNDTOWARDS (1.0 - 1.0/8388608.0) /* Round towards zero */ +#define RNDAWAY (1.0 + 1.0/8388608.0) /* Round away from zero */ + +#if !defined(SQLITE_RTREE_INT_ONLY) +/* +** Convert an sqlite3_value into an RtreeValue (presumably a float) +** while taking care to round toward negative or positive, respectively. +*/ +static RtreeValue rtreeValueDown(sqlite3_value *v){ + double d = sqlite3_value_double(v); + float f = (float)d; + if( f>d ){ + f = (float)(d*(d<0 ? RNDAWAY : RNDTOWARDS)); + } + return f; +} +static RtreeValue rtreeValueUp(sqlite3_value *v){ + double d = sqlite3_value_double(v); + float f = (float)d; + if( fbase.zErrMsg) to an appropriate value and returns +** SQLITE_CONSTRAINT. +** +** Parameter iCol is the index of the leftmost column involved in the +** constraint failure. If it is 0, then the constraint that failed is +** the unique constraint on the id column. Otherwise, it is the rtree +** (c1<=c2) constraint on columns iCol and iCol+1 that has failed. +** +** If an OOM occurs, SQLITE_NOMEM is returned instead of SQLITE_CONSTRAINT. +*/ +static int rtreeConstraintError(Rtree *pRtree, int iCol){ + sqlite3_stmt *pStmt = 0; + char *zSql; + int rc; + + assert( iCol==0 || iCol%2 ); + zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", pRtree->zDb, pRtree->zName); + if( zSql ){ + rc = sqlite3_prepare_v2(pRtree->db, zSql, -1, &pStmt, 0); + }else{ + rc = SQLITE_NOMEM; + } + sqlite3_free(zSql); + + if( rc==SQLITE_OK ){ + if( iCol==0 ){ + const char *zCol = sqlite3_column_name(pStmt, 0); + pRtree->base.zErrMsg = sqlite3_mprintf( + "UNIQUE constraint failed: %s.%s", pRtree->zName, zCol + ); + }else{ + const char *zCol1 = sqlite3_column_name(pStmt, iCol); + const char *zCol2 = sqlite3_column_name(pStmt, iCol+1); + pRtree->base.zErrMsg = sqlite3_mprintf( + "rtree constraint failed: %s.(%s<=%s)", pRtree->zName, zCol1, zCol2 + ); + } + } + + sqlite3_finalize(pStmt); + return (rc==SQLITE_OK ? SQLITE_CONSTRAINT : rc); +} + + + +/* +** The xUpdate method for rtree module virtual tables. +*/ +static int rtreeUpdate( + sqlite3_vtab *pVtab, + int nData, + sqlite3_value **aData, + sqlite_int64 *pRowid +){ + Rtree *pRtree = (Rtree *)pVtab; + int rc = SQLITE_OK; + RtreeCell cell; /* New cell to insert if nData>1 */ + int bHaveRowid = 0; /* Set to 1 after new rowid is determined */ + + if( pRtree->nNodeRef ){ + /* Unable to write to the btree while another cursor is reading from it, + ** since the write might do a rebalance which would disrupt the read + ** cursor. */ + return SQLITE_LOCKED_VTAB; + } + rtreeReference(pRtree); + assert(nData>=1); + + cell.iRowid = 0; /* Used only to suppress a compiler warning */ + + /* Constraint handling. A write operation on an r-tree table may return + ** SQLITE_CONSTRAINT for two reasons: + ** + ** 1. A duplicate rowid value, or + ** 2. The supplied data violates the "x2>=x1" constraint. + ** + ** In the first case, if the conflict-handling mode is REPLACE, then + ** the conflicting row can be removed before proceeding. In the second + ** case, SQLITE_CONSTRAINT must be returned regardless of the + ** conflict-handling mode specified by the user. + */ + if( nData>1 ){ + int ii; + int nn = nData - 4; + + if( nn > pRtree->nDim2 ) nn = pRtree->nDim2; + /* Populate the cell.aCoord[] array. The first coordinate is aData[3]. + ** + ** NB: nData can only be less than nDim*2+3 if the rtree is mis-declared + ** with "column" that are interpreted as table constraints. + ** Example: CREATE VIRTUAL TABLE bad USING rtree(x,y,CHECK(y>5)); + ** This problem was discovered after years of use, so we silently ignore + ** these kinds of misdeclared tables to avoid breaking any legacy. + */ + +#ifndef SQLITE_RTREE_INT_ONLY + if( pRtree->eCoordType==RTREE_COORD_REAL32 ){ + for(ii=0; iicell.aCoord[ii+1].f ){ + rc = rtreeConstraintError(pRtree, ii+1); + goto constraint; + } + } + }else +#endif + { + for(ii=0; iicell.aCoord[ii+1].i ){ + rc = rtreeConstraintError(pRtree, ii+1); + goto constraint; + } + } + } + + /* If a rowid value was supplied, check if it is already present in + ** the table. If so, the constraint has failed. */ + if( sqlite3_value_type(aData[2])!=SQLITE_NULL ){ + cell.iRowid = sqlite3_value_int64(aData[2]); + if( sqlite3_value_type(aData[0])==SQLITE_NULL + || sqlite3_value_int64(aData[0])!=cell.iRowid + ){ + int steprc; + sqlite3_bind_int64(pRtree->pReadRowid, 1, cell.iRowid); + steprc = sqlite3_step(pRtree->pReadRowid); + rc = sqlite3_reset(pRtree->pReadRowid); + if( SQLITE_ROW==steprc ){ + if( sqlite3_vtab_on_conflict(pRtree->db)==SQLITE_REPLACE ){ + rc = rtreeDeleteRowid(pRtree, cell.iRowid); + }else{ + rc = rtreeConstraintError(pRtree, 0); + goto constraint; + } + } + } + bHaveRowid = 1; + } + } + + /* If aData[0] is not an SQL NULL value, it is the rowid of a + ** record to delete from the r-tree table. The following block does + ** just that. + */ + if( sqlite3_value_type(aData[0])!=SQLITE_NULL ){ + rc = rtreeDeleteRowid(pRtree, sqlite3_value_int64(aData[0])); + } + + /* If the aData[] array contains more than one element, elements + ** (aData[2]..aData[argc-1]) contain a new record to insert into + ** the r-tree structure. + */ + if( rc==SQLITE_OK && nData>1 ){ + /* Insert the new record into the r-tree */ + RtreeNode *pLeaf = 0; + + /* Figure out the rowid of the new row. */ + if( bHaveRowid==0 ){ + rc = rtreeNewRowid(pRtree, &cell.iRowid); + } + *pRowid = cell.iRowid; + + if( rc==SQLITE_OK ){ + rc = ChooseLeaf(pRtree, &cell, 0, &pLeaf); + } + if( rc==SQLITE_OK ){ + int rc2; + pRtree->iReinsertHeight = -1; + rc = rtreeInsertCell(pRtree, pLeaf, &cell, 0); + rc2 = nodeRelease(pRtree, pLeaf); + if( rc==SQLITE_OK ){ + rc = rc2; + } + } + if( rc==SQLITE_OK && pRtree->nAux ){ + sqlite3_stmt *pUp = pRtree->pWriteAux; + int jj; + sqlite3_bind_int64(pUp, 1, *pRowid); + for(jj=0; jjnAux; jj++){ + sqlite3_bind_value(pUp, jj+2, aData[pRtree->nDim2+3+jj]); + } + sqlite3_step(pUp); + rc = sqlite3_reset(pUp); + } + } + +constraint: + rtreeRelease(pRtree); + return rc; +} + +/* +** Called when a transaction starts. +*/ +static int rtreeBeginTransaction(sqlite3_vtab *pVtab){ + Rtree *pRtree = (Rtree *)pVtab; + assert( pRtree->inWrTrans==0 ); + pRtree->inWrTrans++; + return SQLITE_OK; +} + +/* +** Called when a transaction completes (either by COMMIT or ROLLBACK). +** The sqlite3_blob object should be released at this point. +*/ +static int rtreeEndTransaction(sqlite3_vtab *pVtab){ + Rtree *pRtree = (Rtree *)pVtab; + pRtree->inWrTrans = 0; + nodeBlobReset(pRtree); + return SQLITE_OK; +} + +/* +** The xRename method for rtree module virtual tables. +*/ +static int rtreeRename(sqlite3_vtab *pVtab, const char *zNewName){ + Rtree *pRtree = (Rtree *)pVtab; + int rc = SQLITE_NOMEM; + char *zSql = sqlite3_mprintf( + "ALTER TABLE %Q.'%q_node' RENAME TO \"%w_node\";" + "ALTER TABLE %Q.'%q_parent' RENAME TO \"%w_parent\";" + "ALTER TABLE %Q.'%q_rowid' RENAME TO \"%w_rowid\";" + , pRtree->zDb, pRtree->zName, zNewName + , pRtree->zDb, pRtree->zName, zNewName + , pRtree->zDb, pRtree->zName, zNewName + ); + if( zSql ){ + nodeBlobReset(pRtree); + rc = sqlite3_exec(pRtree->db, zSql, 0, 0, 0); + sqlite3_free(zSql); + } + return rc; +} + +/* +** The xSavepoint method. +** +** This module does not need to do anything to support savepoints. However, +** it uses this hook to close any open blob handle. This is done because a +** DROP TABLE command - which fortunately always opens a savepoint - cannot +** succeed if there are any open blob handles. i.e. if the blob handle were +** not closed here, the following would fail: +** +** BEGIN; +** INSERT INTO rtree... +** DROP TABLE ; -- Would fail with SQLITE_LOCKED +** COMMIT; +*/ +static int rtreeSavepoint(sqlite3_vtab *pVtab, int iSavepoint){ + Rtree *pRtree = (Rtree *)pVtab; + u8 iwt = pRtree->inWrTrans; + UNUSED_PARAMETER(iSavepoint); + pRtree->inWrTrans = 0; + nodeBlobReset(pRtree); + pRtree->inWrTrans = iwt; + return SQLITE_OK; +} + +/* +** This function populates the pRtree->nRowEst variable with an estimate +** of the number of rows in the virtual table. If possible, this is based +** on sqlite_stat1 data. Otherwise, use RTREE_DEFAULT_ROWEST. +*/ +static int rtreeQueryStat1(sqlite3 *db, Rtree *pRtree){ + const char *zFmt = "SELECT stat FROM %Q.sqlite_stat1 WHERE tbl = '%q_rowid'"; + char *zSql; + sqlite3_stmt *p; + int rc; + i64 nRow = 0; + + rc = sqlite3_table_column_metadata( + db, pRtree->zDb, "sqlite_stat1",0,0,0,0,0,0 + ); + if( rc!=SQLITE_OK ){ + pRtree->nRowEst = RTREE_DEFAULT_ROWEST; + return rc==SQLITE_ERROR ? SQLITE_OK : rc; + } + zSql = sqlite3_mprintf(zFmt, pRtree->zDb, pRtree->zName); + if( zSql==0 ){ + rc = SQLITE_NOMEM; + }else{ + rc = sqlite3_prepare_v2(db, zSql, -1, &p, 0); + if( rc==SQLITE_OK ){ + if( sqlite3_step(p)==SQLITE_ROW ) nRow = sqlite3_column_int64(p, 0); + rc = sqlite3_finalize(p); + }else if( rc!=SQLITE_NOMEM ){ + rc = SQLITE_OK; + } + + if( rc==SQLITE_OK ){ + if( nRow==0 ){ + pRtree->nRowEst = RTREE_DEFAULT_ROWEST; + }else{ + pRtree->nRowEst = MAX(nRow, RTREE_MIN_ROWEST); + } + } + sqlite3_free(zSql); + } + + return rc; +} + + +/* +** Return true if zName is the extension on one of the shadow tables used +** by this module. +*/ +static int rtreeShadowName(const char *zName){ + static const char *azName[] = { + "node", "parent", "rowid" + }; + unsigned int i; + for(i=0; idb = db; + + if( isCreate ){ + char *zCreate; + sqlite3_str *p = sqlite3_str_new(db); + int ii; + sqlite3_str_appendf(p, + "CREATE TABLE \"%w\".\"%w_rowid\"(rowid INTEGER PRIMARY KEY,nodeno", + zDb, zPrefix); + for(ii=0; iinAux; ii++){ + sqlite3_str_appendf(p,",a%d",ii); + } + sqlite3_str_appendf(p, + ");CREATE TABLE \"%w\".\"%w_node\"(nodeno INTEGER PRIMARY KEY,data);", + zDb, zPrefix); + sqlite3_str_appendf(p, + "CREATE TABLE \"%w\".\"%w_parent\"(nodeno INTEGER PRIMARY KEY,parentnode);", + zDb, zPrefix); + sqlite3_str_appendf(p, + "INSERT INTO \"%w\".\"%w_node\"VALUES(1,zeroblob(%d))", + zDb, zPrefix, pRtree->iNodeSize); + zCreate = sqlite3_str_finish(p); + if( !zCreate ){ + return SQLITE_NOMEM; + } + rc = sqlite3_exec(db, zCreate, 0, 0, 0); + sqlite3_free(zCreate); + if( rc!=SQLITE_OK ){ + return rc; + } + } + + appStmt[0] = &pRtree->pWriteNode; + appStmt[1] = &pRtree->pDeleteNode; + appStmt[2] = &pRtree->pReadRowid; + appStmt[3] = &pRtree->pWriteRowid; + appStmt[4] = &pRtree->pDeleteRowid; + appStmt[5] = &pRtree->pReadParent; + appStmt[6] = &pRtree->pWriteParent; + appStmt[7] = &pRtree->pDeleteParent; + + rc = rtreeQueryStat1(db, pRtree); + for(i=0; inAux==0 ){ + zFormat = azSql[i]; + }else { + /* An UPSERT is very slightly slower than REPLACE, but it is needed + ** if there are auxiliary columns */ + zFormat = "INSERT INTO\"%w\".\"%w_rowid\"(rowid,nodeno)VALUES(?1,?2)" + "ON CONFLICT(rowid)DO UPDATE SET nodeno=excluded.nodeno"; + } + zSql = sqlite3_mprintf(zFormat, zDb, zPrefix); + if( zSql ){ + rc = sqlite3_prepare_v3(db, zSql, -1, f, appStmt[i], 0); + }else{ + rc = SQLITE_NOMEM; + } + sqlite3_free(zSql); + } + if( pRtree->nAux ){ + pRtree->zReadAuxSql = sqlite3_mprintf( + "SELECT * FROM \"%w\".\"%w_rowid\" WHERE rowid=?1", + zDb, zPrefix); + if( pRtree->zReadAuxSql==0 ){ + rc = SQLITE_NOMEM; + }else{ + sqlite3_str *p = sqlite3_str_new(db); + int ii; + char *zSql; + sqlite3_str_appendf(p, "UPDATE \"%w\".\"%w_rowid\"SET ", zDb, zPrefix); + for(ii=0; iinAux; ii++){ + if( ii ) sqlite3_str_append(p, ",", 1); + if( iinAuxNotNull ){ + sqlite3_str_appendf(p,"a%d=coalesce(?%d,a%d)",ii,ii+2,ii); + }else{ + sqlite3_str_appendf(p,"a%d=?%d",ii,ii+2); + } + } + sqlite3_str_appendf(p, " WHERE rowid=?1"); + zSql = sqlite3_str_finish(p); + if( zSql==0 ){ + rc = SQLITE_NOMEM; + }else{ + rc = sqlite3_prepare_v3(db, zSql, -1, f, &pRtree->pWriteAux, 0); + sqlite3_free(zSql); + } + } + } + + return rc; +} + +/* +** The second argument to this function contains the text of an SQL statement +** that returns a single integer value. The statement is compiled and executed +** using database connection db. If successful, the integer value returned +** is written to *piVal and SQLITE_OK returned. Otherwise, an SQLite error +** code is returned and the value of *piVal after returning is not defined. +*/ +static int getIntFromStmt(sqlite3 *db, const char *zSql, int *piVal){ + int rc = SQLITE_NOMEM; + if( zSql ){ + sqlite3_stmt *pStmt = 0; + rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, 0); + if( rc==SQLITE_OK ){ + if( SQLITE_ROW==sqlite3_step(pStmt) ){ + *piVal = sqlite3_column_int(pStmt, 0); + } + rc = sqlite3_finalize(pStmt); + } + } + return rc; +} + +/* +** This function is called from within the xConnect() or xCreate() method to +** determine the node-size used by the rtree table being created or connected +** to. If successful, pRtree->iNodeSize is populated and SQLITE_OK returned. +** Otherwise, an SQLite error code is returned. +** +** If this function is being called as part of an xConnect(), then the rtree +** table already exists. In this case the node-size is determined by inspecting +** the root node of the tree. +** +** Otherwise, for an xCreate(), use 64 bytes less than the database page-size. +** This ensures that each node is stored on a single database page. If the +** database page-size is so large that more than RTREE_MAXCELLS entries +** would fit in a single node, use a smaller node-size. +*/ +static int getNodeSize( + sqlite3 *db, /* Database handle */ + Rtree *pRtree, /* Rtree handle */ + int isCreate, /* True for xCreate, false for xConnect */ + char **pzErr /* OUT: Error message, if any */ +){ + int rc; + char *zSql; + if( isCreate ){ + int iPageSize = 0; + zSql = sqlite3_mprintf("PRAGMA %Q.page_size", pRtree->zDb); + rc = getIntFromStmt(db, zSql, &iPageSize); + if( rc==SQLITE_OK ){ + pRtree->iNodeSize = iPageSize-64; + if( (4+pRtree->nBytesPerCell*RTREE_MAXCELLS)iNodeSize ){ + pRtree->iNodeSize = 4+pRtree->nBytesPerCell*RTREE_MAXCELLS; + } + }else{ + *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db)); + } + }else{ + zSql = sqlite3_mprintf( + "SELECT length(data) FROM '%q'.'%q_node' WHERE nodeno = 1", + pRtree->zDb, pRtree->zName + ); + rc = getIntFromStmt(db, zSql, &pRtree->iNodeSize); + if( rc!=SQLITE_OK ){ + *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db)); + }else if( pRtree->iNodeSize<(512-64) ){ + rc = SQLITE_CORRUPT_VTAB; + RTREE_IS_CORRUPT(pRtree); + *pzErr = sqlite3_mprintf("undersize RTree blobs in \"%q_node\"", + pRtree->zName); + } + } + + sqlite3_free(zSql); + return rc; +} + +/* +** This function is the implementation of both the xConnect and xCreate +** methods of the r-tree virtual table. +** +** argv[0] -> module name +** argv[1] -> database name +** argv[2] -> table name +** argv[...] -> column names... +*/ +static int rtreeInit( + sqlite3 *db, /* Database connection */ + void *pAux, /* One of the RTREE_COORD_* constants */ + int argc, const char *const*argv, /* Parameters to CREATE TABLE statement */ + sqlite3_vtab **ppVtab, /* OUT: New virtual table */ + char **pzErr, /* OUT: Error message, if any */ + int isCreate /* True for xCreate, false for xConnect */ +){ + int rc = SQLITE_OK; + Rtree *pRtree; + int nDb; /* Length of string argv[1] */ + int nName; /* Length of string argv[2] */ + int eCoordType = (pAux ? RTREE_COORD_INT32 : RTREE_COORD_REAL32); + sqlite3_str *pSql; + char *zSql; + int ii = 4; + int iErr; + + const char *aErrMsg[] = { + 0, /* 0 */ + "Wrong number of columns for an rtree table", /* 1 */ + "Too few columns for an rtree table", /* 2 */ + "Too many columns for an rtree table", /* 3 */ + "Auxiliary rtree columns must be last" /* 4 */ + }; + + assert( RTREE_MAX_AUX_COLUMN<256 ); /* Aux columns counted by a u8 */ + if( argc>RTREE_MAX_AUX_COLUMN+3 ){ + *pzErr = sqlite3_mprintf("%s", aErrMsg[3]); + return SQLITE_ERROR; + } + + sqlite3_vtab_config(db, SQLITE_VTAB_CONSTRAINT_SUPPORT, 1); + + /* Allocate the sqlite3_vtab structure */ + nDb = (int)strlen(argv[1]); + nName = (int)strlen(argv[2]); + pRtree = (Rtree *)sqlite3_malloc64(sizeof(Rtree)+nDb+nName+2); + if( !pRtree ){ + return SQLITE_NOMEM; + } + memset(pRtree, 0, sizeof(Rtree)+nDb+nName+2); + pRtree->nBusy = 1; + pRtree->base.pModule = &rtreeModule; + pRtree->zDb = (char *)&pRtree[1]; + pRtree->zName = &pRtree->zDb[nDb+1]; + pRtree->eCoordType = (u8)eCoordType; + memcpy(pRtree->zDb, argv[1], nDb); + memcpy(pRtree->zName, argv[2], nName); + + + /* Create/Connect to the underlying relational database schema. If + ** that is successful, call sqlite3_declare_vtab() to configure + ** the r-tree table schema. + */ + pSql = sqlite3_str_new(db); + sqlite3_str_appendf(pSql, "CREATE TABLE x(%s", argv[3]); + for(ii=4; iinAux++; + sqlite3_str_appendf(pSql, ",%s", argv[ii]+1); + }else if( pRtree->nAux>0 ){ + break; + }else{ + pRtree->nDim2++; + sqlite3_str_appendf(pSql, ",%s", argv[ii]); + } + } + sqlite3_str_appendf(pSql, ");"); + zSql = sqlite3_str_finish(pSql); + if( !zSql ){ + rc = SQLITE_NOMEM; + }else if( iinDim = pRtree->nDim2/2; + if( pRtree->nDim<1 ){ + iErr = 2; + }else if( pRtree->nDim2>RTREE_MAX_DIMENSIONS*2 ){ + iErr = 3; + }else if( pRtree->nDim2 % 2 ){ + iErr = 1; + }else{ + iErr = 0; + } + if( iErr ){ + *pzErr = sqlite3_mprintf("%s", aErrMsg[iErr]); + goto rtreeInit_fail; + } + pRtree->nBytesPerCell = 8 + pRtree->nDim2*4; + + /* Figure out the node size to use. */ + rc = getNodeSize(db, pRtree, isCreate, pzErr); + if( rc ) goto rtreeInit_fail; + rc = rtreeSqlInit(pRtree, db, argv[1], argv[2], isCreate); + if( rc ){ + *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db)); + goto rtreeInit_fail; + } + + *ppVtab = (sqlite3_vtab *)pRtree; + return SQLITE_OK; + +rtreeInit_fail: + if( rc==SQLITE_OK ) rc = SQLITE_ERROR; + assert( *ppVtab==0 ); + assert( pRtree->nBusy==1 ); + rtreeRelease(pRtree); + return rc; +} + + +/* +** Implementation of a scalar function that decodes r-tree nodes to +** human readable strings. This can be used for debugging and analysis. +** +** The scalar function takes two arguments: (1) the number of dimensions +** to the rtree (between 1 and 5, inclusive) and (2) a blob of data containing +** an r-tree node. For a two-dimensional r-tree structure called "rt", to +** deserialize all nodes, a statement like: +** +** SELECT rtreenode(2, data) FROM rt_node; +** +** The human readable string takes the form of a Tcl list with one +** entry for each cell in the r-tree node. Each entry is itself a +** list, containing the 8-byte rowid/pageno followed by the +** *2 coordinates. +*/ +static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){ + RtreeNode node; + Rtree tree; + int ii; + int nData; + int errCode; + sqlite3_str *pOut; + + UNUSED_PARAMETER(nArg); + memset(&node, 0, sizeof(RtreeNode)); + memset(&tree, 0, sizeof(Rtree)); + tree.nDim = (u8)sqlite3_value_int(apArg[0]); + if( tree.nDim<1 || tree.nDim>5 ) return; + tree.nDim2 = tree.nDim*2; + tree.nBytesPerCell = 8 + 8 * tree.nDim; + node.zData = (u8 *)sqlite3_value_blob(apArg[1]); + nData = sqlite3_value_bytes(apArg[1]); + if( nData<4 ) return; + if( nData0 ) sqlite3_str_append(pOut, " ", 1); + sqlite3_str_appendf(pOut, "{%lld", cell.iRowid); + for(jj=0; jjrc==SQLITE_OK ) pCheck->rc = rc; +} + +/* +** The second and subsequent arguments to this function are a format string +** and printf style arguments. This function formats the string and attempts +** to compile it as an SQL statement. +** +** If successful, a pointer to the new SQL statement is returned. Otherwise, +** NULL is returned and an error code left in RtreeCheck.rc. +*/ +static sqlite3_stmt *rtreeCheckPrepare( + RtreeCheck *pCheck, /* RtreeCheck object */ + const char *zFmt, ... /* Format string and trailing args */ +){ + va_list ap; + char *z; + sqlite3_stmt *pRet = 0; + + va_start(ap, zFmt); + z = sqlite3_vmprintf(zFmt, ap); + + if( pCheck->rc==SQLITE_OK ){ + if( z==0 ){ + pCheck->rc = SQLITE_NOMEM; + }else{ + pCheck->rc = sqlite3_prepare_v2(pCheck->db, z, -1, &pRet, 0); + } + } + + sqlite3_free(z); + va_end(ap); + return pRet; +} + +/* +** The second and subsequent arguments to this function are a printf() +** style format string and arguments. This function formats the string and +** appends it to the report being accumuated in pCheck. +*/ +static void rtreeCheckAppendMsg(RtreeCheck *pCheck, const char *zFmt, ...){ + va_list ap; + va_start(ap, zFmt); + if( pCheck->rc==SQLITE_OK && pCheck->nErrrc = SQLITE_NOMEM; + }else{ + pCheck->zReport = sqlite3_mprintf("%z%s%z", + pCheck->zReport, (pCheck->zReport ? "\n" : ""), z + ); + if( pCheck->zReport==0 ){ + pCheck->rc = SQLITE_NOMEM; + } + } + pCheck->nErr++; + } + va_end(ap); +} + +/* +** This function is a no-op if there is already an error code stored +** in the RtreeCheck object indicated by the first argument. NULL is +** returned in this case. +** +** Otherwise, the contents of rtree table node iNode are loaded from +** the database and copied into a buffer obtained from sqlite3_malloc(). +** If no error occurs, a pointer to the buffer is returned and (*pnNode) +** is set to the size of the buffer in bytes. +** +** Or, if an error does occur, NULL is returned and an error code left +** in the RtreeCheck object. The final value of *pnNode is undefined in +** this case. +*/ +static u8 *rtreeCheckGetNode(RtreeCheck *pCheck, i64 iNode, int *pnNode){ + u8 *pRet = 0; /* Return value */ + + if( pCheck->rc==SQLITE_OK && pCheck->pGetNode==0 ){ + pCheck->pGetNode = rtreeCheckPrepare(pCheck, + "SELECT data FROM %Q.'%q_node' WHERE nodeno=?", + pCheck->zDb, pCheck->zTab + ); + } + + if( pCheck->rc==SQLITE_OK ){ + sqlite3_bind_int64(pCheck->pGetNode, 1, iNode); + if( sqlite3_step(pCheck->pGetNode)==SQLITE_ROW ){ + int nNode = sqlite3_column_bytes(pCheck->pGetNode, 0); + const u8 *pNode = (const u8*)sqlite3_column_blob(pCheck->pGetNode, 0); + pRet = sqlite3_malloc64(nNode); + if( pRet==0 ){ + pCheck->rc = SQLITE_NOMEM; + }else{ + memcpy(pRet, pNode, nNode); + *pnNode = nNode; + } + } + rtreeCheckReset(pCheck, pCheck->pGetNode); + if( pCheck->rc==SQLITE_OK && pRet==0 ){ + rtreeCheckAppendMsg(pCheck, "Node %lld missing from database", iNode); + } + } + + return pRet; +} + +/* +** This function is used to check that the %_parent (if bLeaf==0) or %_rowid +** (if bLeaf==1) table contains a specified entry. The schemas of the +** two tables are: +** +** CREATE TABLE %_parent(nodeno INTEGER PRIMARY KEY, parentnode INTEGER) +** CREATE TABLE %_rowid(rowid INTEGER PRIMARY KEY, nodeno INTEGER, ...) +** +** In both cases, this function checks that there exists an entry with +** IPK value iKey and the second column set to iVal. +** +*/ +static void rtreeCheckMapping( + RtreeCheck *pCheck, /* RtreeCheck object */ + int bLeaf, /* True for a leaf cell, false for interior */ + i64 iKey, /* Key for mapping */ + i64 iVal /* Expected value for mapping */ +){ + int rc; + sqlite3_stmt *pStmt; + const char *azSql[2] = { + "SELECT parentnode FROM %Q.'%q_parent' WHERE nodeno=?1", + "SELECT nodeno FROM %Q.'%q_rowid' WHERE rowid=?1" + }; + + assert( bLeaf==0 || bLeaf==1 ); + if( pCheck->aCheckMapping[bLeaf]==0 ){ + pCheck->aCheckMapping[bLeaf] = rtreeCheckPrepare(pCheck, + azSql[bLeaf], pCheck->zDb, pCheck->zTab + ); + } + if( pCheck->rc!=SQLITE_OK ) return; + + pStmt = pCheck->aCheckMapping[bLeaf]; + sqlite3_bind_int64(pStmt, 1, iKey); + rc = sqlite3_step(pStmt); + if( rc==SQLITE_DONE ){ + rtreeCheckAppendMsg(pCheck, "Mapping (%lld -> %lld) missing from %s table", + iKey, iVal, (bLeaf ? "%_rowid" : "%_parent") + ); + }else if( rc==SQLITE_ROW ){ + i64 ii = sqlite3_column_int64(pStmt, 0); + if( ii!=iVal ){ + rtreeCheckAppendMsg(pCheck, + "Found (%lld -> %lld) in %s table, expected (%lld -> %lld)", + iKey, ii, (bLeaf ? "%_rowid" : "%_parent"), iKey, iVal + ); + } + } + rtreeCheckReset(pCheck, pStmt); +} + +/* +** Argument pCell points to an array of coordinates stored on an rtree page. +** This function checks that the coordinates are internally consistent (no +** x1>x2 conditions) and adds an error message to the RtreeCheck object +** if they are not. +** +** Additionally, if pParent is not NULL, then it is assumed to point to +** the array of coordinates on the parent page that bound the page +** containing pCell. In this case it is also verified that the two +** sets of coordinates are mutually consistent and an error message added +** to the RtreeCheck object if they are not. +*/ +static void rtreeCheckCellCoord( + RtreeCheck *pCheck, + i64 iNode, /* Node id to use in error messages */ + int iCell, /* Cell number to use in error messages */ + u8 *pCell, /* Pointer to cell coordinates */ + u8 *pParent /* Pointer to parent coordinates */ +){ + RtreeCoord c1, c2; + RtreeCoord p1, p2; + int i; + + for(i=0; inDim; i++){ + readCoord(&pCell[4*2*i], &c1); + readCoord(&pCell[4*(2*i + 1)], &c2); + + /* printf("%e, %e\n", c1.u.f, c2.u.f); */ + if( pCheck->bInt ? c1.i>c2.i : c1.f>c2.f ){ + rtreeCheckAppendMsg(pCheck, + "Dimension %d of cell %d on node %lld is corrupt", i, iCell, iNode + ); + } + + if( pParent ){ + readCoord(&pParent[4*2*i], &p1); + readCoord(&pParent[4*(2*i + 1)], &p2); + + if( (pCheck->bInt ? c1.ibInt ? c2.i>p2.i : c2.f>p2.f) + ){ + rtreeCheckAppendMsg(pCheck, + "Dimension %d of cell %d on node %lld is corrupt relative to parent" + , i, iCell, iNode + ); + } + } + } +} + +/* +** Run rtreecheck() checks on node iNode, which is at depth iDepth within +** the r-tree structure. Argument aParent points to the array of coordinates +** that bound node iNode on the parent node. +** +** If any problems are discovered, an error message is appended to the +** report accumulated in the RtreeCheck object. +*/ +static void rtreeCheckNode( + RtreeCheck *pCheck, + int iDepth, /* Depth of iNode (0==leaf) */ + u8 *aParent, /* Buffer containing parent coords */ + i64 iNode /* Node to check */ +){ + u8 *aNode = 0; + int nNode = 0; + + assert( iNode==1 || aParent!=0 ); + assert( pCheck->nDim>0 ); + + aNode = rtreeCheckGetNode(pCheck, iNode, &nNode); + if( aNode ){ + if( nNode<4 ){ + rtreeCheckAppendMsg(pCheck, + "Node %lld is too small (%d bytes)", iNode, nNode + ); + }else{ + int nCell; /* Number of cells on page */ + int i; /* Used to iterate through cells */ + if( aParent==0 ){ + iDepth = readInt16(aNode); + if( iDepth>RTREE_MAX_DEPTH ){ + rtreeCheckAppendMsg(pCheck, "Rtree depth out of range (%d)", iDepth); + sqlite3_free(aNode); + return; + } + } + nCell = readInt16(&aNode[2]); + if( (4 + nCell*(8 + pCheck->nDim*2*4))>nNode ){ + rtreeCheckAppendMsg(pCheck, + "Node %lld is too small for cell count of %d (%d bytes)", + iNode, nCell, nNode + ); + }else{ + for(i=0; inDim*2*4)]; + i64 iVal = readInt64(pCell); + rtreeCheckCellCoord(pCheck, iNode, i, &pCell[8], aParent); + + if( iDepth>0 ){ + rtreeCheckMapping(pCheck, 0, iVal, iNode); + rtreeCheckNode(pCheck, iDepth-1, &pCell[8], iVal); + pCheck->nNonLeaf++; + }else{ + rtreeCheckMapping(pCheck, 1, iVal, iNode); + pCheck->nLeaf++; + } + } + } + } + sqlite3_free(aNode); + } +} + +/* +** The second argument to this function must be either "_rowid" or +** "_parent". This function checks that the number of entries in the +** %_rowid or %_parent table is exactly nExpect. If not, it adds +** an error message to the report in the RtreeCheck object indicated +** by the first argument. +*/ +static void rtreeCheckCount(RtreeCheck *pCheck, const char *zTbl, i64 nExpect){ + if( pCheck->rc==SQLITE_OK ){ + sqlite3_stmt *pCount; + pCount = rtreeCheckPrepare(pCheck, "SELECT count(*) FROM %Q.'%q%s'", + pCheck->zDb, pCheck->zTab, zTbl + ); + if( pCount ){ + if( sqlite3_step(pCount)==SQLITE_ROW ){ + i64 nActual = sqlite3_column_int64(pCount, 0); + if( nActual!=nExpect ){ + rtreeCheckAppendMsg(pCheck, "Wrong number of entries in %%%s table" + " - expected %lld, actual %lld" , zTbl, nExpect, nActual + ); + } + } + pCheck->rc = sqlite3_finalize(pCount); + } + } +} + +/* +** This function does the bulk of the work for the rtree integrity-check. +** It is called by rtreecheck(), which is the SQL function implementation. +*/ +static int rtreeCheckTable( + sqlite3 *db, /* Database handle to access db through */ + const char *zDb, /* Name of db ("main", "temp" etc.) */ + const char *zTab, /* Name of rtree table to check */ + char **pzReport /* OUT: sqlite3_malloc'd report text */ +){ + RtreeCheck check; /* Common context for various routines */ + sqlite3_stmt *pStmt = 0; /* Used to find column count of rtree table */ + int bEnd = 0; /* True if transaction should be closed */ + int nAux = 0; /* Number of extra columns. */ + + /* Initialize the context object */ + memset(&check, 0, sizeof(check)); + check.db = db; + check.zDb = zDb; + check.zTab = zTab; + + /* If there is not already an open transaction, open one now. This is + ** to ensure that the queries run as part of this integrity-check operate + ** on a consistent snapshot. */ + if( sqlite3_get_autocommit(db) ){ + check.rc = sqlite3_exec(db, "BEGIN", 0, 0, 0); + bEnd = 1; + } + + /* Find the number of auxiliary columns */ + if( check.rc==SQLITE_OK ){ + pStmt = rtreeCheckPrepare(&check, "SELECT * FROM %Q.'%q_rowid'", zDb, zTab); + if( pStmt ){ + nAux = sqlite3_column_count(pStmt) - 2; + sqlite3_finalize(pStmt); + } + check.rc = SQLITE_OK; + } + + /* Find number of dimensions in the rtree table. */ + pStmt = rtreeCheckPrepare(&check, "SELECT * FROM %Q.%Q", zDb, zTab); + if( pStmt ){ + int rc; + check.nDim = (sqlite3_column_count(pStmt) - 1 - nAux) / 2; + if( check.nDim<1 ){ + rtreeCheckAppendMsg(&check, "Schema corrupt or not an rtree"); + }else if( SQLITE_ROW==sqlite3_step(pStmt) ){ + check.bInt = (sqlite3_column_type(pStmt, 1)==SQLITE_INTEGER); + } + rc = sqlite3_finalize(pStmt); + if( rc!=SQLITE_CORRUPT ) check.rc = rc; + } + + /* Do the actual integrity-check */ + if( check.nDim>=1 ){ + if( check.rc==SQLITE_OK ){ + rtreeCheckNode(&check, 0, 0, 1); + } + rtreeCheckCount(&check, "_rowid", check.nLeaf); + rtreeCheckCount(&check, "_parent", check.nNonLeaf); + } + + /* Finalize SQL statements used by the integrity-check */ + sqlite3_finalize(check.pGetNode); + sqlite3_finalize(check.aCheckMapping[0]); + sqlite3_finalize(check.aCheckMapping[1]); + + /* If one was opened, close the transaction */ + if( bEnd ){ + int rc = sqlite3_exec(db, "END", 0, 0, 0); + if( check.rc==SQLITE_OK ) check.rc = rc; + } + *pzReport = check.zReport; + return check.rc; +} + +/* +** Usage: +** +** rtreecheck(); +** rtreecheck(, ); +** +** Invoking this SQL function runs an integrity-check on the named rtree +** table. The integrity-check verifies the following: +** +** 1. For each cell in the r-tree structure (%_node table), that: +** +** a) for each dimension, (coord1 <= coord2). +** +** b) unless the cell is on the root node, that the cell is bounded +** by the parent cell on the parent node. +** +** c) for leaf nodes, that there is an entry in the %_rowid +** table corresponding to the cell's rowid value that +** points to the correct node. +** +** d) for cells on non-leaf nodes, that there is an entry in the +** %_parent table mapping from the cell's child node to the +** node that it resides on. +** +** 2. That there are the same number of entries in the %_rowid table +** as there are leaf cells in the r-tree structure, and that there +** is a leaf cell that corresponds to each entry in the %_rowid table. +** +** 3. That there are the same number of entries in the %_parent table +** as there are non-leaf cells in the r-tree structure, and that +** there is a non-leaf cell that corresponds to each entry in the +** %_parent table. +*/ +static void rtreecheck( + sqlite3_context *ctx, + int nArg, + sqlite3_value **apArg +){ + if( nArg!=1 && nArg!=2 ){ + sqlite3_result_error(ctx, + "wrong number of arguments to function rtreecheck()", -1 + ); + }else{ + int rc; + char *zReport = 0; + const char *zDb = (const char*)sqlite3_value_text(apArg[0]); + const char *zTab; + if( nArg==1 ){ + zTab = zDb; + zDb = "main"; + }else{ + zTab = (const char*)sqlite3_value_text(apArg[1]); + } + rc = rtreeCheckTable(sqlite3_context_db_handle(ctx), zDb, zTab, &zReport); + if( rc==SQLITE_OK ){ + sqlite3_result_text(ctx, zReport ? zReport : "ok", -1, SQLITE_TRANSIENT); + }else{ + sqlite3_result_error_code(ctx, rc); + } + sqlite3_free(zReport); + } +} + +/* Conditionally include the geopoly code */ +#ifdef SQLITE_ENABLE_GEOPOLY +/************** Include geopoly.c in the middle of rtree.c *******************/ +/************** Begin file geopoly.c *****************************************/ +/* +** 2018-05-25 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +****************************************************************************** +** +** This file implements an alternative R-Tree virtual table that +** uses polygons to express the boundaries of 2-dimensional objects. +** +** This file is #include-ed onto the end of "rtree.c" so that it has +** access to all of the R-Tree internals. +*/ +/* #include */ + +/* Enable -DGEOPOLY_ENABLE_DEBUG for debugging facilities */ +#ifdef GEOPOLY_ENABLE_DEBUG + static int geo_debug = 0; +# define GEODEBUG(X) if(geo_debug)printf X +#else +# define GEODEBUG(X) +#endif + +#ifndef JSON_NULL /* The following stuff repeats things found in json1 */ +/* +** Versions of isspace(), isalnum() and isdigit() to which it is safe +** to pass signed char values. +*/ +#ifdef sqlite3Isdigit + /* Use the SQLite core versions if this routine is part of the + ** SQLite amalgamation */ +# define safe_isdigit(x) sqlite3Isdigit(x) +# define safe_isalnum(x) sqlite3Isalnum(x) +# define safe_isxdigit(x) sqlite3Isxdigit(x) +#else + /* Use the standard library for separate compilation */ +#include /* amalgamator: keep */ +# define safe_isdigit(x) isdigit((unsigned char)(x)) +# define safe_isalnum(x) isalnum((unsigned char)(x)) +# define safe_isxdigit(x) isxdigit((unsigned char)(x)) +#endif + +/* +** Growing our own isspace() routine this way is twice as fast as +** the library isspace() function. +*/ +static const char geopolyIsSpace[] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, +}; +#define safe_isspace(x) (geopolyIsSpace[(unsigned char)x]) +#endif /* JSON NULL - back to original code */ + +/* Compiler and version */ +#ifndef GCC_VERSION +#if defined(__GNUC__) && !defined(SQLITE_DISABLE_INTRINSIC) +# define GCC_VERSION (__GNUC__*1000000+__GNUC_MINOR__*1000+__GNUC_PATCHLEVEL__) +#else +# define GCC_VERSION 0 +#endif +#endif +#ifndef MSVC_VERSION +#if defined(_MSC_VER) && !defined(SQLITE_DISABLE_INTRINSIC) +# define MSVC_VERSION _MSC_VER +#else +# define MSVC_VERSION 0 +#endif +#endif + +/* Datatype for coordinates +*/ +typedef float GeoCoord; + +/* +** Internal representation of a polygon. +** +** The polygon consists of a sequence of vertexes. There is a line +** segment between each pair of vertexes, and one final segment from +** the last vertex back to the first. (This differs from the GeoJSON +** standard in which the final vertex is a repeat of the first.) +** +** The polygon follows the right-hand rule. The area to the right of +** each segment is "outside" and the area to the left is "inside". +** +** The on-disk representation consists of a 4-byte header followed by +** the values. The 4-byte header is: +** +** encoding (1 byte) 0=big-endian, 1=little-endian +** nvertex (3 bytes) Number of vertexes as a big-endian integer +** +** Enough space is allocated for 4 coordinates, to work around over-zealous +** warnings coming from some compiler (notably, clang). In reality, the size +** of each GeoPoly memory allocate is adjusted as necessary so that the +** GeoPoly.a[] array at the end is the appropriate size. +*/ +typedef struct GeoPoly GeoPoly; +struct GeoPoly { + int nVertex; /* Number of vertexes */ + unsigned char hdr[4]; /* Header for on-disk representation */ + GeoCoord a[8]; /* 2*nVertex values. X (longitude) first, then Y */ +}; + +/* The size of a memory allocation needed for a GeoPoly object sufficient +** to hold N coordinate pairs. +*/ +#define GEOPOLY_SZ(N) (sizeof(GeoPoly) + sizeof(GeoCoord)*2*((N)-4)) + +/* Macros to access coordinates of a GeoPoly. +** We have to use these macros, rather than just say p->a[i] in order +** to silence (incorrect) UBSAN warnings if the array index is too large. +*/ +#define GeoX(P,I) (((GeoCoord*)(P)->a)[(I)*2]) +#define GeoY(P,I) (((GeoCoord*)(P)->a)[(I)*2+1]) + + +/* +** State of a parse of a GeoJSON input. +*/ +typedef struct GeoParse GeoParse; +struct GeoParse { + const unsigned char *z; /* Unparsed input */ + int nVertex; /* Number of vertexes in a[] */ + int nAlloc; /* Space allocated to a[] */ + int nErr; /* Number of errors encountered */ + GeoCoord *a; /* Array of vertexes. From sqlite3_malloc64() */ +}; + +/* Do a 4-byte byte swap */ +static void geopolySwab32(unsigned char *a){ + unsigned char t = a[0]; + a[0] = a[3]; + a[3] = t; + t = a[1]; + a[1] = a[2]; + a[2] = t; +} + +/* Skip whitespace. Return the next non-whitespace character. */ +static char geopolySkipSpace(GeoParse *p){ + while( safe_isspace(p->z[0]) ) p->z++; + return p->z[0]; +} + +/* Parse out a number. Write the value into *pVal if pVal!=0. +** return non-zero on success and zero if the next token is not a number. +*/ +static int geopolyParseNumber(GeoParse *p, GeoCoord *pVal){ + char c = geopolySkipSpace(p); + const unsigned char *z = p->z; + int j = 0; + int seenDP = 0; + int seenE = 0; + if( c=='-' ){ + j = 1; + c = z[j]; + } + if( c=='0' && z[j+1]>='0' && z[j+1]<='9' ) return 0; + for(;; j++){ + c = z[j]; + if( safe_isdigit(c) ) continue; + if( c=='.' ){ + if( z[j-1]=='-' ) return 0; + if( seenDP ) return 0; + seenDP = 1; + continue; + } + if( c=='e' || c=='E' ){ + if( z[j-1]<'0' ) return 0; + if( seenE ) return -1; + seenDP = seenE = 1; + c = z[j+1]; + if( c=='+' || c=='-' ){ + j++; + c = z[j+1]; + } + if( c<'0' || c>'9' ) return 0; + continue; + } + break; + } + if( z[j-1]<'0' ) return 0; + if( pVal ){ +#ifdef SQLITE_AMALGAMATION + /* The sqlite3AtoF() routine is much much faster than atof(), if it + ** is available */ + double r; + (void)sqlite3AtoF((const char*)p->z, &r, j, SQLITE_UTF8); + *pVal = r; +#else + *pVal = (GeoCoord)atof((const char*)p->z); +#endif + } + p->z += j; + return 1; +} + +/* +** If the input is a well-formed JSON array of coordinates with at least +** four coordinates and where each coordinate is itself a two-value array, +** then convert the JSON into a GeoPoly object and return a pointer to +** that object. +** +** If any error occurs, return NULL. +*/ +static GeoPoly *geopolyParseJson(const unsigned char *z, int *pRc){ + GeoParse s; + int rc = SQLITE_OK; + memset(&s, 0, sizeof(s)); + s.z = z; + if( geopolySkipSpace(&s)=='[' ){ + s.z++; + while( geopolySkipSpace(&s)=='[' ){ + int ii = 0; + char c; + s.z++; + if( s.nVertex>=s.nAlloc ){ + GeoCoord *aNew; + s.nAlloc = s.nAlloc*2 + 16; + aNew = sqlite3_realloc64(s.a, s.nAlloc*sizeof(GeoCoord)*2 ); + if( aNew==0 ){ + rc = SQLITE_NOMEM; + s.nErr++; + break; + } + s.a = aNew; + } + while( geopolyParseNumber(&s, ii<=1 ? &s.a[s.nVertex*2+ii] : 0) ){ + ii++; + if( ii==2 ) s.nVertex++; + c = geopolySkipSpace(&s); + s.z++; + if( c==',' ) continue; + if( c==']' && ii>=2 ) break; + s.nErr++; + rc = SQLITE_ERROR; + goto parse_json_err; + } + if( geopolySkipSpace(&s)==',' ){ + s.z++; + continue; + } + break; + } + if( geopolySkipSpace(&s)==']' + && s.nVertex>=4 + && s.a[0]==s.a[s.nVertex*2-2] + && s.a[1]==s.a[s.nVertex*2-1] + && (s.z++, geopolySkipSpace(&s)==0) + ){ + GeoPoly *pOut; + int x = 1; + s.nVertex--; /* Remove the redundant vertex at the end */ + pOut = sqlite3_malloc64( GEOPOLY_SZ((sqlite3_int64)s.nVertex) ); + x = 1; + if( pOut==0 ) goto parse_json_err; + pOut->nVertex = s.nVertex; + memcpy(pOut->a, s.a, s.nVertex*2*sizeof(GeoCoord)); + pOut->hdr[0] = *(unsigned char*)&x; + pOut->hdr[1] = (s.nVertex>>16)&0xff; + pOut->hdr[2] = (s.nVertex>>8)&0xff; + pOut->hdr[3] = s.nVertex&0xff; + sqlite3_free(s.a); + if( pRc ) *pRc = SQLITE_OK; + return pOut; + }else{ + s.nErr++; + rc = SQLITE_ERROR; + } + } +parse_json_err: + if( pRc ) *pRc = rc; + sqlite3_free(s.a); + return 0; +} + +/* +** Given a function parameter, try to interpret it as a polygon, either +** in the binary format or JSON text. Compute a GeoPoly object and +** return a pointer to that object. Or if the input is not a well-formed +** polygon, put an error message in sqlite3_context and return NULL. +*/ +static GeoPoly *geopolyFuncParam( + sqlite3_context *pCtx, /* Context for error messages */ + sqlite3_value *pVal, /* The value to decode */ + int *pRc /* Write error here */ +){ + GeoPoly *p = 0; + int nByte; + if( sqlite3_value_type(pVal)==SQLITE_BLOB + && (nByte = sqlite3_value_bytes(pVal))>=(4+6*sizeof(GeoCoord)) + ){ + const unsigned char *a = sqlite3_value_blob(pVal); + int nVertex; + nVertex = (a[1]<<16) + (a[2]<<8) + a[3]; + if( (a[0]==0 || a[0]==1) + && (nVertex*2*sizeof(GeoCoord) + 4)==(unsigned int)nByte + ){ + p = sqlite3_malloc64( sizeof(*p) + (nVertex-1)*2*sizeof(GeoCoord) ); + if( p==0 ){ + if( pRc ) *pRc = SQLITE_NOMEM; + if( pCtx ) sqlite3_result_error_nomem(pCtx); + }else{ + int x = 1; + p->nVertex = nVertex; + memcpy(p->hdr, a, nByte); + if( a[0] != *(unsigned char*)&x ){ + int ii; + for(ii=0; iihdr[0] ^= 1; + } + } + } + if( pRc ) *pRc = SQLITE_OK; + return p; + }else if( sqlite3_value_type(pVal)==SQLITE_TEXT ){ + const unsigned char *zJson = sqlite3_value_text(pVal); + if( zJson==0 ){ + if( pRc ) *pRc = SQLITE_NOMEM; + return 0; + } + return geopolyParseJson(zJson, pRc); + }else{ + if( pRc ) *pRc = SQLITE_ERROR; + return 0; + } +} + +/* +** Implementation of the geopoly_blob(X) function. +** +** If the input is a well-formed Geopoly BLOB or JSON string +** then return the BLOB representation of the polygon. Otherwise +** return NULL. +*/ +static void geopolyBlobFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + GeoPoly *p = geopolyFuncParam(context, argv[0], 0); + if( p ){ + sqlite3_result_blob(context, p->hdr, + 4+8*p->nVertex, SQLITE_TRANSIENT); + sqlite3_free(p); + } +} + +/* +** SQL function: geopoly_json(X) +** +** Interpret X as a polygon and render it as a JSON array +** of coordinates. Or, if X is not a valid polygon, return NULL. +*/ +static void geopolyJsonFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + GeoPoly *p = geopolyFuncParam(context, argv[0], 0); + if( p ){ + sqlite3 *db = sqlite3_context_db_handle(context); + sqlite3_str *x = sqlite3_str_new(db); + int i; + sqlite3_str_append(x, "[", 1); + for(i=0; inVertex; i++){ + sqlite3_str_appendf(x, "[%!g,%!g],", GeoX(p,i), GeoY(p,i)); + } + sqlite3_str_appendf(x, "[%!g,%!g]]", GeoX(p,0), GeoY(p,0)); + sqlite3_result_text(context, sqlite3_str_finish(x), -1, sqlite3_free); + sqlite3_free(p); + } +} + +/* +** SQL function: geopoly_svg(X, ....) +** +** Interpret X as a polygon and render it as a SVG . +** Additional arguments are added as attributes to the . +*/ +static void geopolySvgFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + GeoPoly *p; + if( argc<1 ) return; + p = geopolyFuncParam(context, argv[0], 0); + if( p ){ + sqlite3 *db = sqlite3_context_db_handle(context); + sqlite3_str *x = sqlite3_str_new(db); + int i; + char cSep = '\''; + sqlite3_str_appendf(x, ""); + sqlite3_result_text(context, sqlite3_str_finish(x), -1, sqlite3_free); + sqlite3_free(p); + } +} + +/* +** SQL Function: geopoly_xform(poly, A, B, C, D, E, F) +** +** Transform and/or translate a polygon as follows: +** +** x1 = A*x0 + B*y0 + E +** y1 = C*x0 + D*y0 + F +** +** For a translation: +** +** geopoly_xform(poly, 1, 0, 0, 1, x-offset, y-offset) +** +** Rotate by R around the point (0,0): +** +** geopoly_xform(poly, cos(R), sin(R), -sin(R), cos(R), 0, 0) +*/ +static void geopolyXformFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + GeoPoly *p = geopolyFuncParam(context, argv[0], 0); + double A = sqlite3_value_double(argv[1]); + double B = sqlite3_value_double(argv[2]); + double C = sqlite3_value_double(argv[3]); + double D = sqlite3_value_double(argv[4]); + double E = sqlite3_value_double(argv[5]); + double F = sqlite3_value_double(argv[6]); + GeoCoord x1, y1, x0, y0; + int ii; + if( p ){ + for(ii=0; iinVertex; ii++){ + x0 = GeoX(p,ii); + y0 = GeoY(p,ii); + x1 = (GeoCoord)(A*x0 + B*y0 + E); + y1 = (GeoCoord)(C*x0 + D*y0 + F); + GeoX(p,ii) = x1; + GeoY(p,ii) = y1; + } + sqlite3_result_blob(context, p->hdr, + 4+8*p->nVertex, SQLITE_TRANSIENT); + sqlite3_free(p); + } +} + +/* +** Compute the area enclosed by the polygon. +** +** This routine can also be used to detect polygons that rotate in +** the wrong direction. Polygons are suppose to be counter-clockwise (CCW). +** This routine returns a negative value for clockwise (CW) polygons. +*/ +static double geopolyArea(GeoPoly *p){ + double rArea = 0.0; + int ii; + for(ii=0; iinVertex-1; ii++){ + rArea += (GeoX(p,ii) - GeoX(p,ii+1)) /* (x0 - x1) */ + * (GeoY(p,ii) + GeoY(p,ii+1)) /* (y0 + y1) */ + * 0.5; + } + rArea += (GeoX(p,ii) - GeoX(p,0)) /* (xN - x0) */ + * (GeoY(p,ii) + GeoY(p,0)) /* (yN + y0) */ + * 0.5; + return rArea; +} + +/* +** Implementation of the geopoly_area(X) function. +** +** If the input is a well-formed Geopoly BLOB then return the area +** enclosed by the polygon. If the polygon circulates clockwise instead +** of counterclockwise (as it should) then return the negative of the +** enclosed area. Otherwise return NULL. +*/ +static void geopolyAreaFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + GeoPoly *p = geopolyFuncParam(context, argv[0], 0); + if( p ){ + sqlite3_result_double(context, geopolyArea(p)); + sqlite3_free(p); + } +} + +/* +** Implementation of the geopoly_ccw(X) function. +** +** If the rotation of polygon X is clockwise (incorrect) instead of +** counter-clockwise (the correct winding order according to RFC7946) +** then reverse the order of the vertexes in polygon X. +** +** In other words, this routine returns a CCW polygon regardless of the +** winding order of its input. +** +** Use this routine to sanitize historical inputs that that sometimes +** contain polygons that wind in the wrong direction. +*/ +static void geopolyCcwFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + GeoPoly *p = geopolyFuncParam(context, argv[0], 0); + if( p ){ + if( geopolyArea(p)<0.0 ){ + int ii, jj; + for(ii=1, jj=p->nVertex-1; iihdr, + 4+8*p->nVertex, SQLITE_TRANSIENT); + sqlite3_free(p); + } +} + +#define GEOPOLY_PI 3.1415926535897932385 + +/* Fast approximation for sine(X) for X between -0.5*pi and 2*pi +*/ +static double geopolySine(double r){ + assert( r>=-0.5*GEOPOLY_PI && r<=2.0*GEOPOLY_PI ); + if( r>=1.5*GEOPOLY_PI ){ + r -= 2.0*GEOPOLY_PI; + } + if( r>=0.5*GEOPOLY_PI ){ + return -geopolySine(r-GEOPOLY_PI); + }else{ + double r2 = r*r; + double r3 = r2*r; + double r5 = r3*r2; + return 0.9996949*r - 0.1656700*r3 + 0.0075134*r5; + } +} + +/* +** Function: geopoly_regular(X,Y,R,N) +** +** Construct a simple, convex, regular polygon centered at X, Y +** with circumradius R and with N sides. +*/ +static void geopolyRegularFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + double x = sqlite3_value_double(argv[0]); + double y = sqlite3_value_double(argv[1]); + double r = sqlite3_value_double(argv[2]); + int n = sqlite3_value_int(argv[3]); + int i; + GeoPoly *p; + + if( n<3 || r<=0.0 ) return; + if( n>1000 ) n = 1000; + p = sqlite3_malloc64( sizeof(*p) + (n-1)*2*sizeof(GeoCoord) ); + if( p==0 ){ + sqlite3_result_error_nomem(context); + return; + } + i = 1; + p->hdr[0] = *(unsigned char*)&i; + p->hdr[1] = 0; + p->hdr[2] = (n>>8)&0xff; + p->hdr[3] = n&0xff; + for(i=0; ihdr, 4+8*n, SQLITE_TRANSIENT); + sqlite3_free(p); +} + +/* +** If pPoly is a polygon, compute its bounding box. Then: +** +** (1) if aCoord!=0 store the bounding box in aCoord, returning NULL +** (2) otherwise, compute a GeoPoly for the bounding box and return the +** new GeoPoly +** +** If pPoly is NULL but aCoord is not NULL, then compute a new GeoPoly from +** the bounding box in aCoord and return a pointer to that GeoPoly. +*/ +static GeoPoly *geopolyBBox( + sqlite3_context *context, /* For recording the error */ + sqlite3_value *pPoly, /* The polygon */ + RtreeCoord *aCoord, /* Results here */ + int *pRc /* Error code here */ +){ + GeoPoly *pOut = 0; + GeoPoly *p; + float mnX, mxX, mnY, mxY; + if( pPoly==0 && aCoord!=0 ){ + p = 0; + mnX = aCoord[0].f; + mxX = aCoord[1].f; + mnY = aCoord[2].f; + mxY = aCoord[3].f; + goto geopolyBboxFill; + }else{ + p = geopolyFuncParam(context, pPoly, pRc); + } + if( p ){ + int ii; + mnX = mxX = GeoX(p,0); + mnY = mxY = GeoY(p,0); + for(ii=1; iinVertex; ii++){ + double r = GeoX(p,ii); + if( rmxX ) mxX = (float)r; + r = GeoY(p,ii); + if( rmxY ) mxY = (float)r; + } + if( pRc ) *pRc = SQLITE_OK; + if( aCoord==0 ){ + geopolyBboxFill: + pOut = sqlite3_realloc64(p, GEOPOLY_SZ(4)); + if( pOut==0 ){ + sqlite3_free(p); + if( context ) sqlite3_result_error_nomem(context); + if( pRc ) *pRc = SQLITE_NOMEM; + return 0; + } + pOut->nVertex = 4; + ii = 1; + pOut->hdr[0] = *(unsigned char*)ⅈ + pOut->hdr[1] = 0; + pOut->hdr[2] = 0; + pOut->hdr[3] = 4; + GeoX(pOut,0) = mnX; + GeoY(pOut,0) = mnY; + GeoX(pOut,1) = mxX; + GeoY(pOut,1) = mnY; + GeoX(pOut,2) = mxX; + GeoY(pOut,2) = mxY; + GeoX(pOut,3) = mnX; + GeoY(pOut,3) = mxY; + }else{ + sqlite3_free(p); + aCoord[0].f = mnX; + aCoord[1].f = mxX; + aCoord[2].f = mnY; + aCoord[3].f = mxY; + } + } + return pOut; +} + +/* +** Implementation of the geopoly_bbox(X) SQL function. +*/ +static void geopolyBBoxFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + GeoPoly *p = geopolyBBox(context, argv[0], 0, 0); + if( p ){ + sqlite3_result_blob(context, p->hdr, + 4+8*p->nVertex, SQLITE_TRANSIENT); + sqlite3_free(p); + } +} + +/* +** State vector for the geopoly_group_bbox() aggregate function. +*/ +typedef struct GeoBBox GeoBBox; +struct GeoBBox { + int isInit; + RtreeCoord a[4]; +}; + + +/* +** Implementation of the geopoly_group_bbox(X) aggregate SQL function. +*/ +static void geopolyBBoxStep( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + RtreeCoord a[4]; + int rc = SQLITE_OK; + (void)geopolyBBox(context, argv[0], a, &rc); + if( rc==SQLITE_OK ){ + GeoBBox *pBBox; + pBBox = (GeoBBox*)sqlite3_aggregate_context(context, sizeof(*pBBox)); + if( pBBox==0 ) return; + if( pBBox->isInit==0 ){ + pBBox->isInit = 1; + memcpy(pBBox->a, a, sizeof(RtreeCoord)*4); + }else{ + if( a[0].f < pBBox->a[0].f ) pBBox->a[0] = a[0]; + if( a[1].f > pBBox->a[1].f ) pBBox->a[1] = a[1]; + if( a[2].f < pBBox->a[2].f ) pBBox->a[2] = a[2]; + if( a[3].f > pBBox->a[3].f ) pBBox->a[3] = a[3]; + } + } +} +static void geopolyBBoxFinal( + sqlite3_context *context +){ + GeoPoly *p; + GeoBBox *pBBox; + pBBox = (GeoBBox*)sqlite3_aggregate_context(context, 0); + if( pBBox==0 ) return; + p = geopolyBBox(context, 0, pBBox->a, 0); + if( p ){ + sqlite3_result_blob(context, p->hdr, + 4+8*p->nVertex, SQLITE_TRANSIENT); + sqlite3_free(p); + } +} + + +/* +** Determine if point (x0,y0) is beneath line segment (x1,y1)->(x2,y2). +** Returns: +** +** +2 x0,y0 is on the line segement +** +** +1 x0,y0 is beneath line segment +** +** 0 x0,y0 is not on or beneath the line segment or the line segment +** is vertical and x0,y0 is not on the line segment +** +** The left-most coordinate min(x1,x2) is not considered to be part of +** the line segment for the purposes of this analysis. +*/ +static int pointBeneathLine( + double x0, double y0, + double x1, double y1, + double x2, double y2 +){ + double y; + if( x0==x1 && y0==y1 ) return 2; + if( x1x2 ) return 0; + }else if( x1>x2 ){ + if( x0<=x2 || x0>x1 ) return 0; + }else{ + /* Vertical line segment */ + if( x0!=x1 ) return 0; + if( y0y1 && y0>y2 ) return 0; + return 2; + } + y = y1 + (y2-y1)*(x0-x1)/(x2-x1); + if( y0==y ) return 2; + if( y0nVertex-1; ii++){ + v = pointBeneathLine(x0,y0,GeoX(p1,ii), GeoY(p1,ii), + GeoX(p1,ii+1),GeoY(p1,ii+1)); + if( v==2 ) break; + cnt += v; + } + if( v!=2 ){ + v = pointBeneathLine(x0,y0,GeoX(p1,ii), GeoY(p1,ii), + GeoX(p1,0), GeoY(p1,0)); + } + if( v==2 ){ + sqlite3_result_int(context, 1); + }else if( ((v+cnt)&1)==0 ){ + sqlite3_result_int(context, 0); + }else{ + sqlite3_result_int(context, 2); + } + sqlite3_free(p1); +} + +/* Forward declaration */ +static int geopolyOverlap(GeoPoly *p1, GeoPoly *p2); + +/* +** SQL function: geopoly_within(P1,P2) +** +** Return +2 if P1 and P2 are the same polygon +** Return +1 if P2 is contained within P1 +** Return 0 if any part of P2 is on the outside of P1 +** +*/ +static void geopolyWithinFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + GeoPoly *p1 = geopolyFuncParam(context, argv[0], 0); + GeoPoly *p2 = geopolyFuncParam(context, argv[1], 0); + if( p1 && p2 ){ + int x = geopolyOverlap(p1, p2); + if( x<0 ){ + sqlite3_result_error_nomem(context); + }else{ + sqlite3_result_int(context, x==2 ? 1 : x==4 ? 2 : 0); + } + } + sqlite3_free(p1); + sqlite3_free(p2); +} + +/* Objects used by the overlap algorihm. */ +typedef struct GeoEvent GeoEvent; +typedef struct GeoSegment GeoSegment; +typedef struct GeoOverlap GeoOverlap; +struct GeoEvent { + double x; /* X coordinate at which event occurs */ + int eType; /* 0 for ADD, 1 for REMOVE */ + GeoSegment *pSeg; /* The segment to be added or removed */ + GeoEvent *pNext; /* Next event in the sorted list */ +}; +struct GeoSegment { + double C, B; /* y = C*x + B */ + double y; /* Current y value */ + float y0; /* Initial y value */ + unsigned char side; /* 1 for p1, 2 for p2 */ + unsigned int idx; /* Which segment within the side */ + GeoSegment *pNext; /* Next segment in a list sorted by y */ +}; +struct GeoOverlap { + GeoEvent *aEvent; /* Array of all events */ + GeoSegment *aSegment; /* Array of all segments */ + int nEvent; /* Number of events */ + int nSegment; /* Number of segments */ +}; + +/* +** Add a single segment and its associated events. +*/ +static void geopolyAddOneSegment( + GeoOverlap *p, + GeoCoord x0, + GeoCoord y0, + GeoCoord x1, + GeoCoord y1, + unsigned char side, + unsigned int idx +){ + GeoSegment *pSeg; + GeoEvent *pEvent; + if( x0==x1 ) return; /* Ignore vertical segments */ + if( x0>x1 ){ + GeoCoord t = x0; + x0 = x1; + x1 = t; + t = y0; + y0 = y1; + y1 = t; + } + pSeg = p->aSegment + p->nSegment; + p->nSegment++; + pSeg->C = (y1-y0)/(x1-x0); + pSeg->B = y1 - x1*pSeg->C; + pSeg->y0 = y0; + pSeg->side = side; + pSeg->idx = idx; + pEvent = p->aEvent + p->nEvent; + p->nEvent++; + pEvent->x = x0; + pEvent->eType = 0; + pEvent->pSeg = pSeg; + pEvent = p->aEvent + p->nEvent; + p->nEvent++; + pEvent->x = x1; + pEvent->eType = 1; + pEvent->pSeg = pSeg; +} + + + +/* +** Insert all segments and events for polygon pPoly. +*/ +static void geopolyAddSegments( + GeoOverlap *p, /* Add segments to this Overlap object */ + GeoPoly *pPoly, /* Take all segments from this polygon */ + unsigned char side /* The side of pPoly */ +){ + unsigned int i; + GeoCoord *x; + for(i=0; i<(unsigned)pPoly->nVertex-1; i++){ + x = &GeoX(pPoly,i); + geopolyAddOneSegment(p, x[0], x[1], x[2], x[3], side, i); + } + x = &GeoX(pPoly,i); + geopolyAddOneSegment(p, x[0], x[1], pPoly->a[0], pPoly->a[1], side, i); +} + +/* +** Merge two lists of sorted events by X coordinate +*/ +static GeoEvent *geopolyEventMerge(GeoEvent *pLeft, GeoEvent *pRight){ + GeoEvent head, *pLast; + head.pNext = 0; + pLast = &head; + while( pRight && pLeft ){ + if( pRight->x <= pLeft->x ){ + pLast->pNext = pRight; + pLast = pRight; + pRight = pRight->pNext; + }else{ + pLast->pNext = pLeft; + pLast = pLeft; + pLeft = pLeft->pNext; + } + } + pLast->pNext = pRight ? pRight : pLeft; + return head.pNext; +} + +/* +** Sort an array of nEvent event objects into a list. +*/ +static GeoEvent *geopolySortEventsByX(GeoEvent *aEvent, int nEvent){ + int mx = 0; + int i, j; + GeoEvent *p; + GeoEvent *a[50]; + for(i=0; ipNext = 0; + for(j=0; j=mx ) mx = j+1; + } + p = 0; + for(i=0; iy - pLeft->y; + if( r==0.0 ) r = pRight->C - pLeft->C; + if( r<0.0 ){ + pLast->pNext = pRight; + pLast = pRight; + pRight = pRight->pNext; + }else{ + pLast->pNext = pLeft; + pLast = pLeft; + pLeft = pLeft->pNext; + } + } + pLast->pNext = pRight ? pRight : pLeft; + return head.pNext; +} + +/* +** Sort a list of GeoSegments in order of increasing Y and in the event of +** a tie, increasing C (slope). +*/ +static GeoSegment *geopolySortSegmentsByYAndC(GeoSegment *pList){ + int mx = 0; + int i; + GeoSegment *p; + GeoSegment *a[50]; + while( pList ){ + p = pList; + pList = pList->pNext; + p->pNext = 0; + for(i=0; i=mx ) mx = i+1; + } + p = 0; + for(i=0; inVertex + p2->nVertex + 2; + GeoOverlap *p; + sqlite3_int64 nByte; + GeoEvent *pThisEvent; + double rX; + int rc = 0; + int needSort = 0; + GeoSegment *pActive = 0; + GeoSegment *pSeg; + unsigned char aOverlap[4]; + + nByte = sizeof(GeoEvent)*nVertex*2 + + sizeof(GeoSegment)*nVertex + + sizeof(GeoOverlap); + p = sqlite3_malloc64( nByte ); + if( p==0 ) return -1; + p->aEvent = (GeoEvent*)&p[1]; + p->aSegment = (GeoSegment*)&p->aEvent[nVertex*2]; + p->nEvent = p->nSegment = 0; + geopolyAddSegments(p, p1, 1); + geopolyAddSegments(p, p2, 2); + pThisEvent = geopolySortEventsByX(p->aEvent, p->nEvent); + rX = pThisEvent->x==0.0 ? -1.0 : 0.0; + memset(aOverlap, 0, sizeof(aOverlap)); + while( pThisEvent ){ + if( pThisEvent->x!=rX ){ + GeoSegment *pPrev = 0; + int iMask = 0; + GEODEBUG(("Distinct X: %g\n", pThisEvent->x)); + rX = pThisEvent->x; + if( needSort ){ + GEODEBUG(("SORT\n")); + pActive = geopolySortSegmentsByYAndC(pActive); + needSort = 0; + } + for(pSeg=pActive; pSeg; pSeg=pSeg->pNext){ + if( pPrev ){ + if( pPrev->y!=pSeg->y ){ + GEODEBUG(("MASK: %d\n", iMask)); + aOverlap[iMask] = 1; + } + } + iMask ^= pSeg->side; + pPrev = pSeg; + } + pPrev = 0; + for(pSeg=pActive; pSeg; pSeg=pSeg->pNext){ + double y = pSeg->C*rX + pSeg->B; + GEODEBUG(("Segment %d.%d %g->%g\n", pSeg->side, pSeg->idx, pSeg->y, y)); + pSeg->y = y; + if( pPrev ){ + if( pPrev->y>pSeg->y && pPrev->side!=pSeg->side ){ + rc = 1; + GEODEBUG(("Crossing: %d.%d and %d.%d\n", + pPrev->side, pPrev->idx, + pSeg->side, pSeg->idx)); + goto geopolyOverlapDone; + }else if( pPrev->y!=pSeg->y ){ + GEODEBUG(("MASK: %d\n", iMask)); + aOverlap[iMask] = 1; + } + } + iMask ^= pSeg->side; + pPrev = pSeg; + } + } + GEODEBUG(("%s %d.%d C=%g B=%g\n", + pThisEvent->eType ? "RM " : "ADD", + pThisEvent->pSeg->side, pThisEvent->pSeg->idx, + pThisEvent->pSeg->C, + pThisEvent->pSeg->B)); + if( pThisEvent->eType==0 ){ + /* Add a segment */ + pSeg = pThisEvent->pSeg; + pSeg->y = pSeg->y0; + pSeg->pNext = pActive; + pActive = pSeg; + needSort = 1; + }else{ + /* Remove a segment */ + if( pActive==pThisEvent->pSeg ){ + pActive = pActive->pNext; + }else{ + for(pSeg=pActive; pSeg; pSeg=pSeg->pNext){ + if( pSeg->pNext==pThisEvent->pSeg ){ + pSeg->pNext = pSeg->pNext->pNext; + break; + } + } + } + } + pThisEvent = pThisEvent->pNext; + } + if( aOverlap[3]==0 ){ + rc = 0; + }else if( aOverlap[1]!=0 && aOverlap[2]==0 ){ + rc = 3; + }else if( aOverlap[1]==0 && aOverlap[2]!=0 ){ + rc = 2; + }else if( aOverlap[1]==0 && aOverlap[2]==0 ){ + rc = 4; + }else{ + rc = 1; + } + +geopolyOverlapDone: + sqlite3_free(p); + return rc; +} + +/* +** SQL function: geopoly_overlap(P1,P2) +** +** Determine whether or not P1 and P2 overlap. Return value: +** +** 0 The two polygons are disjoint +** 1 They overlap +** 2 P1 is completely contained within P2 +** 3 P2 is completely contained within P1 +** 4 P1 and P2 are the same polygon +** NULL Either P1 or P2 or both are not valid polygons +*/ +static void geopolyOverlapFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + GeoPoly *p1 = geopolyFuncParam(context, argv[0], 0); + GeoPoly *p2 = geopolyFuncParam(context, argv[1], 0); + if( p1 && p2 ){ + int x = geopolyOverlap(p1, p2); + if( x<0 ){ + sqlite3_result_error_nomem(context); + }else{ + sqlite3_result_int(context, x); + } + } + sqlite3_free(p1); + sqlite3_free(p2); +} + +/* +** Enable or disable debugging output +*/ +static void geopolyDebugFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ +#ifdef GEOPOLY_ENABLE_DEBUG + geo_debug = sqlite3_value_int(argv[0]); +#endif +} + +/* +** This function is the implementation of both the xConnect and xCreate +** methods of the geopoly virtual table. +** +** argv[0] -> module name +** argv[1] -> database name +** argv[2] -> table name +** argv[...] -> column names... +*/ +static int geopolyInit( + sqlite3 *db, /* Database connection */ + void *pAux, /* One of the RTREE_COORD_* constants */ + int argc, const char *const*argv, /* Parameters to CREATE TABLE statement */ + sqlite3_vtab **ppVtab, /* OUT: New virtual table */ + char **pzErr, /* OUT: Error message, if any */ + int isCreate /* True for xCreate, false for xConnect */ +){ + int rc = SQLITE_OK; + Rtree *pRtree; + sqlite3_int64 nDb; /* Length of string argv[1] */ + sqlite3_int64 nName; /* Length of string argv[2] */ + sqlite3_str *pSql; + char *zSql; + int ii; + + sqlite3_vtab_config(db, SQLITE_VTAB_CONSTRAINT_SUPPORT, 1); + + /* Allocate the sqlite3_vtab structure */ + nDb = strlen(argv[1]); + nName = strlen(argv[2]); + pRtree = (Rtree *)sqlite3_malloc64(sizeof(Rtree)+nDb+nName+2); + if( !pRtree ){ + return SQLITE_NOMEM; + } + memset(pRtree, 0, sizeof(Rtree)+nDb+nName+2); + pRtree->nBusy = 1; + pRtree->base.pModule = &rtreeModule; + pRtree->zDb = (char *)&pRtree[1]; + pRtree->zName = &pRtree->zDb[nDb+1]; + pRtree->eCoordType = RTREE_COORD_REAL32; + pRtree->nDim = 2; + pRtree->nDim2 = 4; + memcpy(pRtree->zDb, argv[1], nDb); + memcpy(pRtree->zName, argv[2], nName); + + + /* Create/Connect to the underlying relational database schema. If + ** that is successful, call sqlite3_declare_vtab() to configure + ** the r-tree table schema. + */ + pSql = sqlite3_str_new(db); + sqlite3_str_appendf(pSql, "CREATE TABLE x(_shape"); + pRtree->nAux = 1; /* Add one for _shape */ + pRtree->nAuxNotNull = 1; /* The _shape column is always not-null */ + for(ii=3; iinAux++; + sqlite3_str_appendf(pSql, ",%s", argv[ii]); + } + sqlite3_str_appendf(pSql, ");"); + zSql = sqlite3_str_finish(pSql); + if( !zSql ){ + rc = SQLITE_NOMEM; + }else if( SQLITE_OK!=(rc = sqlite3_declare_vtab(db, zSql)) ){ + *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db)); + } + sqlite3_free(zSql); + if( rc ) goto geopolyInit_fail; + pRtree->nBytesPerCell = 8 + pRtree->nDim2*4; + + /* Figure out the node size to use. */ + rc = getNodeSize(db, pRtree, isCreate, pzErr); + if( rc ) goto geopolyInit_fail; + rc = rtreeSqlInit(pRtree, db, argv[1], argv[2], isCreate); + if( rc ){ + *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db)); + goto geopolyInit_fail; + } + + *ppVtab = (sqlite3_vtab *)pRtree; + return SQLITE_OK; + +geopolyInit_fail: + if( rc==SQLITE_OK ) rc = SQLITE_ERROR; + assert( *ppVtab==0 ); + assert( pRtree->nBusy==1 ); + rtreeRelease(pRtree); + return rc; +} + + +/* +** GEOPOLY virtual table module xCreate method. +*/ +static int geopolyCreate( + sqlite3 *db, + void *pAux, + int argc, const char *const*argv, + sqlite3_vtab **ppVtab, + char **pzErr +){ + return geopolyInit(db, pAux, argc, argv, ppVtab, pzErr, 1); +} + +/* +** GEOPOLY virtual table module xConnect method. +*/ +static int geopolyConnect( + sqlite3 *db, + void *pAux, + int argc, const char *const*argv, + sqlite3_vtab **ppVtab, + char **pzErr +){ + return geopolyInit(db, pAux, argc, argv, ppVtab, pzErr, 0); +} + + +/* +** GEOPOLY virtual table module xFilter method. +** +** Query plans: +** +** 1 rowid lookup +** 2 search for objects overlapping the same bounding box +** that contains polygon argv[0] +** 3 search for objects overlapping the same bounding box +** that contains polygon argv[0] +** 4 full table scan +*/ +static int geopolyFilter( + sqlite3_vtab_cursor *pVtabCursor, /* The cursor to initialize */ + int idxNum, /* Query plan */ + const char *idxStr, /* Not Used */ + int argc, sqlite3_value **argv /* Parameters to the query plan */ +){ + Rtree *pRtree = (Rtree *)pVtabCursor->pVtab; + RtreeCursor *pCsr = (RtreeCursor *)pVtabCursor; + RtreeNode *pRoot = 0; + int rc = SQLITE_OK; + int iCell = 0; + sqlite3_stmt *pStmt; + + rtreeReference(pRtree); + + /* Reset the cursor to the same state as rtreeOpen() leaves it in. */ + freeCursorConstraints(pCsr); + sqlite3_free(pCsr->aPoint); + pStmt = pCsr->pReadAux; + memset(pCsr, 0, sizeof(RtreeCursor)); + pCsr->base.pVtab = (sqlite3_vtab*)pRtree; + pCsr->pReadAux = pStmt; + + pCsr->iStrategy = idxNum; + if( idxNum==1 ){ + /* Special case - lookup by rowid. */ + RtreeNode *pLeaf; /* Leaf on which the required cell resides */ + RtreeSearchPoint *p; /* Search point for the leaf */ + i64 iRowid = sqlite3_value_int64(argv[0]); + i64 iNode = 0; + rc = findLeafNode(pRtree, iRowid, &pLeaf, &iNode); + if( rc==SQLITE_OK && pLeaf!=0 ){ + p = rtreeSearchPointNew(pCsr, RTREE_ZERO, 0); + assert( p!=0 ); /* Always returns pCsr->sPoint */ + pCsr->aNode[0] = pLeaf; + p->id = iNode; + p->eWithin = PARTLY_WITHIN; + rc = nodeRowidIndex(pRtree, pLeaf, iRowid, &iCell); + p->iCell = (u8)iCell; + RTREE_QUEUE_TRACE(pCsr, "PUSH-F1:"); + }else{ + pCsr->atEOF = 1; + } + }else{ + /* Normal case - r-tree scan. Set up the RtreeCursor.aConstraint array + ** with the configured constraints. + */ + rc = nodeAcquire(pRtree, 1, 0, &pRoot); + if( rc==SQLITE_OK && idxNum<=3 ){ + RtreeCoord bbox[4]; + RtreeConstraint *p; + assert( argc==1 ); + geopolyBBox(0, argv[0], bbox, &rc); + if( rc ){ + goto geopoly_filter_end; + } + pCsr->aConstraint = p = sqlite3_malloc(sizeof(RtreeConstraint)*4); + pCsr->nConstraint = 4; + if( p==0 ){ + rc = SQLITE_NOMEM; + }else{ + memset(pCsr->aConstraint, 0, sizeof(RtreeConstraint)*4); + memset(pCsr->anQueue, 0, sizeof(u32)*(pRtree->iDepth + 1)); + if( idxNum==2 ){ + /* Overlap query */ + p->op = 'B'; + p->iCoord = 0; + p->u.rValue = bbox[1].f; + p++; + p->op = 'D'; + p->iCoord = 1; + p->u.rValue = bbox[0].f; + p++; + p->op = 'B'; + p->iCoord = 2; + p->u.rValue = bbox[3].f; + p++; + p->op = 'D'; + p->iCoord = 3; + p->u.rValue = bbox[2].f; + }else{ + /* Within query */ + p->op = 'D'; + p->iCoord = 0; + p->u.rValue = bbox[0].f; + p++; + p->op = 'B'; + p->iCoord = 1; + p->u.rValue = bbox[1].f; + p++; + p->op = 'D'; + p->iCoord = 2; + p->u.rValue = bbox[2].f; + p++; + p->op = 'B'; + p->iCoord = 3; + p->u.rValue = bbox[3].f; + } + } + } + if( rc==SQLITE_OK ){ + RtreeSearchPoint *pNew; + pNew = rtreeSearchPointNew(pCsr, RTREE_ZERO, (u8)(pRtree->iDepth+1)); + if( pNew==0 ){ + rc = SQLITE_NOMEM; + goto geopoly_filter_end; + } + pNew->id = 1; + pNew->iCell = 0; + pNew->eWithin = PARTLY_WITHIN; + assert( pCsr->bPoint==1 ); + pCsr->aNode[0] = pRoot; + pRoot = 0; + RTREE_QUEUE_TRACE(pCsr, "PUSH-Fm:"); + rc = rtreeStepToLeaf(pCsr); + } + } + +geopoly_filter_end: + nodeRelease(pRtree, pRoot); + rtreeRelease(pRtree); + return rc; +} + +/* +** Rtree virtual table module xBestIndex method. There are three +** table scan strategies to choose from (in order from most to +** least desirable): +** +** idxNum idxStr Strategy +** ------------------------------------------------ +** 1 "rowid" Direct lookup by rowid. +** 2 "rtree" R-tree overlap query using geopoly_overlap() +** 3 "rtree" R-tree within query using geopoly_within() +** 4 "fullscan" full-table scan. +** ------------------------------------------------ +*/ +static int geopolyBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ + int ii; + int iRowidTerm = -1; + int iFuncTerm = -1; + int idxNum = 0; + + for(ii=0; iinConstraint; ii++){ + struct sqlite3_index_constraint *p = &pIdxInfo->aConstraint[ii]; + if( !p->usable ) continue; + if( p->iColumn<0 && p->op==SQLITE_INDEX_CONSTRAINT_EQ ){ + iRowidTerm = ii; + break; + } + if( p->iColumn==0 && p->op>=SQLITE_INDEX_CONSTRAINT_FUNCTION ){ + /* p->op==SQLITE_INDEX_CONSTRAINT_FUNCTION for geopoly_overlap() + ** p->op==(SQLITE_INDEX_CONTRAINT_FUNCTION+1) for geopoly_within(). + ** See geopolyFindFunction() */ + iFuncTerm = ii; + idxNum = p->op - SQLITE_INDEX_CONSTRAINT_FUNCTION + 2; + } + } + + if( iRowidTerm>=0 ){ + pIdxInfo->idxNum = 1; + pIdxInfo->idxStr = "rowid"; + pIdxInfo->aConstraintUsage[iRowidTerm].argvIndex = 1; + pIdxInfo->aConstraintUsage[iRowidTerm].omit = 1; + pIdxInfo->estimatedCost = 30.0; + pIdxInfo->estimatedRows = 1; + pIdxInfo->idxFlags = SQLITE_INDEX_SCAN_UNIQUE; + return SQLITE_OK; + } + if( iFuncTerm>=0 ){ + pIdxInfo->idxNum = idxNum; + pIdxInfo->idxStr = "rtree"; + pIdxInfo->aConstraintUsage[iFuncTerm].argvIndex = 1; + pIdxInfo->aConstraintUsage[iFuncTerm].omit = 0; + pIdxInfo->estimatedCost = 300.0; + pIdxInfo->estimatedRows = 10; + return SQLITE_OK; + } + pIdxInfo->idxNum = 4; + pIdxInfo->idxStr = "fullscan"; + pIdxInfo->estimatedCost = 3000000.0; + pIdxInfo->estimatedRows = 100000; + return SQLITE_OK; +} + + +/* +** GEOPOLY virtual table module xColumn method. +*/ +static int geopolyColumn(sqlite3_vtab_cursor *cur, sqlite3_context *ctx, int i){ + Rtree *pRtree = (Rtree *)cur->pVtab; + RtreeCursor *pCsr = (RtreeCursor *)cur; + RtreeSearchPoint *p = rtreeSearchPointFirst(pCsr); + int rc = SQLITE_OK; + RtreeNode *pNode = rtreeNodeOfFirstSearchPoint(pCsr, &rc); + + if( rc ) return rc; + if( p==0 ) return SQLITE_OK; + if( i==0 && sqlite3_vtab_nochange(ctx) ) return SQLITE_OK; + if( i<=pRtree->nAux ){ + if( !pCsr->bAuxValid ){ + if( pCsr->pReadAux==0 ){ + rc = sqlite3_prepare_v3(pRtree->db, pRtree->zReadAuxSql, -1, 0, + &pCsr->pReadAux, 0); + if( rc ) return rc; + } + sqlite3_bind_int64(pCsr->pReadAux, 1, + nodeGetRowid(pRtree, pNode, p->iCell)); + rc = sqlite3_step(pCsr->pReadAux); + if( rc==SQLITE_ROW ){ + pCsr->bAuxValid = 1; + }else{ + sqlite3_reset(pCsr->pReadAux); + if( rc==SQLITE_DONE ) rc = SQLITE_OK; + return rc; + } + } + sqlite3_result_value(ctx, sqlite3_column_value(pCsr->pReadAux, i+2)); + } + return SQLITE_OK; +} + + +/* +** The xUpdate method for GEOPOLY module virtual tables. +** +** For DELETE: +** +** argv[0] = the rowid to be deleted +** +** For INSERT: +** +** argv[0] = SQL NULL +** argv[1] = rowid to insert, or an SQL NULL to select automatically +** argv[2] = _shape column +** argv[3] = first application-defined column.... +** +** For UPDATE: +** +** argv[0] = rowid to modify. Never NULL +** argv[1] = rowid after the change. Never NULL +** argv[2] = new value for _shape +** argv[3] = new value for first application-defined column.... +*/ +static int geopolyUpdate( + sqlite3_vtab *pVtab, + int nData, + sqlite3_value **aData, + sqlite_int64 *pRowid +){ + Rtree *pRtree = (Rtree *)pVtab; + int rc = SQLITE_OK; + RtreeCell cell; /* New cell to insert if nData>1 */ + i64 oldRowid; /* The old rowid */ + int oldRowidValid; /* True if oldRowid is valid */ + i64 newRowid; /* The new rowid */ + int newRowidValid; /* True if newRowid is valid */ + int coordChange = 0; /* Change in coordinates */ + + if( pRtree->nNodeRef ){ + /* Unable to write to the btree while another cursor is reading from it, + ** since the write might do a rebalance which would disrupt the read + ** cursor. */ + return SQLITE_LOCKED_VTAB; + } + rtreeReference(pRtree); + assert(nData>=1); + + oldRowidValid = sqlite3_value_type(aData[0])!=SQLITE_NULL;; + oldRowid = oldRowidValid ? sqlite3_value_int64(aData[0]) : 0; + newRowidValid = nData>1 && sqlite3_value_type(aData[1])!=SQLITE_NULL; + newRowid = newRowidValid ? sqlite3_value_int64(aData[1]) : 0; + cell.iRowid = newRowid; + + if( nData>1 /* not a DELETE */ + && (!oldRowidValid /* INSERT */ + || !sqlite3_value_nochange(aData[2]) /* UPDATE _shape */ + || oldRowid!=newRowid) /* Rowid change */ + ){ + geopolyBBox(0, aData[2], cell.aCoord, &rc); + if( rc ){ + if( rc==SQLITE_ERROR ){ + pVtab->zErrMsg = + sqlite3_mprintf("_shape does not contain a valid polygon"); + } + goto geopoly_update_end; + } + coordChange = 1; + + /* If a rowid value was supplied, check if it is already present in + ** the table. If so, the constraint has failed. */ + if( newRowidValid && (!oldRowidValid || oldRowid!=newRowid) ){ + int steprc; + sqlite3_bind_int64(pRtree->pReadRowid, 1, cell.iRowid); + steprc = sqlite3_step(pRtree->pReadRowid); + rc = sqlite3_reset(pRtree->pReadRowid); + if( SQLITE_ROW==steprc ){ + if( sqlite3_vtab_on_conflict(pRtree->db)==SQLITE_REPLACE ){ + rc = rtreeDeleteRowid(pRtree, cell.iRowid); + }else{ + rc = rtreeConstraintError(pRtree, 0); + } + } + } + } + + /* If aData[0] is not an SQL NULL value, it is the rowid of a + ** record to delete from the r-tree table. The following block does + ** just that. + */ + if( rc==SQLITE_OK && (nData==1 || (coordChange && oldRowidValid)) ){ + rc = rtreeDeleteRowid(pRtree, oldRowid); + } + + /* If the aData[] array contains more than one element, elements + ** (aData[2]..aData[argc-1]) contain a new record to insert into + ** the r-tree structure. + */ + if( rc==SQLITE_OK && nData>1 && coordChange ){ + /* Insert the new record into the r-tree */ + RtreeNode *pLeaf = 0; + if( !newRowidValid ){ + rc = rtreeNewRowid(pRtree, &cell.iRowid); + } + *pRowid = cell.iRowid; + if( rc==SQLITE_OK ){ + rc = ChooseLeaf(pRtree, &cell, 0, &pLeaf); + } + if( rc==SQLITE_OK ){ + int rc2; + pRtree->iReinsertHeight = -1; + rc = rtreeInsertCell(pRtree, pLeaf, &cell, 0); + rc2 = nodeRelease(pRtree, pLeaf); + if( rc==SQLITE_OK ){ + rc = rc2; + } + } + } + + /* Change the data */ + if( rc==SQLITE_OK && nData>1 ){ + sqlite3_stmt *pUp = pRtree->pWriteAux; + int jj; + int nChange = 0; + sqlite3_bind_int64(pUp, 1, cell.iRowid); + assert( pRtree->nAux>=1 ); + if( sqlite3_value_nochange(aData[2]) ){ + sqlite3_bind_null(pUp, 2); + }else{ + GeoPoly *p = 0; + if( sqlite3_value_type(aData[2])==SQLITE_TEXT + && (p = geopolyFuncParam(0, aData[2], &rc))!=0 + && rc==SQLITE_OK + ){ + sqlite3_bind_blob(pUp, 2, p->hdr, 4+8*p->nVertex, SQLITE_TRANSIENT); + }else{ + sqlite3_bind_value(pUp, 2, aData[2]); + } + sqlite3_free(p); + nChange = 1; + } + for(jj=1; jjnAux; jj++){ + nChange++; + sqlite3_bind_value(pUp, jj+2, aData[jj+2]); + } + if( nChange ){ + sqlite3_step(pUp); + rc = sqlite3_reset(pUp); + } + } + +geopoly_update_end: + rtreeRelease(pRtree); + return rc; +} + +/* +** Report that geopoly_overlap() is an overloaded function suitable +** for use in xBestIndex. +*/ +static int geopolyFindFunction( + sqlite3_vtab *pVtab, + int nArg, + const char *zName, + void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), + void **ppArg +){ + if( sqlite3_stricmp(zName, "geopoly_overlap")==0 ){ + *pxFunc = geopolyOverlapFunc; + *ppArg = 0; + return SQLITE_INDEX_CONSTRAINT_FUNCTION; + } + if( sqlite3_stricmp(zName, "geopoly_within")==0 ){ + *pxFunc = geopolyWithinFunc; + *ppArg = 0; + return SQLITE_INDEX_CONSTRAINT_FUNCTION+1; + } + return 0; +} + + +static sqlite3_module geopolyModule = { + 3, /* iVersion */ + geopolyCreate, /* xCreate - create a table */ + geopolyConnect, /* xConnect - connect to an existing table */ + geopolyBestIndex, /* xBestIndex - Determine search strategy */ + rtreeDisconnect, /* xDisconnect - Disconnect from a table */ + rtreeDestroy, /* xDestroy - Drop a table */ + rtreeOpen, /* xOpen - open a cursor */ + rtreeClose, /* xClose - close a cursor */ + geopolyFilter, /* xFilter - configure scan constraints */ + rtreeNext, /* xNext - advance a cursor */ + rtreeEof, /* xEof */ + geopolyColumn, /* xColumn - read data */ + rtreeRowid, /* xRowid - read data */ + geopolyUpdate, /* xUpdate - write data */ + rtreeBeginTransaction, /* xBegin - begin transaction */ + rtreeEndTransaction, /* xSync - sync transaction */ + rtreeEndTransaction, /* xCommit - commit transaction */ + rtreeEndTransaction, /* xRollback - rollback transaction */ + geopolyFindFunction, /* xFindFunction - function overloading */ + rtreeRename, /* xRename - rename the table */ + rtreeSavepoint, /* xSavepoint */ + 0, /* xRelease */ + 0, /* xRollbackTo */ + rtreeShadowName /* xShadowName */ +}; + +static int sqlite3_geopoly_init(sqlite3 *db){ + int rc = SQLITE_OK; + static const struct { + void (*xFunc)(sqlite3_context*,int,sqlite3_value**); + signed char nArg; + unsigned char bPure; + const char *zName; + } aFunc[] = { + { geopolyAreaFunc, 1, 1, "geopoly_area" }, + { geopolyBlobFunc, 1, 1, "geopoly_blob" }, + { geopolyJsonFunc, 1, 1, "geopoly_json" }, + { geopolySvgFunc, -1, 1, "geopoly_svg" }, + { geopolyWithinFunc, 2, 1, "geopoly_within" }, + { geopolyContainsPointFunc, 3, 1, "geopoly_contains_point" }, + { geopolyOverlapFunc, 2, 1, "geopoly_overlap" }, + { geopolyDebugFunc, 1, 0, "geopoly_debug" }, + { geopolyBBoxFunc, 1, 1, "geopoly_bbox" }, + { geopolyXformFunc, 7, 1, "geopoly_xform" }, + { geopolyRegularFunc, 4, 1, "geopoly_regular" }, + { geopolyCcwFunc, 1, 1, "geopoly_ccw" }, + }; + static const struct { + void (*xStep)(sqlite3_context*,int,sqlite3_value**); + void (*xFinal)(sqlite3_context*); + const char *zName; + } aAgg[] = { + { geopolyBBoxStep, geopolyBBoxFinal, "geopoly_group_bbox" }, + }; + int i; + for(i=0; ixDestructor ) pInfo->xDestructor(pInfo->pContext); + sqlite3_free(p); +} + +/* +** This routine frees the BLOB that is returned by geomCallback(). +*/ +static void rtreeMatchArgFree(void *pArg){ + int i; + RtreeMatchArg *p = (RtreeMatchArg*)pArg; + for(i=0; inParam; i++){ + sqlite3_value_free(p->apSqlParam[i]); + } + sqlite3_free(p); +} + +/* +** Each call to sqlite3_rtree_geometry_callback() or +** sqlite3_rtree_query_callback() creates an ordinary SQLite +** scalar function that is implemented by this routine. +** +** All this function does is construct an RtreeMatchArg object that +** contains the geometry-checking callback routines and a list of +** parameters to this function, then return that RtreeMatchArg object +** as a BLOB. +** +** The R-Tree MATCH operator will read the returned BLOB, deserialize +** the RtreeMatchArg object, and use the RtreeMatchArg object to figure +** out which elements of the R-Tree should be returned by the query. +*/ +static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){ + RtreeGeomCallback *pGeomCtx = (RtreeGeomCallback *)sqlite3_user_data(ctx); + RtreeMatchArg *pBlob; + sqlite3_int64 nBlob; + int memErr = 0; + + nBlob = sizeof(RtreeMatchArg) + (nArg-1)*sizeof(RtreeDValue) + + nArg*sizeof(sqlite3_value*); + pBlob = (RtreeMatchArg *)sqlite3_malloc64(nBlob); + if( !pBlob ){ + sqlite3_result_error_nomem(ctx); + }else{ + int i; + pBlob->iSize = nBlob; + pBlob->cb = pGeomCtx[0]; + pBlob->apSqlParam = (sqlite3_value**)&pBlob->aParam[nArg]; + pBlob->nParam = nArg; + for(i=0; iapSqlParam[i] = sqlite3_value_dup(aArg[i]); + if( pBlob->apSqlParam[i]==0 ) memErr = 1; +#ifdef SQLITE_RTREE_INT_ONLY + pBlob->aParam[i] = sqlite3_value_int64(aArg[i]); +#else + pBlob->aParam[i] = sqlite3_value_double(aArg[i]); +#endif + } + if( memErr ){ + sqlite3_result_error_nomem(ctx); + rtreeMatchArgFree(pBlob); + }else{ + sqlite3_result_pointer(ctx, pBlob, "RtreeMatchArg", rtreeMatchArgFree); + } + } +} + +/* +** Register a new geometry function for use with the r-tree MATCH operator. +*/ +SQLITE_API int sqlite3_rtree_geometry_callback( + sqlite3 *db, /* Register SQL function on this connection */ + const char *zGeom, /* Name of the new SQL function */ + int (*xGeom)(sqlite3_rtree_geometry*,int,RtreeDValue*,int*), /* Callback */ + void *pContext /* Extra data associated with the callback */ +){ + RtreeGeomCallback *pGeomCtx; /* Context object for new user-function */ + + /* Allocate and populate the context object. */ + pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback)); + if( !pGeomCtx ) return SQLITE_NOMEM; + pGeomCtx->xGeom = xGeom; + pGeomCtx->xQueryFunc = 0; + pGeomCtx->xDestructor = 0; + pGeomCtx->pContext = pContext; + return sqlite3_create_function_v2(db, zGeom, -1, SQLITE_ANY, + (void *)pGeomCtx, geomCallback, 0, 0, rtreeFreeCallback + ); +} + +/* +** Register a new 2nd-generation geometry function for use with the +** r-tree MATCH operator. +*/ +SQLITE_API int sqlite3_rtree_query_callback( + sqlite3 *db, /* Register SQL function on this connection */ + const char *zQueryFunc, /* Name of new SQL function */ + int (*xQueryFunc)(sqlite3_rtree_query_info*), /* Callback */ + void *pContext, /* Extra data passed into the callback */ + void (*xDestructor)(void*) /* Destructor for the extra data */ +){ + RtreeGeomCallback *pGeomCtx; /* Context object for new user-function */ + + /* Allocate and populate the context object. */ + pGeomCtx = (RtreeGeomCallback *)sqlite3_malloc(sizeof(RtreeGeomCallback)); + if( !pGeomCtx ) return SQLITE_NOMEM; + pGeomCtx->xGeom = 0; + pGeomCtx->xQueryFunc = xQueryFunc; + pGeomCtx->xDestructor = xDestructor; + pGeomCtx->pContext = pContext; + return sqlite3_create_function_v2(db, zQueryFunc, -1, SQLITE_ANY, + (void *)pGeomCtx, geomCallback, 0, 0, rtreeFreeCallback + ); +} + +#if !SQLITE_CORE +#ifdef _WIN32 +__declspec(dllexport) +#endif +SQLITE_API int sqlite3_rtree_init( + sqlite3 *db, + char **pzErrMsg, + const sqlite3_api_routines *pApi +){ + SQLITE_EXTENSION_INIT2(pApi) + return sqlite3RtreeInit(db); +} +#endif + +#endif + +/************** End of rtree.c ***********************************************/ +/************** Begin file icu.c *********************************************/ +/* +** 2007 May 6 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** $Id: icu.c,v 1.7 2007/12/13 21:54:11 drh Exp $ +** +** This file implements an integration between the ICU library +** ("International Components for Unicode", an open-source library +** for handling unicode data) and SQLite. The integration uses +** ICU to provide the following to SQLite: +** +** * An implementation of the SQL regexp() function (and hence REGEXP +** operator) using the ICU uregex_XX() APIs. +** +** * Implementations of the SQL scalar upper() and lower() functions +** for case mapping. +** +** * Integration of ICU and SQLite collation sequences. +** +** * An implementation of the LIKE operator that uses ICU to +** provide case-independent matching. +*/ + +#if !defined(SQLITE_CORE) \ + || defined(SQLITE_ENABLE_ICU) \ + || defined(SQLITE_ENABLE_ICU_COLLATIONS) + +/* Include ICU headers */ +#include +#include +#include +#include + +/* #include */ + +#ifndef SQLITE_CORE +/* #include "sqlite3ext.h" */ + SQLITE_EXTENSION_INIT1 +#else +/* #include "sqlite3.h" */ +#endif + +/* +** This function is called when an ICU function called from within +** the implementation of an SQL scalar function returns an error. +** +** The scalar function context passed as the first argument is +** loaded with an error message based on the following two args. +*/ +static void icuFunctionError( + sqlite3_context *pCtx, /* SQLite scalar function context */ + const char *zName, /* Name of ICU function that failed */ + UErrorCode e /* Error code returned by ICU function */ +){ + char zBuf[128]; + sqlite3_snprintf(128, zBuf, "ICU error: %s(): %s", zName, u_errorName(e)); + zBuf[127] = '\0'; + sqlite3_result_error(pCtx, zBuf, -1); +} + +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_ICU) + +/* +** Maximum length (in bytes) of the pattern in a LIKE or GLOB +** operator. +*/ +#ifndef SQLITE_MAX_LIKE_PATTERN_LENGTH +# define SQLITE_MAX_LIKE_PATTERN_LENGTH 50000 +#endif + +/* +** Version of sqlite3_free() that is always a function, never a macro. +*/ +static void xFree(void *p){ + sqlite3_free(p); +} + +/* +** This lookup table is used to help decode the first byte of +** a multi-byte UTF8 character. It is copied here from SQLite source +** code file utf8.c. +*/ +static const unsigned char icuUtf8Trans1[] = { + 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, + 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, + 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, + 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, + 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, + 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, + 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, + 0x00, 0x01, 0x02, 0x03, 0x00, 0x01, 0x00, 0x00, +}; + +#define SQLITE_ICU_READ_UTF8(zIn, c) \ + c = *(zIn++); \ + if( c>=0xc0 ){ \ + c = icuUtf8Trans1[c-0xc0]; \ + while( (*zIn & 0xc0)==0x80 ){ \ + c = (c<<6) + (0x3f & *(zIn++)); \ + } \ + } + +#define SQLITE_ICU_SKIP_UTF8(zIn) \ + assert( *zIn ); \ + if( *(zIn++)>=0xc0 ){ \ + while( (*zIn & 0xc0)==0x80 ){zIn++;} \ + } + + +/* +** Compare two UTF-8 strings for equality where the first string is +** a "LIKE" expression. Return true (1) if they are the same and +** false (0) if they are different. +*/ +static int icuLikeCompare( + const uint8_t *zPattern, /* LIKE pattern */ + const uint8_t *zString, /* The UTF-8 string to compare against */ + const UChar32 uEsc /* The escape character */ +){ + static const uint32_t MATCH_ONE = (uint32_t)'_'; + static const uint32_t MATCH_ALL = (uint32_t)'%'; + + int prevEscape = 0; /* True if the previous character was uEsc */ + + while( 1 ){ + + /* Read (and consume) the next character from the input pattern. */ + uint32_t uPattern; + SQLITE_ICU_READ_UTF8(zPattern, uPattern); + if( uPattern==0 ) break; + + /* There are now 4 possibilities: + ** + ** 1. uPattern is an unescaped match-all character "%", + ** 2. uPattern is an unescaped match-one character "_", + ** 3. uPattern is an unescaped escape character, or + ** 4. uPattern is to be handled as an ordinary character + */ + if( !prevEscape && uPattern==MATCH_ALL ){ + /* Case 1. */ + uint8_t c; + + /* Skip any MATCH_ALL or MATCH_ONE characters that follow a + ** MATCH_ALL. For each MATCH_ONE, skip one character in the + ** test string. + */ + while( (c=*zPattern) == MATCH_ALL || c == MATCH_ONE ){ + if( c==MATCH_ONE ){ + if( *zString==0 ) return 0; + SQLITE_ICU_SKIP_UTF8(zString); + } + zPattern++; + } + + if( *zPattern==0 ) return 1; + + while( *zString ){ + if( icuLikeCompare(zPattern, zString, uEsc) ){ + return 1; + } + SQLITE_ICU_SKIP_UTF8(zString); + } + return 0; + + }else if( !prevEscape && uPattern==MATCH_ONE ){ + /* Case 2. */ + if( *zString==0 ) return 0; + SQLITE_ICU_SKIP_UTF8(zString); + + }else if( !prevEscape && uPattern==(uint32_t)uEsc){ + /* Case 3. */ + prevEscape = 1; + + }else{ + /* Case 4. */ + uint32_t uString; + SQLITE_ICU_READ_UTF8(zString, uString); + uString = (uint32_t)u_foldCase((UChar32)uString, U_FOLD_CASE_DEFAULT); + uPattern = (uint32_t)u_foldCase((UChar32)uPattern, U_FOLD_CASE_DEFAULT); + if( uString!=uPattern ){ + return 0; + } + prevEscape = 0; + } + } + + return *zString==0; +} + +/* +** Implementation of the like() SQL function. This function implements +** the build-in LIKE operator. The first argument to the function is the +** pattern and the second argument is the string. So, the SQL statements: +** +** A LIKE B +** +** is implemented as like(B, A). If there is an escape character E, +** +** A LIKE B ESCAPE E +** +** is mapped to like(B, A, E). +*/ +static void icuLikeFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + const unsigned char *zA = sqlite3_value_text(argv[0]); + const unsigned char *zB = sqlite3_value_text(argv[1]); + UChar32 uEsc = 0; + + /* Limit the length of the LIKE or GLOB pattern to avoid problems + ** of deep recursion and N*N behavior in patternCompare(). + */ + if( sqlite3_value_bytes(argv[0])>SQLITE_MAX_LIKE_PATTERN_LENGTH ){ + sqlite3_result_error(context, "LIKE or GLOB pattern too complex", -1); + return; + } + + + if( argc==3 ){ + /* The escape character string must consist of a single UTF-8 character. + ** Otherwise, return an error. + */ + int nE= sqlite3_value_bytes(argv[2]); + const unsigned char *zE = sqlite3_value_text(argv[2]); + int i = 0; + if( zE==0 ) return; + U8_NEXT(zE, i, nE, uEsc); + if( i!=nE){ + sqlite3_result_error(context, + "ESCAPE expression must be a single character", -1); + return; + } + } + + if( zA && zB ){ + sqlite3_result_int(context, icuLikeCompare(zA, zB, uEsc)); + } +} + +/* +** Function to delete compiled regexp objects. Registered as +** a destructor function with sqlite3_set_auxdata(). +*/ +static void icuRegexpDelete(void *p){ + URegularExpression *pExpr = (URegularExpression *)p; + uregex_close(pExpr); +} + +/* +** Implementation of SQLite REGEXP operator. This scalar function takes +** two arguments. The first is a regular expression pattern to compile +** the second is a string to match against that pattern. If either +** argument is an SQL NULL, then NULL Is returned. Otherwise, the result +** is 1 if the string matches the pattern, or 0 otherwise. +** +** SQLite maps the regexp() function to the regexp() operator such +** that the following two are equivalent: +** +** zString REGEXP zPattern +** regexp(zPattern, zString) +** +** Uses the following ICU regexp APIs: +** +** uregex_open() +** uregex_matches() +** uregex_close() +*/ +static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){ + UErrorCode status = U_ZERO_ERROR; + URegularExpression *pExpr; + UBool res; + const UChar *zString = sqlite3_value_text16(apArg[1]); + + (void)nArg; /* Unused parameter */ + + /* If the left hand side of the regexp operator is NULL, + ** then the result is also NULL. + */ + if( !zString ){ + return; + } + + pExpr = sqlite3_get_auxdata(p, 0); + if( !pExpr ){ + const UChar *zPattern = sqlite3_value_text16(apArg[0]); + if( !zPattern ){ + return; + } + pExpr = uregex_open(zPattern, -1, 0, 0, &status); + + if( U_SUCCESS(status) ){ + sqlite3_set_auxdata(p, 0, pExpr, icuRegexpDelete); + }else{ + assert(!pExpr); + icuFunctionError(p, "uregex_open", status); + return; + } + } + + /* Configure the text that the regular expression operates on. */ + uregex_setText(pExpr, zString, -1, &status); + if( !U_SUCCESS(status) ){ + icuFunctionError(p, "uregex_setText", status); + return; + } + + /* Attempt the match */ + res = uregex_matches(pExpr, 0, &status); + if( !U_SUCCESS(status) ){ + icuFunctionError(p, "uregex_matches", status); + return; + } + + /* Set the text that the regular expression operates on to a NULL + ** pointer. This is not really necessary, but it is tidier than + ** leaving the regular expression object configured with an invalid + ** pointer after this function returns. + */ + uregex_setText(pExpr, 0, 0, &status); + + /* Return 1 or 0. */ + sqlite3_result_int(p, res ? 1 : 0); +} + +/* +** Implementations of scalar functions for case mapping - upper() and +** lower(). Function upper() converts its input to upper-case (ABC). +** Function lower() converts to lower-case (abc). +** +** ICU provides two types of case mapping, "general" case mapping and +** "language specific". Refer to ICU documentation for the differences +** between the two. +** +** To utilise "general" case mapping, the upper() or lower() scalar +** functions are invoked with one argument: +** +** upper('ABC') -> 'abc' +** lower('abc') -> 'ABC' +** +** To access ICU "language specific" case mapping, upper() or lower() +** should be invoked with two arguments. The second argument is the name +** of the locale to use. Passing an empty string ("") or SQL NULL value +** as the second argument is the same as invoking the 1 argument version +** of upper() or lower(). +** +** lower('I', 'en_us') -> 'i' +** lower('I', 'tr_tr') -> '\u131' (small dotless i) +** +** http://www.icu-project.org/userguide/posix.html#case_mappings +*/ +static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){ + const UChar *zInput; /* Pointer to input string */ + UChar *zOutput = 0; /* Pointer to output buffer */ + int nInput; /* Size of utf-16 input string in bytes */ + int nOut; /* Size of output buffer in bytes */ + int cnt; + int bToUpper; /* True for toupper(), false for tolower() */ + UErrorCode status; + const char *zLocale = 0; + + assert(nArg==1 || nArg==2); + bToUpper = (sqlite3_user_data(p)!=0); + if( nArg==2 ){ + zLocale = (const char *)sqlite3_value_text(apArg[1]); + } + + zInput = sqlite3_value_text16(apArg[0]); + if( !zInput ){ + return; + } + nOut = nInput = sqlite3_value_bytes16(apArg[0]); + if( nOut==0 ){ + sqlite3_result_text16(p, "", 0, SQLITE_STATIC); + return; + } + + for(cnt=0; cnt<2; cnt++){ + UChar *zNew = sqlite3_realloc(zOutput, nOut); + if( zNew==0 ){ + sqlite3_free(zOutput); + sqlite3_result_error_nomem(p); + return; + } + zOutput = zNew; + status = U_ZERO_ERROR; + if( bToUpper ){ + nOut = 2*u_strToUpper(zOutput,nOut/2,zInput,nInput/2,zLocale,&status); + }else{ + nOut = 2*u_strToLower(zOutput,nOut/2,zInput,nInput/2,zLocale,&status); + } + + if( U_SUCCESS(status) ){ + sqlite3_result_text16(p, zOutput, nOut, xFree); + }else if( status==U_BUFFER_OVERFLOW_ERROR ){ + assert( cnt==0 ); + continue; + }else{ + icuFunctionError(p, bToUpper ? "u_strToUpper" : "u_strToLower", status); + } + return; + } + assert( 0 ); /* Unreachable */ +} + +#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_ICU) */ + +/* +** Collation sequence destructor function. The pCtx argument points to +** a UCollator structure previously allocated using ucol_open(). +*/ +static void icuCollationDel(void *pCtx){ + UCollator *p = (UCollator *)pCtx; + ucol_close(p); +} + +/* +** Collation sequence comparison function. The pCtx argument points to +** a UCollator structure previously allocated using ucol_open(). +*/ +static int icuCollationColl( + void *pCtx, + int nLeft, + const void *zLeft, + int nRight, + const void *zRight +){ + UCollationResult res; + UCollator *p = (UCollator *)pCtx; + res = ucol_strcoll(p, (UChar *)zLeft, nLeft/2, (UChar *)zRight, nRight/2); + switch( res ){ + case UCOL_LESS: return -1; + case UCOL_GREATER: return +1; + case UCOL_EQUAL: return 0; + } + assert(!"Unexpected return value from ucol_strcoll()"); + return 0; +} + +/* +** Implementation of the scalar function icu_load_collation(). +** +** This scalar function is used to add ICU collation based collation +** types to an SQLite database connection. It is intended to be called +** as follows: +** +** SELECT icu_load_collation(, ); +** +** Where is a string containing an ICU locale identifier (i.e. +** "en_AU", "tr_TR" etc.) and is the name of the +** collation sequence to create. +*/ +static void icuLoadCollation( + sqlite3_context *p, + int nArg, + sqlite3_value **apArg +){ + sqlite3 *db = (sqlite3 *)sqlite3_user_data(p); + UErrorCode status = U_ZERO_ERROR; + const char *zLocale; /* Locale identifier - (eg. "jp_JP") */ + const char *zName; /* SQL Collation sequence name (eg. "japanese") */ + UCollator *pUCollator; /* ICU library collation object */ + int rc; /* Return code from sqlite3_create_collation_x() */ + + assert(nArg==2); + (void)nArg; /* Unused parameter */ + zLocale = (const char *)sqlite3_value_text(apArg[0]); + zName = (const char *)sqlite3_value_text(apArg[1]); + + if( !zLocale || !zName ){ + return; + } + + pUCollator = ucol_open(zLocale, &status); + if( !U_SUCCESS(status) ){ + icuFunctionError(p, "ucol_open", status); + return; + } + assert(p); + + rc = sqlite3_create_collation_v2(db, zName, SQLITE_UTF16, (void *)pUCollator, + icuCollationColl, icuCollationDel + ); + if( rc!=SQLITE_OK ){ + ucol_close(pUCollator); + sqlite3_result_error(p, "Error registering collation function", -1); + } +} + +/* +** Register the ICU extension functions with database db. +*/ +SQLITE_PRIVATE int sqlite3IcuInit(sqlite3 *db){ + static const struct IcuScalar { + const char *zName; /* Function name */ + unsigned char nArg; /* Number of arguments */ + unsigned short enc; /* Optimal text encoding */ + unsigned char iContext; /* sqlite3_user_data() context */ + void (*xFunc)(sqlite3_context*,int,sqlite3_value**); + } scalars[] = { + {"icu_load_collation", 2, SQLITE_UTF8, 1, icuLoadCollation}, +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_ICU) + {"regexp", 2, SQLITE_ANY|SQLITE_DETERMINISTIC, 0, icuRegexpFunc}, + {"lower", 1, SQLITE_UTF16|SQLITE_DETERMINISTIC, 0, icuCaseFunc16}, + {"lower", 2, SQLITE_UTF16|SQLITE_DETERMINISTIC, 0, icuCaseFunc16}, + {"upper", 1, SQLITE_UTF16|SQLITE_DETERMINISTIC, 1, icuCaseFunc16}, + {"upper", 2, SQLITE_UTF16|SQLITE_DETERMINISTIC, 1, icuCaseFunc16}, + {"lower", 1, SQLITE_UTF8|SQLITE_DETERMINISTIC, 0, icuCaseFunc16}, + {"lower", 2, SQLITE_UTF8|SQLITE_DETERMINISTIC, 0, icuCaseFunc16}, + {"upper", 1, SQLITE_UTF8|SQLITE_DETERMINISTIC, 1, icuCaseFunc16}, + {"upper", 2, SQLITE_UTF8|SQLITE_DETERMINISTIC, 1, icuCaseFunc16}, + {"like", 2, SQLITE_UTF8|SQLITE_DETERMINISTIC, 0, icuLikeFunc}, + {"like", 3, SQLITE_UTF8|SQLITE_DETERMINISTIC, 0, icuLikeFunc}, +#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_ICU) */ + }; + int rc = SQLITE_OK; + int i; + + for(i=0; rc==SQLITE_OK && i<(int)(sizeof(scalars)/sizeof(scalars[0])); i++){ + const struct IcuScalar *p = &scalars[i]; + rc = sqlite3_create_function( + db, p->zName, p->nArg, p->enc, + p->iContext ? (void*)db : (void*)0, + p->xFunc, 0, 0 + ); + } + + return rc; +} + +#if !SQLITE_CORE +#ifdef _WIN32 +__declspec(dllexport) +#endif +SQLITE_API int sqlite3_icu_init( + sqlite3 *db, + char **pzErrMsg, + const sqlite3_api_routines *pApi +){ + SQLITE_EXTENSION_INIT2(pApi) + return sqlite3IcuInit(db); +} +#endif + +#endif + +/************** End of icu.c *************************************************/ +/************** Begin file fts3_icu.c ****************************************/ +/* +** 2007 June 22 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** This file implements a tokenizer for fts3 based on the ICU library. +*/ +/* #include "fts3Int.h" */ +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) +#ifdef SQLITE_ENABLE_ICU + +/* #include */ +/* #include */ +/* #include "fts3_tokenizer.h" */ + +#include +/* #include */ +/* #include */ +#include + +typedef struct IcuTokenizer IcuTokenizer; +typedef struct IcuCursor IcuCursor; + +struct IcuTokenizer { + sqlite3_tokenizer base; + char *zLocale; +}; + +struct IcuCursor { + sqlite3_tokenizer_cursor base; + + UBreakIterator *pIter; /* ICU break-iterator object */ + int nChar; /* Number of UChar elements in pInput */ + UChar *aChar; /* Copy of input using utf-16 encoding */ + int *aOffset; /* Offsets of each character in utf-8 input */ + + int nBuffer; + char *zBuffer; + + int iToken; +}; + +/* +** Create a new tokenizer instance. +*/ +static int icuCreate( + int argc, /* Number of entries in argv[] */ + const char * const *argv, /* Tokenizer creation arguments */ + sqlite3_tokenizer **ppTokenizer /* OUT: Created tokenizer */ +){ + IcuTokenizer *p; + int n = 0; + + if( argc>0 ){ + n = strlen(argv[0])+1; + } + p = (IcuTokenizer *)sqlite3_malloc64(sizeof(IcuTokenizer)+n); + if( !p ){ + return SQLITE_NOMEM; + } + memset(p, 0, sizeof(IcuTokenizer)); + + if( n ){ + p->zLocale = (char *)&p[1]; + memcpy(p->zLocale, argv[0], n); + } + + *ppTokenizer = (sqlite3_tokenizer *)p; + + return SQLITE_OK; +} + +/* +** Destroy a tokenizer +*/ +static int icuDestroy(sqlite3_tokenizer *pTokenizer){ + IcuTokenizer *p = (IcuTokenizer *)pTokenizer; + sqlite3_free(p); + return SQLITE_OK; +} + +/* +** Prepare to begin tokenizing a particular string. The input +** string to be tokenized is pInput[0..nBytes-1]. A cursor +** used to incrementally tokenize this string is returned in +** *ppCursor. +*/ +static int icuOpen( + sqlite3_tokenizer *pTokenizer, /* The tokenizer */ + const char *zInput, /* Input string */ + int nInput, /* Length of zInput in bytes */ + sqlite3_tokenizer_cursor **ppCursor /* OUT: Tokenization cursor */ +){ + IcuTokenizer *p = (IcuTokenizer *)pTokenizer; + IcuCursor *pCsr; + + const int32_t opt = U_FOLD_CASE_DEFAULT; + UErrorCode status = U_ZERO_ERROR; + int nChar; + + UChar32 c; + int iInput = 0; + int iOut = 0; + + *ppCursor = 0; + + if( zInput==0 ){ + nInput = 0; + zInput = ""; + }else if( nInput<0 ){ + nInput = strlen(zInput); + } + nChar = nInput+1; + pCsr = (IcuCursor *)sqlite3_malloc64( + sizeof(IcuCursor) + /* IcuCursor */ + ((nChar+3)&~3) * sizeof(UChar) + /* IcuCursor.aChar[] */ + (nChar+1) * sizeof(int) /* IcuCursor.aOffset[] */ + ); + if( !pCsr ){ + return SQLITE_NOMEM; + } + memset(pCsr, 0, sizeof(IcuCursor)); + pCsr->aChar = (UChar *)&pCsr[1]; + pCsr->aOffset = (int *)&pCsr->aChar[(nChar+3)&~3]; + + pCsr->aOffset[iOut] = iInput; + U8_NEXT(zInput, iInput, nInput, c); + while( c>0 ){ + int isError = 0; + c = u_foldCase(c, opt); + U16_APPEND(pCsr->aChar, iOut, nChar, c, isError); + if( isError ){ + sqlite3_free(pCsr); + return SQLITE_ERROR; + } + pCsr->aOffset[iOut] = iInput; + + if( iInputpIter = ubrk_open(UBRK_WORD, p->zLocale, pCsr->aChar, iOut, &status); + if( !U_SUCCESS(status) ){ + sqlite3_free(pCsr); + return SQLITE_ERROR; + } + pCsr->nChar = iOut; + + ubrk_first(pCsr->pIter); + *ppCursor = (sqlite3_tokenizer_cursor *)pCsr; + return SQLITE_OK; +} + +/* +** Close a tokenization cursor previously opened by a call to icuOpen(). +*/ +static int icuClose(sqlite3_tokenizer_cursor *pCursor){ + IcuCursor *pCsr = (IcuCursor *)pCursor; + ubrk_close(pCsr->pIter); + sqlite3_free(pCsr->zBuffer); + sqlite3_free(pCsr); + return SQLITE_OK; +} + +/* +** Extract the next token from a tokenization cursor. +*/ +static int icuNext( + sqlite3_tokenizer_cursor *pCursor, /* Cursor returned by simpleOpen */ + const char **ppToken, /* OUT: *ppToken is the token text */ + int *pnBytes, /* OUT: Number of bytes in token */ + int *piStartOffset, /* OUT: Starting offset of token */ + int *piEndOffset, /* OUT: Ending offset of token */ + int *piPosition /* OUT: Position integer of token */ +){ + IcuCursor *pCsr = (IcuCursor *)pCursor; + + int iStart = 0; + int iEnd = 0; + int nByte = 0; + + while( iStart==iEnd ){ + UChar32 c; + + iStart = ubrk_current(pCsr->pIter); + iEnd = ubrk_next(pCsr->pIter); + if( iEnd==UBRK_DONE ){ + return SQLITE_DONE; + } + + while( iStartaChar, iWhite, pCsr->nChar, c); + if( u_isspace(c) ){ + iStart = iWhite; + }else{ + break; + } + } + assert(iStart<=iEnd); + } + + do { + UErrorCode status = U_ZERO_ERROR; + if( nByte ){ + char *zNew = sqlite3_realloc(pCsr->zBuffer, nByte); + if( !zNew ){ + return SQLITE_NOMEM; + } + pCsr->zBuffer = zNew; + pCsr->nBuffer = nByte; + } + + u_strToUTF8( + pCsr->zBuffer, pCsr->nBuffer, &nByte, /* Output vars */ + &pCsr->aChar[iStart], iEnd-iStart, /* Input vars */ + &status /* Output success/failure */ + ); + } while( nByte>pCsr->nBuffer ); + + *ppToken = pCsr->zBuffer; + *pnBytes = nByte; + *piStartOffset = pCsr->aOffset[iStart]; + *piEndOffset = pCsr->aOffset[iEnd]; + *piPosition = pCsr->iToken++; + + return SQLITE_OK; +} + +/* +** The set of routines that implement the simple tokenizer +*/ +static const sqlite3_tokenizer_module icuTokenizerModule = { + 0, /* iVersion */ + icuCreate, /* xCreate */ + icuDestroy, /* xCreate */ + icuOpen, /* xOpen */ + icuClose, /* xClose */ + icuNext, /* xNext */ + 0, /* xLanguageid */ +}; + +/* +** Set *ppModule to point at the implementation of the ICU tokenizer. +*/ +SQLITE_PRIVATE void sqlite3Fts3IcuTokenizerModule( + sqlite3_tokenizer_module const**ppModule +){ + *ppModule = &icuTokenizerModule; +} + +#endif /* defined(SQLITE_ENABLE_ICU) */ +#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ + +/************** End of fts3_icu.c ********************************************/ +/************** Begin file sqlite3rbu.c **************************************/ +/* +** 2014 August 30 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** +** OVERVIEW +** +** The RBU extension requires that the RBU update be packaged as an +** SQLite database. The tables it expects to find are described in +** sqlite3rbu.h. Essentially, for each table xyz in the target database +** that the user wishes to write to, a corresponding data_xyz table is +** created in the RBU database and populated with one row for each row to +** update, insert or delete from the target table. +** +** The update proceeds in three stages: +** +** 1) The database is updated. The modified database pages are written +** to a *-oal file. A *-oal file is just like a *-wal file, except +** that it is named "-oal" instead of "-wal". +** Because regular SQLite clients do not look for file named +** "-oal", they go on using the original database in +** rollback mode while the *-oal file is being generated. +** +** During this stage RBU does not update the database by writing +** directly to the target tables. Instead it creates "imposter" +** tables using the SQLITE_TESTCTRL_IMPOSTER interface that it uses +** to update each b-tree individually. All updates required by each +** b-tree are completed before moving on to the next, and all +** updates are done in sorted key order. +** +** 2) The "-oal" file is moved to the equivalent "-wal" +** location using a call to rename(2). Before doing this the RBU +** module takes an EXCLUSIVE lock on the database file, ensuring +** that there are no other active readers. +** +** Once the EXCLUSIVE lock is released, any other database readers +** detect the new *-wal file and read the database in wal mode. At +** this point they see the new version of the database - including +** the updates made as part of the RBU update. +** +** 3) The new *-wal file is checkpointed. This proceeds in the same way +** as a regular database checkpoint, except that a single frame is +** checkpointed each time sqlite3rbu_step() is called. If the RBU +** handle is closed before the entire *-wal file is checkpointed, +** the checkpoint progress is saved in the RBU database and the +** checkpoint can be resumed by another RBU client at some point in +** the future. +** +** POTENTIAL PROBLEMS +** +** The rename() call might not be portable. And RBU is not currently +** syncing the directory after renaming the file. +** +** When state is saved, any commit to the *-oal file and the commit to +** the RBU update database are not atomic. So if the power fails at the +** wrong moment they might get out of sync. As the main database will be +** committed before the RBU update database this will likely either just +** pass unnoticed, or result in SQLITE_CONSTRAINT errors (due to UNIQUE +** constraint violations). +** +** If some client does modify the target database mid RBU update, or some +** other error occurs, the RBU extension will keep throwing errors. It's +** not really clear how to get out of this state. The system could just +** by delete the RBU update database and *-oal file and have the device +** download the update again and start over. +** +** At present, for an UPDATE, both the new.* and old.* records are +** collected in the rbu_xyz table. And for both UPDATEs and DELETEs all +** fields are collected. This means we're probably writing a lot more +** data to disk when saving the state of an ongoing update to the RBU +** update database than is strictly necessary. +** +*/ + +/* #include */ +/* #include */ +/* #include */ + +/* #include "sqlite3.h" */ + +#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_RBU) +/************** Include sqlite3rbu.h in the middle of sqlite3rbu.c ***********/ +/************** Begin file sqlite3rbu.h **************************************/ +/* +** 2014 August 30 +** +** The author disclaims copyright to this source code. In place of +** a legal notice, here is a blessing: +** +** May you do good and not evil. +** May you find forgiveness for yourself and forgive others. +** May you share freely, never taking more than you give. +** +************************************************************************* +** +** This file contains the public interface for the RBU extension. +*/ + +/* +** SUMMARY +** +** Writing a transaction containing a large number of operations on +** b-tree indexes that are collectively larger than the available cache +** memory can be very inefficient. +** +** The problem is that in order to update a b-tree, the leaf page (at least) +** containing the entry being inserted or deleted must be modified. If the +** working set of leaves is larger than the available cache memory, then a +** single leaf that is modified more than once as part of the transaction +** may be loaded from or written to the persistent media multiple times. +** Additionally, because the index updates are likely to be applied in +** random order, access to pages within the database is also likely to be in +** random order, which is itself quite inefficient. +** +** One way to improve the situation is to sort the operations on each index +** by index key before applying them to the b-tree. This leads to an IO +** pattern that resembles a single linear scan through the index b-tree, +** and all but guarantees each modified leaf page is loaded and stored +** exactly once. SQLite uses this trick to improve the performance of +** CREATE INDEX commands. This extension allows it to be used to improve +** the performance of large transactions on existing databases. +** +** Additionally, this extension allows the work involved in writing the +** large transaction to be broken down into sub-transactions performed +** sequentially by separate processes. This is useful if the system cannot +** guarantee that a single update process will run for long enough to apply +** the entire update, for example because the update is being applied on a +** mobile device that is frequently rebooted. Even after the writer process +** has committed one or more sub-transactions, other database clients continue +** to read from the original database snapshot. In other words, partially +** applied transactions are not visible to other clients. +** +** "RBU" stands for "Resumable Bulk Update". As in a large database update +** transmitted via a wireless network to a mobile device. A transaction +** applied using this extension is hence refered to as an "RBU update". +** +** +** LIMITATIONS +** +** An "RBU update" transaction is subject to the following limitations: +** +** * The transaction must consist of INSERT, UPDATE and DELETE operations +** only. +** +** * INSERT statements may not use any default values. +** +** * UPDATE and DELETE statements must identify their target rows by +** non-NULL PRIMARY KEY values. Rows with NULL values stored in PRIMARY +** KEY fields may not be updated or deleted. If the table being written +** has no PRIMARY KEY, affected rows must be identified by rowid. +** +** * UPDATE statements may not modify PRIMARY KEY columns. +** +** * No triggers will be fired. +** +** * No foreign key violations are detected or reported. +** +** * CHECK constraints are not enforced. +** +** * No constraint handling mode except for "OR ROLLBACK" is supported. +** +** +** PREPARATION +** +** An "RBU update" is stored as a separate SQLite database. A database +** containing an RBU update is an "RBU database". For each table in the +** target database to be updated, the RBU database should contain a table +** named "data_" containing the same set of columns as the +** target table, and one more - "rbu_control". The data_% table should +** have no PRIMARY KEY or UNIQUE constraints, but each column should have +** the same type as the corresponding column in the target database. +** The "rbu_control" column should have no type at all. For example, if +** the target database contains: +** +** CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c UNIQUE); +** +** Then the RBU database should contain: +** +** CREATE TABLE data_t1(a INTEGER, b TEXT, c, rbu_control); +** +** The order of the columns in the data_% table does not matter. +** +** Instead of a regular table, the RBU database may also contain virtual +** tables or view named using the data_ naming scheme. +** +** Instead of the plain data_ naming scheme, RBU database tables +** may also be named data_, where is any sequence +** of zero or more numeric characters (0-9). This can be significant because +** tables within the RBU database are always processed in order sorted by +** name. By judicious selection of the portion of the names +** of the RBU tables the user can therefore control the order in which they +** are processed. This can be useful, for example, to ensure that "external +** content" FTS4 tables are updated before their underlying content tables. +** +** If the target database table is a virtual table or a table that has no +** PRIMARY KEY declaration, the data_% table must also contain a column +** named "rbu_rowid". This column is mapped to the tables implicit primary +** key column - "rowid". Virtual tables for which the "rowid" column does +** not function like a primary key value cannot be updated using RBU. For +** example, if the target db contains either of the following: +** +** CREATE VIRTUAL TABLE x1 USING fts3(a, b); +** CREATE TABLE x1(a, b) +** +** then the RBU database should contain: +** +** CREATE TABLE data_x1(a, b, rbu_rowid, rbu_control); +** +** All non-hidden columns (i.e. all columns matched by "SELECT *") of the +** target table must be present in the input table. For virtual tables, +** hidden columns are optional - they are updated by RBU if present in +** the input table, or not otherwise. For example, to write to an fts4 +** table with a hidden languageid column such as: +** +** CREATE VIRTUAL TABLE ft1 USING fts4(a, b, languageid='langid'); +** +** Either of the following input table schemas may be used: +** +** CREATE TABLE data_ft1(a, b, langid, rbu_rowid, rbu_control); +** CREATE TABLE data_ft1(a, b, rbu_rowid, rbu_control); +** +** For each row to INSERT into the target database as part of the RBU +** update, the corresponding data_% table should contain a single record +** with the "rbu_control" column set to contain integer value 0. The +** other columns should be set to the values that make up the new record +** to insert. +** +** If the target database table has an INTEGER PRIMARY KEY, it is not +** possible to insert a NULL value into the IPK column. Attempting to +** do so results in an SQLITE_MISMATCH error. +** +** For each row to DELETE from the target database as part of the RBU +** update, the corresponding data_% table should contain a single record +** with the "rbu_control" column set to contain integer value 1. The +** real primary key values of the row to delete should be stored in the +** corresponding columns of the data_% table. The values stored in the +** other columns are not used. +** +** For each row to UPDATE from the target database as part of the RBU +** update, the corresponding data_% table should contain a single record +** with the "rbu_control" column set to contain a value of type text. +** The real primary key values identifying the row to update should be +** stored in the corresponding columns of the data_% table row, as should +** the new values of all columns being update. The text value in the +** "rbu_control" column must contain the same number of characters as +** there are columns in the target database table, and must consist entirely +** of 'x' and '.' characters (or in some special cases 'd' - see below). For +** each column that is being updated, the corresponding character is set to +** 'x'. For those that remain as they are, the corresponding character of the +** rbu_control value should be set to '.'. For example, given the tables +** above, the update statement: +** +** UPDATE t1 SET c = 'usa' WHERE a = 4; +** +** is represented by the data_t1 row created by: +** +** INSERT INTO data_t1(a, b, c, rbu_control) VALUES(4, NULL, 'usa', '..x'); +** +** Instead of an 'x' character, characters of the rbu_control value specified +** for UPDATEs may also be set to 'd'. In this case, instead of updating the +** target table with the value stored in the corresponding data_% column, the +** user-defined SQL function "rbu_delta()" is invoked and the result stored in +** the target table column. rbu_delta() is invoked with two arguments - the +** original value currently stored in the target table column and the +** value specified in the data_xxx table. +** +** For example, this row: +** +** INSERT INTO data_t1(a, b, c, rbu_control) VALUES(4, NULL, 'usa', '..d'); +** +** is similar to an UPDATE statement such as: +** +** UPDATE t1 SET c = rbu_delta(c, 'usa') WHERE a = 4; +** +** Finally, if an 'f' character appears in place of a 'd' or 's' in an +** ota_control string, the contents of the data_xxx table column is assumed +** to be a "fossil delta" - a patch to be applied to a blob value in the +** format used by the fossil source-code management system. In this case +** the existing value within the target database table must be of type BLOB. +** It is replaced by the result of applying the specified fossil delta to +** itself. +** +** If the target database table is a virtual table or a table with no PRIMARY +** KEY, the rbu_control value should not include a character corresponding +** to the rbu_rowid value. For example, this: +** +** INSERT INTO data_ft1(a, b, rbu_rowid, rbu_control) +** VALUES(NULL, 'usa', 12, '.x'); +** +** causes a result similar to: +** +** UPDATE ft1 SET b = 'usa' WHERE rowid = 12; +** +** The data_xxx tables themselves should have no PRIMARY KEY declarations. +** However, RBU is more efficient if reading the rows in from each data_xxx +** table in "rowid" order is roughly the same as reading them sorted by +** the PRIMARY KEY of the corresponding target database table. In other +** words, rows should be sorted using the destination table PRIMARY KEY +** fields before they are inserted into the data_xxx tables. +** +** USAGE +** +** The API declared below allows an application to apply an RBU update +** stored on disk to an existing target database. Essentially, the +** application: +** +** 1) Opens an RBU handle using the sqlite3rbu_open() function. +** +** 2) Registers any required virtual table modules with the database +** handle returned by sqlite3rbu_db(). Also, if required, register +** the rbu_delta() implementation. +** +** 3) Calls the sqlite3rbu_step() function one or more times on +** the new handle. Each call to sqlite3rbu_step() performs a single +** b-tree operation, so thousands of calls may be required to apply +** a complete update. +** +** 4) Calls sqlite3rbu_close() to close the RBU update handle. If +** sqlite3rbu_step() has been called enough times to completely +** apply the update to the target database, then the RBU database +** is marked as fully applied. Otherwise, the state of the RBU +** update application is saved in the RBU database for later +** resumption. +** +** See comments below for more detail on APIs. +** +** If an update is only partially applied to the target database by the +** time sqlite3rbu_close() is called, various state information is saved +** within the RBU database. This allows subsequent processes to automatically +** resume the RBU update from where it left off. +** +** To remove all RBU extension state information, returning an RBU database +** to its original contents, it is sufficient to drop all tables that begin +** with the prefix "rbu_" +** +** DATABASE LOCKING +** +** An RBU update may not be applied to a database in WAL mode. Attempting +** to do so is an error (SQLITE_ERROR). +** +** While an RBU handle is open, a SHARED lock may be held on the target +** database file. This means it is possible for other clients to read the +** database, but not to write it. +** +** If an RBU update is started and then suspended before it is completed, +** then an external client writes to the database, then attempting to resume +** the suspended RBU update is also an error (SQLITE_BUSY). +*/ + +#ifndef _SQLITE3RBU_H +#define _SQLITE3RBU_H + +/* #include "sqlite3.h" ** Required for error code definitions ** */ + +#if 0 +extern "C" { +#endif + +typedef struct sqlite3rbu sqlite3rbu; + +/* +** Open an RBU handle. +** +** Argument zTarget is the path to the target database. Argument zRbu is +** the path to the RBU database. Each call to this function must be matched +** by a call to sqlite3rbu_close(). When opening the databases, RBU passes +** the SQLITE_CONFIG_URI flag to sqlite3_open_v2(). So if either zTarget +** or zRbu begin with "file:", it will be interpreted as an SQLite +** database URI, not a regular file name. +** +** If the zState argument is passed a NULL value, the RBU extension stores +** the current state of the update (how many rows have been updated, which +** indexes are yet to be updated etc.) within the RBU database itself. This +** can be convenient, as it means that the RBU application does not need to +** organize removing a separate state file after the update is concluded. +** Or, if zState is non-NULL, it must be a path to a database file in which +** the RBU extension can store the state of the update. +** +** When resuming an RBU update, the zState argument must be passed the same +** value as when the RBU update was started. +** +** Once the RBU update is finished, the RBU extension does not +** automatically remove any zState database file, even if it created it. +** +** By default, RBU uses the default VFS to access the files on disk. To +** use a VFS other than the default, an SQLite "file:" URI containing a +** "vfs=..." option may be passed as the zTarget option. +** +** IMPORTANT NOTE FOR ZIPVFS USERS: The RBU extension works with all of +** SQLite's built-in VFSs, including the multiplexor VFS. However it does +** not work out of the box with zipvfs. Refer to the comment describing +** the zipvfs_create_vfs() API below for details on using RBU with zipvfs. +*/ +SQLITE_API sqlite3rbu *sqlite3rbu_open( + const char *zTarget, + const char *zRbu, + const char *zState +); + +/* +** Open an RBU handle to perform an RBU vacuum on database file zTarget. +** An RBU vacuum is similar to SQLite's built-in VACUUM command, except +** that it can be suspended and resumed like an RBU update. +** +** The second argument to this function identifies a database in which +** to store the state of the RBU vacuum operation if it is suspended. The +** first time sqlite3rbu_vacuum() is called, to start an RBU vacuum +** operation, the state database should either not exist or be empty +** (contain no tables). If an RBU vacuum is suspended by calling +** sqlite3rbu_close() on the RBU handle before sqlite3rbu_step() has +** returned SQLITE_DONE, the vacuum state is stored in the state database. +** The vacuum can be resumed by calling this function to open a new RBU +** handle specifying the same target and state databases. +** +** If the second argument passed to this function is NULL, then the +** name of the state database is "-vacuum", where +** is the name of the target database file. In this case, on UNIX, if the +** state database is not already present in the file-system, it is created +** with the same permissions as the target db is made. +** +** With an RBU vacuum, it is an SQLITE_MISUSE error if the name of the +** state database ends with "-vactmp". This name is reserved for internal +** use. +** +** This function does not delete the state database after an RBU vacuum +** is completed, even if it created it. However, if the call to +** sqlite3rbu_close() returns any value other than SQLITE_OK, the contents +** of the state tables within the state database are zeroed. This way, +** the next call to sqlite3rbu_vacuum() opens a handle that starts a +** new RBU vacuum operation. +** +** As with sqlite3rbu_open(), Zipvfs users should rever to the comment +** describing the sqlite3rbu_create_vfs() API function below for +** a description of the complications associated with using RBU with +** zipvfs databases. +*/ +SQLITE_API sqlite3rbu *sqlite3rbu_vacuum( + const char *zTarget, + const char *zState +); + +/* +** Configure a limit for the amount of temp space that may be used by +** the RBU handle passed as the first argument. The new limit is specified +** in bytes by the second parameter. If it is positive, the limit is updated. +** If the second parameter to this function is passed zero, then the limit +** is removed entirely. If the second parameter is negative, the limit is +** not modified (this is useful for querying the current limit). +** +** In all cases the returned value is the current limit in bytes (zero +** indicates unlimited). +** +** If the temp space limit is exceeded during operation, an SQLITE_FULL +** error is returned. +*/ +SQLITE_API sqlite3_int64 sqlite3rbu_temp_size_limit(sqlite3rbu*, sqlite3_int64); + +/* +** Return the current amount of temp file space, in bytes, currently used by +** the RBU handle passed as the only argument. +*/ +SQLITE_API sqlite3_int64 sqlite3rbu_temp_size(sqlite3rbu*); + +/* +** Internally, each RBU connection uses a separate SQLite database +** connection to access the target and rbu update databases. This +** API allows the application direct access to these database handles. +** +** The first argument passed to this function must be a valid, open, RBU +** handle. The second argument should be passed zero to access the target +** database handle, or non-zero to access the rbu update database handle. +** Accessing the underlying database handles may be useful in the +** following scenarios: +** +** * If any target tables are virtual tables, it may be necessary to +** call sqlite3_create_module() on the target database handle to +** register the required virtual table implementations. +** +** * If the data_xxx tables in the RBU source database are virtual +** tables, the application may need to call sqlite3_create_module() on +** the rbu update db handle to any required virtual table +** implementations. +** +** * If the application uses the "rbu_delta()" feature described above, +** it must use sqlite3_create_function() or similar to register the +** rbu_delta() implementation with the target database handle. +** +** If an error has occurred, either while opening or stepping the RBU object, +** this function may return NULL. The error code and message may be collected +** when sqlite3rbu_close() is called. +** +** Database handles returned by this function remain valid until the next +** call to any sqlite3rbu_xxx() function other than sqlite3rbu_db(). +*/ +SQLITE_API sqlite3 *sqlite3rbu_db(sqlite3rbu*, int bRbu); + +/* +** Do some work towards applying the RBU update to the target db. +** +** Return SQLITE_DONE if the update has been completely applied, or +** SQLITE_OK if no error occurs but there remains work to do to apply +** the RBU update. If an error does occur, some other error code is +** returned. +** +** Once a call to sqlite3rbu_step() has returned a value other than +** SQLITE_OK, all subsequent calls on the same RBU handle are no-ops +** that immediately return the same value. +*/ +SQLITE_API int sqlite3rbu_step(sqlite3rbu *pRbu); + +/* +** Force RBU to save its state to disk. +** +** If a power failure or application crash occurs during an update, following +** system recovery RBU may resume the update from the point at which the state +** was last saved. In other words, from the most recent successful call to +** sqlite3rbu_close() or this function. +** +** SQLITE_OK is returned if successful, or an SQLite error code otherwise. +*/ +SQLITE_API int sqlite3rbu_savestate(sqlite3rbu *pRbu); + +/* +** Close an RBU handle. +** +** If the RBU update has been completely applied, mark the RBU database +** as fully applied. Otherwise, assuming no error has occurred, save the +** current state of the RBU update appliation to the RBU database. +** +** If an error has already occurred as part of an sqlite3rbu_step() +** or sqlite3rbu_open() call, or if one occurs within this function, an +** SQLite error code is returned. Additionally, if pzErrmsg is not NULL, +** *pzErrmsg may be set to point to a buffer containing a utf-8 formatted +** English language error message. It is the responsibility of the caller to +** eventually free any such buffer using sqlite3_free(). +** +** Otherwise, if no error occurs, this function returns SQLITE_OK if the +** update has been partially applied, or SQLITE_DONE if it has been +** completely applied. +*/ +SQLITE_API int sqlite3rbu_close(sqlite3rbu *pRbu, char **pzErrmsg); + +/* +** Return the total number of key-value operations (inserts, deletes or +** updates) that have been performed on the target database since the +** current RBU update was started. +*/ +SQLITE_API sqlite3_int64 sqlite3rbu_progress(sqlite3rbu *pRbu); + +/* +** Obtain permyriadage (permyriadage is to 10000 as percentage is to 100) +** progress indications for the two stages of an RBU update. This API may +** be useful for driving GUI progress indicators and similar. +** +** An RBU update is divided into two stages: +** +** * Stage 1, in which changes are accumulated in an oal/wal file, and +** * Stage 2, in which the contents of the wal file are copied into the +** main database. +** +** The update is visible to non-RBU clients during stage 2. During stage 1 +** non-RBU reader clients may see the original database. +** +** If this API is called during stage 2 of the update, output variable +** (*pnOne) is set to 10000 to indicate that stage 1 has finished and (*pnTwo) +** to a value between 0 and 10000 to indicate the permyriadage progress of +** stage 2. A value of 5000 indicates that stage 2 is half finished, +** 9000 indicates that it is 90% finished, and so on. +** +** If this API is called during stage 1 of the update, output variable +** (*pnTwo) is set to 0 to indicate that stage 2 has not yet started. The +** value to which (*pnOne) is set depends on whether or not the RBU +** database contains an "rbu_count" table. The rbu_count table, if it +** exists, must contain the same columns as the following: +** +** CREATE TABLE rbu_count(tbl TEXT PRIMARY KEY, cnt INTEGER) WITHOUT ROWID; +** +** There must be one row in the table for each source (data_xxx) table within +** the RBU database. The 'tbl' column should contain the name of the source +** table. The 'cnt' column should contain the number of rows within the +** source table. +** +** If the rbu_count table is present and populated correctly and this +** API is called during stage 1, the *pnOne output variable is set to the +** permyriadage progress of the same stage. If the rbu_count table does +** not exist, then (*pnOne) is set to -1 during stage 1. If the rbu_count +** table exists but is not correctly populated, the value of the *pnOne +** output variable during stage 1 is undefined. +*/ +SQLITE_API void sqlite3rbu_bp_progress(sqlite3rbu *pRbu, int *pnOne, int*pnTwo); + +/* +** Obtain an indication as to the current stage of an RBU update or vacuum. +** This function always returns one of the SQLITE_RBU_STATE_XXX constants +** defined in this file. Return values should be interpreted as follows: +** +** SQLITE_RBU_STATE_OAL: +** RBU is currently building a *-oal file. The next call to sqlite3rbu_step() +** may either add further data to the *-oal file, or compute data that will +** be added by a subsequent call. +** +** SQLITE_RBU_STATE_MOVE: +** RBU has finished building the *-oal file. The next call to sqlite3rbu_step() +** will move the *-oal file to the equivalent *-wal path. If the current +** operation is an RBU update, then the updated version of the database +** file will become visible to ordinary SQLite clients following the next +** call to sqlite3rbu_step(). +** +** SQLITE_RBU_STATE_CHECKPOINT: +** RBU is currently performing an incremental checkpoint. The next call to +** sqlite3rbu_step() will copy a page of data from the *-wal file into +** the target database file. +** +** SQLITE_RBU_STATE_DONE: +** The RBU operation has finished. Any subsequent calls to sqlite3rbu_step() +** will immediately return SQLITE_DONE. +** +** SQLITE_RBU_STATE_ERROR: +** An error has occurred. Any subsequent calls to sqlite3rbu_step() will +** immediately return the SQLite error code associated with the error. +*/ +#define SQLITE_RBU_STATE_OAL 1 +#define SQLITE_RBU_STATE_MOVE 2 +#define SQLITE_RBU_STATE_CHECKPOINT 3 +#define SQLITE_RBU_STATE_DONE 4 +#define SQLITE_RBU_STATE_ERROR 5 + +SQLITE_API int sqlite3rbu_state(sqlite3rbu *pRbu); + +/* +** Create an RBU VFS named zName that accesses the underlying file-system +** via existing VFS zParent. Or, if the zParent parameter is passed NULL, +** then the new RBU VFS uses the default system VFS to access the file-system. +** The new object is registered as a non-default VFS with SQLite before +** returning. +** +** Part of the RBU implementation uses a custom VFS object. Usually, this +** object is created and deleted automatically by RBU. +** +** The exception is for applications that also use zipvfs. In this case, +** the custom VFS must be explicitly created by the user before the RBU +** handle is opened. The RBU VFS should be installed so that the zipvfs +** VFS uses the RBU VFS, which in turn uses any other VFS layers in use +** (for example multiplexor) to access the file-system. For example, +** to assemble an RBU enabled VFS stack that uses both zipvfs and +** multiplexor (error checking omitted): +** +** // Create a VFS named "multiplex" (not the default). +** sqlite3_multiplex_initialize(0, 0); +** +** // Create an rbu VFS named "rbu" that uses multiplexor. If the +** // second argument were replaced with NULL, the "rbu" VFS would +** // access the file-system via the system default VFS, bypassing the +** // multiplexor. +** sqlite3rbu_create_vfs("rbu", "multiplex"); +** +** // Create a zipvfs VFS named "zipvfs" that uses rbu. +** zipvfs_create_vfs_v3("zipvfs", "rbu", 0, xCompressorAlgorithmDetector); +** +** // Make zipvfs the default VFS. +** sqlite3_vfs_register(sqlite3_vfs_find("zipvfs"), 1); +** +** Because the default VFS created above includes a RBU functionality, it +** may be used by RBU clients. Attempting to use RBU with a zipvfs VFS stack +** that does not include the RBU layer results in an error. +** +** The overhead of adding the "rbu" VFS to the system is negligible for +** non-RBU users. There is no harm in an application accessing the +** file-system via "rbu" all the time, even if it only uses RBU functionality +** occasionally. +*/ +SQLITE_API int sqlite3rbu_create_vfs(const char *zName, const char *zParent); + +/* +** Deregister and destroy an RBU vfs created by an earlier call to +** sqlite3rbu_create_vfs(). +** +** VFS objects are not reference counted. If a VFS object is destroyed +** before all database handles that use it have been closed, the results +** are undefined. +*/ +SQLITE_API void sqlite3rbu_destroy_vfs(const char *zName); + +#if 0 +} /* end of the 'extern "C"' block */ +#endif + +#endif /* _SQLITE3RBU_H */ + +/************** End of sqlite3rbu.h ******************************************/ +/************** Continuing where we left off in sqlite3rbu.c *****************/ + +#if defined(_WIN32_WCE) +/* #include "windows.h" */ +#endif + +/* Maximum number of prepared UPDATE statements held by this module */ +#define SQLITE_RBU_UPDATE_CACHESIZE 16 + +/* Delta checksums disabled by default. Compile with -DRBU_ENABLE_DELTA_CKSUM +** to enable checksum verification. +*/ +#ifndef RBU_ENABLE_DELTA_CKSUM +# define RBU_ENABLE_DELTA_CKSUM 0 +#endif + +/* +** Swap two objects of type TYPE. +*/ +#if !defined(SQLITE_AMALGAMATION) +# define SWAP(TYPE,A,B) {TYPE t=A; A=B; B=t;} +#endif + +/* +** The rbu_state table is used to save the state of a partially applied +** update so that it can be resumed later. The table consists of integer +** keys mapped to values as follows: +** +** RBU_STATE_STAGE: +** May be set to integer values 1, 2, 4 or 5. As follows: +** 1: the *-rbu file is currently under construction. +** 2: the *-rbu file has been constructed, but not yet moved +** to the *-wal path. +** 4: the checkpoint is underway. +** 5: the rbu update has been checkpointed. +** +** RBU_STATE_TBL: +** Only valid if STAGE==1. The target database name of the table +** currently being written. +** +** RBU_STATE_IDX: +** Only valid if STAGE==1. The target database name of the index +** currently being written, or NULL if the main table is currently being +** updated. +** +** RBU_STATE_ROW: +** Only valid if STAGE==1. Number of rows already processed for the current +** table/index. +** +** RBU_STATE_PROGRESS: +** Trbul number of sqlite3rbu_step() calls made so far as part of this +** rbu update. +** +** RBU_STATE_CKPT: +** Valid if STAGE==4. The 64-bit checksum associated with the wal-index +** header created by recovering the *-wal file. This is used to detect +** cases when another client appends frames to the *-wal file in the +** middle of an incremental checkpoint (an incremental checkpoint cannot +** be continued if this happens). +** +** RBU_STATE_COOKIE: +** Valid if STAGE==1. The current change-counter cookie value in the +** target db file. +** +** RBU_STATE_OALSZ: +** Valid if STAGE==1. The size in bytes of the *-oal file. +** +** RBU_STATE_DATATBL: +** Only valid if STAGE==1. The RBU database name of the table +** currently being read. +*/ +#define RBU_STATE_STAGE 1 +#define RBU_STATE_TBL 2 +#define RBU_STATE_IDX 3 +#define RBU_STATE_ROW 4 +#define RBU_STATE_PROGRESS 5 +#define RBU_STATE_CKPT 6 +#define RBU_STATE_COOKIE 7 +#define RBU_STATE_OALSZ 8 +#define RBU_STATE_PHASEONESTEP 9 +#define RBU_STATE_DATATBL 10 + +#define RBU_STAGE_OAL 1 +#define RBU_STAGE_MOVE 2 +#define RBU_STAGE_CAPTURE 3 +#define RBU_STAGE_CKPT 4 +#define RBU_STAGE_DONE 5 + + +#define RBU_CREATE_STATE \ + "CREATE TABLE IF NOT EXISTS %s.rbu_state(k INTEGER PRIMARY KEY, v)" + +typedef struct RbuFrame RbuFrame; +typedef struct RbuObjIter RbuObjIter; +typedef struct RbuState RbuState; +typedef struct RbuSpan RbuSpan; +typedef struct rbu_vfs rbu_vfs; +typedef struct rbu_file rbu_file; +typedef struct RbuUpdateStmt RbuUpdateStmt; + +#if !defined(SQLITE_AMALGAMATION) +typedef unsigned int u32; +typedef unsigned short u16; +typedef unsigned char u8; +typedef sqlite3_int64 i64; +#endif + +/* +** These values must match the values defined in wal.c for the equivalent +** locks. These are not magic numbers as they are part of the SQLite file +** format. +*/ +#define WAL_LOCK_WRITE 0 +#define WAL_LOCK_CKPT 1 +#define WAL_LOCK_READ0 3 + +#define SQLITE_FCNTL_RBUCNT 5149216 + +/* +** A structure to store values read from the rbu_state table in memory. +*/ +struct RbuState { + int eStage; + char *zTbl; + char *zDataTbl; + char *zIdx; + i64 iWalCksum; + int nRow; + i64 nProgress; + u32 iCookie; + i64 iOalSz; + i64 nPhaseOneStep; +}; + +struct RbuUpdateStmt { + char *zMask; /* Copy of update mask used with pUpdate */ + sqlite3_stmt *pUpdate; /* Last update statement (or NULL) */ + RbuUpdateStmt *pNext; +}; + +struct RbuSpan { + const char *zSpan; + int nSpan; +}; + +/* +** An iterator of this type is used to iterate through all objects in +** the target database that require updating. For each such table, the +** iterator visits, in order: +** +** * the table itself, +** * each index of the table (zero or more points to visit), and +** * a special "cleanup table" state. +** +** abIndexed: +** If the table has no indexes on it, abIndexed is set to NULL. Otherwise, +** it points to an array of flags nTblCol elements in size. The flag is +** set for each column that is either a part of the PK or a part of an +** index. Or clear otherwise. +** +** If there are one or more partial indexes on the table, all fields of +** this array set set to 1. This is because in that case, the module has +** no way to tell which fields will be required to add and remove entries +** from the partial indexes. +** +*/ +struct RbuObjIter { + sqlite3_stmt *pTblIter; /* Iterate through tables */ + sqlite3_stmt *pIdxIter; /* Index iterator */ + int nTblCol; /* Size of azTblCol[] array */ + char **azTblCol; /* Array of unquoted target column names */ + char **azTblType; /* Array of target column types */ + int *aiSrcOrder; /* src table col -> target table col */ + u8 *abTblPk; /* Array of flags, set on target PK columns */ + u8 *abNotNull; /* Array of flags, set on NOT NULL columns */ + u8 *abIndexed; /* Array of flags, set on indexed & PK cols */ + int eType; /* Table type - an RBU_PK_XXX value */ + + /* Output variables. zTbl==0 implies EOF. */ + int bCleanup; /* True in "cleanup" state */ + const char *zTbl; /* Name of target db table */ + const char *zDataTbl; /* Name of rbu db table (or null) */ + const char *zIdx; /* Name of target db index (or null) */ + int iTnum; /* Root page of current object */ + int iPkTnum; /* If eType==EXTERNAL, root of PK index */ + int bUnique; /* Current index is unique */ + int nIndex; /* Number of aux. indexes on table zTbl */ + + /* Statements created by rbuObjIterPrepareAll() */ + int nCol; /* Number of columns in current object */ + sqlite3_stmt *pSelect; /* Source data */ + sqlite3_stmt *pInsert; /* Statement for INSERT operations */ + sqlite3_stmt *pDelete; /* Statement for DELETE ops */ + sqlite3_stmt *pTmpInsert; /* Insert into rbu_tmp_$zDataTbl */ + int nIdxCol; + RbuSpan *aIdxCol; + char *zIdxSql; + + /* Last UPDATE used (for PK b-tree updates only), or NULL. */ + RbuUpdateStmt *pRbuUpdate; +}; + +/* +** Values for RbuObjIter.eType +** +** 0: Table does not exist (error) +** 1: Table has an implicit rowid. +** 2: Table has an explicit IPK column. +** 3: Table has an external PK index. +** 4: Table is WITHOUT ROWID. +** 5: Table is a virtual table. +*/ +#define RBU_PK_NOTABLE 0 +#define RBU_PK_NONE 1 +#define RBU_PK_IPK 2 +#define RBU_PK_EXTERNAL 3 +#define RBU_PK_WITHOUT_ROWID 4 +#define RBU_PK_VTAB 5 + + +/* +** Within the RBU_STAGE_OAL stage, each call to sqlite3rbu_step() performs +** one of the following operations. +*/ +#define RBU_INSERT 1 /* Insert on a main table b-tree */ +#define RBU_DELETE 2 /* Delete a row from a main table b-tree */ +#define RBU_REPLACE 3 /* Delete and then insert a row */ +#define RBU_IDX_DELETE 4 /* Delete a row from an aux. index b-tree */ +#define RBU_IDX_INSERT 5 /* Insert on an aux. index b-tree */ + +#define RBU_UPDATE 6 /* Update a row in a main table b-tree */ + +/* +** A single step of an incremental checkpoint - frame iWalFrame of the wal +** file should be copied to page iDbPage of the database file. +*/ +struct RbuFrame { + u32 iDbPage; + u32 iWalFrame; +}; + +/* +** RBU handle. +** +** nPhaseOneStep: +** If the RBU database contains an rbu_count table, this value is set to +** a running estimate of the number of b-tree operations required to +** finish populating the *-oal file. This allows the sqlite3_bp_progress() +** API to calculate the permyriadage progress of populating the *-oal file +** using the formula: +** +** permyriadage = (10000 * nProgress) / nPhaseOneStep +** +** nPhaseOneStep is initialized to the sum of: +** +** nRow * (nIndex + 1) +** +** for all source tables in the RBU database, where nRow is the number +** of rows in the source table and nIndex the number of indexes on the +** corresponding target database table. +** +** This estimate is accurate if the RBU update consists entirely of +** INSERT operations. However, it is inaccurate if: +** +** * the RBU update contains any UPDATE operations. If the PK specified +** for an UPDATE operation does not exist in the target table, then +** no b-tree operations are required on index b-trees. Or if the +** specified PK does exist, then (nIndex*2) such operations are +** required (one delete and one insert on each index b-tree). +** +** * the RBU update contains any DELETE operations for which the specified +** PK does not exist. In this case no operations are required on index +** b-trees. +** +** * the RBU update contains REPLACE operations. These are similar to +** UPDATE operations. +** +** nPhaseOneStep is updated to account for the conditions above during the +** first pass of each source table. The updated nPhaseOneStep value is +** stored in the rbu_state table if the RBU update is suspended. +*/ +struct sqlite3rbu { + int eStage; /* Value of RBU_STATE_STAGE field */ + sqlite3 *dbMain; /* target database handle */ + sqlite3 *dbRbu; /* rbu database handle */ + char *zTarget; /* Path to target db */ + char *zRbu; /* Path to rbu db */ + char *zState; /* Path to state db (or NULL if zRbu) */ + char zStateDb[5]; /* Db name for state ("stat" or "main") */ + int rc; /* Value returned by last rbu_step() call */ + char *zErrmsg; /* Error message if rc!=SQLITE_OK */ + int nStep; /* Rows processed for current object */ + int nProgress; /* Rows processed for all objects */ + RbuObjIter objiter; /* Iterator for skipping through tbl/idx */ + const char *zVfsName; /* Name of automatically created rbu vfs */ + rbu_file *pTargetFd; /* File handle open on target db */ + int nPagePerSector; /* Pages per sector for pTargetFd */ + i64 iOalSz; + i64 nPhaseOneStep; + + /* The following state variables are used as part of the incremental + ** checkpoint stage (eStage==RBU_STAGE_CKPT). See comments surrounding + ** function rbuSetupCheckpoint() for details. */ + u32 iMaxFrame; /* Largest iWalFrame value in aFrame[] */ + u32 mLock; + int nFrame; /* Entries in aFrame[] array */ + int nFrameAlloc; /* Allocated size of aFrame[] array */ + RbuFrame *aFrame; + int pgsz; + u8 *aBuf; + i64 iWalCksum; + i64 szTemp; /* Current size of all temp files in use */ + i64 szTempLimit; /* Total size limit for temp files */ + + /* Used in RBU vacuum mode only */ + int nRbu; /* Number of RBU VFS in the stack */ + rbu_file *pRbuFd; /* Fd for main db of dbRbu */ +}; + +/* +** An rbu VFS is implemented using an instance of this structure. +** +** Variable pRbu is only non-NULL for automatically created RBU VFS objects. +** It is NULL for RBU VFS objects created explicitly using +** sqlite3rbu_create_vfs(). It is used to track the total amount of temp +** space used by the RBU handle. +*/ +struct rbu_vfs { + sqlite3_vfs base; /* rbu VFS shim methods */ + sqlite3_vfs *pRealVfs; /* Underlying VFS */ + sqlite3_mutex *mutex; /* Mutex to protect pMain */ + sqlite3rbu *pRbu; /* Owner RBU object */ + rbu_file *pMain; /* List of main db files */ + rbu_file *pMainRbu; /* List of main db files with pRbu!=0 */ +}; + +/* +** Each file opened by an rbu VFS is represented by an instance of +** the following structure. +** +** If this is a temporary file (pRbu!=0 && flags&DELETE_ON_CLOSE), variable +** "sz" is set to the current size of the database file. +*/ +struct rbu_file { + sqlite3_file base; /* sqlite3_file methods */ + sqlite3_file *pReal; /* Underlying file handle */ + rbu_vfs *pRbuVfs; /* Pointer to the rbu_vfs object */ + sqlite3rbu *pRbu; /* Pointer to rbu object (rbu target only) */ + i64 sz; /* Size of file in bytes (temp only) */ + + int openFlags; /* Flags this file was opened with */ + u32 iCookie; /* Cookie value for main db files */ + u8 iWriteVer; /* "write-version" value for main db files */ + u8 bNolock; /* True to fail EXCLUSIVE locks */ + + int nShm; /* Number of entries in apShm[] array */ + char **apShm; /* Array of mmap'd *-shm regions */ + char *zDel; /* Delete this when closing file */ + + const char *zWal; /* Wal filename for this main db file */ + rbu_file *pWalFd; /* Wal file descriptor for this main db */ + rbu_file *pMainNext; /* Next MAIN_DB file */ + rbu_file *pMainRbuNext; /* Next MAIN_DB file with pRbu!=0 */ +}; + +/* +** True for an RBU vacuum handle, or false otherwise. +*/ +#define rbuIsVacuum(p) ((p)->zTarget==0) + + +/************************************************************************* +** The following three functions, found below: +** +** rbuDeltaGetInt() +** rbuDeltaChecksum() +** rbuDeltaApply() +** +** are lifted from the fossil source code (http://fossil-scm.org). They +** are used to implement the scalar SQL function rbu_fossil_delta(). +*/ + +/* +** Read bytes from *pz and convert them into a positive integer. When +** finished, leave *pz pointing to the first character past the end of +** the integer. The *pLen parameter holds the length of the string +** in *pz and is decremented once for each character in the integer. +*/ +static unsigned int rbuDeltaGetInt(const char **pz, int *pLen){ + static const signed char zValue[] = { + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -1, -1, -1, -1, -1, -1, + -1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, -1, -1, -1, -1, 36, + -1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, -1, -1, -1, 63, -1, + }; + unsigned int v = 0; + int c; + unsigned char *z = (unsigned char*)*pz; + unsigned char *zStart = z; + while( (c = zValue[0x7f&*(z++)])>=0 ){ + v = (v<<6) + c; + } + z--; + *pLen -= z - zStart; + *pz = (char*)z; + return v; +} + +#if RBU_ENABLE_DELTA_CKSUM +/* +** Compute a 32-bit checksum on the N-byte buffer. Return the result. +*/ +static unsigned int rbuDeltaChecksum(const char *zIn, size_t N){ + const unsigned char *z = (const unsigned char *)zIn; + unsigned sum0 = 0; + unsigned sum1 = 0; + unsigned sum2 = 0; + unsigned sum3 = 0; + while(N >= 16){ + sum0 += ((unsigned)z[0] + z[4] + z[8] + z[12]); + sum1 += ((unsigned)z[1] + z[5] + z[9] + z[13]); + sum2 += ((unsigned)z[2] + z[6] + z[10]+ z[14]); + sum3 += ((unsigned)z[3] + z[7] + z[11]+ z[15]); + z += 16; + N -= 16; + } + while(N >= 4){ + sum0 += z[0]; + sum1 += z[1]; + sum2 += z[2]; + sum3 += z[3]; + z += 4; + N -= 4; + } + sum3 += (sum2 << 8) + (sum1 << 16) + (sum0 << 24); + switch(N){ + case 3: sum3 += (z[2] << 8); + case 2: sum3 += (z[1] << 16); + case 1: sum3 += (z[0] << 24); + default: ; + } + return sum3; +} +#endif + +/* +** Apply a delta. +** +** The output buffer should be big enough to hold the whole output +** file and a NUL terminator at the end. The delta_output_size() +** routine will determine this size for you. +** +** The delta string should be null-terminated. But the delta string +** may contain embedded NUL characters (if the input and output are +** binary files) so we also have to pass in the length of the delta in +** the lenDelta parameter. +** +** This function returns the size of the output file in bytes (excluding +** the final NUL terminator character). Except, if the delta string is +** malformed or intended for use with a source file other than zSrc, +** then this routine returns -1. +** +** Refer to the delta_create() documentation above for a description +** of the delta file format. +*/ +static int rbuDeltaApply( + const char *zSrc, /* The source or pattern file */ + int lenSrc, /* Length of the source file */ + const char *zDelta, /* Delta to apply to the pattern */ + int lenDelta, /* Length of the delta */ + char *zOut /* Write the output into this preallocated buffer */ +){ + unsigned int limit; + unsigned int total = 0; +#if RBU_ENABLE_DELTA_CKSUM + char *zOrigOut = zOut; +#endif + + limit = rbuDeltaGetInt(&zDelta, &lenDelta); + if( *zDelta!='\n' ){ + /* ERROR: size integer not terminated by "\n" */ + return -1; + } + zDelta++; lenDelta--; + while( *zDelta && lenDelta>0 ){ + unsigned int cnt, ofst; + cnt = rbuDeltaGetInt(&zDelta, &lenDelta); + switch( zDelta[0] ){ + case '@': { + zDelta++; lenDelta--; + ofst = rbuDeltaGetInt(&zDelta, &lenDelta); + if( lenDelta>0 && zDelta[0]!=',' ){ + /* ERROR: copy command not terminated by ',' */ + return -1; + } + zDelta++; lenDelta--; + total += cnt; + if( total>limit ){ + /* ERROR: copy exceeds output file size */ + return -1; + } + if( (int)(ofst+cnt) > lenSrc ){ + /* ERROR: copy extends past end of input */ + return -1; + } + memcpy(zOut, &zSrc[ofst], cnt); + zOut += cnt; + break; + } + case ':': { + zDelta++; lenDelta--; + total += cnt; + if( total>limit ){ + /* ERROR: insert command gives an output larger than predicted */ + return -1; + } + if( (int)cnt>lenDelta ){ + /* ERROR: insert count exceeds size of delta */ + return -1; + } + memcpy(zOut, zDelta, cnt); + zOut += cnt; + zDelta += cnt; + lenDelta -= cnt; + break; + } + case ';': { + zDelta++; lenDelta--; + zOut[0] = 0; +#if RBU_ENABLE_DELTA_CKSUM + if( cnt!=rbuDeltaChecksum(zOrigOut, total) ){ + /* ERROR: bad checksum */ + return -1; + } +#endif + if( total!=limit ){ + /* ERROR: generated size does not match predicted size */ + return -1; + } + return total; + } + default: { + /* ERROR: unknown delta operator */ + return -1; + } + } + } + /* ERROR: unterminated delta */ + return -1; +} + +static int rbuDeltaOutputSize(const char *zDelta, int lenDelta){ + int size; + size = rbuDeltaGetInt(&zDelta, &lenDelta); + if( *zDelta!='\n' ){ + /* ERROR: size integer not terminated by "\n" */ + return -1; + } + return size; +} + +/* +** End of code taken from fossil. +*************************************************************************/ + +/* +** Implementation of SQL scalar function rbu_fossil_delta(). +** +** This function applies a fossil delta patch to a blob. Exactly two +** arguments must be passed to this function. The first is the blob to +** patch and the second the patch to apply. If no error occurs, this +** function returns the patched blob. +*/ +static void rbuFossilDeltaFunc( + sqlite3_context *context, + int argc, + sqlite3_value **argv +){ + const char *aDelta; + int nDelta; + const char *aOrig; + int nOrig; + + int nOut; + int nOut2; + char *aOut; + + assert( argc==2 ); + + nOrig = sqlite3_value_bytes(argv[0]); + aOrig = (const char*)sqlite3_value_blob(argv[0]); + nDelta = sqlite3_value_bytes(argv[1]); + aDelta = (const char*)sqlite3_value_blob(argv[1]); + + /* Figure out the size of the output */ + nOut = rbuDeltaOutputSize(aDelta, nDelta); + if( nOut<0 ){ + sqlite3_result_error(context, "corrupt fossil delta", -1); + return; + } + + aOut = sqlite3_malloc(nOut+1); + if( aOut==0 ){ + sqlite3_result_error_nomem(context); + }else{ + nOut2 = rbuDeltaApply(aOrig, nOrig, aDelta, nDelta, aOut); + if( nOut2!=nOut ){ + sqlite3_free(aOut); + sqlite3_result_error(context, "corrupt fossil delta", -1); + }else{ + sqlite3_result_blob(context, aOut, nOut, sqlite3_free); + } + } +} + + +/* +** Prepare the SQL statement in buffer zSql against database handle db. +** If successful, set *ppStmt to point to the new statement and return +** SQLITE_OK. +** +** Otherwise, if an error does occur, set *ppStmt to NULL and return +** an SQLite error code. Additionally, set output variable *pzErrmsg to +** point to a buffer containing an error message. It is the responsibility +** of the caller to (eventually) free this buffer using sqlite3_free(). +*/ +static int prepareAndCollectError( + sqlite3 *db, + sqlite3_stmt **ppStmt, + char **pzErrmsg, + const char *zSql +){ + int rc = sqlite3_prepare_v2(db, zSql, -1, ppStmt, 0); + if( rc!=SQLITE_OK ){ + *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db)); + *ppStmt = 0; + } + return rc; +} + +/* +** Reset the SQL statement passed as the first argument. Return a copy +** of the value returned by sqlite3_reset(). +** +** If an error has occurred, then set *pzErrmsg to point to a buffer +** containing an error message. It is the responsibility of the caller +** to eventually free this buffer using sqlite3_free(). +*/ +static int resetAndCollectError(sqlite3_stmt *pStmt, char **pzErrmsg){ + int rc = sqlite3_reset(pStmt); + if( rc!=SQLITE_OK ){ + *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(sqlite3_db_handle(pStmt))); + } + return rc; +} + +/* +** Unless it is NULL, argument zSql points to a buffer allocated using +** sqlite3_malloc containing an SQL statement. This function prepares the SQL +** statement against database db and frees the buffer. If statement +** compilation is successful, *ppStmt is set to point to the new statement +** handle and SQLITE_OK is returned. +** +** Otherwise, if an error occurs, *ppStmt is set to NULL and an error code +** returned. In this case, *pzErrmsg may also be set to point to an error +** message. It is the responsibility of the caller to free this error message +** buffer using sqlite3_free(). +** +** If argument zSql is NULL, this function assumes that an OOM has occurred. +** In this case SQLITE_NOMEM is returned and *ppStmt set to NULL. +*/ +static int prepareFreeAndCollectError( + sqlite3 *db, + sqlite3_stmt **ppStmt, + char **pzErrmsg, + char *zSql +){ + int rc; + assert( *pzErrmsg==0 ); + if( zSql==0 ){ + rc = SQLITE_NOMEM; + *ppStmt = 0; + }else{ + rc = prepareAndCollectError(db, ppStmt, pzErrmsg, zSql); + sqlite3_free(zSql); + } + return rc; +} + +/* +** Free the RbuObjIter.azTblCol[] and RbuObjIter.abTblPk[] arrays allocated +** by an earlier call to rbuObjIterCacheTableInfo(). +*/ +static void rbuObjIterFreeCols(RbuObjIter *pIter){ + int i; + for(i=0; inTblCol; i++){ + sqlite3_free(pIter->azTblCol[i]); + sqlite3_free(pIter->azTblType[i]); + } + sqlite3_free(pIter->azTblCol); + pIter->azTblCol = 0; + pIter->azTblType = 0; + pIter->aiSrcOrder = 0; + pIter->abTblPk = 0; + pIter->abNotNull = 0; + pIter->nTblCol = 0; + pIter->eType = 0; /* Invalid value */ +} + +/* +** Finalize all statements and free all allocations that are specific to +** the current object (table/index pair). +*/ +static void rbuObjIterClearStatements(RbuObjIter *pIter){ + RbuUpdateStmt *pUp; + + sqlite3_finalize(pIter->pSelect); + sqlite3_finalize(pIter->pInsert); + sqlite3_finalize(pIter->pDelete); + sqlite3_finalize(pIter->pTmpInsert); + pUp = pIter->pRbuUpdate; + while( pUp ){ + RbuUpdateStmt *pTmp = pUp->pNext; + sqlite3_finalize(pUp->pUpdate); + sqlite3_free(pUp); + pUp = pTmp; + } + sqlite3_free(pIter->aIdxCol); + sqlite3_free(pIter->zIdxSql); + + pIter->pSelect = 0; + pIter->pInsert = 0; + pIter->pDelete = 0; + pIter->pRbuUpdate = 0; + pIter->pTmpInsert = 0; + pIter->nCol = 0; + pIter->nIdxCol = 0; + pIter->aIdxCol = 0; + pIter->zIdxSql = 0; +} + +/* +** Clean up any resources allocated as part of the iterator object passed +** as the only argument. +*/ +static void rbuObjIterFinalize(RbuObjIter *pIter){ + rbuObjIterClearStatements(pIter); + sqlite3_finalize(pIter->pTblIter); + sqlite3_finalize(pIter->pIdxIter); + rbuObjIterFreeCols(pIter); + memset(pIter, 0, sizeof(RbuObjIter)); +} + +/* +** Advance the iterator to the next position. +** +** If no error occurs, SQLITE_OK is returned and the iterator is left +** pointing to the next entry. Otherwise, an error code and message is +** left in the RBU handle passed as the first argument. A copy of the +** error code is returned. +*/ +static int rbuObjIterNext(sqlite3rbu *p, RbuObjIter *pIter){ + int rc = p->rc; + if( rc==SQLITE_OK ){ + + /* Free any SQLite statements used while processing the previous object */ + rbuObjIterClearStatements(pIter); + if( pIter->zIdx==0 ){ + rc = sqlite3_exec(p->dbMain, + "DROP TRIGGER IF EXISTS temp.rbu_insert_tr;" + "DROP TRIGGER IF EXISTS temp.rbu_update1_tr;" + "DROP TRIGGER IF EXISTS temp.rbu_update2_tr;" + "DROP TRIGGER IF EXISTS temp.rbu_delete_tr;" + , 0, 0, &p->zErrmsg + ); + } + + if( rc==SQLITE_OK ){ + if( pIter->bCleanup ){ + rbuObjIterFreeCols(pIter); + pIter->bCleanup = 0; + rc = sqlite3_step(pIter->pTblIter); + if( rc!=SQLITE_ROW ){ + rc = resetAndCollectError(pIter->pTblIter, &p->zErrmsg); + pIter->zTbl = 0; + }else{ + pIter->zTbl = (const char*)sqlite3_column_text(pIter->pTblIter, 0); + pIter->zDataTbl = (const char*)sqlite3_column_text(pIter->pTblIter,1); + rc = (pIter->zDataTbl && pIter->zTbl) ? SQLITE_OK : SQLITE_NOMEM; + } + }else{ + if( pIter->zIdx==0 ){ + sqlite3_stmt *pIdx = pIter->pIdxIter; + rc = sqlite3_bind_text(pIdx, 1, pIter->zTbl, -1, SQLITE_STATIC); + } + if( rc==SQLITE_OK ){ + rc = sqlite3_step(pIter->pIdxIter); + if( rc!=SQLITE_ROW ){ + rc = resetAndCollectError(pIter->pIdxIter, &p->zErrmsg); + pIter->bCleanup = 1; + pIter->zIdx = 0; + }else{ + pIter->zIdx = (const char*)sqlite3_column_text(pIter->pIdxIter, 0); + pIter->iTnum = sqlite3_column_int(pIter->pIdxIter, 1); + pIter->bUnique = sqlite3_column_int(pIter->pIdxIter, 2); + rc = pIter->zIdx ? SQLITE_OK : SQLITE_NOMEM; + } + } + } + } + } + + if( rc!=SQLITE_OK ){ + rbuObjIterFinalize(pIter); + p->rc = rc; + } + return rc; +} + + +/* +** The implementation of the rbu_target_name() SQL function. This function +** accepts one or two arguments. The first argument is the name of a table - +** the name of a table in the RBU database. The second, if it is present, is 1 +** for a view or 0 for a table. +** +** For a non-vacuum RBU handle, if the table name matches the pattern: +** +** data[0-9]_ +** +** where is any sequence of 1 or more characters, is returned. +** Otherwise, if the only argument does not match the above pattern, an SQL +** NULL is returned. +** +** "data_t1" -> "t1" +** "data0123_t2" -> "t2" +** "dataAB_t3" -> NULL +** +** For an rbu vacuum handle, a copy of the first argument is returned if +** the second argument is either missing or 0 (not a view). +*/ +static void rbuTargetNameFunc( + sqlite3_context *pCtx, + int argc, + sqlite3_value **argv +){ + sqlite3rbu *p = sqlite3_user_data(pCtx); + const char *zIn; + assert( argc==1 || argc==2 ); + + zIn = (const char*)sqlite3_value_text(argv[0]); + if( zIn ){ + if( rbuIsVacuum(p) ){ + assert( argc==2 || argc==1 ); + if( argc==1 || 0==sqlite3_value_int(argv[1]) ){ + sqlite3_result_text(pCtx, zIn, -1, SQLITE_STATIC); + } + }else{ + if( strlen(zIn)>4 && memcmp("data", zIn, 4)==0 ){ + int i; + for(i=4; zIn[i]>='0' && zIn[i]<='9'; i++); + if( zIn[i]=='_' && zIn[i+1] ){ + sqlite3_result_text(pCtx, &zIn[i+1], -1, SQLITE_STATIC); + } + } + } + } +} + +/* +** Initialize the iterator structure passed as the second argument. +** +** If no error occurs, SQLITE_OK is returned and the iterator is left +** pointing to the first entry. Otherwise, an error code and message is +** left in the RBU handle passed as the first argument. A copy of the +** error code is returned. +*/ +static int rbuObjIterFirst(sqlite3rbu *p, RbuObjIter *pIter){ + int rc; + memset(pIter, 0, sizeof(RbuObjIter)); + + rc = prepareFreeAndCollectError(p->dbRbu, &pIter->pTblIter, &p->zErrmsg, + sqlite3_mprintf( + "SELECT rbu_target_name(name, type='view') AS target, name " + "FROM sqlite_master " + "WHERE type IN ('table', 'view') AND target IS NOT NULL " + " %s " + "ORDER BY name" + , rbuIsVacuum(p) ? "AND rootpage!=0 AND rootpage IS NOT NULL" : "")); + + if( rc==SQLITE_OK ){ + rc = prepareAndCollectError(p->dbMain, &pIter->pIdxIter, &p->zErrmsg, + "SELECT name, rootpage, sql IS NULL OR substr(8, 6)=='UNIQUE' " + " FROM main.sqlite_master " + " WHERE type='index' AND tbl_name = ?" + ); + } + + pIter->bCleanup = 1; + p->rc = rc; + return rbuObjIterNext(p, pIter); +} + +/* +** This is a wrapper around "sqlite3_mprintf(zFmt, ...)". If an OOM occurs, +** an error code is stored in the RBU handle passed as the first argument. +** +** If an error has already occurred (p->rc is already set to something other +** than SQLITE_OK), then this function returns NULL without modifying the +** stored error code. In this case it still calls sqlite3_free() on any +** printf() parameters associated with %z conversions. +*/ +static char *rbuMPrintf(sqlite3rbu *p, const char *zFmt, ...){ + char *zSql = 0; + va_list ap; + va_start(ap, zFmt); + zSql = sqlite3_vmprintf(zFmt, ap); + if( p->rc==SQLITE_OK ){ + if( zSql==0 ) p->rc = SQLITE_NOMEM; + }else{ + sqlite3_free(zSql); + zSql = 0; + } + va_end(ap); + return zSql; +} + +/* +** Argument zFmt is a sqlite3_mprintf() style format string. The trailing +** arguments are the usual subsitution values. This function performs +** the printf() style substitutions and executes the result as an SQL +** statement on the RBU handles database. +** +** If an error occurs, an error code and error message is stored in the +** RBU handle. If an error has already occurred when this function is +** called, it is a no-op. +*/ +static int rbuMPrintfExec(sqlite3rbu *p, sqlite3 *db, const char *zFmt, ...){ + va_list ap; + char *zSql; + va_start(ap, zFmt); + zSql = sqlite3_vmprintf(zFmt, ap); + if( p->rc==SQLITE_OK ){ + if( zSql==0 ){ + p->rc = SQLITE_NOMEM; + }else{ + p->rc = sqlite3_exec(db, zSql, 0, 0, &p->zErrmsg); + } + } + sqlite3_free(zSql); + va_end(ap); + return p->rc; +} + +/* +** Attempt to allocate and return a pointer to a zeroed block of nByte +** bytes. +** +** If an error (i.e. an OOM condition) occurs, return NULL and leave an +** error code in the rbu handle passed as the first argument. Or, if an +** error has already occurred when this function is called, return NULL +** immediately without attempting the allocation or modifying the stored +** error code. +*/ +static void *rbuMalloc(sqlite3rbu *p, sqlite3_int64 nByte){ + void *pRet = 0; + if( p->rc==SQLITE_OK ){ + assert( nByte>0 ); + pRet = sqlite3_malloc64(nByte); + if( pRet==0 ){ + p->rc = SQLITE_NOMEM; + }else{ + memset(pRet, 0, nByte); + } + } + return pRet; +} + + +/* +** Allocate and zero the pIter->azTblCol[] and abTblPk[] arrays so that +** there is room for at least nCol elements. If an OOM occurs, store an +** error code in the RBU handle passed as the first argument. +*/ +static void rbuAllocateIterArrays(sqlite3rbu *p, RbuObjIter *pIter, int nCol){ + sqlite3_int64 nByte = (2*sizeof(char*) + sizeof(int) + 3*sizeof(u8)) * nCol; + char **azNew; + + azNew = (char**)rbuMalloc(p, nByte); + if( azNew ){ + pIter->azTblCol = azNew; + pIter->azTblType = &azNew[nCol]; + pIter->aiSrcOrder = (int*)&pIter->azTblType[nCol]; + pIter->abTblPk = (u8*)&pIter->aiSrcOrder[nCol]; + pIter->abNotNull = (u8*)&pIter->abTblPk[nCol]; + pIter->abIndexed = (u8*)&pIter->abNotNull[nCol]; + } +} + +/* +** The first argument must be a nul-terminated string. This function +** returns a copy of the string in memory obtained from sqlite3_malloc(). +** It is the responsibility of the caller to eventually free this memory +** using sqlite3_free(). +** +** If an OOM condition is encountered when attempting to allocate memory, +** output variable (*pRc) is set to SQLITE_NOMEM before returning. Otherwise, +** if the allocation succeeds, (*pRc) is left unchanged. +*/ +static char *rbuStrndup(const char *zStr, int *pRc){ + char *zRet = 0; + + if( *pRc==SQLITE_OK ){ + if( zStr ){ + size_t nCopy = strlen(zStr) + 1; + zRet = (char*)sqlite3_malloc64(nCopy); + if( zRet ){ + memcpy(zRet, zStr, nCopy); + }else{ + *pRc = SQLITE_NOMEM; + } + } + } + + return zRet; +} + +/* +** Finalize the statement passed as the second argument. +** +** If the sqlite3_finalize() call indicates that an error occurs, and the +** rbu handle error code is not already set, set the error code and error +** message accordingly. +*/ +static void rbuFinalize(sqlite3rbu *p, sqlite3_stmt *pStmt){ + sqlite3 *db = sqlite3_db_handle(pStmt); + int rc = sqlite3_finalize(pStmt); + if( p->rc==SQLITE_OK && rc!=SQLITE_OK ){ + p->rc = rc; + p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db)); + } +} + +/* Determine the type of a table. +** +** peType is of type (int*), a pointer to an output parameter of type +** (int). This call sets the output parameter as follows, depending +** on the type of the table specified by parameters dbName and zTbl. +** +** RBU_PK_NOTABLE: No such table. +** RBU_PK_NONE: Table has an implicit rowid. +** RBU_PK_IPK: Table has an explicit IPK column. +** RBU_PK_EXTERNAL: Table has an external PK index. +** RBU_PK_WITHOUT_ROWID: Table is WITHOUT ROWID. +** RBU_PK_VTAB: Table is a virtual table. +** +** Argument *piPk is also of type (int*), and also points to an output +** parameter. Unless the table has an external primary key index +** (i.e. unless *peType is set to 3), then *piPk is set to zero. Or, +** if the table does have an external primary key index, then *piPk +** is set to the root page number of the primary key index before +** returning. +** +** ALGORITHM: +** +** if( no entry exists in sqlite_master ){ +** return RBU_PK_NOTABLE +** }else if( sql for the entry starts with "CREATE VIRTUAL" ){ +** return RBU_PK_VTAB +** }else if( "PRAGMA index_list()" for the table contains a "pk" index ){ +** if( the index that is the pk exists in sqlite_master ){ +** *piPK = rootpage of that index. +** return RBU_PK_EXTERNAL +** }else{ +** return RBU_PK_WITHOUT_ROWID +** } +** }else if( "PRAGMA table_info()" lists one or more "pk" columns ){ +** return RBU_PK_IPK +** }else{ +** return RBU_PK_NONE +** } +*/ +static void rbuTableType( + sqlite3rbu *p, + const char *zTab, + int *peType, + int *piTnum, + int *piPk +){ + /* + ** 0) SELECT count(*) FROM sqlite_master where name=%Q AND IsVirtual(%Q) + ** 1) PRAGMA index_list = ? + ** 2) SELECT count(*) FROM sqlite_master where name=%Q + ** 3) PRAGMA table_info = ? + */ + sqlite3_stmt *aStmt[4] = {0, 0, 0, 0}; + + *peType = RBU_PK_NOTABLE; + *piPk = 0; + + assert( p->rc==SQLITE_OK ); + p->rc = prepareFreeAndCollectError(p->dbMain, &aStmt[0], &p->zErrmsg, + sqlite3_mprintf( + "SELECT (sql LIKE 'create virtual%%'), rootpage" + " FROM sqlite_master" + " WHERE name=%Q", zTab + )); + if( p->rc!=SQLITE_OK || sqlite3_step(aStmt[0])!=SQLITE_ROW ){ + /* Either an error, or no such table. */ + goto rbuTableType_end; + } + if( sqlite3_column_int(aStmt[0], 0) ){ + *peType = RBU_PK_VTAB; /* virtual table */ + goto rbuTableType_end; + } + *piTnum = sqlite3_column_int(aStmt[0], 1); + + p->rc = prepareFreeAndCollectError(p->dbMain, &aStmt[1], &p->zErrmsg, + sqlite3_mprintf("PRAGMA index_list=%Q",zTab) + ); + if( p->rc ) goto rbuTableType_end; + while( sqlite3_step(aStmt[1])==SQLITE_ROW ){ + const u8 *zOrig = sqlite3_column_text(aStmt[1], 3); + const u8 *zIdx = sqlite3_column_text(aStmt[1], 1); + if( zOrig && zIdx && zOrig[0]=='p' ){ + p->rc = prepareFreeAndCollectError(p->dbMain, &aStmt[2], &p->zErrmsg, + sqlite3_mprintf( + "SELECT rootpage FROM sqlite_master WHERE name = %Q", zIdx + )); + if( p->rc==SQLITE_OK ){ + if( sqlite3_step(aStmt[2])==SQLITE_ROW ){ + *piPk = sqlite3_column_int(aStmt[2], 0); + *peType = RBU_PK_EXTERNAL; + }else{ + *peType = RBU_PK_WITHOUT_ROWID; + } + } + goto rbuTableType_end; + } + } + + p->rc = prepareFreeAndCollectError(p->dbMain, &aStmt[3], &p->zErrmsg, + sqlite3_mprintf("PRAGMA table_info=%Q",zTab) + ); + if( p->rc==SQLITE_OK ){ + while( sqlite3_step(aStmt[3])==SQLITE_ROW ){ + if( sqlite3_column_int(aStmt[3],5)>0 ){ + *peType = RBU_PK_IPK; /* explicit IPK column */ + goto rbuTableType_end; + } + } + *peType = RBU_PK_NONE; + } + +rbuTableType_end: { + unsigned int i; + for(i=0; iabIndexed[] array. +*/ +static void rbuObjIterCacheIndexedCols(sqlite3rbu *p, RbuObjIter *pIter){ + sqlite3_stmt *pList = 0; + int bIndex = 0; + + if( p->rc==SQLITE_OK ){ + memcpy(pIter->abIndexed, pIter->abTblPk, sizeof(u8)*pIter->nTblCol); + p->rc = prepareFreeAndCollectError(p->dbMain, &pList, &p->zErrmsg, + sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl) + ); + } + + pIter->nIndex = 0; + while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pList) ){ + const char *zIdx = (const char*)sqlite3_column_text(pList, 1); + int bPartial = sqlite3_column_int(pList, 4); + sqlite3_stmt *pXInfo = 0; + if( zIdx==0 ) break; + if( bPartial ){ + memset(pIter->abIndexed, 0x01, sizeof(u8)*pIter->nTblCol); + } + p->rc = prepareFreeAndCollectError(p->dbMain, &pXInfo, &p->zErrmsg, + sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx) + ); + while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){ + int iCid = sqlite3_column_int(pXInfo, 1); + if( iCid>=0 ) pIter->abIndexed[iCid] = 1; + if( iCid==-2 ){ + memset(pIter->abIndexed, 0x01, sizeof(u8)*pIter->nTblCol); + } + } + rbuFinalize(p, pXInfo); + bIndex = 1; + pIter->nIndex++; + } + + if( pIter->eType==RBU_PK_WITHOUT_ROWID ){ + /* "PRAGMA index_list" includes the main PK b-tree */ + pIter->nIndex--; + } + + rbuFinalize(p, pList); + if( bIndex==0 ) pIter->abIndexed = 0; +} + + +/* +** If they are not already populated, populate the pIter->azTblCol[], +** pIter->abTblPk[], pIter->nTblCol and pIter->bRowid variables according to +** the table (not index) that the iterator currently points to. +** +** Return SQLITE_OK if successful, or an SQLite error code otherwise. If +** an error does occur, an error code and error message are also left in +** the RBU handle. +*/ +static int rbuObjIterCacheTableInfo(sqlite3rbu *p, RbuObjIter *pIter){ + if( pIter->azTblCol==0 ){ + sqlite3_stmt *pStmt = 0; + int nCol = 0; + int i; /* for() loop iterator variable */ + int bRbuRowid = 0; /* If input table has column "rbu_rowid" */ + int iOrder = 0; + int iTnum = 0; + + /* Figure out the type of table this step will deal with. */ + assert( pIter->eType==0 ); + rbuTableType(p, pIter->zTbl, &pIter->eType, &iTnum, &pIter->iPkTnum); + if( p->rc==SQLITE_OK && pIter->eType==RBU_PK_NOTABLE ){ + p->rc = SQLITE_ERROR; + p->zErrmsg = sqlite3_mprintf("no such table: %s", pIter->zTbl); + } + if( p->rc ) return p->rc; + if( pIter->zIdx==0 ) pIter->iTnum = iTnum; + + assert( pIter->eType==RBU_PK_NONE || pIter->eType==RBU_PK_IPK + || pIter->eType==RBU_PK_EXTERNAL || pIter->eType==RBU_PK_WITHOUT_ROWID + || pIter->eType==RBU_PK_VTAB + ); + + /* Populate the azTblCol[] and nTblCol variables based on the columns + ** of the input table. Ignore any input table columns that begin with + ** "rbu_". */ + p->rc = prepareFreeAndCollectError(p->dbRbu, &pStmt, &p->zErrmsg, + sqlite3_mprintf("SELECT * FROM '%q'", pIter->zDataTbl) + ); + if( p->rc==SQLITE_OK ){ + nCol = sqlite3_column_count(pStmt); + rbuAllocateIterArrays(p, pIter, nCol); + } + for(i=0; p->rc==SQLITE_OK && irc); + pIter->aiSrcOrder[pIter->nTblCol] = pIter->nTblCol; + pIter->azTblCol[pIter->nTblCol++] = zCopy; + } + else if( 0==sqlite3_stricmp("rbu_rowid", zName) ){ + bRbuRowid = 1; + } + } + sqlite3_finalize(pStmt); + pStmt = 0; + + if( p->rc==SQLITE_OK + && rbuIsVacuum(p)==0 + && bRbuRowid!=(pIter->eType==RBU_PK_VTAB || pIter->eType==RBU_PK_NONE) + ){ + p->rc = SQLITE_ERROR; + p->zErrmsg = sqlite3_mprintf( + "table %q %s rbu_rowid column", pIter->zDataTbl, + (bRbuRowid ? "may not have" : "requires") + ); + } + + /* Check that all non-HIDDEN columns in the destination table are also + ** present in the input table. Populate the abTblPk[], azTblType[] and + ** aiTblOrder[] arrays at the same time. */ + if( p->rc==SQLITE_OK ){ + p->rc = prepareFreeAndCollectError(p->dbMain, &pStmt, &p->zErrmsg, + sqlite3_mprintf("PRAGMA table_info(%Q)", pIter->zTbl) + ); + } + while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){ + const char *zName = (const char*)sqlite3_column_text(pStmt, 1); + if( zName==0 ) break; /* An OOM - finalize() below returns S_NOMEM */ + for(i=iOrder; inTblCol; i++){ + if( 0==strcmp(zName, pIter->azTblCol[i]) ) break; + } + if( i==pIter->nTblCol ){ + p->rc = SQLITE_ERROR; + p->zErrmsg = sqlite3_mprintf("column missing from %q: %s", + pIter->zDataTbl, zName + ); + }else{ + int iPk = sqlite3_column_int(pStmt, 5); + int bNotNull = sqlite3_column_int(pStmt, 3); + const char *zType = (const char*)sqlite3_column_text(pStmt, 2); + + if( i!=iOrder ){ + SWAP(int, pIter->aiSrcOrder[i], pIter->aiSrcOrder[iOrder]); + SWAP(char*, pIter->azTblCol[i], pIter->azTblCol[iOrder]); + } + + pIter->azTblType[iOrder] = rbuStrndup(zType, &p->rc); + assert( iPk>=0 ); + pIter->abTblPk[iOrder] = (u8)iPk; + pIter->abNotNull[iOrder] = (u8)bNotNull || (iPk!=0); + iOrder++; + } + } + + rbuFinalize(p, pStmt); + rbuObjIterCacheIndexedCols(p, pIter); + assert( pIter->eType!=RBU_PK_VTAB || pIter->abIndexed==0 ); + assert( pIter->eType!=RBU_PK_VTAB || pIter->nIndex==0 ); + } + + return p->rc; +} + +/* +** This function constructs and returns a pointer to a nul-terminated +** string containing some SQL clause or list based on one or more of the +** column names currently stored in the pIter->azTblCol[] array. +*/ +static char *rbuObjIterGetCollist( + sqlite3rbu *p, /* RBU object */ + RbuObjIter *pIter /* Object iterator for column names */ +){ + char *zList = 0; + const char *zSep = ""; + int i; + for(i=0; inTblCol; i++){ + const char *z = pIter->azTblCol[i]; + zList = rbuMPrintf(p, "%z%s\"%w\"", zList, zSep, z); + zSep = ", "; + } + return zList; +} + +/* +** Return a comma separated list of the quoted PRIMARY KEY column names, +** in order, for the current table. Before each column name, add the text +** zPre. After each column name, add the zPost text. Use zSeparator as +** the separator text (usually ", "). +*/ +static char *rbuObjIterGetPkList( + sqlite3rbu *p, /* RBU object */ + RbuObjIter *pIter, /* Object iterator for column names */ + const char *zPre, /* Before each quoted column name */ + const char *zSeparator, /* Separator to use between columns */ + const char *zPost /* After each quoted column name */ +){ + int iPk = 1; + char *zRet = 0; + const char *zSep = ""; + while( 1 ){ + int i; + for(i=0; inTblCol; i++){ + if( (int)pIter->abTblPk[i]==iPk ){ + const char *zCol = pIter->azTblCol[i]; + zRet = rbuMPrintf(p, "%z%s%s\"%w\"%s", zRet, zSep, zPre, zCol, zPost); + zSep = zSeparator; + break; + } + } + if( i==pIter->nTblCol ) break; + iPk++; + } + return zRet; +} + +/* +** This function is called as part of restarting an RBU vacuum within +** stage 1 of the process (while the *-oal file is being built) while +** updating a table (not an index). The table may be a rowid table or +** a WITHOUT ROWID table. It queries the target database to find the +** largest key that has already been written to the target table and +** constructs a WHERE clause that can be used to extract the remaining +** rows from the source table. For a rowid table, the WHERE clause +** is of the form: +** +** "WHERE _rowid_ > ?" +** +** and for WITHOUT ROWID tables: +** +** "WHERE (key1, key2) > (?, ?)" +** +** Instead of "?" placeholders, the actual WHERE clauses created by +** this function contain literal SQL values. +*/ +static char *rbuVacuumTableStart( + sqlite3rbu *p, /* RBU handle */ + RbuObjIter *pIter, /* RBU iterator object */ + int bRowid, /* True for a rowid table */ + const char *zWrite /* Target table name prefix */ +){ + sqlite3_stmt *pMax = 0; + char *zRet = 0; + if( bRowid ){ + p->rc = prepareFreeAndCollectError(p->dbMain, &pMax, &p->zErrmsg, + sqlite3_mprintf( + "SELECT max(_rowid_) FROM \"%s%w\"", zWrite, pIter->zTbl + ) + ); + if( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pMax) ){ + sqlite3_int64 iMax = sqlite3_column_int64(pMax, 0); + zRet = rbuMPrintf(p, " WHERE _rowid_ > %lld ", iMax); + } + rbuFinalize(p, pMax); + }else{ + char *zOrder = rbuObjIterGetPkList(p, pIter, "", ", ", " DESC"); + char *zSelect = rbuObjIterGetPkList(p, pIter, "quote(", "||','||", ")"); + char *zList = rbuObjIterGetPkList(p, pIter, "", ", ", ""); + + if( p->rc==SQLITE_OK ){ + p->rc = prepareFreeAndCollectError(p->dbMain, &pMax, &p->zErrmsg, + sqlite3_mprintf( + "SELECT %s FROM \"%s%w\" ORDER BY %s LIMIT 1", + zSelect, zWrite, pIter->zTbl, zOrder + ) + ); + if( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pMax) ){ + const char *zVal = (const char*)sqlite3_column_text(pMax, 0); + zRet = rbuMPrintf(p, " WHERE (%s) > (%s) ", zList, zVal); + } + rbuFinalize(p, pMax); + } + + sqlite3_free(zOrder); + sqlite3_free(zSelect); + sqlite3_free(zList); + } + return zRet; +} + +/* +** This function is called as part of restating an RBU vacuum when the +** current operation is writing content to an index. If possible, it +** queries the target index b-tree for the largest key already written to +** it, then composes and returns an expression that can be used in a WHERE +** clause to select the remaining required rows from the source table. +** It is only possible to return such an expression if: +** +** * The index contains no DESC columns, and +** * The last key written to the index before the operation was +** suspended does not contain any NULL values. +** +** The expression is of the form: +** +** (index-field1, index-field2, ...) > (?, ?, ...) +** +** except that the "?" placeholders are replaced with literal values. +** +** If the expression cannot be created, NULL is returned. In this case, +** the caller has to use an OFFSET clause to extract only the required +** rows from the sourct table, just as it does for an RBU update operation. +*/ +char *rbuVacuumIndexStart( + sqlite3rbu *p, /* RBU handle */ + RbuObjIter *pIter /* RBU iterator object */ +){ + char *zOrder = 0; + char *zLhs = 0; + char *zSelect = 0; + char *zVector = 0; + char *zRet = 0; + int bFailed = 0; + const char *zSep = ""; + int iCol = 0; + sqlite3_stmt *pXInfo = 0; + + p->rc = prepareFreeAndCollectError(p->dbMain, &pXInfo, &p->zErrmsg, + sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx) + ); + while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){ + int iCid = sqlite3_column_int(pXInfo, 1); + const char *zCollate = (const char*)sqlite3_column_text(pXInfo, 4); + const char *zCol; + if( sqlite3_column_int(pXInfo, 3) ){ + bFailed = 1; + break; + } + + if( iCid<0 ){ + if( pIter->eType==RBU_PK_IPK ){ + int i; + for(i=0; pIter->abTblPk[i]==0; i++); + assert( inTblCol ); + zCol = pIter->azTblCol[i]; + }else{ + zCol = "_rowid_"; + } + }else{ + zCol = pIter->azTblCol[iCid]; + } + + zLhs = rbuMPrintf(p, "%z%s \"%w\" COLLATE %Q", + zLhs, zSep, zCol, zCollate + ); + zOrder = rbuMPrintf(p, "%z%s \"rbu_imp_%d%w\" COLLATE %Q DESC", + zOrder, zSep, iCol, zCol, zCollate + ); + zSelect = rbuMPrintf(p, "%z%s quote(\"rbu_imp_%d%w\")", + zSelect, zSep, iCol, zCol + ); + zSep = ", "; + iCol++; + } + rbuFinalize(p, pXInfo); + if( bFailed ) goto index_start_out; + + if( p->rc==SQLITE_OK ){ + sqlite3_stmt *pSel = 0; + + p->rc = prepareFreeAndCollectError(p->dbMain, &pSel, &p->zErrmsg, + sqlite3_mprintf("SELECT %s FROM \"rbu_imp_%w\" ORDER BY %s LIMIT 1", + zSelect, pIter->zTbl, zOrder + ) + ); + if( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pSel) ){ + zSep = ""; + for(iCol=0; iColnCol; iCol++){ + const char *zQuoted = (const char*)sqlite3_column_text(pSel, iCol); + if( zQuoted[0]=='N' ){ + bFailed = 1; + break; + } + zVector = rbuMPrintf(p, "%z%s%s", zVector, zSep, zQuoted); + zSep = ", "; + } + + if( !bFailed ){ + zRet = rbuMPrintf(p, "(%s) > (%s)", zLhs, zVector); + } + } + rbuFinalize(p, pSel); + } + + index_start_out: + sqlite3_free(zOrder); + sqlite3_free(zSelect); + sqlite3_free(zVector); + sqlite3_free(zLhs); + return zRet; +} + +/* +** This function is used to create a SELECT list (the list of SQL +** expressions that follows a SELECT keyword) for a SELECT statement +** used to read from an data_xxx or rbu_tmp_xxx table while updating the +** index object currently indicated by the iterator object passed as the +** second argument. A "PRAGMA index_xinfo = " statement is used +** to obtain the required information. +** +** If the index is of the following form: +** +** CREATE INDEX i1 ON t1(c, b COLLATE nocase); +** +** and "t1" is a table with an explicit INTEGER PRIMARY KEY column +** "ipk", the returned string is: +** +** "`c` COLLATE 'BINARY', `b` COLLATE 'NOCASE', `ipk` COLLATE 'BINARY'" +** +** As well as the returned string, three other malloc'd strings are +** returned via output parameters. As follows: +** +** pzImposterCols: ... +** pzImposterPk: ... +** pzWhere: ... +*/ +static char *rbuObjIterGetIndexCols( + sqlite3rbu *p, /* RBU object */ + RbuObjIter *pIter, /* Object iterator for column names */ + char **pzImposterCols, /* OUT: Columns for imposter table */ + char **pzImposterPk, /* OUT: Imposter PK clause */ + char **pzWhere, /* OUT: WHERE clause */ + int *pnBind /* OUT: Trbul number of columns */ +){ + int rc = p->rc; /* Error code */ + int rc2; /* sqlite3_finalize() return code */ + char *zRet = 0; /* String to return */ + char *zImpCols = 0; /* String to return via *pzImposterCols */ + char *zImpPK = 0; /* String to return via *pzImposterPK */ + char *zWhere = 0; /* String to return via *pzWhere */ + int nBind = 0; /* Value to return via *pnBind */ + const char *zCom = ""; /* Set to ", " later on */ + const char *zAnd = ""; /* Set to " AND " later on */ + sqlite3_stmt *pXInfo = 0; /* PRAGMA index_xinfo = ? */ + + if( rc==SQLITE_OK ){ + assert( p->zErrmsg==0 ); + rc = prepareFreeAndCollectError(p->dbMain, &pXInfo, &p->zErrmsg, + sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx) + ); + } + + while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){ + int iCid = sqlite3_column_int(pXInfo, 1); + int bDesc = sqlite3_column_int(pXInfo, 3); + const char *zCollate = (const char*)sqlite3_column_text(pXInfo, 4); + const char *zCol = 0; + const char *zType; + + if( iCid==-2 ){ + int iSeq = sqlite3_column_int(pXInfo, 0); + zRet = sqlite3_mprintf("%z%s(%.*s) COLLATE %Q", zRet, zCom, + pIter->aIdxCol[iSeq].nSpan, pIter->aIdxCol[iSeq].zSpan, zCollate + ); + zType = ""; + }else { + if( iCid<0 ){ + /* An integer primary key. If the table has an explicit IPK, use + ** its name. Otherwise, use "rbu_rowid". */ + if( pIter->eType==RBU_PK_IPK ){ + int i; + for(i=0; pIter->abTblPk[i]==0; i++); + assert( inTblCol ); + zCol = pIter->azTblCol[i]; + }else if( rbuIsVacuum(p) ){ + zCol = "_rowid_"; + }else{ + zCol = "rbu_rowid"; + } + zType = "INTEGER"; + }else{ + zCol = pIter->azTblCol[iCid]; + zType = pIter->azTblType[iCid]; + } + zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom,zCol,zCollate); + } + + if( pIter->bUnique==0 || sqlite3_column_int(pXInfo, 5) ){ + const char *zOrder = (bDesc ? " DESC" : ""); + zImpPK = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\"%s", + zImpPK, zCom, nBind, zCol, zOrder + ); + } + zImpCols = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\" %s COLLATE %Q", + zImpCols, zCom, nBind, zCol, zType, zCollate + ); + zWhere = sqlite3_mprintf( + "%z%s\"rbu_imp_%d%w\" IS ?", zWhere, zAnd, nBind, zCol + ); + if( zRet==0 || zImpPK==0 || zImpCols==0 || zWhere==0 ) rc = SQLITE_NOMEM; + zCom = ", "; + zAnd = " AND "; + nBind++; + } + + rc2 = sqlite3_finalize(pXInfo); + if( rc==SQLITE_OK ) rc = rc2; + + if( rc!=SQLITE_OK ){ + sqlite3_free(zRet); + sqlite3_free(zImpCols); + sqlite3_free(zImpPK); + sqlite3_free(zWhere); + zRet = 0; + zImpCols = 0; + zImpPK = 0; + zWhere = 0; + p->rc = rc; + } + + *pzImposterCols = zImpCols; + *pzImposterPk = zImpPK; + *pzWhere = zWhere; + *pnBind = nBind; + return zRet; +} + +/* +** Assuming the current table columns are "a", "b" and "c", and the zObj +** paramter is passed "old", return a string of the form: +** +** "old.a, old.b, old.b" +** +** With the column names escaped. +** +** For tables with implicit rowids - RBU_PK_EXTERNAL and RBU_PK_NONE, append +** the text ", old._rowid_" to the returned value. +*/ +static char *rbuObjIterGetOldlist( + sqlite3rbu *p, + RbuObjIter *pIter, + const char *zObj +){ + char *zList = 0; + if( p->rc==SQLITE_OK && pIter->abIndexed ){ + const char *zS = ""; + int i; + for(i=0; inTblCol; i++){ + if( pIter->abIndexed[i] ){ + const char *zCol = pIter->azTblCol[i]; + zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol); + }else{ + zList = sqlite3_mprintf("%z%sNULL", zList, zS); + } + zS = ", "; + if( zList==0 ){ + p->rc = SQLITE_NOMEM; + break; + } + } + + /* For a table with implicit rowids, append "old._rowid_" to the list. */ + if( pIter->eType==RBU_PK_EXTERNAL || pIter->eType==RBU_PK_NONE ){ + zList = rbuMPrintf(p, "%z, %s._rowid_", zList, zObj); + } + } + return zList; +} + +/* +** Return an expression that can be used in a WHERE clause to match the +** primary key of the current table. For example, if the table is: +** +** CREATE TABLE t1(a, b, c, PRIMARY KEY(b, c)); +** +** Return the string: +** +** "b = ?1 AND c = ?2" +*/ +static char *rbuObjIterGetWhere( + sqlite3rbu *p, + RbuObjIter *pIter +){ + char *zList = 0; + if( pIter->eType==RBU_PK_VTAB || pIter->eType==RBU_PK_NONE ){ + zList = rbuMPrintf(p, "_rowid_ = ?%d", pIter->nTblCol+1); + }else if( pIter->eType==RBU_PK_EXTERNAL ){ + const char *zSep = ""; + int i; + for(i=0; inTblCol; i++){ + if( pIter->abTblPk[i] ){ + zList = rbuMPrintf(p, "%z%sc%d=?%d", zList, zSep, i, i+1); + zSep = " AND "; + } + } + zList = rbuMPrintf(p, + "_rowid_ = (SELECT id FROM rbu_imposter2 WHERE %z)", zList + ); + + }else{ + const char *zSep = ""; + int i; + for(i=0; inTblCol; i++){ + if( pIter->abTblPk[i] ){ + const char *zCol = pIter->azTblCol[i]; + zList = rbuMPrintf(p, "%z%s\"%w\"=?%d", zList, zSep, zCol, i+1); + zSep = " AND "; + } + } + } + return zList; +} + +/* +** The SELECT statement iterating through the keys for the current object +** (p->objiter.pSelect) currently points to a valid row. However, there +** is something wrong with the rbu_control value in the rbu_control value +** stored in the (p->nCol+1)'th column. Set the error code and error message +** of the RBU handle to something reflecting this. +*/ +static void rbuBadControlError(sqlite3rbu *p){ + p->rc = SQLITE_ERROR; + p->zErrmsg = sqlite3_mprintf("invalid rbu_control value"); +} + + +/* +** Return a nul-terminated string containing the comma separated list of +** assignments that should be included following the "SET" keyword of +** an UPDATE statement used to update the table object that the iterator +** passed as the second argument currently points to if the rbu_control +** column of the data_xxx table entry is set to zMask. +** +** The memory for the returned string is obtained from sqlite3_malloc(). +** It is the responsibility of the caller to eventually free it using +** sqlite3_free(). +** +** If an OOM error is encountered when allocating space for the new +** string, an error code is left in the rbu handle passed as the first +** argument and NULL is returned. Or, if an error has already occurred +** when this function is called, NULL is returned immediately, without +** attempting the allocation or modifying the stored error code. +*/ +static char *rbuObjIterGetSetlist( + sqlite3rbu *p, + RbuObjIter *pIter, + const char *zMask +){ + char *zList = 0; + if( p->rc==SQLITE_OK ){ + int i; + + if( (int)strlen(zMask)!=pIter->nTblCol ){ + rbuBadControlError(p); + }else{ + const char *zSep = ""; + for(i=0; inTblCol; i++){ + char c = zMask[pIter->aiSrcOrder[i]]; + if( c=='x' ){ + zList = rbuMPrintf(p, "%z%s\"%w\"=?%d", + zList, zSep, pIter->azTblCol[i], i+1 + ); + zSep = ", "; + } + else if( c=='d' ){ + zList = rbuMPrintf(p, "%z%s\"%w\"=rbu_delta(\"%w\", ?%d)", + zList, zSep, pIter->azTblCol[i], pIter->azTblCol[i], i+1 + ); + zSep = ", "; + } + else if( c=='f' ){ + zList = rbuMPrintf(p, "%z%s\"%w\"=rbu_fossil_delta(\"%w\", ?%d)", + zList, zSep, pIter->azTblCol[i], pIter->azTblCol[i], i+1 + ); + zSep = ", "; + } + } + } + } + return zList; +} + +/* +** Return a nul-terminated string consisting of nByte comma separated +** "?" expressions. For example, if nByte is 3, return a pointer to +** a buffer containing the string "?,?,?". +** +** The memory for the returned string is obtained from sqlite3_malloc(). +** It is the responsibility of the caller to eventually free it using +** sqlite3_free(). +** +** If an OOM error is encountered when allocating space for the new +** string, an error code is left in the rbu handle passed as the first +** argument and NULL is returned. Or, if an error has already occurred +** when this function is called, NULL is returned immediately, without +** attempting the allocation or modifying the stored error code. +*/ +static char *rbuObjIterGetBindlist(sqlite3rbu *p, int nBind){ + char *zRet = 0; + sqlite3_int64 nByte = 2*(sqlite3_int64)nBind + 1; + + zRet = (char*)rbuMalloc(p, nByte); + if( zRet ){ + int i; + for(i=0; izIdx==0 ); + if( p->rc==SQLITE_OK ){ + const char *zSep = "PRIMARY KEY("; + sqlite3_stmt *pXList = 0; /* PRAGMA index_list = (pIter->zTbl) */ + sqlite3_stmt *pXInfo = 0; /* PRAGMA index_xinfo = */ + + p->rc = prepareFreeAndCollectError(p->dbMain, &pXList, &p->zErrmsg, + sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl) + ); + while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXList) ){ + const char *zOrig = (const char*)sqlite3_column_text(pXList,3); + if( zOrig && strcmp(zOrig, "pk")==0 ){ + const char *zIdx = (const char*)sqlite3_column_text(pXList,1); + if( zIdx ){ + p->rc = prepareFreeAndCollectError(p->dbMain, &pXInfo, &p->zErrmsg, + sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx) + ); + } + break; + } + } + rbuFinalize(p, pXList); + + while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){ + if( sqlite3_column_int(pXInfo, 5) ){ + /* int iCid = sqlite3_column_int(pXInfo, 0); */ + const char *zCol = (const char*)sqlite3_column_text(pXInfo, 2); + const char *zDesc = sqlite3_column_int(pXInfo, 3) ? " DESC" : ""; + z = rbuMPrintf(p, "%z%s\"%w\"%s", z, zSep, zCol, zDesc); + zSep = ", "; + } + } + z = rbuMPrintf(p, "%z)", z); + rbuFinalize(p, pXInfo); + } + return z; +} + +/* +** This function creates the second imposter table used when writing to +** a table b-tree where the table has an external primary key. If the +** iterator passed as the second argument does not currently point to +** a table (not index) with an external primary key, this function is a +** no-op. +** +** Assuming the iterator does point to a table with an external PK, this +** function creates a WITHOUT ROWID imposter table named "rbu_imposter2" +** used to access that PK index. For example, if the target table is +** declared as follows: +** +** CREATE TABLE t1(a, b TEXT, c REAL, PRIMARY KEY(b, c)); +** +** then the imposter table schema is: +** +** CREATE TABLE rbu_imposter2(c1 TEXT, c2 REAL, id INTEGER) WITHOUT ROWID; +** +*/ +static void rbuCreateImposterTable2(sqlite3rbu *p, RbuObjIter *pIter){ + if( p->rc==SQLITE_OK && pIter->eType==RBU_PK_EXTERNAL ){ + int tnum = pIter->iPkTnum; /* Root page of PK index */ + sqlite3_stmt *pQuery = 0; /* SELECT name ... WHERE rootpage = $tnum */ + const char *zIdx = 0; /* Name of PK index */ + sqlite3_stmt *pXInfo = 0; /* PRAGMA main.index_xinfo = $zIdx */ + const char *zComma = ""; + char *zCols = 0; /* Used to build up list of table cols */ + char *zPk = 0; /* Used to build up table PK declaration */ + + /* Figure out the name of the primary key index for the current table. + ** This is needed for the argument to "PRAGMA index_xinfo". Set + ** zIdx to point to a nul-terminated string containing this name. */ + p->rc = prepareAndCollectError(p->dbMain, &pQuery, &p->zErrmsg, + "SELECT name FROM sqlite_master WHERE rootpage = ?" + ); + if( p->rc==SQLITE_OK ){ + sqlite3_bind_int(pQuery, 1, tnum); + if( SQLITE_ROW==sqlite3_step(pQuery) ){ + zIdx = (const char*)sqlite3_column_text(pQuery, 0); + } + } + if( zIdx ){ + p->rc = prepareFreeAndCollectError(p->dbMain, &pXInfo, &p->zErrmsg, + sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx) + ); + } + rbuFinalize(p, pQuery); + + while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){ + int bKey = sqlite3_column_int(pXInfo, 5); + if( bKey ){ + int iCid = sqlite3_column_int(pXInfo, 1); + int bDesc = sqlite3_column_int(pXInfo, 3); + const char *zCollate = (const char*)sqlite3_column_text(pXInfo, 4); + zCols = rbuMPrintf(p, "%z%sc%d %s COLLATE %Q", zCols, zComma, + iCid, pIter->azTblType[iCid], zCollate + ); + zPk = rbuMPrintf(p, "%z%sc%d%s", zPk, zComma, iCid, bDesc?" DESC":""); + zComma = ", "; + } + } + zCols = rbuMPrintf(p, "%z, id INTEGER", zCols); + rbuFinalize(p, pXInfo); + + sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->dbMain, "main", 1, tnum); + rbuMPrintfExec(p, p->dbMain, + "CREATE TABLE rbu_imposter2(%z, PRIMARY KEY(%z)) WITHOUT ROWID", + zCols, zPk + ); + sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->dbMain, "main", 0, 0); + } +} + +/* +** If an error has already occurred when this function is called, it +** immediately returns zero (without doing any work). Or, if an error +** occurs during the execution of this function, it sets the error code +** in the sqlite3rbu object indicated by the first argument and returns +** zero. +** +** The iterator passed as the second argument is guaranteed to point to +** a table (not an index) when this function is called. This function +** attempts to create any imposter table required to write to the main +** table b-tree of the table before returning. Non-zero is returned if +** an imposter table are created, or zero otherwise. +** +** An imposter table is required in all cases except RBU_PK_VTAB. Only +** virtual tables are written to directly. The imposter table has the +** same schema as the actual target table (less any UNIQUE constraints). +** More precisely, the "same schema" means the same columns, types, +** collation sequences. For tables that do not have an external PRIMARY +** KEY, it also means the same PRIMARY KEY declaration. +*/ +static void rbuCreateImposterTable(sqlite3rbu *p, RbuObjIter *pIter){ + if( p->rc==SQLITE_OK && pIter->eType!=RBU_PK_VTAB ){ + int tnum = pIter->iTnum; + const char *zComma = ""; + char *zSql = 0; + int iCol; + sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->dbMain, "main", 0, 1); + + for(iCol=0; p->rc==SQLITE_OK && iColnTblCol; iCol++){ + const char *zPk = ""; + const char *zCol = pIter->azTblCol[iCol]; + const char *zColl = 0; + + p->rc = sqlite3_table_column_metadata( + p->dbMain, "main", pIter->zTbl, zCol, 0, &zColl, 0, 0, 0 + ); + + if( pIter->eType==RBU_PK_IPK && pIter->abTblPk[iCol] ){ + /* If the target table column is an "INTEGER PRIMARY KEY", add + ** "PRIMARY KEY" to the imposter table column declaration. */ + zPk = "PRIMARY KEY "; + } + zSql = rbuMPrintf(p, "%z%s\"%w\" %s %sCOLLATE %Q%s", + zSql, zComma, zCol, pIter->azTblType[iCol], zPk, zColl, + (pIter->abNotNull[iCol] ? " NOT NULL" : "") + ); + zComma = ", "; + } + + if( pIter->eType==RBU_PK_WITHOUT_ROWID ){ + char *zPk = rbuWithoutRowidPK(p, pIter); + if( zPk ){ + zSql = rbuMPrintf(p, "%z, %z", zSql, zPk); + } + } + + sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->dbMain, "main", 1, tnum); + rbuMPrintfExec(p, p->dbMain, "CREATE TABLE \"rbu_imp_%w\"(%z)%s", + pIter->zTbl, zSql, + (pIter->eType==RBU_PK_WITHOUT_ROWID ? " WITHOUT ROWID" : "") + ); + sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->dbMain, "main", 0, 0); + } +} + +/* +** Prepare a statement used to insert rows into the "rbu_tmp_xxx" table. +** Specifically a statement of the form: +** +** INSERT INTO rbu_tmp_xxx VALUES(?, ?, ? ...); +** +** The number of bound variables is equal to the number of columns in +** the target table, plus one (for the rbu_control column), plus one more +** (for the rbu_rowid column) if the target table is an implicit IPK or +** virtual table. +*/ +static void rbuObjIterPrepareTmpInsert( + sqlite3rbu *p, + RbuObjIter *pIter, + const char *zCollist, + const char *zRbuRowid +){ + int bRbuRowid = (pIter->eType==RBU_PK_EXTERNAL || pIter->eType==RBU_PK_NONE); + char *zBind = rbuObjIterGetBindlist(p, pIter->nTblCol + 1 + bRbuRowid); + if( zBind ){ + assert( pIter->pTmpInsert==0 ); + p->rc = prepareFreeAndCollectError( + p->dbRbu, &pIter->pTmpInsert, &p->zErrmsg, sqlite3_mprintf( + "INSERT INTO %s.'rbu_tmp_%q'(rbu_control,%s%s) VALUES(%z)", + p->zStateDb, pIter->zDataTbl, zCollist, zRbuRowid, zBind + )); + } +} + +static void rbuTmpInsertFunc( + sqlite3_context *pCtx, + int nVal, + sqlite3_value **apVal +){ + sqlite3rbu *p = sqlite3_user_data(pCtx); + int rc = SQLITE_OK; + int i; + + assert( sqlite3_value_int(apVal[0])!=0 + || p->objiter.eType==RBU_PK_EXTERNAL + || p->objiter.eType==RBU_PK_NONE + ); + if( sqlite3_value_int(apVal[0])!=0 ){ + p->nPhaseOneStep += p->objiter.nIndex; + } + + for(i=0; rc==SQLITE_OK && iobjiter.pTmpInsert, i+1, apVal[i]); + } + if( rc==SQLITE_OK ){ + sqlite3_step(p->objiter.pTmpInsert); + rc = sqlite3_reset(p->objiter.pTmpInsert); + } + + if( rc!=SQLITE_OK ){ + sqlite3_result_error_code(pCtx, rc); + } +} + +static char *rbuObjIterGetIndexWhere(sqlite3rbu *p, RbuObjIter *pIter){ + sqlite3_stmt *pStmt = 0; + int rc = p->rc; + char *zRet = 0; + + assert( pIter->zIdxSql==0 && pIter->nIdxCol==0 && pIter->aIdxCol==0 ); + + if( rc==SQLITE_OK ){ + rc = prepareAndCollectError(p->dbMain, &pStmt, &p->zErrmsg, + "SELECT trim(sql) FROM sqlite_master WHERE type='index' AND name=?" + ); + } + if( rc==SQLITE_OK ){ + int rc2; + rc = sqlite3_bind_text(pStmt, 1, pIter->zIdx, -1, SQLITE_STATIC); + if( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){ + char *zSql = (char*)sqlite3_column_text(pStmt, 0); + if( zSql ){ + pIter->zIdxSql = zSql = rbuStrndup(zSql, &rc); + } + if( zSql ){ + int nParen = 0; /* Number of open parenthesis */ + int i; + int iIdxCol = 0; + int nIdxAlloc = 0; + for(i=0; zSql[i]; i++){ + char c = zSql[i]; + + /* If necessary, grow the pIter->aIdxCol[] array */ + if( iIdxCol==nIdxAlloc ){ + RbuSpan *aIdxCol = (RbuSpan*)sqlite3_realloc( + pIter->aIdxCol, (nIdxAlloc+16)*sizeof(RbuSpan) + ); + if( aIdxCol==0 ){ + rc = SQLITE_NOMEM; + break; + } + pIter->aIdxCol = aIdxCol; + nIdxAlloc += 16; + } + + if( c=='(' ){ + if( nParen==0 ){ + assert( iIdxCol==0 ); + pIter->aIdxCol[0].zSpan = &zSql[i+1]; + } + nParen++; + } + else if( c==')' ){ + nParen--; + if( nParen==0 ){ + int nSpan = &zSql[i] - pIter->aIdxCol[iIdxCol].zSpan; + pIter->aIdxCol[iIdxCol++].nSpan = nSpan; + i++; + break; + } + }else if( c==',' && nParen==1 ){ + int nSpan = &zSql[i] - pIter->aIdxCol[iIdxCol].zSpan; + pIter->aIdxCol[iIdxCol++].nSpan = nSpan; + pIter->aIdxCol[iIdxCol].zSpan = &zSql[i+1]; + }else if( c=='"' || c=='\'' || c=='`' ){ + for(i++; 1; i++){ + if( zSql[i]==c ){ + if( zSql[i+1]!=c ) break; + i++; + } + } + }else if( c=='[' ){ + for(i++; 1; i++){ + if( zSql[i]==']' ) break; + } + }else if( c=='-' && zSql[i+1]=='-' ){ + for(i=i+2; zSql[i] && zSql[i]!='\n'; i++); + if( zSql[i]=='\0' ) break; + }else if( c=='/' && zSql[i+1]=='*' ){ + for(i=i+2; zSql[i] && (zSql[i]!='*' || zSql[i+1]!='/'); i++); + if( zSql[i]=='\0' ) break; + i++; + } + } + if( zSql[i] ){ + zRet = rbuStrndup(&zSql[i], &rc); + } + pIter->nIdxCol = iIdxCol; + } + } + + rc2 = sqlite3_finalize(pStmt); + if( rc==SQLITE_OK ) rc = rc2; + } + + p->rc = rc; + return zRet; +} + +/* +** Ensure that the SQLite statement handles required to update the +** target database object currently indicated by the iterator passed +** as the second argument are available. +*/ +static int rbuObjIterPrepareAll( + sqlite3rbu *p, + RbuObjIter *pIter, + int nOffset /* Add "LIMIT -1 OFFSET $nOffset" to SELECT */ +){ + assert( pIter->bCleanup==0 ); + if( pIter->pSelect==0 && rbuObjIterCacheTableInfo(p, pIter)==SQLITE_OK ){ + const int tnum = pIter->iTnum; + char *zCollist = 0; /* List of indexed columns */ + char **pz = &p->zErrmsg; + const char *zIdx = pIter->zIdx; + char *zLimit = 0; + + if( nOffset ){ + zLimit = sqlite3_mprintf(" LIMIT -1 OFFSET %d", nOffset); + if( !zLimit ) p->rc = SQLITE_NOMEM; + } + + if( zIdx ){ + const char *zTbl = pIter->zTbl; + char *zImposterCols = 0; /* Columns for imposter table */ + char *zImposterPK = 0; /* Primary key declaration for imposter */ + char *zWhere = 0; /* WHERE clause on PK columns */ + char *zBind = 0; + char *zPart = 0; + int nBind = 0; + + assert( pIter->eType!=RBU_PK_VTAB ); + zPart = rbuObjIterGetIndexWhere(p, pIter); + zCollist = rbuObjIterGetIndexCols( + p, pIter, &zImposterCols, &zImposterPK, &zWhere, &nBind + ); + zBind = rbuObjIterGetBindlist(p, nBind); + + /* Create the imposter table used to write to this index. */ + sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->dbMain, "main", 0, 1); + sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->dbMain, "main", 1,tnum); + rbuMPrintfExec(p, p->dbMain, + "CREATE TABLE \"rbu_imp_%w\"( %s, PRIMARY KEY( %s ) ) WITHOUT ROWID", + zTbl, zImposterCols, zImposterPK + ); + sqlite3_test_control(SQLITE_TESTCTRL_IMPOSTER, p->dbMain, "main", 0, 0); + + /* Create the statement to insert index entries */ + pIter->nCol = nBind; + if( p->rc==SQLITE_OK ){ + p->rc = prepareFreeAndCollectError( + p->dbMain, &pIter->pInsert, &p->zErrmsg, + sqlite3_mprintf("INSERT INTO \"rbu_imp_%w\" VALUES(%s)", zTbl, zBind) + ); + } + + /* And to delete index entries */ + if( rbuIsVacuum(p)==0 && p->rc==SQLITE_OK ){ + p->rc = prepareFreeAndCollectError( + p->dbMain, &pIter->pDelete, &p->zErrmsg, + sqlite3_mprintf("DELETE FROM \"rbu_imp_%w\" WHERE %s", zTbl, zWhere) + ); + } + + /* Create the SELECT statement to read keys in sorted order */ + if( p->rc==SQLITE_OK ){ + char *zSql; + if( rbuIsVacuum(p) ){ + char *zStart = 0; + if( nOffset ){ + zStart = rbuVacuumIndexStart(p, pIter); + if( zStart ){ + sqlite3_free(zLimit); + zLimit = 0; + } + } + + zSql = sqlite3_mprintf( + "SELECT %s, 0 AS rbu_control FROM '%q' %s %s %s ORDER BY %s%s", + zCollist, + pIter->zDataTbl, + zPart, + (zStart ? (zPart ? "AND" : "WHERE") : ""), zStart, + zCollist, zLimit + ); + sqlite3_free(zStart); + }else + + if( pIter->eType==RBU_PK_EXTERNAL || pIter->eType==RBU_PK_NONE ){ + zSql = sqlite3_mprintf( + "SELECT %s, rbu_control FROM %s.'rbu_tmp_%q' %s ORDER BY %s%s", + zCollist, p->zStateDb, pIter->zDataTbl, + zPart, zCollist, zLimit + ); + }else{ + zSql = sqlite3_mprintf( + "SELECT %s, rbu_control FROM %s.'rbu_tmp_%q' %s " + "UNION ALL " + "SELECT %s, rbu_control FROM '%q' " + "%s %s typeof(rbu_control)='integer' AND rbu_control!=1 " + "ORDER BY %s%s", + zCollist, p->zStateDb, pIter->zDataTbl, zPart, + zCollist, pIter->zDataTbl, + zPart, + (zPart ? "AND" : "WHERE"), + zCollist, zLimit + ); + } + if( p->rc==SQLITE_OK ){ + p->rc = prepareFreeAndCollectError(p->dbRbu,&pIter->pSelect,pz,zSql); + }else{ + sqlite3_free(zSql); + } + } + + sqlite3_free(zImposterCols); + sqlite3_free(zImposterPK); + sqlite3_free(zWhere); + sqlite3_free(zBind); + sqlite3_free(zPart); + }else{ + int bRbuRowid = (pIter->eType==RBU_PK_VTAB) + ||(pIter->eType==RBU_PK_NONE) + ||(pIter->eType==RBU_PK_EXTERNAL && rbuIsVacuum(p)); + const char *zTbl = pIter->zTbl; /* Table this step applies to */ + const char *zWrite; /* Imposter table name */ + + char *zBindings = rbuObjIterGetBindlist(p, pIter->nTblCol + bRbuRowid); + char *zWhere = rbuObjIterGetWhere(p, pIter); + char *zOldlist = rbuObjIterGetOldlist(p, pIter, "old"); + char *zNewlist = rbuObjIterGetOldlist(p, pIter, "new"); + + zCollist = rbuObjIterGetCollist(p, pIter); + pIter->nCol = pIter->nTblCol; + + /* Create the imposter table or tables (if required). */ + rbuCreateImposterTable(p, pIter); + rbuCreateImposterTable2(p, pIter); + zWrite = (pIter->eType==RBU_PK_VTAB ? "" : "rbu_imp_"); + + /* Create the INSERT statement to write to the target PK b-tree */ + if( p->rc==SQLITE_OK ){ + p->rc = prepareFreeAndCollectError(p->dbMain, &pIter->pInsert, pz, + sqlite3_mprintf( + "INSERT INTO \"%s%w\"(%s%s) VALUES(%s)", + zWrite, zTbl, zCollist, (bRbuRowid ? ", _rowid_" : ""), zBindings + ) + ); + } + + /* Create the DELETE statement to write to the target PK b-tree. + ** Because it only performs INSERT operations, this is not required for + ** an rbu vacuum handle. */ + if( rbuIsVacuum(p)==0 && p->rc==SQLITE_OK ){ + p->rc = prepareFreeAndCollectError(p->dbMain, &pIter->pDelete, pz, + sqlite3_mprintf( + "DELETE FROM \"%s%w\" WHERE %s", zWrite, zTbl, zWhere + ) + ); + } + + if( rbuIsVacuum(p)==0 && pIter->abIndexed ){ + const char *zRbuRowid = ""; + if( pIter->eType==RBU_PK_EXTERNAL || pIter->eType==RBU_PK_NONE ){ + zRbuRowid = ", rbu_rowid"; + } + + /* Create the rbu_tmp_xxx table and the triggers to populate it. */ + rbuMPrintfExec(p, p->dbRbu, + "CREATE TABLE IF NOT EXISTS %s.'rbu_tmp_%q' AS " + "SELECT *%s FROM '%q' WHERE 0;" + , p->zStateDb, pIter->zDataTbl + , (pIter->eType==RBU_PK_EXTERNAL ? ", 0 AS rbu_rowid" : "") + , pIter->zDataTbl + ); + + rbuMPrintfExec(p, p->dbMain, + "CREATE TEMP TRIGGER rbu_delete_tr BEFORE DELETE ON \"%s%w\" " + "BEGIN " + " SELECT rbu_tmp_insert(3, %s);" + "END;" + + "CREATE TEMP TRIGGER rbu_update1_tr BEFORE UPDATE ON \"%s%w\" " + "BEGIN " + " SELECT rbu_tmp_insert(3, %s);" + "END;" + + "CREATE TEMP TRIGGER rbu_update2_tr AFTER UPDATE ON \"%s%w\" " + "BEGIN " + " SELECT rbu_tmp_insert(4, %s);" + "END;", + zWrite, zTbl, zOldlist, + zWrite, zTbl, zOldlist, + zWrite, zTbl, zNewlist + ); + + if( pIter->eType==RBU_PK_EXTERNAL || pIter->eType==RBU_PK_NONE ){ + rbuMPrintfExec(p, p->dbMain, + "CREATE TEMP TRIGGER rbu_insert_tr AFTER INSERT ON \"%s%w\" " + "BEGIN " + " SELECT rbu_tmp_insert(0, %s);" + "END;", + zWrite, zTbl, zNewlist + ); + } + + rbuObjIterPrepareTmpInsert(p, pIter, zCollist, zRbuRowid); + } + + /* Create the SELECT statement to read keys from data_xxx */ + if( p->rc==SQLITE_OK ){ + const char *zRbuRowid = ""; + char *zStart = 0; + char *zOrder = 0; + if( bRbuRowid ){ + zRbuRowid = rbuIsVacuum(p) ? ",_rowid_ " : ",rbu_rowid"; + } + + if( rbuIsVacuum(p) ){ + if( nOffset ){ + zStart = rbuVacuumTableStart(p, pIter, bRbuRowid, zWrite); + if( zStart ){ + sqlite3_free(zLimit); + zLimit = 0; + } + } + if( bRbuRowid ){ + zOrder = rbuMPrintf(p, "_rowid_"); + }else{ + zOrder = rbuObjIterGetPkList(p, pIter, "", ", ", ""); + } + } + + if( p->rc==SQLITE_OK ){ + p->rc = prepareFreeAndCollectError(p->dbRbu, &pIter->pSelect, pz, + sqlite3_mprintf( + "SELECT %s,%s rbu_control%s FROM '%q'%s %s %s %s", + zCollist, + (rbuIsVacuum(p) ? "0 AS " : ""), + zRbuRowid, + pIter->zDataTbl, (zStart ? zStart : ""), + (zOrder ? "ORDER BY" : ""), zOrder, + zLimit + ) + ); + } + sqlite3_free(zStart); + sqlite3_free(zOrder); + } + + sqlite3_free(zWhere); + sqlite3_free(zOldlist); + sqlite3_free(zNewlist); + sqlite3_free(zBindings); + } + sqlite3_free(zCollist); + sqlite3_free(zLimit); + } + + return p->rc; +} + +/* +** Set output variable *ppStmt to point to an UPDATE statement that may +** be used to update the imposter table for the main table b-tree of the +** table object that pIter currently points to, assuming that the +** rbu_control column of the data_xyz table contains zMask. +** +** If the zMask string does not specify any columns to update, then this +** is not an error. Output variable *ppStmt is set to NULL in this case. +*/ +static int rbuGetUpdateStmt( + sqlite3rbu *p, /* RBU handle */ + RbuObjIter *pIter, /* Object iterator */ + const char *zMask, /* rbu_control value ('x.x.') */ + sqlite3_stmt **ppStmt /* OUT: UPDATE statement handle */ +){ + RbuUpdateStmt **pp; + RbuUpdateStmt *pUp = 0; + int nUp = 0; + + /* In case an error occurs */ + *ppStmt = 0; + + /* Search for an existing statement. If one is found, shift it to the front + ** of the LRU queue and return immediately. Otherwise, leave nUp pointing + ** to the number of statements currently in the cache and pUp to the + ** last object in the list. */ + for(pp=&pIter->pRbuUpdate; *pp; pp=&((*pp)->pNext)){ + pUp = *pp; + if( strcmp(pUp->zMask, zMask)==0 ){ + *pp = pUp->pNext; + pUp->pNext = pIter->pRbuUpdate; + pIter->pRbuUpdate = pUp; + *ppStmt = pUp->pUpdate; + return SQLITE_OK; + } + nUp++; + } + assert( pUp==0 || pUp->pNext==0 ); + + if( nUp>=SQLITE_RBU_UPDATE_CACHESIZE ){ + for(pp=&pIter->pRbuUpdate; *pp!=pUp; pp=&((*pp)->pNext)); + *pp = 0; + sqlite3_finalize(pUp->pUpdate); + pUp->pUpdate = 0; + }else{ + pUp = (RbuUpdateStmt*)rbuMalloc(p, sizeof(RbuUpdateStmt)+pIter->nTblCol+1); + } + + if( pUp ){ + char *zWhere = rbuObjIterGetWhere(p, pIter); + char *zSet = rbuObjIterGetSetlist(p, pIter, zMask); + char *zUpdate = 0; + + pUp->zMask = (char*)&pUp[1]; + memcpy(pUp->zMask, zMask, pIter->nTblCol); + pUp->pNext = pIter->pRbuUpdate; + pIter->pRbuUpdate = pUp; + + if( zSet ){ + const char *zPrefix = ""; + + if( pIter->eType!=RBU_PK_VTAB ) zPrefix = "rbu_imp_"; + zUpdate = sqlite3_mprintf("UPDATE \"%s%w\" SET %s WHERE %s", + zPrefix, pIter->zTbl, zSet, zWhere + ); + p->rc = prepareFreeAndCollectError( + p->dbMain, &pUp->pUpdate, &p->zErrmsg, zUpdate + ); + *ppStmt = pUp->pUpdate; + } + sqlite3_free(zWhere); + sqlite3_free(zSet); + } + + return p->rc; +} + +static sqlite3 *rbuOpenDbhandle( + sqlite3rbu *p, + const char *zName, + int bUseVfs +){ + sqlite3 *db = 0; + if( p->rc==SQLITE_OK ){ + const int flags = SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE|SQLITE_OPEN_URI; + p->rc = sqlite3_open_v2(zName, &db, flags, bUseVfs ? p->zVfsName : 0); + if( p->rc ){ + p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db)); + sqlite3_close(db); + db = 0; + } + } + return db; +} + +/* +** Free an RbuState object allocated by rbuLoadState(). +*/ +static void rbuFreeState(RbuState *p){ + if( p ){ + sqlite3_free(p->zTbl); + sqlite3_free(p->zDataTbl); + sqlite3_free(p->zIdx); + sqlite3_free(p); + } +} + +/* +** Allocate an RbuState object and load the contents of the rbu_state +** table into it. Return a pointer to the new object. It is the +** responsibility of the caller to eventually free the object using +** sqlite3_free(). +** +** If an error occurs, leave an error code and message in the rbu handle +** and return NULL. +*/ +static RbuState *rbuLoadState(sqlite3rbu *p){ + RbuState *pRet = 0; + sqlite3_stmt *pStmt = 0; + int rc; + int rc2; + + pRet = (RbuState*)rbuMalloc(p, sizeof(RbuState)); + if( pRet==0 ) return 0; + + rc = prepareFreeAndCollectError(p->dbRbu, &pStmt, &p->zErrmsg, + sqlite3_mprintf("SELECT k, v FROM %s.rbu_state", p->zStateDb) + ); + while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){ + switch( sqlite3_column_int(pStmt, 0) ){ + case RBU_STATE_STAGE: + pRet->eStage = sqlite3_column_int(pStmt, 1); + if( pRet->eStage!=RBU_STAGE_OAL + && pRet->eStage!=RBU_STAGE_MOVE + && pRet->eStage!=RBU_STAGE_CKPT + ){ + p->rc = SQLITE_CORRUPT; + } + break; + + case RBU_STATE_TBL: + pRet->zTbl = rbuStrndup((char*)sqlite3_column_text(pStmt, 1), &rc); + break; + + case RBU_STATE_IDX: + pRet->zIdx = rbuStrndup((char*)sqlite3_column_text(pStmt, 1), &rc); + break; + + case RBU_STATE_ROW: + pRet->nRow = sqlite3_column_int(pStmt, 1); + break; + + case RBU_STATE_PROGRESS: + pRet->nProgress = sqlite3_column_int64(pStmt, 1); + break; + + case RBU_STATE_CKPT: + pRet->iWalCksum = sqlite3_column_int64(pStmt, 1); + break; + + case RBU_STATE_COOKIE: + pRet->iCookie = (u32)sqlite3_column_int64(pStmt, 1); + break; + + case RBU_STATE_OALSZ: + pRet->iOalSz = (u32)sqlite3_column_int64(pStmt, 1); + break; + + case RBU_STATE_PHASEONESTEP: + pRet->nPhaseOneStep = sqlite3_column_int64(pStmt, 1); + break; + + case RBU_STATE_DATATBL: + pRet->zDataTbl = rbuStrndup((char*)sqlite3_column_text(pStmt, 1), &rc); + break; + + default: + rc = SQLITE_CORRUPT; + break; + } + } + rc2 = sqlite3_finalize(pStmt); + if( rc==SQLITE_OK ) rc = rc2; + + p->rc = rc; + return pRet; +} + + +/* +** Open the database handle and attach the RBU database as "rbu". If an +** error occurs, leave an error code and message in the RBU handle. +*/ +static void rbuOpenDatabase(sqlite3rbu *p, int *pbRetry){ + assert( p->rc || (p->dbMain==0 && p->dbRbu==0) ); + assert( p->rc || rbuIsVacuum(p) || p->zTarget!=0 ); + + /* Open the RBU database */ + p->dbRbu = rbuOpenDbhandle(p, p->zRbu, 1); + + if( p->rc==SQLITE_OK && rbuIsVacuum(p) ){ + sqlite3_file_control(p->dbRbu, "main", SQLITE_FCNTL_RBUCNT, (void*)p); + if( p->zState==0 ){ + const char *zFile = sqlite3_db_filename(p->dbRbu, "main"); + p->zState = rbuMPrintf(p, "file://%s-vacuum?modeof=%s", zFile, zFile); + } + } + + /* If using separate RBU and state databases, attach the state database to + ** the RBU db handle now. */ + if( p->zState ){ + rbuMPrintfExec(p, p->dbRbu, "ATTACH %Q AS stat", p->zState); + memcpy(p->zStateDb, "stat", 4); + }else{ + memcpy(p->zStateDb, "main", 4); + } + +#if 0 + if( p->rc==SQLITE_OK && rbuIsVacuum(p) ){ + p->rc = sqlite3_exec(p->dbRbu, "BEGIN", 0, 0, 0); + } +#endif + + /* If it has not already been created, create the rbu_state table */ + rbuMPrintfExec(p, p->dbRbu, RBU_CREATE_STATE, p->zStateDb); + +#if 0 + if( rbuIsVacuum(p) ){ + if( p->rc==SQLITE_OK ){ + int rc2; + int bOk = 0; + sqlite3_stmt *pCnt = 0; + p->rc = prepareAndCollectError(p->dbRbu, &pCnt, &p->zErrmsg, + "SELECT count(*) FROM stat.sqlite_master" + ); + if( p->rc==SQLITE_OK + && sqlite3_step(pCnt)==SQLITE_ROW + && 1==sqlite3_column_int(pCnt, 0) + ){ + bOk = 1; + } + rc2 = sqlite3_finalize(pCnt); + if( p->rc==SQLITE_OK ) p->rc = rc2; + + if( p->rc==SQLITE_OK && bOk==0 ){ + p->rc = SQLITE_ERROR; + p->zErrmsg = sqlite3_mprintf("invalid state database"); + } + + if( p->rc==SQLITE_OK ){ + p->rc = sqlite3_exec(p->dbRbu, "COMMIT", 0, 0, 0); + } + } + } +#endif + + if( p->rc==SQLITE_OK && rbuIsVacuum(p) ){ + int bOpen = 0; + int rc; + p->nRbu = 0; + p->pRbuFd = 0; + rc = sqlite3_file_control(p->dbRbu, "main", SQLITE_FCNTL_RBUCNT, (void*)p); + if( rc!=SQLITE_NOTFOUND ) p->rc = rc; + if( p->eStage>=RBU_STAGE_MOVE ){ + bOpen = 1; + }else{ + RbuState *pState = rbuLoadState(p); + if( pState ){ + bOpen = (pState->eStage>=RBU_STAGE_MOVE); + rbuFreeState(pState); + } + } + if( bOpen ) p->dbMain = rbuOpenDbhandle(p, p->zRbu, p->nRbu<=1); + } + + p->eStage = 0; + if( p->rc==SQLITE_OK && p->dbMain==0 ){ + if( !rbuIsVacuum(p) ){ + p->dbMain = rbuOpenDbhandle(p, p->zTarget, 1); + }else if( p->pRbuFd->pWalFd ){ + if( pbRetry ){ + p->pRbuFd->bNolock = 0; + sqlite3_close(p->dbRbu); + sqlite3_close(p->dbMain); + p->dbMain = 0; + p->dbRbu = 0; + *pbRetry = 1; + return; + } + p->rc = SQLITE_ERROR; + p->zErrmsg = sqlite3_mprintf("cannot vacuum wal mode database"); + }else{ + char *zTarget; + char *zExtra = 0; + if( strlen(p->zRbu)>=5 && 0==memcmp("file:", p->zRbu, 5) ){ + zExtra = &p->zRbu[5]; + while( *zExtra ){ + if( *zExtra++=='?' ) break; + } + if( *zExtra=='\0' ) zExtra = 0; + } + + zTarget = sqlite3_mprintf("file:%s-vactmp?rbu_memory=1%s%s", + sqlite3_db_filename(p->dbRbu, "main"), + (zExtra==0 ? "" : "&"), (zExtra==0 ? "" : zExtra) + ); + + if( zTarget==0 ){ + p->rc = SQLITE_NOMEM; + return; + } + p->dbMain = rbuOpenDbhandle(p, zTarget, p->nRbu<=1); + sqlite3_free(zTarget); + } + } + + if( p->rc==SQLITE_OK ){ + p->rc = sqlite3_create_function(p->dbMain, + "rbu_tmp_insert", -1, SQLITE_UTF8, (void*)p, rbuTmpInsertFunc, 0, 0 + ); + } + + if( p->rc==SQLITE_OK ){ + p->rc = sqlite3_create_function(p->dbMain, + "rbu_fossil_delta", 2, SQLITE_UTF8, 0, rbuFossilDeltaFunc, 0, 0 + ); + } + + if( p->rc==SQLITE_OK ){ + p->rc = sqlite3_create_function(p->dbRbu, + "rbu_target_name", -1, SQLITE_UTF8, (void*)p, rbuTargetNameFunc, 0, 0 + ); + } + + if( p->rc==SQLITE_OK ){ + p->rc = sqlite3_file_control(p->dbMain, "main", SQLITE_FCNTL_RBU, (void*)p); + } + rbuMPrintfExec(p, p->dbMain, "SELECT * FROM sqlite_master"); + + /* Mark the database file just opened as an RBU target database. If + ** this call returns SQLITE_NOTFOUND, then the RBU vfs is not in use. + ** This is an error. */ + if( p->rc==SQLITE_OK ){ + p->rc = sqlite3_file_control(p->dbMain, "main", SQLITE_FCNTL_RBU, (void*)p); + } + + if( p->rc==SQLITE_NOTFOUND ){ + p->rc = SQLITE_ERROR; + p->zErrmsg = sqlite3_mprintf("rbu vfs not found"); + } +} + +/* +** This routine is a copy of the sqlite3FileSuffix3() routine from the core. +** It is a no-op unless SQLITE_ENABLE_8_3_NAMES is defined. +** +** If SQLITE_ENABLE_8_3_NAMES is set at compile-time and if the database +** filename in zBaseFilename is a URI with the "8_3_names=1" parameter and +** if filename in z[] has a suffix (a.k.a. "extension") that is longer than +** three characters, then shorten the suffix on z[] to be the last three +** characters of the original suffix. +** +** If SQLITE_ENABLE_8_3_NAMES is set to 2 at compile-time, then always +** do the suffix shortening regardless of URI parameter. +** +** Examples: +** +** test.db-journal => test.nal +** test.db-wal => test.wal +** test.db-shm => test.shm +** test.db-mj7f3319fa => test.9fa +*/ +static void rbuFileSuffix3(const char *zBase, char *z){ +#ifdef SQLITE_ENABLE_8_3_NAMES +#if SQLITE_ENABLE_8_3_NAMES<2 + if( sqlite3_uri_boolean(zBase, "8_3_names", 0) ) +#endif + { + int i, sz; + sz = (int)strlen(z)&0xffffff; + for(i=sz-1; i>0 && z[i]!='/' && z[i]!='.'; i--){} + if( z[i]=='.' && sz>i+4 ) memmove(&z[i+1], &z[sz-3], 4); + } +#endif +} + +/* +** Return the current wal-index header checksum for the target database +** as a 64-bit integer. +** +** The checksum is store in the first page of xShmMap memory as an 8-byte +** blob starting at byte offset 40. +*/ +static i64 rbuShmChecksum(sqlite3rbu *p){ + i64 iRet = 0; + if( p->rc==SQLITE_OK ){ + sqlite3_file *pDb = p->pTargetFd->pReal; + u32 volatile *ptr; + p->rc = pDb->pMethods->xShmMap(pDb, 0, 32*1024, 0, (void volatile**)&ptr); + if( p->rc==SQLITE_OK ){ + iRet = ((i64)ptr[10] << 32) + ptr[11]; + } + } + return iRet; +} + +/* +** This function is called as part of initializing or reinitializing an +** incremental checkpoint. +** +** It populates the sqlite3rbu.aFrame[] array with the set of +** (wal frame -> db page) copy operations required to checkpoint the +** current wal file, and obtains the set of shm locks required to safely +** perform the copy operations directly on the file-system. +** +** If argument pState is not NULL, then the incremental checkpoint is +** being resumed. In this case, if the checksum of the wal-index-header +** following recovery is not the same as the checksum saved in the RbuState +** object, then the rbu handle is set to DONE state. This occurs if some +** other client appends a transaction to the wal file in the middle of +** an incremental checkpoint. +*/ +static void rbuSetupCheckpoint(sqlite3rbu *p, RbuState *pState){ + + /* If pState is NULL, then the wal file may not have been opened and + ** recovered. Running a read-statement here to ensure that doing so + ** does not interfere with the "capture" process below. */ + if( pState==0 ){ + p->eStage = 0; + if( p->rc==SQLITE_OK ){ + p->rc = sqlite3_exec(p->dbMain, "SELECT * FROM sqlite_master", 0, 0, 0); + } + } + + /* Assuming no error has occurred, run a "restart" checkpoint with the + ** sqlite3rbu.eStage variable set to CAPTURE. This turns on the following + ** special behaviour in the rbu VFS: + ** + ** * If the exclusive shm WRITER or READ0 lock cannot be obtained, + ** the checkpoint fails with SQLITE_BUSY (normally SQLite would + ** proceed with running a passive checkpoint instead of failing). + ** + ** * Attempts to read from the *-wal file or write to the database file + ** do not perform any IO. Instead, the frame/page combinations that + ** would be read/written are recorded in the sqlite3rbu.aFrame[] + ** array. + ** + ** * Calls to xShmLock(UNLOCK) to release the exclusive shm WRITER, + ** READ0 and CHECKPOINT locks taken as part of the checkpoint are + ** no-ops. These locks will not be released until the connection + ** is closed. + ** + ** * Attempting to xSync() the database file causes an SQLITE_INTERNAL + ** error. + ** + ** As a result, unless an error (i.e. OOM or SQLITE_BUSY) occurs, the + ** checkpoint below fails with SQLITE_INTERNAL, and leaves the aFrame[] + ** array populated with a set of (frame -> page) mappings. Because the + ** WRITER, CHECKPOINT and READ0 locks are still held, it is safe to copy + ** data from the wal file into the database file according to the + ** contents of aFrame[]. + */ + if( p->rc==SQLITE_OK ){ + int rc2; + p->eStage = RBU_STAGE_CAPTURE; + rc2 = sqlite3_exec(p->dbMain, "PRAGMA main.wal_checkpoint=restart", 0, 0,0); + if( rc2!=SQLITE_INTERNAL ) p->rc = rc2; + } + + if( p->rc==SQLITE_OK && p->nFrame>0 ){ + p->eStage = RBU_STAGE_CKPT; + p->nStep = (pState ? pState->nRow : 0); + p->aBuf = rbuMalloc(p, p->pgsz); + p->iWalCksum = rbuShmChecksum(p); + } + + if( p->rc==SQLITE_OK ){ + if( p->nFrame==0 || (pState && pState->iWalCksum!=p->iWalCksum) ){ + p->rc = SQLITE_DONE; + p->eStage = RBU_STAGE_DONE; + }else{ + int nSectorSize; + sqlite3_file *pDb = p->pTargetFd->pReal; + sqlite3_file *pWal = p->pTargetFd->pWalFd->pReal; + assert( p->nPagePerSector==0 ); + nSectorSize = pDb->pMethods->xSectorSize(pDb); + if( nSectorSize>p->pgsz ){ + p->nPagePerSector = nSectorSize / p->pgsz; + }else{ + p->nPagePerSector = 1; + } + + /* Call xSync() on the wal file. This causes SQLite to sync the + ** directory in which the target database and the wal file reside, in + ** case it has not been synced since the rename() call in + ** rbuMoveOalFile(). */ + p->rc = pWal->pMethods->xSync(pWal, SQLITE_SYNC_NORMAL); + } + } +} + +/* +** Called when iAmt bytes are read from offset iOff of the wal file while +** the rbu object is in capture mode. Record the frame number of the frame +** being read in the aFrame[] array. +*/ +static int rbuCaptureWalRead(sqlite3rbu *pRbu, i64 iOff, int iAmt){ + const u32 mReq = (1<mLock!=mReq ){ + pRbu->rc = SQLITE_BUSY; + return SQLITE_INTERNAL; + } + + pRbu->pgsz = iAmt; + if( pRbu->nFrame==pRbu->nFrameAlloc ){ + int nNew = (pRbu->nFrameAlloc ? pRbu->nFrameAlloc : 64) * 2; + RbuFrame *aNew; + aNew = (RbuFrame*)sqlite3_realloc64(pRbu->aFrame, nNew * sizeof(RbuFrame)); + if( aNew==0 ) return SQLITE_NOMEM; + pRbu->aFrame = aNew; + pRbu->nFrameAlloc = nNew; + } + + iFrame = (u32)((iOff-32) / (i64)(iAmt+24)) + 1; + if( pRbu->iMaxFrame